-
Notifications
You must be signed in to change notification settings - Fork 19
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
Migrate to Cypress 11 #205
Conversation
.github/workflows/cypress.yml
Outdated
@@ -25,7 +25,7 @@ jobs: | |||
uses: actions/checkout@v2 | |||
|
|||
- name: Install dependencies | |||
run: npm i && npm i -g cypress@9.0.0 | |||
run: npm i && npm i -g cypress@11.2.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a specific reason to install Cypress globally instead of using the local version?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We set env vars from repo secrets for a twitter API key and secret. So, directly calling the cypress command in workflow instead of using npm scripts. see here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Sidsector9 I tried a different approach to setup cypress env variables and removed global cypress installation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working on this! LGTM 👍
Description of the Change
This PR upgrades the Cypress version to 11 and updates needed files as part of the migration.
Closes #199
How to test the Change
Make sure PR
PASS
E2E tests check OR verify E2E tests locally.Changelog Entry
Credits
Props @iamdharmesh
Checklist: