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

Pin browser tests to Chrome 127 #1187

Merged
merged 4 commits into from
Sep 3, 2024
Merged

Pin browser tests to Chrome 127 #1187

merged 4 commits into from
Sep 3, 2024

Conversation

georgegevoian
Copy link
Contributor

@georgegevoian georgegevoian commented Aug 31, 2024

Context

A handful of browser tests began failing in Chrome 128+ (#1185), which the CI workflow began using recently.

The root cause appears to be a change in alert behavior when running automated tests: alerts are no longer shown, even when the BiDi Selenium driver is used.

Proposed solution

Pin Chrome to version 127 when running any browser tests. Follow up later with a fix or workaround.

Has this been tested?

  • 👍 yes, I added tests to the test suite
  • 💭 no, because this PR is a draft and still needs work
  • 🙅 no, because this is not relevant here
  • 🙋 no, because I need help

Copy link
Contributor

@berhalak berhalak left a comment

Choose a reason for hiding this comment

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

Thanks.

export TEST_CLEAN_DATABASE="true"
export TEST_SUPPORT_API_KEY="api_key_for_support"

exec "$@"
Copy link
Contributor

Choose a reason for hiding this comment

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

I like the cleanup to have this all in one place, and I'm happy too about pinning the Chrome version.

As a follow-up, we should have some automation to increase the version number with new releases and automatically merge in a new version number if the CI passes.

@georgegevoian georgegevoian merged commit 437aaac into main Sep 3, 2024
11 checks passed
@georgegevoian georgegevoian deleted the fix-tests branch September 3, 2024 15:36
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.

3 participants