Fix onboarding test - #6132
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the onboarding E2E tests to stop asserting on DualOutputToggle.tsx UI elements that aren’t shown during the EOnboardingSteps.HardwareSetup step, preventing false failures in the onboarding flow tests.
Changes:
- Removed
dual-output-inactivevisibility assertions from multiple onboarding test cases where the toggle isn’t displayed. - Kept existing source/scene assertions (e.g.,
confirmDefaultSources) as the primary validation for onboarding outcomes.
Suppressed comments (2)
test/regular/onboarding.ts:290
- This test calls confirmDefaultSources(...CheckOverlaySources), which does not validate dual vs single output; it checks source state for an overlay install. Update the comment so it doesn’t claim to verify “dual output status”.
await finishOnboarding(installTheme);
// Confirm sources and dual output status
await confirmDefaultSources(t, DefaultSourcesCheck.CheckOverlaySources);
test/regular/onboarding.ts:306
- This branch asserts there should be no default sources (DefaultSourcesCheck.NoDefaultSources), but the comment mentions “default sources and dual output status”. Update the comment to match the actual check.
// Confirm switched to scene with default sources and dual output status
await confirmDefaultSources(t, DefaultSourcesCheck.NoDefaultSources);
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
BundleMonUnchanged files (4)
No change in files bundle size Final result: ✅ View report in BundleMon website ➡️ |
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.
Suppressed comments (1)
test/regular/onboarding.ts:249
- The comment says “Confirm sources”, but this block still asserts on the
dual-output-inactiveicon. This is inconsistent with the updated intent of removing DualOutputToggle checks (and will likely fail if this skipped test is re-enabled). Remove the dual output assertion or update the comment to match.
// Confirm sources
t.not(await getNumElements('div[data-role=source]'), 0, 'Theme installed before login');
t.true(await isDisplayed('i[data-testid=dual-output-inactive]'), 'Single output enabled');
sandboxcoder
marked this pull request as ready for review
August 27, 2026 19:38
michelinewu
added a commit
that referenced
this pull request
Aug 29, 2026
This reverts commit e439f6f.
michelinewu
added a commit
that referenced
this pull request
Aug 29, 2026
* Revert "Fix padding on live output editing toggles. (#6143)" This reverts commit a202ab6. * Revert "Multistream Toggle Fixes and Error Handling (#6141)" This reverts commit 2ec1daf. * Revert "Disable enhanced broadcasting when live output editing is enabled. (#6121)" This reverts commit bfd48b5. * Revert "Add live output editing display selector handling. (#6120)" This reverts commit f59c58a. * Revert "Add dismissable to AI Highlighter toggle in Edit Stream window. (#6128)" This reverts commit 5fa1b1b. * Revert "Edit stream window. (#6119)" This reverts commit eab5de9. * Revert "Update go live checklist. (#6118)" This reverts commit 4549e56. * Revert "Fix Kick game persistence. (#6139)" This reverts commit 9f256d6. * Revert "Add go live info banner. (#6116)" This reverts commit 75336b0. * Revert "Move SwitcherCard tooltip hover to toggle. (#6115)" This reverts commit 056d5da. * Revert "Fix tooltip wrapping. (#6114)" This reverts commit 153aa3f. * Revert "Add button to footer. (#6113)" This reverts commit 9f3cd65. * Revert "Add disabled radio button styling. (#6112)" This reverts commit 877db2a. * Revert "Fix onboarding test (#6132)" This reverts commit e439f6f. * Revert "Add small and inline Spinner variants. (#6111)" This reverts commit ae6c143.
Merged
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.
Remove verification of
DualOutputToggle.tsxelements that is not displayed on theEOnboardingSteps.HardwareSetuppageNow this command will pass: