browserstack-node-sdk 1.68.0 → 1.68.1
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/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/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/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';const a15_0x50b7ac=a15_0x363e;(function(_0x1e51da,_0x1c44d9){const _0xaf7e89=a15_0x363e,_0x1ac753=_0x1e51da();while(!![]){try{const _0x52840f=parseInt(_0xaf7e89(0x1e4))/0x1+parseInt(_0xaf7e89(0x1e9))/0x2+-parseInt(_0xaf7e89(0x1f3))/0x3*(parseInt(_0xaf7e89(0x1e0))/0x4)+parseInt(_0xaf7e89(0x201))/0x5+parseInt(_0xaf7e89(0x1d6))/0x6+-parseInt(_0xaf7e89(0x200))/0x7+parseInt(_0xaf7e89(0x1f1))/0x8;if(_0x52840f===_0x1c44d9)break;else _0x1ac753['push'](_0x1ac753['shift']());}catch(_0x33667e){_0x1ac753['push'](_0x1ac753['shift']());}}}(a15_0x55bf,0xedd1e));function a15_0x55bf(){const _0x1cf99d=['LCPrM','winstonLogger','browserStackLocalOptions','359647BdkAqd','./constants','config','Connection\x20established\x20successfully.','hosts','1703276gbRXVF','SYNzm','setProxySettings','demandOption','accessKey','../../helpers/logger','BZVhh','Hosts\x20not\x20valid','13806208wApMWb','error','1207623wuGYIB','url','https','connect','split','MLbGJ','https:','undefined','aLmQS','WriII','OrLFW','hostname','command','12050157kowJkw','1384320wlTBTR','integrations-repeater','trim','bstackAccessKey','oiVbL','toString','describe','kGZKe','dxBXc','map','footer','join','protocol','../../helpers/helper','ZzljT','443','mtetS','RXLae','hFpts','epilogue','replace','XOGpz','rYpHA','type','1720308cdHmGY','missing','help','root','ameOS','usage','bstack-accesskey','options','port','BrowserStack\x20access\x20key\x20missing.','8QWwrUq'];a15_0x55bf=function(){return _0x1cf99d;};return a15_0x55bf();}const {default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),logger=require(a15_0x50b7ac(0x1ee))[a15_0x50b7ac(0x1e2)],{URL}=require(a15_0x50b7ac(0x1f4)),helper=require(a15_0x50b7ac(0x20e)),{HELP_MESSAGES,ERROR_MESSAGES}=require(a15_0x50b7ac(0x1e5)),validHosts=function(_0x26c484){const _0x5554de=a15_0x50b7ac;return _0x26c484[_0x5554de(0x1f7)](',')['every'](_0x568617=>{const _0x24e335=_0x5554de;try{new URL(_0x568617[_0x24e335(0x203)]());}catch(_0x2925e0){return![];}return!![];});},parseOnPremHosts=function(_0x7776ee){const _0x5e1912=a15_0x50b7ac,_0x395075={};_0x395075[_0x5e1912(0x1ea)]=function(_0x4f4559,_0x42ad11){return _0x4f4559===_0x42ad11;},_0x395075[_0x5e1912(0x1fb)]=_0x5e1912(0x1f9),_0x395075[_0x5e1912(0x20f)]=_0x5e1912(0x1cd),_0x395075[_0x5e1912(0x1fd)]=_0x5e1912(0x1f5);const _0x2c2a6d=_0x395075;return _0x7776ee[_0x5e1912(0x1f7)](',')[_0x5e1912(0x20a)](_0x302afd=>{const _0x3311b5=_0x5e1912,_0x4d4a98=new URL(_0x302afd[_0x3311b5(0x203)]()),_0xaf9ea0=_0x4d4a98[_0x3311b5(0x1fe)],_0x499d3f=_0x4d4a98[_0x3311b5(0x1de)]||(_0x2c2a6d['SYNzm'](_0x4d4a98['protocol'],_0x2c2a6d[_0x3311b5(0x1fb)])?_0x2c2a6d[_0x3311b5(0x20f)]:'80'),_0x44b4f9=_0x4d4a98[_0x3311b5(0x20d)][_0x3311b5(0x1d2)](':',''),_0x4e47c7=_0x2c2a6d[_0x3311b5(0x1ea)](_0x44b4f9,_0x2c2a6d[_0x3311b5(0x1fd)])?0x1:0x0;return _0xaf9ea0+','+_0x499d3f+','+_0x4e47c7;});},connectCommandBuilder=function(_0x1da1e8){const _0x10a9ca=a15_0x50b7ac,_0x222a6d={};_0x222a6d[_0x10a9ca(0x1ce)]='string';const _0x2b5e62=_0x222a6d,_0x193078={};_0x193078[_0x10a9ca(0x207)]=HELP_MESSAGES[_0x10a9ca(0x1dd)][_0x10a9ca(0x204)],_0x193078[_0x10a9ca(0x1d5)]=_0x2b5e62[_0x10a9ca(0x1ce)];const _0x56f579={};_0x56f579[_0x10a9ca(0x207)]=HELP_MESSAGES['options'][_0x10a9ca(0x1e8)],_0x56f579[_0x10a9ca(0x1d5)]=_0x2b5e62['mtetS'],_0x56f579[_0x10a9ca(0x1ec)]=!![];const _0x1369a4={};return _0x1369a4[_0x10a9ca(0x1dc)]=_0x193078,_0x1369a4[_0x10a9ca(0x1e8)]=_0x56f579,_0x1da1e8[_0x10a9ca(0x1dd)](_0x1369a4);},connectCommandHandler=async function(_0x5181b1){const _0x257600=a15_0x50b7ac,_0x188a1a={'oiVbL':'integrations','hFpts':function(_0x230011,_0x4a2e7b){return _0x230011===_0x4a2e7b;},'LCPrM':_0x257600(0x1fa),'XOGpz':_0x257600(0x1df),'BZVhh':function(_0x385e40,_0x50e8e2){return _0x385e40===_0x50e8e2;},'RXLae':'Integration\x20hosts\x20missing.','WriII':function(_0xb7b9a4,_0x3ab02a){return _0xb7b9a4(_0x3ab02a);},'RaVdn':_0x257600(0x1f0),'kGZKe':_0x257600(0x202),'MLbGJ':_0x257600(0x1e7),'ameOS':'Failed\x20to\x20establish\x20connection.'};try{const _0x2939d9=new BrowserStackSetup(_0x5181b1,_0x188a1a[_0x257600(0x205)]);_0x5181b1['bstackAccesskey']&&(_0x2939d9[_0x257600(0x1e6)][_0x257600(0x1ed)]=_0x5181b1['bstackAccesskey']);if(_0x188a1a[_0x257600(0x1d0)](typeof _0x2939d9['config'][_0x257600(0x1ed)],_0x188a1a['LCPrM'])){logger[_0x257600(0x1f2)](_0x188a1a[_0x257600(0x1d3)]);throw new Error(ERROR_MESSAGES[_0x257600(0x204)][_0x257600(0x1d7)]);}const _0x48193b=_0x5181b1[_0x257600(0x1e8)];if(_0x188a1a[_0x257600(0x1ef)](typeof _0x48193b,_0x188a1a[_0x257600(0x1e1)])){logger[_0x257600(0x1f2)](_0x188a1a[_0x257600(0x1cf)]);throw new Error(ERROR_MESSAGES[_0x257600(0x1e8)][_0x257600(0x1d7)]);}if(!_0x188a1a[_0x257600(0x1fc)](validHosts,_0x48193b)){logger[_0x257600(0x1f2)](_0x188a1a['RaVdn']);throw new Error(ERROR_MESSAGES[_0x257600(0x1e8)]['invalid']);}const _0x177505=_0x188a1a[_0x257600(0x1fc)](parseOnPremHosts,_0x48193b);_0x2939d9['config']['browserstackLocal']=!![],_0x2939d9[_0x257600(0x1e6)]['browserStackLocalOptions']['localIdentifier']=_0x188a1a[_0x257600(0x208)],_0x2939d9['config'][_0x257600(0x1e3)]['only']=_0x177505[_0x257600(0x20c)](','),helper[_0x257600(0x1eb)](_0x2939d9[_0x257600(0x1e6)]),await _0x2939d9['setupBrowserstackLocal'](),logger['info'](_0x188a1a[_0x257600(0x1f8)]);}catch(_0x38ae4e){logger[_0x257600(0x1f2)](_0x188a1a[_0x257600(0x1da)]);throw new Error(_0x38ae4e[_0x257600(0x206)]());}};function run(_0x1b316b){const _0x1b1c53=a15_0x50b7ac,_0x54a089={};_0x54a089['dxBXc']=_0x1b1c53(0x1f6),_0x54a089[_0x1b1c53(0x1d4)]=_0x1b1c53(0x1d8);const _0xe86e28=_0x54a089;_0x1b316b[_0x1b1c53(0x1db)](HELP_MESSAGES[_0x1b1c53(0x1ff)][_0x1b1c53(0x1d9)])[_0x1b1c53(0x1ff)](_0xe86e28[_0x1b1c53(0x209)],HELP_MESSAGES[_0x1b1c53(0x1ff)][_0x1b1c53(0x1f6)],connectCommandBuilder,connectCommandHandler)['demandCommand']()[_0x1b1c53(0x1d8)](_0xe86e28['rYpHA'])[_0x1b1c53(0x1d1)](HELP_MESSAGES[_0x1b1c53(0x1ff)][_0x1b1c53(0x20b)]);}function a15_0x363e(_0x14d8c8,_0x476f57){const _0x55bfaf=a15_0x55bf();return a15_0x363e=function(_0x363e87,_0x1da223){_0x363e87=_0x363e87-0x1cd;let _0x4f2982=_0x55bfaf[_0x363e87];return _0x4f2982;},a15_0x363e(_0x14d8c8,_0x476f57);}module['exports']=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a16_0x557af8=a16_0x2444;(function(_0x85211,_0x66a4fe){var _0xee439=a16_0x2444,_0x4cdf0b=_0x85211();while(!![]){try{var _0x5efea0=parseInt(_0xee439(0x16a))/0x1+-parseInt(_0xee439(0x173))/0x2+-parseInt(_0xee439(0x160))/0x3+parseInt(_0xee439(0x168))/0x4+-parseInt(_0xee439(0x16e))/0x5+-parseInt(_0xee439(0x167))/0x6+parseInt(_0xee439(0x16d))/0x7;if(_0x5efea0===_0x66a4fe)break;else _0x4cdf0b['push'](_0x4cdf0b['shift']());}catch(_0x5ce306){_0x4cdf0b['push'](_0x4cdf0b['shift']());}}}(a16_0x34c5,0xbefbc));var a16_0x4039ff={};a16_0x4039ff['bstackAccessKey']='Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.',a16_0x4039ff[a16_0x557af8(0x16c)]=a16_0x557af8(0x162);function a16_0x2444(_0x28a8be,_0x37ee54){var _0x34c526=a16_0x34c5();return a16_0x2444=function(_0x2444a4,_0x33dc47){_0x2444a4=_0x2444a4-0x15f;var _0x56d7aa=_0x34c526[_0x2444a4];return _0x56d7aa;},a16_0x2444(_0x28a8be,_0x37ee54);}var a16_0x1863e9={};a16_0x1863e9['root']=a16_0x557af8(0x172),a16_0x1863e9[a16_0x557af8(0x165)]='Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.',a16_0x1863e9[a16_0x557af8(0x166)]=a16_0x557af8(0x16f);var a16_0x39ceae={};a16_0x39ceae[a16_0x557af8(0x169)]=a16_0x4039ff,a16_0x39ceae[a16_0x557af8(0x15f)]=a16_0x1863e9,exports[a16_0x557af8(0x174)]=a16_0x39ceae;var a16_0x3c5363={};a16_0x3c5363[a16_0x557af8(0x161)]=a16_0x557af8(0x16b);var a16_0x54b66d={};function a16_0x34c5(){var _0x310d12=['connect','footer','5282394IiIqCB','2831920AAySEi','options','1001907SjkJXm','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','hosts','8750385tvrfwd','825685wGUjVH','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','bstackAccessKey','invalid','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','1611722pcGaAT','HELP_MESSAGES','command','978831aFBLLJ','missing','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.','ERROR_MESSAGES','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.'];a16_0x34c5=function(){return _0x310d12;};return a16_0x34c5();}a16_0x54b66d[a16_0x557af8(0x161)]=a16_0x557af8(0x164),a16_0x54b66d[a16_0x557af8(0x171)]='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.';var a16_0x25e08a={};a16_0x25e08a[a16_0x557af8(0x170)]=a16_0x3c5363,a16_0x25e08a[a16_0x557af8(0x16c)]=a16_0x54b66d,exports[a16_0x557af8(0x163)]=a16_0x25e08a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function a17_0x4d32(_0x19c801,_0x5c2236){const _0x3ebae9=a17_0x3eba();return a17_0x4d32=function(_0x4d32f8,_0x324d13){_0x4d32f8=_0x4d32f8-0xd1;let _0x2a6f9f=_0x3ebae9[_0x4d32f8];return _0x2a6f9f;},a17_0x4d32(_0x19c801,_0x5c2236);}function a17_0x3eba(){const _0xd8c5ff=['Exception\x20in\x20jasmine\x20specStarted\x20for\x20','jasmineDone','suiteStarted','dirname','TAshS','remove','xqGig','fDhZC','pending','Jasmine','specDone','suiteDone','qxygF','err','../../../helpers/testhub/utils','lhdWW','_sendSpecEvent','has','aebLd','11354147knYGPv','endsWith','JPwzE','code','beiDy','TestRunSkipped','AssertionError','8VHaVuT','\x20:\x20','Itmtw','description','failed','1907466IcBcHH','failure_reason_expanded','ELzRF','statSync','kitKD','jasmineStarted','GaTYU','actual','MLAjq','Spec\x20failed','stack','MtoMo','join','expanded','fullName','config','hNgbi','started_at','MhcOR','push','1153566IFRTyM','duration','JASMINE','exports','_paths','get','trim','expected','WyJUs','267399hcnCaJ','Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20','_collapseFailedExpectations','uploadEventData','status','ZSctl','UKpre','vUFSa','DpYeu','excluded','JhdBX','48028uSLFZq','VLxyT','parentSuiteId','passed','yAIYA','filename','appendTesthubParams','vetEV','../../../helpers/test-observability/sessionHandler','Cmura','wNxuK','UnhandledError','TestRunFinished','../../../helpers/test-observability/utils','pyiLG','lbYWe','AnOre','set','ibHvA','length','oDCCC','keys','skipped','1900050OpThXE','number','_scopes','gmUrJ','Exception\x20in\x20jasmine\x20specDone\x20for\x20','prefixTestPath','94568YuuDPq','CWRgD','InWkB','fileNameByFullName','clwFJ','MUahN','sep','AbzIQ','cwd','zEOEh','wCUOY','PulQI','match','TestRunStarted','_suitesById','message','delete','testObservability','../../../helpers/test-observability/constants','specStarted','.git','VvLFe','finished_at','_findGitConfig','matcherName','reverse','_fileNameByFullName','Urlcr'];a17_0x3eba=function(){return _0xd8c5ff;};return a17_0x3eba();}const a17_0x56bd4e=a17_0x4d32;(function(_0x5993c7,_0xda6da1){const _0x321567=a17_0x4d32,_0x3dd98e=_0x5993c7();while(!![]){try{const _0x36c8c5=-parseInt(_0x321567(0xed))/0x1+parseInt(_0x321567(0xf8))/0x2+-parseInt(_0x321567(0xe4))/0x3+-parseInt(_0x321567(0x115))/0x4+-parseInt(_0x321567(0x10f))/0x5+-parseInt(_0x321567(0x150))/0x6+parseInt(_0x321567(0x144))/0x7*(parseInt(_0x321567(0x14b))/0x8);if(_0x36c8c5===_0xda6da1)break;else _0x3dd98e['push'](_0x3dd98e['shift']());}catch(_0x17b9c0){_0x3dd98e['push'](_0x3dd98e['shift']());}}}(a17_0x3eba,0x428a7));const path=require('path'),fs=require('fs'),{v4:uuidv4}=require('uuid'),testhubUtils=require(a17_0x56bd4e(0x13f)),{FRAMEWORKS}=require(a17_0x56bd4e(0x127)),SessionHandler=require(a17_0x56bd4e(0x100)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a17_0x56bd4e(0x105)),testRunMap=require('../testRunMap'),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL=a17_0x56bd4e(0x13a),a17_0x1b6b25={};a17_0x1b6b25[a17_0x56bd4e(0xfb)]=a17_0x56bd4e(0xfb),a17_0x1b6b25[a17_0x56bd4e(0x14f)]=a17_0x56bd4e(0x14f),a17_0x1b6b25[a17_0x56bd4e(0x139)]=a17_0x56bd4e(0x139),a17_0x1b6b25[a17_0x56bd4e(0xf6)]=a17_0x56bd4e(0x10e);const STATUS_MAP=a17_0x1b6b25;class BrowserStackJasmineReporter{constructor(_0x1b61fc={}){const _0x1a0dec=a17_0x56bd4e,_0x2c83c3={'oDCCC':function(_0x2416a2){return _0x2416a2();}};this[_0x1a0dec(0x126)]=_0x2c83c3[_0x1a0dec(0x10c)](isTestObservabilitySession),this['_paths']=new PathHelper({'cwd':process[_0x1a0dec(0x11d)]()},undefined),this[_0x1a0dec(0x12f)]=_0x1b61fc&&_0x1b61fc[_0x1a0dec(0x118)]||{},this[_0x1a0dec(0x123)]=new Map();}[a17_0x56bd4e(0xd5)](){}[a17_0x56bd4e(0x133)](_0x3662a9){const _0x3284ac=a17_0x56bd4e,_0x20f378={'beiDy':function(_0x1a407d,_0x27c5ac){return _0x1a407d!==_0x27c5ac;},'pyiLG':function(_0x220202,_0x1fb2a9){return _0x220202(_0x1fb2a9);}};try{_0x3662a9&&_0x20f378['beiDy'](_0x3662a9['id'],undefined)&&_0x20f378[_0x3284ac(0x148)](_0x3662a9['id'],null)&&this[_0x3284ac(0x123)]['set'](_0x3662a9['id'],{'description':_0x3662a9['description'],'parentSuiteId':_0x3662a9[_0x3284ac(0xfa)]});}catch(_0x370734){_0x20f378[_0x3284ac(0x106)](debug,_0x3284ac(0xee)+(_0x3662a9&&_0x3662a9[_0x3284ac(0xde)])+'\x20:\x20'+_0x370734);}}[a17_0x56bd4e(0x128)](_0x53c034){const _0x335a17=a17_0x56bd4e,_0x45f22e={'gmUrJ':function(_0x14ebed,_0x2f3494){return _0x14ebed!==_0x2f3494;},'wNxuK':function(_0x181c8c){return _0x181c8c();},'CWRgD':'TestRunStarted','iBYqN':function(_0x3ebd4d,_0x496efd){return _0x3ebd4d(_0x496efd);}};try{if(_0x45f22e[_0x335a17(0x112)](testhubUtils['shouldProcessEventForTesthub'](),!![]))return;const _0x3734e4=_0x45f22e[_0x335a17(0x102)](uuidv4);testRunMap['set'](_0x53c034['id'],_0x3734e4),this[_0x335a17(0x141)](_0x53c034,_0x3734e4,_0x45f22e[_0x335a17(0x116)]);}catch(_0x35ecbd){_0x45f22e['iBYqN'](debug,_0x335a17(0x131)+(_0x53c034&&_0x53c034[_0x335a17(0xde)])+_0x335a17(0x14c)+_0x35ecbd);}}[a17_0x56bd4e(0x13b)](_0x5fb464){const _0x2e5e63=a17_0x56bd4e,_0x1af2be={'zEOEh':function(_0x26673e,_0x47c7f4){return _0x26673e!==_0x47c7f4;},'eVcfI':function(_0x2b11a5){return _0x2b11a5();},'TAshS':function(_0x38c14d,_0x43436d){return _0x38c14d===_0x43436d;},'WyJUs':'excluded','JhdBX':'TestRunSkipped','aebLd':_0x2e5e63(0x104),'InWkB':function(_0x2620f5,_0x21ee9d){return _0x2620f5(_0x21ee9d);}};try{if(_0x1af2be[_0x2e5e63(0x11e)](testhubUtils['shouldProcessEventForTesthub'](),!![]))return;const _0x2e202a=testRunMap[_0x2e5e63(0xe9)](_0x5fb464['id'])||_0x1af2be['eVcfI'](uuidv4),_0x470719=_0x1af2be[_0x2e5e63(0x135)](_0x5fb464[_0x2e5e63(0xf1)],_0x1af2be[_0x2e5e63(0xec)])?_0x1af2be[_0x2e5e63(0xf7)]:_0x1af2be[_0x2e5e63(0x143)];this[_0x2e5e63(0x141)](_0x5fb464,_0x2e202a,_0x470719);}catch(_0x4e091f){_0x1af2be[_0x2e5e63(0x117)](debug,_0x2e5e63(0x113)+(_0x5fb464&&_0x5fb464[_0x2e5e63(0xde)])+_0x2e5e63(0x14c)+_0x4e091f);}finally{_0x5fb464&&(testRunMap[_0x2e5e63(0x136)](_0x5fb464['id']),_specStartTimes[_0x2e5e63(0x125)](_0x5fb464['id']));}}[a17_0x56bd4e(0x13c)](){}[a17_0x56bd4e(0x132)](){}[a17_0x56bd4e(0x141)](_0x10d3a0,_0x47166d,_0x4ed901){const _0x44f291=a17_0x56bd4e,_0x7d7af7={'MUahN':function(_0x457b47,_0x2be09d){return _0x457b47===_0x2be09d;},'lbYWe':_0x44f291(0x104),'clwFJ':_0x44f291(0x149),'Cmura':'File\x20path\x20could\x20not\x20be\x20found','GaTYU':function(_0x2b9db5,_0x4b2496,_0x5b7e95){return _0x2b9db5(_0x4b2496,_0x5b7e95);},'dApwD':_0x44f291(0x13e),'kitKD':_0x44f291(0x122),'AnOre':function(_0x3685fd,_0x357003){return _0x3685fd!==_0x357003;},'Abxmq':function(_0x4b1256,_0x12809c){return _0x4b1256!==_0x12809c;},'MhcOR':function(_0x534f67,_0x550d78){return _0x534f67===_0x550d78;},'Rdwqf':'javascript','MLAjq':function(_0x47fc19,_0xe2efb7){return _0x47fc19&&_0xe2efb7;},'ibHvA':'skipped','VLxyT':'passed','UKpre':function(_0x1609f0,_0x548154){return _0x1609f0===_0x548154;},'HStLP':_0x44f291(0x110),'hNgbi':_0x44f291(0x14a),'xqGig':_0x44f291(0x103),'TTDbP':function(_0x218d80,_0x7fd1c7){return _0x218d80===_0x7fd1c7;},'DpYeu':_0x44f291(0xe1),'lhdWW':_0x44f291(0x12b),'vetEV':'failure','VvLFe':'failure_backtrace','PZVWB':'backtrace','AbzIQ':_0x44f291(0xd1),'QaQlT':_0x44f291(0xdd),'vUFSa':function(_0x3095c5,_0x2089be){return _0x3095c5(_0x2089be);}};try{const _0x29cb9b=_0x7d7af7[_0x44f291(0x11a)](_0x4ed901,_0x7d7af7['lbYWe'])||_0x7d7af7[_0x44f291(0x11a)](_0x4ed901,_0x7d7af7['clwFJ']),_0x4aac7c=this['_resolveFilePath'](_0x10d3a0),_0x19eb5b=_0x4aac7c?this[_0x44f291(0xe8)][_0x44f291(0x114)](_0x4aac7c):_0x7d7af7[_0x44f291(0x101)],_0xc6162a=_0x4aac7c?this[_0x44f291(0x12c)](path['dirname'](_0x4aac7c)):null,_0x148719=this[_0x44f291(0xef)](_0x10d3a0['failedExpectations']),_0x4df924=_0x148719?_0x148719[_0x44f291(0x124)]:undefined,_0x53fe57=_0x148719?_0x7d7af7[_0x44f291(0xd6)](failureData,_0x148719,_0x7d7af7['dApwD']):[],_0x45116c=new Date()['toISOString'](),_0x2e71c2=this['_scopes'](_0x10d3a0);_0x7d7af7[_0x44f291(0x11a)](_0x4ed901,_0x7d7af7[_0x44f291(0xd4)])&&_0x10d3a0&&_0x7d7af7[_0x44f291(0x108)](_0x10d3a0['id'],undefined)&&_0x7d7af7['Abxmq'](_0x10d3a0['id'],null)&&_specStartTimes[_0x44f291(0x109)](_0x10d3a0['id'],_0x45116c);const _0x3a1259=_0x7d7af7[_0x44f291(0xe2)](_0x4ed901,_0x7d7af7[_0x44f291(0xd4)])?_0x45116c:_0x10d3a0&&_specStartTimes[_0x44f291(0xe9)](_0x10d3a0['id'])||null,_0x3e9d6e={};_0x3e9d6e['lang']=_0x7d7af7['Rdwqf'],_0x3e9d6e[_0x44f291(0x147)]=null;const _0x48b143={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0x47166d,'name':_0x10d3a0[_0x44f291(0x14e)],'body':_0x3e9d6e,'scope':_0x2e71c2['join']('\x20'),'scopes':_0x2e71c2,'identifier':_0x10d3a0['fullName'],'file_name':_0x19eb5b,'vc_filepath':_0x7d7af7[_0x44f291(0xd8)](_0xc6162a,_0x4aac7c)?path['relative'](_0xc6162a,_0x4aac7c):null,'location':_0x19eb5b,'result':_0x7d7af7[_0x44f291(0xe2)](_0x4ed901,_0x7d7af7[_0x44f291(0x119)])?_0x7d7af7[_0x44f291(0x10a)]:STATUS_MAP[_0x10d3a0['status']]||_0x7d7af7[_0x44f291(0xf9)],'failure_reason':_0x4df924,'duration_in_ms':_0x7d7af7[_0x44f291(0xf3)](typeof _0x10d3a0[_0x44f291(0xe5)],_0x7d7af7['HStLP'])?_0x10d3a0[_0x44f291(0xe5)]:null,'started_at':_0x3a1259,'finished_at':_0x29cb9b?_0x45116c:null,'failure':_0x53fe57,'failure_type':!_0x4df924?null:_0x4df924[_0x44f291(0x121)](/AssertionError/)?_0x7d7af7[_0x44f291(0xe0)]:_0x7d7af7[_0x44f291(0x137)],'retry_of':null};_0x7d7af7['TTDbP'](_0x4ed901,_0x7d7af7[_0x44f291(0x119)])&&!_0x48b143[_0x7d7af7['DpYeu']]&&(_0x48b143[_0x7d7af7[_0x44f291(0xf5)]]=_0x48b143[_0x7d7af7[_0x44f291(0x140)]]);const _0x178eb8=_0x48b143[_0x7d7af7[_0x44f291(0xff)]][0x0];_0x178eb8&&(_0x48b143[_0x7d7af7[_0x44f291(0x12a)]]=_0x178eb8[_0x7d7af7['PZVWB']],_0x48b143[_0x7d7af7[_0x44f291(0x11c)]]=_0x178eb8[_0x7d7af7['QaQlT']]);testhubUtils[_0x44f291(0xfe)](_0x48b143,_0x4ed901,_0x10d3a0,FRAMEWORKS[_0x44f291(0xe6)]);const _0xe2c222={'event_type':_0x7d7af7[_0x44f291(0xe2)](_0x4ed901,_0x7d7af7[_0x44f291(0x119)])?_0x7d7af7[_0x44f291(0x107)]:_0x4ed901,'test_run':_0x48b143};return testhubUtils['setCurrentTestData'](FRAMEWORKS[_0x44f291(0xe6)],_0xe2c222),SessionHandler[_0x44f291(0xf0)](_0xe2c222);}catch(_0x587065){_0x7d7af7[_0x44f291(0xf4)](debug,'Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20'+_0x4ed901+_0x44f291(0x14c)+_0x587065);}}[a17_0x56bd4e(0x111)](_0x352719){const _0x1f13d2=a17_0x56bd4e,_0x10ba35={'PulQI':function(_0x47e4f6,_0xef60a4){return _0x47e4f6!==_0xef60a4;},'wCUOY':function(_0x25c6d9,_0x244645){return _0x25c6d9>_0x244645;},'Urlcr':function(_0x34b470,_0xf83cc6){return _0x34b470(_0xf83cc6);},'qxygF':function(_0x2cd6b6,_0x4457d9){return _0x2cd6b6-_0x4457d9;}};try{const _0x2bd2e3=[];let _0x2fafcb=_0x352719&&_0x352719[_0x1f13d2(0xfa)];const _0x283c63=new Set();while(_0x10ba35[_0x1f13d2(0x120)](_0x2fafcb,undefined)&&_0x10ba35['PulQI'](_0x2fafcb,null)&&this[_0x1f13d2(0x123)][_0x1f13d2(0x142)](_0x2fafcb)&&!_0x283c63[_0x1f13d2(0x142)](_0x2fafcb)){_0x283c63['add'](_0x2fafcb);const _0x3c17f9=this[_0x1f13d2(0x123)][_0x1f13d2(0xe9)](_0x2fafcb);_0x3c17f9&&_0x3c17f9[_0x1f13d2(0x14e)]&&_0x2bd2e3[_0x1f13d2(0xe3)](_0x3c17f9[_0x1f13d2(0x14e)]),_0x2fafcb=_0x3c17f9?_0x3c17f9[_0x1f13d2(0xfa)]:null;}if(_0x10ba35[_0x1f13d2(0x11f)](_0x2bd2e3[_0x1f13d2(0x10b)],0x0))return _0x2bd2e3[_0x1f13d2(0x12e)]();}catch(_0x5f2950){_0x10ba35[_0x1f13d2(0x130)](debug,'Exception\x20deriving\x20jasmine\x20scopes\x20for\x20'+(_0x352719&&_0x352719[_0x1f13d2(0xde)])+_0x1f13d2(0x14c)+_0x5f2950);}const _0x5de79b=_0x352719&&_0x352719[_0x1f13d2(0xde)]||'',_0x44de18=_0x352719&&_0x352719[_0x1f13d2(0x14e)]||'';let _0x54d9f0=_0x5de79b;return _0x44de18&&_0x5de79b[_0x1f13d2(0x145)](_0x44de18)&&(_0x54d9f0=_0x5de79b['slice'](0x0,_0x10ba35[_0x1f13d2(0x13d)](_0x5de79b['length'],_0x44de18['length']))[_0x1f13d2(0xea)]()),_0x54d9f0?_0x54d9f0['split'](/\s+/):[];}['_resolveFilePath'](_0x5b2dab){const _0x12386b=a17_0x56bd4e,_0x24b610={};_0x24b610[_0x12386b(0xfc)]=function(_0x5c58f4,_0x2a53d0){return _0x5c58f4===_0x2a53d0;},_0x24b610['oKCev']=function(_0x587b0c,_0x25a363){return _0x587b0c+_0x25a363;},_0x24b610[_0x12386b(0xd2)]=function(_0x51b878,_0x3deaab){return _0x51b878>_0x3deaab;};const _0x620e1f=_0x24b610;if(_0x5b2dab&&_0x5b2dab['filename'])return _0x5b2dab[_0x12386b(0xfd)];if(_0x5b2dab&&_0x5b2dab[_0x12386b(0xde)]){if(this[_0x12386b(0x12f)][_0x5b2dab[_0x12386b(0xde)]])return this[_0x12386b(0x12f)][_0x5b2dab[_0x12386b(0xde)]];let _0x5a1022=null,_0x3e612b=-0x1;for(const _0x1fd799 of Object[_0x12386b(0x10d)](this[_0x12386b(0x12f)])){(_0x620e1f[_0x12386b(0xfc)](_0x5b2dab[_0x12386b(0xde)],_0x1fd799)||_0x5b2dab[_0x12386b(0xde)]['startsWith'](_0x620e1f['oKCev'](_0x1fd799,'\x20')))&&_0x620e1f['ELzRF'](_0x1fd799['length'],_0x3e612b)&&(_0x5a1022=this[_0x12386b(0x12f)][_0x1fd799],_0x3e612b=_0x1fd799['length']);}if(_0x5a1022)return _0x5a1022;}return null;}['_collapseFailedExpectations'](_0x226116){const _0x2cc59d=a17_0x56bd4e,_0x13b668={};_0x13b668['NSXZZ']=function(_0x4d38d5,_0x5cd323){return _0x4d38d5===_0x5cd323;},_0x13b668[_0x2cc59d(0x14d)]=_0x2cc59d(0xd9);const _0x9f80c3=_0x13b668;if(!Array['isArray'](_0x226116)||_0x9f80c3['NSXZZ'](_0x226116[_0x2cc59d(0x10b)],0x0))return undefined;const _0x1b7070=[],_0x4e75da=[];for(const _0x377cd7 of _0x226116){_0x377cd7&&_0x377cd7[_0x2cc59d(0x124)]&&_0x1b7070[_0x2cc59d(0xe3)](_0x377cd7[_0x2cc59d(0x124)]),_0x377cd7&&_0x377cd7[_0x2cc59d(0xda)]&&_0x4e75da[_0x2cc59d(0xe3)](_0x377cd7[_0x2cc59d(0xda)]);}const _0x2fb811=_0x226116[0x0]||{},_0x22d94e=_0x1b7070[_0x2cc59d(0xdc)]('\x0a')||_0x2fb811[_0x2cc59d(0x124)]||_0x9f80c3[_0x2cc59d(0x14d)],_0x5ce382=_0x4e75da[_0x2cc59d(0xdc)]('\x0a\x0a')||_0x2fb811[_0x2cc59d(0xda)]||_0x22d94e,_0x475328={};return _0x475328[_0x2cc59d(0x124)]=_0x22d94e,_0x475328[_0x2cc59d(0xda)]=_0x5ce382,_0x475328['matcherName']=_0x2fb811[_0x2cc59d(0x12d)],_0x475328['expected']=_0x2fb811[_0x2cc59d(0xeb)],_0x475328[_0x2cc59d(0xd7)]=_0x2fb811[_0x2cc59d(0xd7)],_0x475328;}[a17_0x56bd4e(0x12c)](_0x560a3f){const _0x2fb47=a17_0x56bd4e,_0x49b836={};_0x49b836['JPwzE']=function(_0x12ee8e,_0x121388){return _0x12ee8e===_0x121388;},_0x49b836['ZSctl']=function(_0x3b4422,_0xc28acf){return _0x3b4422===_0xc28acf;},_0x49b836[_0x2fb47(0xdb)]=_0x2fb47(0x129),_0x49b836[_0x2fb47(0x138)]=_0x2fb47(0xdf);const _0x33897d=_0x49b836,_0x377e2b=path[_0x2fb47(0x11b)];if(_0x33897d[_0x2fb47(0x146)](_0x560a3f,null)||_0x33897d[_0x2fb47(0x146)](_0x560a3f,'')||_0x33897d[_0x2fb47(0x146)](_0x560a3f,_0x377e2b)||_0x33897d[_0x2fb47(0xf2)](_0x560a3f,path[_0x2fb47(0x134)](_0x560a3f)))return null;try{return fs[_0x2fb47(0xd3)](path[_0x2fb47(0xdc)](_0x560a3f,_0x33897d[_0x2fb47(0xdb)],_0x33897d[_0x2fb47(0x138)])),_0x560a3f;}catch(_0x59271a){return this[_0x2fb47(0x12c)](path[_0x2fb47(0x134)](_0x560a3f));}}}module[a17_0x56bd4e(0xe7)]=BrowserStackJasmineReporter;
|
|
1
|
+
'use strict';const a17_0x29e003=a17_0x3440;(function(_0x2a7274,_0x1844e0){const _0x1fcca3=a17_0x3440,_0x3705a5=_0x2a7274();while(!![]){try{const _0x541f27=-parseInt(_0x1fcca3(0x181))/0x1+-parseInt(_0x1fcca3(0x1ec))/0x2*(-parseInt(_0x1fcca3(0x1c6))/0x3)+-parseInt(_0x1fcca3(0x195))/0x4*(-parseInt(_0x1fcca3(0x191))/0x5)+-parseInt(_0x1fcca3(0x1e1))/0x6*(parseInt(_0x1fcca3(0x1b6))/0x7)+parseInt(_0x1fcca3(0x1d6))/0x8*(parseInt(_0x1fcca3(0x1da))/0x9)+-parseInt(_0x1fcca3(0x1c9))/0xa*(-parseInt(_0x1fcca3(0x1c4))/0xb)+-parseInt(_0x1fcca3(0x16d))/0xc*(parseInt(_0x1fcca3(0x1d5))/0xd);if(_0x541f27===_0x1844e0)break;else _0x3705a5['push'](_0x3705a5['shift']());}catch(_0x41624b){_0x3705a5['push'](_0x3705a5['shift']());}}}(a17_0x5526,0x1e117));const path=require(a17_0x29e003(0x1df)),fs=require('fs'),{v4:uuidv4}=require('uuid'),testhubUtils=require(a17_0x29e003(0x17f)),{FRAMEWORKS}=require(a17_0x29e003(0x19f)),SessionHandler=require(a17_0x29e003(0x1b8)),{isTestObservabilitySession,PathHelper,debug,failureData}=require('../../../helpers/test-observability/utils'),testRunMap=require(a17_0x29e003(0x1bd)),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL=a17_0x29e003(0x1d8),a17_0x2ebc6c={};a17_0x2ebc6c[a17_0x29e003(0x1d3)]=a17_0x29e003(0x1d3),a17_0x2ebc6c['failed']='failed',a17_0x2ebc6c['pending']='pending',a17_0x2ebc6c[a17_0x29e003(0x192)]=a17_0x29e003(0x1dc);function a17_0x3440(_0x578e04,_0x396c57){const _0x552653=a17_0x5526();return a17_0x3440=function(_0x344079,_0x3af164){_0x344079=_0x344079-0x16c;let _0x431fd1=_0x552653[_0x344079];return _0x431fd1;},a17_0x3440(_0x578e04,_0x396c57);}function a17_0x5526(){const _0x3d0f6b=['split','ZxpTj','iPBrB','NTOsi','MNhwa','JjZDe','_scopes','shouldProcessEventForTesthub','filename','kbVLX','status','LGujR','yEeMk','delete','UnhandledError','683490sHWnza','excluded','ePpOm','_fileNameByFullName','4LXqTsK','OYiLx','specDone','ADUVK','has','rslVw','length','RiazT','.git','dXviB','../../../helpers/test-observability/constants','toISOString','fullName','knOqn','get','stack','oAQsM','duration','parentSuiteId','piBLJ','matcherName','File\x20path\x20could\x20not\x20be\x20found','FdHbc','IbMaQ','KJuDi','atDDf','SUgMQ','err','backtrace','appendTesthubParams','AIjCm','_findGitConfig','Exception\x20deriving\x20jasmine\x20scopes\x20for\x20','81935adxcbO','gokhm','../../../helpers/test-observability/sessionHandler','failure_backtrace','YoqyW','slice','trim','../testRunMap','OPnBc','javascript','aFxUP','config','IjRwY','_suitesById','121dpbiAs','cyebK','28173GhtusS','hLTBX','isArray','106090DlWXQz','suiteDone','testObservability','Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20','oaAEQ','mNCLC','_resolveFilePath','RVCPu','description','Frxpj','passed','dirname','2671279UrZhBF','946472uftRjB','pUzkK','Jasmine','prefixTestPath','18GWuTeW','failure','skipped','join','TestRunFinished','path','actual','78KgDhpX','_paths','endsWith','jasmineDone','IXOId','NaUAF','message','VEnnx','started_at','_collapseFailedExpectations','finished_at','2NIXwzn','lRLbP','number','lang','Exception\x20in\x20jasmine\x20specDone\x20for\x20','HwxvQ','set','RWVeH','\x20:\x20','wSZHW','exports','startsWith','12xJecUL','RwlWo','TestRunStarted','qWwyQ','MDtWg','relative','expected','TestRunSkipped','cwd','qLwYL','push','Exception\x20in\x20jasmine\x20specStarted\x20for\x20','JASMINE','IteyJ','Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20','_sendSpecEvent','mEkao','remove','../../../helpers/testhub/utils','Spec\x20failed','18599kZgYzX'];a17_0x5526=function(){return _0x3d0f6b;};return a17_0x5526();}const STATUS_MAP=a17_0x2ebc6c;class BrowserStackJasmineReporter{constructor(_0x14a1b1={}){const _0x321041=a17_0x29e003,_0x4ae074={'MDtWg':function(_0x44c843){return _0x44c843();}};this[_0x321041(0x1cb)]=_0x4ae074[_0x321041(0x171)](isTestObservabilitySession),this[_0x321041(0x1e2)]=new PathHelper({'cwd':process[_0x321041(0x175)]()},undefined),this[_0x321041(0x194)]=_0x14a1b1&&_0x14a1b1['fileNameByFullName']||{},this[_0x321041(0x1c3)]=new Map();}['jasmineStarted'](){}['suiteStarted'](_0x2f63c0){const _0x6fe229=a17_0x29e003,_0xc82479={'uiPRb':function(_0x2fa461,_0x2ea5de){return _0x2fa461!==_0x2ea5de;},'KJuDi':function(_0xca7603,_0x43fa26){return _0xca7603!==_0x43fa26;},'GlXux':function(_0x15eece,_0x767411){return _0x15eece(_0x767411);}};try{_0x2f63c0&&_0xc82479['uiPRb'](_0x2f63c0['id'],undefined)&&_0xc82479[_0x6fe229(0x1ad)](_0x2f63c0['id'],null)&&this[_0x6fe229(0x1c3)][_0x6fe229(0x1f2)](_0x2f63c0['id'],{'description':_0x2f63c0[_0x6fe229(0x1d1)],'parentSuiteId':_0x2f63c0[_0x6fe229(0x1a7)]});}catch(_0x5523f8){_0xc82479['GlXux'](debug,_0x6fe229(0x1cc)+(_0x2f63c0&&_0x2f63c0[_0x6fe229(0x1a1)])+_0x6fe229(0x1f4)+_0x5523f8);}}['specStarted'](_0x22037e){const _0x251886=a17_0x29e003,_0x116798={'kbVLX':function(_0xc45fb4,_0xe8b423){return _0xc45fb4!==_0xe8b423;},'OYiLx':function(_0x9a11a9){return _0x9a11a9();},'IteyJ':'TestRunStarted','cyebK':function(_0x32054e,_0x35cf7a){return _0x32054e(_0x35cf7a);}};try{if(_0x116798[_0x251886(0x18b)](testhubUtils[_0x251886(0x189)](),!![]))return;const _0x308142=_0x116798[_0x251886(0x196)](uuidv4);testRunMap[_0x251886(0x1f2)](_0x22037e['id'],_0x308142),this['_sendSpecEvent'](_0x22037e,_0x308142,_0x116798[_0x251886(0x17a)]);}catch(_0x5a32a7){_0x116798[_0x251886(0x1c5)](debug,_0x251886(0x178)+(_0x22037e&&_0x22037e[_0x251886(0x1a1)])+'\x20:\x20'+_0x5a32a7);}}[a17_0x29e003(0x197)](_0x39128d){const _0x6ce174=a17_0x29e003,_0x560f3c={'ePpOm':function(_0x1b191b,_0x49da59){return _0x1b191b!==_0x49da59;},'HwxvQ':function(_0xa359e0){return _0xa359e0();},'mNCLC':function(_0x507886,_0x3fb115){return _0x507886===_0x3fb115;},'qWwyQ':'excluded','SUgMQ':_0x6ce174(0x174),'oaAEQ':_0x6ce174(0x1de),'ADUVK':function(_0x118be4,_0x230eb0){return _0x118be4(_0x230eb0);}};try{if(_0x560f3c[_0x6ce174(0x193)](testhubUtils[_0x6ce174(0x189)](),!![]))return;const _0x566b90=testRunMap[_0x6ce174(0x1a3)](_0x39128d['id'])||_0x560f3c[_0x6ce174(0x1f1)](uuidv4),_0x4709d4=_0x560f3c[_0x6ce174(0x1ce)](_0x39128d[_0x6ce174(0x18c)],_0x560f3c[_0x6ce174(0x170)])?_0x560f3c[_0x6ce174(0x1af)]:_0x560f3c[_0x6ce174(0x1cd)];this[_0x6ce174(0x17c)](_0x39128d,_0x566b90,_0x4709d4);}catch(_0x2bcf47){_0x560f3c[_0x6ce174(0x198)](debug,_0x6ce174(0x1f0)+(_0x39128d&&_0x39128d['fullName'])+'\x20:\x20'+_0x2bcf47);}finally{_0x39128d&&(testRunMap[_0x6ce174(0x17e)](_0x39128d['id']),_specStartTimes[_0x6ce174(0x18f)](_0x39128d['id']));}}[a17_0x29e003(0x1ca)](){}[a17_0x29e003(0x1e4)](){}['_sendSpecEvent'](_0x3d180f,_0x28fb15,_0x39945d){const _0x43f127=a17_0x29e003,_0x47c930={'JjZDe':function(_0x47ffaf,_0x28efae){return _0x47ffaf===_0x28efae;},'lRLbP':'TestRunFinished','mEkao':_0x43f127(0x174),'BCMfJ':_0x43f127(0x1aa),'RwlWo':function(_0x5095cb,_0x127200,_0x56fd8f){return _0x5095cb(_0x127200,_0x56fd8f);},'OPnBc':_0x43f127(0x1b0),'AIjCm':_0x43f127(0x16f),'IjRwY':function(_0x4bb846,_0x29e321){return _0x4bb846!==_0x29e321;},'dXviB':function(_0x2e9535,_0x4d9621){return _0x2e9535!==_0x4d9621;},'UisLX':function(_0x4ea42b,_0x40fbe3){return _0x4ea42b===_0x40fbe3;},'LGujR':_0x43f127(0x1bf),'pUzkK':function(_0x25385e,_0x5c6e57){return _0x25385e&&_0x5c6e57;},'hLTBX':function(_0x2054de,_0x2786fd){return _0x2054de===_0x2786fd;},'gokhm':_0x43f127(0x1dc),'CQPPz':'passed','knOqn':function(_0x1ccc1c,_0x381748){return _0x1ccc1c===_0x381748;},'oAQsM':_0x43f127(0x1ee),'RVCPu':'AssertionError','YoqyW':_0x43f127(0x190),'rslVw':function(_0x1f71a3,_0x61f622){return _0x1f71a3===_0x61f622;},'iPBrB':_0x43f127(0x1e9),'TbrDA':_0x43f127(0x1eb),'qLwYL':_0x43f127(0x1db),'piBLJ':_0x43f127(0x1b9),'RWVeH':_0x43f127(0x1b1),'Frxpj':'failure_reason_expanded','yEeMk':'expanded','NaUAF':function(_0x594a55,_0x459d55){return _0x594a55(_0x459d55);}};try{const _0x433894=_0x47c930[_0x43f127(0x187)](_0x39945d,_0x47c930[_0x43f127(0x1ed)])||_0x47c930[_0x43f127(0x187)](_0x39945d,_0x47c930['mEkao']),_0x58801a=this[_0x43f127(0x1cf)](_0x3d180f),_0xaf2c89=_0x58801a?this[_0x43f127(0x1e2)][_0x43f127(0x1d9)](_0x58801a):_0x47c930['BCMfJ'],_0x7e0af6=_0x58801a?this['_findGitConfig'](path[_0x43f127(0x1d4)](_0x58801a)):null,_0x56691b=this[_0x43f127(0x1ea)](_0x3d180f['failedExpectations']),_0x49ec92=_0x56691b?_0x56691b['message']:undefined,_0x4a9f02=_0x56691b?_0x47c930[_0x43f127(0x16e)](failureData,_0x56691b,_0x47c930[_0x43f127(0x1be)]):[],_0x1b41b8=new Date()[_0x43f127(0x1a0)](),_0x3099d9=this[_0x43f127(0x188)](_0x3d180f);_0x47c930[_0x43f127(0x187)](_0x39945d,_0x47c930[_0x43f127(0x1b3)])&&_0x3d180f&&_0x47c930[_0x43f127(0x1c2)](_0x3d180f['id'],undefined)&&_0x47c930[_0x43f127(0x19e)](_0x3d180f['id'],null)&&_specStartTimes[_0x43f127(0x1f2)](_0x3d180f['id'],_0x1b41b8);const _0x1c2009=_0x47c930['UisLX'](_0x39945d,_0x47c930['AIjCm'])?_0x1b41b8:_0x3d180f&&_specStartTimes[_0x43f127(0x1a3)](_0x3d180f['id'])||null,_0x3c1202={};_0x3c1202[_0x43f127(0x1ef)]=_0x47c930[_0x43f127(0x18d)],_0x3c1202['code']=null;const _0x483507={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0x28fb15,'name':_0x3d180f['description'],'body':_0x3c1202,'scope':_0x3099d9[_0x43f127(0x1dd)]('\x20'),'scopes':_0x3099d9,'identifier':_0x3d180f[_0x43f127(0x1a1)],'file_name':_0xaf2c89,'vc_filepath':_0x47c930[_0x43f127(0x1d7)](_0x7e0af6,_0x58801a)?path[_0x43f127(0x172)](_0x7e0af6,_0x58801a):null,'location':_0xaf2c89,'result':_0x47c930[_0x43f127(0x1c7)](_0x39945d,_0x47c930['mEkao'])?_0x47c930[_0x43f127(0x1b7)]:STATUS_MAP[_0x3d180f[_0x43f127(0x18c)]]||_0x47c930['CQPPz'],'failure_reason':_0x49ec92,'duration_in_ms':_0x47c930['knOqn'](typeof _0x3d180f['duration'],_0x47c930[_0x43f127(0x1a5)])?_0x3d180f[_0x43f127(0x1a6)]:null,'started_at':_0x1c2009,'finished_at':_0x433894?_0x1b41b8:null,'failure':_0x4a9f02,'failure_type':!_0x49ec92?null:_0x49ec92['match'](/AssertionError/)?_0x47c930[_0x43f127(0x1d0)]:_0x47c930[_0x43f127(0x1ba)],'retry_of':null};_0x47c930[_0x43f127(0x19a)](_0x39945d,_0x47c930['mEkao'])&&!_0x483507[_0x47c930[_0x43f127(0x184)]]&&(_0x483507[_0x47c930[_0x43f127(0x184)]]=_0x483507[_0x47c930['TbrDA']]);const _0xbb7452=_0x483507[_0x47c930[_0x43f127(0x176)]][0x0];_0xbb7452&&(_0x483507[_0x47c930[_0x43f127(0x1a8)]]=_0xbb7452[_0x47c930[_0x43f127(0x1f3)]],_0x483507[_0x47c930[_0x43f127(0x1d2)]]=_0xbb7452[_0x47c930[_0x43f127(0x18e)]]);testhubUtils[_0x43f127(0x1b2)](_0x483507,_0x39945d,_0x3d180f,FRAMEWORKS['JASMINE']);const _0x2b712b={'event_type':_0x47c930[_0x43f127(0x1a2)](_0x39945d,_0x47c930[_0x43f127(0x17d)])?_0x47c930[_0x43f127(0x1ed)]:_0x39945d,'test_run':_0x483507};return testhubUtils['setCurrentTestData'](FRAMEWORKS[_0x43f127(0x179)],_0x2b712b),SessionHandler['uploadEventData'](_0x2b712b);}catch(_0x29ac8e){_0x47c930[_0x43f127(0x1e6)](debug,_0x43f127(0x17b)+_0x39945d+_0x43f127(0x1f4)+_0x29ac8e);}}[a17_0x29e003(0x188)](_0x2c3579){const _0x5813cd=a17_0x29e003,_0x456bd5={'FdHbc':function(_0x58343c,_0x11771d){return _0x58343c!==_0x11771d;},'IkSIW':function(_0x1adc0c,_0x4dbbda){return _0x1adc0c>_0x4dbbda;},'aFxUP':function(_0x31289f,_0x2dbffa){return _0x31289f(_0x2dbffa);},'wSZHW':function(_0x198d3a,_0x18f37a){return _0x198d3a-_0x18f37a;}};try{const _0x5e21a6=[];let _0x7f18f4=_0x2c3579&&_0x2c3579['parentSuiteId'];const _0x57b6e3=new Set();while(_0x456bd5[_0x5813cd(0x1ab)](_0x7f18f4,undefined)&&_0x456bd5[_0x5813cd(0x1ab)](_0x7f18f4,null)&&this[_0x5813cd(0x1c3)][_0x5813cd(0x199)](_0x7f18f4)&&!_0x57b6e3[_0x5813cd(0x199)](_0x7f18f4)){_0x57b6e3['add'](_0x7f18f4);const _0x3ad3cd=this[_0x5813cd(0x1c3)][_0x5813cd(0x1a3)](_0x7f18f4);_0x3ad3cd&&_0x3ad3cd[_0x5813cd(0x1d1)]&&_0x5e21a6['push'](_0x3ad3cd['description']),_0x7f18f4=_0x3ad3cd?_0x3ad3cd[_0x5813cd(0x1a7)]:null;}if(_0x456bd5['IkSIW'](_0x5e21a6[_0x5813cd(0x19b)],0x0))return _0x5e21a6['reverse']();}catch(_0x505fee){_0x456bd5[_0x5813cd(0x1c0)](debug,_0x5813cd(0x1b5)+(_0x2c3579&&_0x2c3579[_0x5813cd(0x1a1)])+_0x5813cd(0x1f4)+_0x505fee);}const _0x795025=_0x2c3579&&_0x2c3579[_0x5813cd(0x1a1)]||'',_0x4353a3=_0x2c3579&&_0x2c3579[_0x5813cd(0x1d1)]||'';let _0xa54b24=_0x795025;return _0x4353a3&&_0x795025[_0x5813cd(0x1e3)](_0x4353a3)&&(_0xa54b24=_0x795025[_0x5813cd(0x1bb)](0x0,_0x456bd5[_0x5813cd(0x1f5)](_0x795025['length'],_0x4353a3[_0x5813cd(0x19b)]))[_0x5813cd(0x1bc)]()),_0xa54b24?_0xa54b24[_0x5813cd(0x182)](/\s+/):[];}['_resolveFilePath'](_0xb5ccb2){const _0x152cd4=a17_0x29e003,_0x33fdcd={};_0x33fdcd[_0x152cd4(0x1e8)]=function(_0x340ebc,_0x3a100f){return _0x340ebc===_0x3a100f;},_0x33fdcd[_0x152cd4(0x1ac)]=function(_0x3c2867,_0x2377eb){return _0x3c2867+_0x2377eb;},_0x33fdcd['RiazT']=function(_0x1e4c2b,_0x305061){return _0x1e4c2b>_0x305061;};const _0x30938b=_0x33fdcd;if(_0xb5ccb2&&_0xb5ccb2['filename'])return _0xb5ccb2[_0x152cd4(0x18a)];if(_0xb5ccb2&&_0xb5ccb2[_0x152cd4(0x1a1)]){if(this[_0x152cd4(0x194)][_0xb5ccb2['fullName']])return this['_fileNameByFullName'][_0xb5ccb2[_0x152cd4(0x1a1)]];let _0x5eefb0=null,_0x5dafad=-0x1;for(const _0x186938 of Object['keys'](this[_0x152cd4(0x194)])){(_0x30938b[_0x152cd4(0x1e8)](_0xb5ccb2['fullName'],_0x186938)||_0xb5ccb2[_0x152cd4(0x1a1)][_0x152cd4(0x16c)](_0x30938b[_0x152cd4(0x1ac)](_0x186938,'\x20')))&&_0x30938b[_0x152cd4(0x19c)](_0x186938[_0x152cd4(0x19b)],_0x5dafad)&&(_0x5eefb0=this[_0x152cd4(0x194)][_0x186938],_0x5dafad=_0x186938[_0x152cd4(0x19b)]);}if(_0x5eefb0)return _0x5eefb0;}return null;}[a17_0x29e003(0x1ea)](_0x22b304){const _0x4ca4da=a17_0x29e003,_0x1e5f44={};_0x1e5f44[_0x4ca4da(0x186)]=function(_0x5d0733,_0x46f0b2){return _0x5d0733===_0x46f0b2;},_0x1e5f44[_0x4ca4da(0x1ae)]=_0x4ca4da(0x180);const _0x5179f9=_0x1e5f44;if(!Array[_0x4ca4da(0x1c8)](_0x22b304)||_0x5179f9[_0x4ca4da(0x186)](_0x22b304[_0x4ca4da(0x19b)],0x0))return undefined;const _0x105c60=[],_0x55b6c4=[];for(const _0x17a83f of _0x22b304){_0x17a83f&&_0x17a83f[_0x4ca4da(0x1e7)]&&_0x105c60[_0x4ca4da(0x177)](_0x17a83f[_0x4ca4da(0x1e7)]),_0x17a83f&&_0x17a83f[_0x4ca4da(0x1a4)]&&_0x55b6c4[_0x4ca4da(0x177)](_0x17a83f[_0x4ca4da(0x1a4)]);}const _0x2744ed=_0x22b304[0x0]||{},_0x5196b1=_0x105c60[_0x4ca4da(0x1dd)]('\x0a')||_0x2744ed['message']||_0x5179f9[_0x4ca4da(0x1ae)],_0x58a642=_0x55b6c4[_0x4ca4da(0x1dd)]('\x0a\x0a')||_0x2744ed['stack']||_0x5196b1,_0xb1baea={};return _0xb1baea[_0x4ca4da(0x1e7)]=_0x5196b1,_0xb1baea[_0x4ca4da(0x1a4)]=_0x58a642,_0xb1baea[_0x4ca4da(0x1a9)]=_0x2744ed[_0x4ca4da(0x1a9)],_0xb1baea[_0x4ca4da(0x173)]=_0x2744ed[_0x4ca4da(0x173)],_0xb1baea[_0x4ca4da(0x1e0)]=_0x2744ed[_0x4ca4da(0x1e0)],_0xb1baea;}[a17_0x29e003(0x1b4)](_0x590908){const _0x3cd894=a17_0x29e003,_0x506271={};_0x506271['NTOsi']=function(_0x50cb02,_0x1dcccf){return _0x50cb02===_0x1dcccf;},_0x506271[_0x3cd894(0x1e5)]=_0x3cd894(0x19d),_0x506271[_0x3cd894(0x183)]=_0x3cd894(0x1c1);const _0x26c2ca=_0x506271,_0x4b0ec6=path['sep'];if(_0x26c2ca[_0x3cd894(0x185)](_0x590908,null)||_0x26c2ca[_0x3cd894(0x185)](_0x590908,'')||_0x26c2ca[_0x3cd894(0x185)](_0x590908,_0x4b0ec6)||_0x26c2ca[_0x3cd894(0x185)](_0x590908,path[_0x3cd894(0x1d4)](_0x590908)))return null;try{return fs['statSync'](path[_0x3cd894(0x1dd)](_0x590908,_0x26c2ca['IXOId'],_0x26c2ca['ZxpTj'])),_0x590908;}catch(_0x2a1520){return this[_0x3cd894(0x1b4)](path[_0x3cd894(0x1d4)](_0x590908));}}}module[a17_0x29e003(0x1f6)]=BrowserStackJasmineReporter;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a18_0x1d22(){const _0x1c3c81=['parseFileNames','6beFrts','platformIndex','Running\x20your\x20Jasmine\x20tests\x20across\x20','existsSync','string','isBrowserstackInfra','LZHSc','Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20','getPackageVersion','MrjKr','iWPow','utf8','../../helpers/test-observability/utils','olxTS','Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20','debug',';\x20proceeding\x20without\x20injection','RXRXd','winstonLogger','capability','mdTPo','eoJsK','uHVtV','platforms','env','../../helpers/helper','trim','JASMINE','2358480UngpGC','uWDpA','finalExecution','10190484nQMdqh','getPlatformName','TUuJM','MOHFp','exports','\x20:\x20','isArray','FEKNW','\x20platform(s),\x20parallelsPerPlatform=','exitCode','specArgs','glob','UYmyH','getHubUrl','FHknw','Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20','Bacjb','error','**/*[sS]pec.?(m)js','314349zkmZjT','BROWSERSTACK_TEST_OBSERVABILITY_YML','test.setup.js','parallelsPerPlatform','util','filter','Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20','VDdqU','shouldReRunObservabilityTests','posix','binSessionId','parse','../../helpers/testhub/testhubHandler','eKwfb','useW3C','spec','ESswU','RamGb','Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20','FVhjP','accessibilityOptions','fsaoc','BROWSERSTACK_JASMINE_PARALLELS','startsWith','10pszXLZ','win32','EOIdk','../v2/browserstackCLI','FRAMEWORKS','BROWSERSTACK_RERUN_TESTS','Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27','../../helpers/performance/constants','UahMl','../../helpers/utilities','199017ZthPpy','EVENTS','../utils/constants','slice','[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20','start','inherit','../../helpers/test-observability/constants','TaEBc','sMfcx','spec_dir','635VSXQAF','initialize','Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20','info','length','mBxuH','SDK_CLEANUP','getMultiDriverWorkerConfig','npx','format','Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20','LrXnO','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','SDK_SETUP','../../helpers/playwright-helper','getInstance','gQHVc','../../helpers/logger','PWPmy','jasmine\x20child\x20(platformIndex=','4036gPGBmc','QnakN','push','testObservability','nphYz','qElxH','418812WcpkpH','../../helpers/puppeteer-helper','close','wxreA','resolve','maxWorkers','__isPuppeteerInstalled','QfBcQ','assign','cwd','true','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','stringify','spec/support/jasmine.json','spec_files','\x27\x20:\x20',')\x20:\x20','config','yxMiH','SWKKL','from','cwrbT','child_process','../../helpers/performance/performance-tester','ihHrd','all','336801nqGpeg','path','printBuildLink','Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20','AwdOL','p-limit','yVgvQ','AgDiN','end','JASMINE_CONFIG_PATH','platform','ARGoJ','wrChu',',\x20specs=','handleApp','ZpJSQ','map','join'];a18_0x1d22=function(){return _0x1c3c81;};return a18_0x1d22();}function a18_0xaf8a(_0x396a6b,_0x5eb097){const _0x1d2229=a18_0x1d22();return a18_0xaf8a=function(_0xaf8a9c,_0x584e7e){_0xaf8a9c=_0xaf8a9c-0xe1;let _0x4204e4=_0x1d2229[_0xaf8a9c];return _0x4204e4;},a18_0xaf8a(_0x396a6b,_0x5eb097);}const a18_0x333131=a18_0xaf8a;(function(_0x430e44,_0x129ad7){const _0x5c21bb=a18_0xaf8a,_0x207267=_0x430e44();while(!![]){try{const _0x424067=-parseInt(_0x5c21bb(0x108))/0x1+-parseInt(_0x5c21bb(0x11b))/0x2*(parseInt(_0x5c21bb(0x14d))/0x3)+parseInt(_0x5c21bb(0xe8))/0x4*(parseInt(_0x5c21bb(0x17a))/0x5)+-parseInt(_0x5c21bb(0xee))/0x6+-parseInt(_0x5c21bb(0x16f))/0x7+-parseInt(_0x5c21bb(0x137))/0x8+-parseInt(_0x5c21bb(0x13a))/0x9*(-parseInt(_0x5c21bb(0x165))/0xa);if(_0x424067===_0x129ad7)break;else _0x207267['push'](_0x207267['shift']());}catch(_0x478d87){_0x207267['push'](_0x207267['shift']());}}}(a18_0x1d22,0x34ca2));const fs=require('fs'),path=require(a18_0x333131(0x109)),util=require(a18_0x333131(0x151)),{spawn}=require(a18_0x333131(0x104)),glob=require(a18_0x333131(0x145)),pLimit=require(a18_0x333131(0x10d)),logger=require(a18_0x333131(0xe5))[a18_0x333131(0x12d)],helper=require(a18_0x333131(0x134)),utilities=require(a18_0x333131(0x16e)),constants=require(a18_0x333131(0x171)),TestHubHandler=require(a18_0x333131(0x159)),testOpsHelper=require(a18_0x333131(0x127)),{debug}=require(a18_0x333131(0x127)),{FRAMEWORKS}=require(a18_0x333131(0x176)),PerformanceTester=require(a18_0x333131(0x105)),PerformanceEvents=require(a18_0x333131(0x16c))[a18_0x333131(0x170)],BrowserstackCLI=require(a18_0x333131(0x168)),{checkPwandBootstrapCli}=require(a18_0x333131(0xe2)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a18_0x333131(0xef)),getMaxWorkers=(_0x203c31,_0x3b2f2c)=>{const _0x5cf663=a18_0x333131,_0x12c81f={'mBxuH':function(_0x402ee7,_0x1c216d){return _0x402ee7(_0x1c216d);}};let _0x267aa1=0x1;if(!helper['isUndefined'](_0x3b2f2c[_0x5cf663(0x150)]))_0x267aa1=_0x12c81f[_0x5cf663(0x17f)](parseInt,_0x3b2f2c[_0x5cf663(0x150)]);else!helper['isUndefined'](_0x203c31[_0x5cf663(0xf3)])&&(_0x267aa1=_0x203c31[_0x5cf663(0xf3)]);return _0x267aa1;},resolveJasmineConfigPath=()=>{const _0x361333=a18_0x333131,_0x4f5ad4={};_0x4f5ad4[_0x361333(0xf1)]=_0x361333(0xfb);const _0x48a0d8=_0x4f5ad4,_0x134365=[];process['env'][_0x361333(0x111)]&&_0x134365[_0x361333(0xea)](path['resolve'](process[_0x361333(0xf7)](),process[_0x361333(0x133)][_0x361333(0x111)]));_0x134365[_0x361333(0xea)](path['resolve'](process[_0x361333(0xf7)](),_0x48a0d8[_0x361333(0xf1)]));for(const _0xb01449 of _0x134365){try{if(fs['existsSync'](_0xb01449))return _0xb01449;}catch(_0x2c98e9){}}return null;},enumerateSpecFiles=_0x1f9363=>{const _0x345b67=a18_0x333131,_0x4d86e0={'UYmyH':function(_0x120231,_0x3b42e8){return _0x120231(_0x3b42e8);},'uWDpA':function(_0x4917c4,_0x28d4fd){return _0x4917c4>_0x28d4fd;},'VDdqU':function(_0x52a0b9,_0x58acb3){return _0x52a0b9<_0x58acb3;},'LZHSc':function(_0x442e88,_0x1b580f){return _0x442e88===_0x1b580f;},'TUuJM':_0x345b67(0x11f),'MrjKr':function(_0x27e090,_0x32427f){return _0x27e090>_0x32427f;},'qElxH':function(_0x528b06,_0x3a0ec7,_0x57f653){return _0x528b06(_0x3a0ec7,_0x57f653);},'sMfcx':function(_0x408392){return _0x408392();},'iWPow':_0x345b67(0x126),'LrXnO':_0x345b67(0x15c),'cwrbT':function(_0x19ca35,_0x3a7474){return _0x19ca35>_0x3a7474;},'AwdOL':_0x345b67(0x14c),'ESswU':function(_0x24c670,_0x43fc62,_0x3bb351){return _0x24c670(_0x43fc62,_0x3bb351);}};try{if(testOpsHelper[_0x345b67(0x155)]()){const _0x4c86c6=testOpsHelper[_0x345b67(0x11a)](process[_0x345b67(0x133)][_0x345b67(0x16a)]);if(Array[_0x345b67(0x140)](_0x4c86c6)&&_0x4d86e0[_0x345b67(0x138)](_0x4c86c6[_0x345b67(0x17e)],0x0))return _0x4c86c6[_0x345b67(0x118)](_0x7882e4=>path['resolve'](process[_0x345b67(0xf7)](),_0x7882e4[_0x345b67(0x135)]()))[_0x345b67(0x152)](Boolean);}}catch(_0x491919){_0x4d86e0[_0x345b67(0x146)](debug,'Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20'+util[_0x345b67(0x183)](_0x491919));}const _0x2e2d75=[];try{for(let _0x2eaf74=0x1;_0x4d86e0[_0x345b67(0x154)](_0x2eaf74,_0x1f9363[_0x345b67(0x17e)]);_0x2eaf74++){const _0x3d35b2=_0x1f9363[_0x2eaf74];_0x4d86e0[_0x345b67(0x121)](typeof _0x3d35b2,_0x4d86e0[_0x345b67(0x13c)])&&!_0x3d35b2[_0x345b67(0x164)]('-')&&_0x2e2d75[_0x345b67(0xea)](_0x3d35b2);}}catch(_0x789215){}const _0x4ba2e8={'cwd':process['cwd'](),'absolute':!![],'nodir':!![]},_0x5cd436=(_0x1632a,_0x222c91)=>{const _0x5c7dd0=_0x345b67,_0x25bc13=[];for(const _0x112dff of _0x1632a){try{const _0xdc2f30=_0x222c91?path[_0x5c7dd0(0x156)]['join'](_0x222c91,_0x112dff):_0x112dff,_0x34d7fe=glob['globSync'](_0xdc2f30,_0x4ba2e8);Array[_0x5c7dd0(0x140)](_0x34d7fe)&&_0x25bc13[_0x5c7dd0(0xea)](..._0x34d7fe);}catch(_0x4ee08d){_0x4d86e0[_0x5c7dd0(0x146)](debug,_0x5c7dd0(0x16b)+_0x112dff+_0x5c7dd0(0xfd)+util['format'](_0x4ee08d));}}return _0x25bc13;};if(_0x4d86e0['MrjKr'](_0x2e2d75['length'],0x0)){const _0x894f8c=_0x4d86e0[_0x345b67(0xed)](_0x5cd436,_0x2e2d75,null);if(_0x4d86e0[_0x345b67(0x124)](_0x894f8c[_0x345b67(0x17e)],0x0))return Array[_0x345b67(0x102)](new Set(_0x894f8c));return _0x2e2d75[_0x345b67(0x118)](_0x370f6c=>path[_0x345b67(0xf2)](process[_0x345b67(0xf7)](),_0x370f6c));}try{const _0x4fecc6=_0x4d86e0[_0x345b67(0x178)](resolveJasmineConfigPath);if(_0x4fecc6){const _0x1c239d=JSON[_0x345b67(0x158)](fs['readFileSync'](_0x4fecc6,_0x4d86e0[_0x345b67(0x125)])),_0x1b79f6=_0x1c239d[_0x345b67(0x179)]||_0x4d86e0[_0x345b67(0x185)],_0x171ae8=Array[_0x345b67(0x140)](_0x1c239d[_0x345b67(0xfc)])&&_0x4d86e0['cwrbT'](_0x1c239d[_0x345b67(0xfc)][_0x345b67(0x17e)],0x0)?_0x1c239d[_0x345b67(0xfc)]:[_0x4d86e0[_0x345b67(0x10c)]],_0x302e19=_0x4d86e0[_0x345b67(0x15d)](_0x5cd436,_0x171ae8,_0x1b79f6);if(_0x4d86e0[_0x345b67(0x103)](_0x302e19['length'],0x0))return Array[_0x345b67(0x102)](new Set(_0x302e19));}}catch(_0x347154){_0x4d86e0[_0x345b67(0x146)](debug,_0x345b67(0x129)+util[_0x345b67(0x183)](_0x347154));}return null;};async function run(_0x480cd8,_0x1914df,_0x4ed903){const _0x1b23b4=a18_0x333131,_0x141bd1={'QnakN':function(_0x5403cf,_0x6215fc){return _0x5403cf>_0x6215fc;},'gQHVc':_0x1b23b4(0x107),'FEKNW':function(_0x317546,_0x2b8e7f){return _0x317546(_0x2b8e7f);},'yxMiH':function(_0x35adfe,_0x3f73c5){return _0x35adfe||_0x3f73c5;},'EOIdk':function(_0x47aa41,_0x300036){return _0x47aa41(_0x300036);},'eoJsK':function(_0x227db5,_0x339948){return _0x227db5(_0x339948);},'QfBcQ':function(_0x4e6df2,_0xd02701){return _0x4e6df2>_0xd02701;},'sKzri':function(_0xdbed7b,_0x1961ab,_0x54f5af,_0xe60f6d){return _0xdbed7b(_0x1961ab,_0x54f5af,_0xe60f6d);},'laKuE':_0x1b23b4(0x182),'uHVtV':'jasmine','qBCcg':function(_0x4de54a,_0x34f41b){return _0x4de54a===_0x34f41b;},'FHknw':_0x1b23b4(0x166),'SWKKL':_0x1b23b4(0x175),'ARGoJ':_0x1b23b4(0xf0),'PWPmy':_0x1b23b4(0x14b),'eKwfb':'@playwright/test','Bacjb':function(_0x5cf1b4){return _0x5cf1b4();},'olxTS':function(_0x4a73c5,_0x122c1d,_0x74ea51,_0x443d93){return _0x4a73c5(_0x122c1d,_0x74ea51,_0x443d93);},'nphYz':function(_0x3691af,_0x3a4139){return _0x3691af!=_0x3a4139;},'fsaoc':_0x1b23b4(0xf8),'wrChu':function(_0x55513e,_0xc94912){return _0x55513e(_0xc94912);},'UahMl':function(_0x58ee28,_0x416824){return _0x58ee28(_0x416824);},'xNCKp':function(_0x2aa187,_0x2cffad){return _0x2aa187(_0x2cffad);},'TaEBc':function(_0x51028c,_0x18d02b){return _0x51028c(_0x18d02b);},'RamGb':function(_0xf68cdb,_0x1e1664,_0x6c56d1){return _0xf68cdb(_0x1e1664,_0x6c56d1);},'yVgvQ':function(_0x4efc63,_0x19b54f){return _0x4efc63*_0x19b54f;},'MOHFp':function(_0x7a8844,_0x22b6b1){return _0x7a8844(_0x22b6b1);},'AgDiN':_0x1b23b4(0x14f),'mdTPo':function(_0xebeb79,_0xbcfeff){return _0xebeb79(_0xbcfeff);},'RXRXd':function(_0x3267e9,_0x175273){return _0x3267e9(_0x175273);},'ZpJSQ':function(_0xbfad73,_0x499ed7){return _0xbfad73(_0x499ed7);},'FVhjP':function(_0xea3af0,_0x49576c){return _0xea3af0<_0x49576c;},'ivBvr':function(_0x1831fa,_0xb484f8){return _0x1831fa>_0xb484f8;},'zWMzF':function(_0x30edc9,_0x13c6cd){return _0x30edc9>_0x13c6cd;},'ihHrd':function(_0x3cd032,_0x7db874){return _0x3cd032(_0x7db874);}},_0x1e7592=helper[_0x1b23b4(0x123)](_0x141bd1[_0x1b23b4(0x15a)]);global['__isPlaywrightInstalled']=!!_0x1e7592;const _0x557602=_0x141bd1[_0x1b23b4(0x14a)](getPuppeteerVersion);global[_0x1b23b4(0xf4)]=!!_0x557602;helper[_0x1b23b4(0x120)]()&&(await _0x4ed903[_0x1b23b4(0x17b)](_0x480cd8),await helper[_0x1b23b4(0x116)](_0x4ed903[_0x1b23b4(0xff)]));if(_0x1e7592)await _0x141bd1['sKzri'](checkPwandBootstrapCli,_0x1e7592,constants[_0x1b23b4(0x169)]['JASMINE'],_0x4ed903);else _0x557602&&await _0x141bd1[_0x1b23b4(0x128)](checkPuppeteerAndBootstrapCli,_0x557602,constants['FRAMEWORKS'][_0x1b23b4(0x136)],_0x4ed903);if(!_0x4ed903[_0x1b23b4(0xff)])return;_0x141bd1[_0x1b23b4(0xec)](_0x4ed903[_0x1b23b4(0xff)][_0x1b23b4(0xeb)],null)?process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x4ed903[_0x1b23b4(0xff)]['testObservability']:process['env'][_0x1b23b4(0x14e)]=_0x141bd1[_0x1b23b4(0x162)];!helper['isUndefined'](_0x4ed903[_0x1b23b4(0xff)]['accessibilityOptions'])&&(process['env'][_0x1b23b4(0x186)]=JSON[_0x1b23b4(0xfa)](_0x4ed903[_0x1b23b4(0xff)][_0x1b23b4(0x161)]));try{await TestHubHandler['launchBuild'](FRAMEWORKS[_0x1b23b4(0x136)],_0x4ed903);}catch(_0x2b2e0b){logger[_0x1b23b4(0x14b)](_0x1b23b4(0x173)+util['format'](_0x2b2e0b)),_0x141bd1[_0x1b23b4(0x114)](debug,_0x1b23b4(0x149)+util['format'](_0x2b2e0b));}let _0x18c8f7=![],_0x5d9a52=[];try{_0x18c8f7=helper[_0x1b23b4(0x15b)](_0x4ed903[_0x1b23b4(0xff)]),_0x5d9a52=helper['prepareCapabilities'](_0x4ed903[_0x1b23b4(0xff)],_0x18c8f7,constants[_0x1b23b4(0x169)][_0x1b23b4(0x136)]),process[_0x1b23b4(0x133)]['BROWSERSTACK_CAPABILITIES']=JSON[_0x1b23b4(0xfa)](_0x5d9a52);}catch(_0x578c55){_0x141bd1[_0x1b23b4(0x16d)](debug,_0x1b23b4(0x15f)+util[_0x1b23b4(0x183)](_0x578c55));}let _0xb80f1b=null,_0xb359bd=![];try{_0xb80f1b=helper[_0x1b23b4(0x147)](_0x4ed903[_0x1b23b4(0xff)]),_0xb359bd=helper['validPlatformsPresent'](_0x4ed903['config']);}catch(_0x242460){_0x141bd1['xNCKp'](debug,_0x1b23b4(0x10b)+util[_0x1b23b4(0x183)](_0x242460));}let _0x5455b2={};try{_0x5455b2=helper[_0x1b23b4(0x181)](_0x4ed903[_0x1b23b4(0xff)],_0x18c8f7,constants[_0x1b23b4(0x169)][_0x1b23b4(0x136)]);}catch(_0x120432){_0x141bd1[_0x1b23b4(0x177)](debug,'Exception\x20preparing\x20Jasmine\x20multi-driver\x20config;\x20spawning\x20children\x20single-driver\x20:\x20'+util[_0x1b23b4(0x183)](_0x120432));}const _0x1740bc=_0x19899c=>{const _0x251368=_0x1b23b4,_0x2cdfb7=Array[_0x251368(0x140)](_0x5d9a52)&&_0x141bd1['QnakN'](_0x5d9a52[_0x251368(0x17e)],_0x19899c)?_0x5d9a52[_0x19899c]:Array[_0x251368(0x140)](_0x5d9a52)&&_0x141bd1[_0x251368(0xe9)](_0x5d9a52[_0x251368(0x17e)],0x0)?_0x5d9a52[0x0]:{};return Object[_0x251368(0xf6)]({'server':_0xb80f1b,'capability':_0x2cdfb7,'proxySettings':_0x4ed903[_0x251368(0xff)]['proxySettings'],'platform':helper[_0x251368(0x13b)](_0x2cdfb7),'browserStackLogLevel':_0x4ed903['config']['logLevel'],'platformIndex':_0x19899c,'framework':constants[_0x251368(0x169)][_0x251368(0x136)],'platformCaps':_0xb359bd?Object[_0x251368(0xf6)]({'index':_0x19899c},_0x4ed903[_0x251368(0xff)][_0x251368(0x132)][_0x19899c]):{'index':_0x19899c}},_0x5455b2);};let _0x223a02=0x1,_0x2f6973=0x1,_0x20467e=0x1;try{_0x223a02=_0x141bd1[_0x1b23b4(0x15e)](getMaxWorkers,_0x480cd8,_0x4ed903['config']),_0x2f6973=_0xb359bd?_0x4ed903['config'][_0x1b23b4(0x132)][_0x1b23b4(0x17e)]:0x1,_0x20467e=_0x141bd1[_0x1b23b4(0x10e)](_0x2f6973,_0x223a02),process[_0x1b23b4(0x133)][_0x1b23b4(0x163)]=_0x141bd1[_0x1b23b4(0x130)](String,_0x20467e);}catch(_0x46c374){_0x141bd1[_0x1b23b4(0x167)](debug,_0x1b23b4(0x153)+util[_0x1b23b4(0x183)](_0x46c374));}try{BrowserstackCLI[_0x1b23b4(0xe3)]()[_0x1b23b4(0x157)]&&(process[_0x1b23b4(0x133)]['BROWSERSTACK_CLI_BIN_SESSION_ID']=BrowserstackCLI['getInstance']()['binSessionId']);}catch(_0x4156fa){_0x141bd1['MOHFp'](debug,'Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20'+util['format'](_0x4156fa));}const _0x37f0b6=[];try{const _0xcda6cd=path[_0x1b23b4(0xf2)](__dirname,_0x141bd1[_0x1b23b4(0x10f)]);fs[_0x1b23b4(0x11e)](_0xcda6cd)?_0x37f0b6['push']('--helper='+_0xcda6cd):_0x141bd1[_0x1b23b4(0x12f)](debug,_0x1b23b4(0x184)+_0xcda6cd+_0x1b23b4(0x12b));}catch(_0x456487){_0x141bd1[_0x1b23b4(0x12c)](debug,_0x1b23b4(0x17c)+util[_0x1b23b4(0x183)](_0x456487));}const _0x465a37=_0x1914df[_0x1b23b4(0x172)](0x1),_0x21121b=_0x141bd1[_0x1b23b4(0x117)](enumerateSpecFiles,_0x1914df),_0x21fbae=[];for(let _0x4d4dfc=0x0;_0x141bd1[_0x1b23b4(0x160)](_0x4d4dfc,_0x2f6973);_0x4d4dfc++){if(_0x141bd1[_0x1b23b4(0xf5)](_0x223a02,0x1)&&Array[_0x1b23b4(0x140)](_0x21121b)&&_0x141bd1['ivBvr'](_0x21121b[_0x1b23b4(0x17e)],0x0))for(const _0x309225 of _0x21121b){const _0x23edda={};_0x23edda['platformIndex']=_0x4d4dfc,_0x23edda[_0x1b23b4(0x144)]=[_0x309225],_0x21fbae[_0x1b23b4(0xea)](_0x23edda);}else{const _0x4ddc60={};_0x4ddc60[_0x1b23b4(0x11c)]=_0x4d4dfc,_0x4ddc60[_0x1b23b4(0x144)]=_0x21121b,_0x21fbae[_0x1b23b4(0xea)](_0x4ddc60);}}logger[_0x1b23b4(0x17d)](_0x1b23b4(0x11d)+_0x2f6973+_0x1b23b4(0x142)+_0x223a02+'\x20('+_0x21fbae[_0x1b23b4(0x17e)]+'\x20work-item(s),\x20max\x20'+_0x20467e+'\x20concurrent)'),PerformanceTester[_0x1b23b4(0x110)](PerformanceEvents[_0x1b23b4(0xe1)]);const _0x3c1261=_0x24226e=>new Promise(_0x36ef52=>{const _0x1a0800=_0x1b23b4;let _0x38d8e2;try{const _0x2868fc=_0x141bd1[_0x1a0800(0x130)](_0x1740bc,_0x24226e[_0x1a0800(0x11c)]);_0x38d8e2=Object[_0x1a0800(0xf6)]({},process[_0x1a0800(0x133)],{'BROWSERSTACK_JASMINE_CONFIG':JSON[_0x1a0800(0xfa)](_0x2868fc),'BROWSERSTACK_CAPABILITIES':JSON[_0x1a0800(0xfa)]([_0x2868fc[_0x1a0800(0x12e)]]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0x14d1ab){_0x141bd1[_0x1a0800(0x167)](debug,_0x1a0800(0x122)+_0x24226e[_0x1a0800(0x11c)]+_0x1a0800(0x13f)+util['format'](_0x14d1ab)),_0x38d8e2=Object[_0x1a0800(0xf6)]({},process[_0x1a0800(0x133)]);}const _0x316cb9=Array[_0x1a0800(0x140)](_0x24226e['specArgs'])?_0x24226e[_0x1a0800(0x144)]:[],_0x12a77a=_0x141bd1[_0x1a0800(0xf5)](_0x316cb9[_0x1a0800(0x17e)],0x0)?_0x465a37[_0x1a0800(0x152)](_0x1df932=>typeof _0x1df932===_0x1a0800(0x11f)&&_0x1df932[_0x1a0800(0x164)]('-')):_0x465a37,_0x483cfa=[..._0x37f0b6,..._0x12a77a,..._0x316cb9];try{const _0x28ac95=_0x141bd1['sKzri'](spawn,_0x141bd1['laKuE'],[_0x141bd1[_0x1a0800(0x131)],..._0x483cfa],{'shell':_0x141bd1['qBCcg'](process[_0x1a0800(0x112)],_0x141bd1[_0x1a0800(0x148)]),'stdio':_0x141bd1[_0x1a0800(0x101)],'env':_0x38d8e2});_0x28ac95['on'](_0x141bd1[_0x1a0800(0x113)],_0x1c5f14=>{const _0x14d1fa=_0x1a0800;logger['debug'](_0x14d1fa(0xe7)+_0x24226e['platformIndex']+_0x14d1fa(0x115)+(_0x316cb9[_0x14d1fa(0x17e)]?_0x316cb9[_0x14d1fa(0x119)](','):_0x141bd1[_0x14d1fa(0xe4)])+')\x20exited\x20with\x20code\x20'+_0x1c5f14),_0x141bd1[_0x14d1fa(0x141)](_0x36ef52,_0x141bd1[_0x14d1fa(0x100)](_0x1c5f14,0x0));}),_0x28ac95['on'](_0x141bd1[_0x1a0800(0xe6)],_0x2106b0=>{const _0x2ffe1b=_0x1a0800;_0x141bd1['FEKNW'](debug,'Jasmine\x20child\x20spawn\x20error\x20(platformIndex='+_0x24226e[_0x2ffe1b(0x11c)]+_0x2ffe1b(0xfe)+util[_0x2ffe1b(0x183)](_0x2106b0)),_0x141bd1[_0x2ffe1b(0x167)](_0x36ef52,0x1);});}catch(_0x1a0274){_0x141bd1['eoJsK'](debug,'Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex='+_0x24226e[_0x1a0800(0x11c)]+')\x20:\x20'+util['format'](_0x1a0274)),_0x141bd1[_0x1a0800(0x130)](_0x36ef52,0x1);}}),_0x2faa77=_0x141bd1[_0x1b23b4(0x13d)](pLimit,_0x141bd1['zWMzF'](_0x20467e,0x0)?_0x20467e:0x1),_0x8824c6=await Promise['all'](_0x21fbae['map'](_0x2c3f26=>_0x2faa77(()=>_0x3c1261(_0x2c3f26))));PerformanceTester[_0x1b23b4(0x174)](PerformanceEvents[_0x1b23b4(0x180)]);const _0x358a56=_0x8824c6['find'](_0x2bc156=>_0x2bc156!==0x0)||0x0;process[_0x1b23b4(0x143)]=_0x358a56,logger[_0x1b23b4(0x12a)]('All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20'+_0x358a56);const _0xecc875=BrowserstackCLI['isCLIEnabled']();try{await TestHubHandler['stop'](),await BrowserstackCLI[_0x1b23b4(0xe3)]()['stop']();}catch(_0x10301){_0x141bd1[_0x1b23b4(0x106)](debug,_0x1b23b4(0xf9)+util[_0x1b23b4(0x183)](_0x10301));}testOpsHelper[_0x1b23b4(0x10a)](),await utilities[_0x1b23b4(0x139)](_0x4ed903,_0xecc875);}module[a18_0x333131(0x13e)]=run;
|
|
2
|
+
'use strict';const a18_0x1275bb=a18_0x5bd0;(function(_0x120a62,_0x5abac3){const _0x4966cc=a18_0x5bd0,_0x200f1c=_0x120a62();while(!![]){try{const _0x3933c0=parseInt(_0x4966cc(0x9c))/0x1*(parseInt(_0x4966cc(0xc2))/0x2)+-parseInt(_0x4966cc(0x85))/0x3+parseInt(_0x4966cc(0x8a))/0x4*(-parseInt(_0x4966cc(0x113))/0x5)+parseInt(_0x4966cc(0xdc))/0x6*(-parseInt(_0x4966cc(0xcf))/0x7)+-parseInt(_0x4966cc(0x10f))/0x8*(-parseInt(_0x4966cc(0xab))/0x9)+parseInt(_0x4966cc(0x101))/0xa*(parseInt(_0x4966cc(0x83))/0xb)+parseInt(_0x4966cc(0xd1))/0xc*(parseInt(_0x4966cc(0xdb))/0xd);if(_0x3933c0===_0x5abac3)break;else _0x200f1c['push'](_0x200f1c['shift']());}catch(_0x3e85ba){_0x200f1c['push'](_0x200f1c['shift']());}}}(a18_0x2c55,0xbb466));function a18_0x2c55(){const _0x385b87=['test.setup.js','lJUrD','spec_dir','ZkpJN','useW3C','\x20:\x20','yTfJQ','../../helpers/performance/performance-tester','688914bhhrQN','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','JqAwL','OZosA','uCODS','close','hDfMn','../../helpers/puppeteer-helper','isUndefined','p-limit','launchBuild','../../helpers/test-observability/constants','../../helpers/test-observability/utils','1057TLnbcW','globSync','2784HHxtkv','\x20concurrent)','Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex=','maxWorkers','cYnTz','iMdnD','stringify','trim','parse','info','2262iOITxV','55482CBdLyX','getHubUrl','glob','Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20','HbUzK','../v2/browserstackCLI','testObservability','Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27','start','child_process','from','join','getMultiDriverWorkerConfig','PrTiy','pTtBz','proxySettings','filter','env','printBuildLink','startsWith','NgEmu','__isPuppeteerInstalled','exitCode','platforms','Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20','all','getInstance','../../helpers/helper','inherit','zQzfU','Qefru','../utils/constants','kjfVs','map','KFXgr','find','getPlatformName','1770eRByIS','finalExecution','resolve','Jasmine\x20child\x20spawn\x20error\x20(platformIndex=','../../helpers/performance/constants','MeUeV','zZLRw',')\x20:\x20','RSkRQ','spec','isArray','existsSync','../../helpers/testhub/testhubHandler','NfuHL','96bzvGsJ','hddIp','BROWSERSTACK_CLI_BIN_SESSION_ID','Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20','17695IuvsYF','parallelsPerPlatform','parseFileNames','string','BROWSERSTACK_TEST_OBSERVABILITY_YML','TXWhR','length','npx','CiKzD','Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20','bIbam','exports','winstonLogger','--helper=','capability','isCLIEnabled','__isPlaywrightInstalled','XyEGa','jasmine','HAnad','FRAMEWORKS','XkNuM','Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20','aMsGR','Exception\x20preparing\x20Jasmine\x20multi-driver\x20config;\x20spawning\x20children\x20single-driver\x20:\x20','82236lYZaKc','accessibilityOptions','846921rJMRHc',')\x20exited\x20with\x20code\x20','\x27\x20:\x20','oFQil','JASMINE_CONFIG_PATH','316JcqnYG','specArgs','zPmoD','platformIndex','SDK_SETUP','Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20','BROWSERSTACK_CAPABILITIES','SDK_CLEANUP','binSessionId','utf8','error','HdlYN','handleApp','push','zltGV','EupTa','../../helpers/playwright-helper','cwd','3EJMThR','**/*[sS]pec.?(m)js','config','POWPe','prepareCapabilities','\x20platform(s),\x20parallelsPerPlatform=','JASMINE','spec_files','validPlatformsPresent','Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20','format','win32','uszKW','zSOcv','BROWSERSTACK_RERUN_TESTS','246204pfGKEX','ixHGg','VHtgO','spec/support/jasmine.json','ueLcB','stop','EVENTS','IzTGx','platform','Running\x20your\x20Jasmine\x20tests\x20across\x20','end','TkTmL','assign','[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20','yNAif'];a18_0x2c55=function(){return _0x385b87;};return a18_0x2c55();}function a18_0x5bd0(_0x1bbb26,_0x27193b){const _0x2c559b=a18_0x2c55();return a18_0x5bd0=function(_0x5bd081,_0x329a3f){_0x5bd081=_0x5bd081-0x6b;let _0x3bb353=_0x2c559b[_0x5bd081];return _0x3bb353;},a18_0x5bd0(_0x1bbb26,_0x27193b);}const fs=require('fs'),path=require('path'),util=require('util'),{spawn}=require(a18_0x1275bb(0xe5)),glob=require(a18_0x1275bb(0xde)),pLimit=require(a18_0x1275bb(0xcb)),logger=require('../../helpers/logger')[a18_0x1275bb(0x76)],helper=require(a18_0x1275bb(0xf7)),utilities=require('../../helpers/utilities'),constants=require(a18_0x1275bb(0xfb)),TestHubHandler=require(a18_0x1275bb(0x10d)),testOpsHelper=require(a18_0x1275bb(0xce)),{debug}=require(a18_0x1275bb(0xce)),{FRAMEWORKS}=require(a18_0x1275bb(0xcd)),PerformanceTester=require(a18_0x1275bb(0xc1)),PerformanceEvents=require(a18_0x1275bb(0x105))[a18_0x1275bb(0xb1)],BrowserstackCLI=require(a18_0x1275bb(0xe1)),{checkPwandBootstrapCli}=require(a18_0x1275bb(0x9a)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a18_0x1275bb(0xc9)),getMaxWorkers=(_0x3413f6,_0x166af0)=>{const _0x32dee7=a18_0x1275bb,_0x334321={'RSkRQ':function(_0x55b63a,_0x360bc8){return _0x55b63a(_0x360bc8);}};let _0x20b8b0=0x1;if(!helper[_0x32dee7(0xca)](_0x166af0[_0x32dee7(0x6b)]))_0x20b8b0=_0x334321[_0x32dee7(0x109)](parseInt,_0x166af0[_0x32dee7(0x6b)]);else!helper[_0x32dee7(0xca)](_0x3413f6['maxWorkers'])&&(_0x20b8b0=_0x3413f6[_0x32dee7(0xd4)]);return _0x20b8b0;},resolveJasmineConfigPath=()=>{const _0x4d1cb1=a18_0x1275bb,_0xb214ba={};_0xb214ba[_0x4d1cb1(0x6f)]=_0x4d1cb1(0xae);const _0x283eaa=_0xb214ba,_0x16d4b5=[];process[_0x4d1cb1(0xed)]['JASMINE_CONFIG_PATH']&&_0x16d4b5[_0x4d1cb1(0x97)](path[_0x4d1cb1(0x103)](process[_0x4d1cb1(0x9b)](),process['env'][_0x4d1cb1(0x89)]));_0x16d4b5[_0x4d1cb1(0x97)](path[_0x4d1cb1(0x103)](process['cwd'](),_0x283eaa[_0x4d1cb1(0x6f)]));for(const _0x4883aa of _0x16d4b5){try{if(fs[_0x4d1cb1(0x10c)](_0x4883aa))return _0x4883aa;}catch(_0x25d561){}}return null;},enumerateSpecFiles=_0x2ff4b9=>{const _0x382a21=a18_0x1275bb,_0x10b0fc={'oFQil':function(_0x3a18bc,_0x41afca){return _0x3a18bc(_0x41afca);},'HAnad':function(_0x3f9e,_0x58f1d1){return _0x3f9e>_0x58f1d1;},'NgEmu':function(_0x2b2577,_0x1bf1e9){return _0x2b2577(_0x1bf1e9);},'TkTmL':function(_0x55c098,_0x1f7b12){return _0x55c098<_0x1f7b12;},'PrTiy':function(_0x1fc52c,_0x5e5bd6){return _0x1fc52c===_0x5e5bd6;},'ObnEE':_0x382a21(0x6d),'ixHGg':function(_0x10aef8,_0x4b414d,_0x5e490b){return _0x10aef8(_0x4b414d,_0x5e490b);},'EupTa':function(_0x4947a2){return _0x4947a2();},'OZosA':_0x382a21(0x93),'uQhZj':_0x382a21(0x10a),'XkNuM':_0x382a21(0x9d),'IMrtc':function(_0x14fd50,_0x449d1c,_0x20af9e){return _0x14fd50(_0x449d1c,_0x20af9e);}};try{if(testOpsHelper['shouldReRunObservabilityTests']()){const _0x638f4=testOpsHelper[_0x382a21(0x6c)](process['env'][_0x382a21(0xaa)]);if(Array['isArray'](_0x638f4)&&_0x10b0fc[_0x382a21(0x7d)](_0x638f4[_0x382a21(0x70)],0x0))return _0x638f4[_0x382a21(0xfd)](_0x5f31b7=>path[_0x382a21(0x103)](process[_0x382a21(0x9b)](),_0x5f31b7[_0x382a21(0xd8)]()))[_0x382a21(0xec)](Boolean);}}catch(_0x9707ed){_0x10b0fc[_0x382a21(0xf0)](debug,_0x382a21(0xf4)+util[_0x382a21(0xa6)](_0x9707ed));}const _0x261637=[];try{for(let _0x47e940=0x1;_0x10b0fc[_0x382a21(0xb6)](_0x47e940,_0x2ff4b9[_0x382a21(0x70)]);_0x47e940++){const _0x260f4a=_0x2ff4b9[_0x47e940];_0x10b0fc[_0x382a21(0xe9)](typeof _0x260f4a,_0x10b0fc['ObnEE'])&&!_0x260f4a[_0x382a21(0xef)]('-')&&_0x261637[_0x382a21(0x97)](_0x260f4a);}}catch(_0x393cea){}const _0x2ab133={'cwd':process[_0x382a21(0x9b)](),'absolute':!![],'nodir':!![]},_0x3e2cdc=(_0x5732ef,_0x21e292)=>{const _0x572f99=_0x382a21,_0x10423c=[];for(const _0x283b0c of _0x5732ef){try{const _0x34095c=_0x21e292?path['posix'][_0x572f99(0xe7)](_0x21e292,_0x283b0c):_0x283b0c,_0x391489=glob[_0x572f99(0xd0)](_0x34095c,_0x2ab133);Array['isArray'](_0x391489)&&_0x10423c[_0x572f99(0x97)](..._0x391489);}catch(_0x4c804e){_0x10b0fc[_0x572f99(0x88)](debug,_0x572f99(0xe3)+_0x283b0c+_0x572f99(0x87)+util[_0x572f99(0xa6)](_0x4c804e));}}return _0x10423c;};if(_0x10b0fc[_0x382a21(0x7d)](_0x261637[_0x382a21(0x70)],0x0)){const _0x648d52=_0x10b0fc[_0x382a21(0xac)](_0x3e2cdc,_0x261637,null);if(_0x10b0fc[_0x382a21(0x7d)](_0x648d52['length'],0x0))return Array['from'](new Set(_0x648d52));return _0x261637[_0x382a21(0xfd)](_0x5d43b8=>path[_0x382a21(0x103)](process[_0x382a21(0x9b)](),_0x5d43b8));}try{const _0x43fd26=_0x10b0fc[_0x382a21(0x99)](resolveJasmineConfigPath);if(_0x43fd26){const _0x5f5aa8=JSON[_0x382a21(0xd9)](fs['readFileSync'](_0x43fd26,_0x10b0fc[_0x382a21(0xc5)])),_0x228264=_0x5f5aa8[_0x382a21(0xbc)]||_0x10b0fc['uQhZj'],_0x165985=Array[_0x382a21(0x10b)](_0x5f5aa8['spec_files'])&&_0x10b0fc[_0x382a21(0x7d)](_0x5f5aa8['spec_files']['length'],0x0)?_0x5f5aa8[_0x382a21(0xa3)]:[_0x10b0fc[_0x382a21(0x7f)]],_0x35adea=_0x10b0fc['IMrtc'](_0x3e2cdc,_0x165985,_0x228264);if(_0x10b0fc[_0x382a21(0x7d)](_0x35adea[_0x382a21(0x70)],0x0))return Array[_0x382a21(0xe6)](new Set(_0x35adea));}}catch(_0x36ff18){_0x10b0fc[_0x382a21(0x88)](debug,_0x382a21(0x8f)+util[_0x382a21(0xa6)](_0x36ff18));}return null;};async function run(_0x2047e2,_0x568512,_0x5b301f){const _0x5f01dc=a18_0x1275bb,_0x577e87={'iMdnD':function(_0x44ba81,_0x525cdb){return _0x44ba81>_0x525cdb;},'JqAwL':function(_0x4bd061,_0x219706){return _0x4bd061>_0x219706;},'POWPe':_0x5f01dc(0xf5),'Qefru':function(_0x1de122,_0x25e9c6){return _0x1de122(_0x25e9c6);},'yNAif':function(_0x221e7a,_0x3a54c3){return _0x221e7a||_0x3a54c3;},'cYnTz':function(_0x289c56,_0x23f89a){return _0x289c56(_0x23f89a);},'zQzfU':function(_0x758570,_0x3b1ab8){return _0x758570(_0x3b1ab8);},'IzTGx':function(_0x5ce2d7,_0x29d82a){return _0x5ce2d7>_0x29d82a;},'zZLRw':function(_0x507c94,_0x1f88b5,_0x42f595,_0x830d01){return _0x507c94(_0x1f88b5,_0x42f595,_0x830d01);},'zSOcv':_0x5f01dc(0x71),'kjfVs':_0x5f01dc(0x7c),'HbUzK':function(_0xe83e92,_0x5466ad){return _0xe83e92===_0x5466ad;},'zltGV':_0x5f01dc(0xa7),'AtMDP':_0x5f01dc(0xf8),'VHtgO':_0x5f01dc(0xc7),'lJUrD':_0x5f01dc(0x94),'hDfMn':function(_0x54fdaa,_0xfe0fbb){return _0x54fdaa(_0xfe0fbb);},'CiKzD':'@playwright/test','zPmoD':function(_0x28421d){return _0x28421d();},'bIbam':function(_0x3caa0d,_0x5ca3b8){return _0x3caa0d!=_0x5ca3b8;},'hddIp':'true','HdlYN':function(_0xfd121a,_0x370755){return _0xfd121a(_0x370755);},'ZkpJN':function(_0x2128ff,_0x18d87e){return _0x2128ff(_0x18d87e);},'uszKW':function(_0x2dc82c,_0x4bd09e,_0x37c01e){return _0x2dc82c(_0x4bd09e,_0x37c01e);},'yTfJQ':function(_0x4c6f59,_0x332e54){return _0x4c6f59*_0x332e54;},'NfuHL':function(_0x256ba2,_0x36e63e){return _0x256ba2(_0x36e63e);},'pTtBz':_0x5f01dc(0xba),'ueLcB':function(_0x6122ec,_0x5db616){return _0x6122ec(_0x5db616);},'XyEGa':function(_0x3c9c28,_0x444efb){return _0x3c9c28(_0x444efb);},'uCODS':function(_0x59c25b,_0x15625b){return _0x59c25b<_0x15625b;},'aMsGR':function(_0x4050f9,_0x4ef772){return _0x4050f9>_0x4ef772;},'KFXgr':function(_0x56abd4,_0x4056df){return _0x56abd4>_0x4056df;},'MeUeV':function(_0x36dad6,_0x25f849){return _0x36dad6>_0x25f849;}},_0x26145b=helper['getPackageVersion'](_0x577e87[_0x5f01dc(0x72)]);global[_0x5f01dc(0x7a)]=!!_0x26145b;const _0x5770be=_0x577e87[_0x5f01dc(0x8c)](getPuppeteerVersion);global[_0x5f01dc(0xf1)]=!!_0x5770be;helper['isBrowserstackInfra']()&&(await _0x5b301f['initialize'](_0x2047e2),await helper[_0x5f01dc(0x96)](_0x5b301f[_0x5f01dc(0x9e)]));if(_0x26145b)await _0x577e87[_0x5f01dc(0x107)](checkPwandBootstrapCli,_0x26145b,constants[_0x5f01dc(0x7e)][_0x5f01dc(0xa2)],_0x5b301f);else _0x5770be&&await _0x577e87[_0x5f01dc(0x107)](checkPuppeteerAndBootstrapCli,_0x5770be,constants[_0x5f01dc(0x7e)][_0x5f01dc(0xa2)],_0x5b301f);if(!_0x5b301f[_0x5f01dc(0x9e)])return;_0x577e87[_0x5f01dc(0x74)](_0x5b301f['config'][_0x5f01dc(0xe2)],null)?process[_0x5f01dc(0xed)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x5b301f[_0x5f01dc(0x9e)][_0x5f01dc(0xe2)]:process[_0x5f01dc(0xed)][_0x5f01dc(0x6e)]=_0x577e87[_0x5f01dc(0x110)];!helper['isUndefined'](_0x5b301f[_0x5f01dc(0x9e)][_0x5f01dc(0x84)])&&(process[_0x5f01dc(0xed)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x5b301f[_0x5f01dc(0x9e)][_0x5f01dc(0x84)]));try{await TestHubHandler[_0x5f01dc(0xcc)](FRAMEWORKS[_0x5f01dc(0xa2)],_0x5b301f);}catch(_0x249eda){logger[_0x5f01dc(0x94)](_0x5f01dc(0xb8)+util[_0x5f01dc(0xa6)](_0x249eda)),_0x577e87[_0x5f01dc(0xc8)](debug,_0x5f01dc(0x112)+util[_0x5f01dc(0xa6)](_0x249eda));}let _0x280aff=![],_0x56273b=[];try{_0x280aff=helper[_0x5f01dc(0xbe)](_0x5b301f[_0x5f01dc(0x9e)]),_0x56273b=helper[_0x5f01dc(0xa0)](_0x5b301f[_0x5f01dc(0x9e)],_0x280aff,constants[_0x5f01dc(0x7e)][_0x5f01dc(0xa2)]),process[_0x5f01dc(0xed)][_0x5f01dc(0x90)]=JSON[_0x5f01dc(0xd7)](_0x56273b);}catch(_0x3edd20){_0x577e87[_0x5f01dc(0x95)](debug,'Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20'+util['format'](_0x3edd20));}let _0x1733a3=null,_0x5c26ab=![];try{_0x1733a3=helper[_0x5f01dc(0xdd)](_0x5b301f[_0x5f01dc(0x9e)]),_0x5c26ab=helper[_0x5f01dc(0xa4)](_0x5b301f[_0x5f01dc(0x9e)]);}catch(_0x19761b){_0x577e87[_0x5f01dc(0xbd)](debug,_0x5f01dc(0xa5)+util[_0x5f01dc(0xa6)](_0x19761b));}let _0x694652={};try{_0x694652=helper[_0x5f01dc(0xe8)](_0x5b301f['config'],_0x280aff,constants[_0x5f01dc(0x7e)]['JASMINE']);}catch(_0x13d61c){_0x577e87[_0x5f01dc(0xfa)](debug,_0x5f01dc(0x82)+util[_0x5f01dc(0xa6)](_0x13d61c));}const _0x297e9e=_0x4ec67d=>{const _0x113da4=_0x5f01dc,_0x2a06e4=Array[_0x113da4(0x10b)](_0x56273b)&&_0x577e87[_0x113da4(0xd6)](_0x56273b[_0x113da4(0x70)],_0x4ec67d)?_0x56273b[_0x4ec67d]:Array[_0x113da4(0x10b)](_0x56273b)&&_0x577e87[_0x113da4(0xc4)](_0x56273b[_0x113da4(0x70)],0x0)?_0x56273b[0x0]:{};return Object[_0x113da4(0xb7)]({'server':_0x1733a3,'capability':_0x2a06e4,'proxySettings':_0x5b301f[_0x113da4(0x9e)][_0x113da4(0xeb)],'platform':helper[_0x113da4(0x100)](_0x2a06e4),'browserStackLogLevel':_0x5b301f[_0x113da4(0x9e)]['logLevel'],'platformIndex':_0x4ec67d,'framework':constants[_0x113da4(0x7e)][_0x113da4(0xa2)],'platformCaps':_0x5c26ab?Object[_0x113da4(0xb7)]({'index':_0x4ec67d},_0x5b301f[_0x113da4(0x9e)][_0x113da4(0xf3)][_0x4ec67d]):{'index':_0x4ec67d}},_0x694652);};let _0x863be2=0x1,_0x3f5cc5=0x1,_0x445bd7=0x1;try{_0x863be2=_0x577e87[_0x5f01dc(0xa8)](getMaxWorkers,_0x2047e2,_0x5b301f[_0x5f01dc(0x9e)]),_0x3f5cc5=_0x5c26ab?_0x5b301f[_0x5f01dc(0x9e)][_0x5f01dc(0xf3)][_0x5f01dc(0x70)]:0x1,_0x445bd7=_0x577e87[_0x5f01dc(0xc0)](_0x3f5cc5,_0x863be2),process[_0x5f01dc(0xed)]['BROWSERSTACK_JASMINE_PARALLELS']=_0x577e87[_0x5f01dc(0xc8)](String,_0x445bd7);}catch(_0x437932){_0x577e87[_0x5f01dc(0xc8)](debug,_0x5f01dc(0x80)+util[_0x5f01dc(0xa6)](_0x437932));}try{BrowserstackCLI['getInstance']()[_0x5f01dc(0x92)]&&(process['env'][_0x5f01dc(0x111)]=BrowserstackCLI[_0x5f01dc(0xf6)]()[_0x5f01dc(0x92)]);}catch(_0x2bf6c3){_0x577e87[_0x5f01dc(0x10e)](debug,_0x5f01dc(0x73)+util['format'](_0x2bf6c3));}const _0x4f8587=[];try{const _0x1dc626=path[_0x5f01dc(0x103)](__dirname,_0x577e87[_0x5f01dc(0xea)]);fs[_0x5f01dc(0x10c)](_0x1dc626)?_0x4f8587[_0x5f01dc(0x97)](_0x5f01dc(0x77)+_0x1dc626):_0x577e87[_0x5f01dc(0xaf)](debug,'Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20'+_0x1dc626+';\x20proceeding\x20without\x20injection');}catch(_0x52ec78){_0x577e87[_0x5f01dc(0xf9)](debug,'Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20'+util[_0x5f01dc(0xa6)](_0x52ec78));}const _0x586733=_0x568512['slice'](0x1),_0x359f51=_0x577e87[_0x5f01dc(0x7b)](enumerateSpecFiles,_0x568512),_0x509bc5=[];for(let _0x59823b=0x0;_0x577e87[_0x5f01dc(0xc6)](_0x59823b,_0x3f5cc5);_0x59823b++){if(_0x577e87[_0x5f01dc(0x81)](_0x863be2,0x1)&&Array[_0x5f01dc(0x10b)](_0x359f51)&&_0x577e87[_0x5f01dc(0xfe)](_0x359f51[_0x5f01dc(0x70)],0x0))for(const _0x4816ac of _0x359f51){const _0x58cf48={};_0x58cf48['platformIndex']=_0x59823b,_0x58cf48[_0x5f01dc(0x8b)]=[_0x4816ac],_0x509bc5[_0x5f01dc(0x97)](_0x58cf48);}else{const _0x1f3ec5={};_0x1f3ec5[_0x5f01dc(0x8d)]=_0x59823b,_0x1f3ec5[_0x5f01dc(0x8b)]=_0x359f51,_0x509bc5[_0x5f01dc(0x97)](_0x1f3ec5);}}logger[_0x5f01dc(0xda)](_0x5f01dc(0xb4)+_0x3f5cc5+_0x5f01dc(0xa1)+_0x863be2+'\x20('+_0x509bc5[_0x5f01dc(0x70)]+'\x20work-item(s),\x20max\x20'+_0x445bd7+_0x5f01dc(0xd2)),PerformanceTester[_0x5f01dc(0xb5)](PerformanceEvents[_0x5f01dc(0x8e)]);const _0x1838d8=_0x28d7b5=>new Promise(_0x4e01e9=>{const _0x2b9a25=_0x5f01dc;let _0x57dca0;try{const _0x46e078=_0x577e87[_0x2b9a25(0xd5)](_0x297e9e,_0x28d7b5['platformIndex']);_0x57dca0=Object[_0x2b9a25(0xb7)]({},process[_0x2b9a25(0xed)],{'BROWSERSTACK_JASMINE_CONFIG':JSON[_0x2b9a25(0xd7)](_0x46e078),'BROWSERSTACK_CAPABILITIES':JSON[_0x2b9a25(0xd7)]([_0x46e078[_0x2b9a25(0x78)]]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0x4d1ae4){_0x577e87[_0x2b9a25(0xf9)](debug,_0x2b9a25(0xdf)+_0x28d7b5[_0x2b9a25(0x8d)]+_0x2b9a25(0xbf)+util['format'](_0x4d1ae4)),_0x57dca0=Object[_0x2b9a25(0xb7)]({},process[_0x2b9a25(0xed)]);}const _0x21e5c4=Array[_0x2b9a25(0x10b)](_0x28d7b5[_0x2b9a25(0x8b)])?_0x28d7b5[_0x2b9a25(0x8b)]:[],_0x151391=_0x577e87[_0x2b9a25(0xb2)](_0x21e5c4['length'],0x0)?_0x586733[_0x2b9a25(0xec)](_0x48ef2b=>typeof _0x48ef2b===_0x2b9a25(0x6d)&&_0x48ef2b[_0x2b9a25(0xef)]('-')):_0x586733,_0x416e78=[..._0x4f8587,..._0x151391,..._0x21e5c4];try{const _0x14154d=_0x577e87[_0x2b9a25(0x107)](spawn,_0x577e87[_0x2b9a25(0xa9)],[_0x577e87[_0x2b9a25(0xfc)],..._0x416e78],{'shell':_0x577e87[_0x2b9a25(0xe0)](process[_0x2b9a25(0xb3)],_0x577e87[_0x2b9a25(0x98)]),'stdio':_0x577e87['AtMDP'],'env':_0x57dca0});_0x14154d['on'](_0x577e87[_0x2b9a25(0xad)],_0x4ded57=>{const _0x2c464f=_0x2b9a25;logger['debug']('jasmine\x20child\x20(platformIndex='+_0x28d7b5['platformIndex']+',\x20specs='+(_0x21e5c4[_0x2c464f(0x70)]?_0x21e5c4['join'](','):_0x577e87[_0x2c464f(0x9f)])+_0x2c464f(0x86)+_0x4ded57),_0x577e87['Qefru'](_0x4e01e9,_0x577e87[_0x2c464f(0xb9)](_0x4ded57,0x0));}),_0x14154d['on'](_0x577e87[_0x2b9a25(0xbb)],_0x2fdd43=>{const _0x3b1fc7=_0x2b9a25;_0x577e87[_0x3b1fc7(0xd5)](debug,_0x3b1fc7(0x104)+_0x28d7b5['platformIndex']+')\x20:\x20'+util[_0x3b1fc7(0xa6)](_0x2fdd43)),_0x577e87[_0x3b1fc7(0xfa)](_0x4e01e9,0x1);});}catch(_0x10010d){_0x577e87[_0x2b9a25(0xc8)](debug,_0x2b9a25(0xd3)+_0x28d7b5[_0x2b9a25(0x8d)]+_0x2b9a25(0x108)+util['format'](_0x10010d)),_0x577e87[_0x2b9a25(0xc8)](_0x4e01e9,0x1);}}),_0x20d7bb=_0x577e87['XyEGa'](pLimit,_0x577e87[_0x5f01dc(0x106)](_0x445bd7,0x0)?_0x445bd7:0x1),_0x4a3eff=await Promise[_0x5f01dc(0xf5)](_0x509bc5[_0x5f01dc(0xfd)](_0x10f58c=>_0x20d7bb(()=>_0x1838d8(_0x10f58c))));PerformanceTester[_0x5f01dc(0xe4)](PerformanceEvents[_0x5f01dc(0x91)]);const _0x5d23d1=_0x4a3eff[_0x5f01dc(0xff)](_0x170e25=>_0x170e25!==0x0)||0x0;process[_0x5f01dc(0xf2)]=_0x5d23d1,logger['debug']('All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20'+_0x5d23d1);const _0x237b9f=BrowserstackCLI[_0x5f01dc(0x79)]();try{await TestHubHandler[_0x5f01dc(0xb0)](),await BrowserstackCLI[_0x5f01dc(0xf6)]()[_0x5f01dc(0xb0)]();}catch(_0x2ac2fd){_0x577e87[_0x5f01dc(0xfa)](debug,_0x5f01dc(0xc3)+util[_0x5f01dc(0xa6)](_0x2ac2fd));}testOpsHelper[_0x5f01dc(0xee)](),await utilities[_0x5f01dc(0x102)](_0x5b301f,_0x237b9f);}module[a18_0x1275bb(0x75)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a19_0x1436da=a19_0x483a;(function(_0x2e72ba,_0x383eac){const _0x4dba05=a19_0x483a,_0xabb00e=_0x2e72ba();while(!![]){try{const _0x2be041=parseInt(_0x4dba05(0x176))/0x1+-parseInt(_0x4dba05(0x167))/0x2+parseInt(_0x4dba05(0x113))/0x3*(parseInt(_0x4dba05(0x16f))/0x4)+parseInt(_0x4dba05(0x13e))/0x5+-parseInt(_0x4dba05(0x136))/0x6*(parseInt(_0x4dba05(0x15a))/0x7)+parseInt(_0x4dba05(0x17c))/0x8+-parseInt(_0x4dba05(0x109))/0x9;if(_0x2be041===_0x383eac)break;else _0xabb00e['push'](_0xabb00e['shift']());}catch(_0x3a8e56){_0xabb00e['push'](_0xabb00e['shift']());}}}(a19_0x242e,0x99325));const util=require(a19_0x1436da(0x140)),logger=require('../../helpers/logger')[a19_0x1436da(0x171)],helper=require('../../helpers/helper'),globals=require(a19_0x1436da(0x183)),{shouldProcessEventForTesthub}=require(a19_0x1436da(0x117)),testHubConstants=require(a19_0x1436da(0x157)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a19_0x1436da(0x166)),accessibilityRetryHelper=require(a19_0x1436da(0x10e)),testRunMap=require(a19_0x1436da(0x14d));let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;function a19_0x242e(){const _0x1b44ff=['getEnv','lnXwp','is_mobile_session','saveAccessibilityResultsWithRetry','QaTVB','session_','559134CNcCsA','[jasmine\x20setup]\x20Exception\x20in\x20stale-driver\x20shift\x20check:\x20','__platformCaps','Passed','debug','../../helpers/accessibility-automation/accessibilityRetryHelper','split','getFileName','[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','skipSessionName','3Hlpybr','thBuildUuid','markSessionStatus','platformIndex','../../helpers/testhub/utils','[jasmine\x20setup]\x20Exception\x20in\x20final\x20driver\x20quit:\x20','EqSgE','\x22}}','[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20','exports','[jasmine\x20setup]\x20Exception\x20registering\x20afterAll\x20final\x20quit\x20hook:\x20','function','browserstackPlatformIndex','autoScanning','ezZBd','startsWith','DlGmy','BROWSERSTACK_JASMINE_CONFIG','pop','isMobilePlatform','sDzsm','format','[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20','addReporter','@playwright/test','join','BROWSERSTACK_TESTHUB_JWT','thJwtToken','PqdOP','eWxpQ','path','sessionNameSet__','[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','JUWKN','failed','90BPZjIt','keys','__skipSessionName','node:','sessionName','Failed:\x20','parse','env','4174715lnTnNs','eJxqp','util','describe','isTrue','IGurp','nPeOx','shift','ENV_VAR','xsWsq','hrpXk','setGlobal','bstackA11yScanOptions','bstackA11yShouldScan','dcNcv','./testRunMap','__skipSessionStatus','undefined','bin','EoRuh','WSVFs','ZpnKM','sep','push','[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20','../../helpers/testhub/constants','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20','NDODq','445837JdoPqC','browserstackSessionName','platformCaps','isArray','__drivers','pSISr','KnvRd','KpxAJ','thTestRunUuid','YrUWZ','forEach','[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20','../../helpers/accessibility-automation/helper','1944272LqtYJm','jasmine-core','[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter','browserstackAgentV2','[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20','[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','SpvKy','info','2448512ewVbEP','[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered','winstonLogger','[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','failedExpectations','BROWSERSTACK_TESTHUB_UUID','fileNameByFullName','386229SIzMGw','Spec\x20failed','get','initQuit','tjkmo','length','6270560cQyrxM','executeScript','BgWMk','prepareStackTrace','error','wpurE','message','../../helpers/globals','[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','stack','warn','SzgSr','isBrowserstackInfra','[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20','[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20','./bstack-reporter/customReporter','includes','niCzI','../../index','XvBgF','stringify'];a19_0x242e=function(){return _0x1b44ff;};return a19_0x242e();}try{const rawConfig=process[a19_0x1436da(0x13d)][a19_0x1436da(0x124)]||process['env']['CONFIG'];rawConfig!==undefined&&(_bstackConfig=JSON[a19_0x1436da(0x13c)](rawConfig));}catch(a19_0x50e0e3){logger['debug'](a19_0x1436da(0x11b)+util['format'](a19_0x50e0e3));}try{if(_bstackConfig&&!helper['getPackageVersion'](a19_0x1436da(0x12b))){const BuItKB='3|2|4|0|1'[a19_0x1436da(0x10f)]('|');let TioanC=0x0;while(!![]){switch(BuItKB[TioanC++]){case'0':global[a19_0x1436da(0x11f)]=_bstackConfig[a19_0x1436da(0x116)];continue;case'1':helper[a19_0x1436da(0xfa)]()?(global[a19_0x1436da(0x138)]=helper[a19_0x1436da(0x142)](_bstackConfig[a19_0x1436da(0x112)]),global[a19_0x1436da(0x14e)]=helper[a19_0x1436da(0x142)](_bstackConfig['skipSessionStatus'])):(global['__skipSessionName']=!![],global[a19_0x1436da(0x14e)]=!![]);continue;case'2':shouldProcessEventForTesthub()?require('../../index')[a19_0x1436da(0x16a)](_bstackConfig,null,!![]):require(a19_0x1436da(0x100))[a19_0x1436da(0x16a)](_bstackConfig);continue;case'3':logger[a19_0x1436da(0x10d)]('[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)');continue;case'4':global[a19_0x1436da(0x10b)]=_bstackConfig[a19_0x1436da(0x15c)]||{};continue;}break;}}}catch(a19_0x243928){logger[a19_0x1436da(0x10d)]('[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20'+util[a19_0x1436da(0x128)](a19_0x243928));}const _fileNameByFullName={};function a19_0x483a(_0x25a9dc,_0x3cfd89){const _0x242e42=a19_0x242e();return a19_0x483a=function(_0x483aad,_0x69a838){_0x483aad=_0x483aad-0xf8;let _0x3e4f73=_0x242e42[_0x483aad];return _0x3e4f73;},a19_0x483a(_0x25a9dc,_0x3cfd89);}try{if(typeof describe===a19_0x1436da(0x11e)&&typeof global!=='undefined'){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x2ed080=a19_0x1436da,_0x4c520c={'xsWsq':function(_0x2a0c6a,_0x4f1c1a){return _0x2a0c6a(_0x4f1c1a);},'lnXwp':_0x2ed080(0x131),'nPeOx':_0x2ed080(0x139),'KpxAJ':_0x2ed080(0x168)},_0x184cd8=Error['prepareStackTrace'];try{const _0x4cda5a=new Error();Error[_0x2ed080(0x17f)]=(_0x1dfa31,_0xc065a8)=>_0xc065a8;const _0x11e80c=_0x4cda5a[_0x2ed080(0x187)];Error[_0x2ed080(0x17f)]=_0x184cd8;if(Array[_0x2ed080(0x15d)](_0x11e80c))for(const _0xc7c970 of _0x11e80c){const _0xd4d768=_0xc7c970['getFileName']&&_0xc7c970[_0x2ed080(0x110)]();if(_0xd4d768&&!_0xd4d768['includes'](_0x2ed080(0x150)+_0x4c520c[_0x2ed080(0x147)](require,_0x4c520c[_0x2ed080(0x104)])[_0x2ed080(0x154)]+'jasmine'+_0x4c520c[_0x2ed080(0x147)](require,_0x4c520c[_0x2ed080(0x104)])[_0x2ed080(0x154)])&&!_0xd4d768[_0x2ed080(0x122)](_0x4c520c[_0x2ed080(0x144)])&&!_0xd4d768[_0x2ed080(0xfe)](_0x4c520c[_0x2ed080(0x161)]))return _0xd4d768;}}catch(_0x24d4ff){Error[_0x2ed080(0x17f)]=_0x184cd8;}return null;},_wrappedDescribe=function(_0x141940,_0x4a8901){const _0x3b7fcb=a19_0x1436da,_0x9239e7={'wpurE':function(_0x23ad6c){return _0x23ad6c();},'JUWKN':function(_0x2c7f4a,_0x4b2ae4){return _0x2c7f4a&&_0x4b2ae4;},'BgWMk':function(_0x74a633,_0x4b5164,_0x9c1ed1){return _0x74a633(_0x4b5164,_0x9c1ed1);}};let _0x586232=null;try{_0x586232=_0x9239e7[_0x3b7fcb(0x181)](_resolveCallerFile);}catch(_0x48d4c9){}_describeTitleStack[_0x3b7fcb(0x155)](_0x141940);const _0x685535=_describeTitleStack[_0x3b7fcb(0x12c)]('\x20');_0x9239e7[_0x3b7fcb(0x134)](_0x586232,_0x685535)&&(_fileNameByFullName[_0x685535]=_0x586232);try{return _0x9239e7[_0x3b7fcb(0x17e)](_origDescribe,_0x141940,_0x4a8901);}finally{_describeTitleStack[_0x3b7fcb(0x125)]();}};Object[a19_0x1436da(0x137)](_origDescribe)[a19_0x1436da(0x164)](_0x2df33c=>{_wrappedDescribe[_0x2df33c]=_origDescribe[_0x2df33c];}),global[a19_0x1436da(0x141)]=_wrappedDescribe;}}catch(a19_0x1b6fb2){logger[a19_0x1436da(0x10d)]('[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20'+util[a19_0x1436da(0x128)](a19_0x1b6fb2));}try{if(typeof jasmine!=='undefined'&&jasmine['getEnv']){const BrowserStackJasmineReporter=require(a19_0x1436da(0xfd)),a19_0x5173f3={};a19_0x5173f3[a19_0x1436da(0x175)]=_fileNameByFullName,jasmine[a19_0x1436da(0x103)]()[a19_0x1436da(0x12a)](new BrowserStackJasmineReporter(a19_0x5173f3)),logger[a19_0x1436da(0x10d)](a19_0x1436da(0x169));}else logger['debug'](a19_0x1436da(0x170));}catch(a19_0xd3844b){logger[a19_0x1436da(0x10d)](a19_0x1436da(0xfc)+util[a19_0x1436da(0x128)](a19_0xd3844b));}try{typeof jasmine!==a19_0x1436da(0x14f)&&jasmine['getEnv']&&jasmine[a19_0x1436da(0x103)]()['addReporter']({'specStarted'(_0x44108c){const _0x4daf88=a19_0x1436da,_0x3d4b16={};_0x3d4b16['ezZBd']=function(_0x3ac7ef,_0x31f756){return _0x3ac7ef||_0x31f756;};const _0x98e6c1=_0x3d4b16;_activeResultId=_0x44108c&&_0x44108c['id'],_activeFullName=_0x44108c&&_0x44108c['fullName'],_activeResultRef=_0x98e6c1[_0x4daf88(0x121)](_0x44108c,null);},'specDone'(){}});}catch(a19_0x6043dd){logger['debug']('[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20'+util[a19_0x1436da(0x128)](a19_0x6043dd));}const _resolveAutoScanning=()=>{const _0x5e5237=a19_0x1436da,_0x402aed={};_0x402aed[_0x5e5237(0x160)]=function(_0x4cbeaf,_0x44b4a6){return _0x4cbeaf===_0x44b4a6;};const _0x317a88=_0x402aed;let _0x50c389=!![];try{const _0xceb363=JSON[_0x5e5237(0x13c)](process[_0x5e5237(0x13d)][_0x5e5237(0x186)]||'{}');_0x317a88[_0x5e5237(0x160)](_0xceb363[_0x5e5237(0x120)],![])&&(_0x50c389=![]);}catch(_0x5e45c8){logger[_0x5e5237(0x10d)](_0x5e5237(0x16c)+_0x5e45c8['message']);}return _0x50c389;};try{typeof beforeEach==='function'&&beforeEach(function bstackA11yBeforeEach(){const _0x3e785d=a19_0x1436da,_0x1ec999={'sDzsm':function(_0x51a49b){return _0x51a49b();},'EqSgE':function(_0x480179,_0x51140e,_0x398a83){return _0x480179(_0x51140e,_0x398a83);},'IGurp':function(_0x314080,_0x2e4b48){return _0x314080&&_0x2e4b48;},'eJxqp':_0x3e785d(0x14b),'SpvKy':_0x3e785d(0x14a)};try{const _0x56130f=_0x1ec999[_0x3e785d(0x127)](_resolveAutoScanning),_0xb450fc=_0x1ec999[_0x3e785d(0x119)](shouldScanTestForAccessibility,null,![]),_0x3a1a8a=_0x1ec999[_0x3e785d(0x143)](_0x56130f,_0xb450fc);globals[_0x3e785d(0x149)](_0x1ec999[_0x3e785d(0x13f)],_0x3a1a8a),globals[_0x3e785d(0x149)](_0x1ec999[_0x3e785d(0x16d)],null);}catch(_0xd6db31){logger[_0x3e785d(0x10d)](_0x3e785d(0x165)+util[_0x3e785d(0x128)](_0xd6db31));}}),typeof afterEach===a19_0x1436da(0x11e)&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x2bbe5c=a19_0x1436da,_0x1d0a87={'EoRuh':function(_0x1014e0,_0x4d1570){return _0x1014e0>_0x4d1570;},'NDODq':function(_0x34da32,_0x2ef651){return _0x34da32>_0x2ef651;},'cxBox':function(_0x8bfb9,_0x57195c){return _0x8bfb9>_0x57195c;},'zTEaU':_0x2bbe5c(0x177),'eWxpQ':function(_0x196a44,_0x1ea52b){return _0x196a44+_0x1ea52b;},'DvGKn':_0x2bbe5c(0x13b),'hrpXk':_0x2bbe5c(0x10c),'PqdOP':_0x2bbe5c(0x180),'QaTVB':_0x2bbe5c(0x16e),'pSISr':_0x2bbe5c(0x135),'OObeM':'passed','XvBgF':function(_0x57abde){return _0x57abde();},'ZpnKM':'isAccessibilityPlatform','niCzI':_0x2bbe5c(0x14b),'WSVFs':'[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','YrUWZ':_0x2bbe5c(0x172),'SzgSr':_0x2bbe5c(0x184),'DlGmy':'[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','Ycinw':_0x2bbe5c(0x126),'tjkmo':_0x2bbe5c(0x111),'UwVAz':_0x2bbe5c(0x133)};try{if(Array[_0x2bbe5c(0x15d)](global[_0x2bbe5c(0x15e)])&&_0x1d0a87[_0x2bbe5c(0x151)](global[_0x2bbe5c(0x15e)][_0x2bbe5c(0x17b)],0x1)){const _0x1dba13=global[_0x2bbe5c(0x15e)][0x0];try{await _0x1dba13[_0x2bbe5c(0x108)],await _0x1dba13[_0x2bbe5c(0x179)]();}catch(_0x1da762){logger[_0x2bbe5c(0x10d)]('[jasmine\x20setup]\x20Exception\x20quitting\x20stale\x20driver\x20before\x20shift:\x20'+util['format'](_0x1da762));}global['__drivers'][_0x2bbe5c(0x145)]();}}catch(_0x259854){logger['debug'](_0x2bbe5c(0x10a)+util[_0x2bbe5c(0x128)](_0x259854));}try{if(Array[_0x2bbe5c(0x15d)](global['__drivers'])&&_0x1d0a87[_0x2bbe5c(0x159)](global[_0x2bbe5c(0x15e)][_0x2bbe5c(0x17b)],0x0)&&global[_0x2bbe5c(0x15e)][0x0]){const _0x43378e=_activeFullName||global[_0x2bbe5c(0x13a)];if(!global['__skipSessionName']&&_0x43378e){global['sessionName']=_0x43378e;try{await global[_0x2bbe5c(0x15e)][0x0][_0x2bbe5c(0x17d)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x2bbe5c(0x102)](_0x43378e)+'}}'),global[_0x2bbe5c(0x15e)][0x0][_0x2bbe5c(0x132)]=!![];}catch(_0x46794c){logger[_0x2bbe5c(0x10d)](_0x2bbe5c(0x156)+util[_0x2bbe5c(0x128)](_0x46794c));}}if(!global[_0x2bbe5c(0x14e)])try{const _0x40d85a=_activeResultRef&&Array[_0x2bbe5c(0x15d)](_activeResultRef[_0x2bbe5c(0x173)])?_activeResultRef[_0x2bbe5c(0x173)]:[],_0x5e0ed6=_0x1d0a87['cxBox'](_0x40d85a[_0x2bbe5c(0x17b)],0x0),_0x565271=_0x5e0ed6?_0x40d85a[0x0]&&_0x40d85a[0x0][_0x2bbe5c(0x182)]||_0x1d0a87['zTEaU']:null;try{await global[_0x2bbe5c(0x15e)][0x0][_0x2bbe5c(0x17d)](_0x2bbe5c(0x185)+JSON[_0x2bbe5c(0x102)](_0x5e0ed6?_0x1d0a87[_0x2bbe5c(0x130)](_0x1d0a87['DvGKn'],_0x565271):_0x1d0a87[_0x2bbe5c(0x148)])+',\x22level\x22:\x20\x22'+(_0x5e0ed6?_0x1d0a87[_0x2bbe5c(0x12f)]:_0x1d0a87[_0x2bbe5c(0x107)])+_0x2bbe5c(0x11a));}catch(_0x406a36){logger[_0x2bbe5c(0x10d)](_0x2bbe5c(0x129)+util[_0x2bbe5c(0x128)](_0x406a36));}_0x5e0ed6&&(global['__sessionFailed']=!![]),await helper[_0x2bbe5c(0x115)](global[_0x2bbe5c(0x15e)][0x0],_0x5e0ed6?_0x1d0a87[_0x2bbe5c(0x15f)]:_0x1d0a87['OObeM'],_0x565271);}catch(_0x574d8e){logger['debug'](_0x2bbe5c(0x16b)+util['format'](_0x574d8e));}}}catch(_0x4f1ef3){logger[_0x2bbe5c(0x10d)]('[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20'+util['format'](_0x4f1ef3));}try{if(_0x1d0a87[_0x2bbe5c(0x101)](isAccessibilityAutomationSession)&&globals['getGlobal'](_0x1d0a87[_0x2bbe5c(0x153)])&&Array[_0x2bbe5c(0x15d)](global[_0x2bbe5c(0x15e)])&&_0x1d0a87[_0x2bbe5c(0x159)](global[_0x2bbe5c(0x15e)][_0x2bbe5c(0x17b)],0x0)&&global[_0x2bbe5c(0x15e)][0x0]){const _0xb0b5d6=testRunMap[_0x2bbe5c(0x178)](_activeResultId),_0x121c61={};_0x121c61[_0x2bbe5c(0x162)]=_0xb0b5d6,_0x121c61[_0x2bbe5c(0x114)]=process[_0x2bbe5c(0x13d)][testHubConstants[_0x2bbe5c(0x146)][_0x2bbe5c(0x174)]],_0x121c61[_0x2bbe5c(0x12e)]=process[_0x2bbe5c(0x13d)][testHubConstants['ENV_VAR'][_0x2bbe5c(0x12d)]];const _0x32e9be=_0x121c61;logger[_0x2bbe5c(0x10d)](_0x2bbe5c(0xfb)+JSON[_0x2bbe5c(0x102)](_0x32e9be));if(globals['getGlobal'](_0x1d0a87[_0x2bbe5c(0xff)])){logger[_0x2bbe5c(0x10d)](_0x1d0a87[_0x2bbe5c(0x152)]);const _0x2bfafb=await accessibilityRetryHelper['performScanWithRetry'](global[_0x2bbe5c(0x15e)][0x0],global[_0x2bbe5c(0x15b)]);_0x2bfafb?logger['debug'](_0x1d0a87[_0x2bbe5c(0x163)]):logger['warn'](_0x1d0a87[_0x2bbe5c(0xf9)]);}else logger[_0x2bbe5c(0x10d)](_0x1d0a87[_0x2bbe5c(0x123)]);globals['getGlobal'](_0x1d0a87['Ycinw'])&&(_0x32e9be[_0x2bbe5c(0x105)]=!![]);const _0x8e0826=await accessibilityRetryHelper[_0x2bbe5c(0x106)](global[_0x2bbe5c(0x15e)][0x0],_0x32e9be);_0x8e0826?logger[_0x2bbe5c(0x10d)](_0x1d0a87[_0x2bbe5c(0x17a)]):logger[_0x2bbe5c(0xf8)](_0x1d0a87['UwVAz']);}}catch(_0x5b749d){logger[_0x2bbe5c(0x180)]('[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20'+util[_0x2bbe5c(0x128)](_0x5b749d));}});}catch(a19_0x55a56e){logger[a19_0x1436da(0x10d)](a19_0x1436da(0x158)+util[a19_0x1436da(0x128)](a19_0x55a56e));}try{typeof afterAll===a19_0x1436da(0x11e)&&afterAll(async function bstackFinalDriverQuit(){const _0x566e02=a19_0x1436da,_0x201ffa={};_0x201ffa[_0x566e02(0x14c)]=function(_0x6a8e1d,_0x23f787){return _0x6a8e1d>_0x23f787;};const _0x4a629b=_0x201ffa;try{Array['isArray'](global[_0x566e02(0x15e)])&&_0x4a629b[_0x566e02(0x14c)](global[_0x566e02(0x15e)]['length'],0x0)&&global[_0x566e02(0x15e)][0x0]&&(await global[_0x566e02(0x15e)][0x0][_0x566e02(0x108)],await global[_0x566e02(0x15e)][0x0][_0x566e02(0x179)]());}catch(_0x30a425){logger['debug'](_0x566e02(0x118)+util['format'](_0x30a425));}});}catch(a19_0x362551){logger[a19_0x1436da(0x10d)](a19_0x1436da(0x11d)+util[a19_0x1436da(0x128)](a19_0x362551));}module[a19_0x1436da(0x11c)]={};
|
|
1
|
+
'use strict';const a19_0xb22535=a19_0x3eee;(function(_0x5ae4df,_0x485bc1){const _0x32b73c=a19_0x3eee,_0x53b065=_0x5ae4df();while(!![]){try{const _0x2f810d=-parseInt(_0x32b73c(0xaf))/0x1+-parseInt(_0x32b73c(0x6e))/0x2*(parseInt(_0x32b73c(0x7a))/0x3)+-parseInt(_0x32b73c(0xdb))/0x4+-parseInt(_0x32b73c(0x8c))/0x5+parseInt(_0x32b73c(0xc1))/0x6*(parseInt(_0x32b73c(0xac))/0x7)+parseInt(_0x32b73c(0xee))/0x8+-parseInt(_0x32b73c(0x87))/0x9*(-parseInt(_0x32b73c(0x83))/0xa);if(_0x2f810d===_0x485bc1)break;else _0x53b065['push'](_0x53b065['shift']());}catch(_0x51d9a1){_0x53b065['push'](_0x53b065['shift']());}}}(a19_0x530f,0xcd90a));function a19_0x530f(){const _0x813066=['format','__platformCaps','util','getGlobal','3HhTwyg','autoScanning','ztdsw','__skipSessionStatus','mPzNC','pSIYJ','../../helpers/testhub/utils','getFileName','getEnv','16366670mAOEoL','get','BROWSERSTACK_TESTHUB_UUID','skipSessionStatus','9iJuwSm','yhdwq','thTestRunUuid','Zpnkh','rlDIi','425030aOBzSJ','fzUSp','../../helpers/logger','parse','isBrowserstackInfra','FyeVd','thJwtToken','BRqCx','sessionName','stringify','info','shift','platformCaps','isTrue','isArray','../../helpers/testhub/constants','[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20','OKykE','env','rDVQV','performScanWithRetry','fullName','function','[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','message','zKKKe','../../helpers/accessibility-automation/helper','[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20','debug','[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20','__sessionFailed','pop','66269dwVyeb','initQuit','[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)','1086413oBjipF','includes','platformIndex','FUvly','bin','[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20','aXDuk','[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','wMoJk','setGlobal','failedExpectations','saveAccessibilityResultsWithRetry','isMobilePlatform','[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20','prepareStackTrace','[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20','bstackA11yScanOptions','558rqfMoK','fileNameByFullName','jCRnT','error','[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','path','push','Spec\x20failed','[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20','Furjz','[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20','warn','\x22}}','erTeu','[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','sep','BROWSERSTACK_JASMINE_CONFIG','length',',\x22level\x22:\x20\x22','XTCPA','bstackA11yShouldScan','./bstack-reporter/customReporter','__drivers','ENV_VAR','undefined','3807276wzlrXq','CONFIG','__skipSessionName','markSessionStatus','describe','addReporter','pwXsX','eMUDx','BROWSERSTACK_TESTHUB_JWT','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','LQyaN','rRESZ','is_mobile_session','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20','[jasmine\x20setup]\x20Exception\x20in\x20final\x20driver\x20quit:\x20','browserstackAgentV2','HEmqX','NIzLA','thBuildUuid','6658904NRycMT','passed','HMiHY','winstonLogger','../../index','[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','node:','isAccessibilityPlatform','dnXwa','stack','768458vWTioW','session_','BRsOo','[jasmine\x20setup]\x20Exception\x20quitting\x20stale\x20driver\x20before\x20shift:\x20','SEEOo','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','SeqOj','[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts'];a19_0x530f=function(){return _0x813066;};return a19_0x530f();}const util=require(a19_0xb22535(0x78)),logger=require(a19_0xb22535(0x8e))[a19_0xb22535(0xf1)],helper=require('../../helpers/helper'),globals=require('../../helpers/globals'),{shouldProcessEventForTesthub}=require(a19_0xb22535(0x80)),testHubConstants=require(a19_0xb22535(0x9b)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a19_0xb22535(0xa6)),accessibilityRetryHelper=require('../../helpers/accessibility-automation/accessibilityRetryHelper'),testRunMap=require('./testRunMap');function a19_0x3eee(_0x29bca6,_0x40f31b){const _0x530f5b=a19_0x530f();return a19_0x3eee=function(_0x3eee1b,_0xa515ca){_0x3eee1b=_0x3eee1b-0x6a;let _0x66fd18=_0x530f5b[_0x3eee1b];return _0x66fd18;},a19_0x3eee(_0x29bca6,_0x40f31b);}let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process[a19_0xb22535(0x9e)][a19_0xb22535(0xd2)]||process['env'][a19_0xb22535(0xdc)];rawConfig!==undefined&&(_bstackConfig=JSON['parse'](rawConfig));}catch(a19_0x1b71db){logger['debug'](a19_0xb22535(0xcc)+util[a19_0xb22535(0x76)](a19_0x1b71db));}try{if(_bstackConfig&&!helper['getPackageVersion']('@playwright/test')){const ohIhtD='1|3|0|4|2'['split']('|');let eFCrEG=0x0;while(!![]){switch(ohIhtD[eFCrEG++]){case'0':global[a19_0xb22535(0x77)]=_bstackConfig[a19_0xb22535(0x98)]||{};continue;case'1':logger[a19_0xb22535(0xa8)](a19_0xb22535(0xae));continue;case'2':helper[a19_0xb22535(0x90)]()?(global['__skipSessionName']=helper[a19_0xb22535(0x99)](_bstackConfig['skipSessionName']),global[a19_0xb22535(0x7d)]=helper[a19_0xb22535(0x99)](_bstackConfig[a19_0xb22535(0x86)])):(global[a19_0xb22535(0xdd)]=!![],global[a19_0xb22535(0x7d)]=!![]);continue;case'3':shouldProcessEventForTesthub()?require(a19_0xb22535(0xf2))[a19_0xb22535(0xea)](_bstackConfig,null,!![]):require('../../index')[a19_0xb22535(0xea)](_bstackConfig);continue;case'4':global['browserstackPlatformIndex']=_bstackConfig[a19_0xb22535(0xb1)];continue;}break;}}}catch(a19_0x31fd64){logger[a19_0xb22535(0xa8)]('[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20'+util[a19_0xb22535(0x76)](a19_0x31fd64));}const _fileNameByFullName={};try{if(typeof describe===a19_0xb22535(0xa2)&&typeof global!=='undefined'){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x445022=a19_0xb22535,_0x2577f2={'wMoJk':function(_0x57a12c,_0x1e5a1b){return _0x57a12c(_0x1e5a1b);},'SEEOo':_0x445022(0xc6),'ztdsw':_0x445022(0x6a),'uNBiZ':'jasmine-core'},_0x51a78=Error[_0x445022(0xbe)];try{const _0x2252db=new Error();Error[_0x445022(0xbe)]=(_0x13982d,_0x222897)=>_0x222897;const _0x4c4fb2=_0x2252db[_0x445022(0x6d)];Error[_0x445022(0xbe)]=_0x51a78;if(Array[_0x445022(0x9a)](_0x4c4fb2))for(const _0x3264b6 of _0x4c4fb2){const _0x5a64dc=_0x3264b6['getFileName']&&_0x3264b6[_0x445022(0x81)]();if(_0x5a64dc&&!_0x5a64dc[_0x445022(0xb0)](_0x445022(0xb3)+_0x2577f2[_0x445022(0xb7)](require,_0x2577f2[_0x445022(0x72)])['sep']+'jasmine'+_0x2577f2[_0x445022(0xb7)](require,_0x2577f2[_0x445022(0x72)])[_0x445022(0xd1)])&&!_0x5a64dc['startsWith'](_0x2577f2[_0x445022(0x7c)])&&!_0x5a64dc[_0x445022(0xb0)](_0x2577f2['uNBiZ']))return _0x5a64dc;}}catch(_0x2e6d48){Error[_0x445022(0xbe)]=_0x51a78;}return null;},_wrappedDescribe=function(_0x437beb,_0x21cef8){const _0x3d2d68=a19_0xb22535,_0x348ef2={'NIzLA':function(_0x5f48ce){return _0x5f48ce();},'HEmqX':function(_0x3abad5,_0x5d9cb6){return _0x3abad5&&_0x5d9cb6;},'pwXsX':function(_0x4105da,_0x478b97,_0x1d3a99){return _0x4105da(_0x478b97,_0x1d3a99);}};let _0xd48782=null;try{_0xd48782=_0x348ef2[_0x3d2d68(0xec)](_resolveCallerFile);}catch(_0x30d0ee){}_describeTitleStack[_0x3d2d68(0xc7)](_0x437beb);const _0x4b9845=_describeTitleStack['join']('\x20');_0x348ef2[_0x3d2d68(0xeb)](_0xd48782,_0x4b9845)&&(_fileNameByFullName[_0x4b9845]=_0xd48782);try{return _0x348ef2[_0x3d2d68(0xe1)](_origDescribe,_0x437beb,_0x21cef8);}finally{_describeTitleStack[_0x3d2d68(0xab)]();}};Object['keys'](_origDescribe)['forEach'](_0xbe92fb=>{_wrappedDescribe[_0xbe92fb]=_origDescribe[_0xbe92fb];}),global[a19_0xb22535(0xdf)]=_wrappedDescribe;}}catch(a19_0x401d25){logger['debug'](a19_0xb22535(0xa9)+util[a19_0xb22535(0x76)](a19_0x401d25));}try{if(typeof jasmine!==a19_0xb22535(0xda)&&jasmine[a19_0xb22535(0x82)]){const BrowserStackJasmineReporter=require(a19_0xb22535(0xd7)),a19_0x5cb559={};a19_0x5cb559[a19_0xb22535(0xc2)]=_fileNameByFullName,jasmine[a19_0xb22535(0x82)]()[a19_0xb22535(0xe0)](new BrowserStackJasmineReporter(a19_0x5cb559)),logger['debug']('[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter');}else logger[a19_0xb22535(0xa8)](a19_0xb22535(0xbc));}catch(a19_0x460e45){logger[a19_0xb22535(0xa8)](a19_0xb22535(0xbf)+util['format'](a19_0x460e45));}try{typeof jasmine!==a19_0xb22535(0xda)&&jasmine[a19_0xb22535(0x82)]&&jasmine[a19_0xb22535(0x82)]()[a19_0xb22535(0xe0)]({'specStarted'(_0xc2de47){const _0x281cff=a19_0xb22535,_0x5e3d99={};_0x5e3d99[_0x281cff(0xa5)]=function(_0x450eaa,_0x37f842){return _0x450eaa||_0x37f842;};const _0x43bd2c=_0x5e3d99;_activeResultId=_0xc2de47&&_0xc2de47['id'],_activeFullName=_0xc2de47&&_0xc2de47[_0x281cff(0xa1)],_activeResultRef=_0x43bd2c['zKKKe'](_0xc2de47,null);},'specDone'(){}});}catch(a19_0x244e74){logger['debug'](a19_0xb22535(0xbd)+util[a19_0xb22535(0x76)](a19_0x244e74));}const _resolveAutoScanning=()=>{const _0x554aab=a19_0xb22535,_0x4ab6aa={};_0x4ab6aa[_0x554aab(0xd5)]=function(_0x45e9b2,_0x52f7d3){return _0x45e9b2===_0x52f7d3;};const _0x3d561d=_0x4ab6aa;let _0x519185=!![];try{const _0x349b83=JSON[_0x554aab(0x8f)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']||'{}');_0x3d561d[_0x554aab(0xd5)](_0x349b83[_0x554aab(0x7b)],![])&&(_0x519185=![]);}catch(_0x1e4309){logger['debug'](_0x554aab(0xd0)+_0x1e4309[_0x554aab(0xa4)]);}return _0x519185;};try{typeof beforeEach===a19_0xb22535(0xa2)&&beforeEach(function bstackA11yBeforeEach(){const _0x14f67c=a19_0xb22535,_0x4c6218={'eMUDx':function(_0x14ec09){return _0x14ec09();},'YRXTG':function(_0x23b226,_0x32c537,_0x2f9107){return _0x23b226(_0x32c537,_0x2f9107);},'erTeu':function(_0x335a68,_0x551d7f){return _0x335a68&&_0x551d7f;},'FyeVd':_0x14f67c(0xd6),'BRqCx':_0x14f67c(0xc0)};try{const _0x2088fa=_0x4c6218[_0x14f67c(0xe2)](_resolveAutoScanning),_0x177630=_0x4c6218['YRXTG'](shouldScanTestForAccessibility,null,![]),_0x31650d=_0x4c6218[_0x14f67c(0xcf)](_0x2088fa,_0x177630);globals[_0x14f67c(0xb8)](_0x4c6218[_0x14f67c(0x91)],_0x31650d),globals[_0x14f67c(0xb8)](_0x4c6218[_0x14f67c(0x93)],null);}catch(_0x53198a){logger[_0x14f67c(0xa8)](_0x14f67c(0xc9)+util[_0x14f67c(0x76)](_0x53198a));}}),typeof afterEach===a19_0xb22535(0xa2)&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x44e610=a19_0xb22535,_0x47184f={'FUvly':function(_0x3dadcf,_0x288615){return _0x3dadcf>_0x288615;},'mPzNC':function(_0x1556f7,_0x53dcf4){return _0x1556f7>_0x53dcf4;},'SeqOj':function(_0x11bd9f,_0x30d1af){return _0x11bd9f>_0x30d1af;},'Zpnkh':_0x44e610(0xc8),'HMiHY':function(_0x447e20,_0x17b0af){return _0x447e20+_0x17b0af;},'rRESZ':'Failed:\x20','fzUSp':'Passed','fWAmM':'error','BRsOo':_0x44e610(0x96),'hvSDD':'failed','aXDuk':_0x44e610(0xef),'pSIYJ':function(_0xa3194a){return _0xa3194a();},'jCRnT':_0x44e610(0x6b),'OKykE':_0x44e610(0xd6),'yhdwq':_0x44e610(0xa3),'fbfku':_0x44e610(0xb6),'rDVQV':_0x44e610(0x75),'rlDIi':_0x44e610(0xf3),'LQyaN':_0x44e610(0xbb),'nQHst':_0x44e610(0xc5),'Furjz':_0x44e610(0xcb)};try{if(Array[_0x44e610(0x9a)](global[_0x44e610(0xd8)])&&_0x47184f[_0x44e610(0xb2)](global['__drivers'][_0x44e610(0xd3)],0x1)){const _0x4e34e6=global[_0x44e610(0xd8)][0x0];try{await _0x4e34e6[_0x44e610(0x6f)],await _0x4e34e6[_0x44e610(0xad)]();}catch(_0x2bc148){logger[_0x44e610(0xa8)](_0x44e610(0x71)+util[_0x44e610(0x76)](_0x2bc148));}global[_0x44e610(0xd8)][_0x44e610(0x97)]();}}catch(_0x58735b){logger[_0x44e610(0xa8)]('[jasmine\x20setup]\x20Exception\x20in\x20stale-driver\x20shift\x20check:\x20'+util[_0x44e610(0x76)](_0x58735b));}try{if(Array[_0x44e610(0x9a)](global[_0x44e610(0xd8)])&&_0x47184f[_0x44e610(0x7e)](global[_0x44e610(0xd8)][_0x44e610(0xd3)],0x0)&&global['__drivers'][0x0]){const _0xe7e43f=_activeFullName||global[_0x44e610(0x94)];if(!global[_0x44e610(0xdd)]&&_0xe7e43f){global[_0x44e610(0x94)]=_0xe7e43f;try{await global['__drivers'][0x0]['executeScript'](_0x44e610(0xe4)+JSON[_0x44e610(0x95)](_0xe7e43f)+'}}'),global[_0x44e610(0xd8)][0x0]['sessionNameSet__']=!![];}catch(_0x32fc5f){logger['debug'](_0x44e610(0xa7)+util[_0x44e610(0x76)](_0x32fc5f));}}if(!global[_0x44e610(0x7d)])try{const _0x4840f2=_activeResultRef&&Array['isArray'](_activeResultRef[_0x44e610(0xb9)])?_activeResultRef['failedExpectations']:[],_0x5619b4=_0x47184f['SeqOj'](_0x4840f2['length'],0x0),_0x5c4fa4=_0x5619b4?_0x4840f2[0x0]&&_0x4840f2[0x0][_0x44e610(0xa4)]||_0x47184f[_0x44e610(0x8a)]:null;try{await global[_0x44e610(0xd8)][0x0]['executeScript'](_0x44e610(0x73)+JSON[_0x44e610(0x95)](_0x5619b4?_0x47184f[_0x44e610(0xf0)](_0x47184f[_0x44e610(0xe6)],_0x5c4fa4):_0x47184f[_0x44e610(0x8d)])+_0x44e610(0xd4)+(_0x5619b4?_0x47184f['fWAmM']:_0x47184f[_0x44e610(0x70)])+_0x44e610(0xce));}catch(_0x3b98a6){logger[_0x44e610(0xa8)](_0x44e610(0x9c)+util[_0x44e610(0x76)](_0x3b98a6));}_0x5619b4&&(global[_0x44e610(0xaa)]=!![]),await helper[_0x44e610(0xde)](global[_0x44e610(0xd8)][0x0],_0x5619b4?_0x47184f['hvSDD']:_0x47184f[_0x44e610(0xb5)],_0x5c4fa4);}catch(_0x2d1252){logger[_0x44e610(0xa8)](_0x44e610(0xb4)+util[_0x44e610(0x76)](_0x2d1252));}}}catch(_0x4978d6){logger[_0x44e610(0xa8)]('[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20'+util[_0x44e610(0x76)](_0x4978d6));}try{if(_0x47184f[_0x44e610(0x7f)](isAccessibilityAutomationSession)&&globals[_0x44e610(0x79)](_0x47184f[_0x44e610(0xc3)])&&Array['isArray'](global['__drivers'])&&_0x47184f[_0x44e610(0x74)](global[_0x44e610(0xd8)][_0x44e610(0xd3)],0x0)&&global[_0x44e610(0xd8)][0x0]){const _0x438b6c=testRunMap[_0x44e610(0x84)](_activeResultId),_0x425b6e={};_0x425b6e[_0x44e610(0x89)]=_0x438b6c,_0x425b6e[_0x44e610(0xed)]=process['env'][testHubConstants[_0x44e610(0xd9)][_0x44e610(0x85)]],_0x425b6e[_0x44e610(0x92)]=process['env'][testHubConstants[_0x44e610(0xd9)][_0x44e610(0xe3)]];const _0x13e5f9=_0x425b6e;logger[_0x44e610(0xa8)]('[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20'+JSON[_0x44e610(0x95)](_0x13e5f9));if(globals[_0x44e610(0x79)](_0x47184f[_0x44e610(0x9d)])){logger[_0x44e610(0xa8)](_0x47184f[_0x44e610(0x88)]);const _0x3ee616=await accessibilityRetryHelper[_0x44e610(0xa0)](global['__drivers'][0x0],global['browserstackSessionName']);_0x3ee616?logger[_0x44e610(0xa8)](_0x47184f['fbfku']):logger[_0x44e610(0xcd)](_0x47184f[_0x44e610(0x9f)]);}else logger[_0x44e610(0xa8)](_0x47184f[_0x44e610(0x8b)]);globals[_0x44e610(0x79)](_0x47184f[_0x44e610(0xe5)])&&(_0x13e5f9[_0x44e610(0xe7)]=!![]);const _0x2015f7=await accessibilityRetryHelper[_0x44e610(0xba)](global['__drivers'][0x0],_0x13e5f9);_0x2015f7?logger[_0x44e610(0xa8)](_0x47184f['nQHst']):logger[_0x44e610(0xcd)](_0x47184f[_0x44e610(0xca)]);}}catch(_0x2dd4eb){logger[_0x44e610(0xc4)]('[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20'+util[_0x44e610(0x76)](_0x2dd4eb));}});}catch(a19_0x12b423){logger[a19_0xb22535(0xa8)](a19_0xb22535(0xe8)+util['format'](a19_0x12b423));}try{typeof afterAll===a19_0xb22535(0xa2)&&afterAll(async function bstackFinalDriverQuit(){const _0x512f43=a19_0xb22535,_0x2c8b88={};_0x2c8b88[_0x512f43(0x6c)]=function(_0x49b139,_0x3e0413){return _0x49b139>_0x3e0413;};const _0x227fbc=_0x2c8b88;try{Array['isArray'](global['__drivers'])&&_0x227fbc['dnXwa'](global[_0x512f43(0xd8)][_0x512f43(0xd3)],0x0)&&global['__drivers'][0x0]&&(await global[_0x512f43(0xd8)][0x0][_0x512f43(0x6f)],await global[_0x512f43(0xd8)][0x0][_0x512f43(0xad)]());}catch(_0x38c8f5){logger[_0x512f43(0xa8)](_0x512f43(0xe9)+util[_0x512f43(0x76)](_0x38c8f5));}});}catch(a19_0x102507){logger[a19_0xb22535(0xa8)]('[jasmine\x20setup]\x20Exception\x20registering\x20afterAll\x20final\x20quit\x20hook:\x20'+util[a19_0xb22535(0x76)](a19_0x102507));}module['exports']={};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a20_0x40857d=a20_0x9312;(function(_0x19655a,_0x439db6){const _0x478c3d=a20_0x9312,_0x31d37a=_0x19655a();while(!![]){try{const _0x3cac76=parseInt(_0x478c3d(0xae))/0x1*(parseInt(_0x478c3d(0xa7))/0x2)+parseInt(_0x478c3d(0xb4))/0x3+-parseInt(_0x478c3d(0xa4))/0x4*(-parseInt(_0x478c3d(0xa1))/0x5)+-parseInt(_0x478c3d(0xa5))/0x6*(parseInt(_0x478c3d(0xac))/0x7)+-parseInt(_0x478c3d(0xaf))/0x8*(-parseInt(_0x478c3d(0xb3))/0x9)+parseInt(_0x478c3d(0xa8))/0xa*(-parseInt(_0x478c3d(0x9f))/0xb)+parseInt(_0x478c3d(0xa2))/0xc*(parseInt(_0x478c3d(0xb1))/0xd);if(_0x3cac76===_0x439db6)break;else _0x31d37a['push'](_0x31d37a['shift']());}catch(_0x11ec3a){_0x31d37a['push'](_0x31d37a['shift']());}}}(a20_0x1196,0x98712));const _specUuidById=new Map();function a20_0x1196(){const _0x1f2ccd=['3487836QyFXHR','VenCV','4jvPgsA','114bAxMiQ','_size','2FuOPgb','2116930VUfUPk','gpzGj','size','remove','287511pMQszI','set','297317ucoLHI','1705608QxXvml','pQnas','13rtoLNj','aCmGd','9amGTyi','209130wycikj','JPBoX','delete','11UjaHQZ','get','3728005YikqYl'];a20_0x1196=function(){return _0x1f2ccd;};return a20_0x1196();}function a20_0x9312(_0x2f08e7,_0x292c15){const _0x11965b=a20_0x1196();return a20_0x9312=function(_0x93129d,_0xafd711){_0x93129d=_0x93129d-0x9f;let _0x3f064e=_0x11965b[_0x93129d];return _0x3f064e;},a20_0x9312(_0x2f08e7,_0x292c15);}exports[a20_0x40857d(0xad)]=(_0x35bd5d,_0x2d9036)=>{const _0x15cef0=a20_0x40857d,_0xb89db={};_0xb89db[_0x15cef0(0xa9)]=function(_0x53dc67,_0x52c753){return _0x53dc67===_0x52c753;};const _0x1be2c5=_0xb89db;if(_0x1be2c5[_0x15cef0(0xa9)](_0x35bd5d,undefined)||_0x1be2c5[_0x15cef0(0xa9)](_0x35bd5d,null))return;_specUuidById[_0x15cef0(0xad)](_0x35bd5d,_0x2d9036);},exports[a20_0x40857d(0xa0)]=_0x54a8ea=>{const _0x127ab3=a20_0x40857d,_0x1a6fa7={};_0x1a6fa7[_0x127ab3(0xb0)]=function(_0x43a09f,_0x2591be){return _0x43a09f===_0x2591be;},_0x1a6fa7[_0x127ab3(0xb5)]=function(_0x56ee0b,_0x3841bc){return _0x56ee0b===_0x3841bc;};const _0x1f8aa9=_0x1a6fa7;if(_0x1f8aa9['pQnas'](_0x54a8ea,undefined)||_0x1f8aa9[_0x127ab3(0xb5)](_0x54a8ea,null))return undefined;return _specUuidById[_0x127ab3(0xa0)](_0x54a8ea);},exports[a20_0x40857d(0xab)]=_0x2e5c88=>{const _0x302fcb=a20_0x40857d,_0x2d91cb={};_0x2d91cb[_0x302fcb(0xa3)]=function(_0x20336a,_0x180740){return _0x20336a===_0x180740;},_0x2d91cb[_0x302fcb(0xb2)]=function(_0x138655,_0xdc9d91){return _0x138655===_0xdc9d91;};const _0x3c0de6=_0x2d91cb;if(_0x3c0de6[_0x302fcb(0xa3)](_0x2e5c88,undefined)||_0x3c0de6['aCmGd'](_0x2e5c88,null))return;_specUuidById[_0x302fcb(0xb6)](_0x2e5c88);},exports[a20_0x40857d(0xa6)]=()=>_specUuidById[a20_0x40857d(0xaa)];
|
package/src/bin/jest/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a21_0x43728c=a21_0x7d36;(function(_0x275eac,_0x4486b6){const _0x1dc77d=a21_0x7d36,_0x93d5ed=_0x275eac();while(!![]){try{const _0x189367=parseInt(_0x1dc77d(0xc2))/0x1+-parseInt(_0x1dc77d(0x101))/0x2*(parseInt(_0x1dc77d(0x12f))/0x3)+-parseInt(_0x1dc77d(0x8b))/0x4*(parseInt(_0x1dc77d(0x89))/0x5)+-parseInt(_0x1dc77d(0x130))/0x6+-parseInt(_0x1dc77d(0xf8))/0x7*(-parseInt(_0x1dc77d(0x103))/0x8)+-parseInt(_0x1dc77d(0x158))/0x9+parseInt(_0x1dc77d(0xe1))/0xa*(parseInt(_0x1dc77d(0x90))/0xb);if(_0x189367===_0x4486b6)break;else _0x93d5ed['push'](_0x93d5ed['shift']());}catch(_0x304bb3){_0x93d5ed['push'](_0x93d5ed['shift']());}}}(a21_0x385b,0x3f4b6));function a21_0x7d36(_0x32fdeb,_0x28045d){const _0x385b75=a21_0x385b();return a21_0x7d36=function(_0x7d36f9,_0x57d978){_0x7d36f9=_0x7d36f9-0x7d;let _0x2ad0ef=_0x385b75[_0x7d36f9];return _0x2ad0ef;},a21_0x7d36(_0x32fdeb,_0x28045d);}const fs=require('fs'),path=require('path'),util=require(a21_0x43728c(0x137)),{spawn}=require(a21_0x43728c(0xa9)),logger=require('../../helpers/logger')['winstonLogger'],{default:BrowserStackSetup}=require(a21_0x43728c(0xc1)),helper=require(a21_0x43728c(0x86)),utilities=require(a21_0x43728c(0x14e)),constants=require(a21_0x43728c(0xe0)),accessibilityHelper=require(a21_0x43728c(0x122)),{updateTestRerunConfig}=require(a21_0x43728c(0x98)),testOpsHelper=require(a21_0x43728c(0x99)),{debug}=require(a21_0x43728c(0x99)),TestDetails=require(a21_0x43728c(0xf0)),{getPercyOptions}=require(a21_0x43728c(0xb8)),TestHubHandler=require(a21_0x43728c(0x102)),testhubUtils=require('../../helpers/testhub/utils'),{FRAMEWORKS}=require(a21_0x43728c(0x135)),PerformanceTester=require(a21_0x43728c(0xc5)),PerformanceEvents=require(a21_0x43728c(0x12a))[a21_0x43728c(0x11d)],TestOrchestrationHandler=require('../../helpers/test-orchestration/testOrchestrationHandler'),BrowserstackCLI=require(a21_0x43728c(0x155)),{checkPwandBootstrapCli}=require(a21_0x43728c(0x128)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a21_0x43728c(0x179)),ClientTroubleShootingService=require(a21_0x43728c(0x17b)),{checkAccessibilityPlatformConfig}=require(a21_0x43728c(0x122)),getUserJestConfigs=async(_0x304d4e,_0x1e672d)=>{const _0x51afa7=a21_0x43728c,_0x2340f7={'WjSyU':_0x51afa7(0x16f),'pKsyK':_0x51afa7(0xb7),'PTCkz':function(_0x542c08,_0x4bc4ff){return _0x542c08||_0x4bc4ff;},'eGRkI':function(_0x27b390,_0x418012){return _0x27b390(_0x418012);},'ROKwJ':_0x51afa7(0x11e),'hoQoL':_0x51afa7(0x93),'TGzJD':_0x51afa7(0x9b),'oARrv':_0x51afa7(0xa7),'XxnBF':_0x51afa7(0xd3)};let _0x358285;try{_0x358285=helper['requireModule'](_0x2340f7[_0x51afa7(0x13b)],_0x2340f7['pKsyK']);}catch{const _0x1f4395=helper[_0x51afa7(0x176)](_0x2340f7[_0x51afa7(0x83)]);_0x358285={'default':async _0x3ff67a=>{const _0x1002c8=_0x51afa7,_0x32113e=await _0x1f4395['readInitialOptions'](_0x3ff67a,{});return _0x32113e[_0x1002c8(0x15e)];}};}const _0x3afbe0=_0x1e672d[_0x51afa7(0xfa)](_0x4398ee=>_0x4398ee===_0x51afa7(0x85));if(!helper[_0x51afa7(0xcc)](_0x304d4e[_0x51afa7(0x15e)])){logger[_0x51afa7(0x106)]('Getting\x20your\x20jest\x20configs\x20from\x20'+_0x304d4e[_0x51afa7(0x15e)]),process['env'][_0x51afa7(0xbf)]=_0x304d4e[_0x51afa7(0x15e)];const _0x3103e7=await(0x0,_0x358285[_0x51afa7(0xad)])(path[_0x51afa7(0x17f)](_0x304d4e[_0x51afa7(0x15e)]));return _0x1e672d[_0x51afa7(0x10e)](_0x3afbe0,0x2),_0x2340f7[_0x51afa7(0xf7)](_0x3103e7,{});}const _0x540df4=_0x2340f7[_0x51afa7(0xde)](require,path[_0x51afa7(0x95)](process[_0x51afa7(0x157)](),_0x2340f7[_0x51afa7(0x87)]));if(_0x540df4[_0x51afa7(0x91)])return logger[_0x51afa7(0x106)](_0x2340f7[_0x51afa7(0xf1)]),_0x540df4['jest'];const _0x5a086a=['js',_0x2340f7[_0x51afa7(0x13a)],_0x2340f7[_0x51afa7(0xdb)],_0x2340f7[_0x51afa7(0x10a)],'ts'];for(const _0x10fabf of _0x5a086a){const _0x357ce7=path[_0x51afa7(0x95)](process[_0x51afa7(0x157)](),_0x51afa7(0x171)+_0x10fabf);if(fs[_0x51afa7(0xd7)](_0x357ce7)){process[_0x51afa7(0xfc)]['USER_CONFIG_DETAILS_PATH']=_0x357ce7;const _0x373e82=await(0x0,_0x358285[_0x51afa7(0xad)])(_0x357ce7);return _0x373e82;}}return{};},getSerial=(_0x33dec6,_0x387ec7)=>{const _0x8f8ff3=a21_0x43728c,_0x33e12e={};_0x33e12e['BjlVi']=_0x8f8ff3(0x11c),_0x33e12e[_0x8f8ff3(0x123)]=function(_0x816bb9,_0x133962){return _0x816bb9>_0x133962;},_0x33e12e[_0x8f8ff3(0x154)]=function(_0x2077a3,_0x35023f){return _0x2077a3>_0x35023f;},_0x33e12e[_0x8f8ff3(0xaa)]=_0x8f8ff3(0xf3);const _0x1c2f34=_0x33e12e;let _0x1f5da7=_0x1c2f34[_0x8f8ff3(0xe4)];return _0x1c2f34[_0x8f8ff3(0x123)](_0x33dec6['length'],0x1)&&(!_0x387ec7['runInBand']&&(helper[_0x8f8ff3(0xcc)](_0x387ec7['maxWorkers'])||_0x1c2f34[_0x8f8ff3(0x154)](_0x387ec7[_0x8f8ff3(0xdd)],0x1)))&&(_0x1f5da7=_0x1c2f34['OyDCT']),_0x1f5da7;},getMaxWorkers=(_0x30d009,_0x5671c6,_0x12b5fd)=>{const _0x26d041=a21_0x43728c,_0x7efcc1={'osxem':function(_0x2eefaf,_0x4165db){return _0x2eefaf(_0x4165db);}};let _0x444d91=0x1;if(!helper[_0x26d041(0xcc)](_0x5671c6[_0x26d041(0xea)]))_0x444d91=_0x7efcc1[_0x26d041(0xe3)](parseInt,_0x5671c6['parallelsPerPlatform']);else{if(!helper[_0x26d041(0xcc)](_0x30d009[_0x26d041(0xdd)]))_0x444d91=_0x30d009[_0x26d041(0xdd)];else!helper[_0x26d041(0xcc)](_0x12b5fd[_0x26d041(0xdd)])&&(_0x444d91=_0x12b5fd[_0x26d041(0xdd)]);}return _0x444d91;};function a21_0x385b(){const _0x5ee3a3=['\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','shutdown','AhMlV','abortBuildOnFailure','exports','browserStackLogLevel','jest-config/build/readConfigFileAndSetRootDir.js','OpIBq','jest.config.','MODULE','timeout__','finalExecution','data-hooks.js','requireModule','xvcBH','retryTestsOnFailure','../../helpers/puppeteer-helper','win32','../utils/clientTroubleshootingService','ENwCt','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','format','resolve','BROWSERSTACK_TEST_ACCESSIBILITY_YML','capabilities','parse','BROWSERSTACK_FRAMEWORK','resolveModule','customEnvironment.js','npx','BSTACK_JEST_TEST_ENV','oYLHY','reorderTestFiles','browserStackPercyOptions','pKsyK','FfxJO','--config','../../helpers/helper','ROKwJ','aKeKZ','52495dAguiG','stringify','188icwifI','Okaab','startsWith','writeFileSync','hwoNX','22oonugv','jest','test_before.setup.js','Getting\x20your\x20jest\x20configs\x20from\x20package.json','dpooD','join','message','testEnvironmentOptions','./test-observability/helper','../../helpers/test-observability/utils','test.setup.js','mjs','maxFailures','BNHrf','Reodered\x20Test\x20Files:\x20','skipSessionName','UFkRU','puppeteer-core/package.json','Deleting\x20','unlinkSync','BROWSERSTACK_CAPABILITIES','\x0a\x20\x20\x20\x20\x20\x20','\x0amodule.exports\x20=\x20config;','cjs','accessibilityOptions','child_process','OyDCT','getPackageType','prepareCapabilities','default','SDK_CLEANUP','apply','wzhTv','force','oarfs','platforms','jest_browserstack.config.js','getPackageVersion','JEST','jest-config','../../helpers/percy/utils','LIshn','parallels__','const\x20config=','maxRetries','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','ozjef','USER_CONFIG_DETAILS_PATH','PACKAGE_TYPE','../../helpers/BrowserStackSetup','90528MpLbdf','zpXLI','isBrowserstackInfra','../../helpers/performance/performance-tester',';\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','jest-runner','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','Puppeteer\x20setup\x20error:\x20','turboScaleUrl','customTestRunnerTemplate.js','isUndefined','fSceh','wpvpk',',\x20CLI\x20running:\x20','setup','push','failureThresholdCount','json','testObservability','assign','BSTACK_USER_JEST_RUNNER','existsSync','SVaLW','setupBrowserstackLocal','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','oARrv','skipSessionStatus','maxWorkers','eGRkI','rmSync','../utils/constants','3181310PweCuc','ppjef','osxem','BjlVi','printBuildLink','jest-runner-','Preserving\x20user\x27s\x20Jest\x20runner:\x20','Creating\x20','IeUkR','parallelsPerPlatform','rGohD','slice','\x20with\x20browserstack\x20jest\x20configs','sczZS','runner','./test-observability/test-details','hoQoL','setupFilesAfterEnv','false','VPGPj','parseTestOrchestrationOptions','hQAFO','PTCkz','4109xlsdWO','isEmpty','findIndex','dmpMm','env','platformCaps','__isPlaywrightInstalled','requireSeleniumWebdriver','setupFiles','128218PFLMJs','../../helpers/testhub/testhubHandler','5000UOFNQp','customImplements','requirePWModule','info','filterBrowserstackArgs','MaNns','__isPuppeteerInstalled','XxnBF','utQjZ','UQAun','playwright','splice','isCliEnabled','stop','\x20test\x20files\x20to\x20run.','testRunner','test-observability','debug','VpJcD','reporters','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','drXvT',';\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','handleApp','findTestFiles','true','EVENTS','package.json','BROWSERSTACK_TEST_OBSERVABILITY_YML','Unable\x20to\x20find\x20jest-circus,\x20','proxySettings','../../helpers/accessibility-automation/helper','YIOYh','platform','FRAMEWORKS','getInstance','retries__','../../helpers/playwright-helper','dirname','../../helpers/performance/constants','dAeMJ','jest-circus','end','customSequencer.js','3KxXYEw','1150530KXRZLe','useW3C','Error\x20while\x20parsing\x20','readFileSync','testContextOptions','../../helpers/test-observability/constants','isTestOrchestrationEnabled','util','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','FFAqT','TGzJD','WjSyU','nzgqE','getMultiDriverWorkerConfig','length','AiuGr','jest-circus/build/runner.js','customTestRunner.js','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','failFast','^puppeteer-core/internal/(.*)','initialize','workingDir','testTimeout','BLPui','serial__','getErrorMessageFromResults','replace','testEnvironment','checkAccessibilityPlatformConfig','../../helpers/utilities','dCocv','isNotUndefined','exitCode','start',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','wyOQc','../v2/browserstackCLI','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','cwd','765846mfoExw','/internal/$1','testSequencer','errorMessage','tnQRS','YXhLX','config','accessibility','yuFts','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','isRunning','moduleNameMapper','fNCzg','error','close','logLevel','shouldProcessEventForTesthub'];a21_0x385b=function(){return _0x5ee3a3;};return a21_0x385b();}async function run(_0x19af2b,_0x51b6d7,_0x31ea64){const _0x2a5a82=a21_0x43728c,_0x6eff89={'dCocv':'jest','xvcBH':function(_0x1419ba,_0x5cc541){return _0x1419ba(_0x5cc541);},'MaNns':'@playwright/test','QGJyH':function(_0x2209ca){return _0x2209ca();},'VPGPj':function(_0x1f1e9d,_0x3a8d4b,_0xea863a,_0xa60ab2){return _0x1f1e9d(_0x3a8d4b,_0xea863a,_0xa60ab2);},'foNRf':function(_0x1183b1,_0x5385b5){return _0x1183b1!=_0x5385b5;},'ppjef':_0x2a5a82(0x11c),'oYLHY':function(_0x7362d2,_0x507b88,_0x337c28){return _0x7362d2(_0x507b88,_0x337c28);},'sczZS':'Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','YXhLX':_0x2a5a82(0xf3),'hQAFO':function(_0x367888,_0x3c6585,_0x5e71a5,_0x31f6ae){return _0x367888(_0x3c6585,_0x5e71a5,_0x31f6ae);},'VpJcD':function(_0x376be1,_0xe9f4aa){return _0x376be1*_0xe9f4aa;},'AiuGr':function(_0x4e71ae,_0x500388){return _0x4e71ae===_0x500388;},'utQjZ':'jest_browserstack.config.cjs','hwoNX':_0x2a5a82(0xb4),'UQAun':_0x2a5a82(0x104),'pMUxc':'jest_browserstack_results.json','IeUkR':_0x2a5a82(0x141),'fSceh':_0x2a5a82(0xcb),'wpvpk':_0x2a5a82(0x7d),'zpXLI':function(_0x696966,_0x2269cb){return _0x696966!==_0x2269cb;},'OpIBq':_0x2a5a82(0xc7),'FfxJO':_0x2a5a82(0xe6),'BLPui':'jest.setup.js','uJWbN':_0x2a5a82(0x12e),'ZyUQm':'jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','wzhTv':_0x2a5a82(0x12c),'dAeMJ':_0x2a5a82(0x140),'tclTd':function(_0x406e3f,_0x995a5c){return _0x406e3f(_0x995a5c);},'dpooD':_0x2a5a82(0x113),'dtRzW':_0x2a5a82(0x175),'rGohD':'customCircus.js','oYsFO':_0x2a5a82(0x92),'yxtZl':_0x2a5a82(0xbd),'nzgqE':_0x2a5a82(0x10d),'aKeKZ':_0x2a5a82(0xc8),'ozjef':_0x2a5a82(0x9a),'BNHrf':'Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','pIJxP':function(_0x4b54cb,_0x4f773d){return _0x4b54cb&&_0x4f773d;},'LIshn':_0x2a5a82(0x117),'Okaab':'puppeteer','yuFts':_0x2a5a82(0xa1),'AhMlV':'default','dmpMm':function(_0x4b2679,_0x1334d5,_0x5ce60d){return _0x4b2679(_0x1334d5,_0x5ce60d);},'UFkRU':'@jest/core/build/ReporterDispatcher.js','FFAqT':'@jest/core','tnQRS':_0x2a5a82(0x138),'ngvzf':function(_0x548ff2,_0x490787){return _0x548ff2>_0x490787;},'drXvT':_0x2a5a82(0x156),'SVaLW':_0x2a5a82(0x85),'ENwCt':_0x2a5a82(0x7e),'fNCzg':_0x2a5a82(0x17a),'TyQSd':'inherit','oarfs':_0x2a5a82(0x166)},_0x1c38ab=helper[_0x2a5a82(0xb5)](_0x6eff89[_0x2a5a82(0x108)]);global[_0x2a5a82(0xfe)]=!!_0x1c38ab;const _0x1e3410=_0x6eff89['QGJyH'](getPuppeteerVersion);global[_0x2a5a82(0x109)]=!!_0x1e3410;helper[_0x2a5a82(0xc4)]()&&(await _0x31ea64[_0x2a5a82(0x145)](_0x19af2b),await helper[_0x2a5a82(0x11a)](_0x31ea64[_0x2a5a82(0x15e)]));if(_0x1c38ab)await _0x6eff89[_0x2a5a82(0xf4)](checkPwandBootstrapCli,_0x1c38ab,constants[_0x2a5a82(0x125)][_0x2a5a82(0xb6)],_0x31ea64);else _0x1e3410&&await _0x6eff89[_0x2a5a82(0xf4)](checkPuppeteerAndBootstrapCli,_0x1e3410,constants[_0x2a5a82(0x125)][_0x2a5a82(0xb6)],_0x31ea64);!BrowserstackCLI[_0x2a5a82(0x126)]()['isRunning']()&&await _0x31ea64[_0x2a5a82(0xd9)]();if(!_0x31ea64[_0x2a5a82(0x15e)])return;_0x6eff89['foNRf'](_0x31ea64[_0x2a5a82(0x15e)][_0x2a5a82(0xd4)],null)?process[_0x2a5a82(0xfc)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x31ea64[_0x2a5a82(0x15e)][_0x2a5a82(0xd4)]:process['env'][_0x2a5a82(0x11f)]=_0x6eff89[_0x2a5a82(0xe2)];const _0x2ecfdf=new TestOrchestrationHandler(_0x31ea64[_0x2a5a82(0x15e)]),_0x10b174=await _0x6eff89[_0x2a5a82(0x80)](getUserJestConfigs,_0x19af2b,_0x51b6d7);logger[_0x2a5a82(0x106)](_0x6eff89[_0x2a5a82(0xee)]);const _0x5b530b=Object['assign']({},_0x10b174);_0x5b530b['testEnvironmentOptions']=Object[_0x2a5a82(0xd5)]({},_0x5b530b[_0x2a5a82(0x97)],{'server':helper['getHubUrl'](_0x31ea64[_0x2a5a82(0x15e)]),'environment':_0x10b174[_0x2a5a82(0x14c)]}),_0x5b530b[_0x2a5a82(0x97)][_0x2a5a82(0x82)]=_0x6eff89['xvcBH'](getPercyOptions,_0x31ea64[_0x2a5a82(0x15e)]);const _0x5b21f8=helper[_0x2a5a82(0x131)](_0x31ea64[_0x2a5a82(0x15e)]);!helper['isUndefined'](_0x31ea64[_0x2a5a82(0x15e)][_0x2a5a82(0xa8)])&&(process[_0x2a5a82(0xfc)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x2a5a82(0x8a)](_0x31ea64[_0x2a5a82(0x15e)][_0x2a5a82(0xa8)]));if(!BrowserstackCLI[_0x2a5a82(0x126)]()[_0x2a5a82(0x162)]()){const _0x3f00b3=await TestHubHandler['launchBuild'](FRAMEWORKS['JEST'],_0x31ea64);}const _0x5546ae=helper[_0x2a5a82(0xac)](_0x31ea64[_0x2a5a82(0x15e)],_0x5b21f8,constants[_0x2a5a82(0x125)]['JEST']);process[_0x2a5a82(0xfc)][_0x2a5a82(0xa4)]=JSON[_0x2a5a82(0x8a)](_0x5546ae);let _0x1743b4=_0x31ea64['config'][_0x2a5a82(0x15f)];_0x1743b4=_0x1743b4||accessibilityHelper[_0x2a5a82(0x14d)](_0x31ea64[_0x2a5a82(0x15e)]),process[_0x2a5a82(0xfc)][_0x2a5a82(0x180)]=_0x1743b4,logger[_0x2a5a82(0x114)](_0x2a5a82(0x142)+_0x1743b4+_0x2a5a82(0xcf)+BrowserstackCLI[_0x2a5a82(0x126)]()['isRunning']());if(_0x1c38ab)try{const _0x254fd2=_0x6eff89[_0x2a5a82(0x177)](checkAccessibilityPlatformConfig,_0x31ea64[_0x2a5a82(0x15e)]);process[_0x2a5a82(0xfc)][_0x2a5a82(0xda)]=_0x254fd2?_0x6eff89[_0x2a5a82(0xe2)]:_0x6eff89[_0x2a5a82(0x15d)],logger[_0x2a5a82(0x114)](_0x2a5a82(0x161)+_0x254fd2+_0x2a5a82(0x153)+process[_0x2a5a82(0xfc)][_0x2a5a82(0xda)]);}catch(_0x586453){logger[_0x2a5a82(0x114)](_0x2a5a82(0x17d)+util[_0x2a5a82(0x17e)](_0x586453));}_0x5b530b[_0x2a5a82(0x97)][_0x2a5a82(0x181)]=_0x5546ae,_0x5b530b[_0x2a5a82(0x97)][_0x2a5a82(0x149)]=_0x6eff89['oYLHY'](getSerial,_0x5546ae,_0x19af2b),_0x5b530b['testEnvironmentOptions'][_0x2a5a82(0xba)]=_0x6eff89[_0x2a5a82(0xf6)](getMaxWorkers,_0x19af2b,_0x31ea64[_0x2a5a82(0x15e)],_0x10b174),_0x5b530b[_0x2a5a82(0x97)][_0x2a5a82(0x121)]=_0x31ea64[_0x2a5a82(0x15e)][_0x2a5a82(0x121)],_0x5b530b[_0x2a5a82(0x97)][_0x2a5a82(0x173)]=_0x6eff89[_0x2a5a82(0x115)](_0x19af2b[_0x2a5a82(0x147)],0x1)||0x1388,_0x5b530b['testEnvironmentOptions'][_0x2a5a82(0x9f)]=_0x31ea64[_0x2a5a82(0x15e)]['testContextOptions'][_0x2a5a82(0x9f)],_0x5b530b['testEnvironmentOptions'][_0x2a5a82(0xdc)]=_0x31ea64[_0x2a5a82(0x15e)][_0x2a5a82(0x134)][_0x2a5a82(0xdc)],_0x5b530b[_0x2a5a82(0x97)][_0x2a5a82(0x16e)]=_0x31ea64[_0x2a5a82(0x15e)][_0x2a5a82(0x167)],_0x5b530b[_0x2a5a82(0x97)][_0x2a5a82(0xca)]=_0x31ea64[_0x2a5a82(0x15e)]['turboScaleUrl'],_0x5b530b[_0x2a5a82(0x97)][_0x2a5a82(0xfd)]=_0x31ea64[_0x2a5a82(0x15e)]['platforms'],Object['assign'](_0x5b530b[_0x2a5a82(0x97)],helper[_0x2a5a82(0x13d)](_0x31ea64['config'],_0x5b21f8,constants['FRAMEWORKS'][_0x2a5a82(0xb6)]));const _0x188748=helper[_0x2a5a82(0xf5)](_0x31ea64[_0x2a5a82(0x15e)]);if(!helper[_0x2a5a82(0xf9)](_0x188748)){helper[_0x2a5a82(0x150)](_0x188748['retryTestsOnFailure'])&&(_0x5b530b[_0x2a5a82(0x97)][_0x2a5a82(0x127)]=_0x188748[_0x2a5a82(0x178)][_0x2a5a82(0xbc)]);if(helper['isNotUndefined'](_0x188748[_0x2a5a82(0x16c)])&&helper[_0x2a5a82(0x150)](_0x188748['abortBuildOnFailure'][_0x2a5a82(0x146)])){const _0x1f587c={};_0x1f587c[_0x2a5a82(0xd2)]=_0x188748[_0x2a5a82(0x16c)][_0x2a5a82(0x9c)],_0x1f587c[_0x2a5a82(0x146)]=_0x188748[_0x2a5a82(0x16c)][_0x2a5a82(0x146)],_0x5b530b[_0x2a5a82(0x97)][_0x2a5a82(0x143)]=_0x1f587c;}}let _0xf65a91='';_0x6eff89[_0x2a5a82(0x13f)](helper[_0x2a5a82(0xab)](),constants[_0x2a5a82(0xc0)][_0x2a5a82(0x172)])?_0xf65a91=_0x6eff89[_0x2a5a82(0x10b)]:_0xf65a91=_0x6eff89[_0x2a5a82(0x8f)];const _0x4ae538=_0xf65a91,_0x5279d7=path[_0x2a5a82(0x95)](__dirname,_0x6eff89[_0x2a5a82(0x10c)],_0x6eff89['pMUxc']),_0x4bc8e6=path[_0x2a5a82(0x95)](__dirname,_0x6eff89[_0x2a5a82(0x10c)],_0x6eff89[_0x2a5a82(0xe9)]),_0x18932d=path[_0x2a5a82(0x95)](__dirname,_0x6eff89[_0x2a5a82(0x10c)],_0x6eff89[_0x2a5a82(0xcd)]);_0x5b530b['testEnvironment']&&(process[_0x2a5a82(0xfc)][_0x2a5a82(0x7f)]=_0x5b530b[_0x2a5a82(0x14c)]);_0x5b530b[_0x2a5a82(0x14c)]=path[_0x2a5a82(0x95)](__dirname,_0x6eff89[_0x2a5a82(0x10c)],_0x6eff89[_0x2a5a82(0xce)]);const _0x539358=_0x10b174[_0x2a5a82(0xef)];if(_0x539358&&_0x6eff89[_0x2a5a82(0xc3)](_0x539358,_0x6eff89[_0x2a5a82(0x170)])){const _0x2ba2a1=_0x539358[_0x2a5a82(0x8d)](_0x6eff89[_0x2a5a82(0x84)])?_0x539358:_0x2a5a82(0xe6)+_0x539358;process[_0x2a5a82(0xfc)][_0x2a5a82(0xd6)]=_0x2ba2a1,logger[_0x2a5a82(0x106)](_0x2a5a82(0xe7)+_0x2ba2a1);}_0x5b530b[_0x2a5a82(0xef)]=_0x4bc8e6,_0x5b530b['setupFilesAfterEnv']=_0x5b530b[_0x2a5a82(0xf2)]||[],_0x5b530b['setupFilesAfterEnv'][_0x2a5a82(0xd1)](path[_0x2a5a82(0x95)](__dirname,_0x6eff89[_0x2a5a82(0x148)]));_0x2ecfdf['isTestOrchestrationEnabled']()&&(_0x5b530b[_0x2a5a82(0x15a)]=path[_0x2a5a82(0x95)](__dirname,_0x6eff89[_0x2a5a82(0x10c)],_0x6eff89['uJWbN']));if(testhubUtils[_0x2a5a82(0x168)]()||BrowserstackCLI['getInstance']()[_0x2a5a82(0x10f)]()){let _0x570243=null;try{_0x570243=helper[_0x2a5a82(0x176)](_0x6eff89['ZyUQm'],_0x6eff89['wzhTv']);}catch(_0x2bbdc7){try{_0x570243=helper[_0x2a5a82(0x176)](_0x6eff89[_0x2a5a82(0x12b)],_0x6eff89[_0x2a5a82(0xb0)]);}catch(_0x2e66c3){_0x6eff89['tclTd'](debug,_0x2a5a82(0x120)+_0x2e66c3);}}_0x570243&&(testhubUtils[_0x2a5a82(0x168)]()&&_0x5b530b['setupFilesAfterEnv'][_0x2a5a82(0xd1)](path[_0x2a5a82(0x95)](__dirname,_0x6eff89[_0x2a5a82(0x94)],_0x6eff89['dtRzW'])),_0x5b530b[_0x2a5a82(0x112)]=path['join'](__dirname,_0x6eff89['UQAun'],_0x6eff89[_0x2a5a82(0xeb)]));}_0x5b530b['setupFiles']=_0x5b530b[_0x2a5a82(0x100)]||[];try{helper[_0x2a5a82(0xff)](),_0x5b530b[_0x2a5a82(0x100)][_0x2a5a82(0xd1)](path['join'](__dirname,_0x6eff89['oYsFO']));}catch{logger[_0x2a5a82(0x114)](_0x6eff89['yxtZl']);}try{helper[_0x2a5a82(0x105)][_0x2a5a82(0xaf)](null,[_0x6eff89['MaNns'],_0x6eff89[_0x2a5a82(0x13c)]]),logger[_0x2a5a82(0x114)](_0x6eff89[_0x2a5a82(0x88)]),_0x5b530b['setupFiles']['push'](path[_0x2a5a82(0x95)](__dirname,_0x6eff89[_0x2a5a82(0xbe)]));}catch(_0x5bca89){logger[_0x2a5a82(0x114)](_0x6eff89[_0x2a5a82(0x9d)],_0x5bca89);}if(_0x6eff89['pIJxP'](!_0x1c38ab,_0x1e3410)){try{logger['debug'](_0x6eff89[_0x2a5a82(0xb9)]),_0x5b530b[_0x2a5a82(0xf2)][_0x2a5a82(0xd1)](path[_0x2a5a82(0x95)](__dirname,'..',_0x6eff89[_0x2a5a82(0x8c)],_0x6eff89[_0x2a5a82(0xbe)]));}catch(_0x2736d1){logger[_0x2a5a82(0x114)](_0x2a5a82(0xc9)+_0x2736d1['message']);}try{const _0x1d202f=require['resolve'](_0x6eff89[_0x2a5a82(0x160)]),_0xbf2b6b=path[_0x2a5a82(0x129)](_0x1d202f)[_0x2a5a82(0x14b)](/\\/g,'/'),_0x11155a={};_0x11155a[_0x2a5a82(0x144)]=_0xbf2b6b+_0x2a5a82(0x159),_0x5b530b[_0x2a5a82(0x163)]=Object['assign']({},_0x5b530b[_0x2a5a82(0x163)]||{},_0x11155a),logger[_0x2a5a82(0x114)]('[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20'+_0xbf2b6b);}catch(_0x517ab3){logger[_0x2a5a82(0x114)]('[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20'+_0x517ab3[_0x2a5a82(0x96)]);}}_0x5b530b[_0x2a5a82(0x116)]=_0x5b530b[_0x2a5a82(0x116)]||[_0x6eff89[_0x2a5a82(0x16b)]],_0x6eff89[_0x2a5a82(0xfb)](updateTestRerunConfig,_0x5b530b,_0x31ea64);const _0x392bc3=fs[_0x2a5a82(0x133)](_0x18932d),_0x50c822=helper[_0x2a5a82(0x184)](_0x6eff89[_0x2a5a82(0xa0)],_0x6eff89[_0x2a5a82(0x139)]);!_0x50c822[_0x2a5a82(0x165)]?fs[_0x2a5a82(0x8e)](_0x5b530b['runner'],_0x2a5a82(0xa5)+_0x392bc3+_0x2a5a82(0x169)+_0x31ea64['config'][_0x2a5a82(0xb3)][_0x2a5a82(0x13e)]+_0x2a5a82(0xc6)):fs[_0x2a5a82(0x8e)](_0x5b530b[_0x2a5a82(0xef)],_0x2a5a82(0xa5)+_0x392bc3+'\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'+_0x31ea64[_0x2a5a82(0x15e)]['platforms'][_0x2a5a82(0x13e)]+_0x2a5a82(0x119));logger[_0x2a5a82(0x106)](_0x2a5a82(0xe8)+_0x4ae538+_0x2a5a82(0xed)),fs['writeFileSync'](_0x4ae538,_0x2a5a82(0xbb)+JSON[_0x2a5a82(0x8a)](_0x5b530b)+_0x2a5a82(0xa6));if(_0x2ecfdf[_0x2a5a82(0x136)]()){logger[_0x2a5a82(0x114)](_0x6eff89[_0x2a5a82(0x15c)]);const _0xb9aed7=await _0x2ecfdf[_0x2a5a82(0x11b)](_0x5b530b,_0x51b6d7[_0x2a5a82(0xec)](0x1),_0x4ae538);logger[_0x2a5a82(0x114)]('Found:\x20'+JSON['stringify'](_0xb9aed7)+_0x2a5a82(0x111));const _0x284b49=await _0x2ecfdf[_0x2a5a82(0x81)](_0xb9aed7);logger[_0x2a5a82(0x114)](_0x2a5a82(0x9e)+JSON[_0x2a5a82(0x8a)](_0x284b49)),_0x284b49&&_0x6eff89['ngvzf'](_0x284b49[_0x2a5a82(0x13e)],0x0)&&(process[_0x2a5a82(0xfc)]['JEST_TEST_ORDER']=_0x284b49?.[_0x2a5a82(0x95)](','));}logger[_0x2a5a82(0x106)](_0x6eff89[_0x2a5a82(0x118)]);testhubUtils[_0x2a5a82(0x168)]()&&TestDetails[_0x2a5a82(0xd0)]();helper[_0x2a5a82(0x107)]({},_0x51b6d7),PerformanceTester[_0x2a5a82(0x12d)](PerformanceEvents['SDK_SETUP']);const _0x5d6d14=[_0x6eff89['dCocv'],_0x6eff89[_0x2a5a82(0xd8)],_0x4ae538,..._0x51b6d7[_0x2a5a82(0xec)](0x1)];process['env'][_0x2a5a82(0x183)]=process[_0x2a5a82(0xfc)][_0x2a5a82(0x183)]||_0x6eff89[_0x2a5a82(0x14f)];const _0x1250f6=_0x6eff89['VPGPj'](spawn,_0x6eff89[_0x2a5a82(0x17c)],_0x5d6d14,{'shell':_0x6eff89[_0x2a5a82(0x13f)](process[_0x2a5a82(0x124)],_0x6eff89[_0x2a5a82(0x164)]),'stdio':_0x6eff89['TyQSd'],'env':Object[_0x2a5a82(0xd5)]({},process[_0x2a5a82(0xfc)])});_0x1250f6['on'](_0x6eff89[_0x2a5a82(0xb2)],async _0x465ccb=>{const _0x34d565=_0x2a5a82;PerformanceTester[_0x34d565(0x152)](PerformanceEvents[_0x34d565(0xae)]),process[_0x34d565(0x151)]=_0x465ccb,logger[_0x34d565(0x114)]('child\x20process\x20exited\x20with\x20code\x20'+_0x465ccb),logger[_0x34d565(0x106)](_0x34d565(0xa2)+_0x4ae538);if(helper['isNotUndefined'](_0x188748)&&helper[_0x34d565(0x150)](_0x188748[_0x34d565(0x16c)])&&fs[_0x34d565(0xd7)](_0x188748['abortBuildOnFailure'][_0x34d565(0x146)]))try{const _0x4806ea={};_0x4806ea['recursive']=!![],_0x4806ea[_0x34d565(0xb1)]=!![],fs[_0x34d565(0xdf)](_0x188748[_0x34d565(0x16c)]['workingDir'],_0x4806ea),logger['debug']('Deleted\x20fail-fast\x20state\x20folder:\x20'+_0x188748[_0x34d565(0x16c)]['workingDir']);}catch(_0x25d2b5){logger[_0x34d565(0x165)]('Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20'+_0x25d2b5);}let _0x18a068=null;if(fs[_0x34d565(0xd7)](_0x5279d7)){_0x18a068=fs['readFileSync'](_0x5279d7);try{_0x18a068=JSON[_0x34d565(0x182)](_0x18a068);}catch(_0x33e554){logger[_0x34d565(0x114)](_0x34d565(0x132)+_0x5279d7+',\x20'+_0x18a068+'\x20:\x20'+_0x33e554);}fs['unlinkSync'](_0x5279d7);}fs[_0x34d565(0xa3)](_0x4ae538),fs[_0x34d565(0xa3)](_0x4bc8e6),_0x18a068&&(_0x31ea64[_0x34d565(0x15b)]=helper[_0x34d565(0x14a)](_0x18a068,_0x6eff89[_0x34d565(0x14f)],_0x31ea64));const _0x2164ea=BrowserstackCLI['isCLIEnabled']();try{await TestHubHandler[_0x34d565(0x110)](),await BrowserstackCLI[_0x34d565(0x126)]()[_0x34d565(0x110)]();}catch(_0x55b388){console['log'](_0x55b388),_0x6eff89[_0x34d565(0x177)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util[_0x34d565(0x17e)](_0x55b388));}testOpsHelper[_0x34d565(0xe5)](),TestDetails[_0x34d565(0x16a)](),await utilities[_0x34d565(0x174)](_0x31ea64,_0x2164ea);});}module[a21_0x43728c(0x16d)]=run;
|
|
2
|
+
'use strict';const a21_0x7beb13=a21_0x163d;(function(_0xa5c8b1,_0x45e019){const _0x36c470=a21_0x163d,_0x21ffda=_0xa5c8b1();while(!![]){try{const _0x2da84f=-parseInt(_0x36c470(0x155))/0x1+-parseInt(_0x36c470(0x1e8))/0x2+-parseInt(_0x36c470(0x197))/0x3+parseInt(_0x36c470(0x1b1))/0x4*(-parseInt(_0x36c470(0x149))/0x5)+-parseInt(_0x36c470(0x181))/0x6*(-parseInt(_0x36c470(0x107))/0x7)+-parseInt(_0x36c470(0x1c7))/0x8*(parseInt(_0x36c470(0x1bd))/0x9)+parseInt(_0x36c470(0x1e0))/0xa;if(_0x2da84f===_0x45e019)break;else _0x21ffda['push'](_0x21ffda['shift']());}catch(_0x52594a){_0x21ffda['push'](_0x21ffda['shift']());}}}(a21_0x581a,0xee06b));const fs=require('fs'),path=require(a21_0x7beb13(0x14e)),util=require(a21_0x7beb13(0xff)),{spawn}=require('child_process'),logger=require('../../helpers/logger')[a21_0x7beb13(0x1e5)],{default:BrowserStackSetup}=require(a21_0x7beb13(0x1b7)),helper=require(a21_0x7beb13(0x1a5)),utilities=require(a21_0x7beb13(0x17a)),constants=require(a21_0x7beb13(0x117)),accessibilityHelper=require('../../helpers/accessibility-automation/helper'),{updateTestRerunConfig}=require(a21_0x7beb13(0x15e)),testOpsHelper=require(a21_0x7beb13(0x1d1)),{debug}=require('../../helpers/test-observability/utils'),TestDetails=require(a21_0x7beb13(0x124)),{getPercyOptions}=require(a21_0x7beb13(0x195)),TestHubHandler=require(a21_0x7beb13(0x1e1)),testhubUtils=require(a21_0x7beb13(0x145)),{FRAMEWORKS}=require(a21_0x7beb13(0x14f)),PerformanceTester=require(a21_0x7beb13(0x14b)),PerformanceEvents=require('../../helpers/performance/constants')[a21_0x7beb13(0x106)],TestOrchestrationHandler=require(a21_0x7beb13(0x133)),BrowserstackCLI=require(a21_0x7beb13(0xee)),{checkPwandBootstrapCli}=require('../../helpers/playwright-helper'),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a21_0x7beb13(0x1ce)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),{checkAccessibilityPlatformConfig}=require(a21_0x7beb13(0x148)),getUserJestConfigs=async(_0x33a785,_0x4bdbe2)=>{const _0x1c28ca=a21_0x7beb13,_0x6d5c19={'yueub':_0x1c28ca(0x188),'MXHeH':_0x1c28ca(0x183),'AUJmk':function(_0x336fb2,_0x46370d){return _0x336fb2||_0x46370d;},'Sdcse':function(_0x2cd078,_0x29ad0d){return _0x2cd078(_0x29ad0d);},'twmPc':_0x1c28ca(0x1b0),'SfLGr':_0x1c28ca(0x1b6),'qvrRH':_0x1c28ca(0x1b8),'jIgag':'cjs','VHBaO':_0x1c28ca(0xf8)};let _0x42579e;try{_0x42579e=helper['requireModule'](_0x6d5c19[_0x1c28ca(0x1a0)],_0x6d5c19[_0x1c28ca(0x105)]);}catch{const _0x2dbde0=helper[_0x1c28ca(0x160)](_0x6d5c19[_0x1c28ca(0x105)]);_0x42579e={'default':async _0x4eb888=>{const _0x5527c3=await _0x2dbde0['readInitialOptions'](_0x4eb888,{});return _0x5527c3['config'];}};}const _0x505214=_0x4bdbe2[_0x1c28ca(0x1c1)](_0x34bf27=>_0x34bf27===_0x1c28ca(0x18d));if(!helper[_0x1c28ca(0x102)](_0x33a785[_0x1c28ca(0x1e3)])){logger[_0x1c28ca(0x10d)](_0x1c28ca(0x13e)+_0x33a785[_0x1c28ca(0x1e3)]),process['env']['USER_CONFIG_DETAILS_PATH']=_0x33a785['config'];const _0x2f9e2c=await(0x0,_0x42579e[_0x1c28ca(0x138)])(path[_0x1c28ca(0x16a)](_0x33a785[_0x1c28ca(0x1e3)]));return _0x4bdbe2[_0x1c28ca(0x178)](_0x505214,0x2),_0x6d5c19['AUJmk'](_0x2f9e2c,{});}const _0x362c58=_0x6d5c19[_0x1c28ca(0x14a)](require,path['join'](process[_0x1c28ca(0x17c)](),_0x6d5c19[_0x1c28ca(0x111)]));if(_0x362c58['jest'])return logger['info'](_0x6d5c19[_0x1c28ca(0x185)]),_0x362c58[_0x1c28ca(0x16e)];const _0x496089=['js',_0x6d5c19[_0x1c28ca(0x127)],_0x6d5c19[_0x1c28ca(0x15d)],_0x6d5c19[_0x1c28ca(0x132)],'ts'];for(const _0x3205a8 of _0x496089){const _0x12559a=path['join'](process[_0x1c28ca(0x17c)](),'jest.config.'+_0x3205a8);if(fs[_0x1c28ca(0x1d4)](_0x12559a)){process[_0x1c28ca(0x112)]['USER_CONFIG_DETAILS_PATH']=_0x12559a;const _0x41e716=await(0x0,_0x42579e[_0x1c28ca(0x138)])(_0x12559a);return _0x41e716;}}return{};},getSerial=(_0x53c4dc,_0x39d0a1)=>{const _0x341cb4=a21_0x7beb13,_0x189723={};_0x189723['kbnON']=_0x341cb4(0x182),_0x189723[_0x341cb4(0x100)]=function(_0x5e1cf0,_0xc94677){return _0x5e1cf0>_0xc94677;},_0x189723[_0x341cb4(0x1d5)]=function(_0x235e29,_0x3b275d){return _0x235e29>_0x3b275d;},_0x189723[_0x341cb4(0x1b9)]='false';const _0x52322c=_0x189723;let _0x2eb2c5=_0x52322c['kbnON'];return _0x52322c['FEuoO'](_0x53c4dc['length'],0x1)&&(!_0x39d0a1[_0x341cb4(0x16d)]&&(helper[_0x341cb4(0x102)](_0x39d0a1[_0x341cb4(0x131)])||_0x52322c[_0x341cb4(0x1d5)](_0x39d0a1[_0x341cb4(0x131)],0x1)))&&(_0x2eb2c5=_0x52322c['vSpyX']),_0x2eb2c5;},getMaxWorkers=(_0x1711ff,_0x4eef0c,_0x52f6bf)=>{const _0x42008c=a21_0x7beb13,_0x17071f={'Qwpis':function(_0x30f9af,_0x55b9c2){return _0x30f9af(_0x55b9c2);}};let _0x32954c=0x1;if(!helper[_0x42008c(0x102)](_0x4eef0c[_0x42008c(0x1be)]))_0x32954c=_0x17071f[_0x42008c(0x113)](parseInt,_0x4eef0c[_0x42008c(0x1be)]);else{if(!helper['isUndefined'](_0x1711ff[_0x42008c(0x131)]))_0x32954c=_0x1711ff[_0x42008c(0x131)];else!helper[_0x42008c(0x102)](_0x52f6bf[_0x42008c(0x131)])&&(_0x32954c=_0x52f6bf[_0x42008c(0x131)]);}return _0x32954c;};async function run(_0x373a4e,_0x3ec593,_0x48f5d9){const _0x3e5197=a21_0x7beb13,_0x311b87={'swfSP':'jest','rTNYO':function(_0x5a8c87,_0xa77652){return _0x5a8c87(_0xa77652);},'yogAT':_0x3e5197(0x19a),'Hbfjj':function(_0x27e938){return _0x27e938();},'dXLUG':function(_0x172c5f,_0x5dec53,_0x2d92a0,_0x28c128){return _0x172c5f(_0x5dec53,_0x2d92a0,_0x28c128);},'TCFUY':function(_0x3a3b87,_0x527432,_0x1164f6,_0x442cd6){return _0x3a3b87(_0x527432,_0x1164f6,_0x442cd6);},'utWeG':function(_0x5baf68,_0x489e0e){return _0x5baf68!=_0x489e0e;},'fALfa':_0x3e5197(0x182),'hSufM':function(_0x4da2ec,_0x71a897,_0x5eafba){return _0x4da2ec(_0x71a897,_0x5eafba);},'VMZnO':'Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','QTvhr':function(_0x545f4c,_0x1f3749){return _0x545f4c(_0x1f3749);},'cHfvA':_0x3e5197(0xf9),'VDWbH':function(_0x26436d,_0x2c272d,_0xa925f6,_0x48d45e){return _0x26436d(_0x2c272d,_0xa925f6,_0x48d45e);},'NZqsn':function(_0xb82549,_0x4cd240){return _0xb82549*_0x4cd240;},'wQfVV':function(_0x23e717,_0x3f8ea1){return _0x23e717===_0x3f8ea1;},'fdcTM':_0x3e5197(0x169),'eWHGr':_0x3e5197(0x15b),'Haawl':_0x3e5197(0xf4),'zToPS':_0x3e5197(0x190),'dvERv':_0x3e5197(0x130),'AkzWv':_0x3e5197(0x1ae),'BnReZ':_0x3e5197(0x19f),'qtkrU':function(_0x40e4d4,_0x24eef3){return _0x40e4d4!==_0x24eef3;},'BILNm':_0x3e5197(0x10e),'sunLn':_0x3e5197(0x1a7),'IGwQL':_0x3e5197(0x12a),'Rxsok':_0x3e5197(0x15f),'GJVJm':'jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','DejEU':_0x3e5197(0x163),'aJocr':_0x3e5197(0x10b),'HJgag':_0x3e5197(0x166),'FFuaB':_0x3e5197(0x1aa),'jtzBI':_0x3e5197(0x1a4),'GuPvp':_0x3e5197(0xf2),'TiXdA':_0x3e5197(0x1a2),'KWJGR':_0x3e5197(0x1bb),'ouoyU':_0x3e5197(0x162),'hVWGy':'test.setup.js','LmHXD':'Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','SOhXD':function(_0x43b018,_0x23c0dc){return _0x43b018&&_0x23c0dc;},'ruNsA':_0x3e5197(0x144),'ikgBa':_0x3e5197(0x1b3),'lWAkn':_0x3e5197(0x1bf),'nqeeh':'default','qGmQz':function(_0x127645,_0x291a8a,_0x28db37){return _0x127645(_0x291a8a,_0x28db37);},'xPXYC':'@jest/core/build/ReporterDispatcher.js','DkcHf':_0x3e5197(0x19e),'gmegh':_0x3e5197(0x18a),'LicuV':function(_0x19d63d,_0x14d035){return _0x19d63d>_0x14d035;},'BzyJT':_0x3e5197(0x17e),'EaBHl':_0x3e5197(0x18d),'AGgqh':function(_0x57b9e5,_0x1e9021,_0x4f89a3,_0x51d758){return _0x57b9e5(_0x1e9021,_0x4f89a3,_0x51d758);},'OZgiS':_0x3e5197(0x1a8),'AaINP':_0x3e5197(0x168),'GoxBL':_0x3e5197(0x18b),'kJymE':_0x3e5197(0x116)},_0x57293e=helper[_0x3e5197(0x14c)](_0x311b87['yogAT']);global[_0x3e5197(0x184)]=!!_0x57293e;const _0x130d24=_0x311b87[_0x3e5197(0xf3)](getPuppeteerVersion);global[_0x3e5197(0x13d)]=!!_0x130d24;helper[_0x3e5197(0x15a)]()&&(await _0x48f5d9['initialize'](_0x373a4e),await helper[_0x3e5197(0x175)](_0x48f5d9[_0x3e5197(0x1e3)]));if(_0x57293e)await _0x311b87[_0x3e5197(0x12b)](checkPwandBootstrapCli,_0x57293e,constants['FRAMEWORKS']['JEST'],_0x48f5d9);else _0x130d24&&await _0x311b87[_0x3e5197(0x11d)](checkPuppeteerAndBootstrapCli,_0x130d24,constants[_0x3e5197(0x177)]['JEST'],_0x48f5d9);!BrowserstackCLI[_0x3e5197(0x1b2)]()[_0x3e5197(0xfa)]()&&await _0x48f5d9['setupBrowserstackLocal']();if(!_0x48f5d9[_0x3e5197(0x1e3)])return;_0x311b87[_0x3e5197(0x140)](_0x48f5d9[_0x3e5197(0x1e3)]['testObservability'],null)?process['env'][_0x3e5197(0x141)]=_0x48f5d9['config'][_0x3e5197(0x1ca)]:process[_0x3e5197(0x112)][_0x3e5197(0x141)]=_0x311b87['fALfa'];const _0xf09f2d=new TestOrchestrationHandler(_0x48f5d9[_0x3e5197(0x1e3)]),_0x51bfb9=await _0x311b87[_0x3e5197(0x11a)](getUserJestConfigs,_0x373a4e,_0x3ec593);logger[_0x3e5197(0x10d)](_0x311b87[_0x3e5197(0x159)]);const _0x257d7c=Object[_0x3e5197(0x187)]({},_0x51bfb9);_0x257d7c[_0x3e5197(0x1e6)]=Object[_0x3e5197(0x187)]({},_0x257d7c[_0x3e5197(0x1e6)],{'server':helper[_0x3e5197(0x118)](_0x48f5d9[_0x3e5197(0x1e3)]),'environment':_0x51bfb9[_0x3e5197(0x1c6)]}),_0x257d7c[_0x3e5197(0x1e6)][_0x3e5197(0x156)]=_0x311b87[_0x3e5197(0x126)](getPercyOptions,_0x48f5d9[_0x3e5197(0x1e3)]);const _0x5d0762=helper[_0x3e5197(0x1c0)](_0x48f5d9[_0x3e5197(0x1e3)]);!helper[_0x3e5197(0x102)](_0x48f5d9['config'][_0x3e5197(0x134)])&&(process[_0x3e5197(0x112)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x48f5d9[_0x3e5197(0x1e3)][_0x3e5197(0x134)]));if(!BrowserstackCLI[_0x3e5197(0x1b2)]()[_0x3e5197(0xfa)]()){const _0x4285b6=await TestHubHandler['launchBuild'](FRAMEWORKS[_0x3e5197(0x1dc)],_0x48f5d9);}const _0x5eb201=helper['prepareCapabilities'](_0x48f5d9[_0x3e5197(0x1e3)],_0x5d0762,constants[_0x3e5197(0x177)][_0x3e5197(0x1dc)]);process[_0x3e5197(0x112)][_0x3e5197(0x1e2)]=JSON[_0x3e5197(0x11c)](_0x5eb201);let _0x293138=_0x48f5d9[_0x3e5197(0x1e3)][_0x3e5197(0x179)];_0x293138=_0x293138||accessibilityHelper[_0x3e5197(0xf5)](_0x48f5d9[_0x3e5197(0x1e3)]),process[_0x3e5197(0x112)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x293138,logger['debug'](_0x3e5197(0x114)+_0x293138+',\x20CLI\x20running:\x20'+BrowserstackCLI[_0x3e5197(0x1b2)]()[_0x3e5197(0xfa)]());if(_0x57293e)try{const _0x17b26=_0x311b87[_0x3e5197(0x1c8)](checkAccessibilityPlatformConfig,_0x48f5d9[_0x3e5197(0x1e3)]);process[_0x3e5197(0x112)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x17b26?_0x311b87[_0x3e5197(0x151)]:_0x311b87['cHfvA'],logger['debug']('[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20'+_0x17b26+_0x3e5197(0x194)+process[_0x3e5197(0x112)][_0x3e5197(0x1af)]);}catch(_0x5c56fa){logger[_0x3e5197(0x18c)](_0x3e5197(0x1ad)+util[_0x3e5197(0x1c5)](_0x5c56fa));}_0x257d7c[_0x3e5197(0x1e6)][_0x3e5197(0x123)]=_0x5eb201,_0x257d7c['testEnvironmentOptions'][_0x3e5197(0xfd)]=_0x311b87[_0x3e5197(0x11a)](getSerial,_0x5eb201,_0x373a4e),_0x257d7c[_0x3e5197(0x1e6)][_0x3e5197(0x16c)]=_0x311b87[_0x3e5197(0x16f)](getMaxWorkers,_0x373a4e,_0x48f5d9[_0x3e5197(0x1e3)],_0x51bfb9),_0x257d7c[_0x3e5197(0x1e6)][_0x3e5197(0xf7)]=_0x48f5d9[_0x3e5197(0x1e3)]['proxySettings'],_0x257d7c[_0x3e5197(0x1e6)]['timeout__']=_0x311b87[_0x3e5197(0x125)](_0x373a4e[_0x3e5197(0x191)],0x1)||0x1388,_0x257d7c['testEnvironmentOptions'][_0x3e5197(0x122)]=_0x48f5d9[_0x3e5197(0x1e3)]['testContextOptions']['skipSessionName'],_0x257d7c['testEnvironmentOptions'][_0x3e5197(0x176)]=_0x48f5d9[_0x3e5197(0x1e3)][_0x3e5197(0x1c3)][_0x3e5197(0x176)],_0x257d7c[_0x3e5197(0x1e6)]['browserStackLogLevel']=_0x48f5d9['config'][_0x3e5197(0x1c9)],_0x257d7c['testEnvironmentOptions'][_0x3e5197(0x1cb)]=_0x48f5d9[_0x3e5197(0x1e3)]['turboScaleUrl'],_0x257d7c[_0x3e5197(0x1e6)][_0x3e5197(0xf6)]=_0x48f5d9[_0x3e5197(0x1e3)][_0x3e5197(0xfe)],Object['assign'](_0x257d7c[_0x3e5197(0x1e6)],helper['getMultiDriverWorkerConfig'](_0x48f5d9[_0x3e5197(0x1e3)],_0x5d0762,constants['FRAMEWORKS']['JEST']));const _0x480821=helper[_0x3e5197(0x13f)](_0x48f5d9[_0x3e5197(0x1e3)]);if(!helper[_0x3e5197(0x1cc)](_0x480821)){helper[_0x3e5197(0x1d3)](_0x480821[_0x3e5197(0xf0)])&&(_0x257d7c[_0x3e5197(0x1e6)]['retries__']=_0x480821[_0x3e5197(0xf0)][_0x3e5197(0x10c)]);if(helper[_0x3e5197(0x1d3)](_0x480821['abortBuildOnFailure'])&&helper[_0x3e5197(0x1d3)](_0x480821[_0x3e5197(0x193)][_0x3e5197(0x1a1)])){const _0x447708={};_0x447708['failureThresholdCount']=_0x480821[_0x3e5197(0x193)][_0x3e5197(0xfb)],_0x447708[_0x3e5197(0x1a1)]=_0x480821[_0x3e5197(0x193)][_0x3e5197(0x1a1)],_0x257d7c[_0x3e5197(0x1e6)]['failFast']=_0x447708;}}let _0x14778a='';_0x311b87['wQfVV'](helper['getPackageType'](),constants['PACKAGE_TYPE'][_0x3e5197(0x180)])?_0x14778a=_0x311b87[_0x3e5197(0x128)]:_0x14778a=_0x311b87['eWHGr'];const _0x423259=_0x14778a,_0x33d70c=path['join'](__dirname,_0x311b87[_0x3e5197(0x12d)],_0x311b87[_0x3e5197(0x139)]),_0x107cc6=path[_0x3e5197(0x1d7)](__dirname,_0x311b87['Haawl'],_0x311b87[_0x3e5197(0x110)]),_0x165c7e=path['join'](__dirname,_0x311b87[_0x3e5197(0x12d)],_0x311b87[_0x3e5197(0x1d6)]);_0x257d7c['testEnvironment']&&(process[_0x3e5197(0x112)]['BSTACK_JEST_TEST_ENV']=_0x257d7c[_0x3e5197(0x1c6)]);_0x257d7c[_0x3e5197(0x1c6)]=path[_0x3e5197(0x1d7)](__dirname,_0x311b87['Haawl'],_0x311b87[_0x3e5197(0x10f)]);const _0x3466df=_0x51bfb9[_0x3e5197(0x19b)];if(_0x3466df&&_0x311b87['qtkrU'](_0x3466df,_0x311b87[_0x3e5197(0x19c)])){const _0x79ce7a=_0x3466df[_0x3e5197(0x1de)](_0x311b87[_0x3e5197(0x11e)])?_0x3466df:_0x3e5197(0x1a7)+_0x3466df;process['env'][_0x3e5197(0x174)]=_0x79ce7a,logger['info']('Preserving\x20user\x27s\x20Jest\x20runner:\x20'+_0x79ce7a);}_0x257d7c['runner']=_0x107cc6,_0x257d7c['setupFilesAfterEnv']=_0x257d7c[_0x3e5197(0x129)]||[],_0x257d7c[_0x3e5197(0x129)][_0x3e5197(0x161)](path['join'](__dirname,_0x311b87[_0x3e5197(0x1d0)]));_0xf09f2d['isTestOrchestrationEnabled']()&&(_0x257d7c['testSequencer']=path[_0x3e5197(0x1d7)](__dirname,_0x311b87[_0x3e5197(0x12d)],_0x311b87['Rxsok']));if(testhubUtils[_0x3e5197(0x157)]()||BrowserstackCLI[_0x3e5197(0x1b2)]()['isCliEnabled']()){let _0x11ddd2=null;try{_0x11ddd2=helper[_0x3e5197(0x160)](_0x311b87['GJVJm'],_0x311b87[_0x3e5197(0x1d8)]);}catch(_0x3fc2fe){try{_0x11ddd2=helper['requireModule'](_0x311b87['aJocr'],_0x311b87[_0x3e5197(0x1d8)]);}catch(_0x2f1f11){_0x311b87['QTvhr'](debug,_0x3e5197(0x13a)+_0x2f1f11);}}_0x11ddd2&&(testhubUtils[_0x3e5197(0x157)]()&&_0x257d7c[_0x3e5197(0x129)][_0x3e5197(0x161)](path['join'](__dirname,_0x311b87[_0x3e5197(0x16b)],_0x311b87[_0x3e5197(0x12e)])),_0x257d7c[_0x3e5197(0x13c)]=path[_0x3e5197(0x1d7)](__dirname,_0x311b87[_0x3e5197(0x12d)],_0x311b87[_0x3e5197(0x186)]));}_0x257d7c[_0x3e5197(0x1da)]=_0x257d7c['setupFiles']||[];try{helper[_0x3e5197(0x198)](),_0x257d7c[_0x3e5197(0x1da)]['push'](path[_0x3e5197(0x1d7)](__dirname,_0x311b87[_0x3e5197(0x121)]));}catch{logger[_0x3e5197(0x18c)](_0x311b87['TiXdA']);}try{helper[_0x3e5197(0x115)]['apply'](null,[_0x311b87[_0x3e5197(0x158)],_0x311b87[_0x3e5197(0x165)]]),logger[_0x3e5197(0x18c)](_0x311b87[_0x3e5197(0x1d9)]),_0x257d7c[_0x3e5197(0x1da)]['push'](path[_0x3e5197(0x1d7)](__dirname,_0x311b87['hVWGy']));}catch(_0x25b399){logger[_0x3e5197(0x18c)](_0x311b87[_0x3e5197(0x173)],_0x25b399);}if(_0x311b87['SOhXD'](!_0x57293e,_0x130d24)){try{logger[_0x3e5197(0x18c)](_0x311b87[_0x3e5197(0x1c4)]),_0x257d7c[_0x3e5197(0x129)][_0x3e5197(0x161)](path[_0x3e5197(0x1d7)](__dirname,'..',_0x311b87[_0x3e5197(0x1bc)],_0x311b87[_0x3e5197(0x18e)]));}catch(_0x2a6cee){logger[_0x3e5197(0x18c)]('Puppeteer\x20setup\x20error:\x20'+_0x2a6cee[_0x3e5197(0x17d)]);}try{const _0x50d462=require[_0x3e5197(0x16a)](_0x311b87[_0x3e5197(0x189)]),_0x51bad2=path[_0x3e5197(0x1e4)](_0x50d462)[_0x3e5197(0x170)](/\\/g,'/'),_0x1f14da={};_0x1f14da[_0x3e5197(0x1dd)]=_0x51bad2+_0x3e5197(0x167),_0x257d7c[_0x3e5197(0x119)]=Object[_0x3e5197(0x187)]({},_0x257d7c[_0x3e5197(0x119)]||{},_0x1f14da),logger[_0x3e5197(0x18c)]('[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20'+_0x51bad2);}catch(_0x226267){logger['debug']('[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20'+_0x226267[_0x3e5197(0x17d)]);}}_0x257d7c[_0x3e5197(0x1ba)]=_0x257d7c[_0x3e5197(0x1ba)]||[_0x311b87[_0x3e5197(0x199)]],_0x311b87[_0x3e5197(0x152)](updateTestRerunConfig,_0x257d7c,_0x48f5d9);const _0x1ec174=fs[_0x3e5197(0x1cf)](_0x165c7e),_0x5e47d2=helper[_0x3e5197(0x154)](_0x311b87[_0x3e5197(0x1ac)],_0x311b87[_0x3e5197(0x1e7)]);!_0x5e47d2['error']?fs[_0x3e5197(0x1ab)](_0x257d7c[_0x3e5197(0x19b)],'\x0a\x20\x20\x20\x20\x20\x20'+_0x1ec174+_0x3e5197(0x109)+_0x48f5d9['config']['platforms'][_0x3e5197(0x17f)]+_0x3e5197(0x150)):fs[_0x3e5197(0x1ab)](_0x257d7c[_0x3e5197(0x19b)],_0x3e5197(0x1a3)+_0x1ec174+_0x3e5197(0x1d2)+_0x48f5d9['config'][_0x3e5197(0xfe)]['length']+_0x3e5197(0x137));logger[_0x3e5197(0x10d)](_0x3e5197(0x13b)+_0x423259+_0x3e5197(0x1b4)),fs[_0x3e5197(0x1ab)](_0x423259,'const\x20config='+JSON[_0x3e5197(0x11c)](_0x257d7c)+_0x3e5197(0x19d));if(_0xf09f2d['isTestOrchestrationEnabled']()){logger[_0x3e5197(0x18c)](_0x311b87[_0x3e5197(0x15c)]);const _0x18e755=await _0xf09f2d['findTestFiles'](_0x257d7c,_0x3ec593[_0x3e5197(0x1b5)](0x1),_0x423259);logger[_0x3e5197(0x18c)](_0x3e5197(0x11f)+JSON['stringify'](_0x18e755)+_0x3e5197(0x17b));const _0x243b8c=await _0xf09f2d[_0x3e5197(0x146)](_0x18e755);logger['debug'](_0x3e5197(0x1a9)+JSON[_0x3e5197(0x11c)](_0x243b8c)),_0x243b8c&&_0x311b87[_0x3e5197(0x10a)](_0x243b8c['length'],0x0)&&(process[_0x3e5197(0x112)][_0x3e5197(0x171)]=_0x243b8c?.[_0x3e5197(0x1d7)](','));}logger[_0x3e5197(0x10d)](_0x311b87[_0x3e5197(0x104)]);testhubUtils['shouldProcessEventForTesthub']()&&TestDetails['setup']();helper[_0x3e5197(0x18f)]({},_0x3ec593),PerformanceTester['end'](PerformanceEvents['SDK_SETUP']);const _0x43d9f2=[_0x311b87['swfSP'],_0x311b87[_0x3e5197(0x1cd)],_0x423259,..._0x3ec593[_0x3e5197(0x1b5)](0x1)];process[_0x3e5197(0x112)][_0x3e5197(0x1db)]=process[_0x3e5197(0x112)]['BROWSERSTACK_FRAMEWORK']||_0x311b87['swfSP'];const _0x510e9b=_0x311b87['AGgqh'](spawn,_0x311b87[_0x3e5197(0xf1)],_0x43d9f2,{'shell':_0x311b87[_0x3e5197(0x135)](process['platform'],_0x311b87[_0x3e5197(0xef)]),'stdio':_0x311b87['GoxBL'],'env':Object[_0x3e5197(0x187)]({},process['env'])});_0x510e9b['on'](_0x311b87[_0x3e5197(0x192)],async _0x3ee4bd=>{const _0x508bdc=_0x3e5197;PerformanceTester[_0x508bdc(0x12f)](PerformanceEvents[_0x508bdc(0x164)]),process[_0x508bdc(0x172)]=_0x3ee4bd,logger[_0x508bdc(0x18c)]('child\x20process\x20exited\x20with\x20code\x20'+_0x3ee4bd),logger[_0x508bdc(0x10d)](_0x508bdc(0x14d)+_0x423259);if(helper[_0x508bdc(0x1d3)](_0x480821)&&helper['isNotUndefined'](_0x480821[_0x508bdc(0x193)])&&fs[_0x508bdc(0x1d4)](_0x480821['abortBuildOnFailure'][_0x508bdc(0x1a1)]))try{const _0x1dc2f6={};_0x1dc2f6[_0x508bdc(0x12c)]=!![],_0x1dc2f6[_0x508bdc(0x143)]=!![],fs[_0x508bdc(0xfc)](_0x480821[_0x508bdc(0x193)]['workingDir'],_0x1dc2f6),logger[_0x508bdc(0x18c)]('Deleted\x20fail-fast\x20state\x20folder:\x20'+_0x480821[_0x508bdc(0x193)][_0x508bdc(0x1a1)]);}catch(_0x467c1c){logger['error'](_0x508bdc(0x101)+_0x467c1c);}let _0x3aa41d=null;if(fs[_0x508bdc(0x1d4)](_0x33d70c)){_0x3aa41d=fs[_0x508bdc(0x1cf)](_0x33d70c);try{_0x3aa41d=JSON[_0x508bdc(0x196)](_0x3aa41d);}catch(_0x38f9be){logger[_0x508bdc(0x18c)]('Error\x20while\x20parsing\x20'+_0x33d70c+',\x20'+_0x3aa41d+_0x508bdc(0x11b)+_0x38f9be);}fs[_0x508bdc(0x136)](_0x33d70c);}fs[_0x508bdc(0x136)](_0x423259),fs[_0x508bdc(0x136)](_0x107cc6),_0x3aa41d&&(_0x48f5d9[_0x508bdc(0x103)]=helper['getErrorMessageFromResults'](_0x3aa41d,_0x311b87[_0x508bdc(0x142)],_0x48f5d9));const _0x4873b1=BrowserstackCLI[_0x508bdc(0x120)]();try{await TestHubHandler[_0x508bdc(0x1df)](),await BrowserstackCLI[_0x508bdc(0x1b2)]()[_0x508bdc(0x1df)]();}catch(_0x5a9c9d){console['log'](_0x5a9c9d),_0x311b87['rTNYO'](debug,_0x508bdc(0x147)+util[_0x508bdc(0x1c5)](_0x5a9c9d));}testOpsHelper[_0x508bdc(0x153)](),TestDetails[_0x508bdc(0x1c2)](),await utilities[_0x508bdc(0x108)](_0x48f5d9,_0x4873b1);});}function a21_0x163d(_0x14a99b,_0x24e765){const _0x581a50=a21_0x581a();return a21_0x163d=function(_0x163dc8,_0x166f21){_0x163dc8=_0x163dc8-0xee;let _0xb27a58=_0x581a50[_0x163dc8];return _0xb27a58;},a21_0x163d(_0x14a99b,_0x24e765);}module[a21_0x7beb13(0x1a6)]=run;function a21_0x581a(){const _0x209d19=['Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','customTestRunnerTemplate.js','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','package.json','4sjhAEm','getInstance','puppeteer','\x20with\x20browserstack\x20jest\x20configs','slice','Getting\x20your\x20jest\x20configs\x20from\x20package.json','../../helpers/BrowserStackSetup','mjs','vSpyX','reporters','playwright','ikgBa','27171YATLic','parallelsPerPlatform','puppeteer-core/package.json','useW3C','findIndex','shutdown','testContextOptions','ruNsA','format','testEnvironment','1416FAOtWp','QTvhr','logLevel','testObservability','turboScaleUrl','isEmpty','EaBHl','../../helpers/puppeteer-helper','readFileSync','IGwQL','../../helpers/test-observability/utils','\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','isNotUndefined','existsSync','ETBJd','AkzWv','join','DejEU','ouoyU','setupFiles','BROWSERSTACK_FRAMEWORK','JEST','^puppeteer-core/internal/(.*)','startsWith','stop','26177380XpNgVx','../../helpers/testhub/testhubHandler','BROWSERSTACK_CAPABILITIES','config','dirname','winstonLogger','testEnvironmentOptions','DkcHf','909436uaEsrB','../v2/browserstackCLI','AaINP','retryTestsOnFailure','OZgiS','test_before.setup.js','Hbfjj','customImplements','checkAccessibilityPlatformConfig','platformCaps','proxySettings','json','false','isRunning','maxFailures','rmSync','serial__','platforms','util','FEuoO','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','isUndefined','errorMessage','BzyJT','MXHeH','EVENTS','425159RiZMHn','finalExecution','\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','LicuV','jest-circus/build/runner.js','maxRetries','info','jest-runner','BnReZ','dvERv','twmPc','env','Qwpis','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','requirePWModule','close','../utils/constants','getHubUrl','moduleNameMapper','hSufM','\x20:\x20','stringify','TCFUY','sunLn','Found:\x20','isCLIEnabled','GuPvp','skipSessionName','capabilities','./test-observability/test-details','NZqsn','rTNYO','qvrRH','fdcTM','setupFilesAfterEnv','jest.setup.js','dXLUG','recursive','Haawl','FFuaB','start','customTestRunner.js','maxWorkers','VHBaO','../../helpers/test-orchestration/testOrchestrationHandler','accessibilityOptions','wQfVV','unlinkSync',';\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','default','zToPS','Unable\x20to\x20find\x20jest-circus,\x20','Creating\x20','testRunner','__isPuppeteerInstalled','Getting\x20your\x20jest\x20configs\x20from\x20','parseTestOrchestrationOptions','utWeG','BROWSERSTACK_TEST_OBSERVABILITY_YML','swfSP','force','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','../../helpers/testhub/utils','reorderTestFiles','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','../../helpers/accessibility-automation/helper','814405PuorQS','Sdcse','../../helpers/performance/performance-tester','getPackageVersion','Deleting\x20','path','../../helpers/test-observability/constants',';\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','fALfa','qGmQz','printBuildLink','resolveModule','1494036POeENq','browserStackPercyOptions','shouldProcessEventForTesthub','yogAT','VMZnO','isBrowserstackInfra','jest_browserstack.config.js','gmegh','jIgag','./test-observability/helper','customSequencer.js','requireModule','push','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','jest-circus','SDK_CLEANUP','KWJGR','test-observability','/internal/$1','win32','jest_browserstack.config.cjs','resolve','HJgag','parallels__','runInBand','jest','VDWbH','replace','JEST_TEST_ORDER','exitCode','LmHXD','BSTACK_USER_JEST_RUNNER','handleApp','skipSessionStatus','FRAMEWORKS','splice','accessibility','../../helpers/utilities','\x20test\x20files\x20to\x20run.','cwd','message','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','length','MODULE','192ZpzFul','true','jest-config','__isPlaywrightInstalled','SfLGr','jtzBI','assign','jest-config/build/readConfigFileAndSetRootDir.js','lWAkn','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','inherit','debug','--config','hVWGy','filterBrowserstackArgs','jest_browserstack_results.json','testTimeout','kJymE','abortBuildOnFailure',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','../../helpers/percy/utils','parse','2821107KDhShw','requireSeleniumWebdriver','nqeeh','@playwright/test','runner','BILNm','\x0amodule.exports\x20=\x20config;','@jest/core','customEnvironment.js','yueub','workingDir','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','\x0a\x20\x20\x20\x20\x20\x20','customCircus.js','../../helpers/helper','exports','jest-runner-','npx','Reodered\x20Test\x20Files:\x20','data-hooks.js','writeFileSync','xPXYC'];a21_0x581a=function(){return _0x209d19;};return a21_0x581a();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a22_0x52ea(_0x5a7018,_0x75b288){const _0x46b884=a22_0x46b8();return a22_0x52ea=function(_0x52ea4c,_0x21bf9a){_0x52ea4c=_0x52ea4c-0x7b;let _0x2fe52f=_0x46b884[_0x52ea4c];return _0x2fe52f;},a22_0x52ea(_0x5a7018,_0x75b288);}const a22_0x38e753=a22_0x52ea;(function(_0x3fa97f,_0x53571b){const _0x450d70=a22_0x52ea,_0x4559de=_0x3fa97f();while(!![]){try{const _0x5ceac8=parseInt(_0x450d70(0x7c))/0x1+-parseInt(_0x450d70(0x82))/0x2+-parseInt(_0x450d70(0x8d))/0x3+parseInt(_0x450d70(0x80))/0x4*(-parseInt(_0x450d70(0x8b))/0x5)+parseInt(_0x450d70(0x7d))/0x6*(-parseInt(_0x450d70(0x86))/0x7)+parseInt(_0x450d70(0x8e))/0x8*(parseInt(_0x450d70(0x7b))/0x9)+parseInt(_0x450d70(0x8a))/0xa*(parseInt(_0x450d70(0x88))/0xb);if(_0x5ceac8===_0x53571b)break;else _0x4559de['push'](_0x4559de['shift']());}catch(_0x21cb4b){_0x4559de['push'](_0x4559de['shift']());}}}(a22_0x46b8,0xbcd52));const path=require('path'),{requireModule}=require(a22_0x38e753(0x81));let initJestAdapter;try{initJestAdapter=requireModule(a22_0x38e753(0x89),a22_0x38e753(0x87));}catch{initJestAdapter=requireModule('jest-circus/build/runner.js',a22_0x38e753(0x87));}function a22_0x46b8(){const _0x2eb89b=['1272616oDYwHE','join','9FobyLL','970634UfJwHV','7074zvTAFf','requireInternalModule','efrMh','12rWZaUZ','../../../helpers/helper','2377514TCNiNn','includes','initRequireModule','customJestAdapterInit.js','4837jrnjLQ','jest-circus','1243WjsgZT','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','152740cljvGH','50280ZXawEo','function','145803xwHams'];a22_0x46b8=function(){return _0x2eb89b;};return a22_0x46b8();}initJestAdapter=typeof initJestAdapter===a22_0x38e753(0x8c)?initJestAdapter:initJestAdapter['default'];const FRAMEWORK_INITIALIZER=path[a22_0x38e753(0x8f)](__dirname,a22_0x38e753(0x85));module['exports']=(..._0x10a5a5)=>{const _0x518812=a22_0x38e753,_0x22e579={'FUuyJ':'jestAdapterInit','efrMh':function(_0x419d60,_0x163f5a){return _0x419d60===_0x163f5a;},'ITpCJ':function(_0x3042b9,..._0x246be1){return _0x3042b9(..._0x246be1);}};return _0x10a5a5[0x3][_0x518812(0x84)]=_0x10a5a5[0x3][_0x518812(0x7e)],_0x10a5a5[0x3][_0x518812(0x7e)]=(..._0x1e6dc5)=>{const _0x3b6381=_0x518812;if(_0x1e6dc5[0x0]&&_0x1e6dc5[0x0][_0x3b6381(0x83)](_0x22e579['FUuyJ'])&&_0x22e579[_0x3b6381(0x7f)](_0x1e6dc5[0x1],undefined))return _0x10a5a5[0x3]['initRequireModule'](FRAMEWORK_INITIALIZER);return _0x10a5a5[0x3][_0x3b6381(0x84)](..._0x1e6dc5);},_0x22e579['ITpCJ'](initJestAdapter,..._0x10a5a5);};
|