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

chore(e2e): Added support for the 'chrome-dev' channel in Playwright FE-803 #1677

Merged
merged 19 commits into from
Dec 6, 2024

Conversation

nelitow
Copy link
Contributor

@nelitow nelitow commented Dec 2, 2024

Add Replace chromium with chrome-beta tests as a way to catch breaking changes early on.

I would have chosen the dev channel as it gives us 9 to 12 weeks to catch those changes, as the beta channel would only give 4 to 6 weeks and the Canary version is too unstable, but dev is not available on playwright at the moment.

Decided to replace to the beta version instead of running on both as to not increase the test time. If it runs on beta we can be safe that it runs on stable.

…guration.

- Updated GitHub Actions workflow to install both Chromium and Chrome Dev browsers for E2E testing.
…me-beta' alongside 'chromium' for enhanced E2E testing
This reverts commit 5f03b96.
…omium' and use 'chrome-beta' for E2E testing
@nelitow nelitow self-assigned this Dec 4, 2024
@nelitow nelitow marked this pull request as ready for review December 4, 2024 21:00
Copy link
Contributor

@LuizAsFight LuizAsFight left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

working on betha doesnt mean it will work on stable, we need both.

  • the stable one will be Required
  • the dev one will not be Required (which means will not block the PRs if it fails)

at the end of the day, the dev one will be just a trigger for us to recognize we need to fix something in advance

…g CI workflow

- Updated action.yaml to install both Chrome and Chrome Beta browsers for E2E tests.
- Modified the E2E test commands to run tests for Chrome Stable and Chrome Beta, with environment variables for configuration.
- Added a new project configuration for Chrome in playwright.config.ts to support the new testing setup.
- Added a required input for browser selection (chromium or chrome-beta) in action.yaml.
- Updated E2E test commands to dynamically run tests based on the selected browser.
- Created a new CI job for testing with Chrome Beta, alongside the existing Chrome Stable job.
- Modified playwright.config.ts to reflect the change from 'chrome' to 'chromium' for consistency in project naming.
- Eliminated the maxFailures configuration to streamline test execution in CI environments.
- This change aligns with the recent adjustments to retries based on the CI context.
@LuizAsFight LuizAsFight merged commit 4fe865a into master Dec 6, 2024
16 checks passed
@LuizAsFight LuizAsFight deleted the nj/tests/run-tets-on-chrome-dev branch December 6, 2024 23:09
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.

2 participants