Skip to content

test(browser): stabilize zones start state test - #981

Open
harshita-jangra wants to merge 1 commit into
eizedev:mainfrom
harshita-jangra:test-view-tabs-zones-start-state-stability
Open

harshita-jangra wants to merge 1 commit into
eizedev:mainfrom
harshita-jangra:test-view-tabs-zones-start-state-stability

Conversation

@harshita-jangra

Copy link
Copy Markdown
Contributor

Summary

  • Wait for the report table and initial expanded state before changing the zones attribute.
  • Wait for two animation frames after setting zones="open" so the intermediate update can settle before setting it back to "folded".
  • Reuse the existing twoFrames(page) helper without adding arbitrary timeouts or changing production code.

Testing

  • npm run build:playground
  • Targeted Chromium test
  • Targeted Chromium stress test (--repeat-each=50 --workers=4)
  • Full Chromium view-tabs.spec.js suite
  • Sleep test
  • npm run lint
  • npm run types
  • npm run growth
  • git diff --check

Closes #967

This branch has not been deployed

No deployments
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.

test: view-tabs.spec zones start state is flaky under load

1 participant