-
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
fix(e2e): mock ibm-common.js in e2e tests #8147
fix(e2e): mock ibm-common.js in e2e tests #8147
Conversation
Deploy preview created for package Built with commit: c3d5615b5c87797153e2d66c32d6f005027ba782 |
Deploy preview created for package Built with commit: c3d5615b5c87797153e2d66c32d6f005027ba782 |
Deploy preview created for package Built with commit: c3d5615b5c87797153e2d66c32d6f005027ba782 |
Deploy preview created for package Built with commit: c3d5615b5c87797153e2d66c32d6f005027ba782 |
Deploy preview created for package Built with commit: c3d5615b5c87797153e2d66c32d6f005027ba782 |
Deploy preview created for package Built with commit: c3d5615b5c87797153e2d66c32d6f005027ba782 |
Deploy preview created for package Built with commit: c3d5615b5c87797153e2d66c32d6f005027ba782 |
…/cypress-ibm-common
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.
looks good to me, just one question about a disabled test
@@ -172,7 +172,7 @@ describe('dds-feature-cta | (desktop)', () => { | |||
}); | |||
|
|||
it('Should load and be fully clickable', _tests.checkBlockLink); | |||
it( | |||
xit( |
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 we add a note about this omitted test?
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.
Ahh just saw your note after the PR was merged. I'll open up a PR with a note.
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.
Actually let me create an issue for this too.
### Related Ticket(s) #8233 #8147 ### Description This PR downgrades Cypress in the `web-components` package back to v8.1.0 due to out of memory issues present in v8.2+ Firefox is also added to the browsers matrix again for end to end tests <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) -->
Related Ticket(s)
Refs #7898
Description
The footer tests were still failing for the footer in Browserstack automate. This is an attempt to approach the fix in a different way, and instead to block the cookie preferences (ibm-common.js) from loading entirely.
This also introduces the approach for globally mocking network calls rather than doing it in a per-test approach.
Changelog
New
ibm-common.js
fixture in e2e testsChanged