browserstack-node-sdk 1.51.0 → 1.52.1
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 +4 -3
- 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';const
|
|
1
|
+
'use strict';function a19_0xc920(){const _0x5390c2=['68324FdBtSN','ljFEB','freeze','testEnvironmentOptions','16104020ccbhJo','oNKxU','context','env','capabilities','parallels__','10lfGyjV','6AHUntr','jest-runner','serial__','2803730EhnaCI','106327GDHrBA','runTests','value','tCJIc','_globalConfig','forEach','exports','6mXtuom','config','tVEES','defineProperty','shhRV','__esModule','slice','default','push','1537929OhQdcn','2174032GEflVo','length','3430119YXemCY','../../../helpers/helper'];a19_0xc920=function(){return _0x5390c2;};return a19_0xc920();}function a19_0x579e(_0x2bd1b7,_0x5d904a){const _0xc920c0=a19_0xc920();return a19_0x579e=function(_0x579e85,_0x2dbae9){_0x579e85=_0x579e85-0x1cf;let _0x1971f2=_0xc920c0[_0x579e85];return _0x1971f2;},a19_0x579e(_0x2bd1b7,_0x5d904a);}const a19_0x447a4a=a19_0x579e;(function(_0x526bbc,_0x5afd2e){const _0x12de2d=a19_0x579e,_0x13b07c=_0x526bbc();while(!![]){try{const _0x56bcd9=parseInt(_0x12de2d(0x1e4))/0x1*(parseInt(_0x12de2d(0x1df))/0x2)+parseInt(_0x12de2d(0x1eb))/0x3*(-parseInt(_0x12de2d(0x1d5))/0x4)+parseInt(_0x12de2d(0x1e3))/0x5*(parseInt(_0x12de2d(0x1e0))/0x6)+parseInt(_0x12de2d(0x1d3))/0x7+parseInt(_0x12de2d(0x1d1))/0x8+parseInt(_0x12de2d(0x1d0))/0x9+-parseInt(_0x12de2d(0x1d9))/0xa;if(_0x56bcd9===_0x5afd2e)break;else _0x13b07c['push'](_0x13b07c['shift']());}catch(_0x5daae8){_0x13b07c['push'](_0x13b07c['shift']());}}}(a19_0xc920,0x5ce35));const {requireModule,isBrowserstackInfra}=require(a19_0x447a4a(0x1d4)),a19_0x26c48e={};a19_0x26c48e[a19_0x447a4a(0x1e6)]=!![],Object[a19_0x447a4a(0x1ee)](exports,a19_0x447a4a(0x1f0),a19_0x26c48e),exports[a19_0x447a4a(0x1f2)]=void 0x0;function _interopRequireDefault(_0x256be2){const _0x30f73b=a19_0x447a4a;return _0x256be2&&_0x256be2[_0x30f73b(0x1f0)]?_0x256be2:{'default':_0x256be2};};const runnerModule=process[a19_0x447a4a(0x1dc)]['BSTACK_USER_JEST_RUNNER']||a19_0x447a4a(0x1e1),JestRunner=_interopRequireDefault(requireModule(runnerModule))[a19_0x447a4a(0x1f2)];class TestRunner extends JestRunner{constructor(..._0x218cf8){super(..._0x218cf8);}[a19_0x447a4a(0x1e5)](..._0x46221f){const _0x514216=a19_0x447a4a,_0x54899e={'shhRV':function(_0x48cebc){return _0x48cebc();},'tVEES':function(_0x38a8a4,_0x231caf){return _0x38a8a4-_0x231caf;},'PmjEQ':function(_0x25865a,_0x1c0f78){return _0x25865a*_0x1c0f78;},'tCJIc':function(_0xe2b570,_0x38205c){return _0xe2b570===_0x38205c;},'oNKxU':'false','ljFEB':function(_0x50bea2,_0x6f67e6){return _0x50bea2<_0x6f67e6;}};if(!_0x54899e[_0x514216(0x1ef)](isBrowserstackInfra))return super[_0x514216(0x1e5)](..._0x46221f);const _0x2c1158=_0x46221f[0x0],_0x35360c=_0x46221f[_0x54899e[_0x514216(0x1ed)](_0x46221f[_0x514216(0x1d2)],0x1)],_0x30c34f=_0x2c1158[0x0][_0x514216(0x1db)][_0x514216(0x1ec)]['testEnvironmentOptions'][_0x514216(0x1dd)],_0x1f4328=_0x2c1158[0x0]['context'][_0x514216(0x1ec)][_0x514216(0x1d8)][_0x514216(0x1de)];_0x1f4328&&(this['_globalConfig']=Object[_0x514216(0x1d7)]({...this[_0x514216(0x1e8)],'maxWorkers':_0x54899e['PmjEQ'](_0x1f4328,_0x30c34f[_0x514216(0x1d2)])}));_0x54899e[_0x514216(0x1e7)](_0x2c1158[0x0][_0x514216(0x1db)]['config'][_0x514216(0x1d8)][_0x514216(0x1e2)],_0x54899e[_0x514216(0x1da)])&&(_0x35360c&&(_0x35360c['serial']=![]));const _0x3616c2=[];for(let _0x58544e=0x0;_0x54899e[_0x514216(0x1d6)](_0x58544e,_0x2c1158[_0x514216(0x1d2)]);_0x58544e++){const _0x2ec38a=[];_0x30c34f[_0x514216(0x1e9)]((_0xd77cbf,_0x53e8fd)=>{const _0x14b37d=_0x514216,_0x3d3c6e={..._0x2c1158[_0x58544e]},_0x16f95d=_0x3d3c6e;_0x16f95d[_0x14b37d(0x1db)]=Object['freeze']({..._0x16f95d[_0x14b37d(0x1db)],'config':{..._0x16f95d['context']['config'],'capability':_0xd77cbf,'browserstackPlatformIndex':_0x53e8fd}}),_0x2ec38a[_0x14b37d(0x1cf)](_0x16f95d);}),_0x3616c2['push'](..._0x2ec38a);}return super[_0x514216(0x1e5)](_0x3616c2,..._0x46221f[_0x514216(0x1f1)](0x1));}}module[a19_0x447a4a(0x1ea)]=TestRunner;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a20_0x2e8806=a20_0x298f;(function(_0x3a1d8b,_0x2218d9){const _0x31da1f=a20_0x298f,_0x2fbed3=_0x3a1d8b();while(!![]){try{const _0x27e734=-parseInt(_0x31da1f(0x186))/0x1*(-parseInt(_0x31da1f(0x22e))/0x2)+parseInt(_0x31da1f(0x18c))/0x3*(parseInt(_0x31da1f(0x207))/0x4)+parseInt(_0x31da1f(0x154))/0x5+parseInt(_0x31da1f(0x227))/0x6*(-parseInt(_0x31da1f(0x13a))/0x7)+parseInt(_0x31da1f(0x275))/0x8*(parseInt(_0x31da1f(0x15f))/0x9)+parseInt(_0x31da1f(0x21c))/0xa*(parseInt(_0x31da1f(0x1c0))/0xb)+-parseInt(_0x31da1f(0x187))/0xc;if(_0x27e734===_0x2218d9)break;else _0x2fbed3['push'](_0x2fbed3['shift']());}catch(_0x35241a){_0x2fbed3['push'](_0x2fbed3['shift']());}}}(a20_0x27d0,0x3f77a));const util=require(a20_0x2e8806(0x234)),helper=require(a20_0x2e8806(0x172)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a20_0x2e8806(0x1a7)),{sendPlatformDetails}=require(a20_0x2e8806(0x262)),{isBrowserstackInfra,markSessionStatus}=require('../../helpers/helper');let __error_messages__=[];const RequestQueueHandler=require(a20_0x2e8806(0x265));jest[a20_0x2e8806(0x192)](__timeout);const {isAccessibilityAutomationSession,fetchPlatformDetails,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{percyAutoCapture}=require(a20_0x2e8806(0x1ae)),logger=require('../../helpers/logger')[a20_0x2e8806(0x25a)],TestDetails=require(a20_0x2e8806(0x1e2)),PerformanceTester=require(a20_0x2e8806(0x182)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a20_0x2e8806(0x221)),scripts=require(a20_0x2e8806(0x179)),globals=require(a20_0x2e8806(0x1d3)),{shouldProcessEventForTesthub}=require(a20_0x2e8806(0x23c)),testHubConstants=require(a20_0x2e8806(0x155)),{v4:uuidv4}=require('uuid'),BrowserstackCLI=require(a20_0x2e8806(0x19d)),AutomationFrameworkState=require(a20_0x2e8806(0x16f)),HookState=require(a20_0x2e8806(0x217)),{FRAMEWORKS}=require('../../helpers/test-observability/constants');function a20_0x27d0(){const _0x59a523=['errors','puppeteer-core','format','yGHjZ','VxyhF','QwwOC','afterTest','CVcJh','lxXdV','../v2/state/automationFrameworkState','failed','name','../../helpers/helper','__jestCurrentTestIdentifier','SYNC','Exception\x20in\x20jest\x20hook\x20with\x20error:\x20','QUIT','Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','puppeteer','../../helpers/accessibility-automation/scripts','qYRrD','FFkrj','ObservabilitySync:','function','pendingUploads','CIwfu','zvVoT','MhNfD','../../helpers/performance/performance-tester','env','jPdRq','Error\x20triggering\x20QUIT\x20PRE\x20event:\x20','1JFhMqS','5554464VinWSQ','addReporter','Erptv','SESSION_STATUS','YvlTq','128841LqwsAi','QUIT\x20PRE\x20event\x20completed\x20for\x20test:\x20','SSWUg','currentTestName','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','executeDeferredCloses','setTimeout','testPath','app','pid','wiiEH','slice','from\x20else\x20block\x20jest\x20test\x20failed\x20playwright\x20flow:\x20','rvbJa','edZfR','HqfKZ',',\x20CREATE\x20POST\x20will\x20be\x20triggered\x20when\x20page\x20is\x20created','../v2/browserstackCLI','ueqhG','executeScript','passed','getTestUUID','SDK_HOOK','retryTimes','error','jffnh','jlTBT','../utils/constants','getAutomationFramework','enpXC','session_','testIdentifier','hookType','Unknown\x20Test','../../helpers/percy/utils','ILvEt','VIpVw','info','zSFxN','tFRLt','[Jest\x20Setup]\x20beforeEach:\x20testIdentifier=','SESSION_NAME','nChUt','failedExpectations','startMonitoring','Error\x20preparing\x20AutomationFramework\x20events:\x20','browser','NtABw','oCtii','http:','debug','message','44nzIUWc','\x20flow\x20detected\x20-\x20page\x20exists:\x20','trackEvent','UUxUL','Test\x20info\x20prepared\x20for\x20CREATE\x20PRE\x20event:\x20','Error\x20executing\x20fallback\x20deferred\x20closes:\x20','getState','undefined','shift','cPBWp','beforeEach','Etyrz','displayName','Zjjta','vpcXe','hJxVL','inside\x20before\x20each\x20jest\x20hook','stopMonitoring','stringify','../../helpers/globals','XNvSd','log','measureWrapper','QLfLn','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20',':testAnalyticsId','Exception\x20in\x20jest\x20process\x20event\x20with\x20error:\x20','tuISS','PGWzY','OvoEa','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Failed\x20-\x20','XrFsd','Ehsqr','bzyYr','./test-observability/test-details','YaKdL','mZFdc','close','afterTestHook','aaJWy','mKwHW','imnFW','TransformStream','Error\x20handling\x20Playwright/Puppeteer\x20test\x20cleanup:\x20','Error\x20getting\x20page\x20context/browser:\x20','Executed\x20deferred\x20closes\x20after\x20QUIT\x20PRE\x20event\x20completion','BqDPv','tEoFO','testcase','Successfully\x20closed\x20page\x20via\x20fallback','getEnv','Error\x20cleaning\x20up\x20close\x20tracker:\x20','Skipping\x20afterTestHook\x20-\x20workerDetails\x20or\x20currentTest\x20not\x20available','testInfo','3|4|2|1|0','dXAVX','PERFORM_SCAN','Error\x20loading\x20puppeteer-patcher:\x20','NvaCh','\x22}}','Exception\x20in\x20jest\x20percy\x20with\x20error:\x20','command','Attempting\x20direct\x20page\x20close\x20fallback\x20for\x20Android','Error\x20in\x20fallback\x20page\x20close:\x20','VSjZR','vKDIo','ICZIs','testContext','isRunning','vIYba','../utils/puppeteer-patcher','20TBPyFn','Cleaned\x20up\x20close\x20tracker\x20after\x20deferred\x20closes','Error\x20triggering\x20CREATE\x20POST\x20event\x20for\x20test:\x20','inspect','RwMLg','MUFkR','testFramework','percy','aAbAa','JDRgp','Oukol','PLryq','beforeTestHook','.\x20Error\x20:','push','includes','../v2/state/hookState','isAccessibilityPlatform','Exception\x20in\x20jest\x20driver\x20cleanup\x20with\x20error:\x20','context','YXquR','634940mxbDcl','pwPage','Error\x20determining\x20test\x20flow:\x20','now','BROWSERSTACK_TESTHUB_JWT','../../helpers/performance/constants','FiZVD','browserContext','SAVE_RESULTS','__launchCaps','PRE','3100446BCsLhF','aFpTg','Error\x20in\x20pw-jest\x20afterEach:\x20','getCurrentUrl','gYYbW','HhPYn',',\x20testName=','573124NCwtWA','replace','vjaSn','anDrr','page','protocol','util','LKBgx','join','ipoTj','sjCPw','platformCaps','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.','yWHBL','../../helpers/testhub/utils','isCliEnabled','rWEdU','removeAllListeners','GqxIG','../utils/playwright-patcher','ghMya','VhTdr','BROWSERSTACK_TESTHUB_UUID','\x22,\x22level\x22:\x20\x22error\x22}}','Qcyhd','quitCount_','currentTest','getGlobal','Error\x20cleaning\x20up\x20after\x20deferred\x20closes:\x20','HNEXr','egPfp','POST','BHRyX','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','JYWvG','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','jest-test','Error\x20loading\x20playwright-patcher:\x20','ssjHg','appium:app','kaPzz','description','PBhlg','LShil','winstonLogger','Playwright\x20flow\x20detected\x20in\x20beforeEach','Error\x20loading\x20patcher\x20in\x20afterEach:\x20','AWXtO','bstackA11yShouldScan','length','iPIsP','XOMUc','../../helpers/test-observability/utils','percyCaptureMode','split','../../helpers/test-observability/requestQueueHandler','ZvlkI','fullName','No\x20patcher\x20available','start','nTtmJ','saveTestResults','__workerDetails','JEST','QrkWK','zLEES','maRHL','__drivers','ktmue','inside\x20after\x20each\x20jest\x20hook','browserstackTestName','1213384wLRZMn','afterEach','nYGKJ','EAlDQ','7ZtdsVT','isPageFixture','Failed\x20to\x20store\x20session\x20name:\x20','https:','Error\x20executing\x20deferred\x20closes:\x20','qdAhg','Exception\x20in\x20jest\x20driver\x20with\x20error:\x20','browserstackSessionName','performScan','Puppeteer\x20flow\x20detected\x20in\x20beforeEach','Snyvf','__platformCaps','launchCaps','PYHbR','setGlobal','getPackageVersion','title','FXaCo','executeAsyncScript','NvNpY','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Passed\x20-\x20','testAnalyticsId','ENV_VAR','@playwright/test','AhVhp','BAcRR','904780ewoEsG','../../helpers/testhub/constants','ydArN','hZEuv','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','Jest','bjUHe','mZbBA','getPageFromAutomationFramework','end','getInstance','18AasEoa','Flow\x20detection:\x20isSeleniumFlow=','closeTracker','cleanup','isArray','capabilities','Cleaned\x20up\x20close\x20tracker'];a20_0x27d0=function(){return _0x59a523;};return a20_0x27d0();}globals['browserStackGlobals']=browserStackGlobals;if(typeof global[a20_0x2e8806(0x1ea)]===a20_0x2e8806(0x1c7))try{const {TransformStream}=require('stream/web');global[a20_0x2e8806(0x1ea)]=TransformStream;}catch(a20_0x23803f){logger[a20_0x2e8806(0x1be)]('TransformStream\x20polyfill\x20not\x20available:\x20'+a20_0x23803f[a20_0x2e8806(0x1bf)]);}function stripUnicode(_0x51c5f8){const _0x564342=a20_0x2e8806;return _0x51c5f8[_0x564342(0x22f)](/\\u001b\[.*?m/g,'')[_0x564342(0x197)](0x1,-0x1);}async function setContext(){const _0x4bb5ca=a20_0x2e8806,_0x1f4cbd={'yWHBL':function(_0x171136){return _0x171136();},'VxyhF':_0x4bb5ca(0x274),'YXquR':function(_0x13a4eb,_0xa40508){return _0x13a4eb!==_0xa40508;},'pANdB':_0x4bb5ca(0x1c7),'Snyvf':function(_0x2a7a52,_0x2b3ace){return _0x2a7a52>_0x2b3ace;},'qYRrD':function(_0x21cb68,_0x15285e){return _0x21cb68(_0x15285e);},'lzWxK':function(_0x4c85f7,_0x68b5ce){return _0x4c85f7>_0x68b5ce;},'JHuIM':function(_0x4bf70b,_0x17e9c7){return _0x4bf70b(_0x17e9c7);},'hJxVL':function(_0x219bcf,_0x493de6){return _0x219bcf(_0x493de6);}};if(!_0x1f4cbd[_0x4bb5ca(0x23b)](isBrowserstackInfra))return;const _0x141da9=expect[_0x4bb5ca(0x1c6)]()[_0x4bb5ca(0x18f)];globals[_0x4bb5ca(0x148)](_0x1f4cbd[_0x4bb5ca(0x16a)],_0x141da9);!sessionNameProvided&&await PerformanceTester[_0x4bb5ca(0x1d6)](PerformanceAutEvents[_0x4bb5ca(0x1b5)],async()=>{const _0xc38a24=_0x4bb5ca;await __drivers[0x0]['executeScript'](_0xc38a24(0x24f)+_0x141da9+_0xc38a24(0x1fb));})();let _0x2f1bd2=null,_0x475fcb=![];_0x1f4cbd[_0x4bb5ca(0x21b)](typeof jasmine,_0x1f4cbd['pANdB'])?jasmine[_0x4bb5ca(0x248)][_0x4bb5ca(0x1b7)]&&_0x1f4cbd[_0x4bb5ca(0x144)](jasmine['currentTest']['failedExpectations'][_0x4bb5ca(0x25f)],0x0)?(_0x475fcb=!![],_0x2f1bd2=_0x1f4cbd[_0x4bb5ca(0x17a)](stripUnicode,JSON[_0x4bb5ca(0x1d2)](jasmine[_0x4bb5ca(0x248)][_0x4bb5ca(0x1b7)][0x0][_0x4bb5ca(0x1bf)]))):_0x2f1bd2=_0x1f4cbd[_0x4bb5ca(0x17a)](stripUnicode,JSON[_0x4bb5ca(0x1d2)](jasmine[_0x4bb5ca(0x248)]['description'])):testContext[_0x4bb5ca(0x166)]&&_0x1f4cbd['lzWxK'](testContext[_0x4bb5ca(0x166)][_0x4bb5ca(0x25f)],0x0)?(_0x475fcb=!![],_0x2f1bd2=_0x1f4cbd['JHuIM'](stripUnicode,JSON[_0x4bb5ca(0x1d2)](testContext['errors'][0x0][0x0][_0x4bb5ca(0x1bf)]||testContext[_0x4bb5ca(0x166)][0x0][0x0]))):_0x2f1bd2=_0x1f4cbd[_0x4bb5ca(0x1cf)](stripUnicode,JSON[_0x4bb5ca(0x1d2)](testContext[_0x4bb5ca(0x171)])),_0x475fcb?(__error_messages__[_0x4bb5ca(0x215)](_0x2f1bd2),await __drivers[0x0][_0x4bb5ca(0x19f)](_0x4bb5ca(0x1de)+_0x2f1bd2+_0x4bb5ca(0x245))):await __drivers[0x0][_0x4bb5ca(0x19f)](_0x4bb5ca(0x14e)+_0x2f1bd2+'\x22,\x22level\x22:\x20\x22info\x22}}');}const executeAnnotate=async(_0x7baa1b,_0x55a6de)=>{const _0x3f9623=a20_0x2e8806;await global['__drivers'][0x0][_0x3f9623(0x19f)](_0x3f9623(0x158)+_0x7baa1b+',\x22level\x22:\x20\x22'+_0x55a6de+'\x22}}');};async function driverCleanup(){const _0x286f71=a20_0x2e8806,_0x10781b={'NvaCh':function(_0x2426d1){return _0x2426d1();},'YxHqj':_0x286f71(0x1f6),'MocJq':function(_0x53a85b,_0x56a830){return _0x53a85b>_0x56a830;},'BAcRR':function(_0xe0fe5,_0x10bf2e,_0x4a35ca,_0x229165){return _0xe0fe5(_0x10bf2e,_0x4a35ca,_0x229165);},'ydArN':_0x286f71(0x170),'XrFsd':'\x20|\x20','byxKt':function(_0x1c5b19,_0x53717e,_0x5ef4a8){return _0x1c5b19(_0x53717e,_0x5ef4a8);},'nChUt':_0x286f71(0x1a0)};if(!_0x10781b[_0x286f71(0x1fa)](isBrowserstackInfra))return;let _0x188431=![];try{const _0x10e78f=_0x10781b['YxHqj'][_0x286f71(0x264)]('|');let _0xda85c=0x0;while(!![]){switch(_0x10e78f[_0xda85c++]){case'0':PerformanceTester[_0x286f71(0x15d)](PerformanceAutEvents['SESSION_STATUS'],!![]);continue;case'1':_0x10781b['MocJq'](__error_messages__['length'],0x0)?await _0x10781b[_0x286f71(0x153)](markSessionStatus,__drivers[0x0],_0x10781b[_0x286f71(0x156)],__error_messages__[_0x286f71(0x236)](_0x10781b[_0x286f71(0x1df)])):await _0x10781b['byxKt'](markSessionStatus,__drivers[0x0],_0x10781b[_0x286f71(0x1b6)]);continue;case'2':_0x188431=!![];continue;case'3':PerformanceTester['start'](PerformanceAutEvents[_0x286f71(0x18a)]);continue;case'4':await __drivers[0x0][_0x286f71(0x1aa)];continue;}break;}}catch(_0x2ca36a){console[_0x286f71(0x1d5)](_0x2ca36a),PerformanceTester['end'](PerformanceAutEvents[_0x286f71(0x18a)],![],_0x2ca36a);}__error_messages__=[];if(_0x188431)try{await __drivers[0x0]['initQuit']();}catch(_0x315667){console[_0x286f71(0x1d5)](_0x315667);}}function a20_0x298f(_0x2102af,_0x392091){const _0x27d077=a20_0x27d0();return a20_0x298f=function(_0x298f91,_0x34b30f){_0x298f91=_0x298f91-0x13a;let _0xb2aec4=_0x27d077[_0x298f91];return _0xb2aec4;},a20_0x298f(_0x2102af,_0x392091);}beforeAll(async()=>{const _0xbdb6cd=a20_0x2e8806,_0x39358f={'hZEuv':function(_0x2179b2,_0x382ccd){return _0x2179b2!==_0x382ccd;},'PBhlg':_0xbdb6cd(0x1c7),'rREOS':function(_0x28a327,_0x23de36){return _0x28a327>_0x23de36;},'lNmTE':function(_0x48e0a7,_0x687f75){return _0x48e0a7!==_0x687f75;},'ipoTj':'beforeAll','enpXC':function(_0x56208d){return _0x56208d();},'fpBmF':function(_0x2eef05,_0x448e0f,_0x3b33f0){return _0x2eef05(_0x448e0f,_0x3b33f0);}};__error_messages__=[],PerformanceTester[_0xbdb6cd(0x1b8)](),PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);_0x39358f[_0xbdb6cd(0x157)](typeof __jestRetries,_0x39358f[_0xbdb6cd(0x258)])&&_0x39358f['rREOS'](__jestRetries,0x0)&&jest[_0xbdb6cd(0x1a3)](__jestRetries);const _0x5e12e4='browserstack internal helper hook';_0x39358f['lNmTE'](typeof jasmine,_0x39358f[_0xbdb6cd(0x258)])&&jasmine[_0xbdb6cd(0x1f2)]()[_0xbdb6cd(0x188)]({'specStarted':_0x525b78=>{const _0x46a4f7=_0xbdb6cd;jasmine[_0x46a4f7(0x248)]=_0x525b78;}});let _0x304fff=![];try{await __drivers[0x0]['session_'],_0x304fff=!![];}catch(_0x2a0460){logger['debug'](_0xbdb6cd(0x140)+_0x2a0460);const _0x427ae2={};_0x427ae2[_0xbdb6cd(0x1ac)]=_0x39358f[_0xbdb6cd(0x237)],PerformanceTester[_0xbdb6cd(0x15d)](PerformanceHookEvents[_0xbdb6cd(0x1a2)],![],_0x2a0460,_0x427ae2);}if(_0x304fff)try{_0x39358f[_0xbdb6cd(0x1a9)](shouldProcessEventForTesthub)&&(__drivers[0x0]&&await _0x39358f['fpBmF'](sendPlatformDetails,__drivers[0x0],TestDetails[_0xbdb6cd(0x1a1)](process[_0xbdb6cd(0x195)]+_0xbdb6cd(0x1d9))));}catch(_0x3f9319){logger[_0xbdb6cd(0x1be)](_0xbdb6cd(0x1da)+_0x3f9319);const _0x2746f2={};_0x2746f2['hookType']=_0x39358f['ipoTj'],PerformanceTester['end'](PerformanceHookEvents[_0xbdb6cd(0x1a2)],![],_0x3f9319,_0x2746f2);}const _0x36ea82={};_0x36ea82[_0xbdb6cd(0x1ac)]=_0x39358f[_0xbdb6cd(0x237)],PerformanceTester[_0xbdb6cd(0x15d)](PerformanceHookEvents[_0xbdb6cd(0x1a2)],!![],null,_0x36ea82);}),beforeEach(async()=>{const _0x2e83f5=a20_0x2e8806,_0x47d877={'tFRLt':_0x2e83f5(0x1d0),'iPIsP':_0x2e83f5(0x274),'lxXdV':function(_0x56c890,_0x38021f,_0x4aeced){return _0x56c890(_0x38021f,_0x4aeced);},'QLfLn':_0x2e83f5(0x151),'vjaSn':_0x2e83f5(0x178),'OvoEa':'puppeteer-core','PYHbR':function(_0x3114bd,_0x218cd5){return _0x3114bd(_0x218cd5);},'GYpcM':_0x2e83f5(0x241),'Erptv':_0x2e83f5(0x25b),'Zjjta':function(_0x55abf4,_0x1c274d){return _0x55abf4(_0x1c274d);},'BHRyX':'../utils/puppeteer-patcher','wqVGm':_0x2e83f5(0x143),'bzyYr':'3|4|0|1|2','yGHjZ':function(_0xd2bc51,_0x38d218){return _0xd2bc51>_0x38d218;},'VhTdr':function(_0x4efc3c){return _0x4efc3c();},'QrkWK':function(_0x435969,_0x573dd8){return _0x435969>_0x573dd8;},'imnFW':function(_0x251f18){return _0x251f18();},'FiZVD':_0x2e83f5(0x1ca),'FXaCo':_0x2e83f5(0x25e),'pYxHX':function(_0x4a1a3c,_0x44cd52){return _0x4a1a3c>_0x44cd52;},'egPfp':_0x2e83f5(0x218),'YaKdL':function(_0x5df2e7,_0x5364cb){return _0x5df2e7===_0x5364cb;},'zSFxN':_0x2e83f5(0x1bd),'QSdSN':function(_0x394485,_0x163d96){return _0x394485===_0x163d96;},'cQIwB':_0x2e83f5(0x13d),'XOMUc':_0x2e83f5(0x251),'uWEWH':function(_0x26bc14,_0x3a27cf){return _0x26bc14(_0x3a27cf);},'PLryq':_0x2e83f5(0x19d),'RwMLg':_0x2e83f5(0x1a7),'sqSon':_0x2e83f5(0x16f),'jlTBT':function(_0x4b40d1,_0x208721){return _0x4b40d1(_0x208721);},'Oukol':'../v2/state/hookState','nTtmJ':function(_0x1599cf,_0x2dd03e){return _0x1599cf||_0x2dd03e;},'jffnh':'Unknown\x20Test','ILvEt':_0x2e83f5(0x252),'QwwOC':function(_0x1d8382,_0x119ae8){return _0x1d8382&&_0x119ae8;},'LKBgx':_0x2e83f5(0x17d),'Etyrz':function(_0x234705,_0x108dd4){return _0x234705===_0x108dd4;},'eEzyd':function(_0x1d1838,_0x4fa9ef){return _0x1d1838===_0x4fa9ef;},'ueqhG':function(_0x4e3027,_0x352d5b){return _0x4e3027>_0x352d5b;},'ghMya':function(_0xaaad21,_0x2013e2){return _0xaaad21>_0x2013e2;},'aAbAa':function(_0x556274){return _0x556274();}};logger[_0x2e83f5(0x1be)](_0x47d877[_0x2e83f5(0x1b3)]),PerformanceTester['start'](PerformanceHookEvents[_0x2e83f5(0x1a2)]);const _0x1463d4='browserstack internal helper hook';let _0x29b373=!![],_0x5af264=null;try{const _0x2dfd81=expect[_0x2e83f5(0x1c6)]()[_0x2e83f5(0x18f)];globals[_0x2e83f5(0x148)](_0x47d877[_0x2e83f5(0x260)],_0x2dfd81);const _0x27ee9d=_0x47d877[_0x2e83f5(0x16e)](shouldScanTestForAccessibility,_0x2dfd81,![]),_0x1632a6=helper[_0x2e83f5(0x149)](_0x47d877[_0x2e83f5(0x1d7)]),_0x154abb=helper['getPackageVersion'](_0x47d877[_0x2e83f5(0x230)])||helper[_0x2e83f5(0x149)](_0x47d877[_0x2e83f5(0x1dd)]);if(!!_0x1632a6)try{_0x5af264=_0x47d877[_0x2e83f5(0x147)](require,_0x47d877['GYpcM']),logger['debug'](_0x47d877[_0x2e83f5(0x189)]);}catch(_0x350f8f){logger[_0x2e83f5(0x1be)](_0x2e83f5(0x253)+util[_0x2e83f5(0x168)](_0x350f8f));}else{if(!!_0x154abb)try{_0x5af264=_0x47d877[_0x2e83f5(0x1cd)](require,_0x47d877[_0x2e83f5(0x24e)]),logger[_0x2e83f5(0x1be)](_0x47d877['wqVGm']);}catch(_0xf36c21){logger[_0x2e83f5(0x1be)](_0x2e83f5(0x1f9)+util[_0x2e83f5(0x168)](_0xf36c21));}}try{const _0x24d649=_0x47d877[_0x2e83f5(0x1e1)]['split']('|');let _0xb5e88f=0x0;while(!![]){switch(_0x24d649[_0xb5e88f++]){case'0':!_0x5af264&&_0x47d877[_0x2e83f5(0x169)](__drivers[_0x2e83f5(0x25f)],0x1)&&(await _0x47d877[_0x2e83f5(0x243)](driverCleanup),__drivers[_0x2e83f5(0x1c8)]());continue;case'1':_0x5af264&&_0x47d877[_0x2e83f5(0x169)](__drivers['length'],0x0)&&(__drivers[0x0][_0x2e83f5(0x141)]=_0x2dfd81,__drivers[0x0][_0x2e83f5(0x25e)]=_0x27ee9d);continue;case'2':!_0x5af264&&_0x47d877[_0x2e83f5(0x26e)](__drivers[_0x2e83f5(0x25f)],0x0)&&_0x47d877[_0x2e83f5(0x26e)](__drivers[0x0][_0x2e83f5(0x247)],0x0)&&(_0x29b373=![],await _0x47d877[_0x2e83f5(0x1e9)](driverCleanup));continue;case'3':Array[_0x2e83f5(0x163)](__drivers)&&__drivers[0x0]&&(__drivers[0x0][_0x2e83f5(0x141)]=_0x2dfd81);continue;case'4':global[_0x2e83f5(0x141)]=_0x2dfd81;continue;}break;}}catch(_0x3baa84){logger['debug'](_0x2e83f5(0x13c)+_0x3baa84);const _0x4c0a13={};_0x4c0a13[_0x2e83f5(0x1ac)]=_0x47d877[_0x2e83f5(0x222)],PerformanceTester[_0x2e83f5(0x15d)](PerformanceHookEvents['SDK_HOOK'],![],_0x3baa84,_0x4c0a13);}globals['setGlobal'](_0x47d877[_0x2e83f5(0x14b)],_0x27ee9d);if(global[_0x2e83f5(0x26c)]){const _0x23975b=expect['getState']()[_0x2e83f5(0x193)],_0x42ccc0=global[_0x2e83f5(0x173)],_0x564d08=expect[_0x2e83f5(0x1c6)]()[_0x2e83f5(0x18f)]||_0x2dfd81,_0x2613ea={};_0x2613ea['id']=_0x42ccc0,_0x2613ea[_0x2e83f5(0x14f)]=_0x42ccc0,_0x2613ea[_0x2e83f5(0x1f5)]={},_0x2613ea[_0x2e83f5(0x1f5)][_0x2e83f5(0x14a)]=_0x2dfd81,_0x2613ea[_0x2e83f5(0x1f5)][_0x2e83f5(0x267)]=_0x564d08,_0x2613ea[_0x2e83f5(0x1f5)][_0x2e83f5(0x1cc)]=_0x2dfd81,_0x2613ea[_0x2e83f5(0x1f5)][_0x2e83f5(0x171)]=_0x564d08,_0x2613ea[_0x2e83f5(0x1f5)][_0x2e83f5(0x193)]=_0x23975b,_0x2613ea[_0x2e83f5(0x1f5)][_0x2e83f5(0x1ab)]=_0x42ccc0,global['__workerDetails'][_0x2e83f5(0x248)]=_0x2613ea,logger[_0x2e83f5(0x1be)](_0x2e83f5(0x1b4)+_0x42ccc0+_0x2e83f5(0x22d)+_0x2dfd81+',\x20testPath='+_0x23975b);}if(!_0x5af264&&_0x47d877['imnFW'](isAccessibilityAutomationSession)&&_0x29b373&&Array[_0x2e83f5(0x163)](__drivers)&&_0x47d877['pYxHX'](__drivers[_0x2e83f5(0x25f)],0x0)&&globals[_0x2e83f5(0x249)](_0x47d877[_0x2e83f5(0x24c)]))try{const _0x528295=await __drivers[0x0][_0x2e83f5(0x1aa)];if(_0x528295){let _0x57ecb8=!![];const _0x5df028=await __drivers[0x0][_0x2e83f5(0x22a)]();let _0x9a1689;try{_0x9a1689=new URL(_0x5df028);}catch(_0x572061){_0x57ecb8=![];}_0x57ecb8=_0x47d877[_0x2e83f5(0x1e3)](_0x9a1689[_0x2e83f5(0x233)],_0x47d877[_0x2e83f5(0x1b2)])||_0x47d877['QSdSN'](_0x9a1689[_0x2e83f5(0x233)],_0x47d877['cQIwB']),_0x57ecb8&&(_0x27ee9d&&logger[_0x2e83f5(0x1b1)](_0x47d877[_0x2e83f5(0x261)]));}}catch(_0x420ea7){logger[_0x2e83f5(0x1a4)](_0x2e83f5(0x1d8)+_0x420ea7);const _0x432d5d={};_0x432d5d[_0x2e83f5(0x1ac)]=_0x47d877[_0x2e83f5(0x222)],PerformanceTester[_0x2e83f5(0x15d)](PerformanceHookEvents[_0x2e83f5(0x1a2)],![],er,_0x432d5d);}if(_0x5af264&&global[_0x2e83f5(0x26c)]&&global[_0x2e83f5(0x26c)][_0x2e83f5(0x248)])try{await _0x5af264[_0x2e83f5(0x213)](global[_0x2e83f5(0x26c)][_0x2e83f5(0x248)][_0x2e83f5(0x1f5)]);}catch(_0x43971a){logger[_0x2e83f5(0x1be)]('Error\x20in\x20playwright\x20beforeTestHook:\x20'+util[_0x2e83f5(0x168)](_0x43971a));}if(_0x5af264&&global[_0x2e83f5(0x26c)]&&global[_0x2e83f5(0x26c)][_0x2e83f5(0x248)])try{const _0x389d5a=_0x47d877['uWEWH'](require,_0x47d877[_0x2e83f5(0x212)]),{FRAMEWORKS:_0x51fe2b}=_0x47d877[_0x2e83f5(0x147)](require,_0x47d877[_0x2e83f5(0x20b)]),_0x49b950=_0x47d877['uWEWH'](require,_0x47d877['sqSon']),_0x3cbb80=_0x47d877[_0x2e83f5(0x1a6)](require,_0x47d877[_0x2e83f5(0x211)]);if(_0x389d5a['getInstance']()[_0x2e83f5(0x23d)]()&&_0x389d5a[_0x2e83f5(0x15e)]()['isRunning']()){const _0x1ba1f1={'title':_0x47d877[_0x2e83f5(0x26a)](_0x2dfd81,_0x47d877[_0x2e83f5(0x1a5)]),'titlePath':[_0x47d877[_0x2e83f5(0x26a)](_0x2dfd81,_0x47d877[_0x2e83f5(0x1a5)])],'id':global[_0x2e83f5(0x26c)][_0x2e83f5(0x248)]['id']||_0x47d877[_0x2e83f5(0x1af)],'testAnalyticsId':global[_0x2e83f5(0x26c)][_0x2e83f5(0x248)]['testAnalyticsId'],'testPath':global[_0x2e83f5(0x26c)][_0x2e83f5(0x248)]['testInfo']?.[_0x2e83f5(0x193)],...global[_0x2e83f5(0x26c)][_0x2e83f5(0x248)][_0x2e83f5(0x1f5)]};global['__currentTestInfo']=_0x1ba1f1,logger[_0x2e83f5(0x1be)](_0x2e83f5(0x1c4)+_0x2dfd81);try{const _0x509d33=global[_0x2e83f5(0x26c)]?.[_0x2e83f5(0x21d)]||_0x5af264[_0x2e83f5(0x15c)]();if(_0x509d33){const _0x3da32c=_0x47d877[_0x2e83f5(0x16b)](!!_0x154abb,!_0x1632a6);let _0x188b8b=null,_0x5df844=null;try{_0x3da32c?(_0x188b8b=_0x47d877[_0x2e83f5(0x1e3)](typeof _0x509d33[_0x2e83f5(0x223)],_0x47d877[_0x2e83f5(0x235)])?_0x509d33[_0x2e83f5(0x223)]():null,_0x5df844=_0x47d877[_0x2e83f5(0x1cb)](typeof _0x509d33['browser'],_0x47d877[_0x2e83f5(0x235)])?_0x509d33[_0x2e83f5(0x1ba)]():null):(_0x188b8b=_0x47d877[_0x2e83f5(0x1e3)](typeof _0x509d33[_0x2e83f5(0x21a)],_0x47d877[_0x2e83f5(0x235)])?_0x509d33[_0x2e83f5(0x21a)]():null,_0x5df844=_0x188b8b&&_0x47d877['eEzyd'](typeof _0x188b8b['browser'],_0x47d877[_0x2e83f5(0x235)])?_0x188b8b[_0x2e83f5(0x1ba)]():null);}catch(_0x4b8ea5){logger[_0x2e83f5(0x1be)](_0x2e83f5(0x1ec)+_0x4b8ea5['message']);}const _0x482868={};_0x482868[_0x2e83f5(0x232)]=_0x509d33,_0x482868[_0x2e83f5(0x21a)]=_0x188b8b,_0x482868[_0x2e83f5(0x1ba)]=_0x5df844,_0x482868[_0x2e83f5(0x1f5)]=_0x1ba1f1,_0x482868[_0x2e83f5(0x20d)]=_0x51fe2b[_0x2e83f5(0x26d)],_0x482868[_0x2e83f5(0x146)]=global[_0x2e83f5(0x225)],_0x482868[_0x2e83f5(0x239)]=global[_0x2e83f5(0x145)],await _0x389d5a[_0x2e83f5(0x15e)]()[_0x2e83f5(0x1a8)]()[_0x2e83f5(0x1c2)](_0x49b950['CREATE'],_0x3cbb80[_0x2e83f5(0x24d)],_0x482868),logger[_0x2e83f5(0x1be)]('[Jest\x20Setup]\x20Triggered\x20CREATE\x20POST\x20event\x20for\x20test:\x20'+_0x2dfd81+'\x20with\x20testIdentifier:\x20'+(_0x1ba1f1[_0x2e83f5(0x14f)]||_0x1ba1f1['id']));}else logger['debug']('No\x20page\x20available\x20yet\x20for\x20test:\x20'+_0x2dfd81+_0x2e83f5(0x19c));}catch(_0x1c3904){logger[_0x2e83f5(0x1be)](_0x2e83f5(0x209)+util[_0x2e83f5(0x168)](_0x1c3904));}}}catch(_0x472c9a){logger[_0x2e83f5(0x1be)](_0x2e83f5(0x1b9)+util[_0x2e83f5(0x168)](_0x472c9a));}!_0x5af264&&_0x47d877[_0x2e83f5(0x19e)](__drivers[_0x2e83f5(0x25f)],0x0)&&_0x47d877[_0x2e83f5(0x242)](__drivers[0x0][_0x2e83f5(0x247)],0x0)&&await _0x47d877[_0x2e83f5(0x20f)](driverCleanup);}catch(_0x5d37a1){logger[_0x2e83f5(0x1be)](_0x2e83f5(0x175)+_0x5d37a1);const _0x4ef1c2={};_0x4ef1c2['hookType']=_0x47d877[_0x2e83f5(0x222)],PerformanceTester[_0x2e83f5(0x15d)](PerformanceHookEvents[_0x2e83f5(0x1a2)],![],_0x5d37a1,_0x4ef1c2);}const _0x2a9dce={};_0x2a9dce[_0x2e83f5(0x1ac)]=_0x47d877['FiZVD'],PerformanceTester[_0x2e83f5(0x15d)](PerformanceHookEvents[_0x2e83f5(0x1a2)],!![],null,_0x2a9dce);}),afterEach(async()=>{const _0x4d2696=a20_0x2e8806,_0x3c6328={'AWXtO':_0x4d2696(0x273),'HqfKZ':function(_0x5f4feb,_0x1e2efd){return _0x5f4feb>_0x1e2efd;},'anDrr':_0x4d2696(0x151),'qdAhg':_0x4d2696(0x178),'JDRgp':_0x4d2696(0x167),'vIYba':function(_0x2fa55d,_0x20961b){return _0x2fa55d(_0x20961b);},'OMagy':_0x4d2696(0x241),'VSjZR':function(_0x2bc9f2,_0x2d3a90){return _0x2bc9f2(_0x2d3a90);},'RoXre':_0x4d2696(0x206),'CIwfu':'Playwright','aaJWy':'Puppeteer','ssjHg':function(_0x56dd1e,_0x461c9a){return _0x56dd1e!==_0x461c9a;},'NtABw':_0x4d2696(0x1c7),'hnFop':function(_0x456ad2,_0x39ee2a){return _0x456ad2(_0x39ee2a);},'mKwHW':function(_0x4a0a34,_0x123fcd){return _0x4a0a34(_0x123fcd);},'YZwjl':function(_0x5da0e8,_0x3f4bc7){return _0x5da0e8(_0x3f4bc7);},'DtSjy':_0x4d2696(0x170),'JYWvG':_0x4d2696(0x1a0),'UUxUL':function(_0x11d7b6,_0x4607c5){return _0x11d7b6&&_0x4607c5;},'BqDPv':_0x4d2696(0x1ad),'YvlTq':_0x4d2696(0x252),'LShil':_0x4d2696(0x1f4),'vwKTf':_0x4d2696(0x1ed),'bjUHe':_0x4d2696(0x165),'dXAVX':_0x4d2696(0x177),'sjCPw':function(_0x463a67,_0x6e9707){return _0x463a67>_0x6e9707;},'edZfR':function(_0x1bf30e){return _0x1bf30e();},'rWEdU':function(_0x460a47,_0x392a0a){return _0x460a47===_0x392a0a;},'Ehsqr':_0x4d2696(0x1f0),'qBxti':_0x4d2696(0x255),'tEoFO':function(_0x8ac145,_0x4a5534,_0x22e880,_0x417cc5){return _0x8ac145(_0x4a5534,_0x22e880,_0x417cc5);},'EAlDQ':_0x4d2696(0x276),'aFpTg':function(_0x248ad0,_0x22e282,_0x31a495){return _0x248ad0(_0x22e282,_0x31a495);},'xSYMY':_0x4d2696(0x218),'ICZIs':_0x4d2696(0x25e),'VIpVw':_0x4d2696(0x23a),'CVcJh':'Performing\x20scan\x20before\x20saving\x20results','FFkrj':_0x4d2696(0x16c),'nYGKJ':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','maRHL':function(_0x4686db){return _0x4686db();},'vKDIo':function(_0x38e7ea,_0x15823e,_0x248af1){return _0x38e7ea(_0x15823e,_0x248af1);},'mZbBA':_0x4d2696(0x1be),'Qcyhd':function(_0x46f918,_0x42c409){return _0x46f918>_0x42c409;},'ZvlkI':function(_0x56d311){return _0x56d311();}};logger[_0x4d2696(0x1be)](_0x3c6328[_0x4d2696(0x25d)]),PerformanceTester[_0x4d2696(0x269)](PerformanceHookEvents['SDK_HOOK']);const _0x5b0d0d='browserstack internal helper hook';let _0x23940b=![],_0x358793=![],_0x222751=null;try{global[_0x4d2696(0x271)]&&_0x3c6328[_0x4d2696(0x19b)](global[_0x4d2696(0x271)][_0x4d2696(0x25f)],0x0)&&(_0x23940b=!![]);if(global[_0x4d2696(0x26c)]&&global[_0x4d2696(0x26c)]['pwPage']){const _0x5b3184=helper['getPackageVersion'](_0x3c6328[_0x4d2696(0x231)]),_0x568d3f=helper[_0x4d2696(0x149)](_0x3c6328[_0x4d2696(0x13f)])||helper[_0x4d2696(0x149)](_0x3c6328[_0x4d2696(0x210)]);try{if(_0x5b3184)_0x222751=_0x3c6328[_0x4d2696(0x205)](require,_0x3c6328['OMagy']);else _0x568d3f&&(_0x222751=_0x3c6328[_0x4d2696(0x200)](require,_0x3c6328['RoXre']));_0x358793=!![],logger['debug']((_0x5b3184?_0x3c6328[_0x4d2696(0x17f)]:_0x3c6328[_0x4d2696(0x1e7)])+_0x4d2696(0x1c1)+!!global[_0x4d2696(0x26c)][_0x4d2696(0x21d)]);}catch(_0x1bbfe){logger[_0x4d2696(0x1be)](_0x4d2696(0x25c)+util[_0x4d2696(0x168)](_0x1bbfe));}}}catch(_0x250c38){logger[_0x4d2696(0x1be)](_0x4d2696(0x21e)+_0x250c38);}logger[_0x4d2696(0x1be)](_0x4d2696(0x160)+_0x23940b+',\x20isPlaywrightFlow='+_0x358793);if(_0x358793){const _0x25ddf0=_0x222751[_0x4d2696(0x15c)]();try{let _0x5b4822=null,_0x16713c=![];if(_0x3c6328[_0x4d2696(0x254)](typeof jasmine,_0x3c6328[_0x4d2696(0x1bb)]))jasmine[_0x4d2696(0x248)][_0x4d2696(0x1b7)]&&_0x3c6328[_0x4d2696(0x19b)](jasmine[_0x4d2696(0x248)][_0x4d2696(0x1b7)][_0x4d2696(0x25f)],0x0)?(_0x16713c=!![],_0x5b4822=_0x3c6328[_0x4d2696(0x200)](stripUnicode,JSON[_0x4d2696(0x1d2)](jasmine[_0x4d2696(0x248)][_0x4d2696(0x1b7)][0x0]['message']))):_0x5b4822=_0x3c6328['hnFop'](stripUnicode,JSON[_0x4d2696(0x1d2)](jasmine['currentTest'][_0x4d2696(0x257)]));else{logger['debug'](_0x4d2696(0x198)+util[_0x4d2696(0x20a)](testContext));const _0x8f5467=global[_0x4d2696(0x203)]||testContext,_0x1b3f79=_0x8f5467&&_0x8f5467[_0x4d2696(0x166)]?_0x8f5467[_0x4d2696(0x166)]:[];if(_0x3c6328['HqfKZ'](_0x1b3f79[_0x4d2696(0x25f)],0x0)){_0x16713c=!![];const _0x708ce8=Array['isArray'](_0x1b3f79[0x0])?_0x1b3f79[0x0][0x0]:_0x1b3f79[0x0];_0x5b4822=_0x3c6328[_0x4d2696(0x1e8)](stripUnicode,JSON[_0x4d2696(0x1d2)](_0x708ce8[_0x4d2696(0x1bf)]||_0x708ce8));}else _0x5b4822=_0x3c6328['YZwjl'](stripUnicode,JSON[_0x4d2696(0x1d2)](_0x8f5467?_0x8f5467[_0x4d2696(0x171)]:testContext[_0x4d2696(0x171)]));}const _0x485aef=_0x16713c?_0x3c6328['DtSjy']:_0x3c6328[_0x4d2696(0x250)];_0x3c6328[_0x4d2696(0x1c3)](_0x16713c,_0x5b4822)&&!__error_messages__[_0x4d2696(0x216)](_0x5b4822)&&__error_messages__[_0x4d2696(0x215)](_0x5b4822);const _0x27b3fa={'title':global[_0x4d2696(0x26c)]?.[_0x4d2696(0x248)]?.['testInfo']?.[_0x4d2696(0x14a)]||_0x3c6328['BqDPv'],'titlePath':[global[_0x4d2696(0x26c)]?.[_0x4d2696(0x248)]?.['testInfo']?.[_0x4d2696(0x14a)]||_0x3c6328[_0x4d2696(0x1ee)]],'id':global['__workerDetails']?.['currentTest']?.['id']||_0x3c6328[_0x4d2696(0x18b)],'status':_0x485aef,'error':_0x5b4822?{'message':_0x5b4822}:null,'testAnalyticsId':global[_0x4d2696(0x26c)]?.['currentTest']?.[_0x4d2696(0x14f)],'testPath':global[_0x4d2696(0x26c)]?.[_0x4d2696(0x248)]?.[_0x4d2696(0x1f5)]?.[_0x4d2696(0x193)],...global[_0x4d2696(0x26c)][_0x4d2696(0x248)][_0x4d2696(0x1f5)]},_0x2b7cad=_0x27b3fa;try{if(BrowserstackCLI['getInstance']()[_0x4d2696(0x23d)]()&&BrowserstackCLI[_0x4d2696(0x15e)]()[_0x4d2696(0x204)]()){const _0x38c01d={};_0x38c01d['testInfo']=_0x2b7cad,_0x38c01d[_0x4d2696(0x232)]=_0x25ddf0,_0x38c01d['testFramework']=FRAMEWORKS[_0x4d2696(0x26d)],await BrowserstackCLI[_0x4d2696(0x15e)]()['getAutomationFramework']()[_0x4d2696(0x1c2)](AutomationFrameworkState[_0x4d2696(0x176)],HookState[_0x4d2696(0x226)],_0x38c01d),logger[_0x4d2696(0x1be)](_0x4d2696(0x18d)+_0x2b7cad['title']);}}catch(_0x22c2a4){logger[_0x4d2696(0x1be)](_0x4d2696(0x185)+util[_0x4d2696(0x168)](_0x22c2a4));}global[_0x4d2696(0x26c)]&&global[_0x4d2696(0x26c)][_0x4d2696(0x248)]&&global[_0x4d2696(0x26c)][_0x4d2696(0x248)]['testInfo']?await _0x222751[_0x4d2696(0x1e6)](global[_0x4d2696(0x26c)][_0x4d2696(0x248)][_0x4d2696(0x1f5)],_0x485aef,_0x16713c?_0x5b4822:null):logger[_0x4d2696(0x1be)](_0x3c6328[_0x4d2696(0x259)]);try{await _0x222751['executeDeferredCloses'](),logger['debug'](_0x3c6328['vwKTf']);}catch(_0x36d8a2){logger['debug'](_0x4d2696(0x13e)+util[_0x4d2696(0x168)](_0x36d8a2));}try{_0x222751[_0x4d2696(0x161)][_0x4d2696(0x162)](),logger[_0x4d2696(0x1be)](_0x3c6328[_0x4d2696(0x15a)]);}catch(_0x7fd957){logger[_0x4d2696(0x1be)](_0x4d2696(0x1f3)+util[_0x4d2696(0x168)](_0x7fd957));}}catch(_0x594e41){logger[_0x4d2696(0x1be)](_0x4d2696(0x229)+util['format'](_0x594e41));try{_0x222751[_0x4d2696(0x191)]&&(await _0x222751[_0x4d2696(0x191)](),logger[_0x4d2696(0x1be)](_0x3c6328[_0x4d2696(0x1f7)]));}catch(_0x599bac){logger[_0x4d2696(0x1be)](_0x4d2696(0x1c5)+util[_0x4d2696(0x168)](_0x599bac));}}}else try{!_0x358793&&_0x3c6328[_0x4d2696(0x238)](__drivers[_0x4d2696(0x25f)],0x1)&&(await _0x3c6328[_0x4d2696(0x19a)](driverCleanup),__drivers[_0x4d2696(0x1c8)]());try{if(global[_0x4d2696(0x20e)]&&_0x3c6328[_0x4d2696(0x23e)](global[_0x4d2696(0x263)],_0x3c6328[_0x4d2696(0x1e0)])&&__drivers[0x0]){const _0xec773b=_0x3c6328[_0x4d2696(0x238)](global[_0x4d2696(0x164)][_0x4d2696(0x25f)],0x0)?!!global['capabilities'][0x0][_0x4d2696(0x194)]||!!global[_0x4d2696(0x164)][0x0][_0x3c6328['qBxti']]:![],_0x41816b={};_0x41816b['app']=_0xec773b,await _0x3c6328[_0x4d2696(0x1ef)](percyAutoCapture,__drivers[0x0],_0x3c6328['Ehsqr'],_0x41816b);}}catch(_0x34a71e){logger[_0x4d2696(0x1be)](_0x4d2696(0x1fc)+_0x34a71e);const _0x20e708={};_0x20e708[_0x4d2696(0x1ac)]=_0x3c6328[_0x4d2696(0x278)],PerformanceTester[_0x4d2696(0x15d)](PerformanceHookEvents['SDK_HOOK'],![],_0x34a71e,_0x20e708);}const _0x417969=_0x3c6328[_0x4d2696(0x228)](shouldScanTestForAccessibility,expect[_0x4d2696(0x1c6)]()[_0x4d2696(0x18f)],![]);try{if(_0x3c6328['edZfR'](isAccessibilityAutomationSession)&&globals['getGlobal'](_0x3c6328['xSYMY'])&&globals[_0x4d2696(0x249)](_0x3c6328[_0x4d2696(0x202)])){logger[_0x4d2696(0x1b1)](_0x3c6328[_0x4d2696(0x1b0)]);const _0x4496e7={'thTestRunUuid':TestDetails['getTestUUID'](process[_0x4d2696(0x195)]+':testAnalyticsId'),'thBuildUuid':process[_0x4d2696(0x183)][testHubConstants[_0x4d2696(0x150)][_0x4d2696(0x244)]],'thJwtToken':process[_0x4d2696(0x183)][testHubConstants[_0x4d2696(0x150)][_0x4d2696(0x220)]]};logger[_0x4d2696(0x1be)](_0x4d2696(0x190)+JSON[_0x4d2696(0x1d2)](_0x4496e7)),logger[_0x4d2696(0x1be)](_0x3c6328[_0x4d2696(0x16d)]);const _0x3ff1d8={};_0x3ff1d8[_0x4d2696(0x1fd)]=_0x3c6328[_0x4d2696(0x17b)],await PerformanceTester[_0x4d2696(0x1d6)](PerformanceA11yEvents[_0x4d2696(0x1f8)],async()=>{const _0x26e681=_0x4d2696;logger[_0x26e681(0x1be)](util[_0x26e681(0x168)](await __drivers[0x0]['executeAsyncScript'](scripts[_0x26e681(0x142)],{'method':expect[_0x26e681(0x1c6)]()[_0x26e681(0x18f)]})));},_0x3ff1d8)(),await PerformanceTester[_0x4d2696(0x1d6)](PerformanceA11yEvents[_0x4d2696(0x224)],async()=>{const _0x381c5b=_0x4d2696;await __drivers[0x0][_0x381c5b(0x14c)](scripts[_0x381c5b(0x26b)],_0x4496e7);})(),logger[_0x4d2696(0x1b1)](_0x3c6328[_0x4d2696(0x277)]);}}catch(_0x512bf7){logger[_0x4d2696(0x1a4)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+expect['getState']()[_0x4d2696(0x18f)]+_0x4d2696(0x214),_0x512bf7);}await _0x3c6328['edZfR'](setContext);try{if(_0x3c6328[_0x4d2696(0x19a)](shouldProcessEventForTesthub)){_0x3c6328[_0x4d2696(0x19b)](global[_0x4d2696(0x271)]['length'],0x0)&&global['__drivers'][0x0]&&await _0x3c6328[_0x4d2696(0x228)](sendPlatformDetails,global[_0x4d2696(0x271)][0x0],TestDetails[_0x4d2696(0x1a1)](process[_0x4d2696(0x195)]+_0x4d2696(0x1d9)));if(_0x3c6328[_0x4d2696(0x270)](isBrowserstackInfra)){PerformanceTester[_0x4d2696(0x269)](PerformanceO11yEvents[_0x4d2696(0x174)]);const _0x33bc7f=_0x4d2696(0x17c)+Date[_0x4d2696(0x21f)]();await _0x3c6328[_0x4d2696(0x201)](executeAnnotate,JSON[_0x4d2696(0x1d2)](_0x33bc7f),_0x3c6328[_0x4d2696(0x15b)]),PerformanceTester[_0x4d2696(0x15d)](PerformanceO11yEvents[_0x4d2696(0x174)]);}}}catch(_0x8ef955){logger[_0x4d2696(0x1be)](_0x4d2696(0x1da)+_0x8ef955),PerformanceTester[_0x4d2696(0x15d)](PerformanceO11yEvents[_0x4d2696(0x174)],![],_0x8ef955);}!_0x358793&&_0x3c6328[_0x4d2696(0x238)](__drivers['length'],0x0)&&_0x3c6328[_0x4d2696(0x246)](__drivers[0x0][_0x4d2696(0x247)],0x0)&&await _0x3c6328[_0x4d2696(0x266)](driverCleanup);const _0x4ed302={};_0x4ed302[_0x4d2696(0x1ac)]=_0x3c6328['EAlDQ'],PerformanceTester[_0x4d2696(0x15d)](PerformanceHookEvents[_0x4d2696(0x1a2)],!![],null,_0x4ed302);}catch(_0x13df90){logger[_0x4d2696(0x1be)]('Exception\x20in\x20jest\x20driver\x20with\x20error:\x20'+_0x13df90);const _0x4cae0a={};_0x4cae0a[_0x4d2696(0x1ac)]=_0x3c6328['EAlDQ'],PerformanceTester[_0x4d2696(0x15d)](PerformanceHookEvents['SDK_HOOK'],![],_0x13df90,_0x4cae0a);}},TEST_FRAMEWORK_HOOK_TIMEOUT[a20_0x2e8806(0x159)]),afterAll(async()=>{const _0x3b8a9a=a20_0x2e8806,_0x55e9a5={'XNvSd':function(_0x59a972,_0x531d18){return _0x59a972<=_0x531d18;},'cPBWp':function(_0x4efedb,_0x1d9e7d){return _0x4efedb(_0x1d9e7d);},'MUFkR':function(_0x114ab5){return _0x114ab5();},'tuISS':function(_0x4fc53c,_0x3abd29,_0x33dc3a){return _0x4fc53c(_0x3abd29,_0x33dc3a);},'gTHfD':_0x3b8a9a(0x159),'zLEES':_0x3b8a9a(0x151),'AhVhp':_0x3b8a9a(0x178),'vOezH':_0x3b8a9a(0x167),'HNEXr':function(_0x3de40a,_0x1aaa04){return _0x3de40a(_0x1aaa04);},'gYYbW':'../utils/playwright-patcher','HhPYn':_0x3b8a9a(0x206),'PGWzY':_0x3b8a9a(0x268),'SSWUg':function(_0x2d1c09,_0x1b7110){return _0x2d1c09||_0x1b7110;},'mZFdc':'Successfully\x20executed\x20deferred\x20Playwright\x20closes\x20(with\x20force\x20close)','jPdRq':_0x3b8a9a(0x1fe),'oCtii':function(_0xb72307,_0x5e6bed){return _0xb72307===_0x5e6bed;},'MhNfD':_0x3b8a9a(0x17d),'GqxIG':_0x3b8a9a(0x1f1),'ktmue':_0x3b8a9a(0x208),'zvVoT':'Cleaned\x20up\x20page\x20references\x20after\x20deferred\x20closes','wiiEH':function(_0x5afd38,_0x4404f9){return _0x5afd38(_0x4404f9);},'kaPzz':'afterAll'};PerformanceTester[_0x3b8a9a(0x269)](PerformanceHookEvents[_0x3b8a9a(0x1a2)]),jest['setTimeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x55e9a5['gTHfD']]),PerformanceTester[_0x3b8a9a(0x1d1)]();const _0x2c5a0c='browserstack internal helper hook';let _0x4a88ec=![];try{const _0x3111ae=helper[_0x3b8a9a(0x149)](_0x55e9a5[_0x3b8a9a(0x26f)]),_0x4b2e2e=helper[_0x3b8a9a(0x149)](_0x55e9a5['AhVhp'])||helper['getPackageVersion'](_0x55e9a5['vOezH']),_0x431da1=_0x3111ae?_0x55e9a5[_0x3b8a9a(0x24b)](require,_0x55e9a5[_0x3b8a9a(0x22b)]):_0x4b2e2e?_0x55e9a5['cPBWp'](require,_0x55e9a5[_0x3b8a9a(0x22c)]):null;if(!_0x431da1)throw new Error(_0x55e9a5[_0x3b8a9a(0x1dc)]);const _0xbf8dd1=global[_0x3b8a9a(0x26c)]?.['pwPage'],_0x3cee3a=_0x431da1['getPageFromAutomationFramework'](),_0x7684a4=_0x55e9a5[_0x3b8a9a(0x18e)](_0xbf8dd1,_0x3cee3a);if(_0x7684a4){_0x4a88ec=!![];try{await _0x431da1[_0x3b8a9a(0x191)](),logger['debug'](_0x55e9a5[_0x3b8a9a(0x1e4)]);}catch(_0x259c60){logger['debug'](_0x3b8a9a(0x13e)+util[_0x3b8a9a(0x168)](_0x259c60));try{const _0x53e238=_0x431da1[_0x3b8a9a(0x15c)]();_0x53e238&&(logger['debug'](_0x55e9a5[_0x3b8a9a(0x184)]),_0x55e9a5[_0x3b8a9a(0x1bc)](typeof _0x53e238[_0x3b8a9a(0x1e5)],_0x55e9a5[_0x3b8a9a(0x181)])&&(await _0x53e238[_0x3b8a9a(0x1e5)](),logger[_0x3b8a9a(0x1be)](_0x55e9a5[_0x3b8a9a(0x240)])));}catch(_0x261cb7){logger[_0x3b8a9a(0x1be)](_0x3b8a9a(0x1ff)+util[_0x3b8a9a(0x168)](_0x261cb7));}}try{if(global[_0x3b8a9a(0x26c)]){global['__workerDetails']['pwPage']=null,global[_0x3b8a9a(0x26c)][_0x3b8a9a(0x13b)]=![];const _0x5d7afb={};_0x5d7afb['id']=undefined,_0x5d7afb[_0x3b8a9a(0x1f5)]=undefined,global[_0x3b8a9a(0x26c)]['currentTest']=_0x5d7afb;}_0x431da1[_0x3b8a9a(0x161)]&&_0x431da1[_0x3b8a9a(0x161)][_0x3b8a9a(0x162)]&&(_0x431da1[_0x3b8a9a(0x161)][_0x3b8a9a(0x162)](),logger[_0x3b8a9a(0x1be)](_0x55e9a5[_0x3b8a9a(0x272)])),logger[_0x3b8a9a(0x1be)](_0x55e9a5[_0x3b8a9a(0x180)]);}catch(_0x32ae47){logger[_0x3b8a9a(0x1be)](_0x3b8a9a(0x24a)+util[_0x3b8a9a(0x168)](_0x32ae47));}__error_messages__=[];}}catch(_0x3188d8){logger[_0x3b8a9a(0x1be)](_0x3b8a9a(0x1eb)+util['format'](_0x3188d8));try{const _0x220eca=helper[_0x3b8a9a(0x149)](_0x55e9a5['zLEES']),_0x5fee55=helper['getPackageVersion'](_0x55e9a5[_0x3b8a9a(0x152)])||helper[_0x3b8a9a(0x149)](_0x55e9a5['vOezH']),_0x203d90=_0x220eca?_0x55e9a5[_0x3b8a9a(0x1c9)](require,_0x55e9a5[_0x3b8a9a(0x22b)]):_0x5fee55?_0x55e9a5[_0x3b8a9a(0x196)](require,_0x55e9a5[_0x3b8a9a(0x22c)]):null;_0x203d90&&await _0x203d90[_0x3b8a9a(0x191)]();}catch(_0x1db552){logger['debug']('Error\x20executing\x20fallback\x20deferred\x20closes:\x20'+util['format'](_0x1db552));}}await new Promise(_0x4ae09e=>{const _0x49db60=_0x3b8a9a,_0x373f32={'rvbJa':function(_0x58fee7,_0x9cce27){const _0x421e91=a20_0x298f;return _0x55e9a5[_0x421e91(0x1d4)](_0x58fee7,_0x9cce27);},'NvNpY':function(_0x520d33,_0x374faa){const _0x26c96d=a20_0x298f;return _0x55e9a5[_0x26c96d(0x1c9)](_0x520d33,_0x374faa);},'vpcXe':function(_0x182f9a){const _0x209104=a20_0x298f;return _0x55e9a5[_0x209104(0x20c)](_0x182f9a);}},_0x3f6acb=_0x55e9a5[_0x49db60(0x1db)](setInterval,async()=>{const _0x4a86d7=_0x49db60;_0x373f32[_0x4a86d7(0x199)](RequestQueueHandler[_0x4a86d7(0x15e)]()[_0x4a86d7(0x17e)],0x0)&&(_0x373f32[_0x4a86d7(0x14d)](clearInterval,_0x3f6acb),_0x373f32[_0x4a86d7(0x1ce)](_0x4ae09e));},0x3e8);});try{!_0x4a88ec&&await _0x55e9a5[_0x3b8a9a(0x20c)](driverCleanup);}catch(_0x4cf66c){logger['debug'](_0x3b8a9a(0x219)+_0x4cf66c);const _0x44ff0c={};_0x44ff0c[_0x3b8a9a(0x1ac)]=_0x55e9a5['kaPzz'],PerformanceTester[_0x3b8a9a(0x15d)](PerformanceHookEvents['SDK_HOOK'],![],_0x4cf66c,_0x44ff0c);}process[_0x3b8a9a(0x23f)]();const _0x2a6dd9={};_0x2a6dd9[_0x3b8a9a(0x1ac)]=_0x55e9a5[_0x3b8a9a(0x256)],PerformanceTester[_0x3b8a9a(0x15d)](PerformanceHookEvents[_0x3b8a9a(0x1a2)],!![],null,_0x2a6dd9);},TEST_FRAMEWORK_HOOK_TIMEOUT['Jest']);
|
|
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 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a21_0x38fc(_0x2f41b5,_0x189317){const _0x3f3b79=a21_0x3f3b();return a21_0x38fc=function(_0x38fc2c,_0x285958){_0x38fc2c=_0x38fc2c-0x104;let _0x565940=_0x3f3b79[_0x38fc2c];return _0x565940;},a21_0x38fc(_0x2f41b5,_0x189317);}const a21_0x43c917=a21_0x38fc;(function(_0x59d26b,_0x1afa3c){const _0x4f9c84=a21_0x38fc,_0x2ebb93=_0x59d26b();while(!![]){try{const _0xa16431=parseInt(_0x4f9c84(0x109))/0x1*(-parseInt(_0x4f9c84(0x10f))/0x2)+-parseInt(_0x4f9c84(0x10c))/0x3*(parseInt(_0x4f9c84(0x105))/0x4)+parseInt(_0x4f9c84(0x10e))/0x5+-parseInt(_0x4f9c84(0x110))/0x6*(-parseInt(_0x4f9c84(0x10a))/0x7)+parseInt(_0x4f9c84(0x111))/0x8+-parseInt(_0x4f9c84(0x106))/0x9+parseInt(_0x4f9c84(0x112))/0xa*(-parseInt(_0x4f9c84(0x10d))/0xb);if(_0xa16431===_0x1afa3c)break;else _0x2ebb93['push'](_0x2ebb93['shift']());}catch(_0x679c87){_0x2ebb93['push'](_0x2ebb93['shift']());}}}(a21_0x3f3b,0x5ffb1));function a21_0x3f3b(){const _0x48509f=['6cdihiK','3134528wLWgeQ','10ukOpru','../../../helpers/test-observability/utils','30404PBfWqs','1248759fSdadq','restore','setTimeout','7142bXReFz','3541993rEfILt','lZEMT','114lcnqUG','6069547JaOUfL','3587580AAqsOH','68lpyfjg'];a21_0x3f3b=function(){return _0x48509f;};return a21_0x3f3b();}const requestSpy=require('../../../helpers/request-spy'),{addRequestSpy}=require(a21_0x43c917(0x104));beforeAll(()=>{const _0x33e959=a21_0x43c917,_0x5c023b={'lZEMT':function(_0x3293ca){return _0x3293ca();}},_0x29ae1b='browserstack internal helper hook';_0x5c023b[_0x33e959(0x10b)](addRequestSpy);}),afterAll(async()=>{const _0x483659=a21_0x43c917,_0x383456='browserstack internal helper hook';jest[_0x483659(0x108)](0xea60),requestSpy[_0x483659(0x107)]();});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a22_0x27d5ec=a22_0x5c82;function a22_0x4573(){const _0x47aa4e=['../../../helpers/test-observability/utils','9096241fYCtgb','testMatch','4TaMjhh','validateRerunTestList','shouldReRunObservabilityTests','testRegex','env','map','13567712IWWNiB','BROWSERSTACK_RERUN_TESTS','4474476plGazg','3215ygaDML','630dKtRAd','push','length','isTestObservabilitySession','lWouS','304690bcoWiA','split','cliConfig','6038935uTNfvD','has','eYjGz','trim','get','../../../helpers/helper','8106414ykMioO','isUndefined','132XiXQNP','ciJXh'];a22_0x4573=function(){return _0x47aa4e;};return a22_0x4573();}function a22_0x5c82(_0xa31ff8,_0x56569c){const _0x457332=a22_0x4573();return a22_0x5c82=function(_0x5c82da,_0x42e41c){_0x5c82da=_0x5c82da-0x1c2;let _0x4a3500=_0x457332[_0x5c82da];return _0x4a3500;},a22_0x5c82(_0xa31ff8,_0x56569c);}(function(_0x45a654,_0x251a31){const _0x1cb640=a22_0x5c82,_0x497246=_0x45a654();while(!![]){try{const _0x2a90b3=parseInt(_0x1cb640(0x1d3))/0x1*(parseInt(_0x1cb640(0x1c5))/0x2)+-parseInt(_0x1cb640(0x1d2))/0x3*(-parseInt(_0x1cb640(0x1ca))/0x4)+-parseInt(_0x1cb640(0x1dc))/0x5+parseInt(_0x1cb640(0x1c3))/0x6+-parseInt(_0x1cb640(0x1c8))/0x7+-parseInt(_0x1cb640(0x1d0))/0x8+-parseInt(_0x1cb640(0x1d4))/0x9*(-parseInt(_0x1cb640(0x1d9))/0xa);if(_0x2a90b3===_0x251a31)break;else _0x497246['push'](_0x497246['shift']());}catch(_0x6d1823){_0x497246['push'](_0x497246['shift']());}}}(a22_0x4573,0xf052f));const testOpsHelper=require(a22_0x27d5ec(0x1c7)),helper=require(a22_0x27d5ec(0x1c2));exports['updateTestRerunConfig']=(_0xe97a97,_0x437e1a)=>{const _0x56fcab=a22_0x27d5ec,_0x17d226={};_0x17d226[_0x56fcab(0x1c6)]='rerunTests',_0x17d226['lWouS']=function(_0x2dfd90,_0x54eb4c){return _0x2dfd90!==_0x54eb4c;},_0x17d226[_0x56fcab(0x1de)]=function(_0x442e7e,_0xedee3e){return _0x442e7e>_0xedee3e;};const _0x2ce77f=_0x17d226;if(testOpsHelper[_0x56fcab(0x1d7)]()&&testOpsHelper[_0x56fcab(0x1cc)]()){let _0x54d652=process[_0x56fcab(0x1ce)][_0x56fcab(0x1d1)];!helper[_0x56fcab(0x1c4)](_0x437e1a[_0x56fcab(0x1db)])&&_0x437e1a[_0x56fcab(0x1db)][_0x56fcab(0x1dd)](_0x2ce77f['ciJXh'])&&(_0x54d652=_0x437e1a[_0x56fcab(0x1db)][_0x56fcab(0x1e0)](_0x2ce77f['ciJXh']));const _0x2ad006=[];helper[_0x56fcab(0x1cb)](_0x54d652)&&_0x2ce77f[_0x56fcab(0x1d8)](_0x54d652,null)&&_0x54d652[_0x56fcab(0x1da)](',')[_0x56fcab(0x1cf)](_0x16efd3=>{const _0x278d56=_0x56fcab;_0x2ad006[_0x278d56(0x1d5)](''+_0x16efd3[_0x278d56(0x1df)]());}),_0x2ce77f[_0x56fcab(0x1de)](_0x2ad006[_0x56fcab(0x1d6)],0x0)&&(_0xe97a97[_0x56fcab(0x1cd)]=_0x2ad006,delete _0xe97a97[_0x56fcab(0x1c9)]);}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a23_0xcc8f(_0x346eff,_0x1f4880){const _0x36bca6=a23_0x36bc();return a23_0xcc8f=function(_0xcc8f50,_0x18d7fd){_0xcc8f50=_0xcc8f50-0x154;let _0x46b1f5=_0x36bca6[_0xcc8f50];return _0x46b1f5;},a23_0xcc8f(_0x346eff,_0x1f4880);}const a23_0x587319=a23_0xcc8f;function a23_0x36bc(){const _0xb6b131=['split',':jest-','join','tYPbU','YYKRW','PNBSk','apply','pNoNl','ASvft','hkQRJ','iPAEE','failed\x20to\x20get\x20root\x20parent\x20file\x20','afterAll','QOtML','hookUUID','reverse','inspect','config','OTTFN','failed','wLLJo','mapTestHooks','[obsReporter]\x20appendTestItemLog:\x20Using\x20testIdentifier\x20from\x20global.__jestCurrentTestIdentifier:\x20','_gitConfigPath','tlfil','addMultipleEntries','includes','cwd','test_run_uuid','hookAnalyticsId','testIdentifier','IhZnV','pending','getAllData','HfXXh','getPackageVersion','YiDVG','NrJNN','NNrGV','retryOf','JfnUT','pid','getHooksForTest','[obsReporter]\x20appendTestItemLog:\x20Attached\x20test_identifier=',',\x20totalLogs:\x20','length','cCbAq',':hookAnalyticsId','hook_data','get','QlOkg','QOMnr','toString','../../../helpers/helper','YwSnU','bs:addLog:','HookRunFinished','FvBPE','@playwright/test','result','errorsDetailed','parent','currentHook','markedStatus','98KMDbvX','statSync','duration','SARPp','testStarted','removeAllListeners','LxxFf','current_test','type','getFileName','wgxHe','AFTER_ALL','1399518SzmLfx','puppeteer-core','DbSQn','276570yeqZnZ','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','generic','gMwtK','uploadEventData','getTestUUID','isCliEnabled','sendTestRunEvent','failure_reason_expanded','ObservabilityReporter','AUCrR','skipped','test','File\x20path\x20could\x20not\x20be\x20found','err','parse','beforeEach','name','4|5|2|3|6|1|0','finished_at','../../utils/constants','../../v2/browserstackCLI','_gitConfigured','jest-circus','hook_run_uuid','TEST_REPORTING_ANALYTICS','[obsReporter]\x20appendTestItemLog:\x20Found\x20active\x20hook\x20from\x20JestTestFramework\x20-\x20hookUUID=','oXHxQ','backtrace','prefixTestPath','WRSsF','Acsyh','appendTestPlatform','qZscT','getTestFramework',',\x20falling\x20back\x20to\x20Jest+Selenium\x20flow','../../v2/framework/constants/testFrameworkConstants','../../v2/state/testFrameworkState','TestRunFinished','getTestEnv','test_run','XaeMO','setTestUUID','../../../helpers/testhub/utils','./test-details','mHOpN','hvxfP','CDRSD','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','sdmBN','mOzxM','BRaaR','Bzcmr','afGhG','wCvPk','2637wYKpem','isJestInternalHook','hook_run','registerListeners','\x20to\x20log','pcndZ','hooks','yKvXA','analyticsResult','POST','getInstance','[obsReporter]\x20appendTestItemLog:\x20Stored\x20log\x20in\x20instance.data[KEY_LOGS]\x20for\x20testIdentifier=','hpbrx','bs:addPlatformDetails:','bind','event_type','PqOju','xKDgf','278800KqiGPA','testAnalyticsId','1816iuhZjA',',\x20logKind=','puppeteer','[obsReporter]\x20appendTestItemLog:\x20Instance\x20not\x20available\x20or\x20addMultipleEntries\x20not\x20available\x20for\x20testIdentifier=','rQJHT','../../../../package.json','XIxaa','BEFORE_ALL','edjor','TUCeF','gHSkr','ymYDU','match','YkTvm','title','uuid','226758CReZar','appendTestItemLog','BHkxm','KiBKH','tXFQf','YRtgH','fLAIQ','tsIgH','afterEach','STATE_FAILED','file','EkBza',',\x20testIdentifier=','\x20with\x20error\x20:\x20','rQfky','2530048fPUEek','1|4|3|0|2','DuwaD','yUmzB','failure_backtrace','yOJMs','JjySG','getName','_testEnv','now','sep','current_hook','GbrzZ','resetTestHooks','UVxuJ','YEbpg','121560cQMkHf','kind','WvNss','passed','../../v2/state/hookState','[obsReporter]\x20appendTestItemLog:\x20Jest+Playwright/Puppeteer\x20CLI\x20flow\x20detected,\x20using\x20in-memory\x20storage',':testAnalyticsId','grytz','dirname','TEST','TestRunSkipped','forEach','relative','../../../helpers/test-observability/utils','started_at','stack-trace','qpDvK','STATE_PASSED','\x22\x20hook\x20for\x20\x22','fFNtX','fVBWR','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','path','jDYTT','LogCreated','root','toISOString','push','_currentRetry','vJtKO','CBTSessionCreated','failure','findGitConfig','asyncError','unknown','KEY_LOGS','beforeAll','JEST','KqPcw','BEFORE_EACH','[obsReporter]\x20appendTestItemLog:\x20Error\x20in\x20Jest+Playwright\x20flow\x20detection:\x20','getRootParentFile','configureGit','exports','call','_testResults','__workerDetails','TestRunStarted','AHNsd','BGDGY','ylMjV','sToHk','_paths','js-','location_prefix','kdOQT','vYNBn'];a23_0x36bc=function(){return _0xb6b131;};return a23_0x36bc();}(function(_0x4c540a,_0x5c8937){const _0x12e9be=a23_0xcc8f,_0x38488=_0x4c540a();while(!![]){try{const _0x4fc24f=-parseInt(_0x12e9be(0x223))/0x1+-parseInt(_0x12e9be(0x1a9))/0x2+-parseInt(_0x12e9be(0x1e0))/0x3*(parseInt(_0x12e9be(0x1f4))/0x4)+-parseInt(_0x12e9be(0x1f2))/0x5+parseInt(_0x12e9be(0x204))/0x6*(parseInt(_0x12e9be(0x19a))/0x7)+parseInt(_0x12e9be(0x213))/0x8+parseInt(_0x12e9be(0x1a6))/0x9;if(_0x4fc24f===_0x5c8937)break;else _0x38488['push'](_0x38488['shift']());}catch(_0x202a38){_0x38488['push'](_0x38488['shift']());}}}(a23_0x36bc,0x45ded));const {isTestObservabilitySession,PathHelper,debug,failureData,getFailureType,isInternalHook}=require(a23_0x587319(0x230)),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{v4:uuidv4}=require(a23_0x587319(0x203)),{name,version}=require(a23_0x587319(0x1f9)),stackTrace=require(a23_0x587319(0x232)),path=require(a23_0x587319(0x239)),fs=require('fs'),TestDetails=require(a23_0x587319(0x1d5)),{FRAMEWORKS}=require('../../utils/constants'),{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler'),{getGitMetaData}=require(a23_0x587319(0x18f)),helper=require('../../../helpers/helper'),{appendTesthubParams,setCurrentTestData}=require(a23_0x587319(0x1d4)),constants=require(a23_0x587319(0x1bd)),BrowserstackCLI=require(a23_0x587319(0x1be)),a23_0x462894={};a23_0x462894[a23_0x587319(0x234)]=a23_0x587319(0x226),a23_0x462894[a23_0x587319(0x20d)]=a23_0x587319(0x16d),a23_0x462894['STATE_PENDING']=a23_0x587319(0x17a);const {STATE_PASSED,STATE_PENDING,STATE_FAILED}=a23_0x462894,a23_0x28416f={};a23_0x28416f[a23_0x587319(0x247)]=a23_0x587319(0x1fb),a23_0x28416f[a23_0x587319(0x166)]=a23_0x587319(0x1a5),a23_0x28416f[a23_0x587319(0x1b9)]=a23_0x587319(0x24a),a23_0x28416f[a23_0x587319(0x20c)]='AFTER_EACH';const HOOK_TYPES_MAP=a23_0x28416f;module[a23_0x587319(0x24e)]=o11yClassErrorHandler(class ObservabilityReporter{constructor(){const _0x1363f5=a23_0x587319,_0x2e7615={'PNBSk':_0x1363f5(0x1bb),'vYNBn':function(_0x16e6e8){return _0x16e6e8();}},_0x75edb=_0x2e7615[_0x1363f5(0x15f)]['split']('|');let _0x2652b1=0x0;while(!![]){switch(_0x75edb[_0x2652b1++]){case'0':this['_gitConfigPath']=null;continue;case'1':this[_0x1363f5(0x1bf)]=![];continue;case'2':this[_0x1363f5(0x21b)]=this[_0x1363f5(0x1d0)]();continue;case'3':this['_paths']=new PathHelper({'cwd':process[_0x1363f5(0x175)]()},this[_0x1363f5(0x21b)][_0x1363f5(0x157)]);continue;case'4':this['testObservability']=_0x2e7615[_0x1363f5(0x159)](isTestObservabilitySession);continue;case'5':this[_0x1363f5(0x250)]=[];continue;case'6':this[_0x1363f5(0x18a)]=[];continue;}break;}}['getTestEnv']=()=>{const _0x18a34a=a23_0x587319,_0x2edbed={'qZscT':_0x18a34a(0x1ab),'mOzxM':function(_0x5d4f96){return _0x5d4f96();}};return{'ci':_0x2edbed[_0x18a34a(0x1ca)],'key':_0x2edbed[_0x18a34a(0x1db)](uuidv4),'version':version,'collector':_0x18a34a(0x156)+name};};['registerListeners'](){const _0x464dec=a23_0x587319;process[_0x464dec(0x19f)](_0x464dec(0x191)+process['pid']),process['on'](_0x464dec(0x191)+process[_0x464dec(0x183)],this[_0x464dec(0x205)][_0x464dec(0x1ee)](this)),process[_0x464dec(0x19f)](_0x464dec(0x1ed)+process['pid']),process['on'](_0x464dec(0x1ed)+process['pid'],this[_0x464dec(0x1c9)][_0x464dec(0x1ee)](this));}[a23_0x587319(0x19e)]=async _0x14aef0=>{const _0x558751=a23_0x587319,_0x1033ec={'BUvcz':function(_0x53fd06,_0x20d867){return _0x53fd06>_0x20d867;},'BGDGY':function(_0x53cf12,_0x1919a6){return _0x53cf12===_0x1919a6;},'Bzcmr':_0x558751(0x252),'QUGMl':function(_0x558cdb,_0x45137a){return _0x558cdb(_0x45137a);}};try{const _0x4f1102=this[_0x558751(0x1a1)];this[_0x558751(0x1a1)]=_0x14aef0,_0x14aef0[_0x558751(0x181)]=null,_0x14aef0[_0x558751(0x1f3)]=TestDetails['setTestUUID'](process[_0x558751(0x183)]+_0x558751(0x229)),_0x14aef0[_0x558751(0x231)]=new Date()['toISOString'](),_0x1033ec['BUvcz'](_0x14aef0[_0x558751(0x23f)],0x0)&&_0x4f1102&&_0x1033ec[_0x558751(0x254)](_0x4f1102[_0x558751(0x202)],_0x14aef0['title'])?(_0x14aef0[_0x558751(0x181)]=_0x4f1102[_0x558751(0x1f3)],await this[_0x558751(0x1b0)](_0x14aef0,undefined,![],_0x1033ec[_0x558751(0x1dd)]),_0x4f1102['state']=STATE_FAILED,await this['sendTestRunEvent'](_0x4f1102,undefined,!![])):await this[_0x558751(0x1b0)](_0x14aef0,undefined,![],_0x1033ec[_0x558751(0x1dd)]);}catch(_0x4e4c90){_0x1033ec['QUGMl'](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20'+_0x4e4c90);}};[a23_0x587319(0x21a)](_0x349f26){const _0x146e51=a23_0x587319,_0x29f386={};_0x29f386[_0x146e51(0x1f8)]=function(_0x4d237f,_0x5d81a8){return _0x4d237f!==_0x5d81a8;},_0x29f386[_0x146e51(0x233)]='test';const _0x2bb069=_0x29f386;if(_0x2bb069[_0x146e51(0x1f8)](_0x349f26[_0x146e51(0x1a2)],_0x2bb069[_0x146e51(0x233)]))return'\x22'+_0x349f26[_0x146e51(0x1a2)]+_0x146e51(0x235)+(_0x349f26[_0x146e51(0x197)]&&_0x349f26[_0x146e51(0x197)][_0x146e51(0x1ba)])+'\x22';return _0x349f26[_0x146e51(0x1ba)];}['sendTestRunEvent']=async(_0x232bb0,_0x19a000=undefined,_0x2ba9f0=![],_0xdca7a7=a23_0x587319(0x1cf))=>{const _0x5dfe37=a23_0x587319,_0x1dc326={'OTTFN':_0x5dfe37(0x214),'hvxfP':_0x5dfe37(0x1e2),'CDRSD':'failure_reason','gHSkr':'test_run','pNoNl':_0x5dfe37(0x242),'afGhG':_0x5dfe37(0x195),'mujQg':'failure_type','IhZnV':function(_0x4a0252,_0x462aa3){return _0x4a0252(_0x462aa3);},'KqPcw':'jest-circus','cCbAq':function(_0x27cdd0,_0x45900d){return _0x27cdd0(_0x45900d);},'iPAEE':'util','YRtgH':function(_0x38a794,_0x5e8384){return _0x38a794!==_0x5e8384;},'XIxaa':_0x5dfe37(0x1b5),'sdmBN':function(_0x2dae06,_0x1aa414){return _0x2dae06!==_0x1aa414;},'pcndZ':_0x5dfe37(0x1b7),'grytz':function(_0x28e81c,_0x486f73){return _0x28e81c!==_0x486f73;},'PqOju':function(_0x442426,_0x34d334){return _0x442426!==_0x34d334;},'TMdQU':_0x5dfe37(0x1b6),'DbSQn':'javascript','fFNtX':function(_0x1d208a,_0x38c87f){return _0x1d208a===_0x38c87f;},'YwSnU':_0x5dfe37(0x22d),'NrJNN':_0x5dfe37(0x1b4),'BRaaR':function(_0x1d8254,_0x3231d9){return _0x1d8254>_0x3231d9;},'edjor':_0x5dfe37(0x16d),'WRSsF':'passed','LxxFf':function(_0x1a7b9b,_0x1b1c1d){return _0x1a7b9b-_0x1b1c1d;},'xKDgf':function(_0x60c816,_0x27f06d,_0xf95ccf,_0x46d10f,_0x392799){return _0x60c816(_0x27f06d,_0xf95ccf,_0x46d10f,_0x392799);},'tXFQf':function(_0x2b8303,_0x2ac8ed){return _0x2b8303===_0x2ac8ed;},'GbrzZ':'started_at','QOMnr':_0x5dfe37(0x1bc),'YkTvm':function(_0x3ab287,_0x589508){return _0x3ab287===_0x589508;},'rQfky':_0x5dfe37(0x192),'mHOpN':_0x5dfe37(0x217),'yKvXA':_0x5dfe37(0x1c5),'ASvft':_0x5dfe37(0x1b1),'wCvPk':'expanded','hkQRJ':_0x5dfe37(0x1cf),'EkBza':function(_0x29a881,_0x50d6c3){return _0x29a881===_0x50d6c3;},'QlOkg':'hook_type','HfXXh':_0x5dfe37(0x247),'JfnUT':function(_0x1a137d,_0xc2a0a3,_0x826abd){return _0x1a137d(_0xc2a0a3,_0x826abd);},'ylMjV':function(_0x224e75,_0x492d9f){return _0x224e75(_0x492d9f);}};try{if(_0x232bb0['fn']&&_0x232bb0['fn'][_0x5dfe37(0x18e)]()['match'](/browserstack internal helper hook/))return;await this['configureGit']();let _0x289a49;try{_0x289a49=this[_0x5dfe37(0x24c)](_0x232bb0);}catch(_0x331e7e){_0x1dc326[_0x5dfe37(0x179)](debug,_0x5dfe37(0x165)+_0x331e7e),_0x289a49=null;}if(_0x289a49[_0x5dfe37(0x174)](_0x1dc326[_0x5dfe37(0x249)]))return;const _0x1e4b58=_0x1dc326[_0x5dfe37(0x188)](require,_0x1dc326[_0x5dfe37(0x164)]);let _0x578633=[];if(_0x1dc326[_0x5dfe37(0x209)](_0x232bb0[_0x5dfe37(0x196)],undefined))_0x578633=[_0x232bb0[_0x5dfe37(0x196)],_0x1dc326[_0x5dfe37(0x1fa)]];else _0x1dc326[_0x5dfe37(0x1da)](_0x19a000,undefined)?_0x578633=[_0x19a000,_0x1dc326[_0x5dfe37(0x1e5)]]:_0x578633=[];const _0x407a0d=_0x1dc326[_0x5dfe37(0x22a)](_0x232bb0[_0x5dfe37(0x196)],undefined)?_0x1e4b58[_0x5dfe37(0x16a)](_0x232bb0[_0x5dfe37(0x196)][0x0]):_0x1dc326[_0x5dfe37(0x1f0)](_0x19a000,undefined)?_0x19a000[_0x5dfe37(0x18e)]():undefined,_0x490cbd=_0x289a49?this[_0x5dfe37(0x155)][_0x5dfe37(0x1c6)](this[_0x5dfe37(0x24c)](_0x232bb0)):_0x1dc326['TMdQU'],_0x1bd38b={'framework':FRAMEWORKS['JEST'],'uuid':_0x232bb0[_0x5dfe37(0x1f3)]||_0x232bb0[_0x5dfe37(0x177)],'name':this['getName'](_0x232bb0),'body':{'lang':_0x1dc326[_0x5dfe37(0x1a8)],'code':_0x232bb0['fn'][_0x5dfe37(0x18e)]()},'scopes':this['getHierarchy'](_0x232bb0),'file_name':_0x490cbd,'vc_filepath':this[_0x5dfe37(0x171)]&&_0x289a49?path[_0x5dfe37(0x22f)](this[_0x5dfe37(0x171)],_0x289a49):null,'location':_0x490cbd,'result':_0x1dc326[_0x5dfe37(0x236)](_0xdca7a7,_0x1dc326['YwSnU'])?_0x1dc326[_0x5dfe37(0x17f)]:this['analyticsResult'](_0x232bb0[_0x5dfe37(0x196)]&&_0x1dc326['BRaaR'](_0x232bb0[_0x5dfe37(0x196)][_0x5dfe37(0x187)],0x0)?_0x1dc326[_0x5dfe37(0x1fc)]:_0x1dc326[_0x5dfe37(0x1c7)]),'failure_reason':_0x407a0d,'duration_in_ms':_0x232bb0[_0x5dfe37(0x19c)]||(_0xdca7a7[_0x5dfe37(0x200)](/Finished/)||_0xdca7a7['match'](/Skipped/)?_0x1dc326[_0x5dfe37(0x1a0)](Date[_0x5dfe37(0x21c)](),new Date(_0x232bb0['started_at'])['getTime']()):null),'started_at':_0x232bb0[_0x5dfe37(0x231)],'finished_at':_0xdca7a7[_0x5dfe37(0x200)](/Finished/)||_0xdca7a7[_0x5dfe37(0x200)](/Skipped/)?new Date()[_0x5dfe37(0x23d)]():null,'failure':failureData[_0x5dfe37(0x160)](null,_0x578633),'failure_type':!_0x407a0d?null:_0x1dc326[_0x5dfe37(0x188)](getFailureType,_0x407a0d),'retry_of':_0x232bb0[_0x5dfe37(0x181)]};_0x1dc326[_0x5dfe37(0x1f1)](appendTesthubParams,_0x1bd38b,_0xdca7a7,_0x232bb0,FRAMEWORKS[_0x5dfe37(0x248)]);_0x1dc326[_0x5dfe37(0x208)](_0xdca7a7,_0x1dc326['YwSnU'])&&!_0x1bd38b[_0x1dc326[_0x5dfe37(0x21f)]]&&(_0x1bd38b[_0x1dc326[_0x5dfe37(0x21f)]]=_0x1bd38b[_0x1dc326[_0x5dfe37(0x18d)]]);if(_0xdca7a7[_0x5dfe37(0x200)](/HookRun/))[_0x1bd38b['hook_type'],_0x1bd38b[_0x5dfe37(0x1ba)]]=[_0x232bb0[_0x5dfe37(0x1a2)],this['getName'](_0x232bb0)],_0x1dc326[_0x5dfe37(0x201)](_0xdca7a7,_0x1dc326[_0x5dfe37(0x212)])&&(_0x1dc326[_0x5dfe37(0x1da)](_0x1bd38b[_0x5dfe37(0x195)],_0x1dc326[_0x5dfe37(0x1fc)])&&(_0x1bd38b[_0x5dfe37(0x195)]=_0x1dc326[_0x5dfe37(0x1c7)]));else _0xdca7a7[_0x5dfe37(0x200)](/TestRun/)&&this['mapTestHooks'](_0x232bb0);const _0x30e5c6=_0x1bd38b[_0x1dc326[_0x5dfe37(0x161)]][0x0];_0x30e5c6&&(_0x1bd38b[_0x1dc326[_0x5dfe37(0x1d6)]]=_0x30e5c6[_0x1dc326[_0x5dfe37(0x1e7)]],_0x1bd38b[_0x1dc326[_0x5dfe37(0x162)]]=_0x30e5c6[_0x1dc326[_0x5dfe37(0x1df)]]);[_0x1dc326[_0x5dfe37(0x163)],_0x1dc326[_0x5dfe37(0x190)]][_0x5dfe37(0x174)](_0xdca7a7)&&(this[_0x5dfe37(0x250)]['push'](_0x1bd38b),_0x1bd38b['hooks']=this['getHooksForTest'](_0x232bb0),this[_0x5dfe37(0x220)](_0x232bb0));const _0x5921ea={'event_type':_0x1dc326[_0x5dfe37(0x20f)](_0xdca7a7,_0x1dc326[_0x5dfe37(0x190)])?_0x1dc326[_0x5dfe37(0x163)]:_0xdca7a7};_0xdca7a7['match'](/HookRun/)?(_0x1bd38b[_0x1dc326[_0x5dfe37(0x18c)]]=HOOK_TYPES_MAP[_0x1bd38b[_0x1dc326['QlOkg']]],_0x5921ea[_0x1dc326[_0x5dfe37(0x1d7)]]=_0x1bd38b):_0x5921ea[_0x1dc326[_0x5dfe37(0x1fe)]]=_0x1bd38b;_0x1dc326[_0x5dfe37(0x1dc)](this[_0x5dfe37(0x18a)][_0x5dfe37(0x187)],0x0)&&[_0x1dc326[_0x5dfe37(0x163)],_0x1dc326[_0x5dfe37(0x190)]][_0x5dfe37(0x174)](_0xdca7a7)&&(this[_0x5dfe37(0x18a)][_0x5dfe37(0x22e)](async _0x442a85=>{const _0x4b6321=_0x5dfe37,_0x10b598=_0x1dc326[_0x4b6321(0x16c)][_0x4b6321(0x15a)]('|');let _0x3fad18=0x0;while(!![]){switch(_0x10b598[_0x3fad18++]){case'0':_0x442a85[_0x1dc326[_0x4b6321(0x1d7)]][_0x1dc326['CDRSD']]=_0x5921ea[_0x1dc326[_0x4b6321(0x1fe)]][_0x1dc326[_0x4b6321(0x1d8)]];continue;case'1':_0x442a85[_0x1dc326[_0x4b6321(0x1d7)]][_0x1dc326[_0x4b6321(0x161)]]=_0x5921ea[_0x1dc326[_0x4b6321(0x1fe)]][_0x1dc326[_0x4b6321(0x161)]];continue;case'2':await SessionHandler[_0x4b6321(0x1ad)](_0x442a85);continue;case'3':_0x442a85[_0x1dc326[_0x4b6321(0x1d7)]][_0x1dc326[_0x4b6321(0x1de)]]=_0x5921ea[_0x1dc326[_0x4b6321(0x1fe)]][_0x1dc326[_0x4b6321(0x1de)]];continue;case'4':_0x442a85[_0x1dc326[_0x4b6321(0x1d7)]][_0x1dc326['mujQg']]=_0x5921ea[_0x1dc326[_0x4b6321(0x1fe)]][_0x1dc326['mujQg']];continue;}break;}}),this[_0x5dfe37(0x18a)]=[]);if(_0x1dc326['tXFQf'](this['hook_failure'],_0x232bb0[_0x5dfe37(0x1a2)])){this[_0x5dfe37(0x18a)][_0x5dfe37(0x23e)](_0x5921ea);return;}_0x1dc326[_0x5dfe37(0x236)](this['hook_failure'],_0x1dc326[_0x5dfe37(0x17c)])&&_0x5921ea[_0x1dc326['gHSkr']]&&(_0x5921ea[_0x1dc326['gHSkr']][_0x1dc326[_0x5dfe37(0x1de)]]=_0x1dc326[_0x5dfe37(0x17f)],_0x5921ea[_0x1dc326[_0x5dfe37(0x1fe)]][_0x1dc326[_0x5dfe37(0x161)]]=null,_0x5921ea[_0x1dc326['gHSkr']][_0x1dc326['mujQg']]=null),_0x1dc326[_0x5dfe37(0x182)](setCurrentTestData,FRAMEWORKS[_0x5dfe37(0x248)],_0x5921ea),await SessionHandler[_0x5dfe37(0x1ad)](_0x5921ea);}catch(_0x562fed){_0x1dc326[_0x5dfe37(0x255)](debug,_0x5dfe37(0x1aa)+_0xdca7a7+'\x20with\x20error\x20:\x20'+_0x562fed);}};[a23_0x587319(0x243)](_0x127573){const _0x226339=a23_0x587319,_0x64e916={};_0x64e916[_0x226339(0x237)]=function(_0x3cbe02,_0x5507de){return _0x3cbe02==_0x5507de;},_0x64e916[_0x226339(0x219)]=function(_0x1ab701,_0x57d519){return _0x1ab701===_0x57d519;},_0x64e916[_0x226339(0x193)]=function(_0x3d8a7f,_0x2f6cac){return _0x3d8a7f===_0x2f6cac;},_0x64e916[_0x226339(0x1fd)]='.git',_0x64e916[_0x226339(0x206)]=_0x226339(0x16b);const _0x279f21=_0x64e916,_0x6213c2=path[_0x226339(0x21d)];if(_0x279f21[_0x226339(0x237)](_0x127573,null)||_0x279f21[_0x226339(0x219)](_0x127573,'')||_0x279f21[_0x226339(0x193)](_0x127573,_0x6213c2)||_0x279f21[_0x226339(0x219)](_0x127573,path['dirname'](_0x127573)))return null;try{return fs[_0x226339(0x19b)](path[_0x226339(0x15c)](_0x127573,_0x279f21['TUCeF'],_0x279f21[_0x226339(0x206)])),_0x127573;}catch(_0x1f4e25){const _0x36d992=path[_0x226339(0x22b)](_0x127573);return this[_0x226339(0x243)](_0x36d992);}}[a23_0x587319(0x205)]=async _0x6af6cf=>{const _0x1eec57=a23_0x587319,_0x421f0d={'qonbp':_0x1eec57(0x194),'orVWM':_0x1eec57(0x1a7),'YiDVG':_0x1eec57(0x1f6),'tlfil':function(_0x5a07ab,_0x1e52d2){return _0x5a07ab||_0x1e52d2;},'YYKRW':function(_0x409e1d,_0x19b333){return _0x409e1d(_0x19b333);},'hvkXJ':_0x1eec57(0x228),'AUCrR':function(_0x282807,_0x1e7c92){return _0x282807(_0x1e7c92);},'fLAIQ':function(_0x161bd5,_0x54e73a){return _0x161bd5&&_0x54e73a;},'OEDeh':_0x1eec57(0x15b),'ymYDU':function(_0x4ce8c9,_0x345dd4){return _0x4ce8c9(_0x345dd4);},'WvNss':_0x1eec57(0x1ce),'fEpRa':function(_0x5c2c5f,_0x12392a){return _0x5c2c5f(_0x12392a);},'YEbpg':_0x1eec57(0x227),'vJtKO':function(_0xb26507,_0x426a3b){return _0xb26507(_0x426a3b);},'cCCKN':_0x1eec57(0x1cd),'AHNsd':function(_0x96d136,_0x5c8a7d){return _0x96d136===_0x5c8a7d;},'wLLJo':'function','kdOQT':_0x1eec57(0x245),'sToHk':function(_0xb703a7,_0x4f02c8){return _0xb703a7(_0x4f02c8);},'yOJMs':function(_0xe492f4,_0x49445e){return _0xe492f4(_0x49445e);},'wgxHe':_0x1eec57(0x23b)};try{const _0x4c595f=helper[_0x1eec57(0x17d)](_0x421f0d['qonbp']),_0x202639=!!_0x4c595f,_0xb883a6=helper['getPackageVersion'](_0x421f0d['orVWM'])||helper[_0x1eec57(0x17d)](_0x421f0d[_0x1eec57(0x17e)]),_0x1b07a9=!!_0xb883a6,_0x34b9fa=BrowserstackCLI[_0x1eec57(0x1ea)]()[_0x1eec57(0x1af)]()&&BrowserstackCLI[_0x1eec57(0x1ea)]()['isRunning']();if(_0x421f0d[_0x1eec57(0x172)](_0x202639,_0x1b07a9)&&_0x34b9fa){_0x421f0d[_0x1eec57(0x15e)](debug,_0x421f0d['hvkXJ']);let _0x30ce32=null,_0x51e760=null;if(global[_0x1eec57(0x251)]&&global[_0x1eec57(0x251)][_0x1eec57(0x198)]){const _0x558f28=global['__workerDetails'][_0x1eec57(0x198)];_0x51e760=_0x558f28['hookUUID'],_0x30ce32=_0x558f28[_0x1eec57(0x178)],_0x421f0d[_0x1eec57(0x15e)](debug,'[obsReporter]\x20appendTestItemLog:\x20Found\x20active\x20hook\x20-\x20hookUUID='+_0x51e760+',\x20testIdentifier='+_0x30ce32);}!_0x30ce32&&(_0x30ce32=global['__jestCurrentTestIdentifier'],_0x421f0d['AUCrR'](debug,_0x1eec57(0x170)+_0x30ce32));if(_0x421f0d[_0x1eec57(0x20a)](!_0x51e760,_0x30ce32)){const _0xc242a3=BrowserstackCLI[_0x1eec57(0x1ea)]()[_0x1eec57(0x1cb)]();if(_0xc242a3&&_0xc242a3['getActiveHook']){const _0xe8bea7=_0xc242a3['getActiveHook'](_0x30ce32);_0xe8bea7&&_0xe8bea7['hookUUID']&&(_0x51e760=_0xe8bea7[_0x1eec57(0x168)],_0x421f0d[_0x1eec57(0x1b3)](debug,_0x1eec57(0x1c3)+_0x51e760+_0x1eec57(0x210)+_0x30ce32));}}if(!_0x30ce32||!_0x30ce32[_0x1eec57(0x174)](_0x421f0d['OEDeh']))_0x421f0d['AUCrR'](debug,'[obsReporter]\x20appendTestItemLog:\x20Invalid\x20or\x20missing\x20testIdentifier\x20format:\x20'+_0x30ce32+_0x1eec57(0x1cc));else{_0x51e760&&(_0x6af6cf['hook_run_uuid']=_0x51e760,_0x421f0d[_0x1eec57(0x1b3)](debug,'[obsReporter]\x20appendTestItemLog:\x20Attached\x20hook_run_uuid='+_0x51e760+_0x1eec57(0x1e4)));_0x6af6cf['test_identifier']=_0x30ce32,_0x421f0d[_0x1eec57(0x1b3)](debug,_0x1eec57(0x185)+_0x30ce32+_0x1eec57(0x1e4));const _0x3a3377=BrowserstackCLI[_0x1eec57(0x1ea)]()[_0x1eec57(0x1cb)]();if(_0x3a3377){const _0x5b4259=_0x421f0d[_0x1eec57(0x1ff)](require,_0x421f0d[_0x1eec57(0x225)]),_0x4af036=_0x421f0d['fEpRa'](require,_0x421f0d[_0x1eec57(0x222)]),_0x186f85=_0x421f0d[_0x1eec57(0x240)](require,_0x421f0d['cCCKN']),_0x5171e5=_0x3a3377['resolveInstance'](_0x5b4259[_0x1eec57(0x22c)],_0x4af036[_0x1eec57(0x1e9)]);if(_0x5171e5&&_0x421f0d[_0x1eec57(0x253)](typeof _0x5171e5[_0x1eec57(0x173)],_0x421f0d[_0x1eec57(0x16e)])){const _0x4bf3af=_0x5171e5[_0x1eec57(0x17b)]()[_0x1eec57(0x18b)](_0x30ce32)||{},_0x299794=_0x4bf3af[_0x186f85[_0x1eec57(0x246)]]||[],_0x4ae53a=[..._0x299794,_0x6af6cf],_0x584010={[_0x186f85[_0x1eec57(0x246)]]:_0x4ae53a},_0x1954ef={};_0x1954ef[_0x30ce32]=_0x584010,_0x5171e5['addMultipleEntries'](_0x1954ef),_0x421f0d['vJtKO'](debug,_0x1eec57(0x1eb)+_0x30ce32+_0x1eec57(0x1f5)+(_0x6af6cf[_0x1eec57(0x224)]||_0x421f0d[_0x1eec57(0x158)])+_0x1eec57(0x186)+_0x4ae53a[_0x1eec57(0x187)]);return;}_0x421f0d[_0x1eec57(0x154)](debug,_0x1eec57(0x1f7)+_0x30ce32+_0x1eec57(0x1cc));}}}}catch(_0x1bf67d){_0x421f0d[_0x1eec57(0x218)](debug,_0x1eec57(0x24b)+_0x1bf67d+_0x1eec57(0x1cc));}const _0x3a0c83=TestDetails[_0x1eec57(0x1ae)](process[_0x1eec57(0x183)]+_0x1eec57(0x189)),_0x352bd0=TestDetails['getTestUUID'](process[_0x1eec57(0x183)]+_0x1eec57(0x229));try{(_0x3a0c83||this[_0x1eec57(0x21e)]&&!this[_0x1eec57(0x21e)][_0x1eec57(0x199)])&&(_0x6af6cf[_0x1eec57(0x1c1)]=_0x3a0c83);!_0x6af6cf[_0x1eec57(0x1c1)]&&_0x352bd0&&(_0x6af6cf[_0x1eec57(0x176)]=_0x352bd0);if(_0x6af6cf[_0x1eec57(0x1c1)]||_0x6af6cf[_0x1eec57(0x176)]){const _0x3cec74={};_0x3cec74[_0x1eec57(0x1ef)]=_0x421f0d[_0x1eec57(0x1a4)],_0x3cec74['logs']=[_0x6af6cf],await SessionHandler[_0x1eec57(0x1ad)](_0x3cec74);}}catch(_0x48c685){_0x421f0d['AUCrR'](debug,_0x1eec57(0x238)+constants[_0x1eec57(0x1c2)]+'\x20with\x20error\x20:\x20'+_0x48c685);}};[a23_0x587319(0x1c9)]=async _0x1a429a=>{const _0x27fd4c=a23_0x587319,_0x21492c={'QOtML':'http_response','KiBKH':_0x27fd4c(0x241),'SARPp':function(_0x497ba0,_0x4924b7){return _0x497ba0(_0x4924b7);}};try{const _0x142678={'uuid':_0x1a429a[_0x27fd4c(0x203)]||TestDetails['getTestUUID'](process['pid']+_0x27fd4c(0x229)),'integrations':_0x1a429a[_0x21492c[_0x27fd4c(0x167)]]},_0x1205a0={};_0x1205a0[_0x27fd4c(0x1ef)]=_0x21492c[_0x27fd4c(0x207)],_0x1205a0[_0x27fd4c(0x1d1)]=_0x142678,await SessionHandler[_0x27fd4c(0x1ad)](_0x1205a0);}catch(_0x40f9ee){_0x21492c[_0x27fd4c(0x19d)](debug,_0x27fd4c(0x1d9)+constants[_0x27fd4c(0x1c2)]+_0x27fd4c(0x211)+_0x40f9ee);}};async[a23_0x587319(0x24d)](){const _0x502999=a23_0x587319,_0x22053b={'mwuiV':function(_0x4de342){return _0x4de342();}};if(this[_0x502999(0x1bf)])return this[_0x502999(0x171)];const _0x125b4e=await _0x22053b['mwuiV'](getGitMetaData);_0x125b4e&&(this['_gitConfigPath']=_0x125b4e[_0x502999(0x23c)]),this['_gitConfigured']=!![];}['analyticsResult'](_0x2dcfcb){const _0x1fd28f=a23_0x587319,_0x1bf7e5={};_0x1bf7e5['tYPbU']='passed',_0x1bf7e5[_0x1fd28f(0x1ac)]=_0x1fd28f(0x17a),_0x1bf7e5[_0x1fd28f(0x23a)]=_0x1fd28f(0x16d);const _0x235348=_0x1bf7e5,_0x462fb6={};return _0x462fb6[STATE_PASSED]=_0x235348[_0x1fd28f(0x15d)],_0x462fb6[STATE_PENDING]=_0x235348[_0x1fd28f(0x1ac)],_0x462fb6[STATE_FAILED]=_0x235348[_0x1fd28f(0x23a)],_0x462fb6[_0x2dcfcb];}['getHierarchy'](_0x49abd8){const _0x561001=a23_0x587319,_0x164457={};_0x164457[_0x561001(0x1ec)]=function(_0x534d65,_0x95946){return _0x534d65!==_0x95946;},_0x164457['yUmzB']=function(_0x10fabc,_0x57ea47){return _0x10fabc!==_0x57ea47;},_0x164457[_0x561001(0x221)]='ROOT_DESCRIBE_BLOCK';const _0x5b1906=_0x164457,_0x4376be=[];if(_0x49abd8&&_0x49abd8[_0x561001(0x197)]){let _0x1fbc6a=_0x49abd8[_0x561001(0x197)];while(_0x1fbc6a&&_0x5b1906[_0x561001(0x1ec)](_0x1fbc6a['name'],'')&&_0x5b1906[_0x561001(0x216)](_0x1fbc6a[_0x561001(0x1ba)],_0x5b1906[_0x561001(0x221)])){_0x4376be[_0x561001(0x23e)](_0x1fbc6a[_0x561001(0x1ba)]),_0x1fbc6a=_0x1fbc6a[_0x561001(0x197)];}}return _0x4376be[_0x561001(0x169)](),_0x4376be;}['getRootParentFile']=_0x5cfafe=>{const _0x36412f=a23_0x587319;if(_0x5cfafe[_0x36412f(0x244)]){const _0x201915=stackTrace[_0x36412f(0x1b8)][_0x36412f(0x24f)](stackTrace,_0x5cfafe[_0x36412f(0x244)]);return _0x201915[0x0][_0x36412f(0x1a3)]();}if(_0x5cfafe['file'])return _0x5cfafe[_0x36412f(0x20e)];return null;};[a23_0x587319(0x16f)]=_0x35e520=>{const _0xbb1ee8=a23_0x587319;if(!_0x35e520||!_0x35e520[_0xbb1ee8(0x197)])return;_0x35e520[_0xbb1ee8(0x197)][_0xbb1ee8(0x1e6)]['forEach'](_0x24fbf6=>{const _0x5d8449=_0xbb1ee8;!_0x24fbf6[_0x5d8449(0x177)]&&(_0x24fbf6[_0x5d8449(0x177)]=TestDetails[_0x5d8449(0x1d3)](process[_0x5d8449(0x183)]+_0x5d8449(0x189)));}),this[_0xbb1ee8(0x16f)](_0x35e520[_0xbb1ee8(0x197)]);};[a23_0x587319(0x220)]=_0x483f77=>{const _0x1a3154=a23_0x587319,_0x8df07b={};_0x8df07b[_0x1a3154(0x1d2)]='beforeEach',_0x8df07b['NNrGV']=_0x1a3154(0x20c);const _0x43bda6=_0x8df07b;if(!_0x483f77||!_0x483f77[_0x1a3154(0x197)])return;_0x483f77['parent'][_0x1a3154(0x1e6)]['forEach'](_0x30c9c7=>{const _0x49c78a=_0x1a3154;[_0x43bda6['XaeMO'],_0x43bda6[_0x49c78a(0x180)]][_0x49c78a(0x174)](_0x30c9c7[_0x49c78a(0x1a2)])&&_0x30c9c7[_0x49c78a(0x177)]&&(_0x30c9c7[_0x49c78a(0x177)]=null);}),this[_0x1a3154(0x16f)](_0x483f77[_0x1a3154(0x197)]);};[a23_0x587319(0x1e1)](_0x555115){const _0x4606d7=a23_0x587319,_0x52d082={'Acsyh':_0x4606d7(0x1c0),'cUKgZ':function(_0xff0044,_0x509e38){return _0xff0044(_0x509e38);},'oXHxQ':function(_0x46da32,_0x18e2c5){return _0x46da32+_0x18e2c5;},'DuwaD':'Exception\x20in\x20getting\x20file\x20for\x20hook\x20'};try{const _0x252743=this[_0x4606d7(0x24c)](_0x555115);return _0x252743[_0x4606d7(0x174)](_0x52d082[_0x4606d7(0x1c8)]);}catch(_0x528fe2){_0x52d082['cUKgZ'](debug,_0x52d082[_0x4606d7(0x1c4)](_0x52d082[_0x4606d7(0x215)],_0x528fe2));}return![];}[a23_0x587319(0x184)]=_0xb8df3=>{const _0x5c17c4=a23_0x587319,_0x250a30={'tsIgH':function(_0x37100e,_0x1520e3){return _0x37100e(_0x1520e3);}};if(!_0xb8df3||!_0xb8df3['parent'])return[];const _0x2d3307=[];return _0xb8df3[_0x5c17c4(0x197)][_0x5c17c4(0x1e6)][_0x5c17c4(0x22e)](_0x28bab4=>{const _0x431de3=_0x5c17c4;_0x28bab4[_0x431de3(0x177)]&&!_0x250a30[_0x431de3(0x20b)](isInternalHook,_0x28bab4['fn'])&&!this['isJestInternalHook'](_0x28bab4)&&_0x2d3307[_0x431de3(0x23e)](_0x28bab4[_0x431de3(0x177)]);}),[..._0x2d3307,...this[_0x5c17c4(0x184)](_0xb8df3[_0x5c17c4(0x197)])];};},[a23_0x587319(0x1d0),a23_0x587319(0x1e3),a23_0x587319(0x19e),'getName',a23_0x587319(0x1b0),a23_0x587319(0x243),a23_0x587319(0x205),'appendTestPlatform',a23_0x587319(0x1e8),'getHierarchy',a23_0x587319(0x24c),a23_0x587319(0x16f),a23_0x587319(0x220),a23_0x587319(0x184),a23_0x587319(0x24d)],a23_0x587319(0x1b2));
|
|
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 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a24_0x2bc2bc=a24_0x5c16;function a24_0x5c16(_0x1c2907,_0x286bab){const _0x50979a=a24_0x5097();return a24_0x5c16=function(_0x5c16d8,_0x2186fa){_0x5c16d8=_0x5c16d8-0x73;let _0x570e35=_0x50979a[_0x5c16d8];return _0x570e35;},a24_0x5c16(_0x1c2907,_0x286bab);}function a24_0x5097(){const _0x5c6ef2=['mkdirSync','jest-o11y-','lGuEt','5726UgywUo','existsSync','stringify','7947738aezByV','.browserstack','tests','recursive','ENV_VAR','dirPath','fHQOB','parse','getTestUUID','exports','EFUxf','force','toString','unlinkSync','readFileSync','30780420WWZXbN','1050sldZlT','rTPIw','FAgHv','retry','rmSync','5192uzMDJS','getTestData','zjLFL','2317538Hwmbyb','writeFileSync','shutdown','_test','dkOar','BROWSERSTACK_TESTHUB_UUID','join','setTestUUID','getTestRunIdFromTestInfo','env','uuid','../../../helpers/helper','testData.json','1ooraQo','getFilePath','968zxsXai','homedir','21447wJFkzc','742310WDONeu','15585IxMzeR','removeTestUUID','setup','EfrsZ','../../../helpers/testhub/constants'];a24_0x5097=function(){return _0x5c6ef2;};return a24_0x5097();}(function(_0x18a339,_0x443156){const _0x5adfb1=a24_0x5c16,_0x252d54=_0x18a339();while(!![]){try{const _0x559058=parseInt(_0x5adfb1(0x7f))/0x1*(-parseInt(_0x5adfb1(0xa8))/0x2)+-parseInt(_0x5adfb1(0x85))/0x3*(parseInt(_0x5adfb1(0x81))/0x4)+-parseInt(_0x5adfb1(0x84))/0x5+parseInt(_0x5adfb1(0x90))/0x6+-parseInt(_0x5adfb1(0x8d))/0x7*(parseInt(_0x5adfb1(0xa5))/0x8)+parseInt(_0x5adfb1(0x83))/0x9*(-parseInt(_0x5adfb1(0xa0))/0xa)+parseInt(_0x5adfb1(0x9f))/0xb;if(_0x559058===_0x443156)break;else _0x252d54['push'](_0x252d54['shift']());}catch(_0x5005e6){_0x252d54['push'](_0x252d54['shift']());}}}(a24_0x5097,0xbdc6d));const fs=require('fs'),path=require('path'),{v4:uuidv4}=require(a24_0x2bc2bc(0x7c)),helper=require(a24_0x2bc2bc(0x7d)),testHubConstants=require(a24_0x2bc2bc(0x89));class TestDetails{static [a24_0x2bc2bc(0x92)]={};static ['dirPath']=path[a24_0x2bc2bc(0x78)](helper[a24_0x2bc2bc(0x82)](),a24_0x2bc2bc(0x91),'jest-o11y-'+process[a24_0x2bc2bc(0x7b)][testHubConstants[a24_0x2bc2bc(0x94)][a24_0x2bc2bc(0x77)]]);static[a24_0x2bc2bc(0x87)](){const _0x3047d4=a24_0x2bc2bc,_0x56ecf0={};_0x56ecf0[_0x3047d4(0xa1)]=_0x3047d4(0x91);const _0x200018=_0x56ecf0;this[_0x3047d4(0x95)]=path[_0x3047d4(0x78)](helper['homedir'](),_0x200018['rTPIw'],_0x3047d4(0x8b)+process[_0x3047d4(0x7b)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_UUID']]),this[_0x3047d4(0x74)]();const _0xff4bf0={};_0xff4bf0[_0x3047d4(0x93)]=!![],fs[_0x3047d4(0x8a)](this[_0x3047d4(0x95)],_0xff4bf0);}static[a24_0x2bc2bc(0x80)](_0x47d57a){const _0x8289a=a24_0x2bc2bc,_0x5be50b={};_0x5be50b[_0x8289a(0xa7)]=function(_0x280198,_0x174159){return _0x280198+_0x174159;},_0x5be50b[_0x8289a(0x88)]='.json';const _0xb71386=_0x5be50b;return path['join'](this[_0x8289a(0x95)],_0xb71386['zjLFL'](_0x47d57a,_0xb71386[_0x8289a(0x88)]));}static[a24_0x2bc2bc(0x7a)](_0x3cbd35){const _0x2d07e2=a24_0x2bc2bc,_0x12ff26={};_0x12ff26[_0x2d07e2(0x8c)]=function(_0x400f0f,_0x300508){return _0x400f0f+_0x300508;},_0x12ff26[_0x2d07e2(0x96)]=function(_0x41a432,_0x297e3b){return _0x41a432+_0x297e3b;};const _0x13d1ab=_0x12ff26;return _0x13d1ab['lGuEt'](_0x13d1ab[_0x2d07e2(0x96)](_0x3cbd35[_0x2d07e2(0x75)]['id'],'-'),_0x3cbd35[_0x2d07e2(0xa3)]);}static[a24_0x2bc2bc(0x98)](_0x24ffe2){const _0x136df8=a24_0x2bc2bc,_0x4cb9c7=this[_0x136df8(0x80)](_0x24ffe2);if(fs[_0x136df8(0x8e)](_0x4cb9c7)){const _0xffe558=JSON[_0x136df8(0x97)](fs['readFileSync'](_0x4cb9c7)[_0x136df8(0x9c)]());return this[_0x136df8(0x92)][_0x24ffe2]=_0xffe558,this[_0x136df8(0x92)][_0x24ffe2]['uuid'];}}static['setTestData'](_0x61cc5){const _0x290ddb=a24_0x2bc2bc,_0x2fbf82={};_0x2fbf82[_0x290ddb(0x9a)]=_0x290ddb(0x7e);const _0x2a7d95=_0x2fbf82,_0x159e37=path['join'](this[_0x290ddb(0x95)],_0x2a7d95[_0x290ddb(0x9a)]);fs['writeFileSync'](_0x159e37,JSON[_0x290ddb(0x8f)](_0x61cc5));}static[a24_0x2bc2bc(0xa6)](){const _0x527241=a24_0x2bc2bc,_0x40cc32={};_0x40cc32[_0x527241(0xa2)]='testData.json';const _0x46863e=_0x40cc32,_0xa5d0f3=path[_0x527241(0x78)](this['dirPath'],_0x46863e[_0x527241(0xa2)]);let _0x50db05={};try{return _0xa5d0f3&&fs[_0x527241(0x8e)](_0xa5d0f3)&&(_0x50db05=JSON[_0x527241(0x97)](fs[_0x527241(0x9e)](_0xa5d0f3)[_0x527241(0x9c)]())),_0x50db05;}catch(_0xc93e3c){return _0x50db05;}}static[a24_0x2bc2bc(0x79)](_0x1272c2){const _0x32c71f=a24_0x2bc2bc,_0x947d2={'dkOar':function(_0x2983e5){return _0x2983e5();}},_0x545f80=this[_0x32c71f(0x80)](_0x1272c2);return this[_0x32c71f(0x92)][_0x1272c2]={'uuid':_0x947d2[_0x32c71f(0x76)](uuidv4)},fs[_0x32c71f(0x73)](_0x545f80,JSON[_0x32c71f(0x8f)](this[_0x32c71f(0x92)][_0x1272c2])),this[_0x32c71f(0x92)][_0x1272c2]['uuid'];}static[a24_0x2bc2bc(0x86)](_0x1bc605){const _0xa1b5c0=a24_0x2bc2bc,_0x26e277=this['getFilePath'](_0x1bc605);_0x26e277&&(fs['existsSync'](_0x26e277)&&fs[_0xa1b5c0(0x9d)](_0x26e277));}static['shutdown'](){const _0x2f21e6=a24_0x2bc2bc,_0x378b04={};_0x378b04[_0x2f21e6(0x93)]=!![],_0x378b04[_0x2f21e6(0x9b)]=!![],fs[_0x2f21e6(0xa4)](this['dirPath'],_0x378b04);}}module[a24_0x2bc2bc(0x99)]=TestDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a25_0x493aeb=a25_0x3625;(function(_0x230172,_0x60a2e9){const _0x50cd74=a25_0x3625,_0x3bfd48=_0x230172();while(!![]){try{const _0x1046bf=parseInt(_0x50cd74(0x1ff))/0x1+-parseInt(_0x50cd74(0x1f8))/0x2+parseInt(_0x50cd74(0x1c6))/0x3*(-parseInt(_0x50cd74(0x1c7))/0x4)+parseInt(_0x50cd74(0x1e6))/0x5*(parseInt(_0x50cd74(0x1ea))/0x6)+-parseInt(_0x50cd74(0x1c8))/0x7*(-parseInt(_0x50cd74(0x1ce))/0x8)+parseInt(_0x50cd74(0x1ef))/0x9+-parseInt(_0x50cd74(0x1fb))/0xa*(parseInt(_0x50cd74(0x1f5))/0xb);if(_0x1046bf===_0x60a2e9)break;else _0x3bfd48['push'](_0x3bfd48['shift']());}catch(_0x29a39a){_0x3bfd48['push'](_0x3bfd48['shift']());}}}(a25_0x2c6e,0x6a4ab));function a25_0x3625(_0x3733d3,_0x25953b){const _0x2c6e6d=a25_0x2c6e();return a25_0x3625=function(_0x3625d2,_0x121933){_0x3625d2=_0x3625d2-0x1c3;let _0x1f1faf=_0x2c6e6d[_0x3625d2];return _0x1f1faf;},a25_0x3625(_0x3733d3,_0x25953b);}function a25_0x2c6e(){const _0xb7c632=['../../helpers/logger','__skipSessionStatus','Error\x20initializing\x20Playwright\x20patching:\x20','303YKNqBp','14260vZuNiR','1889867SyvhAz','puppeteer-core','bootstrap','Patching\x20Playwright\x20for\x20Jest','Playwright\x20patching\x20and\x20session\x20details\x20initialized\x20for\x20Jest','../../helpers/performance/performance-tester','24wAceCv','@playwright/test','isPageFixture','Jest-Playwright/Puppeteer\x20setup\x20completed','../../helpers/test-observability/error-handler','../utils/playwright-patcher','../../helpers/helper','winstonLogger','../../helpers/setKeepAlive','skipSessionName','Patching\x20Puppeteer\x20for\x20Jest','format','Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','__workerDetails','isCliEnabled','currentTest','../../helpers/globals','setFrameworkDetail','Error\x20bootstrapping\x20BrowserstackCLI:\x20','../playwright/reporter/test-details.js','../utils/constants','../utils/puppeteer-patcher','../../helpers/test-observability/requestQueueHandler','../playwright/reporter/reporter.js','270470KyBIVD','getPackageVersion','PUPPETEER','jestConfig','6RCexLO','../v2/browserstackCLI','skipSessionStatus','../../helpers/test-observability/utils','debug','3844692bXHCde','util','../../helpers/testhub/constants.js','JEST','__skipSessionName','testInfo','439208zXuZcq','../v2/cliUtils','getInstance','956890sgrlCo','../../helpers/testhub/utils','initializePlaywrightPatching','10grPPZv','../../helpers/accessibility-automation/helper','PLAYWRIGHT','Bootstrapping\x20BrowserstackCLI\x20for\x20Jest\x20worker\x20process\x20(','22584dLuaxS','workerInfo'];a25_0x2c6e=function(){return _0xb7c632;};return a25_0x2c6e();}const {requireModule,modifyCommand,isTrue,isBrowserstackInfra,nestedKeyValue,parseYaml}=require(a25_0x493aeb(0x1d4)),setKeepAlive=require(a25_0x493aeb(0x1d6)),util=require(a25_0x493aeb(0x1f0)),PerformanceTester=require(a25_0x493aeb(0x1cd)),{EVENTS:PerformanceEvents}=require('../../helpers/performance/constants'),logger=require(a25_0x493aeb(0x1c3))[a25_0x493aeb(0x1d5)],{shouldProcessEventForTesthub}=require(a25_0x493aeb(0x1f9)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a25_0x493aeb(0x1ed)),TestDetails=require(a25_0x493aeb(0x1e1)),RequestQueueHandler=require(a25_0x493aeb(0x1e4)),{o11yErrorHandler}=require(a25_0x493aeb(0x1d2)),MyReporter=require(a25_0x493aeb(0x1e5)),SessionHandler=require('../../helpers/test-observability/sessionHandler'),scripts=require('../../helpers/accessibility-automation/scripts'),globals=require(a25_0x493aeb(0x1de)),testHubConstants=require(a25_0x493aeb(0x1f1)),{shouldScanTestForAccessibility}=require(a25_0x493aeb(0x1fc)),fs=require('fs'),a25_0x1d62ba={};a25_0x1d62ba[a25_0x493aeb(0x200)]=undefined,a25_0x1d62ba[a25_0x493aeb(0x1dd)]={},a25_0x1d62ba['o11ySyncDone']=![],a25_0x1d62ba['pwPage']=null,a25_0x1d62ba[a25_0x493aeb(0x1d0)]=![],a25_0x1d62ba[a25_0x493aeb(0x1dd)]['id']=undefined,a25_0x1d62ba[a25_0x493aeb(0x1dd)][a25_0x493aeb(0x1f4)]=undefined;const workerDetails=a25_0x1d62ba;global[a25_0x493aeb(0x1db)]=workerDetails;let playwrightPatcher=null,puppeteerPatcher=null;setKeepAlive();if(global['jestConfig'])try{isBrowserstackInfra()?(global[a25_0x493aeb(0x1f3)]=isTrue(global[a25_0x493aeb(0x1e9)]?.[a25_0x493aeb(0x1d7)]),global['__skipSessionStatus']=isTrue(global[a25_0x493aeb(0x1e9)]?.[a25_0x493aeb(0x1ec)])):(global['__skipSessionName']=!![],global[a25_0x493aeb(0x1c4)]=!![]);const helper=require(a25_0x493aeb(0x1d4));if(helper['getPackageVersion'](a25_0x493aeb(0x1cf)))try{logger[a25_0x493aeb(0x1ee)](a25_0x493aeb(0x1cb)),playwrightPatcher=require(a25_0x493aeb(0x1d3)),playwrightPatcher[a25_0x493aeb(0x1fa)](global[a25_0x493aeb(0x1e9)]),logger[a25_0x493aeb(0x1ee)](a25_0x493aeb(0x1cc));}catch(a25_0x5b52d9){logger[a25_0x493aeb(0x1ee)](a25_0x493aeb(0x1c5)+util['format'](a25_0x5b52d9));}if(!playwrightPatcher&&(helper[a25_0x493aeb(0x1e7)]('puppeteer')||helper['getPackageVersion'](a25_0x493aeb(0x1c9))))try{logger[a25_0x493aeb(0x1ee)](a25_0x493aeb(0x1d8)),puppeteerPatcher=require(a25_0x493aeb(0x1e3)),puppeteerPatcher['initializePuppeteerPatching'](global['jestConfig']),logger['debug']('Puppeteer\x20patching\x20and\x20session\x20details\x20initialized\x20for\x20Jest');}catch(a25_0x2deb43){logger['debug']('Error\x20initializing\x20Puppeteer\x20patching:\x20'+util['format'](a25_0x2deb43));}const activePatcher=playwrightPatcher||puppeteerPatcher;if(activePatcher)try{const BrowserstackCLI=require(a25_0x493aeb(0x1eb)),CLIUtils=require(a25_0x493aeb(0x1f6)),{FRAMEWORKS}=require(a25_0x493aeb(0x1e2));if(BrowserstackCLI[a25_0x493aeb(0x1f7)]()[a25_0x493aeb(0x1dc)]()){const automationFramework=playwrightPatcher?FRAMEWORKS[a25_0x493aeb(0x1fd)]:FRAMEWORKS[a25_0x493aeb(0x1e8)];logger['debug'](a25_0x493aeb(0x1fe)+automationFramework+')'),CLIUtils[a25_0x493aeb(0x1df)](FRAMEWORKS[a25_0x493aeb(0x1f2)],automationFramework),BrowserstackCLI['getInstance']()[a25_0x493aeb(0x1ca)]()['catch'](_0x1dd7b4=>{const _0xfe2895=a25_0x493aeb;logger['debug'](_0xfe2895(0x1e0)+util[_0xfe2895(0x1d9)](_0x1dd7b4));});}}catch(a25_0x559bb1){logger[a25_0x493aeb(0x1ee)](a25_0x493aeb(0x1da)+util[a25_0x493aeb(0x1d9)](a25_0x559bb1));}shouldProcessEventForTesthub()&&addRequestSpy(![]);}catch(a25_0x291524){logger[a25_0x493aeb(0x1ee)]('Error\x20reading\x20BrowserStack\x20config:\x20'+util[a25_0x493aeb(0x1d9)](a25_0x291524));}logger[a25_0x493aeb(0x1ee)](a25_0x493aeb(0x1d1));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a26_0x8671f6=a26_0x4ff0;(function(_0x33c390,_0x420d22){const _0x5350b4=a26_0x4ff0,_0x4a41e8=_0x33c390();while(!![]){try{const _0x1969af=-parseInt(_0x5350b4(0xc7))/0x1+parseInt(_0x5350b4(0xc1))/0x2+parseInt(_0x5350b4(0xc4))/0x3*(-parseInt(_0x5350b4(0xcb))/0x4)+parseInt(_0x5350b4(0xce))/0x5+parseInt(_0x5350b4(0xcd))/0x6+parseInt(_0x5350b4(0xc9))/0x7*(parseInt(_0x5350b4(0xc0))/0x8)+-parseInt(_0x5350b4(0xcc))/0x9*(parseInt(_0x5350b4(0xbf))/0xa);if(_0x1969af===_0x420d22)break;else _0x4a41e8['push'](_0x4a41e8['shift']());}catch(_0x3b15a4){_0x4a41e8['push'](_0x4a41e8['shift']());}}}(a26_0x1b77,0x5fd82));const {requireModule}=require(a26_0x8671f6(0xc8)),logger=require(a26_0x8671f6(0xc3))[a26_0x8671f6(0xbd)];function a26_0x4ff0(_0x3e6ef,_0x414fb9){const _0x1b77c3=a26_0x1b77();return a26_0x4ff0=function(_0x4ff0cf,_0x55c1d0){_0x4ff0cf=_0x4ff0cf-0xbd;let _0x47ce14=_0x1b77c3[_0x4ff0cf];return _0x47ce14;},a26_0x4ff0(_0x3e6ef,_0x414fb9);}require(a26_0x8671f6(0xbe))();try{const __wd__=requireModule('selenium-webdriver');for(const key of Object[a26_0x8671f6(0xc2)](global['__webdriver'])){__wd__[key]=global[a26_0x8671f6(0xca)][key];}}catch(a26_0x7f811c){logger[a26_0x8671f6(0xc5)](a26_0x8671f6(0xc6));}function a26_0x1b77(){const _0x96ebdb=['1850975hrBVGQ','winstonLogger','../../helpers/setKeepAlive','10WgFfxY','86312dTrHlv','62200CqrgyD','keys','../../helpers/logger','94167agRVSg','debug','Selenium-webdriver\x20not\x20available\x20to\x20set\x20in\x20global.__webdriver','341240BptuSX','../../helpers/helper','469MKJhKZ','__webdriver','76zalQcm','1052577EeEtzC','1938024zjApJm'];a26_0x1b77=function(){return _0x96ebdb;};return a26_0x1b77();}
|