browserstack-cypress-cli 1.10.1 → 1.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.nyc_output/4a952689-f098-4108-8a3e-26deb80519a8.json +1 -0
- package/.nyc_output/97ba506f-6310-4b5c-b0cf-54cdd82c7af6.json +1 -0
- package/.nyc_output/processinfo/4a952689-f098-4108-8a3e-26deb80519a8.json +1 -0
- package/.nyc_output/processinfo/97ba506f-6310-4b5c-b0cf-54cdd82c7af6.json +1 -0
- package/.nyc_output/processinfo/index.json +1 -1
- package/bin/commands/generateDownloads.js +1 -0
- package/bin/commands/generateReport.js +1 -0
- package/bin/commands/info.js +1 -0
- package/bin/commands/runs.js +139 -91
- package/bin/commands/stop.js +3 -63
- package/bin/helpers/buildArtifacts.js +2 -0
- package/bin/helpers/capabilityHelper.js +8 -0
- package/bin/helpers/checkUploaded.js +47 -14
- package/bin/helpers/config.js +2 -0
- package/bin/helpers/constants.js +31 -6
- package/bin/helpers/fileHelpers.js +14 -0
- package/bin/helpers/packageInstaller.js +138 -0
- package/bin/helpers/reporterHTML.js +8 -2
- package/bin/helpers/sync/syncSpecsLogs.js +2 -0
- package/bin/helpers/utils.js +194 -2
- package/bin/helpers/zipUpload.js +40 -28
- package/bin/runner.js +6 -1
- package/package.json +4 -2
- package/.nyc_output/8250a512-572d-46ce-b8a0-1994c1cafa91.json +0 -1
- package/.nyc_output/c4d99e47-3a09-4e3a-9b8d-5fd3063b36ae.json +0 -1
- package/.nyc_output/processinfo/8250a512-572d-46ce-b8a0-1994c1cafa91.json +0 -1
- package/.nyc_output/processinfo/c4d99e47-3a09-4e3a-9b8d-5fd3063b36ae.json +0 -1
- package/log/usage.log +0 -16
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"parent":null,"pid":3082,"argv":["/Users/surya/.nvm/versions/node/v12.8.1/bin/node","/Users/surya/projects/browserstack-cypress-cli/node_modules/.bin/mocha","test/**/*.js","--recursive","--timeout","60000","--exit"],"execArgv":[],"cwd":"/Users/surya/projects/browserstack-cypress-cli","time":1623059650297,"ppid":3059,"coverageFilename":"/Users/surya/projects/browserstack-cypress-cli/.nyc_output/8250a512-572d-46ce-b8a0-1994c1cafa91.json","externalId":"","uuid":"8250a512-572d-46ce-b8a0-1994c1cafa91","files":["/Users/surya/projects/browserstack-cypress-cli/bin/helpers/constants.js","/Users/surya/projects/browserstack-cypress-cli/bin/helpers/config.js","/Users/surya/projects/browserstack-cypress-cli/bin/helpers/logger.js","/Users/surya/projects/browserstack-cypress-cli/bin/helpers/utils.js","/Users/surya/projects/browserstack-cypress-cli/bin/helpers/usageReporting.js","/Users/surya/projects/browserstack-cypress-cli/bin/commands/init.js","/Users/surya/projects/browserstack-cypress-cli/bin/helpers/fileHelpers.js","/Users/surya/projects/browserstack-cypress-cli/bin/helpers/archiver.js","/Users/surya/projects/browserstack-cypress-cli/bin/helpers/capabilityHelper.js","/Users/surya/projects/browserstack-cypress-cli/bin/helpers/sync/failedSpecsDetails.js","/Users/surya/projects/browserstack-cypress-cli/bin/helpers/sync/specsSummary.js","/Users/surya/projects/browserstack-cypress-cli/bin/helpers/sync/syncSpecsLogs.js","/Users/surya/projects/browserstack-cypress-cli/bin/commands/generateReport.js","/Users/surya/projects/browserstack-cypress-cli/bin/commands/info.js","/Users/surya/projects/browserstack-cypress-cli/bin/templates/configTemplate.js","/Users/surya/projects/browserstack-cypress-cli/bin/commands/runs.js","/Users/surya/projects/browserstack-cypress-cli/bin/helpers/zipUpload.js","/Users/surya/projects/browserstack-cypress-cli/bin/helpers/build.js","/Users/surya/projects/browserstack-cypress-cli/bin/helpers/syncRunner.js","/Users/surya/projects/browserstack-cypress-cli/bin/helpers/reporterHTML.js","/Users/surya/projects/browserstack-cypress-cli/bin/commands/stop.js"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"parent":null,"pid":3059,"argv":["/Users/surya/.nvm/versions/node/v12.8.1/bin/node","/Users/surya/projects/browserstack-cypress-cli/node_modules/.bin/nyc","mocha","test/**/*.js","--recursive","--timeout","60000","--exit"],"execArgv":[],"cwd":"/Users/surya/projects/browserstack-cypress-cli","time":1623059646976,"ppid":3058,"coverageFilename":"/Users/surya/projects/browserstack-cypress-cli/.nyc_output/c4d99e47-3a09-4e3a-9b8d-5fd3063b36ae.json","externalId":"","uuid":"c4d99e47-3a09-4e3a-9b8d-5fd3063b36ae","files":["/Users/surya/projects/browserstack-cypress-cli/bin/commands/generateReport.js","/Users/surya/projects/browserstack-cypress-cli/bin/commands/info.js","/Users/surya/projects/browserstack-cypress-cli/bin/commands/init.js","/Users/surya/projects/browserstack-cypress-cli/bin/commands/runs.js","/Users/surya/projects/browserstack-cypress-cli/bin/commands/stop.js","/Users/surya/projects/browserstack-cypress-cli/bin/helpers/archiver.js","/Users/surya/projects/browserstack-cypress-cli/bin/helpers/build.js","/Users/surya/projects/browserstack-cypress-cli/bin/helpers/capabilityHelper.js","/Users/surya/projects/browserstack-cypress-cli/bin/helpers/config.js","/Users/surya/projects/browserstack-cypress-cli/bin/helpers/constants.js","/Users/surya/projects/browserstack-cypress-cli/bin/helpers/fileHelpers.js","/Users/surya/projects/browserstack-cypress-cli/bin/helpers/logger.js","/Users/surya/projects/browserstack-cypress-cli/bin/helpers/reporterHTML.js","/Users/surya/projects/browserstack-cypress-cli/bin/helpers/sync/failedSpecsDetails.js","/Users/surya/projects/browserstack-cypress-cli/bin/helpers/sync/specsSummary.js","/Users/surya/projects/browserstack-cypress-cli/bin/helpers/sync/syncSpecsLogs.js","/Users/surya/projects/browserstack-cypress-cli/bin/helpers/syncRunner.js","/Users/surya/projects/browserstack-cypress-cli/bin/helpers/usageReporting.js","/Users/surya/projects/browserstack-cypress-cli/bin/helpers/utils.js","/Users/surya/projects/browserstack-cypress-cli/bin/helpers/zipUpload.js","/Users/surya/projects/browserstack-cypress-cli/bin/runner.js","/Users/surya/projects/browserstack-cypress-cli/bin/templates/configTemplate.js"]}
|
package/log/usage.log
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
{"level":"info","message":"Sending {\"event_type\":\"cypress_cli_stats\",\"data\":{\"os\":\"darwin\",\"os_version\":\"19.5.0\",\"bstack_json_found_in_pwd\":false,\"cypress_json_found_in_pwd\":false,\"cli_version\":\"1.1.6\",\"cli_path\":\"/Users/surya/.nvm/versions/node/v12.8.1/lib/node_modules\",\"npm_version\":\"6.10.2\",\"local_cypress_version\":\"Cypress package version: 4.2.0\\nCypress binary version: 4.2.0\",\"ci_environment\":null,\"event_timestamp\":\"11/10/2020, 3:40:16 PM\",\"cli_args\":{\"_\":[\"run\"],\"username\":\"suryatripathi1\",\"key\":\"bMsqfyJAEBRzMfZRU925\",\"p\":10,\"cf\":\"/browserstack.json\",\"config-file\":\"/browserstack.json\",\"configFile\":\"/browserstack.json\",\"$0\":\"browserstack-cypress\"},\"message\":\"Cannot find module '/Users/surya/projects/browserstack-cypress-cli/browserstack.json'\\nRequire stack:\\n- /Users/surya/.nvm/versions/node/v12.8.1/lib/node_modules/browserstack-cypress-cli/bin/helpers/util.js\\n- /Users/surya/.nvm/versions/node/v12.8.1/lib/node_modules/browserstack-cypress-cli/bin/helpers/zipUpload.js\\n- /Users/surya/.nvm/versions/node/v12.8.1/lib/node_modules/browserstack-cypress-cli/bin/commands/runs.js\\n- /Users/surya/.nvm/versions/node/v12.8.1/lib/node_modules/browserstack-cypress-cli/bin/runner.js\",\"message_type\":\"error\",\"error_code\":\"bstack_json_invalid_unknown\"}} to https://eds.browserstack.com:443/send_event_cy_internal","timestamp":"2020-11-10T10:10:16.796Z"}
|
|
2
|
-
{"level":"info","message":"{\"attempts\":1,\"statusCode\":200,\"body\":\"Bravo\"}","timestamp":"2020-11-10T10:10:21.372Z"}
|
|
3
|
-
{"level":"info","message":"Sending {\"event_type\":\"cypress_cli_stats\",\"data\":{\"os\":\"darwin\",\"os_version\":\"19.5.0\",\"bstack_json_found_in_pwd\":false,\"cypress_json_found_in_pwd\":false,\"cli_version\":\"1.1.6\",\"cli_path\":\"/Users/surya/.nvm/versions/node/v12.8.1/lib/node_modules\",\"npm_version\":\"6.10.2\",\"local_cypress_version\":\"Cypress package version: 4.2.0\\nCypress binary version: 4.2.0\",\"ci_environment\":null,\"event_timestamp\":\"3/2/2021, 9:05:11 PM\",\"data\":\"{}\",\"cli_args\":{\"args\":true},\"message\":\"local start error\",\"message_type\":\"error\",\"error_code\":\"local_start_error\"}} to https://eds.browserstack.com:443/send_event_cy_internal","timestamp":"2021-03-02T15:35:11.983Z"}
|
|
4
|
-
{"level":"info","message":"{\"attempts\":1,\"statusCode\":200,\"body\":\"Bravo\"}","timestamp":"2021-03-02T15:35:13.053Z"}
|
|
5
|
-
{"level":"info","message":"Sending {\"event_type\":\"cypress_cli_stats\",\"data\":{\"os\":\"darwin\",\"os_version\":\"19.5.0\",\"bstack_json_found_in_pwd\":false,\"cypress_json_found_in_pwd\":false,\"cli_version\":\"1.1.6\",\"cli_path\":\"/Users/surya/.nvm/versions/node/v12.8.1/lib/node_modules\",\"npm_version\":\"6.10.2\",\"local_cypress_version\":\"Cypress package version: 4.2.0\\nCypress binary version: 4.2.0\",\"ci_environment\":null,\"event_timestamp\":\"3/2/2021, 9:07:09 PM\",\"data\":\"{}\",\"cli_args\":{\"args\":true},\"message\":\"local start error\",\"message_type\":\"error\",\"error_code\":\"local_start_error\"}} to https://eds.browserstack.com:443/send_event_cy_internal","timestamp":"2021-03-02T15:37:09.101Z"}
|
|
6
|
-
{"level":"info","message":"{\"attempts\":1,\"statusCode\":200,\"body\":\"Bravo\"}","timestamp":"2021-03-02T15:37:13.116Z"}
|
|
7
|
-
{"level":"info","message":"Sending {\"event_type\":\"cypress_cli_stats\",\"data\":{\"os\":\"darwin\",\"os_version\":\"19.5.0\",\"bstack_json_found_in_pwd\":false,\"cypress_json_found_in_pwd\":false,\"cli_version\":\"1.1.6\",\"cli_path\":\"/Users/surya/.nvm/versions/node/v12.8.1/lib/node_modules\",\"npm_version\":\"6.10.2\",\"local_cypress_version\":\"Cypress package version: 4.2.0\\nCypress binary version: 4.2.0\",\"ci_environment\":null,\"event_timestamp\":\"3/2/2021, 9:08:47 PM\",\"data\":\"{}\",\"cli_args\":{\"args\":true},\"message\":\"local start error\",\"message_type\":\"error\",\"error_code\":\"local_start_error\"}} to undefined","timestamp":"2021-03-02T15:38:47.349Z"}
|
|
8
|
-
{"level":"error","message":"{\"attempts\":1}","timestamp":"2021-03-02T15:38:47.355Z"}
|
|
9
|
-
{"level":"info","message":"Sending {\"event_type\":\"cypress_cli_stats\",\"data\":{\"os\":\"darwin\",\"os_version\":\"19.5.0\",\"bstack_json_found_in_pwd\":false,\"cypress_json_found_in_pwd\":false,\"cli_version\":\"1.1.6\",\"cli_path\":\"/Users/surya/.nvm/versions/node/v12.8.1/lib/node_modules\",\"npm_version\":\"6.10.2\",\"local_cypress_version\":\"Cypress package version: 4.2.0\\nCypress binary version: 4.2.0\",\"ci_environment\":null,\"event_timestamp\":\"3/2/2021, 9:09:59 PM\",\"data\":\"{}\",\"cli_args\":{\"args\":true},\"message\":\"local start error\",\"message_type\":\"error\",\"error_code\":\"local_start_error\"}} to http://127.0.0.1:8000/send_event_cy_internal","timestamp":"2021-03-02T15:39:59.005Z"}
|
|
10
|
-
{"level":"info","message":"{\"attempts\":1,\"statusCode\":200,\"body\":\"Bravo\"}","timestamp":"2021-03-02T15:39:59.071Z"}
|
|
11
|
-
{"level":"info","message":"Sending {\"event_type\":\"cypress_cli_stats\",\"data\":{\"os\":\"darwin\",\"os_version\":\"19.5.0\",\"bstack_json_found_in_pwd\":false,\"cypress_json_found_in_pwd\":false,\"cli_version\":\"1.1.6\",\"cli_path\":\"/Users/surya/.nvm/versions/node/v12.8.1/lib/node_modules\",\"npm_version\":\"6.10.2\",\"local_cypress_version\":\"Cypress package version: 4.2.0\\nCypress binary version: 4.2.0\",\"ci_environment\":null,\"event_timestamp\":\"3/2/2021, 9:15:45 PM\",\"data\":\"{}\",\"cli_args\":{\"args\":true},\"message\":\"local start error\",\"message_type\":\"error\",\"error_code\":\"local_start_error\"}} to http://127.0.0.1:8000/send_event_cy_internal","timestamp":"2021-03-02T15:45:45.742Z"}
|
|
12
|
-
{"level":"info","message":"{\"attempts\":1,\"statusCode\":200,\"body\":\"Bravo\"}","timestamp":"2021-03-02T15:45:45.766Z"}
|
|
13
|
-
{"level":"info","message":"Sending {\"event_type\":\"cypress_cli_stats\",\"data\":{\"os\":\"darwin\",\"os_version\":\"19.5.0\",\"bstack_json_found_in_pwd\":false,\"cypress_json_found_in_pwd\":false,\"cli_version\":\"1.1.6\",\"cli_path\":\"/Users/surya/.nvm/versions/node/v12.8.1/lib/node_modules\",\"npm_version\":\"6.10.2\",\"local_cypress_version\":\"Cypress package version: 4.2.0\\nCypress binary version: 4.2.0\",\"ci_environment\":null,\"event_timestamp\":\"3/2/2021, 9:21:09 PM\",\"data\":\"{}\",\"cli_args\":{\"args\":true},\"message\":\"local start error\",\"message_type\":\"error\",\"error_code\":\"local_start_error\"},\"team\":\"cypress\"} to http://127.0.0.1:8000/send_event_cy_internal","timestamp":"2021-03-02T15:51:09.731Z"}
|
|
14
|
-
{"level":"info","message":"{\"attempts\":1,\"statusCode\":200,\"body\":\"Bravo\"}","timestamp":"2021-03-02T15:51:09.770Z"}
|
|
15
|
-
{"level":"info","message":"Sending {\"event_type\":\"cypress_cli_stats\",\"data\":{\"os\":\"darwin\",\"os_version\":\"19.5.0\",\"bstack_json_found_in_pwd\":false,\"cypress_json_found_in_pwd\":false,\"cli_version\":\"1.1.6\",\"cli_path\":\"/Users/surya/.nvm/versions/node/v12.8.1/lib/node_modules\",\"npm_version\":\"6.10.2\",\"local_cypress_version\":\"Cypress package version: 4.2.0\\nCypress binary version: 4.2.0\",\"ci_environment\":null,\"event_timestamp\":\"3/3/2021, 11:29:16 AM\",\"data\":\"{}\",\"cli_args\":{\"args\":true},\"message\":\"local start error\",\"message_type\":\"error\",\"error_code\":\"local_start_error\"},\"team\":\"cypress\"} to http://127.0.0.1:8000/send_event_cy_internal","timestamp":"2021-03-03T05:59:16.758Z"}
|
|
16
|
-
{"level":"info","message":"{\"attempts\":1,\"statusCode\":200,\"body\":\"Bravo\"}","timestamp":"2021-03-03T05:59:16.783Z"}
|