browserstack-node-sdk 1.68.2 → 1.69.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/generated/sdk-messages_pb.d.ts +172 -0
- package/generated/sdk-messages_pb.js +1334 -0
- package/generated/sdk_grpc_pb.d.ts +10 -0
- package/generated/sdk_grpc_pb.js +69 -0
- package/package.json +5 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/detox/a11ySetup.js +1 -1
- package/src/bin/detox/command.js +1 -1
- package/src/bin/detox/modifyDetoxConf.js +1 -1
- package/src/bin/detox/traEmitter.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/node-generic/client.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/reporterArgs.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/mochaTestFramework.js +1 -0
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/seleniumAutomationFramework.js +1 -0
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/runStateStore.js +1 -0
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a19_0x1c53ee=a19_0x1100;(function(_0x59fb0e,_0x48c48e){const _0x4bdfd3=a19_0x1100,_0x44e143=_0x59fb0e();while(!![]){try{const _0x543577=parseInt(_0x4bdfd3(0x7d))/0x1+-parseInt(_0x4bdfd3(0xbf))/0x2+parseInt(_0x4bdfd3(0xc6))/0x3+parseInt(_0x4bdfd3(0xdb))/0x4*(parseInt(_0x4bdfd3(0x101))/0x5)+-parseInt(_0x4bdfd3(0xed))/0x6*(-parseInt(_0x4bdfd3(0xb4))/0x7)+parseInt(_0x4bdfd3(0xba))/0x8+parseInt(_0x4bdfd3(0xe4))/0x9*(-parseInt(_0x4bdfd3(0x96))/0xa);if(_0x543577===_0x48c48e)break;else _0x44e143['push'](_0x44e143['shift']());}catch(_0xba3180){_0x44e143['push'](_0x44e143['shift']());}}}(a19_0x48c4,0x5490e));const util=require(a19_0x1c53ee(0xf2)),logger=require(a19_0x1c53ee(0xbe))['winstonLogger'],helper=require(a19_0x1c53ee(0x7c)),globals=require(a19_0x1c53ee(0x90)),{shouldProcessEventForTesthub}=require(a19_0x1c53ee(0xd5)),testHubConstants=require('../../helpers/testhub/constants'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),accessibilityRetryHelper=require(a19_0x1c53ee(0x80)),testRunMap=require('./testRunMap');let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process[a19_0x1c53ee(0xe1)]['BROWSERSTACK_JASMINE_CONFIG']||process[a19_0x1c53ee(0xe1)][a19_0x1c53ee(0xad)];rawConfig!==undefined&&(_bstackConfig=JSON[a19_0x1c53ee(0xc3)](rawConfig));}catch(a19_0x55886c){logger[a19_0x1c53ee(0xea)]('[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20'+util[a19_0x1c53ee(0xc9)](a19_0x55886c));}function a19_0x1100(_0x2f293b,_0x5e8fe1){const _0x48c424=a19_0x48c4();return a19_0x1100=function(_0x110053,_0xa32b29){_0x110053=_0x110053-0x7a;let _0x11e63c=_0x48c424[_0x110053];return _0x11e63c;},a19_0x1100(_0x2f293b,_0x5e8fe1);}try{if(_bstackConfig&&!helper[a19_0x1c53ee(0xaa)](a19_0x1c53ee(0xb7))){const ldTDwE=a19_0x1c53ee(0xcb)[a19_0x1c53ee(0xbc)]('|');let xwEfOD=0x0;while(!![]){switch(ldTDwE[xwEfOD++]){case'0':helper['isBrowserstackInfra']()?(global['__skipSessionName']=helper[a19_0x1c53ee(0x87)](_bstackConfig[a19_0x1c53ee(0xe0)]),global[a19_0x1c53ee(0x86)]=helper['isTrue'](_bstackConfig[a19_0x1c53ee(0xfb)])):(global['__skipSessionName']=!![],global[a19_0x1c53ee(0x86)]=!![]);continue;case'1':global[a19_0x1c53ee(0xc2)]=_bstackConfig[a19_0x1c53ee(0xb2)]||{};continue;case'2':logger[a19_0x1c53ee(0xea)](a19_0x1c53ee(0xbb));continue;case'3':shouldProcessEventForTesthub()?require(a19_0x1c53ee(0xce))[a19_0x1c53ee(0xd0)](_bstackConfig,null,!![]):require(a19_0x1c53ee(0xce))['browserstackAgentV2'](_bstackConfig);continue;case'4':global['browserstackPlatformIndex']=_bstackConfig['platformIndex'];continue;}break;}}}catch(a19_0x3d191b){logger['debug']('[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20'+util['format'](a19_0x3d191b));}const _fileNameByFullName={};try{if(typeof describe===a19_0x1c53ee(0x83)&&typeof global!==a19_0x1c53ee(0xee)){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x1b8e5c=a19_0x1c53ee,_0x105a79={'KTiJR':function(_0x562ad0,_0x3826cd){return _0x562ad0(_0x3826cd);},'FJrug':_0x1b8e5c(0x9e),'PHNGC':_0x1b8e5c(0x102),'mUimk':_0x1b8e5c(0xab)},_0x4bce7c=Error[_0x1b8e5c(0xd1)];try{const _0x5d7022=new Error();Error['prepareStackTrace']=(_0x5b6cb2,_0x45c088)=>_0x45c088;const _0x213955=_0x5d7022[_0x1b8e5c(0xc4)];Error[_0x1b8e5c(0xd1)]=_0x4bce7c;if(Array[_0x1b8e5c(0xf8)](_0x213955))for(const _0x2a3fed of _0x213955){const _0xb56f18=_0x2a3fed[_0x1b8e5c(0xb1)]&&_0x2a3fed[_0x1b8e5c(0xb1)]();if(_0xb56f18&&!_0xb56f18['includes'](_0x1b8e5c(0xc0)+_0x105a79[_0x1b8e5c(0xff)](require,_0x105a79[_0x1b8e5c(0x91)])[_0x1b8e5c(0x8a)]+_0x1b8e5c(0xec)+_0x105a79[_0x1b8e5c(0xff)](require,_0x105a79[_0x1b8e5c(0x91)])[_0x1b8e5c(0x8a)])&&!_0xb56f18[_0x1b8e5c(0xcd)](_0x105a79[_0x1b8e5c(0xf3)])&&!_0xb56f18[_0x1b8e5c(0xb6)](_0x105a79[_0x1b8e5c(0xd9)]))return _0xb56f18;}}catch(_0x427ad6){Error[_0x1b8e5c(0xd1)]=_0x4bce7c;}return null;},_wrappedDescribe=function(_0x524cb5,_0x1f709a){const _0x167930=a19_0x1c53ee,_0x53b501={'GOWra':function(_0x1b6f9d){return _0x1b6f9d();},'jGxFa':function(_0x2fed83,_0x40fc87){return _0x2fed83&&_0x40fc87;},'DUwbt':function(_0x393696,_0x878ccd,_0x2fc578){return _0x393696(_0x878ccd,_0x2fc578);}};let _0x3decd3=null;try{_0x3decd3=_0x53b501[_0x167930(0xa2)](_resolveCallerFile);}catch(_0x21f16f){}_describeTitleStack['push'](_0x524cb5);const _0x4e1617=_describeTitleStack[_0x167930(0xd6)]('\x20');_0x53b501[_0x167930(0xef)](_0x3decd3,_0x4e1617)&&(_fileNameByFullName[_0x4e1617]=_0x3decd3);try{return _0x53b501['DUwbt'](_origDescribe,_0x524cb5,_0x1f709a);}finally{_describeTitleStack[_0x167930(0xde)]();}};Object[a19_0x1c53ee(0x84)](_origDescribe)[a19_0x1c53ee(0xe2)](_0x4040f1=>{_wrappedDescribe[_0x4040f1]=_origDescribe[_0x4040f1];}),global['describe']=_wrappedDescribe;}}catch(a19_0x370d12){logger[a19_0x1c53ee(0xea)](a19_0x1c53ee(0xcf)+util[a19_0x1c53ee(0xc9)](a19_0x370d12));}try{if(typeof jasmine!=='undefined'&&jasmine[a19_0x1c53ee(0x8c)]){const BrowserStackJasmineReporter=require(a19_0x1c53ee(0x81)),a19_0x517877={};a19_0x517877[a19_0x1c53ee(0xe7)]=_fileNameByFullName,jasmine[a19_0x1c53ee(0x8c)]()[a19_0x1c53ee(0xa9)](new BrowserStackJasmineReporter(a19_0x517877)),logger[a19_0x1c53ee(0xea)]('[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter');}else logger[a19_0x1c53ee(0xea)](a19_0x1c53ee(0xd7));}catch(a19_0x37991b){logger[a19_0x1c53ee(0xea)](a19_0x1c53ee(0x9f)+util[a19_0x1c53ee(0xc9)](a19_0x37991b));}try{typeof jasmine!==a19_0x1c53ee(0xee)&&jasmine['getEnv']&&jasmine[a19_0x1c53ee(0x8c)]()[a19_0x1c53ee(0xa9)]({'specStarted'(_0x58f3d5){const _0x31a07f=a19_0x1c53ee,_0x339e87={};_0x339e87['eQNaz']=function(_0x35663b,_0x3db58a){return _0x35663b||_0x3db58a;};const _0x2dee84=_0x339e87;_activeResultId=_0x58f3d5&&_0x58f3d5['id'],_activeFullName=_0x58f3d5&&_0x58f3d5[_0x31a07f(0x107)],_activeResultRef=_0x2dee84['eQNaz'](_0x58f3d5,null);},'specDone'(){}});}catch(a19_0x1ed763){logger[a19_0x1c53ee(0xea)](a19_0x1c53ee(0x93)+util[a19_0x1c53ee(0xc9)](a19_0x1ed763));}const _resolveAutoScanning=()=>{const _0x42464d=a19_0x1c53ee,_0x149395={};_0x149395['TnqmZ']=function(_0x459570,_0x6d37f3){return _0x459570===_0x6d37f3;};const _0x290bc0=_0x149395;let _0x58c5ed=!![];try{const _0x5845dc=JSON[_0x42464d(0xc3)](process[_0x42464d(0xe1)][_0x42464d(0x103)]||'{}');_0x290bc0[_0x42464d(0xc1)](_0x5845dc[_0x42464d(0x9b)],![])&&(_0x58c5ed=![]);}catch(_0x3e221a){logger[_0x42464d(0xea)]('[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20'+_0x3e221a['message']);}return _0x58c5ed;};try{typeof beforeEach===a19_0x1c53ee(0x83)&&beforeEach(function bstackA11yBeforeEach(){const _0x9171fb=a19_0x1c53ee,_0x5652b1={'xnfcZ':function(_0x2be603){return _0x2be603();},'jMFbJ':function(_0x1e6b53,_0x7d3931,_0xd565a7){return _0x1e6b53(_0x7d3931,_0xd565a7);},'FBvWi':function(_0x110b52,_0x5a22d2){return _0x110b52&&_0x5a22d2;},'oMBjs':'bstackA11yShouldScan','CQxIZ':_0x9171fb(0xa6)};try{const _0x21e702=_0x5652b1[_0x9171fb(0xb0)](_resolveAutoScanning),_0x3439eb=_0x5652b1[_0x9171fb(0xdd)](shouldScanTestForAccessibility,null,![]),_0x23257d=_0x5652b1[_0x9171fb(0xc7)](_0x21e702,_0x3439eb);globals[_0x9171fb(0xeb)](_0x5652b1['oMBjs'],_0x23257d),globals[_0x9171fb(0xeb)](_0x5652b1[_0x9171fb(0xca)],null);}catch(_0x25ca7b){logger[_0x9171fb(0xea)](_0x9171fb(0x106)+util[_0x9171fb(0xc9)](_0x25ca7b));}}),typeof afterEach===a19_0x1c53ee(0x83)&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x88074=a19_0x1c53ee,_0x21c07c={'mUqEF':function(_0x272e22,_0x4d65da){return _0x272e22>_0x4d65da;},'QqBfG':function(_0x565f22,_0x45cd4d){return _0x565f22>_0x45cd4d;},'GCDOG':_0x88074(0xfe),'rmYXr':function(_0x1bac79,_0x4b498f){return _0x1bac79+_0x4b498f;},'YwoFB':_0x88074(0xdc),'jCgGJ':_0x88074(0x98),'IDDKl':_0x88074(0x8e),'FiKui':'info','mYxln':_0x88074(0xf6),'FAYtW':_0x88074(0x105),'ToyNr':function(_0x3dafa1){return _0x3dafa1();},'RNNsJ':'isAccessibilityPlatform','lUBFI':_0x88074(0xcc),'zwIjo':_0x88074(0xa0),'ZkiaN':'[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','rJady':_0x88074(0xe6),'XKoJt':_0x88074(0xa1),'ZZPqQ':_0x88074(0x9a),'VbnIJ':_0x88074(0x7b),'yRXcS':'[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts'};try{if(Array[_0x88074(0xf8)](global[_0x88074(0x7f)])&&_0x21c07c[_0x88074(0x8b)](global[_0x88074(0x7f)][_0x88074(0xf7)],0x1)){const _0x3e65fc=global[_0x88074(0x7f)][0x0];try{await _0x3e65fc[_0x88074(0x9c)],await _0x3e65fc[_0x88074(0xac)]();}catch(_0x27c665){logger[_0x88074(0xea)](_0x88074(0xe3)+util[_0x88074(0xc9)](_0x27c665));}global['__drivers'][_0x88074(0x97)]();}}catch(_0x5d7c5d){logger[_0x88074(0xea)]('[jasmine\x20setup]\x20Exception\x20in\x20stale-driver\x20shift\x20check:\x20'+util[_0x88074(0xc9)](_0x5d7c5d));}try{if(Array[_0x88074(0xf8)](global[_0x88074(0x7f)])&&_0x21c07c[_0x88074(0x100)](global['__drivers'][_0x88074(0xf7)],0x0)&&global['__drivers'][0x0]){const _0x29f7b0=_activeFullName||global[_0x88074(0xd8)];if(!global['__skipSessionName']&&_0x29f7b0){global[_0x88074(0xd8)]=_0x29f7b0;try{await global[_0x88074(0x7f)][0x0][_0x88074(0xfa)](_0x88074(0xc5)+JSON[_0x88074(0xe8)](_0x29f7b0)+'}}'),global[_0x88074(0x7f)][0x0][_0x88074(0xa7)]=!![];}catch(_0xab081f){logger[_0x88074(0xea)](_0x88074(0xa4)+util[_0x88074(0xc9)](_0xab081f));}}if(!global[_0x88074(0x86)])try{const _0x5c7ff7=_activeResultRef&&Array[_0x88074(0xf8)](_activeResultRef[_0x88074(0x82)])?_activeResultRef[_0x88074(0x82)]:[],_0x200e63=_0x21c07c[_0x88074(0x100)](_0x5c7ff7['length'],0x0),_0x1d0120=_0x200e63?_0x5c7ff7[0x0]&&_0x5c7ff7[0x0][_0x88074(0xb9)]||_0x21c07c[_0x88074(0xa3)]:null;try{await global[_0x88074(0x7f)][0x0][_0x88074(0xfa)](_0x88074(0xf0)+JSON[_0x88074(0xe8)](_0x200e63?_0x21c07c[_0x88074(0xa8)](_0x21c07c[_0x88074(0x104)],_0x1d0120):_0x21c07c[_0x88074(0xaf)])+_0x88074(0xbd)+(_0x200e63?_0x21c07c[_0x88074(0xfd)]:_0x21c07c[_0x88074(0xf9)])+_0x88074(0xf1));}catch(_0x257d5a){logger[_0x88074(0xea)](_0x88074(0xdf)+util[_0x88074(0xc9)](_0x257d5a));}_0x200e63&&(global[_0x88074(0x92)]=!![]),await helper[_0x88074(0xf5)](global[_0x88074(0x7f)][0x0],_0x200e63?_0x21c07c[_0x88074(0x7a)]:_0x21c07c[_0x88074(0xf4)],_0x1d0120);}catch(_0x7dfcd3){logger[_0x88074(0xea)]('[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20'+util[_0x88074(0xc9)](_0x7dfcd3));}}}catch(_0x1aa876){logger[_0x88074(0xea)](_0x88074(0xb3)+util[_0x88074(0xc9)](_0x1aa876));}try{if(_0x21c07c[_0x88074(0xa5)](isAccessibilityAutomationSession)&&globals['getGlobal'](_0x21c07c[_0x88074(0x99)])&&Array[_0x88074(0xf8)](global[_0x88074(0x7f)])&&_0x21c07c[_0x88074(0x100)](global[_0x88074(0x7f)][_0x88074(0xf7)],0x0)&&global[_0x88074(0x7f)][0x0]){const _0x13450a=testRunMap['get'](_activeResultId),_0x7d5cb9={};_0x7d5cb9[_0x88074(0xd4)]=_0x13450a,_0x7d5cb9['thBuildUuid']=process[_0x88074(0xe1)][testHubConstants[_0x88074(0xc8)][_0x88074(0x89)]],_0x7d5cb9[_0x88074(0xb8)]=process['env'][testHubConstants[_0x88074(0xc8)][_0x88074(0x85)]];const _0x47b605=_0x7d5cb9;logger[_0x88074(0xea)]('[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20'+JSON[_0x88074(0xe8)](_0x47b605));if(globals['getGlobal'](_0x21c07c[_0x88074(0x95)])){logger[_0x88074(0xea)](_0x21c07c['zwIjo']);const _0x58cb77=await accessibilityRetryHelper['performScanWithRetry'](global[_0x88074(0x7f)][0x0],global[_0x88074(0x94)]);_0x58cb77?logger[_0x88074(0xea)](_0x21c07c[_0x88074(0x9d)]):logger[_0x88074(0x8f)](_0x21c07c[_0x88074(0x8d)]);}else logger[_0x88074(0xea)](_0x21c07c['XKoJt']);globals[_0x88074(0x88)](_0x21c07c[_0x88074(0x7e)])&&(_0x47b605[_0x88074(0xfc)]=!![]);const _0x245ba6=await accessibilityRetryHelper['saveAccessibilityResultsWithRetry'](global['__drivers'][0x0],_0x47b605);_0x245ba6?logger[_0x88074(0xea)](_0x21c07c[_0x88074(0xda)]):logger[_0x88074(0x8f)](_0x21c07c[_0x88074(0xd3)]);}}catch(_0xf5c7bf){logger['error'](_0x88074(0xae)+util[_0x88074(0xc9)](_0xf5c7bf));}});}catch(a19_0x361abc){logger[a19_0x1c53ee(0xea)](a19_0x1c53ee(0xe9)+util[a19_0x1c53ee(0xc9)](a19_0x361abc));}function a19_0x48c4(){const _0x31422c=['FAYtW','markSessionStatus','failed','length','isArray','FiKui','executeScript','skipSessionStatus','is_mobile_session','IDDKl','Spec\x20failed','KTiJR','QqBfG','63885DHlCCU','node:','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','YwoFB','passed','[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20','fullName','mYxln','[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','../../helpers/helper','17703QROsXV','ZZPqQ','__drivers','../../helpers/accessibility-automation/accessibilityRetryHelper','./bstack-reporter/customReporter','failedExpectations','function','keys','BROWSERSTACK_TESTHUB_JWT','__skipSessionStatus','isTrue','getGlobal','BROWSERSTACK_TESTHUB_UUID','sep','mUqEF','getEnv','rJady','error','warn','../../helpers/globals','FJrug','__sessionFailed','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20','browserstackSessionName','lUBFI','3750830clKyBf','shift','Passed','RNNsJ','isMobilePlatform','autoScanning','session_','ZkiaN','path','[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20','[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','GOWra','GCDOG','[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20','ToyNr','bstackA11yScanOptions','sessionNameSet__','rmYXr','addReporter','getPackageVersion','jasmine-core','initQuit','CONFIG','[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20','jCgGJ','xnfcZ','getFileName','platformCaps','[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20','4015102naFcbx','exports','includes','@playwright/test','thJwtToken','message','3703704zsJiQX','[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)','split',',\x22level\x22:\x20\x22','../../helpers/logger','1040326ILfsvH','bin','TnqmZ','__platformCaps','parse','stack','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','255480cSGaAE','FBvWi','ENV_VAR','format','CQxIZ','2|3|1|4|0','bstackA11yShouldScan','startsWith','../../index','[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20','browserstackAgentV2','prepareStackTrace','LBaIh','yRXcS','thTestRunUuid','../../helpers/testhub/utils','join','[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered','sessionName','mUimk','VbnIJ','32OnQZKU','Failed:\x20','jMFbJ','pop','[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20','skipSessionName','env','forEach','[jasmine\x20setup]\x20Exception\x20quitting\x20stale\x20driver\x20before\x20shift:\x20','9nRHupo','[jasmine\x20setup]\x20Exception\x20in\x20final\x20driver\x20quit:\x20','[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','fileNameByFullName','stringify','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20','debug','setGlobal','jasmine','6lWXCGn','undefined','jGxFa','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','\x22}}','util','PHNGC'];a19_0x48c4=function(){return _0x31422c;};return a19_0x48c4();}try{typeof afterAll===a19_0x1c53ee(0x83)&&afterAll(async function bstackFinalDriverQuit(){const _0x247969=a19_0x1c53ee,_0x305cc3={};_0x305cc3[_0x247969(0xd2)]=function(_0x1c3c96,_0x103df1){return _0x1c3c96>_0x103df1;};const _0x2df211=_0x305cc3;try{Array[_0x247969(0xf8)](global[_0x247969(0x7f)])&&_0x2df211[_0x247969(0xd2)](global[_0x247969(0x7f)]['length'],0x0)&&global['__drivers'][0x0]&&(await global[_0x247969(0x7f)][0x0][_0x247969(0x9c)],await global[_0x247969(0x7f)][0x0][_0x247969(0xac)]());}catch(_0x1dad3d){logger[_0x247969(0xea)](_0x247969(0xe5)+util['format'](_0x1dad3d));}});}catch(a19_0x23aa23){logger['debug']('[jasmine\x20setup]\x20Exception\x20registering\x20afterAll\x20final\x20quit\x20hook:\x20'+util[a19_0x1c53ee(0xc9)](a19_0x23aa23));}module[a19_0x1c53ee(0xb5)]={};
|
|
1
|
+
'use strict';const a19_0x5a2c73=a19_0x5247;(function(_0x2a5a79,_0x5730d9){const _0x547428=a19_0x5247,_0x125ca6=_0x2a5a79();while(!![]){try{const _0x8c9e54=parseInt(_0x547428(0x115))/0x1+-parseInt(_0x547428(0x120))/0x2*(parseInt(_0x547428(0x119))/0x3)+parseInt(_0x547428(0xe5))/0x4+parseInt(_0x547428(0x136))/0x5+parseInt(_0x547428(0x148))/0x6*(parseInt(_0x547428(0x121))/0x7)+-parseInt(_0x547428(0xee))/0x8+-parseInt(_0x547428(0x10f))/0x9*(parseInt(_0x547428(0xdd))/0xa);if(_0x8c9e54===_0x5730d9)break;else _0x125ca6['push'](_0x125ca6['shift']());}catch(_0x10ba23){_0x125ca6['push'](_0x125ca6['shift']());}}}(a19_0x46cb,0xdbb1e));const util=require('util'),logger=require(a19_0x5a2c73(0x12c))[a19_0x5a2c73(0x127)],helper=require(a19_0x5a2c73(0x146)),globals=require('../../helpers/globals'),{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require('../../helpers/testhub/constants'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),accessibilityRetryHelper=require('../../helpers/accessibility-automation/accessibilityRetryHelper'),testRunMap=require(a19_0x5a2c73(0x11c));function a19_0x46cb(){const _0x1e76ae=['exports','QqPoz','join','fFZku','length','Failed:\x20','[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','XQTti','ybyrb','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','../../helpers/helper','BROWSERSTACK_JASMINE_CONFIG','102IhUWkG','[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','getGlobal','__drivers','KHPku','isBrowserstackInfra','uFVpN','autoScanning','Fvqze','env','platformCaps','DTEdQ','ZPWZw','ENV_VAR','../../index','[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','push','Spec\x20failed','hXfUe','startsWith','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','performScanWithRetry','[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered','warn','[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20','zTWbb','pop','zhOGP','browserstackPlatformIndex','kyrVe','get','xssJb','92440QbOrRI','stack','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','jasmine-core','bstackA11yScanOptions','[jasmine\x20setup]\x20Exception\x20in\x20final\x20driver\x20quit:\x20','stringify','IXddy','6005060HsiYIU','function','browserstackAgentV2','split','undefined','__platformCaps','gAPfo','sep','GNwOL','13933280ZqhCBv','skipSessionStatus','./bstack-reporter/customReporter','[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','dyemM','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20','\x22}}','@playwright/test','isArray','addReporter','[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20','path','byebc','[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20','failed','hPLVB','WWEOa','LFrjd','isAccessibilityPlatform','message','LCtUM','__skipSessionStatus','fileNameByFullName','getPackageVersion','describe','getEnv','sessionName','parse','[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','fullName','NJqKR','DuLSn','setGlobal','2169gBHhSK','[jasmine\x20setup]\x20Exception\x20in\x20stale-driver\x20shift\x20check:\x20','sJpIe','prepareStackTrace','is_mobile_session','[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20','1546951ncCdUl','BROWSERSTACK_TESTHUB_UUID','[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20','bstackA11yShouldScan','1778631PZsxvE','QdKnN','markSessionStatus','./testRunMap','debug','thBuildUuid','error','2isfDjT','695275RJJwyy','eAeWZ','thJwtToken','lXbIF','lazIh','platformIndex','winstonLogger','hoofl','session_','forEach','[jasmine\x20setup]\x20Exception\x20quitting\x20stale\x20driver\x20before\x20shift:\x20','../../helpers/logger','initQuit','format','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20','__skipSessionName','__sessionFailed','shift','HhNUI',',\x22level\x22:\x20\x22','sessionNameSet__','3627350IfRBeV','failedExpectations','info','browserstackSessionName','passed','[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20'];a19_0x46cb=function(){return _0x1e76ae;};return a19_0x46cb();}let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process['env'][a19_0x5a2c73(0x147)]||process[a19_0x5a2c73(0x151)]['CONFIG'];rawConfig!==undefined&&(_bstackConfig=JSON['parse'](rawConfig));}catch(a19_0x538773){logger[a19_0x5a2c73(0x11d)]('[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20'+util[a19_0x5a2c73(0x12e)](a19_0x538773));}try{if(_bstackConfig&&!helper[a19_0x5a2c73(0x105)](a19_0x5a2c73(0xf5))){const feuXgd='1|3|2|4|0'[a19_0x5a2c73(0xe8)]('|');let ANDLki=0x0;while(!![]){switch(feuXgd[ANDLki++]){case'0':helper[a19_0x5a2c73(0x14d)]()?(global['__skipSessionName']=helper['isTrue'](_bstackConfig['skipSessionName']),global[a19_0x5a2c73(0x103)]=helper['isTrue'](_bstackConfig[a19_0x5a2c73(0xef)])):(global[a19_0x5a2c73(0x130)]=!![],global['__skipSessionStatus']=!![]);continue;case'1':logger[a19_0x5a2c73(0x11d)]('[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)');continue;case'2':global[a19_0x5a2c73(0xea)]=_bstackConfig[a19_0x5a2c73(0x152)]||{};continue;case'3':shouldProcessEventForTesthub()?require(a19_0x5a2c73(0x156))[a19_0x5a2c73(0xe7)](_bstackConfig,null,!![]):require(a19_0x5a2c73(0x156))['browserstackAgentV2'](_bstackConfig);continue;case'4':global[a19_0x5a2c73(0xd9)]=_bstackConfig[a19_0x5a2c73(0x126)];continue;}break;}}}catch(a19_0xb52142){logger[a19_0x5a2c73(0x11d)]('[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20'+util[a19_0x5a2c73(0x12e)](a19_0xb52142));}const _fileNameByFullName={};try{if(typeof describe==='function'&&typeof global!==a19_0x5a2c73(0xe9)){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x55537b=a19_0x5a2c73,_0x29f11f={'GNwOL':function(_0x17e6a0,_0x5d2136){return _0x17e6a0(_0x5d2136);},'dyemM':_0x55537b(0xf9),'SuEOo':'node:','WxzlD':_0x55537b(0xe0)},_0x22b70b=Error['prepareStackTrace'];try{const _0x25b4fd=new Error();Error[_0x55537b(0x112)]=(_0x48b02c,_0x3bd845)=>_0x3bd845;const _0x464652=_0x25b4fd[_0x55537b(0xde)];Error[_0x55537b(0x112)]=_0x22b70b;if(Array[_0x55537b(0xf6)](_0x464652))for(const _0x42e569 of _0x464652){const _0x3f2094=_0x42e569['getFileName']&&_0x42e569['getFileName']();if(_0x3f2094&&!_0x3f2094['includes']('bin'+_0x29f11f[_0x55537b(0xed)](require,_0x29f11f[_0x55537b(0xf2)])[_0x55537b(0xec)]+'jasmine'+_0x29f11f['GNwOL'](require,_0x29f11f['dyemM'])[_0x55537b(0xec)])&&!_0x3f2094[_0x55537b(0xd0)](_0x29f11f['SuEOo'])&&!_0x3f2094['includes'](_0x29f11f['WxzlD']))return _0x3f2094;}}catch(_0x468fba){Error[_0x55537b(0x112)]=_0x22b70b;}return null;},_wrappedDescribe=function(_0x4e34ee,_0x3cc7de){const _0x54c4f9=a19_0x5a2c73,_0x4da1a6={'qxSwL':function(_0x315bbb){return _0x315bbb();},'IGybV':function(_0x24ce36,_0x23a85d){return _0x24ce36&&_0x23a85d;},'xssJb':function(_0x5d8e1f,_0x270929,_0xea6aa3){return _0x5d8e1f(_0x270929,_0xea6aa3);}};let _0x1c2166=null;try{_0x1c2166=_0x4da1a6['qxSwL'](_resolveCallerFile);}catch(_0x33f6f7){}_describeTitleStack[_0x54c4f9(0xcd)](_0x4e34ee);const _0x4b4ee7=_describeTitleStack[_0x54c4f9(0x13e)]('\x20');_0x4da1a6['IGybV'](_0x1c2166,_0x4b4ee7)&&(_fileNameByFullName[_0x4b4ee7]=_0x1c2166);try{return _0x4da1a6[_0x54c4f9(0xdc)](_origDescribe,_0x4e34ee,_0x3cc7de);}finally{_describeTitleStack[_0x54c4f9(0xd7)]();}};Object['keys'](_origDescribe)[a19_0x5a2c73(0x12a)](_0x21056d=>{_wrappedDescribe[_0x21056d]=_origDescribe[_0x21056d];}),global[a19_0x5a2c73(0x106)]=_wrappedDescribe;}}catch(a19_0x690509){logger[a19_0x5a2c73(0x11d)](a19_0x5a2c73(0x117)+util[a19_0x5a2c73(0x12e)](a19_0x690509));}function a19_0x5247(_0x4a4cb4,_0x397a6f){const _0x46cb2d=a19_0x46cb();return a19_0x5247=function(_0x524798,_0x185305){_0x524798=_0x524798-0xcb;let _0x3c67ba=_0x46cb2d[_0x524798];return _0x3c67ba;},a19_0x5247(_0x4a4cb4,_0x397a6f);}try{if(typeof jasmine!==a19_0x5a2c73(0xe9)&&jasmine[a19_0x5a2c73(0x107)]){const BrowserStackJasmineReporter=require(a19_0x5a2c73(0xf0)),a19_0x4d907e={};a19_0x4d907e[a19_0x5a2c73(0x104)]=_fileNameByFullName,jasmine[a19_0x5a2c73(0x107)]()[a19_0x5a2c73(0xf7)](new BrowserStackJasmineReporter(a19_0x4d907e)),logger[a19_0x5a2c73(0x11d)]('[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter');}else logger[a19_0x5a2c73(0x11d)](a19_0x5a2c73(0xd3));}catch(a19_0x3d9e71){logger[a19_0x5a2c73(0x11d)](a19_0x5a2c73(0xd5)+util[a19_0x5a2c73(0x12e)](a19_0x3d9e71));}try{typeof jasmine!==a19_0x5a2c73(0xe9)&&jasmine[a19_0x5a2c73(0x107)]&&jasmine['getEnv']()['addReporter']({'specStarted'(_0x274c12){const _0xd3c1f2=a19_0x5a2c73,_0x307738={};_0x307738[_0xd3c1f2(0x13d)]=function(_0x599497,_0x324a30){return _0x599497||_0x324a30;};const _0x355ab4=_0x307738;_activeResultId=_0x274c12&&_0x274c12['id'],_activeFullName=_0x274c12&&_0x274c12[_0xd3c1f2(0x10b)],_activeResultRef=_0x355ab4[_0xd3c1f2(0x13d)](_0x274c12,null);},'specDone'(){}});}catch(a19_0x260d0b){logger[a19_0x5a2c73(0x11d)](a19_0x5a2c73(0x12f)+util[a19_0x5a2c73(0x12e)](a19_0x260d0b));}const _resolveAutoScanning=()=>{const _0x2875a8=a19_0x5a2c73,_0xff08b8={};_0xff08b8[_0x2875a8(0x14c)]=function(_0x3fb434,_0x394484){return _0x3fb434===_0x394484;};const _0x208793=_0xff08b8;let _0x3a4410=!![];try{const _0x474f0b=JSON[_0x2875a8(0x109)](process[_0x2875a8(0x151)][_0x2875a8(0xdf)]||'{}');_0x208793[_0x2875a8(0x14c)](_0x474f0b[_0x2875a8(0x14f)],![])&&(_0x3a4410=![]);}catch(_0x54794e){logger['debug'](_0x2875a8(0xf1)+_0x54794e[_0x2875a8(0x101)]);}return _0x3a4410;};try{typeof beforeEach===a19_0x5a2c73(0xe6)&&beforeEach(function bstackA11yBeforeEach(){const _0x17f586=a19_0x5a2c73,_0x3e9da8={'WWEOa':function(_0x56a789){return _0x56a789();},'ZPWZw':function(_0x4dac4b,_0x53fceb,_0xc3171){return _0x4dac4b(_0x53fceb,_0xc3171);},'zTWbb':function(_0x38127e,_0x23bd1d){return _0x38127e&&_0x23bd1d;},'hXfUe':_0x17f586(0x118),'HhNUI':_0x17f586(0xe1)};try{const _0x37f523=_0x3e9da8[_0x17f586(0xfe)](_resolveAutoScanning),_0x1f8a33=_0x3e9da8[_0x17f586(0x154)](shouldScanTestForAccessibility,null,![]),_0x1e61f7=_0x3e9da8[_0x17f586(0xd6)](_0x37f523,_0x1f8a33);globals['setGlobal'](_0x3e9da8[_0x17f586(0xcf)],_0x1e61f7),globals[_0x17f586(0x10e)](_0x3e9da8[_0x17f586(0x133)],null);}catch(_0xc96f65){logger[_0x17f586(0x11d)](_0x17f586(0x13b)+util[_0x17f586(0x12e)](_0xc96f65));}}),typeof afterEach===a19_0x5a2c73(0xe6)&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x56a355=a19_0x5a2c73,_0x230353={'NJqKR':function(_0xed7072,_0x276085){return _0xed7072>_0x276085;},'hoofl':function(_0x58f45e,_0x2716b5){return _0x58f45e>_0x2716b5;},'ybyrb':function(_0x5c0738,_0x494150){return _0x5c0738>_0x494150;},'sJpIe':_0x56a355(0xce),'XQTti':function(_0x5ca4ee,_0x28aa13){return _0x5ca4ee+_0x28aa13;},'DuLSn':_0x56a355(0x141),'eAeWZ':'Passed','fFZku':_0x56a355(0x11f),'gAPfo':_0x56a355(0x138),'LFrjd':_0x56a355(0xfc),'cUedH':_0x56a355(0x13a),'byebc':function(_0x13a216){return _0x13a216();},'hPLVB':_0x56a355(0x100),'Fvqze':function(_0x16836f,_0x45e344){return _0x16836f>_0x45e344;},'IXddy':'bstackA11yShouldScan','uFVpN':'[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','lazIh':_0x56a355(0x10a),'LCtUM':_0x56a355(0xcb),'zhOGP':_0x56a355(0x149),'QdKnN':'isMobilePlatform','lXbIF':_0x56a355(0xcc),'DTEdQ':_0x56a355(0x142)};try{if(Array[_0x56a355(0xf6)](global[_0x56a355(0x14b)])&&_0x230353[_0x56a355(0x10c)](global['__drivers'][_0x56a355(0x140)],0x1)){const _0x40bc92=global[_0x56a355(0x14b)][0x0];try{await _0x40bc92[_0x56a355(0x129)],await _0x40bc92[_0x56a355(0x12d)]();}catch(_0x1d0a82){logger[_0x56a355(0x11d)](_0x56a355(0x12b)+util[_0x56a355(0x12e)](_0x1d0a82));}global[_0x56a355(0x14b)][_0x56a355(0x132)]();}}catch(_0x3f1c75){logger['debug'](_0x56a355(0x110)+util['format'](_0x3f1c75));}try{if(Array[_0x56a355(0xf6)](global[_0x56a355(0x14b)])&&_0x230353[_0x56a355(0x128)](global[_0x56a355(0x14b)][_0x56a355(0x140)],0x0)&&global[_0x56a355(0x14b)][0x0]){const _0x3567bf=_activeFullName||global[_0x56a355(0x108)];if(!global[_0x56a355(0x130)]&&_0x3567bf){global[_0x56a355(0x108)]=_0x3567bf;try{await global[_0x56a355(0x14b)][0x0]['executeScript'](_0x56a355(0x145)+JSON[_0x56a355(0xe3)](_0x3567bf)+'}}'),global[_0x56a355(0x14b)][0x0][_0x56a355(0x135)]=!![];}catch(_0x520216){logger[_0x56a355(0x11d)](_0x56a355(0xfb)+util[_0x56a355(0x12e)](_0x520216));}}if(!global['__skipSessionStatus'])try{const _0x2e380b=_activeResultRef&&Array[_0x56a355(0xf6)](_activeResultRef['failedExpectations'])?_activeResultRef[_0x56a355(0x137)]:[],_0x8eb99b=_0x230353[_0x56a355(0x144)](_0x2e380b[_0x56a355(0x140)],0x0),_0x2ab13a=_0x8eb99b?_0x2e380b[0x0]&&_0x2e380b[0x0][_0x56a355(0x101)]||_0x230353[_0x56a355(0x111)]:null;try{await global[_0x56a355(0x14b)][0x0]['executeScript'](_0x56a355(0xd1)+JSON[_0x56a355(0xe3)](_0x8eb99b?_0x230353[_0x56a355(0x143)](_0x230353[_0x56a355(0x10d)],_0x2ab13a):_0x230353[_0x56a355(0x122)])+_0x56a355(0x134)+(_0x8eb99b?_0x230353[_0x56a355(0x13f)]:_0x230353[_0x56a355(0xeb)])+_0x56a355(0xf4));}catch(_0x2b2a29){logger[_0x56a355(0x11d)](_0x56a355(0xf8)+util[_0x56a355(0x12e)](_0x2b2a29));}_0x8eb99b&&(global[_0x56a355(0x131)]=!![]),await helper[_0x56a355(0x11b)](global[_0x56a355(0x14b)][0x0],_0x8eb99b?_0x230353[_0x56a355(0xff)]:_0x230353['cUedH'],_0x2ab13a);}catch(_0x205e2d){logger['debug'](_0x56a355(0x114)+util[_0x56a355(0x12e)](_0x205e2d));}}}catch(_0x237de5){logger['debug']('[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20'+util[_0x56a355(0x12e)](_0x237de5));}try{if(_0x230353[_0x56a355(0xfa)](isAccessibilityAutomationSession)&&globals[_0x56a355(0x14a)](_0x230353[_0x56a355(0xfd)])&&Array[_0x56a355(0xf6)](global['__drivers'])&&_0x230353[_0x56a355(0x150)](global['__drivers']['length'],0x0)&&global[_0x56a355(0x14b)][0x0]){const _0x2d709b=testRunMap[_0x56a355(0xdb)](_activeResultId),_0x290449={};_0x290449['thTestRunUuid']=_0x2d709b,_0x290449[_0x56a355(0x11e)]=process['env'][testHubConstants[_0x56a355(0x155)][_0x56a355(0x116)]],_0x290449[_0x56a355(0x123)]=process[_0x56a355(0x151)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_JWT']];const _0x27c80f=_0x290449;logger[_0x56a355(0x11d)]('[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20'+JSON[_0x56a355(0xe3)](_0x27c80f));if(globals['getGlobal'](_0x230353[_0x56a355(0xe4)])){logger['debug'](_0x230353[_0x56a355(0x14e)]);const _0x14b6c5=await accessibilityRetryHelper[_0x56a355(0xd2)](global[_0x56a355(0x14b)][0x0],global[_0x56a355(0x139)]);_0x14b6c5?logger[_0x56a355(0x11d)](_0x230353[_0x56a355(0x125)]):logger[_0x56a355(0xd4)](_0x230353[_0x56a355(0x102)]);}else logger[_0x56a355(0x11d)](_0x230353[_0x56a355(0xd8)]);globals[_0x56a355(0x14a)](_0x230353[_0x56a355(0x11a)])&&(_0x27c80f[_0x56a355(0x113)]=!![]);const _0x318f87=await accessibilityRetryHelper['saveAccessibilityResultsWithRetry'](global['__drivers'][0x0],_0x27c80f);_0x318f87?logger[_0x56a355(0x11d)](_0x230353[_0x56a355(0x124)]):logger[_0x56a355(0xd4)](_0x230353[_0x56a355(0x153)]);}}catch(_0x4d32ef){logger['error']('[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20'+util[_0x56a355(0x12e)](_0x4d32ef));}});}catch(a19_0x536cd1){logger[a19_0x5a2c73(0x11d)](a19_0x5a2c73(0xf3)+util['format'](a19_0x536cd1));}try{typeof afterAll===a19_0x5a2c73(0xe6)&&afterAll(async function bstackFinalDriverQuit(){const _0x50d38a=a19_0x5a2c73,_0x301152={};_0x301152[_0x50d38a(0xda)]=function(_0x136a01,_0x3c55f8){return _0x136a01>_0x3c55f8;};const _0x287e3d=_0x301152;try{Array[_0x50d38a(0xf6)](global[_0x50d38a(0x14b)])&&_0x287e3d[_0x50d38a(0xda)](global[_0x50d38a(0x14b)][_0x50d38a(0x140)],0x0)&&global[_0x50d38a(0x14b)][0x0]&&(await global[_0x50d38a(0x14b)][0x0][_0x50d38a(0x129)],await global['__drivers'][0x0][_0x50d38a(0x12d)]());}catch(_0x5f548d){logger[_0x50d38a(0x11d)](_0x50d38a(0xe2)+util[_0x50d38a(0x12e)](_0x5f548d));}});}catch(a19_0x336530){logger[a19_0x5a2c73(0x11d)]('[jasmine\x20setup]\x20Exception\x20registering\x20afterAll\x20final\x20quit\x20hook:\x20'+util['format'](a19_0x336530));}module[a19_0x5a2c73(0x13c)]={};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a20_0x389432=a20_0x5bc5;function a20_0x3ee7(){const _0x52c8de=['3136QDYiMF','rSeIx','112916LNReii','150KVrNba','get','135335DWXAhX','753104ReSioi','set','3395612gMjbiZ','size','1289378zklozl','1985211yVrquL','33TbQYdc','yjeaA','18641SnnxIc','lWLDw','remove','50KbOxri','delete','YvcZs'];a20_0x3ee7=function(){return _0x52c8de;};return a20_0x3ee7();}(function(_0x54f963,_0x1bdb60){const _0x2f1dac=a20_0x5bc5,_0x36cc71=_0x54f963();while(!![]){try{const _0x32864d=-parseInt(_0x2f1dac(0xe2))/0x1+-parseInt(_0x2f1dac(0xda))/0x2*(-parseInt(_0x2f1dac(0xd0))/0x3)+parseInt(_0x2f1dac(0xe0))/0x4+-parseInt(_0x2f1dac(0xdd))/0x5*(-parseInt(_0x2f1dac(0xdb))/0x6)+parseInt(_0x2f1dac(0xd2))/0x7*(parseInt(_0x2f1dac(0xd8))/0x8)+-parseInt(_0x2f1dac(0xe3))/0x9*(parseInt(_0x2f1dac(0xd5))/0xa)+-parseInt(_0x2f1dac(0xde))/0xb;if(_0x32864d===_0x1bdb60)break;else _0x36cc71['push'](_0x36cc71['shift']());}catch(_0x39cb8e){_0x36cc71['push'](_0x36cc71['shift']());}}}(a20_0x3ee7,0xb22af));function a20_0x5bc5(_0x463a5a,_0x268a4f){const _0x3ee707=a20_0x3ee7();return a20_0x5bc5=function(_0x5bc55c,_0x3e073c){_0x5bc55c=_0x5bc55c-0xd0;let _0x5bb3cc=_0x3ee707[_0x5bc55c];return _0x5bb3cc;},a20_0x5bc5(_0x463a5a,_0x268a4f);}const _specUuidById=new Map();exports[a20_0x389432(0xdf)]=(_0x27c52f,_0x2081c2)=>{const _0x25926a=a20_0x389432,_0x230000={};_0x230000[_0x25926a(0xd3)]=function(_0xf5811a,_0x1c8ae9){return _0xf5811a===_0x1c8ae9;};const _0x331397=_0x230000;if(_0x331397[_0x25926a(0xd3)](_0x27c52f,undefined)||_0x331397['lWLDw'](_0x27c52f,null))return;_specUuidById[_0x25926a(0xdf)](_0x27c52f,_0x2081c2);},exports[a20_0x389432(0xdc)]=_0x20aa2e=>{const _0x313dbb=a20_0x389432,_0xa83012={};_0xa83012[_0x313dbb(0xd7)]=function(_0x3c1674,_0xffdb33){return _0x3c1674===_0xffdb33;},_0xa83012[_0x313dbb(0xd1)]=function(_0x36e861,_0x51aadf){return _0x36e861===_0x51aadf;};const _0x227641=_0xa83012;if(_0x227641[_0x313dbb(0xd7)](_0x20aa2e,undefined)||_0x227641[_0x313dbb(0xd1)](_0x20aa2e,null))return undefined;return _specUuidById[_0x313dbb(0xdc)](_0x20aa2e);},exports[a20_0x389432(0xd4)]=_0x121584=>{const _0x1ec1ec=a20_0x389432,_0x3f7444={};_0x3f7444[_0x1ec1ec(0xd9)]=function(_0x444618,_0x42ee98){return _0x444618===_0x42ee98;};const _0x53bba8=_0x3f7444;if(_0x53bba8[_0x1ec1ec(0xd9)](_0x121584,undefined)||_0x53bba8[_0x1ec1ec(0xd9)](_0x121584,null))return;_specUuidById[_0x1ec1ec(0xd6)](_0x121584);},exports['_size']=()=>_specUuidById[a20_0x389432(0xe1)];
|
package/src/bin/jest/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a21_0x3eee76=a21_0x21ce;(function(_0x3a633e,_0x3faa8d){const _0xa7a731=a21_0x21ce,_0x2726ea=_0x3a633e();while(!![]){try{const _0x54b3d3=-parseInt(_0xa7a731(0x269))/0x1+parseInt(_0xa7a731(0x2b5))/0x2*(parseInt(_0xa7a731(0x212))/0x3)+parseInt(_0xa7a731(0x270))/0x4+-parseInt(_0xa7a731(0x2cb))/0x5+parseInt(_0xa7a731(0x246))/0x6*(-parseInt(_0xa7a731(0x23c))/0x7)+-parseInt(_0xa7a731(0x28d))/0x8*(-parseInt(_0xa7a731(0x2de))/0x9)+parseInt(_0xa7a731(0x23a))/0xa;if(_0x54b3d3===_0x3faa8d)break;else _0x2726ea['push'](_0x2726ea['shift']());}catch(_0x56aebd){_0x2726ea['push'](_0x2726ea['shift']());}}}(a21_0xdec4,0x3f03f));function a21_0xdec4(){const _0x100644=['debug','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','isRunning','skipSessionStatus','UUpOT','../../helpers/performance/constants','timeout__','env','start','Error\x20while\x20parsing\x20','wFZBH','testTimeout','MODULE','shutdown','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','initialize','isCLIEnabled','platform','test.setup.js','testRunner','../../helpers/accessibility-automation/helper','Getting\x20your\x20jest\x20configs\x20from\x20package.json','isBrowserstackInfra','249tRZCKc','end','inherit','bSyhR','QGBzV','\x20:\x20','Reodered\x20Test\x20Files:\x20','^puppeteer-core/internal/(.*)','DUrmo','unlinkSync','LHVrb','SYxLP','close','util','exitCode','failFast','push','requireSeleniumWebdriver','stringify','../../helpers/test-observability/utils','prepareCapabilities','customTestRunnerTemplate.js','testContextOptions','assign','/internal/$1','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','FRAMEWORKS','maxRetries','readFileSync','BROWSERSTACK_TEST_ACCESSIBILITY_YML','gpqiE','MlpZP','FfDnF','isNotUndefined','WOjPi','finalExecution','jest.setup.js','JEST_TEST_ORDER','PmRfd','../../helpers/testhub/testhubHandler','2335080tDHiqR','message','7GLQWUG','jest-config/build/readConfigFileAndSetRootDir.js','../../helpers/testhub/utils','../../helpers/test-orchestration/testOrchestrationHandler','PACKAGE_TYPE','./test-observability/helper','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','../utils/constants','QLIuc','runInBand','2647770WaWLRw','readInitialOptions','UnMaL','abortBuildOnFailure','../../helpers/helper','isCliEnabled','../../helpers/playwright-helper','setup','setupBrowserstackLocal','jest_browserstack.config.cjs','playwright','jest-runner-','accessibility','../../helpers/utilities','testSequencer','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','LDNPc','JhKRy','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','skipSessionName','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20',';\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','__isPlaywrightInstalled','testEnvironment','xTNAT','parseTestOrchestrationOptions','puppeteer',';\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','requireModule','npx','accessibilityOptions','@jest/core','join','retryTestsOnFailure','browserStackPercyOptions','440313jpdlBz','resolve','test-observability','testEnvironmentOptions','jest-runner','../../helpers/percy/utils','BnGUk','1202296ptzZFO','ijpeR','PJTWT','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','slice','GhMNk','retries__','force','rmSync','../../helpers/performance/performance-tester','VmFiC','config','WmyaE','jest','moduleNameMapper','errorMessage','reorderTestFiles','khAax','Creating\x20','\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','customCircus.js','getInstance','default','log','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','../../helpers/puppeteer-helper','DAxJK','platformCaps','@playwright/test','738776atgzSY','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','hqRDZ','win32','./test-observability/test-details','jdMuq','mjs','launchBuild','isTestOrchestrationEnabled','iowAf','browserStackLogLevel','wyaRU','reporters','workingDir','\x0a\x20\x20\x20\x20\x20\x20','customEnvironment.js','../utils/clientTroubleshootingService','data-hooks.js','wyeJi','testObservability','OeDxt','TkAks','startsWith','spPkz','getErrorMessageFromResults','turboScaleUrl','BROWSERSTACK_FRAMEWORK','qmOiB','format','serial__','[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20','smOfA','getMultiDriverWorkerConfig','Deleted\x20fail-fast\x20state\x20folder:\x20','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','BSTACK_JEST_TEST_ENV','\x0amodule.exports\x20=\x20config;','FNMat','jest-config','logLevel','9338CjHzHr','maxWorkers','winstonLogger','EVENTS','Found:\x20','findTestFiles','aUoPM','getPackageVersion','JEST','OWgut','true','runner','length','replace','child\x20process\x20exited\x20with\x20code\x20','isUndefined','BFuFk','\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','cwd','PexkE','shouldProcessEventForTesthub','customTestRunner.js','1218125tGiAsE','Unable\x20to\x20find\x20jest-circus,\x20','USER_CONFIG_DETAILS_PATH','requirePWModule','pwjHV','@jest/core/build/ReporterDispatcher.js','WvRzm','filterBrowserstackArgs','BROWSERSTACK_CAPABILITIES','Puppeteer\x20setup\x20error:\x20','customImplements','VxUNE','fJcNE','setupFiles','jest_browserstack.config.js','useW3C','kKmzd','OcUCt','BROWSERSTACK_TEST_OBSERVABILITY_YML','45okJGlT','nAipc','IPnOn','jest-circus','qbzmi','BSTACK_USER_JEST_RUNNER','path','__isPuppeteerInstalled','test_before.setup.js','aLyWD','json','SDK_SETUP','--config','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','SstWa','Fvrgu','writeFileSync','MugJa','existsSync','jGpPa',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','const\x20config=','proxySettings','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','error','info','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','Deleting\x20','parse','failureThresholdCount','maxFailures','YVNrJ','resolveModule','platforms','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','child_process','JthZm','setupFilesAfterEnv'];a21_0xdec4=function(){return _0x100644;};return a21_0xdec4();}const fs=require('fs'),path=require(a21_0x3eee76(0x2e4)),util=require(a21_0x3eee76(0x21f)),{spawn}=require(a21_0x3eee76(0x1f8)),logger=require('../../helpers/logger')[a21_0x3eee76(0x2b7)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a21_0x3eee76(0x24a)),utilities=require(a21_0x3eee76(0x253)),constants=require(a21_0x3eee76(0x243)),accessibilityHelper=require(a21_0x3eee76(0x20f)),{updateTestRerunConfig}=require(a21_0x3eee76(0x241)),testOpsHelper=require(a21_0x3eee76(0x225)),{debug}=require(a21_0x3eee76(0x225)),TestDetails=require(a21_0x3eee76(0x291)),{getPercyOptions}=require(a21_0x3eee76(0x26e)),TestHubHandler=require(a21_0x3eee76(0x239)),testhubUtils=require(a21_0x3eee76(0x23e)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),PerformanceTester=require(a21_0x3eee76(0x279)),PerformanceEvents=require(a21_0x3eee76(0x200))[a21_0x3eee76(0x2b8)],TestOrchestrationHandler=require(a21_0x3eee76(0x23f)),BrowserstackCLI=require('../v2/browserstackCLI'),{checkPwandBootstrapCli}=require(a21_0x3eee76(0x24c)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a21_0x3eee76(0x289)),ClientTroubleShootingService=require(a21_0x3eee76(0x29d)),{checkAccessibilityPlatformConfig}=require(a21_0x3eee76(0x20f)),getUserJestConfigs=async(_0x15de0e,_0x16796d)=>{const _0x4a7107=a21_0x3eee76,_0x3e7c21={'wyeJi':_0x4a7107(0x23d),'LDNPc':_0x4a7107(0x2b3),'nAipc':function(_0x23be7f,_0x3c7e31){return _0x23be7f||_0x3c7e31;},'LDOdF':function(_0x4b0d24,_0x49885d){return _0x4b0d24(_0x49885d);},'aLyWD':'package.json','QGBzV':_0x4a7107(0x210),'OWgut':_0x4a7107(0x293),'Fvrgu':'cjs','mBKpU':_0x4a7107(0x2e8)};let _0x5ce914;try{_0x5ce914=helper[_0x4a7107(0x262)](_0x3e7c21[_0x4a7107(0x29f)],_0x3e7c21[_0x4a7107(0x256)]);}catch{const _0x3114c3=helper[_0x4a7107(0x262)](_0x3e7c21[_0x4a7107(0x256)]);_0x5ce914={'default':async _0x284070=>{const _0x1e7933=_0x4a7107,_0x2a2b0a=await _0x3114c3[_0x1e7933(0x247)](_0x284070,{});return _0x2a2b0a['config'];}};}const _0x31283a=_0x16796d['findIndex'](_0x277aca=>_0x277aca===_0x4a7107(0x1e1));if(!helper[_0x4a7107(0x2c4)](_0x15de0e[_0x4a7107(0x27b)])){logger[_0x4a7107(0x1ee)]('Getting\x20your\x20jest\x20configs\x20from\x20'+_0x15de0e[_0x4a7107(0x27b)]),process['env'][_0x4a7107(0x2cd)]=_0x15de0e[_0x4a7107(0x27b)];const _0x1708fd=await(0x0,_0x5ce914[_0x4a7107(0x286)])(path[_0x4a7107(0x26a)](_0x15de0e[_0x4a7107(0x27b)]));return _0x16796d['splice'](_0x31283a,0x2),_0x3e7c21[_0x4a7107(0x2df)](_0x1708fd,{});}const _0x562a32=_0x3e7c21['LDOdF'](require,path[_0x4a7107(0x266)](process[_0x4a7107(0x2c7)](),_0x3e7c21[_0x4a7107(0x2e7)]));if(_0x562a32[_0x4a7107(0x27d)])return logger[_0x4a7107(0x1ee)](_0x3e7c21[_0x4a7107(0x216)]),_0x562a32[_0x4a7107(0x27d)];const _0x805640=['js',_0x3e7c21[_0x4a7107(0x2be)],_0x3e7c21[_0x4a7107(0x1e4)],_0x3e7c21['mBKpU'],'ts'];for(const _0x37c10b of _0x805640){const _0x57018d=path[_0x4a7107(0x266)](process[_0x4a7107(0x2c7)](),'jest.config.'+_0x37c10b);if(fs[_0x4a7107(0x1e7)](_0x57018d)){process[_0x4a7107(0x202)]['USER_CONFIG_DETAILS_PATH']=_0x57018d;const _0xa6af4d=await(0x0,_0x5ce914[_0x4a7107(0x286)])(_0x57018d);return _0xa6af4d;}}return{};},getSerial=(_0x1d43a7,_0x139486)=>{const _0x266974=a21_0x3eee76,_0x348731={};_0x348731[_0x266974(0x2ac)]=_0x266974(0x2bf),_0x348731[_0x266974(0x1f9)]=function(_0x8869df,_0x3d84f6){return _0x8869df>_0x3d84f6;},_0x348731['YKBqU']=function(_0xd57f07,_0x4a26f1){return _0xd57f07>_0x4a26f1;},_0x348731[_0x266974(0x2c5)]='false';const _0x405307=_0x348731;let _0x3b4a74=_0x405307['smOfA'];return _0x405307[_0x266974(0x1f9)](_0x1d43a7[_0x266974(0x2c1)],0x1)&&(!_0x139486[_0x266974(0x245)]&&(helper[_0x266974(0x2c4)](_0x139486[_0x266974(0x2b6)])||_0x405307['YKBqU'](_0x139486[_0x266974(0x2b6)],0x1)))&&(_0x3b4a74=_0x405307[_0x266974(0x2c5)]),_0x3b4a74;},getMaxWorkers=(_0x2672e9,_0x2c0107,_0x2e8a49)=>{const _0x1c7511=a21_0x3eee76,_0x2d69fc={'JhKRy':function(_0x1a5ac1,_0x40e5d9){return _0x1a5ac1(_0x40e5d9);}};let _0x148579=0x1;if(!helper[_0x1c7511(0x2c4)](_0x2c0107['parallelsPerPlatform']))_0x148579=_0x2d69fc[_0x1c7511(0x257)](parseInt,_0x2c0107['parallelsPerPlatform']);else{if(!helper[_0x1c7511(0x2c4)](_0x2672e9[_0x1c7511(0x2b6)]))_0x148579=_0x2672e9[_0x1c7511(0x2b6)];else!helper[_0x1c7511(0x2c4)](_0x2e8a49[_0x1c7511(0x2b6)])&&(_0x148579=_0x2e8a49[_0x1c7511(0x2b6)]);}return _0x148579;};function a21_0x21ce(_0x418221,_0x19bbd9){const _0xdec4c0=a21_0xdec4();return a21_0x21ce=function(_0x21ce67,_0x16b501){_0x21ce67=_0x21ce67-0x1e1;let _0x466e53=_0xdec4c0[_0x21ce67];return _0x466e53;},a21_0x21ce(_0x418221,_0x19bbd9);}async function run(_0x1dc207,_0x29e38f,_0x369816){const _0x3f3ce=a21_0x3eee76,_0x1e8804={'jGpPa':_0x3f3ce(0x27d),'pwjHV':function(_0x7c7079,_0x5a4e44){return _0x7c7079(_0x5a4e44);},'SYxLP':_0x3f3ce(0x28c),'mksgJ':function(_0x521c27){return _0x521c27();},'jdMuq':function(_0x2f136d,_0x38520c,_0x5b53bb,_0x540f4e){return _0x2f136d(_0x38520c,_0x5b53bb,_0x540f4e);},'aKOTR':function(_0x380287,_0x3a0f28,_0x118567,_0x82f151){return _0x380287(_0x3a0f28,_0x118567,_0x82f151);},'UnMaL':function(_0x240e50,_0x18b524){return _0x240e50!=_0x18b524;},'wFZBH':'true','ZWNyZ':function(_0x4119a6,_0x5ac6cc,_0x2f8f1f){return _0x4119a6(_0x5ac6cc,_0x2f8f1f);},'WOjPi':_0x3f3ce(0x1e2),'oGGFI':function(_0x517946,_0x58e7cc){return _0x517946(_0x58e7cc);},'UUpOT':'false','qmOiB':function(_0x592e6f,_0x5ca917,_0x10d460){return _0x592e6f(_0x5ca917,_0x10d460);},'wyaRU':function(_0x485c82,_0x5264cd){return _0x485c82*_0x5264cd;},'aUoPM':function(_0x10126b,_0xb86dc3){return _0x10126b===_0xb86dc3;},'MlpZP':_0x3f3ce(0x24f),'IPnOn':_0x3f3ce(0x2d9),'YVNrJ':_0x3f3ce(0x2d5),'ijpeR':'jest_browserstack_results.json','hqRDZ':_0x3f3ce(0x2ca),'xTNAT':_0x3f3ce(0x227),'FNMat':_0x3f3ce(0x29c),'OcUCt':function(_0x24da12,_0xff234c){return _0x24da12!==_0xff234c;},'PJTWT':_0x3f3ce(0x26d),'idUCx':_0x3f3ce(0x251),'kDAQi':_0x3f3ce(0x236),'spPkz':'customSequencer.js','bSyhR':'jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','qbzmi':_0x3f3ce(0x2e1),'fJcNE':'jest-circus/build/runner.js','CNCpm':function(_0x26ec00,_0x4643ed){return _0x26ec00(_0x4643ed);},'DAxJK':_0x3f3ce(0x26b),'WmyaE':_0x3f3ce(0x29e),'dkgCO':_0x3f3ce(0x284),'SstWa':_0x3f3ce(0x2e6),'BueRB':_0x3f3ce(0x1ec),'iowAf':_0x3f3ce(0x250),'AwHhI':_0x3f3ce(0x1f7),'PexkE':_0x3f3ce(0x20d),'FqRna':_0x3f3ce(0x2af),'DUrmo':function(_0xf18b9d,_0x2bc2d6){return _0xf18b9d&&_0x2bc2d6;},'MugJa':_0x3f3ce(0x273),'kKmzd':_0x3f3ce(0x260),'sDOhy':'puppeteer-core/package.json','VmFiC':_0x3f3ce(0x286),'BnGUk':function(_0x609c92,_0x2e8055,_0x37cc1f){return _0x609c92(_0x2e8055,_0x37cc1f);},'QLIuc':_0x3f3ce(0x2d0),'VxUNE':_0x3f3ce(0x265),'TkAks':_0x3f3ce(0x209),'FfDnF':function(_0x386f1c,_0x45a28d){return _0x386f1c>_0x45a28d;},'khAax':_0x3f3ce(0x255),'LHVrb':_0x3f3ce(0x1e1),'GhMNk':_0x3f3ce(0x263),'gpqiE':function(_0x292541,_0x3d96c1){return _0x292541===_0x3d96c1;},'WvRzm':_0x3f3ce(0x290),'OeDxt':_0x3f3ce(0x214),'PmRfd':_0x3f3ce(0x21e)},_0x3244d4=helper[_0x3f3ce(0x2bc)](_0x1e8804[_0x3f3ce(0x21d)]);global[_0x3f3ce(0x25c)]=!!_0x3244d4;const _0xc095a4=_0x1e8804['mksgJ'](getPuppeteerVersion);global[_0x3f3ce(0x2e5)]=!!_0xc095a4;helper[_0x3f3ce(0x211)]()&&(await _0x369816[_0x3f3ce(0x20a)](_0x1dc207),await helper['handleApp'](_0x369816[_0x3f3ce(0x27b)]));if(_0x3244d4)await _0x1e8804[_0x3f3ce(0x292)](checkPwandBootstrapCli,_0x3244d4,constants[_0x3f3ce(0x22c)][_0x3f3ce(0x2bd)],_0x369816);else _0xc095a4&&await _0x1e8804['aKOTR'](checkPuppeteerAndBootstrapCli,_0xc095a4,constants['FRAMEWORKS'][_0x3f3ce(0x2bd)],_0x369816);!BrowserstackCLI[_0x3f3ce(0x285)]()[_0x3f3ce(0x1fd)]()&&await _0x369816[_0x3f3ce(0x24e)]();if(!_0x369816[_0x3f3ce(0x27b)])return;_0x1e8804[_0x3f3ce(0x248)](_0x369816[_0x3f3ce(0x27b)][_0x3f3ce(0x2a0)],null)?process[_0x3f3ce(0x202)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x369816[_0x3f3ce(0x27b)]['testObservability']:process[_0x3f3ce(0x202)][_0x3f3ce(0x2dd)]=_0x1e8804[_0x3f3ce(0x205)];const _0x316f05=new TestOrchestrationHandler(_0x369816['config']),_0x41993a=await _0x1e8804['ZWNyZ'](getUserJestConfigs,_0x1dc207,_0x29e38f);logger[_0x3f3ce(0x1ee)](_0x1e8804[_0x3f3ce(0x234)]);const _0x47312a=Object['assign']({},_0x41993a);_0x47312a[_0x3f3ce(0x26c)]=Object['assign']({},_0x47312a['testEnvironmentOptions'],{'server':helper['getHubUrl'](_0x369816[_0x3f3ce(0x27b)]),'environment':_0x41993a[_0x3f3ce(0x25d)]}),_0x47312a[_0x3f3ce(0x26c)][_0x3f3ce(0x268)]=_0x1e8804[_0x3f3ce(0x2cf)](getPercyOptions,_0x369816['config']);const _0x374401=helper[_0x3f3ce(0x2da)](_0x369816['config']);!helper['isUndefined'](_0x369816[_0x3f3ce(0x27b)][_0x3f3ce(0x264)])&&(process['env'][_0x3f3ce(0x242)]=JSON[_0x3f3ce(0x224)](_0x369816['config'][_0x3f3ce(0x264)]));if(!BrowserstackCLI[_0x3f3ce(0x285)]()[_0x3f3ce(0x1fd)]()){const _0x5d534e=await TestHubHandler[_0x3f3ce(0x294)](FRAMEWORKS[_0x3f3ce(0x2bd)],_0x369816);}const _0x3411b2=helper[_0x3f3ce(0x226)](_0x369816[_0x3f3ce(0x27b)],_0x374401,constants['FRAMEWORKS'][_0x3f3ce(0x2bd)]);process[_0x3f3ce(0x202)][_0x3f3ce(0x2d3)]=JSON[_0x3f3ce(0x224)](_0x3411b2);let _0x34c45e=_0x369816[_0x3f3ce(0x27b)][_0x3f3ce(0x252)];_0x34c45e=_0x34c45e||accessibilityHelper['checkAccessibilityPlatformConfig'](_0x369816[_0x3f3ce(0x27b)]),process[_0x3f3ce(0x202)][_0x3f3ce(0x22f)]=_0x34c45e,logger['debug'](_0x3f3ce(0x258)+_0x34c45e+',\x20CLI\x20running:\x20'+BrowserstackCLI['getInstance']()[_0x3f3ce(0x1fd)]());if(_0x3244d4)try{const _0x5f41e0=_0x1e8804['oGGFI'](checkAccessibilityPlatformConfig,_0x369816[_0x3f3ce(0x27b)]);process[_0x3f3ce(0x202)][_0x3f3ce(0x28e)]=_0x5f41e0?_0x1e8804['wFZBH']:_0x1e8804[_0x3f3ce(0x1ff)],logger['debug'](_0x3f3ce(0x22b)+_0x5f41e0+_0x3f3ce(0x1e9)+process[_0x3f3ce(0x202)][_0x3f3ce(0x28e)]);}catch(_0xfc57fa){logger[_0x3f3ce(0x1fb)](_0x3f3ce(0x1fc)+util[_0x3f3ce(0x2a9)](_0xfc57fa));}_0x47312a[_0x3f3ce(0x26c)]['capabilities']=_0x3411b2,_0x47312a[_0x3f3ce(0x26c)][_0x3f3ce(0x2aa)]=_0x1e8804[_0x3f3ce(0x2a8)](getSerial,_0x3411b2,_0x1dc207),_0x47312a[_0x3f3ce(0x26c)]['parallels__']=_0x1e8804['aKOTR'](getMaxWorkers,_0x1dc207,_0x369816['config'],_0x41993a),_0x47312a[_0x3f3ce(0x26c)][_0x3f3ce(0x1eb)]=_0x369816[_0x3f3ce(0x27b)][_0x3f3ce(0x1eb)],_0x47312a[_0x3f3ce(0x26c)][_0x3f3ce(0x201)]=_0x1e8804[_0x3f3ce(0x298)](_0x1dc207[_0x3f3ce(0x206)],0x1)||0x1388,_0x47312a[_0x3f3ce(0x26c)]['skipSessionName']=_0x369816[_0x3f3ce(0x27b)][_0x3f3ce(0x228)][_0x3f3ce(0x259)],_0x47312a[_0x3f3ce(0x26c)]['skipSessionStatus']=_0x369816[_0x3f3ce(0x27b)][_0x3f3ce(0x228)][_0x3f3ce(0x1fe)],_0x47312a[_0x3f3ce(0x26c)][_0x3f3ce(0x297)]=_0x369816[_0x3f3ce(0x27b)][_0x3f3ce(0x2b4)],_0x47312a['testEnvironmentOptions'][_0x3f3ce(0x2a6)]=_0x369816[_0x3f3ce(0x27b)][_0x3f3ce(0x2a6)],_0x47312a[_0x3f3ce(0x26c)][_0x3f3ce(0x28b)]=_0x369816[_0x3f3ce(0x27b)][_0x3f3ce(0x1f6)],Object['assign'](_0x47312a['testEnvironmentOptions'],helper[_0x3f3ce(0x2ad)](_0x369816[_0x3f3ce(0x27b)],_0x374401,constants[_0x3f3ce(0x22c)][_0x3f3ce(0x2bd)]));const _0x2e1778=helper[_0x3f3ce(0x25f)](_0x369816['config']);if(!helper['isEmpty'](_0x2e1778)){helper[_0x3f3ce(0x233)](_0x2e1778[_0x3f3ce(0x267)])&&(_0x47312a[_0x3f3ce(0x26c)][_0x3f3ce(0x276)]=_0x2e1778['retryTestsOnFailure'][_0x3f3ce(0x22d)]);if(helper[_0x3f3ce(0x233)](_0x2e1778['abortBuildOnFailure'])&&helper[_0x3f3ce(0x233)](_0x2e1778[_0x3f3ce(0x249)][_0x3f3ce(0x29a)])){const _0x135616={};_0x135616[_0x3f3ce(0x1f2)]=_0x2e1778['abortBuildOnFailure'][_0x3f3ce(0x1f3)],_0x135616['workingDir']=_0x2e1778['abortBuildOnFailure'][_0x3f3ce(0x29a)],_0x47312a['testEnvironmentOptions'][_0x3f3ce(0x221)]=_0x135616;}}let _0x4eacf4='';_0x1e8804[_0x3f3ce(0x2bb)](helper['getPackageType'](),constants[_0x3f3ce(0x240)][_0x3f3ce(0x207)])?_0x4eacf4=_0x1e8804[_0x3f3ce(0x231)]:_0x4eacf4=_0x1e8804[_0x3f3ce(0x2e0)];const _0x1f7f4f=_0x4eacf4,_0x4716b7=path[_0x3f3ce(0x266)](__dirname,_0x1e8804[_0x3f3ce(0x1f4)],_0x1e8804[_0x3f3ce(0x271)]),_0x3d34a1=path[_0x3f3ce(0x266)](__dirname,_0x1e8804[_0x3f3ce(0x1f4)],_0x1e8804[_0x3f3ce(0x28f)]),_0x5a3a2b=path[_0x3f3ce(0x266)](__dirname,_0x1e8804[_0x3f3ce(0x1f4)],_0x1e8804[_0x3f3ce(0x25e)]);_0x47312a[_0x3f3ce(0x25d)]&&(process[_0x3f3ce(0x202)][_0x3f3ce(0x2b0)]=_0x47312a['testEnvironment']);_0x47312a[_0x3f3ce(0x25d)]=path[_0x3f3ce(0x266)](__dirname,_0x1e8804[_0x3f3ce(0x1f4)],_0x1e8804[_0x3f3ce(0x2b2)]);const _0x250e40=_0x41993a[_0x3f3ce(0x2c0)];if(_0x250e40&&_0x1e8804[_0x3f3ce(0x2dc)](_0x250e40,_0x1e8804[_0x3f3ce(0x272)])){const _0x55e834=_0x250e40[_0x3f3ce(0x2a3)](_0x1e8804['idUCx'])?_0x250e40:_0x3f3ce(0x251)+_0x250e40;process['env'][_0x3f3ce(0x2e3)]=_0x55e834,logger[_0x3f3ce(0x1ee)]('Preserving\x20user\x27s\x20Jest\x20runner:\x20'+_0x55e834);}_0x47312a[_0x3f3ce(0x2c0)]=_0x3d34a1,_0x47312a['setupFilesAfterEnv']=_0x47312a['setupFilesAfterEnv']||[],_0x47312a[_0x3f3ce(0x1fa)][_0x3f3ce(0x222)](path['join'](__dirname,_0x1e8804['kDAQi']));_0x316f05[_0x3f3ce(0x295)]()&&(_0x47312a[_0x3f3ce(0x254)]=path[_0x3f3ce(0x266)](__dirname,_0x1e8804[_0x3f3ce(0x1f4)],_0x1e8804[_0x3f3ce(0x2a4)]));if(testhubUtils['shouldProcessEventForTesthub']()||BrowserstackCLI[_0x3f3ce(0x285)]()[_0x3f3ce(0x24b)]()){let _0x185957=null;try{_0x185957=helper[_0x3f3ce(0x262)](_0x1e8804[_0x3f3ce(0x215)],_0x1e8804['qbzmi']);}catch(_0x4130ca){try{_0x185957=helper[_0x3f3ce(0x262)](_0x1e8804[_0x3f3ce(0x2d7)],_0x1e8804[_0x3f3ce(0x2e2)]);}catch(_0x4f354e){_0x1e8804['CNCpm'](debug,_0x3f3ce(0x2cc)+_0x4f354e);}}_0x185957&&(testhubUtils[_0x3f3ce(0x2c9)]()&&_0x47312a['setupFilesAfterEnv'][_0x3f3ce(0x222)](path[_0x3f3ce(0x266)](__dirname,_0x1e8804[_0x3f3ce(0x28a)],_0x1e8804[_0x3f3ce(0x27c)])),_0x47312a[_0x3f3ce(0x20e)]=path[_0x3f3ce(0x266)](__dirname,_0x1e8804[_0x3f3ce(0x1f4)],_0x1e8804['dkgCO']));}_0x47312a[_0x3f3ce(0x2d8)]=_0x47312a['setupFiles']||[];try{helper[_0x3f3ce(0x223)](),_0x47312a['setupFiles'][_0x3f3ce(0x222)](path[_0x3f3ce(0x266)](__dirname,_0x1e8804[_0x3f3ce(0x1e3)]));}catch{logger['debug'](_0x1e8804['BueRB']);}try{helper[_0x3f3ce(0x2ce)]['apply'](null,[_0x1e8804['SYxLP'],_0x1e8804[_0x3f3ce(0x296)]]),logger['debug'](_0x1e8804['AwHhI']),_0x47312a[_0x3f3ce(0x2d8)]['push'](path[_0x3f3ce(0x266)](__dirname,_0x1e8804[_0x3f3ce(0x2c8)]));}catch(_0x5bd0d3){logger['debug'](_0x1e8804['FqRna'],_0x5bd0d3);}if(_0x1e8804[_0x3f3ce(0x21a)](!_0x3244d4,_0xc095a4)){try{logger[_0x3f3ce(0x1fb)](_0x1e8804[_0x3f3ce(0x1e6)]),_0x47312a['setupFilesAfterEnv'][_0x3f3ce(0x222)](path[_0x3f3ce(0x266)](__dirname,'..',_0x1e8804[_0x3f3ce(0x2db)],_0x1e8804['PexkE']));}catch(_0x18d3f4){logger[_0x3f3ce(0x1fb)](_0x3f3ce(0x2d4)+_0x18d3f4['message']);}try{const _0x4a63b7=require[_0x3f3ce(0x26a)](_0x1e8804['sDOhy']),_0x1b599f=path['dirname'](_0x4a63b7)[_0x3f3ce(0x2c2)](/\\/g,'/'),_0x4bebf7={};_0x4bebf7[_0x3f3ce(0x219)]=_0x1b599f+_0x3f3ce(0x22a),_0x47312a['moduleNameMapper']=Object[_0x3f3ce(0x229)]({},_0x47312a[_0x3f3ce(0x27e)]||{},_0x4bebf7),logger[_0x3f3ce(0x1fb)](_0x3f3ce(0x1ef)+_0x1b599f);}catch(_0x3d6abe){logger[_0x3f3ce(0x1fb)](_0x3f3ce(0x2ab)+_0x3d6abe[_0x3f3ce(0x23b)]);}}_0x47312a[_0x3f3ce(0x299)]=_0x47312a['reporters']||[_0x1e8804[_0x3f3ce(0x27a)]],_0x1e8804[_0x3f3ce(0x26f)](updateTestRerunConfig,_0x47312a,_0x369816);const _0x7050d7=fs[_0x3f3ce(0x22e)](_0x5a3a2b),_0x2bf6ce=helper[_0x3f3ce(0x1f5)](_0x1e8804[_0x3f3ce(0x244)],_0x1e8804[_0x3f3ce(0x2d6)]);!_0x2bf6ce[_0x3f3ce(0x1ed)]?fs[_0x3f3ce(0x1e5)](_0x47312a[_0x3f3ce(0x2c0)],'\x0a\x20\x20\x20\x20\x20\x20'+_0x7050d7+_0x3f3ce(0x2c6)+_0x369816[_0x3f3ce(0x27b)][_0x3f3ce(0x1f6)][_0x3f3ce(0x2c1)]+_0x3f3ce(0x25b)):fs[_0x3f3ce(0x1e5)](_0x47312a['runner'],_0x3f3ce(0x29b)+_0x7050d7+_0x3f3ce(0x283)+_0x369816[_0x3f3ce(0x27b)][_0x3f3ce(0x1f6)]['length']+_0x3f3ce(0x261));logger[_0x3f3ce(0x1ee)](_0x3f3ce(0x282)+_0x1f7f4f+'\x20with\x20browserstack\x20jest\x20configs'),fs['writeFileSync'](_0x1f7f4f,_0x3f3ce(0x1ea)+JSON[_0x3f3ce(0x224)](_0x47312a)+_0x3f3ce(0x2b1));if(_0x316f05[_0x3f3ce(0x295)]()){logger[_0x3f3ce(0x1fb)](_0x1e8804[_0x3f3ce(0x2a2)]);const _0x56db49=await _0x316f05[_0x3f3ce(0x2ba)](_0x47312a,_0x29e38f[_0x3f3ce(0x274)](0x1),_0x1f7f4f);logger[_0x3f3ce(0x1fb)](_0x3f3ce(0x2b9)+JSON[_0x3f3ce(0x224)](_0x56db49)+'\x20test\x20files\x20to\x20run.');const _0x114e66=await _0x316f05[_0x3f3ce(0x280)](_0x56db49);logger[_0x3f3ce(0x1fb)](_0x3f3ce(0x218)+JSON[_0x3f3ce(0x224)](_0x114e66)),_0x114e66&&_0x1e8804[_0x3f3ce(0x232)](_0x114e66[_0x3f3ce(0x2c1)],0x0)&&(process[_0x3f3ce(0x202)][_0x3f3ce(0x237)]=_0x114e66?.[_0x3f3ce(0x266)](','));}logger[_0x3f3ce(0x1ee)](_0x1e8804[_0x3f3ce(0x281)]);testhubUtils['shouldProcessEventForTesthub']()&&TestDetails[_0x3f3ce(0x24d)]();helper[_0x3f3ce(0x2d2)]({},_0x29e38f),PerformanceTester[_0x3f3ce(0x213)](PerformanceEvents[_0x3f3ce(0x2e9)]);const _0x30e877=[_0x1e8804[_0x3f3ce(0x1e8)],_0x1e8804[_0x3f3ce(0x21c)],_0x1f7f4f,..._0x29e38f[_0x3f3ce(0x274)](0x1)];process[_0x3f3ce(0x202)][_0x3f3ce(0x2a7)]=process[_0x3f3ce(0x202)][_0x3f3ce(0x2a7)]||_0x1e8804[_0x3f3ce(0x1e8)];const _0x49fbeb=_0x1e8804['aKOTR'](spawn,_0x1e8804[_0x3f3ce(0x275)],_0x30e877,{'shell':_0x1e8804[_0x3f3ce(0x230)](process[_0x3f3ce(0x20c)],_0x1e8804[_0x3f3ce(0x2d1)]),'stdio':_0x1e8804[_0x3f3ce(0x2a1)],'env':Object[_0x3f3ce(0x229)]({},process[_0x3f3ce(0x202)])});_0x49fbeb['on'](_0x1e8804[_0x3f3ce(0x238)],async _0x21524e=>{const _0x4b2a4c=_0x3f3ce;PerformanceTester[_0x4b2a4c(0x203)](PerformanceEvents['SDK_CLEANUP']),process[_0x4b2a4c(0x220)]=_0x21524e,logger[_0x4b2a4c(0x1fb)](_0x4b2a4c(0x2c3)+_0x21524e),logger[_0x4b2a4c(0x1ee)](_0x4b2a4c(0x1f0)+_0x1f7f4f);if(helper[_0x4b2a4c(0x233)](_0x2e1778)&&helper['isNotUndefined'](_0x2e1778['abortBuildOnFailure'])&&fs[_0x4b2a4c(0x1e7)](_0x2e1778[_0x4b2a4c(0x249)]['workingDir']))try{const _0xa0c2f9={};_0xa0c2f9['recursive']=!![],_0xa0c2f9[_0x4b2a4c(0x277)]=!![],fs[_0x4b2a4c(0x278)](_0x2e1778[_0x4b2a4c(0x249)]['workingDir'],_0xa0c2f9),logger[_0x4b2a4c(0x1fb)](_0x4b2a4c(0x2ae)+_0x2e1778['abortBuildOnFailure']['workingDir']);}catch(_0x2deb80){logger['error'](_0x4b2a4c(0x25a)+_0x2deb80);}let _0x25b2b5=null;if(fs[_0x4b2a4c(0x1e7)](_0x4716b7)){_0x25b2b5=fs[_0x4b2a4c(0x22e)](_0x4716b7);try{_0x25b2b5=JSON[_0x4b2a4c(0x1f1)](_0x25b2b5);}catch(_0x5617cf){logger[_0x4b2a4c(0x1fb)](_0x4b2a4c(0x204)+_0x4716b7+',\x20'+_0x25b2b5+_0x4b2a4c(0x217)+_0x5617cf);}fs['unlinkSync'](_0x4716b7);}fs[_0x4b2a4c(0x21b)](_0x1f7f4f),fs['unlinkSync'](_0x3d34a1),_0x25b2b5&&(_0x369816[_0x4b2a4c(0x27f)]=helper[_0x4b2a4c(0x2a5)](_0x25b2b5,_0x1e8804[_0x4b2a4c(0x1e8)],_0x369816));const _0x265df4=BrowserstackCLI[_0x4b2a4c(0x20b)]();try{await TestHubHandler['stop'](),await BrowserstackCLI['getInstance']()['stop']();}catch(_0x44930b){console[_0x4b2a4c(0x287)](_0x44930b),_0x1e8804['pwjHV'](debug,_0x4b2a4c(0x288)+util[_0x4b2a4c(0x2a9)](_0x44930b));}testOpsHelper['printBuildLink'](),TestDetails[_0x4b2a4c(0x208)](),await utilities[_0x4b2a4c(0x235)](_0x369816,_0x265df4);});}module['exports']=run;
|
|
2
|
+
'use strict';const a21_0xbe8341=a21_0x40f5;(function(_0x5d1e87,_0x355ad6){const _0x593094=a21_0x40f5,_0x1291ac=_0x5d1e87();while(!![]){try{const _0x206703=parseInt(_0x593094(0x14d))/0x1+-parseInt(_0x593094(0xab))/0x2*(-parseInt(_0x593094(0xd8))/0x3)+-parseInt(_0x593094(0x10f))/0x4+parseInt(_0x593094(0x184))/0x5+-parseInt(_0x593094(0xf7))/0x6+-parseInt(_0x593094(0xc9))/0x7+-parseInt(_0x593094(0xed))/0x8*(-parseInt(_0x593094(0x16f))/0x9);if(_0x206703===_0x355ad6)break;else _0x1291ac['push'](_0x1291ac['shift']());}catch(_0x2d4aa6){_0x1291ac['push'](_0x1291ac['shift']());}}}(a21_0x4a64,0xb9ea5));function a21_0x40f5(_0x9949bd,_0x8c424){const _0x4a64fc=a21_0x4a64();return a21_0x40f5=function(_0x40f507,_0x3a6731){_0x40f507=_0x40f507-0x9e;let _0x1a1658=_0x4a64fc[_0x40f507];return _0x1a1658;},a21_0x40f5(_0x9949bd,_0x8c424);}const fs=require('fs'),path=require('path'),util=require(a21_0xbe8341(0xfe)),{spawn}=require(a21_0xbe8341(0x166)),logger=require('../../helpers/logger')[a21_0xbe8341(0x12b)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a21_0xbe8341(0xda)),utilities=require(a21_0xbe8341(0x162)),constants=require(a21_0xbe8341(0xd9)),accessibilityHelper=require(a21_0xbe8341(0x11d)),{updateTestRerunConfig}=require('./test-observability/helper'),testOpsHelper=require(a21_0xbe8341(0xbc)),{debug}=require(a21_0xbe8341(0xbc)),TestDetails=require(a21_0xbe8341(0xbe)),{getPercyOptions}=require(a21_0xbe8341(0x154)),TestHubHandler=require(a21_0xbe8341(0x127)),testhubUtils=require(a21_0xbe8341(0xad)),{FRAMEWORKS}=require(a21_0xbe8341(0xf6)),PerformanceTester=require(a21_0xbe8341(0xdd)),PerformanceEvents=require(a21_0xbe8341(0x113))[a21_0xbe8341(0xdf)],TestOrchestrationHandler=require(a21_0xbe8341(0x13d)),BrowserstackCLI=require(a21_0xbe8341(0x15a)),{checkPwandBootstrapCli}=require(a21_0xbe8341(0xb6)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a21_0xbe8341(0x161)),ClientTroubleShootingService=require(a21_0xbe8341(0xc3)),{checkAccessibilityPlatformConfig}=require(a21_0xbe8341(0x11d)),getUserJestConfigs=async(_0x318425,_0x56448c)=>{const _0x59f4bf=a21_0xbe8341,_0x115cba={'Ksqhx':'jest-config/build/readConfigFileAndSetRootDir.js','YGaWr':_0x59f4bf(0x111),'yaKbl':function(_0x528738,_0x532855){return _0x528738||_0x532855;},'gZdwg':function(_0x3063bd,_0x34aa13){return _0x3063bd(_0x34aa13);},'UkTfd':_0x59f4bf(0x14b),'LBqNM':_0x59f4bf(0x131),'QPtQp':_0x59f4bf(0x181),'ZuIWl':_0x59f4bf(0xeb),'Qglvh':_0x59f4bf(0x115)};let _0x5aeb8f;try{_0x5aeb8f=helper[_0x59f4bf(0xa4)](_0x115cba[_0x59f4bf(0xee)],_0x115cba[_0x59f4bf(0x112)]);}catch{const _0xd5de9c=helper[_0x59f4bf(0xa4)](_0x115cba[_0x59f4bf(0x112)]);_0x5aeb8f={'default':async _0x4cd550=>{const _0x57a756=_0x59f4bf,_0x22e514=await _0xd5de9c[_0x57a756(0xba)](_0x4cd550,{});return _0x22e514[_0x57a756(0xf9)];}};}const _0x39618c=_0x56448c['findIndex'](_0x11decb=>_0x11decb===_0x59f4bf(0x10b));if(!helper[_0x59f4bf(0x122)](_0x318425[_0x59f4bf(0xf9)])){logger[_0x59f4bf(0xf8)]('Getting\x20your\x20jest\x20configs\x20from\x20'+_0x318425[_0x59f4bf(0xf9)]),process[_0x59f4bf(0x11f)][_0x59f4bf(0x185)]=_0x318425[_0x59f4bf(0xf9)];const _0x552ed3=await(0x0,_0x5aeb8f[_0x59f4bf(0xd0)])(path['resolve'](_0x318425['config']));return _0x56448c[_0x59f4bf(0x133)](_0x39618c,0x2),_0x115cba[_0x59f4bf(0xc7)](_0x552ed3,{});}const _0x572935=_0x115cba[_0x59f4bf(0xf4)](require,path[_0x59f4bf(0x179)](process['cwd'](),_0x115cba[_0x59f4bf(0x171)]));if(_0x572935['jest'])return logger['info'](_0x115cba[_0x59f4bf(0x13e)]),_0x572935['jest'];const _0x24bbb8=['js',_0x115cba[_0x59f4bf(0xd6)],_0x115cba[_0x59f4bf(0x177)],_0x115cba[_0x59f4bf(0x172)],'ts'];for(const _0xda7d44 of _0x24bbb8){const _0x276d8f=path[_0x59f4bf(0x179)](process['cwd'](),_0x59f4bf(0xae)+_0xda7d44);if(fs[_0x59f4bf(0x148)](_0x276d8f)){process[_0x59f4bf(0x11f)]['USER_CONFIG_DETAILS_PATH']=_0x276d8f;const _0x6e156=await(0x0,_0x5aeb8f[_0x59f4bf(0xd0)])(_0x276d8f);return _0x6e156;}}return{};},getSerial=(_0x339216,_0xc5370d)=>{const _0x49586f=a21_0xbe8341,_0x4e9196={};_0x4e9196[_0x49586f(0xea)]=_0x49586f(0x152),_0x4e9196['DHywb']=function(_0x348df6,_0x129946){return _0x348df6>_0x129946;},_0x4e9196[_0x49586f(0x180)]='false';const _0x1d308e=_0x4e9196;let _0x41603c=_0x1d308e[_0x49586f(0xea)];return _0x1d308e[_0x49586f(0x17c)](_0x339216[_0x49586f(0x182)],0x1)&&(!_0xc5370d['runInBand']&&(helper[_0x49586f(0x122)](_0xc5370d[_0x49586f(0x128)])||_0x1d308e[_0x49586f(0x17c)](_0xc5370d[_0x49586f(0x128)],0x1)))&&(_0x41603c=_0x1d308e[_0x49586f(0x180)]),_0x41603c;},getMaxWorkers=(_0x4e9a6a,_0x34403c,_0xc9f253)=>{const _0x4e21ee=a21_0xbe8341,_0x21afea={'MNXRP':function(_0x11456e,_0x1e285c){return _0x11456e(_0x1e285c);}};let _0x18a132=0x1;if(!helper[_0x4e21ee(0x122)](_0x34403c[_0x4e21ee(0x190)]))_0x18a132=_0x21afea[_0x4e21ee(0xc1)](parseInt,_0x34403c[_0x4e21ee(0x190)]);else{if(!helper[_0x4e21ee(0x122)](_0x4e9a6a[_0x4e21ee(0x128)]))_0x18a132=_0x4e9a6a['maxWorkers'];else!helper['isUndefined'](_0xc9f253['maxWorkers'])&&(_0x18a132=_0xc9f253[_0x4e21ee(0x128)]);}return _0x18a132;};async function run(_0x4418c4,_0x2abdc4,_0x26d8a9){const _0x4ea359=a21_0xbe8341,_0x126096={'Qcugu':_0x4ea359(0x136),'DDMNu':function(_0x985ed6,_0x1588cb){return _0x985ed6(_0x1588cb);},'tSVxK':'@playwright/test','jWqqL':function(_0x5154da){return _0x5154da();},'WWohk':function(_0x8b756a,_0x234351,_0x517796,_0x55e900){return _0x8b756a(_0x234351,_0x517796,_0x55e900);},'KnRdT':function(_0x56b6cd,_0x3d5cb5){return _0x56b6cd!=_0x3d5cb5;},'cPyjj':_0x4ea359(0x152),'xkxnM':function(_0x400162,_0x157db3,_0x5860db){return _0x400162(_0x157db3,_0x5860db);},'UNlzU':_0x4ea359(0xfc),'cAWct':function(_0x2f7750,_0x3317e1){return _0x2f7750(_0x3317e1);},'Zbwle':'false','YbxTv':function(_0x39e618,_0x50778d,_0x28aa80){return _0x39e618(_0x50778d,_0x28aa80);},'ssPXH':function(_0x1a274c,_0x17282e,_0x312842,_0x47498f){return _0x1a274c(_0x17282e,_0x312842,_0x47498f);},'AXtuS':function(_0x5172ff,_0x273599){return _0x5172ff*_0x273599;},'jVStG':function(_0x4e0664,_0x390f0f){return _0x4e0664===_0x390f0f;},'xLUVU':_0x4ea359(0x158),'nfbCG':_0x4ea359(0x12a),'FTeeE':_0x4ea359(0xb5),'EZjCk':_0x4ea359(0xcc),'OPHgy':'customTestRunner.js','TspAo':_0x4ea359(0xdb),'gKwTQ':'customEnvironment.js','ViHZW':function(_0x2d7e35,_0x52886e){return _0x2d7e35!==_0x52886e;},'WDUXa':'jest-runner','opiSY':_0x4ea359(0x17a),'VWZNK':_0x4ea359(0x10a),'nTYqi':_0x4ea359(0x11c),'OqOLJ':_0x4ea359(0xd1),'HyloJ':'jest-circus','JGSqT':_0x4ea359(0x17f),'zASEZ':_0x4ea359(0x116),'nyJXu':'data-hooks.js','PRpnE':_0x4ea359(0x105),'hhjyP':_0x4ea359(0xe6),'HUUVK':_0x4ea359(0x138),'XPDGK':_0x4ea359(0x16d),'FTkmY':_0x4ea359(0x13a),'YKcOj':_0x4ea359(0xe1),'NFaFF':_0x4ea359(0xd3),'GuCdv':function(_0x1e1eef,_0x5d75ba){return _0x1e1eef&&_0x5d75ba;},'nHgxH':_0x4ea359(0xb7),'psEcW':_0x4ea359(0x12d),'LUKTK':'puppeteer-core/package.json','nXLju':'default','chAKT':_0x4ea359(0x18f),'dFcsd':_0x4ea359(0x104),'yaSwf':_0x4ea359(0xe7),'DOBly':function(_0x4057f7,_0x2a1c6e){return _0x4057f7>_0x2a1c6e;},'WJjLD':_0x4ea359(0xac),'Lhgrk':_0x4ea359(0x10b),'dEAQO':function(_0x26a576,_0x46c1aa,_0x479f63,_0x4d35ef){return _0x26a576(_0x46c1aa,_0x479f63,_0x4d35ef);},'ufYPf':_0x4ea359(0x145),'sncul':'win32','YeSBe':_0x4ea359(0x164),'WUbUv':_0x4ea359(0xe9)},_0x2c73e4=helper[_0x4ea359(0x14e)](_0x126096[_0x4ea359(0x14f)]);global[_0x4ea359(0x106)]=!!_0x2c73e4;const _0x450956=_0x126096['jWqqL'](getPuppeteerVersion);global[_0x4ea359(0x100)]=!!_0x450956;helper[_0x4ea359(0x129)]()&&(await _0x26d8a9['initialize'](_0x4418c4),await helper['handleApp'](_0x26d8a9[_0x4ea359(0xf9)]));if(_0x2c73e4)await _0x126096[_0x4ea359(0xf5)](checkPwandBootstrapCli,_0x2c73e4,constants[_0x4ea359(0x135)]['JEST'],_0x26d8a9);else _0x450956&&await _0x126096['WWohk'](checkPuppeteerAndBootstrapCli,_0x450956,constants[_0x4ea359(0x135)]['JEST'],_0x26d8a9);!BrowserstackCLI[_0x4ea359(0xb3)]()[_0x4ea359(0x10d)]()&&await _0x26d8a9['setupBrowserstackLocal']();if(!_0x26d8a9['config'])return;_0x126096[_0x4ea359(0xca)](_0x26d8a9[_0x4ea359(0xf9)][_0x4ea359(0x183)],null)?process[_0x4ea359(0x11f)][_0x4ea359(0xf2)]=_0x26d8a9[_0x4ea359(0xf9)][_0x4ea359(0x183)]:process[_0x4ea359(0x11f)][_0x4ea359(0xf2)]=_0x126096[_0x4ea359(0xf3)];const _0x3eb519=new TestOrchestrationHandler(_0x26d8a9['config']),_0x13457d=await _0x126096[_0x4ea359(0xd4)](getUserJestConfigs,_0x4418c4,_0x2abdc4);logger[_0x4ea359(0xf8)](_0x126096[_0x4ea359(0x15f)]);const _0x6f1d52=Object[_0x4ea359(0x18a)]({},_0x13457d);_0x6f1d52[_0x4ea359(0x13f)]=Object[_0x4ea359(0x18a)]({},_0x6f1d52[_0x4ea359(0x13f)],{'server':helper[_0x4ea359(0x9e)](_0x26d8a9['config']),'environment':_0x13457d[_0x4ea359(0xce)]}),_0x6f1d52[_0x4ea359(0x13f)][_0x4ea359(0x188)]=_0x126096[_0x4ea359(0x168)](getPercyOptions,_0x26d8a9['config']);const _0x2a3c4e=helper[_0x4ea359(0x150)](_0x26d8a9[_0x4ea359(0xf9)]);!helper['isUndefined'](_0x26d8a9['config'][_0x4ea359(0x107)])&&(process[_0x4ea359(0x11f)][_0x4ea359(0xa8)]=JSON['stringify'](_0x26d8a9['config'][_0x4ea359(0x107)]));if(!BrowserstackCLI[_0x4ea359(0xb3)]()[_0x4ea359(0x10d)]()){const _0x3739b7=await TestHubHandler[_0x4ea359(0xa0)](FRAMEWORKS[_0x4ea359(0xb0)],_0x26d8a9);}const _0x2338c9=helper[_0x4ea359(0x18c)](_0x26d8a9[_0x4ea359(0xf9)],_0x2a3c4e,constants['FRAMEWORKS'][_0x4ea359(0xb0)]);process[_0x4ea359(0x11f)][_0x4ea359(0x160)]=JSON[_0x4ea359(0x17e)](_0x2338c9);let _0xf0d7e4=_0x26d8a9[_0x4ea359(0xf9)][_0x4ea359(0x140)];_0xf0d7e4=_0xf0d7e4||accessibilityHelper[_0x4ea359(0x11a)](_0x26d8a9['config']),process[_0x4ea359(0x11f)][_0x4ea359(0x10e)]=_0xf0d7e4,logger[_0x4ea359(0x147)](_0x4ea359(0xb1)+_0xf0d7e4+_0x4ea359(0xaf)+BrowserstackCLI[_0x4ea359(0xb3)]()[_0x4ea359(0x10d)]());if(_0x2c73e4)try{const _0x87eccc=_0x126096[_0x4ea359(0x110)](checkAccessibilityPlatformConfig,_0x26d8a9[_0x4ea359(0xf9)]);process[_0x4ea359(0x11f)][_0x4ea359(0x167)]=_0x87eccc?_0x126096[_0x4ea359(0xf3)]:_0x126096['Zbwle'],logger[_0x4ea359(0x147)](_0x4ea359(0x10c)+_0x87eccc+_0x4ea359(0xff)+process[_0x4ea359(0x11f)][_0x4ea359(0x167)]);}catch(_0x5bd977){logger[_0x4ea359(0x147)](_0x4ea359(0x16e)+util[_0x4ea359(0xa6)](_0x5bd977));}_0x6f1d52[_0x4ea359(0x13f)]['capabilities']=_0x2338c9,_0x6f1d52[_0x4ea359(0x13f)][_0x4ea359(0x17b)]=_0x126096['YbxTv'](getSerial,_0x2338c9,_0x4418c4),_0x6f1d52[_0x4ea359(0x13f)][_0x4ea359(0x15b)]=_0x126096['ssPXH'](getMaxWorkers,_0x4418c4,_0x26d8a9['config'],_0x13457d),_0x6f1d52[_0x4ea359(0x13f)][_0x4ea359(0x18d)]=_0x26d8a9['config'][_0x4ea359(0x18d)],_0x6f1d52[_0x4ea359(0x13f)][_0x4ea359(0x169)]=_0x126096['AXtuS'](_0x4418c4['testTimeout'],0x1)||0x1388,_0x6f1d52[_0x4ea359(0x13f)][_0x4ea359(0x120)]=_0x26d8a9['config'][_0x4ea359(0x13c)][_0x4ea359(0x120)],_0x6f1d52['testEnvironmentOptions'][_0x4ea359(0x124)]=_0x26d8a9[_0x4ea359(0xf9)][_0x4ea359(0x13c)][_0x4ea359(0x124)],_0x6f1d52[_0x4ea359(0x13f)][_0x4ea359(0xc6)]=_0x26d8a9[_0x4ea359(0xf9)][_0x4ea359(0x139)],_0x6f1d52['testEnvironmentOptions'][_0x4ea359(0x11e)]=_0x26d8a9[_0x4ea359(0xf9)][_0x4ea359(0x11e)],_0x6f1d52[_0x4ea359(0x13f)][_0x4ea359(0x118)]=_0x26d8a9[_0x4ea359(0xf9)]['platforms'],Object[_0x4ea359(0x18a)](_0x6f1d52[_0x4ea359(0x13f)],helper['getMultiDriverWorkerConfig'](_0x26d8a9[_0x4ea359(0xf9)],_0x2a3c4e,constants[_0x4ea359(0x135)][_0x4ea359(0xb0)]));const _0x326842=helper[_0x4ea359(0xa1)](_0x26d8a9[_0x4ea359(0xf9)]);if(!helper['isEmpty'](_0x326842)){helper[_0x4ea359(0xc8)](_0x326842[_0x4ea359(0x17d)])&&(_0x6f1d52['testEnvironmentOptions']['retries__']=_0x326842[_0x4ea359(0x17d)]['maxRetries']);if(helper[_0x4ea359(0xc8)](_0x326842['abortBuildOnFailure'])&&helper[_0x4ea359(0xc8)](_0x326842[_0x4ea359(0x156)][_0x4ea359(0xc4)])){const _0x14db08={};_0x14db08[_0x4ea359(0x108)]=_0x326842[_0x4ea359(0x156)][_0x4ea359(0xf1)],_0x14db08[_0x4ea359(0xc4)]=_0x326842[_0x4ea359(0x156)]['workingDir'],_0x6f1d52[_0x4ea359(0x13f)][_0x4ea359(0x132)]=_0x14db08;}}let _0x3c8242='';_0x126096[_0x4ea359(0xe5)](helper[_0x4ea359(0x146)](),constants['PACKAGE_TYPE'][_0x4ea359(0x125)])?_0x3c8242=_0x126096[_0x4ea359(0x101)]:_0x3c8242=_0x126096[_0x4ea359(0x103)];const _0x4501f8=_0x3c8242,_0x13d026=path[_0x4ea359(0x179)](__dirname,_0x126096[_0x4ea359(0xa7)],_0x126096[_0x4ea359(0x144)]),_0xbf5ded=path[_0x4ea359(0x179)](__dirname,_0x126096[_0x4ea359(0xa7)],_0x126096[_0x4ea359(0x15d)]),_0x32c0ec=path[_0x4ea359(0x179)](__dirname,_0x126096[_0x4ea359(0xa7)],_0x126096[_0x4ea359(0x151)]);_0x6f1d52[_0x4ea359(0xce)]&&(process[_0x4ea359(0x11f)]['BSTACK_JEST_TEST_ENV']=_0x6f1d52[_0x4ea359(0xce)]);_0x6f1d52[_0x4ea359(0xce)]=path[_0x4ea359(0x179)](__dirname,_0x126096[_0x4ea359(0xa7)],_0x126096['gKwTQ']);const _0x35f6ff=_0x13457d[_0x4ea359(0x16a)];if(_0x35f6ff&&_0x126096[_0x4ea359(0x109)](_0x35f6ff,_0x126096['WDUXa'])){const _0x52fcf8=_0x35f6ff[_0x4ea359(0xc5)](_0x126096['opiSY'])?_0x35f6ff:'jest-runner-'+_0x35f6ff;process['env']['BSTACK_USER_JEST_RUNNER']=_0x52fcf8,logger[_0x4ea359(0xf8)](_0x4ea359(0x137)+_0x52fcf8);}_0x6f1d52[_0x4ea359(0x16a)]=_0xbf5ded,_0x6f1d52[_0x4ea359(0xe3)]=_0x6f1d52['setupFilesAfterEnv']||[],_0x6f1d52[_0x4ea359(0xe3)][_0x4ea359(0x143)](path['join'](__dirname,_0x126096[_0x4ea359(0xfb)]));_0x3eb519[_0x4ea359(0xde)]()&&(_0x6f1d52[_0x4ea359(0xcb)]=path[_0x4ea359(0x179)](__dirname,_0x126096[_0x4ea359(0xa7)],_0x126096[_0x4ea359(0xbd)]));if(testhubUtils['shouldProcessEventForTesthub']()||BrowserstackCLI[_0x4ea359(0xb3)]()[_0x4ea359(0x13b)]()){let _0x53e9ab=null;try{_0x53e9ab=helper[_0x4ea359(0xa4)](_0x126096[_0x4ea359(0xd5)],_0x126096[_0x4ea359(0xcd)]);}catch(_0xa6abe0){try{_0x53e9ab=helper[_0x4ea359(0xa4)](_0x126096['JGSqT'],_0x126096['HyloJ']);}catch(_0x38f594){_0x126096[_0x4ea359(0x168)](debug,_0x4ea359(0x126)+_0x38f594);}}_0x53e9ab&&(testhubUtils[_0x4ea359(0xef)]()&&_0x6f1d52[_0x4ea359(0xe3)]['push'](path[_0x4ea359(0x179)](__dirname,_0x126096['zASEZ'],_0x126096[_0x4ea359(0x15e)])),_0x6f1d52[_0x4ea359(0x174)]=path[_0x4ea359(0x179)](__dirname,_0x126096[_0x4ea359(0xa7)],_0x126096['PRpnE']));}_0x6f1d52[_0x4ea359(0x141)]=_0x6f1d52[_0x4ea359(0x141)]||[];try{helper['requireSeleniumWebdriver'](),_0x6f1d52['setupFiles'][_0x4ea359(0x143)](path[_0x4ea359(0x179)](__dirname,_0x126096[_0x4ea359(0xfa)]));}catch{logger[_0x4ea359(0x147)](_0x126096[_0x4ea359(0x173)]);}try{helper['requirePWModule'][_0x4ea359(0x155)](null,[_0x126096[_0x4ea359(0x14f)],_0x126096['XPDGK']]),logger[_0x4ea359(0x147)](_0x126096['FTkmY']),_0x6f1d52[_0x4ea359(0x141)]['push'](path[_0x4ea359(0x179)](__dirname,_0x126096[_0x4ea359(0x14c)]));}catch(_0x15e4b2){logger[_0x4ea359(0x147)](_0x126096[_0x4ea359(0xa3)],_0x15e4b2);}if(_0x126096[_0x4ea359(0x119)](!_0x2c73e4,_0x450956)){try{logger['debug'](_0x126096['nHgxH']),_0x6f1d52[_0x4ea359(0xe3)][_0x4ea359(0x143)](path[_0x4ea359(0x179)](__dirname,'..',_0x126096[_0x4ea359(0x165)],_0x126096[_0x4ea359(0x14c)]));}catch(_0x5ca6c4){logger[_0x4ea359(0x147)](_0x4ea359(0x16c)+_0x5ca6c4[_0x4ea359(0xbf)]);}try{const _0x583afd=require[_0x4ea359(0x117)](_0x126096[_0x4ea359(0x9f)]),_0x9ffa15=path['dirname'](_0x583afd)[_0x4ea359(0xfd)](/\\/g,'/'),_0x30355a={};_0x30355a['^puppeteer-core/internal/(.*)']=_0x9ffa15+'/internal/$1',_0x6f1d52[_0x4ea359(0x153)]=Object['assign']({},_0x6f1d52[_0x4ea359(0x153)]||{},_0x30355a),logger[_0x4ea359(0x147)]('[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20'+_0x9ffa15);}catch(_0x57f657){logger[_0x4ea359(0x147)]('[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20'+_0x57f657[_0x4ea359(0xbf)]);}}_0x6f1d52[_0x4ea359(0x121)]=_0x6f1d52[_0x4ea359(0x121)]||[_0x126096[_0x4ea359(0x163)]],_0x126096['xkxnM'](updateTestRerunConfig,_0x6f1d52,_0x26d8a9);const _0x534d42=fs[_0x4ea359(0x114)](_0x32c0ec),_0x4c9f42=helper[_0x4ea359(0x102)](_0x126096['chAKT'],_0x126096[_0x4ea359(0xe0)]);!_0x4c9f42[_0x4ea359(0xcf)]?fs[_0x4ea359(0xdc)](_0x6f1d52['runner'],'\x0a\x20\x20\x20\x20\x20\x20'+_0x534d42+'\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20'+_0x26d8a9[_0x4ea359(0xf9)]['platforms'][_0x4ea359(0x182)]+_0x4ea359(0xbb)):fs['writeFileSync'](_0x6f1d52['runner'],_0x4ea359(0x176)+_0x534d42+_0x4ea359(0x130)+_0x26d8a9['config']['platforms']['length']+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20})();\x0a\x20\x20\x20\x20');logger[_0x4ea359(0xf8)](_0x4ea359(0xe2)+_0x4501f8+_0x4ea359(0xd2)),fs[_0x4ea359(0xdc)](_0x4501f8,_0x4ea359(0x18b)+JSON['stringify'](_0x6f1d52)+_0x4ea359(0xb4));if(_0x3eb519['isTestOrchestrationEnabled']()){logger[_0x4ea359(0x147)](_0x126096[_0x4ea359(0x189)]);const _0x2766f3=await _0x3eb519[_0x4ea359(0xa2)](_0x6f1d52,_0x2abdc4[_0x4ea359(0xa9)](0x1),_0x4501f8);logger[_0x4ea359(0x147)](_0x4ea359(0x11b)+JSON[_0x4ea359(0x17e)](_0x2766f3)+'\x20test\x20files\x20to\x20run.');const _0x416a85=await _0x3eb519[_0x4ea359(0xe8)](_0x2766f3);logger[_0x4ea359(0x147)](_0x4ea359(0xec)+JSON[_0x4ea359(0x17e)](_0x416a85)),_0x416a85&&_0x126096[_0x4ea359(0xf0)](_0x416a85[_0x4ea359(0x182)],0x0)&&(process[_0x4ea359(0x11f)][_0x4ea359(0x12f)]=_0x416a85?.[_0x4ea359(0x179)](','));}logger['info'](_0x126096['WJjLD']);testhubUtils[_0x4ea359(0xef)]()&&TestDetails['setup']();helper['filterBrowserstackArgs']({},_0x2abdc4),PerformanceTester['end'](PerformanceEvents[_0x4ea359(0x178)]);const _0xc28d56=[_0x126096[_0x4ea359(0x15c)],_0x126096[_0x4ea359(0x175)],_0x4501f8,..._0x2abdc4[_0x4ea359(0xa9)](0x1)];process['env'][_0x4ea359(0xb9)]=process['env'][_0x4ea359(0xb9)]||_0x126096['Qcugu'];const _0x25f753=_0x126096['dEAQO'](spawn,_0x126096[_0x4ea359(0x123)],_0xc28d56,{'shell':_0x126096[_0x4ea359(0xe5)](process[_0x4ea359(0x186)],_0x126096['sncul']),'stdio':_0x126096['YeSBe'],'env':Object[_0x4ea359(0x18a)]({},process[_0x4ea359(0x11f)])});_0x25f753['on'](_0x126096[_0x4ea359(0x157)],async _0x2c5d8f=>{const _0x2339b1=_0x4ea359;PerformanceTester[_0x2339b1(0x142)](PerformanceEvents[_0x2339b1(0x134)]),process[_0x2339b1(0x159)]=_0x2c5d8f,logger[_0x2339b1(0x147)](_0x2339b1(0xa5)+_0x2c5d8f),logger[_0x2339b1(0xf8)](_0x2339b1(0xe4)+_0x4501f8);if(helper[_0x2339b1(0xc8)](_0x326842)&&helper[_0x2339b1(0xc8)](_0x326842[_0x2339b1(0x156)])&&fs['existsSync'](_0x326842[_0x2339b1(0x156)][_0x2339b1(0xc4)]))try{const _0x819683={};_0x819683['recursive']=!![],_0x819683['force']=!![],fs[_0x2339b1(0x170)](_0x326842[_0x2339b1(0x156)]['workingDir'],_0x819683),logger['debug'](_0x2339b1(0xc2)+_0x326842[_0x2339b1(0x156)][_0x2339b1(0xc4)]);}catch(_0xe1f64c){logger[_0x2339b1(0xcf)](_0x2339b1(0xb2)+_0xe1f64c);}let _0x7440=null;if(fs[_0x2339b1(0x148)](_0x13d026)){_0x7440=fs[_0x2339b1(0x114)](_0x13d026);try{_0x7440=JSON[_0x2339b1(0x14a)](_0x7440);}catch(_0x399121){logger[_0x2339b1(0x147)](_0x2339b1(0x187)+_0x13d026+',\x20'+_0x7440+_0x2339b1(0x18e)+_0x399121);}fs[_0x2339b1(0xc0)](_0x13d026);}fs[_0x2339b1(0xc0)](_0x4501f8),fs[_0x2339b1(0xc0)](_0xbf5ded),_0x7440&&(_0x26d8a9['errorMessage']=helper[_0x2339b1(0xd7)](_0x7440,_0x126096[_0x2339b1(0x15c)],_0x26d8a9));const _0x583eb0=BrowserstackCLI[_0x2339b1(0x149)]();try{await TestHubHandler['stop'](),await BrowserstackCLI[_0x2339b1(0xb3)]()[_0x2339b1(0x12c)]();}catch(_0x262c10){console['log'](_0x262c10),_0x126096[_0x2339b1(0x168)](debug,_0x2339b1(0xb8)+util[_0x2339b1(0xa6)](_0x262c10));}testOpsHelper[_0x2339b1(0x16b)](),TestDetails['shutdown'](),await utilities[_0x2339b1(0x12e)](_0x26d8a9,_0x583eb0);});}function a21_0x4a64(){const _0x1a3e25=[';\x0a\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20','../../helpers/test-observability/utils','nTYqi','./test-observability/test-details','message','unlinkSync','MNXRP','Deleted\x20fail-fast\x20state\x20folder:\x20','../utils/clientTroubleshootingService','workingDir','startsWith','browserStackLogLevel','yaKbl','isNotUndefined','3510031Sughgb','KnRdT','testSequencer','jest_browserstack_results.json','HyloJ','testEnvironment','error','default','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','\x20with\x20browserstack\x20jest\x20configs','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','xkxnM','OqOLJ','QPtQp','getErrorMessageFromResults','22239zTEPSD','../utils/constants','../../helpers/helper','customTestRunnerTemplate.js','writeFileSync','../../helpers/performance/performance-tester','isTestOrchestrationEnabled','EVENTS','dFcsd','test.setup.js','Creating\x20','setupFilesAfterEnv','Deleting\x20','jVStG','test_before.setup.js','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','reorderTestFiles','close','oHonM','cjs','Reodered\x20Test\x20Files:\x20','16CSdllG','Ksqhx','shouldProcessEventForTesthub','DOBly','maxFailures','BROWSERSTACK_TEST_OBSERVABILITY_YML','cPyjj','gZdwg','WWohk','../../helpers/test-observability/constants','8489748BlctDU','info','config','hhjyP','VWZNK','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','replace','util',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','__isPuppeteerInstalled','xLUVU','resolveModule','nfbCG','@jest/core','customCircus.js','__isPlaywrightInstalled','accessibilityOptions','failureThresholdCount','ViHZW','jest.setup.js','--config','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','isRunning','BROWSERSTACK_TEST_ACCESSIBILITY_YML','123544UQOHiT','cAWct','jest-config','YGaWr','../../helpers/performance/constants','readFileSync','json','test-observability','resolve','platformCaps','GuCdv','checkAccessibilityPlatformConfig','Found:\x20','customSequencer.js','../../helpers/accessibility-automation/helper','turboScaleUrl','env','skipSessionName','reporters','isUndefined','ufYPf','skipSessionStatus','MODULE','Unable\x20to\x20find\x20jest-circus,\x20','../../helpers/testhub/testhubHandler','maxWorkers','isBrowserstackInfra','jest_browserstack.config.js','winstonLogger','stop','puppeteer','finalExecution','JEST_TEST_ORDER','\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x0a\x20\x20\x20\x20\x20\x20(async\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20{createTestScheduler}\x20=\x20requireModule(\x27@jest/core\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20tempScheduler\x20=\x20await\x20createTestScheduler({reporters:\x20[]},\x20{});\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20tempScheduler._dispatcher.constructor;\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','Getting\x20your\x20jest\x20configs\x20from\x20package.json','failFast','splice','SDK_CLEANUP','FRAMEWORKS','jest','Preserving\x20user\x27s\x20Jest\x20runner:\x20','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','logLevel','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','isCliEnabled','testContextOptions','../../helpers/test-orchestration/testOrchestrationHandler','LBqNM','testEnvironmentOptions','accessibility','setupFiles','start','push','EZjCk','npx','getPackageType','debug','existsSync','isCLIEnabled','parse','package.json','YKcOj','1381985GCMYiH','getPackageVersion','tSVxK','useW3C','TspAo','true','moduleNameMapper','../../helpers/percy/utils','apply','abortBuildOnFailure','WUbUv','jest_browserstack.config.cjs','exitCode','../v2/browserstackCLI','parallels__','Qcugu','OPHgy','nyJXu','UNlzU','BROWSERSTACK_CAPABILITIES','../../helpers/puppeteer-helper','../../helpers/utilities','nXLju','inherit','psEcW','child_process','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','DDMNu','timeout__','runner','printBuildLink','Puppeteer\x20setup\x20error:\x20','playwright','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','77580wyFKNM','rmSync','UkTfd','Qglvh','HUUVK','testRunner','Lhgrk','\x0a\x20\x20\x20\x20\x20\x20','ZuIWl','SDK_SETUP','join','jest-runner-','serial__','DHywb','retryTestsOnFailure','stringify','jest-circus/build/runner.js','MafGi','mjs','length','testObservability','4657490TyBLzg','USER_CONFIG_DETAILS_PATH','platform','Error\x20while\x20parsing\x20','browserStackPercyOptions','yaSwf','assign','const\x20config=','prepareCapabilities','proxySettings','\x20:\x20','@jest/core/build/ReporterDispatcher.js','parallelsPerPlatform','getHubUrl','LUKTK','launchBuild','parseTestOrchestrationOptions','findTestFiles','NFaFF','requireModule','child\x20process\x20exited\x20with\x20code\x20','format','FTeeE','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','slice','exports','102TiCRSI','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','../../helpers/testhub/utils','jest.config.',',\x20CLI\x20running:\x20','JEST','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','getInstance','\x0amodule.exports\x20=\x20config;','customImplements','../../helpers/playwright-helper','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','BROWSERSTACK_FRAMEWORK','readInitialOptions'];a21_0x4a64=function(){return _0x1a3e25;};return a21_0x4a64();}module[a21_0xbe8341(0xaa)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a22_0x1a72c4=a22_0x49f2;(function(_0x3c7107,_0x2a6fd6){const _0x2f0107=a22_0x49f2,_0x3fb2b0=_0x3c7107();while(!![]){try{const _0xb20611=parseInt(_0x2f0107(0x1bb))/0x1*(parseInt(_0x2f0107(0x1b8))/0x2)+-parseInt(_0x2f0107(0x1b6))/0x3+parseInt(_0x2f0107(0x1bd))/0x4+parseInt(_0x2f0107(0x1c5))/0x5*(-parseInt(_0x2f0107(0x1b3))/0x6)+parseInt(_0x2f0107(0x1b2))/0x7+-parseInt(_0x2f0107(0x1b9))/0x8+parseInt(_0x2f0107(0x1c2))/0x9*(parseInt(_0x2f0107(0x1b4))/0xa);if(_0xb20611===_0x2a6fd6)break;else _0x3fb2b0['push'](_0x3fb2b0['shift']());}catch(_0x67df0c){_0x3fb2b0['push'](_0x3fb2b0['shift']());}}}(a22_0x5b41,0xc8b17));const path=require('path'),{requireModule}=require(a22_0x1a72c4(0x1bc));function a22_0x49f2(_0x3d15f0,_0x8b9eb5){const _0x5b414f=a22_0x5b41();return a22_0x49f2=function(_0x49f296,_0x143624){_0x49f296=_0x49f296-0x1b1;let _0x4c6182=_0x5b414f[_0x49f296];return _0x4c6182;},a22_0x49f2(_0x3d15f0,_0x8b9eb5);}let initJestAdapter;function a22_0x5b41(){const _0x51b39c=['fXFhG','jest-circus','45BdGhar','exports','jestAdapterInit','278305ryZSBJ','customJestAdapterInit.js','default','9571072tgbxlI','114fKUqxs','5546180GxxOSc','requireInternalModule','4652178hIaVZa','JFHDN','58zrUApz','9970280YHlmAM','initRequireModule','9681LCKqWL','../../../helpers/helper','1021896wJBLFM','join','includes'];a22_0x5b41=function(){return _0x51b39c;};return a22_0x5b41();}try{initJestAdapter=requireModule('jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js',a22_0x1a72c4(0x1c1));}catch{initJestAdapter=requireModule('jest-circus/build/runner.js',a22_0x1a72c4(0x1c1));}initJestAdapter=typeof initJestAdapter==='function'?initJestAdapter:initJestAdapter[a22_0x1a72c4(0x1b1)];const FRAMEWORK_INITIALIZER=path[a22_0x1a72c4(0x1be)](__dirname,a22_0x1a72c4(0x1c6));module[a22_0x1a72c4(0x1c3)]=(..._0x3bcd88)=>{const _0x80e468=a22_0x1a72c4,_0x2411f0={'JFHDN':_0x80e468(0x1c4),'fXFhG':function(_0xa3936d,_0x50f0c4){return _0xa3936d===_0x50f0c4;},'yOCCj':function(_0x5d3b01,..._0x52f1fc){return _0x5d3b01(..._0x52f1fc);}};return _0x3bcd88[0x3][_0x80e468(0x1ba)]=_0x3bcd88[0x3][_0x80e468(0x1b5)],_0x3bcd88[0x3]['requireInternalModule']=(..._0x3fbda1)=>{const _0xcdaccc=_0x80e468;if(_0x3fbda1[0x0]&&_0x3fbda1[0x0][_0xcdaccc(0x1bf)](_0x2411f0[_0xcdaccc(0x1b7)])&&_0x2411f0[_0xcdaccc(0x1c0)](_0x3fbda1[0x1],undefined))return _0x3bcd88[0x3]['initRequireModule'](FRAMEWORK_INITIALIZER);return _0x3bcd88[0x3]['initRequireModule'](..._0x3fbda1);},_0x2411f0['yOCCj'](initJestAdapter,..._0x3bcd88);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a23_0x2ba3ba=a23_0x20a7;(function(_0x57e551,_0x11b0e6){const _0xc45c77=a23_0x20a7,_0x33ef01=_0x57e551();while(!![]){try{const _0x2810be=-parseInt(_0xc45c77(0x1f5))/0x1*(-parseInt(_0xc45c77(0x1f4))/0x2)+parseInt(_0xc45c77(0x1e9))/0x3*(-parseInt(_0xc45c77(0x200))/0x4)+-parseInt(_0xc45c77(0x220))/0x5+-parseInt(_0xc45c77(0x21e))/0x6+parseInt(_0xc45c77(0x21c))/0x7+parseInt(_0xc45c77(0x20e))/0x8*(-parseInt(_0xc45c77(0x1ec))/0x9)+-parseInt(_0xc45c77(0x224))/0xa*(-parseInt(_0xc45c77(0x22f))/0xb);if(_0x2810be===_0x11b0e6)break;else _0x33ef01['push'](_0x33ef01['shift']());}catch(_0x39f178){_0x33ef01['push'](_0x33ef01['shift']());}}}(a23_0x4cf2,0xb18bd));const helper=require('../../../helpers/helper'),constants=require('../../utils/constants'),{isTestObservabilitySession}=require(a23_0x2ba3ba(0x1f9)),RequestQueueHandler=require(a23_0x2ba3ba(0x237)),ObservabilityReporter=require('../test-observability/obsReporter'),testhubUtils=require('../../../helpers/testhub/utils'),logger=require(a23_0x2ba3ba(0x216))[a23_0x2ba3ba(0x1f8)],getTestEnvironment=((()=>{const _0x3d04e5=a23_0x2ba3ba,_0x5454fd={};_0x5454fd[_0x3d04e5(0x233)]=_0x3d04e5(0x1de),_0x5454fd[_0x3d04e5(0x1e4)]=_0x3d04e5(0x246);const _0x2dc6dd=_0x5454fd;try{const _0x2d7d8d=helper[_0x3d04e5(0x21a)](_0x2dc6dd[_0x3d04e5(0x233)]);if(_0x2d7d8d[_0x3d04e5(0x1e2)])return _0x2d7d8d[_0x3d04e5(0x1e2)];const _0x144e9d=helper['requireModule'](_0x2dc6dd[_0x3d04e5(0x1e4)]);if(_0x144e9d[_0x3d04e5(0x205)])return _0x144e9d[_0x3d04e5(0x205)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x3a4a87=a23_0x2ba3ba,_0x3aef59={'cVbGC':function(_0x1d5854,_0x4a4a7a){return _0x1d5854(_0x4a4a7a);},'qrcpp':'node','UOugz':_0x3a4a87(0x1e6),'LtdKz':function(_0x3bd35d,_0x2dd228){return _0x3bd35d(_0x2dd228);}},_0x45099b=_0x3aef59[_0x3a4a87(0x214)](getTestEnvironment,{'rootDir':process[_0x3a4a87(0x219)](),'testEnvironment':process[_0x3a4a87(0x241)]['BSTACK_JEST_TEST_ENV']||_0x3aef59[_0x3a4a87(0x204)]});if(!_0x45099b)return _0x3aef59['cVbGC'](_interopRequireDefault,helper[_0x3a4a87(0x21a)](_0x3aef59[_0x3a4a87(0x20f)]));return _0x3aef59[_0x3a4a87(0x239)](_interopRequireDefault,helper['requireModule'](_0x45099b));})()),_seleniumWebdriver2=((()=>{const _0x28faa1=a23_0x2ba3ba,_0x26eafb={'WKNlm':function(_0x174719,_0x308739){return _0x174719(_0x308739);}};try{const _0xf30c7c=helper[_0x28faa1(0x225)]();return helper['modifyCommand'](),_0x26eafb[_0x28faa1(0x23c)](_interopRequireDefault,_0xf30c7c);}catch{return null;}})());function a23_0x4cf2(){const _0x20d2b8=['LtdKz','mode','BSTACK_DELTA','WKNlm','Error\x20in\x20fail-fast\x20test_done\x20handler:','browserstackAgentV2','name','global','env','../../../index','message','test_done','DTixS','jest-config','browserstackPercyBestPlatform','isArray','browserstackPlatformIndex','JhdYq','skipSessionName','debug','suGSK','jest-resolve','__drivers','sessionNameProvided','zfXPG','resolveTestEnvironment','__webdriver','WkKOF','glwak','jest-environment-node','failFastOptions','browserStackGlobals','3CgkHPv','handleTestEvent','cleanup','195309POjnkv','shouldFailFast','skip','teardown','../../../helpers/test-orchestration/failfastManager','JEST','test','JbvcY','2502474NOgrkj','1vliybd','mLrjD','testEnvironmentOptions','winstonLogger','../../../helpers/test-observability/utils','ReapS','qZBgK','projectName','__timeout','SUOfp','__esModule','4795108REnDET','nestedKeyValue','percy','buildName','qrcpp','getTestEnvironment','percyCaptureMode','testContext','__jestRetries','failFastActive','ihgWp','builder','platformCaps','jestConfig','488kIVdvj','UOugz','info','capability','KhIHO','testPath','cVbGC','driver','../../../helpers/logger','failFast','skipSessionStatus','cwd','requireModule','split','5893370QcgIjz','PpqqO','4274340Tfutqz','Builder','4391680IhfAoN','projectConfig','retries__','DrMEt','30gmJzdj','requireSeleniumWebdriver','capabilities','quit','5|7|1|4|6|2|3|0','jOgfU','gFtha','exports','bqjnk','test_start','bstack:options','10073602ifjSmC','wOnQA','default','kjYjl','qpHTi','shouldProcessEventForTesthub','onTestDone','configuration','../../../helpers/test-observability/requestQueueHandler','isTrue'];a23_0x4cf2=function(){return _0x20d2b8;};return a23_0x4cf2();}function _interopRequireDefault(_0x372510){const _0x5a0d88=a23_0x2ba3ba;return _0x372510&&_0x372510[_0x5a0d88(0x1ff)]?_0x372510:{'default':_0x372510};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a23_0x2ba3ba(0x231)][a23_0x2ba3ba(0x21f)]:null;function a23_0x20a7(_0x509967,_0x2779fe){const _0x4cf2e8=a23_0x4cf2();return a23_0x20a7=function(_0x20a706,_0x26bdbb){_0x20a706=_0x20a706-0x1dd;let _0x2d2e26=_0x4cf2e8[_0x20a706];return _0x2d2e26;},a23_0x20a7(_0x509967,_0x2779fe);}class CustomEnvironment extends _jestUserEnvironment[a23_0x2ba3ba(0x231)]{constructor(_0x1fbaad){const _0x5d4651=a23_0x2ba3ba,_0x24c8e3={'qZBgK':_0x5d4651(0x227),'JbvcY':function(_0xe9448,_0x359f49){return _0xe9448+_0x359f49;},'bqjnk':_0x5d4651(0x22e),'gFtha':function(_0x8b0527,_0x34f24e){return _0x8b0527(_0x34f24e);},'JhdYq':_0x5d4651(0x1f0),'zfXPG':_0x5d4651(0x228),'DTixS':_0x5d4651(0x1f7),'DrMEt':'browserStackPercyOptions','ReapS':_0x5d4651(0x247),'liuCL':_0x5d4651(0x202),'drKIW':_0x5d4651(0x206),'xYOfC':function(_0x5edc6b,_0x5b36cf){return _0x5edc6b(_0x5b36cf);},'glwak':_0x5d4651(0x242)};super(_0x1fbaad),this['global'][_0x5d4651(0x1fd)]=0x0,this['configuration']={};!_0x1fbaad[_0x5d4651(0x1f7)]&&(_0x1fbaad[_0x5d4651(0x1f7)]={});if(helper['isBrowserstackInfra']()){_0x1fbaad[_0x5d4651(0x1f7)]=_0x1fbaad['projectConfig']?_0x1fbaad['projectConfig'][_0x5d4651(0x1f7)]:_0x1fbaad['testEnvironmentOptions'];_seleniumWebdriver2&&(this[_0x5d4651(0x20b)]=new _seleniumWebdriver2[(_0x5d4651(0x231))][(_0x5d4651(0x21f))]());this['capability']=_0x1fbaad[_0x5d4651(0x221)]?_0x1fbaad['projectConfig'][_0x5d4651(0x211)]:_0x1fbaad['capability'],this[_0x5d4651(0x240)][_0x5d4651(0x1fd)]=_0x24c8e3[_0x5d4651(0x1f3)](_0x1fbaad[_0x5d4651(0x1f7)]['timeout__']||0x1388,constants[_0x5d4651(0x23b)]),this[_0x5d4651(0x1e7)]=_0x1fbaad[_0x5d4651(0x1f7)][_0x5d4651(0x217)];if(this[_0x5d4651(0x1e7)]){const _0x516a40=this['capability'][_0x24c8e3[_0x5d4651(0x22c)]]?.[_0x5d4651(0x203)]||'',_0x2dd1e5=this['capability'][_0x24c8e3[_0x5d4651(0x22c)]]?.[_0x5d4651(0x1fc)]||'';this[_0x5d4651(0x217)]=new(_0x24c8e3[_0x5d4651(0x22a)](require,_0x24c8e3[_0x5d4651(0x24a)]))(this[_0x5d4651(0x1e7)],_0x516a40,_0x2dd1e5),this['global']['failFastActive']=![];}helper['isNotUndefined'](_0x1fbaad[_0x5d4651(0x1f7)]['retries__'])&&(this[_0x5d4651(0x240)][_0x5d4651(0x208)]=_0x1fbaad[_0x5d4651(0x1f7)][_0x5d4651(0x222)]);}if(testhubUtils[_0x5d4651(0x234)]()){const _0x50eab1=new ObservabilityReporter();_0x50eab1['registerListeners']();}this[_0x5d4651(0x240)][_0x5d4651(0x1e8)]={},this[_0x5d4651(0x236)]=_0x1fbaad['testEnvironmentOptions'],this[_0x5d4651(0x236)]['framework']=constants['FRAMEWORKS'][_0x5d4651(0x1f1)],this[_0x5d4651(0x240)][_0x5d4651(0x249)]=(_0x1fbaad[_0x5d4651(0x221)]?_0x1fbaad[_0x5d4651(0x221)][_0x5d4651(0x249)]:_0x1fbaad[_0x5d4651(0x249)])||0x0,this[_0x5d4651(0x240)]['__platformCaps']=this[_0x5d4651(0x236)]&&this[_0x5d4651(0x236)][_0x5d4651(0x20c)]&&Array[_0x5d4651(0x248)](this[_0x5d4651(0x236)][_0x5d4651(0x20c)])&&this[_0x5d4651(0x236)][_0x5d4651(0x20c)][this[_0x5d4651(0x240)]['browserstackPlatformIndex']]||{};const _0x2f0e09=this[_0x5d4651(0x240)][_0x5d4651(0x249)],_0x4c2769={...this[_0x5d4651(0x236)],'capability':this[_0x5d4651(0x236)][_0x5d4651(0x226)]&&Array['isArray'](this['configuration'][_0x5d4651(0x226)])&&this[_0x5d4651(0x236)][_0x5d4651(0x226)][_0x2f0e09]||{},'platformCaps':this[_0x5d4651(0x236)][_0x5d4651(0x20c)]&&Array['isArray'](this['configuration'][_0x5d4651(0x20c)])&&this['configuration'][_0x5d4651(0x20c)][_0x2f0e09]||{}};delete _0x4c2769['capabilities'],this[_0x5d4651(0x240)][_0x5d4651(0x20d)]=_0x4c2769;if(_seleniumWebdriver2){const _0x1a90f8=_0x24c8e3[_0x5d4651(0x1e1)][_0x5d4651(0x21b)]('|');let _0x85217c=0x0;while(!![]){switch(_0x1a90f8[_0x85217c++]){case'0':this['global']['cleanup']=async()=>{const _0x2a401f=_0x5d4651;await this[_0x2a401f(0x240)][_0x2a401f(0x215)][_0x2a401f(0x227)](_0x24c8e3[_0x2a401f(0x1fb)]);};continue;case'1':this[_0x5d4651(0x240)]['browserstackPercyBestPlatform']=helper[_0x5d4651(0x201)](_0x1fbaad,[_0x24c8e3[_0x5d4651(0x245)],_0x24c8e3[_0x5d4651(0x223)],_0x24c8e3[_0x5d4651(0x1fa)]]);continue;case'2':helper['isTrue'](this[_0x5d4651(0x236)][_0x5d4651(0x24b)])?this[_0x5d4651(0x240)][_0x5d4651(0x1e0)]=!![]:this[_0x5d4651(0x240)]['sessionNameProvided']=![];continue;case'3':this[_0x5d4651(0x240)]['__skipSessionStatus']=helper[_0x5d4651(0x238)](this['configuration'][_0x5d4651(0x218)]);continue;case'4':this[_0x5d4651(0x240)]['percy']=helper[_0x5d4651(0x201)](_0x1fbaad,[_0x24c8e3['DTixS'],_0x24c8e3[_0x5d4651(0x223)],_0x24c8e3['liuCL']]);continue;case'5':this[_0x5d4651(0x240)][_0x5d4651(0x1df)]=[];continue;case'6':this[_0x5d4651(0x240)][_0x5d4651(0x206)]=helper[_0x5d4651(0x201)](_0x1fbaad,[_0x24c8e3[_0x5d4651(0x245)],_0x24c8e3[_0x5d4651(0x223)],_0x24c8e3['drKIW']]);continue;case'7':this[_0x5d4651(0x240)][_0x5d4651(0x1e3)]=_0x24c8e3['xYOfC'](require,_0x24c8e3[_0x5d4651(0x1e5)])[_0x5d4651(0x23e)]({...this[_0x5d4651(0x236)],'capability':this[_0x5d4651(0x211)]||{}},this,testhubUtils[_0x5d4651(0x234)]());continue;}break;}}}async[a23_0x2ba3ba(0x1ef)](){const _0x1622b2=a23_0x2ba3ba;_seleniumWebdriver2&&(await helper['cleanupDrivers'](this[_0x1622b2(0x240)]['__driversArray']),this[_0x1622b2(0x240)][_0x1622b2(0x1e3)][_0x1622b2(0x21f)]=originalBuilder),await RequestQueueHandler['getInstance']()['shutdown']();}async['setup'](){}async[a23_0x2ba3ba(0x1ea)](_0x3e605f,_0x59c57a){const _0xd243b9=a23_0x2ba3ba,_0x6ca744={};_0x6ca744[_0xd243b9(0x21d)]=function(_0x9b684e,_0x326539){return _0x9b684e===_0x326539;},_0x6ca744[_0xd243b9(0x232)]=_0xd243b9(0x22d),_0x6ca744[_0xd243b9(0x1f6)]=_0xd243b9(0x1ee),_0x6ca744[_0xd243b9(0x1dd)]=function(_0x40bf5a,_0x11464f){return _0x40bf5a===_0x11464f;},_0x6ca744[_0xd243b9(0x230)]=_0xd243b9(0x244),_0x6ca744[_0xd243b9(0x212)]='\x20>\x20',_0x6ca744[_0xd243b9(0x229)]=function(_0x569e70,_0x1d09f1){return _0x569e70===_0x1d09f1;},_0x6ca744[_0xd243b9(0x1fe)]=_0xd243b9(0x23d),_0x6ca744[_0xd243b9(0x20a)]=_0xd243b9(0x1ef);const _0x9c2966=_0x6ca744,{name:_0xd60182}=_0x3e605f;if(_0x9c2966['PpqqO'](_0xd60182,_0x9c2966['kjYjl'])){this[_0xd243b9(0x240)][_0xd243b9(0x207)]=_0x3e605f['test'];if(_0x9c2966['PpqqO'](this['global'][_0xd243b9(0x209)],!![])){const _0x5c92a8=_0x3e605f['test'][_0xd243b9(0x23f)];logger[_0xd243b9(0x210)]('Fail-fast\x20is\x20active,\x20skipping\x20test::\x20'+_0x5c92a8),_0x3e605f[_0xd243b9(0x1f2)][_0xd243b9(0x23a)]=_0x9c2966[_0xd243b9(0x1f6)];}}if(this[_0xd243b9(0x217)]&&_0x9c2966[_0xd243b9(0x1dd)](_0xd60182,_0x9c2966[_0xd243b9(0x230)]))try{const _0x4ab778=_0x3e605f[_0xd243b9(0x1f2)][_0xd243b9(0x213)]['join'](_0x9c2966[_0xd243b9(0x212)]),_0x32a4b2=_0x3e605f[_0xd243b9(0x1f2)]['errors'];await this[_0xd243b9(0x217)][_0xd243b9(0x235)](_0x4ab778,_0x32a4b2);const _0x4f0cf4=await this[_0xd243b9(0x217)][_0xd243b9(0x1ed)]();_0x9c2966['PpqqO'](this[_0xd243b9(0x240)][_0xd243b9(0x209)],![])&&_0x9c2966[_0xd243b9(0x229)](_0x4f0cf4,!![])&&(this[_0xd243b9(0x240)]['failFastActive']=!![]);}catch(_0x5e413c){logger[_0xd243b9(0x24c)](_0x9c2966[_0xd243b9(0x1fe)],_0x5e413c[_0xd243b9(0x243)]);}_0x9c2966[_0xd243b9(0x229)](_0xd60182,_0x9c2966[_0xd243b9(0x20a)])&&(this['failFast']&&this[_0xd243b9(0x217)][_0xd243b9(0x1eb)]());}}module[a23_0x2ba3ba(0x22b)]=CustomEnvironment;
|
|
1
|
+
const a23_0x16d016=a23_0x7f57;function a23_0x7f57(_0x41e0e1,_0x3ca877){const _0x45f93a=a23_0x45f9();return a23_0x7f57=function(_0x7f57b5,_0x1f41e2){_0x7f57b5=_0x7f57b5-0x1cf;let _0x97a596=_0x45f93a[_0x7f57b5];return _0x97a596;},a23_0x7f57(_0x41e0e1,_0x3ca877);}(function(_0x5d479d,_0x111b48){const _0xc9df63=a23_0x7f57,_0x41f8d0=_0x5d479d();while(!![]){try{const _0x4326a2=-parseInt(_0xc9df63(0x1d3))/0x1*(-parseInt(_0xc9df63(0x1f1))/0x2)+-parseInt(_0xc9df63(0x1f4))/0x3+-parseInt(_0xc9df63(0x1db))/0x4+parseInt(_0xc9df63(0x22d))/0x5+-parseInt(_0xc9df63(0x200))/0x6*(-parseInt(_0xc9df63(0x1d8))/0x7)+-parseInt(_0xc9df63(0x22b))/0x8*(parseInt(_0xc9df63(0x23f))/0x9)+parseInt(_0xc9df63(0x229))/0xa*(parseInt(_0xc9df63(0x23c))/0xb);if(_0x4326a2===_0x111b48)break;else _0x41f8d0['push'](_0x41f8d0['shift']());}catch(_0x2b5641){_0x41f8d0['push'](_0x41f8d0['shift']());}}}(a23_0x45f9,0x3766c));function a23_0x45f9(){const _0x568bc5=['bPlSt','shouldFailFast','iDkXG','test_start','Builder','../../../helpers/test-observability/requestQueueHandler','teardown','browserstackPlatformIndex','JEST','QTDsg','ixouk','mSyGH','adDEZ','testEnvironmentOptions','getInstance','split','default','__platformCaps','percy','exports','__esModule','gBBtj','30fBkJIn','jestConfig','8VAjyFv','failFast','156575UwPipU','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','DIQvU','name','alYiE','info','failFastActive','cwd','phFGf','registerListeners','WGCqN','KncPJ','platformCaps','isNotUndefined','YepBx','1046837FoIYnW','capabilities','SbCjd','1378827JTIAnB','YuMUk','quit','configuration','zbayH','failFastOptions','../../utils/constants','118sQFIWU','BSTACK_DELTA','jest-config','retries__','__skipSessionStatus','7qhUHbi','__timeout','BSTACK_JEST_TEST_ENV','968864srIzzQ','sessionNameProvided','__driversArray','projectName','__drivers','CqEDZ','builder','../../../helpers/helper','__jestRetries','shouldProcessEventForTesthub','../../../helpers/test-observability/utils','skipSessionStatus','global','testPath','getTestEnvironment','../../../index','capability','resolveTestEnvironment','EwuJZ','fExJN','YfWiu','browserStackPercyOptions','3346cHOsEs','testContext','bCtmc','24588wTdUnG','isBrowserstackInfra','message','bVOvA','../../../helpers/logger','../../../helpers/test-orchestration/failfastManager','nestedKeyValue','7|4|6|2|5|3|1|0','requireModule','jest-environment-node','timeout__','driver','697854JNSnYb','../../../helpers/testhub/utils','test_done','test','isArray','onTestDone','mode','OcKmA','Error\x20in\x20fail-fast\x20test_done\x20handler:','hZCXA','percyCaptureMode','projectConfig','hgRji','buildName','join','FRAMEWORKS','browserstackPercyBestPlatform','bstack:options','winstonLogger'];a23_0x45f9=function(){return _0x568bc5;};return a23_0x45f9();}const helper=require(a23_0x16d016(0x1e2)),constants=require(a23_0x16d016(0x1d2)),{isTestObservabilitySession}=require(a23_0x16d016(0x1e5)),RequestQueueHandler=require(a23_0x16d016(0x218)),ObservabilityReporter=require('../test-observability/obsReporter'),testhubUtils=require(a23_0x16d016(0x201)),logger=require(a23_0x16d016(0x1f8))[a23_0x16d016(0x212)],getTestEnvironment=((()=>{const _0x5ede12=a23_0x16d016,_0x105c76={};_0x105c76[_0x5ede12(0x21c)]='jest-resolve',_0x105c76[_0x5ede12(0x21f)]=_0x5ede12(0x1d5);const _0xb2eb96=_0x105c76;try{const _0x508fc7=helper[_0x5ede12(0x1fc)](_0xb2eb96['QTDsg']);if(_0x508fc7[_0x5ede12(0x1ec)])return _0x508fc7['resolveTestEnvironment'];const _0x34ca0f=helper[_0x5ede12(0x1fc)](_0xb2eb96[_0x5ede12(0x21f)]);if(_0x34ca0f[_0x5ede12(0x1e9)])return _0x34ca0f[_0x5ede12(0x1e9)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x5e722c=a23_0x16d016,_0x5989fe={'OcKmA':function(_0x300882,_0x22c2f7){return _0x300882(_0x22c2f7);},'dXIrl':'node','hZCXA':function(_0x3aef67,_0x533e27){return _0x3aef67(_0x533e27);},'iRbhV':_0x5e722c(0x1fd)},_0x286e8b=_0x5989fe[_0x5e722c(0x207)](getTestEnvironment,{'rootDir':process[_0x5e722c(0x234)](),'testEnvironment':process['env'][_0x5e722c(0x1da)]||_0x5989fe['dXIrl']});if(!_0x286e8b)return _0x5989fe[_0x5e722c(0x209)](_interopRequireDefault,helper[_0x5e722c(0x1fc)](_0x5989fe['iRbhV']));return _0x5989fe[_0x5e722c(0x209)](_interopRequireDefault,helper['requireModule'](_0x286e8b));})()),_seleniumWebdriver2=((()=>{const _0x559278=a23_0x16d016,_0x393d1e={'ixouk':function(_0x43609a,_0x45934a){return _0x43609a(_0x45934a);}};try{const _0x192fb3=helper['requireSeleniumWebdriver']();return helper['modifyCommand'](),_0x393d1e[_0x559278(0x21d)](_interopRequireDefault,_0x192fb3);}catch{return null;}})());function _interopRequireDefault(_0x37ac35){const _0x364b87=a23_0x16d016;return _0x37ac35&&_0x37ac35[_0x364b87(0x227)]?_0x37ac35:{'default':_0x37ac35};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a23_0x16d016(0x223)][a23_0x16d016(0x217)]:null;class CustomEnvironment extends _jestUserEnvironment['default']{constructor(_0x2715ce){const _0x3d5b3b=a23_0x16d016,_0x15a1d8={'fExJN':'quit','SbCjd':function(_0x402fdd,_0x401c70){return _0x402fdd+_0x401c70;},'phFGf':_0x3d5b3b(0x211),'alYiE':function(_0x352ef0,_0x4e248c){return _0x352ef0(_0x4e248c);},'KncPJ':_0x3d5b3b(0x1f9),'vipZr':_0x3d5b3b(0x1fb),'gBBtj':'testEnvironmentOptions','bVOvA':_0x3d5b3b(0x1f0),'zbayH':_0x3d5b3b(0x225),'bCtmc':function(_0x2157f8,_0x335183){return _0x2157f8(_0x335183);},'hgRji':_0x3d5b3b(0x1ea),'YuMUk':_0x3d5b3b(0x20a),'YfWiu':_0x3d5b3b(0x210)};super(_0x2715ce),this[_0x3d5b3b(0x1e7)][_0x3d5b3b(0x1d9)]=0x0,this[_0x3d5b3b(0x1cf)]={};!_0x2715ce[_0x3d5b3b(0x220)]&&(_0x2715ce[_0x3d5b3b(0x220)]={});if(helper[_0x3d5b3b(0x1f5)]()){_0x2715ce[_0x3d5b3b(0x220)]=_0x2715ce[_0x3d5b3b(0x20b)]?_0x2715ce['projectConfig'][_0x3d5b3b(0x220)]:_0x2715ce[_0x3d5b3b(0x220)];_seleniumWebdriver2&&(this[_0x3d5b3b(0x1e1)]=new _seleniumWebdriver2[(_0x3d5b3b(0x223))][(_0x3d5b3b(0x217))]());this[_0x3d5b3b(0x1eb)]=_0x2715ce[_0x3d5b3b(0x20b)]?_0x2715ce['projectConfig'][_0x3d5b3b(0x1eb)]:_0x2715ce[_0x3d5b3b(0x1eb)],this['global'][_0x3d5b3b(0x1d9)]=_0x15a1d8[_0x3d5b3b(0x23e)](_0x2715ce['testEnvironmentOptions'][_0x3d5b3b(0x1fe)]||0x1388,constants[_0x3d5b3b(0x1d4)]),this[_0x3d5b3b(0x1d1)]=_0x2715ce[_0x3d5b3b(0x220)][_0x3d5b3b(0x22c)];if(this[_0x3d5b3b(0x1d1)]){const _0x103184=this[_0x3d5b3b(0x1eb)][_0x15a1d8[_0x3d5b3b(0x235)]]?.[_0x3d5b3b(0x20d)]||'',_0x341192=this[_0x3d5b3b(0x1eb)][_0x15a1d8[_0x3d5b3b(0x235)]]?.[_0x3d5b3b(0x1de)]||'';this[_0x3d5b3b(0x22c)]=new(_0x15a1d8[_0x3d5b3b(0x231)](require,_0x15a1d8[_0x3d5b3b(0x238)]))(this[_0x3d5b3b(0x1d1)],_0x103184,_0x341192),this[_0x3d5b3b(0x1e7)][_0x3d5b3b(0x233)]=![];}helper[_0x3d5b3b(0x23a)](_0x2715ce[_0x3d5b3b(0x220)][_0x3d5b3b(0x1d6)])&&(this[_0x3d5b3b(0x1e7)][_0x3d5b3b(0x1e3)]=_0x2715ce[_0x3d5b3b(0x220)][_0x3d5b3b(0x1d6)]);}if(testhubUtils['shouldProcessEventForTesthub']()){const _0x487060=new ObservabilityReporter();_0x487060[_0x3d5b3b(0x236)]();}this[_0x3d5b3b(0x1e7)]['browserStackGlobals']={},this['configuration']=_0x2715ce[_0x3d5b3b(0x220)],this[_0x3d5b3b(0x1cf)]['framework']=constants[_0x3d5b3b(0x20f)][_0x3d5b3b(0x21b)],this['global']['browserstackPlatformIndex']=(_0x2715ce['projectConfig']?_0x2715ce['projectConfig']['browserstackPlatformIndex']:_0x2715ce[_0x3d5b3b(0x21a)])||0x0,this['global'][_0x3d5b3b(0x224)]=this[_0x3d5b3b(0x1cf)]&&this[_0x3d5b3b(0x1cf)][_0x3d5b3b(0x239)]&&Array[_0x3d5b3b(0x204)](this[_0x3d5b3b(0x1cf)][_0x3d5b3b(0x239)])&&this[_0x3d5b3b(0x1cf)][_0x3d5b3b(0x239)][this[_0x3d5b3b(0x1e7)]['browserstackPlatformIndex']]||{};const _0xf6c886=this[_0x3d5b3b(0x1e7)]['browserstackPlatformIndex'],_0x429465={...this[_0x3d5b3b(0x1cf)],'capability':this[_0x3d5b3b(0x1cf)][_0x3d5b3b(0x23d)]&&Array[_0x3d5b3b(0x204)](this[_0x3d5b3b(0x1cf)][_0x3d5b3b(0x23d)])&&this[_0x3d5b3b(0x1cf)][_0x3d5b3b(0x23d)][_0xf6c886]||{},'platformCaps':this[_0x3d5b3b(0x1cf)]['platformCaps']&&Array[_0x3d5b3b(0x204)](this[_0x3d5b3b(0x1cf)][_0x3d5b3b(0x239)])&&this[_0x3d5b3b(0x1cf)][_0x3d5b3b(0x239)][_0xf6c886]||{}};delete _0x429465['capabilities'],this['global'][_0x3d5b3b(0x22a)]=_0x429465;if(_seleniumWebdriver2){const _0x3b5796=_0x15a1d8['vipZr'][_0x3d5b3b(0x222)]('|');let _0x96089c=0x0;while(!![]){switch(_0x3b5796[_0x96089c++]){case'0':this[_0x3d5b3b(0x1e7)]['cleanup']=async()=>{const _0xfe49e8=_0x3d5b3b;await this[_0xfe49e8(0x1e7)][_0xfe49e8(0x1ff)][_0xfe49e8(0x241)](_0x15a1d8[_0xfe49e8(0x1ee)]);};continue;case'1':this['global'][_0x3d5b3b(0x1d7)]=helper['isTrue'](this[_0x3d5b3b(0x1cf)][_0x3d5b3b(0x1e6)]);continue;case'2':this[_0x3d5b3b(0x1e7)][_0x3d5b3b(0x225)]=helper[_0x3d5b3b(0x1fa)](_0x2715ce,[_0x15a1d8[_0x3d5b3b(0x228)],_0x15a1d8[_0x3d5b3b(0x1f7)],_0x15a1d8[_0x3d5b3b(0x1d0)]]);continue;case'3':helper['isTrue'](this[_0x3d5b3b(0x1cf)]['skipSessionName'])?this[_0x3d5b3b(0x1e7)][_0x3d5b3b(0x1dc)]=!![]:this[_0x3d5b3b(0x1e7)][_0x3d5b3b(0x1dc)]=![];continue;case'4':this[_0x3d5b3b(0x1e7)]['__webdriver']=_0x15a1d8[_0x3d5b3b(0x1f3)](require,_0x15a1d8[_0x3d5b3b(0x20c)])['browserstackAgentV2']({...this[_0x3d5b3b(0x1cf)],'capability':this[_0x3d5b3b(0x1eb)]||{}},this,testhubUtils[_0x3d5b3b(0x1e4)]());continue;case'5':this[_0x3d5b3b(0x1e7)][_0x3d5b3b(0x20a)]=helper['nestedKeyValue'](_0x2715ce,[_0x15a1d8[_0x3d5b3b(0x228)],_0x15a1d8[_0x3d5b3b(0x1f7)],_0x15a1d8[_0x3d5b3b(0x240)]]);continue;case'6':this['global'][_0x3d5b3b(0x210)]=helper[_0x3d5b3b(0x1fa)](_0x2715ce,[_0x15a1d8['gBBtj'],_0x15a1d8[_0x3d5b3b(0x1f7)],_0x15a1d8[_0x3d5b3b(0x1ef)]]);continue;case'7':this[_0x3d5b3b(0x1e7)][_0x3d5b3b(0x1df)]=[];continue;}break;}}}async[a23_0x16d016(0x219)](){const _0x3ba396=a23_0x16d016;_seleniumWebdriver2&&(await helper['cleanupDrivers'](this[_0x3ba396(0x1e7)][_0x3ba396(0x1dd)]),this[_0x3ba396(0x1e7)]['__webdriver'][_0x3ba396(0x217)]=originalBuilder),await RequestQueueHandler[_0x3ba396(0x221)]()['shutdown']();}async['setup'](){}async['handleTestEvent'](_0x4b7d9b,_0x14aedd){const _0x54fa73=a23_0x16d016,_0x5ae396={};_0x5ae396[_0x54fa73(0x237)]=function(_0x48208a,_0x1cf851){return _0x48208a===_0x1cf851;},_0x5ae396[_0x54fa73(0x21e)]=_0x54fa73(0x216),_0x5ae396[_0x54fa73(0x213)]='skip',_0x5ae396[_0x54fa73(0x22f)]=function(_0x2d2e28,_0x445a4b){return _0x2d2e28===_0x445a4b;},_0x5ae396['hXKPq']=_0x54fa73(0x202),_0x5ae396['CqEDZ']='\x20>\x20',_0x5ae396[_0x54fa73(0x23b)]=function(_0x4f327d,_0x2afc98){return _0x4f327d===_0x2afc98;},_0x5ae396[_0x54fa73(0x215)]=_0x54fa73(0x208),_0x5ae396['EwuJZ']='teardown';const _0x1baf82=_0x5ae396,{name:_0x1d426a}=_0x4b7d9b;if(_0x1baf82[_0x54fa73(0x237)](_0x1d426a,_0x1baf82[_0x54fa73(0x21e)])){this[_0x54fa73(0x1e7)][_0x54fa73(0x1f2)]=_0x4b7d9b[_0x54fa73(0x203)];if(_0x1baf82[_0x54fa73(0x237)](this[_0x54fa73(0x1e7)]['failFastActive'],!![])){const _0x3dd8f0=_0x4b7d9b[_0x54fa73(0x203)][_0x54fa73(0x230)];logger[_0x54fa73(0x232)](_0x54fa73(0x22e)+_0x3dd8f0),_0x4b7d9b[_0x54fa73(0x203)][_0x54fa73(0x206)]=_0x1baf82[_0x54fa73(0x213)];}}if(this['failFast']&&_0x1baf82[_0x54fa73(0x22f)](_0x1d426a,_0x1baf82['hXKPq']))try{const _0x562b70=_0x4b7d9b[_0x54fa73(0x203)][_0x54fa73(0x1e8)][_0x54fa73(0x20e)](_0x1baf82[_0x54fa73(0x1e0)]),_0x3d6df4=_0x4b7d9b[_0x54fa73(0x203)]['errors'];await this[_0x54fa73(0x22c)][_0x54fa73(0x205)](_0x562b70,_0x3d6df4);const _0x14132f=await this[_0x54fa73(0x22c)][_0x54fa73(0x214)]();_0x1baf82[_0x54fa73(0x22f)](this['global'][_0x54fa73(0x233)],![])&&_0x1baf82[_0x54fa73(0x23b)](_0x14132f,!![])&&(this['global'][_0x54fa73(0x233)]=!![]);}catch(_0x5f0c09){logger['debug'](_0x1baf82[_0x54fa73(0x215)],_0x5f0c09[_0x54fa73(0x1f6)]);}_0x1baf82['YepBx'](_0x1d426a,_0x1baf82[_0x54fa73(0x1ed)])&&(this[_0x54fa73(0x22c)]&&this[_0x54fa73(0x22c)]['cleanup']());}}module[a23_0x16d016(0x226)]=CustomEnvironment;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a24_0x2e9f48=a24_0x33e9;(function(_0x1aee4d,_0x24a3cd){const _0x130d52=a24_0x33e9,_0x47094d=_0x1aee4d();while(!![]){try{const _0x268eb1=parseInt(_0x130d52(0xda))/0x1+-parseInt(_0x130d52(0xec))/0x2+parseInt(_0x130d52(0xdc))/0x3*(-parseInt(_0x130d52(0xc3))/0x4)+parseInt(_0x130d52(0xfc))/0x5*(parseInt(_0x130d52(0xb4))/0x6)+parseInt(_0x130d52(0x11a))/0x7+-parseInt(_0x130d52(0x143))/0x8+-parseInt(_0x130d52(0xab))/0x9*(parseInt(_0x130d52(0x107))/0xa);if(_0x268eb1===_0x24a3cd)break;else _0x47094d['push'](_0x47094d['shift']());}catch(_0x3291ef){_0x47094d['push'](_0x47094d['shift']());}}}(a24_0x3353,0x5bc35));const {requireModule,isTrue}=require(a24_0x2e9f48(0x167)),ObservabilityReporter=require('../test-observability/obsReporter'),RequestQueueHandler=require(a24_0x2e9f48(0xd0)),TestDetails=require('../test-observability/test-details'),{patchConsoleLogger,debug}=require('../../../helpers/test-observability/utils'),{o11yErrorHandler}=require(a24_0x2e9f48(0xd4)),{shouldProcessEventForTesthub}=require(a24_0x2e9f48(0x9a)),testHubConstants=require(a24_0x2e9f48(0x114)),BrowserstackCLI=require(a24_0x2e9f48(0x13d)),TestFrameworkState=require(a24_0x2e9f48(0x109)),HookState=require(a24_0x2e9f48(0x179)),JestUtils=require(a24_0x2e9f48(0x136)),{v4:uuidv4}=require('uuid'),util=require(a24_0x2e9f48(0xe9)),logger=require(a24_0x2e9f48(0xbd))['winstonLogger'],{FRAMEWORKS}=require(a24_0x2e9f48(0xa8));let exportsI;try{exportsI=requireModule('jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','jest-circus');}catch{exportsI=requireModule(a24_0x2e9f48(0xe7),'jest-circus');}const initInitialize=exportsI[a24_0x2e9f48(0x11c)],jestUtils=new JestUtils(),_initializedPlatformIndices=new Set();let _currentTestPath=null;function getFullJestTestName(_0x219851){const _0xb2bc10=a24_0x2e9f48,_0x26c6a={};_0x26c6a[_0xb2bc10(0x165)]=function(_0x1bed39,_0x5713bd){return _0x1bed39!==_0x5713bd;},_0x26c6a[_0xb2bc10(0x133)]=_0xb2bc10(0xb6);const _0x1efd63=_0x26c6a;try{const _0x241ae4=[];let _0x2cdb68=_0x219851;while(_0x2cdb68){_0x2cdb68['name']&&_0x1efd63[_0xb2bc10(0x165)](_0x2cdb68[_0xb2bc10(0x17a)],_0x1efd63[_0xb2bc10(0x133)])&&_0x241ae4['unshift'](_0x2cdb68[_0xb2bc10(0x17a)]),_0x2cdb68=_0x2cdb68['parent'];}return _0x241ae4[_0xb2bc10(0x135)]('\x20');}catch(_0x438a34){return _0x219851&&_0x219851[_0xb2bc10(0x17a)]||'';}}function getActiveTestNamePattern(){const _0x3d5428=a24_0x2e9f48,_0x26e996={'rlUbe':function(_0x51f9f1,_0x268a1a,_0x1c2db8){return _0x51f9f1(_0x268a1a,_0x1c2db8);},'XznzZ':_0x3d5428(0x18f),'RfDtt':_0x3d5428(0x125),'fajnf':function(_0x5cfdd5,_0x40545f){return _0x5cfdd5(_0x40545f);},'cKdOm':function(_0x173a2b,_0x1075bf){return _0x173a2b===_0x1075bf;},'EltpW':_0x3d5428(0xd1),'SaqWn':function(_0x2fa4ce,_0x27962b){return _0x2fa4ce instanceof _0x27962b;},'maVEC':'string','jVfyz':function(_0x52352e,_0x3c0e63){return _0x52352e>_0x3c0e63;},'gTeiJ':function(_0x26df47,_0x5b4b7d){return _0x26df47<_0x5b4b7d;},'oxlcm':function(_0x255cd9,_0x23c49c){return _0x255cd9===_0x23c49c;},'LagSe':_0x3d5428(0x105),'UhAAJ':function(_0xee5d6,_0x4fd1f6){return _0xee5d6+_0x4fd1f6;},'yfJVu':'--testNamePattern=','FZQRw':_0x3d5428(0x195)};try{let _0x330548;try{_0x330548=_0x26e996['rlUbe'](requireModule,_0x26e996['XznzZ'],_0x26e996[_0x3d5428(0xe0)]);}catch{_0x330548=_0x26e996[_0x3d5428(0xf3)](requireModule,_0x26e996[_0x3d5428(0xe0)]);}if(_0x330548&&_0x26e996['cKdOm'](typeof _0x330548[_0x3d5428(0x153)],_0x26e996[_0x3d5428(0xd5)])){const _0x10522d=_0x330548[_0x3d5428(0x153)]();if(_0x10522d&&_0x10522d[_0x3d5428(0x197)]){if(_0x26e996[_0x3d5428(0xea)](_0x10522d[_0x3d5428(0x197)],RegExp))return _0x10522d['testNamePattern'];if(_0x26e996[_0x3d5428(0x10f)](typeof _0x10522d['testNamePattern'],_0x26e996[_0x3d5428(0x170)])&&_0x26e996['jVfyz'](_0x10522d[_0x3d5428(0x197)]['length'],0x0))return new RegExp(_0x10522d[_0x3d5428(0x197)],'i');}}}catch(_0x5732ee){}try{const _0x2464ea=process[_0x3d5428(0xf9)]||[];for(let _0x2e23b0=0x0;_0x26e996[_0x3d5428(0x100)](_0x2e23b0,_0x2464ea[_0x3d5428(0x149)]);_0x2e23b0++){const _0x20214b=_0x2464ea[_0x2e23b0];if(_0x26e996['oxlcm'](_0x20214b,'-t')||_0x26e996[_0x3d5428(0x10f)](_0x20214b,_0x26e996[_0x3d5428(0x140)])){const _0x1b9136=_0x2464ea[_0x26e996[_0x3d5428(0x164)](_0x2e23b0,0x1)];if(_0x1b9136&&!_0x1b9136[_0x3d5428(0x96)]('-'))return new RegExp(_0x1b9136,'i');}else{if(_0x20214b&&(_0x20214b[_0x3d5428(0x96)](_0x26e996['yfJVu'])||_0x20214b[_0x3d5428(0x96)](_0x26e996['FZQRw']))){const _0x1ff64e=_0x20214b[_0x3d5428(0xc7)]('=')[_0x3d5428(0x157)](0x1)[_0x3d5428(0x135)]('=');if(_0x1ff64e)return new RegExp(_0x1ff64e,'i');}}}}catch(_0x4d1470){}return null;}function isPhantomSkipFromNameFilter(_0x15b424){const _0x54a962=a24_0x2e9f48,_0x13b4e8={'GNfCq':function(_0x4c0c93){return _0x4c0c93();},'sKbak':function(_0x4b4c2c,_0x795cd4){return _0x4b4c2c(_0x795cd4);}},_0x50cf2d=_0x13b4e8[_0x54a962(0x13b)](getActiveTestNamePattern);if(!_0x50cf2d)return![];const _0x336fca=_0x13b4e8[_0x54a962(0x11e)](getFullJestTestName,_0x15b424);if(!_0x336fca)return![];return!_0x50cf2d['test'](_0x336fca);}async function isCLIReady(){const _0x1ceae7=a24_0x2e9f48,_0x15c3dd={'AWGHH':_0x1ceae7(0x168),'ctlls':function(_0x557c3a,_0x1069fe){return _0x557c3a(_0x1069fe);},'UoscL':_0x1ceae7(0x145),'eMZcm':function(_0x43cf17,_0x55c8ea){return _0x43cf17===_0x55c8ea;},'LWujS':_0x1ceae7(0x12d),'BDLqd':function(_0x4102f3,_0x3fce2f){return _0x4102f3(_0x3fce2f);},'XBKdf':function(_0x10ef1e,_0x2cccdd){return _0x10ef1e(_0x2cccdd);}};try{const _0x1ff6c3=BrowserstackCLI[_0x1ceae7(0x120)]();if(_0x1ff6c3['isCliEnabled']()&&_0x1ff6c3[_0x1ceae7(0x127)]())return logger[_0x1ceae7(0xe3)](_0x15c3dd[_0x1ceae7(0x14f)]),!![];const _0x24b4bb=process[_0x1ceae7(0x10e)][_0x1ceae7(0xa9)];if(_0x24b4bb&&_0x1ff6c3[_0x1ceae7(0x110)]()){if(!_0x1ff6c3[_0x1ceae7(0x127)]())try{const _0x25989d=_0x15c3dd[_0x1ceae7(0x19a)](require,_0x15c3dd[_0x1ceae7(0x16e)]),_0x5f4167=_0x25989d[_0x1ceae7(0x18b)]();(!_0x5f4167||!_0x5f4167[_0x1ceae7(0x17a)])&&(_0x15c3dd[_0x1ceae7(0xac)](process['env'][_0x1ceae7(0xbc)],_0x15c3dd[_0x1ceae7(0x17d)])?_0x25989d[_0x1ceae7(0xb5)](FRAMEWORKS[_0x1ceae7(0x15b)],FRAMEWORKS[_0x1ceae7(0x182)]):_0x25989d['setFrameworkDetail'](FRAMEWORKS[_0x1ceae7(0x15b)],FRAMEWORKS[_0x1ceae7(0x18c)])),await _0x1ff6c3[_0x1ceae7(0x17b)]();}catch(_0x34a635){return _0x15c3dd[_0x1ceae7(0x184)](debug,_0x1ceae7(0xe5)+util[_0x1ceae7(0x161)](_0x34a635)),![];}return _0x1ff6c3[_0x1ceae7(0x127)]();}return![];}catch(_0x3db5ef){return _0x15c3dd['XBKdf'](debug,_0x1ceae7(0x123)+util['format'](_0x3db5ef)),![];}}function getTestIdentifierForHook(_0x8b2649){const _0x494eac=a24_0x2e9f48,_0x1ed677={};_0x1ed677[_0x494eac(0x185)]=function(_0x1cb1fd,_0x62ab22){return _0x1cb1fd===_0x62ab22;},_0x1ed677['bSqZo']=_0x494eac(0x172),_0x1ed677[_0x494eac(0x112)]=_0x494eac(0x14e),_0x1ed677['orNUK']=function(_0x2dd79a,_0x6ac565){return _0x2dd79a===_0x6ac565;};const _0x24e0f2=_0x1ed677;if(_0x24e0f2[_0x494eac(0x185)](_0x8b2649[_0x494eac(0x117)],_0x24e0f2[_0x494eac(0x15c)])||_0x24e0f2[_0x494eac(0x185)](_0x8b2649['type'],_0x24e0f2[_0x494eac(0x112)])){let _0x4a9be5=global[_0x494eac(0x10a)];if(!_0x4a9be5&&_0x24e0f2[_0x494eac(0xc9)](_0x8b2649[_0x494eac(0x117)],_0x24e0f2['obuEu'])&&_0x8b2649[_0x494eac(0xf5)]){const _0x4bb27c={};_0x4bb27c[_0x494eac(0x17a)]=_0x8b2649[_0x494eac(0xf5)][_0x494eac(0x17a)],_0x4bb27c['parent']=_0x8b2649[_0x494eac(0xf5)][_0x494eac(0xf5)],_0x4bb27c[_0x494eac(0x183)]=_0x8b2649[_0x494eac(0x183)],_0x4bb27c[_0x494eac(0x16b)]=_0x8b2649[_0x494eac(0x16b)];const _0x46fa31=_0x4bb27c;_0x4a9be5=jestUtils[_0x494eac(0xc8)](_0x46fa31);}return _0x4a9be5;}return global[_0x494eac(0x10a)];}function mapHookTypeToState(_0x4a49ac){const _0x4ed5dc=a24_0x2e9f48,_0x4928a3={};_0x4928a3[_0x4ed5dc(0x14e)]=TestFrameworkState['BEFORE_ALL'],_0x4928a3[_0x4ed5dc(0xf2)]=TestFrameworkState['AFTER_ALL'],_0x4928a3['beforeEach']=TestFrameworkState[_0x4ed5dc(0x147)],_0x4928a3[_0x4ed5dc(0xa2)]=TestFrameworkState[_0x4ed5dc(0x196)];const _0xe4392c=_0x4928a3;return _0xe4392c[_0x4a49ac]||TestFrameworkState[_0x4ed5dc(0x147)];}async function handleHookEventCLI(_0xbd5fe3,_0x3d66cc,_0x2968b4){const _0x1cda53=a24_0x2e9f48,_0x42da41={'oFoOw':function(_0x262071,_0x1683bc){return _0x262071(_0x1683bc);},'WYcZX':_0x1cda53(0xc2),'AZfKm':function(_0x1a8803,_0x223600){return _0x1a8803===_0x223600;},'lyKXH':_0x1cda53(0xb6),'xgCkB':function(_0x4f0086){return _0x4f0086();},'XrbGF':function(_0x5a4312,_0x4ca2fe){return _0x5a4312===_0x4ca2fe;},'tBwlE':_0x1cda53(0xf4),'NRjlQ':function(_0x23ca34,_0x2bece5){return _0x23ca34(_0x2bece5);},'RUSwO':_0x1cda53(0x11f),'EKPQM':_0x1cda53(0x155)};logger[_0x1cda53(0xe3)]('Handling\x20hook\x20event\x20for\x20CLI:\x20'+_0x3d66cc+'\x20for\x20hook\x20type:\x20'+_0xbd5fe3[_0x1cda53(0x117)]);try{if(_0xbd5fe3['fn']&&_0xbd5fe3['fn'][_0x1cda53(0x180)]()[_0x1cda53(0x130)](/browserstack internal helper hook/))return;if(_0xbd5fe3[_0x1cda53(0xf5)]&&_0x42da41['AZfKm'](_0xbd5fe3[_0x1cda53(0xf5)]['name'],_0x42da41[_0x1cda53(0xf7)])){const _0x4fe13e=_0xbd5fe3['asyncError']&&((()=>{const _0x4567e8=_0x1cda53;try{const _0x108046=_0x42da41[_0x4567e8(0xf0)](require,_0x42da41[_0x4567e8(0x11d)]),_0x3b7169=_0x108046[_0x4567e8(0x13a)]['call'](_0x108046,_0xbd5fe3[_0x4567e8(0x183)]);return _0x3b7169[0x0]&&_0x3b7169[0x0]['getFileName']?_0x3b7169[0x0]['getFileName']():null;}catch(_0x4833fc){return logger[_0x4567e8(0xe3)](_0x4567e8(0xd8)+_0x4833fc[_0x4567e8(0xe4)]),null;}})())||_0xbd5fe3[_0x1cda53(0x16b)]||null;if(!_0x4fe13e)return;}let _0x36432c=_0xbd5fe3['hookAnalyticsId'];if(!_0x36432c)_0x36432c=_0x42da41[_0x1cda53(0xad)](uuidv4),_0xbd5fe3[_0x1cda53(0xc4)]=_0x36432c;else _0xbd5fe3[_0x1cda53(0xcc)]&&(_0x36432c=_0x42da41['xgCkB'](uuidv4),_0xbd5fe3['hookAnalyticsId']=_0x36432c,delete _0xbd5fe3['markedStatus']);_0x42da41['XrbGF'](_0x3d66cc,_0x42da41['tBwlE'])&&(_0xbd5fe3['started_at']=new Date()[_0x1cda53(0x108)]());const _0x2f4683=_0x42da41[_0x1cda53(0xf0)](getTestIdentifierForHook,_0xbd5fe3);!global[_0x1cda53(0xb1)]&&(global['__workerDetails']={});if(_0x42da41['AZfKm'](_0x3d66cc,_0x42da41['tBwlE'])){global[_0x1cda53(0xb1)][_0x1cda53(0x181)]={'hookUUID':_0x36432c,'testIdentifier':_0x2f4683,'hookType':_0xbd5fe3['type'],'startedAt':new Date()[_0x1cda53(0x108)]()};const _0x52b078=BrowserstackCLI[_0x1cda53(0x120)]()[_0x1cda53(0x15e)]();_0x52b078&&_0x52b078[_0x1cda53(0x131)]&&_0x52b078[_0x1cda53(0x131)](_0x2f4683,_0x36432c,_0xbd5fe3[_0x1cda53(0x117)]);}const _0x57ded2=await jestUtils[_0x1cda53(0x188)](_0xbd5fe3,_0x36432c,_0x3d66cc,_0x2f4683);if(!_0x57ded2)return;const _0xf27aec=_0x42da41['NRjlQ'](mapHookTypeToState,_0xbd5fe3[_0x1cda53(0x117)]),_0x45a149=_0x42da41[_0x1cda53(0x14a)](_0x3d66cc,_0x42da41[_0x1cda53(0xb3)])?HookState[_0x1cda53(0xbb)]:HookState['POST'],_0x1fef21=BrowserstackCLI[_0x1cda53(0x120)]()[_0x1cda53(0x15e)]();if(_0x1fef21){const _0x2a9ead={};_0x2a9ead['hookData']=_0x57ded2,await _0x1fef21[_0x1cda53(0x121)](_0xf27aec,_0x45a149,_0x2a9ead);if(_0x42da41['AZfKm'](_0x3d66cc,_0x42da41[_0x1cda53(0x169)])){const _0x5bfd83={};_0x5bfd83[_0x1cda53(0xa1)]=_0x2f4683,_0x5bfd83[_0x1cda53(0x117)]=_0x42da41[_0x1cda53(0x14b)],await _0x1fef21['trackEvent'](TestFrameworkState[_0x1cda53(0x9d)],HookState[_0x1cda53(0xe6)],_0x5bfd83),global['__workerDetails']&&global[_0x1cda53(0xb1)]['currentHook']&&_0x42da41[_0x1cda53(0x171)](global[_0x1cda53(0xb1)]['currentHook'][_0x1cda53(0x16d)],_0x36432c)&&delete global[_0x1cda53(0xb1)][_0x1cda53(0x181)],_0x1fef21['removeActiveHook']&&_0x1fef21['removeActiveHook'](_0x2f4683,_0x36432c);}}}catch(_0x42d06f){logger[_0x1cda53(0x97)]('Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20'+util[_0x1cda53(0x161)](_0x42d06f));throw _0x42d06f;}}function a24_0x33e9(_0x195b6b,_0xbd7116){const _0x3353a6=a24_0x3353();return a24_0x33e9=function(_0x33e959,_0x2d2f8e){_0x33e959=_0x33e959-0x94;let _0x4e75c1=_0x3353a6[_0x33e959];return _0x4e75c1;},a24_0x33e9(_0x195b6b,_0xbd7116);}async function handleTestEventCLI(_0x2d29b2,_0x12572b,_0x5d8199){const _0x6941b=a24_0x2e9f48,_0x2e6a92={};_0x2e6a92[_0x6941b(0x9b)]=function(_0x2ff513,_0x11d49d){return _0x2ff513===_0x11d49d;},_0x2e6a92['xpmxL']=_0x6941b(0x118),_0x2e6a92[_0x6941b(0x9e)]=function(_0x1a0261,_0x588bab){return _0x1a0261>_0x588bab;},_0x2e6a92['LpODN']=function(_0x2787d0,_0x35e060){return _0x2787d0===_0x35e060;},_0x2e6a92[_0x6941b(0x158)]=function(_0x18a69c,_0x53448d){return _0x18a69c&&_0x53448d;},_0x2e6a92[_0x6941b(0xcd)]=_0x6941b(0x152),_0x2e6a92[_0x6941b(0x12a)]=_0x6941b(0xb9),_0x2e6a92[_0x6941b(0x194)]=function(_0x31a169,_0x3b6565){return _0x31a169&&_0x3b6565;},_0x2e6a92[_0x6941b(0xc5)]=function(_0x4c11a7,_0x102fd2){return _0x4c11a7&&_0x102fd2;},_0x2e6a92[_0x6941b(0x99)]='test';const _0x19bfed=_0x2e6a92;logger['debug'](_0x6941b(0xaa)+_0x12572b);try{let _0xb33546;if(_0x19bfed[_0x6941b(0x9b)](_0x12572b,_0x19bfed[_0x6941b(0xd7)])){_0xb33546=jestUtils[_0x6941b(0xc8)](_0x2d29b2),global[_0x6941b(0x10a)]=_0xb33546,_0x2d29b2['testAnalyticsId']=_0xb33546,_0x2d29b2['id']=_0xb33546,_0x2d29b2['started_at']=new Date()[_0x6941b(0x108)]();const _0x53db35=_0x5d8199['current_test'];_0x5d8199[_0x6941b(0x193)]=_0x2d29b2,_0x2d29b2[_0x6941b(0x151)]=null;if(_0x19bfed[_0x6941b(0x9e)](_0x2d29b2[_0x6941b(0x174)],0x0)&&_0x53db35&&_0x19bfed[_0x6941b(0xfb)](_0x53db35['title'],_0x2d29b2[_0x6941b(0xb8)])){_0x2d29b2[_0x6941b(0x151)]=_0x53db35[_0x6941b(0x156)];const _0x17f245=await jestUtils['createTestFrameworkData'](_0x2d29b2,_0xb33546,_0x19bfed[_0x6941b(0xd7)]),_0x32cfe5=BrowserstackCLI[_0x6941b(0x120)]()[_0x6941b(0x15e)]();if(_0x19bfed[_0x6941b(0x158)](_0x17f245,_0x32cfe5)){const _0x2883e4={};_0x2883e4[_0x6941b(0x116)]=_0x17f245,await _0x32cfe5[_0x6941b(0x121)](TestFrameworkState[_0x6941b(0xbe)],HookState[_0x6941b(0xbb)],_0x2883e4);}_0x53db35[_0x6941b(0x12f)]=_0x19bfed[_0x6941b(0xcd)];const _0x27a076=await jestUtils[_0x6941b(0xfa)](_0x53db35,_0x53db35['testAnalyticsId'],_0x19bfed[_0x6941b(0x12a)]);if(_0x19bfed[_0x6941b(0x194)](_0x27a076,_0x32cfe5)){const _0x2e1cb5={};_0x2e1cb5[_0x6941b(0x116)]=_0x27a076,await _0x32cfe5[_0x6941b(0x121)](TestFrameworkState[_0x6941b(0xbe)],HookState['POST'],_0x2e1cb5);}}else{const _0x30914e=await jestUtils[_0x6941b(0xfa)](_0x2d29b2,_0xb33546,_0x19bfed[_0x6941b(0xd7)]),_0x3bb742=BrowserstackCLI[_0x6941b(0x120)]()['getTestFramework']();if(_0x19bfed[_0x6941b(0xc5)](_0x30914e,_0x3bb742)){const _0x113f9c={};_0x113f9c['test']=_0x30914e,await _0x3bb742[_0x6941b(0x121)](TestFrameworkState[_0x6941b(0xbe)],HookState['PRE'],_0x113f9c);}}}else{_0xb33546=_0x2d29b2['testAnalyticsId']||_0x2d29b2['id']||global[_0x6941b(0x10a)];const _0x4792ae=await jestUtils[_0x6941b(0xfa)](_0x2d29b2,_0xb33546,_0x12572b),_0x16f2dd=BrowserstackCLI['getInstance']()[_0x6941b(0x15e)]();if(_0x19bfed[_0x6941b(0xc5)](_0x4792ae,_0x16f2dd)){const _0x4407b7={};_0x4407b7[_0x6941b(0x116)]=_0x4792ae,_0x4407b7[_0x6941b(0x102)]=_0x2d29b2,_0x4407b7[_0x6941b(0x163)]=_0xb33546,await _0x16f2dd[_0x6941b(0x121)](TestFrameworkState[_0x6941b(0xbe)],HookState[_0x6941b(0xe6)],_0x4407b7);const _0x475aa3={};_0x475aa3[_0x6941b(0xa1)]=_0xb33546,_0x475aa3[_0x6941b(0x117)]=_0x19bfed[_0x6941b(0x99)],await _0x16f2dd[_0x6941b(0x121)](TestFrameworkState[_0x6941b(0x9d)],HookState['POST'],_0x475aa3);}}}catch(_0x14fc1b){logger[_0x6941b(0x97)](_0x6941b(0xa7)+util[_0x6941b(0x161)](_0x14fc1b));throw _0x14fc1b;}}exportsI['initialize']=(..._0x24434a)=>{const _0x491b25=a24_0x2e9f48,_0x3476c0={'NnGDy':function(_0x399216,_0xd1f5db){return _0x399216(_0xd1f5db);},'ZYoIU':_0x491b25(0xc2),'RNXQz':function(_0x3213cc,_0x304dc4){return _0x3213cc&&_0x304dc4;},'gJgLa':'hook_start','EnUFL':function(_0x5a0015,_0x2a4610){return _0x5a0015===_0x2a4610;},'WUkAz':_0x491b25(0xb6),'udJGH':function(_0x46fcb5){return _0x46fcb5();},'cBjfB':function(_0x41cac6,_0x181c97,_0x3e688a,_0x11230b){return _0x41cac6(_0x181c97,_0x3e688a,_0x11230b);},'Zqbmr':'HookRunStarted','oVMev':function(_0x33bbd1,_0x2dde56){return _0x33bbd1(_0x2dde56);},'FcFOL':_0x491b25(0xa6),'cDtGJ':_0x491b25(0x11f),'cpAgQ':'hook_failure','pGqek':'beforeAll','SeLaA':'beforeEach','jigvJ':_0x491b25(0xa2),'ZSbpP':function(_0x6e4ac,_0xc727d9){return _0x6e4ac>_0xc727d9;},'jdKMa':function(_0x44aa42){return _0x44aa42();},'ULHCx':function(_0x36c62f,_0x2792f8,_0x4caec6,_0x57363a){return _0x36c62f(_0x2792f8,_0x4caec6,_0x57363a);},'cPsgH':function(_0x2e698d,_0x5a8cb5){return _0x2e698d(_0x5a8cb5);},'RVHiS':_0x491b25(0x14d),'KpkXB':function(_0xb7b2d4,_0x2c4934){return _0xb7b2d4!==_0x2c4934;},'fYqyj':_0x491b25(0xef),'lEYxU':_0x491b25(0x118),'POIPh':function(_0x8e7cb8){return _0x8e7cb8();},'dAljb':_0x491b25(0x128),'bQsQf':function(_0x576023,_0x361b53){return _0x576023(_0x361b53);},'rtNgQ':function(_0x4c33d0,_0x536af4){return _0x4c33d0(_0x536af4);},'yRCkq':_0x491b25(0x12c),'tKtYy':_0x491b25(0x152),'wEbvX':_0x491b25(0x175),'UhJeP':function(_0x5a827b,_0x53bd29){return _0x5a827b||_0x53bd29;},'YOOlm':_0x491b25(0xb9),'YXzXO':function(_0x3bf454,_0x3c7c86){return _0x3bf454(_0x3c7c86);},'oUDFB':_0x491b25(0xd2),'PBQIB':function(_0x30cd12,_0x41560b){return _0x30cd12(_0x41560b);},'EOKUQ':_0x491b25(0x132),'qtipB':_0x491b25(0xdd),'PrDdA':_0x491b25(0x18d),'MgILV':_0x491b25(0x186),'UWqXR':_0x491b25(0x16f),'owlTn':function(_0x1c59d2,_0x26c935){return _0x1c59d2===_0x26c935;},'kAXbD':function(_0x36fbb5,_0x25a5b6){return _0x36fbb5===_0x25a5b6;},'yOXZO':function(_0x30d14e,_0xe7e538){return _0x30d14e(_0xe7e538);},'DzPLD':function(_0x24bf3e){return _0x24bf3e();},'VtRth':function(_0x370992,_0x5212b5,_0x1aff6b){return _0x370992(_0x5212b5,_0x1aff6b);},'amakT':'jest-circus/build/state.js','VbpsH':'jest-circus','Npdvq':function(_0x190c33,_0x11702d){return _0x190c33(_0x11702d);},'EPXeS':function(_0x5c61ba,_0x1930a4,_0x1e5a87){return _0x5c61ba(_0x1930a4,_0x1e5a87);},'Qdwrt':_0x491b25(0x12e),'plrlD':function(_0x33f5cc){return _0x33f5cc();},'rOmHX':_0x491b25(0x137),'NCtZc':function(_0x3cc15b,_0x1ad001){return _0x3cc15b(_0x1ad001);},'fZjpF':function(_0x524e38,..._0x4e18fa){return _0x524e38(..._0x4e18fa);}};try{logger['debug']('[customJestAdapterInit]\x20initialize\x20called,\x20shouldProcessEventForTesthub='+_0x3476c0[_0x491b25(0xcb)](shouldProcessEventForTesthub)+_0x491b25(0x19c)+process[_0x491b25(0x10e)][_0x491b25(0xbc)]);const _0xc1d720=_0x24434a&&_0x24434a[0x0]?_0x24434a[0x0]:{};_0xc1d720&&_0x3476c0[_0x491b25(0x146)](typeof _0xc1d720['testPath'],_0x3476c0[_0x491b25(0x9f)])&&_0xc1d720[_0x491b25(0xaf)]&&(_currentTestPath=_0xc1d720[_0x491b25(0xaf)]);let _0x4c1628=0x0;try{if(_0xc1d720['config']&&_0x3476c0[_0x491b25(0x146)](typeof _0xc1d720['config'][_0x491b25(0x94)],_0x3476c0['UWqXR']))_0x4c1628=_0xc1d720[_0x491b25(0xa5)][_0x491b25(0x94)];else{if(_0xc1d720[_0x491b25(0x124)]&&_0x3476c0[_0x491b25(0xd9)](typeof _0xc1d720[_0x491b25(0x124)][_0x491b25(0x94)],_0x3476c0[_0x491b25(0xfe)]))_0x4c1628=_0xc1d720[_0x491b25(0x124)][_0x491b25(0x94)];else global[_0x491b25(0xe8)]&&_0x3476c0[_0x491b25(0x139)](typeof global[_0x491b25(0xe8)][_0x491b25(0x94)],_0x3476c0['UWqXR'])&&(_0x4c1628=global[_0x491b25(0xe8)][_0x491b25(0x94)]);}}catch(_0x1df03b){logger[_0x491b25(0xe3)](_0x491b25(0x17e)+util[_0x491b25(0x161)](_0x1df03b));}global[_0x491b25(0xca)]=_0x4c1628,process[_0x491b25(0x10e)][_0x491b25(0x11b)]=_0x3476c0[_0x491b25(0x13e)](String,_0x4c1628);const _0x2f02d8=new ObservabilityReporter();!_initializedPlatformIndices[_0x491b25(0x187)](_0x4c1628)?(logger['debug'](_0x491b25(0x104)+_0x4c1628),_initializedPlatformIndices['add'](_0x4c1628),_0x3476c0[_0x491b25(0x17c)](shouldProcessEventForTesthub)&&(_0x3476c0[_0x491b25(0xd3)](patchConsoleLogger),_0x2f02d8['registerListeners']())):logger[_0x491b25(0xe3)](_0x491b25(0x178)+_0x4c1628+_0x491b25(0xd6));let _0x395e52;try{_0x395e52=_0x3476c0['VtRth'](requireModule,_0x3476c0['amakT'],_0x3476c0['VbpsH']);}catch{_0x395e52=_0x3476c0[_0x491b25(0x103)](requireModule,_0x3476c0['VbpsH']);}let _0x2c1d33;try{_0x2c1d33=_0x3476c0[_0x491b25(0xf6)](requireModule,_0x3476c0['Qdwrt'],_0x3476c0[_0x491b25(0x12b)])['makeSingleTestResult'];}catch{_0x2c1d33=_0x3476c0[_0x491b25(0x98)](requireModule,_0x3476c0['VbpsH'])[_0x491b25(0xc0)]||(()=>({}));}const _0x16fa43=BrowserstackCLI[_0x491b25(0x120)]()[_0x491b25(0x110)]();(_0x3476c0[_0x491b25(0x9c)](shouldProcessEventForTesthub)||_0x16fa43)&&_0x395e52[_0x491b25(0x162)](_0x3476c0[_0x491b25(0xf6)](o11yErrorHandler,async(_0x583692,_0x419310)=>{const _0x452a09=_0x491b25;_0x3476c0[_0x452a09(0xbf)](_currentTestPath,_0x583692)&&_0x583692[_0x452a09(0x116)]&&!_0x583692[_0x452a09(0x116)][_0x452a09(0x16b)]&&(_0x583692[_0x452a09(0x116)][_0x452a09(0x16b)]=_currentTestPath);switch(_0x583692[_0x452a09(0x17a)]){case _0x3476c0[_0x452a09(0xae)]:if(_0x583692[_0x452a09(0x155)]['fn']&&_0x583692[_0x452a09(0x155)]['fn'][_0x452a09(0x180)]()[_0x452a09(0x130)](/browserstack internal helper hook/))break;if(_0x583692[_0x452a09(0x155)][_0x452a09(0xf5)]&&_0x3476c0[_0x452a09(0x146)](_0x583692[_0x452a09(0x155)][_0x452a09(0xf5)][_0x452a09(0x17a)],_0x3476c0[_0x452a09(0x115)])){const _0x52ee35=_0x583692['hook'][_0x452a09(0x183)]&&((()=>{const _0x48fd8e=_0x452a09;try{const _0x1471c9=_0x3476c0['NnGDy'](require,_0x3476c0[_0x48fd8e(0x13f)]),_0x4c0724=_0x1471c9[_0x48fd8e(0x13a)][_0x48fd8e(0xc1)](_0x1471c9,_0x583692['hook'][_0x48fd8e(0x183)]);return _0x4c0724[0x0]&&_0x4c0724[0x0][_0x48fd8e(0x142)]?_0x4c0724[0x0][_0x48fd8e(0x142)]():null;}catch(_0x3d0f46){return logger[_0x48fd8e(0xe3)](_0x48fd8e(0xd8)+_0x3d0f46['message']),null;}})())||_0x583692['hook'][_0x452a09(0x16b)]||null;if(!_0x52ee35)break;}if(BrowserstackCLI[_0x452a09(0x120)]()[_0x452a09(0x110)]()&&await _0x3476c0[_0x452a09(0xcb)](isCLIReady)){if(_0x3476c0[_0x452a09(0x15d)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x452a09(0xed)]))try{await _0x3476c0[_0x452a09(0x106)](handleHookEventCLI,_0x583692[_0x452a09(0x155)],_0x3476c0['Zqbmr'],_0x419310);break;}catch(_0x4c99a9){_0x3476c0[_0x452a09(0x15d)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util['format'](_0x4c99a9));}}if(_0x3476c0[_0x452a09(0xa0)](shouldProcessEventForTesthub,testHubConstants[_0x452a09(0x177)][_0x452a09(0xed)])){if(!_0x583692[_0x452a09(0x155)][_0x452a09(0xc4)]){const _0x42b7ff=TestDetails[_0x452a09(0x141)](process[_0x452a09(0xb2)]+_0x452a09(0x13c));_0x583692[_0x452a09(0x155)][_0x452a09(0xc4)]=_0x42b7ff;}else _0x583692[_0x452a09(0x155)][_0x452a09(0xcc)]&&(_0x583692[_0x452a09(0x155)][_0x452a09(0xc4)]=TestDetails[_0x452a09(0x141)](process[_0x452a09(0xb2)]+_0x452a09(0x13c)),delete _0x583692[_0x452a09(0x155)][_0x452a09(0xcc)]);_0x583692[_0x452a09(0x155)][_0x452a09(0x173)]=new Date()[_0x452a09(0x108)](),await _0x2f02d8[_0x452a09(0x150)](_0x583692[_0x452a09(0x155)],undefined,![],_0x3476c0[_0x452a09(0xe2)]);}break;case _0x3476c0[_0x452a09(0xa3)]:if(BrowserstackCLI['getInstance']()[_0x452a09(0x110)]()&&await _0x3476c0[_0x452a09(0xcb)](isCLIReady)){if(_0x3476c0[_0x452a09(0x15d)](shouldProcessEventForTesthub,testHubConstants[_0x452a09(0x177)][_0x452a09(0x16a)]))try{await _0x3476c0['cBjfB'](handleHookEventCLI,_0x583692['hook'],_0x3476c0[_0x452a09(0xb0)],_0x419310);break;}catch(_0x5b5e7e){_0x3476c0[_0x452a09(0x15d)](debug,_0x452a09(0x144)+util[_0x452a09(0x161)](_0x5b5e7e));}}_0x3476c0[_0x452a09(0x15d)](shouldProcessEventForTesthub,testHubConstants[_0x452a09(0x177)][_0x452a09(0x16a)])&&(await _0x2f02d8['sendTestRunEvent'](_0x583692[_0x452a09(0x155)],undefined,![],_0x3476c0[_0x452a09(0xb0)]),TestDetails[_0x452a09(0x15f)](process['pid']+_0x452a09(0x13c)));break;case _0x3476c0[_0x452a09(0xeb)]:[_0x3476c0['pGqek'],_0x3476c0[_0x452a09(0xa4)],_0x3476c0[_0x452a09(0x113)]]['includes'](_0x583692[_0x452a09(0x155)]['type'])&&(_0x2f02d8[_0x452a09(0x19b)]=_0x583692[_0x452a09(0x155)][_0x452a09(0x117)]),_0x419310[_0x452a09(0xf8)]&&_0x3476c0['ZSbpP'](_0x419310[_0x452a09(0xf8)][_0x452a09(0x149)],0x0)&&(_0x583692[_0x452a09(0x155)][_0x452a09(0xdb)]=[_0x419310[_0x452a09(0xf8)][0x0][0x0]]);if(BrowserstackCLI[_0x452a09(0x120)]()[_0x452a09(0x110)]()&&await _0x3476c0[_0x452a09(0xd3)](isCLIReady)){if(_0x3476c0[_0x452a09(0xa0)](shouldProcessEventForTesthub,testHubConstants[_0x452a09(0x177)][_0x452a09(0x16a)]))try{await _0x3476c0['ULHCx'](handleHookEventCLI,_0x583692[_0x452a09(0x155)],_0x3476c0[_0x452a09(0xb0)],_0x419310);break;}catch(_0x3e5b1d){_0x3476c0[_0x452a09(0xa0)](debug,_0x452a09(0x144)+util[_0x452a09(0x161)](_0x3e5b1d));}}_0x3476c0[_0x452a09(0xdf)](shouldProcessEventForTesthub,testHubConstants[_0x452a09(0x177)][_0x452a09(0x16a)])&&(await _0x2f02d8['sendTestRunEvent'](_0x583692['hook'],undefined,![],_0x3476c0['cDtGJ']),TestDetails[_0x452a09(0x15f)](process['pid']+_0x452a09(0x13c)));break;case _0x3476c0[_0x452a09(0x119)]:if(_0x3476c0[_0x452a09(0xa0)](isTrue,process[_0x452a09(0x10e)][_0x452a09(0x10b)])&&_0x3476c0[_0x452a09(0xa0)](isPhantomSkipFromNameFilter,_0x583692['test'])){const _0x21cb2b=_0x3476c0[_0x452a09(0xdf)](getFullJestTestName,_0x583692[_0x452a09(0x116)]);logger[_0x452a09(0xe3)]('[Rerun]\x20Suppressed\x20phantom\x20TestRunStarted\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22'+_0x21cb2b+'\x22');break;}try{let _0x584a88=_0x583692[_0x452a09(0x116)][_0x452a09(0x17a)]||'';try{let _0x125ded=_0x583692['test'][_0x452a09(0xf5)];const _0xb0a287=[_0x584a88];while(_0x125ded&&_0x125ded[_0x452a09(0x17a)]&&_0x3476c0[_0x452a09(0x15a)](_0x125ded['name'],_0x3476c0[_0x452a09(0x115)])){_0xb0a287[_0x452a09(0xba)](_0x125ded[_0x452a09(0x17a)]),_0x125ded=_0x125ded[_0x452a09(0xf5)];}_0x584a88=_0xb0a287[_0x452a09(0x135)](_0x3476c0[_0x452a09(0x190)]);}catch(_0x5a32f5){logger[_0x452a09(0xe3)](_0x452a09(0x10c)+_0x5a32f5['message']);}process['_bstackTestName']=_0x584a88,process[_0x452a09(0x138)]=null,process[_0x452a09(0xf1)]=null,logger[_0x452a09(0xe3)](_0x452a09(0xc6)+_0x584a88+'\x22');if(!global[_0x452a09(0xb1)]){const _0x3516f3={};_0x3516f3['currentTest']={},global[_0x452a09(0xb1)]=_0x3516f3;}!global['__workerDetails']['currentTest']&&(global[_0x452a09(0xb1)][_0x452a09(0x160)]={});const _0x5afda3={};_0x5afda3[_0x452a09(0xb8)]=_0x584a88,_0x5afda3[_0x452a09(0x17a)]=_0x584a88,global[_0x452a09(0xb1)]['currentTest'][_0x452a09(0x154)]=_0x5afda3,global[_0x452a09(0x18a)]=_0x584a88;}catch(_0x254dea){logger[_0x452a09(0xe3)]('[customJestAdapterInit]\x20Error\x20in\x20test_start\x20name\x20storage:\x20'+_0x254dea[_0x452a09(0xe4)]);}if(BrowserstackCLI[_0x452a09(0x120)]()[_0x452a09(0x110)]()&&await _0x3476c0[_0x452a09(0xd3)](isCLIReady))try{await _0x3476c0['ULHCx'](handleTestEventCLI,_0x583692['test'],_0x3476c0[_0x452a09(0xce)],_0x2f02d8);break;}catch(_0xaaf4c){_0x3476c0['NnGDy'](debug,_0x452a09(0x144)+util['format'](_0xaaf4c));}_0x3476c0[_0x452a09(0x134)](shouldProcessEventForTesthub)&&await _0x2f02d8['testStarted'](_0x583692[_0x452a09(0x116)]);break;case _0x3476c0[_0x452a09(0x189)]:{const _0x300f8c=_0x583692[_0x452a09(0x116)];if(_0x3476c0[_0x452a09(0x98)](isTrue,process['env'][_0x452a09(0x10b)])&&_0x3476c0[_0x452a09(0x98)](isPhantomSkipFromNameFilter,_0x300f8c)){const _0x5b6220=_0x3476c0[_0x452a09(0x129)](getFullJestTestName,_0x300f8c);logger[_0x452a09(0xe3)]('[Rerun]\x20Suppressed\x20phantom\x20TestRunFinished\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22'+_0x5b6220+'\x22'),_0x300f8c[_0x452a09(0xcc)]=!![];break;}_0x583692['test']={..._0x3476c0[_0x452a09(0xa0)](_0x2c1d33,_0x583692[_0x452a09(0x116)]),..._0x583692[_0x452a09(0x116)]};try{const _0x457ffa=_0x583692[_0x452a09(0x116)][_0x452a09(0x192)]||[],_0x3dce52=_0x3476c0[_0x452a09(0x198)](_0x457ffa[_0x452a09(0x149)],0x0)||_0x3476c0['EnUFL'](_0x583692[_0x452a09(0x116)][_0x452a09(0x101)],_0x3476c0[_0x452a09(0xee)]),_0x30a066=_0x3dce52?_0x3476c0['tKtYy']:_0x3476c0[_0x452a09(0x10d)];let _0xf7e8ce='';_0x3dce52&&(_0xf7e8ce=_0x457ffa['map'](_0x435730=>{const _0x9cefc0=_0x452a09;if(Array[_0x9cefc0(0x111)](_0x435730))return _0x435730[_0x9cefc0(0xb7)](_0x46412a=>_0x46412a&&_0x46412a[_0x9cefc0(0xe4)]||String(_0x46412a))['join'](';\x20');return _0x435730&&_0x435730['message']||_0x3476c0[_0x9cefc0(0x15d)](String,_0x435730);})[_0x452a09(0x135)](';\x20')),process[_0x452a09(0x138)]=_0x30a066,process[_0x452a09(0xf1)]=_0x3476c0['UhJeP'](_0xf7e8ce,''),logger[_0x452a09(0xe3)]('[customJestAdapterInit]\x20Set\x20test\x20status:\x20\x22'+_0x30a066+'\x22'),global[_0x452a09(0xb1)]&&global[_0x452a09(0xb1)][_0x452a09(0x160)]&&(!global[_0x452a09(0xb1)][_0x452a09(0x160)]['testInfo']&&(global[_0x452a09(0xb1)][_0x452a09(0x160)][_0x452a09(0x154)]={}),global[_0x452a09(0xb1)][_0x452a09(0x160)][_0x452a09(0x154)]['status']=_0x30a066,_0x3dce52&&(global['__workerDetails'][_0x452a09(0x160)][_0x452a09(0x154)]['failureMessage']=_0xf7e8ce));}catch(_0x2bc8cf){logger['debug'](_0x452a09(0x122)+_0x2bc8cf[_0x452a09(0xe4)]);}if(!_0x583692[_0x452a09(0x116)][_0x452a09(0xcc)]){_0x583692[_0x452a09(0x116)][_0x452a09(0xcc)]=!![];if(BrowserstackCLI['getInstance']()[_0x452a09(0x110)]()&&await _0x3476c0[_0x452a09(0x134)](isCLIReady))try{await _0x3476c0['ULHCx'](handleTestEventCLI,_0x583692['test'],_0x3476c0[_0x452a09(0x176)],_0x2f02d8);break;}catch(_0x4d0df2){_0x3476c0['YXzXO'](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x452a09(0x161)](_0x4d0df2));}_0x3476c0['POIPh'](shouldProcessEventForTesthub)&&await _0x2f02d8[_0x452a09(0x150)](_0x583692['test']);}break;}case _0x3476c0[_0x452a09(0x199)]:{const _0x39a4a9=_0x583692[_0x452a09(0x116)];if(_0x3476c0[_0x452a09(0x98)](isTrue,process[_0x452a09(0x10e)]['BROWSERSTACK_RERUN'])&&_0x3476c0[_0x452a09(0x166)](isPhantomSkipFromNameFilter,_0x39a4a9)){const _0x4a8c90=_0x3476c0['NnGDy'](getFullJestTestName,_0x39a4a9);logger[_0x452a09(0xe3)]('[Rerun]\x20Suppressed\x20phantom\x20TestRunSkipped\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22'+_0x4a8c90+'\x22'),_0x39a4a9[_0x452a09(0xcc)]=!![];break;}_0x583692['test']={..._0x3476c0['cPsgH'](_0x2c1d33,_0x583692[_0x452a09(0x116)]),..._0x583692[_0x452a09(0x116)]};if(!_0x583692[_0x452a09(0x116)]['markedStatus']){_0x583692[_0x452a09(0x116)][_0x452a09(0xcc)]=!![];if(BrowserstackCLI[_0x452a09(0x120)]()[_0x452a09(0x110)]()&&await _0x3476c0['udJGH'](isCLIReady))try{await _0x3476c0[_0x452a09(0x106)](handleTestEventCLI,_0x583692['test'],_0x3476c0[_0x452a09(0x126)],_0x2f02d8);break;}catch(_0x115b49){_0x3476c0[_0x452a09(0x15d)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x452a09(0x161)](_0x115b49));}_0x3476c0[_0x452a09(0xd3)](shouldProcessEventForTesthub)&&await _0x2f02d8['sendTestRunEvent'](_0x583692[_0x452a09(0x116)],undefined,![],_0x3476c0[_0x452a09(0x126)]);}break;}case _0x3476c0[_0x452a09(0xcf)]:_0x2f02d8[_0x452a09(0x19b)]=null;break;case _0x3476c0[_0x452a09(0x14c)]:await RequestQueueHandler[_0x452a09(0x120)]()[_0x452a09(0x159)](),process[_0x452a09(0x18e)]();break;default:}},_0x3476c0[_0x491b25(0x95)]));}catch(_0xbf22ec){_0x3476c0[_0x491b25(0xff)](debug,_0x491b25(0x16c)+_0xbf22ec);}return _0x3476c0['fZjpF'](initInitialize,..._0x24434a);};try{Object['keys'](exportsI)[a24_0x2e9f48(0xe1)](_0x55c881=>{const _0x590b34=a24_0x2e9f48,_0x368a7b={'IZWcy':function(_0x26448c,_0x2a50ca){return _0x26448c(_0x2a50ca);}};try{exports&&(exports[_0x55c881]=exportsI[_0x55c881]);}catch(_0x5542b9){_0x368a7b['IZWcy'](debug,_0x590b34(0x191)+_0x5542b9);}});}catch(a24_0xad06d6){debug(a24_0x2e9f48(0x17f)+a24_0xad06d6);}const a24_0x491f28={};a24_0x491f28[a24_0x2e9f48(0xde)]=getFullJestTestName,a24_0x491f28[a24_0x2e9f48(0x148)]=getActiveTestNamePattern,a24_0x491f28[a24_0x2e9f48(0xfd)]=isPhantomSkipFromNameFilter,exports['__rerunFilterHelpers']=a24_0x491f28;function a24_0x3353(){const _0x3d4ac9=['../../v2/utils/jest-utils','EventHandler','_bstackTestStatus','kAXbD','parse','GNfCq',':hookAnalyticsId','../../v2/browserstackCLI','yOXZO','ZYoIU','LagSe','setTestUUID','getFileName','3985432gOsdbR','Error\x20routing\x20to\x20JestTestFramework:\x20','../../v2/cliUtils','EnUFL','BEFORE_EACH','getActiveTestNamePattern','length','XrbGF','EKPQM','PrDdA','test_start','beforeAll','AWGHH','sendTestRunEvent','retryOf','failed','getState','testInfo','hook','testAnalyticsId','slice','kOIOZ','shutdown','KpkXB','JEST','bSqZo','NnGDy','getTestFramework','removeTestUUID','currentTest','format','addEventHandler','testIdentifier','UhAAJ','NXont','PBQIB','../../../helpers/helper','CLI\x20is\x20enabled\x20and\x20running.','RUSwO','HookFinished','file','Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20','hookUUID','UoscL','number','maVEC','AZfKm','beforeEach','started_at','_currentRetry','passed','YOOlm','EVENT','[customJestAdapterInit]\x20Skipping\x20heavy\x20init\x20for\x20platformIndex=','../../v2/state/hookState','name','bootstrap','DzPLD','LWujS','Error\x20reading\x20platformIndex\x20from\x20args:\x20','Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20','toString','currentHook','PUPPETEER','asyncError','BDLqd','MJSnB','string','has','createHookData','dAljb','browserstackTestName','getAutomationFrameworkDetail','PLAYWRIGHT','teardown','removeAllListeners','jest-circus/build/state.js','fYqyj','Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20','errors','current_test','OZtSj','-t=','AFTER_EACH','testNamePattern','ZSbpP','oUDFB','ctlls','hook_failure',',\x20BROWSERSTACK_PUPPETEER=','browserstackPlatformIndex','rOmHX','startsWith','error','bQsQf','iGbCT','../../../helpers/testhub/utils','wPbOA','plrlD','LOG_REPORT','QSsNn','MgILV','oVMev','testUUID','afterEach','FcFOL','SeLaA','config','hook_success','Error\x20handling\x20test\x20event\x20for\x20CLI:\x20','../../utils/constants','BROWSERSTACK_CLI_BIN_SESSION_ID','Handling\x20test\x20event\x20for\x20CLI:\x20','1521InwTwe','eMZcm','xgCkB','gJgLa','testPath','cDtGJ','__workerDetails','pid','tBwlE','6LYVQWi','setFrameworkDetail','ROOT_DESCRIBE_BLOCK','map','title','TestRunFinished','unshift','PRE','BROWSERSTACK_PUPPETEER','../../../helpers/logger','TEST','RNXQz','makeSingleTestResult','call','stack-trace','4ILkIWZ','hookAnalyticsId','CuNpY','[customJestAdapterInit]\x20Set\x20test\x20name:\x20\x22','split','createIdentifierFromJestTest','orNUK','__bstackPlatformIndex','udJGH','markedStatus','cRLGn','lEYxU','qtipB','../../../helpers/test-observability/requestQueueHandler','function','test_skip','jdKMa','../../../helpers/test-observability/error-handler','EltpW',',\x20re-registering\x20event\x20handler','xpmxL','Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20','owlTn','649059canWGf','errorsDetailed','2032350rsIcPN','run_describe_finish','getFullJestTestName','cPsgH','RfDtt','forEach','Zqbmr','debug','message','Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20','POST','jest-circus/build/jestAdapterInit.js','jestConfig','util','SaqWn','cpAgQ','689722WPQnEP','HookStarted','yRCkq','\x20>\x20','oFoOw','_bstackTestFailureReason','afterAll','fajnf','HookRunStarted','parent','EPXeS','lyKXH','unhandledErrors','argv','createTestFrameworkData','LpODN','3752380zZFjCb','isPhantomSkipFromNameFilter','UWqXR','NCtZc','gTeiJ','status','originalTest','Npdvq','[customJestAdapterInit]\x20Initializing\x20for\x20platformIndex=','--testNamePattern','cBjfB','5090zfREOf','toISOString','../../v2/state/testFrameworkState','__jestCurrentTestIdentifier','BROWSERSTACK_RERUN','[customJestAdapterInit]\x20Error\x20building\x20test\x20name:\x20','wEbvX','env','cKdOm','isCliEnabled','isArray','obuEu','jigvJ','../../../helpers/testhub/constants','WUkAz','test','type','TestRunStarted','RVHiS','4079859apPqWo','BROWSERSTACK_PLATFORM_INDEX','initialize','WYcZX','sKbak','HookRunFinished','getInstance','trackEvent','[customJestAdapterInit]\x20Error\x20in\x20test_done\x20status\x20storage:\x20','Error\x20checking\x20CLI\x20readiness:\x20','configuration','jest-circus','EOKUQ','isRunning','test_done','rtNgQ','YoQrb','VbpsH','fail','true','jest-circus/build/utils.js','state','match','setActiveHook','TestRunSkipped','dOOFZ','POIPh','join'];a24_0x3353=function(){return _0x3d4ac9;};return a24_0x3353();}
|
|
1
|
+
const a24_0x9d8b5d=a24_0x5a8f;(function(_0x4bd55d,_0x317e7f){const _0xb6a289=a24_0x5a8f,_0x4d4131=_0x4bd55d();while(!![]){try{const _0x37dedf=-parseInt(_0xb6a289(0x1bb))/0x1+-parseInt(_0xb6a289(0x231))/0x2+parseInt(_0xb6a289(0x230))/0x3+-parseInt(_0xb6a289(0x193))/0x4+parseInt(_0xb6a289(0x20c))/0x5+parseInt(_0xb6a289(0x1c5))/0x6*(-parseInt(_0xb6a289(0x26e))/0x7)+parseInt(_0xb6a289(0x27d))/0x8;if(_0x37dedf===_0x317e7f)break;else _0x4d4131['push'](_0x4d4131['shift']());}catch(_0x2e33ac){_0x4d4131['push'](_0x4d4131['shift']());}}}(a24_0x1518,0x2bffc));function a24_0x1518(){const _0x2a2193=['../../v2/state/hookState','[customJestAdapterInit]\x20Set\x20test\x20status:\x20\x22','agajY','currentHook','YleQw','forEach','AFTER_EACH','passed','hGGyJ','SoSwx','../../v2/browserstackCLI','MtPcf','sendTestRunEvent','test','\x20for\x20hook\x20type:\x20','getTestFramework','TRZTb','VhAFK','Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20','beforeAll','yqusH','setActiveHook','length','298422ggpcYt','unhandledErrors','pGxKl','parent','[Rerun]\x20Suppressed\x20phantom\x20TestRunSkipped\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22','isCliEnabled','CLLRM','LOG_REPORT','EVENT','jest-circus/build/utils.js','66pHVziZ','OzSpm','GxVpU','JwOCH','hook_failure','RGArU','PLAYWRIGHT','jest-circus/build/jestAdapterInit.js','Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20','isRunning','retryOf','beforeEach','parse','testNamePattern','../test-observability/obsReporter','PUPPETEER','BROWSERSTACK_PLATFORM_INDEX','fail','XSKII','hookData','HookStarted','JERGs','wjIjb','CLI\x20is\x20enabled\x20and\x20running.','getInstance','sBIts',',\x20BROWSERSTACK_PUPPETEER=','addEventHandler','MBrok','file','Nnyzn','removeAllListeners','debug','../test-observability/test-details','HookRunFinished','TestRunFinished','__bstackPlatformIndex','util','hook_start','ijpYB','stack-trace','thNmJ','getFullJestTestName',',\x20re-registering\x20event\x20handler','getActiveTestNamePattern','function','FwsCm','GDuuH','../../v2/state/testFrameworkState','isPhantomSkipFromNameFilter','YulkV','errors','SnDio','iXDMx','../../../helpers/test-observability/error-handler','number','registerListeners','RuuIO','_bstackTestStatus','configuration','shutdown','testAnalyticsId','toString','aOPAA','testInfo','keys','../../../helpers/testhub/constants','--testNamePattern','eSAfh','state','__jestCurrentTestIdentifier','274170BgfZZG','true','wkDbR','originalTest','ySVro','hookAnalyticsId','qDZre','JRcLs','argv','removeActiveHook','DrPox','-t=','LeNZo','testUUID','zbmCW','current_test','KMxSO','pCwhh','TAOdZ','[customJestAdapterInit]\x20Set\x20test\x20name:\x20\x22','string','error','../../v2/cliUtils','GSGiA','afterEach','getState','setTestUUID','__workerDetails','POST','test_done','uIfpH','bKxAl','toISOString','hookUUID','has','hook','441951UQQkKR','108710jiDIYe','DIyXE','jkMQm','includes','OCapK','ztwaR','[Rerun]\x20Suppressed\x20phantom\x20TestRunFinished\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22','_bstackTestFailureReason','wvfpq','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','ZnkuF','Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20','JKGPP','HookRunStarted','../../../helpers/test-observability/requestQueueHandler','NGTra','join','StbbM','TestRunStarted','format','asyncError','mQgjN','map','BUfGa','Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20','CcOwN','CPJiE','ZpKQh','browserstackPlatformIndex','PRE','env','call','config','wWABl','SUJyq','_bstackTestName','KGFrW','../../v2/utils/jest-utils','trackEvent','failed','YcldA','add','eLsrR','[customJestAdapterInit]\x20Error\x20in\x20test_start\x20name\x20storage:\x20','bootstrap','createIdentifierFromJestTest','failureMessage','hrjqc','fcHhx','SbYuE','initialize','XhujT','dEKlK','../../../helpers/helper','title','[customJestAdapterInit]\x20initialize\x20called,\x20shouldProcessEventForTesthub=','zayUa','markedStatus','errorsDetailed','bjDrR','__rerunFilterHelpers','68446NDSDbt','xvDau','../../../helpers/test-observability/utils','AFTER_ALL','message','startsWith','hook_success','BROWSERSTACK_PUPPETEER','test_start','QAgjU','currentTest','testPath','WjypG','zplzK','BROWSERSTACK_CLI_BIN_SESSION_ID','4966664vsLzaH','unshift','ROOT_DESCRIBE_BLOCK','testIdentifier','KuRUh','KLmXE','AqqLZ','[customJestAdapterInit]\x20Initializing\x20for\x20platformIndex=','pid','HookFinished','Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20',':hookAnalyticsId','type','SVMqt','[customJestAdapterInit]\x20Error\x20building\x20test\x20name:\x20','[Rerun]\x20Suppressed\x20phantom\x20TestRunStarted\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22','mLDBZ','NDSFN','[customJestAdapterInit]\x20Skipping\x20heavy\x20init\x20for\x20platformIndex=','match','split','jest-circus/build/state.js','createHookData','Error\x20routing\x20to\x20JestTestFramework:\x20','bPlMT','getFileName','jest-circus','JEST','vVToa','wWxMr','--testNamePattern=','729716pKNdXs','DBxlX','plaFk','removeTestUUID','_currentRetry','BROWSERSTACK_RERUN','dboXw','makeSingleTestResult','setFrameworkDetail','name','createTestFrameworkData','BEFORE_ALL','EAuCs','dkjPm','TEST','teardown','run_describe_finish'];a24_0x1518=function(){return _0x2a2193;};return a24_0x1518();}const {requireModule,isTrue}=require(a24_0x9d8b5d(0x266)),ObservabilityReporter=require(a24_0x9d8b5d(0x1d3)),RequestQueueHandler=require(a24_0x9d8b5d(0x23f)),TestDetails=require(a24_0x9d8b5d(0x1e6)),{patchConsoleLogger,debug}=require(a24_0x9d8b5d(0x270)),{o11yErrorHandler}=require(a24_0x9d8b5d(0x1fb)),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils'),testHubConstants=require(a24_0x9d8b5d(0x207)),BrowserstackCLI=require(a24_0x9d8b5d(0x1ae)),TestFrameworkState=require(a24_0x9d8b5d(0x1f5)),HookState=require(a24_0x9d8b5d(0x1a4)),JestUtils=require(a24_0x9d8b5d(0x256)),{v4:uuidv4}=require('uuid'),util=require(a24_0x9d8b5d(0x1ea)),logger=require('../../../helpers/logger')['winstonLogger'],{FRAMEWORKS}=require('../../utils/constants');let exportsI;try{exportsI=requireModule(a24_0x9d8b5d(0x23a),a24_0x9d8b5d(0x297));}catch{exportsI=requireModule(a24_0x9d8b5d(0x1cc),a24_0x9d8b5d(0x297));}const initInitialize=exportsI['initialize'],jestUtils=new JestUtils(),_initializedPlatformIndices=new Set();let _currentTestPath=null;function getFullJestTestName(_0x2c9003){const _0x4bef02=a24_0x9d8b5d,_0x2c991c={};_0x2c991c[_0x4bef02(0x195)]=function(_0x142a71,_0x63f5fc){return _0x142a71!==_0x63f5fc;},_0x2c991c['YcldA']='ROOT_DESCRIBE_BLOCK';const _0x5ed558=_0x2c991c;try{const _0x5b7680=[];let _0x7b962e=_0x2c9003;while(_0x7b962e){_0x7b962e['name']&&_0x5ed558[_0x4bef02(0x195)](_0x7b962e[_0x4bef02(0x19c)],_0x5ed558[_0x4bef02(0x259)])&&_0x5b7680[_0x4bef02(0x27e)](_0x7b962e[_0x4bef02(0x19c)]),_0x7b962e=_0x7b962e['parent'];}return _0x5b7680[_0x4bef02(0x241)]('\x20');}catch(_0x4e9c6b){return _0x2c9003&&_0x2c9003[_0x4bef02(0x19c)]||'';}}function a24_0x5a8f(_0x3480e8,_0x13ca5c){const _0x151864=a24_0x1518();return a24_0x5a8f=function(_0x5a8f6b,_0x5af6b8){_0x5a8f6b=_0x5a8f6b-0x18f;let _0x5605e0=_0x151864[_0x5a8f6b];return _0x5605e0;},a24_0x5a8f(_0x3480e8,_0x13ca5c);}function getActiveTestNamePattern(){const _0x412a8d=a24_0x9d8b5d,_0x1ba8a9={'qACkD':function(_0x1d2d29,_0x35dda8,_0x44bfd0){return _0x1d2d29(_0x35dda8,_0x44bfd0);},'SoSwx':_0x412a8d(0x292),'JwOCH':_0x412a8d(0x297),'tGWqQ':function(_0x1906c8,_0x170d1f){return _0x1906c8(_0x170d1f);},'wkDbR':function(_0x505cf4,_0x3a55f1){return _0x505cf4===_0x3a55f1;},'fcHhx':_0x412a8d(0x1f2),'EAuCs':function(_0x3f5770,_0x81f4f4){return _0x3f5770 instanceof _0x81f4f4;},'CLLRM':function(_0x3cbebf,_0x28a4d3){return _0x3cbebf===_0x28a4d3;},'zplzK':_0x412a8d(0x220),'BUfGa':function(_0x27c4eb,_0x457a32){return _0x27c4eb>_0x457a32;},'dEKlK':function(_0x350495,_0x10a79c){return _0x350495<_0x10a79c;},'SUJyq':_0x412a8d(0x208),'DrPox':function(_0x60884a,_0x3368b9){return _0x60884a+_0x3368b9;},'WjypG':_0x412a8d(0x192),'KMxSO':_0x412a8d(0x217)};try{let _0x40a9cf;try{_0x40a9cf=_0x1ba8a9['qACkD'](requireModule,_0x1ba8a9[_0x412a8d(0x1ad)],_0x1ba8a9[_0x412a8d(0x1c8)]);}catch{_0x40a9cf=_0x1ba8a9['tGWqQ'](requireModule,_0x1ba8a9[_0x412a8d(0x1c8)]);}if(_0x40a9cf&&_0x1ba8a9[_0x412a8d(0x20e)](typeof _0x40a9cf['getState'],_0x1ba8a9[_0x412a8d(0x261)])){const _0x2854a2=_0x40a9cf[_0x412a8d(0x225)]();if(_0x2854a2&&_0x2854a2[_0x412a8d(0x1d2)]){if(_0x1ba8a9[_0x412a8d(0x19f)](_0x2854a2[_0x412a8d(0x1d2)],RegExp))return _0x2854a2['testNamePattern'];if(_0x1ba8a9[_0x412a8d(0x1c1)](typeof _0x2854a2[_0x412a8d(0x1d2)],_0x1ba8a9[_0x412a8d(0x27b)])&&_0x1ba8a9[_0x412a8d(0x248)](_0x2854a2[_0x412a8d(0x1d2)]['length'],0x0))return new RegExp(_0x2854a2['testNamePattern'],'i');}}}catch(_0x3534d6){}try{const _0x329038=process[_0x412a8d(0x214)]||[];for(let _0x212fd0=0x0;_0x1ba8a9[_0x412a8d(0x265)](_0x212fd0,_0x329038[_0x412a8d(0x1ba)]);_0x212fd0++){const _0x29e109=_0x329038[_0x212fd0];if(_0x1ba8a9[_0x412a8d(0x1c1)](_0x29e109,'-t')||_0x1ba8a9[_0x412a8d(0x20e)](_0x29e109,_0x1ba8a9[_0x412a8d(0x253)])){const _0x22a16f=_0x329038[_0x1ba8a9[_0x412a8d(0x216)](_0x212fd0,0x1)];if(_0x22a16f&&!_0x22a16f[_0x412a8d(0x273)]('-'))return new RegExp(_0x22a16f,'i');}else{if(_0x29e109&&(_0x29e109[_0x412a8d(0x273)](_0x1ba8a9[_0x412a8d(0x27a)])||_0x29e109[_0x412a8d(0x273)](_0x1ba8a9[_0x412a8d(0x21c)]))){const _0x50c522=_0x29e109[_0x412a8d(0x291)]('=')['slice'](0x1)[_0x412a8d(0x241)]('=');if(_0x50c522)return new RegExp(_0x50c522,'i');}}}}catch(_0x217aef){}return null;}function isPhantomSkipFromNameFilter(_0xda70a1){const _0x29e9a2=a24_0x9d8b5d,_0x1149a0={'zayUa':function(_0x4c75b1){return _0x4c75b1();},'ceINU':function(_0x51ecf1,_0x49002b){return _0x51ecf1(_0x49002b);}},_0x77ec78=_0x1149a0[_0x29e9a2(0x269)](getActiveTestNamePattern);if(!_0x77ec78)return![];const _0x10f294=_0x1149a0['ceINU'](getFullJestTestName,_0xda70a1);if(!_0x10f294)return![];return!_0x77ec78['test'](_0x10f294);}async function isCLIReady(){const _0xe5b772=a24_0x9d8b5d,_0x23b10d={'eSAfh':_0xe5b772(0x1dc),'NGTra':function(_0x1f88b1,_0x4d2174){return _0x1f88b1(_0x4d2174);},'bjDrR':_0xe5b772(0x222),'dkjPm':function(_0x28ed5f,_0x5a0273){return _0x28ed5f===_0x5a0273;},'hGGyJ':_0xe5b772(0x20d),'YleQw':function(_0x215c42,_0xcf1b56){return _0x215c42(_0xcf1b56);}};try{const _0xfe08f6=BrowserstackCLI[_0xe5b772(0x1dd)]();if(_0xfe08f6[_0xe5b772(0x1c0)]()&&_0xfe08f6[_0xe5b772(0x1ce)]())return logger[_0xe5b772(0x1e5)](_0x23b10d[_0xe5b772(0x209)]),!![];const _0x541fb6=process['env'][_0xe5b772(0x27c)];if(_0x541fb6&&_0xfe08f6[_0xe5b772(0x1c0)]()){if(!_0xfe08f6[_0xe5b772(0x1ce)]())try{const _0x23ac0a=_0x23b10d[_0xe5b772(0x240)](require,_0x23b10d[_0xe5b772(0x26c)]),_0xb85b3c=_0x23ac0a['getAutomationFrameworkDetail']();(!_0xb85b3c||!_0xb85b3c[_0xe5b772(0x19c)])&&(_0x23b10d[_0xe5b772(0x1a0)](process['env'][_0xe5b772(0x275)],_0x23b10d[_0xe5b772(0x1ac)])?_0x23ac0a[_0xe5b772(0x19b)](FRAMEWORKS[_0xe5b772(0x18f)],FRAMEWORKS[_0xe5b772(0x1d4)]):_0x23ac0a[_0xe5b772(0x19b)](FRAMEWORKS['JEST'],FRAMEWORKS[_0xe5b772(0x1cb)])),await _0xfe08f6[_0xe5b772(0x25d)]();}catch(_0x9742be){return _0x23b10d[_0xe5b772(0x1a8)](debug,_0xe5b772(0x1cd)+util[_0xe5b772(0x244)](_0x9742be)),![];}return _0xfe08f6[_0xe5b772(0x1ce)]();}return![];}catch(_0x3134d3){return _0x23b10d[_0xe5b772(0x240)](debug,'Error\x20checking\x20CLI\x20readiness:\x20'+util['format'](_0x3134d3)),![];}}function getTestIdentifierForHook(_0x29c13f){const _0x502cfa=a24_0x9d8b5d,_0x211521={};_0x211521[_0x502cfa(0x22b)]=function(_0x3f7486,_0x341250){return _0x3f7486===_0x341250;},_0x211521[_0x502cfa(0x204)]=_0x502cfa(0x1d0),_0x211521['RGArU']=function(_0x5cd67e,_0x2526ee){return _0x5cd67e===_0x2526ee;},_0x211521[_0x502cfa(0x1e1)]=_0x502cfa(0x1b7);const _0x3b102c=_0x211521;if(_0x3b102c[_0x502cfa(0x22b)](_0x29c13f[_0x502cfa(0x289)],_0x3b102c[_0x502cfa(0x204)])||_0x3b102c['RGArU'](_0x29c13f[_0x502cfa(0x289)],_0x3b102c[_0x502cfa(0x1e1)])){let _0x5ddbed=global[_0x502cfa(0x20b)];if(!_0x5ddbed&&_0x3b102c[_0x502cfa(0x1ca)](_0x29c13f[_0x502cfa(0x289)],_0x3b102c[_0x502cfa(0x1e1)])&&_0x29c13f[_0x502cfa(0x1be)]){const _0x1ba834={};_0x1ba834[_0x502cfa(0x19c)]=_0x29c13f['parent'][_0x502cfa(0x19c)],_0x1ba834[_0x502cfa(0x1be)]=_0x29c13f[_0x502cfa(0x1be)][_0x502cfa(0x1be)],_0x1ba834[_0x502cfa(0x245)]=_0x29c13f[_0x502cfa(0x245)],_0x1ba834[_0x502cfa(0x1e2)]=_0x29c13f[_0x502cfa(0x1e2)];const _0x5ea51e=_0x1ba834;_0x5ddbed=jestUtils[_0x502cfa(0x25e)](_0x5ea51e);}return _0x5ddbed;}return global[_0x502cfa(0x20b)];}function mapHookTypeToState(_0xb256fc){const _0x43f247=a24_0x9d8b5d,_0x3f5a49={};_0x3f5a49[_0x43f247(0x1b7)]=TestFrameworkState[_0x43f247(0x19e)],_0x3f5a49['afterAll']=TestFrameworkState[_0x43f247(0x271)],_0x3f5a49['beforeEach']=TestFrameworkState['BEFORE_EACH'],_0x3f5a49[_0x43f247(0x224)]=TestFrameworkState[_0x43f247(0x1aa)];const _0x58c926=_0x3f5a49;return _0x58c926[_0xb256fc]||TestFrameworkState['BEFORE_EACH'];}async function handleHookEventCLI(_0x3be50c,_0x32543e,_0x1a7b51){const _0x57f580=a24_0x9d8b5d,_0xa523e6={'FwsCm':function(_0x485533,_0x543f6d){return _0x485533(_0x543f6d);},'hrjqc':_0x57f580(0x1ed),'QAgjU':function(_0x2dd202,_0x6ed3fe){return _0x2dd202===_0x6ed3fe;},'wvfpq':_0x57f580(0x27f),'OCapK':function(_0x24d0df){return _0x24d0df();},'dboXw':function(_0x507a79){return _0x507a79();},'KGFrW':_0x57f580(0x23e),'XSKII':function(_0x3196c5,_0x560cd2){return _0x3196c5===_0x560cd2;},'UsFBv':function(_0xca35ca,_0x4b3441){return _0xca35ca===_0x4b3441;},'MfbjV':_0x57f580(0x1e7),'ipEWg':_0x57f580(0x22f)};logger[_0x57f580(0x1e5)]('Handling\x20hook\x20event\x20for\x20CLI:\x20'+_0x32543e+_0x57f580(0x1b2)+_0x3be50c['type']);try{if(_0x3be50c['fn']&&_0x3be50c['fn'][_0x57f580(0x203)]()[_0x57f580(0x290)](/browserstack internal helper hook/))return;if(_0x3be50c['parent']&&_0xa523e6['QAgjU'](_0x3be50c[_0x57f580(0x1be)]['name'],_0xa523e6[_0x57f580(0x239)])){const _0x487996=_0x3be50c[_0x57f580(0x245)]&&((()=>{const _0x427cd6=_0x57f580;try{const _0x12c893=_0xa523e6['FwsCm'](require,_0xa523e6[_0x427cd6(0x260)]),_0x53de62=_0x12c893[_0x427cd6(0x1d1)][_0x427cd6(0x250)](_0x12c893,_0x3be50c['asyncError']);return _0x53de62[0x0]&&_0x53de62[0x0][_0x427cd6(0x296)]?_0x53de62[0x0][_0x427cd6(0x296)]():null;}catch(_0xbd082b){return logger[_0x427cd6(0x1e5)]('Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20'+_0xbd082b[_0x427cd6(0x272)]),null;}})())||_0x3be50c['file']||null;if(!_0x487996)return;}let _0x32f6be=_0x3be50c[_0x57f580(0x211)];if(!_0x32f6be)_0x32f6be=_0xa523e6[_0x57f580(0x235)](uuidv4),_0x3be50c[_0x57f580(0x211)]=_0x32f6be;else _0x3be50c[_0x57f580(0x26a)]&&(_0x32f6be=_0xa523e6[_0x57f580(0x199)](uuidv4),_0x3be50c[_0x57f580(0x211)]=_0x32f6be,delete _0x3be50c[_0x57f580(0x26a)]);_0xa523e6[_0x57f580(0x277)](_0x32543e,_0xa523e6[_0x57f580(0x255)])&&(_0x3be50c['started_at']=new Date()[_0x57f580(0x22c)]());const _0x44a256=_0xa523e6[_0x57f580(0x1f3)](getTestIdentifierForHook,_0x3be50c);!global[_0x57f580(0x227)]&&(global['__workerDetails']={});if(_0xa523e6[_0x57f580(0x1d7)](_0x32543e,_0xa523e6[_0x57f580(0x255)])){global[_0x57f580(0x227)][_0x57f580(0x1a7)]={'hookUUID':_0x32f6be,'testIdentifier':_0x44a256,'hookType':_0x3be50c[_0x57f580(0x289)],'startedAt':new Date()[_0x57f580(0x22c)]()};const _0x2bdc02=BrowserstackCLI['getInstance']()['getTestFramework']();_0x2bdc02&&_0x2bdc02[_0x57f580(0x1b9)]&&_0x2bdc02[_0x57f580(0x1b9)](_0x44a256,_0x32f6be,_0x3be50c['type']);}const _0x4c9dc0=await jestUtils[_0x57f580(0x293)](_0x3be50c,_0x32f6be,_0x32543e,_0x44a256);if(!_0x4c9dc0)return;const _0x3b2061=_0xa523e6[_0x57f580(0x1f3)](mapHookTypeToState,_0x3be50c['type']),_0x4c7b01=_0xa523e6['UsFBv'](_0x32543e,_0xa523e6[_0x57f580(0x255)])?HookState[_0x57f580(0x24e)]:HookState[_0x57f580(0x228)],_0x1d2e27=BrowserstackCLI[_0x57f580(0x1dd)]()[_0x57f580(0x1b3)]();if(_0x1d2e27){const _0x5e2bab={};_0x5e2bab[_0x57f580(0x1d8)]=_0x4c9dc0,await _0x1d2e27['trackEvent'](_0x3b2061,_0x4c7b01,_0x5e2bab);if(_0xa523e6[_0x57f580(0x277)](_0x32543e,_0xa523e6['MfbjV'])){const _0xffadf1={};_0xffadf1['testUUID']=_0x44a256,_0xffadf1[_0x57f580(0x289)]=_0xa523e6['ipEWg'],await _0x1d2e27[_0x57f580(0x257)](TestFrameworkState['LOG_REPORT'],HookState['POST'],_0xffadf1),global['__workerDetails']&&global[_0x57f580(0x227)]['currentHook']&&_0xa523e6[_0x57f580(0x277)](global[_0x57f580(0x227)]['currentHook'][_0x57f580(0x22d)],_0x32f6be)&&delete global[_0x57f580(0x227)]['currentHook'],_0x1d2e27[_0x57f580(0x215)]&&_0x1d2e27[_0x57f580(0x215)](_0x44a256,_0x32f6be);}}}catch(_0x3e53ee){logger[_0x57f580(0x221)](_0x57f580(0x249)+util[_0x57f580(0x244)](_0x3e53ee));throw _0x3e53ee;}}async function handleTestEventCLI(_0x347d7f,_0x11919b,_0xf77ab1){const _0x28a685=a24_0x9d8b5d,_0x460764={};_0x460764[_0x28a685(0x24a)]=function(_0x59e4f7,_0x47f4bf){return _0x59e4f7===_0x47f4bf;},_0x460764[_0x28a685(0x1fe)]=_0x28a685(0x243),_0x460764[_0x28a685(0x23d)]=function(_0x3d2758,_0x501896){return _0x3d2758>_0x501896;},_0x460764[_0x28a685(0x23b)]=function(_0x2755d5,_0x41dbd9){return _0x2755d5&&_0x41dbd9;},_0x460764['pGxKl']=_0x28a685(0x258),_0x460764[_0x28a685(0x190)]='TestRunFinished',_0x460764['vCcBW']=_0x28a685(0x1b1);const _0x248357=_0x460764;logger[_0x28a685(0x1e5)]('Handling\x20test\x20event\x20for\x20CLI:\x20'+_0x11919b);try{let _0x2078f2;if(_0x248357[_0x28a685(0x24a)](_0x11919b,_0x248357[_0x28a685(0x1fe)])){_0x2078f2=jestUtils[_0x28a685(0x25e)](_0x347d7f),global[_0x28a685(0x20b)]=_0x2078f2,_0x347d7f[_0x28a685(0x202)]=_0x2078f2,_0x347d7f['id']=_0x2078f2,_0x347d7f['started_at']=new Date()[_0x28a685(0x22c)]();const _0x28bf1f=_0xf77ab1[_0x28a685(0x21b)];_0xf77ab1['current_test']=_0x347d7f,_0x347d7f[_0x28a685(0x1cf)]=null;if(_0x248357[_0x28a685(0x23d)](_0x347d7f[_0x28a685(0x197)],0x0)&&_0x28bf1f&&_0x248357[_0x28a685(0x24a)](_0x28bf1f['title'],_0x347d7f[_0x28a685(0x267)])){_0x347d7f[_0x28a685(0x1cf)]=_0x28bf1f[_0x28a685(0x202)];const _0x409572=await jestUtils[_0x28a685(0x19d)](_0x347d7f,_0x2078f2,_0x248357[_0x28a685(0x1fe)]),_0x5421da=BrowserstackCLI[_0x28a685(0x1dd)]()[_0x28a685(0x1b3)]();if(_0x248357[_0x28a685(0x23b)](_0x409572,_0x5421da)){const _0x439cec={};_0x439cec[_0x28a685(0x1b1)]=_0x409572,await _0x5421da[_0x28a685(0x257)](TestFrameworkState['TEST'],HookState[_0x28a685(0x24e)],_0x439cec);}_0x28bf1f[_0x28a685(0x20a)]=_0x248357[_0x28a685(0x1bd)];const _0x4d4065=await jestUtils[_0x28a685(0x19d)](_0x28bf1f,_0x28bf1f[_0x28a685(0x202)],_0x248357[_0x28a685(0x190)]);if(_0x248357[_0x28a685(0x23b)](_0x4d4065,_0x5421da)){const _0x4f6206={};_0x4f6206[_0x28a685(0x1b1)]=_0x4d4065,await _0x5421da['trackEvent'](TestFrameworkState[_0x28a685(0x1a1)],HookState[_0x28a685(0x228)],_0x4f6206);}}else{const _0x3c9460=await jestUtils['createTestFrameworkData'](_0x347d7f,_0x2078f2,_0x248357[_0x28a685(0x1fe)]),_0x444d35=BrowserstackCLI['getInstance']()[_0x28a685(0x1b3)]();if(_0x248357['ZnkuF'](_0x3c9460,_0x444d35)){const _0x3462b2={};_0x3462b2[_0x28a685(0x1b1)]=_0x3c9460,await _0x444d35[_0x28a685(0x257)](TestFrameworkState[_0x28a685(0x1a1)],HookState[_0x28a685(0x24e)],_0x3462b2);}}}else{_0x2078f2=_0x347d7f[_0x28a685(0x202)]||_0x347d7f['id']||global['__jestCurrentTestIdentifier'];const _0x510e78=await jestUtils['createTestFrameworkData'](_0x347d7f,_0x2078f2,_0x11919b),_0x52a855=BrowserstackCLI[_0x28a685(0x1dd)]()[_0x28a685(0x1b3)]();if(_0x248357[_0x28a685(0x23b)](_0x510e78,_0x52a855)){const _0x5a62de={};_0x5a62de[_0x28a685(0x1b1)]=_0x510e78,_0x5a62de[_0x28a685(0x20f)]=_0x347d7f,_0x5a62de[_0x28a685(0x280)]=_0x2078f2,await _0x52a855[_0x28a685(0x257)](TestFrameworkState['TEST'],HookState[_0x28a685(0x228)],_0x5a62de);const _0x3c51d4={};_0x3c51d4[_0x28a685(0x219)]=_0x2078f2,_0x3c51d4[_0x28a685(0x289)]=_0x248357['vCcBW'],await _0x52a855[_0x28a685(0x257)](TestFrameworkState[_0x28a685(0x1c2)],HookState[_0x28a685(0x228)],_0x3c51d4);}}}catch(_0x420c5c){logger[_0x28a685(0x221)]('Error\x20handling\x20test\x20event\x20for\x20CLI:\x20'+util['format'](_0x420c5c));throw _0x420c5c;}}exportsI[a24_0x9d8b5d(0x263)]=(..._0x45b39d)=>{const _0x38a94b=a24_0x9d8b5d,_0x460b5b={'KuRUh':function(_0x4124d3,_0x139cae){return _0x4124d3(_0x139cae);},'qDZre':_0x38a94b(0x1ed),'xOcBf':function(_0x1b970e,_0x1a29f1){return _0x1b970e(_0x1a29f1);},'KzmFr':function(_0x167627,_0x506415){return _0x167627&&_0x506415;},'StbbM':_0x38a94b(0x1eb),'XhujT':function(_0x3ac113,_0x2bbd7a){return _0x3ac113===_0x2bbd7a;},'WjSNa':_0x38a94b(0x27f),'ySVro':function(_0x52d05d){return _0x52d05d();},'thNmJ':function(_0x33798a,_0x25389f,_0x2f7840,_0x553e4c){return _0x33798a(_0x25389f,_0x2f7840,_0x553e4c);},'mLDBZ':'HookRunStarted','SVMqt':function(_0xe9fb0a,_0x858a2b){return _0xe9fb0a(_0x858a2b);},'ijpYB':function(_0x466c50,_0x4c52cc){return _0x466c50(_0x4c52cc);},'wWABl':_0x38a94b(0x274),'jkMQm':function(_0x287fbd){return _0x287fbd();},'NDSFN':function(_0x1bedc6,_0x11e054){return _0x1bedc6(_0x11e054);},'GDuuH':_0x38a94b(0x1e7),'SnDio':function(_0xc15a91,_0x5b934d){return _0xc15a91(_0x5b934d);},'GxVpU':function(_0x1dea4c,_0x51c1b3){return _0x1dea4c(_0x51c1b3);},'GSGiA':_0x38a94b(0x1c9),'eLsrR':_0x38a94b(0x1b7),'FsNyP':_0x38a94b(0x1d0),'QYVfH':_0x38a94b(0x224),'CPJiE':function(_0x55fbec,_0x4fa7a6){return _0x55fbec>_0x4fa7a6;},'sBIts':function(_0x2bc9f6,_0x87a494){return _0x2bc9f6(_0x87a494);},'MtPcf':function(_0x13593f,_0x563f8b){return _0x13593f(_0x563f8b);},'SbYuE':_0x38a94b(0x276),'wjIjb':function(_0x5d1f29,_0xe6cd89){return _0x5d1f29(_0xe6cd89);},'AqqLZ':function(_0x1b6d46,_0x474d06){return _0x1b6d46!==_0x474d06;},'bPlMT':'\x20>\x20','hMDHO':'TestRunStarted','YulkV':_0x38a94b(0x229),'lbRWv':function(_0x3c4ca0,_0x2c34f1){return _0x3c4ca0(_0x2c34f1);},'vkIHy':function(_0x19329a,_0xddb2cd){return _0x19329a>_0xddb2cd;},'TAOdZ':_0x38a94b(0x1d6),'AuczR':_0x38a94b(0x258),'KLmXE':_0x38a94b(0x1ab),'DBxlX':function(_0x1a21cd,_0x3e4e93){return _0x1a21cd||_0x3e4e93;},'DIyXE':_0x38a94b(0x1e8),'iXDMx':function(_0x117583,_0xf338f0){return _0x117583(_0xf338f0);},'OzSpm':'test_skip','LUBDd':function(_0x49ac5e,_0x4ad1d3){return _0x49ac5e(_0x4ad1d3);},'JERGs':'TestRunSkipped','pCwhh':_0x38a94b(0x1a3),'agajY':_0x38a94b(0x1a2),'TRZTb':function(_0x473b72,_0x343f50){return _0x473b72===_0x343f50;},'sFRaM':_0x38a94b(0x220),'xvDau':function(_0x350a4d,_0xfe32b2){return _0x350a4d===_0xfe32b2;},'LeNZo':_0x38a94b(0x1fc),'ztwaR':function(_0x49d9e8,_0xd664bd){return _0x49d9e8===_0xd664bd;},'mQgjN':function(_0x5a156c){return _0x5a156c();},'VhAFK':function(_0x4a77b3,_0x4ba16a,_0x2a8a7d){return _0x4a77b3(_0x4ba16a,_0x2a8a7d);},'Nnyzn':_0x38a94b(0x292),'uIfpH':_0x38a94b(0x297),'wWxMr':function(_0x1b9d1e,_0x5273ea){return _0x1b9d1e(_0x5273ea);},'JRcLs':_0x38a94b(0x1c4),'ZpKQh':function(_0x1accc1,_0x28b936){return _0x1accc1(_0x28b936);},'yqusH':'EventHandler','zbmCW':function(_0xf1714,_0x15a0fa){return _0xf1714(_0x15a0fa);}};try{logger[_0x38a94b(0x1e5)](_0x38a94b(0x268)+_0x460b5b['ySVro'](shouldProcessEventForTesthub)+_0x38a94b(0x1df)+process[_0x38a94b(0x24f)][_0x38a94b(0x275)]);const _0x3e7d9f=_0x45b39d&&_0x45b39d[0x0]?_0x45b39d[0x0]:{};_0x3e7d9f&&_0x460b5b[_0x38a94b(0x1b4)](typeof _0x3e7d9f[_0x38a94b(0x279)],_0x460b5b['sFRaM'])&&_0x3e7d9f[_0x38a94b(0x279)]&&(_currentTestPath=_0x3e7d9f[_0x38a94b(0x279)]);let _0xd66580=0x0;try{if(_0x3e7d9f[_0x38a94b(0x251)]&&_0x460b5b[_0x38a94b(0x26f)](typeof _0x3e7d9f['config'][_0x38a94b(0x24d)],_0x460b5b[_0x38a94b(0x218)]))_0xd66580=_0x3e7d9f['config'][_0x38a94b(0x24d)];else{if(_0x3e7d9f['configuration']&&_0x460b5b[_0x38a94b(0x236)](typeof _0x3e7d9f[_0x38a94b(0x200)][_0x38a94b(0x24d)],_0x460b5b[_0x38a94b(0x218)]))_0xd66580=_0x3e7d9f['configuration'][_0x38a94b(0x24d)];else global['jestConfig']&&_0x460b5b[_0x38a94b(0x1b4)](typeof global['jestConfig'][_0x38a94b(0x24d)],_0x460b5b[_0x38a94b(0x218)])&&(_0xd66580=global['jestConfig'][_0x38a94b(0x24d)]);}}catch(_0x5d2471){logger[_0x38a94b(0x1e5)]('Error\x20reading\x20platformIndex\x20from\x20args:\x20'+util['format'](_0x5d2471));}global[_0x38a94b(0x1e9)]=_0xd66580,process['env'][_0x38a94b(0x1d5)]=_0x460b5b[_0x38a94b(0x1ec)](String,_0xd66580);const _0x2f18dc=new ObservabilityReporter();!_initializedPlatformIndices[_0x38a94b(0x22e)](_0xd66580)?(logger[_0x38a94b(0x1e5)](_0x38a94b(0x284)+_0xd66580),_initializedPlatformIndices[_0x38a94b(0x25a)](_0xd66580),_0x460b5b[_0x38a94b(0x210)](shouldProcessEventForTesthub)&&(_0x460b5b[_0x38a94b(0x246)](patchConsoleLogger),_0x2f18dc[_0x38a94b(0x1fd)]())):logger['debug'](_0x38a94b(0x28f)+_0xd66580+_0x38a94b(0x1f0));let _0x3326b1;try{_0x3326b1=_0x460b5b[_0x38a94b(0x1b5)](requireModule,_0x460b5b[_0x38a94b(0x1e3)],_0x460b5b[_0x38a94b(0x22a)]);}catch{_0x3326b1=_0x460b5b[_0x38a94b(0x191)](requireModule,_0x460b5b['uIfpH']);}let _0x388e6f;try{_0x388e6f=_0x460b5b[_0x38a94b(0x1b5)](requireModule,_0x460b5b[_0x38a94b(0x213)],_0x460b5b[_0x38a94b(0x22a)])['makeSingleTestResult'];}catch{_0x388e6f=_0x460b5b[_0x38a94b(0x24c)](requireModule,_0x460b5b[_0x38a94b(0x22a)])[_0x38a94b(0x19a)]||(()=>({}));}const _0x204124=BrowserstackCLI[_0x38a94b(0x1dd)]()[_0x38a94b(0x1c0)]();(_0x460b5b['ySVro'](shouldProcessEventForTesthub)||_0x204124)&&_0x3326b1[_0x38a94b(0x1e0)](_0x460b5b[_0x38a94b(0x1b5)](o11yErrorHandler,async(_0x5b9875,_0x345ff5)=>{const _0x1391f8=_0x38a94b;_0x460b5b['KzmFr'](_currentTestPath,_0x5b9875)&&_0x5b9875[_0x1391f8(0x1b1)]&&!_0x5b9875[_0x1391f8(0x1b1)][_0x1391f8(0x1e2)]&&(_0x5b9875[_0x1391f8(0x1b1)][_0x1391f8(0x1e2)]=_currentTestPath);switch(_0x5b9875[_0x1391f8(0x19c)]){case _0x460b5b[_0x1391f8(0x242)]:if(_0x5b9875[_0x1391f8(0x22f)]['fn']&&_0x5b9875[_0x1391f8(0x22f)]['fn'][_0x1391f8(0x203)]()[_0x1391f8(0x290)](/browserstack internal helper hook/))break;if(_0x5b9875[_0x1391f8(0x22f)]['parent']&&_0x460b5b[_0x1391f8(0x264)](_0x5b9875[_0x1391f8(0x22f)][_0x1391f8(0x1be)][_0x1391f8(0x19c)],_0x460b5b['WjSNa'])){const _0x489ca2=_0x5b9875[_0x1391f8(0x22f)][_0x1391f8(0x245)]&&((()=>{const _0x49d0a2=_0x1391f8;try{const _0x54aeab=_0x460b5b[_0x49d0a2(0x281)](require,_0x460b5b[_0x49d0a2(0x212)]),_0x5491a2=_0x54aeab['parse'][_0x49d0a2(0x250)](_0x54aeab,_0x5b9875[_0x49d0a2(0x22f)][_0x49d0a2(0x245)]);return _0x5491a2[0x0]&&_0x5491a2[0x0][_0x49d0a2(0x296)]?_0x5491a2[0x0][_0x49d0a2(0x296)]():null;}catch(_0x4f1010){return logger[_0x49d0a2(0x1e5)](_0x49d0a2(0x287)+_0x4f1010[_0x49d0a2(0x272)]),null;}})())||_0x5b9875['hook'][_0x1391f8(0x1e2)]||null;if(!_0x489ca2)break;}if(BrowserstackCLI[_0x1391f8(0x1dd)]()[_0x1391f8(0x1c0)]()&&await _0x460b5b[_0x1391f8(0x210)](isCLIReady)){if(_0x460b5b[_0x1391f8(0x281)](shouldProcessEventForTesthub,testHubConstants[_0x1391f8(0x1c3)][_0x1391f8(0x1d9)]))try{await _0x460b5b[_0x1391f8(0x1ee)](handleHookEventCLI,_0x5b9875[_0x1391f8(0x22f)],_0x460b5b[_0x1391f8(0x28d)],_0x345ff5);break;}catch(_0x33df51){_0x460b5b[_0x1391f8(0x28a)](debug,_0x1391f8(0x294)+util[_0x1391f8(0x244)](_0x33df51));}}if(_0x460b5b['ijpYB'](shouldProcessEventForTesthub,testHubConstants[_0x1391f8(0x1c3)][_0x1391f8(0x1d9)])){if(!_0x5b9875['hook']['hookAnalyticsId']){const _0xdd7bb4=TestDetails[_0x1391f8(0x226)](process[_0x1391f8(0x285)]+_0x1391f8(0x288));_0x5b9875[_0x1391f8(0x22f)][_0x1391f8(0x211)]=_0xdd7bb4;}else _0x5b9875['hook'][_0x1391f8(0x26a)]&&(_0x5b9875[_0x1391f8(0x22f)][_0x1391f8(0x211)]=TestDetails[_0x1391f8(0x226)](process[_0x1391f8(0x285)]+':hookAnalyticsId'),delete _0x5b9875[_0x1391f8(0x22f)][_0x1391f8(0x26a)]);_0x5b9875['hook']['started_at']=new Date()[_0x1391f8(0x22c)](),await _0x2f18dc[_0x1391f8(0x1b0)](_0x5b9875['hook'],undefined,![],_0x460b5b['mLDBZ']);}break;case _0x460b5b[_0x1391f8(0x252)]:if(BrowserstackCLI[_0x1391f8(0x1dd)]()[_0x1391f8(0x1c0)]()&&await _0x460b5b[_0x1391f8(0x233)](isCLIReady)){if(_0x460b5b[_0x1391f8(0x28e)](shouldProcessEventForTesthub,testHubConstants[_0x1391f8(0x1c3)][_0x1391f8(0x286)]))try{await _0x460b5b[_0x1391f8(0x1ee)](handleHookEventCLI,_0x5b9875['hook'],_0x460b5b[_0x1391f8(0x1f4)],_0x345ff5);break;}catch(_0x42dca0){_0x460b5b[_0x1391f8(0x1f9)](debug,_0x1391f8(0x294)+util[_0x1391f8(0x244)](_0x42dca0));}}_0x460b5b[_0x1391f8(0x1c7)](shouldProcessEventForTesthub,testHubConstants[_0x1391f8(0x1c3)][_0x1391f8(0x286)])&&(await _0x2f18dc[_0x1391f8(0x1b0)](_0x5b9875[_0x1391f8(0x22f)],undefined,![],_0x460b5b[_0x1391f8(0x1f4)]),TestDetails[_0x1391f8(0x196)](process['pid']+_0x1391f8(0x288)));break;case _0x460b5b[_0x1391f8(0x223)]:[_0x460b5b[_0x1391f8(0x25b)],_0x460b5b['FsNyP'],_0x460b5b['QYVfH']][_0x1391f8(0x234)](_0x5b9875[_0x1391f8(0x22f)][_0x1391f8(0x289)])&&(_0x2f18dc['hook_failure']=_0x5b9875[_0x1391f8(0x22f)][_0x1391f8(0x289)]),_0x345ff5[_0x1391f8(0x1bc)]&&_0x460b5b[_0x1391f8(0x24b)](_0x345ff5['unhandledErrors'][_0x1391f8(0x1ba)],0x0)&&(_0x5b9875[_0x1391f8(0x22f)][_0x1391f8(0x26b)]=[_0x345ff5['unhandledErrors'][0x0][0x0]]);if(BrowserstackCLI[_0x1391f8(0x1dd)]()[_0x1391f8(0x1c0)]()&&await _0x460b5b[_0x1391f8(0x210)](isCLIReady)){if(_0x460b5b[_0x1391f8(0x1de)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x1391f8(0x286)]))try{await _0x460b5b[_0x1391f8(0x1ee)](handleHookEventCLI,_0x5b9875[_0x1391f8(0x22f)],_0x460b5b[_0x1391f8(0x1f4)],_0x345ff5);break;}catch(_0x183a6d){_0x460b5b[_0x1391f8(0x28a)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x1391f8(0x244)](_0x183a6d));}}_0x460b5b[_0x1391f8(0x1af)](shouldProcessEventForTesthub,testHubConstants[_0x1391f8(0x1c3)][_0x1391f8(0x286)])&&(await _0x2f18dc['sendTestRunEvent'](_0x5b9875[_0x1391f8(0x22f)],undefined,![],_0x460b5b[_0x1391f8(0x1f4)]),TestDetails['removeTestUUID'](process[_0x1391f8(0x285)]+':hookAnalyticsId'));break;case _0x460b5b[_0x1391f8(0x262)]:if(_0x460b5b[_0x1391f8(0x28a)](isTrue,process[_0x1391f8(0x24f)][_0x1391f8(0x198)])&&_0x460b5b[_0x1391f8(0x1db)](isPhantomSkipFromNameFilter,_0x5b9875[_0x1391f8(0x1b1)])){const _0x84f178=_0x460b5b['SVMqt'](getFullJestTestName,_0x5b9875[_0x1391f8(0x1b1)]);logger['debug'](_0x1391f8(0x28c)+_0x84f178+'\x22');break;}try{let _0x3f9b44=_0x5b9875[_0x1391f8(0x1b1)][_0x1391f8(0x19c)]||'';try{let _0x4dcccf=_0x5b9875[_0x1391f8(0x1b1)]['parent'];const _0x4e4cb2=[_0x3f9b44];while(_0x4dcccf&&_0x4dcccf['name']&&_0x460b5b[_0x1391f8(0x283)](_0x4dcccf[_0x1391f8(0x19c)],_0x460b5b['WjSNa'])){_0x4e4cb2[_0x1391f8(0x27e)](_0x4dcccf[_0x1391f8(0x19c)]),_0x4dcccf=_0x4dcccf['parent'];}_0x3f9b44=_0x4e4cb2[_0x1391f8(0x241)](_0x460b5b[_0x1391f8(0x295)]);}catch(_0x4a4bcc){logger[_0x1391f8(0x1e5)](_0x1391f8(0x28b)+_0x4a4bcc[_0x1391f8(0x272)]);}process[_0x1391f8(0x254)]=_0x3f9b44,process[_0x1391f8(0x1ff)]=null,process['_bstackTestFailureReason']=null,logger['debug'](_0x1391f8(0x21f)+_0x3f9b44+'\x22');if(!global[_0x1391f8(0x227)]){const _0x22c4c6={};_0x22c4c6[_0x1391f8(0x278)]={},global[_0x1391f8(0x227)]=_0x22c4c6;}!global[_0x1391f8(0x227)]['currentTest']&&(global[_0x1391f8(0x227)][_0x1391f8(0x278)]={});const _0x419141={};_0x419141['title']=_0x3f9b44,_0x419141[_0x1391f8(0x19c)]=_0x3f9b44,global[_0x1391f8(0x227)]['currentTest'][_0x1391f8(0x205)]=_0x419141,global['browserstackTestName']=_0x3f9b44;}catch(_0x1b0527){logger['debug'](_0x1391f8(0x25c)+_0x1b0527[_0x1391f8(0x272)]);}if(BrowserstackCLI['getInstance']()[_0x1391f8(0x1c0)]()&&await _0x460b5b[_0x1391f8(0x233)](isCLIReady))try{await _0x460b5b[_0x1391f8(0x1ee)](handleTestEventCLI,_0x5b9875[_0x1391f8(0x1b1)],_0x460b5b['hMDHO'],_0x2f18dc);break;}catch(_0x2bb031){_0x460b5b[_0x1391f8(0x281)](debug,_0x1391f8(0x294)+util['format'](_0x2bb031));}_0x460b5b[_0x1391f8(0x210)](shouldProcessEventForTesthub)&&await _0x2f18dc['testStarted'](_0x5b9875[_0x1391f8(0x1b1)]);break;case _0x460b5b[_0x1391f8(0x1f7)]:{const _0x276b6a=_0x5b9875['test'];if(_0x460b5b[_0x1391f8(0x1af)](isTrue,process[_0x1391f8(0x24f)][_0x1391f8(0x198)])&&_0x460b5b['lbRWv'](isPhantomSkipFromNameFilter,_0x276b6a)){const _0xf95352=_0x460b5b[_0x1391f8(0x1af)](getFullJestTestName,_0x276b6a);logger[_0x1391f8(0x1e5)](_0x1391f8(0x237)+_0xf95352+'\x22'),_0x276b6a['markedStatus']=!![];break;}_0x5b9875[_0x1391f8(0x1b1)]={..._0x460b5b[_0x1391f8(0x28a)](_0x388e6f,_0x5b9875[_0x1391f8(0x1b1)]),..._0x5b9875[_0x1391f8(0x1b1)]};try{const _0x1856f2=_0x5b9875[_0x1391f8(0x1b1)][_0x1391f8(0x1f8)]||[],_0x40bde7=_0x460b5b['vkIHy'](_0x1856f2[_0x1391f8(0x1ba)],0x0)||_0x460b5b[_0x1391f8(0x264)](_0x5b9875[_0x1391f8(0x1b1)]['status'],_0x460b5b[_0x1391f8(0x21e)]),_0xee258e=_0x40bde7?_0x460b5b['AuczR']:_0x460b5b[_0x1391f8(0x282)];let _0x2a7e33='';_0x40bde7&&(_0x2a7e33=_0x1856f2[_0x1391f8(0x247)](_0x49b4a3=>{const _0x2248ae=_0x1391f8;if(Array['isArray'](_0x49b4a3))return _0x49b4a3[_0x2248ae(0x247)](_0x27f0c5=>_0x27f0c5&&_0x27f0c5['message']||String(_0x27f0c5))[_0x2248ae(0x241)](';\x20');return _0x49b4a3&&_0x49b4a3[_0x2248ae(0x272)]||_0x460b5b['xOcBf'](String,_0x49b4a3);})[_0x1391f8(0x241)](';\x20')),process[_0x1391f8(0x1ff)]=_0xee258e,process[_0x1391f8(0x238)]=_0x460b5b[_0x1391f8(0x194)](_0x2a7e33,''),logger[_0x1391f8(0x1e5)](_0x1391f8(0x1a5)+_0xee258e+'\x22'),global['__workerDetails']&&global[_0x1391f8(0x227)][_0x1391f8(0x278)]&&(!global['__workerDetails'][_0x1391f8(0x278)][_0x1391f8(0x205)]&&(global[_0x1391f8(0x227)][_0x1391f8(0x278)][_0x1391f8(0x205)]={}),global[_0x1391f8(0x227)]['currentTest'][_0x1391f8(0x205)]['status']=_0xee258e,_0x40bde7&&(global[_0x1391f8(0x227)][_0x1391f8(0x278)][_0x1391f8(0x205)][_0x1391f8(0x25f)]=_0x2a7e33));}catch(_0x4e75b5){logger['debug']('[customJestAdapterInit]\x20Error\x20in\x20test_done\x20status\x20storage:\x20'+_0x4e75b5[_0x1391f8(0x272)]);}if(!_0x5b9875[_0x1391f8(0x1b1)][_0x1391f8(0x26a)]){_0x5b9875['test'][_0x1391f8(0x26a)]=!![];if(BrowserstackCLI[_0x1391f8(0x1dd)]()[_0x1391f8(0x1c0)]()&&await _0x460b5b[_0x1391f8(0x210)](isCLIReady))try{await _0x460b5b[_0x1391f8(0x1ee)](handleTestEventCLI,_0x5b9875['test'],_0x460b5b[_0x1391f8(0x232)],_0x2f18dc);break;}catch(_0x52a16f){_0x460b5b[_0x1391f8(0x1fa)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x1391f8(0x244)](_0x52a16f));}_0x460b5b['jkMQm'](shouldProcessEventForTesthub)&&await _0x2f18dc[_0x1391f8(0x1b0)](_0x5b9875[_0x1391f8(0x1b1)]);}break;}case _0x460b5b[_0x1391f8(0x1c6)]:{const _0x4de289=_0x5b9875[_0x1391f8(0x1b1)];if(_0x460b5b[_0x1391f8(0x281)](isTrue,process[_0x1391f8(0x24f)][_0x1391f8(0x198)])&&_0x460b5b[_0x1391f8(0x1c7)](isPhantomSkipFromNameFilter,_0x4de289)){const _0x487f56=_0x460b5b['LUBDd'](getFullJestTestName,_0x4de289);logger['debug'](_0x1391f8(0x1bf)+_0x487f56+'\x22'),_0x4de289['markedStatus']=!![];break;}_0x5b9875[_0x1391f8(0x1b1)]={..._0x460b5b['GxVpU'](_0x388e6f,_0x5b9875[_0x1391f8(0x1b1)]),..._0x5b9875['test']};if(!_0x5b9875[_0x1391f8(0x1b1)][_0x1391f8(0x26a)]){_0x5b9875[_0x1391f8(0x1b1)][_0x1391f8(0x26a)]=!![];if(BrowserstackCLI[_0x1391f8(0x1dd)]()[_0x1391f8(0x1c0)]()&&await _0x460b5b[_0x1391f8(0x233)](isCLIReady))try{await _0x460b5b[_0x1391f8(0x1ee)](handleTestEventCLI,_0x5b9875[_0x1391f8(0x1b1)],_0x460b5b[_0x1391f8(0x1da)],_0x2f18dc);break;}catch(_0x30fc47){_0x460b5b[_0x1391f8(0x1de)](debug,_0x1391f8(0x294)+util[_0x1391f8(0x244)](_0x30fc47));}_0x460b5b[_0x1391f8(0x210)](shouldProcessEventForTesthub)&&await _0x2f18dc[_0x1391f8(0x1b0)](_0x5b9875['test'],undefined,![],_0x460b5b['JERGs']);}break;}case _0x460b5b[_0x1391f8(0x21d)]:_0x2f18dc[_0x1391f8(0x1c9)]=null;break;case _0x460b5b[_0x1391f8(0x1a6)]:await RequestQueueHandler[_0x1391f8(0x1dd)]()[_0x1391f8(0x201)](),process[_0x1391f8(0x1e4)]();break;default:}},_0x460b5b[_0x38a94b(0x1b8)]));}catch(_0x348343){_0x460b5b[_0x38a94b(0x21a)](debug,_0x38a94b(0x23c)+_0x348343);}return _0x460b5b[_0x38a94b(0x1db)](initInitialize,..._0x45b39d);};try{Object[a24_0x9d8b5d(0x206)](exportsI)[a24_0x9d8b5d(0x1a9)](_0x3a1b33=>{const _0x99e712={'HAPLb':function(_0x54a988,_0x283964){return _0x54a988(_0x283964);}};try{exports&&(exports[_0x3a1b33]=exportsI[_0x3a1b33]);}catch(_0x5ec963){_0x99e712['HAPLb'](debug,'Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20'+_0x5ec963);}});}catch(a24_0x40b049){debug(a24_0x9d8b5d(0x1b6)+a24_0x40b049);}const a24_0x7ef2a2={};a24_0x7ef2a2[a24_0x9d8b5d(0x1ef)]=getFullJestTestName,a24_0x7ef2a2[a24_0x9d8b5d(0x1f1)]=getActiveTestNamePattern,a24_0x7ef2a2[a24_0x9d8b5d(0x1f6)]=isPhantomSkipFromNameFilter,exports[a24_0x9d8b5d(0x26d)]=a24_0x7ef2a2;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a25_0x1773d7=a25_0x203d;(function(_0x6a6b6e,_0x5633e1){const _0x1eafb2=a25_0x203d,_0x3617f3=_0x6a6b6e();while(!![]){try{const _0x356738=parseInt(_0x1eafb2(0x1c4))/0x1*(parseInt(_0x1eafb2(0x1ca))/0x2)+parseInt(_0x1eafb2(0x1d0))/0x3*(parseInt(_0x1eafb2(0x1c2))/0x4)+parseInt(_0x1eafb2(0x1cb))/0x5*(parseInt(_0x1eafb2(0x1cd))/0x6)+parseInt(_0x1eafb2(0x1bf))/0x7*(parseInt(_0x1eafb2(0x1c7))/0x8)+-parseInt(_0x1eafb2(0x1c1))/0x9*(-parseInt(_0x1eafb2(0x1cf))/0xa)+-parseInt(_0x1eafb2(0x1be))/0xb*(parseInt(_0x1eafb2(0x1ce))/0xc)+-parseInt(_0x1eafb2(0x1c6))/0xd*(parseInt(_0x1eafb2(0x1bd))/0xe);if(_0x356738===_0x5633e1)break;else _0x3617f3['push'](_0x3617f3['shift']());}catch(_0xbffc18){_0x3617f3['push'](_0x3617f3['shift']());}}}(a25_0x4329,0xbe956));const Sequencer=require(a25_0x1773d7(0x1c8))[a25_0x1773d7(0x1c5)];function a25_0x203d(_0x5a9c1f,_0x41218c){const _0x43293e=a25_0x4329();return a25_0x203d=function(_0x203d0e,_0x56af5b){_0x203d0e=_0x203d0e-0x1bc;let _0x3c0b87=_0x43293e[_0x203d0e];return _0x3c0b87;},a25_0x203d(_0x5a9c1f,_0x41218c);}class CustomSequencer extends Sequencer{[a25_0x1773d7(0x1c9)](_0x2a8800){const _0x5e53d5=a25_0x1773d7,_0x3bab1f=process['env'][_0x5e53d5(0x1d1)];if(!_0x3bab1f)return _0x2a8800;const _0x5e34fc=_0x3bab1f[_0x5e53d5(0x1c3)](','),_0x3eddc4=new Map(_0x2a8800['filter'](_0x4250fa=>_0x5e34fc[_0x5e53d5(0x1d3)](_0x4250fa[_0x5e53d5(0x1d2)]))[_0x5e53d5(0x1c0)](_0x7bd25d=>[_0x7bd25d[_0x5e53d5(0x1d2)],_0x7bd25d]));return _0x5e34fc[_0x5e53d5(0x1c0)](_0x1ea345=>_0x3eddc4[_0x5e53d5(0x1bc)](_0x1ea345))['filter'](Boolean);}}module[a25_0x1773d7(0x1cc)]=CustomSequencer;function a25_0x4329(){const _0x1dd31b=['13914hZOcWW','7142335TMYWFj','exports','6rDHIvI','12ixcEfz','1918670yyJQxP','36BLsjOh','JEST_TEST_ORDER','path','includes','get','25851910kGhzpi','13687113ekpkIB','313117FZudTN','map','45mBmHrf','81072XNodIX','split','69jApzzP','default','13wExZMM','136ipVeBJ','@jest/test-sequencer','sort'];a25_0x4329=function(){return _0x1dd31b;};return a25_0x4329();}
|