browserstack-node-sdk 1.52.1 → 1.52.3
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 +5 -5
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const a19_0x336262=a19_0x237c;(function(_0x106764,_0x45ae98){const _0xa2dd07=a19_0x237c,_0x27c6b2=_0x106764();while(!![]){try{const _0x394826=parseInt(_0xa2dd07(0x20a))/0x1*(-parseInt(_0xa2dd07(0x206))/0x2)+-parseInt(_0xa2dd07(0x208))/0x3+-parseInt(_0xa2dd07(0x20e))/0x4+-parseInt(_0xa2dd07(0x1f2))/0x5*(parseInt(_0xa2dd07(0x203))/0x6)+-parseInt(_0xa2dd07(0x1f4))/0x7*(parseInt(_0xa2dd07(0x20c))/0x8)+-parseInt(_0xa2dd07(0x209))/0x9*(-parseInt(_0xa2dd07(0x1f6))/0xa)+-parseInt(_0xa2dd07(0x211))/0xb*(-parseInt(_0xa2dd07(0x1f8))/0xc);if(_0x394826===_0x45ae98)break;else _0x27c6b2['push'](_0x27c6b2['shift']());}catch(_0xd89314){_0x27c6b2['push'](_0x27c6b2['shift']());}}}(a19_0x5c03,0x75d23));function a19_0x237c(_0x170dad,_0x321c02){const _0x5c037b=a19_0x5c03();return a19_0x237c=function(_0x237cd0,_0x573d7d){_0x237cd0=_0x237cd0-0x1f0;let _0x19b65f=_0x5c037b[_0x237cd0];return _0x19b65f;},a19_0x237c(_0x170dad,_0x321c02);}const {requireModule,isBrowserstackInfra}=require(a19_0x336262(0x1f0)),a19_0x19fafb={};a19_0x19fafb[a19_0x336262(0x1fe)]=!![],Object[a19_0x336262(0x20b)](exports,a19_0x336262(0x202),a19_0x19fafb),exports[a19_0x336262(0x205)]=void 0x0;function _interopRequireDefault(_0x222015){const _0x5c8cdc=a19_0x336262;return _0x222015&&_0x222015[_0x5c8cdc(0x202)]?_0x222015:{'default':_0x222015};};const runnerModule=process[a19_0x336262(0x20f)][a19_0x336262(0x1fc)]||'jest-runner',JestRunner=_interopRequireDefault(requireModule(runnerModule))[a19_0x336262(0x205)];class TestRunner extends JestRunner{constructor(..._0x49dbad){super(..._0x49dbad);}['runTests'](..._0x124eb9){const _0x3a9f10=a19_0x336262,_0x362d6a={'CTFyY':function(_0x53812c){return _0x53812c();},'Avyvt':function(_0x3982ee,_0x3c8a7b){return _0x3982ee-_0x3c8a7b;},'MqHSr':function(_0x523379,_0x4a112d){return _0x523379*_0x4a112d;},'AfkKM':function(_0x3290d,_0x37706a){return _0x3290d===_0x37706a;},'buBwy':_0x3a9f10(0x1f5),'nGBTg':function(_0x3b909c,_0x536ce7){return _0x3b909c<_0x536ce7;}};if(!_0x362d6a[_0x3a9f10(0x1f1)](isBrowserstackInfra))return super[_0x3a9f10(0x201)](..._0x124eb9);const _0x1b7c94=_0x124eb9[0x0],_0x1f2ac3=_0x124eb9[_0x362d6a['Avyvt'](_0x124eb9[_0x3a9f10(0x1f3)],0x1)],_0x29239a=_0x1b7c94[0x0]['context'][_0x3a9f10(0x200)][_0x3a9f10(0x20d)][_0x3a9f10(0x210)],_0x31bf0e=_0x1b7c94[0x0][_0x3a9f10(0x212)]['config']['testEnvironmentOptions']['parallels__'];_0x31bf0e&&(this[_0x3a9f10(0x204)]=Object[_0x3a9f10(0x207)]({...this[_0x3a9f10(0x204)],'maxWorkers':_0x362d6a[_0x3a9f10(0x1fd)](_0x31bf0e,_0x29239a[_0x3a9f10(0x1f3)])}));_0x362d6a[_0x3a9f10(0x1fb)](_0x1b7c94[0x0][_0x3a9f10(0x212)][_0x3a9f10(0x200)][_0x3a9f10(0x20d)][_0x3a9f10(0x1f9)],_0x362d6a['buBwy'])&&(_0x1f2ac3&&(_0x1f2ac3[_0x3a9f10(0x1ff)]=![]));const _0x1cb2e4=[];for(let _0x4e494a=0x0;_0x362d6a['nGBTg'](_0x4e494a,_0x1b7c94[_0x3a9f10(0x1f3)]);_0x4e494a++){const _0x43773a=[];_0x29239a['forEach']((_0x1bbfb0,_0x41b167)=>{const _0x372bb8=_0x3a9f10,_0x351014={..._0x1b7c94[_0x4e494a]},_0xca497a=_0x351014;_0xca497a[_0x372bb8(0x212)]=Object['freeze']({..._0xca497a[_0x372bb8(0x212)],'config':{..._0xca497a[_0x372bb8(0x212)][_0x372bb8(0x200)],'capability':_0x1bbfb0,'browserstackPlatformIndex':_0x41b167}}),_0x43773a[_0x372bb8(0x1f7)](_0xca497a);}),_0x1cb2e4[_0x3a9f10(0x1f7)](..._0x43773a);}return super['runTests'](_0x1cb2e4,..._0x124eb9[_0x3a9f10(0x1fa)](0x1));}}module[a19_0x336262(0x213)]=TestRunner;function a19_0x5c03(){const _0x34a509=['slice','AfkKM','BSTACK_USER_JEST_RUNNER','MqHSr','value','serial','config','runTests','__esModule','588KDFERi','_globalConfig','default','38MCQVEF','freeze','1484205ySThXf','11070ZEfdnv','7534SPjikg','defineProperty','5122232LRlkXx','testEnvironmentOptions','3108508zAjtRF','env','capabilities','429iAqHLO','context','exports','../../../helpers/helper','CTFyY','37855LSasNv','length','7RRkykp','false','3370DedhKN','push','881640GtktUo','serial__'];a19_0x5c03=function(){return _0x34a509;};return a19_0x5c03();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a20_0x31d221=a20_0xf23f;(function(_0x4979ca,_0x5221cf){const _0x4075f6=a20_0xf23f,_0x41cc26=_0x4979ca();while(!![]){try{const _0x186bcd=-parseInt(_0x4075f6(0x1ae))/0x1+-parseInt(_0x4075f6(0x1bc))/0x2+parseInt(_0x4075f6(0x195))/0x3+-parseInt(_0x4075f6(0x134))/0x4*(parseInt(_0x4075f6(0x17e))/0x5)+parseInt(_0x4075f6(0xe5))/0x6+-parseInt(_0x4075f6(0x10d))/0x7*(-parseInt(_0x4075f6(0x13a))/0x8)+-parseInt(_0x4075f6(0x161))/0x9*(parseInt(_0x4075f6(0x11e))/0xa);if(_0x186bcd===_0x5221cf)break;else _0x41cc26['push'](_0x41cc26['shift']());}catch(_0x57dfb9){_0x41cc26['push'](_0x41cc26['shift']());}}}(a20_0x3ea2,0x6c7fa));const util=require(a20_0x31d221(0x132)),helper=require(a20_0x31d221(0x10a)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a20_0x31d221(0xec)),{sendPlatformDetails}=require('../../helpers/test-observability/utils'),{isBrowserstackInfra,markSessionStatus}=require(a20_0x31d221(0x10a));let __error_messages__=[];const RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler');jest['setTimeout'](__timeout);const {isAccessibilityAutomationSession,fetchPlatformDetails,shouldScanTestForAccessibility}=require(a20_0x31d221(0x140)),{percyAutoCapture}=require(a20_0x31d221(0x1de)),logger=require(a20_0x31d221(0x18b))['winstonLogger'],TestDetails=require(a20_0x31d221(0xeb)),PerformanceTester=require(a20_0x31d221(0x19d)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a20_0x31d221(0x137)),scripts=require(a20_0x31d221(0x142)),globals=require(a20_0x31d221(0x17f)),{shouldProcessEventForTesthub}=require(a20_0x31d221(0x147)),testHubConstants=require(a20_0x31d221(0xd0)),{v4:uuidv4}=require(a20_0x31d221(0x1ec)),BrowserstackCLI=require(a20_0x31d221(0x19c)),AutomationFrameworkState=require(a20_0x31d221(0x167)),HookState=require(a20_0x31d221(0xe8)),{FRAMEWORKS}=require(a20_0x31d221(0x105));globals[a20_0x31d221(0x12f)]=browserStackGlobals;if(typeof global[a20_0x31d221(0x17c)]==='undefined')try{const {TransformStream}=require(a20_0x31d221(0x1a8));global['TransformStream']=TransformStream;}catch(a20_0x59a05a){logger[a20_0x31d221(0x180)]('TransformStream\x20polyfill\x20not\x20available:\x20'+a20_0x59a05a[a20_0x31d221(0xdd)]);}function a20_0xf23f(_0x36a8d1,_0x19c61b){const _0x3ea23d=a20_0x3ea2();return a20_0xf23f=function(_0xf23fbe,_0x30893f){_0xf23fbe=_0xf23fbe-0xc5;let _0x1df474=_0x3ea23d[_0xf23fbe];return _0x1df474;},a20_0xf23f(_0x36a8d1,_0x19c61b);}function stripUnicode(_0x1a12e7){const _0x179cc4=a20_0x31d221;return _0x1a12e7[_0x179cc4(0x177)](/\\u001b\[.*?m/g,'')['slice'](0x1,-0x1);}async function setContext(){const _0x105c10=a20_0x31d221,_0x435894={'UVONR':function(_0x2f3ef8){return _0x2f3ef8();},'gBNqI':'browserstackTestName','mIojr':function(_0x3c9568,_0xfb4f65){return _0x3c9568!==_0xfb4f65;},'jEsis':_0x105c10(0x184),'gQfwn':function(_0x4c51bd,_0x351190){return _0x4c51bd>_0x351190;},'XbaHo':function(_0x2c260f,_0x45c44){return _0x2c260f(_0x45c44);},'plpwZ':function(_0x3a60ec,_0x41274b){return _0x3a60ec(_0x41274b);},'sKNTB':function(_0x52e683,_0x5c6bd9){return _0x52e683>_0x5c6bd9;},'DzzkW':function(_0x28d0ca,_0x2b39ab){return _0x28d0ca(_0x2b39ab);}};if(!_0x435894[_0x105c10(0x18e)](isBrowserstackInfra))return;const _0x3024ea=expect[_0x105c10(0x1d2)]()[_0x105c10(0xd9)];globals['setGlobal'](_0x435894[_0x105c10(0x1e5)],_0x3024ea);!sessionNameProvided&&await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x105c10(0x1d8)],async()=>{const _0x595693=_0x105c10;await __drivers[0x0][_0x595693(0x133)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22'+_0x3024ea+_0x595693(0xdc));})();let _0x1b0dbb=null,_0x5ea750=![];_0x435894[_0x105c10(0x130)](typeof jasmine,_0x435894[_0x105c10(0x196)])?jasmine[_0x105c10(0x14b)]['failedExpectations']&&_0x435894[_0x105c10(0xf6)](jasmine[_0x105c10(0x14b)][_0x105c10(0x1be)][_0x105c10(0x160)],0x0)?(_0x5ea750=!![],_0x1b0dbb=_0x435894[_0x105c10(0x11f)](stripUnicode,JSON[_0x105c10(0x18a)](jasmine[_0x105c10(0x14b)][_0x105c10(0x1be)][0x0][_0x105c10(0xdd)]))):_0x1b0dbb=_0x435894[_0x105c10(0x13f)](stripUnicode,JSON[_0x105c10(0x18a)](jasmine['currentTest'][_0x105c10(0xea)])):testContext['errors']&&_0x435894[_0x105c10(0x1c7)](testContext[_0x105c10(0x1ef)][_0x105c10(0x160)],0x0)?(_0x5ea750=!![],_0x1b0dbb=_0x435894['DzzkW'](stripUnicode,JSON[_0x105c10(0x18a)](testContext[_0x105c10(0x1ef)][0x0][0x0][_0x105c10(0xdd)]||testContext['errors'][0x0][0x0]))):_0x1b0dbb=_0x435894['DzzkW'](stripUnicode,JSON[_0x105c10(0x18a)](testContext[_0x105c10(0x13c)])),_0x5ea750?(__error_messages__['push'](_0x1b0dbb),await __drivers[0x0][_0x105c10(0x133)](_0x105c10(0x12b)+_0x1b0dbb+_0x105c10(0x191))):await __drivers[0x0][_0x105c10(0x133)](_0x105c10(0x189)+_0x1b0dbb+'\x22,\x22level\x22:\x20\x22info\x22}}');}const executeAnnotate=async(_0x27eea3,_0x1764af)=>{const _0x27e371=a20_0x31d221;await global[_0x27e371(0x14c)][0x0][_0x27e371(0x133)](_0x27e371(0x1b1)+_0x27eea3+_0x27e371(0x1d4)+_0x1764af+'\x22}}');};async function driverCleanup(){const _0x1652d4=a20_0x31d221,_0x25a305={'hVLNk':function(_0x39239c){return _0x39239c();},'JSyog':_0x1652d4(0x14a),'jxuZl':function(_0x55868f,_0x3a2c27){return _0x55868f>_0x3a2c27;},'RSWVi':function(_0x4756da,_0xc54619,_0x577a66,_0x4b3276){return _0x4756da(_0xc54619,_0x577a66,_0x4b3276);},'rHeBe':_0x1652d4(0x17d),'THVbN':_0x1652d4(0x1a7),'teAXd':function(_0x34083d,_0xe89e61,_0xb23a84){return _0x34083d(_0xe89e61,_0xb23a84);},'jREpT':_0x1652d4(0x1c4)};if(!_0x25a305[_0x1652d4(0xf1)](isBrowserstackInfra))return;let _0x194156=![];try{const _0x278466=_0x25a305[_0x1652d4(0x16c)][_0x1652d4(0x1c6)]('|');let _0x4a91c3=0x0;while(!![]){switch(_0x278466[_0x4a91c3++]){case'0':_0x194156=!![];continue;case'1':await __drivers[0x0][_0x1652d4(0x10c)];continue;case'2':PerformanceTester[_0x1652d4(0x178)](PerformanceAutEvents['SESSION_STATUS']);continue;case'3':PerformanceTester[_0x1652d4(0x127)](PerformanceAutEvents['SESSION_STATUS'],!![]);continue;case'4':_0x25a305['jxuZl'](__error_messages__[_0x1652d4(0x160)],0x0)?await _0x25a305['RSWVi'](markSessionStatus,__drivers[0x0],_0x25a305[_0x1652d4(0x175)],__error_messages__[_0x1652d4(0xc5)](_0x25a305[_0x1652d4(0x12a)])):await _0x25a305[_0x1652d4(0xcc)](markSessionStatus,__drivers[0x0],_0x25a305[_0x1652d4(0xf8)]);continue;}break;}}catch(_0x81411){console[_0x1652d4(0x13e)](_0x81411),PerformanceTester['end'](PerformanceAutEvents[_0x1652d4(0x1cc)],![],_0x81411);}__error_messages__=[];if(_0x194156)try{await __drivers[0x0][_0x1652d4(0x1eb)]();}catch(_0x15fd56){console[_0x1652d4(0x13e)](_0x15fd56);}}function a20_0x3ea2(){const _0x5869af=['addReporter','Error\x20executing\x20fallback\x20deferred\x20closes:\x20','TransformStream','failed','5AqofTu','../../helpers/globals','debug','TdPgZ','Exception\x20in\x20jest\x20driver\x20with\x20error:\x20','lxAqH','undefined','POST','gtgUE','saveTestResults','maEkm','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Passed\x20-\x20','stringify','../../helpers/logger','beforeAll','WHEIg','UVONR','Puppeteer\x20flow\x20detected\x20in\x20beforeEach','mEOaj','\x22,\x22level\x22:\x20\x22error\x22}}','Exception\x20in\x20jest\x20driver\x20cleanup\x20with\x20error:\x20','pwPage','ukUqo','2347113nfAXWX','jEsis','browserstackTestName','lRQPQ','XapMD','No\x20patcher\x20available','Error\x20getting\x20page\x20context/browser:\x20','../v2/browserstackCLI','../../helpers/performance/performance-tester','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','KEOnl','stopMonitoring','EJMOu','pendingUploads','launchCaps','testcase','puppeteer-core','MqLNJ','\x20|\x20','stream/web','context','KxGbm','nIXXE','browserstackSessionName','Executed\x20deferred\x20closes\x20after\x20QUIT\x20PRE\x20event\x20completion','226586UKhIaa','UQHus','mQSVE','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','performScan','imflw','Jhaoc','XVziR','yAfWD','Error\x20in\x20pw-jest\x20afterEach:\x20','PRE','ePYjr','nSAWX','LqcOB','1347874sNZuRC','SbjIW','failedExpectations',':testAnalyticsId','dIySj','Error\x20cleaning\x20up\x20close\x20tracker:\x20','rIKYn','gLSNQ','passed','bnAJx','split','sKNTB','testContext','Exception\x20in\x20jest\x20hook\x20with\x20error:\x20','VYkXW','afterEach','SESSION_STATUS','xOlCe','KKaJg','wDAtO','DIYXi','NMQSK','getState','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20',',\x22level\x22:\x20\x22','__workerDetails','startMonitoring','getTestUUID','SESSION_NAME','__platformCaps','gtGlJ','hQxSD','uYWRZ','push','../../helpers/percy/utils','removeAllListeners','lISQp','Error\x20executing\x20deferred\x20closes:\x20','__currentTestInfo','Cleaned\x20up\x20close\x20tracker','Error\x20loading\x20playwright-patcher:\x20','gBNqI','No\x20page\x20available\x20yet\x20for\x20test:\x20','SDK_HOOK','__jestCurrentTestIdentifier','.\x20Error\x20:',',\x20testPath=','initQuit','uuid','title','iOkmP','errors','irEsJ','close','VSUkE','getPageFromAutomationFramework','testInfo','fullName','executeDeferredCloses','join','hookType','getPackageVersion','Successfully\x20closed\x20page\x20via\x20fallback','liool','bSPnj','testIdentifier','teAXd','isAccessibilityPlatform','isPageFixture','closeTracker','../../helpers/testhub/constants','getCurrentUrl','includes','displayName','DXExb','from\x20else\x20block\x20jest\x20test\x20failed\x20playwright\x20flow:\x20','afterTestHook','JBbdM','function','currentTestName','browser','percy','\x22}}','message','http:','WPNyd','Error\x20loading\x20puppeteer-patcher:\x20','ErUzX','KKRTj','PERFORM_SCAN',',\x20testName=','4895778qrjBgB','info','ryVSS','../v2/state/hookState','GcZUx','description','./test-observability/test-details','../utils/constants','pvBIX','testAnalyticsId','bstackA11yShouldScan','Vdkvi','hVLNk','[Jest\x20Setup]\x20Triggered\x20CREATE\x20POST\x20event\x20for\x20test:\x20','error','Unknown\x20Test','ENV_VAR','gQfwn','SAVE_RESULTS','jREpT','testFramework','cxgyY','../utils/puppeteer-patcher','BYYDA','opvEw','shift','inside\x20before\x20each\x20jest\x20hook','isRunning','__launchCaps','Successfully\x20executed\x20deferred\x20Playwright\x20closes\x20(with\x20force\x20close)','DfVXF','isArray','../../helpers/test-observability/constants','appium:app','isCliEnabled','Skipping\x20afterTestHook\x20-\x20workerDetails\x20or\x20currentTest\x20not\x20available',',\x20isPlaywrightFlow=','../../helpers/helper','executeAsyncScript','session_','7AOoIud','quitCount_','AjZvz',',\x20CREATE\x20POST\x20will\x20be\x20triggered\x20when\x20page\x20is\x20created','Error\x20in\x20playwright\x20beforeTestHook:\x20','wntfD','protocol','QUIT\x20PRE\x20event\x20completed\x20for\x20test:\x20','PbxMC','afterTest','Error\x20triggering\x20QUIT\x20PRE\x20event:\x20','jcfKL','qkwtk','IXGCS','capabilities','setTimeout','Cleaned\x20up\x20close\x20tracker\x20after\x20deferred\x20closes','499030jsXZhZ','XbaHo','WJobL','fAUpQ','Error\x20loading\x20patcher\x20in\x20afterEach:\x20','OCzyB','awChB','Error\x20cleaning\x20up\x20after\x20deferred\x20closes:\x20','Jest','end','testPath','Error\x20triggering\x20CREATE\x20POST\x20event\x20for\x20test:\x20','THVbN','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Failed\x20-\x20','SYNC','crSGU','env','browserStackGlobals','mIojr','SKuIS','util','executeScript','2896364torTQY','command','tKFFW','../../helpers/performance/constants','Cleaned\x20up\x20page\x20references\x20after\x20deferred\x20closes','rKQuf','6959312TsfUta','MKSOn','name','beforeEach','log','plpwZ','../../helpers/accessibility-automation/helper','beforeTestHook','../../helpers/accessibility-automation/scripts','browserContext','BAcaJ','pid','inspect','../../helpers/testhub/utils','format','qRtsu','2|1|0|4|3','currentTest','__drivers','wDlwH','NEzTD','JEST','mexnA','codAH','mWjNg','now','setGlobal','puppeteer','eiToA','bEtkD','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.','fHpsz','ASXOU','zrTrF','Test\x20info\x20prepared\x20for\x20CREATE\x20PRE\x20event:\x20','idjKw','page','jest-test','length','72lMxBth','cleanup','xLsaN','Attempting\x20direct\x20page\x20close\x20fallback\x20for\x20Android','Error\x20in\x20fallback\x20page\x20close:\x20','LwiAX','../v2/state/automationFrameworkState','../utils/playwright-patcher','iQdUo','klVRm','HRWia','JSyog','BHdJU','getAutomationFramework','getInstance','getGlobal','Error\x20preparing\x20AutomationFramework\x20events:\x20','wMjNe','platformCaps','Exception\x20in\x20jest\x20process\x20event\x20with\x20error:\x20','rHeBe','kLjok','replace','start','@playwright/test'];a20_0x3ea2=function(){return _0x5869af;};return a20_0x3ea2();}beforeAll(async()=>{const _0x338205=a20_0x31d221,_0x23d16e={'gLSNQ':function(_0x23f045,_0x31be33){return _0x23f045!==_0x31be33;},'fAUpQ':'undefined','umtcY':function(_0x184865,_0x3128db){return _0x184865>_0x3128db;},'DfVXF':_0x338205(0x18c),'BHdJU':function(_0x1f487b){return _0x1f487b();},'aUMSq':function(_0xf8df0b,_0x9f46ae,_0x29e99a){return _0xf8df0b(_0x9f46ae,_0x29e99a);}};__error_messages__=[],PerformanceTester[_0x338205(0x1d6)](),PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);_0x23d16e[_0x338205(0x1c3)](typeof __jestRetries,_0x23d16e['fAUpQ'])&&_0x23d16e['umtcY'](__jestRetries,0x0)&&jest['retryTimes'](__jestRetries);const _0x59ed5f='browserstack internal helper hook';_0x23d16e[_0x338205(0x1c3)](typeof jasmine,_0x23d16e[_0x338205(0x121)])&&jasmine['getEnv']()[_0x338205(0x17a)]({'specStarted':_0x3a2358=>{const _0x5161b0=_0x338205;jasmine[_0x5161b0(0x14b)]=_0x3a2358;}});let _0xc76033=![];try{await __drivers[0x0][_0x338205(0x10c)],_0xc76033=!![];}catch(_0x26b43f){logger[_0x338205(0x180)](_0x338205(0x182)+_0x26b43f);const _0x41b735={};_0x41b735[_0x338205(0xc6)]=_0x23d16e[_0x338205(0x103)],PerformanceTester[_0x338205(0x127)](PerformanceHookEvents[_0x338205(0x1e7)],![],_0x26b43f,_0x41b735);}if(_0xc76033)try{_0x23d16e[_0x338205(0x16d)](shouldProcessEventForTesthub)&&(__drivers[0x0]&&await _0x23d16e['aUMSq'](sendPlatformDetails,__drivers[0x0],TestDetails[_0x338205(0x1d7)](process[_0x338205(0x145)]+':testAnalyticsId')));}catch(_0x471bcf){logger[_0x338205(0x180)]('Exception\x20in\x20jest\x20process\x20event\x20with\x20error:\x20'+_0x471bcf);const _0xa741e1={};_0xa741e1[_0x338205(0xc6)]=_0x23d16e['DfVXF'],PerformanceTester[_0x338205(0x127)](PerformanceHookEvents[_0x338205(0x1e7)],![],_0x471bcf,_0xa741e1);}const _0x48c707={};_0x48c707[_0x338205(0xc6)]=_0x23d16e[_0x338205(0x103)],PerformanceTester['end'](PerformanceHookEvents[_0x338205(0x1e7)],!![],null,_0x48c707);}),beforeEach(async()=>{const _0x53e5da=a20_0x31d221,_0x7f4161={'WPNyd':_0x53e5da(0xff),'VYkXW':_0x53e5da(0x197),'xOlCe':function(_0x25d81d,_0x3289d5,_0x223f15){return _0x25d81d(_0x3289d5,_0x223f15);},'tKFFW':'@playwright/test','ASXOU':_0x53e5da(0x155),'wDAtO':_0x53e5da(0x1a5),'hQxSD':function(_0x2c890c,_0x149dd9){return _0x2c890c(_0x149dd9);},'mEOaj':_0x53e5da(0x168),'UQHus':'Playwright\x20flow\x20detected\x20in\x20beforeEach','GcZUx':_0x53e5da(0xfb),'Xcoek':_0x53e5da(0x18f),'iOkmP':'0|3|4|2|1','Jhaoc':function(_0x37b87b,_0x40f298){return _0x37b87b>_0x40f298;},'nIXXE':function(_0x3e0923){return _0x3e0923();},'kWiQV':function(_0x33d3fb){return _0x33d3fb();},'nSAWX':_0x53e5da(0x13d),'LSIuf':_0x53e5da(0xef),'opvEw':_0x53e5da(0xcd),'XapMD':function(_0x373465,_0x9a4332){return _0x373465===_0x9a4332;},'codAH':_0x53e5da(0xde),'JBbdM':'https:','pvBIX':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','KKaJg':_0x53e5da(0x19c),'HRWia':_0x53e5da(0xec),'BYYDA':_0x53e5da(0x167),'imflw':function(_0x15a519,_0x35438d){return _0x15a519(_0x35438d);},'ldrhC':_0x53e5da(0xe8),'ukUqo':function(_0x4fd03c,_0xc4757){return _0x4fd03c||_0xc4757;},'KKRTj':_0x53e5da(0xf4),'qRtsu':_0x53e5da(0x15f),'awChB':function(_0x570b67,_0x2a4810){return _0x570b67&&_0x2a4810;},'MKSOn':'function','bnAJx':function(_0x11a002,_0x3d8075){return _0x11a002===_0x3d8075;},'mWjNg':function(_0x54b990,_0x457db2){return _0x54b990===_0x457db2;},'eiToA':function(_0x3a2425,_0x2fd16d){return _0x3a2425>_0x2fd16d;}};logger[_0x53e5da(0x180)](_0x7f4161[_0x53e5da(0xdf)]),PerformanceTester[_0x53e5da(0x178)](PerformanceHookEvents[_0x53e5da(0x1e7)]);const _0x302a1a='browserstack internal helper hook';let _0x4b13e2=!![],_0x311cee=null;try{const _0x1c5062=expect[_0x53e5da(0x1d2)]()[_0x53e5da(0xd9)];globals[_0x53e5da(0x154)](_0x7f4161[_0x53e5da(0x1ca)],_0x1c5062);const _0x562b77=_0x7f4161[_0x53e5da(0x1cd)](shouldScanTestForAccessibility,_0x1c5062,![]),_0x184d24=helper[_0x53e5da(0xc7)](_0x7f4161[_0x53e5da(0x136)]),_0x272677=helper[_0x53e5da(0xc7)](_0x7f4161[_0x53e5da(0x15a)])||helper[_0x53e5da(0xc7)](_0x7f4161[_0x53e5da(0x1cf)]);if(!!_0x184d24)try{_0x311cee=_0x7f4161[_0x53e5da(0x1db)](require,_0x7f4161[_0x53e5da(0x190)]),logger[_0x53e5da(0x180)](_0x7f4161[_0x53e5da(0x1af)]);}catch(_0x62b55){logger[_0x53e5da(0x180)](_0x53e5da(0x1e4)+util[_0x53e5da(0x148)](_0x62b55));}else{if(!!_0x272677)try{_0x311cee=_0x7f4161[_0x53e5da(0x1db)](require,_0x7f4161[_0x53e5da(0xe9)]),logger['debug'](_0x7f4161['Xcoek']);}catch(_0x3325f2){logger[_0x53e5da(0x180)](_0x53e5da(0xe0)+util[_0x53e5da(0x148)](_0x3325f2));}}try{const _0x1cfc28=_0x7f4161[_0x53e5da(0x1ee)]['split']('|');let _0x8dec8=0x0;while(!![]){switch(_0x1cfc28[_0x8dec8++]){case'0':Array['isArray'](__drivers)&&__drivers[0x0]&&(__drivers[0x0]['browserstackSessionName']=_0x1c5062);continue;case'1':!_0x311cee&&_0x7f4161[_0x53e5da(0x1b4)](__drivers['length'],0x0)&&_0x7f4161[_0x53e5da(0x1b4)](__drivers[0x0][_0x53e5da(0x10e)],0x0)&&(_0x4b13e2=![],await _0x7f4161[_0x53e5da(0x1ab)](driverCleanup));continue;case'2':_0x311cee&&_0x7f4161[_0x53e5da(0x1b4)](__drivers[_0x53e5da(0x160)],0x0)&&(__drivers[0x0][_0x53e5da(0x1ac)]=_0x1c5062,__drivers[0x0][_0x53e5da(0xef)]=_0x562b77);continue;case'3':global[_0x53e5da(0x1ac)]=_0x1c5062;continue;case'4':!_0x311cee&&_0x7f4161[_0x53e5da(0x1b4)](__drivers[_0x53e5da(0x160)],0x1)&&(await _0x7f4161['kWiQV'](driverCleanup),__drivers[_0x53e5da(0xfe)]());continue;}break;}}catch(_0x306f32){logger[_0x53e5da(0x180)]('Failed\x20to\x20store\x20session\x20name:\x20'+_0x306f32);const _0x2d5eef={};_0x2d5eef[_0x53e5da(0xc6)]=_0x7f4161[_0x53e5da(0x1ba)],PerformanceTester[_0x53e5da(0x127)](PerformanceHookEvents[_0x53e5da(0x1e7)],![],_0x306f32,_0x2d5eef);}globals[_0x53e5da(0x154)](_0x7f4161['LSIuf'],_0x562b77);if(global['__workerDetails']){const _0x3dc328=expect[_0x53e5da(0x1d2)]()[_0x53e5da(0x128)],_0x75f904=global[_0x53e5da(0x1e8)],_0x4dc1b2=expect[_0x53e5da(0x1d2)]()[_0x53e5da(0xd9)]||_0x1c5062,_0x2f0f11={};_0x2f0f11['id']=_0x75f904,_0x2f0f11[_0x53e5da(0xee)]=_0x75f904,_0x2f0f11[_0x53e5da(0x1f4)]={},_0x2f0f11[_0x53e5da(0x1f4)][_0x53e5da(0x1ed)]=_0x1c5062,_0x2f0f11[_0x53e5da(0x1f4)][_0x53e5da(0x1f5)]=_0x4dc1b2,_0x2f0f11[_0x53e5da(0x1f4)][_0x53e5da(0xd3)]=_0x1c5062,_0x2f0f11[_0x53e5da(0x1f4)][_0x53e5da(0x13c)]=_0x4dc1b2,_0x2f0f11[_0x53e5da(0x1f4)][_0x53e5da(0x128)]=_0x3dc328,_0x2f0f11[_0x53e5da(0x1f4)][_0x53e5da(0xcb)]=_0x75f904,global[_0x53e5da(0x1d5)][_0x53e5da(0x14b)]=_0x2f0f11,logger[_0x53e5da(0x180)]('[Jest\x20Setup]\x20beforeEach:\x20testIdentifier='+_0x75f904+_0x53e5da(0xe4)+_0x1c5062+_0x53e5da(0x1ea)+_0x3dc328);}if(!_0x311cee&&_0x7f4161[_0x53e5da(0x1ab)](isAccessibilityAutomationSession)&&_0x4b13e2&&Array['isArray'](__drivers)&&_0x7f4161['Jhaoc'](__drivers[_0x53e5da(0x160)],0x0)&&globals['getGlobal'](_0x7f4161[_0x53e5da(0xfd)]))try{const _0x2e49dc=await __drivers[0x0][_0x53e5da(0x10c)];if(_0x2e49dc){let _0x5f480e=!![];const _0x398cf1=await __drivers[0x0][_0x53e5da(0xd1)]();let _0x4b5852;try{_0x4b5852=new URL(_0x398cf1);}catch(_0x4094a1){_0x5f480e=![];}_0x5f480e=_0x7f4161[_0x53e5da(0x199)](_0x4b5852[_0x53e5da(0x113)],_0x7f4161[_0x53e5da(0x151)])||_0x7f4161[_0x53e5da(0x199)](_0x4b5852['protocol'],_0x7f4161[_0x53e5da(0xd7)]),_0x5f480e&&(_0x562b77&&logger['info'](_0x7f4161[_0x53e5da(0xed)]));}}catch(_0x3df011){logger[_0x53e5da(0xf3)](_0x53e5da(0x19e)+_0x3df011);const _0x3f4b06={};_0x3f4b06[_0x53e5da(0xc6)]=_0x7f4161['nSAWX'],PerformanceTester[_0x53e5da(0x127)](PerformanceHookEvents[_0x53e5da(0x1e7)],![],er,_0x3f4b06);}if(_0x311cee&&global[_0x53e5da(0x1d5)]&&global[_0x53e5da(0x1d5)][_0x53e5da(0x14b)])try{await _0x311cee[_0x53e5da(0x141)](global[_0x53e5da(0x1d5)]['currentTest'][_0x53e5da(0x1f4)]);}catch(_0x141068){logger[_0x53e5da(0x180)](_0x53e5da(0x111)+util[_0x53e5da(0x148)](_0x141068));}if(_0x311cee&&global[_0x53e5da(0x1d5)]&&global[_0x53e5da(0x1d5)][_0x53e5da(0x14b)])try{const _0x432df7=_0x7f4161[_0x53e5da(0x1db)](require,_0x7f4161[_0x53e5da(0x1ce)]),{FRAMEWORKS:_0x28c6d4}=_0x7f4161[_0x53e5da(0x1db)](require,_0x7f4161[_0x53e5da(0x16b)]),_0x417263=_0x7f4161[_0x53e5da(0x1db)](require,_0x7f4161[_0x53e5da(0xfc)]),_0x2b8264=_0x7f4161[_0x53e5da(0x1b3)](require,_0x7f4161['ldrhC']);if(_0x432df7['getInstance']()[_0x53e5da(0x107)]()&&_0x432df7[_0x53e5da(0x16f)]()[_0x53e5da(0x100)]()){const _0x53714e={'title':_0x7f4161[_0x53e5da(0x194)](_0x1c5062,_0x7f4161[_0x53e5da(0xe2)]),'titlePath':[_0x7f4161['ukUqo'](_0x1c5062,_0x7f4161['KKRTj'])],'id':global[_0x53e5da(0x1d5)][_0x53e5da(0x14b)]['id']||_0x7f4161[_0x53e5da(0x149)],'testAnalyticsId':global[_0x53e5da(0x1d5)][_0x53e5da(0x14b)][_0x53e5da(0xee)],'testPath':global[_0x53e5da(0x1d5)][_0x53e5da(0x14b)][_0x53e5da(0x1f4)]?.[_0x53e5da(0x128)],...global[_0x53e5da(0x1d5)][_0x53e5da(0x14b)][_0x53e5da(0x1f4)]};global[_0x53e5da(0x1e2)]=_0x53714e,logger[_0x53e5da(0x180)](_0x53e5da(0x15c)+_0x1c5062);try{const _0x5de8d8=global['__workerDetails']?.[_0x53e5da(0x193)]||_0x311cee['getPageFromAutomationFramework']();if(_0x5de8d8){const _0x452e69=_0x7f4161[_0x53e5da(0x124)](!!_0x272677,!_0x184d24);let _0x54b5dd=null,_0x3a81a8=null;try{_0x452e69?(_0x54b5dd=_0x7f4161[_0x53e5da(0x199)](typeof _0x5de8d8['browserContext'],_0x7f4161['MKSOn'])?_0x5de8d8[_0x53e5da(0x143)]():null,_0x3a81a8=_0x7f4161[_0x53e5da(0x199)](typeof _0x5de8d8['browser'],_0x7f4161[_0x53e5da(0x13b)])?_0x5de8d8[_0x53e5da(0xda)]():null):(_0x54b5dd=_0x7f4161[_0x53e5da(0x1c5)](typeof _0x5de8d8[_0x53e5da(0x1a9)],_0x7f4161[_0x53e5da(0x13b)])?_0x5de8d8[_0x53e5da(0x1a9)]():null,_0x3a81a8=_0x54b5dd&&_0x7f4161[_0x53e5da(0x152)](typeof _0x54b5dd[_0x53e5da(0xda)],_0x7f4161[_0x53e5da(0x13b)])?_0x54b5dd['browser']():null);}catch(_0x43b0b6){logger[_0x53e5da(0x180)](_0x53e5da(0x19b)+_0x43b0b6[_0x53e5da(0xdd)]);}const _0x480824={};_0x480824[_0x53e5da(0x15e)]=_0x5de8d8,_0x480824[_0x53e5da(0x1a9)]=_0x54b5dd,_0x480824['browser']=_0x3a81a8,_0x480824['testInfo']=_0x53714e,_0x480824[_0x53e5da(0xf9)]=_0x28c6d4[_0x53e5da(0x14f)],_0x480824[_0x53e5da(0x1a3)]=global[_0x53e5da(0x101)],_0x480824[_0x53e5da(0x173)]=global[_0x53e5da(0x1d9)],await _0x432df7['getInstance']()[_0x53e5da(0x16e)]()['trackEvent'](_0x417263['CREATE'],_0x2b8264[_0x53e5da(0x185)],_0x480824),logger[_0x53e5da(0x180)](_0x53e5da(0xf2)+_0x1c5062+'\x20with\x20testIdentifier:\x20'+(_0x53714e[_0x53e5da(0xee)]||_0x53714e['id']));}else logger[_0x53e5da(0x180)](_0x53e5da(0x1e6)+_0x1c5062+_0x53e5da(0x110));}catch(_0x29cbe1){logger['debug'](_0x53e5da(0x129)+util[_0x53e5da(0x148)](_0x29cbe1));}}}catch(_0x33ad92){logger[_0x53e5da(0x180)](_0x53e5da(0x171)+util[_0x53e5da(0x148)](_0x33ad92));}!_0x311cee&&_0x7f4161[_0x53e5da(0x156)](__drivers[_0x53e5da(0x160)],0x0)&&_0x7f4161[_0x53e5da(0x156)](__drivers[0x0][_0x53e5da(0x10e)],0x0)&&await _0x7f4161[_0x53e5da(0x1ab)](driverCleanup);}catch(_0x16b7d4){logger[_0x53e5da(0x180)](_0x53e5da(0x1c9)+_0x16b7d4);const _0x2cec78={};_0x2cec78[_0x53e5da(0xc6)]=_0x7f4161[_0x53e5da(0x1ba)],PerformanceTester[_0x53e5da(0x127)](PerformanceHookEvents[_0x53e5da(0x1e7)],![],_0x16b7d4,_0x2cec78);}const _0x2afcaf={};_0x2afcaf[_0x53e5da(0xc6)]=_0x7f4161[_0x53e5da(0x1ba)],PerformanceTester[_0x53e5da(0x127)](PerformanceHookEvents[_0x53e5da(0x1e7)],!![],null,_0x2afcaf);}),afterEach(async()=>{const _0x1aa119=a20_0x31d221,_0x53cfc2={'Vdkvi':'inside\x20after\x20each\x20jest\x20hook','KEOnl':function(_0x1c1d0f,_0x77f510){return _0x1c1d0f>_0x77f510;},'ePYjr':'@playwright/test','liool':_0x1aa119(0x155),'mexnA':_0x1aa119(0x1a5),'opBFw':function(_0x434571,_0x4695ec){return _0x434571(_0x4695ec);},'maEkm':_0x1aa119(0x168),'NMQSK':function(_0x131cd2,_0x2469ca){return _0x131cd2(_0x2469ca);},'klVRm':_0x1aa119(0xfb),'qkwtk':'Playwright','LqcOB':'Puppeteer','rDlWN':function(_0x48cf4e,_0x4c0ab4){return _0x48cf4e!==_0x4c0ab4;},'lISQp':_0x1aa119(0x184),'KxGbm':function(_0x1a5211,_0x2e331c){return _0x1a5211>_0x2e331c;},'NEzTD':function(_0x47aa3c,_0x1a098a){return _0x47aa3c(_0x1a098a);},'EJMOu':'failed','TvllW':_0x1aa119(0x1c4),'idjKw':function(_0x2c7890,_0x5105c8){return _0x2c7890&&_0x5105c8;},'IXGCS':'Unknown\x20Test','rpTXO':_0x1aa119(0x15f),'bSPnj':_0x1aa119(0x108),'uYWRZ':_0x1aa119(0x1ad),'DIYXi':_0x1aa119(0x1e3),'gtgUE':'Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','xLsaN':function(_0x124dff,_0x557056){return _0x124dff>_0x557056;},'iQdUo':function(_0x450729){return _0x450729();},'rKQuf':function(_0x32519e,_0x4cd59f){return _0x32519e===_0x4cd59f;},'lxAqH':_0x1aa119(0x1a4),'PbxMC':_0x1aa119(0x106),'dIySj':function(_0x3f7a82,_0x18b7ca,_0x3f077d,_0x48f169){return _0x3f7a82(_0x18b7ca,_0x3f077d,_0x48f169);},'ErUzX':_0x1aa119(0x1cb),'mQSVE':function(_0x27ca6a,_0x14f71d,_0x12072f){return _0x27ca6a(_0x14f71d,_0x12072f);},'wMjNe':_0x1aa119(0xcd),'SbjIW':_0x1aa119(0xef),'kiGcb':_0x1aa119(0x158),'zrTrF':'Performing\x20scan\x20before\x20saving\x20results','MqLNJ':_0x1aa119(0x116),'crSGU':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','kLjok':function(_0x5e0e6b){return _0x5e0e6b();},'wDlwH':function(_0x535a1a){return _0x535a1a();},'jcfKL':function(_0x72f89b,_0x220c9d,_0x454427){return _0x72f89b(_0x220c9d,_0x454427);},'DXExb':_0x1aa119(0x180),'rIKYn':function(_0x3ccdd1){return _0x3ccdd1();}};logger['debug'](_0x53cfc2[_0x1aa119(0xf0)]),PerformanceTester[_0x1aa119(0x178)](PerformanceHookEvents[_0x1aa119(0x1e7)]);const _0x51b533='browserstack internal helper hook';let _0x2c1101=![],_0x243140=![],_0x53c7da=null;try{global[_0x1aa119(0x14c)]&&_0x53cfc2[_0x1aa119(0x19f)](global[_0x1aa119(0x14c)][_0x1aa119(0x160)],0x0)&&(_0x2c1101=!![]);if(global[_0x1aa119(0x1d5)]&&global['__workerDetails'][_0x1aa119(0x193)]){const _0x2ccfe3=helper[_0x1aa119(0xc7)](_0x53cfc2[_0x1aa119(0x1b9)]),_0x47673d=helper[_0x1aa119(0xc7)](_0x53cfc2[_0x1aa119(0xc9)])||helper[_0x1aa119(0xc7)](_0x53cfc2[_0x1aa119(0x150)]);try{if(_0x2ccfe3)_0x53c7da=_0x53cfc2['opBFw'](require,_0x53cfc2[_0x1aa119(0x188)]);else _0x47673d&&(_0x53c7da=_0x53cfc2['NMQSK'](require,_0x53cfc2[_0x1aa119(0x16a)]));_0x243140=!![],logger[_0x1aa119(0x180)]((_0x2ccfe3?_0x53cfc2[_0x1aa119(0x119)]:_0x53cfc2[_0x1aa119(0x1bb)])+'\x20flow\x20detected\x20-\x20page\x20exists:\x20'+!!global[_0x1aa119(0x1d5)][_0x1aa119(0x193)]);}catch(_0x1dfb27){logger[_0x1aa119(0x180)](_0x1aa119(0x122)+util[_0x1aa119(0x148)](_0x1dfb27));}}}catch(_0x56a3a7){logger[_0x1aa119(0x180)]('Error\x20determining\x20test\x20flow:\x20'+_0x56a3a7);}logger['debug']('Flow\x20detection:\x20isSeleniumFlow='+_0x2c1101+_0x1aa119(0x109)+_0x243140);if(_0x243140){const _0x37075e=_0x53c7da[_0x1aa119(0x1f3)]();try{let _0x3961f0=null,_0x9a7e47=![];if(_0x53cfc2['rDlWN'](typeof jasmine,_0x53cfc2[_0x1aa119(0x1e0)]))jasmine[_0x1aa119(0x14b)][_0x1aa119(0x1be)]&&_0x53cfc2[_0x1aa119(0x1aa)](jasmine['currentTest'][_0x1aa119(0x1be)][_0x1aa119(0x160)],0x0)?(_0x9a7e47=!![],_0x3961f0=_0x53cfc2[_0x1aa119(0x14e)](stripUnicode,JSON['stringify'](jasmine[_0x1aa119(0x14b)][_0x1aa119(0x1be)][0x0][_0x1aa119(0xdd)]))):_0x3961f0=_0x53cfc2[_0x1aa119(0x14e)](stripUnicode,JSON[_0x1aa119(0x18a)](jasmine['currentTest']['description']));else{logger[_0x1aa119(0x180)](_0x1aa119(0xd5)+util[_0x1aa119(0x146)](testContext));const _0x450b5d=global[_0x1aa119(0x1c8)]||testContext,_0x559cc9=_0x450b5d&&_0x450b5d[_0x1aa119(0x1ef)]?_0x450b5d['errors']:[];if(_0x53cfc2[_0x1aa119(0x19f)](_0x559cc9[_0x1aa119(0x160)],0x0)){_0x9a7e47=!![];const _0x60e3e0=Array[_0x1aa119(0x104)](_0x559cc9[0x0])?_0x559cc9[0x0][0x0]:_0x559cc9[0x0];_0x3961f0=_0x53cfc2[_0x1aa119(0x1d1)](stripUnicode,JSON[_0x1aa119(0x18a)](_0x60e3e0['message']||_0x60e3e0));}else _0x3961f0=_0x53cfc2['NMQSK'](stripUnicode,JSON[_0x1aa119(0x18a)](_0x450b5d?_0x450b5d[_0x1aa119(0x13c)]:testContext['name']));}const _0x1b4c69=_0x9a7e47?_0x53cfc2[_0x1aa119(0x1a1)]:_0x53cfc2['TvllW'];_0x53cfc2[_0x1aa119(0x15d)](_0x9a7e47,_0x3961f0)&&!__error_messages__[_0x1aa119(0xd2)](_0x3961f0)&&__error_messages__[_0x1aa119(0x1dd)](_0x3961f0);const _0x521b22={'title':global[_0x1aa119(0x1d5)]?.[_0x1aa119(0x14b)]?.['testInfo']?.[_0x1aa119(0x1ed)]||_0x53cfc2[_0x1aa119(0x11a)],'titlePath':[global['__workerDetails']?.[_0x1aa119(0x14b)]?.[_0x1aa119(0x1f4)]?.[_0x1aa119(0x1ed)]||_0x53cfc2[_0x1aa119(0x11a)]],'id':global[_0x1aa119(0x1d5)]?.[_0x1aa119(0x14b)]?.['id']||_0x53cfc2['rpTXO'],'status':_0x1b4c69,'error':_0x3961f0?{'message':_0x3961f0}:null,'testAnalyticsId':global[_0x1aa119(0x1d5)]?.['currentTest']?.['testAnalyticsId'],'testPath':global['__workerDetails']?.[_0x1aa119(0x14b)]?.[_0x1aa119(0x1f4)]?.[_0x1aa119(0x128)],...global[_0x1aa119(0x1d5)][_0x1aa119(0x14b)][_0x1aa119(0x1f4)]},_0x98e8f0=_0x521b22;try{if(BrowserstackCLI[_0x1aa119(0x16f)]()[_0x1aa119(0x107)]()&&BrowserstackCLI[_0x1aa119(0x16f)]()[_0x1aa119(0x100)]()){const _0x291d91={};_0x291d91['testInfo']=_0x98e8f0,_0x291d91[_0x1aa119(0x15e)]=_0x37075e,_0x291d91[_0x1aa119(0xf9)]=FRAMEWORKS[_0x1aa119(0x14f)],await BrowserstackCLI['getInstance']()[_0x1aa119(0x16e)]()['trackEvent'](AutomationFrameworkState['QUIT'],HookState[_0x1aa119(0x1b8)],_0x291d91),logger[_0x1aa119(0x180)](_0x1aa119(0x114)+_0x98e8f0[_0x1aa119(0x1ed)]);}}catch(_0xc9d5fa){logger[_0x1aa119(0x180)](_0x1aa119(0x117)+util[_0x1aa119(0x148)](_0xc9d5fa));}global['__workerDetails']&&global[_0x1aa119(0x1d5)]['currentTest']&&global[_0x1aa119(0x1d5)]['currentTest']['testInfo']?await _0x53c7da[_0x1aa119(0xd6)](global[_0x1aa119(0x1d5)][_0x1aa119(0x14b)][_0x1aa119(0x1f4)],_0x1b4c69,_0x9a7e47?_0x3961f0:null):logger[_0x1aa119(0x180)](_0x53cfc2[_0x1aa119(0xca)]);try{await _0x53c7da[_0x1aa119(0x1f6)](),logger[_0x1aa119(0x180)](_0x53cfc2[_0x1aa119(0x1dc)]);}catch(_0x151cdb){logger[_0x1aa119(0x180)]('Error\x20executing\x20deferred\x20closes:\x20'+util[_0x1aa119(0x148)](_0x151cdb));}try{_0x53c7da[_0x1aa119(0xcf)][_0x1aa119(0x162)](),logger[_0x1aa119(0x180)](_0x53cfc2[_0x1aa119(0x1d0)]);}catch(_0x2a9c97){logger[_0x1aa119(0x180)](_0x1aa119(0x1c1)+util[_0x1aa119(0x148)](_0x2a9c97));}}catch(_0x2efc7a){logger[_0x1aa119(0x180)](_0x1aa119(0x1b7)+util['format'](_0x2efc7a));try{_0x53c7da[_0x1aa119(0x1f6)]&&(await _0x53c7da[_0x1aa119(0x1f6)](),logger[_0x1aa119(0x180)](_0x53cfc2[_0x1aa119(0x186)]));}catch(_0x57a8fd){logger[_0x1aa119(0x180)](_0x1aa119(0x17b)+util[_0x1aa119(0x148)](_0x57a8fd));}}}else try{!_0x243140&&_0x53cfc2[_0x1aa119(0x163)](__drivers[_0x1aa119(0x160)],0x1)&&(await _0x53cfc2[_0x1aa119(0x169)](driverCleanup),__drivers[_0x1aa119(0xfe)]());try{if(global[_0x1aa119(0xdb)]&&_0x53cfc2[_0x1aa119(0x139)](global['percyCaptureMode'],_0x53cfc2[_0x1aa119(0x183)])&&__drivers[0x0]){const _0x2901f1=_0x53cfc2[_0x1aa119(0x163)](global[_0x1aa119(0x11b)][_0x1aa119(0x160)],0x0)?!!global[_0x1aa119(0x11b)][0x0]['app']||!!global[_0x1aa119(0x11b)][0x0][_0x53cfc2[_0x1aa119(0x115)]]:![],_0x5b3ec7={};_0x5b3ec7['app']=_0x2901f1,await _0x53cfc2[_0x1aa119(0x1c0)](percyAutoCapture,__drivers[0x0],_0x53cfc2[_0x1aa119(0x183)],_0x5b3ec7);}}catch(_0x302597){logger[_0x1aa119(0x180)]('Exception\x20in\x20jest\x20percy\x20with\x20error:\x20'+_0x302597);const _0x2b5ab4={};_0x2b5ab4[_0x1aa119(0xc6)]=_0x53cfc2[_0x1aa119(0xe1)],PerformanceTester[_0x1aa119(0x127)](PerformanceHookEvents[_0x1aa119(0x1e7)],![],_0x302597,_0x2b5ab4);}const _0x4c356b=_0x53cfc2['mQSVE'](shouldScanTestForAccessibility,expect[_0x1aa119(0x1d2)]()['currentTestName'],![]);try{if(_0x53cfc2[_0x1aa119(0x169)](isAccessibilityAutomationSession)&&globals['getGlobal'](_0x53cfc2[_0x1aa119(0x172)])&&globals[_0x1aa119(0x170)](_0x53cfc2[_0x1aa119(0x1bd)])){logger[_0x1aa119(0xe6)](_0x53cfc2['kiGcb']);const _0x359c0a={'thTestRunUuid':TestDetails[_0x1aa119(0x1d7)](process[_0x1aa119(0x145)]+_0x1aa119(0x1bf)),'thBuildUuid':process[_0x1aa119(0x12e)][testHubConstants[_0x1aa119(0xf5)]['BROWSERSTACK_TESTHUB_UUID']],'thJwtToken':process['env'][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_JWT']]};logger[_0x1aa119(0x180)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x1aa119(0x18a)](_0x359c0a)),logger['debug'](_0x53cfc2[_0x1aa119(0x15b)]);const _0x5ebd16={};_0x5ebd16[_0x1aa119(0x135)]=_0x53cfc2[_0x1aa119(0x1a6)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x1aa119(0xe3)],async()=>{const _0x35ffee=_0x1aa119;logger[_0x35ffee(0x180)](util[_0x35ffee(0x148)](await __drivers[0x0][_0x35ffee(0x10b)](scripts[_0x35ffee(0x1b2)],{'method':expect[_0x35ffee(0x1d2)]()[_0x35ffee(0xd9)]})));},_0x5ebd16)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x1aa119(0xf7)],async()=>{const _0x3f78d7=_0x1aa119;await __drivers[0x0]['executeAsyncScript'](scripts[_0x3f78d7(0x187)],_0x359c0a);})(),logger[_0x1aa119(0xe6)](_0x53cfc2[_0x1aa119(0x12d)]);}}catch(_0xf3256e){logger['error'](_0x1aa119(0x1d3)+expect[_0x1aa119(0x1d2)]()[_0x1aa119(0xd9)]+_0x1aa119(0x1e9),_0xf3256e);}await _0x53cfc2[_0x1aa119(0x176)](setContext);try{if(_0x53cfc2['kLjok'](shouldProcessEventForTesthub)){_0x53cfc2['xLsaN'](global[_0x1aa119(0x14c)][_0x1aa119(0x160)],0x0)&&global[_0x1aa119(0x14c)][0x0]&&await _0x53cfc2[_0x1aa119(0x1b0)](sendPlatformDetails,global['__drivers'][0x0],TestDetails[_0x1aa119(0x1d7)](process['pid']+':testAnalyticsId'));if(_0x53cfc2[_0x1aa119(0x14d)](isBrowserstackInfra)){PerformanceTester[_0x1aa119(0x178)](PerformanceO11yEvents[_0x1aa119(0x12c)]);const _0x220565='ObservabilitySync:'+Date[_0x1aa119(0x153)]();await _0x53cfc2[_0x1aa119(0x118)](executeAnnotate,JSON['stringify'](_0x220565),_0x53cfc2[_0x1aa119(0xd4)]),PerformanceTester[_0x1aa119(0x127)](PerformanceO11yEvents[_0x1aa119(0x12c)]);}}}catch(_0x4d23ef){logger['debug'](_0x1aa119(0x174)+_0x4d23ef),PerformanceTester[_0x1aa119(0x127)](PerformanceO11yEvents[_0x1aa119(0x12c)],![],_0x4d23ef);}!_0x243140&&_0x53cfc2[_0x1aa119(0x19f)](__drivers[_0x1aa119(0x160)],0x0)&&_0x53cfc2[_0x1aa119(0x163)](__drivers[0x0][_0x1aa119(0x10e)],0x0)&&await _0x53cfc2[_0x1aa119(0x1c2)](driverCleanup);const _0x448aba={};_0x448aba[_0x1aa119(0xc6)]=_0x53cfc2[_0x1aa119(0xe1)],PerformanceTester[_0x1aa119(0x127)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x448aba);}catch(_0xfda31a){logger[_0x1aa119(0x180)](_0x1aa119(0x182)+_0xfda31a);const _0x300b93={};_0x300b93[_0x1aa119(0xc6)]=_0x53cfc2[_0x1aa119(0xe1)],PerformanceTester[_0x1aa119(0x127)](PerformanceHookEvents[_0x1aa119(0x1e7)],![],_0xfda31a,_0x300b93);}},TEST_FRAMEWORK_HOOK_TIMEOUT[a20_0x31d221(0x126)]),afterAll(async()=>{const _0x432e3b=a20_0x31d221,_0x59c0ca={'WRUnX':function(_0x3aa7b4,_0x1711ca){return _0x3aa7b4<=_0x1711ca;},'ryVSS':function(_0x302bbf,_0xf3f57b){return _0x302bbf(_0xf3f57b);},'irEsJ':function(_0x1ad998){return _0x1ad998();},'XVziR':function(_0x4f18cb,_0x2584c6,_0x5603c4){return _0x4f18cb(_0x2584c6,_0x5603c4);},'EfPcC':_0x432e3b(0x126),'WHEIg':_0x432e3b(0x179),'TdPgZ':'puppeteer','OCzyB':'puppeteer-core','cxgyY':function(_0x2b2102,_0x2da65a){return _0x2b2102(_0x2da65a);},'LwiAX':_0x432e3b(0x168),'AjZvz':_0x432e3b(0xfb),'IMvud':_0x432e3b(0x19a),'VSUkE':function(_0x74fcdb,_0x1767b6){return _0x74fcdb||_0x1767b6;},'gtGlJ':_0x432e3b(0x102),'lRQPQ':_0x432e3b(0x164),'yAfWD':function(_0x381ba7,_0x1aaa85){return _0x381ba7===_0x1aaa85;},'SoOiS':_0x432e3b(0xd8),'bEtkD':_0x432e3b(0xc8),'WJobL':_0x432e3b(0x11d),'wntfD':_0x432e3b(0x138),'SKuIS':'afterAll'};PerformanceTester[_0x432e3b(0x178)](PerformanceHookEvents[_0x432e3b(0x1e7)]),jest[_0x432e3b(0x11c)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x59c0ca['EfPcC']]),PerformanceTester[_0x432e3b(0x1a0)]();const _0x368be4='browserstack internal helper hook';let _0x3f5b78=![];try{const _0x65695b=helper[_0x432e3b(0xc7)](_0x59c0ca[_0x432e3b(0x18d)]),_0x1eae24=helper[_0x432e3b(0xc7)](_0x59c0ca['TdPgZ'])||helper[_0x432e3b(0xc7)](_0x59c0ca[_0x432e3b(0x123)]),_0xd1b2dd=_0x65695b?_0x59c0ca[_0x432e3b(0xfa)](require,_0x59c0ca[_0x432e3b(0x166)]):_0x1eae24?_0x59c0ca[_0x432e3b(0xfa)](require,_0x59c0ca['AjZvz']):null;if(!_0xd1b2dd)throw new Error(_0x59c0ca['IMvud']);const _0x44da72=global[_0x432e3b(0x1d5)]?.[_0x432e3b(0x193)],_0x74af79=_0xd1b2dd[_0x432e3b(0x1f3)](),_0x45c8ad=_0x59c0ca[_0x432e3b(0x1f2)](_0x44da72,_0x74af79);if(_0x45c8ad){_0x3f5b78=!![];try{await _0xd1b2dd[_0x432e3b(0x1f6)](),logger[_0x432e3b(0x180)](_0x59c0ca[_0x432e3b(0x1da)]);}catch(_0x10a20c){logger[_0x432e3b(0x180)](_0x432e3b(0x1e1)+util[_0x432e3b(0x148)](_0x10a20c));try{const _0x32c0ee=_0xd1b2dd[_0x432e3b(0x1f3)]();_0x32c0ee&&(logger[_0x432e3b(0x180)](_0x59c0ca[_0x432e3b(0x198)]),_0x59c0ca[_0x432e3b(0x1b6)](typeof _0x32c0ee[_0x432e3b(0x1f1)],_0x59c0ca['SoOiS'])&&(await _0x32c0ee['close'](),logger[_0x432e3b(0x180)](_0x59c0ca[_0x432e3b(0x157)])));}catch(_0x290c2e){logger[_0x432e3b(0x180)](_0x432e3b(0x165)+util[_0x432e3b(0x148)](_0x290c2e));}}try{if(global[_0x432e3b(0x1d5)]){global[_0x432e3b(0x1d5)][_0x432e3b(0x193)]=null,global[_0x432e3b(0x1d5)][_0x432e3b(0xce)]=![];const _0x266fa3={};_0x266fa3['id']=undefined,_0x266fa3[_0x432e3b(0x1f4)]=undefined,global[_0x432e3b(0x1d5)][_0x432e3b(0x14b)]=_0x266fa3;}_0xd1b2dd[_0x432e3b(0xcf)]&&_0xd1b2dd[_0x432e3b(0xcf)][_0x432e3b(0x162)]&&(_0xd1b2dd[_0x432e3b(0xcf)][_0x432e3b(0x162)](),logger[_0x432e3b(0x180)](_0x59c0ca[_0x432e3b(0x120)])),logger['debug'](_0x59c0ca[_0x432e3b(0x112)]);}catch(_0x5d630c){logger[_0x432e3b(0x180)](_0x432e3b(0x125)+util[_0x432e3b(0x148)](_0x5d630c));}__error_messages__=[];}}catch(_0x43ebdf){logger[_0x432e3b(0x180)]('Error\x20handling\x20Playwright/Puppeteer\x20test\x20cleanup:\x20'+util['format'](_0x43ebdf));try{const _0x29c444=helper['getPackageVersion'](_0x59c0ca[_0x432e3b(0x18d)]),_0x3d5ef3=helper[_0x432e3b(0xc7)](_0x59c0ca[_0x432e3b(0x181)])||helper['getPackageVersion'](_0x59c0ca['OCzyB']),_0x955cd0=_0x29c444?_0x59c0ca[_0x432e3b(0xe7)](require,_0x59c0ca[_0x432e3b(0x166)]):_0x3d5ef3?_0x59c0ca[_0x432e3b(0xfa)](require,_0x59c0ca[_0x432e3b(0x10f)]):null;_0x955cd0&&await _0x955cd0[_0x432e3b(0x1f6)]();}catch(_0x2e62a0){logger[_0x432e3b(0x180)](_0x432e3b(0x17b)+util[_0x432e3b(0x148)](_0x2e62a0));}}await new Promise(_0x5be822=>{const _0x4ce528=_0x432e3b,_0x2866cc={'fHpsz':function(_0x2f47e4,_0x2a89f8){return _0x59c0ca['WRUnX'](_0x2f47e4,_0x2a89f8);},'zzDas':function(_0x5829b3,_0x54dc31){const _0x91fb6=a20_0xf23f;return _0x59c0ca[_0x91fb6(0xe7)](_0x5829b3,_0x54dc31);},'BAcaJ':function(_0x4f3e9e){const _0x31de27=a20_0xf23f;return _0x59c0ca[_0x31de27(0x1f0)](_0x4f3e9e);}},_0x56669d=_0x59c0ca[_0x4ce528(0x1b5)](setInterval,async()=>{const _0x500b1a=_0x4ce528;_0x2866cc[_0x500b1a(0x159)](RequestQueueHandler['getInstance']()[_0x500b1a(0x1a2)],0x0)&&(_0x2866cc['zzDas'](clearInterval,_0x56669d),_0x2866cc[_0x500b1a(0x144)](_0x5be822));},0x3e8);});try{!_0x3f5b78&&await _0x59c0ca[_0x432e3b(0x1f0)](driverCleanup);}catch(_0xce2c55){logger['debug'](_0x432e3b(0x192)+_0xce2c55);const _0x279cba={};_0x279cba[_0x432e3b(0xc6)]=_0x59c0ca[_0x432e3b(0x131)],PerformanceTester['end'](PerformanceHookEvents[_0x432e3b(0x1e7)],![],_0xce2c55,_0x279cba);}process[_0x432e3b(0x1df)]();const _0x22652a={};_0x22652a[_0x432e3b(0xc6)]=_0x59c0ca['SKuIS'],PerformanceTester[_0x432e3b(0x127)](PerformanceHookEvents[_0x432e3b(0x1e7)],!![],null,_0x22652a);},TEST_FRAMEWORK_HOOK_TIMEOUT[a20_0x31d221(0x126)]);
|
|
1
|
+
const a20_0x35a29e=a20_0xcfe2;(function(_0x830159,_0x480ed3){const _0x596952=a20_0xcfe2,_0x560f53=_0x830159();while(!![]){try{const _0x9e2826=-parseInt(_0x596952(0x245))/0x1+parseInt(_0x596952(0x16f))/0x2*(-parseInt(_0x596952(0x161))/0x3)+parseInt(_0x596952(0x237))/0x4+-parseInt(_0x596952(0x1f2))/0x5*(parseInt(_0x596952(0x149))/0x6)+-parseInt(_0x596952(0x1ae))/0x7+-parseInt(_0x596952(0x20e))/0x8+parseInt(_0x596952(0x1bd))/0x9;if(_0x9e2826===_0x480ed3)break;else _0x560f53['push'](_0x560f53['shift']());}catch(_0x139afa){_0x560f53['push'](_0x560f53['shift']());}}}(a20_0x2332,0xc3627));const util=require(a20_0x35a29e(0x178)),helper=require(a20_0x35a29e(0x1fc)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a20_0x35a29e(0x1d5)),{sendPlatformDetails}=require(a20_0x35a29e(0x248)),{isBrowserstackInfra,markSessionStatus}=require('../../helpers/helper');let __error_messages__=[];const RequestQueueHandler=require(a20_0x35a29e(0x207));function a20_0x2332(){const _0x39e10a=['startMonitoring','338948LRxyLD','https:','XLLNL','WaTph','SaDzF','pendingUploads','\x22}}','TransformStream','sFSBt','util','khyMT','Error\x20executing\x20fallback\x20deferred\x20closes:\x20','puppeteer-core','name','isArray','title','Error\x20loading\x20playwright-patcher:\x20','Error\x20executing\x20deferred\x20closes:\x20','jfsrc','platformCaps','pid','isAccessibilityPlatform','uIeaF','Playwright\x20flow\x20detected\x20in\x20beforeEach','sExDT','\x20with\x20testIdentifier:\x20','Exception\x20in\x20jest\x20driver\x20with\x20error:\x20','testAnalyticsId','start','currentTest','inspect','isRunning','afterEach','performScan','uuid','../utils/playwright-patcher','capabilities','beforeEach','emFct','Error\x20loading\x20puppeteer-patcher:\x20','SESSION_STATUS','protocol','afterTestHook','getPackageVersion','debug','info','__currentTestInfo','OKBlo','Error\x20handling\x20Playwright/Puppeteer\x20test\x20cleanup:\x20','lqUOt','\x20flow\x20detected\x20-\x20page\x20exists:\x20','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','Exception\x20in\x20jest\x20driver\x20cleanup\x20with\x20error:\x20','LhWZP','replace','QUIT','StIwF','executeScript','Cleaned\x20up\x20close\x20tracker','bfCoE','shift','quitCount_','Puppeteer\x20flow\x20detected\x20in\x20beforeEach','1764tLEPcB','JEST','BROWSERSTACK_TESTHUB_UUID','cleanup','Unknown\x20Test',',\x20CREATE\x20POST\x20will\x20be\x20triggered\x20when\x20page\x20is\x20created','oQBtJ','zJbJv','fullName','OudIw','QSRDr','getGlobal','CREATE','log','slice','36223695WJqOya','__jestCurrentTestIdentifier','Successfully\x20closed\x20page\x20via\x20fallback','uPhhT','../../helpers/performance/performance-tester','YwNMS','afterAll','Cleaned\x20up\x20page\x20references\x20after\x20deferred\x20closes','Error\x20preparing\x20AutomationFramework\x20events:\x20','executeDeferredCloses','GFusT','HwmVp','../../helpers/performance/constants','pHwdr','description','SYNC','FUrho','uirnc','LQWYj','QUIT\x20PRE\x20event\x20completed\x20for\x20test:\x20','qivem','MtoNq','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','cDkTk','../utils/constants','getTestUUID','oKtVw','TdWhb','ogvyI','__drivers','UltYd','oiLKD','passed','nPGJj','__workerDetails','getAutomationFramework','retryTimes','split','rmgWR','PbRHF','ZVpEK','__platformCaps','bHMmR','iveHf','testcase','../../helpers/globals','mgeil','testContext','context','yYzRl','jest-test','Hiiab','\x22,\x22level\x22:\x20\x22error\x22}}','273175fcBVuk','rFNJq','AhAty','message','wGiYY','SESSION_NAME','initQuit','Executed\x20deferred\x20closes\x20after\x20QUIT\x20PRE\x20event\x20completion','kCDLf','__launchCaps','../../helpers/helper','SDK_HOOK','UuCGF','getPageFromAutomationFramework','Krxdk','Exception\x20in\x20jest\x20percy\x20with\x20error:\x20',',\x20isPlaywrightFlow=','aWbmB','Error\x20determining\x20test\x20flow:\x20','length','bstackA11yShouldScan','../../helpers/test-observability/requestQueueHandler','Exception\x20in\x20jest\x20hook\x20with\x20error:\x20','POST','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','winstonLogger','PERFORM_SCAN','IIRXm','1368888YzHfQr','push','Attempting\x20direct\x20page\x20close\x20fallback\x20for\x20Android','wEOZe','eAHPk','[Jest\x20Setup]\x20beforeEach:\x20testIdentifier=','JtrNu','RpKXe','KGROF','oARDI','includes','end','join','addReporter','browser','testIdentifier','mtmjJ','closeTracker','currentTestName','RNrsO','afterTest','vommB','beforeAll','BzmGd','inside\x20after\x20each\x20jest\x20hook','Exception\x20in\x20jest\x20process\x20event\x20with\x20error:\x20','Test\x20info\x20prepared\x20for\x20CREATE\x20PRE\x20event:\x20','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','QmRlS','@playwright/test','setTimeout','session_','setGlobal','\x22,\x22level\x22:\x20\x22info\x22}}','Error\x20triggering\x20QUIT\x20PRE\x20event:\x20','../v2/state/hookState','Error\x20getting\x20page\x20context/browser:\x20','MsekZ','eYJai','function','../../helpers/testhub/utils','18140OLHGvc','percyCaptureMode','Jest','isPageFixture','testFramework','dXDnI','displayName','page','SICiz','AGJJX','Error\x20cleaning\x20up\x20after\x20deferred\x20closes:\x20','BxnRK','bzaWZ','../utils/puppeteer-patcher','1303843XIdQyw','hookType','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','../../helpers/test-observability/utils','hUCqL','Error\x20cleaning\x20up\x20close\x20tracker:\x20','No\x20patcher\x20available','\x20|\x20','percy','BROWSERSTACK_TESTHUB_JWT','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Passed\x20-\x20','PRE','pClAm','failedExpectations','Successfully\x20executed\x20deferred\x20Playwright\x20closes\x20(with\x20force\x20close)','OgGWb','../v2/browserstackCLI','Error\x20in\x20playwright\x20beforeTestHook:\x20','FiLEz','Flow\x20detection:\x20isSeleniumFlow=','env','close','btDLv','thNVs','ObservabilitySync:','HrQgO','iEOiL','appium:app','puppeteer','browserStackGlobals','XXsCl','getCurrentUrl','CWrRS','VTjCi','launchCaps','pOYDD','ENV_VAR','YzEum',':testAnalyticsId','NJZFx','SwBpt','JThcn','testInfo','../v2/state/automationFrameworkState','../../helpers/accessibility-automation/scripts','wfzLN','../../helpers/accessibility-automation/helper','SAVE_RESULTS','qZdFE','lUvbN','isCliEnabled','getState','app','now','errors','undefined','Puppeteer','174lkMfoY','Error\x20in\x20fallback\x20page\x20close:\x20',',\x22level\x22:\x20\x22','command','CpSOd','powYb','getInstance','browserstackSessionName','testPath','pwPage','XRkKm','TSmXP','browserstackTestName','iarAj','.\x20Error\x20:','wRDgP','trackEvent','failed','executeAsyncScript','hCztt','browserContext','xnfIQ','HpMOn',',\x20testPath=','3mXcghG','NcHRj','../../helpers/percy/utils','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','format','TransformStream\x20polyfill\x20not\x20available:\x20','mMMbj','iHIZB','beforeTestHook','Failed\x20to\x20store\x20session\x20name:\x20','Arfol','VKTUQ','stringify'];a20_0x2332=function(){return _0x39e10a;};return a20_0x2332();}jest[a20_0x35a29e(0x22c)](__timeout);function a20_0xcfe2(_0x2315ff,_0x23aa89){const _0x233296=a20_0x2332();return a20_0xcfe2=function(_0xcfe21c,_0x14f65f){_0xcfe21c=_0xcfe21c-0x120;let _0x621aa3=_0x233296[_0xcfe21c];return _0x621aa3;},a20_0xcfe2(_0x2315ff,_0x23aa89);}const {isAccessibilityAutomationSession,fetchPlatformDetails,shouldScanTestForAccessibility}=require(a20_0x35a29e(0x13e)),{percyAutoCapture}=require(a20_0x35a29e(0x163)),logger=require('../../helpers/logger')[a20_0x35a29e(0x20b)],TestDetails=require('./test-observability/test-details'),PerformanceTester=require(a20_0x35a29e(0x1c1)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a20_0x35a29e(0x1c9)),scripts=require(a20_0x35a29e(0x13c)),globals=require(a20_0x35a29e(0x1ea)),{shouldProcessEventForTesthub}=require(a20_0x35a29e(0x236)),testHubConstants=require('../../helpers/testhub/constants'),{v4:uuidv4}=require(a20_0x35a29e(0x191)),BrowserstackCLI=require('../v2/browserstackCLI'),AutomationFrameworkState=require(a20_0x35a29e(0x13b)),HookState=require(a20_0x35a29e(0x231)),{FRAMEWORKS}=require('../../helpers/test-observability/constants');globals[a20_0x35a29e(0x12d)]=browserStackGlobals;if(typeof global['TransformStream']==='undefined')try{const {TransformStream}=require('stream/web');global[a20_0x35a29e(0x176)]=TransformStream;}catch(a20_0x1e644b){logger['debug'](a20_0x35a29e(0x166)+a20_0x1e644b[a20_0x35a29e(0x1f5)]);}function stripUnicode(_0x3ffea1){const _0x3972d8=a20_0x35a29e;return _0x3ffea1[_0x3972d8(0x1a5)](/\\u001b\[.*?m/g,'')[_0x3972d8(0x1bc)](0x1,-0x1);}async function setContext(){const _0x29fa0d=a20_0x35a29e,_0x52f989={'cDkTk':function(_0x5ac26b){return _0x5ac26b();},'mMMbj':'browserstackTestName','TdWhb':function(_0x24bab0,_0x1fb807){return _0x24bab0!==_0x1fb807;},'YMciL':_0x29fa0d(0x147),'FiLEz':function(_0x21ae09,_0x217918){return _0x21ae09>_0x217918;},'sFSBt':function(_0x5897ff,_0xe5710e){return _0x5897ff(_0xe5710e);},'iHIZB':function(_0x3079bf,_0x9e8006){return _0x3079bf(_0x9e8006);},'sExDT':function(_0x59fffc,_0x474419){return _0x59fffc>_0x474419;},'VTjCi':function(_0x579c81,_0x3e2d8f){return _0x579c81(_0x3e2d8f);}};if(!_0x52f989[_0x29fa0d(0x1d4)](isBrowserstackInfra))return;const _0x40e271=expect[_0x29fa0d(0x143)]()[_0x29fa0d(0x220)];globals['setGlobal'](_0x52f989[_0x29fa0d(0x167)],_0x40e271);!sessionNameProvided&&await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x29fa0d(0x1f7)],async()=>{const _0x31983d=_0x29fa0d;await __drivers[0x0][_0x31983d(0x1a8)](_0x31983d(0x1a2)+_0x40e271+'\x22}}');})();let _0x1bdb81=null,_0x207d1d=![];_0x52f989[_0x29fa0d(0x1d8)](typeof jasmine,_0x52f989['YMciL'])?jasmine[_0x29fa0d(0x18c)][_0x29fa0d(0x252)]&&_0x52f989[_0x29fa0d(0x122)](jasmine[_0x29fa0d(0x18c)][_0x29fa0d(0x252)][_0x29fa0d(0x205)],0x0)?(_0x207d1d=!![],_0x1bdb81=_0x52f989[_0x29fa0d(0x177)](stripUnicode,JSON[_0x29fa0d(0x16d)](jasmine[_0x29fa0d(0x18c)]['failedExpectations'][0x0][_0x29fa0d(0x1f5)]))):_0x1bdb81=_0x52f989[_0x29fa0d(0x168)](stripUnicode,JSON[_0x29fa0d(0x16d)](jasmine[_0x29fa0d(0x18c)][_0x29fa0d(0x1cb)])):testContext[_0x29fa0d(0x146)]&&_0x52f989[_0x29fa0d(0x187)](testContext[_0x29fa0d(0x146)][_0x29fa0d(0x205)],0x0)?(_0x207d1d=!![],_0x1bdb81=_0x52f989[_0x29fa0d(0x131)](stripUnicode,JSON[_0x29fa0d(0x16d)](testContext[_0x29fa0d(0x146)][0x0][0x0][_0x29fa0d(0x1f5)]||testContext['errors'][0x0][0x0]))):_0x1bdb81=_0x52f989[_0x29fa0d(0x168)](stripUnicode,JSON['stringify'](testContext[_0x29fa0d(0x17c)])),_0x207d1d?(__error_messages__[_0x29fa0d(0x20f)](_0x1bdb81),await __drivers[0x0][_0x29fa0d(0x1a8)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Failed\x20-\x20'+_0x1bdb81+_0x29fa0d(0x1f1))):await __drivers[0x0][_0x29fa0d(0x1a8)](_0x29fa0d(0x24f)+_0x1bdb81+_0x29fa0d(0x22f));}const executeAnnotate=async(_0x24fb35,_0x62f34e)=>{const _0x1779fa=a20_0x35a29e;await global[_0x1779fa(0x1da)][0x0][_0x1779fa(0x1a8)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x24fb35+_0x1779fa(0x14b)+_0x62f34e+_0x1779fa(0x175));};async function driverCleanup(){const _0x47f056=a20_0x35a29e,_0x1b1354={'Hiiab':function(_0x57648a){return _0x57648a();},'SICiz':function(_0x31eed9,_0x174636){return _0x31eed9===_0x174636;},'dXDnI':'driverCleanup:\x20No\x20drivers\x20to\x20clean\x20up','pHwdr':'2|3|1|4|0','AbbNN':function(_0x2bc32a,_0x51d2e1){return _0x2bc32a>_0x51d2e1;},'XRkKm':function(_0x514678,_0x8a2ece,_0x133e25,_0x750559){return _0x514678(_0x8a2ece,_0x133e25,_0x750559);},'pdAoy':_0x47f056(0x15a),'btDLv':_0x47f056(0x24c),'KGROF':function(_0x34f096,_0x597b54,_0x423461){return _0x34f096(_0x597b54,_0x423461);},'iveHf':_0x47f056(0x1dd)};if(!_0x1b1354[_0x47f056(0x1f0)](isBrowserstackInfra))return;if(!global[_0x47f056(0x1da)]||!Array[_0x47f056(0x17d)](global['__drivers'])||_0x1b1354[_0x47f056(0x23f)](global[_0x47f056(0x1da)][_0x47f056(0x205)],0x0)){logger[_0x47f056(0x19b)](_0x1b1354[_0x47f056(0x23c)]);return;}let _0x21b044=![];try{const _0x4e9612=_0x1b1354[_0x47f056(0x1ca)][_0x47f056(0x1e2)]('|');let _0x4bcd5d=0x0;while(!![]){switch(_0x4e9612[_0x4bcd5d++]){case'0':PerformanceTester[_0x47f056(0x219)](PerformanceAutEvents[_0x47f056(0x197)],!![]);continue;case'1':_0x21b044=!![];continue;case'2':PerformanceTester['start'](PerformanceAutEvents[_0x47f056(0x197)]);continue;case'3':await global['__drivers'][0x0]['session_'];continue;case'4':_0x1b1354['AbbNN'](__error_messages__[_0x47f056(0x205)],0x0)?await _0x1b1354[_0x47f056(0x153)](markSessionStatus,global[_0x47f056(0x1da)][0x0],_0x1b1354['pdAoy'],__error_messages__[_0x47f056(0x21a)](_0x1b1354[_0x47f056(0x126)])):await _0x1b1354[_0x47f056(0x216)](markSessionStatus,global[_0x47f056(0x1da)][0x0],_0x1b1354[_0x47f056(0x1e8)]);continue;}break;}}catch(_0x1d6d8a){console[_0x47f056(0x1bb)](_0x1d6d8a),PerformanceTester[_0x47f056(0x219)](PerformanceAutEvents[_0x47f056(0x197)],![],_0x1d6d8a);}__error_messages__=[];if(_0x21b044)try{await global['__drivers'][0x0][_0x47f056(0x1f8)]();}catch(_0x5ccd66){console[_0x47f056(0x1bb)](_0x5ccd66);}}beforeAll(async()=>{const _0x5e3fee=a20_0x35a29e,_0x1c6475={'rFNJq':function(_0x41940c,_0x51d721){return _0x41940c!==_0x51d721;},'AGJJX':'undefined','UPxxd':function(_0x3e9f7e,_0x5f23b2){return _0x3e9f7e>_0x5f23b2;},'qZdFE':_0x5e3fee(0x224),'eAHPk':function(_0x505698){return _0x505698();},'SaDzF':function(_0x46b3a6,_0x17faf2,_0xb2666e){return _0x46b3a6(_0x17faf2,_0xb2666e);}};__error_messages__=[];!global['__drivers']&&(global['__drivers']=[]);PerformanceTester[_0x5e3fee(0x16e)](),PerformanceTester['start'](PerformanceHookEvents[_0x5e3fee(0x1fd)]);_0x1c6475[_0x5e3fee(0x1f3)](typeof __jestRetries,_0x1c6475[_0x5e3fee(0x240)])&&_0x1c6475['UPxxd'](__jestRetries,0x0)&&jest[_0x5e3fee(0x1e1)](__jestRetries);const _0x3dd45b='browserstack internal helper hook';_0x1c6475['rFNJq'](typeof jasmine,_0x1c6475[_0x5e3fee(0x240)])&&jasmine['getEnv']()[_0x5e3fee(0x21b)]({'specStarted':_0xbef052=>{jasmine['currentTest']=_0xbef052;}});let _0x29947c=![];try{await __drivers[0x0][_0x5e3fee(0x22d)],_0x29947c=!![];}catch(_0x454289){logger[_0x5e3fee(0x19b)](_0x5e3fee(0x189)+_0x454289);const _0x279e7b={};_0x279e7b[_0x5e3fee(0x246)]=_0x1c6475[_0x5e3fee(0x140)],PerformanceTester[_0x5e3fee(0x219)](PerformanceHookEvents['SDK_HOOK'],![],_0x454289,_0x279e7b);}if(_0x29947c)try{_0x1c6475[_0x5e3fee(0x212)](shouldProcessEventForTesthub)&&(__drivers[0x0]&&await _0x1c6475[_0x5e3fee(0x173)](sendPlatformDetails,__drivers[0x0],TestDetails[_0x5e3fee(0x1d6)](process[_0x5e3fee(0x183)]+':testAnalyticsId')));}catch(_0x1f3984){logger[_0x5e3fee(0x19b)](_0x5e3fee(0x227)+_0x1f3984);const _0x1132c7={};_0x1132c7[_0x5e3fee(0x246)]=_0x1c6475[_0x5e3fee(0x140)],PerformanceTester[_0x5e3fee(0x219)](PerformanceHookEvents[_0x5e3fee(0x1fd)],![],_0x1f3984,_0x1132c7);}const _0x5cf9b8={};_0x5cf9b8['hookType']=_0x1c6475[_0x5e3fee(0x140)],PerformanceTester[_0x5e3fee(0x219)](PerformanceHookEvents[_0x5e3fee(0x1fd)],!![],null,_0x5cf9b8);}),beforeEach(async()=>{const _0x957709=a20_0x35a29e,_0x56fa35={'mgeil':'inside\x20before\x20each\x20jest\x20hook','pClAm':_0x957709(0x155),'bHMmR':function(_0x4f828b,_0x3addf5,_0x352e1d){return _0x4f828b(_0x3addf5,_0x352e1d);},'wEOZe':'@playwright/test','yuPdy':_0x957709(0x12c),'PbRHF':_0x957709(0x17b),'kCDLf':function(_0x3b5ceb,_0x8cd643){return _0x3b5ceb(_0x8cd643);},'zJbJv':_0x957709(0x192),'SPHwA':_0x957709(0x186),'tPOeg':function(_0x432d4e,_0x399e1f){return _0x432d4e(_0x399e1f);},'AhAty':_0x957709(0x244),'wRDgP':_0x957709(0x1ad),'nPGJj':'2|1|3|0|4','MsekZ':function(_0x3785b8,_0x404b5b){return _0x3785b8>_0x404b5b;},'OudIw':function(_0x2d6baf,_0x3725e6){return _0x2d6baf>_0x3725e6;},'ogvyI':function(_0xf57d3c){return _0xf57d3c();},'JtrNu':function(_0x2da42d,_0x456414){return _0x2da42d>_0x456414;},'UuCGF':_0x957709(0x194),'Arfol':_0x957709(0x206),'vommB':function(_0x41250a,_0x58b641){return _0x41250a>_0x58b641;},'TSmXP':'isAccessibilityPlatform','wfzLN':function(_0x26ece2,_0x44417e){return _0x26ece2===_0x44417e;},'LOtfg':'http:','fxcnc':function(_0x529663,_0x2149a3){return _0x529663===_0x2149a3;},'OgGWb':_0x957709(0x170),'yYzRl':_0x957709(0x1d3),'hzTFF':function(_0x1b730c,_0x3445b1){return _0x1b730c(_0x3445b1);},'pOYDD':_0x957709(0x120),'HPYAM':function(_0x1eaed8,_0x1ab851){return _0x1eaed8(_0x1ab851);},'GFusT':'../utils/constants','iEOiL':function(_0x4aa6d4,_0x53864d){return _0x4aa6d4(_0x53864d);},'uIeaF':_0x957709(0x13b),'hUCqL':function(_0x56c07f,_0x290da3){return _0x56c07f(_0x290da3);},'QSRDr':_0x957709(0x231),'jfsrc':function(_0x585703,_0xbea02c){return _0x585703||_0xbea02c;},'XLLNL':'Unknown\x20Test','TLNFO':_0x957709(0x1ef),'vwpcz':function(_0xd868b0,_0x356728){return _0xd868b0&&_0x356728;},'powYb':_0x957709(0x235),'FUrho':function(_0x3ddcb0,_0x2237a2){return _0x3ddcb0===_0x2237a2;},'BzmGd':function(_0x22208d,_0x1544dc){return _0x22208d===_0x1544dc;}};logger[_0x957709(0x19b)](_0x56fa35[_0x957709(0x1eb)]),PerformanceTester['start'](PerformanceHookEvents[_0x957709(0x1fd)]);const _0x230bf0='browserstack internal helper hook';let _0x7025a4=!![],_0x33721e=null;try{const _0x4dba3f=expect[_0x957709(0x143)]()[_0x957709(0x220)];globals['setGlobal'](_0x56fa35[_0x957709(0x251)],_0x4dba3f);const _0xb4788c=_0x56fa35[_0x957709(0x1e7)](shouldScanTestForAccessibility,_0x4dba3f,![]),_0x2ddd9d=helper[_0x957709(0x19a)](_0x56fa35[_0x957709(0x211)]),_0x5a04a5=helper['getPackageVersion'](_0x56fa35['yuPdy'])||helper[_0x957709(0x19a)](_0x56fa35[_0x957709(0x1e4)]);if(!!_0x2ddd9d)try{_0x33721e=_0x56fa35[_0x957709(0x1fa)](require,_0x56fa35[_0x957709(0x1b5)]),logger[_0x957709(0x19b)](_0x56fa35['SPHwA']);}catch(_0x4238f0){logger[_0x957709(0x19b)](_0x957709(0x17f)+util['format'](_0x4238f0));}else{if(!!_0x5a04a5)try{_0x33721e=_0x56fa35['tPOeg'](require,_0x56fa35[_0x957709(0x1f4)]),logger[_0x957709(0x19b)](_0x56fa35[_0x957709(0x158)]);}catch(_0x110656){logger[_0x957709(0x19b)](_0x957709(0x196)+util[_0x957709(0x165)](_0x110656));}}try{const _0x2d82e0=_0x56fa35[_0x957709(0x1de)][_0x957709(0x1e2)]('|');let _0x11b996=0x0;while(!![]){switch(_0x2d82e0[_0x11b996++]){case'0':_0x33721e&&_0x56fa35[_0x957709(0x233)](__drivers[_0x957709(0x205)],0x0)&&(__drivers[0x0]['browserstackSessionName']=_0x4dba3f,__drivers[0x0]['bstackA11yShouldScan']=_0xb4788c);continue;case'1':global[_0x957709(0x150)]=_0x4dba3f;continue;case'2':Array[_0x957709(0x17d)](__drivers)&&__drivers[0x0]&&(__drivers[0x0]['browserstackSessionName']=_0x4dba3f);continue;case'3':!_0x33721e&&_0x56fa35[_0x957709(0x1b7)](__drivers[_0x957709(0x205)],0x1)&&(await _0x56fa35[_0x957709(0x1d9)](driverCleanup),__drivers['shift']());continue;case'4':!_0x33721e&&_0x56fa35[_0x957709(0x233)](__drivers['length'],0x0)&&_0x56fa35[_0x957709(0x214)](__drivers[0x0]['quitCount_'],0x0)&&(_0x7025a4=![],await _0x56fa35['ogvyI'](driverCleanup));continue;}break;}}catch(_0xed157d){logger['debug'](_0x957709(0x16a)+_0xed157d);const _0x589011={};_0x589011[_0x957709(0x246)]=_0x56fa35[_0x957709(0x1fe)],PerformanceTester[_0x957709(0x219)](PerformanceHookEvents[_0x957709(0x1fd)],![],_0xed157d,_0x589011);}globals[_0x957709(0x22e)](_0x56fa35[_0x957709(0x16b)],_0xb4788c);if(global[_0x957709(0x1df)]){const _0x5175e5=expect[_0x957709(0x143)]()['testPath'],_0x44b69e=global[_0x957709(0x1be)],_0x48791b=expect['getState']()[_0x957709(0x220)]||_0x4dba3f,_0x348d3c={};_0x348d3c['id']=_0x44b69e,_0x348d3c[_0x957709(0x18a)]=_0x44b69e,_0x348d3c[_0x957709(0x13a)]={},_0x348d3c[_0x957709(0x13a)][_0x957709(0x17e)]=_0x4dba3f,_0x348d3c[_0x957709(0x13a)][_0x957709(0x1b6)]=_0x48791b,_0x348d3c[_0x957709(0x13a)][_0x957709(0x23d)]=_0x4dba3f,_0x348d3c[_0x957709(0x13a)][_0x957709(0x17c)]=_0x48791b,_0x348d3c[_0x957709(0x13a)]['testPath']=_0x5175e5,_0x348d3c[_0x957709(0x13a)][_0x957709(0x21d)]=_0x44b69e,global[_0x957709(0x1df)][_0x957709(0x18c)]=_0x348d3c,logger['debug'](_0x957709(0x213)+_0x44b69e+',\x20testName='+_0x4dba3f+_0x957709(0x160)+_0x5175e5);}if(!_0x33721e&&_0x56fa35['ogvyI'](isAccessibilityAutomationSession)&&_0x7025a4&&Array[_0x957709(0x17d)](__drivers)&&_0x56fa35['vommB'](__drivers['length'],0x0)&&globals[_0x957709(0x1b9)](_0x56fa35[_0x957709(0x154)]))try{const _0x5c87c9=await __drivers[0x0]['session_'];if(_0x5c87c9){let _0x2a5872=!![];const _0xb6bf49=await __drivers[0x0][_0x957709(0x12f)]();let _0x3dfa41;try{_0x3dfa41=new URL(_0xb6bf49);}catch(_0x3be89b){_0x2a5872=![];}_0x2a5872=_0x56fa35[_0x957709(0x13d)](_0x3dfa41[_0x957709(0x198)],_0x56fa35['LOtfg'])||_0x56fa35['fxcnc'](_0x3dfa41[_0x957709(0x198)],_0x56fa35[_0x957709(0x254)]),_0x2a5872&&(_0xb4788c&&logger[_0x957709(0x19c)](_0x56fa35[_0x957709(0x1ee)]));}}catch(_0x4122ad){logger['error'](_0x957709(0x229)+_0x4122ad);const _0x3dfea0={};_0x3dfea0['hookType']=_0x56fa35[_0x957709(0x1fe)],PerformanceTester[_0x957709(0x219)](PerformanceHookEvents[_0x957709(0x1fd)],![],er,_0x3dfea0);}if(_0x33721e&&global[_0x957709(0x1df)]&&global[_0x957709(0x1df)]['currentTest'])try{await _0x33721e[_0x957709(0x169)](global[_0x957709(0x1df)]['currentTest']['testInfo']);}catch(_0x4efdc0){logger[_0x957709(0x19b)](_0x957709(0x121)+util[_0x957709(0x165)](_0x4efdc0));}if(_0x33721e&&global[_0x957709(0x1df)]&&global[_0x957709(0x1df)]['currentTest'])try{const _0x32d01b=_0x56fa35['hzTFF'](require,_0x56fa35[_0x957709(0x133)]),{FRAMEWORKS:_0xd7fb66}=_0x56fa35['HPYAM'](require,_0x56fa35[_0x957709(0x1c7)]),_0x2959c1=_0x56fa35[_0x957709(0x12a)](require,_0x56fa35[_0x957709(0x185)]),_0xc5784f=_0x56fa35[_0x957709(0x249)](require,_0x56fa35[_0x957709(0x1b8)]);if(_0x32d01b[_0x957709(0x14f)]()[_0x957709(0x142)]()&&_0x32d01b[_0x957709(0x14f)]()['isRunning']()){const _0x300b27={'title':_0x56fa35[_0x957709(0x181)](_0x4dba3f,_0x56fa35[_0x957709(0x171)]),'titlePath':[_0x56fa35[_0x957709(0x181)](_0x4dba3f,_0x56fa35[_0x957709(0x171)])],'id':global['__workerDetails'][_0x957709(0x18c)]['id']||_0x56fa35['TLNFO'],'testAnalyticsId':global['__workerDetails'][_0x957709(0x18c)]['testAnalyticsId'],'testPath':global[_0x957709(0x1df)][_0x957709(0x18c)][_0x957709(0x13a)]?.[_0x957709(0x151)],...global[_0x957709(0x1df)][_0x957709(0x18c)][_0x957709(0x13a)]};global[_0x957709(0x19d)]=_0x300b27,logger[_0x957709(0x19b)](_0x957709(0x228)+_0x4dba3f);try{const _0x4ea440=global[_0x957709(0x1df)]?.[_0x957709(0x152)]||_0x33721e['getPageFromAutomationFramework']();if(_0x4ea440){const _0x463f9e=_0x56fa35['vwpcz'](!!_0x5a04a5,!_0x2ddd9d);let _0x68ac10=null,_0x17cc69=null;try{_0x463f9e?(_0x68ac10=_0x56fa35[_0x957709(0x13d)](typeof _0x4ea440[_0x957709(0x15d)],_0x56fa35[_0x957709(0x14e)])?_0x4ea440[_0x957709(0x15d)]():null,_0x17cc69=_0x56fa35[_0x957709(0x1cd)](typeof _0x4ea440[_0x957709(0x21c)],_0x56fa35[_0x957709(0x14e)])?_0x4ea440[_0x957709(0x21c)]():null):(_0x68ac10=_0x56fa35['fxcnc'](typeof _0x4ea440[_0x957709(0x1ed)],_0x56fa35['powYb'])?_0x4ea440[_0x957709(0x1ed)]():null,_0x17cc69=_0x68ac10&&_0x56fa35[_0x957709(0x225)](typeof _0x68ac10[_0x957709(0x21c)],_0x56fa35['powYb'])?_0x68ac10[_0x957709(0x21c)]():null);}catch(_0x1fdd77){logger['debug'](_0x957709(0x232)+_0x1fdd77[_0x957709(0x1f5)]);}const _0x33be3d={};_0x33be3d[_0x957709(0x23e)]=_0x4ea440,_0x33be3d[_0x957709(0x1ed)]=_0x68ac10,_0x33be3d['browser']=_0x17cc69,_0x33be3d[_0x957709(0x13a)]=_0x300b27,_0x33be3d[_0x957709(0x23b)]=_0xd7fb66['JEST'],_0x33be3d[_0x957709(0x132)]=global[_0x957709(0x1fb)],_0x33be3d[_0x957709(0x182)]=global[_0x957709(0x1e6)],await _0x32d01b['getInstance']()['getAutomationFramework']()[_0x957709(0x159)](_0x2959c1[_0x957709(0x1ba)],_0xc5784f[_0x957709(0x209)],_0x33be3d),logger[_0x957709(0x19b)]('[Jest\x20Setup]\x20Triggered\x20CREATE\x20POST\x20event\x20for\x20test:\x20'+_0x4dba3f+_0x957709(0x188)+(_0x300b27['testAnalyticsId']||_0x300b27['id']));}else logger['debug']('No\x20page\x20available\x20yet\x20for\x20test:\x20'+_0x4dba3f+_0x957709(0x1b3));}catch(_0x4aa0fd){logger[_0x957709(0x19b)]('Error\x20triggering\x20CREATE\x20POST\x20event\x20for\x20test:\x20'+util[_0x957709(0x165)](_0x4aa0fd));}}}catch(_0x356fd4){logger[_0x957709(0x19b)](_0x957709(0x1c5)+util['format'](_0x356fd4));}!_0x33721e&&_0x56fa35[_0x957709(0x214)](__drivers[_0x957709(0x205)],0x0)&&_0x56fa35[_0x957709(0x223)](__drivers[0x0]['quitCount_'],0x0)&&await _0x56fa35[_0x957709(0x1d9)](driverCleanup);}catch(_0x52841b){logger[_0x957709(0x19b)](_0x957709(0x208)+_0x52841b);const _0x2da3e0={};_0x2da3e0[_0x957709(0x246)]=_0x56fa35[_0x957709(0x1fe)],PerformanceTester[_0x957709(0x219)](PerformanceHookEvents['SDK_HOOK'],![],_0x52841b,_0x2da3e0);}const _0x400c9f={};_0x400c9f[_0x957709(0x246)]=_0x56fa35[_0x957709(0x1fe)],PerformanceTester['end'](PerformanceHookEvents[_0x957709(0x1fd)],!![],null,_0x400c9f);}),afterEach(async()=>{const _0x158e17=a20_0x35a29e,_0x3fce97={'LhWZP':_0x158e17(0x226),'rmgWR':function(_0x52ebf7,_0x52e47b){return _0x52ebf7>_0x52e47b;},'WaTph':_0x158e17(0x22b),'HwmVp':_0x158e17(0x12c),'LQWYj':_0x158e17(0x17b),'StIwF':function(_0x5a384a,_0xd29802){return _0x5a384a(_0xd29802);},'LSLjD':_0x158e17(0x192),'KbUam':_0x158e17(0x244),'tAkYX':'Playwright','ZVpEK':_0x158e17(0x148),'lGvBH':function(_0x4df119,_0x221918){return _0x4df119!==_0x221918;},'qivem':_0x158e17(0x147),'eYJai':function(_0x350d81,_0x26e1db){return _0x350d81>_0x26e1db;},'iarAj':_0x158e17(0x15a),'jJTaW':_0x158e17(0x1dd),'CpSOd':function(_0x2f5c7e,_0x410894){return _0x2f5c7e&&_0x410894;},'hCztt':_0x158e17(0x1b2),'oQBtJ':_0x158e17(0x1ef),'IIRXm':'Skipping\x20afterTestHook\x20-\x20workerDetails\x20or\x20currentTest\x20not\x20available','lUvbN':_0x158e17(0x1f9),'oiLKD':_0x158e17(0x1a9),'bzaWZ':'Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','khyMT':function(_0x2d2962){return _0x2d2962();},'rXtIx':function(_0x518bc3,_0x26c6ff){return _0x518bc3===_0x26c6ff;},'BxnRK':_0x158e17(0x1e9),'JThcn':_0x158e17(0x12b),'QmRlS':function(_0x6d5bbf,_0x13ca2c,_0x2faabe,_0x145e84){return _0x6d5bbf(_0x13ca2c,_0x2faabe,_0x145e84);},'wGiYY':_0x158e17(0x18f),'UltYd':function(_0x4a4039,_0x3b5470,_0x97089a){return _0x4a4039(_0x3b5470,_0x97089a);},'lqUOt':_0x158e17(0x184),'TKmlM':_0x158e17(0x206),'HrQgO':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.','oKtVw':'Performing\x20scan\x20before\x20saving\x20results','uPhhT':_0x158e17(0x222),'thNVs':_0x158e17(0x247),'uirnc':function(_0x141477){return _0x141477();},'HpMOn':function(_0x10d779){return _0x10d779();},'ITgtT':function(_0x437c43,_0x65970e){return _0x437c43>_0x65970e;},'Krxdk':function(_0x1f8df5){return _0x1f8df5();},'NJZFx':_0x158e17(0x19b),'NcHRj':function(_0x394387,_0x4e814c){return _0x394387>_0x4e814c;},'oARDI':function(_0x5d7b46,_0x18ef18){return _0x5d7b46>_0x18ef18;}};logger[_0x158e17(0x19b)](_0x3fce97[_0x158e17(0x1a4)]),PerformanceTester[_0x158e17(0x18b)](PerformanceHookEvents[_0x158e17(0x1fd)]);const _0x5cd924='browserstack internal helper hook';let _0x200232=![],_0x42def5=![],_0x56c3e4=null;try{global[_0x158e17(0x1da)]&&_0x3fce97[_0x158e17(0x1e3)](global[_0x158e17(0x1da)][_0x158e17(0x205)],0x0)&&(_0x200232=!![]);if(global['__workerDetails']&&global[_0x158e17(0x1df)][_0x158e17(0x152)]){const _0x1b8254=helper['getPackageVersion'](_0x3fce97[_0x158e17(0x172)]),_0x19d9b=helper['getPackageVersion'](_0x3fce97[_0x158e17(0x1c8)])||helper[_0x158e17(0x19a)](_0x3fce97[_0x158e17(0x1cf)]);try{if(_0x1b8254)_0x56c3e4=_0x3fce97['StIwF'](require,_0x3fce97['LSLjD']);else _0x19d9b&&(_0x56c3e4=_0x3fce97['StIwF'](require,_0x3fce97['KbUam']));_0x42def5=!![],logger[_0x158e17(0x19b)]((_0x1b8254?_0x3fce97['tAkYX']:_0x3fce97[_0x158e17(0x1e5)])+_0x158e17(0x1a1)+!!global['__workerDetails'][_0x158e17(0x152)]);}catch(_0x117b75){logger[_0x158e17(0x19b)]('Error\x20loading\x20patcher\x20in\x20afterEach:\x20'+util['format'](_0x117b75));}}}catch(_0x557755){logger[_0x158e17(0x19b)](_0x158e17(0x204)+_0x557755);}logger['debug'](_0x158e17(0x123)+_0x200232+_0x158e17(0x202)+_0x42def5);if(_0x42def5){const _0x30db3c=_0x56c3e4[_0x158e17(0x1ff)]();try{let _0x382bc0=null,_0x1e19d1=![];if(_0x3fce97['lGvBH'](typeof jasmine,_0x3fce97[_0x158e17(0x1d1)]))jasmine[_0x158e17(0x18c)][_0x158e17(0x252)]&&_0x3fce97[_0x158e17(0x1e3)](jasmine['currentTest']['failedExpectations']['length'],0x0)?(_0x1e19d1=!![],_0x382bc0=_0x3fce97[_0x158e17(0x1a7)](stripUnicode,JSON[_0x158e17(0x16d)](jasmine[_0x158e17(0x18c)][_0x158e17(0x252)][0x0][_0x158e17(0x1f5)]))):_0x382bc0=_0x3fce97['StIwF'](stripUnicode,JSON['stringify'](jasmine[_0x158e17(0x18c)][_0x158e17(0x1cb)]));else{logger[_0x158e17(0x19b)]('from\x20else\x20block\x20jest\x20test\x20failed\x20playwright\x20flow:\x20'+util[_0x158e17(0x18d)](testContext));const _0x34e6a8=global[_0x158e17(0x1ec)]||testContext,_0xfe7906=_0x34e6a8&&_0x34e6a8[_0x158e17(0x146)]?_0x34e6a8[_0x158e17(0x146)]:[];if(_0x3fce97['eYJai'](_0xfe7906[_0x158e17(0x205)],0x0)){_0x1e19d1=!![];const _0x34a6ba=Array[_0x158e17(0x17d)](_0xfe7906[0x0])?_0xfe7906[0x0][0x0]:_0xfe7906[0x0];_0x382bc0=_0x3fce97[_0x158e17(0x1a7)](stripUnicode,JSON['stringify'](_0x34a6ba[_0x158e17(0x1f5)]||_0x34a6ba));}else _0x382bc0=_0x3fce97[_0x158e17(0x1a7)](stripUnicode,JSON['stringify'](_0x34e6a8?_0x34e6a8[_0x158e17(0x17c)]:testContext['name']));}const _0x5adece=_0x1e19d1?_0x3fce97[_0x158e17(0x156)]:_0x3fce97['jJTaW'];_0x3fce97[_0x158e17(0x14d)](_0x1e19d1,_0x382bc0)&&!__error_messages__[_0x158e17(0x218)](_0x382bc0)&&__error_messages__[_0x158e17(0x20f)](_0x382bc0);const _0x35c451={'title':global['__workerDetails']?.[_0x158e17(0x18c)]?.[_0x158e17(0x13a)]?.['title']||_0x3fce97[_0x158e17(0x15c)],'titlePath':[global[_0x158e17(0x1df)]?.['currentTest']?.[_0x158e17(0x13a)]?.['title']||_0x3fce97['hCztt']],'id':global[_0x158e17(0x1df)]?.[_0x158e17(0x18c)]?.['id']||_0x3fce97[_0x158e17(0x1b4)],'status':_0x5adece,'error':_0x382bc0?{'message':_0x382bc0}:null,'testAnalyticsId':global[_0x158e17(0x1df)]?.[_0x158e17(0x18c)]?.[_0x158e17(0x18a)],'testPath':global[_0x158e17(0x1df)]?.[_0x158e17(0x18c)]?.[_0x158e17(0x13a)]?.['testPath'],...global[_0x158e17(0x1df)][_0x158e17(0x18c)]['testInfo']},_0x4d2ae2=_0x35c451;try{if(BrowserstackCLI[_0x158e17(0x14f)]()[_0x158e17(0x142)]()&&BrowserstackCLI[_0x158e17(0x14f)]()[_0x158e17(0x18e)]()){const _0x58148f={};_0x58148f[_0x158e17(0x13a)]=_0x4d2ae2,_0x58148f[_0x158e17(0x23e)]=_0x30db3c,_0x58148f[_0x158e17(0x23b)]=FRAMEWORKS[_0x158e17(0x1af)],await BrowserstackCLI['getInstance']()[_0x158e17(0x1e0)]()[_0x158e17(0x159)](AutomationFrameworkState[_0x158e17(0x1a6)],HookState[_0x158e17(0x250)],_0x58148f),logger[_0x158e17(0x19b)](_0x158e17(0x1d0)+_0x4d2ae2['title']);}}catch(_0x176c9f){logger['debug'](_0x158e17(0x230)+util['format'](_0x176c9f));}global[_0x158e17(0x1df)]&&global[_0x158e17(0x1df)][_0x158e17(0x18c)]&&global[_0x158e17(0x1df)][_0x158e17(0x18c)]['testInfo']?await _0x56c3e4[_0x158e17(0x199)](global['__workerDetails'][_0x158e17(0x18c)]['testInfo'],_0x5adece,_0x1e19d1?_0x382bc0:null):logger[_0x158e17(0x19b)](_0x3fce97[_0x158e17(0x20d)]);try{await _0x56c3e4[_0x158e17(0x1c6)](),logger[_0x158e17(0x19b)](_0x3fce97[_0x158e17(0x141)]);}catch(_0x3c2aaa){logger[_0x158e17(0x19b)](_0x158e17(0x180)+util['format'](_0x3c2aaa));}try{_0x56c3e4[_0x158e17(0x21f)]['cleanup'](),logger[_0x158e17(0x19b)](_0x3fce97[_0x158e17(0x1dc)]);}catch(_0x817c33){logger[_0x158e17(0x19b)](_0x158e17(0x24a)+util['format'](_0x817c33));}}catch(_0x3c5efb){logger[_0x158e17(0x19b)]('Error\x20in\x20pw-jest\x20afterEach:\x20'+util[_0x158e17(0x165)](_0x3c5efb));try{_0x56c3e4[_0x158e17(0x1c6)]&&(await _0x56c3e4[_0x158e17(0x1c6)](),logger[_0x158e17(0x19b)](_0x3fce97[_0x158e17(0x243)]));}catch(_0x341292){logger[_0x158e17(0x19b)](_0x158e17(0x17a)+util[_0x158e17(0x165)](_0x341292));}}}else try{!_0x42def5&&_0x3fce97[_0x158e17(0x234)](__drivers[_0x158e17(0x205)],0x1)&&(await _0x3fce97[_0x158e17(0x179)](driverCleanup),__drivers[_0x158e17(0x1ab)]());try{if(global[_0x158e17(0x24d)]&&_0x3fce97['rXtIx'](global[_0x158e17(0x238)],_0x3fce97[_0x158e17(0x242)])&&__drivers[0x0]){const _0x33fbac=_0x3fce97['eYJai'](global['capabilities']['length'],0x0)?!!global[_0x158e17(0x193)][0x0][_0x158e17(0x144)]||!!global[_0x158e17(0x193)][0x0][_0x3fce97[_0x158e17(0x139)]]:![],_0x20e798={};_0x20e798[_0x158e17(0x144)]=_0x33fbac,await _0x3fce97[_0x158e17(0x22a)](percyAutoCapture,__drivers[0x0],_0x3fce97['BxnRK'],_0x20e798);}}catch(_0x35a0b1){logger['debug'](_0x158e17(0x201)+_0x35a0b1);const _0x336554={};_0x336554[_0x158e17(0x246)]=_0x3fce97[_0x158e17(0x1f6)],PerformanceTester[_0x158e17(0x219)](PerformanceHookEvents[_0x158e17(0x1fd)],![],_0x35a0b1,_0x336554);}const _0x28fc10=_0x3fce97[_0x158e17(0x1db)](shouldScanTestForAccessibility,expect[_0x158e17(0x143)]()['currentTestName'],![]);try{if(_0x3fce97[_0x158e17(0x179)](isAccessibilityAutomationSession)&&globals[_0x158e17(0x1b9)](_0x3fce97[_0x158e17(0x1a0)])&&globals[_0x158e17(0x1b9)](_0x3fce97['TKmlM'])){logger[_0x158e17(0x19c)](_0x3fce97[_0x158e17(0x129)]);const _0x29e929={'thTestRunUuid':TestDetails[_0x158e17(0x1d6)](process['pid']+_0x158e17(0x136)),'thBuildUuid':process['env'][testHubConstants[_0x158e17(0x134)][_0x158e17(0x1b0)]],'thJwtToken':process[_0x158e17(0x124)][testHubConstants[_0x158e17(0x134)][_0x158e17(0x24e)]]};logger[_0x158e17(0x19b)](_0x158e17(0x164)+JSON[_0x158e17(0x16d)](_0x29e929)),logger[_0x158e17(0x19b)](_0x3fce97[_0x158e17(0x1d7)]);const _0x2055ae={};_0x2055ae[_0x158e17(0x14c)]=_0x3fce97[_0x158e17(0x1c0)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x158e17(0x20c)],async()=>{const _0x494d11=_0x158e17;logger[_0x494d11(0x19b)](util[_0x494d11(0x165)](await __drivers[0x0]['executeAsyncScript'](scripts[_0x494d11(0x190)],{'method':expect[_0x494d11(0x143)]()['currentTestName']})));},_0x2055ae)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x158e17(0x13f)],async()=>{const _0x28c74b=_0x158e17;await __drivers[0x0][_0x28c74b(0x15b)](scripts['saveTestResults'],_0x29e929);})(),logger['info'](_0x3fce97[_0x158e17(0x127)]);}}catch(_0x436a46){logger['error'](_0x158e17(0x20a)+expect['getState']()[_0x158e17(0x220)]+_0x158e17(0x157),_0x436a46);}await _0x3fce97[_0x158e17(0x1ce)](setContext);try{if(_0x3fce97[_0x158e17(0x15f)](shouldProcessEventForTesthub)){_0x3fce97['ITgtT'](global[_0x158e17(0x1da)][_0x158e17(0x205)],0x0)&&global[_0x158e17(0x1da)][0x0]&&await _0x3fce97[_0x158e17(0x1db)](sendPlatformDetails,global['__drivers'][0x0],TestDetails[_0x158e17(0x1d6)](process['pid']+_0x158e17(0x136)));if(_0x3fce97[_0x158e17(0x200)](isBrowserstackInfra)){PerformanceTester[_0x158e17(0x18b)](PerformanceO11yEvents['SYNC']);const _0x7442c1=_0x158e17(0x128)+Date[_0x158e17(0x145)]();await _0x3fce97[_0x158e17(0x1db)](executeAnnotate,JSON[_0x158e17(0x16d)](_0x7442c1),_0x3fce97[_0x158e17(0x137)]),PerformanceTester[_0x158e17(0x219)](PerformanceO11yEvents[_0x158e17(0x1cc)]);}}}catch(_0x237882){logger['debug'](_0x158e17(0x227)+_0x237882),PerformanceTester[_0x158e17(0x219)](PerformanceO11yEvents[_0x158e17(0x1cc)],![],_0x237882);}!_0x42def5&&_0x3fce97[_0x158e17(0x162)](__drivers['length'],0x0)&&_0x3fce97[_0x158e17(0x217)](__drivers[0x0][_0x158e17(0x1ac)],0x0)&&await _0x3fce97[_0x158e17(0x179)](driverCleanup);const _0x3350d0={};_0x3350d0[_0x158e17(0x246)]=_0x3fce97[_0x158e17(0x1f6)],PerformanceTester[_0x158e17(0x219)](PerformanceHookEvents[_0x158e17(0x1fd)],!![],null,_0x3350d0);}catch(_0x4ebfc0){logger[_0x158e17(0x19b)](_0x158e17(0x189)+_0x4ebfc0);const _0x7e5831={};_0x7e5831['hookType']=_0x3fce97['wGiYY'],PerformanceTester[_0x158e17(0x219)](PerformanceHookEvents[_0x158e17(0x1fd)],![],_0x4ebfc0,_0x7e5831);}},TEST_FRAMEWORK_HOOK_TIMEOUT[a20_0x35a29e(0x239)]),afterAll(async()=>{const _0x5b1b1d=a20_0x35a29e,_0x3772b5={'RNrsO':function(_0x281a58,_0x6c086b){return _0x281a58<=_0x6c086b;},'CWrRS':function(_0x2a1faa,_0x98b249){return _0x2a1faa(_0x98b249);},'YFVpR':function(_0x287429){return _0x287429();},'VKTUQ':function(_0x4f8cfb,_0x165c63,_0x1cc537){return _0x4f8cfb(_0x165c63,_0x1cc537);},'yLSuY':'Jest','xnfIQ':'@playwright/test','YzEum':_0x5b1b1d(0x12c),'aWbmB':'puppeteer-core','SwBpt':_0x5b1b1d(0x192),'OKBlo':_0x5b1b1d(0x244),'lknix':_0x5b1b1d(0x24b),'QJPzE':function(_0x352e1e,_0x3626e5){return _0x352e1e||_0x3626e5;},'mtmjJ':_0x5b1b1d(0x253),'bfCoE':_0x5b1b1d(0x210),'RpKXe':function(_0x31318a,_0x30cce0){return _0x31318a===_0x30cce0;},'YwNMS':_0x5b1b1d(0x235),'MtoNq':_0x5b1b1d(0x1bf),'XXsCl':'Cleaned\x20up\x20close\x20tracker\x20after\x20deferred\x20closes','emFct':_0x5b1b1d(0x1c4),'ZXzht':function(_0x5c0f3d){return _0x5c0f3d();},'xZhOG':_0x5b1b1d(0x1c3)};PerformanceTester[_0x5b1b1d(0x18b)](PerformanceHookEvents[_0x5b1b1d(0x1fd)]),jest[_0x5b1b1d(0x22c)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x3772b5['yLSuY']]),PerformanceTester['stopMonitoring']();const _0x5a8217='browserstack internal helper hook';let _0x2d1ea0=![];try{const _0x1245d3=helper['getPackageVersion'](_0x3772b5['xnfIQ']),_0x48e151=helper[_0x5b1b1d(0x19a)](_0x3772b5[_0x5b1b1d(0x135)])||helper[_0x5b1b1d(0x19a)](_0x3772b5[_0x5b1b1d(0x203)]),_0x28fbf4=_0x1245d3?_0x3772b5[_0x5b1b1d(0x130)](require,_0x3772b5[_0x5b1b1d(0x138)]):_0x48e151?_0x3772b5[_0x5b1b1d(0x130)](require,_0x3772b5[_0x5b1b1d(0x19e)]):null;if(!_0x28fbf4)throw new Error(_0x3772b5['lknix']);const _0x22634e=global[_0x5b1b1d(0x1df)]?.[_0x5b1b1d(0x152)],_0x1bd6ee=_0x28fbf4['getPageFromAutomationFramework'](),_0x5bf4c6=_0x3772b5['QJPzE'](_0x22634e,_0x1bd6ee);if(_0x5bf4c6){_0x2d1ea0=!![];try{await _0x28fbf4[_0x5b1b1d(0x1c6)](),logger[_0x5b1b1d(0x19b)](_0x3772b5[_0x5b1b1d(0x21e)]);}catch(_0xe8bcbd){logger[_0x5b1b1d(0x19b)](_0x5b1b1d(0x180)+util['format'](_0xe8bcbd));try{const _0x1434c9=_0x28fbf4[_0x5b1b1d(0x1ff)]();_0x1434c9&&(logger[_0x5b1b1d(0x19b)](_0x3772b5[_0x5b1b1d(0x1aa)]),_0x3772b5[_0x5b1b1d(0x215)](typeof _0x1434c9[_0x5b1b1d(0x125)],_0x3772b5[_0x5b1b1d(0x1c2)])&&(await _0x1434c9[_0x5b1b1d(0x125)](),logger['debug'](_0x3772b5[_0x5b1b1d(0x1d2)])));}catch(_0x5d5a80){logger[_0x5b1b1d(0x19b)](_0x5b1b1d(0x14a)+util[_0x5b1b1d(0x165)](_0x5d5a80));}}try{if(global[_0x5b1b1d(0x1df)]){global[_0x5b1b1d(0x1df)]['pwPage']=null,global[_0x5b1b1d(0x1df)][_0x5b1b1d(0x23a)]=![];const _0x3226ac={};_0x3226ac['id']=undefined,_0x3226ac['testInfo']=undefined,global[_0x5b1b1d(0x1df)]['currentTest']=_0x3226ac;}_0x28fbf4[_0x5b1b1d(0x21f)]&&_0x28fbf4[_0x5b1b1d(0x21f)]['cleanup']&&(_0x28fbf4[_0x5b1b1d(0x21f)][_0x5b1b1d(0x1b1)](),logger[_0x5b1b1d(0x19b)](_0x3772b5[_0x5b1b1d(0x12e)])),logger['debug'](_0x3772b5[_0x5b1b1d(0x195)]);}catch(_0x3dbdd3){logger['debug'](_0x5b1b1d(0x241)+util[_0x5b1b1d(0x165)](_0x3dbdd3));}__error_messages__=[];}}catch(_0x2ea818){logger['debug'](_0x5b1b1d(0x19f)+util['format'](_0x2ea818));try{const _0x278e59=helper[_0x5b1b1d(0x19a)](_0x3772b5[_0x5b1b1d(0x15e)]),_0x2f1e92=helper[_0x5b1b1d(0x19a)](_0x3772b5[_0x5b1b1d(0x135)])||helper['getPackageVersion'](_0x3772b5['aWbmB']),_0x27c48f=_0x278e59?_0x3772b5[_0x5b1b1d(0x130)](require,_0x3772b5[_0x5b1b1d(0x138)]):_0x2f1e92?_0x3772b5[_0x5b1b1d(0x130)](require,_0x3772b5[_0x5b1b1d(0x19e)]):null;_0x27c48f&&await _0x27c48f[_0x5b1b1d(0x1c6)]();}catch(_0x51b309){logger['debug'](_0x5b1b1d(0x17a)+util[_0x5b1b1d(0x165)](_0x51b309));}}await new Promise(_0x5973bb=>{const _0x3d2282=_0x5b1b1d,_0x39e1e4=_0x3772b5[_0x3d2282(0x16c)](setInterval,async()=>{const _0xd13775=_0x3d2282;_0x3772b5[_0xd13775(0x221)](RequestQueueHandler[_0xd13775(0x14f)]()[_0xd13775(0x174)],0x0)&&(_0x3772b5['CWrRS'](clearInterval,_0x39e1e4),_0x3772b5['YFVpR'](_0x5973bb));},0x3e8);});try{!_0x2d1ea0&&await _0x3772b5['ZXzht'](driverCleanup);}catch(_0x996bf5){logger[_0x5b1b1d(0x19b)](_0x5b1b1d(0x1a3)+_0x996bf5);const _0x15ea03={};_0x15ea03[_0x5b1b1d(0x246)]=_0x3772b5['xZhOG'],PerformanceTester[_0x5b1b1d(0x219)](PerformanceHookEvents[_0x5b1b1d(0x1fd)],![],_0x996bf5,_0x15ea03);}process['removeAllListeners']();const _0x231bbe={};_0x231bbe['hookType']=_0x3772b5['xZhOG'],PerformanceTester[_0x5b1b1d(0x219)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x231bbe);},TEST_FRAMEWORK_HOOK_TIMEOUT['Jest']);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a21_0x50a51d=a21_0x5c72;function a21_0x5c72(_0x441783,_0x1fea93){const _0x2cc41f=a21_0x2cc4();return a21_0x5c72=function(_0x5c723d,_0x4dacbd){_0x5c723d=_0x5c723d-0x1b2;let _0x28a6b0=_0x2cc41f[_0x5c723d];return _0x28a6b0;},a21_0x5c72(_0x441783,_0x1fea93);}(function(_0x1239c7,_0x44afc7){const _0x399019=a21_0x5c72,_0x1fbc8a=_0x1239c7();while(!![]){try{const _0x37d38d=parseInt(_0x399019(0x1bc))/0x1+parseInt(_0x399019(0x1be))/0x2+parseInt(_0x399019(0x1b5))/0x3+-parseInt(_0x399019(0x1bf))/0x4+parseInt(_0x399019(0x1bd))/0x5*(parseInt(_0x399019(0x1b7))/0x6)+parseInt(_0x399019(0x1b4))/0x7+-parseInt(_0x399019(0x1b9))/0x8*(parseInt(_0x399019(0x1b6))/0x9);if(_0x37d38d===_0x44afc7)break;else _0x1fbc8a['push'](_0x1fbc8a['shift']());}catch(_0x368327){_0x1fbc8a['push'](_0x1fbc8a['shift']());}}}(a21_0x2cc4,0x3e8b2));const requestSpy=require(a21_0x50a51d(0x1ba)),{addRequestSpy}=require(a21_0x50a51d(0x1b2));beforeAll(()=>{const _0x37b879=a21_0x50a51d,_0x11642e={'FSdtf':function(_0x1f2a57){return _0x1f2a57();}},_0x550940='browserstack internal helper hook';_0x11642e[_0x37b879(0x1bb)](addRequestSpy);}),afterAll(async()=>{const _0x70a8af=a21_0x50a51d,_0x11924d='browserstack internal helper hook';jest[_0x70a8af(0x1b8)](0xea60),requestSpy[_0x70a8af(0x1b3)]();});function a21_0x2cc4(){const _0x26a7ff=['setTimeout','2184brrSAY','../../../helpers/request-spy','FSdtf','102985XkBqii','77360YVoUQb','25048mPtpbo','40376nPEayi','../../../helpers/test-observability/utils','restore','1189209RLNgjM','530313YubXZV','13599wuwlkc','84quVSsu'];a21_0x2cc4=function(){return _0x26a7ff;};return a21_0x2cc4();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a22_0xd83f(){const _0x1cd725=['1605844UcBYlH','../../../helpers/test-observability/utils','split','updateTestRerunConfig','2VliNSt','rerunTests','get','70WaFnfR','1839249DJaquy','10QCPltA','ppnFD','12Vijdem','testMatch','cliConfig','testRegex','1017116oTKjow','4215018EKwTzT','8giaPNb','PTKdr','vtTgf','push','10940650nwALDI','length','isUndefined','shouldReRunObservabilityTests','has','39156634amvppl','BROWSERSTACK_RERUN_TESTS','map','1482105RmMxNT'];a22_0xd83f=function(){return _0x1cd725;};return a22_0xd83f();}const a22_0x415564=a22_0x2748;(function(_0x5cd191,_0x1282f3){const _0x56c743=a22_0x2748,_0x2ceea6=_0x5cd191();while(!![]){try{const _0x33db9c=parseInt(_0x56c743(0x7e))/0x1*(parseInt(_0x56c743(0x89))/0x2)+-parseInt(_0x56c743(0x79))/0x3+-parseInt(_0x56c743(0x7a))/0x4+-parseInt(_0x56c743(0x83))/0x5*(-parseInt(_0x56c743(0x8a))/0x6)+parseInt(_0x56c743(0x71))/0x7*(parseInt(_0x56c743(0x6d))/0x8)+-parseInt(_0x56c743(0x82))/0x9*(-parseInt(_0x56c743(0x81))/0xa)+parseInt(_0x56c743(0x76))/0xb*(-parseInt(_0x56c743(0x85))/0xc);if(_0x33db9c===_0x1282f3)break;else _0x2ceea6['push'](_0x2ceea6['shift']());}catch(_0x553065){_0x2ceea6['push'](_0x2ceea6['shift']());}}}(a22_0xd83f,0xea799));function a22_0x2748(_0x33aab7,_0x9df58f){const _0xd83f02=a22_0xd83f();return a22_0x2748=function(_0x274814,_0x5b398e){_0x274814=_0x274814-0x6d;let _0x4ce4ec=_0xd83f02[_0x274814];return _0x4ce4ec;},a22_0x2748(_0x33aab7,_0x9df58f);}const testOpsHelper=require(a22_0x415564(0x7b)),helper=require('../../../helpers/helper');exports[a22_0x415564(0x7d)]=(_0x2ae080,_0x84f679)=>{const _0x215ba9=a22_0x415564,_0x3d0b79={};_0x3d0b79[_0x215ba9(0x6f)]=_0x215ba9(0x7f),_0x3d0b79[_0x215ba9(0x6e)]=function(_0x486cb7,_0x8682b1){return _0x486cb7!==_0x8682b1;},_0x3d0b79[_0x215ba9(0x84)]=function(_0x32316f,_0x4d8e55){return _0x32316f>_0x4d8e55;};const _0x59f7fc=_0x3d0b79;if(testOpsHelper['isTestObservabilitySession']()&&testOpsHelper[_0x215ba9(0x74)]()){let _0x1b1700=process['env'][_0x215ba9(0x77)];!helper[_0x215ba9(0x73)](_0x84f679[_0x215ba9(0x87)])&&_0x84f679['cliConfig'][_0x215ba9(0x75)](_0x59f7fc[_0x215ba9(0x6f)])&&(_0x1b1700=_0x84f679['cliConfig'][_0x215ba9(0x80)](_0x59f7fc[_0x215ba9(0x6f)]));const _0x1157ff=[];helper['validateRerunTestList'](_0x1b1700)&&_0x59f7fc[_0x215ba9(0x6e)](_0x1b1700,null)&&_0x1b1700[_0x215ba9(0x7c)](',')[_0x215ba9(0x78)](_0x140317=>{const _0xfd817c=_0x215ba9;_0x1157ff[_0xfd817c(0x70)](''+_0x140317['trim']());}),_0x59f7fc['ppnFD'](_0x1157ff[_0x215ba9(0x72)],0x0)&&(_0x2ae080[_0x215ba9(0x88)]=_0x1157ff,delete _0x2ae080[_0x215ba9(0x86)]);}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a23_0x7fb440=a23_0x46ae;function a23_0x46ae(_0x252371,_0x3894d5){const _0x519d0a=a23_0x519d();return a23_0x46ae=function(_0x46ae6e,_0x5dce44){_0x46ae6e=_0x46ae6e-0x190;let _0x2ddc00=_0x519d0a[_0x46ae6e];return _0x2ddc00;},a23_0x46ae(_0x252371,_0x3894d5);}(function(_0xc44587,_0x3711ef){const _0xdc1dab=a23_0x46ae,_0x12c68b=_0xc44587();while(!![]){try{const _0x2b84f1=-parseInt(_0xdc1dab(0x247))/0x1*(parseInt(_0xdc1dab(0x23c))/0x2)+parseInt(_0xdc1dab(0x253))/0x3*(-parseInt(_0xdc1dab(0x1e9))/0x4)+parseInt(_0xdc1dab(0x1bb))/0x5*(-parseInt(_0xdc1dab(0x20a))/0x6)+-parseInt(_0xdc1dab(0x224))/0x7*(parseInt(_0xdc1dab(0x20b))/0x8)+-parseInt(_0xdc1dab(0x22f))/0x9*(-parseInt(_0xdc1dab(0x279))/0xa)+parseInt(_0xdc1dab(0x199))/0xb+-parseInt(_0xdc1dab(0x1b8))/0xc*(-parseInt(_0xdc1dab(0x26a))/0xd);if(_0x2b84f1===_0x3711ef)break;else _0x12c68b['push'](_0x12c68b['shift']());}catch(_0x4320a2){_0x12c68b['push'](_0x12c68b['shift']());}}}(a23_0x519d,0xbfb1b));const {isTestObservabilitySession,PathHelper,debug,failureData,getFailureType,isInternalHook}=require('../../../helpers/test-observability/utils'),SessionHandler=require(a23_0x7fb440(0x25f)),{v4:uuidv4}=require(a23_0x7fb440(0x249)),{name,version}=require('../../../../package.json'),stackTrace=require(a23_0x7fb440(0x1aa)),path=require(a23_0x7fb440(0x1a8)),fs=require('fs'),TestDetails=require(a23_0x7fb440(0x27c)),{FRAMEWORKS}=require('../../utils/constants'),{o11yClassErrorHandler}=require(a23_0x7fb440(0x22c)),{getGitMetaData}=require(a23_0x7fb440(0x1e6)),helper=require('../../../helpers/helper'),{appendTesthubParams,setCurrentTestData}=require(a23_0x7fb440(0x28a)),constants=require(a23_0x7fb440(0x22a)),BrowserstackCLI=require(a23_0x7fb440(0x1d6)),a23_0x3fee0b={};a23_0x3fee0b[a23_0x7fb440(0x1b0)]='passed',a23_0x3fee0b[a23_0x7fb440(0x1dd)]='failed',a23_0x3fee0b['STATE_PENDING']=a23_0x7fb440(0x28b);const {STATE_PASSED,STATE_PENDING,STATE_FAILED}=a23_0x3fee0b,a23_0x206563={};a23_0x206563[a23_0x7fb440(0x1d5)]=a23_0x7fb440(0x240),a23_0x206563[a23_0x7fb440(0x1e7)]='AFTER_ALL',a23_0x206563[a23_0x7fb440(0x1e1)]=a23_0x7fb440(0x1c2),a23_0x206563[a23_0x7fb440(0x264)]=a23_0x7fb440(0x23b);const HOOK_TYPES_MAP=a23_0x206563;module[a23_0x7fb440(0x1b5)]=o11yClassErrorHandler(class ObservabilityReporter{constructor(){const _0xa23ca1=a23_0x7fb440,_0x36359b={'kCTtT':_0xa23ca1(0x1fc),'EqFTg':function(_0x651e98){return _0x651e98();}},_0x29e07c=_0x36359b['kCTtT'][_0xa23ca1(0x223)]('|');let _0x3a1a68=0x0;while(!![]){switch(_0x29e07c[_0x3a1a68++]){case'0':this[_0xa23ca1(0x201)]=[];continue;case'1':this[_0xa23ca1(0x216)]=this[_0xa23ca1(0x208)]();continue;case'2':this[_0xa23ca1(0x1ed)]=null;continue;case'3':this[_0xa23ca1(0x26c)]=[];continue;case'4':this[_0xa23ca1(0x21e)]=![];continue;case'5':this[_0xa23ca1(0x200)]=_0x36359b[_0xa23ca1(0x24d)](isTestObservabilitySession);continue;case'6':this[_0xa23ca1(0x207)]=new PathHelper({'cwd':process['cwd']()},this[_0xa23ca1(0x216)][_0xa23ca1(0x26b)]);continue;}break;}}[a23_0x7fb440(0x208)]=()=>{const _0x1bd48a=a23_0x7fb440,_0x1d4370={'FjukU':_0x1bd48a(0x281),'uMnZf':function(_0x26a88d){return _0x26a88d();}};return{'ci':_0x1d4370['FjukU'],'key':_0x1d4370[_0x1bd48a(0x1f6)](uuidv4),'version':version,'collector':_0x1bd48a(0x1a3)+name};};['registerListeners'](){const _0x407144=a23_0x7fb440;process[_0x407144(0x1a5)](_0x407144(0x1bd)+process[_0x407144(0x241)]),process['on']('bs:addLog:'+process['pid'],this[_0x407144(0x1fa)][_0x407144(0x1d4)](this)),process['removeAllListeners'](_0x407144(0x250)+process[_0x407144(0x241)]),process['on'](_0x407144(0x250)+process[_0x407144(0x241)],this['appendTestPlatform'][_0x407144(0x1d4)](this));}[a23_0x7fb440(0x1b6)]=async _0xc5b246=>{const _0x3dff30=a23_0x7fb440,_0x4562e2={'zjiXz':function(_0x247723,_0x4da4a2){return _0x247723>_0x4da4a2;},'EEcXi':function(_0x573df3,_0x1bd606){return _0x573df3===_0x1bd606;},'ajTBw':_0x3dff30(0x19d),'rXAah':function(_0xcb8533,_0x599af9){return _0xcb8533(_0x599af9);}};try{const _0x382cdf=this[_0x3dff30(0x27b)];this[_0x3dff30(0x27b)]=_0xc5b246,_0xc5b246[_0x3dff30(0x1b2)]=null,_0xc5b246[_0x3dff30(0x222)]=TestDetails[_0x3dff30(0x1ea)](process['pid']+':testAnalyticsId'),_0xc5b246['started_at']=new Date()[_0x3dff30(0x1c8)](),_0x4562e2[_0x3dff30(0x202)](_0xc5b246['_currentRetry'],0x0)&&_0x382cdf&&_0x4562e2[_0x3dff30(0x1f9)](_0x382cdf[_0x3dff30(0x1ee)],_0xc5b246['title'])?(_0xc5b246[_0x3dff30(0x1b2)]=_0x382cdf[_0x3dff30(0x222)],await this[_0x3dff30(0x284)](_0xc5b246,undefined,![],_0x4562e2[_0x3dff30(0x197)]),_0x382cdf[_0x3dff30(0x19f)]=STATE_FAILED,await this['sendTestRunEvent'](_0x382cdf,undefined,!![])):await this[_0x3dff30(0x284)](_0xc5b246,undefined,![],_0x4562e2['ajTBw']);}catch(_0x271874){_0x4562e2['rXAah'](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20'+_0x271874);}};[a23_0x7fb440(0x293)](_0x34b36e){const _0x3c7c65=a23_0x7fb440,_0x1749cf={};_0x1749cf['jLOJK']=function(_0x4b756c,_0xe7c402){return _0x4b756c!==_0xe7c402;},_0x1749cf['NvxQs']=_0x3c7c65(0x25b);const _0x12d140=_0x1749cf;if(_0x12d140['jLOJK'](_0x34b36e['type'],_0x12d140[_0x3c7c65(0x282)]))return'\x22'+_0x34b36e[_0x3c7c65(0x26f)]+_0x3c7c65(0x266)+(_0x34b36e[_0x3c7c65(0x1de)]&&_0x34b36e[_0x3c7c65(0x1de)][_0x3c7c65(0x21b)])+'\x22';return _0x34b36e['name'];}['sendTestRunEvent']=async(_0x5eeae1,_0x411711=undefined,_0x17f793=![],_0x1a4b5e='TestRunFinished')=>{const _0x577b19=a23_0x7fb440,_0x840f31={'uSECs':_0x577b19(0x232),'Pqdkt':_0x577b19(0x190),'RdgXQ':_0x577b19(0x218),'QCjMq':_0x577b19(0x1be),'RZzfl':'failure_type','XRdaB':_0x577b19(0x1e0),'ZBlSn':_0x577b19(0x20f),'EYxOK':function(_0x4c2bfc,_0x49fe9b){return _0x4c2bfc(_0x49fe9b);},'PHeKz':_0x577b19(0x1a0),'QMKvw':function(_0x56f81c,_0x5b2a61){return _0x56f81c(_0x5b2a61);},'NeApR':_0x577b19(0x28c),'clkuR':function(_0x352ad1,_0x49ce86){return _0x352ad1!==_0x49ce86;},'aViTC':_0x577b19(0x25b),'RuLFJ':'err','JNGVo':function(_0x230477,_0x19fe26){return _0x230477!==_0x19fe26;},'oiEwo':_0x577b19(0x278),'gavJY':_0x577b19(0x20c),'HqJAJ':function(_0x579da7,_0xccd0dd){return _0x579da7===_0xccd0dd;},'Hcmzf':'TestRunSkipped','wPNzh':_0x577b19(0x286),'SMOQX':function(_0x1ea4e2,_0x5233f6){return _0x1ea4e2>_0x5233f6;},'XOUpJ':'failed','sQKZu':_0x577b19(0x206),'HXWIN':function(_0x271078,_0x48ac9b){return _0x271078-_0x48ac9b;},'BGAIa':function(_0x5700e4,_0x37c709){return _0x5700e4(_0x37c709);},'qSwJW':function(_0x2369ff,_0x5ed3be,_0x4bf2ff,_0x4ee1d0,_0x333f38){return _0x2369ff(_0x5ed3be,_0x4bf2ff,_0x4ee1d0,_0x333f38);},'HPKsg':_0x577b19(0x204),'XCLvZ':_0x577b19(0x1fd),'PbMGG':_0x577b19(0x28e),'jDYYg':function(_0x407f1d,_0x25f848){return _0x407f1d!==_0x25f848;},'GdhpJ':_0x577b19(0x1a2),'ruskf':_0x577b19(0x1ac),'lkJvn':_0x577b19(0x230),'QIUkc':'expanded','lbmIQ':'TestRunFinished','WwXxe':_0x577b19(0x219),'JJufG':function(_0x582ca5,_0x83dee4){return _0x582ca5>_0x83dee4;},'mfDaM':function(_0x14fd19,_0x16bec1){return _0x14fd19===_0x16bec1;},'GnIJD':'beforeAll','MSLTw':function(_0x1415c8,_0x317c98,_0x238200){return _0x1415c8(_0x317c98,_0x238200);}};try{if(_0x5eeae1['fn']&&_0x5eeae1['fn'][_0x577b19(0x270)]()['match'](/browserstack internal helper hook/))return;await this['configureGit']();let _0x5da9e4;try{_0x5da9e4=this[_0x577b19(0x1ba)](_0x5eeae1);}catch(_0x3fc13e){_0x840f31['EYxOK'](debug,_0x577b19(0x227)+_0x3fc13e),_0x5da9e4=null;}if(_0x5da9e4[_0x577b19(0x243)](_0x840f31['PHeKz']))return;const _0x50f131=_0x840f31[_0x577b19(0x291)](require,_0x840f31[_0x577b19(0x233)]);let _0x1c3c4f=[];if(_0x840f31[_0x577b19(0x215)](_0x5eeae1[_0x577b19(0x1c6)],undefined))_0x1c3c4f=[_0x5eeae1['errorsDetailed'],_0x840f31[_0x577b19(0x25e)]];else _0x840f31[_0x577b19(0x215)](_0x411711,undefined)?_0x1c3c4f=[_0x411711,_0x840f31[_0x577b19(0x1b4)]]:_0x1c3c4f=[];const _0x2879a5=_0x840f31['JNGVo'](_0x5eeae1[_0x577b19(0x1c6)],undefined)?_0x50f131['inspect'](_0x5eeae1[_0x577b19(0x1c6)][0x0]):_0x840f31[_0x577b19(0x268)](_0x411711,undefined)?_0x411711[_0x577b19(0x270)]():undefined,_0x22b18d=_0x5da9e4?this[_0x577b19(0x207)][_0x577b19(0x1f7)](this[_0x577b19(0x1ba)](_0x5eeae1)):_0x840f31[_0x577b19(0x272)],_0x15ba77={'framework':FRAMEWORKS['JEST'],'uuid':_0x5eeae1[_0x577b19(0x222)]||_0x5eeae1[_0x577b19(0x1b1)],'name':this[_0x577b19(0x293)](_0x5eeae1),'body':{'lang':_0x840f31['gavJY'],'code':_0x5eeae1['fn'][_0x577b19(0x270)]()},'scopes':this['getHierarchy'](_0x5eeae1),'file_name':_0x22b18d,'vc_filepath':this[_0x577b19(0x1ed)]&&_0x5da9e4?path[_0x577b19(0x19e)](this[_0x577b19(0x1ed)],_0x5da9e4):null,'location':_0x22b18d,'result':_0x840f31[_0x577b19(0x1a9)](_0x1a4b5e,_0x840f31['Hcmzf'])?_0x840f31[_0x577b19(0x283)]:this[_0x577b19(0x22e)](_0x5eeae1[_0x577b19(0x1c6)]&&_0x840f31[_0x577b19(0x1c0)](_0x5eeae1[_0x577b19(0x1c6)][_0x577b19(0x238)],0x0)?_0x840f31[_0x577b19(0x236)]:_0x840f31[_0x577b19(0x265)]),'failure_reason':_0x2879a5,'duration_in_ms':_0x5eeae1[_0x577b19(0x262)]||(_0x1a4b5e[_0x577b19(0x1c1)](/Finished/)||_0x1a4b5e[_0x577b19(0x1c1)](/Skipped/)?_0x840f31['HXWIN'](Date[_0x577b19(0x1ab)](),new Date(_0x5eeae1[_0x577b19(0x204)])[_0x577b19(0x24e)]()):null),'started_at':_0x5eeae1[_0x577b19(0x204)],'finished_at':_0x1a4b5e['match'](/Finished/)||_0x1a4b5e[_0x577b19(0x1c1)](/Skipped/)?new Date()[_0x577b19(0x1c8)]():null,'failure':failureData[_0x577b19(0x28d)](null,_0x1c3c4f),'failure_type':!_0x2879a5?null:_0x840f31[_0x577b19(0x193)](getFailureType,_0x2879a5),'retry_of':_0x5eeae1[_0x577b19(0x1b2)]};_0x840f31[_0x577b19(0x258)](appendTesthubParams,_0x15ba77,_0x1a4b5e,_0x5eeae1,FRAMEWORKS['JEST']);_0x840f31[_0x577b19(0x1a9)](_0x1a4b5e,_0x840f31[_0x577b19(0x277)])&&!_0x15ba77[_0x840f31['HPKsg']]&&(_0x15ba77[_0x840f31[_0x577b19(0x24b)]]=_0x15ba77[_0x840f31[_0x577b19(0x1e4)]]);if(_0x1a4b5e['match'](/HookRun/))[_0x15ba77['hook_type'],_0x15ba77[_0x577b19(0x21b)]]=[_0x5eeae1[_0x577b19(0x26f)],this[_0x577b19(0x293)](_0x5eeae1)],_0x840f31[_0x577b19(0x1a9)](_0x1a4b5e,_0x840f31[_0x577b19(0x1c4)])&&(_0x840f31[_0x577b19(0x24f)](_0x15ba77[_0x577b19(0x20f)],_0x840f31[_0x577b19(0x236)])&&(_0x15ba77[_0x577b19(0x20f)]=_0x840f31['sQKZu']));else _0x1a4b5e[_0x577b19(0x1c1)](/TestRun/)&&this[_0x577b19(0x23e)](_0x5eeae1);const _0x2a1fd3=_0x15ba77[_0x840f31[_0x577b19(0x23a)]][0x0];_0x2a1fd3&&(_0x15ba77[_0x840f31[_0x577b19(0x226)]]=_0x2a1fd3[_0x840f31[_0x577b19(0x205)]],_0x15ba77[_0x840f31[_0x577b19(0x27e)]]=_0x2a1fd3[_0x840f31[_0x577b19(0x242)]]);[_0x840f31['lbmIQ'],_0x840f31[_0x577b19(0x277)]][_0x577b19(0x243)](_0x1a4b5e)&&(this[_0x577b19(0x201)][_0x577b19(0x1fb)](_0x15ba77),_0x15ba77['hooks']=this[_0x577b19(0x1d3)](_0x5eeae1),this[_0x577b19(0x1dc)](_0x5eeae1));const _0x1ae23a={'event_type':_0x840f31[_0x577b19(0x1a9)](_0x1a4b5e,_0x840f31[_0x577b19(0x277)])?_0x840f31[_0x577b19(0x1cc)]:_0x1a4b5e};_0x1a4b5e[_0x577b19(0x1c1)](/HookRun/)?(_0x15ba77[_0x840f31[_0x577b19(0x26e)]]=HOOK_TYPES_MAP[_0x15ba77[_0x840f31[_0x577b19(0x26e)]]],_0x1ae23a[_0x840f31['Pqdkt']]=_0x15ba77):_0x1ae23a[_0x840f31[_0x577b19(0x20e)]]=_0x15ba77;_0x840f31[_0x577b19(0x27d)](this['hook_data'][_0x577b19(0x238)],0x0)&&[_0x840f31[_0x577b19(0x1cc)],_0x840f31[_0x577b19(0x277)]][_0x577b19(0x243)](_0x1a4b5e)&&(this[_0x577b19(0x26c)]['forEach'](async _0x39a761=>{const _0x359ebd=_0x577b19,_0x2e7d86=_0x840f31[_0x359ebd(0x25a)][_0x359ebd(0x223)]('|');let _0x25bf88=0x0;while(!![]){switch(_0x2e7d86[_0x25bf88++]){case'0':_0x39a761[_0x840f31[_0x359ebd(0x1e2)]][_0x840f31[_0x359ebd(0x23a)]]=_0x1ae23a[_0x840f31[_0x359ebd(0x20e)]][_0x840f31[_0x359ebd(0x23a)]];continue;case'1':_0x39a761[_0x840f31[_0x359ebd(0x1e2)]][_0x840f31[_0x359ebd(0x21a)]]=_0x1ae23a[_0x840f31[_0x359ebd(0x20e)]][_0x840f31[_0x359ebd(0x21a)]];continue;case'2':await SessionHandler[_0x359ebd(0x237)](_0x39a761);continue;case'3':_0x39a761[_0x840f31[_0x359ebd(0x1e2)]][_0x840f31[_0x359ebd(0x1d8)]]=_0x1ae23a[_0x840f31[_0x359ebd(0x20e)]][_0x840f31[_0x359ebd(0x1d8)]];continue;case'4':_0x39a761[_0x840f31[_0x359ebd(0x1e2)]][_0x840f31[_0x359ebd(0x290)]]=_0x1ae23a[_0x840f31[_0x359ebd(0x20e)]][_0x840f31[_0x359ebd(0x290)]];continue;}break;}}),this[_0x577b19(0x26c)]=[]);if(_0x840f31[_0x577b19(0x1a9)](this['hook_failure'],_0x5eeae1['type'])){this[_0x577b19(0x26c)]['push'](_0x1ae23a);return;}_0x840f31[_0x577b19(0x21c)](this['hook_failure'],_0x840f31[_0x577b19(0x198)])&&_0x1ae23a[_0x840f31[_0x577b19(0x20e)]]&&(_0x1ae23a[_0x840f31[_0x577b19(0x20e)]][_0x840f31[_0x577b19(0x290)]]=_0x840f31[_0x577b19(0x283)],_0x1ae23a[_0x840f31[_0x577b19(0x20e)]][_0x840f31[_0x577b19(0x23a)]]=null,_0x1ae23a[_0x840f31[_0x577b19(0x20e)]][_0x840f31[_0x577b19(0x21a)]]=null),_0x840f31[_0x577b19(0x1ce)](setCurrentTestData,FRAMEWORKS['JEST'],_0x1ae23a),await SessionHandler[_0x577b19(0x237)](_0x1ae23a);}catch(_0x363121){_0x840f31[_0x577b19(0x25d)](debug,_0x577b19(0x1f2)+_0x1a4b5e+_0x577b19(0x210)+_0x363121);}};[a23_0x7fb440(0x24a)](_0x37c5e8){const _0x23a755=a23_0x7fb440,_0x299e35={};_0x299e35[_0x23a755(0x287)]=function(_0x10641f,_0x504856){return _0x10641f==_0x504856;},_0x299e35[_0x23a755(0x1c5)]=function(_0x13cb16,_0x5d09ad){return _0x13cb16===_0x5d09ad;},_0x299e35[_0x23a755(0x255)]=function(_0x55e9c7,_0x42ed42){return _0x55e9c7===_0x42ed42;},_0x299e35['MoARS']=_0x23a755(0x1d1),_0x299e35[_0x23a755(0x1f8)]=_0x23a755(0x225);const _0x123854=_0x299e35,_0x3b89ac=path[_0x23a755(0x209)];if(_0x123854[_0x23a755(0x287)](_0x37c5e8,null)||_0x123854[_0x23a755(0x1c5)](_0x37c5e8,'')||_0x123854[_0x23a755(0x255)](_0x37c5e8,_0x3b89ac)||_0x123854[_0x23a755(0x255)](_0x37c5e8,path[_0x23a755(0x195)](_0x37c5e8)))return null;try{return fs[_0x23a755(0x1f0)](path[_0x23a755(0x194)](_0x37c5e8,_0x123854[_0x23a755(0x257)],_0x123854[_0x23a755(0x1f8)])),_0x37c5e8;}catch(_0xbbea19){const _0x55f870=path[_0x23a755(0x195)](_0x37c5e8);return this[_0x23a755(0x24a)](_0x55f870);}}[a23_0x7fb440(0x1fa)]=async _0x2c4d5f=>{const _0x535aa9=a23_0x7fb440,_0xfcd5db={'jmGYG':_0x535aa9(0x213),'HPeSz':_0x535aa9(0x1ef),'kxzUf':_0x535aa9(0x24c),'QJzSw':function(_0x48cd74,_0x2d58bb){return _0x48cd74||_0x2d58bb;},'lfZug':function(_0x4b4cc7,_0x5c82da){return _0x4b4cc7(_0x5c82da);},'mZXCF':'[obsReporter]\x20appendTestItemLog:\x20Jest+Playwright/Puppeteer\x20CLI\x20flow\x20detected,\x20using\x20in-memory\x20storage','mYQjy':function(_0x592783,_0x165320){return _0x592783(_0x165320);},'YquxK':function(_0x1fb4eb,_0x1f61b3){return _0x1fb4eb&&_0x1f61b3;},'uZTYg':':jest-','pPZci':function(_0x53ca0f,_0x1dc76d){return _0x53ca0f(_0x1dc76d);},'incoA':_0x535aa9(0x1e3),'AGWLk':'../../v2/state/hookState','XcMoh':_0x535aa9(0x288),'nPkxU':function(_0x1c25ca,_0x3bcbf9){return _0x1c25ca===_0x3bcbf9;},'APpyT':'function','cTXaA':_0x535aa9(0x27f),'LWxwn':_0x535aa9(0x1f5)};try{const _0x4a2d21=helper[_0x535aa9(0x22b)](_0xfcd5db[_0x535aa9(0x244)]),_0x17229c=!!_0x4a2d21,_0x93d39=helper[_0x535aa9(0x22b)](_0xfcd5db['HPeSz'])||helper[_0x535aa9(0x22b)](_0xfcd5db['kxzUf']),_0x2e767c=!!_0x93d39,_0x36ceea=BrowserstackCLI[_0x535aa9(0x234)]()[_0x535aa9(0x252)]()&&BrowserstackCLI['getInstance']()[_0x535aa9(0x1e8)]();if(_0xfcd5db[_0x535aa9(0x1f1)](_0x17229c,_0x2e767c)&&_0x36ceea){_0xfcd5db[_0x535aa9(0x1b7)](debug,_0xfcd5db[_0x535aa9(0x245)]);let _0x1132f2=null,_0x539d82=null;if(global[_0x535aa9(0x1ad)]&&global['__workerDetails'][_0x535aa9(0x271)]){const _0x1bbc20=global['__workerDetails'][_0x535aa9(0x271)];_0x539d82=_0x1bbc20[_0x535aa9(0x1bf)],_0x1132f2=_0x1bbc20[_0x535aa9(0x275)],_0xfcd5db[_0x535aa9(0x220)](debug,_0x535aa9(0x1a4)+_0x539d82+_0x535aa9(0x212)+_0x1132f2);}!_0x1132f2&&(_0x1132f2=global[_0x535aa9(0x1f4)],_0xfcd5db['lfZug'](debug,_0x535aa9(0x19a)+_0x1132f2));if(_0xfcd5db[_0x535aa9(0x235)](!_0x539d82,_0x1132f2)){const _0xd53a3a=BrowserstackCLI[_0x535aa9(0x234)]()[_0x535aa9(0x217)]();if(_0xd53a3a&&_0xd53a3a[_0x535aa9(0x231)]){const _0x21a13b=_0xd53a3a[_0x535aa9(0x231)](_0x1132f2);_0x21a13b&&_0x21a13b[_0x535aa9(0x1bf)]&&(_0x539d82=_0x21a13b[_0x535aa9(0x1bf)],_0xfcd5db[_0x535aa9(0x220)](debug,_0x535aa9(0x1db)+_0x539d82+_0x535aa9(0x212)+_0x1132f2));}}if(!_0x1132f2||!_0x1132f2[_0x535aa9(0x243)](_0xfcd5db[_0x535aa9(0x221)]))_0xfcd5db[_0x535aa9(0x1b7)](debug,_0x535aa9(0x285)+_0x1132f2+_0x535aa9(0x1ae));else{_0x539d82&&(_0x2c4d5f['hook_run_uuid']=_0x539d82,_0xfcd5db['lfZug'](debug,_0x535aa9(0x1c9)+_0x539d82+_0x535aa9(0x292)));_0x2c4d5f[_0x535aa9(0x1af)]=_0x1132f2,_0xfcd5db[_0x535aa9(0x1a7)](debug,_0x535aa9(0x1c3)+_0x1132f2+'\x20to\x20log');const _0x365e52=BrowserstackCLI[_0x535aa9(0x234)]()[_0x535aa9(0x217)]();if(_0x365e52){const _0xfa29a7=_0xfcd5db[_0x535aa9(0x1a7)](require,_0xfcd5db[_0x535aa9(0x1cf)]),_0x5e26d5=_0xfcd5db[_0x535aa9(0x1a7)](require,_0xfcd5db[_0x535aa9(0x289)]),_0x2b44c6=_0xfcd5db[_0x535aa9(0x1a7)](require,_0xfcd5db[_0x535aa9(0x228)]),_0x563568=_0x365e52[_0x535aa9(0x214)](_0xfa29a7[_0x535aa9(0x1ec)],_0x5e26d5[_0x535aa9(0x1b9)]);if(_0x563568&&_0xfcd5db['nPkxU'](typeof _0x563568[_0x535aa9(0x274)],_0xfcd5db['APpyT'])){const _0x5a6f61=_0x563568[_0x535aa9(0x295)]()[_0x535aa9(0x1eb)](_0x1132f2)||{},_0x5099c3=_0x5a6f61[_0x2b44c6[_0x535aa9(0x294)]]||[],_0x2ffb8d=[..._0x5099c3,_0x2c4d5f],_0x1437fb={[_0x2b44c6[_0x535aa9(0x294)]]:_0x2ffb8d},_0xa5731a={};_0xa5731a[_0x1132f2]=_0x1437fb,_0x563568[_0x535aa9(0x274)](_0xa5731a),_0xfcd5db[_0x535aa9(0x1a7)](debug,_0x535aa9(0x196)+_0x1132f2+_0x535aa9(0x1d0)+(_0x2c4d5f['kind']||_0xfcd5db[_0x535aa9(0x19c)])+_0x535aa9(0x248)+_0x2ffb8d['length']);return;}_0xfcd5db[_0x535aa9(0x1b7)](debug,_0x535aa9(0x1a1)+_0x1132f2+_0x535aa9(0x1ae));}}}}catch(_0xb9904c){_0xfcd5db[_0x535aa9(0x1b7)](debug,_0x535aa9(0x269)+_0xb9904c+',\x20falling\x20back\x20to\x20Jest+Selenium\x20flow');}const _0x3f5216=TestDetails[_0x535aa9(0x256)](process[_0x535aa9(0x241)]+':hookAnalyticsId'),_0xc3484b=TestDetails[_0x535aa9(0x256)](process[_0x535aa9(0x241)]+_0x535aa9(0x267));try{(_0x3f5216||this['current_hook']&&!this[_0x535aa9(0x1d9)][_0x535aa9(0x1df)])&&(_0x2c4d5f[_0x535aa9(0x261)]=_0x3f5216);!_0x2c4d5f['hook_run_uuid']&&_0xc3484b&&(_0x2c4d5f[_0x535aa9(0x20d)]=_0xc3484b);if(_0x2c4d5f[_0x535aa9(0x261)]||_0x2c4d5f[_0x535aa9(0x20d)]){const _0x3cc4bc={};_0x3cc4bc[_0x535aa9(0x19b)]=_0xfcd5db[_0x535aa9(0x1c7)],_0x3cc4bc[_0x535aa9(0x273)]=[_0x2c4d5f],await SessionHandler['uploadEventData'](_0x3cc4bc);}}catch(_0x497e89){_0xfcd5db['lfZug'](debug,_0x535aa9(0x1d7)+constants[_0x535aa9(0x23f)]+_0x535aa9(0x210)+_0x497e89);}};[a23_0x7fb440(0x25c)]=async _0x3adc7f=>{const _0x4875e6=a23_0x7fb440,_0x4420a0={'RmdAk':_0x4875e6(0x192),'ludMK':_0x4875e6(0x1ff),'wFUVo':function(_0x2beb25,_0x2563e3){return _0x2beb25(_0x2563e3);}};try{const _0x54ca3e={'uuid':_0x3adc7f[_0x4875e6(0x249)]||TestDetails['getTestUUID'](process[_0x4875e6(0x241)]+_0x4875e6(0x267)),'integrations':_0x3adc7f[_0x4420a0['RmdAk']]},_0x41f27a={};_0x41f27a['event_type']=_0x4420a0[_0x4875e6(0x21d)],_0x41f27a['test_run']=_0x54ca3e,await SessionHandler[_0x4875e6(0x237)](_0x41f27a);}catch(_0x283dd3){_0x4420a0[_0x4875e6(0x1d2)](debug,_0x4875e6(0x280)+constants[_0x4875e6(0x23f)]+'\x20with\x20error\x20:\x20'+_0x283dd3);}};async['configureGit'](){const _0x2f551e=a23_0x7fb440,_0x17a0fb={'Cwcnj':function(_0x207352){return _0x207352();}};if(this[_0x2f551e(0x21e)])return this['_gitConfigPath'];const _0x493a94=await _0x17a0fb[_0x2f551e(0x276)](getGitMetaData);_0x493a94&&(this['_gitConfigPath']=_0x493a94[_0x2f551e(0x1fe)]),this['_gitConfigured']=!![];}[a23_0x7fb440(0x22e)](_0x109630){const _0x18baaf=a23_0x7fb440,_0x267de9={};_0x267de9['pwcVJ']='passed',_0x267de9[_0x18baaf(0x246)]=_0x18baaf(0x28b),_0x267de9['PAHFP']=_0x18baaf(0x211);const _0x5ed653=_0x267de9,_0x5b48af={};return _0x5b48af[STATE_PASSED]=_0x5ed653['pwcVJ'],_0x5b48af[STATE_PENDING]=_0x5ed653['GPVVH'],_0x5b48af[STATE_FAILED]=_0x5ed653[_0x18baaf(0x239)],_0x5b48af[_0x109630];}[a23_0x7fb440(0x1b3)](_0x9b4bea){const _0x4268be=a23_0x7fb440,_0x561562={};_0x561562[_0x4268be(0x1ca)]=function(_0x20760e,_0x33df7c){return _0x20760e!==_0x33df7c;},_0x561562[_0x4268be(0x1bc)]=function(_0x284626,_0x48eb74){return _0x284626!==_0x48eb74;},_0x561562[_0x4268be(0x1e5)]=_0x4268be(0x1cd);const _0x168d39=_0x561562,_0x219ac8=[];if(_0x9b4bea&&_0x9b4bea[_0x4268be(0x1de)]){let _0x830de4=_0x9b4bea[_0x4268be(0x1de)];while(_0x830de4&&_0x168d39['DgUlz'](_0x830de4[_0x4268be(0x21b)],'')&&_0x168d39[_0x4268be(0x1bc)](_0x830de4[_0x4268be(0x21b)],_0x168d39['bTjQR'])){_0x219ac8['push'](_0x830de4['name']),_0x830de4=_0x830de4[_0x4268be(0x1de)];}}return _0x219ac8[_0x4268be(0x22d)](),_0x219ac8;}[a23_0x7fb440(0x1ba)]=_0x548200=>{const _0x13990c=a23_0x7fb440;if(_0x548200[_0x13990c(0x259)]){const _0x18f59a=stackTrace['parse']['call'](stackTrace,_0x548200[_0x13990c(0x259)]);return _0x18f59a[0x0][_0x13990c(0x23d)]();}if(_0x548200[_0x13990c(0x1a6)])return _0x548200['file'];return null;};['mapTestHooks']=_0x52f7c4=>{const _0xa24d0e=a23_0x7fb440;if(!_0x52f7c4||!_0x52f7c4[_0xa24d0e(0x1de)])return;_0x52f7c4[_0xa24d0e(0x1de)][_0xa24d0e(0x203)][_0xa24d0e(0x28f)](_0x67d8dd=>{const _0x4c6c44=_0xa24d0e;!_0x67d8dd['hookAnalyticsId']&&(_0x67d8dd[_0x4c6c44(0x1b1)]=TestDetails['setTestUUID'](process[_0x4c6c44(0x241)]+_0x4c6c44(0x263)));}),this[_0xa24d0e(0x23e)](_0x52f7c4[_0xa24d0e(0x1de)]);};[a23_0x7fb440(0x1dc)]=_0x33cd1a=>{const _0x5ef4bb=a23_0x7fb440,_0x52ea57={};_0x52ea57['fjHYL']='beforeEach',_0x52ea57[_0x5ef4bb(0x1cb)]=_0x5ef4bb(0x264);const _0x30b0f8=_0x52ea57;if(!_0x33cd1a||!_0x33cd1a[_0x5ef4bb(0x1de)])return;_0x33cd1a[_0x5ef4bb(0x1de)][_0x5ef4bb(0x203)]['forEach'](_0x47ffb5=>{const _0x4a0085=_0x5ef4bb;[_0x30b0f8[_0x4a0085(0x27a)],_0x30b0f8[_0x4a0085(0x1cb)]][_0x4a0085(0x243)](_0x47ffb5[_0x4a0085(0x26f)])&&_0x47ffb5['hookAnalyticsId']&&(_0x47ffb5[_0x4a0085(0x1b1)]=null);}),this[_0x5ef4bb(0x23e)](_0x33cd1a[_0x5ef4bb(0x1de)]);};['isJestInternalHook'](_0x53a20e){const _0x2b993b=a23_0x7fb440,_0x36c923={'esmyi':_0x2b993b(0x1a0),'gSIsN':function(_0x24a2bb,_0x42cae8){return _0x24a2bb(_0x42cae8);},'IEqxu':function(_0x472eb0,_0xf860f){return _0x472eb0+_0xf860f;},'gcEuy':_0x2b993b(0x1da)};try{const _0x39690e=this[_0x2b993b(0x1ba)](_0x53a20e);return _0x39690e[_0x2b993b(0x243)](_0x36c923[_0x2b993b(0x251)]);}catch(_0x26008c){_0x36c923[_0x2b993b(0x229)](debug,_0x36c923[_0x2b993b(0x260)](_0x36c923[_0x2b993b(0x254)],_0x26008c));}return![];}[a23_0x7fb440(0x1d3)]=_0x189244=>{const _0xca822=a23_0x7fb440,_0x57bbfc={'ajaoT':function(_0x1ee594,_0x4598a5){return _0x1ee594(_0x4598a5);}};if(!_0x189244||!_0x189244[_0xca822(0x1de)])return[];const _0x2109de=[];return _0x189244['parent'][_0xca822(0x203)][_0xca822(0x28f)](_0x39b751=>{const _0x1d853a=_0xca822;_0x39b751['hookAnalyticsId']&&!_0x57bbfc[_0x1d853a(0x26d)](isInternalHook,_0x39b751['fn'])&&!this[_0x1d853a(0x191)](_0x39b751)&&_0x2109de[_0x1d853a(0x1fb)](_0x39b751[_0x1d853a(0x1b1)]);}),[..._0x2109de,...this[_0xca822(0x1d3)](_0x189244[_0xca822(0x1de)])];};},[a23_0x7fb440(0x208),a23_0x7fb440(0x1f3),a23_0x7fb440(0x1b6),a23_0x7fb440(0x293),a23_0x7fb440(0x284),a23_0x7fb440(0x24a),a23_0x7fb440(0x1fa),a23_0x7fb440(0x25c),a23_0x7fb440(0x22e),'getHierarchy','getRootParentFile','mapTestHooks',a23_0x7fb440(0x1dc),'getHooksForTest',a23_0x7fb440(0x21f)],'ObservabilityReporter');function a23_0x519d(){const _0x88a130=['registerListeners','__jestCurrentTestIdentifier','LogCreated','uMnZf','prefixTestPath','KlCmx','EEcXi','appendTestItemLog','push','5|0|1|6|3|4|2','finished_at','root','CBTSessionCreated','testObservability','_testResults','zjiXz','hooks','started_at','ruskf','passed','_paths','getTestEnv','sep','126UgXgwZ','862824QoomEM','javascript','test_run_uuid','QCjMq','result','\x20with\x20error\x20:\x20','failed',',\x20testIdentifier=','@playwright/test','resolveInstance','clkuR','_testEnv','getTestFramework','failure','hook_type','RZzfl','name','mfDaM','ludMK','_gitConfigured','configureGit','mYQjy','uZTYg','testAnalyticsId','split','28XDdnXy','config','GdhpJ','failed\x20to\x20get\x20root\x20parent\x20file\x20','XcMoh','gSIsN','../../utils/constants','getPackageVersion','../../../helpers/test-observability/error-handler','reverse','analyticsResult','360xUwnQh','failure_reason_expanded','getActiveHook','0|1|4|3|2','NeApR','getInstance','YquxK','XOUpJ','uploadEventData','length','PAHFP','RdgXQ','AFTER_EACH','468970fmZAta','getFileName','mapTestHooks','TEST_REPORTING_ANALYTICS','BEFORE_ALL','pid','QIUkc','includes','jmGYG','mZXCF','GPVVH','6StPjBe',',\x20totalLogs:\x20','uuid','findGitConfig','HPKsg','puppeteer','EqFTg','getTime','jDYYg','bs:addPlatformDetails:','esmyi','isCliEnabled','3966fgreUI','gcEuy','SXuBd','getTestUUID','MoARS','qSwJW','asyncError','uSECs','test','appendTestPlatform','EYxOK','aViTC','../../../helpers/test-observability/sessionHandler','IEqxu','hook_run_uuid','duration',':hookAnalyticsId','afterEach','sQKZu','\x22\x20hook\x20for\x20\x22',':testAnalyticsId','JNGVo','[obsReporter]\x20appendTestItemLog:\x20Error\x20in\x20Jest+Playwright\x20flow\x20detection:\x20','26GpOORV','location_prefix','hook_data','ajaoT','WwXxe','type','toString','currentHook','oiEwo','logs','addMultipleEntries','testIdentifier','Cwcnj','Hcmzf','File\x20path\x20could\x20not\x20be\x20found','312280cqlMBR','fjHYL','current_test','./test-details','JJufG','lkJvn','unknown','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','generic','NvxQs','wPNzh','sendTestRunEvent','[obsReporter]\x20appendTestItemLog:\x20Invalid\x20or\x20missing\x20testIdentifier\x20format:\x20','skipped','HJLzp','../../v2/framework/constants/testFrameworkConstants','AGWLk','../../../helpers/testhub/utils','pending','util','apply','HookRunFinished','forEach','ZBlSn','QMKvw','\x20to\x20log','getName','KEY_LOGS','getAllData','hook_run','isJestInternalHook','http_response','BGAIa','join','dirname','[obsReporter]\x20appendTestItemLog:\x20Stored\x20log\x20in\x20instance.data[KEY_LOGS]\x20for\x20testIdentifier=','ajTBw','GnIJD','14813821OuTsYZ','[obsReporter]\x20appendTestItemLog:\x20Using\x20testIdentifier\x20from\x20global.__jestCurrentTestIdentifier:\x20','event_type','cTXaA','TestRunStarted','relative','state','jest-circus','[obsReporter]\x20appendTestItemLog:\x20Instance\x20not\x20available\x20or\x20addMultipleEntries\x20not\x20available\x20for\x20testIdentifier=','failure_backtrace','js-','[obsReporter]\x20appendTestItemLog:\x20Found\x20active\x20hook\x20-\x20hookUUID=','removeAllListeners','file','pPZci','path','HqJAJ','stack-trace','now','backtrace','__workerDetails',',\x20falling\x20back\x20to\x20Jest+Selenium\x20flow','test_identifier','STATE_PASSED','hookAnalyticsId','retryOf','getHierarchy','RuLFJ','exports','testStarted','lfZug','12931176qOOeZN','POST','getRootParentFile','134820oWbctG','zpxXc','bs:addLog:','test_run','hookUUID','SMOQX','match','BEFORE_EACH','[obsReporter]\x20appendTestItemLog:\x20Attached\x20test_identifier=','PbMGG','dTAfa','errorsDetailed','LWxwn','toISOString','[obsReporter]\x20appendTestItemLog:\x20Attached\x20hook_run_uuid=','DgUlz','BqAOm','lbmIQ','ROOT_DESCRIBE_BLOCK','MSLTw','incoA',',\x20logKind=','.git','wFUVo','getHooksForTest','bind','beforeAll','../../v2/browserstackCLI','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','XRdaB','current_hook','Exception\x20in\x20getting\x20file\x20for\x20hook\x20','[obsReporter]\x20appendTestItemLog:\x20Found\x20active\x20hook\x20from\x20JestTestFramework\x20-\x20hookUUID=','resetTestHooks','STATE_FAILED','parent','markedStatus','failure_reason','beforeEach','Pqdkt','../../v2/state/testFrameworkState','XCLvZ','bTjQR','../../../helpers/helper','afterAll','isRunning','4724rINBsw','setTestUUID','get','TEST','_gitConfigPath','title','puppeteer-core','statSync','QJzSw','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'];a23_0x519d=function(){return _0x88a130;};return a23_0x519d();}
|
|
1
|
+
const a23_0x2d407b=a23_0x440f;(function(_0x373d92,_0x5863fe){const _0x506e7a=a23_0x440f,_0x40abb9=_0x373d92();while(!![]){try{const _0x18d694=-parseInt(_0x506e7a(0x92))/0x1+-parseInt(_0x506e7a(0x17c))/0x2*(parseInt(_0x506e7a(0x16d))/0x3)+-parseInt(_0x506e7a(0x160))/0x4*(-parseInt(_0x506e7a(0x12b))/0x5)+-parseInt(_0x506e7a(0xf1))/0x6*(-parseInt(_0x506e7a(0xd8))/0x7)+-parseInt(_0x506e7a(0xe0))/0x8*(-parseInt(_0x506e7a(0x173))/0x9)+-parseInt(_0x506e7a(0x141))/0xa*(-parseInt(_0x506e7a(0x16b))/0xb)+-parseInt(_0x506e7a(0x12d))/0xc*(parseInt(_0x506e7a(0x11a))/0xd);if(_0x18d694===_0x5863fe)break;else _0x40abb9['push'](_0x40abb9['shift']());}catch(_0x585d61){_0x40abb9['push'](_0x40abb9['shift']());}}}(a23_0x3090,0x65c4e));function a23_0x440f(_0x1ba074,_0x100f3a){const _0x30901b=a23_0x3090();return a23_0x440f=function(_0x440f1b,_0x5e9c12){_0x440f1b=_0x440f1b-0x8f;let _0x363366=_0x30901b[_0x440f1b];return _0x363366;},a23_0x440f(_0x1ba074,_0x100f3a);}function a23_0x3090(){const _0x26b23=['Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','CcVsO','current_test','test','testObservability','push','aIvvX','getTime','@playwright/test','afterEach','bind','ESvQk','started_at','toString','\x20with\x20error\x20:\x20','QdRGu','asyncError','resolveInstance','JFnNY','XweLX','finished_at','HGedz','_testResults','parse','[obsReporter]\x20appendTestItemLog:\x20Jest+Playwright/Puppeteer\x20CLI\x20flow\x20detected,\x20using\x20in-memory\x20storage','NaEae','pid','getTestUUID','isJestInternalHook','statSync','jest-circus','YtnTp','uuid',':testAnalyticsId','passed','fEXIV','iwoVa','javascript','util','_paths','xCcfJ','uXgLG','zZpKb','getHierarchy','test_identifier','VTZdP','rXuWJ','TEST_REPORTING_ANALYTICS','7joGDVE','fqGig','hookAnalyticsId','dirname','bs:addPlatformDetails:','YkvcH','bsOdj','_gitConfigured','72yAPUKC','ZnzSc','\x20to\x20log','rjlgj','hook_run_uuid','join','TestRunStarted','MHwvg','pgXPy','6|5|2|3|1|0|4','retryOf','mapTestHooks','rLoim','root','puppeteer-core','failure','event_type','4050954bSAQbd','STATE_PASSED','AfvLR','exports','DZsmY','getTestFramework','aymWN','failure_reason','POST','rotxi','GvxhO','STATE_FAILED','config','../../utils/constants','failed','svSxn','MsfnO','HookRunFinished','szyvH','type','hook_data','reverse','[obsReporter]\x20appendTestItemLog:\x20Using\x20testIdentifier\x20from\x20global.__jestCurrentTestIdentifier:\x20','ZSVtJ','logs','YvsJU','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','hook_failure','getAllData','[obsReporter]\x20appendTestItemLog:\x20Invalid\x20or\x20missing\x20testIdentifier\x20format:\x20','get','OUprl','BEFORE_EACH','__jestCurrentTestIdentifier','removeAllListeners','getTestEnv','[obsReporter]\x20appendTestItemLog:\x20Found\x20active\x20hook\x20-\x20hookUUID=','LoDoL','testStarted','includes','NvHzG','19703346BstocC','resetTestHooks','relative','ewLPk','Ptpfj','STATE_PENDING','duration','getInstance','getActiveHook','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','currentHook','../../v2/browserstackCLI',',\x20falling\x20back\x20to\x20Jest+Selenium\x20flow','[obsReporter]\x20appendTestItemLog:\x20Stored\x20log\x20in\x20instance.data[KEY_LOGS]\x20for\x20testIdentifier=','DdrOP','failed\x20to\x20get\x20root\x20parent\x20file\x20','./test-details','920WbIdsc','../../../helpers/helper','12eOjpIP','../../v2/state/hookState','name','inspect','failure_reason_expanded','hQJXt','KEY_LOGS','file','markedStatus','hfxsh','prefixTestPath','AFTER_ALL','getHooksForTest','location_prefix','../../../helpers/test-observability/sessionHandler',',\x20testIdentifier=','forEach','appendTestPlatform','current_hook','ExWPg','121850yTMNUm','wIzOK','../../v2/framework/constants/testFrameworkConstants','cwd',':hookAnalyticsId','LBpvg','dSiMs','CjkZQ','lIuMf','isRunning','qvFYF','state','ROOT_DESCRIBE_BLOCK','getName','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','http_response','setTestUUID',',\x20logKind=','_testEnv','_gitConfigPath','__workerDetails','tlWRy','hook_type','pnbvi','Exception\x20in\x20getting\x20file\x20for\x20hook\x20','HWTMC','TEST','test_run_uuid','nMejt','EHUsl','failure_backtrace','16672FXQKtc','getRootParentFile','sXzIk','hooks','length','apply','failure_type',',\x20totalLogs:\x20','hookUUID','CRzCC','LogCreated','187SzItaS','izeUW','37659rStlSS','split','skipped','twXAm','File\x20path\x20could\x20not\x20be\x20found','uploadEventData','825138cVDGLz','getPackageVersion','MEhYl','_currentRetry','hook_run','title','../../../helpers/test-observability/error-handler','match','OQRea','86NLLyvB','xgQnc','test_run','ROpYQ','xiVJM','expanded','ObPMT','ObservabilityReporter','BqEvu','rJsAg','result','qhQEA','../../../helpers/testhub/utils','LzlQk','generic','parent','\x22\x20hook\x20for\x20\x22','UiIIo','TestRunFinished','puppeteer','2087BZotuL','bs:addLog:','[obsReporter]\x20appendTestItemLog:\x20Found\x20active\x20hook\x20from\x20JestTestFramework\x20-\x20hookUUID=','analyticsResult','testAnalyticsId','beforeAll','backtrace','toISOString','sendTestRunEvent','dtAXE','UaOwi','sYgXl','hcCIh','addMultipleEntries','beforeEach','getFileName','GeGOK','pending','js-','findGitConfig','appendTestItemLog','errorsDetailed'];a23_0x3090=function(){return _0x26b23;};return a23_0x3090();}const {isTestObservabilitySession,PathHelper,debug,failureData,getFailureType,isInternalHook}=require('../../../helpers/test-observability/utils'),SessionHandler=require(a23_0x2d407b(0x13b)),{v4:uuidv4}=require('uuid'),{name,version}=require('../../../../package.json'),stackTrace=require('stack-trace'),path=require('path'),fs=require('fs'),TestDetails=require(a23_0x2d407b(0x12a)),{FRAMEWORKS}=require(a23_0x2d407b(0xfe)),{o11yClassErrorHandler}=require(a23_0x2d407b(0x179)),{getGitMetaData}=require('../../../helpers/helper'),helper=require(a23_0x2d407b(0x12c)),{appendTesthubParams,setCurrentTestData}=require(a23_0x2d407b(0x188)),constants=require('../../utils/constants'),BrowserstackCLI=require(a23_0x2d407b(0x125)),a23_0x9a3d5d={};a23_0x9a3d5d[a23_0x2d407b(0xf2)]=a23_0x2d407b(0xca),a23_0x9a3d5d[a23_0x2d407b(0xfc)]='failed',a23_0x9a3d5d[a23_0x2d407b(0x11f)]='pending';const {STATE_PASSED,STATE_PENDING,STATE_FAILED}=a23_0x9a3d5d,a23_0xad2781={};a23_0xad2781[a23_0x2d407b(0x97)]='BEFORE_ALL',a23_0xad2781['afterAll']=a23_0x2d407b(0x138),a23_0xad2781['beforeEach']=a23_0x2d407b(0x111),a23_0xad2781[a23_0x2d407b(0xb1)]='AFTER_EACH';const HOOK_TYPES_MAP=a23_0xad2781;module[a23_0x2d407b(0xf4)]=o11yClassErrorHandler(class ObservabilityReporter{constructor(){const _0x2b42aa=a23_0x2d407b,_0x5b626d={'NzjOp':_0x2b42aa(0xe9),'ZnzSc':function(_0x45c3bf){return _0x45c3bf();}},_0x57ac7c=_0x5b626d['NzjOp'][_0x2b42aa(0x16e)]('|');let _0x58f52e=0x0;while(!![]){switch(_0x57ac7c[_0x58f52e++]){case'0':this['_gitConfigured']=![];continue;case'1':this[_0x2b42aa(0x105)]=[];continue;case'2':this[_0x2b42aa(0x153)]=this[_0x2b42aa(0x114)]();continue;case'3':this[_0x2b42aa(0xcf)]=new PathHelper({'cwd':process[_0x2b42aa(0x144)]()},this['_testEnv'][_0x2b42aa(0x13a)]);continue;case'4':this[_0x2b42aa(0x154)]=null;continue;case'5':this[_0x2b42aa(0xbe)]=[];continue;case'6':this[_0x2b42aa(0xac)]=_0x5b626d[_0x2b42aa(0xe1)](isTestObservabilitySession);continue;}break;}}['getTestEnv']=()=>{const _0x11f1b0=a23_0x2d407b,_0x10f4fb={'nMejt':_0x11f1b0(0x18a),'aIvvX':function(_0x3eb9f2){return _0x3eb9f2();}};return{'ci':_0x10f4fb[_0x11f1b0(0x15d)],'key':_0x10f4fb[_0x11f1b0(0xae)](uuidv4),'version':version,'collector':_0x11f1b0(0xa4)+name};};['registerListeners'](){const _0x3af3f9=a23_0x2d407b;process[_0x3af3f9(0x113)](_0x3af3f9(0x93)+process[_0x3af3f9(0xc2)]),process['on'](_0x3af3f9(0x93)+process[_0x3af3f9(0xc2)],this[_0x3af3f9(0xa6)][_0x3af3f9(0xb2)](this)),process[_0x3af3f9(0x113)]('bs:addPlatformDetails:'+process[_0x3af3f9(0xc2)]),process['on'](_0x3af3f9(0xdc)+process[_0x3af3f9(0xc2)],this[_0x3af3f9(0x13e)][_0x3af3f9(0xb2)](this));}[a23_0x2d407b(0x117)]=async _0x1c7713=>{const _0x2fc044=a23_0x2d407b,_0x1e47cc={'KXZrC':function(_0x4dbcec,_0x55b82a){return _0x4dbcec>_0x55b82a;},'izeUW':function(_0x9eba73,_0x593b6e){return _0x9eba73===_0x593b6e;},'UaOwi':_0x2fc044(0xe6),'CTLHI':function(_0x45d73e,_0x2cbc92){return _0x45d73e(_0x2cbc92);}};try{const _0x4accfe=this[_0x2fc044(0xaa)];this['current_test']=_0x1c7713,_0x1c7713[_0x2fc044(0xea)]=null,_0x1c7713[_0x2fc044(0x96)]=TestDetails[_0x2fc044(0x151)](process['pid']+_0x2fc044(0xc9)),_0x1c7713['started_at']=new Date()[_0x2fc044(0x99)](),_0x1e47cc['KXZrC'](_0x1c7713[_0x2fc044(0x176)],0x0)&&_0x4accfe&&_0x1e47cc[_0x2fc044(0x16c)](_0x4accfe[_0x2fc044(0x178)],_0x1c7713['title'])?(_0x1c7713[_0x2fc044(0xea)]=_0x4accfe[_0x2fc044(0x96)],await this[_0x2fc044(0x9a)](_0x1c7713,undefined,![],_0x1e47cc[_0x2fc044(0x9c)]),_0x4accfe[_0x2fc044(0x14c)]=STATE_FAILED,await this[_0x2fc044(0x9a)](_0x4accfe,undefined,!![])):await this[_0x2fc044(0x9a)](_0x1c7713,undefined,![],_0x1e47cc[_0x2fc044(0x9c)]);}catch(_0x956552){_0x1e47cc['CTLHI'](debug,_0x2fc044(0x10b)+_0x956552);}};['getName'](_0x5973d2){const _0x52fdf5=a23_0x2d407b,_0x5a3e2e={};_0x5a3e2e[_0x52fdf5(0x103)]=function(_0x3ad21,_0x2b6a86){return _0x3ad21!==_0x2b6a86;},_0x5a3e2e[_0x52fdf5(0xf3)]=_0x52fdf5(0xab);const _0x2598b8=_0x5a3e2e;if(_0x2598b8[_0x52fdf5(0x103)](_0x5973d2[_0x52fdf5(0x104)],_0x2598b8[_0x52fdf5(0xf3)]))return'\x22'+_0x5973d2[_0x52fdf5(0x104)]+_0x52fdf5(0x18c)+(_0x5973d2[_0x52fdf5(0x18b)]&&_0x5973d2[_0x52fdf5(0x18b)][_0x52fdf5(0x12f)])+'\x22';return _0x5973d2[_0x52fdf5(0x12f)];}['sendTestRunEvent']=async(_0x311c49,_0x131a37=undefined,_0x272674=![],_0x32e163=a23_0x2d407b(0x90))=>{const _0x17d82f=a23_0x2d407b,_0x6830c2={'DdrOP':'1|0|4|2|3','bsOdj':_0x17d82f(0x177),'YkvcH':_0x17d82f(0x166),'ExWPg':_0x17d82f(0x17e),'lIuMf':_0x17d82f(0xef),'hfxsh':_0x17d82f(0xf8),'hOXEQ':_0x17d82f(0x186),'DvAUb':function(_0x258b31,_0x8088d2){return _0x258b31(_0x8088d2);},'OUprl':'jest-circus','LoDoL':_0x17d82f(0xce),'aymWN':function(_0x888b14,_0x2a2ee3){return _0x888b14!==_0x2a2ee3;},'BqEvu':_0x17d82f(0xab),'pgXPy':'err','MHwvg':_0x17d82f(0x171),'GeGOK':_0x17d82f(0xcd),'OQRea':function(_0x1d0ffc,_0x32fd5b){return _0x1d0ffc===_0x32fd5b;},'Ptpfj':'TestRunSkipped','fqGig':_0x17d82f(0x16f),'dSiMs':function(_0x4cd7ed,_0x85d4f5){return _0x4cd7ed>_0x85d4f5;},'MsfnO':_0x17d82f(0xff),'MEhYl':_0x17d82f(0xca),'rJsAg':function(_0x538da1,_0x4f76b7){return _0x538da1-_0x4f76b7;},'irKRZ':function(_0x32f44c,_0x39c701){return _0x32f44c(_0x39c701);},'sYgXl':function(_0x421053,_0x4610b1,_0x423da2,_0x16a1e7,_0x467366){return _0x421053(_0x4610b1,_0x423da2,_0x16a1e7,_0x467366);},'UiIIo':_0x17d82f(0xb4),'BFYhm':_0x17d82f(0xbc),'qhQEA':_0x17d82f(0x102),'ZSVtJ':_0x17d82f(0x15f),'WxfWh':_0x17d82f(0x98),'rXuWJ':_0x17d82f(0x131),'rjlgj':_0x17d82f(0x181),'JFnNY':_0x17d82f(0x90),'ewLPk':function(_0x50917e,_0x4c6f26){return _0x50917e===_0x4c6f26;},'GqwwH':'hook_type','NvHzG':function(_0xe10b56,_0x4bd96d){return _0xe10b56===_0x4bd96d;},'TqPNU':_0x17d82f(0x97),'HWTMC':function(_0x162d78,_0x1b7be6,_0x3ddb4a){return _0x162d78(_0x1b7be6,_0x3ddb4a);},'rWuig':function(_0x14167e,_0x5bc50a){return _0x14167e(_0x5bc50a);}};try{if(_0x311c49['fn']&&_0x311c49['fn'][_0x17d82f(0xb5)]()[_0x17d82f(0x17a)](/browserstack internal helper hook/))return;await this['configureGit']();let _0x3d21d1;try{_0x3d21d1=this[_0x17d82f(0x161)](_0x311c49);}catch(_0x547308){_0x6830c2['DvAUb'](debug,_0x17d82f(0x129)+_0x547308),_0x3d21d1=null;}if(_0x3d21d1[_0x17d82f(0x118)](_0x6830c2[_0x17d82f(0x110)]))return;const _0x532f1d=_0x6830c2['DvAUb'](require,_0x6830c2[_0x17d82f(0x116)]);let _0x58f01a=[];if(_0x6830c2[_0x17d82f(0xf7)](_0x311c49[_0x17d82f(0xa7)],undefined))_0x58f01a=[_0x311c49['errorsDetailed'],_0x6830c2[_0x17d82f(0x184)]];else _0x6830c2[_0x17d82f(0xf7)](_0x131a37,undefined)?_0x58f01a=[_0x131a37,_0x6830c2[_0x17d82f(0xe8)]]:_0x58f01a=[];const _0x3f8d5a=_0x6830c2[_0x17d82f(0xf7)](_0x311c49[_0x17d82f(0xa7)],undefined)?_0x532f1d[_0x17d82f(0x130)](_0x311c49[_0x17d82f(0xa7)][0x0]):_0x6830c2['aymWN'](_0x131a37,undefined)?_0x131a37[_0x17d82f(0xb5)]():undefined,_0x47b01a=_0x3d21d1?this[_0x17d82f(0xcf)][_0x17d82f(0x137)](this['getRootParentFile'](_0x311c49)):_0x6830c2[_0x17d82f(0xe7)],_0x101730={'framework':FRAMEWORKS['JEST'],'uuid':_0x311c49[_0x17d82f(0x96)]||_0x311c49[_0x17d82f(0xda)],'name':this[_0x17d82f(0x14e)](_0x311c49),'body':{'lang':_0x6830c2[_0x17d82f(0xa2)],'code':_0x311c49['fn']['toString']()},'scopes':this[_0x17d82f(0xd3)](_0x311c49),'file_name':_0x47b01a,'vc_filepath':this[_0x17d82f(0x154)]&&_0x3d21d1?path[_0x17d82f(0x11c)](this[_0x17d82f(0x154)],_0x3d21d1):null,'location':_0x47b01a,'result':_0x6830c2['OQRea'](_0x32e163,_0x6830c2[_0x17d82f(0x11e)])?_0x6830c2[_0x17d82f(0xd9)]:this['analyticsResult'](_0x311c49['errorsDetailed']&&_0x6830c2[_0x17d82f(0x147)](_0x311c49[_0x17d82f(0xa7)][_0x17d82f(0x164)],0x0)?_0x6830c2[_0x17d82f(0x101)]:_0x6830c2[_0x17d82f(0x175)]),'failure_reason':_0x3f8d5a,'duration_in_ms':_0x311c49[_0x17d82f(0x120)]||(_0x32e163['match'](/Finished/)||_0x32e163[_0x17d82f(0x17a)](/Skipped/)?_0x6830c2[_0x17d82f(0x185)](Date['now'](),new Date(_0x311c49[_0x17d82f(0xb4)])[_0x17d82f(0xaf)]()):null),'started_at':_0x311c49['started_at'],'finished_at':_0x32e163['match'](/Finished/)||_0x32e163[_0x17d82f(0x17a)](/Skipped/)?new Date()[_0x17d82f(0x99)]():null,'failure':failureData[_0x17d82f(0x165)](null,_0x58f01a),'failure_type':!_0x3f8d5a?null:_0x6830c2['irKRZ'](getFailureType,_0x3f8d5a),'retry_of':_0x311c49[_0x17d82f(0xea)]};_0x6830c2[_0x17d82f(0x9d)](appendTesthubParams,_0x101730,_0x32e163,_0x311c49,FRAMEWORKS['JEST']);_0x6830c2[_0x17d82f(0x17b)](_0x32e163,_0x6830c2[_0x17d82f(0x11e)])&&!_0x101730[_0x6830c2[_0x17d82f(0x8f)]]&&(_0x101730[_0x6830c2[_0x17d82f(0x8f)]]=_0x101730[_0x6830c2['BFYhm']]);if(_0x32e163[_0x17d82f(0x17a)](/HookRun/))[_0x101730[_0x17d82f(0x157)],_0x101730[_0x17d82f(0x12f)]]=[_0x311c49[_0x17d82f(0x104)],this[_0x17d82f(0x14e)](_0x311c49)],_0x6830c2[_0x17d82f(0x17b)](_0x32e163,_0x6830c2[_0x17d82f(0x187)])&&(_0x6830c2[_0x17d82f(0xf7)](_0x101730[_0x17d82f(0x186)],_0x6830c2[_0x17d82f(0x101)])&&(_0x101730[_0x17d82f(0x186)]=_0x6830c2[_0x17d82f(0x175)]));else _0x32e163[_0x17d82f(0x17a)](/TestRun/)&&this['mapTestHooks'](_0x311c49);const _0x570054=_0x101730[_0x6830c2[_0x17d82f(0x149)]][0x0];_0x570054&&(_0x101730[_0x6830c2[_0x17d82f(0x108)]]=_0x570054[_0x6830c2['WxfWh']],_0x101730[_0x6830c2[_0x17d82f(0xd6)]]=_0x570054[_0x6830c2[_0x17d82f(0xe3)]]);[_0x6830c2[_0x17d82f(0xba)],_0x6830c2[_0x17d82f(0x11e)]][_0x17d82f(0x118)](_0x32e163)&&(this[_0x17d82f(0xbe)]['push'](_0x101730),_0x101730['hooks']=this[_0x17d82f(0x139)](_0x311c49),this['resetTestHooks'](_0x311c49));const _0x12bea4={'event_type':_0x6830c2[_0x17d82f(0x11d)](_0x32e163,_0x6830c2[_0x17d82f(0x11e)])?_0x6830c2['JFnNY']:_0x32e163};_0x32e163[_0x17d82f(0x17a)](/HookRun/)?(_0x101730[_0x6830c2['GqwwH']]=HOOK_TYPES_MAP[_0x101730[_0x6830c2['GqwwH']]],_0x12bea4[_0x6830c2[_0x17d82f(0xde)]]=_0x101730):_0x12bea4[_0x6830c2[_0x17d82f(0x140)]]=_0x101730;_0x6830c2[_0x17d82f(0x147)](this[_0x17d82f(0x105)]['length'],0x0)&&[_0x6830c2[_0x17d82f(0xba)],_0x6830c2[_0x17d82f(0x11e)]][_0x17d82f(0x118)](_0x32e163)&&(this['hook_data'][_0x17d82f(0x13d)](async _0x251de2=>{const _0x5e0722=_0x17d82f,_0x524fde=_0x6830c2[_0x5e0722(0x128)][_0x5e0722(0x16e)]('|');let _0x1f5a37=0x0;while(!![]){switch(_0x524fde[_0x1f5a37++]){case'0':_0x251de2[_0x6830c2[_0x5e0722(0xde)]][_0x6830c2[_0x5e0722(0xdd)]]=_0x12bea4[_0x6830c2[_0x5e0722(0x140)]][_0x6830c2['YkvcH']];continue;case'1':_0x251de2[_0x6830c2[_0x5e0722(0xde)]][_0x6830c2[_0x5e0722(0x149)]]=_0x12bea4[_0x6830c2['ExWPg']][_0x6830c2[_0x5e0722(0x149)]];continue;case'2':_0x251de2[_0x6830c2['bsOdj']][_0x6830c2[_0x5e0722(0x136)]]=_0x12bea4[_0x6830c2['ExWPg']][_0x6830c2[_0x5e0722(0x136)]];continue;case'3':await SessionHandler[_0x5e0722(0x172)](_0x251de2);continue;case'4':_0x251de2[_0x6830c2['bsOdj']][_0x6830c2['hOXEQ']]=_0x12bea4[_0x6830c2[_0x5e0722(0x140)]][_0x6830c2['hOXEQ']];continue;}break;}}),this[_0x17d82f(0x105)]=[]);if(_0x6830c2[_0x17d82f(0x17b)](this[_0x17d82f(0x10c)],_0x311c49['type'])){this['hook_data']['push'](_0x12bea4);return;}_0x6830c2[_0x17d82f(0x119)](this['hook_failure'],_0x6830c2['TqPNU'])&&_0x12bea4[_0x6830c2[_0x17d82f(0x140)]]&&(_0x12bea4[_0x6830c2[_0x17d82f(0x140)]][_0x6830c2['hOXEQ']]=_0x6830c2['fqGig'],_0x12bea4[_0x6830c2[_0x17d82f(0x140)]][_0x6830c2[_0x17d82f(0x149)]]=null,_0x12bea4[_0x6830c2[_0x17d82f(0x140)]][_0x6830c2[_0x17d82f(0xdd)]]=null),_0x6830c2[_0x17d82f(0x15a)](setCurrentTestData,FRAMEWORKS['JEST'],_0x12bea4),await SessionHandler[_0x17d82f(0x172)](_0x12bea4);}catch(_0x28085d){_0x6830c2['rWuig'](debug,_0x17d82f(0xa8)+_0x32e163+_0x17d82f(0xb6)+_0x28085d);}};[a23_0x2d407b(0xa5)](_0x3e1c79){const _0x1dab9c=a23_0x2d407b,_0x33b632={};_0x33b632[_0x1dab9c(0xc1)]=function(_0x1196f6,_0x11d57d){return _0x1196f6==_0x11d57d;},_0x33b632['YtnTp']=function(_0x131625,_0x262349){return _0x131625===_0x262349;},_0x33b632[_0x1dab9c(0x9e)]='.git',_0x33b632[_0x1dab9c(0xec)]=_0x1dab9c(0xfd);const _0x1895ef=_0x33b632,_0x30b511=path['sep'];if(_0x1895ef[_0x1dab9c(0xc1)](_0x3e1c79,null)||_0x1895ef[_0x1dab9c(0xc7)](_0x3e1c79,'')||_0x1895ef[_0x1dab9c(0xc7)](_0x3e1c79,_0x30b511)||_0x1895ef['YtnTp'](_0x3e1c79,path['dirname'](_0x3e1c79)))return null;try{return fs[_0x1dab9c(0xc5)](path[_0x1dab9c(0xe5)](_0x3e1c79,_0x1895ef[_0x1dab9c(0x9e)],_0x1895ef[_0x1dab9c(0xec)])),_0x3e1c79;}catch(_0x4f45be){const _0x48ca52=path[_0x1dab9c(0xdb)](_0x3e1c79);return this[_0x1dab9c(0xa5)](_0x48ca52);}}[a23_0x2d407b(0xa6)]=async _0x3f96aa=>{const _0x2add24=a23_0x2d407b,_0x2c8a76={'iwoVa':_0x2add24(0xb0),'CRzCC':_0x2add24(0xee),'YvsJU':_0x2add24(0x91),'HvsLz':function(_0x5bf27d,_0x289aaf){return _0x5bf27d||_0x289aaf;},'fEXIV':function(_0x2dbd43,_0x1b827b){return _0x2dbd43(_0x1b827b);},'HGedz':_0x2add24(0xc0),'xCcfJ':function(_0x53d555,_0x26374d){return _0x53d555(_0x26374d);},'qvFYF':function(_0x123246,_0x13b566){return _0x123246&&_0x13b566;},'wIzOK':function(_0x303e40,_0x176c92){return _0x303e40(_0x176c92);},'xgQnc':':jest-','zZpKb':function(_0x23fc6e,_0x48c17e){return _0x23fc6e(_0x48c17e);},'DZsmY':function(_0xd66146,_0x34b14d){return _0xd66146(_0x34b14d);},'LzlQk':function(_0x3c5a74,_0x4204fc){return _0x3c5a74(_0x4204fc);},'ddUud':'../../v2/state/testFrameworkState','XweLX':_0x2add24(0x12e),'xiVJM':function(_0x28403e,_0x180c84){return _0x28403e(_0x180c84);},'CIVWW':_0x2add24(0x143),'WefTK':function(_0x522944,_0x35fafc){return _0x522944===_0x35fafc;},'svSxn':'function','ROpYQ':function(_0x168071,_0x3074d3){return _0x168071(_0x3074d3);},'clHYs':'unknown','ESvQk':function(_0x409f58,_0x1b8b03){return _0x409f58(_0x1b8b03);},'twXAm':function(_0x344008,_0x6369b){return _0x344008(_0x6369b);},'dtAXE':_0x2add24(0x16a)};try{const _0x38eb69=helper[_0x2add24(0x174)](_0x2c8a76[_0x2add24(0xcc)]),_0x4a4b9a=!!_0x38eb69,_0x48c43c=helper['getPackageVersion'](_0x2c8a76[_0x2add24(0x169)])||helper[_0x2add24(0x174)](_0x2c8a76[_0x2add24(0x10a)]),_0x367735=!!_0x48c43c,_0x3f83b6=BrowserstackCLI['getInstance']()['isCliEnabled']()&&BrowserstackCLI['getInstance']()[_0x2add24(0x14a)]();if(_0x2c8a76['HvsLz'](_0x4a4b9a,_0x367735)&&_0x3f83b6){_0x2c8a76[_0x2add24(0xcb)](debug,_0x2c8a76[_0x2add24(0xbd)]);let _0x2fa330=null,_0x4df851=null;if(global['__workerDetails']&&global[_0x2add24(0x155)][_0x2add24(0x124)]){const _0x4f6c49=global[_0x2add24(0x155)][_0x2add24(0x124)];_0x4df851=_0x4f6c49[_0x2add24(0x168)],_0x2fa330=_0x4f6c49['testIdentifier'],_0x2c8a76[_0x2add24(0xcb)](debug,_0x2add24(0x115)+_0x4df851+_0x2add24(0x13c)+_0x2fa330);}!_0x2fa330&&(_0x2fa330=global[_0x2add24(0x112)],_0x2c8a76[_0x2add24(0xd0)](debug,_0x2add24(0x107)+_0x2fa330));if(_0x2c8a76[_0x2add24(0x14b)](!_0x4df851,_0x2fa330)){const _0x58c8d2=BrowserstackCLI[_0x2add24(0x121)]()[_0x2add24(0xf6)]();if(_0x58c8d2&&_0x58c8d2[_0x2add24(0x122)]){const _0x439870=_0x58c8d2['getActiveHook'](_0x2fa330);_0x439870&&_0x439870[_0x2add24(0x168)]&&(_0x4df851=_0x439870['hookUUID'],_0x2c8a76['wIzOK'](debug,_0x2add24(0x94)+_0x4df851+_0x2add24(0x13c)+_0x2fa330));}}if(!_0x2fa330||!_0x2fa330[_0x2add24(0x118)](_0x2c8a76[_0x2add24(0x17d)]))_0x2c8a76[_0x2add24(0xd2)](debug,_0x2add24(0x10e)+_0x2fa330+_0x2add24(0x126));else{_0x4df851&&(_0x3f96aa[_0x2add24(0xe4)]=_0x4df851,_0x2c8a76['DZsmY'](debug,'[obsReporter]\x20appendTestItemLog:\x20Attached\x20hook_run_uuid='+_0x4df851+_0x2add24(0xe2)));_0x3f96aa[_0x2add24(0xd4)]=_0x2fa330,_0x2c8a76[_0x2add24(0x189)](debug,'[obsReporter]\x20appendTestItemLog:\x20Attached\x20test_identifier='+_0x2fa330+_0x2add24(0xe2));const _0xdd527b=BrowserstackCLI[_0x2add24(0x121)]()[_0x2add24(0xf6)]();if(_0xdd527b){const _0x33c1f0=_0x2c8a76[_0x2add24(0x142)](require,_0x2c8a76['ddUud']),_0x583748=_0x2c8a76[_0x2add24(0xf5)](require,_0x2c8a76[_0x2add24(0xbb)]),_0x8e164f=_0x2c8a76[_0x2add24(0x180)](require,_0x2c8a76['CIVWW']),_0x4e98c0=_0xdd527b[_0x2add24(0xb9)](_0x33c1f0[_0x2add24(0x15b)],_0x583748[_0x2add24(0xf9)]);if(_0x4e98c0&&_0x2c8a76['WefTK'](typeof _0x4e98c0[_0x2add24(0x9f)],_0x2c8a76[_0x2add24(0x100)])){const _0x1b8b11=_0x4e98c0[_0x2add24(0x10d)]()[_0x2add24(0x10f)](_0x2fa330)||{},_0x571a0a=_0x1b8b11[_0x8e164f[_0x2add24(0x133)]]||[],_0x240468=[..._0x571a0a,_0x3f96aa],_0x3e365f={[_0x8e164f[_0x2add24(0x133)]]:_0x240468},_0x1dfc29={};_0x1dfc29[_0x2fa330]=_0x3e365f,_0x4e98c0['addMultipleEntries'](_0x1dfc29),_0x2c8a76[_0x2add24(0x17f)](debug,_0x2add24(0x127)+_0x2fa330+_0x2add24(0x152)+(_0x3f96aa['kind']||_0x2c8a76['clHYs'])+_0x2add24(0x167)+_0x240468[_0x2add24(0x164)]);return;}_0x2c8a76[_0x2add24(0xb3)](debug,'[obsReporter]\x20appendTestItemLog:\x20Instance\x20not\x20available\x20or\x20addMultipleEntries\x20not\x20available\x20for\x20testIdentifier='+_0x2fa330+_0x2add24(0x126));}}}}catch(_0x4da456){_0x2c8a76[_0x2add24(0x170)](debug,'[obsReporter]\x20appendTestItemLog:\x20Error\x20in\x20Jest+Playwright\x20flow\x20detection:\x20'+_0x4da456+_0x2add24(0x126));}const _0x19c63a=TestDetails[_0x2add24(0xc3)](process[_0x2add24(0xc2)]+_0x2add24(0x145)),_0x340003=TestDetails[_0x2add24(0xc3)](process[_0x2add24(0xc2)]+_0x2add24(0xc9));try{(_0x19c63a||this[_0x2add24(0x13f)]&&!this['current_hook'][_0x2add24(0x135)])&&(_0x3f96aa[_0x2add24(0xe4)]=_0x19c63a);!_0x3f96aa[_0x2add24(0xe4)]&&_0x340003&&(_0x3f96aa[_0x2add24(0x15c)]=_0x340003);if(_0x3f96aa[_0x2add24(0xe4)]||_0x3f96aa[_0x2add24(0x15c)]){const _0x2539e5={};_0x2539e5[_0x2add24(0xf0)]=_0x2c8a76[_0x2add24(0x9b)],_0x2539e5[_0x2add24(0x109)]=[_0x3f96aa],await SessionHandler['uploadEventData'](_0x2539e5);}}catch(_0x1691ed){_0x2c8a76[_0x2add24(0x142)](debug,_0x2add24(0x14f)+constants[_0x2add24(0xd7)]+_0x2add24(0xb6)+_0x1691ed);}};[a23_0x2d407b(0x13e)]=async _0x155da8=>{const _0x3ff118=a23_0x2d407b,_0x512e2e={'YVipD':_0x3ff118(0x150),'VTZdP':'CBTSessionCreated','rotxi':function(_0x105bba,_0x3bcadc){return _0x105bba(_0x3bcadc);}};try{const _0x27ba5c={'uuid':_0x155da8[_0x3ff118(0xc8)]||TestDetails[_0x3ff118(0xc3)](process[_0x3ff118(0xc2)]+_0x3ff118(0xc9)),'integrations':_0x155da8[_0x512e2e['YVipD']]},_0x53011c={};_0x53011c[_0x3ff118(0xf0)]=_0x512e2e[_0x3ff118(0xd5)],_0x53011c[_0x3ff118(0x17e)]=_0x27ba5c,await SessionHandler[_0x3ff118(0x172)](_0x53011c);}catch(_0x4e8a4e){_0x512e2e[_0x3ff118(0xfa)](debug,_0x3ff118(0x123)+constants[_0x3ff118(0xd7)]+_0x3ff118(0xb6)+_0x4e8a4e);}};async['configureGit'](){const _0x3b3647=a23_0x2d407b,_0x43fff5={'sXzIk':function(_0x4bd0e9){return _0x4bd0e9();}};if(this[_0x3b3647(0xdf)])return this[_0x3b3647(0x154)];const _0x30ed02=await _0x43fff5[_0x3b3647(0x162)](getGitMetaData);_0x30ed02&&(this[_0x3b3647(0x154)]=_0x30ed02[_0x3b3647(0xed)]),this['_gitConfigured']=!![];}[a23_0x2d407b(0x95)](_0x4c2723){const _0x252681=a23_0x2d407b,_0x2f1edd={};_0x2f1edd['CjkZQ']=_0x252681(0xca),_0x2f1edd['wHjdp']=_0x252681(0xa3),_0x2f1edd[_0x252681(0x132)]=_0x252681(0xff);const _0x38a91c=_0x2f1edd,_0x13541e={};return _0x13541e[STATE_PASSED]=_0x38a91c[_0x252681(0x148)],_0x13541e[STATE_PENDING]=_0x38a91c['wHjdp'],_0x13541e[STATE_FAILED]=_0x38a91c[_0x252681(0x132)],_0x13541e[_0x4c2723];}[a23_0x2d407b(0xd3)](_0x2e100d){const _0x2bfc13=a23_0x2d407b,_0xf43a93={};_0xf43a93[_0x2bfc13(0x182)]=function(_0x264c63,_0x58d8be){return _0x264c63!==_0x58d8be;},_0xf43a93[_0x2bfc13(0xfb)]=function(_0x4c511b,_0x16beae){return _0x4c511b!==_0x16beae;},_0xf43a93[_0x2bfc13(0x146)]=_0x2bfc13(0x14d);const _0xfab724=_0xf43a93,_0x59aaf0=[];if(_0x2e100d&&_0x2e100d[_0x2bfc13(0x18b)]){let _0x4bd9dc=_0x2e100d[_0x2bfc13(0x18b)];while(_0x4bd9dc&&_0xfab724[_0x2bfc13(0x182)](_0x4bd9dc['name'],'')&&_0xfab724[_0x2bfc13(0xfb)](_0x4bd9dc[_0x2bfc13(0x12f)],_0xfab724[_0x2bfc13(0x146)])){_0x59aaf0[_0x2bfc13(0xad)](_0x4bd9dc[_0x2bfc13(0x12f)]),_0x4bd9dc=_0x4bd9dc['parent'];}}return _0x59aaf0[_0x2bfc13(0x106)](),_0x59aaf0;}[a23_0x2d407b(0x161)]=_0x595a58=>{const _0x21500f=a23_0x2d407b;if(_0x595a58[_0x21500f(0xb8)]){const _0x1146cb=stackTrace[_0x21500f(0xbf)]['call'](stackTrace,_0x595a58[_0x21500f(0xb8)]);return _0x1146cb[0x0][_0x21500f(0xa1)]();}if(_0x595a58['file'])return _0x595a58[_0x21500f(0x134)];return null;};[a23_0x2d407b(0xeb)]=_0x273624=>{const _0x12c36d=a23_0x2d407b;if(!_0x273624||!_0x273624[_0x12c36d(0x18b)])return;_0x273624[_0x12c36d(0x18b)][_0x12c36d(0x163)][_0x12c36d(0x13d)](_0x546d43=>{const _0x43c7bb=_0x12c36d;!_0x546d43[_0x43c7bb(0xda)]&&(_0x546d43[_0x43c7bb(0xda)]=TestDetails[_0x43c7bb(0x151)](process[_0x43c7bb(0xc2)]+_0x43c7bb(0x145)));}),this[_0x12c36d(0xeb)](_0x273624[_0x12c36d(0x18b)]);};['resetTestHooks']=_0x1860f9=>{const _0x5a052d=a23_0x2d407b,_0x10deed={};_0x10deed[_0x5a052d(0xa9)]=_0x5a052d(0xa0),_0x10deed[_0x5a052d(0xb7)]=_0x5a052d(0xb1);const _0x4951af=_0x10deed;if(!_0x1860f9||!_0x1860f9[_0x5a052d(0x18b)])return;_0x1860f9[_0x5a052d(0x18b)][_0x5a052d(0x163)][_0x5a052d(0x13d)](_0x4ffe61=>{const _0x5dbdc8=_0x5a052d;[_0x4951af[_0x5dbdc8(0xa9)],_0x4951af[_0x5dbdc8(0xb7)]][_0x5dbdc8(0x118)](_0x4ffe61[_0x5dbdc8(0x104)])&&_0x4ffe61[_0x5dbdc8(0xda)]&&(_0x4ffe61[_0x5dbdc8(0xda)]=null);}),this[_0x5a052d(0xeb)](_0x1860f9['parent']);};[a23_0x2d407b(0xc4)](_0x19d39){const _0x5dc921=a23_0x2d407b,_0x880b7b={'uXgLG':_0x5dc921(0xc6),'EHUsl':function(_0x5693bf,_0x101e4e){return _0x5693bf(_0x101e4e);},'pnbvi':function(_0x3519bc,_0x5aa067){return _0x3519bc+_0x5aa067;},'tlWRy':_0x5dc921(0x159)};try{const _0x4bb519=this['getRootParentFile'](_0x19d39);return _0x4bb519[_0x5dc921(0x118)](_0x880b7b[_0x5dc921(0xd1)]);}catch(_0x55a657){_0x880b7b[_0x5dc921(0x15e)](debug,_0x880b7b[_0x5dc921(0x158)](_0x880b7b[_0x5dc921(0x156)],_0x55a657));}return![];}[a23_0x2d407b(0x139)]=_0x180d1d=>{const _0x233870=a23_0x2d407b,_0x2b8122={'fyWYX':function(_0x1d68e1,_0x560cd8){return _0x1d68e1(_0x560cd8);}};if(!_0x180d1d||!_0x180d1d[_0x233870(0x18b)])return[];const _0x394515=[];return _0x180d1d[_0x233870(0x18b)]['hooks']['forEach'](_0x2506f5=>{const _0x311843=_0x233870;_0x2506f5[_0x311843(0xda)]&&!_0x2b8122['fyWYX'](isInternalHook,_0x2506f5['fn'])&&!this['isJestInternalHook'](_0x2506f5)&&_0x394515[_0x311843(0xad)](_0x2506f5[_0x311843(0xda)]);}),[..._0x394515,...this[_0x233870(0x139)](_0x180d1d[_0x233870(0x18b)])];};},[a23_0x2d407b(0x114),'registerListeners',a23_0x2d407b(0x117),a23_0x2d407b(0x14e),a23_0x2d407b(0x9a),a23_0x2d407b(0xa5),a23_0x2d407b(0xa6),a23_0x2d407b(0x13e),a23_0x2d407b(0x95),'getHierarchy',a23_0x2d407b(0x161),'mapTestHooks',a23_0x2d407b(0x11b),'getHooksForTest','configureGit'],a23_0x2d407b(0x183));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a24_0x259e58=a24_0x463e;(function(_0x335da3,_0x682970){const _0x4e058=a24_0x463e,_0x21654d=_0x335da3();while(!![]){try{const _0x5cc2ac=parseInt(_0x4e058(0x127))/0x1*(parseInt(_0x4e058(0x11b))/0x2)+-parseInt(_0x4e058(0x11a))/0x3+parseInt(_0x4e058(0x12e))/0x4*(-parseInt(_0x4e058(0x10e))/0x5)+parseInt(_0x4e058(0x120))/0x6+-parseInt(_0x4e058(0x125))/0x7*(parseInt(_0x4e058(0x11c))/0x8)+parseInt(_0x4e058(0x12a))/0x9+-parseInt(_0x4e058(0x131))/0xa;if(_0x5cc2ac===_0x682970)break;else _0x21654d['push'](_0x21654d['shift']());}catch(_0x53f41f){_0x21654d['push'](_0x21654d['shift']());}}}(a24_0x11d3,0x20f1e));const fs=require('fs'),path=require(a24_0x259e58(0x113)),{v4:uuidv4}=require(a24_0x259e58(0x122)),helper=require(a24_0x259e58(0x126)),testHubConstants=require('../../../helpers/testhub/constants');function a24_0x463e(_0x5beeb5,_0x1400e5){const _0x11d33=a24_0x11d3();return a24_0x463e=function(_0x463ec5,_0xa6ae){_0x463ec5=_0x463ec5-0x10e;let _0x25340b=_0x11d33[_0x463ec5];return _0x25340b;},a24_0x463e(_0x5beeb5,_0x1400e5);}function a24_0x11d3(){const _0x44ffa8=['path','NPnsE','SGhwk','homedir','toString','testData.json','ECPTs','591687euafod','2HfGkkf','1336LlZMpT','JZWvC','setup','jest-o11y-','468108CYJsgL','writeFileSync','uuid','shutdown','exports','2331pPtJKP','../../../helpers/helper','227442kGngIS','getTestData','QNFVj','2093184RAfTSg','setTestUUID','RqmoC','getFilePath','267320WuYrNz','RXjaC','join','834240wyOPzN','stringify','recursive','parse','.browserstack','unlinkSync','rmSync','ENV_VAR','existsSync','.json','mkdirSync','env','tests','cEwKm','retry','setTestData','force','5qnEXiF','getTestRunIdFromTestInfo','dirPath','_test','BROWSERSTACK_TESTHUB_UUID'];a24_0x11d3=function(){return _0x44ffa8;};return a24_0x11d3();}class TestDetails{static [a24_0x259e58(0x13d)]={};static [a24_0x259e58(0x110)]=path['join'](helper['homedir'](),a24_0x259e58(0x135),a24_0x259e58(0x11f)+process[a24_0x259e58(0x13c)][testHubConstants['ENV_VAR'][a24_0x259e58(0x112)]]);static[a24_0x259e58(0x11e)](){const _0x51804f=a24_0x259e58,_0x258566={};_0x258566['ECPTs']=_0x51804f(0x135);const _0x16098f=_0x258566;this[_0x51804f(0x110)]=path[_0x51804f(0x130)](helper[_0x51804f(0x116)](),_0x16098f[_0x51804f(0x119)],_0x51804f(0x11f)+process[_0x51804f(0x13c)][testHubConstants[_0x51804f(0x138)][_0x51804f(0x112)]]),this[_0x51804f(0x123)]();const _0x2565d3={};_0x2565d3['recursive']=!![],fs[_0x51804f(0x13b)](this[_0x51804f(0x110)],_0x2565d3);}static[a24_0x259e58(0x12d)](_0x196ddd){const _0x23b2f2=a24_0x259e58,_0x445109={};_0x445109[_0x23b2f2(0x115)]=function(_0x360e4f,_0x1403c1){return _0x360e4f+_0x1403c1;},_0x445109[_0x23b2f2(0x11d)]=_0x23b2f2(0x13a);const _0x1a9530=_0x445109;return path[_0x23b2f2(0x130)](this['dirPath'],_0x1a9530[_0x23b2f2(0x115)](_0x196ddd,_0x1a9530[_0x23b2f2(0x11d)]));}static[a24_0x259e58(0x10f)](_0x2cae50){const _0x4a76ec=a24_0x259e58,_0x5a9717={};_0x5a9717[_0x4a76ec(0x12c)]=function(_0x53597b,_0x374c9c){return _0x53597b+_0x374c9c;},_0x5a9717[_0x4a76ec(0x12f)]=function(_0x52ddf8,_0x545479){return _0x52ddf8+_0x545479;};const _0xcd047c=_0x5a9717;return _0xcd047c[_0x4a76ec(0x12c)](_0xcd047c[_0x4a76ec(0x12f)](_0x2cae50[_0x4a76ec(0x111)]['id'],'-'),_0x2cae50[_0x4a76ec(0x13f)]);}static['getTestUUID'](_0xbcc399){const _0x47ba92=a24_0x259e58,_0x5ebad0=this[_0x47ba92(0x12d)](_0xbcc399);if(fs[_0x47ba92(0x139)](_0x5ebad0)){const _0x9c9e6d=JSON[_0x47ba92(0x134)](fs['readFileSync'](_0x5ebad0)[_0x47ba92(0x117)]());return this[_0x47ba92(0x13d)][_0xbcc399]=_0x9c9e6d,this['tests'][_0xbcc399][_0x47ba92(0x122)];}}static[a24_0x259e58(0x140)](_0x327a23){const _0x298ac4=a24_0x259e58,_0x81f4b0={};_0x81f4b0[_0x298ac4(0x13e)]=_0x298ac4(0x118);const _0x285c58=_0x81f4b0,_0x5cdff1=path[_0x298ac4(0x130)](this[_0x298ac4(0x110)],_0x285c58['cEwKm']);fs[_0x298ac4(0x121)](_0x5cdff1,JSON[_0x298ac4(0x132)](_0x327a23));}static[a24_0x259e58(0x128)](){const _0x35cf1c=a24_0x259e58,_0x4a7c0c={};_0x4a7c0c[_0x35cf1c(0x114)]=_0x35cf1c(0x118);const _0x45bc6c=_0x4a7c0c,_0x1db170=path['join'](this[_0x35cf1c(0x110)],_0x45bc6c[_0x35cf1c(0x114)]);let _0x2a67ce={};try{return _0x1db170&&fs[_0x35cf1c(0x139)](_0x1db170)&&(_0x2a67ce=JSON[_0x35cf1c(0x134)](fs['readFileSync'](_0x1db170)[_0x35cf1c(0x117)]())),_0x2a67ce;}catch(_0xa0e3ae){return _0x2a67ce;}}static[a24_0x259e58(0x12b)](_0x31ed4c){const _0x2ae1c8=a24_0x259e58,_0x4d2469={'QNFVj':function(_0x29045a){return _0x29045a();}},_0x3052f2=this[_0x2ae1c8(0x12d)](_0x31ed4c);return this['tests'][_0x31ed4c]={'uuid':_0x4d2469[_0x2ae1c8(0x129)](uuidv4)},fs[_0x2ae1c8(0x121)](_0x3052f2,JSON[_0x2ae1c8(0x132)](this[_0x2ae1c8(0x13d)][_0x31ed4c])),this[_0x2ae1c8(0x13d)][_0x31ed4c][_0x2ae1c8(0x122)];}static['removeTestUUID'](_0x5f1185){const _0xe2df23=a24_0x259e58,_0x32b12f=this[_0xe2df23(0x12d)](_0x5f1185);_0x32b12f&&(fs[_0xe2df23(0x139)](_0x32b12f)&&fs[_0xe2df23(0x136)](_0x32b12f));}static[a24_0x259e58(0x123)](){const _0xdd52f5=a24_0x259e58,_0x5a089f={};_0x5a089f[_0xdd52f5(0x133)]=!![],_0x5a089f[_0xdd52f5(0x141)]=!![],fs[_0xdd52f5(0x137)](this['dirPath'],_0x5a089f);}}module[a24_0x259e58(0x124)]=TestDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a25_0x33d5(){const _0x430537=['catch','10OgNift','199ukDvKe','../utils/puppeteer-patcher','winstonLogger','2055YmEaLu','5630713cbpRKV','../../helpers/performance/constants','Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','../../helpers/performance/performance-tester','jestConfig','isCliEnabled','../../helpers/test-observability/utils','../utils/playwright-patcher','Bootstrapping\x20BrowserstackCLI\x20for\x20Jest\x20worker\x20process\x20(','288vOkZDT','../../helpers/testhub/constants.js','../playwright/reporter/test-details.js','242984wvgfXQ','../../helpers/testhub/utils','Error\x20reading\x20BrowserStack\x20config:\x20','563836eEheiu','debug','../utils/constants','o11ySyncDone','initializePuppeteerPatching','6676ptcuoq','bootstrap','../../helpers/test-observability/requestQueueHandler','../../helpers/accessibility-automation/scripts','pwPage','../../helpers/test-observability/sessionHandler','1261848kYjlyj','getInstance','format','Patching\x20Playwright\x20for\x20Jest','puppeteer','currentTest','workerInfo','Error\x20initializing\x20Playwright\x20patching:\x20','__skipSessionStatus','1230vCrrxV','../../helpers/test-observability/error-handler','../../helpers/logger','skipSessionName','getPackageVersion','801668CtiJHV','initializePlaywrightPatching'];a25_0x33d5=function(){return _0x430537;};return a25_0x33d5();}const a25_0x23c33c=a25_0x3414;(function(_0x3b9acc,_0x2e3116){const _0x45a612=a25_0x3414,_0x1be095=_0x3b9acc();while(!![]){try{const _0x888173=-parseInt(_0x45a612(0x1b0))/0x1*(-parseInt(_0x45a612(0x1c8))/0x2)+parseInt(_0x45a612(0x1ce))/0x3+parseInt(_0x45a612(0x1c3))/0x4+-parseInt(_0x45a612(0x1b3))/0x5*(parseInt(_0x45a612(0x1d7))/0x6)+-parseInt(_0x45a612(0x1ac))/0x7+parseInt(_0x45a612(0x1c0))/0x8*(-parseInt(_0x45a612(0x1bd))/0x9)+-parseInt(_0x45a612(0x1af))/0xa*(-parseInt(_0x45a612(0x1b4))/0xb);if(_0x888173===_0x2e3116)break;else _0x1be095['push'](_0x1be095['shift']());}catch(_0x3664fe){_0x1be095['push'](_0x1be095['shift']());}}}(a25_0x33d5,0x8a6dd));const {requireModule,modifyCommand,isTrue,isBrowserstackInfra,nestedKeyValue,parseYaml}=require('../../helpers/helper'),setKeepAlive=require('../../helpers/setKeepAlive'),util=require('util'),PerformanceTester=require(a25_0x23c33c(0x1b7)),{EVENTS:PerformanceEvents}=require(a25_0x23c33c(0x1b5)),logger=require(a25_0x23c33c(0x1d9))[a25_0x23c33c(0x1b2)],{shouldProcessEventForTesthub}=require(a25_0x23c33c(0x1c1)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a25_0x23c33c(0x1ba)),TestDetails=require(a25_0x23c33c(0x1bf)),RequestQueueHandler=require(a25_0x23c33c(0x1ca)),{o11yErrorHandler}=require(a25_0x23c33c(0x1d8)),MyReporter=require('../playwright/reporter/reporter.js'),SessionHandler=require(a25_0x23c33c(0x1cd)),scripts=require(a25_0x23c33c(0x1cb)),globals=require('../../helpers/globals'),testHubConstants=require(a25_0x23c33c(0x1be)),{shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),fs=require('fs'),a25_0x140564={};a25_0x140564[a25_0x23c33c(0x1d4)]=undefined,a25_0x140564[a25_0x23c33c(0x1d3)]={},a25_0x140564[a25_0x23c33c(0x1c6)]=![],a25_0x140564[a25_0x23c33c(0x1cc)]=null,a25_0x140564['isPageFixture']=![],a25_0x140564[a25_0x23c33c(0x1d3)]['id']=undefined,a25_0x140564[a25_0x23c33c(0x1d3)]['testInfo']=undefined;const workerDetails=a25_0x140564;global['__workerDetails']=workerDetails;let playwrightPatcher=null,puppeteerPatcher=null;function a25_0x3414(_0x248bcc,_0x221808){const _0x33d5b4=a25_0x33d5();return a25_0x3414=function(_0x341478,_0x31920f){_0x341478=_0x341478-0x1ac;let _0x7fcada=_0x33d5b4[_0x341478];return _0x7fcada;},a25_0x3414(_0x248bcc,_0x221808);}setKeepAlive();if(global['jestConfig'])try{isBrowserstackInfra()?(global['__skipSessionName']=isTrue(global['jestConfig']?.[a25_0x23c33c(0x1da)]),global[a25_0x23c33c(0x1d6)]=isTrue(global['jestConfig']?.['skipSessionStatus'])):(global['__skipSessionName']=!![],global[a25_0x23c33c(0x1d6)]=!![]);const helper=require('../../helpers/helper');if(helper[a25_0x23c33c(0x1db)]('@playwright/test'))try{logger[a25_0x23c33c(0x1c4)](a25_0x23c33c(0x1d1)),playwrightPatcher=require(a25_0x23c33c(0x1bb)),playwrightPatcher[a25_0x23c33c(0x1ad)](global[a25_0x23c33c(0x1b8)]),logger[a25_0x23c33c(0x1c4)]('Playwright\x20patching\x20and\x20session\x20details\x20initialized\x20for\x20Jest');}catch(a25_0x33eb99){logger[a25_0x23c33c(0x1c4)](a25_0x23c33c(0x1d5)+util[a25_0x23c33c(0x1d0)](a25_0x33eb99));}if(!playwrightPatcher&&(helper['getPackageVersion'](a25_0x23c33c(0x1d2))||helper[a25_0x23c33c(0x1db)]('puppeteer-core')))try{logger[a25_0x23c33c(0x1c4)]('Patching\x20Puppeteer\x20for\x20Jest'),puppeteerPatcher=require(a25_0x23c33c(0x1b1)),puppeteerPatcher[a25_0x23c33c(0x1c7)](global[a25_0x23c33c(0x1b8)]),logger['debug']('Puppeteer\x20patching\x20and\x20session\x20details\x20initialized\x20for\x20Jest');}catch(a25_0x1d768e){logger[a25_0x23c33c(0x1c4)]('Error\x20initializing\x20Puppeteer\x20patching:\x20'+util[a25_0x23c33c(0x1d0)](a25_0x1d768e));}const activePatcher=playwrightPatcher||puppeteerPatcher;if(activePatcher)try{const BrowserstackCLI=require('../v2/browserstackCLI'),CLIUtils=require('../v2/cliUtils'),{FRAMEWORKS}=require(a25_0x23c33c(0x1c5));if(BrowserstackCLI['getInstance']()[a25_0x23c33c(0x1b9)]()){const automationFramework=playwrightPatcher?FRAMEWORKS['PLAYWRIGHT']:FRAMEWORKS['PUPPETEER'];logger[a25_0x23c33c(0x1c4)](a25_0x23c33c(0x1bc)+automationFramework+')'),CLIUtils['setFrameworkDetail'](FRAMEWORKS['JEST'],automationFramework),BrowserstackCLI[a25_0x23c33c(0x1cf)]()[a25_0x23c33c(0x1c9)]()[a25_0x23c33c(0x1ae)](_0x1f7d50=>{const _0x1c4c16=a25_0x23c33c;logger[_0x1c4c16(0x1c4)]('Error\x20bootstrapping\x20BrowserstackCLI:\x20'+util[_0x1c4c16(0x1d0)](_0x1f7d50));});}}catch(a25_0x40b97e){logger[a25_0x23c33c(0x1c4)](a25_0x23c33c(0x1b6)+util[a25_0x23c33c(0x1d0)](a25_0x40b97e));}shouldProcessEventForTesthub()&&addRequestSpy(![]);}catch(a25_0x18f473){logger[a25_0x23c33c(0x1c4)](a25_0x23c33c(0x1c2)+util[a25_0x23c33c(0x1d0)](a25_0x18f473));}logger['debug']('Jest-Playwright/Puppeteer\x20setup\x20completed');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a26_0x209a5c=a26_0x3f4f;function a26_0x3f4f(_0x3d4643,_0x253929){const _0x1807a8=a26_0x1807();return a26_0x3f4f=function(_0x3f4fea,_0x287fc2){_0x3f4fea=_0x3f4fea-0xb2;let _0x191fe8=_0x1807a8[_0x3f4fea];return _0x191fe8;},a26_0x3f4f(_0x3d4643,_0x253929);}(function(_0x2d0b7a,_0x3b692c){const _0x43610a=a26_0x3f4f,_0x1ab290=_0x2d0b7a();while(!![]){try{const _0x2365b0=-parseInt(_0x43610a(0xb3))/0x1+-parseInt(_0x43610a(0xb7))/0x2+parseInt(_0x43610a(0xbf))/0x3+parseInt(_0x43610a(0xb8))/0x4+parseInt(_0x43610a(0xb2))/0x5*(-parseInt(_0x43610a(0xbb))/0x6)+parseInt(_0x43610a(0xbe))/0x7*(-parseInt(_0x43610a(0xb6))/0x8)+parseInt(_0x43610a(0xc0))/0x9;if(_0x2365b0===_0x3b692c)break;else _0x1ab290['push'](_0x1ab290['shift']());}catch(_0x383313){_0x1ab290['push'](_0x1ab290['shift']());}}}(a26_0x1807,0x5991d));const {requireModule}=require(a26_0x209a5c(0xba)),logger=require(a26_0x209a5c(0xbd))[a26_0x209a5c(0xb5)];require(a26_0x209a5c(0xc1))();try{const __wd__=requireModule(a26_0x209a5c(0xb4));for(const key of Object['keys'](global[a26_0x209a5c(0xbc)])){__wd__[key]=global[a26_0x209a5c(0xbc)][key];}}catch(a26_0x4f00b6){logger['debug'](a26_0x209a5c(0xb9));}function a26_0x1807(){const _0x578715=['../../helpers/logger','1484FOlZoW','1335753IdAIJa','7888905HJtDgn','../../helpers/setKeepAlive','280oUapnr','591781fiocXJ','selenium-webdriver','winstonLogger','10072TOrONQ','73132szpoeh','2343616amKCMa','Selenium-webdriver\x20not\x20available\x20to\x20set\x20in\x20global.__webdriver','../../helpers/helper','69168eIBDiC','__webdriver'];a26_0x1807=function(){return _0x578715;};return a26_0x1807();}
|