browserstack-node-sdk 1.61.0 → 1.63.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/browserstack.pw.yml.sample +10 -0
- package/browserstack.yml.sample +10 -0
- 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/load/index.js +193 -12
- package/src/bin/load/load/loadErrors.js +248 -0
- package/src/bin/load/loadErrors.js +1 -0
- 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 -0
- 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
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a16_0x2ed463=a16_0x4157;(function(_0x3f8f56,_0x5f4033){const _0x4d3f37=a16_0x4157,_0x438330=_0x3f8f56();while(!![]){try{const _0xba0e60=-parseInt(_0x4d3f37(0x171))/0x1*(-parseInt(_0x4d3f37(0x1ae))/0x2)+parseInt(_0x4d3f37(0x198))/0x3+parseInt(_0x4d3f37(0x180))/0x4*(-parseInt(_0x4d3f37(0x1a7))/0x5)+parseInt(_0x4d3f37(0x1c3))/0x6+-parseInt(_0x4d3f37(0x1bf))/0x7+-parseInt(_0x4d3f37(0x19a))/0x8*(parseInt(_0x4d3f37(0x1bd))/0x9)+parseInt(_0x4d3f37(0x1c1))/0xa;if(_0xba0e60===_0x5f4033)break;else _0x438330['push'](_0x438330['shift']());}catch(_0x2d1c17){_0x438330['push'](_0x438330['shift']());}}}(a16_0x51e8,0xe78e3));function a16_0x51e8(){const _0xc07791=['getFileName','is_mobile_session','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','../../helpers/globals','platformCaps','lDnQf','sessionNameSet__','PHjDd','util','getPackageVersion','split','__sessionFailed','bstackA11yShouldScan','[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','mUVEd','tRavy','debug','BROWSERSTACK_JASMINE_CONFIG','Rieso','FjTzQ','[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered','Passed','sSSAs','HSZzl','uNAWX','describe','MWDdo','performScanWithRetry','env','[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter','1kkmYCI','failed','undefined','jasmine','CONFIG','BROWSERSTACK_TESTHUB_JWT','[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','thTestRunUuid','__skipSessionStatus','BROWSERSTACK_TESTHUB_UUID','executeScript','jasmine-core','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','./testRunMap','[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20','4gLKhZq','format','[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20','sessionName','thBuildUuid','gEAiD','fullName','ENV_VAR','error','[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20','includes','OfsCT','setGlobal','saveAccessibilityResultsWithRetry','[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)','Daxfd','sep','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','warn','../../helpers/helper','@playwright/test','thJwtToken','__skipSessionName','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20','2799375JBQcOo','../../helpers/accessibility-automation/accessibilityRetryHelper','464gBVJzE','get','FdFxF','passed','browserstackSessionName','isMobilePlatform','mjJfr','__platformCaps','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20','browserstackAgentV2','Slkfj','[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20','getGlobal','5335790ERRwgW','NfIzj','BrwZF','isAccessibilityPlatform','isTrue','push','[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20','1306606lFbgAI','failedExpectations','skipSessionStatus','../../helpers/testhub/constants','addReporter','lOuaf','[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20','MxbuA','[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','1|4|2|0|3','MMkSM','parse','../../index','AWfcH','84555fpIZKP','length','2871337ZdzaGT','join','3293310ajlxpj','path','6329706AcEwYN','browserstackPlatformIndex','fileNameByFullName','[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20','skipSessionName','__drivers','[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20','./bstack-reporter/customReporter','VlJth','stack','info','function','getEnv','YzZsu','message','prepareStackTrace','stringify','bin','[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20','../../helpers/testhub/utils','../../helpers/logger','NpUrw','isArray'];a16_0x51e8=function(){return _0xc07791;};return a16_0x51e8();}function a16_0x4157(_0x459bff,_0x54ccb7){const _0x51e8d5=a16_0x51e8();return a16_0x4157=function(_0x41575c,_0x5ed4b3){_0x41575c=_0x41575c-0x164;let _0x5953e7=_0x51e8d5[_0x41575c];return _0x5953e7;},a16_0x4157(_0x459bff,_0x54ccb7);}const util=require(a16_0x2ed463(0x1e2)),logger=require(a16_0x2ed463(0x1d7))['winstonLogger'],helper=require(a16_0x2ed463(0x193)),globals=require(a16_0x2ed463(0x1dd)),{shouldProcessEventForTesthub}=require(a16_0x2ed463(0x1d6)),testHubConstants=require(a16_0x2ed463(0x1b1)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),accessibilityRetryHelper=require(a16_0x2ed463(0x199)),testRunMap=require(a16_0x2ed463(0x17e));let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process[a16_0x2ed463(0x16f)][a16_0x2ed463(0x164)]||process[a16_0x2ed463(0x16f)][a16_0x2ed463(0x175)];rawConfig!==undefined&&(_bstackConfig=JSON[a16_0x2ed463(0x1ba)](rawConfig));}catch(a16_0x3e220f){logger['debug'](a16_0x2ed463(0x189)+util[a16_0x2ed463(0x181)](a16_0x3e220f));}try{if(_bstackConfig&&!helper[a16_0x2ed463(0x1e3)](a16_0x2ed463(0x194))){const KmIMXs=a16_0x2ed463(0x1b8)[a16_0x2ed463(0x1e4)]('|');let jWkDlx=0x0;while(!![]){switch(KmIMXs[jWkDlx++]){case'0':global[a16_0x2ed463(0x1c4)]=_bstackConfig['platformIndex'];continue;case'1':logger[a16_0x2ed463(0x1ea)](a16_0x2ed463(0x18e));continue;case'2':global[a16_0x2ed463(0x1a1)]=_bstackConfig[a16_0x2ed463(0x1de)]||{};continue;case'3':helper['isBrowserstackInfra']()?(global['__skipSessionName']=helper[a16_0x2ed463(0x1ab)](_bstackConfig[a16_0x2ed463(0x1c7)]),global['__skipSessionStatus']=helper[a16_0x2ed463(0x1ab)](_bstackConfig[a16_0x2ed463(0x1b0)])):(global[a16_0x2ed463(0x196)]=!![],global[a16_0x2ed463(0x179)]=!![]);continue;case'4':shouldProcessEventForTesthub()?require(a16_0x2ed463(0x1bb))[a16_0x2ed463(0x1a3)](_bstackConfig,null,!![]):require(a16_0x2ed463(0x1bb))[a16_0x2ed463(0x1a3)](_bstackConfig);continue;}break;}}}catch(a16_0x38b305){logger[a16_0x2ed463(0x1ea)](a16_0x2ed463(0x1ad)+util[a16_0x2ed463(0x181)](a16_0x38b305));}const _fileNameByFullName={};try{if(typeof describe===a16_0x2ed463(0x1ce)&&typeof global!==a16_0x2ed463(0x173)){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x118bbd=a16_0x2ed463,_0x53a36d={'NpUrw':function(_0x471838,_0x309fe3){return _0x471838(_0x309fe3);},'BrwZF':_0x118bbd(0x1c2),'ZoSUt':function(_0x1a3a22,_0x1bf57b){return _0x1a3a22(_0x1bf57b);},'lDnQf':'node:','Hkdha':_0x118bbd(0x17c)},_0x55db17=Error['prepareStackTrace'];try{const _0x5baa7e=new Error();Error['prepareStackTrace']=(_0x3bee2f,_0x2782b6)=>_0x2782b6;const _0x41989b=_0x5baa7e[_0x118bbd(0x1cc)];Error['prepareStackTrace']=_0x55db17;if(Array[_0x118bbd(0x1d9)](_0x41989b))for(const _0x5da359 of _0x41989b){const _0x1371a3=_0x5da359[_0x118bbd(0x1da)]&&_0x5da359['getFileName']();if(_0x1371a3&&!_0x1371a3[_0x118bbd(0x18a)](_0x118bbd(0x1d4)+_0x53a36d[_0x118bbd(0x1d8)](require,_0x53a36d[_0x118bbd(0x1a9)])[_0x118bbd(0x190)]+_0x118bbd(0x174)+_0x53a36d['ZoSUt'](require,_0x53a36d['BrwZF'])['sep'])&&!_0x1371a3['startsWith'](_0x53a36d[_0x118bbd(0x1df)])&&!_0x1371a3[_0x118bbd(0x18a)](_0x53a36d['Hkdha']))return _0x1371a3;}}catch(_0x39f579){Error[_0x118bbd(0x1d2)]=_0x55db17;}return null;},_wrappedDescribe=function(_0x298d4d,_0x259765){const _0x4088e3=a16_0x2ed463,_0x45ba52={'lOuaf':function(_0x42de73){return _0x42de73();},'AWfcH':function(_0x1a1006,_0x52492c){return _0x1a1006&&_0x52492c;},'uBPdJ':function(_0x51e000,_0x3f9a45,_0x3e6c32){return _0x51e000(_0x3f9a45,_0x3e6c32);}};let _0x57bde2=null;try{_0x57bde2=_0x45ba52[_0x4088e3(0x1b3)](_resolveCallerFile);}catch(_0x465d89){}_describeTitleStack[_0x4088e3(0x1ac)](_0x298d4d);const _0x5d346a=_describeTitleStack[_0x4088e3(0x1c0)]('\x20');_0x45ba52[_0x4088e3(0x1bc)](_0x57bde2,_0x5d346a)&&(_fileNameByFullName[_0x5d346a]=_0x57bde2);try{return _0x45ba52['uBPdJ'](_origDescribe,_0x298d4d,_0x259765);}finally{_describeTitleStack['pop']();}};Object['keys'](_origDescribe)['forEach'](_0x1b243c=>{_wrappedDescribe[_0x1b243c]=_origDescribe[_0x1b243c];}),global[a16_0x2ed463(0x16c)]=_wrappedDescribe;}}catch(a16_0x141ad7){logger[a16_0x2ed463(0x1ea)](a16_0x2ed463(0x1b4)+util[a16_0x2ed463(0x181)](a16_0x141ad7));}try{if(typeof jasmine!==a16_0x2ed463(0x173)&&jasmine[a16_0x2ed463(0x1cf)]){const BrowserStackJasmineReporter=require(a16_0x2ed463(0x1ca)),a16_0x413f2c={};a16_0x413f2c[a16_0x2ed463(0x1c5)]=_fileNameByFullName,jasmine[a16_0x2ed463(0x1cf)]()[a16_0x2ed463(0x1b2)](new BrowserStackJasmineReporter(a16_0x413f2c)),logger[a16_0x2ed463(0x1ea)](a16_0x2ed463(0x170));}else logger[a16_0x2ed463(0x1ea)](a16_0x2ed463(0x167));}catch(a16_0x24d74b){logger[a16_0x2ed463(0x1ea)](a16_0x2ed463(0x182)+util[a16_0x2ed463(0x181)](a16_0x24d74b));}try{typeof jasmine!==a16_0x2ed463(0x173)&&jasmine[a16_0x2ed463(0x1cf)]&&jasmine[a16_0x2ed463(0x1cf)]()[a16_0x2ed463(0x1b2)]({'specStarted'(_0x21f86e){const _0x2f1291=a16_0x2ed463,_0x567588={};_0x567588[_0x2f1291(0x1a8)]=function(_0x316076,_0xe806ba){return _0x316076||_0xe806ba;};const _0x4aa5d5=_0x567588;_activeResultId=_0x21f86e&&_0x21f86e['id'],_activeFullName=_0x21f86e&&_0x21f86e[_0x2f1291(0x186)],_activeResultRef=_0x4aa5d5['NfIzj'](_0x21f86e,null);},'specDone'(){}});}catch(a16_0x162774){logger['debug'](a16_0x2ed463(0x197)+util[a16_0x2ed463(0x181)](a16_0x162774));}const _resolveAutoScanning=()=>{const _0x4c0f7c=a16_0x2ed463,_0x1b67c3={};_0x1b67c3[_0x4c0f7c(0x1e8)]=function(_0x3c00f1,_0x34b050){return _0x3c00f1===_0x34b050;};const _0x195489=_0x1b67c3;let _0x22262f=!![];try{const _0x1aeea7=JSON['parse'](process[_0x4c0f7c(0x16f)][_0x4c0f7c(0x1dc)]||'{}');_0x195489['mUVEd'](_0x1aeea7['autoScanning'],![])&&(_0x22262f=![]);}catch(_0x156fbd){logger[_0x4c0f7c(0x1ea)]('[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20'+_0x156fbd['message']);}return _0x22262f;};try{typeof beforeEach==='function'&&beforeEach(function bstackA11yBeforeEach(){const _0x1c0822=a16_0x2ed463,_0xec0c7b={'Rieso':function(_0x44c474){return _0x44c474();},'tRavy':function(_0x3e7d2c,_0x222026,_0x263e2a){return _0x3e7d2c(_0x222026,_0x263e2a);},'MMkSM':function(_0xc2e94a,_0xcd0497){return _0xc2e94a&&_0xcd0497;},'PHjDd':_0x1c0822(0x1e6),'shHBy':'bstackA11yScanOptions'};try{const _0x2229e4=_0xec0c7b[_0x1c0822(0x165)](_resolveAutoScanning),_0xdeaaba=_0xec0c7b[_0x1c0822(0x1e9)](shouldScanTestForAccessibility,null,![]),_0x1ba5f0=_0xec0c7b[_0x1c0822(0x1b9)](_0x2229e4,_0xdeaaba);globals['setGlobal'](_0xec0c7b[_0x1c0822(0x1e1)],_0x1ba5f0),globals[_0x1c0822(0x18c)](_0xec0c7b['shHBy'],null);}catch(_0x45335d){logger['debug'](_0x1c0822(0x1c6)+util[_0x1c0822(0x181)](_0x45335d));}}),typeof afterEach==='function'&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x296caa=a16_0x2ed463,_0x54d14d={'OfzEI':function(_0x388686,_0x259faf){return _0x388686>_0x259faf;},'uNAWX':function(_0x5ab041,_0x2a5e1b){return _0x5ab041>_0x2a5e1b;},'vjylE':'Spec\x20failed','mjJfr':function(_0x3179c3,_0x2e7ac9){return _0x3179c3+_0x2e7ac9;},'Daxfd':'Failed:\x20','OfsCT':_0x296caa(0x168),'hXfii':_0x296caa(0x188),'VlJth':_0x296caa(0x1cd),'YzZsu':_0x296caa(0x172),'sSSAs':_0x296caa(0x19d),'HSZzl':function(_0x353eba){return _0x353eba();},'FGOpN':_0x296caa(0x1aa),'hTSSu':function(_0x3db63b,_0x219de9){return _0x3db63b>_0x219de9;},'TPjFA':_0x296caa(0x1e6),'FdFxF':_0x296caa(0x1b6),'Slkfj':_0x296caa(0x177),'FjTzQ':'[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','gEAiD':_0x296caa(0x1e7),'ePuiy':_0x296caa(0x19f),'MxbuA':'[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','MWDdo':_0x296caa(0x1b7)};try{if(Array[_0x296caa(0x1d9)](global[_0x296caa(0x1c8)])&&_0x54d14d['OfzEI'](global[_0x296caa(0x1c8)]['length'],0x0)&&global[_0x296caa(0x1c8)][0x0]){const _0x2b832b=_activeFullName||global[_0x296caa(0x183)];if(!global['__skipSessionName']&&_0x2b832b){global[_0x296caa(0x183)]=_0x2b832b;try{await global[_0x296caa(0x1c8)][0x0][_0x296caa(0x17b)](_0x296caa(0x191)+JSON[_0x296caa(0x1d3)](_0x2b832b)+'}}'),global['__drivers'][0x0][_0x296caa(0x1e0)]=!![];}catch(_0x120ab8){logger['debug'](_0x296caa(0x1a5)+util[_0x296caa(0x181)](_0x120ab8));}}if(!global[_0x296caa(0x179)])try{const _0x33484c=_activeResultRef&&Array[_0x296caa(0x1d9)](_activeResultRef['failedExpectations'])?_activeResultRef[_0x296caa(0x1af)]:[],_0x6de235=_0x54d14d[_0x296caa(0x16b)](_0x33484c['length'],0x0),_0x5d4a94=_0x6de235?_0x33484c[0x0]&&_0x33484c[0x0][_0x296caa(0x1d1)]||_0x54d14d['vjylE']:null;try{await global[_0x296caa(0x1c8)][0x0][_0x296caa(0x17b)](_0x296caa(0x17d)+JSON[_0x296caa(0x1d3)](_0x6de235?_0x54d14d[_0x296caa(0x1a0)](_0x54d14d[_0x296caa(0x18f)],_0x5d4a94):_0x54d14d[_0x296caa(0x18b)])+',\x22level\x22:\x20\x22'+(_0x6de235?_0x54d14d['hXfii']:_0x54d14d[_0x296caa(0x1cb)])+'\x22}}');}catch(_0x4e79de){logger[_0x296caa(0x1ea)](_0x296caa(0x1d5)+util[_0x296caa(0x181)](_0x4e79de));}_0x6de235&&(global[_0x296caa(0x1e5)]=!![]),await helper['markSessionStatus'](global[_0x296caa(0x1c8)][0x0],_0x6de235?_0x54d14d[_0x296caa(0x1d0)]:_0x54d14d[_0x296caa(0x169)],_0x5d4a94);}catch(_0x1bad07){logger[_0x296caa(0x1ea)](_0x296caa(0x1c9)+util[_0x296caa(0x181)](_0x1bad07));}}}catch(_0x5c0d0b){logger['debug']('[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20'+util['format'](_0x5c0d0b));}try{if(_0x54d14d[_0x296caa(0x16a)](isAccessibilityAutomationSession)&&globals['getGlobal'](_0x54d14d['FGOpN'])&&Array['isArray'](global[_0x296caa(0x1c8)])&&_0x54d14d['hTSSu'](global['__drivers'][_0x296caa(0x1be)],0x0)&&global['__drivers'][0x0]){const _0x2aa877=testRunMap[_0x296caa(0x19b)](_activeResultId),_0x32b401={};_0x32b401[_0x296caa(0x178)]=_0x2aa877,_0x32b401[_0x296caa(0x184)]=process[_0x296caa(0x16f)][testHubConstants[_0x296caa(0x187)][_0x296caa(0x17a)]],_0x32b401[_0x296caa(0x195)]=process[_0x296caa(0x16f)][testHubConstants['ENV_VAR'][_0x296caa(0x176)]];const _0x5566d6=_0x32b401;logger['debug'](_0x296caa(0x17f)+JSON[_0x296caa(0x1d3)](_0x5566d6));if(globals[_0x296caa(0x1a6)](_0x54d14d['TPjFA'])){logger['debug'](_0x54d14d[_0x296caa(0x19c)]);const _0x18484c=await accessibilityRetryHelper[_0x296caa(0x16e)](global['__drivers'][0x0],global[_0x296caa(0x19e)]);_0x18484c?logger['debug'](_0x54d14d[_0x296caa(0x1a4)]):logger[_0x296caa(0x192)](_0x54d14d[_0x296caa(0x166)]);}else logger[_0x296caa(0x1ea)](_0x54d14d[_0x296caa(0x185)]);globals[_0x296caa(0x1a6)](_0x54d14d['ePuiy'])&&(_0x5566d6[_0x296caa(0x1db)]=!![]);const _0x55f33f=await accessibilityRetryHelper[_0x296caa(0x18d)](global['__drivers'][0x0],_0x5566d6);_0x55f33f?logger[_0x296caa(0x1ea)](_0x54d14d[_0x296caa(0x1b5)]):logger[_0x296caa(0x192)](_0x54d14d[_0x296caa(0x16d)]);}}catch(_0x3d4638){logger[_0x296caa(0x188)]('[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20'+util[_0x296caa(0x181)](_0x3d4638));}});}catch(a16_0x628105){logger['debug'](a16_0x2ed463(0x1a2)+util['format'](a16_0x628105));}module['exports']={};
|
|
1
|
+
'use strict';const a16_0x4f97e6=a16_0x3671;(function(_0x550a2d,_0x302fb6){const _0x265357=a16_0x3671,_0x4fd313=_0x550a2d();while(!![]){try{const _0x952d2=parseInt(_0x265357(0x231))/0x1+-parseInt(_0x265357(0x215))/0x2*(-parseInt(_0x265357(0x1e8))/0x3)+-parseInt(_0x265357(0x216))/0x4+parseInt(_0x265357(0x1fc))/0x5+-parseInt(_0x265357(0x205))/0x6*(-parseInt(_0x265357(0x1f7))/0x7)+parseInt(_0x265357(0x1fb))/0x8+-parseInt(_0x265357(0x230))/0x9;if(_0x952d2===_0x302fb6)break;else _0x4fd313['push'](_0x4fd313['shift']());}catch(_0x31d44a){_0x4fd313['push'](_0x4fd313['shift']());}}}(a16_0x8724,0x8b304));const util=require(a16_0x4f97e6(0x23e)),logger=require(a16_0x4f97e6(0x1fd))[a16_0x4f97e6(0x207)],helper=require(a16_0x4f97e6(0x22c)),globals=require('../../helpers/globals'),{shouldProcessEventForTesthub}=require(a16_0x4f97e6(0x21b)),testHubConstants=require(a16_0x4f97e6(0x22f)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),accessibilityRetryHelper=require(a16_0x4f97e6(0x21a)),testRunMap=require('./testRunMap');let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process[a16_0x4f97e6(0x1e7)][a16_0x4f97e6(0x25c)]||process[a16_0x4f97e6(0x1e7)][a16_0x4f97e6(0x210)];rawConfig!==undefined&&(_bstackConfig=JSON[a16_0x4f97e6(0x21c)](rawConfig));}catch(a16_0x2b2978){logger[a16_0x4f97e6(0x1ff)](a16_0x4f97e6(0x212)+util[a16_0x4f97e6(0x211)](a16_0x2b2978));}try{if(_bstackConfig&&!helper['getPackageVersion'](a16_0x4f97e6(0x224))){const xlwZlZ=a16_0x4f97e6(0x244)[a16_0x4f97e6(0x1f1)]('|');let LlZhnf=0x0;while(!![]){switch(xlwZlZ[LlZhnf++]){case'0':shouldProcessEventForTesthub()?require(a16_0x4f97e6(0x1ed))['browserstackAgentV2'](_bstackConfig,null,!![]):require(a16_0x4f97e6(0x1ed))[a16_0x4f97e6(0x251)](_bstackConfig);continue;case'1':global[a16_0x4f97e6(0x264)]=_bstackConfig[a16_0x4f97e6(0x1f2)]||{};continue;case'2':logger[a16_0x4f97e6(0x1ff)](a16_0x4f97e6(0x201));continue;case'3':global[a16_0x4f97e6(0x256)]=_bstackConfig['platformIndex'];continue;case'4':helper['isBrowserstackInfra']()?(global[a16_0x4f97e6(0x239)]=helper['isTrue'](_bstackConfig[a16_0x4f97e6(0x24f)]),global[a16_0x4f97e6(0x1ef)]=helper['isTrue'](_bstackConfig[a16_0x4f97e6(0x1f9)])):(global[a16_0x4f97e6(0x239)]=!![],global['__skipSessionStatus']=!![]);continue;}break;}}}catch(a16_0x1a45eb){logger[a16_0x4f97e6(0x1ff)](a16_0x4f97e6(0x22e)+util[a16_0x4f97e6(0x211)](a16_0x1a45eb));}const _fileNameByFullName={};try{if(typeof describe===a16_0x4f97e6(0x21f)&&typeof global!=='undefined'){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x3a8704=a16_0x4f97e6,_0x5a14b7={'kHjmJ':function(_0x4320b4,_0x21ecdd){return _0x4320b4(_0x21ecdd);},'HjgVn':_0x3a8704(0x25a),'Mqalh':function(_0x1ab255,_0x3d1d38){return _0x1ab255(_0x3d1d38);},'qgzMo':_0x3a8704(0x266),'XGrsK':'jasmine-core'},_0x24823d=Error[_0x3a8704(0x25b)];try{const _0x373292=new Error();Error[_0x3a8704(0x25b)]=(_0x387836,_0x4336f1)=>_0x4336f1;const _0x4bc9cc=_0x373292['stack'];Error[_0x3a8704(0x25b)]=_0x24823d;if(Array[_0x3a8704(0x226)](_0x4bc9cc))for(const _0x18ad14 of _0x4bc9cc){const _0x3b8414=_0x18ad14['getFileName']&&_0x18ad14['getFileName']();if(_0x3b8414&&!_0x3b8414[_0x3a8704(0x203)](_0x3a8704(0x24e)+_0x5a14b7[_0x3a8704(0x1e3)](require,_0x5a14b7[_0x3a8704(0x22b)])[_0x3a8704(0x204)]+_0x3a8704(0x23c)+_0x5a14b7[_0x3a8704(0x265)](require,_0x5a14b7['HjgVn'])[_0x3a8704(0x204)])&&!_0x3b8414[_0x3a8704(0x223)](_0x5a14b7[_0x3a8704(0x250)])&&!_0x3b8414[_0x3a8704(0x203)](_0x5a14b7[_0x3a8704(0x21d)]))return _0x3b8414;}}catch(_0x47cb13){Error[_0x3a8704(0x25b)]=_0x24823d;}return null;},_wrappedDescribe=function(_0x519c73,_0x126989){const _0x197ce9=a16_0x4f97e6,_0x4b7ef2={'vDDvw':function(_0x2ac3db){return _0x2ac3db();},'LLSta':function(_0x531f63,_0x3e5423){return _0x531f63&&_0x3e5423;},'BzKcv':function(_0x5693cf,_0xefb585,_0x53a816){return _0x5693cf(_0xefb585,_0x53a816);}};let _0x365de7=null;try{_0x365de7=_0x4b7ef2[_0x197ce9(0x243)](_resolveCallerFile);}catch(_0x133d5d){}_describeTitleStack[_0x197ce9(0x254)](_0x519c73);const _0x1f27b1=_describeTitleStack['join']('\x20');_0x4b7ef2['LLSta'](_0x365de7,_0x1f27b1)&&(_fileNameByFullName[_0x1f27b1]=_0x365de7);try{return _0x4b7ef2[_0x197ce9(0x232)](_origDescribe,_0x519c73,_0x126989);}finally{_describeTitleStack[_0x197ce9(0x253)]();}};Object[a16_0x4f97e6(0x1ea)](_origDescribe)[a16_0x4f97e6(0x227)](_0x54056d=>{_wrappedDescribe[_0x54056d]=_origDescribe[_0x54056d];}),global[a16_0x4f97e6(0x25f)]=_wrappedDescribe;}}catch(a16_0x237211){logger[a16_0x4f97e6(0x1ff)](a16_0x4f97e6(0x229)+util['format'](a16_0x237211));}try{if(typeof jasmine!==a16_0x4f97e6(0x200)&&jasmine[a16_0x4f97e6(0x24b)]){const BrowserStackJasmineReporter=require(a16_0x4f97e6(0x234)),a16_0x216866={};a16_0x216866[a16_0x4f97e6(0x20f)]=_fileNameByFullName,jasmine[a16_0x4f97e6(0x24b)]()[a16_0x4f97e6(0x262)](new BrowserStackJasmineReporter(a16_0x216866)),logger[a16_0x4f97e6(0x1ff)](a16_0x4f97e6(0x1fe));}else logger[a16_0x4f97e6(0x1ff)](a16_0x4f97e6(0x217));}catch(a16_0xa37209){logger[a16_0x4f97e6(0x1ff)](a16_0x4f97e6(0x228)+util[a16_0x4f97e6(0x211)](a16_0xa37209));}try{typeof jasmine!==a16_0x4f97e6(0x200)&&jasmine[a16_0x4f97e6(0x24b)]&&jasmine[a16_0x4f97e6(0x24b)]()[a16_0x4f97e6(0x262)]({'specStarted'(_0x3b554d){const _0x571caa=a16_0x4f97e6,_0x5e444f={};_0x5e444f['xtbRV']=function(_0x1ec1ba,_0x3fd6b1){return _0x1ec1ba||_0x3fd6b1;};const _0x41c6bd=_0x5e444f;_activeResultId=_0x3b554d&&_0x3b554d['id'],_activeFullName=_0x3b554d&&_0x3b554d[_0x571caa(0x1f0)],_activeResultRef=_0x41c6bd['xtbRV'](_0x3b554d,null);},'specDone'(){}});}catch(a16_0x148935){logger[a16_0x4f97e6(0x1ff)]('[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20'+util[a16_0x4f97e6(0x211)](a16_0x148935));}const _resolveAutoScanning=()=>{const _0x40fd19=a16_0x4f97e6,_0x32d34c={};_0x32d34c[_0x40fd19(0x237)]=function(_0x4c67c9,_0xa96f0f){return _0x4c67c9===_0xa96f0f;};const _0x1eab2f=_0x32d34c;let _0x542ad1=!![];try{const _0x15b47a=JSON['parse'](process[_0x40fd19(0x1e7)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']||'{}');_0x1eab2f[_0x40fd19(0x237)](_0x15b47a[_0x40fd19(0x1e5)],![])&&(_0x542ad1=![]);}catch(_0x2d7aac){logger['debug'](_0x40fd19(0x242)+_0x2d7aac[_0x40fd19(0x1e4)]);}return _0x542ad1;};try{typeof beforeEach===a16_0x4f97e6(0x21f)&&beforeEach(function bstackA11yBeforeEach(){const _0x5cbf15=a16_0x4f97e6,_0x53c7bc={'cJYga':function(_0x1a212c){return _0x1a212c();},'Pqpad':function(_0x1ec453,_0x2a8d0a,_0x3a03fa){return _0x1ec453(_0x2a8d0a,_0x3a03fa);},'AyYkD':function(_0x58b108,_0x43f6a0){return _0x58b108&&_0x43f6a0;},'BiIAo':_0x5cbf15(0x238),'gjNZg':_0x5cbf15(0x23a)};try{const _0x35472a=_0x53c7bc[_0x5cbf15(0x20c)](_resolveAutoScanning),_0x186ff9=_0x53c7bc[_0x5cbf15(0x261)](shouldScanTestForAccessibility,null,![]),_0x4cadeb=_0x53c7bc[_0x5cbf15(0x20b)](_0x35472a,_0x186ff9);globals['setGlobal'](_0x53c7bc[_0x5cbf15(0x257)],_0x4cadeb),globals[_0x5cbf15(0x1f3)](_0x53c7bc[_0x5cbf15(0x206)],null);}catch(_0x27b60f){logger['debug']('[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20'+util[_0x5cbf15(0x211)](_0x27b60f));}}),typeof afterEach===a16_0x4f97e6(0x21f)&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x369457=a16_0x4f97e6,_0x22ebab={'DEOxg':function(_0x4e60a9,_0x2b1539){return _0x4e60a9>_0x2b1539;},'wjfMP':function(_0x180985,_0x4f93b4){return _0x180985>_0x4f93b4;},'EhZOE':'Spec\x20failed','SgFTk':function(_0x5b51c0,_0x45571f){return _0x5b51c0+_0x45571f;},'CzhFR':_0x369457(0x263),'QlZuU':_0x369457(0x241),'cjYod':_0x369457(0x249),'pfMGf':_0x369457(0x20d),'AeCEz':_0x369457(0x236),'wpuYP':_0x369457(0x1f5),'nllRg':function(_0x514c68){return _0x514c68();},'WuQDl':'isAccessibilityPlatform','dvXGz':'bstackA11yShouldScan','StQqp':_0x369457(0x23f),'JrGUw':_0x369457(0x246),'aQLOU':'[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','paPRp':'[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','KBGYE':_0x369457(0x25e),'LgZld':_0x369457(0x220),'mIviF':_0x369457(0x24c)};try{if(Array[_0x369457(0x226)](global[_0x369457(0x24a)])&&_0x22ebab[_0x369457(0x1e6)](global['__drivers']['length'],0x0)&&global['__drivers'][0x0]){const _0x2fd0fc=_activeFullName||global[_0x369457(0x245)];if(!global['__skipSessionName']&&_0x2fd0fc){global[_0x369457(0x245)]=_0x2fd0fc;try{await global[_0x369457(0x24a)][0x0][_0x369457(0x1f6)](_0x369457(0x1f4)+JSON[_0x369457(0x221)](_0x2fd0fc)+'}}'),global['__drivers'][0x0]['sessionNameSet__']=!![];}catch(_0x59a29f){logger[_0x369457(0x1ff)](_0x369457(0x218)+util[_0x369457(0x211)](_0x59a29f));}}if(!global[_0x369457(0x1ef)])try{const _0x407c1b=_activeResultRef&&Array[_0x369457(0x226)](_activeResultRef[_0x369457(0x22d)])?_activeResultRef[_0x369457(0x22d)]:[],_0x50a519=_0x22ebab[_0x369457(0x233)](_0x407c1b[_0x369457(0x1fa)],0x0),_0x53e54c=_0x50a519?_0x407c1b[0x0]&&_0x407c1b[0x0][_0x369457(0x1e4)]||_0x22ebab[_0x369457(0x219)]:null;try{await global['__drivers'][0x0][_0x369457(0x1f6)](_0x369457(0x214)+JSON[_0x369457(0x221)](_0x50a519?_0x22ebab[_0x369457(0x24d)](_0x22ebab[_0x369457(0x247)],_0x53e54c):_0x22ebab['QlZuU'])+_0x369457(0x1ee)+(_0x50a519?_0x22ebab[_0x369457(0x259)]:_0x22ebab[_0x369457(0x208)])+_0x369457(0x252));}catch(_0x3b960f){logger[_0x369457(0x1ff)]('[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20'+util[_0x369457(0x211)](_0x3b960f));}_0x50a519&&(global['__sessionFailed']=!![]),await helper['markSessionStatus'](global[_0x369457(0x24a)][0x0],_0x50a519?_0x22ebab[_0x369457(0x258)]:_0x22ebab[_0x369457(0x240)],_0x53e54c);}catch(_0x38c311){logger[_0x369457(0x1ff)](_0x369457(0x23b)+util[_0x369457(0x211)](_0x38c311));}}}catch(_0x253f5e){logger[_0x369457(0x1ff)]('[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20'+util['format'](_0x253f5e));}try{if(_0x22ebab[_0x369457(0x213)](isAccessibilityAutomationSession)&&globals[_0x369457(0x1e9)](_0x22ebab[_0x369457(0x23d)])&&Array['isArray'](global[_0x369457(0x24a)])&&_0x22ebab[_0x369457(0x1e6)](global[_0x369457(0x24a)][_0x369457(0x1fa)],0x0)&&global[_0x369457(0x24a)][0x0]){const _0x31ec6d=testRunMap[_0x369457(0x248)](_activeResultId),_0xb3999b={};_0xb3999b[_0x369457(0x1eb)]=_0x31ec6d,_0xb3999b['thBuildUuid']=process[_0x369457(0x1e7)][testHubConstants['ENV_VAR'][_0x369457(0x235)]],_0xb3999b['thJwtToken']=process[_0x369457(0x1e7)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_JWT']];const _0x281fe6=_0xb3999b;logger['debug'](_0x369457(0x1ec)+JSON[_0x369457(0x221)](_0x281fe6));if(globals['getGlobal'](_0x22ebab[_0x369457(0x209)])){logger[_0x369457(0x1ff)](_0x22ebab['StQqp']);const _0x27f1d1=await accessibilityRetryHelper[_0x369457(0x25d)](global[_0x369457(0x24a)][0x0],global['browserstackSessionName']);_0x27f1d1?logger[_0x369457(0x1ff)](_0x22ebab[_0x369457(0x260)]):logger['warn'](_0x22ebab[_0x369457(0x20e)]);}else logger['debug'](_0x22ebab[_0x369457(0x202)]);globals[_0x369457(0x1e9)](_0x22ebab[_0x369457(0x222)])&&(_0x281fe6[_0x369457(0x1f8)]=!![]);const _0x194ed5=await accessibilityRetryHelper[_0x369457(0x22a)](global['__drivers'][0x0],_0x281fe6);_0x194ed5?logger[_0x369457(0x1ff)](_0x22ebab['LgZld']):logger[_0x369457(0x21e)](_0x22ebab[_0x369457(0x255)]);}}catch(_0xfaabe5){logger['error'](_0x369457(0x225)+util['format'](_0xfaabe5));}});}catch(a16_0x474324){logger[a16_0x4f97e6(0x1ff)]('[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20'+util[a16_0x4f97e6(0x211)](a16_0x474324));}function a16_0x8724(){const _0x578671=['cjYod','path','prepareStackTrace','BROWSERSTACK_JASMINE_CONFIG','performScanWithRetry','isMobilePlatform','describe','JrGUw','Pqpad','addReporter','Failed:\x20','__platformCaps','Mqalh','node:','kHjmJ','message','autoScanning','DEOxg','env','36RkSdLu','getGlobal','keys','thTestRunUuid','[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20','../../index',',\x22level\x22:\x20\x22','__skipSessionStatus','fullName','split','platformCaps','setGlobal','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','passed','executeScript','1061221PiCjlW','is_mobile_session','skipSessionStatus','length','5584160isPcYP','1083380GHjDRp','../../helpers/logger','[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter','debug','undefined','[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)','paPRp','includes','sep','18VrCnvp','gjNZg','winstonLogger','pfMGf','dvXGz','exports','AyYkD','cJYga','info','aQLOU','fileNameByFullName','CONFIG','format','[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20','nllRg','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','4868kMHFLJ','85780OCWxcU','[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered','[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20','EhZOE','../../helpers/accessibility-automation/accessibilityRetryHelper','../../helpers/testhub/utils','parse','XGrsK','warn','function','[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','stringify','KBGYE','startsWith','@playwright/test','[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20','isArray','forEach','[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20','[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20','saveAccessibilityResultsWithRetry','HjgVn','../../helpers/helper','failedExpectations','[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20','../../helpers/testhub/constants','12044799GMAwzo','531159VHIrTo','BzKcv','wjfMP','./bstack-reporter/customReporter','BROWSERSTACK_TESTHUB_UUID','failed','BeuOh','bstackA11yShouldScan','__skipSessionName','bstackA11yScanOptions','[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20','jasmine','WuQDl','util','[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','wpuYP','Passed','[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','vDDvw','2|0|1|3|4','sessionName','[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','CzhFR','get','error','__drivers','getEnv','[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','SgFTk','bin','skipSessionName','qgzMo','browserstackAgentV2','\x22}}','pop','push','mIviF','browserstackPlatformIndex','BiIAo','AeCEz'];a16_0x8724=function(){return _0x578671;};return a16_0x8724();}function a16_0x3671(_0x222ffa,_0x5ee4d6){const _0x87246a=a16_0x8724();return a16_0x3671=function(_0x3671af,_0x58500b){_0x3671af=_0x3671af-0x1e3;let _0x542c47=_0x87246a[_0x3671af];return _0x542c47;},a16_0x3671(_0x222ffa,_0x5ee4d6);}module[a16_0x4f97e6(0x20a)]={};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function a17_0xc54a(){const _0x471e6c=['djIRP','mdwno','_size','3250xtSnNN','size','get','70xsQlle','1727NBWuKz','9Nuqxop','remove','21427AXRJCa','294kritxx','591684nDabkz','zHPnX','2737356ampddg','336496Xfdorr','50906WCdpHJ','VOxYE','26680aUmPDy','set','kGxfd','2rVhKGj'];a17_0xc54a=function(){return _0x471e6c;};return a17_0xc54a();}const a17_0x2acbdd=a17_0x4d65;(function(_0x462ebc,_0x44d027){const _0x132010=a17_0x4d65,_0x3c42cf=_0x462ebc();while(!![]){try{const _0x30319b=-parseInt(_0x132010(0x14c))/0x1*(parseInt(_0x132010(0x147))/0x2)+parseInt(_0x132010(0x143))/0x3+parseInt(_0x132010(0x149))/0x4*(-parseInt(_0x132010(0x13d))/0x5)+parseInt(_0x132010(0x142))/0x6*(-parseInt(_0x132010(0x141))/0x7)+parseInt(_0x132010(0x146))/0x8*(parseInt(_0x132010(0x13f))/0x9)+parseInt(_0x132010(0x13a))/0xa*(-parseInt(_0x132010(0x13e))/0xb)+parseInt(_0x132010(0x145))/0xc;if(_0x30319b===_0x44d027)break;else _0x3c42cf['push'](_0x3c42cf['shift']());}catch(_0x1faf29){_0x3c42cf['push'](_0x3c42cf['shift']());}}}(a17_0xc54a,0x1dcf7));const _specUuidById=new Map();function a17_0x4d65(_0x44f818,_0x18757e){const _0xc54ad8=a17_0xc54a();return a17_0x4d65=function(_0x4d6543,_0x37d43f){_0x4d6543=_0x4d6543-0x13a;let _0x4eb5da=_0xc54ad8[_0x4d6543];return _0x4eb5da;},a17_0x4d65(_0x44f818,_0x18757e);}exports[a17_0x2acbdd(0x14a)]=(_0x1b0f31,_0x56e1a9)=>{const _0x33d3b4=a17_0x2acbdd,_0x259bb2={};_0x259bb2['djIRP']=function(_0x2f197a,_0x47dd4f){return _0x2f197a===_0x47dd4f;};const _0x3738b5=_0x259bb2;if(_0x3738b5['djIRP'](_0x1b0f31,undefined)||_0x3738b5[_0x33d3b4(0x14d)](_0x1b0f31,null))return;_specUuidById[_0x33d3b4(0x14a)](_0x1b0f31,_0x56e1a9);},exports[a17_0x2acbdd(0x13c)]=_0xe1122f=>{const _0x3fd263=a17_0x2acbdd,_0x5097f0={};_0x5097f0[_0x3fd263(0x14b)]=function(_0x18c3a7,_0x4cb587){return _0x18c3a7===_0x4cb587;},_0x5097f0[_0x3fd263(0x148)]=function(_0x182353,_0x19e4d5){return _0x182353===_0x19e4d5;};const _0x4bd859=_0x5097f0;if(_0x4bd859[_0x3fd263(0x14b)](_0xe1122f,undefined)||_0x4bd859[_0x3fd263(0x148)](_0xe1122f,null))return undefined;return _specUuidById[_0x3fd263(0x13c)](_0xe1122f);},exports[a17_0x2acbdd(0x140)]=_0x127832=>{const _0x1840be=a17_0x2acbdd,_0x495d1b={};_0x495d1b[_0x1840be(0x144)]=function(_0x42d5b4,_0x20fad8){return _0x42d5b4===_0x20fad8;},_0x495d1b[_0x1840be(0x14e)]=function(_0x4b4e5c,_0x14e38f){return _0x4b4e5c===_0x14e38f;};const _0x4260bf=_0x495d1b;if(_0x4260bf[_0x1840be(0x144)](_0x127832,undefined)||_0x4260bf[_0x1840be(0x14e)](_0x127832,null))return;_specUuidById['delete'](_0x127832);},exports[a17_0x2acbdd(0x14f)]=()=>_specUuidById[a17_0x2acbdd(0x13b)];
|
package/src/bin/jest/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a18_0x2026(){const _0x154cb4=['replace','logLevel','launchBuild','hrxdz','TCayk','data-hooks.js','existsSync','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','moduleNameMapper','\x0a\x20\x20\x20\x20\x20\x20','Deleted\x20fail-fast\x20state\x20folder:\x20','PByzb','workingDir','false','MODULE','true','puppeteer-core/package.json','../../helpers/accessibility-automation/helper','testEnvironment','15360oTPPTE','customCircus.js','ZGDnY','../../helpers/testhub/testhubHandler','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','cewey','PACKAGE_TYPE','Deleting\x20','../../helpers/puppeteer-helper','bJZoP',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','testContextOptions','parseTestOrchestrationOptions','platforms','reporters','serial__','splice','LVVXR','error','../../helpers/performance/performance-tester',';\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','oXVMc','reorderTestFiles','749103AUIpOE','assign','browserStackPercyOptions','/internal/$1','EjyOz','clApL','../../helpers/utilities','timeout__','useW3C','start','\x0amodule.exports\x20=\x20config;','exports','LUCeO','join','UkhCT','isEmpty','wRpFN','Preserving\x20user\x27s\x20Jest\x20runner:\x20','../../helpers/percy/utils','Getting\x20your\x20jest\x20configs\x20from\x20package.json','test.setup.js','../../helpers/test-observability/constants','maxFailures','1379540ZxJmEN','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','cwd','esQfK','force','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','1205421ATKnVS','mKCMn','./test-observability/test-details','turboScaleUrl','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','customImplements','../../helpers/test-observability/utils','JEST','customEnvironment.js','Reodered\x20Test\x20Files:\x20','dqzyb','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','SDK_SETUP','wPRFh','ZSfey','testSequencer','../../helpers/playwright-helper','inherit','getHubUrl','BjTqk','@playwright/test','env','puppeteer','jest_browserstack.config.js','jest.config.','stringify','getPackageType','--config','KzOqh','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','VwTrX','zvEMT','setupFilesAfterEnv','Found:\x20','tNpji','ZZaLk','bxBXm','rEIWE','setup','customTestRunner.js','qIAwO','testEnvironmentOptions','mjs','iWjlc','WFZev','setupTCGAuth','getTCGConfigFilePaths','winstonLogger','requireSeleniumWebdriver','stop','resolve','jvOnn','test_before.setup.js','BSHrJ','runner','KVQbG','dtLSf','util','getErrorMessageFromResults','setupBrowserstackLocal','GBtBt','findIndex','../../helpers/BrowserStackSetup','parallelsPerPlatform','skipSessionName','\x20:\x20','GCVce',';\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','AfYfK','jest-circus','rmdirSync','skipSessionStatus','retries__','3473095dvcNzn','UuWtB','prepareCapabilities','OXCGH','push','OKmhe','mVCuM','ColOP','length','BROWSERSTACK_FRAMEWORK','testTimeout','zOkrP','@jest/core/build/ReporterDispatcher.js','isCliEnabled','platform','proxySettings','json','child_process','@jest/core','retryTestsOnFailure','findTestFiles','USER_CONFIG_DETAILS_PATH','Error\x20while\x20parsing\x20','parse','message','BROWSERSTACK_TEST_OBSERVABILITY_YML','326472qrhspV','isNotUndefined','checkAccessibilityPlatformConfig','apply','EVENTS','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','12FRAhVG','handleApp','WPMYL','getInstance','jest_browserstack.config.cjs','jest-runner-','playwright','TGUzT','nMIsT','Getting\x20your\x20jest\x20configs\x20from\x20','kXMpW','isRunning','accessibility','requireModule',',\x20CLI\x20running:\x20','readInitialOptions','UHVhM','readFileSync','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','korBN','../../helpers/test-orchestration/testOrchestrationHandler','BROWSERSTACK_CAPABILITIES','maxWorkers','platformCaps','package.json','accessibilityOptions','testObservability','default','parallels__','format','jest_browserstack_results.json','../../helpers/logger','../v2/browserstackCLI','510zReMHz','xMsGV','SDK_CLEANUP','FRAMEWORKS','YOuJc','xSgwN','customSequencer.js','fzxag','test-observability','child\x20process\x20exited\x20with\x20code\x20','printBuildLink','Creating\x20','./test-observability/helper','setupFiles','jest.setup.js','browserStackLogLevel','customTestRunnerTemplate.js','exitCode','mXnbu','\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','jest-runner','capabilities','jest','zOGxR','cjs','qaJsm','[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20','rmSync','BSTACK_USER_JEST_RUNNER','VqQKy','requirePWModule','isUndefined','LEQZK','Puppeteer\x20setup\x20error:\x20','../utils/constants','failureThresholdCount','qkOyG','isBrowserstackInfra','\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','errorMessage','JEST_TEST_ORDER','writeFileSync','oglDn','abortBuildOnFailure','config','shouldProcessEventForTesthub','getPackageVersion','8081748QGMqmS','AJSTk','../../helpers/helper','../../helpers/performance/constants','^puppeteer-core/internal/(.*)','info','maxRetries','isCLIEnabled','debug','unlinkSync','finalExecution'];a18_0x2026=function(){return _0x154cb4;};return a18_0x2026();}const a18_0x1f264d=a18_0x1acf;(function(_0x217bdc,_0x255e6e){const _0xc10839=a18_0x1acf,_0x58be21=_0x217bdc();while(!![]){try{const _0x2cd17b=-parseInt(_0xc10839(0x189))/0x1+-parseInt(_0xc10839(0x1a0))/0x2+parseInt(_0xc10839(0x125))/0x3*(parseInt(_0xc10839(0x172))/0x4)+parseInt(_0xc10839(0x1ef))/0x5+-parseInt(_0xc10839(0x104))/0x6*(parseInt(_0xc10839(0x1a6))/0x7)+-parseInt(_0xc10839(0xfe))/0x8+parseInt(_0xc10839(0x154))/0x9;if(_0x2cd17b===_0x255e6e)break;else _0x58be21['push'](_0x58be21['shift']());}catch(_0x804961){_0x58be21['push'](_0x58be21['shift']());}}}(a18_0x2026,0x66db7));const fs=require('fs'),path=require('path'),util=require(a18_0x1f264d(0x1df)),{spawn}=require(a18_0x1f264d(0xf5)),logger=require(a18_0x1f264d(0x123))[a18_0x1f264d(0x1d5)],{default:BrowserStackSetup}=require(a18_0x1f264d(0x1e4)),helper=require(a18_0x1f264d(0x156)),utilities=require(a18_0x1f264d(0x18f)),constants=require(a18_0x1f264d(0x147)),accessibilityHelper=require(a18_0x1f264d(0x170)),{updateTestRerunConfig}=require(a18_0x1f264d(0x131)),testOpsHelper=require('../../helpers/test-observability/utils'),{debug}=require(a18_0x1f264d(0x1ac)),TestDetails=require(a18_0x1f264d(0x1a8)),{getPercyOptions}=require(a18_0x1f264d(0x19b)),TestHubHandler=require(a18_0x1f264d(0x175)),testhubUtils=require('../../helpers/testhub/utils'),{FRAMEWORKS}=require(a18_0x1f264d(0x19e)),PerformanceTester=require(a18_0x1f264d(0x185)),PerformanceEvents=require(a18_0x1f264d(0x157))[a18_0x1f264d(0x102)],TestOrchestrationHandler=require(a18_0x1f264d(0x118)),BrowserstackCLI=require(a18_0x1f264d(0x124)),{checkPwandBootstrapCli}=require(a18_0x1f264d(0x1b6)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a18_0x1f264d(0x17a)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),{checkAccessibilityPlatformConfig}=require(a18_0x1f264d(0x170)),getUserJestConfigs=async(_0x5ae299,_0x8e648a)=>{const _0x5276db=a18_0x1f264d,_0x4cb615={'BSHrJ':'jest-config/build/readConfigFileAndSetRootDir.js','mXnbu':'jest-config','PByzb':function(_0x579fe4,_0x47d437){return _0x579fe4||_0x47d437;},'hrxdz':function(_0x5bfb70,_0x465753){return _0x5bfb70(_0x465753);},'UkhCT':_0x5276db(0x11c),'ZSfey':_0x5276db(0x19c),'UHVhM':_0x5276db(0x1d0),'BjTqk':_0x5276db(0x13d),'cewey':_0x5276db(0xf4)};let _0x2dcdc2;try{_0x2dcdc2=helper[_0x5276db(0x111)](_0x4cb615[_0x5276db(0x1db)],_0x4cb615[_0x5276db(0x137)]);}catch{const _0x303369=helper[_0x5276db(0x111)](_0x4cb615[_0x5276db(0x137)]);_0x2dcdc2={'default':async _0x43856b=>{const _0x49f9e2=_0x5276db,_0x347758=await _0x303369[_0x49f9e2(0x113)](_0x43856b,{});return _0x347758['config'];}};}const _0x34d8b1=_0x8e648a[_0x5276db(0x1e3)](_0x192ea0=>_0x192ea0===_0x5276db(0x1c1));if(!helper[_0x5276db(0x144)](_0x5ae299[_0x5276db(0x151)])){logger[_0x5276db(0x159)](_0x5276db(0x10d)+_0x5ae299['config']),process[_0x5276db(0x1bb)][_0x5276db(0xf9)]=_0x5ae299[_0x5276db(0x151)];const _0x41b04d=await(0x0,_0x2dcdc2[_0x5276db(0x11f)])(path[_0x5276db(0x1d8)](_0x5ae299[_0x5276db(0x151)]));return _0x8e648a[_0x5276db(0x182)](_0x34d8b1,0x2),_0x4cb615[_0x5276db(0x16a)](_0x41b04d,{});}const _0x368707=_0x4cb615[_0x5276db(0x162)](require,path[_0x5276db(0x196)](process['cwd'](),_0x4cb615[_0x5276db(0x197)]));if(_0x368707[_0x5276db(0x13b)])return logger[_0x5276db(0x159)](_0x4cb615[_0x5276db(0x1b4)]),_0x368707[_0x5276db(0x13b)];const _0x2b9c58=['js',_0x4cb615[_0x5276db(0x114)],_0x4cb615[_0x5276db(0x1b9)],_0x4cb615[_0x5276db(0x177)],'ts'];for(const _0x3e186b of _0x2b9c58){const _0x409a94=path['join'](process[_0x5276db(0x1a2)](),_0x5276db(0x1be)+_0x3e186b);if(fs[_0x5276db(0x165)](_0x409a94)){process[_0x5276db(0x1bb)][_0x5276db(0xf9)]=_0x409a94;const _0x34e8ef=await(0x0,_0x2dcdc2[_0x5276db(0x11f)])(_0x409a94);return _0x34e8ef;}}return{};},getSerial=(_0xff6d43,_0x3bb5f6)=>{const _0x1337f1=a18_0x1f264d,_0x4cded5={};_0x4cded5[_0x1337f1(0x13e)]=_0x1337f1(0x16e),_0x4cded5[_0x1337f1(0x1f4)]=function(_0x43ac33,_0x159400){return _0x43ac33>_0x159400;},_0x4cded5['kXMpW']=function(_0x1c8ad9,_0x387c45){return _0x1c8ad9>_0x387c45;},_0x4cded5['VwTrX']='false';const _0x582fc1=_0x4cded5;let _0x457f26=_0x582fc1[_0x1337f1(0x13e)];return _0x582fc1[_0x1337f1(0x1f4)](_0xff6d43['length'],0x1)&&(!_0x3bb5f6['runInBand']&&(helper[_0x1337f1(0x144)](_0x3bb5f6[_0x1337f1(0x11a)])||_0x582fc1[_0x1337f1(0x10e)](_0x3bb5f6[_0x1337f1(0x11a)],0x1)))&&(_0x457f26=_0x582fc1[_0x1337f1(0x1c4)]),_0x457f26;},getMaxWorkers=(_0x572949,_0x519181,_0x5d555a)=>{const _0x2e29ed=a18_0x1f264d,_0x1ffff1={'WFZev':function(_0x495d99,_0x51629a){return _0x495d99(_0x51629a);}};let _0x55bc34=0x1;if(!helper['isUndefined'](_0x519181[_0x2e29ed(0x1e5)]))_0x55bc34=_0x1ffff1[_0x2e29ed(0x1d2)](parseInt,_0x519181['parallelsPerPlatform']);else{if(!helper[_0x2e29ed(0x144)](_0x572949[_0x2e29ed(0x11a)]))_0x55bc34=_0x572949[_0x2e29ed(0x11a)];else!helper['isUndefined'](_0x5d555a[_0x2e29ed(0x11a)])&&(_0x55bc34=_0x5d555a['maxWorkers']);}return _0x55bc34;};async function run(_0x47b2ca,_0x10fda5,_0x31ac6d){const _0x4a3fcc=a18_0x1f264d,_0x5941e7={'AJSTk':'error\x20removing\x20tcg\x20config\x20file','esQfK':'jest','xMsGV':function(_0x476bfe,_0x119079){return _0x476bfe(_0x119079);},'dtLSf':_0x4a3fcc(0x1ba),'yyOlU':function(_0x50d55a){return _0x50d55a();},'ZZaLk':function(_0x2fe3ed,_0x1d8d6b,_0x4f047a,_0x2499fe){return _0x2fe3ed(_0x1d8d6b,_0x4f047a,_0x2499fe);},'clApL':function(_0x185a6c,_0x3f9147,_0x5807af,_0x48e7dc){return _0x185a6c(_0x3f9147,_0x5807af,_0x48e7dc);},'VqQKy':function(_0x581c5f,_0x5c0c89){return _0x581c5f!=_0x5c0c89;},'TGUzT':_0x4a3fcc(0x16e),'WPMYL':function(_0x5535c5,_0x5bcbd0,_0x3c03be){return _0x5535c5(_0x5bcbd0,_0x3c03be);},'RjbZU':'Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','mVCuM':function(_0x3bed1d,_0x3be2c2){return _0x3bed1d(_0x3be2c2);},'jvOnn':function(_0x5e1a7d,_0x314f51){return _0x5e1a7d(_0x314f51);},'OYkvz':_0x4a3fcc(0x16c),'nMIsT':function(_0x4ff9a8,_0x4a0d54,_0x4705cf){return _0x4ff9a8(_0x4a0d54,_0x4705cf);},'LEQZK':function(_0x14164a,_0x5ad971){return _0x14164a*_0x5ad971;},'uMXWx':function(_0xedabd3,_0x29b701){return _0xedabd3===_0x29b701;},'OXCGH':_0x4a3fcc(0x108),'RGcEU':_0x4a3fcc(0x1bd),'TCayk':_0x4a3fcc(0x1ab),'ZqGrV':_0x4a3fcc(0x122),'LVVXR':_0x4a3fcc(0x1cd),'OLEUv':_0x4a3fcc(0x135),'ETamf':_0x4a3fcc(0x1ae),'qIAwO':function(_0x5259a7,_0x43e338){return _0x5259a7!==_0x43e338;},'rEIWE':_0x4a3fcc(0x139),'wPRFh':'jest-runner-','zvEMT':_0x4a3fcc(0x133),'mKCMn':_0x4a3fcc(0x12b),'fzxag':_0x4a3fcc(0x116),'xSgwN':_0x4a3fcc(0x1eb),'UuWtB':'jest-circus/build/runner.js','GBtBt':function(_0x2ca597,_0x4cb5f6){return _0x2ca597(_0x4cb5f6);},'bxBXm':_0x4a3fcc(0x12d),'shTVk':_0x4a3fcc(0x164),'GCVce':_0x4a3fcc(0x173),'tNpji':_0x4a3fcc(0x1da),'estyZ':'skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','oglDn':_0x4a3fcc(0x10a),'wRpFN':_0x4a3fcc(0x176),'korBN':_0x4a3fcc(0x19d),'qkOyG':_0x4a3fcc(0x1a5),'AfYfK':function(_0x52d564,_0x3a9eec){return _0x52d564&&_0x3a9eec;},'iWjlc':_0x4a3fcc(0x103),'ColOP':_0x4a3fcc(0x1bc),'oXVMc':_0x4a3fcc(0x16f),'YOuJc':_0x4a3fcc(0x11f),'LUCeO':_0x4a3fcc(0xf0),'zOkrP':_0x4a3fcc(0xf6),'ZGDnY':_0x4a3fcc(0x1c3),'zOGxR':function(_0x5be929,_0x4ad2e5){return _0x5be929>_0x4ad2e5;},'dqzyb':'Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','naqFn':_0x4a3fcc(0x1c1),'EjyOz':'npx','KzOqh':'win32','bJZoP':_0x4a3fcc(0x1b7),'KVQbG':'close'},_0x4af4cb=helper[_0x4a3fcc(0x153)](_0x5941e7[_0x4a3fcc(0x1de)]);global['__isPlaywrightInstalled']=!!_0x4af4cb;const _0x47a05a=_0x5941e7['yyOlU'](getPuppeteerVersion);global['__isPuppeteerInstalled']=!!_0x47a05a;helper[_0x4a3fcc(0x14a)]()?(await _0x31ac6d['initialize'](_0x47b2ca),await helper[_0x4a3fcc(0x105)](_0x31ac6d[_0x4a3fcc(0x151)])):await _0x31ac6d[_0x4a3fcc(0x1d3)]();if(_0x4af4cb)await _0x5941e7[_0x4a3fcc(0x1c9)](checkPwandBootstrapCli,_0x4af4cb,constants['FRAMEWORKS'][_0x4a3fcc(0x1ad)],_0x31ac6d);else _0x47a05a&&await _0x5941e7[_0x4a3fcc(0x18e)](checkPuppeteerAndBootstrapCli,_0x47a05a,constants[_0x4a3fcc(0x128)]['JEST'],_0x31ac6d);!BrowserstackCLI['getInstance']()['isRunning']()&&await _0x31ac6d[_0x4a3fcc(0x1e1)]();if(!_0x31ac6d['config'])return;_0x5941e7[_0x4a3fcc(0x142)](_0x31ac6d['config']['testObservability'],null)?process[_0x4a3fcc(0x1bb)][_0x4a3fcc(0xfd)]=_0x31ac6d[_0x4a3fcc(0x151)][_0x4a3fcc(0x11e)]:process[_0x4a3fcc(0x1bb)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x5941e7['TGUzT'];const _0x1119ec=new TestOrchestrationHandler(_0x31ac6d['config']),_0x519163=await _0x5941e7[_0x4a3fcc(0x106)](getUserJestConfigs,_0x47b2ca,_0x10fda5);logger[_0x4a3fcc(0x159)](_0x5941e7['RjbZU']);const _0x598e53=Object[_0x4a3fcc(0x18a)]({},_0x519163);_0x598e53['testEnvironmentOptions']=Object[_0x4a3fcc(0x18a)]({},_0x598e53[_0x4a3fcc(0x1cf)],{'server':helper[_0x4a3fcc(0x1b8)](_0x31ac6d['config']),'environment':_0x519163[_0x4a3fcc(0x171)]}),_0x598e53[_0x4a3fcc(0x1cf)][_0x4a3fcc(0x18b)]=_0x5941e7[_0x4a3fcc(0x1f5)](getPercyOptions,_0x31ac6d[_0x4a3fcc(0x151)]);const _0x4964b0=helper[_0x4a3fcc(0x191)](_0x31ac6d[_0x4a3fcc(0x151)]);!helper[_0x4a3fcc(0x144)](_0x31ac6d[_0x4a3fcc(0x151)]['accessibilityOptions'])&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x31ac6d[_0x4a3fcc(0x151)][_0x4a3fcc(0x11d)]));if(!BrowserstackCLI[_0x4a3fcc(0x107)]()[_0x4a3fcc(0x10f)]()){const _0x42bda6=await TestHubHandler[_0x4a3fcc(0x161)](FRAMEWORKS[_0x4a3fcc(0x1ad)],_0x31ac6d);}const _0x293164=helper[_0x4a3fcc(0x1f1)](_0x31ac6d['config'],_0x4964b0,constants[_0x4a3fcc(0x128)][_0x4a3fcc(0x1ad)]);process[_0x4a3fcc(0x1bb)][_0x4a3fcc(0x119)]=JSON['stringify'](_0x293164);let _0x56e7b0=_0x31ac6d[_0x4a3fcc(0x151)][_0x4a3fcc(0x110)];_0x56e7b0=_0x56e7b0||accessibilityHelper[_0x4a3fcc(0x100)](_0x31ac6d[_0x4a3fcc(0x151)]),process[_0x4a3fcc(0x1bb)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x56e7b0,logger[_0x4a3fcc(0x15c)]('[Jest\x20Command]\x20Accessibility\x20enabled:\x20'+_0x56e7b0+_0x4a3fcc(0x112)+BrowserstackCLI[_0x4a3fcc(0x107)]()[_0x4a3fcc(0x10f)]());if(_0x4af4cb)try{const _0x34b40d=_0x5941e7[_0x4a3fcc(0x1d9)](checkAccessibilityPlatformConfig,_0x31ac6d[_0x4a3fcc(0x151)]);process['env'][_0x4a3fcc(0x1aa)]=_0x34b40d?_0x5941e7[_0x4a3fcc(0x10b)]:_0x5941e7['OYkvz'],logger[_0x4a3fcc(0x15c)]('[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20'+_0x34b40d+_0x4a3fcc(0x17c)+process[_0x4a3fcc(0x1bb)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']);}catch(_0x45019e){logger[_0x4a3fcc(0x15c)](_0x4a3fcc(0x1a1)+util[_0x4a3fcc(0x121)](_0x45019e));}_0x598e53[_0x4a3fcc(0x1cf)][_0x4a3fcc(0x13a)]=_0x293164,_0x598e53['testEnvironmentOptions'][_0x4a3fcc(0x181)]=_0x5941e7['nMIsT'](getSerial,_0x293164,_0x47b2ca),_0x598e53[_0x4a3fcc(0x1cf)][_0x4a3fcc(0x120)]=_0x5941e7[_0x4a3fcc(0x1c9)](getMaxWorkers,_0x47b2ca,_0x31ac6d[_0x4a3fcc(0x151)],_0x519163),_0x598e53['testEnvironmentOptions'][_0x4a3fcc(0xf3)]=_0x31ac6d[_0x4a3fcc(0x151)][_0x4a3fcc(0xf3)],_0x598e53[_0x4a3fcc(0x1cf)][_0x4a3fcc(0x190)]=_0x5941e7[_0x4a3fcc(0x145)](_0x47b2ca[_0x4a3fcc(0x1f9)],0x1)||0x1388,_0x598e53['testEnvironmentOptions'][_0x4a3fcc(0x1e6)]=_0x31ac6d['config'][_0x4a3fcc(0x17d)][_0x4a3fcc(0x1e6)],_0x598e53[_0x4a3fcc(0x1cf)]['skipSessionStatus']=_0x31ac6d['config'][_0x4a3fcc(0x17d)][_0x4a3fcc(0x1ed)],_0x598e53[_0x4a3fcc(0x1cf)][_0x4a3fcc(0x134)]=_0x31ac6d[_0x4a3fcc(0x151)][_0x4a3fcc(0x160)],_0x598e53[_0x4a3fcc(0x1cf)][_0x4a3fcc(0x1a9)]=_0x31ac6d[_0x4a3fcc(0x151)]['turboScaleUrl'],_0x598e53[_0x4a3fcc(0x1cf)][_0x4a3fcc(0x11b)]=_0x31ac6d[_0x4a3fcc(0x151)][_0x4a3fcc(0x17f)];const _0x33a6ee=helper[_0x4a3fcc(0x17e)](_0x31ac6d[_0x4a3fcc(0x151)]);if(!helper[_0x4a3fcc(0x198)](_0x33a6ee)){helper[_0x4a3fcc(0xff)](_0x33a6ee['retryTestsOnFailure'])&&(_0x598e53[_0x4a3fcc(0x1cf)][_0x4a3fcc(0x1ee)]=_0x33a6ee[_0x4a3fcc(0xf7)][_0x4a3fcc(0x15a)]);if(helper['isNotUndefined'](_0x33a6ee[_0x4a3fcc(0x150)])&&helper['isNotUndefined'](_0x33a6ee[_0x4a3fcc(0x150)][_0x4a3fcc(0x16b)])){const _0x350ab0={};_0x350ab0[_0x4a3fcc(0x148)]=_0x33a6ee['abortBuildOnFailure'][_0x4a3fcc(0x19f)],_0x350ab0[_0x4a3fcc(0x16b)]=_0x33a6ee['abortBuildOnFailure']['workingDir'],_0x598e53[_0x4a3fcc(0x1cf)]['failFast']=_0x350ab0;}}let _0x532e4b='';_0x5941e7['uMXWx'](helper[_0x4a3fcc(0x1c0)](),constants[_0x4a3fcc(0x178)][_0x4a3fcc(0x16d)])?_0x532e4b=_0x5941e7[_0x4a3fcc(0x1f2)]:_0x532e4b=_0x5941e7['RGcEU'];const _0x5b25bf=_0x532e4b,_0x551801=path['join'](__dirname,_0x5941e7['TCayk'],_0x5941e7['ZqGrV']),_0x609ba7=path[_0x4a3fcc(0x196)](__dirname,_0x5941e7[_0x4a3fcc(0x163)],_0x5941e7[_0x4a3fcc(0x183)]),_0xc84e4a=path[_0x4a3fcc(0x196)](__dirname,_0x5941e7['TCayk'],_0x5941e7['OLEUv']);_0x598e53[_0x4a3fcc(0x171)]&&(process['env']['BSTACK_JEST_TEST_ENV']=_0x598e53[_0x4a3fcc(0x171)]);_0x598e53[_0x4a3fcc(0x171)]=path[_0x4a3fcc(0x196)](__dirname,_0x5941e7[_0x4a3fcc(0x163)],_0x5941e7['ETamf']);const _0x1db43a=_0x519163[_0x4a3fcc(0x1dc)];if(_0x1db43a&&_0x5941e7[_0x4a3fcc(0x1ce)](_0x1db43a,_0x5941e7[_0x4a3fcc(0x1cb)])){const _0x2ec70f=_0x1db43a['startsWith'](_0x5941e7[_0x4a3fcc(0x1b3)])?_0x1db43a:_0x4a3fcc(0x109)+_0x1db43a;process[_0x4a3fcc(0x1bb)][_0x4a3fcc(0x141)]=_0x2ec70f,logger['info'](_0x4a3fcc(0x19a)+_0x2ec70f);}_0x598e53['runner']=_0x609ba7,_0x598e53[_0x4a3fcc(0x1c6)]=_0x598e53[_0x4a3fcc(0x1c6)]||[],_0x598e53[_0x4a3fcc(0x1c6)][_0x4a3fcc(0x1f3)](path[_0x4a3fcc(0x196)](__dirname,_0x5941e7[_0x4a3fcc(0x1c5)]));_0x1119ec['isTestOrchestrationEnabled']()&&(_0x598e53[_0x4a3fcc(0x1b5)]=path['join'](__dirname,_0x5941e7['TCayk'],_0x5941e7[_0x4a3fcc(0x1a7)]));if(testhubUtils['shouldProcessEventForTesthub']()||BrowserstackCLI[_0x4a3fcc(0x107)]()[_0x4a3fcc(0xf1)]()){let _0x3c47cf=null;try{_0x3c47cf=helper['requireModule'](_0x5941e7[_0x4a3fcc(0x12c)],_0x5941e7['xSgwN']);}catch(_0x51b7de){try{_0x3c47cf=helper['requireModule'](_0x5941e7[_0x4a3fcc(0x1f0)],_0x5941e7[_0x4a3fcc(0x12a)]);}catch(_0x11a98f){_0x5941e7[_0x4a3fcc(0x1e2)](debug,'Unable\x20to\x20find\x20jest-circus,\x20'+_0x11a98f);}}_0x3c47cf&&(testhubUtils[_0x4a3fcc(0x152)]()&&_0x598e53['setupFilesAfterEnv'][_0x4a3fcc(0x1f3)](path[_0x4a3fcc(0x196)](__dirname,_0x5941e7[_0x4a3fcc(0x1ca)],_0x5941e7['shTVk'])),_0x598e53['testRunner']=path['join'](__dirname,_0x5941e7[_0x4a3fcc(0x163)],_0x5941e7[_0x4a3fcc(0x1e8)]));}_0x598e53[_0x4a3fcc(0x132)]=_0x598e53[_0x4a3fcc(0x132)]||[];try{helper[_0x4a3fcc(0x1d6)](),_0x598e53[_0x4a3fcc(0x132)][_0x4a3fcc(0x1f3)](path[_0x4a3fcc(0x196)](__dirname,_0x5941e7[_0x4a3fcc(0x1c8)]));}catch{logger[_0x4a3fcc(0x15c)](_0x5941e7['estyZ']);}try{helper[_0x4a3fcc(0x143)][_0x4a3fcc(0x101)](null,[_0x5941e7[_0x4a3fcc(0x1de)],_0x5941e7[_0x4a3fcc(0x14f)]]),logger[_0x4a3fcc(0x15c)](_0x5941e7[_0x4a3fcc(0x199)]),_0x598e53[_0x4a3fcc(0x132)][_0x4a3fcc(0x1f3)](path[_0x4a3fcc(0x196)](__dirname,_0x5941e7['korBN']));}catch(_0x1f1bd3){logger[_0x4a3fcc(0x15c)](_0x5941e7[_0x4a3fcc(0x149)],_0x1f1bd3);}if(_0x5941e7[_0x4a3fcc(0x1ea)](!_0x4af4cb,_0x47a05a)){try{logger['debug'](_0x5941e7[_0x4a3fcc(0x1d1)]),_0x598e53[_0x4a3fcc(0x132)][_0x4a3fcc(0x1f3)](path[_0x4a3fcc(0x196)](__dirname,'..',_0x5941e7[_0x4a3fcc(0x1f6)],_0x5941e7[_0x4a3fcc(0x117)]));}catch(_0x49ceeb){logger[_0x4a3fcc(0x15c)](_0x4a3fcc(0x146)+_0x49ceeb[_0x4a3fcc(0xfc)]);}try{const _0x2ef7b3=require[_0x4a3fcc(0x1d8)](_0x5941e7[_0x4a3fcc(0x187)]),_0x5afa55=path['dirname'](_0x2ef7b3)[_0x4a3fcc(0x15f)](/\\/g,'/'),_0x542212={};_0x542212[_0x4a3fcc(0x158)]=_0x5afa55+_0x4a3fcc(0x18c),_0x598e53[_0x4a3fcc(0x167)]=Object[_0x4a3fcc(0x18a)]({},_0x598e53[_0x4a3fcc(0x167)]||{},_0x542212),logger[_0x4a3fcc(0x15c)](_0x4a3fcc(0x1b1)+_0x5afa55);}catch(_0x4d2d32){logger['debug'](_0x4a3fcc(0x13f)+_0x4d2d32[_0x4a3fcc(0xfc)]);}}_0x598e53[_0x4a3fcc(0x180)]=_0x598e53[_0x4a3fcc(0x180)]||[_0x5941e7[_0x4a3fcc(0x129)]],_0x5941e7[_0x4a3fcc(0x10c)](updateTestRerunConfig,_0x598e53,_0x31ac6d);const _0x334ac7=fs[_0x4a3fcc(0x115)](_0xc84e4a),_0x367f5d=helper['resolveModule'](_0x5941e7[_0x4a3fcc(0x195)],_0x5941e7[_0x4a3fcc(0xef)]);!_0x367f5d[_0x4a3fcc(0x184)]?fs['writeFileSync'](_0x598e53[_0x4a3fcc(0x1dc)],_0x4a3fcc(0x168)+_0x334ac7+_0x4a3fcc(0x14b)+_0x31ac6d['config'][_0x4a3fcc(0x17f)][_0x4a3fcc(0x1f7)]+_0x4a3fcc(0x1e9)):fs[_0x4a3fcc(0x14e)](_0x598e53[_0x4a3fcc(0x1dc)],_0x4a3fcc(0x168)+_0x334ac7+_0x4a3fcc(0x138)+_0x31ac6d['config'][_0x4a3fcc(0x17f)]['length']+_0x4a3fcc(0x186));logger['info'](_0x4a3fcc(0x130)+_0x5b25bf+'\x20with\x20browserstack\x20jest\x20configs'),fs[_0x4a3fcc(0x14e)](_0x5b25bf,'const\x20config='+JSON[_0x4a3fcc(0x1bf)](_0x598e53)+_0x4a3fcc(0x193));if(_0x1119ec['isTestOrchestrationEnabled']()){logger['debug'](_0x5941e7[_0x4a3fcc(0x174)]);const _0x115e88=await _0x1119ec[_0x4a3fcc(0xf8)](_0x598e53,_0x10fda5['slice'](0x1),_0x5b25bf);logger[_0x4a3fcc(0x15c)](_0x4a3fcc(0x1c7)+JSON[_0x4a3fcc(0x1bf)](_0x115e88)+'\x20test\x20files\x20to\x20run.');const _0x1443e2=await _0x1119ec[_0x4a3fcc(0x188)](_0x115e88);logger['debug'](_0x4a3fcc(0x1af)+JSON[_0x4a3fcc(0x1bf)](_0x1443e2)),_0x1443e2&&_0x5941e7[_0x4a3fcc(0x13c)](_0x1443e2[_0x4a3fcc(0x1f7)],0x0)&&(process['env'][_0x4a3fcc(0x14d)]=_0x1443e2?.[_0x4a3fcc(0x196)](','));}logger[_0x4a3fcc(0x159)](_0x5941e7[_0x4a3fcc(0x1b0)]);testhubUtils[_0x4a3fcc(0x152)]()&&TestDetails[_0x4a3fcc(0x1cc)]();helper['filterBrowserstackArgs']({},_0x10fda5),PerformanceTester['end'](PerformanceEvents[_0x4a3fcc(0x1b2)]);const _0x286a50=[_0x5941e7[_0x4a3fcc(0x1a3)],_0x5941e7['naqFn'],_0x5b25bf,..._0x10fda5['slice'](0x1)];process['env'][_0x4a3fcc(0x1f8)]=process[_0x4a3fcc(0x1bb)]['BROWSERSTACK_FRAMEWORK']||_0x5941e7[_0x4a3fcc(0x1a3)];const _0x3c72a9=_0x5941e7[_0x4a3fcc(0x18e)](spawn,_0x5941e7[_0x4a3fcc(0x18d)],_0x286a50,{'shell':_0x5941e7['uMXWx'](process[_0x4a3fcc(0xf2)],_0x5941e7[_0x4a3fcc(0x1c2)]),'stdio':_0x5941e7[_0x4a3fcc(0x17b)],'env':Object['assign']({},process[_0x4a3fcc(0x1bb)])});_0x3c72a9['on'](_0x5941e7[_0x4a3fcc(0x1dd)],async _0x1afb5a=>{const _0x4ef10e=_0x4a3fcc;PerformanceTester[_0x4ef10e(0x192)](PerformanceEvents[_0x4ef10e(0x127)]);try{const {browserstackFolderPath:_0x361b12,tcgConfigPath:_0x5a835f}=helper[_0x4ef10e(0x1d4)]();fs['unlinkSync'](_0x5a835f),fs[_0x4ef10e(0x1ec)](_0x361b12);}catch(_0x591397){logger[_0x4ef10e(0x15c)](_0x5941e7[_0x4ef10e(0x155)],_0x591397);}process[_0x4ef10e(0x136)]=_0x1afb5a,logger['debug'](_0x4ef10e(0x12e)+_0x1afb5a),logger[_0x4ef10e(0x159)](_0x4ef10e(0x179)+_0x5b25bf);if(helper[_0x4ef10e(0xff)](_0x33a6ee)&&helper['isNotUndefined'](_0x33a6ee[_0x4ef10e(0x150)])&&fs[_0x4ef10e(0x165)](_0x33a6ee['abortBuildOnFailure'][_0x4ef10e(0x16b)]))try{const _0x2c4721={};_0x2c4721['recursive']=!![],_0x2c4721[_0x4ef10e(0x1a4)]=!![],fs[_0x4ef10e(0x140)](_0x33a6ee['abortBuildOnFailure'][_0x4ef10e(0x16b)],_0x2c4721),logger[_0x4ef10e(0x15c)](_0x4ef10e(0x169)+_0x33a6ee[_0x4ef10e(0x150)][_0x4ef10e(0x16b)]);}catch(_0x418340){logger['error']('Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20'+_0x418340);}let _0x1eb111=null;if(fs[_0x4ef10e(0x165)](_0x551801)){_0x1eb111=fs[_0x4ef10e(0x115)](_0x551801);try{_0x1eb111=JSON[_0x4ef10e(0xfb)](_0x1eb111);}catch(_0x470f15){logger[_0x4ef10e(0x15c)](_0x4ef10e(0xfa)+_0x551801+',\x20'+_0x1eb111+_0x4ef10e(0x1e7)+_0x470f15);}fs[_0x4ef10e(0x15d)](_0x551801);}fs['unlinkSync'](_0x5b25bf),fs[_0x4ef10e(0x15d)](_0x609ba7),_0x1eb111&&(_0x31ac6d[_0x4ef10e(0x14c)]=helper[_0x4ef10e(0x1e0)](_0x1eb111,_0x5941e7['esQfK'],_0x31ac6d));const _0x1e7237=BrowserstackCLI[_0x4ef10e(0x15b)]();try{await TestHubHandler[_0x4ef10e(0x1d7)](),await BrowserstackCLI[_0x4ef10e(0x107)]()[_0x4ef10e(0x1d7)]();}catch(_0x23a810){console['log'](_0x23a810),_0x5941e7[_0x4ef10e(0x126)](debug,_0x4ef10e(0x166)+util[_0x4ef10e(0x121)](_0x23a810));}testOpsHelper[_0x4ef10e(0x12f)](),TestDetails['shutdown'](),await utilities[_0x4ef10e(0x15e)](_0x31ac6d,_0x1e7237);});}function a18_0x1acf(_0x5d97c3,_0x2ebadd){const _0x2026ba=a18_0x2026();return a18_0x1acf=function(_0x1acf9c,_0x5dbc98){_0x1acf9c=_0x1acf9c-0xef;let _0x3a5ea0=_0x2026ba[_0x1acf9c];return _0x3a5ea0;},a18_0x1acf(_0x5d97c3,_0x2ebadd);}module[a18_0x1f264d(0x194)]=run;
|
|
2
|
+
'use strict';const a18_0x34b7b4=a18_0x662a;function a18_0x662a(_0x14bbe6,_0x27b333){const _0x3268a7=a18_0x3268();return a18_0x662a=function(_0x662aab,_0x33573c){_0x662aab=_0x662aab-0x1ce;let _0x5266f0=_0x3268a7[_0x662aab];return _0x5266f0;},a18_0x662a(_0x14bbe6,_0x27b333);}(function(_0x35652f,_0x2aa858){const _0x22bc74=a18_0x662a,_0x5dbd9d=_0x35652f();while(!![]){try{const _0x1ffeeb=parseInt(_0x22bc74(0x2c5))/0x1+-parseInt(_0x22bc74(0x214))/0x2*(parseInt(_0x22bc74(0x227))/0x3)+parseInt(_0x22bc74(0x2a5))/0x4*(-parseInt(_0x22bc74(0x1d8))/0x5)+-parseInt(_0x22bc74(0x1de))/0x6+-parseInt(_0x22bc74(0x25f))/0x7*(-parseInt(_0x22bc74(0x2c1))/0x8)+parseInt(_0x22bc74(0x259))/0x9+parseInt(_0x22bc74(0x2cb))/0xa;if(_0x1ffeeb===_0x2aa858)break;else _0x5dbd9d['push'](_0x5dbd9d['shift']());}catch(_0x12770b){_0x5dbd9d['push'](_0x5dbd9d['shift']());}}}(a18_0x3268,0xa44d9));function a18_0x3268(){const _0x574ee8=['workingDir','maxRetries','ZmppA','vpzLQ','test.setup.js','child_process','requirePWModule','assign','BROWSERSTACK_TEST_OBSERVABILITY_YML','Preserving\x20user\x27s\x20Jest\x20runner:\x20','QPOnX','rySmg','platforms','isCLIEnabled','close','format','zASZz','end','parseTestOrchestrationOptions','child\x20process\x20exited\x20with\x20code\x20','IAnQq','RpmBi','PACKAGE_TYPE','XxBsT','testEnvironmentOptions','parallels__','LBBcG','failFast','customSequencer.js','gxiDc','../../helpers/testhub/testhubHandler','bXxiF','error','ZiAYo','requireSeleniumWebdriver','gReCX','jest','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','2116pgMBBz','jest-circus/build/runner.js','winstonLogger','inherit','jest_browserstack.config.js','slice','false','../../helpers/performance/constants','rmdirSync','getTCGConfigFilePaths','exitCode','default','ccfsQ','parse','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','initialize','writeFileSync','URVaJ','existsSync','2406hJXKOK','../../helpers/test-observability/utils','testObservability','RNiTV','isTOr','prepareCapabilities','@jest/core/build/ReporterDispatcher.js','@jest/core','jest_browserstack.config.cjs','getPackageVersion','cwd','BROWSERSTACK_CAPABILITIES',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','capabilities','package.json','OdrcG','moduleNameMapper','readFileSync','HYeYr','failureThresholdCount','neSdP','splice','browserStackLogLevel','fkiUw','findIndex','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','\x0amodule.exports\x20=\x20config;','Puppeteer\x20setup\x20error:\x20','HHOaa','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','\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','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','Unable\x20to\x20find\x20jest-circus,\x20','Getting\x20your\x20jest\x20configs\x20from\x20package.json','ARdJG','message','../../helpers/performance/performance-tester','FRAMEWORKS','--config','const\x20config=','startsWith','skipSessionName','/internal/$1','json','EVENTS','stop','abortBuildOnFailure','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','join','jest-circus','7119720citFvY','setup','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','testSequencer','error\x20removing\x20tcg\x20config\x20file','push','731213AeLVjQ','../../helpers/helper','runInBand','isTestOrchestrationEnabled','jest-runner-','bHnGq','\x20:\x20','bDFWg','RTSEt','isUndefined','JEST_TEST_ORDER','playwright','launchBuild','JEST','BSTACK_USER_JEST_RUNNER','skipSessionStatus','filterBrowserstackArgs','hSpnf','BSTACK_JEST_TEST_ENV','FmxxZ','MQwvI','[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20','accessibility','config','USER_CONFIG_DETAILS_PATH','log','nbidj','retries__','platformCaps','BROWSERSTACK_TEST_ACCESSIBILITY_YML','MODULE','printBuildLink','jest_browserstack_results.json','../../helpers/test-orchestration/testOrchestrationHandler','isCliEnabled','logLevel','QLpwy','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','AJzYQ','debug','codWg','CQPeJ','__isPlaywrightInstalled','GIjoM','resolve','^puppeteer-core/internal/(.*)','Found:\x20','puppeteer','requireModule','readInitialOptions','setupFiles','isNotUndefined','GMCcG','customCircus.js','\x20with\x20browserstack\x20jest\x20configs','maxWorkers','runner','shouldProcessEventForTesthub','jest.setup.js','testContextOptions','util','Getting\x20your\x20jest\x20configs\x20from\x20','getPackageType','data-hooks.js','ExEbu','findTestFiles','info','../../helpers/accessibility-automation/helper','vObVb','shutdown','19928QINLTT','maxFailures','../../helpers/utilities','jPoXp','puppeteer-core/package.json','ZEDJl','szZRg','rubAQ','SluQv','Error\x20while\x20parsing\x20','\x0a\x20\x20\x20\x20\x20\x20','exports','true','mxtJx','replace','length','XLegZ','NbmKA','test-observability','stringify','reporters','vmXOz','isBrowserstackInfra','UQzxH','resolveModule','proxySettings','\x20test\x20files\x20to\x20run.','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','64NRrEGB','\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','env','BsOpn','66471YqPoSP','browserStackPercyOptions','cjs','parallelsPerPlatform','customImplements','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','12381610riksnf','setupFilesAfterEnv','npx','retryTestsOnFailure','path','IkJIy','extuZ','getHubUrl','__isPuppeteerInstalled','../../helpers/playwright-helper','Deleted\x20fail-fast\x20state\x20folder:\x20','testEnvironment','1065GAPNfH','apply','checkAccessibilityPlatformConfig','../../helpers/test-observability/constants','../../helpers/logger','KgLaq','2092302qwTdgt','testRunner','EaDbq','vDAGg','Deleting\x20','getInstance','PBYsT','handleApp','jest-runner','AZiDY','isRunning','unlinkSync','platform','turboScaleUrl','reorderTestFiles','finalExecution'];a18_0x3268=function(){return _0x574ee8;};return a18_0x3268();}const fs=require('fs'),path=require(a18_0x34b7b4(0x1d0)),util=require(a18_0x34b7b4(0x29b)),{spawn}=require(a18_0x34b7b4(0x1f3)),logger=require(a18_0x34b7b4(0x1dc))[a18_0x34b7b4(0x216)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a18_0x34b7b4(0x260)),utilities=require(a18_0x34b7b4(0x2a7)),constants=require('../utils/constants'),accessibilityHelper=require(a18_0x34b7b4(0x2a2)),{updateTestRerunConfig}=require('./test-observability/helper'),testOpsHelper=require(a18_0x34b7b4(0x228)),{debug}=require(a18_0x34b7b4(0x228)),TestDetails=require('./test-observability/test-details'),{getPercyOptions}=require('../../helpers/percy/utils'),TestHubHandler=require(a18_0x34b7b4(0x20c)),testhubUtils=require('../../helpers/testhub/utils'),{FRAMEWORKS}=require(a18_0x34b7b4(0x1db)),PerformanceTester=require(a18_0x34b7b4(0x24b)),PerformanceEvents=require(a18_0x34b7b4(0x21b))[a18_0x34b7b4(0x253)],TestOrchestrationHandler=require(a18_0x34b7b4(0x280)),BrowserstackCLI=require('../v2/browserstackCLI'),{checkPwandBootstrapCli}=require(a18_0x34b7b4(0x1d5)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require('../../helpers/puppeteer-helper'),ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),{checkAccessibilityPlatformConfig}=require(a18_0x34b7b4(0x2a2)),getUserJestConfigs=async(_0x2b27d1,_0x1fa684)=>{const _0x146d1f=a18_0x34b7b4,_0x59cf72={'JfPva':'jest-config/build/readConfigFileAndSetRootDir.js','bXxiF':'jest-config','isTOr':function(_0x1c9966,_0x558a39){return _0x1c9966||_0x558a39;},'oAfQa':function(_0x552b44,_0x1fc500){return _0x552b44(_0x1fc500);},'GIjoM':_0x146d1f(0x235),'KikmP':_0x146d1f(0x248),'LXjSp':'mjs','vpzLQ':_0x146d1f(0x2c7),'uKAcD':_0x146d1f(0x252)};let _0x259461;try{_0x259461=helper[_0x146d1f(0x28f)](_0x59cf72['JfPva'],_0x59cf72[_0x146d1f(0x20d)]);}catch{const _0x1f5039=helper[_0x146d1f(0x28f)](_0x59cf72[_0x146d1f(0x20d)]);_0x259461={'default':async _0x44cc60=>{const _0x73232a=_0x146d1f,_0x1345c7=await _0x1f5039[_0x73232a(0x290)](_0x44cc60,{});return _0x1345c7[_0x73232a(0x276)];}};}const _0x1bfadb=_0x1fa684[_0x146d1f(0x23f)](_0x14dded=>_0x14dded==='--config');if(!helper['isUndefined'](_0x2b27d1[_0x146d1f(0x276)])){logger[_0x146d1f(0x2a1)](_0x146d1f(0x29c)+_0x2b27d1['config']),process[_0x146d1f(0x2c3)]['USER_CONFIG_DETAILS_PATH']=_0x2b27d1['config'];const _0xa3bab4=await(0x0,_0x259461[_0x146d1f(0x21f)])(path[_0x146d1f(0x28b)](_0x2b27d1[_0x146d1f(0x276)]));return _0x1fa684[_0x146d1f(0x23c)](_0x1bfadb,0x2),_0x59cf72[_0x146d1f(0x22b)](_0xa3bab4,{});}const _0xea7868=_0x59cf72['oAfQa'](require,path[_0x146d1f(0x257)](process[_0x146d1f(0x231)](),_0x59cf72[_0x146d1f(0x28a)]));if(_0xea7868[_0x146d1f(0x212)])return logger[_0x146d1f(0x2a1)](_0x59cf72['KikmP']),_0xea7868['jest'];const _0x21709f=['js',_0x59cf72['LXjSp'],_0x59cf72[_0x146d1f(0x1f1)],_0x59cf72['uKAcD'],'ts'];for(const _0xf1d317 of _0x21709f){const _0x50e92d=path[_0x146d1f(0x257)](process[_0x146d1f(0x231)](),'jest.config.'+_0xf1d317);if(fs[_0x146d1f(0x226)](_0x50e92d)){process[_0x146d1f(0x2c3)][_0x146d1f(0x277)]=_0x50e92d;const _0x5a8d49=await(0x0,_0x259461[_0x146d1f(0x21f)])(_0x50e92d);return _0x5a8d49;}}return{};},getSerial=(_0x4705f0,_0xabce77)=>{const _0x34c98f=a18_0x34b7b4,_0x11ff84={};_0x11ff84[_0x34c98f(0x293)]=_0x34c98f(0x2b1),_0x11ff84[_0x34c98f(0x20b)]=function(_0x65b39d,_0x2c1f8b){return _0x65b39d>_0x2c1f8b;},_0x11ff84['qPqQT']=_0x34c98f(0x21a);const _0x1bffce=_0x11ff84;let _0x239efe=_0x1bffce[_0x34c98f(0x293)];return _0x1bffce[_0x34c98f(0x20b)](_0x4705f0[_0x34c98f(0x2b4)],0x1)&&(!_0xabce77[_0x34c98f(0x261)]&&(helper[_0x34c98f(0x268)](_0xabce77[_0x34c98f(0x296)])||_0x1bffce['gxiDc'](_0xabce77['maxWorkers'],0x1)))&&(_0x239efe=_0x1bffce['qPqQT']),_0x239efe;},getMaxWorkers=(_0x16e163,_0x188085,_0x3eeb30)=>{const _0x43b64c=a18_0x34b7b4,_0x110541={'KgLaq':function(_0x10404a,_0x2fd4c4){return _0x10404a(_0x2fd4c4);}};let _0x49643e=0x1;if(!helper[_0x43b64c(0x268)](_0x188085[_0x43b64c(0x2c8)]))_0x49643e=_0x110541[_0x43b64c(0x1dd)](parseInt,_0x188085[_0x43b64c(0x2c8)]);else{if(!helper[_0x43b64c(0x268)](_0x16e163[_0x43b64c(0x296)]))_0x49643e=_0x16e163['maxWorkers'];else!helper['isUndefined'](_0x3eeb30['maxWorkers'])&&(_0x49643e=_0x3eeb30[_0x43b64c(0x296)]);}return _0x49643e;};async function run(_0x34fc44,_0x51bc0c,_0x6ca981){const _0x24f790=a18_0x34b7b4,_0x30af85={'UQzxH':_0x24f790(0x25d),'EaDbq':_0x24f790(0x212),'QLpwy':function(_0x25de29,_0x5d9a8f){return _0x25de29(_0x5d9a8f);},'NbmKA':'@playwright/test','HYeYr':function(_0x2af67f){return _0x2af67f();},'SluQv':function(_0x1fb28f,_0x51abd6,_0x3eae38,_0x32e5b8){return _0x1fb28f(_0x51abd6,_0x3eae38,_0x32e5b8);},'vObVb':function(_0x256d64,_0x59cc03,_0x3ebbae,_0xca39cc){return _0x256d64(_0x59cc03,_0x3ebbae,_0xca39cc);},'vmXOz':function(_0x517f41,_0x5d62a5){return _0x517f41!=_0x5d62a5;},'AZiDY':_0x24f790(0x2b1),'vDAGg':function(_0x41ba90,_0x2cd02d,_0x56ea0d){return _0x41ba90(_0x2cd02d,_0x56ea0d);},'PBYsT':_0x24f790(0x240),'QPOnX':function(_0x591958,_0x2f0495){return _0x591958(_0x2f0495);},'ZiAYo':function(_0x4a8728,_0x486ddf){return _0x4a8728(_0x486ddf);},'HHOaa':'false','szZRg':function(_0x2d4ee3,_0x126b6d,_0x39c626){return _0x2d4ee3(_0x126b6d,_0x39c626);},'bHnGq':function(_0x3656ae,_0x34cce3,_0x40a027,_0x2bceea){return _0x3656ae(_0x34cce3,_0x40a027,_0x2bceea);},'BsOpn':function(_0x4c2f43,_0x1cd2aa){return _0x4c2f43*_0x1cd2aa;},'hSpnf':function(_0x3354bd,_0xf9736f){return _0x3354bd===_0xf9736f;},'rubAQ':_0x24f790(0x22f),'rySmg':_0x24f790(0x218),'LBBcG':_0x24f790(0x2c9),'Hndmf':_0x24f790(0x27f),'jPoXp':'customTestRunner.js','ExEbu':'customTestRunnerTemplate.js','DTGXG':'customEnvironment.js','Gmkrl':function(_0x3d4b11,_0x61b7f1){return _0x3d4b11!==_0x61b7f1;},'LatVx':_0x24f790(0x1e6),'neSdP':_0x24f790(0x263),'IAnQq':_0x24f790(0x299),'SzKAz':_0x24f790(0x20a),'mxtJx':'jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','CQPeJ':_0x24f790(0x258),'RpmBi':_0x24f790(0x215),'codWg':_0x24f790(0x2b7),'XLegZ':_0x24f790(0x29e),'ZmppA':_0x24f790(0x294),'BYuRY':'test_before.setup.js','MQwvI':_0x24f790(0x222),'AJzYQ':_0x24f790(0x26a),'qnASR':'Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','nEQCI':_0x24f790(0x1f2),'fkiUw':'Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','OdrcG':function(_0x32f9d5,_0x46904d){return _0x32f9d5&&_0x46904d;},'IkJIy':_0x24f790(0x256),'extuZ':_0x24f790(0x28e),'nbidj':_0x24f790(0x2a9),'RNiTV':'default','ARdJG':function(_0x4a0d96,_0x2cf9f0,_0x2b9e11){return _0x4a0d96(_0x2cf9f0,_0x2b9e11);},'ZdqbS':_0x24f790(0x22d),'FmxxZ':_0x24f790(0x22e),'ccfsQ':_0x24f790(0x244),'URVaJ':function(_0x4f33de,_0x31d986){return _0x4f33de>_0x31d986;},'RTSEt':'Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','ZEDJl':_0x24f790(0x24d),'gReCX':_0x24f790(0x1ce),'XxBsT':'win32','bDFWg':_0x24f790(0x217),'zASZz':_0x24f790(0x1fc)},_0x3963ca=helper[_0x24f790(0x230)](_0x30af85['NbmKA']);global[_0x24f790(0x289)]=!!_0x3963ca;const _0x2a71e4=_0x30af85[_0x24f790(0x239)](getPuppeteerVersion);global[_0x24f790(0x1d4)]=!!_0x2a71e4;helper[_0x24f790(0x2bb)]()?(await _0x6ca981[_0x24f790(0x223)](_0x34fc44),await helper[_0x24f790(0x1e5)](_0x6ca981['config'])):await _0x6ca981['setupTCGAuth']();if(_0x3963ca)await _0x30af85[_0x24f790(0x2ad)](checkPwandBootstrapCli,_0x3963ca,constants[_0x24f790(0x24c)][_0x24f790(0x26c)],_0x6ca981);else _0x2a71e4&&await _0x30af85[_0x24f790(0x2a3)](checkPuppeteerAndBootstrapCli,_0x2a71e4,constants[_0x24f790(0x24c)]['JEST'],_0x6ca981);!BrowserstackCLI['getInstance']()[_0x24f790(0x1e8)]()&&await _0x6ca981['setupBrowserstackLocal']();if(!_0x6ca981[_0x24f790(0x276)])return;_0x30af85[_0x24f790(0x2ba)](_0x6ca981[_0x24f790(0x276)][_0x24f790(0x229)],null)?process['env'][_0x24f790(0x1f6)]=_0x6ca981[_0x24f790(0x276)][_0x24f790(0x229)]:process[_0x24f790(0x2c3)][_0x24f790(0x1f6)]=_0x30af85['AZiDY'];const _0x435009=new TestOrchestrationHandler(_0x6ca981[_0x24f790(0x276)]),_0x151e98=await _0x30af85[_0x24f790(0x1e1)](getUserJestConfigs,_0x34fc44,_0x51bc0c);logger['info'](_0x30af85[_0x24f790(0x1e4)]);const _0x2364ef=Object[_0x24f790(0x1f5)]({},_0x151e98);_0x2364ef[_0x24f790(0x206)]=Object['assign']({},_0x2364ef[_0x24f790(0x206)],{'server':helper[_0x24f790(0x1d3)](_0x6ca981[_0x24f790(0x276)]),'environment':_0x151e98['testEnvironment']}),_0x2364ef[_0x24f790(0x206)][_0x24f790(0x2c6)]=_0x30af85[_0x24f790(0x1f8)](getPercyOptions,_0x6ca981[_0x24f790(0x276)]);const _0x14248b=helper['useW3C'](_0x6ca981[_0x24f790(0x276)]);!helper[_0x24f790(0x268)](_0x6ca981[_0x24f790(0x276)]['accessibilityOptions'])&&(process[_0x24f790(0x2c3)][_0x24f790(0x2c0)]=JSON[_0x24f790(0x2b8)](_0x6ca981[_0x24f790(0x276)]['accessibilityOptions']));if(!BrowserstackCLI[_0x24f790(0x1e3)]()['isRunning']()){const _0x3b9e6b=await TestHubHandler[_0x24f790(0x26b)](FRAMEWORKS[_0x24f790(0x26c)],_0x6ca981);}const _0x2d3abf=helper[_0x24f790(0x22c)](_0x6ca981[_0x24f790(0x276)],_0x14248b,constants[_0x24f790(0x24c)][_0x24f790(0x26c)]);process[_0x24f790(0x2c3)][_0x24f790(0x232)]=JSON['stringify'](_0x2d3abf);let _0x412f1d=_0x6ca981['config'][_0x24f790(0x275)];_0x412f1d=_0x412f1d||accessibilityHelper[_0x24f790(0x1da)](_0x6ca981['config']),process['env'][_0x24f790(0x27c)]=_0x412f1d,logger[_0x24f790(0x286)](_0x24f790(0x25b)+_0x412f1d+',\x20CLI\x20running:\x20'+BrowserstackCLI[_0x24f790(0x1e3)]()[_0x24f790(0x1e8)]());if(_0x3963ca)try{const _0x43a38a=_0x30af85[_0x24f790(0x20f)](checkAccessibilityPlatformConfig,_0x6ca981[_0x24f790(0x276)]);process[_0x24f790(0x2c3)][_0x24f790(0x2ca)]=_0x43a38a?_0x30af85[_0x24f790(0x1e7)]:_0x30af85[_0x24f790(0x243)],logger[_0x24f790(0x286)](_0x24f790(0x213)+_0x43a38a+_0x24f790(0x233)+process[_0x24f790(0x2c3)][_0x24f790(0x2ca)]);}catch(_0xcd387c){logger['debug'](_0x24f790(0x246)+util[_0x24f790(0x1fd)](_0xcd387c));}_0x2364ef[_0x24f790(0x206)][_0x24f790(0x234)]=_0x2d3abf,_0x2364ef[_0x24f790(0x206)]['serial__']=_0x30af85[_0x24f790(0x2ab)](getSerial,_0x2d3abf,_0x34fc44),_0x2364ef[_0x24f790(0x206)][_0x24f790(0x207)]=_0x30af85[_0x24f790(0x264)](getMaxWorkers,_0x34fc44,_0x6ca981[_0x24f790(0x276)],_0x151e98),_0x2364ef['testEnvironmentOptions'][_0x24f790(0x2be)]=_0x6ca981['config']['proxySettings'],_0x2364ef[_0x24f790(0x206)]['timeout__']=_0x30af85[_0x24f790(0x2c4)](_0x34fc44['testTimeout'],0x1)||0x1388,_0x2364ef[_0x24f790(0x206)][_0x24f790(0x250)]=_0x6ca981[_0x24f790(0x276)][_0x24f790(0x29a)]['skipSessionName'],_0x2364ef['testEnvironmentOptions'][_0x24f790(0x26e)]=_0x6ca981[_0x24f790(0x276)][_0x24f790(0x29a)][_0x24f790(0x26e)],_0x2364ef[_0x24f790(0x206)][_0x24f790(0x23d)]=_0x6ca981['config'][_0x24f790(0x282)],_0x2364ef['testEnvironmentOptions'][_0x24f790(0x1eb)]=_0x6ca981[_0x24f790(0x276)][_0x24f790(0x1eb)],_0x2364ef['testEnvironmentOptions'][_0x24f790(0x27b)]=_0x6ca981[_0x24f790(0x276)][_0x24f790(0x1fa)];const _0x1764ec=helper[_0x24f790(0x200)](_0x6ca981['config']);if(!helper['isEmpty'](_0x1764ec)){helper[_0x24f790(0x292)](_0x1764ec[_0x24f790(0x1cf)])&&(_0x2364ef[_0x24f790(0x206)][_0x24f790(0x27a)]=_0x1764ec[_0x24f790(0x1cf)][_0x24f790(0x1ef)]);if(helper[_0x24f790(0x292)](_0x1764ec[_0x24f790(0x255)])&&helper[_0x24f790(0x292)](_0x1764ec[_0x24f790(0x255)][_0x24f790(0x1ee)])){const _0x579cf1={};_0x579cf1[_0x24f790(0x23a)]=_0x1764ec['abortBuildOnFailure'][_0x24f790(0x2a6)],_0x579cf1[_0x24f790(0x1ee)]=_0x1764ec[_0x24f790(0x255)]['workingDir'],_0x2364ef[_0x24f790(0x206)][_0x24f790(0x209)]=_0x579cf1;}}let _0x270a7e='';_0x30af85[_0x24f790(0x270)](helper[_0x24f790(0x29d)](),constants[_0x24f790(0x204)][_0x24f790(0x27d)])?_0x270a7e=_0x30af85[_0x24f790(0x2ac)]:_0x270a7e=_0x30af85[_0x24f790(0x1f9)];const _0x34d77b=_0x270a7e,_0x319f9a=path[_0x24f790(0x257)](__dirname,_0x30af85[_0x24f790(0x208)],_0x30af85['Hndmf']),_0x1a9696=path[_0x24f790(0x257)](__dirname,_0x30af85[_0x24f790(0x208)],_0x30af85[_0x24f790(0x2a8)]),_0x1e2381=path[_0x24f790(0x257)](__dirname,_0x30af85['LBBcG'],_0x30af85[_0x24f790(0x29f)]);_0x2364ef[_0x24f790(0x1d7)]&&(process['env'][_0x24f790(0x271)]=_0x2364ef[_0x24f790(0x1d7)]);_0x2364ef['testEnvironment']=path[_0x24f790(0x257)](__dirname,_0x30af85[_0x24f790(0x208)],_0x30af85['DTGXG']);const _0x1dbf3d=_0x151e98[_0x24f790(0x297)];if(_0x1dbf3d&&_0x30af85['Gmkrl'](_0x1dbf3d,_0x30af85['LatVx'])){const _0x121288=_0x1dbf3d[_0x24f790(0x24f)](_0x30af85[_0x24f790(0x23b)])?_0x1dbf3d:_0x24f790(0x263)+_0x1dbf3d;process[_0x24f790(0x2c3)][_0x24f790(0x26d)]=_0x121288,logger[_0x24f790(0x2a1)](_0x24f790(0x1f7)+_0x121288);}_0x2364ef[_0x24f790(0x297)]=_0x1a9696,_0x2364ef[_0x24f790(0x2cc)]=_0x2364ef['setupFilesAfterEnv']||[],_0x2364ef[_0x24f790(0x2cc)]['push'](path[_0x24f790(0x257)](__dirname,_0x30af85[_0x24f790(0x202)]));_0x435009[_0x24f790(0x262)]()&&(_0x2364ef[_0x24f790(0x25c)]=path[_0x24f790(0x257)](__dirname,_0x30af85[_0x24f790(0x208)],_0x30af85['SzKAz']));if(testhubUtils['shouldProcessEventForTesthub']()||BrowserstackCLI[_0x24f790(0x1e3)]()[_0x24f790(0x281)]()){let _0x1668ad=null;try{_0x1668ad=helper[_0x24f790(0x28f)](_0x30af85[_0x24f790(0x2b2)],_0x30af85[_0x24f790(0x288)]);}catch(_0x31e20e){try{_0x1668ad=helper[_0x24f790(0x28f)](_0x30af85[_0x24f790(0x203)],_0x30af85['CQPeJ']);}catch(_0x2eaf70){_0x30af85['ZiAYo'](debug,_0x24f790(0x247)+_0x2eaf70);}}_0x1668ad&&(testhubUtils[_0x24f790(0x298)]()&&_0x2364ef[_0x24f790(0x2cc)][_0x24f790(0x25e)](path['join'](__dirname,_0x30af85[_0x24f790(0x287)],_0x30af85[_0x24f790(0x2b5)])),_0x2364ef[_0x24f790(0x1df)]=path[_0x24f790(0x257)](__dirname,_0x30af85[_0x24f790(0x208)],_0x30af85[_0x24f790(0x1f0)]));}_0x2364ef[_0x24f790(0x291)]=_0x2364ef[_0x24f790(0x291)]||[];try{helper[_0x24f790(0x210)](),_0x2364ef[_0x24f790(0x291)][_0x24f790(0x25e)](path[_0x24f790(0x257)](__dirname,_0x30af85['BYuRY']));}catch{logger[_0x24f790(0x286)](_0x30af85[_0x24f790(0x273)]);}try{helper[_0x24f790(0x1f4)][_0x24f790(0x1d9)](null,[_0x30af85[_0x24f790(0x2b6)],_0x30af85[_0x24f790(0x285)]]),logger[_0x24f790(0x286)](_0x30af85['qnASR']),_0x2364ef['setupFiles']['push'](path[_0x24f790(0x257)](__dirname,_0x30af85['nEQCI']));}catch(_0x2df5cc){logger[_0x24f790(0x286)](_0x30af85[_0x24f790(0x23e)],_0x2df5cc);}if(_0x30af85[_0x24f790(0x236)](!_0x3963ca,_0x2a71e4)){try{logger[_0x24f790(0x286)](_0x30af85[_0x24f790(0x1d1)]),_0x2364ef[_0x24f790(0x291)][_0x24f790(0x25e)](path['join'](__dirname,'..',_0x30af85[_0x24f790(0x1d2)],_0x30af85['nEQCI']));}catch(_0x38734b){logger[_0x24f790(0x286)](_0x24f790(0x242)+_0x38734b[_0x24f790(0x24a)]);}try{const _0x92371b=require['resolve'](_0x30af85[_0x24f790(0x279)]),_0x39b4e0=path['dirname'](_0x92371b)[_0x24f790(0x2b3)](/\\/g,'/'),_0x50bd52={};_0x50bd52[_0x24f790(0x28c)]=_0x39b4e0+_0x24f790(0x251),_0x2364ef[_0x24f790(0x237)]=Object[_0x24f790(0x1f5)]({},_0x2364ef[_0x24f790(0x237)]||{},_0x50bd52),logger['debug'](_0x24f790(0x284)+_0x39b4e0);}catch(_0x3f1d8a){logger[_0x24f790(0x286)](_0x24f790(0x274)+_0x3f1d8a[_0x24f790(0x24a)]);}}_0x2364ef[_0x24f790(0x2b9)]=_0x2364ef[_0x24f790(0x2b9)]||[_0x30af85[_0x24f790(0x22a)]],_0x30af85[_0x24f790(0x249)](updateTestRerunConfig,_0x2364ef,_0x6ca981);const _0x2290fb=fs[_0x24f790(0x238)](_0x1e2381),_0x50d5f5=helper[_0x24f790(0x2bd)](_0x30af85['ZdqbS'],_0x30af85[_0x24f790(0x272)]);!_0x50d5f5[_0x24f790(0x20e)]?fs['writeFileSync'](_0x2364ef['runner'],_0x24f790(0x2af)+_0x2290fb+_0x24f790(0x2c2)+_0x6ca981['config'][_0x24f790(0x1fa)][_0x24f790(0x2b4)]+';\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[_0x24f790(0x224)](_0x2364ef[_0x24f790(0x297)],'\x0a\x20\x20\x20\x20\x20\x20'+_0x2290fb+_0x24f790(0x245)+_0x6ca981['config'][_0x24f790(0x1fa)]['length']+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20})();\x0a\x20\x20\x20\x20');logger['info']('Creating\x20'+_0x34d77b+_0x24f790(0x295)),fs['writeFileSync'](_0x34d77b,_0x24f790(0x24e)+JSON[_0x24f790(0x2b8)](_0x2364ef)+_0x24f790(0x241));if(_0x435009[_0x24f790(0x262)]()){logger[_0x24f790(0x286)](_0x30af85[_0x24f790(0x220)]);const _0x496b06=await _0x435009[_0x24f790(0x2a0)](_0x2364ef,_0x51bc0c[_0x24f790(0x219)](0x1),_0x34d77b);logger[_0x24f790(0x286)](_0x24f790(0x28d)+JSON[_0x24f790(0x2b8)](_0x496b06)+_0x24f790(0x2bf));const _0x27a8d7=await _0x435009[_0x24f790(0x1ec)](_0x496b06);logger[_0x24f790(0x286)]('Reodered\x20Test\x20Files:\x20'+JSON[_0x24f790(0x2b8)](_0x27a8d7)),_0x27a8d7&&_0x30af85[_0x24f790(0x225)](_0x27a8d7[_0x24f790(0x2b4)],0x0)&&(process[_0x24f790(0x2c3)][_0x24f790(0x269)]=_0x27a8d7?.[_0x24f790(0x257)](','));}logger[_0x24f790(0x2a1)](_0x30af85[_0x24f790(0x267)]);testhubUtils[_0x24f790(0x298)]()&&TestDetails[_0x24f790(0x25a)]();helper[_0x24f790(0x26f)]({},_0x51bc0c),PerformanceTester[_0x24f790(0x1ff)](PerformanceEvents['SDK_SETUP']);const _0x2ef6c1=[_0x30af85[_0x24f790(0x1e0)],_0x30af85[_0x24f790(0x2aa)],_0x34d77b,..._0x51bc0c['slice'](0x1)];process[_0x24f790(0x2c3)]['BROWSERSTACK_FRAMEWORK']=process[_0x24f790(0x2c3)]['BROWSERSTACK_FRAMEWORK']||_0x30af85[_0x24f790(0x1e0)];const _0x5e759d=_0x30af85[_0x24f790(0x2ad)](spawn,_0x30af85[_0x24f790(0x211)],_0x2ef6c1,{'shell':_0x30af85[_0x24f790(0x270)](process[_0x24f790(0x1ea)],_0x30af85[_0x24f790(0x205)]),'stdio':_0x30af85[_0x24f790(0x266)],'env':Object[_0x24f790(0x1f5)]({},process[_0x24f790(0x2c3)])});_0x5e759d['on'](_0x30af85[_0x24f790(0x1fe)],async _0x5e3f84=>{const _0x5785e2=_0x24f790;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']);try{const {browserstackFolderPath:_0x23f8c8,tcgConfigPath:_0x4d3ba0}=helper[_0x5785e2(0x21d)]();fs[_0x5785e2(0x1e9)](_0x4d3ba0),fs[_0x5785e2(0x21c)](_0x23f8c8);}catch(_0x6698b3){logger[_0x5785e2(0x286)](_0x30af85[_0x5785e2(0x2bc)],_0x6698b3);}process[_0x5785e2(0x21e)]=_0x5e3f84,logger['debug'](_0x5785e2(0x201)+_0x5e3f84),logger[_0x5785e2(0x2a1)](_0x5785e2(0x1e2)+_0x34d77b);if(helper['isNotUndefined'](_0x1764ec)&&helper['isNotUndefined'](_0x1764ec[_0x5785e2(0x255)])&&fs[_0x5785e2(0x226)](_0x1764ec[_0x5785e2(0x255)][_0x5785e2(0x1ee)]))try{const _0xce2186={};_0xce2186['recursive']=!![],_0xce2186['force']=!![],fs['rmSync'](_0x1764ec['abortBuildOnFailure']['workingDir'],_0xce2186),logger[_0x5785e2(0x286)](_0x5785e2(0x1d6)+_0x1764ec[_0x5785e2(0x255)][_0x5785e2(0x1ee)]);}catch(_0x1c42f7){logger['error']('Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20'+_0x1c42f7);}let _0x43cd04=null;if(fs['existsSync'](_0x319f9a)){_0x43cd04=fs[_0x5785e2(0x238)](_0x319f9a);try{_0x43cd04=JSON[_0x5785e2(0x221)](_0x43cd04);}catch(_0x3849d9){logger[_0x5785e2(0x286)](_0x5785e2(0x2ae)+_0x319f9a+',\x20'+_0x43cd04+_0x5785e2(0x265)+_0x3849d9);}fs['unlinkSync'](_0x319f9a);}fs[_0x5785e2(0x1e9)](_0x34d77b),fs[_0x5785e2(0x1e9)](_0x1a9696),_0x43cd04&&(_0x6ca981['errorMessage']=helper['getErrorMessageFromResults'](_0x43cd04,_0x30af85['EaDbq'],_0x6ca981));const _0x4940f1=BrowserstackCLI[_0x5785e2(0x1fb)]();try{await TestHubHandler[_0x5785e2(0x254)](),await BrowserstackCLI[_0x5785e2(0x1e3)]()[_0x5785e2(0x254)]();}catch(_0x220543){console[_0x5785e2(0x278)](_0x220543),_0x30af85[_0x5785e2(0x283)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util[_0x5785e2(0x1fd)](_0x220543));}testOpsHelper[_0x5785e2(0x27e)](),TestDetails[_0x5785e2(0x2a4)](),await utilities[_0x5785e2(0x1ed)](_0x6ca981,_0x4940f1);});}module[a18_0x34b7b4(0x2b0)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a19_0x5e87(){const _0x25b9ea=['JBkGp','path','32pCOVmH','27063QVZMzW','9193226SzBcOF','initRequireModule','exports','join','3399490ZLlZvP','default','2ihTNCR','83637KYecUN','jest-circus','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','customJestAdapterInit.js','qZjeH','jestAdapterInit','730021RgywIN','27966880FEFatS','function','requireInternalModule','10529274ofbdYP','4536gNPXSO'];a19_0x5e87=function(){return _0x25b9ea;};return a19_0x5e87();}const a19_0x42793c=a19_0x3bdf;(function(_0x5da563,_0x4cb228){const _0x10ebc9=a19_0x3bdf,_0x2db4b0=_0x5da563();while(!![]){try{const _0x3b171a=parseInt(_0x10ebc9(0xd3))/0x1*(parseInt(_0x10ebc9(0xcc))/0x2)+parseInt(_0x10ebc9(0xcd))/0x3*(parseInt(_0x10ebc9(0xc4))/0x4)+parseInt(_0x10ebc9(0xca))/0x5+parseInt(_0x10ebc9(0xc0))/0x6+-parseInt(_0x10ebc9(0xc6))/0x7+parseInt(_0x10ebc9(0xc1))/0x8*(parseInt(_0x10ebc9(0xc5))/0x9)+-parseInt(_0x10ebc9(0xd4))/0xa;if(_0x3b171a===_0x4cb228)break;else _0x2db4b0['push'](_0x2db4b0['shift']());}catch(_0x16e55b){_0x2db4b0['push'](_0x2db4b0['shift']());}}}(a19_0x5e87,0xeff09));function a19_0x3bdf(_0x2f5276,_0x4b2be0){const _0x5e8784=a19_0x5e87();return a19_0x3bdf=function(_0x3bdf44,_0x56d5fa){_0x3bdf44=_0x3bdf44-0xbe;let _0x503223=_0x5e8784[_0x3bdf44];return _0x503223;},a19_0x3bdf(_0x2f5276,_0x4b2be0);}const path=require(a19_0x42793c(0xc3)),{requireModule}=require('../../../helpers/helper');let initJestAdapter;try{initJestAdapter=requireModule(a19_0x42793c(0xcf),a19_0x42793c(0xce));}catch{initJestAdapter=requireModule('jest-circus/build/runner.js',a19_0x42793c(0xce));}initJestAdapter=typeof initJestAdapter===a19_0x42793c(0xbe)?initJestAdapter:initJestAdapter[a19_0x42793c(0xcb)];const FRAMEWORK_INITIALIZER=path[a19_0x42793c(0xc9)](__dirname,a19_0x42793c(0xd0));module[a19_0x42793c(0xc8)]=(..._0x5d187d)=>{const _0x2b179d=a19_0x42793c,_0x249a36={'SzWhH':_0x2b179d(0xd2),'qZjeH':function(_0xcef6a3,_0x5b4fa0){return _0xcef6a3===_0x5b4fa0;},'JBkGp':function(_0x4be31e,..._0x42a8c1){return _0x4be31e(..._0x42a8c1);}};return _0x5d187d[0x3]['initRequireModule']=_0x5d187d[0x3][_0x2b179d(0xbf)],_0x5d187d[0x3][_0x2b179d(0xbf)]=(..._0x467874)=>{const _0x28843f=_0x2b179d;if(_0x467874[0x0]&&_0x467874[0x0]['includes'](_0x249a36['SzWhH'])&&_0x249a36[_0x28843f(0xd1)](_0x467874[0x1],undefined))return _0x5d187d[0x3]['initRequireModule'](FRAMEWORK_INITIALIZER);return _0x5d187d[0x3][_0x28843f(0xc7)](..._0x467874);},_0x249a36[_0x2b179d(0xc2)](initJestAdapter,..._0x5d187d);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a20_0x4e14(){const _0x3e7a34=['failFastOptions','BSTACK_DELTA','framework','skip','teardown','buildName','requireSeleniumWebdriver','KSiTJ','bstack:options','NOKQa','__webdriver','BSTACK_JEST_TEST_ENV','capabilities','sfksW','default','../../../helpers/test-orchestration/failfastManager','test','global','handleTestEvent','retries__','../../utils/constants','exports','../../../index','browserstackPlatformIndex','10XGLUGK','2277136hnzYWM','node','percyCaptureMode','iifwn','../../../helpers/helper','join','testEnvironmentOptions','timeout__','platformCaps','test_done','debug','\x20>\x20','skipSessionName','9ZrPEVA','testContext','nestedKeyValue','resolveTestEnvironment','TZots','2164657knPJrE','configuration','cleanup','setup','__skipSessionStatus','browserstackAgentV2','../../../helpers/test-observability/requestQueueHandler','browserstackPercyBestPlatform','message','__jestRetries','948JvctpE','neOib','name','DKhqI','Error\x20in\x20fail-fast\x20test_done\x20handler:','shutdown','Builder','744620lmgEup','skipSessionStatus','failFast','POucs','1082648WvxGGH','BShns','projectConfig','onTestDone','ksaYa','isBrowserstackInfra','quit','2lNMESy','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','getTestEnvironment','2325327ukGAaG','testPath','jest-resolve','shouldFailFast','NlGdx','requireModule','IuGCx','__drivers','jest-config','UQhTN','../../../helpers/logger','sJjTS','isArray','433627cZcCql','jest-environment-node','__timeout','QTdIF','ZlGrx','shouldProcessEventForTesthub','33866MKyCDT','capability','uzvoq','nfQnF','../../../helpers/test-observability/utils','LqVhA','browserStackPercyOptions','cleanupDrivers','jestConfig','cwd','PaqqA','sessionNameProvided','qoGHi','percy','failFastActive','NTmSK','../../../helpers/testhub/utils'];a20_0x4e14=function(){return _0x3e7a34;};return a20_0x4e14();}const a20_0x14b4df=a20_0x4b98;(function(_0x4a2f7d,_0x4faf11){const _0x383233=a20_0x4b98,_0x16a950=_0x4a2f7d();while(!![]){try{const _0x5eb94f=-parseInt(_0x383233(0x114))/0x1*(-parseInt(_0x383233(0x104))/0x2)+-parseInt(_0x383233(0x107))/0x3+-parseInt(_0x383233(0xfd))/0x4*(parseInt(_0x383233(0x143))/0x5)+parseInt(_0x383233(0xf2))/0x6*(parseInt(_0x383233(0x11a))/0x7)+parseInt(_0x383233(0x144))/0x8+-parseInt(_0x383233(0x151))/0x9*(-parseInt(_0x383233(0xf9))/0xa)+parseInt(_0x383233(0x156))/0xb;if(_0x5eb94f===_0x4faf11)break;else _0x16a950['push'](_0x16a950['shift']());}catch(_0x5ccab4){_0x16a950['push'](_0x16a950['shift']());}}}(a20_0x4e14,0x6acf1));const helper=require(a20_0x14b4df(0x148)),constants=require(a20_0x14b4df(0x13f)),{isTestObservabilitySession}=require(a20_0x14b4df(0x11e)),RequestQueueHandler=require(a20_0x14b4df(0xee)),ObservabilityReporter=require('../test-observability/obsReporter'),testhubUtils=require(a20_0x14b4df(0x12a)),logger=require(a20_0x14b4df(0x111))['winstonLogger'],getTestEnvironment=((()=>{const _0x43f87c=a20_0x14b4df,_0x1debdd={};_0x1debdd[_0x43f87c(0x101)]=_0x43f87c(0x109),_0x1debdd['NTmSK']=_0x43f87c(0x10f);const _0x229986=_0x1debdd;try{const _0x413d62=helper[_0x43f87c(0x10c)](_0x229986[_0x43f87c(0x101)]);if(_0x413d62[_0x43f87c(0x154)])return _0x413d62[_0x43f87c(0x154)];const _0x141353=helper[_0x43f87c(0x10c)](_0x229986[_0x43f87c(0x129)]);if(_0x141353[_0x43f87c(0x106)])return _0x141353[_0x43f87c(0x106)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x14accc=a20_0x14b4df,_0x394d60={'iifwn':function(_0x525af9,_0x3f364c){return _0x525af9(_0x3f364c);},'UQhTN':_0x14accc(0x145),'BzulL':_0x14accc(0x115)},_0x4e8a93=_0x394d60['iifwn'](getTestEnvironment,{'rootDir':process[_0x14accc(0x123)](),'testEnvironment':process['env'][_0x14accc(0x136)]||_0x394d60[_0x14accc(0x110)]});if(!_0x4e8a93)return _0x394d60[_0x14accc(0x147)](_interopRequireDefault,helper[_0x14accc(0x10c)](_0x394d60['BzulL']));return _0x394d60[_0x14accc(0x147)](_interopRequireDefault,helper[_0x14accc(0x10c)](_0x4e8a93));})()),_seleniumWebdriver2=((()=>{const _0xcbe6c=a20_0x14b4df,_0x730c56={'fiSmU':function(_0x1963b5,_0x544d67){return _0x1963b5(_0x544d67);}};try{const _0x42474d=helper[_0xcbe6c(0x131)]();return helper['modifyCommand'](),_0x730c56['fiSmU'](_interopRequireDefault,_0x42474d);}catch{return null;}})());function a20_0x4b98(_0x2f432a,_0x34f660){const _0x4e1438=a20_0x4e14();return a20_0x4b98=function(_0x4b985e,_0x1166d8){_0x4b985e=_0x4b985e-0xed;let _0x3b6598=_0x4e1438[_0x4b985e];return _0x3b6598;},a20_0x4b98(_0x2f432a,_0x34f660);}function _interopRequireDefault(_0x25f85e){return _0x25f85e&&_0x25f85e['__esModule']?_0x25f85e:{'default':_0x25f85e};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2['default'][a20_0x14b4df(0xf8)]:null;class CustomEnvironment extends _jestUserEnvironment[a20_0x14b4df(0x139)]{constructor(_0x1c49df){const _0xbac6c3=a20_0x14b4df,_0x3b070c={'jaxLX':_0xbac6c3(0x103),'POucs':function(_0x4b4a94,_0x45d01f){return _0x4b4a94+_0x45d01f;},'nfQnF':_0xbac6c3(0x133),'LqVhA':function(_0x250c12,_0x2785ec){return _0x250c12(_0x2785ec);},'TZots':_0xbac6c3(0x13a),'QTdIF':'2|5|6|7|4|3|0|1','KSiTJ':_0xbac6c3(0x14a),'sfksW':_0xbac6c3(0x120),'ZlGrx':_0xbac6c3(0x146),'qoGHi':function(_0xda6bcc,_0x5e6a47){return _0xda6bcc(_0x5e6a47);},'fNBgE':_0xbac6c3(0x141),'qgWUa':_0xbac6c3(0xef),'DKhqI':_0xbac6c3(0x127)};super(_0x1c49df),this[_0xbac6c3(0x13c)]['__timeout']=0x0,this[_0xbac6c3(0x157)]={};!_0x1c49df[_0xbac6c3(0x14a)]&&(_0x1c49df['testEnvironmentOptions']={});if(helper[_0xbac6c3(0x102)]()){_0x1c49df[_0xbac6c3(0x14a)]=_0x1c49df['projectConfig']?_0x1c49df[_0xbac6c3(0xff)][_0xbac6c3(0x14a)]:_0x1c49df[_0xbac6c3(0x14a)];_seleniumWebdriver2&&(this['builder']=new _seleniumWebdriver2[(_0xbac6c3(0x139))][(_0xbac6c3(0xf8))]());this['capability']=_0x1c49df[_0xbac6c3(0xff)]?_0x1c49df[_0xbac6c3(0xff)][_0xbac6c3(0x11b)]:_0x1c49df[_0xbac6c3(0x11b)],this[_0xbac6c3(0x13c)][_0xbac6c3(0x116)]=_0x3b070c[_0xbac6c3(0xfc)](_0x1c49df['testEnvironmentOptions'][_0xbac6c3(0x14b)]||0x1388,constants[_0xbac6c3(0x12c)]),this[_0xbac6c3(0x12b)]=_0x1c49df[_0xbac6c3(0x14a)][_0xbac6c3(0xfb)];if(this[_0xbac6c3(0x12b)]){const _0x2a926c=this[_0xbac6c3(0x11b)][_0x3b070c[_0xbac6c3(0x11d)]]?.[_0xbac6c3(0x130)]||'',_0x139dc2=this['capability'][_0x3b070c[_0xbac6c3(0x11d)]]?.['projectName']||'';this[_0xbac6c3(0xfb)]=new(_0x3b070c[_0xbac6c3(0x11f)](require,_0x3b070c[_0xbac6c3(0x155)]))(this[_0xbac6c3(0x12b)],_0x2a926c,_0x139dc2),this[_0xbac6c3(0x13c)][_0xbac6c3(0x128)]=![];}helper['isNotUndefined'](_0x1c49df[_0xbac6c3(0x14a)][_0xbac6c3(0x13e)])&&(this[_0xbac6c3(0x13c)][_0xbac6c3(0xf1)]=_0x1c49df[_0xbac6c3(0x14a)]['retries__']);}if(testhubUtils[_0xbac6c3(0x119)]()){const _0x20c4d1=new ObservabilityReporter();_0x20c4d1['registerListeners']();}this['global']['browserStackGlobals']={},this['configuration']=_0x1c49df[_0xbac6c3(0x14a)],this[_0xbac6c3(0x157)][_0xbac6c3(0x12d)]=constants['FRAMEWORKS']['JEST'],this[_0xbac6c3(0x13c)][_0xbac6c3(0x142)]=(_0x1c49df[_0xbac6c3(0xff)]?_0x1c49df[_0xbac6c3(0xff)]['browserstackPlatformIndex']:_0x1c49df[_0xbac6c3(0x142)])||0x0,this[_0xbac6c3(0x13c)]['__platformCaps']=this[_0xbac6c3(0x157)]&&this[_0xbac6c3(0x157)][_0xbac6c3(0x14c)]&&Array[_0xbac6c3(0x113)](this[_0xbac6c3(0x157)][_0xbac6c3(0x14c)])&&this['configuration'][_0xbac6c3(0x14c)][this[_0xbac6c3(0x13c)]['browserstackPlatformIndex']]||{};const _0x1efcba=this[_0xbac6c3(0x13c)]['browserstackPlatformIndex'],_0x2768c6={...this['configuration'],'capability':this[_0xbac6c3(0x157)][_0xbac6c3(0x137)]&&Array['isArray'](this[_0xbac6c3(0x157)][_0xbac6c3(0x137)])&&this[_0xbac6c3(0x157)][_0xbac6c3(0x137)][_0x1efcba]||{},'platformCaps':this['configuration'][_0xbac6c3(0x14c)]&&Array[_0xbac6c3(0x113)](this[_0xbac6c3(0x157)][_0xbac6c3(0x14c)])&&this[_0xbac6c3(0x157)][_0xbac6c3(0x14c)][_0x1efcba]||{}};delete _0x2768c6[_0xbac6c3(0x137)],this[_0xbac6c3(0x13c)][_0xbac6c3(0x122)]=_0x2768c6;if(_seleniumWebdriver2){const _0x4d1cb7=_0x3b070c[_0xbac6c3(0x117)]['split']('|');let _0x52f87a=0x0;while(!![]){switch(_0x4d1cb7[_0x52f87a++]){case'0':this[_0xbac6c3(0x13c)][_0xbac6c3(0x15a)]=helper['isTrue'](this[_0xbac6c3(0x157)][_0xbac6c3(0xfa)]);continue;case'1':this[_0xbac6c3(0x13c)][_0xbac6c3(0x158)]=async()=>{const _0x56a26e=_0xbac6c3;await this['global']['driver'][_0x56a26e(0x103)](_0x3b070c['jaxLX']);};continue;case'2':this[_0xbac6c3(0x13c)][_0xbac6c3(0x10e)]=[];continue;case'3':helper['isTrue'](this[_0xbac6c3(0x157)][_0xbac6c3(0x150)])?this[_0xbac6c3(0x13c)][_0xbac6c3(0x125)]=!![]:this['global'][_0xbac6c3(0x125)]=![];continue;case'4':this[_0xbac6c3(0x13c)][_0xbac6c3(0x146)]=helper['nestedKeyValue'](_0x1c49df,[_0x3b070c[_0xbac6c3(0x132)],_0x3b070c[_0xbac6c3(0x138)],_0x3b070c[_0xbac6c3(0x118)]]);continue;case'5':this[_0xbac6c3(0x13c)][_0xbac6c3(0x135)]=_0x3b070c[_0xbac6c3(0x126)](require,_0x3b070c['fNBgE'])[_0xbac6c3(0xed)]({...this[_0xbac6c3(0x157)],'capability':this[_0xbac6c3(0x11b)]||{}},this,testhubUtils[_0xbac6c3(0x119)]());continue;case'6':this[_0xbac6c3(0x13c)][_0xbac6c3(0xef)]=helper[_0xbac6c3(0x153)](_0x1c49df,[_0x3b070c[_0xbac6c3(0x132)],_0x3b070c[_0xbac6c3(0x138)],_0x3b070c['qgWUa']]);continue;case'7':this[_0xbac6c3(0x13c)]['percy']=helper[_0xbac6c3(0x153)](_0x1c49df,[_0x3b070c[_0xbac6c3(0x132)],_0x3b070c[_0xbac6c3(0x138)],_0x3b070c[_0xbac6c3(0xf5)]]);continue;}break;}}}async[a20_0x14b4df(0x12f)](){const _0x67fcb6=a20_0x14b4df;_seleniumWebdriver2&&(await helper[_0x67fcb6(0x121)](this['global']['__driversArray']),this['global'][_0x67fcb6(0x135)][_0x67fcb6(0xf8)]=originalBuilder),await RequestQueueHandler['getInstance']()[_0x67fcb6(0xf7)]();}async[a20_0x14b4df(0x159)](){}async[a20_0x14b4df(0x13d)](_0x471d43,_0x30fa22){const _0x36c5e2=a20_0x14b4df,_0x5a81df={};_0x5a81df[_0x36c5e2(0x10d)]=function(_0x593646,_0x593a23){return _0x593646===_0x593a23;},_0x5a81df[_0x36c5e2(0xf3)]='test_start',_0x5a81df[_0x36c5e2(0xfe)]=_0x36c5e2(0x12e),_0x5a81df[_0x36c5e2(0x11c)]=function(_0x285c13,_0x336a02){return _0x285c13===_0x336a02;},_0x5a81df[_0x36c5e2(0x134)]=_0x36c5e2(0x14d),_0x5a81df[_0x36c5e2(0x112)]=_0x36c5e2(0x14f),_0x5a81df[_0x36c5e2(0x10b)]=_0x36c5e2(0xf6),_0x5a81df[_0x36c5e2(0x124)]='teardown';const _0x1329b8=_0x5a81df,{name:_0x1ff82b}=_0x471d43;if(_0x1329b8[_0x36c5e2(0x10d)](_0x1ff82b,_0x1329b8[_0x36c5e2(0xf3)])){this['global'][_0x36c5e2(0x152)]=_0x471d43['test'];if(_0x1329b8['IuGCx'](this[_0x36c5e2(0x13c)]['failFastActive'],!![])){const _0x5b2d10=_0x471d43[_0x36c5e2(0x13b)][_0x36c5e2(0xf4)];logger['info'](_0x36c5e2(0x105)+_0x5b2d10),_0x471d43[_0x36c5e2(0x13b)]['mode']=_0x1329b8[_0x36c5e2(0xfe)];}}if(this[_0x36c5e2(0xfb)]&&_0x1329b8[_0x36c5e2(0x11c)](_0x1ff82b,_0x1329b8['NOKQa']))try{const _0x241670=_0x471d43[_0x36c5e2(0x13b)][_0x36c5e2(0x108)][_0x36c5e2(0x149)](_0x1329b8[_0x36c5e2(0x112)]),_0x85c145=_0x471d43['test']['errors'];await this[_0x36c5e2(0xfb)][_0x36c5e2(0x100)](_0x241670,_0x85c145);const _0x1a4f1c=await this['failFast'][_0x36c5e2(0x10a)]();_0x1329b8[_0x36c5e2(0x11c)](this[_0x36c5e2(0x13c)]['failFastActive'],![])&&_0x1329b8[_0x36c5e2(0x11c)](_0x1a4f1c,!![])&&(this[_0x36c5e2(0x13c)]['failFastActive']=!![]);}catch(_0x4b682a){logger[_0x36c5e2(0x14e)](_0x1329b8[_0x36c5e2(0x10b)],_0x4b682a[_0x36c5e2(0xf0)]);}_0x1329b8['IuGCx'](_0x1ff82b,_0x1329b8[_0x36c5e2(0x124)])&&(this[_0x36c5e2(0xfb)]&&this[_0x36c5e2(0xfb)][_0x36c5e2(0x158)]());}}module[a20_0x14b4df(0x140)]=CustomEnvironment;
|
|
1
|
+
const a20_0x2512e6=a20_0x4f08;(function(_0x4727f7,_0x420420){const _0x1a43f7=a20_0x4f08,_0x940e47=_0x4727f7();while(!![]){try{const _0x2ea360=parseInt(_0x1a43f7(0x126))/0x1+-parseInt(_0x1a43f7(0x163))/0x2*(-parseInt(_0x1a43f7(0x13d))/0x3)+-parseInt(_0x1a43f7(0x141))/0x4*(parseInt(_0x1a43f7(0x10a))/0x5)+-parseInt(_0x1a43f7(0x11c))/0x6+parseInt(_0x1a43f7(0x12f))/0x7+parseInt(_0x1a43f7(0x120))/0x8+parseInt(_0x1a43f7(0x135))/0x9;if(_0x2ea360===_0x420420)break;else _0x940e47['push'](_0x940e47['shift']());}catch(_0x269507){_0x940e47['push'](_0x940e47['shift']());}}}(a20_0x1d80,0xbacb7));function a20_0x4f08(_0xbb2a35,_0x309a0e){const _0x1d8034=a20_0x1d80();return a20_0x4f08=function(_0x4f08c5,_0x573212){_0x4f08c5=_0x4f08c5-0x107;let _0x5696c8=_0x1d8034[_0x4f08c5];return _0x5696c8;},a20_0x4f08(_0xbb2a35,_0x309a0e);}const helper=require('../../../helpers/helper'),constants=require('../../utils/constants'),{isTestObservabilitySession}=require(a20_0x2512e6(0x174)),RequestQueueHandler=require(a20_0x2512e6(0x14c)),ObservabilityReporter=require(a20_0x2512e6(0x172)),testhubUtils=require(a20_0x2512e6(0x137)),logger=require(a20_0x2512e6(0x132))['winstonLogger'],getTestEnvironment=((()=>{const _0x1c02b9=a20_0x2512e6,_0x19691d={};_0x19691d[_0x1c02b9(0x119)]=_0x1c02b9(0x152),_0x19691d[_0x1c02b9(0x164)]='jest-config';const _0x377964=_0x19691d;try{const _0x4cbe8e=helper['requireModule'](_0x377964[_0x1c02b9(0x119)]);if(_0x4cbe8e[_0x1c02b9(0x130)])return _0x4cbe8e[_0x1c02b9(0x130)];const _0x3a624f=helper['requireModule'](_0x377964[_0x1c02b9(0x164)]);if(_0x3a624f[_0x1c02b9(0x111)])return _0x3a624f['getTestEnvironment'];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x19482e=a20_0x2512e6,_0x52f6c1={'bsAWc':function(_0xcc781,_0x5901d1){return _0xcc781(_0x5901d1);},'lEBZK':'node','QjqZf':'jest-environment-node'},_0x1f6c74=_0x52f6c1[_0x19482e(0x117)](getTestEnvironment,{'rootDir':process['cwd'](),'testEnvironment':process[_0x19482e(0x15a)][_0x19482e(0x12d)]||_0x52f6c1[_0x19482e(0x13c)]});if(!_0x1f6c74)return _0x52f6c1[_0x19482e(0x117)](_interopRequireDefault,helper[_0x19482e(0x153)](_0x52f6c1[_0x19482e(0x154)]));return _0x52f6c1[_0x19482e(0x117)](_interopRequireDefault,helper[_0x19482e(0x153)](_0x1f6c74));})()),_seleniumWebdriver2=((()=>{const _0xc821e7=a20_0x2512e6,_0x5677b4={'BhPiS':function(_0x2e3b80,_0x5ee487){return _0x2e3b80(_0x5ee487);}};try{const _0x580a18=helper['requireSeleniumWebdriver']();return helper['modifyCommand'](),_0x5677b4[_0xc821e7(0x123)](_interopRequireDefault,_0x580a18);}catch{return null;}})());function _interopRequireDefault(_0x5a4703){const _0x2fb9ca=a20_0x2512e6;return _0x5a4703&&_0x5a4703[_0x2fb9ca(0x136)]?_0x5a4703:{'default':_0x5a4703};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a20_0x2512e6(0x170)]['Builder']:null;class CustomEnvironment extends _jestUserEnvironment[a20_0x2512e6(0x170)]{constructor(_0x5ed946){const _0x52d2ed=a20_0x2512e6,_0x383c01={'IxmgJ':_0x52d2ed(0x122),'lKDpf':function(_0x17089b,_0x2c14c8){return _0x17089b+_0x2c14c8;},'SkUbI':_0x52d2ed(0x10c),'fgRGC':function(_0x457576,_0x546315){return _0x457576(_0x546315);},'RWJzZ':_0x52d2ed(0x10f),'FdjGP':'6|5|3|2|1|0|4|7','jPZdD':_0x52d2ed(0x108),'TAFVz':'browserStackPercyOptions','OJTFv':_0x52d2ed(0x118),'jwnZG':_0x52d2ed(0x116),'wLyUi':'browserstackPercyBestPlatform','llcgU':function(_0x1d8534,_0x68d399){return _0x1d8534(_0x68d399);},'emVNW':'../../../index'};super(_0x5ed946),this[_0x52d2ed(0x151)]['__timeout']=0x0,this[_0x52d2ed(0x171)]={};!_0x5ed946[_0x52d2ed(0x108)]&&(_0x5ed946[_0x52d2ed(0x108)]={});if(helper[_0x52d2ed(0x131)]()){_0x5ed946['testEnvironmentOptions']=_0x5ed946[_0x52d2ed(0x173)]?_0x5ed946['projectConfig']['testEnvironmentOptions']:_0x5ed946[_0x52d2ed(0x108)];_seleniumWebdriver2&&(this['builder']=new _seleniumWebdriver2['default'][(_0x52d2ed(0x178))]());this[_0x52d2ed(0x107)]=_0x5ed946[_0x52d2ed(0x173)]?_0x5ed946[_0x52d2ed(0x173)][_0x52d2ed(0x107)]:_0x5ed946[_0x52d2ed(0x107)],this[_0x52d2ed(0x151)][_0x52d2ed(0x10d)]=_0x383c01['lKDpf'](_0x5ed946[_0x52d2ed(0x108)][_0x52d2ed(0x168)]||0x1388,constants[_0x52d2ed(0x11d)]),this['failFastOptions']=_0x5ed946[_0x52d2ed(0x108)][_0x52d2ed(0x110)];if(this[_0x52d2ed(0x156)]){const _0x3725e8=this[_0x52d2ed(0x107)][_0x383c01[_0x52d2ed(0x150)]]?.[_0x52d2ed(0x14a)]||'',_0x557024=this['capability'][_0x383c01[_0x52d2ed(0x150)]]?.[_0x52d2ed(0x128)]||'';this[_0x52d2ed(0x110)]=new(_0x383c01[_0x52d2ed(0x167)](require,_0x383c01[_0x52d2ed(0x145)]))(this[_0x52d2ed(0x156)],_0x3725e8,_0x557024),this[_0x52d2ed(0x151)][_0x52d2ed(0x16e)]=![];}helper[_0x52d2ed(0x134)](_0x5ed946[_0x52d2ed(0x108)]['retries__'])&&(this['global'][_0x52d2ed(0x138)]=_0x5ed946['testEnvironmentOptions'][_0x52d2ed(0x16b)]);}if(testhubUtils[_0x52d2ed(0x129)]()){const _0x471570=new ObservabilityReporter();_0x471570[_0x52d2ed(0x14f)]();}this[_0x52d2ed(0x151)][_0x52d2ed(0x10b)]={},this['configuration']=_0x5ed946['testEnvironmentOptions'],this['configuration'][_0x52d2ed(0x12c)]=constants[_0x52d2ed(0x11f)][_0x52d2ed(0x147)],this['global']['browserstackPlatformIndex']=(_0x5ed946[_0x52d2ed(0x173)]?_0x5ed946[_0x52d2ed(0x173)][_0x52d2ed(0x12b)]:_0x5ed946[_0x52d2ed(0x12b)])||0x0,this['global'][_0x52d2ed(0x12a)]=this[_0x52d2ed(0x171)]&&this['configuration'][_0x52d2ed(0x11e)]&&Array[_0x52d2ed(0x112)](this[_0x52d2ed(0x171)][_0x52d2ed(0x11e)])&&this[_0x52d2ed(0x171)][_0x52d2ed(0x11e)][this['global']['browserstackPlatformIndex']]||{};const _0xd577fb=this[_0x52d2ed(0x151)][_0x52d2ed(0x12b)],_0x4c03a7={...this[_0x52d2ed(0x171)],'capability':this[_0x52d2ed(0x171)][_0x52d2ed(0x124)]&&Array['isArray'](this['configuration'][_0x52d2ed(0x124)])&&this['configuration'][_0x52d2ed(0x124)][_0xd577fb]||{},'platformCaps':this['configuration']['platformCaps']&&Array[_0x52d2ed(0x112)](this[_0x52d2ed(0x171)][_0x52d2ed(0x11e)])&&this[_0x52d2ed(0x171)]['platformCaps'][_0xd577fb]||{}};delete _0x4c03a7[_0x52d2ed(0x124)],this[_0x52d2ed(0x151)]['jestConfig']=_0x4c03a7;if(_seleniumWebdriver2){const _0x3f7c86=_0x383c01[_0x52d2ed(0x133)]['split']('|');let _0x53040d=0x0;while(!![]){switch(_0x3f7c86[_0x53040d++]){case'0':helper['isTrue'](this['configuration'][_0x52d2ed(0x160)])?this[_0x52d2ed(0x151)]['sessionNameProvided']=!![]:this[_0x52d2ed(0x151)][_0x52d2ed(0x16f)]=![];continue;case'1':this[_0x52d2ed(0x151)][_0x52d2ed(0x118)]=helper[_0x52d2ed(0x177)](_0x5ed946,[_0x383c01[_0x52d2ed(0x13b)],_0x383c01[_0x52d2ed(0x121)],_0x383c01[_0x52d2ed(0x14d)]]);continue;case'2':this[_0x52d2ed(0x151)]['percy']=helper['nestedKeyValue'](_0x5ed946,[_0x383c01[_0x52d2ed(0x13b)],_0x383c01[_0x52d2ed(0x121)],_0x383c01[_0x52d2ed(0x10e)]]);continue;case'3':this[_0x52d2ed(0x151)][_0x52d2ed(0x162)]=helper[_0x52d2ed(0x177)](_0x5ed946,[_0x383c01[_0x52d2ed(0x13b)],_0x383c01[_0x52d2ed(0x121)],_0x383c01[_0x52d2ed(0x14b)]]);continue;case'4':this[_0x52d2ed(0x151)][_0x52d2ed(0x142)]=helper['isTrue'](this[_0x52d2ed(0x171)][_0x52d2ed(0x144)]);continue;case'5':this['global']['__webdriver']=_0x383c01['llcgU'](require,_0x383c01[_0x52d2ed(0x155)])[_0x52d2ed(0x139)]({...this[_0x52d2ed(0x171)],'capability':this[_0x52d2ed(0x107)]||{}},this,testhubUtils[_0x52d2ed(0x129)]());continue;case'6':this[_0x52d2ed(0x151)][_0x52d2ed(0x12e)]=[];continue;case'7':this[_0x52d2ed(0x151)][_0x52d2ed(0x158)]=async()=>{const _0xdb9714=_0x52d2ed;await this[_0xdb9714(0x151)][_0xdb9714(0x166)][_0xdb9714(0x122)](_0x383c01[_0xdb9714(0x159)]);};continue;}break;}}}async['teardown'](){const _0x30d1d5=a20_0x2512e6;_seleniumWebdriver2&&(await helper[_0x30d1d5(0x16c)](this[_0x30d1d5(0x151)]['__driversArray']),this['global'][_0x30d1d5(0x176)][_0x30d1d5(0x178)]=originalBuilder),await RequestQueueHandler[_0x30d1d5(0x15c)]()[_0x30d1d5(0x125)]();}async[a20_0x2512e6(0x157)](){}async['handleTestEvent'](_0x238365,_0x90c251){const _0x28375a=a20_0x2512e6,_0x11a063={};_0x11a063['iUjBS']=function(_0x5052a2,_0x479a73){return _0x5052a2===_0x479a73;},_0x11a063[_0x28375a(0x127)]=_0x28375a(0x13f),_0x11a063[_0x28375a(0x146)]=_0x28375a(0x15e),_0x11a063['slzAU']='test_done',_0x11a063[_0x28375a(0x13a)]=_0x28375a(0x11b),_0x11a063[_0x28375a(0x114)]=function(_0x5a7d1b,_0x4585d9){return _0x5a7d1b===_0x4585d9;},_0x11a063['Bbqqk']='Error\x20in\x20fail-fast\x20test_done\x20handler:',_0x11a063[_0x28375a(0x175)]=function(_0x281177,_0x904144){return _0x281177===_0x904144;},_0x11a063[_0x28375a(0x140)]=_0x28375a(0x148);const _0x15f523=_0x11a063,{name:_0x47ec12}=_0x238365;if(_0x15f523[_0x28375a(0x165)](_0x47ec12,_0x15f523['jEOKE'])){this[_0x28375a(0x151)][_0x28375a(0x143)]=_0x238365['test'];if(_0x15f523[_0x28375a(0x165)](this[_0x28375a(0x151)][_0x28375a(0x16e)],!![])){const _0x1d134c=_0x238365[_0x28375a(0x15f)][_0x28375a(0x115)];logger[_0x28375a(0x11a)](_0x28375a(0x161)+_0x1d134c),_0x238365['test'][_0x28375a(0x13e)]=_0x15f523[_0x28375a(0x146)];}}if(this[_0x28375a(0x110)]&&_0x15f523[_0x28375a(0x165)](_0x47ec12,_0x15f523[_0x28375a(0x16d)]))try{const _0x17c8b4=_0x238365[_0x28375a(0x15f)][_0x28375a(0x15d)][_0x28375a(0x169)](_0x15f523[_0x28375a(0x13a)]),_0x17bf96=_0x238365[_0x28375a(0x15f)][_0x28375a(0x15b)];await this[_0x28375a(0x110)][_0x28375a(0x109)](_0x17c8b4,_0x17bf96);const _0x357de1=await this['failFast'][_0x28375a(0x149)]();_0x15f523[_0x28375a(0x165)](this[_0x28375a(0x151)][_0x28375a(0x16e)],![])&&_0x15f523[_0x28375a(0x114)](_0x357de1,!![])&&(this['global'][_0x28375a(0x16e)]=!![]);}catch(_0x3bb165){logger[_0x28375a(0x113)](_0x15f523['Bbqqk'],_0x3bb165[_0x28375a(0x14e)]);}_0x15f523[_0x28375a(0x175)](_0x47ec12,_0x15f523['IMpiF'])&&(this[_0x28375a(0x110)]&&this[_0x28375a(0x110)][_0x28375a(0x158)]());}}function a20_0x1d80(){const _0x427f98=['quit','BhPiS','capabilities','shutdown','177271fFQsiq','jEOKE','projectName','shouldProcessEventForTesthub','__platformCaps','browserstackPlatformIndex','framework','BSTACK_JEST_TEST_ENV','__drivers','2075997MfULTX','resolveTestEnvironment','isBrowserstackInfra','../../../helpers/logger','FdjGP','isNotUndefined','17410356mwWAuI','__esModule','../../../helpers/testhub/utils','__jestRetries','browserstackAgentV2','szHKO','jPZdD','lEBZK','9555kWkodS','mode','test_start','IMpiF','45708QpllmI','__skipSessionStatus','testContext','skipSessionStatus','RWJzZ','qcxpU','JEST','teardown','shouldFailFast','buildName','wLyUi','../../../helpers/test-observability/requestQueueHandler','OJTFv','message','registerListeners','SkUbI','global','jest-resolve','requireModule','QjqZf','emVNW','failFastOptions','setup','cleanup','IxmgJ','env','errors','getInstance','testPath','skip','test','skipSessionName','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','browserstackPercyBestPlatform','82hpzSxc','jiozR','iUjBS','driver','fgRGC','timeout__','join','exports','retries__','cleanupDrivers','slzAU','failFastActive','sessionNameProvided','default','configuration','../test-observability/obsReporter','projectConfig','../../../helpers/test-observability/utils','zPWOm','__webdriver','nestedKeyValue','Builder','capability','testEnvironmentOptions','onTestDone','265Zhrywm','browserStackGlobals','bstack:options','__timeout','jwnZG','../../../helpers/test-orchestration/failfastManager','failFast','getTestEnvironment','isArray','debug','QGCkY','name','percy','bsAWc','percyCaptureMode','AuUHT','info','\x20>\x20','7958004okyKGr','BSTACK_DELTA','platformCaps','FRAMEWORKS','1265320UYFrMQ','TAFVz'];a20_0x1d80=function(){return _0x427f98;};return a20_0x1d80();}module[a20_0x2512e6(0x16a)]=CustomEnvironment;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a21_0x3bf823=a21_0x228c;(function(_0x538a8c,_0x1c3222){const _0x3f9a7f=a21_0x228c,_0x4f1b7e=_0x538a8c();while(!![]){try{const _0x1a8c6f=-parseInt(_0x3f9a7f(0x124))/0x1+-parseInt(_0x3f9a7f(0x1c3))/0x2*(-parseInt(_0x3f9a7f(0x152))/0x3)+-parseInt(_0x3f9a7f(0x108))/0x4*(parseInt(_0x3f9a7f(0x14a))/0x5)+parseInt(_0x3f9a7f(0x212))/0x6*(parseInt(_0x3f9a7f(0x1ad))/0x7)+-parseInt(_0x3f9a7f(0x175))/0x8+parseInt(_0x3f9a7f(0x154))/0x9*(-parseInt(_0x3f9a7f(0x19b))/0xa)+parseInt(_0x3f9a7f(0x1f9))/0xb*(parseInt(_0x3f9a7f(0x17d))/0xc);if(_0x1a8c6f===_0x1c3222)break;else _0x4f1b7e['push'](_0x4f1b7e['shift']());}catch(_0x3d2153){_0x4f1b7e['push'](_0x4f1b7e['shift']());}}}(a21_0x50a3,0x52e12));const {requireModule,isTrue}=require(a21_0x3bf823(0x170)),ObservabilityReporter=require(a21_0x3bf823(0x1c9)),RequestQueueHandler=require(a21_0x3bf823(0x10c)),TestDetails=require(a21_0x3bf823(0x168)),{patchConsoleLogger,debug}=require('../../../helpers/test-observability/utils'),{o11yErrorHandler}=require(a21_0x3bf823(0x164)),{shouldProcessEventForTesthub}=require(a21_0x3bf823(0x15a)),testHubConstants=require(a21_0x3bf823(0x1f4)),BrowserstackCLI=require(a21_0x3bf823(0x1ce)),TestFrameworkState=require(a21_0x3bf823(0x1a9)),HookState=require(a21_0x3bf823(0x106)),JestUtils=require(a21_0x3bf823(0x125)),{v4:uuidv4}=require(a21_0x3bf823(0x205)),util=require(a21_0x3bf823(0x18d)),logger=require(a21_0x3bf823(0x14b))[a21_0x3bf823(0x198)],{FRAMEWORKS}=require(a21_0x3bf823(0x1fc));let exportsI;try{exportsI=requireModule(a21_0x3bf823(0x114),a21_0x3bf823(0x173));}catch{exportsI=requireModule(a21_0x3bf823(0x11b),'jest-circus');}const initInitialize=exportsI[a21_0x3bf823(0x10b)],jestUtils=new JestUtils(),_initializedPlatformIndices=new Set();let _currentTestPath=null;function getFullJestTestName(_0x203fb1){const _0x26fcc0=a21_0x3bf823,_0xe5b7f6={};_0xe5b7f6[_0x26fcc0(0x102)]=function(_0x47c638,_0x183372){return _0x47c638!==_0x183372;},_0xe5b7f6[_0x26fcc0(0x1da)]=_0x26fcc0(0x1f2);const _0x19a5f7=_0xe5b7f6;try{const _0x1630bf=[];let _0x143e9f=_0x203fb1;while(_0x143e9f){_0x143e9f[_0x26fcc0(0x200)]&&_0x19a5f7[_0x26fcc0(0x102)](_0x143e9f[_0x26fcc0(0x200)],_0x19a5f7[_0x26fcc0(0x1da)])&&_0x1630bf[_0x26fcc0(0x129)](_0x143e9f[_0x26fcc0(0x200)]),_0x143e9f=_0x143e9f['parent'];}return _0x1630bf[_0x26fcc0(0x1ed)]('\x20');}catch(_0x9a46ab){return _0x203fb1&&_0x203fb1[_0x26fcc0(0x200)]||'';}}function getActiveTestNamePattern(){const _0x488759=a21_0x3bf823,_0x514bb8={'Tqyzv':function(_0x2d3307,_0x9ab5bc,_0x1f15c0){return _0x2d3307(_0x9ab5bc,_0x1f15c0);},'nXgsR':_0x488759(0x17e),'RPmHD':_0x488759(0x173),'XmkTK':function(_0x23728c,_0x310468){return _0x23728c(_0x310468);},'mJEJi':function(_0x1e9da6,_0x18f1de){return _0x1e9da6===_0x18f1de;},'IbgYZ':_0x488759(0x1ae),'FEvuy':function(_0xa7c97e,_0x5e7471){return _0xa7c97e instanceof _0x5e7471;},'nZWVh':_0x488759(0x1af),'epiRM':function(_0x52b0c2,_0x24648e){return _0x52b0c2>_0x24648e;},'qKQdH':function(_0x364f82,_0x34a39c){return _0x364f82<_0x34a39c;},'MzGmE':'--testNamePattern','dRHwl':function(_0x3c9559,_0x352a88){return _0x3c9559+_0x352a88;},'XPdQp':_0x488759(0x151),'uvcZc':_0x488759(0x196)};try{let _0x1d90e9;try{_0x1d90e9=_0x514bb8[_0x488759(0x178)](requireModule,_0x514bb8[_0x488759(0x20b)],_0x514bb8[_0x488759(0x122)]);}catch{_0x1d90e9=_0x514bb8[_0x488759(0x126)](requireModule,_0x514bb8['RPmHD']);}if(_0x1d90e9&&_0x514bb8['mJEJi'](typeof _0x1d90e9[_0x488759(0x1d6)],_0x514bb8['IbgYZ'])){const _0x21662f=_0x1d90e9['getState']();if(_0x21662f&&_0x21662f[_0x488759(0x110)]){if(_0x514bb8['FEvuy'](_0x21662f[_0x488759(0x110)],RegExp))return _0x21662f[_0x488759(0x110)];if(_0x514bb8[_0x488759(0x143)](typeof _0x21662f[_0x488759(0x110)],_0x514bb8['nZWVh'])&&_0x514bb8[_0x488759(0x104)](_0x21662f['testNamePattern']['length'],0x0))return new RegExp(_0x21662f[_0x488759(0x110)],'i');}}}catch(_0x1203e6){}try{const _0x257e6d=process[_0x488759(0x131)]||[];for(let _0x2fc42e=0x0;_0x514bb8['qKQdH'](_0x2fc42e,_0x257e6d[_0x488759(0x16e)]);_0x2fc42e++){const _0x5b7eb4=_0x257e6d[_0x2fc42e];if(_0x514bb8[_0x488759(0x143)](_0x5b7eb4,'-t')||_0x514bb8[_0x488759(0x143)](_0x5b7eb4,_0x514bb8[_0x488759(0x18f)])){const _0x411880=_0x257e6d[_0x514bb8['dRHwl'](_0x2fc42e,0x1)];if(_0x411880&&!_0x411880[_0x488759(0x19d)]('-'))return new RegExp(_0x411880,'i');}else{if(_0x5b7eb4&&(_0x5b7eb4[_0x488759(0x19d)](_0x514bb8['XPdQp'])||_0x5b7eb4[_0x488759(0x19d)](_0x514bb8[_0x488759(0x12a)]))){const _0xc3d128=_0x5b7eb4[_0x488759(0x1cd)]('=')[_0x488759(0x1d3)](0x1)[_0x488759(0x1ed)]('=');if(_0xc3d128)return new RegExp(_0xc3d128,'i');}}}}catch(_0x36a7c9){}return null;}function isPhantomSkipFromNameFilter(_0x2d279b){const _0x55b04d=a21_0x3bf823,_0x801a6a={'UPHLx':function(_0x3382e1){return _0x3382e1();},'qEASr':function(_0x38cbf4,_0x4c14e2){return _0x38cbf4(_0x4c14e2);}},_0x1f8575=_0x801a6a[_0x55b04d(0x1b4)](getActiveTestNamePattern);if(!_0x1f8575)return![];const _0x337cb2=_0x801a6a[_0x55b04d(0x1ee)](getFullJestTestName,_0x2d279b);if(!_0x337cb2)return![];return!_0x1f8575[_0x55b04d(0x137)](_0x337cb2);}async function isCLIReady(){const _0x201f48=a21_0x3bf823,_0x4f0a7d={'WzGMr':'CLI\x20is\x20enabled\x20and\x20running.','QiHHO':function(_0x2127c3,_0x41b2b7){return _0x2127c3(_0x41b2b7);},'IjpGJ':_0x201f48(0x123),'cPmVQ':function(_0x59fa9b,_0x4e94a8){return _0x59fa9b===_0x4e94a8;},'QVvRN':_0x201f48(0x1c0),'dPXcC':function(_0x244c5e,_0xf3d50){return _0x244c5e(_0xf3d50);}};try{const _0x166523=BrowserstackCLI[_0x201f48(0x13e)]();if(_0x166523[_0x201f48(0x188)]()&&_0x166523['isRunning']())return logger['debug'](_0x4f0a7d[_0x201f48(0x10a)]),!![];const _0x18cb3a=process[_0x201f48(0x11d)][_0x201f48(0x1b5)];if(_0x18cb3a&&_0x166523[_0x201f48(0x188)]()){if(!_0x166523[_0x201f48(0x197)]())try{const _0x2cc3bf=_0x4f0a7d[_0x201f48(0x15c)](require,_0x4f0a7d[_0x201f48(0x142)]),_0x1cc343=_0x2cc3bf[_0x201f48(0x153)]();(!_0x1cc343||!_0x1cc343[_0x201f48(0x200)])&&(_0x4f0a7d[_0x201f48(0x15b)](process[_0x201f48(0x11d)][_0x201f48(0x1de)],_0x4f0a7d[_0x201f48(0x121)])?_0x2cc3bf['setFrameworkDetail'](FRAMEWORKS[_0x201f48(0x204)],FRAMEWORKS[_0x201f48(0x214)]):_0x2cc3bf[_0x201f48(0x107)](FRAMEWORKS[_0x201f48(0x204)],FRAMEWORKS[_0x201f48(0x138)])),await _0x166523['bootstrap']();}catch(_0x4ce94d){return _0x4f0a7d[_0x201f48(0x1d4)](debug,_0x201f48(0x17f)+util[_0x201f48(0x1a3)](_0x4ce94d)),![];}return _0x166523[_0x201f48(0x197)]();}return![];}catch(_0x1358bf){return _0x4f0a7d[_0x201f48(0x15c)](debug,'Error\x20checking\x20CLI\x20readiness:\x20'+util[_0x201f48(0x1a3)](_0x1358bf)),![];}}function getTestIdentifierForHook(_0x197b2a){const _0x19e15c=a21_0x3bf823,_0x849f77={};_0x849f77[_0x19e15c(0x13c)]=function(_0x5ea063,_0x5da634){return _0x5ea063===_0x5da634;},_0x849f77['FFqBE']=_0x19e15c(0x158),_0x849f77['FyolL']=function(_0x245dae,_0x526f76){return _0x245dae===_0x526f76;},_0x849f77['DQxvO']=_0x19e15c(0x1ca);const _0x34be2b=_0x849f77;if(_0x34be2b['iBDWd'](_0x197b2a[_0x19e15c(0x186)],_0x34be2b[_0x19e15c(0x16b)])||_0x34be2b[_0x19e15c(0x100)](_0x197b2a['type'],_0x34be2b[_0x19e15c(0x1f1)])){let _0x5647c1=global['__jestCurrentTestIdentifier'];if(!_0x5647c1&&_0x34be2b[_0x19e15c(0x100)](_0x197b2a[_0x19e15c(0x186)],_0x34be2b[_0x19e15c(0x1f1)])&&_0x197b2a[_0x19e15c(0x116)]){const _0x41b68d={};_0x41b68d[_0x19e15c(0x200)]=_0x197b2a[_0x19e15c(0x116)][_0x19e15c(0x200)],_0x41b68d[_0x19e15c(0x116)]=_0x197b2a[_0x19e15c(0x116)][_0x19e15c(0x116)],_0x41b68d[_0x19e15c(0x109)]=_0x197b2a[_0x19e15c(0x109)],_0x41b68d[_0x19e15c(0x1be)]=_0x197b2a[_0x19e15c(0x1be)];const _0x34ad25=_0x41b68d;_0x5647c1=jestUtils[_0x19e15c(0x1e2)](_0x34ad25);}return _0x5647c1;}return global[_0x19e15c(0x1d2)];}function mapHookTypeToState(_0xd3d1da){const _0x300bd6=a21_0x3bf823,_0x2e5107={};_0x2e5107[_0x300bd6(0x1ca)]=TestFrameworkState['BEFORE_ALL'],_0x2e5107[_0x300bd6(0x1d7)]=TestFrameworkState[_0x300bd6(0x130)],_0x2e5107[_0x300bd6(0x158)]=TestFrameworkState['BEFORE_EACH'],_0x2e5107[_0x300bd6(0x1c1)]=TestFrameworkState[_0x300bd6(0x166)];const _0x304d44=_0x2e5107;return _0x304d44[_0xd3d1da]||TestFrameworkState['BEFORE_EACH'];}async function handleHookEventCLI(_0x503f25,_0x5ab309,_0x4e1e1d){const _0x5a9511=a21_0x3bf823,_0x188855={'ciPXf':function(_0x28f3cb,_0x59ca51){return _0x28f3cb(_0x59ca51);},'jjqOY':_0x5a9511(0x1ec),'exACe':function(_0xa1dd0c,_0x35a21a){return _0xa1dd0c===_0x35a21a;},'PCiys':_0x5a9511(0x1f2),'xiAIZ':function(_0xeba37b){return _0xeba37b();},'HJONf':_0x5a9511(0x1e1),'lOYKy':function(_0x28b880,_0x2fc93e){return _0x28b880===_0x2fc93e;},'yAiFm':function(_0xd542d6,_0x5d0d8d){return _0xd542d6===_0x5d0d8d;},'byJyi':_0x5a9511(0x184),'ffNsg':'hook','yHDzw':function(_0x163c1d,_0x955d8e){return _0x163c1d===_0x955d8e;}};logger[_0x5a9511(0x16f)](_0x5a9511(0x19a)+_0x5ab309+_0x5a9511(0x1cb)+_0x503f25[_0x5a9511(0x186)]);try{if(_0x503f25['fn']&&_0x503f25['fn'][_0x5a9511(0x18b)]()[_0x5a9511(0x201)](/browserstack internal helper hook/))return;if(_0x503f25['parent']&&_0x188855[_0x5a9511(0x12d)](_0x503f25[_0x5a9511(0x116)][_0x5a9511(0x200)],_0x188855['PCiys'])){const _0x2372d4=_0x503f25[_0x5a9511(0x109)]&&((()=>{const _0x2e2c9b=_0x5a9511;try{const _0x5acfd7=_0x188855[_0x2e2c9b(0x18a)](require,_0x188855[_0x2e2c9b(0x1cf)]),_0x3bfd0d=_0x5acfd7[_0x2e2c9b(0x159)][_0x2e2c9b(0x1f5)](_0x5acfd7,_0x503f25[_0x2e2c9b(0x109)]);return _0x3bfd0d[0x0]&&_0x3bfd0d[0x0]['getFileName']?_0x3bfd0d[0x0][_0x2e2c9b(0x1fa)]():null;}catch(_0x230797){return logger['debug'](_0x2e2c9b(0x194)+_0x230797[_0x2e2c9b(0x169)]),null;}})())||_0x503f25[_0x5a9511(0x1be)]||null;if(!_0x2372d4)return;}let _0x1bf0c8=_0x503f25[_0x5a9511(0x1fd)];if(!_0x1bf0c8)_0x1bf0c8=_0x188855[_0x5a9511(0x13d)](uuidv4),_0x503f25[_0x5a9511(0x1fd)]=_0x1bf0c8;else _0x503f25[_0x5a9511(0x1eb)]&&(_0x1bf0c8=_0x188855[_0x5a9511(0x13d)](uuidv4),_0x503f25[_0x5a9511(0x1fd)]=_0x1bf0c8,delete _0x503f25['markedStatus']);_0x188855[_0x5a9511(0x12d)](_0x5ab309,_0x188855[_0x5a9511(0x1c7)])&&(_0x503f25[_0x5a9511(0x119)]=new Date()[_0x5a9511(0x135)]());const _0x898dad=_0x188855[_0x5a9511(0x18a)](getTestIdentifierForHook,_0x503f25);!global[_0x5a9511(0x195)]&&(global[_0x5a9511(0x195)]={});if(_0x188855[_0x5a9511(0x14d)](_0x5ab309,_0x188855['HJONf'])){global[_0x5a9511(0x195)][_0x5a9511(0x136)]={'hookUUID':_0x1bf0c8,'testIdentifier':_0x898dad,'hookType':_0x503f25[_0x5a9511(0x186)],'startedAt':new Date()['toISOString']()};const _0x13f065=BrowserstackCLI[_0x5a9511(0x13e)]()[_0x5a9511(0x1b9)]();_0x13f065&&_0x13f065[_0x5a9511(0x11a)]&&_0x13f065['setActiveHook'](_0x898dad,_0x1bf0c8,_0x503f25[_0x5a9511(0x186)]);}const _0x4b2d63=await jestUtils[_0x5a9511(0x213)](_0x503f25,_0x1bf0c8,_0x5ab309,_0x898dad);if(!_0x4b2d63)return;const _0x25553f=_0x188855[_0x5a9511(0x18a)](mapHookTypeToState,_0x503f25['type']),_0x149b72=_0x188855[_0x5a9511(0x1d9)](_0x5ab309,_0x188855[_0x5a9511(0x1c7)])?HookState[_0x5a9511(0x203)]:HookState[_0x5a9511(0x1fb)],_0x326db0=BrowserstackCLI[_0x5a9511(0x13e)]()[_0x5a9511(0x1b9)]();if(_0x326db0){const _0x5d7237={};_0x5d7237['hookData']=_0x4b2d63,await _0x326db0[_0x5a9511(0x1c6)](_0x25553f,_0x149b72,_0x5d7237);if(_0x188855[_0x5a9511(0x12d)](_0x5ab309,_0x188855[_0x5a9511(0x1df)])){const _0x15b27a={};_0x15b27a[_0x5a9511(0x199)]=_0x898dad,_0x15b27a[_0x5a9511(0x186)]=_0x188855[_0x5a9511(0x165)],await _0x326db0['trackEvent'](TestFrameworkState[_0x5a9511(0x1a4)],HookState[_0x5a9511(0x1fb)],_0x15b27a),global[_0x5a9511(0x195)]&&global['__workerDetails'][_0x5a9511(0x136)]&&_0x188855[_0x5a9511(0x160)](global[_0x5a9511(0x195)][_0x5a9511(0x136)]['hookUUID'],_0x1bf0c8)&&delete global['__workerDetails'][_0x5a9511(0x136)],_0x326db0[_0x5a9511(0x1c4)]&&_0x326db0[_0x5a9511(0x1c4)](_0x898dad,_0x1bf0c8);}}}catch(_0x3e4267){logger[_0x5a9511(0x1b0)]('Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20'+util[_0x5a9511(0x1a3)](_0x3e4267));throw _0x3e4267;}}async function handleTestEventCLI(_0x167b41,_0x590c2c,_0x5d57c7){const _0x5bf76e=a21_0x3bf823,_0x4fef3e={};_0x4fef3e[_0x5bf76e(0x1dc)]=function(_0x40946e,_0x5bc4c5){return _0x40946e===_0x5bc4c5;},_0x4fef3e['ItQjM']=_0x5bf76e(0x134),_0x4fef3e['FSjzy']=function(_0x36c5b9,_0x1df624){return _0x36c5b9>_0x1df624;},_0x4fef3e[_0x5bf76e(0x1f3)]=function(_0x2bf90d,_0x3094db){return _0x2bf90d&&_0x3094db;},_0x4fef3e[_0x5bf76e(0x12f)]=_0x5bf76e(0x182),_0x4fef3e[_0x5bf76e(0x18e)]=_0x5bf76e(0x140),_0x4fef3e[_0x5bf76e(0x1bf)]=function(_0x27a4d8,_0x5539b7){return _0x27a4d8&&_0x5539b7;},_0x4fef3e[_0x5bf76e(0x1e8)]=function(_0x49ce1d,_0x2c449f){return _0x49ce1d&&_0x2c449f;},_0x4fef3e[_0x5bf76e(0x192)]=function(_0x4bf31b,_0x3bd12a){return _0x4bf31b&&_0x3bd12a;},_0x4fef3e[_0x5bf76e(0x148)]=_0x5bf76e(0x137);const _0x2c43eb=_0x4fef3e;logger[_0x5bf76e(0x16f)](_0x5bf76e(0x10d)+_0x590c2c);try{let _0x12626b;if(_0x2c43eb[_0x5bf76e(0x1dc)](_0x590c2c,_0x2c43eb[_0x5bf76e(0x127)])){_0x12626b=jestUtils['createIdentifierFromJestTest'](_0x167b41),global[_0x5bf76e(0x1d2)]=_0x12626b,_0x167b41[_0x5bf76e(0x1b8)]=_0x12626b,_0x167b41['id']=_0x12626b,_0x167b41[_0x5bf76e(0x119)]=new Date()[_0x5bf76e(0x135)]();const _0x1b5c7d=_0x5d57c7['current_test'];_0x5d57c7[_0x5bf76e(0x1b3)]=_0x167b41,_0x167b41[_0x5bf76e(0x181)]=null;if(_0x2c43eb[_0x5bf76e(0x11f)](_0x167b41['_currentRetry'],0x0)&&_0x1b5c7d&&_0x2c43eb[_0x5bf76e(0x1dc)](_0x1b5c7d[_0x5bf76e(0x16a)],_0x167b41[_0x5bf76e(0x16a)])){_0x167b41[_0x5bf76e(0x181)]=_0x1b5c7d[_0x5bf76e(0x1b8)];const _0x4dc926=await jestUtils['createTestFrameworkData'](_0x167b41,_0x12626b,_0x2c43eb[_0x5bf76e(0x127)]),_0xa3e1d4=BrowserstackCLI[_0x5bf76e(0x13e)]()[_0x5bf76e(0x1b9)]();if(_0x2c43eb['zcMtM'](_0x4dc926,_0xa3e1d4)){const _0x462084={};_0x462084[_0x5bf76e(0x137)]=_0x4dc926,await _0xa3e1d4['trackEvent'](TestFrameworkState[_0x5bf76e(0x149)],HookState['PRE'],_0x462084);}_0x1b5c7d[_0x5bf76e(0x10f)]=_0x2c43eb['dIBwz'];const _0x4f0609=await jestUtils[_0x5bf76e(0x1f6)](_0x1b5c7d,_0x1b5c7d[_0x5bf76e(0x1b8)],_0x2c43eb[_0x5bf76e(0x18e)]);if(_0x2c43eb[_0x5bf76e(0x1bf)](_0x4f0609,_0xa3e1d4)){const _0x31401c={};_0x31401c[_0x5bf76e(0x137)]=_0x4f0609,await _0xa3e1d4[_0x5bf76e(0x1c6)](TestFrameworkState[_0x5bf76e(0x149)],HookState['POST'],_0x31401c);}}else{const _0x5cb5fd=await jestUtils[_0x5bf76e(0x1f6)](_0x167b41,_0x12626b,_0x2c43eb['ItQjM']),_0xd49a7a=BrowserstackCLI[_0x5bf76e(0x13e)]()[_0x5bf76e(0x1b9)]();if(_0x2c43eb[_0x5bf76e(0x1e8)](_0x5cb5fd,_0xd49a7a)){const _0x217970={};_0x217970['test']=_0x5cb5fd,await _0xd49a7a[_0x5bf76e(0x1c6)](TestFrameworkState['TEST'],HookState[_0x5bf76e(0x203)],_0x217970);}}}else{_0x12626b=_0x167b41['testAnalyticsId']||_0x167b41['id']||global['__jestCurrentTestIdentifier'];const _0x4bd0bc=await jestUtils['createTestFrameworkData'](_0x167b41,_0x12626b,_0x590c2c),_0x5624aa=BrowserstackCLI['getInstance']()[_0x5bf76e(0x1b9)]();if(_0x2c43eb[_0x5bf76e(0x192)](_0x4bd0bc,_0x5624aa)){const _0xd53c79={};_0xd53c79[_0x5bf76e(0x137)]=_0x4bd0bc,_0xd53c79[_0x5bf76e(0x1c8)]=_0x167b41,_0xd53c79[_0x5bf76e(0x13b)]=_0x12626b,await _0x5624aa[_0x5bf76e(0x1c6)](TestFrameworkState['TEST'],HookState['POST'],_0xd53c79);const _0x4af158={};_0x4af158[_0x5bf76e(0x199)]=_0x12626b,_0x4af158[_0x5bf76e(0x186)]=_0x2c43eb[_0x5bf76e(0x148)],await _0x5624aa[_0x5bf76e(0x1c6)](TestFrameworkState[_0x5bf76e(0x1a4)],HookState['POST'],_0x4af158);}}}catch(_0x23b1b3){logger[_0x5bf76e(0x1b0)](_0x5bf76e(0x1ab)+util[_0x5bf76e(0x1a3)](_0x23b1b3));throw _0x23b1b3;}}exportsI[a21_0x3bf823(0x10b)]=(..._0x36a695)=>{const _0xc479c0=a21_0x3bf823,_0x263e5e={'jQEtK':function(_0x41022d,_0x32430b){return _0x41022d(_0x32430b);},'fuebp':_0xc479c0(0x1ec),'mCzhw':function(_0x5050ba,_0xbcb589){return _0x5050ba&&_0xbcb589;},'WzKpB':_0xc479c0(0x1bc),'znafw':function(_0x388cbb,_0x328e96){return _0x388cbb===_0x328e96;},'icgZb':_0xc479c0(0x1f2),'WBGPS':function(_0x489cf9){return _0x489cf9();},'ZcpsV':function(_0x114371,_0x213f4a){return _0x114371(_0x213f4a);},'PJKAc':function(_0x521e0e,_0x4db441,_0x23cae8,_0x16cc98){return _0x521e0e(_0x4db441,_0x23cae8,_0x16cc98);},'kuCkI':_0xc479c0(0x1e1),'vCaqN':function(_0x1818fe,_0x501d1d){return _0x1818fe(_0x501d1d);},'iUouH':_0xc479c0(0x161),'JNnKm':function(_0x114d51,_0x2687b5){return _0x114d51(_0x2687b5);},'LYJeF':function(_0x59bd51,_0x22418b,_0xc05c11,_0x5e25dc){return _0x59bd51(_0x22418b,_0xc05c11,_0x5e25dc);},'flXxU':_0xc479c0(0x184),'hVuoB':function(_0xf4d011,_0x1f980d){return _0xf4d011(_0x1f980d);},'ewXKE':function(_0x6f3c12,_0xb9aec1){return _0x6f3c12(_0xb9aec1);},'SjfuA':_0xc479c0(0x12b),'neAmo':_0xc479c0(0x1ca),'FAapA':_0xc479c0(0x158),'uLBgy':_0xc479c0(0x1c1),'xtssr':function(_0x1a3aba,_0x59a869){return _0x1a3aba>_0x59a869;},'slOwu':function(_0x1463d4){return _0x1463d4();},'WJNPE':function(_0x3c8ea7,_0x163fb3){return _0x3c8ea7(_0x163fb3);},'upSsT':'test_start','VKLyD':function(_0x8c659a,_0xe06c75){return _0x8c659a(_0xe06c75);},'FoXRe':function(_0x28ef86,_0x547d4d){return _0x28ef86(_0x547d4d);},'PgpPZ':function(_0x5bad57,_0x97e06){return _0x5bad57!==_0x97e06;},'gxXfE':_0xc479c0(0x189),'rxQMG':'TestRunStarted','NoBfs':function(_0x3de87e){return _0x3de87e();},'LAhUN':_0xc479c0(0x20e),'JDeYv':function(_0x1b0252,_0x27c9d2){return _0x1b0252(_0x27c9d2);},'vXcCf':function(_0x135f0a,_0x28d3f2){return _0x135f0a(_0x28d3f2);},'Carom':function(_0x40e4d3,_0x1521cb){return _0x40e4d3>_0x1521cb;},'MBlil':'fail','itRbl':_0xc479c0(0x182),'SWJsG':'passed','OjIuW':function(_0x3831bb,_0x53c4d6){return _0x3831bb||_0x53c4d6;},'xrSuK':function(_0x5d988c){return _0x5d988c();},'hPfaU':_0xc479c0(0x140),'GlDmD':function(_0x509b10){return _0x509b10();},'BYDvi':'test_skip','akyfo':function(_0x1b1b6f,_0x45e1b5){return _0x1b1b6f(_0x45e1b5);},'olEQa':function(_0x404698){return _0x404698();},'jkyuF':function(_0x32138a,_0x5cdd51,_0x41048d,_0x114b03){return _0x32138a(_0x5cdd51,_0x41048d,_0x114b03);},'tiViN':_0xc479c0(0x146),'HFBgs':function(_0x37fac8){return _0x37fac8();},'WJLoc':_0xc479c0(0x1d5),'duuFC':_0xc479c0(0x171),'ApUgP':_0xc479c0(0x1af),'wpdJd':function(_0x574e2b,_0x46794d){return _0x574e2b===_0x46794d;},'QAWaP':_0xc479c0(0x1e4),'xUZyM':function(_0x2bba1a,_0x11862a){return _0x2bba1a===_0x11862a;},'sMrRI':function(_0x3c2897,_0x1a5945){return _0x3c2897===_0x1a5945;},'GemVd':function(_0x4ed78b,_0x14b0c7){return _0x4ed78b(_0x14b0c7);},'PQyIv':function(_0x5da3cd){return _0x5da3cd();},'hmTad':function(_0x26b5e5,_0x41f38b,_0x346393){return _0x26b5e5(_0x41f38b,_0x346393);},'dxIsI':_0xc479c0(0x17e),'VeWZE':_0xc479c0(0x173),'tYuty':function(_0xa10f0f,_0x22330f){return _0xa10f0f(_0x22330f);},'pAzha':function(_0x46286a,_0x288311,_0x461613){return _0x46286a(_0x288311,_0x461613);},'ufWAl':_0xc479c0(0x103),'ElUJh':_0xc479c0(0x118),'VpZUK':function(_0x5a8944,_0x36a593){return _0x5a8944(_0x36a593);}};try{logger['debug'](_0xc479c0(0x1a2)+_0x263e5e[_0xc479c0(0x128)](shouldProcessEventForTesthub)+_0xc479c0(0x141)+process['env'][_0xc479c0(0x1de)]);const _0xf73dda=_0x36a695&&_0x36a695[0x0]?_0x36a695[0x0]:{};_0xf73dda&&_0x263e5e[_0xc479c0(0x1bd)](typeof _0xf73dda['testPath'],_0x263e5e[_0xc479c0(0x172)])&&_0xf73dda[_0xc479c0(0x1b2)]&&(_currentTestPath=_0xf73dda[_0xc479c0(0x1b2)]);let _0x6ad5e5=0x0;try{if(_0xf73dda['config']&&_0x263e5e[_0xc479c0(0x1ef)](typeof _0xf73dda['config']['browserstackPlatformIndex'],_0x263e5e['QAWaP']))_0x6ad5e5=_0xf73dda[_0xc479c0(0x1b7)][_0xc479c0(0x14e)];else{if(_0xf73dda[_0xc479c0(0x19c)]&&_0x263e5e[_0xc479c0(0x1d0)](typeof _0xf73dda[_0xc479c0(0x19c)][_0xc479c0(0x14e)],_0x263e5e[_0xc479c0(0x1fe)]))_0x6ad5e5=_0xf73dda[_0xc479c0(0x19c)][_0xc479c0(0x14e)];else global[_0xc479c0(0x1ea)]&&_0x263e5e['sMrRI'](typeof global['jestConfig']['browserstackPlatformIndex'],_0x263e5e[_0xc479c0(0x1fe)])&&(_0x6ad5e5=global[_0xc479c0(0x1ea)][_0xc479c0(0x14e)]);}}catch(_0x1a782d){logger[_0xc479c0(0x16f)](_0xc479c0(0x1e9)+util[_0xc479c0(0x1a3)](_0x1a782d));}global['__bstackPlatformIndex']=_0x6ad5e5,process[_0xc479c0(0x11d)][_0xc479c0(0x174)]=_0x263e5e[_0xc479c0(0x1e6)](String,_0x6ad5e5);const _0x49d50c=new ObservabilityReporter();!_initializedPlatformIndices[_0xc479c0(0x139)](_0x6ad5e5)?(logger[_0xc479c0(0x16f)](_0xc479c0(0x191)+_0x6ad5e5),_initializedPlatformIndices[_0xc479c0(0x14f)](_0x6ad5e5),_0x263e5e[_0xc479c0(0x16d)](shouldProcessEventForTesthub)&&(_0x263e5e[_0xc479c0(0x16d)](patchConsoleLogger),_0x49d50c[_0xc479c0(0x1ff)]())):logger['debug'](_0xc479c0(0x144)+_0x6ad5e5+_0xc479c0(0x1e0));let _0x5c261d;try{_0x5c261d=_0x263e5e[_0xc479c0(0x207)](requireModule,_0x263e5e[_0xc479c0(0x190)],_0x263e5e[_0xc479c0(0x1c5)]);}catch{_0x5c261d=_0x263e5e['tYuty'](requireModule,_0x263e5e[_0xc479c0(0x1c5)]);}let _0x5064d7;try{_0x5064d7=_0x263e5e[_0xc479c0(0x156)](requireModule,_0x263e5e['ufWAl'],_0x263e5e[_0xc479c0(0x1c5)])['makeSingleTestResult'];}catch{_0x5064d7=_0x263e5e[_0xc479c0(0x1d8)](requireModule,_0x263e5e[_0xc479c0(0x1c5)])['makeSingleTestResult']||(()=>({}));}const _0x3173e2=BrowserstackCLI[_0xc479c0(0x13e)]()['isCliEnabled']();(_0x263e5e[_0xc479c0(0x211)](shouldProcessEventForTesthub)||_0x3173e2)&&_0x5c261d['addEventHandler'](_0x263e5e[_0xc479c0(0x207)](o11yErrorHandler,async(_0x4c7ad0,_0x3aae94)=>{const _0xb01ba6=_0xc479c0,_0xe96b2c={'JFIqM':function(_0x50bf32,_0x1017b3){const _0x31b0bd=a21_0x228c;return _0x263e5e[_0x31b0bd(0x15f)](_0x50bf32,_0x1017b3);},'ZnOwo':_0x263e5e['fuebp'],'dIGpt':function(_0x5ad62d,_0x18800a){const _0x45d457=a21_0x228c;return _0x263e5e[_0x45d457(0x15f)](_0x5ad62d,_0x18800a);}};_0x263e5e[_0xb01ba6(0x10e)](_currentTestPath,_0x4c7ad0)&&_0x4c7ad0['test']&&!_0x4c7ad0[_0xb01ba6(0x137)][_0xb01ba6(0x1be)]&&(_0x4c7ad0[_0xb01ba6(0x137)]['file']=_currentTestPath);switch(_0x4c7ad0['name']){case _0x263e5e['WzKpB']:if(_0x4c7ad0['hook']['fn']&&_0x4c7ad0[_0xb01ba6(0x1cc)]['fn'][_0xb01ba6(0x18b)]()[_0xb01ba6(0x201)](/browserstack internal helper hook/))break;if(_0x4c7ad0[_0xb01ba6(0x1cc)][_0xb01ba6(0x116)]&&_0x263e5e[_0xb01ba6(0x1bd)](_0x4c7ad0[_0xb01ba6(0x1cc)][_0xb01ba6(0x116)][_0xb01ba6(0x200)],_0x263e5e[_0xb01ba6(0x112)])){const _0x2529cd=_0x4c7ad0[_0xb01ba6(0x1cc)][_0xb01ba6(0x109)]&&((()=>{const _0x204850=_0xb01ba6;try{const _0x3174fc=_0xe96b2c[_0x204850(0x193)](require,_0xe96b2c['ZnOwo']),_0x4f00ca=_0x3174fc[_0x204850(0x159)][_0x204850(0x1f5)](_0x3174fc,_0x4c7ad0[_0x204850(0x1cc)]['asyncError']);return _0x4f00ca[0x0]&&_0x4f00ca[0x0][_0x204850(0x1fa)]?_0x4f00ca[0x0]['getFileName']():null;}catch(_0xc1cf12){return logger[_0x204850(0x16f)](_0x204850(0x194)+_0xc1cf12['message']),null;}})())||_0x4c7ad0[_0xb01ba6(0x1cc)]['file']||null;if(!_0x2529cd)break;}if(BrowserstackCLI['getInstance']()['isCliEnabled']()&&await _0x263e5e[_0xb01ba6(0x13f)](isCLIReady)){if(_0x263e5e['ZcpsV'](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0xb01ba6(0x105)]))try{await _0x263e5e[_0xb01ba6(0x176)](handleHookEventCLI,_0x4c7ad0[_0xb01ba6(0x1cc)],_0x263e5e[_0xb01ba6(0x133)],_0x3aae94);break;}catch(_0x567426){_0x263e5e['vCaqN'](debug,_0xb01ba6(0x17b)+util[_0xb01ba6(0x1a3)](_0x567426));}}if(_0x263e5e[_0xb01ba6(0x15f)](shouldProcessEventForTesthub,testHubConstants[_0xb01ba6(0x20c)]['HookStarted'])){if(!_0x4c7ad0['hook'][_0xb01ba6(0x1fd)]){const _0x3a4425=TestDetails[_0xb01ba6(0x1f8)](process[_0xb01ba6(0x1a1)]+_0xb01ba6(0x14c));_0x4c7ad0[_0xb01ba6(0x1cc)][_0xb01ba6(0x1fd)]=_0x3a4425;}else _0x4c7ad0[_0xb01ba6(0x1cc)][_0xb01ba6(0x1eb)]&&(_0x4c7ad0[_0xb01ba6(0x1cc)]['hookAnalyticsId']=TestDetails[_0xb01ba6(0x1f8)](process[_0xb01ba6(0x1a1)]+_0xb01ba6(0x14c)),delete _0x4c7ad0['hook'][_0xb01ba6(0x1eb)]);_0x4c7ad0[_0xb01ba6(0x1cc)][_0xb01ba6(0x119)]=new Date()[_0xb01ba6(0x135)](),await _0x49d50c[_0xb01ba6(0x155)](_0x4c7ad0[_0xb01ba6(0x1cc)],undefined,![],_0x263e5e[_0xb01ba6(0x133)]);}break;case _0x263e5e[_0xb01ba6(0x206)]:if(BrowserstackCLI[_0xb01ba6(0x13e)]()[_0xb01ba6(0x188)]()&&await _0x263e5e[_0xb01ba6(0x13f)](isCLIReady)){if(_0x263e5e[_0xb01ba6(0x1ba)](shouldProcessEventForTesthub,testHubConstants[_0xb01ba6(0x20c)][_0xb01ba6(0x202)]))try{await _0x263e5e[_0xb01ba6(0x117)](handleHookEventCLI,_0x4c7ad0[_0xb01ba6(0x1cc)],_0x263e5e['flXxU'],_0x3aae94);break;}catch(_0x5ba487){_0x263e5e[_0xb01ba6(0x19e)](debug,_0xb01ba6(0x17b)+util['format'](_0x5ba487));}}_0x263e5e[_0xb01ba6(0x1f0)](shouldProcessEventForTesthub,testHubConstants[_0xb01ba6(0x20c)][_0xb01ba6(0x202)])&&(await _0x49d50c[_0xb01ba6(0x155)](_0x4c7ad0[_0xb01ba6(0x1cc)],undefined,![],_0x263e5e[_0xb01ba6(0x15d)]),TestDetails[_0xb01ba6(0x120)](process[_0xb01ba6(0x1a1)]+_0xb01ba6(0x14c)));break;case _0x263e5e[_0xb01ba6(0x1a7)]:[_0x263e5e[_0xb01ba6(0x163)],_0x263e5e[_0xb01ba6(0x185)],_0x263e5e[_0xb01ba6(0x113)]]['includes'](_0x4c7ad0[_0xb01ba6(0x1cc)][_0xb01ba6(0x186)])&&(_0x49d50c['hook_failure']=_0x4c7ad0[_0xb01ba6(0x1cc)][_0xb01ba6(0x186)]),_0x3aae94[_0xb01ba6(0x115)]&&_0x263e5e[_0xb01ba6(0x17a)](_0x3aae94[_0xb01ba6(0x115)][_0xb01ba6(0x16e)],0x0)&&(_0x4c7ad0[_0xb01ba6(0x1cc)]['errorsDetailed']=[_0x3aae94[_0xb01ba6(0x115)][0x0][0x0]]);if(BrowserstackCLI[_0xb01ba6(0x13e)]()['isCliEnabled']()&&await _0x263e5e[_0xb01ba6(0x1e7)](isCLIReady)){if(_0x263e5e[_0xb01ba6(0x1a6)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0xb01ba6(0x202)]))try{await _0x263e5e['LYJeF'](handleHookEventCLI,_0x4c7ad0[_0xb01ba6(0x1cc)],_0x263e5e[_0xb01ba6(0x15d)],_0x3aae94);break;}catch(_0x366f9a){_0x263e5e[_0xb01ba6(0x1a5)](debug,_0xb01ba6(0x17b)+util[_0xb01ba6(0x1a3)](_0x366f9a));}}_0x263e5e['WJNPE'](shouldProcessEventForTesthub,testHubConstants[_0xb01ba6(0x20c)][_0xb01ba6(0x202)])&&(await _0x49d50c['sendTestRunEvent'](_0x4c7ad0['hook'],undefined,![],_0x263e5e[_0xb01ba6(0x15d)]),TestDetails[_0xb01ba6(0x120)](process[_0xb01ba6(0x1a1)]+':hookAnalyticsId'));break;case _0x263e5e['upSsT']:if(_0x263e5e[_0xb01ba6(0x1d8)](isTrue,process['env'][_0xb01ba6(0x147)])&&_0x263e5e[_0xb01ba6(0x15f)](isPhantomSkipFromNameFilter,_0x4c7ad0[_0xb01ba6(0x137)])){const _0x2a7b59=_0x263e5e[_0xb01ba6(0x20a)](getFullJestTestName,_0x4c7ad0['test']);logger[_0xb01ba6(0x16f)](_0xb01ba6(0x183)+_0x2a7b59+'\x22');break;}try{let _0x57974d=_0x4c7ad0['test'][_0xb01ba6(0x200)]||'';try{let _0x3c1514=_0x4c7ad0['test'][_0xb01ba6(0x116)];const _0x59dc97=[_0x57974d];while(_0x3c1514&&_0x3c1514['name']&&_0x263e5e[_0xb01ba6(0x1e3)](_0x3c1514[_0xb01ba6(0x200)],_0x263e5e['icgZb'])){_0x59dc97[_0xb01ba6(0x129)](_0x3c1514['name']),_0x3c1514=_0x3c1514[_0xb01ba6(0x116)];}_0x57974d=_0x59dc97[_0xb01ba6(0x1ed)](_0x263e5e[_0xb01ba6(0x209)]);}catch(_0x411031){logger[_0xb01ba6(0x16f)](_0xb01ba6(0x15e)+_0x411031[_0xb01ba6(0x169)]);}process[_0xb01ba6(0x1a8)]=_0x57974d,process[_0xb01ba6(0x13a)]=null,process[_0xb01ba6(0x17c)]=null,logger[_0xb01ba6(0x16f)]('[customJestAdapterInit]\x20Set\x20test\x20name:\x20\x22'+_0x57974d+'\x22');if(!global[_0xb01ba6(0x195)]){const _0x143f78={};_0x143f78[_0xb01ba6(0x1a0)]={},global['__workerDetails']=_0x143f78;}!global['__workerDetails'][_0xb01ba6(0x1a0)]&&(global[_0xb01ba6(0x195)][_0xb01ba6(0x1a0)]={});const _0x647ad0={};_0x647ad0[_0xb01ba6(0x16a)]=_0x57974d,_0x647ad0[_0xb01ba6(0x200)]=_0x57974d,global['__workerDetails'][_0xb01ba6(0x1a0)][_0xb01ba6(0x179)]=_0x647ad0,global[_0xb01ba6(0x1f7)]=_0x57974d;}catch(_0x56b033){logger['debug'](_0xb01ba6(0x180)+_0x56b033['message']);}if(BrowserstackCLI[_0xb01ba6(0x13e)]()['isCliEnabled']()&&await _0x263e5e['WBGPS'](isCLIReady))try{await _0x263e5e[_0xb01ba6(0x117)](handleTestEventCLI,_0x4c7ad0[_0xb01ba6(0x137)],_0x263e5e[_0xb01ba6(0x210)],_0x49d50c);break;}catch(_0x38f780){_0x263e5e['hVuoB'](debug,_0xb01ba6(0x17b)+util[_0xb01ba6(0x1a3)](_0x38f780));}_0x263e5e[_0xb01ba6(0x1e5)](shouldProcessEventForTesthub)&&await _0x49d50c[_0xb01ba6(0x162)](_0x4c7ad0[_0xb01ba6(0x137)]);break;case _0x263e5e['LAhUN']:{const _0x378ed6=_0x4c7ad0['test'];if(_0x263e5e['JDeYv'](isTrue,process[_0xb01ba6(0x11d)][_0xb01ba6(0x147)])&&_0x263e5e[_0xb01ba6(0x19f)](isPhantomSkipFromNameFilter,_0x378ed6)){const _0x4cd2a4=_0x263e5e['JNnKm'](getFullJestTestName,_0x378ed6);logger['debug'](_0xb01ba6(0x1db)+_0x4cd2a4+'\x22'),_0x378ed6[_0xb01ba6(0x1eb)]=!![];break;}_0x4c7ad0[_0xb01ba6(0x137)]={..._0x263e5e['ZcpsV'](_0x5064d7,_0x4c7ad0['test']),..._0x4c7ad0[_0xb01ba6(0x137)]};try{const _0x5d8252=_0x4c7ad0['test'][_0xb01ba6(0x101)]||[],_0x1cbe7c=_0x263e5e[_0xb01ba6(0x20f)](_0x5d8252['length'],0x0)||_0x263e5e['znafw'](_0x4c7ad0['test']['status'],_0x263e5e['MBlil']),_0x28e7ff=_0x1cbe7c?_0x263e5e[_0xb01ba6(0x157)]:_0x263e5e[_0xb01ba6(0x150)];let _0x102755='';_0x1cbe7c&&(_0x102755=_0x5d8252[_0xb01ba6(0x12c)](_0x2ae664=>{const _0x2f0087=_0xb01ba6;if(Array[_0x2f0087(0x145)](_0x2ae664))return _0x2ae664[_0x2f0087(0x12c)](_0x5ec2b0=>_0x5ec2b0&&_0x5ec2b0[_0x2f0087(0x169)]||String(_0x5ec2b0))['join'](';\x20');return _0x2ae664&&_0x2ae664[_0x2f0087(0x169)]||_0xe96b2c[_0x2f0087(0x132)](String,_0x2ae664);})[_0xb01ba6(0x1ed)](';\x20')),process['_bstackTestStatus']=_0x28e7ff,process['_bstackTestFailureReason']=_0x263e5e[_0xb01ba6(0x18c)](_0x102755,''),logger[_0xb01ba6(0x16f)]('[customJestAdapterInit]\x20Set\x20test\x20status:\x20\x22'+_0x28e7ff+'\x22'),global['__workerDetails']&&global['__workerDetails'][_0xb01ba6(0x1a0)]&&(!global[_0xb01ba6(0x195)][_0xb01ba6(0x1a0)]['testInfo']&&(global[_0xb01ba6(0x195)][_0xb01ba6(0x1a0)][_0xb01ba6(0x179)]={}),global[_0xb01ba6(0x195)][_0xb01ba6(0x1a0)][_0xb01ba6(0x179)][_0xb01ba6(0xfe)]=_0x28e7ff,_0x1cbe7c&&(global[_0xb01ba6(0x195)][_0xb01ba6(0x1a0)][_0xb01ba6(0x179)]['failureMessage']=_0x102755));}catch(_0x436905){logger[_0xb01ba6(0x16f)](_0xb01ba6(0x187)+_0x436905[_0xb01ba6(0x169)]);}if(!_0x4c7ad0[_0xb01ba6(0x137)]['markedStatus']){_0x4c7ad0[_0xb01ba6(0x137)][_0xb01ba6(0x1eb)]=!![];if(BrowserstackCLI[_0xb01ba6(0x13e)]()[_0xb01ba6(0x188)]()&&await _0x263e5e[_0xb01ba6(0x177)](isCLIReady))try{await _0x263e5e[_0xb01ba6(0x117)](handleTestEventCLI,_0x4c7ad0[_0xb01ba6(0x137)],_0x263e5e[_0xb01ba6(0x208)],_0x49d50c);break;}catch(_0x22bf71){_0x263e5e['VKLyD'](debug,_0xb01ba6(0x17b)+util[_0xb01ba6(0x1a3)](_0x22bf71));}_0x263e5e[_0xb01ba6(0x128)](shouldProcessEventForTesthub)&&await _0x49d50c['sendTestRunEvent'](_0x4c7ad0['test']);}break;}case _0x263e5e[_0xb01ba6(0x11c)]:{const _0x5c6f85=_0x4c7ad0['test'];if(_0x263e5e['JNnKm'](isTrue,process[_0xb01ba6(0x11d)]['BROWSERSTACK_RERUN'])&&_0x263e5e[_0xb01ba6(0x1d8)](isPhantomSkipFromNameFilter,_0x5c6f85)){const _0x4402a3=_0x263e5e[_0xb01ba6(0x1aa)](getFullJestTestName,_0x5c6f85);logger['debug']('[Rerun]\x20Suppressed\x20phantom\x20TestRunSkipped\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22'+_0x4402a3+'\x22'),_0x5c6f85[_0xb01ba6(0x1eb)]=!![];break;}_0x4c7ad0['test']={..._0x263e5e[_0xb01ba6(0x20a)](_0x5064d7,_0x4c7ad0[_0xb01ba6(0x137)]),..._0x4c7ad0[_0xb01ba6(0x137)]};if(!_0x4c7ad0[_0xb01ba6(0x137)][_0xb01ba6(0x1eb)]){_0x4c7ad0[_0xb01ba6(0x137)]['markedStatus']=!![];if(BrowserstackCLI[_0xb01ba6(0x13e)]()[_0xb01ba6(0x188)]()&&await _0x263e5e[_0xb01ba6(0x211)](isCLIReady))try{await _0x263e5e[_0xb01ba6(0x12e)](handleTestEventCLI,_0x4c7ad0[_0xb01ba6(0x137)],_0x263e5e[_0xb01ba6(0xff)],_0x49d50c);break;}catch(_0x3ed38c){_0x263e5e[_0xb01ba6(0x19f)](debug,_0xb01ba6(0x17b)+util[_0xb01ba6(0x1a3)](_0x3ed38c));}_0x263e5e['HFBgs'](shouldProcessEventForTesthub)&&await _0x49d50c['sendTestRunEvent'](_0x4c7ad0[_0xb01ba6(0x137)],undefined,![],_0x263e5e[_0xb01ba6(0xff)]);}break;}case _0x263e5e[_0xb01ba6(0x1b6)]:_0x49d50c[_0xb01ba6(0x12b)]=null;break;case _0x263e5e[_0xb01ba6(0x1c2)]:await RequestQueueHandler['getInstance']()[_0xb01ba6(0x111)](),process[_0xb01ba6(0x1b1)]();break;default:}},_0x263e5e['ElUJh']));}catch(_0x241d6e){_0x263e5e[_0xc479c0(0x1ac)](debug,_0xc479c0(0x1bb)+_0x241d6e);}return _0x263e5e[_0xc479c0(0x1d1)](initInitialize,..._0x36a695);};function a21_0x50a3(){const _0x4b85c7=['testStarted','neAmo','../../../helpers/test-observability/error-handler','ffNsg','AFTER_EACH','__rerunFilterHelpers','../test-observability/test-details','message','title','FFqBE','getActiveTestNamePattern','PQyIv','length','debug','../../../helpers/helper','teardown','ApUgP','jest-circus','BROWSERSTACK_PLATFORM_INDEX','1771784TOhfcp','PJKAc','xrSuK','Tqyzv','testInfo','xtssr','Error\x20routing\x20to\x20JestTestFramework:\x20','_bstackTestFailureReason','10461336FLqGQh','jest-circus/build/state.js','Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20','[customJestAdapterInit]\x20Error\x20in\x20test_start\x20name\x20storage:\x20','retryOf','failed','[Rerun]\x20Suppressed\x20phantom\x20TestRunStarted\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22','HookRunFinished','FAapA','type','[customJestAdapterInit]\x20Error\x20in\x20test_done\x20status\x20storage:\x20','isCliEnabled','\x20>\x20','ciPXf','toString','OjIuW','util','hMXSs','MzGmE','dxIsI','[customJestAdapterInit]\x20Initializing\x20for\x20platformIndex=','wuLnV','JFIqM','Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20','__workerDetails','-t=','isRunning','winstonLogger','testUUID','Handling\x20hook\x20event\x20for\x20CLI:\x20','100tdicBr','configuration','startsWith','hVuoB','vXcCf','currentTest','pid','[customJestAdapterInit]\x20initialize\x20called,\x20shouldProcessEventForTesthub=','format','LOG_REPORT','vCaqN','WJNPE','SjfuA','_bstackTestName','../../v2/state/testFrameworkState','akyfo','Error\x20handling\x20test\x20event\x20for\x20CLI:\x20','VpZUK','1856456CiHMxp','function','string','error','removeAllListeners','testPath','current_test','UPHLx','BROWSERSTACK_CLI_BIN_SESSION_ID','WJLoc','config','testAnalyticsId','getTestFramework','JNnKm','Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20','hook_start','znafw','file','QSZHK','true','afterEach','duuFC','134TmWVcO','removeActiveHook','VeWZE','trackEvent','HJONf','originalTest','../test-observability/obsReporter','beforeAll','\x20for\x20hook\x20type:\x20','hook','split','../../v2/browserstackCLI','jjqOY','xUZyM','ZcpsV','__jestCurrentTestIdentifier','slice','dPXcC','run_describe_finish','getState','afterAll','VKLyD','yAiFm','lcXdh','[Rerun]\x20Suppressed\x20phantom\x20TestRunFinished\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22','kPOFJ','WlcvZ','BROWSERSTACK_PUPPETEER','byJyi',',\x20re-registering\x20event\x20handler','HookRunStarted','createIdentifierFromJestTest','PgpPZ','number','NoBfs','GemVd','slOwu','ceZch','Error\x20reading\x20platformIndex\x20from\x20args:\x20','jestConfig','markedStatus','stack-trace','join','qEASr','wpdJd','ewXKE','DQxvO','ROOT_DESCRIBE_BLOCK','zcMtM','../../../helpers/testhub/constants','call','createTestFrameworkData','browserstackTestName','setTestUUID','11BYsBCD','getFileName','POST','../../utils/constants','hookAnalyticsId','QAWaP','registerListeners','name','match','HookFinished','PRE','JEST','uuid','iUouH','hmTad','hPfaU','gxXfE','FoXRe','nXgsR','EVENT','keys','test_done','Carom','rxQMG','olEQa','6dFGhED','createHookData','PUPPETEER','status','tiViN','FyolL','errors','vqCeI','jest-circus/build/utils.js','epiRM','HookStarted','../../v2/state/hookState','setFrameworkDetail','243244xApDLT','asyncError','WzGMr','initialize','../../../helpers/test-observability/requestQueueHandler','Handling\x20test\x20event\x20for\x20CLI:\x20','mCzhw','state','testNamePattern','shutdown','icgZb','uLBgy','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','unhandledErrors','parent','LYJeF','EventHandler','started_at','setActiveHook','jest-circus/build/jestAdapterInit.js','BYDvi','env','forEach','FSjzy','removeTestUUID','QVvRN','RPmHD','../../v2/cliUtils','366958yeDCfv','../../v2/utils/jest-utils','XmkTK','ItQjM','GlDmD','unshift','uvcZc','hook_failure','map','exACe','jkyuF','dIBwz','AFTER_ALL','argv','dIGpt','kuCkI','TestRunStarted','toISOString','currentHook','test','PLAYWRIGHT','has','_bstackTestStatus','testIdentifier','iBDWd','xiAIZ','getInstance','WBGPS','TestRunFinished',',\x20BROWSERSTACK_PUPPETEER=','IjpGJ','mJEJi','[customJestAdapterInit]\x20Skipping\x20heavy\x20init\x20for\x20platformIndex=','isArray','TestRunSkipped','BROWSERSTACK_RERUN','DjXhC','TEST','40EiPtUw','../../../helpers/logger',':hookAnalyticsId','lOYKy','browserstackPlatformIndex','add','SWJsG','--testNamePattern=','24063xxXMqD','getAutomationFrameworkDetail','234000WTtxvQ','sendTestRunEvent','pAzha','itRbl','beforeEach','parse','../../../helpers/testhub/utils','cPmVQ','QiHHO','flXxU','[customJestAdapterInit]\x20Error\x20building\x20test\x20name:\x20','jQEtK','yHDzw','hook_success'];a21_0x50a3=function(){return _0x4b85c7;};return a21_0x50a3();}function a21_0x228c(_0x318297,_0x36971e){const _0x50a332=a21_0x50a3();return a21_0x228c=function(_0x228c66,_0x516f78){_0x228c66=_0x228c66-0xfe;let _0x492c90=_0x50a332[_0x228c66];return _0x492c90;},a21_0x228c(_0x318297,_0x36971e);}try{Object[a21_0x3bf823(0x20d)](exportsI)[a21_0x3bf823(0x11e)](_0x3c62a1=>{const _0x52599d=a21_0x3bf823,_0x38683c={'WlcvZ':function(_0x5e3ac8,_0x15613c){return _0x5e3ac8(_0x15613c);}};try{exports&&(exports[_0x3c62a1]=exportsI[_0x3c62a1]);}catch(_0xf643ed){_0x38683c[_0x52599d(0x1dd)](debug,'Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20'+_0xf643ed);}});}catch(a21_0x2bdf23){debug('Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20'+a21_0x2bdf23);}const a21_0x9fc4ef={};a21_0x9fc4ef['getFullJestTestName']=getFullJestTestName,a21_0x9fc4ef[a21_0x3bf823(0x16c)]=getActiveTestNamePattern,a21_0x9fc4ef['isPhantomSkipFromNameFilter']=isPhantomSkipFromNameFilter,exports[a21_0x3bf823(0x167)]=a21_0x9fc4ef;
|
|
1
|
+
const a21_0x488ca8=a21_0x4ab7;(function(_0x2170ef,_0x476364){const _0x98cc82=a21_0x4ab7,_0xe2b835=_0x2170ef();while(!![]){try{const _0x51a3d4=parseInt(_0x98cc82(0x107))/0x1*(parseInt(_0x98cc82(0x10b))/0x2)+parseInt(_0x98cc82(0x152))/0x3*(-parseInt(_0x98cc82(0xd8))/0x4)+parseInt(_0x98cc82(0x17d))/0x5+parseInt(_0x98cc82(0xde))/0x6*(parseInt(_0x98cc82(0x1a8))/0x7)+-parseInt(_0x98cc82(0x1d4))/0x8*(-parseInt(_0x98cc82(0x1d6))/0x9)+-parseInt(_0x98cc82(0xf6))/0xa*(parseInt(_0x98cc82(0x19a))/0xb)+parseInt(_0x98cc82(0x119))/0xc;if(_0x51a3d4===_0x476364)break;else _0xe2b835['push'](_0xe2b835['shift']());}catch(_0x5c22b8){_0xe2b835['push'](_0xe2b835['shift']());}}}(a21_0x4579,0xc77ea));const {requireModule,isTrue}=require(a21_0x488ca8(0x11f)),ObservabilityReporter=require('../test-observability/obsReporter'),RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),TestDetails=require(a21_0x488ca8(0xe9)),{patchConsoleLogger,debug}=require('../../../helpers/test-observability/utils'),{o11yErrorHandler}=require('../../../helpers/test-observability/error-handler'),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils'),testHubConstants=require('../../../helpers/testhub/constants'),BrowserstackCLI=require('../../v2/browserstackCLI'),TestFrameworkState=require('../../v2/state/testFrameworkState'),HookState=require(a21_0x488ca8(0x16d)),JestUtils=require(a21_0x488ca8(0x102)),{v4:uuidv4}=require('uuid'),util=require(a21_0x488ca8(0x1a1)),logger=require('../../../helpers/logger')[a21_0x488ca8(0x17f)],{FRAMEWORKS}=require(a21_0x488ca8(0x1db));let exportsI;try{exportsI=requireModule(a21_0x488ca8(0xfe),a21_0x488ca8(0x181));}catch{exportsI=requireModule(a21_0x488ca8(0x1cb),a21_0x488ca8(0x181));}const initInitialize=exportsI[a21_0x488ca8(0x12c)],jestUtils=new JestUtils(),_initializedPlatformIndices=new Set();let _currentTestPath=null;function getFullJestTestName(_0x2bdb9a){const _0x25a74b=a21_0x488ca8,_0x3d3ea7={};_0x3d3ea7[_0x25a74b(0x14d)]=function(_0x22bbe5,_0x483017){return _0x22bbe5!==_0x483017;},_0x3d3ea7[_0x25a74b(0x12e)]=_0x25a74b(0xf7);const _0x522075=_0x3d3ea7;try{const _0x40b1aa=[];let _0x3dffae=_0x2bdb9a;while(_0x3dffae){_0x3dffae[_0x25a74b(0x14f)]&&_0x522075['BJfRY'](_0x3dffae['name'],_0x522075['noEvp'])&&_0x40b1aa['unshift'](_0x3dffae[_0x25a74b(0x14f)]),_0x3dffae=_0x3dffae[_0x25a74b(0x10c)];}return _0x40b1aa[_0x25a74b(0x14b)]('\x20');}catch(_0x3b1ef2){return _0x2bdb9a&&_0x2bdb9a['name']||'';}}function getActiveTestNamePattern(){const _0x58eb56=a21_0x488ca8,_0x5130c0={'oPjeP':function(_0x1c3279,_0x24d862,_0xcd204c){return _0x1c3279(_0x24d862,_0xcd204c);},'hvHlU':_0x58eb56(0x195),'jXIAI':_0x58eb56(0x181),'EfPZD':function(_0x45bc32,_0x3f826e){return _0x45bc32(_0x3f826e);},'hnYoi':function(_0x28da15,_0x205765){return _0x28da15===_0x205765;},'hwqzu':_0x58eb56(0x147),'dfsvY':function(_0x275406,_0x1c17a0){return _0x275406 instanceof _0x1c17a0;},'SSlrh':'string','RFCeI':function(_0x5d98dd,_0x542c1f){return _0x5d98dd>_0x542c1f;},'sWVlO':function(_0x37afb5,_0x2ea4d6){return _0x37afb5<_0x2ea4d6;},'gJMaq':function(_0x342526,_0x296ba3){return _0x342526===_0x296ba3;},'tVEyL':_0x58eb56(0xf2),'kugYn':function(_0x5a965e,_0x4095e4){return _0x5a965e+_0x4095e4;},'lZSaW':'--testNamePattern=','nVGgs':'-t='};try{let _0x209e7a;try{_0x209e7a=_0x5130c0[_0x58eb56(0x194)](requireModule,_0x5130c0[_0x58eb56(0xe7)],_0x5130c0[_0x58eb56(0x1a7)]);}catch{_0x209e7a=_0x5130c0['EfPZD'](requireModule,_0x5130c0['jXIAI']);}if(_0x209e7a&&_0x5130c0['hnYoi'](typeof _0x209e7a[_0x58eb56(0xe0)],_0x5130c0[_0x58eb56(0x171)])){const _0x5b56fb=_0x209e7a[_0x58eb56(0xe0)]();if(_0x5b56fb&&_0x5b56fb['testNamePattern']){if(_0x5130c0[_0x58eb56(0x179)](_0x5b56fb[_0x58eb56(0x12a)],RegExp))return _0x5b56fb[_0x58eb56(0x12a)];if(_0x5130c0[_0x58eb56(0x193)](typeof _0x5b56fb[_0x58eb56(0x12a)],_0x5130c0[_0x58eb56(0x1da)])&&_0x5130c0[_0x58eb56(0xcd)](_0x5b56fb['testNamePattern'][_0x58eb56(0xcf)],0x0))return new RegExp(_0x5b56fb[_0x58eb56(0x12a)],'i');}}}catch(_0x579b42){}try{const _0x5aaafe=process[_0x58eb56(0x160)]||[];for(let _0xed5b3b=0x0;_0x5130c0['sWVlO'](_0xed5b3b,_0x5aaafe[_0x58eb56(0xcf)]);_0xed5b3b++){const _0x45892b=_0x5aaafe[_0xed5b3b];if(_0x5130c0[_0x58eb56(0x1a3)](_0x45892b,'-t')||_0x5130c0[_0x58eb56(0x1a3)](_0x45892b,_0x5130c0[_0x58eb56(0x16f)])){const _0x5e637e=_0x5aaafe[_0x5130c0[_0x58eb56(0xed)](_0xed5b3b,0x1)];if(_0x5e637e&&!_0x5e637e['startsWith']('-'))return new RegExp(_0x5e637e,'i');}else{if(_0x45892b&&(_0x45892b[_0x58eb56(0x127)](_0x5130c0[_0x58eb56(0x165)])||_0x45892b[_0x58eb56(0x127)](_0x5130c0['nVGgs']))){const _0x36e38f=_0x45892b[_0x58eb56(0x17e)]('=')[_0x58eb56(0x17a)](0x1)[_0x58eb56(0x14b)]('=');if(_0x36e38f)return new RegExp(_0x36e38f,'i');}}}}catch(_0xba23){}return null;}function isPhantomSkipFromNameFilter(_0x2eac48){const _0x5ac573=a21_0x488ca8,_0x3a86e6={'CSpBV':function(_0x3bf754){return _0x3bf754();},'RcQuD':function(_0x229fe0,_0x156bd0){return _0x229fe0(_0x156bd0);}},_0x5cc654=_0x3a86e6[_0x5ac573(0x1a9)](getActiveTestNamePattern);if(!_0x5cc654)return![];const _0x312761=_0x3a86e6[_0x5ac573(0xd1)](getFullJestTestName,_0x2eac48);if(!_0x312761)return![];return!_0x5cc654[_0x5ac573(0xf9)](_0x312761);}async function isCLIReady(){const _0x3f522a=a21_0x488ca8,_0x4e014d={'guseP':_0x3f522a(0xdf),'IRuzU':function(_0x4fad14,_0x1da98e){return _0x4fad14(_0x1da98e);},'gGtyD':_0x3f522a(0x158),'pBrqa':function(_0x4f88eb,_0x232234){return _0x4f88eb===_0x232234;},'ViDsj':'true'};try{const _0x4237bc=BrowserstackCLI[_0x3f522a(0x1ac)]();if(_0x4237bc[_0x3f522a(0x145)]()&&_0x4237bc['isRunning']())return logger[_0x3f522a(0x1ce)](_0x4e014d[_0x3f522a(0x10f)]),!![];const _0x1c1226=process['env'][_0x3f522a(0xd0)];if(_0x1c1226&&_0x4237bc[_0x3f522a(0x145)]()){if(!_0x4237bc[_0x3f522a(0x16a)]())try{const _0x69dcdd=_0x4e014d[_0x3f522a(0x16b)](require,_0x4e014d[_0x3f522a(0x175)]),_0x628100=_0x69dcdd[_0x3f522a(0xd7)]();(!_0x628100||!_0x628100[_0x3f522a(0x14f)])&&(_0x4e014d[_0x3f522a(0x191)](process[_0x3f522a(0x15b)][_0x3f522a(0xff)],_0x4e014d[_0x3f522a(0x1d8)])?_0x69dcdd[_0x3f522a(0x1c4)](FRAMEWORKS[_0x3f522a(0x1c3)],FRAMEWORKS['PUPPETEER']):_0x69dcdd['setFrameworkDetail'](FRAMEWORKS['JEST'],FRAMEWORKS[_0x3f522a(0xd3)])),await _0x4237bc['bootstrap']();}catch(_0x21e9a4){return _0x4e014d[_0x3f522a(0x16b)](debug,_0x3f522a(0x117)+util[_0x3f522a(0x1b4)](_0x21e9a4)),![];}return _0x4237bc[_0x3f522a(0x16a)]();}return![];}catch(_0x2ef641){return _0x4e014d['IRuzU'](debug,_0x3f522a(0x19b)+util[_0x3f522a(0x1b4)](_0x2ef641)),![];}}function getTestIdentifierForHook(_0x1d6277){const _0x5b43eb=a21_0x488ca8,_0x57ab02={};_0x57ab02['MGJZI']=function(_0x3bc847,_0x2b0c0a){return _0x3bc847===_0x2b0c0a;},_0x57ab02['ORvCS']='beforeEach',_0x57ab02[_0x5b43eb(0x162)]=_0x5b43eb(0x18c),_0x57ab02['QeRHv']=function(_0x51862d,_0x23fe1a){return _0x51862d===_0x23fe1a;};const _0x331376=_0x57ab02;if(_0x331376[_0x5b43eb(0xce)](_0x1d6277[_0x5b43eb(0x149)],_0x331376[_0x5b43eb(0x1d9)])||_0x331376[_0x5b43eb(0xce)](_0x1d6277[_0x5b43eb(0x149)],_0x331376[_0x5b43eb(0x162)])){let _0x4a4755=global[_0x5b43eb(0x1a5)];if(!_0x4a4755&&_0x331376['QeRHv'](_0x1d6277[_0x5b43eb(0x149)],_0x331376[_0x5b43eb(0x162)])&&_0x1d6277[_0x5b43eb(0x10c)]){const _0x444c6c={};_0x444c6c['name']=_0x1d6277['parent'][_0x5b43eb(0x14f)],_0x444c6c[_0x5b43eb(0x10c)]=_0x1d6277[_0x5b43eb(0x10c)]['parent'],_0x444c6c[_0x5b43eb(0x1d7)]=_0x1d6277[_0x5b43eb(0x1d7)],_0x444c6c[_0x5b43eb(0x120)]=_0x1d6277[_0x5b43eb(0x120)];const _0x40f63e=_0x444c6c;_0x4a4755=jestUtils[_0x5b43eb(0x1c1)](_0x40f63e);}return _0x4a4755;}return global[_0x5b43eb(0x1a5)];}function mapHookTypeToState(_0x5b7a69){const _0x3efff1=a21_0x488ca8,_0x40a6eb={};_0x40a6eb[_0x3efff1(0x18c)]=TestFrameworkState[_0x3efff1(0x151)],_0x40a6eb[_0x3efff1(0xfa)]=TestFrameworkState[_0x3efff1(0xe8)],_0x40a6eb[_0x3efff1(0x18d)]=TestFrameworkState[_0x3efff1(0xe2)],_0x40a6eb[_0x3efff1(0x118)]=TestFrameworkState[_0x3efff1(0x142)];const _0x140b84=_0x40a6eb;return _0x140b84[_0x5b7a69]||TestFrameworkState['BEFORE_EACH'];}async function handleHookEventCLI(_0x38ebe3,_0x7a5b5f,_0x1a25b3){const _0x5aaa12=a21_0x488ca8,_0x923776={'pUijA':function(_0x28a547,_0xd45473){return _0x28a547(_0xd45473);},'XWHXx':_0x5aaa12(0x14c),'kGnXN':function(_0x3e6465,_0xb7c824){return _0x3e6465===_0xb7c824;},'wPQep':_0x5aaa12(0xf7),'UnBEH':function(_0x971d73){return _0x971d73();},'qZEED':function(_0x21eea5,_0x4ac993){return _0x21eea5===_0x4ac993;},'ohEuu':'HookRunStarted','viAnB':function(_0x341a46,_0x35f5bd){return _0x341a46===_0x35f5bd;},'ecUUb':function(_0x18c1f5,_0x355fc5){return _0x18c1f5(_0x355fc5);},'jrcqA':function(_0x3bb4b8,_0x115581){return _0x3bb4b8===_0x115581;},'yGjtg':_0x5aaa12(0xf4),'HitgF':'hook','fLdek':function(_0x519548,_0x39c870){return _0x519548===_0x39c870;}};logger['debug'](_0x5aaa12(0x186)+_0x7a5b5f+_0x5aaa12(0x155)+_0x38ebe3[_0x5aaa12(0x149)]);try{if(_0x38ebe3['fn']&&_0x38ebe3['fn'][_0x5aaa12(0x1ae)]()[_0x5aaa12(0x103)](/browserstack internal helper hook/))return;if(_0x38ebe3[_0x5aaa12(0x10c)]&&_0x923776['kGnXN'](_0x38ebe3['parent'][_0x5aaa12(0x14f)],_0x923776[_0x5aaa12(0x14e)])){const _0x535140=_0x38ebe3['asyncError']&&((()=>{const _0x5c6590=_0x5aaa12;try{const _0xe8b038=_0x923776[_0x5c6590(0x11a)](require,_0x923776[_0x5c6590(0x1b6)]),_0x2bdc5e=_0xe8b038[_0x5c6590(0x100)][_0x5c6590(0x1c0)](_0xe8b038,_0x38ebe3[_0x5c6590(0x1d7)]);return _0x2bdc5e[0x0]&&_0x2bdc5e[0x0][_0x5c6590(0x172)]?_0x2bdc5e[0x0][_0x5c6590(0x172)]():null;}catch(_0x37c1be){return logger[_0x5c6590(0x1ce)](_0x5c6590(0x19f)+_0x37c1be[_0x5c6590(0x1aa)]),null;}})())||_0x38ebe3[_0x5aaa12(0x120)]||null;if(!_0x535140)return;}let _0x53037e=_0x38ebe3[_0x5aaa12(0x12d)];if(!_0x53037e)_0x53037e=_0x923776[_0x5aaa12(0xe1)](uuidv4),_0x38ebe3[_0x5aaa12(0x12d)]=_0x53037e;else _0x38ebe3[_0x5aaa12(0x180)]&&(_0x53037e=_0x923776[_0x5aaa12(0xe1)](uuidv4),_0x38ebe3[_0x5aaa12(0x12d)]=_0x53037e,delete _0x38ebe3['markedStatus']);_0x923776[_0x5aaa12(0x1c9)](_0x7a5b5f,_0x923776[_0x5aaa12(0xe5)])&&(_0x38ebe3[_0x5aaa12(0xe6)]=new Date()[_0x5aaa12(0x113)]());const _0x445c54=_0x923776[_0x5aaa12(0x11a)](getTestIdentifierForHook,_0x38ebe3);!global[_0x5aaa12(0x141)]&&(global[_0x5aaa12(0x141)]={});if(_0x923776[_0x5aaa12(0x1bd)](_0x7a5b5f,_0x923776[_0x5aaa12(0xe5)])){global[_0x5aaa12(0x141)][_0x5aaa12(0x19d)]={'hookUUID':_0x53037e,'testIdentifier':_0x445c54,'hookType':_0x38ebe3[_0x5aaa12(0x149)],'startedAt':new Date()[_0x5aaa12(0x113)]()};const _0x41290f=BrowserstackCLI[_0x5aaa12(0x1ac)]()[_0x5aaa12(0x1ca)]();_0x41290f&&_0x41290f[_0x5aaa12(0xd6)]&&_0x41290f[_0x5aaa12(0xd6)](_0x445c54,_0x53037e,_0x38ebe3[_0x5aaa12(0x149)]);}const _0x5ece62=await jestUtils[_0x5aaa12(0xcc)](_0x38ebe3,_0x53037e,_0x7a5b5f,_0x445c54);if(!_0x5ece62)return;const _0x45aa6b=_0x923776[_0x5aaa12(0x101)](mapHookTypeToState,_0x38ebe3[_0x5aaa12(0x149)]),_0x554d1d=_0x923776[_0x5aaa12(0x16c)](_0x7a5b5f,_0x923776[_0x5aaa12(0xe5)])?HookState[_0x5aaa12(0x1cf)]:HookState['POST'],_0x445e40=BrowserstackCLI['getInstance']()[_0x5aaa12(0x1ca)]();if(_0x445e40){const _0x7af1f2={};_0x7af1f2[_0x5aaa12(0x135)]=_0x5ece62,await _0x445e40[_0x5aaa12(0x17b)](_0x45aa6b,_0x554d1d,_0x7af1f2);if(_0x923776[_0x5aaa12(0x1c9)](_0x7a5b5f,_0x923776[_0x5aaa12(0x1a2)])){const _0x5d7953={};_0x5d7953[_0x5aaa12(0x157)]=_0x445c54,_0x5d7953[_0x5aaa12(0x149)]=_0x923776[_0x5aaa12(0x12b)],await _0x445e40[_0x5aaa12(0x17b)](TestFrameworkState[_0x5aaa12(0x10d)],HookState[_0x5aaa12(0x189)],_0x5d7953),global[_0x5aaa12(0x141)]&&global[_0x5aaa12(0x141)][_0x5aaa12(0x19d)]&&_0x923776[_0x5aaa12(0x197)](global['__workerDetails'][_0x5aaa12(0x19d)][_0x5aaa12(0x122)],_0x53037e)&&delete global[_0x5aaa12(0x141)][_0x5aaa12(0x19d)],_0x445e40[_0x5aaa12(0x114)]&&_0x445e40[_0x5aaa12(0x114)](_0x445c54,_0x53037e);}}}catch(_0x50cea5){logger['error']('Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20'+util['format'](_0x50cea5));throw _0x50cea5;}}function a21_0x4579(){const _0x2e0dde=['removeTestUUID','eAdrJ','YwjTV','startsWith','fail','EVENT','testNamePattern','HitgF','initialize','hookAnalyticsId','noEvp','UQjxa','[customJestAdapterInit]\x20Error\x20building\x20test\x20name:\x20','BROWSERSTACK_PLATFORM_INDEX','createTestFrameworkData','HrBEb','keys','hookData','vcjZV','TestRunFinished','CMzlx','byNBk','_bstackTestFailureReason','ihtjP','rnmWw','Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20','zCLxK','current_test','_currentRetry','__workerDetails','AFTER_EACH','testInfo','EventHandler','isCliEnabled','errors','function','xgwWZ','type','config','join','stack-trace','BJfRY','wPQep','name','qTtPo','BEFORE_ALL','157107vAAXeA','map','bCylx','\x20for\x20hook\x20type:\x20','eOseZ','testUUID','../../v2/cliUtils','HxZTr','add','env','hook_success','yeIpy','isPhantomSkipFromNameFilter','setTestUUID','argv','pmPBB','AQxrZ','RFGor','yXYfK','lZSaW','foFKQ',':hookAnalyticsId','Xaqtf','title','isRunning','IRuzU','jrcqA','../../v2/state/hookState',',\x20re-registering\x20event\x20handler','tVEyL','getActiveTestNamePattern','hwqzu','getFileName','XMTCm','nOtwH','gGtyD','nDtCb','LkEGz','zGijJ','dfsvY','slice','trackEvent','qjWiJ','7341790CCFixX','split','winstonLogger','markedStatus','jest-circus','ziBtn',',\x20BROWSERSTACK_PUPPETEER=','configuration','WULKo','Handling\x20hook\x20event\x20for\x20CLI:\x20','blrPB','has','POST','failed','retryOf','beforeAll','beforeEach','_bstackTestName','currentTest','VgFXt','pBrqa','jestConfig','hnYoi','oPjeP','jest-circus/build/state.js','[customJestAdapterInit]\x20Initializing\x20for\x20platformIndex=','fLdek','TALES','Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20','319cuIaPm','Error\x20checking\x20CLI\x20readiness:\x20','tepep','currentHook','oQVZW','Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20','hook','util','yGjtg','gJMaq','makeSingleTestResult','__jestCurrentTestIdentifier','pid','jXIAI','393715UtjJJQ','CSpBV','message','sAcTx','getInstance','vXnEQ','toString','wqOHA','__bstackPlatformIndex','passed','removeAllListeners','lHmvU','format','__rerunFilterHelpers','XWHXx','Zzvkd','CrblA','dvUKg','addEventHandler','[customJestAdapterInit]\x20initialize\x20called,\x20shouldProcessEventForTesthub=','vOUoH','viAnB','flIlS','[customJestAdapterInit]\x20Set\x20test\x20status:\x20\x22','call','createIdentifierFromJestTest','\x20>\x20','JEST','setFrameworkDetail','[Rerun]\x20Suppressed\x20phantom\x20TestRunStarted\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22','MQofh','test_skip','shutdown','qZEED','getTestFramework','jest-circus/build/jestAdapterInit.js','isArray','[customJestAdapterInit]\x20Error\x20in\x20test_done\x20status\x20storage:\x20','debug','PRE','TEST','Handling\x20test\x20event\x20for\x20CLI:\x20','WpftL','hook_failure','7672vrqauZ','test_start','1719reEync','asyncError','ViDsj','ORvCS','SSlrh','../../utils/constants','testIdentifier','browserstackPlatformIndex','Error\x20handling\x20test\x20event\x20for\x20CLI:\x20','Error\x20routing\x20to\x20JestTestFramework:\x20','fTyLU','unhandledErrors','createHookData','RFCeI','MGJZI','length','BROWSERSTACK_CLI_BIN_SESSION_ID','RcQuD','zOgdV','PLAYWRIGHT','forEach','getFullJestTestName','setActiveHook','getAutomationFrameworkDetail','104XWhMgZ','vvSMp','error','hgBMW','status','nWxiT','42zKuRRl','CLI\x20is\x20enabled\x20and\x20running.','getState','UnBEH','BEFORE_EACH','[customJestAdapterInit]\x20Set\x20test\x20name:\x20\x22','MATzo','ohEuu','started_at','hvHlU','AFTER_ALL','../test-observability/test-details','BROWSERSTACK_RERUN','testAnalyticsId','jest-circus/build/utils.js','kugYn','MnXKo','HookFinished','vkKPP','sendTestRunEvent','--testNamePattern','NJAfk','HookRunFinished','tQaMP','328220CXnswo','ROOT_DESCRIBE_BLOCK','Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20','test','afterAll','HookRunStarted','[customJestAdapterInit]\x20Skipping\x20heavy\x20init\x20for\x20platformIndex=','KSkaL','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','BROWSERSTACK_PUPPETEER','parse','ecUUb','../../v2/utils/jest-utils','match','HookStarted','_bstackTestStatus','hook_start','3qKRcaS','[Rerun]\x20Suppressed\x20phantom\x20TestRunSkipped\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22','testPath','fBYeh','626102luKWNg','parent','LOG_REPORT','hzxfA','guseP','PqHrA','TestRunSkipped','includes','toISOString','removeActiveHook','ugZdg','oCQxd','Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20','afterEach','1754004dBMLQh','pUijA','gHZCT','STBRn','[Rerun]\x20Suppressed\x20phantom\x20TestRunFinished\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22','ryLzl','../../../helpers/helper','file','TwRBL','hookUUID','LJkpf'];a21_0x4579=function(){return _0x2e0dde;};return a21_0x4579();}function a21_0x4ab7(_0x6d2e84,_0x597ab1){const _0x457998=a21_0x4579();return a21_0x4ab7=function(_0x4ab72a,_0x52ab8b){_0x4ab72a=_0x4ab72a-0xc7;let _0x1291e2=_0x457998[_0x4ab72a];return _0x1291e2;},a21_0x4ab7(_0x6d2e84,_0x597ab1);}async function handleTestEventCLI(_0xcdeaf0,_0x14fcae,_0x2f5915){const _0x4cfb9d=a21_0x488ca8,_0x2f346b={};_0x2f346b[_0x4cfb9d(0x185)]=function(_0x63f7f3,_0x4a51f0){return _0x63f7f3===_0x4a51f0;},_0x2f346b[_0x4cfb9d(0x1c6)]='TestRunStarted',_0x2f346b['mgVNZ']=function(_0x3d5d64,_0x4c8658){return _0x3d5d64>_0x4c8658;},_0x2f346b[_0x4cfb9d(0xfd)]=function(_0x2ab1ef,_0x2e9c26){return _0x2ab1ef===_0x2e9c26;},_0x2f346b[_0x4cfb9d(0x123)]=function(_0x33a722,_0x370c4d){return _0x33a722&&_0x370c4d;},_0x2f346b[_0x4cfb9d(0x1b8)]=_0x4cfb9d(0x18a),_0x2f346b['qjWiJ']=_0x4cfb9d(0x137),_0x2f346b[_0x4cfb9d(0xdb)]=function(_0x3302cf,_0x149275){return _0x3302cf&&_0x149275;},_0x2f346b[_0x4cfb9d(0x1be)]=function(_0x2a7a1b,_0xa6499f){return _0x2a7a1b&&_0xa6499f;},_0x2f346b['rnmWw']=_0x4cfb9d(0xf9);const _0x15c6fd=_0x2f346b;logger['debug'](_0x4cfb9d(0x1d1)+_0x14fcae);try{let _0x4b41ad;if(_0x15c6fd[_0x4cfb9d(0x185)](_0x14fcae,_0x15c6fd[_0x4cfb9d(0x1c6)])){_0x4b41ad=jestUtils['createIdentifierFromJestTest'](_0xcdeaf0),global[_0x4cfb9d(0x1a5)]=_0x4b41ad,_0xcdeaf0[_0x4cfb9d(0xeb)]=_0x4b41ad,_0xcdeaf0['id']=_0x4b41ad,_0xcdeaf0[_0x4cfb9d(0xe6)]=new Date()[_0x4cfb9d(0x113)]();const _0x2a84e7=_0x2f5915['current_test'];_0x2f5915[_0x4cfb9d(0x13f)]=_0xcdeaf0,_0xcdeaf0[_0x4cfb9d(0x18b)]=null;if(_0x15c6fd['mgVNZ'](_0xcdeaf0[_0x4cfb9d(0x140)],0x0)&&_0x2a84e7&&_0x15c6fd['KSkaL'](_0x2a84e7[_0x4cfb9d(0x169)],_0xcdeaf0['title'])){_0xcdeaf0['retryOf']=_0x2a84e7[_0x4cfb9d(0xeb)];const _0x2ce77e=await jestUtils[_0x4cfb9d(0x132)](_0xcdeaf0,_0x4b41ad,_0x15c6fd[_0x4cfb9d(0x1c6)]),_0x45cbb3=BrowserstackCLI['getInstance']()[_0x4cfb9d(0x1ca)]();if(_0x15c6fd[_0x4cfb9d(0x123)](_0x2ce77e,_0x45cbb3)){const _0x4b86c8={};_0x4b86c8['test']=_0x2ce77e,await _0x45cbb3[_0x4cfb9d(0x17b)](TestFrameworkState['TEST'],HookState[_0x4cfb9d(0x1cf)],_0x4b86c8);}_0x2a84e7['state']=_0x15c6fd[_0x4cfb9d(0x1b8)];const _0x261b3e=await jestUtils[_0x4cfb9d(0x132)](_0x2a84e7,_0x2a84e7[_0x4cfb9d(0xeb)],_0x15c6fd[_0x4cfb9d(0x17c)]);if(_0x15c6fd[_0x4cfb9d(0xdb)](_0x261b3e,_0x45cbb3)){const _0x19c0b1={};_0x19c0b1[_0x4cfb9d(0xf9)]=_0x261b3e,await _0x45cbb3['trackEvent'](TestFrameworkState['TEST'],HookState[_0x4cfb9d(0x189)],_0x19c0b1);}}else{const _0x36de90=await jestUtils[_0x4cfb9d(0x132)](_0xcdeaf0,_0x4b41ad,_0x15c6fd[_0x4cfb9d(0x1c6)]),_0x1fa6f6=BrowserstackCLI[_0x4cfb9d(0x1ac)]()['getTestFramework']();if(_0x15c6fd[_0x4cfb9d(0x1be)](_0x36de90,_0x1fa6f6)){const _0x563a0b={};_0x563a0b[_0x4cfb9d(0xf9)]=_0x36de90,await _0x1fa6f6[_0x4cfb9d(0x17b)](TestFrameworkState[_0x4cfb9d(0x1d0)],HookState[_0x4cfb9d(0x1cf)],_0x563a0b);}}}else{_0x4b41ad=_0xcdeaf0[_0x4cfb9d(0xeb)]||_0xcdeaf0['id']||global[_0x4cfb9d(0x1a5)];const _0x4a3a7c=await jestUtils['createTestFrameworkData'](_0xcdeaf0,_0x4b41ad,_0x14fcae),_0x48c730=BrowserstackCLI[_0x4cfb9d(0x1ac)]()[_0x4cfb9d(0x1ca)]();if(_0x15c6fd[_0x4cfb9d(0xdb)](_0x4a3a7c,_0x48c730)){const _0x4dbdc5={};_0x4dbdc5[_0x4cfb9d(0xf9)]=_0x4a3a7c,_0x4dbdc5['originalTest']=_0xcdeaf0,_0x4dbdc5[_0x4cfb9d(0x1dc)]=_0x4b41ad,await _0x48c730[_0x4cfb9d(0x17b)](TestFrameworkState[_0x4cfb9d(0x1d0)],HookState[_0x4cfb9d(0x189)],_0x4dbdc5);const _0x4015fd={};_0x4015fd[_0x4cfb9d(0x157)]=_0x4b41ad,_0x4015fd['type']=_0x15c6fd[_0x4cfb9d(0x13c)],await _0x48c730['trackEvent'](TestFrameworkState[_0x4cfb9d(0x10d)],HookState[_0x4cfb9d(0x189)],_0x4015fd);}}}catch(_0x480de1){logger[_0x4cfb9d(0xda)](_0x4cfb9d(0xc8)+util[_0x4cfb9d(0x1b4)](_0x480de1));throw _0x480de1;}}exportsI['initialize']=(..._0x41d259)=>{const _0x437e1f=a21_0x488ca8,_0x461546={'vkKPP':function(_0x11ba01,_0x13ac4b){return _0x11ba01(_0x13ac4b);},'xgwWZ':_0x437e1f(0x14c),'diRNY':function(_0x541b1e,_0x178d9c){return _0x541b1e(_0x178d9c);},'HrBEb':function(_0x2bc5f4,_0x2f8d3f){return _0x2bc5f4&&_0x2f8d3f;},'wqOHA':_0x437e1f(0x106),'dvUKg':function(_0xf188be,_0x105ebe){return _0xf188be===_0x105ebe;},'Zzvkd':'ROOT_DESCRIBE_BLOCK','WpftL':function(_0x3b8997){return _0x3b8997();},'eAdrJ':function(_0x596895,_0x4623ea){return _0x596895(_0x4623ea);},'hzxfA':function(_0x39d009,_0x3c230d,_0x50bbf4,_0x3e2934){return _0x39d009(_0x3c230d,_0x50bbf4,_0x3e2934);},'oCQxd':_0x437e1f(0xfb),'CMzlx':function(_0x319a3f,_0x2a99b0){return _0x319a3f(_0x2a99b0);},'qIqro':_0x437e1f(0x15c),'qTtPo':function(_0x11ae00){return _0x11ae00();},'lHmvU':function(_0x572d1b,_0x3dba27,_0x306d3f,_0x509b3f){return _0x572d1b(_0x3dba27,_0x306d3f,_0x509b3f);},'fTyLU':_0x437e1f(0xf4),'IlUul':_0x437e1f(0x1d3),'YwjTV':_0x437e1f(0x18c),'nWxiT':'beforeEach','VuqTo':_0x437e1f(0x118),'MnXKo':function(_0x254852,_0x51799d){return _0x254852>_0x51799d;},'VgFXt':function(_0x22e11e,_0x50ecc9){return _0x22e11e(_0x50ecc9);},'PqHrA':function(_0x3b925e,_0x25fbde,_0x2aa14c,_0x4457aa){return _0x3b925e(_0x25fbde,_0x2aa14c,_0x4457aa);},'ryLzl':function(_0x462cec,_0x3c33f5){return _0x462cec(_0x3c33f5);},'MATzo':_0x437e1f(0x1d5),'ZFlwB':function(_0xaec700,_0x272f1c){return _0xaec700!==_0x272f1c;},'pmPBB':_0x437e1f(0x1c2),'yeIpy':function(_0x2d499b,_0x40d018,_0x3292f6,_0x3d3bfd){return _0x2d499b(_0x40d018,_0x3292f6,_0x3d3bfd);},'foFKQ':'TestRunStarted','DSUZx':function(_0x594a62,_0x4f3f82){return _0x594a62(_0x4f3f82);},'ihtjP':function(_0x59545a){return _0x59545a();},'tepep':'test_done','oQVZW':function(_0x484f6c,_0x18bfbe){return _0x484f6c(_0x18bfbe);},'UQjxa':function(_0x394532,_0xbec27a){return _0x394532(_0xbec27a);},'zCLxK':function(_0x1de9f9,_0xee6315){return _0x1de9f9(_0xee6315);},'TwRBL':function(_0x2daa4e,_0x787f2d){return _0x2daa4e>_0x787f2d;},'gHZCT':_0x437e1f(0x128),'yXYfK':_0x437e1f(0x18a),'CjvBx':_0x437e1f(0x1b1),'dUvnu':function(_0x50afee,_0x5effcb){return _0x50afee||_0x5effcb;},'vcjZV':function(_0x57325b){return _0x57325b();},'hVHtX':function(_0x4ec189,_0x3541bb,_0x477e3e,_0xfc642f){return _0x4ec189(_0x3541bb,_0x477e3e,_0xfc642f);},'HxZTr':_0x437e1f(0x137),'Xaqtf':function(_0x494558){return _0x494558();},'uqXdJ':_0x437e1f(0x1c7),'XMTCm':function(_0x450215,_0x3fa9e9){return _0x450215(_0x3fa9e9);},'ssaCz':function(_0x3e338c){return _0x3e338c();},'ziBtn':function(_0x3a5049,_0x1458ef,_0x1dab2d,_0x3be4a9){return _0x3a5049(_0x1458ef,_0x1dab2d,_0x3be4a9);},'vvSMp':_0x437e1f(0x111),'STBRn':function(_0x36a513){return _0x36a513();},'cmUdf':'run_describe_finish','zGijJ':'teardown','zOgdV':function(_0x59d361,_0x27ba03){return _0x59d361===_0x27ba03;},'Fiqhz':'string','vOUoH':function(_0x943762,_0x561372){return _0x943762===_0x561372;},'ugZdg':'number','NJAfk':function(_0x3a3f79,_0x1eb584){return _0x3a3f79===_0x1eb584;},'vXnEQ':function(_0x34b152,_0x1c7814){return _0x34b152===_0x1c7814;},'EInQY':function(_0xffaee6,_0x24949b){return _0xffaee6(_0x24949b);},'tQaMP':function(_0x2febc3){return _0x2febc3();},'nOtwH':function(_0x33508f){return _0x33508f();},'eOseZ':function(_0x4e1cdb,_0x25e8bc,_0x50dd2c){return _0x4e1cdb(_0x25e8bc,_0x50dd2c);},'ENjMU':_0x437e1f(0x195),'RFGor':'jest-circus','bCylx':function(_0x143a7a,_0x2aa3df,_0x2b7ba8){return _0x143a7a(_0x2aa3df,_0x2b7ba8);},'TALES':_0x437e1f(0xec),'byNBk':function(_0x48e131,_0x4cf095){return _0x48e131(_0x4cf095);},'LkEGz':function(_0x11d5b5){return _0x11d5b5();},'liwFG':_0x437e1f(0x144),'sAcTx':function(_0x4d2aca,_0x1eaa61){return _0x4d2aca(_0x1eaa61);},'blrPB':function(_0x73679d,..._0x2a9787){return _0x73679d(..._0x2a9787);}};try{logger[_0x437e1f(0x1ce)](_0x437e1f(0x1bb)+_0x461546[_0x437e1f(0x168)](shouldProcessEventForTesthub)+_0x437e1f(0x183)+process[_0x437e1f(0x15b)][_0x437e1f(0xff)]);const _0x5f3c32=_0x41d259&&_0x41d259[0x0]?_0x41d259[0x0]:{};_0x5f3c32&&_0x461546[_0x437e1f(0xd2)](typeof _0x5f3c32[_0x437e1f(0x109)],_0x461546['Fiqhz'])&&_0x5f3c32[_0x437e1f(0x109)]&&(_currentTestPath=_0x5f3c32[_0x437e1f(0x109)]);let _0x71f2a7=0x0;try{if(_0x5f3c32['config']&&_0x461546[_0x437e1f(0x1bc)](typeof _0x5f3c32[_0x437e1f(0x14a)][_0x437e1f(0xc7)],_0x461546[_0x437e1f(0x115)]))_0x71f2a7=_0x5f3c32['config']['browserstackPlatformIndex'];else{if(_0x5f3c32[_0x437e1f(0x184)]&&_0x461546[_0x437e1f(0xf3)](typeof _0x5f3c32[_0x437e1f(0x184)]['browserstackPlatformIndex'],_0x461546[_0x437e1f(0x115)]))_0x71f2a7=_0x5f3c32[_0x437e1f(0x184)][_0x437e1f(0xc7)];else global[_0x437e1f(0x192)]&&_0x461546[_0x437e1f(0x1ad)](typeof global[_0x437e1f(0x192)][_0x437e1f(0xc7)],_0x461546['ugZdg'])&&(_0x71f2a7=global['jestConfig'][_0x437e1f(0xc7)]);}}catch(_0x25a673){logger['debug']('Error\x20reading\x20platformIndex\x20from\x20args:\x20'+util[_0x437e1f(0x1b4)](_0x25a673));}global[_0x437e1f(0x1b0)]=_0x71f2a7,process['env'][_0x437e1f(0x131)]=_0x461546['EInQY'](String,_0x71f2a7);const _0x39c05c=new ObservabilityReporter();!_initializedPlatformIndices[_0x437e1f(0x188)](_0x71f2a7)?(logger['debug'](_0x437e1f(0x196)+_0x71f2a7),_initializedPlatformIndices[_0x437e1f(0x15a)](_0x71f2a7),_0x461546[_0x437e1f(0xf5)](shouldProcessEventForTesthub)&&(_0x461546[_0x437e1f(0x174)](patchConsoleLogger),_0x39c05c['registerListeners']())):logger[_0x437e1f(0x1ce)](_0x437e1f(0xfc)+_0x71f2a7+_0x437e1f(0x16e));let _0x53d393;try{_0x53d393=_0x461546['eOseZ'](requireModule,_0x461546['ENjMU'],_0x461546[_0x437e1f(0x163)]);}catch{_0x53d393=_0x461546[_0x437e1f(0x173)](requireModule,_0x461546[_0x437e1f(0x163)]);}let _0x47722c;try{_0x47722c=_0x461546[_0x437e1f(0x154)](requireModule,_0x461546[_0x437e1f(0x198)],_0x461546['RFGor'])[_0x437e1f(0x1a4)];}catch{_0x47722c=_0x461546[_0x437e1f(0x139)](requireModule,_0x461546[_0x437e1f(0x163)])[_0x437e1f(0x1a4)]||(()=>({}));}const _0x419fc3=BrowserstackCLI[_0x437e1f(0x1ac)]()['isCliEnabled']();(_0x461546[_0x437e1f(0x177)](shouldProcessEventForTesthub)||_0x419fc3)&&_0x53d393[_0x437e1f(0x1ba)](_0x461546[_0x437e1f(0x156)](o11yErrorHandler,async(_0x210dd2,_0x49aa39)=>{const _0x49a8d6=_0x437e1f,_0x4e8e6b={'fBYeh':function(_0x26b7a8,_0x1950b3){return _0x461546['diRNY'](_0x26b7a8,_0x1950b3);}};_0x461546[_0x49a8d6(0x133)](_currentTestPath,_0x210dd2)&&_0x210dd2[_0x49a8d6(0xf9)]&&!_0x210dd2[_0x49a8d6(0xf9)][_0x49a8d6(0x120)]&&(_0x210dd2[_0x49a8d6(0xf9)][_0x49a8d6(0x120)]=_currentTestPath);switch(_0x210dd2['name']){case _0x461546[_0x49a8d6(0x1af)]:if(_0x210dd2[_0x49a8d6(0x1a0)]['fn']&&_0x210dd2[_0x49a8d6(0x1a0)]['fn'][_0x49a8d6(0x1ae)]()['match'](/browserstack internal helper hook/))break;if(_0x210dd2['hook']['parent']&&_0x461546[_0x49a8d6(0x1b9)](_0x210dd2[_0x49a8d6(0x1a0)][_0x49a8d6(0x10c)][_0x49a8d6(0x14f)],_0x461546[_0x49a8d6(0x1b7)])){const _0x297f12=_0x210dd2[_0x49a8d6(0x1a0)][_0x49a8d6(0x1d7)]&&((()=>{const _0x4b52d8=_0x49a8d6;try{const _0x1b3633=_0x461546['vkKPP'](require,_0x461546[_0x4b52d8(0x148)]),_0x5994e7=_0x1b3633[_0x4b52d8(0x100)]['call'](_0x1b3633,_0x210dd2[_0x4b52d8(0x1a0)][_0x4b52d8(0x1d7)]);return _0x5994e7[0x0]&&_0x5994e7[0x0][_0x4b52d8(0x172)]?_0x5994e7[0x0][_0x4b52d8(0x172)]():null;}catch(_0x1a47af){return logger['debug'](_0x4b52d8(0x19f)+_0x1a47af[_0x4b52d8(0x1aa)]),null;}})())||_0x210dd2[_0x49a8d6(0x1a0)]['file']||null;if(!_0x297f12)break;}if(BrowserstackCLI[_0x49a8d6(0x1ac)]()['isCliEnabled']()&&await _0x461546[_0x49a8d6(0x1d2)](isCLIReady)){if(_0x461546[_0x49a8d6(0x125)](shouldProcessEventForTesthub,testHubConstants[_0x49a8d6(0x129)]['HookStarted']))try{await _0x461546[_0x49a8d6(0x10e)](handleHookEventCLI,_0x210dd2[_0x49a8d6(0x1a0)],_0x461546[_0x49a8d6(0x116)],_0x49aa39);break;}catch(_0x403e5b){_0x461546[_0x49a8d6(0x138)](debug,_0x49a8d6(0xc9)+util[_0x49a8d6(0x1b4)](_0x403e5b));}}if(_0x461546[_0x49a8d6(0x138)](shouldProcessEventForTesthub,testHubConstants[_0x49a8d6(0x129)][_0x49a8d6(0x104)])){if(!_0x210dd2[_0x49a8d6(0x1a0)][_0x49a8d6(0x12d)]){const _0x5b6948=TestDetails['setTestUUID'](process[_0x49a8d6(0x1a6)]+_0x49a8d6(0x167));_0x210dd2[_0x49a8d6(0x1a0)][_0x49a8d6(0x12d)]=_0x5b6948;}else _0x210dd2[_0x49a8d6(0x1a0)][_0x49a8d6(0x180)]&&(_0x210dd2['hook'][_0x49a8d6(0x12d)]=TestDetails[_0x49a8d6(0x15f)](process[_0x49a8d6(0x1a6)]+_0x49a8d6(0x167)),delete _0x210dd2['hook'][_0x49a8d6(0x180)]);_0x210dd2[_0x49a8d6(0x1a0)]['started_at']=new Date()[_0x49a8d6(0x113)](),await _0x39c05c[_0x49a8d6(0xf1)](_0x210dd2['hook'],undefined,![],_0x461546['oCQxd']);}break;case _0x461546['qIqro']:if(BrowserstackCLI['getInstance']()[_0x49a8d6(0x145)]()&&await _0x461546[_0x49a8d6(0x150)](isCLIReady)){if(_0x461546[_0x49a8d6(0x125)](shouldProcessEventForTesthub,testHubConstants[_0x49a8d6(0x129)][_0x49a8d6(0xef)]))try{await _0x461546[_0x49a8d6(0x1b3)](handleHookEventCLI,_0x210dd2[_0x49a8d6(0x1a0)],_0x461546[_0x49a8d6(0xca)],_0x49aa39);break;}catch(_0x5c8791){_0x461546[_0x49a8d6(0xf0)](debug,_0x49a8d6(0xc9)+util[_0x49a8d6(0x1b4)](_0x5c8791));}}_0x461546[_0x49a8d6(0x138)](shouldProcessEventForTesthub,testHubConstants[_0x49a8d6(0x129)][_0x49a8d6(0xef)])&&(await _0x39c05c[_0x49a8d6(0xf1)](_0x210dd2[_0x49a8d6(0x1a0)],undefined,![],_0x461546[_0x49a8d6(0xca)]),TestDetails[_0x49a8d6(0x124)](process['pid']+_0x49a8d6(0x167)));break;case _0x461546['IlUul']:[_0x461546[_0x49a8d6(0x126)],_0x461546[_0x49a8d6(0xdd)],_0x461546['VuqTo']][_0x49a8d6(0x112)](_0x210dd2[_0x49a8d6(0x1a0)][_0x49a8d6(0x149)])&&(_0x39c05c[_0x49a8d6(0x1d3)]=_0x210dd2[_0x49a8d6(0x1a0)][_0x49a8d6(0x149)]),_0x49aa39[_0x49a8d6(0xcb)]&&_0x461546[_0x49a8d6(0xee)](_0x49aa39['unhandledErrors'][_0x49a8d6(0xcf)],0x0)&&(_0x210dd2[_0x49a8d6(0x1a0)]['errorsDetailed']=[_0x49aa39[_0x49a8d6(0xcb)][0x0][0x0]]);if(BrowserstackCLI['getInstance']()[_0x49a8d6(0x145)]()&&await _0x461546[_0x49a8d6(0x1d2)](isCLIReady)){if(_0x461546[_0x49a8d6(0x190)](shouldProcessEventForTesthub,testHubConstants[_0x49a8d6(0x129)][_0x49a8d6(0xef)]))try{await _0x461546[_0x49a8d6(0x110)](handleHookEventCLI,_0x210dd2[_0x49a8d6(0x1a0)],_0x461546['fTyLU'],_0x49aa39);break;}catch(_0x42de01){_0x461546[_0x49a8d6(0x11e)](debug,_0x49a8d6(0xc9)+util[_0x49a8d6(0x1b4)](_0x42de01));}}_0x461546[_0x49a8d6(0xf0)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x49a8d6(0xef)])&&(await _0x39c05c[_0x49a8d6(0xf1)](_0x210dd2[_0x49a8d6(0x1a0)],undefined,![],_0x461546[_0x49a8d6(0xca)]),TestDetails[_0x49a8d6(0x124)](process['pid']+_0x49a8d6(0x167)));break;case _0x461546[_0x49a8d6(0xe4)]:if(_0x461546[_0x49a8d6(0x125)](isTrue,process[_0x49a8d6(0x15b)][_0x49a8d6(0xea)])&&_0x461546[_0x49a8d6(0x11e)](isPhantomSkipFromNameFilter,_0x210dd2[_0x49a8d6(0xf9)])){const _0x5bf90b=_0x461546[_0x49a8d6(0x11e)](getFullJestTestName,_0x210dd2[_0x49a8d6(0xf9)]);logger['debug'](_0x49a8d6(0x1c5)+_0x5bf90b+'\x22');break;}try{let _0x513eb5=_0x210dd2[_0x49a8d6(0xf9)]['name']||'';try{let _0x485fd1=_0x210dd2['test'][_0x49a8d6(0x10c)];const _0x1d501c=[_0x513eb5];while(_0x485fd1&&_0x485fd1['name']&&_0x461546['ZFlwB'](_0x485fd1['name'],_0x461546[_0x49a8d6(0x1b7)])){_0x1d501c['unshift'](_0x485fd1[_0x49a8d6(0x14f)]),_0x485fd1=_0x485fd1[_0x49a8d6(0x10c)];}_0x513eb5=_0x1d501c[_0x49a8d6(0x14b)](_0x461546[_0x49a8d6(0x161)]);}catch(_0x2b6476){logger[_0x49a8d6(0x1ce)](_0x49a8d6(0x130)+_0x2b6476[_0x49a8d6(0x1aa)]);}process[_0x49a8d6(0x18e)]=_0x513eb5,process[_0x49a8d6(0x105)]=null,process[_0x49a8d6(0x13a)]=null,logger[_0x49a8d6(0x1ce)](_0x49a8d6(0xe3)+_0x513eb5+'\x22');if(!global[_0x49a8d6(0x141)]){const _0x176413={};_0x176413['currentTest']={},global[_0x49a8d6(0x141)]=_0x176413;}!global['__workerDetails'][_0x49a8d6(0x18f)]&&(global['__workerDetails'][_0x49a8d6(0x18f)]={});const _0x112735={};_0x112735[_0x49a8d6(0x169)]=_0x513eb5,_0x112735[_0x49a8d6(0x14f)]=_0x513eb5,global['__workerDetails']['currentTest'][_0x49a8d6(0x143)]=_0x112735,global['browserstackTestName']=_0x513eb5;}catch(_0x229556){logger['debug']('[customJestAdapterInit]\x20Error\x20in\x20test_start\x20name\x20storage:\x20'+_0x229556['message']);}if(BrowserstackCLI[_0x49a8d6(0x1ac)]()[_0x49a8d6(0x145)]()&&await _0x461546['WpftL'](isCLIReady))try{await _0x461546[_0x49a8d6(0x15d)](handleTestEventCLI,_0x210dd2['test'],_0x461546[_0x49a8d6(0x166)],_0x39c05c);break;}catch(_0x5aea99){_0x461546['DSUZx'](debug,_0x49a8d6(0xc9)+util[_0x49a8d6(0x1b4)](_0x5aea99));}_0x461546[_0x49a8d6(0x13b)](shouldProcessEventForTesthub)&&await _0x39c05c['testStarted'](_0x210dd2[_0x49a8d6(0xf9)]);break;case _0x461546[_0x49a8d6(0x19c)]:{const _0x4eca5e=_0x210dd2[_0x49a8d6(0xf9)];if(_0x461546[_0x49a8d6(0x19e)](isTrue,process[_0x49a8d6(0x15b)][_0x49a8d6(0xea)])&&_0x461546[_0x49a8d6(0x12f)](isPhantomSkipFromNameFilter,_0x4eca5e)){const _0x31717d=_0x461546['diRNY'](getFullJestTestName,_0x4eca5e);logger['debug'](_0x49a8d6(0x11d)+_0x31717d+'\x22'),_0x4eca5e['markedStatus']=!![];break;}_0x210dd2['test']={..._0x461546[_0x49a8d6(0x13e)](_0x47722c,_0x210dd2[_0x49a8d6(0xf9)]),..._0x210dd2[_0x49a8d6(0xf9)]};try{const _0x68a99a=_0x210dd2[_0x49a8d6(0xf9)][_0x49a8d6(0x146)]||[],_0x5a185e=_0x461546[_0x49a8d6(0x121)](_0x68a99a['length'],0x0)||_0x461546[_0x49a8d6(0x1b9)](_0x210dd2[_0x49a8d6(0xf9)]['status'],_0x461546[_0x49a8d6(0x11b)]),_0x56bd72=_0x5a185e?_0x461546[_0x49a8d6(0x164)]:_0x461546['CjvBx'];let _0x3961b1='';_0x5a185e&&(_0x3961b1=_0x68a99a[_0x49a8d6(0x153)](_0x58c408=>{const _0x16e159=_0x49a8d6;if(Array[_0x16e159(0x1cc)](_0x58c408))return _0x58c408[_0x16e159(0x153)](_0x5457e8=>_0x5457e8&&_0x5457e8['message']||String(_0x5457e8))['join'](';\x20');return _0x58c408&&_0x58c408['message']||_0x4e8e6b[_0x16e159(0x10a)](String,_0x58c408);})[_0x49a8d6(0x14b)](';\x20')),process[_0x49a8d6(0x105)]=_0x56bd72,process['_bstackTestFailureReason']=_0x461546['dUvnu'](_0x3961b1,''),logger[_0x49a8d6(0x1ce)](_0x49a8d6(0x1bf)+_0x56bd72+'\x22'),global[_0x49a8d6(0x141)]&&global['__workerDetails'][_0x49a8d6(0x18f)]&&(!global['__workerDetails']['currentTest'][_0x49a8d6(0x143)]&&(global['__workerDetails'][_0x49a8d6(0x18f)]['testInfo']={}),global[_0x49a8d6(0x141)][_0x49a8d6(0x18f)][_0x49a8d6(0x143)][_0x49a8d6(0xdc)]=_0x56bd72,_0x5a185e&&(global['__workerDetails'][_0x49a8d6(0x18f)][_0x49a8d6(0x143)]['failureMessage']=_0x3961b1));}catch(_0x3ed182){logger[_0x49a8d6(0x1ce)](_0x49a8d6(0x1cd)+_0x3ed182[_0x49a8d6(0x1aa)]);}if(!_0x210dd2[_0x49a8d6(0xf9)][_0x49a8d6(0x180)]){_0x210dd2[_0x49a8d6(0xf9)][_0x49a8d6(0x180)]=!![];if(BrowserstackCLI['getInstance']()['isCliEnabled']()&&await _0x461546[_0x49a8d6(0x136)](isCLIReady))try{await _0x461546['hVHtX'](handleTestEventCLI,_0x210dd2[_0x49a8d6(0xf9)],_0x461546[_0x49a8d6(0x159)],_0x39c05c);break;}catch(_0x2c05b6){_0x461546[_0x49a8d6(0x19e)](debug,_0x49a8d6(0xc9)+util[_0x49a8d6(0x1b4)](_0x2c05b6));}_0x461546['Xaqtf'](shouldProcessEventForTesthub)&&await _0x39c05c[_0x49a8d6(0xf1)](_0x210dd2[_0x49a8d6(0xf9)]);}break;}case _0x461546['uqXdJ']:{const _0xd9194c=_0x210dd2[_0x49a8d6(0xf9)];if(_0x461546[_0x49a8d6(0xf0)](isTrue,process[_0x49a8d6(0x15b)][_0x49a8d6(0xea)])&&_0x461546[_0x49a8d6(0x173)](isPhantomSkipFromNameFilter,_0xd9194c)){const _0x3fff61=_0x461546[_0x49a8d6(0x138)](getFullJestTestName,_0xd9194c);logger[_0x49a8d6(0x1ce)](_0x49a8d6(0x108)+_0x3fff61+'\x22'),_0xd9194c[_0x49a8d6(0x180)]=!![];break;}_0x210dd2[_0x49a8d6(0xf9)]={..._0x461546[_0x49a8d6(0x12f)](_0x47722c,_0x210dd2[_0x49a8d6(0xf9)]),..._0x210dd2[_0x49a8d6(0xf9)]};if(!_0x210dd2[_0x49a8d6(0xf9)]['markedStatus']){_0x210dd2[_0x49a8d6(0xf9)][_0x49a8d6(0x180)]=!![];if(BrowserstackCLI[_0x49a8d6(0x1ac)]()[_0x49a8d6(0x145)]()&&await _0x461546['ssaCz'](isCLIReady))try{await _0x461546[_0x49a8d6(0x182)](handleTestEventCLI,_0x210dd2[_0x49a8d6(0xf9)],_0x461546[_0x49a8d6(0xd9)],_0x39c05c);break;}catch(_0x16bbc3){_0x461546[_0x49a8d6(0xf0)](debug,_0x49a8d6(0xc9)+util['format'](_0x16bbc3));}_0x461546[_0x49a8d6(0x11c)](shouldProcessEventForTesthub)&&await _0x39c05c[_0x49a8d6(0xf1)](_0x210dd2['test'],undefined,![],_0x461546[_0x49a8d6(0xd9)]);}break;}case _0x461546['cmUdf']:_0x39c05c[_0x49a8d6(0x1d3)]=null;break;case _0x461546[_0x49a8d6(0x178)]:await RequestQueueHandler[_0x49a8d6(0x1ac)]()[_0x49a8d6(0x1c8)](),process[_0x49a8d6(0x1b2)]();break;default:}},_0x461546['liwFG']));}catch(_0x290643){_0x461546[_0x437e1f(0x1ab)](debug,_0x437e1f(0x13d)+_0x290643);}return _0x461546[_0x437e1f(0x187)](initInitialize,..._0x41d259);};try{Object[a21_0x488ca8(0x134)](exportsI)[a21_0x488ca8(0xd4)](_0x2f1324=>{const _0x3b56a7=a21_0x488ca8,_0x4fdb07={'nDtCb':function(_0x2c6bd3,_0x334064){return _0x2c6bd3(_0x334064);}};try{exports&&(exports[_0x2f1324]=exportsI[_0x2f1324]);}catch(_0x88e3c5){_0x4fdb07[_0x3b56a7(0x176)](debug,_0x3b56a7(0x199)+_0x88e3c5);}});}catch(a21_0x51605e){debug(a21_0x488ca8(0xf8)+a21_0x51605e);}const a21_0x2679bc={};a21_0x2679bc[a21_0x488ca8(0xd5)]=getFullJestTestName,a21_0x2679bc[a21_0x488ca8(0x170)]=getActiveTestNamePattern,a21_0x2679bc[a21_0x488ca8(0x15e)]=isPhantomSkipFromNameFilter,exports[a21_0x488ca8(0x1b5)]=a21_0x2679bc;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a22_0x2eed(){const _0x240642=['35mierpU','split','849100rUEYzr','103780ahwxBp','env','sort','filter','map','default','exports','1169304MOcJNc','JEST_TEST_ORDER','82768XPLWNP','511602nykRfE','@jest/test-sequencer','18ErMgpX','102178fEUnyl','path','173358nTZleD'];a22_0x2eed=function(){return _0x240642;};return a22_0x2eed();}const a22_0x1a3dc=a22_0x2f8f;(function(_0x262d5a,_0x13d4d6){const _0x481ec2=a22_0x2f8f,_0x18b2ad=_0x262d5a();while(!![]){try{const _0x49092e=parseInt(_0x481ec2(0x1b6))/0x1+parseInt(_0x481ec2(0x1b4))/0x2+parseInt(_0x481ec2(0x1b1))/0x3+-parseInt(_0x481ec2(0x1ba))/0x4*(parseInt(_0x481ec2(0x1b7))/0x5)+-parseInt(_0x481ec2(0x1ae))/0x6+parseInt(_0x481ec2(0x1b9))/0x7+-parseInt(_0x481ec2(0x1b0))/0x8*(-parseInt(_0x481ec2(0x1b3))/0x9);if(_0x49092e===_0x13d4d6)break;else _0x18b2ad['push'](_0x18b2ad['shift']());}catch(_0x295a37){_0x18b2ad['push'](_0x18b2ad['shift']());}}}(a22_0x2eed,0x272da));function a22_0x2f8f(_0x42f767,_0x60a639){const _0x2eed87=a22_0x2eed();return a22_0x2f8f=function(_0x2f8fc7,_0x50438e){_0x2f8fc7=_0x2f8fc7-0x1ae;let _0x21417c=_0x2eed87[_0x2f8fc7];return _0x21417c;},a22_0x2f8f(_0x42f767,_0x60a639);}const Sequencer=require(a22_0x1a3dc(0x1b2))[a22_0x1a3dc(0x1bf)];class CustomSequencer extends Sequencer{[a22_0x1a3dc(0x1bc)](_0x2cda07){const _0x5d1849=a22_0x1a3dc,_0x12fcfc=process[_0x5d1849(0x1bb)][_0x5d1849(0x1af)];if(!_0x12fcfc)return _0x2cda07;const _0x290480=_0x12fcfc[_0x5d1849(0x1b8)](','),_0x3ee8e6=new Map(_0x2cda07[_0x5d1849(0x1bd)](_0x3e575b=>_0x290480['includes'](_0x3e575b[_0x5d1849(0x1b5)]))[_0x5d1849(0x1be)](_0x1a5adc=>[_0x1a5adc[_0x5d1849(0x1b5)],_0x1a5adc]));return _0x290480[_0x5d1849(0x1be)](_0x583bab=>_0x3ee8e6['get'](_0x583bab))[_0x5d1849(0x1bd)](Boolean);}}module[a22_0x1a3dc(0x1c0)]=CustomSequencer;
|