* Enhance E2E Tests and Configuration - Updated `.gitignore` to exclude `.auth/` directory for cleaner test environment. - Added `test:fast` script in `package.json` for faster Playwright test execution. - Configured Playwright to include a setup project for initializing tests. - Introduced `AUTH_STATES` utility for managing authentication states in tests. - Created `auth.setup.ts` for user authentication tests, ensuring proper login flows. - Refactored various test files to utilize the new authentication state management, improving test reliability and maintainability. - Adjusted team and user billing tests to streamline setup and enhance clarity. - Refactored some dialogs
22 lines
582 B
JSON
22 lines
582 B
JSON
{
|
|
"name": "web-e2e",
|
|
"version": "1.0.0",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"report": "playwright show-report",
|
|
"test": "playwright test --max-failures=1",
|
|
"test:fast": "playwright test --max-failures=1 --workers=16",
|
|
"test:setup": "playwright test tests/auth.setup.ts",
|
|
"test:ui": "playwright test --ui"
|
|
},
|
|
"author": "Makerkit",
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.55.0",
|
|
"@supabase/supabase-js": "2.57.4",
|
|
"@types/node": "^24.5.2",
|
|
"dotenv": "17.2.2",
|
|
"node-html-parser": "^7.0.1",
|
|
"totp-generator": "^2.0.0"
|
|
}
|
|
}
|