-
Notifications
You must be signed in to change notification settings - Fork 159
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(e2e): introduce cypress for web components & react storybook #7096
test(e2e): introduce cypress for web components & react storybook #7096
Conversation
Deploy preview created for package Built with commit: 1d8c28e4e4660639b4d6e6256ab9ddc2d4943820 |
Deploy preview created for package Built with commit: 1d8c28e4e4660639b4d6e6256ab9ddc2d4943820 |
Deploy preview created for package Built with commit: 1d8c28e4e4660639b4d6e6256ab9ddc2d4943820 |
Deploy preview created for package Built with commit: 1d8c28e4e4660639b4d6e6256ab9ddc2d4943820 |
Deploy preview created for package Built with commit: 1d8c28e4e4660639b4d6e6256ab9ddc2d4943820 |
…st/e2e-web-components # Conflicts: # packages/tests-e2e/CHANGELOG.md # packages/tests-e2e/package.json
Deploy preview created for package Built with commit: 1d8c28e4e4660639b4d6e6256ab9ddc2d4943820 |
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.
should there be any lockfile and offline package mirror changes that go with this as well? I get unstaged changes when running a yarn install
It should have been updated, but I can double-check. Web components and react are using existing dependencies for cypress already which is probably why there isn't much difference, but I would think that puppeteer would have been deleted. |
@emyarod I ran a reset locally and didn't see any new changes. Did you run a reset on your end? |
@jeffchew yeah mine is still running but I will update when it's finished |
@jeffchew hm yeah I still get unstaged changes after a reset no idea why it installs correctly on |
Related Ticket(s)
Refs #6139
Description
This PR fully moves the existing
test-e2e
package to a dedicated cypress test setup for web components and react storybooks. A few tests have been included formasthead
,locale-modal
, andleadspace
. They are largely focused on snapshot testing, though percy has been disabled for now as rendering of dynamic states are still not supported in percy for web components (see percy/cli#280).Actual cypress tests can be created now though, and also the current tests uses the built-in cypress screenshot feature:
And video that shows how the tests are run:
masthead.e2e.js.mp4
Changelog
New
Changed
Removed
test-e2e
package