browserstack-node-sdk 1.52.1 → 1.52.3
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 +5 -5
- 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_0x45d086=a10_0x31b7;(function(_0x44e1c0,_0x4e6b83){const _0x266265=a10_0x31b7,_0x26415f=_0x44e1c0();while(!![]){try{const _0x510539=-parseInt(_0x266265(0x194))/0x1+-parseInt(_0x266265(0x18a))/0x2*(-parseInt(_0x266265(0x186))/0x3)+-parseInt(_0x266265(0x17d))/0x4+-parseInt(_0x266265(0x177))/0x5*(-parseInt(_0x266265(0x18d))/0x6)+parseInt(_0x266265(0x18f))/0x7+parseInt(_0x266265(0x196))/0x8+-parseInt(_0x266265(0x19d))/0x9;if(_0x510539===_0x4e6b83)break;else _0x26415f['push'](_0x26415f['shift']());}catch(_0x4c1d28){_0x26415f['push'](_0x26415f['shift']());}}}(a10_0x415e,0x461c7));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require('../../helpers/helper'),setKeepAlive=require('../../helpers/setKeepAlive'),cucumberModule=requireModule('cucumber/lib/index.js','cucumber'),logger=require(a10_0x45d086(0x187))['winstonLogger'];function a10_0x31b7(_0x16f27c,_0x3e9e96){const _0x415efb=a10_0x415e();return a10_0x31b7=function(_0x31b73f,_0x320cdc){_0x31b73f=_0x31b73f-0x177;let _0x4a59e0=_0x415efb[_0x31b73f];return _0x4a59e0;},a10_0x31b7(_0x16f27c,_0x3e9e96);}modifyCommand(),setKeepAlive();const Before=cucumberModule[a10_0x45d086(0x181)],After=cucumberModule[a10_0x45d086(0x1a2)],configuration=process[a10_0x45d086(0x191)]['CONFIG'];function a10_0x415e(){const _0x1b39bb=['Before','Inside\x20browserstack\x20Before','result','__timeout','pickle','201DjdogJ','../../helpers/logger','\x22}}','svSRw','14062cuaTQi','qKUbh','executeScript','827886WgPtNC','__skipSessionStatus','1792266oRsCIt','bstack','env','skipSessionStatus','\x20|\x20','348932pMYLrU','then','3695088enAIia','__driver','toLowerCase','join','timeout','__skipSessionName','initQuit','5237937AhLAgd','mzWZu','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','jntOM','Error:\x20quiting\x20at\x20After:\x20','After','aOyEB','status','lzwbV','CXhOj','Iqrvq','iCJbK','15OKONIF','MxvxD','Tqgcv','../../index','debug','session_','1539376guwXMX','__error_messages__','browserstackAgentV2','LhsSP'];a10_0x415e=function(){return _0x1b39bb;};return a10_0x415e();}if(configuration!==undefined){const config=JSON['parse'](configuration);isTrue(config['skipSessionName'])&&(global[a10_0x45d086(0x19b)]=!![]),global[a10_0x45d086(0x18e)]=isTrue(config[a10_0x45d086(0x192)]),require(a10_0x45d086(0x17a))[a10_0x45d086(0x17f)](config),global['__platformCaps']=config['platformCaps']||{};}global[a10_0x45d086(0x184)]=0x0;const __setDefaultTimeout=cucumberModule['setDefaultTimeout'];cucumberModule['setDefaultTimeout']=_0x3e8e63=>{const _0x598065=a10_0x45d086,_0xe12348={'Iqrvq':function(_0x26a9d7,_0x1fcbcf){return _0x26a9d7(_0x1fcbcf);}};global[_0x598065(0x184)]=_0x3e8e63,_0xe12348[_0x598065(0x1a7)](__setDefaultTimeout,_0x3e8e63);};const a10_0x560932={};a10_0x560932['name']=a10_0x45d086(0x190),Before(a10_0x560932,function(){const _0x3e2bb1=a10_0x45d086,_0x55791a={};_0x55791a[_0x3e2bb1(0x178)]=_0x3e2bb1(0x182);const _0x70b644=_0x55791a;logger[_0x3e2bb1(0x17b)](_0x70b644[_0x3e2bb1(0x178)]),global[_0x3e2bb1(0x17e)]=[];});const a10_0x123ef8={};a10_0x123ef8['name']=a10_0x45d086(0x190),a10_0x123ef8[a10_0x45d086(0x19a)]=0x2710,After(a10_0x123ef8,function(_0x470ac9,_0x17860e){const _0xf86e29=a10_0x45d086,_0x166ecb={'svSRw':function(_0x5d54af,_0x4aa6a7){return _0x5d54af===_0x4aa6a7;},'mzWZu':'failed','aOyEB':function(_0x52f459,_0x3684d8,_0x2f77c0,_0x217a17){return _0x52f459(_0x3684d8,_0x2f77c0,_0x217a17);},'iCJbK':_0xf86e29(0x193),'Tqgcv':function(_0x12a2ca,_0x1e63f7,_0x4d3509){return _0x12a2ca(_0x1e63f7,_0x4d3509);},'LhsSP':'passed','lzwbV':function(_0x21982f){return _0x21982f();},'CXhOj':function(_0x1ea1a4,_0x35aec2){return _0x1ea1a4(_0x35aec2);},'jntOM':function(_0x181512){return _0x181512();},'qKUbh':'Inside\x20browserstack\x20After'};logger['debug'](_0x166ecb[_0xf86e29(0x18b)]),new Promise(async(_0x36465f,_0x195604)=>{const _0x3c71b0=_0xf86e29;let _0xa4e54d=![];try{await global[_0x3c71b0(0x197)][_0x3c71b0(0x17c)],_0xa4e54d=!![],!global[_0x3c71b0(0x19b)]&&await global[_0x3c71b0(0x197)][_0x3c71b0(0x18c)](_0x3c71b0(0x19f)+_0x470ac9[_0x3c71b0(0x185)]['name']+_0x3c71b0(0x188)),_0x166ecb[_0x3c71b0(0x189)](_0x470ac9[_0x3c71b0(0x183)][_0x3c71b0(0x1a4)][_0x3c71b0(0x198)](),_0x166ecb[_0x3c71b0(0x19e)])?await _0x166ecb[_0x3c71b0(0x1a3)](markSessionStatus,global[_0x3c71b0(0x197)],_0x166ecb[_0x3c71b0(0x19e)],global['__error_messages__'][_0x3c71b0(0x199)](_0x166ecb[_0x3c71b0(0x1a8)])):await _0x166ecb[_0x3c71b0(0x179)](markSessionStatus,global[_0x3c71b0(0x197)],_0x166ecb[_0x3c71b0(0x180)]);}catch(_0x3481b8){logger[_0x3c71b0(0x17b)]('Error:\x20setting\x20status\x20at\x20After:\x20'+_0x3481b8);}if(_0xa4e54d)try{await global[_0x3c71b0(0x197)][_0x3c71b0(0x19c)](),_0x166ecb[_0x3c71b0(0x1a5)](_0x36465f);}catch(_0x54c9ca){logger[_0x3c71b0(0x17b)](_0x3c71b0(0x1a1)+_0x54c9ca),_0x166ecb[_0x3c71b0(0x1a6)](_0x195604,_0x54c9ca);}else _0x166ecb[_0x3c71b0(0x1a0)](_0x195604);})[_0xf86e29(0x195)](()=>_0x17860e());});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a11_0x53c278=a11_0x5e79;(function(_0x43ebf9,_0x19ef2b){const _0x4b9e7d=a11_0x5e79,_0x2e8f3a=_0x43ebf9();while(!![]){try{const _0x450698=parseInt(_0x4b9e7d(0x16a))/0x1*(parseInt(_0x4b9e7d(0x175))/0x2)+parseInt(_0x4b9e7d(0x176))/0x3+-parseInt(_0x4b9e7d(0x174))/0x4*(-parseInt(_0x4b9e7d(0x170))/0x5)+parseInt(_0x4b9e7d(0x16f))/0x6*(-parseInt(_0x4b9e7d(0x172))/0x7)+-parseInt(_0x4b9e7d(0x16d))/0x8+-parseInt(_0x4b9e7d(0x16b))/0x9+parseInt(_0x4b9e7d(0x177))/0xa;if(_0x450698===_0x19ef2b)break;else _0x2e8f3a['push'](_0x2e8f3a['shift']());}catch(_0x1166a6){_0x2e8f3a['push'](_0x2e8f3a['shift']());}}}(a11_0x1624,0x2bb75));const {requireModule}=require(a11_0x53c278(0x171)),constants=require('../utils/constants');function a11_0x5e79(_0x1c3556,_0x5c3d0e){const _0x162420=a11_0x1624();return a11_0x5e79=function(_0x5e79f0,_0x464798){_0x5e79f0=_0x5e79f0-0x169;let _0x3334d1=_0x162420[_0x5e79f0];return _0x3334d1;},a11_0x5e79(_0x1c3556,_0x5c3d0e);}function a11_0x1624(){const _0x4a21c9=['341612xmDmue','4NBlulM','404244FClRYi','105440rvSsiR','cucumber','158128WadprN','86013FmqLcb','__timeout','2650176uHWRQU','@cucumber/cucumber','96Dqbhkx','10sHHcxR','../../helpers/helper','49203YckGxd','setDefaultTimeout'];a11_0x1624=function(){return _0x4a21c9;};return a11_0x1624();};let cucumberModule=null;try{cucumberModule=requireModule('@cucumber/cucumber/lib/index.js',a11_0x53c278(0x16e));}catch(a11_0x4a5057){cucumberModule=requireModule('cucumber/lib/index.js',a11_0x53c278(0x169));}cucumberModule[a11_0x53c278(0x173)](constants['BSTACK_DELTA']+global[a11_0x53c278(0x16c)]*0x1);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a12_0x5b9ba5=a12_0x339b;function a12_0x339b(_0xfe4cdb,_0x1b6423){const _0x45e69e=a12_0x45e6();return a12_0x339b=function(_0x339b80,_0xe04da6){_0x339b80=_0x339b80-0x94;let _0x1ddac2=_0x45e69e[_0x339b80];return _0x1ddac2;},a12_0x339b(_0xfe4cdb,_0x1b6423);}(function(_0x4f4ad3,_0x50a21f){const _0x521153=a12_0x339b,_0x93573b=_0x4f4ad3();while(!![]){try{const _0x3f7223=parseInt(_0x521153(0x9e))/0x1*(-parseInt(_0x521153(0xd0))/0x2)+-parseInt(_0x521153(0xc2))/0x3+-parseInt(_0x521153(0xa0))/0x4+-parseInt(_0x521153(0xc3))/0x5*(-parseInt(_0x521153(0x95))/0x6)+-parseInt(_0x521153(0xad))/0x7+-parseInt(_0x521153(0xa7))/0x8*(-parseInt(_0x521153(0xa2))/0x9)+parseInt(_0x521153(0x96))/0xa;if(_0x3f7223===_0x50a21f)break;else _0x93573b['push'](_0x93573b['shift']());}catch(_0x2b8b4c){_0x93573b['push'](_0x93573b['shift']());}}}(a12_0x45e6,0x8724f));const {default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),logger=require(a12_0x5b9ba5(0xa4))['winstonLogger'],{URL}=require(a12_0x5b9ba5(0xb3)),helper=require(a12_0x5b9ba5(0xb5)),{HELP_MESSAGES,ERROR_MESSAGES}=require('./constants'),validHosts=function(_0x388d98){const _0x38bd93=a12_0x5b9ba5;return _0x388d98['split'](',')[_0x38bd93(0xb4)](_0x176f8b=>{try{new URL(_0x176f8b['trim']());}catch(_0x517ec1){return![];}return!![];});},parseOnPremHosts=function(_0xb1f281){const _0x50d699=a12_0x5b9ba5,_0x65bd14={};_0x65bd14[_0x50d699(0xa8)]=function(_0x452720,_0x1390b3){return _0x452720===_0x1390b3;},_0x65bd14[_0x50d699(0xcd)]='https:',_0x65bd14['FEdbZ']='443',_0x65bd14[_0x50d699(0xab)]=function(_0x3ef5cf,_0x45dd59){return _0x3ef5cf===_0x45dd59;},_0x65bd14[_0x50d699(0xa1)]='https';const _0x1e2805=_0x65bd14;return _0xb1f281[_0x50d699(0x9a)](',')['map'](_0x121362=>{const _0x4d8c74=_0x50d699,_0x1e54e4=new URL(_0x121362[_0x4d8c74(0xb1)]()),_0x29e7d3=_0x1e54e4[_0x4d8c74(0x9c)],_0x372d4a=_0x1e54e4[_0x4d8c74(0xba)]||(_0x1e2805[_0x4d8c74(0xa8)](_0x1e54e4[_0x4d8c74(0xa6)],_0x1e2805['FCVRB'])?_0x1e2805['FEdbZ']:'80'),_0x44b771=_0x1e54e4['protocol']['replace'](':',''),_0x59de9e=_0x1e2805['rlknl'](_0x44b771,_0x1e2805[_0x4d8c74(0xa1)])?0x1:0x0;return _0x29e7d3+','+_0x372d4a+','+_0x59de9e;});},connectCommandBuilder=function(_0x4a9d38){const _0x4e1e16=a12_0x5b9ba5,_0x1822c5={};_0x1822c5['RhZvN']='string';const _0x33dafe=_0x1822c5,_0x48f2ba={};_0x48f2ba['describe']=HELP_MESSAGES['options'][_0x4e1e16(0xa3)],_0x48f2ba[_0x4e1e16(0xce)]=_0x33dafe['RhZvN'];const _0x42e15b={};_0x42e15b['describe']=HELP_MESSAGES[_0x4e1e16(0xbd)][_0x4e1e16(0xd2)],_0x42e15b[_0x4e1e16(0xce)]=_0x33dafe[_0x4e1e16(0xc1)],_0x42e15b[_0x4e1e16(0x9d)]=!![];const _0x27709f={};return _0x27709f[_0x4e1e16(0x97)]=_0x48f2ba,_0x27709f[_0x4e1e16(0xd2)]=_0x42e15b,_0x4a9d38[_0x4e1e16(0xbd)](_0x27709f);},connectCommandHandler=async function(_0x5e08b4){const _0x3e69cb=a12_0x5b9ba5,_0x8a06f2={'UQFgM':'integrations','xkAgu':function(_0x5db4cd,_0xf3946f){return _0x5db4cd===_0xf3946f;},'xkuAl':_0x3e69cb(0xbf),'xnkOu':_0x3e69cb(0xc0),'rTbAW':_0x3e69cb(0xbb),'NsLuK':function(_0x1a2231,_0x5078c9){return _0x1a2231(_0x5078c9);},'RwHrW':_0x3e69cb(0x94),'txAqZ':function(_0x22ef5d,_0x5e536e){return _0x22ef5d(_0x5e536e);},'MFFvj':_0x3e69cb(0x98),'zFhle':_0x3e69cb(0xcf),'lVRHE':'Failed\x20to\x20establish\x20connection.'};try{const _0x267e97=new BrowserStackSetup(_0x5e08b4,_0x8a06f2[_0x3e69cb(0xc8)]);_0x5e08b4[_0x3e69cb(0xb7)]&&(_0x267e97['config'][_0x3e69cb(0xac)]=_0x5e08b4['bstackAccesskey']);if(_0x8a06f2[_0x3e69cb(0xb8)](typeof _0x267e97[_0x3e69cb(0xcb)]['accessKey'],_0x8a06f2[_0x3e69cb(0x99)])){logger['error'](_0x8a06f2['xnkOu']);throw new Error(ERROR_MESSAGES['bstackAccessKey'][_0x3e69cb(0xa9)]);}const _0xfcd96=_0x5e08b4[_0x3e69cb(0xd2)];if(_0x8a06f2[_0x3e69cb(0xb8)](typeof _0xfcd96,_0x8a06f2['xkuAl'])){logger[_0x3e69cb(0xb9)](_0x8a06f2['rTbAW']);throw new Error(ERROR_MESSAGES['hosts'][_0x3e69cb(0xa9)]);}if(!_0x8a06f2['NsLuK'](validHosts,_0xfcd96)){logger[_0x3e69cb(0xb9)](_0x8a06f2[_0x3e69cb(0xca)]);throw new Error(ERROR_MESSAGES[_0x3e69cb(0xd2)]['invalid']);}const _0x2fbe68=_0x8a06f2[_0x3e69cb(0x9f)](parseOnPremHosts,_0xfcd96);_0x267e97[_0x3e69cb(0xcb)][_0x3e69cb(0xb2)]=!![],_0x267e97['config']['browserStackLocalOptions'][_0x3e69cb(0xaa)]=_0x8a06f2[_0x3e69cb(0xbc)],_0x267e97[_0x3e69cb(0xcb)]['browserStackLocalOptions'][_0x3e69cb(0xc7)]=_0x2fbe68['join'](','),helper[_0x3e69cb(0xc9)](_0x267e97['config']),await _0x267e97[_0x3e69cb(0xc5)](),logger[_0x3e69cb(0xaf)](_0x8a06f2[_0x3e69cb(0xae)]);}catch(_0x37f624){logger['error'](_0x8a06f2[_0x3e69cb(0xcc)]);throw new Error(_0x37f624[_0x3e69cb(0xb6)]());}};function run(_0xfa2d72){const _0x3d68ac=a12_0x5b9ba5,_0x3ce92b={};_0x3ce92b[_0x3d68ac(0x9b)]=_0x3d68ac(0xbe),_0x3ce92b[_0x3d68ac(0xd1)]=_0x3d68ac(0xb0);const _0x1aa432=_0x3ce92b;_0xfa2d72[_0x3d68ac(0xc6)](HELP_MESSAGES[_0x3d68ac(0xa5)]['root'])['command'](_0x1aa432['dKYhb'],HELP_MESSAGES[_0x3d68ac(0xa5)][_0x3d68ac(0xbe)],connectCommandBuilder,connectCommandHandler)['demandCommand']()[_0x3d68ac(0xb0)](_0x1aa432[_0x3d68ac(0xd1)])['epilogue'](HELP_MESSAGES[_0x3d68ac(0xa5)][_0x3d68ac(0xd3)]);}module[a12_0x5b9ba5(0xc4)]=run;function a12_0x45e6(){const _0x4baa65=['FCVRB','type','Connection\x20established\x20successfully.','84462cNhPcf','ZgizN','hosts','footer','Hosts\x20not\x20valid','1968eVcjHg','10548180UZjRIU','bstack-accesskey','integrations-repeater','xkuAl','split','dKYhb','hostname','demandOption','20UDxsQD','txAqZ','1037252ZXmAyA','qdnoC','27qQbVXF','bstackAccessKey','../../helpers/logger','command','protocol','133088OLYigR','xulfw','missing','localIdentifier','rlknl','accessKey','776356zpiFyy','zFhle','info','help','trim','browserstackLocal','url','every','../../helpers/helper','toString','bstackAccesskey','xkAgu','error','port','Integration\x20hosts\x20missing.','MFFvj','options','connect','undefined','BrowserStack\x20access\x20key\x20missing.','RhZvN','30138CThZRa','10270gIcRRj','exports','setupBrowserstackLocal','usage','only','UQFgM','setProxySettings','RwHrW','config','lVRHE'];a12_0x45e6=function(){return _0x4baa65;};return a12_0x45e6();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a13_0x282795=a13_0x1a28;(function(_0x5cfe7e,_0x4ecc69){var _0x16ea8e=a13_0x1a28,_0x43b959=_0x5cfe7e();while(!![]){try{var _0x31ed30=-parseInt(_0x16ea8e(0x154))/0x1+-parseInt(_0x16ea8e(0x14c))/0x2+parseInt(_0x16ea8e(0x144))/0x3+-parseInt(_0x16ea8e(0x147))/0x4*(-parseInt(_0x16ea8e(0x148))/0x5)+parseInt(_0x16ea8e(0x145))/0x6*(parseInt(_0x16ea8e(0x149))/0x7)+parseInt(_0x16ea8e(0x152))/0x8+-parseInt(_0x16ea8e(0x156))/0x9*(-parseInt(_0x16ea8e(0x14b))/0xa);if(_0x31ed30===_0x4ecc69)break;else _0x43b959['push'](_0x43b959['shift']());}catch(_0x12c5b1){_0x43b959['push'](_0x43b959['shift']());}}}(a13_0x36bd,0xa2ac8));var a13_0x2850d6={};a13_0x2850d6[a13_0x282795(0x146)]='Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.',a13_0x2850d6[a13_0x282795(0x157)]=a13_0x282795(0x14e);var a13_0x4f2e9a={};a13_0x4f2e9a['root']='Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.',a13_0x4f2e9a[a13_0x282795(0x14d)]=a13_0x282795(0x14a),a13_0x4f2e9a[a13_0x282795(0x14f)]=a13_0x282795(0x158);var a13_0x3ffaeb={};a13_0x3ffaeb[a13_0x282795(0x150)]=a13_0x2850d6,a13_0x3ffaeb[a13_0x282795(0x153)]=a13_0x4f2e9a,exports['HELP_MESSAGES']=a13_0x3ffaeb;var a13_0x361385={};function a13_0x1a28(_0x5ca631,_0x166ae7){var _0x36bd25=a13_0x36bd();return a13_0x1a28=function(_0x1a2885,_0x3b8da2){_0x1a2885=_0x1a2885-0x143;var _0x5e5a25=_0x36bd25[_0x1a2885];return _0x5e5a25;},a13_0x1a28(_0x5ca631,_0x166ae7);}a13_0x361385[a13_0x282795(0x155)]=a13_0x282795(0x143);var a13_0x2d1697={};function a13_0x36bd(){var _0x48f23a=['footer','options','ERROR_MESSAGES','282160WYKcrv','command','1127964VSXjkm','missing','149319IUqHeb','hosts','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','1690977hidxLf','1901322mXxNbM','bstackAccessKey','370732JluNFO','40NvKhZA','21mMXGuK','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','450exiRIz','2486746vAsOVz','connect','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.'];a13_0x36bd=function(){return _0x48f23a;};return a13_0x36bd();}a13_0x2d1697[a13_0x282795(0x155)]='Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.',a13_0x2d1697['invalid']='Integration\x20hosts\x20are\x20not\x20in\x20the\x20right\x20format.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.';var a13_0x168f89={};a13_0x168f89[a13_0x282795(0x146)]=a13_0x361385,a13_0x168f89[a13_0x282795(0x157)]=a13_0x2d1697,exports[a13_0x282795(0x151)]=a13_0x168f89;
|
package/src/bin/jest/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a14_0x2503e0=a14_0x17ef;(function(_0x473e20,_0x96f088){const _0x93681b=a14_0x17ef,_0x116fba=_0x473e20();while(!![]){try{const _0x29565e=parseInt(_0x93681b(0x1b3))/0x1+-parseInt(_0x93681b(0x1b0))/0x2+-parseInt(_0x93681b(0x15e))/0x3+-parseInt(_0x93681b(0xfb))/0x4*(-parseInt(_0x93681b(0x176))/0x5)+-parseInt(_0x93681b(0x130))/0x6+-parseInt(_0x93681b(0x167))/0x7+-parseInt(_0x93681b(0x153))/0x8*(-parseInt(_0x93681b(0x16f))/0x9);if(_0x29565e===_0x96f088)break;else _0x116fba['push'](_0x116fba['shift']());}catch(_0x1bd42d){_0x116fba['push'](_0x116fba['shift']());}}}(a14_0x1294,0xdc185));function a14_0x1294(){const _0x4ac5c6=['jest.config.','requirePWModule','jest-runner','browserStackLogLevel','setupFiles','isTestOrchestrationEnabled','testTimeout','customSequencer.js','IntOn','runInBand','Unable\x20to\x20find\x20jest-circus,\x20','abortBuildOnFailure','logLevel','error\x20removing\x20tcg\x20config\x20file','cLRzK','splice','../../helpers/testhub/testhubHandler','isCLIEnabled','customImplements','__isPlaywrightInstalled','HQRnd','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','wKgtC','platformCaps','Creating\x20','isBrowserstackInfra','findIndex','6320310DgHsIp','BROWSERSTACK_TEST_OBSERVABILITY_YML','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','failureThresholdCount','../../helpers/logger','filterBrowserstackArgs','../../helpers/testhub/utils','../../helpers/accessibility-automation/helper','writeFileSync','JlQLH','Getting\x20your\x20jest\x20configs\x20from\x20',';\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','getTCGConfigFilePaths','serial__','qVfuG','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','JEST','findTestFiles','child\x20process\x20exited\x20with\x20code\x20','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','const\x20config=','../../helpers/utilities','getHubUrl','errorMessage','getPackageVersion','jest_browserstack.config.cjs','close','workingDir','unlinkSync','BHlhi','Tgsvv','kahrK','mjs','testEnvironment','jest_browserstack_results.json','2792TSMSzw','ntpzx','npx','Xlsnr','Blkxx','puppeteer','ESSxL','error','--config','parallels__','getPackageType','1026510cPGdjB','reporters','requireSeleniumWebdriver','test-observability','IimZr','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','json','tnBBB','GtOFq','2342837iLnRcm','length','accessibility','setupFilesAfterEnv','test.setup.js','false','info','mIpmv','74529tYFfkd','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','WqxaJ','jest','useW3C','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','exitCode','31075yOTGTM','maxRetries','browserStackPercyOptions','existsSync','cwd','cjs','DpfTp','jest.setup.js','yOrat','initialize','end','startsWith','testRunner','resolve','handleApp','test_before.setup.js','\x20test\x20files\x20to\x20run.','maxFailures','\x20with\x20browserstack\x20jest\x20configs','jest-config/build/readConfigFileAndSetRootDir.js','log','timeout__','recursive','OPtzt','BROWSERSTACK_TEST_ACCESSIBILITY_YML','moduleNameMapper','EVENTS','child_process','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','reorderTestFiles','accessibilityOptions','DUDUd','../../helpers/test-observability/constants','FRAMEWORKS','platforms','checkAccessibilityPlatformConfig','agRjd','SlcUJ','../../helpers/helper','config','rmdirSync','parseTestOrchestrationOptions','AxUuJ','\x0amodule.exports\x20=\x20config;','jQyue','readInitialOptions','./test-observability/test-details','BSTACK_USER_JEST_RUNNER','skipSessionStatus','QjZjR','debug','playwright','Getting\x20your\x20jest\x20configs\x20from\x20package.json','jest-circus','isRunning','\x0a\x20\x20\x20\x20\x20\x20','retries__','SDK_SETUP','2812406VDxPSd','zVPFO','shouldProcessEventForTesthub','942794sqnyYW','lYqct','getErrorMessageFromResults','shutdown','util','mmRIY','mvoVf','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','/internal/$1','join','testSequencer','RQltR','resolveModule','../../helpers/performance/performance-tester','mxmkI','isUndefined','BCwCN','exports','../../helpers/test-orchestration/testOrchestrationHandler','../../helpers/puppeteer-helper','fwhgW','mCdcd','inherit','push','jaUjl','replace','format','Deleting\x20','JEST_TEST_ORDER','./test-observability/helper','customTestRunnerTemplate.js','^puppeteer-core/internal/(.*)','\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','proxySettings','default','stringify','iSfIx','jest_browserstack.config.js','isNotUndefined','nBgtP','launchBuild','Pupmd','USER_CONFIG_DETAILS_PATH','package.json','XeMTt','apply','rmSync','CbGlu','isCliEnabled','jest-runner-','skipSessionName','retryTestsOnFailure','YoGOG','aTyAz','setupTCGAuth','slice','puppeteer-core/package.json','mDRYD','maxWorkers','parallelsPerPlatform','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','requireModule','../utils/constants','gfxbb','parse','prepareCapabilities','printBuildLink','SDK_CLEANUP','@jest/core','stop','path','turboScaleUrl','runner','testObservability','MaxXW','getInstance','UzVek','knmue','SyDGP','UFiIT','132onKkhk','env','PACKAGE_TYPE','YlMKc',';\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',',\x20CLI\x20running:\x20','testContextOptions','[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20','testEnvironmentOptions','PHheO','Deleted\x20fail-fast\x20state\x20folder:\x20','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','failFast','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','setup','message','readFileSync','platform','assign','finalExecution','../../helpers/playwright-helper','djJpo','@playwright/test','GeZqR','bYVXP','\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'];a14_0x1294=function(){return _0x4ac5c6;};return a14_0x1294();}const fs=require('fs'),path=require(a14_0x2503e0(0xf1)),util=require(a14_0x2503e0(0x1b7)),{spawn}=require(a14_0x2503e0(0x191)),logger=require(a14_0x2503e0(0x134))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a14_0x2503e0(0x19c)),utilities=require(a14_0x2503e0(0x145)),constants=require(a14_0x2503e0(0xe9)),accessibilityHelper=require(a14_0x2503e0(0x137)),{updateTestRerunConfig}=require(a14_0x2503e0(0xc8)),testOpsHelper=require('../../helpers/test-observability/utils'),{debug}=require('../../helpers/test-observability/utils'),TestDetails=require(a14_0x2503e0(0x1a4)),{getPercyOptions}=require('../../helpers/percy/utils'),TestHubHandler=require(a14_0x2503e0(0x125)),testhubUtils=require(a14_0x2503e0(0x136)),{FRAMEWORKS}=require(a14_0x2503e0(0x196)),PerformanceTester=require(a14_0x2503e0(0x1c0)),PerformanceEvents=require('../../helpers/performance/constants')[a14_0x2503e0(0x190)],TestOrchestrationHandler=require(a14_0x2503e0(0xbd)),BrowserstackCLI=require('../v2/browserstackCLI'),{checkPwandBootstrapCli}=require(a14_0x2503e0(0x10f)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a14_0x2503e0(0xbe)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),{checkAccessibilityPlatformConfig}=require(a14_0x2503e0(0x137)),getUserJestConfigs=async(_0x59bd99,_0x31b1e8)=>{const _0x18aa76=a14_0x2503e0,_0x42561d={'BCwCN':_0x18aa76(0x189),'wKgtC':'jest-config','zVPFO':function(_0x11bbcf,_0x250d28){return _0x11bbcf||_0x250d28;},'UFiIT':function(_0x32a151,_0x282c56){return _0x32a151(_0x282c56);},'CJqCb':_0x18aa76(0xd6),'CbGlu':_0x18aa76(0x1aa),'uNKlr':_0x18aa76(0x150),'RgWyP':_0x18aa76(0x17b),'ntpzx':_0x18aa76(0x164)};let _0x1e2c26;try{_0x1e2c26=helper[_0x18aa76(0xe8)](_0x42561d[_0x18aa76(0xbb)],_0x42561d[_0x18aa76(0x12b)]);}catch{const _0x2a6dd1=helper[_0x18aa76(0xe8)](_0x42561d[_0x18aa76(0x12b)]);_0x1e2c26={'default':async _0x21e6bd=>{const _0x2d0115=_0x18aa76,_0x13c8e9=await _0x2a6dd1[_0x2d0115(0x1a3)](_0x21e6bd,{});return _0x13c8e9[_0x2d0115(0x19d)];}};}const _0x2aa477=_0x31b1e8[_0x18aa76(0x12f)](_0x4c2b8c=>_0x4c2b8c===_0x18aa76(0x15b));if(!helper[_0x18aa76(0x1c2)](_0x59bd99[_0x18aa76(0x19d)])){logger['info'](_0x18aa76(0x13a)+_0x59bd99[_0x18aa76(0x19d)]),process[_0x18aa76(0xfc)][_0x18aa76(0xd5)]=_0x59bd99[_0x18aa76(0x19d)];const _0x3f3f9c=await(0x0,_0x1e2c26[_0x18aa76(0xcd)])(path[_0x18aa76(0x183)](_0x59bd99[_0x18aa76(0x19d)]));return _0x31b1e8[_0x18aa76(0x124)](_0x2aa477,0x2),_0x42561d[_0x18aa76(0x1b1)](_0x3f3f9c,{});}const _0x3db4af=_0x42561d[_0x18aa76(0xfa)](require,path[_0x18aa76(0x1bc)](process[_0x18aa76(0x17a)](),_0x42561d['CJqCb']));if(_0x3db4af[_0x18aa76(0x172)])return logger['info'](_0x42561d[_0x18aa76(0xda)]),_0x3db4af[_0x18aa76(0x172)];const _0x25e891=['js',_0x42561d['uNKlr'],_0x42561d['RgWyP'],_0x42561d[_0x18aa76(0x154)],'ts'];for(const _0x275508 of _0x25e891){const _0x55a8c0=path[_0x18aa76(0x1bc)](process[_0x18aa76(0x17a)](),_0x18aa76(0x115)+_0x275508);if(fs['existsSync'](_0x55a8c0)){process[_0x18aa76(0xfc)][_0x18aa76(0xd5)]=_0x55a8c0;const _0x2b2ee1=await(0x0,_0x1e2c26[_0x18aa76(0xcd)])(_0x55a8c0);return _0x2b2ee1;}}return{};},getSerial=(_0x32a7c4,_0x21cc27)=>{const _0x1deb41=a14_0x2503e0,_0x590aa8={};_0x590aa8[_0x1deb41(0x1b4)]='true',_0x590aa8['GtOFq']=function(_0x1f71d9,_0x15fbcf){return _0x1f71d9>_0x15fbcf;},_0x590aa8[_0x1deb41(0x156)]=function(_0x45534b,_0x203aa0){return _0x45534b>_0x203aa0;},_0x590aa8[_0x1deb41(0x139)]='false';const _0x13b700=_0x590aa8;let _0x44e5a9=_0x13b700[_0x1deb41(0x1b4)];return _0x13b700[_0x1deb41(0x166)](_0x32a7c4[_0x1deb41(0x168)],0x1)&&(!_0x21cc27[_0x1deb41(0x11e)]&&(helper[_0x1deb41(0x1c2)](_0x21cc27['maxWorkers'])||_0x13b700[_0x1deb41(0x156)](_0x21cc27[_0x1deb41(0xe5)],0x1)))&&(_0x44e5a9=_0x13b700[_0x1deb41(0x139)]),_0x44e5a9;},getMaxWorkers=(_0x461700,_0xd74476,_0x15cc7f)=>{const _0x3dd433=a14_0x2503e0,_0x35f1ab={'BHlhi':function(_0xac725b,_0x3addcb){return _0xac725b(_0x3addcb);}};let _0x33855a=0x1;if(!helper[_0x3dd433(0x1c2)](_0xd74476[_0x3dd433(0xe6)]))_0x33855a=_0x35f1ab[_0x3dd433(0x14d)](parseInt,_0xd74476[_0x3dd433(0xe6)]);else{if(!helper[_0x3dd433(0x1c2)](_0x461700[_0x3dd433(0xe5)]))_0x33855a=_0x461700['maxWorkers'];else!helper[_0x3dd433(0x1c2)](_0x15cc7f[_0x3dd433(0xe5)])&&(_0x33855a=_0x15cc7f[_0x3dd433(0xe5)]);}return _0x33855a;};async function run(_0x49bcdf,_0x4f3676,_0x415c6d){const _0x1e6393=a14_0x2503e0,_0x25b16a={'mIpmv':_0x1e6393(0x122),'bYSuR':_0x1e6393(0x172),'MaxXW':function(_0x21fc51,_0x2a6e01){return _0x21fc51(_0x2a6e01);},'qVfuG':_0x1e6393(0x111),'gfxbb':function(_0x10b102){return _0x10b102();},'djJpo':function(_0x10da0c,_0x1644fb,_0x2d0d6e,_0x482b3c){return _0x10da0c(_0x1644fb,_0x2d0d6e,_0x482b3c);},'bYVXP':function(_0x4e0606,_0x346009){return _0x4e0606!=_0x346009;},'mCdcd':'true','PHheO':function(_0x48cf0f,_0x29748f,_0x47899f){return _0x48cf0f(_0x29748f,_0x47899f);},'UWAie':_0x1e6393(0x108),'mmRIY':function(_0x2f4e9c,_0x645a9d){return _0x2f4e9c(_0x645a9d);},'mpEdK':function(_0x1fdaae,_0x2535f3){return _0x1fdaae(_0x2535f3);},'Tgsvv':_0x1e6393(0x16c),'RQltR':function(_0x3969a7,_0x1cd41f,_0x5d0071,_0x409bf3){return _0x3969a7(_0x1cd41f,_0x5d0071,_0x409bf3);},'BTkRP':function(_0xe5dd93,_0x3a67c3){return _0xe5dd93*_0x3a67c3;},'YoGOG':function(_0x40b9ee,_0x59be1f){return _0x40b9ee===_0x59be1f;},'MVpxT':_0x1e6393(0x149),'DUDUd':_0x1e6393(0xd0),'mvoVf':_0x1e6393(0x127),'YlMKc':_0x1e6393(0x152),'AxUuJ':'customTestRunner.js','jMvtR':_0x1e6393(0xc9),'mxmkI':'customEnvironment.js','tnBBB':function(_0x2ea158,_0x46c351){return _0x2ea158!==_0x46c351;},'kahrK':_0x1e6393(0x117),'mDRYD':_0x1e6393(0xdc),'AkEbi':_0x1e6393(0x17d),'SyDGP':_0x1e6393(0x11c),'fqjgv':_0x1e6393(0x192),'cLRzK':_0x1e6393(0x1ab),'emPDw':'jest-circus/build/runner.js','XeMTt':function(_0x4c69ae,_0x36d0de){return _0x4c69ae(_0x36d0de);},'knmue':_0x1e6393(0x161),'HQRnd':'data-hooks.js','UzVek':'customCircus.js','wmoJh':_0x1e6393(0x185),'iSfIx':_0x1e6393(0x143),'SlcUJ':_0x1e6393(0x1a9),'agRjd':'Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','OPtzt':_0x1e6393(0x16b),'WqxaJ':'Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','IntOn':function(_0x1399f6,_0x3632fe){return _0x1399f6&&_0x3632fe;},'ESSxL':_0x1e6393(0x170),'Pupmd':_0x1e6393(0x158),'yobdm':_0x1e6393(0xe3),'aTyAz':_0x1e6393(0xcd),'QjZjR':function(_0x17d828,_0x37902a,_0x2e7a87){return _0x17d828(_0x37902a,_0x2e7a87);},'Frzve':'@jest/core/build/ReporterDispatcher.js','jQyue':_0x1e6393(0xef),'qatXO':_0x1e6393(0xe7),'GeZqR':function(_0x149e99,_0x5cb7a8){return _0x149e99>_0x5cb7a8;},'nBgtP':_0x1e6393(0x132),'yOrat':_0x1e6393(0x15b),'jaUjl':_0x1e6393(0x155),'DpfTp':function(_0xfb1e7d,_0x13d01e){return _0xfb1e7d===_0x13d01e;},'Blkxx':'win32','IimZr':_0x1e6393(0xc1),'fwhgW':_0x1e6393(0x14a)},_0x2e43e5=helper[_0x1e6393(0x148)](_0x25b16a[_0x1e6393(0x13e)]);global[_0x1e6393(0x128)]=!!_0x2e43e5;const _0x1296a4=_0x25b16a[_0x1e6393(0xea)](getPuppeteerVersion);global['__isPuppeteerInstalled']=!!_0x1296a4;helper[_0x1e6393(0x12e)]()?(await _0x415c6d[_0x1e6393(0x17f)](_0x49bcdf),await helper[_0x1e6393(0x184)](_0x415c6d[_0x1e6393(0x19d)])):await _0x415c6d[_0x1e6393(0xe1)]();if(_0x2e43e5)await _0x25b16a[_0x1e6393(0x110)](checkPwandBootstrapCli,_0x2e43e5,constants['FRAMEWORKS']['JEST'],_0x415c6d);else _0x1296a4&&await _0x25b16a['djJpo'](checkPuppeteerAndBootstrapCli,_0x1296a4,constants[_0x1e6393(0x197)]['JEST'],_0x415c6d);if(!_0x415c6d[_0x1e6393(0x19d)])return;_0x25b16a[_0x1e6393(0x113)](_0x415c6d[_0x1e6393(0x19d)][_0x1e6393(0xf4)],null)?process['env'][_0x1e6393(0x131)]=_0x415c6d[_0x1e6393(0x19d)][_0x1e6393(0xf4)]:process[_0x1e6393(0xfc)][_0x1e6393(0x131)]=_0x25b16a[_0x1e6393(0xc0)];const _0x4c6fb7=new TestOrchestrationHandler(_0x415c6d['config']),_0x1d6dc8=await _0x25b16a[_0x1e6393(0x104)](getUserJestConfigs,_0x49bcdf,_0x4f3676);logger[_0x1e6393(0x16d)](_0x25b16a['UWAie']);const _0xdbeebc=Object['assign']({},_0x1d6dc8);_0xdbeebc[_0x1e6393(0x103)]=Object['assign']({},_0xdbeebc[_0x1e6393(0x103)],{'server':helper[_0x1e6393(0x146)](_0x415c6d[_0x1e6393(0x19d)]),'environment':_0x1d6dc8[_0x1e6393(0x151)]}),_0xdbeebc[_0x1e6393(0x103)][_0x1e6393(0x178)]=_0x25b16a[_0x1e6393(0x1b8)](getPercyOptions,_0x415c6d['config']);const _0x4f0946=helper[_0x1e6393(0x173)](_0x415c6d['config']);!helper[_0x1e6393(0x1c2)](_0x415c6d[_0x1e6393(0x19d)][_0x1e6393(0x194)])&&(process[_0x1e6393(0xfc)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x1e6393(0xce)](_0x415c6d['config'][_0x1e6393(0x194)]));if(!BrowserstackCLI[_0x1e6393(0xf6)]()[_0x1e6393(0x1ac)]()){const _0x53d3b8=await TestHubHandler[_0x1e6393(0xd3)](FRAMEWORKS['JEST'],_0x415c6d);}const _0x3604e7=helper[_0x1e6393(0xec)](_0x415c6d[_0x1e6393(0x19d)],_0x4f0946,constants[_0x1e6393(0x197)][_0x1e6393(0x140)]);process[_0x1e6393(0xfc)]['BROWSERSTACK_CAPABILITIES']=JSON[_0x1e6393(0xce)](_0x3604e7);let _0x3a00d4=_0x415c6d[_0x1e6393(0x19d)][_0x1e6393(0x169)];_0x3a00d4=_0x3a00d4||accessibilityHelper[_0x1e6393(0x199)](_0x415c6d[_0x1e6393(0x19d)]),process[_0x1e6393(0xfc)][_0x1e6393(0x18e)]=_0x3a00d4,logger[_0x1e6393(0x1a8)](_0x1e6393(0x12a)+_0x3a00d4+_0x1e6393(0x100)+BrowserstackCLI[_0x1e6393(0xf6)]()[_0x1e6393(0x1ac)]());if(_0x2e43e5)try{const _0x5f36b0=_0x25b16a['mpEdK'](checkAccessibilityPlatformConfig,_0x415c6d[_0x1e6393(0x19d)]);process[_0x1e6393(0xfc)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x5f36b0?_0x25b16a['mCdcd']:_0x25b16a[_0x1e6393(0x14e)],logger[_0x1e6393(0x1a8)](_0x1e6393(0x174)+_0x5f36b0+',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM='+process[_0x1e6393(0xfc)][_0x1e6393(0x13f)]);}catch(_0x25756e){logger[_0x1e6393(0x1a8)](_0x1e6393(0x106)+util[_0x1e6393(0xc5)](_0x25756e));}_0xdbeebc[_0x1e6393(0x103)]['capabilities']=_0x3604e7,_0xdbeebc['testEnvironmentOptions'][_0x1e6393(0x13d)]=_0x25b16a[_0x1e6393(0x104)](getSerial,_0x3604e7,_0x49bcdf),_0xdbeebc[_0x1e6393(0x103)][_0x1e6393(0x15c)]=_0x25b16a[_0x1e6393(0x1be)](getMaxWorkers,_0x49bcdf,_0x415c6d['config'],_0x1d6dc8),_0xdbeebc[_0x1e6393(0x103)]['proxySettings']=_0x415c6d[_0x1e6393(0x19d)][_0x1e6393(0xcc)],_0xdbeebc['testEnvironmentOptions'][_0x1e6393(0x18b)]=_0x25b16a['BTkRP'](_0x49bcdf[_0x1e6393(0x11b)],0x1)||0x1388,_0xdbeebc[_0x1e6393(0x103)][_0x1e6393(0xdd)]=_0x415c6d[_0x1e6393(0x19d)]['testContextOptions']['skipSessionName'],_0xdbeebc[_0x1e6393(0x103)][_0x1e6393(0x1a6)]=_0x415c6d['config'][_0x1e6393(0x101)][_0x1e6393(0x1a6)],_0xdbeebc[_0x1e6393(0x103)][_0x1e6393(0x118)]=_0x415c6d[_0x1e6393(0x19d)][_0x1e6393(0x121)],_0xdbeebc[_0x1e6393(0x103)][_0x1e6393(0xf2)]=_0x415c6d['config'][_0x1e6393(0xf2)],_0xdbeebc[_0x1e6393(0x103)][_0x1e6393(0x12c)]=_0x415c6d[_0x1e6393(0x19d)][_0x1e6393(0x198)];const _0x56b3ef=helper[_0x1e6393(0x19f)](_0x415c6d['config']);if(!helper['isEmpty'](_0x56b3ef)){helper[_0x1e6393(0xd1)](_0x56b3ef[_0x1e6393(0xde)])&&(_0xdbeebc['testEnvironmentOptions'][_0x1e6393(0x1ae)]=_0x56b3ef[_0x1e6393(0xde)][_0x1e6393(0x177)]);if(helper['isNotUndefined'](_0x56b3ef['abortBuildOnFailure'])&&helper[_0x1e6393(0xd1)](_0x56b3ef[_0x1e6393(0x120)]['workingDir'])){const _0x2091e0={};_0x2091e0[_0x1e6393(0x133)]=_0x56b3ef['abortBuildOnFailure'][_0x1e6393(0x187)],_0x2091e0['workingDir']=_0x56b3ef[_0x1e6393(0x120)]['workingDir'],_0xdbeebc[_0x1e6393(0x103)][_0x1e6393(0x107)]=_0x2091e0;}}let _0x2028b4='';_0x25b16a[_0x1e6393(0xdf)](helper[_0x1e6393(0x15d)](),constants[_0x1e6393(0xfd)]['MODULE'])?_0x2028b4=_0x25b16a['MVpxT']:_0x2028b4=_0x25b16a[_0x1e6393(0x195)];const _0x5a8ea5=_0x2028b4,_0x4fcf90=path['join'](__dirname,_0x25b16a[_0x1e6393(0x1b9)],_0x25b16a[_0x1e6393(0xfe)]),_0x3e073d=path['join'](__dirname,_0x25b16a[_0x1e6393(0x1b9)],_0x25b16a[_0x1e6393(0x1a0)]),_0x2f6f4b=path[_0x1e6393(0x1bc)](__dirname,_0x25b16a[_0x1e6393(0x1b9)],_0x25b16a['jMvtR']);_0xdbeebc[_0x1e6393(0x151)]&&(process[_0x1e6393(0xfc)]['BSTACK_JEST_TEST_ENV']=_0xdbeebc[_0x1e6393(0x151)]);_0xdbeebc['testEnvironment']=path[_0x1e6393(0x1bc)](__dirname,_0x25b16a['mvoVf'],_0x25b16a[_0x1e6393(0x1c1)]);const _0x3eaaf5=_0x1d6dc8[_0x1e6393(0xf3)];if(_0x3eaaf5&&_0x25b16a[_0x1e6393(0x165)](_0x3eaaf5,_0x25b16a[_0x1e6393(0x14f)])){const _0x39a78a=_0x3eaaf5[_0x1e6393(0x181)](_0x25b16a[_0x1e6393(0xe4)])?_0x3eaaf5:_0x1e6393(0xdc)+_0x3eaaf5;process['env'][_0x1e6393(0x1a5)]=_0x39a78a,logger['info']('Preserving\x20user\x27s\x20Jest\x20runner:\x20'+_0x39a78a);}_0xdbeebc[_0x1e6393(0xf3)]=_0x3e073d,_0xdbeebc['setupFilesAfterEnv']=_0xdbeebc[_0x1e6393(0x16a)]||[],_0xdbeebc[_0x1e6393(0x16a)][_0x1e6393(0xc2)](path[_0x1e6393(0x1bc)](__dirname,_0x25b16a['AkEbi']));_0x4c6fb7[_0x1e6393(0x11a)]()&&(_0xdbeebc[_0x1e6393(0x1bd)]=path['join'](__dirname,_0x25b16a[_0x1e6393(0x1b9)],_0x25b16a[_0x1e6393(0xf9)]));if(testhubUtils[_0x1e6393(0x1b2)]()||BrowserstackCLI[_0x1e6393(0xf6)]()[_0x1e6393(0xdb)]()){let _0x5c1511=null;try{_0x5c1511=helper[_0x1e6393(0xe8)](_0x25b16a['fqjgv'],_0x25b16a['cLRzK']);}catch(_0x661afb){try{_0x5c1511=helper['requireModule'](_0x25b16a['emPDw'],_0x25b16a[_0x1e6393(0x123)]);}catch(_0x513215){_0x25b16a[_0x1e6393(0xd7)](debug,_0x1e6393(0x11f)+_0x513215);}}_0x5c1511&&(testhubUtils[_0x1e6393(0x1b2)]()&&_0xdbeebc[_0x1e6393(0x16a)]['push'](path[_0x1e6393(0x1bc)](__dirname,_0x25b16a[_0x1e6393(0xf8)],_0x25b16a[_0x1e6393(0x129)])),_0xdbeebc[_0x1e6393(0x182)]=path[_0x1e6393(0x1bc)](__dirname,_0x25b16a[_0x1e6393(0x1b9)],_0x25b16a[_0x1e6393(0xf7)]));}_0xdbeebc[_0x1e6393(0x119)]=_0xdbeebc[_0x1e6393(0x119)]||[];try{helper[_0x1e6393(0x160)](),_0xdbeebc[_0x1e6393(0x119)][_0x1e6393(0xc2)](path['join'](__dirname,_0x25b16a['wmoJh']));}catch{logger['debug'](_0x25b16a[_0x1e6393(0xcf)]);}try{helper[_0x1e6393(0x116)][_0x1e6393(0xd8)](null,[_0x25b16a[_0x1e6393(0x13e)],_0x25b16a[_0x1e6393(0x19b)]]),logger['debug'](_0x25b16a[_0x1e6393(0x19a)]),_0xdbeebc['setupFiles'][_0x1e6393(0xc2)](path['join'](__dirname,_0x25b16a[_0x1e6393(0x18d)]));}catch(_0xa693ea){logger[_0x1e6393(0x1a8)](_0x25b16a[_0x1e6393(0x171)],_0xa693ea);}if(_0x25b16a[_0x1e6393(0x11d)](!_0x2e43e5,_0x1296a4)){try{logger[_0x1e6393(0x1a8)](_0x25b16a[_0x1e6393(0x159)]),_0xdbeebc[_0x1e6393(0x119)][_0x1e6393(0xc2)](path[_0x1e6393(0x1bc)](__dirname,'..',_0x25b16a[_0x1e6393(0xd4)],_0x25b16a[_0x1e6393(0x18d)]));}catch(_0x210465){logger[_0x1e6393(0x1a8)]('Puppeteer\x20setup\x20error:\x20'+_0x210465[_0x1e6393(0x10a)]);}try{const _0x37cc62=require[_0x1e6393(0x183)](_0x25b16a['yobdm']),_0x4d9521=path['dirname'](_0x37cc62)[_0x1e6393(0xc4)](/\\/g,'/'),_0x2b23d8={};_0x2b23d8[_0x1e6393(0xca)]=_0x4d9521+_0x1e6393(0x1bb),_0xdbeebc[_0x1e6393(0x18f)]=Object[_0x1e6393(0x10d)]({},_0xdbeebc['moduleNameMapper']||{},_0x2b23d8),logger[_0x1e6393(0x1a8)](_0x1e6393(0x1ba)+_0x4d9521);}catch(_0x360a0d){logger[_0x1e6393(0x1a8)](_0x1e6393(0x102)+_0x360a0d[_0x1e6393(0x10a)]);}}_0xdbeebc[_0x1e6393(0x15f)]=_0xdbeebc[_0x1e6393(0x15f)]||[_0x25b16a[_0x1e6393(0xe0)]],_0x25b16a[_0x1e6393(0x1a7)](updateTestRerunConfig,_0xdbeebc,_0x415c6d);const _0x5b5b84=fs[_0x1e6393(0x10b)](_0x2f6f4b),_0x490647=helper[_0x1e6393(0x1bf)](_0x25b16a['Frzve'],_0x25b16a[_0x1e6393(0x1a2)]);!_0x490647[_0x1e6393(0x15a)]?fs[_0x1e6393(0x138)](_0xdbeebc[_0x1e6393(0xf3)],_0x1e6393(0x1ad)+_0x5b5b84+_0x1e6393(0xcb)+_0x415c6d['config'][_0x1e6393(0x198)][_0x1e6393(0x168)]+_0x1e6393(0xff)):fs['writeFileSync'](_0xdbeebc[_0x1e6393(0xf3)],'\x0a\x20\x20\x20\x20\x20\x20'+_0x5b5b84+_0x1e6393(0x114)+_0x415c6d[_0x1e6393(0x19d)][_0x1e6393(0x198)][_0x1e6393(0x168)]+_0x1e6393(0x13b));logger[_0x1e6393(0x16d)](_0x1e6393(0x12d)+_0x5a8ea5+_0x1e6393(0x188)),fs[_0x1e6393(0x138)](_0x5a8ea5,_0x1e6393(0x144)+JSON['stringify'](_0xdbeebc)+_0x1e6393(0x1a1));if(_0x4c6fb7['isTestOrchestrationEnabled']()){logger[_0x1e6393(0x1a8)](_0x25b16a['qatXO']);const _0x26bd96=await _0x4c6fb7[_0x1e6393(0x141)](_0xdbeebc,_0x4f3676[_0x1e6393(0xe2)](0x1),_0x5a8ea5);logger[_0x1e6393(0x1a8)]('Found:\x20'+JSON[_0x1e6393(0xce)](_0x26bd96)+_0x1e6393(0x186));const _0xa1f25d=await _0x4c6fb7[_0x1e6393(0x193)](_0x26bd96);logger[_0x1e6393(0x1a8)]('Reodered\x20Test\x20Files:\x20'+JSON[_0x1e6393(0xce)](_0xa1f25d)),_0xa1f25d&&_0x25b16a[_0x1e6393(0x112)](_0xa1f25d[_0x1e6393(0x168)],0x0)&&(process[_0x1e6393(0xfc)][_0x1e6393(0xc7)]=_0xa1f25d?.[_0x1e6393(0x1bc)](','));}logger[_0x1e6393(0x16d)](_0x25b16a[_0x1e6393(0xd2)]);testhubUtils[_0x1e6393(0x1b2)]()&&TestDetails[_0x1e6393(0x109)]();helper[_0x1e6393(0x135)]({},_0x4f3676),PerformanceTester[_0x1e6393(0x180)](PerformanceEvents[_0x1e6393(0x1af)]);const _0x2cd493=[_0x25b16a['bYSuR'],_0x25b16a[_0x1e6393(0x17e)],_0x5a8ea5,..._0x4f3676['slice'](0x1)],_0x202800=_0x25b16a[_0x1e6393(0x1be)](spawn,_0x25b16a[_0x1e6393(0xc3)],_0x2cd493,{'shell':_0x25b16a[_0x1e6393(0x17c)](process[_0x1e6393(0x10c)],_0x25b16a[_0x1e6393(0x157)]),'stdio':_0x25b16a[_0x1e6393(0x162)],'env':Object[_0x1e6393(0x10d)]({},process[_0x1e6393(0xfc)])});_0x202800['on'](_0x25b16a[_0x1e6393(0xbf)],async _0x473072=>{const _0x126ef5=_0x1e6393;PerformanceTester['start'](PerformanceEvents[_0x126ef5(0xee)]);try{const {browserstackFolderPath:_0x1553df,tcgConfigPath:_0x5bb2fc}=helper[_0x126ef5(0x13c)]();fs[_0x126ef5(0x14c)](_0x5bb2fc),fs[_0x126ef5(0x19e)](_0x1553df);}catch(_0x4a0b1e){logger[_0x126ef5(0x1a8)](_0x25b16a[_0x126ef5(0x16e)],_0x4a0b1e);}process[_0x126ef5(0x175)]=_0x473072,logger['debug'](_0x126ef5(0x142)+_0x473072),logger[_0x126ef5(0x16d)](_0x126ef5(0xc6)+_0x5a8ea5);if(helper['isNotUndefined'](_0x56b3ef)&&helper[_0x126ef5(0xd1)](_0x56b3ef[_0x126ef5(0x120)])&&fs['existsSync'](_0x56b3ef['abortBuildOnFailure'][_0x126ef5(0x14b)]))try{const _0x215163={};_0x215163[_0x126ef5(0x18c)]=!![],_0x215163['force']=!![],fs[_0x126ef5(0xd9)](_0x56b3ef[_0x126ef5(0x120)][_0x126ef5(0x14b)],_0x215163),logger[_0x126ef5(0x1a8)](_0x126ef5(0x105)+_0x56b3ef[_0x126ef5(0x120)][_0x126ef5(0x14b)]);}catch(_0x20a3a9){logger[_0x126ef5(0x15a)]('Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20'+_0x20a3a9);}let _0x25babb=null;if(fs[_0x126ef5(0x179)](_0x4fcf90)){_0x25babb=fs[_0x126ef5(0x10b)](_0x4fcf90);try{_0x25babb=JSON[_0x126ef5(0xeb)](_0x25babb);}catch(_0x2185e4){logger['debug']('Error\x20while\x20parsing\x20'+_0x4fcf90+',\x20'+_0x25babb+'\x20:\x20'+_0x2185e4);}fs['unlinkSync'](_0x4fcf90);}fs[_0x126ef5(0x14c)](_0x5a8ea5),fs[_0x126ef5(0x14c)](_0x3e073d),_0x25babb&&(_0x415c6d[_0x126ef5(0x147)]=helper[_0x126ef5(0x1b5)](_0x25babb,_0x25b16a['bYSuR'],_0x415c6d));const _0x3d4e0f=BrowserstackCLI[_0x126ef5(0x126)]();try{await TestHubHandler[_0x126ef5(0xf0)](),await BrowserstackCLI[_0x126ef5(0xf6)]()[_0x126ef5(0xf0)]();}catch(_0x199bec){console[_0x126ef5(0x18a)](_0x199bec),_0x25b16a[_0x126ef5(0xf5)](debug,_0x126ef5(0x163)+util[_0x126ef5(0xc5)](_0x199bec));}testOpsHelper[_0x126ef5(0xed)](),TestDetails[_0x126ef5(0x1b6)](),await utilities[_0x126ef5(0x10e)](_0x415c6d,_0x3d4e0f);});}function a14_0x17ef(_0x24cb15,_0x5c97a4){const _0x129426=a14_0x1294();return a14_0x17ef=function(_0x17ef61,_0x4f1343){_0x17ef61=_0x17ef61-0xbb;let _0x17acf9=_0x129426[_0x17ef61];return _0x17acf9;},a14_0x17ef(_0x24cb15,_0x5c97a4);}module[a14_0x2503e0(0xbc)]=run;
|
|
2
|
+
'use strict';const a14_0x3a6ccc=a14_0x50f7;(function(_0x333442,_0x48dcf8){const _0xb9bda2=a14_0x50f7,_0x34f91a=_0x333442();while(!![]){try{const _0x1a00a7=parseInt(_0xb9bda2(0x172))/0x1*(parseInt(_0xb9bda2(0x138))/0x2)+-parseInt(_0xb9bda2(0x175))/0x3+-parseInt(_0xb9bda2(0xe2))/0x4*(parseInt(_0xb9bda2(0x158))/0x5)+-parseInt(_0xb9bda2(0xf4))/0x6+-parseInt(_0xb9bda2(0x17c))/0x7*(-parseInt(_0xb9bda2(0xdd))/0x8)+-parseInt(_0xb9bda2(0x107))/0x9*(parseInt(_0xb9bda2(0x12d))/0xa)+parseInt(_0xb9bda2(0x124))/0xb;if(_0x1a00a7===_0x48dcf8)break;else _0x34f91a['push'](_0x34f91a['shift']());}catch(_0x2350f9){_0x34f91a['push'](_0x34f91a['shift']());}}}(a14_0x1f9e,0x2eae2));const fs=require('fs'),path=require(a14_0x3a6ccc(0x169)),util=require(a14_0x3a6ccc(0xd6)),{spawn}=require('child_process'),logger=require(a14_0x3a6ccc(0x1c7))['winstonLogger'],{default:BrowserStackSetup}=require(a14_0x3a6ccc(0x130)),helper=require(a14_0x3a6ccc(0x1a1)),utilities=require(a14_0x3a6ccc(0x1b9)),constants=require(a14_0x3a6ccc(0x1bf)),accessibilityHelper=require(a14_0x3a6ccc(0x181)),{updateTestRerunConfig}=require(a14_0x3a6ccc(0x123)),testOpsHelper=require('../../helpers/test-observability/utils'),{debug}=require('../../helpers/test-observability/utils'),TestDetails=require(a14_0x3a6ccc(0x152)),{getPercyOptions}=require(a14_0x3a6ccc(0x1a3)),TestHubHandler=require(a14_0x3a6ccc(0x114)),testhubUtils=require(a14_0x3a6ccc(0x183)),{FRAMEWORKS}=require(a14_0x3a6ccc(0xe3)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a14_0x3a6ccc(0x1c5))[a14_0x3a6ccc(0x186)],TestOrchestrationHandler=require('../../helpers/test-orchestration/testOrchestrationHandler'),BrowserstackCLI=require('../v2/browserstackCLI'),{checkPwandBootstrapCli}=require('../../helpers/playwright-helper'),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a14_0x3a6ccc(0xef)),ClientTroubleShootingService=require(a14_0x3a6ccc(0x1c0)),{checkAccessibilityPlatformConfig}=require(a14_0x3a6ccc(0x181)),getUserJestConfigs=async(_0x13f04f,_0xba8e08)=>{const _0x104a0a=a14_0x3a6ccc,_0x1b63d7={'nXvKY':_0x104a0a(0xde),'HRFFt':'jest-config','SNZwu':function(_0x94e8da,_0xe9d47a){return _0x94e8da||_0xe9d47a;},'Oehes':function(_0x3a533e,_0x960986){return _0x3a533e(_0x960986);},'XspPv':'package.json','JJejX':'Getting\x20your\x20jest\x20configs\x20from\x20package.json','lHEIG':_0x104a0a(0x163),'pyWjJ':_0x104a0a(0x115),'fOmpP':_0x104a0a(0x10a)};let _0x98142e;try{_0x98142e=helper[_0x104a0a(0x194)](_0x1b63d7['nXvKY'],_0x1b63d7[_0x104a0a(0x17b)]);}catch{const _0x411745=helper['requireModule'](_0x1b63d7[_0x104a0a(0x17b)]);_0x98142e={'default':async _0x2335ac=>{const _0x2ec807=_0x104a0a,_0x957deb=await _0x411745[_0x2ec807(0x12a)](_0x2335ac,{});return _0x957deb['config'];}};}const _0x54b64b=_0xba8e08[_0x104a0a(0x156)](_0x546114=>_0x546114===_0x104a0a(0x108));if(!helper['isUndefined'](_0x13f04f[_0x104a0a(0x14d)])){logger['info'](_0x104a0a(0x11a)+_0x13f04f[_0x104a0a(0x14d)]),process[_0x104a0a(0x174)]['USER_CONFIG_DETAILS_PATH']=_0x13f04f[_0x104a0a(0x14d)];const _0x48a228=await(0x0,_0x98142e[_0x104a0a(0xe5)])(path[_0x104a0a(0x141)](_0x13f04f[_0x104a0a(0x14d)]));return _0xba8e08[_0x104a0a(0x1c4)](_0x54b64b,0x2),_0x1b63d7[_0x104a0a(0x15b)](_0x48a228,{});}const _0x44af54=_0x1b63d7['Oehes'](require,path[_0x104a0a(0x117)](process[_0x104a0a(0x118)](),_0x1b63d7[_0x104a0a(0xdc)]));if(_0x44af54[_0x104a0a(0x11d)])return logger[_0x104a0a(0x16b)](_0x1b63d7[_0x104a0a(0xfe)]),_0x44af54[_0x104a0a(0x11d)];const _0x4615c0=['js',_0x1b63d7[_0x104a0a(0xe1)],_0x1b63d7['pyWjJ'],_0x1b63d7[_0x104a0a(0x17f)],'ts'];for(const _0x5d8589 of _0x4615c0){const _0xdf0c42=path[_0x104a0a(0x117)](process[_0x104a0a(0x118)](),_0x104a0a(0x126)+_0x5d8589);if(fs[_0x104a0a(0xfb)](_0xdf0c42)){process[_0x104a0a(0x174)][_0x104a0a(0x1c1)]=_0xdf0c42;const _0x2a120a=await(0x0,_0x98142e[_0x104a0a(0xe5)])(_0xdf0c42);return _0x2a120a;}}return{};},getSerial=(_0x2a22ef,_0x16c3da)=>{const _0x251f4b=a14_0x3a6ccc,_0x12b187={};_0x12b187[_0x251f4b(0xe6)]=_0x251f4b(0x116),_0x12b187['goLEO']=function(_0x3d32bc,_0x349ee5){return _0x3d32bc>_0x349ee5;},_0x12b187['Towaw']=_0x251f4b(0x1a4);const _0x12b291=_0x12b187;let _0x3f1b00=_0x12b291[_0x251f4b(0xe6)];return _0x12b291[_0x251f4b(0x16d)](_0x2a22ef[_0x251f4b(0x12c)],0x1)&&(!_0x16c3da[_0x251f4b(0x136)]&&(helper['isUndefined'](_0x16c3da['maxWorkers'])||_0x12b291[_0x251f4b(0x16d)](_0x16c3da['maxWorkers'],0x1)))&&(_0x3f1b00=_0x12b291[_0x251f4b(0x176)]),_0x3f1b00;},getMaxWorkers=(_0x5c56a7,_0x4a1d4c,_0x1b68f7)=>{const _0x2eaa88=a14_0x3a6ccc,_0x2d3eb9={'TQRMG':function(_0x636aa7,_0x3bd795){return _0x636aa7(_0x3bd795);}};let _0x3f28a9=0x1;if(!helper['isUndefined'](_0x4a1d4c[_0x2eaa88(0x13f)]))_0x3f28a9=_0x2d3eb9[_0x2eaa88(0x1bb)](parseInt,_0x4a1d4c[_0x2eaa88(0x13f)]);else{if(!helper[_0x2eaa88(0x191)](_0x5c56a7[_0x2eaa88(0x180)]))_0x3f28a9=_0x5c56a7[_0x2eaa88(0x180)];else!helper[_0x2eaa88(0x191)](_0x1b68f7[_0x2eaa88(0x180)])&&(_0x3f28a9=_0x1b68f7['maxWorkers']);}return _0x3f28a9;};async function run(_0x5a91f5,_0x32e4b2,_0x478f9e){const _0x430ada=a14_0x3a6ccc,_0x2cb0e4={'JXFYY':'error\x20removing\x20tcg\x20config\x20file','iwEwr':_0x430ada(0x11d),'igDTC':function(_0x1520d5,_0x27b17){return _0x1520d5(_0x27b17);},'zOVxE':_0x430ada(0xdf),'XSNdL':function(_0x50838d){return _0x50838d();},'ZqFSZ':function(_0x591fb3,_0x309dba,_0x18b507,_0x309e2a){return _0x591fb3(_0x309dba,_0x18b507,_0x309e2a);},'rzIYi':function(_0x55f6ee,_0x1cff52){return _0x55f6ee!=_0x1cff52;},'Odnoq':_0x430ada(0x116),'hoHwz':function(_0x32a142,_0x6fb7d3,_0x949742){return _0x32a142(_0x6fb7d3,_0x949742);},'zAQoL':_0x430ada(0x10f),'fAsGc':function(_0x5e1191,_0x1d2ab0){return _0x5e1191(_0x1d2ab0);},'eUJKk':function(_0x44a943,_0x30c95f){return _0x44a943(_0x30c95f);},'pxfGy':_0x430ada(0x1a4),'vSwik':function(_0x4fff1c,_0x20dd44,_0x2f81d5){return _0x4fff1c(_0x20dd44,_0x2f81d5);},'QNgAF':function(_0x3ceb58,_0x28ce02,_0x5ca39d,_0x4d4bd3){return _0x3ceb58(_0x28ce02,_0x5ca39d,_0x4d4bd3);},'WBxlw':function(_0xb0a8cf,_0x43f4ca){return _0xb0a8cf*_0x43f4ca;},'OTOVz':function(_0x39b035,_0x1c0104){return _0x39b035===_0x1c0104;},'PmpNz':_0x430ada(0x1a7),'KHCsg':_0x430ada(0x146),'mkxPi':_0x430ada(0xfd),'ztPCH':'jest_browserstack_results.json','yyuus':_0x430ada(0x16a),'EJfyD':'customTestRunnerTemplate.js','LDqWQ':_0x430ada(0x149),'MJvoz':function(_0xa07cbe,_0x298648){return _0xa07cbe!==_0x298648;},'fNhyK':_0x430ada(0x18d),'qDnof':_0x430ada(0x1b0),'lCZCp':'jest.setup.js','pjIbx':'customSequencer.js','IIlKj':_0x430ada(0x13a),'KlZFT':_0x430ada(0x16e),'zgaBo':_0x430ada(0x15f),'qbtwm':function(_0x5d1d05,_0x2390c8){return _0x5d1d05(_0x2390c8);},'MSXnx':'test-observability','KTZtk':_0x430ada(0x127),'zSGVX':_0x430ada(0xf0),'LCpQZ':_0x430ada(0x15c),'bygDe':_0x430ada(0x1ab),'wBkZi':'playwright','YhwOK':_0x430ada(0x15d),'qTSVx':_0x430ada(0x185),'uWMfg':_0x430ada(0x113),'SbwwQ':function(_0x2411ff,_0x3e5d9e){return _0x2411ff&&_0x3e5d9e;},'yHdZI':_0x430ada(0x10e),'eCRVx':'puppeteer','kBXCL':_0x430ada(0x1ba),'KDKtc':_0x430ada(0xe5),'SlLxy':_0x430ada(0x102),'DlukH':_0x430ada(0x140),'elgFu':_0x430ada(0xea),'esZzj':function(_0x2f32c0,_0x26ebb8){return _0x2f32c0>_0x26ebb8;},'qljTE':_0x430ada(0xda),'wHeJO':'--config','NMWgD':function(_0x3368c4,_0x164ab2,_0x364c91,_0x913849){return _0x3368c4(_0x164ab2,_0x364c91,_0x913849);},'LUUHu':'npx','GFCVu':function(_0xf925c6,_0x4d198c){return _0xf925c6===_0x4d198c;},'XApPI':_0x430ada(0x125),'iZLbD':_0x430ada(0x103),'WgBKB':'close'},_0x1e3b21=helper['getPackageVersion'](_0x2cb0e4[_0x430ada(0xf5)]);global[_0x430ada(0x196)]=!!_0x1e3b21;const _0x4deebd=_0x2cb0e4[_0x430ada(0x178)](getPuppeteerVersion);global[_0x430ada(0x17a)]=!!_0x4deebd;helper['isBrowserstackInfra']()?(await _0x478f9e['initialize'](_0x5a91f5),await helper[_0x430ada(0x105)](_0x478f9e[_0x430ada(0x14d)])):await _0x478f9e[_0x430ada(0x161)]();if(_0x1e3b21)await _0x2cb0e4[_0x430ada(0x18a)](checkPwandBootstrapCli,_0x1e3b21,constants['FRAMEWORKS'][_0x430ada(0x177)],_0x478f9e);else _0x4deebd&&await _0x2cb0e4[_0x430ada(0x18a)](checkPuppeteerAndBootstrapCli,_0x4deebd,constants[_0x430ada(0x1a8)][_0x430ada(0x177)],_0x478f9e);if(!_0x478f9e[_0x430ada(0x14d)])return;_0x2cb0e4[_0x430ada(0x12b)](_0x478f9e[_0x430ada(0x14d)][_0x430ada(0x159)],null)?process[_0x430ada(0x174)][_0x430ada(0x188)]=_0x478f9e['config'][_0x430ada(0x159)]:process[_0x430ada(0x174)][_0x430ada(0x188)]=_0x2cb0e4[_0x430ada(0x1c6)];const _0x131f22=new TestOrchestrationHandler(_0x478f9e[_0x430ada(0x14d)]),_0x1d01f2=await _0x2cb0e4[_0x430ada(0x16f)](getUserJestConfigs,_0x5a91f5,_0x32e4b2);logger[_0x430ada(0x16b)](_0x2cb0e4[_0x430ada(0x15a)]);const _0x4e74bb=Object['assign']({},_0x1d01f2);_0x4e74bb[_0x430ada(0x145)]=Object[_0x430ada(0x18f)]({},_0x4e74bb[_0x430ada(0x145)],{'server':helper[_0x430ada(0x101)](_0x478f9e[_0x430ada(0x14d)]),'environment':_0x1d01f2[_0x430ada(0x142)]}),_0x4e74bb['testEnvironmentOptions']['browserStackPercyOptions']=_0x2cb0e4['fAsGc'](getPercyOptions,_0x478f9e[_0x430ada(0x14d)]);const _0x5aa592=helper[_0x430ada(0xf9)](_0x478f9e[_0x430ada(0x14d)]);!helper[_0x430ada(0x191)](_0x478f9e[_0x430ada(0x14d)][_0x430ada(0x144)])&&(process['env'][_0x430ada(0x173)]=JSON[_0x430ada(0x1a2)](_0x478f9e[_0x430ada(0x14d)]['accessibilityOptions']));if(!BrowserstackCLI[_0x430ada(0x10c)]()['isRunning']()){const _0x1c966c=await TestHubHandler['launchBuild'](FRAMEWORKS[_0x430ada(0x177)],_0x478f9e);}const _0x5369a9=helper[_0x430ada(0x193)](_0x478f9e[_0x430ada(0x14d)],_0x5aa592,constants[_0x430ada(0x1a8)][_0x430ada(0x177)]);process[_0x430ada(0x174)][_0x430ada(0x154)]=JSON[_0x430ada(0x1a2)](_0x5369a9);let _0x1fc8cd=_0x478f9e[_0x430ada(0x14d)][_0x430ada(0xed)];_0x1fc8cd=_0x1fc8cd||accessibilityHelper[_0x430ada(0x153)](_0x478f9e[_0x430ada(0x14d)]),process[_0x430ada(0x174)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x1fc8cd,logger[_0x430ada(0xe7)](_0x430ada(0x1b4)+_0x1fc8cd+_0x430ada(0x135)+BrowserstackCLI['getInstance']()[_0x430ada(0x17d)]());if(_0x1e3b21)try{const _0x58e1ae=_0x2cb0e4[_0x430ada(0x13e)](checkAccessibilityPlatformConfig,_0x478f9e['config']);process[_0x430ada(0x174)][_0x430ada(0x1ad)]=_0x58e1ae?_0x2cb0e4[_0x430ada(0x1c6)]:_0x2cb0e4[_0x430ada(0xff)],logger['debug'](_0x430ada(0x11e)+_0x58e1ae+_0x430ada(0x195)+process['env'][_0x430ada(0x1ad)]);}catch(_0x4983e5){logger[_0x430ada(0xe7)](_0x430ada(0x189)+util[_0x430ada(0x129)](_0x4983e5));}_0x4e74bb[_0x430ada(0x145)][_0x430ada(0x1bd)]=_0x5369a9,_0x4e74bb['testEnvironmentOptions'][_0x430ada(0x143)]=_0x2cb0e4['vSwik'](getSerial,_0x5369a9,_0x5a91f5),_0x4e74bb[_0x430ada(0x145)][_0x430ada(0x11f)]=_0x2cb0e4[_0x430ada(0x11b)](getMaxWorkers,_0x5a91f5,_0x478f9e['config'],_0x1d01f2),_0x4e74bb[_0x430ada(0x145)][_0x430ada(0x12e)]=_0x478f9e[_0x430ada(0x14d)][_0x430ada(0x12e)],_0x4e74bb[_0x430ada(0x145)][_0x430ada(0x19f)]=_0x2cb0e4['WBxlw'](_0x5a91f5[_0x430ada(0xfa)],0x1)||0x1388,_0x4e74bb[_0x430ada(0x145)][_0x430ada(0x14f)]=_0x478f9e[_0x430ada(0x14d)][_0x430ada(0x1c8)][_0x430ada(0x14f)],_0x4e74bb[_0x430ada(0x145)][_0x430ada(0xf3)]=_0x478f9e[_0x430ada(0x14d)]['testContextOptions'][_0x430ada(0xf3)],_0x4e74bb[_0x430ada(0x145)][_0x430ada(0x1a5)]=_0x478f9e[_0x430ada(0x14d)]['logLevel'],_0x4e74bb[_0x430ada(0x145)]['turboScaleUrl']=_0x478f9e[_0x430ada(0x14d)][_0x430ada(0x17e)],_0x4e74bb['testEnvironmentOptions']['platformCaps']=_0x478f9e[_0x430ada(0x14d)][_0x430ada(0x1bc)];const _0x514b84=helper[_0x430ada(0x192)](_0x478f9e[_0x430ada(0x14d)]);if(!helper[_0x430ada(0x15e)](_0x514b84)){helper[_0x430ada(0x1c2)](_0x514b84['retryTestsOnFailure'])&&(_0x4e74bb[_0x430ada(0x145)][_0x430ada(0xe9)]=_0x514b84[_0x430ada(0x171)][_0x430ada(0xee)]);if(helper[_0x430ada(0x1c2)](_0x514b84[_0x430ada(0xf6)])&&helper[_0x430ada(0x1c2)](_0x514b84['abortBuildOnFailure']['workingDir'])){const _0x5bfa83={};_0x5bfa83['failureThresholdCount']=_0x514b84['abortBuildOnFailure'][_0x430ada(0x170)],_0x5bfa83['workingDir']=_0x514b84[_0x430ada(0xf6)]['workingDir'],_0x4e74bb[_0x430ada(0x145)][_0x430ada(0x120)]=_0x5bfa83;}}let _0x211b4c='';_0x2cb0e4[_0x430ada(0x179)](helper['getPackageType'](),constants[_0x430ada(0x10d)][_0x430ada(0x134)])?_0x211b4c=_0x2cb0e4[_0x430ada(0x106)]:_0x211b4c=_0x2cb0e4[_0x430ada(0xe4)];const _0x3d590c=_0x211b4c,_0x3afffc=path[_0x430ada(0x117)](__dirname,_0x2cb0e4[_0x430ada(0x166)],_0x2cb0e4['ztPCH']),_0x19dea7=path[_0x430ada(0x117)](__dirname,_0x2cb0e4[_0x430ada(0x166)],_0x2cb0e4['yyuus']),_0x421329=path[_0x430ada(0x117)](__dirname,_0x2cb0e4[_0x430ada(0x166)],_0x2cb0e4['EJfyD']);_0x4e74bb[_0x430ada(0x142)]&&(process[_0x430ada(0x174)]['BSTACK_JEST_TEST_ENV']=_0x4e74bb[_0x430ada(0x142)]);_0x4e74bb[_0x430ada(0x142)]=path[_0x430ada(0x117)](__dirname,_0x2cb0e4[_0x430ada(0x166)],_0x2cb0e4[_0x430ada(0x165)]);const _0x37024f=_0x1d01f2[_0x430ada(0xd7)];if(_0x37024f&&_0x2cb0e4['MJvoz'](_0x37024f,_0x2cb0e4['fNhyK'])){const _0x2f76ab=_0x37024f[_0x430ada(0x19d)](_0x2cb0e4['qDnof'])?_0x37024f:_0x430ada(0x1b0)+_0x37024f;process['env'][_0x430ada(0xf1)]=_0x2f76ab,logger['info']('Preserving\x20user\x27s\x20Jest\x20runner:\x20'+_0x2f76ab);}_0x4e74bb['runner']=_0x19dea7,_0x4e74bb[_0x430ada(0x147)]=_0x4e74bb[_0x430ada(0x147)]||[],_0x4e74bb[_0x430ada(0x147)][_0x430ada(0x197)](path[_0x430ada(0x117)](__dirname,_0x2cb0e4[_0x430ada(0x155)]));_0x131f22[_0x430ada(0x1a6)]()&&(_0x4e74bb[_0x430ada(0xf7)]=path['join'](__dirname,_0x2cb0e4[_0x430ada(0x166)],_0x2cb0e4[_0x430ada(0x112)]));if(testhubUtils[_0x430ada(0x109)]()||BrowserstackCLI[_0x430ada(0x10c)]()[_0x430ada(0x1be)]()){let _0x2b2580=null;try{_0x2b2580=helper[_0x430ada(0x194)](_0x2cb0e4[_0x430ada(0xf2)],_0x2cb0e4[_0x430ada(0x19b)]);}catch(_0x21718c){try{_0x2b2580=helper[_0x430ada(0x194)](_0x2cb0e4[_0x430ada(0x13c)],_0x2cb0e4[_0x430ada(0x19b)]);}catch(_0x112bf6){_0x2cb0e4['qbtwm'](debug,_0x430ada(0x1b6)+_0x112bf6);}}_0x2b2580&&(testhubUtils[_0x430ada(0x109)]()&&_0x4e74bb[_0x430ada(0x147)]['push'](path['join'](__dirname,_0x2cb0e4[_0x430ada(0x1af)],_0x2cb0e4[_0x430ada(0x10b)])),_0x4e74bb[_0x430ada(0x150)]=path[_0x430ada(0x117)](__dirname,_0x2cb0e4[_0x430ada(0x166)],_0x2cb0e4[_0x430ada(0x137)]));}_0x4e74bb[_0x430ada(0x18c)]=_0x4e74bb[_0x430ada(0x18c)]||[];try{helper[_0x430ada(0x1b5)](),_0x4e74bb['setupFiles'][_0x430ada(0x197)](path[_0x430ada(0x117)](__dirname,_0x2cb0e4['LCpQZ']));}catch{logger[_0x430ada(0xe7)](_0x2cb0e4[_0x430ada(0x14e)]);}try{helper[_0x430ada(0x148)][_0x430ada(0x104)](null,[_0x2cb0e4['zOVxE'],_0x2cb0e4[_0x430ada(0xdb)]]),logger[_0x430ada(0xe7)](_0x2cb0e4['YhwOK']),_0x4e74bb[_0x430ada(0x18c)][_0x430ada(0x197)](path[_0x430ada(0x117)](__dirname,_0x2cb0e4[_0x430ada(0x100)]));}catch(_0x307fd5){logger[_0x430ada(0xe7)](_0x2cb0e4['uWMfg'],_0x307fd5);}if(_0x2cb0e4[_0x430ada(0x19a)](!_0x1e3b21,_0x4deebd)){try{logger[_0x430ada(0xe7)](_0x2cb0e4['yHdZI']),_0x4e74bb[_0x430ada(0x18c)][_0x430ada(0x197)](path[_0x430ada(0x117)](__dirname,'..',_0x2cb0e4[_0x430ada(0x1b3)],_0x2cb0e4['qTSVx']));}catch(_0x499ea8){logger[_0x430ada(0xe7)](_0x430ada(0x19c)+_0x499ea8['message']);}try{const _0x449a9f=require[_0x430ada(0x141)](_0x2cb0e4[_0x430ada(0x162)]),_0x54f32e=path[_0x430ada(0x18e)](_0x449a9f)[_0x430ada(0x199)](/\\/g,'/'),_0x36119a={};_0x36119a[_0x430ada(0x122)]=_0x54f32e+_0x430ada(0x157),_0x4e74bb['moduleNameMapper']=Object[_0x430ada(0x18f)]({},_0x4e74bb[_0x430ada(0x121)]||{},_0x36119a),logger['debug'](_0x430ada(0x133)+_0x54f32e);}catch(_0x320305){logger['debug'](_0x430ada(0xd5)+_0x320305['message']);}}_0x4e74bb[_0x430ada(0x14a)]=_0x4e74bb[_0x430ada(0x14a)]||[_0x2cb0e4['KDKtc']],_0x2cb0e4[_0x430ada(0x16f)](updateTestRerunConfig,_0x4e74bb,_0x478f9e);const _0x222898=fs['readFileSync'](_0x421329),_0x3859b5=helper['resolveModule'](_0x2cb0e4[_0x430ada(0x1a9)],_0x2cb0e4[_0x430ada(0x1c3)]);!_0x3859b5[_0x430ada(0x184)]?fs[_0x430ada(0xe8)](_0x4e74bb[_0x430ada(0xd7)],'\x0a\x20\x20\x20\x20\x20\x20'+_0x222898+'\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'+_0x478f9e[_0x430ada(0x14d)][_0x430ada(0x1bc)][_0x430ada(0x12c)]+_0x430ada(0x1ac)):fs[_0x430ada(0xe8)](_0x4e74bb[_0x430ada(0xd7)],_0x430ada(0x190)+_0x222898+'\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'+_0x478f9e[_0x430ada(0x14d)][_0x430ada(0x1bc)][_0x430ada(0x12c)]+_0x430ada(0x128));logger[_0x430ada(0x16b)](_0x430ada(0xd8)+_0x3d590c+_0x430ada(0x168)),fs[_0x430ada(0xe8)](_0x3d590c,'const\x20config='+JSON[_0x430ada(0x1a2)](_0x4e74bb)+_0x430ada(0xe0));if(_0x131f22[_0x430ada(0x1a6)]()){logger[_0x430ada(0xe7)](_0x2cb0e4['elgFu']);const _0x20c895=await _0x131f22[_0x430ada(0x1ae)](_0x4e74bb,_0x32e4b2[_0x430ada(0x1b8)](0x1),_0x3d590c);logger['debug']('Found:\x20'+JSON['stringify'](_0x20c895)+_0x430ada(0x132));const _0x1a867f=await _0x131f22[_0x430ada(0xec)](_0x20c895);logger[_0x430ada(0xe7)](_0x430ada(0x131)+JSON[_0x430ada(0x1a2)](_0x1a867f)),_0x1a867f&&_0x2cb0e4[_0x430ada(0x187)](_0x1a867f[_0x430ada(0x12c)],0x0)&&(process['env']['JEST_TEST_ORDER']=_0x1a867f?.[_0x430ada(0x117)](','));}logger[_0x430ada(0x16b)](_0x2cb0e4['qljTE']);testhubUtils[_0x430ada(0x109)]()&&TestDetails[_0x430ada(0xf8)]();helper[_0x430ada(0x1aa)]({},_0x32e4b2),PerformanceTester['end'](PerformanceEvents[_0x430ada(0x164)]);const _0x2b2264=[_0x2cb0e4[_0x430ada(0x13b)],_0x2cb0e4[_0x430ada(0x111)],_0x3d590c,..._0x32e4b2['slice'](0x1)],_0x109ad3=_0x2cb0e4['NMWgD'](spawn,_0x2cb0e4[_0x430ada(0x18b)],_0x2b2264,{'shell':_0x2cb0e4[_0x430ada(0xeb)](process['platform'],_0x2cb0e4[_0x430ada(0x19e)]),'stdio':_0x2cb0e4[_0x430ada(0x198)],'env':Object[_0x430ada(0x18f)]({},process[_0x430ada(0x174)])});_0x109ad3['on'](_0x2cb0e4[_0x430ada(0x1b7)],async _0x57be91=>{const _0x408fba=_0x430ada;PerformanceTester[_0x408fba(0xfc)](PerformanceEvents[_0x408fba(0x160)]);try{const {browserstackFolderPath:_0x9187f6,tcgConfigPath:_0x38c36a}=helper[_0x408fba(0x119)]();fs[_0x408fba(0x182)](_0x38c36a),fs['rmdirSync'](_0x9187f6);}catch(_0x506600){logger[_0x408fba(0xe7)](_0x2cb0e4[_0x408fba(0x139)],_0x506600);}process[_0x408fba(0x110)]=_0x57be91,logger[_0x408fba(0xe7)](_0x408fba(0x12f)+_0x57be91),logger['info'](_0x408fba(0x16c)+_0x3d590c);if(helper['isNotUndefined'](_0x514b84)&&helper[_0x408fba(0x1c2)](_0x514b84[_0x408fba(0xf6)])&&fs['existsSync'](_0x514b84[_0x408fba(0xf6)][_0x408fba(0x11c)]))try{const _0x1523ee={};_0x1523ee[_0x408fba(0x151)]=!![],_0x1523ee['force']=!![],fs['rmSync'](_0x514b84[_0x408fba(0xf6)][_0x408fba(0x11c)],_0x1523ee),logger[_0x408fba(0xe7)](_0x408fba(0xd9)+_0x514b84[_0x408fba(0xf6)][_0x408fba(0x11c)]);}catch(_0x15ec5f){logger[_0x408fba(0x184)]('Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20'+_0x15ec5f);}let _0x5867e5=null;if(fs[_0x408fba(0xfb)](_0x3afffc)){_0x5867e5=fs[_0x408fba(0x167)](_0x3afffc);try{_0x5867e5=JSON[_0x408fba(0x1a0)](_0x5867e5);}catch(_0x38db6c){logger[_0x408fba(0xe7)]('Error\x20while\x20parsing\x20'+_0x3afffc+',\x20'+_0x5867e5+_0x408fba(0xd4)+_0x38db6c);}fs[_0x408fba(0x182)](_0x3afffc);}fs[_0x408fba(0x182)](_0x3d590c),fs[_0x408fba(0x182)](_0x19dea7),_0x5867e5&&(_0x478f9e['errorMessage']=helper['getErrorMessageFromResults'](_0x5867e5,_0x2cb0e4['iwEwr'],_0x478f9e));const _0xbc0830=BrowserstackCLI['isCLIEnabled']();try{await TestHubHandler[_0x408fba(0x1b1)](),await BrowserstackCLI[_0x408fba(0x10c)]()[_0x408fba(0x1b1)]();}catch(_0x1474e7){console[_0x408fba(0x13d)](_0x1474e7),_0x2cb0e4[_0x408fba(0x14c)](debug,_0x408fba(0x14b)+util[_0x408fba(0x129)](_0x1474e7));}testOpsHelper['printBuildLink'](),TestDetails['shutdown'](),await utilities['finalExecution'](_0x478f9e,_0xbc0830);});}function a14_0x50f7(_0x20ebfe,_0x5f40a9){const _0x1f9ee3=a14_0x1f9e();return a14_0x50f7=function(_0x50f790,_0x4727bd){_0x50f790=_0x50f790-0xd4;let _0x2cbde1=_0x1f9ee3[_0x50f790];return _0x2cbde1;},a14_0x50f7(_0x20ebfe,_0x5f40a9);}function a14_0x1f9e(){const _0x504ef9=['Creating\x20','Deleted\x20fail-fast\x20state\x20folder:\x20','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','wBkZi','XspPv','90600RZIqZr','jest-config/build/readConfigFileAndSetRootDir.js','@playwright/test','\x0amodule.exports\x20=\x20config;','lHEIG','76VrKdYX','../../helpers/test-observability/constants','KHCsg','default','dagwe','debug','writeFileSync','retries__','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','GFCVu','reorderTestFiles','accessibility','maxRetries','../../helpers/puppeteer-helper','customCircus.js','BSTACK_USER_JEST_RUNNER','IIlKj','skipSessionStatus','1418442AsMjZW','zOVxE','abortBuildOnFailure','testSequencer','setup','useW3C','testTimeout','existsSync','start','customImplements','JJejX','pxfGy','qTSVx','getHubUrl','@jest/core/build/ReporterDispatcher.js','inherit','apply','handleApp','PmpNz','1989KsMuCi','--config','shouldProcessEventForTesthub','json','KTZtk','getInstance','PACKAGE_TYPE','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','exitCode','wHeJO','pjIbx','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','../../helpers/testhub/testhubHandler','cjs','true','join','cwd','getTCGConfigFilePaths','Getting\x20your\x20jest\x20configs\x20from\x20','QNgAF','workingDir','jest','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','parallels__','failFast','moduleNameMapper','^puppeteer-core/internal/(.*)','./test-observability/helper','8832626HpcWiz','win32','jest.config.','data-hooks.js',';\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','format','readInitialOptions','rzIYi','length','16070KOxEOI','proxySettings','child\x20process\x20exited\x20with\x20code\x20','../../helpers/BrowserStackSetup','Reodered\x20Test\x20Files:\x20','\x20test\x20files\x20to\x20run.','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','MODULE',',\x20CLI\x20running:\x20','runInBand','zSGVX','23720SYlXBG','JXFYY','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','iwEwr','zgaBo','log','eUJKk','parallelsPerPlatform','@jest/core','resolve','testEnvironment','serial__','accessibilityOptions','testEnvironmentOptions','jest_browserstack.config.js','setupFilesAfterEnv','requirePWModule','customEnvironment.js','reporters','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','igDTC','config','bygDe','skipSessionName','testRunner','recursive','./test-observability/test-details','checkAccessibilityPlatformConfig','BROWSERSTACK_CAPABILITIES','lCZCp','findIndex','/internal/$1','31315UpJqgv','testObservability','zAQoL','SNZwu','test_before.setup.js','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','isEmpty','jest-circus/build/runner.js','SDK_CLEANUP','setupTCGAuth','kBXCL','mjs','SDK_SETUP','LDqWQ','mkxPi','readFileSync','\x20with\x20browserstack\x20jest\x20configs','path','customTestRunner.js','info','Deleting\x20','goLEO','jest-circus','hoHwz','maxFailures','retryTestsOnFailure','5ltWwgg','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','env','595014dvNSaM','Towaw','JEST','XSNdL','OTOVz','__isPuppeteerInstalled','HRFFt','147MuWghB','isRunning','turboScaleUrl','fOmpP','maxWorkers','../../helpers/accessibility-automation/helper','unlinkSync','../../helpers/testhub/utils','error','test.setup.js','EVENTS','esZzj','BROWSERSTACK_TEST_OBSERVABILITY_YML','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','ZqFSZ','LUUHu','setupFiles','jest-runner','dirname','assign','\x0a\x20\x20\x20\x20\x20\x20','isUndefined','parseTestOrchestrationOptions','prepareCapabilities','requireModule',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','__isPlaywrightInstalled','push','iZLbD','replace','SbwwQ','KlZFT','Puppeteer\x20setup\x20error:\x20','startsWith','XApPI','timeout__','parse','../../helpers/helper','stringify','../../helpers/percy/utils','false','browserStackLogLevel','isTestOrchestrationEnabled','jest_browserstack.config.cjs','FRAMEWORKS','SlLxy','filterBrowserstackArgs','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found',';\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','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','findTestFiles','MSXnx','jest-runner-','stop','exports','eCRVx','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','requireSeleniumWebdriver','Unable\x20to\x20find\x20jest-circus,\x20','WgBKB','slice','../../helpers/utilities','puppeteer-core/package.json','TQRMG','platforms','capabilities','isCliEnabled','../utils/constants','../utils/clientTroubleshootingService','USER_CONFIG_DETAILS_PATH','isNotUndefined','DlukH','splice','../../helpers/performance/constants','Odnoq','../../helpers/logger','testContextOptions','\x20:\x20','[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20','util','runner'];a14_0x1f9e=function(){return _0x504ef9;};return a14_0x1f9e();}module[a14_0x3a6ccc(0x1b2)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a15_0x1c2680=a15_0x4a33;(function(_0x3bf7c0,_0x25001f){const _0x3b330e=a15_0x4a33,_0x3435e3=_0x3bf7c0();while(!![]){try{const _0x5b6891=-parseInt(_0x3b330e(0x1d8))/0x1*(parseInt(_0x3b330e(0x1d6))/0x2)+parseInt(_0x3b330e(0x1cd))/0x3+-parseInt(_0x3b330e(0x1d5))/0x4*(-parseInt(_0x3b330e(0x1cf))/0x5)+parseInt(_0x3b330e(0x1c8))/0x6*(parseInt(_0x3b330e(0x1d1))/0x7)+parseInt(_0x3b330e(0x1ce))/0x8*(-parseInt(_0x3b330e(0x1c5))/0x9)+parseInt(_0x3b330e(0x1c3))/0xa*(parseInt(_0x3b330e(0x1c4))/0xb)+-parseInt(_0x3b330e(0x1c1))/0xc;if(_0x5b6891===_0x25001f)break;else _0x3435e3['push'](_0x3435e3['shift']());}catch(_0x356186){_0x3435e3['push'](_0x3435e3['shift']());}}}(a15_0xa54b,0x6082a));const path=require(a15_0x1c2680(0x1d4)),{requireModule}=require(a15_0x1c2680(0x1d7));function a15_0x4a33(_0x2fcdbd,_0x3821ae){const _0xa54b13=a15_0xa54b();return a15_0x4a33=function(_0x4a33f7,_0x972eb3){_0x4a33f7=_0x4a33f7-0x1c1;let _0x421564=_0xa54b13[_0x4a33f7];return _0x421564;},a15_0x4a33(_0x2fcdbd,_0x3821ae);}let initJestAdapter;try{initJestAdapter=requireModule('jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js',a15_0x1c2680(0x1cc));}catch{initJestAdapter=requireModule(a15_0x1c2680(0x1d3),a15_0x1c2680(0x1cc));}initJestAdapter=typeof initJestAdapter===a15_0x1c2680(0x1c2)?initJestAdapter:initJestAdapter[a15_0x1c2680(0x1d0)];const FRAMEWORK_INITIALIZER=path[a15_0x1c2680(0x1c6)](__dirname,'customJestAdapterInit.js');function a15_0xa54b(){const _0x516963=['20797TXuRAt','initRequireModule','jest-circus/build/runner.js','path','28bcvurJ','716582yxVtvs','../../../helpers/helper','1mMFJQV','oYqWl','5627976tUtPgf','function','2680WiOeEz','26774mnjacm','846majKXK','join','jestAdapterInit','558DgepkL','includes','requireInternalModule','tQSRQ','jest-circus','1878453Wasgfv','60816HFwPJi','273155edpWgI','default'];a15_0xa54b=function(){return _0x516963;};return a15_0xa54b();}module['exports']=(..._0x5535b4)=>{const _0x9b3bab=a15_0x1c2680,_0x9d2056={'oYqWl':_0x9b3bab(0x1c7),'jPjle':function(_0x275b97,_0x3701c2){return _0x275b97===_0x3701c2;},'tQSRQ':function(_0x8236f3,..._0x1787d2){return _0x8236f3(..._0x1787d2);}};return _0x5535b4[0x3]['initRequireModule']=_0x5535b4[0x3]['requireInternalModule'],_0x5535b4[0x3][_0x9b3bab(0x1ca)]=(..._0x257a71)=>{const _0x2d0cc7=_0x9b3bab;if(_0x257a71[0x0]&&_0x257a71[0x0][_0x2d0cc7(0x1c9)](_0x9d2056[_0x2d0cc7(0x1d9)])&&_0x9d2056['jPjle'](_0x257a71[0x1],undefined))return _0x5535b4[0x3][_0x2d0cc7(0x1d2)](FRAMEWORK_INITIALIZER);return _0x5535b4[0x3][_0x2d0cc7(0x1d2)](..._0x257a71);},_0x9d2056[_0x9b3bab(0x1cb)](initJestAdapter,..._0x5535b4);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a16_0x35dd42=a16_0x1a3e;(function(_0x1f147c,_0x5cf673){const _0x16b4f6=a16_0x1a3e,_0x14acb8=_0x1f147c();while(!![]){try{const _0x1f5d83=parseInt(_0x16b4f6(0x16f))/0x1*(parseInt(_0x16b4f6(0x14e))/0x2)+-parseInt(_0x16b4f6(0x15f))/0x3+parseInt(_0x16b4f6(0x171))/0x4+-parseInt(_0x16b4f6(0x197))/0x5*(parseInt(_0x16b4f6(0x17d))/0x6)+-parseInt(_0x16b4f6(0x1a2))/0x7+-parseInt(_0x16b4f6(0x147))/0x8*(-parseInt(_0x16b4f6(0x173))/0x9)+-parseInt(_0x16b4f6(0x182))/0xa*(-parseInt(_0x16b4f6(0x184))/0xb);if(_0x1f5d83===_0x5cf673)break;else _0x14acb8['push'](_0x14acb8['shift']());}catch(_0x12cd47){_0x14acb8['push'](_0x14acb8['shift']());}}}(a16_0x5384,0x89a66));function a16_0x1a3e(_0x4fd398,_0x1db28b){const _0x538431=a16_0x5384();return a16_0x1a3e=function(_0x1a3e86,_0x46c317){_0x1a3e86=_0x1a3e86-0x130;let _0x305984=_0x538431[_0x1a3e86];return _0x305984;},a16_0x1a3e(_0x4fd398,_0x1db28b);}function a16_0x5384(){const _0x5d9ece=['isTrue','372415UZbfTc','getTestEnvironment','setup','split','nestedKeyValue','uaAQQ','eVMLF','uKMxf','__jestRetries','browserstackPercyBestPlatform','../../../helpers/test-orchestration/failfastManager','6102789DXuHNv','test_done','exports','testContext','mNoBA','Error\x20in\x20fail-fast\x20test_done\x20handler:','onTestDone','__drivers','failFastActive','isArray','KMdMu','join','ooAuz','../../../helpers/helper','egKMO','skipSessionStatus','shouldProcessEventForTesthub','projectName','rKNFG','../test-observability/obsReporter','PxeBf','YzmSJ','qLvxp','sjYNN','message','VaPlL','jest-resolve','13408JsGsSk','skip','quit','cATxk','debug','global','winstonLogger','249218UEWSEn','__driversArray','percyCaptureMode','requireModule','failFast','bstack:options','teardown','Builder','gFKBx','FRONt','MfehA','DIijd','../../../helpers/test-observability/utils','name','browserstackPlatformIndex','cleanup','errors','291714BrUrjD','percy','modifyCommand','__timeout','default','driver','failFastOptions','timeout__','maqoX','resolveTestEnvironment','browserStackPercyOptions','sessionNameProvided','skipSessionName','capability','__esModule','__skipSessionStatus','1psKKlt','JEST','1640312KxoCep','jestConfig','711WBQSlR','getInstance','configuration','vzYgW','env','jest-environment-node','isNotUndefined','capabilities','requireSeleniumWebdriver','testEnvironmentOptions','6oGnBsg','wsUcT','Dwyam','../../utils/constants','platformCaps','9402710wXUuJU','../../../index','11OGxXJn','oAbNS','projectConfig','registerListeners','testPath','DshgV','__webdriver','test','../../../helpers/logger','browserStackGlobals','FRAMEWORKS','yNdeb','retries__','../../../helpers/testhub/utils','handleTestEvent','browserstackAgentV2','../../../helpers/test-observability/requestQueueHandler','GqXyj'];a16_0x5384=function(){return _0x5d9ece;};return a16_0x5384();}const helper=require(a16_0x35dd42(0x139)),constants=require(a16_0x35dd42(0x180)),{isTestObservabilitySession}=require(a16_0x35dd42(0x15a)),RequestQueueHandler=require(a16_0x35dd42(0x194)),ObservabilityReporter=require(a16_0x35dd42(0x13f)),testhubUtils=require(a16_0x35dd42(0x191)),logger=require(a16_0x35dd42(0x18c))[a16_0x35dd42(0x14d)],getTestEnvironment=((()=>{const _0x3e1fc2=a16_0x35dd42,_0x1012f6={};_0x1012f6[_0x3e1fc2(0x13e)]=_0x3e1fc2(0x146),_0x1012f6[_0x3e1fc2(0x143)]='jest-config';const _0x20efe9=_0x1012f6;try{const _0x46ec8b=helper['requireModule'](_0x20efe9[_0x3e1fc2(0x13e)]);if(_0x46ec8b[_0x3e1fc2(0x168)])return _0x46ec8b[_0x3e1fc2(0x168)];const _0x38b900=helper['requireModule'](_0x20efe9[_0x3e1fc2(0x143)]);if(_0x38b900[_0x3e1fc2(0x198)])return _0x38b900[_0x3e1fc2(0x198)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x4c1a31=a16_0x35dd42,_0xa1f7b4={'MfehA':function(_0x590969,_0x4c8b19){return _0x590969(_0x4c8b19);},'mNoBA':'node','ooAuz':function(_0x1ffa5c,_0x1140a9){return _0x1ffa5c(_0x1140a9);},'bkrZw':_0x4c1a31(0x178),'gFKBx':function(_0x2c0d21,_0xb204b){return _0x2c0d21(_0xb204b);}},_0x44ca3a=_0xa1f7b4[_0x4c1a31(0x158)](getTestEnvironment,{'rootDir':process['cwd'](),'testEnvironment':process[_0x4c1a31(0x177)]['BSTACK_JEST_TEST_ENV']||_0xa1f7b4[_0x4c1a31(0x130)]});if(!_0x44ca3a)return _0xa1f7b4[_0x4c1a31(0x138)](_interopRequireDefault,helper['requireModule'](_0xa1f7b4['bkrZw']));return _0xa1f7b4[_0x4c1a31(0x156)](_interopRequireDefault,helper[_0x4c1a31(0x151)](_0x44ca3a));})()),_seleniumWebdriver2=((()=>{const _0x52e4a4=a16_0x35dd42,_0x2267fc={'DIijd':function(_0x2ce020,_0x30efd1){return _0x2ce020(_0x30efd1);}};try{const _0x3e54ab=helper[_0x52e4a4(0x17b)]();return helper[_0x52e4a4(0x161)](),_0x2267fc[_0x52e4a4(0x159)](_interopRequireDefault,_0x3e54ab);}catch{return null;}})());function _interopRequireDefault(_0x43a14b){const _0x1a5fc6=a16_0x35dd42;return _0x43a14b&&_0x43a14b[_0x1a5fc6(0x16d)]?_0x43a14b:{'default':_0x43a14b};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a16_0x35dd42(0x163)]['Builder']:null;class CustomEnvironment extends _jestUserEnvironment[a16_0x35dd42(0x163)]{constructor(_0x2eabe3){const _0xae47bd=a16_0x35dd42,_0xf7a250={'vzYgW':'quit','BXUvy':function(_0x1c353d,_0x11f285){return _0x1c353d+_0x11f285;},'PxeBf':_0xae47bd(0x153),'YzmSJ':function(_0x1658ef,_0x99acbc){return _0x1658ef(_0x99acbc);},'KMdMu':_0xae47bd(0x1a1),'wsUcT':'5|2|6|3|7|1|4|0','DshgV':_0xae47bd(0x183),'maqoX':_0xae47bd(0x17c),'cATxk':_0xae47bd(0x169),'GqXyj':_0xae47bd(0x160),'qLvxp':'browserstackPercyBestPlatform','VaPlL':_0xae47bd(0x150)};super(_0x2eabe3),this[_0xae47bd(0x14c)][_0xae47bd(0x162)]=0x0,this[_0xae47bd(0x175)]={};!_0x2eabe3['testEnvironmentOptions']&&(_0x2eabe3['testEnvironmentOptions']={});if(helper['isBrowserstackInfra']()){_0x2eabe3[_0xae47bd(0x17c)]=_0x2eabe3[_0xae47bd(0x186)]?_0x2eabe3['projectConfig'][_0xae47bd(0x17c)]:_0x2eabe3['testEnvironmentOptions'];_seleniumWebdriver2&&(this['builder']=new _seleniumWebdriver2[(_0xae47bd(0x163))][(_0xae47bd(0x155))]());this[_0xae47bd(0x16c)]=_0x2eabe3[_0xae47bd(0x186)]?_0x2eabe3[_0xae47bd(0x186)][_0xae47bd(0x16c)]:_0x2eabe3[_0xae47bd(0x16c)],this[_0xae47bd(0x14c)][_0xae47bd(0x162)]=_0xf7a250['BXUvy'](_0x2eabe3[_0xae47bd(0x17c)][_0xae47bd(0x166)]||0x1388,constants['BSTACK_DELTA']),this['failFastOptions']=_0x2eabe3[_0xae47bd(0x17c)]['failFast'];if(this[_0xae47bd(0x165)]){const _0x2331e4=this['capability'][_0xf7a250[_0xae47bd(0x140)]]?.['buildName']||'',_0x5af4ca=this[_0xae47bd(0x16c)][_0xf7a250[_0xae47bd(0x140)]]?.[_0xae47bd(0x13d)]||'';this[_0xae47bd(0x152)]=new(_0xf7a250['YzmSJ'](require,_0xf7a250[_0xae47bd(0x136)]))(this['failFastOptions'],_0x2331e4,_0x5af4ca),this['global'][_0xae47bd(0x134)]=![];}helper[_0xae47bd(0x179)](_0x2eabe3[_0xae47bd(0x17c)][_0xae47bd(0x190)])&&(this[_0xae47bd(0x14c)][_0xae47bd(0x19f)]=_0x2eabe3[_0xae47bd(0x17c)]['retries__']);}if(testhubUtils[_0xae47bd(0x13c)]()){const _0x1a4e0a=new ObservabilityReporter();_0x1a4e0a[_0xae47bd(0x187)]();}this[_0xae47bd(0x14c)][_0xae47bd(0x18d)]={},this[_0xae47bd(0x175)]=_0x2eabe3['testEnvironmentOptions'],this[_0xae47bd(0x175)]['framework']=constants[_0xae47bd(0x18e)][_0xae47bd(0x170)],this[_0xae47bd(0x14c)][_0xae47bd(0x15c)]=(_0x2eabe3['projectConfig']?_0x2eabe3[_0xae47bd(0x186)][_0xae47bd(0x15c)]:_0x2eabe3[_0xae47bd(0x15c)])||0x0,this[_0xae47bd(0x14c)]['__platformCaps']=this[_0xae47bd(0x175)]&&this[_0xae47bd(0x175)][_0xae47bd(0x181)]&&Array['isArray'](this[_0xae47bd(0x175)][_0xae47bd(0x181)])&&this['configuration'][_0xae47bd(0x181)][this['global'][_0xae47bd(0x15c)]]||{};const _0xd50d20=this[_0xae47bd(0x14c)][_0xae47bd(0x15c)],_0x2760b3={...this[_0xae47bd(0x175)],'capability':this[_0xae47bd(0x175)][_0xae47bd(0x17a)]&&Array[_0xae47bd(0x135)](this[_0xae47bd(0x175)][_0xae47bd(0x17a)])&&this['configuration'][_0xae47bd(0x17a)][_0xd50d20]||{},'platformCaps':this[_0xae47bd(0x175)][_0xae47bd(0x181)]&&Array['isArray'](this['configuration'][_0xae47bd(0x181)])&&this[_0xae47bd(0x175)][_0xae47bd(0x181)][_0xd50d20]||{}};delete _0x2760b3[_0xae47bd(0x17a)],this['global'][_0xae47bd(0x172)]=_0x2760b3;if(_seleniumWebdriver2){const _0x4a36fd=_0xf7a250[_0xae47bd(0x17e)][_0xae47bd(0x19a)]('|');let _0x37a14d=0x0;while(!![]){switch(_0x4a36fd[_0x37a14d++]){case'0':this[_0xae47bd(0x14c)][_0xae47bd(0x15d)]=async()=>{const _0x4f2aae=_0xae47bd;await this['global'][_0x4f2aae(0x164)][_0x4f2aae(0x149)](_0xf7a250[_0x4f2aae(0x176)]);};continue;case'1':helper[_0xae47bd(0x196)](this[_0xae47bd(0x175)][_0xae47bd(0x16b)])?this[_0xae47bd(0x14c)][_0xae47bd(0x16a)]=!![]:this['global'][_0xae47bd(0x16a)]=![];continue;case'2':this[_0xae47bd(0x14c)]['__webdriver']=_0xf7a250[_0xae47bd(0x141)](require,_0xf7a250[_0xae47bd(0x189)])[_0xae47bd(0x193)]({...this['configuration'],'capability':this[_0xae47bd(0x16c)]||{}},this,testhubUtils[_0xae47bd(0x13c)]());continue;case'3':this['global'][_0xae47bd(0x160)]=helper[_0xae47bd(0x19b)](_0x2eabe3,[_0xf7a250[_0xae47bd(0x167)],_0xf7a250[_0xae47bd(0x14a)],_0xf7a250[_0xae47bd(0x195)]]);continue;case'4':this[_0xae47bd(0x14c)][_0xae47bd(0x16e)]=helper[_0xae47bd(0x196)](this[_0xae47bd(0x175)][_0xae47bd(0x13b)]);continue;case'5':this[_0xae47bd(0x14c)][_0xae47bd(0x133)]=[];continue;case'6':this['global'][_0xae47bd(0x1a0)]=helper['nestedKeyValue'](_0x2eabe3,[_0xf7a250['maqoX'],_0xf7a250['cATxk'],_0xf7a250[_0xae47bd(0x142)]]);continue;case'7':this[_0xae47bd(0x14c)][_0xae47bd(0x150)]=helper[_0xae47bd(0x19b)](_0x2eabe3,[_0xf7a250[_0xae47bd(0x167)],_0xf7a250[_0xae47bd(0x14a)],_0xf7a250[_0xae47bd(0x145)]]);continue;}break;}}}async[a16_0x35dd42(0x154)](){const _0x1e7fe0=a16_0x35dd42;_seleniumWebdriver2&&(await helper['cleanupDrivers'](this[_0x1e7fe0(0x14c)][_0x1e7fe0(0x14f)]),this[_0x1e7fe0(0x14c)][_0x1e7fe0(0x18a)]['Builder']=originalBuilder),await RequestQueueHandler[_0x1e7fe0(0x174)]()['shutdown']();}async[a16_0x35dd42(0x199)](){}async[a16_0x35dd42(0x192)](_0x580730,_0x5244cc){const _0x4dbd5e=a16_0x35dd42,_0x16efd8={};_0x16efd8[_0x4dbd5e(0x13a)]=function(_0x442926,_0x52ada1){return _0x442926===_0x52ada1;},_0x16efd8[_0x4dbd5e(0x19e)]='test_start',_0x16efd8['uaAQQ']=function(_0x39906c,_0x29fcd1){return _0x39906c===_0x29fcd1;},_0x16efd8['Dwyam']=_0x4dbd5e(0x148),_0x16efd8[_0x4dbd5e(0x18f)]=_0x4dbd5e(0x1a3),_0x16efd8[_0x4dbd5e(0x157)]='\x20>\x20',_0x16efd8[_0x4dbd5e(0x19d)]=_0x4dbd5e(0x131),_0x16efd8[_0x4dbd5e(0x185)]=_0x4dbd5e(0x154);const _0x4eb307=_0x16efd8,{name:_0x445178}=_0x580730;if(_0x4eb307['egKMO'](_0x445178,_0x4eb307[_0x4dbd5e(0x19e)])){this[_0x4dbd5e(0x14c)][_0x4dbd5e(0x1a5)]=_0x580730[_0x4dbd5e(0x18b)];if(_0x4eb307[_0x4dbd5e(0x19c)](this['global']['failFastActive'],!![])){const _0x2aaf67=_0x580730['test'][_0x4dbd5e(0x15b)];logger['info']('Fail-fast\x20is\x20active,\x20skipping\x20test::\x20'+_0x2aaf67),_0x580730[_0x4dbd5e(0x18b)]['mode']=_0x4eb307[_0x4dbd5e(0x17f)];}}if(this['failFast']&&_0x4eb307['uaAQQ'](_0x445178,_0x4eb307[_0x4dbd5e(0x18f)]))try{const _0x84d018=_0x580730['test'][_0x4dbd5e(0x188)][_0x4dbd5e(0x137)](_0x4eb307[_0x4dbd5e(0x157)]),_0x3bff82=_0x580730[_0x4dbd5e(0x18b)][_0x4dbd5e(0x15e)];await this['failFast'][_0x4dbd5e(0x132)](_0x84d018,_0x3bff82);const _0x1ba9d9=await this[_0x4dbd5e(0x152)]['shouldFailFast']();_0x4eb307[_0x4dbd5e(0x13a)](this[_0x4dbd5e(0x14c)]['failFastActive'],![])&&_0x4eb307[_0x4dbd5e(0x13a)](_0x1ba9d9,!![])&&(this[_0x4dbd5e(0x14c)][_0x4dbd5e(0x134)]=!![]);}catch(_0x53f39b){logger[_0x4dbd5e(0x14b)](_0x4eb307[_0x4dbd5e(0x19d)],_0x53f39b[_0x4dbd5e(0x144)]);}_0x4eb307[_0x4dbd5e(0x19c)](_0x445178,_0x4eb307[_0x4dbd5e(0x185)])&&(this[_0x4dbd5e(0x152)]&&this[_0x4dbd5e(0x152)][_0x4dbd5e(0x15d)]());}}module[a16_0x35dd42(0x1a4)]=CustomEnvironment;
|
|
1
|
+
const a16_0x4f8e9f=a16_0x108a;function a16_0x2adf(){const _0x25d0f7=['failFastOptions','LGTHv','shOkB','766KtzXJf','__webdriver','kAZKG','setup','requireModule','cnyuC','../../../helpers/testhub/utils','percy','percyCaptureMode','teardown','VfzPh','__drivers','2497EGcUeF','exports','dAujl','GvKNi','getTestEnvironment','nestedKeyValue','browserstackPlatformIndex','25776027VGSPRx','xyWzv','errors','framework','testContext','AKsQe','bUIMf','53548MwOrIq','vWRNi','Error\x20in\x20fail-fast\x20test_done\x20handler:','projectConfig','tAeXX','browserStackGlobals','shouldFailFast','jest-resolve','builder','debug','jestConfig','capabilities','driver','test_done','env','browserStackPercyOptions','requireSeleniumWebdriver','capability','isNotUndefined','buildName','isArray','449442YsTZFK','failFastActive','browserstackPercyBestPlatform','handleTestEvent','quit','SLjYE','jest-environment-node','__jestRetries','default','configuration','oZySZ','timeout__','mode','retries__','PgfrZ','isTrue','failFast','__platformCaps','__timeout','11305656vpmcFi','message','resolveTestEnvironment','../../../helpers/logger','BSTACK_DELTA','\x20>\x20','nXluP','RhBsM','FRAMEWORKS','testEnvironmentOptions','__skipSessionStatus','bstack:options','skip','fNUWa','../../../helpers/helper','node','bjwGy','../test-observability/obsReporter','modifyCommand','../../../helpers/test-orchestration/failfastManager','../../utils/constants','IlLsA','projectName','join','global','winstonLogger','FLjAI','onTestDone','split','../../../index','cleanup','3210137eAqXjH','0|3|2|5|7|1|6|4','getInstance','skipSessionStatus','Builder','isBrowserstackInfra','bMvqb','test','name','JEST','rjEQo','platformCaps','xqfUa','3644808WUNdHX','nReUj','registerListeners','testPath','shutdown','85QGCNnr','bXkJz','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','../../../helpers/test-observability/utils','sessionNameProvided','jest-config'];a16_0x2adf=function(){return _0x25d0f7;};return a16_0x2adf();}(function(_0x33dff8,_0x5f58de){const _0x10d123=a16_0x108a,_0x40dc2b=_0x33dff8();while(!![]){try{const _0x44d714=-parseInt(_0x10d123(0x138))/0x1*(parseInt(_0x10d123(0x12c))/0x2)+-parseInt(_0x10d123(0x15b))/0x3+-parseInt(_0x10d123(0x146))/0x4*(-parseInt(_0x10d123(0x123))/0x5)+parseInt(_0x10d123(0x11e))/0x6+-parseInt(_0x10d123(0x111))/0x7+-parseInt(_0x10d123(0x16e))/0x8+parseInt(_0x10d123(0x13f))/0x9;if(_0x44d714===_0x5f58de)break;else _0x40dc2b['push'](_0x40dc2b['shift']());}catch(_0x3e7000){_0x40dc2b['push'](_0x40dc2b['shift']());}}}(a16_0x2adf,0xb00bf));const helper=require(a16_0x4f8e9f(0x100)),constants=require(a16_0x4f8e9f(0x106)),{isTestObservabilitySession}=require(a16_0x4f8e9f(0x126)),RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),ObservabilityReporter=require(a16_0x4f8e9f(0x103)),testhubUtils=require(a16_0x4f8e9f(0x132)),logger=require(a16_0x4f8e9f(0x171))[a16_0x4f8e9f(0x10b)],getTestEnvironment=((()=>{const _0x520aa5=a16_0x4f8e9f,_0x2b7903={};_0x2b7903[_0x520aa5(0x14a)]=_0x520aa5(0x14d),_0x2b7903[_0x520aa5(0x124)]=_0x520aa5(0x128);const _0x150fb1=_0x2b7903;try{const _0x53b3f7=helper['requireModule'](_0x150fb1[_0x520aa5(0x14a)]);if(_0x53b3f7[_0x520aa5(0x170)])return _0x53b3f7[_0x520aa5(0x170)];const _0x58d1c3=helper['requireModule'](_0x150fb1[_0x520aa5(0x124)]);if(_0x58d1c3[_0x520aa5(0x13c)])return _0x58d1c3[_0x520aa5(0x13c)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x2d8a7a=a16_0x4f8e9f,_0x1895e3={'GvKNi':function(_0x309f03,_0x4e3bc9){return _0x309f03(_0x4e3bc9);},'cnyuC':_0x2d8a7a(0x101),'VfzPh':function(_0x56e058,_0x2c3f72){return _0x56e058(_0x2c3f72);},'yPZqc':_0x2d8a7a(0x161)},_0x538ad7=_0x1895e3[_0x2d8a7a(0x13b)](getTestEnvironment,{'rootDir':process['cwd'](),'testEnvironment':process[_0x2d8a7a(0x154)]['BSTACK_JEST_TEST_ENV']||_0x1895e3[_0x2d8a7a(0x131)]});if(!_0x538ad7)return _0x1895e3[_0x2d8a7a(0x136)](_interopRequireDefault,helper[_0x2d8a7a(0x130)](_0x1895e3['yPZqc']));return _0x1895e3['VfzPh'](_interopRequireDefault,helper[_0x2d8a7a(0x130)](_0x538ad7));})()),_seleniumWebdriver2=((()=>{const _0x2e8c3a=a16_0x4f8e9f,_0x2a732a={'IlLsA':function(_0x204b95,_0x150dc1){return _0x204b95(_0x150dc1);}};try{const _0x31cf5c=helper[_0x2e8c3a(0x156)]();return helper[_0x2e8c3a(0x104)](),_0x2a732a[_0x2e8c3a(0x107)](_interopRequireDefault,_0x31cf5c);}catch{return null;}})());function _interopRequireDefault(_0x1a1f01){return _0x1a1f01&&_0x1a1f01['__esModule']?_0x1a1f01:{'default':_0x1a1f01};}function a16_0x108a(_0x1caefa,_0x20966e){const _0x2adf41=a16_0x2adf();return a16_0x108a=function(_0x108ada,_0x48a864){_0x108ada=_0x108ada-0xfd;let _0x57d795=_0x2adf41[_0x108ada];return _0x57d795;},a16_0x108a(_0x1caefa,_0x20966e);}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2['default'][a16_0x4f8e9f(0x115)]:null;class CustomEnvironment extends _jestUserEnvironment[a16_0x4f8e9f(0x163)]{constructor(_0x20b7f3){const _0x1f059f=a16_0x4f8e9f,_0xaa379b={'xSSgG':_0x1f059f(0x15f),'nReUj':function(_0x5ec034,_0x5d20b3){return _0x5ec034+_0x5d20b3;},'dAujl':_0x1f059f(0xfd),'nXluP':function(_0x419c41,_0x57b552){return _0x419c41(_0x57b552);},'SBZQN':_0x1f059f(0x105),'NwVqE':_0x1f059f(0x112),'xqfUa':_0x1f059f(0x177),'LGTHv':_0x1f059f(0x155),'vWRNi':_0x1f059f(0x15d),'fNUWa':function(_0x1dad57,_0x1bde41){return _0x1dad57(_0x1bde41);},'xyWzv':_0x1f059f(0x10f),'bUIMf':_0x1f059f(0x133),'oZySZ':'percyCaptureMode'};super(_0x20b7f3),this[_0x1f059f(0x10a)][_0x1f059f(0x16d)]=0x0,this[_0x1f059f(0x164)]={};!_0x20b7f3[_0x1f059f(0x177)]&&(_0x20b7f3[_0x1f059f(0x177)]={});if(helper[_0x1f059f(0x116)]()){_0x20b7f3['testEnvironmentOptions']=_0x20b7f3['projectConfig']?_0x20b7f3[_0x1f059f(0x149)]['testEnvironmentOptions']:_0x20b7f3[_0x1f059f(0x177)];_seleniumWebdriver2&&(this[_0x1f059f(0x14e)]=new _seleniumWebdriver2[(_0x1f059f(0x163))][(_0x1f059f(0x115))]());this['capability']=_0x20b7f3['projectConfig']?_0x20b7f3[_0x1f059f(0x149)][_0x1f059f(0x157)]:_0x20b7f3[_0x1f059f(0x157)],this[_0x1f059f(0x10a)][_0x1f059f(0x16d)]=_0xaa379b[_0x1f059f(0x11f)](_0x20b7f3[_0x1f059f(0x177)][_0x1f059f(0x166)]||0x1388,constants[_0x1f059f(0x172)]),this[_0x1f059f(0x129)]=_0x20b7f3['testEnvironmentOptions'][_0x1f059f(0x16b)];if(this[_0x1f059f(0x129)]){const _0x2e6c0e=this['capability'][_0xaa379b[_0x1f059f(0x13a)]]?.[_0x1f059f(0x159)]||'',_0x18f304=this[_0x1f059f(0x157)][_0xaa379b[_0x1f059f(0x13a)]]?.[_0x1f059f(0x108)]||'';this[_0x1f059f(0x16b)]=new(_0xaa379b[_0x1f059f(0x174)](require,_0xaa379b['SBZQN']))(this[_0x1f059f(0x129)],_0x2e6c0e,_0x18f304),this[_0x1f059f(0x10a)]['failFastActive']=![];}helper[_0x1f059f(0x158)](_0x20b7f3[_0x1f059f(0x177)]['retries__'])&&(this[_0x1f059f(0x10a)][_0x1f059f(0x162)]=_0x20b7f3[_0x1f059f(0x177)][_0x1f059f(0x168)]);}if(testhubUtils['shouldProcessEventForTesthub']()){const _0x30c4ff=new ObservabilityReporter();_0x30c4ff[_0x1f059f(0x120)]();}this[_0x1f059f(0x10a)][_0x1f059f(0x14b)]={},this[_0x1f059f(0x164)]=_0x20b7f3[_0x1f059f(0x177)],this[_0x1f059f(0x164)][_0x1f059f(0x142)]=constants[_0x1f059f(0x176)][_0x1f059f(0x11a)],this['global'][_0x1f059f(0x13e)]=(_0x20b7f3[_0x1f059f(0x149)]?_0x20b7f3[_0x1f059f(0x149)]['browserstackPlatformIndex']:_0x20b7f3[_0x1f059f(0x13e)])||0x0,this[_0x1f059f(0x10a)][_0x1f059f(0x16c)]=this['configuration']&&this[_0x1f059f(0x164)][_0x1f059f(0x11c)]&&Array[_0x1f059f(0x15a)](this[_0x1f059f(0x164)][_0x1f059f(0x11c)])&&this['configuration']['platformCaps'][this[_0x1f059f(0x10a)]['browserstackPlatformIndex']]||{};const _0x1f1dc5=this[_0x1f059f(0x10a)][_0x1f059f(0x13e)],_0x1074cb={...this['configuration'],'capability':this[_0x1f059f(0x164)][_0x1f059f(0x151)]&&Array[_0x1f059f(0x15a)](this['configuration'][_0x1f059f(0x151)])&&this['configuration'][_0x1f059f(0x151)][_0x1f1dc5]||{},'platformCaps':this['configuration']['platformCaps']&&Array[_0x1f059f(0x15a)](this['configuration']['platformCaps'])&&this[_0x1f059f(0x164)]['platformCaps'][_0x1f1dc5]||{}};delete _0x1074cb[_0x1f059f(0x151)],this[_0x1f059f(0x10a)][_0x1f059f(0x150)]=_0x1074cb;if(_seleniumWebdriver2){const _0x510946=_0xaa379b['NwVqE'][_0x1f059f(0x10e)]('|');let _0x545ad9=0x0;while(!![]){switch(_0x510946[_0x545ad9++]){case'0':this[_0x1f059f(0x10a)][_0x1f059f(0x137)]=[];continue;case'1':helper[_0x1f059f(0x16a)](this['configuration']['skipSessionName'])?this[_0x1f059f(0x10a)][_0x1f059f(0x127)]=!![]:this[_0x1f059f(0x10a)]['sessionNameProvided']=![];continue;case'2':this['global'][_0x1f059f(0x15d)]=helper['nestedKeyValue'](_0x20b7f3,[_0xaa379b[_0x1f059f(0x11d)],_0xaa379b[_0x1f059f(0x12a)],_0xaa379b[_0x1f059f(0x147)]]);continue;case'3':this[_0x1f059f(0x10a)][_0x1f059f(0x12d)]=_0xaa379b[_0x1f059f(0xff)](require,_0xaa379b[_0x1f059f(0x140)])['browserstackAgentV2']({...this[_0x1f059f(0x164)],'capability':this[_0x1f059f(0x157)]||{}},this,testhubUtils['shouldProcessEventForTesthub']());continue;case'4':this[_0x1f059f(0x10a)]['cleanup']=async()=>{const _0x5dff23=_0x1f059f;await this[_0x5dff23(0x10a)][_0x5dff23(0x152)][_0x5dff23(0x15f)](_0xaa379b['xSSgG']);};continue;case'5':this['global'][_0x1f059f(0x133)]=helper[_0x1f059f(0x13d)](_0x20b7f3,[_0xaa379b['xqfUa'],_0xaa379b['LGTHv'],_0xaa379b[_0x1f059f(0x145)]]);continue;case'6':this['global'][_0x1f059f(0x178)]=helper[_0x1f059f(0x16a)](this['configuration'][_0x1f059f(0x114)]);continue;case'7':this['global'][_0x1f059f(0x134)]=helper[_0x1f059f(0x13d)](_0x20b7f3,[_0xaa379b[_0x1f059f(0x11d)],_0xaa379b[_0x1f059f(0x12a)],_0xaa379b[_0x1f059f(0x165)]]);continue;}break;}}}async[a16_0x4f8e9f(0x135)](){const _0x1aeff4=a16_0x4f8e9f;_seleniumWebdriver2&&(await helper['cleanupDrivers'](this[_0x1aeff4(0x10a)]['__driversArray']),this[_0x1aeff4(0x10a)]['__webdriver'][_0x1aeff4(0x115)]=originalBuilder),await RequestQueueHandler[_0x1aeff4(0x113)]()[_0x1aeff4(0x122)]();}async[a16_0x4f8e9f(0x12f)](){}async[a16_0x4f8e9f(0x15e)](_0x567591,_0x38a2ff){const _0x230b25=a16_0x4f8e9f,_0x47f79c={};_0x47f79c[_0x230b25(0x11b)]=function(_0x4dc16e,_0x38f451){return _0x4dc16e===_0x38f451;},_0x47f79c[_0x230b25(0x160)]='test_start',_0x47f79c['bjwGy']=_0x230b25(0xfe),_0x47f79c[_0x230b25(0x10c)]=function(_0x3cea74,_0x1fd24e){return _0x3cea74===_0x1fd24e;},_0x47f79c['bMvqb']=_0x230b25(0x153),_0x47f79c['kAZKG']=_0x230b25(0x173),_0x47f79c[_0x230b25(0x169)]=function(_0x39c22d,_0xe4b152){return _0x39c22d===_0xe4b152;},_0x47f79c['shOkB']=function(_0x4a4090,_0x1a567a){return _0x4a4090===_0x1a567a;},_0x47f79c['RhBsM']=_0x230b25(0x148),_0x47f79c[_0x230b25(0x144)]=_0x230b25(0x135);const _0x299e8c=_0x47f79c,{name:_0x2d692a}=_0x567591;if(_0x299e8c[_0x230b25(0x11b)](_0x2d692a,_0x299e8c['SLjYE'])){this[_0x230b25(0x10a)][_0x230b25(0x143)]=_0x567591[_0x230b25(0x118)];if(_0x299e8c['rjEQo'](this[_0x230b25(0x10a)][_0x230b25(0x15c)],!![])){const _0x2cf570=_0x567591[_0x230b25(0x118)][_0x230b25(0x119)];logger['info'](_0x230b25(0x125)+_0x2cf570),_0x567591[_0x230b25(0x118)][_0x230b25(0x167)]=_0x299e8c[_0x230b25(0x102)];}}if(this['failFast']&&_0x299e8c[_0x230b25(0x10c)](_0x2d692a,_0x299e8c[_0x230b25(0x117)]))try{const _0x4f3d0e=_0x567591['test'][_0x230b25(0x121)][_0x230b25(0x109)](_0x299e8c[_0x230b25(0x12e)]),_0x4cbdcd=_0x567591['test'][_0x230b25(0x141)];await this[_0x230b25(0x16b)][_0x230b25(0x10d)](_0x4f3d0e,_0x4cbdcd);const _0xdc1b00=await this['failFast'][_0x230b25(0x14c)]();_0x299e8c[_0x230b25(0x169)](this[_0x230b25(0x10a)][_0x230b25(0x15c)],![])&&_0x299e8c['shOkB'](_0xdc1b00,!![])&&(this[_0x230b25(0x10a)]['failFastActive']=!![]);}catch(_0x2fd646){logger[_0x230b25(0x14f)](_0x299e8c[_0x230b25(0x175)],_0x2fd646[_0x230b25(0x16f)]);}_0x299e8c[_0x230b25(0x12b)](_0x2d692a,_0x299e8c[_0x230b25(0x144)])&&(this[_0x230b25(0x16b)]&&this[_0x230b25(0x16b)][_0x230b25(0x110)]());}}module[a16_0x4f8e9f(0x139)]=CustomEnvironment;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a17_0x5afe0b=a17_0x51c2;(function(_0x2d5802,_0x15b46d){const _0x5b9206=a17_0x51c2,_0x428fe1=_0x2d5802();while(!![]){try{const _0x22312a=parseInt(_0x5b9206(0x1af))/0x1*(parseInt(_0x5b9206(0x193))/0x2)+parseInt(_0x5b9206(0x1a6))/0x3+-parseInt(_0x5b9206(0x17a))/0x4+-parseInt(_0x5b9206(0x1c7))/0x5+-parseInt(_0x5b9206(0x201))/0x6+-parseInt(_0x5b9206(0x15a))/0x7*(parseInt(_0x5b9206(0x1e3))/0x8)+-parseInt(_0x5b9206(0x1d3))/0x9*(-parseInt(_0x5b9206(0x226))/0xa);if(_0x22312a===_0x15b46d)break;else _0x428fe1['push'](_0x428fe1['shift']());}catch(_0x43c79d){_0x428fe1['push'](_0x428fe1['shift']());}}}(a17_0x534c,0x721c7));const {requireModule}=require('../../../helpers/helper'),ObservabilityReporter=require('../test-observability/obsReporter'),RequestQueueHandler=require(a17_0x5afe0b(0x20d)),TestDetails=require(a17_0x5afe0b(0x16b)),{patchConsoleLogger,debug}=require(a17_0x5afe0b(0x1b1)),{o11yErrorHandler}=require(a17_0x5afe0b(0x20e)),{shouldProcessEventForTesthub}=require(a17_0x5afe0b(0x1e7)),testHubConstants=require(a17_0x5afe0b(0x223)),BrowserstackCLI=require(a17_0x5afe0b(0x1f0)),TestFrameworkState=require(a17_0x5afe0b(0x195)),HookState=require('../../v2/state/hookState'),JestUtils=require(a17_0x5afe0b(0x16a)),{v4:uuidv4}=require(a17_0x5afe0b(0x209)),util=require(a17_0x5afe0b(0x1fd)),logger=require('../../../helpers/logger')[a17_0x5afe0b(0x1ef)],{FRAMEWORKS}=require(a17_0x5afe0b(0x21c));let exportsI;try{exportsI=requireModule('jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js',a17_0x5afe0b(0x18e));}catch{exportsI=requireModule(a17_0x5afe0b(0x155),a17_0x5afe0b(0x18e));}function a17_0x51c2(_0x5d94a4,_0x116fb0){const _0x534c4b=a17_0x534c();return a17_0x51c2=function(_0x51c214,_0x1c52a4){_0x51c214=_0x51c214-0x14c;let _0x508fda=_0x534c4b[_0x51c214];return _0x508fda;},a17_0x51c2(_0x5d94a4,_0x116fb0);}const initInitialize=exportsI['initialize'],jestUtils=new JestUtils(),_initializedPlatformIndices=new Set();async function isCLIReady(){const _0x596270=a17_0x5afe0b,_0x186ab4={'ySTWa':_0x596270(0x17e),'hnwgA':function(_0x249506,_0x24888){return _0x249506(_0x24888);},'VSiPy':_0x596270(0x23f),'GEKCq':function(_0x2895f7,_0x5bc770){return _0x2895f7===_0x5bc770;},'yrWpQ':'true','UuYMG':function(_0x19a837,_0x552daf){return _0x19a837(_0x552daf);}};try{const _0x4dc519=BrowserstackCLI[_0x596270(0x1cf)]();if(_0x4dc519[_0x596270(0x1a3)]()&&_0x4dc519[_0x596270(0x202)]())return logger[_0x596270(0x1ff)](_0x186ab4[_0x596270(0x1d8)]),!![];const _0x49a1c3=process['env'][_0x596270(0x177)];if(_0x49a1c3&&_0x4dc519[_0x596270(0x1a3)]()){if(!_0x4dc519['isRunning']())try{const _0xec7bdc=_0x186ab4[_0x596270(0x1b7)](require,_0x186ab4[_0x596270(0x19a)]),_0xfe5df1=_0xec7bdc[_0x596270(0x16e)]();(!_0xfe5df1||!_0xfe5df1['name'])&&(_0x186ab4[_0x596270(0x1dd)](process[_0x596270(0x183)][_0x596270(0x219)],_0x186ab4[_0x596270(0x21b)])?_0xec7bdc[_0x596270(0x182)](FRAMEWORKS[_0x596270(0x18a)],FRAMEWORKS[_0x596270(0x16c)]):_0xec7bdc[_0x596270(0x182)](FRAMEWORKS['JEST'],FRAMEWORKS[_0x596270(0x234)])),await _0x4dc519[_0x596270(0x1b5)]();}catch(_0x1c1142){return _0x186ab4['hnwgA'](debug,'Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20'+util[_0x596270(0x1ae)](_0x1c1142)),![];}return _0x4dc519['isRunning']();}return![];}catch(_0x4c4724){return _0x186ab4[_0x596270(0x1c6)](debug,_0x596270(0x188)+util[_0x596270(0x1ae)](_0x4c4724)),![];}}function a17_0x534c(){const _0x430fe7=['WsCjl','currentHook','../../v2/cliUtils','cwGdn','NLWqp','registerListeners','CRTCG','Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20','toISOString','ugcZs','errors','hook_success','POST','EventHandler','ROOT_DESCRIBE_BLOCK','jest-circus/build/jestAdapterInit.js','dsjFR','jPJUH',',\x20BROWSERSTACK_PUPPETEER=','qjRzV','49LxYXoL','HookRunStarted','[customJestAdapterInit]\x20initialize\x20called,\x20shouldProcessEventForTesthub=','forEach','lMOOX','vkyFQ','createTestFrameworkData','configuration','hCZFy','prLua','IHVKg','JYvJE','KbUrh','MqJCt','\x20>\x20','passed','../../v2/utils/jest-utils','../test-observability/test-details','PUPPETEER','ZzwGT','getAutomationFrameworkDetail','testStarted','Boogw','fail','OphlL','status','zecDi','call','HookFinished','BROWSERSTACK_CLI_BIN_SESSION_ID','TzvnP','map','2454260QJdyVB','fjRNu','makeSingleTestResult','hOVFS','CLI\x20is\x20enabled\x20and\x20running.','beforeEach','QgDxB','gbtUf','setFrameworkDetail','env','SGXPV','createIdentifierFromJestTest','[customJestAdapterInit]\x20Error\x20in\x20test_start\x20name\x20storage:\x20','wdSwQ','Error\x20checking\x20CLI\x20readiness:\x20','DkeEM','JEST','TEST','MAjHz','hook_failure','jest-circus','stack-trace','removeTestUUID','sOohq','beforeAll','22ucTKHN','jest-circus/build/state.js','../../v2/state/testFrameworkState','SOaLn','error','length','kSYtM','VSiPy','aWbGE','trackEvent','idTML','test','Error\x20handling\x20test\x20event\x20for\x20CLI:\x20','includes','XwJhy','JFyoY','isCliEnabled','BuIfP','ghauo','2697774ORkZFK','type','EVENT','toString','parse','MySpE','hook','DnDHx','format','28073QuSZJP','XndKx','../../../helpers/test-observability/utils','eHlaF','mWpTV','name','bootstrap','[customJestAdapterInit]\x20Set\x20test\x20status:\x20\x22','hnwgA','__jestCurrentTestIdentifier','hookData','BtQgo','jestConfig','Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20','testInfo','getTestFramework','keys','teardown','plndj','TestRunSkipped','Whmhw','[customJestAdapterInit]\x20Set\x20test\x20name:\x20\x22','test_start','UuYMG','1535820zuPJKa','TestRunFinished','originalTest','test_skip','vHvzL','shutdown','number','TestRunStarted','getInstance','unhandledErrors','AFTER_ALL','PPxui','341109dZeWMr','hookUUID','[customJestAdapterInit]\x20Initializing\x20for\x20platformIndex=','Error\x20routing\x20to\x20JestTestFramework:\x20','fvMlB','ySTWa','has','hookAnalyticsId','HENWA','XsZFD','GEKCq','_bstackTestName','birZP','pid','UwVST','initialize','805064SCAoJZ','TDzPR','hook_start','sendTestRunEvent','../../../helpers/testhub/utils','test_done','title','yykZT','LOG_REPORT','ijbaX','qialA','asyncError','winstonLogger','../../v2/browserstackCLI','setTestUUID',':hookAnalyticsId','add','retryOf','flJTO','removeActiveHook','addEventHandler','browserstackPlatformIndex','PRE','CkNvu','BEFORE_ALL','currentTest','util','jest-circus/build/utils.js','debug','started_at','5381094CIRJyu','isRunning','[customJestAdapterInit]\x20Error\x20building\x20test\x20name:\x20','NJIbU','_bstackTestFailureReason','HookRunFinished','BROWSERSTACK_PLATFORM_INDEX','message','uuid','afterEach','config','current_test','../../../helpers/test-observability/requestQueueHandler','../../../helpers/test-observability/error-handler','file','__bstackPlatformIndex','IsTpL','match','testAnalyticsId','Handling\x20test\x20event\x20for\x20CLI:\x20','setActiveHook','giDox','BEFORE_EACH','HookStarted','BROWSERSTACK_PUPPETEER','testIdentifier','yrWpQ','../../utils/constants','ZDKAP','kvDKQ','VwDsF','vctXe','tISKF','[customJestAdapterInit]\x20Error\x20in\x20test_done\x20status\x20storage:\x20','../../../helpers/testhub/constants','unshift','createHookData','470mPmoZN','run_describe_finish','evVzo','nYmzc','ERWHC','markedStatus','errorsDetailed','Zdzmo','_bstackTestStatus','nKAjQ','GMgWC','__workerDetails','Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20','zMMUO','PLAYWRIGHT','[customJestAdapterInit]\x20Skipping\x20heavy\x20init\x20for\x20platformIndex=','lMfSi','Handling\x20hook\x20event\x20for\x20CLI:\x20','getFileName','parent',',\x20re-registering\x20event\x20handler','GKXtM','testUUID'];a17_0x534c=function(){return _0x430fe7;};return a17_0x534c();}function getTestIdentifierForHook(_0x3b5f08){const _0x50cc5d=a17_0x5afe0b,_0x1814f2={};_0x1814f2['MqJCt']=function(_0x4eca04,_0x24c421){return _0x4eca04===_0x24c421;},_0x1814f2[_0x50cc5d(0x159)]=_0x50cc5d(0x17f),_0x1814f2[_0x50cc5d(0x1ab)]='beforeAll';const _0xcc0133=_0x1814f2;if(_0xcc0133[_0x50cc5d(0x167)](_0x3b5f08[_0x50cc5d(0x1a7)],_0xcc0133['qjRzV'])||_0xcc0133['MqJCt'](_0x3b5f08[_0x50cc5d(0x1a7)],_0xcc0133[_0x50cc5d(0x1ab)])){let _0x702f62=global[_0x50cc5d(0x1b8)];if(!_0x702f62&&_0xcc0133['MqJCt'](_0x3b5f08[_0x50cc5d(0x1a7)],_0xcc0133['MySpE'])&&_0x3b5f08[_0x50cc5d(0x239)]){const _0x3e9f1b={};_0x3e9f1b[_0x50cc5d(0x1b4)]=_0x3b5f08[_0x50cc5d(0x239)][_0x50cc5d(0x1b4)],_0x3e9f1b[_0x50cc5d(0x239)]=_0x3b5f08[_0x50cc5d(0x239)][_0x50cc5d(0x239)],_0x3e9f1b[_0x50cc5d(0x1ee)]=_0x3b5f08[_0x50cc5d(0x1ee)],_0x3e9f1b[_0x50cc5d(0x20f)]=_0x3b5f08['file'];const _0x1fa04f=_0x3e9f1b;_0x702f62=jestUtils[_0x50cc5d(0x185)](_0x1fa04f);}return _0x702f62;}return global[_0x50cc5d(0x1b8)];}function mapHookTypeToState(_0x300cf1){const _0x50aec7=a17_0x5afe0b,_0x1fd0c0={};_0x1fd0c0['beforeAll']=TestFrameworkState[_0x50aec7(0x1fb)],_0x1fd0c0['afterAll']=TestFrameworkState[_0x50aec7(0x1d1)],_0x1fd0c0[_0x50aec7(0x17f)]=TestFrameworkState['BEFORE_EACH'],_0x1fd0c0[_0x50aec7(0x20a)]=TestFrameworkState['AFTER_EACH'];const _0x39f66d=_0x1fd0c0;return _0x39f66d[_0x300cf1]||TestFrameworkState[_0x50aec7(0x217)];}async function handleHookEventCLI(_0x7aa1b,_0x12a082,_0x57e212){const _0xe0a724=a17_0x5afe0b,_0x55f394={'TDzPR':function(_0x5ddded,_0x593470){return _0x5ddded(_0x593470);},'DkeEM':_0xe0a724(0x18f),'sZLbZ':function(_0x1ada23,_0xce979a){return _0x1ada23===_0xce979a;},'zecDi':'ROOT_DESCRIBE_BLOCK','gbtUf':function(_0x1a8377){return _0x1a8377();},'KbUrh':function(_0x2105bf){return _0x2105bf();},'yykZT':function(_0x24ed01,_0x2ceab5){return _0x24ed01===_0x2ceab5;},'evVzo':'HookRunStarted','DoJGw':function(_0x2e0577,_0x24c36b){return _0x2e0577(_0x24c36b);},'ijbaX':function(_0x27b42b,_0x2ddad1){return _0x27b42b===_0x2ddad1;},'lMOOX':_0xe0a724(0x206),'PPxui':_0xe0a724(0x1ac),'qialA':function(_0x170307,_0x400e1d){return _0x170307===_0x400e1d;}};logger[_0xe0a724(0x1ff)](_0xe0a724(0x237)+_0x12a082+'\x20for\x20hook\x20type:\x20'+_0x7aa1b[_0xe0a724(0x1a7)]);try{if(_0x7aa1b['fn']&&_0x7aa1b['fn'][_0xe0a724(0x1a9)]()[_0xe0a724(0x212)](/browserstack internal helper hook/))return;if(_0x7aa1b[_0xe0a724(0x239)]&&_0x55f394['sZLbZ'](_0x7aa1b[_0xe0a724(0x239)][_0xe0a724(0x1b4)],_0x55f394[_0xe0a724(0x174)])){const _0x458a55=_0x7aa1b[_0xe0a724(0x1ee)]&&((()=>{const _0x1931e5=_0xe0a724;try{const _0x254b34=_0x55f394[_0x1931e5(0x1e4)](require,_0x55f394[_0x1931e5(0x189)]),_0x2f5527=_0x254b34[_0x1931e5(0x1aa)]['call'](_0x254b34,_0x7aa1b[_0x1931e5(0x1ee)]);return _0x2f5527[0x0]&&_0x2f5527[0x0][_0x1931e5(0x238)]?_0x2f5527[0x0]['getFileName']():null;}catch(_0x44db79){return logger['debug'](_0x1931e5(0x232)+_0x44db79[_0x1931e5(0x208)]),null;}})())||_0x7aa1b[_0xe0a724(0x20f)]||null;if(!_0x458a55)return;}let _0x53f1f5=_0x7aa1b[_0xe0a724(0x1da)];if(!_0x53f1f5)_0x53f1f5=_0x55f394[_0xe0a724(0x181)](uuidv4),_0x7aa1b[_0xe0a724(0x1da)]=_0x53f1f5;else _0x7aa1b[_0xe0a724(0x22b)]&&(_0x53f1f5=_0x55f394[_0xe0a724(0x166)](uuidv4),_0x7aa1b[_0xe0a724(0x1da)]=_0x53f1f5,delete _0x7aa1b['markedStatus']);_0x55f394['yykZT'](_0x12a082,_0x55f394[_0xe0a724(0x228)])&&(_0x7aa1b[_0xe0a724(0x200)]=new Date()[_0xe0a724(0x14e)]());const _0x446b3b=_0x55f394[_0xe0a724(0x1e4)](getTestIdentifierForHook,_0x7aa1b);!global[_0xe0a724(0x231)]&&(global[_0xe0a724(0x231)]={});if(_0x55f394['sZLbZ'](_0x12a082,_0x55f394[_0xe0a724(0x228)])){global[_0xe0a724(0x231)][_0xe0a724(0x23e)]={'hookUUID':_0x53f1f5,'testIdentifier':_0x446b3b,'hookType':_0x7aa1b[_0xe0a724(0x1a7)],'startedAt':new Date()[_0xe0a724(0x14e)]()};const _0x338716=BrowserstackCLI['getInstance']()[_0xe0a724(0x1be)]();_0x338716&&_0x338716['setActiveHook']&&_0x338716[_0xe0a724(0x215)](_0x446b3b,_0x53f1f5,_0x7aa1b[_0xe0a724(0x1a7)]);}const _0x44511d=await jestUtils[_0xe0a724(0x225)](_0x7aa1b,_0x53f1f5,_0x12a082,_0x446b3b);if(!_0x44511d)return;const _0x2f2f15=_0x55f394['DoJGw'](mapHookTypeToState,_0x7aa1b[_0xe0a724(0x1a7)]),_0x460b0f=_0x55f394[_0xe0a724(0x1ec)](_0x12a082,_0x55f394[_0xe0a724(0x228)])?HookState[_0xe0a724(0x1f9)]:HookState[_0xe0a724(0x152)],_0x5b89d8=BrowserstackCLI[_0xe0a724(0x1cf)]()[_0xe0a724(0x1be)]();if(_0x5b89d8){const _0x1353cb={};_0x1353cb[_0xe0a724(0x1b9)]=_0x44511d,await _0x5b89d8[_0xe0a724(0x19c)](_0x2f2f15,_0x460b0f,_0x1353cb);if(_0x55f394[_0xe0a724(0x1ea)](_0x12a082,_0x55f394[_0xe0a724(0x15e)])){const _0x50a02c={};_0x50a02c['testUUID']=_0x446b3b,_0x50a02c[_0xe0a724(0x1a7)]=_0x55f394[_0xe0a724(0x1d2)],await _0x5b89d8[_0xe0a724(0x19c)](TestFrameworkState[_0xe0a724(0x1eb)],HookState['POST'],_0x50a02c),global[_0xe0a724(0x231)]&&global[_0xe0a724(0x231)][_0xe0a724(0x23e)]&&_0x55f394[_0xe0a724(0x1ed)](global[_0xe0a724(0x231)][_0xe0a724(0x23e)][_0xe0a724(0x1d4)],_0x53f1f5)&&delete global[_0xe0a724(0x231)][_0xe0a724(0x23e)],_0x5b89d8[_0xe0a724(0x1f6)]&&_0x5b89d8[_0xe0a724(0x1f6)](_0x446b3b,_0x53f1f5);}}}catch(_0x428b50){logger[_0xe0a724(0x197)](_0xe0a724(0x1bc)+util[_0xe0a724(0x1ae)](_0x428b50));throw _0x428b50;}}async function handleTestEventCLI(_0x7597c6,_0x59763a,_0x515cf7){const _0xa2dfcb=a17_0x5afe0b,_0x5ba6a2={};_0x5ba6a2[_0xa2dfcb(0x204)]=function(_0x4e077c,_0x3c898d){return _0x4e077c===_0x3c898d;},_0x5ba6a2[_0xa2dfcb(0x220)]=_0xa2dfcb(0x1ce),_0x5ba6a2[_0xa2dfcb(0x22f)]=function(_0x11c0e1,_0x46267f){return _0x11c0e1>_0x46267f;},_0x5ba6a2[_0xa2dfcb(0x1a4)]=function(_0x90f113,_0x1d38c7){return _0x90f113&&_0x1d38c7;},_0x5ba6a2[_0xa2dfcb(0x156)]='failed',_0x5ba6a2[_0xa2dfcb(0x221)]=_0xa2dfcb(0x1c8),_0x5ba6a2[_0xa2dfcb(0x15f)]=function(_0x1ba244,_0x2f406a){return _0x1ba244&&_0x2f406a;},_0x5ba6a2[_0xa2dfcb(0x22d)]=_0xa2dfcb(0x19e);const _0x2c20e0=_0x5ba6a2;logger[_0xa2dfcb(0x1ff)](_0xa2dfcb(0x214)+_0x59763a);try{let _0x3651a5;if(_0x2c20e0[_0xa2dfcb(0x204)](_0x59763a,_0x2c20e0[_0xa2dfcb(0x220)])){_0x3651a5=jestUtils['createIdentifierFromJestTest'](_0x7597c6),global['__jestCurrentTestIdentifier']=_0x3651a5,_0x7597c6['testAnalyticsId']=_0x3651a5,_0x7597c6['id']=_0x3651a5,_0x7597c6['started_at']=new Date()[_0xa2dfcb(0x14e)]();const _0x5378e7=_0x515cf7['current_test'];_0x515cf7[_0xa2dfcb(0x20c)]=_0x7597c6,_0x7597c6['retryOf']=null;if(_0x2c20e0[_0xa2dfcb(0x22f)](_0x7597c6['_currentRetry'],0x0)&&_0x5378e7&&_0x2c20e0[_0xa2dfcb(0x204)](_0x5378e7[_0xa2dfcb(0x1e9)],_0x7597c6['title'])){_0x7597c6[_0xa2dfcb(0x1f4)]=_0x5378e7[_0xa2dfcb(0x213)];const _0x384cfe=await jestUtils[_0xa2dfcb(0x160)](_0x7597c6,_0x3651a5,_0x2c20e0[_0xa2dfcb(0x220)]),_0x5532cc=BrowserstackCLI[_0xa2dfcb(0x1cf)]()['getTestFramework']();if(_0x2c20e0[_0xa2dfcb(0x1a4)](_0x384cfe,_0x5532cc)){const _0x4a3b93={};_0x4a3b93[_0xa2dfcb(0x19e)]=_0x384cfe,await _0x5532cc[_0xa2dfcb(0x19c)](TestFrameworkState['TEST'],HookState[_0xa2dfcb(0x1f9)],_0x4a3b93);}_0x5378e7['state']=_0x2c20e0[_0xa2dfcb(0x156)];const _0x2c2ebe=await jestUtils[_0xa2dfcb(0x160)](_0x5378e7,_0x5378e7['testAnalyticsId'],_0x2c20e0[_0xa2dfcb(0x221)]);if(_0x2c20e0[_0xa2dfcb(0x15f)](_0x2c2ebe,_0x5532cc)){const _0x2fabcb={};_0x2fabcb[_0xa2dfcb(0x19e)]=_0x2c2ebe,await _0x5532cc[_0xa2dfcb(0x19c)](TestFrameworkState['TEST'],HookState[_0xa2dfcb(0x152)],_0x2fabcb);}}else{const _0x3e0d4c=await jestUtils[_0xa2dfcb(0x160)](_0x7597c6,_0x3651a5,_0x2c20e0[_0xa2dfcb(0x220)]),_0x2f34c2=BrowserstackCLI[_0xa2dfcb(0x1cf)]()['getTestFramework']();if(_0x2c20e0[_0xa2dfcb(0x1a4)](_0x3e0d4c,_0x2f34c2)){const _0x540c11={};_0x540c11[_0xa2dfcb(0x19e)]=_0x3e0d4c,await _0x2f34c2[_0xa2dfcb(0x19c)](TestFrameworkState['TEST'],HookState[_0xa2dfcb(0x1f9)],_0x540c11);}}}else{_0x3651a5=_0x7597c6[_0xa2dfcb(0x213)]||_0x7597c6['id']||global[_0xa2dfcb(0x1b8)];const _0x4eeb74=await jestUtils[_0xa2dfcb(0x160)](_0x7597c6,_0x3651a5,_0x59763a),_0x21b283=BrowserstackCLI[_0xa2dfcb(0x1cf)]()[_0xa2dfcb(0x1be)]();if(_0x2c20e0['vkyFQ'](_0x4eeb74,_0x21b283)){const _0x323bbf={};_0x323bbf[_0xa2dfcb(0x19e)]=_0x4eeb74,_0x323bbf[_0xa2dfcb(0x1c9)]=_0x7597c6,_0x323bbf[_0xa2dfcb(0x21a)]=_0x3651a5,await _0x21b283[_0xa2dfcb(0x19c)](TestFrameworkState[_0xa2dfcb(0x18b)],HookState[_0xa2dfcb(0x152)],_0x323bbf);const _0x1c08f7={};_0x1c08f7[_0xa2dfcb(0x23c)]=_0x3651a5,_0x1c08f7[_0xa2dfcb(0x1a7)]=_0x2c20e0[_0xa2dfcb(0x22d)],await _0x21b283[_0xa2dfcb(0x19c)](TestFrameworkState[_0xa2dfcb(0x1eb)],HookState['POST'],_0x1c08f7);}}}catch(_0x2182b7){logger[_0xa2dfcb(0x197)](_0xa2dfcb(0x19f)+util[_0xa2dfcb(0x1ae)](_0x2182b7));throw _0x2182b7;}}exportsI[a17_0x5afe0b(0x1e2)]=(..._0xd1ce5a)=>{const _0x54f28c=a17_0x5afe0b,_0x5a3ce9={'ERWHC':function(_0x120367,_0xa91823){return _0x120367(_0xa91823);},'aWbGE':function(_0x27c9a4,_0x3ccfce){return _0x27c9a4(_0x3ccfce);},'GMgWC':_0x54f28c(0x18f),'nYmzc':_0x54f28c(0x1e5),'XsZFD':function(_0x4603af,_0x3fbce5){return _0x4603af===_0x3fbce5;},'WsCjl':_0x54f28c(0x154),'hOVFS':function(_0x3c6a5d){return _0x3c6a5d();},'BtQgo':function(_0x39dbdf,_0x482463,_0x489281,_0x174e51){return _0x39dbdf(_0x482463,_0x489281,_0x174e51);},'HENWA':_0x54f28c(0x15b),'jPJUH':function(_0x29e45b,_0x9081a4){return _0x29e45b(_0x9081a4);},'kvDKQ':function(_0x48086,_0x22eb48){return _0x48086(_0x22eb48);},'Boogw':_0x54f28c(0x151),'DnDHx':function(_0x31b943,_0x487b24,_0x193990,_0x5a9de1){return _0x31b943(_0x487b24,_0x193990,_0x5a9de1);},'kSYtM':'HookRunFinished','JFyoY':'hook_failure','cwGdn':_0x54f28c(0x192),'ooYYI':_0x54f28c(0x17f),'zMMUO':_0x54f28c(0x20a),'flJTO':function(_0x2e70f8,_0x596f46){return _0x2e70f8>_0x596f46;},'IsTpL':function(_0x2a580f,_0x6e4f0f){return _0x2a580f(_0x6e4f0f);},'JYvJE':function(_0x50fdd9,_0x39aeff,_0x374ddc,_0x43bbec){return _0x50fdd9(_0x39aeff,_0x374ddc,_0x43bbec);},'fvMlB':_0x54f28c(0x1c5),'RwzoE':function(_0x11d293,_0x3cce1e){return _0x11d293!==_0x3cce1e;},'ugcZs':_0x54f28c(0x168),'birZP':function(_0x3ee12d){return _0x3ee12d();},'prLua':'TestRunStarted','hxpCs':function(_0x2990d1,_0x525b6c){return _0x2990d1(_0x525b6c);},'QgDxB':_0x54f28c(0x1e8),'lMfSi':function(_0x5c0d0e,_0xb4e9eb){return _0x5c0d0e>_0xb4e9eb;},'giDox':function(_0x38c5ef,_0x5eb71e){return _0x38c5ef===_0x5eb71e;},'XndKx':_0x54f28c(0x171),'idTML':'failed','MAjHz':_0x54f28c(0x169),'ZzwGT':function(_0x3c3e84,_0x7e9c8e){return _0x3c3e84||_0x7e9c8e;},'uTplj':function(_0x49f3e8){return _0x49f3e8();},'SGXPV':_0x54f28c(0x1c8),'NLWqp':function(_0x3b963a){return _0x3b963a();},'UwVST':_0x54f28c(0x1ca),'SOaLn':function(_0x5db4cb,_0x1ac010){return _0x5db4cb(_0x1ac010);},'XwJhy':function(_0x1acb73){return _0x1acb73();},'Whmhw':function(_0x1230aa,_0xa7dff2,_0x5abbdc,_0x412e12){return _0x1230aa(_0xa7dff2,_0x5abbdc,_0x412e12);},'VwDsF':_0x54f28c(0x1c2),'CkNvu':function(_0x50c536){return _0x50c536();},'GKXtM':_0x54f28c(0x227),'QbPxH':_0x54f28c(0x1c0),'plndj':function(_0x2c759c){return _0x2c759c();},'kcHmP':function(_0x3eb25d,_0xc47203){return _0x3eb25d===_0xc47203;},'IHVKg':_0x54f28c(0x1cd),'vHvzL':function(_0x32743c,_0x562d0a){return _0x32743c===_0x562d0a;},'TzvnP':function(_0x2f6c76,_0x129f93,_0x1226f3){return _0x2f6c76(_0x129f93,_0x1226f3);},'hCZFy':_0x54f28c(0x194),'wdSwQ':_0x54f28c(0x18e),'VmcAm':function(_0x2de618,_0x1307f7){return _0x2de618(_0x1307f7);},'sOohq':function(_0x4d39c0,_0x4478cc,_0x18ae25){return _0x4d39c0(_0x4478cc,_0x18ae25);},'pUVBz':_0x54f28c(0x1fe),'CRTCG':function(_0x223992){return _0x223992();},'ghauo':function(_0x173d70,_0x32295c,_0xe2641f){return _0x173d70(_0x32295c,_0xe2641f);},'eHlaF':_0x54f28c(0x153),'fjRNu':function(_0x50d29c,_0x3b276e){return _0x50d29c(_0x3b276e);},'OphlL':function(_0x37c20a,..._0x4972a7){return _0x37c20a(..._0x4972a7);}};try{logger[_0x54f28c(0x1ff)](_0x54f28c(0x15c)+_0x5a3ce9[_0x54f28c(0x1c1)](shouldProcessEventForTesthub)+_0x54f28c(0x158)+process[_0x54f28c(0x183)][_0x54f28c(0x219)]);const _0x44a31f=_0xd1ce5a&&_0xd1ce5a[0x0]?_0xd1ce5a[0x0]:{};let _0x26b472=0x0;try{if(_0x44a31f['config']&&_0x5a3ce9['kcHmP'](typeof _0x44a31f[_0x54f28c(0x20b)]['browserstackPlatformIndex'],_0x5a3ce9[_0x54f28c(0x164)]))_0x26b472=_0x44a31f[_0x54f28c(0x20b)][_0x54f28c(0x1f8)];else{if(_0x44a31f[_0x54f28c(0x161)]&&_0x5a3ce9[_0x54f28c(0x1cb)](typeof _0x44a31f[_0x54f28c(0x161)][_0x54f28c(0x1f8)],_0x5a3ce9['IHVKg']))_0x26b472=_0x44a31f[_0x54f28c(0x161)][_0x54f28c(0x1f8)];else global[_0x54f28c(0x1bb)]&&_0x5a3ce9[_0x54f28c(0x216)](typeof global[_0x54f28c(0x1bb)][_0x54f28c(0x1f8)],_0x5a3ce9['IHVKg'])&&(_0x26b472=global[_0x54f28c(0x1bb)]['browserstackPlatformIndex']);}}catch(_0x2b700f){logger['debug']('Error\x20reading\x20platformIndex\x20from\x20args:\x20'+util[_0x54f28c(0x1ae)](_0x2b700f));}global[_0x54f28c(0x210)]=_0x26b472,process[_0x54f28c(0x183)][_0x54f28c(0x207)]=_0x5a3ce9[_0x54f28c(0x21e)](String,_0x26b472);const _0x5cb306=new ObservabilityReporter();!_initializedPlatformIndices[_0x54f28c(0x1d9)](_0x26b472)?(logger['debug'](_0x54f28c(0x1d5)+_0x26b472),_initializedPlatformIndices[_0x54f28c(0x1f3)](_0x26b472),_0x5a3ce9[_0x54f28c(0x241)](shouldProcessEventForTesthub)&&(_0x5a3ce9[_0x54f28c(0x1c1)](patchConsoleLogger),_0x5cb306[_0x54f28c(0x242)]())):logger[_0x54f28c(0x1ff)](_0x54f28c(0x235)+_0x26b472+_0x54f28c(0x23a));let _0x475df1;try{_0x475df1=_0x5a3ce9[_0x54f28c(0x178)](requireModule,_0x5a3ce9[_0x54f28c(0x162)],_0x5a3ce9['wdSwQ']);}catch{_0x475df1=_0x5a3ce9['VmcAm'](requireModule,_0x5a3ce9[_0x54f28c(0x187)]);}let _0x4f0a2d;try{_0x4f0a2d=_0x5a3ce9[_0x54f28c(0x191)](requireModule,_0x5a3ce9['pUVBz'],_0x5a3ce9[_0x54f28c(0x187)])['makeSingleTestResult'];}catch{_0x4f0a2d=_0x5a3ce9['VmcAm'](requireModule,_0x5a3ce9[_0x54f28c(0x187)])[_0x54f28c(0x17c)]||(()=>({}));}const _0x307773=BrowserstackCLI['getInstance']()[_0x54f28c(0x1a3)]();(_0x5a3ce9[_0x54f28c(0x14c)](shouldProcessEventForTesthub)||_0x307773)&&_0x475df1[_0x54f28c(0x1f7)](_0x5a3ce9[_0x54f28c(0x1a5)](o11yErrorHandler,async(_0x1bd53b,_0x5d54f8)=>{const _0x504f25=_0x54f28c,_0x1f0dca={'qSeGz':function(_0x300dc6,_0x3e51e1){const _0x158d15=a17_0x51c2;return _0x5a3ce9[_0x158d15(0x19b)](_0x300dc6,_0x3e51e1);},'mWpTV':_0x5a3ce9[_0x504f25(0x230)]};switch(_0x1bd53b[_0x504f25(0x1b4)]){case _0x5a3ce9[_0x504f25(0x229)]:if(_0x1bd53b['hook']['fn']&&_0x1bd53b[_0x504f25(0x1ac)]['fn']['toString']()['match'](/browserstack internal helper hook/))break;if(_0x1bd53b[_0x504f25(0x1ac)][_0x504f25(0x239)]&&_0x5a3ce9[_0x504f25(0x1dc)](_0x1bd53b[_0x504f25(0x1ac)]['parent']['name'],_0x5a3ce9[_0x504f25(0x23d)])){const _0x4e18b4=_0x1bd53b['hook'][_0x504f25(0x1ee)]&&((()=>{const _0x4963be=_0x504f25;try{const _0x241849=_0x1f0dca['qSeGz'](require,_0x1f0dca[_0x4963be(0x1b3)]),_0x6f3ff9=_0x241849['parse'][_0x4963be(0x175)](_0x241849,_0x1bd53b[_0x4963be(0x1ac)][_0x4963be(0x1ee)]);return _0x6f3ff9[0x0]&&_0x6f3ff9[0x0][_0x4963be(0x238)]?_0x6f3ff9[0x0]['getFileName']():null;}catch(_0x414eee){return logger[_0x4963be(0x1ff)](_0x4963be(0x232)+_0x414eee[_0x4963be(0x208)]),null;}})())||_0x1bd53b[_0x504f25(0x1ac)]['file']||null;if(!_0x4e18b4)break;}if(BrowserstackCLI[_0x504f25(0x1cf)]()[_0x504f25(0x1a3)]()&&await _0x5a3ce9[_0x504f25(0x17d)](isCLIReady)){if(_0x5a3ce9[_0x504f25(0x22a)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x504f25(0x218)]))try{await _0x5a3ce9['BtQgo'](handleHookEventCLI,_0x1bd53b[_0x504f25(0x1ac)],_0x5a3ce9[_0x504f25(0x1db)],_0x5d54f8);break;}catch(_0x33dc2e){_0x5a3ce9[_0x504f25(0x157)](debug,_0x504f25(0x1d6)+util['format'](_0x33dc2e));}}if(_0x5a3ce9[_0x504f25(0x21e)](shouldProcessEventForTesthub,testHubConstants[_0x504f25(0x1a8)][_0x504f25(0x218)])){if(!_0x1bd53b[_0x504f25(0x1ac)][_0x504f25(0x1da)]){const _0x4ab37a=TestDetails[_0x504f25(0x1f1)](process['pid']+_0x504f25(0x1f2));_0x1bd53b['hook'][_0x504f25(0x1da)]=_0x4ab37a;}else _0x1bd53b[_0x504f25(0x1ac)][_0x504f25(0x22b)]&&(_0x1bd53b[_0x504f25(0x1ac)][_0x504f25(0x1da)]=TestDetails[_0x504f25(0x1f1)](process[_0x504f25(0x1e0)]+':hookAnalyticsId'),delete _0x1bd53b['hook'][_0x504f25(0x22b)]);_0x1bd53b[_0x504f25(0x1ac)][_0x504f25(0x200)]=new Date()['toISOString'](),await _0x5cb306[_0x504f25(0x1e6)](_0x1bd53b[_0x504f25(0x1ac)],undefined,![],_0x5a3ce9[_0x504f25(0x1db)]);}break;case _0x5a3ce9[_0x504f25(0x170)]:if(BrowserstackCLI[_0x504f25(0x1cf)]()[_0x504f25(0x1a3)]()&&await _0x5a3ce9[_0x504f25(0x17d)](isCLIReady)){if(_0x5a3ce9[_0x504f25(0x157)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x504f25(0x176)]))try{await _0x5a3ce9[_0x504f25(0x1ad)](handleHookEventCLI,_0x1bd53b[_0x504f25(0x1ac)],_0x5a3ce9['kSYtM'],_0x5d54f8);break;}catch(_0x40414f){_0x5a3ce9['kvDKQ'](debug,_0x504f25(0x1d6)+util[_0x504f25(0x1ae)](_0x40414f));}}_0x5a3ce9[_0x504f25(0x21e)](shouldProcessEventForTesthub,testHubConstants[_0x504f25(0x1a8)]['HookFinished'])&&(await _0x5cb306[_0x504f25(0x1e6)](_0x1bd53b[_0x504f25(0x1ac)],undefined,![],_0x5a3ce9[_0x504f25(0x199)]),TestDetails['removeTestUUID'](process[_0x504f25(0x1e0)]+':hookAnalyticsId'));break;case _0x5a3ce9[_0x504f25(0x1a2)]:[_0x5a3ce9[_0x504f25(0x240)],_0x5a3ce9['ooYYI'],_0x5a3ce9[_0x504f25(0x233)]][_0x504f25(0x1a0)](_0x1bd53b['hook']['type'])&&(_0x5cb306[_0x504f25(0x18d)]=_0x1bd53b['hook'][_0x504f25(0x1a7)]),_0x5d54f8[_0x504f25(0x1d0)]&&_0x5a3ce9[_0x504f25(0x1f5)](_0x5d54f8[_0x504f25(0x1d0)][_0x504f25(0x198)],0x0)&&(_0x1bd53b['hook'][_0x504f25(0x22c)]=[_0x5d54f8[_0x504f25(0x1d0)][0x0][0x0]]);if(BrowserstackCLI['getInstance']()[_0x504f25(0x1a3)]()&&await _0x5a3ce9[_0x504f25(0x17d)](isCLIReady)){if(_0x5a3ce9[_0x504f25(0x211)](shouldProcessEventForTesthub,testHubConstants[_0x504f25(0x1a8)][_0x504f25(0x176)]))try{await _0x5a3ce9[_0x504f25(0x165)](handleHookEventCLI,_0x1bd53b[_0x504f25(0x1ac)],_0x5a3ce9['kSYtM'],_0x5d54f8);break;}catch(_0x4086af){_0x5a3ce9[_0x504f25(0x211)](debug,_0x504f25(0x1d6)+util[_0x504f25(0x1ae)](_0x4086af));}}_0x5a3ce9['ERWHC'](shouldProcessEventForTesthub,testHubConstants[_0x504f25(0x1a8)][_0x504f25(0x176)])&&(await _0x5cb306[_0x504f25(0x1e6)](_0x1bd53b[_0x504f25(0x1ac)],undefined,![],_0x5a3ce9[_0x504f25(0x199)]),TestDetails[_0x504f25(0x190)](process[_0x504f25(0x1e0)]+':hookAnalyticsId'));break;case _0x5a3ce9[_0x504f25(0x1d7)]:try{let _0x396167=_0x1bd53b['test'][_0x504f25(0x1b4)]||'';try{let _0x2ea900=_0x1bd53b[_0x504f25(0x19e)][_0x504f25(0x239)];const _0x1a09a7=[_0x396167];while(_0x2ea900&&_0x2ea900['name']&&_0x5a3ce9['RwzoE'](_0x2ea900['name'],_0x5a3ce9['WsCjl'])){_0x1a09a7[_0x504f25(0x224)](_0x2ea900[_0x504f25(0x1b4)]),_0x2ea900=_0x2ea900[_0x504f25(0x239)];}_0x396167=_0x1a09a7['join'](_0x5a3ce9[_0x504f25(0x14f)]);}catch(_0xe60acf){logger[_0x504f25(0x1ff)](_0x504f25(0x203)+_0xe60acf[_0x504f25(0x208)]);}process[_0x504f25(0x1de)]=_0x396167,process[_0x504f25(0x22e)]=null,process[_0x504f25(0x205)]=null,logger[_0x504f25(0x1ff)](_0x504f25(0x1c4)+_0x396167+'\x22');if(!global[_0x504f25(0x231)]){const _0x463e77={};_0x463e77['currentTest']={},global[_0x504f25(0x231)]=_0x463e77;}!global[_0x504f25(0x231)][_0x504f25(0x1fc)]&&(global[_0x504f25(0x231)]['currentTest']={});const _0x4fe7be={};_0x4fe7be[_0x504f25(0x1e9)]=_0x396167,_0x4fe7be['name']=_0x396167,global[_0x504f25(0x231)][_0x504f25(0x1fc)][_0x504f25(0x1bd)]=_0x4fe7be,global['browserstackTestName']=_0x396167;}catch(_0x5d3f23){logger['debug'](_0x504f25(0x186)+_0x5d3f23[_0x504f25(0x208)]);}if(BrowserstackCLI[_0x504f25(0x1cf)]()['isCliEnabled']()&&await _0x5a3ce9[_0x504f25(0x1df)](isCLIReady))try{await _0x5a3ce9[_0x504f25(0x1ba)](handleTestEventCLI,_0x1bd53b[_0x504f25(0x19e)],_0x5a3ce9[_0x504f25(0x163)],_0x5cb306);break;}catch(_0x229ca6){_0x5a3ce9['hxpCs'](debug,_0x504f25(0x1d6)+util[_0x504f25(0x1ae)](_0x229ca6));}_0x5a3ce9[_0x504f25(0x1df)](shouldProcessEventForTesthub)&&await _0x5cb306[_0x504f25(0x16f)](_0x1bd53b['test']);break;case _0x5a3ce9[_0x504f25(0x180)]:_0x1bd53b[_0x504f25(0x19e)]={..._0x5a3ce9['ERWHC'](_0x4f0a2d,_0x1bd53b[_0x504f25(0x19e)]),..._0x1bd53b['test']};try{const _0x1c1e0e=_0x1bd53b[_0x504f25(0x19e)][_0x504f25(0x150)]||[],_0xa31eb0=_0x5a3ce9[_0x504f25(0x236)](_0x1c1e0e[_0x504f25(0x198)],0x0)||_0x5a3ce9[_0x504f25(0x216)](_0x1bd53b[_0x504f25(0x19e)][_0x504f25(0x173)],_0x5a3ce9[_0x504f25(0x1b0)]),_0x240cb9=_0xa31eb0?_0x5a3ce9[_0x504f25(0x19d)]:_0x5a3ce9[_0x504f25(0x18c)];let _0x23762d='';_0xa31eb0&&(_0x23762d=_0x1c1e0e[_0x504f25(0x179)](_0x4f2393=>{const _0x1700be=_0x504f25;if(Array['isArray'](_0x4f2393))return _0x4f2393[_0x1700be(0x179)](_0x19f9c0=>_0x19f9c0&&_0x19f9c0[_0x1700be(0x208)]||String(_0x19f9c0))['join'](';\x20');return _0x4f2393&&_0x4f2393['message']||_0x5a3ce9[_0x1700be(0x22a)](String,_0x4f2393);})['join'](';\x20')),process['_bstackTestStatus']=_0x240cb9,process[_0x504f25(0x205)]=_0x5a3ce9[_0x504f25(0x16d)](_0x23762d,''),logger[_0x504f25(0x1ff)](_0x504f25(0x1b6)+_0x240cb9+'\x22'),global[_0x504f25(0x231)]&&global[_0x504f25(0x231)][_0x504f25(0x1fc)]&&(!global[_0x504f25(0x231)][_0x504f25(0x1fc)][_0x504f25(0x1bd)]&&(global[_0x504f25(0x231)][_0x504f25(0x1fc)][_0x504f25(0x1bd)]={}),global[_0x504f25(0x231)][_0x504f25(0x1fc)]['testInfo']['status']=_0x240cb9,_0xa31eb0&&(global[_0x504f25(0x231)][_0x504f25(0x1fc)][_0x504f25(0x1bd)]['failureMessage']=_0x23762d));}catch(_0x741f09){logger[_0x504f25(0x1ff)](_0x504f25(0x222)+_0x741f09[_0x504f25(0x208)]);}if(!_0x1bd53b['test'][_0x504f25(0x22b)]){_0x1bd53b[_0x504f25(0x19e)]['markedStatus']=!![];if(BrowserstackCLI['getInstance']()['isCliEnabled']()&&await _0x5a3ce9['uTplj'](isCLIReady))try{await _0x5a3ce9[_0x504f25(0x1ad)](handleTestEventCLI,_0x1bd53b[_0x504f25(0x19e)],_0x5a3ce9[_0x504f25(0x184)],_0x5cb306);break;}catch(_0xc7e22c){_0x5a3ce9[_0x504f25(0x19b)](debug,_0x504f25(0x1d6)+util['format'](_0xc7e22c));}_0x5a3ce9[_0x504f25(0x241)](shouldProcessEventForTesthub)&&await _0x5cb306[_0x504f25(0x1e6)](_0x1bd53b[_0x504f25(0x19e)]);}break;case _0x5a3ce9[_0x504f25(0x1e1)]:_0x1bd53b[_0x504f25(0x19e)]={..._0x5a3ce9[_0x504f25(0x196)](_0x4f0a2d,_0x1bd53b[_0x504f25(0x19e)]),..._0x1bd53b[_0x504f25(0x19e)]};if(!_0x1bd53b[_0x504f25(0x19e)]['markedStatus']){_0x1bd53b['test'][_0x504f25(0x22b)]=!![];if(BrowserstackCLI['getInstance']()[_0x504f25(0x1a3)]()&&await _0x5a3ce9[_0x504f25(0x1a1)](isCLIReady))try{await _0x5a3ce9[_0x504f25(0x1c3)](handleTestEventCLI,_0x1bd53b[_0x504f25(0x19e)],_0x5a3ce9[_0x504f25(0x21f)],_0x5cb306);break;}catch(_0x26667d){_0x5a3ce9[_0x504f25(0x196)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util['format'](_0x26667d));}_0x5a3ce9[_0x504f25(0x1fa)](shouldProcessEventForTesthub)&&await _0x5cb306[_0x504f25(0x1e6)](_0x1bd53b[_0x504f25(0x19e)],undefined,![],_0x5a3ce9[_0x504f25(0x21f)]);}break;case _0x5a3ce9[_0x504f25(0x23b)]:_0x5cb306[_0x504f25(0x18d)]=null;break;case _0x5a3ce9['QbPxH']:await RequestQueueHandler[_0x504f25(0x1cf)]()[_0x504f25(0x1cc)](),process['removeAllListeners']();break;default:}},_0x5a3ce9[_0x54f28c(0x1b2)]));}catch(_0x19c691){_0x5a3ce9[_0x54f28c(0x17b)](debug,_0x54f28c(0x14d)+_0x19c691);}return _0x5a3ce9[_0x54f28c(0x172)](initInitialize,..._0xd1ce5a);};try{Object[a17_0x5afe0b(0x1bf)](exportsI)[a17_0x5afe0b(0x15d)](_0x4a10b5=>{const _0x516568=a17_0x5afe0b,_0x4ede4f={'ZDKAP':function(_0x141bb9,_0x581aed){return _0x141bb9(_0x581aed);}};try{exports&&(exports[_0x4a10b5]=exportsI[_0x4a10b5]);}catch(_0x42dd40){_0x4ede4f[_0x516568(0x21d)](debug,'Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20'+_0x42dd40);}});}catch(a17_0x1eabb6){debug('Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20'+a17_0x1eabb6);}
|
|
1
|
+
const a17_0x2d0728=a17_0x4f26;(function(_0x3f5875,_0xff06bf){const _0x49fe76=a17_0x4f26,_0x5ec9b3=_0x3f5875();while(!![]){try{const _0x5c4a66=-parseInt(_0x49fe76(0x1c2))/0x1+-parseInt(_0x49fe76(0x1ca))/0x2*(parseInt(_0x49fe76(0x1c6))/0x3)+parseInt(_0x49fe76(0x1b9))/0x4+parseInt(_0x49fe76(0x1d8))/0x5+-parseInt(_0x49fe76(0x19a))/0x6+parseInt(_0x49fe76(0x162))/0x7*(-parseInt(_0x49fe76(0x1c1))/0x8)+parseInt(_0x49fe76(0x1a2))/0x9;if(_0x5c4a66===_0xff06bf)break;else _0x5ec9b3['push'](_0x5ec9b3['shift']());}catch(_0x306b75){_0x5ec9b3['push'](_0x5ec9b3['shift']());}}}(a17_0x3150,0x70ff4));const {requireModule}=require('../../../helpers/helper'),ObservabilityReporter=require(a17_0x2d0728(0x1fd)),RequestQueueHandler=require(a17_0x2d0728(0x19c)),TestDetails=require(a17_0x2d0728(0x18b)),{patchConsoleLogger,debug}=require(a17_0x2d0728(0x16f)),{o11yErrorHandler}=require(a17_0x2d0728(0x214)),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils'),testHubConstants=require(a17_0x2d0728(0x191)),BrowserstackCLI=require('../../v2/browserstackCLI'),TestFrameworkState=require('../../v2/state/testFrameworkState'),HookState=require(a17_0x2d0728(0x15d)),JestUtils=require(a17_0x2d0728(0x1a0)),{v4:uuidv4}=require('uuid'),util=require(a17_0x2d0728(0x15e)),logger=require(a17_0x2d0728(0x1f3))[a17_0x2d0728(0x1a9)],{FRAMEWORKS}=require(a17_0x2d0728(0x231));let exportsI;try{exportsI=requireModule(a17_0x2d0728(0x16d),a17_0x2d0728(0x1b5));}catch{exportsI=requireModule(a17_0x2d0728(0x17a),a17_0x2d0728(0x1b5));}const initInitialize=exportsI[a17_0x2d0728(0x17e)],jestUtils=new JestUtils(),_initializedPlatformIndices=new Set();async function isCLIReady(){const _0x249e3e=a17_0x2d0728,_0xe8fb95={'IHcbj':'CLI\x20is\x20enabled\x20and\x20running.','KwcOn':function(_0x4b177a,_0x4ef876){return _0x4b177a(_0x4ef876);},'puRhI':_0x249e3e(0x15f),'UgFVO':function(_0x2423c8,_0x3b0bf1){return _0x2423c8===_0x3b0bf1;},'YKTZM':_0x249e3e(0x17b),'wacKq':function(_0xd5b8b7,_0x31fcfd){return _0xd5b8b7(_0x31fcfd);}};try{const _0x31b599=BrowserstackCLI['getInstance']();if(_0x31b599['isCliEnabled']()&&_0x31b599[_0x249e3e(0x203)]())return logger[_0x249e3e(0x1ba)](_0xe8fb95[_0x249e3e(0x193)]),!![];const _0x453e04=process['env']['BROWSERSTACK_CLI_BIN_SESSION_ID'];if(_0x453e04&&_0x31b599[_0x249e3e(0x1d0)]()){if(!_0x31b599[_0x249e3e(0x203)]())try{const _0x16b541=_0xe8fb95[_0x249e3e(0x155)](require,_0xe8fb95['puRhI']),_0x97cbb0=_0x16b541['getAutomationFrameworkDetail']();(!_0x97cbb0||!_0x97cbb0[_0x249e3e(0x1d2)])&&(_0xe8fb95[_0x249e3e(0x1bc)](process[_0x249e3e(0x1c5)][_0x249e3e(0x1e5)],_0xe8fb95[_0x249e3e(0x18d)])?_0x16b541['setFrameworkDetail'](FRAMEWORKS[_0x249e3e(0x21d)],FRAMEWORKS[_0x249e3e(0x1af)]):_0x16b541[_0x249e3e(0x169)](FRAMEWORKS['JEST'],FRAMEWORKS[_0x249e3e(0x1e9)])),await _0x31b599['bootstrap']();}catch(_0x1ad8ea){return _0xe8fb95[_0x249e3e(0x155)](debug,'Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20'+util[_0x249e3e(0x184)](_0x1ad8ea)),![];}return _0x31b599[_0x249e3e(0x203)]();}return![];}catch(_0x41a6a9){return _0xe8fb95[_0x249e3e(0x21b)](debug,'Error\x20checking\x20CLI\x20readiness:\x20'+util[_0x249e3e(0x184)](_0x41a6a9)),![];}}function a17_0x3150(){const _0x176eab=['../../../helpers/test-observability/utils','MwMTz','PRE','test','currentHook','config','FMxil','[customJestAdapterInit]\x20initialize\x20called,\x20shouldProcessEventForTesthub=','status','EVENT','configuration','jest-circus/build/jestAdapterInit.js','true','createTestFrameworkData','[customJestAdapterInit]\x20Error\x20building\x20test\x20name:\x20','initialize','aNuoR','VoIur','epstx','Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20','getFileName','format','yuyfO','JRlDy','zGuIt','\x20for\x20hook\x20type:\x20','fnDOU','createHookData','../test-observability/test-details','HookFinished','YKTZM','type','browserstackTestName','setActiveHook','../../../helpers/testhub/constants','[customJestAdapterInit]\x20Error\x20in\x20test_done\x20status\x20storage:\x20','IHcbj','daLuT','makeSingleTestResult','hook_failure','\x20>\x20','run_describe_finish','_bstackTestFailureReason','4381116aQRLHl','currentTest','../../../helpers/test-observability/requestQueueHandler',',\x20BROWSERSTACK_PUPPETEER=','yCbrs','Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20','../../v2/utils/jest-utils','removeAllListeners','17549739uAWDjc','number','markedStatus','afterEach','jestConfig','testInfo','Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20','winstonLogger','aIpss','testUUID','asyncError','__jestCurrentTestIdentifier','NhFyN','PUPPETEER','pid','Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20','_bstackTestName','Handling\x20test\x20event\x20for\x20CLI:\x20','EventHandler','jest-circus','eDgec','registerListeners','CcccP','1743004vdABhe','debug','Handling\x20hook\x20event\x20for\x20CLI:\x20','UgFVO','length','xIAHN','beforeAll','join','3983032xXUSII','819647VDsapU','hookAnalyticsId','TABHK','env','3OvFqaI','WUebf','parse','includes','1400918ogVHQT','jest-circus/build/utils.js','ZsOCW','toString','testAnalyticsId','tTueq','isCliEnabled','testStarted','name','hookData','getTestFramework','test_done','hook','BEFORE_ALL','4126425edUcdz','unNxP','DfdBv','map','BEFORE_EACH','KLDDq','_currentRetry','AFTER_ALL','Error\x20handling\x20test\x20event\x20for\x20CLI:\x20','error','failed','__workerDetails','WMquB','BROWSERSTACK_PUPPETEER','getInstance','Error\x20reading\x20platformIndex\x20from\x20args:\x20','toISOString','PLAYWRIGHT','QWlxG','KJkWk','LBdnU','MHeCA','unshift','add','VxWmX','aPlAK','HookStarted','../../../helpers/logger','eSTMp','TEST','gzubs','[customJestAdapterInit]\x20Initializing\x20for\x20platformIndex=','Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20','UCwfx','eljem','state','__bstackPlatformIndex','../test-observability/obsReporter','LOG_REPORT','removeActiveHook','jest-circus/build/state.js','wKezh','GfeEB','isRunning','vMVLB','shutdown','gpHYM',',\x20re-registering\x20event\x20handler','current_test','kNjuH','started_at','call','unhandledErrors','stack-trace','[customJestAdapterInit]\x20Skipping\x20heavy\x20init\x20for\x20platformIndex=','BROWSERSTACK_PLATFORM_INDEX','JAwuc','Error\x20routing\x20to\x20JestTestFramework:\x20','createIdentifierFromJestTest','LMDrf','../../../helpers/test-observability/error-handler','EFxVQ','KVeCe','oQmOE','HjSKZ','forEach','teardown','wacKq','[customJestAdapterInit]\x20Set\x20test\x20name:\x20\x22','JEST','hookUUID','parent','beforeEach','TestRunStarted','itvqB','test_skip','message',':hookAnalyticsId','passed','FBBrJ','trackEvent','title','HookRunStarted','auucj','QpYsu','sendTestRunEvent','OwbbC','pnaxJ','LKqIM','../../utils/constants','hook_start','eeopl','SqfNU','byoIi','FSXdG','browserstackPlatformIndex','KwcOn','TestRunSkipped','ljUTU','file','prtWh','luqLv','_bstackTestStatus','setTestUUID','../../v2/state/hookState','util','../../v2/cliUtils','removeTestUUID','UELLv','7dzGSIL','rYHFy','HaZnA','hQwfy','HookRunFinished','JmSmS','KmJeb','setFrameworkDetail','VkUkE','TestRunFinished','cgLzj','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','POST'];a17_0x3150=function(){return _0x176eab;};return a17_0x3150();}function getTestIdentifierForHook(_0x59eb0e){const _0x23f3d3=a17_0x2d0728,_0x4edd63={};_0x4edd63[_0x23f3d3(0x1fa)]=function(_0x37ced6,_0x2b4d1e){return _0x37ced6===_0x2b4d1e;},_0x4edd63['tKEuR']=_0x23f3d3(0x220),_0x4edd63[_0x23f3d3(0x217)]=function(_0x51eaf6,_0x2b2f7b){return _0x51eaf6===_0x2b2f7b;},_0x4edd63[_0x23f3d3(0x1cf)]='beforeAll',_0x4edd63[_0x23f3d3(0x1c4)]=function(_0x3c568f,_0xde8893){return _0x3c568f===_0xde8893;};const _0x3769e2=_0x4edd63;if(_0x3769e2['eljem'](_0x59eb0e[_0x23f3d3(0x18e)],_0x3769e2['tKEuR'])||_0x3769e2['oQmOE'](_0x59eb0e[_0x23f3d3(0x18e)],_0x3769e2[_0x23f3d3(0x1cf)])){let _0x6cad04=global['__jestCurrentTestIdentifier'];if(!_0x6cad04&&_0x3769e2[_0x23f3d3(0x1c4)](_0x59eb0e[_0x23f3d3(0x18e)],_0x3769e2[_0x23f3d3(0x1cf)])&&_0x59eb0e[_0x23f3d3(0x21f)]){const _0x3155e6={};_0x3155e6[_0x23f3d3(0x1d2)]=_0x59eb0e[_0x23f3d3(0x21f)][_0x23f3d3(0x1d2)],_0x3155e6[_0x23f3d3(0x21f)]=_0x59eb0e[_0x23f3d3(0x21f)][_0x23f3d3(0x21f)],_0x3155e6[_0x23f3d3(0x1ac)]=_0x59eb0e[_0x23f3d3(0x1ac)],_0x3155e6['file']=_0x59eb0e[_0x23f3d3(0x158)];const _0x5f0c89=_0x3155e6;_0x6cad04=jestUtils['createIdentifierFromJestTest'](_0x5f0c89);}return _0x6cad04;}return global[_0x23f3d3(0x1ad)];}function mapHookTypeToState(_0x3720ef){const _0x1ed83b=a17_0x2d0728,_0x5749f9={};_0x5749f9[_0x1ed83b(0x1bf)]=TestFrameworkState[_0x1ed83b(0x1d7)],_0x5749f9['afterAll']=TestFrameworkState[_0x1ed83b(0x1df)],_0x5749f9['beforeEach']=TestFrameworkState[_0x1ed83b(0x1dc)],_0x5749f9[_0x1ed83b(0x1a5)]=TestFrameworkState['AFTER_EACH'];const _0x35dea7=_0x5749f9;return _0x35dea7[_0x3720ef]||TestFrameworkState[_0x1ed83b(0x1dc)];}async function handleHookEventCLI(_0x1667d3,_0x58330b,_0x39ab0d){const _0x4f01a3=a17_0x2d0728,_0x3c0c66={'VkUkE':function(_0x3deb7d,_0x41b306){return _0x3deb7d(_0x41b306);},'oNYov':_0x4f01a3(0x20d),'epstx':function(_0x2241dc,_0xac74b6){return _0x2241dc===_0xac74b6;},'DfdBv':'ROOT_DESCRIBE_BLOCK','hQwfy':function(_0x354f4d){return _0x354f4d();},'WUebf':function(_0x1b79d5){return _0x1b79d5();},'eDgec':function(_0x998d65,_0x40f00f){return _0x998d65===_0x40f00f;},'unNxP':'HookRunStarted','beGqW':function(_0x2ded7a,_0xef2343){return _0x2ded7a(_0xef2343);},'vMVLB':_0x4f01a3(0x166),'aNuoR':_0x4f01a3(0x1d6)};logger[_0x4f01a3(0x1ba)](_0x4f01a3(0x1bb)+_0x58330b+_0x4f01a3(0x188)+_0x1667d3[_0x4f01a3(0x18e)]);try{if(_0x1667d3['fn']&&_0x1667d3['fn'][_0x4f01a3(0x1cd)]()['match'](/browserstack internal helper hook/))return;if(_0x1667d3['parent']&&_0x3c0c66[_0x4f01a3(0x181)](_0x1667d3[_0x4f01a3(0x21f)][_0x4f01a3(0x1d2)],_0x3c0c66[_0x4f01a3(0x1da)])){const _0x270657=_0x1667d3[_0x4f01a3(0x1ac)]&&((()=>{const _0x2918df=_0x4f01a3;try{const _0x357667=_0x3c0c66[_0x2918df(0x16a)](require,_0x3c0c66['oNYov']),_0x1f7a32=_0x357667[_0x2918df(0x1c8)]['call'](_0x357667,_0x1667d3[_0x2918df(0x1ac)]);return _0x1f7a32[0x0]&&_0x1f7a32[0x0]['getFileName']?_0x1f7a32[0x0][_0x2918df(0x183)]():null;}catch(_0x2c6ec1){return logger[_0x2918df(0x1ba)](_0x2918df(0x182)+_0x2c6ec1['message']),null;}})())||_0x1667d3[_0x4f01a3(0x158)]||null;if(!_0x270657)return;}let _0x32d999=_0x1667d3[_0x4f01a3(0x1c3)];if(!_0x32d999)_0x32d999=_0x3c0c66[_0x4f01a3(0x165)](uuidv4),_0x1667d3['hookAnalyticsId']=_0x32d999;else _0x1667d3['markedStatus']&&(_0x32d999=_0x3c0c66[_0x4f01a3(0x1c7)](uuidv4),_0x1667d3[_0x4f01a3(0x1c3)]=_0x32d999,delete _0x1667d3[_0x4f01a3(0x1a4)]);_0x3c0c66[_0x4f01a3(0x1b6)](_0x58330b,_0x3c0c66[_0x4f01a3(0x1d9)])&&(_0x1667d3[_0x4f01a3(0x20a)]=new Date()[_0x4f01a3(0x1e8)]());const _0x257416=_0x3c0c66['VkUkE'](getTestIdentifierForHook,_0x1667d3);!global[_0x4f01a3(0x1e3)]&&(global['__workerDetails']={});if(_0x3c0c66[_0x4f01a3(0x1b6)](_0x58330b,_0x3c0c66[_0x4f01a3(0x1d9)])){global['__workerDetails']['currentHook']={'hookUUID':_0x32d999,'testIdentifier':_0x257416,'hookType':_0x1667d3[_0x4f01a3(0x18e)],'startedAt':new Date()[_0x4f01a3(0x1e8)]()};const _0xcde77f=BrowserstackCLI[_0x4f01a3(0x1e6)]()[_0x4f01a3(0x1d4)]();_0xcde77f&&_0xcde77f[_0x4f01a3(0x190)]&&_0xcde77f['setActiveHook'](_0x257416,_0x32d999,_0x1667d3[_0x4f01a3(0x18e)]);}const _0x5f076a=await jestUtils[_0x4f01a3(0x18a)](_0x1667d3,_0x32d999,_0x58330b,_0x257416);if(!_0x5f076a)return;const _0x26727f=_0x3c0c66['beGqW'](mapHookTypeToState,_0x1667d3[_0x4f01a3(0x18e)]),_0x50d65d=_0x3c0c66[_0x4f01a3(0x1b6)](_0x58330b,_0x3c0c66[_0x4f01a3(0x1d9)])?HookState[_0x4f01a3(0x171)]:HookState[_0x4f01a3(0x16e)],_0xb7bcb0=BrowserstackCLI[_0x4f01a3(0x1e6)]()[_0x4f01a3(0x1d4)]();if(_0xb7bcb0){const _0x37a495={};_0x37a495[_0x4f01a3(0x1d3)]=_0x5f076a,await _0xb7bcb0[_0x4f01a3(0x228)](_0x26727f,_0x50d65d,_0x37a495);if(_0x3c0c66[_0x4f01a3(0x181)](_0x58330b,_0x3c0c66[_0x4f01a3(0x204)])){const _0x253b5e={};_0x253b5e[_0x4f01a3(0x1ab)]=_0x257416,_0x253b5e[_0x4f01a3(0x18e)]=_0x3c0c66[_0x4f01a3(0x17f)],await _0xb7bcb0[_0x4f01a3(0x228)](TestFrameworkState[_0x4f01a3(0x1fe)],HookState[_0x4f01a3(0x16e)],_0x253b5e),global['__workerDetails']&&global[_0x4f01a3(0x1e3)][_0x4f01a3(0x173)]&&_0x3c0c66[_0x4f01a3(0x181)](global[_0x4f01a3(0x1e3)]['currentHook'][_0x4f01a3(0x21e)],_0x32d999)&&delete global[_0x4f01a3(0x1e3)][_0x4f01a3(0x173)],_0xb7bcb0[_0x4f01a3(0x1ff)]&&_0xb7bcb0[_0x4f01a3(0x1ff)](_0x257416,_0x32d999);}}}catch(_0x1dd5f9){logger[_0x4f01a3(0x1e1)](_0x4f01a3(0x1f8)+util[_0x4f01a3(0x184)](_0x1dd5f9));throw _0x1dd5f9;}}async function handleTestEventCLI(_0xd4ef37,_0x433694,_0xabef62){const _0x26f897=a17_0x2d0728,_0x478dd4={};_0x478dd4[_0x26f897(0x202)]=function(_0x4025e7,_0x82a638){return _0x4025e7===_0x82a638;},_0x478dd4[_0x26f897(0x1f1)]='TestRunStarted',_0x478dd4[_0x26f897(0x161)]=function(_0x5a57eb,_0x123788){return _0x5a57eb>_0x123788;},_0x478dd4[_0x26f897(0x16c)]=function(_0x36e3a3,_0xfd1509){return _0x36e3a3&&_0xfd1509;},_0x478dd4[_0x26f897(0x153)]=_0x26f897(0x1e2),_0x478dd4['ZsOCW']=_0x26f897(0x16b),_0x478dd4[_0x26f897(0x218)]=function(_0x3e3344,_0x326cdd){return _0x3e3344&&_0x326cdd;},_0x478dd4['XbNGt']=_0x26f897(0x172);const _0x1986f7=_0x478dd4;logger['debug'](_0x26f897(0x1b3)+_0x433694);try{let _0xd0456e;if(_0x1986f7[_0x26f897(0x202)](_0x433694,_0x1986f7[_0x26f897(0x1f1)])){_0xd0456e=jestUtils[_0x26f897(0x212)](_0xd4ef37),global['__jestCurrentTestIdentifier']=_0xd0456e,_0xd4ef37['testAnalyticsId']=_0xd0456e,_0xd4ef37['id']=_0xd0456e,_0xd4ef37[_0x26f897(0x20a)]=new Date()['toISOString']();const _0x274feb=_0xabef62['current_test'];_0xabef62[_0x26f897(0x208)]=_0xd4ef37,_0xd4ef37['retryOf']=null;if(_0x1986f7[_0x26f897(0x161)](_0xd4ef37[_0x26f897(0x1de)],0x0)&&_0x274feb&&_0x1986f7[_0x26f897(0x202)](_0x274feb[_0x26f897(0x229)],_0xd4ef37[_0x26f897(0x229)])){_0xd4ef37['retryOf']=_0x274feb[_0x26f897(0x1ce)];const _0x40d70f=await jestUtils[_0x26f897(0x17c)](_0xd4ef37,_0xd0456e,_0x1986f7[_0x26f897(0x1f1)]),_0x34d725=BrowserstackCLI['getInstance']()[_0x26f897(0x1d4)]();if(_0x1986f7['cgLzj'](_0x40d70f,_0x34d725)){const _0x431229={};_0x431229['test']=_0x40d70f,await _0x34d725[_0x26f897(0x228)](TestFrameworkState[_0x26f897(0x1f5)],HookState[_0x26f897(0x171)],_0x431229);}_0x274feb[_0x26f897(0x1fb)]=_0x1986f7[_0x26f897(0x153)];const _0x165650=await jestUtils[_0x26f897(0x17c)](_0x274feb,_0x274feb[_0x26f897(0x1ce)],_0x1986f7[_0x26f897(0x1cc)]);if(_0x1986f7[_0x26f897(0x218)](_0x165650,_0x34d725)){const _0x241357={};_0x241357[_0x26f897(0x172)]=_0x165650,await _0x34d725[_0x26f897(0x228)](TestFrameworkState[_0x26f897(0x1f5)],HookState[_0x26f897(0x16e)],_0x241357);}}else{const _0x134c46=await jestUtils[_0x26f897(0x17c)](_0xd4ef37,_0xd0456e,_0x1986f7[_0x26f897(0x1f1)]),_0xad5606=BrowserstackCLI[_0x26f897(0x1e6)]()[_0x26f897(0x1d4)]();if(_0x1986f7[_0x26f897(0x218)](_0x134c46,_0xad5606)){const _0x1aa353={};_0x1aa353[_0x26f897(0x172)]=_0x134c46,await _0xad5606['trackEvent'](TestFrameworkState[_0x26f897(0x1f5)],HookState[_0x26f897(0x171)],_0x1aa353);}}}else{_0xd0456e=_0xd4ef37[_0x26f897(0x1ce)]||_0xd4ef37['id']||global[_0x26f897(0x1ad)];const _0x40e1b8=await jestUtils[_0x26f897(0x17c)](_0xd4ef37,_0xd0456e,_0x433694),_0x2cf1e1=BrowserstackCLI[_0x26f897(0x1e6)]()[_0x26f897(0x1d4)]();if(_0x1986f7[_0x26f897(0x16c)](_0x40e1b8,_0x2cf1e1)){const _0x3a6b9c={};_0x3a6b9c['test']=_0x40e1b8,_0x3a6b9c['originalTest']=_0xd4ef37,_0x3a6b9c['testIdentifier']=_0xd0456e,await _0x2cf1e1[_0x26f897(0x228)](TestFrameworkState['TEST'],HookState[_0x26f897(0x16e)],_0x3a6b9c);const _0x44b7b0={};_0x44b7b0[_0x26f897(0x1ab)]=_0xd0456e,_0x44b7b0[_0x26f897(0x18e)]=_0x1986f7['XbNGt'],await _0x2cf1e1[_0x26f897(0x228)](TestFrameworkState[_0x26f897(0x1fe)],HookState['POST'],_0x44b7b0);}}}catch(_0x53d7d6){logger[_0x26f897(0x1e1)](_0x26f897(0x1e0)+util[_0x26f897(0x184)](_0x53d7d6));throw _0x53d7d6;}}function a17_0x4f26(_0x5a66cc,_0x23ccb8){const _0x3150f7=a17_0x3150();return a17_0x4f26=function(_0x4f2690,_0x1b38f5){_0x4f2690=_0x4f2690-0x150;let _0x5831ba=_0x3150f7[_0x4f2690];return _0x5831ba;},a17_0x4f26(_0x5a66cc,_0x23ccb8);}exportsI['initialize']=(..._0x56ff58)=>{const _0x1cd0f0=a17_0x2d0728,_0x140c25={'LBdnU':function(_0x51851d,_0x48204c){return _0x51851d(_0x48204c);},'nheAO':_0x1cd0f0(0x20d),'gpHYM':_0x1cd0f0(0x232),'EFxVQ':function(_0x4fd914,_0x151694){return _0x4fd914===_0x151694;},'yCbrs':'ROOT_DESCRIBE_BLOCK','ljUTU':function(_0xea2e9b){return _0xea2e9b();},'JmSmS':function(_0xe6596a,_0x5188bd,_0x5af85d,_0x143557){return _0xe6596a(_0x5188bd,_0x5af85d,_0x143557);},'SqfNU':_0x1cd0f0(0x22a),'MwMTz':function(_0x56d70b,_0x634b51){return _0x56d70b(_0x634b51);},'fnDOU':'hook_success','JAwuc':function(_0x4b8e93,_0x3eede4){return _0x4b8e93(_0x3eede4);},'eSTMp':_0x1cd0f0(0x166),'HaZnA':function(_0x2bf9f0,_0x593cd3){return _0x2bf9f0(_0x593cd3);},'rYHFy':_0x1cd0f0(0x196),'SWHoH':_0x1cd0f0(0x1bf),'VoIur':_0x1cd0f0(0x220),'CcccP':_0x1cd0f0(0x1a5),'eeopl':function(_0x50bb12,_0x3852c1){return _0x50bb12>_0x3852c1;},'itvqB':function(_0x1cf1f6,_0x28ed4f){return _0x1cf1f6(_0x28ed4f);},'auucj':'test_start','qlsvA':function(_0x648ff5,_0x16aaec){return _0x648ff5!==_0x16aaec;},'NhFyN':_0x1cd0f0(0x197),'pnaxJ':_0x1cd0f0(0x221),'OwbbC':function(_0x2909df,_0x43226a){return _0x2909df(_0x43226a);},'luqLv':function(_0xd9bdc0){return _0xd9bdc0();},'FMxil':_0x1cd0f0(0x1d5),'QWlxG':function(_0x1cd358,_0x6fba5b){return _0x1cd358(_0x6fba5b);},'FBBrJ':'fail','UCwfx':'failed','QpYsu':_0x1cd0f0(0x226),'KVeCe':function(_0x29ccde,_0x5733ae){return _0x29ccde||_0x5733ae;},'JRlDy':_0x1cd0f0(0x16b),'gzubs':function(_0x257378,_0x344924){return _0x257378(_0x344924);},'zGuIt':_0x1cd0f0(0x223),'LKqIM':function(_0x29af73,_0xe14d73){return _0x29af73(_0xe14d73);},'WMquB':function(_0xd507b6,_0x443cac,_0x5497e4,_0x4a1408){return _0xd507b6(_0x443cac,_0x5497e4,_0x4a1408);},'tqrTc':_0x1cd0f0(0x156),'KLDDq':function(_0x6414c1,_0x52566e){return _0x6414c1(_0x52566e);},'prtWh':function(_0x307d8a){return _0x307d8a();},'kNjuH':_0x1cd0f0(0x198),'byoIi':_0x1cd0f0(0x21a),'buXyK':function(_0x3e4466){return _0x3e4466();},'daLuT':_0x1cd0f0(0x1a3),'xIAHN':function(_0x5e6704,_0x496555){return _0x5e6704===_0x496555;},'mobSf':function(_0x1dbc4d){return _0x1dbc4d();},'wKezh':function(_0x5dbc88,_0x1474a8,_0x3fdeff){return _0x5dbc88(_0x1474a8,_0x3fdeff);},'LMDrf':_0x1cd0f0(0x200),'VxWmX':'jest-circus','KmJeb':_0x1cd0f0(0x1cb),'MHeCA':function(_0x45f310){return _0x45f310();},'USQtV':function(_0x1e3e4c,_0x3fc6e0,_0xa2ddce){return _0x1e3e4c(_0x3fc6e0,_0xa2ddce);},'xnpQE':_0x1cd0f0(0x1b4),'MiFgX':function(_0x46653f,_0x27ee1e){return _0x46653f(_0x27ee1e);}};try{logger[_0x1cd0f0(0x1ba)](_0x1cd0f0(0x176)+_0x140c25['buXyK'](shouldProcessEventForTesthub)+_0x1cd0f0(0x19d)+process[_0x1cd0f0(0x1c5)][_0x1cd0f0(0x1e5)]);const _0x494fee=_0x56ff58&&_0x56ff58[0x0]?_0x56ff58[0x0]:{};let _0x378165=0x0;try{if(_0x494fee[_0x1cd0f0(0x174)]&&_0x140c25[_0x1cd0f0(0x215)](typeof _0x494fee[_0x1cd0f0(0x174)]['browserstackPlatformIndex'],_0x140c25[_0x1cd0f0(0x194)]))_0x378165=_0x494fee['config'][_0x1cd0f0(0x154)];else{if(_0x494fee[_0x1cd0f0(0x179)]&&_0x140c25[_0x1cd0f0(0x1be)](typeof _0x494fee[_0x1cd0f0(0x179)][_0x1cd0f0(0x154)],_0x140c25[_0x1cd0f0(0x194)]))_0x378165=_0x494fee[_0x1cd0f0(0x179)][_0x1cd0f0(0x154)];else global['jestConfig']&&_0x140c25[_0x1cd0f0(0x215)](typeof global[_0x1cd0f0(0x1a6)][_0x1cd0f0(0x154)],_0x140c25[_0x1cd0f0(0x194)])&&(_0x378165=global[_0x1cd0f0(0x1a6)]['browserstackPlatformIndex']);}}catch(_0x36cd24){logger[_0x1cd0f0(0x1ba)](_0x1cd0f0(0x1e7)+util[_0x1cd0f0(0x184)](_0x36cd24));}global[_0x1cd0f0(0x1fc)]=_0x378165,process[_0x1cd0f0(0x1c5)][_0x1cd0f0(0x20f)]=_0x140c25[_0x1cd0f0(0x222)](String,_0x378165);const _0x4ec6cd=new ObservabilityReporter();!_initializedPlatformIndices['has'](_0x378165)?(logger[_0x1cd0f0(0x1ba)](_0x1cd0f0(0x1f7)+_0x378165),_initializedPlatformIndices[_0x1cd0f0(0x1ef)](_0x378165),_0x140c25[_0x1cd0f0(0x157)](shouldProcessEventForTesthub)&&(_0x140c25['mobSf'](patchConsoleLogger),_0x4ec6cd[_0x1cd0f0(0x1b7)]())):logger[_0x1cd0f0(0x1ba)](_0x1cd0f0(0x20e)+_0x378165+_0x1cd0f0(0x207));let _0x5522d1;try{_0x5522d1=_0x140c25[_0x1cd0f0(0x201)](requireModule,_0x140c25[_0x1cd0f0(0x213)],_0x140c25[_0x1cd0f0(0x1f0)]);}catch{_0x5522d1=_0x140c25[_0x1cd0f0(0x1dd)](requireModule,_0x140c25[_0x1cd0f0(0x1f0)]);}let _0x547fe6;try{_0x547fe6=_0x140c25[_0x1cd0f0(0x201)](requireModule,_0x140c25[_0x1cd0f0(0x168)],_0x140c25[_0x1cd0f0(0x1f0)])['makeSingleTestResult'];}catch{_0x547fe6=_0x140c25['itvqB'](requireModule,_0x140c25[_0x1cd0f0(0x1f0)])[_0x1cd0f0(0x195)]||(()=>({}));}const _0xf0cb08=BrowserstackCLI[_0x1cd0f0(0x1e6)]()[_0x1cd0f0(0x1d0)]();(_0x140c25[_0x1cd0f0(0x1ed)](shouldProcessEventForTesthub)||_0xf0cb08)&&_0x5522d1['addEventHandler'](_0x140c25['USQtV'](o11yErrorHandler,async(_0x26741a,_0x7a4d15)=>{const _0x3bd93f=_0x1cd0f0,_0x83573e={'KJkWk':function(_0x4e4780,_0xfc57c1){const _0x4a6891=a17_0x4f26;return _0x140c25[_0x4a6891(0x1ec)](_0x4e4780,_0xfc57c1);},'aIpss':_0x140c25['nheAO']};switch(_0x26741a[_0x3bd93f(0x1d2)]){case _0x140c25[_0x3bd93f(0x206)]:if(_0x26741a[_0x3bd93f(0x1d6)]['fn']&&_0x26741a[_0x3bd93f(0x1d6)]['fn']['toString']()['match'](/browserstack internal helper hook/))break;if(_0x26741a[_0x3bd93f(0x1d6)][_0x3bd93f(0x21f)]&&_0x140c25['EFxVQ'](_0x26741a[_0x3bd93f(0x1d6)][_0x3bd93f(0x21f)]['name'],_0x140c25['yCbrs'])){const _0x1213a5=_0x26741a['hook'][_0x3bd93f(0x1ac)]&&((()=>{const _0x3070ad=_0x3bd93f;try{const _0x5ddeb7=_0x83573e[_0x3070ad(0x1eb)](require,_0x83573e[_0x3070ad(0x1aa)]),_0x3a52f9=_0x5ddeb7[_0x3070ad(0x1c8)][_0x3070ad(0x20b)](_0x5ddeb7,_0x26741a[_0x3070ad(0x1d6)][_0x3070ad(0x1ac)]);return _0x3a52f9[0x0]&&_0x3a52f9[0x0][_0x3070ad(0x183)]?_0x3a52f9[0x0][_0x3070ad(0x183)]():null;}catch(_0x19ffaf){return logger[_0x3070ad(0x1ba)](_0x3070ad(0x182)+_0x19ffaf[_0x3070ad(0x224)]),null;}})())||_0x26741a[_0x3bd93f(0x1d6)][_0x3bd93f(0x158)]||null;if(!_0x1213a5)break;}if(BrowserstackCLI[_0x3bd93f(0x1e6)]()[_0x3bd93f(0x1d0)]()&&await _0x140c25['ljUTU'](isCLIReady)){if(_0x140c25[_0x3bd93f(0x1ec)](shouldProcessEventForTesthub,testHubConstants[_0x3bd93f(0x178)]['HookStarted']))try{await _0x140c25[_0x3bd93f(0x167)](handleHookEventCLI,_0x26741a[_0x3bd93f(0x1d6)],_0x140c25['SqfNU'],_0x7a4d15);break;}catch(_0x405264){_0x140c25['MwMTz'](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x3bd93f(0x184)](_0x405264));}}if(_0x140c25[_0x3bd93f(0x1ec)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x3bd93f(0x1f2)])){if(!_0x26741a[_0x3bd93f(0x1d6)]['hookAnalyticsId']){const _0x479bf0=TestDetails[_0x3bd93f(0x15c)](process[_0x3bd93f(0x1b0)]+_0x3bd93f(0x225));_0x26741a[_0x3bd93f(0x1d6)]['hookAnalyticsId']=_0x479bf0;}else _0x26741a[_0x3bd93f(0x1d6)]['markedStatus']&&(_0x26741a[_0x3bd93f(0x1d6)]['hookAnalyticsId']=TestDetails[_0x3bd93f(0x15c)](process['pid']+_0x3bd93f(0x225)),delete _0x26741a[_0x3bd93f(0x1d6)]['markedStatus']);_0x26741a[_0x3bd93f(0x1d6)][_0x3bd93f(0x20a)]=new Date()['toISOString'](),await _0x4ec6cd['sendTestRunEvent'](_0x26741a['hook'],undefined,![],_0x140c25[_0x3bd93f(0x151)]);}break;case _0x140c25[_0x3bd93f(0x189)]:if(BrowserstackCLI['getInstance']()[_0x3bd93f(0x1d0)]()&&await _0x140c25[_0x3bd93f(0x157)](isCLIReady)){if(_0x140c25[_0x3bd93f(0x210)](shouldProcessEventForTesthub,testHubConstants[_0x3bd93f(0x178)][_0x3bd93f(0x18c)]))try{await _0x140c25[_0x3bd93f(0x167)](handleHookEventCLI,_0x26741a[_0x3bd93f(0x1d6)],_0x140c25[_0x3bd93f(0x1f4)],_0x7a4d15);break;}catch(_0x1f7839){_0x140c25[_0x3bd93f(0x164)](debug,_0x3bd93f(0x211)+util[_0x3bd93f(0x184)](_0x1f7839));}}_0x140c25[_0x3bd93f(0x170)](shouldProcessEventForTesthub,testHubConstants[_0x3bd93f(0x178)][_0x3bd93f(0x18c)])&&(await _0x4ec6cd['sendTestRunEvent'](_0x26741a[_0x3bd93f(0x1d6)],undefined,![],_0x140c25[_0x3bd93f(0x1f4)]),TestDetails[_0x3bd93f(0x160)](process[_0x3bd93f(0x1b0)]+_0x3bd93f(0x225)));break;case _0x140c25[_0x3bd93f(0x163)]:[_0x140c25['SWHoH'],_0x140c25[_0x3bd93f(0x180)],_0x140c25[_0x3bd93f(0x1b8)]][_0x3bd93f(0x1c9)](_0x26741a[_0x3bd93f(0x1d6)][_0x3bd93f(0x18e)])&&(_0x4ec6cd[_0x3bd93f(0x196)]=_0x26741a[_0x3bd93f(0x1d6)][_0x3bd93f(0x18e)]),_0x7a4d15[_0x3bd93f(0x20c)]&&_0x140c25[_0x3bd93f(0x150)](_0x7a4d15[_0x3bd93f(0x20c)]['length'],0x0)&&(_0x26741a[_0x3bd93f(0x1d6)]['errorsDetailed']=[_0x7a4d15[_0x3bd93f(0x20c)][0x0][0x0]]);if(BrowserstackCLI['getInstance']()[_0x3bd93f(0x1d0)]()&&await _0x140c25[_0x3bd93f(0x157)](isCLIReady)){if(_0x140c25['LBdnU'](shouldProcessEventForTesthub,testHubConstants[_0x3bd93f(0x178)][_0x3bd93f(0x18c)]))try{await _0x140c25[_0x3bd93f(0x167)](handleHookEventCLI,_0x26741a[_0x3bd93f(0x1d6)],_0x140c25[_0x3bd93f(0x1f4)],_0x7a4d15);break;}catch(_0x52a75e){_0x140c25[_0x3bd93f(0x222)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x3bd93f(0x184)](_0x52a75e));}}_0x140c25[_0x3bd93f(0x164)](shouldProcessEventForTesthub,testHubConstants[_0x3bd93f(0x178)][_0x3bd93f(0x18c)])&&(await _0x4ec6cd[_0x3bd93f(0x22d)](_0x26741a[_0x3bd93f(0x1d6)],undefined,![],_0x140c25[_0x3bd93f(0x1f4)]),TestDetails[_0x3bd93f(0x160)](process[_0x3bd93f(0x1b0)]+_0x3bd93f(0x225)));break;case _0x140c25[_0x3bd93f(0x22b)]:try{let _0x5a0c88=_0x26741a[_0x3bd93f(0x172)][_0x3bd93f(0x1d2)]||'';try{let _0x5a459e=_0x26741a[_0x3bd93f(0x172)][_0x3bd93f(0x21f)];const _0x3f577c=[_0x5a0c88];while(_0x5a459e&&_0x5a459e[_0x3bd93f(0x1d2)]&&_0x140c25['qlsvA'](_0x5a459e['name'],_0x140c25[_0x3bd93f(0x19e)])){_0x3f577c[_0x3bd93f(0x1ee)](_0x5a459e[_0x3bd93f(0x1d2)]),_0x5a459e=_0x5a459e[_0x3bd93f(0x21f)];}_0x5a0c88=_0x3f577c[_0x3bd93f(0x1c0)](_0x140c25[_0x3bd93f(0x1ae)]);}catch(_0xab5061){logger[_0x3bd93f(0x1ba)](_0x3bd93f(0x17d)+_0xab5061[_0x3bd93f(0x224)]);}process[_0x3bd93f(0x1b2)]=_0x5a0c88,process[_0x3bd93f(0x15b)]=null,process[_0x3bd93f(0x199)]=null,logger[_0x3bd93f(0x1ba)](_0x3bd93f(0x21c)+_0x5a0c88+'\x22');if(!global['__workerDetails']){const _0x5c3317={};_0x5c3317[_0x3bd93f(0x19b)]={},global['__workerDetails']=_0x5c3317;}!global['__workerDetails'][_0x3bd93f(0x19b)]&&(global[_0x3bd93f(0x1e3)][_0x3bd93f(0x19b)]={});const _0x141d30={};_0x141d30['title']=_0x5a0c88,_0x141d30[_0x3bd93f(0x1d2)]=_0x5a0c88,global['__workerDetails']['currentTest'][_0x3bd93f(0x1a7)]=_0x141d30,global[_0x3bd93f(0x18f)]=_0x5a0c88;}catch(_0xc3e8db){logger['debug']('[customJestAdapterInit]\x20Error\x20in\x20test_start\x20name\x20storage:\x20'+_0xc3e8db[_0x3bd93f(0x224)]);}if(BrowserstackCLI[_0x3bd93f(0x1e6)]()['isCliEnabled']()&&await _0x140c25[_0x3bd93f(0x157)](isCLIReady))try{await _0x140c25[_0x3bd93f(0x167)](handleTestEventCLI,_0x26741a['test'],_0x140c25[_0x3bd93f(0x22f)],_0x4ec6cd);break;}catch(_0x4457e3){_0x140c25['OwbbC'](debug,_0x3bd93f(0x211)+util[_0x3bd93f(0x184)](_0x4457e3));}_0x140c25['luqLv'](shouldProcessEventForTesthub)&&await _0x4ec6cd[_0x3bd93f(0x1d1)](_0x26741a['test']);break;case _0x140c25[_0x3bd93f(0x175)]:_0x26741a[_0x3bd93f(0x172)]={..._0x140c25[_0x3bd93f(0x1ea)](_0x547fe6,_0x26741a[_0x3bd93f(0x172)]),..._0x26741a[_0x3bd93f(0x172)]};try{const _0x59bf79=_0x26741a[_0x3bd93f(0x172)]['errors']||[],_0x5da8ba=_0x140c25['eeopl'](_0x59bf79[_0x3bd93f(0x1bd)],0x0)||_0x140c25[_0x3bd93f(0x215)](_0x26741a[_0x3bd93f(0x172)]['status'],_0x140c25[_0x3bd93f(0x227)]),_0x2a490f=_0x5da8ba?_0x140c25[_0x3bd93f(0x1f9)]:_0x140c25[_0x3bd93f(0x22c)];let _0x57bb57='';_0x5da8ba&&(_0x57bb57=_0x59bf79[_0x3bd93f(0x1db)](_0x3647a3=>{const _0x381cb9=_0x3bd93f;if(Array['isArray'](_0x3647a3))return _0x3647a3[_0x381cb9(0x1db)](_0x42b7c0=>_0x42b7c0&&_0x42b7c0[_0x381cb9(0x224)]||String(_0x42b7c0))[_0x381cb9(0x1c0)](';\x20');return _0x3647a3&&_0x3647a3[_0x381cb9(0x224)]||_0x140c25[_0x381cb9(0x1ec)](String,_0x3647a3);})[_0x3bd93f(0x1c0)](';\x20')),process[_0x3bd93f(0x15b)]=_0x2a490f,process[_0x3bd93f(0x199)]=_0x140c25[_0x3bd93f(0x216)](_0x57bb57,''),logger[_0x3bd93f(0x1ba)]('[customJestAdapterInit]\x20Set\x20test\x20status:\x20\x22'+_0x2a490f+'\x22'),global[_0x3bd93f(0x1e3)]&&global[_0x3bd93f(0x1e3)][_0x3bd93f(0x19b)]&&(!global[_0x3bd93f(0x1e3)][_0x3bd93f(0x19b)][_0x3bd93f(0x1a7)]&&(global['__workerDetails']['currentTest'][_0x3bd93f(0x1a7)]={}),global[_0x3bd93f(0x1e3)]['currentTest'][_0x3bd93f(0x1a7)][_0x3bd93f(0x177)]=_0x2a490f,_0x5da8ba&&(global['__workerDetails']['currentTest']['testInfo']['failureMessage']=_0x57bb57));}catch(_0x102051){logger[_0x3bd93f(0x1ba)](_0x3bd93f(0x192)+_0x102051[_0x3bd93f(0x224)]);}if(!_0x26741a[_0x3bd93f(0x172)][_0x3bd93f(0x1a4)]){_0x26741a[_0x3bd93f(0x172)]['markedStatus']=!![];if(BrowserstackCLI[_0x3bd93f(0x1e6)]()[_0x3bd93f(0x1d0)]()&&await _0x140c25[_0x3bd93f(0x15a)](isCLIReady))try{await _0x140c25[_0x3bd93f(0x167)](handleTestEventCLI,_0x26741a[_0x3bd93f(0x172)],_0x140c25[_0x3bd93f(0x186)],_0x4ec6cd);break;}catch(_0x29bd55){_0x140c25[_0x3bd93f(0x1f6)](debug,_0x3bd93f(0x211)+util[_0x3bd93f(0x184)](_0x29bd55));}_0x140c25[_0x3bd93f(0x157)](shouldProcessEventForTesthub)&&await _0x4ec6cd['sendTestRunEvent'](_0x26741a[_0x3bd93f(0x172)]);}break;case _0x140c25[_0x3bd93f(0x187)]:_0x26741a[_0x3bd93f(0x172)]={..._0x140c25[_0x3bd93f(0x230)](_0x547fe6,_0x26741a[_0x3bd93f(0x172)]),..._0x26741a[_0x3bd93f(0x172)]};if(!_0x26741a['test'][_0x3bd93f(0x1a4)]){_0x26741a[_0x3bd93f(0x172)][_0x3bd93f(0x1a4)]=!![];if(BrowserstackCLI['getInstance']()[_0x3bd93f(0x1d0)]()&&await _0x140c25[_0x3bd93f(0x157)](isCLIReady))try{await _0x140c25[_0x3bd93f(0x1e4)](handleTestEventCLI,_0x26741a[_0x3bd93f(0x172)],_0x140c25['tqrTc'],_0x4ec6cd);break;}catch(_0x109318){_0x140c25[_0x3bd93f(0x1dd)](debug,_0x3bd93f(0x211)+util['format'](_0x109318));}_0x140c25[_0x3bd93f(0x159)](shouldProcessEventForTesthub)&&await _0x4ec6cd[_0x3bd93f(0x22d)](_0x26741a['test'],undefined,![],_0x140c25['tqrTc']);}break;case _0x140c25[_0x3bd93f(0x209)]:_0x4ec6cd[_0x3bd93f(0x196)]=null;break;case _0x140c25[_0x3bd93f(0x152)]:await RequestQueueHandler[_0x3bd93f(0x1e6)]()[_0x3bd93f(0x205)](),process[_0x3bd93f(0x1a1)]();break;default:}},_0x140c25['xnpQE']));}catch(_0x31efb9){_0x140c25['MiFgX'](debug,_0x1cd0f0(0x1a8)+_0x31efb9);}return _0x140c25[_0x1cd0f0(0x22e)](initInitialize,..._0x56ff58);};try{Object['keys'](exportsI)[a17_0x2d0728(0x219)](_0x4247f1=>{const _0x725272=a17_0x2d0728,_0x29734d={'yuyfO':function(_0x544b24,_0x189a12){return _0x544b24(_0x189a12);}};try{exports&&(exports[_0x4247f1]=exportsI[_0x4247f1]);}catch(_0xf3b683){_0x29734d[_0x725272(0x185)](debug,_0x725272(0x19f)+_0xf3b683);}});}catch(a17_0x518246){debug(a17_0x2d0728(0x1b1)+a17_0x518246);}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a18_0x54eadc=a18_0x42b3;function a18_0x2b3e(){const _0xabd883=['7239680awkNUD','5048NSNzih','exports','get','2819703QJLzRs','6254486xsPFJb','12KVSKBs','path','@jest/test-sequencer','2835QNLwRP','8NyCoBH','1045987lINuPg','split','2FjWbVh','env','filter','36150257syUUux','map','3566331sbaFKO','default','sort','includes','12LFCSAO'];a18_0x2b3e=function(){return _0xabd883;};return a18_0x2b3e();}(function(_0x5f46d8,_0x488a31){const _0x258865=a18_0x42b3,_0x34cb61=_0x5f46d8();while(!![]){try{const _0x143a68=-parseInt(_0x258865(0x101))/0x1+-parseInt(_0x258865(0x103))/0x2*(-parseInt(_0x258865(0xfa))/0x3)+parseInt(_0x258865(0xf7))/0x4*(parseInt(_0x258865(0xff))/0x5)+-parseInt(_0x258865(0xfc))/0x6*(parseInt(_0x258865(0xfb))/0x7)+-parseInt(_0x258865(0x100))/0x8*(parseInt(_0x258865(0xf1))/0x9)+-parseInt(_0x258865(0xf6))/0xa+-parseInt(_0x258865(0xef))/0xb*(-parseInt(_0x258865(0xf5))/0xc);if(_0x143a68===_0x488a31)break;else _0x34cb61['push'](_0x34cb61['shift']());}catch(_0x1960bb){_0x34cb61['push'](_0x34cb61['shift']());}}}(a18_0x2b3e,0xf15d8));const Sequencer=require(a18_0x54eadc(0xfe))[a18_0x54eadc(0xf2)];class CustomSequencer extends Sequencer{[a18_0x54eadc(0xf3)](_0x21fb72){const _0x119c03=a18_0x54eadc,_0x5caf15=process[_0x119c03(0x104)]['JEST_TEST_ORDER'];if(!_0x5caf15)return _0x21fb72;const _0x2634ac=_0x5caf15[_0x119c03(0x102)](','),_0x27efa2=new Map(_0x21fb72[_0x119c03(0xee)](_0x43c572=>_0x2634ac[_0x119c03(0xf4)](_0x43c572[_0x119c03(0xfd)]))[_0x119c03(0xf0)](_0x32dc9d=>[_0x32dc9d[_0x119c03(0xfd)],_0x32dc9d]));return _0x2634ac[_0x119c03(0xf0)](_0x2de9c0=>_0x27efa2[_0x119c03(0xf9)](_0x2de9c0))[_0x119c03(0xee)](Boolean);}}function a18_0x42b3(_0x4c1128,_0x250e26){const _0x2b3ec3=a18_0x2b3e();return a18_0x42b3=function(_0x42b356,_0x410cdb){_0x42b356=_0x42b356-0xee;let _0x4d66a0=_0x2b3ec3[_0x42b356];return _0x4d66a0;},a18_0x42b3(_0x4c1128,_0x250e26);}module[a18_0x54eadc(0xf8)]=CustomSequencer;
|