-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(table-of-contents): add e2e-storybook test coverage (#7673)
### Related Ticket(s) Closes: #7444 #7445 #7446 ### Description - Adds new e2e-storybook test for table-of-contents web components component - Adds new e2e-storybook test for table-of-contents react component - Adds new cypress-local.json config & yarn commands to make test writing & debugging easier ### Changelog **New** - Adds new command `yarn test:e2e-storybook:dev` that opens the Cypress client on a currently-running storybook instance to ease test writing & debugging - Adds e2e-storybook test coverage for `table of contents` component
- Loading branch information
Showing
8 changed files
with
713 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"baseUrl": "http://localhost:9000", | ||
"browser": "chrome", | ||
"headless": true, | ||
"fixturesFolder": "tests/e2e-storybook/cypress/fixtures", | ||
"fileServerFolder": "storybook-static", | ||
"screenshotsFolder": "tests/e2e-storybook/cypress/screenshots", | ||
"videosFolder": "tests/e2e-storybook/cypress/videos", | ||
"integrationFolder": "tests/e2e-storybook/cypress/integration", | ||
"supportFile": "tests/e2e-storybook/cypress/support/index.js", | ||
"pluginsFile": "tests/e2e-storybook/cypress/plugins/index.js", | ||
"nodeVersion": "system", | ||
"includeShadowDom": true, | ||
"testFiles": "**/*.e2e.js", | ||
"pageLoadTimeout": 40000, | ||
"defaultCommandTimeout": 40000 | ||
} |
Oops, something went wrong.