Skip to content

Migrate e2e tests from Cypress to Playwright#6182

Closed
Platane wants to merge 6 commits intoquickwit-oss:mainfrom
Platane:migrate-e2e-cypress-to-playwright
Closed

Migrate e2e tests from Cypress to Playwright#6182
Platane wants to merge 6 commits intoquickwit-oss:mainfrom
Platane:migrate-e2e-cypress-to-playwright

Conversation

@Platane
Copy link
Collaborator

@Platane Platane commented Mar 2, 2026

Summary

  • Replace Cypress with Playwright for e2e testing — lighter install (to be confirmed), faster execution (it would be nice)

  • Add a new search test, why not

Test plan

  • All 4 Playwright tests pass locally against a running Quickwit instance
  • CI Playwright e2e job passes

🤖 Generated with Claude Code

Supersedes #6174
Stacked on #6181

Platane and others added 5 commits March 2, 2026 11:15
The automatic JSX transform doesn't require importing React. These
unused imports cause biome lint errors.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Bump minor/patch versions:
- @babel/core 7.28.5 → 7.29.0
- @biomejs/biome 2.3.5 → 2.4.4
- @mui/* 7.3.5 → 7.3.8, x-charts/x-date-pickers 8.18.0 → 8.27.x
- react/react-dom 19.2.0 → 19.2.4
- react-router 7.12.0 → 7.13.1
- vite 7.2.2 → 7.3.1
- monaco-editor 0.54.0 → 0.55.1
- dayjs 1.11.7 → 1.11.19
- swagger-ui-react 5.30.2 → 5.32.0
- dompurify (resolution) 3.2.4 → 3.3.1
- and other minor bumps

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add apt-get update before installing protobuf-compiler to avoid
404 errors from stale package mirrors on GitHub Actions runners.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
react-monaco-editor was never imported (project uses @monaco-editor/react).
web-vitals and reportWebVitals.ts were dead CRA boilerplate.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Replace Cypress with @playwright/test
- Create playwright.config.ts with Chromium + baseURL
- Translate 3 existing tests + add search page test
- Use --only-shell for lighter Chromium install in CI
- Exclude e2e/ from Jest via testPathIgnorePatterns

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Platane Platane closed this Mar 2, 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.

1 participant