Skip to content

fix(playwright): drop obsolete useGoogleSheetAsDefault toggle in (c)#1475

Merged
renemadsen merged 1 commit intostablefrom
fix/remove-obsolete-gsheet-assertion
Apr 15, 2026
Merged

fix(playwright): drop obsolete useGoogleSheetAsDefault toggle in (c)#1475
renemadsen merged 1 commit intostablefrom
fix/remove-obsolete-gsheet-assertion

Conversation

@renemadsen
Copy link
Copy Markdown
Member

Summary

  • Remove the ensure-on block for #useGoogleSheetAsDefault in c/dashboard-edit-a.spec.ts — it hung the suite for 120s because the checkbox is now (a) seeded true by default (e86d3a1) and (b) gated behind selectCurrentUserIsFirstUser$ (c7732b4), so it never renders for the admin CI user.
  • The subsequent autoBreakCalculationActive block is preserved — that's the assertion the test actually cares about.

Test plan

  • pn-playwright-test (c) goes green on this PR
  • (a), (b), and the other groups remain green

🤖 Generated with Claude Code

The ensure-on block for #useGoogleSheetAsDefault hung the (c) suite for
the full 120s timeout. Two business-logic changes made it unreachable:

  - e86d3a1 seeds useGoogleSheetAsDefault=true for every assigned site
    on install, so no flip is needed.
  - c7732b4 gates the checkbox behind selectCurrentUserIsFirstUser$
    in assigned-site-dialog.component.html:9, so the element never
    renders for the admin CI user.

The subsequent autoBreakCalculationActive block is admin-gated and
still valid, so the test's actual intent ("should enable auto break
calculations with empty values") survives.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@renemadsen renemadsen merged commit 482308a into stable Apr 15, 2026
20 checks passed
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.

1 participant