browserstack-node-sdk 1.49.12 → 1.50.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 +2 -1
- 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/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/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/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/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/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_0x45281b=a10_0x239c;(function(_0x298609,_0x185f56){const _0x3827ec=a10_0x239c,_0x5c54c8=_0x298609();while(!![]){try{const _0x539f4c=parseInt(_0x3827ec(0x1a5))/0x1*(-parseInt(_0x3827ec(0x1a0))/0x2)+parseInt(_0x3827ec(0x1a1))/0x3+-parseInt(_0x3827ec(0x17e))/0x4+-parseInt(_0x3827ec(0x179))/0x5*(-parseInt(_0x3827ec(0x185))/0x6)+parseInt(_0x3827ec(0x196))/0x7+-parseInt(_0x3827ec(0x18a))/0x8*(parseInt(_0x3827ec(0x19d))/0x9)+-parseInt(_0x3827ec(0x190))/0xa*(-parseInt(_0x3827ec(0x195))/0xb);if(_0x539f4c===_0x185f56)break;else _0x5c54c8['push'](_0x5c54c8['shift']());}catch(_0x3fe9e8){_0x5c54c8['push'](_0x5c54c8['shift']());}}}(a10_0x1ef7,0x19edc));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a10_0x45281b(0x18d)),setKeepAlive=require(a10_0x45281b(0x19c)),cucumberModule=requireModule(a10_0x45281b(0x197),a10_0x45281b(0x199)),logger=require('../../helpers/logger')[a10_0x45281b(0x1a7)];modifyCommand(),setKeepAlive();const Before=cucumberModule[a10_0x45281b(0x1ab)],After=cucumberModule[a10_0x45281b(0x17c)],configuration=process[a10_0x45281b(0x1aa)][a10_0x45281b(0x198)];if(configuration!==undefined){const config=JSON['parse'](configuration);isTrue(config[a10_0x45281b(0x1a3)])&&(global[a10_0x45281b(0x177)]=!![]),global[a10_0x45281b(0x191)]=isTrue(config[a10_0x45281b(0x1a4)]),require('../../index')[a10_0x45281b(0x18f)](config),global[a10_0x45281b(0x189)]=config[a10_0x45281b(0x193)]||{};}global[a10_0x45281b(0x18e)]=0x0;const __setDefaultTimeout=cucumberModule['setDefaultTimeout'];cucumberModule[a10_0x45281b(0x1a6)]=_0x2cf4a9=>{const _0x31e671=a10_0x45281b,_0x5d4e57={'weCgk':function(_0x32769c,_0x4d4f44){return _0x32769c(_0x4d4f44);}};global[_0x31e671(0x18e)]=_0x2cf4a9,_0x5d4e57[_0x31e671(0x19e)](__setDefaultTimeout,_0x2cf4a9);};const a10_0x1f2fbd={};function a10_0x239c(_0xfd55af,_0x4a9a81){const _0x1ef7a9=a10_0x1ef7();return a10_0x239c=function(_0x239c89,_0x544dd9){_0x239c89=_0x239c89-0x177;let _0x334471=_0x1ef7a9[_0x239c89];return _0x334471;},a10_0x239c(_0xfd55af,_0x4a9a81);}a10_0x1f2fbd[a10_0x45281b(0x17a)]=a10_0x45281b(0x1a9),Before(a10_0x1f2fbd,function(){const _0xa65f93=a10_0x45281b,_0x5a3e73={};_0x5a3e73['wsZrT']=_0xa65f93(0x194);const _0x38a7b3=_0x5a3e73;logger[_0xa65f93(0x188)](_0x38a7b3['wsZrT']),global['__error_messages__']=[];});function a10_0x1ef7(){const _0x4641c1=['cucumber','join','executeScript','../../helpers/setKeepAlive','813573PVlVqZ','weCgk','initQuit','518tDWynb','227352gpBKNN','ffmsR','skipSessionName','skipSessionStatus','115sylmJV','setDefaultTimeout','winstonLogger','__error_messages__','bstack','env','Before','onTpg','result','__skipSessionName','then','140JDcOLE','name','Inside\x20browserstack\x20After','After','QxPTZ','726088VPKdNU','failed','__driver','KwRti','status','fWNdf','Error:\x20setting\x20status\x20at\x20After:\x20','33996FULyOX','olMHj','Error:\x20quiting\x20at\x20After:\x20','debug','__platformCaps','16yGDIvn','\x20|\x20','pickle','../../helpers/helper','__timeout','browserstackAgentV2','10DkBJpw','__skipSessionStatus','koFlM','platformCaps','Inside\x20browserstack\x20Before','1813581mAlxEz','693014NVvwgr','cucumber/lib/index.js','CONFIG'];a10_0x1ef7=function(){return _0x4641c1;};return a10_0x1ef7();}const a10_0x30dd22={};a10_0x30dd22[a10_0x45281b(0x17a)]=a10_0x45281b(0x1a9),a10_0x30dd22['timeout']=0x2710,After(a10_0x30dd22,function(_0x148e8d,_0x223d7b){const _0x2bfce0=a10_0x45281b,_0x1bc353={'tCyUD':function(_0x4d47b1,_0x25d330){return _0x4d47b1===_0x25d330;},'olMHj':_0x2bfce0(0x17f),'KwRti':function(_0x26c792,_0x33f714,_0x407418,_0x13124b){return _0x26c792(_0x33f714,_0x407418,_0x13124b);},'ffmsR':_0x2bfce0(0x18b),'BZzXc':function(_0x1b3203,_0x8ccbf3,_0x32d3a3){return _0x1b3203(_0x8ccbf3,_0x32d3a3);},'koFlM':'passed','QxPTZ':function(_0x453687){return _0x453687();},'onTpg':function(_0xbdfae8,_0x5df3be){return _0xbdfae8(_0x5df3be);},'fWNdf':function(_0x4a7e67){return _0x4a7e67();},'TMTJK':_0x2bfce0(0x17b)};logger[_0x2bfce0(0x188)](_0x1bc353['TMTJK']),new Promise(async(_0x1646c6,_0x3c2ed9)=>{const _0x35b84d=_0x2bfce0;let _0x5c8b7d=![];try{await global[_0x35b84d(0x180)]['session_'],_0x5c8b7d=!![],!global[_0x35b84d(0x177)]&&await global[_0x35b84d(0x180)][_0x35b84d(0x19b)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22'+_0x148e8d[_0x35b84d(0x18c)]['name']+'\x22}}'),_0x1bc353['tCyUD'](_0x148e8d[_0x35b84d(0x1ad)][_0x35b84d(0x182)]['toLowerCase'](),_0x1bc353[_0x35b84d(0x186)])?await _0x1bc353[_0x35b84d(0x181)](markSessionStatus,global[_0x35b84d(0x180)],_0x1bc353[_0x35b84d(0x186)],global[_0x35b84d(0x1a8)][_0x35b84d(0x19a)](_0x1bc353[_0x35b84d(0x1a2)])):await _0x1bc353['BZzXc'](markSessionStatus,global[_0x35b84d(0x180)],_0x1bc353[_0x35b84d(0x192)]);}catch(_0x5c1eea){logger[_0x35b84d(0x188)](_0x35b84d(0x184)+_0x5c1eea);}if(_0x5c8b7d)try{await global[_0x35b84d(0x180)][_0x35b84d(0x19f)](),_0x1bc353[_0x35b84d(0x17d)](_0x1646c6);}catch(_0x3dd524){logger[_0x35b84d(0x188)](_0x35b84d(0x187)+_0x3dd524),_0x1bc353[_0x35b84d(0x1ac)](_0x3c2ed9,_0x3dd524);}else _0x1bc353[_0x35b84d(0x183)](_0x3c2ed9);})[_0x2bfce0(0x178)](()=>_0x223d7b());});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a11_0x1e23(_0x545af0,_0x4b5a69){const _0x67337b=a11_0x6733();return a11_0x1e23=function(_0x1e2335,_0x5ec73b){_0x1e2335=_0x1e2335-0xe4;let _0x2df668=_0x67337b[_0x1e2335];return _0x2df668;},a11_0x1e23(_0x545af0,_0x4b5a69);}const a11_0x2343d8=a11_0x1e23;function a11_0x6733(){const _0x10a1b4=['5316FvHdWa','32ckqxHw','24513CJjtKM','18xmUmiJ','../utils/constants','2nqtGAG','798842VhPfxC','652bXgHdg','1087015QMTjbD','setDefaultTimeout','10UwUksQ','4183881XTpIPz','102361aZSKnj','@cucumber/cucumber','12FxdPwz','../../helpers/helper','cucumber/lib/index.js','cucumber','BSTACK_DELTA','1940778jvTxuG'];a11_0x6733=function(){return _0x10a1b4;};return a11_0x6733();}(function(_0x2fa666,_0x3b2037){const _0x37e878=a11_0x1e23,_0x3049f2=_0x2fa666();while(!![]){try{const _0x4d900f=-parseInt(_0x37e878(0xf3))/0x1*(parseInt(_0x37e878(0xf6))/0x2)+-parseInt(_0x37e878(0xf1))/0x3*(parseInt(_0x37e878(0xe4))/0x4)+-parseInt(_0x37e878(0xe5))/0x5*(-parseInt(_0x37e878(0xf4))/0x6)+-parseInt(_0x37e878(0xe9))/0x7*(-parseInt(_0x37e878(0xf2))/0x8)+-parseInt(_0x37e878(0xf0))/0x9+-parseInt(_0x37e878(0xe7))/0xa*(parseInt(_0x37e878(0xf7))/0xb)+-parseInt(_0x37e878(0xeb))/0xc*(-parseInt(_0x37e878(0xe8))/0xd);if(_0x4d900f===_0x3b2037)break;else _0x3049f2['push'](_0x3049f2['shift']());}catch(_0x2846d6){_0x3049f2['push'](_0x3049f2['shift']());}}}(a11_0x6733,0x6934d));const {requireModule}=require(a11_0x2343d8(0xec)),constants=require(a11_0x2343d8(0xf5));;let cucumberModule=null;try{cucumberModule=requireModule('@cucumber/cucumber/lib/index.js',a11_0x2343d8(0xea));}catch(a11_0x7cc555){cucumberModule=requireModule(a11_0x2343d8(0xed),a11_0x2343d8(0xee));}cucumberModule[a11_0x2343d8(0xe6)](constants[a11_0x2343d8(0xef)]+global['__timeout']*0x1);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a12_0x213581=a12_0x4096;(function(_0x1ff68,_0x5efeb1){const _0x44edbe=a12_0x4096,_0x7c807d=_0x1ff68();while(!![]){try{const _0x8596b4=parseInt(_0x44edbe(0x1f2))/0x1+-parseInt(_0x44edbe(0x1f3))/0x2*(parseInt(_0x44edbe(0x1e6))/0x3)+-parseInt(_0x44edbe(0x200))/0x4*(parseInt(_0x44edbe(0x1de))/0x5)+parseInt(_0x44edbe(0x208))/0x6+parseInt(_0x44edbe(0x1e5))/0x7*(parseInt(_0x44edbe(0x1cf))/0x8)+parseInt(_0x44edbe(0x209))/0x9*(-parseInt(_0x44edbe(0x1ea))/0xa)+-parseInt(_0x44edbe(0x1ca))/0xb*(-parseInt(_0x44edbe(0x1f8))/0xc);if(_0x8596b4===_0x5efeb1)break;else _0x7c807d['push'](_0x7c807d['shift']());}catch(_0x30d3ae){_0x7c807d['push'](_0x7c807d['shift']());}}}(a12_0x244a,0x9dc24));function a12_0x4096(_0x1dcc17,_0x457d48){const _0x244a99=a12_0x244a();return a12_0x4096=function(_0x409656,_0x12fb58){_0x409656=_0x409656-0x1c6;let _0x4b3181=_0x244a99[_0x409656];return _0x4b3181;},a12_0x4096(_0x1dcc17,_0x457d48);}function a12_0x244a(){const _0x16a5c3=['ddkag','YaVMN','CPtfm','931972ZTXPMh','9374JInpNy','ocuqZ','BJXNh','Integration\x20hosts\x20missing.','trim','2492652RKEgca','443','options','PxeyZ','ZPJtp','kSQDe','ZGSVu','url','4pQxtxw','setProxySettings','map','browserstackLocal','bstack-accesskey','integrations-repeater','error','info','7559898ZpbBwd','9VpoaCM','integrations','type','uKcRd','../../helpers/helper','bstackAccessKey','only','11ClprPZ','iPVUP','epilogue','DBOmJ','demandCommand','4453928FCMCXq','missing','usage','BrowserStack\x20access\x20key\x20missing.','exports','describe','localIdentifier','https:','gMZCm','port','command','protocol','oJwzK','YJgbH','setupBrowserstackLocal','6148405MsOyWj','RrCTu','footer','toString','accessKey','connect','help','7wzfMqu','555qEWeUU','split','./constants','demandOption','2134610IrrAbJ','config','hosts','Failed\x20to\x20establish\x20connection.','../../helpers/BrowserStackSetup'];a12_0x244a=function(){return _0x16a5c3;};return a12_0x244a();}const {default:BrowserStackSetup}=require(a12_0x213581(0x1ee)),logger=require('../../helpers/logger')['winstonLogger'],{URL}=require(a12_0x213581(0x1ff)),helper=require(a12_0x213581(0x1c7)),{HELP_MESSAGES,ERROR_MESSAGES}=require(a12_0x213581(0x1e8)),validHosts=function(_0x2f58c1){const _0x1479ab=a12_0x213581;return _0x2f58c1[_0x1479ab(0x1e7)](',')['every'](_0x10ec1a=>{const _0x41323c=_0x1479ab;try{new URL(_0x10ec1a[_0x41323c(0x1f7)]());}catch(_0x337414){return![];}return!![];});},parseOnPremHosts=function(_0x560d4c){const _0x179bb3=a12_0x213581,_0x593096={};_0x593096[_0x179bb3(0x1f4)]=function(_0x2aef6e,_0x2b6db4){return _0x2aef6e===_0x2b6db4;},_0x593096[_0x179bb3(0x1fd)]=_0x179bb3(0x1d6),_0x593096[_0x179bb3(0x1db)]=_0x179bb3(0x1f9),_0x593096['iPVUP']='https';const _0x9985f0=_0x593096;return _0x560d4c[_0x179bb3(0x1e7)](',')[_0x179bb3(0x202)](_0x1899f5=>{const _0x4a90d2=_0x179bb3,_0x498ad9=new URL(_0x1899f5[_0x4a90d2(0x1f7)]()),_0x36e175=_0x498ad9['hostname'],_0x112fd5=_0x498ad9[_0x4a90d2(0x1d8)]||(_0x9985f0[_0x4a90d2(0x1f4)](_0x498ad9[_0x4a90d2(0x1da)],_0x9985f0[_0x4a90d2(0x1fd)])?_0x9985f0[_0x4a90d2(0x1db)]:'80'),_0xa7f223=_0x498ad9[_0x4a90d2(0x1da)]['replace'](':',''),_0xed4adb=_0x9985f0[_0x4a90d2(0x1f4)](_0xa7f223,_0x9985f0[_0x4a90d2(0x1cb)])?0x1:0x0;return _0x36e175+','+_0x112fd5+','+_0xed4adb;});},connectCommandBuilder=function(_0xd04405){const _0x393505=a12_0x213581,_0x239fb0={};_0x239fb0[_0x393505(0x1fe)]='string';const _0x47ec30=_0x239fb0,_0x1e9c41={};_0x1e9c41[_0x393505(0x1d4)]=HELP_MESSAGES['options'][_0x393505(0x1c8)],_0x1e9c41[_0x393505(0x20b)]=_0x47ec30['ZGSVu'];const _0x2b912a={};_0x2b912a[_0x393505(0x1d4)]=HELP_MESSAGES[_0x393505(0x1fa)][_0x393505(0x1ec)],_0x2b912a[_0x393505(0x20b)]=_0x47ec30[_0x393505(0x1fe)],_0x2b912a[_0x393505(0x1e9)]=!![];const _0x1ee775={};return _0x1ee775[_0x393505(0x204)]=_0x1e9c41,_0x1ee775[_0x393505(0x1ec)]=_0x2b912a,_0xd04405[_0x393505(0x1fa)](_0x1ee775);},connectCommandHandler=async function(_0x4074ee){const _0xfb59e=a12_0x213581,_0x4fc427={'YJgbH':_0xfb59e(0x20a),'DBOmJ':function(_0x303d34,_0x3f121){return _0x303d34===_0x3f121;},'ZPJtp':'undefined','PxeyZ':_0xfb59e(0x1d2),'YaVMN':_0xfb59e(0x1f6),'RrCTu':function(_0x294b61,_0x3c14a9){return _0x294b61(_0x3c14a9);},'CPtfm':'Hosts\x20not\x20valid','ntgIx':_0xfb59e(0x205),'gMZCm':'Connection\x20established\x20successfully.','uKcRd':_0xfb59e(0x1ed)};try{const _0x45ea02=new BrowserStackSetup(_0x4074ee,_0x4fc427[_0xfb59e(0x1dc)]);_0x4074ee['bstackAccesskey']&&(_0x45ea02[_0xfb59e(0x1eb)][_0xfb59e(0x1e2)]=_0x4074ee['bstackAccesskey']);if(_0x4fc427[_0xfb59e(0x1cd)](typeof _0x45ea02['config']['accessKey'],_0x4fc427[_0xfb59e(0x1fc)])){logger[_0xfb59e(0x206)](_0x4fc427[_0xfb59e(0x1fb)]);throw new Error(ERROR_MESSAGES['bstackAccessKey']['missing']);}const _0x4b1eed=_0x4074ee[_0xfb59e(0x1ec)];if(_0x4fc427['DBOmJ'](typeof _0x4b1eed,_0x4fc427[_0xfb59e(0x1fc)])){logger[_0xfb59e(0x206)](_0x4fc427[_0xfb59e(0x1f0)]);throw new Error(ERROR_MESSAGES[_0xfb59e(0x1ec)][_0xfb59e(0x1d0)]);}if(!_0x4fc427[_0xfb59e(0x1df)](validHosts,_0x4b1eed)){logger[_0xfb59e(0x206)](_0x4fc427[_0xfb59e(0x1f1)]);throw new Error(ERROR_MESSAGES[_0xfb59e(0x1ec)]['invalid']);}const _0x3f0e49=_0x4fc427[_0xfb59e(0x1df)](parseOnPremHosts,_0x4b1eed);_0x45ea02['config'][_0xfb59e(0x203)]=!![],_0x45ea02[_0xfb59e(0x1eb)]['browserStackLocalOptions'][_0xfb59e(0x1d5)]=_0x4fc427['ntgIx'],_0x45ea02['config']['browserStackLocalOptions'][_0xfb59e(0x1c9)]=_0x3f0e49['join'](','),helper[_0xfb59e(0x201)](_0x45ea02[_0xfb59e(0x1eb)]),await _0x45ea02[_0xfb59e(0x1dd)](),logger[_0xfb59e(0x207)](_0x4fc427[_0xfb59e(0x1d7)]);}catch(_0x3ccdc7){logger[_0xfb59e(0x206)](_0x4fc427[_0xfb59e(0x1c6)]);throw new Error(_0x3ccdc7[_0xfb59e(0x1e1)]());}};function run(_0x52b93b){const _0x51446c=a12_0x213581,_0xa07dd8={};_0xa07dd8[_0x51446c(0x1f5)]=_0x51446c(0x1e3),_0xa07dd8['ddkag']=_0x51446c(0x1e4);const _0x45863a=_0xa07dd8;_0x52b93b[_0x51446c(0x1d1)](HELP_MESSAGES[_0x51446c(0x1d9)]['root'])['command'](_0x45863a['BJXNh'],HELP_MESSAGES['command'][_0x51446c(0x1e3)],connectCommandBuilder,connectCommandHandler)[_0x51446c(0x1ce)]()['help'](_0x45863a[_0x51446c(0x1ef)])[_0x51446c(0x1cc)](HELP_MESSAGES['command'][_0x51446c(0x1e0)]);}module[a12_0x213581(0x1d3)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a13_0x4b7fba=a13_0x1a82;(function(_0x20ecc2,_0xebd6d6){var _0x442917=a13_0x1a82,_0x458419=_0x20ecc2();while(!![]){try{var _0x2ef3ab=-parseInt(_0x442917(0x18d))/0x1+-parseInt(_0x442917(0x18f))/0x2*(parseInt(_0x442917(0x181))/0x3)+parseInt(_0x442917(0x192))/0x4+-parseInt(_0x442917(0x191))/0x5*(parseInt(_0x442917(0x194))/0x6)+parseInt(_0x442917(0x18a))/0x7*(parseInt(_0x442917(0x198))/0x8)+parseInt(_0x442917(0x188))/0x9*(parseInt(_0x442917(0x189))/0xa)+-parseInt(_0x442917(0x182))/0xb;if(_0x2ef3ab===_0xebd6d6)break;else _0x458419['push'](_0x458419['shift']());}catch(_0x3a9cb6){_0x458419['push'](_0x458419['shift']());}}}(a13_0x511d,0x46e38));var a13_0x14d177={};function a13_0x1a82(_0xc5e89b,_0x467922){var _0x511d58=a13_0x511d();return a13_0x1a82=function(_0x1a82db,_0x4b230d){_0x1a82db=_0x1a82db-0x181;var _0x2b1c61=_0x511d58[_0x1a82db];return _0x2b1c61;},a13_0x1a82(_0xc5e89b,_0x467922);}a13_0x14d177[a13_0x4b7fba(0x18e)]='Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.',a13_0x14d177[a13_0x4b7fba(0x187)]=a13_0x4b7fba(0x18b);var a13_0xd56907={};a13_0xd56907[a13_0x4b7fba(0x196)]=a13_0x4b7fba(0x195),a13_0xd56907[a13_0x4b7fba(0x186)]=a13_0x4b7fba(0x18c),a13_0xd56907[a13_0x4b7fba(0x183)]=a13_0x4b7fba(0x193);var a13_0x582aab={};a13_0x582aab['options']=a13_0x14d177,a13_0x582aab[a13_0x4b7fba(0x190)]=a13_0xd56907,exports['HELP_MESSAGES']=a13_0x582aab;var a13_0xfd2567={};a13_0xfd2567[a13_0x4b7fba(0x184)]='BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.';var a13_0x40e319={};a13_0x40e319['missing']=a13_0x4b7fba(0x199),a13_0x40e319['invalid']=a13_0x4b7fba(0x197);var a13_0x40c56b={};function a13_0x511d(){var _0x5c6a4d=['connect','hosts','3078lEMSWs','3940OgpIzI','1274791GheqEG','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.','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','92713vvXwzC','bstackAccessKey','59992OfeiJj','command','4825pTDBLv','695756DGanMT','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','1044yLyBgg','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','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.','24qwjKIo','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','3OiZifE','3014517dxAUCy','footer','missing','ERROR_MESSAGES'];a13_0x511d=function(){return _0x5c6a4d;};return a13_0x511d();}a13_0x40c56b[a13_0x4b7fba(0x18e)]=a13_0xfd2567,a13_0x40c56b[a13_0x4b7fba(0x187)]=a13_0x40e319,exports[a13_0x4b7fba(0x185)]=a13_0x40c56b;
|
package/src/bin/jest/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a14_0x1616eb=a14_0x3303;(function(_0x4cf56c,_0x2c45ae){const _0x3f4458=a14_0x3303,_0x282aac=_0x4cf56c();while(!![]){try{const _0x3d81da=-parseInt(_0x3f4458(0x216))/0x1+-parseInt(_0x3f4458(0x236))/0x2*(parseInt(_0x3f4458(0x27e))/0x3)+-parseInt(_0x3f4458(0x20a))/0x4+-parseInt(_0x3f4458(0x207))/0x5+parseInt(_0x3f4458(0x1e6))/0x6*(parseInt(_0x3f4458(0x231))/0x7)+parseInt(_0x3f4458(0x251))/0x8*(parseInt(_0x3f4458(0x24b))/0x9)+parseInt(_0x3f4458(0x2b1))/0xa;if(_0x3d81da===_0x2c45ae)break;else _0x282aac['push'](_0x282aac['shift']());}catch(_0x119a73){_0x282aac['push'](_0x282aac['shift']());}}}(a14_0x4b38,0xc6dd9));function a14_0x3303(_0x30655e,_0x34eb90){const _0x4b3843=a14_0x4b38();return a14_0x3303=function(_0x3303ac,_0x2edfc9){_0x3303ac=_0x3303ac-0x1d4;let _0xc3a37a=_0x4b3843[_0x3303ac];return _0xc3a37a;},a14_0x3303(_0x30655e,_0x34eb90);}const fs=require('fs'),path=require(a14_0x1616eb(0x2ac)),util=require(a14_0x1616eb(0x254)),{spawn}=require(a14_0x1616eb(0x24d)),logger=require('../../helpers/logger')[a14_0x1616eb(0x1f0)],{default:BrowserStackSetup}=require(a14_0x1616eb(0x1e1)),helper=require(a14_0x1616eb(0x261)),utilities=require(a14_0x1616eb(0x2aa)),constants=require('../utils/constants'),accessibilityHelper=require(a14_0x1616eb(0x2a5)),{updateTestRerunConfig}=require('./test-observability/helper'),testOpsHelper=require(a14_0x1616eb(0x22f)),{debug}=require('../../helpers/test-observability/utils'),TestDetails=require(a14_0x1616eb(0x1f6)),{getPercyOptions}=require('../../helpers/percy/utils'),TestHubHandler=require(a14_0x1616eb(0x243)),testhubUtils=require('../../helpers/testhub/utils'),{FRAMEWORKS}=require(a14_0x1616eb(0x214)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a14_0x1616eb(0x1ef))['EVENTS'],TestOrchestrationHandler=require(a14_0x1616eb(0x291)),BrowserstackCLI=require('../v2/browserstackCLI'),{checkPwandBootstrapCli}=require(a14_0x1616eb(0x235)),ClientTroubleShootingService=require(a14_0x1616eb(0x25c)),{checkAccessibilityPlatformConfig}=require(a14_0x1616eb(0x2a5)),getUserJestConfigs=async(_0x146164,_0x40e447)=>{const _0x2c3bc6=a14_0x1616eb,_0x21dbc6={'npoxW':_0x2c3bc6(0x290),'unKPD':_0x2c3bc6(0x248),'tnHYH':function(_0x3f21a1,_0x4399c9){return _0x3f21a1||_0x4399c9;},'AbXwL':function(_0x4a7adb,_0xf13aed){return _0x4a7adb(_0xf13aed);},'XLwbz':_0x2c3bc6(0x1f3),'KWhxZ':_0x2c3bc6(0x21d),'HVOgx':_0x2c3bc6(0x2a6),'HCvIv':_0x2c3bc6(0x1dc),'QIRBc':_0x2c3bc6(0x1e3)},_0x2e9a2a=helper[_0x2c3bc6(0x201)](_0x21dbc6[_0x2c3bc6(0x2a9)],_0x21dbc6['unKPD']),_0x25311a=_0x40e447[_0x2c3bc6(0x257)](_0xe825f3=>_0xe825f3===_0x2c3bc6(0x26d));if(!helper[_0x2c3bc6(0x218)](_0x146164[_0x2c3bc6(0x20e)])){logger['info'](_0x2c3bc6(0x1d6)+_0x146164[_0x2c3bc6(0x20e)]),process['env'][_0x2c3bc6(0x285)]=_0x146164[_0x2c3bc6(0x20e)];const _0x42a216=await(0x0,_0x2e9a2a[_0x2c3bc6(0x1db)])(path[_0x2c3bc6(0x1fb)](_0x146164[_0x2c3bc6(0x20e)]));return _0x40e447[_0x2c3bc6(0x262)](_0x25311a,0x2),_0x21dbc6[_0x2c3bc6(0x286)](_0x42a216,{});}const _0x1cfc30=_0x21dbc6['AbXwL'](require,path[_0x2c3bc6(0x23b)](process[_0x2c3bc6(0x239)](),_0x21dbc6[_0x2c3bc6(0x1fc)]));if(_0x1cfc30[_0x2c3bc6(0x27d)])return logger[_0x2c3bc6(0x270)](_0x21dbc6['KWhxZ']),_0x1cfc30[_0x2c3bc6(0x27d)];const _0x1975c8=['js',_0x21dbc6['HVOgx'],_0x21dbc6[_0x2c3bc6(0x1f7)],_0x21dbc6[_0x2c3bc6(0x292)],'ts'];for(const _0x18f30e of _0x1975c8){const _0xedd6b4=path[_0x2c3bc6(0x23b)](process[_0x2c3bc6(0x239)](),_0x2c3bc6(0x281)+_0x18f30e);if(fs['existsSync'](_0xedd6b4)){process[_0x2c3bc6(0x23f)][_0x2c3bc6(0x285)]=_0xedd6b4;const _0x31f4d1=await(0x0,_0x2e9a2a[_0x2c3bc6(0x1db)])(_0xedd6b4);return _0x31f4d1;}}return{};},getSerial=(_0x209c99,_0x17f1a2)=>{const _0x21cbba=a14_0x1616eb,_0x5a9ebf={};_0x5a9ebf['UkhAu']=_0x21cbba(0x20d),_0x5a9ebf[_0x21cbba(0x1e4)]=function(_0x26679c,_0x2ca133){return _0x26679c>_0x2ca133;},_0x5a9ebf[_0x21cbba(0x1e0)]='false';const _0x4ded4b=_0x5a9ebf;let _0x486991=_0x4ded4b[_0x21cbba(0x284)];return _0x4ded4b[_0x21cbba(0x1e4)](_0x209c99[_0x21cbba(0x27a)],0x1)&&(!_0x17f1a2[_0x21cbba(0x1f9)]&&(helper[_0x21cbba(0x218)](_0x17f1a2[_0x21cbba(0x21e)])||_0x4ded4b[_0x21cbba(0x1e4)](_0x17f1a2[_0x21cbba(0x21e)],0x1)))&&(_0x486991=_0x4ded4b[_0x21cbba(0x1e0)]),_0x486991;},getMaxWorkers=(_0x2b755f,_0x1c7897,_0x3a45f1)=>{const _0x24a051=a14_0x1616eb,_0x4b071b={'jSQuM':function(_0x4866fd,_0x3a8acb){return _0x4866fd(_0x3a8acb);}};let _0xd4918e=0x1;if(!helper[_0x24a051(0x218)](_0x1c7897[_0x24a051(0x250)]))_0xd4918e=_0x4b071b['jSQuM'](parseInt,_0x1c7897[_0x24a051(0x250)]);else{if(!helper[_0x24a051(0x218)](_0x2b755f['maxWorkers']))_0xd4918e=_0x2b755f[_0x24a051(0x21e)];else!helper[_0x24a051(0x218)](_0x3a45f1[_0x24a051(0x21e)])&&(_0xd4918e=_0x3a45f1[_0x24a051(0x21e)]);}return _0xd4918e;};async function run(_0x310948,_0x453b78,_0x22489b){const _0x3fb293=a14_0x1616eb,_0x4f7402={'BqMbg':_0x3fb293(0x1f1),'SAEjK':_0x3fb293(0x27d),'grcQV':function(_0x1c6cd9,_0x50fbbc){return _0x1c6cd9(_0x50fbbc);},'wyzho':'@playwright/test','CTlPz':function(_0x244c2e,_0x34b61a,_0x1e2e4c,_0x2e6e6f){return _0x244c2e(_0x34b61a,_0x1e2e4c,_0x2e6e6f);},'espdR':function(_0x5027f8,_0x4154a1){return _0x5027f8!=_0x4154a1;},'hJPLF':'true','TxafA':function(_0x5a7c5f,_0x55b510,_0x158185){return _0x5a7c5f(_0x55b510,_0x158185);},'uKXmA':_0x3fb293(0x274),'SdOvp':function(_0xbf56aa,_0x1423a5){return _0xbf56aa(_0x1423a5);},'AEDmK':function(_0x5982ed,_0x3c5081){return _0x5982ed(_0x3c5081);},'wzoxy':'false','VvFBo':function(_0x646535,_0x2b722d,_0x57301a,_0x5afa03){return _0x646535(_0x2b722d,_0x57301a,_0x5afa03);},'bfsld':function(_0x291db2,_0x1827fb){return _0x291db2*_0x1827fb;},'vqxDY':function(_0x137715,_0x4c1940){return _0x137715===_0x4c1940;},'afDnD':_0x3fb293(0x1eb),'JfEPH':'jest_browserstack.config.js','ahDrs':_0x3fb293(0x25a),'oxbsH':_0x3fb293(0x1da),'fxQjy':'customTestRunner.js','AiKxe':_0x3fb293(0x20f),'dpAKP':_0x3fb293(0x2b4),'uAGUe':_0x3fb293(0x24f),'HdZoh':_0x3fb293(0x26a),'gpzmB':_0x3fb293(0x225),'OJolw':_0x3fb293(0x2ae),'vvWbg':function(_0x15deb4,_0x315116){return _0x15deb4(_0x315116);},'PGnaI':_0x3fb293(0x288),'QiEQg':_0x3fb293(0x258),'OvkZE':'customCircus.js','PbUfQ':_0x3fb293(0x253),'IFfZv':_0x3fb293(0x267),'XzSjm':_0x3fb293(0x202),'HOEVM':_0x3fb293(0x26e),'OmVkH':_0x3fb293(0x1df),'ypvXh':_0x3fb293(0x25b),'XvnKz':_0x3fb293(0x1db),'OQuXN':function(_0x92670a,_0x301df2,_0x499b69){return _0x92670a(_0x301df2,_0x499b69);},'mwmKo':_0x3fb293(0x2b2),'hqwmp':function(_0x30b90a,_0x481cc5){return _0x30b90a>_0x481cc5;},'RMDNu':'Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','aTkJZ':'npx','vXkCB':_0x3fb293(0x26d),'TMCNw':_0x3fb293(0x2a1),'dyThe':_0x3fb293(0x256),'rifFb':'close'},_0x5a123b=helper[_0x3fb293(0x27f)](_0x4f7402['wyzho']);global[_0x3fb293(0x1d7)]=!!_0x5a123b;helper[_0x3fb293(0x269)]()?(await _0x22489b[_0x3fb293(0x245)](_0x310948),await helper[_0x3fb293(0x1ed)](_0x22489b['config'])):await _0x22489b[_0x3fb293(0x200)]();await _0x4f7402[_0x3fb293(0x212)](checkPwandBootstrapCli,_0x5a123b,constants['FRAMEWORKS'][_0x3fb293(0x299)],_0x22489b);if(!_0x22489b[_0x3fb293(0x20e)])return;_0x4f7402[_0x3fb293(0x21b)](_0x22489b[_0x3fb293(0x20e)][_0x3fb293(0x2b0)],null)?process['env'][_0x3fb293(0x211)]=_0x22489b['config'][_0x3fb293(0x2b0)]:process[_0x3fb293(0x23f)][_0x3fb293(0x211)]=_0x4f7402['hJPLF'];const _0x5ebf59=new TestOrchestrationHandler(_0x22489b['config']),_0x475c07=await _0x4f7402[_0x3fb293(0x205)](getUserJestConfigs,_0x310948,_0x453b78);logger['info'](_0x4f7402[_0x3fb293(0x20b)]);const _0x132e8e=Object[_0x3fb293(0x265)]({},_0x475c07);_0x132e8e[_0x3fb293(0x21a)]=Object['assign']({},_0x132e8e[_0x3fb293(0x21a)],{'server':helper['getHubUrl'](_0x22489b[_0x3fb293(0x20e)]),'environment':_0x475c07['testEnvironment']}),_0x132e8e[_0x3fb293(0x21a)][_0x3fb293(0x259)]=_0x4f7402[_0x3fb293(0x22b)](getPercyOptions,_0x22489b[_0x3fb293(0x20e)]);const _0x5c1041=helper[_0x3fb293(0x29e)](_0x22489b[_0x3fb293(0x20e)]);!helper[_0x3fb293(0x218)](_0x22489b['config'][_0x3fb293(0x230)])&&(process[_0x3fb293(0x23f)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x3fb293(0x287)](_0x22489b[_0x3fb293(0x20e)][_0x3fb293(0x230)]));if(!BrowserstackCLI[_0x3fb293(0x1d9)]()[_0x3fb293(0x237)]()){const _0x5eddb4=await TestHubHandler[_0x3fb293(0x226)](FRAMEWORKS['JEST'],_0x22489b);}const _0x5e7f51=helper['prepareCapabilities'](_0x22489b['config'],_0x5c1041,constants[_0x3fb293(0x2a3)][_0x3fb293(0x299)]);process[_0x3fb293(0x23f)][_0x3fb293(0x24e)]=JSON[_0x3fb293(0x287)](_0x5e7f51);let _0x21ece6=_0x22489b[_0x3fb293(0x20e)][_0x3fb293(0x223)];_0x21ece6=_0x21ece6||accessibilityHelper['checkAccessibilityPlatformConfig'](_0x22489b[_0x3fb293(0x20e)]),process[_0x3fb293(0x23f)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x21ece6,logger[_0x3fb293(0x268)](_0x3fb293(0x25d)+_0x21ece6+_0x3fb293(0x1e5)+BrowserstackCLI[_0x3fb293(0x1d9)]()[_0x3fb293(0x237)]());if(_0x5a123b)try{const _0x535b96=_0x4f7402[_0x3fb293(0x29a)](checkAccessibilityPlatformConfig,_0x22489b[_0x3fb293(0x20e)]);process['env'][_0x3fb293(0x1f8)]=_0x535b96?_0x4f7402[_0x3fb293(0x289)]:_0x4f7402[_0x3fb293(0x1d4)],logger[_0x3fb293(0x268)](_0x3fb293(0x22c)+_0x535b96+',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM='+process[_0x3fb293(0x23f)][_0x3fb293(0x1f8)]);}catch(_0x2f9495){logger['debug'](_0x3fb293(0x20c)+util[_0x3fb293(0x264)](_0x2f9495));}_0x132e8e[_0x3fb293(0x21a)]['capabilities']=_0x5e7f51,_0x132e8e['testEnvironmentOptions']['serial__']=_0x4f7402[_0x3fb293(0x205)](getSerial,_0x5e7f51,_0x310948),_0x132e8e[_0x3fb293(0x21a)][_0x3fb293(0x229)]=_0x4f7402[_0x3fb293(0x213)](getMaxWorkers,_0x310948,_0x22489b[_0x3fb293(0x20e)],_0x475c07),_0x132e8e[_0x3fb293(0x21a)][_0x3fb293(0x296)]=_0x22489b[_0x3fb293(0x20e)]['proxySettings'],_0x132e8e[_0x3fb293(0x21a)][_0x3fb293(0x228)]=_0x4f7402[_0x3fb293(0x1f4)](_0x310948[_0x3fb293(0x25e)],0x1)||0x1388,_0x132e8e[_0x3fb293(0x21a)][_0x3fb293(0x1fa)]=_0x22489b[_0x3fb293(0x20e)]['testContextOptions'][_0x3fb293(0x1fa)],_0x132e8e[_0x3fb293(0x21a)][_0x3fb293(0x1ee)]=_0x22489b['config'][_0x3fb293(0x275)][_0x3fb293(0x1ee)],_0x132e8e[_0x3fb293(0x21a)][_0x3fb293(0x28a)]=_0x22489b['config'][_0x3fb293(0x28b)],_0x132e8e[_0x3fb293(0x21a)][_0x3fb293(0x2ad)]=_0x22489b[_0x3fb293(0x20e)][_0x3fb293(0x2ad)],_0x132e8e['testEnvironmentOptions'][_0x3fb293(0x1f2)]=_0x22489b['config'][_0x3fb293(0x24a)];const _0x14e39c=helper[_0x3fb293(0x2a2)](_0x22489b[_0x3fb293(0x20e)]);if(!helper['isEmpty'](_0x14e39c)){helper[_0x3fb293(0x234)](_0x14e39c[_0x3fb293(0x23c)])&&(_0x132e8e[_0x3fb293(0x21a)][_0x3fb293(0x1d8)]=_0x14e39c[_0x3fb293(0x23c)][_0x3fb293(0x293)]);if(helper[_0x3fb293(0x234)](_0x14e39c[_0x3fb293(0x272)])&&helper['isNotUndefined'](_0x14e39c['abortBuildOnFailure'][_0x3fb293(0x263)])){const _0x49ea99={};_0x49ea99[_0x3fb293(0x2ab)]=_0x14e39c[_0x3fb293(0x272)][_0x3fb293(0x25f)],_0x49ea99['workingDir']=_0x14e39c['abortBuildOnFailure'][_0x3fb293(0x263)],_0x132e8e[_0x3fb293(0x21a)][_0x3fb293(0x22d)]=_0x49ea99;}}let _0x4fd3df='';_0x4f7402[_0x3fb293(0x23a)](helper[_0x3fb293(0x255)](),constants[_0x3fb293(0x1de)][_0x3fb293(0x28f)])?_0x4fd3df=_0x4f7402[_0x3fb293(0x27c)]:_0x4fd3df=_0x4f7402['JfEPH'];const _0xa34374=_0x4fd3df,_0x58e165=path[_0x3fb293(0x23b)](__dirname,_0x4f7402[_0x3fb293(0x204)],_0x4f7402[_0x3fb293(0x224)]),_0x3c0130=path[_0x3fb293(0x23b)](__dirname,_0x4f7402['ahDrs'],_0x4f7402['fxQjy']),_0x37d8cd=path[_0x3fb293(0x23b)](__dirname,_0x4f7402[_0x3fb293(0x204)],_0x4f7402['AiKxe']);_0x132e8e['testEnvironment']&&(process['env'][_0x3fb293(0x271)]=_0x132e8e['testEnvironment']);_0x132e8e['testEnvironment']=path[_0x3fb293(0x23b)](__dirname,_0x4f7402[_0x3fb293(0x204)],_0x4f7402[_0x3fb293(0x242)]),_0x132e8e[_0x3fb293(0x260)]=_0x3c0130,_0x132e8e['setupFilesAfterEnv']=_0x132e8e[_0x3fb293(0x1e9)]||[],_0x132e8e[_0x3fb293(0x1e9)][_0x3fb293(0x279)](path[_0x3fb293(0x23b)](__dirname,_0x4f7402[_0x3fb293(0x1e7)]));_0x5ebf59[_0x3fb293(0x2a8)]()&&(_0x132e8e[_0x3fb293(0x2a7)]=path[_0x3fb293(0x23b)](__dirname,_0x4f7402['ahDrs'],_0x4f7402[_0x3fb293(0x297)]));if(testhubUtils[_0x3fb293(0x2a4)]()){let _0x566b31=null;try{_0x566b31=helper['requireModule'](_0x4f7402[_0x3fb293(0x1d5)],_0x4f7402[_0x3fb293(0x273)]);}catch(_0x2c5a76){_0x4f7402[_0x3fb293(0x276)](debug,_0x3fb293(0x217)+_0x2c5a76);}_0x566b31&&(_0x132e8e[_0x3fb293(0x1e9)][_0x3fb293(0x279)](path[_0x3fb293(0x23b)](__dirname,_0x4f7402[_0x3fb293(0x29c)],_0x4f7402[_0x3fb293(0x28d)])),_0x132e8e['testRunner']=path[_0x3fb293(0x23b)](__dirname,_0x4f7402['ahDrs'],_0x4f7402['OvkZE']));}_0x132e8e[_0x3fb293(0x1ea)]=_0x132e8e[_0x3fb293(0x1ea)]||[];try{helper[_0x3fb293(0x22e)](),_0x132e8e[_0x3fb293(0x1ea)][_0x3fb293(0x279)](path['join'](__dirname,_0x4f7402[_0x3fb293(0x215)]));}catch{logger[_0x3fb293(0x268)](_0x4f7402['IFfZv']);}try{helper['requirePWModule'][_0x3fb293(0x1ec)](null,[_0x4f7402['wyzho'],_0x4f7402[_0x3fb293(0x28c)]]),logger[_0x3fb293(0x268)](_0x4f7402[_0x3fb293(0x295)]),_0x132e8e[_0x3fb293(0x1ea)][_0x3fb293(0x279)](path[_0x3fb293(0x23b)](__dirname,_0x4f7402[_0x3fb293(0x27b)]));}catch(_0x11309c){logger[_0x3fb293(0x268)](_0x4f7402[_0x3fb293(0x29f)],_0x11309c);}_0x132e8e[_0x3fb293(0x209)]=_0x132e8e[_0x3fb293(0x209)]||[_0x4f7402['XvnKz']],_0x4f7402[_0x3fb293(0x249)](updateTestRerunConfig,_0x132e8e,_0x22489b);const _0x57e058=fs[_0x3fb293(0x24c)](_0x37d8cd);fs[_0x3fb293(0x2a0)](_0x132e8e['runner'],_0x3fb293(0x233)+_0x57e058+_0x3fb293(0x246)+_0x22489b['config'][_0x3fb293(0x24a)][_0x3fb293(0x27a)]+_0x3fb293(0x26f)),logger['info']('Creating\x20'+_0xa34374+_0x3fb293(0x280)),fs[_0x3fb293(0x2a0)](_0xa34374,_0x3fb293(0x1e2)+JSON['stringify'](_0x132e8e)+_0x3fb293(0x1f5));if(_0x5ebf59[_0x3fb293(0x2a8)]()){logger[_0x3fb293(0x268)](_0x4f7402[_0x3fb293(0x23e)]);const _0x17de4f=await _0x5ebf59[_0x3fb293(0x219)](_0x132e8e,_0x453b78[_0x3fb293(0x294)](0x1),_0xa34374);logger[_0x3fb293(0x268)](_0x3fb293(0x278)+JSON['stringify'](_0x17de4f)+_0x3fb293(0x29b));const _0x56cbb7=await _0x5ebf59[_0x3fb293(0x282)](_0x17de4f);logger[_0x3fb293(0x268)]('Reodered\x20Test\x20Files:\x20'+JSON[_0x3fb293(0x287)](_0x56cbb7)),_0x56cbb7&&_0x4f7402[_0x3fb293(0x247)](_0x56cbb7[_0x3fb293(0x27a)],0x0)&&(process['env'][_0x3fb293(0x266)]=_0x56cbb7?.[_0x3fb293(0x23b)](','));}logger[_0x3fb293(0x270)](_0x4f7402[_0x3fb293(0x220)]);testhubUtils['shouldProcessEventForTesthub']()&&TestDetails[_0x3fb293(0x28e)]();helper[_0x3fb293(0x1ff)]({},_0x453b78),PerformanceTester[_0x3fb293(0x244)](PerformanceEvents[_0x3fb293(0x277)]);const _0x40e5b0=_0x4f7402[_0x3fb293(0x212)](spawn,_0x4f7402[_0x3fb293(0x208)],[_0x4f7402[_0x3fb293(0x1dd)],_0x4f7402[_0x3fb293(0x221)],_0xa34374,..._0x453b78[_0x3fb293(0x294)](0x1)],{'shell':_0x4f7402[_0x3fb293(0x23a)](process[_0x3fb293(0x2af)],_0x4f7402[_0x3fb293(0x1fe)]),'stdio':_0x4f7402[_0x3fb293(0x22a)],'env':Object[_0x3fb293(0x265)]({},process[_0x3fb293(0x23f)])});_0x40e5b0['on'](_0x4f7402['rifFb'],async _0x46541f=>{const _0x1b8d12=_0x3fb293;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']);try{const {browserstackFolderPath:_0x24e0aa,tcgConfigPath:_0x40d368}=helper[_0x1b8d12(0x29d)]();fs[_0x1b8d12(0x23d)](_0x40d368),fs[_0x1b8d12(0x238)](_0x24e0aa);}catch(_0x428aa5){logger[_0x1b8d12(0x268)](_0x4f7402[_0x1b8d12(0x26b)],_0x428aa5);}process[_0x1b8d12(0x241)]=_0x46541f,logger[_0x1b8d12(0x268)](_0x1b8d12(0x227)+_0x46541f),logger[_0x1b8d12(0x270)](_0x1b8d12(0x240)+_0xa34374);if(helper['isNotUndefined'](_0x14e39c)&&helper[_0x1b8d12(0x234)](_0x14e39c[_0x1b8d12(0x272)])&&fs['existsSync'](_0x14e39c['abortBuildOnFailure'][_0x1b8d12(0x263)]))try{const _0x7bf11a={};_0x7bf11a['recursive']=!![],_0x7bf11a[_0x1b8d12(0x21c)]=!![],fs['rmSync'](_0x14e39c['abortBuildOnFailure']['workingDir'],_0x7bf11a),logger[_0x1b8d12(0x268)](_0x1b8d12(0x252)+_0x14e39c['abortBuildOnFailure']['workingDir']);}catch(_0xada12){logger[_0x1b8d12(0x232)]('Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20'+_0xada12);}let _0x23da26=null;if(fs[_0x1b8d12(0x203)](_0x58e165)){_0x23da26=fs[_0x1b8d12(0x24c)](_0x58e165);try{_0x23da26=JSON['parse'](_0x23da26);}catch(_0x1440b2){logger[_0x1b8d12(0x268)](_0x1b8d12(0x283)+_0x58e165+',\x20'+_0x23da26+_0x1b8d12(0x1fd)+_0x1440b2);}fs['unlinkSync'](_0x58e165);}fs[_0x1b8d12(0x23d)](_0xa34374),fs['unlinkSync'](_0x3c0130),_0x23da26&&(_0x22489b['errorMessage']=helper['getErrorMessageFromResults'](_0x23da26,_0x4f7402[_0x1b8d12(0x1dd)],_0x22489b));try{await TestHubHandler[_0x1b8d12(0x1e8)](),await BrowserstackCLI[_0x1b8d12(0x1d9)]()['stop']();}catch(_0x25358d){console[_0x1b8d12(0x26c)](_0x25358d),_0x4f7402[_0x1b8d12(0x2b3)](debug,_0x1b8d12(0x222)+util[_0x1b8d12(0x264)](_0x25358d));}testOpsHelper[_0x1b8d12(0x21f)](),TestDetails[_0x1b8d12(0x210)](),await utilities[_0x1b8d12(0x298)](_0x22489b);});}function a14_0x4b38(){const _0xa84454=['printBuildLink','RMDNu','vXkCB','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','accessibility','oxbsH','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','launchBuild','child\x20process\x20exited\x20with\x20code\x20','timeout__','parallels__','dyThe','SdOvp','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','failFast','requireSeleniumWebdriver','../../helpers/test-observability/utils','accessibilityOptions','7ByKoAm','error','\x0a\x20\x20\x20\x20','isNotUndefined','../../helpers/playwright-helper','4dsOqHf','isRunning','rmdirSync','cwd','vqxDY','join','retryTestsOnFailure','unlinkSync','mwmKo','env','Deleting\x20','exitCode','dpAKP','../../helpers/testhub/testhubHandler','end','initialize','\x0a\x0a\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x20//node_modules/@jest/core/build/ReporterDispatcher.js\x0a\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','hqwmp','jest-config','OQuXN','platforms','9vaKPvA','readFileSync','child_process','BROWSERSTACK_CAPABILITIES','jest.setup.js','parallelsPerPlatform','34912jjpprd','Deleted\x20fail-fast\x20state\x20folder:\x20','test_before.setup.js','util','getPackageType','inherit','findIndex','data-hooks.js','browserStackPercyOptions','customImplements','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','../utils/clientTroubleshootingService','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','testTimeout','maxFailures','runner','../../helpers/helper','splice','workingDir','format','assign','JEST_TEST_ORDER','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','debug','isBrowserstackInfra','customSequencer.js','BqMbg','log','--config','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup',';\x0a\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\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20}\x0a\x20\x20','info','BSTACK_JEST_TEST_ENV','abortBuildOnFailure','OJolw','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','testContextOptions','vvWbg','SDK_SETUP','Found:\x20','push','length','OmVkH','afDnD','jest','2321973zhNjKz','getPackageVersion','\x20with\x20browserstack\x20jest\x20configs','jest.config.','reorderTestFiles','Error\x20while\x20parsing\x20','UkhAu','USER_CONFIG_DETAILS_PATH','tnHYH','stringify','test-observability','hJPLF','browserStackLogLevel','logLevel','XzSjm','QiEQg','setup','MODULE','jest-config/build/readConfigFileAndSetRootDir.js','../../helpers/test-orchestration/testOrchestrationHandler','QIRBc','maxRetries','slice','HOEVM','proxySettings','HdZoh','finalExecution','JEST','AEDmK','\x20test\x20files\x20to\x20run.','PGnaI','getTCGConfigFilePaths','useW3C','ypvXh','writeFileSync','win32','parseTestOrchestrationOptions','FRAMEWORKS','shouldProcessEventForTesthub','../../helpers/accessibility-automation/helper','mjs','testSequencer','isTestOrchestrationEnabled','npoxW','../../helpers/utilities','failureThresholdCount','path','turboScaleUrl','jest-circus','platform','testObservability','42452650pFlMwx','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','grcQV','customEnvironment.js','wzoxy','gpzmB','Getting\x20your\x20jest\x20configs\x20from\x20','__isPlaywrightInstalled','retries__','getInstance','jest_browserstack_results.json','default','cjs','SAEjK','PACKAGE_TYPE','test.setup.js','ztCFu','../../helpers/BrowserStackSetup','const\x20config=','json','fmwvS',',\x20CLI\x20running:\x20','7881684TARhgF','uAGUe','stop','setupFilesAfterEnv','setupFiles','jest_browserstack.config.cjs','apply','handleApp','skipSessionStatus','../../helpers/performance/constants','winstonLogger','error\x20removing\x20tcg\x20config\x20file','platformCaps','package.json','bfsld','\x0amodule.exports\x20=\x20config;','./test-observability/test-details','HCvIv','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','runInBand','skipSessionName','resolve','XLwbz','\x20:\x20','TMCNw','filterBrowserstackArgs','setupTCGAuth','requireModule','playwright','existsSync','ahDrs','TxafA','exports','7477880XWhtgK','aTkJZ','reporters','5996232iVKYTl','uKXmA','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','true','config','customTestRunnerTemplate.js','shutdown','BROWSERSTACK_TEST_OBSERVABILITY_YML','CTlPz','VvFBo','../../helpers/test-observability/constants','PbUfQ','206074MccrEg','Unable\x20to\x20find\x20jest-circus,\x20','isUndefined','findTestFiles','testEnvironmentOptions','espdR','force','Getting\x20your\x20jest\x20configs\x20from\x20package.json','maxWorkers'];a14_0x4b38=function(){return _0xa84454;};return a14_0x4b38();}module[a14_0x1616eb(0x206)]=run;
|
|
2
|
+
'use strict';const a14_0x54d04c=a14_0x48a5;(function(_0x3a131c,_0x4812a4){const _0x1b668a=a14_0x48a5,_0x349bfd=_0x3a131c();while(!![]){try{const _0x85c6e=-parseInt(_0x1b668a(0x214))/0x1+-parseInt(_0x1b668a(0x205))/0x2+-parseInt(_0x1b668a(0x221))/0x3+-parseInt(_0x1b668a(0x204))/0x4+parseInt(_0x1b668a(0x1fe))/0x5+parseInt(_0x1b668a(0x1e9))/0x6+-parseInt(_0x1b668a(0x190))/0x7*(-parseInt(_0x1b668a(0x16b))/0x8);if(_0x85c6e===_0x4812a4)break;else _0x349bfd['push'](_0x349bfd['shift']());}catch(_0xaadd65){_0x349bfd['push'](_0x349bfd['shift']());}}}(a14_0x1b7c,0x2c331));function a14_0x1b7c(){const _0x49011c=['../v2/browserstackCLI','exports','rLwYi','join','14wrEjmC','isNotUndefined','default','OXWEk','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','./test-observability/helper','jest_browserstack.config.cjs','Deleting\x20','\x0a\x0a\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x20//node_modules/@jest/core/build/ReporterDispatcher.js\x0a\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','TVMxZ','QrbKC','parseTestOrchestrationOptions','platformCaps','stringify',';\x0a\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\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20}\x0a\x20\x20','info','qSDvC','customTestRunnerTemplate.js','prepareCapabilities','winstonLogger','close','\x20with\x20browserstack\x20jest\x20configs','Found:\x20','LsNMx','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','maxWorkers','\x20:\x20','getPackageType','JEST','MHsJf','push','length','BROWSERSTACK_TEST_ACCESSIBILITY_YML','SDK_SETUP','initialize','parse','isBrowserstackInfra','vyMwb','../../helpers/test-orchestration/testOrchestrationHandler','setup','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','launchBuild','failFast','test_before.setup.js','MADzr','setupFiles','../../helpers/playwright-helper','browserStackLogLevel','mjs','RUAWF','\x0a\x20\x20\x20\x20','MODULE','QlyEx','getHubUrl','./test-observability/test-details','path','VlFfQ','maxRetries','util','jest_browserstack_results.json','useW3C','PACKAGE_TYPE','FRAMEWORKS','config','false','runner','testSequencer','UAHif','writeFileSync','rPlMm','runInBand','Aluxn','checkAccessibilityPlatformConfig','Unable\x20to\x20find\x20jest-circus,\x20','printBuildLink','accessibilityOptions','aCwOU','log','requireSeleniumWebdriver','CfMKA','BhElc','findTestFiles','parallelsPerPlatform','BROWSERSTACK_CAPABILITIES','../../helpers/BrowserStackSetup','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','skipSessionName','recursive','../../helpers/percy/utils','1528032EQoYHU','yhvqa',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','slice','EVENTS','customImplements','nmBoB','retries__','testTimeout','true','jest.config.','assign','readFileSync','wexls','Getting\x20your\x20jest\x20configs\x20from\x20','cwd','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','VhwED','splice','ortia','testEnvironment','1075970zqEJuh','oVjVS','../../helpers/performance/constants','JNXzh','reporters','exitCode','1021764KCLlaZ','114668YAqJEm','force','../../helpers/test-observability/constants','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','wPckd','skipSessionStatus','getPackageVersion','browserStackPercyOptions','isTestOrchestrationEnabled','yCCDm','workingDir','getTCGConfigFilePaths','fjANo','gAGde','HJgRc','283516tRtfuX','isEmpty','jest_browserstack.config.js','customSequencer.js','shouldProcessEventForTesthub','rHWJG','BSTACK_JEST_TEST_ENV','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','findIndex','mvYyO','Creating\x20','playwright','Getting\x20your\x20jest\x20configs\x20from\x20package.json','985806PEAgYE','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','qaRkP','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','testContextOptions','SpVee','child\x20process\x20exited\x20with\x20code\x20','../../helpers/testhub/utils','getInstance','mXqOS','qKunG','package.json','../utils/constants','env','../../helpers/test-observability/utils','jest-circus','child_process','filterBrowserstackArgs','accessibility','platforms','test-observability','unlinkSync','customCircus.js','errorMessage','existsSync','setupTCGAuth','data-hooks.js','@playwright/test','VlbxY','BROWSERSTACK_TEST_OBSERVABILITY_YML','proxySettings','elXTZ',',\x20CLI\x20running:\x20','../../helpers/accessibility-automation/helper','jest','platform','rmSync','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','getErrorMessageFromResults','atdES','Deleted\x20fail-fast\x20state\x20folder:\x20','DZthy','cjs','serial__','error','2544272jOzCGv','failureThresholdCount','error\x20removing\x20tcg\x20config\x20file','stop','ALqck','format','\x0amodule.exports\x20=\x20config;','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','isRunning','end','testEnvironmentOptions','Gceag','setupFilesAfterEnv','isUndefined','jest.setup.js','debug','json','--config','ZAylW','testObservability','requireModule','const\x20config=','../utils/clientTroubleshootingService','USER_CONFIG_DETAILS_PATH','isCLIEnabled','abortBuildOnFailure','vZSpR','requirePWModule','guEwr','turboScaleUrl','customEnvironment.js','handleApp','cZHtm'];a14_0x1b7c=function(){return _0x49011c;};return a14_0x1b7c();}function a14_0x48a5(_0xa62d18,_0x2b3759){const _0x1b7c34=a14_0x1b7c();return a14_0x48a5=function(_0x48a5ac,_0x226211){_0x48a5ac=_0x48a5ac-0x143;let _0x51db88=_0x1b7c34[_0x48a5ac];return _0x51db88;},a14_0x48a5(_0xa62d18,_0x2b3759);}const fs=require('fs'),path=require(a14_0x54d04c(0x1c7)),util=require(a14_0x54d04c(0x1ca)),{spawn}=require(a14_0x54d04c(0x14e)),logger=require('../../helpers/logger')[a14_0x54d04c(0x1a3)],{default:BrowserStackSetup}=require(a14_0x54d04c(0x1e4)),helper=require('../../helpers/helper'),utilities=require('../../helpers/utilities'),constants=require(a14_0x54d04c(0x14a)),accessibilityHelper=require(a14_0x54d04c(0x15f)),{updateTestRerunConfig}=require(a14_0x54d04c(0x195)),testOpsHelper=require(a14_0x54d04c(0x14c)),{debug}=require('../../helpers/test-observability/utils'),TestDetails=require(a14_0x54d04c(0x1c6)),{getPercyOptions}=require(a14_0x54d04c(0x1e8)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testhubUtils=require(a14_0x54d04c(0x145)),{FRAMEWORKS}=require(a14_0x54d04c(0x207)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a14_0x54d04c(0x200))[a14_0x54d04c(0x1ed)],TestOrchestrationHandler=require(a14_0x54d04c(0x1b6)),BrowserstackCLI=require(a14_0x54d04c(0x18c)),{checkPwandBootstrapCli}=require(a14_0x54d04c(0x1be)),ClientTroubleShootingService=require(a14_0x54d04c(0x181)),{checkAccessibilityPlatformConfig}=require(a14_0x54d04c(0x15f)),getUserJestConfigs=async(_0x212c98,_0x534a53)=>{const _0x48615a=a14_0x54d04c,_0x51b0b9={'kyDmc':'jest-config/build/readConfigFileAndSetRootDir.js','VhGea':'jest-config','qKunG':function(_0x223047,_0x574891){return _0x223047||_0x574891;},'HJgRc':function(_0x3b2dbb,_0x21a573){return _0x3b2dbb(_0x21a573);},'ortia':_0x48615a(0x149),'yhvqa':_0x48615a(0x220),'Aluxn':_0x48615a(0x1c0),'wexls':_0x48615a(0x168),'ALqck':_0x48615a(0x17b)},_0xae0c94=helper[_0x48615a(0x17f)](_0x51b0b9['kyDmc'],_0x51b0b9['VhGea']),_0xe2ef57=_0x534a53[_0x48615a(0x21c)](_0x59f76f=>_0x59f76f===_0x48615a(0x17c));if(!helper[_0x48615a(0x178)](_0x212c98[_0x48615a(0x1cf)])){logger[_0x48615a(0x19f)](_0x48615a(0x1f7)+_0x212c98[_0x48615a(0x1cf)]),process[_0x48615a(0x14b)][_0x48615a(0x182)]=_0x212c98[_0x48615a(0x1cf)];const _0x500efe=await(0x0,_0xae0c94[_0x48615a(0x192)])(path['resolve'](_0x212c98['config']));return _0x534a53[_0x48615a(0x1fb)](_0xe2ef57,0x2),_0x51b0b9[_0x48615a(0x148)](_0x500efe,{});}const _0x10d04a=_0x51b0b9[_0x48615a(0x213)](require,path[_0x48615a(0x18f)](process[_0x48615a(0x1f8)](),_0x51b0b9[_0x48615a(0x1fc)]));if(_0x10d04a[_0x48615a(0x160)])return logger[_0x48615a(0x19f)](_0x51b0b9[_0x48615a(0x1ea)]),_0x10d04a[_0x48615a(0x160)];const _0x3a4dbf=['js',_0x51b0b9[_0x48615a(0x1d7)],_0x51b0b9[_0x48615a(0x1f6)],_0x51b0b9[_0x48615a(0x16f)],'ts'];for(const _0x128ae5 of _0x3a4dbf){const _0x106d39=path[_0x48615a(0x18f)](process[_0x48615a(0x1f8)](),_0x48615a(0x1f3)+_0x128ae5);if(fs[_0x48615a(0x156)](_0x106d39)){process[_0x48615a(0x14b)]['USER_CONFIG_DETAILS_PATH']=_0x106d39;const _0x4f9e1c=await(0x0,_0xae0c94[_0x48615a(0x192)])(_0x106d39);return _0x4f9e1c;}}return{};},getSerial=(_0x457ca5,_0x2bad58)=>{const _0x3c4d91=a14_0x54d04c,_0x2340f5={};_0x2340f5[_0x3c4d91(0x1dc)]=_0x3c4d91(0x1f2),_0x2340f5[_0x3c4d91(0x167)]=function(_0xf37586,_0x272a8a){return _0xf37586>_0x272a8a;},_0x2340f5[_0x3c4d91(0x143)]=function(_0x7ffa41,_0x3058b3){return _0x7ffa41>_0x3058b3;},_0x2340f5[_0x3c4d91(0x1ad)]=_0x3c4d91(0x1d0);const _0x3959b2=_0x2340f5;let _0x9ba05e=_0x3959b2[_0x3c4d91(0x1dc)];return _0x3959b2['DZthy'](_0x457ca5[_0x3c4d91(0x1af)],0x1)&&(!_0x2bad58[_0x3c4d91(0x1d6)]&&(helper[_0x3c4d91(0x178)](_0x2bad58['maxWorkers'])||_0x3959b2[_0x3c4d91(0x143)](_0x2bad58[_0x3c4d91(0x1a9)],0x1)))&&(_0x9ba05e=_0x3959b2[_0x3c4d91(0x1ad)]),_0x9ba05e;},getMaxWorkers=(_0x105519,_0x3ba30d,_0x312892)=>{const _0x3f6a90=a14_0x54d04c,_0x326146={'lycvV':function(_0x457de8,_0x42c95c){return _0x457de8(_0x42c95c);}};let _0x3265cc=0x1;if(!helper[_0x3f6a90(0x178)](_0x3ba30d[_0x3f6a90(0x1e2)]))_0x3265cc=_0x326146['lycvV'](parseInt,_0x3ba30d['parallelsPerPlatform']);else{if(!helper[_0x3f6a90(0x178)](_0x105519['maxWorkers']))_0x3265cc=_0x105519['maxWorkers'];else!helper['isUndefined'](_0x312892[_0x3f6a90(0x1a9)])&&(_0x3265cc=_0x312892[_0x3f6a90(0x1a9)]);}return _0x3265cc;};async function run(_0x259441,_0x2e42f2,_0x6d15e2){const _0x2cfee4=a14_0x54d04c,_0x1417cd={'guEwr':_0x2cfee4(0x16d),'LsNMx':_0x2cfee4(0x160),'ZAylW':function(_0x4f4cc6,_0x466b56){return _0x4f4cc6(_0x466b56);},'yCCDm':_0x2cfee4(0x159),'RUAWF':function(_0x516802,_0x822692,_0x9c9f73,_0x1f944e){return _0x516802(_0x822692,_0x9c9f73,_0x1f944e);},'QrbKC':function(_0x4558b3,_0x607044){return _0x4558b3!=_0x607044;},'rHWJG':'true','mXqOS':function(_0x5dc4b8,_0x499336,_0x37adcd){return _0x5dc4b8(_0x499336,_0x37adcd);},'QZIUX':'Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','Gceag':function(_0x4e0bf7,_0x21b27f){return _0x4e0bf7(_0x21b27f);},'vqvQz':_0x2cfee4(0x1d0),'qSDvC':function(_0x440cb2,_0x5496c1,_0x3bda7b){return _0x440cb2(_0x5496c1,_0x3bda7b);},'UAHif':function(_0x552959,_0x47e7eb,_0x401358,_0x571edd){return _0x552959(_0x47e7eb,_0x401358,_0x571edd);},'wPckd':function(_0x309e62,_0x7fd663){return _0x309e62*_0x7fd663;},'elXTZ':function(_0x418a95,_0x8452af){return _0x418a95===_0x8452af;},'oVjVS':_0x2cfee4(0x196),'xguou':_0x2cfee4(0x216),'QlyEx':_0x2cfee4(0x1ee),'mvYyO':_0x2cfee4(0x1cb),'Xyudw':'customTestRunner.js','rPlMm':_0x2cfee4(0x1a1),'CfMKA':_0x2cfee4(0x189),'EaRhQ':_0x2cfee4(0x179),'nmBoB':_0x2cfee4(0x217),'hfNkl':_0x2cfee4(0x163),'gAGde':_0x2cfee4(0x14d),'VlbxY':_0x2cfee4(0x152),'oxBal':_0x2cfee4(0x158),'BhElc':_0x2cfee4(0x154),'ljUUR':_0x2cfee4(0x1bb),'fjANo':_0x2cfee4(0x224),'bVxZK':_0x2cfee4(0x21f),'OXWEk':'Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','TVMxZ':'test.setup.js','UbcHb':_0x2cfee4(0x1f9),'JNXzh':_0x2cfee4(0x192),'rLwYi':function(_0x50739a,_0x269d91,_0x2a7981){return _0x50739a(_0x269d91,_0x2a7981);},'VhwED':'Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','wLdZJ':function(_0x1428da,_0xc6f1be){return _0x1428da>_0xc6f1be;},'atdES':_0x2cfee4(0x222),'vZSpR':'npx','VlFfQ':_0x2cfee4(0x17c),'vyMwb':function(_0x4d6d14,_0xe6fc89){return _0x4d6d14===_0xe6fc89;},'qaRkP':'win32','MADzr':'inherit','cZHtm':_0x2cfee4(0x1a4)},_0x34d6f9=helper[_0x2cfee4(0x20b)](_0x1417cd[_0x2cfee4(0x20e)]);global['__isPlaywrightInstalled']=!!_0x34d6f9;helper[_0x2cfee4(0x1b4)]()?(await _0x6d15e2[_0x2cfee4(0x1b2)](_0x259441),await helper[_0x2cfee4(0x18a)](_0x6d15e2[_0x2cfee4(0x1cf)])):await _0x6d15e2[_0x2cfee4(0x157)]();await _0x1417cd[_0x2cfee4(0x1c1)](checkPwandBootstrapCli,_0x34d6f9,constants[_0x2cfee4(0x1ce)][_0x2cfee4(0x1ac)],_0x6d15e2);if(!_0x6d15e2[_0x2cfee4(0x1cf)])return;_0x1417cd[_0x2cfee4(0x19a)](_0x6d15e2[_0x2cfee4(0x1cf)]['testObservability'],null)?process[_0x2cfee4(0x14b)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x6d15e2[_0x2cfee4(0x1cf)][_0x2cfee4(0x17e)]:process[_0x2cfee4(0x14b)][_0x2cfee4(0x15b)]=_0x1417cd[_0x2cfee4(0x219)];const _0x251ca4=new TestOrchestrationHandler(_0x6d15e2[_0x2cfee4(0x1cf)]),_0x482078=await _0x1417cd[_0x2cfee4(0x147)](getUserJestConfigs,_0x259441,_0x2e42f2);logger['info'](_0x1417cd['QZIUX']);const _0x4c1f83=Object['assign']({},_0x482078);_0x4c1f83[_0x2cfee4(0x175)]=Object[_0x2cfee4(0x1f4)]({},_0x4c1f83[_0x2cfee4(0x175)],{'server':helper[_0x2cfee4(0x1c5)](_0x6d15e2['config']),'environment':_0x482078[_0x2cfee4(0x1fd)]}),_0x4c1f83['testEnvironmentOptions'][_0x2cfee4(0x20c)]=_0x1417cd[_0x2cfee4(0x17d)](getPercyOptions,_0x6d15e2['config']);const _0x3400b4=helper[_0x2cfee4(0x1cc)](_0x6d15e2[_0x2cfee4(0x1cf)]);!helper[_0x2cfee4(0x178)](_0x6d15e2[_0x2cfee4(0x1cf)][_0x2cfee4(0x1db)])&&(process[_0x2cfee4(0x14b)][_0x2cfee4(0x1a8)]=JSON['stringify'](_0x6d15e2[_0x2cfee4(0x1cf)][_0x2cfee4(0x1db)]));if(!BrowserstackCLI[_0x2cfee4(0x146)]()[_0x2cfee4(0x173)]()){const _0xe56ccf=await TestHubHandler[_0x2cfee4(0x1b9)](FRAMEWORKS[_0x2cfee4(0x1ac)],_0x6d15e2);}const _0x358f5c=helper[_0x2cfee4(0x1a2)](_0x6d15e2[_0x2cfee4(0x1cf)],_0x3400b4,constants[_0x2cfee4(0x1ce)][_0x2cfee4(0x1ac)]);process[_0x2cfee4(0x14b)][_0x2cfee4(0x1e3)]=JSON['stringify'](_0x358f5c);let _0x49376e=_0x6d15e2[_0x2cfee4(0x1cf)][_0x2cfee4(0x150)];_0x49376e=_0x49376e||accessibilityHelper[_0x2cfee4(0x1d8)](_0x6d15e2[_0x2cfee4(0x1cf)]),process[_0x2cfee4(0x14b)][_0x2cfee4(0x1b0)]=_0x49376e,logger[_0x2cfee4(0x17a)](_0x2cfee4(0x1b8)+_0x49376e+_0x2cfee4(0x15e)+BrowserstackCLI[_0x2cfee4(0x146)]()['isRunning']());if(_0x34d6f9)try{const _0x3ce66a=_0x1417cd[_0x2cfee4(0x176)](checkAccessibilityPlatformConfig,_0x6d15e2[_0x2cfee4(0x1cf)]);process[_0x2cfee4(0x14b)][_0x2cfee4(0x172)]=_0x3ce66a?_0x1417cd['rHWJG']:_0x1417cd['vqvQz'],logger['debug'](_0x2cfee4(0x208)+_0x3ce66a+_0x2cfee4(0x1eb)+process[_0x2cfee4(0x14b)][_0x2cfee4(0x172)]);}catch(_0x54b104){logger[_0x2cfee4(0x17a)](_0x2cfee4(0x21b)+util[_0x2cfee4(0x170)](_0x54b104));}_0x4c1f83['testEnvironmentOptions']['capabilities']=_0x358f5c,_0x4c1f83[_0x2cfee4(0x175)][_0x2cfee4(0x169)]=_0x1417cd[_0x2cfee4(0x1a0)](getSerial,_0x358f5c,_0x259441),_0x4c1f83[_0x2cfee4(0x175)]['parallels__']=_0x1417cd[_0x2cfee4(0x1d3)](getMaxWorkers,_0x259441,_0x6d15e2['config'],_0x482078),_0x4c1f83[_0x2cfee4(0x175)][_0x2cfee4(0x15c)]=_0x6d15e2[_0x2cfee4(0x1cf)][_0x2cfee4(0x15c)],_0x4c1f83[_0x2cfee4(0x175)]['timeout__']=_0x1417cd[_0x2cfee4(0x209)](_0x259441[_0x2cfee4(0x1f1)],0x1)||0x1388,_0x4c1f83['testEnvironmentOptions'][_0x2cfee4(0x1e6)]=_0x6d15e2['config'][_0x2cfee4(0x225)]['skipSessionName'],_0x4c1f83[_0x2cfee4(0x175)][_0x2cfee4(0x20a)]=_0x6d15e2['config'][_0x2cfee4(0x225)][_0x2cfee4(0x20a)],_0x4c1f83['testEnvironmentOptions'][_0x2cfee4(0x1bf)]=_0x6d15e2[_0x2cfee4(0x1cf)]['logLevel'],_0x4c1f83[_0x2cfee4(0x175)][_0x2cfee4(0x188)]=_0x6d15e2[_0x2cfee4(0x1cf)][_0x2cfee4(0x188)],_0x4c1f83[_0x2cfee4(0x175)][_0x2cfee4(0x19c)]=_0x6d15e2[_0x2cfee4(0x1cf)][_0x2cfee4(0x151)];const _0x52c0c6=helper[_0x2cfee4(0x19b)](_0x6d15e2[_0x2cfee4(0x1cf)]);if(!helper[_0x2cfee4(0x215)](_0x52c0c6)){helper['isNotUndefined'](_0x52c0c6['retryTestsOnFailure'])&&(_0x4c1f83[_0x2cfee4(0x175)][_0x2cfee4(0x1f0)]=_0x52c0c6['retryTestsOnFailure'][_0x2cfee4(0x1c9)]);if(helper['isNotUndefined'](_0x52c0c6[_0x2cfee4(0x184)])&&helper[_0x2cfee4(0x191)](_0x52c0c6[_0x2cfee4(0x184)][_0x2cfee4(0x20f)])){const _0x109d42={};_0x109d42[_0x2cfee4(0x16c)]=_0x52c0c6['abortBuildOnFailure']['maxFailures'],_0x109d42[_0x2cfee4(0x20f)]=_0x52c0c6['abortBuildOnFailure'][_0x2cfee4(0x20f)],_0x4c1f83[_0x2cfee4(0x175)][_0x2cfee4(0x1ba)]=_0x109d42;}}let _0x3aa934='';_0x1417cd[_0x2cfee4(0x15d)](helper[_0x2cfee4(0x1ab)](),constants[_0x2cfee4(0x1cd)][_0x2cfee4(0x1c3)])?_0x3aa934=_0x1417cd[_0x2cfee4(0x1ff)]:_0x3aa934=_0x1417cd['xguou'];const _0xeb873e=_0x3aa934,_0x13bed9=path[_0x2cfee4(0x18f)](__dirname,_0x1417cd[_0x2cfee4(0x1c4)],_0x1417cd[_0x2cfee4(0x21d)]),_0x73f3a5=path['join'](__dirname,_0x1417cd['QlyEx'],_0x1417cd['Xyudw']),_0x5855d7=path['join'](__dirname,_0x1417cd[_0x2cfee4(0x1c4)],_0x1417cd[_0x2cfee4(0x1d5)]);_0x4c1f83[_0x2cfee4(0x1fd)]&&(process[_0x2cfee4(0x14b)][_0x2cfee4(0x21a)]=_0x4c1f83[_0x2cfee4(0x1fd)]);_0x4c1f83[_0x2cfee4(0x1fd)]=path[_0x2cfee4(0x18f)](__dirname,_0x1417cd['QlyEx'],_0x1417cd[_0x2cfee4(0x1df)]),_0x4c1f83[_0x2cfee4(0x1d1)]=_0x73f3a5,_0x4c1f83[_0x2cfee4(0x177)]=_0x4c1f83[_0x2cfee4(0x177)]||[],_0x4c1f83['setupFilesAfterEnv'][_0x2cfee4(0x1ae)](path[_0x2cfee4(0x18f)](__dirname,_0x1417cd['EaRhQ']));_0x251ca4['isTestOrchestrationEnabled']()&&(_0x4c1f83[_0x2cfee4(0x1d2)]=path['join'](__dirname,_0x1417cd[_0x2cfee4(0x1c4)],_0x1417cd[_0x2cfee4(0x1ef)]));if(testhubUtils[_0x2cfee4(0x218)]()){let _0x1b2d81=null;try{_0x1b2d81=helper[_0x2cfee4(0x17f)](_0x1417cd['hfNkl'],_0x1417cd[_0x2cfee4(0x212)]);}catch(_0x4dc026){_0x1417cd[_0x2cfee4(0x17d)](debug,_0x2cfee4(0x1d9)+_0x4dc026);}_0x1b2d81&&(_0x4c1f83[_0x2cfee4(0x177)][_0x2cfee4(0x1ae)](path[_0x2cfee4(0x18f)](__dirname,_0x1417cd[_0x2cfee4(0x15a)],_0x1417cd['oxBal'])),_0x4c1f83['testRunner']=path['join'](__dirname,_0x1417cd[_0x2cfee4(0x1c4)],_0x1417cd[_0x2cfee4(0x1e0)]));}_0x4c1f83['setupFiles']=_0x4c1f83[_0x2cfee4(0x1bd)]||[];try{helper[_0x2cfee4(0x1de)](),_0x4c1f83[_0x2cfee4(0x1bd)][_0x2cfee4(0x1ae)](path[_0x2cfee4(0x18f)](__dirname,_0x1417cd['ljUUR']));}catch{logger[_0x2cfee4(0x17a)](_0x1417cd[_0x2cfee4(0x211)]);}try{helper[_0x2cfee4(0x186)]['apply'](null,[_0x1417cd['yCCDm'],_0x1417cd['bVxZK']]),logger[_0x2cfee4(0x17a)](_0x1417cd[_0x2cfee4(0x193)]),_0x4c1f83[_0x2cfee4(0x1bd)]['push'](path[_0x2cfee4(0x18f)](__dirname,_0x1417cd[_0x2cfee4(0x199)]));}catch(_0x25bd0a){logger[_0x2cfee4(0x17a)](_0x1417cd['UbcHb'],_0x25bd0a);}_0x4c1f83[_0x2cfee4(0x202)]=_0x4c1f83[_0x2cfee4(0x202)]||[_0x1417cd[_0x2cfee4(0x201)]],_0x1417cd[_0x2cfee4(0x18e)](updateTestRerunConfig,_0x4c1f83,_0x6d15e2);const _0x450042=fs['readFileSync'](_0x5855d7);fs[_0x2cfee4(0x1d4)](_0x4c1f83[_0x2cfee4(0x1d1)],_0x2cfee4(0x1c2)+_0x450042+_0x2cfee4(0x198)+_0x6d15e2[_0x2cfee4(0x1cf)][_0x2cfee4(0x151)][_0x2cfee4(0x1af)]+_0x2cfee4(0x19e)),logger['info'](_0x2cfee4(0x21e)+_0xeb873e+_0x2cfee4(0x1a5)),fs[_0x2cfee4(0x1d4)](_0xeb873e,_0x2cfee4(0x180)+JSON['stringify'](_0x4c1f83)+_0x2cfee4(0x171));if(_0x251ca4[_0x2cfee4(0x20d)]()){logger['debug'](_0x1417cd[_0x2cfee4(0x1fa)]);const _0xd3b8a3=await _0x251ca4[_0x2cfee4(0x1e1)](_0x4c1f83,_0x2e42f2[_0x2cfee4(0x1ec)](0x1),_0xeb873e);logger[_0x2cfee4(0x17a)](_0x2cfee4(0x1a6)+JSON[_0x2cfee4(0x19d)](_0xd3b8a3)+'\x20test\x20files\x20to\x20run.');const _0x3c27fc=await _0x251ca4['reorderTestFiles'](_0xd3b8a3);logger[_0x2cfee4(0x17a)]('Reodered\x20Test\x20Files:\x20'+JSON[_0x2cfee4(0x19d)](_0x3c27fc)),_0x3c27fc&&_0x1417cd['wLdZJ'](_0x3c27fc['length'],0x0)&&(process[_0x2cfee4(0x14b)]['JEST_TEST_ORDER']=_0x3c27fc?.[_0x2cfee4(0x18f)](','));}logger[_0x2cfee4(0x19f)](_0x1417cd[_0x2cfee4(0x165)]);testhubUtils[_0x2cfee4(0x218)]()&&TestDetails[_0x2cfee4(0x1b7)]();helper[_0x2cfee4(0x14f)]({},_0x2e42f2),PerformanceTester[_0x2cfee4(0x174)](PerformanceEvents[_0x2cfee4(0x1b1)]);const _0x21e627=_0x1417cd[_0x2cfee4(0x1c1)](spawn,_0x1417cd[_0x2cfee4(0x185)],[_0x1417cd[_0x2cfee4(0x1a7)],_0x1417cd[_0x2cfee4(0x1c8)],_0xeb873e,..._0x2e42f2[_0x2cfee4(0x1ec)](0x1)],{'shell':_0x1417cd[_0x2cfee4(0x1b5)](process[_0x2cfee4(0x161)],_0x1417cd[_0x2cfee4(0x223)]),'stdio':_0x1417cd[_0x2cfee4(0x1bc)],'env':Object['assign']({},process['env'])});_0x21e627['on'](_0x1417cd[_0x2cfee4(0x18b)],async _0x51470a=>{const _0x5c6735=_0x2cfee4;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']);try{const {browserstackFolderPath:_0x896503,tcgConfigPath:_0x101518}=helper[_0x5c6735(0x210)]();fs[_0x5c6735(0x153)](_0x101518),fs['rmdirSync'](_0x896503);}catch(_0xd3ccad){logger[_0x5c6735(0x17a)](_0x1417cd[_0x5c6735(0x187)],_0xd3ccad);}process[_0x5c6735(0x203)]=_0x51470a,logger[_0x5c6735(0x17a)](_0x5c6735(0x144)+_0x51470a),logger[_0x5c6735(0x19f)](_0x5c6735(0x197)+_0xeb873e);if(helper[_0x5c6735(0x191)](_0x52c0c6)&&helper[_0x5c6735(0x191)](_0x52c0c6['abortBuildOnFailure'])&&fs[_0x5c6735(0x156)](_0x52c0c6[_0x5c6735(0x184)][_0x5c6735(0x20f)]))try{const _0x5e1556={};_0x5e1556[_0x5c6735(0x1e7)]=!![],_0x5e1556[_0x5c6735(0x206)]=!![],fs[_0x5c6735(0x162)](_0x52c0c6['abortBuildOnFailure'][_0x5c6735(0x20f)],_0x5e1556),logger[_0x5c6735(0x17a)](_0x5c6735(0x166)+_0x52c0c6[_0x5c6735(0x184)][_0x5c6735(0x20f)]);}catch(_0x2f23d4){logger[_0x5c6735(0x16a)](_0x5c6735(0x194)+_0x2f23d4);}let _0x4f4dc9=null;if(fs[_0x5c6735(0x156)](_0x13bed9)){_0x4f4dc9=fs[_0x5c6735(0x1f5)](_0x13bed9);try{_0x4f4dc9=JSON[_0x5c6735(0x1b3)](_0x4f4dc9);}catch(_0x316296){logger[_0x5c6735(0x17a)]('Error\x20while\x20parsing\x20'+_0x13bed9+',\x20'+_0x4f4dc9+_0x5c6735(0x1aa)+_0x316296);}fs[_0x5c6735(0x153)](_0x13bed9);}fs[_0x5c6735(0x153)](_0xeb873e),fs[_0x5c6735(0x153)](_0x73f3a5),_0x4f4dc9&&(_0x6d15e2[_0x5c6735(0x155)]=helper[_0x5c6735(0x164)](_0x4f4dc9,_0x1417cd[_0x5c6735(0x1a7)],_0x6d15e2));const _0x16ccea=BrowserstackCLI[_0x5c6735(0x183)]();try{await TestHubHandler['stop'](),await BrowserstackCLI['getInstance']()[_0x5c6735(0x16e)]();}catch(_0x5c51c0){console[_0x5c6735(0x1dd)](_0x5c51c0),_0x1417cd[_0x5c6735(0x17d)](debug,_0x5c6735(0x1e5)+util[_0x5c6735(0x170)](_0x5c51c0));}testOpsHelper[_0x5c6735(0x1da)](),TestDetails['shutdown'](),await utilities['finalExecution'](_0x6d15e2,_0x16ccea);});}module[a14_0x54d04c(0x18d)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a15_0x3aca(){const _0x115d42=['initRequireModule','includes','7MFYbFD','1342DKGOOI','505464FrlTWV','25qZJHXB','1nvMkId','193383aEaKtc','6907408Xyrnyx','QFNTo','2284tEhMnQ','requireInternalModule','function','97728twhhDv','path','3090945NBAnuj','1724454tTKwVh','exports','240WZjvuR','yrcUJ','jest-circus','default','../../../helpers/helper','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','join'];a15_0x3aca=function(){return _0x115d42;};return a15_0x3aca();}const a15_0x519fec=a15_0x297b;(function(_0x192af2,_0x29f794){const _0x7bd713=a15_0x297b,_0x5befb4=_0x192af2();while(!![]){try{const _0x35ad0e=parseInt(_0x7bd713(0x95))/0x1*(parseInt(_0x7bd713(0x80))/0x2)+parseInt(_0x7bd713(0x85))/0x3+-parseInt(_0x7bd713(0x93))/0x4*(-parseInt(_0x7bd713(0x94))/0x5)+parseInt(_0x7bd713(0x86))/0x6*(parseInt(_0x7bd713(0x91))/0x7)+-parseInt(_0x7bd713(0x97))/0x8+parseInt(_0x7bd713(0x96))/0x9*(parseInt(_0x7bd713(0x88))/0xa)+-parseInt(_0x7bd713(0x92))/0xb*(parseInt(_0x7bd713(0x83))/0xc);if(_0x35ad0e===_0x29f794)break;else _0x5befb4['push'](_0x5befb4['shift']());}catch(_0x5df44d){_0x5befb4['push'](_0x5befb4['shift']());}}}(a15_0x3aca,0x94c6e));const path=require(a15_0x519fec(0x84)),{requireModule}=require(a15_0x519fec(0x8c));let initJestAdapter=requireModule(a15_0x519fec(0x8d),a15_0x519fec(0x8a));function a15_0x297b(_0x361f2f,_0x25c7ac){const _0x3acad5=a15_0x3aca();return a15_0x297b=function(_0x297b20,_0x272b04){_0x297b20=_0x297b20-0x7f;let _0xeba9f8=_0x3acad5[_0x297b20];return _0xeba9f8;},a15_0x297b(_0x361f2f,_0x25c7ac);}initJestAdapter=typeof initJestAdapter===a15_0x519fec(0x82)?initJestAdapter:initJestAdapter[a15_0x519fec(0x8b)];const FRAMEWORK_INITIALIZER=path[a15_0x519fec(0x8e)](__dirname,'customJestAdapterInit.js');module[a15_0x519fec(0x87)]=(..._0x134cf4)=>{const _0x1d607d=a15_0x519fec,_0x2d7397={'YUiAQ':'jestAdapterInit','QFNTo':function(_0x498237,_0x1a3ac3){return _0x498237===_0x1a3ac3;},'yrcUJ':function(_0x544528,..._0x4fea2b){return _0x544528(..._0x4fea2b);}};return _0x134cf4[0x3]['initRequireModule']=_0x134cf4[0x3][_0x1d607d(0x81)],_0x134cf4[0x3][_0x1d607d(0x81)]=(..._0x3c9e30)=>{const _0x345faf=_0x1d607d;if(_0x3c9e30[0x0]&&_0x3c9e30[0x0][_0x345faf(0x90)](_0x2d7397['YUiAQ'])&&_0x2d7397[_0x345faf(0x7f)](_0x3c9e30[0x1],undefined))return _0x134cf4[0x3][_0x345faf(0x8f)](FRAMEWORK_INITIALIZER);return _0x134cf4[0x3]['initRequireModule'](..._0x3c9e30);},_0x2d7397[_0x1d607d(0x89)](initJestAdapter,..._0x134cf4);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a16_0x34d009=a16_0x4b49;(function(_0x1d7aff,_0xd4d4dc){const _0x19418b=a16_0x4b49,_0x4354a6=_0x1d7aff();while(!![]){try{const _0x5952c0=-parseInt(_0x19418b(0x152))/0x1*(parseInt(_0x19418b(0x130))/0x2)+parseInt(_0x19418b(0x147))/0x3*(-parseInt(_0x19418b(0x14b))/0x4)+-parseInt(_0x19418b(0x13c))/0x5*(-parseInt(_0x19418b(0x149))/0x6)+parseInt(_0x19418b(0x11b))/0x7+parseInt(_0x19418b(0x161))/0x8*(parseInt(_0x19418b(0x17c))/0x9)+parseInt(_0x19418b(0x17d))/0xa*(parseInt(_0x19418b(0x11e))/0xb)+parseInt(_0x19418b(0x119))/0xc;if(_0x5952c0===_0xd4d4dc)break;else _0x4354a6['push'](_0x4354a6['shift']());}catch(_0x4ff5d7){_0x4354a6['push'](_0x4354a6['shift']());}}}(a16_0x1cad,0x24d49));function a16_0x4b49(_0x2e3d7c,_0x10046c){const _0x1cadf0=a16_0x1cad();return a16_0x4b49=function(_0x4b4948,_0x24c4fc){_0x4b4948=_0x4b4948-0x10d;let _0x2828c1=_0x1cadf0[_0x4b4948];return _0x2828c1;},a16_0x4b49(_0x2e3d7c,_0x10046c);}const helper=require(a16_0x34d009(0x135)),constants=require('../../utils/constants'),{isTestObservabilitySession}=require(a16_0x34d009(0x155)),RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),ObservabilityReporter=require(a16_0x34d009(0x121)),testhubUtils=require(a16_0x34d009(0x16e)),logger=require('../../../helpers/logger')['winstonLogger'],getTestEnvironment=((()=>{const _0x537bfb=a16_0x34d009,_0x18bf34={};_0x18bf34[_0x537bfb(0x165)]=_0x537bfb(0x15b),_0x18bf34[_0x537bfb(0x15f)]=_0x537bfb(0x14e);const _0x283f18=_0x18bf34;try{const _0x18c341=helper[_0x537bfb(0x127)](_0x283f18[_0x537bfb(0x165)]);if(_0x18c341[_0x537bfb(0x15e)])return _0x18c341[_0x537bfb(0x15e)];const _0x1e6549=helper[_0x537bfb(0x127)](_0x283f18[_0x537bfb(0x15f)]);if(_0x1e6549['getTestEnvironment'])return _0x1e6549[_0x537bfb(0x13d)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x234613=a16_0x34d009,_0x4b27d5={'FHUCd':function(_0xf78f57,_0x2d4114){return _0xf78f57(_0x2d4114);},'xYvdW':_0x234613(0x133),'VXQFY':'jest-environment-node'},_0x2095e4=_0x4b27d5[_0x234613(0x111)](getTestEnvironment,{'rootDir':process[_0x234613(0x145)](),'testEnvironment':process[_0x234613(0x117)][_0x234613(0x169)]||_0x4b27d5[_0x234613(0x122)]});if(!_0x2095e4)return _0x4b27d5['FHUCd'](_interopRequireDefault,helper['requireModule'](_0x4b27d5[_0x234613(0x14d)]));return _0x4b27d5[_0x234613(0x111)](_interopRequireDefault,helper[_0x234613(0x127)](_0x2095e4));})()),_seleniumWebdriver2=((()=>{const _0x5ad063=a16_0x34d009,_0x36bde1={'KiEmA':function(_0xdaf1b7,_0x138753){return _0xdaf1b7(_0x138753);}};try{const _0x1bf79f=helper[_0x5ad063(0x11a)]();return helper[_0x5ad063(0x12b)](),_0x36bde1[_0x5ad063(0x17b)](_interopRequireDefault,_0x1bf79f);}catch{return null;}})());function _interopRequireDefault(_0x5c776c){const _0x242ae0=a16_0x34d009;return _0x5c776c&&_0x5c776c[_0x242ae0(0x115)]?_0x5c776c:{'default':_0x5c776c};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a16_0x34d009(0x15c)][a16_0x34d009(0x17f)]:null;class CustomEnvironment extends _jestUserEnvironment[a16_0x34d009(0x15c)]{constructor(_0x2181a9){const _0xc8cb1d=a16_0x34d009,_0x593fa0={'gIxkk':_0xc8cb1d(0x118),'EWTWc':function(_0x4de229,_0x26c222){return _0x4de229+_0x26c222;},'XywOR':'bstack:options','NDetQ':function(_0x538f63,_0x382387){return _0x538f63(_0x382387);},'WZiFi':_0xc8cb1d(0x181),'qansi':_0xc8cb1d(0x162),'pDqbv':_0xc8cb1d(0x184),'lUpzV':_0xc8cb1d(0x157),'IGYVU':_0xc8cb1d(0x16a),'gvyBz':_0xc8cb1d(0x159),'pyiuf':function(_0x2ffaa7,_0x2efbb8){return _0x2ffaa7(_0x2efbb8);},'uIxUj':_0xc8cb1d(0x13e),'kNjAf':_0xc8cb1d(0x167)};super(_0x2181a9),this[_0xc8cb1d(0x171)]['__timeout']=0x0,this[_0xc8cb1d(0x12c)]={};!_0x2181a9[_0xc8cb1d(0x184)]&&(_0x2181a9[_0xc8cb1d(0x184)]={});if(helper['isBrowserstackInfra']()){_0x2181a9[_0xc8cb1d(0x184)]=_0x2181a9[_0xc8cb1d(0x140)]?_0x2181a9[_0xc8cb1d(0x140)][_0xc8cb1d(0x184)]:_0x2181a9['testEnvironmentOptions'];_seleniumWebdriver2&&(this[_0xc8cb1d(0x177)]=new _seleniumWebdriver2[(_0xc8cb1d(0x15c))]['Builder']());this[_0xc8cb1d(0x16f)]=_0x2181a9[_0xc8cb1d(0x140)]?_0x2181a9[_0xc8cb1d(0x140)][_0xc8cb1d(0x16f)]:_0x2181a9['capability'],this['global'][_0xc8cb1d(0x15a)]=_0x593fa0[_0xc8cb1d(0x173)](_0x2181a9[_0xc8cb1d(0x184)]['timeout__']||0x1388,constants['BSTACK_DELTA']),this[_0xc8cb1d(0x123)]=_0x2181a9[_0xc8cb1d(0x184)]['failFast'];if(this['failFastOptions']){const _0x5944ab=this[_0xc8cb1d(0x16f)][_0x593fa0[_0xc8cb1d(0x17e)]]?.[_0xc8cb1d(0x11d)]||'',_0x455124=this[_0xc8cb1d(0x16f)][_0x593fa0[_0xc8cb1d(0x17e)]]?.[_0xc8cb1d(0x136)]||'';this['failFast']=new(_0x593fa0[_0xc8cb1d(0x178)](require,_0x593fa0[_0xc8cb1d(0x158)]))(this[_0xc8cb1d(0x123)],_0x5944ab,_0x455124),this[_0xc8cb1d(0x171)]['failFastActive']=![];}helper[_0xc8cb1d(0x183)](_0x2181a9[_0xc8cb1d(0x184)][_0xc8cb1d(0x10d)])&&(this[_0xc8cb1d(0x171)]['__jestRetries']=_0x2181a9[_0xc8cb1d(0x184)][_0xc8cb1d(0x10d)]);}if(testhubUtils['shouldProcessEventForTesthub']()){const _0x52c162=new ObservabilityReporter();_0x52c162['registerListeners']();}this['global'][_0xc8cb1d(0x13b)]={},this[_0xc8cb1d(0x12c)]=_0x2181a9[_0xc8cb1d(0x184)],this[_0xc8cb1d(0x12c)][_0xc8cb1d(0x10e)]=constants[_0xc8cb1d(0x13f)][_0xc8cb1d(0x12a)],this[_0xc8cb1d(0x171)]['browserstackPlatformIndex']=(_0x2181a9[_0xc8cb1d(0x140)]?_0x2181a9[_0xc8cb1d(0x140)][_0xc8cb1d(0x172)]:_0x2181a9['browserstackPlatformIndex'])||0x0,this[_0xc8cb1d(0x171)]['__platformCaps']=this[_0xc8cb1d(0x12c)]&&this[_0xc8cb1d(0x12c)]['platformCaps']&&Array[_0xc8cb1d(0x154)](this[_0xc8cb1d(0x12c)][_0xc8cb1d(0x180)])&&this['configuration'][_0xc8cb1d(0x180)][this[_0xc8cb1d(0x171)]['browserstackPlatformIndex']]||{};const _0x48251a=this[_0xc8cb1d(0x171)][_0xc8cb1d(0x172)],_0x2d56c5={...this[_0xc8cb1d(0x12c)],'capability':this[_0xc8cb1d(0x12c)][_0xc8cb1d(0x128)]&&Array['isArray'](this[_0xc8cb1d(0x12c)][_0xc8cb1d(0x128)])&&this['configuration'][_0xc8cb1d(0x128)][_0x48251a]||{},'platformCaps':this[_0xc8cb1d(0x12c)][_0xc8cb1d(0x180)]&&Array['isArray'](this[_0xc8cb1d(0x12c)][_0xc8cb1d(0x180)])&&this[_0xc8cb1d(0x12c)]['platformCaps'][_0x48251a]||{}};delete _0x2d56c5[_0xc8cb1d(0x128)],this[_0xc8cb1d(0x171)][_0xc8cb1d(0x176)]=_0x2d56c5;if(_seleniumWebdriver2){const _0x3fdd1e=_0x593fa0[_0xc8cb1d(0x116)][_0xc8cb1d(0x163)]('|');let _0x3c12f0=0x0;while(!![]){switch(_0x3fdd1e[_0x3c12f0++]){case'0':this[_0xc8cb1d(0x171)][_0xc8cb1d(0x15d)]=helper['isTrue'](this[_0xc8cb1d(0x12c)][_0xc8cb1d(0x160)]);continue;case'1':this[_0xc8cb1d(0x171)][_0xc8cb1d(0x16a)]=helper[_0xc8cb1d(0x11f)](_0x2181a9,[_0x593fa0['pDqbv'],_0x593fa0['lUpzV'],_0x593fa0[_0xc8cb1d(0x14c)]]);continue;case'2':this['global'][_0xc8cb1d(0x174)]=async()=>{const _0x5cfb97=_0xc8cb1d;await this[_0x5cfb97(0x171)][_0x5cfb97(0x141)]['quit'](_0x593fa0[_0x5cfb97(0x16b)]);};continue;case'3':this['global']['percyCaptureMode']=helper[_0xc8cb1d(0x11f)](_0x2181a9,[_0x593fa0[_0xc8cb1d(0x16d)],_0x593fa0[_0xc8cb1d(0x129)],_0x593fa0['gvyBz']]);continue;case'4':helper[_0xc8cb1d(0x151)](this['configuration'][_0xc8cb1d(0x179)])?this[_0xc8cb1d(0x171)][_0xc8cb1d(0x112)]=!![]:this['global'][_0xc8cb1d(0x112)]=![];continue;case'5':this[_0xc8cb1d(0x171)][_0xc8cb1d(0x131)]=_0x593fa0[_0xc8cb1d(0x164)](require,_0x593fa0[_0xc8cb1d(0x146)])[_0xc8cb1d(0x142)]({...this[_0xc8cb1d(0x12c)],'capability':this[_0xc8cb1d(0x16f)]||{}},this,testhubUtils['shouldProcessEventForTesthub']());continue;case'6':this[_0xc8cb1d(0x171)][_0xc8cb1d(0x167)]=helper[_0xc8cb1d(0x11f)](_0x2181a9,[_0x593fa0[_0xc8cb1d(0x16d)],_0x593fa0[_0xc8cb1d(0x129)],_0x593fa0['kNjAf']]);continue;case'7':this[_0xc8cb1d(0x171)][_0xc8cb1d(0x12e)]=[];continue;}break;}}}async[a16_0x34d009(0x182)](){const _0x38191f=a16_0x34d009;_seleniumWebdriver2&&(await helper['cleanupDrivers'](this['global'][_0x38191f(0x126)]),this['global'][_0x38191f(0x131)][_0x38191f(0x17f)]=originalBuilder),await RequestQueueHandler[_0x38191f(0x138)]()['shutdown']();}async[a16_0x34d009(0x17a)](){}async['handleTestEvent'](_0x3c8928,_0x5531da){const _0x480a01=a16_0x34d009,_0x158eb2={};_0x158eb2['fbGVs']=function(_0x4a8527,_0x48ef06){return _0x4a8527===_0x48ef06;},_0x158eb2[_0x480a01(0x132)]=_0x480a01(0x134),_0x158eb2['cdOVN']=function(_0x28482a,_0x5a28b2){return _0x28482a===_0x5a28b2;},_0x158eb2['kbsOM']=_0x480a01(0x12d),_0x158eb2[_0x480a01(0x156)]=function(_0xabafac,_0x2a13f1){return _0xabafac===_0x2a13f1;},_0x158eb2[_0x480a01(0x110)]=_0x480a01(0x166),_0x158eb2[_0x480a01(0x14a)]=_0x480a01(0x14f),_0x158eb2[_0x480a01(0x153)]=function(_0x149723,_0x58ef46){return _0x149723===_0x58ef46;},_0x158eb2[_0x480a01(0x139)]=_0x480a01(0x150),_0x158eb2[_0x480a01(0x144)]=_0x480a01(0x182);const _0x5eef55=_0x158eb2,{name:_0x256635}=_0x3c8928;if(_0x5eef55[_0x480a01(0x16c)](_0x256635,_0x5eef55[_0x480a01(0x132)])){this[_0x480a01(0x171)][_0x480a01(0x143)]=_0x3c8928['test'];if(_0x5eef55[_0x480a01(0x12f)](this[_0x480a01(0x171)]['failFastActive'],!![])){const _0x26fcae=_0x3c8928['test']['name'];logger[_0x480a01(0x10f)](_0x480a01(0x175)+_0x26fcae),_0x3c8928['test'][_0x480a01(0x124)]=_0x5eef55['kbsOM'];}}if(this[_0x480a01(0x13a)]&&_0x5eef55[_0x480a01(0x156)](_0x256635,_0x5eef55[_0x480a01(0x110)]))try{const _0x875953=_0x3c8928[_0x480a01(0x114)][_0x480a01(0x11c)][_0x480a01(0x125)](_0x5eef55[_0x480a01(0x14a)]),_0x2b41aa=_0x3c8928[_0x480a01(0x114)][_0x480a01(0x113)];await this[_0x480a01(0x13a)][_0x480a01(0x120)](_0x875953,_0x2b41aa);const _0x46f765=await this[_0x480a01(0x13a)]['shouldFailFast']();_0x5eef55[_0x480a01(0x16c)](this['global'][_0x480a01(0x137)],![])&&_0x5eef55[_0x480a01(0x153)](_0x46f765,!![])&&(this[_0x480a01(0x171)]['failFastActive']=!![]);}catch(_0x4f0206){logger[_0x480a01(0x170)](_0x5eef55[_0x480a01(0x139)],_0x4f0206[_0x480a01(0x148)]);}_0x5eef55[_0x480a01(0x12f)](_0x256635,_0x5eef55[_0x480a01(0x144)])&&(this[_0x480a01(0x13a)]&&this['failFast'][_0x480a01(0x174)]());}}function a16_0x1cad(){const _0x33fd5c=['1738nNkNJt','__webdriver','xrcxZ','node','test_start','../../../helpers/helper','projectName','failFastActive','getInstance','uHmxW','failFast','browserStackGlobals','5eVDVFf','getTestEnvironment','../../../index','FRAMEWORKS','projectConfig','driver','browserstackAgentV2','testContext','FfXSf','cwd','uIxUj','84957GlkZHv','message','155226CJtKgE','fhLyO','40XeRknK','IGYVU','VXQFY','jest-config','\x20>\x20','Error\x20in\x20fail-fast\x20test_done\x20handler:','isTrue','71vLufpp','IXFvS','isArray','../../../helpers/test-observability/utils','GyPlF','browserStackPercyOptions','WZiFi','percyCaptureMode','__timeout','jest-resolve','default','__skipSessionStatus','resolveTestEnvironment','cyYJF','skipSessionStatus','710264DXfuRV','7|5|6|1|3|4|0|2','split','pyiuf','fCQPC','test_done','browserstackPercyBestPlatform','exports','BSTACK_JEST_TEST_ENV','percy','gIxkk','fbGVs','pDqbv','../../../helpers/testhub/utils','capability','debug','global','browserstackPlatformIndex','EWTWc','cleanup','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','jestConfig','builder','NDetQ','skipSessionName','setup','KiEmA','9EOSJQY','27790OSCbdD','XywOR','Builder','platformCaps','../../../helpers/test-orchestration/failfastManager','teardown','isNotUndefined','testEnvironmentOptions','retries__','framework','info','fNmpw','FHUCd','sessionNameProvided','errors','test','__esModule','qansi','env','quit','844956zzibiJ','requireSeleniumWebdriver','1104838vATXLO','testPath','buildName','605QpVXiF','nestedKeyValue','onTestDone','../test-observability/obsReporter','xYvdW','failFastOptions','mode','join','__driversArray','requireModule','capabilities','lUpzV','JEST','modifyCommand','configuration','skip','__drivers','cdOVN'];a16_0x1cad=function(){return _0x33fd5c;};return a16_0x1cad();}module[a16_0x34d009(0x168)]=CustomEnvironment;
|
|
1
|
+
const a16_0xf92b72=a16_0x2e86;(function(_0x540d67,_0x4aa091){const _0x4ae575=a16_0x2e86,_0x44b5ff=_0x540d67();while(!![]){try{const _0x43cabf=parseInt(_0x4ae575(0x156))/0x1+-parseInt(_0x4ae575(0x15b))/0x2+-parseInt(_0x4ae575(0x154))/0x3*(-parseInt(_0x4ae575(0x142))/0x4)+-parseInt(_0x4ae575(0x173))/0x5*(-parseInt(_0x4ae575(0x148))/0x6)+parseInt(_0x4ae575(0x198))/0x7*(parseInt(_0x4ae575(0x163))/0x8)+parseInt(_0x4ae575(0x18a))/0x9+-parseInt(_0x4ae575(0x199))/0xa;if(_0x43cabf===_0x4aa091)break;else _0x44b5ff['push'](_0x44b5ff['shift']());}catch(_0x304821){_0x44b5ff['push'](_0x44b5ff['shift']());}}}(a16_0x1e31,0xd9444));const helper=require(a16_0xf92b72(0x19b)),constants=require(a16_0xf92b72(0x17d)),{isTestObservabilitySession}=require(a16_0xf92b72(0x17f)),RequestQueueHandler=require(a16_0xf92b72(0x14c)),ObservabilityReporter=require(a16_0xf92b72(0x16b)),testhubUtils=require(a16_0xf92b72(0x15a)),logger=require(a16_0xf92b72(0x186))[a16_0xf92b72(0x184)],getTestEnvironment=((()=>{const _0x3f1cf7=a16_0xf92b72,_0x545196={};_0x545196[_0x3f1cf7(0x19d)]='jest-resolve',_0x545196[_0x3f1cf7(0x181)]=_0x3f1cf7(0x175);const _0x44f520=_0x545196;try{const _0x1d9f25=helper[_0x3f1cf7(0x17a)](_0x44f520[_0x3f1cf7(0x19d)]);if(_0x1d9f25[_0x3f1cf7(0x18e)])return _0x1d9f25[_0x3f1cf7(0x18e)];const _0x194057=helper['requireModule'](_0x44f520['bjqsu']);if(_0x194057[_0x3f1cf7(0x14b)])return _0x194057['getTestEnvironment'];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x481953=a16_0xf92b72,_0x171b04={'xuBxe':function(_0x20ecba,_0x5a57de){return _0x20ecba(_0x5a57de);},'NkMjR':_0x481953(0x16a),'HJOhn':function(_0xa3b2ae,_0x4b1032){return _0xa3b2ae(_0x4b1032);},'oCutt':_0x481953(0x197)},_0x2d858c=_0x171b04['xuBxe'](getTestEnvironment,{'rootDir':process[_0x481953(0x16c)](),'testEnvironment':process[_0x481953(0x166)][_0x481953(0x13d)]||_0x171b04['NkMjR']});if(!_0x2d858c)return _0x171b04['HJOhn'](_interopRequireDefault,helper[_0x481953(0x17a)](_0x171b04[_0x481953(0x162)]));return _0x171b04[_0x481953(0x149)](_interopRequireDefault,helper['requireModule'](_0x2d858c));})()),_seleniumWebdriver2=((()=>{const _0x3f940e=a16_0xf92b72,_0x3acaa2={'rfGcq':function(_0x542340,_0xd42123){return _0x542340(_0xd42123);}};try{const _0x5bb6ca=helper[_0x3f940e(0x176)]();return helper[_0x3f940e(0x13a)](),_0x3acaa2[_0x3f940e(0x193)](_interopRequireDefault,_0x5bb6ca);}catch{return null;}})());function _interopRequireDefault(_0x4b1f17){const _0x538f98=a16_0xf92b72;return _0x4b1f17&&_0x4b1f17[_0x538f98(0x169)]?_0x4b1f17:{'default':_0x4b1f17};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a16_0xf92b72(0x138)][a16_0xf92b72(0x13c)]:null;function a16_0x2e86(_0x3286c3,_0x828b52){const _0x1e314b=a16_0x1e31();return a16_0x2e86=function(_0x2e86fa,_0x439633){_0x2e86fa=_0x2e86fa-0x12e;let _0x2f2923=_0x1e314b[_0x2e86fa];return _0x2f2923;},a16_0x2e86(_0x3286c3,_0x828b52);}class CustomEnvironment extends _jestUserEnvironment[a16_0xf92b72(0x138)]{constructor(_0x4e041b){const _0x18cfbc=a16_0xf92b72,_0x2dc6fe={'qXqKD':_0x18cfbc(0x15d),'dowLi':function(_0x37cc75,_0x1a8213){return _0x37cc75+_0x1a8213;},'kzIjO':'bstack:options','oaoep':function(_0x5f36ed,_0x23def1){return _0x5f36ed(_0x23def1);},'xvAnt':_0x18cfbc(0x131),'gDVik':_0x18cfbc(0x141),'psJKf':_0x18cfbc(0x150),'VEugz':'browserStackPercyOptions','DwKPa':_0x18cfbc(0x192),'MoaoK':_0x18cfbc(0x139),'WuseB':_0x18cfbc(0x130),'gsJeE':function(_0x13c6f2,_0x3060bd){return _0x13c6f2(_0x3060bd);},'nGQEL':_0x18cfbc(0x190)};super(_0x4e041b),this[_0x18cfbc(0x187)][_0x18cfbc(0x191)]=0x0,this[_0x18cfbc(0x16f)]={};!_0x4e041b['testEnvironmentOptions']&&(_0x4e041b[_0x18cfbc(0x150)]={});if(helper[_0x18cfbc(0x137)]()){_0x4e041b[_0x18cfbc(0x150)]=_0x4e041b[_0x18cfbc(0x145)]?_0x4e041b[_0x18cfbc(0x145)][_0x18cfbc(0x150)]:_0x4e041b[_0x18cfbc(0x150)];_seleniumWebdriver2&&(this[_0x18cfbc(0x1a2)]=new _seleniumWebdriver2[(_0x18cfbc(0x138))][(_0x18cfbc(0x13c))]());this['capability']=_0x4e041b[_0x18cfbc(0x145)]?_0x4e041b['projectConfig']['capability']:_0x4e041b[_0x18cfbc(0x179)],this[_0x18cfbc(0x187)][_0x18cfbc(0x191)]=_0x2dc6fe[_0x18cfbc(0x185)](_0x4e041b[_0x18cfbc(0x150)][_0x18cfbc(0x194)]||0x1388,constants[_0x18cfbc(0x195)]),this[_0x18cfbc(0x182)]=_0x4e041b[_0x18cfbc(0x150)][_0x18cfbc(0x18d)];if(this['failFastOptions']){const _0x3b73dc=this[_0x18cfbc(0x179)][_0x2dc6fe[_0x18cfbc(0x144)]]?.[_0x18cfbc(0x16e)]||'',_0x3ad2ea=this[_0x18cfbc(0x179)][_0x2dc6fe['kzIjO']]?.[_0x18cfbc(0x146)]||'';this[_0x18cfbc(0x18d)]=new(_0x2dc6fe['oaoep'](require,_0x2dc6fe['xvAnt']))(this[_0x18cfbc(0x182)],_0x3b73dc,_0x3ad2ea),this[_0x18cfbc(0x187)][_0x18cfbc(0x1a7)]=![];}helper[_0x18cfbc(0x1a1)](_0x4e041b[_0x18cfbc(0x150)]['retries__'])&&(this[_0x18cfbc(0x187)][_0x18cfbc(0x167)]=_0x4e041b['testEnvironmentOptions'][_0x18cfbc(0x13f)]);}if(testhubUtils[_0x18cfbc(0x164)]()){const _0xde25f2=new ObservabilityReporter();_0xde25f2[_0x18cfbc(0x15e)]();}this[_0x18cfbc(0x187)][_0x18cfbc(0x14d)]={},this[_0x18cfbc(0x16f)]=_0x4e041b['testEnvironmentOptions'],this[_0x18cfbc(0x16f)][_0x18cfbc(0x19e)]=constants[_0x18cfbc(0x13e)]['JEST'],this[_0x18cfbc(0x187)]['browserstackPlatformIndex']=(_0x4e041b['projectConfig']?_0x4e041b['projectConfig'][_0x18cfbc(0x1a3)]:_0x4e041b[_0x18cfbc(0x1a3)])||0x0,this[_0x18cfbc(0x187)][_0x18cfbc(0x168)]=this[_0x18cfbc(0x16f)]&&this[_0x18cfbc(0x16f)][_0x18cfbc(0x19f)]&&Array[_0x18cfbc(0x157)](this[_0x18cfbc(0x16f)][_0x18cfbc(0x19f)])&&this[_0x18cfbc(0x16f)][_0x18cfbc(0x19f)][this[_0x18cfbc(0x187)]['browserstackPlatformIndex']]||{};const _0x379fcb=this['global'][_0x18cfbc(0x1a3)],_0x26455f={...this[_0x18cfbc(0x16f)],'capability':this[_0x18cfbc(0x16f)][_0x18cfbc(0x1a6)]&&Array[_0x18cfbc(0x157)](this[_0x18cfbc(0x16f)]['capabilities'])&&this[_0x18cfbc(0x16f)][_0x18cfbc(0x1a6)][_0x379fcb]||{},'platformCaps':this[_0x18cfbc(0x16f)][_0x18cfbc(0x19f)]&&Array[_0x18cfbc(0x157)](this[_0x18cfbc(0x16f)][_0x18cfbc(0x19f)])&&this['configuration'][_0x18cfbc(0x19f)][_0x379fcb]||{}};delete _0x26455f[_0x18cfbc(0x1a6)],this[_0x18cfbc(0x187)][_0x18cfbc(0x12f)]=_0x26455f;if(_seleniumWebdriver2){const _0x27bcc5=_0x2dc6fe[_0x18cfbc(0x136)][_0x18cfbc(0x1a5)]('|');let _0x3978e6=0x0;while(!![]){switch(_0x27bcc5[_0x3978e6++]){case'0':this['global'][_0x18cfbc(0x192)]=helper[_0x18cfbc(0x18c)](_0x4e041b,[_0x2dc6fe[_0x18cfbc(0x174)],_0x2dc6fe['VEugz'],_0x2dc6fe['DwKPa']]);continue;case'1':helper[_0x18cfbc(0x17b)](this[_0x18cfbc(0x16f)][_0x18cfbc(0x196)])?this[_0x18cfbc(0x187)]['sessionNameProvided']=!![]:this[_0x18cfbc(0x187)][_0x18cfbc(0x140)]=![];continue;case'2':this[_0x18cfbc(0x187)]['percyCaptureMode']=helper[_0x18cfbc(0x18c)](_0x4e041b,[_0x2dc6fe[_0x18cfbc(0x174)],_0x2dc6fe[_0x18cfbc(0x14e)],_0x2dc6fe[_0x18cfbc(0x143)]]);continue;case'3':this['global'][_0x18cfbc(0x14a)]=helper['isTrue'](this[_0x18cfbc(0x16f)][_0x18cfbc(0x135)]);continue;case'4':this['global'][_0x18cfbc(0x13b)]=[];continue;case'5':this[_0x18cfbc(0x187)][_0x18cfbc(0x178)]=async()=>{const _0x13074e=_0x18cfbc;await this[_0x13074e(0x187)][_0x13074e(0x188)][_0x13074e(0x15d)](_0x2dc6fe[_0x13074e(0x159)]);};continue;case'6':this[_0x18cfbc(0x187)][_0x18cfbc(0x130)]=helper['nestedKeyValue'](_0x4e041b,[_0x2dc6fe['psJKf'],_0x2dc6fe[_0x18cfbc(0x14e)],_0x2dc6fe[_0x18cfbc(0x133)]]);continue;case'7':this['global'][_0x18cfbc(0x15c)]=_0x2dc6fe['gsJeE'](require,_0x2dc6fe[_0x18cfbc(0x189)])[_0x18cfbc(0x151)]({...this[_0x18cfbc(0x16f)],'capability':this[_0x18cfbc(0x179)]||{}},this,testhubUtils['shouldProcessEventForTesthub']());continue;}break;}}}async[a16_0xf92b72(0x18b)](){const _0x5b536b=a16_0xf92b72;_seleniumWebdriver2&&(await helper[_0x5b536b(0x158)](this[_0x5b536b(0x187)][_0x5b536b(0x18f)]),this[_0x5b536b(0x187)][_0x5b536b(0x15c)][_0x5b536b(0x13c)]=originalBuilder),await RequestQueueHandler['getInstance']()[_0x5b536b(0x19a)]();}async[a16_0xf92b72(0x152)](){}async[a16_0xf92b72(0x134)](_0x48981d,_0x4fddd1){const _0x327b02=a16_0xf92b72,_0x5c5842={};_0x5c5842[_0x327b02(0x170)]=function(_0x2e6d48,_0x3b5507){return _0x2e6d48===_0x3b5507;},_0x5c5842[_0x327b02(0x1a8)]='test_start',_0x5c5842[_0x327b02(0x161)]=function(_0x49fa1b,_0x5a7097){return _0x49fa1b===_0x5a7097;},_0x5c5842['rVBRm']=_0x327b02(0x15f),_0x5c5842[_0x327b02(0x177)]=_0x327b02(0x147),_0x5c5842[_0x327b02(0x1a0)]=_0x327b02(0x17c),_0x5c5842[_0x327b02(0x14f)]=function(_0x1de915,_0x1b2990){return _0x1de915===_0x1b2990;},_0x5c5842[_0x327b02(0x153)]=_0x327b02(0x12e),_0x5c5842[_0x327b02(0x19c)]=_0x327b02(0x18b);const _0x27d29c=_0x5c5842,{name:_0x12ec07}=_0x48981d;if(_0x27d29c[_0x327b02(0x170)](_0x12ec07,_0x27d29c['CVhIg'])){this[_0x327b02(0x187)][_0x327b02(0x16d)]=_0x48981d[_0x327b02(0x17e)];if(_0x27d29c[_0x327b02(0x161)](this['global'][_0x327b02(0x1a7)],!![])){const _0x5a0159=_0x48981d['test'][_0x327b02(0x165)];logger['info'](_0x327b02(0x132)+_0x5a0159),_0x48981d[_0x327b02(0x17e)]['mode']=_0x27d29c['rVBRm'];}}if(this[_0x327b02(0x18d)]&&_0x27d29c[_0x327b02(0x161)](_0x12ec07,_0x27d29c['SrYTw']))try{const _0x68f01e=_0x48981d[_0x327b02(0x17e)][_0x327b02(0x160)][_0x327b02(0x155)](_0x27d29c['dUElH']),_0x5c4aa5=_0x48981d[_0x327b02(0x17e)]['errors'];await this[_0x327b02(0x18d)][_0x327b02(0x180)](_0x68f01e,_0x5c4aa5);const _0x518393=await this['failFast'][_0x327b02(0x183)]();_0x27d29c[_0x327b02(0x170)](this[_0x327b02(0x187)][_0x327b02(0x1a7)],![])&&_0x27d29c['wuAsX'](_0x518393,!![])&&(this[_0x327b02(0x187)][_0x327b02(0x1a7)]=!![]);}catch(_0x1160b8){logger[_0x327b02(0x172)](_0x27d29c[_0x327b02(0x153)],_0x1160b8[_0x327b02(0x1a4)]);}_0x27d29c[_0x327b02(0x170)](_0x12ec07,_0x27d29c[_0x327b02(0x19c)])&&(this[_0x327b02(0x18d)]&&this[_0x327b02(0x18d)]['cleanup']());}}module[a16_0xf92b72(0x171)]=CustomEnvironment;function a16_0x1e31(){const _0x46b871=['capability','requireModule','isTrue','\x20>\x20','../../utils/constants','test','../../../helpers/test-observability/utils','onTestDone','bjqsu','failFastOptions','shouldFailFast','winstonLogger','dowLi','../../../helpers/logger','global','driver','nGQEL','4662387omVUGa','teardown','nestedKeyValue','failFast','resolveTestEnvironment','__driversArray','../../../index','__timeout','browserstackPercyBestPlatform','rfGcq','timeout__','BSTACK_DELTA','skipSessionName','jest-environment-node','2125697OpERsj','31993700TypscR','shutdown','../../../helpers/helper','YGlRF','aJZLi','framework','platformCaps','dUElH','isNotUndefined','builder','browserstackPlatformIndex','message','split','capabilities','failFastActive','CVhIg','Error\x20in\x20fail-fast\x20test_done\x20handler:','jestConfig','percy','../../../helpers/test-orchestration/failfastManager','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','WuseB','handleTestEvent','skipSessionStatus','gDVik','isBrowserstackInfra','default','percyCaptureMode','modifyCommand','__drivers','Builder','BSTACK_JEST_TEST_ENV','FRAMEWORKS','retries__','sessionNameProvided','4|7|0|6|2|1|3|5','722212Dztmji','MoaoK','kzIjO','projectConfig','projectName','test_done','131508cqDxqk','HJOhn','__skipSessionStatus','getTestEnvironment','../../../helpers/test-observability/requestQueueHandler','browserStackGlobals','VEugz','wuAsX','testEnvironmentOptions','browserstackAgentV2','setup','fPilw','9JHKfqf','join','1392821xRtkeU','isArray','cleanupDrivers','qXqKD','../../../helpers/testhub/utils','1078248TdfiWk','__webdriver','quit','registerListeners','skip','testPath','xlbyH','oCutt','40TMpUTE','shouldProcessEventForTesthub','name','env','__jestRetries','__platformCaps','__esModule','node','../test-observability/obsReporter','cwd','testContext','buildName','configuration','DMyap','exports','debug','150pvpevt','psJKf','jest-config','requireSeleniumWebdriver','SrYTw','cleanup'];a16_0x1e31=function(){return _0x46b871;};return a16_0x1e31();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a17_0x59a913=a17_0x50ca;(function(_0x12137c,_0x72303e){const _0x3a7f6e=a17_0x50ca,_0x54f9a6=_0x12137c();while(!![]){try{const _0x50ebee=parseInt(_0x3a7f6e(0x22b))/0x1*(-parseInt(_0x3a7f6e(0x241))/0x2)+-parseInt(_0x3a7f6e(0x202))/0x3+parseInt(_0x3a7f6e(0x203))/0x4+-parseInt(_0x3a7f6e(0x26a))/0x5*(-parseInt(_0x3a7f6e(0x268))/0x6)+-parseInt(_0x3a7f6e(0x23b))/0x7*(-parseInt(_0x3a7f6e(0x20b))/0x8)+-parseInt(_0x3a7f6e(0x212))/0x9*(parseInt(_0x3a7f6e(0x256))/0xa)+parseInt(_0x3a7f6e(0x220))/0xb*(parseInt(_0x3a7f6e(0x240))/0xc);if(_0x50ebee===_0x72303e)break;else _0x54f9a6['push'](_0x54f9a6['shift']());}catch(_0x40bd39){_0x54f9a6['push'](_0x54f9a6['shift']());}}}(a17_0x4135,0xa8f2e));const {requireModule}=require(a17_0x59a913(0x21f)),ObservabilityReporter=require('../test-observability/obsReporter'),RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),TestDetails=require(a17_0x59a913(0x276)),{patchConsoleLogger,debug}=require('../../../helpers/test-observability/utils'),{o11yErrorHandler}=require(a17_0x59a913(0x222)),{shouldProcessEventForTesthub}=require(a17_0x59a913(0x238)),testHubConstants=require(a17_0x59a913(0x28e)),BrowserstackCLI=require(a17_0x59a913(0x26e)),TestFrameworkState=require(a17_0x59a913(0x22f)),HookState=require('../../v2/state/hookState'),JestUtils=require(a17_0x59a913(0x254)),{v4:uuidv4}=require(a17_0x59a913(0x275)),util=require('util'),logger=require(a17_0x59a913(0x1f9))[a17_0x59a913(0x299)],{FRAMEWORKS}=require(a17_0x59a913(0x29e)),exportsI=requireModule(a17_0x59a913(0x237),a17_0x59a913(0x280)),initInitialize=exportsI[a17_0x59a913(0x24e)],jestUtils=new JestUtils();function a17_0x50ca(_0x190626,_0x4b20f2){const _0x4135d5=a17_0x4135();return a17_0x50ca=function(_0x50ca73,_0x5ae7d9){_0x50ca73=_0x50ca73-0x1ee;let _0x27fb26=_0x4135d5[_0x50ca73];return _0x27fb26;},a17_0x50ca(_0x190626,_0x4b20f2);}async function isCLIReady(){const _0x2e94f6=a17_0x59a913,_0x2e94ab={'tgBrY':'CLI\x20is\x20enabled\x20and\x20running.','YXSSI':function(_0xe9a1e6,_0x15a418){return _0xe9a1e6(_0x15a418);},'fqsHm':_0x2e94f6(0x1f8),'JJbaG':function(_0x892405,_0x11f09b){return _0x892405(_0x11f09b);},'uPeAw':function(_0x5dc75e,_0x3712a3){return _0x5dc75e(_0x3712a3);}};try{const _0x5258db=BrowserstackCLI[_0x2e94f6(0x262)]();if(_0x5258db[_0x2e94f6(0x244)]()&&_0x5258db[_0x2e94f6(0x228)]())return logger[_0x2e94f6(0x26f)](_0x2e94ab[_0x2e94f6(0x288)]),!![];const _0x22ddae=process[_0x2e94f6(0x298)][_0x2e94f6(0x229)];if(_0x22ddae&&_0x5258db[_0x2e94f6(0x244)]()){if(!_0x5258db[_0x2e94f6(0x228)]())try{const _0x536c49=_0x2e94ab[_0x2e94f6(0x1ee)](require,_0x2e94ab[_0x2e94f6(0x206)]);_0x536c49[_0x2e94f6(0x281)](FRAMEWORKS[_0x2e94f6(0x258)],FRAMEWORKS[_0x2e94f6(0x201)]),await _0x5258db['bootstrap']();}catch(_0x534187){return _0x2e94ab[_0x2e94f6(0x28a)](debug,_0x2e94f6(0x232)+util[_0x2e94f6(0x269)](_0x534187)),![];}return _0x5258db[_0x2e94f6(0x228)]();}return![];}catch(_0x4b3aad){return _0x2e94ab[_0x2e94f6(0x1f2)](debug,'Error\x20checking\x20CLI\x20readiness:\x20'+util[_0x2e94f6(0x269)](_0x4b3aad)),![];}}function a17_0x4135(){const _0x3d9254=['state','_currentRetry','12720MUZKjB','format','695nTLTol','sendTestRunEvent','trackEvent','__jestCurrentTestIdentifier','../../v2/browserstackCLI','debug','OxyGo','AsOEf','qCzZb','type','VDlKb','uuid','../test-observability/test-details','createTestFrameworkData','toString','rdojQ','createHookData','HookFinished','test_done','ZZgSv','TestRunStarted','testStarted','jest-circus','setFrameworkDetail','ooRhA','Handling\x20test\x20event\x20for\x20CLI:\x20','Error\x20routing\x20to\x20JestTestFramework:\x20','bIQVv','eadAF','qlhdP','tgBrY','ubKYj','JJbaG','AFTER_EACH','toISOString','BEFORE_EACH','../../../helpers/testhub/constants','unhandledErrors','PRE','includes','HookRunStarted','dhHFn','nYgof','NtuPA','qQfhR','Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20','env','winstonLogger','PLHQF',':hookAnalyticsId','UplPw','QREnX','../../utils/constants','YXSSI','QAKlv','qSKdD','currentHook','uPeAw','lLfTg','ghrKq','makeSingleTestResult','test_start','createIdentifierFromJestTest','../../v2/cliUtils','../../../helpers/logger','test_skip','pSJfB','TestRunSkipped','errorsDetailed','removeAllListeners','testUUID','HookRunFinished','PLAYWRIGHT','3454704xHnrvI','3825640FrVRnS','AFTER_ALL','error','fqsHm','markedStatus','EVENT','eGlHA','\x20for\x20hook\x20type:\x20','10504728XKWkhd','POST','removeTestUUID','pid','Mmdyi','QoAUZ','niiTx','153GOSfle','hook_failure','Zavst','test','started_at','aXiPA','addEventHandler','zGPRx','title','SIxVC','TEST','HookStarted','hookAnalyticsId','../../../helpers/helper','22eSvnnQ','testAnalyticsId','../../../helpers/test-observability/error-handler','hook_start','VQODB','Handling\x20hook\x20event\x20for\x20CLI:\x20','name','ocXAh','isRunning','BROWSERSTACK_CLI_BIN_SESSION_ID','CHRkR','805456iMeEXZ','EventHandler','asyncError','failed','../../v2/state/testFrameworkState','oUbbN','qmNlc','Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20','getTestFramework','hook','xgmAT','setTestUUID','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','../../../helpers/testhub/utils','afterEach','HcNhU','7RGcIlU','Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20','RiYVv','current_test','gKAln','4628616wbNjrF','2zCHASU','TestRunFinished','teardown','isCliEnabled','fslDj','setActiveHook','originalTest','forEach','ubQws','vTvsM','iYycc','__workerDetails','match','initialize','removeActiveHook','afterAll','beforeEach','retryOf','BEFORE_ALL','../../v2/utils/jest-utils','UwTAt','403870mQPNhT','beforeAll','JEST','TjOcB','LOG_REPORT','nJpUQ','xrMvg','BTPbG','file','mYGWT','shutdown','Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20','getInstance','keys','parent','jest-circus/build/utils.js'];a17_0x4135=function(){return _0x3d9254;};return a17_0x4135();}function getTestIdentifierForHook(_0x2cec00){const _0x4c6f49=a17_0x59a913,_0x433ec0={};_0x433ec0[_0x4c6f49(0x29a)]=function(_0x3591bc,_0x183bc6){return _0x3591bc===_0x183bc6;},_0x433ec0['Mmdyi']='beforeEach',_0x433ec0['vTvsM']=_0x4c6f49(0x257);const _0x536318=_0x433ec0;if(_0x536318[_0x4c6f49(0x29a)](_0x2cec00[_0x4c6f49(0x273)],_0x536318[_0x4c6f49(0x20f)])||_0x536318[_0x4c6f49(0x29a)](_0x2cec00[_0x4c6f49(0x273)],_0x536318[_0x4c6f49(0x24a)])){let _0x309a89=global[_0x4c6f49(0x26d)];if(!_0x309a89&&_0x536318[_0x4c6f49(0x29a)](_0x2cec00[_0x4c6f49(0x273)],_0x536318[_0x4c6f49(0x24a)])&&_0x2cec00['parent']){const _0xa5168={};_0xa5168['name']=_0x2cec00[_0x4c6f49(0x264)][_0x4c6f49(0x226)],_0xa5168[_0x4c6f49(0x264)]=_0x2cec00[_0x4c6f49(0x264)][_0x4c6f49(0x264)],_0xa5168[_0x4c6f49(0x22d)]=_0x2cec00['asyncError'],_0xa5168[_0x4c6f49(0x25e)]=_0x2cec00[_0x4c6f49(0x25e)];const _0xc980a=_0xa5168;_0x309a89=jestUtils[_0x4c6f49(0x1f7)](_0xc980a);}return _0x309a89;}return global[_0x4c6f49(0x26d)];}function mapHookTypeToState(_0x3a7361){const _0x1e6756=a17_0x59a913,_0xd54718={};_0xd54718[_0x1e6756(0x257)]=TestFrameworkState[_0x1e6756(0x253)],_0xd54718[_0x1e6756(0x250)]=TestFrameworkState[_0x1e6756(0x204)],_0xd54718['beforeEach']=TestFrameworkState[_0x1e6756(0x28d)],_0xd54718[_0x1e6756(0x239)]=TestFrameworkState[_0x1e6756(0x28b)];const _0x31f018=_0xd54718;return _0x31f018[_0x3a7361]||TestFrameworkState[_0x1e6756(0x28d)];}async function handleHookEventCLI(_0x2a039b,_0x2c6149,_0x271905){const _0x131427=a17_0x59a913,_0x3e8402={'OxyGo':function(_0x29a0a5){return _0x29a0a5();},'nYgof':function(_0x4e3db1){return _0x4e3db1();},'iYycc':function(_0x21b0c6,_0x28b819){return _0x21b0c6===_0x28b819;},'qSKdD':_0x131427(0x292),'zGPRx':function(_0xbf9881,_0x531be6){return _0xbf9881(_0x531be6);},'gpfwS':function(_0x17deba,_0x231737){return _0x17deba(_0x231737);},'TjOcB':function(_0x1189ec,_0x92bd68){return _0x1189ec===_0x92bd68;},'eGlHA':_0x131427(0x200),'QREnX':_0x131427(0x234),'ocXAh':function(_0x515970,_0x3c3f84){return _0x515970===_0x3c3f84;}};logger[_0x131427(0x26f)](_0x131427(0x225)+_0x2c6149+_0x131427(0x20a)+_0x2a039b['type']);try{if(_0x2a039b['fn']&&_0x2a039b['fn'][_0x131427(0x278)]()[_0x131427(0x24d)](/browserstack internal helper hook/))return;let _0x3b53d1=_0x2a039b[_0x131427(0x21e)];if(!_0x3b53d1)_0x3b53d1=_0x3e8402[_0x131427(0x270)](uuidv4),_0x2a039b[_0x131427(0x21e)]=_0x3b53d1;else _0x2a039b[_0x131427(0x207)]&&(_0x3b53d1=_0x3e8402[_0x131427(0x294)](uuidv4),_0x2a039b[_0x131427(0x21e)]=_0x3b53d1,delete _0x2a039b[_0x131427(0x207)]);_0x3e8402[_0x131427(0x24b)](_0x2c6149,_0x3e8402[_0x131427(0x1f0)])&&(_0x2a039b[_0x131427(0x216)]=new Date()['toISOString']());const _0x373635=_0x3e8402[_0x131427(0x219)](getTestIdentifierForHook,_0x2a039b);!global[_0x131427(0x24c)]&&(global[_0x131427(0x24c)]={});if(_0x3e8402['iYycc'](_0x2c6149,_0x3e8402['qSKdD'])){global['__workerDetails']['currentHook']={'hookUUID':_0x3b53d1,'testIdentifier':_0x373635,'hookType':_0x2a039b[_0x131427(0x273)],'startedAt':new Date()[_0x131427(0x28c)]()};const _0x1978b0=BrowserstackCLI[_0x131427(0x262)]()[_0x131427(0x233)]();_0x1978b0&&_0x1978b0['setActiveHook']&&_0x1978b0[_0x131427(0x246)](_0x373635,_0x3b53d1,_0x2a039b[_0x131427(0x273)]);}const _0x4ef6e4=await jestUtils[_0x131427(0x27a)](_0x2a039b,_0x3b53d1,_0x2c6149,_0x373635);if(!_0x4ef6e4)return;const _0x3613fc=_0x3e8402['gpfwS'](mapHookTypeToState,_0x2a039b[_0x131427(0x273)]),_0x48b553=_0x3e8402[_0x131427(0x259)](_0x2c6149,_0x3e8402[_0x131427(0x1f0)])?HookState['PRE']:HookState[_0x131427(0x20c)],_0x8dd0cb=BrowserstackCLI['getInstance']()['getTestFramework']();if(_0x8dd0cb){const _0x5c0b7e={};_0x5c0b7e['hookData']=_0x4ef6e4,await _0x8dd0cb[_0x131427(0x26c)](_0x3613fc,_0x48b553,_0x5c0b7e);if(_0x3e8402['iYycc'](_0x2c6149,_0x3e8402[_0x131427(0x209)])){const _0x55dff0={};_0x55dff0[_0x131427(0x1ff)]=_0x373635,_0x55dff0[_0x131427(0x273)]=_0x3e8402[_0x131427(0x29d)],await _0x8dd0cb['trackEvent'](TestFrameworkState[_0x131427(0x25a)],HookState[_0x131427(0x20c)],_0x55dff0),global[_0x131427(0x24c)]&&global[_0x131427(0x24c)][_0x131427(0x1f1)]&&_0x3e8402[_0x131427(0x227)](global[_0x131427(0x24c)][_0x131427(0x1f1)]['hookUUID'],_0x3b53d1)&&delete global[_0x131427(0x24c)][_0x131427(0x1f1)],_0x8dd0cb[_0x131427(0x24f)]&&_0x8dd0cb[_0x131427(0x24f)](_0x373635,_0x3b53d1);}}}catch(_0x12880c){logger[_0x131427(0x205)](_0x131427(0x23c)+util['format'](_0x12880c));throw _0x12880c;}}async function handleTestEventCLI(_0x155b79,_0x21cd16,_0x1eb91e){const _0x180fbd=a17_0x59a913,_0x2d16bc={};_0x2d16bc[_0x180fbd(0x274)]=function(_0x4e8169,_0x1ffeb5){return _0x4e8169===_0x1ffeb5;},_0x2d16bc['rdojQ']='TestRunStarted',_0x2d16bc[_0x180fbd(0x287)]=function(_0x99acfa,_0x408d49){return _0x99acfa>_0x408d49;},_0x2d16bc[_0x180fbd(0x1f3)]=function(_0x4f55e5,_0xdec92d){return _0x4f55e5===_0xdec92d;},_0x2d16bc[_0x180fbd(0x286)]=function(_0x6735f2,_0x18a22a){return _0x6735f2&&_0x18a22a;},_0x2d16bc['xgmAT']=_0x180fbd(0x22e),_0x2d16bc[_0x180fbd(0x27d)]=_0x180fbd(0x242),_0x2d16bc[_0x180fbd(0x22a)]=_0x180fbd(0x215);const _0x3468be=_0x2d16bc;logger[_0x180fbd(0x26f)](_0x180fbd(0x283)+_0x21cd16);try{let _0x21f031;if(_0x3468be[_0x180fbd(0x274)](_0x21cd16,_0x3468be[_0x180fbd(0x279)])){_0x21f031=jestUtils[_0x180fbd(0x1f7)](_0x155b79),global[_0x180fbd(0x26d)]=_0x21f031,_0x155b79[_0x180fbd(0x221)]=_0x21f031,_0x155b79['id']=_0x21f031,_0x155b79[_0x180fbd(0x216)]=new Date()[_0x180fbd(0x28c)]();const _0x442de5=_0x1eb91e['current_test'];_0x1eb91e[_0x180fbd(0x23e)]=_0x155b79,_0x155b79[_0x180fbd(0x252)]=null;if(_0x3468be['qlhdP'](_0x155b79[_0x180fbd(0x267)],0x0)&&_0x442de5&&_0x3468be[_0x180fbd(0x1f3)](_0x442de5[_0x180fbd(0x21a)],_0x155b79['title'])){_0x155b79[_0x180fbd(0x252)]=_0x442de5[_0x180fbd(0x221)];const _0x40f7b2=await jestUtils[_0x180fbd(0x277)](_0x155b79,_0x21f031,_0x3468be['rdojQ']),_0x266862=BrowserstackCLI['getInstance']()['getTestFramework']();if(_0x3468be[_0x180fbd(0x286)](_0x40f7b2,_0x266862)){const _0x3bae9c={};_0x3bae9c['test']=_0x40f7b2,await _0x266862[_0x180fbd(0x26c)](TestFrameworkState['TEST'],HookState[_0x180fbd(0x290)],_0x3bae9c);}_0x442de5[_0x180fbd(0x266)]=_0x3468be[_0x180fbd(0x235)];const _0x41d153=await jestUtils[_0x180fbd(0x277)](_0x442de5,_0x442de5[_0x180fbd(0x221)],_0x3468be[_0x180fbd(0x27d)]);if(_0x3468be[_0x180fbd(0x286)](_0x41d153,_0x266862)){const _0x215758={};_0x215758[_0x180fbd(0x215)]=_0x41d153,await _0x266862['trackEvent'](TestFrameworkState[_0x180fbd(0x21c)],HookState[_0x180fbd(0x20c)],_0x215758);}}else{const _0x75c480=await jestUtils[_0x180fbd(0x277)](_0x155b79,_0x21f031,_0x3468be[_0x180fbd(0x279)]),_0xb19ba9=BrowserstackCLI['getInstance']()[_0x180fbd(0x233)]();if(_0x3468be[_0x180fbd(0x286)](_0x75c480,_0xb19ba9)){const _0x49da87={};_0x49da87[_0x180fbd(0x215)]=_0x75c480,await _0xb19ba9[_0x180fbd(0x26c)](TestFrameworkState[_0x180fbd(0x21c)],HookState['PRE'],_0x49da87);}}}else{_0x21f031=_0x155b79[_0x180fbd(0x221)]||_0x155b79['id']||global[_0x180fbd(0x26d)];const _0x1e35ea=await jestUtils[_0x180fbd(0x277)](_0x155b79,_0x21f031,_0x21cd16),_0x46a6fa=BrowserstackCLI[_0x180fbd(0x262)]()[_0x180fbd(0x233)]();if(_0x3468be[_0x180fbd(0x286)](_0x1e35ea,_0x46a6fa)){const _0x19742b={};_0x19742b[_0x180fbd(0x215)]=_0x1e35ea,_0x19742b[_0x180fbd(0x247)]=_0x155b79,await _0x46a6fa[_0x180fbd(0x26c)](TestFrameworkState['TEST'],HookState[_0x180fbd(0x20c)],_0x19742b);const _0x2a5e5b={};_0x2a5e5b[_0x180fbd(0x1ff)]=_0x21f031,_0x2a5e5b[_0x180fbd(0x273)]=_0x3468be[_0x180fbd(0x22a)],await _0x46a6fa['trackEvent'](TestFrameworkState[_0x180fbd(0x25a)],HookState[_0x180fbd(0x20c)],_0x2a5e5b);}}}catch(_0x274e1e){logger['error']('Error\x20handling\x20test\x20event\x20for\x20CLI:\x20'+util['format'](_0x274e1e));throw _0x274e1e;}}exportsI[a17_0x59a913(0x24e)]=(..._0x5726fe)=>{const _0x3a37a8=a17_0x59a913,_0x2ebda1={'ooRhA':function(_0x53c3ef,_0x396b0d,_0x17a875){return _0x53c3ef(_0x396b0d,_0x17a875);},'jtYJU':_0x3a37a8(0x265),'ghrKq':_0x3a37a8(0x280),'VQODB':_0x3a37a8(0x223),'mYGWT':function(_0x31993e,_0x33f2e9){return _0x31993e(_0x33f2e9);},'ubQws':function(_0x406002){return _0x406002();},'qmNlc':function(_0x1dca4c,_0x2d43ef,_0x241f4a,_0x20db1b){return _0x1dca4c(_0x2d43ef,_0x241f4a,_0x20db1b);},'dhHFn':_0x3a37a8(0x292),'XjOck':function(_0x104136,_0x2677a8){return _0x104136(_0x2677a8);},'qCzZb':'hook_success','HcNhU':function(_0x5c96f3){return _0x5c96f3();},'WtrFt':function(_0x124dce,_0x53051f,_0x572389,_0x38d744){return _0x124dce(_0x53051f,_0x572389,_0x38d744);},'ubKYj':_0x3a37a8(0x200),'RiYVv':function(_0x4ccd58,_0x11b629){return _0x4ccd58(_0x11b629);},'agkiY':_0x3a37a8(0x213),'pSJfB':_0x3a37a8(0x257),'QAKlv':_0x3a37a8(0x251),'niiTx':_0x3a37a8(0x239),'fslDj':function(_0x494891,_0xf65134){return _0x494891>_0xf65134;},'bIQVv':function(_0x46bddc){return _0x46bddc();},'UwTAt':_0x3a37a8(0x1f6),'oUbbN':function(_0x51996f){return _0x51996f();},'qQfhR':function(_0x28cb56,_0x1891e4,_0x504275,_0x1af258){return _0x28cb56(_0x1891e4,_0x504275,_0x1af258);},'sJJEc':_0x3a37a8(0x27e),'xrMvg':function(_0x44b77d,_0x4d40c0){return _0x44b77d(_0x4d40c0);},'aXiPA':_0x3a37a8(0x27c),'nJpUQ':function(_0x1de92c,_0x500552){return _0x1de92c(_0x500552);},'AsOEf':'TestRunFinished','AQmWz':function(_0x4d5a29,_0x44215b){return _0x4d5a29(_0x44215b);},'unqbA':_0x3a37a8(0x1fa),'UplPw':_0x3a37a8(0x1fc),'QZisX':'run_describe_finish','QoAUZ':_0x3a37a8(0x243),'NtuPA':function(_0x30471e){return _0x30471e();},'FFuiL':function(_0x334df8){return _0x334df8();},'BTPbG':function(_0x736882){return _0x736882();},'zqNEL':'jest-circus/build/state.js','gKAln':function(_0x52ad0f,_0x31afd6,_0x653766){return _0x52ad0f(_0x31afd6,_0x653766);},'qpSvd':_0x3a37a8(0x22c),'SIxVC':function(_0x81dc3a,..._0x52a78f){return _0x81dc3a(..._0x52a78f);}};try{const _0x46a61b=new ObservabilityReporter();_0x2ebda1[_0x3a37a8(0x295)](shouldProcessEventForTesthub)&&(_0x2ebda1['FFuiL'](patchConsoleLogger),_0x46a61b['registerListeners']()),_0x2ebda1[_0x3a37a8(0x25d)](shouldProcessEventForTesthub)&&_0x2ebda1[_0x3a37a8(0x282)](requireModule,_0x2ebda1['zqNEL'],_0x2ebda1[_0x3a37a8(0x1f4)])[_0x3a37a8(0x218)](_0x2ebda1[_0x3a37a8(0x23f)](o11yErrorHandler,async(_0x54cbe1,_0x9b2ba4)=>{const _0xb140d9=_0x3a37a8,_0x52db43=_0x2ebda1[_0xb140d9(0x282)](requireModule,_0x2ebda1['jtYJU'],_0x2ebda1[_0xb140d9(0x1f4)])[_0xb140d9(0x1f5)];switch(_0x54cbe1[_0xb140d9(0x226)]){case _0x2ebda1[_0xb140d9(0x224)]:if(_0x2ebda1[_0xb140d9(0x25f)](shouldProcessEventForTesthub,testHubConstants[_0xb140d9(0x208)][_0xb140d9(0x21d)])){if(_0x54cbe1[_0xb140d9(0x234)]['fn']&&_0x54cbe1['hook']['fn'][_0xb140d9(0x278)]()[_0xb140d9(0x24d)](/browserstack internal helper hook/))break;if(BrowserstackCLI[_0xb140d9(0x262)]()[_0xb140d9(0x244)]()&&await _0x2ebda1[_0xb140d9(0x249)](isCLIReady))try{await _0x2ebda1[_0xb140d9(0x231)](handleHookEventCLI,_0x54cbe1['hook'],_0x2ebda1[_0xb140d9(0x293)],_0x9b2ba4);break;}catch(_0x81d3a6){_0x2ebda1['XjOck'](debug,_0xb140d9(0x284)+util[_0xb140d9(0x269)](_0x81d3a6));}if(!_0x54cbe1['hook'][_0xb140d9(0x21e)]){const _0x6d45d9=TestDetails[_0xb140d9(0x236)](process[_0xb140d9(0x20e)]+_0xb140d9(0x29b));_0x54cbe1[_0xb140d9(0x234)][_0xb140d9(0x21e)]=_0x6d45d9;}else _0x54cbe1[_0xb140d9(0x234)][_0xb140d9(0x207)]&&(_0x54cbe1[_0xb140d9(0x234)][_0xb140d9(0x21e)]=TestDetails['setTestUUID'](process['pid']+_0xb140d9(0x29b)),delete _0x54cbe1[_0xb140d9(0x234)][_0xb140d9(0x207)]);_0x54cbe1[_0xb140d9(0x234)][_0xb140d9(0x216)]=new Date()[_0xb140d9(0x28c)](),await _0x46a61b['sendTestRunEvent'](_0x54cbe1[_0xb140d9(0x234)],undefined,![],_0x2ebda1['dhHFn']);}break;case _0x2ebda1[_0xb140d9(0x272)]:if(_0x2ebda1['XjOck'](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0xb140d9(0x27b)])){if(BrowserstackCLI[_0xb140d9(0x262)]()[_0xb140d9(0x244)]()&&await _0x2ebda1[_0xb140d9(0x23a)](isCLIReady))try{await _0x2ebda1['WtrFt'](handleHookEventCLI,_0x54cbe1[_0xb140d9(0x234)],_0x2ebda1[_0xb140d9(0x289)],_0x9b2ba4);break;}catch(_0x460e60){_0x2ebda1['RiYVv'](debug,_0xb140d9(0x284)+util[_0xb140d9(0x269)](_0x460e60));}await _0x46a61b[_0xb140d9(0x26b)](_0x54cbe1[_0xb140d9(0x234)],undefined,![],_0x2ebda1[_0xb140d9(0x289)]),TestDetails[_0xb140d9(0x20d)](process[_0xb140d9(0x20e)]+_0xb140d9(0x29b));}break;case _0x2ebda1['agkiY']:[_0x2ebda1[_0xb140d9(0x1fb)],_0x2ebda1[_0xb140d9(0x1ef)],_0x2ebda1[_0xb140d9(0x211)]][_0xb140d9(0x291)](_0x54cbe1[_0xb140d9(0x234)][_0xb140d9(0x273)])&&(_0x46a61b['hook_failure']=_0x54cbe1['hook'][_0xb140d9(0x273)]),_0x9b2ba4[_0xb140d9(0x28f)]&&_0x2ebda1[_0xb140d9(0x245)](_0x9b2ba4[_0xb140d9(0x28f)]['length'],0x0)&&(_0x54cbe1['hook'][_0xb140d9(0x1fd)]=[_0x9b2ba4[_0xb140d9(0x28f)][0x0][0x0]]);if(_0x2ebda1['XjOck'](shouldProcessEventForTesthub,testHubConstants['EVENT']['HookFinished'])){if(BrowserstackCLI[_0xb140d9(0x262)]()[_0xb140d9(0x244)]()&&await _0x2ebda1[_0xb140d9(0x285)](isCLIReady))try{await _0x2ebda1[_0xb140d9(0x231)](handleHookEventCLI,_0x54cbe1[_0xb140d9(0x234)],_0x2ebda1['ubKYj'],_0x9b2ba4);break;}catch(_0x532031){_0x2ebda1['XjOck'](debug,_0xb140d9(0x284)+util[_0xb140d9(0x269)](_0x532031));}await _0x46a61b['sendTestRunEvent'](_0x54cbe1[_0xb140d9(0x234)],undefined,![],_0x2ebda1[_0xb140d9(0x289)]),TestDetails[_0xb140d9(0x20d)](process[_0xb140d9(0x20e)]+_0xb140d9(0x29b));}break;case _0x2ebda1[_0xb140d9(0x255)]:if(_0x2ebda1[_0xb140d9(0x285)](shouldProcessEventForTesthub)){if(BrowserstackCLI['getInstance']()[_0xb140d9(0x244)]()&&await _0x2ebda1[_0xb140d9(0x230)](isCLIReady))try{await _0x2ebda1[_0xb140d9(0x296)](handleTestEventCLI,_0x54cbe1[_0xb140d9(0x215)],_0x2ebda1['sJJEc'],_0x46a61b);break;}catch(_0x596253){_0x2ebda1[_0xb140d9(0x25c)](debug,_0xb140d9(0x284)+util[_0xb140d9(0x269)](_0x596253));}await _0x46a61b[_0xb140d9(0x27f)](_0x54cbe1[_0xb140d9(0x215)]);}break;case _0x2ebda1[_0xb140d9(0x217)]:_0x54cbe1[_0xb140d9(0x215)]={..._0x2ebda1[_0xb140d9(0x25b)](_0x52db43,_0x54cbe1['test']),..._0x54cbe1['test']};if(_0x2ebda1[_0xb140d9(0x23a)](shouldProcessEventForTesthub)){if(!_0x54cbe1['test']['markedStatus']){_0x54cbe1[_0xb140d9(0x215)]['markedStatus']=!![];if(BrowserstackCLI[_0xb140d9(0x262)]()[_0xb140d9(0x244)]()&&await _0x2ebda1[_0xb140d9(0x285)](isCLIReady))try{await _0x2ebda1[_0xb140d9(0x231)](handleTestEventCLI,_0x54cbe1[_0xb140d9(0x215)],_0x2ebda1[_0xb140d9(0x271)],_0x46a61b);break;}catch(_0x44e9c3){_0x2ebda1['AQmWz'](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0xb140d9(0x269)](_0x44e9c3));}await _0x46a61b[_0xb140d9(0x26b)](_0x54cbe1[_0xb140d9(0x215)]);}}break;case _0x2ebda1['unqbA']:_0x54cbe1['test']={..._0x2ebda1[_0xb140d9(0x23d)](_0x52db43,_0x54cbe1[_0xb140d9(0x215)]),..._0x54cbe1[_0xb140d9(0x215)]};if(_0x2ebda1[_0xb140d9(0x249)](shouldProcessEventForTesthub)){if(!_0x54cbe1[_0xb140d9(0x215)]['markedStatus']){_0x54cbe1[_0xb140d9(0x215)][_0xb140d9(0x207)]=!![];if(BrowserstackCLI[_0xb140d9(0x262)]()['isCliEnabled']()&&await _0x2ebda1[_0xb140d9(0x23a)](isCLIReady))try{await _0x2ebda1[_0xb140d9(0x231)](handleTestEventCLI,_0x54cbe1['test'],_0x2ebda1[_0xb140d9(0x29c)],_0x46a61b);break;}catch(_0x4e44bb){_0x2ebda1['mYGWT'](debug,_0xb140d9(0x284)+util[_0xb140d9(0x269)](_0x4e44bb));}await _0x46a61b['sendTestRunEvent'](_0x54cbe1[_0xb140d9(0x215)],undefined,![],_0x2ebda1[_0xb140d9(0x29c)]);}}break;case _0x2ebda1['QZisX']:_0x46a61b['hook_failure']=null;break;case _0x2ebda1[_0xb140d9(0x210)]:await RequestQueueHandler['getInstance']()[_0xb140d9(0x260)](),process[_0xb140d9(0x1fe)]();break;default:}},_0x2ebda1['qpSvd']));}catch(_0x126d2e){_0x2ebda1[_0x3a37a8(0x23d)](debug,_0x3a37a8(0x297)+_0x126d2e);}return _0x2ebda1[_0x3a37a8(0x21b)](initInitialize,..._0x5726fe);};try{Object[a17_0x59a913(0x263)](exportsI)[a17_0x59a913(0x248)](_0x2841ab=>{const _0x13b66c=a17_0x59a913,_0x5557c0={'Zavst':function(_0x2a1792,_0x34dd75){return _0x2a1792(_0x34dd75);}};try{exports&&(exports[_0x2841ab]=exportsI[_0x2841ab]);}catch(_0x1be920){_0x5557c0[_0x13b66c(0x214)](debug,_0x13b66c(0x261)+_0x1be920);}});}catch(a17_0x77290){debug('Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20'+a17_0x77290);}
|
|
1
|
+
const a17_0xffd5ab=a17_0x2e38;(function(_0x710c7d,_0x1880ab){const _0x574237=a17_0x2e38,_0x314095=_0x710c7d();while(!![]){try{const _0x1fa195=parseInt(_0x574237(0x15c))/0x1+parseInt(_0x574237(0xf5))/0x2+-parseInt(_0x574237(0x15a))/0x3+parseInt(_0x574237(0xc7))/0x4*(parseInt(_0x574237(0xd0))/0x5)+parseInt(_0x574237(0xf8))/0x6*(parseInt(_0x574237(0x11b))/0x7)+-parseInt(_0x574237(0xe5))/0x8*(parseInt(_0x574237(0x117))/0x9)+-parseInt(_0x574237(0x109))/0xa;if(_0x1fa195===_0x1880ab)break;else _0x314095['push'](_0x314095['shift']());}catch(_0x59943c){_0x314095['push'](_0x314095['shift']());}}}(a17_0x4285,0x59397));function a17_0x2e38(_0x2d025f,_0x3edde1){const _0x4285ba=a17_0x4285();return a17_0x2e38=function(_0x2e384c,_0x48181a){_0x2e384c=_0x2e384c-0xb8;let _0x2cfc05=_0x4285ba[_0x2e384c];return _0x2cfc05;},a17_0x2e38(_0x2d025f,_0x3edde1);}const {requireModule}=require('../../../helpers/helper'),ObservabilityReporter=require(a17_0xffd5ab(0x11d)),RequestQueueHandler=require(a17_0xffd5ab(0xdb)),TestDetails=require('../test-observability/test-details'),{patchConsoleLogger,debug}=require(a17_0xffd5ab(0xc3)),{o11yErrorHandler}=require(a17_0xffd5ab(0x10b)),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils'),testHubConstants=require('../../../helpers/testhub/constants'),BrowserstackCLI=require('../../v2/browserstackCLI'),TestFrameworkState=require(a17_0xffd5ab(0xca)),HookState=require('../../v2/state/hookState'),JestUtils=require(a17_0xffd5ab(0x11f)),{v4:uuidv4}=require(a17_0xffd5ab(0xef)),util=require(a17_0xffd5ab(0x122)),logger=require('../../../helpers/logger')['winstonLogger'],{FRAMEWORKS}=require(a17_0xffd5ab(0xec)),exportsI=requireModule('jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js',a17_0xffd5ab(0xdc)),initInitialize=exportsI[a17_0xffd5ab(0xc5)],jestUtils=new JestUtils();async function isCLIReady(){const _0xcbee23=a17_0xffd5ab,_0x4ebd87={'Ceiro':_0xcbee23(0xfa),'jdVzr':function(_0x14d1b4,_0x1e40ec){return _0x14d1b4(_0x1e40ec);},'IHfGF':_0xcbee23(0xf9),'QBUuh':function(_0x5ac435,_0x2d5511){return _0x5ac435(_0x2d5511);},'dbAhZ':function(_0x1ecd1b,_0xd0fee7){return _0x1ecd1b(_0xd0fee7);}};try{const _0x382bd8=BrowserstackCLI[_0xcbee23(0xf0)]();if(_0x382bd8['isCliEnabled']()&&_0x382bd8[_0xcbee23(0x104)]())return logger[_0xcbee23(0x142)](_0x4ebd87[_0xcbee23(0x127)]),!![];const _0x37f6ad=process[_0xcbee23(0xbc)][_0xcbee23(0xe0)];if(_0x37f6ad&&_0x382bd8[_0xcbee23(0x161)]()){if(!_0x382bd8[_0xcbee23(0x104)]())try{const _0x2f0d40=_0x4ebd87[_0xcbee23(0x121)](require,_0x4ebd87[_0xcbee23(0x100)]);_0x2f0d40[_0xcbee23(0x143)](FRAMEWORKS[_0xcbee23(0x126)],FRAMEWORKS[_0xcbee23(0xfc)]),await _0x382bd8['bootstrap']();}catch(_0x3bc134){return _0x4ebd87[_0xcbee23(0xba)](debug,_0xcbee23(0x116)+util[_0xcbee23(0xbd)](_0x3bc134)),![];}return _0x382bd8[_0xcbee23(0x104)]();}return![];}catch(_0x4330c9){return _0x4ebd87['dbAhZ'](debug,'Error\x20checking\x20CLI\x20readiness:\x20'+util[_0xcbee23(0xbd)](_0x4330c9)),![];}}function a17_0x4285(){const _0x1fa6a2=['603iDrqeE','hVMdQ','afterAll','wuMod','7CVzocj','currentHook','../test-observability/obsReporter','title','../../v2/utils/jest-utils','Ctjhj','jdVzr','util','hookAnalyticsId','removeTestUUID','removeAllListeners','JEST','Ceiro','TestRunSkipped','HDPqj','started_at','hookUUID','LUmnN','HookRunStarted','retryOf','UXSVf','tUDBp','sendTestRunEvent','hook_failure','hook_start','YeuQj','makeSingleTestResult','error','ebleC','__jestCurrentTestIdentifier','MCVNj','unhandledErrors','originalTest','HookFinished','beforeEach','iJXIX','jest-circus/build/utils.js','TestRunFinished','tVAZT','debug','setFrameworkDetail','keys','test','hook','Handling\x20test\x20event\x20for\x20CLI:\x20','__workerDetails','ruceU','teardown','jfFVi','UxAXQ','HookRunFinished','type','WmtgN','testAnalyticsId','TEST','trackEvent','toString','uWNtJ','yXavy','MIGQg','VfVly','hvBwc','utUqW','28158Hjtsnf','YuKFt','349016DZqIhS','toISOString','bYgBi','nvqbD','setTestUUID','isCliEnabled','\x20for\x20hook\x20type:\x20','POST','QRLaF','QBUuh','EVENT','env','format','LRURq','testStarted','Error\x20routing\x20to\x20JestTestFramework:\x20','UdChS','TestRunStarted','../../../helpers/test-observability/utils','flsPv','initialize','pid','1718964wjLRMk','AbXoy','Iqvsm','../../v2/state/testFrameworkState','xfElJ','createIdentifierFromJestTest','testUUID','EventHandler','removeActiveHook','5EuQDHs','createTestFrameworkData','OdOQp','WNVDH','current_test','file','test_done','setActiveHook','forEach','ZspZZ','bPqvs','../../../helpers/test-observability/requestQueueHandler','jest-circus','registerListeners','BEFORE_ALL','jest-circus/build/state.js','BROWSERSTACK_CLI_BIN_SESSION_ID','includes','errorsDetailed','AFTER_EACH','afterEach','21608vXuOps','parent','LOG_REPORT','FxaaK','jriAJ','xhPSv','EBJmN','../../utils/constants','name','RnSIr','uuid','getInstance','QErLd','orJIF','NKWvM','YpdRM','623516dunveq','test_start','run_describe_finish','3640566CEVlKZ','../../v2/cliUtils','CLI\x20is\x20enabled\x20and\x20running.','asyncError','PLAYWRIGHT','BEFORE_EACH','ZGxML','getTestFramework','IHfGF','failed','SdAgz','hFExU','isRunning','markedStatus','YivoB','nTwyt','SskpC','11414600rYuIrL','PRE','../../../helpers/test-observability/error-handler','AFTER_ALL','NaOuD','createHookData','RiZvi','length','_currentRetry','Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20','hJJgd',':hookAnalyticsId','addEventHandler','Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20'];a17_0x4285=function(){return _0x1fa6a2;};return a17_0x4285();}function getTestIdentifierForHook(_0xb9743f){const _0x282413=a17_0xffd5ab,_0x3f9442={};_0x3f9442[_0x282413(0x118)]=function(_0x1a845d,_0x2895f0){return _0x1a845d===_0x2895f0;},_0x3f9442[_0x282413(0x14c)]='beforeEach',_0x3f9442['QRLaF']=function(_0x5bd8fc,_0x13f448){return _0x5bd8fc===_0x13f448;},_0x3f9442['MCVNj']='beforeAll';const _0x58cafc=_0x3f9442;if(_0x58cafc[_0x282413(0x118)](_0xb9743f[_0x282413(0x14e)],_0x58cafc[_0x282413(0x14c)])||_0x58cafc['QRLaF'](_0xb9743f['type'],_0x58cafc[_0x282413(0x139)])){let _0x116b9e=global['__jestCurrentTestIdentifier'];if(!_0x116b9e&&_0x58cafc[_0x282413(0xb9)](_0xb9743f['type'],_0x58cafc[_0x282413(0x139)])&&_0xb9743f[_0x282413(0xe6)]){const _0x5d39a4={};_0x5d39a4[_0x282413(0xed)]=_0xb9743f[_0x282413(0xe6)]['name'],_0x5d39a4['parent']=_0xb9743f[_0x282413(0xe6)][_0x282413(0xe6)],_0x5d39a4[_0x282413(0xfb)]=_0xb9743f[_0x282413(0xfb)],_0x5d39a4[_0x282413(0xd5)]=_0xb9743f[_0x282413(0xd5)];const _0x21022f=_0x5d39a4;_0x116b9e=jestUtils[_0x282413(0xcc)](_0x21022f);}return _0x116b9e;}return global[_0x282413(0x138)];}function mapHookTypeToState(_0x572819){const _0x67c722=a17_0xffd5ab,_0x1358de={};_0x1358de['beforeAll']=TestFrameworkState[_0x67c722(0xde)],_0x1358de[_0x67c722(0x119)]=TestFrameworkState[_0x67c722(0x10c)],_0x1358de[_0x67c722(0x13d)]=TestFrameworkState[_0x67c722(0xfd)],_0x1358de[_0x67c722(0xe4)]=TestFrameworkState[_0x67c722(0xe3)];const _0x288d90=_0x1358de;return _0x288d90[_0x572819]||TestFrameworkState['BEFORE_EACH'];}async function handleHookEventCLI(_0x6a8eff,_0x5cf11d,_0x321687){const _0x2f3a78=a17_0xffd5ab,_0x3055bc={'utUqW':function(_0x52a330){return _0x52a330();},'bYgBi':function(_0xbec92e,_0x121d42){return _0xbec92e===_0x121d42;},'YuKFt':'HookRunStarted','UdChS':function(_0x4b78df,_0x287d15){return _0x4b78df(_0x287d15);},'gLWrI':function(_0x35f52b,_0x2ea99f){return _0x35f52b(_0x2ea99f);},'pCShc':'HookRunFinished','AbXoy':_0x2f3a78(0x146),'nvqbD':function(_0x165368,_0x11702d){return _0x165368===_0x11702d;}};logger[_0x2f3a78(0x142)]('Handling\x20hook\x20event\x20for\x20CLI:\x20'+_0x5cf11d+_0x2f3a78(0x162)+_0x6a8eff['type']);try{if(_0x6a8eff['fn']&&_0x6a8eff['fn'][_0x2f3a78(0x153)]()['match'](/browserstack internal helper hook/))return;let _0x3425b9=_0x6a8eff['hookAnalyticsId'];if(!_0x3425b9)_0x3425b9=_0x3055bc[_0x2f3a78(0x159)](uuidv4),_0x6a8eff[_0x2f3a78(0x123)]=_0x3425b9;else _0x6a8eff[_0x2f3a78(0x105)]&&(_0x3425b9=_0x3055bc['utUqW'](uuidv4),_0x6a8eff[_0x2f3a78(0x123)]=_0x3425b9,delete _0x6a8eff[_0x2f3a78(0x105)]);_0x3055bc['bYgBi'](_0x5cf11d,_0x3055bc[_0x2f3a78(0x15b)])&&(_0x6a8eff['started_at']=new Date()[_0x2f3a78(0x15d)]());const _0x443481=_0x3055bc[_0x2f3a78(0xc1)](getTestIdentifierForHook,_0x6a8eff);!global[_0x2f3a78(0x148)]&&(global[_0x2f3a78(0x148)]={});if(_0x3055bc['bYgBi'](_0x5cf11d,_0x3055bc['YuKFt'])){global[_0x2f3a78(0x148)][_0x2f3a78(0x11c)]={'hookUUID':_0x3425b9,'testIdentifier':_0x443481,'hookType':_0x6a8eff[_0x2f3a78(0x14e)],'startedAt':new Date()[_0x2f3a78(0x15d)]()};const _0x5da064=BrowserstackCLI['getInstance']()['getTestFramework']();_0x5da064&&_0x5da064[_0x2f3a78(0xd7)]&&_0x5da064['setActiveHook'](_0x443481,_0x3425b9,_0x6a8eff[_0x2f3a78(0x14e)]);}const _0xd00aea=await jestUtils[_0x2f3a78(0x10e)](_0x6a8eff,_0x3425b9,_0x5cf11d,_0x443481);if(!_0xd00aea)return;const _0x1448de=_0x3055bc['gLWrI'](mapHookTypeToState,_0x6a8eff[_0x2f3a78(0x14e)]),_0x37cc82=_0x3055bc[_0x2f3a78(0x15e)](_0x5cf11d,_0x3055bc[_0x2f3a78(0x15b)])?HookState[_0x2f3a78(0x10a)]:HookState[_0x2f3a78(0xb8)],_0x115f4c=BrowserstackCLI['getInstance']()['getTestFramework']();if(_0x115f4c){const _0x15e36c={};_0x15e36c['hookData']=_0xd00aea,await _0x115f4c[_0x2f3a78(0x152)](_0x1448de,_0x37cc82,_0x15e36c);if(_0x3055bc[_0x2f3a78(0x15e)](_0x5cf11d,_0x3055bc['pCShc'])){const _0x5d314f={};_0x5d314f['testUUID']=_0x443481,_0x5d314f['type']=_0x3055bc[_0x2f3a78(0xc8)],await _0x115f4c[_0x2f3a78(0x152)](TestFrameworkState[_0x2f3a78(0xe7)],HookState['POST'],_0x5d314f),global[_0x2f3a78(0x148)]&&global[_0x2f3a78(0x148)][_0x2f3a78(0x11c)]&&_0x3055bc[_0x2f3a78(0x15f)](global[_0x2f3a78(0x148)][_0x2f3a78(0x11c)][_0x2f3a78(0x12b)],_0x3425b9)&&delete global['__workerDetails'][_0x2f3a78(0x11c)],_0x115f4c[_0x2f3a78(0xcf)]&&_0x115f4c[_0x2f3a78(0xcf)](_0x443481,_0x3425b9);}}}catch(_0x93d773){logger[_0x2f3a78(0x136)]('Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20'+util[_0x2f3a78(0xbd)](_0x93d773));throw _0x93d773;}}async function handleTestEventCLI(_0x35ce2b,_0x38c9ea,_0x11bdd8){const _0x5b1fa0=a17_0xffd5ab,_0x2fbf76={};_0x2fbf76['AYnLc']=function(_0x4e424d,_0x44792e){return _0x4e424d===_0x44792e;},_0x2fbf76[_0x5b1fa0(0xf1)]=_0x5b1fa0(0xc2),_0x2fbf76[_0x5b1fa0(0xbe)]=function(_0x457554,_0x263c52){return _0x457554>_0x263c52;},_0x2fbf76[_0x5b1fa0(0x107)]=function(_0x37a3a8,_0x56d6ea){return _0x37a3a8===_0x56d6ea;},_0x2fbf76[_0x5b1fa0(0xf3)]=function(_0x340e3b,_0x552739){return _0x340e3b&&_0x552739;},_0x2fbf76[_0x5b1fa0(0x149)]=_0x5b1fa0(0x101),_0x2fbf76[_0x5b1fa0(0x14f)]=_0x5b1fa0(0x140),_0x2fbf76['EBJmN']=function(_0x37d23f,_0x5816f0){return _0x37d23f&&_0x5816f0;},_0x2fbf76[_0x5b1fa0(0xea)]=function(_0x179f07,_0x1b938a){return _0x179f07&&_0x1b938a;},_0x2fbf76[_0x5b1fa0(0xe8)]='test';const _0x5ed30f=_0x2fbf76;logger[_0x5b1fa0(0x142)](_0x5b1fa0(0x147)+_0x38c9ea);try{let _0x23142f;if(_0x5ed30f['AYnLc'](_0x38c9ea,_0x5ed30f[_0x5b1fa0(0xf1)])){_0x23142f=jestUtils[_0x5b1fa0(0xcc)](_0x35ce2b),global[_0x5b1fa0(0x138)]=_0x23142f,_0x35ce2b[_0x5b1fa0(0x150)]=_0x23142f,_0x35ce2b['id']=_0x23142f,_0x35ce2b[_0x5b1fa0(0x12a)]=new Date()['toISOString']();const _0x2c8607=_0x11bdd8[_0x5b1fa0(0xd4)];_0x11bdd8[_0x5b1fa0(0xd4)]=_0x35ce2b,_0x35ce2b[_0x5b1fa0(0x12e)]=null;if(_0x5ed30f[_0x5b1fa0(0xbe)](_0x35ce2b[_0x5b1fa0(0x111)],0x0)&&_0x2c8607&&_0x5ed30f[_0x5b1fa0(0x107)](_0x2c8607[_0x5b1fa0(0x11e)],_0x35ce2b['title'])){_0x35ce2b[_0x5b1fa0(0x12e)]=_0x2c8607[_0x5b1fa0(0x150)];const _0x16f5b8=await jestUtils['createTestFrameworkData'](_0x35ce2b,_0x23142f,_0x5ed30f['QErLd']),_0x1092fd=BrowserstackCLI['getInstance']()[_0x5b1fa0(0xff)]();if(_0x5ed30f['NKWvM'](_0x16f5b8,_0x1092fd)){const _0x1a7fe6={};_0x1a7fe6[_0x5b1fa0(0x145)]=_0x16f5b8,await _0x1092fd['trackEvent'](TestFrameworkState['TEST'],HookState['PRE'],_0x1a7fe6);}_0x2c8607['state']=_0x5ed30f[_0x5b1fa0(0x149)];const _0x52d138=await jestUtils['createTestFrameworkData'](_0x2c8607,_0x2c8607[_0x5b1fa0(0x150)],_0x5ed30f[_0x5b1fa0(0x14f)]);if(_0x5ed30f[_0x5b1fa0(0xeb)](_0x52d138,_0x1092fd)){const _0x5bd02d={};_0x5bd02d[_0x5b1fa0(0x145)]=_0x52d138,await _0x1092fd[_0x5b1fa0(0x152)](TestFrameworkState[_0x5b1fa0(0x151)],HookState[_0x5b1fa0(0xb8)],_0x5bd02d);}}else{const _0x5c1d69=await jestUtils[_0x5b1fa0(0xd1)](_0x35ce2b,_0x23142f,_0x5ed30f[_0x5b1fa0(0xf1)]),_0x4d286e=BrowserstackCLI['getInstance']()[_0x5b1fa0(0xff)]();if(_0x5ed30f['xhPSv'](_0x5c1d69,_0x4d286e)){const _0x2305ac={};_0x2305ac['test']=_0x5c1d69,await _0x4d286e['trackEvent'](TestFrameworkState[_0x5b1fa0(0x151)],HookState[_0x5b1fa0(0x10a)],_0x2305ac);}}}else{_0x23142f=_0x35ce2b[_0x5b1fa0(0x150)]||_0x35ce2b['id']||global['__jestCurrentTestIdentifier'];const _0x5583e1=await jestUtils[_0x5b1fa0(0xd1)](_0x35ce2b,_0x23142f,_0x38c9ea),_0x420444=BrowserstackCLI['getInstance']()[_0x5b1fa0(0xff)]();if(_0x5ed30f[_0x5b1fa0(0xea)](_0x5583e1,_0x420444)){const _0x5ed2dd={};_0x5ed2dd[_0x5b1fa0(0x145)]=_0x5583e1,_0x5ed2dd[_0x5b1fa0(0x13b)]=_0x35ce2b,await _0x420444[_0x5b1fa0(0x152)](TestFrameworkState[_0x5b1fa0(0x151)],HookState[_0x5b1fa0(0xb8)],_0x5ed2dd);const _0x24e376={};_0x24e376[_0x5b1fa0(0xcd)]=_0x23142f,_0x24e376[_0x5b1fa0(0x14e)]=_0x5ed30f['FxaaK'],await _0x420444[_0x5b1fa0(0x152)](TestFrameworkState[_0x5b1fa0(0xe7)],HookState[_0x5b1fa0(0xb8)],_0x24e376);}}}catch(_0x4ae5e4){logger['error']('Error\x20handling\x20test\x20event\x20for\x20CLI:\x20'+util[_0x5b1fa0(0xbd)](_0x4ae5e4));throw _0x4ae5e4;}}exportsI[a17_0xffd5ab(0xc5)]=(..._0x436904)=>{const _0x446179=a17_0xffd5ab,_0x1c4575={'tlsaX':function(_0x5a5a2d,_0x31f34e,_0x4092f9){return _0x5a5a2d(_0x31f34e,_0x4092f9);},'tVAZT':_0x446179(0x13f),'Ctjhj':_0x446179(0xdc),'xfElJ':_0x446179(0x133),'wuMod':function(_0x4cdb11,_0xff3fd7){return _0x4cdb11(_0xff3fd7);},'hJJgd':function(_0x5ab44b){return _0x5ab44b();},'flsPv':function(_0x452d26,_0x568cd9,_0x1a28a7,_0x1ca8f4){return _0x452d26(_0x568cd9,_0x1a28a7,_0x1ca8f4);},'ZspZZ':_0x446179(0x12d),'bPqvs':'hook_success','ebleC':function(_0x141cc8,_0x533628){return _0x141cc8(_0x533628);},'jfFVi':function(_0x5df504){return _0x5df504();},'OdOQp':function(_0x526e41,_0x37225f,_0x36a136,_0x320142){return _0x526e41(_0x37225f,_0x36a136,_0x320142);},'orJIF':_0x446179(0x14d),'RnSIr':function(_0x212ef1,_0x26122d){return _0x212ef1(_0x26122d);},'Iqvsm':_0x446179(0x132),'NaOuD':'beforeAll','LUmnN':_0x446179(0x13d),'yXavy':'afterEach','SskpC':function(_0x4c4ef3,_0x4c661a){return _0x4c4ef3>_0x4c661a;},'UXSVf':function(_0x5aef34,_0x16a93b){return _0x5aef34(_0x16a93b);},'YpdRM':_0x446179(0xf6),'jriAJ':function(_0x253bb2){return _0x253bb2();},'YeuQj':function(_0xf8551f,_0x3f9db1,_0x359293,_0x2a7294){return _0xf8551f(_0x3f9db1,_0x359293,_0x2a7294);},'MIGQg':_0x446179(0xc2),'HDPqj':function(_0x32b5f8,_0x2fab7a){return _0x32b5f8(_0x2fab7a);},'hvBwc':_0x446179(0xd6),'RiZvi':function(_0x4c3b14){return _0x4c3b14();},'uWNtJ':function(_0x32389f){return _0x32389f();},'ySLUw':_0x446179(0x140),'tUDBp':function(_0x1f36a0,_0x2e7a6e){return _0x1f36a0(_0x2e7a6e);},'YivoB':'test_skip','iqBya':function(_0x2ef251){return _0x2ef251();},'SdAgz':function(_0x22e6b7,_0x989fb0,_0x3ad270,_0x53de7b){return _0x22e6b7(_0x989fb0,_0x3ad270,_0x53de7b);},'VfVly':_0x446179(0x128),'ThWwi':function(_0x5ed730,_0x440338){return _0x5ed730(_0x440338);},'hFExU':_0x446179(0xf7),'ErbwZ':_0x446179(0x14a),'iJXIX':function(_0x29523a){return _0x29523a();},'ZGxML':function(_0x365ec2){return _0x365ec2();},'iuxMh':function(_0x28b221){return _0x28b221();},'epslf':_0x446179(0xdf),'WNVDH':function(_0x13db6f,_0x4abfd4,_0x227ac5){return _0x13db6f(_0x4abfd4,_0x227ac5);},'nTLvr':_0x446179(0xce),'RBzvE':function(_0x37cb93,_0x4c48b5){return _0x37cb93(_0x4c48b5);}};try{const _0x3221d4=new ObservabilityReporter();_0x1c4575[_0x446179(0x13e)](shouldProcessEventForTesthub)&&(_0x1c4575[_0x446179(0xfe)](patchConsoleLogger),_0x3221d4[_0x446179(0xdd)]()),_0x1c4575['iuxMh'](shouldProcessEventForTesthub)&&_0x1c4575['tlsaX'](requireModule,_0x1c4575['epslf'],_0x1c4575[_0x446179(0x120)])[_0x446179(0x115)](_0x1c4575[_0x446179(0xd3)](o11yErrorHandler,async(_0x1ccf96,_0x1737cd)=>{const _0x20cbb9=_0x446179,_0x494f3c=_0x1c4575['tlsaX'](requireModule,_0x1c4575[_0x20cbb9(0x141)],_0x1c4575['Ctjhj'])[_0x20cbb9(0x135)];switch(_0x1ccf96[_0x20cbb9(0xed)]){case _0x1c4575[_0x20cbb9(0xcb)]:if(_0x1c4575[_0x20cbb9(0x11a)](shouldProcessEventForTesthub,testHubConstants[_0x20cbb9(0xbb)]['HookStarted'])){if(_0x1ccf96['hook']['fn']&&_0x1ccf96[_0x20cbb9(0x146)]['fn'][_0x20cbb9(0x153)]()['match'](/browserstack internal helper hook/))break;if(BrowserstackCLI[_0x20cbb9(0xf0)]()[_0x20cbb9(0x161)]()&&await _0x1c4575[_0x20cbb9(0x113)](isCLIReady))try{await _0x1c4575[_0x20cbb9(0xc4)](handleHookEventCLI,_0x1ccf96[_0x20cbb9(0x146)],_0x1c4575[_0x20cbb9(0xd9)],_0x1737cd);break;}catch(_0xf06237){_0x1c4575['wuMod'](debug,_0x20cbb9(0xc0)+util['format'](_0xf06237));}if(!_0x1ccf96['hook'][_0x20cbb9(0x123)]){const _0x5ac718=TestDetails[_0x20cbb9(0x160)](process[_0x20cbb9(0xc6)]+_0x20cbb9(0x114));_0x1ccf96[_0x20cbb9(0x146)][_0x20cbb9(0x123)]=_0x5ac718;}else _0x1ccf96[_0x20cbb9(0x146)][_0x20cbb9(0x105)]&&(_0x1ccf96[_0x20cbb9(0x146)][_0x20cbb9(0x123)]=TestDetails[_0x20cbb9(0x160)](process[_0x20cbb9(0xc6)]+_0x20cbb9(0x114)),delete _0x1ccf96[_0x20cbb9(0x146)][_0x20cbb9(0x105)]);_0x1ccf96[_0x20cbb9(0x146)]['started_at']=new Date()[_0x20cbb9(0x15d)](),await _0x3221d4['sendTestRunEvent'](_0x1ccf96[_0x20cbb9(0x146)],undefined,![],_0x1c4575[_0x20cbb9(0xd9)]);}break;case _0x1c4575[_0x20cbb9(0xda)]:if(_0x1c4575[_0x20cbb9(0x137)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x20cbb9(0x13c)])){if(BrowserstackCLI[_0x20cbb9(0xf0)]()[_0x20cbb9(0x161)]()&&await _0x1c4575['jfFVi'](isCLIReady))try{await _0x1c4575[_0x20cbb9(0xd2)](handleHookEventCLI,_0x1ccf96[_0x20cbb9(0x146)],_0x1c4575[_0x20cbb9(0xf2)],_0x1737cd);break;}catch(_0x11074d){_0x1c4575['RnSIr'](debug,_0x20cbb9(0xc0)+util[_0x20cbb9(0xbd)](_0x11074d));}await _0x3221d4['sendTestRunEvent'](_0x1ccf96[_0x20cbb9(0x146)],undefined,![],_0x1c4575[_0x20cbb9(0xf2)]),TestDetails['removeTestUUID'](process[_0x20cbb9(0xc6)]+_0x20cbb9(0x114));}break;case _0x1c4575[_0x20cbb9(0xc9)]:[_0x1c4575[_0x20cbb9(0x10d)],_0x1c4575[_0x20cbb9(0x12c)],_0x1c4575[_0x20cbb9(0x155)]][_0x20cbb9(0xe1)](_0x1ccf96[_0x20cbb9(0x146)][_0x20cbb9(0x14e)])&&(_0x3221d4['hook_failure']=_0x1ccf96[_0x20cbb9(0x146)][_0x20cbb9(0x14e)]),_0x1737cd[_0x20cbb9(0x13a)]&&_0x1c4575[_0x20cbb9(0x108)](_0x1737cd[_0x20cbb9(0x13a)][_0x20cbb9(0x110)],0x0)&&(_0x1ccf96[_0x20cbb9(0x146)][_0x20cbb9(0xe2)]=[_0x1737cd['unhandledErrors'][0x0][0x0]]);if(_0x1c4575[_0x20cbb9(0x12f)](shouldProcessEventForTesthub,testHubConstants[_0x20cbb9(0xbb)][_0x20cbb9(0x13c)])){if(BrowserstackCLI[_0x20cbb9(0xf0)]()[_0x20cbb9(0x161)]()&&await _0x1c4575[_0x20cbb9(0x14b)](isCLIReady))try{await _0x1c4575[_0x20cbb9(0xc4)](handleHookEventCLI,_0x1ccf96[_0x20cbb9(0x146)],_0x1c4575[_0x20cbb9(0xf2)],_0x1737cd);break;}catch(_0x1f1305){_0x1c4575[_0x20cbb9(0xee)](debug,_0x20cbb9(0xc0)+util['format'](_0x1f1305));}await _0x3221d4['sendTestRunEvent'](_0x1ccf96['hook'],undefined,![],_0x1c4575['orJIF']),TestDetails[_0x20cbb9(0x124)](process['pid']+':hookAnalyticsId');}break;case _0x1c4575[_0x20cbb9(0xf4)]:if(_0x1c4575[_0x20cbb9(0x113)](shouldProcessEventForTesthub)){if(BrowserstackCLI[_0x20cbb9(0xf0)]()['isCliEnabled']()&&await _0x1c4575[_0x20cbb9(0xe9)](isCLIReady))try{await _0x1c4575[_0x20cbb9(0x134)](handleTestEventCLI,_0x1ccf96[_0x20cbb9(0x145)],_0x1c4575[_0x20cbb9(0x156)],_0x3221d4);break;}catch(_0x3ddac4){_0x1c4575[_0x20cbb9(0x129)](debug,_0x20cbb9(0xc0)+util['format'](_0x3ddac4));}await _0x3221d4[_0x20cbb9(0xbf)](_0x1ccf96[_0x20cbb9(0x145)]);}break;case _0x1c4575[_0x20cbb9(0x158)]:_0x1ccf96[_0x20cbb9(0x145)]={..._0x1c4575['wuMod'](_0x494f3c,_0x1ccf96['test']),..._0x1ccf96[_0x20cbb9(0x145)]};if(_0x1c4575[_0x20cbb9(0x10f)](shouldProcessEventForTesthub)){if(!_0x1ccf96[_0x20cbb9(0x145)][_0x20cbb9(0x105)]){_0x1ccf96[_0x20cbb9(0x145)][_0x20cbb9(0x105)]=!![];if(BrowserstackCLI[_0x20cbb9(0xf0)]()[_0x20cbb9(0x161)]()&&await _0x1c4575[_0x20cbb9(0x154)](isCLIReady))try{await _0x1c4575[_0x20cbb9(0xd2)](handleTestEventCLI,_0x1ccf96['test'],_0x1c4575['ySLUw'],_0x3221d4);break;}catch(_0x55e725){_0x1c4575[_0x20cbb9(0x130)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x20cbb9(0xbd)](_0x55e725));}await _0x3221d4[_0x20cbb9(0x131)](_0x1ccf96[_0x20cbb9(0x145)]);}}break;case _0x1c4575[_0x20cbb9(0x106)]:_0x1ccf96['test']={..._0x1c4575[_0x20cbb9(0xee)](_0x494f3c,_0x1ccf96[_0x20cbb9(0x145)]),..._0x1ccf96[_0x20cbb9(0x145)]};if(_0x1c4575['iqBya'](shouldProcessEventForTesthub)){if(!_0x1ccf96[_0x20cbb9(0x145)][_0x20cbb9(0x105)]){_0x1ccf96[_0x20cbb9(0x145)][_0x20cbb9(0x105)]=!![];if(BrowserstackCLI['getInstance']()[_0x20cbb9(0x161)]()&&await _0x1c4575['RiZvi'](isCLIReady))try{await _0x1c4575[_0x20cbb9(0x102)](handleTestEventCLI,_0x1ccf96[_0x20cbb9(0x145)],_0x1c4575[_0x20cbb9(0x157)],_0x3221d4);break;}catch(_0x452159){_0x1c4575['ThWwi'](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x20cbb9(0xbd)](_0x452159));}await _0x3221d4['sendTestRunEvent'](_0x1ccf96['test'],undefined,![],_0x1c4575[_0x20cbb9(0x157)]);}}break;case _0x1c4575[_0x20cbb9(0x103)]:_0x3221d4['hook_failure']=null;break;case _0x1c4575['ErbwZ']:await RequestQueueHandler['getInstance']()['shutdown'](),process[_0x20cbb9(0x125)]();break;default:}},_0x1c4575['nTLvr']));}catch(_0x3a5325){_0x1c4575['RBzvE'](debug,'Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20'+_0x3a5325);}return _0x1c4575['RnSIr'](initInitialize,..._0x436904);};try{Object[a17_0xffd5ab(0x144)](exportsI)[a17_0xffd5ab(0xd8)](_0xa48533=>{const _0xd179fc=a17_0xffd5ab,_0x273aab={'eHUnz':function(_0x11a0e2,_0x13ced5){return _0x11a0e2(_0x13ced5);}};try{exports&&(exports[_0xa48533]=exportsI[_0xa48533]);}catch(_0xefa159){_0x273aab['eHUnz'](debug,_0xd179fc(0x112)+_0xefa159);}});}catch(a17_0x2db5e1){debug('Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20'+a17_0x2db5e1);}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a18_0x41ed76=a18_0x2150;function a18_0x2150(_0x3d3781,_0x4b1bed){const _0x3545a4=a18_0x3545();return a18_0x2150=function(_0x2150a2,_0x16b244){_0x2150a2=_0x2150a2-0x13b;let _0x52aa16=_0x3545a4[_0x2150a2];return _0x52aa16;},a18_0x2150(_0x3d3781,_0x4b1bed);}(function(_0x39677f,_0x3f3277){const _0x30bf61=a18_0x2150,_0x316e87=_0x39677f();while(!![]){try{const _0x24d963=parseInt(_0x30bf61(0x143))/0x1*(-parseInt(_0x30bf61(0x145))/0x2)+-parseInt(_0x30bf61(0x146))/0x3+-parseInt(_0x30bf61(0x14c))/0x4*(parseInt(_0x30bf61(0x13c))/0x5)+parseInt(_0x30bf61(0x142))/0x6*(-parseInt(_0x30bf61(0x14e))/0x7)+parseInt(_0x30bf61(0x149))/0x8+-parseInt(_0x30bf61(0x140))/0x9+parseInt(_0x30bf61(0x13f))/0xa*(parseInt(_0x30bf61(0x141))/0xb);if(_0x24d963===_0x3f3277)break;else _0x316e87['push'](_0x316e87['shift']());}catch(_0x399845){_0x316e87['push'](_0x316e87['shift']());}}}(a18_0x3545,0x2bd69));const Sequencer=require(a18_0x41ed76(0x148))[a18_0x41ed76(0x147)];class CustomSequencer extends Sequencer{['sort'](_0x5ab7cd){const _0x3de1f2=a18_0x41ed76,_0x1dd437=process[_0x3de1f2(0x14d)]['JEST_TEST_ORDER'];if(!_0x1dd437)return _0x5ab7cd;const _0x2698dc=_0x1dd437['split'](','),_0x2782e9=new Map(_0x5ab7cd[_0x3de1f2(0x13b)](_0x5d2475=>_0x2698dc[_0x3de1f2(0x13d)](_0x5d2475[_0x3de1f2(0x13e)]))[_0x3de1f2(0x144)](_0x3187f2=>[_0x3187f2[_0x3de1f2(0x13e)],_0x3187f2]));return _0x2698dc[_0x3de1f2(0x144)](_0x3e1bfe=>_0x2782e9[_0x3de1f2(0x14b)](_0x3e1bfe))[_0x3de1f2(0x13b)](Boolean);}}module[a18_0x41ed76(0x14a)]=CustomSequencer;function a18_0x3545(){const _0x4998b8=['default','@jest/test-sequencer','870472nfdLVp','exports','get','242184VLkFHX','env','7lrcYYr','filter','15WsRDxU','includes','path','2994130ouUymH','355680sEEfYj','22oVCkmE','747384eqKcQK','23197VNOfRr','map','12YTrytg','129510zXFzeQ'];a18_0x3545=function(){return _0x4998b8;};return a18_0x3545();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a19_0x147d40=a19_0x1fe3;(function(_0x5087f1,_0x18c46a){const _0x32d938=a19_0x1fe3,_0x169770=_0x5087f1();while(!![]){try{const _0x5948c6=-parseInt(_0x32d938(0x107))/0x1*(parseInt(_0x32d938(0x111))/0x2)+parseInt(_0x32d938(0x115))/0x3+-parseInt(_0x32d938(0xfc))/0x4+parseInt(_0x32d938(0xfe))/0x5*(parseInt(_0x32d938(0x117))/0x6)+parseInt(_0x32d938(0x11c))/0x7*(-parseInt(_0x32d938(0x101))/0x8)+parseInt(_0x32d938(0x102))/0x9*(parseInt(_0x32d938(0x104))/0xa)+-parseInt(_0x32d938(0x105))/0xb*(-parseInt(_0x32d938(0x10b))/0xc);if(_0x5948c6===_0x18c46a)break;else _0x169770['push'](_0x169770['shift']());}catch(_0x38df4c){_0x169770['push'](_0x169770['shift']());}}}(a19_0x2ad0,0xd22ef));const {requireModule,isBrowserstackInfra}=require(a19_0x147d40(0x10c)),a19_0x579112={};a19_0x579112[a19_0x147d40(0x110)]=!![],Object[a19_0x147d40(0x113)](exports,a19_0x147d40(0x112),a19_0x579112),exports[a19_0x147d40(0x106)]=void 0x0;function _interopRequireDefault(_0x4fe0af){return _0x4fe0af&&_0x4fe0af['__esModule']?_0x4fe0af:{'default':_0x4fe0af};}const JestRunner=_interopRequireDefault(requireModule(a19_0x147d40(0x114)))['default'];function a19_0x1fe3(_0x49f22c,_0x12799b){const _0x2ad038=a19_0x2ad0();return a19_0x1fe3=function(_0x1fe340,_0x3ad841){_0x1fe340=_0x1fe340-0xf9;let _0x4efee7=_0x2ad038[_0x1fe340];return _0x4efee7;},a19_0x1fe3(_0x49f22c,_0x12799b);}class TestRunner extends JestRunner{constructor(..._0x34e5df){super(..._0x34e5df);}[a19_0x147d40(0xfa)](..._0xea8477){const _0x3cf927=a19_0x147d40,_0x2326db={'AqvoK':function(_0x433236){return _0x433236();},'RGdGn':function(_0x1367e7,_0x5e211d){return _0x1367e7-_0x5e211d;},'CRdeO':function(_0x23e1de,_0x37e566){return _0x23e1de*_0x37e566;},'HJKoQ':function(_0xc30a38,_0x1a1c7b){return _0xc30a38===_0x1a1c7b;},'cuWRy':_0x3cf927(0x100),'yOHHD':function(_0x300e6c,_0x59f4ea){return _0x300e6c<_0x59f4ea;}};if(!_0x2326db[_0x3cf927(0x10d)](isBrowserstackInfra))return super['runTests'](..._0xea8477);const _0x2fe2f8=_0xea8477[0x0],_0x12fecb=_0xea8477[_0x2326db[_0x3cf927(0x119)](_0xea8477[_0x3cf927(0xff)],0x1)],_0x4bae59=_0x2fe2f8[0x0][_0x3cf927(0x108)][_0x3cf927(0x11a)]['testEnvironmentOptions'][_0x3cf927(0x118)],_0x20a637=_0x2fe2f8[0x0][_0x3cf927(0x108)][_0x3cf927(0x11a)]['testEnvironmentOptions'][_0x3cf927(0x10a)];_0x20a637&&(this[_0x3cf927(0x10f)]=Object[_0x3cf927(0x109)]({...this[_0x3cf927(0x10f)],'maxWorkers':_0x2326db['CRdeO'](_0x20a637,_0x4bae59['length'])}));_0x2326db[_0x3cf927(0x103)](_0x2fe2f8[0x0][_0x3cf927(0x108)]['config'][_0x3cf927(0xfb)][_0x3cf927(0xf9)],_0x2326db[_0x3cf927(0x10e)])&&(_0x12fecb&&(_0x12fecb['serial']=![]));const _0x3e054e=[];for(let _0x14d2fe=0x0;_0x2326db[_0x3cf927(0x116)](_0x14d2fe,_0x2fe2f8[_0x3cf927(0xff)]);_0x14d2fe++){const _0x5e03cd=[];_0x4bae59[_0x3cf927(0x11b)]((_0x2abe79,_0x7b0847)=>{const _0x14262f=_0x3cf927,_0x26d8d5={..._0x2fe2f8[_0x14d2fe]},_0x1b15b6=_0x26d8d5;_0x1b15b6[_0x14262f(0x108)]=Object[_0x14262f(0x109)]({..._0x1b15b6[_0x14262f(0x108)],'config':{..._0x1b15b6['context'][_0x14262f(0x11a)],'capability':_0x2abe79,'browserstackPlatformIndex':_0x7b0847}}),_0x5e03cd[_0x14262f(0xfd)](_0x1b15b6);}),_0x3e054e['push'](..._0x5e03cd);}return super[_0x3cf927(0xfa)](_0x3e054e,..._0xea8477['slice'](0x1));}}module['exports']=TestRunner;function a19_0x2ad0(){const _0x3670e1=['30294SaghKx','default','36565CxOsMr','context','freeze','parallels__','10728eCDCAU','../../../helpers/helper','AqvoK','cuWRy','_globalConfig','value','78iMRsLn','__esModule','defineProperty','jest-runner','929652mojoQT','yOHHD','1404JqxxKi','capabilities','RGdGn','config','forEach','1336748aQUUYJ','serial__','runTests','testEnvironmentOptions','3622392AlNYPN','push','16690QVMoNX','length','false','24TwZjzS','18LUGSax','HJKoQ','1061920ZAcMuP'];a19_0x2ad0=function(){return _0x3670e1;};return a19_0x2ad0();}
|