-
Notifications
You must be signed in to change notification settings - Fork 680
/
Copy pathpackage.json
22 lines (22 loc) · 1.09 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
{
"name": "tests",
"version": "1.0.0",
"description": "",
"main": "index.js",
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@playwright/test": "^1.40.1",
"@types/node": "^20.10.5"
},
"scripts": {
"end-to-end:update-live-snapshots": "npx playwright test --update-snapshots",
"end-to-end:pull-request-preview": "PLAYWRIGHT_BASE_URL='https://pr-'${GITHUB_PR_NUMBER}'-documentation.appa.pantheon.site' npx playwright test",
"end-to-end:pull-request-preview-snapshots": "PLAYWRIGHT_BASE_URL='https://pr-'${GITHUB_PR_NUMBER}'-documentation.appa.pantheon.site' npx playwright test --update-snapshots",
"end-to-end:local": "PLAYWRIGHT_BASE_URL='http://localhost:8000/' npx playwright test",
"end-to-end:compare-pr-to-live": "npm run end-to-end:update-live-snapshots && npm run end-to-end:pull-request-preview",
"end-to-end:compare-local-to-live": "npm run end-to-end:update-live-snapshots && npm run end-to-end:local",
"end-to-end:compare-local-to-pr": "npm run end-to-end:pull-request-preview-snapshots && npm run end-to-end:local"
}
}