Merged in feature/add-login-test-2 (pull request #3261)

e2e tests for my pages

* feature/add-e2e-tests-for-mypages

* remove unneccesary awaits


Approved-by: Linus Flood
This commit is contained in:
Joakim Jäderberg
2025-12-03 07:59:11 +00:00
parent 7acfde7b49
commit 22d00bb363
12 changed files with 244 additions and 174 deletions

View File

@@ -10,7 +10,9 @@
"lint:fix": "next typegen && eslint --fix --max-warnings 0 . && tsgo --noEmit",
"start": "node .next/standalone/server.js",
"test:setup": "yarn build && yarn start",
"preinstall": "/bin/sh -c \"export $(cat .env.local | grep -v '^#' | xargs)\"",
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui",
"test:e2e:debug": "playwright test --debug",
"test": "vitest run",
"test:watch": "vitest",
"ci:build": "yarn lint && yarn test && yarn build",
@@ -91,6 +93,7 @@
"@eslint/js": "^9.26.0",
"@formatjs/cli": "^6.7.1",
"@lokalise/node-api": "^14.0.0",
"@playwright/test": "^1.57.0",
"@react-aria/test-utils": "1.0.0-alpha.8",
"@scandic-hotels/typescript-config": "workspace:*",
"@testing-library/react": "^16.3.0",