Skip to content
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(table-of-contents): add e2e-storybook test coverage #7673

Merged
Merged
Show file tree
Hide file tree
Changes from 17 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
896fee0
test(table-of-contents): add yarn command for local cypress test deve…
andy-blum Nov 16, 2021
ad8803d
Merge branch 'main' into tests/table-of-contents
andy-blum Nov 16, 2021
af83868
test(table-of-contents): add e2e-storybook test
andy-blum Nov 16, 2021
684943d
test(table-of-contents): remove uncaught-exception handling
andy-blum Nov 17, 2021
793cfbb
test(table-of-contents): simplify tests, add mobile coverage
andy-blum Nov 17, 2021
ef1bc10
Merge branch 'master' into tests/table-of-contents
andy-blum Nov 17, 2021
523011b
test(table-of-contents): update script, add jsDocs
andy-blum Nov 17, 2021
b497561
Merge branch 'master' into tests/table-of-contents
andy-blum Nov 17, 2021
4bc2e90
test(table-of-contents): add local e2e command & config
andy-blum Nov 19, 2021
ba30d8c
test(table-of-contents): update react e2e-storybook test
andy-blum Nov 19, 2021
996cdca
test(table-of-contents): remove debugging code
andy-blum Nov 19, 2021
e0e7c60
Merge branch 'master' into tests/table-of-contents
andy-blum Nov 19, 2021
12801f2
test(table-of-contents): add screenshots and percySnapshots
andy-blum Nov 19, 2021
2cdd8a6
test(table-of-contents): add percySnaphsots to WC tests
andy-blum Nov 19, 2021
50b39d4
Merge branch 'master' into tests/table-of-contents
andy-blum Nov 19, 2021
d76b1ba
test(table-of-contents): add carbonScreenshot cypress command
andy-blum Nov 19, 2021
a56a8b4
Merge branch 'tests/table-of-contents' of https://github.com/andy-blu…
andy-blum Nov 19, 2021
543fe92
test(table-of-contents): rename custom command to carbonThemesScreenshot
andy-blum Nov 22, 2021
df90772
Merge branch 'master' into tests/table-of-contents
ariellalgilmore Nov 22, 2021
330ec27
test(table-of-contents): fix test error
andy-blum Nov 23, 2021
676137c
Merge branch 'master' into tests/table-of-contents
jeffchew Nov 23, 2021
6ccbd0a
Merge branch 'master' into tests/table-of-contents
kodiakhq[bot] Nov 23, 2021
dcfa294
Merge branch 'master' into tests/table-of-contents
ariellalgilmore Nov 24, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"test:e2e:test:no-percy": "start-server-and-test 'yarn test:e2e:run' 8080 'cypress run --config video=false --config-file tests/e2e/cypress.json'",
"test:e2e-storybook:run": "http-server -c-1 storybook-static --silent -p 8082",
"test:e2e-storybook:test": "start-server-and-test 'yarn test:e2e-storybook:run' 8082 'percy exec --config tests/e2e-storybook/.percy.json -- cypress run --config video=false --config-file tests/e2e-storybook/cypress.json'",
"test:e2e-storybook:dev": "cypress open --config-file ./tests/e2e-storybook/cypress-local.json",
"test:e2e-storybook:test:no-percy": "start-server-and-test 'yarn test:e2e-storybook:run' 8082 'cypress run --config video=false --config-file tests/e2e-storybook/cypress.json'",
"test:e2e-storybook:test:no-percy:with-video": "start-server-and-test 'yarn test:e2e-storybook:run' 8082 'cypress run --config-file tests/e2e-storybook/cypress.json'",
"test:e2e-storybook:browserstack:canary": "browserstack-cypress run --cf tests/e2e-storybook/browserstack.json --ccf tests/e2e-storybook/cypress-canary.json --sync",
Expand Down
17 changes: 17 additions & 0 deletions packages/react/tests/e2e-storybook/cypress-local.json
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
}
Loading