Fix/m7 ci uitest runner sign #73

Merged
gronod merged 3 commits from fix/m7-ci-uitest-runner-sign into develop 2026-09-10 06:59:07 +01:00
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -46,8 +46,8 @@ final class AboutHelpUITests: XCTestCase {
_ = waitFor("aboutVersion", timeout: 10) _ = waitFor("aboutVersion", timeout: 10)
XCTAssertTrue(element("aboutBuildDate").exists) XCTAssertTrue(element("aboutBuildDate").exists)
let close = app.buttons["closeAboutBtn"] let close = app.sheets.firstMatch.buttons["closeAboutBtn"]
XCTAssertTrue(close.exists) XCTAssertTrue(close.waitForExistence(timeout: 5))
close.click() close.click()
XCTAssertFalse(element("aboutDialog").exists) XCTAssertFalse(element("aboutDialog").exists)
+3 -3
View File
@@ -210,10 +210,10 @@ final class Milestone3UITests: XCTestCase {
_ = waitFor("printerStatusBadge") _ = waitFor("printerStatusBadge")
app.buttons["btnPrintAll"].click() app.buttons["btnPrintAll"].click()
let notice = element("printNotificationText") let predicate = NSPredicate(format: "label CONTAINS[c] %@", "Print failed")
let notice = app.staticTexts.containing(predicate).firstMatch
XCTAssertTrue(notice.waitForExistence(timeout: 10)) XCTAssertTrue(notice.waitForExistence(timeout: 10))
XCTAssertTrue((notice.value as? String ?? "") XCTAssertTrue(notice.label.contains("Print failed"))
.contains("Print failed"))
} }
/// wizardState.printerName records the queue used for spooling (#95). /// wizardState.printerName records the queue used for spooling (#95).
@@ -75,6 +75,6 @@ final class Milestone6CalibrationUITests: XCTestCase {
// After generation the wizard should advance to Stage 2 (layout) because // After generation the wizard should advance to Stage 2 (layout) because
// a CAL_ .ti1 now exists and the session is in calibration mode. // a CAL_ .ti1 now exists and the session is in calibration mode.
let layout = app.buttons["btnCreateLayout"] let layout = app.buttons["btnCreateLayout"]
XCTAssertTrue(layout.waitForExistence(timeout: 10)) XCTAssertTrue(layout.waitForExistence(timeout: 25))
} }
} }