browserstack-node-sdk 1.55.2 → 1.55.4
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/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/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/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/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/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a9_0x2fcb27=a9_0x14c4;(function(_0x2d7752,_0x54c5d8){const _0x45467b=a9_0x14c4,_0x2e83fe=_0x2d7752();while(!![]){try{const _0x4c9a37=parseInt(_0x45467b(0x1f8))/0x1*(-parseInt(_0x45467b(0x275))/0x2)+parseInt(_0x45467b(0x233))/0x3*(-parseInt(_0x45467b(0x18b))/0x4)+parseInt(_0x45467b(0x265))/0x5+parseInt(_0x45467b(0x1b9))/0x6+-parseInt(_0x45467b(0x241))/0x7+parseInt(_0x45467b(0x1a1))/0x8*(parseInt(_0x45467b(0x211))/0x9)+parseInt(_0x45467b(0x228))/0xa*(-parseInt(_0x45467b(0x1b1))/0xb);if(_0x4c9a37===_0x54c5d8)break;else _0x2e83fe['push'](_0x2e83fe['shift']());}catch(_0x56922f){_0x2e83fe['push'](_0x2e83fe['shift']());}}}(a9_0x19e4,0x69db9));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra,playwrightSetSessionName,playwrightMarkSessionStatus,nestedKeyValue}=require(a9_0x2fcb27(0x247)),{TEST_FRAMEWORK_HOOK_TIMEOUT,FRAMEWORKS}=require(a9_0x2fcb27(0x1db)),setKeepAlive=require(a9_0x2fcb27(0x17e)),util=require(a9_0x2fcb27(0x25a)),PerformanceTester=require(a9_0x2fcb27(0x1cc)),{EVENTS:PerformanceEvents}=require('../../helpers/performance/constants'),{commandRepository}=require(a9_0x2fcb27(0x1a6)),cucumberModule=requireModule(a9_0x2fcb27(0x272),a9_0x2fcb27(0x1f9)),logger=require('../../helpers/logger')['winstonLogger'],{shouldProcessEventForTesthub}=require(a9_0x2fcb27(0x18e)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a9_0x2fcb27(0x217)),TestDetails=require(a9_0x2fcb27(0x199)),TestInfo=require(a9_0x2fcb27(0x22c)),RequestQueueHandler=require(a9_0x2fcb27(0x210)),{o11yErrorHandler}=require(a9_0x2fcb27(0x1b0)),MyReporter=require(a9_0x2fcb27(0x253)),SessionHandler=require(a9_0x2fcb27(0x1ef)),scripts=require(a9_0x2fcb27(0x225)),globals=require(a9_0x2fcb27(0x1c7)),testHubConstants=require('../../helpers/testhub/constants.js'),{shouldScanTestForAccessibility}=require(a9_0x2fcb27(0x207)),{isUndefined}=require(a9_0x2fcb27(0x1dc)),helper=require('../../helpers/helper'),a9_0x2a87bc={};function a9_0x14c4(_0x8be9f4,_0x308baa){const _0x19e4b0=a9_0x19e4();return a9_0x14c4=function(_0x14c496,_0x5e86ca){_0x14c496=_0x14c496-0x174;let _0x4789e4=_0x19e4b0[_0x14c496];return _0x4789e4;},a9_0x14c4(_0x8be9f4,_0x308baa);}a9_0x2a87bc['workerInfo']=undefined,a9_0x2a87bc[a9_0x2fcb27(0x1fe)]={},a9_0x2a87bc[a9_0x2fcb27(0x25f)]=![],a9_0x2a87bc[a9_0x2fcb27(0x1fd)]=null,a9_0x2a87bc['isPageFixture']=![],a9_0x2a87bc[a9_0x2fcb27(0x1fe)]['id']=undefined,a9_0x2a87bc[a9_0x2fcb27(0x1fe)][a9_0x2fcb27(0x1df)]=undefined;const workerDetails=a9_0x2a87bc;global[a9_0x2fcb27(0x269)]=workerDetails;let playwrightPatcher=null;shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0xac8b29){const _0x25cbef=a9_0x2fcb27,_0x59f492={'KPUtM':function(_0x329161,_0x44dead){return _0x329161(_0x44dead);},'Bjpiz':'../v2/browserstackCLI','NYHjA':_0x25cbef(0x267)},_0x163320=workerDetails[_0x25cbef(0x1fe)][_0x25cbef(0x1df)];if(!_0x163320)return;if(playwrightPatcher)try{const _0x29ecba=_0x59f492[_0x25cbef(0x19e)](require,_0x59f492['Bjpiz']);if(_0x29ecba[_0x25cbef(0x17c)]()[_0x25cbef(0x209)]()){const _0x2eefae=_0x163320['testCaseStartedId'];_0x2eefae?(_0xac8b29[_0x25cbef(0x1a5)]=_0x2eefae,_0xac8b29[_0x25cbef(0x249)]=_0x2eefae,TestInfo[_0x25cbef(0x1fa)](_0x2eefae,_0xac8b29)):logger[_0x25cbef(0x1ed)](_0x59f492['NYHjA']);return;}}catch(_0x160a85){logger[_0x25cbef(0x1ed)](_0x25cbef(0x1e9)+util[_0x25cbef(0x1fb)](_0x160a85));}await MyReporter[_0x25cbef(0x26b)](_0x163320,_0xac8b29);}),registerListeners=()=>{const _0x105926=a9_0x2fcb27,_0x2159af={};_0x2159af[_0x105926(0x215)]=_0x105926(0x259);const _0x462c57=_0x2159af;logger['debug'](_0x462c57[_0x105926(0x215)]),process[_0x105926(0x246)]('bs:addLog:'+process[_0x105926(0x1ec)]),process['on'](_0x105926(0x1d3)+process['pid'],sendTestLog),PerformanceTester[_0x105926(0x1d4)]();};modifyCommand(),setKeepAlive();const Before=cucumberModule['Before'],After=cucumberModule[a9_0x2fcb27(0x183)],AfterAll=cucumberModule[a9_0x2fcb27(0x18a)],BeforeAll=cucumberModule[a9_0x2fcb27(0x21a)],AfterStep=cucumberModule['AfterStep'],configuration=process[a9_0x2fcb27(0x18f)]['CONFIG'],bstackConfig=process[a9_0x2fcb27(0x18f)][a9_0x2fcb27(0x261)];if(configuration!==undefined){const config=JSON['parse'](configuration);isBrowserstackInfra()?(global[a9_0x2fcb27(0x1e3)]=isTrue(config[a9_0x2fcb27(0x23c)]),global[a9_0x2fcb27(0x19b)]=isTrue(config['skipSessionStatus'])):(global[a9_0x2fcb27(0x1e3)]=!![],global['__skipSessionStatus']=!![]);!helper[a9_0x2fcb27(0x1b6)](a9_0x2fcb27(0x180))&&(logger[a9_0x2fcb27(0x1ed)](a9_0x2fcb27(0x184)),shouldProcessEventForTesthub()?require('../../index')['browserstackAgentV2'](config,null,!![]):require('../../index')[a9_0x2fcb27(0x20c)](config));global[a9_0x2fcb27(0x221)]=config[a9_0x2fcb27(0x264)]||{},global['browserstackPlatformIndex']=config[a9_0x2fcb27(0x1bd)];if(helper[a9_0x2fcb27(0x1b6)]('@playwright/test'))try{logger['debug'](a9_0x2fcb27(0x1bf)),playwrightPatcher=require('../utils/playwright-patcher'),playwrightPatcher[a9_0x2fcb27(0x24d)](config),logger[a9_0x2fcb27(0x1ed)](a9_0x2fcb27(0x226));}catch(a9_0x8d1e9c){logger[a9_0x2fcb27(0x1ed)](a9_0x2fcb27(0x1da)+util[a9_0x2fcb27(0x1fb)](a9_0x8d1e9c));}}if(bstackConfig!==undefined){const browserStackConfig=JSON[a9_0x2fcb27(0x1ca)](bstackConfig);browserStackConfig&&(commandRepository['setConfig'](browserStackConfig),commandRepository[a9_0x2fcb27(0x1f3)](a9_0x2fcb27(0x1f2)));}global[a9_0x2fcb27(0x1d5)]=0x0;const __setDefaultTimeout=cucumberModule[a9_0x2fcb27(0x23f)];cucumberModule[a9_0x2fcb27(0x23f)]=_0x10b1ec=>{const _0x314efd=a9_0x2fcb27,_0xec8d59={'oZSLd':function(_0x5f0ed8,_0x4c4679){return _0x5f0ed8(_0x4c4679);}};global[_0x314efd(0x1d5)]=_0x10b1ec,_0xec8d59[_0x314efd(0x203)](__setDefaultTimeout,_0x10b1ec);};function a9_0x19e4(){const _0x5070fb=['length','getAutomationFramework','Inside\x20browserstack\x20AfterStep','QvRpl','dcLuQ','Error:\x20sendPlatformDetails\x20at\x20After:\x20','\x20|\x20','getInstance','pickleStep','../../helpers/setKeepAlive','MGryw','@playwright/test','Inside\x20browserstack\x20After','executeScript','After','Patching\x20Selenium','__error_messages__','AutomationFramework\x20QUIT\x20PRE\x20event\x20completed\x20for\x20test:\x20','KoKrt','LCEPj','VvNlZ','AfterAll','174928rYHiTA','driverCleanup','page','../../helpers/testhub/utils','env','Error:\x20quiting\x20driver\x20at\x20After:\x20','LUoxG','tAIpI','YiyLq','Flow\x20detection:\x20isSeleniumFlow=','getTestUUID','PRE','Inside\x20browserstack\x20Before','RIhdc','../playwright/reporter/test-details.js','PLAYWRIGHT','__skipSessionStatus','../v2/browserstackCLI.js','Kmutk','KPUtM','lODko','lvKxN','64ssuzNM',',\x20isPlaywrightFlow=','stopMonitoring','failed','uuid','../../helpers/ai-sdk/autoHealHelper','test_run','VzsVI','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','sPjIo','RbGXi','../v2/browserstackCLI','__drivers','status','../../helpers/test-observability/error-handler','2656907loHlVA','tLBkH','bjJCk','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20','../v2/state/automationFrameworkState','getPackageVersion','vGVix','sBQsA','2012586knmXfo','klfCi','uploadEventData','ZbPsI','platformIndex','bvFYe','Patching\x20Playwright','Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','Completed\x20Playwright\x20afterTestHook\x20execution','catch','ANkHe','bstack','scenario','LcdwS','../../helpers/globals','Error:\x20in\x20After\x20Step\x20for\x20driver\x20','isCliEnabled','parse','shift','../../helpers/performance/performance-tester','JHKlm','wlvXr','Executed\x20fallback\x20close\x20tracker\x20cleanup\x20after\x20error','xZCao','QUIT','IxtnC','bs:addLog:','startMonitoring','__timeout','integrations','stringify','GvFCZ','setGlobal','Error\x20initializing\x20Playwright\x20patching:\x20','../utils/constants','lodash','bBQKR','pickle','testInfo','error','getId','cENBB','__skipSessionName','Test\x20info\x20prepared\x20for\x20CREATE\x20PRE\x20event:\x20','text','toString','finally','CBTSessionCreated','Error\x20sending\x20log\x20created\x20event:\x20','tags','\x22}}','pid','debug','utkAy','../../helpers/test-observability/sessionHandler','message','push','cucumber-js','setFramework','Unknown\x20Test','cleanup','fJLVc','JraEb','432QiDRHm','@cucumber/cucumber','storeLogObjects','format','../v2/cliUtils','pwPage','currentTest','\x0aError:\x20','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','then','kMxxP','oZSLd','aqAdH','Failed:\x20','event_type','../../helpers/accessibility-automation/helper','shutdown','isRunning','CftWM','initQuit','browserstackAgentV2','cucumber-test','saveTestResults','closeTracker','../../helpers/test-observability/requestQueueHandler','614286naDOnM','bstackA11yShouldScan','passed','wIKOp','BMshI','agODf','../../helpers/test-observability/utils','name','Playwright\x20flow\x20detected\x20-\x20page\x20exists:\x20','BeforeAll','HLNpy','Error\x20triggering\x20AutomationFramework\x20events:\x20','BdxvU','Executed\x20deferred\x20closes\x20after\x20QUIT\x20PRE\x20event\x20completion','testCaseStartedId','QEcRH','__platformCaps','executeAsyncScript','bisqq','LTvXg','../../helpers/accessibility-automation/scripts','Playwright\x20patching\x20initialized\x20for\x20Cucumber-JS','PIdGw','10ddIfyj','split','IdHaJ','skQbx','../v2/TestInfo.js','RVjYH','quitCount_','Cucumber-JS','rbFNJ','qGKPS','timeout','6ZuwqfK','performScan','toLowerCase','Cleaned\x20up\x20close\x20tracker','Error:\x20cleaning\x20up\x20driver:\x20','qkpLz','executeDeferredCloses','Error\x20cleaning\x20up\x20Playwright\x20close\x20tracker:\x20','icSNL','skipSessionName','thTestRunUuid','Error:\x20at\x20After\x20(Selenium):\x20','setDefaultTimeout','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','913192vMTpiy','Error\x20in\x20playwright\x20beforeTestHook:\x20','info','beforeTestHook','thJwtToken','removeAllListeners','../../helpers/helper','BROWSERSTACK_TESTHUB_UUID','test_run_uuid','kHohG','Error\x20in\x20fallback\x20cleanup:\x20','RzUtD','initializePlaywrightPatching','BROWSERSTACK_TESTHUB_JWT','CUCUMBER','isAccessibilityPlatform','yvLaR','Inside\x20browserstack\x20AfterAll','../playwright/reporter/reporter.js','qePrM','getGlobal','session_','result','__sessionFailed','Inside\x20browserstack\x20registerListeners','util','Passed','setTestNameForHealingContext','join','Cleaned\x20up\x20Playwright\x20close\x20tracker','o11ySyncDone','ENV_VAR','BSTACK_CONFIG','trackEvent','Bootstrapping\x20BrowserstackCLI\x20for\x20cucumber-js\x20worker\x20process','platformCaps','431615szLsun','SpUGH','sendTestLog:\x20No\x20testId\x20found\x20in\x20testInfo','4|2|3|0|1','__workerDetails','wiQgG','addTestUIDAndReportLog','setFrameworkDetail','afterTestHook','bzjjv','UVpaK','AsYDv','Performing\x20scan\x20before\x20saving\x20results','@cucumber/cucumber/lib/index.js','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','thBuildUuid','346nAAgCs','patchPageCommandsForAccessibility','rerxg','Error\x20executing\x20deferred\x20closes:\x20'];a9_0x19e4=function(){return _0x5070fb;};return a9_0x19e4();}const a9_0x533134={};a9_0x533134[a9_0x2fcb27(0x218)]='bstack',BeforeAll(a9_0x533134,async function(){const _0x3f7561=a9_0x2fcb27,_0x4d3947={'bjJCk':function(_0x292e16,_0x4eb1a4,_0x3178bf,_0x25d397){return _0x292e16(_0x4eb1a4,_0x3178bf,_0x25d397);},'sPjIo':_0x3f7561(0x1a4),'UVpaK':_0x3f7561(0x17b),'HihOq':function(_0x2f90b0,_0x97fe34,_0x558bfa){return _0x2f90b0(_0x97fe34,_0x558bfa);},'qGKPS':_0x3f7561(0x213),'dWWtT':'Inside\x20browserstack\x20BeforeAll','kMxxP':function(_0xb391d9,_0x466916){return _0xb391d9(_0x466916);},'klfCi':_0x3f7561(0x1ad),'SpUGH':_0x3f7561(0x1fc),'rerxg':_0x3f7561(0x263),'LTvXg':function(_0x2edab9){return _0x2edab9();}};PerformanceTester[_0x3f7561(0x1d4)](),logger[_0x3f7561(0x1ed)](_0x4d3947['dWWtT']),global[_0x3f7561(0x185)]=[],global[_0x3f7561(0x258)]=![];if(playwrightPatcher)try{const _0x16e508=_0x4d3947[_0x3f7561(0x202)](require,_0x4d3947[_0x3f7561(0x1ba)]),_0x11a20c=_0x4d3947[_0x3f7561(0x202)](require,_0x4d3947[_0x3f7561(0x266)]);_0x16e508[_0x3f7561(0x17c)]()[_0x3f7561(0x1c9)]()&&(logger[_0x3f7561(0x1ed)](_0x4d3947[_0x3f7561(0x277)]),_0x11a20c[_0x3f7561(0x26c)](FRAMEWORKS[_0x3f7561(0x24f)],FRAMEWORKS[_0x3f7561(0x19a)]),await _0x16e508['getInstance']()['bootstrap']());}catch(_0x330d9c){logger[_0x3f7561(0x1ed)]('Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20'+util[_0x3f7561(0x1fb)](_0x330d9c));}_0x4d3947[_0x3f7561(0x224)](shouldProcessEventForTesthub)&&(_0x4d3947[_0x3f7561(0x224)](registerListeners),_0x4d3947['kMxxP'](addRequestSpy,![])),global['driverCleanup']=async()=>{const _0x47a633=_0x3f7561;let _0x2462df=![];try{global[_0x47a633(0x1ae)]&&global[_0x47a633(0x1ae)][0x0]&&(await global['__drivers'][0x0][_0x47a633(0x256)],_0x2462df=!![],global[_0x47a633(0x258)]?await _0x4d3947[_0x47a633(0x1b3)](markSessionStatus,global[_0x47a633(0x1ae)][0x0],_0x4d3947[_0x47a633(0x1ab)],global[_0x47a633(0x185)][_0x47a633(0x25d)](_0x4d3947[_0x47a633(0x26f)])):await _0x4d3947['HihOq'](markSessionStatus,global[_0x47a633(0x1ae)][0x0],_0x4d3947[_0x47a633(0x231)]));}catch(_0xc615cc){logger[_0x47a633(0x1ed)](_0x47a633(0x237)+_0xc615cc);}global[_0x47a633(0x185)]=[],global[_0x47a633(0x258)]=![];if(_0x2462df)try{await global[_0x47a633(0x1ae)][0x0]['initQuit'](),global[_0x47a633(0x1ae)][0x0][_0x47a633(0x256)][_0x47a633(0x201)](_0x193512=>{const _0x3beb64=_0x47a633;logger['debug']('Error:\x20in\x20quitting\x20driver\x20'+_0x193512[_0x3beb64(0x1e1)]());})[_0x47a633(0x1c2)](_0x49480e=>{});}catch(_0xc99a6a){logger[_0x47a633(0x1ed)]('Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20'+_0xc99a6a);}};});const a9_0xcba9d9={};a9_0xcba9d9[a9_0x2fcb27(0x218)]=a9_0x2fcb27(0x1c4),a9_0xcba9d9[a9_0x2fcb27(0x232)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x2fcb27(0x22f)],Before(a9_0xcba9d9,function(_0x449e11,_0x3a32d8){const _0x13dba5=a9_0x2fcb27,_0x179932={'DUpQP':function(_0x9dbb36,_0xc641a0){return _0x9dbb36>_0xc641a0;},'VzsVI':function(_0x1c5ca1,_0x2d376e){return _0x1c5ca1(_0x2d376e);},'yvLaR':function(_0xca3674,_0x52e2bc,_0x4e3139,_0x452eb3){return _0xca3674(_0x52e2bc,_0x4e3139,_0x452eb3);},'YiyLq':'bstackA11yShouldScan','vGVix':function(_0x2fb435,_0x248a6a){return _0x2fb435(_0x248a6a);},'fMkgQ':_0x13dba5(0x1ad),'aqAdH':_0x13dba5(0x1b5),'skQbx':'../v2/state/hookState','PIdGw':'Unknown\x20Test','KoKrt':'cucumber-test','xhWqF':function(_0x3d53a9){return _0x3d53a9();},'ANkHe':_0x13dba5(0x197)};commandRepository[_0x13dba5(0x25c)](_0x449e11['pickle'][_0x13dba5(0x218)]),logger[_0x13dba5(0x1ed)](_0x179932[_0x13dba5(0x1c3)]),new Promise(async _0x1ba29b=>{const _0x248c8f=_0x13dba5;try{global[_0x248c8f(0x1ae)]&&_0x179932['DUpQP'](global[_0x248c8f(0x1ae)][_0x248c8f(0x175)],0x1)&&(await global[_0x248c8f(0x18c)](),global[_0x248c8f(0x1ae)][_0x248c8f(0x1cb)]()),global[_0x248c8f(0x1ae)]&&global['__drivers'][0x0]&&global[_0x248c8f(0x1ae)][0x0][_0x248c8f(0x22e)]&&_0x179932['DUpQP'](global[_0x248c8f(0x1ae)][0x0][_0x248c8f(0x22e)],0x0)&&await global['driverCleanup']();}catch(_0x45f30b){logger[_0x248c8f(0x1ed)](_0x248c8f(0x1a9)+_0x45f30b);}workerDetails['currentTest']['testInfo']=_0x449e11;if(!playwrightPatcher){try{if(!_0x179932[_0x248c8f(0x1a8)](isUndefined,_0x449e11[_0x248c8f(0x1de)][_0x248c8f(0x1ea)])){const _0x571c57=_0x179932[_0x248c8f(0x251)](shouldScanTestForAccessibility,null,![],_0x449e11[_0x248c8f(0x1de)]['tags']['map'](({name:_0x39c26e})=>_0x39c26e));globals[_0x248c8f(0x1d9)](_0x179932[_0x248c8f(0x193)],_0x571c57);}}catch(_0x14e653){logger[_0x248c8f(0x1ed)]('Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20'+util[_0x248c8f(0x1fb)](_0x14e653));}workerDetails[_0x248c8f(0x1fe)][_0x248c8f(0x23d)]=TestDetails[_0x248c8f(0x195)](_0x449e11[_0x248c8f(0x21f)]);}if(playwrightPatcher)try{await playwrightPatcher[_0x248c8f(0x244)](_0x449e11),global[_0x248c8f(0x269)]&&global[_0x248c8f(0x269)][_0x248c8f(0x1fd)]&&playwrightPatcher[_0x248c8f(0x276)](global[_0x248c8f(0x269)][_0x248c8f(0x1fd)]);}catch(_0x5cb293){logger[_0x248c8f(0x1ed)](_0x248c8f(0x242)+util[_0x248c8f(0x1fb)](_0x5cb293));}if(playwrightPatcher)try{const _0x3b0672=_0x179932[_0x248c8f(0x1b7)](require,_0x179932['fMkgQ']),_0x511838=_0x179932[_0x248c8f(0x1a8)](require,_0x179932[_0x248c8f(0x204)]),_0xdc8e90=_0x179932[_0x248c8f(0x1b7)](require,_0x179932[_0x248c8f(0x22b)]);if(_0x3b0672[_0x248c8f(0x17c)]()[_0x248c8f(0x209)]()){const _0xc350bf={'title':_0x449e11['pickle']['name']||_0x179932[_0x248c8f(0x227)],'titlePath':[_0x449e11[_0x248c8f(0x1de)][_0x248c8f(0x218)]||_0x179932['PIdGw']],'id':_0x449e11[_0x248c8f(0x21f)]||_0x179932[_0x248c8f(0x187)],'tags':_0x449e11[_0x248c8f(0x1de)][_0x248c8f(0x1ea)]||[],..._0x449e11},_0x5772f5=_0xc350bf;global['__currentTestInfo']=_0x5772f5,logger[_0x248c8f(0x1ed)](_0x248c8f(0x1e4)+_0x449e11[_0x248c8f(0x1de)][_0x248c8f(0x218)]);}}catch(_0xd51170){logger[_0x248c8f(0x1ed)](_0x248c8f(0x21c)+util[_0x248c8f(0x1fb)](_0xd51170));}_0x179932['xhWqF'](_0x1ba29b);})['finally'](_0x3a32d8);});const a9_0x251eb8={};a9_0x251eb8['name']=a9_0x2fcb27(0x1c4),a9_0x251eb8[a9_0x2fcb27(0x232)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x2fcb27(0x22f)],After(a9_0x251eb8,function(_0x2a920f,_0x408fd9){const _0x3a2cb4=a9_0x2fcb27,_0x534fc0={'bvFYe':function(_0x4733ed,_0x28ed4d){return _0x4733ed>_0x28ed4d;},'QEcRH':function(_0x484879,_0x12310b){return _0x484879===_0x12310b;},'IdHaJ':_0x3a2cb4(0x1a4),'wlvXr':function(_0x108242,_0x3e9d98){return _0x108242===_0x3e9d98;},'wIKOp':function(_0x39a003,_0x242caf){return _0x39a003>_0x242caf;},'bBQKR':function(_0x159dd2,_0x1766bd,_0x57b9f4,_0x1284dd){return _0x159dd2(_0x1766bd,_0x57b9f4,_0x1284dd);},'lODko':_0x3a2cb4(0x17b),'LfpVB':function(_0x351735,_0x49196f,_0x450879){return _0x351735(_0x49196f,_0x450879);},'xZCao':_0x3a2cb4(0x213),'dcLuQ':function(_0x44d38b,_0x203ca2){return _0x44d38b(_0x203ca2);},'RIhdc':_0x3a2cb4(0x1ad),'YxHti':_0x3a2cb4(0x1b5),'tLBkH':function(_0x5623f8,_0x239d09){return _0x5623f8(_0x239d09);},'sBQsA':'../v2/state/hookState','zsuTw':_0x3a2cb4(0x1f4),'HhKIq':_0x3a2cb4(0x20d),'tAIpI':_0x3a2cb4(0x1c1),'ZbPsI':_0x3a2cb4(0x21e),'agODf':_0x3a2cb4(0x236),'kHohG':_0x3a2cb4(0x1c0),'BdxvU':_0x3a2cb4(0x1cf),'LCEPj':function(_0x4ce085,_0x409525){return _0x4ce085(_0x409525);},'gSzaB':_0x3a2cb4(0x19c),'MGryw':function(_0x2e18fa){return _0x2e18fa();},'rbFNJ':function(_0xae67af,_0xe51d92,_0x415766,_0x9981d4){return _0xae67af(_0xe51d92,_0x415766,_0x9981d4);},'JHKlm':_0x3a2cb4(0x1e8),'cXLiZ':_0x3a2cb4(0x250),'RVjYH':_0x3a2cb4(0x212),'RbGXi':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','VvNlZ':_0x3a2cb4(0x271),'qkpLz':'isMobilePlatform','wiQgG':_0x3a2cb4(0x1aa),'LUoxG':function(_0x380f57,_0x2445f8){return _0x380f57>_0x2445f8;},'Kmutk':function(_0x4dd4b3){return _0x4dd4b3();},'LcdwS':_0x3a2cb4(0x181)};logger[_0x3a2cb4(0x1ed)](_0x534fc0[_0x3a2cb4(0x1c6)]),workerDetails['currentTest']['testInfo']=_0x2a920f,new Promise(async _0x5ac92f=>{const _0x40d167=_0x3a2cb4;let _0x1af1f5=![],_0x2d28aa=![],_0x4ff983=![];try{global[_0x40d167(0x1ae)]&&_0x534fc0[_0x40d167(0x1be)](global['__drivers'][_0x40d167(0x175)],0x0)&&(_0x2d28aa=!![]),playwrightPatcher&&global[_0x40d167(0x269)]&&global['__workerDetails']['pwPage']&&(_0x4ff983=!![],logger['debug'](_0x40d167(0x219)+!!global[_0x40d167(0x269)][_0x40d167(0x1fd)]));}catch(_0xe87449){logger['debug']('Error\x20determining\x20test\x20flow:\x20'+_0xe87449);}logger[_0x40d167(0x1ed)](_0x40d167(0x194)+_0x2d28aa+_0x40d167(0x1a2)+_0x4ff983);const _0x4e6451=_0x2a920f['result'][_0x40d167(0x1af)]['toString']()[_0x40d167(0x235)](),_0x4e8e4c=_0x534fc0[_0x40d167(0x220)](_0x4e6451,_0x534fc0[_0x40d167(0x22a)])||_0x534fc0[_0x40d167(0x1ce)](_0x4e6451,'6'),_0x59cad4=_0x4e8e4c?_0x2a920f['result'][_0x40d167(0x1f0)]:null;if(_0x4e8e4c)try{global[_0x40d167(0x185)][_0x40d167(0x1f1)](_0x2a920f[_0x40d167(0x257)][_0x40d167(0x1f0)]),global[_0x40d167(0x258)]=!![];}catch(_0x59f81f){logger[_0x40d167(0x1ed)]('Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20'+_0x59f81f);}if(_0x2d28aa)try{global[_0x40d167(0x1ae)]&&_0x534fc0[_0x40d167(0x214)](global[_0x40d167(0x1ae)][_0x40d167(0x175)],0x1)&&(await global[_0x40d167(0x18c)](),global[_0x40d167(0x1ae)][_0x40d167(0x1cb)](),global[_0x40d167(0x185)]=[],global[_0x40d167(0x258)]=![]),global['__drivers']&&global[_0x40d167(0x1ae)][0x0]&&(await global['__drivers'][0x0][_0x40d167(0x256)],_0x1af1f5=!![],!global[_0x40d167(0x1e3)]&&await global['__drivers'][0x0][_0x40d167(0x182)](_0x40d167(0x240)+_0x2a920f[_0x40d167(0x1de)][_0x40d167(0x218)]+_0x40d167(0x1eb)),_0x4e8e4c?await _0x534fc0[_0x40d167(0x1dd)](markSessionStatus,global[_0x40d167(0x1ae)][0x0],_0x534fc0['IdHaJ'],global[_0x40d167(0x185)]['join'](_0x534fc0[_0x40d167(0x19f)])):await _0x534fc0['LfpVB'](markSessionStatus,global[_0x40d167(0x1ae)][0x0],_0x534fc0[_0x40d167(0x1d0)]));}catch(_0x1c3083){logger[_0x40d167(0x1ed)](_0x40d167(0x23e)+util[_0x40d167(0x1fb)](_0x1c3083));}if(_0x4ff983)try{try{const _0xff3470=_0x534fc0[_0x40d167(0x179)](require,_0x534fc0[_0x40d167(0x198)]),_0x4fa7d8=_0x534fc0[_0x40d167(0x179)](require,_0x534fc0['YxHti']),_0x494e69=_0x534fc0[_0x40d167(0x1b2)](require,_0x534fc0[_0x40d167(0x1b8)]);if(_0xff3470['getInstance']()[_0x40d167(0x209)]()){const _0x9cdac8={'title':_0x2a920f[_0x40d167(0x1de)][_0x40d167(0x218)]||_0x534fc0['zsuTw'],'titlePath':[_0x2a920f['pickle'][_0x40d167(0x218)]||_0x534fc0['zsuTw']],'id':_0x2a920f['testCaseStartedId']||_0x534fc0['HhKIq'],'status':_0x4e8e4c?_0x534fc0[_0x40d167(0x22a)]:_0x534fc0['xZCao'],'error':_0x59cad4?{'message':_0x59cad4}:null,'tags':_0x2a920f[_0x40d167(0x1de)][_0x40d167(0x1ea)]||[],..._0x2a920f},_0x14a68b=_0x9cdac8,_0x7fab8a={};_0x7fab8a[_0x40d167(0x1df)]=_0x14a68b,_0x7fab8a[_0x40d167(0x1c5)]=_0x2a920f,_0x7fab8a[_0x40d167(0x18d)]=global[_0x40d167(0x269)][_0x40d167(0x1fd)],_0x7fab8a['testFramework']=FRAMEWORKS[_0x40d167(0x24f)],await _0xff3470['getInstance']()[_0x40d167(0x176)]()[_0x40d167(0x262)](_0x4fa7d8[_0x40d167(0x1d1)],_0x494e69[_0x40d167(0x196)],_0x7fab8a),logger[_0x40d167(0x1ed)](_0x40d167(0x186)+_0x2a920f[_0x40d167(0x1de)]['name']);}}catch(_0x4f2728){logger[_0x40d167(0x1ed)]('Error\x20triggering\x20AutomationFramework\x20QUIT\x20PRE\x20event:\x20'+util[_0x40d167(0x1fb)](_0x4f2728));}const _0x176e70=_0x4e8e4c?_0x534fc0[_0x40d167(0x22a)]:_0x534fc0['xZCao'];await playwrightPatcher[_0x40d167(0x26d)](_0x2a920f,_0x176e70,_0x59cad4),logger[_0x40d167(0x1ed)](_0x534fc0[_0x40d167(0x192)]);try{await playwrightPatcher[_0x40d167(0x239)](),logger[_0x40d167(0x1ed)](_0x534fc0[_0x40d167(0x1bc)]);}catch(_0x536609){logger[_0x40d167(0x1ed)](_0x40d167(0x174)+util[_0x40d167(0x1fb)](_0x536609));}try{playwrightPatcher[_0x40d167(0x20f)][_0x40d167(0x1f5)](),logger[_0x40d167(0x1ed)](_0x534fc0[_0x40d167(0x216)]);}catch(_0x4a12d2){logger['debug']('Error\x20cleaning\x20up\x20close\x20tracker:\x20'+util[_0x40d167(0x1fb)](_0x4a12d2));}}catch(_0x11c1a0){logger[_0x40d167(0x1ed)]('Error:\x20at\x20After\x20(Playwright):\x20'+util[_0x40d167(0x1fb)](_0x11c1a0));try{playwrightPatcher['executeDeferredCloses']&&(await playwrightPatcher['executeDeferredCloses'](),logger[_0x40d167(0x1ed)](_0x534fc0[_0x40d167(0x24a)])),playwrightPatcher['closeTracker']&&playwrightPatcher[_0x40d167(0x20f)]['cleanup']&&(playwrightPatcher['closeTracker'][_0x40d167(0x1f5)](),logger[_0x40d167(0x1ed)](_0x534fc0[_0x40d167(0x21d)]));}catch(_0x15f5d7){logger['debug'](_0x40d167(0x24b)+util[_0x40d167(0x1fb)](_0x15f5d7));}}const _0x43795f=_0x534fc0[_0x40d167(0x188)](require,_0x534fc0['gSzaB']);if(!_0x43795f[_0x40d167(0x17c)]()['isRunning']())try{if(_0x534fc0[_0x40d167(0x17f)](shouldProcessEventForTesthub)){const _0x5955aa=TestDetails[_0x40d167(0x195)](_0x2a920f['testCaseStartedId']);let _0x30463f=null;global[_0x40d167(0x1ae)]&&global[_0x40d167(0x1ae)][0x0]&&(_0x30463f=await _0x534fc0[_0x40d167(0x230)](sendPlatformDetails,global[_0x40d167(0x1ae)][0x0],_0x5955aa,!![]));const _0x20db04={};_0x20db04['uuid']=_0x5955aa,_0x20db04[_0x40d167(0x1d6)]=_0x30463f;const _0x4f0437=_0x20db04,_0x14a928={};_0x14a928[_0x40d167(0x206)]=_0x534fc0[_0x40d167(0x1cd)],_0x14a928[_0x40d167(0x1a7)]=_0x4f0437,await SessionHandler[_0x40d167(0x1bb)](_0x14a928);}}catch(_0x4ac878){logger[_0x40d167(0x1ed)](_0x40d167(0x17a)+util[_0x40d167(0x1fb)](_0x4ac878));}try{if(globals[_0x40d167(0x255)](_0x534fc0['cXLiZ'])&&globals[_0x40d167(0x255)](_0x534fc0[_0x40d167(0x22d)])){logger[_0x40d167(0x243)](_0x534fc0[_0x40d167(0x1ac)]);const _0x321db6=TestDetails['getTestUUID'](_0x2a920f[_0x40d167(0x21f)]),_0x2358ba={};_0x2358ba['thTestRunUuid']=_0x321db6,_0x2358ba[_0x40d167(0x274)]=process[_0x40d167(0x18f)][testHubConstants[_0x40d167(0x260)][_0x40d167(0x248)]],_0x2358ba[_0x40d167(0x245)]=process['env'][testHubConstants[_0x40d167(0x260)][_0x40d167(0x24e)]];const _0x6a494f=_0x2358ba;logger[_0x40d167(0x1ed)](_0x40d167(0x200)+JSON['stringify'](_0x6a494f)),logger[_0x40d167(0x1ed)](_0x534fc0[_0x40d167(0x189)]),global[_0x40d167(0x1ae)]&&global[_0x40d167(0x1ae)][0x0]&&(logger[_0x40d167(0x1ed)](util['format'](await global['__drivers'][0x0][_0x40d167(0x222)](scripts[_0x40d167(0x234)],{'method':global['browserstackSessionName']}))),globals['getGlobal'](_0x534fc0[_0x40d167(0x238)])&&(_0x6a494f['is_mobile_session']=!![]),await global['__drivers'][0x0][_0x40d167(0x222)](scripts[_0x40d167(0x20e)],_0x6a494f)),logger[_0x40d167(0x243)](_0x534fc0[_0x40d167(0x26a)]);}}catch(_0x19b513){logger[_0x40d167(0x1e0)](_0x40d167(0x1b4)+util[_0x40d167(0x1fb)](_0x19b513));}if(_0x1af1f5)try{global[_0x40d167(0x1ae)][0x0]&&_0x534fc0[_0x40d167(0x191)](global[_0x40d167(0x1ae)][0x0]['quitCount_'],0x0)&&await global[_0x40d167(0x1ae)][0x0][_0x40d167(0x20b)]();}catch(_0x2369f8){logger[_0x40d167(0x1ed)](_0x40d167(0x190)+_0x2369f8);}_0x534fc0[_0x40d167(0x19d)](_0x5ac92f);})[_0x3a2cb4(0x1e7)](()=>_0x408fd9());});const a9_0xc8cb95={};a9_0xc8cb95[a9_0x2fcb27(0x218)]=a9_0x2fcb27(0x1c4),a9_0xc8cb95['timeout']=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x2fcb27(0x22f)],AfterStep(a9_0xc8cb95,function(_0x1d58ba,_0x371687){const _0x248e68=a9_0x2fcb27,_0x474af0={'cENBB':function(_0x4aad88,_0x19d77e){return _0x4aad88===_0x19d77e;},'RzUtD':_0x248e68(0x1a4),'JraEb':function(_0x4f7dd6,_0xa6a626){return _0x4f7dd6===_0xa6a626;},'gqERm':function(_0x47aa5b,_0x48a9f2){return _0x47aa5b!==_0x48a9f2;},'qePrM':function(_0x599ebd,_0x22d81a,_0x512f1c){return _0x599ebd(_0x22d81a,_0x512f1c);},'lvKxN':function(_0x24cb8b,_0x4f5bdc){return _0x24cb8b+_0x4f5bdc;},'CftWM':_0x248e68(0x205),'utkAy':_0x248e68(0x1ff),'GvFCZ':_0x248e68(0x1e0),'bisqq':function(_0x46e61f,_0x116e64,_0x5c7d8c){return _0x46e61f(_0x116e64,_0x5c7d8c);},'IxtnC':function(_0x2d105b,_0x549553){return _0x2d105b!==_0x549553;},'fJLVc':function(_0x2196d5,_0x2745d1,_0x4c4316){return _0x2196d5(_0x2745d1,_0x4c4316);},'RNKrf':function(_0x25c7f8,_0x21d450){return _0x25c7f8+_0x21d450;},'bzjjv':'Passed:\x20','icSNL':_0x248e68(0x243),'RjWoT':_0x248e68(0x25b),'QvRpl':function(_0x59d63b){return _0x59d63b();},'ndOwY':_0x248e68(0x177)};logger[_0x248e68(0x1ed)](_0x474af0['ndOwY']);const _0x1433df=async(_0x4010be,_0x4381b6)=>{const _0x2c3b44=_0x248e68;global[_0x2c3b44(0x1ae)]&&global[_0x2c3b44(0x1ae)][0x0]&&await global['__drivers'][0x0][_0x2c3b44(0x182)](_0x2c3b44(0x273)+_0x4010be+',\x22level\x22:\x20\x22'+_0x4381b6+'\x22}}');};new Promise(async _0x3213bd=>{const _0x3f4594=_0x248e68;try{const _0x50bbbc=_0x474af0[_0x3f4594(0x1e2)](_0x1d58ba[_0x3f4594(0x257)]['status'][_0x3f4594(0x1e6)]()['toLowerCase'](),_0x474af0[_0x3f4594(0x24c)])||_0x474af0[_0x3f4594(0x1f7)](_0x1d58ba[_0x3f4594(0x257)][_0x3f4594(0x1af)][_0x3f4594(0x1e6)]()[_0x3f4594(0x235)](),'6');_0x50bbbc?(global['__sessionFailed']=!![],global['__error_messages__'][_0x3f4594(0x1f1)](_0x1d58ba[_0x3f4594(0x257)][_0x3f4594(0x1f0)]),_0x474af0['gqERm'](_0x1d58ba[_0x3f4594(0x17d)],undefined)?await _0x474af0[_0x3f4594(0x254)](_0x1433df,JSON[_0x3f4594(0x1d7)](_0x474af0[_0x3f4594(0x1a0)](_0x474af0[_0x3f4594(0x1a0)](_0x474af0[_0x3f4594(0x1a0)](_0x474af0[_0x3f4594(0x20a)],'\x22'+_0x1d58ba[_0x3f4594(0x17d)][_0x3f4594(0x1e5)]+'\x22\x20'),_0x474af0[_0x3f4594(0x1ee)]),_0x1d58ba[_0x3f4594(0x257)][_0x3f4594(0x1f0)])),_0x474af0['GvFCZ']):await _0x474af0[_0x3f4594(0x223)](_0x1433df,JSON[_0x3f4594(0x1d7)](_0x474af0[_0x3f4594(0x1a0)](_0x474af0[_0x3f4594(0x20a)],_0x1d58ba[_0x3f4594(0x257)]['message'])),_0x474af0[_0x3f4594(0x1d8)])):_0x474af0[_0x3f4594(0x1d2)](_0x1d58ba[_0x3f4594(0x17d)],undefined)?await _0x474af0[_0x3f4594(0x1f6)](_0x1433df,JSON['stringify'](_0x474af0['RNKrf'](_0x474af0[_0x3f4594(0x26e)],'\x22'+_0x1d58ba[_0x3f4594(0x17d)][_0x3f4594(0x1e5)]+'\x22')),_0x474af0[_0x3f4594(0x23b)]):await _0x474af0[_0x3f4594(0x254)](_0x1433df,JSON[_0x3f4594(0x1d7)](_0x474af0['RjWoT']),_0x474af0[_0x3f4594(0x23b)]),global['__drivers']&&global[_0x3f4594(0x1ae)][0x0]&&global[_0x3f4594(0x1ae)][0x0][_0x3f4594(0x256)]['then'](_0x129cdc=>{})[_0x3f4594(0x1c2)](_0x4fa509=>{const _0x1eccf2=_0x3f4594;logger[_0x1eccf2(0x1ed)](_0x1eccf2(0x1c8)+util[_0x1eccf2(0x1fb)](_0x4fa509));});}catch(_0x21c7cb){logger[_0x3f4594(0x1ed)]('Error:\x20at\x20After\x20Step:\x20'+_0x21c7cb);}_0x474af0[_0x3f4594(0x178)](_0x3213bd);})['finally'](()=>_0x371687());});const a9_0x483d2d={};a9_0x483d2d[a9_0x2fcb27(0x218)]=a9_0x2fcb27(0x1c4),a9_0x483d2d[a9_0x2fcb27(0x232)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x2fcb27(0x22f)],AfterAll(a9_0x483d2d,async function(_0x38c5ab,_0x5da365){const _0x50fa0a=a9_0x2fcb27,_0x1ba02b={'HLNpy':_0x50fa0a(0x268),'UEXJA':function(_0x28786b){return _0x28786b();},'AsYDv':_0x50fa0a(0x25e),'fYUey':_0x50fa0a(0x252)};logger[_0x50fa0a(0x1ed)](_0x1ba02b['fYUey']),await new Promise(async _0x360942=>{const _0x1a13ce=_0x50fa0a,_0x217b74=_0x1ba02b[_0x1a13ce(0x21b)][_0x1a13ce(0x229)]('|');let _0xde709f=0x0;while(!![]){switch(_0x217b74[_0xde709f++]){case'0':await global[_0x1a13ce(0x18c)]();continue;case'1':_0x1ba02b['UEXJA'](_0x360942);continue;case'2':PerformanceTester[_0x1a13ce(0x1a3)]();continue;case'3':try{playwrightPatcher&&playwrightPatcher[_0x1a13ce(0x239)]&&(await playwrightPatcher['executeDeferredCloses'](),playwrightPatcher['closeTracker']&&playwrightPatcher['closeTracker'][_0x1a13ce(0x1f5)](),logger[_0x1a13ce(0x1ed)](_0x1ba02b[_0x1a13ce(0x270)]));}catch(_0x2043f6){logger[_0x1a13ce(0x1ed)](_0x1a13ce(0x23a)+util['format'](_0x2043f6));}continue;case'4':await RequestQueueHandler[_0x1a13ce(0x17c)]()[_0x1a13ce(0x208)]();continue;}break;}});});
|
|
1
|
+
const a9_0x24c3cf=a9_0x3ab6;(function(_0x479916,_0x2ce3b6){const _0x4b6ab6=a9_0x3ab6,_0x570395=_0x479916();while(!![]){try{const _0x44cd08=parseInt(_0x4b6ab6(0x236))/0x1*(-parseInt(_0x4b6ab6(0x1aa))/0x2)+parseInt(_0x4b6ab6(0x169))/0x3*(parseInt(_0x4b6ab6(0x1eb))/0x4)+parseInt(_0x4b6ab6(0x1e1))/0x5+-parseInt(_0x4b6ab6(0x15b))/0x6+parseInt(_0x4b6ab6(0x16f))/0x7*(parseInt(_0x4b6ab6(0x1d9))/0x8)+-parseInt(_0x4b6ab6(0x24c))/0x9*(-parseInt(_0x4b6ab6(0x209))/0xa)+parseInt(_0x4b6ab6(0x183))/0xb;if(_0x44cd08===_0x2ce3b6)break;else _0x570395['push'](_0x570395['shift']());}catch(_0x127b09){_0x570395['push'](_0x570395['shift']());}}}(a9_0x550b,0xc71cf));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra,playwrightSetSessionName,playwrightMarkSessionStatus,nestedKeyValue}=require(a9_0x24c3cf(0x1ca)),{TEST_FRAMEWORK_HOOK_TIMEOUT,FRAMEWORKS}=require(a9_0x24c3cf(0x24e)),setKeepAlive=require(a9_0x24c3cf(0x159)),util=require(a9_0x24c3cf(0x161)),PerformanceTester=require(a9_0x24c3cf(0x1fb)),{EVENTS:PerformanceEvents}=require('../../helpers/performance/constants'),{commandRepository}=require(a9_0x24c3cf(0x224)),cucumberModule=requireModule('@cucumber/cucumber/lib/index.js',a9_0x24c3cf(0x1fe)),logger=require(a9_0x24c3cf(0x1f8))[a9_0x24c3cf(0x1dc)],{shouldProcessEventForTesthub}=require(a9_0x24c3cf(0x16d)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a9_0x24c3cf(0x24b)),TestDetails=require(a9_0x24c3cf(0x167)),TestInfo=require('../v2/TestInfo.js'),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),{o11yErrorHandler}=require(a9_0x24c3cf(0x187)),MyReporter=require(a9_0x24c3cf(0x173)),SessionHandler=require(a9_0x24c3cf(0x1a9)),scripts=require(a9_0x24c3cf(0x1ec)),globals=require('../../helpers/globals'),testHubConstants=require('../../helpers/testhub/constants.js'),{shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{isUndefined}=require(a9_0x24c3cf(0x1bb)),helper=require(a9_0x24c3cf(0x1ca)),a9_0x125cf={};a9_0x125cf['workerInfo']=undefined,a9_0x125cf[a9_0x24c3cf(0x1cb)]={},a9_0x125cf[a9_0x24c3cf(0x21f)]=![],a9_0x125cf[a9_0x24c3cf(0x22b)]=null,a9_0x125cf[a9_0x24c3cf(0x195)]=![],a9_0x125cf[a9_0x24c3cf(0x1cb)]['id']=undefined,a9_0x125cf[a9_0x24c3cf(0x1cb)][a9_0x24c3cf(0x17d)]=undefined;const workerDetails=a9_0x125cf;global['__workerDetails']=workerDetails;let playwrightPatcher=null;shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x3b17b6){const _0xa5a9e7=a9_0x24c3cf,_0x4fd259={'HMdPE':function(_0x391dee,_0x13a4ad){return _0x391dee(_0x13a4ad);},'kwgJS':_0xa5a9e7(0x233),'JhaBd':_0xa5a9e7(0x220)},_0x1e9c0b=workerDetails[_0xa5a9e7(0x1cb)][_0xa5a9e7(0x17d)];if(!_0x1e9c0b)return;if(playwrightPatcher)try{const _0xaea76a=_0x4fd259[_0xa5a9e7(0x1f1)](require,_0x4fd259[_0xa5a9e7(0x1b0)]);if(_0xaea76a['getInstance']()[_0xa5a9e7(0x17b)]()){const _0x4d1977=_0x1e9c0b['testCaseStartedId'];_0x4d1977?(_0x3b17b6[_0xa5a9e7(0x20b)]=_0x4d1977,_0x3b17b6['test_run_uuid']=_0x4d1977,TestInfo['storeLogObjects'](_0x4d1977,_0x3b17b6)):logger['debug'](_0x4fd259['JhaBd']);return;}}catch(_0xdb895){logger[_0xa5a9e7(0x1de)](_0xa5a9e7(0x205)+util['format'](_0xdb895));}await MyReporter[_0xa5a9e7(0x1ad)](_0x1e9c0b,_0x3b17b6);}),registerListeners=()=>{const _0x394923=a9_0x24c3cf,_0x3e2ecd={};_0x3e2ecd['TeIdW']='Inside\x20browserstack\x20registerListeners';const _0x26f840=_0x3e2ecd;logger['debug'](_0x26f840['TeIdW']),process[_0x394923(0x1f3)](_0x394923(0x18f)+process[_0x394923(0x176)]),process['on']('bs:addLog:'+process['pid'],sendTestLog),PerformanceTester[_0x394923(0x178)]();};function a9_0x3ab6(_0x1c01c8,_0x46b20a){const _0x550bc1=a9_0x550b();return a9_0x3ab6=function(_0x3ab6b,_0x51c6cd){_0x3ab6b=_0x3ab6b-0x156;let _0x2bfa4f=_0x550bc1[_0x3ab6b];return _0x2bfa4f;},a9_0x3ab6(_0x1c01c8,_0x46b20a);}modifyCommand(),setKeepAlive();const Before=cucumberModule[a9_0x24c3cf(0x15f)],After=cucumberModule[a9_0x24c3cf(0x1f7)],AfterAll=cucumberModule[a9_0x24c3cf(0x222)],BeforeAll=cucumberModule['BeforeAll'],AfterStep=cucumberModule[a9_0x24c3cf(0x203)],configuration=process[a9_0x24c3cf(0x1ce)][a9_0x24c3cf(0x1af)],bstackConfig=process[a9_0x24c3cf(0x1ce)]['BSTACK_CONFIG'];if(configuration!==undefined){const config=JSON[a9_0x24c3cf(0x1ea)](configuration);isBrowserstackInfra()?(global[a9_0x24c3cf(0x1c6)]=isTrue(config[a9_0x24c3cf(0x1a7)]),global[a9_0x24c3cf(0x228)]=isTrue(config[a9_0x24c3cf(0x19c)])):(global[a9_0x24c3cf(0x1c6)]=!![],global[a9_0x24c3cf(0x228)]=!![]);!helper[a9_0x24c3cf(0x252)](a9_0x24c3cf(0x229))&&(logger[a9_0x24c3cf(0x1de)](a9_0x24c3cf(0x235)),shouldProcessEventForTesthub()?require(a9_0x24c3cf(0x180))[a9_0x24c3cf(0x189)](config,null,!![]):require(a9_0x24c3cf(0x180))[a9_0x24c3cf(0x189)](config));global[a9_0x24c3cf(0x188)]=config['platformCaps']||{},global['browserstackPlatformIndex']=config[a9_0x24c3cf(0x1d0)];if(helper[a9_0x24c3cf(0x252)](a9_0x24c3cf(0x229)))try{logger[a9_0x24c3cf(0x1de)](a9_0x24c3cf(0x219)),playwrightPatcher=require(a9_0x24c3cf(0x211)),playwrightPatcher[a9_0x24c3cf(0x1e2)](config),logger[a9_0x24c3cf(0x1de)]('Playwright\x20patching\x20initialized\x20for\x20Cucumber-JS');}catch(a9_0xb355d4){logger['debug'](a9_0x24c3cf(0x21a)+util[a9_0x24c3cf(0x208)](a9_0xb355d4));}}if(bstackConfig!==undefined){const browserStackConfig=JSON[a9_0x24c3cf(0x1ea)](bstackConfig);browserStackConfig&&(commandRepository['setConfig'](browserStackConfig),commandRepository['setFramework'](a9_0x24c3cf(0x17c)));}global['__timeout']=0x0;const __setDefaultTimeout=cucumberModule['setDefaultTimeout'];cucumberModule[a9_0x24c3cf(0x1fa)]=_0x3382d5=>{const _0x23b654=a9_0x24c3cf,_0x43f2ef={'uwpiY':function(_0x20d210,_0x5a29b4){return _0x20d210(_0x5a29b4);}};global[_0x23b654(0x246)]=_0x3382d5,_0x43f2ef[_0x23b654(0x1d7)](__setDefaultTimeout,_0x3382d5);};const a9_0x31db14={};a9_0x31db14['name']=a9_0x24c3cf(0x213),BeforeAll(a9_0x31db14,async function(){const _0x5ed58b=a9_0x24c3cf,_0x348bbe={'epgYD':function(_0xf71d8,_0x761c60,_0x43d8bf,_0x5ed8a3){return _0xf71d8(_0x761c60,_0x43d8bf,_0x5ed8a3);},'ysayA':'failed','cafxJ':_0x5ed58b(0x202),'vEFDo':function(_0x3ddb12,_0x541658,_0x12756a){return _0x3ddb12(_0x541658,_0x12756a);},'YYjmj':_0x5ed58b(0x1f0),'cuHku':'Inside\x20browserstack\x20BeforeAll','brjGu':function(_0x53df8a,_0x465c8d){return _0x53df8a(_0x465c8d);},'cmHiV':_0x5ed58b(0x233),'zldWp':function(_0x18329b,_0x4ea785){return _0x18329b(_0x4ea785);},'tMfqb':_0x5ed58b(0x240),'xVlbU':_0x5ed58b(0x179),'ApYtZ':function(_0x4efcf9){return _0x4efcf9();},'zZVLJ':function(_0x193ef2){return _0x193ef2();},'FliQo':function(_0x59a8fa,_0x481584){return _0x59a8fa(_0x481584);}};PerformanceTester['startMonitoring'](),logger[_0x5ed58b(0x1de)](_0x348bbe[_0x5ed58b(0x1ac)]),global[_0x5ed58b(0x23a)]=[],global['__sessionFailed']=![];if(playwrightPatcher)try{const _0x59176f=_0x348bbe[_0x5ed58b(0x1be)](require,_0x348bbe[_0x5ed58b(0x1a6)]),_0x39d55f=_0x348bbe[_0x5ed58b(0x1e9)](require,_0x348bbe['tMfqb']);_0x59176f[_0x5ed58b(0x238)]()[_0x5ed58b(0x245)]()&&(logger[_0x5ed58b(0x1de)](_0x348bbe['xVlbU']),_0x39d55f[_0x5ed58b(0x1b1)](FRAMEWORKS[_0x5ed58b(0x177)],FRAMEWORKS[_0x5ed58b(0x1f4)]),await _0x59176f[_0x5ed58b(0x238)]()[_0x5ed58b(0x160)]());}catch(_0x47da51){logger[_0x5ed58b(0x1de)](_0x5ed58b(0x1d6)+util[_0x5ed58b(0x208)](_0x47da51));}_0x348bbe[_0x5ed58b(0x1ed)](shouldProcessEventForTesthub)&&(_0x348bbe['zZVLJ'](registerListeners),_0x348bbe['FliQo'](addRequestSpy,![])),global['driverCleanup']=async()=>{const _0x1ac77a=_0x5ed58b;let _0x17b90d=![];try{global[_0x1ac77a(0x190)]&&global[_0x1ac77a(0x190)][0x0]&&(await global[_0x1ac77a(0x190)][0x0][_0x1ac77a(0x20d)],_0x17b90d=!![],global['__sessionFailed']?await _0x348bbe[_0x1ac77a(0x1e7)](markSessionStatus,global[_0x1ac77a(0x190)][0x0],_0x348bbe[_0x1ac77a(0x1a2)],global[_0x1ac77a(0x23a)][_0x1ac77a(0x253)](_0x348bbe[_0x1ac77a(0x225)])):await _0x348bbe['vEFDo'](markSessionStatus,global['__drivers'][0x0],_0x348bbe[_0x1ac77a(0x244)]));}catch(_0x30a2d9){logger['debug'](_0x1ac77a(0x1ae)+_0x30a2d9);}global['__error_messages__']=[],global['__sessionFailed']=![];if(_0x17b90d)try{await global[_0x1ac77a(0x190)][0x0][_0x1ac77a(0x1a3)](),global[_0x1ac77a(0x190)][0x0]['session_'][_0x1ac77a(0x16c)](_0x4f225e=>{const _0x432124=_0x1ac77a;logger['debug'](_0x432124(0x242)+_0x4f225e[_0x432124(0x199)]());})[_0x1ac77a(0x172)](_0x513cbb=>{});}catch(_0x566b2e){logger['debug']('Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20'+_0x566b2e);}};});const a9_0x5bd552={};a9_0x5bd552[a9_0x24c3cf(0x1bd)]='bstack',a9_0x5bd552[a9_0x24c3cf(0x18c)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x24c3cf(0x210)],Before(a9_0x5bd552,function(_0x22f93a,_0x495786){const _0x58af7e=a9_0x24c3cf,_0x33640f={'yeWMH':function(_0x30d274,_0x3281ec){return _0x30d274>_0x3281ec;},'KcrJB':function(_0x5e20bc,_0x4fc9c6){return _0x5e20bc>_0x4fc9c6;},'opRVJ':function(_0x5ac90f,_0x27079e){return _0x5ac90f(_0x27079e);},'UtJMn':function(_0x24c4da,_0x4f64fa,_0x47f39d,_0x3a6e52){return _0x24c4da(_0x4f64fa,_0x47f39d,_0x3a6e52);},'Dcgwt':_0x58af7e(0x218),'tjzzv':'../v2/browserstackCLI','TXbnA':function(_0x2ddea4,_0x2a565f){return _0x2ddea4(_0x2a565f);},'VDzqd':_0x58af7e(0x21c),'GDQrx':_0x58af7e(0x16b),'GMybG':_0x58af7e(0x1c7),'VTTKv':_0x58af7e(0x249),'QIfRU':function(_0x38d595){return _0x38d595();},'kWFCd':_0x58af7e(0x196)};commandRepository[_0x58af7e(0x23b)](_0x22f93a[_0x58af7e(0x171)][_0x58af7e(0x1bd)]),logger[_0x58af7e(0x1de)](_0x33640f[_0x58af7e(0x221)]),new Promise(async _0x463647=>{const _0x4b7ba8=_0x58af7e;try{global[_0x4b7ba8(0x190)]&&_0x33640f[_0x4b7ba8(0x198)](global[_0x4b7ba8(0x190)][_0x4b7ba8(0x23e)],0x1)&&(await global[_0x4b7ba8(0x1e6)](),global['__drivers'][_0x4b7ba8(0x18a)]()),global[_0x4b7ba8(0x190)]&&global[_0x4b7ba8(0x190)][0x0]&&global[_0x4b7ba8(0x190)][0x0][_0x4b7ba8(0x231)]&&_0x33640f[_0x4b7ba8(0x15d)](global[_0x4b7ba8(0x190)][0x0]['quitCount_'],0x0)&&await global[_0x4b7ba8(0x1e6)]();}catch(_0x36d10e){logger[_0x4b7ba8(0x1de)](_0x4b7ba8(0x158)+_0x36d10e);}workerDetails[_0x4b7ba8(0x1cb)][_0x4b7ba8(0x17d)]=_0x22f93a;if(!playwrightPatcher){try{if(!_0x33640f[_0x4b7ba8(0x1d3)](isUndefined,_0x22f93a[_0x4b7ba8(0x171)][_0x4b7ba8(0x206)])){const _0x44e4b5=_0x33640f['UtJMn'](shouldScanTestForAccessibility,null,![],_0x22f93a[_0x4b7ba8(0x171)][_0x4b7ba8(0x206)][_0x4b7ba8(0x1e8)](({name:_0x12d6a2})=>_0x12d6a2));globals['setGlobal'](_0x33640f['Dcgwt'],_0x44e4b5);}}catch(_0x3c140f){logger[_0x4b7ba8(0x1de)](_0x4b7ba8(0x19e)+util['format'](_0x3c140f));}workerDetails['currentTest'][_0x4b7ba8(0x166)]=TestDetails['getTestUUID'](_0x22f93a[_0x4b7ba8(0x201)]);}if(playwrightPatcher)try{await playwrightPatcher[_0x4b7ba8(0x16a)](_0x22f93a),global['__workerDetails']&&global[_0x4b7ba8(0x1dd)]['pwPage']&&playwrightPatcher['patchPageCommandsForAccessibility'](global[_0x4b7ba8(0x1dd)][_0x4b7ba8(0x22b)]);}catch(_0x2558df){logger[_0x4b7ba8(0x1de)]('Error\x20in\x20playwright\x20beforeTestHook:\x20'+util[_0x4b7ba8(0x208)](_0x2558df));}if(playwrightPatcher)try{const _0x5b4101=_0x33640f[_0x4b7ba8(0x1d3)](require,_0x33640f[_0x4b7ba8(0x22d)]),_0x172906=_0x33640f[_0x4b7ba8(0x1b7)](require,_0x33640f['VDzqd']),_0x1f62f9=_0x33640f['TXbnA'](require,_0x33640f[_0x4b7ba8(0x230)]);if(_0x5b4101[_0x4b7ba8(0x238)]()[_0x4b7ba8(0x17b)]()){const _0x5cda4b={'title':_0x22f93a[_0x4b7ba8(0x171)][_0x4b7ba8(0x1bd)]||_0x33640f[_0x4b7ba8(0x1bc)],'titlePath':[_0x22f93a[_0x4b7ba8(0x171)]['name']||_0x33640f[_0x4b7ba8(0x1bc)]],'id':_0x22f93a[_0x4b7ba8(0x201)]||_0x33640f[_0x4b7ba8(0x20c)],'tags':_0x22f93a['pickle'][_0x4b7ba8(0x206)]||[],..._0x22f93a},_0x54b3c3=_0x5cda4b;global[_0x4b7ba8(0x1b6)]=_0x54b3c3,logger[_0x4b7ba8(0x1de)](_0x4b7ba8(0x165)+_0x22f93a[_0x4b7ba8(0x171)][_0x4b7ba8(0x1bd)]);}}catch(_0x4f340c){logger['debug'](_0x4b7ba8(0x184)+util[_0x4b7ba8(0x208)](_0x4f340c));}_0x33640f[_0x4b7ba8(0x1da)](_0x463647);})['finally'](_0x495786);});const a9_0x63605d={};a9_0x63605d[a9_0x24c3cf(0x1bd)]=a9_0x24c3cf(0x213),a9_0x63605d[a9_0x24c3cf(0x18c)]=TEST_FRAMEWORK_HOOK_TIMEOUT['Cucumber-JS'],After(a9_0x63605d,function(_0x2c4b47,_0x30902c){const _0x38d49b=a9_0x24c3cf,_0x1c93ef={'WZYMW':function(_0x230ed2,_0x342610){return _0x230ed2>_0x342610;},'WjLQO':function(_0x53e07d,_0xb2c469){return _0x53e07d===_0xb2c469;},'DFGiR':_0x38d49b(0x1c0),'wZuPi':function(_0xb5447d,_0x2e75b9){return _0xb5447d===_0x2e75b9;},'AxqdZ':function(_0x24bc0b,_0x4d81be){return _0x24bc0b>_0x4d81be;},'JXmsy':function(_0xc17274,_0x2be762,_0x1a1c03,_0x26d375){return _0xc17274(_0x2be762,_0x1a1c03,_0x26d375);},'Zabxi':_0x38d49b(0x202),'pwgEY':function(_0x1de3c4,_0xe9e39,_0x195575){return _0x1de3c4(_0xe9e39,_0x195575);},'ysAZz':'passed','zYYuH':function(_0x279a8b,_0x278ee4){return _0x279a8b(_0x278ee4);},'DJBjJ':_0x38d49b(0x233),'BGPuo':function(_0x14fc66,_0x4404ad){return _0x14fc66(_0x4404ad);},'arFHW':_0x38d49b(0x21c),'memjt':function(_0x2d979f,_0x1ae9ea){return _0x2d979f(_0x1ae9ea);},'VZePZ':_0x38d49b(0x16b),'iVTuB':_0x38d49b(0x1c7),'KMZDM':'cucumber-test','qeBxM':'Completed\x20Playwright\x20afterTestHook\x20execution','TCVHc':'Executed\x20deferred\x20closes\x20after\x20QUIT\x20PRE\x20event\x20completion','iBVbQ':_0x38d49b(0x1b2),'LyUQh':'Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','TklpU':_0x38d49b(0x243),'nLeaZ':_0x38d49b(0x241),'ktgzl':function(_0x2969da){return _0x2969da();},'VERBO':_0x38d49b(0x186),'xVZYK':'isAccessibilityPlatform','tDVXr':'bstackA11yShouldScan','Vvgqw':_0x38d49b(0x21e),'NYiQG':_0x38d49b(0x204),'EiQVs':'isMobilePlatform','OVeCt':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','ldtsZ':function(_0x1895f0,_0x30572e){return _0x1895f0>_0x30572e;},'dgsSI':function(_0x217b7a){return _0x217b7a();},'DYWZu':'Inside\x20browserstack\x20After'};logger[_0x38d49b(0x1de)](_0x1c93ef[_0x38d49b(0x1cc)]),workerDetails[_0x38d49b(0x1cb)][_0x38d49b(0x17d)]=_0x2c4b47,new Promise(async _0x3b3192=>{const _0x45a397=_0x38d49b;let _0x2b875f=![],_0x5baa93=![],_0x103e49=![];try{global[_0x45a397(0x190)]&&_0x1c93ef[_0x45a397(0x22c)](global[_0x45a397(0x190)][_0x45a397(0x23e)],0x0)&&(_0x5baa93=!![]),playwrightPatcher&&global[_0x45a397(0x1dd)]&&global[_0x45a397(0x1dd)][_0x45a397(0x22b)]&&(_0x103e49=!![],logger[_0x45a397(0x1de)](_0x45a397(0x237)+!!global[_0x45a397(0x1dd)][_0x45a397(0x22b)]));}catch(_0x30de41){logger[_0x45a397(0x1de)](_0x45a397(0x1ef)+_0x30de41);}logger[_0x45a397(0x1de)]('Flow\x20detection:\x20isSeleniumFlow='+_0x5baa93+',\x20isPlaywrightFlow='+_0x103e49);const _0x38391a=_0x2c4b47[_0x45a397(0x24a)][_0x45a397(0x162)]['toString']()[_0x45a397(0x1f5)](),_0x1e499f=_0x1c93ef[_0x45a397(0x1d5)](_0x38391a,_0x1c93ef[_0x45a397(0x1a8)])||_0x1c93ef[_0x45a397(0x1fc)](_0x38391a,'6'),_0x5a1a63=_0x1e499f?_0x2c4b47[_0x45a397(0x24a)]['message']:null;if(_0x1e499f)try{global[_0x45a397(0x23a)][_0x45a397(0x247)](_0x2c4b47[_0x45a397(0x24a)][_0x45a397(0x1a1)]),global['__sessionFailed']=!![];}catch(_0x4e9dd2){logger[_0x45a397(0x1de)]('Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20'+_0x4e9dd2);}if(_0x5baa93)try{global[_0x45a397(0x190)]&&_0x1c93ef[_0x45a397(0x1df)](global[_0x45a397(0x190)]['length'],0x1)&&(await global['driverCleanup'](),global[_0x45a397(0x190)]['shift'](),global[_0x45a397(0x23a)]=[],global[_0x45a397(0x19b)]=![]),global[_0x45a397(0x190)]&&global[_0x45a397(0x190)][0x0]&&(await global[_0x45a397(0x190)][0x0][_0x45a397(0x20d)],_0x2b875f=!![],!global[_0x45a397(0x1c6)]&&await global['__drivers'][0x0]['executeScript'](_0x45a397(0x193)+_0x2c4b47[_0x45a397(0x171)][_0x45a397(0x1bd)]+_0x45a397(0x168)),_0x1e499f?await _0x1c93ef[_0x45a397(0x1ff)](markSessionStatus,global['__drivers'][0x0],_0x1c93ef['DFGiR'],global[_0x45a397(0x23a)][_0x45a397(0x253)](_0x1c93ef['Zabxi'])):await _0x1c93ef[_0x45a397(0x20f)](markSessionStatus,global['__drivers'][0x0],_0x1c93ef[_0x45a397(0x214)]));}catch(_0x43592c){logger[_0x45a397(0x1de)](_0x45a397(0x22f)+util['format'](_0x43592c));}if(_0x103e49)try{try{const _0x1d4901=_0x1c93ef['zYYuH'](require,_0x1c93ef[_0x45a397(0x197)]),_0x4c55ef=_0x1c93ef[_0x45a397(0x174)](require,_0x1c93ef['arFHW']),_0x5c73fb=_0x1c93ef['memjt'](require,_0x1c93ef[_0x45a397(0x164)]);if(_0x1d4901[_0x45a397(0x238)]()[_0x45a397(0x17b)]()){const _0x404115={'title':_0x2c4b47[_0x45a397(0x171)][_0x45a397(0x1bd)]||_0x1c93ef[_0x45a397(0x185)],'titlePath':[_0x2c4b47[_0x45a397(0x171)][_0x45a397(0x1bd)]||_0x1c93ef[_0x45a397(0x185)]],'id':_0x2c4b47[_0x45a397(0x201)]||_0x1c93ef[_0x45a397(0x1cf)],'status':_0x1e499f?_0x1c93ef[_0x45a397(0x1a8)]:_0x1c93ef[_0x45a397(0x214)],'error':_0x5a1a63?{'message':_0x5a1a63}:null,'tags':_0x2c4b47[_0x45a397(0x171)][_0x45a397(0x206)]||[],..._0x2c4b47},_0x2030cf=_0x404115,_0x33d4ca={};_0x33d4ca[_0x45a397(0x17d)]=_0x2030cf,_0x33d4ca[_0x45a397(0x19d)]=_0x2c4b47,_0x33d4ca[_0x45a397(0x239)]=global[_0x45a397(0x1dd)][_0x45a397(0x22b)],_0x33d4ca[_0x45a397(0x192)]=FRAMEWORKS[_0x45a397(0x177)],await _0x1d4901[_0x45a397(0x238)]()[_0x45a397(0x24f)]()['trackEvent'](_0x4c55ef['QUIT'],_0x5c73fb[_0x45a397(0x23f)],_0x33d4ca),logger[_0x45a397(0x1de)](_0x45a397(0x191)+_0x2c4b47[_0x45a397(0x171)][_0x45a397(0x1bd)]);}}catch(_0x16a8ae){logger[_0x45a397(0x1de)](_0x45a397(0x22e)+util['format'](_0x16a8ae));}const _0x54f9c0=_0x1e499f?_0x1c93ef[_0x45a397(0x1a8)]:_0x1c93ef['ysAZz'];await playwrightPatcher[_0x45a397(0x1c4)](_0x2c4b47,_0x54f9c0,_0x5a1a63),logger[_0x45a397(0x1de)](_0x1c93ef[_0x45a397(0x156)]);try{await playwrightPatcher['executeDeferredCloses'](),logger[_0x45a397(0x1de)](_0x1c93ef[_0x45a397(0x170)]);}catch(_0x1e4009){logger[_0x45a397(0x1de)](_0x45a397(0x16e)+util['format'](_0x1e4009));}try{playwrightPatcher[_0x45a397(0x20e)][_0x45a397(0x15c)](),logger[_0x45a397(0x1de)](_0x1c93ef[_0x45a397(0x215)]);}catch(_0x50240b){logger[_0x45a397(0x1de)]('Error\x20cleaning\x20up\x20close\x20tracker:\x20'+util[_0x45a397(0x208)](_0x50240b));}}catch(_0x2fb142){logger[_0x45a397(0x1de)]('Error:\x20at\x20After\x20(Playwright):\x20'+util['format'](_0x2fb142));try{playwrightPatcher[_0x45a397(0x19a)]&&(await playwrightPatcher[_0x45a397(0x19a)](),logger[_0x45a397(0x1de)](_0x1c93ef['LyUQh'])),playwrightPatcher[_0x45a397(0x20e)]&&playwrightPatcher[_0x45a397(0x20e)]['cleanup']&&(playwrightPatcher['closeTracker']['cleanup'](),logger['debug'](_0x1c93ef[_0x45a397(0x207)]));}catch(_0x447b24){logger['debug'](_0x45a397(0x254)+util['format'](_0x447b24));}}const _0x569d09=_0x1c93ef[_0x45a397(0x174)](require,_0x1c93ef[_0x45a397(0x1ab)]);if(!_0x569d09[_0x45a397(0x238)]()['isRunning']())try{if(_0x1c93ef['ktgzl'](shouldProcessEventForTesthub)){const _0x2cb4a0=TestDetails[_0x45a397(0x1b8)](_0x2c4b47[_0x45a397(0x201)]);let _0x48292e=null;global['__drivers']&&global[_0x45a397(0x190)][0x0]&&(_0x48292e=await _0x1c93ef[_0x45a397(0x1ff)](sendPlatformDetails,global['__drivers'][0x0],_0x2cb4a0,!![]));const _0x181af5={};_0x181af5[_0x45a397(0x20b)]=_0x2cb4a0,_0x181af5[_0x45a397(0x1cd)]=_0x48292e;const _0xa9c454=_0x181af5,_0x48b5bf={};_0x48b5bf[_0x45a397(0x1c9)]=_0x1c93ef[_0x45a397(0x1f9)],_0x48b5bf[_0x45a397(0x1b4)]=_0xa9c454,await SessionHandler[_0x45a397(0x157)](_0x48b5bf);}}catch(_0x140df7){logger[_0x45a397(0x1de)](_0x45a397(0x1b3)+util[_0x45a397(0x208)](_0x140df7));}try{if(globals[_0x45a397(0x251)](_0x1c93ef[_0x45a397(0x1e4)])&&globals[_0x45a397(0x251)](_0x1c93ef[_0x45a397(0x182)])){logger[_0x45a397(0x1d2)](_0x1c93ef[_0x45a397(0x250)]);const _0x4cb4aa=TestDetails[_0x45a397(0x1b8)](_0x2c4b47[_0x45a397(0x201)]),_0x5bc864={};_0x5bc864[_0x45a397(0x166)]=_0x4cb4aa,_0x5bc864['thBuildUuid']=process[_0x45a397(0x1ce)][testHubConstants[_0x45a397(0x1c5)][_0x45a397(0x223)]],_0x5bc864['thJwtToken']=process[_0x45a397(0x1ce)][testHubConstants[_0x45a397(0x1c5)][_0x45a397(0x18b)]];const _0x5167ab=_0x5bc864;logger['debug'](_0x45a397(0x18e)+JSON[_0x45a397(0x1c8)](_0x5167ab)),logger[_0x45a397(0x1de)](_0x1c93ef[_0x45a397(0x227)]),global[_0x45a397(0x190)]&&global[_0x45a397(0x190)][0x0]&&(logger[_0x45a397(0x1de)](util[_0x45a397(0x208)](await global[_0x45a397(0x190)][0x0][_0x45a397(0x232)](scripts['performScan'],{'method':global[_0x45a397(0x1a0)]}))),globals[_0x45a397(0x251)](_0x1c93ef['EiQVs'])&&(_0x5167ab[_0x45a397(0x255)]=!![]),await global['__drivers'][0x0][_0x45a397(0x232)](scripts[_0x45a397(0x22a)],_0x5167ab)),logger[_0x45a397(0x1d2)](_0x1c93ef[_0x45a397(0x21d)]);}}catch(_0xeb9ee2){logger[_0x45a397(0x175)](_0x45a397(0x1ba)+util['format'](_0xeb9ee2));}if(_0x2b875f)try{global[_0x45a397(0x190)][0x0]&&_0x1c93ef[_0x45a397(0x1a5)](global[_0x45a397(0x190)][0x0][_0x45a397(0x231)],0x0)&&await global['__drivers'][0x0]['initQuit']();}catch(_0x1251ba){logger[_0x45a397(0x1de)](_0x45a397(0x1d1)+_0x1251ba);}_0x1c93ef[_0x45a397(0x18d)](_0x3b3192);})[_0x38d49b(0x163)](()=>_0x30902c());});function a9_0x550b(){const _0x4c789d=['result','../../helpers/test-observability/utils','421533qFeZlq','Error:\x20at\x20After\x20Step:\x20','../utils/constants','getAutomationFramework','Vvgqw','getGlobal','getPackageVersion','join','Error\x20in\x20fallback\x20cleanup:\x20','is_mobile_session','qeBxM','uploadEventData','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','../../helpers/setKeepAlive','LRcCn','8969088wpPqPv','cleanup','KcrJB','UexsH','Before','bootstrap','util','status','finally','VZePZ','Test\x20info\x20prepared\x20for\x20CREATE\x20PRE\x20event:\x20','thTestRunUuid','../playwright/reporter/test-details.js','\x22}}','3aMBzFI','beforeTestHook','../v2/state/hookState','then','../../helpers/testhub/utils','Error\x20executing\x20deferred\x20closes:\x20','27447mgLodd','TCVHc','pickle','catch','../playwright/reporter/reporter.js','BGPuo','error','pid','CUCUMBER','startMonitoring','Bootstrapping\x20BrowserstackCLI\x20for\x20cucumber-js\x20worker\x20process','dOShH','isRunning','cucumber-js','testInfo','toString','CIqOI','../../index','sFuDL','tDVXr','8569858MYTRzK','Error\x20triggering\x20AutomationFramework\x20events:\x20','iVTuB','CBTSessionCreated','../../helpers/test-observability/error-handler','__platformCaps','browserstackAgentV2','shift','BROWSERSTACK_TESTHUB_JWT','timeout','dgsSI','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','bs:addLog:','__drivers','AutomationFramework\x20QUIT\x20PRE\x20event\x20completed\x20for\x20test:\x20','testFramework','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','YuzEC','isPageFixture','Inside\x20browserstack\x20Before','DJBjJ','yeWMH','getId','executeDeferredCloses','__sessionFailed','skipSessionStatus','scenario','Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20','3|2|1|4|0','browserstackSessionName','message','ysayA','initQuit','Inside\x20browserstack\x20AfterAll','ldtsZ','cmHiV','skipSessionName','DFGiR','../../helpers/test-observability/sessionHandler','2VhiYJe','nLeaZ','cuHku','addTestUIDAndReportLog','Error:\x20cleaning\x20up\x20driver:\x20','CONFIG','kwgJS','setFrameworkDetail','Cleaned\x20up\x20close\x20tracker','Error:\x20sendPlatformDetails\x20at\x20After:\x20','test_run','Error\x20cleaning\x20up\x20Playwright\x20close\x20tracker:\x20','__currentTestInfo','TXbnA','getTestUUID','\x0aError:\x20','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20','lodash','GMybG','name','brjGu','fJzJO','failed','pickleStep','uPUXY','executeScript','afterTestHook','ENV_VAR','__skipSessionName','Unknown\x20Test','stringify','event_type','../../helpers/helper','currentTest','DYWZu','integrations','env','KMZDM','platformIndex','Error:\x20quiting\x20driver\x20at\x20After:\x20','info','opRVJ','FMyzQ','WjLQO','Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','uwpiY','split','656ZRzjVq','QIfRU','Error:\x20in\x20After\x20Step\x20for\x20driver\x20','winstonLogger','__workerDetails','debug','AxqdZ','Passed','419775YvwjTa','initializePlaywrightPatching','KtTtY','xVZYK','text','driverCleanup','epgYD','map','zldWp','parse','2395084YEZgLg','../../helpers/accessibility-automation/scripts','ApYtZ','YWdhi','Error\x20determining\x20test\x20flow:\x20','passed','HMdPE','GgSst','removeAllListeners','PLAYWRIGHT','toLowerCase','stopMonitoring','After','../../helpers/logger','VERBO','setDefaultTimeout','../../helpers/performance/performance-tester','wZuPi','shutdown','@cucumber/cucumber','JXmsy','Inside\x20browserstack\x20AfterStep','testCaseStartedId','\x20|\x20','AfterStep','Performing\x20scan\x20before\x20saving\x20results','Error\x20sending\x20log\x20created\x20event:\x20','tags','TklpU','format','140lvgNIZ','LPxjm','uuid','VTTKv','session_','closeTracker','pwgEY','Cucumber-JS','../utils/playwright-patcher','iHSNa','bstack','ysAZz','iBVbQ','lHBaC','IXRKy','bstackA11yShouldScan','Patching\x20Playwright','Error\x20initializing\x20Playwright\x20patching:\x20','QdgcS','../v2/state/automationFrameworkState','OVeCt','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','o11ySyncDone','sendTestLog:\x20No\x20testId\x20found\x20in\x20testInfo','kWFCd','AfterAll','BROWSERSTACK_TESTHUB_UUID','../../helpers/ai-sdk/autoHealHelper','cafxJ','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','NYiQG','__skipSessionStatus','@playwright/test','saveTestResults','pwPage','WZYMW','tjzzv','Error\x20triggering\x20AutomationFramework\x20QUIT\x20PRE\x20event:\x20','Error:\x20at\x20After\x20(Selenium):\x20','GDQrx','quitCount_','executeAsyncScript','../v2/browserstackCLI','Failed:\x20','Patching\x20Selenium','128629AYAXiq','Playwright\x20flow\x20detected\x20-\x20page\x20exists:\x20','getInstance','page','__error_messages__','setTestNameForHealingContext','cxKpm','DHCRZ','length','PRE','../v2/cliUtils','../v2/browserstackCLI.js','Error:\x20in\x20quitting\x20driver\x20','Executed\x20fallback\x20close\x20tracker\x20cleanup\x20after\x20error','YYjmj','isCliEnabled','__timeout','push',',\x22level\x22:\x20\x22','cucumber-test'];a9_0x550b=function(){return _0x4c789d;};return a9_0x550b();}const a9_0x4caf52={};a9_0x4caf52[a9_0x24c3cf(0x1bd)]=a9_0x24c3cf(0x213),a9_0x4caf52['timeout']=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x24c3cf(0x210)],AfterStep(a9_0x4caf52,function(_0x3dd2d4,_0x45ab5a){const _0x23eb4d=a9_0x24c3cf,_0x426c74={'iHSNa':function(_0x4ec76f,_0xb88b8f){return _0x4ec76f===_0xb88b8f;},'uPUXY':_0x23eb4d(0x1c0),'UexsH':function(_0x2bcc43,_0x5ae416){return _0x2bcc43!==_0x5ae416;},'fJzJO':function(_0x2a4332,_0x4f89f6,_0x2fb4d3){return _0x2a4332(_0x4f89f6,_0x2fb4d3);},'FMyzQ':function(_0x4e8f29,_0x51e8b3){return _0x4e8f29+_0x51e8b3;},'CIqOI':function(_0x265786,_0x172e45){return _0x265786+_0x172e45;},'GgSst':_0x23eb4d(0x234),'LRcCn':_0x23eb4d(0x1b9),'IXRKy':_0x23eb4d(0x175),'sFuDL':function(_0x2bc940,_0x334f23,_0x411b92){return _0x2bc940(_0x334f23,_0x411b92);},'Ijqzp':function(_0x2b398c,_0x5b0faf){return _0x2b398c+_0x5b0faf;},'YuzEC':function(_0x26f56d,_0x217a70){return _0x26f56d!==_0x217a70;},'lHBaC':'Passed:\x20','QdgcS':_0x23eb4d(0x1d2),'dOShH':_0x23eb4d(0x1e0),'KtTtY':function(_0x588679){return _0x588679();},'LPxjm':_0x23eb4d(0x200)};logger[_0x23eb4d(0x1de)](_0x426c74[_0x23eb4d(0x20a)]);const _0x59cb10=async(_0x431067,_0x3a811d)=>{const _0x4bb61d=_0x23eb4d;global['__drivers']&&global[_0x4bb61d(0x190)][0x0]&&await global[_0x4bb61d(0x190)][0x0][_0x4bb61d(0x1c3)](_0x4bb61d(0x226)+_0x431067+_0x4bb61d(0x248)+_0x3a811d+_0x4bb61d(0x168));};new Promise(async _0x3b7626=>{const _0x29fa4f=_0x23eb4d;try{const _0x50ca68=_0x426c74[_0x29fa4f(0x212)](_0x3dd2d4[_0x29fa4f(0x24a)][_0x29fa4f(0x162)][_0x29fa4f(0x17e)]()['toLowerCase'](),_0x426c74[_0x29fa4f(0x1c2)])||_0x426c74[_0x29fa4f(0x212)](_0x3dd2d4[_0x29fa4f(0x24a)][_0x29fa4f(0x162)][_0x29fa4f(0x17e)]()[_0x29fa4f(0x1f5)](),'6');_0x50ca68?(global[_0x29fa4f(0x19b)]=!![],global[_0x29fa4f(0x23a)][_0x29fa4f(0x247)](_0x3dd2d4['result']['message']),_0x426c74[_0x29fa4f(0x15e)](_0x3dd2d4['pickleStep'],undefined)?await _0x426c74[_0x29fa4f(0x1bf)](_0x59cb10,JSON[_0x29fa4f(0x1c8)](_0x426c74[_0x29fa4f(0x1d4)](_0x426c74[_0x29fa4f(0x1d4)](_0x426c74[_0x29fa4f(0x17f)](_0x426c74['GgSst'],'\x22'+_0x3dd2d4[_0x29fa4f(0x1c1)][_0x29fa4f(0x1e5)]+'\x22\x20'),_0x426c74[_0x29fa4f(0x15a)]),_0x3dd2d4['result'][_0x29fa4f(0x1a1)])),_0x426c74[_0x29fa4f(0x217)]):await _0x426c74[_0x29fa4f(0x181)](_0x59cb10,JSON[_0x29fa4f(0x1c8)](_0x426c74['Ijqzp'](_0x426c74[_0x29fa4f(0x1f2)],_0x3dd2d4[_0x29fa4f(0x24a)][_0x29fa4f(0x1a1)])),_0x426c74[_0x29fa4f(0x217)])):_0x426c74[_0x29fa4f(0x194)](_0x3dd2d4[_0x29fa4f(0x1c1)],undefined)?await _0x426c74[_0x29fa4f(0x1bf)](_0x59cb10,JSON[_0x29fa4f(0x1c8)](_0x426c74[_0x29fa4f(0x17f)](_0x426c74[_0x29fa4f(0x216)],'\x22'+_0x3dd2d4['pickleStep'][_0x29fa4f(0x1e5)]+'\x22')),_0x426c74[_0x29fa4f(0x21b)]):await _0x426c74[_0x29fa4f(0x1bf)](_0x59cb10,JSON[_0x29fa4f(0x1c8)](_0x426c74[_0x29fa4f(0x17a)]),_0x426c74[_0x29fa4f(0x21b)]),global[_0x29fa4f(0x190)]&&global[_0x29fa4f(0x190)][0x0]&&global[_0x29fa4f(0x190)][0x0][_0x29fa4f(0x20d)][_0x29fa4f(0x16c)](_0x177719=>{})[_0x29fa4f(0x172)](_0x5e2c0=>{const _0x2d2cb9=_0x29fa4f;logger[_0x2d2cb9(0x1de)](_0x2d2cb9(0x1db)+util[_0x2d2cb9(0x208)](_0x5e2c0));});}catch(_0x3fcd2f){logger[_0x29fa4f(0x1de)](_0x29fa4f(0x24d)+_0x3fcd2f);}_0x426c74[_0x29fa4f(0x1e3)](_0x3b7626);})[_0x23eb4d(0x163)](()=>_0x45ab5a());});const a9_0xf1903={};a9_0xf1903['name']=a9_0x24c3cf(0x213),a9_0xf1903[a9_0x24c3cf(0x18c)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x24c3cf(0x210)],AfterAll(a9_0xf1903,async function(_0x123b57,_0x1421fa){const _0x1d2433=a9_0x24c3cf,_0x53b6cf={'DHCRZ':_0x1d2433(0x19f),'cxKpm':function(_0x4b2280){return _0x4b2280();},'YWdhi':'Cleaned\x20up\x20Playwright\x20close\x20tracker','ghstv':_0x1d2433(0x1a4)};logger[_0x1d2433(0x1de)](_0x53b6cf['ghstv']),await new Promise(async _0x3a4439=>{const _0x240e9c=_0x1d2433,_0x426df6=_0x53b6cf[_0x240e9c(0x23d)][_0x240e9c(0x1d8)]('|');let _0x3ad783=0x0;while(!![]){switch(_0x426df6[_0x3ad783++]){case'0':_0x53b6cf[_0x240e9c(0x23c)](_0x3a4439);continue;case'1':try{playwrightPatcher&&playwrightPatcher[_0x240e9c(0x19a)]&&(await playwrightPatcher[_0x240e9c(0x19a)](),playwrightPatcher[_0x240e9c(0x20e)]&&playwrightPatcher['closeTracker'][_0x240e9c(0x15c)](),logger[_0x240e9c(0x1de)](_0x53b6cf[_0x240e9c(0x1ee)]));}catch(_0x2d4cf9){logger[_0x240e9c(0x1de)](_0x240e9c(0x1b5)+util[_0x240e9c(0x208)](_0x2d4cf9));}continue;case'2':PerformanceTester[_0x240e9c(0x1f6)]();continue;case'3':await RequestQueueHandler[_0x240e9c(0x238)]()[_0x240e9c(0x1fd)]();continue;case'4':await global[_0x240e9c(0x1e6)]();continue;}break;}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a10_0x536290=a10_0x301b;(function(_0x476f2f,_0x322b87){const _0x16b5ea=a10_0x301b,_0x174ce6=_0x476f2f();while(!![]){try{const _0x5a717a=-parseInt(_0x16b5ea(0xeb))/0x1*(parseInt(_0x16b5ea(0xf7))/0x2)+parseInt(_0x16b5ea(0xe6))/0x3*(parseInt(_0x16b5ea(0xfc))/0x4)+parseInt(_0x16b5ea(0xf9))/0x5*(parseInt(_0x16b5ea(0xd4))/0x6)+-parseInt(_0x16b5ea(0xe5))/0x7+parseInt(_0x16b5ea(0xc9))/0x8*(parseInt(_0x16b5ea(0xd8))/0x9)+parseInt(_0x16b5ea(0xd3))/0xa*(parseInt(_0x16b5ea(0xd7))/0xb)+-parseInt(_0x16b5ea(0xd6))/0xc;if(_0x5a717a===_0x322b87)break;else _0x174ce6['push'](_0x174ce6['shift']());}catch(_0x1de102){_0x174ce6['push'](_0x174ce6['shift']());}}}(a10_0x3b9e,0x4d6ba));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require('../../helpers/helper'),setKeepAlive=require(a10_0x536290(0xc8)),cucumberModule=requireModule(a10_0x536290(0xc6),a10_0x536290(0xdd)),logger=require('../../helpers/logger')['winstonLogger'];modifyCommand(),setKeepAlive();const Before=cucumberModule[a10_0x536290(0xdc)],After=cucumberModule[a10_0x536290(0xfb)],configuration=process[a10_0x536290(0xdf)][a10_0x536290(0xe9)];if(configuration!==undefined){const config=JSON['parse'](configuration);isTrue(config['skipSessionName'])&&(global[a10_0x536290(0xdb)]=!![]),global[a10_0x536290(0xea)]=isTrue(config[a10_0x536290(0xed)]),require('../../index')[a10_0x536290(0xcd)](config),global[a10_0x536290(0xfd)]=config['platformCaps']||{};}function a10_0x301b(_0xf4ce4e,_0x2453f4){const _0x3b9ebf=a10_0x3b9e();return a10_0x301b=function(_0x301bb9,_0x480a01){_0x301bb9=_0x301bb9-0xc6;let _0x478473=_0x3b9ebf[_0x301bb9];return _0x478473;},a10_0x301b(_0xf4ce4e,_0x2453f4);}global[a10_0x536290(0xd0)]=0x0;const __setDefaultTimeout=cucumberModule[a10_0x536290(0xc7)];cucumberModule['setDefaultTimeout']=_0x1c9694=>{const _0x33b863=a10_0x536290,_0x271232={'CeBXZ':function(_0x317208,_0x519e53){return _0x317208(_0x519e53);}};global[_0x33b863(0xd0)]=_0x1c9694,_0x271232[_0x33b863(0xe4)](__setDefaultTimeout,_0x1c9694);};const a10_0x87aa77={};function a10_0x3b9e(){const _0x2df56b=['23238YdVUyY','Inside\x20browserstack\x20Before','WtMjU','CONFIG','__skipSessionStatus','3qDbixs','DBpkS','skipSessionStatus','name','Ljgib','YudQh','__error_messages__','passed','Error:\x20setting\x20status\x20at\x20After:\x20','timeout','\x22}}','join','168210hcLBuq','executeScript','168565OVBakm','vbAYw','After','164xGTnzB','__platformCaps','cucumber/lib/index.js','setDefaultTimeout','../../helpers/setKeepAlive','672744IwQuOQ','result','HCCqn','toLowerCase','browserstackAgentV2','initQuit','debug','__timeout','__driver','session_','13810zOGyoz','102LDHZEH','Error:\x20quiting\x20at\x20After:\x20','3423984EjkZPn','407YVTwdR','45exERkQ','dJOWS','bstack','__skipSessionName','Before','cucumber','mxpAo','env','Inside\x20browserstack\x20After','WLcNu','XBEOX','\x20|\x20','CeBXZ','3552556ZZAKQz'];a10_0x3b9e=function(){return _0x2df56b;};return a10_0x3b9e();}a10_0x87aa77[a10_0x536290(0xee)]=a10_0x536290(0xda),Before(a10_0x87aa77,function(){const _0x217bde=a10_0x536290,_0x49b7ad={};_0x49b7ad[_0x217bde(0xec)]=_0x217bde(0xe7);const _0x43c513=_0x49b7ad;logger['debug'](_0x43c513['DBpkS']),global[_0x217bde(0xf1)]=[];});const a10_0x56192e={};a10_0x56192e[a10_0x536290(0xee)]=a10_0x536290(0xda),a10_0x56192e[a10_0x536290(0xf4)]=0x2710,After(a10_0x56192e,function(_0x3ad71c,_0x1765fb){const _0x419c10=a10_0x536290,_0x533032={'Ljgib':function(_0x2dcc08,_0x421c01){return _0x2dcc08===_0x421c01;},'dJOWS':'failed','WtMjU':function(_0x4ada36,_0x5d9dc9,_0x5cb7fd,_0x3e08f8){return _0x4ada36(_0x5d9dc9,_0x5cb7fd,_0x3e08f8);},'WLcNu':_0x419c10(0xe3),'YudQh':function(_0x30ba6c,_0x34614f,_0x5098a1){return _0x30ba6c(_0x34614f,_0x5098a1);},'HCCqn':_0x419c10(0xf2),'vbAYw':function(_0x1b5bbe){return _0x1b5bbe();},'kVMpO':function(_0x109f65,_0x5b5ab2){return _0x109f65(_0x5b5ab2);},'XBEOX':function(_0x54e769){return _0x54e769();},'mxpAo':_0x419c10(0xe0)};logger['debug'](_0x533032[_0x419c10(0xde)]),new Promise(async(_0x52cf22,_0x2e8ae3)=>{const _0x27b842=_0x419c10;let _0x1afe98=![];try{await global[_0x27b842(0xd1)][_0x27b842(0xd2)],_0x1afe98=!![],!global[_0x27b842(0xdb)]&&await global[_0x27b842(0xd1)][_0x27b842(0xf8)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22'+_0x3ad71c['pickle'][_0x27b842(0xee)]+_0x27b842(0xf5)),_0x533032[_0x27b842(0xef)](_0x3ad71c[_0x27b842(0xca)]['status'][_0x27b842(0xcc)](),_0x533032[_0x27b842(0xd9)])?await _0x533032[_0x27b842(0xe8)](markSessionStatus,global['__driver'],_0x533032[_0x27b842(0xd9)],global[_0x27b842(0xf1)][_0x27b842(0xf6)](_0x533032[_0x27b842(0xe1)])):await _0x533032[_0x27b842(0xf0)](markSessionStatus,global[_0x27b842(0xd1)],_0x533032[_0x27b842(0xcb)]);}catch(_0x4a75eb){logger[_0x27b842(0xcf)](_0x27b842(0xf3)+_0x4a75eb);}if(_0x1afe98)try{await global['__driver'][_0x27b842(0xce)](),_0x533032[_0x27b842(0xfa)](_0x52cf22);}catch(_0x273771){logger['debug'](_0x27b842(0xd5)+_0x273771),_0x533032['kVMpO'](_0x2e8ae3,_0x273771);}else _0x533032[_0x27b842(0xe2)](_0x2e8ae3);})['then'](()=>_0x1765fb());});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a11_0x3f1b80=a11_0x3e39;(function(_0x12ef2c,_0x188668){const _0x3639e3=a11_0x3e39,_0x224320=_0x12ef2c();while(!![]){try{const _0x5cb675=parseInt(_0x3639e3(0xd5))/0x1*(parseInt(_0x3639e3(0xd8))/0x2)+-parseInt(_0x3639e3(0xd9))/0x3*(parseInt(_0x3639e3(0xd3))/0x4)+parseInt(_0x3639e3(0xe3))/0x5*(parseInt(_0x3639e3(0xe2))/0x6)+-parseInt(_0x3639e3(0xda))/0x7*(parseInt(_0x3639e3(0xdd))/0x8)+parseInt(_0x3639e3(0xd6))/0x9*(-parseInt(_0x3639e3(0xd4))/0xa)+-parseInt(_0x3639e3(0xdb))/0xb*(parseInt(_0x3639e3(0xd2))/0xc)+parseInt(_0x3639e3(0xe0))/0xd*(parseInt(_0x3639e3(0xde))/0xe);if(_0x5cb675===_0x188668)break;else _0x224320['push'](_0x224320['shift']());}catch(_0x5dae45){_0x224320['push'](_0x224320['shift']());}}}(a11_0x237e,0xe65ca));const {requireModule}=require(a11_0x3f1b80(0xd7)),constants=require(a11_0x3f1b80(0xdf));let cucumberModule=null;try{cucumberModule=requireModule('@cucumber/cucumber/lib/index.js',a11_0x3f1b80(0xd0));}catch(a11_0x46088f){cucumberModule=requireModule('cucumber/lib/index.js',a11_0x3f1b80(0xd1));}const userValue=global['__timeout']||0x0;(userValue===0x0||userValue<constants[a11_0x3f1b80(0xe1)])&&cucumberModule[a11_0x3f1b80(0xdc)](constants[a11_0x3f1b80(0xe1)]);function a11_0x3e39(_0x3a6206,_0x3d51f5){const _0x237e57=a11_0x237e();return a11_0x3e39=function(_0x3e3980,_0x432439){_0x3e3980=_0x3e3980-0xd0;let _0x4d4c8d=_0x237e57[_0x3e3980];return _0x4d4c8d;},a11_0x3e39(_0x3a6206,_0x3d51f5);}function a11_0x237e(){const _0x127ba3=['1fHWfct','267291ZggDxh','../../helpers/helper','3711522lyAAmY','3vdBHEu','370594YBVjBl','196262jpgNpg','setDefaultTimeout','160ldRjbY','532iyeZbI','../utils/constants','919113PPZFpm','BSTACK_DELTA','6VzmePi','2445895lbEnna','@cucumber/cucumber','cucumber','756dBGrYX','2512292XOlfxG','430SojDjc'];a11_0x237e=function(){return _0x127ba3;};return a11_0x237e();}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a12_0x1a09c2=a12_0x36a1;(function(_0x270e6a,_0x736e1e){const _0x1f9707=a12_0x36a1,_0x2a345d=_0x270e6a();while(!![]){try{const _0x2a2042=-parseInt(_0x1f9707(0x181))/0x1*(parseInt(_0x1f9707(0x177))/0x2)+parseInt(_0x1f9707(0x172))/0x3+-parseInt(_0x1f9707(0x13c))/0x4+parseInt(_0x1f9707(0x139))/0x5*(parseInt(_0x1f9707(0x14f))/0x6)+parseInt(_0x1f9707(0x15f))/0x7*(-parseInt(_0x1f9707(0x14d))/0x8)+-parseInt(_0x1f9707(0x140))/0x9+parseInt(_0x1f9707(0x168))/0xa;if(_0x2a2042===_0x736e1e)break;else _0x2a345d['push'](_0x2a345d['shift']());}catch(_0x36bccd){_0x2a345d['push'](_0x2a345d['shift']());}}}(a12_0x412f,0x522c9));const {default:BrowserStackSetup}=require(a12_0x1a09c2(0x153)),logger=require('../../helpers/logger')[a12_0x1a09c2(0x162)],{URL}=require('url'),helper=require(a12_0x1a09c2(0x158)),{HELP_MESSAGES,ERROR_MESSAGES}=require(a12_0x1a09c2(0x16f)),validHosts=function(_0x49a9ab){const _0x3a45da=a12_0x1a09c2;return _0x49a9ab[_0x3a45da(0x17a)](',')['every'](_0x151824=>{const _0x11ece0=_0x3a45da;try{new URL(_0x151824[_0x11ece0(0x13a)]());}catch(_0x1f1814){return![];}return!![];});},parseOnPremHosts=function(_0x1e73ec){const _0x105af5=a12_0x1a09c2,_0x8b27e7={};_0x8b27e7[_0x105af5(0x17f)]=function(_0x3fb244,_0x5565b1){return _0x3fb244===_0x5565b1;},_0x8b27e7['QaTfQ']=_0x105af5(0x166),_0x8b27e7[_0x105af5(0x16c)]='443',_0x8b27e7[_0x105af5(0x154)]=_0x105af5(0x148);const _0x29d3b7=_0x8b27e7;return _0x1e73ec[_0x105af5(0x17a)](',')[_0x105af5(0x13b)](_0x38b3cd=>{const _0x193cc1=_0x105af5,_0x4fcfa2=new URL(_0x38b3cd[_0x193cc1(0x13a)]()),_0x5395a0=_0x4fcfa2[_0x193cc1(0x173)],_0x2f1385=_0x4fcfa2[_0x193cc1(0x13f)]||(_0x29d3b7[_0x193cc1(0x17f)](_0x4fcfa2[_0x193cc1(0x160)],_0x29d3b7[_0x193cc1(0x13d)])?_0x29d3b7[_0x193cc1(0x16c)]:'80'),_0x705503=_0x4fcfa2[_0x193cc1(0x160)][_0x193cc1(0x15e)](':',''),_0x258d5c=_0x29d3b7['uPxdO'](_0x705503,_0x29d3b7[_0x193cc1(0x154)])?0x1:0x0;return _0x5395a0+','+_0x2f1385+','+_0x258d5c;});},connectCommandBuilder=function(_0x396acf){const _0x4bc59c=a12_0x1a09c2,_0x5d2f6c={};_0x5d2f6c['SZwZz']=_0x4bc59c(0x14e);const _0x4d1265=_0x5d2f6c,_0x868c54={};_0x868c54['describe']=HELP_MESSAGES[_0x4bc59c(0x145)][_0x4bc59c(0x16b)],_0x868c54[_0x4bc59c(0x175)]=_0x4d1265[_0x4bc59c(0x150)];const _0x45e1bf={};_0x45e1bf[_0x4bc59c(0x16e)]=HELP_MESSAGES[_0x4bc59c(0x145)][_0x4bc59c(0x14b)],_0x45e1bf[_0x4bc59c(0x175)]=_0x4d1265[_0x4bc59c(0x150)],_0x45e1bf['demandOption']=!![];const _0x386faf={};return _0x386faf[_0x4bc59c(0x161)]=_0x868c54,_0x386faf[_0x4bc59c(0x14b)]=_0x45e1bf,_0x396acf[_0x4bc59c(0x145)](_0x386faf);},connectCommandHandler=async function(_0x242ee7){const _0x345c3c=a12_0x1a09c2,_0x4c7c34={'OLMlk':'integrations','VoUig':function(_0x51f14d,_0x5c4d11){return _0x51f14d===_0x5c4d11;},'ttuDm':_0x345c3c(0x152),'mGhNh':'BrowserStack\x20access\x20key\x20missing.','pqpic':_0x345c3c(0x17e),'zfPrO':function(_0x154c57,_0x1b057b){return _0x154c57(_0x1b057b);},'JZUrJ':_0x345c3c(0x157),'bOvBV':function(_0x115e83,_0x41c3b7){return _0x115e83(_0x41c3b7);},'OKxkq':_0x345c3c(0x176),'PqWTx':_0x345c3c(0x159),'MwWCR':_0x345c3c(0x143)};try{const _0x58067b=new BrowserStackSetup(_0x242ee7,_0x4c7c34[_0x345c3c(0x17d)]);_0x242ee7[_0x345c3c(0x144)]&&(_0x58067b[_0x345c3c(0x155)]['accessKey']=_0x242ee7[_0x345c3c(0x144)]);if(_0x4c7c34[_0x345c3c(0x149)](typeof _0x58067b[_0x345c3c(0x155)][_0x345c3c(0x174)],_0x4c7c34['ttuDm'])){logger[_0x345c3c(0x151)](_0x4c7c34[_0x345c3c(0x15d)]);throw new Error(ERROR_MESSAGES['bstackAccessKey'][_0x345c3c(0x14a)]);}const _0x56a5d8=_0x242ee7[_0x345c3c(0x14b)];if(_0x4c7c34[_0x345c3c(0x149)](typeof _0x56a5d8,_0x4c7c34[_0x345c3c(0x142)])){logger[_0x345c3c(0x151)](_0x4c7c34[_0x345c3c(0x141)]);throw new Error(ERROR_MESSAGES[_0x345c3c(0x14b)]['missing']);}if(!_0x4c7c34[_0x345c3c(0x171)](validHosts,_0x56a5d8)){logger[_0x345c3c(0x151)](_0x4c7c34[_0x345c3c(0x156)]);throw new Error(ERROR_MESSAGES['hosts'][_0x345c3c(0x163)]);}const _0x3a257c=_0x4c7c34[_0x345c3c(0x15b)](parseOnPremHosts,_0x56a5d8);_0x58067b[_0x345c3c(0x155)][_0x345c3c(0x147)]=!![],_0x58067b[_0x345c3c(0x155)][_0x345c3c(0x169)]['localIdentifier']=_0x4c7c34[_0x345c3c(0x170)],_0x58067b[_0x345c3c(0x155)][_0x345c3c(0x169)][_0x345c3c(0x180)]=_0x3a257c[_0x345c3c(0x17b)](','),helper[_0x345c3c(0x146)](_0x58067b[_0x345c3c(0x155)]),await _0x58067b[_0x345c3c(0x16a)](),logger[_0x345c3c(0x164)](_0x4c7c34[_0x345c3c(0x16d)]);}catch(_0x13a58b){logger['error'](_0x4c7c34[_0x345c3c(0x179)]);throw new Error(_0x13a58b['toString']());}};function a12_0x412f(){const _0x2471fc=['setProxySettings','browserstackLocal','https','VoUig','missing','hosts','root','784tkLpPR','string','36GMZung','SZwZz','error','undefined','../../helpers/BrowserStackSetup','LcQvT','config','JZUrJ','Hosts\x20not\x20valid','../../helpers/helper','Connection\x20established\x20successfully.','connect','bOvBV','footer','mGhNh','replace','27895nftvmn','protocol','bstack-accesskey','winstonLogger','invalid','info','exports','https:','usage','8167300rdpmKY','browserStackLocalOptions','setupBrowserstackLocal','bstackAccessKey','IhnrK','PqWTx','describe','./constants','OKxkq','zfPrO','1550553NwOLlb','hostname','accessKey','type','integrations-repeater','244974tbSPNW','command','MwWCR','split','join','pKfss','OLMlk','Integration\x20hosts\x20missing.','uPxdO','only','4XFNWJi','lthjr','122495yWBomK','trim','map','251300xGUuRS','QaTfQ','demandCommand','port','1806183xnitif','pqpic','ttuDm','Failed\x20to\x20establish\x20connection.','bstackAccesskey','options'];a12_0x412f=function(){return _0x2471fc;};return a12_0x412f();}function a12_0x36a1(_0x23fa93,_0x283882){const _0x412f1e=a12_0x412f();return a12_0x36a1=function(_0x36a1b2,_0x40b7b7){_0x36a1b2=_0x36a1b2-0x139;let _0x3d7e33=_0x412f1e[_0x36a1b2];return _0x3d7e33;},a12_0x36a1(_0x23fa93,_0x283882);}function run(_0x591b24){const _0x12463d=a12_0x1a09c2,_0x59c159={};_0x59c159[_0x12463d(0x17c)]=_0x12463d(0x15a),_0x59c159['lthjr']='help';const _0x158105=_0x59c159;_0x591b24[_0x12463d(0x167)](HELP_MESSAGES['command'][_0x12463d(0x14c)])[_0x12463d(0x178)](_0x158105[_0x12463d(0x17c)],HELP_MESSAGES[_0x12463d(0x178)][_0x12463d(0x15a)],connectCommandBuilder,connectCommandHandler)[_0x12463d(0x13e)]()['help'](_0x158105[_0x12463d(0x182)])['epilogue'](HELP_MESSAGES[_0x12463d(0x178)][_0x12463d(0x15c)]);}module[a12_0x1a09c2(0x165)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a13_0x2b2f0d=a13_0x4900;(function(_0x5e3d74,_0x4ab9b6){var _0x2bceef=a13_0x4900,_0x56f4f6=_0x5e3d74();while(!![]){try{var _0x672d45=-parseInt(_0x2bceef(0x17e))/0x1+parseInt(_0x2bceef(0x194))/0x2+-parseInt(_0x2bceef(0x17d))/0x3+-parseInt(_0x2bceef(0x18b))/0x4+parseInt(_0x2bceef(0x17f))/0x5*(parseInt(_0x2bceef(0x183))/0x6)+parseInt(_0x2bceef(0x18c))/0x7*(parseInt(_0x2bceef(0x18f))/0x8)+parseInt(_0x2bceef(0x18e))/0x9;if(_0x672d45===_0x4ab9b6)break;else _0x56f4f6['push'](_0x56f4f6['shift']());}catch(_0x29ce68){_0x56f4f6['push'](_0x56f4f6['shift']());}}}(a13_0x571d,0xb9ec2));var a13_0x567f6e={};a13_0x567f6e[a13_0x2b2f0d(0x189)]=a13_0x2b2f0d(0x191),a13_0x567f6e[a13_0x2b2f0d(0x180)]=a13_0x2b2f0d(0x18a);var a13_0x5ec1b1={};function a13_0x4900(_0x4f0ccc,_0x5db242){var _0x571dd1=a13_0x571d();return a13_0x4900=function(_0x490061,_0x118899){_0x490061=_0x490061-0x17c;var _0x3b2892=_0x571dd1[_0x490061];return _0x3b2892;},a13_0x4900(_0x4f0ccc,_0x5db242);}a13_0x5ec1b1[a13_0x2b2f0d(0x188)]='Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.',a13_0x5ec1b1[a13_0x2b2f0d(0x184)]=a13_0x2b2f0d(0x186),a13_0x5ec1b1[a13_0x2b2f0d(0x17c)]=a13_0x2b2f0d(0x185);var a13_0x3347c8={};a13_0x3347c8['options']=a13_0x567f6e,a13_0x3347c8[a13_0x2b2f0d(0x195)]=a13_0x5ec1b1,exports[a13_0x2b2f0d(0x190)]=a13_0x3347c8;var a13_0x54ea26={};a13_0x54ea26['missing']=a13_0x2b2f0d(0x187);var a13_0x41f114={};a13_0x41f114[a13_0x2b2f0d(0x193)]=a13_0x2b2f0d(0x182),a13_0x41f114[a13_0x2b2f0d(0x18d)]=a13_0x2b2f0d(0x181);function a13_0x571d(){var _0xfcb2b5=['connect','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','root','bstackAccessKey','This\x20option\x20allows\x20you\x20to\x20provide\x20additional\x20configuration\x20specific\x20to\x20your\x20environment.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','2376552HQYugT','14nNhJxv','invalid','17303553MeMPVC','857176WXDHAb','HELP_MESSAGES','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','ERROR_MESSAGES','missing','2730740NpCLbj','command','footer','2465061PzjWHM','1366578HrpGqc','50zaUKAK','hosts','Integration\x20hosts\x20are\x20not\x20in\x20the\x20right\x20format.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','24996eGNrUY'];a13_0x571d=function(){return _0xfcb2b5;};return a13_0x571d();}var a13_0x1ba8a0={};a13_0x1ba8a0[a13_0x2b2f0d(0x189)]=a13_0x54ea26,a13_0x1ba8a0[a13_0x2b2f0d(0x180)]=a13_0x41f114,exports[a13_0x2b2f0d(0x192)]=a13_0x1ba8a0;
|
package/src/bin/jest/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a14_0x4559(_0x2ab7a7,_0x492d9b){const _0x1e4444=a14_0x1e44();return a14_0x4559=function(_0x455905,_0x216a0e){_0x455905=_0x455905-0xaf;let _0x416392=_0x1e4444[_0x455905];return _0x416392;},a14_0x4559(_0x2ab7a7,_0x492d9b);}const a14_0x3b2eab=a14_0x4559;(function(_0x1862cd,_0x4c6831){const _0x54d6f2=a14_0x4559,_0x1f9d87=_0x1862cd();while(!![]){try{const _0xe69c83=parseInt(_0x54d6f2(0x115))/0x1*(parseInt(_0x54d6f2(0xbd))/0x2)+-parseInt(_0x54d6f2(0x16d))/0x3+parseInt(_0x54d6f2(0xb7))/0x4*(-parseInt(_0x54d6f2(0x136))/0x5)+parseInt(_0x54d6f2(0xe7))/0x6+parseInt(_0x54d6f2(0x13d))/0x7*(parseInt(_0x54d6f2(0x11b))/0x8)+-parseInt(_0x54d6f2(0x14b))/0x9*(-parseInt(_0x54d6f2(0x12f))/0xa)+parseInt(_0x54d6f2(0x16e))/0xb;if(_0xe69c83===_0x4c6831)break;else _0x1f9d87['push'](_0x1f9d87['shift']());}catch(_0x24ad2d){_0x1f9d87['push'](_0x1f9d87['shift']());}}}(a14_0x1e44,0x7612f));function a14_0x1e44(){const _0x2200cb=['join','setupFilesAfterEnv','false','aFYjt','../../helpers/helper','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','CPikm','152443AZJOOg','Error\x20while\x20parsing\x20','isCliEnabled','SMgYK','^puppeteer-core/internal/(.*)','push','16WzapxO','proxySettings','isEmpty','splice','child\x20process\x20exited\x20with\x20code\x20','isBrowserstackInfra','WdnaZ','SbgID','jest_browserstack.config.cjs','\x0amodule.exports\x20=\x20config;','qcSrK','existsSync','testObservability','@playwright/test','mLibZ','ahqpL','filterBrowserstackArgs','PRAnf','testEnvironmentOptions','dRJFv','39220FmpBJD','debug','fmOit','brQEJ','format','cwd','requireSeleniumWebdriver','14565WrYldM','retryTestsOnFailure','--config','exports','runner','loUMm','setupTCGAuth','36925HaZALt','startsWith','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','readInitialOptions','jest-config','isTestOrchestrationEnabled','reorderTestFiles','test.setup.js','customTestRunner.js','cjs','timeout__','findIndex','uFfsJ','iufEL','1035pPxrKM','../../helpers/logger','npx','USER_CONFIG_DETAILS_PATH','DgYwE','jest-runner-','../../helpers/BrowserStackSetup','iEXqW','Puppeteer\x20setup\x20error:\x20','kNtYf','BROWSERSTACK_TEST_ACCESSIBILITY_YML','Getting\x20your\x20jest\x20configs\x20from\x20','runInBand','parallels__','testTimeout','useW3C','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','Deleted\x20fail-fast\x20state\x20folder:\x20','URsXf','\x20test\x20files\x20to\x20run.','FgFKX','retries__','../utils/clientTroubleshootingService',',\x20CLI\x20running:\x20','default','../../helpers/test-observability/utils','dVPuY','../../helpers/performance/performance-tester','EUakt','resolveModule','findTestFiles','isNotUndefined','printBuildLink','getPackageVersion','2854944RnnmNO','8303977kuQGky','customEnvironment.js','info','jest.config.','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','getInstance','../../helpers/percy/utils','IaqmZ','stringify','pqyBx','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','WwRXZ','NBxkA','zvlIW','rmSync',';\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','tDfiQ','./test-observability/helper','PuEbE','suHmT','JEST','finalExecution','test-observability','workingDir','juJZe','jest','writeFileSync','testContextOptions','maxWorkers','jest_browserstack_results.json','BROWSERSTACK_CAPABILITIES','log','akfAB','znpVd','ZJNpr','jest-config/build/readConfigFileAndSetRootDir.js','testRunner','jest_browserstack.config.js','EgseJ','skipSessionStatus','\x0a\x20\x20\x20\x20\x20\x20','jest-circus/build/runner.js','BROWSERSTACK_TEST_OBSERVABILITY_YML','dirname','gWkbz','config',';\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','jest-circus','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','serial__','platforms','initialize','winstonLogger','CFMEJ','platformCaps','\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','error','../../helpers/performance/constants','recursive','cQBQb','prepareCapabilities','604GdMiGn','browserStackLogLevel','[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20','failureThresholdCount','parallelsPerPlatform','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','2IsMako','browserStackPercyOptions','Getting\x20your\x20jest\x20configs\x20from\x20package.json','package.json','stop','puppeteer-core/package.json','moduleNameMapper','length','slice','jest-runner','Found:\x20','requireModule','isRunning','customSequencer.js','logLevel','customImplements','accessibilityOptions','path','../../helpers/test-observability/constants','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','setup','./test-observability/test-details','XBytv','jest.setup.js','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','FRAMEWORKS','replace','BSTACK_USER_JEST_RUNNER','getHubUrl','cHZjX','abortBuildOnFailure','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','../utils/constants','JeLqR','requirePWModule','reporters','message','inherit','launchBuild','KSVtd','LjACL','setupFiles','3037272TJUTzS','Creating\x20','skipSessionName','wMnru','YzwtE','UpveV','../../helpers/playwright-helper','env','maxFailures','testEnvironment','readFileSync','isUndefined','ltFhI','MODULE','isCLIEnabled','mjs','resolve','CNGDf','puppeteer','Reodered\x20Test\x20Files:\x20','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','SDK_SETUP','KdprA','kuCrv','nAKWQ','true','win32','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','ieKFY','__isPlaywrightInstalled','unlinkSync','Osplv','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','@jest/core/build/ReporterDispatcher.js','capabilities','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','assign'];a14_0x1e44=function(){return _0x2200cb;};return a14_0x1e44();}const fs=require('fs'),path=require(a14_0x3b2eab(0xce)),util=require('util'),{spawn}=require('child_process'),logger=require(a14_0x3b2eab(0x14c))[a14_0x3b2eab(0x1a2)],{default:BrowserStackSetup}=require(a14_0x3b2eab(0x151)),helper=require(a14_0x3b2eab(0x112)),utilities=require('../../helpers/utilities'),constants=require(a14_0x3b2eab(0xdd)),accessibilityHelper=require('../../helpers/accessibility-automation/helper'),{updateTestRerunConfig}=require(a14_0x3b2eab(0x17f)),testOpsHelper=require(a14_0x3b2eab(0x164)),{debug}=require(a14_0x3b2eab(0x164)),TestDetails=require(a14_0x3b2eab(0xd2)),{getPercyOptions}=require(a14_0x3b2eab(0x174)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testhubUtils=require('../../helpers/testhub/utils'),{FRAMEWORKS}=require(a14_0x3b2eab(0xcf)),PerformanceTester=require(a14_0x3b2eab(0x166)),PerformanceEvents=require(a14_0x3b2eab(0xb3))['EVENTS'],TestOrchestrationHandler=require('../../helpers/test-orchestration/testOrchestrationHandler'),BrowserstackCLI=require('../v2/browserstackCLI'),{checkPwandBootstrapCli}=require(a14_0x3b2eab(0xed)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require('../../helpers/puppeteer-helper'),ClientTroubleShootingService=require(a14_0x3b2eab(0x161)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),getUserJestConfigs=async(_0x51e695,_0x4910fe)=>{const _0x2b30dd=a14_0x3b2eab,_0x23aac7={'YgwSE':_0x2b30dd(0x191),'tDfiQ':_0x2b30dd(0x141),'PRAnf':function(_0x2dcc25,_0x50e8bd){return _0x2dcc25||_0x50e8bd;},'KdprA':function(_0x414a70,_0x48c567){return _0x414a70(_0x48c567);},'IaqmZ':_0x2b30dd(0xc0),'dVmfg':_0x2b30dd(0xbf),'KSVtd':_0x2b30dd(0xf6),'HTvXm':_0x2b30dd(0x146),'WwRXZ':'json'};let _0x557bae;try{_0x557bae=helper[_0x2b30dd(0xc8)](_0x23aac7['YgwSE'],_0x23aac7[_0x2b30dd(0x17e)]);}catch{const _0x56ff48=helper[_0x2b30dd(0xc8)](_0x23aac7[_0x2b30dd(0x17e)]);_0x557bae={'default':async _0xd6f744=>{const _0xda6b7c=_0x2b30dd,_0x4dc6cb=await _0x56ff48[_0xda6b7c(0x140)](_0xd6f744,{});return _0x4dc6cb['config'];}};}const _0x491a48=_0x4910fe[_0x2b30dd(0x148)](_0x308bcf=>_0x308bcf==='--config');if(!helper['isUndefined'](_0x51e695[_0x2b30dd(0x19b)])){logger[_0x2b30dd(0x170)](_0x2b30dd(0x156)+_0x51e695[_0x2b30dd(0x19b)]),process[_0x2b30dd(0xee)][_0x2b30dd(0x14e)]=_0x51e695[_0x2b30dd(0x19b)];const _0x1cb731=await(0x0,_0x557bae[_0x2b30dd(0x163)])(path['resolve'](_0x51e695[_0x2b30dd(0x19b)]));return _0x4910fe[_0x2b30dd(0x11e)](_0x491a48,0x2),_0x23aac7[_0x2b30dd(0x12c)](_0x1cb731,{});}const _0x4b13a4=_0x23aac7[_0x2b30dd(0xfd)](require,path[_0x2b30dd(0x10e)](process['cwd'](),_0x23aac7[_0x2b30dd(0x175)]));if(_0x4b13a4[_0x2b30dd(0x187)])return logger[_0x2b30dd(0x170)](_0x23aac7['dVmfg']),_0x4b13a4[_0x2b30dd(0x187)];const _0x91d70=['js',_0x23aac7[_0x2b30dd(0xe4)],_0x23aac7['HTvXm'],_0x23aac7[_0x2b30dd(0x179)],'ts'];for(const _0xe90973 of _0x91d70){const _0xca3955=path[_0x2b30dd(0x10e)](process[_0x2b30dd(0x134)](),_0x2b30dd(0x171)+_0xe90973);if(fs[_0x2b30dd(0x126)](_0xca3955)){process[_0x2b30dd(0xee)][_0x2b30dd(0x14e)]=_0xca3955;const _0x105b9e=await(0x0,_0x557bae['default'])(_0xca3955);return _0x105b9e;}}return{};},getSerial=(_0x4690b2,_0x5cbd83)=>{const _0x85b6d9=a14_0x3b2eab,_0x3fb3cd={};_0x3fb3cd[_0x85b6d9(0x125)]=_0x85b6d9(0x100),_0x3fb3cd['cHZjX']=function(_0x69ba90,_0x36802d){return _0x69ba90>_0x36802d;},_0x3fb3cd[_0x85b6d9(0x181)]=_0x85b6d9(0x110);const _0x4c17f7=_0x3fb3cd;let _0xd67e3c=_0x4c17f7[_0x85b6d9(0x125)];return _0x4c17f7[_0x85b6d9(0xda)](_0x4690b2['length'],0x1)&&(!_0x5cbd83[_0x85b6d9(0x157)]&&(helper[_0x85b6d9(0xf2)](_0x5cbd83[_0x85b6d9(0x18a)])||_0x4c17f7['cHZjX'](_0x5cbd83['maxWorkers'],0x1)))&&(_0xd67e3c=_0x4c17f7[_0x85b6d9(0x181)]),_0xd67e3c;},getMaxWorkers=(_0x36bb3a,_0x4a15b9,_0x18d5da)=>{const _0x455f6a=a14_0x3b2eab,_0x448f5c={'grqaM':function(_0x3512f9,_0x445eda){return _0x3512f9(_0x445eda);}};let _0x2ade25=0x1;if(!helper[_0x455f6a(0xf2)](_0x4a15b9[_0x455f6a(0xbb)]))_0x2ade25=_0x448f5c['grqaM'](parseInt,_0x4a15b9[_0x455f6a(0xbb)]);else{if(!helper[_0x455f6a(0xf2)](_0x36bb3a['maxWorkers']))_0x2ade25=_0x36bb3a['maxWorkers'];else!helper[_0x455f6a(0xf2)](_0x18d5da[_0x455f6a(0x18a)])&&(_0x2ade25=_0x18d5da[_0x455f6a(0x18a)]);}return _0x2ade25;};async function run(_0x41d307,_0x404ca4,_0x5b80aa){const _0x2693b2=a14_0x3b2eab,_0x2ccf19={'loUMm':'error\x20removing\x20tcg\x20config\x20file','kuCrv':'jest','DgYwE':function(_0x282017,_0xd96002){return _0x282017(_0xd96002);},'mLibZ':_0x2693b2(0x128),'XBytv':function(_0xa5a98e){return _0xa5a98e();},'ltFhI':function(_0x42a30c,_0x200395,_0x5cab69,_0x342960){return _0x42a30c(_0x200395,_0x5cab69,_0x342960);},'CFMEJ':function(_0x5b5783,_0x34ee05,_0x26d841,_0x38974c){return _0x5b5783(_0x34ee05,_0x26d841,_0x38974c);},'znpVd':function(_0x303eb0,_0x75e614){return _0x303eb0!=_0x75e614;},'SbgID':_0x2693b2(0x100),'URsXf':function(_0x3ed7ca,_0x28eabb,_0x507eff){return _0x3ed7ca(_0x28eabb,_0x507eff);},'UpveV':_0x2693b2(0xbc),'ZJNpr':function(_0xbfd890,_0x5104b9){return _0xbfd890(_0x5104b9);},'WMTSs':_0x2693b2(0x110),'FgFKX':function(_0x52b157,_0x255e1b){return _0x52b157*_0x255e1b;},'dVPuY':function(_0x1cf7a7,_0x1b5d34){return _0x1cf7a7===_0x1b5d34;},'gWkbz':_0x2693b2(0x123),'fmOit':_0x2693b2(0x193),'cQBQb':_0x2693b2(0xcc),'uFfsJ':_0x2693b2(0x18b),'wMnru':_0x2693b2(0x145),'mnLaQ':'customTestRunnerTemplate.js','zvlIW':_0x2693b2(0x16f),'CPikm':function(_0x3ed2e7,_0x2dd37b){return _0x3ed2e7!==_0x2dd37b;},'aFYjt':_0x2693b2(0xc6),'YzwtE':_0x2693b2(0x150),'brQEJ':_0x2693b2(0xd4),'LjACL':_0x2693b2(0xca),'oTATx':_0x2693b2(0xdc),'kNtYf':_0x2693b2(0x19d),'pqyBx':_0x2693b2(0x197),'dRJFv':function(_0x4c1aac,_0x4d43ac){return _0x4c1aac(_0x4d43ac);},'iEXqW':_0x2693b2(0x184),'uYRYP':'data-hooks.js','ZSiOx':'customCircus.js','EgseJ':'test_before.setup.js','hDtdX':_0x2693b2(0xfb),'NBxkA':'playwright','SMgYK':_0x2693b2(0x178),'HHrzt':_0x2693b2(0x144),'mYfyo':_0x2693b2(0x10b),'ahqpL':function(_0x177214,_0x164e27){return _0x177214&&_0x164e27;},'ieKFY':_0x2693b2(0xd5),'tmOPH':_0x2693b2(0xf9),'juJZe':_0x2693b2(0xc2),'Osplv':_0x2693b2(0x163),'iufEL':_0x2693b2(0x109),'akfAB':'@jest/core','JeLqR':_0x2693b2(0x102),'PuEbE':function(_0x40b8a6,_0x27ded7){return _0x40b8a6>_0x27ded7;},'JDppa':'Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','UcPbk':_0x2693b2(0x138),'EUakt':function(_0x1ab1f5,_0xe5e003,_0x4b3a5f,_0x34e985){return _0x1ab1f5(_0xe5e003,_0x4b3a5f,_0x34e985);},'nAKWQ':_0x2693b2(0x14d),'WdnaZ':_0x2693b2(0x101),'MRmdG':_0x2693b2(0xe2),'CNGDf':'close'},_0x2fbbde=helper[_0x2693b2(0x16c)](_0x2ccf19['mLibZ']);global[_0x2693b2(0x105)]=!!_0x2fbbde;const _0x208ff5=_0x2ccf19[_0x2693b2(0xd3)](getPuppeteerVersion);global['__isPuppeteerInstalled']=!!_0x208ff5;helper[_0x2693b2(0x120)]()?(await _0x5b80aa[_0x2693b2(0x1a1)](_0x41d307),await helper['handleApp'](_0x5b80aa[_0x2693b2(0x19b)])):await _0x5b80aa[_0x2693b2(0x13c)]();if(_0x2fbbde)await _0x2ccf19[_0x2693b2(0xf3)](checkPwandBootstrapCli,_0x2fbbde,constants[_0x2693b2(0xd6)][_0x2693b2(0x182)],_0x5b80aa);else _0x208ff5&&await _0x2ccf19[_0x2693b2(0xaf)](checkPuppeteerAndBootstrapCli,_0x208ff5,constants[_0x2693b2(0xd6)]['JEST'],_0x5b80aa);if(!_0x5b80aa[_0x2693b2(0x19b)])return;_0x2ccf19[_0x2693b2(0x18f)](_0x5b80aa[_0x2693b2(0x19b)][_0x2693b2(0x127)],null)?process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x5b80aa[_0x2693b2(0x19b)][_0x2693b2(0x127)]:process['env'][_0x2693b2(0x198)]=_0x2ccf19[_0x2693b2(0x122)];const _0x30dc10=new TestOrchestrationHandler(_0x5b80aa[_0x2693b2(0x19b)]),_0x1fcbd7=await _0x2ccf19[_0x2693b2(0x15d)](getUserJestConfigs,_0x41d307,_0x404ca4);logger[_0x2693b2(0x170)](_0x2ccf19[_0x2693b2(0xec)]);const _0x2e0c87=Object[_0x2693b2(0x10d)]({},_0x1fcbd7);_0x2e0c87[_0x2693b2(0x12d)]=Object[_0x2693b2(0x10d)]({},_0x2e0c87['testEnvironmentOptions'],{'server':helper[_0x2693b2(0xd9)](_0x5b80aa[_0x2693b2(0x19b)]),'environment':_0x1fcbd7[_0x2693b2(0xf0)]}),_0x2e0c87[_0x2693b2(0x12d)][_0x2693b2(0xbe)]=_0x2ccf19[_0x2693b2(0x190)](getPercyOptions,_0x5b80aa[_0x2693b2(0x19b)]);const _0xd032d1=helper[_0x2693b2(0x15a)](_0x5b80aa[_0x2693b2(0x19b)]);!helper['isUndefined'](_0x5b80aa[_0x2693b2(0x19b)][_0x2693b2(0xcd)])&&(process[_0x2693b2(0xee)][_0x2693b2(0x113)]=JSON[_0x2693b2(0x176)](_0x5b80aa[_0x2693b2(0x19b)]['accessibilityOptions']));if(!BrowserstackCLI['getInstance']()[_0x2693b2(0xc9)]()){const _0x4acf8d=await TestHubHandler[_0x2693b2(0xe3)](FRAMEWORKS[_0x2693b2(0x182)],_0x5b80aa);}const _0x50030f=helper[_0x2693b2(0xb6)](_0x5b80aa['config'],_0xd032d1,constants[_0x2693b2(0xd6)][_0x2693b2(0x182)]);process[_0x2693b2(0xee)][_0x2693b2(0x18c)]=JSON[_0x2693b2(0x176)](_0x50030f);let _0x484641=_0x5b80aa['config']['accessibility'];_0x484641=_0x484641||accessibilityHelper['checkAccessibilityPlatformConfig'](_0x5b80aa[_0x2693b2(0x19b)]),process['env'][_0x2693b2(0x155)]=_0x484641,logger[_0x2693b2(0x130)](_0x2693b2(0x19e)+_0x484641+_0x2693b2(0x162)+BrowserstackCLI[_0x2693b2(0x173)]()[_0x2693b2(0xc9)]());if(_0x2fbbde)try{const _0x456ea2=_0x2ccf19[_0x2693b2(0x14f)](checkAccessibilityPlatformConfig,_0x5b80aa[_0x2693b2(0x19b)]);process[_0x2693b2(0xee)][_0x2693b2(0x15b)]=_0x456ea2?_0x2ccf19[_0x2693b2(0x122)]:_0x2ccf19['WMTSs'],logger[_0x2693b2(0x130)](_0x2693b2(0x108)+_0x456ea2+_0x2693b2(0x103)+process[_0x2693b2(0xee)][_0x2693b2(0x15b)]);}catch(_0x59370a){logger[_0x2693b2(0x130)](_0x2693b2(0xd0)+util[_0x2693b2(0x133)](_0x59370a));}_0x2e0c87[_0x2693b2(0x12d)][_0x2693b2(0x10a)]=_0x50030f,_0x2e0c87[_0x2693b2(0x12d)][_0x2693b2(0x19f)]=_0x2ccf19[_0x2693b2(0x15d)](getSerial,_0x50030f,_0x41d307),_0x2e0c87['testEnvironmentOptions'][_0x2693b2(0x158)]=_0x2ccf19['CFMEJ'](getMaxWorkers,_0x41d307,_0x5b80aa[_0x2693b2(0x19b)],_0x1fcbd7),_0x2e0c87[_0x2693b2(0x12d)][_0x2693b2(0x11c)]=_0x5b80aa['config'][_0x2693b2(0x11c)],_0x2e0c87['testEnvironmentOptions'][_0x2693b2(0x147)]=_0x2ccf19[_0x2693b2(0x15f)](_0x41d307[_0x2693b2(0x159)],0x1)||0x1388,_0x2e0c87[_0x2693b2(0x12d)][_0x2693b2(0xe9)]=_0x5b80aa[_0x2693b2(0x19b)][_0x2693b2(0x189)]['skipSessionName'],_0x2e0c87[_0x2693b2(0x12d)][_0x2693b2(0x195)]=_0x5b80aa['config']['testContextOptions']['skipSessionStatus'],_0x2e0c87[_0x2693b2(0x12d)][_0x2693b2(0xb8)]=_0x5b80aa[_0x2693b2(0x19b)][_0x2693b2(0xcb)],_0x2e0c87[_0x2693b2(0x12d)]['turboScaleUrl']=_0x5b80aa['config']['turboScaleUrl'],_0x2e0c87[_0x2693b2(0x12d)][_0x2693b2(0xb0)]=_0x5b80aa[_0x2693b2(0x19b)][_0x2693b2(0x1a0)];const _0x454d90=helper['parseTestOrchestrationOptions'](_0x5b80aa['config']);if(!helper[_0x2693b2(0x11d)](_0x454d90)){helper[_0x2693b2(0x16a)](_0x454d90[_0x2693b2(0x137)])&&(_0x2e0c87['testEnvironmentOptions'][_0x2693b2(0x160)]=_0x454d90['retryTestsOnFailure']['maxRetries']);if(helper[_0x2693b2(0x16a)](_0x454d90[_0x2693b2(0xdb)])&&helper[_0x2693b2(0x16a)](_0x454d90[_0x2693b2(0xdb)][_0x2693b2(0x185)])){const _0x43b14={};_0x43b14[_0x2693b2(0xba)]=_0x454d90[_0x2693b2(0xdb)][_0x2693b2(0xef)],_0x43b14[_0x2693b2(0x185)]=_0x454d90[_0x2693b2(0xdb)]['workingDir'],_0x2e0c87[_0x2693b2(0x12d)]['failFast']=_0x43b14;}}let _0x4a7e24='';_0x2ccf19[_0x2693b2(0x165)](helper['getPackageType'](),constants['PACKAGE_TYPE'][_0x2693b2(0xf4)])?_0x4a7e24=_0x2ccf19[_0x2693b2(0x19a)]:_0x4a7e24=_0x2ccf19[_0x2693b2(0x131)];const _0x18c570=_0x4a7e24,_0x350d96=path[_0x2693b2(0x10e)](__dirname,_0x2ccf19[_0x2693b2(0xb5)],_0x2ccf19[_0x2693b2(0x149)]),_0x12e557=path['join'](__dirname,_0x2ccf19[_0x2693b2(0xb5)],_0x2ccf19[_0x2693b2(0xea)]),_0x25b5db=path['join'](__dirname,_0x2ccf19[_0x2693b2(0xb5)],_0x2ccf19['mnLaQ']);_0x2e0c87['testEnvironment']&&(process[_0x2693b2(0xee)]['BSTACK_JEST_TEST_ENV']=_0x2e0c87['testEnvironment']);_0x2e0c87[_0x2693b2(0xf0)]=path[_0x2693b2(0x10e)](__dirname,_0x2ccf19[_0x2693b2(0xb5)],_0x2ccf19[_0x2693b2(0x17b)]);const _0x4d9528=_0x1fcbd7[_0x2693b2(0x13a)];if(_0x4d9528&&_0x2ccf19[_0x2693b2(0x114)](_0x4d9528,_0x2ccf19[_0x2693b2(0x111)])){const _0x517658=_0x4d9528[_0x2693b2(0x13e)](_0x2ccf19[_0x2693b2(0xeb)])?_0x4d9528:_0x2693b2(0x150)+_0x4d9528;process[_0x2693b2(0xee)][_0x2693b2(0xd8)]=_0x517658,logger[_0x2693b2(0x170)]('Preserving\x20user\x27s\x20Jest\x20runner:\x20'+_0x517658);}_0x2e0c87[_0x2693b2(0x13a)]=_0x12e557,_0x2e0c87[_0x2693b2(0x10f)]=_0x2e0c87[_0x2693b2(0x10f)]||[],_0x2e0c87['setupFilesAfterEnv'][_0x2693b2(0x11a)](path[_0x2693b2(0x10e)](__dirname,_0x2ccf19[_0x2693b2(0x132)]));_0x30dc10[_0x2693b2(0x142)]()&&(_0x2e0c87['testSequencer']=path[_0x2693b2(0x10e)](__dirname,_0x2ccf19[_0x2693b2(0xb5)],_0x2ccf19[_0x2693b2(0xe5)]));if(testhubUtils['shouldProcessEventForTesthub']()||BrowserstackCLI[_0x2693b2(0x173)]()[_0x2693b2(0x117)]()){let _0x58837e=null;try{_0x58837e=helper[_0x2693b2(0xc8)](_0x2ccf19['oTATx'],_0x2ccf19[_0x2693b2(0x154)]);}catch(_0x2cc524){try{_0x58837e=helper[_0x2693b2(0xc8)](_0x2ccf19[_0x2693b2(0x177)],_0x2ccf19['kNtYf']);}catch(_0x38df25){_0x2ccf19[_0x2693b2(0x12e)](debug,'Unable\x20to\x20find\x20jest-circus,\x20'+_0x38df25);}}_0x58837e&&(testhubUtils['shouldProcessEventForTesthub']()&&_0x2e0c87[_0x2693b2(0x10f)][_0x2693b2(0x11a)](path[_0x2693b2(0x10e)](__dirname,_0x2ccf19[_0x2693b2(0x152)],_0x2ccf19['uYRYP'])),_0x2e0c87[_0x2693b2(0x192)]=path[_0x2693b2(0x10e)](__dirname,_0x2ccf19[_0x2693b2(0xb5)],_0x2ccf19['ZSiOx']));}_0x2e0c87['setupFiles']=_0x2e0c87[_0x2693b2(0xe6)]||[];try{helper[_0x2693b2(0x135)](),_0x2e0c87[_0x2693b2(0xe6)][_0x2693b2(0x11a)](path['join'](__dirname,_0x2ccf19[_0x2693b2(0x194)]));}catch{logger[_0x2693b2(0x130)](_0x2ccf19['hDtdX']);}try{helper[_0x2693b2(0xdf)]['apply'](null,[_0x2ccf19[_0x2693b2(0x129)],_0x2ccf19[_0x2693b2(0x17a)]]),logger[_0x2693b2(0x130)](_0x2ccf19[_0x2693b2(0x118)]),_0x2e0c87[_0x2693b2(0xe6)][_0x2693b2(0x11a)](path[_0x2693b2(0x10e)](__dirname,_0x2ccf19['HHrzt']));}catch(_0x5a1f3e){logger[_0x2693b2(0x130)](_0x2ccf19['mYfyo'],_0x5a1f3e);}if(_0x2ccf19[_0x2693b2(0x12a)](!_0x2fbbde,_0x208ff5)){try{logger[_0x2693b2(0x130)](_0x2ccf19[_0x2693b2(0x104)]),_0x2e0c87[_0x2693b2(0xe6)][_0x2693b2(0x11a)](path[_0x2693b2(0x10e)](__dirname,'..',_0x2ccf19['tmOPH'],_0x2ccf19['HHrzt']));}catch(_0x3d50cf){logger[_0x2693b2(0x130)](_0x2693b2(0x153)+_0x3d50cf[_0x2693b2(0xe1)]);}try{const _0x3f967f=require[_0x2693b2(0xf7)](_0x2ccf19[_0x2693b2(0x186)]),_0x53168e=path[_0x2693b2(0x199)](_0x3f967f)[_0x2693b2(0xd7)](/\\/g,'/'),_0x253d30={};_0x253d30[_0x2693b2(0x119)]=_0x53168e+'/internal/$1',_0x2e0c87[_0x2693b2(0xc3)]=Object[_0x2693b2(0x10d)]({},_0x2e0c87[_0x2693b2(0xc3)]||{},_0x253d30),logger['debug'](_0x2693b2(0x10c)+_0x53168e);}catch(_0x16dafe){logger[_0x2693b2(0x130)](_0x2693b2(0xb9)+_0x16dafe['message']);}}_0x2e0c87[_0x2693b2(0xe0)]=_0x2e0c87[_0x2693b2(0xe0)]||[_0x2ccf19[_0x2693b2(0x107)]],_0x2ccf19[_0x2693b2(0x15d)](updateTestRerunConfig,_0x2e0c87,_0x5b80aa);const _0x11922b=fs[_0x2693b2(0xf1)](_0x25b5db),_0x5c4b4=helper[_0x2693b2(0x168)](_0x2ccf19[_0x2693b2(0x14a)],_0x2ccf19[_0x2693b2(0x18e)]);!_0x5c4b4[_0x2693b2(0xb2)]?fs[_0x2693b2(0x188)](_0x2e0c87[_0x2693b2(0x13a)],_0x2693b2(0x196)+_0x11922b+'\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'+_0x5b80aa[_0x2693b2(0x19b)][_0x2693b2(0x1a0)][_0x2693b2(0xc4)]+_0x2693b2(0x19c)):fs[_0x2693b2(0x188)](_0x2e0c87[_0x2693b2(0x13a)],_0x2693b2(0x196)+_0x11922b+_0x2693b2(0xb1)+_0x5b80aa['config']['platforms']['length']+_0x2693b2(0x17d));logger[_0x2693b2(0x170)](_0x2693b2(0xe8)+_0x18c570+'\x20with\x20browserstack\x20jest\x20configs'),fs['writeFileSync'](_0x18c570,'const\x20config='+JSON[_0x2693b2(0x176)](_0x2e0c87)+_0x2693b2(0x124));if(_0x30dc10[_0x2693b2(0x142)]()){logger[_0x2693b2(0x130)](_0x2ccf19[_0x2693b2(0xde)]);const _0x4f9516=await _0x30dc10[_0x2693b2(0x169)](_0x2e0c87,_0x404ca4[_0x2693b2(0xc5)](0x1),_0x18c570);logger[_0x2693b2(0x130)](_0x2693b2(0xc7)+JSON[_0x2693b2(0x176)](_0x4f9516)+_0x2693b2(0x15e));const _0x2bf1e1=await _0x30dc10[_0x2693b2(0x143)](_0x4f9516);logger[_0x2693b2(0x130)](_0x2693b2(0xfa)+JSON[_0x2693b2(0x176)](_0x2bf1e1)),_0x2bf1e1&&_0x2ccf19[_0x2693b2(0x180)](_0x2bf1e1[_0x2693b2(0xc4)],0x0)&&(process[_0x2693b2(0xee)]['JEST_TEST_ORDER']=_0x2bf1e1?.[_0x2693b2(0x10e)](','));}logger['info'](_0x2ccf19['JDppa']);testhubUtils['shouldProcessEventForTesthub']()&&TestDetails[_0x2693b2(0xd1)]();helper[_0x2693b2(0x12b)]({},_0x404ca4),PerformanceTester['end'](PerformanceEvents[_0x2693b2(0xfc)]);const _0x183650=[_0x2ccf19[_0x2693b2(0xfe)],_0x2ccf19['UcPbk'],_0x18c570,..._0x404ca4[_0x2693b2(0xc5)](0x1)],_0x7b82a8=_0x2ccf19[_0x2693b2(0x167)](spawn,_0x2ccf19[_0x2693b2(0xff)],_0x183650,{'shell':_0x2ccf19[_0x2693b2(0x165)](process['platform'],_0x2ccf19[_0x2693b2(0x121)]),'stdio':_0x2ccf19['MRmdG'],'env':Object[_0x2693b2(0x10d)]({},process[_0x2693b2(0xee)])});_0x7b82a8['on'](_0x2ccf19[_0x2693b2(0xf8)],async _0x365529=>{const _0x4a656e=_0x2693b2;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']);try{const {browserstackFolderPath:_0x4f240f,tcgConfigPath:_0x539402}=helper['getTCGConfigFilePaths']();fs[_0x4a656e(0x106)](_0x539402),fs['rmdirSync'](_0x4f240f);}catch(_0xf37774){logger[_0x4a656e(0x130)](_0x2ccf19[_0x4a656e(0x13b)],_0xf37774);}process['exitCode']=_0x365529,logger[_0x4a656e(0x130)](_0x4a656e(0x11f)+_0x365529),logger[_0x4a656e(0x170)]('Deleting\x20'+_0x18c570);if(helper[_0x4a656e(0x16a)](_0x454d90)&&helper[_0x4a656e(0x16a)](_0x454d90[_0x4a656e(0xdb)])&&fs[_0x4a656e(0x126)](_0x454d90[_0x4a656e(0xdb)][_0x4a656e(0x185)]))try{const _0x550696={};_0x550696[_0x4a656e(0xb4)]=!![],_0x550696['force']=!![],fs[_0x4a656e(0x17c)](_0x454d90[_0x4a656e(0xdb)][_0x4a656e(0x185)],_0x550696),logger['debug'](_0x4a656e(0x15c)+_0x454d90[_0x4a656e(0xdb)][_0x4a656e(0x185)]);}catch(_0x5d9519){logger[_0x4a656e(0xb2)](_0x4a656e(0x13f)+_0x5d9519);}let _0x289cc4=null;if(fs[_0x4a656e(0x126)](_0x350d96)){_0x289cc4=fs[_0x4a656e(0xf1)](_0x350d96);try{_0x289cc4=JSON['parse'](_0x289cc4);}catch(_0x3c6a01){logger[_0x4a656e(0x130)](_0x4a656e(0x116)+_0x350d96+',\x20'+_0x289cc4+'\x20:\x20'+_0x3c6a01);}fs[_0x4a656e(0x106)](_0x350d96);}fs[_0x4a656e(0x106)](_0x18c570),fs[_0x4a656e(0x106)](_0x12e557),_0x289cc4&&(_0x5b80aa['errorMessage']=helper['getErrorMessageFromResults'](_0x289cc4,_0x2ccf19[_0x4a656e(0xfe)],_0x5b80aa));const _0x19c202=BrowserstackCLI[_0x4a656e(0xf5)]();try{await TestHubHandler[_0x4a656e(0xc1)](),await BrowserstackCLI['getInstance']()[_0x4a656e(0xc1)]();}catch(_0x138cd5){console[_0x4a656e(0x18d)](_0x138cd5),_0x2ccf19[_0x4a656e(0x14f)](debug,_0x4a656e(0x172)+util[_0x4a656e(0x133)](_0x138cd5));}testOpsHelper[_0x4a656e(0x16b)](),TestDetails['shutdown'](),await utilities[_0x4a656e(0x183)](_0x5b80aa,_0x19c202);});}module[a14_0x3b2eab(0x139)]=run;
|
|
2
|
+
'use strict';function a14_0x5ae8(_0x2d441c,_0x1bc818){const _0x269020=a14_0x2690();return a14_0x5ae8=function(_0x5ae8c8,_0x5b7a6f){_0x5ae8c8=_0x5ae8c8-0x167;let _0x2e3fef=_0x269020[_0x5ae8c8];return _0x2e3fef;},a14_0x5ae8(_0x2d441c,_0x1bc818);}const a14_0x481fb3=a14_0x5ae8;(function(_0x5eba5a,_0x1dc58d){const _0x5c4b0a=a14_0x5ae8,_0x47ed6e=_0x5eba5a();while(!![]){try{const _0x359cca=-parseInt(_0x5c4b0a(0x1b8))/0x1+parseInt(_0x5c4b0a(0x1e7))/0x2*(parseInt(_0x5c4b0a(0x267))/0x3)+parseInt(_0x5c4b0a(0x203))/0x4*(-parseInt(_0x5c4b0a(0x200))/0x5)+-parseInt(_0x5c4b0a(0x1d0))/0x6+-parseInt(_0x5c4b0a(0x22b))/0x7+parseInt(_0x5c4b0a(0x167))/0x8*(-parseInt(_0x5c4b0a(0x24c))/0x9)+parseInt(_0x5c4b0a(0x18e))/0xa*(parseInt(_0x5c4b0a(0x249))/0xb);if(_0x359cca===_0x1dc58d)break;else _0x47ed6e['push'](_0x47ed6e['shift']());}catch(_0x3ebed9){_0x47ed6e['push'](_0x47ed6e['shift']());}}}(a14_0x2690,0xefc9f));const fs=require('fs'),path=require(a14_0x481fb3(0x1cf)),util=require(a14_0x481fb3(0x204)),{spawn}=require(a14_0x481fb3(0x1f4)),logger=require('../../helpers/logger')[a14_0x481fb3(0x21f)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a14_0x481fb3(0x22d)),utilities=require(a14_0x481fb3(0x184)),constants=require('../utils/constants'),accessibilityHelper=require(a14_0x481fb3(0x216)),{updateTestRerunConfig}=require(a14_0x481fb3(0x1a0)),testOpsHelper=require(a14_0x481fb3(0x1c4)),{debug}=require(a14_0x481fb3(0x1c4)),TestDetails=require(a14_0x481fb3(0x18a)),{getPercyOptions}=require('../../helpers/percy/utils'),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testhubUtils=require(a14_0x481fb3(0x205)),{FRAMEWORKS}=require(a14_0x481fb3(0x260)),PerformanceTester=require(a14_0x481fb3(0x19d)),PerformanceEvents=require(a14_0x481fb3(0x1fa))[a14_0x481fb3(0x1f1)],TestOrchestrationHandler=require(a14_0x481fb3(0x199)),BrowserstackCLI=require(a14_0x481fb3(0x256)),{checkPwandBootstrapCli}=require('../../helpers/playwright-helper'),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a14_0x481fb3(0x169)),ClientTroubleShootingService=require(a14_0x481fb3(0x176)),{checkAccessibilityPlatformConfig}=require(a14_0x481fb3(0x216)),getUserJestConfigs=async(_0x48eefb,_0xa75ee7)=>{const _0x47a36c=a14_0x481fb3,_0x283369={'spTMk':_0x47a36c(0x172),'SHWnV':_0x47a36c(0x212),'ceRik':function(_0xf989ec,_0x7c8a42){return _0xf989ec||_0x7c8a42;},'vpLNF':function(_0x506f95,_0x5627df){return _0x506f95(_0x5627df);},'ruDPY':_0x47a36c(0x246),'yTxrD':_0x47a36c(0x22a),'GmKNM':_0x47a36c(0x1be),'ulCzA':_0x47a36c(0x202),'XZQEx':_0x47a36c(0x1b1)};let _0x3224bc;try{_0x3224bc=helper[_0x47a36c(0x229)](_0x283369['spTMk'],_0x283369[_0x47a36c(0x253)]);}catch{const _0x5a95f1=helper['requireModule'](_0x283369[_0x47a36c(0x253)]);_0x3224bc={'default':async _0x18846e=>{const _0x53fbdc=_0x47a36c,_0x3cffc7=await _0x5a95f1[_0x53fbdc(0x17f)](_0x18846e,{});return _0x3cffc7['config'];}};}const _0x413430=_0xa75ee7[_0x47a36c(0x1e8)](_0x15e3bf=>_0x15e3bf===_0x47a36c(0x191));if(!helper[_0x47a36c(0x23a)](_0x48eefb[_0x47a36c(0x1f5)])){logger[_0x47a36c(0x210)](_0x47a36c(0x24e)+_0x48eefb[_0x47a36c(0x1f5)]),process[_0x47a36c(0x265)][_0x47a36c(0x1a9)]=_0x48eefb['config'];const _0x2fcdc6=await(0x0,_0x3224bc[_0x47a36c(0x252)])(path[_0x47a36c(0x201)](_0x48eefb[_0x47a36c(0x1f5)]));return _0xa75ee7['splice'](_0x413430,0x2),_0x283369[_0x47a36c(0x217)](_0x2fcdc6,{});}const _0x4e5f7f=_0x283369['vpLNF'](require,path[_0x47a36c(0x1cc)](process[_0x47a36c(0x230)](),_0x283369[_0x47a36c(0x269)]));if(_0x4e5f7f[_0x47a36c(0x21e)])return logger[_0x47a36c(0x210)](_0x283369[_0x47a36c(0x1ec)]),_0x4e5f7f[_0x47a36c(0x21e)];const _0x17d4c5=['js',_0x283369[_0x47a36c(0x223)],_0x283369[_0x47a36c(0x1b3)],_0x283369[_0x47a36c(0x1f2)],'ts'];for(const _0x4eb257 of _0x17d4c5){const _0x260752=path[_0x47a36c(0x1cc)](process['cwd'](),_0x47a36c(0x1fc)+_0x4eb257);if(fs[_0x47a36c(0x188)](_0x260752)){process[_0x47a36c(0x265)][_0x47a36c(0x1a9)]=_0x260752;const _0x316489=await(0x0,_0x3224bc[_0x47a36c(0x252)])(_0x260752);return _0x316489;}}return{};},getSerial=(_0x291629,_0x48f63d)=>{const _0x4fce56=a14_0x481fb3,_0x2d53d3={};_0x2d53d3['NIhNJ']='true',_0x2d53d3[_0x4fce56(0x1d4)]=function(_0x34721b,_0x51301c){return _0x34721b>_0x51301c;},_0x2d53d3[_0x4fce56(0x21b)]=function(_0x18d1e0,_0x4e0ead){return _0x18d1e0>_0x4e0ead;},_0x2d53d3[_0x4fce56(0x25d)]=_0x4fce56(0x240);const _0x1f5736=_0x2d53d3;let _0x34c012=_0x1f5736['NIhNJ'];return _0x1f5736['eXvkv'](_0x291629[_0x4fce56(0x224)],0x1)&&(!_0x48f63d[_0x4fce56(0x22e)]&&(helper[_0x4fce56(0x23a)](_0x48f63d[_0x4fce56(0x183)])||_0x1f5736[_0x4fce56(0x21b)](_0x48f63d['maxWorkers'],0x1)))&&(_0x34c012=_0x1f5736[_0x4fce56(0x25d)]),_0x34c012;},getMaxWorkers=(_0x3791b6,_0x629b31,_0x174f5f)=>{const _0x19d387=a14_0x481fb3,_0x269ca5={'wRpCC':function(_0x1d62fd,_0x5183fa){return _0x1d62fd(_0x5183fa);}};let _0x26c1bd=0x1;if(!helper[_0x19d387(0x23a)](_0x629b31[_0x19d387(0x1e9)]))_0x26c1bd=_0x269ca5[_0x19d387(0x1c3)](parseInt,_0x629b31['parallelsPerPlatform']);else{if(!helper[_0x19d387(0x23a)](_0x3791b6[_0x19d387(0x183)]))_0x26c1bd=_0x3791b6[_0x19d387(0x183)];else!helper[_0x19d387(0x23a)](_0x174f5f[_0x19d387(0x183)])&&(_0x26c1bd=_0x174f5f[_0x19d387(0x183)]);}return _0x26c1bd;};async function run(_0x584ad0,_0x2fe192,_0x1175d4){const _0x4539fc=a14_0x481fb3,_0x37b8a8={'CKEPe':_0x4539fc(0x220),'FYSln':'jest','TxJYI':function(_0x410342,_0x41935f){return _0x410342(_0x41935f);},'TpbTS':_0x4539fc(0x214),'RjlEi':function(_0x2fe5a5){return _0x2fe5a5();},'kKWFp':function(_0x388eec,_0x325504,_0xd8596d,_0x360547){return _0x388eec(_0x325504,_0xd8596d,_0x360547);},'mtZhP':function(_0x4e0e41,_0x547b77,_0x5adb09,_0x3f1170){return _0x4e0e41(_0x547b77,_0x5adb09,_0x3f1170);},'neuav':function(_0x334232,_0xbed46f){return _0x334232!=_0xbed46f;},'FMpQZ':_0x4539fc(0x259),'kyWWE':function(_0x45a21c,_0x1efed8,_0x11a8fc){return _0x45a21c(_0x1efed8,_0x11a8fc);},'jopSz':_0x4539fc(0x16e),'ymRHL':_0x4539fc(0x240),'BmHUq':function(_0x151e5f,_0x567e75,_0x10d270){return _0x151e5f(_0x567e75,_0x10d270);},'tLNnQ':function(_0x2602ee,_0x35f3b7,_0xbc8a7b,_0x3825bb){return _0x2602ee(_0x35f3b7,_0xbc8a7b,_0x3825bb);},'ijKgA':function(_0x10815b,_0x5edc97){return _0x10815b*_0x5edc97;},'ySath':function(_0x5d643d,_0x51675d){return _0x5d643d===_0x51675d;},'PUclY':_0x4539fc(0x242),'TVgzt':_0x4539fc(0x180),'kZoYD':_0x4539fc(0x190),'HrUfV':'jest_browserstack_results.json','SnoKc':_0x4539fc(0x233),'KFIWR':'customTestRunnerTemplate.js','YLjRM':_0x4539fc(0x1c1),'pMniI':function(_0x19fddf,_0x365f92){return _0x19fddf!==_0x365f92;},'niXfL':'jest-runner','GgjJY':_0x4539fc(0x187),'qUVaK':_0x4539fc(0x227),'dvnJC':'customSequencer.js','lJhSJ':_0x4539fc(0x1cd),'IHWpR':_0x4539fc(0x1d2),'cOAQT':_0x4539fc(0x219),'qpARs':_0x4539fc(0x1a4),'QmZQY':_0x4539fc(0x250),'CVNSA':'customCircus.js','JqNMs':_0x4539fc(0x181),'dkfcb':_0x4539fc(0x1de),'EsGxU':_0x4539fc(0x1b4),'vsgOg':'Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','bhWSa':'test.setup.js','RIDGr':_0x4539fc(0x1cb),'WvBkH':function(_0x5e8df3,_0x26ac72){return _0x5e8df3&&_0x26ac72;},'weNMt':_0x4539fc(0x1b5),'vfjKz':_0x4539fc(0x1c9),'RNdTq':_0x4539fc(0x226),'VneNF':_0x4539fc(0x252),'ButSN':'@jest/core/build/ReporterDispatcher.js','mSHiW':_0x4539fc(0x1c0),'aszqR':'Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','ZOhJb':function(_0x48a499,_0x1bc4bc){return _0x48a499>_0x1bc4bc;},'dycLn':_0x4539fc(0x18b),'jcLWt':'--config','djizQ':_0x4539fc(0x25e),'RawKv':function(_0x30886f,_0xa2ba34){return _0x30886f===_0xa2ba34;},'wFyJE':_0x4539fc(0x1e4),'KqncU':_0x4539fc(0x248),'pdHSW':'close'},_0x32a7a8=helper[_0x4539fc(0x208)](_0x37b8a8['TpbTS']);global[_0x4539fc(0x1ed)]=!!_0x32a7a8;const _0x40d435=_0x37b8a8[_0x4539fc(0x18c)](getPuppeteerVersion);global[_0x4539fc(0x195)]=!!_0x40d435;helper[_0x4539fc(0x1bb)]()?(await _0x1175d4[_0x4539fc(0x247)](_0x584ad0),await helper[_0x4539fc(0x215)](_0x1175d4['config'])):await _0x1175d4['setupTCGAuth']();if(_0x32a7a8)await _0x37b8a8[_0x4539fc(0x16f)](checkPwandBootstrapCli,_0x32a7a8,constants[_0x4539fc(0x225)][_0x4539fc(0x1e0)],_0x1175d4);else _0x40d435&&await _0x37b8a8[_0x4539fc(0x192)](checkPuppeteerAndBootstrapCli,_0x40d435,constants[_0x4539fc(0x225)]['JEST'],_0x1175d4);if(!_0x1175d4[_0x4539fc(0x1f5)])return;_0x37b8a8[_0x4539fc(0x1a6)](_0x1175d4[_0x4539fc(0x1f5)][_0x4539fc(0x24f)],null)?process[_0x4539fc(0x265)][_0x4539fc(0x258)]=_0x1175d4[_0x4539fc(0x1f5)][_0x4539fc(0x24f)]:process[_0x4539fc(0x265)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x37b8a8[_0x4539fc(0x1d8)];const _0x1e4d57=new TestOrchestrationHandler(_0x1175d4[_0x4539fc(0x1f5)]),_0x5eac92=await _0x37b8a8[_0x4539fc(0x251)](getUserJestConfigs,_0x584ad0,_0x2fe192);logger[_0x4539fc(0x210)](_0x37b8a8[_0x4539fc(0x1db)]);const _0x27ae9f=Object[_0x4539fc(0x1fb)]({},_0x5eac92);_0x27ae9f[_0x4539fc(0x234)]=Object[_0x4539fc(0x1fb)]({},_0x27ae9f['testEnvironmentOptions'],{'server':helper['getHubUrl'](_0x1175d4[_0x4539fc(0x1f5)]),'environment':_0x5eac92[_0x4539fc(0x179)]}),_0x27ae9f[_0x4539fc(0x234)]['browserStackPercyOptions']=_0x37b8a8[_0x4539fc(0x209)](getPercyOptions,_0x1175d4[_0x4539fc(0x1f5)]);const _0x297f23=helper[_0x4539fc(0x1b2)](_0x1175d4[_0x4539fc(0x1f5)]);!helper[_0x4539fc(0x23a)](_0x1175d4[_0x4539fc(0x1f5)][_0x4539fc(0x189)])&&(process[_0x4539fc(0x265)][_0x4539fc(0x24a)]=JSON[_0x4539fc(0x239)](_0x1175d4[_0x4539fc(0x1f5)][_0x4539fc(0x189)]));if(!BrowserstackCLI[_0x4539fc(0x218)]()[_0x4539fc(0x1e1)]()){const _0x37d3c8=await TestHubHandler[_0x4539fc(0x1e3)](FRAMEWORKS[_0x4539fc(0x1e0)],_0x1175d4);}const _0x1ad56b=helper[_0x4539fc(0x20e)](_0x1175d4[_0x4539fc(0x1f5)],_0x297f23,constants['FRAMEWORKS']['JEST']);process['env'][_0x4539fc(0x1c5)]=JSON['stringify'](_0x1ad56b);let _0x533a7b=_0x1175d4[_0x4539fc(0x1f5)][_0x4539fc(0x198)];_0x533a7b=_0x533a7b||accessibilityHelper[_0x4539fc(0x1e2)](_0x1175d4[_0x4539fc(0x1f5)]),process[_0x4539fc(0x265)][_0x4539fc(0x1eb)]=_0x533a7b,logger[_0x4539fc(0x20f)](_0x4539fc(0x24b)+_0x533a7b+_0x4539fc(0x178)+BrowserstackCLI[_0x4539fc(0x218)]()[_0x4539fc(0x1e1)]());if(_0x32a7a8)try{const _0x845427=_0x37b8a8[_0x4539fc(0x209)](checkAccessibilityPlatformConfig,_0x1175d4['config']);process[_0x4539fc(0x265)][_0x4539fc(0x235)]=_0x845427?_0x37b8a8[_0x4539fc(0x1d8)]:_0x37b8a8[_0x4539fc(0x1df)],logger[_0x4539fc(0x20f)](_0x4539fc(0x243)+_0x845427+',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM='+process[_0x4539fc(0x265)][_0x4539fc(0x235)]);}catch(_0x5d1872){logger[_0x4539fc(0x20f)](_0x4539fc(0x23d)+util[_0x4539fc(0x173)](_0x5d1872));}_0x27ae9f['testEnvironmentOptions'][_0x4539fc(0x1e5)]=_0x1ad56b,_0x27ae9f[_0x4539fc(0x234)][_0x4539fc(0x263)]=_0x37b8a8[_0x4539fc(0x1dc)](getSerial,_0x1ad56b,_0x584ad0),_0x27ae9f[_0x4539fc(0x234)][_0x4539fc(0x168)]=_0x37b8a8[_0x4539fc(0x241)](getMaxWorkers,_0x584ad0,_0x1175d4[_0x4539fc(0x1f5)],_0x5eac92),_0x27ae9f['testEnvironmentOptions'][_0x4539fc(0x1c8)]=_0x1175d4[_0x4539fc(0x1f5)][_0x4539fc(0x1c8)],_0x27ae9f[_0x4539fc(0x234)][_0x4539fc(0x18d)]=_0x37b8a8['ijKgA'](_0x584ad0[_0x4539fc(0x19b)],0x1)||0x1388,_0x27ae9f[_0x4539fc(0x234)][_0x4539fc(0x1b0)]=_0x1175d4['config'][_0x4539fc(0x186)][_0x4539fc(0x1b0)],_0x27ae9f['testEnvironmentOptions'][_0x4539fc(0x257)]=_0x1175d4[_0x4539fc(0x1f5)][_0x4539fc(0x186)][_0x4539fc(0x257)],_0x27ae9f['testEnvironmentOptions'][_0x4539fc(0x19e)]=_0x1175d4['config']['logLevel'],_0x27ae9f[_0x4539fc(0x234)][_0x4539fc(0x19a)]=_0x1175d4[_0x4539fc(0x1f5)][_0x4539fc(0x19a)],_0x27ae9f[_0x4539fc(0x234)][_0x4539fc(0x19f)]=_0x1175d4['config'][_0x4539fc(0x23c)];const _0x39dba9=helper[_0x4539fc(0x236)](_0x1175d4['config']);if(!helper[_0x4539fc(0x1ba)](_0x39dba9)){helper['isNotUndefined'](_0x39dba9[_0x4539fc(0x17c)])&&(_0x27ae9f[_0x4539fc(0x234)][_0x4539fc(0x1f8)]=_0x39dba9[_0x4539fc(0x17c)][_0x4539fc(0x23f)]);if(helper[_0x4539fc(0x1bf)](_0x39dba9[_0x4539fc(0x25a)])&&helper['isNotUndefined'](_0x39dba9['abortBuildOnFailure']['workingDir'])){const _0x128449={};_0x128449[_0x4539fc(0x1fd)]=_0x39dba9['abortBuildOnFailure'][_0x4539fc(0x26d)],_0x128449[_0x4539fc(0x193)]=_0x39dba9[_0x4539fc(0x25a)][_0x4539fc(0x193)],_0x27ae9f[_0x4539fc(0x234)][_0x4539fc(0x245)]=_0x128449;}}let _0x83f56f='';_0x37b8a8[_0x4539fc(0x1aa)](helper['getPackageType'](),constants[_0x4539fc(0x1f7)]['MODULE'])?_0x83f56f=_0x37b8a8[_0x4539fc(0x1b7)]:_0x83f56f=_0x37b8a8[_0x4539fc(0x206)];const _0x57786b=_0x83f56f,_0x5ef091=path[_0x4539fc(0x1cc)](__dirname,_0x37b8a8[_0x4539fc(0x213)],_0x37b8a8['HrUfV']),_0x2a22d0=path[_0x4539fc(0x1cc)](__dirname,_0x37b8a8[_0x4539fc(0x213)],_0x37b8a8[_0x4539fc(0x1ff)]),_0x3ce0d7=path[_0x4539fc(0x1cc)](__dirname,_0x37b8a8[_0x4539fc(0x213)],_0x37b8a8[_0x4539fc(0x16b)]);_0x27ae9f[_0x4539fc(0x179)]&&(process[_0x4539fc(0x265)][_0x4539fc(0x20a)]=_0x27ae9f[_0x4539fc(0x179)]);_0x27ae9f['testEnvironment']=path[_0x4539fc(0x1cc)](__dirname,_0x37b8a8[_0x4539fc(0x213)],_0x37b8a8[_0x4539fc(0x1ca)]);const _0x2efcea=_0x5eac92['runner'];if(_0x2efcea&&_0x37b8a8['pMniI'](_0x2efcea,_0x37b8a8['niXfL'])){const _0x3dbe01=_0x2efcea[_0x4539fc(0x244)](_0x37b8a8[_0x4539fc(0x177)])?_0x2efcea:'jest-runner-'+_0x2efcea;process[_0x4539fc(0x265)]['BSTACK_USER_JEST_RUNNER']=_0x3dbe01,logger['info'](_0x4539fc(0x1f6)+_0x3dbe01);}_0x27ae9f[_0x4539fc(0x1c7)]=_0x2a22d0,_0x27ae9f['setupFilesAfterEnv']=_0x27ae9f[_0x4539fc(0x1d1)]||[],_0x27ae9f[_0x4539fc(0x1d1)][_0x4539fc(0x182)](path[_0x4539fc(0x1cc)](__dirname,_0x37b8a8[_0x4539fc(0x16c)]));_0x1e4d57[_0x4539fc(0x25f)]()&&(_0x27ae9f[_0x4539fc(0x20d)]=path[_0x4539fc(0x1cc)](__dirname,_0x37b8a8[_0x4539fc(0x213)],_0x37b8a8[_0x4539fc(0x1e6)]));if(testhubUtils['shouldProcessEventForTesthub']()||BrowserstackCLI['getInstance']()['isCliEnabled']()){let _0x54207e=null;try{_0x54207e=helper[_0x4539fc(0x229)](_0x37b8a8['lJhSJ'],_0x37b8a8['IHWpR']);}catch(_0x46be31){try{_0x54207e=helper[_0x4539fc(0x229)](_0x37b8a8[_0x4539fc(0x1d5)],_0x37b8a8['IHWpR']);}catch(_0x27667d){_0x37b8a8['TxJYI'](debug,_0x4539fc(0x22c)+_0x27667d);}}_0x54207e&&(testhubUtils[_0x4539fc(0x1ee)]()&&_0x27ae9f[_0x4539fc(0x1d1)][_0x4539fc(0x182)](path[_0x4539fc(0x1cc)](__dirname,_0x37b8a8['qpARs'],_0x37b8a8['QmZQY'])),_0x27ae9f[_0x4539fc(0x1dd)]=path['join'](__dirname,_0x37b8a8[_0x4539fc(0x213)],_0x37b8a8[_0x4539fc(0x1d3)]));}_0x27ae9f['setupFiles']=_0x27ae9f['setupFiles']||[];try{helper['requireSeleniumWebdriver'](),_0x27ae9f[_0x4539fc(0x261)][_0x4539fc(0x182)](path[_0x4539fc(0x1cc)](__dirname,_0x37b8a8[_0x4539fc(0x25b)]));}catch{logger[_0x4539fc(0x20f)](_0x37b8a8['dkfcb']);}try{helper['requirePWModule'][_0x4539fc(0x1ef)](null,[_0x37b8a8[_0x4539fc(0x23e)],_0x37b8a8[_0x4539fc(0x1f9)]]),logger['debug'](_0x37b8a8[_0x4539fc(0x1a2)]),_0x27ae9f[_0x4539fc(0x261)][_0x4539fc(0x182)](path[_0x4539fc(0x1cc)](__dirname,_0x37b8a8[_0x4539fc(0x1af)]));}catch(_0x5c25d1){logger[_0x4539fc(0x20f)](_0x37b8a8[_0x4539fc(0x238)],_0x5c25d1);}if(_0x37b8a8[_0x4539fc(0x17d)](!_0x32a7a8,_0x40d435)){try{logger[_0x4539fc(0x20f)](_0x37b8a8['weNMt']),_0x27ae9f[_0x4539fc(0x261)]['push'](path['join'](__dirname,'..',_0x37b8a8[_0x4539fc(0x171)],_0x37b8a8['bhWSa']));}catch(_0x1a521f){logger['debug']('Puppeteer\x20setup\x20error:\x20'+_0x1a521f[_0x4539fc(0x25c)]);}try{const _0x2c197f=require[_0x4539fc(0x201)](_0x37b8a8[_0x4539fc(0x21c)]),_0x20ee2e=path[_0x4539fc(0x185)](_0x2c197f)[_0x4539fc(0x26b)](/\\/g,'/'),_0x126bf4={};_0x126bf4[_0x4539fc(0x1ac)]=_0x20ee2e+'/internal/$1',_0x27ae9f[_0x4539fc(0x1a5)]=Object['assign']({},_0x27ae9f[_0x4539fc(0x1a5)]||{},_0x126bf4),logger[_0x4539fc(0x20f)](_0x4539fc(0x194)+_0x20ee2e);}catch(_0x3715ab){logger[_0x4539fc(0x20f)](_0x4539fc(0x1a8)+_0x3715ab[_0x4539fc(0x25c)]);}}_0x27ae9f[_0x4539fc(0x264)]=_0x27ae9f[_0x4539fc(0x264)]||[_0x37b8a8[_0x4539fc(0x1a3)]],_0x37b8a8[_0x4539fc(0x1dc)](updateTestRerunConfig,_0x27ae9f,_0x1175d4);const _0x269de6=fs[_0x4539fc(0x1a7)](_0x3ce0d7),_0x1407b2=helper['resolveModule'](_0x37b8a8[_0x4539fc(0x1c6)],_0x37b8a8['mSHiW']);!_0x1407b2['error']?fs[_0x4539fc(0x170)](_0x27ae9f[_0x4539fc(0x1c7)],_0x4539fc(0x1ce)+_0x269de6+_0x4539fc(0x21d)+_0x1175d4['config'][_0x4539fc(0x23c)][_0x4539fc(0x224)]+_0x4539fc(0x1bd)):fs['writeFileSync'](_0x27ae9f[_0x4539fc(0x1c7)],_0x4539fc(0x1ce)+_0x269de6+_0x4539fc(0x174)+_0x1175d4[_0x4539fc(0x1f5)][_0x4539fc(0x23c)][_0x4539fc(0x224)]+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20})();\x0a\x20\x20\x20\x20');logger['info'](_0x4539fc(0x26c)+_0x57786b+_0x4539fc(0x1ae)),fs[_0x4539fc(0x170)](_0x57786b,_0x4539fc(0x22f)+JSON[_0x4539fc(0x239)](_0x27ae9f)+_0x4539fc(0x1c2));if(_0x1e4d57[_0x4539fc(0x25f)]()){logger['debug'](_0x37b8a8[_0x4539fc(0x17a)]);const _0x4efb52=await _0x1e4d57[_0x4539fc(0x175)](_0x27ae9f,_0x2fe192[_0x4539fc(0x24d)](0x1),_0x57786b);logger[_0x4539fc(0x20f)](_0x4539fc(0x16a)+JSON[_0x4539fc(0x239)](_0x4efb52)+_0x4539fc(0x266));const _0x4e1684=await _0x1e4d57[_0x4539fc(0x1a1)](_0x4efb52);logger[_0x4539fc(0x20f)](_0x4539fc(0x211)+JSON[_0x4539fc(0x239)](_0x4e1684)),_0x4e1684&&_0x37b8a8[_0x4539fc(0x254)](_0x4e1684[_0x4539fc(0x224)],0x0)&&(process[_0x4539fc(0x265)][_0x4539fc(0x197)]=_0x4e1684?.[_0x4539fc(0x1cc)](','));}logger[_0x4539fc(0x210)](_0x37b8a8[_0x4539fc(0x1d7)]);testhubUtils[_0x4539fc(0x1ee)]()&&TestDetails[_0x4539fc(0x20b)]();helper[_0x4539fc(0x19c)]({},_0x2fe192),PerformanceTester[_0x4539fc(0x1bc)](PerformanceEvents['SDK_SETUP']);const _0x183ab7=[_0x37b8a8[_0x4539fc(0x222)],_0x37b8a8[_0x4539fc(0x196)],_0x57786b,..._0x2fe192['slice'](0x1)],_0x550abf=_0x37b8a8['tLNnQ'](spawn,_0x37b8a8[_0x4539fc(0x23b)],_0x183ab7,{'shell':_0x37b8a8['RawKv'](process[_0x4539fc(0x1d9)],_0x37b8a8[_0x4539fc(0x17b)]),'stdio':_0x37b8a8[_0x4539fc(0x255)],'env':Object[_0x4539fc(0x1fb)]({},process[_0x4539fc(0x265)])});_0x550abf['on'](_0x37b8a8[_0x4539fc(0x231)],async _0x3437c8=>{const _0x543f98=_0x4539fc;PerformanceTester[_0x543f98(0x1ad)](PerformanceEvents['SDK_CLEANUP']);try{const {browserstackFolderPath:_0x897fcb,tcgConfigPath:_0x5d4383}=helper[_0x543f98(0x20c)]();fs[_0x543f98(0x17e)](_0x5d4383),fs[_0x543f98(0x262)](_0x897fcb);}catch(_0x5f41a0){logger[_0x543f98(0x20f)](_0x37b8a8[_0x543f98(0x221)],_0x5f41a0);}process[_0x543f98(0x1da)]=_0x3437c8,logger[_0x543f98(0x20f)]('child\x20process\x20exited\x20with\x20code\x20'+_0x3437c8),logger['info'](_0x543f98(0x1f3)+_0x57786b);if(helper[_0x543f98(0x1bf)](_0x39dba9)&&helper[_0x543f98(0x1bf)](_0x39dba9[_0x543f98(0x25a)])&&fs[_0x543f98(0x188)](_0x39dba9[_0x543f98(0x25a)][_0x543f98(0x193)]))try{const _0x4dd558={};_0x4dd558[_0x543f98(0x18f)]=!![],_0x4dd558[_0x543f98(0x1ea)]=!![],fs[_0x543f98(0x21a)](_0x39dba9['abortBuildOnFailure'][_0x543f98(0x193)],_0x4dd558),logger[_0x543f98(0x20f)](_0x543f98(0x1ab)+_0x39dba9[_0x543f98(0x25a)][_0x543f98(0x193)]);}catch(_0x501ac9){logger[_0x543f98(0x1f0)](_0x543f98(0x26a)+_0x501ac9);}let _0x3a6659=null;if(fs[_0x543f98(0x188)](_0x5ef091)){_0x3a6659=fs[_0x543f98(0x1a7)](_0x5ef091);try{_0x3a6659=JSON[_0x543f98(0x268)](_0x3a6659);}catch(_0x5cccb2){logger[_0x543f98(0x20f)]('Error\x20while\x20parsing\x20'+_0x5ef091+',\x20'+_0x3a6659+_0x543f98(0x1b6)+_0x5cccb2);}fs['unlinkSync'](_0x5ef091);}fs[_0x543f98(0x17e)](_0x57786b),fs['unlinkSync'](_0x2a22d0),_0x3a6659&&(_0x1175d4[_0x543f98(0x207)]=helper[_0x543f98(0x1b9)](_0x3a6659,_0x37b8a8[_0x543f98(0x222)],_0x1175d4));const _0x4806ca=BrowserstackCLI[_0x543f98(0x232)]();try{await TestHubHandler[_0x543f98(0x228)](),await BrowserstackCLI['getInstance']()[_0x543f98(0x228)]();}catch(_0x194d7d){console['log'](_0x194d7d),_0x37b8a8[_0x543f98(0x209)](debug,_0x543f98(0x1fe)+util[_0x543f98(0x173)](_0x194d7d));}testOpsHelper[_0x543f98(0x16d)](),TestDetails[_0x543f98(0x1d6)](),await utilities['finalExecution'](_0x1175d4,_0x4806ca);});}module[a14_0x481fb3(0x237)]=run;function a14_0x2690(){const _0x3b848d=['accessibility','../../helpers/test-orchestration/testOrchestrationHandler','turboScaleUrl','testTimeout','filterBrowserstackArgs','../../helpers/performance/performance-tester','browserStackLogLevel','platformCaps','./test-observability/helper','reorderTestFiles','vsgOg','VneNF','test-observability','moduleNameMapper','neuav','readFileSync','[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20','USER_CONFIG_DETAILS_PATH','ySath','Deleted\x20fail-fast\x20state\x20folder:\x20','^puppeteer-core/internal/(.*)','start','\x20with\x20browserstack\x20jest\x20configs','bhWSa','skipSessionName','json','useW3C','ulCzA','playwright','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','\x20:\x20','PUclY','297816ZogoOR','getErrorMessageFromResults','isEmpty','isBrowserstackInfra','end',';\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','mjs','isNotUndefined','@jest/core','customEnvironment.js','\x0amodule.exports\x20=\x20config;','wRpCC','../../helpers/test-observability/utils','BROWSERSTACK_CAPABILITIES','ButSN','runner','proxySettings','puppeteer','YLjRM','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','join','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','\x0a\x20\x20\x20\x20\x20\x20','path','844176dXNncG','setupFilesAfterEnv','jest-circus','CVNSA','eXvkv','cOAQT','shutdown','dycLn','FMpQZ','platform','exitCode','jopSz','BmHUq','testRunner','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','ymRHL','JEST','isRunning','checkAccessibilityPlatformConfig','launchBuild','win32','capabilities','dvnJC','7034OwUxPj','findIndex','parallelsPerPlatform','force','BROWSERSTACK_TEST_ACCESSIBILITY_YML','yTxrD','__isPlaywrightInstalled','shouldProcessEventForTesthub','apply','error','EVENTS','XZQEx','Deleting\x20','child_process','config','Preserving\x20user\x27s\x20Jest\x20runner:\x20','PACKAGE_TYPE','retries__','EsGxU','../../helpers/performance/constants','assign','jest.config.','failureThresholdCount','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','SnoKc','5iJbZWg','resolve','cjs','493936DqOwlS','util','../../helpers/testhub/utils','TVgzt','errorMessage','getPackageVersion','TxJYI','BSTACK_JEST_TEST_ENV','setup','getTCGConfigFilePaths','testSequencer','prepareCapabilities','debug','info','Reodered\x20Test\x20Files:\x20','jest-config','kZoYD','@playwright/test','handleApp','../../helpers/accessibility-automation/helper','ceRik','getInstance','jest-circus/build/runner.js','rmSync','UYUZj','RNdTq','\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','jest','winstonLogger','error\x20removing\x20tcg\x20config\x20file','CKEPe','FYSln','GmKNM','length','FRAMEWORKS','puppeteer-core/package.json','jest.setup.js','stop','requireModule','Getting\x20your\x20jest\x20configs\x20from\x20package.json','6730409BUoISK','Unable\x20to\x20find\x20jest-circus,\x20','../../helpers/helper','runInBand','const\x20config=','cwd','pdHSW','isCLIEnabled','customTestRunner.js','testEnvironmentOptions','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','parseTestOrchestrationOptions','exports','RIDGr','stringify','isUndefined','djizQ','platforms','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','TpbTS','maxRetries','false','tLNnQ','jest_browserstack.config.cjs','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','startsWith','failFast','package.json','initialize','inherit','11yAUtcA','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','36KkSQoC','slice','Getting\x20your\x20jest\x20configs\x20from\x20','testObservability','data-hooks.js','kyWWE','default','SHWnV','ZOhJb','KqncU','../v2/browserstackCLI','skipSessionStatus','BROWSERSTACK_TEST_OBSERVABILITY_YML','true','abortBuildOnFailure','JqNMs','message','oTYJs','npx','isTestOrchestrationEnabled','../../helpers/test-observability/constants','setupFiles','rmdirSync','serial__','reporters','env','\x20test\x20files\x20to\x20run.','1521DOKpjX','parse','ruDPY','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','replace','Creating\x20','maxFailures','3252568Hadpfm','parallels__','../../helpers/puppeteer-helper','Found:\x20','KFIWR','qUVaK','printBuildLink','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','kKWFp','writeFileSync','vfjKz','jest-config/build/readConfigFileAndSetRootDir.js','format','\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','findTestFiles','../utils/clientTroubleshootingService','GgjJY',',\x20CLI\x20running:\x20','testEnvironment','aszqR','wFyJE','retryTestsOnFailure','WvBkH','unlinkSync','readInitialOptions','jest_browserstack.config.js','test_before.setup.js','push','maxWorkers','../../helpers/utilities','dirname','testContextOptions','jest-runner-','existsSync','accessibilityOptions','./test-observability/test-details','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','RjlEi','timeout__','23488230smtVdQ','recursive','customImplements','--config','mtZhP','workingDir','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','__isPuppeteerInstalled','jcLWt','JEST_TEST_ORDER'];a14_0x2690=function(){return _0x3b848d;};return a14_0x2690();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a15_0xf02d1=a15_0x5483;(function(_0x24d902,_0x5d8152){const _0x3344ac=a15_0x5483,_0x3622cf=_0x24d902();while(!![]){try{const _0x27c005=parseInt(_0x3344ac(0x13f))/0x1+parseInt(_0x3344ac(0x138))/0x2+parseInt(_0x3344ac(0x141))/0x3*(parseInt(_0x3344ac(0x14a))/0x4)+-parseInt(_0x3344ac(0x14b))/0x5*(-parseInt(_0x3344ac(0x149))/0x6)+parseInt(_0x3344ac(0x13b))/0x7+-parseInt(_0x3344ac(0x13a))/0x8*(parseInt(_0x3344ac(0x13e))/0x9)+-parseInt(_0x3344ac(0x139))/0xa;if(_0x27c005===_0x5d8152)break;else _0x3622cf['push'](_0x3622cf['shift']());}catch(_0x14439d){_0x3622cf['push'](_0x3622cf['shift']());}}}(a15_0x3b7a,0x43896));const path=require(a15_0xf02d1(0x144)),{requireModule}=require(a15_0xf02d1(0x14c));function a15_0x3b7a(){const _0x4188be=['PsRvK','initRequireModule','jest-circus/build/runner.js','570YGDlFo','1769864KruqxC','4295rvnXSr','../../../helpers/helper','jest-circus','QcRig','exports','205392ZQGXSl','1742760lClbRM','1455208iCORzF','1758099fLGPBV','join','requireInternalModule','27hMjotJ','118685DUOsiT','customJestAdapterInit.js','3sHKSqH','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','function','path','includes'];a15_0x3b7a=function(){return _0x4188be;};return a15_0x3b7a();}function a15_0x5483(_0x456c50,_0x5dd0a4){const _0x3b7a17=a15_0x3b7a();return a15_0x5483=function(_0x54830c,_0x16c4e5){_0x54830c=_0x54830c-0x137;let _0x234411=_0x3b7a17[_0x54830c];return _0x234411;},a15_0x5483(_0x456c50,_0x5dd0a4);}let initJestAdapter;try{initJestAdapter=requireModule(a15_0xf02d1(0x142),a15_0xf02d1(0x14d));}catch{initJestAdapter=requireModule(a15_0xf02d1(0x148),a15_0xf02d1(0x14d));}initJestAdapter=typeof initJestAdapter===a15_0xf02d1(0x143)?initJestAdapter:initJestAdapter['default'];const FRAMEWORK_INITIALIZER=path[a15_0xf02d1(0x13c)](__dirname,a15_0xf02d1(0x140));module[a15_0xf02d1(0x137)]=(..._0x3a62a4)=>{const _0x72dc68=a15_0xf02d1,_0x35aea1={'Kincn':'jestAdapterInit','PsRvK':function(_0x54ee05,_0x33ac7b){return _0x54ee05===_0x33ac7b;},'QcRig':function(_0x1ca2e0,..._0x4a2ace){return _0x1ca2e0(..._0x4a2ace);}};return _0x3a62a4[0x3]['initRequireModule']=_0x3a62a4[0x3][_0x72dc68(0x13d)],_0x3a62a4[0x3][_0x72dc68(0x13d)]=(..._0x10f735)=>{const _0x31734f=_0x72dc68;if(_0x10f735[0x0]&&_0x10f735[0x0][_0x31734f(0x145)](_0x35aea1['Kincn'])&&_0x35aea1[_0x31734f(0x146)](_0x10f735[0x1],undefined))return _0x3a62a4[0x3][_0x31734f(0x147)](FRAMEWORK_INITIALIZER);return _0x3a62a4[0x3]['initRequireModule'](..._0x10f735);},_0x35aea1[_0x72dc68(0x14e)](initJestAdapter,..._0x3a62a4);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a16_0x2d14e0=a16_0x725c;function a16_0xe8c3(){const _0x2ab6f3=['winstonLogger','mode','cwd','getInstance','12370842elKtjQ','WugfB','nlDvs','130DGQlri','test','fnNrc','../../../helpers/test-orchestration/failfastManager','__platformCaps','retries__','7|6|1|2|5|0|4|3','cpITe','SudJn','shutdown','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','sessionNameProvided','testEnvironmentOptions','yWQAs','percyCaptureMode','resolveTestEnvironment','ZFdph','PRCsr','JEST','OOWaB','1796613oaghgX','env','getTestEnvironment','XgLtA','iyusg','shouldProcessEventForTesthub','capabilities','__drivers','projectConfig','registerListeners','__webdriver','info','GqzTe','browserstackPercyBestPlatform','bstack:options','__timeout','capability','browserStackPercyOptions','default','jest-resolve','135ntyMoj','../../../index','86980rApTfq','\x20>\x20','KkQcC','nhJVF','projectName','platformCaps','name','skipSessionStatus','configuration','__driversArray','skip','requireModule','__esModule','hnwap','cleanup','framework','../../../helpers/test-observability/utils','../../../helpers/helper','nestedKeyValue','browserstackAgentV2','split','LpJnl','../../../helpers/logger','wagbe','quit','5886400VYPUHi','qTrgE','jestConfig','join','buildName','cwfKU','Error\x20in\x20fail-fast\x20test_done\x20handler:','jest-environment-node','../../../helpers/testhub/utils','isNotUndefined','Kzbdp','utzyp','message','zStui','isBrowserstackInfra','failFast','../../utils/constants','browserStackGlobals','teardown','testPath','global','failFastActive','handleTestEvent','MMTTV','isTrue','percy','6478368mZmUbQ','dBQHA','Builder','3845790TmQxlV','OgemL','browserstackPlatformIndex','exports','MsgGu','CtYgf','5354GsGoaE','debug','failFastOptions','zKWyb','__skipSessionStatus','BSTACK_JEST_TEST_ENV'];a16_0xe8c3=function(){return _0x2ab6f3;};return a16_0xe8c3();}(function(_0x392c8b,_0x1bcccb){const _0x45d95f=a16_0x725c,_0x4a3935=_0x392c8b();while(!![]){try{const _0x2538aa=-parseInt(_0x45d95f(0x151))/0x1*(-parseInt(_0x45d95f(0x15e))/0x2)+parseInt(_0x45d95f(0x186))/0x3*(parseInt(_0x45d95f(0x188))/0x4)+parseInt(_0x45d95f(0x12e))/0x5+parseInt(_0x45d95f(0x14b))/0x6+-parseInt(_0x45d95f(0x172))/0x7+-parseInt(_0x45d95f(0x148))/0x8+-parseInt(_0x45d95f(0x15b))/0x9;if(_0x2538aa===_0x1bcccb)break;else _0x4a3935['push'](_0x4a3935['shift']());}catch(_0xe42d1e){_0x4a3935['push'](_0x4a3935['shift']());}}}(a16_0xe8c3,0xabd2b));function a16_0x725c(_0x57b1d7,_0x2eb0ed){const _0xe8c3cf=a16_0xe8c3();return a16_0x725c=function(_0x725c9f,_0x270b07){_0x725c9f=_0x725c9f-0x126;let _0x3c67af=_0xe8c3cf[_0x725c9f];return _0x3c67af;},a16_0x725c(_0x57b1d7,_0x2eb0ed);}const helper=require(a16_0x2d14e0(0x126)),constants=require(a16_0x2d14e0(0x13e)),{isTestObservabilitySession}=require(a16_0x2d14e0(0x198)),RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),ObservabilityReporter=require('../test-observability/obsReporter'),testhubUtils=require(a16_0x2d14e0(0x136)),logger=require(a16_0x2d14e0(0x12b))[a16_0x2d14e0(0x157)],getTestEnvironment=((()=>{const _0x3c0628=a16_0x2d14e0,_0x5eddbc={};_0x5eddbc[_0x3c0628(0x145)]=_0x3c0628(0x185),_0x5eddbc['WugfB']='jest-config';const _0x4208a9=_0x5eddbc;try{const _0x4cfbed=helper['requireModule'](_0x4208a9[_0x3c0628(0x145)]);if(_0x4cfbed[_0x3c0628(0x16d)])return _0x4cfbed[_0x3c0628(0x16d)];const _0xb2d6b3=helper['requireModule'](_0x4208a9[_0x3c0628(0x15c)]);if(_0xb2d6b3['getTestEnvironment'])return _0xb2d6b3[_0x3c0628(0x174)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x2f5417=a16_0x2d14e0,_0x429632={'wagbe':function(_0x5aebc9,_0xd5e81b){return _0x5aebc9(_0xd5e81b);},'Kzbdp':'node','zKWyb':function(_0xc0cf85,_0x1e0776){return _0xc0cf85(_0x1e0776);},'cwfKU':_0x2f5417(0x135)},_0x57881d=_0x429632[_0x2f5417(0x12c)](getTestEnvironment,{'rootDir':process[_0x2f5417(0x159)](),'testEnvironment':process[_0x2f5417(0x173)][_0x2f5417(0x156)]||_0x429632[_0x2f5417(0x138)]});if(!_0x57881d)return _0x429632[_0x2f5417(0x154)](_interopRequireDefault,helper[_0x2f5417(0x193)](_0x429632[_0x2f5417(0x133)]));return _0x429632[_0x2f5417(0x12c)](_interopRequireDefault,helper[_0x2f5417(0x193)](_0x57881d));})()),_seleniumWebdriver2=((()=>{const _0x5603fb=a16_0x2d14e0,_0x24efbe={'utzyp':function(_0x55cda9,_0x299d87){return _0x55cda9(_0x299d87);}};try{const _0x320c90=helper['requireSeleniumWebdriver']();return helper['modifyCommand'](),_0x24efbe[_0x5603fb(0x139)](_interopRequireDefault,_0x320c90);}catch{return null;}})());function _interopRequireDefault(_0x2fc932){const _0x21ef02=a16_0x2d14e0;return _0x2fc932&&_0x2fc932[_0x21ef02(0x194)]?_0x2fc932:{'default':_0x2fc932};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a16_0x2d14e0(0x184)][a16_0x2d14e0(0x14a)]:null;class CustomEnvironment extends _jestUserEnvironment[a16_0x2d14e0(0x184)]{constructor(_0x43d380){const _0x48fb59=a16_0x2d14e0,_0x1b40ec={'ChtWK':_0x48fb59(0x12d),'nhJVF':function(_0x448654,_0x26cf1b){return _0x448654+_0x26cf1b;},'OgemL':_0x48fb59(0x180),'JqkOV':function(_0x5a6cd8,_0x484623){return _0x5a6cd8(_0x484623);},'rkZJG':_0x48fb59(0x161),'PRCsr':_0x48fb59(0x164),'nlDvs':_0x48fb59(0x16a),'CtYgf':_0x48fb59(0x183),'XgLtA':_0x48fb59(0x17f),'SudJn':'percy','KkQcC':_0x48fb59(0x16c),'OOWaB':function(_0x26286c,_0x473ff0){return _0x26286c(_0x473ff0);},'zStui':_0x48fb59(0x187)};super(_0x43d380),this[_0x48fb59(0x142)][_0x48fb59(0x181)]=0x0,this[_0x48fb59(0x190)]={};!_0x43d380['testEnvironmentOptions']&&(_0x43d380[_0x48fb59(0x16a)]={});if(helper[_0x48fb59(0x13c)]()){_0x43d380[_0x48fb59(0x16a)]=_0x43d380[_0x48fb59(0x17a)]?_0x43d380[_0x48fb59(0x17a)][_0x48fb59(0x16a)]:_0x43d380[_0x48fb59(0x16a)];_seleniumWebdriver2&&(this['builder']=new _seleniumWebdriver2['default']['Builder']());this[_0x48fb59(0x182)]=_0x43d380[_0x48fb59(0x17a)]?_0x43d380[_0x48fb59(0x17a)][_0x48fb59(0x182)]:_0x43d380[_0x48fb59(0x182)],this[_0x48fb59(0x142)][_0x48fb59(0x181)]=_0x1b40ec[_0x48fb59(0x18b)](_0x43d380[_0x48fb59(0x16a)]['timeout__']||0x1388,constants['BSTACK_DELTA']),this[_0x48fb59(0x153)]=_0x43d380['testEnvironmentOptions'][_0x48fb59(0x13d)];if(this[_0x48fb59(0x153)]){const _0x3a7e23=this[_0x48fb59(0x182)][_0x1b40ec[_0x48fb59(0x14c)]]?.[_0x48fb59(0x132)]||'',_0x209fc9=this[_0x48fb59(0x182)][_0x1b40ec[_0x48fb59(0x14c)]]?.[_0x48fb59(0x18c)]||'';this[_0x48fb59(0x13d)]=new(_0x1b40ec['JqkOV'](require,_0x1b40ec['rkZJG']))(this[_0x48fb59(0x153)],_0x3a7e23,_0x209fc9),this[_0x48fb59(0x142)][_0x48fb59(0x143)]=![];}helper[_0x48fb59(0x137)](_0x43d380[_0x48fb59(0x16a)][_0x48fb59(0x163)])&&(this[_0x48fb59(0x142)]['__jestRetries']=_0x43d380[_0x48fb59(0x16a)][_0x48fb59(0x163)]);}if(testhubUtils[_0x48fb59(0x177)]()){const _0x49b2f9=new ObservabilityReporter();_0x49b2f9[_0x48fb59(0x17b)]();}this[_0x48fb59(0x142)][_0x48fb59(0x13f)]={},this[_0x48fb59(0x190)]=_0x43d380[_0x48fb59(0x16a)],this['configuration'][_0x48fb59(0x197)]=constants['FRAMEWORKS'][_0x48fb59(0x170)],this[_0x48fb59(0x142)][_0x48fb59(0x14d)]=(_0x43d380['projectConfig']?_0x43d380[_0x48fb59(0x17a)][_0x48fb59(0x14d)]:_0x43d380['browserstackPlatformIndex'])||0x0,this['global'][_0x48fb59(0x162)]=this[_0x48fb59(0x190)]&&this['configuration'][_0x48fb59(0x18d)]&&Array['isArray'](this[_0x48fb59(0x190)][_0x48fb59(0x18d)])&&this[_0x48fb59(0x190)][_0x48fb59(0x18d)][this[_0x48fb59(0x142)][_0x48fb59(0x14d)]]||{};const _0x1c10ce=this['global']['browserstackPlatformIndex'],_0xa135e0={...this[_0x48fb59(0x190)],'capability':this['configuration'][_0x48fb59(0x178)]&&Array['isArray'](this[_0x48fb59(0x190)][_0x48fb59(0x178)])&&this[_0x48fb59(0x190)][_0x48fb59(0x178)][_0x1c10ce]||{},'platformCaps':this[_0x48fb59(0x190)][_0x48fb59(0x18d)]&&Array['isArray'](this[_0x48fb59(0x190)][_0x48fb59(0x18d)])&&this['configuration'][_0x48fb59(0x18d)][_0x1c10ce]||{}};delete _0xa135e0[_0x48fb59(0x178)],this[_0x48fb59(0x142)][_0x48fb59(0x130)]=_0xa135e0;if(_seleniumWebdriver2){const _0x276562=_0x1b40ec[_0x48fb59(0x16f)][_0x48fb59(0x129)]('|');let _0x480b0c=0x0;while(!![]){switch(_0x276562[_0x480b0c++]){case'0':helper[_0x48fb59(0x146)](this['configuration']['skipSessionName'])?this[_0x48fb59(0x142)][_0x48fb59(0x169)]=!![]:this[_0x48fb59(0x142)][_0x48fb59(0x169)]=![];continue;case'1':this['global'][_0x48fb59(0x17f)]=helper[_0x48fb59(0x127)](_0x43d380,[_0x1b40ec[_0x48fb59(0x15d)],_0x1b40ec[_0x48fb59(0x150)],_0x1b40ec[_0x48fb59(0x175)]]);continue;case'2':this[_0x48fb59(0x142)][_0x48fb59(0x147)]=helper[_0x48fb59(0x127)](_0x43d380,[_0x1b40ec[_0x48fb59(0x15d)],_0x1b40ec['CtYgf'],_0x1b40ec[_0x48fb59(0x166)]]);continue;case'3':this[_0x48fb59(0x142)][_0x48fb59(0x196)]=async()=>{const _0x4e8c8e=_0x48fb59;await this[_0x4e8c8e(0x142)]['driver']['quit'](_0x1b40ec['ChtWK']);};continue;case'4':this[_0x48fb59(0x142)][_0x48fb59(0x155)]=helper[_0x48fb59(0x146)](this['configuration'][_0x48fb59(0x18f)]);continue;case'5':this[_0x48fb59(0x142)][_0x48fb59(0x16c)]=helper[_0x48fb59(0x127)](_0x43d380,[_0x1b40ec[_0x48fb59(0x15d)],_0x1b40ec['CtYgf'],_0x1b40ec[_0x48fb59(0x18a)]]);continue;case'6':this['global'][_0x48fb59(0x17c)]=_0x1b40ec[_0x48fb59(0x171)](require,_0x1b40ec[_0x48fb59(0x13b)])[_0x48fb59(0x128)]({...this[_0x48fb59(0x190)],'capability':this['capability']||{}},this,testhubUtils[_0x48fb59(0x177)]());continue;case'7':this[_0x48fb59(0x142)][_0x48fb59(0x179)]=[];continue;}break;}}}async['teardown'](){const _0x41da9e=a16_0x2d14e0;_seleniumWebdriver2&&(await helper['cleanupDrivers'](this[_0x41da9e(0x142)][_0x41da9e(0x191)]),this['global']['__webdriver'][_0x41da9e(0x14a)]=originalBuilder),await RequestQueueHandler[_0x41da9e(0x15a)]()[_0x41da9e(0x167)]();}async['setup'](){}async[a16_0x2d14e0(0x144)](_0x4cf9b3,_0x309c1e){const _0x178be5=a16_0x2d14e0,_0x2385f6={};_0x2385f6['GqzTe']=function(_0x585530,_0x306237){return _0x585530===_0x306237;},_0x2385f6[_0x178be5(0x160)]='test_start',_0x2385f6[_0x178be5(0x16b)]=function(_0x26ca29,_0x441a58){return _0x26ca29===_0x441a58;},_0x2385f6[_0x178be5(0x149)]=_0x178be5(0x192),_0x2385f6[_0x178be5(0x16e)]=function(_0x500b77,_0x279a3d){return _0x500b77===_0x279a3d;},_0x2385f6['LpJnl']='test_done',_0x2385f6[_0x178be5(0x165)]=_0x178be5(0x189),_0x2385f6[_0x178be5(0x195)]=function(_0x3dd1e6,_0x198cf3){return _0x3dd1e6===_0x198cf3;},_0x2385f6[_0x178be5(0x14f)]=function(_0x3dcd62,_0x1b627a){return _0x3dcd62===_0x1b627a;},_0x2385f6[_0x178be5(0x176)]=_0x178be5(0x134),_0x2385f6[_0x178be5(0x12f)]=_0x178be5(0x140);const _0x32a6e3=_0x2385f6,{name:_0x34269a}=_0x4cf9b3;if(_0x32a6e3[_0x178be5(0x17e)](_0x34269a,_0x32a6e3[_0x178be5(0x160)])){this[_0x178be5(0x142)]['testContext']=_0x4cf9b3['test'];if(_0x32a6e3[_0x178be5(0x16b)](this[_0x178be5(0x142)][_0x178be5(0x143)],!![])){const _0x4a491c=_0x4cf9b3[_0x178be5(0x15f)][_0x178be5(0x18e)];logger[_0x178be5(0x17d)](_0x178be5(0x168)+_0x4a491c),_0x4cf9b3[_0x178be5(0x15f)][_0x178be5(0x158)]=_0x32a6e3['dBQHA'];}}if(this['failFast']&&_0x32a6e3[_0x178be5(0x16e)](_0x34269a,_0x32a6e3[_0x178be5(0x12a)]))try{const _0x1d3070=_0x4cf9b3[_0x178be5(0x15f)][_0x178be5(0x141)][_0x178be5(0x131)](_0x32a6e3['cpITe']),_0x565e56=_0x4cf9b3[_0x178be5(0x15f)]['errors'];await this['failFast']['onTestDone'](_0x1d3070,_0x565e56);const _0x157bd3=await this['failFast']['shouldFailFast']();_0x32a6e3[_0x178be5(0x195)](this['global']['failFastActive'],![])&&_0x32a6e3[_0x178be5(0x14f)](_0x157bd3,!![])&&(this[_0x178be5(0x142)][_0x178be5(0x143)]=!![]);}catch(_0x3b7fad){logger[_0x178be5(0x152)](_0x32a6e3['iyusg'],_0x3b7fad[_0x178be5(0x13a)]);}_0x32a6e3[_0x178be5(0x14f)](_0x34269a,_0x32a6e3[_0x178be5(0x12f)])&&(this[_0x178be5(0x13d)]&&this[_0x178be5(0x13d)][_0x178be5(0x196)]());}}module[a16_0x2d14e0(0x14e)]=CustomEnvironment;
|
|
1
|
+
const a16_0xa235bb=a16_0x16e2;(function(_0x142e8e,_0x2d7ed2){const _0x321c82=a16_0x16e2,_0x8e4ce2=_0x142e8e();while(!![]){try{const _0x55c20f=parseInt(_0x321c82(0xe7))/0x1*(-parseInt(_0x321c82(0xe2))/0x2)+-parseInt(_0x321c82(0xfe))/0x3*(-parseInt(_0x321c82(0x12d))/0x4)+-parseInt(_0x321c82(0xf7))/0x5+-parseInt(_0x321c82(0x13c))/0x6*(parseInt(_0x321c82(0x142))/0x7)+parseInt(_0x321c82(0x10b))/0x8+-parseInt(_0x321c82(0x100))/0x9*(-parseInt(_0x321c82(0xf1))/0xa)+parseInt(_0x321c82(0xe9))/0xb;if(_0x55c20f===_0x2d7ed2)break;else _0x8e4ce2['push'](_0x8e4ce2['shift']());}catch(_0x1b92c2){_0x8e4ce2['push'](_0x8e4ce2['shift']());}}}(a16_0x76fd,0x488db));const helper=require('../../../helpers/helper'),constants=require(a16_0xa235bb(0xeb)),{isTestObservabilitySession}=require('../../../helpers/test-observability/utils'),RequestQueueHandler=require(a16_0xa235bb(0x115)),ObservabilityReporter=require('../test-observability/obsReporter'),testhubUtils=require('../../../helpers/testhub/utils'),logger=require('../../../helpers/logger')['winstonLogger'],getTestEnvironment=((()=>{const _0xdcf0fc=a16_0xa235bb,_0x3f73a7={};_0x3f73a7[_0xdcf0fc(0xea)]=_0xdcf0fc(0xfc),_0x3f73a7[_0xdcf0fc(0x122)]=_0xdcf0fc(0x10e);const _0x10992f=_0x3f73a7;try{const _0x190316=helper[_0xdcf0fc(0x101)](_0x10992f['YDUJz']);if(_0x190316[_0xdcf0fc(0x108)])return _0x190316['resolveTestEnvironment'];const _0x5a71ca=helper[_0xdcf0fc(0x101)](_0x10992f[_0xdcf0fc(0x122)]);if(_0x5a71ca[_0xdcf0fc(0x10c)])return _0x5a71ca[_0xdcf0fc(0x10c)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x3fb655=a16_0xa235bb,_0x28d043={'mrrYN':function(_0x31858f,_0x297fd5){return _0x31858f(_0x297fd5);},'czNTq':'node','GjVFR':function(_0x39450d,_0x414ec4){return _0x39450d(_0x414ec4);},'OHKlE':_0x3fb655(0x12a),'wGasK':function(_0x2738b5,_0xd4e5a5){return _0x2738b5(_0xd4e5a5);}},_0x1a7ee0=_0x28d043[_0x3fb655(0xfd)](getTestEnvironment,{'rootDir':process[_0x3fb655(0x130)](),'testEnvironment':process[_0x3fb655(0xef)][_0x3fb655(0x106)]||_0x28d043['czNTq']});if(!_0x1a7ee0)return _0x28d043[_0x3fb655(0x131)](_interopRequireDefault,helper[_0x3fb655(0x101)](_0x28d043['OHKlE']));return _0x28d043[_0x3fb655(0x124)](_interopRequireDefault,helper[_0x3fb655(0x101)](_0x1a7ee0));})()),_seleniumWebdriver2=((()=>{const _0x49aa47=a16_0xa235bb,_0x2fe0c1={'fvTRz':function(_0x5dfe87,_0x2a3392){return _0x5dfe87(_0x2a3392);}};try{const _0x2c0d90=helper[_0x49aa47(0xf4)]();return helper[_0x49aa47(0x145)](),_0x2fe0c1[_0x49aa47(0x123)](_interopRequireDefault,_0x2c0d90);}catch{return null;}})());function _interopRequireDefault(_0x800cb4){return _0x800cb4&&_0x800cb4['__esModule']?_0x800cb4:{'default':_0x800cb4};}function a16_0x76fd(){const _0x3f9dd9=['jest-resolve','mrrYN','41961ewDDNT','timeout__','9IUVkPY','requireModule','shutdown','browserstackAgentV2','configuration','BCmDu','BSTACK_JEST_TEST_ENV','failFast','resolveTestEnvironment','platformCaps','default','261128OAhbWB','getTestEnvironment','nestedKeyValue','jest-config','KtJHC','test','__webdriver','vdRzc','VDfaG','name','../../../helpers/test-observability/requestQueueHandler','__timeout','setup','__driversArray','skipSessionName','hFaXO','GEfbM','../../../index','split','projectName','Builder','hRATv','handleTestEvent','SCdcV','fvTRz','wGasK','WlJIB','testContext','getInstance','retries__','buildName','jest-environment-node','browserstackPercyBestPlatform','nudJm','104OqwPax','testEnvironmentOptions','percyCaptureMode','cwd','GjVFR','wuMLu','isNotUndefined','skip','capability','AoGuk','oIhKI','projectConfig','isArray','FRAMEWORKS','BSTACK_DELTA','756EzUyrb','onTestDone','fgvfw','cleanupDrivers','skipSessionStatus','Error\x20in\x20fail-fast\x20test_done\x20handler:','7553rfAQbE','browserStackGlobals','message','modifyCommand','\x20>\x20','browserStackPercyOptions','mqEMm','failFastActive','isTrue','48HiaVOl','browserstackPlatformIndex','errors','framework','builder','9221SrmgAe','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','823141yKTMtZ','YDUJz','../../utils/constants','shouldProcessEventForTesthub','capabilities','registerListeners','env','../../../helpers/test-orchestration/failfastManager','2584950lblTlP','cleanup','debug','requireSeleniumWebdriver','global','percy','375960cakamy','7|0|1|3|6|2|4|5','sessionNameProvided','JEST','failFastOptions'];a16_0x76fd=function(){return _0x3f9dd9;};return a16_0x76fd();}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a16_0xa235bb(0x10a)]['Builder']:null;function a16_0x16e2(_0x250005,_0x363c19){const _0x76fd9f=a16_0x76fd();return a16_0x16e2=function(_0x16e240,_0x3518c1){_0x16e240=_0x16e240-0xdd;let _0x3122b0=_0x76fd9f[_0x16e240];return _0x3122b0;},a16_0x16e2(_0x250005,_0x363c19);}class CustomEnvironment extends _jestUserEnvironment[a16_0xa235bb(0x10a)]{constructor(_0x28002c){const _0x54a5d2=a16_0xa235bb,_0x35dae5={'wuMLu':'quit','hRATv':function(_0x5a8c43,_0x23d349){return _0x5a8c43+_0x23d349;},'XRrXa':'bstack:options','AoGuk':function(_0x2556f2,_0x399ff5){return _0x2556f2(_0x399ff5);},'xFVwx':_0x54a5d2(0xf0),'GEfbM':_0x54a5d2(0xf8),'HgnpF':_0x54a5d2(0x11c),'nudJm':_0x54a5d2(0x12e),'fgvfw':_0x54a5d2(0xde),'IBjAv':'browserstackPercyBestPlatform','vdRzc':'percy','VRGJj':_0x54a5d2(0x12f)};super(_0x28002c),this[_0x54a5d2(0xf5)]['__timeout']=0x0,this[_0x54a5d2(0x104)]={};!_0x28002c['testEnvironmentOptions']&&(_0x28002c[_0x54a5d2(0x12e)]={});if(helper['isBrowserstackInfra']()){_0x28002c[_0x54a5d2(0x12e)]=_0x28002c['projectConfig']?_0x28002c[_0x54a5d2(0x138)]['testEnvironmentOptions']:_0x28002c[_0x54a5d2(0x12e)];_seleniumWebdriver2&&(this[_0x54a5d2(0xe6)]=new _seleniumWebdriver2[(_0x54a5d2(0x10a))][(_0x54a5d2(0x11f))]());this[_0x54a5d2(0x135)]=_0x28002c['projectConfig']?_0x28002c[_0x54a5d2(0x138)][_0x54a5d2(0x135)]:_0x28002c[_0x54a5d2(0x135)],this['global'][_0x54a5d2(0x116)]=_0x35dae5[_0x54a5d2(0x120)](_0x28002c[_0x54a5d2(0x12e)][_0x54a5d2(0xff)]||0x1388,constants[_0x54a5d2(0x13b)]),this[_0x54a5d2(0xfb)]=_0x28002c[_0x54a5d2(0x12e)]['failFast'];if(this['failFastOptions']){const _0x272450=this['capability'][_0x35dae5['XRrXa']]?.[_0x54a5d2(0x129)]||'',_0x16a1a9=this['capability'][_0x35dae5['XRrXa']]?.[_0x54a5d2(0x11e)]||'';this['failFast']=new(_0x35dae5[_0x54a5d2(0x136)](require,_0x35dae5['xFVwx']))(this[_0x54a5d2(0xfb)],_0x272450,_0x16a1a9),this[_0x54a5d2(0xf5)]['failFastActive']=![];}helper[_0x54a5d2(0x133)](_0x28002c[_0x54a5d2(0x12e)][_0x54a5d2(0x128)])&&(this['global']['__jestRetries']=_0x28002c[_0x54a5d2(0x12e)][_0x54a5d2(0x128)]);}if(testhubUtils[_0x54a5d2(0xec)]()){const _0x2deece=new ObservabilityReporter();_0x2deece[_0x54a5d2(0xee)]();}this[_0x54a5d2(0xf5)][_0x54a5d2(0x143)]={},this['configuration']=_0x28002c['testEnvironmentOptions'],this[_0x54a5d2(0x104)][_0x54a5d2(0xe5)]=constants[_0x54a5d2(0x13a)][_0x54a5d2(0xfa)],this['global'][_0x54a5d2(0xe3)]=(_0x28002c[_0x54a5d2(0x138)]?_0x28002c[_0x54a5d2(0x138)][_0x54a5d2(0xe3)]:_0x28002c[_0x54a5d2(0xe3)])||0x0,this[_0x54a5d2(0xf5)]['__platformCaps']=this[_0x54a5d2(0x104)]&&this[_0x54a5d2(0x104)][_0x54a5d2(0x109)]&&Array[_0x54a5d2(0x139)](this[_0x54a5d2(0x104)][_0x54a5d2(0x109)])&&this[_0x54a5d2(0x104)][_0x54a5d2(0x109)][this[_0x54a5d2(0xf5)][_0x54a5d2(0xe3)]]||{};const _0x4cf53b=this[_0x54a5d2(0xf5)][_0x54a5d2(0xe3)],_0x248ec4={...this['configuration'],'capability':this[_0x54a5d2(0x104)][_0x54a5d2(0xed)]&&Array['isArray'](this[_0x54a5d2(0x104)][_0x54a5d2(0xed)])&&this[_0x54a5d2(0x104)][_0x54a5d2(0xed)][_0x4cf53b]||{},'platformCaps':this[_0x54a5d2(0x104)][_0x54a5d2(0x109)]&&Array['isArray'](this[_0x54a5d2(0x104)][_0x54a5d2(0x109)])&&this[_0x54a5d2(0x104)]['platformCaps'][_0x4cf53b]||{}};delete _0x248ec4[_0x54a5d2(0xed)],this[_0x54a5d2(0xf5)]['jestConfig']=_0x248ec4;if(_seleniumWebdriver2){const _0x4b9980=_0x35dae5[_0x54a5d2(0x11b)][_0x54a5d2(0x11d)]('|');let _0x5ccac2=0x0;while(!![]){switch(_0x4b9980[_0x5ccac2++]){case'0':this[_0x54a5d2(0xf5)]['__webdriver']=_0x35dae5[_0x54a5d2(0x136)](require,_0x35dae5['HgnpF'])[_0x54a5d2(0x103)]({...this[_0x54a5d2(0x104)],'capability':this[_0x54a5d2(0x135)]||{}},this,testhubUtils[_0x54a5d2(0xec)]());continue;case'1':this[_0x54a5d2(0xf5)][_0x54a5d2(0x12b)]=helper[_0x54a5d2(0x10d)](_0x28002c,[_0x35dae5[_0x54a5d2(0x12c)],_0x35dae5[_0x54a5d2(0x13e)],_0x35dae5['IBjAv']]);continue;case'2':helper['isTrue'](this[_0x54a5d2(0x104)][_0x54a5d2(0x119)])?this[_0x54a5d2(0xf5)][_0x54a5d2(0xf9)]=!![]:this[_0x54a5d2(0xf5)][_0x54a5d2(0xf9)]=![];continue;case'3':this['global'][_0x54a5d2(0xf6)]=helper['nestedKeyValue'](_0x28002c,[_0x35dae5[_0x54a5d2(0x12c)],_0x35dae5[_0x54a5d2(0x13e)],_0x35dae5[_0x54a5d2(0x112)]]);continue;case'4':this[_0x54a5d2(0xf5)]['__skipSessionStatus']=helper[_0x54a5d2(0xe1)](this['configuration'][_0x54a5d2(0x140)]);continue;case'5':this[_0x54a5d2(0xf5)][_0x54a5d2(0xf2)]=async()=>{const _0xf2bd20=_0x54a5d2;await this[_0xf2bd20(0xf5)]['driver']['quit'](_0x35dae5[_0xf2bd20(0x132)]);};continue;case'6':this[_0x54a5d2(0xf5)][_0x54a5d2(0x12f)]=helper[_0x54a5d2(0x10d)](_0x28002c,[_0x35dae5[_0x54a5d2(0x12c)],_0x35dae5[_0x54a5d2(0x13e)],_0x35dae5['VRGJj']]);continue;case'7':this[_0x54a5d2(0xf5)]['__drivers']=[];continue;}break;}}}async['teardown'](){const _0x4c0f28=a16_0xa235bb;_seleniumWebdriver2&&(await helper[_0x4c0f28(0x13f)](this[_0x4c0f28(0xf5)][_0x4c0f28(0x118)]),this['global'][_0x4c0f28(0x111)][_0x4c0f28(0x11f)]=originalBuilder),await RequestQueueHandler[_0x4c0f28(0x127)]()[_0x4c0f28(0x102)]();}async[a16_0xa235bb(0x117)](){}async[a16_0xa235bb(0x121)](_0x4ff61a,_0x203997){const _0x57e831=a16_0xa235bb,_0x1282c5={};_0x1282c5['oIhKI']=function(_0x53b168,_0x377cbe){return _0x53b168===_0x377cbe;},_0x1282c5[_0x57e831(0xdf)]='test_start',_0x1282c5[_0x57e831(0x10f)]=_0x57e831(0x134),_0x1282c5[_0x57e831(0x113)]=function(_0x3c30e5,_0x2cd42c){return _0x3c30e5===_0x2cd42c;},_0x1282c5[_0x57e831(0x125)]='test_done',_0x1282c5[_0x57e831(0x105)]=_0x57e831(0xdd),_0x1282c5['aExje']=function(_0x534726,_0x1f7852){return _0x534726===_0x1f7852;},_0x1282c5['LWLcF']=_0x57e831(0x141),_0x1282c5[_0x57e831(0x11a)]='teardown';const _0x5d1af1=_0x1282c5,{name:_0x30c4b1}=_0x4ff61a;if(_0x5d1af1[_0x57e831(0x137)](_0x30c4b1,_0x5d1af1[_0x57e831(0xdf)])){this[_0x57e831(0xf5)][_0x57e831(0x126)]=_0x4ff61a[_0x57e831(0x110)];if(_0x5d1af1[_0x57e831(0x137)](this['global'][_0x57e831(0xe0)],!![])){const _0x291b97=_0x4ff61a['test'][_0x57e831(0x114)];logger['info'](_0x57e831(0xe8)+_0x291b97),_0x4ff61a['test']['mode']=_0x5d1af1[_0x57e831(0x10f)];}}if(this[_0x57e831(0x107)]&&_0x5d1af1['VDfaG'](_0x30c4b1,_0x5d1af1[_0x57e831(0x125)]))try{const _0x50fc9a=_0x4ff61a[_0x57e831(0x110)]['testPath']['join'](_0x5d1af1[_0x57e831(0x105)]),_0x2f3950=_0x4ff61a[_0x57e831(0x110)][_0x57e831(0xe4)];await this[_0x57e831(0x107)][_0x57e831(0x13d)](_0x50fc9a,_0x2f3950);const _0x311ef9=await this[_0x57e831(0x107)]['shouldFailFast']();_0x5d1af1[_0x57e831(0x137)](this[_0x57e831(0xf5)]['failFastActive'],![])&&_0x5d1af1['aExje'](_0x311ef9,!![])&&(this[_0x57e831(0xf5)][_0x57e831(0xe0)]=!![]);}catch(_0x16f156){logger[_0x57e831(0xf3)](_0x5d1af1['LWLcF'],_0x16f156[_0x57e831(0x144)]);}_0x5d1af1['aExje'](_0x30c4b1,_0x5d1af1[_0x57e831(0x11a)])&&(this[_0x57e831(0x107)]&&this['failFast'][_0x57e831(0xf2)]());}}module['exports']=CustomEnvironment;
|