Skip to content

perf: optimize playwright tests duration#1521

Open
RonenMars wants to merge 4 commits intomainfrom
ronen/test/run-simultenously
Open

perf: optimize playwright tests duration#1521
RonenMars wants to merge 4 commits intomainfrom
ronen/test/run-simultenously

Conversation

@RonenMars
Copy link
Contributor

Description

Implement playwright test sharding in CI, increasing workers, reducing retries to optimize the total tests time.

What type of PR is this? (check all applicable)

  • 💡 (feat) - A new feature (non-breaking change which adds functionality)
  • 🔄 (refactor) - Code Refactoring - A code change that neither fixes a bug nor adds a feature
  • 🐞 (fix) - Bug Fix (non-breaking change which fixes an issue)
  • 🏎 (perf) - Optimization
  • 📄 (docs) - Documentation - Documentation only changes
  • 📄 (test) - Tests - Adding missing tests or correcting existing tests
  • ⚙️ (ci) - Continuous Integrations - Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
  • ☑️ (chore) - Chores - Other changes that don't modify src or test files
  • ↩️ (revert) - Reverts - Reverts a previous commit(s).

@RonenMars RonenMars force-pushed the ronen/test/run-simultenously branch 3 times, most recently from 7aca4ab to ab0ab4a Compare December 29, 2025 17:34
…educing retries to optimize the total tests time
  - Start one Docker container per worker (ports 9980-9983) in CI
  - Add worker-scoped fixture to route API requests to worker-specific backend
  - Each Playwright worker now has its own isolated backend instance
  - Enables full parallelism (4 workers) without backend race conditions
@RonenMars RonenMars force-pushed the ronen/test/run-simultenously branch from cf0fe8e to 3afe09e Compare December 30, 2025 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant