Skip to content

Commit

Permalink
Rework sso e2e tests to use playwright vs. jest + playwright
Browse files Browse the repository at this point in the history
  • Loading branch information
humphd committed Dec 4, 2022
1 parent 9e0ee6c commit dd5e15b
Show file tree
Hide file tree
Showing 16 changed files with 285 additions and 837 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e-tests-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ jobs:
- name: Apply database migrations
run: pnpm db:migrate
- name: Run e2e tests
- run: pnpm jest:e2e
run: pnpm e2e
8 changes: 2 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
"db:seed": "prisma db seed",
"db:init": "run-s db:migrate db:seed",
"test": "pnpm turbo run test",
"e2e": "pnpm turbo run e2e",
"jest": "jest -c jest.config.js --",
"jest:e2e": "jest -c jest.config.e2e.js --forceExit --",
"jest:e2e": "pnpm turbo run e2e",
"coverage": "jest -c jest.config.js --collectCoverage --",
"jest-watch": "jest -c jest.config.js --watch --",
"jest-update": "jest -c jest.config.js --updateSnapshot --",
"jest:e2e-watch": "jest -c jest.config.e2e.js --watch --",
"test-ci": "run-s prettier-check test",
"pre-commit": "pretty-quick --staged",
"preversion": "node tools/collect-dependencies.js -- -o src/api/dependency-discovery/deps.txt && git add src/api/dependency-discovery/deps.txt",
Expand Down Expand Up @@ -67,14 +67,10 @@
"eslint": "7.32.0",
"husky": "7.0.4",
"jest": "27.5.1",
"jest-circus": "27.5.1",
"jest-environment-node": "27.5.1",
"jest-fetch-mock": "3.0.3",
"jest-playwright-preset": "1.7.0",
"jest-runner": "27.5.1",
"nock": "13.2.4",
"npm-run-all": "4.1.5",
"playwright": "1.20.2",
"prettier": "2.5.1",
"pretty-quick": "3.1.3",
"prisma": "3.15.2",
Expand Down
Loading

0 comments on commit dd5e15b

Please sign in to comment.