fix(uitest): resolve AboutHelp close button lookup on runner #75

Merged
gronod merged 2 commits from fix/m7-ci-uitest-runner-sign into develop 2026-09-10 08:07:37 +01:00
2 changed files with 2 additions and 2 deletions
+1
View File
@@ -61,6 +61,7 @@ struct AboutView: View {
.padding(32)
.frame(width: 360)
.background(Theme.panel)
.accessibilityElement(children: .contain)
.accessibilityIdentifier("aboutDialog")
}
}
+1 -2
View File
@@ -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)