38 lines
No EOL
1.2 KiB
JSON
38 lines
No EOL
1.2 KiB
JSON
{
|
|
"name": "trip-planner-e2e-tests",
|
|
"version": "1.0.0",
|
|
"description": "End-to-end tests for Trip Planner application",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"test": "jest --config jest-local.json",
|
|
"test:docker": "jest",
|
|
"test:headless": "HEADLESS=true jest --config jest-local.json",
|
|
"test:watch": "jest --config jest-local.json --watch",
|
|
"test:auth": "jest --config jest-local.json specs/auth",
|
|
"test:integration": "jest --config jest-local.json specs/integration",
|
|
"test:full-auth": "jest --config jest-local.json specs/integration/full-auth-flow.test.js"
|
|
},
|
|
"keywords": ["selenium", "e2e", "testing"],
|
|
"author": "",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"selenium-webdriver": "^4.24.0",
|
|
"axios": "^1.6.0"
|
|
},
|
|
"devDependencies": {
|
|
"jest": "^29.7.0",
|
|
"@types/jest": "^29.5.12"
|
|
},
|
|
"jest": {
|
|
"testEnvironment": "node",
|
|
"testMatch": ["**/specs/**/*.test.js"],
|
|
"setupFilesAfterEnv": ["<rootDir>/support/config/jest.setup.js"],
|
|
"testTimeout": 30000
|
|
},
|
|
"jest-local": {
|
|
"testEnvironment": "node",
|
|
"testMatch": ["**/specs/**/*.test.js"],
|
|
"setupFilesAfterEnv": ["<rootDir>/support/config/jest.setup.local.js"],
|
|
"testTimeout": 30000
|
|
}
|
|
} |