forked from PrestaShop/PrestaShop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·103 lines (94 loc) · 4.45 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"name": "ui-tests",
"version": "1.0.0",
"description": "User interface tests",
"directories": {
"test": "test"
},
"scripts": {
"// ESLint": "To run ESLint commands",
"lint:fix": "eslint --fix --ignore-path .gitignore .",
"lint": "eslint --ignore-path .gitignore .",
"// Step identifiers": "Script to check step identifiers",
"check:step-identifiers": "node tools/stepIdentifiersChecker.js ",
"// Linkchecker": "Script to run link checker",
"check:links": "./node_modules/mocha/bin/mocha tools/linkchecker.js",
"// Specific test": "Script to run a specific test/folder",
"test:specific": "./node_modules/mocha/bin/mocha --recursive --file utils/setup.js campaigns/$TEST_PATH",
"test:specific:fast-fail": "./node_modules/mocha/bin/mocha --bail --recursive --file utils/setup.js campaigns/$TEST_PATH",
"// Sanity": "Scripts to run sanity tests",
"test:sanity": "TEST_PATH='sanity/*' npm run test:specific",
"test:sanity:fast-fail": "TEST_PATH='sanity/*' npm run test:specific:fast-fail",
"test:sanity:productV2": "TEST_PATH='productV2/sanity/*' npm run test:specific",
"test:sanity:productV2:fast-fail": "TEST_PATH='productV2/sanity/*' npm run test:specific:fast-fail",
"// Functional": "Scripts to run functional tests",
"test:functional": "TEST_PATH='functional/*' npm run test:specific",
"// Functional BO": "Scripts to run functional BO tests",
"test:functional:BO": "TEST_PATH='functional/BO/*' npm run test:specific",
"test:functional:BO:login": "TEST_PATH='functional/BO/00_login/*' npm run test:specific",
"test:functional:BO:orders": "TEST_PATH='functional/BO/02_orders/*' npm run test:specific",
"test:functional:BO:catalog": "TEST_PATH='functional/BO/03_catalog/*' npm run test:specific",
"test:functional:BO:customer": "TEST_PATH='functional/BO/04_customers/*' npm run test:specific",
"test:functional:BO:customer-service": "TEST_PATH='functional/BO/05_customerService/*' npm run test:specific",
"test:functional:BO:modules": "TEST_PATH='functional/BO/07_modules/*' npm run test:specific",
"test:functional:BO:design": "TEST_PATH='functional/BO/08_design/*' npm run test:specific",
"test:functional:BO:shipping": "TEST_PATH='functional/BO/09_shipping/*' npm run test:specific",
"test:functional:BO:payment": "TEST_PATH='functional/BO/10_payment/*' npm run test:specific",
"test:functional:BO:international": "TEST_PATH='functional/BO/11_international/*' npm run test:specific",
"test:functional:BO:shop-parameters": "TEST_PATH='functional/BO/13_shopParameters/*' npm run test:specific",
"test:functional:BO:advanced-parameters": "TEST_PATH='functional/BO/14_advancedParameters/*' npm run test:specific",
"test:functional:BO:header": "TEST_PATH='functional/BO/15_header/*' npm run test:specific",
"// Functional FO": "Scripts to run functional FO tests",
"test:functional:FO": "TEST_PATH='functional/FO/*' npm run test:specific",
"// Regression tests": "Scripts to run regression tests",
"test:regression": "TEST_PATH='regression/*' npm run test:specific",
"// All tests": "Scripts to run all campaigns",
"test:all": "./node_modules/mocha/bin/mocha --recursive --file utils/setup.js campaigns/functional/* campaigns/sanity/* campaigns/regression/*"
},
"_moduleAliases": {
"@pages": "pages",
"@commonTests": "commonTests",
"@data": "data",
"@utils": "utils",
"@tools": "tools"
},
"repository": {
"type": "git",
"url": "git+https://github.com/PrestaShop/PrestaShop.git"
},
"keywords": [
"playwright",
"sanity",
"functional"
],
"author": "PrestaShop",
"license": "OSL-3.0",
"bugs": {
"url": "https://github.com/PrestaShop/PrestaShop/issues"
},
"homepage": "https://github.com/PrestaShop/PrestaShop/tree/develop/tests/UI#readme",
"dependencies": {
"@faker-js/faker": "^7.3.0",
"chai": "^4.2.0",
"chai-string": "^1.5.0",
"csv-writer": "^1.6.0",
"dotenv": "^16.0.2",
"eslint-config-prestashop": "0.0.2",
"js-image-generator": "^1.0.2",
"maildev": "^1.1.0",
"mocha": "^6.1.4",
"mochawesome": "^6.2.2",
"module-alias": "^2.2.2",
"pdfjs-dist": "^2.3.200",
"playwright": "^1.16.2"
},
"devDependencies": {
"babel-eslint": "^10.1.0",
"eslint": "^5.16.0",
"eslint-config-airbnb-base": "^13.2.0",
"eslint-plugin-html": "^6.0.2",
"eslint-plugin-import": "^2.20.2",
"jsdoc-to-markdown": "^7.0.1",
"mochawesome-merge": "^4.2.0"
}
}