browserstack-cypress-cli 1.32.8 → 1.34.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/.claude/settings.local.json +13 -0
- package/.nyc_output/1c1b6051-514d-4847-bd2a-d03b2d537cfb.json +1 -0
- package/.nyc_output/20afa9bb-5b9f-42e2-adfe-9dbf55591bb8.json +1 -0
- package/.nyc_output/22e511c5-8971-4265-b783-553560573bdc.json +1 -0
- package/.nyc_output/2d21e700-0ac9-4ac9-8f8c-322a5cbefe8d.json +1 -0
- package/.nyc_output/3c54171a-9bf6-478d-a4c0-28ec402806cf.json +1 -0
- package/.nyc_output/52675bfd-ff62-4f5b-944c-e3f48af2972c.json +1 -0
- package/.nyc_output/5766c03a-3d68-4298-89f7-c298c025e176.json +1 -0
- package/.nyc_output/625adc06-9859-4c11-8892-0498922cc2aa.json +1 -0
- package/.nyc_output/730f797e-97d0-44a8-b5d0-7fd3f8c06d75.json +1 -0
- package/.nyc_output/73501809-7c04-439e-8c09-9a1bff7962c6.json +1 -0
- package/.nyc_output/77484870-1b25-4c2d-a361-2ac51c0951bc.json +1 -0
- package/.nyc_output/8098fa2d-312d-4762-ad96-3e9827eaef09.json +1 -0
- package/.nyc_output/87357e21-685f-4861-9a6f-4c6b62f85ac0.json +1 -0
- package/.nyc_output/8fcd9f27-af41-43f7-bdf8-7bea2efd7abb.json +1 -0
- package/.nyc_output/9f8ad8fd-775b-4a99-ba77-c6142e7df5e9.json +1 -0
- package/.nyc_output/a1de1cdd-5eed-409d-a528-1c7cf16d56b5.json +1 -0
- package/.nyc_output/a25237ac-032d-4a27-af09-fb32326b539a.json +1 -0
- package/.nyc_output/a5d38a55-372c-4676-b4bc-c6def0669c0d.json +1 -0
- package/.nyc_output/a67d3cbf-0548-4fcb-8aad-2af60b532670.json +1 -0
- package/.nyc_output/aa2117b0-10c0-4f5b-9d8d-1f96375f0240.json +1 -0
- package/.nyc_output/ac17471f-3f16-45ab-b53e-ba8956afd5d4.json +1 -0
- package/.nyc_output/bbbe672a-8524-4850-b6b3-b725aa2b6c16.json +1 -0
- package/.nyc_output/c7289c09-7047-47cb-9737-f11fe7fc9628.json +1 -0
- package/.nyc_output/ceeeac29-3ca3-40af-b779-12c0408cf05d.json +1 -0
- package/.nyc_output/d08d37a4-6abc-41a7-98bd-de074a1fca7f.json +1 -0
- package/.nyc_output/d1dbecb0-8458-41bc-86c8-9d2470b60415.json +1 -0
- package/.nyc_output/d7245fa2-3732-4790-831b-44dbcba15a16.json +1 -0
- package/.nyc_output/e184572f-281b-4bd6-81e3-58842eac98ee.json +1 -0
- package/.nyc_output/efd98bd9-1699-472b-ab98-0808e5d39899.json +1 -0
- package/.nyc_output/processinfo/1c1b6051-514d-4847-bd2a-d03b2d537cfb.json +1 -0
- package/.nyc_output/processinfo/20afa9bb-5b9f-42e2-adfe-9dbf55591bb8.json +1 -0
- package/.nyc_output/processinfo/22e511c5-8971-4265-b783-553560573bdc.json +1 -0
- package/.nyc_output/processinfo/2d21e700-0ac9-4ac9-8f8c-322a5cbefe8d.json +1 -0
- package/.nyc_output/processinfo/3c54171a-9bf6-478d-a4c0-28ec402806cf.json +1 -0
- package/.nyc_output/processinfo/52675bfd-ff62-4f5b-944c-e3f48af2972c.json +1 -0
- package/.nyc_output/processinfo/5766c03a-3d68-4298-89f7-c298c025e176.json +1 -0
- package/.nyc_output/processinfo/625adc06-9859-4c11-8892-0498922cc2aa.json +1 -0
- package/.nyc_output/processinfo/730f797e-97d0-44a8-b5d0-7fd3f8c06d75.json +1 -0
- package/.nyc_output/processinfo/73501809-7c04-439e-8c09-9a1bff7962c6.json +1 -0
- package/.nyc_output/processinfo/77484870-1b25-4c2d-a361-2ac51c0951bc.json +1 -0
- package/.nyc_output/processinfo/8098fa2d-312d-4762-ad96-3e9827eaef09.json +1 -0
- package/.nyc_output/processinfo/87357e21-685f-4861-9a6f-4c6b62f85ac0.json +1 -0
- package/.nyc_output/processinfo/8fcd9f27-af41-43f7-bdf8-7bea2efd7abb.json +1 -0
- package/.nyc_output/processinfo/9f8ad8fd-775b-4a99-ba77-c6142e7df5e9.json +1 -0
- package/.nyc_output/processinfo/a1de1cdd-5eed-409d-a528-1c7cf16d56b5.json +1 -0
- package/.nyc_output/processinfo/a25237ac-032d-4a27-af09-fb32326b539a.json +1 -0
- package/.nyc_output/processinfo/a5d38a55-372c-4676-b4bc-c6def0669c0d.json +1 -0
- package/.nyc_output/processinfo/a67d3cbf-0548-4fcb-8aad-2af60b532670.json +1 -0
- package/.nyc_output/processinfo/aa2117b0-10c0-4f5b-9d8d-1f96375f0240.json +1 -0
- package/.nyc_output/processinfo/ac17471f-3f16-45ab-b53e-ba8956afd5d4.json +1 -0
- package/.nyc_output/processinfo/bbbe672a-8524-4850-b6b3-b725aa2b6c16.json +1 -0
- package/.nyc_output/processinfo/c7289c09-7047-47cb-9737-f11fe7fc9628.json +1 -0
- package/.nyc_output/processinfo/ceeeac29-3ca3-40af-b779-12c0408cf05d.json +1 -0
- package/.nyc_output/processinfo/d08d37a4-6abc-41a7-98bd-de074a1fca7f.json +1 -0
- package/.nyc_output/processinfo/d1dbecb0-8458-41bc-86c8-9d2470b60415.json +1 -0
- package/.nyc_output/processinfo/d7245fa2-3732-4790-831b-44dbcba15a16.json +1 -0
- package/.nyc_output/processinfo/e184572f-281b-4bd6-81e3-58842eac98ee.json +1 -0
- package/.nyc_output/processinfo/efd98bd9-1699-472b-ab98-0808e5d39899.json +1 -0
- package/.nyc_output/processinfo/index.json +1 -0
- package/bin/accessibility-automation/cypress/index.js +1 -1
- package/bin/accessibility-automation/helper.js +60 -32
- package/bin/commands/runs.js +10 -3
- package/bin/helpers/build.js +2 -0
- package/bin/helpers/capabilityHelper.js +7 -1
- package/bin/helpers/constants.js +22 -0
- package/bin/helpers/helper.js +2 -1
- package/bin/helpers/packageInstaller.js +3 -2
- package/bin/helpers/readCypressConfigUtil.js +133 -11
- package/bin/helpers/utils.js +241 -3
- package/bin/templates/configTemplate.js +2 -0
- package/bin/testObservability/crashReporter/index.js +2 -2
- package/bin/testObservability/cypress/index.js +194 -96
- package/bin/testObservability/helper/cleanupQueueSync.js +1 -2
- package/bin/testObservability/helper/constants.js +4 -0
- package/bin/testObservability/helper/helper.js +21 -22
- package/bin/testObservability/helper/requestQueueHandler.js +1 -1
- package/bin/testObservability/plugin/index.js +6 -0
- package/bin/testObservability/plugin/ipcServer.js +1 -1
- package/bin/testObservability/reporter/index.js +26 -18
- package/log/usage.log +393 -4
- package/package.json +6 -5
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":"5766c03a-3d68-4298-89f7-c298c025e176","pid":29161,"argv":["/Users/ritvik/.nvm/versions/node/v22.1.0/bin/node","/Users/ritvik/.nvm/versions/node/v22.1.0/bin/npm","root","-g"],"execArgv":[],"cwd":"/Users/ritvik/bscode/browserstack-cypress-cli","time":1755663879172,"ppid":29010,"coverageFilename":"/Users/ritvik/bscode/browserstack-cypress-cli/.nyc_output/1c1b6051-514d-4847-bd2a-d03b2d537cfb.json","externalId":"","uuid":"1c1b6051-514d-4847-bd2a-d03b2d537cfb","files":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":"a25237ac-032d-4a27-af09-fb32326b539a","pid":29276,"argv":["/Users/ritvik/.nvm/versions/node/v22.1.0/bin/node","/Users/ritvik/.nvm/versions/node/v22.1.0/bin/npm","--version"],"execArgv":[],"cwd":"/Users/ritvik/bscode/browserstack-cypress-cli","time":1755663882668,"ppid":29160,"coverageFilename":"/Users/ritvik/bscode/browserstack-cypress-cli/.nyc_output/20afa9bb-5b9f-42e2-adfe-9dbf55591bb8.json","externalId":"","uuid":"20afa9bb-5b9f-42e2-adfe-9dbf55591bb8","files":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":"a25237ac-032d-4a27-af09-fb32326b539a","pid":29169,"argv":["/Users/ritvik/.nvm/versions/node/v22.1.0/bin/node","/Users/ritvik/.nvm/versions/node/v22.1.0/bin/npm","root","-g"],"execArgv":[],"cwd":"/Users/ritvik/bscode/browserstack-cypress-cli","time":1755663879609,"ppid":29160,"coverageFilename":"/Users/ritvik/bscode/browserstack-cypress-cli/.nyc_output/22e511c5-8971-4265-b783-553560573bdc.json","externalId":"","uuid":"22e511c5-8971-4265-b783-553560573bdc","files":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":"a25237ac-032d-4a27-af09-fb32326b539a","pid":29232,"argv":["/Users/ritvik/.nvm/versions/node/v22.1.0/bin/node","/Users/ritvik/.nvm/versions/node/v22.1.0/bin/npm","--version"],"execArgv":[],"cwd":"/Users/ritvik/bscode/browserstack-cypress-cli","time":1755663880922,"ppid":29160,"coverageFilename":"/Users/ritvik/bscode/browserstack-cypress-cli/.nyc_output/2d21e700-0ac9-4ac9-8f8c-322a5cbefe8d.json","externalId":"","uuid":"2d21e700-0ac9-4ac9-8f8c-322a5cbefe8d","files":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":null,"pid":29144,"argv":["/Users/ritvik/.nvm/versions/node/v22.1.0/bin/node","/Users/ritvik/bscode/browserstack-cypress-cli/node_modules/.bin/nyc","mocha","test/**/*.js","--recursive","--timeout","60000","--exit","test/unit/bin/helpers/utils.js","--reporter=dot"],"execArgv":[],"cwd":"/Users/ritvik/bscode/browserstack-cypress-cli","time":1755663878010,"ppid":29099,"coverageFilename":"/Users/ritvik/bscode/browserstack-cypress-cli/.nyc_output/3c54171a-9bf6-478d-a4c0-28ec402806cf.json","externalId":"","uuid":"3c54171a-9bf6-478d-a4c0-28ec402806cf","files":["/Users/ritvik/bscode/browserstack-cypress-cli/bin/accessibility-automation/constants.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/accessibility-automation/cypress/index.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/accessibility-automation/helper.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/accessibility-automation/plugin/index.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/commands/generateDownloads.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/commands/generateReport.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/commands/info.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/commands/init.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/commands/runs.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/commands/stop.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/archiver.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/atsHelper.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/build.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/buildArtifacts.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/capabilityHelper.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/checkUploaded.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/config.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/constants.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/downloadBuildStacktrace.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/fileHelpers.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/getInitialDetails.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/hashUtil.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/helper.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/logger.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/package-diff.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/packageInstaller.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/readCypressConfigUtil.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/reporterHTML.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/requireModule.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/runnerArgs.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/sync/failedSpecsDetails.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/sync/specsSummary.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/sync/syncSpecsLogs.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/syncRunner.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/timeComponents.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/usageReporting.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/utils.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/zipUpload.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/runner.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/templates/configTemplate.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/testObservability/crashReporter/index.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/testObservability/cypress/index.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/testObservability/helper/cleanupQueueSync.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/testObservability/helper/constants.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/testObservability/helper/helper.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/testObservability/helper/requestQueueHandler.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/testObservability/plugin/index.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/testObservability/plugin/ipcClient.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/testObservability/plugin/ipcServer.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/testObservability/reporter/index.js"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":"a25237ac-032d-4a27-af09-fb32326b539a","pid":29269,"argv":["/Users/ritvik/.nvm/versions/node/v22.1.0/bin/node","/Users/ritvik/.nvm/versions/node/v22.1.0/bin/npm","root","-g"],"execArgv":[],"cwd":"/Users/ritvik/bscode/browserstack-cypress-cli","time":1755663882106,"ppid":29160,"coverageFilename":"/Users/ritvik/bscode/browserstack-cypress-cli/.nyc_output/52675bfd-ff62-4f5b-944c-e3f48af2972c.json","externalId":"","uuid":"52675bfd-ff62-4f5b-944c-e3f48af2972c","files":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":null,"pid":29010,"argv":["/Users/ritvik/.nvm/versions/node/v22.1.0/bin/node","/Users/ritvik/bscode/browserstack-cypress-cli/node_modules/.bin/mocha","test/**/*.js","--recursive","--timeout","60000","--exit"],"execArgv":[],"cwd":"/Users/ritvik/bscode/browserstack-cypress-cli","time":1755663875516,"ppid":28995,"coverageFilename":"/Users/ritvik/bscode/browserstack-cypress-cli/.nyc_output/5766c03a-3d68-4298-89f7-c298c025e176.json","externalId":"","uuid":"5766c03a-3d68-4298-89f7-c298c025e176","files":["/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/buildArtifacts.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/logger.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/utils.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/helper.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/readCypressConfigUtil.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/config.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/constants.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/testObservability/crashReporter/index.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/testObservability/helper/constants.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/usageReporting.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/atsHelper.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/fileHelpers.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/testObservability/helper/helper.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/runnerArgs.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/commands/init.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/capabilityHelper.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/getInitialDetails.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/hashUtil.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/packageInstaller.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/reporterHTML.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/sync/failedSpecsDetails.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/sync/specsSummary.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/sync/syncSpecsLogs.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/timeComponents.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/zipUpload.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/commands/generateDownloads.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/commands/generateReport.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/commands/info.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/templates/configTemplate.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/commands/runs.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/archiver.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/build.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/syncRunner.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/checkUploaded.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/downloadBuildStacktrace.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/package-diff.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/accessibility-automation/helper.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/accessibility-automation/constants.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/commands/stop.js"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":"5766c03a-3d68-4298-89f7-c298c025e176","pid":29155,"argv":["/Users/ritvik/.nvm/versions/node/v22.1.0/bin/node","/Users/ritvik/.nvm/versions/node/v22.1.0/bin/npm","--version"],"execArgv":[],"cwd":"/Users/ritvik/bscode/browserstack-cypress-cli","time":1755663878854,"ppid":29010,"coverageFilename":"/Users/ritvik/bscode/browserstack-cypress-cli/.nyc_output/625adc06-9859-4c11-8892-0498922cc2aa.json","externalId":"","uuid":"625adc06-9859-4c11-8892-0498922cc2aa","files":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":"a25237ac-032d-4a27-af09-fb32326b539a","pid":29238,"argv":["/Users/ritvik/.nvm/versions/node/v22.1.0/bin/node","/Users/ritvik/.nvm/versions/node/v22.1.0/bin/npm","--version"],"execArgv":[],"cwd":"/Users/ritvik/bscode/browserstack-cypress-cli","time":1755663881375,"ppid":29160,"coverageFilename":"/Users/ritvik/bscode/browserstack-cypress-cli/.nyc_output/730f797e-97d0-44a8-b5d0-7fd3f8c06d75.json","externalId":"","uuid":"730f797e-97d0-44a8-b5d0-7fd3f8c06d75","files":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":"5766c03a-3d68-4298-89f7-c298c025e176","pid":29163,"argv":["/Users/ritvik/.nvm/versions/node/v22.1.0/bin/node","/Users/ritvik/.nvm/versions/node/v22.1.0/bin/npm","--version"],"execArgv":[],"cwd":"/Users/ritvik/bscode/browserstack-cypress-cli","time":1755663879344,"ppid":29010,"coverageFilename":"/Users/ritvik/bscode/browserstack-cypress-cli/.nyc_output/73501809-7c04-439e-8c09-9a1bff7962c6.json","externalId":"","uuid":"73501809-7c04-439e-8c09-9a1bff7962c6","files":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":"5766c03a-3d68-4298-89f7-c298c025e176","pid":29159,"argv":["/Users/ritvik/.nvm/versions/node/v22.1.0/bin/node","/usr/local/bin/browserstack-cypress","--version"],"execArgv":[],"cwd":"/Users/ritvik/bscode/browserstack-cypress-cli","time":1755663879057,"ppid":29010,"coverageFilename":"/Users/ritvik/bscode/browserstack-cypress-cli/.nyc_output/77484870-1b25-4c2d-a361-2ac51c0951bc.json","externalId":"","uuid":"77484870-1b25-4c2d-a361-2ac51c0951bc","files":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":"5766c03a-3d68-4298-89f7-c298c025e176","pid":29166,"argv":["/Users/ritvik/.nvm/versions/node/v22.1.0/bin/node","/Users/ritvik/.nvm/versions/node/v22.1.0/bin/npm","--version"],"execArgv":[],"cwd":"/Users/ritvik/bscode/browserstack-cypress-cli","time":1755663879533,"ppid":29010,"coverageFilename":"/Users/ritvik/bscode/browserstack-cypress-cli/.nyc_output/8098fa2d-312d-4762-ad96-3e9827eaef09.json","externalId":"","uuid":"8098fa2d-312d-4762-ad96-3e9827eaef09","files":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":"a25237ac-032d-4a27-af09-fb32326b539a","pid":29206,"argv":["/Users/ritvik/.nvm/versions/node/v22.1.0/bin/node","/usr/local/bin/browserstack-cypress","--version"],"execArgv":[],"cwd":"/Users/ritvik/bscode/browserstack-cypress-cli","time":1755663880644,"ppid":29160,"coverageFilename":"/Users/ritvik/bscode/browserstack-cypress-cli/.nyc_output/87357e21-685f-4861-9a6f-4c6b62f85ac0.json","externalId":"","uuid":"87357e21-685f-4861-9a6f-4c6b62f85ac0","files":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":"5766c03a-3d68-4298-89f7-c298c025e176","pid":29153,"argv":["/Users/ritvik/.nvm/versions/node/v22.1.0/bin/node","/usr/local/bin/browserstack-cypress","--version"],"execArgv":[],"cwd":"/Users/ritvik/bscode/browserstack-cypress-cli","time":1755663878527,"ppid":29010,"coverageFilename":"/Users/ritvik/bscode/browserstack-cypress-cli/.nyc_output/8fcd9f27-af41-43f7-bdf8-7bea2efd7abb.json","externalId":"","uuid":"8fcd9f27-af41-43f7-bdf8-7bea2efd7abb","files":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":"a25237ac-032d-4a27-af09-fb32326b539a","pid":29237,"argv":["/Users/ritvik/.nvm/versions/node/v22.1.0/bin/node","/Users/ritvik/.nvm/versions/node/v22.1.0/bin/npm","root","-g"],"execArgv":[],"cwd":"/Users/ritvik/bscode/browserstack-cypress-cli","time":1755663881219,"ppid":29160,"coverageFilename":"/Users/ritvik/bscode/browserstack-cypress-cli/.nyc_output/9f8ad8fd-775b-4a99-ba77-c6142e7df5e9.json","externalId":"","uuid":"9f8ad8fd-775b-4a99-ba77-c6142e7df5e9","files":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":"a25237ac-032d-4a27-af09-fb32326b539a","pid":29245,"argv":["/Users/ritvik/.nvm/versions/node/v22.1.0/bin/node","/Users/ritvik/.nvm/versions/node/v22.1.0/bin/npm","root","-g"],"execArgv":[],"cwd":"/Users/ritvik/bscode/browserstack-cypress-cli","time":1755663881672,"ppid":29160,"coverageFilename":"/Users/ritvik/bscode/browserstack-cypress-cli/.nyc_output/a1de1cdd-5eed-409d-a528-1c7cf16d56b5.json","externalId":"","uuid":"a1de1cdd-5eed-409d-a528-1c7cf16d56b5","files":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":null,"pid":29160,"argv":["/Users/ritvik/.nvm/versions/node/v22.1.0/bin/node","/Users/ritvik/bscode/browserstack-cypress-cli/node_modules/.bin/mocha","test/**/*.js","--recursive","--timeout","60000","--exit","test/unit/bin/helpers/utils.js","--reporter=dot"],"execArgv":[],"cwd":"/Users/ritvik/bscode/browserstack-cypress-cli","time":1755663879158,"ppid":29144,"coverageFilename":"/Users/ritvik/bscode/browserstack-cypress-cli/.nyc_output/a25237ac-032d-4a27-af09-fb32326b539a.json","externalId":"","uuid":"a25237ac-032d-4a27-af09-fb32326b539a","files":["/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/buildArtifacts.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/logger.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/utils.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/helper.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/readCypressConfigUtil.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/config.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/constants.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/testObservability/crashReporter/index.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/testObservability/helper/constants.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/usageReporting.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/atsHelper.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/fileHelpers.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/testObservability/helper/helper.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/runnerArgs.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/commands/init.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/capabilityHelper.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/getInitialDetails.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/hashUtil.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/packageInstaller.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/reporterHTML.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/sync/failedSpecsDetails.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/sync/specsSummary.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/sync/syncSpecsLogs.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/timeComponents.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/zipUpload.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/commands/generateDownloads.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/commands/generateReport.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/commands/info.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/templates/configTemplate.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/commands/runs.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/archiver.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/build.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/syncRunner.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/checkUploaded.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/downloadBuildStacktrace.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/package-diff.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/accessibility-automation/helper.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/accessibility-automation/constants.js","/Users/ritvik/bscode/browserstack-cypress-cli/bin/commands/stop.js"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":"a25237ac-032d-4a27-af09-fb32326b539a","pid":29246,"argv":["/Users/ritvik/.nvm/versions/node/v22.1.0/bin/node","/Users/ritvik/.nvm/versions/node/v22.1.0/bin/npm","--version"],"execArgv":[],"cwd":"/Users/ritvik/bscode/browserstack-cypress-cli","time":1755663881824,"ppid":29160,"coverageFilename":"/Users/ritvik/bscode/browserstack-cypress-cli/.nyc_output/a5d38a55-372c-4676-b4bc-c6def0669c0d.json","externalId":"","uuid":"a5d38a55-372c-4676-b4bc-c6def0669c0d","files":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":"5766c03a-3d68-4298-89f7-c298c025e176","pid":29170,"argv":["/Users/ritvik/.nvm/versions/node/v22.1.0/bin/node","/Users/ritvik/.nvm/versions/node/v22.1.0/bin/npm","--version"],"execArgv":[],"cwd":"/Users/ritvik/bscode/browserstack-cypress-cli","time":1755663879706,"ppid":29010,"coverageFilename":"/Users/ritvik/bscode/browserstack-cypress-cli/.nyc_output/a67d3cbf-0548-4fcb-8aad-2af60b532670.json","externalId":"","uuid":"a67d3cbf-0548-4fcb-8aad-2af60b532670","files":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":"a25237ac-032d-4a27-af09-fb32326b539a","pid":29236,"argv":["/Users/ritvik/.nvm/versions/node/v22.1.0/bin/node","/usr/local/bin/browserstack-cypress","--version"],"execArgv":[],"cwd":"/Users/ritvik/bscode/browserstack-cypress-cli","time":1755663881104,"ppid":29160,"coverageFilename":"/Users/ritvik/bscode/browserstack-cypress-cli/.nyc_output/aa2117b0-10c0-4f5b-9d8d-1f96375f0240.json","externalId":"","uuid":"aa2117b0-10c0-4f5b-9d8d-1f96375f0240","files":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":"5766c03a-3d68-4298-89f7-c298c025e176","pid":29154,"argv":["/Users/ritvik/.nvm/versions/node/v22.1.0/bin/node","/Users/ritvik/.nvm/versions/node/v22.1.0/bin/npm","root","-g"],"execArgv":[],"cwd":"/Users/ritvik/bscode/browserstack-cypress-cli","time":1755663878659,"ppid":29010,"coverageFilename":"/Users/ritvik/bscode/browserstack-cypress-cli/.nyc_output/ac17471f-3f16-45ab-b53e-ba8956afd5d4.json","externalId":"","uuid":"ac17471f-3f16-45ab-b53e-ba8956afd5d4","files":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":"5766c03a-3d68-4298-89f7-c298c025e176","pid":29151,"argv":["/Users/ritvik/.nvm/versions/node/v22.1.0/bin/node","/Users/ritvik/.nvm/versions/node/v22.1.0/bin/npm","--version"],"execArgv":[],"cwd":"/Users/ritvik/bscode/browserstack-cypress-cli","time":1755663878335,"ppid":29010,"coverageFilename":"/Users/ritvik/bscode/browserstack-cypress-cli/.nyc_output/bbbe672a-8524-4850-b6b3-b725aa2b6c16.json","externalId":"","uuid":"bbbe672a-8524-4850-b6b3-b725aa2b6c16","files":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":"a25237ac-032d-4a27-af09-fb32326b539a","pid":29216,"argv":["/Users/ritvik/.nvm/versions/node/v22.1.0/bin/node","/Users/ritvik/.nvm/versions/node/v22.1.0/bin/npm","root","-g"],"execArgv":[],"cwd":"/Users/ritvik/bscode/browserstack-cypress-cli","time":1755663880763,"ppid":29160,"coverageFilename":"/Users/ritvik/bscode/browserstack-cypress-cli/.nyc_output/c7289c09-7047-47cb-9737-f11fe7fc9628.json","externalId":"","uuid":"c7289c09-7047-47cb-9737-f11fe7fc9628","files":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":"5766c03a-3d68-4298-89f7-c298c025e176","pid":29145,"argv":["/Users/ritvik/.nvm/versions/node/v22.1.0/bin/node","/Users/ritvik/.nvm/versions/node/v22.1.0/bin/npm","--version"],"execArgv":[],"cwd":"/Users/ritvik/bscode/browserstack-cypress-cli","time":1755663877984,"ppid":29010,"coverageFilename":"/Users/ritvik/bscode/browserstack-cypress-cli/.nyc_output/ceeeac29-3ca3-40af-b779-12c0408cf05d.json","externalId":"","uuid":"ceeeac29-3ca3-40af-b779-12c0408cf05d","files":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":"a25237ac-032d-4a27-af09-fb32326b539a","pid":29268,"argv":["/Users/ritvik/.nvm/versions/node/v22.1.0/bin/node","/usr/local/bin/browserstack-cypress","--version"],"execArgv":[],"cwd":"/Users/ritvik/bscode/browserstack-cypress-cli","time":1755663881995,"ppid":29160,"coverageFilename":"/Users/ritvik/bscode/browserstack-cypress-cli/.nyc_output/d08d37a4-6abc-41a7-98bd-de074a1fca7f.json","externalId":"","uuid":"d08d37a4-6abc-41a7-98bd-de074a1fca7f","files":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":"a25237ac-032d-4a27-af09-fb32326b539a","pid":29242,"argv":["/Users/ritvik/.nvm/versions/node/v22.1.0/bin/node","/usr/local/bin/browserstack-cypress","--version"],"execArgv":[],"cwd":"/Users/ritvik/bscode/browserstack-cypress-cli","time":1755663881558,"ppid":29160,"coverageFilename":"/Users/ritvik/bscode/browserstack-cypress-cli/.nyc_output/d1dbecb0-8458-41bc-86c8-9d2470b60415.json","externalId":"","uuid":"d1dbecb0-8458-41bc-86c8-9d2470b60415","files":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":"a25237ac-032d-4a27-af09-fb32326b539a","pid":29277,"argv":["/Users/ritvik/.nvm/versions/node/v22.1.0/bin/node","/Users/ritvik/.nvm/versions/node/v22.1.0/bin/npm","--version"],"execArgv":[],"cwd":"/Users/ritvik/bscode/browserstack-cypress-cli","time":1755663882818,"ppid":29160,"coverageFilename":"/Users/ritvik/bscode/browserstack-cypress-cli/.nyc_output/d7245fa2-3732-4790-831b-44dbcba15a16.json","externalId":"","uuid":"d7245fa2-3732-4790-831b-44dbcba15a16","files":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":"a25237ac-032d-4a27-af09-fb32326b539a","pid":29273,"argv":["/Users/ritvik/.nvm/versions/node/v22.1.0/bin/node","/Users/ritvik/.nvm/versions/node/v22.1.0/bin/npm","--version"],"execArgv":[],"cwd":"/Users/ritvik/bscode/browserstack-cypress-cli","time":1755663882511,"ppid":29160,"coverageFilename":"/Users/ritvik/bscode/browserstack-cypress-cli/.nyc_output/e184572f-281b-4bd6-81e3-58842eac98ee.json","externalId":"","uuid":"e184572f-281b-4bd6-81e3-58842eac98ee","files":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":"a25237ac-032d-4a27-af09-fb32326b539a","pid":29270,"argv":["/Users/ritvik/.nvm/versions/node/v22.1.0/bin/node","/Users/ritvik/.nvm/versions/node/v22.1.0/bin/npm","--version"],"execArgv":[],"cwd":"/Users/ritvik/bscode/browserstack-cypress-cli","time":1755663882253,"ppid":29160,"coverageFilename":"/Users/ritvik/bscode/browserstack-cypress-cli/.nyc_output/efd98bd9-1699-472b-ab98-0808e5d39899.json","externalId":"","uuid":"efd98bd9-1699-472b-ab98-0808e5d39899","files":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"processes":{"1c1b6051-514d-4847-bd2a-d03b2d537cfb":{"parent":"5766c03a-3d68-4298-89f7-c298c025e176","children":[]},"20afa9bb-5b9f-42e2-adfe-9dbf55591bb8":{"parent":"a25237ac-032d-4a27-af09-fb32326b539a","children":[]},"22e511c5-8971-4265-b783-553560573bdc":{"parent":"a25237ac-032d-4a27-af09-fb32326b539a","children":[]},"2d21e700-0ac9-4ac9-8f8c-322a5cbefe8d":{"parent":"a25237ac-032d-4a27-af09-fb32326b539a","children":[]},"3c54171a-9bf6-478d-a4c0-28ec402806cf":{"parent":null,"children":[]},"52675bfd-ff62-4f5b-944c-e3f48af2972c":{"parent":"a25237ac-032d-4a27-af09-fb32326b539a","children":[]},"5766c03a-3d68-4298-89f7-c298c025e176":{"parent":null,"children":["1c1b6051-514d-4847-bd2a-d03b2d537cfb","625adc06-9859-4c11-8892-0498922cc2aa","73501809-7c04-439e-8c09-9a1bff7962c6","77484870-1b25-4c2d-a361-2ac51c0951bc","8098fa2d-312d-4762-ad96-3e9827eaef09","8fcd9f27-af41-43f7-bdf8-7bea2efd7abb","a67d3cbf-0548-4fcb-8aad-2af60b532670","ac17471f-3f16-45ab-b53e-ba8956afd5d4","bbbe672a-8524-4850-b6b3-b725aa2b6c16","ceeeac29-3ca3-40af-b779-12c0408cf05d"]},"625adc06-9859-4c11-8892-0498922cc2aa":{"parent":"5766c03a-3d68-4298-89f7-c298c025e176","children":[]},"730f797e-97d0-44a8-b5d0-7fd3f8c06d75":{"parent":"a25237ac-032d-4a27-af09-fb32326b539a","children":[]},"73501809-7c04-439e-8c09-9a1bff7962c6":{"parent":"5766c03a-3d68-4298-89f7-c298c025e176","children":[]},"77484870-1b25-4c2d-a361-2ac51c0951bc":{"parent":"5766c03a-3d68-4298-89f7-c298c025e176","children":[]},"8098fa2d-312d-4762-ad96-3e9827eaef09":{"parent":"5766c03a-3d68-4298-89f7-c298c025e176","children":[]},"87357e21-685f-4861-9a6f-4c6b62f85ac0":{"parent":"a25237ac-032d-4a27-af09-fb32326b539a","children":[]},"8fcd9f27-af41-43f7-bdf8-7bea2efd7abb":{"parent":"5766c03a-3d68-4298-89f7-c298c025e176","children":[]},"9f8ad8fd-775b-4a99-ba77-c6142e7df5e9":{"parent":"a25237ac-032d-4a27-af09-fb32326b539a","children":[]},"a1de1cdd-5eed-409d-a528-1c7cf16d56b5":{"parent":"a25237ac-032d-4a27-af09-fb32326b539a","children":[]},"a25237ac-032d-4a27-af09-fb32326b539a":{"parent":null,"children":["20afa9bb-5b9f-42e2-adfe-9dbf55591bb8","22e511c5-8971-4265-b783-553560573bdc","2d21e700-0ac9-4ac9-8f8c-322a5cbefe8d","52675bfd-ff62-4f5b-944c-e3f48af2972c","730f797e-97d0-44a8-b5d0-7fd3f8c06d75","87357e21-685f-4861-9a6f-4c6b62f85ac0","9f8ad8fd-775b-4a99-ba77-c6142e7df5e9","a1de1cdd-5eed-409d-a528-1c7cf16d56b5","a5d38a55-372c-4676-b4bc-c6def0669c0d","aa2117b0-10c0-4f5b-9d8d-1f96375f0240","c7289c09-7047-47cb-9737-f11fe7fc9628","d08d37a4-6abc-41a7-98bd-de074a1fca7f","d1dbecb0-8458-41bc-86c8-9d2470b60415","d7245fa2-3732-4790-831b-44dbcba15a16","e184572f-281b-4bd6-81e3-58842eac98ee","efd98bd9-1699-472b-ab98-0808e5d39899"]},"a5d38a55-372c-4676-b4bc-c6def0669c0d":{"parent":"a25237ac-032d-4a27-af09-fb32326b539a","children":[]},"a67d3cbf-0548-4fcb-8aad-2af60b532670":{"parent":"5766c03a-3d68-4298-89f7-c298c025e176","children":[]},"aa2117b0-10c0-4f5b-9d8d-1f96375f0240":{"parent":"a25237ac-032d-4a27-af09-fb32326b539a","children":[]},"ac17471f-3f16-45ab-b53e-ba8956afd5d4":{"parent":"5766c03a-3d68-4298-89f7-c298c025e176","children":[]},"bbbe672a-8524-4850-b6b3-b725aa2b6c16":{"parent":"5766c03a-3d68-4298-89f7-c298c025e176","children":[]},"c7289c09-7047-47cb-9737-f11fe7fc9628":{"parent":"a25237ac-032d-4a27-af09-fb32326b539a","children":[]},"ceeeac29-3ca3-40af-b779-12c0408cf05d":{"parent":"5766c03a-3d68-4298-89f7-c298c025e176","children":[]},"d08d37a4-6abc-41a7-98bd-de074a1fca7f":{"parent":"a25237ac-032d-4a27-af09-fb32326b539a","children":[]},"d1dbecb0-8458-41bc-86c8-9d2470b60415":{"parent":"a25237ac-032d-4a27-af09-fb32326b539a","children":[]},"d7245fa2-3732-4790-831b-44dbcba15a16":{"parent":"a25237ac-032d-4a27-af09-fb32326b539a","children":[]},"e184572f-281b-4bd6-81e3-58842eac98ee":{"parent":"a25237ac-032d-4a27-af09-fb32326b539a","children":[]},"efd98bd9-1699-472b-ab98-0808e5d39899":{"parent":"a25237ac-032d-4a27-af09-fb32326b539a","children":[]}},"files":{"/Users/ritvik/bscode/browserstack-cypress-cli/bin/accessibility-automation/constants.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf","5766c03a-3d68-4298-89f7-c298c025e176","a25237ac-032d-4a27-af09-fb32326b539a"],"/Users/ritvik/bscode/browserstack-cypress-cli/bin/accessibility-automation/cypress/index.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf"],"/Users/ritvik/bscode/browserstack-cypress-cli/bin/accessibility-automation/helper.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf","5766c03a-3d68-4298-89f7-c298c025e176","a25237ac-032d-4a27-af09-fb32326b539a"],"/Users/ritvik/bscode/browserstack-cypress-cli/bin/accessibility-automation/plugin/index.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf"],"/Users/ritvik/bscode/browserstack-cypress-cli/bin/commands/generateDownloads.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf","5766c03a-3d68-4298-89f7-c298c025e176","a25237ac-032d-4a27-af09-fb32326b539a"],"/Users/ritvik/bscode/browserstack-cypress-cli/bin/commands/generateReport.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf","5766c03a-3d68-4298-89f7-c298c025e176","a25237ac-032d-4a27-af09-fb32326b539a"],"/Users/ritvik/bscode/browserstack-cypress-cli/bin/commands/info.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf","5766c03a-3d68-4298-89f7-c298c025e176","a25237ac-032d-4a27-af09-fb32326b539a"],"/Users/ritvik/bscode/browserstack-cypress-cli/bin/commands/init.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf","5766c03a-3d68-4298-89f7-c298c025e176","a25237ac-032d-4a27-af09-fb32326b539a"],"/Users/ritvik/bscode/browserstack-cypress-cli/bin/commands/runs.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf","5766c03a-3d68-4298-89f7-c298c025e176","a25237ac-032d-4a27-af09-fb32326b539a"],"/Users/ritvik/bscode/browserstack-cypress-cli/bin/commands/stop.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf","5766c03a-3d68-4298-89f7-c298c025e176","a25237ac-032d-4a27-af09-fb32326b539a"],"/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/archiver.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf","5766c03a-3d68-4298-89f7-c298c025e176","a25237ac-032d-4a27-af09-fb32326b539a"],"/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/atsHelper.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf","5766c03a-3d68-4298-89f7-c298c025e176","a25237ac-032d-4a27-af09-fb32326b539a"],"/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/build.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf","5766c03a-3d68-4298-89f7-c298c025e176","a25237ac-032d-4a27-af09-fb32326b539a"],"/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/buildArtifacts.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf","5766c03a-3d68-4298-89f7-c298c025e176","a25237ac-032d-4a27-af09-fb32326b539a"],"/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/capabilityHelper.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf","5766c03a-3d68-4298-89f7-c298c025e176","a25237ac-032d-4a27-af09-fb32326b539a"],"/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/checkUploaded.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf","5766c03a-3d68-4298-89f7-c298c025e176","a25237ac-032d-4a27-af09-fb32326b539a"],"/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/config.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf","5766c03a-3d68-4298-89f7-c298c025e176","a25237ac-032d-4a27-af09-fb32326b539a"],"/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/constants.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf","5766c03a-3d68-4298-89f7-c298c025e176","a25237ac-032d-4a27-af09-fb32326b539a"],"/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/downloadBuildStacktrace.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf","5766c03a-3d68-4298-89f7-c298c025e176","a25237ac-032d-4a27-af09-fb32326b539a"],"/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/fileHelpers.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf","5766c03a-3d68-4298-89f7-c298c025e176","a25237ac-032d-4a27-af09-fb32326b539a"],"/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/getInitialDetails.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf","5766c03a-3d68-4298-89f7-c298c025e176","a25237ac-032d-4a27-af09-fb32326b539a"],"/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/hashUtil.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf","5766c03a-3d68-4298-89f7-c298c025e176","a25237ac-032d-4a27-af09-fb32326b539a"],"/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/helper.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf","5766c03a-3d68-4298-89f7-c298c025e176","a25237ac-032d-4a27-af09-fb32326b539a"],"/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/logger.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf","5766c03a-3d68-4298-89f7-c298c025e176","a25237ac-032d-4a27-af09-fb32326b539a"],"/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/package-diff.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf","5766c03a-3d68-4298-89f7-c298c025e176","a25237ac-032d-4a27-af09-fb32326b539a"],"/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/packageInstaller.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf","5766c03a-3d68-4298-89f7-c298c025e176","a25237ac-032d-4a27-af09-fb32326b539a"],"/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/readCypressConfigUtil.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf","5766c03a-3d68-4298-89f7-c298c025e176","a25237ac-032d-4a27-af09-fb32326b539a"],"/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/reporterHTML.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf","5766c03a-3d68-4298-89f7-c298c025e176","a25237ac-032d-4a27-af09-fb32326b539a"],"/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/requireModule.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf"],"/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/runnerArgs.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf","5766c03a-3d68-4298-89f7-c298c025e176","a25237ac-032d-4a27-af09-fb32326b539a"],"/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/sync/failedSpecsDetails.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf","5766c03a-3d68-4298-89f7-c298c025e176","a25237ac-032d-4a27-af09-fb32326b539a"],"/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/sync/specsSummary.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf","5766c03a-3d68-4298-89f7-c298c025e176","a25237ac-032d-4a27-af09-fb32326b539a"],"/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/sync/syncSpecsLogs.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf","5766c03a-3d68-4298-89f7-c298c025e176","a25237ac-032d-4a27-af09-fb32326b539a"],"/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/syncRunner.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf","5766c03a-3d68-4298-89f7-c298c025e176","a25237ac-032d-4a27-af09-fb32326b539a"],"/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/timeComponents.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf","5766c03a-3d68-4298-89f7-c298c025e176","a25237ac-032d-4a27-af09-fb32326b539a"],"/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/usageReporting.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf","5766c03a-3d68-4298-89f7-c298c025e176","a25237ac-032d-4a27-af09-fb32326b539a"],"/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/utils.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf","5766c03a-3d68-4298-89f7-c298c025e176","a25237ac-032d-4a27-af09-fb32326b539a"],"/Users/ritvik/bscode/browserstack-cypress-cli/bin/helpers/zipUpload.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf","5766c03a-3d68-4298-89f7-c298c025e176","a25237ac-032d-4a27-af09-fb32326b539a"],"/Users/ritvik/bscode/browserstack-cypress-cli/bin/runner.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf"],"/Users/ritvik/bscode/browserstack-cypress-cli/bin/templates/configTemplate.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf","5766c03a-3d68-4298-89f7-c298c025e176","a25237ac-032d-4a27-af09-fb32326b539a"],"/Users/ritvik/bscode/browserstack-cypress-cli/bin/testObservability/crashReporter/index.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf","5766c03a-3d68-4298-89f7-c298c025e176","a25237ac-032d-4a27-af09-fb32326b539a"],"/Users/ritvik/bscode/browserstack-cypress-cli/bin/testObservability/cypress/index.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf"],"/Users/ritvik/bscode/browserstack-cypress-cli/bin/testObservability/helper/cleanupQueueSync.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf"],"/Users/ritvik/bscode/browserstack-cypress-cli/bin/testObservability/helper/constants.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf","5766c03a-3d68-4298-89f7-c298c025e176","a25237ac-032d-4a27-af09-fb32326b539a"],"/Users/ritvik/bscode/browserstack-cypress-cli/bin/testObservability/helper/helper.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf","5766c03a-3d68-4298-89f7-c298c025e176","a25237ac-032d-4a27-af09-fb32326b539a"],"/Users/ritvik/bscode/browserstack-cypress-cli/bin/testObservability/helper/requestQueueHandler.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf"],"/Users/ritvik/bscode/browserstack-cypress-cli/bin/testObservability/plugin/index.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf"],"/Users/ritvik/bscode/browserstack-cypress-cli/bin/testObservability/plugin/ipcClient.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf"],"/Users/ritvik/bscode/browserstack-cypress-cli/bin/testObservability/plugin/ipcServer.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf"],"/Users/ritvik/bscode/browserstack-cypress-cli/bin/testObservability/reporter/index.js":["3c54171a-9bf6-478d-a4c0-28ec402806cf"]},"externalIds":{}}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
const browserStackLog = (message) => {
|
|
4
4
|
if (!Cypress.env('BROWSERSTACK_LOGS')) return;
|
|
5
5
|
cy.task('browserstack_log', message);
|
|
6
|
-
|
|
6
|
+
}
|
|
7
7
|
|
|
8
8
|
const commandsToWrap = ['visit', 'click', 'type', 'request', 'dblclick', 'rightclick', 'clear', 'check', 'uncheck', 'select', 'trigger', 'selectFile', 'scrollIntoView', 'scroll', 'scrollTo', 'blur', 'focus', 'go', 'reload', 'submit', 'viewport', 'origin'];
|
|
9
9
|
// scroll is not a default function in cypress.
|
|
@@ -21,7 +21,7 @@ exports.checkAccessibilityPlatform = (user_config) => {
|
|
|
21
21
|
}
|
|
22
22
|
})
|
|
23
23
|
} catch {}
|
|
24
|
-
|
|
24
|
+
|
|
25
25
|
return accessibility;
|
|
26
26
|
}
|
|
27
27
|
|
|
@@ -109,39 +109,37 @@ exports.createAccessibilityTestRun = async (user_config, framework) => {
|
|
|
109
109
|
logger.debug(`BrowserStack Accessibility Automation Test Run ID: ${response.data.data.id}`);
|
|
110
110
|
|
|
111
111
|
this.setAccessibilityCypressCapabilities(user_config, response.data);
|
|
112
|
-
helper.setBrowserstackCypressCliDependency(user_config);
|
|
112
|
+
if(user_config.run_settings.auto_import_dev_dependencies != true) helper.setBrowserstackCypressCliDependency(user_config);
|
|
113
113
|
|
|
114
114
|
} catch (error) {
|
|
115
115
|
if (error.response) {
|
|
116
|
-
logger.error("Incorrect Cred")
|
|
116
|
+
logger.error("Incorrect Cred");
|
|
117
117
|
logger.error(
|
|
118
118
|
`Exception while creating test run for BrowserStack Accessibility Automation: ${
|
|
119
119
|
error.response.status
|
|
120
|
-
} ${error.response.statusText} ${JSON.stringify(error.response.data)}
|
|
120
|
+
} ${error.response.statusText} ${JSON.stringify(error.response.data)}
|
|
121
|
+
`
|
|
121
122
|
);
|
|
122
|
-
} else {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
logger.error(errorkey.message);
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
} else {
|
|
135
|
-
logger.error(
|
|
136
|
-
`Exception while creating test run for BrowserStack Accessibility Automation: ${
|
|
137
|
-
error.message || error.stack
|
|
138
|
-
}`
|
|
139
|
-
);
|
|
123
|
+
} else if (error.message === 'Invalid configuration passed.') {
|
|
124
|
+
logger.error("Invalid configuration passed.");
|
|
125
|
+
logger.error(
|
|
126
|
+
`Exception while creating test run for BrowserStack Accessibility Automation: ${
|
|
127
|
+
error.message || error.stack
|
|
128
|
+
}`
|
|
129
|
+
);
|
|
130
|
+
for (const errorkey of error.errors) {
|
|
131
|
+
logger.error(errorkey.message);
|
|
140
132
|
}
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
133
|
+
} else {
|
|
134
|
+
logger.error(
|
|
135
|
+
`Exception while creating test run for BrowserStack Accessibility Automation: ${
|
|
136
|
+
error.message || error.stack
|
|
137
|
+
}`
|
|
138
|
+
);
|
|
144
139
|
}
|
|
140
|
+
// since create accessibility session failed
|
|
141
|
+
process.env.BROWSERSTACK_TEST_ACCESSIBILITY = 'false';
|
|
142
|
+
user_config.run_settings.accessibility = false;
|
|
145
143
|
}
|
|
146
144
|
}
|
|
147
145
|
|
|
@@ -216,22 +214,52 @@ const getAccessibilityCypressCommandEventListener = (extName) => {
|
|
|
216
214
|
|
|
217
215
|
exports.setAccessibilityEventListeners = (bsConfig) => {
|
|
218
216
|
try {
|
|
219
|
-
|
|
217
|
+
|
|
220
218
|
const supportFilesData = helper.getSupportFiles(bsConfig, true);
|
|
221
219
|
if(!supportFilesData.supportFile) return;
|
|
222
|
-
|
|
223
|
-
|
|
220
|
+
|
|
221
|
+
const isPattern = glob.hasMagic(supportFilesData.supportFile);
|
|
222
|
+
if(!isPattern) {
|
|
223
|
+
logger.debug(`Using user defined support file: ${supportFilesData.supportFile}`);
|
|
224
|
+
let file;
|
|
225
|
+
try {
|
|
226
|
+
file = process.cwd() + supportFilesData.supportFile;
|
|
227
|
+
const defaultFileContent = fs.readFileSync(file, {encoding: 'utf-8'});
|
|
228
|
+
let cypressCommandEventListener = getAccessibilityCypressCommandEventListener(path.extname(file));
|
|
229
|
+
const alreadyIncludes = defaultFileContent.includes(cypressCommandEventListener);
|
|
230
|
+
if(!alreadyIncludes) {
|
|
231
|
+
let newFileContent = defaultFileContent +
|
|
232
|
+
'\n' +
|
|
233
|
+
cypressCommandEventListener +
|
|
234
|
+
'\n';
|
|
235
|
+
fs.writeFileSync(file, newFileContent, {encoding: 'utf-8'});
|
|
236
|
+
supportFileContentMap[file] = supportFilesData.cleanupParams ? supportFilesData.cleanupParams : defaultFileContent;
|
|
237
|
+
}
|
|
238
|
+
} catch(e) {
|
|
239
|
+
logger.debug(`Unable to modify file contents for ${file} to set event listeners with error ${e}`, true, e);
|
|
240
|
+
}
|
|
241
|
+
return;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
const globPattern = process.cwd() + supportFilesData.supportFile;
|
|
245
|
+
glob(globPattern, {}, (err, files) => {
|
|
246
|
+
if(err) {
|
|
247
|
+
logger.debug('EXCEPTION IN BUILD START EVENT : Unable to parse cypress support files');
|
|
248
|
+
return;
|
|
249
|
+
}
|
|
250
|
+
|
|
224
251
|
files.forEach(file => {
|
|
225
252
|
try {
|
|
226
|
-
|
|
253
|
+
const fileName = path.basename(file);
|
|
254
|
+
if(['e2e.js', 'e2e.ts', 'component.ts', 'component.js'].includes(fileName) && !file.includes('node_modules')) {
|
|
255
|
+
|
|
227
256
|
const defaultFileContent = fs.readFileSync(file, {encoding: 'utf-8'});
|
|
228
|
-
|
|
229
257
|
let cypressCommandEventListener = getAccessibilityCypressCommandEventListener(path.extname(file));
|
|
230
258
|
if(!defaultFileContent.includes(cypressCommandEventListener)) {
|
|
231
|
-
let newFileContent =
|
|
259
|
+
let newFileContent = defaultFileContent +
|
|
232
260
|
'\n' +
|
|
233
261
|
cypressCommandEventListener +
|
|
234
|
-
'\n'
|
|
262
|
+
'\n';
|
|
235
263
|
fs.writeFileSync(file, newFileContent, {encoding: 'utf-8'});
|
|
236
264
|
supportFileContentMap[file] = supportFilesData.cleanupParams ? supportFilesData.cleanupParams : defaultFileContent;
|
|
237
265
|
}
|
package/bin/commands/runs.js
CHANGED
|
@@ -40,7 +40,7 @@ const { isTurboScaleSession, getTurboScaleGridDetails, patchCypressConfigFileCon
|
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
module.exports = function run(args, rawArgs) {
|
|
43
|
-
|
|
43
|
+
utils.normalizeTestReportingEnvVars();
|
|
44
44
|
markBlockStart('preBuild');
|
|
45
45
|
// set debug mode (--cli-debug)
|
|
46
46
|
utils.setDebugMode(args);
|
|
@@ -112,7 +112,7 @@ module.exports = function run(args, rawArgs) {
|
|
|
112
112
|
// set build tag caps
|
|
113
113
|
utils.setBuildTags(bsConfig, args);
|
|
114
114
|
|
|
115
|
-
// Send build start to
|
|
115
|
+
// Send build start to TEST REPORTING AND ANALYTICS
|
|
116
116
|
if(isTestObservabilitySession) {
|
|
117
117
|
await launchTestSession(bsConfig, bsConfigPath);
|
|
118
118
|
utils.setO11yProcessHooks(null, bsConfig, args, null, buildReportData);
|
|
@@ -143,6 +143,9 @@ module.exports = function run(args, rawArgs) {
|
|
|
143
143
|
// set the no-wrap
|
|
144
144
|
utils.setNoWrap(bsConfig, args);
|
|
145
145
|
|
|
146
|
+
// process auto-import dev dependencies
|
|
147
|
+
utils.processAutoImportDependencies(bsConfig.run_settings);
|
|
148
|
+
|
|
146
149
|
// add cypress dependency if missing
|
|
147
150
|
utils.setCypressNpmDependency(bsConfig);
|
|
148
151
|
|
|
@@ -192,6 +195,10 @@ module.exports = function run(args, rawArgs) {
|
|
|
192
195
|
logger.debug("Completed setting the configs");
|
|
193
196
|
|
|
194
197
|
if(!isBrowserstackInfra) {
|
|
198
|
+
if(process.env.BS_TESTOPS_BUILD_COMPLETED) {
|
|
199
|
+
setEventListeners(bsConfig);
|
|
200
|
+
}
|
|
201
|
+
|
|
195
202
|
return runCypressTestsLocally(bsConfig, args, rawArgs);
|
|
196
203
|
}
|
|
197
204
|
|
|
@@ -203,7 +210,7 @@ module.exports = function run(args, rawArgs) {
|
|
|
203
210
|
setAccessibilityEventListeners(bsConfig);
|
|
204
211
|
}
|
|
205
212
|
if(process.env.BS_TESTOPS_BUILD_COMPLETED) {
|
|
206
|
-
|
|
213
|
+
setEventListeners(bsConfig);
|
|
207
214
|
}
|
|
208
215
|
markBlockEnd('validateConfig');
|
|
209
216
|
logger.debug("Completed configs validation");
|
package/bin/helpers/build.js
CHANGED
|
@@ -65,6 +65,8 @@ const createBuild = (bsConfig, zip) => {
|
|
|
65
65
|
if(error.response) {
|
|
66
66
|
logger.error(utils.formatRequest(error.response.statusText, error.response, error.response.data));
|
|
67
67
|
reject(`${Constants.userMessages.BUILD_FAILED} Error: ${error.response.data.message}`);
|
|
68
|
+
} else {
|
|
69
|
+
reject(error);
|
|
68
70
|
}
|
|
69
71
|
}
|
|
70
72
|
}).catch(function(err){
|
|
@@ -183,11 +183,17 @@ const getAccessibilityPlatforms = (bsConfig) => {
|
|
|
183
183
|
const addCypressZipStartLocation = (runSettings) => {
|
|
184
184
|
let resolvedHomeDirectoryPath = path.resolve(runSettings.home_directory);
|
|
185
185
|
let resolvedCypressConfigFilePath = path.resolve(runSettings.cypressConfigFilePath);
|
|
186
|
-
|
|
186
|
+
|
|
187
|
+
// Convert to POSIX style paths for consistent behavior
|
|
188
|
+
let posixHomePath = resolvedHomeDirectoryPath.split(path.sep).join(path.posix.sep);
|
|
189
|
+
let posixConfigPath = resolvedCypressConfigFilePath.split(path.sep).join(path.posix.sep);
|
|
190
|
+
|
|
191
|
+
runSettings.cypressZipStartLocation = path.posix.dirname(posixConfigPath.split(posixHomePath)[1]);
|
|
187
192
|
runSettings.cypressZipStartLocation = runSettings.cypressZipStartLocation.substring(1);
|
|
188
193
|
logger.debug(`Setting cypress zip start location = ${runSettings.cypressZipStartLocation}`);
|
|
189
194
|
}
|
|
190
195
|
|
|
196
|
+
|
|
191
197
|
const validate = (bsConfig, args) => {
|
|
192
198
|
return new Promise(function (resolve, reject) {
|
|
193
199
|
logger.info(Constants.userMessages.VALIDATING_CONFIG);
|
package/bin/helpers/constants.js
CHANGED
|
@@ -196,6 +196,28 @@ const validationMessages = {
|
|
|
196
196
|
"You have specified '--record' flag but you've not provided the '--record-key' and we could not find any value in 'CYPRESS_RECORD_KEY' environment variable. Your record functionality on cypress.io dashboard might not work as it needs the key and projectId",
|
|
197
197
|
NODE_VERSION_PARSING_ERROR:
|
|
198
198
|
"We weren't able to successfully parse the specified nodeVersion. We will be using the default nodeVersion to run your tests.",
|
|
199
|
+
AUTO_IMPORT_CONFLICT_ERROR:
|
|
200
|
+
"Cannot use both 'auto_import_dev_dependencies' and manual npm dependency configuration. Please either set 'auto_import_dev_dependencies' to false or remove manual 'npm_dependencies', 'win_npm_dependencies', and 'mac_npm_dependencies' configurations.",
|
|
201
|
+
AUTO_IMPORT_INVALID_TYPE:
|
|
202
|
+
"'auto_import_dev_dependencies' must be a boolean value (true or false).",
|
|
203
|
+
PACKAGE_JSON_NOT_FOUND:
|
|
204
|
+
"package.json not found in project directory. Cannot auto-import devDependencies.",
|
|
205
|
+
PACKAGE_JSON_PERMISSION_DENIED:
|
|
206
|
+
"Cannot read package.json due to permission issues. Please check file permissions.",
|
|
207
|
+
PACKAGE_JSON_MALFORMED:
|
|
208
|
+
"package.json contains invalid JSON syntax. Please fix the JSON format.",
|
|
209
|
+
PACKAGE_JSON_NOT_OBJECT:
|
|
210
|
+
"package.json must contain a JSON object, not an array or other type.",
|
|
211
|
+
DEVDEPS_INVALID_FORMAT:
|
|
212
|
+
"devDependencies field in package.json must be an object, not an array or other type.",
|
|
213
|
+
EXCLUDE_DEPS_INVALID_TYPE:
|
|
214
|
+
"'exclude_dependencies' must be an array of strings.",
|
|
215
|
+
EXCLUDE_DEPS_INVALID_PATTERNS:
|
|
216
|
+
"'exclude_dependencies' must contain only string values representing regex patterns.",
|
|
217
|
+
INVALID_REGEX_PATTERN:
|
|
218
|
+
"Invalid regex pattern found in 'exclude_dependencies': {pattern}. Please provide valid regex patterns.",
|
|
219
|
+
DEPENDENCIES_PARAM_INVALID:
|
|
220
|
+
"Dependencies parameter must be an object.",
|
|
199
221
|
};
|
|
200
222
|
|
|
201
223
|
const cliMessages = {
|
package/bin/helpers/helper.js
CHANGED
|
@@ -19,10 +19,11 @@ const { readCypressConfigFile } = require('./readCypressConfigUtil');
|
|
|
19
19
|
const { MAX_GIT_META_DATA_SIZE_IN_BYTES, GIT_META_DATA_TRUNCATED } = require('./constants')
|
|
20
20
|
const CrashReporter = require('../testObservability/crashReporter');
|
|
21
21
|
const HttpsProxyAgent = require('https-proxy-agent');
|
|
22
|
+
const { TEST_REPORTING_ANALYTICS } = require("../testObservability/helper/constants");
|
|
22
23
|
|
|
23
24
|
exports.debug = (text, shouldReport = false, throwable = null) => {
|
|
24
25
|
if (process.env.BROWSERSTACK_OBSERVABILITY_DEBUG === "true" || process.env.BROWSERSTACK_OBSERVABILITY_DEBUG === "1") {
|
|
25
|
-
logger.info(`[
|
|
26
|
+
logger.info(`[ ${TEST_REPORTING_ANALYTICS} ] ${text}`);
|
|
26
27
|
}
|
|
27
28
|
if(shouldReport) {
|
|
28
29
|
CrashReporter.getInstance().uploadCrashReport(text, throwable ? throwable && throwable.stack : null);
|
|
@@ -32,9 +32,10 @@ const setupPackageFolder = (runSettings, directoryPath) => {
|
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
// Combine win and mac specific dependencies if present
|
|
35
|
-
|
|
35
|
+
const combinedDependencies = combineMacWinNpmDependencies(runSettings);
|
|
36
|
+
if (combinedDependencies && Object.keys(combinedDependencies).length > 0) {
|
|
36
37
|
Object.assign(packageJSON, {
|
|
37
|
-
devDependencies:
|
|
38
|
+
devDependencies: combinedDependencies,
|
|
38
39
|
});
|
|
39
40
|
}
|
|
40
41
|
|