Skip to content

Conversation

@field123
Copy link
Collaborator

@field123 field123 commented Feb 2, 2026

Summary

  • Increase auto-open visibility timeouts from 10s to 20s
  • Add 60s timeout to project import API call
  • Increase canvas visible wait from 10s to 30s
  • Add force: true to hover calls in routing-versions tests
  • Increase plexus-installation waitFor timeouts to 20s

Problem

Based on analysis of 6 recent CI runs, the following tests were consistently failing:

Test Failure Rate Root Cause
auto-open.spec.ts:392 "hidden parent" 4/6 10s visibility timeout too short
hostless-code-libs.spec.ts:44 4/6 10s API timeout too short for 280KB import
auto-open.spec.ts:324 "Plasmic components" 3/6 Tree tab button visibility
auto-open.spec.ts:373 "section" 3/6 5s visibility timeout
routing-versions.spec.ts 3/6 Hover element interception
plexus-installation.spec.ts 3/6 Element visibility detection

The tests are flaky (pass locally, fail in CI) because CI workers are slower due to shared resources.

Test plan

  • E2E tests pass in CI (add run-e2e-tests label)
  • Monitor next 3 CI runs for stability improvement
  • Flaky test count should reduce from 7-8 to ≤2

- Increase auto-open visibility timeouts from 10s to 20s
- Add 60s timeout to project import API call
- Increase canvas visible wait from 10s to 30s
- Add force: true to hover calls in routing-versions tests
- Increase plexus-installation waitFor timeouts to 20s

Addresses consistent CI failures in:
- auto-open.spec.ts (4 test cases)
- hostless-code-libs.spec.ts
- routing-versions.spec.ts
- plexus-installation.spec.ts
- auto-open: add test.use({ actionTimeout: 20_000 }) and explicit
  expect timeout for visibility checks
- routing-versions: add test.use({ actionTimeout: 20_000 }) for
  publishing operations
- stale-bundle: add test.use({ actionTimeout: 20_000 }) for bundle
  migration

Uses suite-level timeout overrides to keep global defaults fast
while giving CI more time where needed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant