-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
49 lines (49 loc) · 2.26 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
43
44
45
46
47
48
49
{
"name": "playwright-typescript",
"version": "1.0.0",
"description": "ERNI Academy accelerator to start a Playwright framework using Typescript language.",
"main": "index.js",
"scripts": {
"clean:allure-reports": "rimraf allure-report allure-results && mkdirp allure-report allure-results",
"generate:allure-reports": "npx allure generate ./allure-results --clean",
"open:allure-reports": "npx allure open ./allure-report",
"pretest:pom": "npm run clean:allure-reports",
"posttest:pom": "npm run generate:allure-reports && npm run open:allure-reports",
"clean:cucumber-reports": "rimraf test-results && mkdirp test-results",
"generate:cucumber-reports": "npx ts-node ./src/helper/reportGenerate.ts",
"pretest:cucumber": "npm run clean:cucumber-reports",
"posttest:cucumber": "npm run generate:cucumber-reports",
"execute:cucumber-script": "cucumber-js test",
"pretest:jenkins": "npm install && .\\node_modules||.bin\\playwright.cmd install --force && npm run clean:allure-reports",
"posttest:jenkins": "npm run generate:allure-reports",
"chromium": "npx playwright test --project=chromium",
"firefox": "npx playwright test --project=firefox",
"chrome": "npx playwright test --project=chrome",
"test:chromium-jenkins": "npm run pretest:jenkins && npm run chromium && npm run posttest:jenkins",
"test:firefox-jenkins": "npm run pretest:jenkins && npm run firefox && npm run posttest:jenkins",
"test:chrome-jenkins": "npm run pretest:jenkins && npm run chrome && npm run posttest:jenkins",
"test:pom": "npm run pretest:pom && npm run firefox && npm run posttest:pom",
"test:cucumber": "npm run pretest:cucumber && npm run execute:cucumber-script && npm run posttest:cucumber"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@axe-core/playwright": "^4.10.0",
"@cucumber/cucumber": "^11.0.1",
"@playwright/test": "^1.47.2",
"@types/node": "^22.7.4",
"allure-commandline": "^2.30.0",
"allure-playwright": "^3.0.4",
"csv-parse": "^5.5.6",
"dotenv": "^16.4.5",
"exceljs": "^4.4.0",
"luxon": "^3.5.0",
"multiple-cucumber-html-reporter": "^3.8.0",
"ts-node": "^10.9.2"
},
"dependencies": {
"mkdir": "^0.0.2",
"rimraf": "^6.0.1"
}
}