- Set up Playwright in dedicated e2e directory - Multi-environment support (local, staging) - TOTP authentication handling with otplib - Test coverage for organizations, devices, alerts, status indicators - Helper utilities for common test operations - Comprehensive README with setup and usage instructions - Setup script for quick initialization
20 lines
643 B
JSON
20 lines
643 B
JSON
{
|
|
"name": "towerops-e2e",
|
|
"version": "1.0.0",
|
|
"description": "End-to-end tests for Towerops",
|
|
"scripts": {
|
|
"test": "playwright test",
|
|
"test:local": "BASE_URL=http://localhost:4000 playwright test",
|
|
"test:staging": "BASE_URL=https://staging.towerops.net playwright test",
|
|
"test:ui": "playwright test --ui",
|
|
"test:headed": "playwright test --headed",
|
|
"test:debug": "playwright test --debug",
|
|
"codegen": "playwright codegen http://localhost:4000",
|
|
"report": "playwright show-report"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.48.0",
|
|
"@types/node": "^22.0.0",
|
|
"otplib": "^13.0.0"
|
|
}
|
|
}
|