Skip to content

Fix onboarding test - #6132

Merged
michelinewu merged 2 commits into
masterfrom
rno/onboarding
Aug 27, 2026
Merged

Fix onboarding test#6132
michelinewu merged 2 commits into
masterfrom
rno/onboarding

Conversation

@sandboxcoder

@sandboxcoder sandboxcoder commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Remove verification of DualOutputToggle.tsx elements that is not displayed on the EOnboardingSteps.HardwareSetup page

Now this command will pass:

yarn test:file test-dist/test/regular/onboarding.js

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-inactive visibility 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.

Comment thread test/regular/onboarding.ts
@bundlemon

bundlemon Bot commented Aug 27, 2026

Copy link
Copy Markdown

BundleMon

Unchanged files (4)
Status Path Size Limits
renderer.(hash).js
10.32MB -
vendors~renderer.(hash).js
4.67MB -
updater.js
115.29KB -
guest-api.js
40.23KB -

No change in files bundle size

Final result: ✅

View report in BundleMon website ➡️


Current branch size history | Target branch size history

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-inactive icon. 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
sandboxcoder marked this pull request as ready for review August 27, 2026 19:38
@michelinewu
michelinewu merged commit e439f6f into master Aug 27, 2026
7 of 14 checks passed
@michelinewu
michelinewu deleted the rno/onboarding branch August 27, 2026 21:07
michelinewu added a commit that referenced this pull request Aug 29, 2026
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants