-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
41 lines (41 loc) · 2.33 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
{
"private": true,
"name": "theia-e2e-test-suite",
"version": "1.46.1",
"license": "EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0",
"scripts": {
"prepare": "yarn clean && yarn build",
"clean": "rimraf lib tsconfig.tsbuildinfo",
"build": "tsc --incremental && if-env SKIP_CHROMIUM_INSTALLATION=1 && echo 'Skipping chromium install' || npx playwright install chromium",
"ui-tests": "yarn && playwright test --config=./configs/playwright.config.ts --project=Browser",
"ui-tests-electron": "yarn && USE_ELECTRON=true playwright test --config=./configs/playwright.config.ts --project=Electron",
"ui-tests-ci": "yarn && playwright test --config=./configs/playwright.ci.config.ts --project=Browser",
"ui-tests-ci-electron": "yarn && USE_ELECTRON=true playwright test --config=./configs/playwright.ci.config.ts --project=Electron",
"ui-tests-headful": "yarn && playwright test --config=./configs/playwright.headful.config.ts --project=Browser",
"ui-tests-report-generate": "allure generate ./allure-results --clean -o allure-results/allure-report",
"ui-tests-report": "yarn ui-tests-report-generate && allure open allure-results/allure-report",
"performance": "yarn run performance-on-chromium",
"performance-on-chromium": "yarn && playwright test --config=./configs/performance.config.ts --project=Browser",
"performance-on-electron": "yarn && USE_ELECTRON=true playwright test --config=./configs/performance.config.ts --project=Electron",
"performance-report": "yarn run performance-report-chromium",
"performance-report-chromium": "yarn && node lib/scripts/performance-report.js --performanceMetricsPath performance-metrics/Browser --performancePublishPath=performance/chromium",
"performance-report-electron": "yarn && node lib/scripts/performance-report.js --performanceMetricsPath performance-metrics/Electron --performancePublishPath=performance/electron"
},
"dependencies": {
"@playwright/test": "^1.37.1",
"@theia/playwright": "^1.46.1"
},
"devDependencies": {
"@types/fs-extra": "^11.0.1",
"@types/node-fetch": "^2.6.4",
"@types/yargs": "^17.0.24",
"allure-commandline": "^2.23.1",
"allure-playwright": "^2.5.0",
"fs-extra": "^11.1.1",
"if-env": "^1.0.4",
"node-fetch": "^2.6.7",
"rimraf": "^3.0.0",
"typescript": "~4.5.5",
"yargs": "^17.7.2"
}
}