Skip to content

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

Draft
susnux wants to merge 3 commits intomasterfrom
ci/playwright
Draft

test: add playwright pipeline and start migrating Cypress to Playwright#60194
susnux wants to merge 3 commits intomasterfrom
ci/playwright

Conversation

@susnux
Copy link
Copy Markdown
Contributor

@susnux susnux commented May 6, 2026

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.

TODO

  • Migrate more tests

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 added 3 commits May 6, 2026 19:02
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant