-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
42 lines (42 loc) · 1.65 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
"name": "playwright-for-studies",
"version": "1.0.0",
"main": "index.js",
"repository": "https://github.com/uLucasFraga/playwright_for_studies",
"author": "Lucas Fraga <[email protected]>",
"license": "MIT",
"private": false,
"devDependencies": {
"@faker-js/faker": "^8.0.2",
"@playwright/test": "^1.34.3",
"allure-commandline": "^2.22.1",
"allure-playwright": "^2.4.0",
"dotenv": "^16.0.3",
"eslint": "^8.41.0",
"eslint-plugin-playwright": "^0.12.0",
"http-status-codes": "^2.2.0",
"serverest": "2.26.11",
"wait-on": "^7.0.1"
},
"scripts": {
"allure:generate": "yarn allure generate ./allure-results --clean -o allure-report",
"allure:history": "mv -f allure-report/history allure-results/history && rm -r allure-report || true",
"allure:open": "npx playwright show-report allure-report",
"api:start": "docker run -d -p 3200:3000 --name serverest paulogoncalvesbh/serverest:2.26.11",
"clean": "rm -rf allure-* reports test-results && rm -rf node_modules && rm -rf yarn.lock",
"lint": "eslint tests/**/*.js --fix",
"test:api": "yarn playwright test --project api --config playwright.config.js",
"test:api:ci:wait": "wait-on -i 1000 -t 30000 -l http://localhost:3200",
"test:api:ci": "yarn test:api:ci:wait && yarn test:api --workers 4",
"test:e2e": "yarn playwright test --project e2e --config playwright.config.js",
"test:e2e:ci": "yarn test:e2e --workers 4",
"posttest": "yarn allure:generate && yarn allure:open"
},
"keywords": [
"Plawright",
"Test Runner",
"Test Automation",
"JavaScript",
"allure"
]
}