browserstack-node-sdk 1.68.1 → 1.69.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/generated/sdk-messages_pb.d.ts +172 -0
- package/generated/sdk-messages_pb.js +1334 -0
- package/generated/sdk_grpc_pb.d.ts +10 -0
- package/generated/sdk_grpc_pb.js +69 -0
- package/package.json +5 -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/detox/a11ySetup.js +1 -1
- package/src/bin/detox/command.js +1 -1
- package/src/bin/detox/modifyDetoxConf.js +1 -1
- package/src/bin/detox/traEmitter.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/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/node-generic/client.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/reporterArgs.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/mochaTestFramework.js +1 -0
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/nodeGenericTestFramework.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/seleniumAutomationFramework.js +1 -0
- 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/runStateStore.js +1 -0
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/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/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 a19_0xb22535=a19_0x3eee;(function(_0x5ae4df,_0x485bc1){const _0x32b73c=a19_0x3eee,_0x53b065=_0x5ae4df();while(!![]){try{const _0x2f810d=-parseInt(_0x32b73c(0xaf))/0x1+-parseInt(_0x32b73c(0x6e))/0x2*(parseInt(_0x32b73c(0x7a))/0x3)+-parseInt(_0x32b73c(0xdb))/0x4+-parseInt(_0x32b73c(0x8c))/0x5+parseInt(_0x32b73c(0xc1))/0x6*(parseInt(_0x32b73c(0xac))/0x7)+parseInt(_0x32b73c(0xee))/0x8+-parseInt(_0x32b73c(0x87))/0x9*(-parseInt(_0x32b73c(0x83))/0xa);if(_0x2f810d===_0x485bc1)break;else _0x53b065['push'](_0x53b065['shift']());}catch(_0x51d9a1){_0x53b065['push'](_0x53b065['shift']());}}}(a19_0x530f,0xcd90a));function a19_0x530f(){const _0x813066=['format','__platformCaps','util','getGlobal','3HhTwyg','autoScanning','ztdsw','__skipSessionStatus','mPzNC','pSIYJ','../../helpers/testhub/utils','getFileName','getEnv','16366670mAOEoL','get','BROWSERSTACK_TESTHUB_UUID','skipSessionStatus','9iJuwSm','yhdwq','thTestRunUuid','Zpnkh','rlDIi','425030aOBzSJ','fzUSp','../../helpers/logger','parse','isBrowserstackInfra','FyeVd','thJwtToken','BRqCx','sessionName','stringify','info','shift','platformCaps','isTrue','isArray','../../helpers/testhub/constants','[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20','OKykE','env','rDVQV','performScanWithRetry','fullName','function','[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','message','zKKKe','../../helpers/accessibility-automation/helper','[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20','debug','[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20','__sessionFailed','pop','66269dwVyeb','initQuit','[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)','1086413oBjipF','includes','platformIndex','FUvly','bin','[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20','aXDuk','[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','wMoJk','setGlobal','failedExpectations','saveAccessibilityResultsWithRetry','isMobilePlatform','[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20','prepareStackTrace','[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20','bstackA11yScanOptions','558rqfMoK','fileNameByFullName','jCRnT','error','[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','path','push','Spec\x20failed','[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20','Furjz','[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20','warn','\x22}}','erTeu','[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','sep','BROWSERSTACK_JASMINE_CONFIG','length',',\x22level\x22:\x20\x22','XTCPA','bstackA11yShouldScan','./bstack-reporter/customReporter','__drivers','ENV_VAR','undefined','3807276wzlrXq','CONFIG','__skipSessionName','markSessionStatus','describe','addReporter','pwXsX','eMUDx','BROWSERSTACK_TESTHUB_JWT','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','LQyaN','rRESZ','is_mobile_session','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20','[jasmine\x20setup]\x20Exception\x20in\x20final\x20driver\x20quit:\x20','browserstackAgentV2','HEmqX','NIzLA','thBuildUuid','6658904NRycMT','passed','HMiHY','winstonLogger','../../index','[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','node:','isAccessibilityPlatform','dnXwa','stack','768458vWTioW','session_','BRsOo','[jasmine\x20setup]\x20Exception\x20quitting\x20stale\x20driver\x20before\x20shift:\x20','SEEOo','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','SeqOj','[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts'];a19_0x530f=function(){return _0x813066;};return a19_0x530f();}const util=require(a19_0xb22535(0x78)),logger=require(a19_0xb22535(0x8e))[a19_0xb22535(0xf1)],helper=require('../../helpers/helper'),globals=require('../../helpers/globals'),{shouldProcessEventForTesthub}=require(a19_0xb22535(0x80)),testHubConstants=require(a19_0xb22535(0x9b)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a19_0xb22535(0xa6)),accessibilityRetryHelper=require('../../helpers/accessibility-automation/accessibilityRetryHelper'),testRunMap=require('./testRunMap');function a19_0x3eee(_0x29bca6,_0x40f31b){const _0x530f5b=a19_0x530f();return a19_0x3eee=function(_0x3eee1b,_0xa515ca){_0x3eee1b=_0x3eee1b-0x6a;let _0x66fd18=_0x530f5b[_0x3eee1b];return _0x66fd18;},a19_0x3eee(_0x29bca6,_0x40f31b);}let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process[a19_0xb22535(0x9e)][a19_0xb22535(0xd2)]||process['env'][a19_0xb22535(0xdc)];rawConfig!==undefined&&(_bstackConfig=JSON['parse'](rawConfig));}catch(a19_0x1b71db){logger['debug'](a19_0xb22535(0xcc)+util[a19_0xb22535(0x76)](a19_0x1b71db));}try{if(_bstackConfig&&!helper['getPackageVersion']('@playwright/test')){const ohIhtD='1|3|0|4|2'['split']('|');let eFCrEG=0x0;while(!![]){switch(ohIhtD[eFCrEG++]){case'0':global[a19_0xb22535(0x77)]=_bstackConfig[a19_0xb22535(0x98)]||{};continue;case'1':logger[a19_0xb22535(0xa8)](a19_0xb22535(0xae));continue;case'2':helper[a19_0xb22535(0x90)]()?(global['__skipSessionName']=helper[a19_0xb22535(0x99)](_bstackConfig['skipSessionName']),global[a19_0xb22535(0x7d)]=helper[a19_0xb22535(0x99)](_bstackConfig[a19_0xb22535(0x86)])):(global[a19_0xb22535(0xdd)]=!![],global[a19_0xb22535(0x7d)]=!![]);continue;case'3':shouldProcessEventForTesthub()?require(a19_0xb22535(0xf2))[a19_0xb22535(0xea)](_bstackConfig,null,!![]):require('../../index')[a19_0xb22535(0xea)](_bstackConfig);continue;case'4':global['browserstackPlatformIndex']=_bstackConfig[a19_0xb22535(0xb1)];continue;}break;}}}catch(a19_0x31fd64){logger[a19_0xb22535(0xa8)]('[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20'+util[a19_0xb22535(0x76)](a19_0x31fd64));}const _fileNameByFullName={};try{if(typeof describe===a19_0xb22535(0xa2)&&typeof global!=='undefined'){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x445022=a19_0xb22535,_0x2577f2={'wMoJk':function(_0x57a12c,_0x1e5a1b){return _0x57a12c(_0x1e5a1b);},'SEEOo':_0x445022(0xc6),'ztdsw':_0x445022(0x6a),'uNBiZ':'jasmine-core'},_0x51a78=Error[_0x445022(0xbe)];try{const _0x2252db=new Error();Error[_0x445022(0xbe)]=(_0x13982d,_0x222897)=>_0x222897;const _0x4c4fb2=_0x2252db[_0x445022(0x6d)];Error[_0x445022(0xbe)]=_0x51a78;if(Array[_0x445022(0x9a)](_0x4c4fb2))for(const _0x3264b6 of _0x4c4fb2){const _0x5a64dc=_0x3264b6['getFileName']&&_0x3264b6[_0x445022(0x81)]();if(_0x5a64dc&&!_0x5a64dc[_0x445022(0xb0)](_0x445022(0xb3)+_0x2577f2[_0x445022(0xb7)](require,_0x2577f2[_0x445022(0x72)])['sep']+'jasmine'+_0x2577f2[_0x445022(0xb7)](require,_0x2577f2[_0x445022(0x72)])[_0x445022(0xd1)])&&!_0x5a64dc['startsWith'](_0x2577f2[_0x445022(0x7c)])&&!_0x5a64dc[_0x445022(0xb0)](_0x2577f2['uNBiZ']))return _0x5a64dc;}}catch(_0x2e6d48){Error[_0x445022(0xbe)]=_0x51a78;}return null;},_wrappedDescribe=function(_0x437beb,_0x21cef8){const _0x3d2d68=a19_0xb22535,_0x348ef2={'NIzLA':function(_0x5f48ce){return _0x5f48ce();},'HEmqX':function(_0x3abad5,_0x5d9cb6){return _0x3abad5&&_0x5d9cb6;},'pwXsX':function(_0x4105da,_0x478b97,_0x1d3a99){return _0x4105da(_0x478b97,_0x1d3a99);}};let _0xd48782=null;try{_0xd48782=_0x348ef2[_0x3d2d68(0xec)](_resolveCallerFile);}catch(_0x30d0ee){}_describeTitleStack[_0x3d2d68(0xc7)](_0x437beb);const _0x4b9845=_describeTitleStack['join']('\x20');_0x348ef2[_0x3d2d68(0xeb)](_0xd48782,_0x4b9845)&&(_fileNameByFullName[_0x4b9845]=_0xd48782);try{return _0x348ef2[_0x3d2d68(0xe1)](_origDescribe,_0x437beb,_0x21cef8);}finally{_describeTitleStack[_0x3d2d68(0xab)]();}};Object['keys'](_origDescribe)['forEach'](_0xbe92fb=>{_wrappedDescribe[_0xbe92fb]=_origDescribe[_0xbe92fb];}),global[a19_0xb22535(0xdf)]=_wrappedDescribe;}}catch(a19_0x401d25){logger['debug'](a19_0xb22535(0xa9)+util[a19_0xb22535(0x76)](a19_0x401d25));}try{if(typeof jasmine!==a19_0xb22535(0xda)&&jasmine[a19_0xb22535(0x82)]){const BrowserStackJasmineReporter=require(a19_0xb22535(0xd7)),a19_0x5cb559={};a19_0x5cb559[a19_0xb22535(0xc2)]=_fileNameByFullName,jasmine[a19_0xb22535(0x82)]()[a19_0xb22535(0xe0)](new BrowserStackJasmineReporter(a19_0x5cb559)),logger['debug']('[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter');}else logger[a19_0xb22535(0xa8)](a19_0xb22535(0xbc));}catch(a19_0x460e45){logger[a19_0xb22535(0xa8)](a19_0xb22535(0xbf)+util['format'](a19_0x460e45));}try{typeof jasmine!==a19_0xb22535(0xda)&&jasmine[a19_0xb22535(0x82)]&&jasmine[a19_0xb22535(0x82)]()[a19_0xb22535(0xe0)]({'specStarted'(_0xc2de47){const _0x281cff=a19_0xb22535,_0x5e3d99={};_0x5e3d99[_0x281cff(0xa5)]=function(_0x450eaa,_0x37f842){return _0x450eaa||_0x37f842;};const _0x43bd2c=_0x5e3d99;_activeResultId=_0xc2de47&&_0xc2de47['id'],_activeFullName=_0xc2de47&&_0xc2de47[_0x281cff(0xa1)],_activeResultRef=_0x43bd2c['zKKKe'](_0xc2de47,null);},'specDone'(){}});}catch(a19_0x244e74){logger['debug'](a19_0xb22535(0xbd)+util[a19_0xb22535(0x76)](a19_0x244e74));}const _resolveAutoScanning=()=>{const _0x554aab=a19_0xb22535,_0x4ab6aa={};_0x4ab6aa[_0x554aab(0xd5)]=function(_0x45e9b2,_0x52f7d3){return _0x45e9b2===_0x52f7d3;};const _0x3d561d=_0x4ab6aa;let _0x519185=!![];try{const _0x349b83=JSON[_0x554aab(0x8f)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']||'{}');_0x3d561d[_0x554aab(0xd5)](_0x349b83[_0x554aab(0x7b)],![])&&(_0x519185=![]);}catch(_0x1e4309){logger['debug'](_0x554aab(0xd0)+_0x1e4309[_0x554aab(0xa4)]);}return _0x519185;};try{typeof beforeEach===a19_0xb22535(0xa2)&&beforeEach(function bstackA11yBeforeEach(){const _0x14f67c=a19_0xb22535,_0x4c6218={'eMUDx':function(_0x14ec09){return _0x14ec09();},'YRXTG':function(_0x23b226,_0x32c537,_0x2f9107){return _0x23b226(_0x32c537,_0x2f9107);},'erTeu':function(_0x335a68,_0x551d7f){return _0x335a68&&_0x551d7f;},'FyeVd':_0x14f67c(0xd6),'BRqCx':_0x14f67c(0xc0)};try{const _0x2088fa=_0x4c6218[_0x14f67c(0xe2)](_resolveAutoScanning),_0x177630=_0x4c6218['YRXTG'](shouldScanTestForAccessibility,null,![]),_0x31650d=_0x4c6218[_0x14f67c(0xcf)](_0x2088fa,_0x177630);globals[_0x14f67c(0xb8)](_0x4c6218[_0x14f67c(0x91)],_0x31650d),globals[_0x14f67c(0xb8)](_0x4c6218[_0x14f67c(0x93)],null);}catch(_0x53198a){logger[_0x14f67c(0xa8)](_0x14f67c(0xc9)+util[_0x14f67c(0x76)](_0x53198a));}}),typeof afterEach===a19_0xb22535(0xa2)&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x44e610=a19_0xb22535,_0x47184f={'FUvly':function(_0x3dadcf,_0x288615){return _0x3dadcf>_0x288615;},'mPzNC':function(_0x1556f7,_0x53dcf4){return _0x1556f7>_0x53dcf4;},'SeqOj':function(_0x11bd9f,_0x30d1af){return _0x11bd9f>_0x30d1af;},'Zpnkh':_0x44e610(0xc8),'HMiHY':function(_0x447e20,_0x17b0af){return _0x447e20+_0x17b0af;},'rRESZ':'Failed:\x20','fzUSp':'Passed','fWAmM':'error','BRsOo':_0x44e610(0x96),'hvSDD':'failed','aXDuk':_0x44e610(0xef),'pSIYJ':function(_0xa3194a){return _0xa3194a();},'jCRnT':_0x44e610(0x6b),'OKykE':_0x44e610(0xd6),'yhdwq':_0x44e610(0xa3),'fbfku':_0x44e610(0xb6),'rDVQV':_0x44e610(0x75),'rlDIi':_0x44e610(0xf3),'LQyaN':_0x44e610(0xbb),'nQHst':_0x44e610(0xc5),'Furjz':_0x44e610(0xcb)};try{if(Array[_0x44e610(0x9a)](global[_0x44e610(0xd8)])&&_0x47184f[_0x44e610(0xb2)](global['__drivers'][_0x44e610(0xd3)],0x1)){const _0x4e34e6=global[_0x44e610(0xd8)][0x0];try{await _0x4e34e6[_0x44e610(0x6f)],await _0x4e34e6[_0x44e610(0xad)]();}catch(_0x2bc148){logger[_0x44e610(0xa8)](_0x44e610(0x71)+util[_0x44e610(0x76)](_0x2bc148));}global[_0x44e610(0xd8)][_0x44e610(0x97)]();}}catch(_0x58735b){logger[_0x44e610(0xa8)]('[jasmine\x20setup]\x20Exception\x20in\x20stale-driver\x20shift\x20check:\x20'+util[_0x44e610(0x76)](_0x58735b));}try{if(Array[_0x44e610(0x9a)](global[_0x44e610(0xd8)])&&_0x47184f[_0x44e610(0x7e)](global[_0x44e610(0xd8)][_0x44e610(0xd3)],0x0)&&global['__drivers'][0x0]){const _0xe7e43f=_activeFullName||global[_0x44e610(0x94)];if(!global[_0x44e610(0xdd)]&&_0xe7e43f){global[_0x44e610(0x94)]=_0xe7e43f;try{await global['__drivers'][0x0]['executeScript'](_0x44e610(0xe4)+JSON[_0x44e610(0x95)](_0xe7e43f)+'}}'),global[_0x44e610(0xd8)][0x0]['sessionNameSet__']=!![];}catch(_0x32fc5f){logger['debug'](_0x44e610(0xa7)+util[_0x44e610(0x76)](_0x32fc5f));}}if(!global[_0x44e610(0x7d)])try{const _0x4840f2=_activeResultRef&&Array['isArray'](_activeResultRef[_0x44e610(0xb9)])?_activeResultRef['failedExpectations']:[],_0x5619b4=_0x47184f['SeqOj'](_0x4840f2['length'],0x0),_0x5c4fa4=_0x5619b4?_0x4840f2[0x0]&&_0x4840f2[0x0][_0x44e610(0xa4)]||_0x47184f[_0x44e610(0x8a)]:null;try{await global[_0x44e610(0xd8)][0x0]['executeScript'](_0x44e610(0x73)+JSON[_0x44e610(0x95)](_0x5619b4?_0x47184f[_0x44e610(0xf0)](_0x47184f[_0x44e610(0xe6)],_0x5c4fa4):_0x47184f[_0x44e610(0x8d)])+_0x44e610(0xd4)+(_0x5619b4?_0x47184f['fWAmM']:_0x47184f[_0x44e610(0x70)])+_0x44e610(0xce));}catch(_0x3b98a6){logger[_0x44e610(0xa8)](_0x44e610(0x9c)+util[_0x44e610(0x76)](_0x3b98a6));}_0x5619b4&&(global[_0x44e610(0xaa)]=!![]),await helper[_0x44e610(0xde)](global[_0x44e610(0xd8)][0x0],_0x5619b4?_0x47184f['hvSDD']:_0x47184f[_0x44e610(0xb5)],_0x5c4fa4);}catch(_0x2d1252){logger[_0x44e610(0xa8)](_0x44e610(0xb4)+util[_0x44e610(0x76)](_0x2d1252));}}}catch(_0x4978d6){logger[_0x44e610(0xa8)]('[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20'+util[_0x44e610(0x76)](_0x4978d6));}try{if(_0x47184f[_0x44e610(0x7f)](isAccessibilityAutomationSession)&&globals[_0x44e610(0x79)](_0x47184f[_0x44e610(0xc3)])&&Array['isArray'](global['__drivers'])&&_0x47184f[_0x44e610(0x74)](global[_0x44e610(0xd8)][_0x44e610(0xd3)],0x0)&&global[_0x44e610(0xd8)][0x0]){const _0x438b6c=testRunMap[_0x44e610(0x84)](_activeResultId),_0x425b6e={};_0x425b6e[_0x44e610(0x89)]=_0x438b6c,_0x425b6e[_0x44e610(0xed)]=process['env'][testHubConstants[_0x44e610(0xd9)][_0x44e610(0x85)]],_0x425b6e[_0x44e610(0x92)]=process['env'][testHubConstants[_0x44e610(0xd9)][_0x44e610(0xe3)]];const _0x13e5f9=_0x425b6e;logger[_0x44e610(0xa8)]('[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20'+JSON[_0x44e610(0x95)](_0x13e5f9));if(globals[_0x44e610(0x79)](_0x47184f[_0x44e610(0x9d)])){logger[_0x44e610(0xa8)](_0x47184f[_0x44e610(0x88)]);const _0x3ee616=await accessibilityRetryHelper[_0x44e610(0xa0)](global['__drivers'][0x0],global['browserstackSessionName']);_0x3ee616?logger[_0x44e610(0xa8)](_0x47184f['fbfku']):logger[_0x44e610(0xcd)](_0x47184f[_0x44e610(0x9f)]);}else logger[_0x44e610(0xa8)](_0x47184f[_0x44e610(0x8b)]);globals[_0x44e610(0x79)](_0x47184f[_0x44e610(0xe5)])&&(_0x13e5f9[_0x44e610(0xe7)]=!![]);const _0x2015f7=await accessibilityRetryHelper[_0x44e610(0xba)](global['__drivers'][0x0],_0x13e5f9);_0x2015f7?logger[_0x44e610(0xa8)](_0x47184f['nQHst']):logger[_0x44e610(0xcd)](_0x47184f[_0x44e610(0xca)]);}}catch(_0x2dd4eb){logger[_0x44e610(0xc4)]('[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20'+util[_0x44e610(0x76)](_0x2dd4eb));}});}catch(a19_0x12b423){logger[a19_0xb22535(0xa8)](a19_0xb22535(0xe8)+util['format'](a19_0x12b423));}try{typeof afterAll===a19_0xb22535(0xa2)&&afterAll(async function bstackFinalDriverQuit(){const _0x512f43=a19_0xb22535,_0x2c8b88={};_0x2c8b88[_0x512f43(0x6c)]=function(_0x49b139,_0x3e0413){return _0x49b139>_0x3e0413;};const _0x227fbc=_0x2c8b88;try{Array['isArray'](global['__drivers'])&&_0x227fbc['dnXwa'](global[_0x512f43(0xd8)][_0x512f43(0xd3)],0x0)&&global['__drivers'][0x0]&&(await global[_0x512f43(0xd8)][0x0][_0x512f43(0x6f)],await global[_0x512f43(0xd8)][0x0][_0x512f43(0xad)]());}catch(_0x38c8f5){logger[_0x512f43(0xa8)](_0x512f43(0xe9)+util[_0x512f43(0x76)](_0x38c8f5));}});}catch(a19_0x102507){logger[a19_0xb22535(0xa8)]('[jasmine\x20setup]\x20Exception\x20registering\x20afterAll\x20final\x20quit\x20hook:\x20'+util[a19_0xb22535(0x76)](a19_0x102507));}module['exports']={};
|
|
1
|
+
'use strict';const a19_0x5a2c73=a19_0x5247;(function(_0x2a5a79,_0x5730d9){const _0x547428=a19_0x5247,_0x125ca6=_0x2a5a79();while(!![]){try{const _0x8c9e54=parseInt(_0x547428(0x115))/0x1+-parseInt(_0x547428(0x120))/0x2*(parseInt(_0x547428(0x119))/0x3)+parseInt(_0x547428(0xe5))/0x4+parseInt(_0x547428(0x136))/0x5+parseInt(_0x547428(0x148))/0x6*(parseInt(_0x547428(0x121))/0x7)+-parseInt(_0x547428(0xee))/0x8+-parseInt(_0x547428(0x10f))/0x9*(parseInt(_0x547428(0xdd))/0xa);if(_0x8c9e54===_0x5730d9)break;else _0x125ca6['push'](_0x125ca6['shift']());}catch(_0x10ba23){_0x125ca6['push'](_0x125ca6['shift']());}}}(a19_0x46cb,0xdbb1e));const util=require('util'),logger=require(a19_0x5a2c73(0x12c))[a19_0x5a2c73(0x127)],helper=require(a19_0x5a2c73(0x146)),globals=require('../../helpers/globals'),{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require('../../helpers/testhub/constants'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),accessibilityRetryHelper=require('../../helpers/accessibility-automation/accessibilityRetryHelper'),testRunMap=require(a19_0x5a2c73(0x11c));function a19_0x46cb(){const _0x1e76ae=['exports','QqPoz','join','fFZku','length','Failed:\x20','[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','XQTti','ybyrb','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','../../helpers/helper','BROWSERSTACK_JASMINE_CONFIG','102IhUWkG','[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','getGlobal','__drivers','KHPku','isBrowserstackInfra','uFVpN','autoScanning','Fvqze','env','platformCaps','DTEdQ','ZPWZw','ENV_VAR','../../index','[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','push','Spec\x20failed','hXfUe','startsWith','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','performScanWithRetry','[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered','warn','[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20','zTWbb','pop','zhOGP','browserstackPlatformIndex','kyrVe','get','xssJb','92440QbOrRI','stack','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','jasmine-core','bstackA11yScanOptions','[jasmine\x20setup]\x20Exception\x20in\x20final\x20driver\x20quit:\x20','stringify','IXddy','6005060HsiYIU','function','browserstackAgentV2','split','undefined','__platformCaps','gAPfo','sep','GNwOL','13933280ZqhCBv','skipSessionStatus','./bstack-reporter/customReporter','[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','dyemM','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20','\x22}}','@playwright/test','isArray','addReporter','[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20','path','byebc','[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20','failed','hPLVB','WWEOa','LFrjd','isAccessibilityPlatform','message','LCtUM','__skipSessionStatus','fileNameByFullName','getPackageVersion','describe','getEnv','sessionName','parse','[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','fullName','NJqKR','DuLSn','setGlobal','2169gBHhSK','[jasmine\x20setup]\x20Exception\x20in\x20stale-driver\x20shift\x20check:\x20','sJpIe','prepareStackTrace','is_mobile_session','[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20','1546951ncCdUl','BROWSERSTACK_TESTHUB_UUID','[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20','bstackA11yShouldScan','1778631PZsxvE','QdKnN','markSessionStatus','./testRunMap','debug','thBuildUuid','error','2isfDjT','695275RJJwyy','eAeWZ','thJwtToken','lXbIF','lazIh','platformIndex','winstonLogger','hoofl','session_','forEach','[jasmine\x20setup]\x20Exception\x20quitting\x20stale\x20driver\x20before\x20shift:\x20','../../helpers/logger','initQuit','format','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20','__skipSessionName','__sessionFailed','shift','HhNUI',',\x22level\x22:\x20\x22','sessionNameSet__','3627350IfRBeV','failedExpectations','info','browserstackSessionName','passed','[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20'];a19_0x46cb=function(){return _0x1e76ae;};return a19_0x46cb();}let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process['env'][a19_0x5a2c73(0x147)]||process[a19_0x5a2c73(0x151)]['CONFIG'];rawConfig!==undefined&&(_bstackConfig=JSON['parse'](rawConfig));}catch(a19_0x538773){logger[a19_0x5a2c73(0x11d)]('[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20'+util[a19_0x5a2c73(0x12e)](a19_0x538773));}try{if(_bstackConfig&&!helper[a19_0x5a2c73(0x105)](a19_0x5a2c73(0xf5))){const feuXgd='1|3|2|4|0'[a19_0x5a2c73(0xe8)]('|');let ANDLki=0x0;while(!![]){switch(feuXgd[ANDLki++]){case'0':helper[a19_0x5a2c73(0x14d)]()?(global['__skipSessionName']=helper['isTrue'](_bstackConfig['skipSessionName']),global[a19_0x5a2c73(0x103)]=helper['isTrue'](_bstackConfig[a19_0x5a2c73(0xef)])):(global[a19_0x5a2c73(0x130)]=!![],global['__skipSessionStatus']=!![]);continue;case'1':logger[a19_0x5a2c73(0x11d)]('[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)');continue;case'2':global[a19_0x5a2c73(0xea)]=_bstackConfig[a19_0x5a2c73(0x152)]||{};continue;case'3':shouldProcessEventForTesthub()?require(a19_0x5a2c73(0x156))[a19_0x5a2c73(0xe7)](_bstackConfig,null,!![]):require(a19_0x5a2c73(0x156))['browserstackAgentV2'](_bstackConfig);continue;case'4':global[a19_0x5a2c73(0xd9)]=_bstackConfig[a19_0x5a2c73(0x126)];continue;}break;}}}catch(a19_0xb52142){logger[a19_0x5a2c73(0x11d)]('[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20'+util[a19_0x5a2c73(0x12e)](a19_0xb52142));}const _fileNameByFullName={};try{if(typeof describe==='function'&&typeof global!==a19_0x5a2c73(0xe9)){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x55537b=a19_0x5a2c73,_0x29f11f={'GNwOL':function(_0x17e6a0,_0x5d2136){return _0x17e6a0(_0x5d2136);},'dyemM':_0x55537b(0xf9),'SuEOo':'node:','WxzlD':_0x55537b(0xe0)},_0x22b70b=Error['prepareStackTrace'];try{const _0x25b4fd=new Error();Error[_0x55537b(0x112)]=(_0x48b02c,_0x3bd845)=>_0x3bd845;const _0x464652=_0x25b4fd[_0x55537b(0xde)];Error[_0x55537b(0x112)]=_0x22b70b;if(Array[_0x55537b(0xf6)](_0x464652))for(const _0x42e569 of _0x464652){const _0x3f2094=_0x42e569['getFileName']&&_0x42e569['getFileName']();if(_0x3f2094&&!_0x3f2094['includes']('bin'+_0x29f11f[_0x55537b(0xed)](require,_0x29f11f[_0x55537b(0xf2)])[_0x55537b(0xec)]+'jasmine'+_0x29f11f['GNwOL'](require,_0x29f11f['dyemM'])[_0x55537b(0xec)])&&!_0x3f2094[_0x55537b(0xd0)](_0x29f11f['SuEOo'])&&!_0x3f2094['includes'](_0x29f11f['WxzlD']))return _0x3f2094;}}catch(_0x468fba){Error[_0x55537b(0x112)]=_0x22b70b;}return null;},_wrappedDescribe=function(_0x4e34ee,_0x3cc7de){const _0x54c4f9=a19_0x5a2c73,_0x4da1a6={'qxSwL':function(_0x315bbb){return _0x315bbb();},'IGybV':function(_0x24ce36,_0x23a85d){return _0x24ce36&&_0x23a85d;},'xssJb':function(_0x5d8e1f,_0x270929,_0xea6aa3){return _0x5d8e1f(_0x270929,_0xea6aa3);}};let _0x1c2166=null;try{_0x1c2166=_0x4da1a6['qxSwL'](_resolveCallerFile);}catch(_0x33f6f7){}_describeTitleStack[_0x54c4f9(0xcd)](_0x4e34ee);const _0x4b4ee7=_describeTitleStack[_0x54c4f9(0x13e)]('\x20');_0x4da1a6['IGybV'](_0x1c2166,_0x4b4ee7)&&(_fileNameByFullName[_0x4b4ee7]=_0x1c2166);try{return _0x4da1a6[_0x54c4f9(0xdc)](_origDescribe,_0x4e34ee,_0x3cc7de);}finally{_describeTitleStack[_0x54c4f9(0xd7)]();}};Object['keys'](_origDescribe)[a19_0x5a2c73(0x12a)](_0x21056d=>{_wrappedDescribe[_0x21056d]=_origDescribe[_0x21056d];}),global[a19_0x5a2c73(0x106)]=_wrappedDescribe;}}catch(a19_0x690509){logger[a19_0x5a2c73(0x11d)](a19_0x5a2c73(0x117)+util[a19_0x5a2c73(0x12e)](a19_0x690509));}function a19_0x5247(_0x4a4cb4,_0x397a6f){const _0x46cb2d=a19_0x46cb();return a19_0x5247=function(_0x524798,_0x185305){_0x524798=_0x524798-0xcb;let _0x3c67ba=_0x46cb2d[_0x524798];return _0x3c67ba;},a19_0x5247(_0x4a4cb4,_0x397a6f);}try{if(typeof jasmine!==a19_0x5a2c73(0xe9)&&jasmine[a19_0x5a2c73(0x107)]){const BrowserStackJasmineReporter=require(a19_0x5a2c73(0xf0)),a19_0x4d907e={};a19_0x4d907e[a19_0x5a2c73(0x104)]=_fileNameByFullName,jasmine[a19_0x5a2c73(0x107)]()[a19_0x5a2c73(0xf7)](new BrowserStackJasmineReporter(a19_0x4d907e)),logger[a19_0x5a2c73(0x11d)]('[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter');}else logger[a19_0x5a2c73(0x11d)](a19_0x5a2c73(0xd3));}catch(a19_0x3d9e71){logger[a19_0x5a2c73(0x11d)](a19_0x5a2c73(0xd5)+util[a19_0x5a2c73(0x12e)](a19_0x3d9e71));}try{typeof jasmine!==a19_0x5a2c73(0xe9)&&jasmine[a19_0x5a2c73(0x107)]&&jasmine['getEnv']()['addReporter']({'specStarted'(_0x274c12){const _0xd3c1f2=a19_0x5a2c73,_0x307738={};_0x307738[_0xd3c1f2(0x13d)]=function(_0x599497,_0x324a30){return _0x599497||_0x324a30;};const _0x355ab4=_0x307738;_activeResultId=_0x274c12&&_0x274c12['id'],_activeFullName=_0x274c12&&_0x274c12[_0xd3c1f2(0x10b)],_activeResultRef=_0x355ab4[_0xd3c1f2(0x13d)](_0x274c12,null);},'specDone'(){}});}catch(a19_0x260d0b){logger[a19_0x5a2c73(0x11d)](a19_0x5a2c73(0x12f)+util[a19_0x5a2c73(0x12e)](a19_0x260d0b));}const _resolveAutoScanning=()=>{const _0x2875a8=a19_0x5a2c73,_0xff08b8={};_0xff08b8[_0x2875a8(0x14c)]=function(_0x3fb434,_0x394484){return _0x3fb434===_0x394484;};const _0x208793=_0xff08b8;let _0x3a4410=!![];try{const _0x474f0b=JSON[_0x2875a8(0x109)](process[_0x2875a8(0x151)][_0x2875a8(0xdf)]||'{}');_0x208793[_0x2875a8(0x14c)](_0x474f0b[_0x2875a8(0x14f)],![])&&(_0x3a4410=![]);}catch(_0x54794e){logger['debug'](_0x2875a8(0xf1)+_0x54794e[_0x2875a8(0x101)]);}return _0x3a4410;};try{typeof beforeEach===a19_0x5a2c73(0xe6)&&beforeEach(function bstackA11yBeforeEach(){const _0x17f586=a19_0x5a2c73,_0x3e9da8={'WWEOa':function(_0x56a789){return _0x56a789();},'ZPWZw':function(_0x4dac4b,_0x53fceb,_0xc3171){return _0x4dac4b(_0x53fceb,_0xc3171);},'zTWbb':function(_0x38127e,_0x23bd1d){return _0x38127e&&_0x23bd1d;},'hXfUe':_0x17f586(0x118),'HhNUI':_0x17f586(0xe1)};try{const _0x37f523=_0x3e9da8[_0x17f586(0xfe)](_resolveAutoScanning),_0x1f8a33=_0x3e9da8[_0x17f586(0x154)](shouldScanTestForAccessibility,null,![]),_0x1e61f7=_0x3e9da8[_0x17f586(0xd6)](_0x37f523,_0x1f8a33);globals['setGlobal'](_0x3e9da8[_0x17f586(0xcf)],_0x1e61f7),globals[_0x17f586(0x10e)](_0x3e9da8[_0x17f586(0x133)],null);}catch(_0xc96f65){logger[_0x17f586(0x11d)](_0x17f586(0x13b)+util[_0x17f586(0x12e)](_0xc96f65));}}),typeof afterEach===a19_0x5a2c73(0xe6)&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x56a355=a19_0x5a2c73,_0x230353={'NJqKR':function(_0xed7072,_0x276085){return _0xed7072>_0x276085;},'hoofl':function(_0x58f45e,_0x2716b5){return _0x58f45e>_0x2716b5;},'ybyrb':function(_0x5c0738,_0x494150){return _0x5c0738>_0x494150;},'sJpIe':_0x56a355(0xce),'XQTti':function(_0x5ca4ee,_0x28aa13){return _0x5ca4ee+_0x28aa13;},'DuLSn':_0x56a355(0x141),'eAeWZ':'Passed','fFZku':_0x56a355(0x11f),'gAPfo':_0x56a355(0x138),'LFrjd':_0x56a355(0xfc),'cUedH':_0x56a355(0x13a),'byebc':function(_0x13a216){return _0x13a216();},'hPLVB':_0x56a355(0x100),'Fvqze':function(_0x16836f,_0x45e344){return _0x16836f>_0x45e344;},'IXddy':'bstackA11yShouldScan','uFVpN':'[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','lazIh':_0x56a355(0x10a),'LCtUM':_0x56a355(0xcb),'zhOGP':_0x56a355(0x149),'QdKnN':'isMobilePlatform','lXbIF':_0x56a355(0xcc),'DTEdQ':_0x56a355(0x142)};try{if(Array[_0x56a355(0xf6)](global[_0x56a355(0x14b)])&&_0x230353[_0x56a355(0x10c)](global['__drivers'][_0x56a355(0x140)],0x1)){const _0x40bc92=global[_0x56a355(0x14b)][0x0];try{await _0x40bc92[_0x56a355(0x129)],await _0x40bc92[_0x56a355(0x12d)]();}catch(_0x1d0a82){logger[_0x56a355(0x11d)](_0x56a355(0x12b)+util[_0x56a355(0x12e)](_0x1d0a82));}global[_0x56a355(0x14b)][_0x56a355(0x132)]();}}catch(_0x3f1c75){logger['debug'](_0x56a355(0x110)+util['format'](_0x3f1c75));}try{if(Array[_0x56a355(0xf6)](global[_0x56a355(0x14b)])&&_0x230353[_0x56a355(0x128)](global[_0x56a355(0x14b)][_0x56a355(0x140)],0x0)&&global[_0x56a355(0x14b)][0x0]){const _0x3567bf=_activeFullName||global[_0x56a355(0x108)];if(!global[_0x56a355(0x130)]&&_0x3567bf){global[_0x56a355(0x108)]=_0x3567bf;try{await global[_0x56a355(0x14b)][0x0]['executeScript'](_0x56a355(0x145)+JSON[_0x56a355(0xe3)](_0x3567bf)+'}}'),global[_0x56a355(0x14b)][0x0][_0x56a355(0x135)]=!![];}catch(_0x520216){logger[_0x56a355(0x11d)](_0x56a355(0xfb)+util[_0x56a355(0x12e)](_0x520216));}}if(!global['__skipSessionStatus'])try{const _0x2e380b=_activeResultRef&&Array[_0x56a355(0xf6)](_activeResultRef['failedExpectations'])?_activeResultRef[_0x56a355(0x137)]:[],_0x8eb99b=_0x230353[_0x56a355(0x144)](_0x2e380b[_0x56a355(0x140)],0x0),_0x2ab13a=_0x8eb99b?_0x2e380b[0x0]&&_0x2e380b[0x0][_0x56a355(0x101)]||_0x230353[_0x56a355(0x111)]:null;try{await global[_0x56a355(0x14b)][0x0]['executeScript'](_0x56a355(0xd1)+JSON[_0x56a355(0xe3)](_0x8eb99b?_0x230353[_0x56a355(0x143)](_0x230353[_0x56a355(0x10d)],_0x2ab13a):_0x230353[_0x56a355(0x122)])+_0x56a355(0x134)+(_0x8eb99b?_0x230353[_0x56a355(0x13f)]:_0x230353[_0x56a355(0xeb)])+_0x56a355(0xf4));}catch(_0x2b2a29){logger[_0x56a355(0x11d)](_0x56a355(0xf8)+util[_0x56a355(0x12e)](_0x2b2a29));}_0x8eb99b&&(global[_0x56a355(0x131)]=!![]),await helper[_0x56a355(0x11b)](global[_0x56a355(0x14b)][0x0],_0x8eb99b?_0x230353[_0x56a355(0xff)]:_0x230353['cUedH'],_0x2ab13a);}catch(_0x205e2d){logger['debug'](_0x56a355(0x114)+util[_0x56a355(0x12e)](_0x205e2d));}}}catch(_0x237de5){logger['debug']('[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20'+util[_0x56a355(0x12e)](_0x237de5));}try{if(_0x230353[_0x56a355(0xfa)](isAccessibilityAutomationSession)&&globals[_0x56a355(0x14a)](_0x230353[_0x56a355(0xfd)])&&Array[_0x56a355(0xf6)](global['__drivers'])&&_0x230353[_0x56a355(0x150)](global['__drivers']['length'],0x0)&&global[_0x56a355(0x14b)][0x0]){const _0x2d709b=testRunMap[_0x56a355(0xdb)](_activeResultId),_0x290449={};_0x290449['thTestRunUuid']=_0x2d709b,_0x290449[_0x56a355(0x11e)]=process['env'][testHubConstants[_0x56a355(0x155)][_0x56a355(0x116)]],_0x290449[_0x56a355(0x123)]=process[_0x56a355(0x151)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_JWT']];const _0x27c80f=_0x290449;logger[_0x56a355(0x11d)]('[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20'+JSON[_0x56a355(0xe3)](_0x27c80f));if(globals['getGlobal'](_0x230353[_0x56a355(0xe4)])){logger['debug'](_0x230353[_0x56a355(0x14e)]);const _0x14b6c5=await accessibilityRetryHelper[_0x56a355(0xd2)](global[_0x56a355(0x14b)][0x0],global[_0x56a355(0x139)]);_0x14b6c5?logger[_0x56a355(0x11d)](_0x230353[_0x56a355(0x125)]):logger[_0x56a355(0xd4)](_0x230353[_0x56a355(0x102)]);}else logger[_0x56a355(0x11d)](_0x230353[_0x56a355(0xd8)]);globals[_0x56a355(0x14a)](_0x230353[_0x56a355(0x11a)])&&(_0x27c80f[_0x56a355(0x113)]=!![]);const _0x318f87=await accessibilityRetryHelper['saveAccessibilityResultsWithRetry'](global['__drivers'][0x0],_0x27c80f);_0x318f87?logger[_0x56a355(0x11d)](_0x230353[_0x56a355(0x124)]):logger[_0x56a355(0xd4)](_0x230353[_0x56a355(0x153)]);}}catch(_0x4d32ef){logger['error']('[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20'+util[_0x56a355(0x12e)](_0x4d32ef));}});}catch(a19_0x536cd1){logger[a19_0x5a2c73(0x11d)](a19_0x5a2c73(0xf3)+util['format'](a19_0x536cd1));}try{typeof afterAll===a19_0x5a2c73(0xe6)&&afterAll(async function bstackFinalDriverQuit(){const _0x50d38a=a19_0x5a2c73,_0x301152={};_0x301152[_0x50d38a(0xda)]=function(_0x136a01,_0x3c55f8){return _0x136a01>_0x3c55f8;};const _0x287e3d=_0x301152;try{Array[_0x50d38a(0xf6)](global[_0x50d38a(0x14b)])&&_0x287e3d[_0x50d38a(0xda)](global[_0x50d38a(0x14b)][_0x50d38a(0x140)],0x0)&&global[_0x50d38a(0x14b)][0x0]&&(await global[_0x50d38a(0x14b)][0x0][_0x50d38a(0x129)],await global['__drivers'][0x0][_0x50d38a(0x12d)]());}catch(_0x5f548d){logger[_0x50d38a(0x11d)](_0x50d38a(0xe2)+util[_0x50d38a(0x12e)](_0x5f548d));}});}catch(a19_0x336530){logger[a19_0x5a2c73(0x11d)]('[jasmine\x20setup]\x20Exception\x20registering\x20afterAll\x20final\x20quit\x20hook:\x20'+util['format'](a19_0x336530));}module[a19_0x5a2c73(0x13c)]={};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a20_0x389432=a20_0x5bc5;function a20_0x3ee7(){const _0x52c8de=['3136QDYiMF','rSeIx','112916LNReii','150KVrNba','get','135335DWXAhX','753104ReSioi','set','3395612gMjbiZ','size','1289378zklozl','1985211yVrquL','33TbQYdc','yjeaA','18641SnnxIc','lWLDw','remove','50KbOxri','delete','YvcZs'];a20_0x3ee7=function(){return _0x52c8de;};return a20_0x3ee7();}(function(_0x54f963,_0x1bdb60){const _0x2f1dac=a20_0x5bc5,_0x36cc71=_0x54f963();while(!![]){try{const _0x32864d=-parseInt(_0x2f1dac(0xe2))/0x1+-parseInt(_0x2f1dac(0xda))/0x2*(-parseInt(_0x2f1dac(0xd0))/0x3)+parseInt(_0x2f1dac(0xe0))/0x4+-parseInt(_0x2f1dac(0xdd))/0x5*(-parseInt(_0x2f1dac(0xdb))/0x6)+parseInt(_0x2f1dac(0xd2))/0x7*(parseInt(_0x2f1dac(0xd8))/0x8)+-parseInt(_0x2f1dac(0xe3))/0x9*(parseInt(_0x2f1dac(0xd5))/0xa)+-parseInt(_0x2f1dac(0xde))/0xb;if(_0x32864d===_0x1bdb60)break;else _0x36cc71['push'](_0x36cc71['shift']());}catch(_0x39cb8e){_0x36cc71['push'](_0x36cc71['shift']());}}}(a20_0x3ee7,0xb22af));function a20_0x5bc5(_0x463a5a,_0x268a4f){const _0x3ee707=a20_0x3ee7();return a20_0x5bc5=function(_0x5bc55c,_0x3e073c){_0x5bc55c=_0x5bc55c-0xd0;let _0x5bb3cc=_0x3ee707[_0x5bc55c];return _0x5bb3cc;},a20_0x5bc5(_0x463a5a,_0x268a4f);}const _specUuidById=new Map();exports[a20_0x389432(0xdf)]=(_0x27c52f,_0x2081c2)=>{const _0x25926a=a20_0x389432,_0x230000={};_0x230000[_0x25926a(0xd3)]=function(_0xf5811a,_0x1c8ae9){return _0xf5811a===_0x1c8ae9;};const _0x331397=_0x230000;if(_0x331397[_0x25926a(0xd3)](_0x27c52f,undefined)||_0x331397['lWLDw'](_0x27c52f,null))return;_specUuidById[_0x25926a(0xdf)](_0x27c52f,_0x2081c2);},exports[a20_0x389432(0xdc)]=_0x20aa2e=>{const _0x313dbb=a20_0x389432,_0xa83012={};_0xa83012[_0x313dbb(0xd7)]=function(_0x3c1674,_0xffdb33){return _0x3c1674===_0xffdb33;},_0xa83012[_0x313dbb(0xd1)]=function(_0x36e861,_0x51aadf){return _0x36e861===_0x51aadf;};const _0x227641=_0xa83012;if(_0x227641[_0x313dbb(0xd7)](_0x20aa2e,undefined)||_0x227641[_0x313dbb(0xd1)](_0x20aa2e,null))return undefined;return _specUuidById[_0x313dbb(0xdc)](_0x20aa2e);},exports[a20_0x389432(0xd4)]=_0x121584=>{const _0x1ec1ec=a20_0x389432,_0x3f7444={};_0x3f7444[_0x1ec1ec(0xd9)]=function(_0x444618,_0x42ee98){return _0x444618===_0x42ee98;};const _0x53bba8=_0x3f7444;if(_0x53bba8[_0x1ec1ec(0xd9)](_0x121584,undefined)||_0x53bba8[_0x1ec1ec(0xd9)](_0x121584,null))return;_specUuidById[_0x1ec1ec(0xd6)](_0x121584);},exports['_size']=()=>_specUuidById[a20_0x389432(0xe1)];
|
package/src/bin/jest/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a21_0x7beb13=a21_0x163d;(function(_0xa5c8b1,_0x45e019){const _0x36c470=a21_0x163d,_0x21ffda=_0xa5c8b1();while(!![]){try{const _0x2da84f=-parseInt(_0x36c470(0x155))/0x1+-parseInt(_0x36c470(0x1e8))/0x2+-parseInt(_0x36c470(0x197))/0x3+parseInt(_0x36c470(0x1b1))/0x4*(-parseInt(_0x36c470(0x149))/0x5)+-parseInt(_0x36c470(0x181))/0x6*(-parseInt(_0x36c470(0x107))/0x7)+-parseInt(_0x36c470(0x1c7))/0x8*(parseInt(_0x36c470(0x1bd))/0x9)+parseInt(_0x36c470(0x1e0))/0xa;if(_0x2da84f===_0x45e019)break;else _0x21ffda['push'](_0x21ffda['shift']());}catch(_0x52594a){_0x21ffda['push'](_0x21ffda['shift']());}}}(a21_0x581a,0xee06b));const fs=require('fs'),path=require(a21_0x7beb13(0x14e)),util=require(a21_0x7beb13(0xff)),{spawn}=require('child_process'),logger=require('../../helpers/logger')[a21_0x7beb13(0x1e5)],{default:BrowserStackSetup}=require(a21_0x7beb13(0x1b7)),helper=require(a21_0x7beb13(0x1a5)),utilities=require(a21_0x7beb13(0x17a)),constants=require(a21_0x7beb13(0x117)),accessibilityHelper=require('../../helpers/accessibility-automation/helper'),{updateTestRerunConfig}=require(a21_0x7beb13(0x15e)),testOpsHelper=require(a21_0x7beb13(0x1d1)),{debug}=require('../../helpers/test-observability/utils'),TestDetails=require(a21_0x7beb13(0x124)),{getPercyOptions}=require(a21_0x7beb13(0x195)),TestHubHandler=require(a21_0x7beb13(0x1e1)),testhubUtils=require(a21_0x7beb13(0x145)),{FRAMEWORKS}=require(a21_0x7beb13(0x14f)),PerformanceTester=require(a21_0x7beb13(0x14b)),PerformanceEvents=require('../../helpers/performance/constants')[a21_0x7beb13(0x106)],TestOrchestrationHandler=require(a21_0x7beb13(0x133)),BrowserstackCLI=require(a21_0x7beb13(0xee)),{checkPwandBootstrapCli}=require('../../helpers/playwright-helper'),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a21_0x7beb13(0x1ce)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),{checkAccessibilityPlatformConfig}=require(a21_0x7beb13(0x148)),getUserJestConfigs=async(_0x33a785,_0x4bdbe2)=>{const _0x1c28ca=a21_0x7beb13,_0x6d5c19={'yueub':_0x1c28ca(0x188),'MXHeH':_0x1c28ca(0x183),'AUJmk':function(_0x336fb2,_0x46370d){return _0x336fb2||_0x46370d;},'Sdcse':function(_0x2cd078,_0x29ad0d){return _0x2cd078(_0x29ad0d);},'twmPc':_0x1c28ca(0x1b0),'SfLGr':_0x1c28ca(0x1b6),'qvrRH':_0x1c28ca(0x1b8),'jIgag':'cjs','VHBaO':_0x1c28ca(0xf8)};let _0x42579e;try{_0x42579e=helper['requireModule'](_0x6d5c19[_0x1c28ca(0x1a0)],_0x6d5c19[_0x1c28ca(0x105)]);}catch{const _0x2dbde0=helper[_0x1c28ca(0x160)](_0x6d5c19[_0x1c28ca(0x105)]);_0x42579e={'default':async _0x4eb888=>{const _0x5527c3=await _0x2dbde0['readInitialOptions'](_0x4eb888,{});return _0x5527c3['config'];}};}const _0x505214=_0x4bdbe2[_0x1c28ca(0x1c1)](_0x34bf27=>_0x34bf27===_0x1c28ca(0x18d));if(!helper[_0x1c28ca(0x102)](_0x33a785[_0x1c28ca(0x1e3)])){logger[_0x1c28ca(0x10d)](_0x1c28ca(0x13e)+_0x33a785[_0x1c28ca(0x1e3)]),process['env']['USER_CONFIG_DETAILS_PATH']=_0x33a785['config'];const _0x2f9e2c=await(0x0,_0x42579e[_0x1c28ca(0x138)])(path[_0x1c28ca(0x16a)](_0x33a785[_0x1c28ca(0x1e3)]));return _0x4bdbe2[_0x1c28ca(0x178)](_0x505214,0x2),_0x6d5c19['AUJmk'](_0x2f9e2c,{});}const _0x362c58=_0x6d5c19[_0x1c28ca(0x14a)](require,path['join'](process[_0x1c28ca(0x17c)](),_0x6d5c19[_0x1c28ca(0x111)]));if(_0x362c58['jest'])return logger['info'](_0x6d5c19[_0x1c28ca(0x185)]),_0x362c58[_0x1c28ca(0x16e)];const _0x496089=['js',_0x6d5c19[_0x1c28ca(0x127)],_0x6d5c19[_0x1c28ca(0x15d)],_0x6d5c19[_0x1c28ca(0x132)],'ts'];for(const _0x3205a8 of _0x496089){const _0x12559a=path['join'](process[_0x1c28ca(0x17c)](),'jest.config.'+_0x3205a8);if(fs[_0x1c28ca(0x1d4)](_0x12559a)){process[_0x1c28ca(0x112)]['USER_CONFIG_DETAILS_PATH']=_0x12559a;const _0x41e716=await(0x0,_0x42579e[_0x1c28ca(0x138)])(_0x12559a);return _0x41e716;}}return{};},getSerial=(_0x53c4dc,_0x39d0a1)=>{const _0x341cb4=a21_0x7beb13,_0x189723={};_0x189723['kbnON']=_0x341cb4(0x182),_0x189723[_0x341cb4(0x100)]=function(_0x5e1cf0,_0xc94677){return _0x5e1cf0>_0xc94677;},_0x189723[_0x341cb4(0x1d5)]=function(_0x235e29,_0x3b275d){return _0x235e29>_0x3b275d;},_0x189723[_0x341cb4(0x1b9)]='false';const _0x52322c=_0x189723;let _0x2eb2c5=_0x52322c['kbnON'];return _0x52322c['FEuoO'](_0x53c4dc['length'],0x1)&&(!_0x39d0a1[_0x341cb4(0x16d)]&&(helper[_0x341cb4(0x102)](_0x39d0a1[_0x341cb4(0x131)])||_0x52322c[_0x341cb4(0x1d5)](_0x39d0a1[_0x341cb4(0x131)],0x1)))&&(_0x2eb2c5=_0x52322c['vSpyX']),_0x2eb2c5;},getMaxWorkers=(_0x1711ff,_0x4eef0c,_0x52f6bf)=>{const _0x42008c=a21_0x7beb13,_0x17071f={'Qwpis':function(_0x30f9af,_0x55b9c2){return _0x30f9af(_0x55b9c2);}};let _0x32954c=0x1;if(!helper[_0x42008c(0x102)](_0x4eef0c[_0x42008c(0x1be)]))_0x32954c=_0x17071f[_0x42008c(0x113)](parseInt,_0x4eef0c[_0x42008c(0x1be)]);else{if(!helper['isUndefined'](_0x1711ff[_0x42008c(0x131)]))_0x32954c=_0x1711ff[_0x42008c(0x131)];else!helper[_0x42008c(0x102)](_0x52f6bf[_0x42008c(0x131)])&&(_0x32954c=_0x52f6bf[_0x42008c(0x131)]);}return _0x32954c;};async function run(_0x373a4e,_0x3ec593,_0x48f5d9){const _0x3e5197=a21_0x7beb13,_0x311b87={'swfSP':'jest','rTNYO':function(_0x5a8c87,_0xa77652){return _0x5a8c87(_0xa77652);},'yogAT':_0x3e5197(0x19a),'Hbfjj':function(_0x27e938){return _0x27e938();},'dXLUG':function(_0x172c5f,_0x5dec53,_0x2d92a0,_0x28c128){return _0x172c5f(_0x5dec53,_0x2d92a0,_0x28c128);},'TCFUY':function(_0x3a3b87,_0x527432,_0x1164f6,_0x442cd6){return _0x3a3b87(_0x527432,_0x1164f6,_0x442cd6);},'utWeG':function(_0x5baf68,_0x489e0e){return _0x5baf68!=_0x489e0e;},'fALfa':_0x3e5197(0x182),'hSufM':function(_0x4da2ec,_0x71a897,_0x5eafba){return _0x4da2ec(_0x71a897,_0x5eafba);},'VMZnO':'Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','QTvhr':function(_0x545f4c,_0x1f3749){return _0x545f4c(_0x1f3749);},'cHfvA':_0x3e5197(0xf9),'VDWbH':function(_0x26436d,_0x2c272d,_0xa925f6,_0x48d45e){return _0x26436d(_0x2c272d,_0xa925f6,_0x48d45e);},'NZqsn':function(_0xb82549,_0x4cd240){return _0xb82549*_0x4cd240;},'wQfVV':function(_0x23e717,_0x3f8ea1){return _0x23e717===_0x3f8ea1;},'fdcTM':_0x3e5197(0x169),'eWHGr':_0x3e5197(0x15b),'Haawl':_0x3e5197(0xf4),'zToPS':_0x3e5197(0x190),'dvERv':_0x3e5197(0x130),'AkzWv':_0x3e5197(0x1ae),'BnReZ':_0x3e5197(0x19f),'qtkrU':function(_0x40e4d4,_0x24eef3){return _0x40e4d4!==_0x24eef3;},'BILNm':_0x3e5197(0x10e),'sunLn':_0x3e5197(0x1a7),'IGwQL':_0x3e5197(0x12a),'Rxsok':_0x3e5197(0x15f),'GJVJm':'jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','DejEU':_0x3e5197(0x163),'aJocr':_0x3e5197(0x10b),'HJgag':_0x3e5197(0x166),'FFuaB':_0x3e5197(0x1aa),'jtzBI':_0x3e5197(0x1a4),'GuPvp':_0x3e5197(0xf2),'TiXdA':_0x3e5197(0x1a2),'KWJGR':_0x3e5197(0x1bb),'ouoyU':_0x3e5197(0x162),'hVWGy':'test.setup.js','LmHXD':'Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','SOhXD':function(_0x43b018,_0x23c0dc){return _0x43b018&&_0x23c0dc;},'ruNsA':_0x3e5197(0x144),'ikgBa':_0x3e5197(0x1b3),'lWAkn':_0x3e5197(0x1bf),'nqeeh':'default','qGmQz':function(_0x127645,_0x291a8a,_0x28db37){return _0x127645(_0x291a8a,_0x28db37);},'xPXYC':'@jest/core/build/ReporterDispatcher.js','DkcHf':_0x3e5197(0x19e),'gmegh':_0x3e5197(0x18a),'LicuV':function(_0x19d63d,_0x14d035){return _0x19d63d>_0x14d035;},'BzyJT':_0x3e5197(0x17e),'EaBHl':_0x3e5197(0x18d),'AGgqh':function(_0x57b9e5,_0x1e9021,_0x4f89a3,_0x51d758){return _0x57b9e5(_0x1e9021,_0x4f89a3,_0x51d758);},'OZgiS':_0x3e5197(0x1a8),'AaINP':_0x3e5197(0x168),'GoxBL':_0x3e5197(0x18b),'kJymE':_0x3e5197(0x116)},_0x57293e=helper[_0x3e5197(0x14c)](_0x311b87['yogAT']);global[_0x3e5197(0x184)]=!!_0x57293e;const _0x130d24=_0x311b87[_0x3e5197(0xf3)](getPuppeteerVersion);global[_0x3e5197(0x13d)]=!!_0x130d24;helper[_0x3e5197(0x15a)]()&&(await _0x48f5d9['initialize'](_0x373a4e),await helper[_0x3e5197(0x175)](_0x48f5d9[_0x3e5197(0x1e3)]));if(_0x57293e)await _0x311b87[_0x3e5197(0x12b)](checkPwandBootstrapCli,_0x57293e,constants['FRAMEWORKS']['JEST'],_0x48f5d9);else _0x130d24&&await _0x311b87[_0x3e5197(0x11d)](checkPuppeteerAndBootstrapCli,_0x130d24,constants[_0x3e5197(0x177)]['JEST'],_0x48f5d9);!BrowserstackCLI[_0x3e5197(0x1b2)]()[_0x3e5197(0xfa)]()&&await _0x48f5d9['setupBrowserstackLocal']();if(!_0x48f5d9[_0x3e5197(0x1e3)])return;_0x311b87[_0x3e5197(0x140)](_0x48f5d9[_0x3e5197(0x1e3)]['testObservability'],null)?process['env'][_0x3e5197(0x141)]=_0x48f5d9['config'][_0x3e5197(0x1ca)]:process[_0x3e5197(0x112)][_0x3e5197(0x141)]=_0x311b87['fALfa'];const _0xf09f2d=new TestOrchestrationHandler(_0x48f5d9[_0x3e5197(0x1e3)]),_0x51bfb9=await _0x311b87[_0x3e5197(0x11a)](getUserJestConfigs,_0x373a4e,_0x3ec593);logger[_0x3e5197(0x10d)](_0x311b87[_0x3e5197(0x159)]);const _0x257d7c=Object[_0x3e5197(0x187)]({},_0x51bfb9);_0x257d7c[_0x3e5197(0x1e6)]=Object[_0x3e5197(0x187)]({},_0x257d7c[_0x3e5197(0x1e6)],{'server':helper[_0x3e5197(0x118)](_0x48f5d9[_0x3e5197(0x1e3)]),'environment':_0x51bfb9[_0x3e5197(0x1c6)]}),_0x257d7c[_0x3e5197(0x1e6)][_0x3e5197(0x156)]=_0x311b87[_0x3e5197(0x126)](getPercyOptions,_0x48f5d9[_0x3e5197(0x1e3)]);const _0x5d0762=helper[_0x3e5197(0x1c0)](_0x48f5d9[_0x3e5197(0x1e3)]);!helper[_0x3e5197(0x102)](_0x48f5d9['config'][_0x3e5197(0x134)])&&(process[_0x3e5197(0x112)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x48f5d9[_0x3e5197(0x1e3)][_0x3e5197(0x134)]));if(!BrowserstackCLI[_0x3e5197(0x1b2)]()[_0x3e5197(0xfa)]()){const _0x4285b6=await TestHubHandler['launchBuild'](FRAMEWORKS[_0x3e5197(0x1dc)],_0x48f5d9);}const _0x5eb201=helper['prepareCapabilities'](_0x48f5d9[_0x3e5197(0x1e3)],_0x5d0762,constants[_0x3e5197(0x177)][_0x3e5197(0x1dc)]);process[_0x3e5197(0x112)][_0x3e5197(0x1e2)]=JSON[_0x3e5197(0x11c)](_0x5eb201);let _0x293138=_0x48f5d9[_0x3e5197(0x1e3)][_0x3e5197(0x179)];_0x293138=_0x293138||accessibilityHelper[_0x3e5197(0xf5)](_0x48f5d9[_0x3e5197(0x1e3)]),process[_0x3e5197(0x112)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x293138,logger['debug'](_0x3e5197(0x114)+_0x293138+',\x20CLI\x20running:\x20'+BrowserstackCLI[_0x3e5197(0x1b2)]()[_0x3e5197(0xfa)]());if(_0x57293e)try{const _0x17b26=_0x311b87[_0x3e5197(0x1c8)](checkAccessibilityPlatformConfig,_0x48f5d9[_0x3e5197(0x1e3)]);process[_0x3e5197(0x112)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x17b26?_0x311b87[_0x3e5197(0x151)]:_0x311b87['cHfvA'],logger['debug']('[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20'+_0x17b26+_0x3e5197(0x194)+process[_0x3e5197(0x112)][_0x3e5197(0x1af)]);}catch(_0x5c56fa){logger[_0x3e5197(0x18c)](_0x3e5197(0x1ad)+util[_0x3e5197(0x1c5)](_0x5c56fa));}_0x257d7c[_0x3e5197(0x1e6)][_0x3e5197(0x123)]=_0x5eb201,_0x257d7c['testEnvironmentOptions'][_0x3e5197(0xfd)]=_0x311b87[_0x3e5197(0x11a)](getSerial,_0x5eb201,_0x373a4e),_0x257d7c[_0x3e5197(0x1e6)][_0x3e5197(0x16c)]=_0x311b87[_0x3e5197(0x16f)](getMaxWorkers,_0x373a4e,_0x48f5d9[_0x3e5197(0x1e3)],_0x51bfb9),_0x257d7c[_0x3e5197(0x1e6)][_0x3e5197(0xf7)]=_0x48f5d9[_0x3e5197(0x1e3)]['proxySettings'],_0x257d7c[_0x3e5197(0x1e6)]['timeout__']=_0x311b87[_0x3e5197(0x125)](_0x373a4e[_0x3e5197(0x191)],0x1)||0x1388,_0x257d7c['testEnvironmentOptions'][_0x3e5197(0x122)]=_0x48f5d9[_0x3e5197(0x1e3)]['testContextOptions']['skipSessionName'],_0x257d7c['testEnvironmentOptions'][_0x3e5197(0x176)]=_0x48f5d9[_0x3e5197(0x1e3)][_0x3e5197(0x1c3)][_0x3e5197(0x176)],_0x257d7c[_0x3e5197(0x1e6)]['browserStackLogLevel']=_0x48f5d9['config'][_0x3e5197(0x1c9)],_0x257d7c['testEnvironmentOptions'][_0x3e5197(0x1cb)]=_0x48f5d9[_0x3e5197(0x1e3)]['turboScaleUrl'],_0x257d7c[_0x3e5197(0x1e6)][_0x3e5197(0xf6)]=_0x48f5d9[_0x3e5197(0x1e3)][_0x3e5197(0xfe)],Object['assign'](_0x257d7c[_0x3e5197(0x1e6)],helper['getMultiDriverWorkerConfig'](_0x48f5d9[_0x3e5197(0x1e3)],_0x5d0762,constants['FRAMEWORKS']['JEST']));const _0x480821=helper[_0x3e5197(0x13f)](_0x48f5d9[_0x3e5197(0x1e3)]);if(!helper[_0x3e5197(0x1cc)](_0x480821)){helper[_0x3e5197(0x1d3)](_0x480821[_0x3e5197(0xf0)])&&(_0x257d7c[_0x3e5197(0x1e6)]['retries__']=_0x480821[_0x3e5197(0xf0)][_0x3e5197(0x10c)]);if(helper[_0x3e5197(0x1d3)](_0x480821['abortBuildOnFailure'])&&helper[_0x3e5197(0x1d3)](_0x480821[_0x3e5197(0x193)][_0x3e5197(0x1a1)])){const _0x447708={};_0x447708['failureThresholdCount']=_0x480821[_0x3e5197(0x193)][_0x3e5197(0xfb)],_0x447708[_0x3e5197(0x1a1)]=_0x480821[_0x3e5197(0x193)][_0x3e5197(0x1a1)],_0x257d7c[_0x3e5197(0x1e6)]['failFast']=_0x447708;}}let _0x14778a='';_0x311b87['wQfVV'](helper['getPackageType'](),constants['PACKAGE_TYPE'][_0x3e5197(0x180)])?_0x14778a=_0x311b87[_0x3e5197(0x128)]:_0x14778a=_0x311b87['eWHGr'];const _0x423259=_0x14778a,_0x33d70c=path['join'](__dirname,_0x311b87[_0x3e5197(0x12d)],_0x311b87[_0x3e5197(0x139)]),_0x107cc6=path[_0x3e5197(0x1d7)](__dirname,_0x311b87['Haawl'],_0x311b87[_0x3e5197(0x110)]),_0x165c7e=path['join'](__dirname,_0x311b87[_0x3e5197(0x12d)],_0x311b87[_0x3e5197(0x1d6)]);_0x257d7c['testEnvironment']&&(process[_0x3e5197(0x112)]['BSTACK_JEST_TEST_ENV']=_0x257d7c[_0x3e5197(0x1c6)]);_0x257d7c[_0x3e5197(0x1c6)]=path[_0x3e5197(0x1d7)](__dirname,_0x311b87['Haawl'],_0x311b87[_0x3e5197(0x10f)]);const _0x3466df=_0x51bfb9[_0x3e5197(0x19b)];if(_0x3466df&&_0x311b87['qtkrU'](_0x3466df,_0x311b87[_0x3e5197(0x19c)])){const _0x79ce7a=_0x3466df[_0x3e5197(0x1de)](_0x311b87[_0x3e5197(0x11e)])?_0x3466df:_0x3e5197(0x1a7)+_0x3466df;process['env'][_0x3e5197(0x174)]=_0x79ce7a,logger['info']('Preserving\x20user\x27s\x20Jest\x20runner:\x20'+_0x79ce7a);}_0x257d7c['runner']=_0x107cc6,_0x257d7c['setupFilesAfterEnv']=_0x257d7c[_0x3e5197(0x129)]||[],_0x257d7c[_0x3e5197(0x129)][_0x3e5197(0x161)](path['join'](__dirname,_0x311b87[_0x3e5197(0x1d0)]));_0xf09f2d['isTestOrchestrationEnabled']()&&(_0x257d7c['testSequencer']=path[_0x3e5197(0x1d7)](__dirname,_0x311b87[_0x3e5197(0x12d)],_0x311b87['Rxsok']));if(testhubUtils[_0x3e5197(0x157)]()||BrowserstackCLI[_0x3e5197(0x1b2)]()['isCliEnabled']()){let _0x11ddd2=null;try{_0x11ddd2=helper[_0x3e5197(0x160)](_0x311b87['GJVJm'],_0x311b87[_0x3e5197(0x1d8)]);}catch(_0x3fc2fe){try{_0x11ddd2=helper['requireModule'](_0x311b87['aJocr'],_0x311b87[_0x3e5197(0x1d8)]);}catch(_0x2f1f11){_0x311b87['QTvhr'](debug,_0x3e5197(0x13a)+_0x2f1f11);}}_0x11ddd2&&(testhubUtils[_0x3e5197(0x157)]()&&_0x257d7c[_0x3e5197(0x129)][_0x3e5197(0x161)](path['join'](__dirname,_0x311b87[_0x3e5197(0x16b)],_0x311b87[_0x3e5197(0x12e)])),_0x257d7c[_0x3e5197(0x13c)]=path[_0x3e5197(0x1d7)](__dirname,_0x311b87[_0x3e5197(0x12d)],_0x311b87[_0x3e5197(0x186)]));}_0x257d7c[_0x3e5197(0x1da)]=_0x257d7c['setupFiles']||[];try{helper[_0x3e5197(0x198)](),_0x257d7c[_0x3e5197(0x1da)]['push'](path[_0x3e5197(0x1d7)](__dirname,_0x311b87[_0x3e5197(0x121)]));}catch{logger[_0x3e5197(0x18c)](_0x311b87['TiXdA']);}try{helper[_0x3e5197(0x115)]['apply'](null,[_0x311b87[_0x3e5197(0x158)],_0x311b87[_0x3e5197(0x165)]]),logger[_0x3e5197(0x18c)](_0x311b87[_0x3e5197(0x1d9)]),_0x257d7c[_0x3e5197(0x1da)]['push'](path[_0x3e5197(0x1d7)](__dirname,_0x311b87['hVWGy']));}catch(_0x25b399){logger[_0x3e5197(0x18c)](_0x311b87[_0x3e5197(0x173)],_0x25b399);}if(_0x311b87['SOhXD'](!_0x57293e,_0x130d24)){try{logger[_0x3e5197(0x18c)](_0x311b87[_0x3e5197(0x1c4)]),_0x257d7c[_0x3e5197(0x129)][_0x3e5197(0x161)](path[_0x3e5197(0x1d7)](__dirname,'..',_0x311b87[_0x3e5197(0x1bc)],_0x311b87[_0x3e5197(0x18e)]));}catch(_0x2a6cee){logger[_0x3e5197(0x18c)]('Puppeteer\x20setup\x20error:\x20'+_0x2a6cee[_0x3e5197(0x17d)]);}try{const _0x50d462=require[_0x3e5197(0x16a)](_0x311b87[_0x3e5197(0x189)]),_0x51bad2=path[_0x3e5197(0x1e4)](_0x50d462)[_0x3e5197(0x170)](/\\/g,'/'),_0x1f14da={};_0x1f14da[_0x3e5197(0x1dd)]=_0x51bad2+_0x3e5197(0x167),_0x257d7c[_0x3e5197(0x119)]=Object[_0x3e5197(0x187)]({},_0x257d7c[_0x3e5197(0x119)]||{},_0x1f14da),logger[_0x3e5197(0x18c)]('[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20'+_0x51bad2);}catch(_0x226267){logger['debug']('[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20'+_0x226267[_0x3e5197(0x17d)]);}}_0x257d7c[_0x3e5197(0x1ba)]=_0x257d7c[_0x3e5197(0x1ba)]||[_0x311b87[_0x3e5197(0x199)]],_0x311b87[_0x3e5197(0x152)](updateTestRerunConfig,_0x257d7c,_0x48f5d9);const _0x1ec174=fs[_0x3e5197(0x1cf)](_0x165c7e),_0x5e47d2=helper[_0x3e5197(0x154)](_0x311b87[_0x3e5197(0x1ac)],_0x311b87[_0x3e5197(0x1e7)]);!_0x5e47d2['error']?fs[_0x3e5197(0x1ab)](_0x257d7c[_0x3e5197(0x19b)],'\x0a\x20\x20\x20\x20\x20\x20'+_0x1ec174+_0x3e5197(0x109)+_0x48f5d9['config']['platforms'][_0x3e5197(0x17f)]+_0x3e5197(0x150)):fs[_0x3e5197(0x1ab)](_0x257d7c[_0x3e5197(0x19b)],_0x3e5197(0x1a3)+_0x1ec174+_0x3e5197(0x1d2)+_0x48f5d9['config'][_0x3e5197(0xfe)]['length']+_0x3e5197(0x137));logger[_0x3e5197(0x10d)](_0x3e5197(0x13b)+_0x423259+_0x3e5197(0x1b4)),fs[_0x3e5197(0x1ab)](_0x423259,'const\x20config='+JSON[_0x3e5197(0x11c)](_0x257d7c)+_0x3e5197(0x19d));if(_0xf09f2d['isTestOrchestrationEnabled']()){logger[_0x3e5197(0x18c)](_0x311b87[_0x3e5197(0x15c)]);const _0x18e755=await _0xf09f2d['findTestFiles'](_0x257d7c,_0x3ec593[_0x3e5197(0x1b5)](0x1),_0x423259);logger[_0x3e5197(0x18c)](_0x3e5197(0x11f)+JSON['stringify'](_0x18e755)+_0x3e5197(0x17b));const _0x243b8c=await _0xf09f2d[_0x3e5197(0x146)](_0x18e755);logger['debug'](_0x3e5197(0x1a9)+JSON[_0x3e5197(0x11c)](_0x243b8c)),_0x243b8c&&_0x311b87[_0x3e5197(0x10a)](_0x243b8c['length'],0x0)&&(process[_0x3e5197(0x112)][_0x3e5197(0x171)]=_0x243b8c?.[_0x3e5197(0x1d7)](','));}logger[_0x3e5197(0x10d)](_0x311b87[_0x3e5197(0x104)]);testhubUtils['shouldProcessEventForTesthub']()&&TestDetails['setup']();helper[_0x3e5197(0x18f)]({},_0x3ec593),PerformanceTester['end'](PerformanceEvents['SDK_SETUP']);const _0x43d9f2=[_0x311b87['swfSP'],_0x311b87[_0x3e5197(0x1cd)],_0x423259,..._0x3ec593[_0x3e5197(0x1b5)](0x1)];process[_0x3e5197(0x112)][_0x3e5197(0x1db)]=process[_0x3e5197(0x112)]['BROWSERSTACK_FRAMEWORK']||_0x311b87['swfSP'];const _0x510e9b=_0x311b87['AGgqh'](spawn,_0x311b87[_0x3e5197(0xf1)],_0x43d9f2,{'shell':_0x311b87[_0x3e5197(0x135)](process['platform'],_0x311b87[_0x3e5197(0xef)]),'stdio':_0x311b87['GoxBL'],'env':Object[_0x3e5197(0x187)]({},process['env'])});_0x510e9b['on'](_0x311b87[_0x3e5197(0x192)],async _0x3ee4bd=>{const _0x508bdc=_0x3e5197;PerformanceTester[_0x508bdc(0x12f)](PerformanceEvents[_0x508bdc(0x164)]),process[_0x508bdc(0x172)]=_0x3ee4bd,logger[_0x508bdc(0x18c)]('child\x20process\x20exited\x20with\x20code\x20'+_0x3ee4bd),logger[_0x508bdc(0x10d)](_0x508bdc(0x14d)+_0x423259);if(helper[_0x508bdc(0x1d3)](_0x480821)&&helper['isNotUndefined'](_0x480821[_0x508bdc(0x193)])&&fs[_0x508bdc(0x1d4)](_0x480821['abortBuildOnFailure'][_0x508bdc(0x1a1)]))try{const _0x1dc2f6={};_0x1dc2f6[_0x508bdc(0x12c)]=!![],_0x1dc2f6[_0x508bdc(0x143)]=!![],fs[_0x508bdc(0xfc)](_0x480821[_0x508bdc(0x193)]['workingDir'],_0x1dc2f6),logger[_0x508bdc(0x18c)]('Deleted\x20fail-fast\x20state\x20folder:\x20'+_0x480821[_0x508bdc(0x193)][_0x508bdc(0x1a1)]);}catch(_0x467c1c){logger['error'](_0x508bdc(0x101)+_0x467c1c);}let _0x3aa41d=null;if(fs[_0x508bdc(0x1d4)](_0x33d70c)){_0x3aa41d=fs[_0x508bdc(0x1cf)](_0x33d70c);try{_0x3aa41d=JSON[_0x508bdc(0x196)](_0x3aa41d);}catch(_0x38f9be){logger[_0x508bdc(0x18c)]('Error\x20while\x20parsing\x20'+_0x33d70c+',\x20'+_0x3aa41d+_0x508bdc(0x11b)+_0x38f9be);}fs[_0x508bdc(0x136)](_0x33d70c);}fs[_0x508bdc(0x136)](_0x423259),fs[_0x508bdc(0x136)](_0x107cc6),_0x3aa41d&&(_0x48f5d9[_0x508bdc(0x103)]=helper['getErrorMessageFromResults'](_0x3aa41d,_0x311b87[_0x508bdc(0x142)],_0x48f5d9));const _0x4873b1=BrowserstackCLI[_0x508bdc(0x120)]();try{await TestHubHandler[_0x508bdc(0x1df)](),await BrowserstackCLI[_0x508bdc(0x1b2)]()[_0x508bdc(0x1df)]();}catch(_0x5a9c9d){console['log'](_0x5a9c9d),_0x311b87['rTNYO'](debug,_0x508bdc(0x147)+util[_0x508bdc(0x1c5)](_0x5a9c9d));}testOpsHelper[_0x508bdc(0x153)](),TestDetails[_0x508bdc(0x1c2)](),await utilities[_0x508bdc(0x108)](_0x48f5d9,_0x4873b1);});}function a21_0x163d(_0x14a99b,_0x24e765){const _0x581a50=a21_0x581a();return a21_0x163d=function(_0x163dc8,_0x166f21){_0x163dc8=_0x163dc8-0xee;let _0xb27a58=_0x581a50[_0x163dc8];return _0xb27a58;},a21_0x163d(_0x14a99b,_0x24e765);}module[a21_0x7beb13(0x1a6)]=run;function a21_0x581a(){const _0x209d19=['Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','customTestRunnerTemplate.js','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','package.json','4sjhAEm','getInstance','puppeteer','\x20with\x20browserstack\x20jest\x20configs','slice','Getting\x20your\x20jest\x20configs\x20from\x20package.json','../../helpers/BrowserStackSetup','mjs','vSpyX','reporters','playwright','ikgBa','27171YATLic','parallelsPerPlatform','puppeteer-core/package.json','useW3C','findIndex','shutdown','testContextOptions','ruNsA','format','testEnvironment','1416FAOtWp','QTvhr','logLevel','testObservability','turboScaleUrl','isEmpty','EaBHl','../../helpers/puppeteer-helper','readFileSync','IGwQL','../../helpers/test-observability/utils','\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','isNotUndefined','existsSync','ETBJd','AkzWv','join','DejEU','ouoyU','setupFiles','BROWSERSTACK_FRAMEWORK','JEST','^puppeteer-core/internal/(.*)','startsWith','stop','26177380XpNgVx','../../helpers/testhub/testhubHandler','BROWSERSTACK_CAPABILITIES','config','dirname','winstonLogger','testEnvironmentOptions','DkcHf','909436uaEsrB','../v2/browserstackCLI','AaINP','retryTestsOnFailure','OZgiS','test_before.setup.js','Hbfjj','customImplements','checkAccessibilityPlatformConfig','platformCaps','proxySettings','json','false','isRunning','maxFailures','rmSync','serial__','platforms','util','FEuoO','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','isUndefined','errorMessage','BzyJT','MXHeH','EVENTS','425159RiZMHn','finalExecution','\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','LicuV','jest-circus/build/runner.js','maxRetries','info','jest-runner','BnReZ','dvERv','twmPc','env','Qwpis','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','requirePWModule','close','../utils/constants','getHubUrl','moduleNameMapper','hSufM','\x20:\x20','stringify','TCFUY','sunLn','Found:\x20','isCLIEnabled','GuPvp','skipSessionName','capabilities','./test-observability/test-details','NZqsn','rTNYO','qvrRH','fdcTM','setupFilesAfterEnv','jest.setup.js','dXLUG','recursive','Haawl','FFuaB','start','customTestRunner.js','maxWorkers','VHBaO','../../helpers/test-orchestration/testOrchestrationHandler','accessibilityOptions','wQfVV','unlinkSync',';\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','default','zToPS','Unable\x20to\x20find\x20jest-circus,\x20','Creating\x20','testRunner','__isPuppeteerInstalled','Getting\x20your\x20jest\x20configs\x20from\x20','parseTestOrchestrationOptions','utWeG','BROWSERSTACK_TEST_OBSERVABILITY_YML','swfSP','force','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','../../helpers/testhub/utils','reorderTestFiles','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','../../helpers/accessibility-automation/helper','814405PuorQS','Sdcse','../../helpers/performance/performance-tester','getPackageVersion','Deleting\x20','path','../../helpers/test-observability/constants',';\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','fALfa','qGmQz','printBuildLink','resolveModule','1494036POeENq','browserStackPercyOptions','shouldProcessEventForTesthub','yogAT','VMZnO','isBrowserstackInfra','jest_browserstack.config.js','gmegh','jIgag','./test-observability/helper','customSequencer.js','requireModule','push','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','jest-circus','SDK_CLEANUP','KWJGR','test-observability','/internal/$1','win32','jest_browserstack.config.cjs','resolve','HJgag','parallels__','runInBand','jest','VDWbH','replace','JEST_TEST_ORDER','exitCode','LmHXD','BSTACK_USER_JEST_RUNNER','handleApp','skipSessionStatus','FRAMEWORKS','splice','accessibility','../../helpers/utilities','\x20test\x20files\x20to\x20run.','cwd','message','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','length','MODULE','192ZpzFul','true','jest-config','__isPlaywrightInstalled','SfLGr','jtzBI','assign','jest-config/build/readConfigFileAndSetRootDir.js','lWAkn','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','inherit','debug','--config','hVWGy','filterBrowserstackArgs','jest_browserstack_results.json','testTimeout','kJymE','abortBuildOnFailure',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','../../helpers/percy/utils','parse','2821107KDhShw','requireSeleniumWebdriver','nqeeh','@playwright/test','runner','BILNm','\x0amodule.exports\x20=\x20config;','@jest/core','customEnvironment.js','yueub','workingDir','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','\x0a\x20\x20\x20\x20\x20\x20','customCircus.js','../../helpers/helper','exports','jest-runner-','npx','Reodered\x20Test\x20Files:\x20','data-hooks.js','writeFileSync','xPXYC'];a21_0x581a=function(){return _0x209d19;};return a21_0x581a();}
|
|
2
|
+
'use strict';const a21_0xbe8341=a21_0x40f5;(function(_0x5d1e87,_0x355ad6){const _0x593094=a21_0x40f5,_0x1291ac=_0x5d1e87();while(!![]){try{const _0x206703=parseInt(_0x593094(0x14d))/0x1+-parseInt(_0x593094(0xab))/0x2*(-parseInt(_0x593094(0xd8))/0x3)+-parseInt(_0x593094(0x10f))/0x4+parseInt(_0x593094(0x184))/0x5+-parseInt(_0x593094(0xf7))/0x6+-parseInt(_0x593094(0xc9))/0x7+-parseInt(_0x593094(0xed))/0x8*(-parseInt(_0x593094(0x16f))/0x9);if(_0x206703===_0x355ad6)break;else _0x1291ac['push'](_0x1291ac['shift']());}catch(_0x2d4aa6){_0x1291ac['push'](_0x1291ac['shift']());}}}(a21_0x4a64,0xb9ea5));function a21_0x40f5(_0x9949bd,_0x8c424){const _0x4a64fc=a21_0x4a64();return a21_0x40f5=function(_0x40f507,_0x3a6731){_0x40f507=_0x40f507-0x9e;let _0x1a1658=_0x4a64fc[_0x40f507];return _0x1a1658;},a21_0x40f5(_0x9949bd,_0x8c424);}const fs=require('fs'),path=require('path'),util=require(a21_0xbe8341(0xfe)),{spawn}=require(a21_0xbe8341(0x166)),logger=require('../../helpers/logger')[a21_0xbe8341(0x12b)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a21_0xbe8341(0xda)),utilities=require(a21_0xbe8341(0x162)),constants=require(a21_0xbe8341(0xd9)),accessibilityHelper=require(a21_0xbe8341(0x11d)),{updateTestRerunConfig}=require('./test-observability/helper'),testOpsHelper=require(a21_0xbe8341(0xbc)),{debug}=require(a21_0xbe8341(0xbc)),TestDetails=require(a21_0xbe8341(0xbe)),{getPercyOptions}=require(a21_0xbe8341(0x154)),TestHubHandler=require(a21_0xbe8341(0x127)),testhubUtils=require(a21_0xbe8341(0xad)),{FRAMEWORKS}=require(a21_0xbe8341(0xf6)),PerformanceTester=require(a21_0xbe8341(0xdd)),PerformanceEvents=require(a21_0xbe8341(0x113))[a21_0xbe8341(0xdf)],TestOrchestrationHandler=require(a21_0xbe8341(0x13d)),BrowserstackCLI=require(a21_0xbe8341(0x15a)),{checkPwandBootstrapCli}=require(a21_0xbe8341(0xb6)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a21_0xbe8341(0x161)),ClientTroubleShootingService=require(a21_0xbe8341(0xc3)),{checkAccessibilityPlatformConfig}=require(a21_0xbe8341(0x11d)),getUserJestConfigs=async(_0x318425,_0x56448c)=>{const _0x59f4bf=a21_0xbe8341,_0x115cba={'Ksqhx':'jest-config/build/readConfigFileAndSetRootDir.js','YGaWr':_0x59f4bf(0x111),'yaKbl':function(_0x528738,_0x532855){return _0x528738||_0x532855;},'gZdwg':function(_0x3063bd,_0x34aa13){return _0x3063bd(_0x34aa13);},'UkTfd':_0x59f4bf(0x14b),'LBqNM':_0x59f4bf(0x131),'QPtQp':_0x59f4bf(0x181),'ZuIWl':_0x59f4bf(0xeb),'Qglvh':_0x59f4bf(0x115)};let _0x5aeb8f;try{_0x5aeb8f=helper[_0x59f4bf(0xa4)](_0x115cba[_0x59f4bf(0xee)],_0x115cba[_0x59f4bf(0x112)]);}catch{const _0xd5de9c=helper[_0x59f4bf(0xa4)](_0x115cba[_0x59f4bf(0x112)]);_0x5aeb8f={'default':async _0x4cd550=>{const _0x57a756=_0x59f4bf,_0x22e514=await _0xd5de9c[_0x57a756(0xba)](_0x4cd550,{});return _0x22e514[_0x57a756(0xf9)];}};}const _0x39618c=_0x56448c['findIndex'](_0x11decb=>_0x11decb===_0x59f4bf(0x10b));if(!helper[_0x59f4bf(0x122)](_0x318425[_0x59f4bf(0xf9)])){logger[_0x59f4bf(0xf8)]('Getting\x20your\x20jest\x20configs\x20from\x20'+_0x318425[_0x59f4bf(0xf9)]),process[_0x59f4bf(0x11f)][_0x59f4bf(0x185)]=_0x318425[_0x59f4bf(0xf9)];const _0x552ed3=await(0x0,_0x5aeb8f[_0x59f4bf(0xd0)])(path['resolve'](_0x318425['config']));return _0x56448c[_0x59f4bf(0x133)](_0x39618c,0x2),_0x115cba[_0x59f4bf(0xc7)](_0x552ed3,{});}const _0x572935=_0x115cba[_0x59f4bf(0xf4)](require,path[_0x59f4bf(0x179)](process['cwd'](),_0x115cba[_0x59f4bf(0x171)]));if(_0x572935['jest'])return logger['info'](_0x115cba[_0x59f4bf(0x13e)]),_0x572935['jest'];const _0x24bbb8=['js',_0x115cba[_0x59f4bf(0xd6)],_0x115cba[_0x59f4bf(0x177)],_0x115cba[_0x59f4bf(0x172)],'ts'];for(const _0xda7d44 of _0x24bbb8){const _0x276d8f=path[_0x59f4bf(0x179)](process['cwd'](),_0x59f4bf(0xae)+_0xda7d44);if(fs[_0x59f4bf(0x148)](_0x276d8f)){process[_0x59f4bf(0x11f)]['USER_CONFIG_DETAILS_PATH']=_0x276d8f;const _0x6e156=await(0x0,_0x5aeb8f[_0x59f4bf(0xd0)])(_0x276d8f);return _0x6e156;}}return{};},getSerial=(_0x339216,_0xc5370d)=>{const _0x49586f=a21_0xbe8341,_0x4e9196={};_0x4e9196[_0x49586f(0xea)]=_0x49586f(0x152),_0x4e9196['DHywb']=function(_0x348df6,_0x129946){return _0x348df6>_0x129946;},_0x4e9196[_0x49586f(0x180)]='false';const _0x1d308e=_0x4e9196;let _0x41603c=_0x1d308e[_0x49586f(0xea)];return _0x1d308e[_0x49586f(0x17c)](_0x339216[_0x49586f(0x182)],0x1)&&(!_0xc5370d['runInBand']&&(helper[_0x49586f(0x122)](_0xc5370d[_0x49586f(0x128)])||_0x1d308e[_0x49586f(0x17c)](_0xc5370d[_0x49586f(0x128)],0x1)))&&(_0x41603c=_0x1d308e[_0x49586f(0x180)]),_0x41603c;},getMaxWorkers=(_0x4e9a6a,_0x34403c,_0xc9f253)=>{const _0x4e21ee=a21_0xbe8341,_0x21afea={'MNXRP':function(_0x11456e,_0x1e285c){return _0x11456e(_0x1e285c);}};let _0x18a132=0x1;if(!helper[_0x4e21ee(0x122)](_0x34403c[_0x4e21ee(0x190)]))_0x18a132=_0x21afea[_0x4e21ee(0xc1)](parseInt,_0x34403c[_0x4e21ee(0x190)]);else{if(!helper[_0x4e21ee(0x122)](_0x4e9a6a[_0x4e21ee(0x128)]))_0x18a132=_0x4e9a6a['maxWorkers'];else!helper['isUndefined'](_0xc9f253['maxWorkers'])&&(_0x18a132=_0xc9f253[_0x4e21ee(0x128)]);}return _0x18a132;};async function run(_0x4418c4,_0x2abdc4,_0x26d8a9){const _0x4ea359=a21_0xbe8341,_0x126096={'Qcugu':_0x4ea359(0x136),'DDMNu':function(_0x985ed6,_0x1588cb){return _0x985ed6(_0x1588cb);},'tSVxK':'@playwright/test','jWqqL':function(_0x5154da){return _0x5154da();},'WWohk':function(_0x8b756a,_0x234351,_0x517796,_0x55e900){return _0x8b756a(_0x234351,_0x517796,_0x55e900);},'KnRdT':function(_0x56b6cd,_0x3d5cb5){return _0x56b6cd!=_0x3d5cb5;},'cPyjj':_0x4ea359(0x152),'xkxnM':function(_0x400162,_0x157db3,_0x5860db){return _0x400162(_0x157db3,_0x5860db);},'UNlzU':_0x4ea359(0xfc),'cAWct':function(_0x2f7750,_0x3317e1){return _0x2f7750(_0x3317e1);},'Zbwle':'false','YbxTv':function(_0x39e618,_0x50778d,_0x28aa80){return _0x39e618(_0x50778d,_0x28aa80);},'ssPXH':function(_0x1a274c,_0x17282e,_0x312842,_0x47498f){return _0x1a274c(_0x17282e,_0x312842,_0x47498f);},'AXtuS':function(_0x5172ff,_0x273599){return _0x5172ff*_0x273599;},'jVStG':function(_0x4e0664,_0x390f0f){return _0x4e0664===_0x390f0f;},'xLUVU':_0x4ea359(0x158),'nfbCG':_0x4ea359(0x12a),'FTeeE':_0x4ea359(0xb5),'EZjCk':_0x4ea359(0xcc),'OPHgy':'customTestRunner.js','TspAo':_0x4ea359(0xdb),'gKwTQ':'customEnvironment.js','ViHZW':function(_0x2d7e35,_0x52886e){return _0x2d7e35!==_0x52886e;},'WDUXa':'jest-runner','opiSY':_0x4ea359(0x17a),'VWZNK':_0x4ea359(0x10a),'nTYqi':_0x4ea359(0x11c),'OqOLJ':_0x4ea359(0xd1),'HyloJ':'jest-circus','JGSqT':_0x4ea359(0x17f),'zASEZ':_0x4ea359(0x116),'nyJXu':'data-hooks.js','PRpnE':_0x4ea359(0x105),'hhjyP':_0x4ea359(0xe6),'HUUVK':_0x4ea359(0x138),'XPDGK':_0x4ea359(0x16d),'FTkmY':_0x4ea359(0x13a),'YKcOj':_0x4ea359(0xe1),'NFaFF':_0x4ea359(0xd3),'GuCdv':function(_0x1e1eef,_0x5d75ba){return _0x1e1eef&&_0x5d75ba;},'nHgxH':_0x4ea359(0xb7),'psEcW':_0x4ea359(0x12d),'LUKTK':'puppeteer-core/package.json','nXLju':'default','chAKT':_0x4ea359(0x18f),'dFcsd':_0x4ea359(0x104),'yaSwf':_0x4ea359(0xe7),'DOBly':function(_0x4057f7,_0x2a1c6e){return _0x4057f7>_0x2a1c6e;},'WJjLD':_0x4ea359(0xac),'Lhgrk':_0x4ea359(0x10b),'dEAQO':function(_0x26a576,_0x46c1aa,_0x479f63,_0x4d35ef){return _0x26a576(_0x46c1aa,_0x479f63,_0x4d35ef);},'ufYPf':_0x4ea359(0x145),'sncul':'win32','YeSBe':_0x4ea359(0x164),'WUbUv':_0x4ea359(0xe9)},_0x2c73e4=helper[_0x4ea359(0x14e)](_0x126096[_0x4ea359(0x14f)]);global[_0x4ea359(0x106)]=!!_0x2c73e4;const _0x450956=_0x126096['jWqqL'](getPuppeteerVersion);global[_0x4ea359(0x100)]=!!_0x450956;helper[_0x4ea359(0x129)]()&&(await _0x26d8a9['initialize'](_0x4418c4),await helper['handleApp'](_0x26d8a9[_0x4ea359(0xf9)]));if(_0x2c73e4)await _0x126096[_0x4ea359(0xf5)](checkPwandBootstrapCli,_0x2c73e4,constants[_0x4ea359(0x135)]['JEST'],_0x26d8a9);else _0x450956&&await _0x126096['WWohk'](checkPuppeteerAndBootstrapCli,_0x450956,constants[_0x4ea359(0x135)]['JEST'],_0x26d8a9);!BrowserstackCLI[_0x4ea359(0xb3)]()[_0x4ea359(0x10d)]()&&await _0x26d8a9['setupBrowserstackLocal']();if(!_0x26d8a9['config'])return;_0x126096[_0x4ea359(0xca)](_0x26d8a9[_0x4ea359(0xf9)][_0x4ea359(0x183)],null)?process[_0x4ea359(0x11f)][_0x4ea359(0xf2)]=_0x26d8a9[_0x4ea359(0xf9)][_0x4ea359(0x183)]:process[_0x4ea359(0x11f)][_0x4ea359(0xf2)]=_0x126096[_0x4ea359(0xf3)];const _0x3eb519=new TestOrchestrationHandler(_0x26d8a9['config']),_0x13457d=await _0x126096[_0x4ea359(0xd4)](getUserJestConfigs,_0x4418c4,_0x2abdc4);logger[_0x4ea359(0xf8)](_0x126096[_0x4ea359(0x15f)]);const _0x6f1d52=Object[_0x4ea359(0x18a)]({},_0x13457d);_0x6f1d52[_0x4ea359(0x13f)]=Object[_0x4ea359(0x18a)]({},_0x6f1d52[_0x4ea359(0x13f)],{'server':helper[_0x4ea359(0x9e)](_0x26d8a9['config']),'environment':_0x13457d[_0x4ea359(0xce)]}),_0x6f1d52[_0x4ea359(0x13f)][_0x4ea359(0x188)]=_0x126096[_0x4ea359(0x168)](getPercyOptions,_0x26d8a9['config']);const _0x2a3c4e=helper[_0x4ea359(0x150)](_0x26d8a9[_0x4ea359(0xf9)]);!helper['isUndefined'](_0x26d8a9['config'][_0x4ea359(0x107)])&&(process[_0x4ea359(0x11f)][_0x4ea359(0xa8)]=JSON['stringify'](_0x26d8a9['config'][_0x4ea359(0x107)]));if(!BrowserstackCLI[_0x4ea359(0xb3)]()[_0x4ea359(0x10d)]()){const _0x3739b7=await TestHubHandler[_0x4ea359(0xa0)](FRAMEWORKS[_0x4ea359(0xb0)],_0x26d8a9);}const _0x2338c9=helper[_0x4ea359(0x18c)](_0x26d8a9[_0x4ea359(0xf9)],_0x2a3c4e,constants['FRAMEWORKS'][_0x4ea359(0xb0)]);process[_0x4ea359(0x11f)][_0x4ea359(0x160)]=JSON[_0x4ea359(0x17e)](_0x2338c9);let _0xf0d7e4=_0x26d8a9[_0x4ea359(0xf9)][_0x4ea359(0x140)];_0xf0d7e4=_0xf0d7e4||accessibilityHelper[_0x4ea359(0x11a)](_0x26d8a9['config']),process[_0x4ea359(0x11f)][_0x4ea359(0x10e)]=_0xf0d7e4,logger[_0x4ea359(0x147)](_0x4ea359(0xb1)+_0xf0d7e4+_0x4ea359(0xaf)+BrowserstackCLI[_0x4ea359(0xb3)]()[_0x4ea359(0x10d)]());if(_0x2c73e4)try{const _0x87eccc=_0x126096[_0x4ea359(0x110)](checkAccessibilityPlatformConfig,_0x26d8a9[_0x4ea359(0xf9)]);process[_0x4ea359(0x11f)][_0x4ea359(0x167)]=_0x87eccc?_0x126096[_0x4ea359(0xf3)]:_0x126096['Zbwle'],logger[_0x4ea359(0x147)](_0x4ea359(0x10c)+_0x87eccc+_0x4ea359(0xff)+process[_0x4ea359(0x11f)][_0x4ea359(0x167)]);}catch(_0x5bd977){logger[_0x4ea359(0x147)](_0x4ea359(0x16e)+util[_0x4ea359(0xa6)](_0x5bd977));}_0x6f1d52[_0x4ea359(0x13f)]['capabilities']=_0x2338c9,_0x6f1d52[_0x4ea359(0x13f)][_0x4ea359(0x17b)]=_0x126096['YbxTv'](getSerial,_0x2338c9,_0x4418c4),_0x6f1d52[_0x4ea359(0x13f)][_0x4ea359(0x15b)]=_0x126096['ssPXH'](getMaxWorkers,_0x4418c4,_0x26d8a9['config'],_0x13457d),_0x6f1d52[_0x4ea359(0x13f)][_0x4ea359(0x18d)]=_0x26d8a9['config'][_0x4ea359(0x18d)],_0x6f1d52[_0x4ea359(0x13f)][_0x4ea359(0x169)]=_0x126096['AXtuS'](_0x4418c4['testTimeout'],0x1)||0x1388,_0x6f1d52[_0x4ea359(0x13f)][_0x4ea359(0x120)]=_0x26d8a9['config'][_0x4ea359(0x13c)][_0x4ea359(0x120)],_0x6f1d52['testEnvironmentOptions'][_0x4ea359(0x124)]=_0x26d8a9[_0x4ea359(0xf9)][_0x4ea359(0x13c)][_0x4ea359(0x124)],_0x6f1d52[_0x4ea359(0x13f)][_0x4ea359(0xc6)]=_0x26d8a9[_0x4ea359(0xf9)][_0x4ea359(0x139)],_0x6f1d52['testEnvironmentOptions'][_0x4ea359(0x11e)]=_0x26d8a9[_0x4ea359(0xf9)][_0x4ea359(0x11e)],_0x6f1d52[_0x4ea359(0x13f)][_0x4ea359(0x118)]=_0x26d8a9[_0x4ea359(0xf9)]['platforms'],Object[_0x4ea359(0x18a)](_0x6f1d52[_0x4ea359(0x13f)],helper['getMultiDriverWorkerConfig'](_0x26d8a9[_0x4ea359(0xf9)],_0x2a3c4e,constants[_0x4ea359(0x135)][_0x4ea359(0xb0)]));const _0x326842=helper[_0x4ea359(0xa1)](_0x26d8a9[_0x4ea359(0xf9)]);if(!helper['isEmpty'](_0x326842)){helper[_0x4ea359(0xc8)](_0x326842[_0x4ea359(0x17d)])&&(_0x6f1d52['testEnvironmentOptions']['retries__']=_0x326842[_0x4ea359(0x17d)]['maxRetries']);if(helper[_0x4ea359(0xc8)](_0x326842['abortBuildOnFailure'])&&helper[_0x4ea359(0xc8)](_0x326842[_0x4ea359(0x156)][_0x4ea359(0xc4)])){const _0x14db08={};_0x14db08[_0x4ea359(0x108)]=_0x326842[_0x4ea359(0x156)][_0x4ea359(0xf1)],_0x14db08[_0x4ea359(0xc4)]=_0x326842[_0x4ea359(0x156)]['workingDir'],_0x6f1d52[_0x4ea359(0x13f)][_0x4ea359(0x132)]=_0x14db08;}}let _0x3c8242='';_0x126096[_0x4ea359(0xe5)](helper[_0x4ea359(0x146)](),constants['PACKAGE_TYPE'][_0x4ea359(0x125)])?_0x3c8242=_0x126096[_0x4ea359(0x101)]:_0x3c8242=_0x126096[_0x4ea359(0x103)];const _0x4501f8=_0x3c8242,_0x13d026=path[_0x4ea359(0x179)](__dirname,_0x126096[_0x4ea359(0xa7)],_0x126096[_0x4ea359(0x144)]),_0xbf5ded=path[_0x4ea359(0x179)](__dirname,_0x126096[_0x4ea359(0xa7)],_0x126096[_0x4ea359(0x15d)]),_0x32c0ec=path[_0x4ea359(0x179)](__dirname,_0x126096[_0x4ea359(0xa7)],_0x126096[_0x4ea359(0x151)]);_0x6f1d52[_0x4ea359(0xce)]&&(process[_0x4ea359(0x11f)]['BSTACK_JEST_TEST_ENV']=_0x6f1d52[_0x4ea359(0xce)]);_0x6f1d52[_0x4ea359(0xce)]=path[_0x4ea359(0x179)](__dirname,_0x126096[_0x4ea359(0xa7)],_0x126096['gKwTQ']);const _0x35f6ff=_0x13457d[_0x4ea359(0x16a)];if(_0x35f6ff&&_0x126096[_0x4ea359(0x109)](_0x35f6ff,_0x126096['WDUXa'])){const _0x52fcf8=_0x35f6ff[_0x4ea359(0xc5)](_0x126096['opiSY'])?_0x35f6ff:'jest-runner-'+_0x35f6ff;process['env']['BSTACK_USER_JEST_RUNNER']=_0x52fcf8,logger[_0x4ea359(0xf8)](_0x4ea359(0x137)+_0x52fcf8);}_0x6f1d52[_0x4ea359(0x16a)]=_0xbf5ded,_0x6f1d52[_0x4ea359(0xe3)]=_0x6f1d52['setupFilesAfterEnv']||[],_0x6f1d52[_0x4ea359(0xe3)][_0x4ea359(0x143)](path['join'](__dirname,_0x126096[_0x4ea359(0xfb)]));_0x3eb519[_0x4ea359(0xde)]()&&(_0x6f1d52[_0x4ea359(0xcb)]=path[_0x4ea359(0x179)](__dirname,_0x126096[_0x4ea359(0xa7)],_0x126096[_0x4ea359(0xbd)]));if(testhubUtils['shouldProcessEventForTesthub']()||BrowserstackCLI[_0x4ea359(0xb3)]()[_0x4ea359(0x13b)]()){let _0x53e9ab=null;try{_0x53e9ab=helper[_0x4ea359(0xa4)](_0x126096[_0x4ea359(0xd5)],_0x126096[_0x4ea359(0xcd)]);}catch(_0xa6abe0){try{_0x53e9ab=helper[_0x4ea359(0xa4)](_0x126096['JGSqT'],_0x126096['HyloJ']);}catch(_0x38f594){_0x126096[_0x4ea359(0x168)](debug,_0x4ea359(0x126)+_0x38f594);}}_0x53e9ab&&(testhubUtils[_0x4ea359(0xef)]()&&_0x6f1d52[_0x4ea359(0xe3)]['push'](path[_0x4ea359(0x179)](__dirname,_0x126096['zASEZ'],_0x126096[_0x4ea359(0x15e)])),_0x6f1d52[_0x4ea359(0x174)]=path[_0x4ea359(0x179)](__dirname,_0x126096[_0x4ea359(0xa7)],_0x126096['PRpnE']));}_0x6f1d52[_0x4ea359(0x141)]=_0x6f1d52[_0x4ea359(0x141)]||[];try{helper['requireSeleniumWebdriver'](),_0x6f1d52['setupFiles'][_0x4ea359(0x143)](path[_0x4ea359(0x179)](__dirname,_0x126096[_0x4ea359(0xfa)]));}catch{logger[_0x4ea359(0x147)](_0x126096[_0x4ea359(0x173)]);}try{helper['requirePWModule'][_0x4ea359(0x155)](null,[_0x126096[_0x4ea359(0x14f)],_0x126096['XPDGK']]),logger[_0x4ea359(0x147)](_0x126096['FTkmY']),_0x6f1d52[_0x4ea359(0x141)]['push'](path[_0x4ea359(0x179)](__dirname,_0x126096[_0x4ea359(0x14c)]));}catch(_0x15e4b2){logger[_0x4ea359(0x147)](_0x126096[_0x4ea359(0xa3)],_0x15e4b2);}if(_0x126096[_0x4ea359(0x119)](!_0x2c73e4,_0x450956)){try{logger['debug'](_0x126096['nHgxH']),_0x6f1d52[_0x4ea359(0xe3)][_0x4ea359(0x143)](path[_0x4ea359(0x179)](__dirname,'..',_0x126096[_0x4ea359(0x165)],_0x126096[_0x4ea359(0x14c)]));}catch(_0x5ca6c4){logger[_0x4ea359(0x147)](_0x4ea359(0x16c)+_0x5ca6c4[_0x4ea359(0xbf)]);}try{const _0x583afd=require[_0x4ea359(0x117)](_0x126096[_0x4ea359(0x9f)]),_0x9ffa15=path['dirname'](_0x583afd)[_0x4ea359(0xfd)](/\\/g,'/'),_0x30355a={};_0x30355a['^puppeteer-core/internal/(.*)']=_0x9ffa15+'/internal/$1',_0x6f1d52[_0x4ea359(0x153)]=Object['assign']({},_0x6f1d52[_0x4ea359(0x153)]||{},_0x30355a),logger[_0x4ea359(0x147)]('[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20'+_0x9ffa15);}catch(_0x57f657){logger[_0x4ea359(0x147)]('[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20'+_0x57f657[_0x4ea359(0xbf)]);}}_0x6f1d52[_0x4ea359(0x121)]=_0x6f1d52[_0x4ea359(0x121)]||[_0x126096[_0x4ea359(0x163)]],_0x126096['xkxnM'](updateTestRerunConfig,_0x6f1d52,_0x26d8a9);const _0x534d42=fs[_0x4ea359(0x114)](_0x32c0ec),_0x4c9f42=helper[_0x4ea359(0x102)](_0x126096['chAKT'],_0x126096[_0x4ea359(0xe0)]);!_0x4c9f42[_0x4ea359(0xcf)]?fs[_0x4ea359(0xdc)](_0x6f1d52['runner'],'\x0a\x20\x20\x20\x20\x20\x20'+_0x534d42+'\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'+_0x26d8a9[_0x4ea359(0xf9)]['platforms'][_0x4ea359(0x182)]+_0x4ea359(0xbb)):fs['writeFileSync'](_0x6f1d52['runner'],_0x4ea359(0x176)+_0x534d42+_0x4ea359(0x130)+_0x26d8a9['config']['platforms']['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[_0x4ea359(0xf8)](_0x4ea359(0xe2)+_0x4501f8+_0x4ea359(0xd2)),fs[_0x4ea359(0xdc)](_0x4501f8,_0x4ea359(0x18b)+JSON['stringify'](_0x6f1d52)+_0x4ea359(0xb4));if(_0x3eb519['isTestOrchestrationEnabled']()){logger[_0x4ea359(0x147)](_0x126096[_0x4ea359(0x189)]);const _0x2766f3=await _0x3eb519[_0x4ea359(0xa2)](_0x6f1d52,_0x2abdc4[_0x4ea359(0xa9)](0x1),_0x4501f8);logger[_0x4ea359(0x147)](_0x4ea359(0x11b)+JSON[_0x4ea359(0x17e)](_0x2766f3)+'\x20test\x20files\x20to\x20run.');const _0x416a85=await _0x3eb519[_0x4ea359(0xe8)](_0x2766f3);logger[_0x4ea359(0x147)](_0x4ea359(0xec)+JSON[_0x4ea359(0x17e)](_0x416a85)),_0x416a85&&_0x126096[_0x4ea359(0xf0)](_0x416a85[_0x4ea359(0x182)],0x0)&&(process[_0x4ea359(0x11f)][_0x4ea359(0x12f)]=_0x416a85?.[_0x4ea359(0x179)](','));}logger['info'](_0x126096['WJjLD']);testhubUtils[_0x4ea359(0xef)]()&&TestDetails['setup']();helper['filterBrowserstackArgs']({},_0x2abdc4),PerformanceTester['end'](PerformanceEvents[_0x4ea359(0x178)]);const _0xc28d56=[_0x126096[_0x4ea359(0x15c)],_0x126096[_0x4ea359(0x175)],_0x4501f8,..._0x2abdc4[_0x4ea359(0xa9)](0x1)];process['env'][_0x4ea359(0xb9)]=process['env'][_0x4ea359(0xb9)]||_0x126096['Qcugu'];const _0x25f753=_0x126096['dEAQO'](spawn,_0x126096[_0x4ea359(0x123)],_0xc28d56,{'shell':_0x126096[_0x4ea359(0xe5)](process[_0x4ea359(0x186)],_0x126096['sncul']),'stdio':_0x126096['YeSBe'],'env':Object[_0x4ea359(0x18a)]({},process[_0x4ea359(0x11f)])});_0x25f753['on'](_0x126096[_0x4ea359(0x157)],async _0x2c5d8f=>{const _0x2339b1=_0x4ea359;PerformanceTester[_0x2339b1(0x142)](PerformanceEvents[_0x2339b1(0x134)]),process[_0x2339b1(0x159)]=_0x2c5d8f,logger[_0x2339b1(0x147)](_0x2339b1(0xa5)+_0x2c5d8f),logger[_0x2339b1(0xf8)](_0x2339b1(0xe4)+_0x4501f8);if(helper[_0x2339b1(0xc8)](_0x326842)&&helper[_0x2339b1(0xc8)](_0x326842[_0x2339b1(0x156)])&&fs['existsSync'](_0x326842[_0x2339b1(0x156)][_0x2339b1(0xc4)]))try{const _0x819683={};_0x819683['recursive']=!![],_0x819683['force']=!![],fs[_0x2339b1(0x170)](_0x326842[_0x2339b1(0x156)]['workingDir'],_0x819683),logger['debug'](_0x2339b1(0xc2)+_0x326842[_0x2339b1(0x156)][_0x2339b1(0xc4)]);}catch(_0xe1f64c){logger[_0x2339b1(0xcf)](_0x2339b1(0xb2)+_0xe1f64c);}let _0x7440=null;if(fs[_0x2339b1(0x148)](_0x13d026)){_0x7440=fs[_0x2339b1(0x114)](_0x13d026);try{_0x7440=JSON[_0x2339b1(0x14a)](_0x7440);}catch(_0x399121){logger[_0x2339b1(0x147)](_0x2339b1(0x187)+_0x13d026+',\x20'+_0x7440+_0x2339b1(0x18e)+_0x399121);}fs[_0x2339b1(0xc0)](_0x13d026);}fs[_0x2339b1(0xc0)](_0x4501f8),fs[_0x2339b1(0xc0)](_0xbf5ded),_0x7440&&(_0x26d8a9['errorMessage']=helper[_0x2339b1(0xd7)](_0x7440,_0x126096[_0x2339b1(0x15c)],_0x26d8a9));const _0x583eb0=BrowserstackCLI[_0x2339b1(0x149)]();try{await TestHubHandler['stop'](),await BrowserstackCLI[_0x2339b1(0xb3)]()[_0x2339b1(0x12c)]();}catch(_0x262c10){console['log'](_0x262c10),_0x126096[_0x2339b1(0x168)](debug,_0x2339b1(0xb8)+util[_0x2339b1(0xa6)](_0x262c10));}testOpsHelper[_0x2339b1(0x16b)](),TestDetails['shutdown'](),await utilities[_0x2339b1(0x12e)](_0x26d8a9,_0x583eb0);});}function a21_0x4a64(){const _0x1a3e25=[';\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','../../helpers/test-observability/utils','nTYqi','./test-observability/test-details','message','unlinkSync','MNXRP','Deleted\x20fail-fast\x20state\x20folder:\x20','../utils/clientTroubleshootingService','workingDir','startsWith','browserStackLogLevel','yaKbl','isNotUndefined','3510031Sughgb','KnRdT','testSequencer','jest_browserstack_results.json','HyloJ','testEnvironment','error','default','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','\x20with\x20browserstack\x20jest\x20configs','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','xkxnM','OqOLJ','QPtQp','getErrorMessageFromResults','22239zTEPSD','../utils/constants','../../helpers/helper','customTestRunnerTemplate.js','writeFileSync','../../helpers/performance/performance-tester','isTestOrchestrationEnabled','EVENTS','dFcsd','test.setup.js','Creating\x20','setupFilesAfterEnv','Deleting\x20','jVStG','test_before.setup.js','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','reorderTestFiles','close','oHonM','cjs','Reodered\x20Test\x20Files:\x20','16CSdllG','Ksqhx','shouldProcessEventForTesthub','DOBly','maxFailures','BROWSERSTACK_TEST_OBSERVABILITY_YML','cPyjj','gZdwg','WWohk','../../helpers/test-observability/constants','8489748BlctDU','info','config','hhjyP','VWZNK','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','replace','util',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','__isPuppeteerInstalled','xLUVU','resolveModule','nfbCG','@jest/core','customCircus.js','__isPlaywrightInstalled','accessibilityOptions','failureThresholdCount','ViHZW','jest.setup.js','--config','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','isRunning','BROWSERSTACK_TEST_ACCESSIBILITY_YML','123544UQOHiT','cAWct','jest-config','YGaWr','../../helpers/performance/constants','readFileSync','json','test-observability','resolve','platformCaps','GuCdv','checkAccessibilityPlatformConfig','Found:\x20','customSequencer.js','../../helpers/accessibility-automation/helper','turboScaleUrl','env','skipSessionName','reporters','isUndefined','ufYPf','skipSessionStatus','MODULE','Unable\x20to\x20find\x20jest-circus,\x20','../../helpers/testhub/testhubHandler','maxWorkers','isBrowserstackInfra','jest_browserstack.config.js','winstonLogger','stop','puppeteer','finalExecution','JEST_TEST_ORDER','\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','Getting\x20your\x20jest\x20configs\x20from\x20package.json','failFast','splice','SDK_CLEANUP','FRAMEWORKS','jest','Preserving\x20user\x27s\x20Jest\x20runner:\x20','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','logLevel','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','isCliEnabled','testContextOptions','../../helpers/test-orchestration/testOrchestrationHandler','LBqNM','testEnvironmentOptions','accessibility','setupFiles','start','push','EZjCk','npx','getPackageType','debug','existsSync','isCLIEnabled','parse','package.json','YKcOj','1381985GCMYiH','getPackageVersion','tSVxK','useW3C','TspAo','true','moduleNameMapper','../../helpers/percy/utils','apply','abortBuildOnFailure','WUbUv','jest_browserstack.config.cjs','exitCode','../v2/browserstackCLI','parallels__','Qcugu','OPHgy','nyJXu','UNlzU','BROWSERSTACK_CAPABILITIES','../../helpers/puppeteer-helper','../../helpers/utilities','nXLju','inherit','psEcW','child_process','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','DDMNu','timeout__','runner','printBuildLink','Puppeteer\x20setup\x20error:\x20','playwright','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','77580wyFKNM','rmSync','UkTfd','Qglvh','HUUVK','testRunner','Lhgrk','\x0a\x20\x20\x20\x20\x20\x20','ZuIWl','SDK_SETUP','join','jest-runner-','serial__','DHywb','retryTestsOnFailure','stringify','jest-circus/build/runner.js','MafGi','mjs','length','testObservability','4657490TyBLzg','USER_CONFIG_DETAILS_PATH','platform','Error\x20while\x20parsing\x20','browserStackPercyOptions','yaSwf','assign','const\x20config=','prepareCapabilities','proxySettings','\x20:\x20','@jest/core/build/ReporterDispatcher.js','parallelsPerPlatform','getHubUrl','LUKTK','launchBuild','parseTestOrchestrationOptions','findTestFiles','NFaFF','requireModule','child\x20process\x20exited\x20with\x20code\x20','format','FTeeE','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','slice','exports','102TiCRSI','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','../../helpers/testhub/utils','jest.config.',',\x20CLI\x20running:\x20','JEST','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','getInstance','\x0amodule.exports\x20=\x20config;','customImplements','../../helpers/playwright-helper','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','BROWSERSTACK_FRAMEWORK','readInitialOptions'];a21_0x4a64=function(){return _0x1a3e25;};return a21_0x4a64();}module[a21_0xbe8341(0xaa)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a22_0x1a72c4=a22_0x49f2;(function(_0x3c7107,_0x2a6fd6){const _0x2f0107=a22_0x49f2,_0x3fb2b0=_0x3c7107();while(!![]){try{const _0xb20611=parseInt(_0x2f0107(0x1bb))/0x1*(parseInt(_0x2f0107(0x1b8))/0x2)+-parseInt(_0x2f0107(0x1b6))/0x3+parseInt(_0x2f0107(0x1bd))/0x4+parseInt(_0x2f0107(0x1c5))/0x5*(-parseInt(_0x2f0107(0x1b3))/0x6)+parseInt(_0x2f0107(0x1b2))/0x7+-parseInt(_0x2f0107(0x1b9))/0x8+parseInt(_0x2f0107(0x1c2))/0x9*(parseInt(_0x2f0107(0x1b4))/0xa);if(_0xb20611===_0x2a6fd6)break;else _0x3fb2b0['push'](_0x3fb2b0['shift']());}catch(_0x67df0c){_0x3fb2b0['push'](_0x3fb2b0['shift']());}}}(a22_0x5b41,0xc8b17));const path=require('path'),{requireModule}=require(a22_0x1a72c4(0x1bc));function a22_0x49f2(_0x3d15f0,_0x8b9eb5){const _0x5b414f=a22_0x5b41();return a22_0x49f2=function(_0x49f296,_0x143624){_0x49f296=_0x49f296-0x1b1;let _0x4c6182=_0x5b414f[_0x49f296];return _0x4c6182;},a22_0x49f2(_0x3d15f0,_0x8b9eb5);}let initJestAdapter;function a22_0x5b41(){const _0x51b39c=['fXFhG','jest-circus','45BdGhar','exports','jestAdapterInit','278305ryZSBJ','customJestAdapterInit.js','default','9571072tgbxlI','114fKUqxs','5546180GxxOSc','requireInternalModule','4652178hIaVZa','JFHDN','58zrUApz','9970280YHlmAM','initRequireModule','9681LCKqWL','../../../helpers/helper','1021896wJBLFM','join','includes'];a22_0x5b41=function(){return _0x51b39c;};return a22_0x5b41();}try{initJestAdapter=requireModule('jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js',a22_0x1a72c4(0x1c1));}catch{initJestAdapter=requireModule('jest-circus/build/runner.js',a22_0x1a72c4(0x1c1));}initJestAdapter=typeof initJestAdapter==='function'?initJestAdapter:initJestAdapter[a22_0x1a72c4(0x1b1)];const FRAMEWORK_INITIALIZER=path[a22_0x1a72c4(0x1be)](__dirname,a22_0x1a72c4(0x1c6));module[a22_0x1a72c4(0x1c3)]=(..._0x3bcd88)=>{const _0x80e468=a22_0x1a72c4,_0x2411f0={'JFHDN':_0x80e468(0x1c4),'fXFhG':function(_0xa3936d,_0x50f0c4){return _0xa3936d===_0x50f0c4;},'yOCCj':function(_0x5d3b01,..._0x52f1fc){return _0x5d3b01(..._0x52f1fc);}};return _0x3bcd88[0x3][_0x80e468(0x1ba)]=_0x3bcd88[0x3][_0x80e468(0x1b5)],_0x3bcd88[0x3]['requireInternalModule']=(..._0x3fbda1)=>{const _0xcdaccc=_0x80e468;if(_0x3fbda1[0x0]&&_0x3fbda1[0x0][_0xcdaccc(0x1bf)](_0x2411f0[_0xcdaccc(0x1b7)])&&_0x2411f0[_0xcdaccc(0x1c0)](_0x3fbda1[0x1],undefined))return _0x3bcd88[0x3]['initRequireModule'](FRAMEWORK_INITIALIZER);return _0x3bcd88[0x3]['initRequireModule'](..._0x3fbda1);},_0x2411f0['yOCCj'](initJestAdapter,..._0x3bcd88);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a23_0x34757d=a23_0x3960;function a23_0x3960(_0x2ada95,_0x3162aa){const _0x4b4217=a23_0x4b42();return a23_0x3960=function(_0x39603b,_0x1d9aa2){_0x39603b=_0x39603b-0x136;let _0x5bcbdb=_0x4b4217[_0x39603b];return _0x5bcbdb;},a23_0x3960(_0x2ada95,_0x3162aa);}(function(_0x21c074,_0x5e9a08){const _0x5da19f=a23_0x3960,_0x2b9261=_0x21c074();while(!![]){try{const _0x282934=-parseInt(_0x5da19f(0x18b))/0x1+-parseInt(_0x5da19f(0x170))/0x2*(parseInt(_0x5da19f(0x18d))/0x3)+parseInt(_0x5da19f(0x185))/0x4+parseInt(_0x5da19f(0x19a))/0x5+-parseInt(_0x5da19f(0x163))/0x6+-parseInt(_0x5da19f(0x19d))/0x7*(parseInt(_0x5da19f(0x182))/0x8)+-parseInt(_0x5da19f(0x15e))/0x9*(-parseInt(_0x5da19f(0x180))/0xa);if(_0x282934===_0x5e9a08)break;else _0x2b9261['push'](_0x2b9261['shift']());}catch(_0x4e8628){_0x2b9261['push'](_0x2b9261['shift']());}}}(a23_0x4b42,0x9182b));const helper=require(a23_0x34757d(0x148)),constants=require(a23_0x34757d(0x161)),{isTestObservabilitySession}=require(a23_0x34757d(0x171)),RequestQueueHandler=require(a23_0x34757d(0x187)),ObservabilityReporter=require('../test-observability/obsReporter'),testhubUtils=require(a23_0x34757d(0x150)),logger=require('../../../helpers/logger')[a23_0x34757d(0x139)],getTestEnvironment=((()=>{const _0x57fa1f=a23_0x34757d,_0x450a31={};_0x450a31[_0x57fa1f(0x19f)]=_0x57fa1f(0x15b),_0x450a31[_0x57fa1f(0x158)]=_0x57fa1f(0x189);const _0x4c69d1=_0x450a31;try{const _0x5cd813=helper[_0x57fa1f(0x156)](_0x4c69d1['krQkR']);if(_0x5cd813[_0x57fa1f(0x16f)])return _0x5cd813[_0x57fa1f(0x16f)];const _0x119e4a=helper['requireModule'](_0x4c69d1['fGaJi']);if(_0x119e4a[_0x57fa1f(0x16a)])return _0x119e4a['getTestEnvironment'];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x1ce0d=a23_0x34757d,_0xfed15c={'VgRSW':function(_0x44f2ea,_0x52913b){return _0x44f2ea(_0x52913b);},'hFdTh':_0x1ce0d(0x17f),'zARia':function(_0x36932b,_0x110a82){return _0x36932b(_0x110a82);},'gDMUd':_0x1ce0d(0x146)},_0x247a00=_0xfed15c['VgRSW'](getTestEnvironment,{'rootDir':process[_0x1ce0d(0x151)](),'testEnvironment':process[_0x1ce0d(0x195)][_0x1ce0d(0x19c)]||_0xfed15c[_0x1ce0d(0x1a6)]});if(!_0x247a00)return _0xfed15c['zARia'](_interopRequireDefault,helper['requireModule'](_0xfed15c[_0x1ce0d(0x136)]));return _0xfed15c[_0x1ce0d(0x15f)](_interopRequireDefault,helper[_0x1ce0d(0x156)](_0x247a00));})()),_seleniumWebdriver2=((()=>{const _0x55a315=a23_0x34757d,_0x47263b={'BSjwG':function(_0x325194,_0x4377e9){return _0x325194(_0x4377e9);}};try{const _0x3117a6=helper[_0x55a315(0x188)]();return helper['modifyCommand'](),_0x47263b[_0x55a315(0x1a2)](_interopRequireDefault,_0x3117a6);}catch{return null;}})());function _interopRequireDefault(_0x366d2b){return _0x366d2b&&_0x366d2b['__esModule']?_0x366d2b:{'default':_0x366d2b};}function a23_0x4b42(){const _0x3da6ba=['szhpJ','split','891vCNEIj','zARia','../../../helpers/test-orchestration/failfastManager','../../utils/constants','nestedKeyValue','4317846bZpxrO','cleanup','sessionNameProvided','quit','exports','testContext','getInstance','getTestEnvironment','isNotUndefined','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','projectName','zabAv','resolveTestEnvironment','324kTEOvu','../../../helpers/test-observability/utils','oFcek','jestConfig','Builder','\x20>\x20','isTrue','shutdown','__webdriver','setup','isBrowserstackInfra','skipSessionStatus','WasLH','JEST','info','node','266920VbnMfK','retries__','1776VVfcOX','qPHqI','percyCaptureMode','1532056oZbXKD','platformCaps','../../../helpers/test-observability/requestQueueHandler','requireSeleniumWebdriver','jest-config','ztQRx','1110696gFvwlk','hcSlX','16977etPCOf','framework','projectConfig','bstack:options','errors','zJRnq','registerListeners','test_start','env','driver','LmoFl','buildName','isArray','2905490OnQDPH','configuration','BSTACK_JEST_TEST_ENV','8309tQCKVD','gPjME','krQkR','failFast','diwog','BSjwG','browserstackAgentV2','__timeout','onTestDone','hFdTh','browserStackPercyOptions','../../../index','gDMUd','__driversArray','yAcrB','winstonLogger','default','builder','message','__drivers','NagGo','nLIrU','capabilities','percy','browserstackPlatformIndex','global','shouldFailFast','SaZkw','jest-environment-node','failFastOptions','../../../helpers/helper','debug','BSTACK_DELTA','teardown','shouldProcessEventForTesthub','cleanupDrivers','__platformCaps','testEnvironmentOptions','../../../helpers/testhub/utils','cwd','skip','join','failFastActive','FBNhd','requireModule','test','fGaJi','WGlRG','capability','jest-resolve'];a23_0x4b42=function(){return _0x3da6ba;};return a23_0x4b42();}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2['default'][a23_0x34757d(0x174)]:null;class CustomEnvironment extends _jestUserEnvironment[a23_0x34757d(0x13a)]{constructor(_0x421f60){const _0x19e6c4=a23_0x34757d,_0x32014f={'qPHqI':_0x19e6c4(0x166),'hcSlX':function(_0x24367d,_0x43ad24){return _0x24367d+_0x43ad24;},'NagGo':_0x19e6c4(0x190),'nLIrU':function(_0x20e394,_0x4092c1){return _0x20e394(_0x4092c1);},'AwFCw':_0x19e6c4(0x160),'yAcrB':'0|6|2|5|7|1|4|3','diwog':_0x19e6c4(0x14f),'LmoFl':_0x19e6c4(0x1a7),'HLRhw':'browserstackPercyBestPlatform','gPjME':_0x19e6c4(0x141),'zLrQT':_0x19e6c4(0x1a8),'zabAv':_0x19e6c4(0x184)};super(_0x421f60),this[_0x19e6c4(0x143)][_0x19e6c4(0x1a4)]=0x0,this[_0x19e6c4(0x19b)]={};!_0x421f60['testEnvironmentOptions']&&(_0x421f60['testEnvironmentOptions']={});if(helper[_0x19e6c4(0x17a)]()){_0x421f60[_0x19e6c4(0x14f)]=_0x421f60[_0x19e6c4(0x18f)]?_0x421f60[_0x19e6c4(0x18f)][_0x19e6c4(0x14f)]:_0x421f60[_0x19e6c4(0x14f)];_seleniumWebdriver2&&(this[_0x19e6c4(0x13b)]=new _seleniumWebdriver2['default'][(_0x19e6c4(0x174))]());this[_0x19e6c4(0x15a)]=_0x421f60[_0x19e6c4(0x18f)]?_0x421f60[_0x19e6c4(0x18f)]['capability']:_0x421f60[_0x19e6c4(0x15a)],this[_0x19e6c4(0x143)][_0x19e6c4(0x1a4)]=_0x32014f[_0x19e6c4(0x18c)](_0x421f60[_0x19e6c4(0x14f)]['timeout__']||0x1388,constants[_0x19e6c4(0x14a)]),this[_0x19e6c4(0x147)]=_0x421f60[_0x19e6c4(0x14f)][_0x19e6c4(0x1a0)];if(this['failFastOptions']){const _0x2a3d07=this[_0x19e6c4(0x15a)][_0x32014f['NagGo']]?.[_0x19e6c4(0x198)]||'',_0x3b7018=this[_0x19e6c4(0x15a)][_0x32014f[_0x19e6c4(0x13e)]]?.[_0x19e6c4(0x16d)]||'';this[_0x19e6c4(0x1a0)]=new(_0x32014f[_0x19e6c4(0x13f)](require,_0x32014f['AwFCw']))(this[_0x19e6c4(0x147)],_0x2a3d07,_0x3b7018),this[_0x19e6c4(0x143)][_0x19e6c4(0x154)]=![];}helper[_0x19e6c4(0x16b)](_0x421f60[_0x19e6c4(0x14f)][_0x19e6c4(0x181)])&&(this['global']['__jestRetries']=_0x421f60[_0x19e6c4(0x14f)][_0x19e6c4(0x181)]);}if(testhubUtils[_0x19e6c4(0x14c)]()){const _0x50a0e1=new ObservabilityReporter();_0x50a0e1[_0x19e6c4(0x193)]();}this[_0x19e6c4(0x143)]['browserStackGlobals']={},this[_0x19e6c4(0x19b)]=_0x421f60[_0x19e6c4(0x14f)],this['configuration'][_0x19e6c4(0x18e)]=constants['FRAMEWORKS'][_0x19e6c4(0x17d)],this['global'][_0x19e6c4(0x142)]=(_0x421f60['projectConfig']?_0x421f60['projectConfig'][_0x19e6c4(0x142)]:_0x421f60['browserstackPlatformIndex'])||0x0,this['global'][_0x19e6c4(0x14e)]=this[_0x19e6c4(0x19b)]&&this['configuration'][_0x19e6c4(0x186)]&&Array[_0x19e6c4(0x199)](this[_0x19e6c4(0x19b)]['platformCaps'])&&this[_0x19e6c4(0x19b)][_0x19e6c4(0x186)][this['global'][_0x19e6c4(0x142)]]||{};const _0x11cba6=this['global'][_0x19e6c4(0x142)],_0x3fbeaa={...this[_0x19e6c4(0x19b)],'capability':this[_0x19e6c4(0x19b)][_0x19e6c4(0x140)]&&Array['isArray'](this[_0x19e6c4(0x19b)][_0x19e6c4(0x140)])&&this[_0x19e6c4(0x19b)][_0x19e6c4(0x140)][_0x11cba6]||{},'platformCaps':this[_0x19e6c4(0x19b)][_0x19e6c4(0x186)]&&Array[_0x19e6c4(0x199)](this[_0x19e6c4(0x19b)][_0x19e6c4(0x186)])&&this[_0x19e6c4(0x19b)][_0x19e6c4(0x186)][_0x11cba6]||{}};delete _0x3fbeaa[_0x19e6c4(0x140)],this[_0x19e6c4(0x143)][_0x19e6c4(0x173)]=_0x3fbeaa;if(_seleniumWebdriver2){const _0x5d9f20=_0x32014f[_0x19e6c4(0x138)][_0x19e6c4(0x15d)]('|');let _0x148d4a=0x0;while(!![]){switch(_0x5d9f20[_0x148d4a++]){case'0':this[_0x19e6c4(0x143)][_0x19e6c4(0x13d)]=[];continue;case'1':helper[_0x19e6c4(0x176)](this[_0x19e6c4(0x19b)]['skipSessionName'])?this[_0x19e6c4(0x143)][_0x19e6c4(0x165)]=!![]:this[_0x19e6c4(0x143)][_0x19e6c4(0x165)]=![];continue;case'2':this[_0x19e6c4(0x143)]['browserstackPercyBestPlatform']=helper[_0x19e6c4(0x162)](_0x421f60,[_0x32014f['diwog'],_0x32014f[_0x19e6c4(0x197)],_0x32014f['HLRhw']]);continue;case'3':this['global'][_0x19e6c4(0x164)]=async()=>{const _0x4d2ca6=_0x19e6c4;await this[_0x4d2ca6(0x143)][_0x4d2ca6(0x196)][_0x4d2ca6(0x166)](_0x32014f[_0x4d2ca6(0x183)]);};continue;case'4':this[_0x19e6c4(0x143)]['__skipSessionStatus']=helper[_0x19e6c4(0x176)](this[_0x19e6c4(0x19b)][_0x19e6c4(0x17b)]);continue;case'5':this[_0x19e6c4(0x143)]['percy']=helper[_0x19e6c4(0x162)](_0x421f60,[_0x32014f['diwog'],_0x32014f[_0x19e6c4(0x197)],_0x32014f[_0x19e6c4(0x19e)]]);continue;case'6':this['global'][_0x19e6c4(0x178)]=_0x32014f[_0x19e6c4(0x13f)](require,_0x32014f['zLrQT'])[_0x19e6c4(0x1a3)]({...this['configuration'],'capability':this[_0x19e6c4(0x15a)]||{}},this,testhubUtils['shouldProcessEventForTesthub']());continue;case'7':this[_0x19e6c4(0x143)]['percyCaptureMode']=helper['nestedKeyValue'](_0x421f60,[_0x32014f[_0x19e6c4(0x1a1)],_0x32014f[_0x19e6c4(0x197)],_0x32014f[_0x19e6c4(0x16e)]]);continue;}break;}}}async['teardown'](){const _0x3510b5=a23_0x34757d;_seleniumWebdriver2&&(await helper[_0x3510b5(0x14d)](this[_0x3510b5(0x143)][_0x3510b5(0x137)]),this[_0x3510b5(0x143)][_0x3510b5(0x178)]['Builder']=originalBuilder),await RequestQueueHandler[_0x3510b5(0x169)]()[_0x3510b5(0x177)]();}async[a23_0x34757d(0x179)](){}async['handleTestEvent'](_0x40ce35,_0x3fb851){const _0x181532=a23_0x34757d,_0x35a355={};_0x35a355['RHcbF']=function(_0x4dd3f2,_0x25fd89){return _0x4dd3f2===_0x25fd89;},_0x35a355[_0x181532(0x192)]=_0x181532(0x194),_0x35a355[_0x181532(0x172)]=function(_0x317898,_0x3c04c6){return _0x317898===_0x3c04c6;},_0x35a355[_0x181532(0x17c)]=_0x181532(0x152),_0x35a355[_0x181532(0x159)]=function(_0x5db0ea,_0x4b7e2a){return _0x5db0ea===_0x4b7e2a;},_0x35a355[_0x181532(0x145)]='test_done',_0x35a355['szhpJ']=_0x181532(0x175),_0x35a355[_0x181532(0x155)]=function(_0x242890,_0x3e4d36){return _0x242890===_0x3e4d36;},_0x35a355[_0x181532(0x18a)]='Error\x20in\x20fail-fast\x20test_done\x20handler:',_0x35a355['jyLAr']=_0x181532(0x14b);const _0xb908c=_0x35a355,{name:_0x349fa9}=_0x40ce35;if(_0xb908c['RHcbF'](_0x349fa9,_0xb908c[_0x181532(0x192)])){this['global'][_0x181532(0x168)]=_0x40ce35[_0x181532(0x157)];if(_0xb908c[_0x181532(0x172)](this[_0x181532(0x143)]['failFastActive'],!![])){const _0x40e911=_0x40ce35['test']['name'];logger[_0x181532(0x17e)](_0x181532(0x16c)+_0x40e911),_0x40ce35['test']['mode']=_0xb908c[_0x181532(0x17c)];}}if(this[_0x181532(0x1a0)]&&_0xb908c['WGlRG'](_0x349fa9,_0xb908c[_0x181532(0x145)]))try{const _0x663587=_0x40ce35[_0x181532(0x157)]['testPath'][_0x181532(0x153)](_0xb908c[_0x181532(0x15c)]),_0x429e42=_0x40ce35['test'][_0x181532(0x191)];await this[_0x181532(0x1a0)][_0x181532(0x1a5)](_0x663587,_0x429e42);const _0xb30016=await this[_0x181532(0x1a0)][_0x181532(0x144)]();_0xb908c['oFcek'](this[_0x181532(0x143)][_0x181532(0x154)],![])&&_0xb908c[_0x181532(0x155)](_0xb30016,!![])&&(this[_0x181532(0x143)][_0x181532(0x154)]=!![]);}catch(_0x33ddfd){logger[_0x181532(0x149)](_0xb908c['ztQRx'],_0x33ddfd[_0x181532(0x13c)]);}_0xb908c['RHcbF'](_0x349fa9,_0xb908c['jyLAr'])&&(this['failFast']&&this[_0x181532(0x1a0)][_0x181532(0x164)]());}}module[a23_0x34757d(0x167)]=CustomEnvironment;
|
|
1
|
+
const a23_0x16d016=a23_0x7f57;function a23_0x7f57(_0x41e0e1,_0x3ca877){const _0x45f93a=a23_0x45f9();return a23_0x7f57=function(_0x7f57b5,_0x1f41e2){_0x7f57b5=_0x7f57b5-0x1cf;let _0x97a596=_0x45f93a[_0x7f57b5];return _0x97a596;},a23_0x7f57(_0x41e0e1,_0x3ca877);}(function(_0x5d479d,_0x111b48){const _0xc9df63=a23_0x7f57,_0x41f8d0=_0x5d479d();while(!![]){try{const _0x4326a2=-parseInt(_0xc9df63(0x1d3))/0x1*(-parseInt(_0xc9df63(0x1f1))/0x2)+-parseInt(_0xc9df63(0x1f4))/0x3+-parseInt(_0xc9df63(0x1db))/0x4+parseInt(_0xc9df63(0x22d))/0x5+-parseInt(_0xc9df63(0x200))/0x6*(-parseInt(_0xc9df63(0x1d8))/0x7)+-parseInt(_0xc9df63(0x22b))/0x8*(parseInt(_0xc9df63(0x23f))/0x9)+parseInt(_0xc9df63(0x229))/0xa*(parseInt(_0xc9df63(0x23c))/0xb);if(_0x4326a2===_0x111b48)break;else _0x41f8d0['push'](_0x41f8d0['shift']());}catch(_0x2b5641){_0x41f8d0['push'](_0x41f8d0['shift']());}}}(a23_0x45f9,0x3766c));function a23_0x45f9(){const _0x568bc5=['bPlSt','shouldFailFast','iDkXG','test_start','Builder','../../../helpers/test-observability/requestQueueHandler','teardown','browserstackPlatformIndex','JEST','QTDsg','ixouk','mSyGH','adDEZ','testEnvironmentOptions','getInstance','split','default','__platformCaps','percy','exports','__esModule','gBBtj','30fBkJIn','jestConfig','8VAjyFv','failFast','156575UwPipU','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','DIQvU','name','alYiE','info','failFastActive','cwd','phFGf','registerListeners','WGCqN','KncPJ','platformCaps','isNotUndefined','YepBx','1046837FoIYnW','capabilities','SbCjd','1378827JTIAnB','YuMUk','quit','configuration','zbayH','failFastOptions','../../utils/constants','118sQFIWU','BSTACK_DELTA','jest-config','retries__','__skipSessionStatus','7qhUHbi','__timeout','BSTACK_JEST_TEST_ENV','968864srIzzQ','sessionNameProvided','__driversArray','projectName','__drivers','CqEDZ','builder','../../../helpers/helper','__jestRetries','shouldProcessEventForTesthub','../../../helpers/test-observability/utils','skipSessionStatus','global','testPath','getTestEnvironment','../../../index','capability','resolveTestEnvironment','EwuJZ','fExJN','YfWiu','browserStackPercyOptions','3346cHOsEs','testContext','bCtmc','24588wTdUnG','isBrowserstackInfra','message','bVOvA','../../../helpers/logger','../../../helpers/test-orchestration/failfastManager','nestedKeyValue','7|4|6|2|5|3|1|0','requireModule','jest-environment-node','timeout__','driver','697854JNSnYb','../../../helpers/testhub/utils','test_done','test','isArray','onTestDone','mode','OcKmA','Error\x20in\x20fail-fast\x20test_done\x20handler:','hZCXA','percyCaptureMode','projectConfig','hgRji','buildName','join','FRAMEWORKS','browserstackPercyBestPlatform','bstack:options','winstonLogger'];a23_0x45f9=function(){return _0x568bc5;};return a23_0x45f9();}const helper=require(a23_0x16d016(0x1e2)),constants=require(a23_0x16d016(0x1d2)),{isTestObservabilitySession}=require(a23_0x16d016(0x1e5)),RequestQueueHandler=require(a23_0x16d016(0x218)),ObservabilityReporter=require('../test-observability/obsReporter'),testhubUtils=require(a23_0x16d016(0x201)),logger=require(a23_0x16d016(0x1f8))[a23_0x16d016(0x212)],getTestEnvironment=((()=>{const _0x5ede12=a23_0x16d016,_0x105c76={};_0x105c76[_0x5ede12(0x21c)]='jest-resolve',_0x105c76[_0x5ede12(0x21f)]=_0x5ede12(0x1d5);const _0xb2eb96=_0x105c76;try{const _0x508fc7=helper[_0x5ede12(0x1fc)](_0xb2eb96['QTDsg']);if(_0x508fc7[_0x5ede12(0x1ec)])return _0x508fc7['resolveTestEnvironment'];const _0x34ca0f=helper[_0x5ede12(0x1fc)](_0xb2eb96[_0x5ede12(0x21f)]);if(_0x34ca0f[_0x5ede12(0x1e9)])return _0x34ca0f[_0x5ede12(0x1e9)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x5e722c=a23_0x16d016,_0x5989fe={'OcKmA':function(_0x300882,_0x22c2f7){return _0x300882(_0x22c2f7);},'dXIrl':'node','hZCXA':function(_0x3aef67,_0x533e27){return _0x3aef67(_0x533e27);},'iRbhV':_0x5e722c(0x1fd)},_0x286e8b=_0x5989fe[_0x5e722c(0x207)](getTestEnvironment,{'rootDir':process[_0x5e722c(0x234)](),'testEnvironment':process['env'][_0x5e722c(0x1da)]||_0x5989fe['dXIrl']});if(!_0x286e8b)return _0x5989fe[_0x5e722c(0x209)](_interopRequireDefault,helper[_0x5e722c(0x1fc)](_0x5989fe['iRbhV']));return _0x5989fe[_0x5e722c(0x209)](_interopRequireDefault,helper['requireModule'](_0x286e8b));})()),_seleniumWebdriver2=((()=>{const _0x559278=a23_0x16d016,_0x393d1e={'ixouk':function(_0x43609a,_0x45934a){return _0x43609a(_0x45934a);}};try{const _0x192fb3=helper['requireSeleniumWebdriver']();return helper['modifyCommand'](),_0x393d1e[_0x559278(0x21d)](_interopRequireDefault,_0x192fb3);}catch{return null;}})());function _interopRequireDefault(_0x37ac35){const _0x364b87=a23_0x16d016;return _0x37ac35&&_0x37ac35[_0x364b87(0x227)]?_0x37ac35:{'default':_0x37ac35};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a23_0x16d016(0x223)][a23_0x16d016(0x217)]:null;class CustomEnvironment extends _jestUserEnvironment['default']{constructor(_0x2715ce){const _0x3d5b3b=a23_0x16d016,_0x15a1d8={'fExJN':'quit','SbCjd':function(_0x402fdd,_0x401c70){return _0x402fdd+_0x401c70;},'phFGf':_0x3d5b3b(0x211),'alYiE':function(_0x352ef0,_0x4e248c){return _0x352ef0(_0x4e248c);},'KncPJ':_0x3d5b3b(0x1f9),'vipZr':_0x3d5b3b(0x1fb),'gBBtj':'testEnvironmentOptions','bVOvA':_0x3d5b3b(0x1f0),'zbayH':_0x3d5b3b(0x225),'bCtmc':function(_0x2157f8,_0x335183){return _0x2157f8(_0x335183);},'hgRji':_0x3d5b3b(0x1ea),'YuMUk':_0x3d5b3b(0x20a),'YfWiu':_0x3d5b3b(0x210)};super(_0x2715ce),this[_0x3d5b3b(0x1e7)][_0x3d5b3b(0x1d9)]=0x0,this[_0x3d5b3b(0x1cf)]={};!_0x2715ce[_0x3d5b3b(0x220)]&&(_0x2715ce[_0x3d5b3b(0x220)]={});if(helper[_0x3d5b3b(0x1f5)]()){_0x2715ce[_0x3d5b3b(0x220)]=_0x2715ce[_0x3d5b3b(0x20b)]?_0x2715ce['projectConfig'][_0x3d5b3b(0x220)]:_0x2715ce[_0x3d5b3b(0x220)];_seleniumWebdriver2&&(this[_0x3d5b3b(0x1e1)]=new _seleniumWebdriver2[(_0x3d5b3b(0x223))][(_0x3d5b3b(0x217))]());this[_0x3d5b3b(0x1eb)]=_0x2715ce[_0x3d5b3b(0x20b)]?_0x2715ce['projectConfig'][_0x3d5b3b(0x1eb)]:_0x2715ce[_0x3d5b3b(0x1eb)],this['global'][_0x3d5b3b(0x1d9)]=_0x15a1d8[_0x3d5b3b(0x23e)](_0x2715ce['testEnvironmentOptions'][_0x3d5b3b(0x1fe)]||0x1388,constants[_0x3d5b3b(0x1d4)]),this[_0x3d5b3b(0x1d1)]=_0x2715ce[_0x3d5b3b(0x220)][_0x3d5b3b(0x22c)];if(this[_0x3d5b3b(0x1d1)]){const _0x103184=this[_0x3d5b3b(0x1eb)][_0x15a1d8[_0x3d5b3b(0x235)]]?.[_0x3d5b3b(0x20d)]||'',_0x341192=this[_0x3d5b3b(0x1eb)][_0x15a1d8[_0x3d5b3b(0x235)]]?.[_0x3d5b3b(0x1de)]||'';this[_0x3d5b3b(0x22c)]=new(_0x15a1d8[_0x3d5b3b(0x231)](require,_0x15a1d8[_0x3d5b3b(0x238)]))(this[_0x3d5b3b(0x1d1)],_0x103184,_0x341192),this[_0x3d5b3b(0x1e7)][_0x3d5b3b(0x233)]=![];}helper[_0x3d5b3b(0x23a)](_0x2715ce[_0x3d5b3b(0x220)][_0x3d5b3b(0x1d6)])&&(this[_0x3d5b3b(0x1e7)][_0x3d5b3b(0x1e3)]=_0x2715ce[_0x3d5b3b(0x220)][_0x3d5b3b(0x1d6)]);}if(testhubUtils['shouldProcessEventForTesthub']()){const _0x487060=new ObservabilityReporter();_0x487060[_0x3d5b3b(0x236)]();}this[_0x3d5b3b(0x1e7)]['browserStackGlobals']={},this['configuration']=_0x2715ce[_0x3d5b3b(0x220)],this[_0x3d5b3b(0x1cf)]['framework']=constants[_0x3d5b3b(0x20f)][_0x3d5b3b(0x21b)],this['global']['browserstackPlatformIndex']=(_0x2715ce['projectConfig']?_0x2715ce['projectConfig']['browserstackPlatformIndex']:_0x2715ce[_0x3d5b3b(0x21a)])||0x0,this['global'][_0x3d5b3b(0x224)]=this[_0x3d5b3b(0x1cf)]&&this[_0x3d5b3b(0x1cf)][_0x3d5b3b(0x239)]&&Array[_0x3d5b3b(0x204)](this[_0x3d5b3b(0x1cf)][_0x3d5b3b(0x239)])&&this[_0x3d5b3b(0x1cf)][_0x3d5b3b(0x239)][this[_0x3d5b3b(0x1e7)]['browserstackPlatformIndex']]||{};const _0xf6c886=this[_0x3d5b3b(0x1e7)]['browserstackPlatformIndex'],_0x429465={...this[_0x3d5b3b(0x1cf)],'capability':this[_0x3d5b3b(0x1cf)][_0x3d5b3b(0x23d)]&&Array[_0x3d5b3b(0x204)](this[_0x3d5b3b(0x1cf)][_0x3d5b3b(0x23d)])&&this[_0x3d5b3b(0x1cf)][_0x3d5b3b(0x23d)][_0xf6c886]||{},'platformCaps':this[_0x3d5b3b(0x1cf)]['platformCaps']&&Array[_0x3d5b3b(0x204)](this[_0x3d5b3b(0x1cf)][_0x3d5b3b(0x239)])&&this[_0x3d5b3b(0x1cf)][_0x3d5b3b(0x239)][_0xf6c886]||{}};delete _0x429465['capabilities'],this['global'][_0x3d5b3b(0x22a)]=_0x429465;if(_seleniumWebdriver2){const _0x3b5796=_0x15a1d8['vipZr'][_0x3d5b3b(0x222)]('|');let _0x96089c=0x0;while(!![]){switch(_0x3b5796[_0x96089c++]){case'0':this[_0x3d5b3b(0x1e7)]['cleanup']=async()=>{const _0xfe49e8=_0x3d5b3b;await this[_0xfe49e8(0x1e7)][_0xfe49e8(0x1ff)][_0xfe49e8(0x241)](_0x15a1d8[_0xfe49e8(0x1ee)]);};continue;case'1':this['global'][_0x3d5b3b(0x1d7)]=helper['isTrue'](this[_0x3d5b3b(0x1cf)][_0x3d5b3b(0x1e6)]);continue;case'2':this[_0x3d5b3b(0x1e7)][_0x3d5b3b(0x225)]=helper[_0x3d5b3b(0x1fa)](_0x2715ce,[_0x15a1d8[_0x3d5b3b(0x228)],_0x15a1d8[_0x3d5b3b(0x1f7)],_0x15a1d8[_0x3d5b3b(0x1d0)]]);continue;case'3':helper['isTrue'](this[_0x3d5b3b(0x1cf)]['skipSessionName'])?this[_0x3d5b3b(0x1e7)][_0x3d5b3b(0x1dc)]=!![]:this[_0x3d5b3b(0x1e7)][_0x3d5b3b(0x1dc)]=![];continue;case'4':this[_0x3d5b3b(0x1e7)]['__webdriver']=_0x15a1d8[_0x3d5b3b(0x1f3)](require,_0x15a1d8[_0x3d5b3b(0x20c)])['browserstackAgentV2']({...this[_0x3d5b3b(0x1cf)],'capability':this[_0x3d5b3b(0x1eb)]||{}},this,testhubUtils[_0x3d5b3b(0x1e4)]());continue;case'5':this[_0x3d5b3b(0x1e7)][_0x3d5b3b(0x20a)]=helper['nestedKeyValue'](_0x2715ce,[_0x15a1d8[_0x3d5b3b(0x228)],_0x15a1d8[_0x3d5b3b(0x1f7)],_0x15a1d8[_0x3d5b3b(0x240)]]);continue;case'6':this['global'][_0x3d5b3b(0x210)]=helper[_0x3d5b3b(0x1fa)](_0x2715ce,[_0x15a1d8['gBBtj'],_0x15a1d8[_0x3d5b3b(0x1f7)],_0x15a1d8[_0x3d5b3b(0x1ef)]]);continue;case'7':this[_0x3d5b3b(0x1e7)][_0x3d5b3b(0x1df)]=[];continue;}break;}}}async[a23_0x16d016(0x219)](){const _0x3ba396=a23_0x16d016;_seleniumWebdriver2&&(await helper['cleanupDrivers'](this[_0x3ba396(0x1e7)][_0x3ba396(0x1dd)]),this[_0x3ba396(0x1e7)]['__webdriver'][_0x3ba396(0x217)]=originalBuilder),await RequestQueueHandler[_0x3ba396(0x221)]()['shutdown']();}async['setup'](){}async['handleTestEvent'](_0x4b7d9b,_0x14aedd){const _0x54fa73=a23_0x16d016,_0x5ae396={};_0x5ae396[_0x54fa73(0x237)]=function(_0x48208a,_0x1cf851){return _0x48208a===_0x1cf851;},_0x5ae396[_0x54fa73(0x21e)]=_0x54fa73(0x216),_0x5ae396[_0x54fa73(0x213)]='skip',_0x5ae396[_0x54fa73(0x22f)]=function(_0x2d2e28,_0x445a4b){return _0x2d2e28===_0x445a4b;},_0x5ae396['hXKPq']=_0x54fa73(0x202),_0x5ae396['CqEDZ']='\x20>\x20',_0x5ae396[_0x54fa73(0x23b)]=function(_0x4f327d,_0x2afc98){return _0x4f327d===_0x2afc98;},_0x5ae396[_0x54fa73(0x215)]=_0x54fa73(0x208),_0x5ae396['EwuJZ']='teardown';const _0x1baf82=_0x5ae396,{name:_0x1d426a}=_0x4b7d9b;if(_0x1baf82[_0x54fa73(0x237)](_0x1d426a,_0x1baf82[_0x54fa73(0x21e)])){this[_0x54fa73(0x1e7)][_0x54fa73(0x1f2)]=_0x4b7d9b[_0x54fa73(0x203)];if(_0x1baf82[_0x54fa73(0x237)](this[_0x54fa73(0x1e7)]['failFastActive'],!![])){const _0x3dd8f0=_0x4b7d9b[_0x54fa73(0x203)][_0x54fa73(0x230)];logger[_0x54fa73(0x232)](_0x54fa73(0x22e)+_0x3dd8f0),_0x4b7d9b[_0x54fa73(0x203)][_0x54fa73(0x206)]=_0x1baf82[_0x54fa73(0x213)];}}if(this['failFast']&&_0x1baf82[_0x54fa73(0x22f)](_0x1d426a,_0x1baf82['hXKPq']))try{const _0x562b70=_0x4b7d9b[_0x54fa73(0x203)][_0x54fa73(0x1e8)][_0x54fa73(0x20e)](_0x1baf82[_0x54fa73(0x1e0)]),_0x3d6df4=_0x4b7d9b[_0x54fa73(0x203)]['errors'];await this[_0x54fa73(0x22c)][_0x54fa73(0x205)](_0x562b70,_0x3d6df4);const _0x14132f=await this[_0x54fa73(0x22c)][_0x54fa73(0x214)]();_0x1baf82[_0x54fa73(0x22f)](this['global'][_0x54fa73(0x233)],![])&&_0x1baf82[_0x54fa73(0x23b)](_0x14132f,!![])&&(this['global'][_0x54fa73(0x233)]=!![]);}catch(_0x5f0c09){logger['debug'](_0x1baf82[_0x54fa73(0x215)],_0x5f0c09[_0x54fa73(0x1f6)]);}_0x1baf82['YepBx'](_0x1d426a,_0x1baf82[_0x54fa73(0x1ed)])&&(this[_0x54fa73(0x22c)]&&this[_0x54fa73(0x22c)]['cleanup']());}}module[a23_0x16d016(0x226)]=CustomEnvironment;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a24_0x4a63d1=a24_0x30e6;(function(_0x271569,_0x213edc){const _0x35f99e=a24_0x30e6,_0x5d45e6=_0x271569();while(!![]){try{const _0x474d61=-parseInt(_0x35f99e(0xdf))/0x1*(parseInt(_0x35f99e(0x17f))/0x2)+parseInt(_0x35f99e(0x176))/0x3*(-parseInt(_0x35f99e(0x1bf))/0x4)+parseInt(_0x35f99e(0xfb))/0x5+parseInt(_0x35f99e(0xee))/0x6+parseInt(_0x35f99e(0x1d8))/0x7*(parseInt(_0x35f99e(0x12f))/0x8)+parseInt(_0x35f99e(0x19d))/0x9*(parseInt(_0x35f99e(0xec))/0xa)+-parseInt(_0x35f99e(0x17b))/0xb;if(_0x474d61===_0x213edc)break;else _0x5d45e6['push'](_0x5d45e6['shift']());}catch(_0x3810ff){_0x5d45e6['push'](_0x5d45e6['shift']());}}}(a24_0x2e04,0xa88aa));const {requireModule,isTrue}=require('../../../helpers/helper'),ObservabilityReporter=require(a24_0x4a63d1(0xd0)),RequestQueueHandler=require(a24_0x4a63d1(0xff)),TestDetails=require(a24_0x4a63d1(0x148)),{patchConsoleLogger,debug}=require(a24_0x4a63d1(0x193)),{o11yErrorHandler}=require(a24_0x4a63d1(0xe7)),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils'),testHubConstants=require(a24_0x4a63d1(0x12c)),BrowserstackCLI=require(a24_0x4a63d1(0x103)),TestFrameworkState=require(a24_0x4a63d1(0x1ad)),HookState=require(a24_0x4a63d1(0x141)),JestUtils=require(a24_0x4a63d1(0x1c5)),{v4:uuidv4}=require('uuid'),util=require('util'),logger=require(a24_0x4a63d1(0xf4))[a24_0x4a63d1(0x196)],{FRAMEWORKS}=require(a24_0x4a63d1(0x1a4));let exportsI;try{exportsI=requireModule('jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','jest-circus');}catch{exportsI=requireModule(a24_0x4a63d1(0x153),a24_0x4a63d1(0x137));}const initInitialize=exportsI[a24_0x4a63d1(0x108)],jestUtils=new JestUtils(),_initializedPlatformIndices=new Set();let _currentTestPath=null;function getFullJestTestName(_0x13728c){const _0x432409=a24_0x4a63d1,_0x339a9f={};_0x339a9f[_0x432409(0xcd)]=function(_0x42cc14,_0x16f1c0){return _0x42cc14!==_0x16f1c0;},_0x339a9f[_0x432409(0xd9)]='ROOT_DESCRIBE_BLOCK';const _0x9280e3=_0x339a9f;try{const _0x21359e=[];let _0x33fc5b=_0x13728c;while(_0x33fc5b){_0x33fc5b[_0x432409(0xf9)]&&_0x9280e3['KlDte'](_0x33fc5b['name'],_0x9280e3['RwJDK'])&&_0x21359e[_0x432409(0x101)](_0x33fc5b[_0x432409(0xf9)]),_0x33fc5b=_0x33fc5b[_0x432409(0xd2)];}return _0x21359e[_0x432409(0x1ac)]('\x20');}catch(_0x4ba4e9){return _0x13728c&&_0x13728c['name']||'';}}function getActiveTestNamePattern(){const _0x5e9fcf=a24_0x4a63d1,_0x1a59a3={'xBXXY':function(_0x137da4,_0x4b2b83,_0x24fcad){return _0x137da4(_0x4b2b83,_0x24fcad);},'GYViv':_0x5e9fcf(0x182),'ZLemG':'jest-circus','PXyxo':function(_0x780581,_0x2fda07){return _0x780581(_0x2fda07);},'Eycrw':function(_0x4f958f,_0x470c7d){return _0x4f958f===_0x470c7d;},'kIgdp':_0x5e9fcf(0x1da),'QWsiy':function(_0x232d65,_0x4ff497){return _0x232d65 instanceof _0x4ff497;},'rsmjE':_0x5e9fcf(0x140),'gQaPq':function(_0x1b3e03,_0x22987c){return _0x1b3e03>_0x22987c;},'ojRkX':function(_0x5a0532,_0x6431e7){return _0x5a0532<_0x6431e7;},'TmxEM':function(_0x20b175,_0x283cf9){return _0x20b175===_0x283cf9;},'fODnj':function(_0x168be2,_0x152e24){return _0x168be2===_0x152e24;},'unxoq':_0x5e9fcf(0x130),'lCFVs':function(_0x1a710a,_0x57b014){return _0x1a710a+_0x57b014;},'vrGBc':_0x5e9fcf(0x18e),'eSJrr':_0x5e9fcf(0xf3)};try{let _0x3bb346;try{_0x3bb346=_0x1a59a3[_0x5e9fcf(0x10d)](requireModule,_0x1a59a3[_0x5e9fcf(0x1be)],_0x1a59a3['ZLemG']);}catch{_0x3bb346=_0x1a59a3[_0x5e9fcf(0xde)](requireModule,_0x1a59a3[_0x5e9fcf(0x18a)]);}if(_0x3bb346&&_0x1a59a3[_0x5e9fcf(0x12d)](typeof _0x3bb346[_0x5e9fcf(0x1a6)],_0x1a59a3[_0x5e9fcf(0x174)])){const _0x384fb4=_0x3bb346['getState']();if(_0x384fb4&&_0x384fb4[_0x5e9fcf(0x107)]){if(_0x1a59a3[_0x5e9fcf(0x175)](_0x384fb4[_0x5e9fcf(0x107)],RegExp))return _0x384fb4[_0x5e9fcf(0x107)];if(_0x1a59a3[_0x5e9fcf(0x12d)](typeof _0x384fb4[_0x5e9fcf(0x107)],_0x1a59a3[_0x5e9fcf(0x158)])&&_0x1a59a3['gQaPq'](_0x384fb4[_0x5e9fcf(0x107)][_0x5e9fcf(0x122)],0x0))return new RegExp(_0x384fb4['testNamePattern'],'i');}}}catch(_0x513c9a){}try{const _0x3e6b74=process[_0x5e9fcf(0x138)]||[];for(let _0x3be802=0x0;_0x1a59a3[_0x5e9fcf(0x189)](_0x3be802,_0x3e6b74[_0x5e9fcf(0x122)]);_0x3be802++){const _0x5cf554=_0x3e6b74[_0x3be802];if(_0x1a59a3[_0x5e9fcf(0x121)](_0x5cf554,'-t')||_0x1a59a3[_0x5e9fcf(0xf0)](_0x5cf554,_0x1a59a3[_0x5e9fcf(0x195)])){const _0x8d9a57=_0x3e6b74[_0x1a59a3[_0x5e9fcf(0x11f)](_0x3be802,0x1)];if(_0x8d9a57&&!_0x8d9a57[_0x5e9fcf(0x199)]('-'))return new RegExp(_0x8d9a57,'i');}else{if(_0x5cf554&&(_0x5cf554['startsWith'](_0x1a59a3['vrGBc'])||_0x5cf554[_0x5e9fcf(0x199)](_0x1a59a3[_0x5e9fcf(0x1c4)]))){const _0x3f88cf=_0x5cf554[_0x5e9fcf(0x19b)]('=')[_0x5e9fcf(0x11b)](0x1)['join']('=');if(_0x3f88cf)return new RegExp(_0x3f88cf,'i');}}}}catch(_0x2dc4b0){}return null;}function isPhantomSkipFromNameFilter(_0x55f043){const _0x25c48b=a24_0x4a63d1,_0xb6e12d={'NZMNf':function(_0x49d62c){return _0x49d62c();},'zFFPj':function(_0x4e4c5e,_0x2e7576){return _0x4e4c5e(_0x2e7576);}},_0xca29e1=_0xb6e12d[_0x25c48b(0xf8)](getActiveTestNamePattern);if(!_0xca29e1)return![];const _0x14eb12=_0xb6e12d[_0x25c48b(0xda)](getFullJestTestName,_0x55f043);if(!_0x14eb12)return![];return!_0xca29e1['test'](_0x14eb12);}async function isCLIReady(){const _0x1252ab=a24_0x4a63d1,_0x158685={'rfZGn':_0x1252ab(0xce),'HxkPy':function(_0x2d3d77,_0x5d8d8a){return _0x2d3d77(_0x5d8d8a);},'mxhqZ':_0x1252ab(0x10f),'Xodzo':function(_0x205f23,_0x1a2c4f){return _0x205f23===_0x1a2c4f;},'qaEyR':_0x1252ab(0xdc),'eHsKv':function(_0x14113f,_0x559498){return _0x14113f(_0x559498);},'loqFu':function(_0x502efc,_0x2ad47f){return _0x502efc(_0x2ad47f);}};try{const _0x54342d=BrowserstackCLI['getInstance']();if(_0x54342d[_0x1252ab(0x1b2)]()&&_0x54342d[_0x1252ab(0x16b)]())return logger['debug'](_0x158685['rfZGn']),!![];const _0x5c7a45=process['env'][_0x1252ab(0x162)];if(_0x5c7a45&&_0x54342d[_0x1252ab(0x1b2)]()){if(!_0x54342d[_0x1252ab(0x16b)]())try{const _0x41c2ad=_0x158685[_0x1252ab(0x1b8)](require,_0x158685[_0x1252ab(0x19e)]),_0x419c5c=_0x41c2ad[_0x1252ab(0x155)]();(!_0x419c5c||!_0x419c5c[_0x1252ab(0xf9)])&&(_0x158685[_0x1252ab(0x125)](process[_0x1252ab(0x1a5)][_0x1252ab(0xeb)],_0x158685[_0x1252ab(0xd3)])?_0x41c2ad[_0x1252ab(0x1d1)](FRAMEWORKS[_0x1252ab(0x177)],FRAMEWORKS[_0x1252ab(0x144)]):_0x41c2ad[_0x1252ab(0x1d1)](FRAMEWORKS[_0x1252ab(0x177)],FRAMEWORKS[_0x1252ab(0x13f)])),await _0x54342d['bootstrap']();}catch(_0x43c18f){return _0x158685[_0x1252ab(0x154)](debug,_0x1252ab(0x1ca)+util['format'](_0x43c18f)),![];}return _0x54342d[_0x1252ab(0x16b)]();}return![];}catch(_0x178caf){return _0x158685['loqFu'](debug,'Error\x20checking\x20CLI\x20readiness:\x20'+util[_0x1252ab(0x151)](_0x178caf)),![];}}function getTestIdentifierForHook(_0x38a2a8){const _0x364399=a24_0x4a63d1,_0x558886={};_0x558886['VIUvo']=function(_0x4f6548,_0x56002d){return _0x4f6548===_0x56002d;},_0x558886[_0x364399(0x134)]=_0x364399(0x16f),_0x558886[_0x364399(0x128)]=function(_0x1ad78e,_0x2cef55){return _0x1ad78e===_0x2cef55;},_0x558886['SInJe']=_0x364399(0x12a),_0x558886[_0x364399(0x1c9)]=function(_0x46bef7,_0x2c6fc1){return _0x46bef7===_0x2c6fc1;};const _0x32a08b=_0x558886;if(_0x32a08b[_0x364399(0xe2)](_0x38a2a8[_0x364399(0x1cc)],_0x32a08b[_0x364399(0x134)])||_0x32a08b[_0x364399(0x128)](_0x38a2a8[_0x364399(0x1cc)],_0x32a08b[_0x364399(0x109)])){let _0x2742c9=global['__jestCurrentTestIdentifier'];if(!_0x2742c9&&_0x32a08b[_0x364399(0x1c9)](_0x38a2a8['type'],_0x32a08b[_0x364399(0x109)])&&_0x38a2a8[_0x364399(0xd2)]){const _0x4284c9={};_0x4284c9['name']=_0x38a2a8[_0x364399(0xd2)]['name'],_0x4284c9[_0x364399(0xd2)]=_0x38a2a8['parent'][_0x364399(0xd2)],_0x4284c9[_0x364399(0xf7)]=_0x38a2a8['asyncError'],_0x4284c9[_0x364399(0x1d4)]=_0x38a2a8[_0x364399(0x1d4)];const _0x257361=_0x4284c9;_0x2742c9=jestUtils[_0x364399(0x18c)](_0x257361);}return _0x2742c9;}return global[_0x364399(0x11e)];}function mapHookTypeToState(_0x53f332){const _0x9dbd53=a24_0x4a63d1,_0x514ed3={};_0x514ed3['beforeAll']=TestFrameworkState[_0x9dbd53(0xd1)],_0x514ed3[_0x9dbd53(0x1ae)]=TestFrameworkState['AFTER_ALL'],_0x514ed3[_0x9dbd53(0x16f)]=TestFrameworkState[_0x9dbd53(0xef)],_0x514ed3[_0x9dbd53(0xd7)]=TestFrameworkState[_0x9dbd53(0x1a7)];const _0x390a38=_0x514ed3;return _0x390a38[_0x53f332]||TestFrameworkState['BEFORE_EACH'];}async function handleHookEventCLI(_0x706fbc,_0x3abe73,_0x27930f){const _0x4d10cb=a24_0x4a63d1,_0x49f26e={'rgmBQ':function(_0x297b6b,_0x5e7eef){return _0x297b6b(_0x5e7eef);},'jdHkB':_0x4d10cb(0xfd),'vUMhr':function(_0x367e8c,_0x39c9b3){return _0x367e8c===_0x39c9b3;},'renTG':'ROOT_DESCRIBE_BLOCK','aLDgz':function(_0x5cbf42){return _0x5cbf42();},'QRvHp':_0x4d10cb(0x124),'wsMGh':function(_0x10a0d7,_0x549151){return _0x10a0d7===_0x549151;},'hFpxQ':function(_0x1f9b78,_0x2d217b){return _0x1f9b78===_0x2d217b;},'gtKut':_0x4d10cb(0x1bd),'Ampgz':'hook','Ycfct':function(_0x49d43b,_0x39634e){return _0x49d43b===_0x39634e;}};logger['debug'](_0x4d10cb(0x10e)+_0x3abe73+'\x20for\x20hook\x20type:\x20'+_0x706fbc[_0x4d10cb(0x1cc)]);try{if(_0x706fbc['fn']&&_0x706fbc['fn'][_0x4d10cb(0x1bb)]()['match'](/browserstack internal helper hook/))return;if(_0x706fbc[_0x4d10cb(0xd2)]&&_0x49f26e[_0x4d10cb(0xe0)](_0x706fbc[_0x4d10cb(0xd2)][_0x4d10cb(0xf9)],_0x49f26e[_0x4d10cb(0x1d9)])){const _0xcccf86=_0x706fbc[_0x4d10cb(0xf7)]&&((()=>{const _0x2e2d2e=_0x4d10cb;try{const _0x24cc4e=_0x49f26e[_0x2e2d2e(0x157)](require,_0x49f26e[_0x2e2d2e(0x1ab)]),_0x579c99=_0x24cc4e[_0x2e2d2e(0x149)]['call'](_0x24cc4e,_0x706fbc[_0x2e2d2e(0xf7)]);return _0x579c99[0x0]&&_0x579c99[0x0][_0x2e2d2e(0x15d)]?_0x579c99[0x0]['getFileName']():null;}catch(_0x1e44ca){return logger[_0x2e2d2e(0x111)](_0x2e2d2e(0x17d)+_0x1e44ca[_0x2e2d2e(0x1aa)]),null;}})())||_0x706fbc[_0x4d10cb(0x1d4)]||null;if(!_0xcccf86)return;}let _0xd0be51=_0x706fbc[_0x4d10cb(0x116)];if(!_0xd0be51)_0xd0be51=_0x49f26e[_0x4d10cb(0x186)](uuidv4),_0x706fbc[_0x4d10cb(0x116)]=_0xd0be51;else _0x706fbc[_0x4d10cb(0x1b3)]&&(_0xd0be51=_0x49f26e['aLDgz'](uuidv4),_0x706fbc[_0x4d10cb(0x116)]=_0xd0be51,delete _0x706fbc[_0x4d10cb(0x1b3)]);_0x49f26e['vUMhr'](_0x3abe73,_0x49f26e[_0x4d10cb(0xe9)])&&(_0x706fbc[_0x4d10cb(0xfa)]=new Date()['toISOString']());const _0x3a12ee=_0x49f26e[_0x4d10cb(0x157)](getTestIdentifierForHook,_0x706fbc);!global['__workerDetails']&&(global[_0x4d10cb(0xf6)]={});if(_0x49f26e['wsMGh'](_0x3abe73,_0x49f26e[_0x4d10cb(0xe9)])){global[_0x4d10cb(0xf6)][_0x4d10cb(0x139)]={'hookUUID':_0xd0be51,'testIdentifier':_0x3a12ee,'hookType':_0x706fbc[_0x4d10cb(0x1cc)],'startedAt':new Date()[_0x4d10cb(0x1b1)]()};const _0x56f5dc=BrowserstackCLI[_0x4d10cb(0x1c3)]()[_0x4d10cb(0x127)]();_0x56f5dc&&_0x56f5dc[_0x4d10cb(0x142)]&&_0x56f5dc[_0x4d10cb(0x142)](_0x3a12ee,_0xd0be51,_0x706fbc[_0x4d10cb(0x1cc)]);}const _0xa4523e=await jestUtils[_0x4d10cb(0x167)](_0x706fbc,_0xd0be51,_0x3abe73,_0x3a12ee);if(!_0xa4523e)return;const _0x1bcbea=_0x49f26e[_0x4d10cb(0x157)](mapHookTypeToState,_0x706fbc[_0x4d10cb(0x1cc)]),_0x1f8e32=_0x49f26e[_0x4d10cb(0x17c)](_0x3abe73,_0x49f26e[_0x4d10cb(0xe9)])?HookState[_0x4d10cb(0x18b)]:HookState[_0x4d10cb(0x104)],_0x3d8949=BrowserstackCLI['getInstance']()[_0x4d10cb(0x127)]();if(_0x3d8949){const _0x388883={};_0x388883['hookData']=_0xa4523e,await _0x3d8949[_0x4d10cb(0x10b)](_0x1bcbea,_0x1f8e32,_0x388883);if(_0x49f26e[_0x4d10cb(0x17c)](_0x3abe73,_0x49f26e['gtKut'])){const _0x4fe258={};_0x4fe258[_0x4d10cb(0x181)]=_0x3a12ee,_0x4fe258[_0x4d10cb(0x1cc)]=_0x49f26e[_0x4d10cb(0x17e)],await _0x3d8949['trackEvent'](TestFrameworkState[_0x4d10cb(0x11a)],HookState[_0x4d10cb(0x104)],_0x4fe258),global[_0x4d10cb(0xf6)]&&global['__workerDetails']['currentHook']&&_0x49f26e['Ycfct'](global[_0x4d10cb(0xf6)]['currentHook'][_0x4d10cb(0x14c)],_0xd0be51)&&delete global[_0x4d10cb(0xf6)][_0x4d10cb(0x139)],_0x3d8949[_0x4d10cb(0x136)]&&_0x3d8949[_0x4d10cb(0x136)](_0x3a12ee,_0xd0be51);}}}catch(_0x171844){logger[_0x4d10cb(0xdd)](_0x4d10cb(0x1ce)+util[_0x4d10cb(0x151)](_0x171844));throw _0x171844;}}function a24_0x30e6(_0x4d3e93,_0x1fe845){const _0x2e04d8=a24_0x2e04();return a24_0x30e6=function(_0x30e627,_0x5c87d1){_0x30e627=_0x30e627-0xcc;let _0xd51a95=_0x2e04d8[_0x30e627];return _0xd51a95;},a24_0x30e6(_0x4d3e93,_0x1fe845);}async function handleTestEventCLI(_0x551944,_0x2cccdd,_0x463384){const _0x83045f=a24_0x4a63d1,_0x1ba49f={};_0x1ba49f[_0x83045f(0x178)]=function(_0x390760,_0x207106){return _0x390760===_0x207106;},_0x1ba49f['jxuzO']=_0x83045f(0x180),_0x1ba49f['bjyuw']=function(_0x28ff64,_0x3460bb){return _0x28ff64>_0x3460bb;},_0x1ba49f[_0x83045f(0x1b7)]=function(_0x4b8f2c,_0x4a4142){return _0x4b8f2c&&_0x4a4142;},_0x1ba49f['JkVvn']=_0x83045f(0x197),_0x1ba49f[_0x83045f(0x1bc)]=_0x83045f(0x1d0),_0x1ba49f[_0x83045f(0x15f)]='test';const _0x3d95a2=_0x1ba49f;logger[_0x83045f(0x111)](_0x83045f(0x183)+_0x2cccdd);try{let _0x34633b;if(_0x3d95a2[_0x83045f(0x178)](_0x2cccdd,_0x3d95a2[_0x83045f(0x1c6)])){_0x34633b=jestUtils[_0x83045f(0x18c)](_0x551944),global[_0x83045f(0x11e)]=_0x34633b,_0x551944['testAnalyticsId']=_0x34633b,_0x551944['id']=_0x34633b,_0x551944[_0x83045f(0xfa)]=new Date()[_0x83045f(0x1b1)]();const _0x1b3311=_0x463384[_0x83045f(0xd4)];_0x463384[_0x83045f(0xd4)]=_0x551944,_0x551944['retryOf']=null;if(_0x3d95a2[_0x83045f(0x19f)](_0x551944[_0x83045f(0xcc)],0x0)&&_0x1b3311&&_0x3d95a2[_0x83045f(0x178)](_0x1b3311['title'],_0x551944[_0x83045f(0x15c)])){_0x551944['retryOf']=_0x1b3311[_0x83045f(0x115)];const _0x2332ac=await jestUtils[_0x83045f(0x1c0)](_0x551944,_0x34633b,_0x3d95a2[_0x83045f(0x1c6)]),_0x27fe24=BrowserstackCLI[_0x83045f(0x1c3)]()[_0x83045f(0x127)]();if(_0x3d95a2[_0x83045f(0x1b7)](_0x2332ac,_0x27fe24)){const _0x86c45a={};_0x86c45a[_0x83045f(0x13d)]=_0x2332ac,await _0x27fe24[_0x83045f(0x10b)](TestFrameworkState[_0x83045f(0x16d)],HookState[_0x83045f(0x18b)],_0x86c45a);}_0x1b3311[_0x83045f(0x17a)]=_0x3d95a2['JkVvn'];const _0x39633b=await jestUtils[_0x83045f(0x1c0)](_0x1b3311,_0x1b3311[_0x83045f(0x115)],_0x3d95a2[_0x83045f(0x1bc)]);if(_0x3d95a2['ZTCtY'](_0x39633b,_0x27fe24)){const _0x2bad81={};_0x2bad81['test']=_0x39633b,await _0x27fe24[_0x83045f(0x10b)](TestFrameworkState['TEST'],HookState['POST'],_0x2bad81);}}else{const _0x3c07f3=await jestUtils[_0x83045f(0x1c0)](_0x551944,_0x34633b,_0x3d95a2[_0x83045f(0x1c6)]),_0x3be633=BrowserstackCLI[_0x83045f(0x1c3)]()[_0x83045f(0x127)]();if(_0x3d95a2['ZTCtY'](_0x3c07f3,_0x3be633)){const _0x26474c={};_0x26474c[_0x83045f(0x13d)]=_0x3c07f3,await _0x3be633[_0x83045f(0x10b)](TestFrameworkState['TEST'],HookState[_0x83045f(0x18b)],_0x26474c);}}}else{_0x34633b=_0x551944[_0x83045f(0x115)]||_0x551944['id']||global[_0x83045f(0x11e)];const _0x4e7fa4=await jestUtils[_0x83045f(0x1c0)](_0x551944,_0x34633b,_0x2cccdd),_0x38829d=BrowserstackCLI[_0x83045f(0x1c3)]()['getTestFramework']();if(_0x3d95a2['ZTCtY'](_0x4e7fa4,_0x38829d)){const _0x295ce3={};_0x295ce3[_0x83045f(0x13d)]=_0x4e7fa4,_0x295ce3['originalTest']=_0x551944,_0x295ce3[_0x83045f(0x13b)]=_0x34633b,await _0x38829d['trackEvent'](TestFrameworkState['TEST'],HookState[_0x83045f(0x104)],_0x295ce3);const _0x3a0805={};_0x3a0805[_0x83045f(0x181)]=_0x34633b,_0x3a0805[_0x83045f(0x1cc)]=_0x3d95a2[_0x83045f(0x15f)],await _0x38829d[_0x83045f(0x10b)](TestFrameworkState['LOG_REPORT'],HookState['POST'],_0x3a0805);}}}catch(_0x121945){logger[_0x83045f(0xdd)]('Error\x20handling\x20test\x20event\x20for\x20CLI:\x20'+util[_0x83045f(0x151)](_0x121945));throw _0x121945;}}exportsI[a24_0x4a63d1(0x108)]=(..._0x4cefaf)=>{const _0x1ba6d8=a24_0x4a63d1,_0xcceefb={'SasqZ':function(_0x4af724,_0x36f51f){return _0x4af724(_0x36f51f);},'OgGRB':_0x1ba6d8(0xfd),'UxvNa':function(_0xd60593,_0x186284){return _0xd60593(_0x186284);},'SqXnU':function(_0x5c0c4c,_0x5c9ef7){return _0x5c0c4c&&_0x5c9ef7;},'DioRK':_0x1ba6d8(0xe6),'yDnKB':function(_0x52bef5,_0xfd2140){return _0x52bef5===_0xfd2140;},'KLhHX':_0x1ba6d8(0x192),'bHjQx':function(_0x28a9b8){return _0x28a9b8();},'CAABm':function(_0x7534a4,_0x4e8328,_0x1394d7,_0xb394bc){return _0x7534a4(_0x4e8328,_0x1394d7,_0xb394bc);},'HrZVL':_0x1ba6d8(0x124),'dLbeF':function(_0x18d184,_0x1bfbfb){return _0x18d184(_0x1bfbfb);},'eemYF':function(_0x554809,_0x1d272d){return _0x554809(_0x1d272d);},'LcLiq':_0x1ba6d8(0x19c),'fMZAc':function(_0x292f23){return _0x292f23();},'DXMYV':function(_0x53887,_0x4bef0a,_0x204ddc,_0x4587c9){return _0x53887(_0x4bef0a,_0x204ddc,_0x4587c9);},'vibrl':_0x1ba6d8(0x1bd),'EoLUi':function(_0x360964,_0x3c9dd5){return _0x360964(_0x3c9dd5);},'XQrid':'hook_failure','QHNyJ':'beforeAll','Wqhjt':_0x1ba6d8(0x16f),'fqMTT':_0x1ba6d8(0xd7),'sjple':function(_0x4d9fc4,_0x2a8664){return _0x4d9fc4>_0x2a8664;},'eMTJA':function(_0x35da16,_0x2574d6){return _0x35da16(_0x2574d6);},'UWeIP':_0x1ba6d8(0x170),'XtrIb':function(_0x21e5a6,_0x469c61){return _0x21e5a6(_0x469c61);},'HCuUn':function(_0x275e9c,_0x21c1f4){return _0x275e9c!==_0x21c1f4;},'PFNBl':'\x20>\x20','wXgnf':function(_0x405b65,_0x22b794,_0x66f05,_0x2fde46){return _0x405b65(_0x22b794,_0x66f05,_0x2fde46);},'PAATw':'TestRunStarted','jKRBg':'test_done','WjbFp':function(_0x3ab762,_0x2a7cd6){return _0x3ab762(_0x2a7cd6);},'YhlZm':function(_0x35303d,_0xbbeca4){return _0x35303d>_0xbbeca4;},'XLhVH':_0x1ba6d8(0x164),'QOmSe':'failed','aCqnl':'passed','mzils':function(_0x3abb08,_0xdc324){return _0x3abb08||_0xdc324;},'MlZsr':_0x1ba6d8(0x1d0),'gcNYK':function(_0x1a672d){return _0x1a672d();},'YOwpT':_0x1ba6d8(0x145),'zprHK':function(_0x443470,_0x508610){return _0x443470(_0x508610);},'goclM':_0x1ba6d8(0xfc),'GkOWi':function(_0x570a78,_0x1ce895){return _0x570a78(_0x1ce895);},'pPeSg':_0x1ba6d8(0x114),'sUaML':'teardown','raVDr':function(_0x225fcb){return _0x225fcb();},'WSMRc':_0x1ba6d8(0x140),'veBgo':function(_0x2bbc77,_0x3c3cf2){return _0x2bbc77===_0x3c3cf2;},'qhHxa':_0x1ba6d8(0x1d7),'BsNtK':function(_0x55c776,_0x2236c1){return _0x55c776===_0x2236c1;},'bRXOh':function(_0x1fb0c8){return _0x1fb0c8();},'YBPuW':function(_0x15b01c,_0x216a1c,_0x40ddae){return _0x15b01c(_0x216a1c,_0x40ddae);},'xlopr':_0x1ba6d8(0x182),'eUOjy':_0x1ba6d8(0x137),'TNjhP':function(_0x5c7dc6,_0x268c62){return _0x5c7dc6(_0x268c62);},'KeEhp':function(_0x2040dd,_0x522c32,_0x20121e){return _0x2040dd(_0x522c32,_0x20121e);},'iqnei':_0x1ba6d8(0x1c8),'DLLbU':_0x1ba6d8(0x113)};try{logger['debug'](_0x1ba6d8(0x150)+_0xcceefb[_0x1ba6d8(0x120)](shouldProcessEventForTesthub)+',\x20BROWSERSTACK_PUPPETEER='+process[_0x1ba6d8(0x1a5)][_0x1ba6d8(0xeb)]);const _0x557fea=_0x4cefaf&&_0x4cefaf[0x0]?_0x4cefaf[0x0]:{};_0x557fea&&_0xcceefb[_0x1ba6d8(0x131)](typeof _0x557fea[_0x1ba6d8(0x169)],_0xcceefb[_0x1ba6d8(0x112)])&&_0x557fea['testPath']&&(_currentTestPath=_0x557fea[_0x1ba6d8(0x169)]);let _0x122c2d=0x0;try{if(_0x557fea['config']&&_0xcceefb[_0x1ba6d8(0x171)](typeof _0x557fea['config'][_0x1ba6d8(0x102)],_0xcceefb[_0x1ba6d8(0x1b4)]))_0x122c2d=_0x557fea[_0x1ba6d8(0x105)][_0x1ba6d8(0x102)];else{if(_0x557fea[_0x1ba6d8(0x14b)]&&_0xcceefb[_0x1ba6d8(0x1cf)](typeof _0x557fea['configuration'][_0x1ba6d8(0x102)],_0xcceefb['qhHxa']))_0x122c2d=_0x557fea['configuration'][_0x1ba6d8(0x102)];else global[_0x1ba6d8(0x1b5)]&&_0xcceefb['BsNtK'](typeof global[_0x1ba6d8(0x1b5)][_0x1ba6d8(0x102)],_0xcceefb['qhHxa'])&&(_0x122c2d=global[_0x1ba6d8(0x1b5)][_0x1ba6d8(0x102)]);}}catch(_0x3787e8){logger[_0x1ba6d8(0x111)](_0x1ba6d8(0x13a)+util[_0x1ba6d8(0x151)](_0x3787e8));}global[_0x1ba6d8(0xdb)]=_0x122c2d,process[_0x1ba6d8(0x1a5)][_0x1ba6d8(0x188)]=_0xcceefb[_0x1ba6d8(0xe3)](String,_0x122c2d);const _0x4fec24=new ObservabilityReporter();!_initializedPlatformIndices['has'](_0x122c2d)?(logger[_0x1ba6d8(0x111)](_0x1ba6d8(0xe1)+_0x122c2d),_initializedPlatformIndices[_0x1ba6d8(0x165)](_0x122c2d),_0xcceefb[_0x1ba6d8(0x173)](shouldProcessEventForTesthub)&&(_0xcceefb[_0x1ba6d8(0xea)](patchConsoleLogger),_0x4fec24[_0x1ba6d8(0x1c1)]())):logger[_0x1ba6d8(0x111)](_0x1ba6d8(0x159)+_0x122c2d+_0x1ba6d8(0x14a));let _0x48a990;try{_0x48a990=_0xcceefb[_0x1ba6d8(0x1b9)](requireModule,_0xcceefb[_0x1ba6d8(0x1c2)],_0xcceefb[_0x1ba6d8(0x133)]);}catch{_0x48a990=_0xcceefb[_0x1ba6d8(0x10a)](requireModule,_0xcceefb[_0x1ba6d8(0x133)]);}let _0x435d72;try{_0x435d72=_0xcceefb[_0x1ba6d8(0x110)](requireModule,_0xcceefb[_0x1ba6d8(0x191)],_0xcceefb['eUOjy'])['makeSingleTestResult'];}catch{_0x435d72=_0xcceefb[_0x1ba6d8(0x132)](requireModule,_0xcceefb['eUOjy'])[_0x1ba6d8(0x1cb)]||(()=>({}));}const _0x47bd81=BrowserstackCLI[_0x1ba6d8(0x1c3)]()[_0x1ba6d8(0x1b2)]();(_0xcceefb[_0x1ba6d8(0xea)](shouldProcessEventForTesthub)||_0x47bd81)&&_0x48a990['addEventHandler'](_0xcceefb[_0x1ba6d8(0x1b9)](o11yErrorHandler,async(_0x5b854f,_0x26a0f9)=>{const _0x3f2bee=_0x1ba6d8,_0x4a0a7c={'Okjtl':function(_0x5a5db8,_0x328a3a){const _0xf2a74=a24_0x30e6;return _0xcceefb[_0xf2a74(0xf2)](_0x5a5db8,_0x328a3a);},'rtjmp':_0xcceefb['OgGRB'],'OUpHa':function(_0x5ad3fd,_0x4f0509){return _0xcceefb['UxvNa'](_0x5ad3fd,_0x4f0509);}};_0xcceefb['SqXnU'](_currentTestPath,_0x5b854f)&&_0x5b854f[_0x3f2bee(0x13d)]&&!_0x5b854f['test'][_0x3f2bee(0x1d4)]&&(_0x5b854f['test'][_0x3f2bee(0x1d4)]=_currentTestPath);switch(_0x5b854f[_0x3f2bee(0xf9)]){case _0xcceefb['DioRK']:if(_0x5b854f[_0x3f2bee(0xd8)]['fn']&&_0x5b854f[_0x3f2bee(0xd8)]['fn'][_0x3f2bee(0x1bb)]()['match'](/browserstack internal helper hook/))break;if(_0x5b854f[_0x3f2bee(0xd8)]['parent']&&_0xcceefb[_0x3f2bee(0x131)](_0x5b854f['hook'][_0x3f2bee(0xd2)][_0x3f2bee(0xf9)],_0xcceefb[_0x3f2bee(0xfe)])){const _0xf919a7=_0x5b854f['hook'][_0x3f2bee(0xf7)]&&((()=>{const _0x31f0f2=_0x3f2bee;try{const _0x349389=_0x4a0a7c[_0x31f0f2(0x126)](require,_0x4a0a7c[_0x31f0f2(0x143)]),_0x59277d=_0x349389['parse'][_0x31f0f2(0xd5)](_0x349389,_0x5b854f['hook'][_0x31f0f2(0xf7)]);return _0x59277d[0x0]&&_0x59277d[0x0]['getFileName']?_0x59277d[0x0]['getFileName']():null;}catch(_0xa9ec5){return logger[_0x31f0f2(0x111)]('Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20'+_0xa9ec5[_0x31f0f2(0x1aa)]),null;}})())||_0x5b854f['hook']['file']||null;if(!_0xf919a7)break;}if(BrowserstackCLI[_0x3f2bee(0x1c3)]()[_0x3f2bee(0x1b2)]()&&await _0xcceefb[_0x3f2bee(0x194)](isCLIReady)){if(_0xcceefb[_0x3f2bee(0xf2)](shouldProcessEventForTesthub,testHubConstants[_0x3f2bee(0x15a)][_0x3f2bee(0x179)]))try{await _0xcceefb[_0x3f2bee(0x15b)](handleHookEventCLI,_0x5b854f['hook'],_0xcceefb[_0x3f2bee(0x1a8)],_0x26a0f9);break;}catch(_0x4ce811){_0xcceefb[_0x3f2bee(0x190)](debug,_0x3f2bee(0xe8)+util[_0x3f2bee(0x151)](_0x4ce811));}}if(_0xcceefb[_0x3f2bee(0x166)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x3f2bee(0x179)])){if(!_0x5b854f[_0x3f2bee(0xd8)][_0x3f2bee(0x116)]){const _0x1fda2e=TestDetails[_0x3f2bee(0x1af)](process[_0x3f2bee(0xed)]+':hookAnalyticsId');_0x5b854f[_0x3f2bee(0xd8)]['hookAnalyticsId']=_0x1fda2e;}else _0x5b854f['hook'][_0x3f2bee(0x1b3)]&&(_0x5b854f[_0x3f2bee(0xd8)][_0x3f2bee(0x116)]=TestDetails[_0x3f2bee(0x1af)](process[_0x3f2bee(0xed)]+_0x3f2bee(0x168)),delete _0x5b854f[_0x3f2bee(0xd8)]['markedStatus']);_0x5b854f[_0x3f2bee(0xd8)][_0x3f2bee(0xfa)]=new Date()[_0x3f2bee(0x1b1)](),await _0x4fec24[_0x3f2bee(0x18f)](_0x5b854f['hook'],undefined,![],_0xcceefb['HrZVL']);}break;case _0xcceefb['LcLiq']:if(BrowserstackCLI[_0x3f2bee(0x1c3)]()[_0x3f2bee(0x1b2)]()&&await _0xcceefb[_0x3f2bee(0x173)](isCLIReady)){if(_0xcceefb['eemYF'](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x3f2bee(0x1cd)]))try{await _0xcceefb['DXMYV'](handleHookEventCLI,_0x5b854f[_0x3f2bee(0xd8)],_0xcceefb[_0x3f2bee(0x185)],_0x26a0f9);break;}catch(_0x6fe1f9){_0xcceefb['UxvNa'](debug,_0x3f2bee(0xe8)+util[_0x3f2bee(0x151)](_0x6fe1f9));}}_0xcceefb[_0x3f2bee(0x163)](shouldProcessEventForTesthub,testHubConstants['EVENT']['HookFinished'])&&(await _0x4fec24['sendTestRunEvent'](_0x5b854f[_0x3f2bee(0xd8)],undefined,![],_0xcceefb['vibrl']),TestDetails[_0x3f2bee(0x1ba)](process['pid']+_0x3f2bee(0x168)));break;case _0xcceefb[_0x3f2bee(0x13e)]:[_0xcceefb[_0x3f2bee(0x12b)],_0xcceefb[_0x3f2bee(0x1c7)],_0xcceefb[_0x3f2bee(0x1a1)]]['includes'](_0x5b854f['hook']['type'])&&(_0x4fec24[_0x3f2bee(0x160)]=_0x5b854f[_0x3f2bee(0xd8)][_0x3f2bee(0x1cc)]),_0x26a0f9['unhandledErrors']&&_0xcceefb[_0x3f2bee(0x119)](_0x26a0f9['unhandledErrors'][_0x3f2bee(0x122)],0x0)&&(_0x5b854f[_0x3f2bee(0xd8)]['errorsDetailed']=[_0x26a0f9[_0x3f2bee(0x11d)][0x0][0x0]]);if(BrowserstackCLI[_0x3f2bee(0x1c3)]()[_0x3f2bee(0x1b2)]()&&await _0xcceefb[_0x3f2bee(0x194)](isCLIReady)){if(_0xcceefb[_0x3f2bee(0x1d6)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x3f2bee(0x1cd)]))try{await _0xcceefb['CAABm'](handleHookEventCLI,_0x5b854f[_0x3f2bee(0xd8)],_0xcceefb[_0x3f2bee(0x185)],_0x26a0f9);break;}catch(_0x2d1bb7){_0xcceefb[_0x3f2bee(0xf2)](debug,_0x3f2bee(0xe8)+util['format'](_0x2d1bb7));}}_0xcceefb[_0x3f2bee(0x10c)](shouldProcessEventForTesthub,testHubConstants[_0x3f2bee(0x15a)]['HookFinished'])&&(await _0x4fec24[_0x3f2bee(0x18f)](_0x5b854f[_0x3f2bee(0xd8)],undefined,![],_0xcceefb['vibrl']),TestDetails[_0x3f2bee(0x1ba)](process[_0x3f2bee(0xed)]+_0x3f2bee(0x168)));break;case _0xcceefb['UWeIP']:if(_0xcceefb[_0x3f2bee(0xe3)](isTrue,process[_0x3f2bee(0x1a5)][_0x3f2bee(0x16c)])&&_0xcceefb[_0x3f2bee(0x10c)](isPhantomSkipFromNameFilter,_0x5b854f[_0x3f2bee(0x13d)])){const _0x59c3f8=_0xcceefb['eemYF'](getFullJestTestName,_0x5b854f['test']);logger[_0x3f2bee(0x111)](_0x3f2bee(0x184)+_0x59c3f8+'\x22');break;}try{let _0x166919=_0x5b854f['test'][_0x3f2bee(0xf9)]||'';try{let _0x4bd80d=_0x5b854f[_0x3f2bee(0x13d)]['parent'];const _0x24621a=[_0x166919];while(_0x4bd80d&&_0x4bd80d['name']&&_0xcceefb[_0x3f2bee(0xf1)](_0x4bd80d[_0x3f2bee(0xf9)],_0xcceefb[_0x3f2bee(0xfe)])){_0x24621a[_0x3f2bee(0x101)](_0x4bd80d[_0x3f2bee(0xf9)]),_0x4bd80d=_0x4bd80d[_0x3f2bee(0xd2)];}_0x166919=_0x24621a[_0x3f2bee(0x1ac)](_0xcceefb['PFNBl']);}catch(_0x3fc145){logger['debug'](_0x3f2bee(0x1a9)+_0x3fc145[_0x3f2bee(0x1aa)]);}process[_0x3f2bee(0xf5)]=_0x166919,process[_0x3f2bee(0xe4)]=null,process[_0x3f2bee(0x13c)]=null,logger['debug']('[customJestAdapterInit]\x20Set\x20test\x20name:\x20\x22'+_0x166919+'\x22');if(!global[_0x3f2bee(0xf6)]){const _0x15b4fb={};_0x15b4fb[_0x3f2bee(0x19a)]={},global[_0x3f2bee(0xf6)]=_0x15b4fb;}!global[_0x3f2bee(0xf6)][_0x3f2bee(0x19a)]&&(global[_0x3f2bee(0xf6)][_0x3f2bee(0x19a)]={});const _0x39c304={};_0x39c304['title']=_0x166919,_0x39c304['name']=_0x166919,global[_0x3f2bee(0xf6)]['currentTest']['testInfo']=_0x39c304,global['browserstackTestName']=_0x166919;}catch(_0x1b1fd9){logger['debug'](_0x3f2bee(0x187)+_0x1b1fd9[_0x3f2bee(0x1aa)]);}if(BrowserstackCLI[_0x3f2bee(0x1c3)]()[_0x3f2bee(0x1b2)]()&&await _0xcceefb[_0x3f2bee(0x194)](isCLIReady))try{await _0xcceefb['wXgnf'](handleTestEventCLI,_0x5b854f[_0x3f2bee(0x13d)],_0xcceefb[_0x3f2bee(0x156)],_0x4fec24);break;}catch(_0x4d9698){_0xcceefb['XtrIb'](debug,_0x3f2bee(0xe8)+util[_0x3f2bee(0x151)](_0x4d9698));}_0xcceefb[_0x3f2bee(0x194)](shouldProcessEventForTesthub)&&await _0x4fec24[_0x3f2bee(0x1b6)](_0x5b854f[_0x3f2bee(0x13d)]);break;case _0xcceefb['jKRBg']:{const _0x20b380=_0x5b854f[_0x3f2bee(0x13d)];if(_0xcceefb[_0x3f2bee(0x1d6)](isTrue,process[_0x3f2bee(0x1a5)][_0x3f2bee(0x16c)])&&_0xcceefb[_0x3f2bee(0x190)](isPhantomSkipFromNameFilter,_0x20b380)){const _0x5aaf3d=_0xcceefb[_0x3f2bee(0xe3)](getFullJestTestName,_0x20b380);logger['debug'](_0x3f2bee(0x123)+_0x5aaf3d+'\x22'),_0x20b380[_0x3f2bee(0x1b3)]=!![];break;}_0x5b854f[_0x3f2bee(0x13d)]={..._0xcceefb['WjbFp'](_0x435d72,_0x5b854f['test']),..._0x5b854f['test']};try{const _0xe1e85a=_0x5b854f['test']['errors']||[],_0x31ba38=_0xcceefb[_0x3f2bee(0x14e)](_0xe1e85a['length'],0x0)||_0xcceefb['yDnKB'](_0x5b854f['test'][_0x3f2bee(0x18d)],_0xcceefb[_0x3f2bee(0x15e)]),_0x53d35f=_0x31ba38?_0xcceefb[_0x3f2bee(0x135)]:_0xcceefb[_0x3f2bee(0x106)];let _0x5bb4b2='';_0x31ba38&&(_0x5bb4b2=_0xe1e85a[_0x3f2bee(0x12e)](_0x1e03e6=>{const _0x5802a5=_0x3f2bee;if(Array[_0x5802a5(0x11c)](_0x1e03e6))return _0x1e03e6[_0x5802a5(0x12e)](_0x800390=>_0x800390&&_0x800390[_0x5802a5(0x1aa)]||String(_0x800390))[_0x5802a5(0x1ac)](';\x20');return _0x1e03e6&&_0x1e03e6[_0x5802a5(0x1aa)]||_0x4a0a7c[_0x5802a5(0x100)](String,_0x1e03e6);})['join'](';\x20')),process['_bstackTestStatus']=_0x53d35f,process[_0x3f2bee(0x13c)]=_0xcceefb[_0x3f2bee(0x1d2)](_0x5bb4b2,''),logger['debug'](_0x3f2bee(0x129)+_0x53d35f+'\x22'),global[_0x3f2bee(0xf6)]&&global['__workerDetails']['currentTest']&&(!global[_0x3f2bee(0xf6)][_0x3f2bee(0x19a)][_0x3f2bee(0x14d)]&&(global['__workerDetails']['currentTest']['testInfo']={}),global[_0x3f2bee(0xf6)]['currentTest'][_0x3f2bee(0x14d)]['status']=_0x53d35f,_0x31ba38&&(global[_0x3f2bee(0xf6)][_0x3f2bee(0x19a)][_0x3f2bee(0x14d)][_0x3f2bee(0x1d3)]=_0x5bb4b2));}catch(_0x423ade){logger[_0x3f2bee(0x111)](_0x3f2bee(0x1a3)+_0x423ade[_0x3f2bee(0x1aa)]);}if(!_0x5b854f[_0x3f2bee(0x13d)][_0x3f2bee(0x1b3)]){_0x5b854f['test'][_0x3f2bee(0x1b3)]=!![];if(BrowserstackCLI[_0x3f2bee(0x1c3)]()['isCliEnabled']()&&await _0xcceefb['bHjQx'](isCLIReady))try{await _0xcceefb[_0x3f2bee(0x1a2)](handleTestEventCLI,_0x5b854f['test'],_0xcceefb[_0x3f2bee(0x198)],_0x4fec24);break;}catch(_0x5e7f52){_0xcceefb[_0x3f2bee(0x132)](debug,_0x3f2bee(0xe8)+util['format'](_0x5e7f52));}_0xcceefb['gcNYK'](shouldProcessEventForTesthub)&&await _0x4fec24[_0x3f2bee(0x18f)](_0x5b854f[_0x3f2bee(0x13d)]);}break;}case _0xcceefb[_0x3f2bee(0x1a0)]:{const _0x2a1b9d=_0x5b854f['test'];if(_0xcceefb['SasqZ'](isTrue,process[_0x3f2bee(0x1a5)][_0x3f2bee(0x16c)])&&_0xcceefb[_0x3f2bee(0x1d6)](isPhantomSkipFromNameFilter,_0x2a1b9d)){const _0x35a53f=_0xcceefb['zprHK'](getFullJestTestName,_0x2a1b9d);logger[_0x3f2bee(0x111)]('[Rerun]\x20Suppressed\x20phantom\x20TestRunSkipped\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22'+_0x35a53f+'\x22'),_0x2a1b9d[_0x3f2bee(0x1b3)]=!![];break;}_0x5b854f[_0x3f2bee(0x13d)]={..._0xcceefb[_0x3f2bee(0xe3)](_0x435d72,_0x5b854f[_0x3f2bee(0x13d)]),..._0x5b854f[_0x3f2bee(0x13d)]};if(!_0x5b854f[_0x3f2bee(0x13d)][_0x3f2bee(0x1b3)]){_0x5b854f['test']['markedStatus']=!![];if(BrowserstackCLI['getInstance']()['isCliEnabled']()&&await _0xcceefb[_0x3f2bee(0xe5)](isCLIReady))try{await _0xcceefb['wXgnf'](handleTestEventCLI,_0x5b854f[_0x3f2bee(0x13d)],_0xcceefb[_0x3f2bee(0x1d5)],_0x4fec24);break;}catch(_0x1aaf61){_0xcceefb[_0x3f2bee(0xd6)](debug,_0x3f2bee(0xe8)+util[_0x3f2bee(0x151)](_0x1aaf61));}_0xcceefb['fMZAc'](shouldProcessEventForTesthub)&&await _0x4fec24[_0x3f2bee(0x18f)](_0x5b854f[_0x3f2bee(0x13d)],undefined,![],_0xcceefb[_0x3f2bee(0x1d5)]);}break;}case _0xcceefb[_0x3f2bee(0x1b0)]:_0x4fec24[_0x3f2bee(0x160)]=null;break;case _0xcceefb[_0x3f2bee(0x16a)]:await RequestQueueHandler[_0x3f2bee(0x1c3)]()[_0x3f2bee(0x147)](),process[_0x3f2bee(0x14f)]();break;default:}},_0xcceefb[_0x1ba6d8(0x172)]));}catch(_0x3ca1c3){_0xcceefb[_0x1ba6d8(0x10c)](debug,_0x1ba6d8(0x146)+_0x3ca1c3);}return _0xcceefb[_0x1ba6d8(0x190)](initInitialize,..._0x4cefaf);};try{Object['keys'](exportsI)['forEach'](_0x2e9a0f=>{const _0x55cf72=a24_0x4a63d1,_0xb47658={'NOhGW':function(_0x37d958,_0x21aff4){return _0x37d958(_0x21aff4);}};try{exports&&(exports[_0x2e9a0f]=exportsI[_0x2e9a0f]);}catch(_0x594cce){_0xb47658[_0x55cf72(0x152)](debug,_0x55cf72(0x161)+_0x594cce);}});}catch(a24_0x15234b){debug(a24_0x4a63d1(0x117)+a24_0x15234b);}const a24_0x367b23={};a24_0x367b23['getFullJestTestName']=getFullJestTestName,a24_0x367b23[a24_0x4a63d1(0x118)]=getActiveTestNamePattern,a24_0x367b23[a24_0x4a63d1(0xcf)]=isPhantomSkipFromNameFilter,exports[a24_0x4a63d1(0x16e)]=a24_0x367b23;function a24_0x2e04(){const _0x79afad=['NZMNf','name','started_at','1439685DgxsHA','TestRunSkipped','stack-trace','KLhHX','../../../helpers/test-observability/requestQueueHandler','OUpHa','unshift','browserstackPlatformIndex','../../v2/browserstackCLI','POST','config','aCqnl','testNamePattern','initialize','SInJe','TNjhP','trackEvent','eMTJA','xBXXY','Handling\x20hook\x20event\x20for\x20CLI:\x20','../../v2/cliUtils','KeEhp','debug','WSMRc','EventHandler','run_describe_finish','testAnalyticsId','hookAnalyticsId','Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20','getActiveTestNamePattern','sjple','LOG_REPORT','slice','isArray','unhandledErrors','__jestCurrentTestIdentifier','lCFVs','raVDr','TmxEM','length','[Rerun]\x20Suppressed\x20phantom\x20TestRunFinished\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22','HookRunStarted','Xodzo','Okjtl','getTestFramework','uMlLf','[customJestAdapterInit]\x20Set\x20test\x20status:\x20\x22','beforeAll','QHNyJ','../../../helpers/testhub/constants','Eycrw','map','8NiVOOE','--testNamePattern','yDnKB','WjbFp','eUOjy','dBFfC','QOmSe','removeActiveHook','jest-circus','argv','currentHook','Error\x20reading\x20platformIndex\x20from\x20args:\x20','testIdentifier','_bstackTestFailureReason','test','XQrid','PLAYWRIGHT','string','../../v2/state/hookState','setActiveHook','rtjmp','PUPPETEER','test_skip','Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20','shutdown','../test-observability/test-details','parse',',\x20re-registering\x20event\x20handler','configuration','hookUUID','testInfo','YhlZm','removeAllListeners','[customJestAdapterInit]\x20initialize\x20called,\x20shouldProcessEventForTesthub=','format','NOhGW','jest-circus/build/jestAdapterInit.js','eHsKv','getAutomationFrameworkDetail','PAATw','rgmBQ','rsmjE','[customJestAdapterInit]\x20Skipping\x20heavy\x20init\x20for\x20platformIndex=','EVENT','CAABm','title','getFileName','XLhVH','hplGW','hook_failure','Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20','BROWSERSTACK_CLI_BIN_SESSION_ID','EoLUi','fail','add','eemYF','createHookData',':hookAnalyticsId','testPath','sUaML','isRunning','BROWSERSTACK_RERUN','TEST','__rerunFilterHelpers','beforeEach','test_start','veBgo','DLLbU','fMZAc','kIgdp','QWsiy','1322547HmnYRQ','JEST','qOTNe','HookStarted','state','3015397BdrVmh','hFpxQ','Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20','Ampgz','667698xjoktY','TestRunStarted','testUUID','jest-circus/build/state.js','Handling\x20test\x20event\x20for\x20CLI:\x20','[Rerun]\x20Suppressed\x20phantom\x20TestRunStarted\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22','vibrl','aLDgz','[customJestAdapterInit]\x20Error\x20in\x20test_start\x20name\x20storage:\x20','BROWSERSTACK_PLATFORM_INDEX','ojRkX','ZLemG','PRE','createIdentifierFromJestTest','status','--testNamePattern=','sendTestRunEvent','dLbeF','iqnei','ROOT_DESCRIBE_BLOCK','../../../helpers/test-observability/utils','bHjQx','unxoq','winstonLogger','failed','MlZsr','startsWith','currentTest','split','hook_success','36DbUIAF','mxhqZ','bjyuw','YOwpT','fqMTT','DXMYV','[customJestAdapterInit]\x20Error\x20in\x20test_done\x20status\x20storage:\x20','../../utils/constants','env','getState','AFTER_EACH','HrZVL','[customJestAdapterInit]\x20Error\x20building\x20test\x20name:\x20','message','jdHkB','join','../../v2/state/testFrameworkState','afterAll','setTestUUID','pPeSg','toISOString','isCliEnabled','markedStatus','qhHxa','jestConfig','testStarted','ZTCtY','HxkPy','YBPuW','removeTestUUID','toString','jtDrG','HookRunFinished','GYViv','12Ffjngl','createTestFrameworkData','registerListeners','xlopr','getInstance','eSJrr','../../v2/utils/jest-utils','jxuzO','Wqhjt','jest-circus/build/utils.js','PyQiG','Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20','makeSingleTestResult','type','HookFinished','Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20','BsNtK','TestRunFinished','setFrameworkDetail','mzils','failureMessage','file','goclM','UxvNa','number','9369962pYhADN','renTG','function','_currentRetry','KlDte','CLI\x20is\x20enabled\x20and\x20running.','isPhantomSkipFromNameFilter','../test-observability/obsReporter','BEFORE_ALL','parent','qaEyR','current_test','call','GkOWi','afterEach','hook','RwJDK','zFFPj','__bstackPlatformIndex','true','error','PXyxo','2bDAPrn','vUMhr','[customJestAdapterInit]\x20Initializing\x20for\x20platformIndex=','VIUvo','XtrIb','_bstackTestStatus','gcNYK','hook_start','../../../helpers/test-observability/error-handler','Error\x20routing\x20to\x20JestTestFramework:\x20','QRvHp','bRXOh','BROWSERSTACK_PUPPETEER','1401550goxXGE','pid','4605570RLORJF','BEFORE_EACH','fODnj','HCuUn','SasqZ','-t=','../../../helpers/logger','_bstackTestName','__workerDetails','asyncError'];a24_0x2e04=function(){return _0x79afad;};return a24_0x2e04();}
|
|
1
|
+
const a24_0x9d8b5d=a24_0x5a8f;(function(_0x4bd55d,_0x317e7f){const _0xb6a289=a24_0x5a8f,_0x4d4131=_0x4bd55d();while(!![]){try{const _0x37dedf=-parseInt(_0xb6a289(0x1bb))/0x1+-parseInt(_0xb6a289(0x231))/0x2+parseInt(_0xb6a289(0x230))/0x3+-parseInt(_0xb6a289(0x193))/0x4+parseInt(_0xb6a289(0x20c))/0x5+parseInt(_0xb6a289(0x1c5))/0x6*(-parseInt(_0xb6a289(0x26e))/0x7)+parseInt(_0xb6a289(0x27d))/0x8;if(_0x37dedf===_0x317e7f)break;else _0x4d4131['push'](_0x4d4131['shift']());}catch(_0x2e33ac){_0x4d4131['push'](_0x4d4131['shift']());}}}(a24_0x1518,0x2bffc));function a24_0x1518(){const _0x2a2193=['../../v2/state/hookState','[customJestAdapterInit]\x20Set\x20test\x20status:\x20\x22','agajY','currentHook','YleQw','forEach','AFTER_EACH','passed','hGGyJ','SoSwx','../../v2/browserstackCLI','MtPcf','sendTestRunEvent','test','\x20for\x20hook\x20type:\x20','getTestFramework','TRZTb','VhAFK','Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20','beforeAll','yqusH','setActiveHook','length','298422ggpcYt','unhandledErrors','pGxKl','parent','[Rerun]\x20Suppressed\x20phantom\x20TestRunSkipped\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22','isCliEnabled','CLLRM','LOG_REPORT','EVENT','jest-circus/build/utils.js','66pHVziZ','OzSpm','GxVpU','JwOCH','hook_failure','RGArU','PLAYWRIGHT','jest-circus/build/jestAdapterInit.js','Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20','isRunning','retryOf','beforeEach','parse','testNamePattern','../test-observability/obsReporter','PUPPETEER','BROWSERSTACK_PLATFORM_INDEX','fail','XSKII','hookData','HookStarted','JERGs','wjIjb','CLI\x20is\x20enabled\x20and\x20running.','getInstance','sBIts',',\x20BROWSERSTACK_PUPPETEER=','addEventHandler','MBrok','file','Nnyzn','removeAllListeners','debug','../test-observability/test-details','HookRunFinished','TestRunFinished','__bstackPlatformIndex','util','hook_start','ijpYB','stack-trace','thNmJ','getFullJestTestName',',\x20re-registering\x20event\x20handler','getActiveTestNamePattern','function','FwsCm','GDuuH','../../v2/state/testFrameworkState','isPhantomSkipFromNameFilter','YulkV','errors','SnDio','iXDMx','../../../helpers/test-observability/error-handler','number','registerListeners','RuuIO','_bstackTestStatus','configuration','shutdown','testAnalyticsId','toString','aOPAA','testInfo','keys','../../../helpers/testhub/constants','--testNamePattern','eSAfh','state','__jestCurrentTestIdentifier','274170BgfZZG','true','wkDbR','originalTest','ySVro','hookAnalyticsId','qDZre','JRcLs','argv','removeActiveHook','DrPox','-t=','LeNZo','testUUID','zbmCW','current_test','KMxSO','pCwhh','TAOdZ','[customJestAdapterInit]\x20Set\x20test\x20name:\x20\x22','string','error','../../v2/cliUtils','GSGiA','afterEach','getState','setTestUUID','__workerDetails','POST','test_done','uIfpH','bKxAl','toISOString','hookUUID','has','hook','441951UQQkKR','108710jiDIYe','DIyXE','jkMQm','includes','OCapK','ztwaR','[Rerun]\x20Suppressed\x20phantom\x20TestRunFinished\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22','_bstackTestFailureReason','wvfpq','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','ZnkuF','Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20','JKGPP','HookRunStarted','../../../helpers/test-observability/requestQueueHandler','NGTra','join','StbbM','TestRunStarted','format','asyncError','mQgjN','map','BUfGa','Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20','CcOwN','CPJiE','ZpKQh','browserstackPlatformIndex','PRE','env','call','config','wWABl','SUJyq','_bstackTestName','KGFrW','../../v2/utils/jest-utils','trackEvent','failed','YcldA','add','eLsrR','[customJestAdapterInit]\x20Error\x20in\x20test_start\x20name\x20storage:\x20','bootstrap','createIdentifierFromJestTest','failureMessage','hrjqc','fcHhx','SbYuE','initialize','XhujT','dEKlK','../../../helpers/helper','title','[customJestAdapterInit]\x20initialize\x20called,\x20shouldProcessEventForTesthub=','zayUa','markedStatus','errorsDetailed','bjDrR','__rerunFilterHelpers','68446NDSDbt','xvDau','../../../helpers/test-observability/utils','AFTER_ALL','message','startsWith','hook_success','BROWSERSTACK_PUPPETEER','test_start','QAgjU','currentTest','testPath','WjypG','zplzK','BROWSERSTACK_CLI_BIN_SESSION_ID','4966664vsLzaH','unshift','ROOT_DESCRIBE_BLOCK','testIdentifier','KuRUh','KLmXE','AqqLZ','[customJestAdapterInit]\x20Initializing\x20for\x20platformIndex=','pid','HookFinished','Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20',':hookAnalyticsId','type','SVMqt','[customJestAdapterInit]\x20Error\x20building\x20test\x20name:\x20','[Rerun]\x20Suppressed\x20phantom\x20TestRunStarted\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22','mLDBZ','NDSFN','[customJestAdapterInit]\x20Skipping\x20heavy\x20init\x20for\x20platformIndex=','match','split','jest-circus/build/state.js','createHookData','Error\x20routing\x20to\x20JestTestFramework:\x20','bPlMT','getFileName','jest-circus','JEST','vVToa','wWxMr','--testNamePattern=','729716pKNdXs','DBxlX','plaFk','removeTestUUID','_currentRetry','BROWSERSTACK_RERUN','dboXw','makeSingleTestResult','setFrameworkDetail','name','createTestFrameworkData','BEFORE_ALL','EAuCs','dkjPm','TEST','teardown','run_describe_finish'];a24_0x1518=function(){return _0x2a2193;};return a24_0x1518();}const {requireModule,isTrue}=require(a24_0x9d8b5d(0x266)),ObservabilityReporter=require(a24_0x9d8b5d(0x1d3)),RequestQueueHandler=require(a24_0x9d8b5d(0x23f)),TestDetails=require(a24_0x9d8b5d(0x1e6)),{patchConsoleLogger,debug}=require(a24_0x9d8b5d(0x270)),{o11yErrorHandler}=require(a24_0x9d8b5d(0x1fb)),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils'),testHubConstants=require(a24_0x9d8b5d(0x207)),BrowserstackCLI=require(a24_0x9d8b5d(0x1ae)),TestFrameworkState=require(a24_0x9d8b5d(0x1f5)),HookState=require(a24_0x9d8b5d(0x1a4)),JestUtils=require(a24_0x9d8b5d(0x256)),{v4:uuidv4}=require('uuid'),util=require(a24_0x9d8b5d(0x1ea)),logger=require('../../../helpers/logger')['winstonLogger'],{FRAMEWORKS}=require('../../utils/constants');let exportsI;try{exportsI=requireModule(a24_0x9d8b5d(0x23a),a24_0x9d8b5d(0x297));}catch{exportsI=requireModule(a24_0x9d8b5d(0x1cc),a24_0x9d8b5d(0x297));}const initInitialize=exportsI['initialize'],jestUtils=new JestUtils(),_initializedPlatformIndices=new Set();let _currentTestPath=null;function getFullJestTestName(_0x2c9003){const _0x4bef02=a24_0x9d8b5d,_0x2c991c={};_0x2c991c[_0x4bef02(0x195)]=function(_0x142a71,_0x63f5fc){return _0x142a71!==_0x63f5fc;},_0x2c991c['YcldA']='ROOT_DESCRIBE_BLOCK';const _0x5ed558=_0x2c991c;try{const _0x5b7680=[];let _0x7b962e=_0x2c9003;while(_0x7b962e){_0x7b962e['name']&&_0x5ed558[_0x4bef02(0x195)](_0x7b962e[_0x4bef02(0x19c)],_0x5ed558[_0x4bef02(0x259)])&&_0x5b7680[_0x4bef02(0x27e)](_0x7b962e[_0x4bef02(0x19c)]),_0x7b962e=_0x7b962e['parent'];}return _0x5b7680[_0x4bef02(0x241)]('\x20');}catch(_0x4e9c6b){return _0x2c9003&&_0x2c9003[_0x4bef02(0x19c)]||'';}}function a24_0x5a8f(_0x3480e8,_0x13ca5c){const _0x151864=a24_0x1518();return a24_0x5a8f=function(_0x5a8f6b,_0x5af6b8){_0x5a8f6b=_0x5a8f6b-0x18f;let _0x5605e0=_0x151864[_0x5a8f6b];return _0x5605e0;},a24_0x5a8f(_0x3480e8,_0x13ca5c);}function getActiveTestNamePattern(){const _0x412a8d=a24_0x9d8b5d,_0x1ba8a9={'qACkD':function(_0x1d2d29,_0x35dda8,_0x44bfd0){return _0x1d2d29(_0x35dda8,_0x44bfd0);},'SoSwx':_0x412a8d(0x292),'JwOCH':_0x412a8d(0x297),'tGWqQ':function(_0x1906c8,_0x170d1f){return _0x1906c8(_0x170d1f);},'wkDbR':function(_0x505cf4,_0x3a55f1){return _0x505cf4===_0x3a55f1;},'fcHhx':_0x412a8d(0x1f2),'EAuCs':function(_0x3f5770,_0x81f4f4){return _0x3f5770 instanceof _0x81f4f4;},'CLLRM':function(_0x3cbebf,_0x28a4d3){return _0x3cbebf===_0x28a4d3;},'zplzK':_0x412a8d(0x220),'BUfGa':function(_0x27c4eb,_0x457a32){return _0x27c4eb>_0x457a32;},'dEKlK':function(_0x350495,_0x10a79c){return _0x350495<_0x10a79c;},'SUJyq':_0x412a8d(0x208),'DrPox':function(_0x60884a,_0x3368b9){return _0x60884a+_0x3368b9;},'WjypG':_0x412a8d(0x192),'KMxSO':_0x412a8d(0x217)};try{let _0x40a9cf;try{_0x40a9cf=_0x1ba8a9['qACkD'](requireModule,_0x1ba8a9[_0x412a8d(0x1ad)],_0x1ba8a9[_0x412a8d(0x1c8)]);}catch{_0x40a9cf=_0x1ba8a9['tGWqQ'](requireModule,_0x1ba8a9[_0x412a8d(0x1c8)]);}if(_0x40a9cf&&_0x1ba8a9[_0x412a8d(0x20e)](typeof _0x40a9cf['getState'],_0x1ba8a9[_0x412a8d(0x261)])){const _0x2854a2=_0x40a9cf[_0x412a8d(0x225)]();if(_0x2854a2&&_0x2854a2[_0x412a8d(0x1d2)]){if(_0x1ba8a9[_0x412a8d(0x19f)](_0x2854a2[_0x412a8d(0x1d2)],RegExp))return _0x2854a2['testNamePattern'];if(_0x1ba8a9[_0x412a8d(0x1c1)](typeof _0x2854a2[_0x412a8d(0x1d2)],_0x1ba8a9[_0x412a8d(0x27b)])&&_0x1ba8a9[_0x412a8d(0x248)](_0x2854a2[_0x412a8d(0x1d2)]['length'],0x0))return new RegExp(_0x2854a2['testNamePattern'],'i');}}}catch(_0x3534d6){}try{const _0x329038=process[_0x412a8d(0x214)]||[];for(let _0x212fd0=0x0;_0x1ba8a9[_0x412a8d(0x265)](_0x212fd0,_0x329038[_0x412a8d(0x1ba)]);_0x212fd0++){const _0x29e109=_0x329038[_0x212fd0];if(_0x1ba8a9[_0x412a8d(0x1c1)](_0x29e109,'-t')||_0x1ba8a9[_0x412a8d(0x20e)](_0x29e109,_0x1ba8a9[_0x412a8d(0x253)])){const _0x22a16f=_0x329038[_0x1ba8a9[_0x412a8d(0x216)](_0x212fd0,0x1)];if(_0x22a16f&&!_0x22a16f[_0x412a8d(0x273)]('-'))return new RegExp(_0x22a16f,'i');}else{if(_0x29e109&&(_0x29e109[_0x412a8d(0x273)](_0x1ba8a9[_0x412a8d(0x27a)])||_0x29e109[_0x412a8d(0x273)](_0x1ba8a9[_0x412a8d(0x21c)]))){const _0x50c522=_0x29e109[_0x412a8d(0x291)]('=')['slice'](0x1)[_0x412a8d(0x241)]('=');if(_0x50c522)return new RegExp(_0x50c522,'i');}}}}catch(_0x217aef){}return null;}function isPhantomSkipFromNameFilter(_0xda70a1){const _0x29e9a2=a24_0x9d8b5d,_0x1149a0={'zayUa':function(_0x4c75b1){return _0x4c75b1();},'ceINU':function(_0x51ecf1,_0x49002b){return _0x51ecf1(_0x49002b);}},_0x77ec78=_0x1149a0[_0x29e9a2(0x269)](getActiveTestNamePattern);if(!_0x77ec78)return![];const _0x10f294=_0x1149a0['ceINU'](getFullJestTestName,_0xda70a1);if(!_0x10f294)return![];return!_0x77ec78['test'](_0x10f294);}async function isCLIReady(){const _0xe5b772=a24_0x9d8b5d,_0x23b10d={'eSAfh':_0xe5b772(0x1dc),'NGTra':function(_0x1f88b1,_0x4d2174){return _0x1f88b1(_0x4d2174);},'bjDrR':_0xe5b772(0x222),'dkjPm':function(_0x28ed5f,_0x5a0273){return _0x28ed5f===_0x5a0273;},'hGGyJ':_0xe5b772(0x20d),'YleQw':function(_0x215c42,_0xcf1b56){return _0x215c42(_0xcf1b56);}};try{const _0xfe08f6=BrowserstackCLI[_0xe5b772(0x1dd)]();if(_0xfe08f6[_0xe5b772(0x1c0)]()&&_0xfe08f6[_0xe5b772(0x1ce)]())return logger[_0xe5b772(0x1e5)](_0x23b10d[_0xe5b772(0x209)]),!![];const _0x541fb6=process['env'][_0xe5b772(0x27c)];if(_0x541fb6&&_0xfe08f6[_0xe5b772(0x1c0)]()){if(!_0xfe08f6[_0xe5b772(0x1ce)]())try{const _0x23ac0a=_0x23b10d[_0xe5b772(0x240)](require,_0x23b10d[_0xe5b772(0x26c)]),_0xb85b3c=_0x23ac0a['getAutomationFrameworkDetail']();(!_0xb85b3c||!_0xb85b3c[_0xe5b772(0x19c)])&&(_0x23b10d[_0xe5b772(0x1a0)](process['env'][_0xe5b772(0x275)],_0x23b10d[_0xe5b772(0x1ac)])?_0x23ac0a[_0xe5b772(0x19b)](FRAMEWORKS[_0xe5b772(0x18f)],FRAMEWORKS[_0xe5b772(0x1d4)]):_0x23ac0a[_0xe5b772(0x19b)](FRAMEWORKS['JEST'],FRAMEWORKS[_0xe5b772(0x1cb)])),await _0xfe08f6[_0xe5b772(0x25d)]();}catch(_0x9742be){return _0x23b10d[_0xe5b772(0x1a8)](debug,_0xe5b772(0x1cd)+util[_0xe5b772(0x244)](_0x9742be)),![];}return _0xfe08f6[_0xe5b772(0x1ce)]();}return![];}catch(_0x3134d3){return _0x23b10d[_0xe5b772(0x240)](debug,'Error\x20checking\x20CLI\x20readiness:\x20'+util['format'](_0x3134d3)),![];}}function getTestIdentifierForHook(_0x29c13f){const _0x502cfa=a24_0x9d8b5d,_0x211521={};_0x211521[_0x502cfa(0x22b)]=function(_0x3f7486,_0x341250){return _0x3f7486===_0x341250;},_0x211521[_0x502cfa(0x204)]=_0x502cfa(0x1d0),_0x211521['RGArU']=function(_0x5cd67e,_0x2526ee){return _0x5cd67e===_0x2526ee;},_0x211521[_0x502cfa(0x1e1)]=_0x502cfa(0x1b7);const _0x3b102c=_0x211521;if(_0x3b102c[_0x502cfa(0x22b)](_0x29c13f[_0x502cfa(0x289)],_0x3b102c[_0x502cfa(0x204)])||_0x3b102c['RGArU'](_0x29c13f[_0x502cfa(0x289)],_0x3b102c[_0x502cfa(0x1e1)])){let _0x5ddbed=global[_0x502cfa(0x20b)];if(!_0x5ddbed&&_0x3b102c[_0x502cfa(0x1ca)](_0x29c13f[_0x502cfa(0x289)],_0x3b102c[_0x502cfa(0x1e1)])&&_0x29c13f[_0x502cfa(0x1be)]){const _0x1ba834={};_0x1ba834[_0x502cfa(0x19c)]=_0x29c13f['parent'][_0x502cfa(0x19c)],_0x1ba834[_0x502cfa(0x1be)]=_0x29c13f[_0x502cfa(0x1be)][_0x502cfa(0x1be)],_0x1ba834[_0x502cfa(0x245)]=_0x29c13f[_0x502cfa(0x245)],_0x1ba834[_0x502cfa(0x1e2)]=_0x29c13f[_0x502cfa(0x1e2)];const _0x5ea51e=_0x1ba834;_0x5ddbed=jestUtils[_0x502cfa(0x25e)](_0x5ea51e);}return _0x5ddbed;}return global[_0x502cfa(0x20b)];}function mapHookTypeToState(_0xb256fc){const _0x43f247=a24_0x9d8b5d,_0x3f5a49={};_0x3f5a49[_0x43f247(0x1b7)]=TestFrameworkState[_0x43f247(0x19e)],_0x3f5a49['afterAll']=TestFrameworkState[_0x43f247(0x271)],_0x3f5a49['beforeEach']=TestFrameworkState['BEFORE_EACH'],_0x3f5a49[_0x43f247(0x224)]=TestFrameworkState[_0x43f247(0x1aa)];const _0x58c926=_0x3f5a49;return _0x58c926[_0xb256fc]||TestFrameworkState['BEFORE_EACH'];}async function handleHookEventCLI(_0x3be50c,_0x32543e,_0x1a7b51){const _0x57f580=a24_0x9d8b5d,_0xa523e6={'FwsCm':function(_0x485533,_0x543f6d){return _0x485533(_0x543f6d);},'hrjqc':_0x57f580(0x1ed),'QAgjU':function(_0x2dd202,_0x6ed3fe){return _0x2dd202===_0x6ed3fe;},'wvfpq':_0x57f580(0x27f),'OCapK':function(_0x24d0df){return _0x24d0df();},'dboXw':function(_0x507a79){return _0x507a79();},'KGFrW':_0x57f580(0x23e),'XSKII':function(_0x3196c5,_0x560cd2){return _0x3196c5===_0x560cd2;},'UsFBv':function(_0xca35ca,_0x4b3441){return _0xca35ca===_0x4b3441;},'MfbjV':_0x57f580(0x1e7),'ipEWg':_0x57f580(0x22f)};logger[_0x57f580(0x1e5)]('Handling\x20hook\x20event\x20for\x20CLI:\x20'+_0x32543e+_0x57f580(0x1b2)+_0x3be50c['type']);try{if(_0x3be50c['fn']&&_0x3be50c['fn'][_0x57f580(0x203)]()[_0x57f580(0x290)](/browserstack internal helper hook/))return;if(_0x3be50c['parent']&&_0xa523e6['QAgjU'](_0x3be50c[_0x57f580(0x1be)]['name'],_0xa523e6[_0x57f580(0x239)])){const _0x487996=_0x3be50c[_0x57f580(0x245)]&&((()=>{const _0x427cd6=_0x57f580;try{const _0x12c893=_0xa523e6['FwsCm'](require,_0xa523e6[_0x427cd6(0x260)]),_0x53de62=_0x12c893[_0x427cd6(0x1d1)][_0x427cd6(0x250)](_0x12c893,_0x3be50c['asyncError']);return _0x53de62[0x0]&&_0x53de62[0x0][_0x427cd6(0x296)]?_0x53de62[0x0][_0x427cd6(0x296)]():null;}catch(_0xbd082b){return logger[_0x427cd6(0x1e5)]('Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20'+_0xbd082b[_0x427cd6(0x272)]),null;}})())||_0x3be50c['file']||null;if(!_0x487996)return;}let _0x32f6be=_0x3be50c[_0x57f580(0x211)];if(!_0x32f6be)_0x32f6be=_0xa523e6[_0x57f580(0x235)](uuidv4),_0x3be50c[_0x57f580(0x211)]=_0x32f6be;else _0x3be50c[_0x57f580(0x26a)]&&(_0x32f6be=_0xa523e6[_0x57f580(0x199)](uuidv4),_0x3be50c[_0x57f580(0x211)]=_0x32f6be,delete _0x3be50c[_0x57f580(0x26a)]);_0xa523e6[_0x57f580(0x277)](_0x32543e,_0xa523e6[_0x57f580(0x255)])&&(_0x3be50c['started_at']=new Date()[_0x57f580(0x22c)]());const _0x44a256=_0xa523e6[_0x57f580(0x1f3)](getTestIdentifierForHook,_0x3be50c);!global[_0x57f580(0x227)]&&(global['__workerDetails']={});if(_0xa523e6[_0x57f580(0x1d7)](_0x32543e,_0xa523e6[_0x57f580(0x255)])){global[_0x57f580(0x227)][_0x57f580(0x1a7)]={'hookUUID':_0x32f6be,'testIdentifier':_0x44a256,'hookType':_0x3be50c[_0x57f580(0x289)],'startedAt':new Date()[_0x57f580(0x22c)]()};const _0x2bdc02=BrowserstackCLI['getInstance']()['getTestFramework']();_0x2bdc02&&_0x2bdc02[_0x57f580(0x1b9)]&&_0x2bdc02[_0x57f580(0x1b9)](_0x44a256,_0x32f6be,_0x3be50c['type']);}const _0x4c9dc0=await jestUtils[_0x57f580(0x293)](_0x3be50c,_0x32f6be,_0x32543e,_0x44a256);if(!_0x4c9dc0)return;const _0x3b2061=_0xa523e6[_0x57f580(0x1f3)](mapHookTypeToState,_0x3be50c['type']),_0x4c7b01=_0xa523e6['UsFBv'](_0x32543e,_0xa523e6[_0x57f580(0x255)])?HookState[_0x57f580(0x24e)]:HookState[_0x57f580(0x228)],_0x1d2e27=BrowserstackCLI[_0x57f580(0x1dd)]()[_0x57f580(0x1b3)]();if(_0x1d2e27){const _0x5e2bab={};_0x5e2bab[_0x57f580(0x1d8)]=_0x4c9dc0,await _0x1d2e27['trackEvent'](_0x3b2061,_0x4c7b01,_0x5e2bab);if(_0xa523e6[_0x57f580(0x277)](_0x32543e,_0xa523e6['MfbjV'])){const _0xffadf1={};_0xffadf1['testUUID']=_0x44a256,_0xffadf1[_0x57f580(0x289)]=_0xa523e6['ipEWg'],await _0x1d2e27[_0x57f580(0x257)](TestFrameworkState['LOG_REPORT'],HookState['POST'],_0xffadf1),global['__workerDetails']&&global[_0x57f580(0x227)]['currentHook']&&_0xa523e6[_0x57f580(0x277)](global[_0x57f580(0x227)]['currentHook'][_0x57f580(0x22d)],_0x32f6be)&&delete global[_0x57f580(0x227)]['currentHook'],_0x1d2e27[_0x57f580(0x215)]&&_0x1d2e27[_0x57f580(0x215)](_0x44a256,_0x32f6be);}}}catch(_0x3e53ee){logger[_0x57f580(0x221)](_0x57f580(0x249)+util[_0x57f580(0x244)](_0x3e53ee));throw _0x3e53ee;}}async function handleTestEventCLI(_0x347d7f,_0x11919b,_0xf77ab1){const _0x28a685=a24_0x9d8b5d,_0x460764={};_0x460764[_0x28a685(0x24a)]=function(_0x59e4f7,_0x47f4bf){return _0x59e4f7===_0x47f4bf;},_0x460764[_0x28a685(0x1fe)]=_0x28a685(0x243),_0x460764[_0x28a685(0x23d)]=function(_0x3d2758,_0x501896){return _0x3d2758>_0x501896;},_0x460764[_0x28a685(0x23b)]=function(_0x2755d5,_0x41dbd9){return _0x2755d5&&_0x41dbd9;},_0x460764['pGxKl']=_0x28a685(0x258),_0x460764[_0x28a685(0x190)]='TestRunFinished',_0x460764['vCcBW']=_0x28a685(0x1b1);const _0x248357=_0x460764;logger[_0x28a685(0x1e5)]('Handling\x20test\x20event\x20for\x20CLI:\x20'+_0x11919b);try{let _0x2078f2;if(_0x248357[_0x28a685(0x24a)](_0x11919b,_0x248357[_0x28a685(0x1fe)])){_0x2078f2=jestUtils[_0x28a685(0x25e)](_0x347d7f),global[_0x28a685(0x20b)]=_0x2078f2,_0x347d7f[_0x28a685(0x202)]=_0x2078f2,_0x347d7f['id']=_0x2078f2,_0x347d7f['started_at']=new Date()[_0x28a685(0x22c)]();const _0x28bf1f=_0xf77ab1[_0x28a685(0x21b)];_0xf77ab1['current_test']=_0x347d7f,_0x347d7f[_0x28a685(0x1cf)]=null;if(_0x248357[_0x28a685(0x23d)](_0x347d7f[_0x28a685(0x197)],0x0)&&_0x28bf1f&&_0x248357[_0x28a685(0x24a)](_0x28bf1f['title'],_0x347d7f[_0x28a685(0x267)])){_0x347d7f[_0x28a685(0x1cf)]=_0x28bf1f[_0x28a685(0x202)];const _0x409572=await jestUtils[_0x28a685(0x19d)](_0x347d7f,_0x2078f2,_0x248357[_0x28a685(0x1fe)]),_0x5421da=BrowserstackCLI[_0x28a685(0x1dd)]()[_0x28a685(0x1b3)]();if(_0x248357[_0x28a685(0x23b)](_0x409572,_0x5421da)){const _0x439cec={};_0x439cec[_0x28a685(0x1b1)]=_0x409572,await _0x5421da[_0x28a685(0x257)](TestFrameworkState['TEST'],HookState[_0x28a685(0x24e)],_0x439cec);}_0x28bf1f[_0x28a685(0x20a)]=_0x248357[_0x28a685(0x1bd)];const _0x4d4065=await jestUtils[_0x28a685(0x19d)](_0x28bf1f,_0x28bf1f[_0x28a685(0x202)],_0x248357[_0x28a685(0x190)]);if(_0x248357[_0x28a685(0x23b)](_0x4d4065,_0x5421da)){const _0x4f6206={};_0x4f6206[_0x28a685(0x1b1)]=_0x4d4065,await _0x5421da['trackEvent'](TestFrameworkState[_0x28a685(0x1a1)],HookState[_0x28a685(0x228)],_0x4f6206);}}else{const _0x3c9460=await jestUtils['createTestFrameworkData'](_0x347d7f,_0x2078f2,_0x248357[_0x28a685(0x1fe)]),_0x444d35=BrowserstackCLI['getInstance']()[_0x28a685(0x1b3)]();if(_0x248357['ZnkuF'](_0x3c9460,_0x444d35)){const _0x3462b2={};_0x3462b2[_0x28a685(0x1b1)]=_0x3c9460,await _0x444d35[_0x28a685(0x257)](TestFrameworkState[_0x28a685(0x1a1)],HookState[_0x28a685(0x24e)],_0x3462b2);}}}else{_0x2078f2=_0x347d7f[_0x28a685(0x202)]||_0x347d7f['id']||global['__jestCurrentTestIdentifier'];const _0x510e78=await jestUtils['createTestFrameworkData'](_0x347d7f,_0x2078f2,_0x11919b),_0x52a855=BrowserstackCLI[_0x28a685(0x1dd)]()[_0x28a685(0x1b3)]();if(_0x248357[_0x28a685(0x23b)](_0x510e78,_0x52a855)){const _0x5a62de={};_0x5a62de[_0x28a685(0x1b1)]=_0x510e78,_0x5a62de[_0x28a685(0x20f)]=_0x347d7f,_0x5a62de[_0x28a685(0x280)]=_0x2078f2,await _0x52a855[_0x28a685(0x257)](TestFrameworkState['TEST'],HookState[_0x28a685(0x228)],_0x5a62de);const _0x3c51d4={};_0x3c51d4[_0x28a685(0x219)]=_0x2078f2,_0x3c51d4[_0x28a685(0x289)]=_0x248357['vCcBW'],await _0x52a855[_0x28a685(0x257)](TestFrameworkState[_0x28a685(0x1c2)],HookState[_0x28a685(0x228)],_0x3c51d4);}}}catch(_0x420c5c){logger[_0x28a685(0x221)]('Error\x20handling\x20test\x20event\x20for\x20CLI:\x20'+util['format'](_0x420c5c));throw _0x420c5c;}}exportsI[a24_0x9d8b5d(0x263)]=(..._0x45b39d)=>{const _0x38a94b=a24_0x9d8b5d,_0x460b5b={'KuRUh':function(_0x4124d3,_0x139cae){return _0x4124d3(_0x139cae);},'qDZre':_0x38a94b(0x1ed),'xOcBf':function(_0x1b970e,_0x1a29f1){return _0x1b970e(_0x1a29f1);},'KzmFr':function(_0x167627,_0x506415){return _0x167627&&_0x506415;},'StbbM':_0x38a94b(0x1eb),'XhujT':function(_0x3ac113,_0x2bbd7a){return _0x3ac113===_0x2bbd7a;},'WjSNa':_0x38a94b(0x27f),'ySVro':function(_0x52d05d){return _0x52d05d();},'thNmJ':function(_0x33798a,_0x25389f,_0x2f7840,_0x553e4c){return _0x33798a(_0x25389f,_0x2f7840,_0x553e4c);},'mLDBZ':'HookRunStarted','SVMqt':function(_0xe9fb0a,_0x858a2b){return _0xe9fb0a(_0x858a2b);},'ijpYB':function(_0x466c50,_0x4c52cc){return _0x466c50(_0x4c52cc);},'wWABl':_0x38a94b(0x274),'jkMQm':function(_0x287fbd){return _0x287fbd();},'NDSFN':function(_0x1bedc6,_0x11e054){return _0x1bedc6(_0x11e054);},'GDuuH':_0x38a94b(0x1e7),'SnDio':function(_0xc15a91,_0x5b934d){return _0xc15a91(_0x5b934d);},'GxVpU':function(_0x1dea4c,_0x51c1b3){return _0x1dea4c(_0x51c1b3);},'GSGiA':_0x38a94b(0x1c9),'eLsrR':_0x38a94b(0x1b7),'FsNyP':_0x38a94b(0x1d0),'QYVfH':_0x38a94b(0x224),'CPJiE':function(_0x55fbec,_0x4fa7a6){return _0x55fbec>_0x4fa7a6;},'sBIts':function(_0x2bc9f6,_0x87a494){return _0x2bc9f6(_0x87a494);},'MtPcf':function(_0x13593f,_0x563f8b){return _0x13593f(_0x563f8b);},'SbYuE':_0x38a94b(0x276),'wjIjb':function(_0x5d1f29,_0xe6cd89){return _0x5d1f29(_0xe6cd89);},'AqqLZ':function(_0x1b6d46,_0x474d06){return _0x1b6d46!==_0x474d06;},'bPlMT':'\x20>\x20','hMDHO':'TestRunStarted','YulkV':_0x38a94b(0x229),'lbRWv':function(_0x3c4ca0,_0x2c34f1){return _0x3c4ca0(_0x2c34f1);},'vkIHy':function(_0x19329a,_0xddb2cd){return _0x19329a>_0xddb2cd;},'TAOdZ':_0x38a94b(0x1d6),'AuczR':_0x38a94b(0x258),'KLmXE':_0x38a94b(0x1ab),'DBxlX':function(_0x1a21cd,_0x3e4e93){return _0x1a21cd||_0x3e4e93;},'DIyXE':_0x38a94b(0x1e8),'iXDMx':function(_0x117583,_0xf338f0){return _0x117583(_0xf338f0);},'OzSpm':'test_skip','LUBDd':function(_0x49ac5e,_0x4ad1d3){return _0x49ac5e(_0x4ad1d3);},'JERGs':'TestRunSkipped','pCwhh':_0x38a94b(0x1a3),'agajY':_0x38a94b(0x1a2),'TRZTb':function(_0x473b72,_0x343f50){return _0x473b72===_0x343f50;},'sFRaM':_0x38a94b(0x220),'xvDau':function(_0x350a4d,_0xfe32b2){return _0x350a4d===_0xfe32b2;},'LeNZo':_0x38a94b(0x1fc),'ztwaR':function(_0x49d9e8,_0xd664bd){return _0x49d9e8===_0xd664bd;},'mQgjN':function(_0x5a156c){return _0x5a156c();},'VhAFK':function(_0x4a77b3,_0x4ba16a,_0x2a8a7d){return _0x4a77b3(_0x4ba16a,_0x2a8a7d);},'Nnyzn':_0x38a94b(0x292),'uIfpH':_0x38a94b(0x297),'wWxMr':function(_0x1b9d1e,_0x5273ea){return _0x1b9d1e(_0x5273ea);},'JRcLs':_0x38a94b(0x1c4),'ZpKQh':function(_0x1accc1,_0x28b936){return _0x1accc1(_0x28b936);},'yqusH':'EventHandler','zbmCW':function(_0xf1714,_0x15a0fa){return _0xf1714(_0x15a0fa);}};try{logger[_0x38a94b(0x1e5)](_0x38a94b(0x268)+_0x460b5b['ySVro'](shouldProcessEventForTesthub)+_0x38a94b(0x1df)+process[_0x38a94b(0x24f)][_0x38a94b(0x275)]);const _0x3e7d9f=_0x45b39d&&_0x45b39d[0x0]?_0x45b39d[0x0]:{};_0x3e7d9f&&_0x460b5b[_0x38a94b(0x1b4)](typeof _0x3e7d9f[_0x38a94b(0x279)],_0x460b5b['sFRaM'])&&_0x3e7d9f[_0x38a94b(0x279)]&&(_currentTestPath=_0x3e7d9f[_0x38a94b(0x279)]);let _0xd66580=0x0;try{if(_0x3e7d9f[_0x38a94b(0x251)]&&_0x460b5b[_0x38a94b(0x26f)](typeof _0x3e7d9f['config'][_0x38a94b(0x24d)],_0x460b5b[_0x38a94b(0x218)]))_0xd66580=_0x3e7d9f['config'][_0x38a94b(0x24d)];else{if(_0x3e7d9f['configuration']&&_0x460b5b[_0x38a94b(0x236)](typeof _0x3e7d9f[_0x38a94b(0x200)][_0x38a94b(0x24d)],_0x460b5b[_0x38a94b(0x218)]))_0xd66580=_0x3e7d9f['configuration'][_0x38a94b(0x24d)];else global['jestConfig']&&_0x460b5b[_0x38a94b(0x1b4)](typeof global['jestConfig'][_0x38a94b(0x24d)],_0x460b5b[_0x38a94b(0x218)])&&(_0xd66580=global['jestConfig'][_0x38a94b(0x24d)]);}}catch(_0x5d2471){logger[_0x38a94b(0x1e5)]('Error\x20reading\x20platformIndex\x20from\x20args:\x20'+util['format'](_0x5d2471));}global[_0x38a94b(0x1e9)]=_0xd66580,process['env'][_0x38a94b(0x1d5)]=_0x460b5b[_0x38a94b(0x1ec)](String,_0xd66580);const _0x2f18dc=new ObservabilityReporter();!_initializedPlatformIndices[_0x38a94b(0x22e)](_0xd66580)?(logger[_0x38a94b(0x1e5)](_0x38a94b(0x284)+_0xd66580),_initializedPlatformIndices[_0x38a94b(0x25a)](_0xd66580),_0x460b5b[_0x38a94b(0x210)](shouldProcessEventForTesthub)&&(_0x460b5b[_0x38a94b(0x246)](patchConsoleLogger),_0x2f18dc[_0x38a94b(0x1fd)]())):logger['debug'](_0x38a94b(0x28f)+_0xd66580+_0x38a94b(0x1f0));let _0x3326b1;try{_0x3326b1=_0x460b5b[_0x38a94b(0x1b5)](requireModule,_0x460b5b[_0x38a94b(0x1e3)],_0x460b5b[_0x38a94b(0x22a)]);}catch{_0x3326b1=_0x460b5b[_0x38a94b(0x191)](requireModule,_0x460b5b['uIfpH']);}let _0x388e6f;try{_0x388e6f=_0x460b5b[_0x38a94b(0x1b5)](requireModule,_0x460b5b[_0x38a94b(0x213)],_0x460b5b[_0x38a94b(0x22a)])['makeSingleTestResult'];}catch{_0x388e6f=_0x460b5b[_0x38a94b(0x24c)](requireModule,_0x460b5b[_0x38a94b(0x22a)])[_0x38a94b(0x19a)]||(()=>({}));}const _0x204124=BrowserstackCLI[_0x38a94b(0x1dd)]()[_0x38a94b(0x1c0)]();(_0x460b5b['ySVro'](shouldProcessEventForTesthub)||_0x204124)&&_0x3326b1[_0x38a94b(0x1e0)](_0x460b5b[_0x38a94b(0x1b5)](o11yErrorHandler,async(_0x5b9875,_0x345ff5)=>{const _0x1391f8=_0x38a94b;_0x460b5b['KzmFr'](_currentTestPath,_0x5b9875)&&_0x5b9875[_0x1391f8(0x1b1)]&&!_0x5b9875[_0x1391f8(0x1b1)][_0x1391f8(0x1e2)]&&(_0x5b9875[_0x1391f8(0x1b1)][_0x1391f8(0x1e2)]=_currentTestPath);switch(_0x5b9875[_0x1391f8(0x19c)]){case _0x460b5b[_0x1391f8(0x242)]:if(_0x5b9875[_0x1391f8(0x22f)]['fn']&&_0x5b9875[_0x1391f8(0x22f)]['fn'][_0x1391f8(0x203)]()[_0x1391f8(0x290)](/browserstack internal helper hook/))break;if(_0x5b9875[_0x1391f8(0x22f)]['parent']&&_0x460b5b[_0x1391f8(0x264)](_0x5b9875[_0x1391f8(0x22f)][_0x1391f8(0x1be)][_0x1391f8(0x19c)],_0x460b5b['WjSNa'])){const _0x489ca2=_0x5b9875[_0x1391f8(0x22f)][_0x1391f8(0x245)]&&((()=>{const _0x49d0a2=_0x1391f8;try{const _0x54aeab=_0x460b5b[_0x49d0a2(0x281)](require,_0x460b5b[_0x49d0a2(0x212)]),_0x5491a2=_0x54aeab['parse'][_0x49d0a2(0x250)](_0x54aeab,_0x5b9875[_0x49d0a2(0x22f)][_0x49d0a2(0x245)]);return _0x5491a2[0x0]&&_0x5491a2[0x0][_0x49d0a2(0x296)]?_0x5491a2[0x0][_0x49d0a2(0x296)]():null;}catch(_0x4f1010){return logger[_0x49d0a2(0x1e5)](_0x49d0a2(0x287)+_0x4f1010[_0x49d0a2(0x272)]),null;}})())||_0x5b9875['hook'][_0x1391f8(0x1e2)]||null;if(!_0x489ca2)break;}if(BrowserstackCLI[_0x1391f8(0x1dd)]()[_0x1391f8(0x1c0)]()&&await _0x460b5b[_0x1391f8(0x210)](isCLIReady)){if(_0x460b5b[_0x1391f8(0x281)](shouldProcessEventForTesthub,testHubConstants[_0x1391f8(0x1c3)][_0x1391f8(0x1d9)]))try{await _0x460b5b[_0x1391f8(0x1ee)](handleHookEventCLI,_0x5b9875[_0x1391f8(0x22f)],_0x460b5b[_0x1391f8(0x28d)],_0x345ff5);break;}catch(_0x33df51){_0x460b5b[_0x1391f8(0x28a)](debug,_0x1391f8(0x294)+util[_0x1391f8(0x244)](_0x33df51));}}if(_0x460b5b['ijpYB'](shouldProcessEventForTesthub,testHubConstants[_0x1391f8(0x1c3)][_0x1391f8(0x1d9)])){if(!_0x5b9875['hook']['hookAnalyticsId']){const _0xdd7bb4=TestDetails[_0x1391f8(0x226)](process[_0x1391f8(0x285)]+_0x1391f8(0x288));_0x5b9875[_0x1391f8(0x22f)][_0x1391f8(0x211)]=_0xdd7bb4;}else _0x5b9875['hook'][_0x1391f8(0x26a)]&&(_0x5b9875[_0x1391f8(0x22f)][_0x1391f8(0x211)]=TestDetails[_0x1391f8(0x226)](process[_0x1391f8(0x285)]+':hookAnalyticsId'),delete _0x5b9875[_0x1391f8(0x22f)][_0x1391f8(0x26a)]);_0x5b9875['hook']['started_at']=new Date()[_0x1391f8(0x22c)](),await _0x2f18dc[_0x1391f8(0x1b0)](_0x5b9875['hook'],undefined,![],_0x460b5b['mLDBZ']);}break;case _0x460b5b[_0x1391f8(0x252)]:if(BrowserstackCLI[_0x1391f8(0x1dd)]()[_0x1391f8(0x1c0)]()&&await _0x460b5b[_0x1391f8(0x233)](isCLIReady)){if(_0x460b5b[_0x1391f8(0x28e)](shouldProcessEventForTesthub,testHubConstants[_0x1391f8(0x1c3)][_0x1391f8(0x286)]))try{await _0x460b5b[_0x1391f8(0x1ee)](handleHookEventCLI,_0x5b9875['hook'],_0x460b5b[_0x1391f8(0x1f4)],_0x345ff5);break;}catch(_0x42dca0){_0x460b5b[_0x1391f8(0x1f9)](debug,_0x1391f8(0x294)+util[_0x1391f8(0x244)](_0x42dca0));}}_0x460b5b[_0x1391f8(0x1c7)](shouldProcessEventForTesthub,testHubConstants[_0x1391f8(0x1c3)][_0x1391f8(0x286)])&&(await _0x2f18dc[_0x1391f8(0x1b0)](_0x5b9875[_0x1391f8(0x22f)],undefined,![],_0x460b5b[_0x1391f8(0x1f4)]),TestDetails[_0x1391f8(0x196)](process['pid']+_0x1391f8(0x288)));break;case _0x460b5b[_0x1391f8(0x223)]:[_0x460b5b[_0x1391f8(0x25b)],_0x460b5b['FsNyP'],_0x460b5b['QYVfH']][_0x1391f8(0x234)](_0x5b9875[_0x1391f8(0x22f)][_0x1391f8(0x289)])&&(_0x2f18dc['hook_failure']=_0x5b9875[_0x1391f8(0x22f)][_0x1391f8(0x289)]),_0x345ff5[_0x1391f8(0x1bc)]&&_0x460b5b[_0x1391f8(0x24b)](_0x345ff5['unhandledErrors'][_0x1391f8(0x1ba)],0x0)&&(_0x5b9875[_0x1391f8(0x22f)][_0x1391f8(0x26b)]=[_0x345ff5['unhandledErrors'][0x0][0x0]]);if(BrowserstackCLI[_0x1391f8(0x1dd)]()[_0x1391f8(0x1c0)]()&&await _0x460b5b[_0x1391f8(0x210)](isCLIReady)){if(_0x460b5b[_0x1391f8(0x1de)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x1391f8(0x286)]))try{await _0x460b5b[_0x1391f8(0x1ee)](handleHookEventCLI,_0x5b9875[_0x1391f8(0x22f)],_0x460b5b[_0x1391f8(0x1f4)],_0x345ff5);break;}catch(_0x183a6d){_0x460b5b[_0x1391f8(0x28a)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x1391f8(0x244)](_0x183a6d));}}_0x460b5b[_0x1391f8(0x1af)](shouldProcessEventForTesthub,testHubConstants[_0x1391f8(0x1c3)][_0x1391f8(0x286)])&&(await _0x2f18dc['sendTestRunEvent'](_0x5b9875[_0x1391f8(0x22f)],undefined,![],_0x460b5b[_0x1391f8(0x1f4)]),TestDetails['removeTestUUID'](process[_0x1391f8(0x285)]+':hookAnalyticsId'));break;case _0x460b5b[_0x1391f8(0x262)]:if(_0x460b5b[_0x1391f8(0x28a)](isTrue,process[_0x1391f8(0x24f)][_0x1391f8(0x198)])&&_0x460b5b[_0x1391f8(0x1db)](isPhantomSkipFromNameFilter,_0x5b9875[_0x1391f8(0x1b1)])){const _0x84f178=_0x460b5b['SVMqt'](getFullJestTestName,_0x5b9875[_0x1391f8(0x1b1)]);logger['debug'](_0x1391f8(0x28c)+_0x84f178+'\x22');break;}try{let _0x3f9b44=_0x5b9875[_0x1391f8(0x1b1)][_0x1391f8(0x19c)]||'';try{let _0x4dcccf=_0x5b9875[_0x1391f8(0x1b1)]['parent'];const _0x4e4cb2=[_0x3f9b44];while(_0x4dcccf&&_0x4dcccf['name']&&_0x460b5b[_0x1391f8(0x283)](_0x4dcccf[_0x1391f8(0x19c)],_0x460b5b['WjSNa'])){_0x4e4cb2[_0x1391f8(0x27e)](_0x4dcccf[_0x1391f8(0x19c)]),_0x4dcccf=_0x4dcccf['parent'];}_0x3f9b44=_0x4e4cb2[_0x1391f8(0x241)](_0x460b5b[_0x1391f8(0x295)]);}catch(_0x4a4bcc){logger[_0x1391f8(0x1e5)](_0x1391f8(0x28b)+_0x4a4bcc[_0x1391f8(0x272)]);}process[_0x1391f8(0x254)]=_0x3f9b44,process[_0x1391f8(0x1ff)]=null,process['_bstackTestFailureReason']=null,logger['debug'](_0x1391f8(0x21f)+_0x3f9b44+'\x22');if(!global[_0x1391f8(0x227)]){const _0x22c4c6={};_0x22c4c6[_0x1391f8(0x278)]={},global[_0x1391f8(0x227)]=_0x22c4c6;}!global[_0x1391f8(0x227)]['currentTest']&&(global[_0x1391f8(0x227)][_0x1391f8(0x278)]={});const _0x419141={};_0x419141['title']=_0x3f9b44,_0x419141[_0x1391f8(0x19c)]=_0x3f9b44,global[_0x1391f8(0x227)]['currentTest'][_0x1391f8(0x205)]=_0x419141,global['browserstackTestName']=_0x3f9b44;}catch(_0x1b0527){logger['debug'](_0x1391f8(0x25c)+_0x1b0527[_0x1391f8(0x272)]);}if(BrowserstackCLI['getInstance']()[_0x1391f8(0x1c0)]()&&await _0x460b5b[_0x1391f8(0x233)](isCLIReady))try{await _0x460b5b[_0x1391f8(0x1ee)](handleTestEventCLI,_0x5b9875[_0x1391f8(0x1b1)],_0x460b5b['hMDHO'],_0x2f18dc);break;}catch(_0x2bb031){_0x460b5b[_0x1391f8(0x281)](debug,_0x1391f8(0x294)+util['format'](_0x2bb031));}_0x460b5b[_0x1391f8(0x210)](shouldProcessEventForTesthub)&&await _0x2f18dc['testStarted'](_0x5b9875[_0x1391f8(0x1b1)]);break;case _0x460b5b[_0x1391f8(0x1f7)]:{const _0x276b6a=_0x5b9875['test'];if(_0x460b5b[_0x1391f8(0x1af)](isTrue,process[_0x1391f8(0x24f)][_0x1391f8(0x198)])&&_0x460b5b['lbRWv'](isPhantomSkipFromNameFilter,_0x276b6a)){const _0xf95352=_0x460b5b[_0x1391f8(0x1af)](getFullJestTestName,_0x276b6a);logger[_0x1391f8(0x1e5)](_0x1391f8(0x237)+_0xf95352+'\x22'),_0x276b6a['markedStatus']=!![];break;}_0x5b9875[_0x1391f8(0x1b1)]={..._0x460b5b[_0x1391f8(0x28a)](_0x388e6f,_0x5b9875[_0x1391f8(0x1b1)]),..._0x5b9875[_0x1391f8(0x1b1)]};try{const _0x1856f2=_0x5b9875[_0x1391f8(0x1b1)][_0x1391f8(0x1f8)]||[],_0x40bde7=_0x460b5b['vkIHy'](_0x1856f2[_0x1391f8(0x1ba)],0x0)||_0x460b5b[_0x1391f8(0x264)](_0x5b9875[_0x1391f8(0x1b1)]['status'],_0x460b5b[_0x1391f8(0x21e)]),_0xee258e=_0x40bde7?_0x460b5b['AuczR']:_0x460b5b[_0x1391f8(0x282)];let _0x2a7e33='';_0x40bde7&&(_0x2a7e33=_0x1856f2[_0x1391f8(0x247)](_0x49b4a3=>{const _0x2248ae=_0x1391f8;if(Array['isArray'](_0x49b4a3))return _0x49b4a3[_0x2248ae(0x247)](_0x27f0c5=>_0x27f0c5&&_0x27f0c5['message']||String(_0x27f0c5))[_0x2248ae(0x241)](';\x20');return _0x49b4a3&&_0x49b4a3[_0x2248ae(0x272)]||_0x460b5b['xOcBf'](String,_0x49b4a3);})[_0x1391f8(0x241)](';\x20')),process[_0x1391f8(0x1ff)]=_0xee258e,process[_0x1391f8(0x238)]=_0x460b5b[_0x1391f8(0x194)](_0x2a7e33,''),logger[_0x1391f8(0x1e5)](_0x1391f8(0x1a5)+_0xee258e+'\x22'),global['__workerDetails']&&global[_0x1391f8(0x227)][_0x1391f8(0x278)]&&(!global['__workerDetails'][_0x1391f8(0x278)][_0x1391f8(0x205)]&&(global[_0x1391f8(0x227)][_0x1391f8(0x278)][_0x1391f8(0x205)]={}),global[_0x1391f8(0x227)]['currentTest'][_0x1391f8(0x205)]['status']=_0xee258e,_0x40bde7&&(global[_0x1391f8(0x227)][_0x1391f8(0x278)][_0x1391f8(0x205)][_0x1391f8(0x25f)]=_0x2a7e33));}catch(_0x4e75b5){logger['debug']('[customJestAdapterInit]\x20Error\x20in\x20test_done\x20status\x20storage:\x20'+_0x4e75b5[_0x1391f8(0x272)]);}if(!_0x5b9875[_0x1391f8(0x1b1)][_0x1391f8(0x26a)]){_0x5b9875['test'][_0x1391f8(0x26a)]=!![];if(BrowserstackCLI[_0x1391f8(0x1dd)]()[_0x1391f8(0x1c0)]()&&await _0x460b5b[_0x1391f8(0x210)](isCLIReady))try{await _0x460b5b[_0x1391f8(0x1ee)](handleTestEventCLI,_0x5b9875['test'],_0x460b5b[_0x1391f8(0x232)],_0x2f18dc);break;}catch(_0x52a16f){_0x460b5b[_0x1391f8(0x1fa)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x1391f8(0x244)](_0x52a16f));}_0x460b5b['jkMQm'](shouldProcessEventForTesthub)&&await _0x2f18dc[_0x1391f8(0x1b0)](_0x5b9875[_0x1391f8(0x1b1)]);}break;}case _0x460b5b[_0x1391f8(0x1c6)]:{const _0x4de289=_0x5b9875[_0x1391f8(0x1b1)];if(_0x460b5b[_0x1391f8(0x281)](isTrue,process[_0x1391f8(0x24f)][_0x1391f8(0x198)])&&_0x460b5b[_0x1391f8(0x1c7)](isPhantomSkipFromNameFilter,_0x4de289)){const _0x487f56=_0x460b5b['LUBDd'](getFullJestTestName,_0x4de289);logger['debug'](_0x1391f8(0x1bf)+_0x487f56+'\x22'),_0x4de289['markedStatus']=!![];break;}_0x5b9875[_0x1391f8(0x1b1)]={..._0x460b5b['GxVpU'](_0x388e6f,_0x5b9875[_0x1391f8(0x1b1)]),..._0x5b9875['test']};if(!_0x5b9875[_0x1391f8(0x1b1)][_0x1391f8(0x26a)]){_0x5b9875[_0x1391f8(0x1b1)][_0x1391f8(0x26a)]=!![];if(BrowserstackCLI[_0x1391f8(0x1dd)]()[_0x1391f8(0x1c0)]()&&await _0x460b5b[_0x1391f8(0x233)](isCLIReady))try{await _0x460b5b[_0x1391f8(0x1ee)](handleTestEventCLI,_0x5b9875[_0x1391f8(0x1b1)],_0x460b5b[_0x1391f8(0x1da)],_0x2f18dc);break;}catch(_0x30fc47){_0x460b5b[_0x1391f8(0x1de)](debug,_0x1391f8(0x294)+util[_0x1391f8(0x244)](_0x30fc47));}_0x460b5b[_0x1391f8(0x210)](shouldProcessEventForTesthub)&&await _0x2f18dc[_0x1391f8(0x1b0)](_0x5b9875['test'],undefined,![],_0x460b5b['JERGs']);}break;}case _0x460b5b[_0x1391f8(0x21d)]:_0x2f18dc[_0x1391f8(0x1c9)]=null;break;case _0x460b5b[_0x1391f8(0x1a6)]:await RequestQueueHandler[_0x1391f8(0x1dd)]()[_0x1391f8(0x201)](),process[_0x1391f8(0x1e4)]();break;default:}},_0x460b5b[_0x38a94b(0x1b8)]));}catch(_0x348343){_0x460b5b[_0x38a94b(0x21a)](debug,_0x38a94b(0x23c)+_0x348343);}return _0x460b5b[_0x38a94b(0x1db)](initInitialize,..._0x45b39d);};try{Object[a24_0x9d8b5d(0x206)](exportsI)[a24_0x9d8b5d(0x1a9)](_0x3a1b33=>{const _0x99e712={'HAPLb':function(_0x54a988,_0x283964){return _0x54a988(_0x283964);}};try{exports&&(exports[_0x3a1b33]=exportsI[_0x3a1b33]);}catch(_0x5ec963){_0x99e712['HAPLb'](debug,'Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20'+_0x5ec963);}});}catch(a24_0x40b049){debug(a24_0x9d8b5d(0x1b6)+a24_0x40b049);}const a24_0x7ef2a2={};a24_0x7ef2a2[a24_0x9d8b5d(0x1ef)]=getFullJestTestName,a24_0x7ef2a2[a24_0x9d8b5d(0x1f1)]=getActiveTestNamePattern,a24_0x7ef2a2[a24_0x9d8b5d(0x1f6)]=isPhantomSkipFromNameFilter,exports[a24_0x9d8b5d(0x26d)]=a24_0x7ef2a2;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a25_0x1773d7=a25_0x203d;(function(_0x6a6b6e,_0x5633e1){const _0x1eafb2=a25_0x203d,_0x3617f3=_0x6a6b6e();while(!![]){try{const _0x356738=parseInt(_0x1eafb2(0x1c4))/0x1*(parseInt(_0x1eafb2(0x1ca))/0x2)+parseInt(_0x1eafb2(0x1d0))/0x3*(parseInt(_0x1eafb2(0x1c2))/0x4)+parseInt(_0x1eafb2(0x1cb))/0x5*(parseInt(_0x1eafb2(0x1cd))/0x6)+parseInt(_0x1eafb2(0x1bf))/0x7*(parseInt(_0x1eafb2(0x1c7))/0x8)+-parseInt(_0x1eafb2(0x1c1))/0x9*(-parseInt(_0x1eafb2(0x1cf))/0xa)+-parseInt(_0x1eafb2(0x1be))/0xb*(parseInt(_0x1eafb2(0x1ce))/0xc)+-parseInt(_0x1eafb2(0x1c6))/0xd*(parseInt(_0x1eafb2(0x1bd))/0xe);if(_0x356738===_0x5633e1)break;else _0x3617f3['push'](_0x3617f3['shift']());}catch(_0xbffc18){_0x3617f3['push'](_0x3617f3['shift']());}}}(a25_0x4329,0xbe956));const Sequencer=require(a25_0x1773d7(0x1c8))[a25_0x1773d7(0x1c5)];function a25_0x203d(_0x5a9c1f,_0x41218c){const _0x43293e=a25_0x4329();return a25_0x203d=function(_0x203d0e,_0x56af5b){_0x203d0e=_0x203d0e-0x1bc;let _0x3c0b87=_0x43293e[_0x203d0e];return _0x3c0b87;},a25_0x203d(_0x5a9c1f,_0x41218c);}class CustomSequencer extends Sequencer{[a25_0x1773d7(0x1c9)](_0x2a8800){const _0x5e53d5=a25_0x1773d7,_0x3bab1f=process['env'][_0x5e53d5(0x1d1)];if(!_0x3bab1f)return _0x2a8800;const _0x5e34fc=_0x3bab1f[_0x5e53d5(0x1c3)](','),_0x3eddc4=new Map(_0x2a8800['filter'](_0x4250fa=>_0x5e34fc[_0x5e53d5(0x1d3)](_0x4250fa[_0x5e53d5(0x1d2)]))[_0x5e53d5(0x1c0)](_0x7bd25d=>[_0x7bd25d[_0x5e53d5(0x1d2)],_0x7bd25d]));return _0x5e34fc[_0x5e53d5(0x1c0)](_0x1ea345=>_0x3eddc4[_0x5e53d5(0x1bc)](_0x1ea345))['filter'](Boolean);}}module[a25_0x1773d7(0x1cc)]=CustomSequencer;function a25_0x4329(){const _0x1dd31b=['13914hZOcWW','7142335TMYWFj','exports','6rDHIvI','12ixcEfz','1918670yyJQxP','36BLsjOh','JEST_TEST_ORDER','path','includes','get','25851910kGhzpi','13687113ekpkIB','313117FZudTN','map','45mBmHrf','81072XNodIX','split','69jApzzP','default','13wExZMM','136ipVeBJ','@jest/test-sequencer','sort'];a25_0x4329=function(){return _0x1dd31b;};return a25_0x4329();}
|