browserstack-node-sdk 1.63.1 → 1.63.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a24_0x488b18=a24_0x3cfd;(function(_0x282c93,_0x378dd3){const _0x52468b=a24_0x3cfd,_0x2e5fba=_0x282c93();while(!![]){try{const _0x59cf62=parseInt(_0x52468b(0x1db))/0x1+parseInt(_0x52468b(0x1d4))/0x2+-parseInt(_0x52468b(0x208))/0x3+parseInt(_0x52468b(0x128))/0x4+-parseInt(_0x52468b(0x1f6))/0x5*(parseInt(_0x52468b(0x1f9))/0x6)+parseInt(_0x52468b(0x139))/0x7*(-parseInt(_0x52468b(0x1cd))/0x8)+-parseInt(_0x52468b(0x1ca))/0x9;if(_0x59cf62===_0x378dd3)break;else _0x2e5fba['push'](_0x2e5fba['shift']());}catch(_0xbb1307){_0x2e5fba['push'](_0x2e5fba['shift']());}}}(a24_0x12a0,0x7276b));const util=require(a24_0x488b18(0x127)),helper=require(a24_0x488b18(0x1d9)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a24_0x488b18(0x126)),{sendPlatformDetails}=require('../../helpers/test-observability/utils'),{isBrowserstackInfra,markSessionStatus}=require(a24_0x488b18(0x1d9));let __error_messages__=[];const RequestQueueHandler=require(a24_0x488b18(0x193));jest[a24_0x488b18(0x117)](__timeout);const {isAccessibilityAutomationSession,fetchPlatformDetails,shouldScanTestForAccessibility}=require(a24_0x488b18(0x168)),{percyAutoCapture}=require(a24_0x488b18(0x13b)),logger=require(a24_0x488b18(0x170))[a24_0x488b18(0x116)],TestDetails=require(a24_0x488b18(0x21e)),PerformanceTester=require('../../helpers/performance/performance-tester'),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require('../../helpers/performance/constants'),scripts=require(a24_0x488b18(0x16e)),globals=require('../../helpers/globals'),{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a24_0x488b18(0x1c4)),{v4:uuidv4}=require(a24_0x488b18(0x19e)),BrowserstackCLI=require(a24_0x488b18(0x122)),AutomationFrameworkState=require(a24_0x488b18(0x198)),HookState=require(a24_0x488b18(0x11c)),{FRAMEWORKS}=require(a24_0x488b18(0x141));globals[a24_0x488b18(0x1e1)]=browserStackGlobals;if(typeof global[a24_0x488b18(0x12d)]===a24_0x488b18(0x14e))try{const {TransformStream}=require(a24_0x488b18(0x165));global['TransformStream']=TransformStream;}catch(a24_0x260a80){logger[a24_0x488b18(0x13a)](a24_0x488b18(0x131)+a24_0x260a80[a24_0x488b18(0x172)]);}function stripUnicode(_0x3a6098){const _0x1f4cc4=a24_0x488b18;return _0x3a6098[_0x1f4cc4(0x133)](/\\u001b\[.*?m/g,'')[_0x1f4cc4(0x1f5)](0x1,-0x1);}async function setContext(){const _0x49ab16=a24_0x488b18,_0x181a98={'wThNi':function(_0x14e106){return _0x14e106();},'MthTn':_0x49ab16(0x225),'DBRkQ':function(_0x57dffc,_0x1cde42){return _0x57dffc!==_0x1cde42;},'wuhfP':_0x49ab16(0x14e),'tXBGh':function(_0x44f9d2,_0x2e41b4){return _0x44f9d2>_0x2e41b4;},'akBUm':function(_0x28675f,_0x2f621e){return _0x28675f(_0x2f621e);},'qOQqR':function(_0x8fb62f,_0x211215){return _0x8fb62f(_0x211215);},'aAefb':function(_0x575b47,_0x163e14){return _0x575b47(_0x163e14);}};if(!_0x181a98[_0x49ab16(0x247)](isBrowserstackInfra))return;const _0x209715=expect[_0x49ab16(0x124)]()[_0x49ab16(0x1c7)];globals[_0x49ab16(0x1d1)](_0x181a98['MthTn'],_0x209715);!sessionNameProvided&&await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x49ab16(0x226)],async()=>{const _0x52acf3=_0x49ab16;await __drivers[0x0]['executeScript'](_0x52acf3(0x155)+_0x209715+_0x52acf3(0x20e));})();let _0xd2c55e=null,_0x2c497e=![];_0x181a98[_0x49ab16(0x16c)](typeof jasmine,_0x181a98[_0x49ab16(0x17e)])?jasmine[_0x49ab16(0x1a9)]['failedExpectations']&&_0x181a98[_0x49ab16(0x121)](jasmine['currentTest'][_0x49ab16(0x14d)][_0x49ab16(0x163)],0x0)?(_0x2c497e=!![],_0xd2c55e=_0x181a98[_0x49ab16(0x23e)](stripUnicode,JSON[_0x49ab16(0x1b9)](jasmine[_0x49ab16(0x1a9)]['failedExpectations'][0x0][_0x49ab16(0x172)]))):_0xd2c55e=_0x181a98[_0x49ab16(0x245)](stripUnicode,JSON[_0x49ab16(0x1b9)](jasmine[_0x49ab16(0x1a9)][_0x49ab16(0x14a)])):testContext[_0x49ab16(0x1fa)]&&_0x181a98[_0x49ab16(0x121)](testContext['errors'][_0x49ab16(0x163)],0x0)?(_0x2c497e=!![],_0xd2c55e=_0x181a98[_0x49ab16(0x123)](stripUnicode,JSON[_0x49ab16(0x1b9)](testContext[_0x49ab16(0x1fa)][0x0][0x0][_0x49ab16(0x172)]||testContext[_0x49ab16(0x1fa)][0x0][0x0]))):_0xd2c55e=_0x181a98[_0x49ab16(0x123)](stripUnicode,JSON['stringify'](testContext[_0x49ab16(0x151)])),_0x2c497e?(__error_messages__[_0x49ab16(0x209)](_0xd2c55e),await __drivers[0x0][_0x49ab16(0x18f)](_0x49ab16(0x176)+_0xd2c55e+_0x49ab16(0x1ad))):await __drivers[0x0]['executeScript']('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Passed\x20-\x20'+_0xd2c55e+_0x49ab16(0x12b));}const executeAnnotate=async(_0x39903a,_0x4b9efc)=>{const _0x747f70=a24_0x488b18;await global[_0x747f70(0x1bc)][0x0][_0x747f70(0x18f)](_0x747f70(0x15f)+_0x39903a+_0x747f70(0x134)+_0x4b9efc+'\x22}}');};function a24_0x12a0(){const _0x317696=['afterTest','../../helpers/test-observability/requestQueueHandler','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.','eksYv','pmQqb','lGorU','../v2/state/automationFrameworkState','ENV_VAR','afterTestHook','DphQA','zXBzb','Successfully\x20closed\x20page\x20via\x20fallback','uuid','pwPage','uTifP','OVhsG','yjHRC','fmnvC','session_','Error\x20in\x20fallback\x20page\x20close:\x20','ooPuF','Error\x20triggering\x20QUIT\x20PRE\x20event:\x20','3|4|1|2|0','currentTest','fuoGa','PpNXN','EimqB','\x22,\x22level\x22:\x20\x22error\x22}}','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','SAbef','command','info','YbYeV','Performing\x20scan\x20before\x20saving\x20results','srPrU','lRPKA','Failed\x20to\x20store\x20session\x20name:\x20','NCRcg','percyCaptureMode','stringify','browserContext','error','__drivers','FJZpi','hUQhP','Unknown\x20Test','trackEvent','ObservabilitySync:','getTestUUID','title','../../helpers/testhub/constants','nZxpw','wmNyB','currentTestName','bstackA11yShouldScan','yEnWK','2402433bvaRfe','performScan','Error\x20in\x20pw-jest\x20afterEach:\x20','30552VrCHeO','AAZka','bpIPR','failed','setGlobal','wsISN','Error\x20loading\x20patcher\x20in\x20afterEach:\x20','1044808LpAlOi','zOcDN','testAnalyticsId','driverCleanup:\x20No\x20drivers\x20to\x20clean\x20up','QUIT\x20PRE\x20event\x20completed\x20for\x20test:\x20','../../helpers/helper','dRdvr','730889txkTbv','fkmXX','sLSlW','NCOju','aWZOB','viMVz','browserStackGlobals','appium:app','CrrcC','Error\x20in\x20playwright\x20beforeTestHook:\x20','pkIDf','capabilities','Error\x20executing\x20deferred\x20closes:\x20','WjYec','iAVBB','browserstackSessionName','initQuit','testInfo',',\x20testName=','startMonitoring','NilvK','__currentTestInfo','Error\x20determining\x20test\x20flow:\x20','WKHKL','browser','../utils/puppeteer-patcher','slice','2020ENyoWj','BSbAO','Error\x20preparing\x20AutomationFramework\x20events:\x20','1998cHXKNc','errors','BROWSERSTACK_TESTHUB_JWT','WiTfx','yELdQ','../utils/playwright-patcher','qWdHX','Yjayc','rJtLZ','getPageFromAutomationFramework','Playwright','retryTimes','GIVps','.\x20Error\x20:','inside\x20before\x20each\x20jest\x20hook','940704mRsTDm','push','QUIT','CsjLn','SAVE_RESULTS','inspect','\x22}}','\x20with\x20testIdentifier:\x20','end','Error\x20handling\x20Playwright/Puppeteer\x20test\x20cleanup:\x20','afterEach','percy','platformCaps','is_mobile_session','getPackageVersion','puppeteer','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','SDK_HOOK',':testAnalyticsId','oaqfJ','dUBcl','vzAbM','./test-observability/test-details','log','app','beforeEach','wXjEt','XYcOR','removeAllListeners','browserstackTestName','SESSION_NAME','executeAsyncScript','IiwRW','TVRuu','Error\x20cleaning\x20up\x20after\x20deferred\x20closes:\x20','format','getGlobal','EIHOn','CREATE','IffUd','quitCount_','http:','closeTracker','__jestCurrentTestIdentifier','tHnhn','qLxzL','CnZds','lgSnG','uYNkb','afterAll','AZnok','NelLX','GrFIy','context','akBUm','ddZIJ','SlGYI','measureWrapper','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','WYgup','env','qOQqR','LByLU','wThNi','RMiRO','start','Playwright\x20flow\x20detected\x20in\x20beforeEach','winstonLogger','setTimeout','tdUiI','launchCaps','GAjXE','cJpuk','../v2/state/hookState','tfZUo','Exception\x20in\x20jest\x20driver\x20with\x20error:\x20','@playwright/test','jest-test','tXBGh','../v2/browserstackCLI','aAefb','getState','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','../utils/constants','util','3220552jyMaCf','Exception\x20in\x20jest\x20percy\x20with\x20error:\x20','executeDeferredCloses','\x22,\x22level\x22:\x20\x22info\x22}}','JZwea','TransformStream','function','Error\x20getting\x20page\x20context/browser:\x20','\x20flow\x20detected\x20-\x20page\x20exists:\x20','TransformStream\x20polyfill\x20not\x20available:\x20','LuRbD','replace',',\x22level\x22:\x20\x22','Cleaned\x20up\x20close\x20tracker\x20after\x20deferred\x20closes','beforeAll','POST','SESSION_STATUS','1603TmrPLV','debug','../../helpers/percy/utils','HuRay','NugSx','protocol','pid','[Jest\x20Setup]\x20Triggered\x20CREATE\x20POST\x20event\x20for\x20test:\x20','../../helpers/test-observability/constants','Executed\x20deferred\x20closes\x20after\x20QUIT\x20PRE\x20event\x20completion','\x20|\x20','isPageFixture','tHJQm','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','getAutomationFramework','Error\x20loading\x20puppeteer-patcher:\x20','Cleaned\x20up\x20page\x20references\x20after\x20deferred\x20closes','description','Successfully\x20executed\x20deferred\x20Playwright\x20closes\x20(with\x20force\x20close)','includes','failedExpectations','undefined','puppeteer-core','testcase','name','jRyUw','FmMrr','getCurrentUrl','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','RqfNn','saveTestResults','wGeSl','shift','SYNC','JsvfU','testContext','bTdEm','close','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','getEnv','FrNqf','IjPDZ','length','VeEDk','stream/web','IZbws','inside\x20after\x20each\x20jest\x20hook','../../helpers/accessibility-automation/helper','LXAfa','ywKiV','Test\x20info\x20prepared\x20for\x20CREATE\x20PRE\x20event:\x20','DBRkQ','Error\x20cleaning\x20up\x20close\x20tracker:\x20','../../helpers/accessibility-automation/scripts','isCliEnabled','../../helpers/logger','__workerDetails','message','hookType','split','pjWYo','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Failed\x20-\x20','https:','testFramework','JEST','JqJLq','cuLEi','Jest','testPath','wuhfP','isRunning','Cleaned\x20up\x20close\x20tracker','isAccessibilityPlatform','getInstance','NglOp','IfJti','Exception\x20in\x20jest\x20process\x20event\x20with\x20error:\x20','QzznP','page','lXfKC','Puppeteer\x20flow\x20detected\x20in\x20beforeEach','isArray','Exception\x20in\x20jest\x20hook\x20with\x20error:\x20','PRE','qLUqj','QnvrH','executeScript','passed','ipEXe'];a24_0x12a0=function(){return _0x317696;};return a24_0x12a0();}function a24_0x3cfd(_0x577438,_0x29f538){const _0x12a0fa=a24_0x12a0();return a24_0x3cfd=function(_0x3cfdc3,_0x370cd8){_0x3cfdc3=_0x3cfdc3-0x116;let _0x5d4205=_0x12a0fa[_0x3cfdc3];return _0x5d4205;},a24_0x3cfd(_0x577438,_0x29f538);}async function driverCleanup(){const _0x50019d=a24_0x488b18,_0xc843ef={'fkmXX':function(_0x993215){return _0x993215();},'CnZds':function(_0x567bce,_0x351d01){return _0x567bce===_0x351d01;},'bTdEm':_0x50019d(0x1d7),'DphQA':'2|0|3|4|1','tdUiI':function(_0x2c8c47,_0x1bde1d){return _0x2c8c47>_0x1bde1d;},'yELdQ':function(_0x48fdfa,_0x2a54c7,_0x15932b,_0x10e336){return _0x48fdfa(_0x2a54c7,_0x15932b,_0x10e336);},'VHEiW':_0x50019d(0x1d0),'uTifP':_0x50019d(0x143),'NCRcg':function(_0x3e626e,_0x36c23a,_0x27e59a){return _0x3e626e(_0x36c23a,_0x27e59a);},'wGeSl':'passed'};if(!_0xc843ef[_0x50019d(0x1dc)](isBrowserstackInfra))return;if(!global['__drivers']||!Array['isArray'](global['__drivers'])||_0xc843ef[_0x50019d(0x236)](global[_0x50019d(0x1bc)][_0x50019d(0x163)],0x0)){logger[_0x50019d(0x13a)](_0xc843ef[_0x50019d(0x15d)]);return;}let _0x2cd348=![];try{const _0x23b026=_0xc843ef[_0x50019d(0x19b)][_0x50019d(0x174)]('|');let _0x5bd2a8=0x0;while(!![]){switch(_0x23b026[_0x5bd2a8++]){case'0':await global[_0x50019d(0x1bc)][0x0]['session_'];continue;case'1':PerformanceTester[_0x50019d(0x210)](PerformanceAutEvents[_0x50019d(0x138)],!![]);continue;case'2':PerformanceTester[_0x50019d(0x249)](PerformanceAutEvents['SESSION_STATUS']);continue;case'3':_0x2cd348=!![];continue;case'4':_0xc843ef[_0x50019d(0x118)](__error_messages__[_0x50019d(0x163)],0x0)?await _0xc843ef[_0x50019d(0x1fd)](markSessionStatus,global[_0x50019d(0x1bc)][0x0],_0xc843ef['VHEiW'],__error_messages__['join'](_0xc843ef[_0x50019d(0x1a0)])):await _0xc843ef[_0x50019d(0x1b7)](markSessionStatus,global['__drivers'][0x0],_0xc843ef[_0x50019d(0x158)]);continue;}break;}}catch(_0x2a5dd8){console[_0x50019d(0x21f)](_0x2a5dd8),PerformanceTester['end'](PerformanceAutEvents[_0x50019d(0x138)],![],_0x2a5dd8);}__error_messages__=[];if(_0x2cd348)try{await global[_0x50019d(0x1bc)][0x0][_0x50019d(0x1eb)]();}catch(_0x365303){console[_0x50019d(0x21f)](_0x365303);}}beforeAll(async()=>{const _0x4ab1a3=a24_0x488b18,_0x35b3bc={'IjPDZ':function(_0x9c87d3,_0x2230de){return _0x9c87d3!==_0x2230de;},'ooPuF':_0x4ab1a3(0x14e),'EIHOn':function(_0x451648,_0xc6adeb){return _0x451648>_0xc6adeb;},'tHnhn':_0x4ab1a3(0x136),'nZxpw':function(_0x12ed30){return _0x12ed30();},'LuRbD':function(_0x592c3a,_0x1e6eb0,_0x8a4cc1){return _0x592c3a(_0x1e6eb0,_0x8a4cc1);}};__error_messages__=[];!global['__drivers']&&(global[_0x4ab1a3(0x1bc)]=[]);PerformanceTester[_0x4ab1a3(0x1ee)](),PerformanceTester[_0x4ab1a3(0x249)](PerformanceHookEvents[_0x4ab1a3(0x219)]);_0x35b3bc[_0x4ab1a3(0x162)](typeof __jestRetries,_0x35b3bc[_0x4ab1a3(0x1a6)])&&_0x35b3bc[_0x4ab1a3(0x22d)](__jestRetries,0x0)&&jest[_0x4ab1a3(0x204)](__jestRetries);const _0x48c5f4='browserstack internal helper hook';_0x35b3bc['IjPDZ'](typeof jasmine,_0x35b3bc['ooPuF'])&&jasmine[_0x4ab1a3(0x160)]()['addReporter']({'specStarted':_0x4a5784=>{const _0x25091d=_0x4ab1a3;jasmine[_0x25091d(0x1a9)]=_0x4a5784;}});let _0x225c70=![];try{await __drivers[0x0][_0x4ab1a3(0x1a4)],_0x225c70=!![];}catch(_0x45f001){logger[_0x4ab1a3(0x13a)](_0x4ab1a3(0x11e)+_0x45f001);const _0x4df384={};_0x4df384['hookType']=_0x35b3bc['tHnhn'],PerformanceTester[_0x4ab1a3(0x210)](PerformanceHookEvents['SDK_HOOK'],![],_0x45f001,_0x4df384);}if(_0x225c70)try{_0x35b3bc[_0x4ab1a3(0x1c5)](shouldProcessEventForTesthub)&&(__drivers[0x0]&&await _0x35b3bc[_0x4ab1a3(0x132)](sendPlatformDetails,__drivers[0x0],TestDetails[_0x4ab1a3(0x1c2)](process[_0x4ab1a3(0x13f)]+_0x4ab1a3(0x21a))));}catch(_0x768012){logger[_0x4ab1a3(0x13a)](_0x4ab1a3(0x185)+_0x768012);const _0x3b2121={};_0x3b2121[_0x4ab1a3(0x173)]=_0x35b3bc[_0x4ab1a3(0x234)],PerformanceTester[_0x4ab1a3(0x210)](PerformanceHookEvents[_0x4ab1a3(0x219)],![],_0x768012,_0x3b2121);}const _0x1493ab={};_0x1493ab[_0x4ab1a3(0x173)]=_0x35b3bc[_0x4ab1a3(0x234)],PerformanceTester[_0x4ab1a3(0x210)](PerformanceHookEvents[_0x4ab1a3(0x219)],!![],null,_0x1493ab);}),beforeEach(async()=>{const _0x564a73=a24_0x488b18,_0x583717={'vzAbM':_0x564a73(0x207),'ywKiV':'browserstackTestName','uYNkb':function(_0x5e1e81,_0x200bab,_0x50b282){return _0x5e1e81(_0x200bab,_0x50b282);},'Yjayc':_0x564a73(0x11f),'SvEJb':_0x564a73(0x217),'AGnAW':_0x564a73(0x14f),'CrrcC':function(_0x1a3cab,_0x3188db){return _0x1a3cab(_0x3188db);},'JqJLq':'../utils/playwright-patcher','wvnYw':_0x564a73(0x24a),'AAZka':function(_0xc2d455,_0x259017){return _0xc2d455(_0x259017);},'TVRuu':_0x564a73(0x1f4),'HsHup':_0x564a73(0x189),'QnvrH':_0x564a73(0x1a8),'PpNXN':function(_0xeb2925,_0x49d394){return _0xeb2925>_0x49d394;},'JZwea':function(_0x454d00){return _0x454d00();},'ddZIJ':function(_0x534408){return _0x534408();},'srPrU':function(_0x24925d,_0x5b8740){return _0x24925d>_0x5b8740;},'NugSx':_0x564a73(0x221),'NilvK':_0x564a73(0x1c8),'bpIPR':function(_0x4a03e8){return _0x4a03e8();},'fmnvC':_0x564a73(0x181),'XYcOR':function(_0x1f032d,_0x1af794){return _0x1f032d===_0x1af794;},'HuRay':_0x564a73(0x231),'pkIDf':function(_0x2282c3,_0xedd9f9){return _0x2282c3===_0xedd9f9;},'qLUqj':_0x564a73(0x177),'PLMnJ':_0x564a73(0x146),'pjWYo':_0x564a73(0x122),'IiwRW':_0x564a73(0x126),'qWdHX':function(_0x2a3345,_0x2a2f72){return _0x2a3345(_0x2a2f72);},'VeEDk':'../v2/state/automationFrameworkState','wXjEt':_0x564a73(0x11c),'jRyUw':function(_0x77eefa,_0x55531a){return _0x77eefa||_0x55531a;},'iAVBB':'Unknown\x20Test','WYgup':_0x564a73(0x120),'NzVVO':function(_0x2e7687,_0x58d0cf){return _0x2e7687&&_0x58d0cf;},'AZnok':_0x564a73(0x12e),'WiTfx':function(_0x441994,_0x29117d){return _0x441994===_0x29117d;},'IffUd':function(_0x3f8e36,_0x2747d1){return _0x3f8e36>_0x2747d1;},'qLxzL':function(_0x16198b){return _0x16198b();}};logger[_0x564a73(0x13a)](_0x583717[_0x564a73(0x21d)]),PerformanceTester[_0x564a73(0x249)](PerformanceHookEvents[_0x564a73(0x219)]);const _0x1d232a='browserstack internal helper hook';let _0x445a40=!![],_0x1b8d74=null;try{const _0x35aafc=expect[_0x564a73(0x124)]()['currentTestName'];globals['setGlobal'](_0x583717[_0x564a73(0x16a)],_0x35aafc);const _0x18dc33=_0x583717[_0x564a73(0x238)](shouldScanTestForAccessibility,_0x35aafc,![]),_0x2d20ca=helper['getPackageVersion'](_0x583717[_0x564a73(0x200)]),_0x2181da=helper['getPackageVersion'](_0x583717['SvEJb'])||helper['getPackageVersion'](_0x583717['AGnAW']);if(!!_0x2d20ca)try{_0x1b8d74=_0x583717[_0x564a73(0x1e3)](require,_0x583717[_0x564a73(0x17a)]),logger['debug'](_0x583717['wvnYw']);}catch(_0x133e09){logger[_0x564a73(0x13a)]('Error\x20loading\x20playwright-patcher:\x20'+util['format'](_0x133e09));}else{if(!!_0x2181da)try{_0x1b8d74=_0x583717[_0x564a73(0x1ce)](require,_0x583717[_0x564a73(0x229)]),logger[_0x564a73(0x13a)](_0x583717['HsHup']);}catch(_0xcb1271){logger[_0x564a73(0x13a)](_0x564a73(0x148)+util[_0x564a73(0x22b)](_0xcb1271));}}try{const _0x4d9c9a=_0x583717[_0x564a73(0x18e)]['split']('|');let _0x39ac48=0x0;while(!![]){switch(_0x4d9c9a[_0x39ac48++]){case'0':!_0x1b8d74&&_0x583717[_0x564a73(0x1ab)](__drivers[_0x564a73(0x163)],0x0)&&_0x583717[_0x564a73(0x1ab)](__drivers[0x0][_0x564a73(0x230)],0x0)&&(_0x445a40=![],await _0x583717[_0x564a73(0x12c)](driverCleanup));continue;case'1':!_0x1b8d74&&_0x583717[_0x564a73(0x1ab)](__drivers[_0x564a73(0x163)],0x1)&&(await _0x583717[_0x564a73(0x23f)](driverCleanup),__drivers[_0x564a73(0x159)]());continue;case'2':_0x1b8d74&&_0x583717[_0x564a73(0x1b4)](__drivers[_0x564a73(0x163)],0x0)&&(__drivers[0x0][_0x564a73(0x1ea)]=_0x35aafc,__drivers[0x0][_0x564a73(0x1c8)]=_0x18dc33);continue;case'3':Array[_0x564a73(0x18a)](__drivers)&&__drivers[0x0]&&(__drivers[0x0][_0x564a73(0x1ea)]=_0x35aafc);continue;case'4':global[_0x564a73(0x1ea)]=_0x35aafc;continue;}break;}}catch(_0x3c13d5){logger[_0x564a73(0x13a)](_0x564a73(0x1b6)+_0x3c13d5);const _0x4c3c88={};_0x4c3c88[_0x564a73(0x173)]=_0x583717[_0x564a73(0x13d)],PerformanceTester[_0x564a73(0x210)](PerformanceHookEvents['SDK_HOOK'],![],_0x3c13d5,_0x4c3c88);}globals[_0x564a73(0x1d1)](_0x583717[_0x564a73(0x1ef)],_0x18dc33);if(global[_0x564a73(0x171)]){const _0x3d8d7d=expect[_0x564a73(0x124)]()[_0x564a73(0x17d)],_0x15319e=global[_0x564a73(0x233)],_0x39169f=expect[_0x564a73(0x124)]()['currentTestName']||_0x35aafc;global['__workerDetails'][_0x564a73(0x1a9)]={'id':_0x15319e,'testAnalyticsId':_0x15319e,'thTestRunUuid':TestDetails[_0x564a73(0x1c2)](process[_0x564a73(0x13f)]+_0x564a73(0x21a)),'testInfo':{'title':_0x35aafc,'fullName':_0x39169f,'displayName':_0x35aafc,'name':_0x39169f,'testPath':_0x3d8d7d,'testIdentifier':_0x15319e}},logger[_0x564a73(0x13a)]('[Jest\x20Setup]\x20beforeEach:\x20testIdentifier='+_0x15319e+_0x564a73(0x1ed)+_0x35aafc+',\x20testPath='+_0x3d8d7d);}if(!_0x1b8d74&&_0x583717[_0x564a73(0x1cf)](isAccessibilityAutomationSession)&&_0x445a40&&Array[_0x564a73(0x18a)](__drivers)&&_0x583717[_0x564a73(0x1b4)](__drivers[_0x564a73(0x163)],0x0)&&globals[_0x564a73(0x22c)](_0x583717[_0x564a73(0x1a3)]))try{const _0x882c2d=await __drivers[0x0]['session_'];if(_0x882c2d){let _0x15f38e=!![];const _0x4221e1=await __drivers[0x0][_0x564a73(0x154)]();let _0x45d757;try{_0x45d757=new URL(_0x4221e1);}catch(_0x42aea3){_0x15f38e=![];}_0x15f38e=_0x583717[_0x564a73(0x223)](_0x45d757[_0x564a73(0x13e)],_0x583717[_0x564a73(0x13c)])||_0x583717['pkIDf'](_0x45d757[_0x564a73(0x13e)],_0x583717[_0x564a73(0x18d)]),_0x15f38e&&(_0x18dc33&&logger[_0x564a73(0x1b1)](_0x583717['PLMnJ']));}}catch(_0x4f3358){logger[_0x564a73(0x1bb)](_0x564a73(0x125)+_0x4f3358);const _0x5d50d2={};_0x5d50d2[_0x564a73(0x173)]=_0x583717[_0x564a73(0x13d)],PerformanceTester[_0x564a73(0x210)](PerformanceHookEvents[_0x564a73(0x219)],![],er,_0x5d50d2);}if(_0x1b8d74&&global[_0x564a73(0x171)]&&global[_0x564a73(0x171)][_0x564a73(0x1a9)])try{await _0x1b8d74['beforeTestHook'](global[_0x564a73(0x171)][_0x564a73(0x1a9)][_0x564a73(0x1ec)]);}catch(_0x5aefe5){logger[_0x564a73(0x13a)](_0x564a73(0x1e4)+util[_0x564a73(0x22b)](_0x5aefe5));}if(_0x1b8d74&&global[_0x564a73(0x171)]&&global[_0x564a73(0x171)]['currentTest'])try{const _0x3a67d8=_0x583717[_0x564a73(0x1ce)](require,_0x583717[_0x564a73(0x175)]),{FRAMEWORKS:_0x368f7b}=_0x583717[_0x564a73(0x1e3)](require,_0x583717[_0x564a73(0x228)]),_0x47ef66=_0x583717[_0x564a73(0x1ff)](require,_0x583717[_0x564a73(0x164)]),_0x43a68d=_0x583717['CrrcC'](require,_0x583717[_0x564a73(0x222)]);if(_0x3a67d8['getInstance']()[_0x564a73(0x16f)]()&&_0x3a67d8[_0x564a73(0x182)]()[_0x564a73(0x17f)]()){const _0x4b569e={'title':_0x583717['jRyUw'](_0x35aafc,_0x583717['iAVBB']),'titlePath':[_0x583717[_0x564a73(0x152)](_0x35aafc,_0x583717[_0x564a73(0x1e9)])],'id':global[_0x564a73(0x171)][_0x564a73(0x1a9)]['id']||_0x583717[_0x564a73(0x243)],'testAnalyticsId':global[_0x564a73(0x171)][_0x564a73(0x1a9)][_0x564a73(0x1d6)],'testPath':global['__workerDetails'][_0x564a73(0x1a9)][_0x564a73(0x1ec)]?.['testPath'],...global['__workerDetails']['currentTest'][_0x564a73(0x1ec)]};global[_0x564a73(0x1f0)]=_0x4b569e,logger[_0x564a73(0x13a)](_0x564a73(0x16b)+_0x35aafc);try{const _0x168ccf=global[_0x564a73(0x171)]?.[_0x564a73(0x19f)]||_0x1b8d74[_0x564a73(0x202)]();if(_0x168ccf){const _0x524af0=_0x583717['NzVVO'](!!_0x2181da,!_0x2d20ca);let _0x324d90=null,_0x1c73ab=null;try{_0x524af0?(_0x324d90=_0x583717[_0x564a73(0x1e5)](typeof _0x168ccf[_0x564a73(0x1ba)],_0x583717['AZnok'])?_0x168ccf[_0x564a73(0x1ba)]():null,_0x1c73ab=_0x583717[_0x564a73(0x1fc)](typeof _0x168ccf[_0x564a73(0x1f3)],_0x583717[_0x564a73(0x23a)])?_0x168ccf[_0x564a73(0x1f3)]():null):(_0x324d90=_0x583717[_0x564a73(0x1e5)](typeof _0x168ccf[_0x564a73(0x23d)],_0x583717[_0x564a73(0x23a)])?_0x168ccf[_0x564a73(0x23d)]():null,_0x1c73ab=_0x324d90&&_0x583717[_0x564a73(0x223)](typeof _0x324d90['browser'],_0x583717[_0x564a73(0x23a)])?_0x324d90[_0x564a73(0x1f3)]():null);}catch(_0x3ef3db){logger[_0x564a73(0x13a)](_0x564a73(0x12f)+_0x3ef3db[_0x564a73(0x172)]);}const _0x5e45dd={};_0x5e45dd[_0x564a73(0x187)]=_0x168ccf,_0x5e45dd['context']=_0x324d90,_0x5e45dd[_0x564a73(0x1f3)]=_0x1c73ab,_0x5e45dd['testInfo']=_0x4b569e,_0x5e45dd[_0x564a73(0x178)]=_0x368f7b[_0x564a73(0x179)],_0x5e45dd[_0x564a73(0x119)]=global['__launchCaps'],_0x5e45dd[_0x564a73(0x214)]=global['__platformCaps'],await _0x3a67d8['getInstance']()[_0x564a73(0x147)]()[_0x564a73(0x1c0)](_0x47ef66[_0x564a73(0x22e)],_0x43a68d[_0x564a73(0x137)],_0x5e45dd),logger['debug'](_0x564a73(0x140)+_0x35aafc+_0x564a73(0x20f)+(_0x4b569e['testAnalyticsId']||_0x4b569e['id']));}else logger[_0x564a73(0x13a)]('No\x20page\x20available\x20yet\x20for\x20test:\x20'+_0x35aafc+',\x20CREATE\x20POST\x20will\x20be\x20triggered\x20when\x20page\x20is\x20created');}catch(_0x1dea1e){logger['debug']('Error\x20triggering\x20CREATE\x20POST\x20event\x20for\x20test:\x20'+util[_0x564a73(0x22b)](_0x1dea1e));}}}catch(_0x2e7589){logger[_0x564a73(0x13a)](_0x564a73(0x1f8)+util[_0x564a73(0x22b)](_0x2e7589));}!_0x1b8d74&&_0x583717['PpNXN'](__drivers[_0x564a73(0x163)],0x0)&&_0x583717[_0x564a73(0x22f)](__drivers[0x0]['quitCount_'],0x0)&&await _0x583717[_0x564a73(0x235)](driverCleanup);}catch(_0x3cc86f){logger[_0x564a73(0x13a)](_0x564a73(0x18b)+_0x3cc86f);const _0x1dd024={};_0x1dd024[_0x564a73(0x173)]=_0x583717['NugSx'],PerformanceTester[_0x564a73(0x210)](PerformanceHookEvents['SDK_HOOK'],![],_0x3cc86f,_0x1dd024);}const _0x4c3e0a={};_0x4c3e0a[_0x564a73(0x173)]=_0x583717['NugSx'],PerformanceTester[_0x564a73(0x210)](PerformanceHookEvents[_0x564a73(0x219)],!![],null,_0x4c3e0a);}),afterEach(async()=>{const _0x4714b3=a24_0x488b18,_0x3958b2={'lRPKA':_0x4714b3(0x167),'OVhsG':function(_0x5022b9,_0x3cc565){return _0x5022b9>_0x3cc565;},'zXBzb':_0x4714b3(0x11f),'EimqB':_0x4714b3(0x217),'uLtfl':_0x4714b3(0x14f),'lgSnG':function(_0x3074a5,_0x707933){return _0x3074a5(_0x707933);},'dRdvr':_0x4714b3(0x1fe),'lXfKC':function(_0x92a715,_0x26e464){return _0x92a715(_0x26e464);},'sLSlW':_0x4714b3(0x1f4),'rXIpC':_0x4714b3(0x203),'FJZpi':'Puppeteer','tfZUo':function(_0xd8873d,_0x159326){return _0xd8873d!==_0x159326;},'QzznP':_0x4714b3(0x14e),'fuoGa':function(_0x31e7aa,_0x3db70b){return _0x31e7aa>_0x3db70b;},'IJMHp':function(_0x27e179,_0x2119b8){return _0x27e179(_0x2119b8);},'npWot':_0x4714b3(0x1d0),'kXwFK':_0x4714b3(0x190),'mjDau':function(_0x2be69b,_0x164349){return _0x2be69b&&_0x164349;},'WKHKL':_0x4714b3(0x1bf),'cLpOx':_0x4714b3(0x120),'KOvYR':'Skipping\x20afterTestHook\x20-\x20workerDetails\x20or\x20currentTest\x20not\x20available','FmMrr':_0x4714b3(0x142),'sckDP':_0x4714b3(0x180),'viMVz':'Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','wsISN':function(_0x1fb4f8){return _0x1fb4f8();},'TDgEw':function(_0x1ef0d6,_0x279cb9){return _0x1ef0d6===_0x279cb9;},'GrFIy':_0x4714b3(0x150),'FrNqf':_0x4714b3(0x1e2),'JsvfU':function(_0x5470e5,_0x510852,_0x26a1fa,_0x399747){return _0x5470e5(_0x510852,_0x26a1fa,_0x399747);},'LXAfa':_0x4714b3(0x212),'wmNyB':function(_0x3dd1c8,_0xc97e5b,_0x47eba0){return _0x3dd1c8(_0xc97e5b,_0x47eba0);},'RMiRO':function(_0x20e0b6){return _0x20e0b6();},'KLfWB':_0x4714b3(0x181),'dUBcl':'bstackA11yShouldScan','LByLU':_0x4714b3(0x194),'SlGYI':_0x4714b3(0x1b3),'aWZOB':_0x4714b3(0x192),'ipEXe':'isMobilePlatform','HhCXt':_0x4714b3(0x1ae),'WjYec':function(_0x1d5dd3){return _0x1d5dd3();},'rJtLZ':function(_0x261c08){return _0x261c08();},'oaqfJ':function(_0x2d36ad,_0x2f38a0){return _0x2d36ad>_0x2f38a0;},'lGorU':function(_0xdd7fbb,_0x44e020,_0x203d83){return _0xdd7fbb(_0x44e020,_0x203d83);},'SAbef':_0x4714b3(0x13a),'pmQqb':function(_0x428e53){return _0x428e53();}};logger['debug'](_0x3958b2[_0x4714b3(0x1b5)]),PerformanceTester['start'](PerformanceHookEvents[_0x4714b3(0x219)]);const _0x1225f5='browserstack internal helper hook';let _0x41032d=![],_0x32f688=![],_0x49cbef=null;try{global[_0x4714b3(0x1bc)]&&_0x3958b2[_0x4714b3(0x1a1)](global[_0x4714b3(0x1bc)][_0x4714b3(0x163)],0x0)&&(_0x41032d=!![]);if(global['__workerDetails']&&global['__workerDetails'][_0x4714b3(0x19f)]){const _0x387819=helper[_0x4714b3(0x216)](_0x3958b2[_0x4714b3(0x19c)]),_0x105318=helper[_0x4714b3(0x216)](_0x3958b2[_0x4714b3(0x1ac)])||helper[_0x4714b3(0x216)](_0x3958b2['uLtfl']);try{if(_0x387819)_0x49cbef=_0x3958b2['lgSnG'](require,_0x3958b2[_0x4714b3(0x1da)]);else _0x105318&&(_0x49cbef=_0x3958b2[_0x4714b3(0x188)](require,_0x3958b2[_0x4714b3(0x1dd)]));_0x32f688=!![],logger[_0x4714b3(0x13a)]((_0x387819?_0x3958b2['rXIpC']:_0x3958b2[_0x4714b3(0x1bd)])+_0x4714b3(0x130)+!!global['__workerDetails']['pwPage']);}catch(_0x3c97e1){logger[_0x4714b3(0x13a)](_0x4714b3(0x1d3)+util[_0x4714b3(0x22b)](_0x3c97e1));}}}catch(_0x4608f4){logger[_0x4714b3(0x13a)](_0x4714b3(0x1f1)+_0x4608f4);}logger['debug']('Flow\x20detection:\x20isSeleniumFlow='+_0x41032d+',\x20isPlaywrightFlow='+_0x32f688);if(_0x32f688){const _0x49d8e0=_0x49cbef[_0x4714b3(0x202)]();try{let _0x151794=null,_0x3e0d84=![];if(_0x3958b2[_0x4714b3(0x11d)](typeof jasmine,_0x3958b2[_0x4714b3(0x186)]))jasmine[_0x4714b3(0x1a9)][_0x4714b3(0x14d)]&&_0x3958b2[_0x4714b3(0x1a1)](jasmine['currentTest']['failedExpectations'][_0x4714b3(0x163)],0x0)?(_0x3e0d84=!![],_0x151794=_0x3958b2[_0x4714b3(0x237)](stripUnicode,JSON['stringify'](jasmine['currentTest'][_0x4714b3(0x14d)][0x0][_0x4714b3(0x172)]))):_0x151794=_0x3958b2[_0x4714b3(0x188)](stripUnicode,JSON[_0x4714b3(0x1b9)](jasmine[_0x4714b3(0x1a9)]['description']));else{logger['debug']('from\x20else\x20block\x20jest\x20test\x20failed\x20playwright\x20flow:\x20'+util[_0x4714b3(0x20d)](testContext));const _0x347184=global[_0x4714b3(0x15c)]||testContext,_0x2d2ca3=_0x347184&&_0x347184['errors']?_0x347184[_0x4714b3(0x1fa)]:[];if(_0x3958b2['fuoGa'](_0x2d2ca3['length'],0x0)){_0x3e0d84=!![];const _0x16196f=Array[_0x4714b3(0x18a)](_0x2d2ca3[0x0])?_0x2d2ca3[0x0][0x0]:_0x2d2ca3[0x0];_0x151794=_0x3958b2['lgSnG'](stripUnicode,JSON[_0x4714b3(0x1b9)](_0x16196f[_0x4714b3(0x172)]||_0x16196f));}else _0x151794=_0x3958b2['IJMHp'](stripUnicode,JSON[_0x4714b3(0x1b9)](_0x347184?_0x347184[_0x4714b3(0x151)]:testContext['name']));}const _0x45ce62=_0x3e0d84?_0x3958b2['npWot']:_0x3958b2['kXwFK'];_0x3958b2['mjDau'](_0x3e0d84,_0x151794)&&!__error_messages__[_0x4714b3(0x14c)](_0x151794)&&__error_messages__[_0x4714b3(0x209)](_0x151794);const _0x6409a3={'title':global[_0x4714b3(0x171)]?.[_0x4714b3(0x1a9)]?.[_0x4714b3(0x1ec)]?.[_0x4714b3(0x1c3)]||_0x3958b2['WKHKL'],'titlePath':[global[_0x4714b3(0x171)]?.[_0x4714b3(0x1a9)]?.[_0x4714b3(0x1ec)]?.[_0x4714b3(0x1c3)]||_0x3958b2[_0x4714b3(0x1f2)]],'id':global[_0x4714b3(0x171)]?.[_0x4714b3(0x1a9)]?.['id']||_0x3958b2['cLpOx'],'status':_0x45ce62,'error':_0x151794?{'message':_0x151794}:null,'testAnalyticsId':global[_0x4714b3(0x171)]?.['currentTest']?.[_0x4714b3(0x1d6)],'testPath':global[_0x4714b3(0x171)]?.[_0x4714b3(0x1a9)]?.['testInfo']?.[_0x4714b3(0x17d)],...global[_0x4714b3(0x171)][_0x4714b3(0x1a9)][_0x4714b3(0x1ec)]},_0x567a2f=_0x6409a3;try{if(BrowserstackCLI['getInstance']()[_0x4714b3(0x16f)]()&&BrowserstackCLI[_0x4714b3(0x182)]()[_0x4714b3(0x17f)]()){const _0x1101a1={};_0x1101a1['testInfo']=_0x567a2f,_0x1101a1['page']=_0x49d8e0,_0x1101a1['testFramework']=FRAMEWORKS[_0x4714b3(0x179)],await BrowserstackCLI[_0x4714b3(0x182)]()['getAutomationFramework']()[_0x4714b3(0x1c0)](AutomationFrameworkState[_0x4714b3(0x20a)],HookState[_0x4714b3(0x18c)],_0x1101a1),logger[_0x4714b3(0x13a)](_0x4714b3(0x1d8)+_0x567a2f[_0x4714b3(0x1c3)]);}}catch(_0x199aa6){logger[_0x4714b3(0x13a)](_0x4714b3(0x1a7)+util[_0x4714b3(0x22b)](_0x199aa6));}global[_0x4714b3(0x171)]&&global['__workerDetails']['currentTest']&&global[_0x4714b3(0x171)][_0x4714b3(0x1a9)][_0x4714b3(0x1ec)]?await _0x49cbef[_0x4714b3(0x19a)](global['__workerDetails'][_0x4714b3(0x1a9)][_0x4714b3(0x1ec)],_0x45ce62,_0x3e0d84?_0x151794:null):logger[_0x4714b3(0x13a)](_0x3958b2['KOvYR']);try{await _0x49cbef[_0x4714b3(0x12a)](),logger[_0x4714b3(0x13a)](_0x3958b2[_0x4714b3(0x153)]);}catch(_0x5b596a){logger[_0x4714b3(0x13a)](_0x4714b3(0x1e7)+util[_0x4714b3(0x22b)](_0x5b596a));}try{_0x49cbef[_0x4714b3(0x232)]['cleanup'](),logger[_0x4714b3(0x13a)](_0x3958b2['sckDP']);}catch(_0x380ec8){logger[_0x4714b3(0x13a)](_0x4714b3(0x16d)+util['format'](_0x380ec8));}}catch(_0xd32f82){logger[_0x4714b3(0x13a)](_0x4714b3(0x1cc)+util[_0x4714b3(0x22b)](_0xd32f82));try{_0x49cbef[_0x4714b3(0x12a)]&&(await _0x49cbef[_0x4714b3(0x12a)](),logger[_0x4714b3(0x13a)](_0x3958b2[_0x4714b3(0x1e0)]));}catch(_0x156b85){logger[_0x4714b3(0x13a)]('Error\x20executing\x20fallback\x20deferred\x20closes:\x20'+util[_0x4714b3(0x22b)](_0x156b85));}}}else try{!_0x32f688&&_0x3958b2[_0x4714b3(0x1aa)](__drivers[_0x4714b3(0x163)],0x1)&&(await _0x3958b2[_0x4714b3(0x1d2)](driverCleanup),__drivers['shift']());try{if(global[_0x4714b3(0x213)]&&_0x3958b2['TDgEw'](global[_0x4714b3(0x1b8)],_0x3958b2[_0x4714b3(0x23c)])&&__drivers[0x0]){const _0xad10a7=_0x3958b2[_0x4714b3(0x1a1)](global[_0x4714b3(0x1e6)][_0x4714b3(0x163)],0x0)?!!global[_0x4714b3(0x1e6)][0x0][_0x4714b3(0x220)]||!!global[_0x4714b3(0x1e6)][0x0][_0x3958b2[_0x4714b3(0x161)]]:![],_0x1cebc8={};_0x1cebc8[_0x4714b3(0x220)]=_0xad10a7,await _0x3958b2[_0x4714b3(0x15b)](percyAutoCapture,__drivers[0x0],_0x3958b2[_0x4714b3(0x23c)],_0x1cebc8);}}catch(_0x4135b3){logger['debug'](_0x4714b3(0x129)+_0x4135b3);const _0x2311cd={};_0x2311cd[_0x4714b3(0x173)]=_0x3958b2[_0x4714b3(0x169)],PerformanceTester[_0x4714b3(0x210)](PerformanceHookEvents[_0x4714b3(0x219)],![],_0x4135b3,_0x2311cd);}const _0x48c919=_0x3958b2[_0x4714b3(0x1c6)](shouldScanTestForAccessibility,expect[_0x4714b3(0x124)]()[_0x4714b3(0x1c7)],![]);try{if(_0x3958b2[_0x4714b3(0x248)](isAccessibilityAutomationSession)&&globals['getGlobal'](_0x3958b2['KLfWB'])&&globals[_0x4714b3(0x22c)](_0x3958b2[_0x4714b3(0x21c)])){logger['info'](_0x3958b2[_0x4714b3(0x246)]);const _0x567746={'thTestRunUuid':TestDetails[_0x4714b3(0x1c2)](process['pid']+':testAnalyticsId'),'thBuildUuid':process[_0x4714b3(0x244)][testHubConstants[_0x4714b3(0x199)]['BROWSERSTACK_TESTHUB_UUID']],'thJwtToken':process[_0x4714b3(0x244)][testHubConstants[_0x4714b3(0x199)][_0x4714b3(0x1fb)]]};logger['debug'](_0x4714b3(0x218)+JSON[_0x4714b3(0x1b9)](_0x567746)),logger[_0x4714b3(0x13a)](_0x3958b2[_0x4714b3(0x240)]);const _0xd4218b={};_0xd4218b[_0x4714b3(0x1b0)]=_0x3958b2[_0x4714b3(0x1df)],await PerformanceTester[_0x4714b3(0x241)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x2ef851=_0x4714b3;logger[_0x2ef851(0x13a)](util['format'](await __drivers[0x0]['executeAsyncScript'](scripts[_0x2ef851(0x1cb)],{'method':expect[_0x2ef851(0x124)]()[_0x2ef851(0x1c7)]})));},_0xd4218b)(),globals[_0x4714b3(0x22c)](_0x3958b2[_0x4714b3(0x191)])&&(_0x567746[_0x4714b3(0x215)]=!![]),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x4714b3(0x20c)],async()=>{const _0x2c2b47=_0x4714b3;await __drivers[0x0][_0x2c2b47(0x227)](scripts[_0x2c2b47(0x157)],_0x567746);})(),logger['info'](_0x3958b2['HhCXt']);}}catch(_0x57f027){logger[_0x4714b3(0x1bb)](_0x4714b3(0x242)+expect[_0x4714b3(0x124)]()['currentTestName']+_0x4714b3(0x206),_0x57f027);}await _0x3958b2[_0x4714b3(0x1e8)](setContext);try{if(_0x3958b2[_0x4714b3(0x201)](shouldProcessEventForTesthub)){_0x3958b2[_0x4714b3(0x21b)](global[_0x4714b3(0x1bc)][_0x4714b3(0x163)],0x0)&&global['__drivers'][0x0]&&await _0x3958b2['wmNyB'](sendPlatformDetails,global[_0x4714b3(0x1bc)][0x0],TestDetails[_0x4714b3(0x1c2)](process['pid']+_0x4714b3(0x21a)));if(_0x3958b2[_0x4714b3(0x1e8)](isBrowserstackInfra)){PerformanceTester['start'](PerformanceO11yEvents[_0x4714b3(0x15a)]);const _0x33298e=_0x4714b3(0x1c1)+Date['now']();await _0x3958b2[_0x4714b3(0x197)](executeAnnotate,JSON['stringify'](_0x33298e),_0x3958b2[_0x4714b3(0x1af)]),PerformanceTester['end'](PerformanceO11yEvents['SYNC']);}}}catch(_0x360f61){logger[_0x4714b3(0x13a)](_0x4714b3(0x185)+_0x360f61),PerformanceTester[_0x4714b3(0x210)](PerformanceO11yEvents[_0x4714b3(0x15a)],![],_0x360f61);}!_0x32f688&&_0x3958b2['OVhsG'](__drivers['length'],0x0)&&_0x3958b2[_0x4714b3(0x1a1)](__drivers[0x0]['quitCount_'],0x0)&&await _0x3958b2[_0x4714b3(0x196)](driverCleanup);const _0x2d919d={};_0x2d919d[_0x4714b3(0x173)]=_0x3958b2[_0x4714b3(0x169)],PerformanceTester[_0x4714b3(0x210)](PerformanceHookEvents[_0x4714b3(0x219)],!![],null,_0x2d919d);}catch(_0x2eb64b){logger[_0x4714b3(0x13a)]('Exception\x20in\x20jest\x20driver\x20with\x20error:\x20'+_0x2eb64b);const _0x4d92ea={};_0x4d92ea[_0x4714b3(0x173)]=_0x3958b2[_0x4714b3(0x169)],PerformanceTester[_0x4714b3(0x210)](PerformanceHookEvents[_0x4714b3(0x219)],![],_0x2eb64b,_0x4d92ea);}},TEST_FRAMEWORK_HOOK_TIMEOUT[a24_0x488b18(0x17c)]),afterAll(async()=>{const _0x46458f=a24_0x488b18,_0x1b88d6={'zOcDN':function(_0x5dc42f,_0xf8d720){return _0x5dc42f<=_0xf8d720;},'GAjXE':function(_0x455fc8,_0x531b74){return _0x455fc8(_0x531b74);},'hUQhP':function(_0x3a9b5e){return _0x3a9b5e();},'cJpuk':function(_0x32becd,_0x34b5d8,_0x3577e4){return _0x32becd(_0x34b5d8,_0x3577e4);},'NCOju':_0x46458f(0x17c),'GIVps':'@playwright/test','eksYv':_0x46458f(0x217),'ulIZm':'puppeteer-core','NelLX':function(_0x4d08ac,_0x358020){return _0x4d08ac(_0x358020);},'NglOp':_0x46458f(0x1fe),'BSbAO':_0x46458f(0x1f4),'tHJQm':'No\x20patcher\x20available','IfJti':function(_0x1467ee,_0x4cac23){return _0x1467ee||_0x4cac23;},'RqfNn':_0x46458f(0x14b),'cuLEi':'Attempting\x20direct\x20page\x20close\x20fallback\x20for\x20Android','CsjLn':function(_0x5cec2b,_0x542c19){return _0x5cec2b===_0x542c19;},'YbYeV':_0x46458f(0x12e),'IZbws':_0x46458f(0x19d),'XUwrp':_0x46458f(0x135),'yjHRC':_0x46458f(0x149),'ZiNEk':function(_0x319eac,_0x292210){return _0x319eac(_0x292210);},'yEnWK':_0x46458f(0x239)};PerformanceTester[_0x46458f(0x249)](PerformanceHookEvents[_0x46458f(0x219)]),jest[_0x46458f(0x117)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x1b88d6[_0x46458f(0x1de)]]),PerformanceTester['stopMonitoring']();const _0x47008b='browserstack internal helper hook';let _0x125e2a=![];try{const _0x2bfc1f=helper[_0x46458f(0x216)](_0x1b88d6[_0x46458f(0x205)]),_0x555b1c=helper[_0x46458f(0x216)](_0x1b88d6[_0x46458f(0x195)])||helper[_0x46458f(0x216)](_0x1b88d6['ulIZm']),_0x1aed47=_0x2bfc1f?_0x1b88d6[_0x46458f(0x23b)](require,_0x1b88d6[_0x46458f(0x183)]):_0x555b1c?_0x1b88d6[_0x46458f(0x23b)](require,_0x1b88d6[_0x46458f(0x1f7)]):null;if(!_0x1aed47)throw new Error(_0x1b88d6[_0x46458f(0x145)]);const _0x3f46a2=global[_0x46458f(0x171)]?.[_0x46458f(0x19f)],_0x26be81=_0x1aed47[_0x46458f(0x202)](),_0x26c5ec=_0x1b88d6[_0x46458f(0x184)](_0x3f46a2,_0x26be81);if(_0x26c5ec){_0x125e2a=!![];try{await _0x1aed47[_0x46458f(0x12a)](),logger[_0x46458f(0x13a)](_0x1b88d6[_0x46458f(0x156)]);}catch(_0x22bcfc){logger[_0x46458f(0x13a)]('Error\x20executing\x20deferred\x20closes:\x20'+util['format'](_0x22bcfc));try{const _0x18d82b=_0x1aed47[_0x46458f(0x202)]();_0x18d82b&&(logger[_0x46458f(0x13a)](_0x1b88d6[_0x46458f(0x17b)]),_0x1b88d6[_0x46458f(0x20b)](typeof _0x18d82b[_0x46458f(0x15e)],_0x1b88d6[_0x46458f(0x1b2)])&&(await _0x18d82b[_0x46458f(0x15e)](),logger[_0x46458f(0x13a)](_0x1b88d6[_0x46458f(0x166)])));}catch(_0x30cada){logger[_0x46458f(0x13a)](_0x46458f(0x1a5)+util[_0x46458f(0x22b)](_0x30cada));}}try{if(global[_0x46458f(0x171)]){global[_0x46458f(0x171)][_0x46458f(0x19f)]=null,global['__workerDetails'][_0x46458f(0x144)]=![];const _0x4c395d={};_0x4c395d['id']=undefined,_0x4c395d[_0x46458f(0x1ec)]=undefined,global[_0x46458f(0x171)][_0x46458f(0x1a9)]=_0x4c395d;}_0x1aed47[_0x46458f(0x232)]&&_0x1aed47['closeTracker']['cleanup']&&(_0x1aed47['closeTracker']['cleanup'](),logger[_0x46458f(0x13a)](_0x1b88d6['XUwrp'])),logger['debug'](_0x1b88d6[_0x46458f(0x1a2)]);}catch(_0x3797a1){logger[_0x46458f(0x13a)](_0x46458f(0x22a)+util[_0x46458f(0x22b)](_0x3797a1));}__error_messages__=[];}}catch(_0x10e6be){logger[_0x46458f(0x13a)](_0x46458f(0x211)+util[_0x46458f(0x22b)](_0x10e6be));try{const _0x454c28=helper[_0x46458f(0x216)](_0x1b88d6['GIVps']),_0x202f81=helper['getPackageVersion'](_0x1b88d6[_0x46458f(0x195)])||helper[_0x46458f(0x216)](_0x1b88d6['ulIZm']),_0x4badb4=_0x454c28?_0x1b88d6[_0x46458f(0x23b)](require,_0x1b88d6[_0x46458f(0x183)]):_0x202f81?_0x1b88d6['ZiNEk'](require,_0x1b88d6[_0x46458f(0x1f7)]):null;_0x4badb4&&await _0x4badb4[_0x46458f(0x12a)]();}catch(_0x44da0a){logger[_0x46458f(0x13a)]('Error\x20executing\x20fallback\x20deferred\x20closes:\x20'+util[_0x46458f(0x22b)](_0x44da0a));}}await new Promise(_0x561c1a=>{const _0x3f37f5=_0x46458f,_0x1db709=_0x1b88d6[_0x3f37f5(0x11b)](setInterval,async()=>{const _0xa07562=_0x3f37f5;_0x1b88d6[_0xa07562(0x1d5)](RequestQueueHandler[_0xa07562(0x182)]()['pendingUploads'],0x0)&&(_0x1b88d6[_0xa07562(0x11a)](clearInterval,_0x1db709),_0x1b88d6[_0xa07562(0x1be)](_0x561c1a));},0x3e8);});try{!_0x125e2a&&await _0x1b88d6[_0x46458f(0x1be)](driverCleanup);}catch(_0x1285fc){logger[_0x46458f(0x13a)]('Exception\x20in\x20jest\x20driver\x20cleanup\x20with\x20error:\x20'+_0x1285fc);const _0x1e05f9={};_0x1e05f9[_0x46458f(0x173)]=_0x1b88d6[_0x46458f(0x1c9)],PerformanceTester[_0x46458f(0x210)](PerformanceHookEvents[_0x46458f(0x219)],![],_0x1285fc,_0x1e05f9);}process[_0x46458f(0x224)]();const _0x133564={};_0x133564[_0x46458f(0x173)]=_0x1b88d6[_0x46458f(0x1c9)],PerformanceTester['end'](PerformanceHookEvents[_0x46458f(0x219)],!![],null,_0x133564);},TEST_FRAMEWORK_HOOK_TIMEOUT[a24_0x488b18(0x17c)]);
|
|
1
|
+
const a24_0xabfa65=a24_0x11f8;(function(_0x540a58,_0x1967b0){const _0xa930ae=a24_0x11f8,_0x3608bf=_0x540a58();while(!![]){try{const _0x337154=parseInt(_0xa930ae(0x105))/0x1+parseInt(_0xa930ae(0xd8))/0x2+parseInt(_0xa930ae(0xf6))/0x3+parseInt(_0xa930ae(0x143))/0x4+-parseInt(_0xa930ae(0x160))/0x5+-parseInt(_0xa930ae(0x137))/0x6*(-parseInt(_0xa930ae(0xac))/0x7)+-parseInt(_0xa930ae(0x178))/0x8;if(_0x337154===_0x1967b0)break;else _0x3608bf['push'](_0x3608bf['shift']());}catch(_0x4cb431){_0x3608bf['push'](_0x3608bf['shift']());}}}(a24_0x1f73,0xdb110));const util=require(a24_0xabfa65(0x191)),helper=require('../../helpers/helper'),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a24_0xabfa65(0x1af)),{sendPlatformDetails}=require(a24_0xabfa65(0x193)),{isBrowserstackInfra,markSessionStatus}=require(a24_0xabfa65(0x154));let __error_messages__=[];const RequestQueueHandler=require(a24_0xabfa65(0x198));function a24_0x1f73(){const _0x62447c=['\x20with\x20testIdentifier:\x20','vzpER','beforeAll','RNEqk','../../helpers/percy/utils','qVvJg','../utils/puppeteer-patcher','Error\x20triggering\x20CREATE\x20POST\x20event\x20for\x20test:\x20','YDjgw',',\x20testPath=','6513464PxpubX','split','replace','Cleaned\x20up\x20page\x20references\x20after\x20deferred\x20closes','Error\x20loading\x20playwright-patcher:\x20','startMonitoring','dWPun','VVzSX','QHdNU','oLjnd','trackEvent',',\x22level\x22:\x20\x22','getPackageVersion','Error\x20executing\x20deferred\x20closes:\x20','IEElQ','WPEeI','ENV_VAR','XSKLe','unXXK','getEnv','fkBcJ','mIJkz','zfqtg','RLwiX','StDLq','util','message','../../helpers/test-observability/utils','rCiUv','nWsNG','isMobilePlatform','fvOmp','../../helpers/test-observability/requestQueueHandler','Cleaned\x20up\x20close\x20tracker','Error\x20in\x20playwright\x20beforeTestHook:\x20','puppeteer','setTimeout','Jest','env','jest-test','percy','ZqDeM','browserstackSessionName','hookType',',\x20isPlaywrightFlow=','../v2/state/hookState','stringify','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.','RDWzK','jkgiY','uDzXo','page','addReporter','Test\x20info\x20prepared\x20for\x20CREATE\x20PRE\x20event:\x20','dhUOA','../utils/constants','uITdz','Unknown\x20Test','uuid','BROWSERSTACK_TESTHUB_JWT','http:','rNaSV','error','includes','Successfully\x20executed\x20deferred\x20Playwright\x20closes\x20(with\x20force\x20close)','dxRVZ','CREATE','tGLSi','leJCm','isRunning','CRNHE','retryTimes','UMTLg','format','Cleaned\x20up\x20close\x20tracker\x20after\x20deferred\x20closes','Exception\x20in\x20jest\x20percy\x20with\x20error:\x20','../../helpers/performance/performance-tester','failed','performScan','LRPFp','testInfo','cLpkA','axhhh','WtnYY','passed','HnruK','bstackA11yShouldScan','removeAllListeners','Error\x20preparing\x20AutomationFramework\x20events:\x20','qBpdT','push','CbnDm','../utils/playwright-patcher','isArray','Exception\x20in\x20jest\x20driver\x20cleanup\x20with\x20error:\x20','getCurrentUrl','sWvsj','puppeteer-core','getGlobal','function','UynlV','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Passed\x20-\x20','__currentTestInfo','launchCaps','[Jest\x20Setup]\x20beforeEach:\x20testIdentifier=','executeDeferredCloses','Puppeteer','7qMTSMF','testFramework','\x22}}','currentTest','BROWSERSTACK_TESTHUB_UUID','Haxdf','browserContext','tfBwk','VjUzp','inside\x20before\x20each\x20jest\x20hook','capabilities','driverCleanup:\x20No\x20drivers\x20to\x20clean\x20up','appium:app','XAwFc','../../helpers/globals','platformCaps','JTFBn','kczZp','debug','KXOjY','zcvep','../../helpers/testhub/constants','./test-observability/test-details','isAccessibilityPlatform','currentTestName','bHATn','../v2/state/automationFrameworkState','beforeEach','session_','TVEow','Skipping\x20afterTestHook\x20-\x20workerDetails\x20or\x20currentTest\x20not\x20available','TransformStream','is_mobile_session','percyCaptureMode','getAutomationFramework','.\x20Error\x20:','__drivers','axSvn','TYzXj','iGEGs','app','ioDED','UItAW','jBhmX','2369088CKeKKo','Nhtzw','Error\x20executing\x20fallback\x20deferred\x20closes:\x20','protocol','CyOYc','eoawJ','Exception\x20in\x20jest\x20process\x20event\x20with\x20error:\x20','yYfWG','shift','initQuit','tmhlm','gVZTf','__platformCaps','tMVct','PDIzs','uQfVC','HklEB','executeScript','VTWhv','CJpCj','command','../../helpers/accessibility-automation/helper','start','ZhZWC','SaDXi','afterTestHook','setGlobal','undefined','cleanup','isCliEnabled','129264VsJFcH','ubTlT','title','\x22,\x22level\x22:\x20\x22info\x22}}','hRIkn','Executed\x20deferred\x20closes\x20after\x20QUIT\x20PRE\x20event\x20completion','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','[Jest\x20Setup]\x20Triggered\x20CREATE\x20POST\x20event\x20for\x20test:\x20','winstonLogger','UazgT','POST','afterAll','log','__launchCaps','SDK_HOOK','1174952vbJXbz','XxPJm','ghPrX','afterEach','ZeNwC','NvnqY','context','isPageFixture','JlDNt','SYNC','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','Playwright',',\x20testName=','stopMonitoring','Exception\x20in\x20jest\x20driver\x20with\x20error:\x20','COuSF','errors','__jestCurrentTestIdentifier','GEufH','OZFIj','afterTest','BYeWk','../../helpers/test-observability/constants','Error\x20determining\x20test\x20flow:\x20','Etppv','@playwright/test','uVqmn','info','CLppj','testAnalyticsId','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','TransformStream\x20polyfill\x20not\x20available:\x20','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','RzjCw','__workerDetails','getTestUUID','EunUW','eiLIl','Error\x20in\x20pw-jest\x20afterEach:\x20','byGRh','Puppeteer\x20flow\x20detected\x20in\x20beforeEach','measureWrapper','\x22,\x22level\x22:\x20\x22error\x22}}','xmFIR','getState','closeTracker','testPath','AGjxg','browser','pwPage','9882PyTrtD','Error\x20handling\x20Playwright/Puppeteer\x20test\x20cleanup:\x20','getInstance','Playwright\x20flow\x20detected\x20in\x20beforeEach','quitCount_','SESSION_STATUS','khxGZ','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','BnInz','description','UZZWq','JEST','1470316ABjIYt','browserstackTestName','failedExpectations','nknQy','VMbyq','Performing\x20scan\x20before\x20saving\x20results','bnOMr','getPageFromAutomationFramework','length','JgmJq','qBfYV','ObservabilitySync:','executeAsyncScript','name','fsUjh','gjkij','../../helpers/performance/constants','../../helpers/helper','Failed\x20to\x20store\x20session\x20name:\x20','Attempting\x20direct\x20page\x20close\x20fallback\x20for\x20Android','pid','zUxeH','jarCz','qsxBx','RSVhL',',\x20CREATE\x20POST\x20will\x20be\x20triggered\x20when\x20page\x20is\x20created','ESeQf',':testAnalyticsId','../../helpers/accessibility-automation/scripts','5301655VqGgJi','slice','../../helpers/logger','PERFORM_SCAN','end','fnncK','QUIT','SESSION_NAME','Cblci','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','browserStackGlobals','Error\x20in\x20fallback\x20page\x20close:\x20','oMrSN','../../helpers/testhub/utils'];a24_0x1f73=function(){return _0x62447c;};return a24_0x1f73();}jest[a24_0xabfa65(0x19c)](__timeout);const {isAccessibilityAutomationSession,fetchPlatformDetails,shouldScanTestForAccessibility}=require(a24_0xabfa65(0xed)),{percyAutoCapture}=require(a24_0xabfa65(0x172)),logger=require(a24_0xabfa65(0x162))[a24_0xabfa65(0xfe)],TestDetails=require(a24_0xabfa65(0xc2)),PerformanceTester=require(a24_0xabfa65(0x8d)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a24_0xabfa65(0x153)),scripts=require(a24_0xabfa65(0x15f)),globals=require(a24_0xabfa65(0xba)),{shouldProcessEventForTesthub}=require(a24_0xabfa65(0x16d)),testHubConstants=require(a24_0xabfa65(0xc1)),{v4:uuidv4}=require(a24_0xabfa65(0x1b2)),BrowserstackCLI=require('../v2/browserstackCLI'),AutomationFrameworkState=require(a24_0xabfa65(0xc6)),HookState=require(a24_0xabfa65(0x1a5)),{FRAMEWORKS}=require(a24_0xabfa65(0x11b));globals[a24_0xabfa65(0x16a)]=browserStackGlobals;if(typeof global[a24_0xabfa65(0xcb)]===a24_0xabfa65(0xf3))try{const {TransformStream}=require('stream/web');global[a24_0xabfa65(0xcb)]=TransformStream;}catch(a24_0x4c1d42){logger[a24_0xabfa65(0xbe)](a24_0xabfa65(0x124)+a24_0x4c1d42['message']);}function stripUnicode(_0x401412){const _0x5e0ee8=a24_0xabfa65;return _0x401412[_0x5e0ee8(0x17a)](/\\u001b\[.*?m/g,'')[_0x5e0ee8(0x161)](0x1,-0x1);}async function setContext(){const _0xad4d64=a24_0xabfa65,_0x48f440={'CbnDm':function(_0x90445d){return _0x90445d();},'zcvep':_0xad4d64(0x144),'JgmJq':function(_0x7bb0c7,_0x48c7a5){return _0x7bb0c7!==_0x48c7a5;},'dxRVZ':_0xad4d64(0xf3),'UynlV':function(_0x2553bd,_0x31718d){return _0x2553bd>_0x31718d;},'uQfVC':function(_0x2f898a,_0x21fcbb){return _0x2f898a(_0x21fcbb);},'BYeWk':function(_0x3a4d00,_0x186dc0){return _0x3a4d00>_0x186dc0;},'Etppv':function(_0x4ae4b6,_0x4bf868){return _0x4ae4b6(_0x4bf868);}};if(!_0x48f440[_0xad4d64(0x9c)](isBrowserstackInfra))return;const _0x2309ee=expect[_0xad4d64(0x131)]()[_0xad4d64(0xc4)];globals['setGlobal'](_0x48f440[_0xad4d64(0xc0)],_0x2309ee);!sessionNameProvided&&await PerformanceTester[_0xad4d64(0x12e)](PerformanceAutEvents[_0xad4d64(0x167)],async()=>{const _0x11dda1=_0xad4d64;await __drivers[0x0][_0x11dda1(0xe9)](_0x11dda1(0x13e)+_0x2309ee+'\x22}}');})();let _0x1029cf=null,_0x16e764=![];_0x48f440[_0xad4d64(0x14c)](typeof jasmine,_0x48f440[_0xad4d64(0x82)])?jasmine[_0xad4d64(0xaf)][_0xad4d64(0x145)]&&_0x48f440[_0xad4d64(0xa5)](jasmine['currentTest'][_0xad4d64(0x145)][_0xad4d64(0x14b)],0x0)?(_0x16e764=!![],_0x1029cf=_0x48f440['uQfVC'](stripUnicode,JSON[_0xad4d64(0x1a6)](jasmine['currentTest'][_0xad4d64(0x145)][0x0][_0xad4d64(0x192)]))):_0x1029cf=_0x48f440[_0xad4d64(0xe7)](stripUnicode,JSON[_0xad4d64(0x1a6)](jasmine[_0xad4d64(0xaf)]['description'])):testContext[_0xad4d64(0x115)]&&_0x48f440[_0xad4d64(0x11a)](testContext['errors']['length'],0x0)?(_0x16e764=!![],_0x1029cf=_0x48f440[_0xad4d64(0xe7)](stripUnicode,JSON[_0xad4d64(0x1a6)](testContext[_0xad4d64(0x115)][0x0][0x0]['message']||testContext[_0xad4d64(0x115)][0x0][0x0]))):_0x1029cf=_0x48f440[_0xad4d64(0x11d)](stripUnicode,JSON[_0xad4d64(0x1a6)](testContext['name'])),_0x16e764?(__error_messages__[_0xad4d64(0x9b)](_0x1029cf),await __drivers[0x0][_0xad4d64(0xe9)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Failed\x20-\x20'+_0x1029cf+_0xad4d64(0x12f))):await __drivers[0x0]['executeScript'](_0xad4d64(0xa6)+_0x1029cf+_0xad4d64(0xf9));}const executeAnnotate=async(_0x388da8,_0x36242a)=>{const _0x3b5133=a24_0xabfa65;await global[_0x3b5133(0xd0)][0x0][_0x3b5133(0xe9)](_0x3b5133(0x10f)+_0x388da8+_0x3b5133(0x183)+_0x36242a+_0x3b5133(0xae));};function a24_0x11f8(_0x32939b,_0x56a963){const _0x1f73e6=a24_0x1f73();return a24_0x11f8=function(_0x11f862,_0x50aac9){_0x11f862=_0x11f862-0x7d;let _0x2f2f3f=_0x1f73e6[_0x11f862];return _0x2f2f3f;},a24_0x11f8(_0x32939b,_0x56a963);}async function driverCleanup(){const _0x534728=a24_0xabfa65,_0x3b0518={'GEufH':function(_0x5ea494){return _0x5ea494();},'axqQQ':function(_0x617b83,_0x295bf5){return _0x617b83===_0x295bf5;},'fuTel':_0x534728(0xb7),'qsxBx':'4|2|0|1|3','qABKH':function(_0x608578,_0x22da6c){return _0x608578>_0x22da6c;},'UazgT':function(_0x5ae2d9,_0x48518a,_0x41428d,_0x15c47e){return _0x5ae2d9(_0x48518a,_0x41428d,_0x15c47e);},'GXOKE':'failed','leJCm':'\x20|\x20','KQeAr':function(_0x159017,_0x159746,_0xd0c2a7){return _0x159017(_0x159746,_0xd0c2a7);},'HCMVC':'passed'};if(!_0x3b0518[_0x534728(0x117)](isBrowserstackInfra))return;if(!global[_0x534728(0xd0)]||!Array[_0x534728(0x9e)](global[_0x534728(0xd0)])||_0x3b0518['axqQQ'](global[_0x534728(0xd0)][_0x534728(0x14b)],0x0)){logger[_0x534728(0xbe)](_0x3b0518['fuTel']);return;}let _0x5248e9=![];try{const _0x4e3a74=_0x3b0518[_0x534728(0x15a)][_0x534728(0x179)]('|');let _0xfbbdea=0x0;while(!![]){switch(_0x4e3a74[_0xfbbdea++]){case'0':_0x5248e9=!![];continue;case'1':_0x3b0518['qABKH'](__error_messages__[_0x534728(0x14b)],0x0)?await _0x3b0518[_0x534728(0xff)](markSessionStatus,global['__drivers'][0x0],_0x3b0518['GXOKE'],__error_messages__['join'](_0x3b0518[_0x534728(0x85)])):await _0x3b0518['KQeAr'](markSessionStatus,global[_0x534728(0xd0)][0x0],_0x3b0518['HCMVC']);continue;case'2':await global[_0x534728(0xd0)][0x0][_0x534728(0xc8)];continue;case'3':PerformanceTester[_0x534728(0x164)](PerformanceAutEvents[_0x534728(0x13c)],!![]);continue;case'4':PerformanceTester[_0x534728(0xee)](PerformanceAutEvents[_0x534728(0x13c)]);continue;}break;}}catch(_0x2cc9a2){console['log'](_0x2cc9a2),PerformanceTester[_0x534728(0x164)](PerformanceAutEvents['SESSION_STATUS'],![],_0x2cc9a2);}__error_messages__=[];if(_0x5248e9)try{await global['__drivers'][0x0][_0x534728(0xe1)]();}catch(_0x51917a){console[_0x534728(0x102)](_0x51917a);}}beforeAll(async()=>{const _0xdcb44e=a24_0xabfa65,_0x2a5a1b={'wBNmw':function(_0x329c7f,_0x2fe39e){return _0x329c7f!==_0x2fe39e;},'BnInz':_0xdcb44e(0xf3),'COuSF':function(_0x1f3185,_0x2a9537){return _0x1f3185>_0x2a9537;},'WPEeI':function(_0x51bc0e,_0x252f2b){return _0x51bc0e!==_0x252f2b;},'HklEB':_0xdcb44e(0x170),'jkgiY':function(_0x35e5ec){return _0x35e5ec();},'EunUW':function(_0x1bce67,_0x38de7c,_0x5b728d){return _0x1bce67(_0x38de7c,_0x5b728d);}};__error_messages__=[];!global[_0xdcb44e(0xd0)]&&(global[_0xdcb44e(0xd0)]=[]);PerformanceTester[_0xdcb44e(0x17d)](),PerformanceTester[_0xdcb44e(0xee)](PerformanceHookEvents[_0xdcb44e(0x104)]);_0x2a5a1b['wBNmw'](typeof __jestRetries,_0x2a5a1b['BnInz'])&&_0x2a5a1b[_0xdcb44e(0x114)](__jestRetries,0x0)&&jest[_0xdcb44e(0x88)](__jestRetries);const _0x437d87='browserstack internal helper hook';_0x2a5a1b[_0xdcb44e(0x187)](typeof jasmine,_0x2a5a1b[_0xdcb44e(0x13f)])&&jasmine[_0xdcb44e(0x18b)]()[_0xdcb44e(0x1ac)]({'specStarted':_0x42b96c=>{const _0x43f443=_0xdcb44e;jasmine[_0x43f443(0xaf)]=_0x42b96c;}});let _0x44e4e6=![];try{await __drivers[0x0][_0xdcb44e(0xc8)],_0x44e4e6=!![];}catch(_0x926759){logger['debug'](_0xdcb44e(0x113)+_0x926759);const _0x12b91d={};_0x12b91d[_0xdcb44e(0x1a3)]=_0x2a5a1b['HklEB'],PerformanceTester[_0xdcb44e(0x164)](PerformanceHookEvents['SDK_HOOK'],![],_0x926759,_0x12b91d);}if(_0x44e4e6)try{_0x2a5a1b[_0xdcb44e(0x1a9)](shouldProcessEventForTesthub)&&(__drivers[0x0]&&await _0x2a5a1b[_0xdcb44e(0x129)](sendPlatformDetails,__drivers[0x0],TestDetails[_0xdcb44e(0x128)](process['pid']+_0xdcb44e(0x15e))));}catch(_0x36aad1){logger['debug'](_0xdcb44e(0xde)+_0x36aad1);const _0x2d213c={};_0x2d213c[_0xdcb44e(0x1a3)]=_0x2a5a1b[_0xdcb44e(0xe8)],PerformanceTester[_0xdcb44e(0x164)](PerformanceHookEvents[_0xdcb44e(0x104)],![],_0x36aad1,_0x2d213c);}const _0x5f0d04={};_0x5f0d04['hookType']=_0x2a5a1b['HklEB'],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x5f0d04);}),beforeEach(async()=>{const _0x505479=a24_0xabfa65,_0x5d7e3d={'lQUcL':_0x505479(0xb5),'fsUjh':'browserstackTestName','JlDNt':function(_0x4fbbe3,_0x132f9d,_0x372401){return _0x4fbbe3(_0x132f9d,_0x372401);},'UZZWq':_0x505479(0x11e),'KLPew':_0x505479(0x19b),'UItAW':_0x505479(0xa2),'KxeWH':function(_0x29388c,_0x22f801){return _0x29388c(_0x22f801);},'qBfYV':_0x505479(0x9d),'zfqtg':_0x505479(0x13a),'JTFBn':function(_0x4793c,_0x2c8e9f){return _0x4793c(_0x2c8e9f);},'KXOjY':_0x505479(0x174),'CJpCj':_0x505479(0x12d),'zUxeH':'0|4|2|3|1','kczZp':function(_0x4ee10a,_0x2ffffd){return _0x4ee10a>_0x2ffffd;},'unXXK':function(_0x9e752b){return _0x9e752b();},'NvnqY':function(_0x4c0c1e,_0x35bbe1){return _0x4c0c1e>_0x35bbe1;},'uVqmn':function(_0x465dfb){return _0x465dfb();},'QHdNU':_0x505479(0xc7),'fvOmp':'bstackA11yShouldScan','oLjnd':function(_0xc1208d){return _0xc1208d();},'iGEGs':function(_0x5a75c5,_0x4d5925){return _0x5a75c5>_0x4d5925;},'VVzSX':_0x505479(0xc3),'eoawJ':function(_0x490b4c,_0x27b4f7){return _0x490b4c===_0x27b4f7;},'OPORc':_0x505479(0x7d),'rCiUv':function(_0x420375,_0x28cc80){return _0x420375===_0x28cc80;},'yYfWG':'https:','oXwvR':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','OZFIj':function(_0x523bac,_0x568b2f){return _0x523bac(_0x568b2f);},'sWvsj':'../v2/browserstackCLI','bHATn':function(_0xdfe952,_0x3654e1){return _0xdfe952(_0x3654e1);},'fnncK':_0x505479(0x1af),'gVZTf':function(_0x516ef9,_0x187b80){return _0x516ef9(_0x187b80);},'nWsNG':'../v2/state/automationFrameworkState','fXRyI':_0x505479(0x1a5),'nknQy':function(_0x2e3ef9,_0xdf763c){return _0x2e3ef9||_0xdf763c;},'LRPFp':_0x505479(0x1b1),'YDjgw':function(_0x929c1f,_0x11a2a5){return _0x929c1f||_0x11a2a5;},'XSKLe':_0x505479(0x19f),'PDIzs':function(_0x2a7ba1,_0x5ef964){return _0x2a7ba1&&_0x5ef964;},'axSvn':_0x505479(0xa4),'CyOYc':function(_0x5a17c7,_0x1e3a6a){return _0x5a17c7===_0x1e3a6a;},'AGjxg':function(_0x166801,_0x1ad56a){return _0x166801>_0x1ad56a;},'RDWzK':function(_0x3e8545){return _0x3e8545();}};logger['debug'](_0x5d7e3d['lQUcL']),PerformanceTester[_0x505479(0xee)](PerformanceHookEvents[_0x505479(0x104)]);const _0x4fe25d='browserstack internal helper hook';let _0x339c19=!![],_0xb7b94b=null;try{const _0x23871d=expect[_0x505479(0x131)]()[_0x505479(0xc4)];globals[_0x505479(0xf2)](_0x5d7e3d[_0x505479(0x151)],_0x23871d);const _0x1f13cf=_0x5d7e3d[_0x505479(0x10d)](shouldScanTestForAccessibility,_0x23871d,![]),_0x220fc5=helper['getPackageVersion'](_0x5d7e3d[_0x505479(0x141)]),_0x27245d=helper[_0x505479(0x184)](_0x5d7e3d['KLPew'])||helper['getPackageVersion'](_0x5d7e3d[_0x505479(0xd6)]);if(!!_0x220fc5)try{_0xb7b94b=_0x5d7e3d['KxeWH'](require,_0x5d7e3d[_0x505479(0x14d)]),logger[_0x505479(0xbe)](_0x5d7e3d[_0x505479(0x18e)]);}catch(_0x39775b){logger[_0x505479(0xbe)](_0x505479(0x17c)+util['format'](_0x39775b));}else{if(!!_0x27245d)try{_0xb7b94b=_0x5d7e3d[_0x505479(0xbc)](require,_0x5d7e3d[_0x505479(0xbf)]),logger['debug'](_0x5d7e3d[_0x505479(0xeb)]);}catch(_0x4b0bbf){logger['debug']('Error\x20loading\x20puppeteer-patcher:\x20'+util['format'](_0x4b0bbf));}}try{const _0x5008a2=_0x5d7e3d[_0x505479(0x158)][_0x505479(0x179)]('|');let _0x7aa939=0x0;while(!![]){switch(_0x5008a2[_0x7aa939++]){case'0':Array['isArray'](__drivers)&&__drivers[0x0]&&(__drivers[0x0][_0x505479(0x1a2)]=_0x23871d);continue;case'1':!_0xb7b94b&&_0x5d7e3d[_0x505479(0xbd)](__drivers[_0x505479(0x14b)],0x0)&&_0x5d7e3d[_0x505479(0xbd)](__drivers[0x0][_0x505479(0x13b)],0x0)&&(_0x339c19=![],await _0x5d7e3d[_0x505479(0x18a)](driverCleanup));continue;case'2':!_0xb7b94b&&_0x5d7e3d[_0x505479(0x10a)](__drivers[_0x505479(0x14b)],0x1)&&(await _0x5d7e3d[_0x505479(0x11f)](driverCleanup),__drivers['shift']());continue;case'3':_0xb7b94b&&_0x5d7e3d['kczZp'](__drivers[_0x505479(0x14b)],0x0)&&(__drivers[0x0][_0x505479(0x1a2)]=_0x23871d,__drivers[0x0][_0x505479(0x97)]=_0x1f13cf);continue;case'4':global[_0x505479(0x1a2)]=_0x23871d;continue;}break;}}catch(_0x3f4f43){logger[_0x505479(0xbe)](_0x505479(0x155)+_0x3f4f43);const _0x5473a4={};_0x5473a4[_0x505479(0x1a3)]=_0x5d7e3d['QHdNU'],PerformanceTester[_0x505479(0x164)](PerformanceHookEvents['SDK_HOOK'],![],_0x3f4f43,_0x5473a4);}globals[_0x505479(0xf2)](_0x5d7e3d[_0x505479(0x197)],_0x1f13cf);if(global[_0x505479(0x127)]){const _0xc3559d=expect[_0x505479(0x131)]()[_0x505479(0x133)],_0x17fd36=global[_0x505479(0x116)],_0x562cb8=expect[_0x505479(0x131)]()[_0x505479(0xc4)]||_0x23871d;global[_0x505479(0x127)][_0x505479(0xaf)]={'id':_0x17fd36,'testAnalyticsId':_0x17fd36,'thTestRunUuid':TestDetails[_0x505479(0x128)](process[_0x505479(0x157)]+_0x505479(0x15e)),'testInfo':{'title':_0x23871d,'fullName':_0x562cb8,'displayName':_0x23871d,'name':_0x562cb8,'testPath':_0xc3559d,'testIdentifier':_0x17fd36}},logger[_0x505479(0xbe)](_0x505479(0xa9)+_0x17fd36+_0x505479(0x111)+_0x23871d+_0x505479(0x177)+_0xc3559d);}if(!_0xb7b94b&&_0x5d7e3d[_0x505479(0x181)](isAccessibilityAutomationSession)&&_0x339c19&&Array[_0x505479(0x9e)](__drivers)&&_0x5d7e3d[_0x505479(0xd3)](__drivers[_0x505479(0x14b)],0x0)&&globals[_0x505479(0xa3)](_0x5d7e3d[_0x505479(0x17f)]))try{const _0x2344a0=await __drivers[0x0][_0x505479(0xc8)];if(_0x2344a0){let _0x3c7bf0=!![];const _0x5a6260=await __drivers[0x0][_0x505479(0xa0)]();let _0x1ce54f;try{_0x1ce54f=new URL(_0x5a6260);}catch(_0x36c48f){_0x3c7bf0=![];}_0x3c7bf0=_0x5d7e3d[_0x505479(0xdd)](_0x1ce54f[_0x505479(0xdb)],_0x5d7e3d['OPORc'])||_0x5d7e3d[_0x505479(0x194)](_0x1ce54f[_0x505479(0xdb)],_0x5d7e3d[_0x505479(0xdf)]),_0x3c7bf0&&(_0x1f13cf&&logger[_0x505479(0x120)](_0x5d7e3d['oXwvR']));}}catch(_0x4fb674){logger[_0x505479(0x7f)](_0x505479(0x123)+_0x4fb674);const _0x176cf8={};_0x176cf8['hookType']=_0x5d7e3d[_0x505479(0x180)],PerformanceTester[_0x505479(0x164)](PerformanceHookEvents[_0x505479(0x104)],![],er,_0x176cf8);}if(_0xb7b94b&&global['__workerDetails']&&global['__workerDetails'][_0x505479(0xaf)])try{await _0xb7b94b['beforeTestHook'](global['__workerDetails']['currentTest'][_0x505479(0x91)]);}catch(_0x23022c){logger[_0x505479(0xbe)](_0x505479(0x19a)+util[_0x505479(0x8a)](_0x23022c));}if(_0xb7b94b&&global[_0x505479(0x127)]&&global[_0x505479(0x127)][_0x505479(0xaf)])try{const _0x216199=_0x5d7e3d[_0x505479(0x118)](require,_0x5d7e3d[_0x505479(0xa1)]),{FRAMEWORKS:_0x322b6d}=_0x5d7e3d[_0x505479(0xc5)](require,_0x5d7e3d[_0x505479(0x165)]),_0x4b129c=_0x5d7e3d[_0x505479(0xe3)](require,_0x5d7e3d[_0x505479(0x195)]),_0x2a7fff=_0x5d7e3d[_0x505479(0xe3)](require,_0x5d7e3d['fXRyI']);if(_0x216199[_0x505479(0x139)]()[_0x505479(0xf5)]()&&_0x216199['getInstance']()[_0x505479(0x86)]()){const _0x8c882e={'title':_0x5d7e3d[_0x505479(0x146)](_0x23871d,_0x5d7e3d['LRPFp']),'titlePath':[_0x5d7e3d[_0x505479(0x176)](_0x23871d,_0x5d7e3d[_0x505479(0x90)])],'id':global[_0x505479(0x127)][_0x505479(0xaf)]['id']||_0x5d7e3d[_0x505479(0x189)],'testAnalyticsId':global[_0x505479(0x127)][_0x505479(0xaf)][_0x505479(0x122)],'testPath':global[_0x505479(0x127)][_0x505479(0xaf)]['testInfo']?.['testPath'],...global[_0x505479(0x127)][_0x505479(0xaf)][_0x505479(0x91)]};global[_0x505479(0xa7)]=_0x8c882e,logger['debug'](_0x505479(0x1ad)+_0x23871d);try{const _0xe7a203=global['__workerDetails']?.[_0x505479(0x136)]||_0xb7b94b[_0x505479(0x14a)]();if(_0xe7a203){const _0x3f7d38=_0x5d7e3d[_0x505479(0xe6)](!!_0x27245d,!_0x220fc5);let _0x42d22d=null,_0x1a99f5=null;try{_0x3f7d38?(_0x42d22d=_0x5d7e3d[_0x505479(0xdd)](typeof _0xe7a203[_0x505479(0xb2)],_0x5d7e3d['axSvn'])?_0xe7a203[_0x505479(0xb2)]():null,_0x1a99f5=_0x5d7e3d[_0x505479(0xdd)](typeof _0xe7a203[_0x505479(0x135)],_0x5d7e3d['axSvn'])?_0xe7a203[_0x505479(0x135)]():null):(_0x42d22d=_0x5d7e3d[_0x505479(0xdc)](typeof _0xe7a203[_0x505479(0x10b)],_0x5d7e3d[_0x505479(0xd1)])?_0xe7a203[_0x505479(0x10b)]():null,_0x1a99f5=_0x42d22d&&_0x5d7e3d['eoawJ'](typeof _0x42d22d[_0x505479(0x135)],_0x5d7e3d['axSvn'])?_0x42d22d['browser']():null);}catch(_0x444d4e){logger[_0x505479(0xbe)]('Error\x20getting\x20page\x20context/browser:\x20'+_0x444d4e[_0x505479(0x192)]);}const _0x5f3f3d={};_0x5f3f3d[_0x505479(0x1ab)]=_0xe7a203,_0x5f3f3d[_0x505479(0x10b)]=_0x42d22d,_0x5f3f3d[_0x505479(0x135)]=_0x1a99f5,_0x5f3f3d[_0x505479(0x91)]=_0x8c882e,_0x5f3f3d[_0x505479(0xad)]=_0x322b6d['JEST'],_0x5f3f3d[_0x505479(0xa8)]=global[_0x505479(0x103)],_0x5f3f3d[_0x505479(0xbb)]=global[_0x505479(0xe4)],await _0x216199[_0x505479(0x139)]()['getAutomationFramework']()[_0x505479(0x182)](_0x4b129c[_0x505479(0x83)],_0x2a7fff[_0x505479(0x100)],_0x5f3f3d),logger[_0x505479(0xbe)](_0x505479(0xfd)+_0x23871d+_0x505479(0x16e)+(_0x8c882e[_0x505479(0x122)]||_0x8c882e['id']));}else logger[_0x505479(0xbe)]('No\x20page\x20available\x20yet\x20for\x20test:\x20'+_0x23871d+_0x505479(0x15c));}catch(_0x2a2dbf){logger[_0x505479(0xbe)](_0x505479(0x175)+util[_0x505479(0x8a)](_0x2a2dbf));}}}catch(_0xa3b5b1){logger[_0x505479(0xbe)](_0x505479(0x99)+util[_0x505479(0x8a)](_0xa3b5b1));}!_0xb7b94b&&_0x5d7e3d[_0x505479(0x134)](__drivers['length'],0x0)&&_0x5d7e3d[_0x505479(0xd3)](__drivers[0x0][_0x505479(0x13b)],0x0)&&await _0x5d7e3d[_0x505479(0x1a8)](driverCleanup);}catch(_0x3c0345){logger['debug']('Exception\x20in\x20jest\x20hook\x20with\x20error:\x20'+_0x3c0345);const _0x19db27={};_0x19db27[_0x505479(0x1a3)]=_0x5d7e3d[_0x505479(0x180)],PerformanceTester[_0x505479(0x164)](PerformanceHookEvents[_0x505479(0x104)],![],_0x3c0345,_0x19db27);}const _0x41a54b={};_0x41a54b[_0x505479(0x1a3)]=_0x5d7e3d[_0x505479(0x180)],PerformanceTester['end'](PerformanceHookEvents[_0x505479(0x104)],!![],null,_0x41a54b);}),afterEach(async()=>{const _0x5781f0=a24_0xabfa65,_0xb6d063={'Nhtzw':'inside\x20after\x20each\x20jest\x20hook','cLpkA':function(_0x6d6c18,_0x3da5be){return _0x6d6c18>_0x3da5be;},'xZPOJ':_0x5781f0(0x11e),'bnOMr':_0x5781f0(0x19b),'uDzXo':_0x5781f0(0xa2),'gjkij':function(_0x3166c9,_0x1f0152){return _0x3166c9(_0x1f0152);},'Cblci':'../utils/playwright-patcher','SaDXi':_0x5781f0(0x174),'TVEow':_0x5781f0(0x110),'VjUzp':_0x5781f0(0xab),'IEElQ':function(_0x50e33b,_0x2fc62b){return _0x50e33b!==_0x2fc62b;},'dTqeD':'undefined','RzjCw':function(_0x538c8f,_0x19d2f7){return _0x538c8f>_0x19d2f7;},'ghPrX':_0x5781f0(0x8e),'xmFIR':_0x5781f0(0x95),'fkBcJ':function(_0x995890,_0x1bd745){return _0x995890&&_0x1bd745;},'mIJkz':_0x5781f0(0x1b1),'hRIkn':_0x5781f0(0x19f),'NKNWN':_0x5781f0(0xca),'StDLq':_0x5781f0(0xfb),'HEcEw':_0x5781f0(0x199),'dUBYn':'Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','dhUOA':function(_0x4a0a03,_0x5896f1){return _0x4a0a03>_0x5896f1;},'CRNHE':function(_0x4c13bc){return _0x4c13bc();},'HnruK':function(_0x2b465d,_0x2c9938){return _0x2b465d===_0x2c9938;},'Haxdf':'testcase','EaBdT':function(_0x8e1cd8,_0x12d28f){return _0x8e1cd8>_0x12d28f;},'UsvCe':_0x5781f0(0xb8),'UMTLg':function(_0x600aeb,_0x6f07cb,_0x53aae5,_0x11522b){return _0x600aeb(_0x6f07cb,_0x53aae5,_0x11522b);},'axhhh':_0x5781f0(0x108),'XLyeC':function(_0x48cb40,_0x242e0a,_0x16de49){return _0x48cb40(_0x242e0a,_0x16de49);},'dWPun':function(_0x1d04d0){return _0x1d04d0();},'SBnFA':'isAccessibilityPlatform','TYzXj':'bstackA11yShouldScan','jarCz':_0x5781f0(0x1a7),'RSVhL':_0x5781f0(0x148),'qBpdT':_0x5781f0(0x119),'auJZg':_0x5781f0(0x196),'TTjgp':_0x5781f0(0x125),'uITdz':function(_0x5cc7c0){return _0x5cc7c0();},'PQkdN':function(_0x32c50b){return _0x32c50b();},'ESeQf':function(_0x288381,_0x75254){return _0x288381>_0x75254;},'XxPJm':function(_0x48d9f6,_0x5d2b0d,_0xea229a){return _0x48d9f6(_0x5d2b0d,_0xea229a);},'OXAaq':_0x5781f0(0xbe),'VMbyq':function(_0xe961ad,_0x33544d){return _0xe961ad>_0x33544d;},'TjepP':function(_0xed19f1,_0x46c369){return _0xed19f1>_0x46c369;},'Gacpx':function(_0x2ca643){return _0x2ca643();}};logger[_0x5781f0(0xbe)](_0xb6d063[_0x5781f0(0xd9)]),PerformanceTester[_0x5781f0(0xee)](PerformanceHookEvents[_0x5781f0(0x104)]);const _0x5310df='browserstack internal helper hook';let _0x53830e=![],_0x3ad89d=![],_0x2857ec=null;try{global[_0x5781f0(0xd0)]&&_0xb6d063[_0x5781f0(0x92)](global[_0x5781f0(0xd0)]['length'],0x0)&&(_0x53830e=!![]);if(global['__workerDetails']&&global[_0x5781f0(0x127)][_0x5781f0(0x136)]){const _0x3f5083=helper['getPackageVersion'](_0xb6d063['xZPOJ']),_0x1ef4ab=helper[_0x5781f0(0x184)](_0xb6d063[_0x5781f0(0x149)])||helper[_0x5781f0(0x184)](_0xb6d063[_0x5781f0(0x1aa)]);try{if(_0x3f5083)_0x2857ec=_0xb6d063['gjkij'](require,_0xb6d063[_0x5781f0(0x168)]);else _0x1ef4ab&&(_0x2857ec=_0xb6d063[_0x5781f0(0x152)](require,_0xb6d063[_0x5781f0(0xf0)]));_0x3ad89d=!![],logger['debug']((_0x3f5083?_0xb6d063[_0x5781f0(0xc9)]:_0xb6d063[_0x5781f0(0xb4)])+'\x20flow\x20detected\x20-\x20page\x20exists:\x20'+!!global['__workerDetails'][_0x5781f0(0x136)]);}catch(_0x3fa5ba){logger[_0x5781f0(0xbe)]('Error\x20loading\x20patcher\x20in\x20afterEach:\x20'+util[_0x5781f0(0x8a)](_0x3fa5ba));}}}catch(_0x539ac7){logger[_0x5781f0(0xbe)](_0x5781f0(0x11c)+_0x539ac7);}logger[_0x5781f0(0xbe)]('Flow\x20detection:\x20isSeleniumFlow='+_0x53830e+_0x5781f0(0x1a4)+_0x3ad89d);if(_0x3ad89d){const _0x10e61f=_0x2857ec['getPageFromAutomationFramework']();try{let _0x37823c=null,_0x32a269=![];if(_0xb6d063[_0x5781f0(0x186)](typeof jasmine,_0xb6d063['dTqeD']))jasmine[_0x5781f0(0xaf)]['failedExpectations']&&_0xb6d063[_0x5781f0(0x92)](jasmine[_0x5781f0(0xaf)][_0x5781f0(0x145)]['length'],0x0)?(_0x32a269=!![],_0x37823c=_0xb6d063['gjkij'](stripUnicode,JSON[_0x5781f0(0x1a6)](jasmine[_0x5781f0(0xaf)][_0x5781f0(0x145)][0x0][_0x5781f0(0x192)]))):_0x37823c=_0xb6d063[_0x5781f0(0x152)](stripUnicode,JSON['stringify'](jasmine['currentTest'][_0x5781f0(0x140)]));else{logger[_0x5781f0(0xbe)]('from\x20else\x20block\x20jest\x20test\x20failed\x20playwright\x20flow:\x20'+util['inspect'](testContext));const _0x3a3ea6=global['testContext']||testContext,_0x1a5d69=_0x3a3ea6&&_0x3a3ea6[_0x5781f0(0x115)]?_0x3a3ea6['errors']:[];if(_0xb6d063[_0x5781f0(0x126)](_0x1a5d69[_0x5781f0(0x14b)],0x0)){_0x32a269=!![];const _0x4c55a9=Array[_0x5781f0(0x9e)](_0x1a5d69[0x0])?_0x1a5d69[0x0][0x0]:_0x1a5d69[0x0];_0x37823c=_0xb6d063[_0x5781f0(0x152)](stripUnicode,JSON[_0x5781f0(0x1a6)](_0x4c55a9[_0x5781f0(0x192)]||_0x4c55a9));}else _0x37823c=_0xb6d063['gjkij'](stripUnicode,JSON[_0x5781f0(0x1a6)](_0x3a3ea6?_0x3a3ea6[_0x5781f0(0x150)]:testContext[_0x5781f0(0x150)]));}const _0x499937=_0x32a269?_0xb6d063[_0x5781f0(0x107)]:_0xb6d063[_0x5781f0(0x130)];_0xb6d063[_0x5781f0(0x18c)](_0x32a269,_0x37823c)&&!__error_messages__[_0x5781f0(0x80)](_0x37823c)&&__error_messages__[_0x5781f0(0x9b)](_0x37823c);const _0xaea3c6={'title':global['__workerDetails']?.[_0x5781f0(0xaf)]?.[_0x5781f0(0x91)]?.[_0x5781f0(0xf8)]||_0xb6d063[_0x5781f0(0x18d)],'titlePath':[global['__workerDetails']?.[_0x5781f0(0xaf)]?.[_0x5781f0(0x91)]?.['title']||_0xb6d063[_0x5781f0(0x18d)]],'id':global['__workerDetails']?.[_0x5781f0(0xaf)]?.['id']||_0xb6d063[_0x5781f0(0xfa)],'status':_0x499937,'error':_0x37823c?{'message':_0x37823c}:null,'testAnalyticsId':global[_0x5781f0(0x127)]?.[_0x5781f0(0xaf)]?.[_0x5781f0(0x122)],'testPath':global[_0x5781f0(0x127)]?.[_0x5781f0(0xaf)]?.[_0x5781f0(0x91)]?.[_0x5781f0(0x133)],...global['__workerDetails'][_0x5781f0(0xaf)][_0x5781f0(0x91)]},_0x311f19=_0xaea3c6;try{if(BrowserstackCLI[_0x5781f0(0x139)]()[_0x5781f0(0xf5)]()&&BrowserstackCLI[_0x5781f0(0x139)]()['isRunning']()){const _0x1217e9={};_0x1217e9[_0x5781f0(0x91)]=_0x311f19,_0x1217e9[_0x5781f0(0x1ab)]=_0x10e61f,_0x1217e9[_0x5781f0(0xad)]=FRAMEWORKS[_0x5781f0(0x142)],await BrowserstackCLI['getInstance']()[_0x5781f0(0xce)]()[_0x5781f0(0x182)](AutomationFrameworkState[_0x5781f0(0x166)],HookState['PRE'],_0x1217e9),logger[_0x5781f0(0xbe)]('QUIT\x20PRE\x20event\x20completed\x20for\x20test:\x20'+_0x311f19[_0x5781f0(0xf8)]);}}catch(_0x4c6ba7){logger[_0x5781f0(0xbe)]('Error\x20triggering\x20QUIT\x20PRE\x20event:\x20'+util[_0x5781f0(0x8a)](_0x4c6ba7));}global[_0x5781f0(0x127)]&&global[_0x5781f0(0x127)][_0x5781f0(0xaf)]&&global[_0x5781f0(0x127)][_0x5781f0(0xaf)]['testInfo']?await _0x2857ec[_0x5781f0(0xf1)](global[_0x5781f0(0x127)][_0x5781f0(0xaf)][_0x5781f0(0x91)],_0x499937,_0x32a269?_0x37823c:null):logger['debug'](_0xb6d063['NKNWN']);try{await _0x2857ec[_0x5781f0(0xaa)](),logger[_0x5781f0(0xbe)](_0xb6d063[_0x5781f0(0x190)]);}catch(_0x4974a2){logger['debug'](_0x5781f0(0x185)+util[_0x5781f0(0x8a)](_0x4974a2));}try{_0x2857ec['closeTracker'][_0x5781f0(0xf4)](),logger['debug'](_0xb6d063['HEcEw']);}catch(_0x5879f1){logger[_0x5781f0(0xbe)]('Error\x20cleaning\x20up\x20close\x20tracker:\x20'+util[_0x5781f0(0x8a)](_0x5879f1));}}catch(_0x16db4b){logger[_0x5781f0(0xbe)](_0x5781f0(0x12b)+util['format'](_0x16db4b));try{_0x2857ec[_0x5781f0(0xaa)]&&(await _0x2857ec[_0x5781f0(0xaa)](),logger[_0x5781f0(0xbe)](_0xb6d063['dUBYn']));}catch(_0x55c956){logger[_0x5781f0(0xbe)]('Error\x20executing\x20fallback\x20deferred\x20closes:\x20'+util[_0x5781f0(0x8a)](_0x55c956));}}}else try{!_0x3ad89d&&_0xb6d063[_0x5781f0(0x1ae)](__drivers['length'],0x1)&&(await _0xb6d063[_0x5781f0(0x87)](driverCleanup),__drivers[_0x5781f0(0xe0)]());try{if(global[_0x5781f0(0x1a0)]&&_0xb6d063[_0x5781f0(0x96)](global[_0x5781f0(0xcd)],_0xb6d063[_0x5781f0(0xb1)])&&__drivers[0x0]){const _0x4ab210=_0xb6d063['EaBdT'](global[_0x5781f0(0xb6)][_0x5781f0(0x14b)],0x0)?!!global[_0x5781f0(0xb6)][0x0][_0x5781f0(0xd4)]||!!global[_0x5781f0(0xb6)][0x0][_0xb6d063['UsvCe']]:![],_0x5667ac={};_0x5667ac['app']=_0x4ab210,await _0xb6d063[_0x5781f0(0x89)](percyAutoCapture,__drivers[0x0],_0xb6d063[_0x5781f0(0xb1)],_0x5667ac);}}catch(_0x9a1e2b){logger['debug'](_0x5781f0(0x8c)+_0x9a1e2b);const _0x1ade4f={};_0x1ade4f[_0x5781f0(0x1a3)]=_0xb6d063['axhhh'],PerformanceTester['end'](PerformanceHookEvents[_0x5781f0(0x104)],![],_0x9a1e2b,_0x1ade4f);}const _0x5a4337=_0xb6d063['XLyeC'](shouldScanTestForAccessibility,expect[_0x5781f0(0x131)]()[_0x5781f0(0xc4)],![]);try{if(_0xb6d063[_0x5781f0(0x17e)](isAccessibilityAutomationSession)&&globals['getGlobal'](_0xb6d063['SBnFA'])&&globals['getGlobal'](_0xb6d063[_0x5781f0(0xd2)])){logger['info'](_0xb6d063[_0x5781f0(0x159)]);const _0x105cb9={'thTestRunUuid':TestDetails[_0x5781f0(0x128)](process['pid']+_0x5781f0(0x15e)),'thBuildUuid':process[_0x5781f0(0x19e)][testHubConstants[_0x5781f0(0x188)][_0x5781f0(0xb0)]],'thJwtToken':process[_0x5781f0(0x19e)][testHubConstants['ENV_VAR'][_0x5781f0(0x1b3)]]};logger[_0x5781f0(0xbe)](_0x5781f0(0x169)+JSON[_0x5781f0(0x1a6)](_0x105cb9)),logger[_0x5781f0(0xbe)](_0xb6d063[_0x5781f0(0x15b)]);const _0x468277={};_0x468277[_0x5781f0(0xec)]=_0xb6d063[_0x5781f0(0x9a)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x5781f0(0x163)],async()=>{const _0x180b1f=_0x5781f0;logger[_0x180b1f(0xbe)](util[_0x180b1f(0x8a)](await __drivers[0x0][_0x180b1f(0x14f)](scripts[_0x180b1f(0x8f)],{'method':expect[_0x180b1f(0x131)]()['currentTestName']})));},_0x468277)(),globals[_0x5781f0(0xa3)](_0xb6d063['auJZg'])&&(_0x105cb9[_0x5781f0(0xcc)]=!![]),await PerformanceTester['measureWrapper'](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x429146=_0x5781f0;await __drivers[0x0][_0x429146(0x14f)](scripts['saveTestResults'],_0x105cb9);})(),logger[_0x5781f0(0x120)](_0xb6d063['TTjgp']);}}catch(_0x507652){logger[_0x5781f0(0x7f)](_0x5781f0(0xfc)+expect[_0x5781f0(0x131)]()[_0x5781f0(0xc4)]+_0x5781f0(0xcf),_0x507652);}await _0xb6d063[_0x5781f0(0x1b0)](setContext);try{if(_0xb6d063['PQkdN'](shouldProcessEventForTesthub)){_0xb6d063[_0x5781f0(0x15d)](global[_0x5781f0(0xd0)]['length'],0x0)&&global[_0x5781f0(0xd0)][0x0]&&await _0xb6d063['XLyeC'](sendPlatformDetails,global[_0x5781f0(0xd0)][0x0],TestDetails[_0x5781f0(0x128)](process[_0x5781f0(0x157)]+_0x5781f0(0x15e)));if(_0xb6d063[_0x5781f0(0x17e)](isBrowserstackInfra)){PerformanceTester[_0x5781f0(0xee)](PerformanceO11yEvents[_0x5781f0(0x10e)]);const _0x1465d3=_0x5781f0(0x14e)+Date['now']();await _0xb6d063[_0x5781f0(0x106)](executeAnnotate,JSON[_0x5781f0(0x1a6)](_0x1465d3),_0xb6d063['OXAaq']),PerformanceTester[_0x5781f0(0x164)](PerformanceO11yEvents[_0x5781f0(0x10e)]);}}}catch(_0x17d67f){logger[_0x5781f0(0xbe)](_0x5781f0(0xde)+_0x17d67f),PerformanceTester[_0x5781f0(0x164)](PerformanceO11yEvents[_0x5781f0(0x10e)],![],_0x17d67f);}!_0x3ad89d&&_0xb6d063[_0x5781f0(0x147)](__drivers[_0x5781f0(0x14b)],0x0)&&_0xb6d063['TjepP'](__drivers[0x0][_0x5781f0(0x13b)],0x0)&&await _0xb6d063['Gacpx'](driverCleanup);const _0x17d7ab={};_0x17d7ab[_0x5781f0(0x1a3)]=_0xb6d063[_0x5781f0(0x93)],PerformanceTester[_0x5781f0(0x164)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x17d7ab);}catch(_0x334565){logger['debug'](_0x5781f0(0x113)+_0x334565);const _0x1e3df0={};_0x1e3df0[_0x5781f0(0x1a3)]=_0xb6d063[_0x5781f0(0x93)],PerformanceTester['end'](PerformanceHookEvents[_0x5781f0(0x104)],![],_0x334565,_0x1e3df0);}},TEST_FRAMEWORK_HOOK_TIMEOUT[a24_0xabfa65(0x19d)]),afterAll(async()=>{const _0x7cef46=a24_0xabfa65,_0x3bd6b1={'ZhZWC':function(_0x5ee20f,_0x47d0e1){return _0x5ee20f<=_0x47d0e1;},'jBhmX':function(_0xda53a8,_0x207325){return _0xda53a8(_0x207325);},'RLwiX':function(_0x3393e2){return _0x3393e2();},'byGRh':function(_0x4d36ec,_0x14dfa7,_0x4fd567){return _0x4d36ec(_0x14dfa7,_0x4fd567);},'khxGZ':_0x7cef46(0x19d),'ZqDeM':_0x7cef46(0x11e),'ZeNwC':_0x7cef46(0x19b),'vzpER':_0x7cef46(0xa2),'XAwFc':function(_0x29ae0b,_0x5b2aa9){return _0x29ae0b(_0x5b2aa9);},'tGLSi':_0x7cef46(0x9d),'ubTlT':_0x7cef46(0x174),'eiLIl':'No\x20patcher\x20available','ZMehJ':function(_0x23cbcb,_0x5a24d0){return _0x23cbcb||_0x5a24d0;},'CLppj':_0x7cef46(0x81),'oMrSN':_0x7cef46(0x156),'rNaSV':function(_0x8721cd,_0x18c29a){return _0x8721cd===_0x18c29a;},'tmhlm':_0x7cef46(0xa4),'tfBwk':'Successfully\x20closed\x20page\x20via\x20fallback','WtnYY':_0x7cef46(0x8b),'VTWhv':_0x7cef46(0x17b),'qVvJg':_0x7cef46(0x101)};PerformanceTester[_0x7cef46(0xee)](PerformanceHookEvents[_0x7cef46(0x104)]),jest[_0x7cef46(0x19c)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x3bd6b1[_0x7cef46(0x13d)]]),PerformanceTester[_0x7cef46(0x112)]();const _0x39729c='browserstack internal helper hook';let _0x2d199b=![];try{const _0x28409d=helper[_0x7cef46(0x184)](_0x3bd6b1[_0x7cef46(0x1a1)]),_0x53805e=helper[_0x7cef46(0x184)](_0x3bd6b1['ZeNwC'])||helper[_0x7cef46(0x184)](_0x3bd6b1[_0x7cef46(0x16f)]),_0xf1702b=_0x28409d?_0x3bd6b1[_0x7cef46(0xb9)](require,_0x3bd6b1[_0x7cef46(0x84)]):_0x53805e?_0x3bd6b1[_0x7cef46(0xb9)](require,_0x3bd6b1['ubTlT']):null;if(!_0xf1702b)throw new Error(_0x3bd6b1[_0x7cef46(0x12a)]);const _0x3dc8e9=global[_0x7cef46(0x127)]?.[_0x7cef46(0x136)],_0x5fbead=_0xf1702b[_0x7cef46(0x14a)](),_0x23ab83=_0x3bd6b1['ZMehJ'](_0x3dc8e9,_0x5fbead);if(_0x23ab83){_0x2d199b=!![];try{await _0xf1702b[_0x7cef46(0xaa)](),logger['debug'](_0x3bd6b1[_0x7cef46(0x121)]);}catch(_0x3c8dbe){logger[_0x7cef46(0xbe)]('Error\x20executing\x20deferred\x20closes:\x20'+util[_0x7cef46(0x8a)](_0x3c8dbe));try{const _0x18a316=_0xf1702b['getPageFromAutomationFramework']();_0x18a316&&(logger['debug'](_0x3bd6b1[_0x7cef46(0x16c)]),_0x3bd6b1[_0x7cef46(0x7e)](typeof _0x18a316['close'],_0x3bd6b1[_0x7cef46(0xe2)])&&(await _0x18a316['close'](),logger[_0x7cef46(0xbe)](_0x3bd6b1[_0x7cef46(0xb3)])));}catch(_0xb1faa1){logger[_0x7cef46(0xbe)](_0x7cef46(0x16b)+util[_0x7cef46(0x8a)](_0xb1faa1));}}try{if(global[_0x7cef46(0x127)]){global['__workerDetails']['pwPage']=null,global[_0x7cef46(0x127)][_0x7cef46(0x10c)]=![];const _0x2a75b3={};_0x2a75b3['id']=undefined,_0x2a75b3[_0x7cef46(0x91)]=undefined,global[_0x7cef46(0x127)][_0x7cef46(0xaf)]=_0x2a75b3;}_0xf1702b[_0x7cef46(0x132)]&&_0xf1702b[_0x7cef46(0x132)][_0x7cef46(0xf4)]&&(_0xf1702b[_0x7cef46(0x132)][_0x7cef46(0xf4)](),logger['debug'](_0x3bd6b1[_0x7cef46(0x94)])),logger[_0x7cef46(0xbe)](_0x3bd6b1[_0x7cef46(0xea)]);}catch(_0x13f433){logger[_0x7cef46(0xbe)]('Error\x20cleaning\x20up\x20after\x20deferred\x20closes:\x20'+util[_0x7cef46(0x8a)](_0x13f433));}__error_messages__=[];}}catch(_0x2f4707){logger[_0x7cef46(0xbe)](_0x7cef46(0x138)+util['format'](_0x2f4707));try{const _0x89bcdc=helper[_0x7cef46(0x184)](_0x3bd6b1[_0x7cef46(0x1a1)]),_0xecdee9=helper[_0x7cef46(0x184)](_0x3bd6b1[_0x7cef46(0x109)])||helper[_0x7cef46(0x184)](_0x3bd6b1[_0x7cef46(0x16f)]),_0x368976=_0x89bcdc?_0x3bd6b1[_0x7cef46(0xb9)](require,_0x3bd6b1[_0x7cef46(0x84)]):_0xecdee9?_0x3bd6b1['XAwFc'](require,_0x3bd6b1[_0x7cef46(0xf7)]):null;_0x368976&&await _0x368976[_0x7cef46(0xaa)]();}catch(_0x2a323b){logger['debug'](_0x7cef46(0xda)+util['format'](_0x2a323b));}}await new Promise(_0x121e2e=>{const _0x4887eb=_0x7cef46,_0x461a9e={'RNEqk':function(_0x5dea1c,_0xaca396){const _0x503df6=a24_0x11f8;return _0x3bd6b1[_0x503df6(0xef)](_0x5dea1c,_0xaca396);},'tMVct':function(_0x4e96ed,_0x205f75){const _0xc828b3=a24_0x11f8;return _0x3bd6b1[_0xc828b3(0xd7)](_0x4e96ed,_0x205f75);},'ioDED':function(_0x29475d){const _0x2780cb=a24_0x11f8;return _0x3bd6b1[_0x2780cb(0x18f)](_0x29475d);}},_0x5478ef=_0x3bd6b1[_0x4887eb(0x12c)](setInterval,async()=>{const _0x335ac4=_0x4887eb;_0x461a9e[_0x335ac4(0x171)](RequestQueueHandler[_0x335ac4(0x139)]()['pendingUploads'],0x0)&&(_0x461a9e[_0x335ac4(0xe5)](clearInterval,_0x5478ef),_0x461a9e[_0x335ac4(0xd5)](_0x121e2e));},0x3e8);});try{!_0x2d199b&&await _0x3bd6b1[_0x7cef46(0x18f)](driverCleanup);}catch(_0x572777){logger['debug'](_0x7cef46(0x9f)+_0x572777);const _0x1fd64d={};_0x1fd64d['hookType']=_0x3bd6b1[_0x7cef46(0x173)],PerformanceTester['end'](PerformanceHookEvents[_0x7cef46(0x104)],![],_0x572777,_0x1fd64d);}process[_0x7cef46(0x98)]();const _0x2504f1={};_0x2504f1[_0x7cef46(0x1a3)]=_0x3bd6b1[_0x7cef46(0x173)],PerformanceTester[_0x7cef46(0x164)](PerformanceHookEvents[_0x7cef46(0x104)],!![],null,_0x2504f1);},TEST_FRAMEWORK_HOOK_TIMEOUT[a24_0xabfa65(0x19d)]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a25_0x481c3a=a25_0x5033;(function(_0x1eb19a,_0x429f60){const _0x5661c2=a25_0x5033,_0xaa0292=_0x1eb19a();while(!![]){try{const _0x56cfe6=-parseInt(_0x5661c2(0x188))/0x1*(parseInt(_0x5661c2(0x182))/0x2)+parseInt(_0x5661c2(0x181))/0x3+-parseInt(_0x5661c2(0x180))/0x4*(parseInt(_0x5661c2(0x184))/0x5)+-parseInt(_0x5661c2(0x186))/0x6*(parseInt(_0x5661c2(0x185))/0x7)+-parseInt(_0x5661c2(0x18a))/0x8+-parseInt(_0x5661c2(0x17e))/0x9+parseInt(_0x5661c2(0x183))/0xa;if(_0x56cfe6===_0x429f60)break;else _0xaa0292['push'](_0xaa0292['shift']());}catch(_0x42e6a7){_0xaa0292['push'](_0xaa0292['shift']());}}}(a25_0x4b4d,0x26443));function a25_0x5033(_0xa75101,_0x3fd886){const _0x4b4d89=a25_0x4b4d();return a25_0x5033=function(_0x503399,_0x23d894){_0x503399=_0x503399-0x17e;let _0x10e156=_0x4b4d89[_0x503399];return _0x10e156;},a25_0x5033(_0xa75101,_0x3fd886);}function a25_0x4b4d(){const _0x4046b2=['12nirkRC','5013540wVcHGc','5bDsesy','42049RyEozt','66KfdaCR','setTimeout','25628HPDirn','../../../helpers/test-observability/utils','609568axmOVR','893709IYDaZF','../../../helpers/request-spy','300180qjLFfA','377316gEeCfp'];a25_0x4b4d=function(){return _0x4046b2;};return a25_0x4b4d();}const requestSpy=require(a25_0x481c3a(0x17f)),{addRequestSpy}=require(a25_0x481c3a(0x189));beforeAll(()=>{const _0x185c73={'sKEfG':function(_0xcd3f2b){return _0xcd3f2b();}},_0x66185f='browserstack internal helper hook';_0x185c73['sKEfG'](addRequestSpy);}),afterAll(async()=>{const _0x4c21a6=a25_0x481c3a,_0x590db0='browserstack internal helper hook';jest[_0x4c21a6(0x187)](0xea60),requestSpy['restore']();});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a26_0x5a0e75=a26_0x53b5;function a26_0x53b5(_0x3737ab,_0x1509cd){const _0x3a9dd4=a26_0x3a9d();return a26_0x53b5=function(_0x53b5d9,_0x1add07){_0x53b5d9=_0x53b5d9-0x11b;let _0x51498f=_0x3a9dd4[_0x53b5d9];return _0x51498f;},a26_0x53b5(_0x3737ab,_0x1509cd);}(function(_0x29669c,_0x48c3f8){const _0x5133dd=a26_0x53b5,_0x1b028f=_0x29669c();while(!![]){try{const _0x51ed54=parseInt(_0x5133dd(0x12f))/0x1+-parseInt(_0x5133dd(0x11f))/0x2+parseInt(_0x5133dd(0x124))/0x3+-parseInt(_0x5133dd(0x128))/0x4*(-parseInt(_0x5133dd(0x11d))/0x5)+parseInt(_0x5133dd(0x11c))/0x6*(parseInt(_0x5133dd(0x129))/0x7)+-parseInt(_0x5133dd(0x121))/0x8+-parseInt(_0x5133dd(0x123))/0x9*(parseInt(_0x5133dd(0x126))/0xa);if(_0x51ed54===_0x48c3f8)break;else _0x1b028f['push'](_0x1b028f['shift']());}catch(_0x306b79){_0x1b028f['push'](_0x1b028f['shift']());}}}(a26_0x3a9d,0xbed8b));const testOpsHelper=require('../../../helpers/test-observability/utils'),helper=require(a26_0x5a0e75(0x12c));function a26_0x3a9d(){const _0x2f24cd=['10227VRCBFY','shouldReRunObservabilityTests','validateRerunTestList','../../../helpers/helper','isUndefined','get','1205523Lcmvxx','cliConfig','vzQnK','length','VLLpD','rerunTests','3018JxYFpZ','595IGXtwm','psogA','1395256Ivlaib','env','379744rxMpfc','testMatch','12689721ExXGjo','2489655KdTVUC','map','10DWIwtU','trim','5596queIvI'];a26_0x3a9d=function(){return _0x2f24cd;};return a26_0x3a9d();}exports['updateTestRerunConfig']=(_0xbeed37,_0x50fe18)=>{const _0x3caa70=a26_0x5a0e75,_0x1bc007={};_0x1bc007['psogA']=_0x3caa70(0x11b),_0x1bc007['VLLpD']=function(_0x5de33e,_0x4049b1){return _0x5de33e!==_0x4049b1;},_0x1bc007[_0x3caa70(0x131)]=function(_0x5ea8be,_0x25d5c0){return _0x5ea8be>_0x25d5c0;};const _0x2a40dd=_0x1bc007;if(testOpsHelper['isTestObservabilitySession']()&&testOpsHelper[_0x3caa70(0x12a)]()){let _0x55230a=process[_0x3caa70(0x120)]['BROWSERSTACK_RERUN_TESTS'];!helper[_0x3caa70(0x12d)](_0x50fe18[_0x3caa70(0x130)])&&_0x50fe18[_0x3caa70(0x130)]['has'](_0x2a40dd['psogA'])&&(_0x55230a=_0x50fe18[_0x3caa70(0x130)][_0x3caa70(0x12e)](_0x2a40dd[_0x3caa70(0x11e)]));const _0x3213b0=[];helper[_0x3caa70(0x12b)](_0x55230a)&&_0x2a40dd[_0x3caa70(0x133)](_0x55230a,null)&&_0x55230a['split'](',')[_0x3caa70(0x125)](_0x2524ab=>{const _0xc9a0aa=_0x3caa70;_0x3213b0['push'](''+_0x2524ab[_0xc9a0aa(0x127)]());}),_0x2a40dd[_0x3caa70(0x131)](_0x3213b0[_0x3caa70(0x132)],0x0)&&(_0xbeed37['testRegex']=_0x3213b0,delete _0xbeed37[_0x3caa70(0x122)]);}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a27_0x1f43b8=a27_0x3460;(function(_0x41277a,_0x4c7d72){const _0x29c4f7=a27_0x3460,_0x4c164c=_0x41277a();while(!![]){try{const _0x4010eb=-parseInt(_0x29c4f7(0x1e6))/0x1*(parseInt(_0x29c4f7(0x1a0))/0x2)+-parseInt(_0x29c4f7(0x184))/0x3*(parseInt(_0x29c4f7(0x13c))/0x4)+-parseInt(_0x29c4f7(0x13f))/0x5*(parseInt(_0x29c4f7(0x11f))/0x6)+-parseInt(_0x29c4f7(0x15c))/0x7+parseInt(_0x29c4f7(0x1de))/0x8+-parseInt(_0x29c4f7(0x16a))/0x9*(parseInt(_0x29c4f7(0x148))/0xa)+-parseInt(_0x29c4f7(0x1d4))/0xb*(-parseInt(_0x29c4f7(0x1e5))/0xc);if(_0x4010eb===_0x4c7d72)break;else _0x4c164c['push'](_0x4c164c['shift']());}catch(_0x4ac975){_0x4c164c['push'](_0x4c164c['shift']());}}}(a27_0x1af9,0xa05fa));const {isTestObservabilitySession,PathHelper,debug,failureData,getFailureType,isInternalHook}=require(a27_0x1f43b8(0xfc)),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{v4:uuidv4}=require(a27_0x1f43b8(0x1c9)),{name,version}=require(a27_0x1f43b8(0x125)),stackTrace=require(a27_0x1f43b8(0x15f)),{pickUserFrameFile}=require(a27_0x1f43b8(0x11d)),path=require(a27_0x1f43b8(0x113)),fs=require('fs'),TestDetails=require(a27_0x1f43b8(0xe6)),{FRAMEWORKS}=require(a27_0x1f43b8(0x172)),{o11yClassErrorHandler}=require(a27_0x1f43b8(0x197)),{getGitMetaData}=require(a27_0x1f43b8(0xf9)),helper=require(a27_0x1f43b8(0xf9)),{appendTesthubParams,setCurrentTestData}=require(a27_0x1f43b8(0x18e)),constants=require(a27_0x1f43b8(0x172)),BrowserstackCLI=require(a27_0x1f43b8(0x19e)),a27_0x396380={};function a27_0x1af9(){const _0x568318=['cwd','TestRunSkipped','expanded','NUhIV','getAllData','../../utils/constants','type','reverse','testObservability','failure','removeAllListeners','hook_data','_testEnv','length','gMJWq','zjzEq','fhaac','configureGit','getName','[obsReporter]\x20appendTestItemLog:\x20Error\x20in\x20Jest+Playwright\x20flow\x20detection:\x20','testIdentifier','pEnPO','current_test','633wjddpH','getTestUUID',',\x20falling\x20back\x20to\x20Jest+Selenium\x20flow','finished_at','opluu','kZOTh','zDVCS','tFHay','resetTestHooks','ZccKB','../../../helpers/testhub/utils','EnTIJ','_gitConfigured','rAYGA','sLOte','bs:addPlatformDetails:','rmllj','currentHook','BEFORE_EACH','../../../helpers/test-observability/error-handler','AFTER_ALL','function','0|2|1|4|3','yUHsT','relative','get','../../v2/browserstackCLI','tFKGr','1720xGMFuM','TTffu','yBRUS','includes','ShFsd','srpGm','getTime','event_type','result','GxNDK','apply','KqDoh','LogCreated','IyXAQ','http_response','isCliEnabled','jest-circus','analyticsResult','ygBQy','beforeAll','getActiveHook','MGcqb','XgIRn','test_run_uuid','getTestFramework',':hookAnalyticsId','mOpmp','gqoku','[obsReporter]\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length=','_pendingHookUploads','IVnxE','.git','WrRMK','HookRunFinished','[obsReporter]\x20appendTestItemLog:\x20Attached\x20test_identifier=','uqVbv','afterAll','hookUUID','NrnLV','STATE_FAILED','Hskea','uuid','GiRlq','getInstance','location_prefix','gyrkT','TestRunStarted','xpruI','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','SvrXV','file','testAnalyticsId','218867zMVOYp','[obsReporter]\x20appendTestItemLog:\x20Found\x20active\x20hook\x20-\x20hookUUID=','ogksS','riXGf','ZDJMf','markedStatus','\x20to\x20log','uploadEventData','SEfqe','JEST','4643416LPWOxV','TestRunFinished','pofLb','KEY_LOGS','match','mmfmU','ZolXB','3300JZPBYk','1229CYvxvq','backtrace','hook_run_uuid','puppeteer-core','oWmqx','ObservabilityReporter','[obsReporter]\x20appendTestItemLog:\x20Stored\x20log\x20in\x20instance.data[KEY_LOGS]\x20for\x20testIdentifier=','getTestEnv','push','generic','getRootParentFile','name','hook_run','DcDAF','_cachedIntegrations','appendTestItemLog','_testResults','getPackageVersion','./test-details','bs:addLog:','registerListeners','logs','WVkHa','afterEach','GwRJa','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','CQFae','unknown','exports',',\x20logKind=','getHierarchy','[obsReporter]\x20appendTestItemLog:\x20Jest+Playwright/Puppeteer\x20CLI\x20flow\x20detected,\x20using\x20in-memory\x20storage','../../v2/framework/constants/testFrameworkConstants','FzNcu','GUSZO','splice','forEach','../../../helpers/helper','[obsReporter]\x20appendTestItemLog:\x20Attached\x20hook_run_uuid=','integrations','../../../helpers/test-observability/utils','asyncError','POST','Fvcrf','skipped','failure_backtrace','failure_type','YxmyJ','VmJHa','TEST_REPORTING_ANALYTICS','parent','pxHNV','GynAh','RTSUR','qFiZe','acfau','javascript','hook_type','statSync','eeoih','pid','euCsn','inspect','path','started_at','failed',',\x20totalLogs:\x20','rmRTw','TEST','[obsReporter]\x20appendTestItemLog:\x20Invalid\x20or\x20missing\x20testIdentifier\x20format:\x20','__jestCurrentTestIdentifier','CBTSessionCreated','QxchQ','../../../helpers/stackFrameUtils','errorsDetailed','156ttmrfk','gXBLh','lhAZT','isRunning','mBwtQ','state','../../../../package.json','appendTestPlatform','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','mapTestHooks','pBSij','test','getHooksForTest','GdfNA','REUzg','FPugU','STATE_PASSED','File\x20path\x20could\x20not\x20be\x20found','wYvkH','HtJAk','js-','parse','[obsReporter]\x20appendTestItemLog:\x20Instance\x20not\x20available\x20or\x20addMultipleEntries\x20not\x20available\x20for\x20testIdentifier=','../../v2/state/testFrameworkState','title','pending','gFmVB','STATE_PENDING','toISOString','23624AEsndz','lnXCo','findGitConfig','177965TsRjCo','eyxnN','[obsReporter]\x20appendTestItemLog:\x20Found\x20active\x20hook\x20from\x20JestTestFramework\x20-\x20hookUUID=','sendTestRunEvent','ttVhe','bind','hook_failure',',\x20testIdentifier=','toString','70ktXOcp','_currentRetry','\x20with\x20error\x20:\x20','test_identifier','aEjct','ROOT_DESCRIBE_BLOCK','current_hook','hooks','passed','failure_reason','split','peHuK','LoAbI','RCfOl','BEFORE_ALL','_gitConfigPath','wFgVG','dirname',':testAnalyticsId','jysgy','8808674zIjASI','kind','KXOdC','stack-trace','ZbQYh','addMultipleEntries','\x22\x20hook\x20for\x20\x22','test_run','ZEimx','isJestInternalHook','../../v2/state/hookState','util','config','hookAnalyticsId','1167822rdhQTM','_paths','retryOf'];a27_0x1af9=function(){return _0x568318;};return a27_0x1af9();}a27_0x396380[a27_0x1f43b8(0x12f)]=a27_0x1f43b8(0x150),a27_0x396380[a27_0x1f43b8(0x1c7)]=a27_0x1f43b8(0x115),a27_0x396380[a27_0x1f43b8(0x13a)]=a27_0x1f43b8(0x138);function a27_0x3460(_0x1f09e1,_0x19b48e){const _0x1af965=a27_0x1af9();return a27_0x3460=function(_0x346099,_0x5bd382){_0x346099=_0x346099-0xd7;let _0x4b4c59=_0x1af965[_0x346099];return _0x4b4c59;},a27_0x3460(_0x1f09e1,_0x19b48e);}const {STATE_PASSED,STATE_PENDING,STATE_FAILED}=a27_0x396380,a27_0x46edde={};a27_0x46edde['beforeAll']=a27_0x1f43b8(0x156),a27_0x46edde[a27_0x1f43b8(0x1c4)]=a27_0x1f43b8(0x198),a27_0x46edde['beforeEach']=a27_0x1f43b8(0x196),a27_0x46edde[a27_0x1f43b8(0xeb)]='AFTER_EACH';const HOOK_TYPES_MAP=a27_0x46edde;module[a27_0x1f43b8(0xf0)]=o11yClassErrorHandler(class ObservabilityReporter{constructor(){const _0x28b084=a27_0x1f43b8,_0x104351={'eeoih':'5|3|7|1|0|4|6|2|8','fPUQY':function(_0x570f14){return _0x570f14();}},_0x1cd479=_0x104351[_0x28b084(0x10f)]['split']('|');let _0x6c81dc=0x0;while(!![]){switch(_0x1cd479[_0x6c81dc++]){case'0':this[_0x28b084(0x178)]=[];continue;case'1':this[_0x28b084(0x16b)]=new PathHelper({'cwd':process[_0x28b084(0x16d)]()},this[_0x28b084(0x179)][_0x28b084(0x1cc)]);continue;case'2':this[_0x28b084(0xe2)]=null;continue;case'3':this[_0x28b084(0xe4)]=[];continue;case'4':this[_0x28b084(0x190)]=![];continue;case'5':this[_0x28b084(0x175)]=_0x104351['fPUQY'](isTestObservabilitySession);continue;case'6':this[_0x28b084(0x157)]=null;continue;case'7':this[_0x28b084(0x179)]=this[_0x28b084(0xdb)]();continue;case'8':this[_0x28b084(0x1bd)]=[];continue;}break;}}[a27_0x1f43b8(0xdb)]=()=>{const _0x5993a8=a27_0x1f43b8,_0x5cc7b4={'RDJwa':_0x5993a8(0xdd),'ShFsd':function(_0x52fdab){return _0x52fdab();}};return{'ci':_0x5cc7b4['RDJwa'],'key':_0x5cc7b4[_0x5993a8(0x1a4)](uuidv4),'version':version,'collector':_0x5993a8(0x133)+name};};['registerListeners'](){const _0x244685=a27_0x1f43b8;process[_0x244685(0x177)](_0x244685(0xe7)+process[_0x244685(0x110)]),process['on'](_0x244685(0xe7)+process[_0x244685(0x110)],this[_0x244685(0xe3)]['bind'](this)),process[_0x244685(0x177)](_0x244685(0x193)+process[_0x244685(0x110)]),process['on'](_0x244685(0x193)+process[_0x244685(0x110)],this[_0x244685(0x126)][_0x244685(0x144)](this));}['testStarted']=async _0x23863a=>{const _0x23d4d3=a27_0x1f43b8,_0x43203c={'gXBLh':function(_0x4edb24,_0x4e2e87){return _0x4edb24>_0x4e2e87;},'zDVCS':function(_0x296d85,_0x23f33c){return _0x296d85===_0x23f33c;},'GiRlq':_0x23d4d3(0x1ce),'wFgVG':function(_0x1edd8a,_0xf92ffd){return _0x1edd8a(_0xf92ffd);}};try{const _0x41b771=this[_0x23d4d3(0x183)];this[_0x23d4d3(0x183)]=_0x23863a,_0x23863a['retryOf']=null,_0x23863a[_0x23d4d3(0x1d3)]=TestDetails['setTestUUID'](process[_0x23d4d3(0x110)]+':testAnalyticsId'),_0x23863a['started_at']=new Date()['toISOString'](),_0x43203c[_0x23d4d3(0x120)](_0x23863a[_0x23d4d3(0x149)],0x0)&&_0x41b771&&_0x43203c[_0x23d4d3(0x18a)](_0x41b771[_0x23d4d3(0x137)],_0x23863a[_0x23d4d3(0x137)])?(_0x23863a[_0x23d4d3(0x16c)]=_0x41b771['testAnalyticsId'],await this[_0x23d4d3(0x142)](_0x23863a,undefined,![],_0x43203c[_0x23d4d3(0x1ca)]),_0x41b771[_0x23d4d3(0x124)]=STATE_FAILED,await this[_0x23d4d3(0x142)](_0x41b771,undefined,!![])):await this[_0x23d4d3(0x142)](_0x23863a,undefined,![],_0x43203c[_0x23d4d3(0x1ca)]);}catch(_0x5967f4){_0x43203c[_0x23d4d3(0x158)](debug,_0x23d4d3(0xed)+_0x5967f4);}};['getName'](_0x1c137a){const _0x1d3eff=a27_0x1f43b8,_0x31da70={};_0x31da70['XTcjr']=function(_0x2edddf,_0x3f3083){return _0x2edddf!==_0x3f3083;},_0x31da70[_0x1d3eff(0x18b)]=_0x1d3eff(0x12a);const _0x45bcf3=_0x31da70;if(_0x45bcf3['XTcjr'](_0x1c137a[_0x1d3eff(0x173)],_0x45bcf3[_0x1d3eff(0x18b)]))return'\x22'+_0x1c137a[_0x1d3eff(0x173)]+_0x1d3eff(0x162)+(_0x1c137a[_0x1d3eff(0x106)]&&_0x1c137a['parent']['name'])+'\x22';return _0x1c137a[_0x1d3eff(0xdf)];}[a27_0x1f43b8(0x142)]=async(_0x32e316,_0x2da38c=undefined,_0x32a36e=![],_0x379a65='TestRunFinished')=>{const _0x525e2b=a27_0x1f43b8,_0x147009={'WrRMK':_0x525e2b(0x19a),'mBwtQ':_0x525e2b(0xe0),'FPugU':_0x525e2b(0x176),'tFKGr':_0x525e2b(0x163),'DcDAF':_0x525e2b(0x1a8),'kZOTh':_0x525e2b(0x102),'NrnLV':_0x525e2b(0x151),'CQFae':function(_0x3c5fdc,_0x301448){return _0x3c5fdc(_0x301448);},'GwRJa':_0x525e2b(0x1b0),'Hskea':function(_0x365575,_0x297c44){return _0x365575(_0x297c44);},'fhaac':_0x525e2b(0x167),'gFmVB':function(_0x241d00,_0x3db359){return _0x241d00!==_0x3db359;},'RAmqu':_0x525e2b(0x12a),'euCsn':'err','rAYGA':_0x525e2b(0x130),'rmllj':_0x525e2b(0x10c),'pofLb':function(_0x287f04,_0x42ac57){return _0x287f04===_0x42ac57;},'ZDJMf':_0x525e2b(0x16e),'lhAZT':_0x525e2b(0x100),'qFiZe':function(_0x128426,_0x3d17f4){return _0x128426>_0x3d17f4;},'KqDoh':_0x525e2b(0x115),'ZbQYh':'passed','gyrkT':function(_0x365420,_0x7734ff){return _0x365420-_0x7734ff;},'FzNcu':function(_0x2ce6d5,_0x4594c8){return _0x2ce6d5(_0x4594c8);},'gMJWq':function(_0x5f3755,_0x18598a,_0x52e739,_0x3fac60,_0x1dbb4c){return _0x5f3755(_0x18598a,_0x52e739,_0x3fac60,_0x1dbb4c);},'WVkHa':function(_0x4f04f7,_0x41ecdd){return _0x4f04f7===_0x41ecdd;},'wYvkH':_0x525e2b(0x114),'acfau':_0x525e2b(0x187),'KXOdC':_0x525e2b(0x1c1),'ZEimx':_0x525e2b(0x101),'uqVbv':_0x525e2b(0x1e7),'XNZXK':'failure_reason_expanded','QxchQ':_0x525e2b(0x16f),'RTSUR':_0x525e2b(0x1df),'XgIRn':function(_0xa87ea5,_0xd2388c){return _0xa87ea5===_0xd2388c;},'yUHsT':'hook_type','RCfOl':function(_0x4d7e94,_0x4538c4){return _0x4d7e94>_0x4538c4;},'jysgy':function(_0x2b8d9d,_0x4355e5){return _0x2b8d9d===_0x4355e5;},'Fvcrf':_0x525e2b(0x1b3),'lnXCo':'HookRun','EzaMC':_0x525e2b(0xfb),'ogksS':function(_0x41ca2c,_0x5d033a,_0x5b5894){return _0x41ca2c(_0x5d033a,_0x5b5894);},'mOpmp':function(_0x329e7d,_0x1143fe){return _0x329e7d(_0x1143fe);}};try{if(_0x32e316['fn']&&_0x32e316['fn'][_0x525e2b(0x147)]()[_0x525e2b(0x1e2)](/browserstack internal helper hook/))return;await this[_0x525e2b(0x17e)]();let _0x51c4cc;try{_0x51c4cc=this['getRootParentFile'](_0x32e316);}catch(_0x4bc3c6){_0x147009[_0x525e2b(0xee)](debug,'failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x4bc3c6),_0x51c4cc=null;}if(_0x51c4cc[_0x525e2b(0x1a3)](_0x147009[_0x525e2b(0xec)]))return;const _0x318ca4=_0x147009[_0x525e2b(0x1c8)](require,_0x147009[_0x525e2b(0x17d)]);let _0x2a0269=[];if(_0x147009[_0x525e2b(0x139)](_0x32e316[_0x525e2b(0x11e)],undefined))_0x2a0269=[_0x32e316[_0x525e2b(0x11e)],_0x147009['RAmqu']];else _0x147009[_0x525e2b(0x139)](_0x2da38c,undefined)?_0x2a0269=[_0x2da38c,_0x147009[_0x525e2b(0x111)]]:_0x2a0269=[];const _0x5f465b=_0x147009[_0x525e2b(0x139)](_0x32e316[_0x525e2b(0x11e)],undefined)?_0x318ca4[_0x525e2b(0x112)](_0x32e316[_0x525e2b(0x11e)][0x0]):_0x147009[_0x525e2b(0x139)](_0x2da38c,undefined)?_0x2da38c[_0x525e2b(0x147)]():undefined,_0x2daf43=_0x51c4cc?this['_paths']['prefixTestPath'](this[_0x525e2b(0xde)](_0x32e316)):_0x147009[_0x525e2b(0x191)],_0x428a8f={'framework':FRAMEWORKS['JEST'],'uuid':_0x32e316[_0x525e2b(0x1d3)]||_0x32e316[_0x525e2b(0x169)],'name':this[_0x525e2b(0x17f)](_0x32e316),'body':{'lang':_0x147009[_0x525e2b(0x194)],'code':_0x32e316['fn'][_0x525e2b(0x147)]()},'scopes':this['getHierarchy'](_0x32e316),'file_name':_0x2daf43,'vc_filepath':this[_0x525e2b(0x157)]&&_0x51c4cc?path[_0x525e2b(0x19c)](this['_gitConfigPath'],_0x51c4cc):null,'location':_0x2daf43,'result':_0x147009[_0x525e2b(0x1e0)](_0x379a65,_0x147009['ZDJMf'])?_0x147009[_0x525e2b(0x121)]:this[_0x525e2b(0x1b1)](_0x32e316[_0x525e2b(0x11e)]&&_0x147009[_0x525e2b(0x10a)](_0x32e316[_0x525e2b(0x11e)][_0x525e2b(0x17a)],0x0)?_0x147009[_0x525e2b(0x1ab)]:_0x147009[_0x525e2b(0x160)]),'failure_reason':_0x5f465b,'duration_in_ms':_0x32e316['duration']||(_0x379a65[_0x525e2b(0x1e2)](/Finished/)||_0x379a65[_0x525e2b(0x1e2)](/Skipped/)?_0x147009[_0x525e2b(0x1cd)](Date['now'](),new Date(_0x32e316[_0x525e2b(0x114)])[_0x525e2b(0x1a6)]()):null),'started_at':_0x32e316['started_at'],'finished_at':_0x379a65[_0x525e2b(0x1e2)](/Finished/)||_0x379a65['match'](/Skipped/)?new Date()[_0x525e2b(0x13b)]():null,'failure':failureData[_0x525e2b(0x1aa)](null,_0x2a0269),'failure_type':!_0x5f465b?null:_0x147009[_0x525e2b(0xf5)](getFailureType,_0x5f465b),'retry_of':_0x32e316['retryOf']};_0x147009[_0x525e2b(0x17b)](appendTesthubParams,_0x428a8f,_0x379a65,_0x32e316,FRAMEWORKS[_0x525e2b(0x1dd)]);_0x147009['WVkHa'](_0x379a65,_0x147009[_0x525e2b(0x1d8)])&&!_0x428a8f[_0x147009['wYvkH']]&&(_0x428a8f[_0x147009[_0x525e2b(0x131)]]=_0x428a8f[_0x147009[_0x525e2b(0x10b)]]);if(_0x379a65[_0x525e2b(0x1e2)](/HookRun/))[_0x428a8f[_0x525e2b(0x10d)],_0x428a8f[_0x525e2b(0xdf)]]=[_0x32e316[_0x525e2b(0x173)],this[_0x525e2b(0x17f)](_0x32e316)],_0x147009[_0x525e2b(0xea)](_0x379a65,_0x147009[_0x525e2b(0x15e)])&&(_0x147009[_0x525e2b(0x139)](_0x428a8f[_0x525e2b(0x1a8)],_0x147009[_0x525e2b(0x1ab)])&&(_0x428a8f[_0x525e2b(0x1a8)]=_0x147009['ZbQYh']));else _0x379a65[_0x525e2b(0x1e2)](/TestRun/)&&this[_0x525e2b(0x128)](_0x32e316);const _0xce6362=_0x428a8f[_0x147009[_0x525e2b(0x12e)]][0x0];_0xce6362&&(_0x428a8f[_0x147009[_0x525e2b(0x164)]]=_0xce6362[_0x147009[_0x525e2b(0x1c3)]],_0x428a8f[_0x147009['XNZXK']]=_0xce6362[_0x147009[_0x525e2b(0x11c)]]);[_0x147009[_0x525e2b(0x109)],_0x147009[_0x525e2b(0x1d8)]]['includes'](_0x379a65)&&(this[_0x525e2b(0xe4)]['push'](_0x428a8f),_0x428a8f['hooks']=this['getHooksForTest'](_0x32e316),this[_0x525e2b(0x18c)](_0x32e316));const _0x35e564={'event_type':_0x147009[_0x525e2b(0x1b6)](_0x379a65,_0x147009[_0x525e2b(0x1d8)])?_0x147009[_0x525e2b(0x109)]:_0x379a65};_0x379a65[_0x525e2b(0x1e2)](/HookRun/)?(_0x428a8f[_0x147009[_0x525e2b(0x19b)]]=HOOK_TYPES_MAP[_0x428a8f[_0x147009[_0x525e2b(0x19b)]]],_0x35e564[_0x147009[_0x525e2b(0x123)]]=_0x428a8f):_0x35e564[_0x147009[_0x525e2b(0x19f)]]=_0x428a8f;_0x147009[_0x525e2b(0x155)](this[_0x525e2b(0x178)][_0x525e2b(0x17a)],0x0)&&[_0x147009['RTSUR'],_0x147009[_0x525e2b(0x1d8)]][_0x525e2b(0x1a3)](_0x379a65)&&(this[_0x525e2b(0x178)][_0x525e2b(0xf8)](async _0x23c4f7=>{const _0x3839bb=_0x525e2b,_0x41e6ff=_0x147009[_0x3839bb(0x1c0)][_0x3839bb(0x152)]('|');let _0x57fddd=0x0;while(!![]){switch(_0x41e6ff[_0x57fddd++]){case'0':_0x23c4f7[_0x147009[_0x3839bb(0x123)]][_0x147009[_0x3839bb(0x12e)]]=_0x35e564[_0x147009['tFKGr']][_0x147009[_0x3839bb(0x12e)]];continue;case'1':_0x23c4f7[_0x147009[_0x3839bb(0x123)]][_0x147009[_0x3839bb(0xe1)]]=_0x35e564[_0x147009[_0x3839bb(0x19f)]][_0x147009['DcDAF']];continue;case'2':_0x23c4f7[_0x147009['mBwtQ']][_0x147009[_0x3839bb(0x189)]]=_0x35e564[_0x147009[_0x3839bb(0x19f)]][_0x147009[_0x3839bb(0x189)]];continue;case'3':await SessionHandler[_0x3839bb(0x1db)](_0x23c4f7);continue;case'4':_0x23c4f7[_0x147009[_0x3839bb(0x123)]][_0x147009[_0x3839bb(0x1c6)]]=_0x35e564[_0x147009['tFKGr']][_0x147009['NrnLV']];continue;}break;}}),this[_0x525e2b(0x178)]=[]);if(_0x147009[_0x525e2b(0x15b)](this['hook_failure'],_0x32e316[_0x525e2b(0x173)])){this[_0x525e2b(0x178)]['push'](_0x35e564);return;}_0x147009['WVkHa'](this[_0x525e2b(0x145)],_0x147009[_0x525e2b(0xff)])&&_0x35e564[_0x147009['tFKGr']]&&(_0x35e564[_0x147009[_0x525e2b(0x19f)]][_0x147009[_0x525e2b(0xe1)]]=_0x147009[_0x525e2b(0x121)],_0x35e564[_0x147009[_0x525e2b(0x19f)]][_0x147009['FPugU']]=null,_0x35e564[_0x147009['tFKGr']][_0x147009[_0x525e2b(0x189)]]=null);if(_0x379a65['includes'](_0x147009[_0x525e2b(0x13d)])&&_0x35e564[_0x147009['mBwtQ']]){if(this[_0x525e2b(0xe2)])_0x35e564[_0x147009[_0x525e2b(0x123)]][_0x147009['EzaMC']]=this[_0x525e2b(0xe2)];else{this[_0x525e2b(0x1bd)][_0x525e2b(0xdc)](_0x35e564);return;}}_0x147009[_0x525e2b(0x1d6)](setCurrentTestData,FRAMEWORKS[_0x525e2b(0x1dd)],_0x35e564),await SessionHandler[_0x525e2b(0x1db)](_0x35e564);}catch(_0x55ceca){_0x147009[_0x525e2b(0x1ba)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x379a65+_0x525e2b(0x14a)+_0x55ceca);}};[a27_0x1f43b8(0x13e)](_0x12ac0f){const _0x4df8a9=a27_0x1f43b8,_0x9f26a6={};_0x9f26a6[_0x4df8a9(0x108)]=function(_0x32d332,_0x231bc4){return _0x32d332==_0x231bc4;},_0x9f26a6[_0x4df8a9(0x170)]=function(_0x994d79,_0x26205c){return _0x994d79===_0x26205c;},_0x9f26a6[_0x4df8a9(0x132)]=function(_0xdc5e7,_0x290f0e){return _0xdc5e7===_0x290f0e;},_0x9f26a6[_0x4df8a9(0x12d)]=_0x4df8a9(0x1bf),_0x9f26a6[_0x4df8a9(0x1ad)]=_0x4df8a9(0x168);const _0x1124b3=_0x9f26a6,_0x1c22bb=path['sep'];if(_0x1124b3[_0x4df8a9(0x108)](_0x12ac0f,null)||_0x1124b3['NUhIV'](_0x12ac0f,'')||_0x1124b3[_0x4df8a9(0x132)](_0x12ac0f,_0x1c22bb)||_0x1124b3['HtJAk'](_0x12ac0f,path[_0x4df8a9(0x159)](_0x12ac0f)))return null;try{return fs[_0x4df8a9(0x10e)](path['join'](_0x12ac0f,_0x1124b3[_0x4df8a9(0x12d)],_0x1124b3[_0x4df8a9(0x1ad)])),_0x12ac0f;}catch(_0x27299d){const _0x24fc47=path[_0x4df8a9(0x159)](_0x12ac0f);return this['findGitConfig'](_0x24fc47);}}[a27_0x1f43b8(0xe3)]=async _0x41ba0a=>{const _0x52ca95=a27_0x1f43b8,_0x432e61={'SEfqe':'@playwright/test','IVnxE':_0x52ca95(0xd7),'pxHNV':'puppeteer','RNZqb':function(_0x9cd873,_0x549e89){return _0x9cd873||_0x549e89;},'pBSij':function(_0x4a2a8b,_0x25dae9){return _0x4a2a8b(_0x25dae9);},'peHuK':_0x52ca95(0xf3),'YxmyJ':function(_0x2379b2,_0x70a198){return _0x2379b2(_0x70a198);},'ZolXB':function(_0x159604,_0x20c855){return _0x159604(_0x20c855);},'VFzph':function(_0x1c9668,_0x5e66f8){return _0x1c9668&&_0x5e66f8;},'xpruI':function(_0x41cea9,_0x25ffe3){return _0x41cea9(_0x25ffe3);},'gqoku':':jest-','JiAOg':function(_0x549085,_0x7ae4a9){return _0x549085(_0x7ae4a9);},'GdfNA':function(_0x74b63,_0x30033d){return _0x74b63(_0x30033d);},'KXoQl':function(_0x4ff35a,_0x596bae){return _0x4ff35a(_0x596bae);},'hktRO':_0x52ca95(0x136),'ttVhe':function(_0x369d5a,_0x2fad9b){return _0x369d5a(_0x2fad9b);},'opluu':_0x52ca95(0x166),'BLQNt':function(_0x3754d7,_0x1d9de4){return _0x3754d7(_0x1d9de4);},'VmJHa':_0x52ca95(0xf4),'vHGtm':function(_0x2d180d,_0x32e8e4){return _0x2d180d===_0x32e8e4;},'KQoan':_0x52ca95(0x199),'jolxn':_0x52ca95(0xef),'ZccKB':_0x52ca95(0x1ac),'srpGm':function(_0x55eb10,_0x6d613c){return _0x55eb10(_0x6d613c);}};try{const _0x20d233=helper[_0x52ca95(0xe5)](_0x432e61[_0x52ca95(0x1dc)]),_0x40ad2c=!!_0x20d233,_0x41f359=helper[_0x52ca95(0xe5)](_0x432e61[_0x52ca95(0x1be)])||helper['getPackageVersion'](_0x432e61[_0x52ca95(0x107)]),_0x4dae20=!!_0x41f359,_0x472b8a=BrowserstackCLI[_0x52ca95(0x1cb)]()[_0x52ca95(0x1af)]()&&BrowserstackCLI[_0x52ca95(0x1cb)]()[_0x52ca95(0x122)]();if(_0x432e61['RNZqb'](_0x40ad2c,_0x4dae20)&&_0x472b8a){_0x432e61[_0x52ca95(0x129)](debug,_0x432e61[_0x52ca95(0x153)]);let _0x3e58e3=null,_0x5245d7=null;if(global['__workerDetails']&&global['__workerDetails'][_0x52ca95(0x195)]){const _0x1d23a8=global['__workerDetails'][_0x52ca95(0x195)];_0x5245d7=_0x1d23a8[_0x52ca95(0x1c5)],_0x3e58e3=_0x1d23a8[_0x52ca95(0x181)],_0x432e61[_0x52ca95(0x103)](debug,_0x52ca95(0x1d5)+_0x5245d7+_0x52ca95(0x146)+_0x3e58e3);}!_0x3e58e3&&(_0x3e58e3=global[_0x52ca95(0x11a)],_0x432e61[_0x52ca95(0x1e4)](debug,'[obsReporter]\x20appendTestItemLog:\x20Using\x20testIdentifier\x20from\x20global.__jestCurrentTestIdentifier:\x20'+_0x3e58e3));if(_0x432e61['VFzph'](!_0x5245d7,_0x3e58e3)){const _0x17b23b=BrowserstackCLI[_0x52ca95(0x1cb)]()['getTestFramework']();if(_0x17b23b&&_0x17b23b[_0x52ca95(0x1b4)]){const _0x276c6e=_0x17b23b[_0x52ca95(0x1b4)](_0x3e58e3);_0x276c6e&&_0x276c6e['hookUUID']&&(_0x5245d7=_0x276c6e[_0x52ca95(0x1c5)],_0x432e61[_0x52ca95(0x1cf)](debug,_0x52ca95(0x141)+_0x5245d7+',\x20testIdentifier='+_0x3e58e3));}}if(!_0x3e58e3||!_0x3e58e3[_0x52ca95(0x1a3)](_0x432e61[_0x52ca95(0x1bb)]))_0x432e61[_0x52ca95(0x103)](debug,_0x52ca95(0x119)+_0x3e58e3+',\x20falling\x20back\x20to\x20Jest+Selenium\x20flow');else{_0x5245d7&&(_0x41ba0a[_0x52ca95(0x1e8)]=_0x5245d7,_0x432e61['JiAOg'](debug,_0x52ca95(0xfa)+_0x5245d7+'\x20to\x20log'));_0x41ba0a[_0x52ca95(0x14b)]=_0x3e58e3,_0x432e61[_0x52ca95(0x12c)](debug,_0x52ca95(0x1c2)+_0x3e58e3+_0x52ca95(0x1da));const _0x557421=BrowserstackCLI[_0x52ca95(0x1cb)]()[_0x52ca95(0x1b8)]();if(_0x557421){const _0x4d3b43=_0x432e61['KXoQl'](require,_0x432e61['hktRO']),_0x407987=_0x432e61[_0x52ca95(0x143)](require,_0x432e61[_0x52ca95(0x188)]),_0x399849=_0x432e61['BLQNt'](require,_0x432e61[_0x52ca95(0x104)]),_0x38b802=_0x557421['resolveInstance'](_0x4d3b43[_0x52ca95(0x118)],_0x407987[_0x52ca95(0xfe)]);if(_0x38b802&&_0x432e61['vHGtm'](typeof _0x38b802[_0x52ca95(0x161)],_0x432e61['KQoan'])){const _0xc8eb1f=_0x38b802[_0x52ca95(0x171)]()[_0x52ca95(0x19d)](_0x3e58e3)||{},_0x4cc7f2=_0xc8eb1f[_0x399849[_0x52ca95(0x1e1)]]||[],_0x3b0d22=[..._0x4cc7f2,_0x41ba0a],_0x553c01={[_0x399849[_0x52ca95(0x1e1)]]:_0x3b0d22},_0x1057b1={};_0x1057b1[_0x3e58e3]=_0x553c01,_0x38b802[_0x52ca95(0x161)](_0x1057b1),_0x432e61['GdfNA'](debug,_0x52ca95(0xda)+_0x3e58e3+_0x52ca95(0xf1)+(_0x41ba0a[_0x52ca95(0x15d)]||_0x432e61['jolxn'])+_0x52ca95(0x116)+_0x3b0d22[_0x52ca95(0x17a)]);return;}_0x432e61['ttVhe'](debug,_0x52ca95(0x135)+_0x3e58e3+_0x52ca95(0x186));}}}}catch(_0x484f64){_0x432e61[_0x52ca95(0x1cf)](debug,_0x52ca95(0x180)+_0x484f64+_0x52ca95(0x186));}const _0x367481=TestDetails['getTestUUID'](process[_0x52ca95(0x110)]+_0x52ca95(0x1b9)),_0x3b9093=TestDetails[_0x52ca95(0x185)](process[_0x52ca95(0x110)]+':testAnalyticsId');try{(_0x367481||this[_0x52ca95(0x14e)]&&!this['current_hook'][_0x52ca95(0x1d9)])&&(_0x41ba0a['hook_run_uuid']=_0x367481);!_0x41ba0a[_0x52ca95(0x1e8)]&&_0x3b9093&&(_0x41ba0a[_0x52ca95(0x1b7)]=_0x3b9093);if(_0x41ba0a[_0x52ca95(0x1e8)]||_0x41ba0a[_0x52ca95(0x1b7)]){const _0x521195={};_0x521195['event_type']=_0x432e61[_0x52ca95(0x18d)],_0x521195[_0x52ca95(0xe9)]=[_0x41ba0a],await SessionHandler[_0x52ca95(0x1db)](_0x521195);}}catch(_0x4aa7b0){_0x432e61[_0x52ca95(0x1a5)](debug,_0x52ca95(0x1d0)+constants[_0x52ca95(0x105)]+_0x52ca95(0x14a)+_0x4aa7b0);}};[a27_0x1f43b8(0x126)]=async _0x11c5a6=>{const _0x1baa58=a27_0x1f43b8,_0x1ad9c0={'gldIX':_0x1baa58(0x1ae),'LoAbI':_0x1baa58(0x11b),'GUSZO':function(_0x113d76,_0x5eb02a){return _0x113d76>_0x5eb02a;},'riXGf':'hook_run','GxNDK':function(_0x9635ae,_0x56c436,_0x3cff9c){return _0x9635ae(_0x56c436,_0x3cff9c);},'uUveg':function(_0x4a6952,_0x11085c){return _0x4a6952(_0x11085c);},'mmfmU':function(_0xeab486,_0x1fc000){return _0xeab486(_0x1fc000);}};try{const _0x49a496=_0x11c5a6&&_0x11c5a6[_0x1ad9c0['gldIX']];_0x49a496&&(this[_0x1baa58(0xe2)]=_0x49a496);const _0x4e0924={'uuid':_0x11c5a6[_0x1baa58(0x1c9)]||TestDetails[_0x1baa58(0x185)](process[_0x1baa58(0x110)]+_0x1baa58(0x15a)),'integrations':_0x49a496},_0x4e1d43={};_0x4e1d43[_0x1baa58(0x1a7)]=_0x1ad9c0[_0x1baa58(0x154)],_0x4e1d43[_0x1baa58(0x163)]=_0x4e0924,await SessionHandler[_0x1baa58(0x1db)](_0x4e1d43);if(_0x49a496&&_0x1ad9c0[_0x1baa58(0xf6)](this[_0x1baa58(0x1bd)]['length'],0x0)){const _0x16d70c=this[_0x1baa58(0x1bd)][_0x1baa58(0xf7)](0x0,this[_0x1baa58(0x1bd)][_0x1baa58(0x17a)]);for(const _0x76fb4d of _0x16d70c){try{const _0xc1dcbc=_0x76fb4d&&_0x76fb4d[_0x1ad9c0[_0x1baa58(0x1d7)]]?{..._0x76fb4d,'hook_run':{..._0x76fb4d[_0x1ad9c0[_0x1baa58(0x1d7)]],'integrations':_0x49a496}}:_0x76fb4d;_0x1ad9c0[_0x1baa58(0x1a9)](setCurrentTestData,FRAMEWORKS[_0x1baa58(0x1dd)],_0xc1dcbc),await SessionHandler['uploadEventData'](_0xc1dcbc);}catch(_0x4a1fb0){_0x1ad9c0['uUveg'](debug,'Failed\x20to\x20flush\x20pending\x20hook\x20upload:\x20'+_0x4a1fb0);}}}}catch(_0xe33599){_0x1ad9c0[_0x1baa58(0x1e3)](debug,_0x1baa58(0x127)+constants[_0x1baa58(0x105)]+'\x20with\x20error\x20:\x20'+_0xe33599);}};async[a27_0x1f43b8(0x17e)](){const _0x110f8a=a27_0x1f43b8,_0x22355d={'zjzEq':function(_0x5e005b){return _0x5e005b();}};if(this[_0x110f8a(0x190)])return this['_gitConfigPath'];const _0x1b1668=await _0x22355d[_0x110f8a(0x17c)](getGitMetaData);_0x1b1668&&(this['_gitConfigPath']=_0x1b1668['root']),this[_0x110f8a(0x190)]=!![];}[a27_0x1f43b8(0x1b1)](_0x371514){const _0x2bf336=a27_0x1f43b8,_0x6dbb10={};_0x6dbb10[_0x2bf336(0x192)]=_0x2bf336(0x150),_0x6dbb10[_0x2bf336(0x14c)]='pending',_0x6dbb10[_0x2bf336(0xd8)]=_0x2bf336(0x115);const _0x82125e=_0x6dbb10,_0x47d91f={};return _0x47d91f[STATE_PASSED]=_0x82125e[_0x2bf336(0x192)],_0x47d91f[STATE_PENDING]=_0x82125e[_0x2bf336(0x14c)],_0x47d91f[STATE_FAILED]=_0x82125e['oWmqx'],_0x47d91f[_0x371514];}[a27_0x1f43b8(0xf2)](_0x87d957){const _0x3696a5=a27_0x1f43b8,_0x21d4d6={};_0x21d4d6[_0x3696a5(0x182)]=function(_0x4f7e71,_0x4eac61){return _0x4f7e71!==_0x4eac61;},_0x21d4d6['eyxnN']=function(_0x5d1da4,_0x4bcd60){return _0x5d1da4!==_0x4bcd60;},_0x21d4d6[_0x3696a5(0x1a1)]=_0x3696a5(0x14d);const _0x5dbb7d=_0x21d4d6,_0x14b1ef=[];if(_0x87d957&&_0x87d957['parent']){let _0x40f95d=_0x87d957['parent'];while(_0x40f95d&&_0x5dbb7d[_0x3696a5(0x182)](_0x40f95d['name'],'')&&_0x5dbb7d[_0x3696a5(0x140)](_0x40f95d[_0x3696a5(0xdf)],_0x5dbb7d[_0x3696a5(0x1a1)])){_0x14b1ef[_0x3696a5(0xdc)](_0x40f95d[_0x3696a5(0xdf)]),_0x40f95d=_0x40f95d['parent'];}}return _0x14b1ef[_0x3696a5(0x174)](),_0x14b1ef;}['getRootParentFile']=_0x1fca8e=>{const _0xdc6fad=a27_0x1f43b8,_0x194af8={'SvrXV':function(_0x147093,_0x4cb24f){return _0x147093(_0x4cb24f);}};if(_0x1fca8e[_0xdc6fad(0x1d2)])return _0x1fca8e[_0xdc6fad(0x1d2)];if(_0x1fca8e[_0xdc6fad(0xfd)]){const _0x597b09=stackTrace[_0xdc6fad(0x134)]['call'](stackTrace,_0x1fca8e[_0xdc6fad(0xfd)]),_0x3cb0a1=_0x194af8[_0xdc6fad(0x1d1)](pickUserFrameFile,_0x597b09);if(_0x3cb0a1)return _0x3cb0a1;_0x194af8['SvrXV'](debug,_0xdc6fad(0x1bc)+_0x597b09[_0xdc6fad(0x17a)]+')');}return null;};['mapTestHooks']=_0x337fa3=>{const _0x2c8f30=a27_0x1f43b8;if(!_0x337fa3||!_0x337fa3[_0x2c8f30(0x106)])return;_0x337fa3[_0x2c8f30(0x106)]['hooks'][_0x2c8f30(0xf8)](_0x4c7487=>{const _0x5e8c60=_0x2c8f30;!_0x4c7487[_0x5e8c60(0x169)]&&(_0x4c7487[_0x5e8c60(0x169)]=TestDetails['setTestUUID'](process[_0x5e8c60(0x110)]+_0x5e8c60(0x1b9)));}),this[_0x2c8f30(0x128)](_0x337fa3[_0x2c8f30(0x106)]);};[a27_0x1f43b8(0x18c)]=_0x6432bf=>{const _0x271fe9=a27_0x1f43b8,_0x586bb6={};_0x586bb6[_0x271fe9(0x117)]='beforeEach',_0x586bb6[_0x271fe9(0x18f)]=_0x271fe9(0xeb);const _0x37d433=_0x586bb6;if(!_0x6432bf||!_0x6432bf[_0x271fe9(0x106)])return;_0x6432bf[_0x271fe9(0x106)][_0x271fe9(0x14f)][_0x271fe9(0xf8)](_0x38b465=>{const _0x3868f0=_0x271fe9;[_0x37d433[_0x3868f0(0x117)],_0x37d433[_0x3868f0(0x18f)]][_0x3868f0(0x1a3)](_0x38b465[_0x3868f0(0x173)])&&_0x38b465[_0x3868f0(0x169)]&&(_0x38b465['hookAnalyticsId']=null);}),this[_0x271fe9(0x128)](_0x6432bf[_0x271fe9(0x106)]);};[a27_0x1f43b8(0x165)](_0x97eacf){const _0x2a3ddd=a27_0x1f43b8,_0x7a67ab={'yBRUS':_0x2a3ddd(0x1b0),'MGcqb':function(_0x2f1b9c,_0x9bd558){return _0x2f1b9c(_0x9bd558);},'pBJDl':function(_0x2660b2,_0x544653){return _0x2660b2+_0x544653;},'ygBQy':'Exception\x20in\x20getting\x20file\x20for\x20hook\x20'};try{const _0x90cdb6=this[_0x2a3ddd(0xde)](_0x97eacf);if(!_0x90cdb6||_0x90cdb6[_0x2a3ddd(0x1a3)](_0x7a67ab[_0x2a3ddd(0x1a2)]))return!![];return![];}catch(_0x2af11f){_0x7a67ab[_0x2a3ddd(0x1b5)](debug,_0x7a67ab['pBJDl'](_0x7a67ab[_0x2a3ddd(0x1b2)],_0x2af11f));}return![];}['getHooksForTest']=_0x2a9795=>{const _0x3210b0=a27_0x1f43b8,_0x5f26e3={'DpEqw':function(_0x3a81cf,_0x257fc7){return _0x3a81cf(_0x257fc7);}};if(!_0x2a9795||!_0x2a9795[_0x3210b0(0x106)])return[];const _0x122539=[];return _0x2a9795[_0x3210b0(0x106)][_0x3210b0(0x14f)][_0x3210b0(0xf8)](_0x3b1867=>{const _0x23a112=_0x3210b0;_0x3b1867['hookAnalyticsId']&&!_0x5f26e3['DpEqw'](isInternalHook,_0x3b1867['fn'])&&!this[_0x23a112(0x165)](_0x3b1867)&&_0x122539['push'](_0x3b1867[_0x23a112(0x169)]);}),[..._0x122539,...this[_0x3210b0(0x12b)](_0x2a9795[_0x3210b0(0x106)])];};},[a27_0x1f43b8(0xdb),a27_0x1f43b8(0xe8),'testStarted',a27_0x1f43b8(0x17f),a27_0x1f43b8(0x142),'findGitConfig',a27_0x1f43b8(0xe3),'appendTestPlatform',a27_0x1f43b8(0x1b1),a27_0x1f43b8(0xf2),a27_0x1f43b8(0xde),a27_0x1f43b8(0x128),a27_0x1f43b8(0x18c),a27_0x1f43b8(0x12b),a27_0x1f43b8(0x17e)],a27_0x1f43b8(0xd9));
|
|
1
|
+
const a27_0x5e35fe=a27_0x4e79;(function(_0x91d2e8,_0x5c053a){const _0x416188=a27_0x4e79,_0x202d3f=_0x91d2e8();while(!![]){try{const _0x4af1a7=parseInt(_0x416188(0x142))/0x1*(parseInt(_0x416188(0x104))/0x2)+-parseInt(_0x416188(0x119))/0x3+parseInt(_0x416188(0x1b2))/0x4*(parseInt(_0x416188(0xf3))/0x5)+-parseInt(_0x416188(0x1d8))/0x6*(-parseInt(_0x416188(0x146))/0x7)+parseInt(_0x416188(0xd6))/0x8*(-parseInt(_0x416188(0x13f))/0x9)+parseInt(_0x416188(0x197))/0xa*(-parseInt(_0x416188(0x114))/0xb)+parseInt(_0x416188(0x11d))/0xc;if(_0x4af1a7===_0x5c053a)break;else _0x202d3f['push'](_0x202d3f['shift']());}catch(_0x344e32){_0x202d3f['push'](_0x202d3f['shift']());}}}(a27_0x304c,0x1ccbc));const {isTestObservabilitySession,PathHelper,debug,failureData,getFailureType,isInternalHook}=require(a27_0x5e35fe(0x186)),SessionHandler=require(a27_0x5e35fe(0x13a)),{v4:uuidv4}=require(a27_0x5e35fe(0xeb)),{name,version}=require(a27_0x5e35fe(0x150)),stackTrace=require(a27_0x5e35fe(0x18d)),{pickUserFrameFile}=require(a27_0x5e35fe(0x103)),path=require('path'),fs=require('fs'),TestDetails=require(a27_0x5e35fe(0x15e)),{FRAMEWORKS}=require('../../utils/constants'),{o11yClassErrorHandler}=require(a27_0x5e35fe(0x19c)),{getGitMetaData}=require('../../../helpers/helper'),helper=require(a27_0x5e35fe(0x178)),{appendTesthubParams,setCurrentTestData}=require(a27_0x5e35fe(0x14e)),constants=require(a27_0x5e35fe(0x118)),BrowserstackCLI=require(a27_0x5e35fe(0xdf)),a27_0x7f99b3={};function a27_0x304c(){const _0x498781=['qcaMD','../../v2/state/hookState','../../../helpers/testhub/utils','hookUUID','../../../../package.json','getName','CBTSessionCreated','started_at','getAllData','EuQsO',':testAnalyticsId','hookAnalyticsId','apply','analyticsResult','Failed\x20to\x20flush\x20pending\x20hook\x20upload:\x20','integrations','hook_data','WRAly','./test-details','LogCreated','ObservabilityReporter','BEFORE_ALL','[obsReporter]\x20appendTestItemLog:\x20Invalid\x20or\x20missing\x20testIdentifier\x20format:\x20','hook_type','0|1|2|3|4','LsNLn','beforeAll','SUBuM','sendTestRunEvent','KLRlJ','pmvId','failure_reason','Iqzje','includes','logs','javascript','push','forEach','generic','prefixTestPath','eLlRw','DxEKp','findGitConfig','acvKU','../../../helpers/helper','js-','rDNPp','hook_run_uuid','vwcao','toString','puppeteer-core','ARUcl',',\x20logKind=','[obsReporter]\x20appendTestItemLog:\x20Stored\x20log\x20in\x20instance.data[KEY_LOGS]\x20for\x20testIdentifier=','appendTestItemLog','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','errorsDetailed','AFTER_EACH','../../../helpers/test-observability/utils','Exception\x20in\x20getting\x20file\x20for\x20hook\x20','getTestUUID','lCiDV','SJExV','puppeteer','currentHook','stack-trace','LpRLO','gBrwv','hook_failure','[obsReporter]\x20appendTestItemLog:\x20Using\x20testIdentifier\x20from\x20global.__jestCurrentTestIdentifier:\x20','ZsHAT','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','CRPGO','test_identifier','testStarted','10bsuKDF','AFTER_ALL','testObservability',',\x20testIdentifier=','hoyMf','../../../helpers/test-observability/error-handler','iCeBr','match','POST','appendTestPlatform','split','ZLHkf','jest-circus','hooks','HookRunFinished','bind','cYOZe','hbPjo','STATE_FAILED','RTWEi','_pendingHookUploads','asyncError','testAnalyticsId','STATE_PENDING','_gitConfigPath','MTtst','../../v2/framework/constants/testFrameworkConstants','4uEGUuD','ddnaY','[obsReporter]\x20appendTestItemLog:\x20Found\x20active\x20hook\x20-\x20hookUUID=','HMuPD','ZsNQb','EbRow','expanded','afterAll','vOhlD','LySSo','call','exports','@playwright/test','\x22\x20hook\x20for\x20\x22','CaFRG','SPAGt','failed','FdVBf','Fssiw','bRjsY','File\x20path\x20could\x20not\x20be\x20found','function','JUwhR','.git','jcoQn','HookRun','__jestCurrentTestIdentifier','test_run','dirname','_paths','toISOString','test',',\x20falling\x20back\x20to\x20Jest+Selenium\x20flow','../../v2/state/testFrameworkState','removeAllListeners','XMrCp','pid','[obsReporter]\x20appendTestItemLog:\x20Attached\x20hook_run_uuid=','180420jBfVCN','_currentRetry','KKKin','TEST_REPORTING_ANALYTICS','OrBbU','name','dmqYy','isJestInternalHook','__workerDetails',':hookAnalyticsId','UcuFZ','passed','80072ONkeHT','DmCyT','PYOGw','opQuO','failure_reason_expanded','ZwXKg','join','_gitConfigured','awmaM','../../v2/browserstackCLI','root','getTestFramework','retryOf','getActiveHook','aLEDn','location_prefix','TestRunStarted','[obsReporter]\x20appendTestItemLog:\x20Attached\x20test_identifier=','file','getInstance','configureGit','uuid','[obsReporter]\x20appendTestItemLog:\x20Found\x20active\x20hook\x20from\x20JestTestFramework\x20-\x20hookUUID=','uUTri','result','AcaaY','get','pFMMc','4|3|1|5|8|7|2|6|0','488065eQCkcI','czfiK','getHooksForTest','JEST','parent','EBnhM','JMuMD','jcOAr','registerListeners','addMultipleEntries','OwAcr','[obsReporter]\x20appendTestItemLog:\x20Jest+Playwright/Puppeteer\x20CLI\x20flow\x20detected,\x20using\x20in-memory\x20storage','WXmim','TestRunSkipped','relative','parse','../../../helpers/stackFrameUtils','22090OrAbkP','length','test_run_uuid','zUWtp',':jest-','current_test','JkmRD','_cachedIntegrations','getRootParentFile','testIdentifier','_testResults','VGoUi','[obsReporter]\x20appendTestItemLog:\x20Instance\x20not\x20available\x20or\x20addMultipleEntries\x20not\x20available\x20for\x20testIdentifier=','plBxk','finished_at','[obsReporter]\x20appendTestItemLog:\x20Error\x20in\x20Jest+Playwright\x20flow\x20detection:\x20','909689mAUsgJ','cCAcc','TestRunFinished','BEFORE_EACH','../../utils/constants','81537IQrtoh','sep','ZPsWd','jlKeU','31656NEKiOh','pbKvj','event_type','bs:addPlatformDetails:','markedStatus','KqJnU','mapTestHooks','ZuQqC','cwd','afterEach','hook_run','getHierarchy','resetTestHooks','duration','getTestEnv','_testEnv','type','KEY_LOGS','ixzYl','util','ROOT_DESCRIBE_BLOCK','daCfE','aHAVG','aoPdj','state','uploadEventData','kcKXb','getPackageVersion','yjIeq','../../../helpers/test-observability/sessionHandler','JtPUw','failure_type','Kceze','hNYof','90zytCKh','getTime','isCliEnabled','7jHnQrx','setTestUUID','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','35aRiTXZ','ylqpN','\x20with\x20error\x20:\x20','TEST','EhqVm','beforeEach'];a27_0x304c=function(){return _0x498781;};return a27_0x304c();}function a27_0x4e79(_0x4ccbf5,_0x2eb455){const _0x304ca4=a27_0x304c();return a27_0x4e79=function(_0x4e7905,_0xfa1569){_0x4e7905=_0x4e7905-0xd2;let _0x1f6d6f=_0x304ca4[_0x4e7905];return _0x1f6d6f;},a27_0x4e79(_0x4ccbf5,_0x2eb455);}a27_0x7f99b3['STATE_PASSED']=a27_0x5e35fe(0xd5),a27_0x7f99b3[a27_0x5e35fe(0x1a9)]=a27_0x5e35fe(0x1c2),a27_0x7f99b3[a27_0x5e35fe(0x1ae)]='pending';const {STATE_PASSED,STATE_PENDING,STATE_FAILED}=a27_0x7f99b3,a27_0xf46a62={};a27_0xf46a62[a27_0x5e35fe(0x166)]=a27_0x5e35fe(0x161),a27_0xf46a62[a27_0x5e35fe(0x1b9)]=a27_0x5e35fe(0x198),a27_0xf46a62[a27_0x5e35fe(0x14b)]=a27_0x5e35fe(0x117),a27_0xf46a62[a27_0x5e35fe(0x126)]=a27_0x5e35fe(0x185);const HOOK_TYPES_MAP=a27_0xf46a62;module[a27_0x5e35fe(0x1bd)]=o11yClassErrorHandler(class ObservabilityReporter{constructor(){const _0x2f0e84=a27_0x5e35fe,_0x3a2add={'AvcUN':_0x2f0e84(0xf2),'vEIEO':function(_0x14e204){return _0x14e204();}},_0xed297c=_0x3a2add['AvcUN'][_0x2f0e84(0x1a1)]('|');let _0x28939d=0x0;while(!![]){switch(_0xed297c[_0x28939d++]){case'0':this[_0x2f0e84(0x1ab)]=[];continue;case'1':this[_0x2f0e84(0x12c)]=this[_0x2f0e84(0x12b)]();continue;case'2':this['_gitConfigPath']=null;continue;case'3':this[_0x2f0e84(0x10e)]=[];continue;case'4':this[_0x2f0e84(0x199)]=_0x3a2add['vEIEO'](isTestObservabilitySession);continue;case'5':this[_0x2f0e84(0x1cf)]=new PathHelper({'cwd':process[_0x2f0e84(0x125)]()},this[_0x2f0e84(0x12c)][_0x2f0e84(0xe5)]);continue;case'6':this[_0x2f0e84(0x10b)]=null;continue;case'7':this[_0x2f0e84(0xdd)]=![];continue;case'8':this['hook_data']=[];continue;}break;}}['getTestEnv']=()=>{const _0x150681=a27_0x5e35fe,_0x410e8d={'ZsHAT':_0x150681(0x172),'EuQsO':function(_0x428cb2){return _0x428cb2();}};return{'ci':_0x410e8d[_0x150681(0x192)],'key':_0x410e8d[_0x150681(0x155)](uuidv4),'version':version,'collector':_0x150681(0x179)+name};};[a27_0x5e35fe(0xfb)](){const _0xcf55f6=a27_0x5e35fe;process[_0xcf55f6(0x1d4)]('bs:addLog:'+process[_0xcf55f6(0x1d6)]),process['on']('bs:addLog:'+process[_0xcf55f6(0x1d6)],this['appendTestItemLog'][_0xcf55f6(0x1a6)](this)),process[_0xcf55f6(0x1d4)](_0xcf55f6(0x120)+process[_0xcf55f6(0x1d6)]),process['on']('bs:addPlatformDetails:'+process['pid'],this[_0xcf55f6(0x1a0)][_0xcf55f6(0x1a6)](this));}[a27_0x5e35fe(0x196)]=async _0x59b6b7=>{const _0x1f50c5=a27_0x5e35fe,_0x4febe2={'bRjsY':function(_0x34a076,_0x2e261f){return _0x34a076>_0x2e261f;},'muucx':function(_0x13eddc,_0x42374f){return _0x13eddc===_0x42374f;},'qcaMD':_0x1f50c5(0xe6),'XMrCp':function(_0x3b6c0b,_0x1ede12){return _0x3b6c0b(_0x1ede12);}};try{const _0x45a7fe=this['current_test'];this[_0x1f50c5(0x109)]=_0x59b6b7,_0x59b6b7[_0x1f50c5(0xe2)]=null,_0x59b6b7['testAnalyticsId']=TestDetails[_0x1f50c5(0x143)](process[_0x1f50c5(0x1d6)]+_0x1f50c5(0x156)),_0x59b6b7[_0x1f50c5(0x153)]=new Date()[_0x1f50c5(0x1d0)](),_0x4febe2[_0x1f50c5(0x1c5)](_0x59b6b7[_0x1f50c5(0x1d9)],0x0)&&_0x45a7fe&&_0x4febe2['muucx'](_0x45a7fe['title'],_0x59b6b7['title'])?(_0x59b6b7[_0x1f50c5(0xe2)]=_0x45a7fe[_0x1f50c5(0x1ad)],await this[_0x1f50c5(0x168)](_0x59b6b7,undefined,![],_0x4febe2['qcaMD']),_0x45a7fe[_0x1f50c5(0x135)]=STATE_FAILED,await this['sendTestRunEvent'](_0x45a7fe,undefined,!![])):await this[_0x1f50c5(0x168)](_0x59b6b7,undefined,![],_0x4febe2[_0x1f50c5(0x14c)]);}catch(_0x236dec){_0x4febe2[_0x1f50c5(0x1d5)](debug,_0x1f50c5(0x183)+_0x236dec);}};[a27_0x5e35fe(0x151)](_0x10ceb7){const _0x213f98=a27_0x5e35fe,_0x27cd78={};_0x27cd78[_0x213f98(0x1ba)]=function(_0x303b40,_0x9ac61c){return _0x303b40!==_0x9ac61c;},_0x27cd78[_0x213f98(0xf9)]=_0x213f98(0x1d1);const _0x5ddb9d=_0x27cd78;if(_0x5ddb9d[_0x213f98(0x1ba)](_0x10ceb7['type'],_0x5ddb9d[_0x213f98(0xf9)]))return'\x22'+_0x10ceb7[_0x213f98(0x12d)]+_0x213f98(0x1bf)+(_0x10ceb7['parent']&&_0x10ceb7[_0x213f98(0xf7)][_0x213f98(0x1dd)])+'\x22';return _0x10ceb7[_0x213f98(0x1dd)];}[a27_0x5e35fe(0x168)]=async(_0x1a7705,_0x4a0b4b=undefined,_0x2e30a5=![],_0x2fa268=a27_0x5e35fe(0x116))=>{const _0x432b02=a27_0x5e35fe,_0x1356ed={'jlKeU':_0x432b02(0x164),'JtPUw':_0x432b02(0x127),'ixzYl':'failure','MTtst':_0x432b02(0x1cd),'hlgze':_0x432b02(0x13c),'ARUcl':_0x432b02(0xee),'opQuO':_0x432b02(0x16b),'uUTri':function(_0x18b536,_0xb3edd){return _0x18b536(_0xb3edd);},'OcpAs':_0x432b02(0x1a3),'LpRLO':function(_0x3482d9,_0x34b66c){return _0x3482d9(_0x34b66c);},'plBxk':_0x432b02(0x130),'pFMMc':function(_0x2cdcb2,_0x302945){return _0x2cdcb2!==_0x302945;},'EbRow':_0x432b02(0x1d1),'VGoUi':'err','WXmim':function(_0x4d4ba5,_0x3904a6){return _0x4d4ba5!==_0x3904a6;},'SJExV':_0x432b02(0x1c6),'RTWEi':_0x432b02(0x16f),'dmqYy':function(_0x2ef9f0,_0x50c1db){return _0x2ef9f0===_0x50c1db;},'EBnhM':_0x432b02(0x100),'OwAcr':'skipped','xkZWs':function(_0x49e110,_0x43a869){return _0x49e110>_0x43a869;},'aHAVG':_0x432b02(0x1c2),'aoPdj':_0x432b02(0xd5),'DxEKp':function(_0x575388,_0x47db61){return _0x575388-_0x47db61;},'jcOAr':function(_0x33b412,_0x4fd143){return _0x33b412(_0x4fd143);},'iCeBr':function(_0x1a11d0,_0x22a897,_0x412870,_0x3edd6c,_0x4af297){return _0x1a11d0(_0x22a897,_0x412870,_0x3edd6c,_0x4af297);},'zUWtp':function(_0x34e0f8,_0xa97289){return _0x34e0f8===_0xa97289;},'ZuQqC':_0x432b02(0x153),'kvVQU':_0x432b02(0x112),'tvVzc':_0x432b02(0x1a5),'DmCyT':function(_0x47ad2d,_0x58c7cc){return _0x47ad2d!==_0x58c7cc;},'ddnaY':'failure_backtrace','FulYp':'backtrace','KKKin':_0x432b02(0xda),'hbPjo':_0x432b02(0x1b8),'ZPsWd':_0x432b02(0x116),'poHaY':function(_0x466086,_0x6414a8){return _0x466086===_0x6414a8;},'vwcao':_0x432b02(0x163),'LsNLn':function(_0x21dca3,_0x305bb8){return _0x21dca3>_0x305bb8;},'yjIeq':function(_0x261fbe,_0xefb72e){return _0x261fbe===_0xefb72e;},'Fssiw':'beforeAll','DMZQn':_0x432b02(0x1cb),'gBrwv':_0x432b02(0x15b),'HMuPD':function(_0x2673e5,_0xabba44,_0x11e06c){return _0x2673e5(_0xabba44,_0x11e06c);},'ZLHkf':function(_0x3582ee,_0xaccf3c){return _0x3582ee(_0xaccf3c);}};try{if(_0x1a7705['fn']&&_0x1a7705['fn'][_0x432b02(0x17d)]()[_0x432b02(0x19e)](/browserstack internal helper hook/))return;await this['configureGit']();let _0x397244;try{_0x397244=this['getRootParentFile'](_0x1a7705);}catch(_0x6684e1){_0x1356ed[_0x432b02(0xed)](debug,'failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x6684e1),_0x397244=null;}if(_0x397244[_0x432b02(0x16d)](_0x1356ed['OcpAs']))return;const _0x500775=_0x1356ed[_0x432b02(0x18e)](require,_0x1356ed[_0x432b02(0x111)]);let _0x118a71=[];if(_0x1356ed[_0x432b02(0xf1)](_0x1a7705['errorsDetailed'],undefined))_0x118a71=[_0x1a7705['errorsDetailed'],_0x1356ed[_0x432b02(0x1b7)]];else _0x1356ed[_0x432b02(0xf1)](_0x4a0b4b,undefined)?_0x118a71=[_0x4a0b4b,_0x1356ed[_0x432b02(0x10f)]]:_0x118a71=[];const _0x261843=_0x1356ed[_0x432b02(0xff)](_0x1a7705[_0x432b02(0x184)],undefined)?_0x500775['inspect'](_0x1a7705[_0x432b02(0x184)][0x0]):_0x1356ed[_0x432b02(0xf1)](_0x4a0b4b,undefined)?_0x4a0b4b[_0x432b02(0x17d)]():undefined,_0x55d272=_0x397244?this['_paths'][_0x432b02(0x173)](this[_0x432b02(0x10c)](_0x1a7705)):_0x1356ed[_0x432b02(0x18a)],_0x4f1f3a={'framework':FRAMEWORKS[_0x432b02(0xf6)],'uuid':_0x1a7705[_0x432b02(0x1ad)]||_0x1a7705[_0x432b02(0x157)],'name':this[_0x432b02(0x151)](_0x1a7705),'body':{'lang':_0x1356ed[_0x432b02(0x1aa)],'code':_0x1a7705['fn'][_0x432b02(0x17d)]()},'scopes':this[_0x432b02(0x128)](_0x1a7705),'file_name':_0x55d272,'vc_filepath':this[_0x432b02(0x1af)]&&_0x397244?path[_0x432b02(0x101)](this['_gitConfigPath'],_0x397244):null,'location':_0x55d272,'result':_0x1356ed[_0x432b02(0x1de)](_0x2fa268,_0x1356ed[_0x432b02(0xf8)])?_0x1356ed[_0x432b02(0xfd)]:this[_0x432b02(0x159)](_0x1a7705[_0x432b02(0x184)]&&_0x1356ed['xkZWs'](_0x1a7705[_0x432b02(0x184)][_0x432b02(0x105)],0x0)?_0x1356ed['aHAVG']:_0x1356ed[_0x432b02(0x134)]),'failure_reason':_0x261843,'duration_in_ms':_0x1a7705[_0x432b02(0x12a)]||(_0x2fa268['match'](/Finished/)||_0x2fa268[_0x432b02(0x19e)](/Skipped/)?_0x1356ed[_0x432b02(0x175)](Date['now'](),new Date(_0x1a7705['started_at'])[_0x432b02(0x140)]()):null),'started_at':_0x1a7705[_0x432b02(0x153)],'finished_at':_0x2fa268[_0x432b02(0x19e)](/Finished/)||_0x2fa268[_0x432b02(0x19e)](/Skipped/)?new Date()['toISOString']():null,'failure':failureData[_0x432b02(0x158)](null,_0x118a71),'failure_type':!_0x261843?null:_0x1356ed[_0x432b02(0xfa)](getFailureType,_0x261843),'retry_of':_0x1a7705[_0x432b02(0xe2)]};_0x1356ed[_0x432b02(0x19d)](appendTesthubParams,_0x4f1f3a,_0x2fa268,_0x1a7705,FRAMEWORKS[_0x432b02(0xf6)]);_0x1356ed[_0x432b02(0x107)](_0x2fa268,_0x1356ed[_0x432b02(0xf8)])&&!_0x4f1f3a[_0x1356ed[_0x432b02(0x124)]]&&(_0x4f1f3a[_0x1356ed[_0x432b02(0x124)]]=_0x4f1f3a[_0x1356ed['kvVQU']]);if(_0x2fa268[_0x432b02(0x19e)](/HookRun/))[_0x4f1f3a[_0x432b02(0x163)],_0x4f1f3a[_0x432b02(0x1dd)]]=[_0x1a7705['type'],this[_0x432b02(0x151)](_0x1a7705)],_0x1356ed[_0x432b02(0x1de)](_0x2fa268,_0x1356ed['tvVzc'])&&(_0x1356ed[_0x432b02(0xd7)](_0x4f1f3a[_0x432b02(0xee)],_0x1356ed[_0x432b02(0x133)])&&(_0x4f1f3a[_0x432b02(0xee)]=_0x1356ed[_0x432b02(0x134)]));else _0x2fa268[_0x432b02(0x19e)](/TestRun/)&&this['mapTestHooks'](_0x1a7705);const _0x577033=_0x4f1f3a[_0x1356ed[_0x432b02(0x12f)]][0x0];_0x577033&&(_0x4f1f3a[_0x1356ed[_0x432b02(0x1b3)]]=_0x577033[_0x1356ed['FulYp']],_0x4f1f3a[_0x1356ed[_0x432b02(0x1da)]]=_0x577033[_0x1356ed[_0x432b02(0x1a8)]]);[_0x1356ed[_0x432b02(0x11b)],_0x1356ed['EBnhM']][_0x432b02(0x16d)](_0x2fa268)&&(this[_0x432b02(0x10e)]['push'](_0x4f1f3a),_0x4f1f3a[_0x432b02(0x1a4)]=this[_0x432b02(0xf5)](_0x1a7705),this['resetTestHooks'](_0x1a7705));const _0x5d1c68={'event_type':_0x1356ed['poHaY'](_0x2fa268,_0x1356ed[_0x432b02(0xf8)])?_0x1356ed[_0x432b02(0x11b)]:_0x2fa268};_0x2fa268[_0x432b02(0x19e)](/HookRun/)?(_0x4f1f3a[_0x1356ed[_0x432b02(0x17c)]]=HOOK_TYPES_MAP[_0x4f1f3a[_0x1356ed[_0x432b02(0x17c)]]],_0x5d1c68[_0x1356ed['JtPUw']]=_0x4f1f3a):_0x5d1c68[_0x1356ed[_0x432b02(0x1b0)]]=_0x4f1f3a;_0x1356ed[_0x432b02(0x165)](this[_0x432b02(0x15c)]['length'],0x0)&&[_0x1356ed['ZPsWd'],_0x1356ed['EBnhM']][_0x432b02(0x16d)](_0x2fa268)&&(this[_0x432b02(0x15c)][_0x432b02(0x171)](async _0x5df0ca=>{const _0x30ba58=_0x432b02,_0x1e0f58=_0x1356ed[_0x30ba58(0x11c)]['split']('|');let _0x420bf5=0x0;while(!![]){switch(_0x1e0f58[_0x420bf5++]){case'0':_0x5df0ca[_0x1356ed[_0x30ba58(0x13b)]][_0x1356ed[_0x30ba58(0x12f)]]=_0x5d1c68[_0x1356ed['MTtst']][_0x1356ed['ixzYl']];continue;case'1':_0x5df0ca[_0x1356ed[_0x30ba58(0x13b)]][_0x1356ed['hlgze']]=_0x5d1c68[_0x1356ed['MTtst']][_0x1356ed['hlgze']];continue;case'2':_0x5df0ca[_0x1356ed[_0x30ba58(0x13b)]][_0x1356ed[_0x30ba58(0x17f)]]=_0x5d1c68[_0x1356ed['MTtst']][_0x1356ed['ARUcl']];continue;case'3':_0x5df0ca[_0x1356ed[_0x30ba58(0x13b)]][_0x1356ed[_0x30ba58(0xd9)]]=_0x5d1c68[_0x1356ed[_0x30ba58(0x1b0)]][_0x1356ed[_0x30ba58(0xd9)]];continue;case'4':await SessionHandler[_0x30ba58(0x136)](_0x5df0ca);continue;}break;}}),this[_0x432b02(0x15c)]=[]);if(_0x1356ed[_0x432b02(0x107)](this['hook_failure'],_0x1a7705['type'])){this[_0x432b02(0x15c)]['push'](_0x5d1c68);return;}_0x1356ed[_0x432b02(0x139)](this[_0x432b02(0x190)],_0x1356ed[_0x432b02(0x1c4)])&&_0x5d1c68[_0x1356ed['MTtst']]&&(_0x5d1c68[_0x1356ed['MTtst']][_0x1356ed['ARUcl']]=_0x1356ed['OwAcr'],_0x5d1c68[_0x1356ed[_0x432b02(0x1b0)]][_0x1356ed[_0x432b02(0x12f)]]=null,_0x5d1c68[_0x1356ed[_0x432b02(0x1b0)]][_0x1356ed['hlgze']]=null);if(_0x2fa268[_0x432b02(0x16d)](_0x1356ed['DMZQn'])&&_0x5d1c68[_0x1356ed[_0x432b02(0x13b)]]){if(this[_0x432b02(0x10b)])_0x5d1c68[_0x1356ed['JtPUw']][_0x1356ed[_0x432b02(0x18f)]]=this[_0x432b02(0x10b)];else{this[_0x432b02(0x1ab)][_0x432b02(0x170)](_0x5d1c68);return;}}_0x1356ed[_0x432b02(0x1b5)](setCurrentTestData,FRAMEWORKS[_0x432b02(0xf6)],_0x5d1c68),await SessionHandler['uploadEventData'](_0x5d1c68);}catch(_0x325c81){_0x1356ed[_0x432b02(0x1a2)](debug,_0x432b02(0x145)+_0x2fa268+_0x432b02(0x148)+_0x325c81);}};[a27_0x5e35fe(0x176)](_0x1cac31){const _0x8f9c12=a27_0x5e35fe,_0x16d79e={};_0x16d79e[_0x8f9c12(0xdb)]=function(_0x53a5cf,_0x42ec96){return _0x53a5cf==_0x42ec96;},_0x16d79e[_0x8f9c12(0x177)]=function(_0x599cbd,_0xa0e1c4){return _0x599cbd===_0xa0e1c4;},_0x16d79e['hNYof']=function(_0x3e00b5,_0xaee487){return _0x3e00b5===_0xaee487;},_0x16d79e['kcKXb']=_0x8f9c12(0x1c9),_0x16d79e[_0x8f9c12(0x174)]='config';const _0x285eca=_0x16d79e,_0x570d14=path[_0x8f9c12(0x11a)];if(_0x285eca[_0x8f9c12(0xdb)](_0x1cac31,null)||_0x285eca[_0x8f9c12(0x177)](_0x1cac31,'')||_0x285eca[_0x8f9c12(0x13e)](_0x1cac31,_0x570d14)||_0x285eca['acvKU'](_0x1cac31,path[_0x8f9c12(0x1ce)](_0x1cac31)))return null;try{return fs['statSync'](path[_0x8f9c12(0xdc)](_0x1cac31,_0x285eca[_0x8f9c12(0x137)],_0x285eca[_0x8f9c12(0x174)])),_0x1cac31;}catch(_0x12c053){const _0x622ac8=path[_0x8f9c12(0x1ce)](_0x1cac31);return this[_0x8f9c12(0x176)](_0x622ac8);}}[a27_0x5e35fe(0x182)]=async _0x3ec61c=>{const _0x2e60da=a27_0x5e35fe,_0x570fcd={'lCiDV':_0x2e60da(0x1be),'EFGKZ':_0x2e60da(0x17e),'AcaaY':_0x2e60da(0x18b),'WRAly':function(_0x1e00f8,_0xf896f1){return _0x1e00f8||_0xf896f1;},'JkmRD':function(_0x228798,_0x25535c){return _0x228798(_0x25535c);},'evElE':_0x2e60da(0xfe),'awtai':function(_0x427116,_0x48e4ff){return _0x427116&&_0x48e4ff;},'awmaM':function(_0x2ed2a3,_0x262662){return _0x2ed2a3(_0x262662);},'czfiK':_0x2e60da(0x108),'PYOGw':function(_0x518a9d,_0x5045c7){return _0x518a9d(_0x5045c7);},'LySSo':function(_0x66f9f8,_0x88c468){return _0x66f9f8(_0x88c468);},'SfKVk':_0x2e60da(0x1d3),'SUBuM':_0x2e60da(0x14d),'PEQah':_0x2e60da(0x1b1),'NhFZs':function(_0x49a8c9,_0x1f2a8f){return _0x49a8c9===_0x1f2a8f;},'JHHjk':_0x2e60da(0x1c7),'Kceze':'unknown','pmvId':function(_0x54c3c6,_0x396a8a){return _0x54c3c6(_0x396a8a);},'ZahXQ':_0x2e60da(0x15f),'cYOZe':function(_0x24c79c,_0x26c247){return _0x24c79c(_0x26c247);}};try{const _0x429d81=helper['getPackageVersion'](_0x570fcd[_0x2e60da(0x189)]),_0x1e58de=!!_0x429d81,_0x18da5e=helper[_0x2e60da(0x138)](_0x570fcd['EFGKZ'])||helper[_0x2e60da(0x138)](_0x570fcd[_0x2e60da(0xef)]),_0x197938=!!_0x18da5e,_0x4c90a4=BrowserstackCLI[_0x2e60da(0xe9)]()[_0x2e60da(0x141)]()&&BrowserstackCLI[_0x2e60da(0xe9)]()['isRunning']();if(_0x570fcd[_0x2e60da(0x15d)](_0x1e58de,_0x197938)&&_0x4c90a4){_0x570fcd[_0x2e60da(0x10a)](debug,_0x570fcd['evElE']);let _0x1e867c=null,_0x3bc571=null;if(global[_0x2e60da(0xd2)]&&global[_0x2e60da(0xd2)][_0x2e60da(0x18c)]){const _0x1b7cab=global[_0x2e60da(0xd2)][_0x2e60da(0x18c)];_0x3bc571=_0x1b7cab[_0x2e60da(0x14f)],_0x1e867c=_0x1b7cab[_0x2e60da(0x10d)],_0x570fcd['JkmRD'](debug,_0x2e60da(0x1b4)+_0x3bc571+_0x2e60da(0x19a)+_0x1e867c);}!_0x1e867c&&(_0x1e867c=global[_0x2e60da(0x1cc)],_0x570fcd[_0x2e60da(0x10a)](debug,_0x2e60da(0x191)+_0x1e867c));if(_0x570fcd['awtai'](!_0x3bc571,_0x1e867c)){const _0x176d70=BrowserstackCLI[_0x2e60da(0xe9)]()[_0x2e60da(0xe1)]();if(_0x176d70&&_0x176d70[_0x2e60da(0xe3)]){const _0x330dd1=_0x176d70['getActiveHook'](_0x1e867c);_0x330dd1&&_0x330dd1[_0x2e60da(0x14f)]&&(_0x3bc571=_0x330dd1[_0x2e60da(0x14f)],_0x570fcd['awmaM'](debug,_0x2e60da(0xec)+_0x3bc571+',\x20testIdentifier='+_0x1e867c));}}if(!_0x1e867c||!_0x1e867c[_0x2e60da(0x16d)](_0x570fcd[_0x2e60da(0xf4)]))_0x570fcd[_0x2e60da(0xd8)](debug,_0x2e60da(0x162)+_0x1e867c+_0x2e60da(0x1d2));else{_0x3bc571&&(_0x3ec61c['hook_run_uuid']=_0x3bc571,_0x570fcd[_0x2e60da(0x1bb)](debug,_0x2e60da(0x1d7)+_0x3bc571+'\x20to\x20log'));_0x3ec61c[_0x2e60da(0x195)]=_0x1e867c,_0x570fcd[_0x2e60da(0xde)](debug,_0x2e60da(0xe7)+_0x1e867c+'\x20to\x20log');const _0x539789=BrowserstackCLI[_0x2e60da(0xe9)]()['getTestFramework']();if(_0x539789){const _0x1feb45=_0x570fcd[_0x2e60da(0xd8)](require,_0x570fcd['SfKVk']),_0x231fb1=_0x570fcd['PYOGw'](require,_0x570fcd[_0x2e60da(0x167)]),_0x22a277=_0x570fcd[_0x2e60da(0x10a)](require,_0x570fcd['PEQah']),_0xe9b663=_0x539789['resolveInstance'](_0x1feb45[_0x2e60da(0x149)],_0x231fb1[_0x2e60da(0x19f)]);if(_0xe9b663&&_0x570fcd['NhFZs'](typeof _0xe9b663[_0x2e60da(0xfc)],_0x570fcd['JHHjk'])){const _0x1287ba=_0xe9b663[_0x2e60da(0x154)]()[_0x2e60da(0xf0)](_0x1e867c)||{},_0x2570fe=_0x1287ba[_0x22a277[_0x2e60da(0x12e)]]||[],_0x5c040c=[..._0x2570fe,_0x3ec61c],_0x2322eb={[_0x22a277[_0x2e60da(0x12e)]]:_0x5c040c},_0x4fd783={};_0x4fd783[_0x1e867c]=_0x2322eb,_0xe9b663[_0x2e60da(0xfc)](_0x4fd783),_0x570fcd[_0x2e60da(0xde)](debug,_0x2e60da(0x181)+_0x1e867c+_0x2e60da(0x180)+(_0x3ec61c['kind']||_0x570fcd[_0x2e60da(0x13d)])+',\x20totalLogs:\x20'+_0x5c040c[_0x2e60da(0x105)]);return;}_0x570fcd[_0x2e60da(0x16a)](debug,_0x2e60da(0x110)+_0x1e867c+_0x2e60da(0x1d2));}}}}catch(_0xa00499){_0x570fcd['pmvId'](debug,_0x2e60da(0x113)+_0xa00499+_0x2e60da(0x1d2));}const _0x4fa211=TestDetails[_0x2e60da(0x188)](process[_0x2e60da(0x1d6)]+':hookAnalyticsId'),_0x56b2cd=TestDetails[_0x2e60da(0x188)](process[_0x2e60da(0x1d6)]+_0x2e60da(0x156));try{(_0x4fa211||this['current_hook']&&!this['current_hook'][_0x2e60da(0x121)])&&(_0x3ec61c[_0x2e60da(0x17b)]=_0x4fa211);!_0x3ec61c['hook_run_uuid']&&_0x56b2cd&&(_0x3ec61c[_0x2e60da(0x106)]=_0x56b2cd);if(_0x3ec61c['hook_run_uuid']||_0x3ec61c[_0x2e60da(0x106)]){const _0x5a4e9f={};_0x5a4e9f[_0x2e60da(0x11f)]=_0x570fcd['ZahXQ'],_0x5a4e9f[_0x2e60da(0x16e)]=[_0x3ec61c],await SessionHandler[_0x2e60da(0x136)](_0x5a4e9f);}}catch(_0x10851d){_0x570fcd[_0x2e60da(0x1a7)](debug,_0x2e60da(0x193)+constants[_0x2e60da(0x1db)]+_0x2e60da(0x148)+_0x10851d);}};[a27_0x5e35fe(0x1a0)]=async _0x2b2974=>{const _0x226c6f=a27_0x5e35fe,_0x4b4623={'FdVBf':'http_response','pbKvj':_0x226c6f(0x152),'KLRlJ':function(_0x14ff26,_0x546bc6){return _0x14ff26>_0x546bc6;},'cCAcc':_0x226c6f(0x127),'sVpxs':function(_0x2bf2c0,_0x10566f,_0x53be98){return _0x2bf2c0(_0x10566f,_0x53be98);},'ylqpN':function(_0xf44b7a,_0xd7bfba){return _0xf44b7a(_0xd7bfba);}};try{const _0x5c2931=_0x2b2974&&_0x2b2974[_0x4b4623[_0x226c6f(0x1c3)]];_0x5c2931&&(this['_cachedIntegrations']=_0x5c2931);const _0x547062={'uuid':_0x2b2974['uuid']||TestDetails['getTestUUID'](process[_0x226c6f(0x1d6)]+':testAnalyticsId'),'integrations':_0x5c2931},_0x54ec0d={};_0x54ec0d[_0x226c6f(0x11f)]=_0x4b4623[_0x226c6f(0x11e)],_0x54ec0d[_0x226c6f(0x1cd)]=_0x547062,await SessionHandler[_0x226c6f(0x136)](_0x54ec0d);if(_0x5c2931&&_0x4b4623[_0x226c6f(0x169)](this[_0x226c6f(0x1ab)][_0x226c6f(0x105)],0x0)){const _0x5cb8f0=this['_pendingHookUploads']['splice'](0x0,this[_0x226c6f(0x1ab)]['length']);for(const _0x2ff4e1 of _0x5cb8f0){try{const _0x2d448b=_0x2ff4e1&&_0x2ff4e1[_0x4b4623[_0x226c6f(0x115)]]?{..._0x2ff4e1,'hook_run':{..._0x2ff4e1[_0x4b4623[_0x226c6f(0x115)]],'integrations':_0x5c2931}}:_0x2ff4e1;_0x4b4623['sVpxs'](setCurrentTestData,FRAMEWORKS[_0x226c6f(0xf6)],_0x2d448b),await SessionHandler['uploadEventData'](_0x2d448b);}catch(_0x17e641){_0x4b4623[_0x226c6f(0x147)](debug,_0x226c6f(0x15a)+_0x17e641);}}}}catch(_0x2bdc6b){_0x4b4623['ylqpN'](debug,_0x226c6f(0x144)+constants['TEST_REPORTING_ANALYTICS']+_0x226c6f(0x148)+_0x2bdc6b);}};async[a27_0x5e35fe(0xea)](){const _0x40e58b=a27_0x5e35fe,_0x3efc8f={'aLEDn':function(_0x411a60){return _0x411a60();}};if(this['_gitConfigured'])return this['_gitConfigPath'];const _0x56695a=await _0x3efc8f[_0x40e58b(0xe4)](getGitMetaData);_0x56695a&&(this['_gitConfigPath']=_0x56695a[_0x40e58b(0xe0)]),this[_0x40e58b(0xdd)]=!![];}['analyticsResult'](_0x168182){const _0x260cc6=a27_0x5e35fe,_0x1a173f={};_0x1a173f[_0x260cc6(0x194)]=_0x260cc6(0xd5),_0x1a173f['daCfE']='pending',_0x1a173f[_0x260cc6(0x1c1)]=_0x260cc6(0x1c2);const _0x284f1d=_0x1a173f,_0x179c07={};return _0x179c07[STATE_PASSED]=_0x284f1d[_0x260cc6(0x194)],_0x179c07[STATE_PENDING]=_0x284f1d[_0x260cc6(0x132)],_0x179c07[STATE_FAILED]=_0x284f1d[_0x260cc6(0x1c1)],_0x179c07[_0x168182];}['getHierarchy'](_0x44ff6b){const _0x5e7437=a27_0x5e35fe,_0xd418c0={};_0xd418c0[_0x5e7437(0x16c)]=function(_0x1c2228,_0xf97389){return _0x1c2228!==_0xf97389;},_0xd418c0[_0x5e7437(0xd4)]=function(_0x2cedee,_0x26c35f){return _0x2cedee!==_0x26c35f;},_0xd418c0[_0x5e7437(0x1ca)]=_0x5e7437(0x131);const _0x53f67c=_0xd418c0,_0x2d03de=[];if(_0x44ff6b&&_0x44ff6b[_0x5e7437(0xf7)]){let _0x2a0133=_0x44ff6b[_0x5e7437(0xf7)];while(_0x2a0133&&_0x53f67c['Iqzje'](_0x2a0133[_0x5e7437(0x1dd)],'')&&_0x53f67c['UcuFZ'](_0x2a0133[_0x5e7437(0x1dd)],_0x53f67c['jcoQn'])){_0x2d03de[_0x5e7437(0x170)](_0x2a0133[_0x5e7437(0x1dd)]),_0x2a0133=_0x2a0133[_0x5e7437(0xf7)];}}return _0x2d03de['reverse'](),_0x2d03de;}['getRootParentFile']=_0x46b2f3=>{const _0x1ad6e1=a27_0x5e35fe,_0x73e269={'CaFRG':function(_0x2b7297,_0x857bed){return _0x2b7297(_0x857bed);}};if(_0x46b2f3[_0x1ad6e1(0xe8)])return _0x46b2f3[_0x1ad6e1(0xe8)];if(_0x46b2f3['asyncError']){const _0x45f316=stackTrace[_0x1ad6e1(0x102)][_0x1ad6e1(0x1bc)](stackTrace,_0x46b2f3[_0x1ad6e1(0x1ac)]),_0x17dbf3=_0x73e269[_0x1ad6e1(0x1c0)](pickUserFrameFile,_0x45f316);if(_0x17dbf3)return _0x17dbf3;_0x73e269[_0x1ad6e1(0x1c0)](debug,'[obsReporter]\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length='+_0x45f316[_0x1ad6e1(0x105)]+')');}return null;};[a27_0x5e35fe(0x123)]=_0xf0d59e=>{const _0xe96bb9=a27_0x5e35fe;if(!_0xf0d59e||!_0xf0d59e['parent'])return;_0xf0d59e[_0xe96bb9(0xf7)][_0xe96bb9(0x1a4)][_0xe96bb9(0x171)](_0x265e1b=>{const _0x5731b1=_0xe96bb9;!_0x265e1b['hookAnalyticsId']&&(_0x265e1b['hookAnalyticsId']=TestDetails[_0x5731b1(0x143)](process[_0x5731b1(0x1d6)]+_0x5731b1(0xd3)));}),this['mapTestHooks'](_0xf0d59e[_0xe96bb9(0xf7)]);};[a27_0x5e35fe(0x129)]=_0x49d1b6=>{const _0x4d164c=a27_0x5e35fe,_0x35e50a={};_0x35e50a[_0x4d164c(0x17a)]=_0x4d164c(0x14b),_0x35e50a[_0x4d164c(0x1c8)]=_0x4d164c(0x126);const _0x6f5229=_0x35e50a;if(!_0x49d1b6||!_0x49d1b6['parent'])return;_0x49d1b6[_0x4d164c(0xf7)]['hooks'][_0x4d164c(0x171)](_0x108ba1=>{const _0xd514b3=_0x4d164c;[_0x6f5229[_0xd514b3(0x17a)],_0x6f5229[_0xd514b3(0x1c8)]]['includes'](_0x108ba1[_0xd514b3(0x12d)])&&_0x108ba1['hookAnalyticsId']&&(_0x108ba1[_0xd514b3(0x157)]=null);}),this[_0x4d164c(0x123)](_0x49d1b6[_0x4d164c(0xf7)]);};[a27_0x5e35fe(0x1df)](_0x45ac6a){const _0x3f5ba7=a27_0x5e35fe,_0x5a2045={'EhqVm':_0x3f5ba7(0x1a3),'ZsNQb':function(_0x597a79,_0x7efc24){return _0x597a79(_0x7efc24);},'OrBbU':function(_0x575db4,_0x3938d5){return _0x575db4+_0x3938d5;},'KqJnU':_0x3f5ba7(0x187)};try{const _0x46d087=this[_0x3f5ba7(0x10c)](_0x45ac6a);if(!_0x46d087||_0x46d087['includes'](_0x5a2045[_0x3f5ba7(0x14a)]))return!![];return![];}catch(_0x299a05){_0x5a2045[_0x3f5ba7(0x1b6)](debug,_0x5a2045[_0x3f5ba7(0x1dc)](_0x5a2045[_0x3f5ba7(0x122)],_0x299a05));}return![];}[a27_0x5e35fe(0xf5)]=_0x23a172=>{const _0x452ddf=a27_0x5e35fe,_0x21ebe5={'hoyMf':function(_0x3be94f,_0x225be1){return _0x3be94f(_0x225be1);}};if(!_0x23a172||!_0x23a172[_0x452ddf(0xf7)])return[];const _0x3e613d=[];return _0x23a172[_0x452ddf(0xf7)]['hooks'][_0x452ddf(0x171)](_0x2af17e=>{const _0x8f559b=_0x452ddf;_0x2af17e[_0x8f559b(0x157)]&&!_0x21ebe5[_0x8f559b(0x19b)](isInternalHook,_0x2af17e['fn'])&&!this[_0x8f559b(0x1df)](_0x2af17e)&&_0x3e613d[_0x8f559b(0x170)](_0x2af17e[_0x8f559b(0x157)]);}),[..._0x3e613d,...this['getHooksForTest'](_0x23a172['parent'])];};},['getTestEnv','registerListeners','testStarted',a27_0x5e35fe(0x151),a27_0x5e35fe(0x168),a27_0x5e35fe(0x176),a27_0x5e35fe(0x182),a27_0x5e35fe(0x1a0),a27_0x5e35fe(0x159),a27_0x5e35fe(0x128),'getRootParentFile',a27_0x5e35fe(0x123),a27_0x5e35fe(0x129),'getHooksForTest','configureGit'],a27_0x5e35fe(0x160));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a28_0x44f0e2=a28_0xd07f;(function(_0x5b04d1,_0x4ce315){const _0x5e246b=a28_0xd07f,_0x1f1c16=_0x5b04d1();while(!![]){try{const _0x4d762b=-parseInt(_0x5e246b(0x125))/0x1+parseInt(_0x5e246b(0x121))/0x2+-parseInt(_0x5e246b(0x106))/0x3*(-parseInt(_0x5e246b(0xfb))/0x4)+parseInt(_0x5e246b(0x11d))/0x5*(-parseInt(_0x5e246b(0x10e))/0x6)+parseInt(_0x5e246b(0x119))/0x7+-parseInt(_0x5e246b(0xfc))/0x8+-parseInt(_0x5e246b(0xfe))/0x9*(parseInt(_0x5e246b(0x114))/0xa);if(_0x4d762b===_0x4ce315)break;else _0x1f1c16['push'](_0x1f1c16['shift']());}catch(_0xf8a9b6){_0x1f1c16['push'](_0x1f1c16['shift']());}}}(a28_0x39e0,0xf3897));function a28_0x39e0(){const _0x4b2ffb=['7350ysbAMA','mkdirSync','existsSync','unlinkSync','homedir','getTestData','recursive','QzVPn','748kPTruc','15660240YxESHL','stringify','9MXiIrm','FAJQo','getTestUUID','../../../helpers/testhub/constants','rmSync','dirPath','readFileSync','.browserstack','20211VNNaQS','jest-o11y-','shutdown','untpv','jjDhb','toString','writeFileSync','OOgJn','17874BZOBRH','BROWSERSTACK_TESTHUB_UUID','tests','ENV_VAR','path','KYNSv','852290QCAOPL','join','setup','testData.json','setTestUUID','6427414FSLBDh','getFilePath','uuid','AJQhv','710YOswOx','env','parse','_test','2585266vkDZZn','retry','removeTestUUID','QFKVW'];a28_0x39e0=function(){return _0x4b2ffb;};return a28_0x39e0();}const fs=require('fs'),path=require(a28_0x44f0e2(0x112)),{v4:uuidv4}=require(a28_0x44f0e2(0x11b)),helper=require('../../../helpers/helper'),testHubConstants=require(a28_0x44f0e2(0x101));function a28_0xd07f(_0x8b705c,_0x2bcd6b){const _0x39e0fa=a28_0x39e0();return a28_0xd07f=function(_0xd07fb2,_0x18e1ce){_0xd07fb2=_0xd07fb2-0xf6;let _0x2f5bd8=_0x39e0fa[_0xd07fb2];return _0x2f5bd8;},a28_0xd07f(_0x8b705c,_0x2bcd6b);}class TestDetails{static [a28_0x44f0e2(0x110)]={};static [a28_0x44f0e2(0x103)]=path['join'](helper[a28_0x44f0e2(0xf7)](),a28_0x44f0e2(0x105),a28_0x44f0e2(0x107)+process[a28_0x44f0e2(0x11e)][testHubConstants[a28_0x44f0e2(0x111)][a28_0x44f0e2(0x10f)]]);static[a28_0x44f0e2(0x116)](){const _0x189ebd=a28_0x44f0e2,_0xf4973c={};_0xf4973c['KYNSv']=_0x189ebd(0x105);const _0x19b1a3=_0xf4973c;this[_0x189ebd(0x103)]=path[_0x189ebd(0x115)](helper['homedir'](),_0x19b1a3[_0x189ebd(0x113)],_0x189ebd(0x107)+process[_0x189ebd(0x11e)][testHubConstants['ENV_VAR'][_0x189ebd(0x10f)]]),this[_0x189ebd(0x108)]();const _0x3eb4c7={};_0x3eb4c7[_0x189ebd(0xf9)]=!![],fs[_0x189ebd(0x126)](this['dirPath'],_0x3eb4c7);}static[a28_0x44f0e2(0x11a)](_0x3072ba){const _0x5329b8=a28_0x44f0e2,_0x2b9dcc={};_0x2b9dcc[_0x5329b8(0xfa)]=function(_0x139421,_0x48001a){return _0x139421+_0x48001a;},_0x2b9dcc[_0x5329b8(0xff)]='.json';const _0xac6dd4=_0x2b9dcc;return path[_0x5329b8(0x115)](this['dirPath'],_0xac6dd4[_0x5329b8(0xfa)](_0x3072ba,_0xac6dd4[_0x5329b8(0xff)]));}static['getTestRunIdFromTestInfo'](_0x19486b){const _0x173739=a28_0x44f0e2,_0x397b39={};_0x397b39[_0x173739(0x10d)]=function(_0x1b3216,_0x966a56){return _0x1b3216+_0x966a56;},_0x397b39[_0x173739(0x10a)]=function(_0x2c4d49,_0x3da8bf){return _0x2c4d49+_0x3da8bf;};const _0x421522=_0x397b39;return _0x421522[_0x173739(0x10d)](_0x421522['jjDhb'](_0x19486b[_0x173739(0x120)]['id'],'-'),_0x19486b[_0x173739(0x122)]);}static[a28_0x44f0e2(0x100)](_0x34467b){const _0x11f468=a28_0x44f0e2,_0x14b10c=this[_0x11f468(0x11a)](_0x34467b);if(fs[_0x11f468(0x127)](_0x14b10c)){const _0x918f9a=JSON['parse'](fs[_0x11f468(0x104)](_0x14b10c)[_0x11f468(0x10b)]());return this[_0x11f468(0x110)][_0x34467b]=_0x918f9a,this[_0x11f468(0x110)][_0x34467b]['uuid'];}}static['setTestData'](_0x18757b){const _0x2c227c=a28_0x44f0e2,_0x151f28={};_0x151f28[_0x2c227c(0x124)]='testData.json';const _0x1a65d9=_0x151f28,_0x2ad3af=path[_0x2c227c(0x115)](this[_0x2c227c(0x103)],_0x1a65d9['QFKVW']);fs[_0x2c227c(0x10c)](_0x2ad3af,JSON[_0x2c227c(0xfd)](_0x18757b));}static[a28_0x44f0e2(0xf8)](){const _0x3c760b=a28_0x44f0e2,_0x9219d7={};_0x9219d7['AJQhv']=_0x3c760b(0x117);const _0x1035da=_0x9219d7,_0x4c94f0=path[_0x3c760b(0x115)](this[_0x3c760b(0x103)],_0x1035da[_0x3c760b(0x11c)]);let _0x1f8c9f={};try{return _0x4c94f0&&fs[_0x3c760b(0x127)](_0x4c94f0)&&(_0x1f8c9f=JSON[_0x3c760b(0x11f)](fs[_0x3c760b(0x104)](_0x4c94f0)[_0x3c760b(0x10b)]())),_0x1f8c9f;}catch(_0x571d8c){return _0x1f8c9f;}}static[a28_0x44f0e2(0x118)](_0x2bd1b8){const _0x4c2bfa=a28_0x44f0e2,_0x5bbd7d={'untpv':function(_0x39e558){return _0x39e558();}},_0x5605bb=this[_0x4c2bfa(0x11a)](_0x2bd1b8);return this[_0x4c2bfa(0x110)][_0x2bd1b8]={'uuid':_0x5bbd7d[_0x4c2bfa(0x109)](uuidv4)},fs[_0x4c2bfa(0x10c)](_0x5605bb,JSON[_0x4c2bfa(0xfd)](this[_0x4c2bfa(0x110)][_0x2bd1b8])),this['tests'][_0x2bd1b8][_0x4c2bfa(0x11b)];}static[a28_0x44f0e2(0x123)](_0xa701e4){const _0x122076=a28_0x44f0e2,_0x38fe62=this[_0x122076(0x11a)](_0xa701e4);_0x38fe62&&(fs[_0x122076(0x127)](_0x38fe62)&&fs[_0x122076(0xf6)](_0x38fe62));}static['shutdown'](){const _0x44171d=a28_0x44f0e2,_0x517bad={};_0x517bad[_0x44171d(0xf9)]=!![],_0x517bad['force']=!![],fs[_0x44171d(0x102)](this[_0x44171d(0x103)],_0x517bad);}}module['exports']=TestDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a29_0x157b99=a29_0x5e30;(function(_0x3fbf40,_0x2b9c5a){const _0x5746b9=a29_0x5e30,_0xe8ef89=_0x3fbf40();while(!![]){try{const _0x1f95e7=parseInt(_0x5746b9(0x162))/0x1+-parseInt(_0x5746b9(0x156))/0x2*(parseInt(_0x5746b9(0x152))/0x3)+parseInt(_0x5746b9(0x14b))/0x4+parseInt(_0x5746b9(0x16f))/0x5*(-parseInt(_0x5746b9(0x14e))/0x6)+parseInt(_0x5746b9(0x141))/0x7+parseInt(_0x5746b9(0x140))/0x8*(-parseInt(_0x5746b9(0x171))/0x9)+parseInt(_0x5746b9(0x136))/0xa;if(_0x1f95e7===_0x2b9c5a)break;else _0xe8ef89['push'](_0xe8ef89['shift']());}catch(_0x565208){_0xe8ef89['push'](_0xe8ef89['shift']());}}}(a29_0x1aab,0x361d4));const {requireModule,modifyCommand,isTrue,isBrowserstackInfra,nestedKeyValue,parseYaml}=require('../../helpers/helper'),setKeepAlive=require('../../helpers/setKeepAlive'),util=require(a29_0x157b99(0x14d)),PerformanceTester=require(a29_0x157b99(0x144)),{EVENTS:PerformanceEvents}=require(a29_0x157b99(0x148)),logger=require(a29_0x157b99(0x16c))['winstonLogger'],{shouldProcessEventForTesthub}=require(a29_0x157b99(0x142)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require('../../helpers/test-observability/utils'),TestDetails=require(a29_0x157b99(0x168)),RequestQueueHandler=require(a29_0x157b99(0x13a)),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),MyReporter=require('../playwright/reporter/reporter.js'),SessionHandler=require(a29_0x157b99(0x16a)),scripts=require(a29_0x157b99(0x155)),globals=require(a29_0x157b99(0x13c)),testHubConstants=require(a29_0x157b99(0x160)),{shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),fs=require('fs'),a29_0x3365ab={};a29_0x3365ab[a29_0x157b99(0x137)]=undefined,a29_0x3365ab[a29_0x157b99(0x145)]={},a29_0x3365ab[a29_0x157b99(0x170)]=![],a29_0x3365ab['pwPage']=null,a29_0x3365ab[a29_0x157b99(0x15f)]=![],a29_0x3365ab[a29_0x157b99(0x145)]['id']=undefined,a29_0x3365ab[a29_0x157b99(0x145)][a29_0x157b99(0x164)]=undefined;function a29_0x1aab(){const _0x3d70fc=['../../helpers/globals','Error\x20bootstrapping\x20BrowserstackCLI:\x20','puppeteer','JEST','8xsYjXh','3081981QoTyQy','../../helpers/testhub/utils','Error\x20reading\x20BrowserStack\x20config:\x20','../../helpers/performance/performance-tester','currentTest','Patching\x20Playwright\x20for\x20Jest','skipSessionStatus','../../helpers/performance/constants','__skipSessionName','Jest-Playwright/Puppeteer\x20setup\x20completed','816944NHYiuo','initializePlaywrightPatching','util','12mWNCOQ','../utils/puppeteer-patcher','@playwright/test','initializePuppeteerPatching','30276YSomcV','skipSessionName','installAll','../../helpers/accessibility-automation/scripts','70kETwJB','jest','../../helpers/driverInitErrorReporter','Error\x20initializing\x20Playwright\x20patching:\x20','../utils/playwright-patcher','Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','../../helpers/helper','debug','getInstance','isPageFixture','../../helpers/testhub/constants.js','getPackageVersion','209844DbdMeU','Patching\x20Puppeteer\x20for\x20Jest','testInfo','bootstrap','puppeteer-core','Playwright\x20patching\x20and\x20session\x20details\x20initialized\x20for\x20Jest','../playwright/reporter/test-details.js','jestConfig','../../helpers/test-observability/sessionHandler','isCliEnabled','../../helpers/logger','Bootstrapping\x20BrowserstackCLI\x20for\x20Jest\x20worker\x20process\x20(','../utils/constants','873985JpxwAM','o11ySyncDone','962055XYbrLA','1769980WJomdT','workerInfo','__skipSessionStatus','../v2/browserstackCLI','../../helpers/test-observability/requestQueueHandler','format'];a29_0x1aab=function(){return _0x3d70fc;};return a29_0x1aab();}const workerDetails=a29_0x3365ab;function a29_0x5e30(_0x2afb54,_0x30201d){const _0x1aab7f=a29_0x1aab();return a29_0x5e30=function(_0x5e3077,_0x3ea140){_0x5e3077=_0x5e3077-0x136;let _0x30f826=_0x1aab7f[_0x5e3077];return _0x30f826;},a29_0x5e30(_0x2afb54,_0x30201d);}global['__workerDetails']=workerDetails;let playwrightPatcher=null,puppeteerPatcher=null;setKeepAlive();try{require(a29_0x157b99(0x158))[a29_0x157b99(0x154)](a29_0x157b99(0x157));}catch(a29_0x543974){logger[a29_0x157b99(0x15d)]('driver-init\x20capture\x20install\x20failed:\x20'+(a29_0x543974&&a29_0x543974['message']));}if(global['jestConfig'])try{isBrowserstackInfra()?(global[a29_0x157b99(0x149)]=isTrue(global[a29_0x157b99(0x169)]?.[a29_0x157b99(0x153)]),global[a29_0x157b99(0x138)]=isTrue(global[a29_0x157b99(0x169)]?.[a29_0x157b99(0x147)])):(global[a29_0x157b99(0x149)]=!![],global['__skipSessionStatus']=!![]);const helper=require(a29_0x157b99(0x15c));if(helper[a29_0x157b99(0x161)](a29_0x157b99(0x150)))try{logger[a29_0x157b99(0x15d)](a29_0x157b99(0x146)),playwrightPatcher=require(a29_0x157b99(0x15a)),playwrightPatcher[a29_0x157b99(0x14c)](global[a29_0x157b99(0x169)]),logger[a29_0x157b99(0x15d)](a29_0x157b99(0x167));}catch(a29_0x48ea91){logger['debug'](a29_0x157b99(0x159)+util[a29_0x157b99(0x13b)](a29_0x48ea91));}if(!playwrightPatcher&&(helper[a29_0x157b99(0x161)](a29_0x157b99(0x13e))||helper['getPackageVersion'](a29_0x157b99(0x166))))try{logger['debug'](a29_0x157b99(0x163)),puppeteerPatcher=require(a29_0x157b99(0x14f)),puppeteerPatcher[a29_0x157b99(0x151)](global[a29_0x157b99(0x169)]),logger[a29_0x157b99(0x15d)]('Puppeteer\x20patching\x20and\x20session\x20details\x20initialized\x20for\x20Jest');}catch(a29_0x284165){logger['debug']('Error\x20initializing\x20Puppeteer\x20patching:\x20'+util[a29_0x157b99(0x13b)](a29_0x284165));}const activePatcher=playwrightPatcher||puppeteerPatcher;if(activePatcher)try{const BrowserstackCLI=require(a29_0x157b99(0x139)),CLIUtils=require('../v2/cliUtils'),{FRAMEWORKS}=require(a29_0x157b99(0x16e));if(BrowserstackCLI[a29_0x157b99(0x15e)]()[a29_0x157b99(0x16b)]()){const automationFramework=playwrightPatcher?FRAMEWORKS['PLAYWRIGHT']:FRAMEWORKS['PUPPETEER'];logger[a29_0x157b99(0x15d)](a29_0x157b99(0x16d)+automationFramework+')'),CLIUtils['setFrameworkDetail'](FRAMEWORKS[a29_0x157b99(0x13f)],automationFramework),BrowserstackCLI[a29_0x157b99(0x15e)]()[a29_0x157b99(0x165)]()['catch'](_0x526909=>{const _0xed5608=a29_0x157b99;logger[_0xed5608(0x15d)](_0xed5608(0x13d)+util[_0xed5608(0x13b)](_0x526909));});}}catch(a29_0xdf6178){logger[a29_0x157b99(0x15d)](a29_0x157b99(0x15b)+util[a29_0x157b99(0x13b)](a29_0xdf6178));}shouldProcessEventForTesthub()&&addRequestSpy(![]);}catch(a29_0x288e7c){logger[a29_0x157b99(0x15d)](a29_0x157b99(0x143)+util[a29_0x157b99(0x13b)](a29_0x288e7c));}logger['debug'](a29_0x157b99(0x14a));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a30_0x48c2(_0x88640f,_0x1d7ccf){const _0x4451ed=a30_0x4451();return a30_0x48c2=function(_0x48c2c3,_0x4c0130){_0x48c2c3=_0x48c2c3-0x18b;let _0x9c87ae=_0x4451ed[_0x48c2c3];return _0x9c87ae;},a30_0x48c2(_0x88640f,_0x1d7ccf);}const a30_0x3585b3=a30_0x48c2;function a30_0x4451(){const _0x5e3b36=['245RdPqgq','../../helpers/setKeepAlive','870045dknkYJ','102756xwZlsj','winstonLogger','driver-init\x20capture\x20install\x20failed:\x20','debug','keys','299244vZmidN','__webdriver','55EFdzOU','2WpqfgM','Selenium-webdriver\x20not\x20available\x20to\x20set\x20in\x20global.__webdriver','../../helpers/driverInitErrorReporter','1304IPJXxI','5nscDnO','311391XVXJeC','message','jest','42219vbQEXf','5565880qCSXcc','../../helpers/helper','3025148JHhnyr'];a30_0x4451=function(){return _0x5e3b36;};return a30_0x4451();}(function(_0x5081f9,_0x7c9f88){const _0x538ea8=a30_0x48c2,_0x2f1718=_0x5081f9();while(!![]){try{const _0x45a270=-parseInt(_0x538ea8(0x194))/0x1+-parseInt(_0x538ea8(0x18f))/0x2*(parseInt(_0x538ea8(0x19d))/0x3)+parseInt(_0x538ea8(0x19a))/0x4*(-parseInt(_0x538ea8(0x193))/0x5)+-parseInt(_0x538ea8(0x19e))/0x6*(-parseInt(_0x538ea8(0x19b))/0x7)+parseInt(_0x538ea8(0x192))/0x8*(parseInt(_0x538ea8(0x197))/0x9)+parseInt(_0x538ea8(0x198))/0xa+parseInt(_0x538ea8(0x18e))/0xb*(parseInt(_0x538ea8(0x18c))/0xc);if(_0x45a270===_0x7c9f88)break;else _0x2f1718['push'](_0x2f1718['shift']());}catch(_0x1a2898){_0x2f1718['push'](_0x2f1718['shift']());}}}(a30_0x4451,0xa7e07));const {requireModule}=require(a30_0x3585b3(0x199)),logger=require('../../helpers/logger')[a30_0x3585b3(0x19f)];require(a30_0x3585b3(0x19c))();try{const __wd__=requireModule('selenium-webdriver');for(const key of Object[a30_0x3585b3(0x18b)](global['__webdriver'])){__wd__[key]=global[a30_0x3585b3(0x18d)][key];}}catch(a30_0x2441c7){logger['debug'](a30_0x3585b3(0x190));}try{require(a30_0x3585b3(0x191))['installAll'](a30_0x3585b3(0x196));}catch(a30_0x59d169){logger[a30_0x3585b3(0x1a1)](a30_0x3585b3(0x1a0)+(a30_0x59d169&&a30_0x59d169[a30_0x3585b3(0x195)]));}
|