Skip to content

test: add playwright pipeline and start migrating Cypress to Playwright#60194

Open
susnux wants to merge 4 commits into
masterfrom
ci/playwright
Open

test: add playwright pipeline and start migrating Cypress to Playwright#60194
susnux wants to merge 4 commits into
masterfrom
ci/playwright

Conversation

@susnux

@susnux susnux commented May 6, 2026

Copy link
Copy Markdown
Contributor

Summary

Problem

Cypress is always flaky this has two reasons:

  1. Tests are bad
  2. Cypress itself

For 2 we have cases where the electron renderer just crashes and this happens more often than you would think.
Also for 2 its a problem that Cypress runs within the browser tab, so you cannot test cross-tab communications.

Moreover Cypress has evolved from opensource to open core and nudging you to their paid services and especially they actively fight against community by making it impossible to create open source variants.
This does not really fit into a project with a strong sense for free software and open source.

Solution

Playwright offers a popular opensource frame work to create end to end tests with proper support for cross tab communication. Also it integrates very well with most IDEs and their post-test analysis is open source.

How to review test runs locally

  1. Download the HTML report from the summary of the CI run
  2. Extract it locally
  3. Run npx playwright show-report ./path/to/extracted-folder

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

@susnux susnux added this to the Nextcloud 34 milestone May 6, 2026
@susnux susnux added 2. developing Work in progress tests Related to tests developer experience CI labels May 6, 2026
@susnux susnux force-pushed the ci/playwright branch 3 times, most recently from f90a982 to a525b3d Compare May 18, 2026 19:13
@susnux susnux force-pushed the ci/playwright branch 4 times, most recently from 63fe07c to b03a684 Compare June 9, 2026 15:28
@susnux susnux marked this pull request as ready for review June 9, 2026 15:28
@susnux susnux requested review from a team as code owners June 9, 2026 15:28
@susnux susnux requested review from Altahrim, ArtificialOwl, nfebe, skjnldsv and sorbaugh and removed request for a team June 9, 2026 15:28
@susnux susnux modified the milestones: Nextcloud 34.0.1, Nextcloud 35 Jun 9, 2026
@susnux susnux removed the 2. developing Work in progress label Jun 9, 2026
@susnux susnux added the 3. to review Waiting for reviews label Jun 9, 2026
@susnux susnux removed the request for review from a team June 9, 2026 15:30
susnux added 4 commits June 9, 2026 17:41
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews CI developer experience tests Related to tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants