browserstack-node-sdk 1.52.0 → 1.52.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +4 -3
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a10_0x56cdd4=a10_0x18d7;(function(_0xdf141c,_0x246f31){const _0xf1e41a=a10_0x18d7,_0x4c457d=_0xdf141c();while(!![]){try{const _0x34ed9e=parseInt(_0xf1e41a(0xec))/0x1*(-parseInt(_0xf1e41a(0xdb))/0x2)+-parseInt(_0xf1e41a(0xd5))/0x3*(-parseInt(_0xf1e41a(0xd1))/0x4)+parseInt(_0xf1e41a(0xf2))/0x5+parseInt(_0xf1e41a(0xed))/0x6*(parseInt(_0xf1e41a(0xee))/0x7)+-parseInt(_0xf1e41a(0xf6))/0x8+parseInt(_0xf1e41a(0xd4))/0x9+-parseInt(_0xf1e41a(0xdc))/0xa;if(_0x34ed9e===_0x246f31)break;else _0x4c457d['push'](_0x4c457d['shift']());}catch(_0x334757){_0x4c457d['push'](_0x4c457d['shift']());}}}(a10_0x49ae,0x6d2cc));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a10_0x56cdd4(0xf0)),setKeepAlive=require('../../helpers/setKeepAlive'),cucumberModule=requireModule(a10_0x56cdd4(0xd0),a10_0x56cdd4(0x102)),logger=require(a10_0x56cdd4(0xda))[a10_0x56cdd4(0xfd)];modifyCommand(),setKeepAlive();const Before=cucumberModule[a10_0x56cdd4(0xf3)],After=cucumberModule[a10_0x56cdd4(0xd9)],configuration=process[a10_0x56cdd4(0xe5)]['CONFIG'];if(configuration!==undefined){const config=JSON['parse'](configuration);isTrue(config['skipSessionName'])&&(global[a10_0x56cdd4(0xea)]=!![]),global[a10_0x56cdd4(0xf8)]=isTrue(config[a10_0x56cdd4(0xd6)]),require('../../index')['browserstackAgentV2'](config),global[a10_0x56cdd4(0xfa)]=config['platformCaps']||{};}global['__timeout']=0x0;const __setDefaultTimeout=cucumberModule[a10_0x56cdd4(0xdd)];cucumberModule[a10_0x56cdd4(0xdd)]=_0x2272fa=>{const _0x28a54b=a10_0x56cdd4,_0x22410c={'qTVIp':function(_0x275b42,_0xfbeaad){return _0x275b42(_0xfbeaad);}};global[_0x28a54b(0xf5)]=_0x2272fa,_0x22410c[_0x28a54b(0xef)](__setDefaultTimeout,_0x2272fa);};const a10_0x96bb48={};a10_0x96bb48[a10_0x56cdd4(0xe6)]=a10_0x56cdd4(0xd2),Before(a10_0x96bb48,function(){const _0x566650=a10_0x56cdd4,_0x19b4db={};_0x19b4db[_0x566650(0x103)]=_0x566650(0xf7);const _0x1dc64=_0x19b4db;logger[_0x566650(0xe8)](_0x1dc64[_0x566650(0x103)]),global['__error_messages__']=[];});const a10_0x8c4f3a={};function a10_0x49ae(){const _0x2b761d=['result','QKbZe','passed','cucumber','csPPJ','Inside\x20browserstack\x20After','failed','cucumber/lib/index.js','4bxiaXd','bstack','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','1714914FcBUbp','1866666HLyHiP','skipSessionStatus','__error_messages__','ocLwm','After','../../helpers/logger','332042CPXcWJ','10006000vLBVdK','setDefaultTimeout','__driver','toLowerCase','JZlNq','CgZxJ','join','VkkXT','initQuit','env','name','OKXrT','debug','pickle','__skipSessionName','Error:\x20quiting\x20at\x20After:\x20','1fNGLSx','1926XQMhMQ','18949ekAkpQ','qTVIp','../../helpers/helper','\x20|\x20','1589500lqMfrB','Before','then','__timeout','3086512ciKKmy','Inside\x20browserstack\x20Before','__skipSessionStatus','executeScript','__platformCaps','ecpvI','session_','winstonLogger','GZxNo'];a10_0x49ae=function(){return _0x2b761d;};return a10_0x49ae();}function a10_0x18d7(_0x1908fa,_0x1f47b7){const _0x49aed5=a10_0x49ae();return a10_0x18d7=function(_0x18d7dd,_0x68c86d){_0x18d7dd=_0x18d7dd-0xcf;let _0xcc5dc6=_0x49aed5[_0x18d7dd];return _0xcc5dc6;},a10_0x18d7(_0x1908fa,_0x1f47b7);}a10_0x8c4f3a['name']=a10_0x56cdd4(0xd2),a10_0x8c4f3a['timeout']=0x2710,After(a10_0x8c4f3a,function(_0x5d3464,_0x5b458c){const _0x5decee=a10_0x56cdd4,_0x349979={'QKbZe':function(_0x2f84a2,_0x10f9d7){return _0x2f84a2===_0x10f9d7;},'CgZxJ':_0x5decee(0xcf),'GZxNo':function(_0x29daae,_0x2c38ca,_0x56fbd6,_0x31fcd3){return _0x29daae(_0x2c38ca,_0x56fbd6,_0x31fcd3);},'EJtcS':_0x5decee(0xf1),'OKXrT':function(_0x4979b9,_0x5285f1,_0x43f634){return _0x4979b9(_0x5285f1,_0x43f634);},'JZlNq':_0x5decee(0x101),'VkkXT':function(_0x2f837b){return _0x2f837b();},'ocLwm':function(_0x49be9f,_0x1e7c9a){return _0x49be9f(_0x1e7c9a);},'QOnkc':function(_0x5930e8){return _0x5930e8();},'ecpvI':_0x5decee(0x104)};logger['debug'](_0x349979[_0x5decee(0xfb)]),new Promise(async(_0x5f36f3,_0x61d870)=>{const _0x4a5847=_0x5decee;let _0x4add6b=![];try{await global['__driver'][_0x4a5847(0xfc)],_0x4add6b=!![],!global[_0x4a5847(0xea)]&&await global[_0x4a5847(0xde)][_0x4a5847(0xf9)](_0x4a5847(0xd3)+_0x5d3464[_0x4a5847(0xe9)][_0x4a5847(0xe6)]+'\x22}}'),_0x349979[_0x4a5847(0x100)](_0x5d3464[_0x4a5847(0xff)]['status'][_0x4a5847(0xdf)](),_0x349979[_0x4a5847(0xe1)])?await _0x349979[_0x4a5847(0xfe)](markSessionStatus,global['__driver'],_0x349979[_0x4a5847(0xe1)],global[_0x4a5847(0xd7)][_0x4a5847(0xe2)](_0x349979['EJtcS'])):await _0x349979[_0x4a5847(0xe7)](markSessionStatus,global[_0x4a5847(0xde)],_0x349979[_0x4a5847(0xe0)]);}catch(_0x4998e3){logger[_0x4a5847(0xe8)]('Error:\x20setting\x20status\x20at\x20After:\x20'+_0x4998e3);}if(_0x4add6b)try{await global['__driver'][_0x4a5847(0xe4)](),_0x349979[_0x4a5847(0xe3)](_0x5f36f3);}catch(_0x45edd2){logger[_0x4a5847(0xe8)](_0x4a5847(0xeb)+_0x45edd2),_0x349979[_0x4a5847(0xd8)](_0x61d870,_0x45edd2);}else _0x349979['QOnkc'](_0x61d870);})[_0x5decee(0xf4)](()=>_0x5b458c());});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a11_0x3d7c86=a11_0x1534;(function(_0x36f635,_0x2d368c){const _0x3bff65=a11_0x1534,_0x1359fc=_0x36f635();while(!![]){try{const _0xa2a4=parseInt(_0x3bff65(0x1f3))/0x1*(parseInt(_0x3bff65(0x1ee))/0x2)+-parseInt(_0x3bff65(0x1ed))/0x3+parseInt(_0x3bff65(0x1f5))/0x4*(parseInt(_0x3bff65(0x1ef))/0x5)+-parseInt(_0x3bff65(0x1f6))/0x6+-parseInt(_0x3bff65(0x1f2))/0x7*(-parseInt(_0x3bff65(0x1fa))/0x8)+-parseInt(_0x3bff65(0x1fb))/0x9+-parseInt(_0x3bff65(0x1fd))/0xa*(-parseInt(_0x3bff65(0x1f8))/0xb);if(_0xa2a4===_0x2d368c)break;else _0x1359fc['push'](_0x1359fc['shift']());}catch(_0x4c1445){_0x1359fc['push'](_0x1359fc['shift']());}}}(a11_0x1ea2,0x6948b));const {requireModule}=require(a11_0x3d7c86(0x1f7)),constants=require(a11_0x3d7c86(0x1f1));;function a11_0x1534(_0x5234dd,_0x538a41){const _0x1ea2b1=a11_0x1ea2();return a11_0x1534=function(_0x153417,_0x2d0660){_0x153417=_0x153417-0x1ec;let _0x53b0fd=_0x1ea2b1[_0x153417];return _0x53b0fd;},a11_0x1534(_0x5234dd,_0x538a41);}let cucumberModule=null;function a11_0x1ea2(){const _0x23741d=['172DEngTt','3673038vUpHYI','../../helpers/helper','4871845vUSChT','cucumber','16RCpXRb','6021270gYpHAx','__timeout','10QXmPEH','@cucumber/cucumber/lib/index.js','1081905KWqdSX','8226hfxwYe','78005PwSeFm','BSTACK_DELTA','../utils/constants','1817382OXOecO','107pLQWRn','@cucumber/cucumber'];a11_0x1ea2=function(){return _0x23741d;};return a11_0x1ea2();}try{cucumberModule=requireModule(a11_0x3d7c86(0x1ec),a11_0x3d7c86(0x1f4));}catch(a11_0x36a2b9){cucumberModule=requireModule('cucumber/lib/index.js',a11_0x3d7c86(0x1f9));}cucumberModule['setDefaultTimeout'](constants[a11_0x3d7c86(0x1f0)]+global[a11_0x3d7c86(0x1fc)]*0x1);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a12_0x532572=a12_0x2d62;function a12_0x2d62(_0x1b9280,_0x49e84c){const _0x36bce2=a12_0x36bc();return a12_0x2d62=function(_0x2d62cd,_0x2ffe7b){_0x2d62cd=_0x2d62cd-0x120;let _0x8e3405=_0x36bce2[_0x2d62cd];return _0x8e3405;},a12_0x2d62(_0x1b9280,_0x49e84c);}(function(_0x72e9c4,_0x459feb){const _0x11db08=a12_0x2d62,_0x51b3c9=_0x72e9c4();while(!![]){try{const _0x4798c5=parseInt(_0x11db08(0x14e))/0x1*(-parseInt(_0x11db08(0x132))/0x2)+-parseInt(_0x11db08(0x160))/0x3*(-parseInt(_0x11db08(0x130))/0x4)+parseInt(_0x11db08(0x133))/0x5*(parseInt(_0x11db08(0x15c))/0x6)+parseInt(_0x11db08(0x15a))/0x7*(parseInt(_0x11db08(0x148))/0x8)+parseInt(_0x11db08(0x12a))/0x9+-parseInt(_0x11db08(0x125))/0xa+-parseInt(_0x11db08(0x126))/0xb;if(_0x4798c5===_0x459feb)break;else _0x51b3c9['push'](_0x51b3c9['shift']());}catch(_0x3d3444){_0x51b3c9['push'](_0x51b3c9['shift']());}}}(a12_0x36bc,0x1eb11));function a12_0x36bc(){const _0x18eeed=['invalid','url','hostname','LdWBD','connect','usage','command','bstack-accesskey','only','WBOCT','config','7zanztX','accessKey','6JCDQhc','Hosts\x20not\x20valid','trim','toString','3975OEbESR','bstackAccessKey','split','winstonLogger','BrowserStack\x20access\x20key\x20missing.','varXu','footer','integrations-repeater','setProxySettings','hosts','missing','../../helpers/helper','../../helpers/BrowserStackSetup','265000vWwRhH','3321505fjTsMg','type','Integration\x20hosts\x20missing.','string','1512873GFMsRm','vhrVT','Connection\x20established\x20successfully.','describe','help','hDoPo','268HCSSuq','JnlZB','4NbAUwW','656245DCuHqh','oyfjG','Dmgws','../../helpers/logger','browserstackLocal','port','exports','Failed\x20to\x20establish\x20connection.','epilogue','vzJug','443','browserStackLocalOptions','map','protocol','PFmMk','blukq','options','error','demandOption','bstackAccesskey','localIdentifier','905528iATIof','xBRde','vcTuf','Olydv','undefined','vdAmd','23572gjtkPP'];a12_0x36bc=function(){return _0x18eeed;};return a12_0x36bc();}const {default:BrowserStackSetup}=require(a12_0x532572(0x124)),logger=require(a12_0x532572(0x136))[a12_0x532572(0x163)],{URL}=require(a12_0x532572(0x150)),helper=require(a12_0x532572(0x123)),{HELP_MESSAGES,ERROR_MESSAGES}=require('./constants'),validHosts=function(_0x27a796){const _0x2006f8=a12_0x532572;return _0x27a796[_0x2006f8(0x162)](',')['every'](_0x51e546=>{const _0x22deef=_0x2006f8;try{new URL(_0x51e546[_0x22deef(0x15e)]());}catch(_0x4edada){return![];}return!![];});},parseOnPremHosts=function(_0x5e577b){const _0x23f68f=a12_0x532572,_0x55ed88={};_0x55ed88[_0x23f68f(0x135)]=function(_0x1dff3b,_0x1485cd){return _0x1dff3b===_0x1485cd;},_0x55ed88[_0x23f68f(0x131)]='https:',_0x55ed88['LGODP']=_0x23f68f(0x13d),_0x55ed88[_0x23f68f(0x12f)]='https';const _0x47e0c7=_0x55ed88;return _0x5e577b['split'](',')[_0x23f68f(0x13f)](_0x438925=>{const _0x437e0c=_0x23f68f,_0x2aa28d=new URL(_0x438925[_0x437e0c(0x15e)]()),_0x3098b7=_0x2aa28d[_0x437e0c(0x151)],_0x2f4825=_0x2aa28d[_0x437e0c(0x138)]||(_0x47e0c7[_0x437e0c(0x135)](_0x2aa28d[_0x437e0c(0x140)],_0x47e0c7[_0x437e0c(0x131)])?_0x47e0c7['LGODP']:'80'),_0x2c55ba=_0x2aa28d['protocol']['replace'](':',''),_0x5ade7c=_0x47e0c7[_0x437e0c(0x135)](_0x2c55ba,_0x47e0c7[_0x437e0c(0x12f)])?0x1:0x0;return _0x3098b7+','+_0x2f4825+','+_0x5ade7c;});},connectCommandBuilder=function(_0x561b6f){const _0x44ae85=a12_0x532572,_0x18772e={};_0x18772e[_0x44ae85(0x134)]=_0x44ae85(0x129);const _0x3f7119=_0x18772e,_0x12ee9e={};_0x12ee9e[_0x44ae85(0x12d)]=HELP_MESSAGES[_0x44ae85(0x143)][_0x44ae85(0x161)],_0x12ee9e[_0x44ae85(0x127)]=_0x3f7119[_0x44ae85(0x134)];const _0x471e83={};_0x471e83['describe']=HELP_MESSAGES['options']['hosts'],_0x471e83[_0x44ae85(0x127)]=_0x3f7119[_0x44ae85(0x134)],_0x471e83[_0x44ae85(0x145)]=!![];const _0x43ea40={};return _0x43ea40[_0x44ae85(0x156)]=_0x12ee9e,_0x43ea40[_0x44ae85(0x121)]=_0x471e83,_0x561b6f[_0x44ae85(0x143)](_0x43ea40);},connectCommandHandler=async function(_0x47940f){const _0x23fb43=a12_0x532572,_0x5f6783={'PFmMk':'integrations','varXu':function(_0x46d4fd,_0xd09650){return _0x46d4fd===_0xd09650;},'vzJug':_0x23fb43(0x14c),'Olydv':_0x23fb43(0x164),'xBRde':function(_0xd65d05,_0x21523a){return _0xd65d05===_0x21523a;},'vcTuf':_0x23fb43(0x128),'vhrVT':function(_0x56b046,_0x993812){return _0x56b046(_0x993812);},'WBOCT':_0x23fb43(0x15d),'SVITV':function(_0x286840,_0x397ae4){return _0x286840(_0x397ae4);},'QnsRh':_0x23fb43(0x167),'vdAmd':_0x23fb43(0x12c),'FwzlC':_0x23fb43(0x13a)};try{const _0x267244=new BrowserStackSetup(_0x47940f,_0x5f6783[_0x23fb43(0x141)]);_0x47940f['bstackAccesskey']&&(_0x267244[_0x23fb43(0x159)][_0x23fb43(0x15b)]=_0x47940f[_0x23fb43(0x146)]);if(_0x5f6783[_0x23fb43(0x165)](typeof _0x267244[_0x23fb43(0x159)][_0x23fb43(0x15b)],_0x5f6783[_0x23fb43(0x13c)])){logger[_0x23fb43(0x144)](_0x5f6783[_0x23fb43(0x14b)]);throw new Error(ERROR_MESSAGES['bstackAccessKey'][_0x23fb43(0x122)]);}const _0x1c44a0=_0x47940f[_0x23fb43(0x121)];if(_0x5f6783[_0x23fb43(0x149)](typeof _0x1c44a0,_0x5f6783[_0x23fb43(0x13c)])){logger[_0x23fb43(0x144)](_0x5f6783[_0x23fb43(0x14a)]);throw new Error(ERROR_MESSAGES[_0x23fb43(0x121)]['missing']);}if(!_0x5f6783[_0x23fb43(0x12b)](validHosts,_0x1c44a0)){logger['error'](_0x5f6783[_0x23fb43(0x158)]);throw new Error(ERROR_MESSAGES['hosts'][_0x23fb43(0x14f)]);}const _0x4101d0=_0x5f6783['SVITV'](parseOnPremHosts,_0x1c44a0);_0x267244['config'][_0x23fb43(0x137)]=!![],_0x267244[_0x23fb43(0x159)][_0x23fb43(0x13e)][_0x23fb43(0x147)]=_0x5f6783['QnsRh'],_0x267244[_0x23fb43(0x159)][_0x23fb43(0x13e)][_0x23fb43(0x157)]=_0x4101d0['join'](','),helper[_0x23fb43(0x120)](_0x267244[_0x23fb43(0x159)]),await _0x267244['setupBrowserstackLocal'](),logger['info'](_0x5f6783[_0x23fb43(0x14d)]);}catch(_0x4986eb){logger['error'](_0x5f6783['FwzlC']);throw new Error(_0x4986eb[_0x23fb43(0x15f)]());}};function run(_0x2bf251){const _0x471888=a12_0x532572,_0x3467e6={};_0x3467e6[_0x471888(0x152)]=_0x471888(0x153),_0x3467e6[_0x471888(0x142)]=_0x471888(0x12e);const _0x4e1dd1=_0x3467e6;_0x2bf251[_0x471888(0x154)](HELP_MESSAGES[_0x471888(0x155)]['root'])[_0x471888(0x155)](_0x4e1dd1['LdWBD'],HELP_MESSAGES[_0x471888(0x155)][_0x471888(0x153)],connectCommandBuilder,connectCommandHandler)['demandCommand']()[_0x471888(0x12e)](_0x4e1dd1['blukq'])[_0x471888(0x13b)](HELP_MESSAGES[_0x471888(0x155)][_0x471888(0x166)]);}module[a12_0x532572(0x139)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a13_0x2364d0=a13_0x5218;(function(_0x565b8e,_0x36871c){var _0x44285c=a13_0x5218,_0x42bace=_0x565b8e();while(!![]){try{var _0x5e708e=-parseInt(_0x44285c(0x95))/0x1+-parseInt(_0x44285c(0xa1))/0x2+-parseInt(_0x44285c(0x92))/0x3+-parseInt(_0x44285c(0x9b))/0x4*(-parseInt(_0x44285c(0x9d))/0x5)+-parseInt(_0x44285c(0x8f))/0x6*(-parseInt(_0x44285c(0x94))/0x7)+-parseInt(_0x44285c(0x99))/0x8+-parseInt(_0x44285c(0xa3))/0x9*(-parseInt(_0x44285c(0xa2))/0xa);if(_0x5e708e===_0x36871c)break;else _0x42bace['push'](_0x42bace['shift']());}catch(_0x2edbec){_0x42bace['push'](_0x42bace['shift']());}}}(a13_0x6cea,0xc7e61));var a13_0x1541f8={};a13_0x1541f8[a13_0x2364d0(0x8c)]=a13_0x2364d0(0x8e),a13_0x1541f8[a13_0x2364d0(0x9f)]=a13_0x2364d0(0xa0);var a13_0x34be78={};a13_0x34be78[a13_0x2364d0(0x97)]='Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.',a13_0x34be78[a13_0x2364d0(0x8d)]=a13_0x2364d0(0x91),a13_0x34be78[a13_0x2364d0(0x9a)]='Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.';var a13_0x2ba376={};a13_0x2ba376[a13_0x2364d0(0x90)]=a13_0x1541f8,a13_0x2ba376['command']=a13_0x34be78,exports[a13_0x2364d0(0x96)]=a13_0x2ba376;var a13_0xc08bab={};function a13_0x5218(_0x5c860d,_0x51fa05){var _0x6cea31=a13_0x6cea();return a13_0x5218=function(_0x52184d,_0x4d5d33){_0x52184d=_0x52184d-0x8c;var _0x169fc1=_0x6cea31[_0x52184d];return _0x169fc1;},a13_0x5218(_0x5c860d,_0x51fa05);}a13_0xc08bab[a13_0x2364d0(0x93)]=a13_0x2364d0(0x9c);var a13_0x11c053={};a13_0x11c053[a13_0x2364d0(0x93)]=a13_0x2364d0(0x9e),a13_0x11c053['invalid']=a13_0x2364d0(0x98);function a13_0x6cea(){var _0x12feb9=['HELP_MESSAGES','root','Integration\x20hosts\x20are\x20not\x20in\x20the\x20right\x20format.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','1288064MgHvQM','footer','1332EyUNAN','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','4475naetfo','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','hosts','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.','2928976xLisaL','2213920gqRArn','198tVuKTY','bstackAccessKey','connect','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','222jSGXGJ','options','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','4681041FieIhd','missing','70917cdmyjs','1538878dJlmuc'];a13_0x6cea=function(){return _0x12feb9;};return a13_0x6cea();}var a13_0x57987e={};a13_0x57987e[a13_0x2364d0(0x8c)]=a13_0xc08bab,a13_0x57987e[a13_0x2364d0(0x9f)]=a13_0x11c053,exports['ERROR_MESSAGES']=a13_0x57987e;
|
package/src/bin/jest/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a14_0x5c5bd7=a14_0x60a3;(function(_0x1958c3,_0x445ed3){const _0x142cd1=a14_0x60a3,_0x406ba7=_0x1958c3();while(!![]){try{const _0x415699=parseInt(_0x142cd1(0x20a))/0x1+parseInt(_0x142cd1(0x195))/0x2*(parseInt(_0x142cd1(0x1e1))/0x3)+-parseInt(_0x142cd1(0x1db))/0x4*(parseInt(_0x142cd1(0x237))/0x5)+parseInt(_0x142cd1(0x22b))/0x6*(parseInt(_0x142cd1(0x24b))/0x7)+parseInt(_0x142cd1(0x245))/0x8+parseInt(_0x142cd1(0x172))/0x9+-parseInt(_0x142cd1(0x1af))/0xa*(parseInt(_0x142cd1(0x1c8))/0xb);if(_0x415699===_0x445ed3)break;else _0x406ba7['push'](_0x406ba7['shift']());}catch(_0x16266c){_0x406ba7['push'](_0x406ba7['shift']());}}}(a14_0x468f,0x96d38));const fs=require('fs'),path=require(a14_0x5c5bd7(0x197)),util=require(a14_0x5c5bd7(0x260)),{spawn}=require('child_process'),logger=require(a14_0x5c5bd7(0x226))[a14_0x5c5bd7(0x1de)],{default:BrowserStackSetup}=require(a14_0x5c5bd7(0x240)),helper=require('../../helpers/helper'),utilities=require(a14_0x5c5bd7(0x209)),constants=require(a14_0x5c5bd7(0x187)),accessibilityHelper=require(a14_0x5c5bd7(0x1b7)),{updateTestRerunConfig}=require(a14_0x5c5bd7(0x227)),testOpsHelper=require(a14_0x5c5bd7(0x1fa)),{debug}=require(a14_0x5c5bd7(0x1fa)),TestDetails=require(a14_0x5c5bd7(0x241)),{getPercyOptions}=require(a14_0x5c5bd7(0x168)),TestHubHandler=require(a14_0x5c5bd7(0x1f4)),testhubUtils=require('../../helpers/testhub/utils'),{FRAMEWORKS}=require(a14_0x5c5bd7(0x1a9)),PerformanceTester=require(a14_0x5c5bd7(0x23c)),PerformanceEvents=require('../../helpers/performance/constants')[a14_0x5c5bd7(0x1c5)],TestOrchestrationHandler=require('../../helpers/test-orchestration/testOrchestrationHandler'),BrowserstackCLI=require('../v2/browserstackCLI'),{checkPwandBootstrapCli}=require(a14_0x5c5bd7(0x182)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a14_0x5c5bd7(0x199)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),getUserJestConfigs=async(_0x1f62a5,_0x1bcfa9)=>{const _0x20e050=a14_0x5c5bd7,_0x48befb={'SsrAi':_0x20e050(0x1c4),'miOTe':'jest-config','rCJbX':function(_0x3ceea9,_0x4262a6){return _0x3ceea9||_0x4262a6;},'vEFDR':function(_0x7cdb0f,_0x28f4d5){return _0x7cdb0f(_0x28f4d5);},'gohTW':_0x20e050(0x259),'yLDVl':_0x20e050(0x1d2),'clRdU':_0x20e050(0x24e),'tVFHy':_0x20e050(0x1a4),'JKyUt':_0x20e050(0x1b9)};let _0x5bbc17;try{_0x5bbc17=helper['requireModule'](_0x48befb[_0x20e050(0x213)],_0x48befb[_0x20e050(0x18a)]);}catch{const _0x6a2c06=helper['requireModule'](_0x48befb[_0x20e050(0x18a)]);_0x5bbc17={'default':async _0xe7f024=>{const _0x488964=_0x20e050,_0x57458b=await _0x6a2c06[_0x488964(0x211)](_0xe7f024,{});return _0x57458b[_0x488964(0x1ed)];}};}const _0x15e9c9=_0x1bcfa9[_0x20e050(0x216)](_0x421563=>_0x421563===_0x20e050(0x21c));if(!helper[_0x20e050(0x1c6)](_0x1f62a5[_0x20e050(0x1ed)])){logger[_0x20e050(0x171)](_0x20e050(0x166)+_0x1f62a5['config']),process[_0x20e050(0x181)]['USER_CONFIG_DETAILS_PATH']=_0x1f62a5['config'];const _0x1ab354=await(0x0,_0x5bbc17['default'])(path[_0x20e050(0x194)](_0x1f62a5[_0x20e050(0x1ed)]));return _0x1bcfa9[_0x20e050(0x1ae)](_0x15e9c9,0x2),_0x48befb['rCJbX'](_0x1ab354,{});}const _0x66356e=_0x48befb[_0x20e050(0x203)](require,path[_0x20e050(0x22d)](process['cwd'](),_0x48befb[_0x20e050(0x21b)]));if(_0x66356e[_0x20e050(0x1bb)])return logger[_0x20e050(0x171)](_0x48befb[_0x20e050(0x238)]),_0x66356e['jest'];const _0x44706e=['js',_0x48befb[_0x20e050(0x1ff)],_0x48befb[_0x20e050(0x1a1)],_0x48befb[_0x20e050(0x18e)],'ts'];for(const _0x18331e of _0x44706e){const _0x5f386e=path[_0x20e050(0x22d)](process[_0x20e050(0x1dc)](),_0x20e050(0x17d)+_0x18331e);if(fs['existsSync'](_0x5f386e)){process[_0x20e050(0x181)]['USER_CONFIG_DETAILS_PATH']=_0x5f386e;const _0x2442b0=await(0x0,_0x5bbc17['default'])(_0x5f386e);return _0x2442b0;}}return{};},getSerial=(_0x4c83e1,_0x330076)=>{const _0x3b0867=a14_0x5c5bd7,_0x1a103b={};_0x1a103b[_0x3b0867(0x20c)]='true',_0x1a103b['ueXyb']=function(_0x57b9fa,_0x34f539){return _0x57b9fa>_0x34f539;},_0x1a103b[_0x3b0867(0x25e)]=function(_0x234d78,_0x3ccf24){return _0x234d78>_0x3ccf24;},_0x1a103b[_0x3b0867(0x1da)]=_0x3b0867(0x1c7);const _0x1bdb34=_0x1a103b;let _0x3b1168=_0x1bdb34[_0x3b0867(0x20c)];return _0x1bdb34[_0x3b0867(0x247)](_0x4c83e1[_0x3b0867(0x186)],0x1)&&(!_0x330076[_0x3b0867(0x206)]&&(helper[_0x3b0867(0x1c6)](_0x330076[_0x3b0867(0x1cf)])||_0x1bdb34['aaHzz'](_0x330076[_0x3b0867(0x1cf)],0x1)))&&(_0x3b1168=_0x1bdb34['cBPPo']),_0x3b1168;},getMaxWorkers=(_0x37d1d8,_0x23bf1e,_0x599a21)=>{const _0x52a678=a14_0x5c5bd7,_0x4bfb90={'flYay':function(_0x1f08b0,_0x2ec883){return _0x1f08b0(_0x2ec883);}};let _0x2db7b4=0x1;if(!helper[_0x52a678(0x1c6)](_0x23bf1e[_0x52a678(0x256)]))_0x2db7b4=_0x4bfb90[_0x52a678(0x176)](parseInt,_0x23bf1e[_0x52a678(0x256)]);else{if(!helper['isUndefined'](_0x37d1d8[_0x52a678(0x1cf)]))_0x2db7b4=_0x37d1d8[_0x52a678(0x1cf)];else!helper[_0x52a678(0x1c6)](_0x599a21[_0x52a678(0x1cf)])&&(_0x2db7b4=_0x599a21[_0x52a678(0x1cf)]);}return _0x2db7b4;};function a14_0x60a3(_0x46b354,_0x5f0a5){const _0x468f6a=a14_0x468f();return a14_0x60a3=function(_0x60a361,_0x1afbaf){_0x60a361=_0x60a361-0x166;let _0x4b1c99=_0x468f6a[_0x60a361];return _0x4b1c99;},a14_0x60a3(_0x46b354,_0x5f0a5);}async function run(_0x374f2c,_0x469677,_0x58c69e){const _0x278fba=a14_0x5c5bd7,_0x5d3860={'GpsBn':_0x278fba(0x208),'orJfs':'jest','JEpJG':function(_0x3d4b5e,_0x4b3880){return _0x3d4b5e(_0x4b3880);},'NRhkW':_0x278fba(0x266),'mSxVo':function(_0x4b4afa){return _0x4b4afa();},'Szwiw':function(_0x454d32,_0x527425,_0x1a0d76,_0x125813){return _0x454d32(_0x527425,_0x1a0d76,_0x125813);},'gKnQZ':function(_0xfd8c6b,_0x53768b,_0x318317,_0x58ada7){return _0xfd8c6b(_0x53768b,_0x318317,_0x58ada7);},'pNsvo':function(_0x106524,_0x6ff135){return _0x106524!=_0x6ff135;},'ukdfW':_0x278fba(0x248),'URxxI':function(_0x25623e,_0x5962c5,_0x31f24f){return _0x25623e(_0x5962c5,_0x31f24f);},'jDHQv':'Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','ykPAv':'false','Nmhjn':function(_0x8d9d55,_0x3ef187,_0x5c5a6c,_0x30bc8b){return _0x8d9d55(_0x3ef187,_0x5c5a6c,_0x30bc8b);},'sUOzB':function(_0x3133e9,_0xe51b6a){return _0x3133e9*_0xe51b6a;},'rgKnv':function(_0x23508d,_0x554e61){return _0x23508d===_0x554e61;},'QHGNU':_0x278fba(0x1bf),'ejbjd':_0x278fba(0x175),'MCCDr':_0x278fba(0x246),'LeAjM':_0x278fba(0x222),'fyvuA':_0x278fba(0x1a2),'TfoRq':_0x278fba(0x1e2),'iDToQ':_0x278fba(0x242),'UvLyt':function(_0x8ff572,_0x35deba){return _0x8ff572!==_0x35deba;},'LKUWl':_0x278fba(0x1d1),'vQrqR':_0x278fba(0x24c),'CMXHg':_0x278fba(0x255),'cMWgx':'customSequencer.js','sZPMa':_0x278fba(0x229),'FZbdT':_0x278fba(0x250),'fdNIi':_0x278fba(0x1fb),'ttzUE':_0x278fba(0x174),'ksgtD':'data-hooks.js','tewpu':_0x278fba(0x23f),'EQtsF':_0x278fba(0x17b),'IPZuu':_0x278fba(0x232),'LmnXD':_0x278fba(0x19d),'iZgmP':'Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','NOtez':_0x278fba(0x265),'xnzLo':_0x278fba(0x205),'RafkA':function(_0x43b3ef,_0x101e9f){return _0x43b3ef&&_0x101e9f;},'HGdOc':'Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','TBjuc':_0x278fba(0x1e0),'DrUnS':_0x278fba(0x1cb),'ISlJv':_0x278fba(0x239),'uYdLh':function(_0x4b3680,_0x18b901,_0x172dd2){return _0x4b3680(_0x18b901,_0x172dd2);},'lOTPp':_0x278fba(0x24a),'kpnNR':_0x278fba(0x1e4),'RyppX':_0x278fba(0x1f6),'fiwIe':function(_0x175d45,_0x296944){return _0x175d45>_0x296944;},'NiCRd':_0x278fba(0x25c),'beCff':'--config','cCJzl':_0x278fba(0x178),'nQjnc':'win32','IkBHL':_0x278fba(0x25b),'ZgSQZ':'close'},_0x3fce7e=helper[_0x278fba(0x198)](_0x5d3860['NRhkW']);global[_0x278fba(0x210)]=!!_0x3fce7e;const _0x5d9aa3=_0x5d3860[_0x278fba(0x1ab)](getPuppeteerVersion);global[_0x278fba(0x1e3)]=!!_0x5d9aa3;helper[_0x278fba(0x1e5)]()?(await _0x58c69e[_0x278fba(0x254)](_0x374f2c),await helper[_0x278fba(0x235)](_0x58c69e[_0x278fba(0x1ed)])):await _0x58c69e[_0x278fba(0x16a)]();if(_0x3fce7e)await _0x5d3860[_0x278fba(0x219)](checkPwandBootstrapCli,_0x3fce7e,constants[_0x278fba(0x264)]['JEST'],_0x58c69e);else _0x5d9aa3&&await _0x5d3860['gKnQZ'](checkPuppeteerAndBootstrapCli,_0x5d9aa3,constants[_0x278fba(0x264)][_0x278fba(0x1a8)],_0x58c69e);if(!_0x58c69e['config'])return;_0x5d3860['pNsvo'](_0x58c69e[_0x278fba(0x1ed)][_0x278fba(0x19c)],null)?process[_0x278fba(0x181)][_0x278fba(0x16b)]=_0x58c69e[_0x278fba(0x1ed)][_0x278fba(0x19c)]:process[_0x278fba(0x181)][_0x278fba(0x16b)]=_0x5d3860[_0x278fba(0x16f)];const _0x4df860=new TestOrchestrationHandler(_0x58c69e[_0x278fba(0x1ed)]),_0x50c552=await _0x5d3860[_0x278fba(0x170)](getUserJestConfigs,_0x374f2c,_0x469677);logger[_0x278fba(0x171)](_0x5d3860[_0x278fba(0x25d)]);const _0x3a65f0=Object[_0x278fba(0x223)]({},_0x50c552);_0x3a65f0[_0x278fba(0x1f8)]=Object[_0x278fba(0x223)]({},_0x3a65f0[_0x278fba(0x1f8)],{'server':helper[_0x278fba(0x217)](_0x58c69e['config']),'environment':_0x50c552[_0x278fba(0x1bd)]}),_0x3a65f0[_0x278fba(0x1f8)][_0x278fba(0x18c)]=_0x5d3860[_0x278fba(0x1e7)](getPercyOptions,_0x58c69e[_0x278fba(0x1ed)]);const _0x3c26e8=helper[_0x278fba(0x252)](_0x58c69e['config']);!helper['isUndefined'](_0x58c69e['config']['accessibilityOptions'])&&(process[_0x278fba(0x181)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x278fba(0x1a3)](_0x58c69e[_0x278fba(0x1ed)]['accessibilityOptions']));if(!BrowserstackCLI['getInstance']()[_0x278fba(0x1c3)]()){const _0x182ab6=await TestHubHandler['launchBuild'](FRAMEWORKS[_0x278fba(0x1a8)],_0x58c69e);}const _0x1d728f=helper[_0x278fba(0x177)](_0x58c69e[_0x278fba(0x1ed)],_0x3c26e8,constants[_0x278fba(0x264)]['JEST']);process[_0x278fba(0x181)][_0x278fba(0x25f)]=JSON[_0x278fba(0x1a3)](_0x1d728f);let _0x123f29=_0x58c69e[_0x278fba(0x1ed)]['accessibility'];_0x123f29=_0x123f29||accessibilityHelper[_0x278fba(0x189)](_0x58c69e[_0x278fba(0x1ed)]),process[_0x278fba(0x181)][_0x278fba(0x21e)]=_0x123f29,logger[_0x278fba(0x257)]('[Jest\x20Command]\x20Accessibility\x20enabled:\x20'+_0x123f29+_0x278fba(0x1ca)+BrowserstackCLI[_0x278fba(0x1c2)]()[_0x278fba(0x1c3)]());if(_0x3fce7e)try{const _0x1b2968=_0x5d3860['JEpJG'](checkAccessibilityPlatformConfig,_0x58c69e[_0x278fba(0x1ed)]);process[_0x278fba(0x181)][_0x278fba(0x1ba)]=_0x1b2968?_0x5d3860[_0x278fba(0x16f)]:_0x5d3860['ykPAv'],logger['debug'](_0x278fba(0x16e)+_0x1b2968+_0x278fba(0x19e)+process[_0x278fba(0x181)][_0x278fba(0x1ba)]);}catch(_0x2562d7){logger[_0x278fba(0x257)](_0x278fba(0x23a)+util[_0x278fba(0x200)](_0x2562d7));}_0x3a65f0[_0x278fba(0x1f8)][_0x278fba(0x221)]=_0x1d728f,_0x3a65f0['testEnvironmentOptions'][_0x278fba(0x253)]=_0x5d3860['URxxI'](getSerial,_0x1d728f,_0x374f2c),_0x3a65f0['testEnvironmentOptions'][_0x278fba(0x17f)]=_0x5d3860[_0x278fba(0x1e8)](getMaxWorkers,_0x374f2c,_0x58c69e[_0x278fba(0x1ed)],_0x50c552),_0x3a65f0[_0x278fba(0x1f8)]['proxySettings']=_0x58c69e[_0x278fba(0x1ed)][_0x278fba(0x190)],_0x3a65f0['testEnvironmentOptions'][_0x278fba(0x1ee)]=_0x5d3860[_0x278fba(0x1ce)](_0x374f2c['testTimeout'],0x1)||0x1388,_0x3a65f0[_0x278fba(0x1f8)][_0x278fba(0x243)]=_0x58c69e[_0x278fba(0x1ed)][_0x278fba(0x1fc)]['skipSessionName'],_0x3a65f0[_0x278fba(0x1f8)][_0x278fba(0x24f)]=_0x58c69e[_0x278fba(0x1ed)][_0x278fba(0x1fc)][_0x278fba(0x24f)],_0x3a65f0[_0x278fba(0x1f8)]['browserStackLogLevel']=_0x58c69e[_0x278fba(0x1ed)]['logLevel'],_0x3a65f0[_0x278fba(0x1f8)][_0x278fba(0x1eb)]=_0x58c69e[_0x278fba(0x1ed)]['turboScaleUrl'],_0x3a65f0[_0x278fba(0x1f8)][_0x278fba(0x224)]=_0x58c69e['config']['platforms'];const _0x29e24d=helper[_0x278fba(0x193)](_0x58c69e[_0x278fba(0x1ed)]);if(!helper['isEmpty'](_0x29e24d)){helper[_0x278fba(0x1e9)](_0x29e24d['retryTestsOnFailure'])&&(_0x3a65f0[_0x278fba(0x1f8)][_0x278fba(0x1f9)]=_0x29e24d['retryTestsOnFailure'][_0x278fba(0x21d)]);if(helper['isNotUndefined'](_0x29e24d[_0x278fba(0x19f)])&&helper[_0x278fba(0x1e9)](_0x29e24d[_0x278fba(0x19f)][_0x278fba(0x261)])){const _0x290b5d={};_0x290b5d['failureThresholdCount']=_0x29e24d[_0x278fba(0x19f)]['maxFailures'],_0x290b5d[_0x278fba(0x261)]=_0x29e24d['abortBuildOnFailure'][_0x278fba(0x261)],_0x3a65f0[_0x278fba(0x1f8)]['failFast']=_0x290b5d;}}let _0x882027='';_0x5d3860[_0x278fba(0x183)](helper[_0x278fba(0x20e)](),constants[_0x278fba(0x1cc)][_0x278fba(0x22f)])?_0x882027=_0x5d3860[_0x278fba(0x230)]:_0x882027=_0x5d3860[_0x278fba(0x1a0)];const _0x16a955=_0x882027,_0x108634=path['join'](__dirname,_0x5d3860[_0x278fba(0x23b)],_0x5d3860[_0x278fba(0x249)]),_0x3c62c8=path['join'](__dirname,_0x5d3860[_0x278fba(0x23b)],_0x5d3860[_0x278fba(0x1d6)]),_0xd0a9e4=path[_0x278fba(0x22d)](__dirname,_0x5d3860['MCCDr'],_0x5d3860[_0x278fba(0x251)]);_0x3a65f0['testEnvironment']&&(process[_0x278fba(0x181)]['BSTACK_JEST_TEST_ENV']=_0x3a65f0['testEnvironment']);_0x3a65f0[_0x278fba(0x1bd)]=path[_0x278fba(0x22d)](__dirname,_0x5d3860[_0x278fba(0x23b)],_0x5d3860[_0x278fba(0x16d)]);const _0xf45fc5=_0x50c552[_0x278fba(0x204)];if(_0xf45fc5&&_0x5d3860[_0x278fba(0x218)](_0xf45fc5,_0x5d3860[_0x278fba(0x18d)])){const _0x2e78f1=_0xf45fc5[_0x278fba(0x188)](_0x5d3860[_0x278fba(0x215)])?_0xf45fc5:_0x278fba(0x24c)+_0xf45fc5;process['env']['BSTACK_USER_JEST_RUNNER']=_0x2e78f1,logger[_0x278fba(0x171)](_0x278fba(0x233)+_0x2e78f1);}_0x3a65f0[_0x278fba(0x204)]=_0x3c62c8,_0x3a65f0['setupFilesAfterEnv']=_0x3a65f0['setupFilesAfterEnv']||[],_0x3a65f0['setupFilesAfterEnv'][_0x278fba(0x1cd)](path[_0x278fba(0x22d)](__dirname,_0x5d3860[_0x278fba(0x1d0)]));_0x4df860[_0x278fba(0x20b)]()&&(_0x3a65f0['testSequencer']=path[_0x278fba(0x22d)](__dirname,_0x5d3860[_0x278fba(0x23b)],_0x5d3860['cMWgx']));if(testhubUtils[_0x278fba(0x1c9)]()||BrowserstackCLI[_0x278fba(0x1c2)]()[_0x278fba(0x1bc)]()){let _0x37049d=null;try{_0x37049d=helper[_0x278fba(0x1aa)](_0x5d3860[_0x278fba(0x22a)],_0x5d3860['FZbdT']);}catch(_0x2d6ebc){try{_0x37049d=helper['requireModule'](_0x5d3860['fdNIi'],_0x5d3860[_0x278fba(0x212)]);}catch(_0x589e86){_0x5d3860[_0x278fba(0x1e7)](debug,_0x278fba(0x1b1)+_0x589e86);}}_0x37049d&&(testhubUtils[_0x278fba(0x1c9)]()&&_0x3a65f0[_0x278fba(0x1f7)][_0x278fba(0x1cd)](path['join'](__dirname,_0x5d3860[_0x278fba(0x192)],_0x5d3860[_0x278fba(0x207)])),_0x3a65f0[_0x278fba(0x1ef)]=path[_0x278fba(0x22d)](__dirname,_0x5d3860[_0x278fba(0x23b)],_0x5d3860[_0x278fba(0x1f0)]));}_0x3a65f0[_0x278fba(0x1f3)]=_0x3a65f0['setupFiles']||[];try{helper['requireSeleniumWebdriver'](),_0x3a65f0['setupFiles'][_0x278fba(0x1cd)](path['join'](__dirname,_0x5d3860[_0x278fba(0x1b3)]));}catch{logger[_0x278fba(0x257)](_0x5d3860['IPZuu']);}try{helper[_0x278fba(0x185)][_0x278fba(0x1b5)](null,[_0x5d3860[_0x278fba(0x180)],_0x5d3860[_0x278fba(0x23e)]]),logger['debug'](_0x5d3860[_0x278fba(0x20d)]),_0x3a65f0[_0x278fba(0x1f3)][_0x278fba(0x1cd)](path['join'](__dirname,_0x5d3860[_0x278fba(0x236)]));}catch(_0xf32828){logger[_0x278fba(0x257)](_0x5d3860[_0x278fba(0x184)],_0xf32828);}if(_0x5d3860[_0x278fba(0x201)](!_0x3fce7e,_0x5d9aa3)){try{logger[_0x278fba(0x257)](_0x5d3860[_0x278fba(0x1fd)]),_0x3a65f0[_0x278fba(0x1f3)]['push'](path['join'](__dirname,'..',_0x5d3860[_0x278fba(0x173)],_0x5d3860[_0x278fba(0x236)]));}catch(_0x2a7f67){logger[_0x278fba(0x257)](_0x278fba(0x18b)+_0x2a7f67[_0x278fba(0x23d)]);}try{const _0x762207=require[_0x278fba(0x194)](_0x5d3860['DrUnS']),_0x8be798=path[_0x278fba(0x1d5)](_0x762207)[_0x278fba(0x1ea)](/\\/g,'/'),_0xa45d25={};_0xa45d25[_0x278fba(0x19a)]=_0x8be798+_0x278fba(0x1b6),_0x3a65f0['moduleNameMapper']=Object[_0x278fba(0x223)]({},_0x3a65f0[_0x278fba(0x1d3)]||{},_0xa45d25),logger[_0x278fba(0x257)](_0x278fba(0x196)+_0x8be798);}catch(_0x1eb333){logger[_0x278fba(0x257)](_0x278fba(0x21a)+_0x1eb333[_0x278fba(0x23d)]);}}_0x3a65f0[_0x278fba(0x1c1)]=_0x3a65f0[_0x278fba(0x1c1)]||[_0x5d3860['ISlJv']],_0x5d3860['uYdLh'](updateTestRerunConfig,_0x3a65f0,_0x58c69e);const _0x2062ce=fs['readFileSync'](_0xd0a9e4),_0x2793b1=helper['resolveModule'](_0x5d3860['lOTPp'],_0x5d3860['kpnNR']);!_0x2793b1[_0x278fba(0x1be)]?fs['writeFileSync'](_0x3a65f0[_0x278fba(0x204)],_0x278fba(0x1b2)+_0x2062ce+_0x278fba(0x25a)+_0x58c69e[_0x278fba(0x1ed)]['platforms'][_0x278fba(0x186)]+';\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'):fs[_0x278fba(0x1dd)](_0x3a65f0[_0x278fba(0x204)],_0x278fba(0x1b2)+_0x2062ce+_0x278fba(0x1f5)+_0x58c69e[_0x278fba(0x1ed)][_0x278fba(0x214)][_0x278fba(0x186)]+_0x278fba(0x225));logger[_0x278fba(0x171)](_0x278fba(0x1c0)+_0x16a955+_0x278fba(0x234)),fs[_0x278fba(0x1dd)](_0x16a955,_0x278fba(0x167)+JSON[_0x278fba(0x1a3)](_0x3a65f0)+_0x278fba(0x17e));if(_0x4df860[_0x278fba(0x20b)]()){logger[_0x278fba(0x257)](_0x5d3860[_0x278fba(0x1d8)]);const _0x2c0dbc=await _0x4df860['findTestFiles'](_0x3a65f0,_0x469677['slice'](0x1),_0x16a955);logger['debug'](_0x278fba(0x1ec)+JSON[_0x278fba(0x1a3)](_0x2c0dbc)+_0x278fba(0x1ac));const _0x875b02=await _0x4df860[_0x278fba(0x169)](_0x2c0dbc);logger[_0x278fba(0x257)](_0x278fba(0x17a)+JSON['stringify'](_0x875b02)),_0x875b02&&_0x5d3860[_0x278fba(0x1f1)](_0x875b02[_0x278fba(0x186)],0x0)&&(process['env'][_0x278fba(0x262)]=_0x875b02?.[_0x278fba(0x22d)](','));}logger['info'](_0x5d3860[_0x278fba(0x202)]);testhubUtils[_0x278fba(0x1c9)]()&&TestDetails[_0x278fba(0x244)]();helper[_0x278fba(0x24d)]({},_0x469677),PerformanceTester[_0x278fba(0x1a6)](PerformanceEvents[_0x278fba(0x1b4)]);const _0x113f60=[_0x5d3860[_0x278fba(0x179)],_0x5d3860[_0x278fba(0x220)],_0x16a955,..._0x469677[_0x278fba(0x191)](0x1)],_0x2ddbbb=_0x5d3860[_0x278fba(0x1e8)](spawn,_0x5d3860[_0x278fba(0x1fe)],_0x113f60,{'shell':_0x5d3860['rgKnv'](process[_0x278fba(0x263)],_0x5d3860['nQjnc']),'stdio':_0x5d3860[_0x278fba(0x16c)],'env':Object[_0x278fba(0x223)]({},process[_0x278fba(0x181)])});_0x2ddbbb['on'](_0x5d3860[_0x278fba(0x1d9)],async _0x5589ca=>{const _0x2a944b=_0x278fba;PerformanceTester[_0x2a944b(0x1df)](PerformanceEvents[_0x2a944b(0x258)]);try{const {browserstackFolderPath:_0x2d8593,tcgConfigPath:_0x83934b}=helper['getTCGConfigFilePaths']();fs[_0x2a944b(0x21f)](_0x83934b),fs['rmdirSync'](_0x2d8593);}catch(_0x579bdb){logger[_0x2a944b(0x257)](_0x5d3860[_0x2a944b(0x20f)],_0x579bdb);}process[_0x2a944b(0x22c)]=_0x5589ca,logger[_0x2a944b(0x257)]('child\x20process\x20exited\x20with\x20code\x20'+_0x5589ca),logger[_0x2a944b(0x171)](_0x2a944b(0x1d7)+_0x16a955);if(helper[_0x2a944b(0x1e9)](_0x29e24d)&&helper[_0x2a944b(0x1e9)](_0x29e24d[_0x2a944b(0x19f)])&&fs[_0x2a944b(0x1d4)](_0x29e24d[_0x2a944b(0x19f)][_0x2a944b(0x261)]))try{const _0x1dae2c={};_0x1dae2c[_0x2a944b(0x1ad)]=!![],_0x1dae2c['force']=!![],fs[_0x2a944b(0x1e6)](_0x29e24d['abortBuildOnFailure']['workingDir'],_0x1dae2c),logger[_0x2a944b(0x257)](_0x2a944b(0x17c)+_0x29e24d['abortBuildOnFailure'][_0x2a944b(0x261)]);}catch(_0x5938e9){logger[_0x2a944b(0x1be)](_0x2a944b(0x18f)+_0x5938e9);}let _0x42754b=null;if(fs['existsSync'](_0x108634)){_0x42754b=fs['readFileSync'](_0x108634);try{_0x42754b=JSON[_0x2a944b(0x231)](_0x42754b);}catch(_0x3aac03){logger['debug']('Error\x20while\x20parsing\x20'+_0x108634+',\x20'+_0x42754b+'\x20:\x20'+_0x3aac03);}fs[_0x2a944b(0x21f)](_0x108634);}fs[_0x2a944b(0x21f)](_0x16a955),fs[_0x2a944b(0x21f)](_0x3c62c8),_0x42754b&&(_0x58c69e[_0x2a944b(0x1b0)]=helper[_0x2a944b(0x1b8)](_0x42754b,_0x5d3860['orJfs'],_0x58c69e));const _0x2f0d66=BrowserstackCLI[_0x2a944b(0x228)]();try{await TestHubHandler[_0x2a944b(0x1a5)](),await BrowserstackCLI[_0x2a944b(0x1c2)]()['stop']();}catch(_0x20b88d){console[_0x2a944b(0x1f2)](_0x20b88d),_0x5d3860[_0x2a944b(0x1e7)](debug,_0x2a944b(0x1a7)+util['format'](_0x20b88d));}testOpsHelper[_0x2a944b(0x22e)](),TestDetails[_0x2a944b(0x19b)](),await utilities['finalExecution'](_0x58c69e,_0x2f0d66);});}function a14_0x468f(){const _0x170506=['puppeteer','342777JKMZTm','customTestRunnerTemplate.js','__isPuppeteerInstalled','@jest/core','isBrowserstackInfra','rmSync','JEpJG','Nmhjn','isNotUndefined','replace','turboScaleUrl','Found:\x20','config','timeout__','testRunner','tewpu','fiwIe','log','setupFiles','../../helpers/testhub/testhubHandler','\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','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','setupFilesAfterEnv','testEnvironmentOptions','retries__','../../helpers/test-observability/utils','jest-circus/build/runner.js','testContextOptions','HGdOc','cCJzl','clRdU','format','RafkA','NiCRd','vEFDR','runner','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','runInBand','ksgtD','error\x20removing\x20tcg\x20config\x20file','../../helpers/utilities','154840gUSFoq','isTestOrchestrationEnabled','NVKvR','iZgmP','getPackageType','GpsBn','__isPlaywrightInstalled','readInitialOptions','FZbdT','SsrAi','platforms','vQrqR','findIndex','getHubUrl','UvLyt','Szwiw','[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20','gohTW','--config','maxRetries','BROWSERSTACK_TEST_ACCESSIBILITY_YML','unlinkSync','beCff','capabilities','jest_browserstack_results.json','assign','platformCaps',';\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','../../helpers/logger','./test-observability/helper','isCLIEnabled','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','sZPMa','1056qlfxEb','exitCode','join','printBuildLink','MODULE','QHGNU','parse','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','Preserving\x20user\x27s\x20Jest\x20runner:\x20','\x20with\x20browserstack\x20jest\x20configs','handleApp','NOtez','323815qRfNhd','yLDVl','default','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','MCCDr','../../helpers/performance/performance-tester','message','LmnXD','customCircus.js','../../helpers/BrowserStackSetup','./test-observability/test-details','customEnvironment.js','skipSessionName','setup','7649440BVvAVY','customImplements','ueXyb','true','LeAjM','@jest/core/build/ReporterDispatcher.js','42196hZLYlq','jest-runner-','filterBrowserstackArgs','mjs','skipSessionStatus','jest-circus','TfoRq','useW3C','serial__','initialize','jest.setup.js','parallelsPerPlatform','debug','SDK_CLEANUP','package.json','\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','inherit','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','jDHQv','aaHzz','BROWSERSTACK_CAPABILITIES','util','workingDir','JEST_TEST_ORDER','platform','FRAMEWORKS','test.setup.js','@playwright/test','Getting\x20your\x20jest\x20configs\x20from\x20','const\x20config=','../../helpers/percy/utils','reorderTestFiles','setupTCGAuth','BROWSERSTACK_TEST_OBSERVABILITY_YML','IkBHL','iDToQ','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','ukdfW','URxxI','info','2634678UZyIwl','TBjuc','test-observability','jest_browserstack.config.js','flYay','prepareCapabilities','npx','orJfs','Reodered\x20Test\x20Files:\x20','test_before.setup.js','Deleted\x20fail-fast\x20state\x20folder:\x20','jest.config.','\x0amodule.exports\x20=\x20config;','parallels__','NRhkW','env','../../helpers/playwright-helper','rgKnv','xnzLo','requirePWModule','length','../utils/constants','startsWith','checkAccessibilityPlatformConfig','miOTe','Puppeteer\x20setup\x20error:\x20','browserStackPercyOptions','LKUWl','JKyUt','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','proxySettings','slice','ttzUE','parseTestOrchestrationOptions','resolve','2vWmTOH','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','path','getPackageVersion','../../helpers/puppeteer-helper','^puppeteer-core/internal/(.*)','shutdown','testObservability','playwright',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','abortBuildOnFailure','ejbjd','tVFHy','customTestRunner.js','stringify','cjs','stop','end','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','JEST','../../helpers/test-observability/constants','requireModule','mSxVo','\x20test\x20files\x20to\x20run.','recursive','splice','10qGZxop','errorMessage','Unable\x20to\x20find\x20jest-circus,\x20','\x0a\x20\x20\x20\x20\x20\x20','EQtsF','SDK_SETUP','apply','/internal/$1','../../helpers/accessibility-automation/helper','getErrorMessageFromResults','json','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','jest','isCliEnabled','testEnvironment','error','jest_browserstack.config.cjs','Creating\x20','reporters','getInstance','isRunning','jest-config/build/readConfigFileAndSetRootDir.js','EVENTS','isUndefined','false','9462134vQbsdo','shouldProcessEventForTesthub',',\x20CLI\x20running:\x20','puppeteer-core/package.json','PACKAGE_TYPE','push','sUOzB','maxWorkers','CMXHg','jest-runner','Getting\x20your\x20jest\x20configs\x20from\x20package.json','moduleNameMapper','existsSync','dirname','fyvuA','Deleting\x20','RyppX','ZgSQZ','cBPPo','68vblLLC','cwd','writeFileSync','winstonLogger','start'];a14_0x468f=function(){return _0x170506;};return a14_0x468f();}module['exports']=run;
|
|
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;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a15_0x37f899=a15_0x44d2;function a15_0x44d2(_0x478161,_0x7afa6a){const _0x2e8a44=a15_0x2e8a();return a15_0x44d2=function(_0x44d270,_0x38a81d){_0x44d270=_0x44d270-0xe1;let _0x2b6510=_0x2e8a44[_0x44d270];return _0x2b6510;},a15_0x44d2(_0x478161,_0x7afa6a);}(function(_0x34e8da,_0x2010a1){const _0x5e168c=a15_0x44d2,_0xa40fe9=_0x34e8da();while(!![]){try{const _0x505a73=parseInt(_0x5e168c(0xf6))/0x1*(-parseInt(_0x5e168c(0xe4))/0x2)+-parseInt(_0x5e168c(0xef))/0x3*(parseInt(_0x5e168c(0xe9))/0x4)+parseInt(_0x5e168c(0xeb))/0x5+-parseInt(_0x5e168c(0xf4))/0x6*(parseInt(_0x5e168c(0xee))/0x7)+-parseInt(_0x5e168c(0xec))/0x8+parseInt(_0x5e168c(0xf8))/0x9+-parseInt(_0x5e168c(0xea))/0xa*(-parseInt(_0x5e168c(0xe1))/0xb);if(_0x505a73===_0x2010a1)break;else _0xa40fe9['push'](_0xa40fe9['shift']());}catch(_0xda1206){_0xa40fe9['push'](_0xa40fe9['shift']());}}}(a15_0x2e8a,0x82940));const path=require(a15_0x37f899(0xf2)),{requireModule}=require('../../../helpers/helper');let initJestAdapter;try{initJestAdapter=requireModule('jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','jest-circus');}catch{initJestAdapter=requireModule(a15_0x37f899(0xf5),a15_0x37f899(0xe8));}initJestAdapter=typeof initJestAdapter===a15_0x37f899(0xe6)?initJestAdapter:initJestAdapter[a15_0x37f899(0xe5)];const FRAMEWORK_INITIALIZER=path[a15_0x37f899(0xf7)](__dirname,a15_0x37f899(0xf3));function a15_0x2e8a(){const _0xf887d8=['30kmBpkU','default','function','requireInternalModule','jest-circus','11508elwOSV','10DKGPTM','3644110qCoKaY','8530232dcbDqz','jestAdapterInit','511ZDHEmy','513vbcELK','initRequireModule','exports','path','customJestAdapterInit.js','60942avcuIq','jest-circus/build/runner.js','10175JmkKcS','join','4907700POTDQl','18843638vbHkhd','XzELR','includes'];a15_0x2e8a=function(){return _0xf887d8;};return a15_0x2e8a();}module[a15_0x37f899(0xf1)]=(..._0x3350fd)=>{const _0x2d8ff6=a15_0x37f899,_0x398b2e={'XzELR':_0x2d8ff6(0xed),'BXOUg':function(_0x41cda0,_0x9ea92d){return _0x41cda0===_0x9ea92d;},'ONhEW':function(_0x1abd0e,..._0x554047){return _0x1abd0e(..._0x554047);}};return _0x3350fd[0x3][_0x2d8ff6(0xf0)]=_0x3350fd[0x3][_0x2d8ff6(0xe7)],_0x3350fd[0x3][_0x2d8ff6(0xe7)]=(..._0x3109b0)=>{const _0x5af6e7=_0x2d8ff6;if(_0x3109b0[0x0]&&_0x3109b0[0x0][_0x5af6e7(0xe3)](_0x398b2e[_0x5af6e7(0xe2)])&&_0x398b2e['BXOUg'](_0x3109b0[0x1],undefined))return _0x3350fd[0x3][_0x5af6e7(0xf0)](FRAMEWORK_INITIALIZER);return _0x3350fd[0x3][_0x5af6e7(0xf0)](..._0x3109b0);},_0x398b2e['ONhEW'](initJestAdapter,..._0x3350fd);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a16_0xdbb286=a16_0x53fb;(function(_0x2a8326,_0x2a7b55){const _0x174f3d=a16_0x53fb,_0x9c1a2=_0x2a8326();while(!![]){try{const _0x2ffaf2=-parseInt(_0x174f3d(0x94))/0x1*(parseInt(_0x174f3d(0xae))/0x2)+parseInt(_0x174f3d(0x99))/0x3*(parseInt(_0x174f3d(0xc8))/0x4)+parseInt(_0x174f3d(0xc0))/0x5*(parseInt(_0x174f3d(0xb4))/0x6)+parseInt(_0x174f3d(0xc5))/0x7+-parseInt(_0x174f3d(0xe8))/0x8+parseInt(_0x174f3d(0x9c))/0x9*(-parseInt(_0x174f3d(0xd1))/0xa)+parseInt(_0x174f3d(0xa0))/0xb;if(_0x2ffaf2===_0x2a7b55)break;else _0x9c1a2['push'](_0x9c1a2['shift']());}catch(_0x335e5c){_0x9c1a2['push'](_0x9c1a2['shift']());}}}(a16_0x5f5a,0xc6801));const helper=require(a16_0xdbb286(0x8f)),constants=require(a16_0xdbb286(0x9f)),{isTestObservabilitySession}=require(a16_0xdbb286(0x92)),RequestQueueHandler=require(a16_0xdbb286(0xf3)),ObservabilityReporter=require(a16_0xdbb286(0xf0)),testhubUtils=require(a16_0xdbb286(0xd7)),logger=require(a16_0xdbb286(0xb7))[a16_0xdbb286(0xdb)],getTestEnvironment=((()=>{const _0x2d3c5e=a16_0xdbb286,_0x196727={};_0x196727[_0x2d3c5e(0xb1)]=_0x2d3c5e(0xa2),_0x196727[_0x2d3c5e(0xd3)]=_0x2d3c5e(0xaa);const _0x5945d4=_0x196727;try{const _0x5c589f=helper['requireModule'](_0x5945d4['VhROd']);if(_0x5c589f['resolveTestEnvironment'])return _0x5c589f['resolveTestEnvironment'];const _0x2f81fb=helper[_0x2d3c5e(0xbf)](_0x5945d4['HZLMP']);if(_0x2f81fb['getTestEnvironment'])return _0x2f81fb[_0x2d3c5e(0x9e)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x2fd2fc=a16_0xdbb286,_0x1dd2cc={'mQbEo':function(_0x23a5e0,_0x20d2d1){return _0x23a5e0(_0x20d2d1);},'QmoSC':_0x2fd2fc(0x95),'qpjhM':_0x2fd2fc(0xe7)},_0x4c4d7c=_0x1dd2cc['mQbEo'](getTestEnvironment,{'rootDir':process['cwd'](),'testEnvironment':process[_0x2fd2fc(0xdf)]['BSTACK_JEST_TEST_ENV']||_0x1dd2cc[_0x2fd2fc(0xe2)]});if(!_0x4c4d7c)return _0x1dd2cc['mQbEo'](_interopRequireDefault,helper[_0x2fd2fc(0xbf)](_0x1dd2cc[_0x2fd2fc(0x97)]));return _0x1dd2cc[_0x2fd2fc(0x8b)](_interopRequireDefault,helper[_0x2fd2fc(0xbf)](_0x4c4d7c));})()),_seleniumWebdriver2=((()=>{const _0x5bb62e=a16_0xdbb286,_0x236400={'YdiAG':function(_0x213dbc,_0x19ed69){return _0x213dbc(_0x19ed69);}};try{const _0x517e06=helper[_0x5bb62e(0xd6)]();return helper[_0x5bb62e(0xce)](),_0x236400[_0x5bb62e(0x93)](_interopRequireDefault,_0x517e06);}catch{return null;}})());function _interopRequireDefault(_0x565897){const _0x475d41=a16_0xdbb286;return _0x565897&&_0x565897[_0x475d41(0xfb)]?_0x565897:{'default':_0x565897};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2['default']['Builder']:null;class CustomEnvironment extends _jestUserEnvironment[a16_0xdbb286(0xc7)]{constructor(_0x2650a1){const _0x3fccac=a16_0xdbb286,_0x4e7b6a={'EFlYv':_0x3fccac(0xe5),'YtKDU':function(_0x4492e6,_0x562238){return _0x4492e6+_0x562238;},'YyRcQ':_0x3fccac(0xcb),'PuMAO':function(_0x237c8a,_0x1b9522){return _0x237c8a(_0x1b9522);},'LfjfD':'../../../helpers/test-orchestration/failfastManager','dJJUI':_0x3fccac(0xb3),'HvnrQ':'testEnvironmentOptions','BuRmB':_0x3fccac(0x88),'FgCkS':_0x3fccac(0x89),'UvmKu':_0x3fccac(0xcc),'TOvsb':'../../../index','wJRcS':'percy'};super(_0x2650a1),this[_0x3fccac(0xb8)][_0x3fccac(0xb5)]=0x0,this[_0x3fccac(0xe4)]={};!_0x2650a1[_0x3fccac(0xc6)]&&(_0x2650a1[_0x3fccac(0xc6)]={});if(helper[_0x3fccac(0xdd)]()){_0x2650a1[_0x3fccac(0xc6)]=_0x2650a1[_0x3fccac(0xe9)]?_0x2650a1['projectConfig']['testEnvironmentOptions']:_0x2650a1[_0x3fccac(0xc6)];_seleniumWebdriver2&&(this[_0x3fccac(0xcd)]=new _seleniumWebdriver2[(_0x3fccac(0xc7))][(_0x3fccac(0xc2))]());this[_0x3fccac(0xb0)]=_0x2650a1[_0x3fccac(0xe9)]?_0x2650a1['projectConfig'][_0x3fccac(0xb0)]:_0x2650a1[_0x3fccac(0xb0)],this[_0x3fccac(0xb8)]['__timeout']=_0x4e7b6a['YtKDU'](_0x2650a1[_0x3fccac(0xc6)][_0x3fccac(0xef)]||0x1388,constants['BSTACK_DELTA']),this[_0x3fccac(0xf8)]=_0x2650a1[_0x3fccac(0xc6)][_0x3fccac(0xa1)];if(this[_0x3fccac(0xf8)]){const _0x2a62df=this[_0x3fccac(0xb0)][_0x4e7b6a[_0x3fccac(0xbc)]]?.[_0x3fccac(0xde)]||'',_0x4f8036=this[_0x3fccac(0xb0)][_0x4e7b6a['YyRcQ']]?.[_0x3fccac(0xda)]||'';this[_0x3fccac(0xa1)]=new(_0x4e7b6a[_0x3fccac(0xe0)](require,_0x4e7b6a['LfjfD']))(this['failFastOptions'],_0x2a62df,_0x4f8036),this[_0x3fccac(0xb8)][_0x3fccac(0x8a)]=![];}helper['isNotUndefined'](_0x2650a1[_0x3fccac(0xc6)]['retries__'])&&(this[_0x3fccac(0xb8)]['__jestRetries']=_0x2650a1[_0x3fccac(0xc6)][_0x3fccac(0xbb)]);}if(testhubUtils[_0x3fccac(0xec)]()){const _0x5a70fa=new ObservabilityReporter();_0x5a70fa[_0x3fccac(0xf6)]();}this[_0x3fccac(0xb8)][_0x3fccac(0xee)]={},this['configuration']=_0x2650a1[_0x3fccac(0xc6)],this['configuration']['framework']=constants['FRAMEWORKS']['JEST'],this[_0x3fccac(0xb8)][_0x3fccac(0xca)]=(_0x2650a1['projectConfig']?_0x2650a1['projectConfig'][_0x3fccac(0xca)]:_0x2650a1[_0x3fccac(0xca)])||0x0,this[_0x3fccac(0xb8)]['__platformCaps']=this[_0x3fccac(0xe4)]&&this[_0x3fccac(0xe4)][_0x3fccac(0xf7)]&&Array[_0x3fccac(0x9d)](this[_0x3fccac(0xe4)]['platformCaps'])&&this['configuration']['platformCaps'][this['global']['browserstackPlatformIndex']]||{};const _0x3a8d12=this[_0x3fccac(0xb8)][_0x3fccac(0xca)],_0x29d180={...this['configuration'],'capability':this[_0x3fccac(0xe4)][_0x3fccac(0xba)]&&Array[_0x3fccac(0x9d)](this[_0x3fccac(0xe4)][_0x3fccac(0xba)])&&this[_0x3fccac(0xe4)][_0x3fccac(0xba)][_0x3a8d12]||{},'platformCaps':this[_0x3fccac(0xe4)][_0x3fccac(0xf7)]&&Array['isArray'](this[_0x3fccac(0xe4)][_0x3fccac(0xf7)])&&this[_0x3fccac(0xe4)][_0x3fccac(0xf7)][_0x3a8d12]||{}};delete _0x29d180[_0x3fccac(0xba)],this['global'][_0x3fccac(0xe1)]=_0x29d180;if(_seleniumWebdriver2){const _0x36200d=_0x4e7b6a[_0x3fccac(0xbe)][_0x3fccac(0xac)]('|');let _0x94437c=0x0;while(!![]){switch(_0x36200d[_0x94437c++]){case'0':this[_0x3fccac(0xb8)][_0x3fccac(0x9a)]=async()=>{const _0x4fe0cb=_0x3fccac;await this[_0x4fe0cb(0xb8)][_0x4fe0cb(0xc1)][_0x4fe0cb(0xe5)](_0x4e7b6a[_0x4fe0cb(0xf1)]);};continue;case'1':this[_0x3fccac(0xb8)][_0x3fccac(0xf5)]=[];continue;case'2':this[_0x3fccac(0xb8)][_0x3fccac(0x89)]=helper['nestedKeyValue'](_0x2650a1,[_0x4e7b6a[_0x3fccac(0x8e)],_0x4e7b6a[_0x3fccac(0xfa)],_0x4e7b6a[_0x3fccac(0xf4)]]);continue;case'3':this['global'][_0x3fccac(0xcc)]=helper[_0x3fccac(0x98)](_0x2650a1,[_0x4e7b6a[_0x3fccac(0x8e)],_0x4e7b6a[_0x3fccac(0xfa)],_0x4e7b6a[_0x3fccac(0xeb)]]);continue;case'4':helper['isTrue'](this[_0x3fccac(0xe4)]['skipSessionName'])?this[_0x3fccac(0xb8)][_0x3fccac(0xab)]=!![]:this[_0x3fccac(0xb8)]['sessionNameProvided']=![];continue;case'5':this[_0x3fccac(0xb8)]['__webdriver']=_0x4e7b6a[_0x3fccac(0xe0)](require,_0x4e7b6a[_0x3fccac(0xd0)])[_0x3fccac(0xb9)]({...this[_0x3fccac(0xe4)],'capability':this[_0x3fccac(0xb0)]||{}},this,testhubUtils[_0x3fccac(0xec)]());continue;case'6':this[_0x3fccac(0xb8)][_0x3fccac(0xdc)]=helper[_0x3fccac(0x98)](_0x2650a1,[_0x4e7b6a[_0x3fccac(0x8e)],_0x4e7b6a[_0x3fccac(0xfa)],_0x4e7b6a['wJRcS']]);continue;case'7':this[_0x3fccac(0xb8)][_0x3fccac(0xe3)]=helper[_0x3fccac(0xe6)](this['configuration'][_0x3fccac(0xfc)]);continue;}break;}}}async['teardown'](){const _0x3d2ceb=a16_0xdbb286;_seleniumWebdriver2&&(await helper[_0x3d2ceb(0xa9)](this[_0x3d2ceb(0xb8)][_0x3d2ceb(0xf2)]),this['global'][_0x3d2ceb(0xa6)]['Builder']=originalBuilder),await RequestQueueHandler[_0x3d2ceb(0x96)]()[_0x3d2ceb(0xd4)]();}async['setup'](){}async[a16_0xdbb286(0xa5)](_0x2ab6fe,_0x593ab9){const _0x2b6ab5=a16_0xdbb286,_0x43886c={};_0x43886c[_0x2b6ab5(0xa7)]=function(_0x163067,_0x5b5983){return _0x163067===_0x5b5983;},_0x43886c[_0x2b6ab5(0xc9)]=_0x2b6ab5(0x8c),_0x43886c[_0x2b6ab5(0xd9)]=_0x2b6ab5(0xcf),_0x43886c['rcRes']='test_done',_0x43886c['izdBQ']=_0x2b6ab5(0x90),_0x43886c[_0x2b6ab5(0xa4)]=function(_0xbeb948,_0x559ff8){return _0xbeb948===_0x559ff8;},_0x43886c[_0x2b6ab5(0xd8)]=_0x2b6ab5(0xf9),_0x43886c['LpRbo']=function(_0x599458,_0x5865a6){return _0x599458===_0x5865a6;},_0x43886c[_0x2b6ab5(0xa8)]=_0x2b6ab5(0x91);const _0x230a64=_0x43886c,{name:_0x572bd6}=_0x2ab6fe;if(_0x230a64[_0x2b6ab5(0xa7)](_0x572bd6,_0x230a64[_0x2b6ab5(0xc9)])){this[_0x2b6ab5(0xb8)][_0x2b6ab5(0xaf)]=_0x2ab6fe[_0x2b6ab5(0xad)];if(_0x230a64[_0x2b6ab5(0xa7)](this[_0x2b6ab5(0xb8)]['failFastActive'],!![])){const _0xdf6cca=_0x2ab6fe[_0x2b6ab5(0xad)][_0x2b6ab5(0xbd)];logger[_0x2b6ab5(0xc3)](_0x2b6ab5(0xd5)+_0xdf6cca),_0x2ab6fe[_0x2b6ab5(0xad)][_0x2b6ab5(0x8d)]=_0x230a64[_0x2b6ab5(0xd9)];}}if(this[_0x2b6ab5(0xa1)]&&_0x230a64['JnQuv'](_0x572bd6,_0x230a64['rcRes']))try{const _0x13df41=_0x2ab6fe['test'][_0x2b6ab5(0xc4)][_0x2b6ab5(0xfd)](_0x230a64[_0x2b6ab5(0xb6)]),_0x466d7d=_0x2ab6fe[_0x2b6ab5(0xad)][_0x2b6ab5(0xa3)];await this[_0x2b6ab5(0xa1)][_0x2b6ab5(0xed)](_0x13df41,_0x466d7d);const _0x30fac7=await this['failFast'][_0x2b6ab5(0xea)]();_0x230a64[_0x2b6ab5(0xa4)](this[_0x2b6ab5(0xb8)]['failFastActive'],![])&&_0x230a64['tIJzk'](_0x30fac7,!![])&&(this[_0x2b6ab5(0xb8)][_0x2b6ab5(0x8a)]=!![]);}catch(_0x109a2b){logger[_0x2b6ab5(0xd2)](_0x230a64[_0x2b6ab5(0xd8)],_0x109a2b['message']);}_0x230a64[_0x2b6ab5(0x9b)](_0x572bd6,_0x230a64[_0x2b6ab5(0xa8)])&&(this['failFast']&&this['failFast'][_0x2b6ab5(0x9a)]());}}function a16_0x53fb(_0x4b8aeb,_0xef1178){const _0x5f5ad0=a16_0x5f5a();return a16_0x53fb=function(_0x53fb7e,_0x448cab){_0x53fb7e=_0x53fb7e-0x88;let _0x1d29f1=_0x5f5ad0[_0x53fb7e];return _0x1d29f1;},a16_0x53fb(_0x4b8aeb,_0xef1178);}function a16_0x5f5a(){const _0x103aa6=['isTrue','jest-environment-node','9807576NOenhG','projectConfig','shouldFailFast','UvmKu','shouldProcessEventForTesthub','onTestDone','browserStackGlobals','timeout__','../test-observability/obsReporter','EFlYv','__driversArray','../../../helpers/test-observability/requestQueueHandler','FgCkS','__drivers','registerListeners','platformCaps','failFastOptions','Error\x20in\x20fail-fast\x20test_done\x20handler:','BuRmB','__esModule','skipSessionStatus','join','browserStackPercyOptions','percyCaptureMode','failFastActive','mQbEo','test_start','mode','HvnrQ','../../../helpers/helper','\x20>\x20','teardown','../../../helpers/test-observability/utils','YdiAG','13693WIEOEu','node','getInstance','qpjhM','nestedKeyValue','21usfDJO','cleanup','LpRbo','153WTkqqg','isArray','getTestEnvironment','../../utils/constants','6579551BzJXED','failFast','jest-resolve','errors','tIJzk','handleTestEvent','__webdriver','JnQuv','XGyVw','cleanupDrivers','jest-config','sessionNameProvided','split','test','230xaWSUy','testContext','capability','VhROd','exports','1|5|3|6|2|4|7|0','1933332rzAuij','__timeout','izdBQ','../../../helpers/logger','global','browserstackAgentV2','capabilities','retries__','YyRcQ','name','dJJUI','requireModule','10kekwcx','driver','Builder','info','testPath','9773925bHSCXP','testEnvironmentOptions','default','648812lhzjDI','WGadD','browserstackPlatformIndex','bstack:options','browserstackPercyBestPlatform','builder','modifyCommand','skip','TOvsb','94460lNRJCG','debug','HZLMP','shutdown','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','requireSeleniumWebdriver','../../../helpers/testhub/utils','cLYdN','zwiYd','projectName','winstonLogger','percy','isBrowserstackInfra','buildName','env','PuMAO','jestConfig','QmoSC','__skipSessionStatus','configuration','quit'];a16_0x5f5a=function(){return _0x103aa6;};return a16_0x5f5a();}module[a16_0xdbb286(0xb2)]=CustomEnvironment;
|
|
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 +1 @@
|
|
|
1
|
-
const a17_0x5ed42d=a17_0x17a7;(function(_0x18a727,_0x47eff5){const _0x516b9f=a17_0x17a7,_0x5e26ac=_0x18a727();while(!![]){try{const _0x4b2c0d=-parseInt(_0x516b9f(0x138))/0x1+-parseInt(_0x516b9f(0xc5))/0x2*(-parseInt(_0x516b9f(0x178))/0x3)+parseInt(_0x516b9f(0x129))/0x4*(parseInt(_0x516b9f(0xe3))/0x5)+-parseInt(_0x516b9f(0x113))/0x6*(-parseInt(_0x516b9f(0x110))/0x7)+parseInt(_0x516b9f(0x19a))/0x8*(-parseInt(_0x516b9f(0x173))/0x9)+parseInt(_0x516b9f(0x105))/0xa*(-parseInt(_0x516b9f(0x19c))/0xb)+parseInt(_0x516b9f(0xfb))/0xc;if(_0x4b2c0d===_0x47eff5)break;else _0x5e26ac['push'](_0x5e26ac['shift']());}catch(_0x264a81){_0x5e26ac['push'](_0x5e26ac['shift']());}}}(a17_0x5552,0xa1986));const {requireModule}=require(a17_0x5ed42d(0xd3)),ObservabilityReporter=require(a17_0x5ed42d(0x136)),RequestQueueHandler=require(a17_0x5ed42d(0xd4)),TestDetails=require(a17_0x5ed42d(0x186)),{patchConsoleLogger,debug}=require(a17_0x5ed42d(0xd8)),{o11yErrorHandler}=require('../../../helpers/test-observability/error-handler'),{shouldProcessEventForTesthub}=require(a17_0x5ed42d(0xee)),testHubConstants=require(a17_0x5ed42d(0x155)),BrowserstackCLI=require(a17_0x5ed42d(0x1b3)),TestFrameworkState=require(a17_0x5ed42d(0x10a)),HookState=require(a17_0x5ed42d(0x144)),JestUtils=require(a17_0x5ed42d(0x12d)),{v4:uuidv4}=require('uuid'),util=require('util'),logger=require(a17_0x5ed42d(0x12b))[a17_0x5ed42d(0x109)],{FRAMEWORKS}=require(a17_0x5ed42d(0x172));let exportsI;try{exportsI=requireModule(a17_0x5ed42d(0xbf),'jest-circus');}catch{exportsI=requireModule(a17_0x5ed42d(0x16c),'jest-circus');}const initInitialize=exportsI['initialize'],jestUtils=new JestUtils(),_initializedPlatformIndices=new Set();async function isCLIReady(){const _0x2fe49f=a17_0x5ed42d,_0x5e497d={'GSReY':_0x2fe49f(0x102),'eMsoQ':function(_0x3e25a6,_0x8df765){return _0x3e25a6(_0x8df765);},'btRbe':_0x2fe49f(0x120),'kfzGM':function(_0x4c4c44,_0x56af4e){return _0x4c4c44===_0x56af4e;},'ajkjl':_0x2fe49f(0x17a),'tdpOo':function(_0x3f729b,_0x39901a){return _0x3f729b(_0x39901a);}};try{const _0x2de9e1=BrowserstackCLI['getInstance']();if(_0x2de9e1[_0x2fe49f(0x13b)]()&&_0x2de9e1[_0x2fe49f(0x16f)]())return logger['debug'](_0x5e497d[_0x2fe49f(0x163)]),!![];const _0x2b84b9=process['env']['BROWSERSTACK_CLI_BIN_SESSION_ID'];if(_0x2b84b9&&_0x2de9e1['isCliEnabled']()){if(!_0x2de9e1[_0x2fe49f(0x16f)]())try{const _0x323fb0=_0x5e497d['eMsoQ'](require,_0x5e497d[_0x2fe49f(0x191)]),_0x11278c=_0x323fb0[_0x2fe49f(0x1ab)]();(!_0x11278c||!_0x11278c[_0x2fe49f(0x169)])&&(_0x5e497d[_0x2fe49f(0x11f)](process[_0x2fe49f(0x118)][_0x2fe49f(0xdc)],_0x5e497d[_0x2fe49f(0x11e)])?_0x323fb0['setFrameworkDetail'](FRAMEWORKS[_0x2fe49f(0x18a)],FRAMEWORKS['PUPPETEER']):_0x323fb0[_0x2fe49f(0xc4)](FRAMEWORKS[_0x2fe49f(0x18a)],FRAMEWORKS[_0x2fe49f(0xfd)])),await _0x2de9e1['bootstrap']();}catch(_0x27ca74){return _0x5e497d[_0x2fe49f(0x11b)](debug,'Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20'+util['format'](_0x27ca74)),![];}return _0x2de9e1[_0x2fe49f(0x16f)]();}return![];}catch(_0x587a83){return _0x5e497d[_0x2fe49f(0xff)](debug,'Error\x20checking\x20CLI\x20readiness:\x20'+util[_0x2fe49f(0x121)](_0x587a83)),![];}}function getTestIdentifierForHook(_0x285dc3){const _0x1d736b=a17_0x5ed42d,_0x11c0a4={};_0x11c0a4[_0x1d736b(0x131)]=function(_0xb91e2d,_0x11cafe){return _0xb91e2d===_0x11cafe;},_0x11c0a4['xDbdJ']=_0x1d736b(0xf8),_0x11c0a4[_0x1d736b(0x149)]=function(_0x8754d5,_0x1baf9a){return _0x8754d5===_0x1baf9a;},_0x11c0a4[_0x1d736b(0x183)]=_0x1d736b(0xde),_0x11c0a4[_0x1d736b(0xe7)]=function(_0x335217,_0x591107){return _0x335217===_0x591107;};const _0x451e39=_0x11c0a4;if(_0x451e39['OBDum'](_0x285dc3[_0x1d736b(0xdd)],_0x451e39[_0x1d736b(0xcd)])||_0x451e39[_0x1d736b(0x149)](_0x285dc3[_0x1d736b(0xdd)],_0x451e39[_0x1d736b(0x183)])){let _0x4e18cd=global['__jestCurrentTestIdentifier'];if(!_0x4e18cd&&_0x451e39[_0x1d736b(0xe7)](_0x285dc3[_0x1d736b(0xdd)],_0x451e39[_0x1d736b(0x183)])&&_0x285dc3['parent']){const _0x322f81={};_0x322f81[_0x1d736b(0x169)]=_0x285dc3['parent'][_0x1d736b(0x169)],_0x322f81[_0x1d736b(0x154)]=_0x285dc3[_0x1d736b(0x154)]['parent'],_0x322f81[_0x1d736b(0xef)]=_0x285dc3['asyncError'],_0x322f81[_0x1d736b(0x150)]=_0x285dc3[_0x1d736b(0x150)];const _0x22080f=_0x322f81;_0x4e18cd=jestUtils[_0x1d736b(0x17d)](_0x22080f);}return _0x4e18cd;}return global[_0x1d736b(0xba)];}function mapHookTypeToState(_0x24b774){const _0x2b84d7=a17_0x5ed42d,_0x26aa46={};_0x26aa46['beforeAll']=TestFrameworkState[_0x2b84d7(0xb9)],_0x26aa46[_0x2b84d7(0x14a)]=TestFrameworkState[_0x2b84d7(0xf7)],_0x26aa46['beforeEach']=TestFrameworkState['BEFORE_EACH'],_0x26aa46[_0x2b84d7(0x17c)]=TestFrameworkState[_0x2b84d7(0x170)];const _0x2b274b=_0x26aa46;return _0x2b274b[_0x24b774]||TestFrameworkState[_0x2b84d7(0xcb)];}async function handleHookEventCLI(_0x258786,_0x21669a,_0x3c39a6){const _0x595a15=a17_0x5ed42d,_0x210f8c={'cdySd':function(_0x190207,_0x486853){return _0x190207(_0x486853);},'ybZAA':_0x595a15(0xd7),'xYiuX':function(_0x370d9f,_0x4719bf){return _0x370d9f===_0x4719bf;},'OZuzd':_0x595a15(0x134),'HPmfK':function(_0x483349){return _0x483349();},'hCGeC':function(_0x181f62){return _0x181f62();},'MgGsP':function(_0x247c07,_0x1f8b78){return _0x247c07===_0x1f8b78;},'GKPPU':_0x595a15(0x15f),'zUOCH':function(_0x53b269,_0x23654c){return _0x53b269(_0x23654c);},'fodMD':function(_0x221f4b,_0x2fe0a1){return _0x221f4b===_0x2fe0a1;},'LGAsz':'HookRunFinished','qVTkn':'hook'};logger['debug'](_0x595a15(0x175)+_0x21669a+_0x595a15(0x10c)+_0x258786['type']);try{if(_0x258786['fn']&&_0x258786['fn'][_0x595a15(0x1ad)]()[_0x595a15(0xc9)](/browserstack internal helper hook/))return;if(_0x258786['parent']&&_0x210f8c[_0x595a15(0xca)](_0x258786[_0x595a15(0x154)][_0x595a15(0x169)],_0x210f8c['OZuzd'])){const _0x1d457e=_0x258786[_0x595a15(0xef)]&&((()=>{const _0x16d8fd=_0x595a15;try{const _0x4890d5=_0x210f8c[_0x16d8fd(0x10d)](require,_0x210f8c[_0x16d8fd(0x174)]),_0x219ca8=_0x4890d5[_0x16d8fd(0xed)][_0x16d8fd(0x19e)](_0x4890d5,_0x258786[_0x16d8fd(0xef)]);return _0x219ca8[0x0]&&_0x219ca8[0x0]['getFileName']?_0x219ca8[0x0][_0x16d8fd(0xbc)]():null;}catch(_0x46b4ac){return logger['debug'](_0x16d8fd(0x116)+_0x46b4ac[_0x16d8fd(0x15a)]),null;}})())||_0x258786[_0x595a15(0x150)]||null;if(!_0x1d457e)return;}let _0x25d086=_0x258786[_0x595a15(0xc2)];if(!_0x25d086)_0x25d086=_0x210f8c[_0x595a15(0xdb)](uuidv4),_0x258786[_0x595a15(0xc2)]=_0x25d086;else _0x258786[_0x595a15(0x119)]&&(_0x25d086=_0x210f8c['hCGeC'](uuidv4),_0x258786[_0x595a15(0xc2)]=_0x25d086,delete _0x258786[_0x595a15(0x119)]);_0x210f8c['MgGsP'](_0x21669a,_0x210f8c[_0x595a15(0x16b)])&&(_0x258786[_0x595a15(0x14f)]=new Date()['toISOString']());const _0x41fcdf=_0x210f8c[_0x595a15(0x117)](getTestIdentifierForHook,_0x258786);!global[_0x595a15(0x1aa)]&&(global['__workerDetails']={});if(_0x210f8c[_0x595a15(0x196)](_0x21669a,_0x210f8c[_0x595a15(0x16b)])){global['__workerDetails'][_0x595a15(0x130)]={'hookUUID':_0x25d086,'testIdentifier':_0x41fcdf,'hookType':_0x258786[_0x595a15(0xdd)],'startedAt':new Date()[_0x595a15(0x199)]()};const _0x359346=BrowserstackCLI['getInstance']()[_0x595a15(0x189)]();_0x359346&&_0x359346[_0x595a15(0x156)]&&_0x359346[_0x595a15(0x156)](_0x41fcdf,_0x25d086,_0x258786[_0x595a15(0xdd)]);}const _0x146c88=await jestUtils[_0x595a15(0x13a)](_0x258786,_0x25d086,_0x21669a,_0x41fcdf);if(!_0x146c88)return;const _0x443a46=_0x210f8c[_0x595a15(0x10d)](mapHookTypeToState,_0x258786[_0x595a15(0xdd)]),_0x402442=_0x210f8c[_0x595a15(0x177)](_0x21669a,_0x210f8c[_0x595a15(0x16b)])?HookState['PRE']:HookState[_0x595a15(0x158)],_0x32c34d=BrowserstackCLI[_0x595a15(0x194)]()[_0x595a15(0x189)]();if(_0x32c34d){const _0x2cf64a={};_0x2cf64a[_0x595a15(0x123)]=_0x146c88,await _0x32c34d['trackEvent'](_0x443a46,_0x402442,_0x2cf64a);if(_0x210f8c[_0x595a15(0xca)](_0x21669a,_0x210f8c['LGAsz'])){const _0x32e947={};_0x32e947['testUUID']=_0x41fcdf,_0x32e947['type']=_0x210f8c[_0x595a15(0x18c)],await _0x32c34d['trackEvent'](TestFrameworkState['LOG_REPORT'],HookState[_0x595a15(0x158)],_0x32e947),global['__workerDetails']&&global['__workerDetails'][_0x595a15(0x130)]&&_0x210f8c['MgGsP'](global['__workerDetails'][_0x595a15(0x130)][_0x595a15(0x114)],_0x25d086)&&delete global[_0x595a15(0x1aa)][_0x595a15(0x130)],_0x32c34d[_0x595a15(0x19b)]&&_0x32c34d[_0x595a15(0x19b)](_0x41fcdf,_0x25d086);}}}catch(_0x23f28a){logger[_0x595a15(0xfe)](_0x595a15(0x15d)+util[_0x595a15(0x121)](_0x23f28a));throw _0x23f28a;}}async function handleTestEventCLI(_0x367600,_0x471abf,_0x13d852){const _0x25bce4=a17_0x5ed42d,_0x2ea618={};_0x2ea618['brWOz']=function(_0x428e90,_0x2fca1b){return _0x428e90===_0x2fca1b;},_0x2ea618['qHPWE']=_0x25bce4(0x141),_0x2ea618[_0x25bce4(0x1b2)]=function(_0x53a207,_0x450b7c){return _0x53a207>_0x450b7c;},_0x2ea618[_0x25bce4(0xc8)]=function(_0x1d2f11,_0x201532){return _0x1d2f11&&_0x201532;},_0x2ea618[_0x25bce4(0x181)]=_0x25bce4(0x1af),_0x2ea618[_0x25bce4(0x17b)]=_0x25bce4(0x187),_0x2ea618[_0x25bce4(0x18e)]=function(_0x648e9f,_0x38c7e5){return _0x648e9f&&_0x38c7e5;},_0x2ea618[_0x25bce4(0xf1)]=function(_0x432a65,_0x15de1b){return _0x432a65&&_0x15de1b;},_0x2ea618[_0x25bce4(0x12a)]=function(_0x3fede0,_0x396c2f){return _0x3fede0&&_0x396c2f;},_0x2ea618[_0x25bce4(0xe0)]='test';const _0x28556b=_0x2ea618;logger[_0x25bce4(0x140)](_0x25bce4(0x101)+_0x471abf);try{let _0x498784;if(_0x28556b[_0x25bce4(0x1b0)](_0x471abf,_0x28556b[_0x25bce4(0x10f)])){_0x498784=jestUtils[_0x25bce4(0x17d)](_0x367600),global[_0x25bce4(0xba)]=_0x498784,_0x367600[_0x25bce4(0x10b)]=_0x498784,_0x367600['id']=_0x498784,_0x367600[_0x25bce4(0x14f)]=new Date()[_0x25bce4(0x199)]();const _0x395779=_0x13d852[_0x25bce4(0x166)];_0x13d852['current_test']=_0x367600,_0x367600[_0x25bce4(0x13e)]=null;if(_0x28556b[_0x25bce4(0x1b2)](_0x367600[_0x25bce4(0xea)],0x0)&&_0x395779&&_0x28556b[_0x25bce4(0x1b0)](_0x395779['title'],_0x367600['title'])){_0x367600[_0x25bce4(0x13e)]=_0x395779[_0x25bce4(0x10b)];const _0x369256=await jestUtils[_0x25bce4(0x157)](_0x367600,_0x498784,_0x28556b['qHPWE']),_0x3186fe=BrowserstackCLI[_0x25bce4(0x194)]()[_0x25bce4(0x189)]();if(_0x28556b[_0x25bce4(0xc8)](_0x369256,_0x3186fe)){const _0x46afca={};_0x46afca['test']=_0x369256,await _0x3186fe[_0x25bce4(0x12f)](TestFrameworkState[_0x25bce4(0x1a4)],HookState[_0x25bce4(0xbd)],_0x46afca);}_0x395779[_0x25bce4(0x11a)]=_0x28556b['NCOki'];const _0xc49fb0=await jestUtils['createTestFrameworkData'](_0x395779,_0x395779[_0x25bce4(0x10b)],_0x28556b[_0x25bce4(0x17b)]);if(_0x28556b[_0x25bce4(0x18e)](_0xc49fb0,_0x3186fe)){const _0x40c34c={};_0x40c34c['test']=_0xc49fb0,await _0x3186fe[_0x25bce4(0x12f)](TestFrameworkState[_0x25bce4(0x1a4)],HookState[_0x25bce4(0x158)],_0x40c34c);}}else{const _0x72e7af=await jestUtils[_0x25bce4(0x157)](_0x367600,_0x498784,_0x28556b[_0x25bce4(0x10f)]),_0x16c8f1=BrowserstackCLI['getInstance']()[_0x25bce4(0x189)]();if(_0x28556b[_0x25bce4(0xf1)](_0x72e7af,_0x16c8f1)){const _0x33a34a={};_0x33a34a[_0x25bce4(0x106)]=_0x72e7af,await _0x16c8f1['trackEvent'](TestFrameworkState[_0x25bce4(0x1a4)],HookState[_0x25bce4(0xbd)],_0x33a34a);}}}else{_0x498784=_0x367600['testAnalyticsId']||_0x367600['id']||global['__jestCurrentTestIdentifier'];const _0x2fcf4f=await jestUtils[_0x25bce4(0x157)](_0x367600,_0x498784,_0x471abf),_0x26cf99=BrowserstackCLI['getInstance']()[_0x25bce4(0x189)]();if(_0x28556b[_0x25bce4(0x12a)](_0x2fcf4f,_0x26cf99)){const _0x45dabc={};_0x45dabc['test']=_0x2fcf4f,_0x45dabc['originalTest']=_0x367600,_0x45dabc['testIdentifier']=_0x498784,await _0x26cf99['trackEvent'](TestFrameworkState['TEST'],HookState['POST'],_0x45dabc);const _0x12377c={};_0x12377c[_0x25bce4(0x18b)]=_0x498784,_0x12377c[_0x25bce4(0xdd)]=_0x28556b[_0x25bce4(0xe0)],await _0x26cf99['trackEvent'](TestFrameworkState['LOG_REPORT'],HookState[_0x25bce4(0x158)],_0x12377c);}}}catch(_0x287210){logger[_0x25bce4(0xfe)]('Error\x20handling\x20test\x20event\x20for\x20CLI:\x20'+util['format'](_0x287210));throw _0x287210;}}function a17_0x17a7(_0x4eb747,_0x178bf9){const _0x5552d2=a17_0x5552();return a17_0x17a7=function(_0x17a7d4,_0x22ddd2){_0x17a7d4=_0x17a7d4-0xb9;let _0xdb7a3e=_0x5552d2[_0x17a7d4];return _0xdb7a3e;},a17_0x17a7(_0x4eb747,_0x178bf9);}exportsI[a17_0x5ed42d(0xd1)]=(..._0x10c817)=>{const _0x5e5f6b=a17_0x5ed42d,_0x3b8b4e={'YwJXh':function(_0xee69f4,_0x4a42f0){return _0xee69f4(_0x4a42f0);},'nTPuO':_0x5e5f6b(0xd7),'tgfwt':'hook_start','MRBPL':function(_0x349245,_0x284fd9){return _0x349245===_0x284fd9;},'rRHhQ':_0x5e5f6b(0x134),'PaOBC':function(_0x49b334){return _0x49b334();},'WMuQU':function(_0x2d735d,_0x1ce2b4){return _0x2d735d(_0x1ce2b4);},'dcuQs':function(_0x2f4223,_0x3ab919,_0x367466,_0x848c04){return _0x2f4223(_0x3ab919,_0x367466,_0x848c04);},'PNGPv':_0x5e5f6b(0x15f),'cpzFD':function(_0x4e3060,_0x281729){return _0x4e3060(_0x281729);},'fDYUr':_0x5e5f6b(0xf0),'qoSoZ':function(_0x489092,_0x30ee69){return _0x489092(_0x30ee69);},'tTDZq':function(_0x8c4c23,_0x33ecb2,_0x15c021,_0x2f6060){return _0x8c4c23(_0x33ecb2,_0x15c021,_0x2f6060);},'eZlTL':_0x5e5f6b(0x1a1),'Wonrb':function(_0x17d7f4,_0x2ece4e){return _0x17d7f4(_0x2ece4e);},'LdsqA':_0x5e5f6b(0x1a0),'oXHoM':_0x5e5f6b(0xde),'JMIIu':_0x5e5f6b(0xf8),'lcRVX':_0x5e5f6b(0x17c),'SSHwY':function(_0x1c2bf6,_0x3c2fdb){return _0x1c2bf6>_0x3c2fdb;},'sCVne':function(_0x3bd955){return _0x3bd955();},'nqkaz':function(_0xa95619,_0x45c230){return _0xa95619(_0x45c230);},'ToyzX':_0x5e5f6b(0xc3),'ASEWX':function(_0x38830a,_0x58ad00){return _0x38830a!==_0x58ad00;},'croSJ':_0x5e5f6b(0x12e),'fWnLb':function(_0x40ddce){return _0x40ddce();},'NCGfS':_0x5e5f6b(0x141),'spkdQ':function(_0x207875){return _0x207875();},'ktIED':_0x5e5f6b(0x1a5),'RTHTM':function(_0x5b7ccc,_0x4085f6){return _0x5b7ccc(_0x4085f6);},'PJXop':_0x5e5f6b(0x160),'zjBPt':'failed','opBNH':_0x5e5f6b(0x10e),'WtQcy':function(_0x15c577,_0x32672f){return _0x15c577||_0x32672f;},'ZPeGt':function(_0x14b7db){return _0x14b7db();},'vgKnN':function(_0x2e3da3,_0x540e95,_0x53cb0b,_0x225fb2){return _0x2e3da3(_0x540e95,_0x53cb0b,_0x225fb2);},'BOKDG':'TestRunFinished','dqxXr':function(_0x35492c){return _0x35492c();},'HkUSu':_0x5e5f6b(0xec),'IHORo':function(_0x280c70,_0x51a950){return _0x280c70(_0x51a950);},'oXLKS':_0x5e5f6b(0x1a2),'qYpdg':function(_0x1cf4b8,_0x54ab5c){return _0x1cf4b8(_0x54ab5c);},'fIbLx':_0x5e5f6b(0x1a8),'ZyfBk':_0x5e5f6b(0x111),'hJjrS':function(_0x897e2e){return _0x897e2e();},'MJnHV':function(_0x4fd7de,_0x2c56b5){return _0x4fd7de===_0x2c56b5;},'GdcqB':_0x5e5f6b(0xd6),'PVZVj':function(_0x9027f1,_0x2bbbec){return _0x9027f1===_0x2bbbec;},'nlMkk':function(_0x4de884,_0xeedf52){return _0x4de884(_0xeedf52);},'roaqs':function(_0x5c0e01){return _0x5c0e01();},'FJFVd':function(_0x57a15b,_0x538b13,_0x5c4556){return _0x57a15b(_0x538b13,_0x5c4556);},'yXQQr':_0x5e5f6b(0x188),'jREnY':_0x5e5f6b(0xc1),'KDGjj':_0x5e5f6b(0x12c),'lMhXx':function(_0x1fd2d2,_0x1f8b62){return _0x1fd2d2(_0x1f8b62);},'ZOsQx':_0x5e5f6b(0x128)};try{logger[_0x5e5f6b(0x140)](_0x5e5f6b(0x11d)+_0x3b8b4e[_0x5e5f6b(0xe1)](shouldProcessEventForTesthub)+_0x5e5f6b(0x18d)+process[_0x5e5f6b(0x118)][_0x5e5f6b(0xdc)]);const _0x5c4406=_0x10c817&&_0x10c817[0x0]?_0x10c817[0x0]:{};let _0x5a051c=0x0;try{if(_0x5c4406['config']&&_0x3b8b4e[_0x5e5f6b(0x195)](typeof _0x5c4406[_0x5e5f6b(0xcf)][_0x5e5f6b(0x198)],_0x3b8b4e['GdcqB']))_0x5a051c=_0x5c4406[_0x5e5f6b(0xcf)]['browserstackPlatformIndex'];else{if(_0x5c4406[_0x5e5f6b(0x17e)]&&_0x3b8b4e[_0x5e5f6b(0x19f)](typeof _0x5c4406[_0x5e5f6b(0x17e)][_0x5e5f6b(0x198)],_0x3b8b4e[_0x5e5f6b(0xf3)]))_0x5a051c=_0x5c4406[_0x5e5f6b(0x17e)][_0x5e5f6b(0x198)];else global[_0x5e5f6b(0xe9)]&&_0x3b8b4e['MJnHV'](typeof global[_0x5e5f6b(0xe9)][_0x5e5f6b(0x198)],_0x3b8b4e[_0x5e5f6b(0xf3)])&&(_0x5a051c=global['jestConfig'][_0x5e5f6b(0x198)]);}}catch(_0x59b964){logger[_0x5e5f6b(0x140)](_0x5e5f6b(0x151)+util[_0x5e5f6b(0x121)](_0x59b964));}global[_0x5e5f6b(0x193)]=_0x5a051c,process[_0x5e5f6b(0x118)]['BROWSERSTACK_PLATFORM_INDEX']=_0x3b8b4e[_0x5e5f6b(0x1ac)](String,_0x5a051c);const _0x1cf531=new ObservabilityReporter();!_initializedPlatformIndices[_0x5e5f6b(0x162)](_0x5a051c)?(logger[_0x5e5f6b(0x140)](_0x5e5f6b(0x14d)+_0x5a051c),_initializedPlatformIndices[_0x5e5f6b(0xf2)](_0x5a051c),_0x3b8b4e[_0x5e5f6b(0x167)](shouldProcessEventForTesthub)&&(_0x3b8b4e['PaOBC'](patchConsoleLogger),_0x1cf531['registerListeners']())):logger['debug'](_0x5e5f6b(0xe6)+_0x5a051c+_0x5e5f6b(0x133));let _0x455f5b;try{_0x455f5b=_0x3b8b4e['FJFVd'](requireModule,_0x3b8b4e[_0x5e5f6b(0x135)],_0x3b8b4e[_0x5e5f6b(0xf9)]);}catch{_0x455f5b=_0x3b8b4e[_0x5e5f6b(0xe4)](requireModule,_0x3b8b4e[_0x5e5f6b(0xf9)]);}let _0x45d056;try{_0x45d056=_0x3b8b4e[_0x5e5f6b(0x190)](requireModule,_0x3b8b4e[_0x5e5f6b(0xc6)],_0x3b8b4e['jREnY'])[_0x5e5f6b(0xbe)];}catch{_0x45d056=_0x3b8b4e[_0x5e5f6b(0x15c)](requireModule,_0x3b8b4e[_0x5e5f6b(0xf9)])[_0x5e5f6b(0xbe)]||(()=>({}));}const _0x50a473=BrowserstackCLI['getInstance']()['isCliEnabled']();(_0x3b8b4e['PaOBC'](shouldProcessEventForTesthub)||_0x50a473)&&_0x455f5b[_0x5e5f6b(0x124)](_0x3b8b4e[_0x5e5f6b(0x190)](o11yErrorHandler,async(_0x3fe73c,_0x18f253)=>{const _0x53dc0f=_0x5e5f6b,_0x521fc7={'rQJMM':function(_0x2167d3,_0x3fb19b){const _0x454a2a=a17_0x17a7;return _0x3b8b4e[_0x454a2a(0x182)](_0x2167d3,_0x3fb19b);},'CxDGJ':_0x3b8b4e[_0x53dc0f(0xda)]};switch(_0x3fe73c[_0x53dc0f(0x169)]){case _0x3b8b4e[_0x53dc0f(0x103)]:if(_0x3fe73c['hook']['fn']&&_0x3fe73c[_0x53dc0f(0x145)]['fn'][_0x53dc0f(0x1ad)]()[_0x53dc0f(0xc9)](/browserstack internal helper hook/))break;if(_0x3fe73c[_0x53dc0f(0x145)][_0x53dc0f(0x154)]&&_0x3b8b4e[_0x53dc0f(0x159)](_0x3fe73c[_0x53dc0f(0x145)]['parent'][_0x53dc0f(0x169)],_0x3b8b4e['rRHhQ'])){const _0x3e5cf8=_0x3fe73c[_0x53dc0f(0x145)][_0x53dc0f(0xef)]&&((()=>{const _0x196a78=_0x53dc0f;try{const _0x54faf6=_0x521fc7[_0x196a78(0xdf)](require,_0x521fc7[_0x196a78(0xf6)]),_0x2df38a=_0x54faf6[_0x196a78(0xed)][_0x196a78(0x19e)](_0x54faf6,_0x3fe73c[_0x196a78(0x145)][_0x196a78(0xef)]);return _0x2df38a[0x0]&&_0x2df38a[0x0][_0x196a78(0xbc)]?_0x2df38a[0x0][_0x196a78(0xbc)]():null;}catch(_0xf5958a){return logger[_0x196a78(0x140)]('Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20'+_0xf5958a[_0x196a78(0x15a)]),null;}})())||_0x3fe73c['hook'][_0x53dc0f(0x150)]||null;if(!_0x3e5cf8)break;}if(BrowserstackCLI[_0x53dc0f(0x194)]()[_0x53dc0f(0x13b)]()&&await _0x3b8b4e[_0x53dc0f(0x164)](isCLIReady)){if(_0x3b8b4e[_0x53dc0f(0x148)](shouldProcessEventForTesthub,testHubConstants[_0x53dc0f(0xce)][_0x53dc0f(0xd5)]))try{await _0x3b8b4e[_0x53dc0f(0xe8)](handleHookEventCLI,_0x3fe73c['hook'],_0x3b8b4e[_0x53dc0f(0xd0)],_0x18f253);break;}catch(_0x42cd58){_0x3b8b4e[_0x53dc0f(0x148)](debug,_0x53dc0f(0x197)+util[_0x53dc0f(0x121)](_0x42cd58));}}if(_0x3b8b4e[_0x53dc0f(0xe4)](shouldProcessEventForTesthub,testHubConstants[_0x53dc0f(0xce)]['HookStarted'])){if(!_0x3fe73c[_0x53dc0f(0x145)][_0x53dc0f(0xc2)]){const _0xd5214=TestDetails['setTestUUID'](process[_0x53dc0f(0xe5)]+_0x53dc0f(0x185));_0x3fe73c[_0x53dc0f(0x145)][_0x53dc0f(0xc2)]=_0xd5214;}else _0x3fe73c[_0x53dc0f(0x145)][_0x53dc0f(0x119)]&&(_0x3fe73c[_0x53dc0f(0x145)][_0x53dc0f(0xc2)]=TestDetails['setTestUUID'](process['pid']+':hookAnalyticsId'),delete _0x3fe73c['hook'][_0x53dc0f(0x119)]);_0x3fe73c[_0x53dc0f(0x145)][_0x53dc0f(0x14f)]=new Date()[_0x53dc0f(0x199)](),await _0x1cf531[_0x53dc0f(0x139)](_0x3fe73c[_0x53dc0f(0x145)],undefined,![],_0x3b8b4e['PNGPv']);}break;case _0x3b8b4e[_0x53dc0f(0xc7)]:if(BrowserstackCLI[_0x53dc0f(0x194)]()[_0x53dc0f(0x13b)]()&&await _0x3b8b4e[_0x53dc0f(0x164)](isCLIReady)){if(_0x3b8b4e[_0x53dc0f(0x108)](shouldProcessEventForTesthub,testHubConstants['EVENT']['HookFinished']))try{await _0x3b8b4e[_0x53dc0f(0x13f)](handleHookEventCLI,_0x3fe73c['hook'],_0x3b8b4e[_0x53dc0f(0x132)],_0x18f253);break;}catch(_0x5677bf){_0x3b8b4e[_0x53dc0f(0xe4)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x53dc0f(0x121)](_0x5677bf));}}_0x3b8b4e[_0x53dc0f(0x19d)](shouldProcessEventForTesthub,testHubConstants[_0x53dc0f(0xce)][_0x53dc0f(0xfa)])&&(await _0x1cf531['sendTestRunEvent'](_0x3fe73c[_0x53dc0f(0x145)],undefined,![],_0x3b8b4e[_0x53dc0f(0x132)]),TestDetails[_0x53dc0f(0x147)](process[_0x53dc0f(0xe5)]+_0x53dc0f(0x185)));break;case _0x3b8b4e['LdsqA']:[_0x3b8b4e[_0x53dc0f(0x16d)],_0x3b8b4e[_0x53dc0f(0x14e)],_0x3b8b4e[_0x53dc0f(0x1ae)]][_0x53dc0f(0x122)](_0x3fe73c['hook'][_0x53dc0f(0xdd)])&&(_0x1cf531[_0x53dc0f(0x1a0)]=_0x3fe73c[_0x53dc0f(0x145)][_0x53dc0f(0xdd)]),_0x18f253[_0x53dc0f(0x179)]&&_0x3b8b4e[_0x53dc0f(0x100)](_0x18f253['unhandledErrors'][_0x53dc0f(0x171)],0x0)&&(_0x3fe73c[_0x53dc0f(0x145)][_0x53dc0f(0x15e)]=[_0x18f253[_0x53dc0f(0x179)][0x0][0x0]]);if(BrowserstackCLI[_0x53dc0f(0x194)]()[_0x53dc0f(0x13b)]()&&await _0x3b8b4e['sCVne'](isCLIReady)){if(_0x3b8b4e[_0x53dc0f(0x142)](shouldProcessEventForTesthub,testHubConstants[_0x53dc0f(0xce)][_0x53dc0f(0xfa)]))try{await _0x3b8b4e[_0x53dc0f(0x13f)](handleHookEventCLI,_0x3fe73c[_0x53dc0f(0x145)],_0x3b8b4e['eZlTL'],_0x18f253);break;}catch(_0x1a0040){_0x3b8b4e[_0x53dc0f(0x19d)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x53dc0f(0x121)](_0x1a0040));}}_0x3b8b4e[_0x53dc0f(0x108)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x53dc0f(0xfa)])&&(await _0x1cf531['sendTestRunEvent'](_0x3fe73c[_0x53dc0f(0x145)],undefined,![],_0x3b8b4e[_0x53dc0f(0x132)]),TestDetails[_0x53dc0f(0x147)](process[_0x53dc0f(0xe5)]+_0x53dc0f(0x185)));break;case _0x3b8b4e[_0x53dc0f(0x127)]:try{let _0xd6cb78=_0x3fe73c['test'][_0x53dc0f(0x169)]||'';try{let _0x499eb9=_0x3fe73c[_0x53dc0f(0x106)][_0x53dc0f(0x154)];const _0x5ce377=[_0xd6cb78];while(_0x499eb9&&_0x499eb9[_0x53dc0f(0x169)]&&_0x3b8b4e[_0x53dc0f(0xd2)](_0x499eb9[_0x53dc0f(0x169)],_0x3b8b4e['rRHhQ'])){_0x5ce377[_0x53dc0f(0x180)](_0x499eb9[_0x53dc0f(0x169)]),_0x499eb9=_0x499eb9[_0x53dc0f(0x154)];}_0xd6cb78=_0x5ce377[_0x53dc0f(0x11c)](_0x3b8b4e[_0x53dc0f(0x184)]);}catch(_0xd5ae92){logger['debug'](_0x53dc0f(0xf4)+_0xd5ae92['message']);}process['_bstackTestName']=_0xd6cb78,process[_0x53dc0f(0x16e)]=null,process[_0x53dc0f(0x1b1)]=null,logger[_0x53dc0f(0x140)]('[customJestAdapterInit]\x20Set\x20test\x20name:\x20\x22'+_0xd6cb78+'\x22');if(!global[_0x53dc0f(0x1aa)]){const _0x417bd6={};_0x417bd6[_0x53dc0f(0x146)]={},global['__workerDetails']=_0x417bd6;}!global[_0x53dc0f(0x1aa)][_0x53dc0f(0x146)]&&(global[_0x53dc0f(0x1aa)]['currentTest']={});const _0x282d6c={};_0x282d6c[_0x53dc0f(0xe2)]=_0xd6cb78,_0x282d6c['name']=_0xd6cb78,global[_0x53dc0f(0x1aa)]['currentTest'][_0x53dc0f(0x192)]=_0x282d6c,global[_0x53dc0f(0x1a9)]=_0xd6cb78;}catch(_0x2412a8){logger[_0x53dc0f(0x140)](_0x53dc0f(0x168)+_0x2412a8[_0x53dc0f(0x15a)]);}if(BrowserstackCLI[_0x53dc0f(0x194)]()[_0x53dc0f(0x13b)]()&&await _0x3b8b4e['fWnLb'](isCLIReady))try{await _0x3b8b4e[_0x53dc0f(0xe8)](handleTestEventCLI,_0x3fe73c[_0x53dc0f(0x106)],_0x3b8b4e[_0x53dc0f(0x17f)],_0x1cf531);break;}catch(_0x405bce){_0x3b8b4e[_0x53dc0f(0x19d)](debug,_0x53dc0f(0x197)+util[_0x53dc0f(0x121)](_0x405bce));}_0x3b8b4e[_0x53dc0f(0xc0)](shouldProcessEventForTesthub)&&await _0x1cf531[_0x53dc0f(0x125)](_0x3fe73c['test']);break;case _0x3b8b4e[_0x53dc0f(0x1a3)]:_0x3fe73c['test']={..._0x3b8b4e[_0x53dc0f(0x104)](_0x45d056,_0x3fe73c[_0x53dc0f(0x106)]),..._0x3fe73c[_0x53dc0f(0x106)]};try{const _0x420d26=_0x3fe73c[_0x53dc0f(0x106)][_0x53dc0f(0x143)]||[],_0x3f9f34=_0x3b8b4e['SSHwY'](_0x420d26[_0x53dc0f(0x171)],0x0)||_0x3b8b4e[_0x53dc0f(0x159)](_0x3fe73c[_0x53dc0f(0x106)][_0x53dc0f(0x15b)],_0x3b8b4e[_0x53dc0f(0x14b)]),_0x32fe6c=_0x3f9f34?_0x3b8b4e['zjBPt']:_0x3b8b4e['opBNH'];let _0x31f5c9='';_0x3f9f34&&(_0x31f5c9=_0x420d26[_0x53dc0f(0xf5)](_0x210f23=>{const _0x5cea91=_0x53dc0f;if(Array[_0x5cea91(0x126)](_0x210f23))return _0x210f23[_0x5cea91(0xf5)](_0xdd7990=>_0xdd7990&&_0xdd7990['message']||String(_0xdd7990))['join'](';\x20');return _0x210f23&&_0x210f23[_0x5cea91(0x15a)]||_0x521fc7[_0x5cea91(0xdf)](String,_0x210f23);})[_0x53dc0f(0x11c)](';\x20')),process[_0x53dc0f(0x16e)]=_0x32fe6c,process[_0x53dc0f(0x1b1)]=_0x3b8b4e[_0x53dc0f(0xeb)](_0x31f5c9,''),logger[_0x53dc0f(0x140)](_0x53dc0f(0x18f)+_0x32fe6c+'\x22'),global[_0x53dc0f(0x1aa)]&&global['__workerDetails'][_0x53dc0f(0x146)]&&(!global[_0x53dc0f(0x1aa)][_0x53dc0f(0x146)]['testInfo']&&(global['__workerDetails']['currentTest']['testInfo']={}),global[_0x53dc0f(0x1aa)][_0x53dc0f(0x146)][_0x53dc0f(0x192)][_0x53dc0f(0x15b)]=_0x32fe6c,_0x3f9f34&&(global['__workerDetails']['currentTest'][_0x53dc0f(0x192)][_0x53dc0f(0xfc)]=_0x31f5c9));}catch(_0x4cb938){logger[_0x53dc0f(0x140)](_0x53dc0f(0x176)+_0x4cb938[_0x53dc0f(0x15a)]);}if(!_0x3fe73c['test'][_0x53dc0f(0x119)]){_0x3fe73c['test']['markedStatus']=!![];if(BrowserstackCLI[_0x53dc0f(0x194)]()[_0x53dc0f(0x13b)]()&&await _0x3b8b4e[_0x53dc0f(0x137)](isCLIReady))try{await _0x3b8b4e[_0x53dc0f(0x112)](handleTestEventCLI,_0x3fe73c[_0x53dc0f(0x106)],_0x3b8b4e['BOKDG'],_0x1cf531);break;}catch(_0x2080d8){_0x3b8b4e['RTHTM'](debug,_0x53dc0f(0x197)+util[_0x53dc0f(0x121)](_0x2080d8));}_0x3b8b4e[_0x53dc0f(0x1a7)](shouldProcessEventForTesthub)&&await _0x1cf531[_0x53dc0f(0x139)](_0x3fe73c[_0x53dc0f(0x106)]);}break;case _0x3b8b4e['HkUSu']:_0x3fe73c[_0x53dc0f(0x106)]={..._0x3b8b4e['IHORo'](_0x45d056,_0x3fe73c[_0x53dc0f(0x106)]),..._0x3fe73c[_0x53dc0f(0x106)]};if(!_0x3fe73c[_0x53dc0f(0x106)][_0x53dc0f(0x119)]){_0x3fe73c[_0x53dc0f(0x106)][_0x53dc0f(0x119)]=!![];if(BrowserstackCLI[_0x53dc0f(0x194)]()['isCliEnabled']()&&await _0x3b8b4e[_0x53dc0f(0x115)](isCLIReady))try{await _0x3b8b4e[_0x53dc0f(0xe8)](handleTestEventCLI,_0x3fe73c[_0x53dc0f(0x106)],_0x3b8b4e['oXLKS'],_0x1cf531);break;}catch(_0x3b099a){_0x3b8b4e['qYpdg'](debug,_0x53dc0f(0x197)+util['format'](_0x3b099a));}_0x3b8b4e[_0x53dc0f(0x1a6)](shouldProcessEventForTesthub)&&await _0x1cf531[_0x53dc0f(0x139)](_0x3fe73c[_0x53dc0f(0x106)],undefined,![],_0x3b8b4e[_0x53dc0f(0x13c)]);}break;case _0x3b8b4e[_0x53dc0f(0x16a)]:_0x1cf531[_0x53dc0f(0x1a0)]=null;break;case _0x3b8b4e[_0x53dc0f(0x153)]:await RequestQueueHandler[_0x53dc0f(0x194)]()[_0x53dc0f(0x107)](),process[_0x53dc0f(0x161)]();break;default:}},_0x3b8b4e['ZOsQx']));}catch(_0x438d3c){_0x3b8b4e[_0x5e5f6b(0x104)](debug,_0x5e5f6b(0x152)+_0x438d3c);}return _0x3b8b4e[_0x5e5f6b(0x165)](initInitialize,..._0x10c817);};function a17_0x5552(){const _0x296652=['nqkaz','errors','../../v2/state/hookState','hook','currentTest','removeTestUUID','WMuQU','QjvjA','afterAll','PJXop','Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20','[customJestAdapterInit]\x20Initializing\x20for\x20platformIndex=','JMIIu','started_at','file','Error\x20reading\x20platformIndex\x20from\x20args:\x20','Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20','ZyfBk','parent','../../../helpers/testhub/constants','setActiveHook','createTestFrameworkData','POST','MRBPL','message','status','lMhXx','Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20','errorsDetailed','HookRunStarted','fail','removeAllListeners','has','GSReY','PaOBC','qYpdg','current_test','roaqs','[customJestAdapterInit]\x20Error\x20in\x20test_start\x20name\x20storage:\x20','name','fIbLx','GKPPU','jest-circus/build/jestAdapterInit.js','oXHoM','_bstackTestStatus','isRunning','AFTER_EACH','length','../../utils/constants','239697czFScr','ybZAA','Handling\x20hook\x20event\x20for\x20CLI:\x20','[customJestAdapterInit]\x20Error\x20in\x20test_done\x20status\x20storage:\x20','fodMD','6OPCTfV','unhandledErrors','true','hycwD','afterEach','createIdentifierFromJestTest','configuration','NCGfS','unshift','NCOki','YwJXh','RuxsK','croSJ',':hookAnalyticsId','../test-observability/test-details','TestRunFinished','jest-circus/build/state.js','getTestFramework','JEST','testUUID','qVTkn',',\x20BROWSERSTACK_PUPPETEER=','MMinO','[customJestAdapterInit]\x20Set\x20test\x20status:\x20\x22','FJFVd','btRbe','testInfo','__bstackPlatformIndex','getInstance','MJnHV','MgGsP','Error\x20routing\x20to\x20JestTestFramework:\x20','browserstackPlatformIndex','toISOString','40IHYIRB','removeActiveHook','2585jlhMoa','Wonrb','call','PVZVj','hook_failure','HookRunFinished','TestRunSkipped','ktIED','TEST','test_done','sCVne','dqxXr','run_describe_finish','browserstackTestName','__workerDetails','getAutomationFrameworkDetail','nlMkk','toString','lcRVX','failed','brWOz','_bstackTestFailureReason','kauDA','../../v2/browserstackCLI','BEFORE_ALL','__jestCurrentTestIdentifier','keys','getFileName','PRE','makeSingleTestResult','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','spkdQ','jest-circus','hookAnalyticsId','test_start','setFrameworkDetail','394292KsRgDc','KDGjj','fDYUr','hKyKU','match','xYiuX','BEFORE_EACH','Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20','xDbdJ','EVENT','config','PNGPv','initialize','ASEWX','../../../helpers/helper','../../../helpers/test-observability/requestQueueHandler','HookStarted','number','stack-trace','../../../helpers/test-observability/utils','dRcpV','nTPuO','HPmfK','BROWSERSTACK_PUPPETEER','type','beforeAll','rQJMM','odgQX','hJjrS','title','3353185GCvkTC','cpzFD','pid','[customJestAdapterInit]\x20Skipping\x20heavy\x20init\x20for\x20platformIndex=','jhsrp','dcuQs','jestConfig','_currentRetry','WtQcy','test_skip','parse','../../../helpers/testhub/utils','asyncError','hook_success','UmDDb','add','GdcqB','[customJestAdapterInit]\x20Error\x20building\x20test\x20name:\x20','map','CxDGJ','AFTER_ALL','beforeEach','jREnY','HookFinished','5841816ZVHhWn','failureMessage','PLAYWRIGHT','error','tdpOo','SSHwY','Handling\x20test\x20event\x20for\x20CLI:\x20','CLI\x20is\x20enabled\x20and\x20running.','tgfwt','RTHTM','8060nGaZLb','test','shutdown','qoSoZ','winstonLogger','../../v2/state/testFrameworkState','testAnalyticsId','\x20for\x20hook\x20type:\x20','cdySd','passed','qHPWE','248528TgqceG','teardown','vgKnN','78JcPyKq','hookUUID','fWnLb','Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20','zUOCH','env','markedStatus','state','eMsoQ','join','[customJestAdapterInit]\x20initialize\x20called,\x20shouldProcessEventForTesthub=','ajkjl','kfzGM','../../v2/cliUtils','format','includes','hookData','addEventHandler','testStarted','isArray','ToyzX','EventHandler','4XLUkqN','loqrs','../../../helpers/logger','jest-circus/build/utils.js','../../v2/utils/jest-utils','\x20>\x20','trackEvent','currentHook','OBDum','eZlTL',',\x20re-registering\x20event\x20handler','ROOT_DESCRIBE_BLOCK','yXQQr','../test-observability/obsReporter','ZPeGt','1028830tbljIY','sendTestRunEvent','createHookData','isCliEnabled','oXLKS','forEach','retryOf','tTDZq','debug','TestRunStarted'];a17_0x5552=function(){return _0x296652;};return a17_0x5552();}try{Object[a17_0x5ed42d(0xbb)](exportsI)[a17_0x5ed42d(0x13d)](_0x1d2c0d=>{const _0x4b76ea=a17_0x5ed42d,_0x1e7611={'dRcpV':function(_0x46d6fc,_0x149e3b){return _0x46d6fc(_0x149e3b);}};try{exports&&(exports[_0x1d2c0d]=exportsI[_0x1d2c0d]);}catch(_0x18ab80){_0x1e7611[_0x4b76ea(0xd9)](debug,_0x4b76ea(0xcc)+_0x18ab80);}});}catch(a17_0x1eea6b){debug(a17_0x5ed42d(0x14c)+a17_0x1eea6b);}
|
|
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 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a18_0x30295b=a18_0x334b;function a18_0x334b(_0x502f28,_0x597c3c){const _0x31a063=a18_0x31a0();return a18_0x334b=function(_0x334ba3,_0x5d34c5){_0x334ba3=_0x334ba3-0x196;let _0x40100f=_0x31a063[_0x334ba3];return _0x40100f;},a18_0x334b(_0x502f28,_0x597c3c);}(function(_0x3c548f,_0x310e9f){const _0x843e6c=a18_0x334b,_0x396e1a=_0x3c548f();while(!![]){try{const _0x6a4a45=parseInt(_0x843e6c(0x19f))/0x1+-parseInt(_0x843e6c(0x1a8))/0x2+-parseInt(_0x843e6c(0x198))/0x3+-parseInt(_0x843e6c(0x1a1))/0x4*(parseInt(_0x843e6c(0x1a4))/0x5)+parseInt(_0x843e6c(0x1a2))/0x6+-parseInt(_0x843e6c(0x19c))/0x7+parseInt(_0x843e6c(0x1a7))/0x8;if(_0x6a4a45===_0x310e9f)break;else _0x396e1a['push'](_0x396e1a['shift']());}catch(_0x34ee3c){_0x396e1a['push'](_0x396e1a['shift']());}}}(a18_0x31a0,0xb893d));function a18_0x31a0(){const _0x3fcab5=['filter','76538cpWJYU','path','get','174836itnHWq','sort','36TfJmPi','837762ioDagS','default','748655EZsYWY','includes','map','26367272Dmwwsz','531122pRCirw','split','@jest/test-sequencer','3690807hLoajr','env','JEST_TEST_ORDER'];a18_0x31a0=function(){return _0x3fcab5;};return a18_0x31a0();}const Sequencer=require(a18_0x30295b(0x197))[a18_0x30295b(0x1a3)];class CustomSequencer extends Sequencer{[a18_0x30295b(0x1a0)](_0x331f80){const _0x3bc48b=a18_0x30295b,_0x32d862=process[_0x3bc48b(0x199)][_0x3bc48b(0x19a)];if(!_0x32d862)return _0x331f80;const _0x1f138c=_0x32d862[_0x3bc48b(0x196)](','),_0x47cfcf=new Map(_0x331f80[_0x3bc48b(0x19b)](_0x56fa80=>_0x1f138c[_0x3bc48b(0x1a5)](_0x56fa80[_0x3bc48b(0x19d)]))[_0x3bc48b(0x1a6)](_0x5ccb1d=>[_0x5ccb1d[_0x3bc48b(0x19d)],_0x5ccb1d]));return _0x1f138c[_0x3bc48b(0x1a6)](_0x45563e=>_0x47cfcf[_0x3bc48b(0x19e)](_0x45563e))[_0x3bc48b(0x19b)](Boolean);}}module['exports']=CustomSequencer;
|