-
- Downloads
[Cypress runner] Run Cypress (#17099)
Related issue: https://github.com/metabase/metabase/issues/17005 * Add `arg` library * Rewrite the main Cypress runner logic * Destructure Cypress snapshot results * Rename Cypress snapshots runner * Update CircleCI config to reflect `folder` changes * Update readme for smoke tests * Run `metabase-db` tests conditionally based on env `QA_DB_ENABLED`
Showing
- .circleci/config.yml 22 additions, 15 deletions.circleci/config.yml
- frontend/test/__runner__/cypress-runner-generate-snapshots.js 8 additions, 6 deletions...tend/test/__runner__/cypress-runner-generate-snapshots.js
- frontend/test/__runner__/cypress-runner-run-tests.js 97 additions, 0 deletionsfrontend/test/__runner__/cypress-runner-run-tests.js
- frontend/test/__runner__/run_cypress_tests.js 4 additions, 73 deletionsfrontend/test/__runner__/run_cypress_tests.js
- frontend/test/__support__/e2e/cypress-plugins.js 5 additions, 0 deletionsfrontend/test/__support__/e2e/cypress-plugins.js
- frontend/test/metabase-db/README.md 46 additions, 0 deletionsfrontend/test/metabase-db/README.md
- frontend/test/metabase/scenarios/smoketest/README.md 1 addition, 3 deletionsfrontend/test/metabase/scenarios/smoketest/README.md
- package.json 2 additions, 1 deletionpackage.json
- yarn.lock 5 additions, 0 deletionsyarn.lock
frontend/test/metabase-db/README.md
0 → 100644
... | ... | @@ -11,6 +11,7 @@ |
}, | ||
"dependencies": { | ||
"ace-builds": "^1.4.7", | ||
"arg": "^5.0.0", | ||
"chevrotain": "^6.5.0", | ||
"classlist-polyfill": "^1.2.0", | ||
"classnames": "^2.1.3", | ||
... | ... | @@ -201,7 +202,7 @@ |
"test-cypress": "yarn build && ./bin/build-for-test && yarn test-cypress-no-build", | ||
"test-cypress-open": "./bin/build-for-test && yarn test-cypress-no-build --open", | ||
"test-cypress-open-no-backend": "E2E_HOST='http://localhost:3000' yarn test-cypress-no-build --open", | ||
"test-cypress-no-build": "yarn && CONFIG_FILE=frontend/test/__support__/e2e/cypress.json babel-node ./frontend/test/__runner__/run_cypress_tests.js", | ||
"test-cypress-no-build": "yarn && babel-node ./frontend/test/__runner__/run_cypress_tests.js", | ||
"prepare": "husky install" | ||
}, | ||
"lint-staged": { | ||
... | ... |
Please register or sign in to comment