Compare commits
3
Commits
3b4e61ef02
...
f7ba49d3d5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f7ba49d3d5 | ||
|
|
0122d92f2b | ||
|
|
d11232813b |
@@ -61,6 +61,7 @@ struct AboutView: View {
|
||||
.padding(32)
|
||||
.frame(width: 360)
|
||||
.background(Theme.panel)
|
||||
.accessibilityElement(children: .contain)
|
||||
.accessibilityIdentifier("aboutDialog")
|
||||
}
|
||||
}
|
||||
|
||||
@@ -52,8 +52,7 @@ final class AboutHelpUITests: XCTestCase {
|
||||
_ = waitFor("aboutVersion", timeout: 10)
|
||||
XCTAssertTrue(element("aboutBuildDate").exists)
|
||||
|
||||
let close = app.sheets.firstMatch.buttons["closeAboutBtn"]
|
||||
XCTAssertTrue(close.waitForExistence(timeout: 5))
|
||||
let close = waitFor("closeAboutBtn", timeout: 10)
|
||||
close.click()
|
||||
|
||||
XCTAssertFalse(element("aboutDialog").exists)
|
||||
|
||||
Reference in New Issue
Block a user