browserstack-node-sdk 1.69.0 → 1.70.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/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/detox/a11ySetup.js +1 -1
- package/src/bin/detox/command.js +1 -1
- package/src/bin/detox/modifyDetoxConf.js +1 -1
- package/src/bin/detox/traEmitter.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/node-generic/client.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/reporterArgs.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/mochaTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/seleniumAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/runStateStore.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';function a15_0x1564(_0x444cf0,_0x1c6134){const _0x338ccf=a15_0x338c();return a15_0x1564=function(_0x1564ce,_0x46ea66){_0x1564ce=_0x1564ce-0x1ae;let _0x3e016a=_0x338ccf[_0x1564ce];return _0x3e016a;},a15_0x1564(_0x444cf0,_0x1c6134);}const a15_0x3518e8=a15_0x1564;(function(_0x2616a1,_0x5c19a4){const _0x1bfeb3=a15_0x1564,_0x114196=_0x2616a1();while(!![]){try{const _0x5ef30d=parseInt(_0x1bfeb3(0x1ea))/0x1*(parseInt(_0x1bfeb3(0x1c7))/0x2)+-parseInt(_0x1bfeb3(0x1f2))/0x3+parseInt(_0x1bfeb3(0x1c1))/0x4*(parseInt(_0x1bfeb3(0x1e1))/0x5)+parseInt(_0x1bfeb3(0x1d8))/0x6*(parseInt(_0x1bfeb3(0x1c0))/0x7)+-parseInt(_0x1bfeb3(0x1de))/0x8*(parseInt(_0x1bfeb3(0x1c6))/0x9)+-parseInt(_0x1bfeb3(0x1d4))/0xa*(parseInt(_0x1bfeb3(0x1cf))/0xb)+parseInt(_0x1bfeb3(0x1cd))/0xc;if(_0x5ef30d===_0x5c19a4)break;else _0x114196['push'](_0x114196['shift']());}catch(_0x20ca96){_0x114196['push'](_0x114196['shift']());}}}(a15_0x338c,0xb64d9));const {default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),logger=require(a15_0x3518e8(0x1bc))[a15_0x3518e8(0x1ed)],{URL}=require(a15_0x3518e8(0x1b7)),helper=require(a15_0x3518e8(0x1e2)),{HELP_MESSAGES,ERROR_MESSAGES}=require('./constants'),validHosts=function(_0x4d2b74){const _0x2809d2=a15_0x3518e8;return _0x4d2b74[_0x2809d2(0x1da)](',')['every'](_0xdd5b2f=>{const _0x3bac7a=_0x2809d2;try{new URL(_0xdd5b2f[_0x3bac7a(0x1eb)]());}catch(_0x4f337e){return![];}return!![];});},parseOnPremHosts=function(_0x2d6c2c){const _0x382d73=a15_0x3518e8,_0x2e8f0a={};_0x2e8f0a[_0x382d73(0x1cc)]=function(_0x1ad8b2,_0x2a1acb){return _0x1ad8b2===_0x2a1acb;},_0x2e8f0a['ZPFTM']=_0x382d73(0x1f9),_0x2e8f0a[_0x382d73(0x1c3)]=_0x382d73(0x1db),_0x2e8f0a[_0x382d73(0x1d2)]=function(_0xe45e68,_0x529db8){return _0xe45e68===_0x529db8;},_0x2e8f0a[_0x382d73(0x1b5)]=_0x382d73(0x1cb);const _0x17ffd3=_0x2e8f0a;return _0x2d6c2c[_0x382d73(0x1da)](',')['map'](_0x3123d5=>{const _0x24fce5=_0x382d73,_0x39814c=new URL(_0x3123d5[_0x24fce5(0x1eb)]()),_0x1bfb26=_0x39814c[_0x24fce5(0x1ee)],_0x78139e=_0x39814c[_0x24fce5(0x1f1)]||(_0x17ffd3['dERLJ'](_0x39814c[_0x24fce5(0x1d6)],_0x17ffd3['ZPFTM'])?_0x17ffd3[_0x24fce5(0x1c3)]:'80'),_0xa1295d=_0x39814c['protocol']['replace'](':',''),_0x5c3cff=_0x17ffd3[_0x24fce5(0x1d2)](_0xa1295d,_0x17ffd3['QPPUz'])?0x1:0x0;return _0x1bfb26+','+_0x78139e+','+_0x5c3cff;});},connectCommandBuilder=function(_0x4f9180){const _0x3ec1cf=a15_0x3518e8,_0x3c6afc={};_0x3c6afc[_0x3ec1cf(0x1ca)]=_0x3ec1cf(0x1d7);const _0x4c931b=_0x3c6afc,_0x5db47b={};_0x5db47b[_0x3ec1cf(0x1b1)]=HELP_MESSAGES[_0x3ec1cf(0x1f0)][_0x3ec1cf(0x1e7)],_0x5db47b[_0x3ec1cf(0x1ae)]=_0x4c931b[_0x3ec1cf(0x1ca)];const _0xf5adc5={};_0xf5adc5['describe']=HELP_MESSAGES[_0x3ec1cf(0x1f0)][_0x3ec1cf(0x1ba)],_0xf5adc5[_0x3ec1cf(0x1ae)]=_0x4c931b[_0x3ec1cf(0x1ca)],_0xf5adc5['demandOption']=!![];const _0x4a518d={};return _0x4a518d[_0x3ec1cf(0x1b9)]=_0x5db47b,_0x4a518d[_0x3ec1cf(0x1ba)]=_0xf5adc5,_0x4f9180['options'](_0x4a518d);},connectCommandHandler=async function(_0x39bdfc){const _0x2af2a0=a15_0x3518e8,_0x4c932e={'ASQWg':_0x2af2a0(0x1b6),'CVKrl':function(_0x1ea7d7,_0x32e41c){return _0x1ea7d7===_0x32e41c;},'SHIVA':_0x2af2a0(0x1f8),'eSkTt':_0x2af2a0(0x1bb),'haHKE':'Integration\x20hosts\x20missing.','lZQPG':function(_0x12b52a,_0x1c74ac){return _0x12b52a(_0x1c74ac);},'sIRAk':_0x2af2a0(0x1b0),'uRkbn':_0x2af2a0(0x1f3),'nVNQh':_0x2af2a0(0x1bd),'NQGHt':_0x2af2a0(0x1e5)};try{const _0x332f86=new BrowserStackSetup(_0x39bdfc,_0x4c932e[_0x2af2a0(0x1e6)]);_0x39bdfc['bstackAccesskey']&&(_0x332f86[_0x2af2a0(0x1c9)][_0x2af2a0(0x1d1)]=_0x39bdfc[_0x2af2a0(0x1d5)]);if(_0x4c932e[_0x2af2a0(0x1d0)](typeof _0x332f86[_0x2af2a0(0x1c9)][_0x2af2a0(0x1d1)],_0x4c932e[_0x2af2a0(0x1f5)])){logger[_0x2af2a0(0x1dc)](_0x4c932e[_0x2af2a0(0x1af)]);throw new Error(ERROR_MESSAGES['bstackAccessKey']['missing']);}const _0x3c7533=_0x39bdfc[_0x2af2a0(0x1ba)];if(_0x4c932e[_0x2af2a0(0x1d0)](typeof _0x3c7533,_0x4c932e[_0x2af2a0(0x1f5)])){logger[_0x2af2a0(0x1dc)](_0x4c932e[_0x2af2a0(0x1df)]);throw new Error(ERROR_MESSAGES[_0x2af2a0(0x1ba)][_0x2af2a0(0x1c8)]);}if(!_0x4c932e[_0x2af2a0(0x1dd)](validHosts,_0x3c7533)){logger[_0x2af2a0(0x1dc)](_0x4c932e[_0x2af2a0(0x1d3)]);throw new Error(ERROR_MESSAGES['hosts']['invalid']);}const _0x3f7355=_0x4c932e[_0x2af2a0(0x1dd)](parseOnPremHosts,_0x3c7533);_0x332f86[_0x2af2a0(0x1c9)][_0x2af2a0(0x1b4)]=!![],_0x332f86['config']['browserStackLocalOptions']['localIdentifier']=_0x4c932e[_0x2af2a0(0x1be)],_0x332f86[_0x2af2a0(0x1c9)][_0x2af2a0(0x1b3)][_0x2af2a0(0x1ec)]=_0x3f7355[_0x2af2a0(0x1ef)](','),helper[_0x2af2a0(0x1e4)](_0x332f86[_0x2af2a0(0x1c9)]),await _0x332f86[_0x2af2a0(0x1c2)](),logger[_0x2af2a0(0x1f7)](_0x4c932e[_0x2af2a0(0x1c5)]);}catch(_0x461bbd){logger[_0x2af2a0(0x1dc)](_0x4c932e[_0x2af2a0(0x1bf)]);throw new Error(_0x461bbd[_0x2af2a0(0x1e9)]());}};function run(_0x448662){const _0x2cc6c3=a15_0x3518e8,_0x1c2190={};_0x1c2190[_0x2cc6c3(0x1ce)]=_0x2cc6c3(0x1f4),_0x1c2190[_0x2cc6c3(0x1e0)]=_0x2cc6c3(0x1e3);const _0x48dc43=_0x1c2190;_0x448662[_0x2cc6c3(0x1e8)](HELP_MESSAGES[_0x2cc6c3(0x1b2)][_0x2cc6c3(0x1f6)])[_0x2cc6c3(0x1b2)](_0x48dc43['OZKdP'],HELP_MESSAGES[_0x2cc6c3(0x1b2)][_0x2cc6c3(0x1f4)],connectCommandBuilder,connectCommandHandler)[_0x2cc6c3(0x1c4)]()['help'](_0x48dc43['NkngG'])['epilogue'](HELP_MESSAGES[_0x2cc6c3(0x1b2)][_0x2cc6c3(0x1d9)]);}function a15_0x338c(){const _0x3c9dac=['demandCommand','nVNQh','195759prppXr','3788tRsKIO','missing','config','adBTH','https','dERLJ','23291496PkoxOU','OZKdP','1551kJsTUQ','CVKrl','accessKey','rXyda','sIRAk','34480jwOBqv','bstackAccesskey','protocol','string','576LnyhsW','footer','split','443','error','lZQPG','536kKtAtj','haHKE','NkngG','4056385wofOGm','../../helpers/helper','help','setProxySettings','Failed\x20to\x20establish\x20connection.','ASQWg','bstackAccessKey','usage','toString','325OMNXIC','trim','only','winstonLogger','hostname','join','options','port','4020249cSFKZK','integrations-repeater','connect','SHIVA','root','info','undefined','https:','type','eSkTt','Hosts\x20not\x20valid','describe','command','browserStackLocalOptions','browserstackLocal','QPPUz','integrations','url','exports','bstack-accesskey','hosts','BrowserStack\x20access\x20key\x20missing.','../../helpers/logger','Connection\x20established\x20successfully.','uRkbn','NQGHt','48307xUbHRC','4OByWhG','setupBrowserstackLocal','hkSGN'];a15_0x338c=function(){return _0x3c9dac;};return a15_0x338c();}module[a15_0x3518e8(0x1b8)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a16_0x147d1d=a16_0x9e8e;(function(_0x1d8c64,_0xd67b7){var _0x122387=a16_0x9e8e,_0x34066f=_0x1d8c64();while(!![]){try{var _0x27885c=parseInt(_0x122387(0xeb))/0x1*(-parseInt(_0x122387(0xe0))/0x2)+-parseInt(_0x122387(0xd8))/0x3+parseInt(_0x122387(0xe4))/0x4*(-parseInt(_0x122387(0xde))/0x5)+parseInt(_0x122387(0xea))/0x6*(-parseInt(_0x122387(0xdf))/0x7)+parseInt(_0x122387(0xe6))/0x8*(parseInt(_0x122387(0xdc))/0x9)+parseInt(_0x122387(0xe2))/0xa+parseInt(_0x122387(0xf0))/0xb;if(_0x27885c===_0xd67b7)break;else _0x34066f['push'](_0x34066f['shift']());}catch(_0x285bb4){_0x34066f['push'](_0x34066f['shift']());}}}(a16_0x19b5,0x56077));var a16_0x38d9c5={};a16_0x38d9c5['bstackAccessKey']=a16_0x147d1d(0xe7),a16_0x38d9c5[a16_0x147d1d(0xee)]='This\x20option\x20allows\x20you\x20to\x20provide\x20additional\x20configuration\x20specific\x20to\x20your\x20environment.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.';var a16_0x323652={};a16_0x323652[a16_0x147d1d(0xda)]=a16_0x147d1d(0xe9),a16_0x323652[a16_0x147d1d(0xdd)]=a16_0x147d1d(0xf1),a16_0x323652[a16_0x147d1d(0xe1)]=a16_0x147d1d(0xef);function a16_0x9e8e(_0xe12d31,_0x34b4b9){var _0x19b5f0=a16_0x19b5();return a16_0x9e8e=function(_0x9e8e3a,_0x3c9456){_0x9e8e3a=_0x9e8e3a-0xd8;var _0x23298c=_0x19b5f0[_0x9e8e3a];return _0x23298c;},a16_0x9e8e(_0xe12d31,_0x34b4b9);}var a16_0x1ce453={};function a16_0x19b5(){var _0x4c32b8=['321426EPcYpn','connect','170oAYtdu','21yNabII','20092YDjyGX','footer','5961250kegRiv','missing','53876joaZEA','options','56zbsNVS','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','1992TffFNI','70DdbJIk','invalid','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','hosts','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','10896171oWlEaj','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','966441RMAYeN','bstackAccessKey','root','Integration\x20hosts\x20are\x20not\x20in\x20the\x20right\x20format.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.'];a16_0x19b5=function(){return _0x4c32b8;};return a16_0x19b5();}a16_0x1ce453[a16_0x147d1d(0xe5)]=a16_0x38d9c5,a16_0x1ce453['command']=a16_0x323652,exports['HELP_MESSAGES']=a16_0x1ce453;var a16_0x5d81e9={};a16_0x5d81e9[a16_0x147d1d(0xe3)]=a16_0x147d1d(0xed);var a16_0x39459d={};a16_0x39459d[a16_0x147d1d(0xe3)]=a16_0x147d1d(0xe8),a16_0x39459d[a16_0x147d1d(0xec)]=a16_0x147d1d(0xdb);var a16_0x24ece5={};a16_0x24ece5[a16_0x147d1d(0xd9)]=a16_0x5d81e9,a16_0x24ece5['hosts']=a16_0x39459d,exports['ERROR_MESSAGES']=a16_0x24ece5;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a17_0x4ecbee=a17_0x5359;function a17_0x5359(_0x306c63,_0x2d0ba6){const _0x68f2bb=a17_0x68f2();return a17_0x5359=function(_0x535928,_0x2432c2){_0x535928=_0x535928-0x116;let _0x28ca1a=_0x68f2bb[_0x535928];return _0x28ca1a;},a17_0x5359(_0x306c63,_0x2d0ba6);}(function(_0x1b2a02,_0x5a3796){const _0x1f41a7=a17_0x5359,_0x2dbb4c=_0x1b2a02();while(!![]){try{const _0x9fd8e=parseInt(_0x1f41a7(0x180))/0x1*(-parseInt(_0x1f41a7(0x146))/0x2)+parseInt(_0x1f41a7(0x192))/0x3+parseInt(_0x1f41a7(0x12b))/0x4*(-parseInt(_0x1f41a7(0x13c))/0x5)+parseInt(_0x1f41a7(0x142))/0x6*(parseInt(_0x1f41a7(0x169))/0x7)+parseInt(_0x1f41a7(0x184))/0x8*(parseInt(_0x1f41a7(0x19e))/0x9)+parseInt(_0x1f41a7(0x14e))/0xa+-parseInt(_0x1f41a7(0x127))/0xb*(parseInt(_0x1f41a7(0x193))/0xc);if(_0x9fd8e===_0x5a3796)break;else _0x2dbb4c['push'](_0x2dbb4c['shift']());}catch(_0x2d76a8){_0x2dbb4c['push'](_0x2dbb4c['shift']());}}}(a17_0x68f2,0x29cb1));const path=require('path'),fs=require('fs'),{v4:uuidv4}=require(a17_0x4ecbee(0x134)),testhubUtils=require(a17_0x4ecbee(0x166)),{FRAMEWORKS}=require(a17_0x4ecbee(0x190)),SessionHandler=require(a17_0x4ecbee(0x116)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a17_0x4ecbee(0x128)),testRunMap=require('../testRunMap'),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL='Jasmine',a17_0x211d7e={};a17_0x211d7e[a17_0x4ecbee(0x11a)]=a17_0x4ecbee(0x11a),a17_0x211d7e['failed']=a17_0x4ecbee(0x189),a17_0x211d7e[a17_0x4ecbee(0x16b)]='pending',a17_0x211d7e[a17_0x4ecbee(0x132)]='skipped';const STATUS_MAP=a17_0x211d7e;class BrowserStackJasmineReporter{constructor(_0x37436f={}){const _0x30c56e=a17_0x4ecbee,_0x10e27c={'DtpOc':function(_0x1ed16f){return _0x1ed16f();}};this[_0x30c56e(0x158)]=_0x10e27c[_0x30c56e(0x16c)](isTestObservabilitySession),this[_0x30c56e(0x17e)]=new PathHelper({'cwd':process[_0x30c56e(0x152)]()},undefined),this[_0x30c56e(0x12c)]=_0x37436f&&_0x37436f[_0x30c56e(0x12d)]||{},this[_0x30c56e(0x129)]=new Map();}[a17_0x4ecbee(0x15b)](){}['suiteStarted'](_0x254a31){const _0x586186=a17_0x4ecbee,_0x553b69={'aRCXE':function(_0x19613c,_0x4fc1d6){return _0x19613c!==_0x4fc1d6;},'JDpaQ':function(_0x9986ba,_0x2edd9){return _0x9986ba(_0x2edd9);}};try{_0x254a31&&_0x553b69[_0x586186(0x194)](_0x254a31['id'],undefined)&&_0x553b69[_0x586186(0x194)](_0x254a31['id'],null)&&this[_0x586186(0x129)][_0x586186(0x150)](_0x254a31['id'],{'description':_0x254a31['description'],'parentSuiteId':_0x254a31[_0x586186(0x126)]});}catch(_0x530e8c){_0x553b69[_0x586186(0x133)](debug,'Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20'+(_0x254a31&&_0x254a31[_0x586186(0x13b)])+_0x586186(0x16e)+_0x530e8c);}}[a17_0x4ecbee(0x18b)](_0x7f3a29){const _0x1fbb49=a17_0x4ecbee,_0x4ce121={'rvdGs':function(_0x442cc6,_0xf9200d){return _0x442cc6!==_0xf9200d;},'SyGPD':function(_0x4bbe87){return _0x4bbe87();},'PqZOI':_0x1fbb49(0x199),'lvopM':function(_0x18e246,_0x22272a){return _0x18e246(_0x22272a);}};try{if(_0x4ce121['rvdGs'](testhubUtils[_0x1fbb49(0x181)](),!![]))return;const _0x83e57e=_0x4ce121['SyGPD'](uuidv4);testRunMap['set'](_0x7f3a29['id'],_0x83e57e),this['_sendSpecEvent'](_0x7f3a29,_0x83e57e,_0x4ce121[_0x1fbb49(0x156)]);}catch(_0x3a2667){_0x4ce121[_0x1fbb49(0x15e)](debug,_0x1fbb49(0x177)+(_0x7f3a29&&_0x7f3a29[_0x1fbb49(0x13b)])+_0x1fbb49(0x16e)+_0x3a2667);}}[a17_0x4ecbee(0x173)](_0x51fa8c){const _0x48a340=a17_0x4ecbee,_0x79edcb={'ajOJZ':function(_0x1841a9,_0x9aadcd){return _0x1841a9!==_0x9aadcd;},'FnnFv':function(_0x4c9eea){return _0x4c9eea();},'TKbmX':function(_0x102df2,_0x479542){return _0x102df2===_0x479542;},'sKpWT':_0x48a340(0x132),'zDTyz':_0x48a340(0x16d),'xNLbh':_0x48a340(0x122),'GEJAr':function(_0x3663f8,_0x59ad62){return _0x3663f8(_0x59ad62);}};try{if(_0x79edcb['ajOJZ'](testhubUtils[_0x48a340(0x181)](),!![]))return;const _0x1946d9=testRunMap[_0x48a340(0x120)](_0x51fa8c['id'])||_0x79edcb[_0x48a340(0x12a)](uuidv4),_0x5b8af6=_0x79edcb[_0x48a340(0x19b)](_0x51fa8c[_0x48a340(0x182)],_0x79edcb[_0x48a340(0x135)])?_0x79edcb[_0x48a340(0x125)]:_0x79edcb[_0x48a340(0x178)];this[_0x48a340(0x163)](_0x51fa8c,_0x1946d9,_0x5b8af6);}catch(_0x317407){_0x79edcb[_0x48a340(0x13a)](debug,_0x48a340(0x162)+(_0x51fa8c&&_0x51fa8c[_0x48a340(0x13b)])+_0x48a340(0x16e)+_0x317407);}finally{_0x51fa8c&&(testRunMap[_0x48a340(0x183)](_0x51fa8c['id']),_specStartTimes[_0x48a340(0x19a)](_0x51fa8c['id']));}}[a17_0x4ecbee(0x17b)](){}[a17_0x4ecbee(0x185)](){}['_sendSpecEvent'](_0x45e8e3,_0x410ddd,_0x1436c3){const _0x4b2b16=a17_0x4ecbee,_0x4edc23={'dZDmk':function(_0x5ce819,_0xf74ccc){return _0x5ce819===_0xf74ccc;},'ilbMA':_0x4b2b16(0x122),'tEUVo':_0x4b2b16(0x16d),'KXSIR':'File\x20path\x20could\x20not\x20be\x20found','fxbVY':function(_0x1e8b8d,_0x304413,_0x53014f){return _0x1e8b8d(_0x304413,_0x53014f);},'XUSwa':_0x4b2b16(0x14f),'bRGAt':'TestRunStarted','dZoMl':function(_0x18cc5a,_0x5b9751){return _0x18cc5a!==_0x5b9751;},'CMiub':_0x4b2b16(0x168),'nzlqe':function(_0x68dad8,_0x41e825){return _0x68dad8&&_0x41e825;},'FsVNp':function(_0x16feb0,_0x8c89){return _0x16feb0===_0x8c89;},'AYvkS':'skipped','jIVVR':_0x4b2b16(0x11a),'FSote':_0x4b2b16(0x18d),'HzzMb':_0x4b2b16(0x144),'npHmv':'UnhandledError','iOYJs':function(_0xf05ef,_0x4dfaa7){return _0xf05ef===_0x4dfaa7;},'wDXhm':_0x4b2b16(0x191),'rcGaa':_0x4b2b16(0x195),'HNvRM':_0x4b2b16(0x141),'kEukC':_0x4b2b16(0x164),'YkKvd':_0x4b2b16(0x119),'wTEjW':_0x4b2b16(0x140),'GraIW':_0x4b2b16(0x118),'SnObE':function(_0x30954c,_0x1cf322){return _0x30954c(_0x1cf322);}};try{const _0x5494fd=_0x4edc23['dZDmk'](_0x1436c3,_0x4edc23['ilbMA'])||_0x4edc23['dZDmk'](_0x1436c3,_0x4edc23[_0x4b2b16(0x160)]),_0x5244a0=this[_0x4b2b16(0x16a)](_0x45e8e3),_0xd173c9=_0x5244a0?this[_0x4b2b16(0x17e)]['prefixTestPath'](_0x5244a0):_0x4edc23[_0x4b2b16(0x15f)],_0x364de1=_0x5244a0?this['_findGitConfig'](path[_0x4b2b16(0x13f)](_0x5244a0)):null,_0x50ea53=this[_0x4b2b16(0x18e)](_0x45e8e3['failedExpectations']),_0x4f8717=_0x50ea53?_0x50ea53[_0x4b2b16(0x11c)]:undefined,_0x3ab114=_0x50ea53?_0x4edc23[_0x4b2b16(0x174)](failureData,_0x50ea53,_0x4edc23[_0x4b2b16(0x14d)]):[],_0x15039b=new Date()['toISOString'](),_0x32db3f=this[_0x4b2b16(0x145)](_0x45e8e3);_0x4edc23[_0x4b2b16(0x147)](_0x1436c3,_0x4edc23[_0x4b2b16(0x139)])&&_0x45e8e3&&_0x4edc23[_0x4b2b16(0x176)](_0x45e8e3['id'],undefined)&&_0x4edc23[_0x4b2b16(0x176)](_0x45e8e3['id'],null)&&_specStartTimes[_0x4b2b16(0x150)](_0x45e8e3['id'],_0x15039b);const _0xcdb650=_0x4edc23[_0x4b2b16(0x147)](_0x1436c3,_0x4edc23[_0x4b2b16(0x139)])?_0x15039b:_0x45e8e3&&_specStartTimes[_0x4b2b16(0x120)](_0x45e8e3['id'])||null,_0x612839={};_0x612839[_0x4b2b16(0x157)]=_0x4edc23['CMiub'],_0x612839['code']=null;const _0x12e218={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0x410ddd,'name':_0x45e8e3[_0x4b2b16(0x137)],'body':_0x612839,'scope':_0x32db3f[_0x4b2b16(0x121)]('\x20'),'scopes':_0x32db3f,'identifier':_0x45e8e3[_0x4b2b16(0x13b)],'file_name':_0xd173c9,'vc_filepath':_0x4edc23['nzlqe'](_0x364de1,_0x5244a0)?path[_0x4b2b16(0x12f)](_0x364de1,_0x5244a0):null,'location':_0xd173c9,'result':_0x4edc23['FsVNp'](_0x1436c3,_0x4edc23[_0x4b2b16(0x160)])?_0x4edc23[_0x4b2b16(0x155)]:STATUS_MAP[_0x45e8e3['status']]||_0x4edc23[_0x4b2b16(0x175)],'failure_reason':_0x4f8717,'duration_in_ms':_0x4edc23['FsVNp'](typeof _0x45e8e3[_0x4b2b16(0x179)],_0x4edc23['FSote'])?_0x45e8e3[_0x4b2b16(0x179)]:null,'started_at':_0xcdb650,'finished_at':_0x5494fd?_0x15039b:null,'failure':_0x3ab114,'failure_type':!_0x4f8717?null:_0x4f8717[_0x4b2b16(0x131)](/AssertionError/)?_0x4edc23[_0x4b2b16(0x16f)]:_0x4edc23[_0x4b2b16(0x170)],'retry_of':null};_0x4edc23['iOYJs'](_0x1436c3,_0x4edc23[_0x4b2b16(0x160)])&&!_0x12e218[_0x4edc23['wDXhm']]&&(_0x12e218[_0x4edc23['wDXhm']]=_0x12e218[_0x4edc23[_0x4b2b16(0x14b)]]);const _0x478928=_0x12e218[_0x4edc23[_0x4b2b16(0x154)]][0x0];_0x478928&&(_0x12e218[_0x4edc23[_0x4b2b16(0x11f)]]=_0x478928[_0x4edc23[_0x4b2b16(0x11d)]],_0x12e218[_0x4edc23[_0x4b2b16(0x136)]]=_0x478928[_0x4edc23['GraIW']]);testhubUtils[_0x4b2b16(0x19c)](_0x12e218,_0x1436c3,_0x45e8e3,FRAMEWORKS[_0x4b2b16(0x18f)]);const _0x20dab1={'event_type':_0x4edc23['FsVNp'](_0x1436c3,_0x4edc23[_0x4b2b16(0x160)])?_0x4edc23[_0x4b2b16(0x161)]:_0x1436c3,'test_run':_0x12e218};return testhubUtils[_0x4b2b16(0x117)](FRAMEWORKS['JASMINE'],_0x20dab1),SessionHandler[_0x4b2b16(0x13d)](_0x20dab1);}catch(_0x61b2c4){_0x4edc23['SnObE'](debug,_0x4b2b16(0x188)+_0x1436c3+_0x4b2b16(0x16e)+_0x61b2c4);}}[a17_0x4ecbee(0x145)](_0x46a6d0){const _0x2f84f2=a17_0x4ecbee,_0x1918ee={'tGHCA':function(_0x92dc06,_0x7e8548){return _0x92dc06!==_0x7e8548;},'EHUBj':function(_0x3b68cc,_0x3b4fcb){return _0x3b68cc>_0x3b4fcb;},'gylsf':function(_0x41a180,_0x5cd23c){return _0x41a180(_0x5cd23c);},'ONobm':function(_0x49c385,_0x1dfbc2){return _0x49c385-_0x1dfbc2;}};try{const _0x571a63=[];let _0xcb42db=_0x46a6d0&&_0x46a6d0['parentSuiteId'];const _0x2674a6=new Set();while(_0x1918ee[_0x2f84f2(0x14c)](_0xcb42db,undefined)&&_0x1918ee[_0x2f84f2(0x14c)](_0xcb42db,null)&&this[_0x2f84f2(0x129)][_0x2f84f2(0x186)](_0xcb42db)&&!_0x2674a6[_0x2f84f2(0x186)](_0xcb42db)){_0x2674a6[_0x2f84f2(0x171)](_0xcb42db);const _0x4ddbfd=this[_0x2f84f2(0x129)]['get'](_0xcb42db);_0x4ddbfd&&_0x4ddbfd['description']&&_0x571a63[_0x2f84f2(0x130)](_0x4ddbfd[_0x2f84f2(0x137)]),_0xcb42db=_0x4ddbfd?_0x4ddbfd[_0x2f84f2(0x126)]:null;}if(_0x1918ee[_0x2f84f2(0x12e)](_0x571a63['length'],0x0))return _0x571a63[_0x2f84f2(0x138)]();}catch(_0x497d99){_0x1918ee[_0x2f84f2(0x17d)](debug,_0x2f84f2(0x143)+(_0x46a6d0&&_0x46a6d0[_0x2f84f2(0x13b)])+'\x20:\x20'+_0x497d99);}const _0x518439=_0x46a6d0&&_0x46a6d0[_0x2f84f2(0x13b)]||'',_0x26dde8=_0x46a6d0&&_0x46a6d0[_0x2f84f2(0x137)]||'';let _0x4700eb=_0x518439;return _0x26dde8&&_0x518439[_0x2f84f2(0x151)](_0x26dde8)&&(_0x4700eb=_0x518439[_0x2f84f2(0x159)](0x0,_0x1918ee['ONobm'](_0x518439['length'],_0x26dde8['length']))[_0x2f84f2(0x187)]()),_0x4700eb?_0x4700eb[_0x2f84f2(0x18c)](/\s+/):[];}[a17_0x4ecbee(0x16a)](_0x30dbfc){const _0x319445=a17_0x4ecbee,_0x45be82={};_0x45be82['YEsUQ']=function(_0x4ed1f9,_0x2f2177){return _0x4ed1f9===_0x2f2177;},_0x45be82[_0x319445(0x17f)]=function(_0x42903c,_0x56d9ed){return _0x42903c+_0x56d9ed;},_0x45be82[_0x319445(0x15c)]=function(_0x2ac1c3,_0x312a3a){return _0x2ac1c3>_0x312a3a;};const _0x4ebd8b=_0x45be82;if(_0x30dbfc&&_0x30dbfc[_0x319445(0x13e)])return _0x30dbfc[_0x319445(0x13e)];if(_0x30dbfc&&_0x30dbfc[_0x319445(0x13b)]){if(this[_0x319445(0x12c)][_0x30dbfc[_0x319445(0x13b)]])return this[_0x319445(0x12c)][_0x30dbfc[_0x319445(0x13b)]];let _0x374f7e=null,_0x1e75d5=-0x1;for(const _0x24f64a of Object[_0x319445(0x197)](this['_fileNameByFullName'])){(_0x4ebd8b[_0x319445(0x14a)](_0x30dbfc[_0x319445(0x13b)],_0x24f64a)||_0x30dbfc[_0x319445(0x13b)][_0x319445(0x19d)](_0x4ebd8b['lweEG'](_0x24f64a,'\x20')))&&_0x4ebd8b['QLHwk'](_0x24f64a[_0x319445(0x167)],_0x1e75d5)&&(_0x374f7e=this[_0x319445(0x12c)][_0x24f64a],_0x1e75d5=_0x24f64a[_0x319445(0x167)]);}if(_0x374f7e)return _0x374f7e;}return null;}[a17_0x4ecbee(0x18e)](_0x293df1){const _0x43e494=a17_0x4ecbee,_0x46b829={};_0x46b829['kQksy']=function(_0x2f65ed,_0x2af618){return _0x2f65ed===_0x2af618;},_0x46b829[_0x43e494(0x172)]='Spec\x20failed';const _0x4c48b4=_0x46b829;if(!Array[_0x43e494(0x148)](_0x293df1)||_0x4c48b4[_0x43e494(0x11e)](_0x293df1[_0x43e494(0x167)],0x0))return undefined;const _0x6771d1=[],_0x56c545=[];for(const _0x111498 of _0x293df1){_0x111498&&_0x111498[_0x43e494(0x11c)]&&_0x6771d1[_0x43e494(0x130)](_0x111498[_0x43e494(0x11c)]),_0x111498&&_0x111498[_0x43e494(0x18a)]&&_0x56c545[_0x43e494(0x130)](_0x111498[_0x43e494(0x18a)]);}const _0x237b0c=_0x293df1[0x0]||{},_0x84bd47=_0x6771d1[_0x43e494(0x121)]('\x0a')||_0x237b0c[_0x43e494(0x11c)]||_0x4c48b4[_0x43e494(0x172)],_0xb95e96=_0x56c545[_0x43e494(0x121)]('\x0a\x0a')||_0x237b0c[_0x43e494(0x18a)]||_0x84bd47,_0x206ee1={};return _0x206ee1[_0x43e494(0x11c)]=_0x84bd47,_0x206ee1[_0x43e494(0x18a)]=_0xb95e96,_0x206ee1[_0x43e494(0x124)]=_0x237b0c[_0x43e494(0x124)],_0x206ee1[_0x43e494(0x196)]=_0x237b0c[_0x43e494(0x196)],_0x206ee1[_0x43e494(0x123)]=_0x237b0c[_0x43e494(0x123)],_0x206ee1;}['_findGitConfig'](_0x21bf2a){const _0x1c5338=a17_0x4ecbee,_0x1d2363={};_0x1d2363[_0x1c5338(0x198)]=function(_0x389049,_0x30a3e9){return _0x389049===_0x30a3e9;},_0x1d2363[_0x1c5338(0x11b)]=function(_0x5b5ea8,_0x498f8d){return _0x5b5ea8===_0x498f8d;},_0x1d2363[_0x1c5338(0x149)]=function(_0x493903,_0xbedf86){return _0x493903===_0xbedf86;},_0x1d2363[_0x1c5338(0x15a)]='.git',_0x1d2363[_0x1c5338(0x17a)]=_0x1c5338(0x165);const _0x439fd5=_0x1d2363,_0x282d31=path['sep'];if(_0x439fd5[_0x1c5338(0x198)](_0x21bf2a,null)||_0x439fd5[_0x1c5338(0x198)](_0x21bf2a,'')||_0x439fd5[_0x1c5338(0x11b)](_0x21bf2a,_0x282d31)||_0x439fd5['JOxPt'](_0x21bf2a,path['dirname'](_0x21bf2a)))return null;try{return fs[_0x1c5338(0x153)](path[_0x1c5338(0x121)](_0x21bf2a,_0x439fd5[_0x1c5338(0x15a)],_0x439fd5[_0x1c5338(0x17a)])),_0x21bf2a;}catch(_0x1d775d){return this[_0x1c5338(0x15d)](path['dirname'](_0x21bf2a));}}}function a17_0x68f2(){const _0x408ace=['started_at','874260tdfiJS','2246988RdVZyq','aRCXE','finished_at','expected','keys','EUmoM','TestRunStarted','delete','TKbmX','appendTesthubParams','startsWith','1375767NzYgoR','../../../helpers/test-observability/sessionHandler','setCurrentTestData','expanded','backtrace','passed','lslOw','message','YkKvd','kQksy','kEukC','get','join','TestRunFinished','actual','matcherName','zDTyz','parentSuiteId','22qTfYUv','../../../helpers/test-observability/utils','_suitesById','FnnFv','8YNaWwy','_fileNameByFullName','fileNameByFullName','EHUBj','relative','push','match','excluded','JDpaQ','uuid','sKpWT','wTEjW','description','reverse','bRGAt','GEJAr','fullName','261490HuAcXz','uploadEventData','filename','dirname','failure_reason_expanded','failure','25230cyAGVB','Exception\x20deriving\x20jasmine\x20scopes\x20for\x20','AssertionError','_scopes','2zLlnXx','dZDmk','isArray','JOxPt','YEsUQ','rcGaa','tGHCA','XUSwa','742670ZJsMLT','err','set','endsWith','cwd','statSync','HNvRM','AYvkS','PqZOI','lang','testObservability','slice','oBziD','jasmineStarted','QLHwk','_findGitConfig','lvopM','KXSIR','tEUVo','ilbMA','Exception\x20in\x20jasmine\x20specDone\x20for\x20','_sendSpecEvent','failure_backtrace','config','../../../helpers/testhub/utils','length','javascript','378VIKZGH','_resolveFilePath','pending','DtpOc','TestRunSkipped','\x20:\x20','HzzMb','npHmv','add','BXAFq','specDone','fxbVY','jIVVR','dZoMl','Exception\x20in\x20jasmine\x20specStarted\x20for\x20','xNLbh','duration','UzoFR','suiteDone','exports','gylsf','_paths','lweEG','95341LjDoBM','shouldProcessEventForTesthub','status','remove','8yhcVUC','jasmineDone','has','trim','Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20','failed','stack','specStarted','split','number','_collapseFailedExpectations','JASMINE','../../../helpers/test-observability/constants'];a17_0x68f2=function(){return _0x408ace;};return a17_0x68f2();}module[a17_0x4ecbee(0x17c)]=BrowserStackJasmineReporter;
|
|
1
|
+
'use strict';const a17_0x16c43c=a17_0x5eae;function a17_0x5eae(_0x505cba,_0x552361){const _0xa4abe9=a17_0xa4ab();return a17_0x5eae=function(_0x5eae73,_0x514bb5){_0x5eae73=_0x5eae73-0x136;let _0x30f05b=_0xa4abe9[_0x5eae73];return _0x30f05b;},a17_0x5eae(_0x505cba,_0x552361);}(function(_0x13988c,_0x3c50af){const _0x49c0fc=a17_0x5eae,_0x5b9b0b=_0x13988c();while(!![]){try{const _0x3e0fbc=-parseInt(_0x49c0fc(0x181))/0x1*(-parseInt(_0x49c0fc(0x179))/0x2)+parseInt(_0x49c0fc(0x1b3))/0x3*(parseInt(_0x49c0fc(0x1a9))/0x4)+parseInt(_0x49c0fc(0x1ae))/0x5*(-parseInt(_0x49c0fc(0x1b2))/0x6)+parseInt(_0x49c0fc(0x162))/0x7*(parseInt(_0x49c0fc(0x16d))/0x8)+parseInt(_0x49c0fc(0x154))/0x9*(-parseInt(_0x49c0fc(0x189))/0xa)+parseInt(_0x49c0fc(0x173))/0xb+-parseInt(_0x49c0fc(0x13f))/0xc*(parseInt(_0x49c0fc(0x159))/0xd);if(_0x3e0fbc===_0x3c50af)break;else _0x5b9b0b['push'](_0x5b9b0b['shift']());}catch(_0x3ca3bb){_0x5b9b0b['push'](_0x5b9b0b['shift']());}}}(a17_0xa4ab,0x3d59f));const path=require(a17_0x16c43c(0x144)),fs=require('fs'),{v4:uuidv4}=require(a17_0x16c43c(0x160)),testhubUtils=require(a17_0x16c43c(0x185)),{FRAMEWORKS}=require(a17_0x16c43c(0x161)),SessionHandler=require(a17_0x16c43c(0x17f)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a17_0x16c43c(0x16a)),testRunMap=require(a17_0x16c43c(0x147)),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL=a17_0x16c43c(0x1bf),a17_0xd7ecf={};function a17_0xa4ab(){const _0x34c3e5=['description','DzAHj','isArray','AssertionError','EhRww','LbzUQ','split','fullName','684AzWdDY','ojetr','prefixTestPath','statSync','NFzrN','path','Exception\x20deriving\x20jasmine\x20scopes\x20for\x20','uJFDe','../testRunMap','rOoeT','jasmineStarted','FiGsj','wEbLW','rzAuc','toISOString','uehoJ','slice','jxJYR','length','message','Efgct','9Ylocep','expanded','push','cKUrL','config','189319YrPJuC','hjFOz','ITSxS','set','jasmineDone','yvsCq','SZaQo','uuid','../../../helpers/test-observability/constants','1645217XjNBiR','keys','setCurrentTestData','parentSuiteId','VxvRG','kjfkw','BMIQL','failed','../../../helpers/test-observability/utils','dirname','startsWith','16uTbhpc','remove','_suitesById','CsAKl','WTKcq','cXvit','2373679ahgAVk','add','\x20:\x20','suiteDone','backtrace','pqshF','916646eTyrbK','HrmKE','_resolveFilePath','_findGitConfig','gYJzS','pending','../../../helpers/test-observability/sessionHandler','Exception\x20in\x20jasmine\x20specDone\x20for\x20','1EGvnaU','PwWKI','_sendSpecEvent','EPAyg','../../../helpers/testhub/utils','shouldProcessEventForTesthub','delete','status','578660MAzBGG','testObservability','TestRunFinished','oiHjM','gZsFG','appendTesthubParams','exports','duration','err','iWcmU','Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20','Rjlqk','code','LiKNw','MxoZd','number','TestRunStarted','trim','UrcIv','expected','_collapseFailedExpectations','excluded','finished_at','lang','JASMINE','endsWith','get','stack','filename','MGuih','has','sOiVX','1155092fkoJEk','BodDD','BmDKn','passed','skipped','9725lxtDDX','bmSjp','QkiKb','_scopes','906TWiqrI','3KRxCXJ','TestRunSkipped','_fileNameByFullName','actual','specStarted','uvPLE','javascript','specDone','failure','File\x20path\x20could\x20not\x20be\x20found','pQSOY','join','Jasmine','cwd','IKlub','uploadEventData','sep','wmata'];a17_0xa4ab=function(){return _0x34c3e5;};return a17_0xa4ab();}a17_0xd7ecf[a17_0x16c43c(0x1ac)]=a17_0x16c43c(0x1ac),a17_0xd7ecf[a17_0x16c43c(0x169)]=a17_0x16c43c(0x169),a17_0xd7ecf[a17_0x16c43c(0x17e)]=a17_0x16c43c(0x17e),a17_0xd7ecf[a17_0x16c43c(0x19e)]=a17_0x16c43c(0x1ad);const STATUS_MAP=a17_0xd7ecf;class BrowserStackJasmineReporter{constructor(_0x5cb26e={}){const _0x15d4c2=a17_0x16c43c,_0x2a9bb0={'BmDKn':function(_0x403047){return _0x403047();}};this[_0x15d4c2(0x18a)]=_0x2a9bb0[_0x15d4c2(0x1ab)](isTestObservabilitySession),this['_paths']=new PathHelper({'cwd':process[_0x15d4c2(0x1c0)]()},undefined),this['_fileNameByFullName']=_0x5cb26e&&_0x5cb26e['fileNameByFullName']||{},this[_0x15d4c2(0x16f)]=new Map();}[a17_0x16c43c(0x149)](){}['suiteStarted'](_0x46cc54){const _0x259be3=a17_0x16c43c,_0x3eb5a3={'cXvit':function(_0x38c1a8,_0xc13d8b){return _0x38c1a8!==_0xc13d8b;},'oiHjM':function(_0x4781b5,_0x13b331){return _0x4781b5!==_0x13b331;},'nBWeK':function(_0x3ff844,_0x5da6ed){return _0x3ff844(_0x5da6ed);}};try{_0x46cc54&&_0x3eb5a3[_0x259be3(0x172)](_0x46cc54['id'],undefined)&&_0x3eb5a3[_0x259be3(0x18c)](_0x46cc54['id'],null)&&this['_suitesById'][_0x259be3(0x15c)](_0x46cc54['id'],{'description':_0x46cc54[_0x259be3(0x137)],'parentSuiteId':_0x46cc54[_0x259be3(0x165)]});}catch(_0x550ffc){_0x3eb5a3['nBWeK'](debug,'Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20'+(_0x46cc54&&_0x46cc54['fullName'])+_0x259be3(0x175)+_0x550ffc);}}[a17_0x16c43c(0x1b7)](_0x39f4a5){const _0x41f2e7=a17_0x16c43c,_0x20e6ac={'FiGsj':function(_0x25e6f3,_0x1c29b9){return _0x25e6f3!==_0x1c29b9;},'uehoJ':function(_0x449209){return _0x449209();},'wmata':_0x41f2e7(0x199),'gYJzS':function(_0x325f80,_0xacf69a){return _0x325f80(_0xacf69a);}};try{if(_0x20e6ac[_0x41f2e7(0x14a)](testhubUtils[_0x41f2e7(0x186)](),!![]))return;const _0x152e19=_0x20e6ac[_0x41f2e7(0x14e)](uuidv4);testRunMap[_0x41f2e7(0x15c)](_0x39f4a5['id'],_0x152e19),this[_0x41f2e7(0x183)](_0x39f4a5,_0x152e19,_0x20e6ac[_0x41f2e7(0x136)]);}catch(_0x11f205){_0x20e6ac[_0x41f2e7(0x17d)](debug,'Exception\x20in\x20jasmine\x20specStarted\x20for\x20'+(_0x39f4a5&&_0x39f4a5[_0x41f2e7(0x13e)])+_0x41f2e7(0x175)+_0x11f205);}}[a17_0x16c43c(0x1ba)](_0x356e74){const _0x380f9e=a17_0x16c43c,_0x5cb65c={'tNCBC':function(_0x5c3edf,_0x4c8a4a){return _0x5c3edf!==_0x4c8a4a;},'sOiVX':function(_0x1a8a09){return _0x1a8a09();},'Rjlqk':function(_0x505120,_0x42aefe){return _0x505120===_0x42aefe;},'QkiKb':_0x380f9e(0x19e),'pqshF':_0x380f9e(0x1b4),'CsAKl':_0x380f9e(0x18b),'RheUe':function(_0x3c0a2e,_0x5bf211){return _0x3c0a2e(_0x5bf211);}};try{if(_0x5cb65c['tNCBC'](testhubUtils[_0x380f9e(0x186)](),!![]))return;const _0x41412f=testRunMap['get'](_0x356e74['id'])||_0x5cb65c[_0x380f9e(0x1a8)](uuidv4),_0x5a5b22=_0x5cb65c[_0x380f9e(0x194)](_0x356e74['status'],_0x5cb65c[_0x380f9e(0x1b0)])?_0x5cb65c[_0x380f9e(0x178)]:_0x5cb65c[_0x380f9e(0x170)];this['_sendSpecEvent'](_0x356e74,_0x41412f,_0x5a5b22);}catch(_0x50c04b){_0x5cb65c['RheUe'](debug,_0x380f9e(0x180)+(_0x356e74&&_0x356e74[_0x380f9e(0x13e)])+_0x380f9e(0x175)+_0x50c04b);}finally{_0x356e74&&(testRunMap[_0x380f9e(0x16e)](_0x356e74['id']),_specStartTimes[_0x380f9e(0x187)](_0x356e74['id']));}}[a17_0x16c43c(0x176)](){}[a17_0x16c43c(0x15d)](){}[a17_0x16c43c(0x183)](_0x523a68,_0x428f64,_0x58b787){const _0x49d9b2=a17_0x16c43c,_0x5b1b5b={'gZsFG':function(_0x3186e2,_0xdbd1c3){return _0x3186e2===_0xdbd1c3;},'WTKcq':'TestRunFinished','DzAHj':function(_0x13e976,_0x992f50){return _0x13e976===_0x992f50;},'LbzUQ':'TestRunSkipped','rpNNp':_0x49d9b2(0x1bc),'UrcIv':function(_0x1bbf80,_0x2ceeca,_0x51f2fd){return _0x1bbf80(_0x2ceeca,_0x51f2fd);},'JFrGE':_0x49d9b2(0x191),'hjFOz':function(_0x285c76,_0x240fcf){return _0x285c76===_0x240fcf;},'wEbLW':_0x49d9b2(0x199),'krMgH':function(_0x572258,_0x292091){return _0x572258!==_0x292091;},'UDGYU':function(_0x299205,_0x450d17){return _0x299205!==_0x450d17;},'IKlub':function(_0x59d4f2,_0x4a0856){return _0x59d4f2===_0x4a0856;},'ITSxS':_0x49d9b2(0x1b9),'Efgct':function(_0x35dea1,_0x17ac57){return _0x35dea1&&_0x17ac57;},'BqQhy':_0x49d9b2(0x1ad),'BodDD':_0x49d9b2(0x1ac),'EhRww':function(_0x58fd61,_0x58eb86){return _0x58fd61===_0x58eb86;},'rOoeT':_0x49d9b2(0x198),'AyZxw':_0x49d9b2(0x13a),'LiKNw':'UnhandledError','cKUrL':function(_0x13a8a7,_0x437399){return _0x13a8a7===_0x437399;},'uJFDe':'started_at','VxvRG':_0x49d9b2(0x19f),'jTPzI':_0x49d9b2(0x1bb),'MxoZd':'failure_backtrace','jxJYR':_0x49d9b2(0x177),'kiNmB':'failure_reason_expanded','HrmKE':_0x49d9b2(0x155),'pQSOY':function(_0x3753d6,_0xf1a2f4){return _0x3753d6===_0xf1a2f4;},'iWcmU':function(_0x1cfd33,_0x4af389){return _0x1cfd33(_0x4af389);}};try{const _0x515979=_0x5b1b5b[_0x49d9b2(0x18d)](_0x58b787,_0x5b1b5b[_0x49d9b2(0x171)])||_0x5b1b5b[_0x49d9b2(0x138)](_0x58b787,_0x5b1b5b['LbzUQ']),_0x4aaa8d=this[_0x49d9b2(0x17b)](_0x523a68),_0x38d77a=_0x4aaa8d?this['_paths'][_0x49d9b2(0x141)](_0x4aaa8d):_0x5b1b5b['rpNNp'],_0x31f733=_0x4aaa8d?this[_0x49d9b2(0x17c)](path[_0x49d9b2(0x16b)](_0x4aaa8d)):null,_0x1a879a=this[_0x49d9b2(0x19d)](_0x523a68['failedExpectations']),_0x2cbbbd=_0x1a879a?_0x1a879a[_0x49d9b2(0x152)]:undefined,_0x148998=_0x1a879a?_0x5b1b5b[_0x49d9b2(0x19b)](failureData,_0x1a879a,_0x5b1b5b['JFrGE']):[],_0x4fc450=new Date()[_0x49d9b2(0x14d)](),_0x424585=this[_0x49d9b2(0x1b1)](_0x523a68);_0x5b1b5b[_0x49d9b2(0x15a)](_0x58b787,_0x5b1b5b[_0x49d9b2(0x14b)])&&_0x523a68&&_0x5b1b5b['krMgH'](_0x523a68['id'],undefined)&&_0x5b1b5b['UDGYU'](_0x523a68['id'],null)&&_specStartTimes[_0x49d9b2(0x15c)](_0x523a68['id'],_0x4fc450);const _0x2a33f7=_0x5b1b5b[_0x49d9b2(0x1c1)](_0x58b787,_0x5b1b5b[_0x49d9b2(0x14b)])?_0x4fc450:_0x523a68&&_specStartTimes[_0x49d9b2(0x1a3)](_0x523a68['id'])||null,_0x4f73a2={};_0x4f73a2[_0x49d9b2(0x1a0)]=_0x5b1b5b[_0x49d9b2(0x15b)],_0x4f73a2[_0x49d9b2(0x195)]=null;const _0x45d4f4={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0x428f64,'name':_0x523a68['description'],'body':_0x4f73a2,'scope':_0x424585[_0x49d9b2(0x1be)]('\x20'),'scopes':_0x424585,'identifier':_0x523a68[_0x49d9b2(0x13e)],'file_name':_0x38d77a,'vc_filepath':_0x5b1b5b[_0x49d9b2(0x153)](_0x31f733,_0x4aaa8d)?path['relative'](_0x31f733,_0x4aaa8d):null,'location':_0x38d77a,'result':_0x5b1b5b['DzAHj'](_0x58b787,_0x5b1b5b['LbzUQ'])?_0x5b1b5b['BqQhy']:STATUS_MAP[_0x523a68[_0x49d9b2(0x188)]]||_0x5b1b5b[_0x49d9b2(0x1aa)],'failure_reason':_0x2cbbbd,'duration_in_ms':_0x5b1b5b[_0x49d9b2(0x13b)](typeof _0x523a68[_0x49d9b2(0x190)],_0x5b1b5b[_0x49d9b2(0x148)])?_0x523a68[_0x49d9b2(0x190)]:null,'started_at':_0x2a33f7,'finished_at':_0x515979?_0x4fc450:null,'failure':_0x148998,'failure_type':!_0x2cbbbd?null:_0x2cbbbd['match'](/AssertionError/)?_0x5b1b5b['AyZxw']:_0x5b1b5b[_0x49d9b2(0x196)],'retry_of':null};_0x5b1b5b[_0x49d9b2(0x157)](_0x58b787,_0x5b1b5b[_0x49d9b2(0x13c)])&&!_0x45d4f4[_0x5b1b5b[_0x49d9b2(0x146)]]&&(_0x45d4f4[_0x5b1b5b['uJFDe']]=_0x45d4f4[_0x5b1b5b[_0x49d9b2(0x166)]]);const _0x43e27e=_0x45d4f4[_0x5b1b5b['jTPzI']][0x0];_0x43e27e&&(_0x45d4f4[_0x5b1b5b[_0x49d9b2(0x197)]]=_0x43e27e[_0x5b1b5b[_0x49d9b2(0x150)]],_0x45d4f4[_0x5b1b5b['kiNmB']]=_0x43e27e[_0x5b1b5b[_0x49d9b2(0x17a)]]);testhubUtils[_0x49d9b2(0x18e)](_0x45d4f4,_0x58b787,_0x523a68,FRAMEWORKS[_0x49d9b2(0x1a1)]);const _0xae7a95={'event_type':_0x5b1b5b[_0x49d9b2(0x1bd)](_0x58b787,_0x5b1b5b[_0x49d9b2(0x13c)])?_0x5b1b5b[_0x49d9b2(0x171)]:_0x58b787,'test_run':_0x45d4f4};return testhubUtils[_0x49d9b2(0x164)](FRAMEWORKS['JASMINE'],_0xae7a95),SessionHandler[_0x49d9b2(0x1c2)](_0xae7a95);}catch(_0x3a09bd){_0x5b1b5b[_0x49d9b2(0x192)](debug,_0x49d9b2(0x193)+_0x58b787+_0x49d9b2(0x175)+_0x3a09bd);}}[a17_0x16c43c(0x1b1)](_0x76e0f1){const _0x45084=a17_0x16c43c,_0x8e1baf={'iZzru':function(_0x3f5d8a,_0x2747a7){return _0x3f5d8a!==_0x2747a7;},'SZaQo':function(_0x361115,_0x57311f){return _0x361115!==_0x57311f;},'EPAyg':function(_0xa2253,_0x234ff4){return _0xa2253>_0x234ff4;},'kjfkw':function(_0x5b4936,_0x4db3d0){return _0x5b4936(_0x4db3d0);},'PwWKI':function(_0x578439,_0x40a664){return _0x578439-_0x40a664;}};try{const _0x14f63f=[];let _0x33d962=_0x76e0f1&&_0x76e0f1[_0x45084(0x165)];const _0x1995fe=new Set();while(_0x8e1baf['iZzru'](_0x33d962,undefined)&&_0x8e1baf[_0x45084(0x15f)](_0x33d962,null)&&this[_0x45084(0x16f)][_0x45084(0x1a7)](_0x33d962)&&!_0x1995fe[_0x45084(0x1a7)](_0x33d962)){_0x1995fe[_0x45084(0x174)](_0x33d962);const _0xc6ad11=this[_0x45084(0x16f)][_0x45084(0x1a3)](_0x33d962);_0xc6ad11&&_0xc6ad11[_0x45084(0x137)]&&_0x14f63f[_0x45084(0x156)](_0xc6ad11['description']),_0x33d962=_0xc6ad11?_0xc6ad11[_0x45084(0x165)]:null;}if(_0x8e1baf[_0x45084(0x184)](_0x14f63f['length'],0x0))return _0x14f63f['reverse']();}catch(_0x4b729c){_0x8e1baf[_0x45084(0x167)](debug,_0x45084(0x145)+(_0x76e0f1&&_0x76e0f1[_0x45084(0x13e)])+_0x45084(0x175)+_0x4b729c);}const _0x2b94c9=_0x76e0f1&&_0x76e0f1[_0x45084(0x13e)]||'',_0xce1f39=_0x76e0f1&&_0x76e0f1[_0x45084(0x137)]||'';let _0x2069c4=_0x2b94c9;return _0xce1f39&&_0x2b94c9[_0x45084(0x1a2)](_0xce1f39)&&(_0x2069c4=_0x2b94c9[_0x45084(0x14f)](0x0,_0x8e1baf[_0x45084(0x182)](_0x2b94c9[_0x45084(0x151)],_0xce1f39[_0x45084(0x151)]))[_0x45084(0x19a)]()),_0x2069c4?_0x2069c4[_0x45084(0x13d)](/\s+/):[];}[a17_0x16c43c(0x17b)](_0x3ed265){const _0x5ba1be=a17_0x16c43c,_0x1494cc={};_0x1494cc['MGuih']=function(_0x381a5d,_0x212c1d){return _0x381a5d===_0x212c1d;},_0x1494cc[_0x5ba1be(0x14c)]=function(_0x322fda,_0x5153de){return _0x322fda+_0x5153de;},_0x1494cc[_0x5ba1be(0x168)]=function(_0x945780,_0x23a7c3){return _0x945780>_0x23a7c3;};const _0x45f48a=_0x1494cc;if(_0x3ed265&&_0x3ed265[_0x5ba1be(0x1a5)])return _0x3ed265['filename'];if(_0x3ed265&&_0x3ed265[_0x5ba1be(0x13e)]){if(this[_0x5ba1be(0x1b5)][_0x3ed265[_0x5ba1be(0x13e)]])return this[_0x5ba1be(0x1b5)][_0x3ed265[_0x5ba1be(0x13e)]];let _0x236212=null,_0x3a7da2=-0x1;for(const _0x170494 of Object[_0x5ba1be(0x163)](this[_0x5ba1be(0x1b5)])){(_0x45f48a[_0x5ba1be(0x1a6)](_0x3ed265[_0x5ba1be(0x13e)],_0x170494)||_0x3ed265[_0x5ba1be(0x13e)][_0x5ba1be(0x16c)](_0x45f48a[_0x5ba1be(0x14c)](_0x170494,'\x20')))&&_0x45f48a['BMIQL'](_0x170494[_0x5ba1be(0x151)],_0x3a7da2)&&(_0x236212=this[_0x5ba1be(0x1b5)][_0x170494],_0x3a7da2=_0x170494[_0x5ba1be(0x151)]);}if(_0x236212)return _0x236212;}return null;}['_collapseFailedExpectations'](_0x4d33b2){const _0x45e689=a17_0x16c43c,_0xb36bc0={};_0xb36bc0['yvsCq']=function(_0x4e29eb,_0x17a6a0){return _0x4e29eb===_0x17a6a0;},_0xb36bc0[_0x45e689(0x143)]='Spec\x20failed';const _0x5899ca=_0xb36bc0;if(!Array[_0x45e689(0x139)](_0x4d33b2)||_0x5899ca[_0x45e689(0x15e)](_0x4d33b2['length'],0x0))return undefined;const _0x103a35=[],_0x316447=[];for(const _0x244ea9 of _0x4d33b2){_0x244ea9&&_0x244ea9[_0x45e689(0x152)]&&_0x103a35[_0x45e689(0x156)](_0x244ea9['message']),_0x244ea9&&_0x244ea9['stack']&&_0x316447[_0x45e689(0x156)](_0x244ea9[_0x45e689(0x1a4)]);}const _0x1c6e92=_0x4d33b2[0x0]||{},_0x4940b2=_0x103a35[_0x45e689(0x1be)]('\x0a')||_0x1c6e92[_0x45e689(0x152)]||_0x5899ca['NFzrN'],_0x2d73de=_0x316447[_0x45e689(0x1be)]('\x0a\x0a')||_0x1c6e92[_0x45e689(0x1a4)]||_0x4940b2,_0x1754f6={};return _0x1754f6[_0x45e689(0x152)]=_0x4940b2,_0x1754f6[_0x45e689(0x1a4)]=_0x2d73de,_0x1754f6['matcherName']=_0x1c6e92['matcherName'],_0x1754f6[_0x45e689(0x19c)]=_0x1c6e92[_0x45e689(0x19c)],_0x1754f6[_0x45e689(0x1b6)]=_0x1c6e92[_0x45e689(0x1b6)],_0x1754f6;}['_findGitConfig'](_0x184400){const _0xefee8f=a17_0x16c43c,_0x6a7fb3={};_0x6a7fb3['bmSjp']=function(_0x28126a,_0x525c1a){return _0x28126a===_0x525c1a;},_0x6a7fb3[_0xefee8f(0x140)]='.git',_0x6a7fb3[_0xefee8f(0x1b8)]=_0xefee8f(0x158);const _0x367d81=_0x6a7fb3,_0x7c84ab=path[_0xefee8f(0x1c3)];if(_0x367d81[_0xefee8f(0x1af)](_0x184400,null)||_0x367d81[_0xefee8f(0x1af)](_0x184400,'')||_0x367d81[_0xefee8f(0x1af)](_0x184400,_0x7c84ab)||_0x367d81[_0xefee8f(0x1af)](_0x184400,path[_0xefee8f(0x16b)](_0x184400)))return null;try{return fs[_0xefee8f(0x142)](path['join'](_0x184400,_0x367d81[_0xefee8f(0x140)],_0x367d81[_0xefee8f(0x1b8)])),_0x184400;}catch(_0x514c20){return this[_0xefee8f(0x17c)](path['dirname'](_0x184400));}}}module[a17_0x16c43c(0x18f)]=BrowserStackJasmineReporter;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a18_0x3b92(_0x5c2596,_0x562dc3){const _0x24c91c=a18_0x24c9();return a18_0x3b92=function(_0x3b9280,_0x156e7d){_0x3b9280=_0x3b9280-0x8d;let _0x4c892d=_0x24c91c[_0x3b9280];return _0x4c892d;},a18_0x3b92(_0x5c2596,_0x562dc3);}function a18_0x24c9(){const _0x1df017=['bFHOw','../../helpers/utilities','QqOob','p-limit','Jasmine\x20child\x20spawn\x20error\x20(platformIndex=','Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20','binSessionId','isBrowserstackInfra','../../helpers/helper','printBuildLink','nREnF','existsSync','BzMKY','CvVgU','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','JASMINE_CONFIG_PATH','irwPH','accessibilityOptions','GjdYK','\x20work-item(s),\x20max\x20','spec_files',',\x20specs=','push','BROWSERSTACK_CAPABILITIES','getMultiDriverWorkerConfig','jasmine\x20child\x20(platformIndex=','370lcZUjq','cwd','readFileSync','FRAMEWORKS','Mcfqg',';\x20proceeding\x20without\x20injection','lSDSu','\x20:\x20','PZzmW','JSIgP','JIiqR','trim','wNyqz','Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20','FjTPB','Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20','spec_dir','4704636IIYsKs','startsWith','hFZwS','finalExecution','parseFileNames','SDK_SETUP','join','../../helpers/performance/performance-tester','All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20','capability','Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20','eGhvn','orPer','format','handleApp','platforms','find','info','maxWorkers',')\x20exited\x20with\x20code\x20','@playwright/test','validPlatformsPresent','WCkrF','BROWSERSTACK_CLI_BIN_SESSION_ID','DRSPA','stringify','inherit','CZYMW','testObservability','isUndefined','assign','prepareCapabilities','spec/support/jasmine.json','Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20','parallelsPerPlatform','SDK_CLEANUP','2867712AIAyXi','**/*[sS]pec.?(m)js','shouldReRunObservabilityTests','Running\x20your\x20Jasmine\x20tests\x20across\x20','../../helpers/performance/constants','globSync','Ukugt','map','__isPlaywrightInstalled','24vrvTzp','Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20','MxsMB','BROWSERSTACK_TEST_OBSERVABILITY_YML','path','ZtOqR','stop','LLOzG','resolve','spec','Exception\x20preparing\x20Jasmine\x20multi-driver\x20config;\x20spawning\x20children\x20single-driver\x20:\x20','../utils/constants','isArray','test.setup.js','useW3C','error','glob','start','env','\x20platform(s),\x20parallelsPerPlatform=','xXlSD','JASMINE','WJRIC','parse','all','YfHPI','filter','getHubUrl','exitCode','../../helpers/logger','2541996MIUupk','getPackageVersion','23292WwZRPU','posix','platform','win32','fBdro','npx','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','logLevel','qRCxw','debug','isCLIEnabled','__isPuppeteerInstalled','ZWxeV','../../helpers/test-observability/constants','yoZxh','egbZk','MqCbA','TOFAn','jasmine','IVQxn','utf8','LjNST','Tglps','TjEUV','574167FAibWu','2jaDqEB','UxNgT','Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20','../../helpers/test-observability/utils','from','config','nFrsY','../../helpers/puppeteer-helper','1185695VPrXJG','specArgs','CRIkF','platformIndex','917240EbSQCj','length','getInstance','slice','QYOtd','RLqFk','RPRnw'];a18_0x24c9=function(){return _0x1df017;};return a18_0x24c9();}const a18_0x52c60d=a18_0x3b92;(function(_0x1bf183,_0x597f80){const _0x475545=a18_0x3b92,_0xd6a25d=_0x1bf183();while(!![]){try{const _0x3fcba2=parseInt(_0x475545(0xb3))/0x1*(-parseInt(_0x475545(0xb4))/0x2)+-parseInt(_0x475545(0x99))/0x3+parseInt(_0x475545(0x116))/0x4+parseInt(_0x475545(0xc0))/0x5+parseInt(_0x475545(0xf2))/0x6+parseInt(_0x475545(0xbc))/0x7*(parseInt(_0x475545(0x11f))/0x8)+-parseInt(_0x475545(0x9b))/0x9*(-parseInt(_0x475545(0xe1))/0xa);if(_0x3fcba2===_0x597f80)break;else _0xd6a25d['push'](_0xd6a25d['shift']());}catch(_0x49a109){_0xd6a25d['push'](_0xd6a25d['shift']());}}}(a18_0x24c9,0xd3a4e));const fs=require('fs'),path=require(a18_0x52c60d(0x123)),util=require('util'),{spawn}=require('child_process'),glob=require(a18_0x52c60d(0x12f)),pLimit=require(a18_0x52c60d(0xca)),logger=require(a18_0x52c60d(0x98))['winstonLogger'],helper=require(a18_0x52c60d(0xcf)),utilities=require(a18_0x52c60d(0xc8)),constants=require(a18_0x52c60d(0x12a)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testOpsHelper=require(a18_0x52c60d(0xb7)),{debug}=require(a18_0x52c60d(0xb7)),{FRAMEWORKS}=require(a18_0x52c60d(0xa8)),PerformanceTester=require(a18_0x52c60d(0xf9)),PerformanceEvents=require(a18_0x52c60d(0x11a))['EVENTS'],BrowserstackCLI=require('../v2/browserstackCLI'),{checkPwandBootstrapCli}=require('../../helpers/playwright-helper'),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a18_0x52c60d(0xbb)),getMaxWorkers=(_0x4bfc40,_0x6c0f7c)=>{const _0x41f847=a18_0x52c60d,_0x4ccddf={'orPer':function(_0x570660,_0x31414c){return _0x570660(_0x31414c);}};let _0x46002e=0x1;if(!helper[_0x41f847(0x10f)](_0x6c0f7c[_0x41f847(0x114)]))_0x46002e=_0x4ccddf[_0x41f847(0xfe)](parseInt,_0x6c0f7c[_0x41f847(0x114)]);else!helper['isUndefined'](_0x4bfc40[_0x41f847(0x104)])&&(_0x46002e=_0x4bfc40[_0x41f847(0x104)]);return _0x46002e;},resolveJasmineConfigPath=()=>{const _0xdc5c66=a18_0x52c60d,_0x5b3be2={};_0x5b3be2[_0xdc5c66(0xfd)]=_0xdc5c66(0x112);const _0x240d0a=_0x5b3be2,_0x3fcbfc=[];process[_0xdc5c66(0x8d)][_0xdc5c66(0xd6)]&&_0x3fcbfc[_0xdc5c66(0xdd)](path[_0xdc5c66(0x127)](process[_0xdc5c66(0xe2)](),process[_0xdc5c66(0x8d)][_0xdc5c66(0xd6)]));_0x3fcbfc[_0xdc5c66(0xdd)](path[_0xdc5c66(0x127)](process[_0xdc5c66(0xe2)](),_0x240d0a[_0xdc5c66(0xfd)]));for(const _0x2b1433 of _0x3fcbfc){try{if(fs['existsSync'](_0x2b1433))return _0x2b1433;}catch(_0x4ce2d4){}}return null;},enumerateSpecFiles=_0x45c44f=>{const _0x92772b=a18_0x52c60d,_0x23787d={'QYOtd':function(_0x81e338,_0x5c8627){return _0x81e338(_0x5c8627);},'LjNST':function(_0x3b0ef4,_0xc8774d){return _0x3b0ef4>_0xc8774d;},'MqCbA':function(_0xc14046,_0x5d8476){return _0xc14046<_0x5d8476;},'WCkrF':function(_0x17dd20,_0x2d60a9){return _0x17dd20===_0x2d60a9;},'LLOzG':'string','RPRnw':function(_0x218a65,_0x8ddbcd,_0x33ab23){return _0x218a65(_0x8ddbcd,_0x33ab23);},'xXlSD':function(_0x5559d2){return _0x5559d2();},'yoZxh':_0x92772b(0xaf),'nFrsY':_0x92772b(0x128),'ZWxeV':function(_0x13fcc3,_0x1c3ba){return _0x13fcc3>_0x1c3ba;},'tnHUb':_0x92772b(0x117),'lSDSu':function(_0xbb06c5,_0x40dc37){return _0xbb06c5>_0x40dc37;},'ZtOqR':function(_0x2d26dc,_0x1d4d9c){return _0x2d26dc(_0x1d4d9c);}};try{if(testOpsHelper[_0x92772b(0x118)]()){const _0x5eee1f=testOpsHelper[_0x92772b(0xf6)](process[_0x92772b(0x8d)]['BROWSERSTACK_RERUN_TESTS']);if(Array[_0x92772b(0x12b)](_0x5eee1f)&&_0x23787d[_0x92772b(0xb0)](_0x5eee1f['length'],0x0))return _0x5eee1f['map'](_0x72f6b8=>path['resolve'](process[_0x92772b(0xe2)](),_0x72f6b8[_0x92772b(0xec)]()))[_0x92772b(0x95)](Boolean);}}catch(_0x2d41e4){_0x23787d['QYOtd'](debug,_0x92772b(0xee)+util[_0x92772b(0xff)](_0x2d41e4));}const _0x502c91=[];try{for(let _0x318bbe=0x1;_0x23787d[_0x92772b(0xab)](_0x318bbe,_0x45c44f['length']);_0x318bbe++){const _0x2f9178=_0x45c44f[_0x318bbe];_0x23787d[_0x92772b(0x108)](typeof _0x2f9178,_0x23787d[_0x92772b(0x126)])&&!_0x2f9178[_0x92772b(0xf3)]('-')&&_0x502c91[_0x92772b(0xdd)](_0x2f9178);}}catch(_0x31644f){}const _0x48ac33={'cwd':process[_0x92772b(0xe2)](),'absolute':!![],'nodir':!![]},_0x408ebb=(_0x37cd6a,_0xf0fad7)=>{const _0x377604=_0x92772b,_0x36ac71=[];for(const _0x109726 of _0x37cd6a){try{const _0x2ff774=_0xf0fad7?path[_0x377604(0x9c)][_0x377604(0xf8)](_0xf0fad7,_0x109726):_0x109726,_0x2fb60e=glob[_0x377604(0x11b)](_0x2ff774,_0x48ac33);Array[_0x377604(0x12b)](_0x2fb60e)&&_0x36ac71[_0x377604(0xdd)](..._0x2fb60e);}catch(_0x4ca170){_0x23787d[_0x377604(0xc4)](debug,'Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27'+_0x109726+'\x27\x20:\x20'+util[_0x377604(0xff)](_0x4ca170));}}return _0x36ac71;};if(_0x23787d['LjNST'](_0x502c91['length'],0x0)){const _0x33382a=_0x23787d[_0x92772b(0xc6)](_0x408ebb,_0x502c91,null);if(_0x23787d[_0x92772b(0xb0)](_0x33382a[_0x92772b(0xc1)],0x0))return Array[_0x92772b(0xb8)](new Set(_0x33382a));return _0x502c91[_0x92772b(0x11d)](_0x15c765=>path[_0x92772b(0x127)](process[_0x92772b(0xe2)](),_0x15c765));}try{const _0x22d59d=_0x23787d[_0x92772b(0x8f)](resolveJasmineConfigPath);if(_0x22d59d){const _0x5f586c=JSON[_0x92772b(0x92)](fs[_0x92772b(0xe3)](_0x22d59d,_0x23787d[_0x92772b(0xa9)])),_0x14c78c=_0x5f586c[_0x92772b(0xf1)]||_0x23787d[_0x92772b(0xba)],_0x918e70=Array[_0x92772b(0x12b)](_0x5f586c['spec_files'])&&_0x23787d[_0x92772b(0xa7)](_0x5f586c[_0x92772b(0xdb)][_0x92772b(0xc1)],0x0)?_0x5f586c[_0x92772b(0xdb)]:[_0x23787d['tnHUb']],_0x5c9556=_0x23787d[_0x92772b(0xc6)](_0x408ebb,_0x918e70,_0x14c78c);if(_0x23787d[_0x92772b(0xe7)](_0x5c9556[_0x92772b(0xc1)],0x0))return Array[_0x92772b(0xb8)](new Set(_0x5c9556));}}catch(_0x3fe17c){_0x23787d[_0x92772b(0x124)](debug,_0x92772b(0x120)+util[_0x92772b(0xff)](_0x3fe17c));}return null;};async function run(_0x1c7a46,_0x270469,_0x4241b9){const _0x4936bc=a18_0x52c60d,_0x7bbad0={'VsTHq':function(_0x5af276,_0x13511b){return _0x5af276>_0x13511b;},'QqOob':function(_0x7f867f,_0x61639f){return _0x7f867f>_0x61639f;},'JIiqR':function(_0x146434,_0x18a11d){return _0x146434(_0x18a11d);},'MxsMB':_0x4936bc(0x93),'WJRIC':function(_0x414de7,_0x1f7d88){return _0x414de7||_0x1f7d88;},'PZzmW':function(_0x139aa1,_0x8003a){return _0x139aa1>_0x8003a;},'BzMKY':function(_0x5bd33f,_0xef6709,_0x41ebd8,_0x44ebe8){return _0x5bd33f(_0xef6709,_0x41ebd8,_0x44ebe8);},'UxNgT':_0x4936bc(0xa0),'CIaYI':_0x4936bc(0xad),'irwPH':function(_0x6d2af3,_0x4dc825){return _0x6d2af3===_0x4dc825;},'YKxrd':_0x4936bc(0x9e),'bFHOw':_0x4936bc(0x10c),'DRSPA':'close','nREnF':_0x4936bc(0x12e),'QKLLW':_0x4936bc(0x106),'Ukugt':function(_0x453e76){return _0x453e76();},'Tglps':function(_0x2974db,_0x529d10,_0x30e6a9,_0x5d6e2b){return _0x2974db(_0x529d10,_0x30e6a9,_0x5d6e2b);},'qRCxw':function(_0x2e9dff,_0x72894a){return _0x2e9dff!=_0x72894a;},'TOFAn':'true','CvVgU':function(_0x2cc9d2,_0xa0d0f2){return _0x2cc9d2(_0xa0d0f2);},'CRIkF':function(_0x5adf17,_0x44300d){return _0x5adf17(_0x44300d);},'TjEUV':function(_0x536599,_0x251e8a,_0x18054c){return _0x536599(_0x251e8a,_0x18054c);},'RLqFk':function(_0x4f18ad,_0x477515){return _0x4f18ad*_0x477515;},'egbZk':function(_0x5226ec,_0x492847){return _0x5226ec(_0x492847);},'hFZwS':_0x4936bc(0x12c),'YfHPI':function(_0x318df5,_0x5a0c5f){return _0x318df5(_0x5a0c5f);},'IVQxn':function(_0x193b49,_0x5213c1){return _0x193b49<_0x5213c1;},'Mcfqg':function(_0x1480f5,_0x503b5a){return _0x1480f5>_0x503b5a;},'CZYMW':function(_0x189387,_0x12c1fe){return _0x189387>_0x12c1fe;},'GjdYK':function(_0xcf239e,_0x2dbf8d){return _0xcf239e(_0x2dbf8d);},'FjTPB':function(_0x524dae,_0xc105fc){return _0x524dae>_0xc105fc;}},_0x512280=helper[_0x4936bc(0x9a)](_0x7bbad0['QKLLW']);global[_0x4936bc(0x11e)]=!!_0x512280;const _0x19a1c9=_0x7bbad0[_0x4936bc(0x11c)](getPuppeteerVersion);global[_0x4936bc(0xa6)]=!!_0x19a1c9;helper[_0x4936bc(0xce)]()&&(await _0x4241b9['initialize'](_0x1c7a46),await helper[_0x4936bc(0x100)](_0x4241b9['config']));if(_0x512280)await _0x7bbad0['BzMKY'](checkPwandBootstrapCli,_0x512280,constants[_0x4936bc(0xe4)][_0x4936bc(0x90)],_0x4241b9);else _0x19a1c9&&await _0x7bbad0[_0x4936bc(0xb1)](checkPuppeteerAndBootstrapCli,_0x19a1c9,constants[_0x4936bc(0xe4)][_0x4936bc(0x90)],_0x4241b9);if(!_0x4241b9[_0x4936bc(0xb9)])return;_0x7bbad0[_0x4936bc(0xa3)](_0x4241b9[_0x4936bc(0xb9)]['testObservability'],null)?process['env'][_0x4936bc(0x122)]=_0x4241b9[_0x4936bc(0xb9)][_0x4936bc(0x10e)]:process[_0x4936bc(0x8d)][_0x4936bc(0x122)]=_0x7bbad0[_0x4936bc(0xac)];!helper[_0x4936bc(0x10f)](_0x4241b9[_0x4936bc(0xb9)]['accessibilityOptions'])&&(process[_0x4936bc(0x8d)][_0x4936bc(0xd5)]=JSON[_0x4936bc(0x10b)](_0x4241b9[_0x4936bc(0xb9)][_0x4936bc(0xd8)]));try{await TestHubHandler['launchBuild'](FRAMEWORKS[_0x4936bc(0x90)],_0x4241b9);}catch(_0x32f99d){logger[_0x4936bc(0x12e)]('[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20'+util[_0x4936bc(0xff)](_0x32f99d)),_0x7bbad0[_0x4936bc(0xeb)](debug,_0x4936bc(0xfc)+util[_0x4936bc(0xff)](_0x32f99d));}let _0xe94e6f=![],_0x3ce4d0=[];try{_0xe94e6f=helper[_0x4936bc(0x12d)](_0x4241b9[_0x4936bc(0xb9)]),_0x3ce4d0=helper[_0x4936bc(0x111)](_0x4241b9[_0x4936bc(0xb9)],_0xe94e6f,constants[_0x4936bc(0xe4)][_0x4936bc(0x90)]),process[_0x4936bc(0x8d)][_0x4936bc(0xde)]=JSON[_0x4936bc(0x10b)](_0x3ce4d0);}catch(_0x45cf26){_0x7bbad0[_0x4936bc(0xd4)](debug,_0x4936bc(0xf0)+util[_0x4936bc(0xff)](_0x45cf26));}let _0x2d0669=null,_0x2907e7=![];try{_0x2d0669=helper[_0x4936bc(0x96)](_0x4241b9[_0x4936bc(0xb9)]),_0x2907e7=helper[_0x4936bc(0x107)](_0x4241b9[_0x4936bc(0xb9)]);}catch(_0x14a268){_0x7bbad0[_0x4936bc(0xbe)](debug,'Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20'+util[_0x4936bc(0xff)](_0x14a268));}let _0x115761={};try{_0x115761=helper[_0x4936bc(0xdf)](_0x4241b9[_0x4936bc(0xb9)],_0xe94e6f,constants[_0x4936bc(0xe4)][_0x4936bc(0x90)]);}catch(_0x233201){_0x7bbad0['CvVgU'](debug,_0x4936bc(0x129)+util[_0x4936bc(0xff)](_0x233201));}const _0x530215=_0x4bac99=>{const _0x441132=_0x4936bc,_0x5c6ba9=Array[_0x441132(0x12b)](_0x3ce4d0)&&_0x7bbad0['VsTHq'](_0x3ce4d0[_0x441132(0xc1)],_0x4bac99)?_0x3ce4d0[_0x4bac99]:Array[_0x441132(0x12b)](_0x3ce4d0)&&_0x7bbad0[_0x441132(0xc9)](_0x3ce4d0[_0x441132(0xc1)],0x0)?_0x3ce4d0[0x0]:{};return Object[_0x441132(0x110)]({'server':_0x2d0669,'capability':_0x5c6ba9,'proxySettings':_0x4241b9[_0x441132(0xb9)]['proxySettings'],'platform':helper['getPlatformName'](_0x5c6ba9),'browserStackLogLevel':_0x4241b9[_0x441132(0xb9)][_0x441132(0xa2)],'platformIndex':_0x4bac99,'framework':constants[_0x441132(0xe4)][_0x441132(0x90)],'platformCaps':_0x2907e7?Object['assign']({'index':_0x4bac99},_0x4241b9[_0x441132(0xb9)]['platforms'][_0x4bac99]):{'index':_0x4bac99}},_0x115761);};let _0x2b7923=0x1,_0x21db02=0x1,_0x4c476d=0x1;try{_0x2b7923=_0x7bbad0[_0x4936bc(0xb2)](getMaxWorkers,_0x1c7a46,_0x4241b9[_0x4936bc(0xb9)]),_0x21db02=_0x2907e7?_0x4241b9[_0x4936bc(0xb9)][_0x4936bc(0x101)]['length']:0x1,_0x4c476d=_0x7bbad0[_0x4936bc(0xc5)](_0x21db02,_0x2b7923),process[_0x4936bc(0x8d)]['BROWSERSTACK_JASMINE_PARALLELS']=_0x7bbad0[_0x4936bc(0xd4)](String,_0x4c476d);}catch(_0x1bb4c7){_0x7bbad0['egbZk'](debug,_0x4936bc(0xcc)+util[_0x4936bc(0xff)](_0x1bb4c7));}try{BrowserstackCLI[_0x4936bc(0xc2)]()['binSessionId']&&(process['env'][_0x4936bc(0x109)]=BrowserstackCLI[_0x4936bc(0xc2)]()[_0x4936bc(0xcd)]);}catch(_0x54e38d){_0x7bbad0[_0x4936bc(0xaa)](debug,_0x4936bc(0x113)+util[_0x4936bc(0xff)](_0x54e38d));}const _0x41df33=[];try{const _0x50d120=path[_0x4936bc(0x127)](__dirname,_0x7bbad0[_0x4936bc(0xf4)]);fs[_0x4936bc(0xd2)](_0x50d120)?_0x41df33[_0x4936bc(0xdd)]('--helper='+_0x50d120):_0x7bbad0[_0x4936bc(0xd4)](debug,'Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20'+_0x50d120+_0x4936bc(0xe6));}catch(_0x57c14c){_0x7bbad0[_0x4936bc(0x94)](debug,'Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20'+util[_0x4936bc(0xff)](_0x57c14c));}const _0x477a6d=_0x270469[_0x4936bc(0xc3)](0x1),_0x1e2d49=_0x7bbad0['egbZk'](enumerateSpecFiles,_0x270469),_0x309582=[];for(let _0x26d174=0x0;_0x7bbad0[_0x4936bc(0xae)](_0x26d174,_0x21db02);_0x26d174++){if(_0x7bbad0[_0x4936bc(0xe5)](_0x2b7923,0x1)&&Array['isArray'](_0x1e2d49)&&_0x7bbad0[_0x4936bc(0x10d)](_0x1e2d49[_0x4936bc(0xc1)],0x0))for(const _0x39f528 of _0x1e2d49){const _0x1ac122={};_0x1ac122[_0x4936bc(0xbf)]=_0x26d174,_0x1ac122[_0x4936bc(0xbd)]=[_0x39f528],_0x309582[_0x4936bc(0xdd)](_0x1ac122);}else{const _0x52b654={};_0x52b654['platformIndex']=_0x26d174,_0x52b654[_0x4936bc(0xbd)]=_0x1e2d49,_0x309582[_0x4936bc(0xdd)](_0x52b654);}}logger[_0x4936bc(0x103)](_0x4936bc(0x119)+_0x21db02+_0x4936bc(0x8e)+_0x2b7923+'\x20('+_0x309582[_0x4936bc(0xc1)]+_0x4936bc(0xda)+_0x4c476d+'\x20concurrent)'),PerformanceTester['end'](PerformanceEvents[_0x4936bc(0xf7)]);const _0x781062=_0x58814c=>new Promise(_0x339ec3=>{const _0xf2d35d=_0x4936bc,_0x19e46d={'JSIgP':_0x7bbad0[_0xf2d35d(0x121)],'fBdro':function(_0x4a21fa,_0x20b074){const _0x110a7a=_0xf2d35d;return _0x7bbad0[_0x110a7a(0xeb)](_0x4a21fa,_0x20b074);},'wNyqz':function(_0x396828,_0x4daff1){const _0x5e026c=_0xf2d35d;return _0x7bbad0[_0x5e026c(0x91)](_0x396828,_0x4daff1);}};let _0x18ebae;try{const _0x2d9aff=_0x7bbad0[_0xf2d35d(0xeb)](_0x530215,_0x58814c[_0xf2d35d(0xbf)]);_0x18ebae=Object['assign']({},process[_0xf2d35d(0x8d)],{'BROWSERSTACK_JASMINE_CONFIG':JSON[_0xf2d35d(0x10b)](_0x2d9aff),'BROWSERSTACK_CAPABILITIES':JSON[_0xf2d35d(0x10b)]([_0x2d9aff[_0xf2d35d(0xfb)]]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0x4ce476){_0x7bbad0[_0xf2d35d(0xeb)](debug,_0xf2d35d(0xb6)+_0x58814c[_0xf2d35d(0xbf)]+_0xf2d35d(0xe8)+util[_0xf2d35d(0xff)](_0x4ce476)),_0x18ebae=Object[_0xf2d35d(0x110)]({},process[_0xf2d35d(0x8d)]);}const _0x37fc84=Array[_0xf2d35d(0x12b)](_0x58814c['specArgs'])?_0x58814c[_0xf2d35d(0xbd)]:[],_0x2d2da4=_0x7bbad0[_0xf2d35d(0xe9)](_0x37fc84[_0xf2d35d(0xc1)],0x0)?_0x477a6d[_0xf2d35d(0x95)](_0x276f9b=>typeof _0x276f9b==='string'&&_0x276f9b[_0xf2d35d(0xf3)]('-')):_0x477a6d,_0x2f6161=[..._0x41df33,..._0x2d2da4,..._0x37fc84];try{const _0x8e6558=_0x7bbad0[_0xf2d35d(0xd3)](spawn,_0x7bbad0[_0xf2d35d(0xb5)],[_0x7bbad0['CIaYI'],..._0x2f6161],{'shell':_0x7bbad0[_0xf2d35d(0xd7)](process[_0xf2d35d(0x9d)],_0x7bbad0['YKxrd']),'stdio':_0x7bbad0[_0xf2d35d(0xc7)],'env':_0x18ebae});_0x8e6558['on'](_0x7bbad0[_0xf2d35d(0x10a)],_0xee7f63=>{const _0x843c78=_0xf2d35d;logger['debug'](_0x843c78(0xe0)+_0x58814c[_0x843c78(0xbf)]+_0x843c78(0xdc)+(_0x37fc84[_0x843c78(0xc1)]?_0x37fc84[_0x843c78(0xf8)](','):_0x19e46d[_0x843c78(0xea)])+_0x843c78(0x105)+_0xee7f63),_0x19e46d[_0x843c78(0x9f)](_0x339ec3,_0x19e46d[_0x843c78(0xed)](_0xee7f63,0x0));}),_0x8e6558['on'](_0x7bbad0[_0xf2d35d(0xd1)],_0x1336b9=>{const _0x30d2ee=_0xf2d35d;_0x7bbad0[_0x30d2ee(0xeb)](debug,_0x30d2ee(0xcb)+_0x58814c[_0x30d2ee(0xbf)]+')\x20:\x20'+util[_0x30d2ee(0xff)](_0x1336b9)),_0x7bbad0[_0x30d2ee(0xeb)](_0x339ec3,0x1);});}catch(_0x2a847a){_0x7bbad0['JIiqR'](debug,'Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex='+_0x58814c[_0xf2d35d(0xbf)]+')\x20:\x20'+util[_0xf2d35d(0xff)](_0x2a847a)),_0x7bbad0[_0xf2d35d(0xeb)](_0x339ec3,0x1);}}),_0x30280d=_0x7bbad0[_0x4936bc(0xd9)](pLimit,_0x7bbad0[_0x4936bc(0xef)](_0x4c476d,0x0)?_0x4c476d:0x1),_0x245ecc=await Promise[_0x4936bc(0x93)](_0x309582['map'](_0x12bb2f=>_0x30280d(()=>_0x781062(_0x12bb2f))));PerformanceTester[_0x4936bc(0x130)](PerformanceEvents[_0x4936bc(0x115)]);const _0x516e96=_0x245ecc[_0x4936bc(0x102)](_0x1c0f84=>_0x1c0f84!==0x0)||0x0;process[_0x4936bc(0x97)]=_0x516e96,logger[_0x4936bc(0xa4)](_0x4936bc(0xfa)+_0x516e96);const _0x1e6b50=BrowserstackCLI[_0x4936bc(0xa5)]();try{await TestHubHandler[_0x4936bc(0x125)](),await BrowserstackCLI[_0x4936bc(0xc2)]()[_0x4936bc(0x125)]();}catch(_0x24b97d){_0x7bbad0[_0x4936bc(0xd4)](debug,_0x4936bc(0xa1)+util['format'](_0x24b97d));}testOpsHelper[_0x4936bc(0xd0)](),await utilities[_0x4936bc(0xf5)](_0x4241b9,_0x1e6b50);}module['exports']=run;
|
|
2
|
+
'use strict';const a18_0x2eeff6=a18_0xa11d;function a18_0x252d(){const _0x1c4cab=['jasmine\x20child\x20(platformIndex=','end','\x20:\x20','prepareCapabilities','vKiXu','launchBuild','useW3C','parallelsPerPlatform','binSessionId','inherit','Tqafe','getHubUrl','BROWSERSTACK_RERUN_TESTS','p-limit','../../helpers/playwright-helper','assign','SDK_SETUP','dJBES','FjxxJ','BROWSERSTACK_JASMINE_PARALLELS','push','JASMINE','876444ANJZvN','error','specArgs',',\x20specs=','from','rIrgJ','exports','Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20','tQyAt','jasmine','startsWith','UMFRn','JASMINE_CONFIG_PATH','all','QFOWT','\x20platform(s),\x20parallelsPerPlatform=','jZeXh','isArray','All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20','IozqB','VAMvu','validPlatformsPresent','5DaKKfo','resolve','KtaZx','testObservability','jHTSH','Running\x20your\x20Jasmine\x20tests\x20across\x20','isUndefined','ZWXVO','start','UEpDE','spec_files','iLBYu','accessibilityOptions','30vSkoRF','ppPMW','105509BgAuWI','Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20','initialize','env','kkPMM','DeRKY','maxWorkers','FRAMEWORKS','spec','Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20','shouldReRunObservabilityTests','CIJTc','string','../utils/constants','isCLIEnabled','WVKtU','../../helpers/puppeteer-helper','__isPlaywrightInstalled','oEVxk','platformIndex','Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20','slice',';\x20proceeding\x20without\x20injection','../../helpers/logger','join','../../helpers/test-observability/constants','hYvaL','find','../../helpers/helper','spec_dir','winstonLogger','platform','bcZGN','path','exitCode','getPlatformName','jkoRV','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','eXoPQ','stop','../../helpers/test-observability/utils','proxySettings','Gdxao','258597WxsxUB','[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20','getMultiDriverWorkerConfig','__isPuppeteerInstalled','49cpnBtw','Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27','existsSync','PNexL','cwd','length','../../helpers/performance/constants','aqGhC','npx','jtpNV','../v2/browserstackCLI','2MfVCVA','../../helpers/testhub/testhubHandler','getPackageVersion','HFPYn','debug','handleApp','INAIi','xnJdH','IDnuF','PKzqJ','parse','trim','tcvRG','filter','isBrowserstackInfra','EVENTS','spec/support/jasmine.json','comut','3109447ZCkkQh','Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20','rPzPE','FuzSY','aodFF','format','close','win32','\x20concurrent)','216012zBbEyG','4329JnjhsC','Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20','../../helpers/utilities','stringify','TtwYm','map','../../helpers/performance/performance-tester','TadNP','2054568cvLPES','BROWSERSTACK_CAPABILITIES','readFileSync','dOODp','@playwright/test','\x20work-item(s),\x20max\x20','parseFileNames','WPCeQ','posix','--helper=','Jasmine\x20child\x20spawn\x20error\x20(platformIndex=','SDK_CLEANUP','Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20','getInstance','config',')\x20:\x20'];a18_0x252d=function(){return _0x1c4cab;};return a18_0x252d();}function a18_0xa11d(_0x15e4e0,_0x12da66){const _0x252d85=a18_0x252d();return a18_0xa11d=function(_0xa11d4,_0x4e12de){_0xa11d4=_0xa11d4-0x8c;let _0x416a48=_0x252d85[_0xa11d4];return _0x416a48;},a18_0xa11d(_0x15e4e0,_0x12da66);}(function(_0x3f028f,_0x40a9ee){const _0x168059=a18_0xa11d,_0x3be0cc=_0x3f028f();while(!![]){try{const _0x58e82c=-parseInt(_0x168059(0xaa))/0x1*(-parseInt(_0x168059(0xe4))/0x2)+-parseInt(_0x168059(0xd5))/0x3+parseInt(_0x168059(0x12e))/0x4*(-parseInt(_0x168059(0x9b))/0x5)+parseInt(_0x168059(0xff))/0x6*(-parseInt(_0x168059(0xd9))/0x7)+-parseInt(_0x168059(0x108))/0x8+parseInt(_0x168059(0x100))/0x9+parseInt(_0x168059(0xa8))/0xa*(parseInt(_0x168059(0xf6))/0xb);if(_0x58e82c===_0x40a9ee)break;else _0x3be0cc['push'](_0x3be0cc['shift']());}catch(_0x15b5f8){_0x3be0cc['push'](_0x3be0cc['shift']());}}}(a18_0x252d,0x22264));const fs=require('fs'),path=require(a18_0x2eeff6(0xcb)),util=require('util'),{spawn}=require('child_process'),glob=require('glob'),pLimit=require(a18_0x2eeff6(0x125)),logger=require(a18_0x2eeff6(0xc1))[a18_0x2eeff6(0xc8)],helper=require(a18_0x2eeff6(0xc6)),utilities=require(a18_0x2eeff6(0x102)),constants=require(a18_0x2eeff6(0xb7)),TestHubHandler=require(a18_0x2eeff6(0xe5)),testOpsHelper=require('../../helpers/test-observability/utils'),{debug}=require(a18_0x2eeff6(0xd2)),{FRAMEWORKS}=require(a18_0x2eeff6(0xc3)),PerformanceTester=require(a18_0x2eeff6(0x106)),PerformanceEvents=require(a18_0x2eeff6(0xdf))[a18_0x2eeff6(0xf3)],BrowserstackCLI=require(a18_0x2eeff6(0xe3)),{checkPwandBootstrapCli}=require(a18_0x2eeff6(0x126)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a18_0x2eeff6(0xba)),getMaxWorkers=(_0x1ca423,_0x408db1)=>{const _0x5d5ab7=a18_0x2eeff6,_0x33716e={'FuzSY':function(_0x5027d5,_0x2cc1c2){return _0x5027d5(_0x2cc1c2);}};let _0x4f1b41=0x1;if(!helper['isUndefined'](_0x408db1[_0x5d5ab7(0x11f)]))_0x4f1b41=_0x33716e[_0x5d5ab7(0xf9)](parseInt,_0x408db1[_0x5d5ab7(0x11f)]);else!helper['isUndefined'](_0x1ca423['maxWorkers'])&&(_0x4f1b41=_0x1ca423[_0x5d5ab7(0xb0)]);return _0x4f1b41;},resolveJasmineConfigPath=()=>{const _0x453355=a18_0x2eeff6,_0x9890d9={};_0x9890d9[_0x453355(0xed)]=_0x453355(0xf4);const _0x22fd4b=_0x9890d9,_0x214bf3=[];process['env'][_0x453355(0x91)]&&_0x214bf3['push'](path['resolve'](process[_0x453355(0xdd)](),process[_0x453355(0xad)][_0x453355(0x91)]));_0x214bf3[_0x453355(0x12c)](path[_0x453355(0x9c)](process['cwd'](),_0x22fd4b[_0x453355(0xed)]));for(const _0x385e83 of _0x214bf3){try{if(fs['existsSync'](_0x385e83))return _0x385e83;}catch(_0x54a3da){}}return null;},enumerateSpecFiles=_0x186ab3=>{const _0x49b747=a18_0x2eeff6,_0x2d924c={'ppPMW':function(_0x18fac5,_0x4fa629){return _0x18fac5(_0x4fa629);},'Tqafe':function(_0x51a3e4,_0x170dd2){return _0x51a3e4>_0x170dd2;},'TtwYm':function(_0x412676,_0x1f0e9c){return _0x412676<_0x1f0e9c;},'KtaZx':function(_0x25c31a,_0x1a29c0){return _0x25c31a===_0x1a29c0;},'INAIi':_0x49b747(0xb6),'IozqB':function(_0x13626f,_0x3003a7){return _0x13626f>_0x3003a7;},'AQLPb':function(_0xf2d512,_0x29c3a8,_0x3d26e4){return _0xf2d512(_0x29c3a8,_0x3d26e4);},'HFPYn':function(_0x2a6ed4){return _0x2a6ed4();},'VUKZu':'utf8','hYvaL':_0x49b747(0xb2),'UEpDE':'**/*[sS]pec.?(m)js','QweTR':function(_0x4aa7ff,_0x4d4af4,_0x19cd1f){return _0x4aa7ff(_0x4d4af4,_0x19cd1f);},'iLBYu':function(_0x2ec477,_0x3e275f){return _0x2ec477(_0x3e275f);}};try{if(testOpsHelper[_0x49b747(0xb4)]()){const _0x50361c=testOpsHelper[_0x49b747(0x10e)](process[_0x49b747(0xad)][_0x49b747(0x124)]);if(Array['isArray'](_0x50361c)&&_0x2d924c[_0x49b747(0x122)](_0x50361c[_0x49b747(0xde)],0x0))return _0x50361c[_0x49b747(0x105)](_0x3aba50=>path[_0x49b747(0x9c)](process[_0x49b747(0xdd)](),_0x3aba50[_0x49b747(0xef)]()))[_0x49b747(0xf1)](Boolean);}}catch(_0x3b6013){_0x2d924c[_0x49b747(0xa9)](debug,_0x49b747(0xbe)+util[_0x49b747(0xfb)](_0x3b6013));}const _0x37e619=[];try{for(let _0xb7f694=0x1;_0x2d924c[_0x49b747(0x104)](_0xb7f694,_0x186ab3['length']);_0xb7f694++){const _0xd1a9aa=_0x186ab3[_0xb7f694];_0x2d924c[_0x49b747(0x9d)](typeof _0xd1a9aa,_0x2d924c[_0x49b747(0xea)])&&!_0xd1a9aa['startsWith']('-')&&_0x37e619[_0x49b747(0x12c)](_0xd1a9aa);}}catch(_0x3cd93a){}const _0x4de846={'cwd':process[_0x49b747(0xdd)](),'absolute':!![],'nodir':!![]},_0x13f336=(_0x357bd0,_0x3d1ee4)=>{const _0x46ac6f=_0x49b747,_0x467d01=[];for(const _0xc27fe5 of _0x357bd0){try{const _0x2d2934=_0x3d1ee4?path[_0x46ac6f(0x110)]['join'](_0x3d1ee4,_0xc27fe5):_0xc27fe5,_0x5ef5a6=glob['globSync'](_0x2d2934,_0x4de846);Array[_0x46ac6f(0x96)](_0x5ef5a6)&&_0x467d01['push'](..._0x5ef5a6);}catch(_0x271d6c){_0x2d924c[_0x46ac6f(0xa9)](debug,_0x46ac6f(0xda)+_0xc27fe5+'\x27\x20:\x20'+util[_0x46ac6f(0xfb)](_0x271d6c));}}return _0x467d01;};if(_0x2d924c[_0x49b747(0x98)](_0x37e619[_0x49b747(0xde)],0x0)){const _0x23b8ef=_0x2d924c['AQLPb'](_0x13f336,_0x37e619,null);if(_0x2d924c[_0x49b747(0x122)](_0x23b8ef[_0x49b747(0xde)],0x0))return Array['from'](new Set(_0x23b8ef));return _0x37e619[_0x49b747(0x105)](_0xead965=>path[_0x49b747(0x9c)](process[_0x49b747(0xdd)](),_0xead965));}try{const _0x38481c=_0x2d924c[_0x49b747(0xe7)](resolveJasmineConfigPath);if(_0x38481c){const _0x34c18c=JSON[_0x49b747(0xee)](fs[_0x49b747(0x10a)](_0x38481c,_0x2d924c['VUKZu'])),_0x175cf8=_0x34c18c[_0x49b747(0xc7)]||_0x2d924c[_0x49b747(0xc4)],_0x51e17e=Array[_0x49b747(0x96)](_0x34c18c[_0x49b747(0xa5)])&&_0x2d924c[_0x49b747(0x122)](_0x34c18c['spec_files'][_0x49b747(0xde)],0x0)?_0x34c18c[_0x49b747(0xa5)]:[_0x2d924c[_0x49b747(0xa4)]],_0x5e61d4=_0x2d924c['QweTR'](_0x13f336,_0x51e17e,_0x175cf8);if(_0x2d924c[_0x49b747(0x122)](_0x5e61d4[_0x49b747(0xde)],0x0))return Array[_0x49b747(0x132)](new Set(_0x5e61d4));}}catch(_0x5ee809){_0x2d924c[_0x49b747(0xa6)](debug,_0x49b747(0xf7)+util[_0x49b747(0xfb)](_0x5ee809));}return null;};async function run(_0x677b41,_0x2b2dcd,_0x414d0d){const _0x5b23e5=a18_0x2eeff6,_0x20d4fa={'jZeXh':function(_0x24b41e,_0x41e7d8){return _0x24b41e>_0x41e7d8;},'kkPMM':function(_0x26b25a,_0x56d231){return _0x26b25a>_0x56d231;},'UMFRn':_0x5b23e5(0x92),'tcvRG':function(_0x3664d2,_0x1caf89){return _0x3664d2(_0x1caf89);},'comut':function(_0x1710e9,_0x3504d5){return _0x1710e9||_0x3504d5;},'WVKtU':function(_0x308404,_0x2a7dfd){return _0x308404(_0x2a7dfd);},'PNexL':function(_0x1ea03d,_0x272845){return _0x1ea03d(_0x272845);},'xazZE':function(_0x2fa127,_0x3ddfc6){return _0x2fa127>_0x3ddfc6;},'dJBES':function(_0x153137,_0x2bdf73,_0x2b75b2,_0x202eb1){return _0x153137(_0x2bdf73,_0x2b75b2,_0x202eb1);},'IDnuF':_0x5b23e5(0xe1),'vKiXu':_0x5b23e5(0x8e),'hlzcZ':function(_0x2dbc30,_0x2697f5){return _0x2dbc30===_0x2697f5;},'WPCeQ':_0x5b23e5(0xfd),'jtpNV':_0x5b23e5(0x121),'VAMvu':_0x5b23e5(0xfc),'jHTSH':'error','FjxxJ':_0x5b23e5(0x10c),'DeRKY':function(_0x1a3e2c){return _0x1a3e2c();},'jkoRV':function(_0x3af773,_0xb85a3c,_0x2e7658,_0x5d1fe1){return _0x3af773(_0xb85a3c,_0x2e7658,_0x5d1fe1);},'rIrgJ':function(_0x1cc392,_0x1d485f){return _0x1cc392!=_0x1d485f;},'dOODp':'true','bcZGN':function(_0x12ed64,_0x4239e0){return _0x12ed64(_0x4239e0);},'ofaQt':function(_0x3e335a,_0x5854c2){return _0x3e335a(_0x5854c2);},'eXoPQ':function(_0x31eb35,_0x50cdf8,_0x3216f8){return _0x31eb35(_0x50cdf8,_0x3216f8);},'aqGhC':function(_0x1abf94,_0x585abd){return _0x1abf94*_0x585abd;},'DuUEL':function(_0x413909,_0x41c514){return _0x413909(_0x41c514);},'tQyAt':'test.setup.js','Gdxao':function(_0x26b20f,_0x2d0cfc){return _0x26b20f(_0x2d0cfc);},'ZWXVO':function(_0x35272e,_0x1fdf54){return _0x35272e(_0x1fdf54);},'aodFF':function(_0xda5943,_0x35025f){return _0xda5943(_0x35025f);},'TadNP':function(_0x2f9c28,_0x21697f){return _0x2f9c28<_0x21697f;},'QFOWT':function(_0x4c1ce4,_0x1476d0){return _0x4c1ce4>_0x1476d0;},'xnJdH':function(_0x2d1175,_0x29ad9d){return _0x2d1175(_0x29ad9d);}},_0x3d4126=helper[_0x5b23e5(0xe6)](_0x20d4fa[_0x5b23e5(0x12a)]);global[_0x5b23e5(0xbb)]=!!_0x3d4126;const _0x526b55=_0x20d4fa[_0x5b23e5(0xaf)](getPuppeteerVersion);global[_0x5b23e5(0xd8)]=!!_0x526b55;helper[_0x5b23e5(0xf2)]()&&(await _0x414d0d[_0x5b23e5(0xac)](_0x677b41),await helper[_0x5b23e5(0xe9)](_0x414d0d[_0x5b23e5(0x116)]));if(_0x3d4126)await _0x20d4fa[_0x5b23e5(0xce)](checkPwandBootstrapCli,_0x3d4126,constants[_0x5b23e5(0xb1)][_0x5b23e5(0x12d)],_0x414d0d);else _0x526b55&&await _0x20d4fa[_0x5b23e5(0x129)](checkPuppeteerAndBootstrapCli,_0x526b55,constants[_0x5b23e5(0xb1)][_0x5b23e5(0x12d)],_0x414d0d);if(!_0x414d0d[_0x5b23e5(0x116)])return;_0x20d4fa[_0x5b23e5(0x133)](_0x414d0d[_0x5b23e5(0x116)][_0x5b23e5(0x9e)],null)?process[_0x5b23e5(0xad)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x414d0d[_0x5b23e5(0x116)]['testObservability']:process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x20d4fa[_0x5b23e5(0x10b)];!helper[_0x5b23e5(0xa1)](_0x414d0d[_0x5b23e5(0x116)][_0x5b23e5(0xa7)])&&(process[_0x5b23e5(0xad)][_0x5b23e5(0xcf)]=JSON['stringify'](_0x414d0d[_0x5b23e5(0x116)]['accessibilityOptions']));try{await TestHubHandler[_0x5b23e5(0x11d)](FRAMEWORKS['JASMINE'],_0x414d0d);}catch(_0x55d852){logger[_0x5b23e5(0x12f)](_0x5b23e5(0xd6)+util[_0x5b23e5(0xfb)](_0x55d852)),_0x20d4fa['WVKtU'](debug,'Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20'+util[_0x5b23e5(0xfb)](_0x55d852));}let _0x515c4a=![],_0x3bf8cf=[];try{_0x515c4a=helper[_0x5b23e5(0x11e)](_0x414d0d['config']),_0x3bf8cf=helper[_0x5b23e5(0x11b)](_0x414d0d['config'],_0x515c4a,constants[_0x5b23e5(0xb1)][_0x5b23e5(0x12d)]),process['env'][_0x5b23e5(0x109)]=JSON['stringify'](_0x3bf8cf);}catch(_0x21fba4){_0x20d4fa[_0x5b23e5(0xf0)](debug,'Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20'+util[_0x5b23e5(0xfb)](_0x21fba4));}let _0x2dfbba=null,_0xa7f6cd=![];try{_0x2dfbba=helper[_0x5b23e5(0x123)](_0x414d0d[_0x5b23e5(0x116)]),_0xa7f6cd=helper[_0x5b23e5(0x9a)](_0x414d0d[_0x5b23e5(0x116)]);}catch(_0x5e1ab6){_0x20d4fa[_0x5b23e5(0xca)](debug,_0x5b23e5(0x114)+util[_0x5b23e5(0xfb)](_0x5e1ab6));}let _0x2c7e5={};try{_0x2c7e5=helper[_0x5b23e5(0xd7)](_0x414d0d[_0x5b23e5(0x116)],_0x515c4a,constants[_0x5b23e5(0xb1)][_0x5b23e5(0x12d)]);}catch(_0x3ae2d5){_0x20d4fa['ofaQt'](debug,'Exception\x20preparing\x20Jasmine\x20multi-driver\x20config;\x20spawning\x20children\x20single-driver\x20:\x20'+util['format'](_0x3ae2d5));}const _0x46bc2c=_0x2073d6=>{const _0xbeeb6a=_0x5b23e5,_0x33798a=Array['isArray'](_0x3bf8cf)&&_0x20d4fa[_0xbeeb6a(0x95)](_0x3bf8cf['length'],_0x2073d6)?_0x3bf8cf[_0x2073d6]:Array[_0xbeeb6a(0x96)](_0x3bf8cf)&&_0x20d4fa[_0xbeeb6a(0xae)](_0x3bf8cf['length'],0x0)?_0x3bf8cf[0x0]:{};return Object[_0xbeeb6a(0x127)]({'server':_0x2dfbba,'capability':_0x33798a,'proxySettings':_0x414d0d[_0xbeeb6a(0x116)][_0xbeeb6a(0xd3)],'platform':helper[_0xbeeb6a(0xcd)](_0x33798a),'browserStackLogLevel':_0x414d0d[_0xbeeb6a(0x116)]['logLevel'],'platformIndex':_0x2073d6,'framework':constants['FRAMEWORKS'][_0xbeeb6a(0x12d)],'platformCaps':_0xa7f6cd?Object[_0xbeeb6a(0x127)]({'index':_0x2073d6},_0x414d0d['config']['platforms'][_0x2073d6]):{'index':_0x2073d6}},_0x2c7e5);};let _0x3e6a1c=0x1,_0x4f500d=0x1,_0x11266f=0x1;try{_0x3e6a1c=_0x20d4fa[_0x5b23e5(0xd0)](getMaxWorkers,_0x677b41,_0x414d0d[_0x5b23e5(0x116)]),_0x4f500d=_0xa7f6cd?_0x414d0d[_0x5b23e5(0x116)]['platforms'][_0x5b23e5(0xde)]:0x1,_0x11266f=_0x20d4fa[_0x5b23e5(0xe0)](_0x4f500d,_0x3e6a1c),process[_0x5b23e5(0xad)][_0x5b23e5(0x12b)]=_0x20d4fa['tcvRG'](String,_0x11266f);}catch(_0x1f687d){_0x20d4fa[_0x5b23e5(0xf0)](debug,'Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20'+util[_0x5b23e5(0xfb)](_0x1f687d));}try{BrowserstackCLI['getInstance']()[_0x5b23e5(0x120)]&&(process['env']['BROWSERSTACK_CLI_BIN_SESSION_ID']=BrowserstackCLI['getInstance']()[_0x5b23e5(0x120)]);}catch(_0x3eb5ca){_0x20d4fa['DuUEL'](debug,_0x5b23e5(0xb3)+util[_0x5b23e5(0xfb)](_0x3eb5ca));}const _0x3be51a=[];try{const _0x12b51a=path[_0x5b23e5(0x9c)](__dirname,_0x20d4fa[_0x5b23e5(0x8d)]);fs[_0x5b23e5(0xdb)](_0x12b51a)?_0x3be51a[_0x5b23e5(0x12c)](_0x5b23e5(0x111)+_0x12b51a):_0x20d4fa[_0x5b23e5(0xd4)](debug,_0x5b23e5(0x101)+_0x12b51a+_0x5b23e5(0xc0));}catch(_0xa678de){_0x20d4fa[_0x5b23e5(0xa2)](debug,_0x5b23e5(0xab)+util[_0x5b23e5(0xfb)](_0xa678de));}const _0x30b3e2=_0x2b2dcd[_0x5b23e5(0xbf)](0x1),_0x47541f=_0x20d4fa[_0x5b23e5(0xfa)](enumerateSpecFiles,_0x2b2dcd),_0x5d27a7=[];for(let _0x3e4a95=0x0;_0x20d4fa[_0x5b23e5(0x107)](_0x3e4a95,_0x4f500d);_0x3e4a95++){if(_0x20d4fa[_0x5b23e5(0x93)](_0x3e6a1c,0x1)&&Array['isArray'](_0x47541f)&&_0x20d4fa[_0x5b23e5(0xae)](_0x47541f[_0x5b23e5(0xde)],0x0))for(const _0x17ff12 of _0x47541f){const _0x414a05={};_0x414a05['platformIndex']=_0x3e4a95,_0x414a05['specArgs']=[_0x17ff12],_0x5d27a7[_0x5b23e5(0x12c)](_0x414a05);}else{const _0x25c896={};_0x25c896['platformIndex']=_0x3e4a95,_0x25c896[_0x5b23e5(0x130)]=_0x47541f,_0x5d27a7[_0x5b23e5(0x12c)](_0x25c896);}}logger['info'](_0x5b23e5(0xa0)+_0x4f500d+_0x5b23e5(0x94)+_0x3e6a1c+'\x20('+_0x5d27a7[_0x5b23e5(0xde)]+_0x5b23e5(0x10d)+_0x11266f+_0x5b23e5(0xfe)),PerformanceTester[_0x5b23e5(0x119)](PerformanceEvents[_0x5b23e5(0x128)]);const _0x13d2c7=_0x130e50=>new Promise(_0x2303c6=>{const _0x3f4e75=_0x5b23e5,_0x42648c={'zkpsy':_0x20d4fa[_0x3f4e75(0x90)],'bCyrW':function(_0x49f672,_0x191f0a){const _0xaaf4c9=_0x3f4e75;return _0x20d4fa[_0xaaf4c9(0xf0)](_0x49f672,_0x191f0a);},'oEVxk':function(_0x1a1465,_0x346d69){const _0x239a13=_0x3f4e75;return _0x20d4fa[_0x239a13(0xf5)](_0x1a1465,_0x346d69);},'rPzPE':function(_0x23acfc,_0x1ab2d0){const _0x374f79=_0x3f4e75;return _0x20d4fa[_0x374f79(0xb9)](_0x23acfc,_0x1ab2d0);},'CIJTc':function(_0x3cd7f3,_0x626590){const _0xeb3d5f=_0x3f4e75;return _0x20d4fa[_0xeb3d5f(0xdc)](_0x3cd7f3,_0x626590);}};let _0x1c1f70;try{const _0x117f82=_0x20d4fa['WVKtU'](_0x46bc2c,_0x130e50[_0x3f4e75(0xbd)]);_0x1c1f70=Object[_0x3f4e75(0x127)]({},process[_0x3f4e75(0xad)],{'BROWSERSTACK_JASMINE_CONFIG':JSON[_0x3f4e75(0x103)](_0x117f82),'BROWSERSTACK_CAPABILITIES':JSON[_0x3f4e75(0x103)]([_0x117f82['capability']]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0x13e004){_0x20d4fa[_0x3f4e75(0xb9)](debug,_0x3f4e75(0x8c)+_0x130e50['platformIndex']+_0x3f4e75(0x11a)+util[_0x3f4e75(0xfb)](_0x13e004)),_0x1c1f70=Object[_0x3f4e75(0x127)]({},process[_0x3f4e75(0xad)]);}const _0x12e89f=Array[_0x3f4e75(0x96)](_0x130e50[_0x3f4e75(0x130)])?_0x130e50['specArgs']:[],_0x1b2224=_0x20d4fa['xazZE'](_0x12e89f[_0x3f4e75(0xde)],0x0)?_0x30b3e2[_0x3f4e75(0xf1)](_0x4df9ba=>typeof _0x4df9ba===_0x3f4e75(0xb6)&&_0x4df9ba[_0x3f4e75(0x8f)]('-')):_0x30b3e2,_0x1bbb93=[..._0x3be51a,..._0x1b2224,..._0x12e89f];try{const _0x49054d=_0x20d4fa['dJBES'](spawn,_0x20d4fa[_0x3f4e75(0xec)],[_0x20d4fa[_0x3f4e75(0x11c)],..._0x1bbb93],{'shell':_0x20d4fa['hlzcZ'](process[_0x3f4e75(0xc9)],_0x20d4fa[_0x3f4e75(0x10f)]),'stdio':_0x20d4fa[_0x3f4e75(0xe2)],'env':_0x1c1f70});_0x49054d['on'](_0x20d4fa[_0x3f4e75(0x99)],_0x4cd7d5=>{const _0x12992f=_0x3f4e75;logger[_0x12992f(0xe8)](_0x12992f(0x118)+_0x130e50['platformIndex']+_0x12992f(0x131)+(_0x12e89f[_0x12992f(0xde)]?_0x12e89f[_0x12992f(0xc2)](','):_0x42648c['zkpsy'])+')\x20exited\x20with\x20code\x20'+_0x4cd7d5),_0x42648c['bCyrW'](_0x2303c6,_0x42648c[_0x12992f(0xbc)](_0x4cd7d5,0x0));}),_0x49054d['on'](_0x20d4fa[_0x3f4e75(0x9f)],_0x23afdf=>{const _0x450f22=_0x3f4e75;_0x42648c[_0x450f22(0xf8)](debug,_0x450f22(0x112)+_0x130e50[_0x450f22(0xbd)]+')\x20:\x20'+util[_0x450f22(0xfb)](_0x23afdf)),_0x42648c[_0x450f22(0xb5)](_0x2303c6,0x1);});}catch(_0x5ec5a4){_0x20d4fa[_0x3f4e75(0xb9)](debug,'Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex='+_0x130e50[_0x3f4e75(0xbd)]+_0x3f4e75(0x117)+util['format'](_0x5ec5a4)),_0x20d4fa[_0x3f4e75(0xb9)](_0x2303c6,0x1);}}),_0x1d0ce9=_0x20d4fa[_0x5b23e5(0xeb)](pLimit,_0x20d4fa[_0x5b23e5(0x93)](_0x11266f,0x0)?_0x11266f:0x1),_0x3356cf=await Promise[_0x5b23e5(0x92)](_0x5d27a7[_0x5b23e5(0x105)](_0x406c64=>_0x1d0ce9(()=>_0x13d2c7(_0x406c64))));PerformanceTester[_0x5b23e5(0xa3)](PerformanceEvents[_0x5b23e5(0x113)]);const _0x40bd8c=_0x3356cf[_0x5b23e5(0xc5)](_0x6ec58e=>_0x6ec58e!==0x0)||0x0;process[_0x5b23e5(0xcc)]=_0x40bd8c,logger[_0x5b23e5(0xe8)](_0x5b23e5(0x97)+_0x40bd8c);const _0x25c5ce=BrowserstackCLI[_0x5b23e5(0xb8)]();try{await TestHubHandler[_0x5b23e5(0xd1)](),await BrowserstackCLI[_0x5b23e5(0x115)]()['stop']();}catch(_0x10e903){_0x20d4fa[_0x5b23e5(0xf0)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util[_0x5b23e5(0xfb)](_0x10e903));}testOpsHelper['printBuildLink'](),await utilities['finalExecution'](_0x414d0d,_0x25c5ce);}module[a18_0x2eeff6(0x134)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a19_0x5a2c73=a19_0x5247;(function(_0x2a5a79,_0x5730d9){const _0x547428=a19_0x5247,_0x125ca6=_0x2a5a79();while(!![]){try{const _0x8c9e54=parseInt(_0x547428(0x115))/0x1+-parseInt(_0x547428(0x120))/0x2*(parseInt(_0x547428(0x119))/0x3)+parseInt(_0x547428(0xe5))/0x4+parseInt(_0x547428(0x136))/0x5+parseInt(_0x547428(0x148))/0x6*(parseInt(_0x547428(0x121))/0x7)+-parseInt(_0x547428(0xee))/0x8+-parseInt(_0x547428(0x10f))/0x9*(parseInt(_0x547428(0xdd))/0xa);if(_0x8c9e54===_0x5730d9)break;else _0x125ca6['push'](_0x125ca6['shift']());}catch(_0x10ba23){_0x125ca6['push'](_0x125ca6['shift']());}}}(a19_0x46cb,0xdbb1e));const util=require('util'),logger=require(a19_0x5a2c73(0x12c))[a19_0x5a2c73(0x127)],helper=require(a19_0x5a2c73(0x146)),globals=require('../../helpers/globals'),{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require('../../helpers/testhub/constants'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),accessibilityRetryHelper=require('../../helpers/accessibility-automation/accessibilityRetryHelper'),testRunMap=require(a19_0x5a2c73(0x11c));function a19_0x46cb(){const _0x1e76ae=['exports','QqPoz','join','fFZku','length','Failed:\x20','[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','XQTti','ybyrb','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','../../helpers/helper','BROWSERSTACK_JASMINE_CONFIG','102IhUWkG','[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','getGlobal','__drivers','KHPku','isBrowserstackInfra','uFVpN','autoScanning','Fvqze','env','platformCaps','DTEdQ','ZPWZw','ENV_VAR','../../index','[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','push','Spec\x20failed','hXfUe','startsWith','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','performScanWithRetry','[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered','warn','[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20','zTWbb','pop','zhOGP','browserstackPlatformIndex','kyrVe','get','xssJb','92440QbOrRI','stack','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','jasmine-core','bstackA11yScanOptions','[jasmine\x20setup]\x20Exception\x20in\x20final\x20driver\x20quit:\x20','stringify','IXddy','6005060HsiYIU','function','browserstackAgentV2','split','undefined','__platformCaps','gAPfo','sep','GNwOL','13933280ZqhCBv','skipSessionStatus','./bstack-reporter/customReporter','[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','dyemM','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20','\x22}}','@playwright/test','isArray','addReporter','[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20','path','byebc','[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20','failed','hPLVB','WWEOa','LFrjd','isAccessibilityPlatform','message','LCtUM','__skipSessionStatus','fileNameByFullName','getPackageVersion','describe','getEnv','sessionName','parse','[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','fullName','NJqKR','DuLSn','setGlobal','2169gBHhSK','[jasmine\x20setup]\x20Exception\x20in\x20stale-driver\x20shift\x20check:\x20','sJpIe','prepareStackTrace','is_mobile_session','[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20','1546951ncCdUl','BROWSERSTACK_TESTHUB_UUID','[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20','bstackA11yShouldScan','1778631PZsxvE','QdKnN','markSessionStatus','./testRunMap','debug','thBuildUuid','error','2isfDjT','695275RJJwyy','eAeWZ','thJwtToken','lXbIF','lazIh','platformIndex','winstonLogger','hoofl','session_','forEach','[jasmine\x20setup]\x20Exception\x20quitting\x20stale\x20driver\x20before\x20shift:\x20','../../helpers/logger','initQuit','format','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20','__skipSessionName','__sessionFailed','shift','HhNUI',',\x22level\x22:\x20\x22','sessionNameSet__','3627350IfRBeV','failedExpectations','info','browserstackSessionName','passed','[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20'];a19_0x46cb=function(){return _0x1e76ae;};return a19_0x46cb();}let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process['env'][a19_0x5a2c73(0x147)]||process[a19_0x5a2c73(0x151)]['CONFIG'];rawConfig!==undefined&&(_bstackConfig=JSON['parse'](rawConfig));}catch(a19_0x538773){logger[a19_0x5a2c73(0x11d)]('[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20'+util[a19_0x5a2c73(0x12e)](a19_0x538773));}try{if(_bstackConfig&&!helper[a19_0x5a2c73(0x105)](a19_0x5a2c73(0xf5))){const feuXgd='1|3|2|4|0'[a19_0x5a2c73(0xe8)]('|');let ANDLki=0x0;while(!![]){switch(feuXgd[ANDLki++]){case'0':helper[a19_0x5a2c73(0x14d)]()?(global['__skipSessionName']=helper['isTrue'](_bstackConfig['skipSessionName']),global[a19_0x5a2c73(0x103)]=helper['isTrue'](_bstackConfig[a19_0x5a2c73(0xef)])):(global[a19_0x5a2c73(0x130)]=!![],global['__skipSessionStatus']=!![]);continue;case'1':logger[a19_0x5a2c73(0x11d)]('[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)');continue;case'2':global[a19_0x5a2c73(0xea)]=_bstackConfig[a19_0x5a2c73(0x152)]||{};continue;case'3':shouldProcessEventForTesthub()?require(a19_0x5a2c73(0x156))[a19_0x5a2c73(0xe7)](_bstackConfig,null,!![]):require(a19_0x5a2c73(0x156))['browserstackAgentV2'](_bstackConfig);continue;case'4':global[a19_0x5a2c73(0xd9)]=_bstackConfig[a19_0x5a2c73(0x126)];continue;}break;}}}catch(a19_0xb52142){logger[a19_0x5a2c73(0x11d)]('[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20'+util[a19_0x5a2c73(0x12e)](a19_0xb52142));}const _fileNameByFullName={};try{if(typeof describe==='function'&&typeof global!==a19_0x5a2c73(0xe9)){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x55537b=a19_0x5a2c73,_0x29f11f={'GNwOL':function(_0x17e6a0,_0x5d2136){return _0x17e6a0(_0x5d2136);},'dyemM':_0x55537b(0xf9),'SuEOo':'node:','WxzlD':_0x55537b(0xe0)},_0x22b70b=Error['prepareStackTrace'];try{const _0x25b4fd=new Error();Error[_0x55537b(0x112)]=(_0x48b02c,_0x3bd845)=>_0x3bd845;const _0x464652=_0x25b4fd[_0x55537b(0xde)];Error[_0x55537b(0x112)]=_0x22b70b;if(Array[_0x55537b(0xf6)](_0x464652))for(const _0x42e569 of _0x464652){const _0x3f2094=_0x42e569['getFileName']&&_0x42e569['getFileName']();if(_0x3f2094&&!_0x3f2094['includes']('bin'+_0x29f11f[_0x55537b(0xed)](require,_0x29f11f[_0x55537b(0xf2)])[_0x55537b(0xec)]+'jasmine'+_0x29f11f['GNwOL'](require,_0x29f11f['dyemM'])[_0x55537b(0xec)])&&!_0x3f2094[_0x55537b(0xd0)](_0x29f11f['SuEOo'])&&!_0x3f2094['includes'](_0x29f11f['WxzlD']))return _0x3f2094;}}catch(_0x468fba){Error[_0x55537b(0x112)]=_0x22b70b;}return null;},_wrappedDescribe=function(_0x4e34ee,_0x3cc7de){const _0x54c4f9=a19_0x5a2c73,_0x4da1a6={'qxSwL':function(_0x315bbb){return _0x315bbb();},'IGybV':function(_0x24ce36,_0x23a85d){return _0x24ce36&&_0x23a85d;},'xssJb':function(_0x5d8e1f,_0x270929,_0xea6aa3){return _0x5d8e1f(_0x270929,_0xea6aa3);}};let _0x1c2166=null;try{_0x1c2166=_0x4da1a6['qxSwL'](_resolveCallerFile);}catch(_0x33f6f7){}_describeTitleStack[_0x54c4f9(0xcd)](_0x4e34ee);const _0x4b4ee7=_describeTitleStack[_0x54c4f9(0x13e)]('\x20');_0x4da1a6['IGybV'](_0x1c2166,_0x4b4ee7)&&(_fileNameByFullName[_0x4b4ee7]=_0x1c2166);try{return _0x4da1a6[_0x54c4f9(0xdc)](_origDescribe,_0x4e34ee,_0x3cc7de);}finally{_describeTitleStack[_0x54c4f9(0xd7)]();}};Object['keys'](_origDescribe)[a19_0x5a2c73(0x12a)](_0x21056d=>{_wrappedDescribe[_0x21056d]=_origDescribe[_0x21056d];}),global[a19_0x5a2c73(0x106)]=_wrappedDescribe;}}catch(a19_0x690509){logger[a19_0x5a2c73(0x11d)](a19_0x5a2c73(0x117)+util[a19_0x5a2c73(0x12e)](a19_0x690509));}function a19_0x5247(_0x4a4cb4,_0x397a6f){const _0x46cb2d=a19_0x46cb();return a19_0x5247=function(_0x524798,_0x185305){_0x524798=_0x524798-0xcb;let _0x3c67ba=_0x46cb2d[_0x524798];return _0x3c67ba;},a19_0x5247(_0x4a4cb4,_0x397a6f);}try{if(typeof jasmine!==a19_0x5a2c73(0xe9)&&jasmine[a19_0x5a2c73(0x107)]){const BrowserStackJasmineReporter=require(a19_0x5a2c73(0xf0)),a19_0x4d907e={};a19_0x4d907e[a19_0x5a2c73(0x104)]=_fileNameByFullName,jasmine[a19_0x5a2c73(0x107)]()[a19_0x5a2c73(0xf7)](new BrowserStackJasmineReporter(a19_0x4d907e)),logger[a19_0x5a2c73(0x11d)]('[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter');}else logger[a19_0x5a2c73(0x11d)](a19_0x5a2c73(0xd3));}catch(a19_0x3d9e71){logger[a19_0x5a2c73(0x11d)](a19_0x5a2c73(0xd5)+util[a19_0x5a2c73(0x12e)](a19_0x3d9e71));}try{typeof jasmine!==a19_0x5a2c73(0xe9)&&jasmine[a19_0x5a2c73(0x107)]&&jasmine['getEnv']()['addReporter']({'specStarted'(_0x274c12){const _0xd3c1f2=a19_0x5a2c73,_0x307738={};_0x307738[_0xd3c1f2(0x13d)]=function(_0x599497,_0x324a30){return _0x599497||_0x324a30;};const _0x355ab4=_0x307738;_activeResultId=_0x274c12&&_0x274c12['id'],_activeFullName=_0x274c12&&_0x274c12[_0xd3c1f2(0x10b)],_activeResultRef=_0x355ab4[_0xd3c1f2(0x13d)](_0x274c12,null);},'specDone'(){}});}catch(a19_0x260d0b){logger[a19_0x5a2c73(0x11d)](a19_0x5a2c73(0x12f)+util[a19_0x5a2c73(0x12e)](a19_0x260d0b));}const _resolveAutoScanning=()=>{const _0x2875a8=a19_0x5a2c73,_0xff08b8={};_0xff08b8[_0x2875a8(0x14c)]=function(_0x3fb434,_0x394484){return _0x3fb434===_0x394484;};const _0x208793=_0xff08b8;let _0x3a4410=!![];try{const _0x474f0b=JSON[_0x2875a8(0x109)](process[_0x2875a8(0x151)][_0x2875a8(0xdf)]||'{}');_0x208793[_0x2875a8(0x14c)](_0x474f0b[_0x2875a8(0x14f)],![])&&(_0x3a4410=![]);}catch(_0x54794e){logger['debug'](_0x2875a8(0xf1)+_0x54794e[_0x2875a8(0x101)]);}return _0x3a4410;};try{typeof beforeEach===a19_0x5a2c73(0xe6)&&beforeEach(function bstackA11yBeforeEach(){const _0x17f586=a19_0x5a2c73,_0x3e9da8={'WWEOa':function(_0x56a789){return _0x56a789();},'ZPWZw':function(_0x4dac4b,_0x53fceb,_0xc3171){return _0x4dac4b(_0x53fceb,_0xc3171);},'zTWbb':function(_0x38127e,_0x23bd1d){return _0x38127e&&_0x23bd1d;},'hXfUe':_0x17f586(0x118),'HhNUI':_0x17f586(0xe1)};try{const _0x37f523=_0x3e9da8[_0x17f586(0xfe)](_resolveAutoScanning),_0x1f8a33=_0x3e9da8[_0x17f586(0x154)](shouldScanTestForAccessibility,null,![]),_0x1e61f7=_0x3e9da8[_0x17f586(0xd6)](_0x37f523,_0x1f8a33);globals['setGlobal'](_0x3e9da8[_0x17f586(0xcf)],_0x1e61f7),globals[_0x17f586(0x10e)](_0x3e9da8[_0x17f586(0x133)],null);}catch(_0xc96f65){logger[_0x17f586(0x11d)](_0x17f586(0x13b)+util[_0x17f586(0x12e)](_0xc96f65));}}),typeof afterEach===a19_0x5a2c73(0xe6)&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x56a355=a19_0x5a2c73,_0x230353={'NJqKR':function(_0xed7072,_0x276085){return _0xed7072>_0x276085;},'hoofl':function(_0x58f45e,_0x2716b5){return _0x58f45e>_0x2716b5;},'ybyrb':function(_0x5c0738,_0x494150){return _0x5c0738>_0x494150;},'sJpIe':_0x56a355(0xce),'XQTti':function(_0x5ca4ee,_0x28aa13){return _0x5ca4ee+_0x28aa13;},'DuLSn':_0x56a355(0x141),'eAeWZ':'Passed','fFZku':_0x56a355(0x11f),'gAPfo':_0x56a355(0x138),'LFrjd':_0x56a355(0xfc),'cUedH':_0x56a355(0x13a),'byebc':function(_0x13a216){return _0x13a216();},'hPLVB':_0x56a355(0x100),'Fvqze':function(_0x16836f,_0x45e344){return _0x16836f>_0x45e344;},'IXddy':'bstackA11yShouldScan','uFVpN':'[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','lazIh':_0x56a355(0x10a),'LCtUM':_0x56a355(0xcb),'zhOGP':_0x56a355(0x149),'QdKnN':'isMobilePlatform','lXbIF':_0x56a355(0xcc),'DTEdQ':_0x56a355(0x142)};try{if(Array[_0x56a355(0xf6)](global[_0x56a355(0x14b)])&&_0x230353[_0x56a355(0x10c)](global['__drivers'][_0x56a355(0x140)],0x1)){const _0x40bc92=global[_0x56a355(0x14b)][0x0];try{await _0x40bc92[_0x56a355(0x129)],await _0x40bc92[_0x56a355(0x12d)]();}catch(_0x1d0a82){logger[_0x56a355(0x11d)](_0x56a355(0x12b)+util[_0x56a355(0x12e)](_0x1d0a82));}global[_0x56a355(0x14b)][_0x56a355(0x132)]();}}catch(_0x3f1c75){logger['debug'](_0x56a355(0x110)+util['format'](_0x3f1c75));}try{if(Array[_0x56a355(0xf6)](global[_0x56a355(0x14b)])&&_0x230353[_0x56a355(0x128)](global[_0x56a355(0x14b)][_0x56a355(0x140)],0x0)&&global[_0x56a355(0x14b)][0x0]){const _0x3567bf=_activeFullName||global[_0x56a355(0x108)];if(!global[_0x56a355(0x130)]&&_0x3567bf){global[_0x56a355(0x108)]=_0x3567bf;try{await global[_0x56a355(0x14b)][0x0]['executeScript'](_0x56a355(0x145)+JSON[_0x56a355(0xe3)](_0x3567bf)+'}}'),global[_0x56a355(0x14b)][0x0][_0x56a355(0x135)]=!![];}catch(_0x520216){logger[_0x56a355(0x11d)](_0x56a355(0xfb)+util[_0x56a355(0x12e)](_0x520216));}}if(!global['__skipSessionStatus'])try{const _0x2e380b=_activeResultRef&&Array[_0x56a355(0xf6)](_activeResultRef['failedExpectations'])?_activeResultRef[_0x56a355(0x137)]:[],_0x8eb99b=_0x230353[_0x56a355(0x144)](_0x2e380b[_0x56a355(0x140)],0x0),_0x2ab13a=_0x8eb99b?_0x2e380b[0x0]&&_0x2e380b[0x0][_0x56a355(0x101)]||_0x230353[_0x56a355(0x111)]:null;try{await global[_0x56a355(0x14b)][0x0]['executeScript'](_0x56a355(0xd1)+JSON[_0x56a355(0xe3)](_0x8eb99b?_0x230353[_0x56a355(0x143)](_0x230353[_0x56a355(0x10d)],_0x2ab13a):_0x230353[_0x56a355(0x122)])+_0x56a355(0x134)+(_0x8eb99b?_0x230353[_0x56a355(0x13f)]:_0x230353[_0x56a355(0xeb)])+_0x56a355(0xf4));}catch(_0x2b2a29){logger[_0x56a355(0x11d)](_0x56a355(0xf8)+util[_0x56a355(0x12e)](_0x2b2a29));}_0x8eb99b&&(global[_0x56a355(0x131)]=!![]),await helper[_0x56a355(0x11b)](global[_0x56a355(0x14b)][0x0],_0x8eb99b?_0x230353[_0x56a355(0xff)]:_0x230353['cUedH'],_0x2ab13a);}catch(_0x205e2d){logger['debug'](_0x56a355(0x114)+util[_0x56a355(0x12e)](_0x205e2d));}}}catch(_0x237de5){logger['debug']('[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20'+util[_0x56a355(0x12e)](_0x237de5));}try{if(_0x230353[_0x56a355(0xfa)](isAccessibilityAutomationSession)&&globals[_0x56a355(0x14a)](_0x230353[_0x56a355(0xfd)])&&Array[_0x56a355(0xf6)](global['__drivers'])&&_0x230353[_0x56a355(0x150)](global['__drivers']['length'],0x0)&&global[_0x56a355(0x14b)][0x0]){const _0x2d709b=testRunMap[_0x56a355(0xdb)](_activeResultId),_0x290449={};_0x290449['thTestRunUuid']=_0x2d709b,_0x290449[_0x56a355(0x11e)]=process['env'][testHubConstants[_0x56a355(0x155)][_0x56a355(0x116)]],_0x290449[_0x56a355(0x123)]=process[_0x56a355(0x151)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_JWT']];const _0x27c80f=_0x290449;logger[_0x56a355(0x11d)]('[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20'+JSON[_0x56a355(0xe3)](_0x27c80f));if(globals['getGlobal'](_0x230353[_0x56a355(0xe4)])){logger['debug'](_0x230353[_0x56a355(0x14e)]);const _0x14b6c5=await accessibilityRetryHelper[_0x56a355(0xd2)](global[_0x56a355(0x14b)][0x0],global[_0x56a355(0x139)]);_0x14b6c5?logger[_0x56a355(0x11d)](_0x230353[_0x56a355(0x125)]):logger[_0x56a355(0xd4)](_0x230353[_0x56a355(0x102)]);}else logger[_0x56a355(0x11d)](_0x230353[_0x56a355(0xd8)]);globals[_0x56a355(0x14a)](_0x230353[_0x56a355(0x11a)])&&(_0x27c80f[_0x56a355(0x113)]=!![]);const _0x318f87=await accessibilityRetryHelper['saveAccessibilityResultsWithRetry'](global['__drivers'][0x0],_0x27c80f);_0x318f87?logger[_0x56a355(0x11d)](_0x230353[_0x56a355(0x124)]):logger[_0x56a355(0xd4)](_0x230353[_0x56a355(0x153)]);}}catch(_0x4d32ef){logger['error']('[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20'+util[_0x56a355(0x12e)](_0x4d32ef));}});}catch(a19_0x536cd1){logger[a19_0x5a2c73(0x11d)](a19_0x5a2c73(0xf3)+util['format'](a19_0x536cd1));}try{typeof afterAll===a19_0x5a2c73(0xe6)&&afterAll(async function bstackFinalDriverQuit(){const _0x50d38a=a19_0x5a2c73,_0x301152={};_0x301152[_0x50d38a(0xda)]=function(_0x136a01,_0x3c55f8){return _0x136a01>_0x3c55f8;};const _0x287e3d=_0x301152;try{Array[_0x50d38a(0xf6)](global[_0x50d38a(0x14b)])&&_0x287e3d[_0x50d38a(0xda)](global[_0x50d38a(0x14b)][_0x50d38a(0x140)],0x0)&&global[_0x50d38a(0x14b)][0x0]&&(await global[_0x50d38a(0x14b)][0x0][_0x50d38a(0x129)],await global['__drivers'][0x0][_0x50d38a(0x12d)]());}catch(_0x5f548d){logger[_0x50d38a(0x11d)](_0x50d38a(0xe2)+util[_0x50d38a(0x12e)](_0x5f548d));}});}catch(a19_0x336530){logger[a19_0x5a2c73(0x11d)]('[jasmine\x20setup]\x20Exception\x20registering\x20afterAll\x20final\x20quit\x20hook:\x20'+util['format'](a19_0x336530));}module[a19_0x5a2c73(0x13c)]={};
|
|
1
|
+
'use strict';const a19_0x4a491d=a19_0x263c;(function(_0x3e4181,_0x49ef1c){const _0x3edf4c=a19_0x263c,_0x1c2759=_0x3e4181();while(!![]){try{const _0x53c143=-parseInt(_0x3edf4c(0x118))/0x1+-parseInt(_0x3edf4c(0x107))/0x2*(-parseInt(_0x3edf4c(0x102))/0x3)+parseInt(_0x3edf4c(0xcd))/0x4+-parseInt(_0x3edf4c(0xc7))/0x5*(parseInt(_0x3edf4c(0xc9))/0x6)+-parseInt(_0x3edf4c(0xe1))/0x7+-parseInt(_0x3edf4c(0x121))/0x8+-parseInt(_0x3edf4c(0xd9))/0x9*(-parseInt(_0x3edf4c(0xf5))/0xa);if(_0x53c143===_0x49ef1c)break;else _0x1c2759['push'](_0x1c2759['shift']());}catch(_0x22e62f){_0x1c2759['push'](_0x1c2759['shift']());}}}(a19_0x1e30,0xa8937));const util=require(a19_0x4a491d(0x9e)),logger=require(a19_0x4a491d(0xaf))[a19_0x4a491d(0xe6)],helper=require(a19_0x4a491d(0xea)),globals=require('../../helpers/globals'),{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a19_0x4a491d(0xd4)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a19_0x4a491d(0x119)),accessibilityRetryHelper=require(a19_0x4a491d(0x125)),testRunMap=require(a19_0x4a491d(0xb4));let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process[a19_0x4a491d(0xf2)][a19_0x4a491d(0xcc)]||process[a19_0x4a491d(0xf2)][a19_0x4a491d(0xdb)];rawConfig!==undefined&&(_bstackConfig=JSON[a19_0x4a491d(0xfd)](rawConfig));}catch(a19_0x4d2b19){logger[a19_0x4a491d(0xa1)](a19_0x4a491d(0xaa)+util[a19_0x4a491d(0xc5)](a19_0x4d2b19));}try{if(_bstackConfig&&!helper[a19_0x4a491d(0xff)](a19_0x4a491d(0x124))){const BfjLnK=a19_0x4a491d(0xb8)['split']('|');let dbQRiH=0x0;while(!![]){switch(BfjLnK[dbQRiH++]){case'0':logger['debug'](a19_0x4a491d(0xc0));continue;case'1':shouldProcessEventForTesthub()?require(a19_0x4a491d(0xa6))[a19_0x4a491d(0x109)](_bstackConfig,null,!![]):require(a19_0x4a491d(0xa6))[a19_0x4a491d(0x109)](_bstackConfig);continue;case'2':global[a19_0x4a491d(0x11b)]=_bstackConfig[a19_0x4a491d(0x115)]||{};continue;case'3':helper[a19_0x4a491d(0xf3)]()?(global[a19_0x4a491d(0xac)]=helper[a19_0x4a491d(0xf7)](_bstackConfig[a19_0x4a491d(0x10d)]),global['__skipSessionStatus']=helper[a19_0x4a491d(0xf7)](_bstackConfig[a19_0x4a491d(0xa0)])):(global[a19_0x4a491d(0xac)]=!![],global[a19_0x4a491d(0x128)]=!![]);continue;case'4':global[a19_0x4a491d(0xb6)]=_bstackConfig[a19_0x4a491d(0xde)];continue;}break;}}}catch(a19_0x3887f6){logger[a19_0x4a491d(0xa1)](a19_0x4a491d(0xd8)+util[a19_0x4a491d(0xc5)](a19_0x3887f6));}const _fileNameByFullName={};function a19_0x263c(_0x4f8ec2,_0x492521){const _0x1e307b=a19_0x1e30();return a19_0x263c=function(_0x263c6a,_0x408b78){_0x263c6a=_0x263c6a-0x9a;let _0x237d66=_0x1e307b[_0x263c6a];return _0x237d66;},a19_0x263c(_0x4f8ec2,_0x492521);}try{if(typeof describe===a19_0x4a491d(0xa7)&&typeof global!=='undefined'){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x19d1b6=a19_0x4a491d,_0x58e9ea={'uQJrg':function(_0xda2800,_0xe0203a){return _0xda2800(_0xe0203a);},'cNUhV':_0x19d1b6(0x110),'kHpbz':function(_0x4f17b3,_0x51eb8f){return _0x4f17b3(_0x51eb8f);},'dqLWT':_0x19d1b6(0xae),'fxFcI':_0x19d1b6(0xe5)},_0x59df4d=Error[_0x19d1b6(0x9a)];try{const _0x1db39d=new Error();Error[_0x19d1b6(0x9a)]=(_0x50a9c9,_0x42e1c6)=>_0x42e1c6;const _0x409aae=_0x1db39d[_0x19d1b6(0xf4)];Error['prepareStackTrace']=_0x59df4d;if(Array[_0x19d1b6(0xf8)](_0x409aae))for(const _0x470337 of _0x409aae){const _0x48e1cb=_0x470337[_0x19d1b6(0xb2)]&&_0x470337['getFileName']();if(_0x48e1cb&&!_0x48e1cb[_0x19d1b6(0x116)]('bin'+_0x58e9ea[_0x19d1b6(0xe3)](require,_0x58e9ea[_0x19d1b6(0xdd)])[_0x19d1b6(0xa5)]+_0x19d1b6(0xb7)+_0x58e9ea['kHpbz'](require,_0x58e9ea[_0x19d1b6(0xdd)])[_0x19d1b6(0xa5)])&&!_0x48e1cb[_0x19d1b6(0x117)](_0x58e9ea[_0x19d1b6(0x11a)])&&!_0x48e1cb[_0x19d1b6(0x116)](_0x58e9ea['fxFcI']))return _0x48e1cb;}}catch(_0x1f67cf){Error['prepareStackTrace']=_0x59df4d;}return null;},_wrappedDescribe=function(_0x370dd3,_0xb9b19b){const _0x38dd68=a19_0x4a491d,_0x5632a3={'RbnsW':function(_0xbe776d){return _0xbe776d();},'BAyNF':function(_0x12b83c,_0x5367ec){return _0x12b83c&&_0x5367ec;},'KxeYw':function(_0x11a101,_0x26919c,_0x504fd4){return _0x11a101(_0x26919c,_0x504fd4);}};let _0x5b9a3a=null;try{_0x5b9a3a=_0x5632a3[_0x38dd68(0xd0)](_resolveCallerFile);}catch(_0x219465){}_describeTitleStack[_0x38dd68(0x11f)](_0x370dd3);const _0x1db864=_describeTitleStack['join']('\x20');_0x5632a3['BAyNF'](_0x5b9a3a,_0x1db864)&&(_fileNameByFullName[_0x1db864]=_0x5b9a3a);try{return _0x5632a3['KxeYw'](_origDescribe,_0x370dd3,_0xb9b19b);}finally{_describeTitleStack[_0x38dd68(0x10e)]();}};Object[a19_0x4a491d(0xb3)](_origDescribe)['forEach'](_0x4872e9=>{_wrappedDescribe[_0x4872e9]=_origDescribe[_0x4872e9];}),global['describe']=_wrappedDescribe;}}catch(a19_0x45db26){logger[a19_0x4a491d(0xa1)](a19_0x4a491d(0x10a)+util['format'](a19_0x45db26));}try{if(typeof jasmine!==a19_0x4a491d(0x9c)&&jasmine[a19_0x4a491d(0x9d)]){const BrowserStackJasmineReporter=require(a19_0x4a491d(0xcf)),a19_0x38949f={};a19_0x38949f[a19_0x4a491d(0xe9)]=_fileNameByFullName,jasmine[a19_0x4a491d(0x9d)]()[a19_0x4a491d(0xb1)](new BrowserStackJasmineReporter(a19_0x38949f)),logger[a19_0x4a491d(0xa1)](a19_0x4a491d(0x10f));}else logger['debug'](a19_0x4a491d(0x113));}catch(a19_0x20f4ab){logger[a19_0x4a491d(0xa1)]('[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20'+util[a19_0x4a491d(0xc5)](a19_0x20f4ab));}function a19_0x1e30(){const _0x15fe62=['fileNameByFullName','../../helpers/helper','yxatb','xKquf','fOxXJ','length','__drivers','pLzgw','MPEUH','env','isBrowserstackInfra','stack','573970myqNvT','LuueF','isTrue','isArray','[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20','[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20','pPvEC','parse','vozKh','getPackageVersion','error','warn','865593kcaWWR','[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','saveAccessibilityResultsWithRetry','TnrYm','shift','2VRYFuJ','WqcNL','browserstackAgentV2','[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20','BROWSERSTACK_TESTHUB_JWT','mWkqG','skipSessionName','pop','[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter','path','browserstackSessionName','autoScanning','[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered','passed','platformCaps','includes','startsWith','368679RfxDVb','../../helpers/accessibility-automation/helper','dqLWT','__platformCaps','[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','bstackA11yShouldScan','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20','push','failed','831736qBBgYg','performScanWithRetry','thJwtToken','@playwright/test','../../helpers/accessibility-automation/accessibilityRetryHelper','Spec\x20failed','[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20','__skipSessionStatus','prepareStackTrace','ENV_VAR','undefined','getEnv','util','initQuit','skipSessionStatus','debug','get','getGlobal','session_','sep','../../index','function','NSQsz','stringify','[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','__skipSessionName','executeScript','node:','../../helpers/logger','kUqaJ','addReporter','getFileName','keys','./testRunMap','message','browserstackPlatformIndex','jasmine','0|1|2|4|3','[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20','[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','[jasmine\x20setup]\x20Exception\x20quitting\x20stale\x20driver\x20before\x20shift:\x20','Failed:\x20','KSABu','zsGLI','[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)','markSessionStatus','cQthX','\x22}}','isAccessibilityPlatform','format','setGlobal','112355OmHdnG','GcFXf','138QkAmOf','[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20','[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','BROWSERSTACK_JASMINE_CONFIG','3359204IuSkrA','[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20','./bstack-reporter/customReporter','RbnsW','[jasmine\x20setup]\x20Exception\x20in\x20final\x20driver\x20quit:\x20','[jasmine\x20setup]\x20Exception\x20in\x20stale-driver\x20shift\x20check:\x20','failedExpectations','../../helpers/testhub/constants','ygvgC','isMobilePlatform','Itysp','[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20','252TTAHKb','info','CONFIG','sessionName','cNUhV','platformIndex','[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','yiBkf','7388374YswmAK','SzVfz','uQJrg','__sessionFailed','jasmine-core','winstonLogger','zTjhs','ISJjV'];a19_0x1e30=function(){return _0x15fe62;};return a19_0x1e30();}try{typeof jasmine!==a19_0x4a491d(0x9c)&&jasmine[a19_0x4a491d(0x9d)]&&jasmine[a19_0x4a491d(0x9d)]()[a19_0x4a491d(0xb1)]({'specStarted'(_0xb16185){const _0x28d7de=a19_0x4a491d,_0x233f42={};_0x233f42[_0x28d7de(0xe2)]=function(_0x9ac816,_0x3669c2){return _0x9ac816||_0x3669c2;};const _0x3f121f=_0x233f42;_activeResultId=_0xb16185&&_0xb16185['id'],_activeFullName=_0xb16185&&_0xb16185['fullName'],_activeResultRef=_0x3f121f[_0x28d7de(0xe2)](_0xb16185,null);},'specDone'(){}});}catch(a19_0x4aa0c2){logger[a19_0x4a491d(0xa1)](a19_0x4a491d(0xba)+util[a19_0x4a491d(0xc5)](a19_0x4aa0c2));}const _resolveAutoScanning=()=>{const _0x335915=a19_0x4a491d,_0x1d8d2d={};_0x1d8d2d['pPvEC']=function(_0xfcd6ee,_0x5d3ec7){return _0xfcd6ee===_0x5d3ec7;};const _0x1fdf78=_0x1d8d2d;let _0x26ef60=!![];try{const _0x2f4c95=JSON[_0x335915(0xfd)](process[_0x335915(0xf2)][_0x335915(0xab)]||'{}');_0x1fdf78[_0x335915(0xfc)](_0x2f4c95[_0x335915(0x112)],![])&&(_0x26ef60=![]);}catch(_0x4c2158){logger[_0x335915(0xa1)]('[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20'+_0x4c2158[_0x335915(0xb5)]);}return _0x26ef60;};try{typeof beforeEach==='function'&&beforeEach(function bstackA11yBeforeEach(){const _0x513e60=a19_0x4a491d,_0x355831={'Itysp':function(_0x490d12){return _0x490d12();},'xKquf':function(_0x508014,_0x406065,_0x5dc077){return _0x508014(_0x406065,_0x5dc077);},'csQHu':function(_0x25dc91,_0xd4ed75){return _0x25dc91&&_0xd4ed75;},'fOxXJ':_0x513e60(0x11d),'WqcNL':'bstackA11yScanOptions'};try{const _0x1d9de9=_0x355831[_0x513e60(0xd7)](_resolveAutoScanning),_0x3abade=_0x355831[_0x513e60(0xec)](shouldScanTestForAccessibility,null,![]),_0x476d26=_0x355831['csQHu'](_0x1d9de9,_0x3abade);globals[_0x513e60(0xc6)](_0x355831[_0x513e60(0xed)],_0x476d26),globals[_0x513e60(0xc6)](_0x355831[_0x513e60(0x108)],null);}catch(_0x307ac5){logger[_0x513e60(0xa1)](_0x513e60(0xce)+util[_0x513e60(0xc5)](_0x307ac5));}}),typeof afterEach===a19_0x4a491d(0xa7)&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x52969=a19_0x4a491d,_0x1db652={'zTjhs':function(_0x3140de,_0x5121a3){return _0x3140de>_0x5121a3;},'GcFXf':_0x52969(0x126),'oKiZu':function(_0x122f46,_0x450ddc){return _0x122f46+_0x450ddc;},'ISJjV':_0x52969(0xbd),'TnrYm':'Passed','mWkqG':_0x52969(0x100),'zsGLI':_0x52969(0xda),'pLzgw':_0x52969(0x120),'rRTYo':_0x52969(0x114),'KSABu':function(_0x1c8cd0){return _0x1c8cd0();},'yiBkf':_0x52969(0xc4),'ygvgC':function(_0x2a997c,_0x5be187){return _0x2a997c>_0x5be187;},'NSQsz':'bstackA11yShouldScan','oEvgt':_0x52969(0x103),'PqUnS':_0x52969(0xfa),'vozKh':_0x52969(0xdf),'yxatb':_0x52969(0xbb),'LuueF':_0x52969(0xd6),'cQthX':_0x52969(0x11c),'kUqaJ':_0x52969(0xcb)};try{if(Array[_0x52969(0xf8)](global[_0x52969(0xef)])&&_0x1db652[_0x52969(0xe7)](global[_0x52969(0xef)]['length'],0x1)){const _0x55e9d1=global[_0x52969(0xef)][0x0];try{await _0x55e9d1[_0x52969(0xa4)],await _0x55e9d1[_0x52969(0x9f)]();}catch(_0x689554){logger[_0x52969(0xa1)](_0x52969(0xbc)+util[_0x52969(0xc5)](_0x689554));}global['__drivers'][_0x52969(0x106)]();}}catch(_0x134e00){logger[_0x52969(0xa1)](_0x52969(0xd2)+util[_0x52969(0xc5)](_0x134e00));}try{if(Array['isArray'](global[_0x52969(0xef)])&&_0x1db652[_0x52969(0xe7)](global[_0x52969(0xef)][_0x52969(0xee)],0x0)&&global[_0x52969(0xef)][0x0]){const _0x507d93=_activeFullName||global['sessionName'];if(!global[_0x52969(0xac)]&&_0x507d93){global[_0x52969(0xdc)]=_0x507d93;try{await global[_0x52969(0xef)][0x0][_0x52969(0xad)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x52969(0xa9)](_0x507d93)+'}}'),global[_0x52969(0xef)][0x0]['sessionNameSet__']=!![];}catch(_0x46830e){logger[_0x52969(0xa1)](_0x52969(0xf9)+util[_0x52969(0xc5)](_0x46830e));}}if(!global['__skipSessionStatus'])try{const _0x1a525b=_activeResultRef&&Array[_0x52969(0xf8)](_activeResultRef[_0x52969(0xd3)])?_activeResultRef[_0x52969(0xd3)]:[],_0x4e5ef0=_0x1db652[_0x52969(0xe7)](_0x1a525b[_0x52969(0xee)],0x0),_0x113fcd=_0x4e5ef0?_0x1a525b[0x0]&&_0x1a525b[0x0][_0x52969(0xb5)]||_0x1db652[_0x52969(0xc8)]:null;try{await global[_0x52969(0xef)][0x0][_0x52969(0xad)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+JSON['stringify'](_0x4e5ef0?_0x1db652['oKiZu'](_0x1db652[_0x52969(0xe8)],_0x113fcd):_0x1db652[_0x52969(0x105)])+',\x22level\x22:\x20\x22'+(_0x4e5ef0?_0x1db652[_0x52969(0x10c)]:_0x1db652[_0x52969(0xbf)])+_0x52969(0xc3));}catch(_0x45c158){logger[_0x52969(0xa1)](_0x52969(0xb9)+util['format'](_0x45c158));}_0x4e5ef0&&(global[_0x52969(0xe4)]=!![]),await helper[_0x52969(0xc1)](global[_0x52969(0xef)][0x0],_0x4e5ef0?_0x1db652[_0x52969(0xf0)]:_0x1db652['rRTYo'],_0x113fcd);}catch(_0x5c7bf0){logger[_0x52969(0xa1)]('[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20'+util[_0x52969(0xc5)](_0x5c7bf0));}}}catch(_0x24b1e9){logger[_0x52969(0xa1)](_0x52969(0xfb)+util['format'](_0x24b1e9));}try{if(_0x1db652[_0x52969(0xbe)](isAccessibilityAutomationSession)&&globals[_0x52969(0xa3)](_0x1db652[_0x52969(0xe0)])&&Array[_0x52969(0xf8)](global[_0x52969(0xef)])&&_0x1db652[_0x52969(0xd5)](global[_0x52969(0xef)][_0x52969(0xee)],0x0)&&global['__drivers'][0x0]){const _0x43041a=testRunMap[_0x52969(0xa2)](_activeResultId),_0x2d7df8={};_0x2d7df8['thTestRunUuid']=_0x43041a,_0x2d7df8['thBuildUuid']=process['env'][testHubConstants[_0x52969(0x9b)]['BROWSERSTACK_TESTHUB_UUID']],_0x2d7df8[_0x52969(0x123)]=process['env'][testHubConstants[_0x52969(0x9b)][_0x52969(0x10b)]];const _0x4284a1=_0x2d7df8;logger[_0x52969(0xa1)](_0x52969(0x127)+JSON[_0x52969(0xa9)](_0x4284a1));if(globals[_0x52969(0xa3)](_0x1db652[_0x52969(0xa8)])){logger[_0x52969(0xa1)](_0x1db652['oEvgt']);const _0x5dead4=await accessibilityRetryHelper[_0x52969(0x122)](global['__drivers'][0x0],global[_0x52969(0x111)]);_0x5dead4?logger[_0x52969(0xa1)](_0x1db652['PqUnS']):logger['warn'](_0x1db652[_0x52969(0xfe)]);}else logger['debug'](_0x1db652[_0x52969(0xeb)]);globals[_0x52969(0xa3)](_0x1db652[_0x52969(0xf6)])&&(_0x4284a1['is_mobile_session']=!![]);const _0x24ef48=await accessibilityRetryHelper[_0x52969(0x104)](global['__drivers'][0x0],_0x4284a1);_0x24ef48?logger[_0x52969(0xa1)](_0x1db652[_0x52969(0xc2)]):logger[_0x52969(0x101)](_0x1db652[_0x52969(0xb0)]);}}catch(_0x4d5647){logger['error'](_0x52969(0xca)+util[_0x52969(0xc5)](_0x4d5647));}});}catch(a19_0x5c9334){logger[a19_0x4a491d(0xa1)](a19_0x4a491d(0x11e)+util[a19_0x4a491d(0xc5)](a19_0x5c9334));}try{typeof afterAll==='function'&&afterAll(async function bstackFinalDriverQuit(){const _0x117f65=a19_0x4a491d,_0x1a4b3c={};_0x1a4b3c[_0x117f65(0xf1)]=function(_0x579e20,_0x1d8d75){return _0x579e20>_0x1d8d75;};const _0x227b64=_0x1a4b3c;try{Array[_0x117f65(0xf8)](global[_0x117f65(0xef)])&&_0x227b64[_0x117f65(0xf1)](global['__drivers'][_0x117f65(0xee)],0x0)&&global['__drivers'][0x0]&&(await global['__drivers'][0x0][_0x117f65(0xa4)],await global[_0x117f65(0xef)][0x0][_0x117f65(0x9f)]());}catch(_0x12897a){logger[_0x117f65(0xa1)](_0x117f65(0xd1)+util[_0x117f65(0xc5)](_0x12897a));}});}catch(a19_0x1ae64f){logger[a19_0x4a491d(0xa1)]('[jasmine\x20setup]\x20Exception\x20registering\x20afterAll\x20final\x20quit\x20hook:\x20'+util[a19_0x4a491d(0xc5)](a19_0x1ae64f));}module['exports']={};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a20_0x3609a0=a20_0x1257;(function(_0x254dd7,_0x513095){const _0x4fbb32=a20_0x1257,_0x2be600=_0x254dd7();while(!![]){try{const _0x2dfc11=-parseInt(_0x4fbb32(0x1a8))/0x1*(parseInt(_0x4fbb32(0x1a7))/0x2)+parseInt(_0x4fbb32(0x1af))/0x3*(parseInt(_0x4fbb32(0x1b2))/0x4)+parseInt(_0x4fbb32(0x1b6))/0x5*(parseInt(_0x4fbb32(0x1ad))/0x6)+parseInt(_0x4fbb32(0x1ae))/0x7+parseInt(_0x4fbb32(0x1b4))/0x8+-parseInt(_0x4fbb32(0x1b3))/0x9*(parseInt(_0x4fbb32(0x1ac))/0xa)+-parseInt(_0x4fbb32(0x1aa))/0xb;if(_0x2dfc11===_0x513095)break;else _0x2be600['push'](_0x2be600['shift']());}catch(_0xe76560){_0x2be600['push'](_0x2be600['shift']());}}}(a20_0x25d1,0x5caaa));function a20_0x1257(_0x42aa80,_0x21158c){const _0x25d112=a20_0x25d1();return a20_0x1257=function(_0x125794,_0x54a216){_0x125794=_0x125794-0x1a5;let _0x29e7be=_0x25d112[_0x125794];return _0x29e7be;},a20_0x1257(_0x42aa80,_0x21158c);}const _specUuidById=new Map();exports['set']=(_0x3794ec,_0x448b09)=>{const _0x299401=a20_0x1257,_0x5c8f8b={};_0x5c8f8b['wqmLf']=function(_0x41569a,_0x583e7c){return _0x41569a===_0x583e7c;};const _0x27ee2b=_0x5c8f8b;if(_0x27ee2b['wqmLf'](_0x3794ec,undefined)||_0x27ee2b[_0x299401(0x1ab)](_0x3794ec,null))return;_specUuidById['set'](_0x3794ec,_0x448b09);},exports['get']=_0x5598d1=>{const _0x1da4e6=a20_0x1257,_0x184393={};_0x184393[_0x1da4e6(0x1b5)]=function(_0x1f6060,_0x2878a3){return _0x1f6060===_0x2878a3;},_0x184393[_0x1da4e6(0x1a5)]=function(_0x4e374b,_0x3f761e){return _0x4e374b===_0x3f761e;};const _0x459a6b=_0x184393;if(_0x459a6b[_0x1da4e6(0x1b5)](_0x5598d1,undefined)||_0x459a6b[_0x1da4e6(0x1a5)](_0x5598d1,null))return undefined;return _specUuidById[_0x1da4e6(0x1b8)](_0x5598d1);},exports[a20_0x3609a0(0x1a9)]=_0x128aa7=>{const _0x25fd5c=a20_0x3609a0,_0x4cd517={};_0x4cd517[_0x25fd5c(0x1a6)]=function(_0xaf2fa6,_0x40044c){return _0xaf2fa6===_0x40044c;};const _0x5cca38=_0x4cd517;if(_0x5cca38['OpTKA'](_0x128aa7,undefined)||_0x5cca38[_0x25fd5c(0x1a6)](_0x128aa7,null))return;_specUuidById[_0x25fd5c(0x1b7)](_0x128aa7);},exports[a20_0x3609a0(0x1b1)]=()=>_specUuidById[a20_0x3609a0(0x1b0)];function a20_0x25d1(){const _0x5e5b8d=['574995OhClDc','delete','get','GYetq','OpTKA','3736GpxGRo','14iiqhTk','remove','1119173CGKZYq','wqmLf','10wfkIga','24ChAjhG','328251NnZMoS','564QFOqhT','size','_size','32mePREG','2454138lLNAve','2173968UzKOiq','dtfuS'];a20_0x25d1=function(){return _0x5e5b8d;};return a20_0x25d1();}
|
package/src/bin/jest/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a21_0xbe8341=a21_0x40f5;(function(_0x5d1e87,_0x355ad6){const _0x593094=a21_0x40f5,_0x1291ac=_0x5d1e87();while(!![]){try{const _0x206703=parseInt(_0x593094(0x14d))/0x1+-parseInt(_0x593094(0xab))/0x2*(-parseInt(_0x593094(0xd8))/0x3)+-parseInt(_0x593094(0x10f))/0x4+parseInt(_0x593094(0x184))/0x5+-parseInt(_0x593094(0xf7))/0x6+-parseInt(_0x593094(0xc9))/0x7+-parseInt(_0x593094(0xed))/0x8*(-parseInt(_0x593094(0x16f))/0x9);if(_0x206703===_0x355ad6)break;else _0x1291ac['push'](_0x1291ac['shift']());}catch(_0x2d4aa6){_0x1291ac['push'](_0x1291ac['shift']());}}}(a21_0x4a64,0xb9ea5));function a21_0x40f5(_0x9949bd,_0x8c424){const _0x4a64fc=a21_0x4a64();return a21_0x40f5=function(_0x40f507,_0x3a6731){_0x40f507=_0x40f507-0x9e;let _0x1a1658=_0x4a64fc[_0x40f507];return _0x1a1658;},a21_0x40f5(_0x9949bd,_0x8c424);}const fs=require('fs'),path=require('path'),util=require(a21_0xbe8341(0xfe)),{spawn}=require(a21_0xbe8341(0x166)),logger=require('../../helpers/logger')[a21_0xbe8341(0x12b)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a21_0xbe8341(0xda)),utilities=require(a21_0xbe8341(0x162)),constants=require(a21_0xbe8341(0xd9)),accessibilityHelper=require(a21_0xbe8341(0x11d)),{updateTestRerunConfig}=require('./test-observability/helper'),testOpsHelper=require(a21_0xbe8341(0xbc)),{debug}=require(a21_0xbe8341(0xbc)),TestDetails=require(a21_0xbe8341(0xbe)),{getPercyOptions}=require(a21_0xbe8341(0x154)),TestHubHandler=require(a21_0xbe8341(0x127)),testhubUtils=require(a21_0xbe8341(0xad)),{FRAMEWORKS}=require(a21_0xbe8341(0xf6)),PerformanceTester=require(a21_0xbe8341(0xdd)),PerformanceEvents=require(a21_0xbe8341(0x113))[a21_0xbe8341(0xdf)],TestOrchestrationHandler=require(a21_0xbe8341(0x13d)),BrowserstackCLI=require(a21_0xbe8341(0x15a)),{checkPwandBootstrapCli}=require(a21_0xbe8341(0xb6)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a21_0xbe8341(0x161)),ClientTroubleShootingService=require(a21_0xbe8341(0xc3)),{checkAccessibilityPlatformConfig}=require(a21_0xbe8341(0x11d)),getUserJestConfigs=async(_0x318425,_0x56448c)=>{const _0x59f4bf=a21_0xbe8341,_0x115cba={'Ksqhx':'jest-config/build/readConfigFileAndSetRootDir.js','YGaWr':_0x59f4bf(0x111),'yaKbl':function(_0x528738,_0x532855){return _0x528738||_0x532855;},'gZdwg':function(_0x3063bd,_0x34aa13){return _0x3063bd(_0x34aa13);},'UkTfd':_0x59f4bf(0x14b),'LBqNM':_0x59f4bf(0x131),'QPtQp':_0x59f4bf(0x181),'ZuIWl':_0x59f4bf(0xeb),'Qglvh':_0x59f4bf(0x115)};let _0x5aeb8f;try{_0x5aeb8f=helper[_0x59f4bf(0xa4)](_0x115cba[_0x59f4bf(0xee)],_0x115cba[_0x59f4bf(0x112)]);}catch{const _0xd5de9c=helper[_0x59f4bf(0xa4)](_0x115cba[_0x59f4bf(0x112)]);_0x5aeb8f={'default':async _0x4cd550=>{const _0x57a756=_0x59f4bf,_0x22e514=await _0xd5de9c[_0x57a756(0xba)](_0x4cd550,{});return _0x22e514[_0x57a756(0xf9)];}};}const _0x39618c=_0x56448c['findIndex'](_0x11decb=>_0x11decb===_0x59f4bf(0x10b));if(!helper[_0x59f4bf(0x122)](_0x318425[_0x59f4bf(0xf9)])){logger[_0x59f4bf(0xf8)]('Getting\x20your\x20jest\x20configs\x20from\x20'+_0x318425[_0x59f4bf(0xf9)]),process[_0x59f4bf(0x11f)][_0x59f4bf(0x185)]=_0x318425[_0x59f4bf(0xf9)];const _0x552ed3=await(0x0,_0x5aeb8f[_0x59f4bf(0xd0)])(path['resolve'](_0x318425['config']));return _0x56448c[_0x59f4bf(0x133)](_0x39618c,0x2),_0x115cba[_0x59f4bf(0xc7)](_0x552ed3,{});}const _0x572935=_0x115cba[_0x59f4bf(0xf4)](require,path[_0x59f4bf(0x179)](process['cwd'](),_0x115cba[_0x59f4bf(0x171)]));if(_0x572935['jest'])return logger['info'](_0x115cba[_0x59f4bf(0x13e)]),_0x572935['jest'];const _0x24bbb8=['js',_0x115cba[_0x59f4bf(0xd6)],_0x115cba[_0x59f4bf(0x177)],_0x115cba[_0x59f4bf(0x172)],'ts'];for(const _0xda7d44 of _0x24bbb8){const _0x276d8f=path[_0x59f4bf(0x179)](process['cwd'](),_0x59f4bf(0xae)+_0xda7d44);if(fs[_0x59f4bf(0x148)](_0x276d8f)){process[_0x59f4bf(0x11f)]['USER_CONFIG_DETAILS_PATH']=_0x276d8f;const _0x6e156=await(0x0,_0x5aeb8f[_0x59f4bf(0xd0)])(_0x276d8f);return _0x6e156;}}return{};},getSerial=(_0x339216,_0xc5370d)=>{const _0x49586f=a21_0xbe8341,_0x4e9196={};_0x4e9196[_0x49586f(0xea)]=_0x49586f(0x152),_0x4e9196['DHywb']=function(_0x348df6,_0x129946){return _0x348df6>_0x129946;},_0x4e9196[_0x49586f(0x180)]='false';const _0x1d308e=_0x4e9196;let _0x41603c=_0x1d308e[_0x49586f(0xea)];return _0x1d308e[_0x49586f(0x17c)](_0x339216[_0x49586f(0x182)],0x1)&&(!_0xc5370d['runInBand']&&(helper[_0x49586f(0x122)](_0xc5370d[_0x49586f(0x128)])||_0x1d308e[_0x49586f(0x17c)](_0xc5370d[_0x49586f(0x128)],0x1)))&&(_0x41603c=_0x1d308e[_0x49586f(0x180)]),_0x41603c;},getMaxWorkers=(_0x4e9a6a,_0x34403c,_0xc9f253)=>{const _0x4e21ee=a21_0xbe8341,_0x21afea={'MNXRP':function(_0x11456e,_0x1e285c){return _0x11456e(_0x1e285c);}};let _0x18a132=0x1;if(!helper[_0x4e21ee(0x122)](_0x34403c[_0x4e21ee(0x190)]))_0x18a132=_0x21afea[_0x4e21ee(0xc1)](parseInt,_0x34403c[_0x4e21ee(0x190)]);else{if(!helper[_0x4e21ee(0x122)](_0x4e9a6a[_0x4e21ee(0x128)]))_0x18a132=_0x4e9a6a['maxWorkers'];else!helper['isUndefined'](_0xc9f253['maxWorkers'])&&(_0x18a132=_0xc9f253[_0x4e21ee(0x128)]);}return _0x18a132;};async function run(_0x4418c4,_0x2abdc4,_0x26d8a9){const _0x4ea359=a21_0xbe8341,_0x126096={'Qcugu':_0x4ea359(0x136),'DDMNu':function(_0x985ed6,_0x1588cb){return _0x985ed6(_0x1588cb);},'tSVxK':'@playwright/test','jWqqL':function(_0x5154da){return _0x5154da();},'WWohk':function(_0x8b756a,_0x234351,_0x517796,_0x55e900){return _0x8b756a(_0x234351,_0x517796,_0x55e900);},'KnRdT':function(_0x56b6cd,_0x3d5cb5){return _0x56b6cd!=_0x3d5cb5;},'cPyjj':_0x4ea359(0x152),'xkxnM':function(_0x400162,_0x157db3,_0x5860db){return _0x400162(_0x157db3,_0x5860db);},'UNlzU':_0x4ea359(0xfc),'cAWct':function(_0x2f7750,_0x3317e1){return _0x2f7750(_0x3317e1);},'Zbwle':'false','YbxTv':function(_0x39e618,_0x50778d,_0x28aa80){return _0x39e618(_0x50778d,_0x28aa80);},'ssPXH':function(_0x1a274c,_0x17282e,_0x312842,_0x47498f){return _0x1a274c(_0x17282e,_0x312842,_0x47498f);},'AXtuS':function(_0x5172ff,_0x273599){return _0x5172ff*_0x273599;},'jVStG':function(_0x4e0664,_0x390f0f){return _0x4e0664===_0x390f0f;},'xLUVU':_0x4ea359(0x158),'nfbCG':_0x4ea359(0x12a),'FTeeE':_0x4ea359(0xb5),'EZjCk':_0x4ea359(0xcc),'OPHgy':'customTestRunner.js','TspAo':_0x4ea359(0xdb),'gKwTQ':'customEnvironment.js','ViHZW':function(_0x2d7e35,_0x52886e){return _0x2d7e35!==_0x52886e;},'WDUXa':'jest-runner','opiSY':_0x4ea359(0x17a),'VWZNK':_0x4ea359(0x10a),'nTYqi':_0x4ea359(0x11c),'OqOLJ':_0x4ea359(0xd1),'HyloJ':'jest-circus','JGSqT':_0x4ea359(0x17f),'zASEZ':_0x4ea359(0x116),'nyJXu':'data-hooks.js','PRpnE':_0x4ea359(0x105),'hhjyP':_0x4ea359(0xe6),'HUUVK':_0x4ea359(0x138),'XPDGK':_0x4ea359(0x16d),'FTkmY':_0x4ea359(0x13a),'YKcOj':_0x4ea359(0xe1),'NFaFF':_0x4ea359(0xd3),'GuCdv':function(_0x1e1eef,_0x5d75ba){return _0x1e1eef&&_0x5d75ba;},'nHgxH':_0x4ea359(0xb7),'psEcW':_0x4ea359(0x12d),'LUKTK':'puppeteer-core/package.json','nXLju':'default','chAKT':_0x4ea359(0x18f),'dFcsd':_0x4ea359(0x104),'yaSwf':_0x4ea359(0xe7),'DOBly':function(_0x4057f7,_0x2a1c6e){return _0x4057f7>_0x2a1c6e;},'WJjLD':_0x4ea359(0xac),'Lhgrk':_0x4ea359(0x10b),'dEAQO':function(_0x26a576,_0x46c1aa,_0x479f63,_0x4d35ef){return _0x26a576(_0x46c1aa,_0x479f63,_0x4d35ef);},'ufYPf':_0x4ea359(0x145),'sncul':'win32','YeSBe':_0x4ea359(0x164),'WUbUv':_0x4ea359(0xe9)},_0x2c73e4=helper[_0x4ea359(0x14e)](_0x126096[_0x4ea359(0x14f)]);global[_0x4ea359(0x106)]=!!_0x2c73e4;const _0x450956=_0x126096['jWqqL'](getPuppeteerVersion);global[_0x4ea359(0x100)]=!!_0x450956;helper[_0x4ea359(0x129)]()&&(await _0x26d8a9['initialize'](_0x4418c4),await helper['handleApp'](_0x26d8a9[_0x4ea359(0xf9)]));if(_0x2c73e4)await _0x126096[_0x4ea359(0xf5)](checkPwandBootstrapCli,_0x2c73e4,constants[_0x4ea359(0x135)]['JEST'],_0x26d8a9);else _0x450956&&await _0x126096['WWohk'](checkPuppeteerAndBootstrapCli,_0x450956,constants[_0x4ea359(0x135)]['JEST'],_0x26d8a9);!BrowserstackCLI[_0x4ea359(0xb3)]()[_0x4ea359(0x10d)]()&&await _0x26d8a9['setupBrowserstackLocal']();if(!_0x26d8a9['config'])return;_0x126096[_0x4ea359(0xca)](_0x26d8a9[_0x4ea359(0xf9)][_0x4ea359(0x183)],null)?process[_0x4ea359(0x11f)][_0x4ea359(0xf2)]=_0x26d8a9[_0x4ea359(0xf9)][_0x4ea359(0x183)]:process[_0x4ea359(0x11f)][_0x4ea359(0xf2)]=_0x126096[_0x4ea359(0xf3)];const _0x3eb519=new TestOrchestrationHandler(_0x26d8a9['config']),_0x13457d=await _0x126096[_0x4ea359(0xd4)](getUserJestConfigs,_0x4418c4,_0x2abdc4);logger[_0x4ea359(0xf8)](_0x126096[_0x4ea359(0x15f)]);const _0x6f1d52=Object[_0x4ea359(0x18a)]({},_0x13457d);_0x6f1d52[_0x4ea359(0x13f)]=Object[_0x4ea359(0x18a)]({},_0x6f1d52[_0x4ea359(0x13f)],{'server':helper[_0x4ea359(0x9e)](_0x26d8a9['config']),'environment':_0x13457d[_0x4ea359(0xce)]}),_0x6f1d52[_0x4ea359(0x13f)][_0x4ea359(0x188)]=_0x126096[_0x4ea359(0x168)](getPercyOptions,_0x26d8a9['config']);const _0x2a3c4e=helper[_0x4ea359(0x150)](_0x26d8a9[_0x4ea359(0xf9)]);!helper['isUndefined'](_0x26d8a9['config'][_0x4ea359(0x107)])&&(process[_0x4ea359(0x11f)][_0x4ea359(0xa8)]=JSON['stringify'](_0x26d8a9['config'][_0x4ea359(0x107)]));if(!BrowserstackCLI[_0x4ea359(0xb3)]()[_0x4ea359(0x10d)]()){const _0x3739b7=await TestHubHandler[_0x4ea359(0xa0)](FRAMEWORKS[_0x4ea359(0xb0)],_0x26d8a9);}const _0x2338c9=helper[_0x4ea359(0x18c)](_0x26d8a9[_0x4ea359(0xf9)],_0x2a3c4e,constants['FRAMEWORKS'][_0x4ea359(0xb0)]);process[_0x4ea359(0x11f)][_0x4ea359(0x160)]=JSON[_0x4ea359(0x17e)](_0x2338c9);let _0xf0d7e4=_0x26d8a9[_0x4ea359(0xf9)][_0x4ea359(0x140)];_0xf0d7e4=_0xf0d7e4||accessibilityHelper[_0x4ea359(0x11a)](_0x26d8a9['config']),process[_0x4ea359(0x11f)][_0x4ea359(0x10e)]=_0xf0d7e4,logger[_0x4ea359(0x147)](_0x4ea359(0xb1)+_0xf0d7e4+_0x4ea359(0xaf)+BrowserstackCLI[_0x4ea359(0xb3)]()[_0x4ea359(0x10d)]());if(_0x2c73e4)try{const _0x87eccc=_0x126096[_0x4ea359(0x110)](checkAccessibilityPlatformConfig,_0x26d8a9[_0x4ea359(0xf9)]);process[_0x4ea359(0x11f)][_0x4ea359(0x167)]=_0x87eccc?_0x126096[_0x4ea359(0xf3)]:_0x126096['Zbwle'],logger[_0x4ea359(0x147)](_0x4ea359(0x10c)+_0x87eccc+_0x4ea359(0xff)+process[_0x4ea359(0x11f)][_0x4ea359(0x167)]);}catch(_0x5bd977){logger[_0x4ea359(0x147)](_0x4ea359(0x16e)+util[_0x4ea359(0xa6)](_0x5bd977));}_0x6f1d52[_0x4ea359(0x13f)]['capabilities']=_0x2338c9,_0x6f1d52[_0x4ea359(0x13f)][_0x4ea359(0x17b)]=_0x126096['YbxTv'](getSerial,_0x2338c9,_0x4418c4),_0x6f1d52[_0x4ea359(0x13f)][_0x4ea359(0x15b)]=_0x126096['ssPXH'](getMaxWorkers,_0x4418c4,_0x26d8a9['config'],_0x13457d),_0x6f1d52[_0x4ea359(0x13f)][_0x4ea359(0x18d)]=_0x26d8a9['config'][_0x4ea359(0x18d)],_0x6f1d52[_0x4ea359(0x13f)][_0x4ea359(0x169)]=_0x126096['AXtuS'](_0x4418c4['testTimeout'],0x1)||0x1388,_0x6f1d52[_0x4ea359(0x13f)][_0x4ea359(0x120)]=_0x26d8a9['config'][_0x4ea359(0x13c)][_0x4ea359(0x120)],_0x6f1d52['testEnvironmentOptions'][_0x4ea359(0x124)]=_0x26d8a9[_0x4ea359(0xf9)][_0x4ea359(0x13c)][_0x4ea359(0x124)],_0x6f1d52[_0x4ea359(0x13f)][_0x4ea359(0xc6)]=_0x26d8a9[_0x4ea359(0xf9)][_0x4ea359(0x139)],_0x6f1d52['testEnvironmentOptions'][_0x4ea359(0x11e)]=_0x26d8a9[_0x4ea359(0xf9)][_0x4ea359(0x11e)],_0x6f1d52[_0x4ea359(0x13f)][_0x4ea359(0x118)]=_0x26d8a9[_0x4ea359(0xf9)]['platforms'],Object[_0x4ea359(0x18a)](_0x6f1d52[_0x4ea359(0x13f)],helper['getMultiDriverWorkerConfig'](_0x26d8a9[_0x4ea359(0xf9)],_0x2a3c4e,constants[_0x4ea359(0x135)][_0x4ea359(0xb0)]));const _0x326842=helper[_0x4ea359(0xa1)](_0x26d8a9[_0x4ea359(0xf9)]);if(!helper['isEmpty'](_0x326842)){helper[_0x4ea359(0xc8)](_0x326842[_0x4ea359(0x17d)])&&(_0x6f1d52['testEnvironmentOptions']['retries__']=_0x326842[_0x4ea359(0x17d)]['maxRetries']);if(helper[_0x4ea359(0xc8)](_0x326842['abortBuildOnFailure'])&&helper[_0x4ea359(0xc8)](_0x326842[_0x4ea359(0x156)][_0x4ea359(0xc4)])){const _0x14db08={};_0x14db08[_0x4ea359(0x108)]=_0x326842[_0x4ea359(0x156)][_0x4ea359(0xf1)],_0x14db08[_0x4ea359(0xc4)]=_0x326842[_0x4ea359(0x156)]['workingDir'],_0x6f1d52[_0x4ea359(0x13f)][_0x4ea359(0x132)]=_0x14db08;}}let _0x3c8242='';_0x126096[_0x4ea359(0xe5)](helper[_0x4ea359(0x146)](),constants['PACKAGE_TYPE'][_0x4ea359(0x125)])?_0x3c8242=_0x126096[_0x4ea359(0x101)]:_0x3c8242=_0x126096[_0x4ea359(0x103)];const _0x4501f8=_0x3c8242,_0x13d026=path[_0x4ea359(0x179)](__dirname,_0x126096[_0x4ea359(0xa7)],_0x126096[_0x4ea359(0x144)]),_0xbf5ded=path[_0x4ea359(0x179)](__dirname,_0x126096[_0x4ea359(0xa7)],_0x126096[_0x4ea359(0x15d)]),_0x32c0ec=path[_0x4ea359(0x179)](__dirname,_0x126096[_0x4ea359(0xa7)],_0x126096[_0x4ea359(0x151)]);_0x6f1d52[_0x4ea359(0xce)]&&(process[_0x4ea359(0x11f)]['BSTACK_JEST_TEST_ENV']=_0x6f1d52[_0x4ea359(0xce)]);_0x6f1d52[_0x4ea359(0xce)]=path[_0x4ea359(0x179)](__dirname,_0x126096[_0x4ea359(0xa7)],_0x126096['gKwTQ']);const _0x35f6ff=_0x13457d[_0x4ea359(0x16a)];if(_0x35f6ff&&_0x126096[_0x4ea359(0x109)](_0x35f6ff,_0x126096['WDUXa'])){const _0x52fcf8=_0x35f6ff[_0x4ea359(0xc5)](_0x126096['opiSY'])?_0x35f6ff:'jest-runner-'+_0x35f6ff;process['env']['BSTACK_USER_JEST_RUNNER']=_0x52fcf8,logger[_0x4ea359(0xf8)](_0x4ea359(0x137)+_0x52fcf8);}_0x6f1d52[_0x4ea359(0x16a)]=_0xbf5ded,_0x6f1d52[_0x4ea359(0xe3)]=_0x6f1d52['setupFilesAfterEnv']||[],_0x6f1d52[_0x4ea359(0xe3)][_0x4ea359(0x143)](path['join'](__dirname,_0x126096[_0x4ea359(0xfb)]));_0x3eb519[_0x4ea359(0xde)]()&&(_0x6f1d52[_0x4ea359(0xcb)]=path[_0x4ea359(0x179)](__dirname,_0x126096[_0x4ea359(0xa7)],_0x126096[_0x4ea359(0xbd)]));if(testhubUtils['shouldProcessEventForTesthub']()||BrowserstackCLI[_0x4ea359(0xb3)]()[_0x4ea359(0x13b)]()){let _0x53e9ab=null;try{_0x53e9ab=helper[_0x4ea359(0xa4)](_0x126096[_0x4ea359(0xd5)],_0x126096[_0x4ea359(0xcd)]);}catch(_0xa6abe0){try{_0x53e9ab=helper[_0x4ea359(0xa4)](_0x126096['JGSqT'],_0x126096['HyloJ']);}catch(_0x38f594){_0x126096[_0x4ea359(0x168)](debug,_0x4ea359(0x126)+_0x38f594);}}_0x53e9ab&&(testhubUtils[_0x4ea359(0xef)]()&&_0x6f1d52[_0x4ea359(0xe3)]['push'](path[_0x4ea359(0x179)](__dirname,_0x126096['zASEZ'],_0x126096[_0x4ea359(0x15e)])),_0x6f1d52[_0x4ea359(0x174)]=path[_0x4ea359(0x179)](__dirname,_0x126096[_0x4ea359(0xa7)],_0x126096['PRpnE']));}_0x6f1d52[_0x4ea359(0x141)]=_0x6f1d52[_0x4ea359(0x141)]||[];try{helper['requireSeleniumWebdriver'](),_0x6f1d52['setupFiles'][_0x4ea359(0x143)](path[_0x4ea359(0x179)](__dirname,_0x126096[_0x4ea359(0xfa)]));}catch{logger[_0x4ea359(0x147)](_0x126096[_0x4ea359(0x173)]);}try{helper['requirePWModule'][_0x4ea359(0x155)](null,[_0x126096[_0x4ea359(0x14f)],_0x126096['XPDGK']]),logger[_0x4ea359(0x147)](_0x126096['FTkmY']),_0x6f1d52[_0x4ea359(0x141)]['push'](path[_0x4ea359(0x179)](__dirname,_0x126096[_0x4ea359(0x14c)]));}catch(_0x15e4b2){logger[_0x4ea359(0x147)](_0x126096[_0x4ea359(0xa3)],_0x15e4b2);}if(_0x126096[_0x4ea359(0x119)](!_0x2c73e4,_0x450956)){try{logger['debug'](_0x126096['nHgxH']),_0x6f1d52[_0x4ea359(0xe3)][_0x4ea359(0x143)](path[_0x4ea359(0x179)](__dirname,'..',_0x126096[_0x4ea359(0x165)],_0x126096[_0x4ea359(0x14c)]));}catch(_0x5ca6c4){logger[_0x4ea359(0x147)](_0x4ea359(0x16c)+_0x5ca6c4[_0x4ea359(0xbf)]);}try{const _0x583afd=require[_0x4ea359(0x117)](_0x126096[_0x4ea359(0x9f)]),_0x9ffa15=path['dirname'](_0x583afd)[_0x4ea359(0xfd)](/\\/g,'/'),_0x30355a={};_0x30355a['^puppeteer-core/internal/(.*)']=_0x9ffa15+'/internal/$1',_0x6f1d52[_0x4ea359(0x153)]=Object['assign']({},_0x6f1d52[_0x4ea359(0x153)]||{},_0x30355a),logger[_0x4ea359(0x147)]('[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20'+_0x9ffa15);}catch(_0x57f657){logger[_0x4ea359(0x147)]('[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20'+_0x57f657[_0x4ea359(0xbf)]);}}_0x6f1d52[_0x4ea359(0x121)]=_0x6f1d52[_0x4ea359(0x121)]||[_0x126096[_0x4ea359(0x163)]],_0x126096['xkxnM'](updateTestRerunConfig,_0x6f1d52,_0x26d8a9);const _0x534d42=fs[_0x4ea359(0x114)](_0x32c0ec),_0x4c9f42=helper[_0x4ea359(0x102)](_0x126096['chAKT'],_0x126096[_0x4ea359(0xe0)]);!_0x4c9f42[_0x4ea359(0xcf)]?fs[_0x4ea359(0xdc)](_0x6f1d52['runner'],'\x0a\x20\x20\x20\x20\x20\x20'+_0x534d42+'\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20'+_0x26d8a9[_0x4ea359(0xf9)]['platforms'][_0x4ea359(0x182)]+_0x4ea359(0xbb)):fs['writeFileSync'](_0x6f1d52['runner'],_0x4ea359(0x176)+_0x534d42+_0x4ea359(0x130)+_0x26d8a9['config']['platforms']['length']+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20})();\x0a\x20\x20\x20\x20');logger[_0x4ea359(0xf8)](_0x4ea359(0xe2)+_0x4501f8+_0x4ea359(0xd2)),fs[_0x4ea359(0xdc)](_0x4501f8,_0x4ea359(0x18b)+JSON['stringify'](_0x6f1d52)+_0x4ea359(0xb4));if(_0x3eb519['isTestOrchestrationEnabled']()){logger[_0x4ea359(0x147)](_0x126096[_0x4ea359(0x189)]);const _0x2766f3=await _0x3eb519[_0x4ea359(0xa2)](_0x6f1d52,_0x2abdc4[_0x4ea359(0xa9)](0x1),_0x4501f8);logger[_0x4ea359(0x147)](_0x4ea359(0x11b)+JSON[_0x4ea359(0x17e)](_0x2766f3)+'\x20test\x20files\x20to\x20run.');const _0x416a85=await _0x3eb519[_0x4ea359(0xe8)](_0x2766f3);logger[_0x4ea359(0x147)](_0x4ea359(0xec)+JSON[_0x4ea359(0x17e)](_0x416a85)),_0x416a85&&_0x126096[_0x4ea359(0xf0)](_0x416a85[_0x4ea359(0x182)],0x0)&&(process[_0x4ea359(0x11f)][_0x4ea359(0x12f)]=_0x416a85?.[_0x4ea359(0x179)](','));}logger['info'](_0x126096['WJjLD']);testhubUtils[_0x4ea359(0xef)]()&&TestDetails['setup']();helper['filterBrowserstackArgs']({},_0x2abdc4),PerformanceTester['end'](PerformanceEvents[_0x4ea359(0x178)]);const _0xc28d56=[_0x126096[_0x4ea359(0x15c)],_0x126096[_0x4ea359(0x175)],_0x4501f8,..._0x2abdc4[_0x4ea359(0xa9)](0x1)];process['env'][_0x4ea359(0xb9)]=process['env'][_0x4ea359(0xb9)]||_0x126096['Qcugu'];const _0x25f753=_0x126096['dEAQO'](spawn,_0x126096[_0x4ea359(0x123)],_0xc28d56,{'shell':_0x126096[_0x4ea359(0xe5)](process[_0x4ea359(0x186)],_0x126096['sncul']),'stdio':_0x126096['YeSBe'],'env':Object[_0x4ea359(0x18a)]({},process[_0x4ea359(0x11f)])});_0x25f753['on'](_0x126096[_0x4ea359(0x157)],async _0x2c5d8f=>{const _0x2339b1=_0x4ea359;PerformanceTester[_0x2339b1(0x142)](PerformanceEvents[_0x2339b1(0x134)]),process[_0x2339b1(0x159)]=_0x2c5d8f,logger[_0x2339b1(0x147)](_0x2339b1(0xa5)+_0x2c5d8f),logger[_0x2339b1(0xf8)](_0x2339b1(0xe4)+_0x4501f8);if(helper[_0x2339b1(0xc8)](_0x326842)&&helper[_0x2339b1(0xc8)](_0x326842[_0x2339b1(0x156)])&&fs['existsSync'](_0x326842[_0x2339b1(0x156)][_0x2339b1(0xc4)]))try{const _0x819683={};_0x819683['recursive']=!![],_0x819683['force']=!![],fs[_0x2339b1(0x170)](_0x326842[_0x2339b1(0x156)]['workingDir'],_0x819683),logger['debug'](_0x2339b1(0xc2)+_0x326842[_0x2339b1(0x156)][_0x2339b1(0xc4)]);}catch(_0xe1f64c){logger[_0x2339b1(0xcf)](_0x2339b1(0xb2)+_0xe1f64c);}let _0x7440=null;if(fs[_0x2339b1(0x148)](_0x13d026)){_0x7440=fs[_0x2339b1(0x114)](_0x13d026);try{_0x7440=JSON[_0x2339b1(0x14a)](_0x7440);}catch(_0x399121){logger[_0x2339b1(0x147)](_0x2339b1(0x187)+_0x13d026+',\x20'+_0x7440+_0x2339b1(0x18e)+_0x399121);}fs[_0x2339b1(0xc0)](_0x13d026);}fs[_0x2339b1(0xc0)](_0x4501f8),fs[_0x2339b1(0xc0)](_0xbf5ded),_0x7440&&(_0x26d8a9['errorMessage']=helper[_0x2339b1(0xd7)](_0x7440,_0x126096[_0x2339b1(0x15c)],_0x26d8a9));const _0x583eb0=BrowserstackCLI[_0x2339b1(0x149)]();try{await TestHubHandler['stop'](),await BrowserstackCLI[_0x2339b1(0xb3)]()[_0x2339b1(0x12c)]();}catch(_0x262c10){console['log'](_0x262c10),_0x126096[_0x2339b1(0x168)](debug,_0x2339b1(0xb8)+util[_0x2339b1(0xa6)](_0x262c10));}testOpsHelper[_0x2339b1(0x16b)](),TestDetails['shutdown'](),await utilities[_0x2339b1(0x12e)](_0x26d8a9,_0x583eb0);});}function a21_0x4a64(){const _0x1a3e25=[';\x0a\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20','../../helpers/test-observability/utils','nTYqi','./test-observability/test-details','message','unlinkSync','MNXRP','Deleted\x20fail-fast\x20state\x20folder:\x20','../utils/clientTroubleshootingService','workingDir','startsWith','browserStackLogLevel','yaKbl','isNotUndefined','3510031Sughgb','KnRdT','testSequencer','jest_browserstack_results.json','HyloJ','testEnvironment','error','default','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','\x20with\x20browserstack\x20jest\x20configs','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','xkxnM','OqOLJ','QPtQp','getErrorMessageFromResults','22239zTEPSD','../utils/constants','../../helpers/helper','customTestRunnerTemplate.js','writeFileSync','../../helpers/performance/performance-tester','isTestOrchestrationEnabled','EVENTS','dFcsd','test.setup.js','Creating\x20','setupFilesAfterEnv','Deleting\x20','jVStG','test_before.setup.js','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','reorderTestFiles','close','oHonM','cjs','Reodered\x20Test\x20Files:\x20','16CSdllG','Ksqhx','shouldProcessEventForTesthub','DOBly','maxFailures','BROWSERSTACK_TEST_OBSERVABILITY_YML','cPyjj','gZdwg','WWohk','../../helpers/test-observability/constants','8489748BlctDU','info','config','hhjyP','VWZNK','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','replace','util',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','__isPuppeteerInstalled','xLUVU','resolveModule','nfbCG','@jest/core','customCircus.js','__isPlaywrightInstalled','accessibilityOptions','failureThresholdCount','ViHZW','jest.setup.js','--config','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','isRunning','BROWSERSTACK_TEST_ACCESSIBILITY_YML','123544UQOHiT','cAWct','jest-config','YGaWr','../../helpers/performance/constants','readFileSync','json','test-observability','resolve','platformCaps','GuCdv','checkAccessibilityPlatformConfig','Found:\x20','customSequencer.js','../../helpers/accessibility-automation/helper','turboScaleUrl','env','skipSessionName','reporters','isUndefined','ufYPf','skipSessionStatus','MODULE','Unable\x20to\x20find\x20jest-circus,\x20','../../helpers/testhub/testhubHandler','maxWorkers','isBrowserstackInfra','jest_browserstack.config.js','winstonLogger','stop','puppeteer','finalExecution','JEST_TEST_ORDER','\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x0a\x20\x20\x20\x20\x20\x20(async\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20{createTestScheduler}\x20=\x20requireModule(\x27@jest/core\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20tempScheduler\x20=\x20await\x20createTestScheduler({reporters:\x20[]},\x20{});\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20tempScheduler._dispatcher.constructor;\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','Getting\x20your\x20jest\x20configs\x20from\x20package.json','failFast','splice','SDK_CLEANUP','FRAMEWORKS','jest','Preserving\x20user\x27s\x20Jest\x20runner:\x20','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','logLevel','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','isCliEnabled','testContextOptions','../../helpers/test-orchestration/testOrchestrationHandler','LBqNM','testEnvironmentOptions','accessibility','setupFiles','start','push','EZjCk','npx','getPackageType','debug','existsSync','isCLIEnabled','parse','package.json','YKcOj','1381985GCMYiH','getPackageVersion','tSVxK','useW3C','TspAo','true','moduleNameMapper','../../helpers/percy/utils','apply','abortBuildOnFailure','WUbUv','jest_browserstack.config.cjs','exitCode','../v2/browserstackCLI','parallels__','Qcugu','OPHgy','nyJXu','UNlzU','BROWSERSTACK_CAPABILITIES','../../helpers/puppeteer-helper','../../helpers/utilities','nXLju','inherit','psEcW','child_process','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','DDMNu','timeout__','runner','printBuildLink','Puppeteer\x20setup\x20error:\x20','playwright','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','77580wyFKNM','rmSync','UkTfd','Qglvh','HUUVK','testRunner','Lhgrk','\x0a\x20\x20\x20\x20\x20\x20','ZuIWl','SDK_SETUP','join','jest-runner-','serial__','DHywb','retryTestsOnFailure','stringify','jest-circus/build/runner.js','MafGi','mjs','length','testObservability','4657490TyBLzg','USER_CONFIG_DETAILS_PATH','platform','Error\x20while\x20parsing\x20','browserStackPercyOptions','yaSwf','assign','const\x20config=','prepareCapabilities','proxySettings','\x20:\x20','@jest/core/build/ReporterDispatcher.js','parallelsPerPlatform','getHubUrl','LUKTK','launchBuild','parseTestOrchestrationOptions','findTestFiles','NFaFF','requireModule','child\x20process\x20exited\x20with\x20code\x20','format','FTeeE','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','slice','exports','102TiCRSI','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','../../helpers/testhub/utils','jest.config.',',\x20CLI\x20running:\x20','JEST','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','getInstance','\x0amodule.exports\x20=\x20config;','customImplements','../../helpers/playwright-helper','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','BROWSERSTACK_FRAMEWORK','readInitialOptions'];a21_0x4a64=function(){return _0x1a3e25;};return a21_0x4a64();}module[a21_0xbe8341(0xaa)]=run;
|
|
2
|
+
'use strict';const a21_0x12d3ce=a21_0x317a;function a21_0x30a9(){const _0x51c14d=['winstonLogger','../../helpers/helper','workingDir','bCeph','SDK_CLEANUP','test-observability','NeAzV','getInstance','cjs','yBkFy','puppeteer-core/package.json','abortBuildOnFailure','194414nxVtRg','../../helpers/percy/utils','splice','parse','customTestRunner.js','Error\x20while\x20parsing\x20','1814995BqiGeh','startsWith','writeFileSync','reorderTestFiles','Reodered\x20Test\x20Files:\x20','findTestFiles','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','serial__','Unable\x20to\x20find\x20jest-circus,\x20','UHaSR','turboScaleUrl','dfisP','dirname','true','--config','getMultiDriverWorkerConfig','../../helpers/performance/constants','MODULE','message','force','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','package.json','exitCode','YInBU','1423542OAZkVI','customImplements','hoYAx','./test-observability/helper','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','browserStackLogLevel','\x0a\x20\x20\x20\x20\x20\x20','1342405ZvzCNk','../../helpers/test-observability/utils','platformCaps','Deleted\x20fail-fast\x20state\x20folder:\x20','cWESt','customSequencer.js','jest-config/build/readConfigFileAndSetRootDir.js','env','readFileSync','WqngH','false','isUndefined','HdEZB','browserStackPercyOptions','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','jest-config','mHAat','assign','./test-observability/test-details','requirePWModule','rmSync','wzdNm','slice','rQllK','const\x20config=','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','Creating\x20','TgIoI','../../helpers/testhub/utils','\x20test\x20files\x20to\x20run.','Preserving\x20user\x27s\x20Jest\x20runner:\x20','283712gpiMae','resolve','iChPv','push','initialize','USER_CONFIG_DETAILS_PATH','proxySettings','\x0amodule.exports\x20=\x20config;','getHubUrl','default','finalExecution','shutdown','mxaHR','URrbv','getPackageType','platforms','vPjLt','customTestRunnerTemplate.js','OPZhe','cwd','DflON','isCLIEnabled','path','resolveModule','requireModule','CQqIR','config','failureThresholdCount','TjkJa','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','setupBrowserstackLocal','isBrowserstackInfra','UYBka','\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','JrEVv','jest-circus/build/runner.js','testEnvironmentOptions','OBvaC','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','vNkBK','util','start',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20})();\x0a\x20\x20\x20\x20','bTPZc','child\x20process\x20exited\x20with\x20code\x20','jest-circus','isRunning','269248EcZktT',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','errorMessage','testSequencer','json','../../helpers/puppeteer-helper','BROWSERSTACK_TEST_OBSERVABILITY_YML','mjs','BROWSERSTACK_CAPABILITIES','VBlcg','printBuildLink','HfEjD','../../helpers/playwright-helper','KLzpp','__isPlaywrightInstalled','@jest/core','skipSessionStatus','apply','findIndex','parallelsPerPlatform','KBLXX','failFast','setupFiles','../../helpers/accessibility-automation/helper','stringify','Deleting\x20','unlinkSync','error','customCircus.js','^puppeteer-core/internal/(.*)','maxWorkers','logLevel','jest-runner-','win32','DLrlN','exports','existsSync','testEnvironment','jest_browserstack.config.cjs','../utils/constants','JEST','retries__','RltUf','data-hooks.js','parallels__','launchBuild','moduleNameMapper','skipSessionName','test.setup.js','test_before.setup.js','debug','timeout__','xYpUg','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','isEmpty','format','platform',',\x20CLI\x20running:\x20','testObservability','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','JDGfi','FRAMEWORKS','length','getPackageVersion','BSTACK_USER_JEST_RUNNER','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','\x20with\x20browserstack\x20jest\x20configs','CodHG','YFxVF','LbZIp','../v2/browserstackCLI','../../helpers/BrowserStackSetup','wxBRn','setupFilesAfterEnv','isNotUndefined','runner','customEnvironment.js','TRsNt','testRunner','1383IdHsEG',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20','lWZHs','__isPuppeteerInstalled','Getting\x20your\x20jest\x20configs\x20from\x20package.json','FJAnm','jest','../../helpers/logger','parseTestOrchestrationOptions','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','runInBand','join','recursive','261rFSBPF','../../helpers/testhub/testhubHandler','readInitialOptions','TEowI','handleApp','playwright','testContextOptions','2460qaIOLW','BSTACK_JEST_TEST_ENV','../utils/clientTroubleshootingService','info','SwDdH','filterBrowserstackArgs','\x20:\x20','reporters','Erboq','@jest/core/build/ReporterDispatcher.js','jest.setup.js','end','getErrorMessageFromResults','accessibilityOptions','jest-runner','BROWSERSTACK_FRAMEWORK','npx','shouldProcessEventForTesthub','requireSeleniumWebdriver','../../helpers/utilities','ZwAJO','testTimeout','QBVMI','TcgKM','Found:\x20','ZTtgp','retryTestsOnFailure'];a21_0x30a9=function(){return _0x51c14d;};return a21_0x30a9();}(function(_0xfda9ef,_0x1b25ed){const _0x3f5f35=a21_0x317a,_0x216ab0=_0xfda9ef();while(!![]){try{const _0x2796ac=-parseInt(_0x3f5f35(0x209))/0x1+-parseInt(_0x3f5f35(0x295))/0x2+-parseInt(_0x3f5f35(0x25a))/0x3*(parseInt(_0x3f5f35(0x26e))/0x4)+parseInt(_0x3f5f35(0x2ba))/0x5+-parseInt(_0x3f5f35(0x2b3))/0x6+-parseInt(_0x3f5f35(0x29b))/0x7+-parseInt(_0x3f5f35(0x1da))/0x8*(-parseInt(_0x3f5f35(0x267))/0x9);if(_0x2796ac===_0x1b25ed)break;else _0x216ab0['push'](_0x216ab0['shift']());}catch(_0x35d4ac){_0x216ab0['push'](_0x216ab0['shift']());}}}(a21_0x30a9,0x24b99));const fs=require('fs'),path=require(a21_0x12d3ce(0x1f0)),util=require(a21_0x12d3ce(0x202)),{spawn}=require('child_process'),logger=require(a21_0x12d3ce(0x261))[a21_0x12d3ce(0x289)],{default:BrowserStackSetup}=require(a21_0x12d3ce(0x252)),helper=require(a21_0x12d3ce(0x28a)),utilities=require(a21_0x12d3ce(0x281)),constants=require(a21_0x12d3ce(0x230)),accessibilityHelper=require(a21_0x12d3ce(0x220)),{updateTestRerunConfig}=require(a21_0x12d3ce(0x2b6)),testOpsHelper=require(a21_0x12d3ce(0x2bb)),{debug}=require(a21_0x12d3ce(0x2bb)),TestDetails=require(a21_0x12d3ce(0x2cc)),{getPercyOptions}=require(a21_0x12d3ce(0x296)),TestHubHandler=require(a21_0x12d3ce(0x268)),testhubUtils=require(a21_0x12d3ce(0x2d6)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a21_0x12d3ce(0x2ab))['EVENTS'],TestOrchestrationHandler=require('../../helpers/test-orchestration/testOrchestrationHandler'),BrowserstackCLI=require(a21_0x12d3ce(0x251)),{checkPwandBootstrapCli}=require(a21_0x12d3ce(0x215)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a21_0x12d3ce(0x20e)),ClientTroubleShootingService=require(a21_0x12d3ce(0x270)),{checkAccessibilityPlatformConfig}=require(a21_0x12d3ce(0x220)),getUserJestConfigs=async(_0x49edc2,_0x3a52f8)=>{const _0x2d7a1e=a21_0x12d3ce,_0x48131f={'ePhZT':_0x2d7a1e(0x2c0),'WqngH':_0x2d7a1e(0x2c9),'VKpvb':function(_0x101340,_0x2a322e){return _0x101340||_0x2a322e;},'HfEjD':function(_0x4d111a,_0x31838b){return _0x4d111a(_0x31838b);},'FJAnm':_0x2d7a1e(0x2b0),'UYBka':_0x2d7a1e(0x25e),'pVoaf':_0x2d7a1e(0x210),'JrEVv':_0x2d7a1e(0x291),'bTPZc':_0x2d7a1e(0x20d)};let _0x45c245;try{_0x45c245=helper[_0x2d7a1e(0x1f2)](_0x48131f['ePhZT'],_0x48131f[_0x2d7a1e(0x2c3)]);}catch{const _0x4cd128=helper[_0x2d7a1e(0x1f2)](_0x48131f[_0x2d7a1e(0x2c3)]);_0x45c245={'default':async _0x3ad4fa=>{const _0x27e8ee=_0x2d7a1e,_0x52a874=await _0x4cd128[_0x27e8ee(0x269)](_0x3ad4fa,{});return _0x52a874['config'];}};}const _0x15b16d=_0x3a52f8[_0x2d7a1e(0x21b)](_0x4595c8=>_0x4595c8===_0x2d7a1e(0x2a9));if(!helper[_0x2d7a1e(0x2c5)](_0x49edc2[_0x2d7a1e(0x1f4)])){logger[_0x2d7a1e(0x271)]('Getting\x20your\x20jest\x20configs\x20from\x20'+_0x49edc2[_0x2d7a1e(0x1f4)]),process['env'][_0x2d7a1e(0x1df)]=_0x49edc2[_0x2d7a1e(0x1f4)];const _0x463a90=await(0x0,_0x45c245['default'])(path['resolve'](_0x49edc2[_0x2d7a1e(0x1f4)]));return _0x3a52f8[_0x2d7a1e(0x297)](_0x15b16d,0x2),_0x48131f['VKpvb'](_0x463a90,{});}const _0x182956=_0x48131f[_0x2d7a1e(0x214)](require,path[_0x2d7a1e(0x265)](process[_0x2d7a1e(0x1ed)](),_0x48131f[_0x2d7a1e(0x25f)]));if(_0x182956[_0x2d7a1e(0x260)])return logger[_0x2d7a1e(0x271)](_0x48131f[_0x2d7a1e(0x1fa)]),_0x182956['jest'];const _0x5455e0=['js',_0x48131f['pVoaf'],_0x48131f[_0x2d7a1e(0x1fc)],_0x48131f[_0x2d7a1e(0x205)],'ts'];for(const _0x4eefa4 of _0x5455e0){const _0x1af1b5=path['join'](process['cwd'](),'jest.config.'+_0x4eefa4);if(fs[_0x2d7a1e(0x22d)](_0x1af1b5)){process[_0x2d7a1e(0x2c1)][_0x2d7a1e(0x1df)]=_0x1af1b5;const _0x5a36d1=await(0x0,_0x45c245['default'])(_0x1af1b5);return _0x5a36d1;}}return{};},getSerial=(_0x4f7c33,_0x1aa277)=>{const _0x4e2c66=a21_0x12d3ce,_0x4b0cf4={};_0x4b0cf4[_0x4e2c66(0x2d1)]='true',_0x4b0cf4[_0x4e2c66(0x2c6)]=function(_0x54ec05,_0x1e52b5){return _0x54ec05>_0x1e52b5;},_0x4b0cf4[_0x4e2c66(0x28c)]=function(_0x3bac0e,_0x1f540f){return _0x3bac0e>_0x1f540f;},_0x4b0cf4[_0x4e2c66(0x292)]=_0x4e2c66(0x2c4);const _0x336504=_0x4b0cf4;let _0x56e926=_0x336504[_0x4e2c66(0x2d1)];return _0x336504[_0x4e2c66(0x2c6)](_0x4f7c33[_0x4e2c66(0x248)],0x1)&&(!_0x1aa277[_0x4e2c66(0x264)]&&(helper[_0x4e2c66(0x2c5)](_0x1aa277[_0x4e2c66(0x227)])||_0x336504['bCeph'](_0x1aa277[_0x4e2c66(0x227)],0x1)))&&(_0x56e926=_0x336504[_0x4e2c66(0x292)]),_0x56e926;},getMaxWorkers=(_0x14c91f,_0x3749b0,_0x625a4c)=>{const _0x392727=a21_0x12d3ce,_0xb6b57d={'vPjLt':function(_0x20f321,_0xd0b4b8){return _0x20f321(_0xd0b4b8);}};let _0x14ba21=0x1;if(!helper[_0x392727(0x2c5)](_0x3749b0[_0x392727(0x21c)]))_0x14ba21=_0xb6b57d[_0x392727(0x1ea)](parseInt,_0x3749b0[_0x392727(0x21c)]);else{if(!helper['isUndefined'](_0x14c91f['maxWorkers']))_0x14ba21=_0x14c91f[_0x392727(0x227)];else!helper['isUndefined'](_0x625a4c[_0x392727(0x227)])&&(_0x14ba21=_0x625a4c[_0x392727(0x227)]);}return _0x14ba21;};function a21_0x317a(_0x52ddd3,_0x9d05cd){const _0x30a9f9=a21_0x30a9();return a21_0x317a=function(_0x317ad7,_0x142a4d){_0x317ad7=_0x317ad7-0x1da;let _0x8ebf0d=_0x30a9f9[_0x317ad7];return _0x8ebf0d;},a21_0x317a(_0x52ddd3,_0x9d05cd);}async function run(_0x3b8faf,_0x32578e,_0xdd4f72){const _0x2dc418=a21_0x12d3ce,_0x124fca={'iChPv':_0x2dc418(0x260),'QBVMI':function(_0x59fc77,_0x54543c){return _0x59fc77(_0x54543c);},'ZTtgp':'@playwright/test','wxBRn':function(_0x39476b){return _0x39476b();},'mxaHR':function(_0x2d6bfa,_0x34f520,_0x10242f,_0x5512da){return _0x2d6bfa(_0x34f520,_0x10242f,_0x5512da);},'TgIoI':function(_0x22d4a7,_0x3afe6a,_0x4697ef,_0x5c6653){return _0x22d4a7(_0x3afe6a,_0x4697ef,_0x5c6653);},'LdVKC':function(_0x305e73,_0x31b41c){return _0x305e73!=_0x31b41c;},'SwDdH':_0x2dc418(0x2a8),'Erboq':function(_0x35ee70,_0x19302f,_0x1df8a3){return _0x35ee70(_0x19302f,_0x1df8a3);},'bgaNz':_0x2dc418(0x23e),'KLzpp':function(_0xb7444f,_0x200f14){return _0xb7444f(_0x200f14);},'NeAzV':'false','cWESt':function(_0x518f02,_0x11c5e1,_0x3a3ea1){return _0x518f02(_0x11c5e1,_0x3a3ea1);},'mHAat':function(_0x19de52,_0x5538ef,_0xb0ee46,_0x5184f5){return _0x19de52(_0x5538ef,_0xb0ee46,_0x5184f5);},'TRsNt':function(_0x24d069,_0x5cebfa){return _0x24d069*_0x5cebfa;},'LbZIp':function(_0x3712a3,_0x17ef35){return _0x3712a3===_0x17ef35;},'JDGfi':_0x2dc418(0x22f),'bDTvI':'jest_browserstack.config.js','OBvaC':_0x2dc418(0x2b4),'YFxVF':'jest_browserstack_results.json','rgIlp':_0x2dc418(0x299),'VBlcg':_0x2dc418(0x1eb),'xYpUg':_0x2dc418(0x257),'TjkJa':function(_0x170420,_0x3c15d9){return _0x170420!==_0x3c15d9;},'hUbLO':_0x2dc418(0x27c),'UHaSR':_0x2dc418(0x229),'gltwo':_0x2dc418(0x278),'FfJXB':_0x2dc418(0x2bf),'ElvdL':'jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','DflON':_0x2dc418(0x207),'CodHG':_0x2dc418(0x1fd),'VNXVv':_0x2dc418(0x28e),'RltUf':_0x2dc418(0x234),'OPZhe':_0x2dc418(0x225),'yLzUg':_0x2dc418(0x23a),'TcgKM':_0x2dc418(0x2d3),'gZwIR':_0x2dc418(0x26c),'YInBU':'Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','TEowI':_0x2dc418(0x239),'KBLXX':_0x2dc418(0x2b7),'lWZHs':function(_0xd18bb6,_0xcde5b4){return _0xd18bb6&&_0xcde5b4;},'JxUAl':_0x2dc418(0x1f7),'dfisP':'puppeteer','lJpol':_0x2dc418(0x293),'dSfBd':_0x2dc418(0x1e3),'URrbv':_0x2dc418(0x277),'qNaCg':_0x2dc418(0x218),'wzdNm':_0x2dc418(0x2a1),'ZwAJO':function(_0x382ced,_0x3226a6){return _0x382ced>_0x3226a6;},'IyUyE':_0x2dc418(0x2af),'CQqIR':_0x2dc418(0x2a9),'hoYAx':_0x2dc418(0x27e),'UNQBE':function(_0xd5956f,_0x54acf5){return _0xd5956f===_0x54acf5;},'vNkBK':_0x2dc418(0x22a),'DLrlN':'inherit','spAID':'close'},_0x4bc5dc=helper[_0x2dc418(0x249)](_0x124fca[_0x2dc418(0x287)]);global[_0x2dc418(0x217)]=!!_0x4bc5dc;const _0x4866a3=_0x124fca[_0x2dc418(0x253)](getPuppeteerVersion);global[_0x2dc418(0x25d)]=!!_0x4866a3;helper[_0x2dc418(0x1f9)]()&&(await _0xdd4f72[_0x2dc418(0x1de)](_0x3b8faf),await helper[_0x2dc418(0x26b)](_0xdd4f72[_0x2dc418(0x1f4)]));if(_0x4bc5dc)await _0x124fca[_0x2dc418(0x1e6)](checkPwandBootstrapCli,_0x4bc5dc,constants[_0x2dc418(0x247)]['JEST'],_0xdd4f72);else _0x4866a3&&await _0x124fca[_0x2dc418(0x2d5)](checkPuppeteerAndBootstrapCli,_0x4866a3,constants[_0x2dc418(0x247)][_0x2dc418(0x231)],_0xdd4f72);!BrowserstackCLI[_0x2dc418(0x290)]()['isRunning']()&&await _0xdd4f72[_0x2dc418(0x1f8)]();if(!_0xdd4f72[_0x2dc418(0x1f4)])return;_0x124fca['LdVKC'](_0xdd4f72[_0x2dc418(0x1f4)][_0x2dc418(0x244)],null)?process[_0x2dc418(0x2c1)][_0x2dc418(0x20f)]=_0xdd4f72['config'][_0x2dc418(0x244)]:process[_0x2dc418(0x2c1)][_0x2dc418(0x20f)]=_0x124fca[_0x2dc418(0x272)];const _0x576b78=new TestOrchestrationHandler(_0xdd4f72[_0x2dc418(0x1f4)]),_0x39977b=await _0x124fca[_0x2dc418(0x276)](getUserJestConfigs,_0x3b8faf,_0x32578e);logger[_0x2dc418(0x271)](_0x124fca['bgaNz']);const _0x5441dc=Object[_0x2dc418(0x2cb)]({},_0x39977b);_0x5441dc['testEnvironmentOptions']=Object[_0x2dc418(0x2cb)]({},_0x5441dc[_0x2dc418(0x1fe)],{'server':helper[_0x2dc418(0x1e2)](_0xdd4f72[_0x2dc418(0x1f4)]),'environment':_0x39977b['testEnvironment']}),_0x5441dc['testEnvironmentOptions'][_0x2dc418(0x2c7)]=_0x124fca[_0x2dc418(0x284)](getPercyOptions,_0xdd4f72[_0x2dc418(0x1f4)]);const _0x3e6a01=helper['useW3C'](_0xdd4f72[_0x2dc418(0x1f4)]);!helper[_0x2dc418(0x2c5)](_0xdd4f72['config'][_0x2dc418(0x27b)])&&(process[_0x2dc418(0x2c1)][_0x2dc418(0x263)]=JSON[_0x2dc418(0x221)](_0xdd4f72[_0x2dc418(0x1f4)][_0x2dc418(0x27b)]));if(!BrowserstackCLI[_0x2dc418(0x290)]()[_0x2dc418(0x208)]()){const _0xe166a5=await TestHubHandler[_0x2dc418(0x236)](FRAMEWORKS[_0x2dc418(0x231)],_0xdd4f72);}const _0x55fb59=helper['prepareCapabilities'](_0xdd4f72[_0x2dc418(0x1f4)],_0x3e6a01,constants[_0x2dc418(0x247)][_0x2dc418(0x231)]);process[_0x2dc418(0x2c1)][_0x2dc418(0x211)]=JSON['stringify'](_0x55fb59);let _0x16f599=_0xdd4f72['config']['accessibility'];_0x16f599=_0x16f599||accessibilityHelper['checkAccessibilityPlatformConfig'](_0xdd4f72[_0x2dc418(0x1f4)]),process[_0x2dc418(0x2c1)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x16f599,logger['debug']('[Jest\x20Command]\x20Accessibility\x20enabled:\x20'+_0x16f599+_0x2dc418(0x243)+BrowserstackCLI[_0x2dc418(0x290)]()[_0x2dc418(0x208)]());if(_0x4bc5dc)try{const _0x2397d4=_0x124fca[_0x2dc418(0x216)](checkAccessibilityPlatformConfig,_0xdd4f72[_0x2dc418(0x1f4)]);process[_0x2dc418(0x2c1)][_0x2dc418(0x23f)]=_0x2397d4?_0x124fca['SwDdH']:_0x124fca[_0x2dc418(0x28f)],logger['debug'](_0x2dc418(0x24c)+_0x2397d4+_0x2dc418(0x20a)+process[_0x2dc418(0x2c1)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']);}catch(_0x3a3a10){logger[_0x2dc418(0x23b)](_0x2dc418(0x200)+util['format'](_0x3a3a10));}_0x5441dc[_0x2dc418(0x1fe)]['capabilities']=_0x55fb59,_0x5441dc[_0x2dc418(0x1fe)][_0x2dc418(0x2a2)]=_0x124fca[_0x2dc418(0x2be)](getSerial,_0x55fb59,_0x3b8faf),_0x5441dc[_0x2dc418(0x1fe)][_0x2dc418(0x235)]=_0x124fca[_0x2dc418(0x2ca)](getMaxWorkers,_0x3b8faf,_0xdd4f72[_0x2dc418(0x1f4)],_0x39977b),_0x5441dc[_0x2dc418(0x1fe)][_0x2dc418(0x1e0)]=_0xdd4f72[_0x2dc418(0x1f4)][_0x2dc418(0x1e0)],_0x5441dc[_0x2dc418(0x1fe)][_0x2dc418(0x23c)]=_0x124fca[_0x2dc418(0x258)](_0x3b8faf[_0x2dc418(0x283)],0x1)||0x1388,_0x5441dc['testEnvironmentOptions']['skipSessionName']=_0xdd4f72[_0x2dc418(0x1f4)][_0x2dc418(0x26d)][_0x2dc418(0x238)],_0x5441dc[_0x2dc418(0x1fe)]['skipSessionStatus']=_0xdd4f72['config'][_0x2dc418(0x26d)][_0x2dc418(0x219)],_0x5441dc[_0x2dc418(0x1fe)][_0x2dc418(0x2b8)]=_0xdd4f72[_0x2dc418(0x1f4)][_0x2dc418(0x228)],_0x5441dc[_0x2dc418(0x1fe)]['turboScaleUrl']=_0xdd4f72['config'][_0x2dc418(0x2a5)],_0x5441dc['testEnvironmentOptions'][_0x2dc418(0x2bc)]=_0xdd4f72[_0x2dc418(0x1f4)][_0x2dc418(0x1e9)],Object[_0x2dc418(0x2cb)](_0x5441dc[_0x2dc418(0x1fe)],helper[_0x2dc418(0x2aa)](_0xdd4f72[_0x2dc418(0x1f4)],_0x3e6a01,constants[_0x2dc418(0x247)][_0x2dc418(0x231)]));const _0x289650=helper[_0x2dc418(0x262)](_0xdd4f72[_0x2dc418(0x1f4)]);if(!helper[_0x2dc418(0x240)](_0x289650)){helper[_0x2dc418(0x255)](_0x289650[_0x2dc418(0x288)])&&(_0x5441dc['testEnvironmentOptions'][_0x2dc418(0x232)]=_0x289650['retryTestsOnFailure']['maxRetries']);if(helper[_0x2dc418(0x255)](_0x289650['abortBuildOnFailure'])&&helper[_0x2dc418(0x255)](_0x289650[_0x2dc418(0x294)][_0x2dc418(0x28b)])){const _0x2dcb85={};_0x2dcb85[_0x2dc418(0x1f5)]=_0x289650['abortBuildOnFailure']['maxFailures'],_0x2dcb85['workingDir']=_0x289650[_0x2dc418(0x294)][_0x2dc418(0x28b)],_0x5441dc[_0x2dc418(0x1fe)][_0x2dc418(0x21e)]=_0x2dcb85;}}let _0x5d1f3f='';_0x124fca[_0x2dc418(0x250)](helper[_0x2dc418(0x1e8)](),constants['PACKAGE_TYPE'][_0x2dc418(0x2ac)])?_0x5d1f3f=_0x124fca[_0x2dc418(0x246)]:_0x5d1f3f=_0x124fca['bDTvI'];const _0x506855=_0x5d1f3f,_0x5daee3=path[_0x2dc418(0x265)](__dirname,_0x124fca[_0x2dc418(0x1ff)],_0x124fca[_0x2dc418(0x24f)]),_0xd8f7ee=path[_0x2dc418(0x265)](__dirname,_0x124fca[_0x2dc418(0x1ff)],_0x124fca['rgIlp']),_0x58c81c=path[_0x2dc418(0x265)](__dirname,_0x124fca[_0x2dc418(0x1ff)],_0x124fca[_0x2dc418(0x212)]);_0x5441dc[_0x2dc418(0x22e)]&&(process[_0x2dc418(0x2c1)][_0x2dc418(0x26f)]=_0x5441dc['testEnvironment']);_0x5441dc['testEnvironment']=path[_0x2dc418(0x265)](__dirname,_0x124fca[_0x2dc418(0x1ff)],_0x124fca[_0x2dc418(0x23d)]);const _0x34a422=_0x39977b[_0x2dc418(0x256)];if(_0x34a422&&_0x124fca[_0x2dc418(0x1f6)](_0x34a422,_0x124fca['hUbLO'])){const _0xdf9290=_0x34a422[_0x2dc418(0x29c)](_0x124fca[_0x2dc418(0x2a4)])?_0x34a422:_0x2dc418(0x229)+_0x34a422;process['env'][_0x2dc418(0x24a)]=_0xdf9290,logger[_0x2dc418(0x271)](_0x2dc418(0x2d8)+_0xdf9290);}_0x5441dc[_0x2dc418(0x256)]=_0xd8f7ee,_0x5441dc[_0x2dc418(0x254)]=_0x5441dc['setupFilesAfterEnv']||[],_0x5441dc[_0x2dc418(0x254)][_0x2dc418(0x1dd)](path[_0x2dc418(0x265)](__dirname,_0x124fca['gltwo']));_0x576b78['isTestOrchestrationEnabled']()&&(_0x5441dc[_0x2dc418(0x20c)]=path[_0x2dc418(0x265)](__dirname,_0x124fca['OBvaC'],_0x124fca['FfJXB']));if(testhubUtils[_0x2dc418(0x27f)]()||BrowserstackCLI[_0x2dc418(0x290)]()['isCliEnabled']()){let _0x2b5948=null;try{_0x2b5948=helper[_0x2dc418(0x1f2)](_0x124fca['ElvdL'],_0x124fca[_0x2dc418(0x1ee)]);}catch(_0x53ff6a){try{_0x2b5948=helper[_0x2dc418(0x1f2)](_0x124fca[_0x2dc418(0x24e)],_0x124fca[_0x2dc418(0x1ee)]);}catch(_0x11d164){_0x124fca['QBVMI'](debug,_0x2dc418(0x2a3)+_0x11d164);}}_0x2b5948&&(testhubUtils[_0x2dc418(0x27f)]()&&_0x5441dc[_0x2dc418(0x254)][_0x2dc418(0x1dd)](path[_0x2dc418(0x265)](__dirname,_0x124fca['VNXVv'],_0x124fca[_0x2dc418(0x233)])),_0x5441dc[_0x2dc418(0x259)]=path[_0x2dc418(0x265)](__dirname,_0x124fca['OBvaC'],_0x124fca[_0x2dc418(0x1ec)]));}_0x5441dc[_0x2dc418(0x21f)]=_0x5441dc[_0x2dc418(0x21f)]||[];try{helper[_0x2dc418(0x280)](),_0x5441dc['setupFiles']['push'](path[_0x2dc418(0x265)](__dirname,_0x124fca['yLzUg']));}catch{logger[_0x2dc418(0x23b)](_0x124fca[_0x2dc418(0x285)]);}try{helper[_0x2dc418(0x2cd)][_0x2dc418(0x21a)](null,[_0x124fca[_0x2dc418(0x287)],_0x124fca['gZwIR']]),logger['debug'](_0x124fca[_0x2dc418(0x2b2)]),_0x5441dc[_0x2dc418(0x21f)]['push'](path[_0x2dc418(0x265)](__dirname,_0x124fca['TEowI']));}catch(_0x3a00bf){logger[_0x2dc418(0x23b)](_0x124fca[_0x2dc418(0x21d)],_0x3a00bf);}if(_0x124fca[_0x2dc418(0x25c)](!_0x4bc5dc,_0x4866a3)){try{logger[_0x2dc418(0x23b)](_0x124fca['JxUAl']),_0x5441dc[_0x2dc418(0x254)][_0x2dc418(0x1dd)](path[_0x2dc418(0x265)](__dirname,'..',_0x124fca[_0x2dc418(0x2a6)],_0x124fca[_0x2dc418(0x26a)]));}catch(_0x1e9eff){logger[_0x2dc418(0x23b)]('Puppeteer\x20setup\x20error:\x20'+_0x1e9eff[_0x2dc418(0x2ad)]);}try{const _0xc7a5da=require[_0x2dc418(0x1db)](_0x124fca['lJpol']),_0x40b1af=path[_0x2dc418(0x2a7)](_0xc7a5da)['replace'](/\\/g,'/'),_0x3bd2ac={};_0x3bd2ac[_0x2dc418(0x226)]=_0x40b1af+'/internal/$1',_0x5441dc[_0x2dc418(0x237)]=Object[_0x2dc418(0x2cb)]({},_0x5441dc[_0x2dc418(0x237)]||{},_0x3bd2ac),logger[_0x2dc418(0x23b)](_0x2dc418(0x245)+_0x40b1af);}catch(_0x2a099a){logger[_0x2dc418(0x23b)]('[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20'+_0x2a099a['message']);}}_0x5441dc[_0x2dc418(0x275)]=_0x5441dc[_0x2dc418(0x275)]||[_0x124fca['dSfBd']],_0x124fca[_0x2dc418(0x276)](updateTestRerunConfig,_0x5441dc,_0xdd4f72);const _0xeb2c52=fs[_0x2dc418(0x2c2)](_0x58c81c),_0x5a7cde=helper[_0x2dc418(0x1f1)](_0x124fca[_0x2dc418(0x1e7)],_0x124fca['qNaCg']);!_0x5a7cde[_0x2dc418(0x224)]?fs[_0x2dc418(0x29d)](_0x5441dc['runner'],_0x2dc418(0x2b9)+_0xeb2c52+_0x2dc418(0x1fb)+_0xdd4f72['config']['platforms'][_0x2dc418(0x248)]+_0x2dc418(0x25b)):fs[_0x2dc418(0x29d)](_0x5441dc[_0x2dc418(0x256)],_0x2dc418(0x2b9)+_0xeb2c52+'\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x0a\x20\x20\x20\x20\x20\x20(async\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20{createTestScheduler}\x20=\x20requireModule(\x27@jest/core\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20tempScheduler\x20=\x20await\x20createTestScheduler({reporters:\x20[]},\x20{});\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20tempScheduler._dispatcher.constructor;\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20'+_0xdd4f72['config'][_0x2dc418(0x1e9)]['length']+_0x2dc418(0x204));logger['info'](_0x2dc418(0x2d4)+_0x506855+_0x2dc418(0x24d)),fs['writeFileSync'](_0x506855,_0x2dc418(0x2d2)+JSON['stringify'](_0x5441dc)+_0x2dc418(0x1e1));if(_0x576b78['isTestOrchestrationEnabled']()){logger[_0x2dc418(0x23b)](_0x124fca[_0x2dc418(0x2cf)]);const _0xfaffa1=await _0x576b78[_0x2dc418(0x2a0)](_0x5441dc,_0x32578e[_0x2dc418(0x2d0)](0x1),_0x506855);logger[_0x2dc418(0x23b)](_0x2dc418(0x286)+JSON['stringify'](_0xfaffa1)+_0x2dc418(0x2d7));const _0x13637c=await _0x576b78[_0x2dc418(0x29e)](_0xfaffa1);logger[_0x2dc418(0x23b)](_0x2dc418(0x29f)+JSON[_0x2dc418(0x221)](_0x13637c)),_0x13637c&&_0x124fca[_0x2dc418(0x282)](_0x13637c[_0x2dc418(0x248)],0x0)&&(process[_0x2dc418(0x2c1)]['JEST_TEST_ORDER']=_0x13637c?.[_0x2dc418(0x265)](','));}logger[_0x2dc418(0x271)](_0x124fca['IyUyE']);testhubUtils[_0x2dc418(0x27f)]()&&TestDetails['setup']();helper[_0x2dc418(0x273)]({},_0x32578e),PerformanceTester[_0x2dc418(0x279)](PerformanceEvents['SDK_SETUP']);const _0x5f187c=[_0x124fca[_0x2dc418(0x1dc)],_0x124fca[_0x2dc418(0x1f3)],_0x506855,..._0x32578e[_0x2dc418(0x2d0)](0x1)];process['env'][_0x2dc418(0x27d)]=process['env']['BROWSERSTACK_FRAMEWORK']||_0x124fca[_0x2dc418(0x1dc)];const _0x3781cd=_0x124fca[_0x2dc418(0x1e6)](spawn,_0x124fca[_0x2dc418(0x2b5)],_0x5f187c,{'shell':_0x124fca['UNQBE'](process[_0x2dc418(0x242)],_0x124fca[_0x2dc418(0x201)]),'stdio':_0x124fca[_0x2dc418(0x22b)],'env':Object[_0x2dc418(0x2cb)]({},process[_0x2dc418(0x2c1)])});_0x3781cd['on'](_0x124fca['spAID'],async _0x5acd00=>{const _0x4931d5=_0x2dc418;PerformanceTester[_0x4931d5(0x203)](PerformanceEvents[_0x4931d5(0x28d)]),process[_0x4931d5(0x2b1)]=_0x5acd00,logger[_0x4931d5(0x23b)](_0x4931d5(0x206)+_0x5acd00),logger[_0x4931d5(0x271)](_0x4931d5(0x222)+_0x506855);if(helper[_0x4931d5(0x255)](_0x289650)&&helper['isNotUndefined'](_0x289650[_0x4931d5(0x294)])&&fs[_0x4931d5(0x22d)](_0x289650[_0x4931d5(0x294)][_0x4931d5(0x28b)]))try{const _0x41ba22={};_0x41ba22[_0x4931d5(0x266)]=!![],_0x41ba22[_0x4931d5(0x2ae)]=!![],fs[_0x4931d5(0x2ce)](_0x289650[_0x4931d5(0x294)]['workingDir'],_0x41ba22),logger['debug'](_0x4931d5(0x2bd)+_0x289650[_0x4931d5(0x294)][_0x4931d5(0x28b)]);}catch(_0x22e3d7){logger['error'](_0x4931d5(0x2c8)+_0x22e3d7);}let _0x1efbea=null;if(fs[_0x4931d5(0x22d)](_0x5daee3)){_0x1efbea=fs[_0x4931d5(0x2c2)](_0x5daee3);try{_0x1efbea=JSON[_0x4931d5(0x298)](_0x1efbea);}catch(_0x295934){logger[_0x4931d5(0x23b)](_0x4931d5(0x29a)+_0x5daee3+',\x20'+_0x1efbea+_0x4931d5(0x274)+_0x295934);}fs[_0x4931d5(0x223)](_0x5daee3);}fs[_0x4931d5(0x223)](_0x506855),fs[_0x4931d5(0x223)](_0xd8f7ee),_0x1efbea&&(_0xdd4f72[_0x4931d5(0x20b)]=helper[_0x4931d5(0x27a)](_0x1efbea,_0x124fca[_0x4931d5(0x1dc)],_0xdd4f72));const _0x5723f9=BrowserstackCLI[_0x4931d5(0x1ef)]();try{await TestHubHandler['stop'](),await BrowserstackCLI[_0x4931d5(0x290)]()['stop']();}catch(_0x53908a){console['log'](_0x53908a),_0x124fca[_0x4931d5(0x284)](debug,_0x4931d5(0x24b)+util[_0x4931d5(0x241)](_0x53908a));}testOpsHelper[_0x4931d5(0x213)](),TestDetails[_0x4931d5(0x1e5)](),await utilities[_0x4931d5(0x1e4)](_0xdd4f72,_0x5723f9);});}module[a21_0x12d3ce(0x22c)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a22_0x10b74d=a22_0x2729;(function(_0x5647f4,_0x447f6b){const _0x30a894=a22_0x2729,_0x398938=_0x5647f4();while(!![]){try{const _0x1dacad=parseInt(_0x30a894(0xcb))/0x1*(-parseInt(_0x30a894(0xc3))/0x2)+parseInt(_0x30a894(0xce))/0x3+parseInt(_0x30a894(0xbd))/0x4+-parseInt(_0x30a894(0xcf))/0x5*(parseInt(_0x30a894(0xcd))/0x6)+-parseInt(_0x30a894(0xc9))/0x7+parseInt(_0x30a894(0xca))/0x8*(-parseInt(_0x30a894(0xd1))/0x9)+parseInt(_0x30a894(0xc4))/0xa;if(_0x1dacad===_0x447f6b)break;else _0x398938['push'](_0x398938['shift']());}catch(_0x403b27){_0x398938['push'](_0x398938['shift']());}}}(a22_0x33ab,0xf37cc));const path=require(a22_0x10b74d(0xc5)),{requireModule}=require(a22_0x10b74d(0xbf));function a22_0x2729(_0x3bdfaf,_0x1d013f){const _0x33ab75=a22_0x33ab();return a22_0x2729=function(_0x27294,_0x895280){_0x27294=_0x27294-0xbd;let _0x15b33e=_0x33ab75[_0x27294];return _0x15b33e;},a22_0x2729(_0x3bdfaf,_0x1d013f);}function a22_0x33ab(){const _0x535754=['11244072ZLLOpK','11495104ThkPXB','3943ZwzBgm','COEYo','322230OiUeIE','3036879KWjNum','55CeynJl','qYBUN','9TPzdHn','exports','5208644RIYKhp','join','../../../helpers/helper','jest-circus/build/runner.js','default','jestAdapterInit','458qUBPhz','32197560RaCQIl','path','jest-circus','ItBYn','requireInternalModule'];a22_0x33ab=function(){return _0x535754;};return a22_0x33ab();}let initJestAdapter;try{initJestAdapter=requireModule('jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js',a22_0x10b74d(0xc6));}catch{initJestAdapter=requireModule(a22_0x10b74d(0xc0),'jest-circus');}initJestAdapter=typeof initJestAdapter==='function'?initJestAdapter:initJestAdapter[a22_0x10b74d(0xc1)];const FRAMEWORK_INITIALIZER=path[a22_0x10b74d(0xbe)](__dirname,'customJestAdapterInit.js');module[a22_0x10b74d(0xd2)]=(..._0x4b1c90)=>{const _0x45e1a4=a22_0x10b74d,_0x1ead33={'ItBYn':_0x45e1a4(0xc2),'qYBUN':function(_0x447c66,_0x2584eb){return _0x447c66===_0x2584eb;},'COEYo':function(_0x4aee84,..._0x48b603){return _0x4aee84(..._0x48b603);}};return _0x4b1c90[0x3]['initRequireModule']=_0x4b1c90[0x3][_0x45e1a4(0xc8)],_0x4b1c90[0x3][_0x45e1a4(0xc8)]=(..._0x25ba2a)=>{const _0x42ccff=_0x45e1a4;if(_0x25ba2a[0x0]&&_0x25ba2a[0x0]['includes'](_0x1ead33[_0x42ccff(0xc7)])&&_0x1ead33[_0x42ccff(0xd0)](_0x25ba2a[0x1],undefined))return _0x4b1c90[0x3]['initRequireModule'](FRAMEWORK_INITIALIZER);return _0x4b1c90[0x3]['initRequireModule'](..._0x25ba2a);},_0x1ead33[_0x45e1a4(0xcc)](initJestAdapter,..._0x4b1c90);};
|