Skip to content

Commit a3302b7

Browse files
committed
test: avoid inspecting an absent demo destination
Check that the original thread row has disappeared before querying Back readiness, preserving both destination conditions and the existing retry budget. Coven-Harness: Codex / gpt-6-astra
1 parent 3c052b6 commit a3302b7

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

‎apps/ios/ModexCompanion/UITests/DemoWorkspaceTests.swift‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ final class DemoWorkspaceTests: XCTestCase {
341341
private func openDemoThread(_ app: XCUIApplication, timeout: TimeInterval = 30,
342342
tap: ((XCUIElement) -> Void)? = nil) -> Bool {
343343
let thread = app.buttons["thread-demo-launch"]
344-
let opened = { app.buttons["Back to threads"].isReadyToTap && !thread.exists }
344+
let opened = { !thread.exists && app.buttons["Back to threads"].isReadyToTap }
345345
var initiated = false
346346
return completeDemoAction(
347347
timeout: timeout,

‎docs/status.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -681,6 +681,9 @@ seven site tests, with real OpenKnowledge enabled and no skips.
681681
opening and Back actions. In job `114763678754`, the initial row tap left the dashboard
682682
visible; native evidence does not establish why. This is a test correction, with hosted
683683
native verification required before merge; app navigation is unchanged.
684+
The destination check first requires the original row to disappear: job `114806660312`
685+
repeatedly inspected the absent Back button and exhausted the retry budget without a
686+
real thread tap. Both destination conditions and the two-attempt, 30-second budget remain.
684687
- **Native and renderer sizing in desktop tests.** The layout helper can make one native
685688
size transition when the renderer stays at different dimensions despite correct native
686689
bounds. It observes the intermediate dimensions before restoring the target and still

0 commit comments

Comments
 (0)