Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parametrize PW test suite for Suite desktop to also be able to test web #15605

Open
HajekOndrej opened this issue Nov 27, 2024 · 0 comments
Open
Assignees
Labels
e2e End-to-end tests builded in CI

Comments

@HajekOndrej
Copy link
Contributor

HajekOndrej commented Nov 27, 2024

As part of our initiative to move from Cypress to Playwright, we have decided, that it would be best to have the ability to run the same tests against both web and desktop app.

AC

  • The PW test suite in suite-desktop-core package is parametrized in a way, that enables me to choose if running against electron app or browser based web app.
  • Pipelines are updated accordingly
    • With parallelization support based on test groups as it is for current Suite web E2E tests
  • Currents.dev reports
    • Desktop tests report to desktop project
    • Web tests report to web project

Implementation Notes

  • We need to have a way to tag and filter tests, that are not valid on web (e.g. tor) and maybe also tests, that are valid only on desktop
  • Pipelines:
    • Run desktop only tests on desktop app and all other tests against web in PR CI
    • Run everything against desktop and web in nightly
@HajekOndrej HajekOndrej added the e2e End-to-end tests builded in CI label Nov 27, 2024
@github-project-automation github-project-automation bot moved this to 🎯 To do in Issues Suite Nov 27, 2024
@HajekOndrej HajekOndrej self-assigned this Nov 28, 2024
@HajekOndrej HajekOndrej moved this from 🎯 To do to 🏃‍♀️ In progress in Issues Suite Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
e2e End-to-end tests builded in CI
Projects
Status: 🏃‍♀️ In progress
Development

No branches or pull requests

1 participant