Skip to content

fix: select standard plan so contract_origin step is visible in jsfMo…#1150

Merged
jordividaller merged 4 commits into
mainfrom
fix-tests-merging-conflict
Jul 8, 2026
Merged

fix: select standard plan so contract_origin step is visible in jsfMo…#1150
jordividaller merged 4 commits into
mainfrom
fix-tests-merging-conflict

Conversation

@jordividaller

@jordividaller jordividaller commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

…dify test

The contract_origin step only renders when the selected pricing plan is the standard product ('Contractor Management'). The test defaulted to 'Contractor Management Plus', hiding the step and causing a timeout after merging PRs #1147 and #1148.


Note

Low Risk
Test-only changes with no production code paths affected.

Overview
Fixes a flaky Contractor Onboarding integration test that exercises jsfModify on the Contract Origin step.

The test now selects Contractor Management (standard plan) instead of relying on the helper default Contractor Management Plus, because contract_origin is only in the visible step list for the standard product. It also asserts via a new visible-steps test hook that contract_origin is present before advancing, and the shared test renderer exposes visible step names for that check.

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

…dify test

The contract_origin step only renders when the selected pricing plan is the
standard product ('Contractor Management'). The test defaulted to
'Contractor Management Plus', hiding the step and causing a timeout after
merging PRs #1147 and #1148.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@jordividaller jordividaller requested a review from remotecom July 8, 2026 15:18
@jordividaller jordividaller self-assigned this Jul 8, 2026
@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

📦 Bundle Size Report

Metric Current Previous Change Status
Total (gzip) 226.6 kB 226.6 kB 0 B (0%) 🟢
Total (raw) 612.61 kB 612.61 kB 0 B (0%) 🟢
CSS (gzip) 21.45 kB 21.45 kB 0 B (0%) 🟢
CSS (raw) 110.5 kB 110.5 kB 0 B (0%) 🟢

Size Limits

  • ✅ Total gzipped: 226.6 kB / 250 kB (90.6%)
  • ✅ Total raw: 612.61 kB / 650 kB (94.2%)
  • ✅ CSS gzipped: 21.45 kB / 25 kB (85.8%)

Largest Files (Top 5)

  1. chunk-Y3CJRZLA.js - 14 kB (0 B (0%))
  2. styles.css - 10.73 kB (0 B (0%))
  3. index.css - 10.73 kB (0 B (0%))
  4. chunk-Q5OFEWTH.js - 6.43 kB (0 B (0%))
  5. index.js - 6.34 kB (0 B (0%))
View All Files (345 total)
File Size (gzip) Change
chunk-Y3CJRZLA.js 14 kB 0 B (0%)
styles.css 10.73 kB 0 B (0%)
index.css 10.73 kB 0 B (0%)
chunk-Q5OFEWTH.js 6.43 kB 0 B (0%)
index.js 6.34 kB 0 B (0%)
chunk-BYDNNJHZ.js 6.08 kB 0 B (0%)
chunk-G2LZFGZA.js 5.31 kB 0 B (0%)
chunk-3HMUXWNW.js 4.86 kB 0 B (0%)
chunk-A5SRPVT2.js 4.76 kB 0 B (0%)
chunk-S4QKVG2B.js 3.89 kB 0 B (0%)

✅ Bundle size check passed

@github-actions

github-actions Bot commented Jul 8, 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-9cjrvydk5-remotecom.vercel.app
Latest Commit:3e5709d

Deployed with vercel-action

@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Deploy preview for remote-flows ready!

Project:remote-flows
Status: ✅  Deploy successful!
Preview URL:https://remote-flows-m9j7ikbby-remotecom.vercel.app
Latest Commit:3e5709d

Deployed with vercel-action

Jordi Vidaller and others added 3 commits July 8, 2026 17:40
The includeContractOrigin effect reacts to the selected plan asynchronously;
on slow CI the Next click fired before it settled, skipping the contract_origin
step. Wait for the standard-plan radio to be checked before navigating.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
The radio-checked wait resolved before the includeContractOrigin effect
propagated to the steps array, so on slow CI the Next click still skipped
the step. Expose visible steps from the bag in the test mock and wait until
contract_origin is present, which is deterministic regardless of CI speed.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@jordividaller jordividaller merged commit fa252ea into main Jul 8, 2026
10 of 11 checks passed
@jordividaller jordividaller deleted the fix-tests-merging-conflict branch July 8, 2026 16:23
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