Repository navigation
test(desktop): expect the screen-demo "Open the doors" default action - #12577
Merged
Merged
Conversation
e4316bd added "Open the doors" as the default action of the screen-demo step before the doors are opened; it and that step's Continue are in mutually exclusive branches, so at most one is visible. The keyboard-shortcut tripwire still expected eight default-action sites and has failed on main since, hidden behind the test-quality ratchet failure that ran first in the same job. Expect nine and assert the new title explicitly. Co-Authored-By: Claude Fable 5.1 <[email protected]>
Git-on-my-level
force-pushed
the
fix/three-doors-demo-page-tests
branch
from
September 2, 2026 05:10
553a493 to
e3ab9e2
Compare
This was referenced Sep 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Desktop Swift Static & Test Contractsfails onmaininOnboardingFlowTests.testOnboardingProceedActionsUseDefaultActionKeyboardShortcut: it expects 8isDefaultAction: truesites inSBOnboardingView.swift, and e4316bd added a ninth ("Open the doors", the screen-demo step's proceed action before the doors are opened, mutually exclusive with that step's Continue). Every PR rebased onto main inherits the red; main's own push CI skips the Swift jobs for non-desktop commits, so it reads green there.This was masked until now by the test-quality ratchet failure that ran first in the same job (fixed on main by af3ffd7).
What
Expect nine sites and assert the "Open the doors" title explicitly, with a comment listing the steps. Test-only; no production change.
Proof
xcrun swift test --package-path Desktop --filter OnboardingFlowTests/→ 25 tests, 0 failurespython3 desktop/macos/scripts/check_desktop_test_quality.py→ OK at baseline🤖 Generated with Claude Code