-
Notifications
You must be signed in to change notification settings - Fork 224
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
Add short Cypress test script npm run test:short #3309
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
Implement npm run test:short script in package.json Document in README
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.
@MikeMcC399 Many thanks for this PR. (On my older 2.7 GHz i5 Mac the test still takes about 10 min...) |
You're welcome!
The run time is quite dependent on the available hardware. On my Windows 11 laptop (SSD drive, intel i5, 8GB) the Cypress test shows "All specs passed 02:47". The screenshot from @larswmh was even faster with 01:24. Maybe you need to speak to someone nicely to get a hardware upgrade sometime? 😉 |
This PR implements one suggestion from #3308 "Improve testing for PR submission".
It provides a new script which can be run with:
npm run test:short
This runs all Cypress tests except cypress/e2e/hybrid/check_links.cy.js.
Verification
Execute
npm run test:short
and confirm that there are no errors reported.
Internal Tracking ID: EXPOSUREAPP-14530