browserstack-node-sdk 1.63.4 → 1.63.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/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/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/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/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/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/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/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
package/src/bin/jest/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a18_0x3c5ac0=a18_0x2585;(function(_0x255e7f,_0x34d3fc){const _0x4f1468=a18_0x2585,_0x2ea690=_0x255e7f();while(!![]){try{const _0x14b3d7=-parseInt(_0x4f1468(0x129))/0x1+parseInt(_0x4f1468(0x1a0))/0x2+parseInt(_0x4f1468(0x19a))/0x3*(parseInt(_0x4f1468(0x141))/0x4)+-parseInt(_0x4f1468(0xd8))/0x5*(parseInt(_0x4f1468(0x1b9))/0x6)+parseInt(_0x4f1468(0x105))/0x7*(-parseInt(_0x4f1468(0x126))/0x8)+parseInt(_0x4f1468(0x119))/0x9*(parseInt(_0x4f1468(0x185))/0xa)+parseInt(_0x4f1468(0x17e))/0xb;if(_0x14b3d7===_0x34d3fc)break;else _0x2ea690['push'](_0x2ea690['shift']());}catch(_0x3344cd){_0x2ea690['push'](_0x2ea690['shift']());}}}(a18_0x3c9b,0x86fec));function a18_0x2585(_0x278ca4,_0xee9ae7){const _0x3c9be4=a18_0x3c9b();return a18_0x2585=function(_0x258574,_0x37328f){_0x258574=_0x258574-0xcc;let _0x46ad21=_0x3c9be4[_0x258574];return _0x46ad21;},a18_0x2585(_0x278ca4,_0xee9ae7);}const fs=require('fs'),path=require(a18_0x3c5ac0(0x135)),util=require(a18_0x3c5ac0(0x19f)),{spawn}=require(a18_0x3c5ac0(0x184)),logger=require(a18_0x3c5ac0(0xcf))[a18_0x3c5ac0(0xdb)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),utilities=require(a18_0x3c5ac0(0x17c)),constants=require(a18_0x3c5ac0(0xe8)),accessibilityHelper=require('../../helpers/accessibility-automation/helper'),{updateTestRerunConfig}=require(a18_0x3c5ac0(0xf4)),testOpsHelper=require(a18_0x3c5ac0(0xd9)),{debug}=require(a18_0x3c5ac0(0xd9)),TestDetails=require('./test-observability/test-details'),{getPercyOptions}=require('../../helpers/percy/utils'),TestHubHandler=require(a18_0x3c5ac0(0x1b1)),testhubUtils=require(a18_0x3c5ac0(0x164)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),PerformanceTester=require(a18_0x3c5ac0(0xf1)),PerformanceEvents=require(a18_0x3c5ac0(0x101))[a18_0x3c5ac0(0x13b)],TestOrchestrationHandler=require(a18_0x3c5ac0(0x186)),BrowserstackCLI=require('../v2/browserstackCLI'),{checkPwandBootstrapCli}=require('../../helpers/playwright-helper'),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a18_0x3c5ac0(0x138)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),getUserJestConfigs=async(_0xdd1108,_0x6e4f14)=>{const _0x1d7690=a18_0x3c5ac0,_0x4acfce={'Cxabs':'jest-config/build/readConfigFileAndSetRootDir.js','zvAKA':_0x1d7690(0x131),'KBzbv':function(_0x4eec58,_0x4b1fbd){return _0x4eec58||_0x4b1fbd;},'nXbaY':function(_0x1d2024,_0x395bfb){return _0x1d2024(_0x395bfb);},'ZLgwG':_0x1d7690(0xcc),'vLLgH':_0x1d7690(0x13a),'zPjoy':_0x1d7690(0x102),'Rmhpu':_0x1d7690(0x1a3),'npJTF':_0x1d7690(0xe1)};let _0xc13890;try{_0xc13890=helper[_0x1d7690(0x190)](_0x4acfce[_0x1d7690(0xde)],_0x4acfce[_0x1d7690(0x133)]);}catch{const _0x3dbee3=helper[_0x1d7690(0x190)](_0x4acfce[_0x1d7690(0x133)]);_0xc13890={'default':async _0x20bc23=>{const _0x3cf5d5=_0x1d7690,_0x5eae53=await _0x3dbee3[_0x3cf5d5(0x10e)](_0x20bc23,{});return _0x5eae53[_0x3cf5d5(0x14d)];}};}const _0x3183fd=_0x6e4f14[_0x1d7690(0x11b)](_0x377b37=>_0x377b37==='--config');if(!helper[_0x1d7690(0xe7)](_0xdd1108[_0x1d7690(0x14d)])){logger['info'](_0x1d7690(0xf6)+_0xdd1108[_0x1d7690(0x14d)]),process[_0x1d7690(0x1a7)][_0x1d7690(0x151)]=_0xdd1108['config'];const _0x1e0a1b=await(0x0,_0xc13890['default'])(path[_0x1d7690(0x165)](_0xdd1108[_0x1d7690(0x14d)]));return _0x6e4f14[_0x1d7690(0x1c5)](_0x3183fd,0x2),_0x4acfce[_0x1d7690(0xda)](_0x1e0a1b,{});}const _0x2f4e35=_0x4acfce[_0x1d7690(0x11c)](require,path['join'](process[_0x1d7690(0x11d)](),_0x4acfce['ZLgwG']));if(_0x2f4e35[_0x1d7690(0x161)])return logger[_0x1d7690(0x1bb)](_0x4acfce[_0x1d7690(0xfd)]),_0x2f4e35['jest'];const _0x5dbfed=['js',_0x4acfce[_0x1d7690(0x13d)],_0x4acfce[_0x1d7690(0x11f)],_0x4acfce['npJTF'],'ts'];for(const _0x5f120e of _0x5dbfed){const _0x593769=path[_0x1d7690(0xeb)](process[_0x1d7690(0x11d)](),_0x1d7690(0x168)+_0x5f120e);if(fs[_0x1d7690(0x110)](_0x593769)){process[_0x1d7690(0x1a7)]['USER_CONFIG_DETAILS_PATH']=_0x593769;const _0x30a43b=await(0x0,_0xc13890[_0x1d7690(0x143)])(_0x593769);return _0x30a43b;}}return{};},getSerial=(_0x4ea88e,_0x52575f)=>{const _0x115ed6=a18_0x3c5ac0,_0x13ab9f={};_0x13ab9f[_0x115ed6(0x103)]=_0x115ed6(0x19b),_0x13ab9f[_0x115ed6(0x154)]=function(_0x1f4f3e,_0x3e927b){return _0x1f4f3e>_0x3e927b;},_0x13ab9f['XeWek']=function(_0x25bfcc,_0x499e05){return _0x25bfcc>_0x499e05;},_0x13ab9f['ijMvR']=_0x115ed6(0x19c);const _0x24d8b5=_0x13ab9f;let _0xdfd103=_0x24d8b5['RaYbH'];return _0x24d8b5[_0x115ed6(0x154)](_0x4ea88e[_0x115ed6(0xd3)],0x1)&&(!_0x52575f[_0x115ed6(0x1c6)]&&(helper[_0x115ed6(0xe7)](_0x52575f[_0x115ed6(0x160)])||_0x24d8b5[_0x115ed6(0x14b)](_0x52575f[_0x115ed6(0x160)],0x1)))&&(_0xdfd103=_0x24d8b5[_0x115ed6(0x1a9)]),_0xdfd103;},getMaxWorkers=(_0x1114e8,_0x5a51ec,_0x19b125)=>{const _0x5e492a=a18_0x3c5ac0,_0x2b84da={'JxEUt':function(_0x519876,_0x5ced28){return _0x519876(_0x5ced28);}};let _0x395e9a=0x1;if(!helper[_0x5e492a(0xe7)](_0x5a51ec['parallelsPerPlatform']))_0x395e9a=_0x2b84da['JxEUt'](parseInt,_0x5a51ec[_0x5e492a(0x1c8)]);else{if(!helper[_0x5e492a(0xe7)](_0x1114e8['maxWorkers']))_0x395e9a=_0x1114e8[_0x5e492a(0x160)];else!helper[_0x5e492a(0xe7)](_0x19b125[_0x5e492a(0x160)])&&(_0x395e9a=_0x19b125[_0x5e492a(0x160)]);}return _0x395e9a;};async function run(_0x231e0b,_0xf17d9d,_0x2ce5ec){const _0x175b4c=a18_0x3c5ac0,_0x37b4c8={'KfhIq':'error\x20removing\x20tcg\x20config\x20file','Exwfm':_0x175b4c(0x161),'bAhmn':function(_0x1d0d30,_0x135cb8){return _0x1d0d30(_0x135cb8);},'eOSTd':'@playwright/test','DgTjc':function(_0x4d27ef){return _0x4d27ef();},'XatJN':function(_0x35553c,_0xf89e59,_0x4f731a,_0x9a0ce4){return _0x35553c(_0xf89e59,_0x4f731a,_0x9a0ce4);},'zzbtw':function(_0x5ca547,_0x420328){return _0x5ca547!=_0x420328;},'NAPva':'true','oeNrC':function(_0x5dd398,_0x28bd9e,_0x1a2f36){return _0x5dd398(_0x28bd9e,_0x1a2f36);},'eIOhv':_0x175b4c(0x155),'FvXkQ':'false','cnffQ':function(_0x416e46,_0x34aa96,_0x180f10){return _0x416e46(_0x34aa96,_0x180f10);},'WJhjW':function(_0x12e875,_0x104b3b){return _0x12e875*_0x104b3b;},'oKUmy':function(_0x3f795c,_0x41d725){return _0x3f795c===_0x41d725;},'yWIId':'jest_browserstack.config.cjs','IthDA':_0x175b4c(0x17a),'jLgcf':'customImplements','gdeTR':_0x175b4c(0xe4),'qWVAB':'customTestRunner.js','YcMog':'customTestRunnerTemplate.js','jtTBY':_0x175b4c(0x13c),'DOqNQ':function(_0x236ad6,_0x33d737){return _0x236ad6!==_0x33d737;},'PdcsE':_0x175b4c(0x1ae),'KtCuX':'jest-runner-','dujkT':_0x175b4c(0x134),'QOUCb':'customSequencer.js','knVoK':_0x175b4c(0x127),'QDWZl':'jest-circus','htxht':_0x175b4c(0x162),'iwKGT':function(_0x1435a3,_0x19a779){return _0x1435a3(_0x19a779);},'rPaYm':_0x175b4c(0x106),'egaOh':_0x175b4c(0x1c0),'kNSOx':_0x175b4c(0x15f),'AniAt':_0x175b4c(0xec),'oAUuU':_0x175b4c(0xee),'kgRhX':'playwright','uoKhs':_0x175b4c(0x1c1),'uezsS':_0x175b4c(0x1b6),'glLQS':_0x175b4c(0x1b7),'kOaOE':function(_0x5eb852,_0x4455c2){return _0x5eb852&&_0x4455c2;},'vYGHM':_0x175b4c(0x16e),'OVPBY':_0x175b4c(0x10f),'jBeSl':_0x175b4c(0x11e),'YBTJT':_0x175b4c(0x143),'MpQvp':function(_0x248bae,_0x3bd815,_0xc5acef){return _0x248bae(_0x3bd815,_0xc5acef);},'dnAwt':_0x175b4c(0x178),'AulrG':_0x175b4c(0x199),'HlKTj':'Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','TAyrn':function(_0x4fe5cc,_0x2e5254){return _0x4fe5cc>_0x2e5254;},'TBWVT':_0x175b4c(0x170),'qvVJr':_0x175b4c(0x183),'CSgaw':function(_0x237fb2,_0x52e443,_0x253fe6,_0x14fe58){return _0x237fb2(_0x52e443,_0x253fe6,_0x14fe58);},'QgCwa':'npx','HyJrk':function(_0x4f16b6,_0x314c27){return _0x4f16b6===_0x314c27;},'iiWRD':'win32','bFdTN':_0x175b4c(0x1a2),'tQEWY':_0x175b4c(0xff)},_0x2c5c4b=helper[_0x175b4c(0x146)](_0x37b4c8[_0x175b4c(0x130)]);global[_0x175b4c(0x181)]=!!_0x2c5c4b;const _0x1e9f60=_0x37b4c8[_0x175b4c(0x14a)](getPuppeteerVersion);global[_0x175b4c(0x19d)]=!!_0x1e9f60;helper[_0x175b4c(0x1c9)]()?(await _0x2ce5ec[_0x175b4c(0x172)](_0x231e0b),await helper[_0x175b4c(0x1b3)](_0x2ce5ec[_0x175b4c(0x14d)])):await _0x2ce5ec[_0x175b4c(0x166)]();if(_0x2c5c4b)await _0x37b4c8[_0x175b4c(0xdd)](checkPwandBootstrapCli,_0x2c5c4b,constants[_0x175b4c(0x111)]['JEST'],_0x2ce5ec);else _0x1e9f60&&await _0x37b4c8[_0x175b4c(0xdd)](checkPuppeteerAndBootstrapCli,_0x1e9f60,constants[_0x175b4c(0x111)][_0x175b4c(0x128)],_0x2ce5ec);!BrowserstackCLI['getInstance']()[_0x175b4c(0x1a8)]()&&await _0x2ce5ec['setupBrowserstackLocal']();if(!_0x2ce5ec[_0x175b4c(0x14d)])return;_0x37b4c8[_0x175b4c(0xcd)](_0x2ce5ec[_0x175b4c(0x14d)][_0x175b4c(0x13e)],null)?process[_0x175b4c(0x1a7)][_0x175b4c(0x16f)]=_0x2ce5ec[_0x175b4c(0x14d)]['testObservability']:process[_0x175b4c(0x1a7)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x37b4c8['NAPva'];const _0x427ae7=new TestOrchestrationHandler(_0x2ce5ec[_0x175b4c(0x14d)]),_0x418fc6=await _0x37b4c8['oeNrC'](getUserJestConfigs,_0x231e0b,_0xf17d9d);logger[_0x175b4c(0x1bb)](_0x37b4c8[_0x175b4c(0xe0)]);const _0xcaef3e=Object[_0x175b4c(0x191)]({},_0x418fc6);_0xcaef3e[_0x175b4c(0x18d)]=Object[_0x175b4c(0x191)]({},_0xcaef3e[_0x175b4c(0x18d)],{'server':helper[_0x175b4c(0x1ab)](_0x2ce5ec['config']),'environment':_0x418fc6[_0x175b4c(0x114)]}),_0xcaef3e[_0x175b4c(0x18d)][_0x175b4c(0x156)]=_0x37b4c8['bAhmn'](getPercyOptions,_0x2ce5ec[_0x175b4c(0x14d)]);const _0x5ee4f0=helper[_0x175b4c(0x12c)](_0x2ce5ec[_0x175b4c(0x14d)]);!helper[_0x175b4c(0xe7)](_0x2ce5ec[_0x175b4c(0x14d)][_0x175b4c(0xe5)])&&(process[_0x175b4c(0x1a7)][_0x175b4c(0xd1)]=JSON[_0x175b4c(0xe2)](_0x2ce5ec[_0x175b4c(0x14d)]['accessibilityOptions']));if(!BrowserstackCLI[_0x175b4c(0x120)]()[_0x175b4c(0x1a8)]()){const _0x3acc5e=await TestHubHandler['launchBuild'](FRAMEWORKS[_0x175b4c(0x128)],_0x2ce5ec);}const _0x2601b1=helper[_0x175b4c(0xf5)](_0x2ce5ec[_0x175b4c(0x14d)],_0x5ee4f0,constants[_0x175b4c(0x111)][_0x175b4c(0x128)]);process[_0x175b4c(0x1a7)][_0x175b4c(0x10d)]=JSON['stringify'](_0x2601b1);let _0x1ce57b=_0x2ce5ec['config'][_0x175b4c(0x188)];_0x1ce57b=_0x1ce57b||accessibilityHelper['checkAccessibilityPlatformConfig'](_0x2ce5ec['config']),process['env'][_0x175b4c(0x1bd)]=_0x1ce57b,logger['debug'](_0x175b4c(0x177)+_0x1ce57b+_0x175b4c(0xd5)+BrowserstackCLI[_0x175b4c(0x120)]()['isRunning']());if(_0x2c5c4b)try{const _0x54d7f2=_0x37b4c8[_0x175b4c(0xfb)](checkAccessibilityPlatformConfig,_0x2ce5ec[_0x175b4c(0x14d)]);process[_0x175b4c(0x1a7)][_0x175b4c(0x125)]=_0x54d7f2?_0x37b4c8[_0x175b4c(0x153)]:_0x37b4c8[_0x175b4c(0x176)],logger[_0x175b4c(0x1ad)](_0x175b4c(0x18a)+_0x54d7f2+_0x175b4c(0x1be)+process[_0x175b4c(0x1a7)][_0x175b4c(0x125)]);}catch(_0x100ab4){logger['debug'](_0x175b4c(0x15d)+util[_0x175b4c(0xd2)](_0x100ab4));}_0xcaef3e[_0x175b4c(0x18d)][_0x175b4c(0x18c)]=_0x2601b1,_0xcaef3e['testEnvironmentOptions']['serial__']=_0x37b4c8[_0x175b4c(0x180)](getSerial,_0x2601b1,_0x231e0b),_0xcaef3e[_0x175b4c(0x18d)][_0x175b4c(0x148)]=_0x37b4c8[_0x175b4c(0xdd)](getMaxWorkers,_0x231e0b,_0x2ce5ec[_0x175b4c(0x14d)],_0x418fc6),_0xcaef3e['testEnvironmentOptions'][_0x175b4c(0x14e)]=_0x2ce5ec[_0x175b4c(0x14d)][_0x175b4c(0x14e)],_0xcaef3e[_0x175b4c(0x18d)]['timeout__']=_0x37b4c8[_0x175b4c(0x1a6)](_0x231e0b['testTimeout'],0x1)||0x1388,_0xcaef3e[_0x175b4c(0x18d)][_0x175b4c(0xf0)]=_0x2ce5ec[_0x175b4c(0x14d)][_0x175b4c(0x157)][_0x175b4c(0xf0)],_0xcaef3e[_0x175b4c(0x18d)][_0x175b4c(0x17f)]=_0x2ce5ec['config'][_0x175b4c(0x157)][_0x175b4c(0x17f)],_0xcaef3e[_0x175b4c(0x18d)]['browserStackLogLevel']=_0x2ce5ec[_0x175b4c(0x14d)][_0x175b4c(0x104)],_0xcaef3e[_0x175b4c(0x18d)][_0x175b4c(0x1bc)]=_0x2ce5ec[_0x175b4c(0x14d)][_0x175b4c(0x1bc)],_0xcaef3e[_0x175b4c(0x18d)][_0x175b4c(0x10a)]=_0x2ce5ec[_0x175b4c(0x14d)][_0x175b4c(0x112)];const _0x286ad1=helper['parseTestOrchestrationOptions'](_0x2ce5ec['config']);if(!helper['isEmpty'](_0x286ad1)){helper['isNotUndefined'](_0x286ad1[_0x175b4c(0x182)])&&(_0xcaef3e[_0x175b4c(0x18d)][_0x175b4c(0xd4)]=_0x286ad1[_0x175b4c(0x182)][_0x175b4c(0x15b)]);if(helper[_0x175b4c(0xd7)](_0x286ad1[_0x175b4c(0x147)])&&helper['isNotUndefined'](_0x286ad1[_0x175b4c(0x147)][_0x175b4c(0x1a4)])){const _0x19b30e={};_0x19b30e[_0x175b4c(0x12a)]=_0x286ad1['abortBuildOnFailure']['maxFailures'],_0x19b30e[_0x175b4c(0x1a4)]=_0x286ad1[_0x175b4c(0x147)][_0x175b4c(0x1a4)],_0xcaef3e[_0x175b4c(0x18d)][_0x175b4c(0x121)]=_0x19b30e;}}let _0x59c30e='';_0x37b4c8[_0x175b4c(0x115)](helper['getPackageType'](),constants[_0x175b4c(0x1c4)][_0x175b4c(0x1ac)])?_0x59c30e=_0x37b4c8[_0x175b4c(0x122)]:_0x59c30e=_0x37b4c8[_0x175b4c(0xd0)];const _0x185eae=_0x59c30e,_0x3a9548=path['join'](__dirname,_0x37b4c8[_0x175b4c(0x1b0)],_0x37b4c8[_0x175b4c(0x189)]),_0x48f1ef=path[_0x175b4c(0xeb)](__dirname,_0x37b4c8[_0x175b4c(0x1b0)],_0x37b4c8['qWVAB']),_0x2ee751=path[_0x175b4c(0xeb)](__dirname,_0x37b4c8[_0x175b4c(0x1b0)],_0x37b4c8['YcMog']);_0xcaef3e['testEnvironment']&&(process['env']['BSTACK_JEST_TEST_ENV']=_0xcaef3e[_0x175b4c(0x114)]);_0xcaef3e[_0x175b4c(0x114)]=path[_0x175b4c(0xeb)](__dirname,_0x37b4c8[_0x175b4c(0x1b0)],_0x37b4c8[_0x175b4c(0x109)]);const _0x19c8c9=_0x418fc6[_0x175b4c(0x124)];if(_0x19c8c9&&_0x37b4c8['DOqNQ'](_0x19c8c9,_0x37b4c8[_0x175b4c(0x1c3)])){const _0x19dcb4=_0x19c8c9[_0x175b4c(0x12e)](_0x37b4c8[_0x175b4c(0xea)])?_0x19c8c9:'jest-runner-'+_0x19c8c9;process[_0x175b4c(0x1a7)][_0x175b4c(0x108)]=_0x19dcb4,logger[_0x175b4c(0x1bb)](_0x175b4c(0x17b)+_0x19dcb4);}_0xcaef3e[_0x175b4c(0x124)]=_0x48f1ef,_0xcaef3e[_0x175b4c(0x1b4)]=_0xcaef3e[_0x175b4c(0x1b4)]||[],_0xcaef3e['setupFilesAfterEnv'][_0x175b4c(0x139)](path['join'](__dirname,_0x37b4c8[_0x175b4c(0xe9)]));_0x427ae7[_0x175b4c(0x113)]()&&(_0xcaef3e['testSequencer']=path['join'](__dirname,_0x37b4c8[_0x175b4c(0x1b0)],_0x37b4c8[_0x175b4c(0x163)]));if(testhubUtils[_0x175b4c(0x132)]()||BrowserstackCLI[_0x175b4c(0x120)]()['isCliEnabled']()){let _0x201c6e=null;try{_0x201c6e=helper[_0x175b4c(0x190)](_0x37b4c8[_0x175b4c(0x19e)],_0x37b4c8[_0x175b4c(0x152)]);}catch(_0x4e20f4){try{_0x201c6e=helper['requireModule'](_0x37b4c8[_0x175b4c(0x16a)],_0x37b4c8[_0x175b4c(0x152)]);}catch(_0x3b79fb){_0x37b4c8[_0x175b4c(0x173)](debug,_0x175b4c(0xef)+_0x3b79fb);}}_0x201c6e&&(testhubUtils[_0x175b4c(0x132)]()&&_0xcaef3e[_0x175b4c(0x1b4)][_0x175b4c(0x139)](path[_0x175b4c(0xeb)](__dirname,_0x37b4c8[_0x175b4c(0xed)],_0x37b4c8['egaOh'])),_0xcaef3e[_0x175b4c(0x1bf)]=path[_0x175b4c(0xeb)](__dirname,_0x37b4c8[_0x175b4c(0x1b0)],_0x37b4c8[_0x175b4c(0x16b)]));}_0xcaef3e['setupFiles']=_0xcaef3e[_0x175b4c(0x137)]||[];try{helper[_0x175b4c(0x100)](),_0xcaef3e['setupFiles'][_0x175b4c(0x139)](path['join'](__dirname,_0x37b4c8[_0x175b4c(0x18f)]));}catch{logger[_0x175b4c(0x1ad)](_0x37b4c8['oAUuU']);}try{helper['requirePWModule'][_0x175b4c(0x150)](null,[_0x37b4c8['eOSTd'],_0x37b4c8[_0x175b4c(0x136)]]),logger['debug'](_0x37b4c8['uoKhs']),_0xcaef3e[_0x175b4c(0x137)][_0x175b4c(0x139)](path[_0x175b4c(0xeb)](__dirname,_0x37b4c8['uezsS']));}catch(_0x5ac62b){logger[_0x175b4c(0x1ad)](_0x37b4c8[_0x175b4c(0x149)],_0x5ac62b);}if(_0x37b4c8[_0x175b4c(0x1ba)](!_0x2c5c4b,_0x1e9f60)){try{logger['debug'](_0x37b4c8['vYGHM']),_0xcaef3e[_0x175b4c(0x137)][_0x175b4c(0x139)](path[_0x175b4c(0xeb)](__dirname,'..',_0x37b4c8[_0x175b4c(0xe6)],_0x37b4c8['uezsS']));}catch(_0x39d148){logger[_0x175b4c(0x1ad)]('Puppeteer\x20setup\x20error:\x20'+_0x39d148[_0x175b4c(0x18b)]);}try{const _0x4677cf=require[_0x175b4c(0x165)](_0x37b4c8[_0x175b4c(0xce)]),_0x1ad498=path['dirname'](_0x4677cf)[_0x175b4c(0xdc)](/\\/g,'/'),_0x283b87={};_0x283b87['^puppeteer-core/internal/(.*)']=_0x1ad498+_0x175b4c(0x174),_0xcaef3e['moduleNameMapper']=Object[_0x175b4c(0x191)]({},_0xcaef3e['moduleNameMapper']||{},_0x283b87),logger[_0x175b4c(0x1ad)](_0x175b4c(0x16c)+_0x1ad498);}catch(_0x2c948b){logger[_0x175b4c(0x1ad)]('[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20'+_0x2c948b[_0x175b4c(0x18b)]);}}_0xcaef3e[_0x175b4c(0x18e)]=_0xcaef3e[_0x175b4c(0x18e)]||[_0x37b4c8[_0x175b4c(0x12b)]],_0x37b4c8[_0x175b4c(0x1a5)](updateTestRerunConfig,_0xcaef3e,_0x2ce5ec);const _0x1ad648=fs[_0x175b4c(0x192)](_0x2ee751),_0x7ed419=helper[_0x175b4c(0xfa)](_0x37b4c8[_0x175b4c(0x159)],_0x37b4c8[_0x175b4c(0x169)]);!_0x7ed419[_0x175b4c(0x12f)]?fs[_0x175b4c(0xd6)](_0xcaef3e[_0x175b4c(0x124)],_0x175b4c(0x15e)+_0x1ad648+'\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20'+_0x2ce5ec[_0x175b4c(0x14d)][_0x175b4c(0x112)][_0x175b4c(0xd3)]+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20'):fs['writeFileSync'](_0xcaef3e[_0x175b4c(0x124)],'\x0a\x20\x20\x20\x20\x20\x20'+_0x1ad648+_0x175b4c(0x145)+_0x2ce5ec[_0x175b4c(0x14d)]['platforms'][_0x175b4c(0xd3)]+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20})();\x0a\x20\x20\x20\x20');logger[_0x175b4c(0x1bb)](_0x175b4c(0x198)+_0x185eae+_0x175b4c(0x194)),fs['writeFileSync'](_0x185eae,_0x175b4c(0x158)+JSON['stringify'](_0xcaef3e)+_0x175b4c(0x193));if(_0x427ae7[_0x175b4c(0x113)]()){logger[_0x175b4c(0x1ad)](_0x37b4c8[_0x175b4c(0xf9)]);const _0x1b8e83=await _0x427ae7['findTestFiles'](_0xcaef3e,_0xf17d9d['slice'](0x1),_0x185eae);logger[_0x175b4c(0x1ad)](_0x175b4c(0x179)+JSON[_0x175b4c(0xe2)](_0x1b8e83)+_0x175b4c(0x123));const _0x3dcd15=await _0x427ae7[_0x175b4c(0x11a)](_0x1b8e83);logger['debug'](_0x175b4c(0x1aa)+JSON['stringify'](_0x3dcd15)),_0x3dcd15&&_0x37b4c8[_0x175b4c(0x1a1)](_0x3dcd15['length'],0x0)&&(process[_0x175b4c(0x1a7)][_0x175b4c(0xfe)]=_0x3dcd15?.['join'](','));}logger[_0x175b4c(0x1bb)](_0x37b4c8[_0x175b4c(0x1c2)]);testhubUtils[_0x175b4c(0x132)]()&&TestDetails[_0x175b4c(0x16d)]();helper[_0x175b4c(0x142)]({},_0xf17d9d),PerformanceTester['end'](PerformanceEvents['SDK_SETUP']);const _0x227f7b=[_0x37b4c8[_0x175b4c(0x187)],_0x37b4c8[_0x175b4c(0x140)],_0x185eae,..._0xf17d9d[_0x175b4c(0x12d)](0x1)];process['env'][_0x175b4c(0x107)]=process[_0x175b4c(0x1a7)]['BROWSERSTACK_FRAMEWORK']||_0x37b4c8[_0x175b4c(0x187)];const _0x45898b=_0x37b4c8[_0x175b4c(0x10b)](spawn,_0x37b4c8[_0x175b4c(0x1c7)],_0x227f7b,{'shell':_0x37b4c8[_0x175b4c(0x1b5)](process[_0x175b4c(0x15a)],_0x37b4c8[_0x175b4c(0x196)]),'stdio':_0x37b4c8[_0x175b4c(0x1af)],'env':Object[_0x175b4c(0x191)]({},process[_0x175b4c(0x1a7)])});_0x45898b['on'](_0x37b4c8[_0x175b4c(0x13f)],async _0x3adbac=>{const _0x45b87e=_0x175b4c;PerformanceTester[_0x45b87e(0x175)](PerformanceEvents['SDK_CLEANUP']);try{const {browserstackFolderPath:_0xb2dd1b,tcgConfigPath:_0x3475eb}=helper[_0x45b87e(0x118)]();fs[_0x45b87e(0x10c)](_0x3475eb),fs[_0x45b87e(0x117)](_0xb2dd1b);}catch(_0x1eb1e4){logger[_0x45b87e(0x1ad)](_0x37b4c8[_0x45b87e(0x14f)],_0x1eb1e4);}process[_0x45b87e(0xf7)]=_0x3adbac,logger[_0x45b87e(0x1ad)](_0x45b87e(0xdf)+_0x3adbac),logger[_0x45b87e(0x1bb)]('Deleting\x20'+_0x185eae);if(helper['isNotUndefined'](_0x286ad1)&&helper[_0x45b87e(0xd7)](_0x286ad1[_0x45b87e(0x147)])&&fs[_0x45b87e(0x110)](_0x286ad1['abortBuildOnFailure'][_0x45b87e(0x1a4)]))try{const _0xc0ce27={};_0xc0ce27[_0x45b87e(0x195)]=!![],_0xc0ce27[_0x45b87e(0x14c)]=!![],fs[_0x45b87e(0x144)](_0x286ad1[_0x45b87e(0x147)][_0x45b87e(0x1a4)],_0xc0ce27),logger[_0x45b87e(0x1ad)](_0x45b87e(0x15c)+_0x286ad1[_0x45b87e(0x147)][_0x45b87e(0x1a4)]);}catch(_0x481360){logger[_0x45b87e(0x12f)](_0x45b87e(0xfc)+_0x481360);}let _0x129913=null;if(fs[_0x45b87e(0x110)](_0x3a9548)){_0x129913=fs[_0x45b87e(0x192)](_0x3a9548);try{_0x129913=JSON[_0x45b87e(0xf2)](_0x129913);}catch(_0x56a68a){logger[_0x45b87e(0x1ad)](_0x45b87e(0xf3)+_0x3a9548+',\x20'+_0x129913+_0x45b87e(0x1b8)+_0x56a68a);}fs[_0x45b87e(0x10c)](_0x3a9548);}fs['unlinkSync'](_0x185eae),fs[_0x45b87e(0x10c)](_0x48f1ef),_0x129913&&(_0x2ce5ec['errorMessage']=helper[_0x45b87e(0xf8)](_0x129913,_0x37b4c8[_0x45b87e(0x187)],_0x2ce5ec));const _0x2f4eb0=BrowserstackCLI[_0x45b87e(0xe3)]();try{await TestHubHandler[_0x45b87e(0x116)](),await BrowserstackCLI[_0x45b87e(0x120)]()[_0x45b87e(0x116)]();}catch(_0x4317d0){console[_0x45b87e(0x197)](_0x4317d0),_0x37b4c8['bAhmn'](debug,_0x45b87e(0x17d)+util['format'](_0x4317d0));}testOpsHelper['printBuildLink'](),TestDetails[_0x45b87e(0x167)](),await utilities[_0x45b87e(0x171)](_0x2ce5ec,_0x2f4eb0);});}module[a18_0x3c5ac0(0x1b2)]=run;function a18_0x3c9b(){const _0x572939=['BSTACK_USER_JEST_RUNNER','jtTBY','platformCaps','CSgaw','unlinkSync','BROWSERSTACK_CAPABILITIES','readInitialOptions','puppeteer','existsSync','FRAMEWORKS','platforms','isTestOrchestrationEnabled','testEnvironment','oKUmy','stop','rmdirSync','getTCGConfigFilePaths','2302533vYiyrh','reorderTestFiles','findIndex','nXbaY','cwd','puppeteer-core/package.json','Rmhpu','getInstance','failFast','yWIId','\x20test\x20files\x20to\x20run.','runner','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','2024YbCSDp','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','JEST','202059ShdoqN','failureThresholdCount','YBTJT','useW3C','slice','startsWith','error','eOSTd','jest-config','shouldProcessEventForTesthub','zvAKA','jest.setup.js','path','kgRhX','setupFiles','../../helpers/puppeteer-helper','push','Getting\x20your\x20jest\x20configs\x20from\x20package.json','EVENTS','customEnvironment.js','zPjoy','testObservability','tQEWY','qvVJr','360bKQzdg','filterBrowserstackArgs','default','rmSync','\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x0a\x20\x20\x20\x20\x20\x20(async\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20{createTestScheduler}\x20=\x20requireModule(\x27@jest/core\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20tempScheduler\x20=\x20await\x20createTestScheduler({reporters:\x20[]},\x20{});\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20tempScheduler._dispatcher.constructor;\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','getPackageVersion','abortBuildOnFailure','parallels__','glLQS','DgTjc','XeWek','force','config','proxySettings','KfhIq','apply','USER_CONFIG_DETAILS_PATH','QDWZl','NAPva','gwLbD','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','browserStackPercyOptions','testContextOptions','const\x20config=','dnAwt','platform','maxRetries','Deleted\x20fail-fast\x20state\x20folder:\x20','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','\x0a\x20\x20\x20\x20\x20\x20','customCircus.js','maxWorkers','jest','jest-circus/build/runner.js','QOUCb','../../helpers/testhub/utils','resolve','setupTCGAuth','shutdown','jest.config.','AulrG','htxht','kNSOx','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','setup','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','BROWSERSTACK_TEST_OBSERVABILITY_YML','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','finalExecution','initialize','iwKGT','/internal/$1','start','FvXkQ','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','@jest/core/build/ReporterDispatcher.js','Found:\x20','jest_browserstack.config.js','Preserving\x20user\x27s\x20Jest\x20runner:\x20','../../helpers/utilities','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','7084374DKTpUT','skipSessionStatus','cnffQ','__isPlaywrightInstalled','retryTestsOnFailure','--config','child_process','40cFyFfl','../../helpers/test-orchestration/testOrchestrationHandler','Exwfm','accessibility','gdeTR','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','message','capabilities','testEnvironmentOptions','reporters','AniAt','requireModule','assign','readFileSync','\x0amodule.exports\x20=\x20config;','\x20with\x20browserstack\x20jest\x20configs','recursive','iiWRD','log','Creating\x20','@jest/core','13887hpnZaA','true','false','__isPuppeteerInstalled','knVoK','util','788668dFiFJb','TAyrn','inherit','cjs','workingDir','MpQvp','WJhjW','env','isRunning','ijMvR','Reodered\x20Test\x20Files:\x20','getHubUrl','MODULE','debug','jest-runner','bFdTN','jLgcf','../../helpers/testhub/testhubHandler','exports','handleApp','setupFilesAfterEnv','HyJrk','test.setup.js','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','\x20:\x20','6456918PrrztU','kOaOE','info','turboScaleUrl','BROWSERSTACK_TEST_ACCESSIBILITY_YML',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','testRunner','data-hooks.js','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','TBWVT','PdcsE','PACKAGE_TYPE','splice','runInBand','QgCwa','parallelsPerPlatform','isBrowserstackInfra','package.json','zzbtw','jBeSl','../../helpers/logger','IthDA','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','format','length','retries__',',\x20CLI\x20running:\x20','writeFileSync','isNotUndefined','5rvgWMx','../../helpers/test-observability/utils','KBzbv','winstonLogger','replace','XatJN','Cxabs','child\x20process\x20exited\x20with\x20code\x20','eIOhv','json','stringify','isCLIEnabled','jest_browserstack_results.json','accessibilityOptions','OVPBY','isUndefined','../utils/constants','dujkT','KtCuX','join','test_before.setup.js','rPaYm','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','Unable\x20to\x20find\x20jest-circus,\x20','skipSessionName','../../helpers/performance/performance-tester','parse','Error\x20while\x20parsing\x20','./test-observability/helper','prepareCapabilities','Getting\x20your\x20jest\x20configs\x20from\x20','exitCode','getErrorMessageFromResults','HlKTj','resolveModule','bAhmn','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','vLLgH','JEST_TEST_ORDER','close','requireSeleniumWebdriver','../../helpers/performance/constants','mjs','RaYbH','logLevel','17906UmYuKl','test-observability','BROWSERSTACK_FRAMEWORK'];a18_0x3c9b=function(){return _0x572939;};return a18_0x3c9b();}
|
|
2
|
+
'use strict';const a18_0x11d270=a18_0x300e;(function(_0x493c61,_0x1efcee){const _0xaf761f=a18_0x300e,_0x27a906=_0x493c61();while(!![]){try{const _0xf8bd31=-parseInt(_0xaf761f(0xf0))/0x1*(-parseInt(_0xaf761f(0x105))/0x2)+-parseInt(_0xaf761f(0x14a))/0x3+-parseInt(_0xaf761f(0x164))/0x4*(parseInt(_0xaf761f(0x119))/0x5)+parseInt(_0xaf761f(0xf5))/0x6+-parseInt(_0xaf761f(0xdc))/0x7+-parseInt(_0xaf761f(0xfc))/0x8+parseInt(_0xaf761f(0xb9))/0x9*(parseInt(_0xaf761f(0xd3))/0xa);if(_0xf8bd31===_0x1efcee)break;else _0x27a906['push'](_0x27a906['shift']());}catch(_0x12b612){_0x27a906['push'](_0x27a906['shift']());}}}(a18_0x5809,0x3d89d));function a18_0x5809(){const _0x298166=['885185vVDPRS','__isPlaywrightInstalled','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','qkYpO','Iokqs','testEnvironmentOptions','rmdirSync','capabilities','assign','jest_browserstack_results.json','jest_browserstack.config.cjs','setupTCGAuth','hHiWU','puppeteer','UUIVC','proxySettings','cgKTr','zBxSv','message','isCliEnabled','2BHPBbq','caOFP','LSKSH','ETCnU','tElEk','148146nqRQzf','jest-circus','shouldProcessEventForTesthub',',\x20CLI\x20running:\x20','length','uoVqp','info','2580632mzSVVd','XSXXU','\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x0a\x20\x20\x20\x20\x20\x20(async\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20{createTestScheduler}\x20=\x20requireModule(\x27@jest/core\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20tempScheduler\x20=\x20await\x20createTestScheduler({reporters:\x20[]},\x20{});\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20tempScheduler._dispatcher.constructor;\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','log','findIndex','getInstance','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','workingDir','maxWorkers','87538rqutwF','recursive','getHubUrl','../../helpers/accessibility-automation/helper','path','jest-runner-','mvvws','../../helpers/performance/performance-tester','const\x20config=','isEmpty','DZEnb','@playwright/test','../../helpers/BrowserStackSetup','slice','cwd','jest_browserstack.config.js','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','--config','ZJicM','reporters','73985yOUYAg','BROWSERSTACK_CAPABILITIES','Getting\x20your\x20jest\x20configs\x20from\x20','WpTlB','/internal/$1','readFileSync','ehKuk','../../helpers/test-observability/constants','default','setup','USER_CONFIG_DETAILS_PATH','BROWSERSTACK_TEST_OBSERVABILITY_YML','jest-config','mjs','moduleNameMapper','__isPuppeteerInstalled','WNuZV','writeFileSync','unlinkSync','serial__','../../helpers/helper','json','Dydvn','rmSync','true','checkAccessibilityPlatformConfig','parallels__','failureThresholdCount','winstonLogger','MODULE','setupFilesAfterEnv','force','../../helpers/percy/utils','YwJZP','./test-observability/helper','abortBuildOnFailure','Deleting\x20','isUndefined','browserStackLogLevel','dfKea','startsWith','test-observability','customImplements','retries__','GCrwP',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20','RsPHF','../../helpers/test-orchestration/testOrchestrationHandler','existsSync','1004685NimHkn','testObservability','EVENTS','child\x20process\x20exited\x20with\x20code\x20','../../helpers/playwright-helper','xYCAE','Kzjft','runner','getErrorMessageFromResults','PACKAGE_TYPE','parse','./test-observability/test-details','turboScaleUrl','timeout__','resolve','ycJmg','FzaFz','SxfUM','jest','skipSessionStatus','readInitialOptions','Getting\x20your\x20jest\x20configs\x20from\x20package.json','customEnvironment.js','umrby','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','format','104jcjPRb','PtFNZ','jest-config/build/readConfigFileAndSetRootDir.js','customSequencer.js','PbZzL','config','BROWSERSTACK_TEST_ACCESSIBILITY_YML','isRunning','debug','requireSeleniumWebdriver','useW3C','OXwUh','getTCGConfigFilePaths','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','zqJMV','Preserving\x20user\x27s\x20Jest\x20runner:\x20','../../helpers/performance/constants','YblnF','reorderTestFiles','customTestRunnerTemplate.js','KpBkR','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','Error\x20while\x20parsing\x20','../../helpers/logger','maxRetries','GwHYp','close','env','printBuildLink','GVTRr','BSTACK_JEST_TEST_ENV','join','push','puppeteer-core/package.json','testEnvironment','KaSdu','^puppeteer-core/internal/(.*)','BROWSERSTACK_FRAMEWORK','FRAMEWORKS','Unable\x20to\x20find\x20jest-circus,\x20','FZHBS','npx','splice','customTestRunner.js','isNotUndefined','shutdown','fvBbX','zkSEC','BSTACK_USER_JEST_RUNNER',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','exports','accessibilityOptions','error','FAiyQ','prepareCapabilities','stop','cjs','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','CNFiD','jest.config.','failFast','inherit','jest-circus/build/runner.js','isTestOrchestrationEnabled','SoJPE','win32','isBrowserstackInfra','../../helpers/utilities','\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','setupFiles','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','../../helpers/testhub/testhubHandler','logLevel','util','../v2/browserstackCLI','customCircus.js','stringify','resolveModule','exitCode','dYagr','platform','81yBzXGJ','../../helpers/testhub/utils','parseTestOrchestrationOptions','SDK_SETUP','finalExecution','\x20with\x20browserstack\x20jest\x20configs','dirname','retryTestsOnFailure','\x20:\x20','JOXgW','filterBrowserstackArgs','Found:\x20','kHxpv','@jest/core','requirePWModule','JEST_TEST_ORDER','JEST','test_before.setup.js','../utils/clientTroubleshootingService','false','requireModule','parallelsPerPlatform','\x0a\x20\x20\x20\x20\x20\x20','dMGsw','getPackageType','eWLKN','1453870lcjRBO','gxhKd','testContextOptions','skipSessionName','accessibility','lefbZ','platforms','replace','hefhh'];a18_0x5809=function(){return _0x298166;};return a18_0x5809();}const fs=require('fs'),path=require(a18_0x11d270(0x109)),util=require(a18_0x11d270(0xb1)),{spawn}=require('child_process'),logger=require(a18_0x11d270(0x17b))[a18_0x11d270(0x135)],{default:BrowserStackSetup}=require(a18_0x11d270(0x111)),helper=require(a18_0x11d270(0x12d)),utilities=require(a18_0x11d270(0xab)),constants=require('../utils/constants'),accessibilityHelper=require(a18_0x11d270(0x108)),{updateTestRerunConfig}=require(a18_0x11d270(0x13b)),testOpsHelper=require('../../helpers/test-observability/utils'),{debug}=require('../../helpers/test-observability/utils'),TestDetails=require(a18_0x11d270(0x155)),{getPercyOptions}=require(a18_0x11d270(0x139)),TestHubHandler=require(a18_0x11d270(0xaf)),testhubUtils=require(a18_0x11d270(0xba)),{FRAMEWORKS}=require(a18_0x11d270(0x120)),PerformanceTester=require(a18_0x11d270(0x10c)),PerformanceEvents=require(a18_0x11d270(0x174))[a18_0x11d270(0x14c)],TestOrchestrationHandler=require(a18_0x11d270(0x148)),BrowserstackCLI=require(a18_0x11d270(0xb2)),{checkPwandBootstrapCli}=require(a18_0x11d270(0x14e)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require('../../helpers/puppeteer-helper'),ClientTroubleShootingService=require(a18_0x11d270(0xcb)),{checkAccessibilityPlatformConfig}=require(a18_0x11d270(0x108)),getUserJestConfigs=async(_0x1b2435,_0x10d004)=>{const _0x3fa21d=a18_0x11d270,_0x3f2b6c={'iQVuZ':_0x3fa21d(0x166),'dMGsw':_0x3fa21d(0x125),'YwJZP':function(_0x5615c8,_0x2e2ab9){return _0x5615c8||_0x2e2ab9;},'GwHYp':function(_0x5125ee,_0x33bff6){return _0x5125ee(_0x33bff6);},'UUIVC':'package.json','hefhh':_0x3fa21d(0x15f),'YblnF':_0x3fa21d(0x126),'Kzjft':_0x3fa21d(0xa0),'Dydvn':_0x3fa21d(0x12e)};let _0x1aa244;try{_0x1aa244=helper['requireModule'](_0x3f2b6c['iQVuZ'],_0x3f2b6c[_0x3fa21d(0xd0)]);}catch{const _0x2464c3=helper[_0x3fa21d(0xcd)](_0x3f2b6c[_0x3fa21d(0xd0)]);_0x1aa244={'default':async _0x3d3a66=>{const _0x26bbf6=_0x3fa21d,_0x57b41b=await _0x2464c3[_0x26bbf6(0x15e)](_0x3d3a66,{});return _0x57b41b['config'];}};}const _0x36cc75=_0x10d004[_0x3fa21d(0x100)](_0x2158ea=>_0x2158ea===_0x3fa21d(0x116));if(!helper[_0x3fa21d(0x13e)](_0x1b2435['config'])){logger['info'](_0x3fa21d(0x11b)+_0x1b2435['config']),process[_0x3fa21d(0x17f)][_0x3fa21d(0x123)]=_0x1b2435[_0x3fa21d(0x169)];const _0x4e52f4=await(0x0,_0x1aa244[_0x3fa21d(0x121)])(path[_0x3fa21d(0x158)](_0x1b2435['config']));return _0x10d004[_0x3fa21d(0x18e)](_0x36cc75,0x2),_0x3f2b6c[_0x3fa21d(0x13a)](_0x4e52f4,{});}const _0x5227ea=_0x3f2b6c[_0x3fa21d(0x17d)](require,path[_0x3fa21d(0x183)](process['cwd'](),_0x3f2b6c[_0x3fa21d(0xea)]));if(_0x5227ea['jest'])return logger[_0x3fa21d(0xfb)](_0x3f2b6c[_0x3fa21d(0xdb)]),_0x5227ea[_0x3fa21d(0x15c)];const _0x3744a3=['js',_0x3f2b6c[_0x3fa21d(0x175)],_0x3f2b6c[_0x3fa21d(0x150)],_0x3f2b6c[_0x3fa21d(0x12f)],'ts'];for(const _0xec7738 of _0x3744a3){const _0x42e5a1=path[_0x3fa21d(0x183)](process[_0x3fa21d(0x113)](),_0x3fa21d(0xa3)+_0xec7738);if(fs[_0x3fa21d(0x149)](_0x42e5a1)){process['env'][_0x3fa21d(0x123)]=_0x42e5a1;const _0x56d25b=await(0x0,_0x1aa244['default'])(_0x42e5a1);return _0x56d25b;}}return{};},getSerial=(_0x238b9e,_0x13e41c)=>{const _0x564974=a18_0x11d270,_0x38fcb5={};_0x38fcb5[_0x564974(0x129)]=_0x564974(0x131),_0x38fcb5[_0x564974(0x11c)]=function(_0x239c0b,_0x55f4d3){return _0x239c0b>_0x55f4d3;},_0x38fcb5[_0x564974(0xd4)]='false';const _0x4b1df2=_0x38fcb5;let _0x4ffc85=_0x4b1df2[_0x564974(0x129)];return _0x4b1df2[_0x564974(0x11c)](_0x238b9e[_0x564974(0xf9)],0x1)&&(!_0x13e41c['runInBand']&&(helper[_0x564974(0x13e)](_0x13e41c[_0x564974(0x104)])||_0x4b1df2['WpTlB'](_0x13e41c[_0x564974(0x104)],0x1)))&&(_0x4ffc85=_0x4b1df2['gxhKd']),_0x4ffc85;},getMaxWorkers=(_0x124707,_0x252493,_0x56de96)=>{const _0x3c510b=a18_0x11d270,_0x5413cc={'zqJMV':function(_0x2aa85d,_0x76d9c3){return _0x2aa85d(_0x76d9c3);}};let _0x76504f=0x1;if(!helper[_0x3c510b(0x13e)](_0x252493[_0x3c510b(0xce)]))_0x76504f=_0x5413cc[_0x3c510b(0x172)](parseInt,_0x252493[_0x3c510b(0xce)]);else{if(!helper[_0x3c510b(0x13e)](_0x124707[_0x3c510b(0x104)]))_0x76504f=_0x124707[_0x3c510b(0x104)];else!helper[_0x3c510b(0x13e)](_0x56de96[_0x3c510b(0x104)])&&(_0x76504f=_0x56de96[_0x3c510b(0x104)]);}return _0x76504f;};async function run(_0x47a4d4,_0x1b8856,_0x1678b4){const _0x456b15=a18_0x11d270,_0x3fb4b4={'FAiyQ':'error\x20removing\x20tcg\x20config\x20file','XSXXU':'jest','ZJicM':function(_0x4ffbef,_0x29bc5f){return _0x4ffbef(_0x29bc5f);},'rusTD':_0x456b15(0x110),'tElEk':function(_0x515d57){return _0x515d57();},'umrby':function(_0x4c910c,_0x457cd0,_0x4816a6,_0x1c6a28){return _0x4c910c(_0x457cd0,_0x4816a6,_0x1c6a28);},'FZHBS':function(_0x1b2dcb,_0x3390bb){return _0x1b2dcb!=_0x3390bb;},'fvBbX':_0x456b15(0x131),'ehKuk':function(_0x32a9a4,_0x38c1bc,_0x3f1c8e){return _0x32a9a4(_0x38c1bc,_0x3f1c8e);},'cgKTr':'Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','PtFNZ':function(_0x18d3ed,_0x58f375){return _0x18d3ed(_0x58f375);},'hHiWU':function(_0x250af3,_0x210609){return _0x250af3(_0x210609);},'RsPHF':_0x456b15(0xcc),'rxqyk':function(_0x30e6bc,_0x4728ee,_0x2927e0){return _0x30e6bc(_0x4728ee,_0x2927e0);},'eWLKN':function(_0x2cbdb5,_0x16475c){return _0x2cbdb5*_0x16475c;},'GCrwP':function(_0x58df61,_0x599518){return _0x58df61===_0x599518;},'dYagr':_0x456b15(0xe6),'hiOds':_0x456b15(0x114),'OXwUh':_0x456b15(0x143),'zBxSv':_0x456b15(0xe5),'LjHrH':_0x456b15(0x18f),'fQpxo':_0x456b15(0x177),'aKmsN':_0x456b15(0x160),'tChAq':function(_0x4a2b79,_0x57b838){return _0x4a2b79!==_0x57b838;},'FzaFz':'jest-runner','SxfUM':_0x456b15(0x10a),'LSKSH':'jest.setup.js','ycJmg':_0x456b15(0x167),'ddNyk':_0x456b15(0x162),'uoVqp':_0x456b15(0xf6),'lefbZ':_0x456b15(0xa6),'Iokqs':_0x456b15(0x142),'SoJPE':'data-hooks.js','mvvws':_0x456b15(0xb3),'PaTKF':_0x456b15(0xca),'ZEVWl':_0x456b15(0x179),'caOFP':'playwright','KaSdu':_0x456b15(0x171),'kHxpv':'test.setup.js','WnMqQ':_0x456b15(0xae),'GVTRr':function(_0x425dea,_0x2d69f9){return _0x425dea&&_0x2d69f9;},'KpBkR':'Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','DZEnb':_0x456b15(0xe9),'tsNOh':_0x456b15(0x185),'xYCAE':_0x456b15(0x121),'qkYpO':'@jest/core/build/ReporterDispatcher.js','uwIir':_0x456b15(0xc6),'CNFiD':'Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','bRqMQ':function(_0x373c79,_0x17507a){return _0x373c79>_0x17507a;},'dfKea':'Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','inETE':_0x456b15(0x116),'PbZzL':_0x456b15(0x18d),'JOXgW':_0x456b15(0xa9),'zkSEC':_0x456b15(0xa5),'ETCnU':_0x456b15(0x17e)},_0x360000=helper['getPackageVersion'](_0x3fb4b4['rusTD']);global[_0x456b15(0xdd)]=!!_0x360000;const _0x2a2519=_0x3fb4b4[_0x456b15(0xf4)](getPuppeteerVersion);global[_0x456b15(0x128)]=!!_0x2a2519;helper[_0x456b15(0xaa)]()?(await _0x1678b4['initialize'](_0x47a4d4),await helper['handleApp'](_0x1678b4['config'])):await _0x1678b4[_0x456b15(0xe7)]();if(_0x360000)await _0x3fb4b4[_0x456b15(0x161)](checkPwandBootstrapCli,_0x360000,constants['FRAMEWORKS'][_0x456b15(0xc9)],_0x1678b4);else _0x2a2519&&await _0x3fb4b4[_0x456b15(0x161)](checkPuppeteerAndBootstrapCli,_0x2a2519,constants[_0x456b15(0x18a)][_0x456b15(0xc9)],_0x1678b4);!BrowserstackCLI[_0x456b15(0x101)]()[_0x456b15(0x16b)]()&&await _0x1678b4['setupBrowserstackLocal']();if(!_0x1678b4[_0x456b15(0x169)])return;_0x3fb4b4[_0x456b15(0x18c)](_0x1678b4[_0x456b15(0x169)][_0x456b15(0x14b)],null)?process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x1678b4[_0x456b15(0x169)][_0x456b15(0x14b)]:process[_0x456b15(0x17f)][_0x456b15(0x124)]=_0x3fb4b4[_0x456b15(0x192)];const _0x171578=new TestOrchestrationHandler(_0x1678b4[_0x456b15(0x169)]),_0x43ba79=await _0x3fb4b4[_0x456b15(0x11f)](getUserJestConfigs,_0x47a4d4,_0x1b8856);logger[_0x456b15(0xfb)](_0x3fb4b4[_0x456b15(0xec)]);const _0x34e6ed=Object['assign']({},_0x43ba79);_0x34e6ed[_0x456b15(0xe1)]=Object[_0x456b15(0xe4)]({},_0x34e6ed[_0x456b15(0xe1)],{'server':helper[_0x456b15(0x107)](_0x1678b4[_0x456b15(0x169)]),'environment':_0x43ba79[_0x456b15(0x186)]}),_0x34e6ed[_0x456b15(0xe1)]['browserStackPercyOptions']=_0x3fb4b4['PtFNZ'](getPercyOptions,_0x1678b4[_0x456b15(0x169)]);const _0x9e1b5e=helper[_0x456b15(0x16e)](_0x1678b4[_0x456b15(0x169)]);!helper[_0x456b15(0x13e)](_0x1678b4[_0x456b15(0x169)][_0x456b15(0x9b)])&&(process['env'][_0x456b15(0x115)]=JSON[_0x456b15(0xb4)](_0x1678b4[_0x456b15(0x169)]['accessibilityOptions']));if(!BrowserstackCLI[_0x456b15(0x101)]()[_0x456b15(0x16b)]()){const _0x50dd5d=await TestHubHandler['launchBuild'](FRAMEWORKS[_0x456b15(0xc9)],_0x1678b4);}const _0x461f57=helper[_0x456b15(0x9e)](_0x1678b4['config'],_0x9e1b5e,constants[_0x456b15(0x18a)][_0x456b15(0xc9)]);process[_0x456b15(0x17f)][_0x456b15(0x11a)]=JSON[_0x456b15(0xb4)](_0x461f57);let _0x5a0f7c=_0x1678b4['config'][_0x456b15(0xd7)];_0x5a0f7c=_0x5a0f7c||accessibilityHelper[_0x456b15(0x132)](_0x1678b4['config']),process['env'][_0x456b15(0x16a)]=_0x5a0f7c,logger[_0x456b15(0x16c)](_0x456b15(0xa1)+_0x5a0f7c+_0x456b15(0xf8)+BrowserstackCLI['getInstance']()['isRunning']());if(_0x360000)try{const _0x1b8986=_0x3fb4b4[_0x456b15(0xe8)](checkAccessibilityPlatformConfig,_0x1678b4['config']);process['env'][_0x456b15(0x102)]=_0x1b8986?_0x3fb4b4[_0x456b15(0x192)]:_0x3fb4b4[_0x456b15(0x147)],logger[_0x456b15(0x16c)]('[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20'+_0x1b8986+_0x456b15(0x195)+process[_0x456b15(0x17f)][_0x456b15(0x102)]);}catch(_0x1a6161){logger[_0x456b15(0x16c)](_0x456b15(0xde)+util[_0x456b15(0x163)](_0x1a6161));}_0x34e6ed[_0x456b15(0xe1)][_0x456b15(0xe3)]=_0x461f57,_0x34e6ed[_0x456b15(0xe1)][_0x456b15(0x12c)]=_0x3fb4b4['rxqyk'](getSerial,_0x461f57,_0x47a4d4),_0x34e6ed[_0x456b15(0xe1)][_0x456b15(0x133)]=_0x3fb4b4['umrby'](getMaxWorkers,_0x47a4d4,_0x1678b4['config'],_0x43ba79),_0x34e6ed['testEnvironmentOptions'][_0x456b15(0xeb)]=_0x1678b4[_0x456b15(0x169)]['proxySettings'],_0x34e6ed[_0x456b15(0xe1)][_0x456b15(0x157)]=_0x3fb4b4[_0x456b15(0xd2)](_0x47a4d4['testTimeout'],0x1)||0x1388,_0x34e6ed['testEnvironmentOptions'][_0x456b15(0xd6)]=_0x1678b4[_0x456b15(0x169)]['testContextOptions']['skipSessionName'],_0x34e6ed[_0x456b15(0xe1)]['skipSessionStatus']=_0x1678b4[_0x456b15(0x169)][_0x456b15(0xd5)][_0x456b15(0x15d)],_0x34e6ed[_0x456b15(0xe1)][_0x456b15(0x13f)]=_0x1678b4[_0x456b15(0x169)][_0x456b15(0xb0)],_0x34e6ed['testEnvironmentOptions'][_0x456b15(0x156)]=_0x1678b4[_0x456b15(0x169)][_0x456b15(0x156)],_0x34e6ed['testEnvironmentOptions']['platformCaps']=_0x1678b4[_0x456b15(0x169)][_0x456b15(0xd9)];const _0x7a6771=helper[_0x456b15(0xbb)](_0x1678b4['config']);if(!helper[_0x456b15(0x10e)](_0x7a6771)){helper[_0x456b15(0x190)](_0x7a6771[_0x456b15(0xc0)])&&(_0x34e6ed['testEnvironmentOptions'][_0x456b15(0x144)]=_0x7a6771['retryTestsOnFailure'][_0x456b15(0x17c)]);if(helper[_0x456b15(0x190)](_0x7a6771[_0x456b15(0x13c)])&&helper[_0x456b15(0x190)](_0x7a6771[_0x456b15(0x13c)][_0x456b15(0x103)])){const _0x1fbb76={};_0x1fbb76[_0x456b15(0x134)]=_0x7a6771[_0x456b15(0x13c)]['maxFailures'],_0x1fbb76[_0x456b15(0x103)]=_0x7a6771[_0x456b15(0x13c)]['workingDir'],_0x34e6ed[_0x456b15(0xe1)][_0x456b15(0xa4)]=_0x1fbb76;}}let _0x3b3dca='';_0x3fb4b4[_0x456b15(0x145)](helper[_0x456b15(0xd1)](),constants[_0x456b15(0x153)][_0x456b15(0x136)])?_0x3b3dca=_0x3fb4b4[_0x456b15(0xb7)]:_0x3b3dca=_0x3fb4b4['hiOds'];const _0x4873ac=_0x3b3dca,_0x120fa4=path[_0x456b15(0x183)](__dirname,_0x3fb4b4[_0x456b15(0x16f)],_0x3fb4b4[_0x456b15(0xed)]),_0x1f2e11=path[_0x456b15(0x183)](__dirname,_0x3fb4b4['OXwUh'],_0x3fb4b4['LjHrH']),_0x49fba4=path[_0x456b15(0x183)](__dirname,_0x3fb4b4['OXwUh'],_0x3fb4b4['fQpxo']);_0x34e6ed[_0x456b15(0x186)]&&(process[_0x456b15(0x17f)][_0x456b15(0x182)]=_0x34e6ed[_0x456b15(0x186)]);_0x34e6ed[_0x456b15(0x186)]=path['join'](__dirname,_0x3fb4b4[_0x456b15(0x16f)],_0x3fb4b4['aKmsN']);const _0xf386e5=_0x43ba79[_0x456b15(0x151)];if(_0xf386e5&&_0x3fb4b4['tChAq'](_0xf386e5,_0x3fb4b4[_0x456b15(0x15a)])){const _0x177801=_0xf386e5[_0x456b15(0x141)](_0x3fb4b4[_0x456b15(0x15b)])?_0xf386e5:_0x456b15(0x10a)+_0xf386e5;process[_0x456b15(0x17f)][_0x456b15(0x194)]=_0x177801,logger['info'](_0x456b15(0x173)+_0x177801);}_0x34e6ed[_0x456b15(0x151)]=_0x1f2e11,_0x34e6ed[_0x456b15(0x137)]=_0x34e6ed[_0x456b15(0x137)]||[],_0x34e6ed[_0x456b15(0x137)][_0x456b15(0x184)](path['join'](__dirname,_0x3fb4b4[_0x456b15(0xf2)]));_0x171578[_0x456b15(0xa7)]()&&(_0x34e6ed['testSequencer']=path[_0x456b15(0x183)](__dirname,_0x3fb4b4[_0x456b15(0x16f)],_0x3fb4b4[_0x456b15(0x159)]));if(testhubUtils[_0x456b15(0xf7)]()||BrowserstackCLI['getInstance']()[_0x456b15(0xef)]()){let _0x2e272b=null;try{_0x2e272b=helper['requireModule'](_0x3fb4b4['ddNyk'],_0x3fb4b4[_0x456b15(0xfa)]);}catch(_0x68cf20){try{_0x2e272b=helper[_0x456b15(0xcd)](_0x3fb4b4[_0x456b15(0xd8)],_0x3fb4b4[_0x456b15(0xfa)]);}catch(_0x101fad){_0x3fb4b4[_0x456b15(0x165)](debug,_0x456b15(0x18b)+_0x101fad);}}_0x2e272b&&(testhubUtils[_0x456b15(0xf7)]()&&_0x34e6ed[_0x456b15(0x137)]['push'](path[_0x456b15(0x183)](__dirname,_0x3fb4b4[_0x456b15(0xe0)],_0x3fb4b4[_0x456b15(0xa8)])),_0x34e6ed['testRunner']=path[_0x456b15(0x183)](__dirname,_0x3fb4b4['OXwUh'],_0x3fb4b4[_0x456b15(0x10b)]));}_0x34e6ed[_0x456b15(0xad)]=_0x34e6ed[_0x456b15(0xad)]||[];try{helper[_0x456b15(0x16d)](),_0x34e6ed[_0x456b15(0xad)][_0x456b15(0x184)](path['join'](__dirname,_0x3fb4b4['PaTKF']));}catch{logger[_0x456b15(0x16c)](_0x3fb4b4['ZEVWl']);}try{helper[_0x456b15(0xc7)]['apply'](null,[_0x3fb4b4['rusTD'],_0x3fb4b4[_0x456b15(0xf1)]]),logger[_0x456b15(0x16c)](_0x3fb4b4[_0x456b15(0x187)]),_0x34e6ed[_0x456b15(0xad)][_0x456b15(0x184)](path[_0x456b15(0x183)](__dirname,_0x3fb4b4['kHxpv']));}catch(_0x30fd56){logger[_0x456b15(0x16c)](_0x3fb4b4['WnMqQ'],_0x30fd56);}if(_0x3fb4b4[_0x456b15(0x181)](!_0x360000,_0x2a2519)){try{logger[_0x456b15(0x16c)](_0x3fb4b4[_0x456b15(0x178)]),_0x34e6ed[_0x456b15(0xad)][_0x456b15(0x184)](path['join'](__dirname,'..',_0x3fb4b4[_0x456b15(0x10f)],_0x3fb4b4[_0x456b15(0xc5)]));}catch(_0x4e6572){logger[_0x456b15(0x16c)]('Puppeteer\x20setup\x20error:\x20'+_0x4e6572[_0x456b15(0xee)]);}try{const _0x2236b6=require[_0x456b15(0x158)](_0x3fb4b4['tsNOh']),_0x5739d6=path[_0x456b15(0xbf)](_0x2236b6)[_0x456b15(0xda)](/\\/g,'/'),_0x31e606={};_0x31e606[_0x456b15(0x188)]=_0x5739d6+_0x456b15(0x11d),_0x34e6ed['moduleNameMapper']=Object['assign']({},_0x34e6ed[_0x456b15(0x127)]||{},_0x31e606),logger[_0x456b15(0x16c)]('[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20'+_0x5739d6);}catch(_0x49ff1e){logger[_0x456b15(0x16c)]('[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20'+_0x49ff1e['message']);}}_0x34e6ed['reporters']=_0x34e6ed[_0x456b15(0x118)]||[_0x3fb4b4[_0x456b15(0x14f)]],_0x3fb4b4[_0x456b15(0x11f)](updateTestRerunConfig,_0x34e6ed,_0x1678b4);const _0x355e80=fs[_0x456b15(0x11e)](_0x49fba4),_0x8e22f1=helper[_0x456b15(0xb5)](_0x3fb4b4[_0x456b15(0xdf)],_0x3fb4b4['uwIir']);!_0x8e22f1[_0x456b15(0x9c)]?fs[_0x456b15(0x12a)](_0x34e6ed[_0x456b15(0x151)],_0x456b15(0xcf)+_0x355e80+_0x456b15(0xac)+_0x1678b4[_0x456b15(0x169)]['platforms']['length']+_0x456b15(0x146)):fs[_0x456b15(0x12a)](_0x34e6ed[_0x456b15(0x151)],_0x456b15(0xcf)+_0x355e80+_0x456b15(0xfe)+_0x1678b4['config'][_0x456b15(0xd9)][_0x456b15(0xf9)]+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20})();\x0a\x20\x20\x20\x20');logger[_0x456b15(0xfb)]('Creating\x20'+_0x4873ac+_0x456b15(0xbe)),fs['writeFileSync'](_0x4873ac,_0x456b15(0x10d)+JSON['stringify'](_0x34e6ed)+'\x0amodule.exports\x20=\x20config;');if(_0x171578[_0x456b15(0xa7)]()){logger[_0x456b15(0x16c)](_0x3fb4b4[_0x456b15(0xa2)]);const _0x45049f=await _0x171578['findTestFiles'](_0x34e6ed,_0x1b8856[_0x456b15(0x112)](0x1),_0x4873ac);logger['debug'](_0x456b15(0xc4)+JSON['stringify'](_0x45049f)+'\x20test\x20files\x20to\x20run.');const _0x50d1f2=await _0x171578[_0x456b15(0x176)](_0x45049f);logger[_0x456b15(0x16c)]('Reodered\x20Test\x20Files:\x20'+JSON['stringify'](_0x50d1f2)),_0x50d1f2&&_0x3fb4b4['bRqMQ'](_0x50d1f2['length'],0x0)&&(process[_0x456b15(0x17f)][_0x456b15(0xc8)]=_0x50d1f2?.[_0x456b15(0x183)](','));}logger[_0x456b15(0xfb)](_0x3fb4b4[_0x456b15(0x140)]);testhubUtils[_0x456b15(0xf7)]()&&TestDetails[_0x456b15(0x122)]();helper[_0x456b15(0xc3)]({},_0x1b8856),PerformanceTester['end'](PerformanceEvents[_0x456b15(0xbc)]);const _0x324443=[_0x3fb4b4[_0x456b15(0xfd)],_0x3fb4b4['inETE'],_0x4873ac,..._0x1b8856['slice'](0x1)];process[_0x456b15(0x17f)][_0x456b15(0x189)]=process[_0x456b15(0x17f)][_0x456b15(0x189)]||_0x3fb4b4[_0x456b15(0xfd)];const _0x10f755=_0x3fb4b4[_0x456b15(0x161)](spawn,_0x3fb4b4[_0x456b15(0x168)],_0x324443,{'shell':_0x3fb4b4['GCrwP'](process[_0x456b15(0xb8)],_0x3fb4b4[_0x456b15(0xc2)]),'stdio':_0x3fb4b4[_0x456b15(0x193)],'env':Object[_0x456b15(0xe4)]({},process[_0x456b15(0x17f)])});_0x10f755['on'](_0x3fb4b4[_0x456b15(0xf3)],async _0x254b46=>{const _0x21aa7e=_0x456b15;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']);try{const {browserstackFolderPath:_0x180a68,tcgConfigPath:_0xcd0946}=helper[_0x21aa7e(0x170)]();fs[_0x21aa7e(0x12b)](_0xcd0946),fs[_0x21aa7e(0xe2)](_0x180a68);}catch(_0x48bbe5){logger[_0x21aa7e(0x16c)](_0x3fb4b4[_0x21aa7e(0x9d)],_0x48bbe5);}process[_0x21aa7e(0xb6)]=_0x254b46,logger['debug'](_0x21aa7e(0x14d)+_0x254b46),logger[_0x21aa7e(0xfb)](_0x21aa7e(0x13d)+_0x4873ac);if(helper['isNotUndefined'](_0x7a6771)&&helper[_0x21aa7e(0x190)](_0x7a6771[_0x21aa7e(0x13c)])&&fs[_0x21aa7e(0x149)](_0x7a6771[_0x21aa7e(0x13c)][_0x21aa7e(0x103)]))try{const _0x3431ca={};_0x3431ca[_0x21aa7e(0x106)]=!![],_0x3431ca[_0x21aa7e(0x138)]=!![],fs[_0x21aa7e(0x130)](_0x7a6771[_0x21aa7e(0x13c)]['workingDir'],_0x3431ca),logger[_0x21aa7e(0x16c)]('Deleted\x20fail-fast\x20state\x20folder:\x20'+_0x7a6771[_0x21aa7e(0x13c)][_0x21aa7e(0x103)]);}catch(_0x5dded1){logger[_0x21aa7e(0x9c)]('Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20'+_0x5dded1);}let _0x210d87=null;if(fs['existsSync'](_0x120fa4)){_0x210d87=fs[_0x21aa7e(0x11e)](_0x120fa4);try{_0x210d87=JSON[_0x21aa7e(0x154)](_0x210d87);}catch(_0x5d1875){logger[_0x21aa7e(0x16c)](_0x21aa7e(0x17a)+_0x120fa4+',\x20'+_0x210d87+_0x21aa7e(0xc1)+_0x5d1875);}fs[_0x21aa7e(0x12b)](_0x120fa4);}fs['unlinkSync'](_0x4873ac),fs[_0x21aa7e(0x12b)](_0x1f2e11),_0x210d87&&(_0x1678b4['errorMessage']=helper[_0x21aa7e(0x152)](_0x210d87,_0x3fb4b4[_0x21aa7e(0xfd)],_0x1678b4));const _0x4e31bc=BrowserstackCLI['isCLIEnabled']();try{await TestHubHandler[_0x21aa7e(0x9f)](),await BrowserstackCLI[_0x21aa7e(0x101)]()[_0x21aa7e(0x9f)]();}catch(_0x407534){console[_0x21aa7e(0xff)](_0x407534),_0x3fb4b4[_0x21aa7e(0x117)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util[_0x21aa7e(0x163)](_0x407534));}testOpsHelper[_0x21aa7e(0x180)](),TestDetails[_0x21aa7e(0x191)](),await utilities[_0x21aa7e(0xbd)](_0x1678b4,_0x4e31bc);});}function a18_0x300e(_0x5dea45,_0x58b224){const _0x58097a=a18_0x5809();return a18_0x300e=function(_0x300ede,_0x4f8140){_0x300ede=_0x300ede-0x9b;let _0x602a2=_0x58097a[_0x300ede];return _0x602a2;},a18_0x300e(_0x5dea45,_0x58b224);}module[a18_0x11d270(0x196)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a19_0x42fcc0=a19_0x41c5;(function(_0x3dd397,_0x425cd4){const _0x428f3a=a19_0x41c5,_0x59f111=_0x3dd397();while(!![]){try{const _0x13cae7=parseInt(_0x428f3a(0x85))/0x1*(-parseInt(_0x428f3a(0x89))/0x2)+-parseInt(_0x428f3a(0x77))/0x3*(parseInt(_0x428f3a(0x84))/0x4)+parseInt(_0x428f3a(0x86))/0x5*(-parseInt(_0x428f3a(0x78))/0x6)+-parseInt(_0x428f3a(0x88))/0x7+-parseInt(_0x428f3a(0x75))/0x8*(parseInt(_0x428f3a(0x81))/0x9)+parseInt(_0x428f3a(0x80))/0xa+parseInt(_0x428f3a(0x76))/0xb*(parseInt(_0x428f3a(0x7a))/0xc);if(_0x13cae7===_0x425cd4)break;else _0x59f111['push'](_0x59f111['shift']());}catch(_0x29e2ef){_0x59f111['push'](_0x59f111['shift']());}}}(a19_0x1738,0x6a4a0));const path=require(a19_0x42fcc0(0x74)),{requireModule}=require('../../../helpers/helper');let initJestAdapter;try{initJestAdapter=requireModule('jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js',a19_0x42fcc0(0x79));}catch{initJestAdapter=requireModule(a19_0x42fcc0(0x7b),a19_0x42fcc0(0x79));}initJestAdapter=typeof initJestAdapter===a19_0x42fcc0(0x7e)?initJestAdapter:initJestAdapter['default'];const FRAMEWORK_INITIALIZER=path[a19_0x42fcc0(0x7c)](__dirname,a19_0x42fcc0(0x87));function a19_0x41c5(_0x1fb676,_0x37859d){const _0x173872=a19_0x1738();return a19_0x41c5=function(_0x41c5df,_0x4d86fc){_0x41c5df=_0x41c5df-0x74;let _0x5488f0=_0x173872[_0x41c5df];return _0x5488f0;},a19_0x41c5(_0x1fb676,_0x37859d);}function a19_0x1738(){const _0x334fa3=['requireInternalModule','4xATvnW','160991xEQxIV','87215yZyrKh','customJestAdapterInit.js','4499677sGALnw','2SGrkBB','path','3736984VBTwYn','429UwkTXz','2078889FXNIpv','60XvNOan','jest-circus','664572DTMeho','jest-circus/build/runner.js','join','initRequireModule','function','exports','4138190MbbDpP','9cgENsm','XgHcD'];a19_0x1738=function(){return _0x334fa3;};return a19_0x1738();}module[a19_0x42fcc0(0x7f)]=(..._0x5da3e8)=>{const _0x4a3007=a19_0x42fcc0,_0x4bd513={'UwcNj':'jestAdapterInit','XgHcD':function(_0x4c360f,_0x471343){return _0x4c360f===_0x471343;},'gsgwk':function(_0x3c5138,..._0x74613b){return _0x3c5138(..._0x74613b);}};return _0x5da3e8[0x3][_0x4a3007(0x7d)]=_0x5da3e8[0x3][_0x4a3007(0x83)],_0x5da3e8[0x3][_0x4a3007(0x83)]=(..._0x196a63)=>{const _0x1c3de1=_0x4a3007;if(_0x196a63[0x0]&&_0x196a63[0x0]['includes'](_0x4bd513['UwcNj'])&&_0x4bd513[_0x1c3de1(0x82)](_0x196a63[0x1],undefined))return _0x5da3e8[0x3][_0x1c3de1(0x7d)](FRAMEWORK_INITIALIZER);return _0x5da3e8[0x3][_0x1c3de1(0x7d)](..._0x196a63);},_0x4bd513['gsgwk'](initJestAdapter,..._0x5da3e8);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a20_0x4d3d5a=a20_0x2e04;(function(_0x3ef1c5,_0x385f38){const _0xb7959a=a20_0x2e04,_0x3d6ada=_0x3ef1c5();while(!![]){try{const _0x3033c2=-parseInt(_0xb7959a(0x1dc))/0x1+-parseInt(_0xb7959a(0x21a))/0x2+parseInt(_0xb7959a(0x215))/0x3+parseInt(_0xb7959a(0x1f2))/0x4*(parseInt(_0xb7959a(0x232))/0x5)+-parseInt(_0xb7959a(0x1e9))/0x6*(parseInt(_0xb7959a(0x1f6))/0x7)+parseInt(_0xb7959a(0x210))/0x8+-parseInt(_0xb7959a(0x224))/0x9;if(_0x3033c2===_0x385f38)break;else _0x3d6ada['push'](_0x3d6ada['shift']());}catch(_0x2c8476){_0x3d6ada['push'](_0x3d6ada['shift']());}}}(a20_0x26f4,0x8105b));const helper=require(a20_0x4d3d5a(0x227)),constants=require('../../utils/constants'),{isTestObservabilitySession}=require(a20_0x4d3d5a(0x1fd)),RequestQueueHandler=require(a20_0x4d3d5a(0x20f)),ObservabilityReporter=require('../test-observability/obsReporter'),testhubUtils=require('../../../helpers/testhub/utils'),logger=require(a20_0x4d3d5a(0x20c))[a20_0x4d3d5a(0x1f9)],getTestEnvironment=((()=>{const _0x207a56=a20_0x4d3d5a,_0x122878={};_0x122878[_0x207a56(0x21e)]=_0x207a56(0x225),_0x122878['DQwxu']=_0x207a56(0x22c);const _0x3bb68a=_0x122878;try{const _0x3b3994=helper[_0x207a56(0x235)](_0x3bb68a['iogLi']);if(_0x3b3994[_0x207a56(0x1e3)])return _0x3b3994[_0x207a56(0x1e3)];const _0x51175f=helper['requireModule'](_0x3bb68a[_0x207a56(0x236)]);if(_0x51175f[_0x207a56(0x20d)])return _0x51175f[_0x207a56(0x20d)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x46b2b2=a20_0x4d3d5a,_0x3dd4f8={'kHuWP':function(_0x1d35ef,_0x2a03a8){return _0x1d35ef(_0x2a03a8);},'ALYfO':'node','PhyvD':_0x46b2b2(0x223)},_0xf343bd=_0x3dd4f8['kHuWP'](getTestEnvironment,{'rootDir':process[_0x46b2b2(0x1fa)](),'testEnvironment':process[_0x46b2b2(0x204)][_0x46b2b2(0x249)]||_0x3dd4f8[_0x46b2b2(0x23e)]});if(!_0xf343bd)return _0x3dd4f8['kHuWP'](_interopRequireDefault,helper[_0x46b2b2(0x235)](_0x3dd4f8['PhyvD']));return _0x3dd4f8['kHuWP'](_interopRequireDefault,helper['requireModule'](_0xf343bd));})()),_seleniumWebdriver2=((()=>{const _0x3ab2ba=a20_0x4d3d5a,_0x1d2d7c={'JRvZI':function(_0x3eb158,_0x149928){return _0x3eb158(_0x149928);}};try{const _0x58ffde=helper[_0x3ab2ba(0x1e6)]();return helper[_0x3ab2ba(0x226)](),_0x1d2d7c[_0x3ab2ba(0x1ed)](_interopRequireDefault,_0x58ffde);}catch{return null;}})());function _interopRequireDefault(_0x196b2c){const _0x375043=a20_0x4d3d5a;return _0x196b2c&&_0x196b2c[_0x375043(0x247)]?_0x196b2c:{'default':_0x196b2c};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a20_0x4d3d5a(0x206)][a20_0x4d3d5a(0x216)]:null;function a20_0x2e04(_0x59678c,_0x30475f){const _0x26f493=a20_0x26f4();return a20_0x2e04=function(_0x2e0458,_0x1bcd25){_0x2e0458=_0x2e0458-0x1dc;let _0x26441b=_0x26f493[_0x2e0458];return _0x26441b;},a20_0x2e04(_0x59678c,_0x30475f);}function a20_0x26f4(){const _0x1d46c5=['percy','registerListeners','test_start','handleTestEvent','failFastActive','env','errors','default','setup','browserstackPercyBestPlatform','global','TKQft','bstack:options','../../../helpers/logger','getTestEnvironment','message','../../../helpers/test-observability/requestQueueHandler','5796880shsCfi','JUEPN','qdEoF','test','percyCaptureMode','1583178IpbyNH','Builder','SdubB','shouldFailFast','cleanup','594944apmnQK','mode','cleanupDrivers','timeout__','iogLi','configuration','testEnvironmentOptions','aFzhg','browserStackPercyOptions','jest-environment-node','2357820XSpdWm','jest-resolve','modifyCommand','../../../helpers/helper','framework','quit','testPath','teardown','jest-config','join','skipSessionName','__jestRetries','nFSWJ','__webdriver','5036025uDzbuJ','FRAMEWORKS','failFast','requireModule','DQwxu','../../../index','isBrowserstackInfra','\x20>\x20','driver','kzsac','WIITl','sJZNl','ALYfO','YncYX','__timeout','gELUE','test_done','info','sessionNameProvided','projectConfig','browserStackGlobals','__esModule','isTrue','BSTACK_JEST_TEST_ENV','isNotUndefined','shutdown','ueLYY','failFastOptions','122993yafQHd','__platformCaps','shouldProcessEventForTesthub','XPmIo','browserstackPlatformIndex','JEST','builder','resolveTestEnvironment','testContext','exports','requireSeleniumWebdriver','capabilities','QoceV','6nlQgyk','retries__','__skipSessionStatus','buildName','JRvZI','nestedKeyValue','projectName','RbuDo','capability','4HiBBWy','isArray','wQWdF','debug','7340347zgWPke','split','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','winstonLogger','cwd','name','platformCaps','../../../helpers/test-observability/utils','getInstance'];a20_0x26f4=function(){return _0x1d46c5;};return a20_0x26f4();}class CustomEnvironment extends _jestUserEnvironment[a20_0x4d3d5a(0x206)]{constructor(_0x620cc0){const _0x52d6f3=a20_0x4d3d5a,_0x23e4cd={'kzsac':_0x52d6f3(0x229),'nFSWJ':function(_0x16888c,_0x5eaecf){return _0x16888c+_0x5eaecf;},'wQWdF':_0x52d6f3(0x20b),'SdubB':function(_0xb63460,_0x52002d){return _0xb63460(_0x52002d);},'yopxm':'../../../helpers/test-orchestration/failfastManager','XPmIo':'5|1|0|3|7|6|2|4','sJZNl':_0x52d6f3(0x220),'QoceV':_0x52d6f3(0x222),'aFzhg':'browserstackPercyBestPlatform','gELUE':function(_0x55aa61,_0x88e9eb){return _0x55aa61(_0x88e9eb);},'wGQgV':_0x52d6f3(0x237),'SRwrl':_0x52d6f3(0x1ff),'KKyNp':'percyCaptureMode'};super(_0x620cc0),this['global'][_0x52d6f3(0x240)]=0x0,this[_0x52d6f3(0x21f)]={};!_0x620cc0[_0x52d6f3(0x220)]&&(_0x620cc0[_0x52d6f3(0x220)]={});if(helper[_0x52d6f3(0x238)]()){_0x620cc0[_0x52d6f3(0x220)]=_0x620cc0[_0x52d6f3(0x245)]?_0x620cc0[_0x52d6f3(0x245)][_0x52d6f3(0x220)]:_0x620cc0[_0x52d6f3(0x220)];_seleniumWebdriver2&&(this[_0x52d6f3(0x1e2)]=new _seleniumWebdriver2[(_0x52d6f3(0x206))][(_0x52d6f3(0x216))]());this[_0x52d6f3(0x1f1)]=_0x620cc0[_0x52d6f3(0x245)]?_0x620cc0[_0x52d6f3(0x245)][_0x52d6f3(0x1f1)]:_0x620cc0[_0x52d6f3(0x1f1)],this[_0x52d6f3(0x209)][_0x52d6f3(0x240)]=_0x23e4cd[_0x52d6f3(0x230)](_0x620cc0['testEnvironmentOptions'][_0x52d6f3(0x21d)]||0x1388,constants['BSTACK_DELTA']),this[_0x52d6f3(0x24d)]=_0x620cc0['testEnvironmentOptions'][_0x52d6f3(0x234)];if(this['failFastOptions']){const _0x3f46e3=this[_0x52d6f3(0x1f1)][_0x23e4cd[_0x52d6f3(0x1f4)]]?.[_0x52d6f3(0x1ec)]||'',_0x50f313=this[_0x52d6f3(0x1f1)][_0x23e4cd[_0x52d6f3(0x1f4)]]?.[_0x52d6f3(0x1ef)]||'';this[_0x52d6f3(0x234)]=new(_0x23e4cd[_0x52d6f3(0x217)](require,_0x23e4cd['yopxm']))(this[_0x52d6f3(0x24d)],_0x3f46e3,_0x50f313),this[_0x52d6f3(0x209)][_0x52d6f3(0x203)]=![];}helper[_0x52d6f3(0x24a)](_0x620cc0['testEnvironmentOptions'][_0x52d6f3(0x1ea)])&&(this[_0x52d6f3(0x209)][_0x52d6f3(0x22f)]=_0x620cc0[_0x52d6f3(0x220)]['retries__']);}if(testhubUtils['shouldProcessEventForTesthub']()){const _0x4c5109=new ObservabilityReporter();_0x4c5109[_0x52d6f3(0x200)]();}this['global'][_0x52d6f3(0x246)]={},this[_0x52d6f3(0x21f)]=_0x620cc0[_0x52d6f3(0x220)],this[_0x52d6f3(0x21f)][_0x52d6f3(0x228)]=constants[_0x52d6f3(0x233)][_0x52d6f3(0x1e1)],this['global'][_0x52d6f3(0x1e0)]=(_0x620cc0['projectConfig']?_0x620cc0[_0x52d6f3(0x245)][_0x52d6f3(0x1e0)]:_0x620cc0[_0x52d6f3(0x1e0)])||0x0,this[_0x52d6f3(0x209)][_0x52d6f3(0x1dd)]=this[_0x52d6f3(0x21f)]&&this[_0x52d6f3(0x21f)][_0x52d6f3(0x1fc)]&&Array[_0x52d6f3(0x1f3)](this[_0x52d6f3(0x21f)][_0x52d6f3(0x1fc)])&&this[_0x52d6f3(0x21f)][_0x52d6f3(0x1fc)][this[_0x52d6f3(0x209)][_0x52d6f3(0x1e0)]]||{};const _0x119bc=this[_0x52d6f3(0x209)][_0x52d6f3(0x1e0)],_0x4a4a30={...this[_0x52d6f3(0x21f)],'capability':this[_0x52d6f3(0x21f)][_0x52d6f3(0x1e7)]&&Array['isArray'](this[_0x52d6f3(0x21f)][_0x52d6f3(0x1e7)])&&this[_0x52d6f3(0x21f)][_0x52d6f3(0x1e7)][_0x119bc]||{},'platformCaps':this[_0x52d6f3(0x21f)][_0x52d6f3(0x1fc)]&&Array[_0x52d6f3(0x1f3)](this[_0x52d6f3(0x21f)][_0x52d6f3(0x1fc)])&&this[_0x52d6f3(0x21f)][_0x52d6f3(0x1fc)][_0x119bc]||{}};delete _0x4a4a30['capabilities'],this[_0x52d6f3(0x209)]['jestConfig']=_0x4a4a30;if(_seleniumWebdriver2){const _0x4027b4=_0x23e4cd[_0x52d6f3(0x1df)][_0x52d6f3(0x1f7)]('|');let _0x5f5d65=0x0;while(!![]){switch(_0x4027b4[_0x5f5d65++]){case'0':this[_0x52d6f3(0x209)][_0x52d6f3(0x208)]=helper['nestedKeyValue'](_0x620cc0,[_0x23e4cd[_0x52d6f3(0x23d)],_0x23e4cd[_0x52d6f3(0x1e8)],_0x23e4cd[_0x52d6f3(0x221)]]);continue;case'1':this['global'][_0x52d6f3(0x231)]=_0x23e4cd[_0x52d6f3(0x241)](require,_0x23e4cd['wGQgV'])['browserstackAgentV2']({...this['configuration'],'capability':this[_0x52d6f3(0x1f1)]||{}},this,testhubUtils[_0x52d6f3(0x1de)]());continue;case'2':this[_0x52d6f3(0x209)][_0x52d6f3(0x1eb)]=helper[_0x52d6f3(0x248)](this[_0x52d6f3(0x21f)]['skipSessionStatus']);continue;case'3':this[_0x52d6f3(0x209)]['percy']=helper[_0x52d6f3(0x1ee)](_0x620cc0,[_0x23e4cd['sJZNl'],_0x23e4cd['QoceV'],_0x23e4cd['SRwrl']]);continue;case'4':this[_0x52d6f3(0x209)][_0x52d6f3(0x219)]=async()=>{const _0x43d31c=_0x52d6f3;await this[_0x43d31c(0x209)][_0x43d31c(0x23a)]['quit'](_0x23e4cd[_0x43d31c(0x23b)]);};continue;case'5':this[_0x52d6f3(0x209)]['__drivers']=[];continue;case'6':helper[_0x52d6f3(0x248)](this[_0x52d6f3(0x21f)][_0x52d6f3(0x22e)])?this[_0x52d6f3(0x209)][_0x52d6f3(0x244)]=!![]:this[_0x52d6f3(0x209)]['sessionNameProvided']=![];continue;case'7':this['global'][_0x52d6f3(0x214)]=helper[_0x52d6f3(0x1ee)](_0x620cc0,[_0x23e4cd['sJZNl'],_0x23e4cd[_0x52d6f3(0x1e8)],_0x23e4cd['KKyNp']]);continue;}break;}}}async[a20_0x4d3d5a(0x22b)](){const _0xfb82d5=a20_0x4d3d5a;_seleniumWebdriver2&&(await helper[_0xfb82d5(0x21c)](this[_0xfb82d5(0x209)]['__driversArray']),this[_0xfb82d5(0x209)][_0xfb82d5(0x231)]['Builder']=originalBuilder),await RequestQueueHandler[_0xfb82d5(0x1fe)]()[_0xfb82d5(0x24b)]();}async[a20_0x4d3d5a(0x207)](){}async[a20_0x4d3d5a(0x202)](_0x1d7ff6,_0x5f19ec){const _0x143d95=a20_0x4d3d5a,_0x32a548={};_0x32a548['rIYMC']=function(_0x4b954a,_0x125d40){return _0x4b954a===_0x125d40;},_0x32a548[_0x143d95(0x23f)]=_0x143d95(0x201),_0x32a548[_0x143d95(0x212)]=function(_0x3fce2b,_0xcfbc54){return _0x3fce2b===_0xcfbc54;},_0x32a548[_0x143d95(0x24c)]='skip',_0x32a548['TKQft']=_0x143d95(0x242),_0x32a548[_0x143d95(0x1f0)]=_0x143d95(0x239),_0x32a548[_0x143d95(0x23c)]='Error\x20in\x20fail-fast\x20test_done\x20handler:',_0x32a548['vWsyC']=function(_0x584875,_0x548123){return _0x584875===_0x548123;},_0x32a548['JUEPN']=_0x143d95(0x22b);const _0x10a216=_0x32a548,{name:_0x313ea5}=_0x1d7ff6;if(_0x10a216['rIYMC'](_0x313ea5,_0x10a216[_0x143d95(0x23f)])){this['global'][_0x143d95(0x1e4)]=_0x1d7ff6[_0x143d95(0x213)];if(_0x10a216['qdEoF'](this[_0x143d95(0x209)][_0x143d95(0x203)],!![])){const _0x2c4306=_0x1d7ff6[_0x143d95(0x213)][_0x143d95(0x1fb)];logger[_0x143d95(0x243)](_0x143d95(0x1f8)+_0x2c4306),_0x1d7ff6[_0x143d95(0x213)][_0x143d95(0x21b)]=_0x10a216[_0x143d95(0x24c)];}}if(this[_0x143d95(0x234)]&&_0x10a216['rIYMC'](_0x313ea5,_0x10a216[_0x143d95(0x20a)]))try{const _0x1860ea=_0x1d7ff6['test'][_0x143d95(0x22a)][_0x143d95(0x22d)](_0x10a216[_0x143d95(0x1f0)]),_0x45ffbf=_0x1d7ff6[_0x143d95(0x213)][_0x143d95(0x205)];await this['failFast']['onTestDone'](_0x1860ea,_0x45ffbf);const _0x439764=await this['failFast'][_0x143d95(0x218)]();_0x10a216[_0x143d95(0x212)](this['global'][_0x143d95(0x203)],![])&&_0x10a216[_0x143d95(0x212)](_0x439764,!![])&&(this[_0x143d95(0x209)][_0x143d95(0x203)]=!![]);}catch(_0x13bd08){logger[_0x143d95(0x1f5)](_0x10a216['WIITl'],_0x13bd08[_0x143d95(0x20e)]);}_0x10a216['vWsyC'](_0x313ea5,_0x10a216[_0x143d95(0x211)])&&(this[_0x143d95(0x234)]&&this[_0x143d95(0x234)][_0x143d95(0x219)]());}}module[a20_0x4d3d5a(0x1e5)]=CustomEnvironment;
|
|
1
|
+
const a20_0x7b11c2=a20_0x5677;function a20_0x3114(){const _0x202028=['jestConfig','uuWFp','CAaCk','platformCaps','uLSKu','browserstackPercyBestPlatform','RJcXG','getTestEnvironment','VBFGy','1879604CWKwFw','teardown','385770ZPnChs','22489780DRXSoc','VeosE','77iAcxUX','retries__','hCqRd','54PwhUrx','failFast','failFastOptions','buildName','resolveTestEnvironment','bDwtt','exports','skip','tLLdg','env','dJSUe','handleTestEvent','browserstackPlatformIndex','1105042KxAsQZ','Error\x20in\x20fail-fast\x20test_done\x20handler:','skipSessionName','SCrzP','quit','zpPCk','cleanupDrivers','mOTnd','bstack:options','nestedKeyValue','hlcHx','default','getInstance','isTrue','4euAdwH','__jestRetries','bVBbZ','../../utils/constants','debug','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','jest-environment-node','__webdriver','IcGHO','../../../helpers/testhub/utils','failFastActive','jest-resolve','VccrF','capabilities','message','../../../index','../test-observability/obsReporter','shutdown','testPath','shouldFailFast','jest-config','sessionNameProvided','__timeout','requireModule','BSTACK_JEST_TEST_ENV','configuration','sVuhA','635802ZaAanZ','node','1736464llJTIQ','cleanup','793671wYsflc','testContext','isArray','Builder','jdRcr','timeout__','errors','ksPun','../../../helpers/logger','../../../helpers/test-observability/requestQueueHandler','driver','test_start','isBrowserstackInfra','testEnvironmentOptions','RTAFO','oRncx','projectName','projectConfig','ghIns','gYBwm','onTestDone','join','name','browserStackGlobals','percy','browserStackPercyOptions','capability','isNotUndefined','skipSessionStatus','requireSeleniumWebdriver','test','cvhTc','\x20>\x20','percyCaptureMode','builder','rpQZf','YVeMK','global','framework','winstonLogger','JEST','../../../helpers/test-orchestration/failfastManager','LXFAY'];a20_0x3114=function(){return _0x202028;};return a20_0x3114();}(function(_0x2ed808,_0x1469a3){const _0x375f0d=a20_0x5677,_0x5710a1=_0x2ed808();while(!![]){try{const _0x4ad7ea=parseInt(_0x375f0d(0x16b))/0x1+-parseInt(_0x375f0d(0x179))/0x2*(parseInt(_0x375f0d(0x198))/0x3)+parseInt(_0x375f0d(0x156))/0x4+parseInt(_0x375f0d(0x158))/0x5+-parseInt(_0x375f0d(0x194))/0x6*(parseInt(_0x375f0d(0x15b))/0x7)+-parseInt(_0x375f0d(0x196))/0x8*(parseInt(_0x375f0d(0x15e))/0x9)+parseInt(_0x375f0d(0x159))/0xa;if(_0x4ad7ea===_0x1469a3)break;else _0x5710a1['push'](_0x5710a1['shift']());}catch(_0x578b0f){_0x5710a1['push'](_0x5710a1['shift']());}}}(a20_0x3114,0xdcb28));const helper=require('../../../helpers/helper'),constants=require(a20_0x7b11c2(0x17c)),{isTestObservabilitySession}=require('../../../helpers/test-observability/utils'),RequestQueueHandler=require(a20_0x7b11c2(0x12b)),ObservabilityReporter=require(a20_0x7b11c2(0x189)),testhubUtils=require(a20_0x7b11c2(0x182)),logger=require(a20_0x7b11c2(0x12a))[a20_0x7b11c2(0x149)],getTestEnvironment=((()=>{const _0x1208e6=a20_0x7b11c2,_0x6c1302={};_0x6c1302[_0x1208e6(0x14c)]=_0x1208e6(0x184),_0x6c1302[_0x1208e6(0x163)]=_0x1208e6(0x18d);const _0x51e4f5=_0x6c1302;try{const _0x318712=helper[_0x1208e6(0x190)](_0x51e4f5[_0x1208e6(0x14c)]);if(_0x318712[_0x1208e6(0x162)])return _0x318712['resolveTestEnvironment'];const _0x274ea7=helper[_0x1208e6(0x190)](_0x51e4f5[_0x1208e6(0x163)]);if(_0x274ea7[_0x1208e6(0x154)])return _0x274ea7[_0x1208e6(0x154)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x545e03=a20_0x7b11c2,_0x4b042d={'VeosE':function(_0x37ff4b,_0x46b2be){return _0x37ff4b(_0x46b2be);},'gYBwm':_0x545e03(0x195),'RJcXG':function(_0x1c0f78,_0x4e5c6e){return _0x1c0f78(_0x4e5c6e);},'oRncx':_0x545e03(0x17f),'VBFGy':function(_0x2801e3,_0x27cbc5){return _0x2801e3(_0x27cbc5);}},_0x7c69c1=_0x4b042d[_0x545e03(0x15a)](getTestEnvironment,{'rootDir':process['cwd'](),'testEnvironment':process[_0x545e03(0x167)][_0x545e03(0x191)]||_0x4b042d[_0x545e03(0x135)]});if(!_0x7c69c1)return _0x4b042d[_0x545e03(0x153)](_interopRequireDefault,helper[_0x545e03(0x190)](_0x4b042d[_0x545e03(0x131)]));return _0x4b042d[_0x545e03(0x155)](_interopRequireDefault,helper[_0x545e03(0x190)](_0x7c69c1));})()),_seleniumWebdriver2=((()=>{const _0x19b471=a20_0x7b11c2,_0x50170f={'uuWFp':function(_0x3bb876,_0x5125cf){return _0x3bb876(_0x5125cf);}};try{const _0x288cb3=helper[_0x19b471(0x13f)]();return helper['modifyCommand'](),_0x50170f[_0x19b471(0x14e)](_interopRequireDefault,_0x288cb3);}catch{return null;}})());function _interopRequireDefault(_0x1ff6a2){return _0x1ff6a2&&_0x1ff6a2['__esModule']?_0x1ff6a2:{'default':_0x1ff6a2};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2['default'][a20_0x7b11c2(0x19b)]:null;class CustomEnvironment extends _jestUserEnvironment[a20_0x7b11c2(0x176)]{constructor(_0x2db613){const _0x32e955=a20_0x7b11c2,_0x6fc09c={'YVeMK':_0x32e955(0x16f),'jdRcr':function(_0x59a286,_0x552a3e){return _0x59a286+_0x552a3e;},'bVBbZ':_0x32e955(0x173),'cvhTc':function(_0xef0ab8,_0x3d9dcc){return _0xef0ab8(_0x3d9dcc);},'ghIns':_0x32e955(0x14b),'WJKUu':'2|7|4|1|6|3|0|5','zpPCk':_0x32e955(0x12f),'uLSKu':_0x32e955(0x13b),'aUVRO':_0x32e955(0x13a),'tLLdg':'browserstackPercyBestPlatform','rpQZf':'percyCaptureMode','SCrzP':_0x32e955(0x188)};super(_0x2db613),this['global']['__timeout']=0x0,this['configuration']={};!_0x2db613[_0x32e955(0x12f)]&&(_0x2db613[_0x32e955(0x12f)]={});if(helper[_0x32e955(0x12e)]()){_0x2db613[_0x32e955(0x12f)]=_0x2db613['projectConfig']?_0x2db613[_0x32e955(0x133)][_0x32e955(0x12f)]:_0x2db613['testEnvironmentOptions'];_seleniumWebdriver2&&(this[_0x32e955(0x144)]=new _seleniumWebdriver2[(_0x32e955(0x176))][(_0x32e955(0x19b))]());this[_0x32e955(0x13c)]=_0x2db613['projectConfig']?_0x2db613[_0x32e955(0x133)]['capability']:_0x2db613[_0x32e955(0x13c)],this[_0x32e955(0x147)][_0x32e955(0x18f)]=_0x6fc09c[_0x32e955(0x126)](_0x2db613['testEnvironmentOptions'][_0x32e955(0x127)]||0x1388,constants['BSTACK_DELTA']),this[_0x32e955(0x160)]=_0x2db613['testEnvironmentOptions']['failFast'];if(this[_0x32e955(0x160)]){const _0x2927fa=this['capability'][_0x6fc09c[_0x32e955(0x17b)]]?.[_0x32e955(0x161)]||'',_0x28d5d3=this['capability'][_0x6fc09c[_0x32e955(0x17b)]]?.[_0x32e955(0x132)]||'';this[_0x32e955(0x15f)]=new(_0x6fc09c[_0x32e955(0x141)](require,_0x6fc09c[_0x32e955(0x134)]))(this[_0x32e955(0x160)],_0x2927fa,_0x28d5d3),this[_0x32e955(0x147)][_0x32e955(0x183)]=![];}helper[_0x32e955(0x13d)](_0x2db613[_0x32e955(0x12f)][_0x32e955(0x15c)])&&(this[_0x32e955(0x147)][_0x32e955(0x17a)]=_0x2db613['testEnvironmentOptions'][_0x32e955(0x15c)]);}if(testhubUtils['shouldProcessEventForTesthub']()){const _0xb328bd=new ObservabilityReporter();_0xb328bd['registerListeners']();}this[_0x32e955(0x147)][_0x32e955(0x139)]={},this[_0x32e955(0x192)]=_0x2db613[_0x32e955(0x12f)],this[_0x32e955(0x192)][_0x32e955(0x148)]=constants['FRAMEWORKS'][_0x32e955(0x14a)],this[_0x32e955(0x147)][_0x32e955(0x16a)]=(_0x2db613[_0x32e955(0x133)]?_0x2db613[_0x32e955(0x133)][_0x32e955(0x16a)]:_0x2db613[_0x32e955(0x16a)])||0x0,this['global']['__platformCaps']=this[_0x32e955(0x192)]&&this[_0x32e955(0x192)][_0x32e955(0x150)]&&Array['isArray'](this[_0x32e955(0x192)][_0x32e955(0x150)])&&this['configuration']['platformCaps'][this[_0x32e955(0x147)][_0x32e955(0x16a)]]||{};const _0xdb57af=this[_0x32e955(0x147)][_0x32e955(0x16a)],_0x1ba040={...this['configuration'],'capability':this[_0x32e955(0x192)]['capabilities']&&Array[_0x32e955(0x19a)](this[_0x32e955(0x192)][_0x32e955(0x186)])&&this['configuration'][_0x32e955(0x186)][_0xdb57af]||{},'platformCaps':this[_0x32e955(0x192)]['platformCaps']&&Array[_0x32e955(0x19a)](this[_0x32e955(0x192)]['platformCaps'])&&this[_0x32e955(0x192)][_0x32e955(0x150)][_0xdb57af]||{}};delete _0x1ba040[_0x32e955(0x186)],this[_0x32e955(0x147)][_0x32e955(0x14d)]=_0x1ba040;if(_seleniumWebdriver2){const _0x108b94=_0x6fc09c['WJKUu']['split']('|');let _0x182070=0x0;while(!![]){switch(_0x108b94[_0x182070++]){case'0':this[_0x32e955(0x147)]['__skipSessionStatus']=helper['isTrue'](this[_0x32e955(0x192)][_0x32e955(0x13e)]);continue;case'1':this[_0x32e955(0x147)][_0x32e955(0x13a)]=helper[_0x32e955(0x174)](_0x2db613,[_0x6fc09c['zpPCk'],_0x6fc09c[_0x32e955(0x151)],_0x6fc09c['aUVRO']]);continue;case'2':this['global']['__drivers']=[];continue;case'3':helper[_0x32e955(0x178)](this[_0x32e955(0x192)][_0x32e955(0x16d)])?this['global'][_0x32e955(0x18e)]=!![]:this['global'][_0x32e955(0x18e)]=![];continue;case'4':this['global'][_0x32e955(0x152)]=helper[_0x32e955(0x174)](_0x2db613,[_0x6fc09c[_0x32e955(0x170)],_0x6fc09c['uLSKu'],_0x6fc09c[_0x32e955(0x166)]]);continue;case'5':this['global'][_0x32e955(0x197)]=async()=>{const _0x104df0=_0x32e955;await this['global'][_0x104df0(0x12c)][_0x104df0(0x16f)](_0x6fc09c[_0x104df0(0x146)]);};continue;case'6':this[_0x32e955(0x147)][_0x32e955(0x143)]=helper['nestedKeyValue'](_0x2db613,[_0x6fc09c['zpPCk'],_0x6fc09c[_0x32e955(0x151)],_0x6fc09c[_0x32e955(0x145)]]);continue;case'7':this[_0x32e955(0x147)][_0x32e955(0x180)]=_0x6fc09c[_0x32e955(0x141)](require,_0x6fc09c[_0x32e955(0x16e)])['browserstackAgentV2']({...this['configuration'],'capability':this['capability']||{}},this,testhubUtils['shouldProcessEventForTesthub']());continue;}break;}}}async[a20_0x7b11c2(0x157)](){const _0x51b4db=a20_0x7b11c2;_seleniumWebdriver2&&(await helper[_0x51b4db(0x171)](this['global']['__driversArray']),this[_0x51b4db(0x147)][_0x51b4db(0x180)][_0x51b4db(0x19b)]=originalBuilder),await RequestQueueHandler[_0x51b4db(0x177)]()[_0x51b4db(0x18a)]();}async['setup'](){}async[a20_0x7b11c2(0x169)](_0x2daf0c,_0x1d682b){const _0x527dd0=a20_0x7b11c2,_0x546da9={};_0x546da9[_0x527dd0(0x172)]=function(_0x2f9cfb,_0xdf1d80){return _0x2f9cfb===_0xdf1d80;},_0x546da9[_0x527dd0(0x15d)]=_0x527dd0(0x12d),_0x546da9[_0x527dd0(0x168)]=function(_0x1c5aff,_0x321c54){return _0x1c5aff===_0x321c54;},_0x546da9[_0x527dd0(0x175)]=_0x527dd0(0x165),_0x546da9[_0x527dd0(0x130)]=function(_0x4f0f80,_0x1843e4){return _0x4f0f80===_0x1843e4;},_0x546da9[_0x527dd0(0x181)]='test_done',_0x546da9['ZIxjr']=_0x527dd0(0x142),_0x546da9[_0x527dd0(0x14f)]=function(_0x4e50d7,_0xc8665a){return _0x4e50d7===_0xc8665a;},_0x546da9[_0x527dd0(0x185)]=function(_0x4b5232,_0x151d6e){return _0x4b5232===_0x151d6e;},_0x546da9['ksPun']=_0x527dd0(0x16c),_0x546da9[_0x527dd0(0x193)]=function(_0x2d0f1b,_0x244e1a){return _0x2d0f1b===_0x244e1a;},_0x546da9['qBDgK']=_0x527dd0(0x157);const _0x3638a1=_0x546da9,{name:_0x7c2c69}=_0x2daf0c;if(_0x3638a1[_0x527dd0(0x172)](_0x7c2c69,_0x3638a1[_0x527dd0(0x15d)])){this[_0x527dd0(0x147)][_0x527dd0(0x199)]=_0x2daf0c[_0x527dd0(0x140)];if(_0x3638a1[_0x527dd0(0x168)](this['global'][_0x527dd0(0x183)],!![])){const _0x11ff89=_0x2daf0c['test'][_0x527dd0(0x138)];logger['info'](_0x527dd0(0x17e)+_0x11ff89),_0x2daf0c[_0x527dd0(0x140)]['mode']=_0x3638a1[_0x527dd0(0x175)];}}if(this[_0x527dd0(0x15f)]&&_0x3638a1['RTAFO'](_0x7c2c69,_0x3638a1[_0x527dd0(0x181)]))try{const _0x261fb4=_0x2daf0c['test'][_0x527dd0(0x18b)][_0x527dd0(0x137)](_0x3638a1['ZIxjr']),_0x53d3d6=_0x2daf0c[_0x527dd0(0x140)][_0x527dd0(0x128)];await this[_0x527dd0(0x15f)][_0x527dd0(0x136)](_0x261fb4,_0x53d3d6);const _0x3dd7d6=await this[_0x527dd0(0x15f)][_0x527dd0(0x18c)]();_0x3638a1[_0x527dd0(0x14f)](this[_0x527dd0(0x147)][_0x527dd0(0x183)],![])&&_0x3638a1['VccrF'](_0x3dd7d6,!![])&&(this[_0x527dd0(0x147)][_0x527dd0(0x183)]=!![]);}catch(_0x44f243){logger[_0x527dd0(0x17d)](_0x3638a1[_0x527dd0(0x129)],_0x44f243[_0x527dd0(0x187)]);}_0x3638a1['sVuhA'](_0x7c2c69,_0x3638a1['qBDgK'])&&(this[_0x527dd0(0x15f)]&&this[_0x527dd0(0x15f)]['cleanup']());}}function a20_0x5677(_0x34efc0,_0x152a7a){const _0x311424=a20_0x3114();return a20_0x5677=function(_0x567712,_0x9b1885){_0x567712=_0x567712-0x126;let _0x4273ca=_0x311424[_0x567712];return _0x4273ca;},a20_0x5677(_0x34efc0,_0x152a7a);}module[a20_0x7b11c2(0x164)]=CustomEnvironment;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a21_0x4b1153=a21_0x28a5;(function(_0x5435e6,_0x404bfe){const _0x2a00a8=a21_0x28a5,_0x11f0e3=_0x5435e6();while(!![]){try{const _0x1ec2e9=-parseInt(_0x2a00a8(0x25e))/0x1*(-parseInt(_0x2a00a8(0x25f))/0x2)+parseInt(_0x2a00a8(0x1c9))/0x3*(-parseInt(_0x2a00a8(0x1d0))/0x4)+parseInt(_0x2a00a8(0x1e2))/0x5+parseInt(_0x2a00a8(0x1ba))/0x6+-parseInt(_0x2a00a8(0x233))/0x7+parseInt(_0x2a00a8(0x213))/0x8+-parseInt(_0x2a00a8(0x1cf))/0x9;if(_0x1ec2e9===_0x404bfe)break;else _0x11f0e3['push'](_0x11f0e3['shift']());}catch(_0x37a1e6){_0x11f0e3['push'](_0x11f0e3['shift']());}}}(a21_0x111d,0xb2640));const {requireModule,isTrue}=require(a21_0x4b1153(0x286)),ObservabilityReporter=require(a21_0x4b1153(0x283)),RequestQueueHandler=require(a21_0x4b1153(0x200)),TestDetails=require(a21_0x4b1153(0x248)),{patchConsoleLogger,debug}=require(a21_0x4b1153(0x2a9)),{o11yErrorHandler}=require(a21_0x4b1153(0x2b8)),{shouldProcessEventForTesthub}=require(a21_0x4b1153(0x25b)),testHubConstants=require(a21_0x4b1153(0x235)),BrowserstackCLI=require('../../v2/browserstackCLI'),TestFrameworkState=require(a21_0x4b1153(0x272)),HookState=require(a21_0x4b1153(0x1f6)),JestUtils=require(a21_0x4b1153(0x1b2)),{v4:uuidv4}=require(a21_0x4b1153(0x210)),util=require('util'),logger=require('../../../helpers/logger')['winstonLogger'],{FRAMEWORKS}=require(a21_0x4b1153(0x1ee));let exportsI;try{exportsI=requireModule(a21_0x4b1153(0x239),a21_0x4b1153(0x1f7));}catch{exportsI=requireModule('jest-circus/build/jestAdapterInit.js','jest-circus');}const initInitialize=exportsI[a21_0x4b1153(0x1ed)],jestUtils=new JestUtils(),_initializedPlatformIndices=new Set();let _currentTestPath=null;function a21_0x28a5(_0x591de4,_0x17a0ae){const _0x111d85=a21_0x111d();return a21_0x28a5=function(_0x28a532,_0x111d3a){_0x28a532=_0x28a532-0x1b0;let _0x3ae0e4=_0x111d85[_0x28a532];return _0x3ae0e4;},a21_0x28a5(_0x591de4,_0x17a0ae);}function getFullJestTestName(_0x2176cf){const _0x4e57ff=a21_0x4b1153,_0x36cd36={};_0x36cd36[_0x4e57ff(0x1b3)]=function(_0x2b9d94,_0x1884cb){return _0x2b9d94!==_0x1884cb;},_0x36cd36[_0x4e57ff(0x256)]='ROOT_DESCRIBE_BLOCK';const _0x6a2aa4=_0x36cd36;try{const _0x36aa30=[];let _0x5dfe6d=_0x2176cf;while(_0x5dfe6d){_0x5dfe6d[_0x4e57ff(0x1b8)]&&_0x6a2aa4[_0x4e57ff(0x1b3)](_0x5dfe6d[_0x4e57ff(0x1b8)],_0x6a2aa4['SJJXB'])&&_0x36aa30['unshift'](_0x5dfe6d[_0x4e57ff(0x1b8)]),_0x5dfe6d=_0x5dfe6d[_0x4e57ff(0x277)];}return _0x36aa30[_0x4e57ff(0x23b)]('\x20');}catch(_0x66b83d){return _0x2176cf&&_0x2176cf[_0x4e57ff(0x1b8)]||'';}}function getActiveTestNamePattern(){const _0x2a6070=a21_0x4b1153,_0x541e6d={'aJEKt':function(_0x134f64,_0x232842,_0x3c7259){return _0x134f64(_0x232842,_0x3c7259);},'JSMaY':'jest-circus/build/state.js','YSqBN':_0x2a6070(0x1f7),'oRpYl':function(_0x365a5a,_0x167744){return _0x365a5a(_0x167744);},'uSQtM':function(_0x4b3ec9,_0x23a245){return _0x4b3ec9===_0x23a245;},'CzBji':_0x2a6070(0x2a8),'TOgUz':function(_0x7ddfb3,_0x4116e1){return _0x7ddfb3 instanceof _0x4116e1;},'ENzOq':_0x2a6070(0x267),'GELwL':function(_0x318552,_0x13d4cc){return _0x318552>_0x13d4cc;},'JgYQU':function(_0x3b91c7,_0x2a1f55){return _0x3b91c7<_0x2a1f55;},'XqjgO':function(_0x398087,_0x749e51){return _0x398087===_0x749e51;},'QWibj':function(_0x290f7b,_0x41dd2d){return _0x290f7b===_0x41dd2d;},'vbLBN':_0x2a6070(0x1b7),'BFBbW':function(_0x466a83,_0x2dd815){return _0x466a83+_0x2dd815;},'dNDAD':'--testNamePattern=','YFSJx':_0x2a6070(0x29c)};try{let _0x5beaf3;try{_0x5beaf3=_0x541e6d['aJEKt'](requireModule,_0x541e6d['JSMaY'],_0x541e6d['YSqBN']);}catch{_0x5beaf3=_0x541e6d['oRpYl'](requireModule,_0x541e6d[_0x2a6070(0x2c2)]);}if(_0x5beaf3&&_0x541e6d['uSQtM'](typeof _0x5beaf3[_0x2a6070(0x1e3)],_0x541e6d[_0x2a6070(0x1bc)])){const _0x2bf623=_0x5beaf3[_0x2a6070(0x1e3)]();if(_0x2bf623&&_0x2bf623[_0x2a6070(0x20a)]){if(_0x541e6d[_0x2a6070(0x2bd)](_0x2bf623[_0x2a6070(0x20a)],RegExp))return _0x2bf623['testNamePattern'];if(_0x541e6d[_0x2a6070(0x1de)](typeof _0x2bf623['testNamePattern'],_0x541e6d[_0x2a6070(0x27b)])&&_0x541e6d[_0x2a6070(0x285)](_0x2bf623['testNamePattern'][_0x2a6070(0x24e)],0x0))return new RegExp(_0x2bf623[_0x2a6070(0x20a)],'i');}}}catch(_0x2a170f){}try{const _0x102727=process[_0x2a6070(0x1dd)]||[];for(let _0x5925e4=0x0;_0x541e6d[_0x2a6070(0x1b6)](_0x5925e4,_0x102727[_0x2a6070(0x24e)]);_0x5925e4++){const _0x384fdb=_0x102727[_0x5925e4];if(_0x541e6d['XqjgO'](_0x384fdb,'-t')||_0x541e6d[_0x2a6070(0x1fc)](_0x384fdb,_0x541e6d[_0x2a6070(0x2bc)])){const _0x8fad0f=_0x102727[_0x541e6d[_0x2a6070(0x236)](_0x5925e4,0x1)];if(_0x8fad0f&&!_0x8fad0f[_0x2a6070(0x1be)]('-'))return new RegExp(_0x8fad0f,'i');}else{if(_0x384fdb&&(_0x384fdb['startsWith'](_0x541e6d[_0x2a6070(0x2b2)])||_0x384fdb[_0x2a6070(0x1be)](_0x541e6d[_0x2a6070(0x1ef)]))){const _0x17a080=_0x384fdb['split']('=')[_0x2a6070(0x25a)](0x1)[_0x2a6070(0x23b)]('=');if(_0x17a080)return new RegExp(_0x17a080,'i');}}}}catch(_0x1e056c){}return null;}function isPhantomSkipFromNameFilter(_0x28ad6b){const _0x5c282f=a21_0x4b1153,_0x56cfb3={'SiiEx':function(_0x38cad7){return _0x38cad7();},'jnfgC':function(_0x181bc7,_0x31c93b){return _0x181bc7(_0x31c93b);}},_0x24a056=_0x56cfb3[_0x5c282f(0x20f)](getActiveTestNamePattern);if(!_0x24a056)return![];const _0x15f538=_0x56cfb3[_0x5c282f(0x293)](getFullJestTestName,_0x28ad6b);if(!_0x15f538)return![];return!_0x24a056[_0x5c282f(0x20b)](_0x15f538);}async function isCLIReady(){const _0x11e3c2=a21_0x4b1153,_0x578a71={'UMLXk':'CLI\x20is\x20enabled\x20and\x20running.','Hzxcq':function(_0x3ccdc5,_0x45513d){return _0x3ccdc5(_0x45513d);},'PYABC':_0x11e3c2(0x1d6),'vEccu':function(_0xc5fc26,_0x36d7e1){return _0xc5fc26===_0x36d7e1;},'kHdhu':_0x11e3c2(0x207),'KiCMf':function(_0x400638,_0x42bdec){return _0x400638(_0x42bdec);}};try{const _0x4b02be=BrowserstackCLI[_0x11e3c2(0x232)]();if(_0x4b02be[_0x11e3c2(0x1b1)]()&&_0x4b02be[_0x11e3c2(0x2a6)]())return logger[_0x11e3c2(0x1f1)](_0x578a71['UMLXk']),!![];const _0x37128b=process[_0x11e3c2(0x2c0)]['BROWSERSTACK_CLI_BIN_SESSION_ID'];if(_0x37128b&&_0x4b02be['isCliEnabled']()){if(!_0x4b02be[_0x11e3c2(0x2a6)]())try{const _0x4d162c=_0x578a71[_0x11e3c2(0x2aa)](require,_0x578a71[_0x11e3c2(0x274)]),_0x1d2afd=_0x4d162c['getAutomationFrameworkDetail']();(!_0x1d2afd||!_0x1d2afd[_0x11e3c2(0x1b8)])&&(_0x578a71['vEccu'](process[_0x11e3c2(0x2c0)][_0x11e3c2(0x223)],_0x578a71[_0x11e3c2(0x26f)])?_0x4d162c[_0x11e3c2(0x243)](FRAMEWORKS['JEST'],FRAMEWORKS['PUPPETEER']):_0x4d162c[_0x11e3c2(0x243)](FRAMEWORKS['JEST'],FRAMEWORKS[_0x11e3c2(0x242)])),await _0x4b02be[_0x11e3c2(0x21e)]();}catch(_0x502f4b){return _0x578a71[_0x11e3c2(0x231)](debug,_0x11e3c2(0x246)+util[_0x11e3c2(0x252)](_0x502f4b)),![];}return _0x4b02be[_0x11e3c2(0x2a6)]();}return![];}catch(_0x27f1ae){return _0x578a71[_0x11e3c2(0x2aa)](debug,_0x11e3c2(0x28a)+util[_0x11e3c2(0x252)](_0x27f1ae)),![];}}function getTestIdentifierForHook(_0x313dda){const _0x513248=a21_0x4b1153,_0x543407={};_0x543407['wLCzl']=function(_0x1b31a1,_0x3fea0a){return _0x1b31a1===_0x3fea0a;},_0x543407[_0x513248(0x1c8)]=_0x513248(0x24f),_0x543407['PYthO']=function(_0x5a6aba,_0x58bcd9){return _0x5a6aba===_0x58bcd9;},_0x543407[_0x513248(0x23a)]=_0x513248(0x292),_0x543407[_0x513248(0x250)]=function(_0x20bcd1,_0x966fcb){return _0x20bcd1===_0x966fcb;};const _0x3bbd7f=_0x543407;if(_0x3bbd7f['wLCzl'](_0x313dda[_0x513248(0x1cd)],_0x3bbd7f['Ejphk'])||_0x3bbd7f['PYthO'](_0x313dda[_0x513248(0x1cd)],_0x3bbd7f[_0x513248(0x23a)])){let _0x181ed3=global[_0x513248(0x287)];if(!_0x181ed3&&_0x3bbd7f['CVFUO'](_0x313dda['type'],_0x3bbd7f[_0x513248(0x23a)])&&_0x313dda[_0x513248(0x277)]){const _0xcfca8d={};_0xcfca8d[_0x513248(0x1b8)]=_0x313dda[_0x513248(0x277)][_0x513248(0x1b8)],_0xcfca8d[_0x513248(0x277)]=_0x313dda[_0x513248(0x277)][_0x513248(0x277)],_0xcfca8d[_0x513248(0x21d)]=_0x313dda[_0x513248(0x21d)],_0xcfca8d[_0x513248(0x24c)]=_0x313dda['file'];const _0x16f716=_0xcfca8d;_0x181ed3=jestUtils['createIdentifierFromJestTest'](_0x16f716);}return _0x181ed3;}return global['__jestCurrentTestIdentifier'];}function mapHookTypeToState(_0x3528c2){const _0x1419cd=a21_0x4b1153,_0x1179f2={};_0x1179f2[_0x1419cd(0x292)]=TestFrameworkState['BEFORE_ALL'],_0x1179f2[_0x1419cd(0x1c6)]=TestFrameworkState['AFTER_ALL'],_0x1179f2[_0x1419cd(0x24f)]=TestFrameworkState['BEFORE_EACH'],_0x1179f2[_0x1419cd(0x29e)]=TestFrameworkState['AFTER_EACH'];const _0x5aaa7a=_0x1179f2;return _0x5aaa7a[_0x3528c2]||TestFrameworkState['BEFORE_EACH'];}async function handleHookEventCLI(_0x423c7d,_0x2b1afd,_0x7cc3df){const _0xfa0c0a=a21_0x4b1153,_0x47ca6e={'lGZmk':function(_0x4f460c,_0x27264f){return _0x4f460c(_0x27264f);},'XitbG':_0xfa0c0a(0x1c4),'WnJWC':function(_0x510b02,_0x2555dc){return _0x510b02===_0x2555dc;},'tXzok':_0xfa0c0a(0x21a),'MWCgx':function(_0x19be4e){return _0x19be4e();},'xZoRQ':function(_0x236199){return _0x236199();},'vcqKX':function(_0x20b967,_0x178f45){return _0x20b967===_0x178f45;},'NvtVs':_0xfa0c0a(0x20d),'Ystld':function(_0x27d5e4,_0x145cf2){return _0x27d5e4(_0x145cf2);},'TEdTs':function(_0x469433,_0x248d09){return _0x469433===_0x248d09;},'pHpIh':function(_0x211930,_0x374ad1){return _0x211930===_0x374ad1;},'rTzXQ':_0xfa0c0a(0x255),'QUbSC':_0xfa0c0a(0x2a4)};logger['debug'](_0xfa0c0a(0x1d1)+_0x2b1afd+'\x20for\x20hook\x20type:\x20'+_0x423c7d['type']);try{if(_0x423c7d['fn']&&_0x423c7d['fn'][_0xfa0c0a(0x23c)]()[_0xfa0c0a(0x215)](/browserstack internal helper hook/))return;if(_0x423c7d[_0xfa0c0a(0x277)]&&_0x47ca6e[_0xfa0c0a(0x28e)](_0x423c7d[_0xfa0c0a(0x277)]['name'],_0x47ca6e[_0xfa0c0a(0x2a2)])){const _0x537bb5=_0x423c7d[_0xfa0c0a(0x21d)]&&((()=>{const _0x322646=_0xfa0c0a;try{const _0x53dcf1=_0x47ca6e[_0x322646(0x1fd)](require,_0x47ca6e[_0x322646(0x202)]),_0x15f2dd=_0x53dcf1['parse'][_0x322646(0x1fb)](_0x53dcf1,_0x423c7d[_0x322646(0x21d)]);return _0x15f2dd[0x0]&&_0x15f2dd[0x0][_0x322646(0x22f)]?_0x15f2dd[0x0]['getFileName']():null;}catch(_0x5c9d6d){return logger[_0x322646(0x1f1)](_0x322646(0x26c)+_0x5c9d6d[_0x322646(0x268)]),null;}})())||_0x423c7d[_0xfa0c0a(0x24c)]||null;if(!_0x537bb5)return;}let _0x40de1c=_0x423c7d[_0xfa0c0a(0x224)];if(!_0x40de1c)_0x40de1c=_0x47ca6e[_0xfa0c0a(0x203)](uuidv4),_0x423c7d['hookAnalyticsId']=_0x40de1c;else _0x423c7d[_0xfa0c0a(0x249)]&&(_0x40de1c=_0x47ca6e[_0xfa0c0a(0x1c3)](uuidv4),_0x423c7d[_0xfa0c0a(0x224)]=_0x40de1c,delete _0x423c7d['markedStatus']);_0x47ca6e[_0xfa0c0a(0x1d3)](_0x2b1afd,_0x47ca6e[_0xfa0c0a(0x2a1)])&&(_0x423c7d[_0xfa0c0a(0x1bf)]=new Date()['toISOString']());const _0x5d24b6=_0x47ca6e[_0xfa0c0a(0x257)](getTestIdentifierForHook,_0x423c7d);!global[_0xfa0c0a(0x220)]&&(global['__workerDetails']={});if(_0x47ca6e[_0xfa0c0a(0x1d3)](_0x2b1afd,_0x47ca6e[_0xfa0c0a(0x2a1)])){global[_0xfa0c0a(0x220)][_0xfa0c0a(0x264)]={'hookUUID':_0x40de1c,'testIdentifier':_0x5d24b6,'hookType':_0x423c7d['type'],'startedAt':new Date()[_0xfa0c0a(0x222)]()};const _0x37e9b7=BrowserstackCLI['getInstance']()[_0xfa0c0a(0x1d4)]();_0x37e9b7&&_0x37e9b7[_0xfa0c0a(0x2b4)]&&_0x37e9b7['setActiveHook'](_0x5d24b6,_0x40de1c,_0x423c7d[_0xfa0c0a(0x1cd)]);}const _0x15b1b5=await jestUtils[_0xfa0c0a(0x298)](_0x423c7d,_0x40de1c,_0x2b1afd,_0x5d24b6);if(!_0x15b1b5)return;const _0x2f38eb=_0x47ca6e[_0xfa0c0a(0x1fd)](mapHookTypeToState,_0x423c7d[_0xfa0c0a(0x1cd)]),_0x16618e=_0x47ca6e['TEdTs'](_0x2b1afd,_0x47ca6e['NvtVs'])?HookState['PRE']:HookState[_0xfa0c0a(0x261)],_0x4de8c3=BrowserstackCLI[_0xfa0c0a(0x232)]()[_0xfa0c0a(0x1d4)]();if(_0x4de8c3){const _0x2e6117={};_0x2e6117[_0xfa0c0a(0x280)]=_0x15b1b5,await _0x4de8c3[_0xfa0c0a(0x241)](_0x2f38eb,_0x16618e,_0x2e6117);if(_0x47ca6e[_0xfa0c0a(0x1e6)](_0x2b1afd,_0x47ca6e[_0xfa0c0a(0x2b3)])){const _0x383e4e={};_0x383e4e[_0xfa0c0a(0x238)]=_0x5d24b6,_0x383e4e['type']=_0x47ca6e[_0xfa0c0a(0x1f2)],await _0x4de8c3['trackEvent'](TestFrameworkState[_0xfa0c0a(0x234)],HookState[_0xfa0c0a(0x261)],_0x383e4e),global[_0xfa0c0a(0x220)]&&global['__workerDetails'][_0xfa0c0a(0x264)]&&_0x47ca6e[_0xfa0c0a(0x28e)](global[_0xfa0c0a(0x220)]['currentHook'][_0xfa0c0a(0x1da)],_0x40de1c)&&delete global[_0xfa0c0a(0x220)][_0xfa0c0a(0x264)],_0x4de8c3[_0xfa0c0a(0x201)]&&_0x4de8c3[_0xfa0c0a(0x201)](_0x5d24b6,_0x40de1c);}}}catch(_0x9cacc0){logger[_0xfa0c0a(0x21c)](_0xfa0c0a(0x1fe)+util[_0xfa0c0a(0x252)](_0x9cacc0));throw _0x9cacc0;}}function a21_0x111d(){const _0x741616=['hookAnalyticsId','fSlKd','includes','test_skip','MLutp','QnqNp','TestRunStarted','EmxiJ','map','originalTest','pid','getFileName','__bstackPlatformIndex','KiCMf','getInstance','5366445BnmqGn','LOG_REPORT','../../../helpers/testhub/constants','BFBbW','xzrxP','testUUID','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','NeMcC','join','toString','Rsesx','sFAcL','UrdBP','bWFtW','trackEvent','PLAYWRIGHT','setFrameworkDetail','YUkLp','TEST','Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20','eZAus','../test-observability/test-details','markedStatus','njOcy','[customJestAdapterInit]\x20Initializing\x20for\x20platformIndex=','file','Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20','length','beforeEach','CVFUO','IFmfY','format','run_describe_finish','Error\x20routing\x20to\x20JestTestFramework:\x20','HookRunFinished','SJJXB','Ystld','[Rerun]\x20Suppressed\x20phantom\x20TestRunStarted\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22','[Rerun]\x20Suppressed\x20phantom\x20TestRunSkipped\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22','slice','../../../helpers/testhub/utils','fail','JiZZH','2179RcYfoy','838eXmdRn','[customJestAdapterInit]\x20initialize\x20called,\x20shouldProcessEventForTesthub=','POST','number','ArAai','currentHook','ThRwJ','Tqrhn','string','message','shutdown','RJsIQ','status','Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20','odNak','BROWSERSTACK_PLATFORM_INDEX','kHdhu','setTestUUID','NapPT','../../v2/state/testFrameworkState',':hookAnalyticsId','PYABC','state','test_done','parent','_bstackTestStatus','iQBBa','keys','ENzOq','failed','Error\x20handling\x20test\x20event\x20for\x20CLI:\x20','HvNFP','add','hookData','EbsGI',',\x20BROWSERSTACK_PUPPETEER=','../test-observability/obsReporter','DYqNy','GELwL','../../../helpers/helper','__jestCurrentTestIdentifier','addEventHandler','yPFxC','Error\x20checking\x20CLI\x20readiness:\x20','DbxqW','FDtCz','wfdKu','WnJWC','has','browserstackPlatformIndex','configuration','beforeAll','jnfgC','lMRec','vArAj','eZpoD','jstva','createHookData','jVAJJ','KlRTK','config','-t=','Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20','afterEach','HookStarted','TestRunFinished','NvtVs','tXzok','testAnalyticsId','hook','_currentRetry','isRunning','SYimm','function','../../../helpers/test-observability/utils','Hzxcq','gFKtR','testInfo','unhandledErrors','PCmfe','_bstackTestFailureReason','sendTestRunEvent','oONcG','dNDAD','rTzXQ','setActiveHook','[customJestAdapterInit]\x20Error\x20in\x20test_done\x20status\x20storage:\x20','jestConfig','createIdentifierFromJestTest','../../../helpers/test-observability/error-handler','UYPAo','retryOf','PRE','vbLBN','TOgUz','Error\x20reading\x20platformIndex\x20from\x20args:\x20','jgkVE','env','currentTest','YSqBN','rXqbD','qZKJN','isCliEnabled','../../v2/utils/jest-utils','onnyL','zxyXH','EventHandler','JgYQU','--testNamePattern','name','jest-circus/build/state.js','4942086AFjbHi','KTMOS','CzBji','passed','startsWith','started_at','createTestFrameworkData','removeAllListeners','hnnxB','xZoRQ','stack-trace','joAKl','afterAll','Handling\x20test\x20event\x20for\x20CLI:\x20','Ejphk','135003XOfbPu','wGMgl','[Rerun]\x20Suppressed\x20phantom\x20TestRunFinished\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22','MgyJw','type','neTeO','13002498HmlOjs','20sjSpzi','Handling\x20hook\x20event\x20for\x20CLI:\x20','hgkoo','vcqKX','getTestFramework','testIdentifier','../../v2/cliUtils','isArray','jUOlG','registerListeners','hookUUID','WmMAy','Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20','argv','uSQtM','qYeEd','eUYpe','errors','1453985uFmuAl','getState','KEAAp','BROWSERSTACK_RERUN','pHpIh','forEach','hook_success','TestRunSkipped','HookFinished','isPhantomSkipFromNameFilter','testPath','initialize','../../utils/constants','YFSJx','VkDGd','debug','QUbSC','[customJestAdapterInit]\x20Set\x20test\x20name:\x20\x22','NgZEl','EVENT','../../v2/state/hookState','jest-circus','hook_failure','XlBLV','makeSingleTestResult','call','QWibj','lGZmk','Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20','test_start','../../../helpers/test-observability/requestQueueHandler','removeActiveHook','XitbG','MWCgx','lMkEY','getFullJestTestName','jUIkb','true','unshift','flSFS','testNamePattern','test','_bstackTestName','HookRunStarted','vUKCq','SiiEx','uuid','teardown','title','9116568yeZuDx','\x20>\x20','match','WoBLW','[customJestAdapterInit]\x20Error\x20building\x20test\x20name:\x20','cIzLt','fCzGk','ROOT_DESCRIBE_BLOCK','__rerunFilterHelpers','error','asyncError','bootstrap','nuHOu','__workerDetails',',\x20re-registering\x20event\x20handler','toISOString','BROWSERSTACK_PUPPETEER'];a21_0x111d=function(){return _0x741616;};return a21_0x111d();}async function handleTestEventCLI(_0x29c3b2,_0x1a1499,_0x9579aa){const _0x1f6087=a21_0x4b1153,_0x2ffcfa={};_0x2ffcfa['fSlKd']=function(_0x520af5,_0x262252){return _0x520af5===_0x262252;},_0x2ffcfa[_0x1f6087(0x1b0)]='TestRunStarted',_0x2ffcfa[_0x1f6087(0x247)]=function(_0xcbebe3,_0x4a8170){return _0xcbebe3>_0x4a8170;},_0x2ffcfa['fCzGk']=function(_0x31fa48,_0x3759a5){return _0x31fa48&&_0x3759a5;},_0x2ffcfa[_0x1f6087(0x28c)]=_0x1f6087(0x27c),_0x2ffcfa[_0x1f6087(0x279)]=_0x1f6087(0x2a0),_0x2ffcfa[_0x1f6087(0x2ab)]=function(_0x3987c0,_0x5a0232){return _0x3987c0&&_0x5a0232;},_0x2ffcfa['ThRwJ']=_0x1f6087(0x20b);const _0x5e045b=_0x2ffcfa;logger[_0x1f6087(0x1f1)](_0x1f6087(0x1c7)+_0x1a1499);try{let _0x2570f6;if(_0x5e045b[_0x1f6087(0x225)](_0x1a1499,_0x5e045b['qZKJN'])){_0x2570f6=jestUtils[_0x1f6087(0x2b7)](_0x29c3b2),global[_0x1f6087(0x287)]=_0x2570f6,_0x29c3b2[_0x1f6087(0x2a3)]=_0x2570f6,_0x29c3b2['id']=_0x2570f6,_0x29c3b2[_0x1f6087(0x1bf)]=new Date()[_0x1f6087(0x222)]();const _0x279fff=_0x9579aa['current_test'];_0x9579aa['current_test']=_0x29c3b2,_0x29c3b2[_0x1f6087(0x2ba)]=null;if(_0x5e045b[_0x1f6087(0x247)](_0x29c3b2[_0x1f6087(0x2a5)],0x0)&&_0x279fff&&_0x5e045b[_0x1f6087(0x225)](_0x279fff[_0x1f6087(0x212)],_0x29c3b2[_0x1f6087(0x212)])){_0x29c3b2[_0x1f6087(0x2ba)]=_0x279fff[_0x1f6087(0x2a3)];const _0x32f3e3=await jestUtils[_0x1f6087(0x1c0)](_0x29c3b2,_0x2570f6,_0x5e045b[_0x1f6087(0x1b0)]),_0x1c188a=BrowserstackCLI[_0x1f6087(0x232)]()['getTestFramework']();if(_0x5e045b[_0x1f6087(0x219)](_0x32f3e3,_0x1c188a)){const _0x4af9d8={};_0x4af9d8[_0x1f6087(0x20b)]=_0x32f3e3,await _0x1c188a[_0x1f6087(0x241)](TestFrameworkState[_0x1f6087(0x245)],HookState[_0x1f6087(0x2bb)],_0x4af9d8);}_0x279fff[_0x1f6087(0x275)]=_0x5e045b[_0x1f6087(0x28c)];const _0x44deb0=await jestUtils[_0x1f6087(0x1c0)](_0x279fff,_0x279fff[_0x1f6087(0x2a3)],_0x5e045b[_0x1f6087(0x279)]);if(_0x5e045b[_0x1f6087(0x219)](_0x44deb0,_0x1c188a)){const _0x1d2956={};_0x1d2956[_0x1f6087(0x20b)]=_0x44deb0,await _0x1c188a[_0x1f6087(0x241)](TestFrameworkState[_0x1f6087(0x245)],HookState[_0x1f6087(0x261)],_0x1d2956);}}else{const _0x106744=await jestUtils[_0x1f6087(0x1c0)](_0x29c3b2,_0x2570f6,_0x5e045b['qZKJN']),_0x4dfb59=BrowserstackCLI[_0x1f6087(0x232)]()[_0x1f6087(0x1d4)]();if(_0x5e045b[_0x1f6087(0x2ab)](_0x106744,_0x4dfb59)){const _0x59fcae={};_0x59fcae[_0x1f6087(0x20b)]=_0x106744,await _0x4dfb59[_0x1f6087(0x241)](TestFrameworkState['TEST'],HookState[_0x1f6087(0x2bb)],_0x59fcae);}}}else{_0x2570f6=_0x29c3b2['testAnalyticsId']||_0x29c3b2['id']||global[_0x1f6087(0x287)];const _0x33f9c6=await jestUtils['createTestFrameworkData'](_0x29c3b2,_0x2570f6,_0x1a1499),_0x276615=BrowserstackCLI[_0x1f6087(0x232)]()[_0x1f6087(0x1d4)]();if(_0x5e045b[_0x1f6087(0x219)](_0x33f9c6,_0x276615)){const _0x463035={};_0x463035[_0x1f6087(0x20b)]=_0x33f9c6,_0x463035[_0x1f6087(0x22d)]=_0x29c3b2,_0x463035[_0x1f6087(0x1d5)]=_0x2570f6,await _0x276615[_0x1f6087(0x241)](TestFrameworkState['TEST'],HookState[_0x1f6087(0x261)],_0x463035);const _0x5eec5f={};_0x5eec5f[_0x1f6087(0x238)]=_0x2570f6,_0x5eec5f[_0x1f6087(0x1cd)]=_0x5e045b[_0x1f6087(0x265)],await _0x276615['trackEvent'](TestFrameworkState[_0x1f6087(0x234)],HookState[_0x1f6087(0x261)],_0x5eec5f);}}}catch(_0x1463e7){logger[_0x1f6087(0x21c)](_0x1f6087(0x27d)+util[_0x1f6087(0x252)](_0x1463e7));throw _0x1463e7;}}exportsI[a21_0x4b1153(0x1ed)]=(..._0x2d1612)=>{const _0x464ca0=a21_0x4b1153,_0x58367c={'NgZEl':function(_0x4d9924,_0x1f1d9f){return _0x4d9924(_0x1f1d9f);},'neTeO':_0x464ca0(0x1c4),'rXqbD':function(_0x371bfe,_0x37d65a){return _0x371bfe&&_0x37d65a;},'nuHOu':'hook_start','lMRec':function(_0x265994,_0x1134f3){return _0x265994===_0x1134f3;},'DYqNy':_0x464ca0(0x21a),'uaPlO':function(_0x4a84fc){return _0x4a84fc();},'UrdBP':function(_0x325937,_0x15aa7a){return _0x325937(_0x15aa7a);},'YUkLp':function(_0x269835,_0x11aa52,_0x43fc76,_0x5091a0){return _0x269835(_0x11aa52,_0x43fc76,_0x5091a0);},'Rsesx':_0x464ca0(0x20d),'UYPAo':function(_0x259577,_0xe1554){return _0x259577(_0xe1554);},'IFmfY':_0x464ca0(0x1e8),'jstva':function(_0x25e45b){return _0x25e45b();},'eUYpe':function(_0x3ae4cb,_0x2481e7){return _0x3ae4cb(_0x2481e7);},'oONcG':_0x464ca0(0x255),'cIRmu':'hook_failure','zxyXH':_0x464ca0(0x292),'RyMDx':_0x464ca0(0x24f),'JiZZH':_0x464ca0(0x29e),'eZpoD':function(_0x19dff1,_0x2482ad){return _0x19dff1>_0x2482ad;},'hgkoo':function(_0x59248c){return _0x59248c();},'HvNFP':function(_0x13e4c1,_0x4a192f){return _0x13e4c1(_0x4a192f);},'KTMOS':function(_0xb675b2,_0x2ef20c,_0x303e0f,_0x1e01d3){return _0xb675b2(_0x2ef20c,_0x303e0f,_0x1e01d3);},'sJEKn':function(_0x2649ae,_0x336f9e){return _0x2649ae(_0x336f9e);},'jVAJJ':_0x464ca0(0x1ff),'MLutp':function(_0x3879bd,_0xfe68ef){return _0x3879bd(_0xfe68ef);},'jgkVE':function(_0x46c14a,_0x5c4db1){return _0x46c14a(_0x5c4db1);},'KBtOH':function(_0xcaf24c,_0x505ffa){return _0xcaf24c!==_0x505ffa;},'ArAai':_0x464ca0(0x214),'EmxiJ':function(_0x379f2a){return _0x379f2a();},'RJsIQ':function(_0x3ba6fd,_0x4810db,_0x26ec97,_0x3b2c7a){return _0x3ba6fd(_0x4810db,_0x26ec97,_0x3b2c7a);},'joAKl':_0x464ca0(0x22a),'odNak':function(_0x3b56f4,_0x1f560b){return _0x3b56f4(_0x1f560b);},'DbxqW':_0x464ca0(0x276),'vUKCq':function(_0xbb0cd2,_0x152db6){return _0xbb0cd2(_0x152db6);},'bWFtW':function(_0x188a3d,_0x3eb59c){return _0x188a3d(_0x3eb59c);},'njOcy':function(_0x59b94a,_0x5a65ea){return _0x59b94a>_0x5a65ea;},'EbsGI':function(_0x33dfbf,_0x583276){return _0x33dfbf===_0x583276;},'wfdKu':_0x464ca0(0x25c),'NapPT':_0x464ca0(0x27c),'RZpVz':_0x464ca0(0x1bd),'uGyAS':function(_0x259c21,_0x3558df){return _0x259c21||_0x3558df;},'qYeEd':function(_0x589ab1){return _0x589ab1();},'flSFS':'TestRunFinished','yPFxC':function(_0xb9ae82,_0x4143d8){return _0xb9ae82(_0x4143d8);},'sFAcL':_0x464ca0(0x227),'WoBLW':function(_0xaa2ff,_0x189d0c){return _0xaa2ff(_0x189d0c);},'UsvQo':function(_0x2761e1,_0x28f25c){return _0x2761e1(_0x28f25c);},'GlKxb':function(_0x2bb64b,_0x24f324,_0x580530,_0x2a341){return _0x2bb64b(_0x24f324,_0x580530,_0x2a341);},'YdEnO':_0x464ca0(0x1e9),'fxLwU':_0x464ca0(0x253),'jUOlG':_0x464ca0(0x211),'XlBLV':function(_0x17a7c2){return _0x17a7c2();},'wGMgl':function(_0x470db2,_0x25a839){return _0x470db2===_0x25a839;},'SYimm':_0x464ca0(0x267),'KlRTK':_0x464ca0(0x262),'vArAj':function(_0xdb3753,_0x93ee5a){return _0xdb3753===_0x93ee5a;},'cIzLt':function(_0x940b57,_0x3c3085){return _0x940b57===_0x3c3085;},'MgyJw':function(_0x3e84b7){return _0x3e84b7();},'DaCcG':function(_0x55c328){return _0x55c328();},'xzrxP':function(_0x1f5480,_0xa0b623,_0xa84f79){return _0x1f5480(_0xa0b623,_0xa84f79);},'ALdAo':_0x464ca0(0x1b9),'Tqrhn':'jest-circus','WmMAy':function(_0x33454b,_0x401e0e){return _0x33454b(_0x401e0e);},'VkDGd':function(_0xd10c59,_0x2ff76b,_0x5de982){return _0xd10c59(_0x2ff76b,_0x5de982);},'QnqNp':'jest-circus/build/utils.js','PCmfe':function(_0x5143ff){return _0x5143ff();},'KEAAp':function(_0x23d0b9,_0x333ff4,_0x491cbd){return _0x23d0b9(_0x333ff4,_0x491cbd);},'hnnxB':_0x464ca0(0x1b5),'GesyE':function(_0x58e737,_0x2b0cb5){return _0x58e737(_0x2b0cb5);}};try{logger[_0x464ca0(0x1f1)](_0x464ca0(0x260)+_0x58367c[_0x464ca0(0x1f9)](shouldProcessEventForTesthub)+_0x464ca0(0x282)+process[_0x464ca0(0x2c0)][_0x464ca0(0x223)]);const _0x2f71fa=_0x2d1612&&_0x2d1612[0x0]?_0x2d1612[0x0]:{};_0x2f71fa&&_0x58367c[_0x464ca0(0x1ca)](typeof _0x2f71fa[_0x464ca0(0x1ec)],_0x58367c[_0x464ca0(0x2a7)])&&_0x2f71fa[_0x464ca0(0x1ec)]&&(_currentTestPath=_0x2f71fa['testPath']);let _0x3dfdd3=0x0;try{if(_0x2f71fa[_0x464ca0(0x29b)]&&_0x58367c[_0x464ca0(0x1ca)](typeof _0x2f71fa[_0x464ca0(0x29b)][_0x464ca0(0x290)],_0x58367c[_0x464ca0(0x29a)]))_0x3dfdd3=_0x2f71fa[_0x464ca0(0x29b)][_0x464ca0(0x290)];else{if(_0x2f71fa[_0x464ca0(0x291)]&&_0x58367c[_0x464ca0(0x295)](typeof _0x2f71fa[_0x464ca0(0x291)][_0x464ca0(0x290)],_0x58367c[_0x464ca0(0x29a)]))_0x3dfdd3=_0x2f71fa['configuration'][_0x464ca0(0x290)];else global[_0x464ca0(0x2b6)]&&_0x58367c[_0x464ca0(0x218)](typeof global[_0x464ca0(0x2b6)][_0x464ca0(0x290)],_0x58367c[_0x464ca0(0x29a)])&&(_0x3dfdd3=global[_0x464ca0(0x2b6)][_0x464ca0(0x290)]);}}catch(_0x5f1529){logger['debug'](_0x464ca0(0x2be)+util[_0x464ca0(0x252)](_0x5f1529));}global[_0x464ca0(0x230)]=_0x3dfdd3,process['env'][_0x464ca0(0x26e)]=_0x58367c[_0x464ca0(0x289)](String,_0x3dfdd3);const _0x5ec5e0=new ObservabilityReporter();!_initializedPlatformIndices[_0x464ca0(0x28f)](_0x3dfdd3)?(logger['debug'](_0x464ca0(0x24b)+_0x3dfdd3),_initializedPlatformIndices[_0x464ca0(0x27f)](_0x3dfdd3),_0x58367c[_0x464ca0(0x1cc)](shouldProcessEventForTesthub)&&(_0x58367c['DaCcG'](patchConsoleLogger),_0x5ec5e0[_0x464ca0(0x1d9)]())):logger['debug']('[customJestAdapterInit]\x20Skipping\x20heavy\x20init\x20for\x20platformIndex='+_0x3dfdd3+_0x464ca0(0x221));let _0x2fbf4c;try{_0x2fbf4c=_0x58367c[_0x464ca0(0x237)](requireModule,_0x58367c['ALdAo'],_0x58367c[_0x464ca0(0x266)]);}catch{_0x2fbf4c=_0x58367c[_0x464ca0(0x1db)](requireModule,_0x58367c[_0x464ca0(0x266)]);}let _0x645f8b;try{_0x645f8b=_0x58367c[_0x464ca0(0x1f0)](requireModule,_0x58367c[_0x464ca0(0x229)],_0x58367c['Tqrhn'])['makeSingleTestResult'];}catch{_0x645f8b=_0x58367c['eUYpe'](requireModule,_0x58367c[_0x464ca0(0x266)])[_0x464ca0(0x1fa)]||(()=>({}));}const _0x5e590b=BrowserstackCLI[_0x464ca0(0x232)]()[_0x464ca0(0x1b1)]();(_0x58367c[_0x464ca0(0x2ae)](shouldProcessEventForTesthub)||_0x5e590b)&&_0x2fbf4c[_0x464ca0(0x288)](_0x58367c[_0x464ca0(0x1e4)](o11yErrorHandler,async(_0x24c2a3,_0x825110)=>{const _0x12df10=_0x464ca0,_0x5d8d54={'lMkEY':function(_0x34afe1,_0x1e2578){const _0x123535=a21_0x28a5;return _0x58367c[_0x123535(0x1f4)](_0x34afe1,_0x1e2578);}};_0x58367c[_0x12df10(0x2c3)](_currentTestPath,_0x24c2a3)&&_0x24c2a3[_0x12df10(0x20b)]&&!_0x24c2a3['test'][_0x12df10(0x24c)]&&(_0x24c2a3[_0x12df10(0x20b)][_0x12df10(0x24c)]=_currentTestPath);switch(_0x24c2a3['name']){case _0x58367c[_0x12df10(0x21f)]:if(_0x24c2a3['hook']['fn']&&_0x24c2a3[_0x12df10(0x2a4)]['fn'][_0x12df10(0x23c)]()[_0x12df10(0x215)](/browserstack internal helper hook/))break;if(_0x24c2a3[_0x12df10(0x2a4)][_0x12df10(0x277)]&&_0x58367c[_0x12df10(0x294)](_0x24c2a3[_0x12df10(0x2a4)][_0x12df10(0x277)][_0x12df10(0x1b8)],_0x58367c[_0x12df10(0x284)])){const _0x3075b5=_0x24c2a3[_0x12df10(0x2a4)][_0x12df10(0x21d)]&&((()=>{const _0x4059ea=_0x12df10;try{const _0xed12ae=_0x58367c[_0x4059ea(0x1f4)](require,_0x58367c[_0x4059ea(0x1ce)]),_0x1513f5=_0xed12ae['parse']['call'](_0xed12ae,_0x24c2a3[_0x4059ea(0x2a4)][_0x4059ea(0x21d)]);return _0x1513f5[0x0]&&_0x1513f5[0x0][_0x4059ea(0x22f)]?_0x1513f5[0x0]['getFileName']():null;}catch(_0xbc307c){return logger['debug'](_0x4059ea(0x26c)+_0xbc307c['message']),null;}})())||_0x24c2a3[_0x12df10(0x2a4)][_0x12df10(0x24c)]||null;if(!_0x3075b5)break;}if(BrowserstackCLI[_0x12df10(0x232)]()[_0x12df10(0x1b1)]()&&await _0x58367c['uaPlO'](isCLIReady)){if(_0x58367c[_0x12df10(0x23f)](shouldProcessEventForTesthub,testHubConstants['EVENT']['HookStarted']))try{await _0x58367c[_0x12df10(0x244)](handleHookEventCLI,_0x24c2a3[_0x12df10(0x2a4)],_0x58367c[_0x12df10(0x23d)],_0x825110);break;}catch(_0x333ec0){_0x58367c[_0x12df10(0x2b9)](debug,_0x12df10(0x254)+util['format'](_0x333ec0));}}if(_0x58367c[_0x12df10(0x23f)](shouldProcessEventForTesthub,testHubConstants[_0x12df10(0x1f5)][_0x12df10(0x29f)])){if(!_0x24c2a3[_0x12df10(0x2a4)][_0x12df10(0x224)]){const _0x41e345=TestDetails['setTestUUID'](process[_0x12df10(0x22e)]+_0x12df10(0x273));_0x24c2a3[_0x12df10(0x2a4)]['hookAnalyticsId']=_0x41e345;}else _0x24c2a3[_0x12df10(0x2a4)][_0x12df10(0x249)]&&(_0x24c2a3[_0x12df10(0x2a4)][_0x12df10(0x224)]=TestDetails[_0x12df10(0x270)](process['pid']+':hookAnalyticsId'),delete _0x24c2a3[_0x12df10(0x2a4)][_0x12df10(0x249)]);_0x24c2a3[_0x12df10(0x2a4)][_0x12df10(0x1bf)]=new Date()[_0x12df10(0x222)](),await _0x5ec5e0[_0x12df10(0x2b0)](_0x24c2a3['hook'],undefined,![],_0x58367c['Rsesx']);}break;case _0x58367c[_0x12df10(0x251)]:if(BrowserstackCLI[_0x12df10(0x232)]()[_0x12df10(0x1b1)]()&&await _0x58367c['jstva'](isCLIReady)){if(_0x58367c[_0x12df10(0x1e0)](shouldProcessEventForTesthub,testHubConstants[_0x12df10(0x1f5)][_0x12df10(0x1ea)]))try{await _0x58367c[_0x12df10(0x244)](handleHookEventCLI,_0x24c2a3[_0x12df10(0x2a4)],_0x58367c['oONcG'],_0x825110);break;}catch(_0x22adc0){_0x58367c[_0x12df10(0x23f)](debug,_0x12df10(0x254)+util[_0x12df10(0x252)](_0x22adc0));}}_0x58367c['NgZEl'](shouldProcessEventForTesthub,testHubConstants[_0x12df10(0x1f5)][_0x12df10(0x1ea)])&&(await _0x5ec5e0[_0x12df10(0x2b0)](_0x24c2a3['hook'],undefined,![],_0x58367c[_0x12df10(0x2b1)]),TestDetails['removeTestUUID'](process[_0x12df10(0x22e)]+_0x12df10(0x273)));break;case _0x58367c['cIRmu']:[_0x58367c[_0x12df10(0x1b4)],_0x58367c['RyMDx'],_0x58367c[_0x12df10(0x25d)]][_0x12df10(0x226)](_0x24c2a3[_0x12df10(0x2a4)][_0x12df10(0x1cd)])&&(_0x5ec5e0[_0x12df10(0x1f8)]=_0x24c2a3[_0x12df10(0x2a4)][_0x12df10(0x1cd)]),_0x825110[_0x12df10(0x2ad)]&&_0x58367c[_0x12df10(0x296)](_0x825110[_0x12df10(0x2ad)][_0x12df10(0x24e)],0x0)&&(_0x24c2a3[_0x12df10(0x2a4)]['errorsDetailed']=[_0x825110[_0x12df10(0x2ad)][0x0][0x0]]);if(BrowserstackCLI[_0x12df10(0x232)]()[_0x12df10(0x1b1)]()&&await _0x58367c[_0x12df10(0x1d2)](isCLIReady)){if(_0x58367c[_0x12df10(0x27e)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x12df10(0x1ea)]))try{await _0x58367c[_0x12df10(0x1bb)](handleHookEventCLI,_0x24c2a3[_0x12df10(0x2a4)],_0x58367c[_0x12df10(0x2b1)],_0x825110);break;}catch(_0x4142d8){_0x58367c[_0x12df10(0x1f4)](debug,_0x12df10(0x254)+util[_0x12df10(0x252)](_0x4142d8));}}_0x58367c['sJEKn'](shouldProcessEventForTesthub,testHubConstants[_0x12df10(0x1f5)][_0x12df10(0x1ea)])&&(await _0x5ec5e0[_0x12df10(0x2b0)](_0x24c2a3['hook'],undefined,![],_0x58367c[_0x12df10(0x2b1)]),TestDetails['removeTestUUID'](process[_0x12df10(0x22e)]+_0x12df10(0x273)));break;case _0x58367c[_0x12df10(0x299)]:if(_0x58367c[_0x12df10(0x228)](isTrue,process['env'][_0x12df10(0x1e5)])&&_0x58367c[_0x12df10(0x27e)](isPhantomSkipFromNameFilter,_0x24c2a3['test'])){const _0x59148a=_0x58367c[_0x12df10(0x2bf)](getFullJestTestName,_0x24c2a3[_0x12df10(0x20b)]);logger[_0x12df10(0x1f1)](_0x12df10(0x258)+_0x59148a+'\x22');break;}try{let _0x4818c2=_0x24c2a3[_0x12df10(0x20b)][_0x12df10(0x1b8)]||'';try{let _0x360063=_0x24c2a3[_0x12df10(0x20b)][_0x12df10(0x277)];const _0x740d83=[_0x4818c2];while(_0x360063&&_0x360063[_0x12df10(0x1b8)]&&_0x58367c['KBtOH'](_0x360063[_0x12df10(0x1b8)],_0x58367c[_0x12df10(0x284)])){_0x740d83[_0x12df10(0x208)](_0x360063[_0x12df10(0x1b8)]),_0x360063=_0x360063[_0x12df10(0x277)];}_0x4818c2=_0x740d83[_0x12df10(0x23b)](_0x58367c[_0x12df10(0x263)]);}catch(_0x363dc5){logger['debug'](_0x12df10(0x217)+_0x363dc5[_0x12df10(0x268)]);}process[_0x12df10(0x20c)]=_0x4818c2,process[_0x12df10(0x278)]=null,process[_0x12df10(0x2af)]=null,logger[_0x12df10(0x1f1)](_0x12df10(0x1f3)+_0x4818c2+'\x22');if(!global[_0x12df10(0x220)]){const _0x158b88={};_0x158b88[_0x12df10(0x2c1)]={},global[_0x12df10(0x220)]=_0x158b88;}!global[_0x12df10(0x220)][_0x12df10(0x2c1)]&&(global[_0x12df10(0x220)][_0x12df10(0x2c1)]={});const _0x55c1a7={};_0x55c1a7[_0x12df10(0x212)]=_0x4818c2,_0x55c1a7['name']=_0x4818c2,global[_0x12df10(0x220)]['currentTest'][_0x12df10(0x2ac)]=_0x55c1a7,global['browserstackTestName']=_0x4818c2;}catch(_0x496c2f){logger[_0x12df10(0x1f1)]('[customJestAdapterInit]\x20Error\x20in\x20test_start\x20name\x20storage:\x20'+_0x496c2f[_0x12df10(0x268)]);}if(BrowserstackCLI[_0x12df10(0x232)]()['isCliEnabled']()&&await _0x58367c[_0x12df10(0x22b)](isCLIReady))try{await _0x58367c[_0x12df10(0x26a)](handleTestEventCLI,_0x24c2a3['test'],_0x58367c[_0x12df10(0x1c5)],_0x5ec5e0);break;}catch(_0x298db6){_0x58367c[_0x12df10(0x26d)](debug,_0x12df10(0x254)+util[_0x12df10(0x252)](_0x298db6));}_0x58367c[_0x12df10(0x1d2)](shouldProcessEventForTesthub)&&await _0x5ec5e0['testStarted'](_0x24c2a3['test']);break;case _0x58367c[_0x12df10(0x28b)]:{const _0xbb10af=_0x24c2a3[_0x12df10(0x20b)];if(_0x58367c[_0x12df10(0x27e)](isTrue,process['env'][_0x12df10(0x1e5)])&&_0x58367c[_0x12df10(0x23f)](isPhantomSkipFromNameFilter,_0xbb10af)){const _0xfdf6c7=_0x58367c[_0x12df10(0x20e)](getFullJestTestName,_0xbb10af);logger[_0x12df10(0x1f1)](_0x12df10(0x1cb)+_0xfdf6c7+'\x22'),_0xbb10af[_0x12df10(0x249)]=!![];break;}_0x24c2a3[_0x12df10(0x20b)]={..._0x58367c[_0x12df10(0x240)](_0x645f8b,_0x24c2a3[_0x12df10(0x20b)]),..._0x24c2a3[_0x12df10(0x20b)]};try{const _0x51a539=_0x24c2a3['test'][_0x12df10(0x1e1)]||[],_0x2158b1=_0x58367c[_0x12df10(0x24a)](_0x51a539['length'],0x0)||_0x58367c[_0x12df10(0x281)](_0x24c2a3[_0x12df10(0x20b)]['status'],_0x58367c[_0x12df10(0x28d)]),_0x5ba71c=_0x2158b1?_0x58367c[_0x12df10(0x271)]:_0x58367c['RZpVz'];let _0x495ef0='';_0x2158b1&&(_0x495ef0=_0x51a539[_0x12df10(0x22c)](_0x4a4ce0=>{const _0x139c34=_0x12df10;if(Array[_0x139c34(0x1d7)](_0x4a4ce0))return _0x4a4ce0[_0x139c34(0x22c)](_0x1b3927=>_0x1b3927&&_0x1b3927[_0x139c34(0x268)]||String(_0x1b3927))['join'](';\x20');return _0x4a4ce0&&_0x4a4ce0[_0x139c34(0x268)]||_0x5d8d54[_0x139c34(0x204)](String,_0x4a4ce0);})[_0x12df10(0x23b)](';\x20')),process['_bstackTestStatus']=_0x5ba71c,process['_bstackTestFailureReason']=_0x58367c['uGyAS'](_0x495ef0,''),logger['debug']('[customJestAdapterInit]\x20Set\x20test\x20status:\x20\x22'+_0x5ba71c+'\x22'),global['__workerDetails']&&global['__workerDetails']['currentTest']&&(!global[_0x12df10(0x220)][_0x12df10(0x2c1)][_0x12df10(0x2ac)]&&(global[_0x12df10(0x220)][_0x12df10(0x2c1)][_0x12df10(0x2ac)]={}),global[_0x12df10(0x220)][_0x12df10(0x2c1)][_0x12df10(0x2ac)][_0x12df10(0x26b)]=_0x5ba71c,_0x2158b1&&(global[_0x12df10(0x220)][_0x12df10(0x2c1)][_0x12df10(0x2ac)]['failureMessage']=_0x495ef0));}catch(_0x32ca06){logger[_0x12df10(0x1f1)](_0x12df10(0x2b5)+_0x32ca06[_0x12df10(0x268)]);}if(!_0x24c2a3[_0x12df10(0x20b)][_0x12df10(0x249)]){_0x24c2a3[_0x12df10(0x20b)][_0x12df10(0x249)]=!![];if(BrowserstackCLI['getInstance']()[_0x12df10(0x1b1)]()&&await _0x58367c[_0x12df10(0x1df)](isCLIReady))try{await _0x58367c['RJsIQ'](handleTestEventCLI,_0x24c2a3[_0x12df10(0x20b)],_0x58367c[_0x12df10(0x209)],_0x5ec5e0);break;}catch(_0x7d4e41){_0x58367c[_0x12df10(0x289)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x12df10(0x252)](_0x7d4e41));}_0x58367c[_0x12df10(0x297)](shouldProcessEventForTesthub)&&await _0x5ec5e0[_0x12df10(0x2b0)](_0x24c2a3[_0x12df10(0x20b)]);}break;}case _0x58367c[_0x12df10(0x23e)]:{const _0x4ab02d=_0x24c2a3['test'];if(_0x58367c[_0x12df10(0x216)](isTrue,process['env'][_0x12df10(0x1e5)])&&_0x58367c['UrdBP'](isPhantomSkipFromNameFilter,_0x4ab02d)){const _0x5690e0=_0x58367c['UsvQo'](getFullJestTestName,_0x4ab02d);logger[_0x12df10(0x1f1)](_0x12df10(0x259)+_0x5690e0+'\x22'),_0x4ab02d[_0x12df10(0x249)]=!![];break;}_0x24c2a3['test']={..._0x58367c[_0x12df10(0x27e)](_0x645f8b,_0x24c2a3[_0x12df10(0x20b)]),..._0x24c2a3['test']};if(!_0x24c2a3[_0x12df10(0x20b)]['markedStatus']){_0x24c2a3[_0x12df10(0x20b)]['markedStatus']=!![];if(BrowserstackCLI['getInstance']()[_0x12df10(0x1b1)]()&&await _0x58367c[_0x12df10(0x1df)](isCLIReady))try{await _0x58367c['GlKxb'](handleTestEventCLI,_0x24c2a3['test'],_0x58367c['YdEnO'],_0x5ec5e0);break;}catch(_0x54ce1a){_0x58367c[_0x12df10(0x228)](debug,_0x12df10(0x254)+util[_0x12df10(0x252)](_0x54ce1a));}_0x58367c[_0x12df10(0x297)](shouldProcessEventForTesthub)&&await _0x5ec5e0[_0x12df10(0x2b0)](_0x24c2a3['test'],undefined,![],_0x58367c['YdEnO']);}break;}case _0x58367c['fxLwU']:_0x5ec5e0[_0x12df10(0x1f8)]=null;break;case _0x58367c[_0x12df10(0x1d8)]:await RequestQueueHandler[_0x12df10(0x232)]()[_0x12df10(0x269)](),process[_0x12df10(0x1c1)]();break;default:}},_0x58367c[_0x464ca0(0x1c2)]));}catch(_0x54529d){_0x58367c['GesyE'](debug,_0x464ca0(0x1dc)+_0x54529d);}return _0x58367c['NgZEl'](initInitialize,..._0x2d1612);};try{Object[a21_0x4b1153(0x27a)](exportsI)[a21_0x4b1153(0x1e7)](_0x3639e0=>{const _0x134ef0=a21_0x4b1153,_0x40ecfb={'jUIkb':function(_0x4551c9,_0x59ff34){return _0x4551c9(_0x59ff34);}};try{exports&&(exports[_0x3639e0]=exportsI[_0x3639e0]);}catch(_0x5a7ddc){_0x40ecfb[_0x134ef0(0x206)](debug,_0x134ef0(0x24d)+_0x5a7ddc);}});}catch(a21_0x5c8d9d){debug(a21_0x4b1153(0x29d)+a21_0x5c8d9d);}const a21_0x8232b0={};a21_0x8232b0[a21_0x4b1153(0x205)]=getFullJestTestName,a21_0x8232b0['getActiveTestNamePattern']=getActiveTestNamePattern,a21_0x8232b0[a21_0x4b1153(0x1eb)]=isPhantomSkipFromNameFilter,exports[a21_0x4b1153(0x21b)]=a21_0x8232b0;
|
|
1
|
+
const a21_0x5ad598=a21_0x5ccc;(function(_0x4ddac5,_0x201881){const _0x12aca7=a21_0x5ccc,_0x3fa9e1=_0x4ddac5();while(!![]){try{const _0x5931a2=-parseInt(_0x12aca7(0x16e))/0x1+-parseInt(_0x12aca7(0x175))/0x2+-parseInt(_0x12aca7(0x197))/0x3+-parseInt(_0x12aca7(0x15d))/0x4*(parseInt(_0x12aca7(0x12b))/0x5)+-parseInt(_0x12aca7(0xe0))/0x6*(-parseInt(_0x12aca7(0x16d))/0x7)+-parseInt(_0x12aca7(0x1d3))/0x8*(-parseInt(_0x12aca7(0x1c7))/0x9)+parseInt(_0x12aca7(0x106))/0xa*(parseInt(_0x12aca7(0x1de))/0xb);if(_0x5931a2===_0x201881)break;else _0x3fa9e1['push'](_0x3fa9e1['shift']());}catch(_0x294760){_0x3fa9e1['push'](_0x3fa9e1['shift']());}}}(a21_0x35d4,0xee776));const {requireModule,isTrue}=require(a21_0x5ad598(0x11e)),ObservabilityReporter=require(a21_0x5ad598(0x142)),RequestQueueHandler=require(a21_0x5ad598(0xe3)),TestDetails=require(a21_0x5ad598(0x16b)),{patchConsoleLogger,debug}=require(a21_0x5ad598(0xfd)),{o11yErrorHandler}=require(a21_0x5ad598(0x13b)),{shouldProcessEventForTesthub}=require(a21_0x5ad598(0x1e6)),testHubConstants=require(a21_0x5ad598(0x1b1)),BrowserstackCLI=require('../../v2/browserstackCLI'),TestFrameworkState=require('../../v2/state/testFrameworkState'),HookState=require(a21_0x5ad598(0x112)),JestUtils=require(a21_0x5ad598(0xd2)),{v4:uuidv4}=require('uuid'),util=require(a21_0x5ad598(0x1be)),logger=require('../../../helpers/logger')[a21_0x5ad598(0x14c)],{FRAMEWORKS}=require(a21_0x5ad598(0x1c8));let exportsI;try{exportsI=requireModule(a21_0x5ad598(0x126),a21_0x5ad598(0x187));}catch{exportsI=requireModule(a21_0x5ad598(0x177),a21_0x5ad598(0x187));}const initInitialize=exportsI[a21_0x5ad598(0x169)],jestUtils=new JestUtils(),_initializedPlatformIndices=new Set();let _currentTestPath=null;function getFullJestTestName(_0x569f0c){const _0x395285=a21_0x5ad598,_0x2b0bea={};_0x2b0bea[_0x395285(0x118)]=function(_0x4573d7,_0x1ba359){return _0x4573d7!==_0x1ba359;},_0x2b0bea[_0x395285(0x1cb)]=_0x395285(0x19a);const _0x58502e=_0x2b0bea;try{const _0x49f7b1=[];let _0x436623=_0x569f0c;while(_0x436623){_0x436623[_0x395285(0x167)]&&_0x58502e[_0x395285(0x118)](_0x436623[_0x395285(0x167)],_0x58502e[_0x395285(0x1cb)])&&_0x49f7b1['unshift'](_0x436623[_0x395285(0x167)]),_0x436623=_0x436623[_0x395285(0xd7)];}return _0x49f7b1['join']('\x20');}catch(_0x467da4){return _0x569f0c&&_0x569f0c[_0x395285(0x167)]||'';}}function getActiveTestNamePattern(){const _0x4f1b32=a21_0x5ad598,_0x619475={'gWSjj':function(_0x141616,_0x4401d9,_0x579ab7){return _0x141616(_0x4401d9,_0x579ab7);},'PGArd':_0x4f1b32(0xec),'UlSat':_0x4f1b32(0x187),'xTmCq':function(_0x1a805e,_0x4ad6b8){return _0x1a805e(_0x4ad6b8);},'ethdi':function(_0x514b0a,_0x318ce7){return _0x514b0a===_0x318ce7;},'wPYWC':_0x4f1b32(0x1b0),'zKrSp':function(_0x577b32,_0x8d0446){return _0x577b32 instanceof _0x8d0446;},'ezkvW':function(_0xaae306,_0x18eea4){return _0xaae306===_0x18eea4;},'iMHwO':_0x4f1b32(0x170),'irSFQ':function(_0x551385,_0x55297c){return _0x551385>_0x55297c;},'PhQVK':function(_0x5374d3,_0x6ec66f){return _0x5374d3<_0x6ec66f;},'FKxlr':function(_0x4e2d20,_0x46b522){return _0x4e2d20===_0x46b522;},'PmDgd':function(_0x1cff61,_0x367da5){return _0x1cff61===_0x367da5;},'gTwgX':'--testNamePattern','xVtyR':function(_0x14f66d,_0x5c4b1b){return _0x14f66d+_0x5c4b1b;},'sUELX':_0x4f1b32(0x155),'AskaE':_0x4f1b32(0xee)};try{let _0x6bec1;try{_0x6bec1=_0x619475['gWSjj'](requireModule,_0x619475[_0x4f1b32(0x1dd)],_0x619475[_0x4f1b32(0x1a8)]);}catch{_0x6bec1=_0x619475['xTmCq'](requireModule,_0x619475[_0x4f1b32(0x1a8)]);}if(_0x6bec1&&_0x619475[_0x4f1b32(0x1d5)](typeof _0x6bec1[_0x4f1b32(0x199)],_0x619475[_0x4f1b32(0xea)])){const _0xd53dc=_0x6bec1[_0x4f1b32(0x199)]();if(_0xd53dc&&_0xd53dc[_0x4f1b32(0x127)]){if(_0x619475[_0x4f1b32(0x19f)](_0xd53dc['testNamePattern'],RegExp))return _0xd53dc[_0x4f1b32(0x127)];if(_0x619475[_0x4f1b32(0x15f)](typeof _0xd53dc[_0x4f1b32(0x127)],_0x619475['iMHwO'])&&_0x619475['irSFQ'](_0xd53dc[_0x4f1b32(0x127)][_0x4f1b32(0x157)],0x0))return new RegExp(_0xd53dc['testNamePattern'],'i');}}}catch(_0x2bc638){}try{const _0x41e8f2=process[_0x4f1b32(0x1b4)]||[];for(let _0x83d78d=0x0;_0x619475['PhQVK'](_0x83d78d,_0x41e8f2[_0x4f1b32(0x157)]);_0x83d78d++){const _0x2ec75f=_0x41e8f2[_0x83d78d];if(_0x619475[_0x4f1b32(0x146)](_0x2ec75f,'-t')||_0x619475[_0x4f1b32(0x1d8)](_0x2ec75f,_0x619475[_0x4f1b32(0xf0)])){const _0x56c3d2=_0x41e8f2[_0x619475['xVtyR'](_0x83d78d,0x1)];if(_0x56c3d2&&!_0x56c3d2[_0x4f1b32(0xcf)]('-'))return new RegExp(_0x56c3d2,'i');}else{if(_0x2ec75f&&(_0x2ec75f[_0x4f1b32(0xcf)](_0x619475[_0x4f1b32(0x108)])||_0x2ec75f[_0x4f1b32(0xcf)](_0x619475[_0x4f1b32(0x1a6)]))){const _0x50df6a=_0x2ec75f['split']('=')['slice'](0x1)[_0x4f1b32(0xf2)]('=');if(_0x50df6a)return new RegExp(_0x50df6a,'i');}}}}catch(_0x3c8dbe){}return null;}function isPhantomSkipFromNameFilter(_0xfbc505){const _0x25ff36=a21_0x5ad598,_0x2f80e0={'moUyr':function(_0x57597a){return _0x57597a();},'WYdPr':function(_0x253318,_0x3da37c){return _0x253318(_0x3da37c);}},_0x3972b0=_0x2f80e0[_0x25ff36(0x1d9)](getActiveTestNamePattern);if(!_0x3972b0)return![];const _0x4e31c7=_0x2f80e0[_0x25ff36(0x124)](getFullJestTestName,_0xfbc505);if(!_0x4e31c7)return![];return!_0x3972b0[_0x25ff36(0x17a)](_0x4e31c7);}async function isCLIReady(){const _0x1ff357=a21_0x5ad598,_0x229bd5={'Ulxfe':'CLI\x20is\x20enabled\x20and\x20running.','AzRQF':function(_0x3210ac,_0x3c4bca){return _0x3210ac(_0x3c4bca);},'DyTcg':_0x1ff357(0x10d),'AkOtK':function(_0x45526a,_0x4dca7e){return _0x45526a===_0x4dca7e;},'dmZPH':_0x1ff357(0x1c2),'UxIRh':function(_0x48a212,_0x62c28f){return _0x48a212(_0x62c28f);}};try{const _0x2242b9=BrowserstackCLI[_0x1ff357(0x15a)]();if(_0x2242b9[_0x1ff357(0x193)]()&&_0x2242b9[_0x1ff357(0x16a)]())return logger['debug'](_0x229bd5[_0x1ff357(0x14f)]),!![];const _0x2d3b5d=process['env'][_0x1ff357(0x11a)];if(_0x2d3b5d&&_0x2242b9['isCliEnabled']()){if(!_0x2242b9[_0x1ff357(0x16a)]())try{const _0x4d0f56=_0x229bd5[_0x1ff357(0x1b6)](require,_0x229bd5[_0x1ff357(0x151)]),_0x29ab0b=_0x4d0f56[_0x1ff357(0x1c9)]();(!_0x29ab0b||!_0x29ab0b['name'])&&(_0x229bd5[_0x1ff357(0x163)](process['env'][_0x1ff357(0x11b)],_0x229bd5[_0x1ff357(0x1ba)])?_0x4d0f56[_0x1ff357(0x1df)](FRAMEWORKS[_0x1ff357(0x143)],FRAMEWORKS[_0x1ff357(0x1e2)]):_0x4d0f56[_0x1ff357(0x1df)](FRAMEWORKS[_0x1ff357(0x143)],FRAMEWORKS[_0x1ff357(0xed)])),await _0x2242b9[_0x1ff357(0x107)]();}catch(_0x334ffc){return _0x229bd5['AzRQF'](debug,'Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20'+util['format'](_0x334ffc)),![];}return _0x2242b9[_0x1ff357(0x16a)]();}return![];}catch(_0x938dad){return _0x229bd5[_0x1ff357(0x16c)](debug,_0x1ff357(0x16f)+util['format'](_0x938dad)),![];}}function getTestIdentifierForHook(_0x24b894){const _0xb2f577=a21_0x5ad598,_0x66317e={};_0x66317e[_0xb2f577(0x183)]=function(_0x355216,_0x472d6b){return _0x355216===_0x472d6b;},_0x66317e[_0xb2f577(0xf9)]='beforeEach',_0x66317e[_0xb2f577(0xf8)]=function(_0x24f357,_0x290228){return _0x24f357===_0x290228;},_0x66317e[_0xb2f577(0x13c)]=_0xb2f577(0xcc),_0x66317e[_0xb2f577(0x1c1)]=function(_0x25fdb3,_0x2c104d){return _0x25fdb3===_0x2c104d;};const _0x2ae8c7=_0x66317e;if(_0x2ae8c7[_0xb2f577(0x183)](_0x24b894[_0xb2f577(0x122)],_0x2ae8c7[_0xb2f577(0xf9)])||_0x2ae8c7[_0xb2f577(0xf8)](_0x24b894[_0xb2f577(0x122)],_0x2ae8c7[_0xb2f577(0x13c)])){let _0x1b1e64=global[_0xb2f577(0x135)];if(!_0x1b1e64&&_0x2ae8c7['jNVsj'](_0x24b894[_0xb2f577(0x122)],_0x2ae8c7[_0xb2f577(0x13c)])&&_0x24b894[_0xb2f577(0xd7)]){const _0x510f7d={};_0x510f7d[_0xb2f577(0x167)]=_0x24b894[_0xb2f577(0xd7)][_0xb2f577(0x167)],_0x510f7d[_0xb2f577(0xd7)]=_0x24b894[_0xb2f577(0xd7)][_0xb2f577(0xd7)],_0x510f7d[_0xb2f577(0xda)]=_0x24b894['asyncError'],_0x510f7d['file']=_0x24b894[_0xb2f577(0xce)];const _0x3b45b9=_0x510f7d;_0x1b1e64=jestUtils[_0xb2f577(0x17b)](_0x3b45b9);}return _0x1b1e64;}return global[_0xb2f577(0x135)];}function mapHookTypeToState(_0x36b986){const _0x1d76be=a21_0x5ad598,_0x2460b8={};_0x2460b8[_0x1d76be(0xcc)]=TestFrameworkState[_0x1d76be(0x1b2)],_0x2460b8['afterAll']=TestFrameworkState[_0x1d76be(0xfc)],_0x2460b8[_0x1d76be(0x191)]=TestFrameworkState[_0x1d76be(0x17d)],_0x2460b8[_0x1d76be(0x1cf)]=TestFrameworkState[_0x1d76be(0xdd)];const _0x194751=_0x2460b8;return _0x194751[_0x36b986]||TestFrameworkState[_0x1d76be(0x17d)];}async function handleHookEventCLI(_0x661fec,_0x37072a,_0x33fc77){const _0x5a7aef=a21_0x5ad598,_0x5afa68={'ziZIt':function(_0x157732,_0xdfa364){return _0x157732(_0xdfa364);},'ZwkGe':_0x5a7aef(0x174),'ZFwEY':function(_0x69e49a,_0x4b6946){return _0x69e49a===_0x4b6946;},'DOgJE':_0x5a7aef(0x19a),'eqYKl':function(_0x332852){return _0x332852();},'iUZqW':function(_0x373539){return _0x373539();},'BkrfP':function(_0x50582b,_0xedab97){return _0x50582b===_0xedab97;},'DJjCk':_0x5a7aef(0x1c0),'kqetK':function(_0x30c2a1,_0x4b0e2d){return _0x30c2a1(_0x4b0e2d);},'aORZX':function(_0x51862e,_0xd82098){return _0x51862e===_0xd82098;},'rLAge':function(_0x7b3822,_0x2c9f9d){return _0x7b3822===_0x2c9f9d;},'rkZDv':_0x5a7aef(0xe1),'yGJHj':'hook'};logger[_0x5a7aef(0x1e1)]('Handling\x20hook\x20event\x20for\x20CLI:\x20'+_0x37072a+_0x5a7aef(0x1a5)+_0x661fec[_0x5a7aef(0x122)]);try{if(_0x661fec['fn']&&_0x661fec['fn'][_0x5a7aef(0x141)]()[_0x5a7aef(0x144)](/browserstack internal helper hook/))return;if(_0x661fec[_0x5a7aef(0xd7)]&&_0x5afa68[_0x5a7aef(0xcd)](_0x661fec[_0x5a7aef(0xd7)][_0x5a7aef(0x167)],_0x5afa68['DOgJE'])){const _0x13dca2=_0x661fec['asyncError']&&((()=>{const _0x593a0e=_0x5a7aef;try{const _0x46f27e=_0x5afa68[_0x593a0e(0x1d6)](require,_0x5afa68['ZwkGe']),_0x5d2844=_0x46f27e[_0x593a0e(0xfa)][_0x593a0e(0x109)](_0x46f27e,_0x661fec[_0x593a0e(0xda)]);return _0x5d2844[0x0]&&_0x5d2844[0x0]['getFileName']?_0x5d2844[0x0]['getFileName']():null;}catch(_0xa8400e){return logger[_0x593a0e(0x1e1)](_0x593a0e(0x10f)+_0xa8400e[_0x593a0e(0x192)]),null;}})())||_0x661fec[_0x5a7aef(0xce)]||null;if(!_0x13dca2)return;}let _0x4b685a=_0x661fec[_0x5a7aef(0xe9)];if(!_0x4b685a)_0x4b685a=_0x5afa68[_0x5a7aef(0x194)](uuidv4),_0x661fec[_0x5a7aef(0xe9)]=_0x4b685a;else _0x661fec[_0x5a7aef(0x17f)]&&(_0x4b685a=_0x5afa68[_0x5a7aef(0x1b3)](uuidv4),_0x661fec[_0x5a7aef(0xe9)]=_0x4b685a,delete _0x661fec[_0x5a7aef(0x17f)]);_0x5afa68[_0x5a7aef(0x180)](_0x37072a,_0x5afa68[_0x5a7aef(0xca)])&&(_0x661fec[_0x5a7aef(0x1e5)]=new Date()[_0x5a7aef(0x168)]());const _0x54355c=_0x5afa68[_0x5a7aef(0x1d6)](getTestIdentifierForHook,_0x661fec);!global[_0x5a7aef(0x1aa)]&&(global[_0x5a7aef(0x1aa)]={});if(_0x5afa68[_0x5a7aef(0x180)](_0x37072a,_0x5afa68[_0x5a7aef(0xca)])){global[_0x5a7aef(0x1aa)][_0x5a7aef(0x150)]={'hookUUID':_0x4b685a,'testIdentifier':_0x54355c,'hookType':_0x661fec['type'],'startedAt':new Date()[_0x5a7aef(0x168)]()};const _0x3ee897=BrowserstackCLI['getInstance']()[_0x5a7aef(0x149)]();_0x3ee897&&_0x3ee897['setActiveHook']&&_0x3ee897[_0x5a7aef(0x12a)](_0x54355c,_0x4b685a,_0x661fec[_0x5a7aef(0x122)]);}const _0x2f4eb0=await jestUtils['createHookData'](_0x661fec,_0x4b685a,_0x37072a,_0x54355c);if(!_0x2f4eb0)return;const _0x10f454=_0x5afa68[_0x5a7aef(0x11f)](mapHookTypeToState,_0x661fec['type']),_0x584736=_0x5afa68[_0x5a7aef(0x1af)](_0x37072a,_0x5afa68['DJjCk'])?HookState['PRE']:HookState['POST'],_0x2bb531=BrowserstackCLI[_0x5a7aef(0x15a)]()[_0x5a7aef(0x149)]();if(_0x2bb531){const _0x44c087={};_0x44c087[_0x5a7aef(0x165)]=_0x2f4eb0,await _0x2bb531['trackEvent'](_0x10f454,_0x584736,_0x44c087);if(_0x5afa68[_0x5a7aef(0xeb)](_0x37072a,_0x5afa68[_0x5a7aef(0x14d)])){const _0x25a184={};_0x25a184[_0x5a7aef(0x114)]=_0x54355c,_0x25a184[_0x5a7aef(0x122)]=_0x5afa68[_0x5a7aef(0x18c)],await _0x2bb531[_0x5a7aef(0x1a0)](TestFrameworkState[_0x5a7aef(0x198)],HookState['POST'],_0x25a184),global[_0x5a7aef(0x1aa)]&&global[_0x5a7aef(0x1aa)][_0x5a7aef(0x150)]&&_0x5afa68[_0x5a7aef(0x1af)](global['__workerDetails'][_0x5a7aef(0x150)][_0x5a7aef(0xfb)],_0x4b685a)&&delete global[_0x5a7aef(0x1aa)][_0x5a7aef(0x150)],_0x2bb531[_0x5a7aef(0xef)]&&_0x2bb531['removeActiveHook'](_0x54355c,_0x4b685a);}}}catch(_0x6bea){logger['error'](_0x5a7aef(0xe5)+util[_0x5a7aef(0xf3)](_0x6bea));throw _0x6bea;}}function a21_0x5ccc(_0x593425,_0x534349){const _0x35d4f7=a21_0x35d4();return a21_0x5ccc=function(_0x5ccc84,_0x22ccde){_0x5ccc84=_0x5ccc84-0xca;let _0x18eda5=_0x35d4f7[_0x5ccc84];return _0x18eda5;},a21_0x5ccc(_0x593425,_0x534349);}async function handleTestEventCLI(_0x5e33cc,_0x5b35c5,_0x54180d){const _0x2335ec=a21_0x5ad598,_0x337b5f={};_0x337b5f[_0x2335ec(0x15b)]=function(_0x19980f,_0x325f4a){return _0x19980f===_0x325f4a;},_0x337b5f['DcyBd']=_0x2335ec(0x10b),_0x337b5f[_0x2335ec(0x145)]=function(_0x1fce21,_0x1d1d6b){return _0x1fce21>_0x1d1d6b;},_0x337b5f['iMqCb']=function(_0x27e638,_0x56d630){return _0x27e638&&_0x56d630;},_0x337b5f['INdKa']=_0x2335ec(0x161),_0x337b5f['ijzIx']=_0x2335ec(0x134),_0x337b5f[_0x2335ec(0x100)]=function(_0x4c2fd0,_0x5279e6){return _0x4c2fd0&&_0x5279e6;},_0x337b5f[_0x2335ec(0x10c)]=function(_0x41d9e5,_0x2c0bc5){return _0x41d9e5&&_0x2c0bc5;},_0x337b5f[_0x2335ec(0xdb)]=_0x2335ec(0x17a);const _0x291e12=_0x337b5f;logger['debug']('Handling\x20test\x20event\x20for\x20CLI:\x20'+_0x5b35c5);try{let _0x65d1b3;if(_0x291e12['FNyGp'](_0x5b35c5,_0x291e12[_0x2335ec(0x111)])){_0x65d1b3=jestUtils['createIdentifierFromJestTest'](_0x5e33cc),global[_0x2335ec(0x135)]=_0x65d1b3,_0x5e33cc[_0x2335ec(0x19d)]=_0x65d1b3,_0x5e33cc['id']=_0x65d1b3,_0x5e33cc[_0x2335ec(0x1e5)]=new Date()[_0x2335ec(0x168)]();const _0x32ed12=_0x54180d['current_test'];_0x54180d['current_test']=_0x5e33cc,_0x5e33cc[_0x2335ec(0x10a)]=null;if(_0x291e12['PYSBm'](_0x5e33cc[_0x2335ec(0x18b)],0x0)&&_0x32ed12&&_0x291e12[_0x2335ec(0x15b)](_0x32ed12[_0x2335ec(0xd0)],_0x5e33cc[_0x2335ec(0xd0)])){_0x5e33cc[_0x2335ec(0x10a)]=_0x32ed12[_0x2335ec(0x19d)];const _0x4cd2d1=await jestUtils[_0x2335ec(0x13e)](_0x5e33cc,_0x65d1b3,_0x291e12['DcyBd']),_0x20d329=BrowserstackCLI[_0x2335ec(0x15a)]()[_0x2335ec(0x149)]();if(_0x291e12[_0x2335ec(0x190)](_0x4cd2d1,_0x20d329)){const _0x53b2ed={};_0x53b2ed[_0x2335ec(0x17a)]=_0x4cd2d1,await _0x20d329['trackEvent'](TestFrameworkState['TEST'],HookState['PRE'],_0x53b2ed);}_0x32ed12[_0x2335ec(0x12c)]=_0x291e12['INdKa'];const _0x1813de=await jestUtils[_0x2335ec(0x13e)](_0x32ed12,_0x32ed12[_0x2335ec(0x19d)],_0x291e12[_0x2335ec(0x13a)]);if(_0x291e12[_0x2335ec(0x100)](_0x1813de,_0x20d329)){const _0x3dfa98={};_0x3dfa98['test']=_0x1813de,await _0x20d329[_0x2335ec(0x1a0)](TestFrameworkState[_0x2335ec(0xf1)],HookState[_0x2335ec(0x184)],_0x3dfa98);}}else{const _0x532e21=await jestUtils[_0x2335ec(0x13e)](_0x5e33cc,_0x65d1b3,_0x291e12[_0x2335ec(0x111)]),_0x46c2af=BrowserstackCLI[_0x2335ec(0x15a)]()[_0x2335ec(0x149)]();if(_0x291e12[_0x2335ec(0x10c)](_0x532e21,_0x46c2af)){const _0xdb29a3={};_0xdb29a3[_0x2335ec(0x17a)]=_0x532e21,await _0x46c2af['trackEvent'](TestFrameworkState['TEST'],HookState[_0x2335ec(0xcb)],_0xdb29a3);}}}else{_0x65d1b3=_0x5e33cc['testAnalyticsId']||_0x5e33cc['id']||global['__jestCurrentTestIdentifier'];const _0x35ccee=await jestUtils[_0x2335ec(0x13e)](_0x5e33cc,_0x65d1b3,_0x5b35c5),_0x58e2b1=BrowserstackCLI[_0x2335ec(0x15a)]()[_0x2335ec(0x149)]();if(_0x291e12[_0x2335ec(0x10c)](_0x35ccee,_0x58e2b1)){const _0x2b46b4={};_0x2b46b4[_0x2335ec(0x17a)]=_0x35ccee,_0x2b46b4[_0x2335ec(0x1da)]=_0x5e33cc,_0x2b46b4['testIdentifier']=_0x65d1b3,await _0x58e2b1['trackEvent'](TestFrameworkState[_0x2335ec(0xf1)],HookState[_0x2335ec(0x184)],_0x2b46b4);const _0x399fe0={};_0x399fe0[_0x2335ec(0x114)]=_0x65d1b3,_0x399fe0[_0x2335ec(0x122)]=_0x291e12[_0x2335ec(0xdb)],await _0x58e2b1[_0x2335ec(0x1a0)](TestFrameworkState['LOG_REPORT'],HookState[_0x2335ec(0x184)],_0x399fe0);}}}catch(_0x28d4b3){logger[_0x2335ec(0x1b5)](_0x2335ec(0x12e)+util[_0x2335ec(0xf3)](_0x28d4b3));throw _0x28d4b3;}}function a21_0x35d4(){const _0x296660=['lhYPL','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','testNamePattern','currentTest','status','setActiveHook','5ofIPmD','state','gSevo','Error\x20handling\x20test\x20event\x20for\x20CLI:\x20','makeSingleTestResult','setTestUUID','UjcdF','UTEzT','teardown','TestRunFinished','__jestCurrentTestIdentifier','testInfo','bUGWS','browserstackPlatformIndex','fail','ijzIx','../../../helpers/test-observability/error-handler','AVOCQ','qYyMV','createTestFrameworkData','BFIyy','[customJestAdapterInit]\x20Error\x20in\x20test_done\x20status\x20storage:\x20','toString','../test-observability/obsReporter','JEST','match','PYSBm','FKxlr','[customJestAdapterInit]\x20Skipping\x20heavy\x20init\x20for\x20platformIndex=','llYfc','getTestFramework','configuration','removeAllListeners','winstonLogger','rkZDv','yFITZ','Ulxfe','currentHook','DyTcg','AVVAP',',\x20BROWSERSTACK_PUPPETEER=','wfWbO','--testNamePattern=','HookStarted','length','addEventHandler','nOZzX','getInstance','FNyGp','TestRunSkipped','6512776DdnDWW','env','ezkvW','unhandledErrors','failed','MWruN','AkOtK','JJWkP','hookData','nwgUl','name','toISOString','initialize','isRunning','../test-observability/test-details','UxIRh','10171jvLDlA','809746yJfbqe','Error\x20checking\x20CLI\x20readiness:\x20','string','number','AtMKX','VaZtk','stack-trace','3251420UaQTKF','jZlyo','jest-circus/build/jestAdapterInit.js','\x20>\x20','uVGfG','test','createIdentifierFromJestTest','KkrhF','BEFORE_EACH','BROWSERSTACK_RERUN','markedStatus','BkrfP','nWyaH','StQGU','mPDCK','POST',',\x20re-registering\x20event\x20handler','errorsDetailed','jest-circus','dmhhO','aHeQw','sendTestRunEvent','_currentRetry','yGJHj','isPhantomSkipFromNameFilter','suRTB','getFileName','iMqCb','beforeEach','message','isCliEnabled','eqYKl','UFDKX','ZOFxN','5518437xCGfUX','LOG_REPORT','getState','ROOT_DESCRIBE_BLOCK','bTiam','gEVtM','testAnalyticsId','hook','zKrSp','trackEvent','AbqeH','errors','MDHpQ','testPath','\x20for\x20hook\x20type:\x20','AskaE','BnZYf','UlSat','[customJestAdapterInit]\x20Error\x20in\x20test_start\x20name\x20storage:\x20','__workerDetails','nDGVV','BoacJ','unshift','EventHandler','aORZX','function','../../../helpers/testhub/constants','BEFORE_ALL','iUZqW','argv','error','AzRQF','[customJestAdapterInit]\x20initialize\x20called,\x20shouldProcessEventForTesthub=','getFullJestTestName','[Rerun]\x20Suppressed\x20phantom\x20TestRunFinished\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22','dmZPH','Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20','VClEb','HookFinished','util','kCcYT','HookRunStarted','jNVsj','true','SEooa','SFwJW','run_describe_finish','removeTestUUID','1094220jSVAJh','../../utils/constants','getAutomationFrameworkDetail','[Rerun]\x20Suppressed\x20phantom\x20TestRunSkipped\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22','guwLO','EGzSx','hook_failure','hook_start','afterEach','ubLhh','BOEJM','[customJestAdapterInit]\x20Set\x20test\x20status:\x20\x22','88BeENpM','__bstackPlatformIndex','ethdi','ziZIt','_bstackTestStatus','PmDgd','moUyr','originalTest','CWFcg','JdMix','PGArd','33ycNYXJ','setFrameworkDetail','[Rerun]\x20Suppressed\x20phantom\x20TestRunStarted\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22','debug','PUPPETEER','pid','jestConfig','started_at','../../../helpers/testhub/utils','DJjCk','PRE','beforeAll','ZFwEY','file','startsWith','title','nqyXu','../../v2/utils/jest-utils','getActiveTestNamePattern','Yjzif','shutdown','keys','parent','erNIj','cpDXN','asyncError','rNRMX','wubKv','AFTER_EACH','test_done','EVENT','5262GJrsnB','HookRunFinished','Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20','../../../helpers/test-observability/requestQueueHandler','fzyCy','Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20','PzDJn','config','has','hookAnalyticsId','wPYWC','rLAge','jest-circus/build/state.js','PLAYWRIGHT','-t=','removeActiveHook','gTwgX','TEST','join','format','test_skip','Error\x20routing\x20to\x20JestTestFramework:\x20','TdLxq','isArray','TnHLV','RkGUB','parse','hookUUID','AFTER_ALL','../../../helpers/test-observability/utils','OeNhL','[customJestAdapterInit]\x20Initializing\x20for\x20platformIndex=','tvCvj','Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20','BROWSERSTACK_PLATFORM_INDEX','browserstackTestName','map','test_start','14227420jdcmGu','bootstrap','sUELX','call','retryOf','TestRunStarted','hhNtU','../../v2/cliUtils','registerListeners','Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20','XPwpB','DcyBd','../../v2/state/hookState','WLDIZ','testUUID','failureMessage','forEach','[customJestAdapterInit]\x20Error\x20building\x20test\x20name:\x20','bJsrY','__rerunFilterHelpers','BROWSERSTACK_CLI_BIN_SESSION_ID','BROWSERSTACK_PUPPETEER','wlCVs','PXvmG','../../../helpers/helper','kqetK','rEkXf','jest-circus/build/utils.js','type',':hookAnalyticsId','WYdPr'];a21_0x35d4=function(){return _0x296660;};return a21_0x35d4();}exportsI['initialize']=(..._0x2c00df)=>{const _0x217d8b=a21_0x5ad598,_0x1abcda={'aHeQw':function(_0x2cc2a0,_0xe33e85){return _0x2cc2a0(_0xe33e85);},'CWFcg':_0x217d8b(0x174),'BOEJM':function(_0x137047,_0x3fdd27){return _0x137047&&_0x3fdd27;},'suRTB':_0x217d8b(0x1ce),'nOZzX':function(_0x5b990a,_0x4816d4){return _0x5b990a===_0x4816d4;},'gEVtM':_0x217d8b(0x19a),'wlCVs':function(_0x19075d){return _0x19075d();},'PzDJn':function(_0x456643,_0x2f1cad,_0x466616,_0x1695c5){return _0x456643(_0x2f1cad,_0x466616,_0x1695c5);},'rEkXf':_0x217d8b(0x1c0),'wubKv':function(_0x5840ca,_0x380ad6){return _0x5840ca(_0x380ad6);},'UFDKX':function(_0x1a848f,_0x29d87b){return _0x1a848f(_0x29d87b);},'ZOFxN':'hook_success','nwgUl':function(_0x234790,_0x1aaf0e){return _0x234790(_0x1aaf0e);},'AtMKX':_0x217d8b(0xe1),'VaZtk':function(_0x3131fc,_0x50b117){return _0x3131fc(_0x50b117);},'erNIj':function(_0x2a08c9,_0x1de374){return _0x2a08c9(_0x1de374);},'iaYhM':'hook_failure','SFwJW':_0x217d8b(0xcc),'oWrxX':_0x217d8b(0x191),'uVGfG':_0x217d8b(0x1cf),'JJWkP':function(_0xc32b5f,_0x45fbf0){return _0xc32b5f>_0x45fbf0;},'StQGU':function(_0xd6770a){return _0xd6770a();},'OeNhL':function(_0x2300b8,_0x4114a4,_0x30ccf5,_0x3ec742){return _0x2300b8(_0x4114a4,_0x30ccf5,_0x3ec742);},'Iemzw':function(_0x58ff66,_0x39d590){return _0x58ff66(_0x39d590);},'UjcdF':_0x217d8b(0x105),'XPwpB':function(_0x35192a,_0x290c5e){return _0x35192a(_0x290c5e);},'bUGWS':function(_0x1c8932,_0x38dc23){return _0x1c8932(_0x38dc23);},'nDGVV':function(_0x1ef833,_0x54a1db){return _0x1ef833!==_0x54a1db;},'MDHpQ':_0x217d8b(0x178),'lTioX':_0x217d8b(0x10b),'AbqeH':_0x217d8b(0xde),'wfWbO':function(_0x59cf66,_0x3c3067){return _0x59cf66(_0x3c3067);},'AVVAP':function(_0x4a5c7a,_0x3b3885){return _0x4a5c7a===_0x3b3885;},'SEooa':_0x217d8b(0x139),'UTEzT':_0x217d8b(0x161),'AYDjT':'passed','gSevo':function(_0x1d412f,_0x56c76d){return _0x1d412f||_0x56c76d;},'Yjzif':function(_0x38add8,_0x1303f2,_0x213eaa,_0x1379aa){return _0x38add8(_0x1303f2,_0x213eaa,_0x1379aa);},'ubLhh':_0x217d8b(0x134),'jZlyo':_0x217d8b(0xf4),'bTiam':function(_0x1c491b,_0x57d5c5){return _0x1c491b(_0x57d5c5);},'MWruN':function(_0x47a150,_0xbfffab){return _0x47a150(_0xbfffab);},'PXvmG':function(_0x439fb5){return _0x439fb5();},'RAUxU':_0x217d8b(0x15c),'nqyXu':function(_0x392110){return _0x392110();},'fzyCy':_0x217d8b(0x1c5),'WLDIZ':_0x217d8b(0x133),'EGzSx':function(_0x46fe18,_0x1fee15){return _0x46fe18===_0x1fee15;},'llYfc':_0x217d8b(0x170),'JdMix':_0x217d8b(0x171),'VClEb':function(_0x3005a2,_0x26b43f){return _0x3005a2===_0x26b43f;},'uYfod':function(_0x4949ec,_0x4de5d6){return _0x4949ec(_0x4de5d6);},'nWyaH':function(_0x4b9f05,_0x150930,_0x3777fa){return _0x4b9f05(_0x150930,_0x3777fa);},'qYyMV':_0x217d8b(0xec),'KkrhF':_0x217d8b(0x187),'ZAGRu':function(_0x3c849a,_0x491f05,_0x8446da){return _0x3c849a(_0x491f05,_0x8446da);},'yFITZ':_0x217d8b(0x121),'BFIyy':function(_0x3e506b,_0x2f4ac4){return _0x3e506b(_0x2f4ac4);},'lhYPL':function(_0x4975d1){return _0x4975d1();},'iMMPE':function(_0x328817,_0x475af3,_0x4a2fd5){return _0x328817(_0x475af3,_0x4a2fd5);},'BnZYf':_0x217d8b(0x1ae),'cpDXN':function(_0x296648,_0x1ae41e){return _0x296648(_0x1ae41e);},'BoacJ':function(_0x49dfac,..._0x2f25e7){return _0x49dfac(..._0x2f25e7);}};try{logger['debug'](_0x217d8b(0x1b7)+_0x1abcda[_0x217d8b(0x182)](shouldProcessEventForTesthub)+_0x217d8b(0x153)+process[_0x217d8b(0x15e)][_0x217d8b(0x11b)]);const _0x278c6c=_0x2c00df&&_0x2c00df[0x0]?_0x2c00df[0x0]:{};_0x278c6c&&_0x1abcda['EGzSx'](typeof _0x278c6c[_0x217d8b(0x1a4)],_0x1abcda[_0x217d8b(0x148)])&&_0x278c6c[_0x217d8b(0x1a4)]&&(_currentTestPath=_0x278c6c['testPath']);let _0x1bf8af=0x0;try{if(_0x278c6c[_0x217d8b(0xe7)]&&_0x1abcda[_0x217d8b(0x159)](typeof _0x278c6c[_0x217d8b(0xe7)]['browserstackPlatformIndex'],_0x1abcda[_0x217d8b(0x1dc)]))_0x1bf8af=_0x278c6c[_0x217d8b(0xe7)][_0x217d8b(0x138)];else{if(_0x278c6c['configuration']&&_0x1abcda[_0x217d8b(0x1bc)](typeof _0x278c6c[_0x217d8b(0x14a)]['browserstackPlatformIndex'],_0x1abcda['JdMix']))_0x1bf8af=_0x278c6c[_0x217d8b(0x14a)][_0x217d8b(0x138)];else global['jestConfig']&&_0x1abcda[_0x217d8b(0x1cc)](typeof global[_0x217d8b(0x1e4)]['browserstackPlatformIndex'],_0x1abcda['JdMix'])&&(_0x1bf8af=global[_0x217d8b(0x1e4)][_0x217d8b(0x138)]);}}catch(_0x130eaa){logger[_0x217d8b(0x1e1)]('Error\x20reading\x20platformIndex\x20from\x20args:\x20'+util[_0x217d8b(0xf3)](_0x130eaa));}global[_0x217d8b(0x1d4)]=_0x1bf8af,process[_0x217d8b(0x15e)][_0x217d8b(0x102)]=_0x1abcda['uYfod'](String,_0x1bf8af);const _0x9606dc=new ObservabilityReporter();!_initializedPlatformIndices[_0x217d8b(0xe8)](_0x1bf8af)?(logger['debug'](_0x217d8b(0xff)+_0x1bf8af),_initializedPlatformIndices['add'](_0x1bf8af),_0x1abcda[_0x217d8b(0x11c)](shouldProcessEventForTesthub)&&(_0x1abcda[_0x217d8b(0x11c)](patchConsoleLogger),_0x9606dc[_0x217d8b(0x10e)]())):logger[_0x217d8b(0x1e1)](_0x217d8b(0x147)+_0x1bf8af+_0x217d8b(0x185));let _0x2093a9;try{_0x2093a9=_0x1abcda[_0x217d8b(0x181)](requireModule,_0x1abcda[_0x217d8b(0x13d)],_0x1abcda[_0x217d8b(0x17c)]);}catch{_0x2093a9=_0x1abcda[_0x217d8b(0x19b)](requireModule,_0x1abcda[_0x217d8b(0x17c)]);}let _0x69b253;try{_0x69b253=_0x1abcda['ZAGRu'](requireModule,_0x1abcda[_0x217d8b(0x14e)],_0x1abcda[_0x217d8b(0x17c)])[_0x217d8b(0x12f)];}catch{_0x69b253=_0x1abcda[_0x217d8b(0x13f)](requireModule,_0x1abcda[_0x217d8b(0x17c)])['makeSingleTestResult']||(()=>({}));}const _0x5e008b=BrowserstackCLI[_0x217d8b(0x15a)]()[_0x217d8b(0x193)]();(_0x1abcda[_0x217d8b(0x125)](shouldProcessEventForTesthub)||_0x5e008b)&&_0x2093a9[_0x217d8b(0x158)](_0x1abcda['iMMPE'](o11yErrorHandler,async(_0x43b132,_0x5ef979)=>{const _0x4efd85=_0x217d8b,_0xae7d3e={'dmhhO':function(_0x186638,_0x2c3b08){const _0x2c83d5=a21_0x5ccc;return _0x1abcda[_0x2c83d5(0x189)](_0x186638,_0x2c3b08);},'TdLxq':_0x1abcda[_0x4efd85(0x1db)]};_0x1abcda[_0x4efd85(0x1d1)](_currentTestPath,_0x43b132)&&_0x43b132[_0x4efd85(0x17a)]&&!_0x43b132[_0x4efd85(0x17a)][_0x4efd85(0xce)]&&(_0x43b132[_0x4efd85(0x17a)][_0x4efd85(0xce)]=_currentTestPath);switch(_0x43b132[_0x4efd85(0x167)]){case _0x1abcda[_0x4efd85(0x18e)]:if(_0x43b132[_0x4efd85(0x19e)]['fn']&&_0x43b132['hook']['fn'][_0x4efd85(0x141)]()[_0x4efd85(0x144)](/browserstack internal helper hook/))break;if(_0x43b132[_0x4efd85(0x19e)][_0x4efd85(0xd7)]&&_0x1abcda['nOZzX'](_0x43b132[_0x4efd85(0x19e)]['parent'][_0x4efd85(0x167)],_0x1abcda[_0x4efd85(0x19c)])){const _0x3dc506=_0x43b132[_0x4efd85(0x19e)][_0x4efd85(0xda)]&&((()=>{const _0x35f4a5=_0x4efd85;try{const _0x140c6e=_0xae7d3e[_0x35f4a5(0x188)](require,_0xae7d3e[_0x35f4a5(0xf6)]),_0x3cfcc2=_0x140c6e[_0x35f4a5(0xfa)][_0x35f4a5(0x109)](_0x140c6e,_0x43b132[_0x35f4a5(0x19e)][_0x35f4a5(0xda)]);return _0x3cfcc2[0x0]&&_0x3cfcc2[0x0][_0x35f4a5(0x18f)]?_0x3cfcc2[0x0][_0x35f4a5(0x18f)]():null;}catch(_0x52fa2c){return logger[_0x35f4a5(0x1e1)](_0x35f4a5(0x10f)+_0x52fa2c[_0x35f4a5(0x192)]),null;}})())||_0x43b132[_0x4efd85(0x19e)]['file']||null;if(!_0x3dc506)break;}if(BrowserstackCLI[_0x4efd85(0x15a)]()[_0x4efd85(0x193)]()&&await _0x1abcda['wlCVs'](isCLIReady)){if(_0x1abcda[_0x4efd85(0x189)](shouldProcessEventForTesthub,testHubConstants[_0x4efd85(0xdf)][_0x4efd85(0x156)]))try{await _0x1abcda['PzDJn'](handleHookEventCLI,_0x43b132[_0x4efd85(0x19e)],_0x1abcda['rEkXf'],_0x5ef979);break;}catch(_0x23d4f2){_0x1abcda[_0x4efd85(0xdc)](debug,_0x4efd85(0xf5)+util[_0x4efd85(0xf3)](_0x23d4f2));}}if(_0x1abcda[_0x4efd85(0x195)](shouldProcessEventForTesthub,testHubConstants[_0x4efd85(0xdf)][_0x4efd85(0x156)])){if(!_0x43b132[_0x4efd85(0x19e)][_0x4efd85(0xe9)]){const _0xc5da11=TestDetails[_0x4efd85(0x130)](process['pid']+_0x4efd85(0x123));_0x43b132[_0x4efd85(0x19e)][_0x4efd85(0xe9)]=_0xc5da11;}else _0x43b132[_0x4efd85(0x19e)]['markedStatus']&&(_0x43b132[_0x4efd85(0x19e)]['hookAnalyticsId']=TestDetails['setTestUUID'](process[_0x4efd85(0x1e3)]+_0x4efd85(0x123)),delete _0x43b132[_0x4efd85(0x19e)][_0x4efd85(0x17f)]);_0x43b132[_0x4efd85(0x19e)][_0x4efd85(0x1e5)]=new Date()['toISOString'](),await _0x9606dc[_0x4efd85(0x18a)](_0x43b132['hook'],undefined,![],_0x1abcda[_0x4efd85(0x120)]);}break;case _0x1abcda[_0x4efd85(0x196)]:if(BrowserstackCLI[_0x4efd85(0x15a)]()[_0x4efd85(0x193)]()&&await _0x1abcda[_0x4efd85(0x11c)](isCLIReady)){if(_0x1abcda[_0x4efd85(0x166)](shouldProcessEventForTesthub,testHubConstants[_0x4efd85(0xdf)]['HookFinished']))try{await _0x1abcda['PzDJn'](handleHookEventCLI,_0x43b132['hook'],_0x1abcda['AtMKX'],_0x5ef979);break;}catch(_0x3fab0d){_0x1abcda[_0x4efd85(0x173)](debug,_0x4efd85(0xf5)+util[_0x4efd85(0xf3)](_0x3fab0d));}}_0x1abcda[_0x4efd85(0xd8)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x4efd85(0x1bd)])&&(await _0x9606dc['sendTestRunEvent'](_0x43b132[_0x4efd85(0x19e)],undefined,![],_0x1abcda['AtMKX']),TestDetails['removeTestUUID'](process['pid']+':hookAnalyticsId'));break;case _0x1abcda['iaYhM']:[_0x1abcda[_0x4efd85(0x1c4)],_0x1abcda['oWrxX'],_0x1abcda[_0x4efd85(0x179)]]['includes'](_0x43b132[_0x4efd85(0x19e)][_0x4efd85(0x122)])&&(_0x9606dc[_0x4efd85(0x1cd)]=_0x43b132[_0x4efd85(0x19e)][_0x4efd85(0x122)]),_0x5ef979[_0x4efd85(0x160)]&&_0x1abcda[_0x4efd85(0x164)](_0x5ef979[_0x4efd85(0x160)][_0x4efd85(0x157)],0x0)&&(_0x43b132[_0x4efd85(0x19e)][_0x4efd85(0x186)]=[_0x5ef979[_0x4efd85(0x160)][0x0][0x0]]);if(BrowserstackCLI[_0x4efd85(0x15a)]()[_0x4efd85(0x193)]()&&await _0x1abcda[_0x4efd85(0x182)](isCLIReady)){if(_0x1abcda[_0x4efd85(0xd8)](shouldProcessEventForTesthub,testHubConstants[_0x4efd85(0xdf)][_0x4efd85(0x1bd)]))try{await _0x1abcda[_0x4efd85(0xfe)](handleHookEventCLI,_0x43b132['hook'],_0x1abcda[_0x4efd85(0x172)],_0x5ef979);break;}catch(_0x404b00){_0x1abcda['aHeQw'](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util['format'](_0x404b00));}}_0x1abcda['Iemzw'](shouldProcessEventForTesthub,testHubConstants[_0x4efd85(0xdf)][_0x4efd85(0x1bd)])&&(await _0x9606dc['sendTestRunEvent'](_0x43b132[_0x4efd85(0x19e)],undefined,![],_0x1abcda['AtMKX']),TestDetails[_0x4efd85(0x1c6)](process[_0x4efd85(0x1e3)]+':hookAnalyticsId'));break;case _0x1abcda[_0x4efd85(0x131)]:if(_0x1abcda['nwgUl'](isTrue,process[_0x4efd85(0x15e)][_0x4efd85(0x17e)])&&_0x1abcda[_0x4efd85(0x110)](isPhantomSkipFromNameFilter,_0x43b132[_0x4efd85(0x17a)])){const _0x54f7ad=_0x1abcda[_0x4efd85(0x137)](getFullJestTestName,_0x43b132[_0x4efd85(0x17a)]);logger[_0x4efd85(0x1e1)](_0x4efd85(0x1e0)+_0x54f7ad+'\x22');break;}try{let _0x2f4605=_0x43b132[_0x4efd85(0x17a)][_0x4efd85(0x167)]||'';try{let _0x56892e=_0x43b132[_0x4efd85(0x17a)]['parent'];const _0x20ab9b=[_0x2f4605];while(_0x56892e&&_0x56892e[_0x4efd85(0x167)]&&_0x1abcda[_0x4efd85(0x1ab)](_0x56892e['name'],_0x1abcda[_0x4efd85(0x19c)])){_0x20ab9b[_0x4efd85(0x1ad)](_0x56892e[_0x4efd85(0x167)]),_0x56892e=_0x56892e[_0x4efd85(0xd7)];}_0x2f4605=_0x20ab9b['join'](_0x1abcda[_0x4efd85(0x1a3)]);}catch(_0x377f3e){logger[_0x4efd85(0x1e1)](_0x4efd85(0x117)+_0x377f3e[_0x4efd85(0x192)]);}process['_bstackTestName']=_0x2f4605,process['_bstackTestStatus']=null,process['_bstackTestFailureReason']=null,logger[_0x4efd85(0x1e1)]('[customJestAdapterInit]\x20Set\x20test\x20name:\x20\x22'+_0x2f4605+'\x22');if(!global[_0x4efd85(0x1aa)]){const _0x301a39={};_0x301a39[_0x4efd85(0x128)]={},global['__workerDetails']=_0x301a39;}!global[_0x4efd85(0x1aa)][_0x4efd85(0x128)]&&(global[_0x4efd85(0x1aa)][_0x4efd85(0x128)]={});const _0x41d7df={};_0x41d7df['title']=_0x2f4605,_0x41d7df[_0x4efd85(0x167)]=_0x2f4605,global[_0x4efd85(0x1aa)][_0x4efd85(0x128)]['testInfo']=_0x41d7df,global[_0x4efd85(0x103)]=_0x2f4605;}catch(_0x3dca45){logger[_0x4efd85(0x1e1)](_0x4efd85(0x1a9)+_0x3dca45[_0x4efd85(0x192)]);}if(BrowserstackCLI[_0x4efd85(0x15a)]()[_0x4efd85(0x193)]()&&await _0x1abcda[_0x4efd85(0x11c)](isCLIReady))try{await _0x1abcda[_0x4efd85(0xe6)](handleTestEventCLI,_0x43b132['test'],_0x1abcda['lTioX'],_0x9606dc);break;}catch(_0x5ca9ed){_0x1abcda[_0x4efd85(0x110)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x4efd85(0xf3)](_0x5ca9ed));}_0x1abcda[_0x4efd85(0x11c)](shouldProcessEventForTesthub)&&await _0x9606dc['testStarted'](_0x43b132[_0x4efd85(0x17a)]);break;case _0x1abcda[_0x4efd85(0x1a1)]:{const _0x12740a=_0x43b132[_0x4efd85(0x17a)];if(_0x1abcda[_0x4efd85(0x110)](isTrue,process[_0x4efd85(0x15e)]['BROWSERSTACK_RERUN'])&&_0x1abcda[_0x4efd85(0x154)](isPhantomSkipFromNameFilter,_0x12740a)){const _0x1fb71f=_0x1abcda[_0x4efd85(0x137)](getFullJestTestName,_0x12740a);logger[_0x4efd85(0x1e1)](_0x4efd85(0x1b9)+_0x1fb71f+'\x22'),_0x12740a[_0x4efd85(0x17f)]=!![];break;}_0x43b132[_0x4efd85(0x17a)]={..._0x1abcda[_0x4efd85(0xd8)](_0x69b253,_0x43b132[_0x4efd85(0x17a)]),..._0x43b132[_0x4efd85(0x17a)]};try{const _0x3ad527=_0x43b132['test'][_0x4efd85(0x1a2)]||[],_0x267651=_0x1abcda[_0x4efd85(0x164)](_0x3ad527[_0x4efd85(0x157)],0x0)||_0x1abcda[_0x4efd85(0x152)](_0x43b132['test']['status'],_0x1abcda[_0x4efd85(0x1c3)]),_0x15a149=_0x267651?_0x1abcda[_0x4efd85(0x132)]:_0x1abcda['AYDjT'];let _0x250c2a='';_0x267651&&(_0x250c2a=_0x3ad527[_0x4efd85(0x104)](_0x11a9a8=>{const _0x41c1aa=_0x4efd85;if(Array[_0x41c1aa(0xf7)](_0x11a9a8))return _0x11a9a8['map'](_0x2f91c6=>_0x2f91c6&&_0x2f91c6[_0x41c1aa(0x192)]||String(_0x2f91c6))[_0x41c1aa(0xf2)](';\x20');return _0x11a9a8&&_0x11a9a8['message']||_0x1abcda[_0x41c1aa(0x189)](String,_0x11a9a8);})[_0x4efd85(0xf2)](';\x20')),process[_0x4efd85(0x1d7)]=_0x15a149,process['_bstackTestFailureReason']=_0x1abcda[_0x4efd85(0x12d)](_0x250c2a,''),logger[_0x4efd85(0x1e1)](_0x4efd85(0x1d2)+_0x15a149+'\x22'),global['__workerDetails']&&global[_0x4efd85(0x1aa)][_0x4efd85(0x128)]&&(!global[_0x4efd85(0x1aa)]['currentTest'][_0x4efd85(0x136)]&&(global[_0x4efd85(0x1aa)]['currentTest'][_0x4efd85(0x136)]={}),global[_0x4efd85(0x1aa)][_0x4efd85(0x128)][_0x4efd85(0x136)][_0x4efd85(0x129)]=_0x15a149,_0x267651&&(global[_0x4efd85(0x1aa)][_0x4efd85(0x128)][_0x4efd85(0x136)][_0x4efd85(0x115)]=_0x250c2a));}catch(_0x218669){logger['debug'](_0x4efd85(0x140)+_0x218669[_0x4efd85(0x192)]);}if(!_0x43b132[_0x4efd85(0x17a)][_0x4efd85(0x17f)]){_0x43b132[_0x4efd85(0x17a)][_0x4efd85(0x17f)]=!![];if(BrowserstackCLI[_0x4efd85(0x15a)]()[_0x4efd85(0x193)]()&&await _0x1abcda[_0x4efd85(0x182)](isCLIReady))try{await _0x1abcda[_0x4efd85(0xd4)](handleTestEventCLI,_0x43b132[_0x4efd85(0x17a)],_0x1abcda[_0x4efd85(0x1d0)],_0x9606dc);break;}catch(_0x2dfe65){_0x1abcda[_0x4efd85(0x189)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x4efd85(0xf3)](_0x2dfe65));}_0x1abcda[_0x4efd85(0x182)](shouldProcessEventForTesthub)&&await _0x9606dc[_0x4efd85(0x18a)](_0x43b132['test']);}break;}case _0x1abcda[_0x4efd85(0x176)]:{const _0x4a21f2=_0x43b132['test'];if(_0x1abcda[_0x4efd85(0x166)](isTrue,process['env'][_0x4efd85(0x17e)])&&_0x1abcda[_0x4efd85(0x173)](isPhantomSkipFromNameFilter,_0x4a21f2)){const _0x24b08f=_0x1abcda[_0x4efd85(0x19b)](getFullJestTestName,_0x4a21f2);logger['debug'](_0x4efd85(0x1ca)+_0x24b08f+'\x22'),_0x4a21f2[_0x4efd85(0x17f)]=!![];break;}_0x43b132[_0x4efd85(0x17a)]={..._0x1abcda[_0x4efd85(0x162)](_0x69b253,_0x43b132[_0x4efd85(0x17a)]),..._0x43b132['test']};if(!_0x43b132[_0x4efd85(0x17a)]['markedStatus']){_0x43b132[_0x4efd85(0x17a)][_0x4efd85(0x17f)]=!![];if(BrowserstackCLI['getInstance']()['isCliEnabled']()&&await _0x1abcda[_0x4efd85(0x11d)](isCLIReady))try{await _0x1abcda[_0x4efd85(0xe6)](handleTestEventCLI,_0x43b132[_0x4efd85(0x17a)],_0x1abcda['RAUxU'],_0x9606dc);break;}catch(_0x2344d0){_0x1abcda[_0x4efd85(0x19b)](debug,_0x4efd85(0xf5)+util[_0x4efd85(0xf3)](_0x2344d0));}_0x1abcda[_0x4efd85(0xd1)](shouldProcessEventForTesthub)&&await _0x9606dc[_0x4efd85(0x18a)](_0x43b132['test'],undefined,![],_0x1abcda['RAUxU']);}break;}case _0x1abcda[_0x4efd85(0xe4)]:_0x9606dc[_0x4efd85(0x1cd)]=null;break;case _0x1abcda[_0x4efd85(0x113)]:await RequestQueueHandler[_0x4efd85(0x15a)]()[_0x4efd85(0xd5)](),process[_0x4efd85(0x14b)]();break;default:}},_0x1abcda[_0x217d8b(0x1a7)]));}catch(_0x351465){_0x1abcda[_0x217d8b(0xd9)](debug,_0x217d8b(0x1bb)+_0x351465);}return _0x1abcda[_0x217d8b(0x1ac)](initInitialize,..._0x2c00df);};try{Object[a21_0x5ad598(0xd6)](exportsI)[a21_0x5ad598(0x116)](_0x1626b4=>{const _0x43aac4=a21_0x5ad598,_0x2905ab={'kCcYT':function(_0x1c3029,_0x4a8588){return _0x1c3029(_0x4a8588);}};try{exports&&(exports[_0x1626b4]=exportsI[_0x1626b4]);}catch(_0x372ed6){_0x2905ab[_0x43aac4(0x1bf)](debug,_0x43aac4(0xe2)+_0x372ed6);}});}catch(a21_0x2a7b96){debug(a21_0x5ad598(0x101)+a21_0x2a7b96);}const a21_0x154aa4={};a21_0x154aa4[a21_0x5ad598(0x1b8)]=getFullJestTestName,a21_0x154aa4[a21_0x5ad598(0xd3)]=getActiveTestNamePattern,a21_0x154aa4[a21_0x5ad598(0x18d)]=isPhantomSkipFromNameFilter,exports[a21_0x5ad598(0x119)]=a21_0x154aa4;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a22_0x3f7ebe=a22_0x4ac5;(function(_0x741811,_0xa5de3e){const _0x464549=a22_0x4ac5,_0x12c920=_0x741811();while(!![]){try{const _0x5cc345=parseInt(_0x464549(0x1bb))/0x1+-parseInt(_0x464549(0x1cc))/0x2*(-parseInt(_0x464549(0x1c8))/0x3)+-parseInt(_0x464549(0x1cb))/0x4+-parseInt(_0x464549(0x1c3))/0x5*(parseInt(_0x464549(0x1c4))/0x6)+-parseInt(_0x464549(0x1bc))/0x7*(parseInt(_0x464549(0x1c9))/0x8)+-parseInt(_0x464549(0x1c7))/0x9+parseInt(_0x464549(0x1ba))/0xa;if(_0x5cc345===_0xa5de3e)break;else _0x12c920['push'](_0x12c920['shift']());}catch(_0xe103bd){_0x12c920['push'](_0x12c920['shift']());}}}(a22_0x402c,0xf3327));const Sequencer=require(a22_0x3f7ebe(0x1bd))[a22_0x3f7ebe(0x1b9)];class CustomSequencer extends Sequencer{['sort'](_0x3c9e5d){const _0x4e5908=a22_0x3f7ebe,_0x2ad87c=process[_0x4e5908(0x1c2)][_0x4e5908(0x1c1)];if(!_0x2ad87c)return _0x3c9e5d;const _0x3cf90c=_0x2ad87c[_0x4e5908(0x1c5)](','),_0x60e6eb=new Map(_0x3c9e5d[_0x4e5908(0x1ca)](_0x2841b0=>_0x3cf90c[_0x4e5908(0x1bf)](_0x2841b0['path']))['map'](_0xfc0de9=>[_0xfc0de9[_0x4e5908(0x1c0)],_0xfc0de9]));return _0x3cf90c[_0x4e5908(0x1c6)](_0x589568=>_0x60e6eb[_0x4e5908(0x1be)](_0x589568))[_0x4e5908(0x1ca)](Boolean);}}module['exports']=CustomSequencer;function a22_0x4ac5(_0x323361,_0x455cd8){const _0x402c50=a22_0x402c();return a22_0x4ac5=function(_0x4ac519,_0x17c215){_0x4ac519=_0x4ac519-0x1b9;let _0x29b629=_0x402c50[_0x4ac519];return _0x29b629;},a22_0x4ac5(_0x323361,_0x455cd8);}function a22_0x402c(){const _0x56e8ff=['@jest/test-sequencer','get','includes','path','JEST_TEST_ORDER','env','10VmnSCD','1858002qtdOBh','split','map','13325985Ygifhj','201iGXGMk','24QCBIYD','filter','1683956pCGrta','8810CFQaJX','default','40131590WJxuhJ','983626nDWrKW','4141193CcXcAD'];a22_0x402c=function(){return _0x56e8ff;};return a22_0x402c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a23_0x431eaf=a23_0x4fd8;(function(_0x35b40d,_0x5acd78){const _0x3c84a0=a23_0x4fd8,_0xba92d0=_0x35b40d();while(!![]){try{const _0x5ec000=parseInt(_0x3c84a0(0x113))/0x1+parseInt(_0x3c84a0(0x118))/0x2*(parseInt(_0x3c84a0(0x11b))/0x3)+parseInt(_0x3c84a0(0x128))/0x4*(-parseInt(_0x3c84a0(0x10f))/0x5)+parseInt(_0x3c84a0(0x11e))/0x6*(parseInt(_0x3c84a0(0x114))/0x7)+-parseInt(_0x3c84a0(0x10c))/0x8+parseInt(_0x3c84a0(0x10d))/0x9+-parseInt(_0x3c84a0(0x11c))/0xa;if(_0x5ec000===_0x5acd78)break;else _0xba92d0['push'](_0xba92d0['shift']());}catch(_0x39e609){_0xba92d0['push'](_0xba92d0['shift']());}}}(a23_0x457d,0x52145));const {requireModule,isBrowserstackInfra}=require(a23_0x431eaf(0x119)),a23_0x150ebc={};a23_0x150ebc[a23_0x431eaf(0x123)]=!![],Object['defineProperty'](exports,a23_0x431eaf(0x10b),a23_0x150ebc),exports[a23_0x431eaf(0x116)]=void 0x0;function _interopRequireDefault(_0x535772){const _0x37e20=a23_0x431eaf;return _0x535772&&_0x535772[_0x37e20(0x10b)]?_0x535772:{'default':_0x535772};};const runnerModule=process['env'][a23_0x431eaf(0x127)]||a23_0x431eaf(0x10a),JestRunner=_interopRequireDefault(requireModule(runnerModule))[a23_0x431eaf(0x116)];function a23_0x4fd8(_0x197a6b,_0x2b1a9e){const _0x457d4b=a23_0x457d();return a23_0x4fd8=function(_0x4fd8d7,_0x1ab847){_0x4fd8d7=_0x4fd8d7-0x107;let _0x3d13b2=_0x457d4b[_0x4fd8d7];return _0x3d13b2;},a23_0x4fd8(_0x197a6b,_0x2b1a9e);}function a23_0x457d(){const _0x50f801=['freeze','capabilities','DPabh','context','jest-runner','__esModule','1075392ktZwJf','4453650dfiVwd','exports','15aFeBMF','config','dwtMj','KNnJR','184335JqnCJC','3311ylDjyI','push','default','cvQKS','34uzdYxs','../../../helpers/helper','runTests','81573LUXQTw','3481870ZZvXPP','cVJSY','2850LnIoCT','_globalConfig','serial','length','slice','value','forEach','testEnvironmentOptions','false','BSTACK_USER_JEST_RUNNER','729732kuCIFS','dyIDj'];a23_0x457d=function(){return _0x50f801;};return a23_0x457d();}class TestRunner extends JestRunner{constructor(..._0x3ce34f){super(..._0x3ce34f);}['runTests'](..._0x38c87e){const _0x145593=a23_0x431eaf,_0x584e65={'cvQKS':function(_0xeb746b){return _0xeb746b();},'dyIDj':function(_0x2b1fde,_0x4b4ac1){return _0x2b1fde-_0x4b4ac1;},'KNnJR':function(_0x10ddc4,_0x331a60){return _0x10ddc4*_0x331a60;},'cVJSY':function(_0x385502,_0x175bd3){return _0x385502===_0x175bd3;},'DPabh':_0x145593(0x126),'dwtMj':function(_0x578a6d,_0x216b53){return _0x578a6d<_0x216b53;}};if(!_0x584e65[_0x145593(0x117)](isBrowserstackInfra))return super['runTests'](..._0x38c87e);const _0x384d5b=_0x38c87e[0x0],_0x25776c=_0x38c87e[_0x584e65[_0x145593(0x129)](_0x38c87e['length'],0x1)],_0x1e57e1=_0x384d5b[0x0][_0x145593(0x109)][_0x145593(0x110)][_0x145593(0x125)][_0x145593(0x107)],_0xb55e3e=_0x384d5b[0x0][_0x145593(0x109)][_0x145593(0x110)]['testEnvironmentOptions']['parallels__'];_0xb55e3e&&(this[_0x145593(0x11f)]=Object[_0x145593(0x12a)]({...this['_globalConfig'],'maxWorkers':_0x584e65[_0x145593(0x112)](_0xb55e3e,_0x1e57e1[_0x145593(0x121)])}));_0x584e65[_0x145593(0x11d)](_0x384d5b[0x0][_0x145593(0x109)][_0x145593(0x110)][_0x145593(0x125)]['serial__'],_0x584e65[_0x145593(0x108)])&&(_0x25776c&&(_0x25776c[_0x145593(0x120)]=![]));const _0x3b8d06=[];for(let _0x340e84=0x0;_0x584e65[_0x145593(0x111)](_0x340e84,_0x384d5b['length']);_0x340e84++){const _0x36d4c2=[];_0x1e57e1[_0x145593(0x124)]((_0x151745,_0x271934)=>{const _0x456294=_0x145593,_0x280a27={..._0x384d5b[_0x340e84]},_0x2dd762=_0x280a27;_0x2dd762['context']=Object[_0x456294(0x12a)]({..._0x2dd762[_0x456294(0x109)],'config':{..._0x2dd762[_0x456294(0x109)][_0x456294(0x110)],'capability':_0x151745,'browserstackPlatformIndex':_0x271934}}),_0x36d4c2['push'](_0x2dd762);}),_0x3b8d06[_0x145593(0x115)](..._0x36d4c2);}return super[_0x145593(0x11a)](_0x3b8d06,..._0x38c87e[_0x145593(0x122)](0x1));}}module[a23_0x431eaf(0x10e)]=TestRunner;
|