-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
58 lines (56 loc) · 2.79 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
50
51
52
53
54
55
56
57
58
{
"name": "dokan_e2e_test",
"version": "1.0.0",
"description": "dokan e2e test using jest-puppeteer",
"main": "index.js",
"scripts": {
"start-env": "wp-env start",
"start-env:update": "wp-env start -- --update",
"stop-env": "wp-env stop",
"restart-env": "wp-env stop && wp-env start",
"reset-db": "wp-env clean all && wp-env start",
"delete-all": "wp-env destroy all && wp-env start",
"dev-user-list": "wp-env run cli wp user list",
"activate-sf-dev": "npm run wp-env run cli 'wp theme activate storefront'",
"activate-sf-test": "wp-env run tests-cli 'wp theme activate storefront'",
"openReport": "node -e 'require(\"./tests/e2e/utils/helpers.js\").openReport()'",
"test:e2e:help": "wp-scripts test-e2e --help",
"test-e2e": "wp-scripts test-e2e ",
"test-interactive": "wp-scripts test-e2e -- --puppeteer-interactive",
"test-interactive:single": "wp-scripts test-e2e demo5.spec.js -- --puppeteer-interactive",
"test:admin": "wp-scripts test-e2e admin.spec.js",
"test-interactive:admin": "wp-scripts test-e2e admin.spec.js -- --puppeteer-interactive",
"test-interactive:admin:report": "wp-scripts test-e2e admin.spec.js -- --puppeteer-interactive && npm run openReport",
"test:vendor": "wp-scripts test-e2e vendor.spec.js",
"test-interactive:vendor": "wp-scripts test-e2e vendor.spec.js -- --puppeteer-interactive ",
"test-interactive:vendor:report": "wp-scripts test-e2e vendor.spec.js -- --puppeteer-interactive && npm run openReport",
"test:customer": "wp-scripts test-e2e customer.spec.js",
"test-interactive:customer": "wp-scripts test-e2e customer.spec.js -- --puppeteer-interactive",
"test-interactive:customer:report": "wp-scripts test-e2e customer.spec.js -- --puppeteer-interactive && npm run openReport",
"test-interactive:devtools": "wp-scripts test-e2e -- --puppeteer-interactive --puppeteer-devtools",
"test-e2e:watch": "npm run test-e2e -- --watchAll",
"test-interactive:watch": "npm run test-e2e:watch -- --puppeteer-interactive",
"test-e2e:debug": "wp-scripts --inspect-brk test-e2e --puppeteer-devtools",
"container_path": "wp-env install-path",
"test-interactive:exploratory": "wp-scripts test-e2e exploratory-vendor.spec.js -- --puppeteer-interactive",
"wp-env": "wp-env"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"@faker-js/faker": "^6.1.1",
"@wordpress/e2e-test-utils": "^7.1.0",
"@wordpress/env": "^4.4.0",
"@wordpress/jest-console": "^5.0.2",
"@wordpress/jest-puppeteer-axe": "^4.0.2",
"@wordpress/scripts": "^22.3.0",
"dotenv": "^16.0.0",
"expect-puppeteer": "^6.1.0",
"jest-allure": "^0.1.3",
"jest-puppeteer": "^6.1.0",
"jest-stare": "^2.3.0",
"open": "^8.4.0",
"puppeteer-testing-library": "^0.6.0"
}
}