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 3, 2022
1 parent 94eec21 commit 09e2fb8
Show file tree
Hide file tree
Showing 16 changed files with 286 additions and 837 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/e2e-tests-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,5 @@ jobs:
run: pnpx -y wait-on -t 60000 tcp:5432 http://localhost:8081/simplesaml
- name: Apply database migrations
run: pnpm db:migrate
- run: pnpm jest:e2e
- name: Run e2e Tests
- 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 09e2fb8

Please sign in to comment.