browserstack-node-sdk 1.53.5 → 1.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +4 -3
- package/src/ai-sdk-node/bundle.js +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/integrations/command.js +1 -1
- package/src/bin/integrations/constants.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/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/builderPatch.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/nightwatch/command.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/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/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/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/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/testhubModule.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/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.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/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/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/timeoutPromise.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 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a10_0x1c415f=a10_0x4aec;function a10_0x4aec(_0xe93a87,_0x4793d9){const _0x5997e6=a10_0x5997();return a10_0x4aec=function(_0x4aec42,_0x30145a){_0x4aec42=_0x4aec42-0x9e;let _0x354e72=_0x5997e6[_0x4aec42];return _0x354e72;},a10_0x4aec(_0xe93a87,_0x4793d9);}(function(_0x88246f,_0x48a0ef){const _0x3208f7=a10_0x4aec,_0x263822=_0x88246f();while(!![]){try{const _0x2c1941=parseInt(_0x3208f7(0xb3))/0x1+parseInt(_0x3208f7(0xae))/0x2*(parseInt(_0x3208f7(0xca))/0x3)+parseInt(_0x3208f7(0xa6))/0x4+parseInt(_0x3208f7(0xbd))/0x5+-parseInt(_0x3208f7(0xb4))/0x6+-parseInt(_0x3208f7(0x9e))/0x7+parseInt(_0x3208f7(0xbf))/0x8*(-parseInt(_0x3208f7(0xab))/0x9);if(_0x2c1941===_0x48a0ef)break;else _0x263822['push'](_0x263822['shift']());}catch(_0x568651){_0x263822['push'](_0x263822['shift']());}}}(a10_0x5997,0xc7c9c));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require('../../helpers/helper'),setKeepAlive=require(a10_0x1c415f(0xb6)),cucumberModule=requireModule(a10_0x1c415f(0xb9),a10_0x1c415f(0xad)),logger=require('../../helpers/logger')['winstonLogger'];modifyCommand(),setKeepAlive();const Before=cucumberModule[a10_0x1c415f(0xbc)],After=cucumberModule['After'],configuration=process[a10_0x1c415f(0xc8)][a10_0x1c415f(0xa3)];if(configuration!==undefined){const config=JSON['parse'](configuration);isTrue(config[a10_0x1c415f(0xcc)])&&(global[a10_0x1c415f(0xa2)]=!![]),global[a10_0x1c415f(0xb5)]=isTrue(config[a10_0x1c415f(0xc3)]),require(a10_0x1c415f(0xc4))['browserstackAgentV2'](config),global[a10_0x1c415f(0xb7)]=config[a10_0x1c415f(0xaa)]||{};}global[a10_0x1c415f(0xc5)]=0x0;const __setDefaultTimeout=cucumberModule[a10_0x1c415f(0xaf)];function a10_0x5997(){const _0x8aa869=['name','executeScript','QeRXD','__skipSessionName','CONFIG','failed','AoYHI','4295912xQVLRQ','Error:\x20setting\x20status\x20at\x20After:\x20','SKJYM','result','platformCaps','4728177bzkIEe','LJHyR','cucumber','4uKzbkP','setDefaultTimeout','status','passed','timeout','893453YAVxhl','7089414byKnoN','__skipSessionStatus','../../helpers/setKeepAlive','__platformCaps','__error_messages__','cucumber/lib/index.js','initQuit','debug','Before','5699815xuxzZb','\x20|\x20','8wCSMJd','bzcta','join','UqMWi','skipSessionStatus','../../index','__timeout','\x22}}','__driver','env','bstack','321645DmNNnx','then','skipSessionName','HzcgH','ypVVN','session_','5575990NKIJEe'];a10_0x5997=function(){return _0x8aa869;};return a10_0x5997();}cucumberModule['setDefaultTimeout']=_0x514876=>{const _0x45bccd={'GozHO':function(_0x2361c7,_0x3ccb72){return _0x2361c7(_0x3ccb72);}};global['__timeout']=_0x514876,_0x45bccd['GozHO'](__setDefaultTimeout,_0x514876);};const a10_0x4ecad1={};a10_0x4ecad1['name']=a10_0x1c415f(0xc9),Before(a10_0x4ecad1,function(){const _0x21fde5=a10_0x1c415f,_0x8ec443={};_0x8ec443[_0x21fde5(0xcd)]='Inside\x20browserstack\x20Before';const _0x4dd7d2=_0x8ec443;logger[_0x21fde5(0xbb)](_0x4dd7d2[_0x21fde5(0xcd)]),global['__error_messages__']=[];});const a10_0x48c775={};a10_0x48c775[a10_0x1c415f(0x9f)]=a10_0x1c415f(0xc9),a10_0x48c775[a10_0x1c415f(0xb2)]=0x2710,After(a10_0x48c775,function(_0x415d4d,_0x20a724){const _0x4e32b2=a10_0x1c415f,_0x307047={'MIMWc':function(_0x10c12d,_0x49fc33){return _0x10c12d===_0x49fc33;},'SKJYM':_0x4e32b2(0xa4),'bzcta':function(_0x3d3b1f,_0x650e52,_0x463468,_0x2ec86a){return _0x3d3b1f(_0x650e52,_0x463468,_0x2ec86a);},'QeRXD':_0x4e32b2(0xbe),'KYQnC':function(_0x54d340,_0x2bcb4c,_0x38fa59){return _0x54d340(_0x2bcb4c,_0x38fa59);},'ypVVN':_0x4e32b2(0xb1),'UqMWi':function(_0x32aadc){return _0x32aadc();},'LJHyR':function(_0x5e6f1c,_0x359ac7){return _0x5e6f1c(_0x359ac7);},'AoYHI':'Inside\x20browserstack\x20After'};logger[_0x4e32b2(0xbb)](_0x307047[_0x4e32b2(0xa5)]),new Promise(async(_0x3b82c4,_0x4e63c1)=>{const _0x3dbf99=_0x4e32b2;let _0x207f84=![];try{await global[_0x3dbf99(0xc7)][_0x3dbf99(0xcf)],_0x207f84=!![],!global[_0x3dbf99(0xa2)]&&await global['__driver'][_0x3dbf99(0xa0)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22'+_0x415d4d['pickle'][_0x3dbf99(0x9f)]+_0x3dbf99(0xc6)),_0x307047['MIMWc'](_0x415d4d[_0x3dbf99(0xa9)][_0x3dbf99(0xb0)]['toLowerCase'](),_0x307047[_0x3dbf99(0xa8)])?await _0x307047[_0x3dbf99(0xc0)](markSessionStatus,global[_0x3dbf99(0xc7)],_0x307047[_0x3dbf99(0xa8)],global[_0x3dbf99(0xb8)][_0x3dbf99(0xc1)](_0x307047[_0x3dbf99(0xa1)])):await _0x307047['KYQnC'](markSessionStatus,global['__driver'],_0x307047[_0x3dbf99(0xce)]);}catch(_0x55e6c8){logger[_0x3dbf99(0xbb)](_0x3dbf99(0xa7)+_0x55e6c8);}if(_0x207f84)try{await global[_0x3dbf99(0xc7)][_0x3dbf99(0xba)](),_0x307047['UqMWi'](_0x3b82c4);}catch(_0x58a024){logger[_0x3dbf99(0xbb)]('Error:\x20quiting\x20at\x20After:\x20'+_0x58a024),_0x307047[_0x3dbf99(0xac)](_0x4e63c1,_0x58a024);}else _0x307047[_0x3dbf99(0xc2)](_0x4e63c1);})[_0x4e32b2(0xcb)](()=>_0x20a724());});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a11_0x36249c=a11_0x1001;function a11_0x106e(){const _0x4af956=['cucumber/lib/index.js','8TgdbAn','9kFkOJK','254694NtiMSf','502kRqFxn','155HOMAob','2555870duQCsO','150796sDbkCC','@cucumber/cucumber/lib/index.js','BSTACK_DELTA','3421243rjiMOk','114829vOOBdX','@cucumber/cucumber','cucumber','2998938aVAIPM','636CyWTBq','__timeout','3618cIvRYN','../../helpers/helper'];a11_0x106e=function(){return _0x4af956;};return a11_0x106e();}(function(_0x5771b3,_0x4a7a16){const _0x4defc2=a11_0x1001,_0x1bedb2=_0x5771b3();while(!![]){try{const _0x42efa3=parseInt(_0x4defc2(0x7b))/0x1+parseInt(_0x4defc2(0x74))/0x2*(parseInt(_0x4defc2(0x6e))/0x3)+-parseInt(_0x4defc2(0x77))/0x4*(parseInt(_0x4defc2(0x75))/0x5)+-parseInt(_0x4defc2(0x7e))/0x6+-parseInt(_0x4defc2(0x7a))/0x7*(-parseInt(_0x4defc2(0x71))/0x8)+parseInt(_0x4defc2(0x72))/0x9*(parseInt(_0x4defc2(0x76))/0xa)+parseInt(_0x4defc2(0x73))/0xb*(parseInt(_0x4defc2(0x6c))/0xc);if(_0x42efa3===_0x4a7a16)break;else _0x1bedb2['push'](_0x1bedb2['shift']());}catch(_0x537407){_0x1bedb2['push'](_0x1bedb2['shift']());}}}(a11_0x106e,0xafe9d));const {requireModule}=require(a11_0x36249c(0x6f)),constants=require('../utils/constants');let cucumberModule=null;try{cucumberModule=requireModule(a11_0x36249c(0x78),a11_0x36249c(0x7c));}catch(a11_0x45079e){cucumberModule=requireModule(a11_0x36249c(0x70),a11_0x36249c(0x7d));}function a11_0x1001(_0x1a7a0a,_0x22ffa9){const _0x106e48=a11_0x106e();return a11_0x1001=function(_0x10015f,_0x5c4741){_0x10015f=_0x10015f-0x6c;let _0x3b3e33=_0x106e48[_0x10015f];return _0x3b3e33;},a11_0x1001(_0x1a7a0a,_0x22ffa9);}const userValue=global[a11_0x36249c(0x6d)]||0x0;(userValue===0x0||userValue<constants[a11_0x36249c(0x79)])&&cucumberModule['setDefaultTimeout'](constants['BSTACK_DELTA']);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a12_0x2666bb=a12_0x3638;(function(_0x87dc0b,_0x1b927f){const _0x4714bd=a12_0x3638,_0x58e87c=_0x87dc0b();while(!![]){try{const _0xb0656f=parseInt(_0x4714bd(0x160))/0x1*(-parseInt(_0x4714bd(0x153))/0x2)+parseInt(_0x4714bd(0x172))/0x3+-parseInt(_0x4714bd(0x174))/0x4*(-parseInt(_0x4714bd(0x15e))/0x5)+parseInt(_0x4714bd(0x16a))/0x6*(parseInt(_0x4714bd(0x155))/0x7)+-parseInt(_0x4714bd(0x164))/0x8+parseInt(_0x4714bd(0x163))/0x9*(-parseInt(_0x4714bd(0x177))/0xa)+-parseInt(_0x4714bd(0x17c))/0xb*(parseInt(_0x4714bd(0x15c))/0xc);if(_0xb0656f===_0x1b927f)break;else _0x58e87c['push'](_0x58e87c['shift']());}catch(_0x2df02b){_0x58e87c['push'](_0x58e87c['shift']());}}}(a12_0x5913,0x5340b));const {default:BrowserStackSetup}=require(a12_0x2666bb(0x180)),logger=require(a12_0x2666bb(0x181))[a12_0x2666bb(0x191)],{URL}=require(a12_0x2666bb(0x18d)),helper=require(a12_0x2666bb(0x16d)),{HELP_MESSAGES,ERROR_MESSAGES}=require('./constants'),validHosts=function(_0x566ade){const _0x2bf0d4=a12_0x2666bb;return _0x566ade[_0x2bf0d4(0x16c)](',')[_0x2bf0d4(0x17d)](_0x3ed7cc=>{const _0x4cd899=_0x2bf0d4;try{new URL(_0x3ed7cc[_0x4cd899(0x189)]());}catch(_0x32b5ff){return![];}return!![];});},parseOnPremHosts=function(_0x22cd26){const _0x1f183e=a12_0x2666bb,_0x149c33={};_0x149c33['YAsDP']=function(_0x62fead,_0x4137c4){return _0x62fead===_0x4137c4;},_0x149c33[_0x1f183e(0x168)]='https:',_0x149c33[_0x1f183e(0x14e)]=_0x1f183e(0x166),_0x149c33[_0x1f183e(0x158)]='https';const _0x51e53e=_0x149c33;return _0x22cd26[_0x1f183e(0x16c)](',')['map'](_0x26015e=>{const _0xacbe11=_0x1f183e,_0x1c2c92=new URL(_0x26015e['trim']()),_0xe207b7=_0x1c2c92[_0xacbe11(0x175)],_0x3e2d51=_0x1c2c92[_0xacbe11(0x152)]||(_0x51e53e[_0xacbe11(0x159)](_0x1c2c92['protocol'],_0x51e53e[_0xacbe11(0x168)])?_0x51e53e['XrxNe']:'80'),_0x4a0b06=_0x1c2c92['protocol'][_0xacbe11(0x18e)](':',''),_0x2c36cd=_0x51e53e['YAsDP'](_0x4a0b06,_0x51e53e[_0xacbe11(0x158)])?0x1:0x0;return _0xe207b7+','+_0x3e2d51+','+_0x2c36cd;});},connectCommandBuilder=function(_0x302b8f){const _0x54b791=a12_0x2666bb,_0xee9df0={};_0xee9df0[_0x54b791(0x17a)]=_0x54b791(0x183);const _0x2bd44d=_0xee9df0,_0x10d4c9={};_0x10d4c9[_0x54b791(0x185)]=HELP_MESSAGES[_0x54b791(0x179)][_0x54b791(0x16b)],_0x10d4c9['type']=_0x2bd44d[_0x54b791(0x17a)];const _0x41cb05={};_0x41cb05[_0x54b791(0x185)]=HELP_MESSAGES[_0x54b791(0x179)][_0x54b791(0x18c)],_0x41cb05[_0x54b791(0x161)]=_0x2bd44d[_0x54b791(0x17a)],_0x41cb05[_0x54b791(0x192)]=!![];const _0xeb83f9={};return _0xeb83f9[_0x54b791(0x14b)]=_0x10d4c9,_0xeb83f9[_0x54b791(0x18c)]=_0x41cb05,_0x302b8f[_0x54b791(0x179)](_0xeb83f9);},connectCommandHandler=async function(_0x56036b){const _0x428fc2=a12_0x2666bb,_0x4d55c3={'vaqbB':_0x428fc2(0x17b),'DkCjJ':function(_0x7ad86d,_0x191cc0){return _0x7ad86d===_0x191cc0;},'wivLQ':_0x428fc2(0x182),'dBIZC':_0x428fc2(0x171),'JwzHD':function(_0x21c10b,_0x14053e){return _0x21c10b===_0x14053e;},'WETXv':_0x428fc2(0x170),'avcnZ':function(_0x5e5e1a,_0x4747d0){return _0x5e5e1a(_0x4747d0);},'eDkJn':'Hosts\x20not\x20valid','ipkba':function(_0x155c88,_0x1e2049){return _0x155c88(_0x1e2049);},'Hgvop':_0x428fc2(0x14f),'fKiwh':_0x428fc2(0x188),'oELZc':_0x428fc2(0x15a)};try{const _0xbaccb0=new BrowserStackSetup(_0x56036b,_0x4d55c3['vaqbB']);_0x56036b['bstackAccesskey']&&(_0xbaccb0['config'][_0x428fc2(0x186)]=_0x56036b[_0x428fc2(0x154)]);if(_0x4d55c3[_0x428fc2(0x165)](typeof _0xbaccb0[_0x428fc2(0x173)][_0x428fc2(0x186)],_0x4d55c3['wivLQ'])){logger[_0x428fc2(0x14d)](_0x4d55c3[_0x428fc2(0x190)]);throw new Error(ERROR_MESSAGES[_0x428fc2(0x16b)][_0x428fc2(0x184)]);}const _0x4c85a3=_0x56036b['hosts'];if(_0x4d55c3[_0x428fc2(0x193)](typeof _0x4c85a3,_0x4d55c3[_0x428fc2(0x18f)])){logger[_0x428fc2(0x14d)](_0x4d55c3[_0x428fc2(0x18b)]);throw new Error(ERROR_MESSAGES[_0x428fc2(0x18c)]['missing']);}if(!_0x4d55c3[_0x428fc2(0x18a)](validHosts,_0x4c85a3)){logger[_0x428fc2(0x14d)](_0x4d55c3['eDkJn']);throw new Error(ERROR_MESSAGES[_0x428fc2(0x18c)][_0x428fc2(0x15f)]);}const _0x3144ef=_0x4d55c3[_0x428fc2(0x169)](parseOnPremHosts,_0x4c85a3);_0xbaccb0[_0x428fc2(0x173)][_0x428fc2(0x149)]=!![],_0xbaccb0[_0x428fc2(0x173)][_0x428fc2(0x17f)]['localIdentifier']=_0x4d55c3['Hgvop'],_0xbaccb0['config']['browserStackLocalOptions'][_0x428fc2(0x162)]=_0x3144ef[_0x428fc2(0x14c)](','),helper[_0x428fc2(0x15d)](_0xbaccb0[_0x428fc2(0x173)]),await _0xbaccb0[_0x428fc2(0x176)](),logger[_0x428fc2(0x14a)](_0x4d55c3[_0x428fc2(0x15b)]);}catch(_0x4e8416){logger[_0x428fc2(0x14d)](_0x4d55c3[_0x428fc2(0x151)]);throw new Error(_0x4e8416[_0x428fc2(0x150)]());}};function run(_0x22a175){const _0x2c5252=a12_0x2666bb,_0x42e976={};_0x42e976['vBAmn']=_0x2c5252(0x16e),_0x42e976['QDZxz']='help';const _0x2ee9e4=_0x42e976;_0x22a175['usage'](HELP_MESSAGES[_0x2c5252(0x167)][_0x2c5252(0x178)])[_0x2c5252(0x167)](_0x2ee9e4[_0x2c5252(0x156)],HELP_MESSAGES[_0x2c5252(0x167)][_0x2c5252(0x16e)],connectCommandBuilder,connectCommandHandler)['demandCommand']()['help'](_0x2ee9e4[_0x2c5252(0x16f)])[_0x2c5252(0x187)](HELP_MESSAGES[_0x2c5252(0x167)][_0x2c5252(0x157)]);}function a12_0x3638(_0x1f455,_0x44cb8){const _0x591395=a12_0x5913();return a12_0x3638=function(_0x3638ff,_0x2c633c){_0x3638ff=_0x3638ff-0x149;let _0x4e9b53=_0x591395[_0x3638ff];return _0x4e9b53;},a12_0x3638(_0x1f455,_0x44cb8);}function a12_0x5913(){const _0xc2d87d=['4580032kGHfnK','DkCjJ','443','command','FohQz','ipkba','1146954ovCUtU','bstackAccessKey','split','../../helpers/helper','connect','QDZxz','Integration\x20hosts\x20missing.','BrowserStack\x20access\x20key\x20missing.','1877490DQiBGD','config','43564nMccFX','hostname','setupBrowserstackLocal','20ALqoVA','root','options','ClFdP','integrations','2843203yJpILq','every','exports','browserStackLocalOptions','../../helpers/BrowserStackSetup','../../helpers/logger','undefined','string','missing','describe','accessKey','epilogue','Connection\x20established\x20successfully.','trim','avcnZ','WETXv','hosts','url','replace','wivLQ','dBIZC','winstonLogger','demandOption','JwzHD','browserstackLocal','info','bstack-accesskey','join','error','XrxNe','integrations-repeater','toString','oELZc','port','6sXhSsP','bstackAccesskey','21uyWTeQ','vBAmn','footer','HDwda','YAsDP','Failed\x20to\x20establish\x20connection.','fKiwh','12ydiZpQ','setProxySettings','215iDGyIb','invalid','246GzjImd','type','only','2227059XGHiph'];a12_0x5913=function(){return _0xc2d87d;};return a12_0x5913();}module[a12_0x2666bb(0x17e)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a13_0x5398e2=a13_0x5dcf;(function(_0x1db778,_0x16054f){var _0x2c2c36=a13_0x5dcf,_0x4f7653=_0x1db778();while(!![]){try{var _0x5214c3=parseInt(_0x2c2c36(0xdb))/0x1+parseInt(_0x2c2c36(0xd3))/0x2*(parseInt(_0x2c2c36(0xcb))/0x3)+-parseInt(_0x2c2c36(0xc3))/0x4+parseInt(_0x2c2c36(0xce))/0x5*(parseInt(_0x2c2c36(0xd4))/0x6)+-parseInt(_0x2c2c36(0xd6))/0x7*(-parseInt(_0x2c2c36(0xca))/0x8)+-parseInt(_0x2c2c36(0xd0))/0x9+parseInt(_0x2c2c36(0xd5))/0xa*(-parseInt(_0x2c2c36(0xc9))/0xb);if(_0x5214c3===_0x16054f)break;else _0x4f7653['push'](_0x4f7653['shift']());}catch(_0x5b232a){_0x4f7653['push'](_0x4f7653['shift']());}}}(a13_0x3aca,0xefc54));var a13_0x4cec9f={};a13_0x4cec9f['bstackAccessKey']='Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.',a13_0x4cec9f[a13_0x5398e2(0xcf)]=a13_0x5398e2(0xc7);var a13_0x5a22f1={};a13_0x5a22f1['root']=a13_0x5398e2(0xd7),a13_0x5a22f1[a13_0x5398e2(0xd2)]='Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.',a13_0x5a22f1[a13_0x5398e2(0xc5)]=a13_0x5398e2(0xc6);var a13_0x3a4a72={};a13_0x3a4a72['options']=a13_0x4cec9f,a13_0x3a4a72[a13_0x5398e2(0xcd)]=a13_0x5a22f1,exports[a13_0x5398e2(0xcc)]=a13_0x3a4a72;var a13_0x539bb3={};a13_0x539bb3[a13_0x5398e2(0xd9)]='BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.';var a13_0x1c87f2={};function a13_0x5dcf(_0x4fe3c0,_0x5d1527){var _0x3aca65=a13_0x3aca();return a13_0x5dcf=function(_0x5dcfdd,_0x36e4a7){_0x5dcfdd=_0x5dcfdd-0xc3;var _0x2d3818=_0x3aca65[_0x5dcfdd];return _0x2d3818;},a13_0x5dcf(_0x4fe3c0,_0x5d1527);}a13_0x1c87f2[a13_0x5398e2(0xd9)]=a13_0x5398e2(0xc8),a13_0x1c87f2[a13_0x5398e2(0xda)]=a13_0x5398e2(0xd1);function a13_0x3aca(){var _0x4a1ad5=['395vNHGpC','hosts','8762598BTHgjd','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.','connect','1345574qhOcZK','89058dxjHma','20RQWVnW','7maQoIM','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','bstackAccessKey','missing','invalid','1460642LCQsqP','1998912iEMyiA','ERROR_MESSAGES','footer','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','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.','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','11759957rfUyRK','10300784AKubVA','3vGrYsD','HELP_MESSAGES','command'];a13_0x3aca=function(){return _0x4a1ad5;};return a13_0x3aca();}var a13_0x3b864e={};a13_0x3b864e[a13_0x5398e2(0xd8)]=a13_0x539bb3,a13_0x3b864e['hosts']=a13_0x1c87f2,exports[a13_0x5398e2(0xc4)]=a13_0x3b864e;
|
package/src/bin/jest/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a14_0x18fb21=a14_0x321e;(function(_0x9492c2,_0x523752){const _0xf05f55=a14_0x321e,_0x14aba8=_0x9492c2();while(!![]){try{const _0x1ee3cb=-parseInt(_0xf05f55(0x2e9))/0x1+-parseInt(_0xf05f55(0x217))/0x2*(parseInt(_0xf05f55(0x21e))/0x3)+parseInt(_0xf05f55(0x243))/0x4+parseInt(_0xf05f55(0x2f0))/0x5+parseInt(_0xf05f55(0x201))/0x6*(-parseInt(_0xf05f55(0x289))/0x7)+parseInt(_0xf05f55(0x22c))/0x8*(-parseInt(_0xf05f55(0x2e2))/0x9)+parseInt(_0xf05f55(0x208))/0xa;if(_0x1ee3cb===_0x523752)break;else _0x14aba8['push'](_0x14aba8['shift']());}catch(_0x1691a5){_0x14aba8['push'](_0x14aba8['shift']());}}}(a14_0x1dfa,0x450fc));const fs=require('fs'),path=require(a14_0x18fb21(0x220)),util=require(a14_0x18fb21(0x22f)),{spawn}=require(a14_0x18fb21(0x212)),logger=require('../../helpers/logger')['winstonLogger'],{default:BrowserStackSetup}=require(a14_0x18fb21(0x202)),helper=require(a14_0x18fb21(0x223)),utilities=require('../../helpers/utilities'),constants=require(a14_0x18fb21(0x25f)),accessibilityHelper=require('../../helpers/accessibility-automation/helper'),{updateTestRerunConfig}=require(a14_0x18fb21(0x245)),testOpsHelper=require('../../helpers/test-observability/utils'),{debug}=require(a14_0x18fb21(0x269)),TestDetails=require(a14_0x18fb21(0x2c4)),{getPercyOptions}=require(a14_0x18fb21(0x1f2)),TestHubHandler=require(a14_0x18fb21(0x2ab)),testhubUtils=require(a14_0x18fb21(0x2f6)),{FRAMEWORKS}=require(a14_0x18fb21(0x2bc)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require('../../helpers/performance/constants')[a14_0x18fb21(0x2db)],TestOrchestrationHandler=require(a14_0x18fb21(0x2d0)),BrowserstackCLI=require(a14_0x18fb21(0x25b)),{checkPwandBootstrapCli}=require(a14_0x18fb21(0x2b2)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a14_0x18fb21(0x28e)),ClientTroubleShootingService=require(a14_0x18fb21(0x214)),{checkAccessibilityPlatformConfig}=require(a14_0x18fb21(0x2ec)),getUserJestConfigs=async(_0x12a3fb,_0x57d41c)=>{const _0x338907=a14_0x18fb21,_0x52e9c6={'LmywH':_0x338907(0x246),'pQUCN':'jest-config','ZnzXD':function(_0x5baa6f,_0x4ffacb){return _0x5baa6f||_0x4ffacb;},'AvNlQ':function(_0x3afb2f,_0x333f31){return _0x3afb2f(_0x333f31);},'tCGDa':_0x338907(0x20e),'OLHeq':_0x338907(0x22a),'LSdwy':_0x338907(0x230),'ifysh':_0x338907(0x25d),'omeGV':_0x338907(0x293)};let _0x5efc46;try{_0x5efc46=helper[_0x338907(0x23c)](_0x52e9c6['LmywH'],_0x52e9c6[_0x338907(0x27a)]);}catch{const _0xd40ad8=helper[_0x338907(0x23c)](_0x52e9c6['pQUCN']);_0x5efc46={'default':async _0x1f3e99=>{const _0x7fb645=_0x338907,_0x2dfdb3=await _0xd40ad8[_0x7fb645(0x2d8)](_0x1f3e99,{});return _0x2dfdb3[_0x7fb645(0x2e1)];}};}const _0x3c4fad=_0x57d41c['findIndex'](_0x2cadc3=>_0x2cadc3===_0x338907(0x2a7));if(!helper[_0x338907(0x2f1)](_0x12a3fb['config'])){logger[_0x338907(0x20d)](_0x338907(0x258)+_0x12a3fb[_0x338907(0x2e1)]),process[_0x338907(0x1f7)][_0x338907(0x200)]=_0x12a3fb[_0x338907(0x2e1)];const _0x5ad8af=await(0x0,_0x5efc46[_0x338907(0x2ba)])(path['resolve'](_0x12a3fb[_0x338907(0x2e1)]));return _0x57d41c[_0x338907(0x259)](_0x3c4fad,0x2),_0x52e9c6[_0x338907(0x203)](_0x5ad8af,{});}const _0x245ef2=_0x52e9c6['AvNlQ'](require,path[_0x338907(0x1f6)](process[_0x338907(0x286)](),_0x52e9c6['tCGDa']));if(_0x245ef2[_0x338907(0x26b)])return logger[_0x338907(0x20d)](_0x52e9c6[_0x338907(0x207)]),_0x245ef2['jest'];const _0x4eee06=['js',_0x52e9c6[_0x338907(0x2b6)],_0x52e9c6[_0x338907(0x210)],_0x52e9c6['omeGV'],'ts'];for(const _0x3c42c5 of _0x4eee06){const _0xeff378=path[_0x338907(0x1f6)](process[_0x338907(0x286)](),_0x338907(0x20b)+_0x3c42c5);if(fs['existsSync'](_0xeff378)){process[_0x338907(0x1f7)][_0x338907(0x200)]=_0xeff378;const _0x47f7ac=await(0x0,_0x5efc46[_0x338907(0x2ba)])(_0xeff378);return _0x47f7ac;}}return{};},getSerial=(_0x3f565f,_0x481684)=>{const _0x2331cd=a14_0x18fb21,_0x54c68c={};_0x54c68c['BJFaF']=_0x2331cd(0x228),_0x54c68c[_0x2331cd(0x25e)]=function(_0x30f41d,_0x550fc9){return _0x30f41d>_0x550fc9;},_0x54c68c[_0x2331cd(0x281)]=function(_0x1b944c,_0x22b8d3){return _0x1b944c>_0x22b8d3;},_0x54c68c[_0x2331cd(0x229)]='false';const _0x2c9bc0=_0x54c68c;let _0x14377a=_0x2c9bc0[_0x2331cd(0x233)];return _0x2c9bc0[_0x2331cd(0x25e)](_0x3f565f[_0x2331cd(0x2bf)],0x1)&&(!_0x481684['runInBand']&&(helper['isUndefined'](_0x481684[_0x2331cd(0x244)])||_0x2c9bc0[_0x2331cd(0x281)](_0x481684[_0x2331cd(0x244)],0x1)))&&(_0x14377a=_0x2c9bc0[_0x2331cd(0x229)]),_0x14377a;},getMaxWorkers=(_0x376936,_0x1bee14,_0x31c6b8)=>{const _0x432736=a14_0x18fb21,_0x237428={'TVSzt':function(_0x21a7d2,_0x2a6085){return _0x21a7d2(_0x2a6085);}};let _0x1647a5=0x1;if(!helper['isUndefined'](_0x1bee14['parallelsPerPlatform']))_0x1647a5=_0x237428[_0x432736(0x28d)](parseInt,_0x1bee14[_0x432736(0x1fd)]);else{if(!helper['isUndefined'](_0x376936[_0x432736(0x244)]))_0x1647a5=_0x376936[_0x432736(0x244)];else!helper['isUndefined'](_0x31c6b8[_0x432736(0x244)])&&(_0x1647a5=_0x31c6b8['maxWorkers']);}return _0x1647a5;};async function run(_0x5f4061,_0xc0bdd2,_0x2da7cf){const _0x554e01=a14_0x18fb21,_0x194abf={'MNoHh':_0x554e01(0x2d7),'xHgYr':_0x554e01(0x26b),'cwxFy':function(_0x45035b,_0x4c5a7a){return _0x45035b(_0x4c5a7a);},'LMWcW':'@playwright/test','BCYkc':function(_0x12a360){return _0x12a360();},'TAaHT':function(_0x24b5fb,_0x3d406f,_0x27bd9a,_0x3dfe87){return _0x24b5fb(_0x3d406f,_0x27bd9a,_0x3dfe87);},'VvfmV':function(_0x2d7600,_0x13e6c3){return _0x2d7600!=_0x13e6c3;},'DNiUl':_0x554e01(0x228),'KgzMM':function(_0x3b2c52,_0x108035,_0x3ac587){return _0x3b2c52(_0x108035,_0x3ac587);},'fpJSP':_0x554e01(0x2e8),'rUCyM':function(_0x547333,_0x1287b5){return _0x547333(_0x1287b5);},'mGotP':'false','inXit':function(_0x418c16,_0x59f5a5,_0x559c1d,_0x43b915){return _0x418c16(_0x59f5a5,_0x559c1d,_0x43b915);},'EAifJ':function(_0xb885e5,_0x20370f){return _0xb885e5*_0x20370f;},'AHlJN':function(_0x59e70e,_0x520c1f){return _0x59e70e===_0x520c1f;},'TqsQP':_0x554e01(0x1fc),'swKBY':_0x554e01(0x23e),'aPNYP':_0x554e01(0x299),'bRXxZ':_0x554e01(0x29a),'fhLrW':_0x554e01(0x29c),'wBZpk':_0x554e01(0x22e),'afxvN':_0x554e01(0x2d3),'ecAjc':function(_0x2c7ab5,_0x483c0a){return _0x2c7ab5!==_0x483c0a;},'CFWnB':_0x554e01(0x2c7),'sIEqU':_0x554e01(0x242),'hELvG':'jest.setup.js','jwdZc':'customSequencer.js','GkJHX':'jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','huVjU':_0x554e01(0x254),'JvHCV':_0x554e01(0x2d1),'krcSy':_0x554e01(0x2cf),'kdkpF':_0x554e01(0x22d),'PdhPG':'customCircus.js','qwGMS':_0x554e01(0x2a9),'SwXst':_0x554e01(0x2c5),'TmrYo':_0x554e01(0x2c6),'yDDwp':'Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','LOiDQ':_0x554e01(0x2ad),'pfXio':_0x554e01(0x27c),'YmpEH':function(_0x201e02,_0xd91a6b){return _0x201e02&&_0xd91a6b;},'sHTBR':'Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','eCRhr':_0x554e01(0x255),'VCPjD':_0x554e01(0x2ca),'VFHzV':_0x554e01(0x2ba),'abIQb':function(_0x50012b,_0xeddcb8,_0x5ca915){return _0x50012b(_0xeddcb8,_0x5ca915);},'UhtBe':_0x554e01(0x249),'CZJDE':_0x554e01(0x2b7),'vMeTh':'Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','tkoyY':function(_0xde93a6,_0x1f8a68){return _0xde93a6>_0x1f8a68;},'cNQrH':_0x554e01(0x2de),'YGrOb':_0x554e01(0x2a7),'oCnnp':_0x554e01(0x283),'SYpxr':_0x554e01(0x2a1),'yApmk':_0x554e01(0x2f5),'hMKuj':_0x554e01(0x2b4)},_0x46d15b=helper[_0x554e01(0x1fe)](_0x194abf[_0x554e01(0x1f4)]);global[_0x554e01(0x235)]=!!_0x46d15b;const _0x13ab0c=_0x194abf[_0x554e01(0x26c)](getPuppeteerVersion);global[_0x554e01(0x225)]=!!_0x13ab0c;helper[_0x554e01(0x237)]()?(await _0x2da7cf[_0x554e01(0x2eb)](_0x5f4061),await helper[_0x554e01(0x256)](_0x2da7cf[_0x554e01(0x2e1)])):await _0x2da7cf[_0x554e01(0x253)]();if(_0x46d15b)await _0x194abf[_0x554e01(0x23a)](checkPwandBootstrapCli,_0x46d15b,constants[_0x554e01(0x1f3)][_0x554e01(0x2e3)],_0x2da7cf);else _0x13ab0c&&await _0x194abf[_0x554e01(0x23a)](checkPuppeteerAndBootstrapCli,_0x13ab0c,constants[_0x554e01(0x1f3)][_0x554e01(0x2e3)],_0x2da7cf);if(!_0x2da7cf['config'])return;_0x194abf[_0x554e01(0x2ac)](_0x2da7cf[_0x554e01(0x2e1)][_0x554e01(0x295)],null)?process['env'][_0x554e01(0x1f9)]=_0x2da7cf['config'][_0x554e01(0x295)]:process[_0x554e01(0x1f7)][_0x554e01(0x1f9)]=_0x194abf['DNiUl'];const _0x4d6e65=new TestOrchestrationHandler(_0x2da7cf[_0x554e01(0x2e1)]),_0x9a22cb=await _0x194abf[_0x554e01(0x2a0)](getUserJestConfigs,_0x5f4061,_0xc0bdd2);logger[_0x554e01(0x20d)](_0x194abf[_0x554e01(0x222)]);const _0x151b08=Object[_0x554e01(0x224)]({},_0x9a22cb);_0x151b08[_0x554e01(0x21b)]=Object[_0x554e01(0x224)]({},_0x151b08[_0x554e01(0x21b)],{'server':helper[_0x554e01(0x264)](_0x2da7cf[_0x554e01(0x2e1)]),'environment':_0x9a22cb['testEnvironment']}),_0x151b08['testEnvironmentOptions']['browserStackPercyOptions']=_0x194abf['rUCyM'](getPercyOptions,_0x2da7cf[_0x554e01(0x2e1)]);const _0x5d2dfc=helper[_0x554e01(0x297)](_0x2da7cf['config']);!helper[_0x554e01(0x2f1)](_0x2da7cf[_0x554e01(0x2e1)]['accessibilityOptions'])&&(process['env'][_0x554e01(0x2c3)]=JSON[_0x554e01(0x248)](_0x2da7cf['config'][_0x554e01(0x277)]));if(!BrowserstackCLI[_0x554e01(0x298)]()['isRunning']()){const _0x3a0946=await TestHubHandler[_0x554e01(0x2d2)](FRAMEWORKS[_0x554e01(0x2e3)],_0x2da7cf);}const _0x4cc634=helper['prepareCapabilities'](_0x2da7cf[_0x554e01(0x2e1)],_0x5d2dfc,constants[_0x554e01(0x1f3)][_0x554e01(0x2e3)]);process['env'][_0x554e01(0x20c)]=JSON['stringify'](_0x4cc634);let _0x939fba=_0x2da7cf['config']['accessibility'];_0x939fba=_0x939fba||accessibilityHelper[_0x554e01(0x206)](_0x2da7cf[_0x554e01(0x2e1)]),process[_0x554e01(0x1f7)][_0x554e01(0x25c)]=_0x939fba,logger[_0x554e01(0x28c)](_0x554e01(0x2a2)+_0x939fba+_0x554e01(0x211)+BrowserstackCLI[_0x554e01(0x298)]()[_0x554e01(0x285)]());if(_0x46d15b)try{const _0x306c01=_0x194abf[_0x554e01(0x28f)](checkAccessibilityPlatformConfig,_0x2da7cf['config']);process[_0x554e01(0x1f7)][_0x554e01(0x29b)]=_0x306c01?_0x194abf[_0x554e01(0x2ae)]:_0x194abf[_0x554e01(0x2b5)],logger[_0x554e01(0x28c)](_0x554e01(0x267)+_0x306c01+_0x554e01(0x23d)+process[_0x554e01(0x1f7)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']);}catch(_0x13b98b){logger[_0x554e01(0x28c)](_0x554e01(0x2c0)+util[_0x554e01(0x268)](_0x13b98b));}_0x151b08['testEnvironmentOptions']['capabilities']=_0x4cc634,_0x151b08[_0x554e01(0x21b)][_0x554e01(0x250)]=_0x194abf['KgzMM'](getSerial,_0x4cc634,_0x5f4061),_0x151b08['testEnvironmentOptions'][_0x554e01(0x2e7)]=_0x194abf[_0x554e01(0x24f)](getMaxWorkers,_0x5f4061,_0x2da7cf[_0x554e01(0x2e1)],_0x9a22cb),_0x151b08[_0x554e01(0x21b)][_0x554e01(0x272)]=_0x2da7cf['config'][_0x554e01(0x272)],_0x151b08[_0x554e01(0x21b)][_0x554e01(0x219)]=_0x194abf[_0x554e01(0x266)](_0x5f4061[_0x554e01(0x2cd)],0x1)||0x1388,_0x151b08[_0x554e01(0x21b)][_0x554e01(0x2df)]=_0x2da7cf[_0x554e01(0x2e1)][_0x554e01(0x23b)][_0x554e01(0x2df)],_0x151b08[_0x554e01(0x21b)]['skipSessionStatus']=_0x2da7cf[_0x554e01(0x2e1)]['testContextOptions']['skipSessionStatus'],_0x151b08['testEnvironmentOptions'][_0x554e01(0x2ea)]=_0x2da7cf['config'][_0x554e01(0x2a5)],_0x151b08[_0x554e01(0x21b)][_0x554e01(0x236)]=_0x2da7cf[_0x554e01(0x2e1)][_0x554e01(0x236)],_0x151b08[_0x554e01(0x21b)]['platformCaps']=_0x2da7cf['config'][_0x554e01(0x2af)];const _0x3d37fd=helper[_0x554e01(0x234)](_0x2da7cf[_0x554e01(0x2e1)]);if(!helper[_0x554e01(0x2ce)](_0x3d37fd)){helper[_0x554e01(0x2da)](_0x3d37fd['retryTestsOnFailure'])&&(_0x151b08[_0x554e01(0x21b)][_0x554e01(0x24d)]=_0x3d37fd[_0x554e01(0x1fa)][_0x554e01(0x27e)]);if(helper['isNotUndefined'](_0x3d37fd[_0x554e01(0x279)])&&helper[_0x554e01(0x2da)](_0x3d37fd[_0x554e01(0x279)][_0x554e01(0x2a8)])){const _0x58a4ec={};_0x58a4ec['failureThresholdCount']=_0x3d37fd[_0x554e01(0x279)][_0x554e01(0x2b1)],_0x58a4ec['workingDir']=_0x3d37fd[_0x554e01(0x279)][_0x554e01(0x2a8)],_0x151b08[_0x554e01(0x21b)][_0x554e01(0x2f2)]=_0x58a4ec;}}let _0x5433e1='';_0x194abf[_0x554e01(0x215)](helper[_0x554e01(0x21f)](),constants[_0x554e01(0x2a3)]['MODULE'])?_0x5433e1=_0x194abf[_0x554e01(0x260)]:_0x5433e1=_0x194abf[_0x554e01(0x2d4)];const _0xee40d1=_0x5433e1,_0x3cf017=path[_0x554e01(0x1f6)](__dirname,_0x194abf['aPNYP'],_0x194abf[_0x554e01(0x205)]),_0x3c4909=path[_0x554e01(0x1f6)](__dirname,_0x194abf[_0x554e01(0x22b)],_0x194abf[_0x554e01(0x2c8)]),_0x4a734a=path[_0x554e01(0x1f6)](__dirname,_0x194abf[_0x554e01(0x22b)],_0x194abf[_0x554e01(0x274)]);_0x151b08[_0x554e01(0x2b8)]&&(process[_0x554e01(0x1f7)][_0x554e01(0x292)]=_0x151b08[_0x554e01(0x2b8)]);_0x151b08[_0x554e01(0x2b8)]=path[_0x554e01(0x1f6)](__dirname,_0x194abf[_0x554e01(0x22b)],_0x194abf[_0x554e01(0x2bb)]);const _0x2d1826=_0x9a22cb['runner'];if(_0x2d1826&&_0x194abf['ecAjc'](_0x2d1826,_0x194abf[_0x554e01(0x294)])){const _0x10917a=_0x2d1826[_0x554e01(0x231)](_0x194abf['sIEqU'])?_0x2d1826:_0x554e01(0x242)+_0x2d1826;process[_0x554e01(0x1f7)][_0x554e01(0x2c9)]=_0x10917a,logger[_0x554e01(0x20d)](_0x554e01(0x1f8)+_0x10917a);}_0x151b08[_0x554e01(0x21c)]=_0x3c4909,_0x151b08[_0x554e01(0x247)]=_0x151b08[_0x554e01(0x247)]||[],_0x151b08[_0x554e01(0x247)]['push'](path[_0x554e01(0x1f6)](__dirname,_0x194abf[_0x554e01(0x24a)]));_0x4d6e65[_0x554e01(0x1f5)]()&&(_0x151b08[_0x554e01(0x240)]=path[_0x554e01(0x1f6)](__dirname,_0x194abf['aPNYP'],_0x194abf['jwdZc']));if(testhubUtils[_0x554e01(0x29f)]()||BrowserstackCLI[_0x554e01(0x298)]()['isCliEnabled']()){let _0x25ca4d=null;try{_0x25ca4d=helper[_0x554e01(0x23c)](_0x194abf[_0x554e01(0x2ee)],_0x194abf['huVjU']);}catch(_0x48aca8){try{_0x25ca4d=helper[_0x554e01(0x23c)](_0x194abf[_0x554e01(0x287)],_0x194abf['huVjU']);}catch(_0x2fca77){_0x194abf[_0x554e01(0x251)](debug,_0x554e01(0x21a)+_0x2fca77);}}_0x25ca4d&&(testhubUtils[_0x554e01(0x29f)]()&&_0x151b08[_0x554e01(0x247)][_0x554e01(0x1fb)](path[_0x554e01(0x1f6)](__dirname,_0x194abf[_0x554e01(0x21d)],_0x194abf['kdkpF'])),_0x151b08[_0x554e01(0x26f)]=path[_0x554e01(0x1f6)](__dirname,_0x194abf['aPNYP'],_0x194abf['PdhPG']));}_0x151b08[_0x554e01(0x2e5)]=_0x151b08[_0x554e01(0x2e5)]||[];try{helper[_0x554e01(0x27d)](),_0x151b08[_0x554e01(0x2e5)]['push'](path[_0x554e01(0x1f6)](__dirname,_0x194abf['qwGMS']));}catch{logger[_0x554e01(0x28c)](_0x194abf[_0x554e01(0x24e)]);}try{helper[_0x554e01(0x2dc)][_0x554e01(0x2c1)](null,[_0x194abf['LMWcW'],_0x194abf[_0x554e01(0x2d5)]]),logger[_0x554e01(0x28c)](_0x194abf[_0x554e01(0x221)]),_0x151b08[_0x554e01(0x2e5)][_0x554e01(0x1fb)](path[_0x554e01(0x1f6)](__dirname,_0x194abf['LOiDQ']));}catch(_0x26bf73){logger[_0x554e01(0x28c)](_0x194abf['pfXio'],_0x26bf73);}if(_0x194abf[_0x554e01(0x263)](!_0x46d15b,_0x13ab0c)){try{logger['debug'](_0x194abf['sHTBR']),_0x151b08[_0x554e01(0x2e5)]['push'](path[_0x554e01(0x1f6)](__dirname,'..',_0x194abf['eCRhr'],_0x194abf[_0x554e01(0x2a6)]));}catch(_0x42e677){logger[_0x554e01(0x28c)](_0x554e01(0x2b9)+_0x42e677['message']);}try{const _0x183909=require[_0x554e01(0x273)](_0x194abf[_0x554e01(0x284)]),_0x19748c=path[_0x554e01(0x252)](_0x183909)[_0x554e01(0x2e0)](/\\/g,'/'),_0x434af9={};_0x434af9[_0x554e01(0x2bd)]=_0x19748c+_0x554e01(0x26d),_0x151b08[_0x554e01(0x27f)]=Object['assign']({},_0x151b08['moduleNameMapper']||{},_0x434af9),logger[_0x554e01(0x28c)](_0x554e01(0x241)+_0x19748c);}catch(_0x1b1bb5){logger[_0x554e01(0x28c)](_0x554e01(0x278)+_0x1b1bb5[_0x554e01(0x270)]);}}_0x151b08[_0x554e01(0x209)]=_0x151b08[_0x554e01(0x209)]||[_0x194abf[_0x554e01(0x213)]],_0x194abf[_0x554e01(0x1ff)](updateTestRerunConfig,_0x151b08,_0x2da7cf);const _0x4c6f58=fs[_0x554e01(0x288)](_0x4a734a),_0x48831a=helper[_0x554e01(0x26e)](_0x194abf[_0x554e01(0x265)],_0x194abf[_0x554e01(0x227)]);!_0x48831a[_0x554e01(0x2aa)]?fs[_0x554e01(0x2be)](_0x151b08[_0x554e01(0x21c)],_0x554e01(0x26a)+_0x4c6f58+_0x554e01(0x29e)+_0x2da7cf[_0x554e01(0x2e1)][_0x554e01(0x2af)][_0x554e01(0x2bf)]+_0x554e01(0x2e4)):fs['writeFileSync'](_0x151b08['runner'],'\x0a\x20\x20\x20\x20\x20\x20'+_0x4c6f58+_0x554e01(0x23f)+_0x2da7cf[_0x554e01(0x2e1)][_0x554e01(0x2af)]['length']+_0x554e01(0x20f));logger[_0x554e01(0x20d)](_0x554e01(0x282)+_0xee40d1+_0x554e01(0x24c)),fs[_0x554e01(0x2be)](_0xee40d1,_0x554e01(0x2ef)+JSON['stringify'](_0x151b08)+_0x554e01(0x2d6));if(_0x4d6e65['isTestOrchestrationEnabled']()){logger[_0x554e01(0x28c)](_0x194abf[_0x554e01(0x2c2)]);const _0x5d0819=await _0x4d6e65['findTestFiles'](_0x151b08,_0xc0bdd2[_0x554e01(0x218)](0x1),_0xee40d1);logger[_0x554e01(0x28c)]('Found:\x20'+JSON['stringify'](_0x5d0819)+_0x554e01(0x20a));const _0x519a9d=await _0x4d6e65[_0x554e01(0x290)](_0x5d0819);logger[_0x554e01(0x28c)](_0x554e01(0x2cc)+JSON[_0x554e01(0x248)](_0x519a9d)),_0x519a9d&&_0x194abf[_0x554e01(0x2b0)](_0x519a9d[_0x554e01(0x2bf)],0x0)&&(process[_0x554e01(0x1f7)][_0x554e01(0x24b)]=_0x519a9d?.['join'](','));}logger['info'](_0x194abf[_0x554e01(0x29d)]);testhubUtils[_0x554e01(0x29f)]()&&TestDetails['setup']();helper[_0x554e01(0x238)]({},_0xc0bdd2),PerformanceTester[_0x554e01(0x271)](PerformanceEvents[_0x554e01(0x204)]);const _0x28e218=[_0x194abf['xHgYr'],_0x194abf['YGrOb'],_0xee40d1,..._0xc0bdd2[_0x554e01(0x218)](0x1)],_0x2ff340=_0x194abf['TAaHT'](spawn,_0x194abf[_0x554e01(0x2e6)],_0x28e218,{'shell':_0x194abf[_0x554e01(0x215)](process[_0x554e01(0x261)],_0x194abf['SYpxr']),'stdio':_0x194abf[_0x554e01(0x296)],'env':Object[_0x554e01(0x224)]({},process[_0x554e01(0x1f7)])});_0x2ff340['on'](_0x194abf[_0x554e01(0x2dd)],async _0x7b45f3=>{const _0xce1c57=_0x554e01;PerformanceTester[_0xce1c57(0x257)](PerformanceEvents[_0xce1c57(0x2cb)]);try{const {browserstackFolderPath:_0x4a4d6c,tcgConfigPath:_0x2c44fd}=helper[_0xce1c57(0x2f4)]();fs[_0xce1c57(0x239)](_0x2c44fd),fs[_0xce1c57(0x2a4)](_0x4a4d6c);}catch(_0x54756c){logger['debug'](_0x194abf[_0xce1c57(0x2f3)],_0x54756c);}process[_0xce1c57(0x280)]=_0x7b45f3,logger[_0xce1c57(0x28c)]('child\x20process\x20exited\x20with\x20code\x20'+_0x7b45f3),logger[_0xce1c57(0x20d)]('Deleting\x20'+_0xee40d1);if(helper['isNotUndefined'](_0x3d37fd)&&helper[_0xce1c57(0x2da)](_0x3d37fd['abortBuildOnFailure'])&&fs['existsSync'](_0x3d37fd['abortBuildOnFailure'][_0xce1c57(0x2a8)]))try{const _0x5b6e56={};_0x5b6e56[_0xce1c57(0x226)]=!![],_0x5b6e56['force']=!![],fs[_0xce1c57(0x262)](_0x3d37fd['abortBuildOnFailure']['workingDir'],_0x5b6e56),logger['debug'](_0xce1c57(0x2ed)+_0x3d37fd['abortBuildOnFailure'][_0xce1c57(0x2a8)]);}catch(_0x2054c7){logger[_0xce1c57(0x2aa)](_0xce1c57(0x276)+_0x2054c7);}let _0x47f466=null;if(fs['existsSync'](_0x3cf017)){_0x47f466=fs[_0xce1c57(0x288)](_0x3cf017);try{_0x47f466=JSON[_0xce1c57(0x216)](_0x47f466);}catch(_0x404dcc){logger[_0xce1c57(0x28c)](_0xce1c57(0x2b3)+_0x3cf017+',\x20'+_0x47f466+'\x20:\x20'+_0x404dcc);}fs[_0xce1c57(0x239)](_0x3cf017);}fs[_0xce1c57(0x239)](_0xee40d1),fs[_0xce1c57(0x239)](_0x3c4909),_0x47f466&&(_0x2da7cf[_0xce1c57(0x27b)]=helper['getErrorMessageFromResults'](_0x47f466,_0x194abf[_0xce1c57(0x291)],_0x2da7cf));const _0x59a341=BrowserstackCLI['isCLIEnabled']();try{await TestHubHandler[_0xce1c57(0x275)](),await BrowserstackCLI[_0xce1c57(0x298)]()[_0xce1c57(0x275)]();}catch(_0x383363){console[_0xce1c57(0x2d9)](_0x383363),_0x194abf[_0xce1c57(0x28f)](debug,_0xce1c57(0x28a)+util['format'](_0x383363));}testOpsHelper[_0xce1c57(0x232)](),TestDetails[_0xce1c57(0x28b)](),await utilities[_0xce1c57(0x25a)](_0x2da7cf,_0x59a341);});}function a14_0x1dfa(){const _0x5da1e6=['exitCode','WVGYz','Creating\x20','npx','VCPjD','isRunning','cwd','JvHCV','readFileSync','39417mRvDkx','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','shutdown','debug','TVSzt','../../helpers/puppeteer-helper','cwxFy','reorderTestFiles','xHgYr','BSTACK_JEST_TEST_ENV','json','CFWnB','testObservability','yApmk','useW3C','getInstance','customImplements','jest_browserstack_results.json','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','customTestRunner.js','cNQrH','\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','shouldProcessEventForTesthub','KgzMM','win32','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','PACKAGE_TYPE','rmdirSync','logLevel','LOiDQ','--config','workingDir','test_before.setup.js','error','../../helpers/testhub/testhubHandler','VvfmV','test.setup.js','DNiUl','platforms','tkoyY','maxFailures','../../helpers/playwright-helper','Error\x20while\x20parsing\x20','close','mGotP','LSdwy','@jest/core','testEnvironment','Puppeteer\x20setup\x20error:\x20','default','afxvN','../../helpers/test-observability/constants','^puppeteer-core/internal/(.*)','writeFileSync','length','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','apply','vMeTh','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','./test-observability/test-details','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','playwright','jest-runner','fhLrW','BSTACK_USER_JEST_RUNNER','puppeteer-core/package.json','SDK_CLEANUP','Reodered\x20Test\x20Files:\x20','testTimeout','isEmpty','test-observability','../../helpers/test-orchestration/testOrchestrationHandler','jest-circus/build/runner.js','launchBuild','customEnvironment.js','swKBY','TmrYo','\x0amodule.exports\x20=\x20config;','error\x20removing\x20tcg\x20config\x20file','readInitialOptions','log','isNotUndefined','EVENTS','requirePWModule','hMKuj','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','skipSessionName','replace','config','1737uZbEyP','JEST',';\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','setupFiles','oCnnp','parallels__','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','199721aKHprE','browserStackLogLevel','initialize','../../helpers/accessibility-automation/helper','Deleted\x20fail-fast\x20state\x20folder:\x20','GkJHX','const\x20config=','1804415aYGFKD','isUndefined','failFast','MNoHh','getTCGConfigFilePaths','inherit','../../helpers/testhub/utils','../../helpers/percy/utils','FRAMEWORKS','LMWcW','isTestOrchestrationEnabled','join','env','Preserving\x20user\x27s\x20Jest\x20runner:\x20','BROWSERSTACK_TEST_OBSERVABILITY_YML','retryTestsOnFailure','push','jest_browserstack.config.cjs','parallelsPerPlatform','getPackageVersion','abIQb','USER_CONFIG_DETAILS_PATH','18ErTJdF','../../helpers/BrowserStackSetup','ZnzXD','SDK_SETUP','bRXxZ','checkAccessibilityPlatformConfig','OLHeq','2550260HDDYGX','reporters','\x20test\x20files\x20to\x20run.','jest.config.','BROWSERSTACK_CAPABILITIES','info','package.json',';\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','ifysh',',\x20CLI\x20running:\x20','child_process','VFHzV','../utils/clientTroubleshootingService','AHlJN','parse','228YrqBOH','slice','timeout__','Unable\x20to\x20find\x20jest-circus,\x20','testEnvironmentOptions','runner','krcSy','5229xBnFUY','getPackageType','path','yDDwp','fpJSP','../../helpers/helper','assign','__isPuppeteerInstalled','recursive','CZJDE','true','pQoWO','Getting\x20your\x20jest\x20configs\x20from\x20package.json','aPNYP','5408TnXnZh','data-hooks.js','customTestRunnerTemplate.js','util','mjs','startsWith','printBuildLink','BJFaF','parseTestOrchestrationOptions','__isPlaywrightInstalled','turboScaleUrl','isBrowserstackInfra','filterBrowserstackArgs','unlinkSync','TAaHT','testContextOptions','requireModule',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','jest_browserstack.config.js','\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','testSequencer','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','jest-runner-','851004eiHipd','maxWorkers','./test-observability/helper','jest-config/build/readConfigFileAndSetRootDir.js','setupFilesAfterEnv','stringify','@jest/core/build/ReporterDispatcher.js','hELvG','JEST_TEST_ORDER','\x20with\x20browserstack\x20jest\x20configs','retries__','SwXst','inXit','serial__','rUCyM','dirname','setupTCGAuth','jest-circus','puppeteer','handleApp','start','Getting\x20your\x20jest\x20configs\x20from\x20','splice','finalExecution','../v2/browserstackCLI','BROWSERSTACK_TEST_ACCESSIBILITY_YML','cjs','gzfWs','../utils/constants','TqsQP','platform','rmSync','YmpEH','getHubUrl','UhtBe','EAifJ','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','format','../../helpers/test-observability/utils','\x0a\x20\x20\x20\x20\x20\x20','jest','BCYkc','/internal/$1','resolveModule','testRunner','message','end','proxySettings','resolve','wBZpk','stop','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','accessibilityOptions','[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20','abortBuildOnFailure','pQUCN','errorMessage','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','requireSeleniumWebdriver','maxRetries','moduleNameMapper'];a14_0x1dfa=function(){return _0x5da1e6;};return a14_0x1dfa();}function a14_0x321e(_0x5b09f1,_0x4d3a71){const _0x1dfaed=a14_0x1dfa();return a14_0x321e=function(_0x321ea8,_0x5b297b){_0x321ea8=_0x321ea8-0x1f2;let _0x217605=_0x1dfaed[_0x321ea8];return _0x217605;},a14_0x321e(_0x5b09f1,_0x4d3a71);}module['exports']=run;
|
|
2
|
+
'use strict';const a14_0x9beb67=a14_0x2e73;(function(_0x16f5ee,_0x112ec1){const _0x361fd9=a14_0x2e73,_0x411813=_0x16f5ee();while(!![]){try{const _0x2fc631=parseInt(_0x361fd9(0x25d))/0x1*(parseInt(_0x361fd9(0x224))/0x2)+parseInt(_0x361fd9(0x27b))/0x3*(-parseInt(_0x361fd9(0x204))/0x4)+-parseInt(_0x361fd9(0x242))/0x5*(-parseInt(_0x361fd9(0x22b))/0x6)+-parseInt(_0x361fd9(0x28d))/0x7+parseInt(_0x361fd9(0x251))/0x8*(parseInt(_0x361fd9(0x2b1))/0x9)+parseInt(_0x361fd9(0x2bc))/0xa*(parseInt(_0x361fd9(0x2a0))/0xb)+parseInt(_0x361fd9(0x24a))/0xc*(-parseInt(_0x361fd9(0x2f9))/0xd);if(_0x2fc631===_0x112ec1)break;else _0x411813['push'](_0x411813['shift']());}catch(_0x3dfe89){_0x411813['push'](_0x411813['shift']());}}}(a14_0x4bb9,0x7bc61));function a14_0x2e73(_0x3403d9,_0x198753){const _0x4bb91b=a14_0x4bb9();return a14_0x2e73=function(_0x2e7358,_0x5e7b34){_0x2e7358=_0x2e7358-0x1f3;let _0x249a76=_0x4bb91b[_0x2e7358];return _0x249a76;},a14_0x2e73(_0x3403d9,_0x198753);}const fs=require('fs'),path=require(a14_0x9beb67(0x2d0)),util=require('util'),{spawn}=require(a14_0x9beb67(0x26c)),logger=require(a14_0x9beb67(0x2c7))[a14_0x9beb67(0x238)],{default:BrowserStackSetup}=require(a14_0x9beb67(0x258)),helper=require(a14_0x9beb67(0x211)),utilities=require(a14_0x9beb67(0x21f)),constants=require('../utils/constants'),accessibilityHelper=require(a14_0x9beb67(0x2c0)),{updateTestRerunConfig}=require(a14_0x9beb67(0x285)),testOpsHelper=require('../../helpers/test-observability/utils'),{debug}=require(a14_0x9beb67(0x2a6)),TestDetails=require(a14_0x9beb67(0x249)),{getPercyOptions}=require(a14_0x9beb67(0x2b0)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testhubUtils=require('../../helpers/testhub/utils'),{FRAMEWORKS}=require(a14_0x9beb67(0x252)),PerformanceTester=require(a14_0x9beb67(0x2fb)),PerformanceEvents=require('../../helpers/performance/constants')['EVENTS'],TestOrchestrationHandler=require(a14_0x9beb67(0x23c)),BrowserstackCLI=require(a14_0x9beb67(0x2dd)),{checkPwandBootstrapCli}=require(a14_0x9beb67(0x241)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a14_0x9beb67(0x217)),ClientTroubleShootingService=require(a14_0x9beb67(0x227)),{checkAccessibilityPlatformConfig}=require(a14_0x9beb67(0x2c0)),getUserJestConfigs=async(_0x5e338c,_0x13e30b)=>{const _0x15ef0b=a14_0x9beb67,_0x568104={'sXtNK':_0x15ef0b(0x200),'lvjcT':_0x15ef0b(0x284),'MRlzU':function(_0x277a98,_0x29a6f1){return _0x277a98||_0x29a6f1;},'tOQMl':function(_0xa481e4,_0x3a998f){return _0xa481e4(_0x3a998f);},'yZDSU':_0x15ef0b(0x267),'jcKOx':_0x15ef0b(0x2f2),'jXXDY':_0x15ef0b(0x21a),'QXmPo':_0x15ef0b(0x2df),'dtMAY':_0x15ef0b(0x2ad)};let _0x53656d;try{_0x53656d=helper[_0x15ef0b(0x2d6)](_0x568104[_0x15ef0b(0x25c)],_0x568104[_0x15ef0b(0x2f3)]);}catch{const _0x19e213=helper[_0x15ef0b(0x2d6)](_0x568104[_0x15ef0b(0x2f3)]);_0x53656d={'default':async _0x4ae1d7=>{const _0x2c8ce8=_0x15ef0b,_0x2d1bb1=await _0x19e213[_0x2c8ce8(0x27f)](_0x4ae1d7,{});return _0x2d1bb1[_0x2c8ce8(0x256)];}};}const _0x28de97=_0x13e30b[_0x15ef0b(0x231)](_0x2e2bc1=>_0x2e2bc1===_0x15ef0b(0x2e3));if(!helper['isUndefined'](_0x5e338c['config'])){logger[_0x15ef0b(0x244)]('Getting\x20your\x20jest\x20configs\x20from\x20'+_0x5e338c['config']),process[_0x15ef0b(0x2f4)][_0x15ef0b(0x280)]=_0x5e338c[_0x15ef0b(0x256)];const _0x484655=await(0x0,_0x53656d[_0x15ef0b(0x215)])(path[_0x15ef0b(0x2a5)](_0x5e338c[_0x15ef0b(0x256)]));return _0x13e30b[_0x15ef0b(0x21b)](_0x28de97,0x2),_0x568104[_0x15ef0b(0x2f5)](_0x484655,{});}const _0x235108=_0x568104[_0x15ef0b(0x281)](require,path['join'](process[_0x15ef0b(0x27d)](),_0x568104[_0x15ef0b(0x2a7)]));if(_0x235108['jest'])return logger[_0x15ef0b(0x244)](_0x568104[_0x15ef0b(0x2d9)]),_0x235108[_0x15ef0b(0x214)];const _0x3714f4=['js',_0x568104[_0x15ef0b(0x2e7)],_0x568104[_0x15ef0b(0x2d1)],_0x568104[_0x15ef0b(0x28f)],'ts'];for(const _0x418671 of _0x3714f4){const _0x347618=path[_0x15ef0b(0x2ca)](process['cwd'](),_0x15ef0b(0x247)+_0x418671);if(fs['existsSync'](_0x347618)){process[_0x15ef0b(0x2f4)]['USER_CONFIG_DETAILS_PATH']=_0x347618;const _0x26cd38=await(0x0,_0x53656d['default'])(_0x347618);return _0x26cd38;}}return{};},getSerial=(_0x6ff14c,_0x3d7278)=>{const _0x270670=a14_0x9beb67,_0x3b1dae={};_0x3b1dae[_0x270670(0x283)]=_0x270670(0x1fb),_0x3b1dae[_0x270670(0x1fe)]=function(_0x1bb79c,_0x10acdd){return _0x1bb79c>_0x10acdd;},_0x3b1dae[_0x270670(0x2fa)]=_0x270670(0x2bb);const _0x1cf636=_0x3b1dae;let _0x263744=_0x1cf636['Erwyp'];return _0x1cf636[_0x270670(0x1fe)](_0x6ff14c[_0x270670(0x239)],0x1)&&(!_0x3d7278[_0x270670(0x203)]&&(helper[_0x270670(0x250)](_0x3d7278[_0x270670(0x275)])||_0x1cf636[_0x270670(0x1fe)](_0x3d7278[_0x270670(0x275)],0x1)))&&(_0x263744=_0x1cf636[_0x270670(0x2fa)]),_0x263744;},getMaxWorkers=(_0x317b41,_0x4b7c72,_0x1e867a)=>{const _0x2b3571=a14_0x9beb67,_0x13841e={'LXDjF':function(_0x4f8b1e,_0x11fecd){return _0x4f8b1e(_0x11fecd);}};let _0x26ef90=0x1;if(!helper[_0x2b3571(0x250)](_0x4b7c72['parallelsPerPlatform']))_0x26ef90=_0x13841e[_0x2b3571(0x23f)](parseInt,_0x4b7c72['parallelsPerPlatform']);else{if(!helper[_0x2b3571(0x250)](_0x317b41['maxWorkers']))_0x26ef90=_0x317b41[_0x2b3571(0x275)];else!helper['isUndefined'](_0x1e867a['maxWorkers'])&&(_0x26ef90=_0x1e867a[_0x2b3571(0x275)]);}return _0x26ef90;};async function run(_0x531051,_0x3dab41,_0x8a56af){const _0x3e2893=a14_0x9beb67,_0x403e20={'WRVOB':_0x3e2893(0x2a8),'HGxzz':_0x3e2893(0x214),'lKsJp':function(_0x37fb2a,_0x35a7aa){return _0x37fb2a(_0x35a7aa);},'oLzCP':_0x3e2893(0x230),'yhcwR':function(_0x25def0){return _0x25def0();},'uDeCw':function(_0x55a6ea,_0x58f66d,_0x47608a,_0x17caef){return _0x55a6ea(_0x58f66d,_0x47608a,_0x17caef);},'IHLxF':function(_0x38b2bd,_0x2f84e6,_0x5edfd2,_0x532b24){return _0x38b2bd(_0x2f84e6,_0x5edfd2,_0x532b24);},'ntmWN':function(_0x23fea4,_0x55c06a){return _0x23fea4!=_0x55c06a;},'wtplE':_0x3e2893(0x1fb),'OxZMc':function(_0x344fe1,_0x329505,_0x94a71f){return _0x344fe1(_0x329505,_0x94a71f);},'vUofm':_0x3e2893(0x216),'UHZVg':function(_0x3ed33d,_0x42f131){return _0x3ed33d(_0x42f131);},'CBiYq':'false','eufEH':function(_0x58c5ff,_0x118404,_0x56c710,_0x28285b){return _0x58c5ff(_0x118404,_0x56c710,_0x28285b);},'zZvqw':function(_0x3ec3e6,_0x15de2f){return _0x3ec3e6*_0x15de2f;},'zwlfr':function(_0x406920,_0x521c6e){return _0x406920===_0x521c6e;},'wiUkM':'jest_browserstack.config.cjs','MIelk':'jest_browserstack.config.js','ofTlQ':_0x3e2893(0x295),'pGfER':_0x3e2893(0x21e),'gszsi':_0x3e2893(0x29b),'PxlqU':'customTestRunnerTemplate.js','UvARH':_0x3e2893(0x2e5),'VtMDe':function(_0x53a9f9,_0x18d505){return _0x53a9f9!==_0x18d505;},'BrNJO':_0x3e2893(0x290),'GywlZ':_0x3e2893(0x2b4),'ZoJfo':_0x3e2893(0x22a),'ILeiV':_0x3e2893(0x2a2),'BhzJU':_0x3e2893(0x273),'tCINd':_0x3e2893(0x2d8),'rZPBi':_0x3e2893(0x260),'OIvuk':_0x3e2893(0x28a),'tVmMp':_0x3e2893(0x255),'fEVEM':'customCircus.js','tvRwG':_0x3e2893(0x20d),'Cgvra':_0x3e2893(0x22e),'Geszv':_0x3e2893(0x287),'eqIEZ':_0x3e2893(0x2cc),'qXikU':'test.setup.js','Tprli':_0x3e2893(0x1f8),'CkXYj':function(_0x1ec92b,_0x27c277){return _0x1ec92b&&_0x27c277;},'jmWlt':_0x3e2893(0x294),'lOaXh':_0x3e2893(0x259),'KHlpX':_0x3e2893(0x288),'STygG':_0x3e2893(0x215),'TwFwB':'@jest/core/build/ReporterDispatcher.js','VVnFq':_0x3e2893(0x293),'bRdCv':_0x3e2893(0x23b),'vNMTE':function(_0x4f7541,_0x4659bb){return _0x4f7541>_0x4659bb;},'kchcp':'Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','oKvdm':'--config','KqhhO':function(_0x271c5a,_0x3ec169,_0x2052b6,_0x524348){return _0x271c5a(_0x3ec169,_0x2052b6,_0x524348);},'JVvQV':_0x3e2893(0x2c1),'qYbmb':function(_0x3f0542,_0x402c71){return _0x3f0542===_0x402c71;},'oSpJb':_0x3e2893(0x274),'DgNkZ':_0x3e2893(0x2b7),'nOwwv':'close'},_0x2ec7e7=helper[_0x3e2893(0x2b8)](_0x403e20[_0x3e2893(0x237)]);global[_0x3e2893(0x2d4)]=!!_0x2ec7e7;const _0x36e1a5=_0x403e20['yhcwR'](getPuppeteerVersion);global['__isPuppeteerInstalled']=!!_0x36e1a5;helper['isBrowserstackInfra']()?(await _0x8a56af[_0x3e2893(0x1f5)](_0x531051),await helper[_0x3e2893(0x210)](_0x8a56af[_0x3e2893(0x256)])):await _0x8a56af[_0x3e2893(0x254)]();if(_0x2ec7e7)await _0x403e20[_0x3e2893(0x2af)](checkPwandBootstrapCli,_0x2ec7e7,constants['FRAMEWORKS']['JEST'],_0x8a56af);else _0x36e1a5&&await _0x403e20[_0x3e2893(0x243)](checkPuppeteerAndBootstrapCli,_0x36e1a5,constants[_0x3e2893(0x24e)][_0x3e2893(0x2f7)],_0x8a56af);if(!_0x8a56af['config'])return;_0x403e20['ntmWN'](_0x8a56af[_0x3e2893(0x256)]['testObservability'],null)?process[_0x3e2893(0x2f4)][_0x3e2893(0x2e1)]=_0x8a56af['config'][_0x3e2893(0x20f)]:process[_0x3e2893(0x2f4)][_0x3e2893(0x2e1)]=_0x403e20[_0x3e2893(0x291)];const _0x5e16db=new TestOrchestrationHandler(_0x8a56af[_0x3e2893(0x256)]),_0x404147=await _0x403e20[_0x3e2893(0x2be)](getUserJestConfigs,_0x531051,_0x3dab41);logger[_0x3e2893(0x244)](_0x403e20[_0x3e2893(0x2ba)]);const _0x58fb96=Object[_0x3e2893(0x1fc)]({},_0x404147);_0x58fb96[_0x3e2893(0x2ac)]=Object['assign']({},_0x58fb96[_0x3e2893(0x2ac)],{'server':helper['getHubUrl'](_0x8a56af[_0x3e2893(0x256)]),'environment':_0x404147['testEnvironment']}),_0x58fb96[_0x3e2893(0x2ac)][_0x3e2893(0x207)]=_0x403e20[_0x3e2893(0x2da)](getPercyOptions,_0x8a56af['config']);const _0x4609ed=helper[_0x3e2893(0x2e6)](_0x8a56af[_0x3e2893(0x256)]);!helper[_0x3e2893(0x250)](_0x8a56af[_0x3e2893(0x256)][_0x3e2893(0x24c)])&&(process[_0x3e2893(0x2f4)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x3e2893(0x222)](_0x8a56af['config'][_0x3e2893(0x24c)]));if(!BrowserstackCLI[_0x3e2893(0x2b6)]()[_0x3e2893(0x1f9)]()){const _0x2f60c8=await TestHubHandler[_0x3e2893(0x2ee)](FRAMEWORKS[_0x3e2893(0x2f7)],_0x8a56af);}const _0xeedeff=helper[_0x3e2893(0x1ff)](_0x8a56af[_0x3e2893(0x256)],_0x4609ed,constants[_0x3e2893(0x24e)][_0x3e2893(0x2f7)]);process[_0x3e2893(0x2f4)][_0x3e2893(0x2f0)]=JSON['stringify'](_0xeedeff);let _0xcf250a=_0x8a56af[_0x3e2893(0x256)][_0x3e2893(0x25e)];_0xcf250a=_0xcf250a||accessibilityHelper[_0x3e2893(0x2d5)](_0x8a56af[_0x3e2893(0x256)]),process['env'][_0x3e2893(0x1fd)]=_0xcf250a,logger['debug']('[Jest\x20Command]\x20Accessibility\x20enabled:\x20'+_0xcf250a+_0x3e2893(0x2c2)+BrowserstackCLI['getInstance']()['isRunning']());if(_0x2ec7e7)try{const _0x3e911f=_0x403e20[_0x3e2893(0x2a4)](checkAccessibilityPlatformConfig,_0x8a56af[_0x3e2893(0x256)]);process[_0x3e2893(0x2f4)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x3e911f?_0x403e20['wtplE']:_0x403e20[_0x3e2893(0x1fa)],logger[_0x3e2893(0x2aa)](_0x3e2893(0x228)+_0x3e911f+_0x3e2893(0x2cf)+process[_0x3e2893(0x2f4)][_0x3e2893(0x2b5)]);}catch(_0x1da8f8){logger[_0x3e2893(0x2aa)](_0x3e2893(0x22c)+util[_0x3e2893(0x263)](_0x1da8f8));}_0x58fb96[_0x3e2893(0x2ac)][_0x3e2893(0x209)]=_0xeedeff,_0x58fb96[_0x3e2893(0x2ac)][_0x3e2893(0x20e)]=_0x403e20[_0x3e2893(0x2be)](getSerial,_0xeedeff,_0x531051),_0x58fb96[_0x3e2893(0x2ac)][_0x3e2893(0x206)]=_0x403e20['eufEH'](getMaxWorkers,_0x531051,_0x8a56af['config'],_0x404147),_0x58fb96['testEnvironmentOptions'][_0x3e2893(0x264)]=_0x8a56af[_0x3e2893(0x256)]['proxySettings'],_0x58fb96[_0x3e2893(0x2ac)][_0x3e2893(0x26e)]=_0x403e20[_0x3e2893(0x236)](_0x531051[_0x3e2893(0x24d)],0x1)||0x1388,_0x58fb96[_0x3e2893(0x2ac)]['skipSessionName']=_0x8a56af['config'][_0x3e2893(0x286)][_0x3e2893(0x27a)],_0x58fb96[_0x3e2893(0x2ac)][_0x3e2893(0x229)]=_0x8a56af['config']['testContextOptions'][_0x3e2893(0x229)],_0x58fb96[_0x3e2893(0x2ac)][_0x3e2893(0x27e)]=_0x8a56af[_0x3e2893(0x256)][_0x3e2893(0x2e2)],_0x58fb96[_0x3e2893(0x2ac)][_0x3e2893(0x29f)]=_0x8a56af[_0x3e2893(0x256)][_0x3e2893(0x29f)],_0x58fb96['testEnvironmentOptions']['platformCaps']=_0x8a56af[_0x3e2893(0x256)]['platforms'];const _0x223b7a=helper['parseTestOrchestrationOptions'](_0x8a56af[_0x3e2893(0x256)]);if(!helper[_0x3e2893(0x2f1)](_0x223b7a)){helper['isNotUndefined'](_0x223b7a[_0x3e2893(0x233)])&&(_0x58fb96[_0x3e2893(0x2ac)][_0x3e2893(0x221)]=_0x223b7a[_0x3e2893(0x233)][_0x3e2893(0x25f)]);if(helper[_0x3e2893(0x25b)](_0x223b7a[_0x3e2893(0x2ea)])&&helper[_0x3e2893(0x25b)](_0x223b7a['abortBuildOnFailure']['workingDir'])){const _0x279642={};_0x279642[_0x3e2893(0x223)]=_0x223b7a['abortBuildOnFailure']['maxFailures'],_0x279642[_0x3e2893(0x248)]=_0x223b7a[_0x3e2893(0x2ea)]['workingDir'],_0x58fb96[_0x3e2893(0x2ac)][_0x3e2893(0x2e8)]=_0x279642;}}let _0x494b95='';_0x403e20[_0x3e2893(0x2bf)](helper[_0x3e2893(0x26b)](),constants[_0x3e2893(0x2b2)]['MODULE'])?_0x494b95=_0x403e20[_0x3e2893(0x2ae)]:_0x494b95=_0x403e20['MIelk'];const _0x2b7c17=_0x494b95,_0x26e266=path[_0x3e2893(0x2ca)](__dirname,_0x403e20[_0x3e2893(0x261)],_0x403e20[_0x3e2893(0x28b)]),_0x236896=path['join'](__dirname,_0x403e20['ofTlQ'],_0x403e20['gszsi']),_0x94d32c=path['join'](__dirname,_0x403e20[_0x3e2893(0x261)],_0x403e20[_0x3e2893(0x2e9)]);_0x58fb96[_0x3e2893(0x24b)]&&(process[_0x3e2893(0x2f4)]['BSTACK_JEST_TEST_ENV']=_0x58fb96[_0x3e2893(0x24b)]);_0x58fb96[_0x3e2893(0x24b)]=path[_0x3e2893(0x2ca)](__dirname,_0x403e20['ofTlQ'],_0x403e20[_0x3e2893(0x235)]);const _0xbd7995=_0x404147['runner'];if(_0xbd7995&&_0x403e20[_0x3e2893(0x2ce)](_0xbd7995,_0x403e20[_0x3e2893(0x21d)])){const _0x53e472=_0xbd7995[_0x3e2893(0x23e)](_0x403e20[_0x3e2893(0x2eb)])?_0xbd7995:'jest-runner-'+_0xbd7995;process[_0x3e2893(0x2f4)][_0x3e2893(0x282)]=_0x53e472,logger[_0x3e2893(0x244)](_0x3e2893(0x205)+_0x53e472);}_0x58fb96[_0x3e2893(0x240)]=_0x236896,_0x58fb96[_0x3e2893(0x2cd)]=_0x58fb96[_0x3e2893(0x2cd)]||[],_0x58fb96[_0x3e2893(0x2cd)][_0x3e2893(0x2c5)](path[_0x3e2893(0x2ca)](__dirname,_0x403e20['ZoJfo']));_0x5e16db[_0x3e2893(0x22d)]()&&(_0x58fb96['testSequencer']=path['join'](__dirname,_0x403e20[_0x3e2893(0x261)],_0x403e20[_0x3e2893(0x268)]));if(testhubUtils['shouldProcessEventForTesthub']()||BrowserstackCLI[_0x3e2893(0x2b6)]()[_0x3e2893(0x28e)]()){let _0x55549d=null;try{_0x55549d=helper[_0x3e2893(0x2d6)](_0x403e20['BhzJU'],_0x403e20[_0x3e2893(0x2f8)]);}catch(_0x23afc0){try{_0x55549d=helper[_0x3e2893(0x2d6)](_0x403e20['rZPBi'],_0x403e20['tCINd']);}catch(_0x4fbafb){_0x403e20[_0x3e2893(0x2da)](debug,_0x3e2893(0x21c)+_0x4fbafb);}}_0x55549d&&(testhubUtils[_0x3e2893(0x213)]()&&_0x58fb96[_0x3e2893(0x2cd)][_0x3e2893(0x2c5)](path['join'](__dirname,_0x403e20[_0x3e2893(0x2a3)],_0x403e20[_0x3e2893(0x257)])),_0x58fb96[_0x3e2893(0x2d2)]=path[_0x3e2893(0x2ca)](__dirname,_0x403e20[_0x3e2893(0x261)],_0x403e20[_0x3e2893(0x299)]));}_0x58fb96['setupFiles']=_0x58fb96['setupFiles']||[];try{helper[_0x3e2893(0x20c)](),_0x58fb96[_0x3e2893(0x272)]['push'](path[_0x3e2893(0x2ca)](__dirname,_0x403e20['tvRwG']));}catch{logger['debug'](_0x403e20[_0x3e2893(0x2c6)]);}try{helper[_0x3e2893(0x22f)]['apply'](null,[_0x403e20[_0x3e2893(0x237)],_0x403e20[_0x3e2893(0x296)]]),logger[_0x3e2893(0x2aa)](_0x403e20[_0x3e2893(0x29c)]),_0x58fb96[_0x3e2893(0x272)]['push'](path[_0x3e2893(0x2ca)](__dirname,_0x403e20['qXikU']));}catch(_0x5a05ff){logger[_0x3e2893(0x2aa)](_0x403e20[_0x3e2893(0x292)],_0x5a05ff);}if(_0x403e20[_0x3e2893(0x262)](!_0x2ec7e7,_0x36e1a5)){try{logger['debug'](_0x403e20[_0x3e2893(0x29d)]),_0x58fb96[_0x3e2893(0x272)][_0x3e2893(0x2c5)](path[_0x3e2893(0x2ca)](__dirname,'..',_0x403e20[_0x3e2893(0x1f7)],_0x403e20[_0x3e2893(0x297)]));}catch(_0x53e7ae){logger[_0x3e2893(0x2aa)](_0x3e2893(0x208)+_0x53e7ae['message']);}try{const _0x7ce32c=require[_0x3e2893(0x2a5)](_0x403e20[_0x3e2893(0x23a)]),_0x4f748f=path[_0x3e2893(0x2ef)](_0x7ce32c)['replace'](/\\/g,'/'),_0x5b019c={};_0x5b019c[_0x3e2893(0x2c4)]=_0x4f748f+_0x3e2893(0x279),_0x58fb96['moduleNameMapper']=Object[_0x3e2893(0x1fc)]({},_0x58fb96[_0x3e2893(0x2ec)]||{},_0x5b019c),logger[_0x3e2893(0x2aa)](_0x3e2893(0x298)+_0x4f748f);}catch(_0x1d00a5){logger[_0x3e2893(0x2aa)](_0x3e2893(0x2de)+_0x1d00a5[_0x3e2893(0x2e0)]);}}_0x58fb96[_0x3e2893(0x25a)]=_0x58fb96[_0x3e2893(0x25a)]||[_0x403e20[_0x3e2893(0x270)]],_0x403e20[_0x3e2893(0x2be)](updateTestRerunConfig,_0x58fb96,_0x8a56af);const _0x2ae2d3=fs['readFileSync'](_0x94d32c),_0x54603c=helper[_0x3e2893(0x2ab)](_0x403e20['TwFwB'],_0x403e20[_0x3e2893(0x276)]);!_0x54603c[_0x3e2893(0x277)]?fs[_0x3e2893(0x225)](_0x58fb96['runner'],'\x0a\x20\x20\x20\x20\x20\x20'+_0x2ae2d3+_0x3e2893(0x2d3)+_0x8a56af['config'][_0x3e2893(0x29e)][_0x3e2893(0x239)]+_0x3e2893(0x2a9)):fs[_0x3e2893(0x225)](_0x58fb96[_0x3e2893(0x240)],_0x3e2893(0x1f4)+_0x2ae2d3+_0x3e2893(0x253)+_0x8a56af[_0x3e2893(0x256)][_0x3e2893(0x29e)][_0x3e2893(0x239)]+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20})();\x0a\x20\x20\x20\x20');logger['info'](_0x3e2893(0x201)+_0x2b7c17+_0x3e2893(0x220)),fs[_0x3e2893(0x225)](_0x2b7c17,_0x3e2893(0x234)+JSON[_0x3e2893(0x222)](_0x58fb96)+'\x0amodule.exports\x20=\x20config;');if(_0x5e16db[_0x3e2893(0x22d)]()){logger[_0x3e2893(0x2aa)](_0x403e20['bRdCv']);const _0x120f0d=await _0x5e16db['findTestFiles'](_0x58fb96,_0x3dab41[_0x3e2893(0x20a)](0x1),_0x2b7c17);logger[_0x3e2893(0x2aa)](_0x3e2893(0x218)+JSON['stringify'](_0x120f0d)+_0x3e2893(0x26f));const _0x34ad2a=await _0x5e16db[_0x3e2893(0x266)](_0x120f0d);logger['debug'](_0x3e2893(0x28c)+JSON['stringify'](_0x34ad2a)),_0x34ad2a&&_0x403e20[_0x3e2893(0x246)](_0x34ad2a[_0x3e2893(0x239)],0x0)&&(process[_0x3e2893(0x2f4)][_0x3e2893(0x278)]=_0x34ad2a?.[_0x3e2893(0x2ca)](','));}logger[_0x3e2893(0x244)](_0x403e20['kchcp']);testhubUtils[_0x3e2893(0x213)]()&&TestDetails[_0x3e2893(0x2ed)]();helper[_0x3e2893(0x29a)]({},_0x3dab41),PerformanceTester['end'](PerformanceEvents[_0x3e2893(0x2cb)]);const _0x2e16b0=[_0x403e20[_0x3e2893(0x2dc)],_0x403e20[_0x3e2893(0x1f6)],_0x2b7c17,..._0x3dab41[_0x3e2893(0x20a)](0x1)],_0x2ade3b=_0x403e20[_0x3e2893(0x2d7)](spawn,_0x403e20[_0x3e2893(0x2c3)],_0x2e16b0,{'shell':_0x403e20[_0x3e2893(0x26d)](process[_0x3e2893(0x20b)],_0x403e20[_0x3e2893(0x289)]),'stdio':_0x403e20[_0x3e2893(0x212)],'env':Object[_0x3e2893(0x1fc)]({},process['env'])});_0x2ade3b['on'](_0x403e20[_0x3e2893(0x269)],async _0x2f1150=>{const _0x16cab5=_0x3e2893;PerformanceTester[_0x16cab5(0x202)](PerformanceEvents['SDK_CLEANUP']);try{const {browserstackFolderPath:_0x7b714,tcgConfigPath:_0x229158}=helper['getTCGConfigFilePaths']();fs[_0x16cab5(0x1f3)](_0x229158),fs[_0x16cab5(0x2db)](_0x7b714);}catch(_0x582f43){logger[_0x16cab5(0x2aa)](_0x403e20[_0x16cab5(0x26a)],_0x582f43);}process[_0x16cab5(0x27c)]=_0x2f1150,logger['debug'](_0x16cab5(0x2b9)+_0x2f1150),logger[_0x16cab5(0x244)](_0x16cab5(0x265)+_0x2b7c17);if(helper[_0x16cab5(0x25b)](_0x223b7a)&&helper[_0x16cab5(0x25b)](_0x223b7a['abortBuildOnFailure'])&&fs['existsSync'](_0x223b7a['abortBuildOnFailure']['workingDir']))try{const _0x2328a0={};_0x2328a0[_0x16cab5(0x245)]=!![],_0x2328a0['force']=!![],fs[_0x16cab5(0x2e4)](_0x223b7a[_0x16cab5(0x2ea)][_0x16cab5(0x248)],_0x2328a0),logger['debug'](_0x16cab5(0x2b3)+_0x223b7a[_0x16cab5(0x2ea)][_0x16cab5(0x248)]);}catch(_0x8fe8c8){logger[_0x16cab5(0x277)]('Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20'+_0x8fe8c8);}let _0x4310f6=null;if(fs['existsSync'](_0x26e266)){_0x4310f6=fs[_0x16cab5(0x226)](_0x26e266);try{_0x4310f6=JSON[_0x16cab5(0x232)](_0x4310f6);}catch(_0x8c7558){logger[_0x16cab5(0x2aa)](_0x16cab5(0x2c8)+_0x26e266+',\x20'+_0x4310f6+_0x16cab5(0x2f6)+_0x8c7558);}fs[_0x16cab5(0x1f3)](_0x26e266);}fs[_0x16cab5(0x1f3)](_0x2b7c17),fs[_0x16cab5(0x1f3)](_0x236896),_0x4310f6&&(_0x8a56af['errorMessage']=helper[_0x16cab5(0x2a1)](_0x4310f6,_0x403e20['HGxzz'],_0x8a56af));const _0x49f4d8=BrowserstackCLI[_0x16cab5(0x219)]();try{await TestHubHandler[_0x16cab5(0x2bd)](),await BrowserstackCLI['getInstance']()[_0x16cab5(0x2bd)]();}catch(_0x12e966){console['log'](_0x12e966),_0x403e20[_0x16cab5(0x2a4)](debug,_0x16cab5(0x271)+util[_0x16cab5(0x263)](_0x12e966));}testOpsHelper[_0x16cab5(0x2c9)](),TestDetails[_0x16cab5(0x23d)](),await utilities[_0x16cab5(0x24f)](_0x8a56af,_0x49f4d8);});}module['exports']=run;function a14_0x4bb9(){const _0x362bc5=['skipSessionName','150Atmhre','exitCode','cwd','browserStackLogLevel','readInitialOptions','USER_CONFIG_DETAILS_PATH','tOQMl','BSTACK_USER_JEST_RUNNER','Erwyp','jest-config','./test-observability/helper','testContextOptions','playwright','puppeteer-core/package.json','oSpJb','test-observability','pGfER','Reodered\x20Test\x20Files:\x20','1793036Kmzmou','isCliEnabled','dtMAY','jest-runner','wtplE','Tprli','@jest/core','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','customImplements','Geszv','qXikU','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','fEVEM','filterBrowserstackArgs','customTestRunner.js','eqIEZ','jmWlt','platforms','turboScaleUrl','124311MfiyHd','getErrorMessageFromResults','customSequencer.js','OIvuk','lKsJp','resolve','../../helpers/test-observability/utils','yZDSU','error\x20removing\x20tcg\x20config\x20file',';\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','debug','resolveModule','testEnvironmentOptions','json','wiUkM','uDeCw','../../helpers/percy/utils','1809HpCfzl','PACKAGE_TYPE','Deleted\x20fail-fast\x20state\x20folder:\x20','jest-runner-','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','getInstance','inherit','getPackageVersion','child\x20process\x20exited\x20with\x20code\x20','vUofm','false','530FTXFDG','stop','OxZMc','zwlfr','../../helpers/accessibility-automation/helper','npx',',\x20CLI\x20running:\x20','JVvQV','^puppeteer-core/internal/(.*)','push','Cgvra','../../helpers/logger','Error\x20while\x20parsing\x20','printBuildLink','join','SDK_SETUP','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','setupFilesAfterEnv','VtMDe',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','path','QXmPo','testRunner','\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','__isPlaywrightInstalled','checkAccessibilityPlatformConfig','requireModule','KqhhO','jest-circus','jcKOx','UHZVg','rmdirSync','HGxzz','../v2/browserstackCLI','[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20','cjs','message','BROWSERSTACK_TEST_OBSERVABILITY_YML','logLevel','--config','rmSync','customEnvironment.js','useW3C','jXXDY','failFast','PxlqU','abortBuildOnFailure','GywlZ','moduleNameMapper','setup','launchBuild','dirname','BROWSERSTACK_CAPABILITIES','isEmpty','Getting\x20your\x20jest\x20configs\x20from\x20package.json','lvjcT','env','MRlzU','\x20:\x20','JEST','tCINd','35048EKouIV','bznRm','../../helpers/performance/performance-tester','unlinkSync','\x0a\x20\x20\x20\x20\x20\x20','initialize','oKvdm','lOaXh','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','isRunning','CBiYq','true','assign','BROWSERSTACK_TEST_ACCESSIBILITY_YML','gqZYG','prepareCapabilities','jest-config/build/readConfigFileAndSetRootDir.js','Creating\x20','start','runInBand','3572XgOGEb','Preserving\x20user\x27s\x20Jest\x20runner:\x20','parallels__','browserStackPercyOptions','Puppeteer\x20setup\x20error:\x20','capabilities','slice','platform','requireSeleniumWebdriver','test_before.setup.js','serial__','testObservability','handleApp','../../helpers/helper','DgNkZ','shouldProcessEventForTesthub','jest','default','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','../../helpers/puppeteer-helper','Found:\x20','isCLIEnabled','mjs','splice','Unable\x20to\x20find\x20jest-circus,\x20','BrNJO','jest_browserstack_results.json','../../helpers/utilities','\x20with\x20browserstack\x20jest\x20configs','retries__','stringify','failureThresholdCount','14NtaawF','writeFileSync','readFileSync','../utils/clientTroubleshootingService','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','skipSessionStatus','jest.setup.js','582bQiHMt','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','isTestOrchestrationEnabled','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','requirePWModule','@playwright/test','findIndex','parse','retryTestsOnFailure','const\x20config=','UvARH','zZvqw','oLzCP','winstonLogger','length','KHlpX','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','../../helpers/test-orchestration/testOrchestrationHandler','shutdown','startsWith','LXDjF','runner','../../helpers/playwright-helper','27890iLBVBW','IHLxF','info','recursive','vNMTE','jest.config.','workingDir','./test-observability/test-details','7656ilytDp','testEnvironment','accessibilityOptions','testTimeout','FRAMEWORKS','finalExecution','isUndefined','38088hnlerm','../../helpers/test-observability/constants','\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','setupTCGAuth','data-hooks.js','config','tVmMp','../../helpers/BrowserStackSetup','puppeteer','reporters','isNotUndefined','sXtNK','61549pGZNyg','accessibility','maxRetries','jest-circus/build/runner.js','ofTlQ','CkXYj','format','proxySettings','Deleting\x20','reorderTestFiles','package.json','ILeiV','nOwwv','WRVOB','getPackageType','child_process','qYbmb','timeout__','\x20test\x20files\x20to\x20run.','STygG','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','setupFiles','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','win32','maxWorkers','VVnFq','error','JEST_TEST_ORDER','/internal/$1'];a14_0x4bb9=function(){return _0x362bc5;};return a14_0x4bb9();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a15_0x12cd91=a15_0x1dd8;function a15_0x3610(){const _0x35ff34=['22681KNhinL','jest-circus','jestAdapterInit','63MUKpfg','41458060XPvYFa','1073672MoPrXQ','initRequireModule','exports','jXNgF','join','5741508nSuHjC','116gJWFNJ','1026370yCnlqP','28vbOEQv','../../../helpers/helper','loGiO','default','customJestAdapterInit.js','function','rIsHF','path','includes','260784osTqxx','4022208cFFkBM','requireInternalModule','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js'];a15_0x3610=function(){return _0x35ff34;};return a15_0x3610();}function a15_0x1dd8(_0x1e105c,_0x14042d){const _0x36101c=a15_0x3610();return a15_0x1dd8=function(_0x1dd8f7,_0x39693f){_0x1dd8f7=_0x1dd8f7-0xc6;let _0x34e7bd=_0x36101c[_0x1dd8f7];return _0x34e7bd;},a15_0x1dd8(_0x1e105c,_0x14042d);}(function(_0xd05d2b,_0x138b59){const _0x3c37d8=a15_0x1dd8,_0x1e1dad=_0xd05d2b();while(!![]){try{const _0x3b0a19=parseInt(_0x3c37d8(0xd7))/0x1*(-parseInt(_0x3c37d8(0xc8))/0x2)+-parseInt(_0x3c37d8(0xd4))/0x3+-parseInt(_0x3c37d8(0xca))/0x4*(-parseInt(_0x3c37d8(0xc9))/0x5)+-parseInt(_0x3c37d8(0xc7))/0x6+parseInt(_0x3c37d8(0xda))/0x7*(-parseInt(_0x3c37d8(0xdc))/0x8)+-parseInt(_0x3c37d8(0xd3))/0x9+parseInt(_0x3c37d8(0xdb))/0xa;if(_0x3b0a19===_0x138b59)break;else _0x1e1dad['push'](_0x1e1dad['shift']());}catch(_0x4d9015){_0x1e1dad['push'](_0x1e1dad['shift']());}}}(a15_0x3610,0xb2e2b));const path=require(a15_0x12cd91(0xd1)),{requireModule}=require(a15_0x12cd91(0xcb));let initJestAdapter;try{initJestAdapter=requireModule(a15_0x12cd91(0xd6),a15_0x12cd91(0xd8));}catch{initJestAdapter=requireModule('jest-circus/build/runner.js',a15_0x12cd91(0xd8));}initJestAdapter=typeof initJestAdapter===a15_0x12cd91(0xcf)?initJestAdapter:initJestAdapter[a15_0x12cd91(0xcd)];const FRAMEWORK_INITIALIZER=path[a15_0x12cd91(0xc6)](__dirname,a15_0x12cd91(0xce));module[a15_0x12cd91(0xde)]=(..._0x481853)=>{const _0x40922f=a15_0x12cd91,_0x3eff06={'jXNgF':_0x40922f(0xd9),'loGiO':function(_0x2bb984,_0x43fef7){return _0x2bb984===_0x43fef7;},'rIsHF':function(_0x5e8eab,..._0x111959){return _0x5e8eab(..._0x111959);}};return _0x481853[0x3]['initRequireModule']=_0x481853[0x3][_0x40922f(0xd5)],_0x481853[0x3][_0x40922f(0xd5)]=(..._0x1e60cb)=>{const _0x5c478c=_0x40922f;if(_0x1e60cb[0x0]&&_0x1e60cb[0x0][_0x5c478c(0xd2)](_0x3eff06[_0x5c478c(0xdf)])&&_0x3eff06[_0x5c478c(0xcc)](_0x1e60cb[0x1],undefined))return _0x481853[0x3]['initRequireModule'](FRAMEWORK_INITIALIZER);return _0x481853[0x3][_0x5c478c(0xdd)](..._0x1e60cb);},_0x3eff06[_0x40922f(0xd0)](initJestAdapter,..._0x481853);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a16_0x1a20(){const _0x2b57ae=['Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','split','../../../helpers/test-observability/utils','jest-environment-node','debug','projectConfig','IKmAx','nQjDh','../../../helpers/logger','browserstackPercyBestPlatform','iOGDW','__driversArray','90329EMiPeL','Error\x20in\x20fail-fast\x20test_done\x20handler:','framework','JEST','nTsnX','browserstackPlatformIndex','__jestRetries','414664NGQxJa','FwsCD','__webdriver','rbPYd','builder','jvZpJ','../../../helpers/testhub/utils','getTestEnvironment','mkhqg','MSwWk','RNkpr','name','3504416bwgiYR','1103065yDjwNZ','capabilities','../../../index','test_done','UzekJ','driver','3|0|1|7|5|2|6|4','1175150rrnCZk','env','BSTACK_DELTA','27fLHsTz','9QRDefz','3416826YIHmMO','../../../helpers/test-orchestration/failfastManager','zFYHH','965280dflTsa','RDYQd','configuration','onTestDone','__skipSessionStatus','resolveTestEnvironment','__esModule','mhTRH','__timeout','failFastActive','__platformCaps','global','default','cleanup','YUhNh','nestedKeyValue','ahQuG','skip','LOOWJ','ALtjy','dKzch','retries__','bstack:options','test_start','testEnvironmentOptions','cZLYC','errors','../../../helpers/helper','../test-observability/obsReporter','obsOk','failFastOptions','isArray','FRAMEWORKS','shouldFailFast','skipSessionStatus','handleTestEvent','DZubs','quit','\x20>\x20','failFast','percyCaptureMode','teardown','projectName','7smJTtl','testPath','cleanupDrivers','platformCaps','percy','skipSessionName','requireModule','isTrue','shutdown','RxwMP','capability','Builder','kYzsF','GOvPh','timeout__','winstonLogger','message','jest-config','requireSeleniumWebdriver','test','shouldProcessEventForTesthub','TpYFl','hNpGP','LCbUf','browserStackPercyOptions','../../../helpers/test-observability/requestQueueHandler','isNotUndefined','amfWh','isBrowserstackInfra'];a16_0x1a20=function(){return _0x2b57ae;};return a16_0x1a20();}const a16_0x25b010=a16_0x45a1;(function(_0x346997,_0x19eb3e){const _0x2662d1=a16_0x45a1,_0x20f225=_0x346997();while(!![]){try{const _0x5d396e=parseInt(_0x2662d1(0x9b))/0x1+-parseInt(_0x2662d1(0xb6))/0x2+parseInt(_0x2662d1(0xba))/0x3*(parseInt(_0x2662d1(0xa2))/0x4)+-parseInt(_0x2662d1(0xaf))/0x5+-parseInt(_0x2662d1(0xbb))/0x6*(-parseInt(_0x2662d1(0xe9))/0x7)+parseInt(_0x2662d1(0xae))/0x8+-parseInt(_0x2662d1(0xb9))/0x9*(parseInt(_0x2662d1(0xbe))/0xa);if(_0x5d396e===_0x19eb3e)break;else _0x20f225['push'](_0x20f225['shift']());}catch(_0x25dacf){_0x20f225['push'](_0x20f225['shift']());}}}(a16_0x1a20,0x4bf26));function a16_0x45a1(_0x4b358b,_0x50f225){const _0x1a2079=a16_0x1a20();return a16_0x45a1=function(_0x45a177,_0x423596){_0x45a177=_0x45a177-0x97;let _0x2f979f=_0x1a2079[_0x45a177];return _0x2f979f;},a16_0x45a1(_0x4b358b,_0x50f225);}const helper=require(a16_0x25b010(0xd9)),constants=require('../../utils/constants'),{isTestObservabilitySession}=require(a16_0x25b010(0x108)),RequestQueueHandler=require(a16_0x25b010(0x102)),ObservabilityReporter=require(a16_0x25b010(0xda)),testhubUtils=require(a16_0x25b010(0xa8)),logger=require(a16_0x25b010(0x97))[a16_0x25b010(0xf8)],getTestEnvironment=((()=>{const _0x2d5ecc=a16_0x25b010,_0x362678={};_0x362678[_0x2d5ecc(0xbf)]='jest-resolve',_0x362678[_0x2d5ecc(0xc5)]=_0x2d5ecc(0xfa);const _0x18e6fb=_0x362678;try{const _0x465471=helper[_0x2d5ecc(0xef)](_0x18e6fb[_0x2d5ecc(0xbf)]);if(_0x465471[_0x2d5ecc(0xc3)])return _0x465471[_0x2d5ecc(0xc3)];const _0x4ecd5b=helper[_0x2d5ecc(0xef)](_0x18e6fb[_0x2d5ecc(0xc5)]);if(_0x4ecd5b[_0x2d5ecc(0xa9)])return _0x4ecd5b[_0x2d5ecc(0xa9)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x5ad57c=a16_0x25b010,_0x14c0cc={'amfWh':function(_0x4a4747,_0x136b5e){return _0x4a4747(_0x136b5e);},'dKzch':'node','RxwMP':function(_0x2bb60c,_0x16df46){return _0x2bb60c(_0x16df46);},'MSwWk':_0x5ad57c(0x109),'nTsnX':function(_0x399d49,_0x35d732){return _0x399d49(_0x35d732);}},_0x199c71=_0x14c0cc[_0x5ad57c(0x104)](getTestEnvironment,{'rootDir':process['cwd'](),'testEnvironment':process[_0x5ad57c(0xb7)]['BSTACK_JEST_TEST_ENV']||_0x14c0cc[_0x5ad57c(0xd2)]});if(!_0x199c71)return _0x14c0cc[_0x5ad57c(0xf2)](_interopRequireDefault,helper[_0x5ad57c(0xef)](_0x14c0cc[_0x5ad57c(0xab)]));return _0x14c0cc[_0x5ad57c(0x9f)](_interopRequireDefault,helper[_0x5ad57c(0xef)](_0x199c71));})()),_seleniumWebdriver2=((()=>{const _0x645457=a16_0x25b010,_0x30b27a={'mkhqg':function(_0x36a5ce,_0x395b8d){return _0x36a5ce(_0x395b8d);}};try{const _0x56021f=helper[_0x645457(0xfb)]();return helper['modifyCommand'](),_0x30b27a[_0x645457(0xaa)](_interopRequireDefault,_0x56021f);}catch{return null;}})());function _interopRequireDefault(_0xaabf45){const _0x4f32e5=a16_0x25b010;return _0xaabf45&&_0xaabf45[_0x4f32e5(0xc4)]?_0xaabf45:{'default':_0xaabf45};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2['default'][a16_0x25b010(0xf4)]:null;class CustomEnvironment extends _jestUserEnvironment[a16_0x25b010(0xca)]{constructor(_0x3f022){const _0x376df4=a16_0x25b010,_0x37031b={'cZLYC':_0x376df4(0xe3),'IKmAx':function(_0x2e222c,_0x4f9251){return _0x2e222c+_0x4f9251;},'hNpGP':_0x376df4(0xd4),'zFYHH':function(_0x3372ce,_0x53ae11){return _0x3372ce(_0x53ae11);},'LCbUf':_0x376df4(0xbc),'obsOk':_0x376df4(0xb5),'YUhNh':_0x376df4(0xb1),'jvZpJ':_0x376df4(0xd6),'FwsCD':_0x376df4(0x101),'kYzsF':_0x376df4(0x98),'wGHTZ':'percyCaptureMode','LOOWJ':_0x376df4(0xed)};super(_0x3f022),this[_0x376df4(0xc9)][_0x376df4(0xc6)]=0x0,this[_0x376df4(0xc0)]={};!_0x3f022[_0x376df4(0xd6)]&&(_0x3f022[_0x376df4(0xd6)]={});if(helper[_0x376df4(0x105)]()){_0x3f022[_0x376df4(0xd6)]=_0x3f022[_0x376df4(0x10b)]?_0x3f022[_0x376df4(0x10b)]['testEnvironmentOptions']:_0x3f022[_0x376df4(0xd6)];_seleniumWebdriver2&&(this[_0x376df4(0xa6)]=new _seleniumWebdriver2[(_0x376df4(0xca))]['Builder']());this['capability']=_0x3f022['projectConfig']?_0x3f022[_0x376df4(0x10b)][_0x376df4(0xf3)]:_0x3f022['capability'],this[_0x376df4(0xc9)][_0x376df4(0xc6)]=_0x37031b[_0x376df4(0x10c)](_0x3f022[_0x376df4(0xd6)][_0x376df4(0xf7)]||0x1388,constants[_0x376df4(0xb8)]),this['failFastOptions']=_0x3f022[_0x376df4(0xd6)][_0x376df4(0xe5)];if(this[_0x376df4(0xdc)]){const _0x31f953=this[_0x376df4(0xf3)][_0x37031b[_0x376df4(0xff)]]?.['buildName']||'',_0x246319=this['capability'][_0x37031b['hNpGP']]?.[_0x376df4(0xe8)]||'';this['failFast']=new(_0x37031b[_0x376df4(0xbd)](require,_0x37031b[_0x376df4(0x100)]))(this[_0x376df4(0xdc)],_0x31f953,_0x246319),this[_0x376df4(0xc9)][_0x376df4(0xc7)]=![];}helper[_0x376df4(0x103)](_0x3f022['testEnvironmentOptions'][_0x376df4(0xd3)])&&(this[_0x376df4(0xc9)][_0x376df4(0xa1)]=_0x3f022[_0x376df4(0xd6)][_0x376df4(0xd3)]);}if(testhubUtils['shouldProcessEventForTesthub']()){const _0x3306b5=new ObservabilityReporter();_0x3306b5['registerListeners']();}this[_0x376df4(0xc9)]['browserStackGlobals']={},this[_0x376df4(0xc0)]=_0x3f022[_0x376df4(0xd6)],this[_0x376df4(0xc0)][_0x376df4(0x9d)]=constants[_0x376df4(0xde)][_0x376df4(0x9e)],this[_0x376df4(0xc9)][_0x376df4(0xa0)]=(_0x3f022[_0x376df4(0x10b)]?_0x3f022[_0x376df4(0x10b)]['browserstackPlatformIndex']:_0x3f022['browserstackPlatformIndex'])||0x0,this['global'][_0x376df4(0xc8)]=this[_0x376df4(0xc0)]&&this[_0x376df4(0xc0)][_0x376df4(0xec)]&&Array[_0x376df4(0xdd)](this['configuration'][_0x376df4(0xec)])&&this['configuration'][_0x376df4(0xec)][this[_0x376df4(0xc9)][_0x376df4(0xa0)]]||{};const _0x10a998=this['global']['browserstackPlatformIndex'],_0x706ef5={...this[_0x376df4(0xc0)],'capability':this[_0x376df4(0xc0)]['capabilities']&&Array['isArray'](this[_0x376df4(0xc0)][_0x376df4(0xb0)])&&this[_0x376df4(0xc0)][_0x376df4(0xb0)][_0x10a998]||{},'platformCaps':this[_0x376df4(0xc0)]['platformCaps']&&Array['isArray'](this[_0x376df4(0xc0)][_0x376df4(0xec)])&&this[_0x376df4(0xc0)][_0x376df4(0xec)][_0x10a998]||{}};delete _0x706ef5['capabilities'],this[_0x376df4(0xc9)]['jestConfig']=_0x706ef5;if(_seleniumWebdriver2){const _0x391822=_0x37031b[_0x376df4(0xdb)][_0x376df4(0x107)]('|');let _0x18b35e=0x0;while(!![]){switch(_0x391822[_0x18b35e++]){case'0':this[_0x376df4(0xc9)][_0x376df4(0xa4)]=_0x37031b[_0x376df4(0xbd)](require,_0x37031b[_0x376df4(0xcc)])['browserstackAgentV2']({...this[_0x376df4(0xc0)],'capability':this[_0x376df4(0xf3)]||{}},this,testhubUtils[_0x376df4(0xfd)]());continue;case'1':this[_0x376df4(0xc9)][_0x376df4(0x98)]=helper['nestedKeyValue'](_0x3f022,[_0x37031b[_0x376df4(0xa7)],_0x37031b[_0x376df4(0xa3)],_0x37031b[_0x376df4(0xf5)]]);continue;case'2':helper['isTrue'](this[_0x376df4(0xc0)][_0x376df4(0xee)])?this[_0x376df4(0xc9)]['sessionNameProvided']=!![]:this['global']['sessionNameProvided']=![];continue;case'3':this['global']['__drivers']=[];continue;case'4':this[_0x376df4(0xc9)][_0x376df4(0xcb)]=async()=>{const _0x9276c9=_0x376df4;await this['global'][_0x9276c9(0xb4)][_0x9276c9(0xe3)](_0x37031b[_0x9276c9(0xd7)]);};continue;case'5':this[_0x376df4(0xc9)][_0x376df4(0xe6)]=helper[_0x376df4(0xcd)](_0x3f022,[_0x37031b['jvZpJ'],_0x37031b[_0x376df4(0xa3)],_0x37031b['wGHTZ']]);continue;case'6':this['global'][_0x376df4(0xc2)]=helper[_0x376df4(0xf0)](this[_0x376df4(0xc0)][_0x376df4(0xe0)]);continue;case'7':this[_0x376df4(0xc9)]['percy']=helper[_0x376df4(0xcd)](_0x3f022,[_0x37031b[_0x376df4(0xa7)],_0x37031b[_0x376df4(0xa3)],_0x37031b[_0x376df4(0xd0)]]);continue;}break;}}}async[a16_0x25b010(0xe7)](){const _0x6a782f=a16_0x25b010;_seleniumWebdriver2&&(await helper[_0x6a782f(0xeb)](this[_0x6a782f(0xc9)][_0x6a782f(0x9a)]),this['global'][_0x6a782f(0xa4)][_0x6a782f(0xf4)]=originalBuilder),await RequestQueueHandler['getInstance']()[_0x6a782f(0xf1)]();}async['setup'](){}async[a16_0x25b010(0xe1)](_0x18507b,_0x3d8c65){const _0x2e9dd3=a16_0x25b010,_0x35d9ed={};_0x35d9ed[_0x2e9dd3(0xd1)]=function(_0x28fa9d,_0x2f1c5){return _0x28fa9d===_0x2f1c5;},_0x35d9ed['TpYFl']=_0x2e9dd3(0xd5),_0x35d9ed[_0x2e9dd3(0x10d)]=function(_0x38418b,_0xabf45d){return _0x38418b===_0xabf45d;},_0x35d9ed['IsFPA']=_0x2e9dd3(0xcf),_0x35d9ed[_0x2e9dd3(0xa5)]=function(_0x3f9627,_0x2b8d04){return _0x3f9627===_0x2b8d04;},_0x35d9ed['GOvPh']=_0x2e9dd3(0xb2),_0x35d9ed[_0x2e9dd3(0xe2)]=_0x2e9dd3(0xe4),_0x35d9ed[_0x2e9dd3(0xac)]=function(_0x5ba564,_0x7182b2){return _0x5ba564===_0x7182b2;},_0x35d9ed[_0x2e9dd3(0xb3)]=function(_0xb1b872,_0x162b25){return _0xb1b872===_0x162b25;},_0x35d9ed[_0x2e9dd3(0xce)]=_0x2e9dd3(0x9c),_0x35d9ed[_0x2e9dd3(0x99)]='teardown';const _0x51de7f=_0x35d9ed,{name:_0x51d5c4}=_0x18507b;if(_0x51de7f[_0x2e9dd3(0xd1)](_0x51d5c4,_0x51de7f[_0x2e9dd3(0xfe)])){this[_0x2e9dd3(0xc9)]['testContext']=_0x18507b[_0x2e9dd3(0xfc)];if(_0x51de7f[_0x2e9dd3(0x10d)](this[_0x2e9dd3(0xc9)][_0x2e9dd3(0xc7)],!![])){const _0x55b1b5=_0x18507b[_0x2e9dd3(0xfc)][_0x2e9dd3(0xad)];logger['info'](_0x2e9dd3(0x106)+_0x55b1b5),_0x18507b[_0x2e9dd3(0xfc)]['mode']=_0x51de7f['IsFPA'];}}if(this['failFast']&&_0x51de7f[_0x2e9dd3(0xa5)](_0x51d5c4,_0x51de7f[_0x2e9dd3(0xf6)]))try{const _0x3fca06=_0x18507b['test'][_0x2e9dd3(0xea)]['join'](_0x51de7f['DZubs']),_0xc6a48c=_0x18507b[_0x2e9dd3(0xfc)][_0x2e9dd3(0xd8)];await this[_0x2e9dd3(0xe5)][_0x2e9dd3(0xc1)](_0x3fca06,_0xc6a48c);const _0x195a04=await this['failFast'][_0x2e9dd3(0xdf)]();_0x51de7f[_0x2e9dd3(0xac)](this[_0x2e9dd3(0xc9)]['failFastActive'],![])&&_0x51de7f['UzekJ'](_0x195a04,!![])&&(this['global'][_0x2e9dd3(0xc7)]=!![]);}catch(_0x4c671d){logger[_0x2e9dd3(0x10a)](_0x51de7f[_0x2e9dd3(0xce)],_0x4c671d[_0x2e9dd3(0xf9)]);}_0x51de7f[_0x2e9dd3(0xd1)](_0x51d5c4,_0x51de7f[_0x2e9dd3(0x99)])&&(this[_0x2e9dd3(0xe5)]&&this[_0x2e9dd3(0xe5)][_0x2e9dd3(0xcb)]());}}module['exports']=CustomEnvironment;
|
|
1
|
+
const a16_0xae3271=a16_0x2434;(function(_0x5a2d52,_0x3672c5){const _0x1f22d6=a16_0x2434,_0xd77c6d=_0x5a2d52();while(!![]){try{const _0x1176fe=parseInt(_0x1f22d6(0x142))/0x1*(parseInt(_0x1f22d6(0x103))/0x2)+parseInt(_0x1f22d6(0x127))/0x3+parseInt(_0x1f22d6(0x14e))/0x4*(-parseInt(_0x1f22d6(0x153))/0x5)+-parseInt(_0x1f22d6(0x146))/0x6+parseInt(_0x1f22d6(0x12d))/0x7*(-parseInt(_0x1f22d6(0xfd))/0x8)+parseInt(_0x1f22d6(0xf0))/0x9+-parseInt(_0x1f22d6(0xfa))/0xa;if(_0x1176fe===_0x3672c5)break;else _0xd77c6d['push'](_0xd77c6d['shift']());}catch(_0x35c5bb){_0xd77c6d['push'](_0xd77c6d['shift']());}}}(a16_0xf877,0x92d95));const helper=require(a16_0xae3271(0x11d)),constants=require('../../utils/constants'),{isTestObservabilitySession}=require(a16_0xae3271(0x148)),RequestQueueHandler=require(a16_0xae3271(0x14d)),ObservabilityReporter=require(a16_0xae3271(0x147)),testhubUtils=require(a16_0xae3271(0xe3)),logger=require(a16_0xae3271(0x136))[a16_0xae3271(0x14a)],getTestEnvironment=((()=>{const _0x4c93f9=a16_0xae3271,_0x1869a7={};_0x1869a7[_0x4c93f9(0x10f)]=_0x4c93f9(0x116),_0x1869a7[_0x4c93f9(0x143)]='jest-config';const _0x4e9f61=_0x1869a7;try{const _0x1130a9=helper[_0x4c93f9(0xfb)](_0x4e9f61[_0x4c93f9(0x10f)]);if(_0x1130a9[_0x4c93f9(0x117)])return _0x1130a9[_0x4c93f9(0x117)];const _0x56e45b=helper['requireModule'](_0x4e9f61[_0x4c93f9(0x143)]);if(_0x56e45b[_0x4c93f9(0x141)])return _0x56e45b[_0x4c93f9(0x141)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x5252fd=a16_0xae3271,_0x2246ed={'ZIhyo':function(_0x13d784,_0x1768c2){return _0x13d784(_0x1768c2);},'KUjQL':'node','JcvGA':function(_0x3a99b3,_0x12e5bc){return _0x3a99b3(_0x12e5bc);},'VFHON':_0x5252fd(0xfc),'KABjW':function(_0x6c0c2d,_0x2a12ea){return _0x6c0c2d(_0x2a12ea);}},_0x3dc44e=_0x2246ed['ZIhyo'](getTestEnvironment,{'rootDir':process[_0x5252fd(0xec)](),'testEnvironment':process[_0x5252fd(0x112)][_0x5252fd(0xe4)]||_0x2246ed[_0x5252fd(0x10c)]});if(!_0x3dc44e)return _0x2246ed[_0x5252fd(0x132)](_interopRequireDefault,helper['requireModule'](_0x2246ed[_0x5252fd(0xee)]));return _0x2246ed[_0x5252fd(0x126)](_interopRequireDefault,helper['requireModule'](_0x3dc44e));})()),_seleniumWebdriver2=((()=>{const _0xe2c6e9=a16_0xae3271,_0x155611={'ObALr':function(_0x3f3b3d,_0x93b86b){return _0x3f3b3d(_0x93b86b);}};try{const _0x57a1e2=helper['requireSeleniumWebdriver']();return helper[_0xe2c6e9(0x151)](),_0x155611[_0xe2c6e9(0x124)](_interopRequireDefault,_0x57a1e2);}catch{return null;}})());function _interopRequireDefault(_0x15dcd0){const _0x34b0e9=a16_0xae3271;return _0x15dcd0&&_0x15dcd0[_0x34b0e9(0x12a)]?_0x15dcd0:{'default':_0x15dcd0};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a16_0xae3271(0x144)]['Builder']:null;function a16_0x2434(_0x2f3e40,_0xdb8ff5){const _0xf877b5=a16_0xf877();return a16_0x2434=function(_0x2434a9,_0x9a5bc0){_0x2434a9=_0x2434a9-0xe2;let _0x86649d=_0xf877b5[_0x2434a9];return _0x86649d;},a16_0x2434(_0x2f3e40,_0xdb8ff5);}class CustomEnvironment extends _jestUserEnvironment[a16_0xae3271(0x144)]{constructor(_0x36d3ef){const _0x1d26ab=a16_0xae3271,_0x384ef7={'thCYE':_0x1d26ab(0x130),'AnKUx':function(_0x5c7c84,_0x27b966){return _0x5c7c84+_0x27b966;},'UcTCR':_0x1d26ab(0xf6),'Atueh':function(_0x488361,_0x4543b5){return _0x488361(_0x4543b5);},'LUrgP':_0x1d26ab(0x12b),'DtXUg':_0x1d26ab(0x118),'SCqEi':_0x1d26ab(0x150),'waKOp':_0x1d26ab(0xe7),'rFjOB':_0x1d26ab(0xe6),'FyhSN':_0x1d26ab(0x14b),'HEBND':'browserstackPercyBestPlatform','Usiuc':_0x1d26ab(0x134)};super(_0x36d3ef),this[_0x1d26ab(0x13c)]['__timeout']=0x0,this[_0x1d26ab(0x100)]={};!_0x36d3ef[_0x1d26ab(0x150)]&&(_0x36d3ef[_0x1d26ab(0x150)]={});if(helper[_0x1d26ab(0x140)]()){_0x36d3ef[_0x1d26ab(0x150)]=_0x36d3ef[_0x1d26ab(0x135)]?_0x36d3ef[_0x1d26ab(0x135)][_0x1d26ab(0x150)]:_0x36d3ef['testEnvironmentOptions'];_seleniumWebdriver2&&(this['builder']=new _seleniumWebdriver2[(_0x1d26ab(0x144))]['Builder']());this[_0x1d26ab(0x131)]=_0x36d3ef[_0x1d26ab(0x135)]?_0x36d3ef[_0x1d26ab(0x135)][_0x1d26ab(0x131)]:_0x36d3ef[_0x1d26ab(0x131)],this[_0x1d26ab(0x13c)][_0x1d26ab(0xe8)]=_0x384ef7[_0x1d26ab(0xf7)](_0x36d3ef[_0x1d26ab(0x150)][_0x1d26ab(0x111)]||0x1388,constants[_0x1d26ab(0xf8)]),this[_0x1d26ab(0x129)]=_0x36d3ef['testEnvironmentOptions']['failFast'];if(this['failFastOptions']){const _0x44d06b=this[_0x1d26ab(0x131)][_0x384ef7[_0x1d26ab(0xfe)]]?.['buildName']||'',_0x7dc3de=this[_0x1d26ab(0x131)][_0x384ef7['UcTCR']]?.['projectName']||'';this[_0x1d26ab(0x13b)]=new(_0x384ef7[_0x1d26ab(0x12f)](require,_0x384ef7['LUrgP']))(this[_0x1d26ab(0x129)],_0x44d06b,_0x7dc3de),this['global'][_0x1d26ab(0x13f)]=![];}helper[_0x1d26ab(0x105)](_0x36d3ef['testEnvironmentOptions'][_0x1d26ab(0xed)])&&(this[_0x1d26ab(0x13c)]['__jestRetries']=_0x36d3ef[_0x1d26ab(0x150)][_0x1d26ab(0xed)]);}if(testhubUtils[_0x1d26ab(0x125)]()){const _0x1a3a4e=new ObservabilityReporter();_0x1a3a4e['registerListeners']();}this[_0x1d26ab(0x13c)][_0x1d26ab(0xef)]={},this[_0x1d26ab(0x100)]=_0x36d3ef['testEnvironmentOptions'],this[_0x1d26ab(0x100)][_0x1d26ab(0x11a)]=constants['FRAMEWORKS']['JEST'],this[_0x1d26ab(0x13c)][_0x1d26ab(0xf5)]=(_0x36d3ef[_0x1d26ab(0x135)]?_0x36d3ef[_0x1d26ab(0x135)][_0x1d26ab(0xf5)]:_0x36d3ef[_0x1d26ab(0xf5)])||0x0,this[_0x1d26ab(0x13c)][_0x1d26ab(0x123)]=this[_0x1d26ab(0x100)]&&this[_0x1d26ab(0x100)]['platformCaps']&&Array[_0x1d26ab(0x12e)](this[_0x1d26ab(0x100)]['platformCaps'])&&this[_0x1d26ab(0x100)][_0x1d26ab(0x120)][this[_0x1d26ab(0x13c)]['browserstackPlatformIndex']]||{};const _0x43190f=this[_0x1d26ab(0x13c)][_0x1d26ab(0xf5)],_0x4ca68a={...this[_0x1d26ab(0x100)],'capability':this[_0x1d26ab(0x100)][_0x1d26ab(0xf2)]&&Array[_0x1d26ab(0x12e)](this[_0x1d26ab(0x100)]['capabilities'])&&this[_0x1d26ab(0x100)][_0x1d26ab(0xf2)][_0x43190f]||{},'platformCaps':this['configuration'][_0x1d26ab(0x120)]&&Array[_0x1d26ab(0x12e)](this[_0x1d26ab(0x100)]['platformCaps'])&&this[_0x1d26ab(0x100)][_0x1d26ab(0x120)][_0x43190f]||{}};delete _0x4ca68a[_0x1d26ab(0xf2)],this['global'][_0x1d26ab(0x119)]=_0x4ca68a;if(_seleniumWebdriver2){const _0x358cb7=_0x384ef7['DtXUg'][_0x1d26ab(0xeb)]('|');let _0x1ff44b=0x0;while(!![]){switch(_0x358cb7[_0x1ff44b++]){case'0':this[_0x1d26ab(0x13c)]['percyCaptureMode']=helper[_0x1d26ab(0xf4)](_0x36d3ef,[_0x384ef7['SCqEi'],_0x384ef7[_0x1d26ab(0xf1)],_0x384ef7[_0x1d26ab(0x114)]]);continue;case'1':helper[_0x1d26ab(0x108)](this[_0x1d26ab(0x100)][_0x1d26ab(0x154)])?this[_0x1d26ab(0x13c)][_0x1d26ab(0x101)]=!![]:this[_0x1d26ab(0x13c)][_0x1d26ab(0x101)]=![];continue;case'2':this[_0x1d26ab(0x13c)][_0x1d26ab(0x11f)]=_0x384ef7[_0x1d26ab(0x12f)](require,_0x384ef7['FyhSN'])[_0x1d26ab(0x106)]({...this[_0x1d26ab(0x100)],'capability':this[_0x1d26ab(0x131)]||{}},this,testhubUtils[_0x1d26ab(0x125)]());continue;case'3':this[_0x1d26ab(0x13c)][_0x1d26ab(0x138)]=helper[_0x1d26ab(0xf4)](_0x36d3ef,[_0x384ef7[_0x1d26ab(0x121)],_0x384ef7[_0x1d26ab(0xf1)],_0x384ef7[_0x1d26ab(0x104)]]);continue;case'4':this['global']['percy']=helper[_0x1d26ab(0xf4)](_0x36d3ef,[_0x384ef7[_0x1d26ab(0x121)],_0x384ef7[_0x1d26ab(0xf1)],_0x384ef7[_0x1d26ab(0x14f)]]);continue;case'5':this['global'][_0x1d26ab(0x10a)]=[];continue;case'6':this[_0x1d26ab(0x13c)][_0x1d26ab(0xe9)]=helper[_0x1d26ab(0x108)](this[_0x1d26ab(0x100)][_0x1d26ab(0x145)]);continue;case'7':this['global'][_0x1d26ab(0x11b)]=async()=>{const _0x16bc06=_0x1d26ab;await this[_0x16bc06(0x13c)][_0x16bc06(0x14c)][_0x16bc06(0x130)](_0x384ef7[_0x16bc06(0x10e)]);};continue;}break;}}}async['teardown'](){const _0x42f6e3=a16_0xae3271;_seleniumWebdriver2&&(await helper[_0x42f6e3(0x113)](this['global'][_0x42f6e3(0x110)]),this['global'][_0x42f6e3(0x11f)]['Builder']=originalBuilder),await RequestQueueHandler[_0x42f6e3(0x10b)]()['shutdown']();}async[a16_0xae3271(0x13d)](){}async['handleTestEvent'](_0x4a4996,_0x54ff89){const _0x5e1185=a16_0xae3271,_0x198a84={};_0x198a84[_0x5e1185(0x11e)]=function(_0x573c08,_0x1009c6){return _0x573c08===_0x1009c6;},_0x198a84[_0x5e1185(0x10d)]=_0x5e1185(0x13a),_0x198a84[_0x5e1185(0x107)]=function(_0xb69f72,_0x33cc8c){return _0xb69f72===_0x33cc8c;},_0x198a84[_0x5e1185(0xe5)]=_0x5e1185(0x133),_0x198a84[_0x5e1185(0x13e)]=function(_0x3fabcd,_0x3848e7){return _0x3fabcd===_0x3848e7;},_0x198a84[_0x5e1185(0xea)]='test_done',_0x198a84[_0x5e1185(0x109)]=_0x5e1185(0xf9),_0x198a84[_0x5e1185(0xe2)]=function(_0x41dbd3,_0x3c978a){return _0x41dbd3===_0x3c978a;},_0x198a84[_0x5e1185(0x122)]='Error\x20in\x20fail-fast\x20test_done\x20handler:',_0x198a84[_0x5e1185(0xf3)]=function(_0x28ecf2,_0x3d48bf){return _0x28ecf2===_0x3d48bf;},_0x198a84['TVfGc']='teardown';const _0xb38ae1=_0x198a84,{name:_0x52b668}=_0x4a4996;if(_0xb38ae1['XxByH'](_0x52b668,_0xb38ae1[_0x5e1185(0x10d)])){this[_0x5e1185(0x13c)]['testContext']=_0x4a4996[_0x5e1185(0x128)];if(_0xb38ae1[_0x5e1185(0x107)](this[_0x5e1185(0x13c)][_0x5e1185(0x13f)],!![])){const _0x512b73=_0x4a4996['test'][_0x5e1185(0x139)];logger['info'](_0x5e1185(0x11c)+_0x512b73),_0x4a4996['test'][_0x5e1185(0x12c)]=_0xb38ae1[_0x5e1185(0xe5)];}}if(this['failFast']&&_0xb38ae1[_0x5e1185(0x13e)](_0x52b668,_0xb38ae1[_0x5e1185(0xea)]))try{const _0x264ee8=_0x4a4996['test']['testPath'][_0x5e1185(0x149)](_0xb38ae1[_0x5e1185(0x109)]),_0x4da764=_0x4a4996['test']['errors'];await this['failFast'][_0x5e1185(0x102)](_0x264ee8,_0x4da764);const _0x2aa7b3=await this['failFast'][_0x5e1185(0x115)]();_0xb38ae1[_0x5e1185(0xe2)](this[_0x5e1185(0x13c)][_0x5e1185(0x13f)],![])&&_0xb38ae1[_0x5e1185(0x11e)](_0x2aa7b3,!![])&&(this[_0x5e1185(0x13c)]['failFastActive']=!![]);}catch(_0x1cdcb3){logger[_0x5e1185(0xff)](_0xb38ae1[_0x5e1185(0x122)],_0x1cdcb3[_0x5e1185(0x137)]);}_0xb38ae1[_0x5e1185(0xf3)](_0x52b668,_0xb38ae1[_0x5e1185(0x152)])&&(this[_0x5e1185(0x13b)]&&this[_0x5e1185(0x13b)][_0x5e1185(0x11b)]());}}module['exports']=CustomEnvironment;function a16_0xf877(){const _0x561e84=['percy','projectConfig','../../../helpers/logger','message','browserstackPercyBestPlatform','name','test_start','failFast','global','setup','TIzla','failFastActive','isBrowserstackInfra','getTestEnvironment','39uPXRAP','zJTIL','default','skipSessionStatus','14190Pqggnn','../test-observability/obsReporter','../../../helpers/test-observability/utils','join','winstonLogger','../../../index','driver','../../../helpers/test-observability/requestQueueHandler','2992820GoydWf','Usiuc','testEnvironmentOptions','modifyCommand','TVfGc','5cdqXGR','skipSessionName','HzfkA','../../../helpers/testhub/utils','BSTACK_JEST_TEST_ENV','SIRkp','percyCaptureMode','browserStackPercyOptions','__timeout','__skipSessionStatus','FfsDf','split','cwd','retries__','VFHON','browserStackGlobals','2264229kwcfFP','waKOp','capabilities','LYWuD','nestedKeyValue','browserstackPlatformIndex','bstack:options','AnKUx','BSTACK_DELTA','\x20>\x20','1056450ZzOfyb','requireModule','jest-environment-node','1038032zXjxHm','UcTCR','debug','configuration','sessionNameProvided','onTestDone','39132KYDrHD','HEBND','isNotUndefined','browserstackAgentV2','FoQhc','isTrue','AjMfH','__drivers','getInstance','KUjQL','kAVqc','thCYE','EKiHZ','__driversArray','timeout__','env','cleanupDrivers','rFjOB','shouldFailFast','jest-resolve','resolveTestEnvironment','5|2|3|4|0|1|6|7','jestConfig','framework','cleanup','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','../../../helpers/helper','XxByH','__webdriver','platformCaps','SCqEi','sFQlP','__platformCaps','ObALr','shouldProcessEventForTesthub','KABjW','3275469FReNXv','test','failFastOptions','__esModule','../../../helpers/test-orchestration/failfastManager','mode','35nVDmJA','isArray','Atueh','quit','capability','JcvGA','skip'];a16_0xf877=function(){return _0x561e84;};return a16_0xf877();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a17_0x587653=a17_0x467e;(function(_0x86e5d5,_0x2203ea){const _0x4bb840=a17_0x467e,_0x22c5b4=_0x86e5d5();while(!![]){try{const _0x19b0c3=parseInt(_0x4bb840(0x22d))/0x1*(parseInt(_0x4bb840(0x2cc))/0x2)+-parseInt(_0x4bb840(0x24e))/0x3+parseInt(_0x4bb840(0x1f6))/0x4*(-parseInt(_0x4bb840(0x204))/0x5)+-parseInt(_0x4bb840(0x29b))/0x6*(-parseInt(_0x4bb840(0x28f))/0x7)+parseInt(_0x4bb840(0x2c3))/0x8+-parseInt(_0x4bb840(0x276))/0x9*(-parseInt(_0x4bb840(0x240))/0xa)+-parseInt(_0x4bb840(0x2a8))/0xb;if(_0x19b0c3===_0x2203ea)break;else _0x22c5b4['push'](_0x22c5b4['shift']());}catch(_0xbaa97d){_0x22c5b4['push'](_0x22c5b4['shift']());}}}(a17_0x2459,0x4eaec));const {requireModule}=require(a17_0x587653(0x24b)),ObservabilityReporter=require('../test-observability/obsReporter'),RequestQueueHandler=require(a17_0x587653(0x206)),TestDetails=require(a17_0x587653(0x27e)),{patchConsoleLogger,debug}=require(a17_0x587653(0x256)),{o11yErrorHandler}=require(a17_0x587653(0x2ad)),{shouldProcessEventForTesthub}=require(a17_0x587653(0x298)),testHubConstants=require(a17_0x587653(0x2a7)),BrowserstackCLI=require('../../v2/browserstackCLI'),TestFrameworkState=require(a17_0x587653(0x26c)),HookState=require(a17_0x587653(0x269)),JestUtils=require(a17_0x587653(0x2d0)),{v4:uuidv4}=require(a17_0x587653(0x222)),util=require(a17_0x587653(0x244)),logger=require('../../../helpers/logger')[a17_0x587653(0x2b6)],{FRAMEWORKS}=require(a17_0x587653(0x2b7));let exportsI;function a17_0x467e(_0x57ee9c,_0x42ea67){const _0x2459c9=a17_0x2459();return a17_0x467e=function(_0x467ea0,_0x26fc4b){_0x467ea0=_0x467ea0-0x1f4;let _0x407e0d=_0x2459c9[_0x467ea0];return _0x407e0d;},a17_0x467e(_0x57ee9c,_0x42ea67);}try{exportsI=requireModule('jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js',a17_0x587653(0x252));}catch{exportsI=requireModule(a17_0x587653(0x25b),a17_0x587653(0x252));}const initInitialize=exportsI[a17_0x587653(0x28d)],jestUtils=new JestUtils(),_initializedPlatformIndices=new Set();async function isCLIReady(){const _0x11aa64=a17_0x587653,_0x255c15={'TVJRc':'CLI\x20is\x20enabled\x20and\x20running.','GprTn':function(_0x4be3b1,_0x3076e1){return _0x4be3b1(_0x3076e1);},'XUSpE':'../../v2/cliUtils','XSoCA':function(_0xc5bee9,_0x323d0e){return _0xc5bee9===_0x323d0e;},'sFIfF':'true'};try{const _0x35e521=BrowserstackCLI[_0x11aa64(0x27f)]();if(_0x35e521[_0x11aa64(0x220)]()&&_0x35e521['isRunning']())return logger[_0x11aa64(0x219)](_0x255c15[_0x11aa64(0x23a)]),!![];const _0x5dc89e=process['env'][_0x11aa64(0x205)];if(_0x5dc89e&&_0x35e521['isCliEnabled']()){if(!_0x35e521[_0x11aa64(0x2ca)]())try{const _0xa94973=_0x255c15['GprTn'](require,_0x255c15['XUSpE']),_0x3ef1b3=_0xa94973[_0x11aa64(0x234)]();(!_0x3ef1b3||!_0x3ef1b3['name'])&&(_0x255c15[_0x11aa64(0x2d1)](process[_0x11aa64(0x293)][_0x11aa64(0x2bf)],_0x255c15['sFIfF'])?_0xa94973['setFrameworkDetail'](FRAMEWORKS[_0x11aa64(0x2c7)],FRAMEWORKS[_0x11aa64(0x1ff)]):_0xa94973[_0x11aa64(0x221)](FRAMEWORKS[_0x11aa64(0x2c7)],FRAMEWORKS[_0x11aa64(0x25c)])),await _0x35e521[_0x11aa64(0x2ab)]();}catch(_0x469e05){return _0x255c15[_0x11aa64(0x294)](debug,_0x11aa64(0x1fd)+util[_0x11aa64(0x284)](_0x469e05)),![];}return _0x35e521[_0x11aa64(0x2ca)]();}return![];}catch(_0x524ebf){return _0x255c15['GprTn'](debug,_0x11aa64(0x236)+util[_0x11aa64(0x284)](_0x524ebf)),![];}}function getTestIdentifierForHook(_0x3212b3){const _0x2085e6=a17_0x587653,_0x4fce57={};_0x4fce57[_0x2085e6(0x295)]=function(_0x2b033c,_0x2165bc){return _0x2b033c===_0x2165bc;},_0x4fce57[_0x2085e6(0x26e)]='beforeEach',_0x4fce57[_0x2085e6(0x209)]=function(_0x4450a0,_0x4473e0){return _0x4450a0===_0x4473e0;},_0x4fce57[_0x2085e6(0x278)]=_0x2085e6(0x29d);const _0x44419a=_0x4fce57;if(_0x44419a[_0x2085e6(0x295)](_0x3212b3[_0x2085e6(0x200)],_0x44419a[_0x2085e6(0x26e)])||_0x44419a[_0x2085e6(0x209)](_0x3212b3[_0x2085e6(0x200)],_0x44419a['IZQDx'])){let _0x21d011=global['__jestCurrentTestIdentifier'];if(!_0x21d011&&_0x44419a[_0x2085e6(0x295)](_0x3212b3['type'],_0x44419a[_0x2085e6(0x278)])&&_0x3212b3['parent']){const _0x369203={};_0x369203['name']=_0x3212b3['parent'][_0x2085e6(0x1f7)],_0x369203['parent']=_0x3212b3[_0x2085e6(0x26d)]['parent'],_0x369203[_0x2085e6(0x28c)]=_0x3212b3[_0x2085e6(0x28c)],_0x369203[_0x2085e6(0x253)]=_0x3212b3[_0x2085e6(0x253)];const _0x35f690=_0x369203;_0x21d011=jestUtils[_0x2085e6(0x216)](_0x35f690);}return _0x21d011;}return global[_0x2085e6(0x2c9)];}function mapHookTypeToState(_0xb50465){const _0x3ef66e=a17_0x587653,_0xabaab1={};_0xabaab1[_0x3ef66e(0x29d)]=TestFrameworkState[_0x3ef66e(0x270)],_0xabaab1[_0x3ef66e(0x2b8)]=TestFrameworkState[_0x3ef66e(0x258)],_0xabaab1[_0x3ef66e(0x21f)]=TestFrameworkState[_0x3ef66e(0x2ae)],_0xabaab1[_0x3ef66e(0x2be)]=TestFrameworkState[_0x3ef66e(0x266)];const _0x202a5f=_0xabaab1;return _0x202a5f[_0xb50465]||TestFrameworkState[_0x3ef66e(0x2ae)];}async function handleHookEventCLI(_0x584d21,_0x28a75e,_0xefbbc0){const _0x33231f=a17_0x587653,_0x132c0a={'lKwVT':function(_0x30c19b,_0x27ff94){return _0x30c19b(_0x27ff94);},'OGUNE':'stack-trace','lqAEe':function(_0xc89f52,_0x526539){return _0xc89f52===_0x526539;},'lSykH':_0x33231f(0x297),'wVeAB':function(_0x437be0){return _0x437be0();},'MQspg':function(_0x1b34d8){return _0x1b34d8();},'UFKgI':'HookRunStarted','GEKRi':function(_0x3efb6f,_0x31ce91){return _0x3efb6f(_0x31ce91);},'XcROn':function(_0x5ddbee,_0x4beb5e){return _0x5ddbee===_0x4beb5e;},'shNHr':function(_0x36107d,_0x486472){return _0x36107d===_0x486472;},'dbFle':_0x33231f(0x235),'rKiMG':_0x33231f(0x281)};logger[_0x33231f(0x219)]('Handling\x20hook\x20event\x20for\x20CLI:\x20'+_0x28a75e+'\x20for\x20hook\x20type:\x20'+_0x584d21[_0x33231f(0x200)]);try{if(_0x584d21['fn']&&_0x584d21['fn'][_0x33231f(0x251)]()[_0x33231f(0x22c)](/browserstack internal helper hook/))return;if(_0x584d21[_0x33231f(0x26d)]&&_0x132c0a[_0x33231f(0x230)](_0x584d21[_0x33231f(0x26d)]['name'],_0x132c0a[_0x33231f(0x231)])){const _0x2eb406=_0x584d21[_0x33231f(0x28c)]&&((()=>{const _0x213950=_0x33231f;try{const _0x1d7c27=_0x132c0a[_0x213950(0x2c5)](require,_0x132c0a[_0x213950(0x246)]),_0x3db524=_0x1d7c27[_0x213950(0x1fa)][_0x213950(0x2ba)](_0x1d7c27,_0x584d21[_0x213950(0x28c)]);return _0x3db524[0x0]&&_0x3db524[0x0][_0x213950(0x2af)]?_0x3db524[0x0][_0x213950(0x2af)]():null;}catch(_0x2d284d){return logger[_0x213950(0x219)](_0x213950(0x233)+_0x2d284d[_0x213950(0x2a6)]),null;}})())||_0x584d21[_0x33231f(0x253)]||null;if(!_0x2eb406)return;}let _0x5b69c6=_0x584d21[_0x33231f(0x242)];if(!_0x5b69c6)_0x5b69c6=_0x132c0a[_0x33231f(0x2bd)](uuidv4),_0x584d21[_0x33231f(0x242)]=_0x5b69c6;else _0x584d21[_0x33231f(0x26f)]&&(_0x5b69c6=_0x132c0a[_0x33231f(0x2c6)](uuidv4),_0x584d21[_0x33231f(0x242)]=_0x5b69c6,delete _0x584d21[_0x33231f(0x26f)]);_0x132c0a[_0x33231f(0x230)](_0x28a75e,_0x132c0a[_0x33231f(0x286)])&&(_0x584d21[_0x33231f(0x2b1)]=new Date()['toISOString']());const _0x20ac96=_0x132c0a[_0x33231f(0x2c5)](getTestIdentifierForHook,_0x584d21);!global[_0x33231f(0x24d)]&&(global[_0x33231f(0x24d)]={});if(_0x132c0a[_0x33231f(0x230)](_0x28a75e,_0x132c0a['UFKgI'])){global['__workerDetails'][_0x33231f(0x289)]={'hookUUID':_0x5b69c6,'testIdentifier':_0x20ac96,'hookType':_0x584d21['type'],'startedAt':new Date()[_0x33231f(0x2ce)]()};const _0x48b993=BrowserstackCLI[_0x33231f(0x27f)]()[_0x33231f(0x2d3)]();_0x48b993&&_0x48b993[_0x33231f(0x279)]&&_0x48b993[_0x33231f(0x279)](_0x20ac96,_0x5b69c6,_0x584d21[_0x33231f(0x200)]);}const _0x10ce9c=await jestUtils['createHookData'](_0x584d21,_0x5b69c6,_0x28a75e,_0x20ac96);if(!_0x10ce9c)return;const _0x4f599b=_0x132c0a['GEKRi'](mapHookTypeToState,_0x584d21[_0x33231f(0x200)]),_0x18de15=_0x132c0a[_0x33231f(0x2d8)](_0x28a75e,_0x132c0a['UFKgI'])?HookState[_0x33231f(0x290)]:HookState['POST'],_0x16f0f1=BrowserstackCLI[_0x33231f(0x27f)]()['getTestFramework']();if(_0x16f0f1){const _0x3e90df={};_0x3e90df[_0x33231f(0x212)]=_0x10ce9c,await _0x16f0f1[_0x33231f(0x248)](_0x4f599b,_0x18de15,_0x3e90df);if(_0x132c0a[_0x33231f(0x27d)](_0x28a75e,_0x132c0a[_0x33231f(0x238)])){const _0x426506={};_0x426506['testUUID']=_0x20ac96,_0x426506[_0x33231f(0x200)]=_0x132c0a[_0x33231f(0x25d)],await _0x16f0f1[_0x33231f(0x248)](TestFrameworkState[_0x33231f(0x21a)],HookState[_0x33231f(0x264)],_0x426506),global[_0x33231f(0x24d)]&&global['__workerDetails']['currentHook']&&_0x132c0a[_0x33231f(0x2d8)](global[_0x33231f(0x24d)]['currentHook'][_0x33231f(0x26b)],_0x5b69c6)&&delete global[_0x33231f(0x24d)][_0x33231f(0x289)],_0x16f0f1['removeActiveHook']&&_0x16f0f1['removeActiveHook'](_0x20ac96,_0x5b69c6);}}}catch(_0x105407){logger['error'](_0x33231f(0x24c)+util[_0x33231f(0x284)](_0x105407));throw _0x105407;}}async function handleTestEventCLI(_0x295cbe,_0x52873e,_0x41a497){const _0x123b15=a17_0x587653,_0x3c8085={};_0x3c8085[_0x123b15(0x263)]=function(_0x5bdfb4,_0x224609){return _0x5bdfb4===_0x224609;},_0x3c8085[_0x123b15(0x29c)]=_0x123b15(0x277),_0x3c8085['zSNTa']=function(_0x157867,_0x800593){return _0x157867>_0x800593;},_0x3c8085[_0x123b15(0x245)]=function(_0x148f1a,_0x294d3b){return _0x148f1a===_0x294d3b;},_0x3c8085[_0x123b15(0x271)]=function(_0x4a3375,_0x15a072){return _0x4a3375&&_0x15a072;},_0x3c8085[_0x123b15(0x288)]=_0x123b15(0x226),_0x3c8085[_0x123b15(0x1fb)]='TestRunFinished',_0x3c8085['SpYFt']=_0x123b15(0x239);const _0x1d090b=_0x3c8085;logger[_0x123b15(0x219)]('Handling\x20test\x20event\x20for\x20CLI:\x20'+_0x52873e);try{let _0x36dec5;if(_0x1d090b['OkLwZ'](_0x52873e,_0x1d090b[_0x123b15(0x29c)])){_0x36dec5=jestUtils[_0x123b15(0x216)](_0x295cbe),global[_0x123b15(0x2c9)]=_0x36dec5,_0x295cbe[_0x123b15(0x207)]=_0x36dec5,_0x295cbe['id']=_0x36dec5,_0x295cbe['started_at']=new Date()['toISOString']();const _0x14736b=_0x41a497[_0x123b15(0x2c1)];_0x41a497['current_test']=_0x295cbe,_0x295cbe[_0x123b15(0x25a)]=null;if(_0x1d090b[_0x123b15(0x2a5)](_0x295cbe['_currentRetry'],0x0)&&_0x14736b&&_0x1d090b['eruLG'](_0x14736b[_0x123b15(0x23e)],_0x295cbe[_0x123b15(0x23e)])){_0x295cbe[_0x123b15(0x25a)]=_0x14736b['testAnalyticsId'];const _0x38c781=await jestUtils[_0x123b15(0x21b)](_0x295cbe,_0x36dec5,_0x1d090b[_0x123b15(0x29c)]),_0x897721=BrowserstackCLI['getInstance']()[_0x123b15(0x2d3)]();if(_0x1d090b[_0x123b15(0x271)](_0x38c781,_0x897721)){const _0x2c856e={};_0x2c856e[_0x123b15(0x239)]=_0x38c781,await _0x897721[_0x123b15(0x248)](TestFrameworkState[_0x123b15(0x267)],HookState[_0x123b15(0x290)],_0x2c856e);}_0x14736b[_0x123b15(0x28b)]=_0x1d090b[_0x123b15(0x288)];const _0x57cf9b=await jestUtils[_0x123b15(0x21b)](_0x14736b,_0x14736b[_0x123b15(0x207)],_0x1d090b['bzWZr']);if(_0x1d090b[_0x123b15(0x271)](_0x57cf9b,_0x897721)){const _0x354c63={};_0x354c63['test']=_0x57cf9b,await _0x897721[_0x123b15(0x248)](TestFrameworkState['TEST'],HookState[_0x123b15(0x264)],_0x354c63);}}else{const _0x555112=await jestUtils[_0x123b15(0x21b)](_0x295cbe,_0x36dec5,_0x1d090b[_0x123b15(0x29c)]),_0x1df40a=BrowserstackCLI[_0x123b15(0x27f)]()[_0x123b15(0x2d3)]();if(_0x1d090b[_0x123b15(0x271)](_0x555112,_0x1df40a)){const _0x3fa3bf={};_0x3fa3bf[_0x123b15(0x239)]=_0x555112,await _0x1df40a[_0x123b15(0x248)](TestFrameworkState[_0x123b15(0x267)],HookState['PRE'],_0x3fa3bf);}}}else{_0x36dec5=_0x295cbe[_0x123b15(0x207)]||_0x295cbe['id']||global[_0x123b15(0x2c9)];const _0x2dee52=await jestUtils[_0x123b15(0x21b)](_0x295cbe,_0x36dec5,_0x52873e),_0x4ab6e1=BrowserstackCLI['getInstance']()[_0x123b15(0x2d3)]();if(_0x1d090b['nEXiS'](_0x2dee52,_0x4ab6e1)){const _0x4de36e={};_0x4de36e['test']=_0x2dee52,_0x4de36e[_0x123b15(0x225)]=_0x295cbe,_0x4de36e[_0x123b15(0x26a)]=_0x36dec5,await _0x4ab6e1['trackEvent'](TestFrameworkState[_0x123b15(0x267)],HookState[_0x123b15(0x264)],_0x4de36e);const _0x37c0be={};_0x37c0be[_0x123b15(0x268)]=_0x36dec5,_0x37c0be[_0x123b15(0x200)]=_0x1d090b[_0x123b15(0x28a)],await _0x4ab6e1[_0x123b15(0x248)](TestFrameworkState[_0x123b15(0x21a)],HookState[_0x123b15(0x264)],_0x37c0be);}}}catch(_0x34ff4d){logger[_0x123b15(0x2aa)]('Error\x20handling\x20test\x20event\x20for\x20CLI:\x20'+util['format'](_0x34ff4d));throw _0x34ff4d;}}exportsI[a17_0x587653(0x28d)]=(..._0x52820a)=>{const _0x419048=a17_0x587653,_0x396b58={'ICHAs':function(_0x2b6070,_0x520a81){return _0x2b6070(_0x520a81);},'lPffB':'stack-trace','xVsSr':function(_0x3cfce1,_0x53fdae){return _0x3cfce1(_0x53fdae);},'mOEnG':_0x419048(0x237),'sbjBn':function(_0x305dee,_0x576e65){return _0x305dee===_0x576e65;},'iEEiK':_0x419048(0x297),'DXmFh':function(_0x2bdf98){return _0x2bdf98();},'scedq':function(_0x1c7cd4,_0x44d39a){return _0x1c7cd4(_0x44d39a);},'MSvUU':function(_0xfe2e0,_0x845019,_0x2517d1,_0x462e83){return _0xfe2e0(_0x845019,_0x2517d1,_0x462e83);},'eXlnn':_0x419048(0x203),'uBOBe':function(_0x56af8d,_0x3fb9fc){return _0x56af8d(_0x3fb9fc);},'XrXBR':function(_0x5b368f,_0x3e3c9d){return _0x5b368f(_0x3e3c9d);},'uSOSF':_0x419048(0x1f4),'HUaNL':function(_0xfdf9b7){return _0xfdf9b7();},'MvrxM':function(_0x340863,_0x4b708c,_0x2d5637,_0x164676){return _0x340863(_0x4b708c,_0x2d5637,_0x164676);},'eYBjS':'HookRunFinished','zFDyN':function(_0x4748d6,_0x1f1675){return _0x4748d6(_0x1f1675);},'IJETB':_0x419048(0x2a1),'GhCAM':_0x419048(0x29d),'CBBBF':_0x419048(0x21f),'fGIOp':_0x419048(0x2be),'RsvNs':function(_0x26955e,_0xe62c99){return _0x26955e>_0xe62c99;},'zrhga':function(_0x39786c,_0x32e3a5){return _0x39786c(_0x32e3a5);},'XbNgv':function(_0x3a3e60,_0x1c9d86,_0x7233a1,_0x10438c){return _0x3a3e60(_0x1c9d86,_0x7233a1,_0x10438c);},'QkSCN':function(_0x3476f5,_0xceb433){return _0x3476f5(_0xceb433);},'uELfa':'test_start','hkIqo':function(_0x5a5870,_0x505101){return _0x5a5870!==_0x505101;},'sVQJB':'\x20>\x20','WxdtX':function(_0x13676c){return _0x13676c();},'dURur':function(_0x136128,_0x17c85a,_0x129d8d,_0x39f876){return _0x136128(_0x17c85a,_0x129d8d,_0x39f876);},'yLDgo':_0x419048(0x277),'yqfNz':function(_0xc9fac){return _0xc9fac();},'kfksA':_0x419048(0x24f),'TOpvT':'fail','XpxfI':_0x419048(0x226),'ZHXFc':'passed','rETJD':function(_0x56fb65,_0x5d9051){return _0x56fb65||_0x5d9051;},'XMDct':_0x419048(0x285),'urzIz':_0x419048(0x2bb),'pSKkK':function(_0x48b322,_0x1b2335,_0x35d6f7,_0x765182){return _0x48b322(_0x1b2335,_0x35d6f7,_0x765182);},'iCsDK':_0x419048(0x261),'ZPXhE':function(_0xe9de8f,_0x552738){return _0xe9de8f(_0x552738);},'ycyMW':_0x419048(0x2a3),'xdCPc':_0x419048(0x202),'TmLKL':function(_0x18e0d1){return _0x18e0d1();},'pORRm':_0x419048(0x1f8),'oVySZ':function(_0x4e49c0,_0x88e163){return _0x4e49c0===_0x88e163;},'OuPSy':function(_0x139201,_0x48e1d5){return _0x139201===_0x48e1d5;},'AOJUC':function(_0x3a11cd,_0x4b56c5){return _0x3a11cd(_0x4b56c5);},'VYYTY':function(_0x341cd0){return _0x341cd0();},'AoklJ':function(_0x2cde41,_0x5a1e1e,_0x118d45){return _0x2cde41(_0x5a1e1e,_0x118d45);},'HYKLY':_0x419048(0x2c4),'lfxtv':_0x419048(0x252),'UpakA':'jest-circus/build/utils.js','qlOLE':function(_0x3e2171,_0x2d69bd){return _0x3e2171(_0x2d69bd);},'mQTXN':function(_0x2127de){return _0x2127de();},'Vffto':function(_0x48097a,_0x5450a0,_0x4b9452){return _0x48097a(_0x5450a0,_0x4b9452);},'xwpxo':_0x419048(0x2d4),'GZbzk':function(_0x7056c,..._0x182d79){return _0x7056c(..._0x182d79);}};try{logger[_0x419048(0x219)]('[customJestAdapterInit]\x20initialize\x20called,\x20shouldProcessEventForTesthub='+_0x396b58[_0x419048(0x2c2)](shouldProcessEventForTesthub)+',\x20BROWSERSTACK_PUPPETEER='+process[_0x419048(0x293)][_0x419048(0x2bf)]);const _0x381ed1=_0x52820a&&_0x52820a[0x0]?_0x52820a[0x0]:{};let _0x56c2ed=0x0;try{if(_0x381ed1[_0x419048(0x1fc)]&&_0x396b58[_0x419048(0x243)](typeof _0x381ed1[_0x419048(0x1fc)]['browserstackPlatformIndex'],_0x396b58[_0x419048(0x283)]))_0x56c2ed=_0x381ed1[_0x419048(0x1fc)][_0x419048(0x273)];else{if(_0x381ed1['configuration']&&_0x396b58['oVySZ'](typeof _0x381ed1[_0x419048(0x2ac)][_0x419048(0x273)],_0x396b58[_0x419048(0x283)]))_0x56c2ed=_0x381ed1[_0x419048(0x2ac)][_0x419048(0x273)];else global[_0x419048(0x208)]&&_0x396b58[_0x419048(0x28e)](typeof global[_0x419048(0x208)]['browserstackPlatformIndex'],_0x396b58[_0x419048(0x283)])&&(_0x56c2ed=global[_0x419048(0x208)][_0x419048(0x273)]);}}catch(_0x128c92){logger[_0x419048(0x219)]('Error\x20reading\x20platformIndex\x20from\x20args:\x20'+util['format'](_0x128c92));}global['__bstackPlatformIndex']=_0x56c2ed,process['env'][_0x419048(0x287)]=_0x396b58[_0x419048(0x223)](String,_0x56c2ed);const _0x39f41d=new ObservabilityReporter();!_initializedPlatformIndices[_0x419048(0x20a)](_0x56c2ed)?(logger['debug'](_0x419048(0x20e)+_0x56c2ed),_initializedPlatformIndices[_0x419048(0x214)](_0x56c2ed),_0x396b58[_0x419048(0x23c)](shouldProcessEventForTesthub)&&(_0x396b58[_0x419048(0x291)](patchConsoleLogger),_0x39f41d[_0x419048(0x2b2)]())):logger[_0x419048(0x219)](_0x419048(0x27a)+_0x56c2ed+_0x419048(0x21e));let _0x3e7ec9;try{_0x3e7ec9=_0x396b58['AoklJ'](requireModule,_0x396b58[_0x419048(0x27c)],_0x396b58[_0x419048(0x2bc)]);}catch{_0x3e7ec9=_0x396b58[_0x419048(0x2a4)](requireModule,_0x396b58[_0x419048(0x2bc)]);}let _0x3fc497;try{_0x3fc497=_0x396b58[_0x419048(0x2b5)](requireModule,_0x396b58['UpakA'],_0x396b58['lfxtv'])[_0x419048(0x2c0)];}catch{_0x3fc497=_0x396b58[_0x419048(0x227)](requireModule,_0x396b58[_0x419048(0x2bc)])['makeSingleTestResult']||(()=>({}));}const _0x12a29f=BrowserstackCLI[_0x419048(0x27f)]()[_0x419048(0x220)]();(_0x396b58[_0x419048(0x229)](shouldProcessEventForTesthub)||_0x12a29f)&&_0x3e7ec9[_0x419048(0x22a)](_0x396b58[_0x419048(0x249)](o11yErrorHandler,async(_0x7e928c,_0x1f34d9)=>{const _0x76eca0=_0x419048;switch(_0x7e928c[_0x76eca0(0x1f7)]){case _0x396b58[_0x76eca0(0x23f)]:if(_0x7e928c[_0x76eca0(0x281)]['fn']&&_0x7e928c[_0x76eca0(0x281)]['fn'][_0x76eca0(0x251)]()[_0x76eca0(0x22c)](/browserstack internal helper hook/))break;if(_0x7e928c[_0x76eca0(0x281)][_0x76eca0(0x26d)]&&_0x396b58[_0x76eca0(0x243)](_0x7e928c[_0x76eca0(0x281)][_0x76eca0(0x26d)][_0x76eca0(0x1f7)],_0x396b58['iEEiK'])){const _0xb6a0bf=_0x7e928c[_0x76eca0(0x281)][_0x76eca0(0x28c)]&&((()=>{const _0x1c467c=_0x76eca0;try{const _0x1a240b=_0x396b58['ICHAs'](require,_0x396b58[_0x1c467c(0x20c)]),_0x3689e0=_0x1a240b['parse'][_0x1c467c(0x2ba)](_0x1a240b,_0x7e928c[_0x1c467c(0x281)]['asyncError']);return _0x3689e0[0x0]&&_0x3689e0[0x0]['getFileName']?_0x3689e0[0x0][_0x1c467c(0x2af)]():null;}catch(_0x451907){return logger[_0x1c467c(0x219)](_0x1c467c(0x233)+_0x451907[_0x1c467c(0x2a6)]),null;}})())||_0x7e928c[_0x76eca0(0x281)][_0x76eca0(0x253)]||null;if(!_0xb6a0bf)break;}if(BrowserstackCLI[_0x76eca0(0x27f)]()[_0x76eca0(0x220)]()&&await _0x396b58[_0x76eca0(0x272)](isCLIReady)){if(_0x396b58['scedq'](shouldProcessEventForTesthub,testHubConstants[_0x76eca0(0x282)][_0x76eca0(0x23d)]))try{await _0x396b58[_0x76eca0(0x2d2)](handleHookEventCLI,_0x7e928c[_0x76eca0(0x281)],_0x396b58[_0x76eca0(0x2d5)],_0x1f34d9);break;}catch(_0x5e8dce){_0x396b58[_0x76eca0(0x2cb)](debug,_0x76eca0(0x2b9)+util['format'](_0x5e8dce));}}if(_0x396b58[_0x76eca0(0x22f)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x76eca0(0x23d)])){if(!_0x7e928c[_0x76eca0(0x281)][_0x76eca0(0x242)]){const _0x204530=TestDetails['setTestUUID'](process[_0x76eca0(0x259)]+_0x76eca0(0x210));_0x7e928c['hook'][_0x76eca0(0x242)]=_0x204530;}else _0x7e928c[_0x76eca0(0x281)]['markedStatus']&&(_0x7e928c['hook'][_0x76eca0(0x242)]=TestDetails[_0x76eca0(0x23b)](process['pid']+_0x76eca0(0x210)),delete _0x7e928c[_0x76eca0(0x281)][_0x76eca0(0x26f)]);_0x7e928c[_0x76eca0(0x281)]['started_at']=new Date()[_0x76eca0(0x2ce)](),await _0x39f41d[_0x76eca0(0x20f)](_0x7e928c['hook'],undefined,![],_0x396b58[_0x76eca0(0x2d5)]);}break;case _0x396b58[_0x76eca0(0x2d7)]:if(BrowserstackCLI[_0x76eca0(0x27f)]()['isCliEnabled']()&&await _0x396b58['HUaNL'](isCLIReady)){if(_0x396b58['scedq'](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x76eca0(0x217)]))try{await _0x396b58['MvrxM'](handleHookEventCLI,_0x7e928c[_0x76eca0(0x281)],_0x396b58[_0x76eca0(0x20d)],_0x1f34d9);break;}catch(_0x448897){_0x396b58[_0x76eca0(0x2cb)](debug,_0x76eca0(0x2b9)+util['format'](_0x448897));}}_0x396b58['zFDyN'](shouldProcessEventForTesthub,testHubConstants[_0x76eca0(0x282)][_0x76eca0(0x217)])&&(await _0x39f41d[_0x76eca0(0x20f)](_0x7e928c[_0x76eca0(0x281)],undefined,![],_0x396b58[_0x76eca0(0x20d)]),TestDetails[_0x76eca0(0x2cf)](process[_0x76eca0(0x259)]+_0x76eca0(0x210)));break;case _0x396b58[_0x76eca0(0x296)]:[_0x396b58['GhCAM'],_0x396b58[_0x76eca0(0x228)],_0x396b58[_0x76eca0(0x265)]][_0x76eca0(0x25e)](_0x7e928c[_0x76eca0(0x281)][_0x76eca0(0x200)])&&(_0x39f41d[_0x76eca0(0x2a1)]=_0x7e928c[_0x76eca0(0x281)][_0x76eca0(0x200)]),_0x1f34d9[_0x76eca0(0x215)]&&_0x396b58[_0x76eca0(0x2cd)](_0x1f34d9['unhandledErrors'][_0x76eca0(0x299)],0x0)&&(_0x7e928c[_0x76eca0(0x281)][_0x76eca0(0x29e)]=[_0x1f34d9['unhandledErrors'][0x0][0x0]]);if(BrowserstackCLI['getInstance']()[_0x76eca0(0x220)]()&&await _0x396b58['HUaNL'](isCLIReady)){if(_0x396b58[_0x76eca0(0x2a4)](shouldProcessEventForTesthub,testHubConstants[_0x76eca0(0x282)][_0x76eca0(0x217)]))try{await _0x396b58['XbNgv'](handleHookEventCLI,_0x7e928c[_0x76eca0(0x281)],_0x396b58['eYBjS'],_0x1f34d9);break;}catch(_0x228509){_0x396b58[_0x76eca0(0x292)](debug,_0x76eca0(0x2b9)+util[_0x76eca0(0x284)](_0x228509));}}_0x396b58['QkSCN'](shouldProcessEventForTesthub,testHubConstants[_0x76eca0(0x282)][_0x76eca0(0x217)])&&(await _0x39f41d[_0x76eca0(0x20f)](_0x7e928c[_0x76eca0(0x281)],undefined,![],_0x396b58[_0x76eca0(0x20d)]),TestDetails[_0x76eca0(0x2cf)](process[_0x76eca0(0x259)]+_0x76eca0(0x210)));break;case _0x396b58[_0x76eca0(0x2c8)]:try{let _0xf1adc0=_0x7e928c[_0x76eca0(0x239)][_0x76eca0(0x1f7)]||'';try{let _0x25cc4d=_0x7e928c[_0x76eca0(0x239)]['parent'];const _0x18ed5f=[_0xf1adc0];while(_0x25cc4d&&_0x25cc4d[_0x76eca0(0x1f7)]&&_0x396b58['hkIqo'](_0x25cc4d['name'],_0x396b58[_0x76eca0(0x22b)])){_0x18ed5f['unshift'](_0x25cc4d[_0x76eca0(0x1f7)]),_0x25cc4d=_0x25cc4d[_0x76eca0(0x26d)];}_0xf1adc0=_0x18ed5f['join'](_0x396b58[_0x76eca0(0x21c)]);}catch(_0x4a195e){logger[_0x76eca0(0x219)](_0x76eca0(0x1f5)+_0x4a195e[_0x76eca0(0x2a6)]);}process['_bstackTestName']=_0xf1adc0,process[_0x76eca0(0x213)]=null,process[_0x76eca0(0x22e)]=null,logger[_0x76eca0(0x219)](_0x76eca0(0x2b0)+_0xf1adc0+'\x22');if(!global[_0x76eca0(0x24d)]){const _0x8f32d3={};_0x8f32d3[_0x76eca0(0x247)]={},global[_0x76eca0(0x24d)]=_0x8f32d3;}!global[_0x76eca0(0x24d)][_0x76eca0(0x247)]&&(global[_0x76eca0(0x24d)][_0x76eca0(0x247)]={});const _0x164e3d={};_0x164e3d[_0x76eca0(0x23e)]=_0xf1adc0,_0x164e3d['name']=_0xf1adc0,global['__workerDetails'][_0x76eca0(0x247)][_0x76eca0(0x280)]=_0x164e3d,global[_0x76eca0(0x29f)]=_0xf1adc0;}catch(_0x311fae){logger[_0x76eca0(0x219)](_0x76eca0(0x2a2)+_0x311fae[_0x76eca0(0x2a6)]);}if(BrowserstackCLI[_0x76eca0(0x27f)]()[_0x76eca0(0x220)]()&&await _0x396b58[_0x76eca0(0x241)](isCLIReady))try{await _0x396b58[_0x76eca0(0x254)](handleTestEventCLI,_0x7e928c[_0x76eca0(0x239)],_0x396b58['yLDgo'],_0x39f41d);break;}catch(_0x1d417d){_0x396b58[_0x76eca0(0x22f)](debug,_0x76eca0(0x2b9)+util[_0x76eca0(0x284)](_0x1d417d));}_0x396b58[_0x76eca0(0x224)](shouldProcessEventForTesthub)&&await _0x39f41d[_0x76eca0(0x29a)](_0x7e928c[_0x76eca0(0x239)]);break;case _0x396b58[_0x76eca0(0x218)]:_0x7e928c[_0x76eca0(0x239)]={..._0x396b58[_0x76eca0(0x24a)](_0x3fc497,_0x7e928c['test']),..._0x7e928c[_0x76eca0(0x239)]};try{const _0x81d1ae=_0x7e928c['test'][_0x76eca0(0x250)]||[],_0x5e8a8e=_0x396b58[_0x76eca0(0x2cd)](_0x81d1ae[_0x76eca0(0x299)],0x0)||_0x396b58[_0x76eca0(0x243)](_0x7e928c[_0x76eca0(0x239)][_0x76eca0(0x2b4)],_0x396b58[_0x76eca0(0x201)]),_0x26b657=_0x5e8a8e?_0x396b58['XpxfI']:_0x396b58['ZHXFc'];let _0x12e983='';_0x5e8a8e&&(_0x12e983=_0x81d1ae[_0x76eca0(0x1f9)](_0x1c5d7d=>{const _0x3afd2b=_0x76eca0;if(Array['isArray'](_0x1c5d7d))return _0x1c5d7d[_0x3afd2b(0x1f9)](_0x6523e4=>_0x6523e4&&_0x6523e4[_0x3afd2b(0x2a6)]||String(_0x6523e4))[_0x3afd2b(0x211)](';\x20');return _0x1c5d7d&&_0x1c5d7d[_0x3afd2b(0x2a6)]||_0x396b58[_0x3afd2b(0x292)](String,_0x1c5d7d);})[_0x76eca0(0x211)](';\x20')),process['_bstackTestStatus']=_0x26b657,process['_bstackTestFailureReason']=_0x396b58[_0x76eca0(0x1fe)](_0x12e983,''),logger[_0x76eca0(0x219)](_0x76eca0(0x2b3)+_0x26b657+'\x22'),global[_0x76eca0(0x24d)]&&global[_0x76eca0(0x24d)][_0x76eca0(0x247)]&&(!global[_0x76eca0(0x24d)]['currentTest'][_0x76eca0(0x280)]&&(global[_0x76eca0(0x24d)][_0x76eca0(0x247)][_0x76eca0(0x280)]={}),global[_0x76eca0(0x24d)][_0x76eca0(0x247)]['testInfo'][_0x76eca0(0x2b4)]=_0x26b657,_0x5e8a8e&&(global[_0x76eca0(0x24d)][_0x76eca0(0x247)][_0x76eca0(0x280)][_0x76eca0(0x262)]=_0x12e983));}catch(_0x13901a){logger['debug'](_0x76eca0(0x21d)+_0x13901a['message']);}if(!_0x7e928c[_0x76eca0(0x239)][_0x76eca0(0x26f)]){_0x7e928c[_0x76eca0(0x239)][_0x76eca0(0x26f)]=!![];if(BrowserstackCLI[_0x76eca0(0x27f)]()[_0x76eca0(0x220)]()&&await _0x396b58[_0x76eca0(0x291)](isCLIReady))try{await _0x396b58[_0x76eca0(0x254)](handleTestEventCLI,_0x7e928c['test'],_0x396b58[_0x76eca0(0x2a0)],_0x39f41d);break;}catch(_0x23d69d){_0x396b58['ICHAs'](debug,_0x76eca0(0x2b9)+util[_0x76eca0(0x284)](_0x23d69d));}_0x396b58[_0x76eca0(0x241)](shouldProcessEventForTesthub)&&await _0x39f41d[_0x76eca0(0x20f)](_0x7e928c[_0x76eca0(0x239)]);}break;case _0x396b58['urzIz']:_0x7e928c[_0x76eca0(0x239)]={..._0x396b58[_0x76eca0(0x292)](_0x3fc497,_0x7e928c[_0x76eca0(0x239)]),..._0x7e928c[_0x76eca0(0x239)]};if(!_0x7e928c[_0x76eca0(0x239)][_0x76eca0(0x26f)]){_0x7e928c[_0x76eca0(0x239)][_0x76eca0(0x26f)]=!![];if(BrowserstackCLI[_0x76eca0(0x27f)]()['isCliEnabled']()&&await _0x396b58[_0x76eca0(0x291)](isCLIReady))try{await _0x396b58['pSKkK'](handleTestEventCLI,_0x7e928c[_0x76eca0(0x239)],_0x396b58[_0x76eca0(0x232)],_0x39f41d);break;}catch(_0x59e523){_0x396b58[_0x76eca0(0x2d6)](debug,_0x76eca0(0x2b9)+util[_0x76eca0(0x284)](_0x59e523));}_0x396b58[_0x76eca0(0x272)](shouldProcessEventForTesthub)&&await _0x39f41d[_0x76eca0(0x20f)](_0x7e928c['test'],undefined,![],_0x396b58[_0x76eca0(0x232)]);}break;case _0x396b58['ycyMW']:_0x39f41d[_0x76eca0(0x2a1)]=null;break;case _0x396b58[_0x76eca0(0x2a9)]:await RequestQueueHandler[_0x76eca0(0x27f)]()[_0x76eca0(0x274)](),process[_0x76eca0(0x257)]();break;default:}},_0x396b58[_0x419048(0x25f)]));}catch(_0x574695){_0x396b58[_0x419048(0x255)](debug,'Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20'+_0x574695);}return _0x396b58[_0x419048(0x260)](initInitialize,..._0x52820a);};function a17_0x2459(){const _0x36ca4d=['call','test_skip','lfxtv','wVeAB','afterEach','BROWSERSTACK_PUPPETEER','makeSingleTestResult','current_test','TmLKL','872400YhZFuX','jest-circus/build/state.js','lKwVT','MQspg','JEST','uELfa','__jestCurrentTestIdentifier','isRunning','uBOBe','2gTVXgX','RsvNs','toISOString','removeTestUUID','../../v2/utils/jest-utils','XSoCA','MSvUU','getTestFramework','EventHandler','eXlnn','ZPXhE','uSOSF','XcROn','hook_success','[customJestAdapterInit]\x20Error\x20building\x20test\x20name:\x20','838548Qpbxrn','name','number','map','parse','bzWZr','config','Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20','rETJD','PUPPETEER','type','TOpvT','teardown','HookRunStarted','15XsLQJN','BROWSERSTACK_CLI_BIN_SESSION_ID','../../../helpers/test-observability/requestQueueHandler','testAnalyticsId','jestConfig','ELxHR','has','keys','lPffB','eYBjS','[customJestAdapterInit]\x20Initializing\x20for\x20platformIndex=','sendTestRunEvent',':hookAnalyticsId','join','hookData','_bstackTestStatus','add','unhandledErrors','createIdentifierFromJestTest','HookFinished','kfksA','debug','LOG_REPORT','createTestFrameworkData','sVQJB','[customJestAdapterInit]\x20Error\x20in\x20test_done\x20status\x20storage:\x20',',\x20re-registering\x20event\x20handler','beforeEach','isCliEnabled','setFrameworkDetail','uuid','AOJUC','yqfNz','originalTest','failed','qlOLE','CBBBF','mQTXN','addEventHandler','iEEiK','match','93516cjpLHN','_bstackTestFailureReason','XrXBR','lqAEe','lSykH','iCsDK','Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20','getAutomationFrameworkDetail','HookRunFinished','Error\x20checking\x20CLI\x20readiness:\x20','hook_start','dbFle','test','TVJRc','setTestUUID','VYYTY','HookStarted','title','mOEnG','549410innwKB','WxdtX','hookAnalyticsId','sbjBn','util','eruLG','OGUNE','currentTest','trackEvent','Vffto','QkSCN','../../../helpers/helper','Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20','__workerDetails','1237659CAHOwL','test_done','errors','toString','jest-circus','file','dURur','zFDyN','../../../helpers/test-observability/utils','removeAllListeners','AFTER_ALL','pid','retryOf','jest-circus/build/jestAdapterInit.js','PLAYWRIGHT','rKiMG','includes','xwpxo','GZbzk','TestRunSkipped','failureMessage','OkLwZ','POST','fGIOp','AFTER_EACH','TEST','testUUID','../../v2/state/hookState','testIdentifier','hookUUID','../../v2/state/testFrameworkState','parent','rBeBM','markedStatus','BEFORE_ALL','nEXiS','DXmFh','browserstackPlatformIndex','shutdown','Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20','99bkpGKE','TestRunStarted','IZQDx','setActiveHook','[customJestAdapterInit]\x20Skipping\x20heavy\x20init\x20for\x20platformIndex=','ybQHN','HYKLY','shNHr','../test-observability/test-details','getInstance','testInfo','hook','EVENT','pORRm','format','TestRunFinished','UFKgI','BROWSERSTACK_PLATFORM_INDEX','pkVeu','currentHook','SpYFt','state','asyncError','initialize','OuPSy','91OjeolY','PRE','HUaNL','xVsSr','env','GprTn','BIsHF','IJETB','ROOT_DESCRIBE_BLOCK','../../../helpers/testhub/utils','length','testStarted','290694Wwogys','yKmaW','beforeAll','errorsDetailed','browserstackTestName','XMDct','hook_failure','[customJestAdapterInit]\x20Error\x20in\x20test_start\x20name\x20storage:\x20','run_describe_finish','zrhga','zSNTa','message','../../../helpers/testhub/constants','803066CZqlQH','xdCPc','error','bootstrap','configuration','../../../helpers/test-observability/error-handler','BEFORE_EACH','getFileName','[customJestAdapterInit]\x20Set\x20test\x20name:\x20\x22','started_at','registerListeners','[customJestAdapterInit]\x20Set\x20test\x20status:\x20\x22','status','AoklJ','winstonLogger','../../utils/constants','afterAll','Error\x20routing\x20to\x20JestTestFramework:\x20'];a17_0x2459=function(){return _0x36ca4d;};return a17_0x2459();}try{Object[a17_0x587653(0x20b)](exportsI)['forEach'](_0x579972=>{const _0x285dbb=a17_0x587653,_0x475263={'ybQHN':function(_0x5798fd,_0x25cdae){return _0x5798fd(_0x25cdae);}};try{exports&&(exports[_0x579972]=exportsI[_0x579972]);}catch(_0x461b4d){_0x475263[_0x285dbb(0x27b)](debug,_0x285dbb(0x275)+_0x461b4d);}});}catch(a17_0xfe4b68){debug('Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20'+a17_0xfe4b68);}
|
|
1
|
+
const a17_0x4424f8=a17_0x4371;(function(_0x1ba95d,_0x2ad6c7){const _0x313025=a17_0x4371,_0x74efa5=_0x1ba95d();while(!![]){try{const _0x118de8=parseInt(_0x313025(0x18a))/0x1+parseInt(_0x313025(0x186))/0x2*(-parseInt(_0x313025(0x1c0))/0x3)+parseInt(_0x313025(0x1ed))/0x4+-parseInt(_0x313025(0x1e0))/0x5+-parseInt(_0x313025(0x131))/0x6+parseInt(_0x313025(0x17e))/0x7*(-parseInt(_0x313025(0x19c))/0x8)+parseInt(_0x313025(0x1bf))/0x9*(parseInt(_0x313025(0x183))/0xa);if(_0x118de8===_0x2ad6c7)break;else _0x74efa5['push'](_0x74efa5['shift']());}catch(_0x2e89da){_0x74efa5['push'](_0x74efa5['shift']());}}}(a17_0x3203,0x893c6));const {requireModule}=require('../../../helpers/helper'),ObservabilityReporter=require(a17_0x4424f8(0x16a)),RequestQueueHandler=require(a17_0x4424f8(0x1d0)),TestDetails=require(a17_0x4424f8(0x180)),{patchConsoleLogger,debug}=require(a17_0x4424f8(0x155)),{o11yErrorHandler}=require(a17_0x4424f8(0x151)),{shouldProcessEventForTesthub}=require(a17_0x4424f8(0x11e)),testHubConstants=require(a17_0x4424f8(0x1f4)),BrowserstackCLI=require(a17_0x4424f8(0x19e)),TestFrameworkState=require(a17_0x4424f8(0x185)),HookState=require('../../v2/state/hookState'),JestUtils=require(a17_0x4424f8(0x158)),{v4:uuidv4}=require(a17_0x4424f8(0x1f3)),util=require(a17_0x4424f8(0x1b8)),logger=require(a17_0x4424f8(0x16b))[a17_0x4424f8(0x10b)],{FRAMEWORKS}=require(a17_0x4424f8(0x1bb));let exportsI;try{exportsI=requireModule(a17_0x4424f8(0x1d4),a17_0x4424f8(0x112));}catch{exportsI=requireModule(a17_0x4424f8(0x17f),a17_0x4424f8(0x112));}function a17_0x3203(){const _0x576e7d=['AFTER_EACH',':hookAnalyticsId','hDPZL','env','winstonLogger','test_done','mJxMY','testUUID','lAuaT','Bampj','call','jest-circus','BEFORE_EACH','\x20for\x20hook\x20type:\x20','stack-trace','TEST','PRE','TestRunStarted','\x20>\x20','tetPy','kIOpJ','jest-circus/build/utils.js','WOEOh','../../../helpers/testhub/utils','Error\x20reading\x20platformIndex\x20from\x20args:\x20','DDWTC','map','testAnalyticsId','bootstrap','UQJzD','trackEvent','currentTest','agQvP','CnwAK','setFrameworkDetail','HookFinished','siOrA','BROWSERSTACK_PUPPETEER','pihvx','JEST','Error\x20routing\x20to\x20JestTestFramework:\x20','Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20','6115680rAFXQc','jestConfig','VXyOU','hook_failure','seLVX','ASBvO','POST','BROWSERSTACK_PLATFORM_INDEX','run_describe_finish','started_at','name','unhandledErrors','debug','huDrX','createHookData','toString','FGChe','[customJestAdapterInit]\x20Skipping\x20heavy\x20init\x20for\x20platformIndex=','file','sendTestRunEvent','Wmrik','pid','afterAll','../../v2/cliUtils','raSsS','number','iQDyQ','BROWSERSTACK_CLI_BIN_SESSION_ID','AFXWR','hSqgc','mCkhB','markedStatus','../../../helpers/test-observability/error-handler','Ojism','beforeEach','vMfzr','../../../helpers/test-observability/utils','wXGSw','YZmqv','../../v2/utils/jest-utils','createIdentifierFromJestTest','PUPPETEER','parse','hookUUID','Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20','vaXhl','PKXKz','SMwXZ','getFileName','isCliEnabled','state','FdBcl','browserstackPlatformIndex','PLAYWRIGHT','getTestFramework','tqqXn','currentHook','../test-observability/obsReporter','../../../helpers/logger','LOG_REPORT','ZHJNh',',\x20BROWSERSTACK_PUPPETEER=','current_test','EVENT','makeSingleTestResult','removeTestUUID','[customJestAdapterInit]\x20Error\x20in\x20test_start\x20name\x20storage:\x20','HookStarted','__jestCurrentTestIdentifier','status','originalTest','sizpW','_bstackTestStatus','setActiveHook','tqBYW','lKEaj','message','233821oYkXCX','jest-circus/build/jestAdapterInit.js','../test-observability/test-details','tALdC','HookRunFinished','3543430kphTMY','oOiNs','../../v2/state/testFrameworkState','136SZthkg','ROOT_DESCRIBE_BLOCK','__workerDetails','has','216798SvQfqc','initialize','hookData','title','sHCRX','createTestFrameworkData','uCCss','NYGkf','registerListeners','BEFORE_ALL','nDUzo','yzoAF','lVpcB','mqeZA','ljkgd','nRMfC','YwAcf','isArray','24oWNThe','RfaKc','../../v2/browserstackCLI','afterEach','XhRFf','[customJestAdapterInit]\x20Set\x20test\x20status:\x20\x22','join','test_skip','errorsDetailed','fail','Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20','passed','rbnFB','[customJestAdapterInit]\x20Initializing\x20for\x20platformIndex=','_bstackTestName','KwZhR','retryOf','mFoCj','parent','HookRunStarted',',\x20re-registering\x20event\x20handler','forEach','qTRCT','TestRunFinished','addEventHandler','isRunning','TestRunSkipped','testInfo','util','QqwWo','removeActiveHook','../../utils/constants','jest-circus/build/state.js','hook_success','VDKoX','63ALLuOR','38769cyUBuc','QpedW','hookAnalyticsId','kJDKc','test_start','CLI\x20is\x20enabled\x20and\x20running.','testIdentifier','hook','HqJzH','qajUI','configuration','teardown','Handling\x20test\x20event\x20for\x20CLI:\x20','buDdg','type','length','../../../helpers/test-observability/requestQueueHandler','pUcxn','wTfza','[customJestAdapterInit]\x20Error\x20building\x20test\x20name:\x20','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','mZfaQ','asyncError','setTestUUID','FIFBe','Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20','test','getAutomationFrameworkDetail','Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20','error','true','PaEFh','4697210WwZedL','shutdown','[customJestAdapterInit]\x20Set\x20test\x20name:\x20\x22','add','_bstackTestFailureReason','beforeAll','Handling\x20hook\x20event\x20for\x20CLI:\x20','match','zZOjA','toISOString','browserstackTestName','removeAllListeners','getInstance','3210456izlwUf','format','OXMMI','__bstackPlatformIndex','config','failed','uuid','../../../helpers/testhub/constants','gqVtQ','cJXco'];a17_0x3203=function(){return _0x576e7d;};return a17_0x3203();}const initInitialize=exportsI['initialize'],jestUtils=new JestUtils(),_initializedPlatformIndices=new Set();async function isCLIReady(){const _0x6a325=a17_0x4424f8,_0x1f21c0={'RfaKc':_0x6a325(0x1c5),'tqBYW':function(_0x4dcd27,_0x522a4a){return _0x4dcd27(_0x522a4a);},'vMfzr':_0x6a325(0x148),'YZmqv':function(_0x8ece1a,_0x3f154f){return _0x8ece1a===_0x3f154f;},'raSsS':_0x6a325(0x1de),'vaXhl':function(_0x22d8c9,_0x57533a){return _0x22d8c9(_0x57533a);}};try{const _0x5ac873=BrowserstackCLI[_0x6a325(0x1ec)]();if(_0x5ac873[_0x6a325(0x162)]()&&_0x5ac873[_0x6a325(0x1b5)]())return logger[_0x6a325(0x13d)](_0x1f21c0[_0x6a325(0x19d)]),!![];const _0x195355=process[_0x6a325(0x10a)][_0x6a325(0x14c)];if(_0x195355&&_0x5ac873[_0x6a325(0x162)]()){if(!_0x5ac873[_0x6a325(0x1b5)]())try{const _0x42f587=_0x1f21c0['tqBYW'](require,_0x1f21c0[_0x6a325(0x154)]),_0x27f9fd=_0x42f587[_0x6a325(0x1db)]();(!_0x27f9fd||!_0x27f9fd['name'])&&(_0x1f21c0[_0x6a325(0x157)](process[_0x6a325(0x10a)][_0x6a325(0x12c)],_0x1f21c0[_0x6a325(0x149)])?_0x42f587['setFrameworkDetail'](FRAMEWORKS[_0x6a325(0x12e)],FRAMEWORKS[_0x6a325(0x15a)]):_0x42f587[_0x6a325(0x129)](FRAMEWORKS['JEST'],FRAMEWORKS[_0x6a325(0x166)])),await _0x5ac873[_0x6a325(0x123)]();}catch(_0x2990ed){return _0x1f21c0[_0x6a325(0x17b)](debug,_0x6a325(0x15d)+util[_0x6a325(0x1ee)](_0x2990ed)),![];}return _0x5ac873['isRunning']();}return![];}catch(_0x46cae4){return _0x1f21c0[_0x6a325(0x15e)](debug,'Error\x20checking\x20CLI\x20readiness:\x20'+util[_0x6a325(0x1ee)](_0x46cae4)),![];}}function getTestIdentifierForHook(_0x1c21aa){const _0x1837fc=a17_0x4424f8,_0x55110c={};_0x55110c[_0x1837fc(0x190)]=function(_0x42b276,_0xfb5e19){return _0x42b276===_0xfb5e19;},_0x55110c[_0x1837fc(0x1f5)]='beforeEach',_0x55110c[_0x1837fc(0x136)]=_0x1837fc(0x1e5);const _0x37a7cb=_0x55110c;if(_0x37a7cb['uCCss'](_0x1c21aa[_0x1837fc(0x1ce)],_0x37a7cb['gqVtQ'])||_0x37a7cb[_0x1837fc(0x190)](_0x1c21aa[_0x1837fc(0x1ce)],_0x37a7cb[_0x1837fc(0x136)])){let _0x238f56=global[_0x1837fc(0x175)];if(!_0x238f56&&_0x37a7cb[_0x1837fc(0x190)](_0x1c21aa['type'],_0x37a7cb[_0x1837fc(0x136)])&&_0x1c21aa[_0x1837fc(0x1ae)]){const _0x1c95d3={};_0x1c95d3[_0x1837fc(0x13b)]=_0x1c21aa['parent'][_0x1837fc(0x13b)],_0x1c95d3[_0x1837fc(0x1ae)]=_0x1c21aa[_0x1837fc(0x1ae)][_0x1837fc(0x1ae)],_0x1c95d3[_0x1837fc(0x1d6)]=_0x1c21aa[_0x1837fc(0x1d6)],_0x1c95d3['file']=_0x1c21aa[_0x1837fc(0x143)];const _0x5bd49a=_0x1c95d3;_0x238f56=jestUtils[_0x1837fc(0x159)](_0x5bd49a);}return _0x238f56;}return global[_0x1837fc(0x175)];}function mapHookTypeToState(_0xe3f7a8){const _0x214257=a17_0x4424f8,_0xd84b21={};_0xd84b21[_0x214257(0x1e5)]=TestFrameworkState[_0x214257(0x193)],_0xd84b21[_0x214257(0x147)]=TestFrameworkState['AFTER_ALL'],_0xd84b21[_0x214257(0x153)]=TestFrameworkState['BEFORE_EACH'],_0xd84b21[_0x214257(0x19f)]=TestFrameworkState[_0x214257(0x1f7)];const _0x55827f=_0xd84b21;return _0x55827f[_0xe3f7a8]||TestFrameworkState[_0x214257(0x113)];}async function handleHookEventCLI(_0x5b0fc9,_0x54611f,_0x3ed9dc){const _0x119d0e=a17_0x4424f8,_0x30c3af={'Ojism':function(_0xe9ff81,_0x59b3d2){return _0xe9ff81(_0x59b3d2);},'DIIAE':_0x119d0e(0x115),'CnwAK':function(_0x587e31,_0x4e41ae){return _0x587e31===_0x4e41ae;},'ljkgd':_0x119d0e(0x187),'SaGoG':function(_0x291327){return _0x291327();},'seLVX':function(_0x258189){return _0x258189();},'mqeZA':_0x119d0e(0x1af),'QqwWo':function(_0x3cec45,_0x41ee6){return _0x3cec45(_0x41ee6);},'FdBcl':function(_0x7aa58d,_0x54ecf3){return _0x7aa58d===_0x54ecf3;},'hDPZL':_0x119d0e(0x182),'wTfza':_0x119d0e(0x1c7)};logger[_0x119d0e(0x13d)](_0x119d0e(0x1e6)+_0x54611f+_0x119d0e(0x114)+_0x5b0fc9['type']);try{if(_0x5b0fc9['fn']&&_0x5b0fc9['fn'][_0x119d0e(0x140)]()[_0x119d0e(0x1e7)](/browserstack internal helper hook/))return;if(_0x5b0fc9[_0x119d0e(0x1ae)]&&_0x30c3af[_0x119d0e(0x128)](_0x5b0fc9[_0x119d0e(0x1ae)]['name'],_0x30c3af[_0x119d0e(0x198)])){const _0x274486=_0x5b0fc9[_0x119d0e(0x1d6)]&&((()=>{const _0x2ad212=_0x119d0e;try{const _0xe83284=_0x30c3af[_0x2ad212(0x152)](require,_0x30c3af['DIIAE']),_0xa9980b=_0xe83284[_0x2ad212(0x15b)][_0x2ad212(0x111)](_0xe83284,_0x5b0fc9[_0x2ad212(0x1d6)]);return _0xa9980b[0x0]&&_0xa9980b[0x0]['getFileName']?_0xa9980b[0x0][_0x2ad212(0x161)]():null;}catch(_0x19cd60){return logger['debug']('Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20'+_0x19cd60['message']),null;}})())||_0x5b0fc9[_0x119d0e(0x143)]||null;if(!_0x274486)return;}let _0xcadab3=_0x5b0fc9[_0x119d0e(0x1c2)];if(!_0xcadab3)_0xcadab3=_0x30c3af['SaGoG'](uuidv4),_0x5b0fc9['hookAnalyticsId']=_0xcadab3;else _0x5b0fc9['markedStatus']&&(_0xcadab3=_0x30c3af[_0x119d0e(0x135)](uuidv4),_0x5b0fc9['hookAnalyticsId']=_0xcadab3,delete _0x5b0fc9[_0x119d0e(0x150)]);_0x30c3af[_0x119d0e(0x128)](_0x54611f,_0x30c3af[_0x119d0e(0x197)])&&(_0x5b0fc9[_0x119d0e(0x13a)]=new Date()[_0x119d0e(0x1e9)]());const _0x486504=_0x30c3af['QqwWo'](getTestIdentifierForHook,_0x5b0fc9);!global[_0x119d0e(0x188)]&&(global[_0x119d0e(0x188)]={});if(_0x30c3af['CnwAK'](_0x54611f,_0x30c3af[_0x119d0e(0x197)])){global[_0x119d0e(0x188)]['currentHook']={'hookUUID':_0xcadab3,'testIdentifier':_0x486504,'hookType':_0x5b0fc9[_0x119d0e(0x1ce)],'startedAt':new Date()[_0x119d0e(0x1e9)]()};const _0x343a48=BrowserstackCLI[_0x119d0e(0x1ec)]()[_0x119d0e(0x167)]();_0x343a48&&_0x343a48[_0x119d0e(0x17a)]&&_0x343a48[_0x119d0e(0x17a)](_0x486504,_0xcadab3,_0x5b0fc9[_0x119d0e(0x1ce)]);}const _0x49156b=await jestUtils[_0x119d0e(0x13f)](_0x5b0fc9,_0xcadab3,_0x54611f,_0x486504);if(!_0x49156b)return;const _0x2a8cfc=_0x30c3af[_0x119d0e(0x1b9)](mapHookTypeToState,_0x5b0fc9['type']),_0x4490ad=_0x30c3af[_0x119d0e(0x128)](_0x54611f,_0x30c3af[_0x119d0e(0x197)])?HookState[_0x119d0e(0x117)]:HookState['POST'],_0x308d88=BrowserstackCLI[_0x119d0e(0x1ec)]()[_0x119d0e(0x167)]();if(_0x308d88){const _0x50e182={};_0x50e182[_0x119d0e(0x18c)]=_0x49156b,await _0x308d88[_0x119d0e(0x125)](_0x2a8cfc,_0x4490ad,_0x50e182);if(_0x30c3af[_0x119d0e(0x164)](_0x54611f,_0x30c3af[_0x119d0e(0x109)])){const _0x4d0f09={};_0x4d0f09['testUUID']=_0x486504,_0x4d0f09[_0x119d0e(0x1ce)]=_0x30c3af[_0x119d0e(0x1d2)],await _0x308d88[_0x119d0e(0x125)](TestFrameworkState['LOG_REPORT'],HookState[_0x119d0e(0x137)],_0x4d0f09),global[_0x119d0e(0x188)]&&global[_0x119d0e(0x188)][_0x119d0e(0x169)]&&_0x30c3af[_0x119d0e(0x164)](global[_0x119d0e(0x188)][_0x119d0e(0x169)][_0x119d0e(0x15c)],_0xcadab3)&&delete global[_0x119d0e(0x188)][_0x119d0e(0x169)],_0x308d88['removeActiveHook']&&_0x308d88[_0x119d0e(0x1ba)](_0x486504,_0xcadab3);}}}catch(_0x3cf302){logger[_0x119d0e(0x1dd)](_0x119d0e(0x130)+util['format'](_0x3cf302));throw _0x3cf302;}}async function handleTestEventCLI(_0x3abac9,_0x56888a,_0x779c03){const _0x335c79=a17_0x4424f8,_0x1063f9={};_0x1063f9['qGTjR']=function(_0x395b9f,_0x1e8174){return _0x395b9f===_0x1e8174;},_0x1063f9[_0x335c79(0x1b2)]=_0x335c79(0x118),_0x1063f9['cAwws']=function(_0x5dd18d,_0x12abf1){return _0x5dd18d>_0x12abf1;},_0x1063f9['uJWKx']=function(_0x4c6ef0,_0x4f7f74){return _0x4c6ef0===_0x4f7f74;},_0x1063f9['mJxMY']=function(_0x14f5d3,_0x42bf29){return _0x14f5d3&&_0x42bf29;},_0x1063f9[_0x335c79(0x11a)]=_0x335c79(0x1f2),_0x1063f9[_0x335c79(0x133)]=_0x335c79(0x1b3),_0x1063f9[_0x335c79(0x120)]=_0x335c79(0x1da);const _0x5e49d2=_0x1063f9;logger[_0x335c79(0x13d)](_0x335c79(0x1cc)+_0x56888a);try{let _0x2e22d3;if(_0x5e49d2['qGTjR'](_0x56888a,_0x5e49d2['qTRCT'])){_0x2e22d3=jestUtils[_0x335c79(0x159)](_0x3abac9),global[_0x335c79(0x175)]=_0x2e22d3,_0x3abac9[_0x335c79(0x122)]=_0x2e22d3,_0x3abac9['id']=_0x2e22d3,_0x3abac9[_0x335c79(0x13a)]=new Date()[_0x335c79(0x1e9)]();const _0x2a4aa6=_0x779c03[_0x335c79(0x16f)];_0x779c03[_0x335c79(0x16f)]=_0x3abac9,_0x3abac9[_0x335c79(0x1ac)]=null;if(_0x5e49d2['cAwws'](_0x3abac9['_currentRetry'],0x0)&&_0x2a4aa6&&_0x5e49d2['uJWKx'](_0x2a4aa6['title'],_0x3abac9[_0x335c79(0x18d)])){_0x3abac9[_0x335c79(0x1ac)]=_0x2a4aa6[_0x335c79(0x122)];const _0x5e4509=await jestUtils['createTestFrameworkData'](_0x3abac9,_0x2e22d3,_0x5e49d2[_0x335c79(0x1b2)]),_0xd6cc0d=BrowserstackCLI[_0x335c79(0x1ec)]()['getTestFramework']();if(_0x5e49d2[_0x335c79(0x10d)](_0x5e4509,_0xd6cc0d)){const _0x58cb4f={};_0x58cb4f[_0x335c79(0x1da)]=_0x5e4509,await _0xd6cc0d[_0x335c79(0x125)](TestFrameworkState['TEST'],HookState[_0x335c79(0x117)],_0x58cb4f);}_0x2a4aa6[_0x335c79(0x163)]=_0x5e49d2[_0x335c79(0x11a)];const _0x16df3c=await jestUtils[_0x335c79(0x18f)](_0x2a4aa6,_0x2a4aa6[_0x335c79(0x122)],_0x5e49d2['VXyOU']);if(_0x5e49d2[_0x335c79(0x10d)](_0x16df3c,_0xd6cc0d)){const _0x23a8d3={};_0x23a8d3[_0x335c79(0x1da)]=_0x16df3c,await _0xd6cc0d['trackEvent'](TestFrameworkState[_0x335c79(0x116)],HookState[_0x335c79(0x137)],_0x23a8d3);}}else{const _0x752ea5=await jestUtils[_0x335c79(0x18f)](_0x3abac9,_0x2e22d3,_0x5e49d2['qTRCT']),_0x4e5f91=BrowserstackCLI['getInstance']()[_0x335c79(0x167)]();if(_0x5e49d2[_0x335c79(0x10d)](_0x752ea5,_0x4e5f91)){const _0x12eb70={};_0x12eb70['test']=_0x752ea5,await _0x4e5f91[_0x335c79(0x125)](TestFrameworkState[_0x335c79(0x116)],HookState[_0x335c79(0x117)],_0x12eb70);}}}else{_0x2e22d3=_0x3abac9[_0x335c79(0x122)]||_0x3abac9['id']||global[_0x335c79(0x175)];const _0x192652=await jestUtils[_0x335c79(0x18f)](_0x3abac9,_0x2e22d3,_0x56888a),_0x32f465=BrowserstackCLI['getInstance']()[_0x335c79(0x167)]();if(_0x5e49d2[_0x335c79(0x10d)](_0x192652,_0x32f465)){const _0x5c6838={};_0x5c6838['test']=_0x192652,_0x5c6838[_0x335c79(0x177)]=_0x3abac9,_0x5c6838[_0x335c79(0x1c6)]=_0x2e22d3,await _0x32f465[_0x335c79(0x125)](TestFrameworkState[_0x335c79(0x116)],HookState[_0x335c79(0x137)],_0x5c6838);const _0xddd2ae={};_0xddd2ae[_0x335c79(0x10e)]=_0x2e22d3,_0xddd2ae['type']=_0x5e49d2[_0x335c79(0x120)],await _0x32f465[_0x335c79(0x125)](TestFrameworkState[_0x335c79(0x16c)],HookState[_0x335c79(0x137)],_0xddd2ae);}}}catch(_0x29d153){logger[_0x335c79(0x1dd)]('Error\x20handling\x20test\x20event\x20for\x20CLI:\x20'+util[_0x335c79(0x1ee)](_0x29d153));throw _0x29d153;}}function a17_0x4371(_0x51c1b1,_0x18040e){const _0x32037c=a17_0x3203();return a17_0x4371=function(_0x437125,_0x4c269e){_0x437125=_0x437125-0x109;let _0x3ee9d4=_0x32037c[_0x437125];return _0x3ee9d4;},a17_0x4371(_0x51c1b1,_0x18040e);}exportsI[a17_0x4424f8(0x18b)]=(..._0x565357)=>{const _0x3288f0=a17_0x4424f8,_0xf589f={'ZHJNh':function(_0x4f22d3,_0x369bfb){return _0x4f22d3(_0x369bfb);},'wXGSw':function(_0x1e53b8,_0x3dd088){return _0x1e53b8(_0x3dd088);},'UBmMu':_0x3288f0(0x115),'nRMfC':'hook_start','lAuaT':function(_0x54e2b7,_0x1acd54){return _0x54e2b7===_0x1acd54;},'Bampj':_0x3288f0(0x187),'siOrA':function(_0x5800e9){return _0x5800e9();},'iQDyQ':function(_0x5a3bfd,_0x50749d){return _0x5a3bfd(_0x50749d);},'pUcxn':function(_0x4dc45b,_0x276d72,_0x733606,_0x430264){return _0x4dc45b(_0x276d72,_0x733606,_0x430264);},'mCkhB':_0x3288f0(0x1af),'VYAKz':_0x3288f0(0x1bd),'kIOpJ':function(_0x349e3a,_0x1d6633){return _0x349e3a(_0x1d6633);},'UQJzD':'HookRunFinished','PaEFh':function(_0x4f1a4b,_0x24e949){return _0x4f1a4b(_0x24e949);},'pihvx':function(_0x50101f,_0x56921e){return _0x50101f(_0x56921e);},'FIFBe':_0x3288f0(0x134),'hSqgc':_0x3288f0(0x1e5),'lVpcB':_0x3288f0(0x153),'HKMBa':_0x3288f0(0x19f),'YwAcf':function(_0x5448c7,_0x5873f7){return _0x5448c7>_0x5873f7;},'OXMMI':function(_0x1c8e9d,_0x282e6c){return _0x1c8e9d(_0x282e6c);},'FGChe':function(_0x2a786d,_0x1cbdb1){return _0x2a786d(_0x1cbdb1);},'AFXWR':_0x3288f0(0x1c4),'VDKoX':function(_0x4d385a,_0xe345f6){return _0x4d385a!==_0xe345f6;},'lKEaj':_0x3288f0(0x119),'PKXKz':function(_0x49ed66){return _0x49ed66();},'xeauD':_0x3288f0(0x118),'agQvP':_0x3288f0(0x10c),'kJDKc':function(_0x1b14d3,_0xf4ed25){return _0x1b14d3>_0xf4ed25;},'oOiNs':_0x3288f0(0x1a5),'zFbRl':'failed','QpedW':_0x3288f0(0x1a7),'mFoCj':function(_0x19350e,_0x1c5fd0){return _0x19350e||_0x1c5fd0;},'sHCRX':function(_0x3fbcab){return _0x3fbcab();},'WOEOh':function(_0x1bd8f1,_0x442769,_0x56dcf5,_0x28f964){return _0x1bd8f1(_0x442769,_0x56dcf5,_0x28f964);},'SMwXZ':_0x3288f0(0x1b3),'irbbk':function(_0x22ee87,_0x2771d3){return _0x22ee87(_0x2771d3);},'XhRFf':_0x3288f0(0x1a3),'huDrX':function(_0x10ee66,_0x56fa43,_0x27061a,_0x263805){return _0x10ee66(_0x56fa43,_0x27061a,_0x263805);},'tALdC':_0x3288f0(0x1b6),'buDdg':function(_0x319af9,_0x1d5d56){return _0x319af9(_0x1d5d56);},'mZfaQ':_0x3288f0(0x139),'sizpW':_0x3288f0(0x1cb),'nDUzo':_0x3288f0(0x14a),'yzoAF':function(_0x4bad73,_0x33d68d){return _0x4bad73===_0x33d68d;},'MyFUY':function(_0x6a64fd){return _0x6a64fd();},'eaotK':function(_0xb914bc){return _0xb914bc();},'NYGkf':function(_0x162555,_0x3e58b2,_0x3a80bb){return _0x162555(_0x3e58b2,_0x3a80bb);},'rbnFB':_0x3288f0(0x1bc),'HqJzH':_0x3288f0(0x112),'hIkrQ':function(_0x5c3ecc,_0x2f9960){return _0x5c3ecc(_0x2f9960);},'qajUI':function(_0x5ee50b,_0x244b91,_0x2ee155){return _0x5ee50b(_0x244b91,_0x2ee155);},'zZOjA':_0x3288f0(0x11c),'Wmrik':function(_0x34fec4){return _0x34fec4();},'cJXco':'EventHandler','uaXQq':function(_0x1df4a8,_0x4d85c7){return _0x1df4a8(_0x4d85c7);}};try{logger['debug']('[customJestAdapterInit]\x20initialize\x20called,\x20shouldProcessEventForTesthub='+_0xf589f[_0x3288f0(0x12b)](shouldProcessEventForTesthub)+_0x3288f0(0x16e)+process[_0x3288f0(0x10a)]['BROWSERSTACK_PUPPETEER']);const _0x21ab48=_0x565357&&_0x565357[0x0]?_0x565357[0x0]:{};let _0x2b9c50=0x0;try{if(_0x21ab48[_0x3288f0(0x1f1)]&&_0xf589f[_0x3288f0(0x10f)](typeof _0x21ab48['config'][_0x3288f0(0x165)],_0xf589f['nDUzo']))_0x2b9c50=_0x21ab48[_0x3288f0(0x1f1)]['browserstackPlatformIndex'];else{if(_0x21ab48[_0x3288f0(0x1ca)]&&_0xf589f[_0x3288f0(0x10f)](typeof _0x21ab48[_0x3288f0(0x1ca)][_0x3288f0(0x165)],_0xf589f[_0x3288f0(0x194)]))_0x2b9c50=_0x21ab48[_0x3288f0(0x1ca)]['browserstackPlatformIndex'];else global[_0x3288f0(0x132)]&&_0xf589f[_0x3288f0(0x195)](typeof global[_0x3288f0(0x132)]['browserstackPlatformIndex'],_0xf589f[_0x3288f0(0x194)])&&(_0x2b9c50=global[_0x3288f0(0x132)]['browserstackPlatformIndex']);}}catch(_0x493001){logger[_0x3288f0(0x13d)](_0x3288f0(0x11f)+util['format'](_0x493001));}global[_0x3288f0(0x1f0)]=_0x2b9c50,process[_0x3288f0(0x10a)][_0x3288f0(0x138)]=_0xf589f[_0x3288f0(0x11b)](String,_0x2b9c50);const _0x18aca5=new ObservabilityReporter();!_initializedPlatformIndices[_0x3288f0(0x189)](_0x2b9c50)?(logger[_0x3288f0(0x13d)](_0x3288f0(0x1a9)+_0x2b9c50),_initializedPlatformIndices[_0x3288f0(0x1e3)](_0x2b9c50),_0xf589f['MyFUY'](shouldProcessEventForTesthub)&&(_0xf589f['eaotK'](patchConsoleLogger),_0x18aca5[_0x3288f0(0x192)]())):logger[_0x3288f0(0x13d)](_0x3288f0(0x142)+_0x2b9c50+_0x3288f0(0x1b0));let _0x186707;try{_0x186707=_0xf589f[_0x3288f0(0x191)](requireModule,_0xf589f[_0x3288f0(0x1a8)],_0xf589f[_0x3288f0(0x1c8)]);}catch{_0x186707=_0xf589f['hIkrQ'](requireModule,_0xf589f[_0x3288f0(0x1c8)]);}let _0x25a59c;try{_0x25a59c=_0xf589f[_0x3288f0(0x1c9)](requireModule,_0xf589f[_0x3288f0(0x1e8)],_0xf589f['HqJzH'])[_0x3288f0(0x171)];}catch{_0x25a59c=_0xf589f[_0x3288f0(0x1cd)](requireModule,_0xf589f['HqJzH'])[_0x3288f0(0x171)]||(()=>({}));}const _0x3c3705=BrowserstackCLI[_0x3288f0(0x1ec)]()[_0x3288f0(0x162)]();(_0xf589f[_0x3288f0(0x145)](shouldProcessEventForTesthub)||_0x3c3705)&&_0x186707[_0x3288f0(0x1b4)](_0xf589f['NYGkf'](o11yErrorHandler,async(_0x4e23e6,_0xd9739)=>{const _0x56f9f0=_0x3288f0,_0x4c88d9={'yaBVT':function(_0x189fe5,_0x5e4f49){return _0xf589f['wXGSw'](_0x189fe5,_0x5e4f49);},'KwZhR':_0xf589f['UBmMu']};switch(_0x4e23e6['name']){case _0xf589f[_0x56f9f0(0x199)]:if(_0x4e23e6[_0x56f9f0(0x1c7)]['fn']&&_0x4e23e6[_0x56f9f0(0x1c7)]['fn'][_0x56f9f0(0x140)]()[_0x56f9f0(0x1e7)](/browserstack internal helper hook/))break;if(_0x4e23e6[_0x56f9f0(0x1c7)]['parent']&&_0xf589f['lAuaT'](_0x4e23e6[_0x56f9f0(0x1c7)]['parent']['name'],_0xf589f[_0x56f9f0(0x110)])){const _0x185c12=_0x4e23e6[_0x56f9f0(0x1c7)][_0x56f9f0(0x1d6)]&&((()=>{const _0x1a4993=_0x56f9f0;try{const _0x105bb4=_0x4c88d9['yaBVT'](require,_0x4c88d9[_0x1a4993(0x1ab)]),_0x1411d6=_0x105bb4[_0x1a4993(0x15b)][_0x1a4993(0x111)](_0x105bb4,_0x4e23e6[_0x1a4993(0x1c7)][_0x1a4993(0x1d6)]);return _0x1411d6[0x0]&&_0x1411d6[0x0][_0x1a4993(0x161)]?_0x1411d6[0x0][_0x1a4993(0x161)]():null;}catch(_0x13d87b){return logger[_0x1a4993(0x13d)](_0x1a4993(0x1d9)+_0x13d87b[_0x1a4993(0x17d)]),null;}})())||_0x4e23e6[_0x56f9f0(0x1c7)][_0x56f9f0(0x143)]||null;if(!_0x185c12)break;}if(BrowserstackCLI[_0x56f9f0(0x1ec)]()['isCliEnabled']()&&await _0xf589f[_0x56f9f0(0x12b)](isCLIReady)){if(_0xf589f[_0x56f9f0(0x14b)](shouldProcessEventForTesthub,testHubConstants['EVENT']['HookStarted']))try{await _0xf589f[_0x56f9f0(0x1d1)](handleHookEventCLI,_0x4e23e6['hook'],_0xf589f['mCkhB'],_0xd9739);break;}catch(_0x1cb8ba){_0xf589f['iQDyQ'](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x56f9f0(0x1ee)](_0x1cb8ba));}}if(_0xf589f[_0x56f9f0(0x14b)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x56f9f0(0x174)])){if(!_0x4e23e6[_0x56f9f0(0x1c7)][_0x56f9f0(0x1c2)]){const _0x5f261e=TestDetails[_0x56f9f0(0x1d7)](process['pid']+_0x56f9f0(0x1f8));_0x4e23e6['hook'][_0x56f9f0(0x1c2)]=_0x5f261e;}else _0x4e23e6[_0x56f9f0(0x1c7)][_0x56f9f0(0x150)]&&(_0x4e23e6['hook'][_0x56f9f0(0x1c2)]=TestDetails[_0x56f9f0(0x1d7)](process[_0x56f9f0(0x146)]+_0x56f9f0(0x1f8)),delete _0x4e23e6['hook'][_0x56f9f0(0x150)]);_0x4e23e6[_0x56f9f0(0x1c7)][_0x56f9f0(0x13a)]=new Date()['toISOString'](),await _0x18aca5[_0x56f9f0(0x144)](_0x4e23e6[_0x56f9f0(0x1c7)],undefined,![],_0xf589f[_0x56f9f0(0x14f)]);}break;case _0xf589f['VYAKz']:if(BrowserstackCLI[_0x56f9f0(0x1ec)]()[_0x56f9f0(0x162)]()&&await _0xf589f[_0x56f9f0(0x12b)](isCLIReady)){if(_0xf589f[_0x56f9f0(0x11b)](shouldProcessEventForTesthub,testHubConstants[_0x56f9f0(0x170)][_0x56f9f0(0x12a)]))try{await _0xf589f[_0x56f9f0(0x1d1)](handleHookEventCLI,_0x4e23e6[_0x56f9f0(0x1c7)],_0xf589f['UQJzD'],_0xd9739);break;}catch(_0x298e85){_0xf589f[_0x56f9f0(0x1df)](debug,_0x56f9f0(0x12f)+util[_0x56f9f0(0x1ee)](_0x298e85));}}_0xf589f[_0x56f9f0(0x12d)](shouldProcessEventForTesthub,testHubConstants[_0x56f9f0(0x170)][_0x56f9f0(0x12a)])&&(await _0x18aca5[_0x56f9f0(0x144)](_0x4e23e6[_0x56f9f0(0x1c7)],undefined,![],_0xf589f[_0x56f9f0(0x124)]),TestDetails[_0x56f9f0(0x172)](process['pid']+_0x56f9f0(0x1f8)));break;case _0xf589f[_0x56f9f0(0x1d8)]:[_0xf589f[_0x56f9f0(0x14e)],_0xf589f[_0x56f9f0(0x196)],_0xf589f['HKMBa']]['includes'](_0x4e23e6[_0x56f9f0(0x1c7)]['type'])&&(_0x18aca5['hook_failure']=_0x4e23e6[_0x56f9f0(0x1c7)]['type']),_0xd9739['unhandledErrors']&&_0xf589f[_0x56f9f0(0x19a)](_0xd9739[_0x56f9f0(0x13c)][_0x56f9f0(0x1cf)],0x0)&&(_0x4e23e6[_0x56f9f0(0x1c7)][_0x56f9f0(0x1a4)]=[_0xd9739['unhandledErrors'][0x0][0x0]]);if(BrowserstackCLI[_0x56f9f0(0x1ec)]()['isCliEnabled']()&&await _0xf589f[_0x56f9f0(0x12b)](isCLIReady)){if(_0xf589f[_0x56f9f0(0x1ef)](shouldProcessEventForTesthub,testHubConstants[_0x56f9f0(0x170)][_0x56f9f0(0x12a)]))try{await _0xf589f[_0x56f9f0(0x1d1)](handleHookEventCLI,_0x4e23e6[_0x56f9f0(0x1c7)],_0xf589f[_0x56f9f0(0x124)],_0xd9739);break;}catch(_0x2b6878){_0xf589f[_0x56f9f0(0x12d)](debug,_0x56f9f0(0x12f)+util['format'](_0x2b6878));}}_0xf589f[_0x56f9f0(0x141)](shouldProcessEventForTesthub,testHubConstants[_0x56f9f0(0x170)][_0x56f9f0(0x12a)])&&(await _0x18aca5[_0x56f9f0(0x144)](_0x4e23e6[_0x56f9f0(0x1c7)],undefined,![],_0xf589f['UQJzD']),TestDetails[_0x56f9f0(0x172)](process[_0x56f9f0(0x146)]+_0x56f9f0(0x1f8)));break;case _0xf589f[_0x56f9f0(0x14d)]:try{let _0x37fc86=_0x4e23e6['test'][_0x56f9f0(0x13b)]||'';try{let _0x27befe=_0x4e23e6[_0x56f9f0(0x1da)][_0x56f9f0(0x1ae)];const _0x5f1b27=[_0x37fc86];while(_0x27befe&&_0x27befe['name']&&_0xf589f[_0x56f9f0(0x1be)](_0x27befe['name'],_0xf589f['Bampj'])){_0x5f1b27['unshift'](_0x27befe['name']),_0x27befe=_0x27befe[_0x56f9f0(0x1ae)];}_0x37fc86=_0x5f1b27[_0x56f9f0(0x1a2)](_0xf589f[_0x56f9f0(0x17c)]);}catch(_0x1e02f0){logger[_0x56f9f0(0x13d)](_0x56f9f0(0x1d3)+_0x1e02f0['message']);}process[_0x56f9f0(0x1aa)]=_0x37fc86,process[_0x56f9f0(0x179)]=null,process['_bstackTestFailureReason']=null,logger[_0x56f9f0(0x13d)](_0x56f9f0(0x1e2)+_0x37fc86+'\x22');if(!global[_0x56f9f0(0x188)]){const _0x34ce72={};_0x34ce72[_0x56f9f0(0x126)]={},global[_0x56f9f0(0x188)]=_0x34ce72;}!global['__workerDetails']['currentTest']&&(global[_0x56f9f0(0x188)]['currentTest']={});const _0x573fd8={};_0x573fd8[_0x56f9f0(0x18d)]=_0x37fc86,_0x573fd8[_0x56f9f0(0x13b)]=_0x37fc86,global[_0x56f9f0(0x188)]['currentTest']['testInfo']=_0x573fd8,global[_0x56f9f0(0x1ea)]=_0x37fc86;}catch(_0x28a168){logger[_0x56f9f0(0x13d)](_0x56f9f0(0x173)+_0x28a168[_0x56f9f0(0x17d)]);}if(BrowserstackCLI[_0x56f9f0(0x1ec)]()[_0x56f9f0(0x162)]()&&await _0xf589f[_0x56f9f0(0x15f)](isCLIReady))try{await _0xf589f[_0x56f9f0(0x1d1)](handleTestEventCLI,_0x4e23e6['test'],_0xf589f['xeauD'],_0x18aca5);break;}catch(_0x262cbc){_0xf589f[_0x56f9f0(0x16d)](debug,_0x56f9f0(0x12f)+util[_0x56f9f0(0x1ee)](_0x262cbc));}_0xf589f['siOrA'](shouldProcessEventForTesthub)&&await _0x18aca5['testStarted'](_0x4e23e6[_0x56f9f0(0x1da)]);break;case _0xf589f[_0x56f9f0(0x127)]:_0x4e23e6[_0x56f9f0(0x1da)]={..._0xf589f[_0x56f9f0(0x156)](_0x25a59c,_0x4e23e6[_0x56f9f0(0x1da)]),..._0x4e23e6['test']};try{const _0x4fc66b=_0x4e23e6[_0x56f9f0(0x1da)]['errors']||[],_0x36e1ac=_0xf589f[_0x56f9f0(0x1c3)](_0x4fc66b[_0x56f9f0(0x1cf)],0x0)||_0xf589f['lAuaT'](_0x4e23e6[_0x56f9f0(0x1da)][_0x56f9f0(0x176)],_0xf589f[_0x56f9f0(0x184)]),_0x36a543=_0x36e1ac?_0xf589f['zFbRl']:_0xf589f[_0x56f9f0(0x1c1)];let _0x4d91a4='';_0x36e1ac&&(_0x4d91a4=_0x4fc66b[_0x56f9f0(0x121)](_0x27ef80=>{const _0x164192=_0x56f9f0;if(Array[_0x164192(0x19b)](_0x27ef80))return _0x27ef80[_0x164192(0x121)](_0x38869d=>_0x38869d&&_0x38869d[_0x164192(0x17d)]||String(_0x38869d))['join'](';\x20');return _0x27ef80&&_0x27ef80[_0x164192(0x17d)]||_0xf589f[_0x164192(0x16d)](String,_0x27ef80);})[_0x56f9f0(0x1a2)](';\x20')),process[_0x56f9f0(0x179)]=_0x36a543,process[_0x56f9f0(0x1e4)]=_0xf589f[_0x56f9f0(0x1ad)](_0x4d91a4,''),logger['debug'](_0x56f9f0(0x1a1)+_0x36a543+'\x22'),global[_0x56f9f0(0x188)]&&global['__workerDetails'][_0x56f9f0(0x126)]&&(!global['__workerDetails'][_0x56f9f0(0x126)]['testInfo']&&(global[_0x56f9f0(0x188)][_0x56f9f0(0x126)][_0x56f9f0(0x1b7)]={}),global['__workerDetails'][_0x56f9f0(0x126)][_0x56f9f0(0x1b7)][_0x56f9f0(0x176)]=_0x36a543,_0x36e1ac&&(global['__workerDetails']['currentTest'][_0x56f9f0(0x1b7)]['failureMessage']=_0x4d91a4));}catch(_0x59ee8c){logger['debug']('[customJestAdapterInit]\x20Error\x20in\x20test_done\x20status\x20storage:\x20'+_0x59ee8c['message']);}if(!_0x4e23e6[_0x56f9f0(0x1da)]['markedStatus']){_0x4e23e6[_0x56f9f0(0x1da)][_0x56f9f0(0x150)]=!![];if(BrowserstackCLI[_0x56f9f0(0x1ec)]()[_0x56f9f0(0x162)]()&&await _0xf589f[_0x56f9f0(0x18e)](isCLIReady))try{await _0xf589f[_0x56f9f0(0x11d)](handleTestEventCLI,_0x4e23e6[_0x56f9f0(0x1da)],_0xf589f[_0x56f9f0(0x160)],_0x18aca5);break;}catch(_0x47c564){_0xf589f['irbbk'](debug,_0x56f9f0(0x12f)+util[_0x56f9f0(0x1ee)](_0x47c564));}_0xf589f[_0x56f9f0(0x12b)](shouldProcessEventForTesthub)&&await _0x18aca5[_0x56f9f0(0x144)](_0x4e23e6[_0x56f9f0(0x1da)]);}break;case _0xf589f[_0x56f9f0(0x1a0)]:_0x4e23e6[_0x56f9f0(0x1da)]={..._0xf589f[_0x56f9f0(0x16d)](_0x25a59c,_0x4e23e6[_0x56f9f0(0x1da)]),..._0x4e23e6[_0x56f9f0(0x1da)]};if(!_0x4e23e6[_0x56f9f0(0x1da)][_0x56f9f0(0x150)]){_0x4e23e6[_0x56f9f0(0x1da)][_0x56f9f0(0x150)]=!![];if(BrowserstackCLI[_0x56f9f0(0x1ec)]()[_0x56f9f0(0x162)]()&&await _0xf589f[_0x56f9f0(0x15f)](isCLIReady))try{await _0xf589f[_0x56f9f0(0x13e)](handleTestEventCLI,_0x4e23e6['test'],_0xf589f[_0x56f9f0(0x181)],_0x18aca5);break;}catch(_0x2875f2){_0xf589f[_0x56f9f0(0x1cd)](debug,_0x56f9f0(0x12f)+util['format'](_0x2875f2));}_0xf589f['sHCRX'](shouldProcessEventForTesthub)&&await _0x18aca5['sendTestRunEvent'](_0x4e23e6[_0x56f9f0(0x1da)],undefined,![],_0xf589f['tALdC']);}break;case _0xf589f[_0x56f9f0(0x1d5)]:_0x18aca5['hook_failure']=null;break;case _0xf589f[_0x56f9f0(0x178)]:await RequestQueueHandler[_0x56f9f0(0x1ec)]()[_0x56f9f0(0x1e1)](),process[_0x56f9f0(0x1eb)]();break;default:}},_0xf589f[_0x3288f0(0x1f6)]));}catch(_0x4ec864){_0xf589f['uaXQq'](debug,_0x3288f0(0x1a6)+_0x4ec864);}return _0xf589f['PaEFh'](initInitialize,..._0x565357);};try{Object['keys'](exportsI)[a17_0x4424f8(0x1b1)](_0x1e9ee7=>{const _0x582483=a17_0x4424f8,_0xe99cda={'tqqXn':function(_0x2f870b,_0x2fea33){return _0x2f870b(_0x2fea33);}};try{exports&&(exports[_0x1e9ee7]=exportsI[_0x1e9ee7]);}catch(_0x391a56){_0xe99cda[_0x582483(0x168)](debug,_0x582483(0x1dc)+_0x391a56);}});}catch(a17_0x5d8e5d){debug('Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20'+a17_0x5d8e5d);}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a18_0x2b2c(){const _0x50613c=['filter','6VGlHQG','7656ZAskvG','env','includes','248fcBFKo','map','532372wxzEnf','sort','149824PbkKTT','JEST_TEST_ORDER','839128kgJssF','125237jfvcic','exports','1764865iyEVRT','@jest/test-sequencer','410RlmujH','9nWbNvs','default','get','8481bVFKIt','16803iyQHXg'];a18_0x2b2c=function(){return _0x50613c;};return a18_0x2b2c();}const a18_0x34076b=a18_0x5444;(function(_0x6d4b94,_0x4a7d70){const _0x3eea7c=a18_0x5444,_0x4ea47e=_0x6d4b94();while(!![]){try{const _0x2e14d4=-parseInt(_0x3eea7c(0x14c))/0x1+-parseInt(_0x3eea7c(0x14e))/0x2+-parseInt(_0x3eea7c(0x154))/0x3*(parseInt(_0x3eea7c(0x14a))/0x4)+parseInt(_0x3eea7c(0x151))/0x5*(parseInt(_0x3eea7c(0x15a))/0x6)+parseInt(_0x3eea7c(0x14f))/0x7*(parseInt(_0x3eea7c(0x148))/0x8)+parseInt(_0x3eea7c(0x158))/0x9*(-parseInt(_0x3eea7c(0x153))/0xa)+-parseInt(_0x3eea7c(0x157))/0xb*(-parseInt(_0x3eea7c(0x15b))/0xc);if(_0x2e14d4===_0x4a7d70)break;else _0x4ea47e['push'](_0x4ea47e['shift']());}catch(_0x442f95){_0x4ea47e['push'](_0x4ea47e['shift']());}}}(a18_0x2b2c,0x567e6));const Sequencer=require(a18_0x34076b(0x152))[a18_0x34076b(0x155)];class CustomSequencer extends Sequencer{[a18_0x34076b(0x14b)](_0x4d2666){const _0xcb390b=a18_0x34076b,_0xa7f523=process[_0xcb390b(0x146)][_0xcb390b(0x14d)];if(!_0xa7f523)return _0x4d2666;const _0x41412d=_0xa7f523['split'](','),_0x1f96ad=new Map(_0x4d2666[_0xcb390b(0x159)](_0x41cef7=>_0x41412d[_0xcb390b(0x147)](_0x41cef7['path']))[_0xcb390b(0x149)](_0x14deb6=>[_0x14deb6['path'],_0x14deb6]));return _0x41412d[_0xcb390b(0x149)](_0x2050c9=>_0x1f96ad[_0xcb390b(0x156)](_0x2050c9))[_0xcb390b(0x159)](Boolean);}}function a18_0x5444(_0x4d7d27,_0x368aa2){const _0x2b2c10=a18_0x2b2c();return a18_0x5444=function(_0x54444a,_0x432563){_0x54444a=_0x54444a-0x146;let _0x4b0818=_0x2b2c10[_0x54444a];return _0x4b0818;},a18_0x5444(_0x4d7d27,_0x368aa2);}module[a18_0x34076b(0x150)]=CustomSequencer;
|