browserstack-node-sdk 1.63.6 → 1.64.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/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
package/src/bin/jest/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a18_0x11d270=a18_0x300e;(function(_0x493c61,_0x1efcee){const _0xaf761f=a18_0x300e,_0x27a906=_0x493c61();while(!![]){try{const _0xf8bd31=-parseInt(_0xaf761f(0xf0))/0x1*(-parseInt(_0xaf761f(0x105))/0x2)+-parseInt(_0xaf761f(0x14a))/0x3+-parseInt(_0xaf761f(0x164))/0x4*(parseInt(_0xaf761f(0x119))/0x5)+parseInt(_0xaf761f(0xf5))/0x6+-parseInt(_0xaf761f(0xdc))/0x7+-parseInt(_0xaf761f(0xfc))/0x8+parseInt(_0xaf761f(0xb9))/0x9*(parseInt(_0xaf761f(0xd3))/0xa);if(_0xf8bd31===_0x1efcee)break;else _0x27a906['push'](_0x27a906['shift']());}catch(_0x12b612){_0x27a906['push'](_0x27a906['shift']());}}}(a18_0x5809,0x3d89d));function a18_0x5809(){const _0x298166=['885185vVDPRS','__isPlaywrightInstalled','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','qkYpO','Iokqs','testEnvironmentOptions','rmdirSync','capabilities','assign','jest_browserstack_results.json','jest_browserstack.config.cjs','setupTCGAuth','hHiWU','puppeteer','UUIVC','proxySettings','cgKTr','zBxSv','message','isCliEnabled','2BHPBbq','caOFP','LSKSH','ETCnU','tElEk','148146nqRQzf','jest-circus','shouldProcessEventForTesthub',',\x20CLI\x20running:\x20','length','uoVqp','info','2580632mzSVVd','XSXXU','\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x0a\x20\x20\x20\x20\x20\x20(async\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20{createTestScheduler}\x20=\x20requireModule(\x27@jest/core\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20tempScheduler\x20=\x20await\x20createTestScheduler({reporters:\x20[]},\x20{});\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20tempScheduler._dispatcher.constructor;\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','log','findIndex','getInstance','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','workingDir','maxWorkers','87538rqutwF','recursive','getHubUrl','../../helpers/accessibility-automation/helper','path','jest-runner-','mvvws','../../helpers/performance/performance-tester','const\x20config=','isEmpty','DZEnb','@playwright/test','../../helpers/BrowserStackSetup','slice','cwd','jest_browserstack.config.js','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','--config','ZJicM','reporters','73985yOUYAg','BROWSERSTACK_CAPABILITIES','Getting\x20your\x20jest\x20configs\x20from\x20','WpTlB','/internal/$1','readFileSync','ehKuk','../../helpers/test-observability/constants','default','setup','USER_CONFIG_DETAILS_PATH','BROWSERSTACK_TEST_OBSERVABILITY_YML','jest-config','mjs','moduleNameMapper','__isPuppeteerInstalled','WNuZV','writeFileSync','unlinkSync','serial__','../../helpers/helper','json','Dydvn','rmSync','true','checkAccessibilityPlatformConfig','parallels__','failureThresholdCount','winstonLogger','MODULE','setupFilesAfterEnv','force','../../helpers/percy/utils','YwJZP','./test-observability/helper','abortBuildOnFailure','Deleting\x20','isUndefined','browserStackLogLevel','dfKea','startsWith','test-observability','customImplements','retries__','GCrwP',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20','RsPHF','../../helpers/test-orchestration/testOrchestrationHandler','existsSync','1004685NimHkn','testObservability','EVENTS','child\x20process\x20exited\x20with\x20code\x20','../../helpers/playwright-helper','xYCAE','Kzjft','runner','getErrorMessageFromResults','PACKAGE_TYPE','parse','./test-observability/test-details','turboScaleUrl','timeout__','resolve','ycJmg','FzaFz','SxfUM','jest','skipSessionStatus','readInitialOptions','Getting\x20your\x20jest\x20configs\x20from\x20package.json','customEnvironment.js','umrby','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','format','104jcjPRb','PtFNZ','jest-config/build/readConfigFileAndSetRootDir.js','customSequencer.js','PbZzL','config','BROWSERSTACK_TEST_ACCESSIBILITY_YML','isRunning','debug','requireSeleniumWebdriver','useW3C','OXwUh','getTCGConfigFilePaths','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','zqJMV','Preserving\x20user\x27s\x20Jest\x20runner:\x20','../../helpers/performance/constants','YblnF','reorderTestFiles','customTestRunnerTemplate.js','KpBkR','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','Error\x20while\x20parsing\x20','../../helpers/logger','maxRetries','GwHYp','close','env','printBuildLink','GVTRr','BSTACK_JEST_TEST_ENV','join','push','puppeteer-core/package.json','testEnvironment','KaSdu','^puppeteer-core/internal/(.*)','BROWSERSTACK_FRAMEWORK','FRAMEWORKS','Unable\x20to\x20find\x20jest-circus,\x20','FZHBS','npx','splice','customTestRunner.js','isNotUndefined','shutdown','fvBbX','zkSEC','BSTACK_USER_JEST_RUNNER',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','exports','accessibilityOptions','error','FAiyQ','prepareCapabilities','stop','cjs','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','CNFiD','jest.config.','failFast','inherit','jest-circus/build/runner.js','isTestOrchestrationEnabled','SoJPE','win32','isBrowserstackInfra','../../helpers/utilities','\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','setupFiles','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','../../helpers/testhub/testhubHandler','logLevel','util','../v2/browserstackCLI','customCircus.js','stringify','resolveModule','exitCode','dYagr','platform','81yBzXGJ','../../helpers/testhub/utils','parseTestOrchestrationOptions','SDK_SETUP','finalExecution','\x20with\x20browserstack\x20jest\x20configs','dirname','retryTestsOnFailure','\x20:\x20','JOXgW','filterBrowserstackArgs','Found:\x20','kHxpv','@jest/core','requirePWModule','JEST_TEST_ORDER','JEST','test_before.setup.js','../utils/clientTroubleshootingService','false','requireModule','parallelsPerPlatform','\x0a\x20\x20\x20\x20\x20\x20','dMGsw','getPackageType','eWLKN','1453870lcjRBO','gxhKd','testContextOptions','skipSessionName','accessibility','lefbZ','platforms','replace','hefhh'];a18_0x5809=function(){return _0x298166;};return a18_0x5809();}const fs=require('fs'),path=require(a18_0x11d270(0x109)),util=require(a18_0x11d270(0xb1)),{spawn}=require('child_process'),logger=require(a18_0x11d270(0x17b))[a18_0x11d270(0x135)],{default:BrowserStackSetup}=require(a18_0x11d270(0x111)),helper=require(a18_0x11d270(0x12d)),utilities=require(a18_0x11d270(0xab)),constants=require('../utils/constants'),accessibilityHelper=require(a18_0x11d270(0x108)),{updateTestRerunConfig}=require(a18_0x11d270(0x13b)),testOpsHelper=require('../../helpers/test-observability/utils'),{debug}=require('../../helpers/test-observability/utils'),TestDetails=require(a18_0x11d270(0x155)),{getPercyOptions}=require(a18_0x11d270(0x139)),TestHubHandler=require(a18_0x11d270(0xaf)),testhubUtils=require(a18_0x11d270(0xba)),{FRAMEWORKS}=require(a18_0x11d270(0x120)),PerformanceTester=require(a18_0x11d270(0x10c)),PerformanceEvents=require(a18_0x11d270(0x174))[a18_0x11d270(0x14c)],TestOrchestrationHandler=require(a18_0x11d270(0x148)),BrowserstackCLI=require(a18_0x11d270(0xb2)),{checkPwandBootstrapCli}=require(a18_0x11d270(0x14e)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require('../../helpers/puppeteer-helper'),ClientTroubleShootingService=require(a18_0x11d270(0xcb)),{checkAccessibilityPlatformConfig}=require(a18_0x11d270(0x108)),getUserJestConfigs=async(_0x1b2435,_0x10d004)=>{const _0x3fa21d=a18_0x11d270,_0x3f2b6c={'iQVuZ':_0x3fa21d(0x166),'dMGsw':_0x3fa21d(0x125),'YwJZP':function(_0x5615c8,_0x2e2ab9){return _0x5615c8||_0x2e2ab9;},'GwHYp':function(_0x5125ee,_0x33bff6){return _0x5125ee(_0x33bff6);},'UUIVC':'package.json','hefhh':_0x3fa21d(0x15f),'YblnF':_0x3fa21d(0x126),'Kzjft':_0x3fa21d(0xa0),'Dydvn':_0x3fa21d(0x12e)};let _0x1aa244;try{_0x1aa244=helper['requireModule'](_0x3f2b6c['iQVuZ'],_0x3f2b6c[_0x3fa21d(0xd0)]);}catch{const _0x2464c3=helper[_0x3fa21d(0xcd)](_0x3f2b6c[_0x3fa21d(0xd0)]);_0x1aa244={'default':async _0x3d3a66=>{const _0x26bbf6=_0x3fa21d,_0x57b41b=await _0x2464c3[_0x26bbf6(0x15e)](_0x3d3a66,{});return _0x57b41b['config'];}};}const _0x36cc75=_0x10d004[_0x3fa21d(0x100)](_0x2158ea=>_0x2158ea===_0x3fa21d(0x116));if(!helper[_0x3fa21d(0x13e)](_0x1b2435['config'])){logger['info'](_0x3fa21d(0x11b)+_0x1b2435['config']),process[_0x3fa21d(0x17f)][_0x3fa21d(0x123)]=_0x1b2435[_0x3fa21d(0x169)];const _0x4e52f4=await(0x0,_0x1aa244[_0x3fa21d(0x121)])(path[_0x3fa21d(0x158)](_0x1b2435['config']));return _0x10d004[_0x3fa21d(0x18e)](_0x36cc75,0x2),_0x3f2b6c[_0x3fa21d(0x13a)](_0x4e52f4,{});}const _0x5227ea=_0x3f2b6c[_0x3fa21d(0x17d)](require,path[_0x3fa21d(0x183)](process['cwd'](),_0x3f2b6c[_0x3fa21d(0xea)]));if(_0x5227ea['jest'])return logger[_0x3fa21d(0xfb)](_0x3f2b6c[_0x3fa21d(0xdb)]),_0x5227ea[_0x3fa21d(0x15c)];const _0x3744a3=['js',_0x3f2b6c[_0x3fa21d(0x175)],_0x3f2b6c[_0x3fa21d(0x150)],_0x3f2b6c[_0x3fa21d(0x12f)],'ts'];for(const _0xec7738 of _0x3744a3){const _0x42e5a1=path[_0x3fa21d(0x183)](process[_0x3fa21d(0x113)](),_0x3fa21d(0xa3)+_0xec7738);if(fs[_0x3fa21d(0x149)](_0x42e5a1)){process['env'][_0x3fa21d(0x123)]=_0x42e5a1;const _0x56d25b=await(0x0,_0x1aa244['default'])(_0x42e5a1);return _0x56d25b;}}return{};},getSerial=(_0x238b9e,_0x13e41c)=>{const _0x564974=a18_0x11d270,_0x38fcb5={};_0x38fcb5[_0x564974(0x129)]=_0x564974(0x131),_0x38fcb5[_0x564974(0x11c)]=function(_0x239c0b,_0x55f4d3){return _0x239c0b>_0x55f4d3;},_0x38fcb5[_0x564974(0xd4)]='false';const _0x4b1df2=_0x38fcb5;let _0x4ffc85=_0x4b1df2[_0x564974(0x129)];return _0x4b1df2[_0x564974(0x11c)](_0x238b9e[_0x564974(0xf9)],0x1)&&(!_0x13e41c['runInBand']&&(helper[_0x564974(0x13e)](_0x13e41c[_0x564974(0x104)])||_0x4b1df2['WpTlB'](_0x13e41c[_0x564974(0x104)],0x1)))&&(_0x4ffc85=_0x4b1df2['gxhKd']),_0x4ffc85;},getMaxWorkers=(_0x124707,_0x252493,_0x56de96)=>{const _0x3c510b=a18_0x11d270,_0x5413cc={'zqJMV':function(_0x2aa85d,_0x76d9c3){return _0x2aa85d(_0x76d9c3);}};let _0x76504f=0x1;if(!helper[_0x3c510b(0x13e)](_0x252493[_0x3c510b(0xce)]))_0x76504f=_0x5413cc[_0x3c510b(0x172)](parseInt,_0x252493[_0x3c510b(0xce)]);else{if(!helper[_0x3c510b(0x13e)](_0x124707[_0x3c510b(0x104)]))_0x76504f=_0x124707[_0x3c510b(0x104)];else!helper[_0x3c510b(0x13e)](_0x56de96[_0x3c510b(0x104)])&&(_0x76504f=_0x56de96[_0x3c510b(0x104)]);}return _0x76504f;};async function run(_0x47a4d4,_0x1b8856,_0x1678b4){const _0x456b15=a18_0x11d270,_0x3fb4b4={'FAiyQ':'error\x20removing\x20tcg\x20config\x20file','XSXXU':'jest','ZJicM':function(_0x4ffbef,_0x29bc5f){return _0x4ffbef(_0x29bc5f);},'rusTD':_0x456b15(0x110),'tElEk':function(_0x515d57){return _0x515d57();},'umrby':function(_0x4c910c,_0x457cd0,_0x4816a6,_0x1c6a28){return _0x4c910c(_0x457cd0,_0x4816a6,_0x1c6a28);},'FZHBS':function(_0x1b2dcb,_0x3390bb){return _0x1b2dcb!=_0x3390bb;},'fvBbX':_0x456b15(0x131),'ehKuk':function(_0x32a9a4,_0x38c1bc,_0x3f1c8e){return _0x32a9a4(_0x38c1bc,_0x3f1c8e);},'cgKTr':'Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','PtFNZ':function(_0x18d3ed,_0x58f375){return _0x18d3ed(_0x58f375);},'hHiWU':function(_0x250af3,_0x210609){return _0x250af3(_0x210609);},'RsPHF':_0x456b15(0xcc),'rxqyk':function(_0x30e6bc,_0x4728ee,_0x2927e0){return _0x30e6bc(_0x4728ee,_0x2927e0);},'eWLKN':function(_0x2cbdb5,_0x16475c){return _0x2cbdb5*_0x16475c;},'GCrwP':function(_0x58df61,_0x599518){return _0x58df61===_0x599518;},'dYagr':_0x456b15(0xe6),'hiOds':_0x456b15(0x114),'OXwUh':_0x456b15(0x143),'zBxSv':_0x456b15(0xe5),'LjHrH':_0x456b15(0x18f),'fQpxo':_0x456b15(0x177),'aKmsN':_0x456b15(0x160),'tChAq':function(_0x4a2b79,_0x57b838){return _0x4a2b79!==_0x57b838;},'FzaFz':'jest-runner','SxfUM':_0x456b15(0x10a),'LSKSH':'jest.setup.js','ycJmg':_0x456b15(0x167),'ddNyk':_0x456b15(0x162),'uoVqp':_0x456b15(0xf6),'lefbZ':_0x456b15(0xa6),'Iokqs':_0x456b15(0x142),'SoJPE':'data-hooks.js','mvvws':_0x456b15(0xb3),'PaTKF':_0x456b15(0xca),'ZEVWl':_0x456b15(0x179),'caOFP':'playwright','KaSdu':_0x456b15(0x171),'kHxpv':'test.setup.js','WnMqQ':_0x456b15(0xae),'GVTRr':function(_0x425dea,_0x2d69f9){return _0x425dea&&_0x2d69f9;},'KpBkR':'Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','DZEnb':_0x456b15(0xe9),'tsNOh':_0x456b15(0x185),'xYCAE':_0x456b15(0x121),'qkYpO':'@jest/core/build/ReporterDispatcher.js','uwIir':_0x456b15(0xc6),'CNFiD':'Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','bRqMQ':function(_0x373c79,_0x17507a){return _0x373c79>_0x17507a;},'dfKea':'Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','inETE':_0x456b15(0x116),'PbZzL':_0x456b15(0x18d),'JOXgW':_0x456b15(0xa9),'zkSEC':_0x456b15(0xa5),'ETCnU':_0x456b15(0x17e)},_0x360000=helper['getPackageVersion'](_0x3fb4b4['rusTD']);global[_0x456b15(0xdd)]=!!_0x360000;const _0x2a2519=_0x3fb4b4[_0x456b15(0xf4)](getPuppeteerVersion);global[_0x456b15(0x128)]=!!_0x2a2519;helper[_0x456b15(0xaa)]()?(await _0x1678b4['initialize'](_0x47a4d4),await helper['handleApp'](_0x1678b4['config'])):await _0x1678b4[_0x456b15(0xe7)]();if(_0x360000)await _0x3fb4b4[_0x456b15(0x161)](checkPwandBootstrapCli,_0x360000,constants['FRAMEWORKS'][_0x456b15(0xc9)],_0x1678b4);else _0x2a2519&&await _0x3fb4b4[_0x456b15(0x161)](checkPuppeteerAndBootstrapCli,_0x2a2519,constants[_0x456b15(0x18a)][_0x456b15(0xc9)],_0x1678b4);!BrowserstackCLI[_0x456b15(0x101)]()[_0x456b15(0x16b)]()&&await _0x1678b4['setupBrowserstackLocal']();if(!_0x1678b4[_0x456b15(0x169)])return;_0x3fb4b4[_0x456b15(0x18c)](_0x1678b4[_0x456b15(0x169)][_0x456b15(0x14b)],null)?process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x1678b4[_0x456b15(0x169)][_0x456b15(0x14b)]:process[_0x456b15(0x17f)][_0x456b15(0x124)]=_0x3fb4b4[_0x456b15(0x192)];const _0x171578=new TestOrchestrationHandler(_0x1678b4[_0x456b15(0x169)]),_0x43ba79=await _0x3fb4b4[_0x456b15(0x11f)](getUserJestConfigs,_0x47a4d4,_0x1b8856);logger[_0x456b15(0xfb)](_0x3fb4b4[_0x456b15(0xec)]);const _0x34e6ed=Object['assign']({},_0x43ba79);_0x34e6ed[_0x456b15(0xe1)]=Object[_0x456b15(0xe4)]({},_0x34e6ed[_0x456b15(0xe1)],{'server':helper[_0x456b15(0x107)](_0x1678b4[_0x456b15(0x169)]),'environment':_0x43ba79[_0x456b15(0x186)]}),_0x34e6ed[_0x456b15(0xe1)]['browserStackPercyOptions']=_0x3fb4b4['PtFNZ'](getPercyOptions,_0x1678b4[_0x456b15(0x169)]);const _0x9e1b5e=helper[_0x456b15(0x16e)](_0x1678b4[_0x456b15(0x169)]);!helper[_0x456b15(0x13e)](_0x1678b4[_0x456b15(0x169)][_0x456b15(0x9b)])&&(process['env'][_0x456b15(0x115)]=JSON[_0x456b15(0xb4)](_0x1678b4[_0x456b15(0x169)]['accessibilityOptions']));if(!BrowserstackCLI[_0x456b15(0x101)]()[_0x456b15(0x16b)]()){const _0x50dd5d=await TestHubHandler['launchBuild'](FRAMEWORKS[_0x456b15(0xc9)],_0x1678b4);}const _0x461f57=helper[_0x456b15(0x9e)](_0x1678b4['config'],_0x9e1b5e,constants[_0x456b15(0x18a)][_0x456b15(0xc9)]);process[_0x456b15(0x17f)][_0x456b15(0x11a)]=JSON[_0x456b15(0xb4)](_0x461f57);let _0x5a0f7c=_0x1678b4['config'][_0x456b15(0xd7)];_0x5a0f7c=_0x5a0f7c||accessibilityHelper[_0x456b15(0x132)](_0x1678b4['config']),process['env'][_0x456b15(0x16a)]=_0x5a0f7c,logger[_0x456b15(0x16c)](_0x456b15(0xa1)+_0x5a0f7c+_0x456b15(0xf8)+BrowserstackCLI['getInstance']()['isRunning']());if(_0x360000)try{const _0x1b8986=_0x3fb4b4[_0x456b15(0xe8)](checkAccessibilityPlatformConfig,_0x1678b4['config']);process['env'][_0x456b15(0x102)]=_0x1b8986?_0x3fb4b4[_0x456b15(0x192)]:_0x3fb4b4[_0x456b15(0x147)],logger[_0x456b15(0x16c)]('[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20'+_0x1b8986+_0x456b15(0x195)+process[_0x456b15(0x17f)][_0x456b15(0x102)]);}catch(_0x1a6161){logger[_0x456b15(0x16c)](_0x456b15(0xde)+util[_0x456b15(0x163)](_0x1a6161));}_0x34e6ed[_0x456b15(0xe1)][_0x456b15(0xe3)]=_0x461f57,_0x34e6ed[_0x456b15(0xe1)][_0x456b15(0x12c)]=_0x3fb4b4['rxqyk'](getSerial,_0x461f57,_0x47a4d4),_0x34e6ed[_0x456b15(0xe1)][_0x456b15(0x133)]=_0x3fb4b4['umrby'](getMaxWorkers,_0x47a4d4,_0x1678b4['config'],_0x43ba79),_0x34e6ed['testEnvironmentOptions'][_0x456b15(0xeb)]=_0x1678b4[_0x456b15(0x169)]['proxySettings'],_0x34e6ed[_0x456b15(0xe1)][_0x456b15(0x157)]=_0x3fb4b4[_0x456b15(0xd2)](_0x47a4d4['testTimeout'],0x1)||0x1388,_0x34e6ed['testEnvironmentOptions'][_0x456b15(0xd6)]=_0x1678b4[_0x456b15(0x169)]['testContextOptions']['skipSessionName'],_0x34e6ed[_0x456b15(0xe1)]['skipSessionStatus']=_0x1678b4[_0x456b15(0x169)][_0x456b15(0xd5)][_0x456b15(0x15d)],_0x34e6ed[_0x456b15(0xe1)][_0x456b15(0x13f)]=_0x1678b4[_0x456b15(0x169)][_0x456b15(0xb0)],_0x34e6ed['testEnvironmentOptions'][_0x456b15(0x156)]=_0x1678b4[_0x456b15(0x169)][_0x456b15(0x156)],_0x34e6ed['testEnvironmentOptions']['platformCaps']=_0x1678b4[_0x456b15(0x169)][_0x456b15(0xd9)];const _0x7a6771=helper[_0x456b15(0xbb)](_0x1678b4['config']);if(!helper[_0x456b15(0x10e)](_0x7a6771)){helper[_0x456b15(0x190)](_0x7a6771[_0x456b15(0xc0)])&&(_0x34e6ed['testEnvironmentOptions'][_0x456b15(0x144)]=_0x7a6771['retryTestsOnFailure'][_0x456b15(0x17c)]);if(helper[_0x456b15(0x190)](_0x7a6771[_0x456b15(0x13c)])&&helper[_0x456b15(0x190)](_0x7a6771[_0x456b15(0x13c)][_0x456b15(0x103)])){const _0x1fbb76={};_0x1fbb76[_0x456b15(0x134)]=_0x7a6771[_0x456b15(0x13c)]['maxFailures'],_0x1fbb76[_0x456b15(0x103)]=_0x7a6771[_0x456b15(0x13c)]['workingDir'],_0x34e6ed[_0x456b15(0xe1)][_0x456b15(0xa4)]=_0x1fbb76;}}let _0x3b3dca='';_0x3fb4b4[_0x456b15(0x145)](helper[_0x456b15(0xd1)](),constants[_0x456b15(0x153)][_0x456b15(0x136)])?_0x3b3dca=_0x3fb4b4[_0x456b15(0xb7)]:_0x3b3dca=_0x3fb4b4['hiOds'];const _0x4873ac=_0x3b3dca,_0x120fa4=path[_0x456b15(0x183)](__dirname,_0x3fb4b4[_0x456b15(0x16f)],_0x3fb4b4[_0x456b15(0xed)]),_0x1f2e11=path[_0x456b15(0x183)](__dirname,_0x3fb4b4['OXwUh'],_0x3fb4b4['LjHrH']),_0x49fba4=path[_0x456b15(0x183)](__dirname,_0x3fb4b4['OXwUh'],_0x3fb4b4['fQpxo']);_0x34e6ed[_0x456b15(0x186)]&&(process[_0x456b15(0x17f)][_0x456b15(0x182)]=_0x34e6ed[_0x456b15(0x186)]);_0x34e6ed[_0x456b15(0x186)]=path['join'](__dirname,_0x3fb4b4[_0x456b15(0x16f)],_0x3fb4b4['aKmsN']);const _0xf386e5=_0x43ba79[_0x456b15(0x151)];if(_0xf386e5&&_0x3fb4b4['tChAq'](_0xf386e5,_0x3fb4b4[_0x456b15(0x15a)])){const _0x177801=_0xf386e5[_0x456b15(0x141)](_0x3fb4b4[_0x456b15(0x15b)])?_0xf386e5:_0x456b15(0x10a)+_0xf386e5;process[_0x456b15(0x17f)][_0x456b15(0x194)]=_0x177801,logger['info'](_0x456b15(0x173)+_0x177801);}_0x34e6ed[_0x456b15(0x151)]=_0x1f2e11,_0x34e6ed[_0x456b15(0x137)]=_0x34e6ed[_0x456b15(0x137)]||[],_0x34e6ed[_0x456b15(0x137)][_0x456b15(0x184)](path['join'](__dirname,_0x3fb4b4[_0x456b15(0xf2)]));_0x171578[_0x456b15(0xa7)]()&&(_0x34e6ed['testSequencer']=path[_0x456b15(0x183)](__dirname,_0x3fb4b4[_0x456b15(0x16f)],_0x3fb4b4[_0x456b15(0x159)]));if(testhubUtils[_0x456b15(0xf7)]()||BrowserstackCLI['getInstance']()[_0x456b15(0xef)]()){let _0x2e272b=null;try{_0x2e272b=helper['requireModule'](_0x3fb4b4['ddNyk'],_0x3fb4b4[_0x456b15(0xfa)]);}catch(_0x68cf20){try{_0x2e272b=helper[_0x456b15(0xcd)](_0x3fb4b4[_0x456b15(0xd8)],_0x3fb4b4[_0x456b15(0xfa)]);}catch(_0x101fad){_0x3fb4b4[_0x456b15(0x165)](debug,_0x456b15(0x18b)+_0x101fad);}}_0x2e272b&&(testhubUtils[_0x456b15(0xf7)]()&&_0x34e6ed[_0x456b15(0x137)]['push'](path[_0x456b15(0x183)](__dirname,_0x3fb4b4[_0x456b15(0xe0)],_0x3fb4b4[_0x456b15(0xa8)])),_0x34e6ed['testRunner']=path[_0x456b15(0x183)](__dirname,_0x3fb4b4['OXwUh'],_0x3fb4b4[_0x456b15(0x10b)]));}_0x34e6ed[_0x456b15(0xad)]=_0x34e6ed[_0x456b15(0xad)]||[];try{helper[_0x456b15(0x16d)](),_0x34e6ed[_0x456b15(0xad)][_0x456b15(0x184)](path['join'](__dirname,_0x3fb4b4['PaTKF']));}catch{logger[_0x456b15(0x16c)](_0x3fb4b4['ZEVWl']);}try{helper[_0x456b15(0xc7)]['apply'](null,[_0x3fb4b4['rusTD'],_0x3fb4b4[_0x456b15(0xf1)]]),logger[_0x456b15(0x16c)](_0x3fb4b4[_0x456b15(0x187)]),_0x34e6ed[_0x456b15(0xad)][_0x456b15(0x184)](path[_0x456b15(0x183)](__dirname,_0x3fb4b4['kHxpv']));}catch(_0x30fd56){logger[_0x456b15(0x16c)](_0x3fb4b4['WnMqQ'],_0x30fd56);}if(_0x3fb4b4[_0x456b15(0x181)](!_0x360000,_0x2a2519)){try{logger[_0x456b15(0x16c)](_0x3fb4b4[_0x456b15(0x178)]),_0x34e6ed[_0x456b15(0xad)][_0x456b15(0x184)](path['join'](__dirname,'..',_0x3fb4b4[_0x456b15(0x10f)],_0x3fb4b4[_0x456b15(0xc5)]));}catch(_0x4e6572){logger[_0x456b15(0x16c)]('Puppeteer\x20setup\x20error:\x20'+_0x4e6572[_0x456b15(0xee)]);}try{const _0x2236b6=require[_0x456b15(0x158)](_0x3fb4b4['tsNOh']),_0x5739d6=path[_0x456b15(0xbf)](_0x2236b6)[_0x456b15(0xda)](/\\/g,'/'),_0x31e606={};_0x31e606[_0x456b15(0x188)]=_0x5739d6+_0x456b15(0x11d),_0x34e6ed['moduleNameMapper']=Object['assign']({},_0x34e6ed[_0x456b15(0x127)]||{},_0x31e606),logger[_0x456b15(0x16c)]('[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20'+_0x5739d6);}catch(_0x49ff1e){logger[_0x456b15(0x16c)]('[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20'+_0x49ff1e['message']);}}_0x34e6ed['reporters']=_0x34e6ed[_0x456b15(0x118)]||[_0x3fb4b4[_0x456b15(0x14f)]],_0x3fb4b4[_0x456b15(0x11f)](updateTestRerunConfig,_0x34e6ed,_0x1678b4);const _0x355e80=fs[_0x456b15(0x11e)](_0x49fba4),_0x8e22f1=helper[_0x456b15(0xb5)](_0x3fb4b4[_0x456b15(0xdf)],_0x3fb4b4['uwIir']);!_0x8e22f1[_0x456b15(0x9c)]?fs[_0x456b15(0x12a)](_0x34e6ed[_0x456b15(0x151)],_0x456b15(0xcf)+_0x355e80+_0x456b15(0xac)+_0x1678b4[_0x456b15(0x169)]['platforms']['length']+_0x456b15(0x146)):fs[_0x456b15(0x12a)](_0x34e6ed[_0x456b15(0x151)],_0x456b15(0xcf)+_0x355e80+_0x456b15(0xfe)+_0x1678b4['config'][_0x456b15(0xd9)][_0x456b15(0xf9)]+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20})();\x0a\x20\x20\x20\x20');logger[_0x456b15(0xfb)]('Creating\x20'+_0x4873ac+_0x456b15(0xbe)),fs['writeFileSync'](_0x4873ac,_0x456b15(0x10d)+JSON['stringify'](_0x34e6ed)+'\x0amodule.exports\x20=\x20config;');if(_0x171578[_0x456b15(0xa7)]()){logger[_0x456b15(0x16c)](_0x3fb4b4[_0x456b15(0xa2)]);const _0x45049f=await _0x171578['findTestFiles'](_0x34e6ed,_0x1b8856[_0x456b15(0x112)](0x1),_0x4873ac);logger['debug'](_0x456b15(0xc4)+JSON['stringify'](_0x45049f)+'\x20test\x20files\x20to\x20run.');const _0x50d1f2=await _0x171578[_0x456b15(0x176)](_0x45049f);logger[_0x456b15(0x16c)]('Reodered\x20Test\x20Files:\x20'+JSON['stringify'](_0x50d1f2)),_0x50d1f2&&_0x3fb4b4['bRqMQ'](_0x50d1f2['length'],0x0)&&(process[_0x456b15(0x17f)][_0x456b15(0xc8)]=_0x50d1f2?.[_0x456b15(0x183)](','));}logger[_0x456b15(0xfb)](_0x3fb4b4[_0x456b15(0x140)]);testhubUtils[_0x456b15(0xf7)]()&&TestDetails[_0x456b15(0x122)]();helper[_0x456b15(0xc3)]({},_0x1b8856),PerformanceTester['end'](PerformanceEvents[_0x456b15(0xbc)]);const _0x324443=[_0x3fb4b4[_0x456b15(0xfd)],_0x3fb4b4['inETE'],_0x4873ac,..._0x1b8856['slice'](0x1)];process[_0x456b15(0x17f)][_0x456b15(0x189)]=process[_0x456b15(0x17f)][_0x456b15(0x189)]||_0x3fb4b4[_0x456b15(0xfd)];const _0x10f755=_0x3fb4b4[_0x456b15(0x161)](spawn,_0x3fb4b4[_0x456b15(0x168)],_0x324443,{'shell':_0x3fb4b4['GCrwP'](process[_0x456b15(0xb8)],_0x3fb4b4[_0x456b15(0xc2)]),'stdio':_0x3fb4b4[_0x456b15(0x193)],'env':Object[_0x456b15(0xe4)]({},process[_0x456b15(0x17f)])});_0x10f755['on'](_0x3fb4b4[_0x456b15(0xf3)],async _0x254b46=>{const _0x21aa7e=_0x456b15;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']);try{const {browserstackFolderPath:_0x180a68,tcgConfigPath:_0xcd0946}=helper[_0x21aa7e(0x170)]();fs[_0x21aa7e(0x12b)](_0xcd0946),fs[_0x21aa7e(0xe2)](_0x180a68);}catch(_0x48bbe5){logger[_0x21aa7e(0x16c)](_0x3fb4b4[_0x21aa7e(0x9d)],_0x48bbe5);}process[_0x21aa7e(0xb6)]=_0x254b46,logger['debug'](_0x21aa7e(0x14d)+_0x254b46),logger[_0x21aa7e(0xfb)](_0x21aa7e(0x13d)+_0x4873ac);if(helper['isNotUndefined'](_0x7a6771)&&helper[_0x21aa7e(0x190)](_0x7a6771[_0x21aa7e(0x13c)])&&fs[_0x21aa7e(0x149)](_0x7a6771[_0x21aa7e(0x13c)][_0x21aa7e(0x103)]))try{const _0x3431ca={};_0x3431ca[_0x21aa7e(0x106)]=!![],_0x3431ca[_0x21aa7e(0x138)]=!![],fs[_0x21aa7e(0x130)](_0x7a6771[_0x21aa7e(0x13c)]['workingDir'],_0x3431ca),logger[_0x21aa7e(0x16c)]('Deleted\x20fail-fast\x20state\x20folder:\x20'+_0x7a6771[_0x21aa7e(0x13c)][_0x21aa7e(0x103)]);}catch(_0x5dded1){logger[_0x21aa7e(0x9c)]('Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20'+_0x5dded1);}let _0x210d87=null;if(fs['existsSync'](_0x120fa4)){_0x210d87=fs[_0x21aa7e(0x11e)](_0x120fa4);try{_0x210d87=JSON[_0x21aa7e(0x154)](_0x210d87);}catch(_0x5d1875){logger[_0x21aa7e(0x16c)](_0x21aa7e(0x17a)+_0x120fa4+',\x20'+_0x210d87+_0x21aa7e(0xc1)+_0x5d1875);}fs[_0x21aa7e(0x12b)](_0x120fa4);}fs['unlinkSync'](_0x4873ac),fs[_0x21aa7e(0x12b)](_0x1f2e11),_0x210d87&&(_0x1678b4['errorMessage']=helper[_0x21aa7e(0x152)](_0x210d87,_0x3fb4b4[_0x21aa7e(0xfd)],_0x1678b4));const _0x4e31bc=BrowserstackCLI['isCLIEnabled']();try{await TestHubHandler[_0x21aa7e(0x9f)](),await BrowserstackCLI[_0x21aa7e(0x101)]()[_0x21aa7e(0x9f)]();}catch(_0x407534){console[_0x21aa7e(0xff)](_0x407534),_0x3fb4b4[_0x21aa7e(0x117)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util[_0x21aa7e(0x163)](_0x407534));}testOpsHelper[_0x21aa7e(0x180)](),TestDetails[_0x21aa7e(0x191)](),await utilities[_0x21aa7e(0xbd)](_0x1678b4,_0x4e31bc);});}function a18_0x300e(_0x5dea45,_0x58b224){const _0x58097a=a18_0x5809();return a18_0x300e=function(_0x300ede,_0x4f8140){_0x300ede=_0x300ede-0x9b;let _0x602a2=_0x58097a[_0x300ede];return _0x602a2;},a18_0x300e(_0x5dea45,_0x58b224);}module[a18_0x11d270(0x196)]=run;
|
|
2
|
+
'use strict';const a18_0x33fce1=a18_0x5e6e;function a18_0x5e6e(_0x5b109f,_0x38f445){const _0xc1b106=a18_0xc1b1();return a18_0x5e6e=function(_0x5e6e75,_0x12033e){_0x5e6e75=_0x5e6e75-0xae;let _0x454a80=_0xc1b106[_0x5e6e75];return _0x454a80;},a18_0x5e6e(_0x5b109f,_0x38f445);}(function(_0x239c73,_0x2ffcfa){const _0x3fe906=a18_0x5e6e,_0x216b05=_0x239c73();while(!![]){try{const _0x30ad14=-parseInt(_0x3fe906(0x124))/0x1+parseInt(_0x3fe906(0x104))/0x2+parseInt(_0x3fe906(0xcb))/0x3+parseInt(_0x3fe906(0x164))/0x4+-parseInt(_0x3fe906(0x185))/0x5*(-parseInt(_0x3fe906(0x14e))/0x6)+-parseInt(_0x3fe906(0x177))/0x7+parseInt(_0x3fe906(0x12e))/0x8*(parseInt(_0x3fe906(0x142))/0x9);if(_0x30ad14===_0x2ffcfa)break;else _0x216b05['push'](_0x216b05['shift']());}catch(_0x390666){_0x216b05['push'](_0x216b05['shift']());}}}(a18_0xc1b1,0xd0812));function a18_0xc1b1(){const _0x5f2d07=['readFileSync','data-hooks.js','3066088BTULjR','config','testSequencer','prepareCapabilities','guzOE','\x20with\x20browserstack\x20jest\x20configs','exitCode','PLGNO','Ujstk','../v2/browserstackCLI','\x0a\x20\x20\x20\x20\x20\x20','MODULE','GUtkz','FUrii','log','npx','../../helpers/utilities','findIndex','Deleted\x20fail-fast\x20state\x20folder:\x20','getTCGConfigFilePaths','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','kADJH','jGMQZ','\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','ofOLo','splice','platform','readInitialOptions','bwxtB','rmdirSync','^puppeteer-core/internal/(.*)','../utils/clientTroubleshootingService','1669291hEMprl','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','isCliEnabled','proxySettings','jest_browserstack_results.json','stringify','aAPgf','VltOl','../../helpers/BrowserStackSetup','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','32udmcaP','apply','BROWSERSTACK_TEST_OBSERVABILITY_YML','JMqak','debug','XNXvK','OdaNE','isTestOrchestrationEnabled','exports','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','turboScaleUrl','requireSeleniumWebdriver','unlinkSync','LXdJV','message','setupTCGAuth','dirname','abortBuildOnFailure','testEnvironmentOptions','vJcmg','2040966pnRmzU','../../helpers/testhub/utils','VYfsK','push','start','getPackageVersion','isUndefined','launchBuild','true','env','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','../../helpers/playwright-helper','194298pmlXfJ','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','maxFailures','jest-runner','EaATn','win32','pXGjQ','jest.config.','Preserving\x20user\x27s\x20Jest\x20runner:\x20','@jest/core','testObservability','skipSessionStatus','jest_browserstack.config.js','Deleting\x20','jest-runner-','BROWSERSTACK_CAPABILITIES','Unable\x20to\x20find\x20jest-circus,\x20','isBrowserstackInfra','setupFiles','force','browserStackPercyOptions','pJxRE','1047724iCdLoS','BROWSERSTACK_TEST_ACCESSIBILITY_YML','KcIFi','test_before.setup.js','../../helpers/logger','NKLHB','\x20:\x20','slice','getInstance','length','recursive','retryTestsOnFailure','RsoAI','isCLIEnabled','bECbz',';\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','lPgyM','join','QswqG','11006695zUrqpq','false','../../helpers/performance/performance-tester','initialize','requireModule','../../helpers/puppeteer-helper','testRunner','Found:\x20','parse','parseTestOrchestrationOptions','close','VjOth','writeFileSync','test.setup.js','45avHfPu',';\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','skipSessionName','maxRetries','assign','FRsiZ','stop','cQMKW','HmLzG','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','error','testContextOptions','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','oVhIY','jest','JEST_TEST_ORDER','MunQk',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','runner','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','ASMMq','\x20test\x20files\x20to\x20run.','isNotUndefined','isEmpty','osruN','customTestRunnerTemplate.js','shutdown','feFUF','testEnvironment','BSTACK_JEST_TEST_ENV','error\x20removing\x20tcg\x20config\x20file',',\x20CLI\x20running:\x20','JEST','../../helpers/test-observability/utils','qvFaE','child_process','yWUdK','shouldProcessEventForTesthub','eeIXw','platformCaps','Tmtcr','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','../../helpers/performance/constants','package.json','WZAHH','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','moduleNameMapper','BROWSERSTACK_FRAMEWORK','GpUzB','setup','isRunning','zSAvL','info','SQfTF','jest-circus/build/runner.js','/internal/$1','@playwright/test','customTestRunner.js','Aqlec','NyAJB','customCircus.js','AMKEg','parallels__','../../helpers/accessibility-automation/helper','getErrorMessageFromResults','util','FRAMEWORKS','Xuwmw','existsSync','cwd','Getting\x20your\x20jest\x20configs\x20from\x20package.json','./test-observability/helper','3306576djZekq','jest.setup.js','const\x20config=','default','testTimeout','customImplements','USER_CONFIG_DETAILS_PATH','deSsV','JOybq','resolve','eitIQ','jest-config/build/readConfigFileAndSetRootDir.js','reorderTestFiles','replace','oIwpB','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','accessibilityOptions','jVYnR','runInBand','format','requirePWModule','__isPlaywrightInstalled','timeout__','test-observability','fSJHO','resolveModule','SDK_SETUP','@jest/core/build/ReporterDispatcher.js','customSequencer.js','EVENTS','accessibility','jest-config','workingDir','browserStackLogLevel','jest-circus','playwright','platforms','evtgD','./test-observability/test-details','capabilities','useW3C','Getting\x20your\x20jest\x20configs\x20from\x20','HYNxP','setupFilesAfterEnv','reporters','puppeteer','piBzX','checkAccessibilityPlatformConfig','JhCeA','gQWjR','IzggR','ZxxIM','../../helpers/test-orchestration/testOrchestrationHandler','maxWorkers','dHDJw'];a18_0xc1b1=function(){return _0x5f2d07;};return a18_0xc1b1();}const fs=require('fs'),path=require('path'),util=require(a18_0x33fce1(0xc4)),{spawn}=require(a18_0x33fce1(0x1a8)),logger=require(a18_0x33fce1(0x168))['winstonLogger'],{default:BrowserStackSetup}=require(a18_0x33fce1(0x12c)),helper=require('../../helpers/helper'),utilities=require(a18_0x33fce1(0x114)),constants=require('../utils/constants'),accessibilityHelper=require(a18_0x33fce1(0xc2)),{updateTestRerunConfig}=require(a18_0x33fce1(0xca)),testOpsHelper=require(a18_0x33fce1(0x1a6)),{debug}=require(a18_0x33fce1(0x1a6)),TestDetails=require(a18_0x33fce1(0xf1)),{getPercyOptions}=require('../../helpers/percy/utils'),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testhubUtils=require(a18_0x33fce1(0x143)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),PerformanceTester=require(a18_0x33fce1(0x179)),PerformanceEvents=require(a18_0x33fce1(0x1af))[a18_0x33fce1(0xe8)],TestOrchestrationHandler=require(a18_0x33fce1(0xff)),BrowserstackCLI=require(a18_0x33fce1(0x10d)),{checkPwandBootstrapCli}=require(a18_0x33fce1(0x14d)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a18_0x33fce1(0x17c)),ClientTroubleShootingService=require(a18_0x33fce1(0x123)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),getUserJestConfigs=async(_0x5a840a,_0x599235)=>{const _0x52f9ae=a18_0x33fce1,_0x1356b1={'XNXvK':_0x52f9ae(0xd6),'bECbz':_0x52f9ae(0xea),'zSAvL':function(_0x192899,_0x58b807){return _0x192899||_0x58b807;},'pJxRE':function(_0x244fbc,_0x1511f3){return _0x244fbc(_0x1511f3);},'unkCX':_0x52f9ae(0xae),'gQWjR':_0x52f9ae(0xc9),'FUrii':'mjs','SQfTF':'cjs','zbdCA':'json'};let _0x13927a;try{_0x13927a=helper[_0x52f9ae(0x17b)](_0x1356b1[_0x52f9ae(0x133)],_0x1356b1[_0x52f9ae(0x172)]);}catch{const _0x2cdbe8=helper['requireModule'](_0x1356b1[_0x52f9ae(0x172)]);_0x13927a={'default':async _0xcac63b=>{const _0x34afc7=_0x52f9ae,_0x47f571=await _0x2cdbe8[_0x34afc7(0x11f)](_0xcac63b,{});return _0x47f571[_0x34afc7(0x105)];}};}const _0x52f7c7=_0x599235[_0x52f9ae(0x115)](_0x5b031d=>_0x5b031d==='--config');if(!helper[_0x52f9ae(0x148)](_0x5a840a[_0x52f9ae(0x105)])){logger[_0x52f9ae(0xb7)](_0x52f9ae(0xf4)+_0x5a840a['config']),process[_0x52f9ae(0x14b)][_0x52f9ae(0xd1)]=_0x5a840a['config'];const _0x4eb3c5=await(0x0,_0x13927a['default'])(path[_0x52f9ae(0xd4)](_0x5a840a['config']));return _0x599235[_0x52f9ae(0x11d)](_0x52f7c7,0x2),_0x1356b1[_0x52f9ae(0xb6)](_0x4eb3c5,{});}const _0x3d7551=_0x1356b1[_0x52f9ae(0x163)](require,path['join'](process[_0x52f9ae(0xc8)](),_0x1356b1['unkCX']));if(_0x3d7551[_0x52f9ae(0x193)])return logger['info'](_0x1356b1[_0x52f9ae(0xfc)]),_0x3d7551['jest'];const _0x551611=['js',_0x1356b1[_0x52f9ae(0x111)],_0x1356b1[_0x52f9ae(0xb8)],_0x1356b1['zbdCA'],'ts'];for(const _0x525b27 of _0x551611){const _0x59c3d4=path['join'](process[_0x52f9ae(0xc8)](),_0x52f9ae(0x155)+_0x525b27);if(fs[_0x52f9ae(0xc7)](_0x59c3d4)){process[_0x52f9ae(0x14b)][_0x52f9ae(0xd1)]=_0x59c3d4;const _0x2c9ba4=await(0x0,_0x13927a[_0x52f9ae(0xce)])(_0x59c3d4);return _0x2c9ba4;}}return{};},getSerial=(_0x320af4,_0x5e466f)=>{const _0x122e67=a18_0x33fce1,_0x355346={};_0x355346[_0x122e67(0x166)]=_0x122e67(0x14a),_0x355346[_0x122e67(0x108)]=function(_0xa1226d,_0x471e76){return _0xa1226d>_0x471e76;},_0x355346['NKLHB']=function(_0xdc0383,_0x7f5837){return _0xdc0383>_0x7f5837;},_0x355346[_0x122e67(0xe3)]=_0x122e67(0x178);const _0x117640=_0x355346;let _0x28e4a0=_0x117640[_0x122e67(0x166)];return _0x117640['guzOE'](_0x320af4[_0x122e67(0x16d)],0x1)&&(!_0x5e466f[_0x122e67(0xdd)]&&(helper[_0x122e67(0x148)](_0x5e466f[_0x122e67(0x100)])||_0x117640[_0x122e67(0x169)](_0x5e466f[_0x122e67(0x100)],0x1)))&&(_0x28e4a0=_0x117640[_0x122e67(0xe3)]),_0x28e4a0;},getMaxWorkers=(_0x25dfd9,_0x47bdf0,_0x5ec1ad)=>{const _0x54e3b7=a18_0x33fce1,_0x3a47d2={'kADJH':function(_0x119b76,_0x107dda){return _0x119b76(_0x107dda);}};let _0x14a93e=0x1;if(!helper[_0x54e3b7(0x148)](_0x47bdf0['parallelsPerPlatform']))_0x14a93e=_0x3a47d2[_0x54e3b7(0x119)](parseInt,_0x47bdf0['parallelsPerPlatform']);else{if(!helper[_0x54e3b7(0x148)](_0x25dfd9[_0x54e3b7(0x100)]))_0x14a93e=_0x25dfd9[_0x54e3b7(0x100)];else!helper[_0x54e3b7(0x148)](_0x5ec1ad[_0x54e3b7(0x100)])&&(_0x14a93e=_0x5ec1ad[_0x54e3b7(0x100)]);}return _0x14a93e;};async function run(_0xf55ece,_0x2a1db0,_0xebd75e){const _0x1eb95c=a18_0x33fce1,_0x432f52={'EaATn':_0x1eb95c(0x1a3),'JOybq':_0x1eb95c(0x193),'evtgD':function(_0x539a81,_0x71611b){return _0x539a81(_0x71611b);},'LXdJV':_0x1eb95c(0xbb),'PLGNO':function(_0x3e5ac7){return _0x3e5ac7();},'FRsiZ':function(_0xd7c6db,_0x36926d,_0xe882bc,_0x2ce775){return _0xd7c6db(_0x36926d,_0xe882bc,_0x2ce775);},'JMqak':function(_0x26eb62,_0x4f4a3c){return _0x26eb62!=_0x4f4a3c;},'VjOth':_0x1eb95c(0x14a),'oIwpB':function(_0x4553b6,_0x49a7e7,_0xe738d){return _0x4553b6(_0x49a7e7,_0xe738d);},'TmmVU':_0x1eb95c(0x191),'GpUzB':function(_0x3d9de9,_0x3b0136){return _0x3d9de9(_0x3b0136);},'VltOl':'false','osruN':function(_0x414552,_0x1d413b,_0x5be8f6){return _0x414552(_0x1d413b,_0x5be8f6);},'TxbIy':function(_0x43c5bb,_0x4c7670,_0x11ac40,_0x4d5802){return _0x43c5bb(_0x4c7670,_0x11ac40,_0x4d5802);},'GUtkz':function(_0x33ca42,_0x48b541){return _0x33ca42*_0x48b541;},'Xuwmw':function(_0x18ddf1,_0x552ef8){return _0x18ddf1===_0x552ef8;},'bwxtB':'jest_browserstack.config.cjs','dHDJw':_0x1eb95c(0x15a),'JhCeA':_0x1eb95c(0xd0),'deSsV':_0x1eb95c(0x128),'eitIQ':_0x1eb95c(0xbc),'Aqlec':_0x1eb95c(0x19e),'ofOLo':'customEnvironment.js','jVYnR':function(_0x355802,_0x4531d5){return _0x355802!==_0x4531d5;},'wtlna':_0x1eb95c(0x151),'cQMKW':_0x1eb95c(0x15c),'VYfsK':_0x1eb95c(0xcc),'NyAJB':_0x1eb95c(0xe7),'aAPgf':_0x1eb95c(0x125),'pXGjQ':_0x1eb95c(0xed),'HYNxP':_0x1eb95c(0xb9),'Ujstk':_0x1eb95c(0xe2),'OdaNE':_0x1eb95c(0x103),'WZAHH':_0x1eb95c(0xbf),'oVhIY':_0x1eb95c(0x167),'vJcmg':'skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','AMKEg':_0x1eb95c(0xee),'msqyY':_0x1eb95c(0x14c),'jGMQZ':_0x1eb95c(0x184),'feFUF':_0x1eb95c(0x118),'HmLzG':function(_0x4b4933,_0x16f073){return _0x4b4933&&_0x16f073;},'OSdiB':_0x1eb95c(0x137),'WZyua':_0x1eb95c(0xf8),'ZxxIM':'puppeteer-core/package.json','RsoAI':'default','yWUdK':_0x1eb95c(0xe6),'ASMMq':_0x1eb95c(0x157),'lPgyM':_0x1eb95c(0x18e),'eeIXw':function(_0x16eafe,_0x330000){return _0x16eafe>_0x330000;},'qvFaE':'Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','iRDiS':'--config','QswqG':function(_0x4e88a8,_0x53fbf1,_0x51955d,_0x4d69da){return _0x4e88a8(_0x53fbf1,_0x51955d,_0x4d69da);},'SPlSJ':_0x1eb95c(0x113),'Tmtcr':function(_0x346721,_0x393b33){return _0x346721===_0x393b33;},'piBzX':_0x1eb95c(0x153),'MunQk':'inherit','IzggR':_0x1eb95c(0x181)},_0x459b61=helper[_0x1eb95c(0x147)](_0x432f52[_0x1eb95c(0x13b)]);global[_0x1eb95c(0xe0)]=!!_0x459b61;const _0x4bc1f3=_0x432f52[_0x1eb95c(0x10b)](getPuppeteerVersion);global['__isPuppeteerInstalled']=!!_0x4bc1f3;helper[_0x1eb95c(0x15f)]()?(await _0xebd75e[_0x1eb95c(0x17a)](_0xf55ece),await helper['handleApp'](_0xebd75e[_0x1eb95c(0x105)])):await _0xebd75e[_0x1eb95c(0x13d)]();if(_0x459b61)await _0x432f52[_0x1eb95c(0x18a)](checkPwandBootstrapCli,_0x459b61,constants[_0x1eb95c(0xc5)][_0x1eb95c(0x1a5)],_0xebd75e);else _0x4bc1f3&&await _0x432f52[_0x1eb95c(0x18a)](checkPuppeteerAndBootstrapCli,_0x4bc1f3,constants['FRAMEWORKS'][_0x1eb95c(0x1a5)],_0xebd75e);!BrowserstackCLI[_0x1eb95c(0x16c)]()[_0x1eb95c(0xb5)]()&&await _0xebd75e['setupBrowserstackLocal']();if(!_0xebd75e[_0x1eb95c(0x105)])return;_0x432f52[_0x1eb95c(0x131)](_0xebd75e[_0x1eb95c(0x105)]['testObservability'],null)?process['env'][_0x1eb95c(0x130)]=_0xebd75e[_0x1eb95c(0x105)][_0x1eb95c(0x158)]:process[_0x1eb95c(0x14b)][_0x1eb95c(0x130)]=_0x432f52[_0x1eb95c(0x182)];const _0x1e038f=new TestOrchestrationHandler(_0xebd75e[_0x1eb95c(0x105)]),_0x2733e3=await _0x432f52[_0x1eb95c(0xd9)](getUserJestConfigs,_0xf55ece,_0x2a1db0);logger[_0x1eb95c(0xb7)](_0x432f52['TmmVU']);const _0x5e009f=Object[_0x1eb95c(0x189)]({},_0x2733e3);_0x5e009f[_0x1eb95c(0x140)]=Object['assign']({},_0x5e009f[_0x1eb95c(0x140)],{'server':helper['getHubUrl'](_0xebd75e[_0x1eb95c(0x105)]),'environment':_0x2733e3[_0x1eb95c(0x1a1)]}),_0x5e009f[_0x1eb95c(0x140)][_0x1eb95c(0x162)]=_0x432f52['GpUzB'](getPercyOptions,_0xebd75e[_0x1eb95c(0x105)]);const _0x4176de=helper[_0x1eb95c(0xf3)](_0xebd75e[_0x1eb95c(0x105)]);!helper['isUndefined'](_0xebd75e['config'][_0x1eb95c(0xdb)])&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0xebd75e['config'][_0x1eb95c(0xdb)]));if(!BrowserstackCLI['getInstance']()['isRunning']()){const _0x26163e=await TestHubHandler[_0x1eb95c(0x149)](FRAMEWORKS['JEST'],_0xebd75e);}const _0x25f966=helper[_0x1eb95c(0x107)](_0xebd75e[_0x1eb95c(0x105)],_0x4176de,constants['FRAMEWORKS'][_0x1eb95c(0x1a5)]);process[_0x1eb95c(0x14b)][_0x1eb95c(0x15d)]=JSON[_0x1eb95c(0x129)](_0x25f966);let _0x3c0825=_0xebd75e[_0x1eb95c(0x105)][_0x1eb95c(0xe9)];_0x3c0825=_0x3c0825||accessibilityHelper[_0x1eb95c(0xfa)](_0xebd75e['config']),process[_0x1eb95c(0x14b)][_0x1eb95c(0x165)]=_0x3c0825,logger[_0x1eb95c(0x132)](_0x1eb95c(0xb0)+_0x3c0825+_0x1eb95c(0x1a4)+BrowserstackCLI[_0x1eb95c(0x16c)]()[_0x1eb95c(0xb5)]());if(_0x459b61)try{const _0x576e1a=_0x432f52[_0x1eb95c(0xb3)](checkAccessibilityPlatformConfig,_0xebd75e['config']);process[_0x1eb95c(0x14b)][_0x1eb95c(0x12d)]=_0x576e1a?_0x432f52[_0x1eb95c(0x182)]:_0x432f52[_0x1eb95c(0x12b)],logger['debug'](_0x1eb95c(0xda)+_0x576e1a+_0x1eb95c(0x196)+process[_0x1eb95c(0x14b)][_0x1eb95c(0x12d)]);}catch(_0x58681d){logger['debug'](_0x1eb95c(0x198)+util[_0x1eb95c(0xde)](_0x58681d));}_0x5e009f[_0x1eb95c(0x140)][_0x1eb95c(0xf2)]=_0x25f966,_0x5e009f[_0x1eb95c(0x140)]['serial__']=_0x432f52[_0x1eb95c(0x19d)](getSerial,_0x25f966,_0xf55ece),_0x5e009f[_0x1eb95c(0x140)][_0x1eb95c(0xc1)]=_0x432f52['TxbIy'](getMaxWorkers,_0xf55ece,_0xebd75e[_0x1eb95c(0x105)],_0x2733e3),_0x5e009f[_0x1eb95c(0x140)]['proxySettings']=_0xebd75e[_0x1eb95c(0x105)][_0x1eb95c(0x127)],_0x5e009f[_0x1eb95c(0x140)][_0x1eb95c(0xe1)]=_0x432f52[_0x1eb95c(0x110)](_0xf55ece[_0x1eb95c(0xcf)],0x1)||0x1388,_0x5e009f[_0x1eb95c(0x140)][_0x1eb95c(0x187)]=_0xebd75e[_0x1eb95c(0x105)]['testContextOptions'][_0x1eb95c(0x187)],_0x5e009f['testEnvironmentOptions'][_0x1eb95c(0x159)]=_0xebd75e['config'][_0x1eb95c(0x190)][_0x1eb95c(0x159)],_0x5e009f['testEnvironmentOptions'][_0x1eb95c(0xec)]=_0xebd75e[_0x1eb95c(0x105)]['logLevel'],_0x5e009f['testEnvironmentOptions'][_0x1eb95c(0x138)]=_0xebd75e['config']['turboScaleUrl'],_0x5e009f[_0x1eb95c(0x140)][_0x1eb95c(0x1ac)]=_0xebd75e['config'][_0x1eb95c(0xef)];const _0x41685b=helper[_0x1eb95c(0x180)](_0xebd75e[_0x1eb95c(0x105)]);if(!helper[_0x1eb95c(0x19c)](_0x41685b)){helper[_0x1eb95c(0x19b)](_0x41685b[_0x1eb95c(0x16f)])&&(_0x5e009f['testEnvironmentOptions']['retries__']=_0x41685b[_0x1eb95c(0x16f)][_0x1eb95c(0x188)]);if(helper['isNotUndefined'](_0x41685b['abortBuildOnFailure'])&&helper[_0x1eb95c(0x19b)](_0x41685b['abortBuildOnFailure']['workingDir'])){const _0x264f63={};_0x264f63['failureThresholdCount']=_0x41685b[_0x1eb95c(0x13f)][_0x1eb95c(0x150)],_0x264f63['workingDir']=_0x41685b[_0x1eb95c(0x13f)]['workingDir'],_0x5e009f[_0x1eb95c(0x140)]['failFast']=_0x264f63;}}let _0x5a9057='';_0x432f52[_0x1eb95c(0xc6)](helper['getPackageType'](),constants['PACKAGE_TYPE'][_0x1eb95c(0x10f)])?_0x5a9057=_0x432f52[_0x1eb95c(0x120)]:_0x5a9057=_0x432f52[_0x1eb95c(0x101)];const _0xc55c4d=_0x5a9057,_0x878817=path[_0x1eb95c(0x175)](__dirname,_0x432f52[_0x1eb95c(0xfb)],_0x432f52[_0x1eb95c(0xd2)]),_0x35de7b=path['join'](__dirname,_0x432f52['JhCeA'],_0x432f52[_0x1eb95c(0xd5)]),_0x578062=path[_0x1eb95c(0x175)](__dirname,_0x432f52[_0x1eb95c(0xfb)],_0x432f52[_0x1eb95c(0xbd)]);_0x5e009f[_0x1eb95c(0x1a1)]&&(process[_0x1eb95c(0x14b)][_0x1eb95c(0x1a2)]=_0x5e009f[_0x1eb95c(0x1a1)]);_0x5e009f[_0x1eb95c(0x1a1)]=path[_0x1eb95c(0x175)](__dirname,_0x432f52['JhCeA'],_0x432f52[_0x1eb95c(0x11c)]);const _0x4bfe3c=_0x2733e3[_0x1eb95c(0x197)];if(_0x4bfe3c&&_0x432f52[_0x1eb95c(0xdc)](_0x4bfe3c,_0x432f52['wtlna'])){const _0x26304d=_0x4bfe3c['startsWith'](_0x432f52[_0x1eb95c(0x18c)])?_0x4bfe3c:_0x1eb95c(0x15c)+_0x4bfe3c;process[_0x1eb95c(0x14b)]['BSTACK_USER_JEST_RUNNER']=_0x26304d,logger[_0x1eb95c(0xb7)](_0x1eb95c(0x156)+_0x26304d);}_0x5e009f['runner']=_0x35de7b,_0x5e009f[_0x1eb95c(0xf6)]=_0x5e009f[_0x1eb95c(0xf6)]||[],_0x5e009f[_0x1eb95c(0xf6)][_0x1eb95c(0x145)](path[_0x1eb95c(0x175)](__dirname,_0x432f52[_0x1eb95c(0x144)]));_0x1e038f[_0x1eb95c(0x135)]()&&(_0x5e009f[_0x1eb95c(0x106)]=path[_0x1eb95c(0x175)](__dirname,_0x432f52[_0x1eb95c(0xfb)],_0x432f52[_0x1eb95c(0xbe)]));if(testhubUtils[_0x1eb95c(0x1aa)]()||BrowserstackCLI[_0x1eb95c(0x16c)]()[_0x1eb95c(0x126)]()){let _0x38d6d7=null;try{_0x38d6d7=helper[_0x1eb95c(0x17b)](_0x432f52[_0x1eb95c(0x12a)],_0x432f52[_0x1eb95c(0x154)]);}catch(_0x34283d){try{_0x38d6d7=helper[_0x1eb95c(0x17b)](_0x432f52[_0x1eb95c(0xf5)],_0x432f52[_0x1eb95c(0x154)]);}catch(_0x58e4a5){_0x432f52[_0x1eb95c(0xb3)](debug,_0x1eb95c(0x15e)+_0x58e4a5);}}_0x38d6d7&&(testhubUtils['shouldProcessEventForTesthub']()&&_0x5e009f['setupFilesAfterEnv'][_0x1eb95c(0x145)](path[_0x1eb95c(0x175)](__dirname,_0x432f52[_0x1eb95c(0x10c)],_0x432f52[_0x1eb95c(0x134)])),_0x5e009f[_0x1eb95c(0x17d)]=path[_0x1eb95c(0x175)](__dirname,_0x432f52[_0x1eb95c(0xfb)],_0x432f52[_0x1eb95c(0xaf)]));}_0x5e009f[_0x1eb95c(0x160)]=_0x5e009f[_0x1eb95c(0x160)]||[];try{helper[_0x1eb95c(0x139)](),_0x5e009f[_0x1eb95c(0x160)]['push'](path['join'](__dirname,_0x432f52[_0x1eb95c(0x192)]));}catch{logger[_0x1eb95c(0x132)](_0x432f52[_0x1eb95c(0x141)]);}try{helper[_0x1eb95c(0xdf)][_0x1eb95c(0x12f)](null,[_0x432f52[_0x1eb95c(0x13b)],_0x432f52[_0x1eb95c(0xc0)]]),logger[_0x1eb95c(0x132)](_0x432f52['msqyY']),_0x5e009f[_0x1eb95c(0x160)][_0x1eb95c(0x145)](path[_0x1eb95c(0x175)](__dirname,_0x432f52[_0x1eb95c(0x11a)]));}catch(_0x15c1d1){logger[_0x1eb95c(0x132)](_0x432f52[_0x1eb95c(0x1a0)],_0x15c1d1);}if(_0x432f52[_0x1eb95c(0x18d)](!_0x459b61,_0x4bc1f3)){try{logger[_0x1eb95c(0x132)](_0x432f52['OSdiB']),_0x5e009f[_0x1eb95c(0xf6)][_0x1eb95c(0x145)](path[_0x1eb95c(0x175)](__dirname,'..',_0x432f52['WZyua'],_0x432f52[_0x1eb95c(0x11a)]));}catch(_0x274b95){logger['debug']('Puppeteer\x20setup\x20error:\x20'+_0x274b95[_0x1eb95c(0x13c)]);}try{const _0x3a58e9=require[_0x1eb95c(0xd4)](_0x432f52[_0x1eb95c(0xfe)]),_0x456044=path[_0x1eb95c(0x13e)](_0x3a58e9)[_0x1eb95c(0xd8)](/\\/g,'/'),_0x566078={};_0x566078[_0x1eb95c(0x122)]=_0x456044+_0x1eb95c(0xba),_0x5e009f['moduleNameMapper']=Object[_0x1eb95c(0x189)]({},_0x5e009f[_0x1eb95c(0xb1)]||{},_0x566078),logger['debug']('[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20'+_0x456044);}catch(_0x4635e0){logger[_0x1eb95c(0x132)]('[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20'+_0x4635e0[_0x1eb95c(0x13c)]);}}_0x5e009f[_0x1eb95c(0xf7)]=_0x5e009f[_0x1eb95c(0xf7)]||[_0x432f52[_0x1eb95c(0x170)]],_0x432f52[_0x1eb95c(0xd9)](updateTestRerunConfig,_0x5e009f,_0xebd75e);const _0x33ed3e=fs['readFileSync'](_0x578062),_0x3d8a81=helper[_0x1eb95c(0xe4)](_0x432f52[_0x1eb95c(0x1a9)],_0x432f52[_0x1eb95c(0x199)]);!_0x3d8a81[_0x1eb95c(0x18f)]?fs[_0x1eb95c(0x183)](_0x5e009f[_0x1eb95c(0x197)],_0x1eb95c(0x10e)+_0x33ed3e+_0x1eb95c(0x11b)+_0xebd75e['config'][_0x1eb95c(0xef)]['length']+_0x1eb95c(0x173)):fs[_0x1eb95c(0x183)](_0x5e009f[_0x1eb95c(0x197)],_0x1eb95c(0x10e)+_0x33ed3e+'\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'+_0xebd75e[_0x1eb95c(0x105)][_0x1eb95c(0xef)][_0x1eb95c(0x16d)]+_0x1eb95c(0x186));logger['info']('Creating\x20'+_0xc55c4d+_0x1eb95c(0x109)),fs[_0x1eb95c(0x183)](_0xc55c4d,_0x1eb95c(0xcd)+JSON[_0x1eb95c(0x129)](_0x5e009f)+'\x0amodule.exports\x20=\x20config;');if(_0x1e038f[_0x1eb95c(0x135)]()){logger[_0x1eb95c(0x132)](_0x432f52[_0x1eb95c(0x174)]);const _0x4c319c=await _0x1e038f['findTestFiles'](_0x5e009f,_0x2a1db0[_0x1eb95c(0x16b)](0x1),_0xc55c4d);logger[_0x1eb95c(0x132)](_0x1eb95c(0x17e)+JSON[_0x1eb95c(0x129)](_0x4c319c)+_0x1eb95c(0x19a));const _0x52d086=await _0x1e038f[_0x1eb95c(0xd7)](_0x4c319c);logger['debug']('Reodered\x20Test\x20Files:\x20'+JSON[_0x1eb95c(0x129)](_0x52d086)),_0x52d086&&_0x432f52[_0x1eb95c(0x1ab)](_0x52d086['length'],0x0)&&(process[_0x1eb95c(0x14b)][_0x1eb95c(0x194)]=_0x52d086?.['join'](','));}logger[_0x1eb95c(0xb7)](_0x432f52[_0x1eb95c(0x1a7)]);testhubUtils[_0x1eb95c(0x1aa)]()&&TestDetails[_0x1eb95c(0xb4)]();helper['filterBrowserstackArgs']({},_0x2a1db0),PerformanceTester['end'](PerformanceEvents[_0x1eb95c(0xe5)]);const _0x42b011=[_0x432f52[_0x1eb95c(0xd3)],_0x432f52['iRDiS'],_0xc55c4d,..._0x2a1db0[_0x1eb95c(0x16b)](0x1)];process[_0x1eb95c(0x14b)][_0x1eb95c(0xb2)]=process[_0x1eb95c(0x14b)]['BROWSERSTACK_FRAMEWORK']||_0x432f52[_0x1eb95c(0xd3)];const _0x1bfac1=_0x432f52[_0x1eb95c(0x176)](spawn,_0x432f52['SPlSJ'],_0x42b011,{'shell':_0x432f52[_0x1eb95c(0x1ad)](process[_0x1eb95c(0x11e)],_0x432f52[_0x1eb95c(0xf9)]),'stdio':_0x432f52[_0x1eb95c(0x195)],'env':Object[_0x1eb95c(0x189)]({},process[_0x1eb95c(0x14b)])});_0x1bfac1['on'](_0x432f52[_0x1eb95c(0xfd)],async _0x2dbfa4=>{const _0x5357f4=_0x1eb95c;PerformanceTester[_0x5357f4(0x146)](PerformanceEvents['SDK_CLEANUP']);try{const {browserstackFolderPath:_0x369bf5,tcgConfigPath:_0x42e529}=helper[_0x5357f4(0x117)]();fs['unlinkSync'](_0x42e529),fs[_0x5357f4(0x121)](_0x369bf5);}catch(_0x5cf1b8){logger[_0x5357f4(0x132)](_0x432f52[_0x5357f4(0x152)],_0x5cf1b8);}process[_0x5357f4(0x10a)]=_0x2dbfa4,logger[_0x5357f4(0x132)]('child\x20process\x20exited\x20with\x20code\x20'+_0x2dbfa4),logger[_0x5357f4(0xb7)](_0x5357f4(0x15b)+_0xc55c4d);if(helper[_0x5357f4(0x19b)](_0x41685b)&&helper[_0x5357f4(0x19b)](_0x41685b[_0x5357f4(0x13f)])&&fs['existsSync'](_0x41685b[_0x5357f4(0x13f)]['workingDir']))try{const _0x237818={};_0x237818[_0x5357f4(0x16e)]=!![],_0x237818[_0x5357f4(0x161)]=!![],fs['rmSync'](_0x41685b[_0x5357f4(0x13f)][_0x5357f4(0xeb)],_0x237818),logger['debug'](_0x5357f4(0x116)+_0x41685b[_0x5357f4(0x13f)]['workingDir']);}catch(_0x227d2d){logger['error'](_0x5357f4(0x1ae)+_0x227d2d);}let _0x54a51b=null;if(fs[_0x5357f4(0xc7)](_0x878817)){_0x54a51b=fs[_0x5357f4(0x102)](_0x878817);try{_0x54a51b=JSON[_0x5357f4(0x17f)](_0x54a51b);}catch(_0x134713){logger[_0x5357f4(0x132)]('Error\x20while\x20parsing\x20'+_0x878817+',\x20'+_0x54a51b+_0x5357f4(0x16a)+_0x134713);}fs[_0x5357f4(0x13a)](_0x878817);}fs[_0x5357f4(0x13a)](_0xc55c4d),fs[_0x5357f4(0x13a)](_0x35de7b),_0x54a51b&&(_0xebd75e['errorMessage']=helper[_0x5357f4(0xc3)](_0x54a51b,_0x432f52['JOybq'],_0xebd75e));const _0x1d019f=BrowserstackCLI[_0x5357f4(0x171)]();try{await TestHubHandler[_0x5357f4(0x18b)](),await BrowserstackCLI[_0x5357f4(0x16c)]()['stop']();}catch(_0x37310f){console[_0x5357f4(0x112)](_0x37310f),_0x432f52[_0x5357f4(0xf0)](debug,_0x5357f4(0x14f)+util[_0x5357f4(0xde)](_0x37310f));}testOpsHelper['printBuildLink'](),TestDetails[_0x5357f4(0x19f)](),await utilities['finalExecution'](_0xebd75e,_0x1d019f);});}module[a18_0x33fce1(0x136)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a19_0x495b1a=a19_0x4ca6;(function(_0x3cc01f,_0x372531){const _0x321ef9=a19_0x4ca6,_0x3ad92f=_0x3cc01f();while(!![]){try{const _0x3c526e=parseInt(_0x321ef9(0x1f0))/0x1*(-parseInt(_0x321ef9(0x1e5))/0x2)+-parseInt(_0x321ef9(0x1e7))/0x3*(parseInt(_0x321ef9(0x1da))/0x4)+-parseInt(_0x321ef9(0x1de))/0x5*(parseInt(_0x321ef9(0x1e6))/0x6)+parseInt(_0x321ef9(0x1ef))/0x7+-parseInt(_0x321ef9(0x1ea))/0x8+-parseInt(_0x321ef9(0x1e2))/0x9*(parseInt(_0x321ef9(0x1e9))/0xa)+parseInt(_0x321ef9(0x1ee))/0xb;if(_0x3c526e===_0x372531)break;else _0x3ad92f['push'](_0x3ad92f['shift']());}catch(_0x795392){_0x3ad92f['push'](_0x3ad92f['shift']());}}}(a19_0x369b,0xcd690));function a19_0x369b(){const _0x16bb18=['5981325IGLUrh','2BOcAvv','LaDMm','hiicy','505648puVzhc','jestAdapterInit','jest-circus','function','5xlgPpe','requireInternalModule','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','../../../helpers/helper','36PwjtaZ','initRequireModule','path','1269440sxKtGl','9719100szbWTu','27jPdpFr','jest-circus/build/runner.js','4162030IPARPh','13174208eKirJj','rbTDr','customJestAdapterInit.js','includes','80580181wPjMrk'];a19_0x369b=function(){return _0x16bb18;};return a19_0x369b();}const path=require(a19_0x495b1a(0x1e4)),{requireModule}=require(a19_0x495b1a(0x1e1));let initJestAdapter;try{initJestAdapter=requireModule(a19_0x495b1a(0x1e0),'jest-circus');}catch{initJestAdapter=requireModule(a19_0x495b1a(0x1e8),a19_0x495b1a(0x1dc));}initJestAdapter=typeof initJestAdapter===a19_0x495b1a(0x1dd)?initJestAdapter:initJestAdapter['default'];function a19_0x4ca6(_0x18e44d,_0xfb5e9a){const _0x369bed=a19_0x369b();return a19_0x4ca6=function(_0x4ca624,_0x5f54a8){_0x4ca624=_0x4ca624-0x1d8;let _0x4b3034=_0x369bed[_0x4ca624];return _0x4b3034;},a19_0x4ca6(_0x18e44d,_0xfb5e9a);}const FRAMEWORK_INITIALIZER=path['join'](__dirname,a19_0x495b1a(0x1ec));module['exports']=(..._0x5ddf9c)=>{const _0x1874bd=a19_0x495b1a,_0x12faa6={'rbTDr':_0x1874bd(0x1db),'hiicy':function(_0x5ca501,_0x566fc7){return _0x5ca501===_0x566fc7;},'LaDMm':function(_0x2f502b,..._0x163da6){return _0x2f502b(..._0x163da6);}};return _0x5ddf9c[0x3][_0x1874bd(0x1e3)]=_0x5ddf9c[0x3][_0x1874bd(0x1df)],_0x5ddf9c[0x3][_0x1874bd(0x1df)]=(..._0x119e80)=>{const _0x8ffc57=_0x1874bd;if(_0x119e80[0x0]&&_0x119e80[0x0][_0x8ffc57(0x1ed)](_0x12faa6[_0x8ffc57(0x1eb)])&&_0x12faa6[_0x8ffc57(0x1d9)](_0x119e80[0x1],undefined))return _0x5ddf9c[0x3][_0x8ffc57(0x1e3)](FRAMEWORK_INITIALIZER);return _0x5ddf9c[0x3][_0x8ffc57(0x1e3)](..._0x119e80);},_0x12faa6[_0x1874bd(0x1d8)](initJestAdapter,..._0x5ddf9c);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a20_0x7b11c2=a20_0x5677;function a20_0x3114(){const _0x202028=['jestConfig','uuWFp','CAaCk','platformCaps','uLSKu','browserstackPercyBestPlatform','RJcXG','getTestEnvironment','VBFGy','1879604CWKwFw','teardown','385770ZPnChs','22489780DRXSoc','VeosE','77iAcxUX','retries__','hCqRd','54PwhUrx','failFast','failFastOptions','buildName','resolveTestEnvironment','bDwtt','exports','skip','tLLdg','env','dJSUe','handleTestEvent','browserstackPlatformIndex','1105042KxAsQZ','Error\x20in\x20fail-fast\x20test_done\x20handler:','skipSessionName','SCrzP','quit','zpPCk','cleanupDrivers','mOTnd','bstack:options','nestedKeyValue','hlcHx','default','getInstance','isTrue','4euAdwH','__jestRetries','bVBbZ','../../utils/constants','debug','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','jest-environment-node','__webdriver','IcGHO','../../../helpers/testhub/utils','failFastActive','jest-resolve','VccrF','capabilities','message','../../../index','../test-observability/obsReporter','shutdown','testPath','shouldFailFast','jest-config','sessionNameProvided','__timeout','requireModule','BSTACK_JEST_TEST_ENV','configuration','sVuhA','635802ZaAanZ','node','1736464llJTIQ','cleanup','793671wYsflc','testContext','isArray','Builder','jdRcr','timeout__','errors','ksPun','../../../helpers/logger','../../../helpers/test-observability/requestQueueHandler','driver','test_start','isBrowserstackInfra','testEnvironmentOptions','RTAFO','oRncx','projectName','projectConfig','ghIns','gYBwm','onTestDone','join','name','browserStackGlobals','percy','browserStackPercyOptions','capability','isNotUndefined','skipSessionStatus','requireSeleniumWebdriver','test','cvhTc','\x20>\x20','percyCaptureMode','builder','rpQZf','YVeMK','global','framework','winstonLogger','JEST','../../../helpers/test-orchestration/failfastManager','LXFAY'];a20_0x3114=function(){return _0x202028;};return a20_0x3114();}(function(_0x2ed808,_0x1469a3){const _0x375f0d=a20_0x5677,_0x5710a1=_0x2ed808();while(!![]){try{const _0x4ad7ea=parseInt(_0x375f0d(0x16b))/0x1+-parseInt(_0x375f0d(0x179))/0x2*(parseInt(_0x375f0d(0x198))/0x3)+parseInt(_0x375f0d(0x156))/0x4+parseInt(_0x375f0d(0x158))/0x5+-parseInt(_0x375f0d(0x194))/0x6*(parseInt(_0x375f0d(0x15b))/0x7)+-parseInt(_0x375f0d(0x196))/0x8*(parseInt(_0x375f0d(0x15e))/0x9)+parseInt(_0x375f0d(0x159))/0xa;if(_0x4ad7ea===_0x1469a3)break;else _0x5710a1['push'](_0x5710a1['shift']());}catch(_0x578b0f){_0x5710a1['push'](_0x5710a1['shift']());}}}(a20_0x3114,0xdcb28));const helper=require('../../../helpers/helper'),constants=require(a20_0x7b11c2(0x17c)),{isTestObservabilitySession}=require('../../../helpers/test-observability/utils'),RequestQueueHandler=require(a20_0x7b11c2(0x12b)),ObservabilityReporter=require(a20_0x7b11c2(0x189)),testhubUtils=require(a20_0x7b11c2(0x182)),logger=require(a20_0x7b11c2(0x12a))[a20_0x7b11c2(0x149)],getTestEnvironment=((()=>{const _0x1208e6=a20_0x7b11c2,_0x6c1302={};_0x6c1302[_0x1208e6(0x14c)]=_0x1208e6(0x184),_0x6c1302[_0x1208e6(0x163)]=_0x1208e6(0x18d);const _0x51e4f5=_0x6c1302;try{const _0x318712=helper[_0x1208e6(0x190)](_0x51e4f5[_0x1208e6(0x14c)]);if(_0x318712[_0x1208e6(0x162)])return _0x318712['resolveTestEnvironment'];const _0x274ea7=helper[_0x1208e6(0x190)](_0x51e4f5[_0x1208e6(0x163)]);if(_0x274ea7[_0x1208e6(0x154)])return _0x274ea7[_0x1208e6(0x154)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x545e03=a20_0x7b11c2,_0x4b042d={'VeosE':function(_0x37ff4b,_0x46b2be){return _0x37ff4b(_0x46b2be);},'gYBwm':_0x545e03(0x195),'RJcXG':function(_0x1c0f78,_0x4e5c6e){return _0x1c0f78(_0x4e5c6e);},'oRncx':_0x545e03(0x17f),'VBFGy':function(_0x2801e3,_0x27cbc5){return _0x2801e3(_0x27cbc5);}},_0x7c69c1=_0x4b042d[_0x545e03(0x15a)](getTestEnvironment,{'rootDir':process['cwd'](),'testEnvironment':process[_0x545e03(0x167)][_0x545e03(0x191)]||_0x4b042d[_0x545e03(0x135)]});if(!_0x7c69c1)return _0x4b042d[_0x545e03(0x153)](_interopRequireDefault,helper[_0x545e03(0x190)](_0x4b042d[_0x545e03(0x131)]));return _0x4b042d[_0x545e03(0x155)](_interopRequireDefault,helper[_0x545e03(0x190)](_0x7c69c1));})()),_seleniumWebdriver2=((()=>{const _0x19b471=a20_0x7b11c2,_0x50170f={'uuWFp':function(_0x3bb876,_0x5125cf){return _0x3bb876(_0x5125cf);}};try{const _0x288cb3=helper[_0x19b471(0x13f)]();return helper['modifyCommand'](),_0x50170f[_0x19b471(0x14e)](_interopRequireDefault,_0x288cb3);}catch{return null;}})());function _interopRequireDefault(_0x1ff6a2){return _0x1ff6a2&&_0x1ff6a2['__esModule']?_0x1ff6a2:{'default':_0x1ff6a2};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2['default'][a20_0x7b11c2(0x19b)]:null;class CustomEnvironment extends _jestUserEnvironment[a20_0x7b11c2(0x176)]{constructor(_0x2db613){const _0x32e955=a20_0x7b11c2,_0x6fc09c={'YVeMK':_0x32e955(0x16f),'jdRcr':function(_0x59a286,_0x552a3e){return _0x59a286+_0x552a3e;},'bVBbZ':_0x32e955(0x173),'cvhTc':function(_0xef0ab8,_0x3d9dcc){return _0xef0ab8(_0x3d9dcc);},'ghIns':_0x32e955(0x14b),'WJKUu':'2|7|4|1|6|3|0|5','zpPCk':_0x32e955(0x12f),'uLSKu':_0x32e955(0x13b),'aUVRO':_0x32e955(0x13a),'tLLdg':'browserstackPercyBestPlatform','rpQZf':'percyCaptureMode','SCrzP':_0x32e955(0x188)};super(_0x2db613),this['global']['__timeout']=0x0,this['configuration']={};!_0x2db613[_0x32e955(0x12f)]&&(_0x2db613[_0x32e955(0x12f)]={});if(helper[_0x32e955(0x12e)]()){_0x2db613[_0x32e955(0x12f)]=_0x2db613['projectConfig']?_0x2db613[_0x32e955(0x133)][_0x32e955(0x12f)]:_0x2db613['testEnvironmentOptions'];_seleniumWebdriver2&&(this[_0x32e955(0x144)]=new _seleniumWebdriver2[(_0x32e955(0x176))][(_0x32e955(0x19b))]());this[_0x32e955(0x13c)]=_0x2db613['projectConfig']?_0x2db613[_0x32e955(0x133)]['capability']:_0x2db613[_0x32e955(0x13c)],this[_0x32e955(0x147)][_0x32e955(0x18f)]=_0x6fc09c[_0x32e955(0x126)](_0x2db613['testEnvironmentOptions'][_0x32e955(0x127)]||0x1388,constants['BSTACK_DELTA']),this[_0x32e955(0x160)]=_0x2db613['testEnvironmentOptions']['failFast'];if(this[_0x32e955(0x160)]){const _0x2927fa=this['capability'][_0x6fc09c[_0x32e955(0x17b)]]?.[_0x32e955(0x161)]||'',_0x28d5d3=this['capability'][_0x6fc09c[_0x32e955(0x17b)]]?.[_0x32e955(0x132)]||'';this[_0x32e955(0x15f)]=new(_0x6fc09c[_0x32e955(0x141)](require,_0x6fc09c[_0x32e955(0x134)]))(this[_0x32e955(0x160)],_0x2927fa,_0x28d5d3),this[_0x32e955(0x147)][_0x32e955(0x183)]=![];}helper[_0x32e955(0x13d)](_0x2db613[_0x32e955(0x12f)][_0x32e955(0x15c)])&&(this[_0x32e955(0x147)][_0x32e955(0x17a)]=_0x2db613['testEnvironmentOptions'][_0x32e955(0x15c)]);}if(testhubUtils['shouldProcessEventForTesthub']()){const _0xb328bd=new ObservabilityReporter();_0xb328bd['registerListeners']();}this[_0x32e955(0x147)][_0x32e955(0x139)]={},this[_0x32e955(0x192)]=_0x2db613[_0x32e955(0x12f)],this[_0x32e955(0x192)][_0x32e955(0x148)]=constants['FRAMEWORKS'][_0x32e955(0x14a)],this[_0x32e955(0x147)][_0x32e955(0x16a)]=(_0x2db613[_0x32e955(0x133)]?_0x2db613[_0x32e955(0x133)][_0x32e955(0x16a)]:_0x2db613[_0x32e955(0x16a)])||0x0,this['global']['__platformCaps']=this[_0x32e955(0x192)]&&this[_0x32e955(0x192)][_0x32e955(0x150)]&&Array['isArray'](this[_0x32e955(0x192)][_0x32e955(0x150)])&&this['configuration']['platformCaps'][this[_0x32e955(0x147)][_0x32e955(0x16a)]]||{};const _0xdb57af=this[_0x32e955(0x147)][_0x32e955(0x16a)],_0x1ba040={...this['configuration'],'capability':this[_0x32e955(0x192)]['capabilities']&&Array[_0x32e955(0x19a)](this[_0x32e955(0x192)][_0x32e955(0x186)])&&this['configuration'][_0x32e955(0x186)][_0xdb57af]||{},'platformCaps':this[_0x32e955(0x192)]['platformCaps']&&Array[_0x32e955(0x19a)](this[_0x32e955(0x192)]['platformCaps'])&&this[_0x32e955(0x192)][_0x32e955(0x150)][_0xdb57af]||{}};delete _0x1ba040[_0x32e955(0x186)],this[_0x32e955(0x147)][_0x32e955(0x14d)]=_0x1ba040;if(_seleniumWebdriver2){const _0x108b94=_0x6fc09c['WJKUu']['split']('|');let _0x182070=0x0;while(!![]){switch(_0x108b94[_0x182070++]){case'0':this[_0x32e955(0x147)]['__skipSessionStatus']=helper['isTrue'](this[_0x32e955(0x192)][_0x32e955(0x13e)]);continue;case'1':this[_0x32e955(0x147)][_0x32e955(0x13a)]=helper[_0x32e955(0x174)](_0x2db613,[_0x6fc09c['zpPCk'],_0x6fc09c[_0x32e955(0x151)],_0x6fc09c['aUVRO']]);continue;case'2':this['global']['__drivers']=[];continue;case'3':helper[_0x32e955(0x178)](this[_0x32e955(0x192)][_0x32e955(0x16d)])?this['global'][_0x32e955(0x18e)]=!![]:this['global'][_0x32e955(0x18e)]=![];continue;case'4':this['global'][_0x32e955(0x152)]=helper[_0x32e955(0x174)](_0x2db613,[_0x6fc09c[_0x32e955(0x170)],_0x6fc09c['uLSKu'],_0x6fc09c[_0x32e955(0x166)]]);continue;case'5':this['global'][_0x32e955(0x197)]=async()=>{const _0x104df0=_0x32e955;await this['global'][_0x104df0(0x12c)][_0x104df0(0x16f)](_0x6fc09c[_0x104df0(0x146)]);};continue;case'6':this[_0x32e955(0x147)][_0x32e955(0x143)]=helper['nestedKeyValue'](_0x2db613,[_0x6fc09c['zpPCk'],_0x6fc09c[_0x32e955(0x151)],_0x6fc09c[_0x32e955(0x145)]]);continue;case'7':this[_0x32e955(0x147)][_0x32e955(0x180)]=_0x6fc09c[_0x32e955(0x141)](require,_0x6fc09c[_0x32e955(0x16e)])['browserstackAgentV2']({...this['configuration'],'capability':this['capability']||{}},this,testhubUtils['shouldProcessEventForTesthub']());continue;}break;}}}async[a20_0x7b11c2(0x157)](){const _0x51b4db=a20_0x7b11c2;_seleniumWebdriver2&&(await helper[_0x51b4db(0x171)](this['global']['__driversArray']),this[_0x51b4db(0x147)][_0x51b4db(0x180)][_0x51b4db(0x19b)]=originalBuilder),await RequestQueueHandler[_0x51b4db(0x177)]()[_0x51b4db(0x18a)]();}async['setup'](){}async[a20_0x7b11c2(0x169)](_0x2daf0c,_0x1d682b){const _0x527dd0=a20_0x7b11c2,_0x546da9={};_0x546da9[_0x527dd0(0x172)]=function(_0x2f9cfb,_0xdf1d80){return _0x2f9cfb===_0xdf1d80;},_0x546da9[_0x527dd0(0x15d)]=_0x527dd0(0x12d),_0x546da9[_0x527dd0(0x168)]=function(_0x1c5aff,_0x321c54){return _0x1c5aff===_0x321c54;},_0x546da9[_0x527dd0(0x175)]=_0x527dd0(0x165),_0x546da9[_0x527dd0(0x130)]=function(_0x4f0f80,_0x1843e4){return _0x4f0f80===_0x1843e4;},_0x546da9[_0x527dd0(0x181)]='test_done',_0x546da9['ZIxjr']=_0x527dd0(0x142),_0x546da9[_0x527dd0(0x14f)]=function(_0x4e50d7,_0xc8665a){return _0x4e50d7===_0xc8665a;},_0x546da9[_0x527dd0(0x185)]=function(_0x4b5232,_0x151d6e){return _0x4b5232===_0x151d6e;},_0x546da9['ksPun']=_0x527dd0(0x16c),_0x546da9[_0x527dd0(0x193)]=function(_0x2d0f1b,_0x244e1a){return _0x2d0f1b===_0x244e1a;},_0x546da9['qBDgK']=_0x527dd0(0x157);const _0x3638a1=_0x546da9,{name:_0x7c2c69}=_0x2daf0c;if(_0x3638a1[_0x527dd0(0x172)](_0x7c2c69,_0x3638a1[_0x527dd0(0x15d)])){this[_0x527dd0(0x147)][_0x527dd0(0x199)]=_0x2daf0c[_0x527dd0(0x140)];if(_0x3638a1[_0x527dd0(0x168)](this['global'][_0x527dd0(0x183)],!![])){const _0x11ff89=_0x2daf0c['test'][_0x527dd0(0x138)];logger['info'](_0x527dd0(0x17e)+_0x11ff89),_0x2daf0c[_0x527dd0(0x140)]['mode']=_0x3638a1[_0x527dd0(0x175)];}}if(this[_0x527dd0(0x15f)]&&_0x3638a1['RTAFO'](_0x7c2c69,_0x3638a1[_0x527dd0(0x181)]))try{const _0x261fb4=_0x2daf0c['test'][_0x527dd0(0x18b)][_0x527dd0(0x137)](_0x3638a1['ZIxjr']),_0x53d3d6=_0x2daf0c[_0x527dd0(0x140)][_0x527dd0(0x128)];await this[_0x527dd0(0x15f)][_0x527dd0(0x136)](_0x261fb4,_0x53d3d6);const _0x3dd7d6=await this[_0x527dd0(0x15f)][_0x527dd0(0x18c)]();_0x3638a1[_0x527dd0(0x14f)](this[_0x527dd0(0x147)][_0x527dd0(0x183)],![])&&_0x3638a1['VccrF'](_0x3dd7d6,!![])&&(this[_0x527dd0(0x147)][_0x527dd0(0x183)]=!![]);}catch(_0x44f243){logger[_0x527dd0(0x17d)](_0x3638a1[_0x527dd0(0x129)],_0x44f243[_0x527dd0(0x187)]);}_0x3638a1['sVuhA'](_0x7c2c69,_0x3638a1['qBDgK'])&&(this[_0x527dd0(0x15f)]&&this[_0x527dd0(0x15f)]['cleanup']());}}function a20_0x5677(_0x34efc0,_0x152a7a){const _0x311424=a20_0x3114();return a20_0x5677=function(_0x567712,_0x9b1885){_0x567712=_0x567712-0x126;let _0x4273ca=_0x311424[_0x567712];return _0x4273ca;},a20_0x5677(_0x34efc0,_0x152a7a);}module[a20_0x7b11c2(0x164)]=CustomEnvironment;
|
|
1
|
+
const a20_0x45bc72=a20_0x10ef;(function(_0x4ccc56,_0x19b6ad){const _0x171053=a20_0x10ef,_0x3846ce=_0x4ccc56();while(!![]){try{const _0x82006f=-parseInt(_0x171053(0x1f2))/0x1+-parseInt(_0x171053(0x1a7))/0x2*(parseInt(_0x171053(0x1fc))/0x3)+parseInt(_0x171053(0x1f8))/0x4*(parseInt(_0x171053(0x1c1))/0x5)+-parseInt(_0x171053(0x1c4))/0x6+-parseInt(_0x171053(0x211))/0x7*(parseInt(_0x171053(0x209))/0x8)+parseInt(_0x171053(0x1b3))/0x9*(-parseInt(_0x171053(0x1ec))/0xa)+parseInt(_0x171053(0x1ae))/0xb;if(_0x82006f===_0x19b6ad)break;else _0x3846ce['push'](_0x3846ce['shift']());}catch(_0xf5d134){_0x3846ce['push'](_0x3846ce['shift']());}}}(a20_0x2f34,0x9b38d));function a20_0x10ef(_0x178727,_0x293855){const _0x2f3459=a20_0x2f34();return a20_0x10ef=function(_0x10efe2,_0x131534){_0x10efe2=_0x10efe2-0x1a6;let _0x2de9ec=_0x2f3459[_0x10efe2];return _0x2de9ec;},a20_0x10ef(_0x178727,_0x293855);}function a20_0x2f34(){const _0x1ef565=['nfsfU','browserStackGlobals','bKYRM','configuration','winstonLogger','4269062zCFYYb','jestConfig','\x20>\x20','env','cleanup','testContext','qtlrW','116uQjKWS','__drivers','join','wsckh','info','browserstackAgentV2','zNmGU','36581182GVLnrR','split','aBFAP','framework','isArray','2318310LfxQCj','timeout__','failFast','skipSessionName','test_start','teardown','quit','__webdriver','WNOOz','debug','UDIYy','failFastActive','BLYHC','isTrue','75YbQHqz','TsRSL','kiNso','6365112leZuRR','../../../helpers/test-orchestration/failfastManager','zPttA','handleTestEvent','skip','shouldFailFast','FXWXj','bHHiu','test','../../../index','global','AqUWr','driver','retries__','eBmXv','message','__esModule','tgztn','Error\x20in\x20fail-fast\x20test_done\x20handler:','exports','mode','cFOvk','onTestDone','setup','../test-observability/obsReporter','errors','browserstackPercyBestPlatform','percyCaptureMode','nestedKeyValue','ITHAk','shutdown','capabilities','registerListeners','testEnvironmentOptions','../../../helpers/testhub/utils','getInstance','Builder','capability','testPath','../../../helpers/test-observability/utils','10GIQAXd','wtYLe','2|4|7|6|0|1|5|3','../../../helpers/logger','browserstackPlatformIndex','requireModule','387052ZbmpLq','../../utils/constants','__platformCaps','JEST','projectName','builder','13388qCJdCc','platformCaps','__timeout','modifyCommand','21963NVRbLp','jest-config','shouldProcessEventForTesthub','failFastOptions','default','PWPwO','projectConfig','resolveTestEnvironment','__jestRetries','hdFcy','__skipSessionStatus','rWFtl','FVNFf','8lWGfVp','lEmwp','getTestEnvironment'];a20_0x2f34=function(){return _0x1ef565;};return a20_0x2f34();}const helper=require('../../../helpers/helper'),constants=require(a20_0x45bc72(0x1f3)),{isTestObservabilitySession}=require(a20_0x45bc72(0x1eb)),RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),ObservabilityReporter=require(a20_0x45bc72(0x1dc)),testhubUtils=require(a20_0x45bc72(0x1e6)),logger=require(a20_0x45bc72(0x1ef))[a20_0x45bc72(0x210)],getTestEnvironment=((()=>{const _0x310818=a20_0x45bc72,_0x546547={};_0x546547[_0x310818(0x1e1)]='jest-resolve',_0x546547[_0x310818(0x1d2)]=_0x310818(0x1fd);const _0xf4c036=_0x546547;try{const _0x2d2fa0=helper['requireModule'](_0xf4c036[_0x310818(0x1e1)]);if(_0x2d2fa0[_0x310818(0x203)])return _0x2d2fa0[_0x310818(0x203)];const _0x5e04f6=helper[_0x310818(0x1f1)](_0xf4c036['eBmXv']);if(_0x5e04f6[_0x310818(0x20b)])return _0x5e04f6['getTestEnvironment'];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x57e405=a20_0x45bc72,_0x214632={'BLYHC':function(_0x3680ae,_0x3c0267){return _0x3680ae(_0x3c0267);},'wsckh':'node','FVNFf':'jest-environment-node','YnfqO':function(_0x5c3be0,_0x2ad551){return _0x5c3be0(_0x2ad551);}},_0x2f179f=_0x214632[_0x57e405(0x1bf)](getTestEnvironment,{'rootDir':process['cwd'](),'testEnvironment':process[_0x57e405(0x214)]['BSTACK_JEST_TEST_ENV']||_0x214632[_0x57e405(0x1aa)]});if(!_0x2f179f)return _0x214632['BLYHC'](_interopRequireDefault,helper[_0x57e405(0x1f1)](_0x214632[_0x57e405(0x208)]));return _0x214632['YnfqO'](_interopRequireDefault,helper['requireModule'](_0x2f179f));})()),_seleniumWebdriver2=((()=>{const _0x3bd861=a20_0x45bc72,_0x4f0b45={'FXWXj':function(_0x566fa2,_0x901f6b){return _0x566fa2(_0x901f6b);}};try{const _0x508927=helper['requireSeleniumWebdriver']();return helper[_0x3bd861(0x1fb)](),_0x4f0b45[_0x3bd861(0x1ca)](_interopRequireDefault,_0x508927);}catch{return null;}})());function _interopRequireDefault(_0x2eab83){const _0x577a79=a20_0x45bc72;return _0x2eab83&&_0x2eab83[_0x577a79(0x1d4)]?_0x2eab83:{'default':_0x2eab83};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2['default'][a20_0x45bc72(0x1e8)]:null;class CustomEnvironment extends _jestUserEnvironment['default']{constructor(_0xc4917d){const _0x26c37f=a20_0x45bc72,_0x24bcc1={'zPttA':_0x26c37f(0x1b9),'aBFAP':function(_0x27f6b9,_0x5bdb4c){return _0x27f6b9+_0x5bdb4c;},'tgztn':'bstack:options','lEmwp':function(_0x2c3f08,_0x507603){return _0x2c3f08(_0x507603);},'bKYRM':_0x26c37f(0x1c5),'wtYLe':_0x26c37f(0x1ee),'PWPwO':_0x26c37f(0x1e5),'rWFtl':'browserStackPercyOptions','DfWYl':'percyCaptureMode','bHHiu':_0x26c37f(0x1cd),'cRWUr':'percy','UDIYy':_0x26c37f(0x1de)};super(_0xc4917d),this[_0x26c37f(0x1ce)]['__timeout']=0x0,this['configuration']={};!_0xc4917d['testEnvironmentOptions']&&(_0xc4917d[_0x26c37f(0x1e5)]={});if(helper['isBrowserstackInfra']()){_0xc4917d['testEnvironmentOptions']=_0xc4917d['projectConfig']?_0xc4917d[_0x26c37f(0x202)][_0x26c37f(0x1e5)]:_0xc4917d[_0x26c37f(0x1e5)];_seleniumWebdriver2&&(this[_0x26c37f(0x1f7)]=new _seleniumWebdriver2[(_0x26c37f(0x200))][(_0x26c37f(0x1e8))]());this[_0x26c37f(0x1e9)]=_0xc4917d[_0x26c37f(0x202)]?_0xc4917d['projectConfig'][_0x26c37f(0x1e9)]:_0xc4917d[_0x26c37f(0x1e9)],this[_0x26c37f(0x1ce)][_0x26c37f(0x1fa)]=_0x24bcc1[_0x26c37f(0x1b0)](_0xc4917d[_0x26c37f(0x1e5)][_0x26c37f(0x1b4)]||0x1388,constants['BSTACK_DELTA']),this[_0x26c37f(0x1ff)]=_0xc4917d[_0x26c37f(0x1e5)][_0x26c37f(0x1b5)];if(this[_0x26c37f(0x1ff)]){const _0x39529e=this[_0x26c37f(0x1e9)][_0x24bcc1[_0x26c37f(0x1d5)]]?.['buildName']||'',_0xd230a2=this[_0x26c37f(0x1e9)][_0x24bcc1['tgztn']]?.[_0x26c37f(0x1f6)]||'';this['failFast']=new(_0x24bcc1[_0x26c37f(0x20a)](require,_0x24bcc1[_0x26c37f(0x20e)]))(this[_0x26c37f(0x1ff)],_0x39529e,_0xd230a2),this[_0x26c37f(0x1ce)][_0x26c37f(0x1be)]=![];}helper['isNotUndefined'](_0xc4917d[_0x26c37f(0x1e5)][_0x26c37f(0x1d1)])&&(this[_0x26c37f(0x1ce)][_0x26c37f(0x204)]=_0xc4917d['testEnvironmentOptions'][_0x26c37f(0x1d1)]);}if(testhubUtils[_0x26c37f(0x1fe)]()){const _0x5b6f7c=new ObservabilityReporter();_0x5b6f7c[_0x26c37f(0x1e4)]();}this[_0x26c37f(0x1ce)][_0x26c37f(0x20d)]={},this[_0x26c37f(0x20f)]=_0xc4917d[_0x26c37f(0x1e5)],this[_0x26c37f(0x20f)][_0x26c37f(0x1b1)]=constants['FRAMEWORKS'][_0x26c37f(0x1f5)],this[_0x26c37f(0x1ce)][_0x26c37f(0x1f0)]=(_0xc4917d[_0x26c37f(0x202)]?_0xc4917d[_0x26c37f(0x202)][_0x26c37f(0x1f0)]:_0xc4917d['browserstackPlatformIndex'])||0x0,this[_0x26c37f(0x1ce)][_0x26c37f(0x1f4)]=this['configuration']&&this['configuration'][_0x26c37f(0x1f9)]&&Array[_0x26c37f(0x1b2)](this[_0x26c37f(0x20f)][_0x26c37f(0x1f9)])&&this[_0x26c37f(0x20f)][_0x26c37f(0x1f9)][this['global'][_0x26c37f(0x1f0)]]||{};const _0x41b420=this[_0x26c37f(0x1ce)][_0x26c37f(0x1f0)],_0x47b5e5={...this[_0x26c37f(0x20f)],'capability':this['configuration'][_0x26c37f(0x1e3)]&&Array[_0x26c37f(0x1b2)](this[_0x26c37f(0x20f)][_0x26c37f(0x1e3)])&&this['configuration']['capabilities'][_0x41b420]||{},'platformCaps':this[_0x26c37f(0x20f)]['platformCaps']&&Array['isArray'](this['configuration'][_0x26c37f(0x1f9)])&&this[_0x26c37f(0x20f)][_0x26c37f(0x1f9)][_0x41b420]||{}};delete _0x47b5e5[_0x26c37f(0x1e3)],this[_0x26c37f(0x1ce)][_0x26c37f(0x212)]=_0x47b5e5;if(_seleniumWebdriver2){const _0x5c0c09=_0x24bcc1[_0x26c37f(0x1ed)][_0x26c37f(0x1af)]('|');let _0x4d3b72=0x0;while(!![]){switch(_0x5c0c09[_0x4d3b72++]){case'0':this['global'][_0x26c37f(0x1df)]=helper[_0x26c37f(0x1e0)](_0xc4917d,[_0x24bcc1[_0x26c37f(0x201)],_0x24bcc1[_0x26c37f(0x207)],_0x24bcc1['DfWYl']]);continue;case'1':helper[_0x26c37f(0x1c0)](this[_0x26c37f(0x20f)][_0x26c37f(0x1b6)])?this[_0x26c37f(0x1ce)]['sessionNameProvided']=!![]:this[_0x26c37f(0x1ce)]['sessionNameProvided']=![];continue;case'2':this[_0x26c37f(0x1ce)][_0x26c37f(0x1a8)]=[];continue;case'3':this['global'][_0x26c37f(0x215)]=async()=>{const _0x4da8c1=_0x26c37f;await this[_0x4da8c1(0x1ce)][_0x4da8c1(0x1d0)][_0x4da8c1(0x1b9)](_0x24bcc1[_0x4da8c1(0x1c6)]);};continue;case'4':this[_0x26c37f(0x1ce)][_0x26c37f(0x1ba)]=_0x24bcc1[_0x26c37f(0x20a)](require,_0x24bcc1[_0x26c37f(0x1cb)])[_0x26c37f(0x1ac)]({...this[_0x26c37f(0x20f)],'capability':this[_0x26c37f(0x1e9)]||{}},this,testhubUtils['shouldProcessEventForTesthub']());continue;case'5':this[_0x26c37f(0x1ce)][_0x26c37f(0x206)]=helper[_0x26c37f(0x1c0)](this[_0x26c37f(0x20f)]['skipSessionStatus']);continue;case'6':this[_0x26c37f(0x1ce)]['percy']=helper['nestedKeyValue'](_0xc4917d,[_0x24bcc1['PWPwO'],_0x24bcc1['rWFtl'],_0x24bcc1['cRWUr']]);continue;case'7':this[_0x26c37f(0x1ce)][_0x26c37f(0x1de)]=helper['nestedKeyValue'](_0xc4917d,[_0x24bcc1[_0x26c37f(0x201)],_0x24bcc1[_0x26c37f(0x207)],_0x24bcc1[_0x26c37f(0x1bd)]]);continue;}break;}}}async[a20_0x45bc72(0x1b8)](){const _0x2fd9b0=a20_0x45bc72;_seleniumWebdriver2&&(await helper['cleanupDrivers'](this[_0x2fd9b0(0x1ce)]['__driversArray']),this[_0x2fd9b0(0x1ce)]['__webdriver'][_0x2fd9b0(0x1e8)]=originalBuilder),await RequestQueueHandler[_0x2fd9b0(0x1e7)]()[_0x2fd9b0(0x1e2)]();}async[a20_0x45bc72(0x1db)](){}async[a20_0x45bc72(0x1c7)](_0x2248db,_0x1850e1){const _0x470773=a20_0x45bc72,_0x32f6e2={};_0x32f6e2[_0x470773(0x1bb)]=function(_0x2f6461,_0x5931c7){return _0x2f6461===_0x5931c7;},_0x32f6e2[_0x470773(0x1a6)]=_0x470773(0x1b7),_0x32f6e2[_0x470773(0x1c3)]=_0x470773(0x1c8),_0x32f6e2['XlRUr']=function(_0x4d65fc,_0x3e1de8){return _0x4d65fc===_0x3e1de8;},_0x32f6e2[_0x470773(0x1cf)]='test_done',_0x32f6e2[_0x470773(0x1ad)]=_0x470773(0x213),_0x32f6e2['nfsfU']=function(_0x2ac072,_0x2a7ca9){return _0x2ac072===_0x2a7ca9;},_0x32f6e2['FrXin']=function(_0x8a0f1a,_0xdc1753){return _0x8a0f1a===_0xdc1753;},_0x32f6e2[_0x470773(0x1d9)]=_0x470773(0x1d6),_0x32f6e2[_0x470773(0x205)]=function(_0x43d27a,_0x5b1199){return _0x43d27a===_0x5b1199;},_0x32f6e2['TsRSL']=_0x470773(0x1b8);const _0x4dcad2=_0x32f6e2,{name:_0x17719d}=_0x2248db;if(_0x4dcad2[_0x470773(0x1bb)](_0x17719d,_0x4dcad2[_0x470773(0x1a6)])){this['global'][_0x470773(0x216)]=_0x2248db[_0x470773(0x1cc)];if(_0x4dcad2['WNOOz'](this[_0x470773(0x1ce)][_0x470773(0x1be)],!![])){const _0x230039=_0x2248db[_0x470773(0x1cc)]['name'];logger[_0x470773(0x1ab)]('Fail-fast\x20is\x20active,\x20skipping\x20test::\x20'+_0x230039),_0x2248db['test'][_0x470773(0x1d8)]=_0x4dcad2[_0x470773(0x1c3)];}}if(this[_0x470773(0x1b5)]&&_0x4dcad2['XlRUr'](_0x17719d,_0x4dcad2[_0x470773(0x1cf)]))try{const _0x597bed=_0x2248db[_0x470773(0x1cc)][_0x470773(0x1ea)][_0x470773(0x1a9)](_0x4dcad2[_0x470773(0x1ad)]),_0xe23d5c=_0x2248db[_0x470773(0x1cc)][_0x470773(0x1dd)];await this['failFast'][_0x470773(0x1da)](_0x597bed,_0xe23d5c);const _0x57dcd2=await this[_0x470773(0x1b5)][_0x470773(0x1c9)]();_0x4dcad2[_0x470773(0x20c)](this[_0x470773(0x1ce)][_0x470773(0x1be)],![])&&_0x4dcad2['FrXin'](_0x57dcd2,!![])&&(this[_0x470773(0x1ce)][_0x470773(0x1be)]=!![]);}catch(_0x190768){logger[_0x470773(0x1bc)](_0x4dcad2[_0x470773(0x1d9)],_0x190768[_0x470773(0x1d3)]);}_0x4dcad2[_0x470773(0x205)](_0x17719d,_0x4dcad2[_0x470773(0x1c2)])&&(this[_0x470773(0x1b5)]&&this[_0x470773(0x1b5)][_0x470773(0x215)]());}}module[a20_0x45bc72(0x1d7)]=CustomEnvironment;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a21_0x5ad598=a21_0x5ccc;(function(_0x4ddac5,_0x201881){const _0x12aca7=a21_0x5ccc,_0x3fa9e1=_0x4ddac5();while(!![]){try{const _0x5931a2=-parseInt(_0x12aca7(0x16e))/0x1+-parseInt(_0x12aca7(0x175))/0x2+-parseInt(_0x12aca7(0x197))/0x3+-parseInt(_0x12aca7(0x15d))/0x4*(parseInt(_0x12aca7(0x12b))/0x5)+-parseInt(_0x12aca7(0xe0))/0x6*(-parseInt(_0x12aca7(0x16d))/0x7)+-parseInt(_0x12aca7(0x1d3))/0x8*(-parseInt(_0x12aca7(0x1c7))/0x9)+parseInt(_0x12aca7(0x106))/0xa*(parseInt(_0x12aca7(0x1de))/0xb);if(_0x5931a2===_0x201881)break;else _0x3fa9e1['push'](_0x3fa9e1['shift']());}catch(_0x294760){_0x3fa9e1['push'](_0x3fa9e1['shift']());}}}(a21_0x35d4,0xee776));const {requireModule,isTrue}=require(a21_0x5ad598(0x11e)),ObservabilityReporter=require(a21_0x5ad598(0x142)),RequestQueueHandler=require(a21_0x5ad598(0xe3)),TestDetails=require(a21_0x5ad598(0x16b)),{patchConsoleLogger,debug}=require(a21_0x5ad598(0xfd)),{o11yErrorHandler}=require(a21_0x5ad598(0x13b)),{shouldProcessEventForTesthub}=require(a21_0x5ad598(0x1e6)),testHubConstants=require(a21_0x5ad598(0x1b1)),BrowserstackCLI=require('../../v2/browserstackCLI'),TestFrameworkState=require('../../v2/state/testFrameworkState'),HookState=require(a21_0x5ad598(0x112)),JestUtils=require(a21_0x5ad598(0xd2)),{v4:uuidv4}=require('uuid'),util=require(a21_0x5ad598(0x1be)),logger=require('../../../helpers/logger')[a21_0x5ad598(0x14c)],{FRAMEWORKS}=require(a21_0x5ad598(0x1c8));let exportsI;try{exportsI=requireModule(a21_0x5ad598(0x126),a21_0x5ad598(0x187));}catch{exportsI=requireModule(a21_0x5ad598(0x177),a21_0x5ad598(0x187));}const initInitialize=exportsI[a21_0x5ad598(0x169)],jestUtils=new JestUtils(),_initializedPlatformIndices=new Set();let _currentTestPath=null;function getFullJestTestName(_0x569f0c){const _0x395285=a21_0x5ad598,_0x2b0bea={};_0x2b0bea[_0x395285(0x118)]=function(_0x4573d7,_0x1ba359){return _0x4573d7!==_0x1ba359;},_0x2b0bea[_0x395285(0x1cb)]=_0x395285(0x19a);const _0x58502e=_0x2b0bea;try{const _0x49f7b1=[];let _0x436623=_0x569f0c;while(_0x436623){_0x436623[_0x395285(0x167)]&&_0x58502e[_0x395285(0x118)](_0x436623[_0x395285(0x167)],_0x58502e[_0x395285(0x1cb)])&&_0x49f7b1['unshift'](_0x436623[_0x395285(0x167)]),_0x436623=_0x436623[_0x395285(0xd7)];}return _0x49f7b1['join']('\x20');}catch(_0x467da4){return _0x569f0c&&_0x569f0c[_0x395285(0x167)]||'';}}function getActiveTestNamePattern(){const _0x4f1b32=a21_0x5ad598,_0x619475={'gWSjj':function(_0x141616,_0x4401d9,_0x579ab7){return _0x141616(_0x4401d9,_0x579ab7);},'PGArd':_0x4f1b32(0xec),'UlSat':_0x4f1b32(0x187),'xTmCq':function(_0x1a805e,_0x4ad6b8){return _0x1a805e(_0x4ad6b8);},'ethdi':function(_0x514b0a,_0x318ce7){return _0x514b0a===_0x318ce7;},'wPYWC':_0x4f1b32(0x1b0),'zKrSp':function(_0x577b32,_0x8d0446){return _0x577b32 instanceof _0x8d0446;},'ezkvW':function(_0xaae306,_0x18eea4){return _0xaae306===_0x18eea4;},'iMHwO':_0x4f1b32(0x170),'irSFQ':function(_0x551385,_0x55297c){return _0x551385>_0x55297c;},'PhQVK':function(_0x5374d3,_0x6ec66f){return _0x5374d3<_0x6ec66f;},'FKxlr':function(_0x4e2d20,_0x46b522){return _0x4e2d20===_0x46b522;},'PmDgd':function(_0x1cff61,_0x367da5){return _0x1cff61===_0x367da5;},'gTwgX':'--testNamePattern','xVtyR':function(_0x14f66d,_0x5c4b1b){return _0x14f66d+_0x5c4b1b;},'sUELX':_0x4f1b32(0x155),'AskaE':_0x4f1b32(0xee)};try{let _0x6bec1;try{_0x6bec1=_0x619475['gWSjj'](requireModule,_0x619475[_0x4f1b32(0x1dd)],_0x619475[_0x4f1b32(0x1a8)]);}catch{_0x6bec1=_0x619475['xTmCq'](requireModule,_0x619475[_0x4f1b32(0x1a8)]);}if(_0x6bec1&&_0x619475[_0x4f1b32(0x1d5)](typeof _0x6bec1[_0x4f1b32(0x199)],_0x619475[_0x4f1b32(0xea)])){const _0xd53dc=_0x6bec1[_0x4f1b32(0x199)]();if(_0xd53dc&&_0xd53dc[_0x4f1b32(0x127)]){if(_0x619475[_0x4f1b32(0x19f)](_0xd53dc['testNamePattern'],RegExp))return _0xd53dc[_0x4f1b32(0x127)];if(_0x619475[_0x4f1b32(0x15f)](typeof _0xd53dc[_0x4f1b32(0x127)],_0x619475['iMHwO'])&&_0x619475['irSFQ'](_0xd53dc[_0x4f1b32(0x127)][_0x4f1b32(0x157)],0x0))return new RegExp(_0xd53dc['testNamePattern'],'i');}}}catch(_0x2bc638){}try{const _0x41e8f2=process[_0x4f1b32(0x1b4)]||[];for(let _0x83d78d=0x0;_0x619475['PhQVK'](_0x83d78d,_0x41e8f2[_0x4f1b32(0x157)]);_0x83d78d++){const _0x2ec75f=_0x41e8f2[_0x83d78d];if(_0x619475[_0x4f1b32(0x146)](_0x2ec75f,'-t')||_0x619475[_0x4f1b32(0x1d8)](_0x2ec75f,_0x619475[_0x4f1b32(0xf0)])){const _0x56c3d2=_0x41e8f2[_0x619475['xVtyR'](_0x83d78d,0x1)];if(_0x56c3d2&&!_0x56c3d2[_0x4f1b32(0xcf)]('-'))return new RegExp(_0x56c3d2,'i');}else{if(_0x2ec75f&&(_0x2ec75f[_0x4f1b32(0xcf)](_0x619475[_0x4f1b32(0x108)])||_0x2ec75f[_0x4f1b32(0xcf)](_0x619475[_0x4f1b32(0x1a6)]))){const _0x50df6a=_0x2ec75f['split']('=')['slice'](0x1)[_0x4f1b32(0xf2)]('=');if(_0x50df6a)return new RegExp(_0x50df6a,'i');}}}}catch(_0x3c8dbe){}return null;}function isPhantomSkipFromNameFilter(_0xfbc505){const _0x25ff36=a21_0x5ad598,_0x2f80e0={'moUyr':function(_0x57597a){return _0x57597a();},'WYdPr':function(_0x253318,_0x3da37c){return _0x253318(_0x3da37c);}},_0x3972b0=_0x2f80e0[_0x25ff36(0x1d9)](getActiveTestNamePattern);if(!_0x3972b0)return![];const _0x4e31c7=_0x2f80e0[_0x25ff36(0x124)](getFullJestTestName,_0xfbc505);if(!_0x4e31c7)return![];return!_0x3972b0[_0x25ff36(0x17a)](_0x4e31c7);}async function isCLIReady(){const _0x1ff357=a21_0x5ad598,_0x229bd5={'Ulxfe':'CLI\x20is\x20enabled\x20and\x20running.','AzRQF':function(_0x3210ac,_0x3c4bca){return _0x3210ac(_0x3c4bca);},'DyTcg':_0x1ff357(0x10d),'AkOtK':function(_0x45526a,_0x4dca7e){return _0x45526a===_0x4dca7e;},'dmZPH':_0x1ff357(0x1c2),'UxIRh':function(_0x48a212,_0x62c28f){return _0x48a212(_0x62c28f);}};try{const _0x2242b9=BrowserstackCLI[_0x1ff357(0x15a)]();if(_0x2242b9[_0x1ff357(0x193)]()&&_0x2242b9[_0x1ff357(0x16a)]())return logger['debug'](_0x229bd5[_0x1ff357(0x14f)]),!![];const _0x2d3b5d=process['env'][_0x1ff357(0x11a)];if(_0x2d3b5d&&_0x2242b9['isCliEnabled']()){if(!_0x2242b9[_0x1ff357(0x16a)]())try{const _0x4d0f56=_0x229bd5[_0x1ff357(0x1b6)](require,_0x229bd5[_0x1ff357(0x151)]),_0x29ab0b=_0x4d0f56[_0x1ff357(0x1c9)]();(!_0x29ab0b||!_0x29ab0b['name'])&&(_0x229bd5[_0x1ff357(0x163)](process['env'][_0x1ff357(0x11b)],_0x229bd5[_0x1ff357(0x1ba)])?_0x4d0f56[_0x1ff357(0x1df)](FRAMEWORKS[_0x1ff357(0x143)],FRAMEWORKS[_0x1ff357(0x1e2)]):_0x4d0f56[_0x1ff357(0x1df)](FRAMEWORKS[_0x1ff357(0x143)],FRAMEWORKS[_0x1ff357(0xed)])),await _0x2242b9[_0x1ff357(0x107)]();}catch(_0x334ffc){return _0x229bd5['AzRQF'](debug,'Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20'+util['format'](_0x334ffc)),![];}return _0x2242b9[_0x1ff357(0x16a)]();}return![];}catch(_0x938dad){return _0x229bd5[_0x1ff357(0x16c)](debug,_0x1ff357(0x16f)+util['format'](_0x938dad)),![];}}function getTestIdentifierForHook(_0x24b894){const _0xb2f577=a21_0x5ad598,_0x66317e={};_0x66317e[_0xb2f577(0x183)]=function(_0x355216,_0x472d6b){return _0x355216===_0x472d6b;},_0x66317e[_0xb2f577(0xf9)]='beforeEach',_0x66317e[_0xb2f577(0xf8)]=function(_0x24f357,_0x290228){return _0x24f357===_0x290228;},_0x66317e[_0xb2f577(0x13c)]=_0xb2f577(0xcc),_0x66317e[_0xb2f577(0x1c1)]=function(_0x25fdb3,_0x2c104d){return _0x25fdb3===_0x2c104d;};const _0x2ae8c7=_0x66317e;if(_0x2ae8c7[_0xb2f577(0x183)](_0x24b894[_0xb2f577(0x122)],_0x2ae8c7[_0xb2f577(0xf9)])||_0x2ae8c7[_0xb2f577(0xf8)](_0x24b894[_0xb2f577(0x122)],_0x2ae8c7[_0xb2f577(0x13c)])){let _0x1b1e64=global[_0xb2f577(0x135)];if(!_0x1b1e64&&_0x2ae8c7['jNVsj'](_0x24b894[_0xb2f577(0x122)],_0x2ae8c7[_0xb2f577(0x13c)])&&_0x24b894[_0xb2f577(0xd7)]){const _0x510f7d={};_0x510f7d[_0xb2f577(0x167)]=_0x24b894[_0xb2f577(0xd7)][_0xb2f577(0x167)],_0x510f7d[_0xb2f577(0xd7)]=_0x24b894[_0xb2f577(0xd7)][_0xb2f577(0xd7)],_0x510f7d[_0xb2f577(0xda)]=_0x24b894['asyncError'],_0x510f7d['file']=_0x24b894[_0xb2f577(0xce)];const _0x3b45b9=_0x510f7d;_0x1b1e64=jestUtils[_0xb2f577(0x17b)](_0x3b45b9);}return _0x1b1e64;}return global[_0xb2f577(0x135)];}function mapHookTypeToState(_0x36b986){const _0x1d76be=a21_0x5ad598,_0x2460b8={};_0x2460b8[_0x1d76be(0xcc)]=TestFrameworkState[_0x1d76be(0x1b2)],_0x2460b8['afterAll']=TestFrameworkState[_0x1d76be(0xfc)],_0x2460b8[_0x1d76be(0x191)]=TestFrameworkState[_0x1d76be(0x17d)],_0x2460b8[_0x1d76be(0x1cf)]=TestFrameworkState[_0x1d76be(0xdd)];const _0x194751=_0x2460b8;return _0x194751[_0x36b986]||TestFrameworkState[_0x1d76be(0x17d)];}async function handleHookEventCLI(_0x661fec,_0x37072a,_0x33fc77){const _0x5a7aef=a21_0x5ad598,_0x5afa68={'ziZIt':function(_0x157732,_0xdfa364){return _0x157732(_0xdfa364);},'ZwkGe':_0x5a7aef(0x174),'ZFwEY':function(_0x69e49a,_0x4b6946){return _0x69e49a===_0x4b6946;},'DOgJE':_0x5a7aef(0x19a),'eqYKl':function(_0x332852){return _0x332852();},'iUZqW':function(_0x373539){return _0x373539();},'BkrfP':function(_0x50582b,_0xedab97){return _0x50582b===_0xedab97;},'DJjCk':_0x5a7aef(0x1c0),'kqetK':function(_0x30c2a1,_0x4b0e2d){return _0x30c2a1(_0x4b0e2d);},'aORZX':function(_0x51862e,_0xd82098){return _0x51862e===_0xd82098;},'rLAge':function(_0x7b3822,_0x2c9f9d){return _0x7b3822===_0x2c9f9d;},'rkZDv':_0x5a7aef(0xe1),'yGJHj':'hook'};logger[_0x5a7aef(0x1e1)]('Handling\x20hook\x20event\x20for\x20CLI:\x20'+_0x37072a+_0x5a7aef(0x1a5)+_0x661fec[_0x5a7aef(0x122)]);try{if(_0x661fec['fn']&&_0x661fec['fn'][_0x5a7aef(0x141)]()[_0x5a7aef(0x144)](/browserstack internal helper hook/))return;if(_0x661fec[_0x5a7aef(0xd7)]&&_0x5afa68[_0x5a7aef(0xcd)](_0x661fec[_0x5a7aef(0xd7)][_0x5a7aef(0x167)],_0x5afa68['DOgJE'])){const _0x13dca2=_0x661fec['asyncError']&&((()=>{const _0x593a0e=_0x5a7aef;try{const _0x46f27e=_0x5afa68[_0x593a0e(0x1d6)](require,_0x5afa68['ZwkGe']),_0x5d2844=_0x46f27e[_0x593a0e(0xfa)][_0x593a0e(0x109)](_0x46f27e,_0x661fec[_0x593a0e(0xda)]);return _0x5d2844[0x0]&&_0x5d2844[0x0]['getFileName']?_0x5d2844[0x0]['getFileName']():null;}catch(_0xa8400e){return logger[_0x593a0e(0x1e1)](_0x593a0e(0x10f)+_0xa8400e[_0x593a0e(0x192)]),null;}})())||_0x661fec[_0x5a7aef(0xce)]||null;if(!_0x13dca2)return;}let _0x4b685a=_0x661fec[_0x5a7aef(0xe9)];if(!_0x4b685a)_0x4b685a=_0x5afa68[_0x5a7aef(0x194)](uuidv4),_0x661fec[_0x5a7aef(0xe9)]=_0x4b685a;else _0x661fec[_0x5a7aef(0x17f)]&&(_0x4b685a=_0x5afa68[_0x5a7aef(0x1b3)](uuidv4),_0x661fec[_0x5a7aef(0xe9)]=_0x4b685a,delete _0x661fec[_0x5a7aef(0x17f)]);_0x5afa68[_0x5a7aef(0x180)](_0x37072a,_0x5afa68[_0x5a7aef(0xca)])&&(_0x661fec[_0x5a7aef(0x1e5)]=new Date()[_0x5a7aef(0x168)]());const _0x54355c=_0x5afa68[_0x5a7aef(0x1d6)](getTestIdentifierForHook,_0x661fec);!global[_0x5a7aef(0x1aa)]&&(global[_0x5a7aef(0x1aa)]={});if(_0x5afa68[_0x5a7aef(0x180)](_0x37072a,_0x5afa68[_0x5a7aef(0xca)])){global[_0x5a7aef(0x1aa)][_0x5a7aef(0x150)]={'hookUUID':_0x4b685a,'testIdentifier':_0x54355c,'hookType':_0x661fec['type'],'startedAt':new Date()[_0x5a7aef(0x168)]()};const _0x3ee897=BrowserstackCLI['getInstance']()[_0x5a7aef(0x149)]();_0x3ee897&&_0x3ee897['setActiveHook']&&_0x3ee897[_0x5a7aef(0x12a)](_0x54355c,_0x4b685a,_0x661fec[_0x5a7aef(0x122)]);}const _0x2f4eb0=await jestUtils['createHookData'](_0x661fec,_0x4b685a,_0x37072a,_0x54355c);if(!_0x2f4eb0)return;const _0x10f454=_0x5afa68[_0x5a7aef(0x11f)](mapHookTypeToState,_0x661fec['type']),_0x584736=_0x5afa68[_0x5a7aef(0x1af)](_0x37072a,_0x5afa68['DJjCk'])?HookState['PRE']:HookState['POST'],_0x2bb531=BrowserstackCLI[_0x5a7aef(0x15a)]()[_0x5a7aef(0x149)]();if(_0x2bb531){const _0x44c087={};_0x44c087[_0x5a7aef(0x165)]=_0x2f4eb0,await _0x2bb531['trackEvent'](_0x10f454,_0x584736,_0x44c087);if(_0x5afa68[_0x5a7aef(0xeb)](_0x37072a,_0x5afa68[_0x5a7aef(0x14d)])){const _0x25a184={};_0x25a184[_0x5a7aef(0x114)]=_0x54355c,_0x25a184[_0x5a7aef(0x122)]=_0x5afa68[_0x5a7aef(0x18c)],await _0x2bb531[_0x5a7aef(0x1a0)](TestFrameworkState[_0x5a7aef(0x198)],HookState['POST'],_0x25a184),global[_0x5a7aef(0x1aa)]&&global[_0x5a7aef(0x1aa)][_0x5a7aef(0x150)]&&_0x5afa68[_0x5a7aef(0x1af)](global['__workerDetails'][_0x5a7aef(0x150)][_0x5a7aef(0xfb)],_0x4b685a)&&delete global[_0x5a7aef(0x1aa)][_0x5a7aef(0x150)],_0x2bb531[_0x5a7aef(0xef)]&&_0x2bb531['removeActiveHook'](_0x54355c,_0x4b685a);}}}catch(_0x6bea){logger['error'](_0x5a7aef(0xe5)+util[_0x5a7aef(0xf3)](_0x6bea));throw _0x6bea;}}function a21_0x5ccc(_0x593425,_0x534349){const _0x35d4f7=a21_0x35d4();return a21_0x5ccc=function(_0x5ccc84,_0x22ccde){_0x5ccc84=_0x5ccc84-0xca;let _0x18eda5=_0x35d4f7[_0x5ccc84];return _0x18eda5;},a21_0x5ccc(_0x593425,_0x534349);}async function handleTestEventCLI(_0x5e33cc,_0x5b35c5,_0x54180d){const _0x2335ec=a21_0x5ad598,_0x337b5f={};_0x337b5f[_0x2335ec(0x15b)]=function(_0x19980f,_0x325f4a){return _0x19980f===_0x325f4a;},_0x337b5f['DcyBd']=_0x2335ec(0x10b),_0x337b5f[_0x2335ec(0x145)]=function(_0x1fce21,_0x1d1d6b){return _0x1fce21>_0x1d1d6b;},_0x337b5f['iMqCb']=function(_0x27e638,_0x56d630){return _0x27e638&&_0x56d630;},_0x337b5f['INdKa']=_0x2335ec(0x161),_0x337b5f['ijzIx']=_0x2335ec(0x134),_0x337b5f[_0x2335ec(0x100)]=function(_0x4c2fd0,_0x5279e6){return _0x4c2fd0&&_0x5279e6;},_0x337b5f[_0x2335ec(0x10c)]=function(_0x41d9e5,_0x2c0bc5){return _0x41d9e5&&_0x2c0bc5;},_0x337b5f[_0x2335ec(0xdb)]=_0x2335ec(0x17a);const _0x291e12=_0x337b5f;logger['debug']('Handling\x20test\x20event\x20for\x20CLI:\x20'+_0x5b35c5);try{let _0x65d1b3;if(_0x291e12['FNyGp'](_0x5b35c5,_0x291e12[_0x2335ec(0x111)])){_0x65d1b3=jestUtils['createIdentifierFromJestTest'](_0x5e33cc),global[_0x2335ec(0x135)]=_0x65d1b3,_0x5e33cc[_0x2335ec(0x19d)]=_0x65d1b3,_0x5e33cc['id']=_0x65d1b3,_0x5e33cc[_0x2335ec(0x1e5)]=new Date()[_0x2335ec(0x168)]();const _0x32ed12=_0x54180d['current_test'];_0x54180d['current_test']=_0x5e33cc,_0x5e33cc[_0x2335ec(0x10a)]=null;if(_0x291e12['PYSBm'](_0x5e33cc[_0x2335ec(0x18b)],0x0)&&_0x32ed12&&_0x291e12[_0x2335ec(0x15b)](_0x32ed12[_0x2335ec(0xd0)],_0x5e33cc[_0x2335ec(0xd0)])){_0x5e33cc[_0x2335ec(0x10a)]=_0x32ed12[_0x2335ec(0x19d)];const _0x4cd2d1=await jestUtils[_0x2335ec(0x13e)](_0x5e33cc,_0x65d1b3,_0x291e12['DcyBd']),_0x20d329=BrowserstackCLI[_0x2335ec(0x15a)]()[_0x2335ec(0x149)]();if(_0x291e12[_0x2335ec(0x190)](_0x4cd2d1,_0x20d329)){const _0x53b2ed={};_0x53b2ed[_0x2335ec(0x17a)]=_0x4cd2d1,await _0x20d329['trackEvent'](TestFrameworkState['TEST'],HookState['PRE'],_0x53b2ed);}_0x32ed12[_0x2335ec(0x12c)]=_0x291e12['INdKa'];const _0x1813de=await jestUtils[_0x2335ec(0x13e)](_0x32ed12,_0x32ed12[_0x2335ec(0x19d)],_0x291e12[_0x2335ec(0x13a)]);if(_0x291e12[_0x2335ec(0x100)](_0x1813de,_0x20d329)){const _0x3dfa98={};_0x3dfa98['test']=_0x1813de,await _0x20d329[_0x2335ec(0x1a0)](TestFrameworkState[_0x2335ec(0xf1)],HookState[_0x2335ec(0x184)],_0x3dfa98);}}else{const _0x532e21=await jestUtils[_0x2335ec(0x13e)](_0x5e33cc,_0x65d1b3,_0x291e12[_0x2335ec(0x111)]),_0x46c2af=BrowserstackCLI[_0x2335ec(0x15a)]()[_0x2335ec(0x149)]();if(_0x291e12[_0x2335ec(0x10c)](_0x532e21,_0x46c2af)){const _0xdb29a3={};_0xdb29a3[_0x2335ec(0x17a)]=_0x532e21,await _0x46c2af['trackEvent'](TestFrameworkState['TEST'],HookState[_0x2335ec(0xcb)],_0xdb29a3);}}}else{_0x65d1b3=_0x5e33cc['testAnalyticsId']||_0x5e33cc['id']||global['__jestCurrentTestIdentifier'];const _0x35ccee=await jestUtils[_0x2335ec(0x13e)](_0x5e33cc,_0x65d1b3,_0x5b35c5),_0x58e2b1=BrowserstackCLI[_0x2335ec(0x15a)]()[_0x2335ec(0x149)]();if(_0x291e12[_0x2335ec(0x10c)](_0x35ccee,_0x58e2b1)){const _0x2b46b4={};_0x2b46b4[_0x2335ec(0x17a)]=_0x35ccee,_0x2b46b4[_0x2335ec(0x1da)]=_0x5e33cc,_0x2b46b4['testIdentifier']=_0x65d1b3,await _0x58e2b1['trackEvent'](TestFrameworkState[_0x2335ec(0xf1)],HookState[_0x2335ec(0x184)],_0x2b46b4);const _0x399fe0={};_0x399fe0[_0x2335ec(0x114)]=_0x65d1b3,_0x399fe0[_0x2335ec(0x122)]=_0x291e12[_0x2335ec(0xdb)],await _0x58e2b1[_0x2335ec(0x1a0)](TestFrameworkState['LOG_REPORT'],HookState[_0x2335ec(0x184)],_0x399fe0);}}}catch(_0x28d4b3){logger[_0x2335ec(0x1b5)](_0x2335ec(0x12e)+util[_0x2335ec(0xf3)](_0x28d4b3));throw _0x28d4b3;}}function a21_0x35d4(){const _0x296660=['lhYPL','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','testNamePattern','currentTest','status','setActiveHook','5ofIPmD','state','gSevo','Error\x20handling\x20test\x20event\x20for\x20CLI:\x20','makeSingleTestResult','setTestUUID','UjcdF','UTEzT','teardown','TestRunFinished','__jestCurrentTestIdentifier','testInfo','bUGWS','browserstackPlatformIndex','fail','ijzIx','../../../helpers/test-observability/error-handler','AVOCQ','qYyMV','createTestFrameworkData','BFIyy','[customJestAdapterInit]\x20Error\x20in\x20test_done\x20status\x20storage:\x20','toString','../test-observability/obsReporter','JEST','match','PYSBm','FKxlr','[customJestAdapterInit]\x20Skipping\x20heavy\x20init\x20for\x20platformIndex=','llYfc','getTestFramework','configuration','removeAllListeners','winstonLogger','rkZDv','yFITZ','Ulxfe','currentHook','DyTcg','AVVAP',',\x20BROWSERSTACK_PUPPETEER=','wfWbO','--testNamePattern=','HookStarted','length','addEventHandler','nOZzX','getInstance','FNyGp','TestRunSkipped','6512776DdnDWW','env','ezkvW','unhandledErrors','failed','MWruN','AkOtK','JJWkP','hookData','nwgUl','name','toISOString','initialize','isRunning','../test-observability/test-details','UxIRh','10171jvLDlA','809746yJfbqe','Error\x20checking\x20CLI\x20readiness:\x20','string','number','AtMKX','VaZtk','stack-trace','3251420UaQTKF','jZlyo','jest-circus/build/jestAdapterInit.js','\x20>\x20','uVGfG','test','createIdentifierFromJestTest','KkrhF','BEFORE_EACH','BROWSERSTACK_RERUN','markedStatus','BkrfP','nWyaH','StQGU','mPDCK','POST',',\x20re-registering\x20event\x20handler','errorsDetailed','jest-circus','dmhhO','aHeQw','sendTestRunEvent','_currentRetry','yGJHj','isPhantomSkipFromNameFilter','suRTB','getFileName','iMqCb','beforeEach','message','isCliEnabled','eqYKl','UFDKX','ZOFxN','5518437xCGfUX','LOG_REPORT','getState','ROOT_DESCRIBE_BLOCK','bTiam','gEVtM','testAnalyticsId','hook','zKrSp','trackEvent','AbqeH','errors','MDHpQ','testPath','\x20for\x20hook\x20type:\x20','AskaE','BnZYf','UlSat','[customJestAdapterInit]\x20Error\x20in\x20test_start\x20name\x20storage:\x20','__workerDetails','nDGVV','BoacJ','unshift','EventHandler','aORZX','function','../../../helpers/testhub/constants','BEFORE_ALL','iUZqW','argv','error','AzRQF','[customJestAdapterInit]\x20initialize\x20called,\x20shouldProcessEventForTesthub=','getFullJestTestName','[Rerun]\x20Suppressed\x20phantom\x20TestRunFinished\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22','dmZPH','Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20','VClEb','HookFinished','util','kCcYT','HookRunStarted','jNVsj','true','SEooa','SFwJW','run_describe_finish','removeTestUUID','1094220jSVAJh','../../utils/constants','getAutomationFrameworkDetail','[Rerun]\x20Suppressed\x20phantom\x20TestRunSkipped\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22','guwLO','EGzSx','hook_failure','hook_start','afterEach','ubLhh','BOEJM','[customJestAdapterInit]\x20Set\x20test\x20status:\x20\x22','88BeENpM','__bstackPlatformIndex','ethdi','ziZIt','_bstackTestStatus','PmDgd','moUyr','originalTest','CWFcg','JdMix','PGArd','33ycNYXJ','setFrameworkDetail','[Rerun]\x20Suppressed\x20phantom\x20TestRunStarted\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22','debug','PUPPETEER','pid','jestConfig','started_at','../../../helpers/testhub/utils','DJjCk','PRE','beforeAll','ZFwEY','file','startsWith','title','nqyXu','../../v2/utils/jest-utils','getActiveTestNamePattern','Yjzif','shutdown','keys','parent','erNIj','cpDXN','asyncError','rNRMX','wubKv','AFTER_EACH','test_done','EVENT','5262GJrsnB','HookRunFinished','Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20','../../../helpers/test-observability/requestQueueHandler','fzyCy','Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20','PzDJn','config','has','hookAnalyticsId','wPYWC','rLAge','jest-circus/build/state.js','PLAYWRIGHT','-t=','removeActiveHook','gTwgX','TEST','join','format','test_skip','Error\x20routing\x20to\x20JestTestFramework:\x20','TdLxq','isArray','TnHLV','RkGUB','parse','hookUUID','AFTER_ALL','../../../helpers/test-observability/utils','OeNhL','[customJestAdapterInit]\x20Initializing\x20for\x20platformIndex=','tvCvj','Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20','BROWSERSTACK_PLATFORM_INDEX','browserstackTestName','map','test_start','14227420jdcmGu','bootstrap','sUELX','call','retryOf','TestRunStarted','hhNtU','../../v2/cliUtils','registerListeners','Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20','XPwpB','DcyBd','../../v2/state/hookState','WLDIZ','testUUID','failureMessage','forEach','[customJestAdapterInit]\x20Error\x20building\x20test\x20name:\x20','bJsrY','__rerunFilterHelpers','BROWSERSTACK_CLI_BIN_SESSION_ID','BROWSERSTACK_PUPPETEER','wlCVs','PXvmG','../../../helpers/helper','kqetK','rEkXf','jest-circus/build/utils.js','type',':hookAnalyticsId','WYdPr'];a21_0x35d4=function(){return _0x296660;};return a21_0x35d4();}exportsI['initialize']=(..._0x2c00df)=>{const _0x217d8b=a21_0x5ad598,_0x1abcda={'aHeQw':function(_0x2cc2a0,_0xe33e85){return _0x2cc2a0(_0xe33e85);},'CWFcg':_0x217d8b(0x174),'BOEJM':function(_0x137047,_0x3fdd27){return _0x137047&&_0x3fdd27;},'suRTB':_0x217d8b(0x1ce),'nOZzX':function(_0x5b990a,_0x4816d4){return _0x5b990a===_0x4816d4;},'gEVtM':_0x217d8b(0x19a),'wlCVs':function(_0x19075d){return _0x19075d();},'PzDJn':function(_0x456643,_0x2f1cad,_0x466616,_0x1695c5){return _0x456643(_0x2f1cad,_0x466616,_0x1695c5);},'rEkXf':_0x217d8b(0x1c0),'wubKv':function(_0x5840ca,_0x380ad6){return _0x5840ca(_0x380ad6);},'UFDKX':function(_0x1a848f,_0x29d87b){return _0x1a848f(_0x29d87b);},'ZOFxN':'hook_success','nwgUl':function(_0x234790,_0x1aaf0e){return _0x234790(_0x1aaf0e);},'AtMKX':_0x217d8b(0xe1),'VaZtk':function(_0x3131fc,_0x50b117){return _0x3131fc(_0x50b117);},'erNIj':function(_0x2a08c9,_0x1de374){return _0x2a08c9(_0x1de374);},'iaYhM':'hook_failure','SFwJW':_0x217d8b(0xcc),'oWrxX':_0x217d8b(0x191),'uVGfG':_0x217d8b(0x1cf),'JJWkP':function(_0xc32b5f,_0x45fbf0){return _0xc32b5f>_0x45fbf0;},'StQGU':function(_0xd6770a){return _0xd6770a();},'OeNhL':function(_0x2300b8,_0x4114a4,_0x30ccf5,_0x3ec742){return _0x2300b8(_0x4114a4,_0x30ccf5,_0x3ec742);},'Iemzw':function(_0x58ff66,_0x39d590){return _0x58ff66(_0x39d590);},'UjcdF':_0x217d8b(0x105),'XPwpB':function(_0x35192a,_0x290c5e){return _0x35192a(_0x290c5e);},'bUGWS':function(_0x1c8932,_0x38dc23){return _0x1c8932(_0x38dc23);},'nDGVV':function(_0x1ef833,_0x54a1db){return _0x1ef833!==_0x54a1db;},'MDHpQ':_0x217d8b(0x178),'lTioX':_0x217d8b(0x10b),'AbqeH':_0x217d8b(0xde),'wfWbO':function(_0x59cf66,_0x3c3067){return _0x59cf66(_0x3c3067);},'AVVAP':function(_0x4a5c7a,_0x3b3885){return _0x4a5c7a===_0x3b3885;},'SEooa':_0x217d8b(0x139),'UTEzT':_0x217d8b(0x161),'AYDjT':'passed','gSevo':function(_0x1d412f,_0x56c76d){return _0x1d412f||_0x56c76d;},'Yjzif':function(_0x38add8,_0x1303f2,_0x213eaa,_0x1379aa){return _0x38add8(_0x1303f2,_0x213eaa,_0x1379aa);},'ubLhh':_0x217d8b(0x134),'jZlyo':_0x217d8b(0xf4),'bTiam':function(_0x1c491b,_0x57d5c5){return _0x1c491b(_0x57d5c5);},'MWruN':function(_0x47a150,_0xbfffab){return _0x47a150(_0xbfffab);},'PXvmG':function(_0x439fb5){return _0x439fb5();},'RAUxU':_0x217d8b(0x15c),'nqyXu':function(_0x392110){return _0x392110();},'fzyCy':_0x217d8b(0x1c5),'WLDIZ':_0x217d8b(0x133),'EGzSx':function(_0x46fe18,_0x1fee15){return _0x46fe18===_0x1fee15;},'llYfc':_0x217d8b(0x170),'JdMix':_0x217d8b(0x171),'VClEb':function(_0x3005a2,_0x26b43f){return _0x3005a2===_0x26b43f;},'uYfod':function(_0x4949ec,_0x4de5d6){return _0x4949ec(_0x4de5d6);},'nWyaH':function(_0x4b9f05,_0x150930,_0x3777fa){return _0x4b9f05(_0x150930,_0x3777fa);},'qYyMV':_0x217d8b(0xec),'KkrhF':_0x217d8b(0x187),'ZAGRu':function(_0x3c849a,_0x491f05,_0x8446da){return _0x3c849a(_0x491f05,_0x8446da);},'yFITZ':_0x217d8b(0x121),'BFIyy':function(_0x3e506b,_0x2f4ac4){return _0x3e506b(_0x2f4ac4);},'lhYPL':function(_0x4975d1){return _0x4975d1();},'iMMPE':function(_0x328817,_0x475af3,_0x4a2fd5){return _0x328817(_0x475af3,_0x4a2fd5);},'BnZYf':_0x217d8b(0x1ae),'cpDXN':function(_0x296648,_0x1ae41e){return _0x296648(_0x1ae41e);},'BoacJ':function(_0x49dfac,..._0x2f25e7){return _0x49dfac(..._0x2f25e7);}};try{logger['debug'](_0x217d8b(0x1b7)+_0x1abcda[_0x217d8b(0x182)](shouldProcessEventForTesthub)+_0x217d8b(0x153)+process[_0x217d8b(0x15e)][_0x217d8b(0x11b)]);const _0x278c6c=_0x2c00df&&_0x2c00df[0x0]?_0x2c00df[0x0]:{};_0x278c6c&&_0x1abcda['EGzSx'](typeof _0x278c6c[_0x217d8b(0x1a4)],_0x1abcda[_0x217d8b(0x148)])&&_0x278c6c[_0x217d8b(0x1a4)]&&(_currentTestPath=_0x278c6c['testPath']);let _0x1bf8af=0x0;try{if(_0x278c6c[_0x217d8b(0xe7)]&&_0x1abcda[_0x217d8b(0x159)](typeof _0x278c6c[_0x217d8b(0xe7)]['browserstackPlatformIndex'],_0x1abcda[_0x217d8b(0x1dc)]))_0x1bf8af=_0x278c6c[_0x217d8b(0xe7)][_0x217d8b(0x138)];else{if(_0x278c6c['configuration']&&_0x1abcda[_0x217d8b(0x1bc)](typeof _0x278c6c[_0x217d8b(0x14a)]['browserstackPlatformIndex'],_0x1abcda['JdMix']))_0x1bf8af=_0x278c6c[_0x217d8b(0x14a)][_0x217d8b(0x138)];else global['jestConfig']&&_0x1abcda[_0x217d8b(0x1cc)](typeof global[_0x217d8b(0x1e4)]['browserstackPlatformIndex'],_0x1abcda['JdMix'])&&(_0x1bf8af=global[_0x217d8b(0x1e4)][_0x217d8b(0x138)]);}}catch(_0x130eaa){logger[_0x217d8b(0x1e1)]('Error\x20reading\x20platformIndex\x20from\x20args:\x20'+util[_0x217d8b(0xf3)](_0x130eaa));}global[_0x217d8b(0x1d4)]=_0x1bf8af,process[_0x217d8b(0x15e)][_0x217d8b(0x102)]=_0x1abcda['uYfod'](String,_0x1bf8af);const _0x9606dc=new ObservabilityReporter();!_initializedPlatformIndices[_0x217d8b(0xe8)](_0x1bf8af)?(logger['debug'](_0x217d8b(0xff)+_0x1bf8af),_initializedPlatformIndices['add'](_0x1bf8af),_0x1abcda[_0x217d8b(0x11c)](shouldProcessEventForTesthub)&&(_0x1abcda[_0x217d8b(0x11c)](patchConsoleLogger),_0x9606dc[_0x217d8b(0x10e)]())):logger[_0x217d8b(0x1e1)](_0x217d8b(0x147)+_0x1bf8af+_0x217d8b(0x185));let _0x2093a9;try{_0x2093a9=_0x1abcda[_0x217d8b(0x181)](requireModule,_0x1abcda[_0x217d8b(0x13d)],_0x1abcda[_0x217d8b(0x17c)]);}catch{_0x2093a9=_0x1abcda[_0x217d8b(0x19b)](requireModule,_0x1abcda[_0x217d8b(0x17c)]);}let _0x69b253;try{_0x69b253=_0x1abcda['ZAGRu'](requireModule,_0x1abcda[_0x217d8b(0x14e)],_0x1abcda[_0x217d8b(0x17c)])[_0x217d8b(0x12f)];}catch{_0x69b253=_0x1abcda[_0x217d8b(0x13f)](requireModule,_0x1abcda[_0x217d8b(0x17c)])['makeSingleTestResult']||(()=>({}));}const _0x5e008b=BrowserstackCLI[_0x217d8b(0x15a)]()[_0x217d8b(0x193)]();(_0x1abcda[_0x217d8b(0x125)](shouldProcessEventForTesthub)||_0x5e008b)&&_0x2093a9[_0x217d8b(0x158)](_0x1abcda['iMMPE'](o11yErrorHandler,async(_0x43b132,_0x5ef979)=>{const _0x4efd85=_0x217d8b,_0xae7d3e={'dmhhO':function(_0x186638,_0x2c3b08){const _0x2c83d5=a21_0x5ccc;return _0x1abcda[_0x2c83d5(0x189)](_0x186638,_0x2c3b08);},'TdLxq':_0x1abcda[_0x4efd85(0x1db)]};_0x1abcda[_0x4efd85(0x1d1)](_currentTestPath,_0x43b132)&&_0x43b132[_0x4efd85(0x17a)]&&!_0x43b132[_0x4efd85(0x17a)][_0x4efd85(0xce)]&&(_0x43b132[_0x4efd85(0x17a)][_0x4efd85(0xce)]=_currentTestPath);switch(_0x43b132[_0x4efd85(0x167)]){case _0x1abcda[_0x4efd85(0x18e)]:if(_0x43b132[_0x4efd85(0x19e)]['fn']&&_0x43b132['hook']['fn'][_0x4efd85(0x141)]()[_0x4efd85(0x144)](/browserstack internal helper hook/))break;if(_0x43b132[_0x4efd85(0x19e)][_0x4efd85(0xd7)]&&_0x1abcda['nOZzX'](_0x43b132[_0x4efd85(0x19e)]['parent'][_0x4efd85(0x167)],_0x1abcda[_0x4efd85(0x19c)])){const _0x3dc506=_0x43b132[_0x4efd85(0x19e)][_0x4efd85(0xda)]&&((()=>{const _0x35f4a5=_0x4efd85;try{const _0x140c6e=_0xae7d3e[_0x35f4a5(0x188)](require,_0xae7d3e[_0x35f4a5(0xf6)]),_0x3cfcc2=_0x140c6e[_0x35f4a5(0xfa)][_0x35f4a5(0x109)](_0x140c6e,_0x43b132[_0x35f4a5(0x19e)][_0x35f4a5(0xda)]);return _0x3cfcc2[0x0]&&_0x3cfcc2[0x0][_0x35f4a5(0x18f)]?_0x3cfcc2[0x0][_0x35f4a5(0x18f)]():null;}catch(_0x52fa2c){return logger[_0x35f4a5(0x1e1)](_0x35f4a5(0x10f)+_0x52fa2c[_0x35f4a5(0x192)]),null;}})())||_0x43b132[_0x4efd85(0x19e)]['file']||null;if(!_0x3dc506)break;}if(BrowserstackCLI[_0x4efd85(0x15a)]()[_0x4efd85(0x193)]()&&await _0x1abcda['wlCVs'](isCLIReady)){if(_0x1abcda[_0x4efd85(0x189)](shouldProcessEventForTesthub,testHubConstants[_0x4efd85(0xdf)][_0x4efd85(0x156)]))try{await _0x1abcda['PzDJn'](handleHookEventCLI,_0x43b132[_0x4efd85(0x19e)],_0x1abcda['rEkXf'],_0x5ef979);break;}catch(_0x23d4f2){_0x1abcda[_0x4efd85(0xdc)](debug,_0x4efd85(0xf5)+util[_0x4efd85(0xf3)](_0x23d4f2));}}if(_0x1abcda[_0x4efd85(0x195)](shouldProcessEventForTesthub,testHubConstants[_0x4efd85(0xdf)][_0x4efd85(0x156)])){if(!_0x43b132[_0x4efd85(0x19e)][_0x4efd85(0xe9)]){const _0xc5da11=TestDetails[_0x4efd85(0x130)](process['pid']+_0x4efd85(0x123));_0x43b132[_0x4efd85(0x19e)][_0x4efd85(0xe9)]=_0xc5da11;}else _0x43b132[_0x4efd85(0x19e)]['markedStatus']&&(_0x43b132[_0x4efd85(0x19e)]['hookAnalyticsId']=TestDetails['setTestUUID'](process[_0x4efd85(0x1e3)]+_0x4efd85(0x123)),delete _0x43b132[_0x4efd85(0x19e)][_0x4efd85(0x17f)]);_0x43b132[_0x4efd85(0x19e)][_0x4efd85(0x1e5)]=new Date()['toISOString'](),await _0x9606dc[_0x4efd85(0x18a)](_0x43b132['hook'],undefined,![],_0x1abcda[_0x4efd85(0x120)]);}break;case _0x1abcda[_0x4efd85(0x196)]:if(BrowserstackCLI[_0x4efd85(0x15a)]()[_0x4efd85(0x193)]()&&await _0x1abcda[_0x4efd85(0x11c)](isCLIReady)){if(_0x1abcda[_0x4efd85(0x166)](shouldProcessEventForTesthub,testHubConstants[_0x4efd85(0xdf)]['HookFinished']))try{await _0x1abcda['PzDJn'](handleHookEventCLI,_0x43b132['hook'],_0x1abcda['AtMKX'],_0x5ef979);break;}catch(_0x3fab0d){_0x1abcda[_0x4efd85(0x173)](debug,_0x4efd85(0xf5)+util[_0x4efd85(0xf3)](_0x3fab0d));}}_0x1abcda[_0x4efd85(0xd8)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x4efd85(0x1bd)])&&(await _0x9606dc['sendTestRunEvent'](_0x43b132[_0x4efd85(0x19e)],undefined,![],_0x1abcda['AtMKX']),TestDetails['removeTestUUID'](process['pid']+':hookAnalyticsId'));break;case _0x1abcda['iaYhM']:[_0x1abcda[_0x4efd85(0x1c4)],_0x1abcda['oWrxX'],_0x1abcda[_0x4efd85(0x179)]]['includes'](_0x43b132[_0x4efd85(0x19e)][_0x4efd85(0x122)])&&(_0x9606dc[_0x4efd85(0x1cd)]=_0x43b132[_0x4efd85(0x19e)][_0x4efd85(0x122)]),_0x5ef979[_0x4efd85(0x160)]&&_0x1abcda[_0x4efd85(0x164)](_0x5ef979[_0x4efd85(0x160)][_0x4efd85(0x157)],0x0)&&(_0x43b132[_0x4efd85(0x19e)][_0x4efd85(0x186)]=[_0x5ef979[_0x4efd85(0x160)][0x0][0x0]]);if(BrowserstackCLI[_0x4efd85(0x15a)]()[_0x4efd85(0x193)]()&&await _0x1abcda[_0x4efd85(0x182)](isCLIReady)){if(_0x1abcda[_0x4efd85(0xd8)](shouldProcessEventForTesthub,testHubConstants[_0x4efd85(0xdf)][_0x4efd85(0x1bd)]))try{await _0x1abcda[_0x4efd85(0xfe)](handleHookEventCLI,_0x43b132['hook'],_0x1abcda[_0x4efd85(0x172)],_0x5ef979);break;}catch(_0x404b00){_0x1abcda['aHeQw'](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util['format'](_0x404b00));}}_0x1abcda['Iemzw'](shouldProcessEventForTesthub,testHubConstants[_0x4efd85(0xdf)][_0x4efd85(0x1bd)])&&(await _0x9606dc['sendTestRunEvent'](_0x43b132[_0x4efd85(0x19e)],undefined,![],_0x1abcda['AtMKX']),TestDetails[_0x4efd85(0x1c6)](process[_0x4efd85(0x1e3)]+':hookAnalyticsId'));break;case _0x1abcda[_0x4efd85(0x131)]:if(_0x1abcda['nwgUl'](isTrue,process[_0x4efd85(0x15e)][_0x4efd85(0x17e)])&&_0x1abcda[_0x4efd85(0x110)](isPhantomSkipFromNameFilter,_0x43b132[_0x4efd85(0x17a)])){const _0x54f7ad=_0x1abcda[_0x4efd85(0x137)](getFullJestTestName,_0x43b132[_0x4efd85(0x17a)]);logger[_0x4efd85(0x1e1)](_0x4efd85(0x1e0)+_0x54f7ad+'\x22');break;}try{let _0x2f4605=_0x43b132[_0x4efd85(0x17a)][_0x4efd85(0x167)]||'';try{let _0x56892e=_0x43b132[_0x4efd85(0x17a)]['parent'];const _0x20ab9b=[_0x2f4605];while(_0x56892e&&_0x56892e[_0x4efd85(0x167)]&&_0x1abcda[_0x4efd85(0x1ab)](_0x56892e['name'],_0x1abcda[_0x4efd85(0x19c)])){_0x20ab9b[_0x4efd85(0x1ad)](_0x56892e[_0x4efd85(0x167)]),_0x56892e=_0x56892e[_0x4efd85(0xd7)];}_0x2f4605=_0x20ab9b['join'](_0x1abcda[_0x4efd85(0x1a3)]);}catch(_0x377f3e){logger[_0x4efd85(0x1e1)](_0x4efd85(0x117)+_0x377f3e[_0x4efd85(0x192)]);}process['_bstackTestName']=_0x2f4605,process['_bstackTestStatus']=null,process['_bstackTestFailureReason']=null,logger[_0x4efd85(0x1e1)]('[customJestAdapterInit]\x20Set\x20test\x20name:\x20\x22'+_0x2f4605+'\x22');if(!global[_0x4efd85(0x1aa)]){const _0x301a39={};_0x301a39[_0x4efd85(0x128)]={},global['__workerDetails']=_0x301a39;}!global[_0x4efd85(0x1aa)][_0x4efd85(0x128)]&&(global[_0x4efd85(0x1aa)][_0x4efd85(0x128)]={});const _0x41d7df={};_0x41d7df['title']=_0x2f4605,_0x41d7df[_0x4efd85(0x167)]=_0x2f4605,global[_0x4efd85(0x1aa)][_0x4efd85(0x128)]['testInfo']=_0x41d7df,global[_0x4efd85(0x103)]=_0x2f4605;}catch(_0x3dca45){logger[_0x4efd85(0x1e1)](_0x4efd85(0x1a9)+_0x3dca45[_0x4efd85(0x192)]);}if(BrowserstackCLI[_0x4efd85(0x15a)]()[_0x4efd85(0x193)]()&&await _0x1abcda[_0x4efd85(0x11c)](isCLIReady))try{await _0x1abcda[_0x4efd85(0xe6)](handleTestEventCLI,_0x43b132['test'],_0x1abcda['lTioX'],_0x9606dc);break;}catch(_0x5ca9ed){_0x1abcda[_0x4efd85(0x110)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x4efd85(0xf3)](_0x5ca9ed));}_0x1abcda[_0x4efd85(0x11c)](shouldProcessEventForTesthub)&&await _0x9606dc['testStarted'](_0x43b132[_0x4efd85(0x17a)]);break;case _0x1abcda[_0x4efd85(0x1a1)]:{const _0x12740a=_0x43b132[_0x4efd85(0x17a)];if(_0x1abcda[_0x4efd85(0x110)](isTrue,process[_0x4efd85(0x15e)]['BROWSERSTACK_RERUN'])&&_0x1abcda[_0x4efd85(0x154)](isPhantomSkipFromNameFilter,_0x12740a)){const _0x1fb71f=_0x1abcda[_0x4efd85(0x137)](getFullJestTestName,_0x12740a);logger[_0x4efd85(0x1e1)](_0x4efd85(0x1b9)+_0x1fb71f+'\x22'),_0x12740a[_0x4efd85(0x17f)]=!![];break;}_0x43b132[_0x4efd85(0x17a)]={..._0x1abcda[_0x4efd85(0xd8)](_0x69b253,_0x43b132[_0x4efd85(0x17a)]),..._0x43b132[_0x4efd85(0x17a)]};try{const _0x3ad527=_0x43b132['test'][_0x4efd85(0x1a2)]||[],_0x267651=_0x1abcda[_0x4efd85(0x164)](_0x3ad527[_0x4efd85(0x157)],0x0)||_0x1abcda[_0x4efd85(0x152)](_0x43b132['test']['status'],_0x1abcda[_0x4efd85(0x1c3)]),_0x15a149=_0x267651?_0x1abcda[_0x4efd85(0x132)]:_0x1abcda['AYDjT'];let _0x250c2a='';_0x267651&&(_0x250c2a=_0x3ad527[_0x4efd85(0x104)](_0x11a9a8=>{const _0x41c1aa=_0x4efd85;if(Array[_0x41c1aa(0xf7)](_0x11a9a8))return _0x11a9a8['map'](_0x2f91c6=>_0x2f91c6&&_0x2f91c6[_0x41c1aa(0x192)]||String(_0x2f91c6))[_0x41c1aa(0xf2)](';\x20');return _0x11a9a8&&_0x11a9a8['message']||_0x1abcda[_0x41c1aa(0x189)](String,_0x11a9a8);})[_0x4efd85(0xf2)](';\x20')),process[_0x4efd85(0x1d7)]=_0x15a149,process['_bstackTestFailureReason']=_0x1abcda[_0x4efd85(0x12d)](_0x250c2a,''),logger[_0x4efd85(0x1e1)](_0x4efd85(0x1d2)+_0x15a149+'\x22'),global['__workerDetails']&&global[_0x4efd85(0x1aa)][_0x4efd85(0x128)]&&(!global[_0x4efd85(0x1aa)]['currentTest'][_0x4efd85(0x136)]&&(global[_0x4efd85(0x1aa)]['currentTest'][_0x4efd85(0x136)]={}),global[_0x4efd85(0x1aa)][_0x4efd85(0x128)][_0x4efd85(0x136)][_0x4efd85(0x129)]=_0x15a149,_0x267651&&(global[_0x4efd85(0x1aa)][_0x4efd85(0x128)][_0x4efd85(0x136)][_0x4efd85(0x115)]=_0x250c2a));}catch(_0x218669){logger['debug'](_0x4efd85(0x140)+_0x218669[_0x4efd85(0x192)]);}if(!_0x43b132[_0x4efd85(0x17a)][_0x4efd85(0x17f)]){_0x43b132[_0x4efd85(0x17a)][_0x4efd85(0x17f)]=!![];if(BrowserstackCLI[_0x4efd85(0x15a)]()[_0x4efd85(0x193)]()&&await _0x1abcda[_0x4efd85(0x182)](isCLIReady))try{await _0x1abcda[_0x4efd85(0xd4)](handleTestEventCLI,_0x43b132[_0x4efd85(0x17a)],_0x1abcda[_0x4efd85(0x1d0)],_0x9606dc);break;}catch(_0x2dfe65){_0x1abcda[_0x4efd85(0x189)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x4efd85(0xf3)](_0x2dfe65));}_0x1abcda[_0x4efd85(0x182)](shouldProcessEventForTesthub)&&await _0x9606dc[_0x4efd85(0x18a)](_0x43b132['test']);}break;}case _0x1abcda[_0x4efd85(0x176)]:{const _0x4a21f2=_0x43b132['test'];if(_0x1abcda[_0x4efd85(0x166)](isTrue,process['env'][_0x4efd85(0x17e)])&&_0x1abcda[_0x4efd85(0x173)](isPhantomSkipFromNameFilter,_0x4a21f2)){const _0x24b08f=_0x1abcda[_0x4efd85(0x19b)](getFullJestTestName,_0x4a21f2);logger['debug'](_0x4efd85(0x1ca)+_0x24b08f+'\x22'),_0x4a21f2[_0x4efd85(0x17f)]=!![];break;}_0x43b132[_0x4efd85(0x17a)]={..._0x1abcda[_0x4efd85(0x162)](_0x69b253,_0x43b132[_0x4efd85(0x17a)]),..._0x43b132['test']};if(!_0x43b132[_0x4efd85(0x17a)]['markedStatus']){_0x43b132[_0x4efd85(0x17a)][_0x4efd85(0x17f)]=!![];if(BrowserstackCLI['getInstance']()['isCliEnabled']()&&await _0x1abcda[_0x4efd85(0x11d)](isCLIReady))try{await _0x1abcda[_0x4efd85(0xe6)](handleTestEventCLI,_0x43b132[_0x4efd85(0x17a)],_0x1abcda['RAUxU'],_0x9606dc);break;}catch(_0x2344d0){_0x1abcda[_0x4efd85(0x19b)](debug,_0x4efd85(0xf5)+util[_0x4efd85(0xf3)](_0x2344d0));}_0x1abcda[_0x4efd85(0xd1)](shouldProcessEventForTesthub)&&await _0x9606dc[_0x4efd85(0x18a)](_0x43b132['test'],undefined,![],_0x1abcda['RAUxU']);}break;}case _0x1abcda[_0x4efd85(0xe4)]:_0x9606dc[_0x4efd85(0x1cd)]=null;break;case _0x1abcda[_0x4efd85(0x113)]:await RequestQueueHandler[_0x4efd85(0x15a)]()[_0x4efd85(0xd5)](),process[_0x4efd85(0x14b)]();break;default:}},_0x1abcda[_0x217d8b(0x1a7)]));}catch(_0x351465){_0x1abcda[_0x217d8b(0xd9)](debug,_0x217d8b(0x1bb)+_0x351465);}return _0x1abcda[_0x217d8b(0x1ac)](initInitialize,..._0x2c00df);};try{Object[a21_0x5ad598(0xd6)](exportsI)[a21_0x5ad598(0x116)](_0x1626b4=>{const _0x43aac4=a21_0x5ad598,_0x2905ab={'kCcYT':function(_0x1c3029,_0x4a8588){return _0x1c3029(_0x4a8588);}};try{exports&&(exports[_0x1626b4]=exportsI[_0x1626b4]);}catch(_0x372ed6){_0x2905ab[_0x43aac4(0x1bf)](debug,_0x43aac4(0xe2)+_0x372ed6);}});}catch(a21_0x2a7b96){debug(a21_0x5ad598(0x101)+a21_0x2a7b96);}const a21_0x154aa4={};a21_0x154aa4[a21_0x5ad598(0x1b8)]=getFullJestTestName,a21_0x154aa4[a21_0x5ad598(0xd3)]=getActiveTestNamePattern,a21_0x154aa4[a21_0x5ad598(0x18d)]=isPhantomSkipFromNameFilter,exports[a21_0x5ad598(0x119)]=a21_0x154aa4;
|
|
1
|
+
const a21_0x1adaaa=a21_0x3a1d;(function(_0xd07324,_0x1904a6){const _0x5a6173=a21_0x3a1d,_0x1aa2d6=_0xd07324();while(!![]){try{const _0xd74d13=-parseInt(_0x5a6173(0xf0))/0x1+parseInt(_0x5a6173(0x182))/0x2+-parseInt(_0x5a6173(0xa4))/0x3*(parseInt(_0x5a6173(0x118))/0x4)+parseInt(_0x5a6173(0xde))/0x5+parseInt(_0x5a6173(0xfa))/0x6+parseInt(_0x5a6173(0x9b))/0x7*(-parseInt(_0x5a6173(0xe7))/0x8)+parseInt(_0x5a6173(0x1a8))/0x9*(parseInt(_0x5a6173(0x1b4))/0xa);if(_0xd74d13===_0x1904a6)break;else _0x1aa2d6['push'](_0x1aa2d6['shift']());}catch(_0x76de35){_0x1aa2d6['push'](_0x1aa2d6['shift']());}}}(a21_0x5ed9,0x66555));const {requireModule,isTrue}=require(a21_0x1adaaa(0xbe)),ObservabilityReporter=require(a21_0x1adaaa(0x107)),RequestQueueHandler=require(a21_0x1adaaa(0xc6)),TestDetails=require(a21_0x1adaaa(0xcd)),{patchConsoleLogger,debug}=require(a21_0x1adaaa(0xa0)),{o11yErrorHandler}=require(a21_0x1adaaa(0x137)),{shouldProcessEventForTesthub}=require(a21_0x1adaaa(0xc3)),testHubConstants=require(a21_0x1adaaa(0x110)),BrowserstackCLI=require(a21_0x1adaaa(0x17a)),TestFrameworkState=require(a21_0x1adaaa(0xf2)),HookState=require(a21_0x1adaaa(0xd9)),JestUtils=require(a21_0x1adaaa(0x188)),{v4:uuidv4}=require(a21_0x1adaaa(0x108)),util=require('util'),logger=require(a21_0x1adaaa(0xf4))[a21_0x1adaaa(0xf5)],{FRAMEWORKS}=require(a21_0x1adaaa(0xd2));let exportsI;try{exportsI=requireModule('jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js',a21_0x1adaaa(0xba));}catch{exportsI=requireModule('jest-circus/build/jestAdapterInit.js',a21_0x1adaaa(0xba));}const initInitialize=exportsI[a21_0x1adaaa(0x126)],jestUtils=new JestUtils(),_initializedPlatformIndices=new Set();let _currentTestPath=null;function getFullJestTestName(_0x2ce9a9){const _0x1cd980=a21_0x1adaaa,_0x4a9c89={};_0x4a9c89[_0x1cd980(0xe9)]=function(_0x24cd4a,_0x12923f){return _0x24cd4a!==_0x12923f;},_0x4a9c89['qACKw']=_0x1cd980(0x12b);const _0x5bb1f1=_0x4a9c89;try{const _0x3b103f=[];let _0x4da129=_0x2ce9a9;while(_0x4da129){_0x4da129[_0x1cd980(0x1a1)]&&_0x5bb1f1[_0x1cd980(0xe9)](_0x4da129[_0x1cd980(0x1a1)],_0x5bb1f1['qACKw'])&&_0x3b103f['unshift'](_0x4da129[_0x1cd980(0x1a1)]),_0x4da129=_0x4da129[_0x1cd980(0xd6)];}return _0x3b103f[_0x1cd980(0xd1)]('\x20');}catch(_0x5955fb){return _0x2ce9a9&&_0x2ce9a9[_0x1cd980(0x1a1)]||'';}}function getActiveTestNamePattern(){const _0x2bae44=a21_0x1adaaa,_0x5e1add={'widKE':function(_0x1c4230,_0x20ad9a,_0x30d3a4){return _0x1c4230(_0x20ad9a,_0x30d3a4);},'HClXH':_0x2bae44(0x9a),'fGUof':'jest-circus','RiBRh':function(_0xab19d1,_0x4ba34e){return _0xab19d1(_0x4ba34e);},'THIlk':function(_0x5ea2d9,_0x3f4b8e){return _0x5ea2d9===_0x3f4b8e;},'MUyaZ':_0x2bae44(0x170),'Yzwdd':function(_0x35a049,_0xc9b276){return _0x35a049 instanceof _0xc9b276;},'SllAH':_0x2bae44(0x100),'EvxTb':function(_0x29bcfa,_0x4725d1){return _0x29bcfa>_0x4725d1;},'OYMTw':function(_0x40e396,_0x4a6112){return _0x40e396<_0x4a6112;},'VqIeG':function(_0x2e7f8b,_0x15e456){return _0x2e7f8b===_0x15e456;},'Isalb':function(_0x24a3a5,_0x1030ec){return _0x24a3a5===_0x1030ec;},'uexEh':_0x2bae44(0xcc),'ziZHW':function(_0xed1011,_0xe3e609){return _0xed1011+_0xe3e609;},'IsuRk':_0x2bae44(0x1af),'oYQRs':_0x2bae44(0xab)};try{let _0x1e6f0c;try{_0x1e6f0c=_0x5e1add['widKE'](requireModule,_0x5e1add[_0x2bae44(0x163)],_0x5e1add[_0x2bae44(0x144)]);}catch{_0x1e6f0c=_0x5e1add['RiBRh'](requireModule,_0x5e1add[_0x2bae44(0x144)]);}if(_0x1e6f0c&&_0x5e1add['THIlk'](typeof _0x1e6f0c[_0x2bae44(0x164)],_0x5e1add[_0x2bae44(0x198)])){const _0x4d0864=_0x1e6f0c[_0x2bae44(0x164)]();if(_0x4d0864&&_0x4d0864[_0x2bae44(0xe6)]){if(_0x5e1add[_0x2bae44(0x12e)](_0x4d0864[_0x2bae44(0xe6)],RegExp))return _0x4d0864[_0x2bae44(0xe6)];if(_0x5e1add[_0x2bae44(0x111)](typeof _0x4d0864['testNamePattern'],_0x5e1add[_0x2bae44(0x18e)])&&_0x5e1add[_0x2bae44(0xfb)](_0x4d0864[_0x2bae44(0xe6)]['length'],0x0))return new RegExp(_0x4d0864[_0x2bae44(0xe6)],'i');}}}catch(_0x117fec){}try{const _0x5e8b02=process[_0x2bae44(0xfc)]||[];for(let _0x48e853=0x0;_0x5e1add[_0x2bae44(0x19f)](_0x48e853,_0x5e8b02[_0x2bae44(0xe5)]);_0x48e853++){const _0x17aeaf=_0x5e8b02[_0x48e853];if(_0x5e1add[_0x2bae44(0xa2)](_0x17aeaf,'-t')||_0x5e1add[_0x2bae44(0x1a2)](_0x17aeaf,_0x5e1add[_0x2bae44(0xc8)])){const _0x5be274=_0x5e8b02[_0x5e1add[_0x2bae44(0x176)](_0x48e853,0x1)];if(_0x5be274&&!_0x5be274['startsWith']('-'))return new RegExp(_0x5be274,'i');}else{if(_0x17aeaf&&(_0x17aeaf['startsWith'](_0x5e1add[_0x2bae44(0xb1)])||_0x17aeaf[_0x2bae44(0x19c)](_0x5e1add[_0x2bae44(0xbb)]))){const _0xdf70c4=_0x17aeaf[_0x2bae44(0xc4)]('=')[_0x2bae44(0x1a9)](0x1)[_0x2bae44(0xd1)]('=');if(_0xdf70c4)return new RegExp(_0xdf70c4,'i');}}}}catch(_0x1ca045){}return null;}function a21_0x5ed9(){const _0x35d86a=['[customJestAdapterInit]\x20Set\x20test\x20status:\x20\x22','Error\x20handling\x20test\x20event\x20for\x20CLI:\x20','[customJestAdapterInit]\x20Initializing\x20for\x20platformIndex=','PRE','getActiveTestNamePattern','getFullJestTestName','../../../helpers/test-observability/error-handler','passed','FLMJB','_bstackTestName','makeSingleTestResult','call','vSUzZ','VewfR','VMNqV','asyncError','map','uzrbT','BEFORE_EACH','fGUof','oVvPK','beforeEach','removeActiveHook','LJMOv','getFileName','hookData','env','[customJestAdapterInit]\x20Error\x20in\x20test_start\x20name\x20storage:\x20','FNzDk','Error\x20checking\x20CLI\x20readiness:\x20','__bstackPlatformIndex','SQhWM','FHXgS','ztAQS','JEST','cWcOa','BWNWu','registerListeners','getTestFramework','currentTest','testAnalyticsId','Urvyq','getAutomationFrameworkDetail','retryOf','isRunning','HookStarted','EventHandler','shutdown','addEventHandler','KyVAV','HClXH','getState','beHMb',',\x20re-registering\x20event\x20handler','TsNrS','test_start','setTestUUID','Error\x20reading\x20platformIndex\x20from\x20args:\x20','browserstackPlatformIndex','isCliEnabled','TestRunSkipped','WZdxA','error','function','CLI\x20is\x20enabled\x20and\x20running.','setActiveHook','errorsDetailed','__jestCurrentTestIdentifier','cwlzb','ziZHW','NRaAB','fail','hookUUID','../../v2/browserstackCLI','CxVLn','TestRunStarted','vQjTe','beforeAll','jest-circus/build/utils.js','testStarted','testPath','1221418VzPAqW','__workerDetails','match','BROWSERSTACK_CLI_BIN_SESSION_ID','afterAll','ZVYHd','../../v2/utils/jest-utils','cbXDN','UVLqj','zLOzA','\x20for\x20hook\x20type:\x20','currentHook','SllAH','sendTestRunEvent','_bstackTestStatus','TEST','Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20','agPxz','eVtFm','fUcBg','AFTER_ALL','format','MUyaZ','fEOBn','njPqq','qWcgO','startsWith','ybHaa','bootstrap','OYMTw','LqJve','name','Isalb','Error\x20routing\x20to\x20JestTestFramework:\x20','POST','createIdentifierFromJestTest','xerkz','forEach','108ZrIPQL','slice','testInfo','RTNSj','UBmMc','fAKNp','Handling\x20hook\x20event\x20for\x20CLI:\x20','--testNamePattern=','OzGEf','includes','heeJr','Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20','114650aLMLaW','jest-circus/build/state.js','3017749pAvvfW','HGMgf','file','[Rerun]\x20Suppressed\x20phantom\x20TestRunFinished\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22','[customJestAdapterInit]\x20Error\x20building\x20test\x20name:\x20','../../../helpers/test-observability/utils','toBbd','VqIeG','unhandledErrors','2931JhWdPg','BROWSERSTACK_RERUN','testIdentifier','hook','HookRunStarted','test','Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20','-t=','mXJQJ','hookAnalyticsId','iAwwj','failureMessage','uZwwH','IsuRk','nlZxZ','HookFinished','_currentRetry','[customJestAdapterInit]\x20initialize\x20called,\x20shouldProcessEventForTesthub=','current_test','trackEvent','toISOString','ULIRT','jest-circus','oYQRs','LOG_REPORT','isPhantomSkipFromNameFilter','../../../helpers/helper','PrCyn',',\x20BROWSERSTACK_PUPPETEER=','has','mpCoc','../../../helpers/testhub/utils','split','ghiuv','../../../helpers/test-observability/requestQueueHandler','Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20','uexEh','GQfnJ','EnMDM','pid','--testNamePattern','../test-observability/test-details','parse','number','fVwxb','join','../../utils/constants','unshift','state','NIyff','parent','[Rerun]\x20Suppressed\x20phantom\x20TestRunStarted\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22','message','../../v2/state/hookState','browserstackTestName','status','wIFBo','tLhSu','871195MOpmkh','ONkHN','[customJestAdapterInit]\x20Set\x20test\x20name:\x20\x22','[customJestAdapterInit]\x20Error\x20in\x20test_done\x20status\x20storage:\x20','hook_failure','jestConfig','FOuBy','length','testNamePattern','8cfQOor','markedStatus','VIjva','ViMEZ','true','[customJestAdapterInit]\x20Skipping\x20heavy\x20init\x20for\x20platformIndex=','removeTestUUID','_bstackTestFailureReason','createHookData','169036fprAkh','tePBJ','../../v2/state/testFrameworkState','originalTest','../../../helpers/logger','winstonLogger',':hookAnalyticsId','testUUID','PUPPETEER','getInstance','4080246TigfiG','EvxTb','argv','__rerunFilterHelpers','removeAllListeners','TestRunFinished','string','HookRunFinished','NqCeB','failed','DWXVW','omFZF','EVENT','../test-observability/obsReporter','uuid','setFrameworkDetail','TLQCY','PLAYWRIGHT','add','gOvcp','createTestFrameworkData','teardown','../../../helpers/testhub/constants','THIlk','BROWSERSTACK_PUPPETEER','KxZtx','GkKqQ','JTvMY','Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20','config','2388rwTFBb','OJavX','type','started_at','debug','errors','toString','tlKZD','Knadw','test_skip','sWNjH','afterEach','XSOaL','TKFjY','initialize','test_done','rjNsA','hAeBX','title','ROOT_DESCRIBE_BLOCK','fRjUf','configuration','Yzwdd','VRLNk','Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20'];a21_0x5ed9=function(){return _0x35d86a;};return a21_0x5ed9();}function a21_0x3a1d(_0x4ecd28,_0x4d63a6){const _0x5ed9be=a21_0x5ed9();return a21_0x3a1d=function(_0x3a1dec,_0x595cbd){_0x3a1dec=_0x3a1dec-0x9a;let _0x32ab7b=_0x5ed9be[_0x3a1dec];return _0x32ab7b;},a21_0x3a1d(_0x4ecd28,_0x4d63a6);}function isPhantomSkipFromNameFilter(_0x15582b){const _0x1f0b60=a21_0x1adaaa,_0x4186a6={'tePBJ':function(_0x41d3ca){return _0x41d3ca();},'SQhWM':function(_0x45d4bd,_0x293cb7){return _0x45d4bd(_0x293cb7);}},_0x1eb8d4=_0x4186a6[_0x1f0b60(0xf1)](getActiveTestNamePattern);if(!_0x1eb8d4)return![];const _0x34ed33=_0x4186a6[_0x1f0b60(0x150)](getFullJestTestName,_0x15582b);if(!_0x34ed33)return![];return!_0x1eb8d4['test'](_0x34ed33);}async function isCLIReady(){const _0x54bb91=a21_0x1adaaa,_0x359dfa={'iAwwj':_0x54bb91(0x171),'qWcgO':function(_0x432c11,_0x2eb7ee){return _0x432c11(_0x2eb7ee);},'NXVIL':'../../v2/cliUtils','gfOZb':function(_0x2db95f,_0x4704b9){return _0x2db95f===_0x4704b9;},'TcKrW':_0x54bb91(0xeb),'sWNjH':function(_0x5e074f,_0x515c2a){return _0x5e074f(_0x515c2a);}};try{const _0x18ecb6=BrowserstackCLI[_0x54bb91(0xf9)]();if(_0x18ecb6['isCliEnabled']()&&_0x18ecb6['isRunning']())return logger[_0x54bb91(0x11c)](_0x359dfa[_0x54bb91(0xae)]),!![];const _0x4dc009=process[_0x54bb91(0x14b)][_0x54bb91(0x185)];if(_0x4dc009&&_0x18ecb6['isCliEnabled']()){if(!_0x18ecb6[_0x54bb91(0x15d)]())try{const _0x3673e7=_0x359dfa[_0x54bb91(0x19b)](require,_0x359dfa['NXVIL']),_0x37ee78=_0x3673e7[_0x54bb91(0x15b)]();(!_0x37ee78||!_0x37ee78['name'])&&(_0x359dfa['gfOZb'](process[_0x54bb91(0x14b)][_0x54bb91(0x112)],_0x359dfa['TcKrW'])?_0x3673e7[_0x54bb91(0x109)](FRAMEWORKS[_0x54bb91(0x153)],FRAMEWORKS[_0x54bb91(0xf8)]):_0x3673e7[_0x54bb91(0x109)](FRAMEWORKS[_0x54bb91(0x153)],FRAMEWORKS[_0x54bb91(0x10b)])),await _0x18ecb6[_0x54bb91(0x19e)]();}catch(_0x550d02){return _0x359dfa[_0x54bb91(0x122)](debug,_0x54bb91(0xaa)+util[_0x54bb91(0x197)](_0x550d02)),![];}return _0x18ecb6[_0x54bb91(0x15d)]();}return![];}catch(_0x5dc60a){return _0x359dfa[_0x54bb91(0x19b)](debug,_0x54bb91(0x14e)+util['format'](_0x5dc60a)),![];}}function getTestIdentifierForHook(_0x22fe64){const _0x954ada=a21_0x1adaaa,_0xcc6f96={};_0xcc6f96[_0x954ada(0xc5)]=function(_0x223393,_0x513c98){return _0x223393===_0x513c98;},_0xcc6f96[_0x954ada(0x125)]=_0x954ada(0x146),_0xcc6f96[_0x954ada(0xd5)]=function(_0x19148a,_0x487d51){return _0x19148a===_0x487d51;},_0xcc6f96[_0x954ada(0x195)]='beforeAll',_0xcc6f96['VewfR']=function(_0x3c2875,_0x155309){return _0x3c2875===_0x155309;};const _0x3862bc=_0xcc6f96;if(_0x3862bc[_0x954ada(0xc5)](_0x22fe64[_0x954ada(0x11a)],_0x3862bc[_0x954ada(0x125)])||_0x3862bc[_0x954ada(0xd5)](_0x22fe64['type'],_0x3862bc['fUcBg'])){let _0xe83636=global[_0x954ada(0x174)];if(!_0xe83636&&_0x3862bc[_0x954ada(0x13e)](_0x22fe64[_0x954ada(0x11a)],_0x3862bc[_0x954ada(0x195)])&&_0x22fe64[_0x954ada(0xd6)]){const _0x4f34e9={};_0x4f34e9[_0x954ada(0x1a1)]=_0x22fe64[_0x954ada(0xd6)][_0x954ada(0x1a1)],_0x4f34e9[_0x954ada(0xd6)]=_0x22fe64[_0x954ada(0xd6)]['parent'],_0x4f34e9[_0x954ada(0x140)]=_0x22fe64['asyncError'],_0x4f34e9[_0x954ada(0x9d)]=_0x22fe64[_0x954ada(0x9d)];const _0x48d552=_0x4f34e9;_0xe83636=jestUtils[_0x954ada(0x1a5)](_0x48d552);}return _0xe83636;}return global[_0x954ada(0x174)];}function mapHookTypeToState(_0x34cb95){const _0x2d58d7=a21_0x1adaaa,_0x109f6f={};_0x109f6f[_0x2d58d7(0x17e)]=TestFrameworkState['BEFORE_ALL'],_0x109f6f[_0x2d58d7(0x186)]=TestFrameworkState[_0x2d58d7(0x196)],_0x109f6f[_0x2d58d7(0x146)]=TestFrameworkState[_0x2d58d7(0x143)],_0x109f6f[_0x2d58d7(0x123)]=TestFrameworkState['AFTER_EACH'];const _0x589099=_0x109f6f;return _0x589099[_0x34cb95]||TestFrameworkState[_0x2d58d7(0x143)];}async function handleHookEventCLI(_0x4a48b6,_0x250534,_0xe61a5e){const _0x515939=a21_0x1adaaa,_0x4c91af={'fEOBn':function(_0x358fc5,_0x5cf50b){return _0x358fc5(_0x5cf50b);},'VRLNk':'stack-trace','mpCoc':function(_0x17ea0a,_0x59ed1b){return _0x17ea0a===_0x59ed1b;},'zLOzA':'ROOT_DESCRIBE_BLOCK','MrvIX':function(_0x1a8473){return _0x1a8473();},'ybHaa':function(_0x4db335){return _0x4db335();},'beHMb':function(_0x51ce55,_0x46556e){return _0x51ce55===_0x46556e;},'ULIRT':_0x515939(0xa8),'mXJQJ':function(_0x2e9386,_0x4907ed){return _0x2e9386===_0x4907ed;},'agPxz':'HookRunFinished','uzrbT':'hook'};logger[_0x515939(0x11c)](_0x515939(0x1ae)+_0x250534+_0x515939(0x18c)+_0x4a48b6[_0x515939(0x11a)]);try{if(_0x4a48b6['fn']&&_0x4a48b6['fn'][_0x515939(0x11e)]()[_0x515939(0x184)](/browserstack internal helper hook/))return;if(_0x4a48b6[_0x515939(0xd6)]&&_0x4c91af[_0x515939(0xc2)](_0x4a48b6[_0x515939(0xd6)][_0x515939(0x1a1)],_0x4c91af[_0x515939(0x18b)])){const _0xbd2148=_0x4a48b6[_0x515939(0x140)]&&((()=>{const _0x25a556=_0x515939;try{const _0xa99572=_0x4c91af[_0x25a556(0x199)](require,_0x4c91af[_0x25a556(0x12f)]),_0x278386=_0xa99572['parse'][_0x25a556(0x13c)](_0xa99572,_0x4a48b6[_0x25a556(0x140)]);return _0x278386[0x0]&&_0x278386[0x0][_0x25a556(0x149)]?_0x278386[0x0]['getFileName']():null;}catch(_0x4eb3b9){return logger[_0x25a556(0x11c)](_0x25a556(0xc7)+_0x4eb3b9[_0x25a556(0xd8)]),null;}})())||_0x4a48b6['file']||null;if(!_0xbd2148)return;}let _0x110141=_0x4a48b6['hookAnalyticsId'];if(!_0x110141)_0x110141=_0x4c91af['MrvIX'](uuidv4),_0x4a48b6[_0x515939(0xad)]=_0x110141;else _0x4a48b6['markedStatus']&&(_0x110141=_0x4c91af[_0x515939(0x19d)](uuidv4),_0x4a48b6['hookAnalyticsId']=_0x110141,delete _0x4a48b6[_0x515939(0xe8)]);_0x4c91af[_0x515939(0x165)](_0x250534,_0x4c91af[_0x515939(0xb9)])&&(_0x4a48b6[_0x515939(0x11b)]=new Date()[_0x515939(0xb8)]());const _0x330ec5=_0x4c91af['fEOBn'](getTestIdentifierForHook,_0x4a48b6);!global[_0x515939(0x183)]&&(global['__workerDetails']={});if(_0x4c91af[_0x515939(0xc2)](_0x250534,_0x4c91af[_0x515939(0xb9)])){global[_0x515939(0x183)][_0x515939(0x18d)]={'hookUUID':_0x110141,'testIdentifier':_0x330ec5,'hookType':_0x4a48b6[_0x515939(0x11a)],'startedAt':new Date()[_0x515939(0xb8)]()};const _0xf5ac2b=BrowserstackCLI[_0x515939(0xf9)]()['getTestFramework']();_0xf5ac2b&&_0xf5ac2b['setActiveHook']&&_0xf5ac2b[_0x515939(0x172)](_0x330ec5,_0x110141,_0x4a48b6[_0x515939(0x11a)]);}const _0x29bac5=await jestUtils[_0x515939(0xef)](_0x4a48b6,_0x110141,_0x250534,_0x330ec5);if(!_0x29bac5)return;const _0x5c8a31=_0x4c91af[_0x515939(0x199)](mapHookTypeToState,_0x4a48b6[_0x515939(0x11a)]),_0x1a2548=_0x4c91af[_0x515939(0xac)](_0x250534,_0x4c91af['ULIRT'])?HookState[_0x515939(0x134)]:HookState['POST'],_0x28f1ef=BrowserstackCLI['getInstance']()['getTestFramework']();if(_0x28f1ef){const _0x455287={};_0x455287[_0x515939(0x14a)]=_0x29bac5,await _0x28f1ef['trackEvent'](_0x5c8a31,_0x1a2548,_0x455287);if(_0x4c91af['beHMb'](_0x250534,_0x4c91af[_0x515939(0x193)])){const _0x1c0b9b={};_0x1c0b9b[_0x515939(0xf7)]=_0x330ec5,_0x1c0b9b['type']=_0x4c91af[_0x515939(0x142)],await _0x28f1ef[_0x515939(0xb7)](TestFrameworkState[_0x515939(0xbc)],HookState[_0x515939(0x1a4)],_0x1c0b9b),global[_0x515939(0x183)]&&global[_0x515939(0x183)][_0x515939(0x18d)]&&_0x4c91af['beHMb'](global[_0x515939(0x183)][_0x515939(0x18d)][_0x515939(0x179)],_0x110141)&&delete global[_0x515939(0x183)][_0x515939(0x18d)],_0x28f1ef[_0x515939(0x147)]&&_0x28f1ef[_0x515939(0x147)](_0x330ec5,_0x110141);}}}catch(_0x352211){logger[_0x515939(0x16f)](_0x515939(0x192)+util['format'](_0x352211));throw _0x352211;}}async function handleTestEventCLI(_0x252fb4,_0x4dbcf6,_0x2479bb){const _0x5d13b1=a21_0x1adaaa,_0x2f8059={};_0x2f8059[_0x5d13b1(0x102)]=function(_0x54f101,_0x3675f6){return _0x54f101===_0x3675f6;},_0x2f8059[_0x5d13b1(0x15a)]=_0x5d13b1(0x17c),_0x2f8059[_0x5d13b1(0x11f)]=function(_0x223cd2,_0x43ad81){return _0x223cd2>_0x43ad81;},_0x2f8059[_0x5d13b1(0x124)]=function(_0x41a9b0,_0x21b167){return _0x41a9b0===_0x21b167;},_0x2f8059[_0x5d13b1(0x105)]=function(_0x254408,_0x15dece){return _0x254408&&_0x15dece;},_0x2f8059[_0x5d13b1(0x177)]=_0x5d13b1(0x103),_0x2f8059['YmNpx']=_0x5d13b1(0xff),_0x2f8059['Knadw']=_0x5d13b1(0xa9);const _0x286ee7=_0x2f8059;logger[_0x5d13b1(0x11c)]('Handling\x20test\x20event\x20for\x20CLI:\x20'+_0x4dbcf6);try{let _0x4f7998;if(_0x286ee7['NqCeB'](_0x4dbcf6,_0x286ee7[_0x5d13b1(0x15a)])){_0x4f7998=jestUtils[_0x5d13b1(0x1a5)](_0x252fb4),global[_0x5d13b1(0x174)]=_0x4f7998,_0x252fb4[_0x5d13b1(0x159)]=_0x4f7998,_0x252fb4['id']=_0x4f7998,_0x252fb4[_0x5d13b1(0x11b)]=new Date()['toISOString']();const _0x4b1b6b=_0x2479bb['current_test'];_0x2479bb[_0x5d13b1(0xb6)]=_0x252fb4,_0x252fb4[_0x5d13b1(0x15c)]=null;if(_0x286ee7[_0x5d13b1(0x11f)](_0x252fb4[_0x5d13b1(0xb4)],0x0)&&_0x4b1b6b&&_0x286ee7[_0x5d13b1(0x124)](_0x4b1b6b[_0x5d13b1(0x12a)],_0x252fb4['title'])){_0x252fb4[_0x5d13b1(0x15c)]=_0x4b1b6b[_0x5d13b1(0x159)];const _0x349bdd=await jestUtils[_0x5d13b1(0x10e)](_0x252fb4,_0x4f7998,_0x286ee7[_0x5d13b1(0x15a)]),_0x52f8f1=BrowserstackCLI[_0x5d13b1(0xf9)]()[_0x5d13b1(0x157)]();if(_0x286ee7['omFZF'](_0x349bdd,_0x52f8f1)){const _0x28bd75={};_0x28bd75['test']=_0x349bdd,await _0x52f8f1[_0x5d13b1(0xb7)](TestFrameworkState[_0x5d13b1(0x191)],HookState[_0x5d13b1(0x134)],_0x28bd75);}_0x4b1b6b[_0x5d13b1(0xd4)]=_0x286ee7[_0x5d13b1(0x177)];const _0x1b94db=await jestUtils[_0x5d13b1(0x10e)](_0x4b1b6b,_0x4b1b6b[_0x5d13b1(0x159)],_0x286ee7['YmNpx']);if(_0x286ee7[_0x5d13b1(0x105)](_0x1b94db,_0x52f8f1)){const _0x9ffa30={};_0x9ffa30['test']=_0x1b94db,await _0x52f8f1[_0x5d13b1(0xb7)](TestFrameworkState[_0x5d13b1(0x191)],HookState[_0x5d13b1(0x1a4)],_0x9ffa30);}}else{const _0x1b6ea6=await jestUtils[_0x5d13b1(0x10e)](_0x252fb4,_0x4f7998,_0x286ee7[_0x5d13b1(0x15a)]),_0x5c2486=BrowserstackCLI['getInstance']()['getTestFramework']();if(_0x286ee7[_0x5d13b1(0x105)](_0x1b6ea6,_0x5c2486)){const _0x513f7c={};_0x513f7c['test']=_0x1b6ea6,await _0x5c2486['trackEvent'](TestFrameworkState[_0x5d13b1(0x191)],HookState[_0x5d13b1(0x134)],_0x513f7c);}}}else{_0x4f7998=_0x252fb4[_0x5d13b1(0x159)]||_0x252fb4['id']||global[_0x5d13b1(0x174)];const _0x100f2=await jestUtils[_0x5d13b1(0x10e)](_0x252fb4,_0x4f7998,_0x4dbcf6),_0x9630a1=BrowserstackCLI[_0x5d13b1(0xf9)]()[_0x5d13b1(0x157)]();if(_0x286ee7['omFZF'](_0x100f2,_0x9630a1)){const _0x49bf11={};_0x49bf11[_0x5d13b1(0xa9)]=_0x100f2,_0x49bf11[_0x5d13b1(0xf3)]=_0x252fb4,_0x49bf11[_0x5d13b1(0xa6)]=_0x4f7998,await _0x9630a1[_0x5d13b1(0xb7)](TestFrameworkState[_0x5d13b1(0x191)],HookState[_0x5d13b1(0x1a4)],_0x49bf11);const _0x2528d8={};_0x2528d8[_0x5d13b1(0xf7)]=_0x4f7998,_0x2528d8['type']=_0x286ee7[_0x5d13b1(0x120)],await _0x9630a1[_0x5d13b1(0xb7)](TestFrameworkState[_0x5d13b1(0xbc)],HookState[_0x5d13b1(0x1a4)],_0x2528d8);}}}catch(_0x5a8dd0){logger[_0x5d13b1(0x16f)](_0x5d13b1(0x132)+util['format'](_0x5a8dd0));throw _0x5a8dd0;}}exportsI[a21_0x1adaaa(0x126)]=(..._0x3f4f3b)=>{const _0x10da75=a21_0x1adaaa,_0x326e18={'eVtFm':function(_0x2254dd,_0x25907c){return _0x2254dd(_0x25907c);},'ONkHN':'stack-trace','malKh':function(_0x524e17,_0x716103){return _0x524e17&&_0x716103;},'EnMDM':'hook_start','heeJr':function(_0x109aeb,_0x4149af){return _0x109aeb===_0x4149af;},'OzGEf':_0x10da75(0x12b),'RTNSj':function(_0x2373b9){return _0x2373b9();},'FHXgS':function(_0x26c5e5,_0x16b0ab,_0x374c46,_0x47570d){return _0x26c5e5(_0x16b0ab,_0x374c46,_0x47570d);},'uZwwH':'HookRunStarted','oVvPK':function(_0x1048fc,_0x1c7995){return _0x1048fc(_0x1c7995);},'kvNBD':'hook_success','LJMOv':function(_0x1159c4,_0xf1dced){return _0x1159c4(_0xf1dced);},'OazTf':function(_0x4d49e0,_0x20f38c,_0x269de9,_0x213902){return _0x4d49e0(_0x20f38c,_0x269de9,_0x213902);},'ZVYHd':_0x10da75(0x101),'UVLqj':function(_0x52386d,_0x45853c){return _0x52386d(_0x45853c);},'KyVAV':_0x10da75(0xe2),'fAKNp':_0x10da75(0x17e),'QsqZS':_0x10da75(0x146),'FLMJB':_0x10da75(0x123),'toBbd':function(_0x4e3a1f,_0x43aac2){return _0x4e3a1f>_0x43aac2;},'rjNsA':function(_0x1f4cc4,_0x5a767a){return _0x1f4cc4(_0x5a767a);},'TLQCY':function(_0x147227,_0x5c0961,_0x1c5830,_0x3f0e04){return _0x147227(_0x5c0961,_0x1c5830,_0x3f0e04);},'PrCyn':function(_0x52d6ea,_0x132854){return _0x52d6ea(_0x132854);},'KxZtx':_0x10da75(0x168),'GQfnJ':function(_0x2e25ad,_0x3f2c23){return _0x2e25ad(_0x3f2c23);},'JTvMY':function(_0x47565c,_0x54f89e){return _0x47565c(_0x54f89e);},'OJavX':function(_0x51b81a,_0x1ba533){return _0x51b81a!==_0x1ba533;},'cWcOa':'\x20>\x20','TsNrS':_0x10da75(0x17c),'rMWJD':function(_0x40f95a){return _0x40f95a();},'HtOHh':_0x10da75(0x127),'vFhtl':function(_0x56ccfb,_0x41eacf){return _0x56ccfb(_0x41eacf);},'YoEcH':function(_0x7338fc,_0x1f9c0a){return _0x7338fc(_0x1f9c0a);},'AGWKc':function(_0x3125c2,_0x2cb400){return _0x3125c2(_0x2cb400);},'vSUzZ':function(_0x5d6eac,_0x2473bd){return _0x5d6eac>_0x2473bd;},'DWXVW':function(_0x3044b5,_0x1300c1){return _0x3044b5===_0x1300c1;},'GxSaS':_0x10da75(0x178),'tTYky':'failed','xerkz':_0x10da75(0x138),'njPqq':function(_0x27860c,_0x46a58c){return _0x27860c||_0x46a58c;},'cbXDN':'TestRunFinished','VMNqV':function(_0x4e54fe,_0x5a558a){return _0x4e54fe(_0x5a558a);},'WTcds':_0x10da75(0x121),'DqImX':function(_0x595ff8,_0x432ad8){return _0x595ff8(_0x432ad8);},'cwlzb':function(_0xbde118,_0x1c8dfa){return _0xbde118(_0x1c8dfa);},'gOvcp':function(_0x252c09,_0x3af17c){return _0x252c09(_0x3af17c);},'nlZxZ':function(_0x5f249c,_0x3c5509,_0x2cbcf2,_0x6f7faf){return _0x5f249c(_0x3c5509,_0x2cbcf2,_0x6f7faf);},'fRjUf':_0x10da75(0x16d),'VliOc':function(_0x42d2c7,_0x104038){return _0x42d2c7(_0x104038);},'LqJve':function(_0x12f206){return _0x12f206();},'vQjTe':'run_describe_finish','ztAQS':_0x10da75(0x10f),'YzPja':function(_0x2d402a){return _0x2d402a();},'zCWar':function(_0x43ff55,_0x2d655c){return _0x43ff55===_0x2d655c;},'UBmMc':_0x10da75(0x100),'BWNWu':function(_0x5d5c34,_0x1ec02b){return _0x5d5c34===_0x1ec02b;},'FOuBy':_0x10da75(0xcf),'ViMEZ':function(_0x450691,_0x37d920){return _0x450691===_0x37d920;},'wIFBo':function(_0x20162b){return _0x20162b();},'SrpmW':function(_0x1ea6ed){return _0x1ea6ed();},'CxVLn':function(_0x4a9b3b,_0x4f9844,_0x238c79){return _0x4a9b3b(_0x4f9844,_0x238c79);},'HGMgf':_0x10da75(0x9a),'WZdxA':_0x10da75(0xba),'JslFg':function(_0xff0fdf,_0x5c8a32){return _0xff0fdf(_0x5c8a32);},'FNzDk':_0x10da75(0x17f),'hAeBX':function(_0x39b6c4,_0x44895f){return _0x39b6c4(_0x44895f);},'bHkGo':_0x10da75(0x15f),'GkKqQ':function(_0x5beb74,_0x56951b){return _0x5beb74(_0x56951b);},'tLhSu':function(_0x18711a,..._0x458071){return _0x18711a(..._0x458071);}};try{logger[_0x10da75(0x11c)](_0x10da75(0xb5)+_0x326e18['YzPja'](shouldProcessEventForTesthub)+_0x10da75(0xc0)+process['env'][_0x10da75(0x112)]);const _0x2461ae=_0x3f4f3b&&_0x3f4f3b[0x0]?_0x3f4f3b[0x0]:{};_0x2461ae&&_0x326e18['zCWar'](typeof _0x2461ae['testPath'],_0x326e18[_0x10da75(0x1ac)])&&_0x2461ae['testPath']&&(_currentTestPath=_0x2461ae[_0x10da75(0x181)]);let _0x22cbcf=0x0;try{if(_0x2461ae['config']&&_0x326e18['BWNWu'](typeof _0x2461ae[_0x10da75(0x117)][_0x10da75(0x16b)],_0x326e18[_0x10da75(0xe4)]))_0x22cbcf=_0x2461ae[_0x10da75(0x117)]['browserstackPlatformIndex'];else{if(_0x2461ae[_0x10da75(0x12d)]&&_0x326e18[_0x10da75(0xea)](typeof _0x2461ae[_0x10da75(0x12d)]['browserstackPlatformIndex'],_0x326e18[_0x10da75(0xe4)]))_0x22cbcf=_0x2461ae[_0x10da75(0x12d)][_0x10da75(0x16b)];else global[_0x10da75(0xe3)]&&_0x326e18[_0x10da75(0x155)](typeof global[_0x10da75(0xe3)][_0x10da75(0x16b)],_0x326e18[_0x10da75(0xe4)])&&(_0x22cbcf=global[_0x10da75(0xe3)][_0x10da75(0x16b)]);}}catch(_0x3c6c6f){logger[_0x10da75(0x11c)](_0x10da75(0x16a)+util[_0x10da75(0x197)](_0x3c6c6f));}global[_0x10da75(0x14f)]=_0x22cbcf,process[_0x10da75(0x14b)]['BROWSERSTACK_PLATFORM_INDEX']=_0x326e18[_0x10da75(0x115)](String,_0x22cbcf);const _0x2a02c6=new ObservabilityReporter();!_initializedPlatformIndices[_0x10da75(0xc1)](_0x22cbcf)?(logger[_0x10da75(0x11c)](_0x10da75(0x133)+_0x22cbcf),_initializedPlatformIndices[_0x10da75(0x10c)](_0x22cbcf),_0x326e18[_0x10da75(0xdc)](shouldProcessEventForTesthub)&&(_0x326e18['SrpmW'](patchConsoleLogger),_0x2a02c6[_0x10da75(0x156)]())):logger[_0x10da75(0x11c)](_0x10da75(0xec)+_0x22cbcf+_0x10da75(0x166));let _0x335992;try{_0x335992=_0x326e18['CxVLn'](requireModule,_0x326e18[_0x10da75(0x9c)],_0x326e18[_0x10da75(0x16e)]);}catch{_0x335992=_0x326e18['JslFg'](requireModule,_0x326e18[_0x10da75(0x16e)]);}let _0x35b6f2;try{_0x35b6f2=_0x326e18[_0x10da75(0x17b)](requireModule,_0x326e18[_0x10da75(0x14d)],_0x326e18[_0x10da75(0x16e)])[_0x10da75(0x13b)];}catch{_0x35b6f2=_0x326e18[_0x10da75(0x129)](requireModule,_0x326e18[_0x10da75(0x16e)])[_0x10da75(0x13b)]||(()=>({}));}const _0x5b7a2e=BrowserstackCLI[_0x10da75(0xf9)]()[_0x10da75(0x16c)]();(_0x326e18[_0x10da75(0x1ab)](shouldProcessEventForTesthub)||_0x5b7a2e)&&_0x335992[_0x10da75(0x161)](_0x326e18[_0x10da75(0x17b)](o11yErrorHandler,async(_0x39f9a5,_0x42ffbf)=>{const _0x4db8e1=_0x10da75;_0x326e18['malKh'](_currentTestPath,_0x39f9a5)&&_0x39f9a5[_0x4db8e1(0xa9)]&&!_0x39f9a5['test']['file']&&(_0x39f9a5['test']['file']=_currentTestPath);switch(_0x39f9a5['name']){case _0x326e18[_0x4db8e1(0xca)]:if(_0x39f9a5[_0x4db8e1(0xa7)]['fn']&&_0x39f9a5['hook']['fn'][_0x4db8e1(0x11e)]()[_0x4db8e1(0x184)](/browserstack internal helper hook/))break;if(_0x39f9a5['hook']['parent']&&_0x326e18[_0x4db8e1(0x1b2)](_0x39f9a5[_0x4db8e1(0xa7)][_0x4db8e1(0xd6)][_0x4db8e1(0x1a1)],_0x326e18[_0x4db8e1(0x1b0)])){const _0x560ebf=_0x39f9a5[_0x4db8e1(0xa7)]['asyncError']&&((()=>{const _0x2e7d61=_0x4db8e1;try{const _0x1bbeac=_0x326e18[_0x2e7d61(0x194)](require,_0x326e18[_0x2e7d61(0xdf)]),_0x3f5ae6=_0x1bbeac[_0x2e7d61(0xce)][_0x2e7d61(0x13c)](_0x1bbeac,_0x39f9a5[_0x2e7d61(0xa7)][_0x2e7d61(0x140)]);return _0x3f5ae6[0x0]&&_0x3f5ae6[0x0][_0x2e7d61(0x149)]?_0x3f5ae6[0x0][_0x2e7d61(0x149)]():null;}catch(_0x10e4ad){return logger[_0x2e7d61(0x11c)](_0x2e7d61(0xc7)+_0x10e4ad['message']),null;}})())||_0x39f9a5[_0x4db8e1(0xa7)]['file']||null;if(!_0x560ebf)break;}if(BrowserstackCLI[_0x4db8e1(0xf9)]()['isCliEnabled']()&&await _0x326e18[_0x4db8e1(0x1ab)](isCLIReady)){if(_0x326e18[_0x4db8e1(0x194)](shouldProcessEventForTesthub,testHubConstants[_0x4db8e1(0x106)][_0x4db8e1(0x15e)]))try{await _0x326e18[_0x4db8e1(0x151)](handleHookEventCLI,_0x39f9a5[_0x4db8e1(0xa7)],_0x326e18[_0x4db8e1(0xb0)],_0x42ffbf);break;}catch(_0x1ac92e){_0x326e18[_0x4db8e1(0x194)](debug,_0x4db8e1(0x1a3)+util['format'](_0x1ac92e));}}if(_0x326e18['oVvPK'](shouldProcessEventForTesthub,testHubConstants['EVENT']['HookStarted'])){if(!_0x39f9a5[_0x4db8e1(0xa7)][_0x4db8e1(0xad)]){const _0x25b2ec=TestDetails[_0x4db8e1(0x169)](process[_0x4db8e1(0xcb)]+_0x4db8e1(0xf6));_0x39f9a5[_0x4db8e1(0xa7)]['hookAnalyticsId']=_0x25b2ec;}else _0x39f9a5[_0x4db8e1(0xa7)][_0x4db8e1(0xe8)]&&(_0x39f9a5[_0x4db8e1(0xa7)][_0x4db8e1(0xad)]=TestDetails[_0x4db8e1(0x169)](process[_0x4db8e1(0xcb)]+':hookAnalyticsId'),delete _0x39f9a5[_0x4db8e1(0xa7)][_0x4db8e1(0xe8)]);_0x39f9a5[_0x4db8e1(0xa7)][_0x4db8e1(0x11b)]=new Date()[_0x4db8e1(0xb8)](),await _0x2a02c6[_0x4db8e1(0x18f)](_0x39f9a5[_0x4db8e1(0xa7)],undefined,![],_0x326e18[_0x4db8e1(0xb0)]);}break;case _0x326e18['kvNBD']:if(BrowserstackCLI['getInstance']()['isCliEnabled']()&&await _0x326e18[_0x4db8e1(0x1ab)](isCLIReady)){if(_0x326e18[_0x4db8e1(0x148)](shouldProcessEventForTesthub,testHubConstants[_0x4db8e1(0x106)][_0x4db8e1(0xb3)]))try{await _0x326e18['OazTf'](handleHookEventCLI,_0x39f9a5['hook'],_0x326e18[_0x4db8e1(0x187)],_0x42ffbf);break;}catch(_0x455854){_0x326e18[_0x4db8e1(0x148)](debug,_0x4db8e1(0x1a3)+util[_0x4db8e1(0x197)](_0x455854));}}_0x326e18[_0x4db8e1(0x18a)](shouldProcessEventForTesthub,testHubConstants[_0x4db8e1(0x106)]['HookFinished'])&&(await _0x2a02c6[_0x4db8e1(0x18f)](_0x39f9a5[_0x4db8e1(0xa7)],undefined,![],_0x326e18[_0x4db8e1(0x187)]),TestDetails[_0x4db8e1(0xed)](process[_0x4db8e1(0xcb)]+_0x4db8e1(0xf6)));break;case _0x326e18[_0x4db8e1(0x162)]:[_0x326e18[_0x4db8e1(0x1ad)],_0x326e18['QsqZS'],_0x326e18[_0x4db8e1(0x139)]][_0x4db8e1(0x1b1)](_0x39f9a5[_0x4db8e1(0xa7)][_0x4db8e1(0x11a)])&&(_0x2a02c6[_0x4db8e1(0xe2)]=_0x39f9a5[_0x4db8e1(0xa7)][_0x4db8e1(0x11a)]),_0x42ffbf[_0x4db8e1(0xa3)]&&_0x326e18[_0x4db8e1(0xa1)](_0x42ffbf[_0x4db8e1(0xa3)]['length'],0x0)&&(_0x39f9a5[_0x4db8e1(0xa7)][_0x4db8e1(0x173)]=[_0x42ffbf[_0x4db8e1(0xa3)][0x0][0x0]]);if(BrowserstackCLI[_0x4db8e1(0xf9)]()[_0x4db8e1(0x16c)]()&&await _0x326e18[_0x4db8e1(0x1ab)](isCLIReady)){if(_0x326e18[_0x4db8e1(0x128)](shouldProcessEventForTesthub,testHubConstants[_0x4db8e1(0x106)][_0x4db8e1(0xb3)]))try{await _0x326e18['TLQCY'](handleHookEventCLI,_0x39f9a5[_0x4db8e1(0xa7)],_0x326e18[_0x4db8e1(0x187)],_0x42ffbf);break;}catch(_0x470e74){_0x326e18['PrCyn'](debug,_0x4db8e1(0x1a3)+util[_0x4db8e1(0x197)](_0x470e74));}}_0x326e18['PrCyn'](shouldProcessEventForTesthub,testHubConstants[_0x4db8e1(0x106)][_0x4db8e1(0xb3)])&&(await _0x2a02c6[_0x4db8e1(0x18f)](_0x39f9a5['hook'],undefined,![],_0x326e18[_0x4db8e1(0x187)]),TestDetails[_0x4db8e1(0xed)](process[_0x4db8e1(0xcb)]+_0x4db8e1(0xf6)));break;case _0x326e18[_0x4db8e1(0x113)]:if(_0x326e18[_0x4db8e1(0xc9)](isTrue,process[_0x4db8e1(0x14b)]['BROWSERSTACK_RERUN'])&&_0x326e18['JTvMY'](isPhantomSkipFromNameFilter,_0x39f9a5['test'])){const _0x3d47f5=_0x326e18[_0x4db8e1(0xbf)](getFullJestTestName,_0x39f9a5[_0x4db8e1(0xa9)]);logger[_0x4db8e1(0x11c)](_0x4db8e1(0xd7)+_0x3d47f5+'\x22');break;}try{let _0x24585f=_0x39f9a5[_0x4db8e1(0xa9)][_0x4db8e1(0x1a1)]||'';try{let _0x104f06=_0x39f9a5[_0x4db8e1(0xa9)][_0x4db8e1(0xd6)];const _0x31865=[_0x24585f];while(_0x104f06&&_0x104f06['name']&&_0x326e18[_0x4db8e1(0x119)](_0x104f06[_0x4db8e1(0x1a1)],_0x326e18[_0x4db8e1(0x1b0)])){_0x31865[_0x4db8e1(0xd3)](_0x104f06[_0x4db8e1(0x1a1)]),_0x104f06=_0x104f06[_0x4db8e1(0xd6)];}_0x24585f=_0x31865[_0x4db8e1(0xd1)](_0x326e18[_0x4db8e1(0x154)]);}catch(_0x1f8475){logger['debug'](_0x4db8e1(0x9f)+_0x1f8475[_0x4db8e1(0xd8)]);}process[_0x4db8e1(0x13a)]=_0x24585f,process[_0x4db8e1(0x190)]=null,process[_0x4db8e1(0xee)]=null,logger['debug'](_0x4db8e1(0xe0)+_0x24585f+'\x22');if(!global[_0x4db8e1(0x183)]){const _0x48a572={};_0x48a572[_0x4db8e1(0x158)]={},global[_0x4db8e1(0x183)]=_0x48a572;}!global[_0x4db8e1(0x183)][_0x4db8e1(0x158)]&&(global[_0x4db8e1(0x183)][_0x4db8e1(0x158)]={});const _0x192703={};_0x192703['title']=_0x24585f,_0x192703[_0x4db8e1(0x1a1)]=_0x24585f,global[_0x4db8e1(0x183)][_0x4db8e1(0x158)][_0x4db8e1(0x1aa)]=_0x192703,global[_0x4db8e1(0xda)]=_0x24585f;}catch(_0x265756){logger['debug'](_0x4db8e1(0x14c)+_0x265756[_0x4db8e1(0xd8)]);}if(BrowserstackCLI[_0x4db8e1(0xf9)]()['isCliEnabled']()&&await _0x326e18[_0x4db8e1(0x1ab)](isCLIReady))try{await _0x326e18['TLQCY'](handleTestEventCLI,_0x39f9a5[_0x4db8e1(0xa9)],_0x326e18[_0x4db8e1(0x167)],_0x2a02c6);break;}catch(_0x45cbb2){_0x326e18[_0x4db8e1(0x145)](debug,_0x4db8e1(0x1a3)+util['format'](_0x45cbb2));}_0x326e18['rMWJD'](shouldProcessEventForTesthub)&&await _0x2a02c6[_0x4db8e1(0x180)](_0x39f9a5[_0x4db8e1(0xa9)]);break;case _0x326e18['HtOHh']:{const _0x538bc8=_0x39f9a5[_0x4db8e1(0xa9)];if(_0x326e18['vFhtl'](isTrue,process[_0x4db8e1(0x14b)][_0x4db8e1(0xa5)])&&_0x326e18[_0x4db8e1(0x194)](isPhantomSkipFromNameFilter,_0x538bc8)){const _0xb8ed87=_0x326e18['YoEcH'](getFullJestTestName,_0x538bc8);logger[_0x4db8e1(0x11c)](_0x4db8e1(0x9e)+_0xb8ed87+'\x22'),_0x538bc8[_0x4db8e1(0xe8)]=!![];break;}_0x39f9a5[_0x4db8e1(0xa9)]={..._0x326e18['AGWKc'](_0x35b6f2,_0x39f9a5['test']),..._0x39f9a5[_0x4db8e1(0xa9)]};try{const _0x4aebe8=_0x39f9a5[_0x4db8e1(0xa9)][_0x4db8e1(0x11d)]||[],_0x4503d5=_0x326e18[_0x4db8e1(0x13d)](_0x4aebe8[_0x4db8e1(0xe5)],0x0)||_0x326e18[_0x4db8e1(0x104)](_0x39f9a5[_0x4db8e1(0xa9)]['status'],_0x326e18['GxSaS']),_0x5b99ab=_0x4503d5?_0x326e18['tTYky']:_0x326e18[_0x4db8e1(0x1a6)];let _0x5cc288='';_0x4503d5&&(_0x5cc288=_0x4aebe8['map'](_0x219330=>{const _0x1448e4=_0x4db8e1;if(Array['isArray'](_0x219330))return _0x219330[_0x1448e4(0x141)](_0x188d5c=>_0x188d5c&&_0x188d5c[_0x1448e4(0xd8)]||String(_0x188d5c))[_0x1448e4(0xd1)](';\x20');return _0x219330&&_0x219330[_0x1448e4(0xd8)]||_0x326e18['eVtFm'](String,_0x219330);})[_0x4db8e1(0xd1)](';\x20')),process[_0x4db8e1(0x190)]=_0x5b99ab,process[_0x4db8e1(0xee)]=_0x326e18[_0x4db8e1(0x19a)](_0x5cc288,''),logger[_0x4db8e1(0x11c)](_0x4db8e1(0x131)+_0x5b99ab+'\x22'),global['__workerDetails']&&global[_0x4db8e1(0x183)]['currentTest']&&(!global[_0x4db8e1(0x183)][_0x4db8e1(0x158)]['testInfo']&&(global[_0x4db8e1(0x183)][_0x4db8e1(0x158)][_0x4db8e1(0x1aa)]={}),global[_0x4db8e1(0x183)]['currentTest'][_0x4db8e1(0x1aa)][_0x4db8e1(0xdb)]=_0x5b99ab,_0x4503d5&&(global[_0x4db8e1(0x183)][_0x4db8e1(0x158)][_0x4db8e1(0x1aa)][_0x4db8e1(0xaf)]=_0x5cc288));}catch(_0x581c46){logger[_0x4db8e1(0x11c)](_0x4db8e1(0xe1)+_0x581c46[_0x4db8e1(0xd8)]);}if(!_0x39f9a5[_0x4db8e1(0xa9)]['markedStatus']){_0x39f9a5[_0x4db8e1(0xa9)]['markedStatus']=!![];if(BrowserstackCLI[_0x4db8e1(0xf9)]()[_0x4db8e1(0x16c)]()&&await _0x326e18['RTNSj'](isCLIReady))try{await _0x326e18[_0x4db8e1(0x10a)](handleTestEventCLI,_0x39f9a5[_0x4db8e1(0xa9)],_0x326e18[_0x4db8e1(0x189)],_0x2a02c6);break;}catch(_0x337fb7){_0x326e18[_0x4db8e1(0x13f)](debug,_0x4db8e1(0x1a3)+util[_0x4db8e1(0x197)](_0x337fb7));}_0x326e18[_0x4db8e1(0x1ab)](shouldProcessEventForTesthub)&&await _0x2a02c6[_0x4db8e1(0x18f)](_0x39f9a5[_0x4db8e1(0xa9)]);}break;}case _0x326e18['WTcds']:{const _0x4dfa1f=_0x39f9a5[_0x4db8e1(0xa9)];if(_0x326e18[_0x4db8e1(0x194)](isTrue,process[_0x4db8e1(0x14b)][_0x4db8e1(0xa5)])&&_0x326e18['DqImX'](isPhantomSkipFromNameFilter,_0x4dfa1f)){const _0x482c70=_0x326e18[_0x4db8e1(0x175)](getFullJestTestName,_0x4dfa1f);logger[_0x4db8e1(0x11c)]('[Rerun]\x20Suppressed\x20phantom\x20TestRunSkipped\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22'+_0x482c70+'\x22'),_0x4dfa1f['markedStatus']=!![];break;}_0x39f9a5[_0x4db8e1(0xa9)]={..._0x326e18[_0x4db8e1(0x10d)](_0x35b6f2,_0x39f9a5['test']),..._0x39f9a5[_0x4db8e1(0xa9)]};if(!_0x39f9a5[_0x4db8e1(0xa9)][_0x4db8e1(0xe8)]){_0x39f9a5[_0x4db8e1(0xa9)][_0x4db8e1(0xe8)]=!![];if(BrowserstackCLI['getInstance']()[_0x4db8e1(0x16c)]()&&await _0x326e18[_0x4db8e1(0x1ab)](isCLIReady))try{await _0x326e18[_0x4db8e1(0xb2)](handleTestEventCLI,_0x39f9a5[_0x4db8e1(0xa9)],_0x326e18[_0x4db8e1(0x12c)],_0x2a02c6);break;}catch(_0x206e65){_0x326e18['VliOc'](debug,_0x4db8e1(0x1a3)+util[_0x4db8e1(0x197)](_0x206e65));}_0x326e18[_0x4db8e1(0x1a0)](shouldProcessEventForTesthub)&&await _0x2a02c6[_0x4db8e1(0x18f)](_0x39f9a5[_0x4db8e1(0xa9)],undefined,![],_0x326e18['fRjUf']);}break;}case _0x326e18[_0x4db8e1(0x17d)]:_0x2a02c6[_0x4db8e1(0xe2)]=null;break;case _0x326e18[_0x4db8e1(0x152)]:await RequestQueueHandler[_0x4db8e1(0xf9)]()[_0x4db8e1(0x160)](),process[_0x4db8e1(0xfe)]();break;default:}},_0x326e18['bHkGo']));}catch(_0x184630){_0x326e18[_0x10da75(0x114)](debug,_0x10da75(0x130)+_0x184630);}return _0x326e18[_0x10da75(0xdd)](initInitialize,..._0x3f4f3b);};try{Object['keys'](exportsI)[a21_0x1adaaa(0x1a7)](_0x4bb51a=>{const _0x5e1a8e=a21_0x1adaaa,_0x5345c5={'fVwxb':function(_0x558c64,_0x57097e){return _0x558c64(_0x57097e);}};try{exports&&(exports[_0x4bb51a]=exportsI[_0x4bb51a]);}catch(_0xb17afc){_0x5345c5[_0x5e1a8e(0xd0)](debug,_0x5e1a8e(0x116)+_0xb17afc);}});}catch(a21_0x2dcd29){debug(a21_0x1adaaa(0x1b3)+a21_0x2dcd29);}const a21_0x18dd0d={};a21_0x18dd0d[a21_0x1adaaa(0x136)]=getFullJestTestName,a21_0x18dd0d[a21_0x1adaaa(0x135)]=getActiveTestNamePattern,a21_0x18dd0d[a21_0x1adaaa(0xbd)]=isPhantomSkipFromNameFilter,exports[a21_0x1adaaa(0xfd)]=a21_0x18dd0d;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a22_0x1f9d(_0x4ac35a,_0x4dd51c){const _0x3eb81a=a22_0x3eb8();return a22_0x1f9d=function(_0x1f9d22,_0x1843df){_0x1f9d22=_0x1f9d22-0x6e;let _0x5cca0d=_0x3eb81a[_0x1f9d22];return _0x5cca0d;},a22_0x1f9d(_0x4ac35a,_0x4dd51c);}const a22_0x3746a3=a22_0x1f9d;function a22_0x3eb8(){const _0x3577e5=['map','771078YiUKOd','1531924uzvSxu','1189785qFaHxW','includes','sort','path','4235fFdxxs','@jest/test-sequencer','2472eKizcA','216bmcYaF','filter','default','3133152hfCODT','env','JEST_TEST_ORDER','26929qAinHu','267714IkyEUB','get'];a22_0x3eb8=function(){return _0x3577e5;};return a22_0x3eb8();}(function(_0x1224b9,_0x2a369e){const _0x9078ef=a22_0x1f9d,_0x1cde80=_0x1224b9();while(!![]){try{const _0x185a4c=-parseInt(_0x9078ef(0x79))/0x1+-parseInt(_0x9078ef(0x7c))/0x2+parseInt(_0x9078ef(0x7e))/0x3+parseInt(_0x9078ef(0x7d))/0x4+-parseInt(_0x9078ef(0x6f))/0x5*(-parseInt(_0x9078ef(0x71))/0x6)+parseInt(_0x9078ef(0x78))/0x7*(parseInt(_0x9078ef(0x72))/0x8)+-parseInt(_0x9078ef(0x75))/0x9;if(_0x185a4c===_0x2a369e)break;else _0x1cde80['push'](_0x1cde80['shift']());}catch(_0x270de1){_0x1cde80['push'](_0x1cde80['shift']());}}}(a22_0x3eb8,0x38674));const Sequencer=require(a22_0x3746a3(0x70))[a22_0x3746a3(0x74)];class CustomSequencer extends Sequencer{[a22_0x3746a3(0x80)](_0x2c81f0){const _0x508511=a22_0x3746a3,_0x9b412c=process[_0x508511(0x76)][_0x508511(0x77)];if(!_0x9b412c)return _0x2c81f0;const _0x114e87=_0x9b412c['split'](','),_0x3b1935=new Map(_0x2c81f0[_0x508511(0x73)](_0x2f4ed1=>_0x114e87[_0x508511(0x7f)](_0x2f4ed1[_0x508511(0x6e)]))[_0x508511(0x7b)](_0x27f448=>[_0x27f448['path'],_0x27f448]));return _0x114e87[_0x508511(0x7b)](_0x4a1321=>_0x3b1935[_0x508511(0x7a)](_0x4a1321))[_0x508511(0x73)](Boolean);}}module['exports']=CustomSequencer;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function a23_0x26b8(_0x222472,_0x2f0fd7){const _0x195e2d=a23_0x195e();return a23_0x26b8=function(_0x26b8e9,_0xb70bea){_0x26b8e9=_0x26b8e9-0x74;let _0xba09e=_0x195e2d[_0x26b8e9];return _0xba09e;},a23_0x26b8(_0x222472,_0x2f0fd7);}const a23_0x37de06=a23_0x26b8;(function(_0x5c8b46,_0x9d7da){const _0x3038c6=a23_0x26b8,_0x1a24e9=_0x5c8b46();while(!![]){try{const _0x401adf=parseInt(_0x3038c6(0x91))/0x1*(parseInt(_0x3038c6(0x89))/0x2)+-parseInt(_0x3038c6(0x8d))/0x3+parseInt(_0x3038c6(0x8f))/0x4+parseInt(_0x3038c6(0x84))/0x5+parseInt(_0x3038c6(0x7c))/0x6*(parseInt(_0x3038c6(0x8b))/0x7)+parseInt(_0x3038c6(0x7e))/0x8*(parseInt(_0x3038c6(0x8e))/0x9)+-parseInt(_0x3038c6(0x82))/0xa;if(_0x401adf===_0x9d7da)break;else _0x1a24e9['push'](_0x1a24e9['shift']());}catch(_0x303c77){_0x1a24e9['push'](_0x1a24e9['shift']());}}}(a23_0x195e,0x6b72f));const {requireModule,isBrowserstackInfra}=require(a23_0x37de06(0x90)),a23_0x526675={};a23_0x526675[a23_0x37de06(0x83)]=!![],Object['defineProperty'](exports,a23_0x37de06(0x88),a23_0x526675),exports[a23_0x37de06(0x78)]=void 0x0;function _interopRequireDefault(_0x23f119){return _0x23f119&&_0x23f119['__esModule']?_0x23f119:{'default':_0x23f119};};const runnerModule=process[a23_0x37de06(0x95)][a23_0x37de06(0x77)]||'jest-runner',JestRunner=_interopRequireDefault(requireModule(runnerModule))['default'];function a23_0x195e(){const _0x464989=['testEnvironmentOptions','ARgyA','KWZyK','10327170KyzSbM','value','224230dYsVVO','forEach','serial','context','__esModule','144968dUAfpL','slice','3793594bXquxD','config','1907355EYnCsP','27dQWCMo','1696168FZpsSp','../../../helpers/helper','5foPGZn','length','YmyfY','hyUYM','env','WQGVK','runTests','false','BSTACK_USER_JEST_RUNNER','default','exports','sMLzh','freeze','6WBlQuD','capabilities','1960968nrnpet'];a23_0x195e=function(){return _0x464989;};return a23_0x195e();}class TestRunner extends JestRunner{constructor(..._0x46a4c4){super(..._0x46a4c4);}[a23_0x37de06(0x75)](..._0x295d85){const _0x5f5db8=a23_0x37de06,_0x5c5bbe={'YmyfY':function(_0x4b21fc){return _0x4b21fc();},'KWZyK':function(_0x16a3f5,_0x26c582){return _0x16a3f5-_0x26c582;},'hyUYM':function(_0x27a894,_0x1aaa8a){return _0x27a894*_0x1aaa8a;},'ARgyA':function(_0x54449c,_0x3e9a7c){return _0x54449c===_0x3e9a7c;},'WQGVK':_0x5f5db8(0x76),'sMLzh':function(_0x170e8d,_0x2ba048){return _0x170e8d<_0x2ba048;}};if(!_0x5c5bbe[_0x5f5db8(0x93)](isBrowserstackInfra))return super[_0x5f5db8(0x75)](..._0x295d85);const _0x20deaf=_0x295d85[0x0],_0x37f7f1=_0x295d85[_0x5c5bbe[_0x5f5db8(0x81)](_0x295d85[_0x5f5db8(0x92)],0x1)],_0xdea759=_0x20deaf[0x0][_0x5f5db8(0x87)][_0x5f5db8(0x8c)][_0x5f5db8(0x7f)][_0x5f5db8(0x7d)],_0x38704a=_0x20deaf[0x0][_0x5f5db8(0x87)][_0x5f5db8(0x8c)][_0x5f5db8(0x7f)]['parallels__'];_0x38704a&&(this['_globalConfig']=Object[_0x5f5db8(0x7b)]({...this['_globalConfig'],'maxWorkers':_0x5c5bbe[_0x5f5db8(0x94)](_0x38704a,_0xdea759[_0x5f5db8(0x92)])}));_0x5c5bbe[_0x5f5db8(0x80)](_0x20deaf[0x0][_0x5f5db8(0x87)][_0x5f5db8(0x8c)][_0x5f5db8(0x7f)]['serial__'],_0x5c5bbe[_0x5f5db8(0x74)])&&(_0x37f7f1&&(_0x37f7f1[_0x5f5db8(0x86)]=![]));const _0x53f4e7=[];for(let _0x25a3f6=0x0;_0x5c5bbe[_0x5f5db8(0x7a)](_0x25a3f6,_0x20deaf['length']);_0x25a3f6++){const _0x12fa87=[];_0xdea759[_0x5f5db8(0x85)]((_0x486fdd,_0x5770ce)=>{const _0x1b97a5=_0x5f5db8,_0x5df2c5={..._0x20deaf[_0x25a3f6]},_0x348961=_0x5df2c5;_0x348961['context']=Object[_0x1b97a5(0x7b)]({..._0x348961[_0x1b97a5(0x87)],'config':{..._0x348961['context'][_0x1b97a5(0x8c)],'capability':_0x486fdd,'browserstackPlatformIndex':_0x5770ce}}),_0x12fa87['push'](_0x348961);}),_0x53f4e7['push'](..._0x12fa87);}return super['runTests'](_0x53f4e7,..._0x295d85[_0x5f5db8(0x8a)](0x1));}}module[a23_0x37de06(0x79)]=TestRunner;
|