Production-ready test infrastructure with Page Object Model pattern, reusable fixtures for auth/DB/test-data, and example tests covering login flow, dashboard, accounts CRUD API, and visual regression. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
25 lines
869 B
JSON
25 lines
869 B
JSON
{
|
|
"name": "hoa-ledgeriq-tests",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"description": "Root package for Playwright E2E & API tests",
|
|
"scripts": {
|
|
"test:e2e": "npx playwright test",
|
|
"test:e2e:chromium": "npx playwright test --project=chromium",
|
|
"test:e2e:firefox": "npx playwright test --project=firefox",
|
|
"test:e2e:webkit": "npx playwright test --project=webkit",
|
|
"test:e2e:api": "npx playwright test --project=api",
|
|
"test:e2e:headed": "npx playwright test --headed",
|
|
"test:e2e:debug": "npx playwright test --debug",
|
|
"test:e2e:ui": "npx playwright test --ui",
|
|
"test:e2e:report": "npx playwright show-report",
|
|
"test:e2e:update-snapshots": "npx playwright test --update-snapshots"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.49.0",
|
|
"dotenv": "^16.4.0",
|
|
"pg": "^8.13.0",
|
|
"@types/pg": "^8.11.0"
|
|
}
|
|
}
|