-
Notifications
You must be signed in to change notification settings - Fork 178
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
test(protocol-designer, labware-library): update cypress #14971
Conversation
7bc6302
to
43d9985
Compare
@@ -5,7 +5,7 @@ port ?= 6060 | |||
|
|||
# These variables can be overriden when make is invoked to customize the | |||
# behavior of jest | |||
tests ?= | |||
tests ?= src |
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.
i made this change because other tests in /components
subdirs were getting picked up (protocol-designer/*/components
, app/*/components
)
|
||
describe('Reservoir', () => { | ||
before(() => { | ||
// TODO(IL, 2021-05-15): give Dropdown component semantic selectors for E2E |
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.
still need this comment?
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.
no probably not, ill get rid of it!
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.
Thank you for updating cypress!
The changes look good to me.
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.
i like the cypress tests a lot more this way, after the merge conflict is fixed this lgtm!
Overview
This PR updates cypress from 6.6.0 to 13.7.1, and fixes various tests to accommodate the 5 major version bumps.
For reasons I do not understand (praise the Gods of package management) this PR fixes the jsdom issue we were seeing before where styled-components in the testing environment would get rendered with their active styles by default. So, a lot of the file changes here are reverting tests back to what they were prior to the vite migration.
closes AUTH-219 and AUTH-220
Changelog
Review requests
Verify e2e tests pass
Risk assessment
Low