-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
59 lines (59 loc) · 2.75 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
{
"name": "cucumber-wdio",
"version": "1.0.2",
"description": "Run native automation for web, android and ios using cucumber wdio with page object pattern",
"repository": {
"type": "git",
"url": "git://https://github.com/javicoin/cucumber-wdio"
},
"config": {
"cucumberConfig": "config/xray/cucumber.config.json",
"jsonReportsDirectory": "test/reports/mobile/cucumber/json"
},
"scripts": {
"chrome": "wdio test/config/chrome.conf.js",
"test:android:local": "wdio config/android.local.conf.js",
"test:ios:local": "wdio config/ios.local.conf.js",
"test:android:browserstack": "wdio config/browserstack/android.bs.conf.js --parallel=true",
"test:ios:browserstack": "wdio config/browserstack/ios.bs.conf.js --parallel=true",
"cucumber:download_features": "npx run-func ./node_modules/@xray-app/xray-automation/src/helpers/xray-helper.js downloadCucumberFeatures $npm_package_config_cucumberConfig",
"cucumber:upload_features": "npx run-func ./node_modules/@xray-app/xray-automation/src/helpers/xray-helper.js uploadCucumberFeatures $npm_package_config_cucumberConfig",
"report:merge_json_files": "npx run-func node_modules/wdio-common/lib/merge-reports.js mergeJsonReports $npm_package_config_jsonReportsDirectory",
"cucumber:submit_results": "npx run-func ./node_modules/@xray-app/xray-automation/src/helpers/xray-helper.js submitCucumberTestResults test/reports/mobile/cucumber/json/merged_output_report.json $npm_package_config_cucumberConfig",
"allure:report_mobile": "./node_modules/.bin/allure generate --clean 'test/reports/mobile/allure-results' && allure open",
"allure:report_web": "./node_modules/.bin/allure generate --clean 'test/reports/web/allure-results' && allure open",
"lint": "eslint ."
},
"keywords": [
"appium",
"cucumber",
"webdriverio",
"wdio",
"mobile automation"
],
"author": "javicoin",
"license": "ISC",
"devDependencies": {
"@wdio/allure-reporter": "^7.25.4",
"@wdio/appium-service": "^7.25.4",
"@wdio/browserstack-service": "^7.25.4",
"@wdio/cli": "^7.25.4",
"@wdio/cucumber-framework": "^7.25.4",
"@wdio/local-runner": "^7.25.4",
"allure-commandline": "^2.18.1",
"eslint": "^7.3.0",
"wdio-chromedriver-service": "^7.3.2",
"webdriverio": "^7.25.4"
},
"dependencies": {
"@wdio/codemod": "^0.12.0",
"@xray-app/xray-automation": "git+https://github.com/javicoin/xray-automation-js.git",
"chai": "^4.3.7",
"chromedriver": "^106.0.1",
"jscodeshift": "^0.14.0",
"run-func": "^3.0.0",
"wdio-common": "git+https://github.com/javicoin/wdio-common.git",
"wdio-cucumber-parallel-execution": "git+https://github.com/javicoin/wdio-cucumber-parallel-execution",
"wdio-cucumberjs-json-reporter": "^4.4.3"
}
}