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

x938 - Changes to fix cypress test flaking #231

Merged
merged 6 commits into from
Oct 26, 2022
Merged

Conversation

BenTopping
Copy link
Contributor

@BenTopping BenTopping commented Oct 25, 2022

Closes #227

Previously cypress was running off electron, in theory this could have caused the difference in github CI to local tests as locally we use chrome.

Running off chrome appears to make the tests 1-2 mins slower.

In future we may need to upgrade the docker image to the latest versions of chrome using https://github.com/cypress-io/cypress-docker-images

Flakiness is difficult to test but so far this PR has passed 5/5 re-runs of cypress tests.

@BenTopping BenTopping marked this pull request as ready for review October 25, 2022 16:20
@BenTopping BenTopping requested a review from seenanair October 25, 2022 16:20
@@ -13,6 +13,9 @@ jobs:
cypress:
name: Run cypress tests
runs-on: ubuntu-latest
container:
image: cypress/browsers:node16.17.1-chrome106-ff105-edge
options: --user 1001
Copy link
Contributor

Choose a reason for hiding this comment

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

What is --user 1001 indicates?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There was a permissions issue with the docker container. This discussion here outlines the issue and temporary fix.

@seenanair seenanair merged commit f490e31 into devel Oct 26, 2022
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.

x938 Cypess CI testing when run as GitHub
2 participants