Skip to content

fix(e2e): account for the EA preview step in onboarding specs - #1604

Merged
gabrielseco merged 3 commits into
mainfrom
fix/main-ci-ea-preview-e2e-invite-flake
Oct 16, 2026
Merged

gabrielseco merged 3 commits into
mainfrom
fix/main-ci-ea-preview-e2e-invite-flake

Conversation

@gabrielseco

@gabrielseco gabrielseco commented Oct 16, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Fixes the basic, Portugal and Germany onboarding e2e specs that are failing on main.

Why

Both flows now land on a "Preview Employment Agreement" step between Benefits and Review, so the specs timed out waiting for "Review".

What changed

Toggle details
  • onboard-basic-employee.spec.ts, onboard-portugal-employee.spec.ts and onboard-germany-employee.spec.ts assert the preview step title, click Continue, then assert Review.
  • No public API change.

Screenshots

N/A

Related Resources

Testing

E2E hits the real sandbox, so it is validated by this PR's E2E check.

  • Tested against the example/ app in a browser
  • Feature flag: N/A

🤖 Generated with Claude Code


Note

Low Risk
Test-only changes with no production or API impact.

Overview
Updates three onboarding Playwright specs (basic, Germany, and Portugal employee flows) so they match the current wizard order after Benefits.

Each spec now waits for the Preview Employment Agreement step title, clicks the primary submit button to continue, then proceeds to the existing Review assertions. This fixes timeouts on main where tests expected Review immediately after Benefits.

Reviewed by Cursor Bugbot for commit 79d7a2f. Bugbot is set up for automated code reviews on this repo. Configure here.

…ding specs

Basic and Portugal onboarding now land on the Preview Employment Agreement step
after Benefits. Continue through it before asserting Review.

Also give the OnboardingInvite deposit-handling test a 5s findByText timeout:
it renders the flow three times in a row and hit the 1s default on a loaded CI
runner.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

📦 Bundle Size Report

Metric Current Previous Change Status
Total (gzip) 231.12 kB 231.12 kB 0 B (0%) 🟢
Total (raw) 643.35 kB 643.35 kB 0 B (0%) 🟢
CSS (gzip) 21.95 kB 21.95 kB 0 B (0%) 🟢
CSS (raw) 114.51 kB 114.51 kB 0 B (0%) 🟢

Size Limits

  • ✅ Total gzipped: 231.12 kB / 350 kB (66.0%)
  • ✅ Total raw: 643.35 kB / 850 kB (75.7%)
  • ✅ CSS gzipped: 21.95 kB / 25 kB (87.8%)

Largest Files (Top 5)

  1. index.esm-wIkXrqU6.js - 11.4 kB (0 B (0%))
  2. styles.css - 10.97 kB (0 B (0%))
  3. index.css - 10.97 kB (0 B (0%))
  4. internals-BOZceErx.js - 6.13 kB (0 B (0%))
  5. hooks-ThU7CDLI.js - 5.85 kB (0 B (0%))
View All Files (291 total)
File Size (gzip) Change
index.esm-wIkXrqU6.js 11.4 kB 0 B (0%)
styles.css 10.97 kB 0 B (0%)
index.css 10.97 kB 0 B (0%)
internals-BOZceErx.js 6.13 kB 0 B (0%)
hooks-ThU7CDLI.js 5.85 kB 0 B (0%)
sdk.gen-BRPiw4M1.js 5.58 kB 0 B (0%)
index.js 5.51 kB 0 B (0%)
flows/Onboarding/hooks.js 4.67 kB 0 B (0%)
utils-CUgvJHl4.js 4.07 kB 0 B (0%)
FieldSetField-D0HdSLTs.js 4.04 kB 0 B (0%)

✅ Bundle size check passed

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Deploy preview for adp-cost-calculator ready!

Project:adp-cost-calculator
Status: ✅  Deploy successful!
Preview URL:https://adp-cost-calculator-kw41wipti-remotecom.vercel.app
Latest Commit:79d7a2f

Deployed with vercel-action

@gabrielseco gabrielseco changed the title fix(e2e): account for the EA preview step and de-flake the Invite test fix(e2e): account for the EA preview step in onboarding specs Oct 16, 2026
@github-actions

github-actions Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Deploy preview for remote-flows ready!

Project:remote-flows
Status: ✅  Deploy successful!
Preview URL:https://remote-flows-k20p5gz4v-remotecom.vercel.app
Latest Commit:79d7a2f

Deployed with vercel-action

@github-actions

github-actions Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

📊 Coverage Report

⚠️ Coverage decreased

Metric Current Previous Change Status
Lines 89.61% 89.63% -0.02% 🔴
Statements 89.49% 89.50% -0.02% 🔴
Functions 88.50% 88.50% 0% ⚪
Branches 81.30% 81.32% -0.02% 🔴

Detailed Breakdown

Lines Coverage
  • Covered: 5417 / 6045
  • Coverage: 89.61%
  • Change: -0.02% (-1 lines)
Statements Coverage
  • Covered: 5482 / 6126
  • Coverage: 89.49%
  • Change: -0.02% (-1 statements)
Functions Coverage
  • Covered: 1432 / 1618
  • Coverage: 88.50%
  • Change: 0% (0 functions)
Branches Coverage
  • Covered: 3373 / 4149
  • Coverage: 81.30%
  • Change: -0.02% (-1 branches)

✅ Coverage check passed

…ing spec

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@gabrielseco
gabrielseco merged commit 3bb6e0d into main Oct 16, 2026
13 checks passed
@gabrielseco
gabrielseco deleted the fix/main-ci-ea-preview-e2e-invite-flake branch October 16, 2026 10:41
This was referenced Oct 19, 2026
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.

2 participants