Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9857ddb4d0 | ||
|
|
7a6b82816b |
@@ -76,8 +76,15 @@ 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"]
|
||||||
|
if !layout.waitForExistence(timeout: 25) {
|
||||||
|
// The generate tap can be dropped while the dashboard is still
|
||||||
|
// settling after the stage transition; retry once before failing.
|
||||||
|
if calGenerate.waitForExistence(timeout: 2) {
|
||||||
|
calGenerate.tap()
|
||||||
|
}
|
||||||
XCTAssertTrue(layout.waitForExistence(timeout: 25))
|
XCTAssertTrue(layout.waitForExistence(timeout: 25))
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// A failing calibration targen surfaces the error through the
|
/// A failing calibration targen surfaces the error through the
|
||||||
/// wizard notice and restores the original basename (issue #80).
|
/// wizard notice and restores the original basename (issue #80).
|
||||||
|
|||||||
Reference in New Issue
Block a user