browserstack-node-sdk 1.64.0 → 1.64.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 +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const a23_0x39ef1c=a23_0x29b8;(function(_0x5d5c67,_0x159045){const _0x4862f7=a23_0x29b8,_0x3c53cb=_0x5d5c67();while(!![]){try{const _0x50ec44=parseInt(_0x4862f7(0x1bd))/0x1+parseInt(_0x4862f7(0x1af))/0x2*(parseInt(_0x4862f7(0x1b7))/0x3)+-parseInt(_0x4862f7(0x1b6))/0x4+parseInt(_0x4862f7(0x1b0))/0x5+parseInt(_0x4862f7(0x1be))/0x6+parseInt(_0x4862f7(0x1b5))/0x7+-parseInt(_0x4862f7(0x1b9))/0x8;if(_0x50ec44===_0x159045)break;else _0x3c53cb['push'](_0x3c53cb['shift']());}catch(_0x214de3){_0x3c53cb['push'](_0x3c53cb['shift']());}}}(a23_0x3fb0,0xb5b18));const {requireModule,isBrowserstackInfra}=require(a23_0x39ef1c(0x1ba)),a23_0x3e4cea={};a23_0x3e4cea[a23_0x39ef1c(0x1b1)]=!![],Object[a23_0x39ef1c(0x1a7)](exports,a23_0x39ef1c(0x1aa),a23_0x3e4cea),exports['default']=void 0x0;function _interopRequireDefault(_0x4ced78){return _0x4ced78&&_0x4ced78['__esModule']?_0x4ced78:{'default':_0x4ced78};}function a23_0x3fb0(){const _0x43e88c=['serial__','20844160YQgzVD','../../../helpers/helper','capabilities','KEyqp','423456ZWDiev','5978340mvbfLX','freeze','context','BinnN','hyMnG','_globalConfig','defineProperty','BSTACK_USER_JEST_RUNNER','obvKq','__esModule','FhZcb','testEnvironmentOptions','false','length','62278zFSpcT','4782140DQbgac','value','runTests','config','env','7429590LZpvJo','1970860CeFoqu','39STOiXU'];a23_0x3fb0=function(){return _0x43e88c;};return a23_0x3fb0();};const runnerModule=process[a23_0x39ef1c(0x1b4)][a23_0x39ef1c(0x1a8)]||'jest-runner',JestRunner=_interopRequireDefault(requireModule(runnerModule))['default'];class TestRunner extends JestRunner{constructor(..._0x43b9a7){super(..._0x43b9a7);}[a23_0x39ef1c(0x1b2)](..._0x5dbb73){const _0x10b255=a23_0x39ef1c,_0x53b7fd={'BinnN':function(_0x3fc02b){return _0x3fc02b();},'HJGfu':function(_0x36f8e2,_0x1c6a41){return _0x36f8e2-_0x1c6a41;},'KEyqp':function(_0x5cb341,_0x48a49a){return _0x5cb341*_0x48a49a;},'hyMnG':function(_0x4ba350,_0x34484b){return _0x4ba350===_0x34484b;},'FhZcb':_0x10b255(0x1ad),'obvKq':function(_0x3d1375,_0xd84508){return _0x3d1375<_0xd84508;}};if(!_0x53b7fd[_0x10b255(0x1a4)](isBrowserstackInfra))return super[_0x10b255(0x1b2)](..._0x5dbb73);const _0xcf5ac2=_0x5dbb73[0x0],_0x3878fb=_0x5dbb73[_0x53b7fd['HJGfu'](_0x5dbb73[_0x10b255(0x1ae)],0x1)],_0x2679dd=_0xcf5ac2[0x0][_0x10b255(0x1c0)][_0x10b255(0x1b3)][_0x10b255(0x1ac)][_0x10b255(0x1bb)],_0xd0a8fe=_0xcf5ac2[0x0][_0x10b255(0x1c0)][_0x10b255(0x1b3)][_0x10b255(0x1ac)]['parallels__'];_0xd0a8fe&&(this[_0x10b255(0x1a6)]=Object[_0x10b255(0x1bf)]({...this['_globalConfig'],'maxWorkers':_0x53b7fd[_0x10b255(0x1bc)](_0xd0a8fe,_0x2679dd['length'])}));_0x53b7fd[_0x10b255(0x1a5)](_0xcf5ac2[0x0][_0x10b255(0x1c0)][_0x10b255(0x1b3)][_0x10b255(0x1ac)][_0x10b255(0x1b8)],_0x53b7fd[_0x10b255(0x1ab)])&&(_0x3878fb&&(_0x3878fb['serial']=![]));const _0x2c938b=[];for(let _0x343843=0x0;_0x53b7fd[_0x10b255(0x1a9)](_0x343843,_0xcf5ac2[_0x10b255(0x1ae)]);_0x343843++){const _0x2e312=[];_0x2679dd['forEach']((_0x561ff0,_0xb39bda)=>{const _0x21019b=_0x10b255,_0x221b9f={..._0xcf5ac2[_0x343843]},_0x3bf1b3=_0x221b9f;_0x3bf1b3[_0x21019b(0x1c0)]=Object['freeze']({..._0x3bf1b3[_0x21019b(0x1c0)],'config':{..._0x3bf1b3[_0x21019b(0x1c0)][_0x21019b(0x1b3)],'capability':_0x561ff0,'browserstackPlatformIndex':_0xb39bda}}),_0x2e312['push'](_0x3bf1b3);}),_0x2c938b['push'](..._0x2e312);}return super['runTests'](_0x2c938b,..._0x5dbb73['slice'](0x1));}}function a23_0x29b8(_0x1473fd,_0x4b090b){const _0x3fb09a=a23_0x3fb0();return a23_0x29b8=function(_0x29b853,_0x14187d){_0x29b853=_0x29b853-0x1a4;let _0xf8b97b=_0x3fb09a[_0x29b853];return _0xf8b97b;},a23_0x29b8(_0x1473fd,_0x4b090b);}module['exports']=TestRunner;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a24_0x5bac4d=a24_0x243a;(function(_0x25c61d,_0x118e07){const _0x1d29f9=a24_0x243a,_0x1641e6=_0x25c61d();while(!![]){try{const _0x368da5=-parseInt(_0x1d29f9(0x184))/0x1+-parseInt(_0x1d29f9(0x19e))/0x2*(parseInt(_0x1d29f9(0x1bc))/0x3)+parseInt(_0x1d29f9(0x1db))/0x4+-parseInt(_0x1d29f9(0x18a))/0x5*(-parseInt(_0x1d29f9(0x22f))/0x6)+parseInt(_0x1d29f9(0x249))/0x7+parseInt(_0x1d29f9(0x26d))/0x8+-parseInt(_0x1d29f9(0x1de))/0x9;if(_0x368da5===_0x118e07)break;else _0x1641e6['push'](_0x1641e6['shift']());}catch(_0x4563de){_0x1641e6['push'](_0x1641e6['shift']());}}}(a24_0x5eb1,0x792e5));function a24_0x5eb1(){const _0x2390cc=['testFramework','driverCleanup:\x20No\x20drivers\x20to\x20clean\x20up','../v2/state/hookState','WMHCd','foEuH','fKQRj',',\x20testPath=',',\x22level\x22:\x20\x22','push','browserstackSessionName','protocol','join','gPiHL','GZnjx','CREATE','executeDeferredCloses','EJTyR','failedExpectations','Test\x20info\x20prepared\x20for\x20CREATE\x20PRE\x20event:\x20','testPath','errors','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','Attempting\x20direct\x20page\x20close\x20fallback\x20for\x20Android','VlUrS','\x22,\x22level\x22:\x20\x22error\x22}}','EWRXr','testAnalyticsId','message','Exception\x20in\x20jest\x20driver\x20with\x20error:\x20','Aaggi','mCAVM',':testAnalyticsId','util','RMzsY','\x20flow\x20detected\x20-\x20page\x20exists:\x20','puppeteer-core','vpqJe','[Jest\x20Setup]\x20Triggered\x20CREATE\x20POST\x20event\x20for\x20test:\x20','482382YDVpRd','zpwkG','rFiMs','Playwright\x20flow\x20detected\x20in\x20beforeEach','quitCount_','jest-test','15wKeqGm','haIUS','AykPQ','No\x20patcher\x20available','DGDnE','title','RkMvD','kejnq','Cleaned\x20up\x20close\x20tracker\x20after\x20deferred\x20closes','afterTestHook','session_','TransformStream',',\x20isPlaywrightFlow=','getAutomationFramework','browserStackGlobals','pwPage','AuDNI','HqWUo','FpjLh','cleanup','1469542szoOFT','eQUGW','../../helpers/test-observability/utils','ZzKWU','GzBEA','OkqBg','yBWdt','awVhw','.\x20Error\x20:','rHUrw','Skipping\x20afterTestHook\x20-\x20workerDetails\x20or\x20currentTest\x20not\x20available','kpgBc','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','testInfo','getState','slice','split','\x20|\x20','BbZVQ','ObHPW','mVqEO','Executed\x20deferred\x20closes\x20after\x20QUIT\x20PRE\x20event\x20completion','gcVVA','isMobilePlatform','0|4|1|3|2','JMunQ','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Failed\x20-\x20','Error\x20in\x20playwright\x20beforeTestHook:\x20','BAHFO','measureWrapper','3eHLwoz','\x22,\x22level\x22:\x20\x22info\x22}}','IsRZO','length','Error\x20in\x20fallback\x20page\x20close:\x20','PRE','DjXQI','uuid','end','No\x20page\x20available\x20yet\x20for\x20test:\x20','__drivers','rtzVz','appium:app','gqWjx','../../helpers/test-observability/requestQueueHandler','Pekav','lYxCg','../../helpers/accessibility-automation/helper','../../helpers/globals','Error\x20cleaning\x20up\x20after\x20deferred\x20closes:\x20','Exception\x20in\x20jest\x20percy\x20with\x20error:\x20','../utils/puppeteer-patcher','bxnoT','RyMOj','pfPSE','qKEDX','ENV_VAR','function','SYNC','testContext','mBHTi','1464408lDhpli','platformCaps','../../helpers/performance/constants','9137628aNqAhj','qCrsK','name','Error\x20cleaning\x20up\x20close\x20tracker:\x20','WqHze','testcase','mroqq','failed','NmhDC','setGlobal','KlHHc','bQxKk','context','hVVDM','oZgYU','SESSION_STATUS','Unknown\x20Test','gFDxH','../../helpers/percy/utils','getPageFromAutomationFramework','puppeteer','getPackageVersion','mZuvg','PXKGS','bNfFk','HxZih','Playwright','Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','Error\x20loading\x20patcher\x20in\x20afterEach:\x20','setTimeout','beforeAll','undefined','zaNOT','UtsHF','Error\x20loading\x20puppeteer-patcher:\x20','../../helpers/test-observability/constants','EiZox','ihlzI','closeTracker','Error\x20preparing\x20AutomationFramework\x20events:\x20','Successfully\x20executed\x20deferred\x20Playwright\x20closes\x20(with\x20force\x20close)','removeAllListeners','__platformCaps','YQMOy','xeWIM','isArray','getEnv','rVUYL','from\x20else\x20block\x20jest\x20test\x20failed\x20playwright\x20flow:\x20','trackEvent','percy','Error\x20determining\x20test\x20flow:\x20','EHjQO','YxGEc','inDQs','WFFSy','2|3|1|4|0','now','__workerDetails','OSeFn','IrfzE','debug','currentTestName','./test-observability/test-details','mxuJG','BROWSERSTACK_TESTHUB_UUID','PINgJ','beforeTestHook','TransformStream\x20polyfill\x20not\x20available:\x20','Exception\x20in\x20jest\x20process\x20event\x20with\x20error:\x20','MiXqy','is_mobile_session','hookType','bstackA11yShouldScan','app','executeScript','addReporter','isAccessibilityPlatform','ictBS','wyUXR','../../helpers/accessibility-automation/scripts','1509720AYHHMD','dcxiC','Cleaned\x20up\x20close\x20tracker','VUynF','isPageFixture','Dxtzm','Error\x20executing\x20fallback\x20deferred\x20closes:\x20','getGlobal','SDK_HOOK','BDnuS','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','error','description','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','getTestUUID','close','afterEach','Exception\x20in\x20jest\x20hook\x20with\x20error:\x20','tbhyY','command','log','QfhdH','JEST','cGGoS','UgZPU','SIEfg','6712384lIkETY','KfgMn','afterTest','../v2/state/automationFrameworkState','passed','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Passed\x20-\x20','../utils/playwright-patcher','ftPfe','utWwW','percyCaptureMode','XUHxT','SAVE_RESULTS','capabilities','__launchCaps','Puppeteer\x20flow\x20detected\x20in\x20beforeEach','VTDbd','QUIT','aUvrg','browserstackTestName','info','isRunning','Performing\x20scan\x20before\x20saving\x20results','env','performScan',',\x20testName=','dteQb','browser','Jest','includes','beforeEach','Rsqop','getInstance','@playwright/test','executeAsyncScript','[Jest\x20Setup]\x20beforeEach:\x20testIdentifier=','ZEVEg','5191424yMcOkv','initQuit','pendingUploads','shift','Exception\x20in\x20jest\x20driver\x20cleanup\x20with\x20error:\x20','http:','uDYtU','format','BROWSERSTACK_TESTHUB_JWT','currentTest','pid','https:','NYXLp','Puppeteer','POST','stringify','FztXv','oHsDI','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.','gYiuW','isCliEnabled','\x22}}','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','start','lAVuD','winstonLogger','afterAll','gqrsc','inside\x20after\x20each\x20jest\x20hook'];a24_0x5eb1=function(){return _0x2390cc;};return a24_0x5eb1();}const util=require(a24_0x5bac4d(0x17e)),helper=require('../../helpers/helper'),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require('../utils/constants'),{sendPlatformDetails}=require(a24_0x5bac4d(0x1a0)),{isBrowserstackInfra,markSessionStatus}=require('../../helpers/helper');let __error_messages__=[];const RequestQueueHandler=require(a24_0x5bac4d(0x1ca));jest[a24_0x5bac4d(0x1fb)](__timeout);const {isAccessibilityAutomationSession,fetchPlatformDetails,shouldScanTestForAccessibility}=require(a24_0x5bac4d(0x1cd)),{percyAutoCapture}=require(a24_0x5bac4d(0x1f0)),logger=require('../../helpers/logger')[a24_0x5bac4d(0x286)],TestDetails=require(a24_0x5bac4d(0x21d)),PerformanceTester=require('../../helpers/performance/performance-tester'),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a24_0x5bac4d(0x1dd)),scripts=require(a24_0x5bac4d(0x22e)),globals=require(a24_0x5bac4d(0x1ce)),{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require('../../helpers/testhub/constants'),{v4:uuidv4}=require(a24_0x5bac4d(0x1c3)),BrowserstackCLI=require('../v2/browserstackCLI'),AutomationFrameworkState=require(a24_0x5bac4d(0x24c)),HookState=require(a24_0x5bac4d(0x28c)),{FRAMEWORKS}=require(a24_0x5bac4d(0x201));globals[a24_0x5bac4d(0x198)]=browserStackGlobals;if(typeof global[a24_0x5bac4d(0x195)]==='undefined')try{const {TransformStream}=require('stream/web');global['TransformStream']=TransformStream;}catch(a24_0x19295c){logger[a24_0x5bac4d(0x21b)](a24_0x5bac4d(0x222)+a24_0x19295c[a24_0x5bac4d(0x179)]);}function a24_0x243a(_0x112676,_0x26316b){const _0x5eb187=a24_0x5eb1();return a24_0x243a=function(_0x243ac0,_0x57980f){_0x243ac0=_0x243ac0-0x16a;let _0x7435dd=_0x5eb187[_0x243ac0];return _0x7435dd;},a24_0x243a(_0x112676,_0x26316b);}function stripUnicode(_0x5357e2){const _0x2ea8f0=a24_0x5bac4d;return _0x5357e2['replace'](/\\u001b\[.*?m/g,'')[_0x2ea8f0(0x1ad)](0x1,-0x1);}async function setContext(){const _0xc111c7=a24_0x5bac4d,_0x58693e={'BAHFO':function(_0x5ae9d2){return _0x5ae9d2();},'cGGoS':'browserstackTestName','jaUFX':function(_0x3cd00b,_0x1375b1){return _0x3cd00b!==_0x1375b1;},'VTDbd':_0xc111c7(0x1fd),'LvGdj':function(_0x147ec1,_0xf4d33f){return _0x147ec1>_0xf4d33f;},'AuDNI':function(_0x3c6706,_0x1bffc9){return _0x3c6706(_0x1bffc9);},'RMzsY':function(_0x58d922,_0x27b932){return _0x58d922(_0x27b932);},'dteQb':function(_0x3326f6,_0x598b9d){return _0x3326f6(_0x598b9d);}};if(!_0x58693e[_0xc111c7(0x1ba)](isBrowserstackInfra))return;const _0x4ee44d=expect[_0xc111c7(0x1ac)]()[_0xc111c7(0x21c)];globals[_0xc111c7(0x1e7)](_0x58693e[_0xc111c7(0x246)],_0x4ee44d);!sessionNameProvided&&await PerformanceTester[_0xc111c7(0x1bb)](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0x86da34=_0xc111c7;await __drivers[0x0][_0x86da34(0x229)](_0x86da34(0x23c)+_0x4ee44d+_0x86da34(0x282));})();let _0xcf75d4=null,_0x288c29=![];_0x58693e['jaUFX'](typeof jasmine,_0x58693e[_0xc111c7(0x258)])?jasmine['currentTest'][_0xc111c7(0x16f)]&&_0x58693e['LvGdj'](jasmine[_0xc111c7(0x276)]['failedExpectations'][_0xc111c7(0x1bf)],0x0)?(_0x288c29=!![],_0xcf75d4=_0x58693e[_0xc111c7(0x19a)](stripUnicode,JSON[_0xc111c7(0x27c)](jasmine['currentTest']['failedExpectations'][0x0][_0xc111c7(0x179)]))):_0xcf75d4=_0x58693e['RMzsY'](stripUnicode,JSON[_0xc111c7(0x27c)](jasmine[_0xc111c7(0x276)][_0xc111c7(0x23b)])):testContext['errors']&&_0x58693e['LvGdj'](testContext[_0xc111c7(0x172)]['length'],0x0)?(_0x288c29=!![],_0xcf75d4=_0x58693e[_0xc111c7(0x262)](stripUnicode,JSON[_0xc111c7(0x27c)](testContext[_0xc111c7(0x172)][0x0][0x0][_0xc111c7(0x179)]||testContext[_0xc111c7(0x172)][0x0][0x0]))):_0xcf75d4=_0x58693e[_0xc111c7(0x17f)](stripUnicode,JSON[_0xc111c7(0x27c)](testContext[_0xc111c7(0x1e0)])),_0x288c29?(__error_messages__[_0xc111c7(0x292)](_0xcf75d4),await __drivers[0x0][_0xc111c7(0x229)](_0xc111c7(0x1b8)+_0xcf75d4+_0xc111c7(0x176))):await __drivers[0x0][_0xc111c7(0x229)](_0xc111c7(0x24e)+_0xcf75d4+_0xc111c7(0x1bd));}const executeAnnotate=async(_0x5792b4,_0xadc26b)=>{const _0x48d88b=a24_0x5bac4d;await global[_0x48d88b(0x1c6)][0x0][_0x48d88b(0x229)](_0x48d88b(0x173)+_0x5792b4+_0x48d88b(0x291)+_0xadc26b+_0x48d88b(0x282));};async function driverCleanup(){const _0x44a060=a24_0x5bac4d,_0x38cd09={'HtKwS':function(_0x3cf72d){return _0x3cf72d();},'gYiuW':function(_0x7d0eae,_0xdb576a){return _0x7d0eae===_0xdb576a;},'HZPeJ':_0x44a060(0x28b),'vpqJe':_0x44a060(0x1b6),'dhBfs':function(_0xe7c738,_0x1092bf){return _0xe7c738>_0x1092bf;},'bQxKk':function(_0x39918d,_0x5edf4e,_0x1729b9,_0x4a51bf){return _0x39918d(_0x5edf4e,_0x1729b9,_0x4a51bf);},'EiZox':_0x44a060(0x1e5),'qKEDX':_0x44a060(0x1af),'YQMOy':function(_0x2c5f06,_0x423ef5,_0x2f0d07){return _0x2c5f06(_0x423ef5,_0x2f0d07);},'rtzVz':_0x44a060(0x24d)};if(!_0x38cd09['HtKwS'](isBrowserstackInfra))return;if(!global[_0x44a060(0x1c6)]||!Array[_0x44a060(0x20b)](global[_0x44a060(0x1c6)])||_0x38cd09[_0x44a060(0x280)](global[_0x44a060(0x1c6)]['length'],0x0)){logger['debug'](_0x38cd09['HZPeJ']);return;}let _0x3d0f84=![];try{const _0x4ad6e5=_0x38cd09[_0x44a060(0x182)][_0x44a060(0x1ae)]('|');let _0x3a3886=0x0;while(!![]){switch(_0x4ad6e5[_0x3a3886++]){case'0':PerformanceTester['start'](PerformanceAutEvents[_0x44a060(0x1ed)]);continue;case'1':_0x3d0f84=!![];continue;case'2':PerformanceTester[_0x44a060(0x1c4)](PerformanceAutEvents[_0x44a060(0x1ed)],!![]);continue;case'3':_0x38cd09['dhBfs'](__error_messages__[_0x44a060(0x1bf)],0x0)?await _0x38cd09[_0x44a060(0x1e9)](markSessionStatus,global[_0x44a060(0x1c6)][0x0],_0x38cd09[_0x44a060(0x202)],__error_messages__[_0x44a060(0x295)](_0x38cd09[_0x44a060(0x1d5)])):await _0x38cd09[_0x44a060(0x209)](markSessionStatus,global['__drivers'][0x0],_0x38cd09[_0x44a060(0x1c7)]);continue;case'4':await global[_0x44a060(0x1c6)][0x0]['session_'];continue;}break;}}catch(_0x5b7111){console[_0x44a060(0x243)](_0x5b7111),PerformanceTester[_0x44a060(0x1c4)](PerformanceAutEvents[_0x44a060(0x1ed)],![],_0x5b7111);}__error_messages__=[];if(_0x3d0f84)try{await global[_0x44a060(0x1c6)][0x0][_0x44a060(0x26e)]();}catch(_0x5de3d1){console[_0x44a060(0x243)](_0x5de3d1);}}beforeAll(async()=>{const _0x505a0a=a24_0x5bac4d,_0x2ff03d={'ZFzRV':function(_0x50d84d,_0x5eac55){return _0x50d84d!==_0x5eac55;},'UgZPU':'undefined','lAVuD':function(_0x32eab3,_0x2e321e){return _0x32eab3>_0x2e321e;},'EJTyR':function(_0xdfa594,_0x19c00e){return _0xdfa594!==_0x19c00e;},'gcVVA':_0x505a0a(0x1fc),'duFCz':function(_0x45ee4c){return _0x45ee4c();},'OSeFn':function(_0x1f560b,_0x1a3e2a,_0x14aab8){return _0x1f560b(_0x1a3e2a,_0x14aab8);}};__error_messages__=[];!global[_0x505a0a(0x1c6)]&&(global['__drivers']=[]);PerformanceTester['startMonitoring'](),PerformanceTester[_0x505a0a(0x284)](PerformanceHookEvents['SDK_HOOK']);_0x2ff03d['ZFzRV'](typeof __jestRetries,_0x2ff03d[_0x505a0a(0x247)])&&_0x2ff03d[_0x505a0a(0x285)](__jestRetries,0x0)&&jest['retryTimes'](__jestRetries);const _0x2aabdf='browserstack internal helper hook';_0x2ff03d[_0x505a0a(0x16e)](typeof jasmine,_0x2ff03d['UgZPU'])&&jasmine[_0x505a0a(0x20c)]()[_0x505a0a(0x22a)]({'specStarted':_0x1a819=>{jasmine['currentTest']=_0x1a819;}});let _0x2176a8=![];try{await __drivers[0x0][_0x505a0a(0x194)],_0x2176a8=!![];}catch(_0x580fa7){logger[_0x505a0a(0x21b)]('Exception\x20in\x20jest\x20driver\x20with\x20error:\x20'+_0x580fa7);const _0x2389ad={};_0x2389ad[_0x505a0a(0x226)]=_0x2ff03d[_0x505a0a(0x1b4)],PerformanceTester[_0x505a0a(0x1c4)](PerformanceHookEvents[_0x505a0a(0x237)],![],_0x580fa7,_0x2389ad);}if(_0x2176a8)try{_0x2ff03d['duFCz'](shouldProcessEventForTesthub)&&(__drivers[0x0]&&await _0x2ff03d[_0x505a0a(0x219)](sendPlatformDetails,__drivers[0x0],TestDetails[_0x505a0a(0x23d)](process[_0x505a0a(0x277)]+_0x505a0a(0x17d))));}catch(_0x46e26a){logger['debug'](_0x505a0a(0x223)+_0x46e26a);const _0x48c7a8={};_0x48c7a8['hookType']=_0x2ff03d['gcVVA'],PerformanceTester[_0x505a0a(0x1c4)](PerformanceHookEvents[_0x505a0a(0x237)],![],_0x46e26a,_0x48c7a8);}const _0xbb785f={};_0xbb785f[_0x505a0a(0x226)]=_0x2ff03d[_0x505a0a(0x1b4)],PerformanceTester[_0x505a0a(0x1c4)](PerformanceHookEvents[_0x505a0a(0x237)],!![],null,_0xbb785f);}),beforeEach(async()=>{const _0x8d3fc1=a24_0x5bac4d,_0x39f12c={'RkMvD':'inside\x20before\x20each\x20jest\x20hook','GZnjx':_0x8d3fc1(0x25b),'mCAVM':function(_0x5b8dc0,_0x5ca927,_0x123659){return _0x5b8dc0(_0x5ca927,_0x123659);},'oZjyp':_0x8d3fc1(0x269),'pfPSE':'puppeteer','EWRXr':_0x8d3fc1(0x181),'GzBEA':function(_0x976cd0,_0x1b18a0){return _0x976cd0(_0x1b18a0);},'RXhzI':_0x8d3fc1(0x24f),'bNfFk':_0x8d3fc1(0x187),'uDYtU':'../utils/puppeteer-patcher','kJheM':_0x8d3fc1(0x257),'ejSYH':_0x8d3fc1(0x216),'kpgBc':function(_0x381f1d,_0x1f3152){return _0x381f1d>_0x1f3152;},'awVhw':function(_0x4bc377,_0x39a744){return _0x4bc377>_0x39a744;},'utWwW':function(_0x2c1cd1){return _0x2c1cd1();},'AykPQ':function(_0x595745,_0x6228c9){return _0x595745>_0x6228c9;},'EHjQO':function(_0x1d8c46){return _0x1d8c46();},'PINgJ':function(_0x28382c,_0x81d478){return _0x28382c>_0x81d478;},'SIEfg':_0x8d3fc1(0x266),'wyUXR':'bstackA11yShouldScan','mBhxn':function(_0x493370,_0x2d8a69){return _0x493370>_0x2d8a69;},'rFiMs':_0x8d3fc1(0x22b),'rHUrw':function(_0x320c64,_0x2f9a9a){return _0x320c64===_0x2f9a9a;},'ygZvs':_0x8d3fc1(0x272),'ictBS':function(_0xe3c7c7,_0x4200c1){return _0xe3c7c7===_0x4200c1;},'Aaggi':_0x8d3fc1(0x278),'JMunQ':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','WFFSy':function(_0x14cfc5,_0x4e6130){return _0x14cfc5(_0x4e6130);},'KlHHc':'../v2/browserstackCLI','inDQs':'../utils/constants','rVUYL':_0x8d3fc1(0x24c),'PXKGS':'../v2/state/hookState','RyMOj':function(_0x5a55f2,_0x333acd){return _0x5a55f2||_0x333acd;},'QkBAp':_0x8d3fc1(0x1ee),'lYxCg':function(_0x209c73,_0x969adb){return _0x209c73||_0x969adb;},'ZEVEg':'jest-test','yatWb':function(_0x27fd6b,_0x275e82){return _0x27fd6b&&_0x275e82;},'MiXqy':_0x8d3fc1(0x1d7),'DGDnE':function(_0x1c61c8,_0x16b6f7){return _0x1c61c8===_0x16b6f7;},'HyTCi':function(_0x27a1c2,_0x45cecf){return _0x27a1c2===_0x45cecf;},'mxuJG':function(_0x3d25a1,_0x4c46b2){return _0x3d25a1>_0x4c46b2;}};logger[_0x8d3fc1(0x21b)](_0x39f12c[_0x8d3fc1(0x190)]),PerformanceTester[_0x8d3fc1(0x284)](PerformanceHookEvents['SDK_HOOK']);const _0x461c3a='browserstack internal helper hook';let _0x2d59d7=!![],_0x3c65e8=null;try{const _0x5732ef=expect[_0x8d3fc1(0x1ac)]()[_0x8d3fc1(0x21c)];globals[_0x8d3fc1(0x1e7)](_0x39f12c[_0x8d3fc1(0x16b)],_0x5732ef);const _0x28abbc=_0x39f12c[_0x8d3fc1(0x17c)](shouldScanTestForAccessibility,_0x5732ef,![]),_0x45f447=helper[_0x8d3fc1(0x1f3)](_0x39f12c['oZjyp']),_0x903ba3=helper[_0x8d3fc1(0x1f3)](_0x39f12c[_0x8d3fc1(0x1d4)])||helper['getPackageVersion'](_0x39f12c[_0x8d3fc1(0x177)]);if(!!_0x45f447)try{_0x3c65e8=_0x39f12c[_0x8d3fc1(0x1a2)](require,_0x39f12c['RXhzI']),logger[_0x8d3fc1(0x21b)](_0x39f12c[_0x8d3fc1(0x1f6)]);}catch(_0x36575f){logger[_0x8d3fc1(0x21b)]('Error\x20loading\x20playwright-patcher:\x20'+util[_0x8d3fc1(0x274)](_0x36575f));}else{if(!!_0x903ba3)try{_0x3c65e8=_0x39f12c[_0x8d3fc1(0x1a2)](require,_0x39f12c[_0x8d3fc1(0x273)]),logger[_0x8d3fc1(0x21b)](_0x39f12c['kJheM']);}catch(_0x9558c9){logger[_0x8d3fc1(0x21b)](_0x8d3fc1(0x200)+util[_0x8d3fc1(0x274)](_0x9558c9));}}try{const _0x452969=_0x39f12c['ejSYH'][_0x8d3fc1(0x1ae)]('|');let _0x5aba96=0x0;while(!![]){switch(_0x452969[_0x5aba96++]){case'0':!_0x3c65e8&&_0x39f12c[_0x8d3fc1(0x1a9)](__drivers[_0x8d3fc1(0x1bf)],0x0)&&_0x39f12c['awVhw'](__drivers[0x0][_0x8d3fc1(0x188)],0x0)&&(_0x2d59d7=![],await _0x39f12c[_0x8d3fc1(0x251)](driverCleanup));continue;case'1':!_0x3c65e8&&_0x39f12c[_0x8d3fc1(0x18c)](__drivers[_0x8d3fc1(0x1bf)],0x1)&&(await _0x39f12c[_0x8d3fc1(0x212)](driverCleanup),__drivers[_0x8d3fc1(0x270)]());continue;case'2':Array[_0x8d3fc1(0x20b)](__drivers)&&__drivers[0x0]&&(__drivers[0x0][_0x8d3fc1(0x293)]=_0x5732ef);continue;case'3':global[_0x8d3fc1(0x293)]=_0x5732ef;continue;case'4':_0x3c65e8&&_0x39f12c[_0x8d3fc1(0x220)](__drivers['length'],0x0)&&(__drivers[0x0][_0x8d3fc1(0x293)]=_0x5732ef,__drivers[0x0][_0x8d3fc1(0x227)]=_0x28abbc);continue;}break;}}catch(_0xebb238){logger[_0x8d3fc1(0x21b)]('Failed\x20to\x20store\x20session\x20name:\x20'+_0xebb238);const _0x12bc95={};_0x12bc95[_0x8d3fc1(0x226)]=_0x39f12c['SIEfg'],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0xebb238,_0x12bc95);}globals[_0x8d3fc1(0x1e7)](_0x39f12c[_0x8d3fc1(0x22d)],_0x28abbc);if(global['__workerDetails']){const _0x168857=expect[_0x8d3fc1(0x1ac)]()[_0x8d3fc1(0x171)],_0x1061cc=global['__jestCurrentTestIdentifier'],_0x4383a6=expect['getState']()['currentTestName']||_0x5732ef;global['__workerDetails'][_0x8d3fc1(0x276)]={'id':_0x1061cc,'testAnalyticsId':_0x1061cc,'thTestRunUuid':TestDetails[_0x8d3fc1(0x23d)](process[_0x8d3fc1(0x277)]+_0x8d3fc1(0x17d)),'testInfo':{'title':_0x5732ef,'fullName':_0x4383a6,'displayName':_0x5732ef,'name':_0x4383a6,'testPath':_0x168857,'testIdentifier':_0x1061cc}},logger[_0x8d3fc1(0x21b)](_0x8d3fc1(0x26b)+_0x1061cc+_0x8d3fc1(0x261)+_0x5732ef+_0x8d3fc1(0x290)+_0x168857);}if(!_0x3c65e8&&_0x39f12c[_0x8d3fc1(0x212)](isAccessibilityAutomationSession)&&_0x2d59d7&&Array['isArray'](__drivers)&&_0x39f12c['mBhxn'](__drivers[_0x8d3fc1(0x1bf)],0x0)&&globals['getGlobal'](_0x39f12c[_0x8d3fc1(0x186)]))try{const _0x1050b6=await __drivers[0x0][_0x8d3fc1(0x194)];if(_0x1050b6){let _0x3d6287=!![];const _0x3e2029=await __drivers[0x0]['getCurrentUrl']();let _0x537330;try{_0x537330=new URL(_0x3e2029);}catch(_0x24ea22){_0x3d6287=![];}_0x3d6287=_0x39f12c[_0x8d3fc1(0x1a7)](_0x537330[_0x8d3fc1(0x294)],_0x39f12c['ygZvs'])||_0x39f12c[_0x8d3fc1(0x22c)](_0x537330[_0x8d3fc1(0x294)],_0x39f12c[_0x8d3fc1(0x17b)]),_0x3d6287&&(_0x28abbc&&logger[_0x8d3fc1(0x25c)](_0x39f12c[_0x8d3fc1(0x1b7)]));}}catch(_0xb3ac3){logger[_0x8d3fc1(0x23a)](_0x8d3fc1(0x239)+_0xb3ac3);const _0x148326={};_0x148326[_0x8d3fc1(0x226)]=_0x39f12c[_0x8d3fc1(0x248)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],er,_0x148326);}if(_0x3c65e8&&global['__workerDetails']&&global[_0x8d3fc1(0x218)]['currentTest'])try{await _0x3c65e8[_0x8d3fc1(0x221)](global[_0x8d3fc1(0x218)][_0x8d3fc1(0x276)][_0x8d3fc1(0x1ab)]);}catch(_0x4105d0){logger['debug'](_0x8d3fc1(0x1b9)+util[_0x8d3fc1(0x274)](_0x4105d0));}if(_0x3c65e8&&global['__workerDetails']&&global['__workerDetails'][_0x8d3fc1(0x276)])try{const _0x1919a8=_0x39f12c[_0x8d3fc1(0x215)](require,_0x39f12c[_0x8d3fc1(0x1e8)]),{FRAMEWORKS:_0x339580}=_0x39f12c[_0x8d3fc1(0x215)](require,_0x39f12c[_0x8d3fc1(0x214)]),_0x531e66=_0x39f12c[_0x8d3fc1(0x215)](require,_0x39f12c[_0x8d3fc1(0x20d)]),_0x289a54=_0x39f12c[_0x8d3fc1(0x215)](require,_0x39f12c[_0x8d3fc1(0x1f5)]);if(_0x1919a8[_0x8d3fc1(0x268)]()['isCliEnabled']()&&_0x1919a8[_0x8d3fc1(0x268)]()['isRunning']()){const _0x4b315f={'title':_0x39f12c[_0x8d3fc1(0x1d3)](_0x5732ef,_0x39f12c['QkBAp']),'titlePath':[_0x39f12c[_0x8d3fc1(0x1cc)](_0x5732ef,_0x39f12c['QkBAp'])],'id':global['__workerDetails'][_0x8d3fc1(0x276)]['id']||_0x39f12c[_0x8d3fc1(0x26c)],'testAnalyticsId':global[_0x8d3fc1(0x218)][_0x8d3fc1(0x276)][_0x8d3fc1(0x178)],'testPath':global[_0x8d3fc1(0x218)]['currentTest']['testInfo']?.[_0x8d3fc1(0x171)],...global['__workerDetails'][_0x8d3fc1(0x276)][_0x8d3fc1(0x1ab)]};global['__currentTestInfo']=_0x4b315f,logger[_0x8d3fc1(0x21b)](_0x8d3fc1(0x170)+_0x5732ef);try{const _0x5d1ce9=global[_0x8d3fc1(0x218)]?.[_0x8d3fc1(0x199)]||_0x3c65e8[_0x8d3fc1(0x1f1)]();if(_0x5d1ce9){const _0x200d95=_0x39f12c['yatWb'](!!_0x903ba3,!_0x45f447);let _0x3f6c52=null,_0x5d3903=null;try{_0x200d95?(_0x3f6c52=_0x39f12c[_0x8d3fc1(0x22c)](typeof _0x5d1ce9['browserContext'],_0x39f12c['MiXqy'])?_0x5d1ce9['browserContext']():null,_0x5d3903=_0x39f12c[_0x8d3fc1(0x18e)](typeof _0x5d1ce9[_0x8d3fc1(0x263)],_0x39f12c[_0x8d3fc1(0x224)])?_0x5d1ce9['browser']():null):(_0x3f6c52=_0x39f12c[_0x8d3fc1(0x1a7)](typeof _0x5d1ce9[_0x8d3fc1(0x1ea)],_0x39f12c[_0x8d3fc1(0x224)])?_0x5d1ce9[_0x8d3fc1(0x1ea)]():null,_0x5d3903=_0x3f6c52&&_0x39f12c['HyTCi'](typeof _0x3f6c52[_0x8d3fc1(0x263)],_0x39f12c['MiXqy'])?_0x3f6c52[_0x8d3fc1(0x263)]():null);}catch(_0x5e8ff7){logger['debug']('Error\x20getting\x20page\x20context/browser:\x20'+_0x5e8ff7[_0x8d3fc1(0x179)]);}const _0xb06388={};_0xb06388['page']=_0x5d1ce9,_0xb06388[_0x8d3fc1(0x1ea)]=_0x3f6c52,_0xb06388[_0x8d3fc1(0x263)]=_0x5d3903,_0xb06388[_0x8d3fc1(0x1ab)]=_0x4b315f,_0xb06388['testFramework']=_0x339580['JEST'],_0xb06388['launchCaps']=global[_0x8d3fc1(0x256)],_0xb06388[_0x8d3fc1(0x1dc)]=global[_0x8d3fc1(0x208)],await _0x1919a8[_0x8d3fc1(0x268)]()[_0x8d3fc1(0x197)]()[_0x8d3fc1(0x20f)](_0x531e66[_0x8d3fc1(0x16c)],_0x289a54[_0x8d3fc1(0x27b)],_0xb06388),logger[_0x8d3fc1(0x21b)](_0x8d3fc1(0x183)+_0x5732ef+'\x20with\x20testIdentifier:\x20'+(_0x4b315f[_0x8d3fc1(0x178)]||_0x4b315f['id']));}else logger[_0x8d3fc1(0x21b)](_0x8d3fc1(0x1c5)+_0x5732ef+',\x20CREATE\x20POST\x20will\x20be\x20triggered\x20when\x20page\x20is\x20created');}catch(_0x37d17e){logger[_0x8d3fc1(0x21b)]('Error\x20triggering\x20CREATE\x20POST\x20event\x20for\x20test:\x20'+util[_0x8d3fc1(0x274)](_0x37d17e));}}}catch(_0x2cad7f){logger[_0x8d3fc1(0x21b)](_0x8d3fc1(0x205)+util['format'](_0x2cad7f));}!_0x3c65e8&&_0x39f12c[_0x8d3fc1(0x1a5)](__drivers[_0x8d3fc1(0x1bf)],0x0)&&_0x39f12c[_0x8d3fc1(0x21e)](__drivers[0x0][_0x8d3fc1(0x188)],0x0)&&await _0x39f12c[_0x8d3fc1(0x251)](driverCleanup);}catch(_0x3ff6eb){logger[_0x8d3fc1(0x21b)](_0x8d3fc1(0x240)+_0x3ff6eb);const _0xbd5bdd={};_0xbd5bdd[_0x8d3fc1(0x226)]=_0x39f12c['SIEfg'],PerformanceTester[_0x8d3fc1(0x1c4)](PerformanceHookEvents['SDK_HOOK'],![],_0x3ff6eb,_0xbd5bdd);}const _0x204180={};_0x204180[_0x8d3fc1(0x226)]=_0x39f12c[_0x8d3fc1(0x248)],PerformanceTester[_0x8d3fc1(0x1c4)](PerformanceHookEvents[_0x8d3fc1(0x237)],!![],null,_0x204180);}),afterEach(async()=>{const _0x4a92a3=a24_0x5bac4d,_0x141d74={'bxnoT':_0x4a92a3(0x289),'zaNOT':function(_0x4b4996,_0x3f3de0){return _0x4b4996>_0x3f3de0;},'oZgYU':'@playwright/test','qCrsK':_0x4a92a3(0x1f2),'fKQRj':_0x4a92a3(0x181),'gFDxH':function(_0x1d0bfd,_0x369c98){return _0x1d0bfd(_0x369c98);},'aUvrg':_0x4a92a3(0x24f),'hVVDM':'../utils/puppeteer-patcher','NmhDC':_0x4a92a3(0x1f8),'zpwkG':_0x4a92a3(0x27a),'ObHPW':function(_0x3dfad0,_0x13de29){return _0x3dfad0!==_0x13de29;},'kejnq':'undefined','NYXLp':function(_0x6cd7b1,_0x410767){return _0x6cd7b1>_0x410767;},'mBHTi':function(_0x2594cb,_0x16dafc){return _0x2594cb(_0x16dafc);},'UtsHF':_0x4a92a3(0x1e5),'BDnuS':'passed','haIUS':function(_0x593c08,_0x5b7a5e){return _0x593c08&&_0x5b7a5e;},'gqWjx':'Unknown\x20Test','Oyboc':_0x4a92a3(0x189),'gqrsc':_0x4a92a3(0x1a8),'BbZVQ':_0x4a92a3(0x1b3),'DjXQI':_0x4a92a3(0x231),'Rsqop':_0x4a92a3(0x1f9),'KfgMn':function(_0x11c136,_0x3c38fc){return _0x11c136>_0x3c38fc;},'Pekav':function(_0x458616){return _0x458616();},'IrfzE':function(_0xef8197,_0x56a5dd){return _0xef8197===_0x56a5dd;},'QfhdH':_0x4a92a3(0x1e3),'mZuvg':_0x4a92a3(0x1c8),'mVqEO':function(_0x48adec,_0x54f5e1,_0x5bf3f3,_0x49aa61){return _0x48adec(_0x54f5e1,_0x5bf3f3,_0x49aa61);},'FztXv':_0x4a92a3(0x23f),'zTLOS':function(_0x3a36cc,_0x22894a,_0x19d4ca){return _0x3a36cc(_0x22894a,_0x19d4ca);},'Dxtzm':_0x4a92a3(0x22b),'VUynF':_0x4a92a3(0x227),'IsRZO':_0x4a92a3(0x27f),'XqShY':_0x4a92a3(0x25e),'dcxiC':_0x4a92a3(0x24b),'WqHze':_0x4a92a3(0x1b5),'OkqBg':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','eQUGW':function(_0x1a3405){return _0x1a3405();},'ngyhF':function(_0x3bcf17,_0x4bc7a4,_0x4a3555){return _0x3bcf17(_0x4bc7a4,_0x4a3555);},'HqWUo':_0x4a92a3(0x21b),'WMHCd':function(_0xae12b0,_0x2ba6dc){return _0xae12b0>_0x2ba6dc;},'BgkAa':function(_0x2e817d){return _0x2e817d();}};logger['debug'](_0x141d74[_0x4a92a3(0x1d2)]),PerformanceTester[_0x4a92a3(0x284)](PerformanceHookEvents[_0x4a92a3(0x237)]);const _0x4517b4='browserstack internal helper hook';let _0x49cc57=![],_0x568683=![],_0x30b73b=null;try{global['__drivers']&&_0x141d74[_0x4a92a3(0x1fe)](global['__drivers'][_0x4a92a3(0x1bf)],0x0)&&(_0x49cc57=!![]);if(global[_0x4a92a3(0x218)]&&global['__workerDetails'][_0x4a92a3(0x199)]){const _0x1b9c3e=helper['getPackageVersion'](_0x141d74[_0x4a92a3(0x1ec)]),_0x18687c=helper[_0x4a92a3(0x1f3)](_0x141d74[_0x4a92a3(0x1df)])||helper['getPackageVersion'](_0x141d74[_0x4a92a3(0x28f)]);try{if(_0x1b9c3e)_0x30b73b=_0x141d74[_0x4a92a3(0x1ef)](require,_0x141d74[_0x4a92a3(0x25a)]);else _0x18687c&&(_0x30b73b=_0x141d74['gFDxH'](require,_0x141d74[_0x4a92a3(0x1eb)]));_0x568683=!![],logger[_0x4a92a3(0x21b)]((_0x1b9c3e?_0x141d74[_0x4a92a3(0x1e6)]:_0x141d74[_0x4a92a3(0x185)])+_0x4a92a3(0x180)+!!global['__workerDetails'][_0x4a92a3(0x199)]);}catch(_0x45629e){logger['debug'](_0x4a92a3(0x1fa)+util[_0x4a92a3(0x274)](_0x45629e));}}}catch(_0x1e1bc5){logger[_0x4a92a3(0x21b)](_0x4a92a3(0x211)+_0x1e1bc5);}logger[_0x4a92a3(0x21b)]('Flow\x20detection:\x20isSeleniumFlow='+_0x49cc57+_0x4a92a3(0x196)+_0x568683);if(_0x568683){const _0x5c4316=_0x30b73b[_0x4a92a3(0x1f1)]();try{let _0x572962=null,_0x50a4c0=![];if(_0x141d74[_0x4a92a3(0x1b1)](typeof jasmine,_0x141d74[_0x4a92a3(0x191)]))jasmine[_0x4a92a3(0x276)][_0x4a92a3(0x16f)]&&_0x141d74['zaNOT'](jasmine['currentTest'][_0x4a92a3(0x16f)][_0x4a92a3(0x1bf)],0x0)?(_0x50a4c0=!![],_0x572962=_0x141d74[_0x4a92a3(0x1ef)](stripUnicode,JSON['stringify'](jasmine[_0x4a92a3(0x276)][_0x4a92a3(0x16f)][0x0][_0x4a92a3(0x179)]))):_0x572962=_0x141d74[_0x4a92a3(0x1ef)](stripUnicode,JSON['stringify'](jasmine['currentTest']['description']));else{logger['debug'](_0x4a92a3(0x20e)+util['inspect'](testContext));const _0x405d4f=global[_0x4a92a3(0x1d9)]||testContext,_0xbbbf1a=_0x405d4f&&_0x405d4f[_0x4a92a3(0x172)]?_0x405d4f[_0x4a92a3(0x172)]:[];if(_0x141d74[_0x4a92a3(0x279)](_0xbbbf1a[_0x4a92a3(0x1bf)],0x0)){_0x50a4c0=!![];const _0x3de473=Array[_0x4a92a3(0x20b)](_0xbbbf1a[0x0])?_0xbbbf1a[0x0][0x0]:_0xbbbf1a[0x0];_0x572962=_0x141d74[_0x4a92a3(0x1ef)](stripUnicode,JSON[_0x4a92a3(0x27c)](_0x3de473[_0x4a92a3(0x179)]||_0x3de473));}else _0x572962=_0x141d74[_0x4a92a3(0x1da)](stripUnicode,JSON[_0x4a92a3(0x27c)](_0x405d4f?_0x405d4f[_0x4a92a3(0x1e0)]:testContext[_0x4a92a3(0x1e0)]));}const _0x1be6c3=_0x50a4c0?_0x141d74[_0x4a92a3(0x1ff)]:_0x141d74[_0x4a92a3(0x238)];_0x141d74[_0x4a92a3(0x18b)](_0x50a4c0,_0x572962)&&!__error_messages__[_0x4a92a3(0x265)](_0x572962)&&__error_messages__[_0x4a92a3(0x292)](_0x572962);const _0x406cf7={'title':global[_0x4a92a3(0x218)]?.[_0x4a92a3(0x276)]?.[_0x4a92a3(0x1ab)]?.['title']||_0x141d74[_0x4a92a3(0x1c9)],'titlePath':[global[_0x4a92a3(0x218)]?.[_0x4a92a3(0x276)]?.[_0x4a92a3(0x1ab)]?.['title']||_0x141d74[_0x4a92a3(0x1c9)]],'id':global['__workerDetails']?.['currentTest']?.['id']||_0x141d74['Oyboc'],'status':_0x1be6c3,'error':_0x572962?{'message':_0x572962}:null,'testAnalyticsId':global[_0x4a92a3(0x218)]?.['currentTest']?.['testAnalyticsId'],'testPath':global[_0x4a92a3(0x218)]?.['currentTest']?.[_0x4a92a3(0x1ab)]?.[_0x4a92a3(0x171)],...global[_0x4a92a3(0x218)]['currentTest']['testInfo']},_0x16cb0c=_0x406cf7;try{if(BrowserstackCLI['getInstance']()[_0x4a92a3(0x281)]()&&BrowserstackCLI['getInstance']()[_0x4a92a3(0x25d)]()){const _0x1f3321={};_0x1f3321[_0x4a92a3(0x1ab)]=_0x16cb0c,_0x1f3321['page']=_0x5c4316,_0x1f3321[_0x4a92a3(0x28a)]=FRAMEWORKS[_0x4a92a3(0x245)],await BrowserstackCLI[_0x4a92a3(0x268)]()['getAutomationFramework']()[_0x4a92a3(0x20f)](AutomationFrameworkState[_0x4a92a3(0x259)],HookState[_0x4a92a3(0x1c1)],_0x1f3321),logger[_0x4a92a3(0x21b)]('QUIT\x20PRE\x20event\x20completed\x20for\x20test:\x20'+_0x16cb0c[_0x4a92a3(0x18f)]);}}catch(_0x5c7013){logger[_0x4a92a3(0x21b)]('Error\x20triggering\x20QUIT\x20PRE\x20event:\x20'+util['format'](_0x5c7013));}global['__workerDetails']&&global[_0x4a92a3(0x218)][_0x4a92a3(0x276)]&&global['__workerDetails'][_0x4a92a3(0x276)][_0x4a92a3(0x1ab)]?await _0x30b73b[_0x4a92a3(0x193)](global[_0x4a92a3(0x218)][_0x4a92a3(0x276)][_0x4a92a3(0x1ab)],_0x1be6c3,_0x50a4c0?_0x572962:null):logger[_0x4a92a3(0x21b)](_0x141d74[_0x4a92a3(0x288)]);try{await _0x30b73b['executeDeferredCloses'](),logger[_0x4a92a3(0x21b)](_0x141d74[_0x4a92a3(0x1b0)]);}catch(_0x373e15){logger[_0x4a92a3(0x21b)]('Error\x20executing\x20deferred\x20closes:\x20'+util['format'](_0x373e15));}try{_0x30b73b[_0x4a92a3(0x204)]['cleanup'](),logger['debug'](_0x141d74[_0x4a92a3(0x1c2)]);}catch(_0x5e62e8){logger[_0x4a92a3(0x21b)](_0x4a92a3(0x1e1)+util['format'](_0x5e62e8));}}catch(_0x2f0554){logger[_0x4a92a3(0x21b)]('Error\x20in\x20pw-jest\x20afterEach:\x20'+util[_0x4a92a3(0x274)](_0x2f0554));try{_0x30b73b[_0x4a92a3(0x16d)]&&(await _0x30b73b['executeDeferredCloses'](),logger[_0x4a92a3(0x21b)](_0x141d74[_0x4a92a3(0x267)]));}catch(_0x29eb26){logger[_0x4a92a3(0x21b)](_0x4a92a3(0x235)+util['format'](_0x29eb26));}}}else try{!_0x568683&&_0x141d74[_0x4a92a3(0x24a)](__drivers[_0x4a92a3(0x1bf)],0x1)&&(await _0x141d74[_0x4a92a3(0x1cb)](driverCleanup),__drivers[_0x4a92a3(0x270)]());try{if(global[_0x4a92a3(0x210)]&&_0x141d74[_0x4a92a3(0x21a)](global[_0x4a92a3(0x252)],_0x141d74[_0x4a92a3(0x244)])&&__drivers[0x0]){const _0x50a8d9=_0x141d74[_0x4a92a3(0x24a)](global[_0x4a92a3(0x255)][_0x4a92a3(0x1bf)],0x0)?!!global[_0x4a92a3(0x255)][0x0][_0x4a92a3(0x228)]||!!global[_0x4a92a3(0x255)][0x0][_0x141d74[_0x4a92a3(0x1f4)]]:![],_0x27fea1={};_0x27fea1[_0x4a92a3(0x228)]=_0x50a8d9,await _0x141d74[_0x4a92a3(0x1b2)](percyAutoCapture,__drivers[0x0],_0x141d74[_0x4a92a3(0x244)],_0x27fea1);}}catch(_0x179b14){logger[_0x4a92a3(0x21b)](_0x4a92a3(0x1d0)+_0x179b14);const _0x37cf49={};_0x37cf49['hookType']=_0x141d74[_0x4a92a3(0x27d)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x179b14,_0x37cf49);}const _0x23d5ff=_0x141d74['zTLOS'](shouldScanTestForAccessibility,expect['getState']()[_0x4a92a3(0x21c)],![]);try{if(_0x141d74[_0x4a92a3(0x1cb)](isAccessibilityAutomationSession)&&globals['getGlobal'](_0x141d74[_0x4a92a3(0x234)])&&globals['getGlobal'](_0x141d74[_0x4a92a3(0x232)])){logger[_0x4a92a3(0x25c)](_0x141d74[_0x4a92a3(0x1be)]);const _0xc060d1={'thTestRunUuid':TestDetails[_0x4a92a3(0x23d)](process[_0x4a92a3(0x277)]+':testAnalyticsId'),'thBuildUuid':process[_0x4a92a3(0x25f)][testHubConstants[_0x4a92a3(0x1d6)][_0x4a92a3(0x21f)]],'thJwtToken':process[_0x4a92a3(0x25f)][testHubConstants[_0x4a92a3(0x1d6)][_0x4a92a3(0x275)]]};logger[_0x4a92a3(0x21b)](_0x4a92a3(0x283)+JSON['stringify'](_0xc060d1)),logger[_0x4a92a3(0x21b)](_0x141d74['XqShY']);const _0x36061c={};_0x36061c[_0x4a92a3(0x242)]=_0x141d74[_0x4a92a3(0x230)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x38368e=_0x4a92a3;logger['debug'](util[_0x38368e(0x274)](await __drivers[0x0][_0x38368e(0x26a)](scripts[_0x38368e(0x260)],{'method':expect[_0x38368e(0x1ac)]()[_0x38368e(0x21c)]})));},_0x36061c)(),globals[_0x4a92a3(0x236)](_0x141d74[_0x4a92a3(0x1e2)])&&(_0xc060d1[_0x4a92a3(0x225)]=!![]),await PerformanceTester[_0x4a92a3(0x1bb)](PerformanceA11yEvents[_0x4a92a3(0x254)],async()=>{const _0x4d7b81=_0x4a92a3;await __drivers[0x0][_0x4d7b81(0x26a)](scripts['saveTestResults'],_0xc060d1);})(),logger[_0x4a92a3(0x25c)](_0x141d74[_0x4a92a3(0x1a3)]);}}catch(_0x59e8e1){logger[_0x4a92a3(0x23a)](_0x4a92a3(0x1aa)+expect[_0x4a92a3(0x1ac)]()[_0x4a92a3(0x21c)]+_0x4a92a3(0x1a6),_0x59e8e1);}await _0x141d74['eQUGW'](setContext);try{if(_0x141d74[_0x4a92a3(0x19f)](shouldProcessEventForTesthub)){_0x141d74['NYXLp'](global[_0x4a92a3(0x1c6)]['length'],0x0)&&global[_0x4a92a3(0x1c6)][0x0]&&await _0x141d74['ngyhF'](sendPlatformDetails,global[_0x4a92a3(0x1c6)][0x0],TestDetails[_0x4a92a3(0x23d)](process['pid']+_0x4a92a3(0x17d)));if(_0x141d74[_0x4a92a3(0x1cb)](isBrowserstackInfra)){PerformanceTester[_0x4a92a3(0x284)](PerformanceO11yEvents[_0x4a92a3(0x1d8)]);const _0x22f31b='ObservabilitySync:'+Date[_0x4a92a3(0x217)]();await _0x141d74['zTLOS'](executeAnnotate,JSON['stringify'](_0x22f31b),_0x141d74[_0x4a92a3(0x19b)]),PerformanceTester[_0x4a92a3(0x1c4)](PerformanceO11yEvents[_0x4a92a3(0x1d8)]);}}}catch(_0x113c14){logger[_0x4a92a3(0x21b)](_0x4a92a3(0x223)+_0x113c14),PerformanceTester[_0x4a92a3(0x1c4)](PerformanceO11yEvents[_0x4a92a3(0x1d8)],![],_0x113c14);}!_0x568683&&_0x141d74['WMHCd'](__drivers[_0x4a92a3(0x1bf)],0x0)&&_0x141d74[_0x4a92a3(0x28d)](__drivers[0x0][_0x4a92a3(0x188)],0x0)&&await _0x141d74['BgkAa'](driverCleanup);const _0x10ffa4={};_0x10ffa4[_0x4a92a3(0x226)]=_0x141d74[_0x4a92a3(0x27d)],PerformanceTester[_0x4a92a3(0x1c4)](PerformanceHookEvents[_0x4a92a3(0x237)],!![],null,_0x10ffa4);}catch(_0x34ddfe){logger[_0x4a92a3(0x21b)](_0x4a92a3(0x17a)+_0x34ddfe);const _0x966785={};_0x966785[_0x4a92a3(0x226)]=_0x141d74[_0x4a92a3(0x27d)],PerformanceTester[_0x4a92a3(0x1c4)](PerformanceHookEvents[_0x4a92a3(0x237)],![],_0x34ddfe,_0x966785);}},TEST_FRAMEWORK_HOOK_TIMEOUT['Jest']),afterAll(async()=>{const _0x1512fb=a24_0x5bac4d,_0x482728={'YxGEc':function(_0x5c46b5,_0x10db5e){return _0x5c46b5<=_0x10db5e;},'yBWdt':function(_0x817174,_0x17a3dc){return _0x817174(_0x17a3dc);},'VlUrS':function(_0x2a4599){return _0x2a4599();},'ZzKWU':function(_0x2feeb6,_0x137206,_0x4e6135){return _0x2feeb6(_0x137206,_0x4e6135);},'mroqq':_0x1512fb(0x264),'rsKbU':'@playwright/test','XUHxT':_0x1512fb(0x1f2),'QoAOm':_0x1512fb(0x181),'oHsDI':_0x1512fb(0x24f),'HxZih':_0x1512fb(0x1d1),'FpjLh':_0x1512fb(0x18d),'JoaYg':function(_0x38e1a0,_0x367c9d){return _0x38e1a0||_0x367c9d;},'tbhyY':_0x1512fb(0x206),'CPBXL':_0x1512fb(0x174),'xeWIM':function(_0x2e5946,_0x580747){return _0x2e5946===_0x580747;},'gPiHL':_0x1512fb(0x1d7),'ihlzI':'Successfully\x20closed\x20page\x20via\x20fallback','ftPfe':_0x1512fb(0x192),'frbrS':'Cleaned\x20up\x20page\x20references\x20after\x20deferred\x20closes','foEuH':_0x1512fb(0x287)};PerformanceTester[_0x1512fb(0x284)](PerformanceHookEvents['SDK_HOOK']),jest[_0x1512fb(0x1fb)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x482728[_0x1512fb(0x1e4)]]),PerformanceTester['stopMonitoring']();const _0x541fd3='browserstack internal helper hook';let _0x3ababb=![];try{const _0x21850f=helper[_0x1512fb(0x1f3)](_0x482728['rsKbU']),_0x57e933=helper['getPackageVersion'](_0x482728[_0x1512fb(0x253)])||helper['getPackageVersion'](_0x482728['QoAOm']),_0x4259fd=_0x21850f?_0x482728[_0x1512fb(0x1a4)](require,_0x482728['oHsDI']):_0x57e933?_0x482728[_0x1512fb(0x1a4)](require,_0x482728[_0x1512fb(0x1f7)]):null;if(!_0x4259fd)throw new Error(_0x482728[_0x1512fb(0x19c)]);const _0x1edd95=global['__workerDetails']?.[_0x1512fb(0x199)],_0x71a124=_0x4259fd[_0x1512fb(0x1f1)](),_0x1ff86c=_0x482728['JoaYg'](_0x1edd95,_0x71a124);if(_0x1ff86c){_0x3ababb=!![];try{await _0x4259fd[_0x1512fb(0x16d)](),logger['debug'](_0x482728[_0x1512fb(0x241)]);}catch(_0x38b781){logger[_0x1512fb(0x21b)]('Error\x20executing\x20deferred\x20closes:\x20'+util[_0x1512fb(0x274)](_0x38b781));try{const _0x34d745=_0x4259fd['getPageFromAutomationFramework']();_0x34d745&&(logger[_0x1512fb(0x21b)](_0x482728['CPBXL']),_0x482728[_0x1512fb(0x20a)](typeof _0x34d745[_0x1512fb(0x23e)],_0x482728[_0x1512fb(0x16a)])&&(await _0x34d745[_0x1512fb(0x23e)](),logger[_0x1512fb(0x21b)](_0x482728[_0x1512fb(0x203)])));}catch(_0x1a0453){logger['debug'](_0x1512fb(0x1c0)+util['format'](_0x1a0453));}}try{if(global[_0x1512fb(0x218)]){global[_0x1512fb(0x218)][_0x1512fb(0x199)]=null,global[_0x1512fb(0x218)][_0x1512fb(0x233)]=![];const _0x5eb1ca={};_0x5eb1ca['id']=undefined,_0x5eb1ca[_0x1512fb(0x1ab)]=undefined,global[_0x1512fb(0x218)][_0x1512fb(0x276)]=_0x5eb1ca;}_0x4259fd[_0x1512fb(0x204)]&&_0x4259fd[_0x1512fb(0x204)][_0x1512fb(0x19d)]&&(_0x4259fd[_0x1512fb(0x204)]['cleanup'](),logger['debug'](_0x482728[_0x1512fb(0x250)])),logger[_0x1512fb(0x21b)](_0x482728['frbrS']);}catch(_0x2b2910){logger[_0x1512fb(0x21b)](_0x1512fb(0x1cf)+util[_0x1512fb(0x274)](_0x2b2910));}__error_messages__=[];}}catch(_0x1a21ff){logger[_0x1512fb(0x21b)]('Error\x20handling\x20Playwright/Puppeteer\x20test\x20cleanup:\x20'+util[_0x1512fb(0x274)](_0x1a21ff));try{const _0x131663=helper[_0x1512fb(0x1f3)](_0x482728['rsKbU']),_0x306c5b=helper[_0x1512fb(0x1f3)](_0x482728[_0x1512fb(0x253)])||helper['getPackageVersion'](_0x482728['QoAOm']),_0x5545b5=_0x131663?_0x482728[_0x1512fb(0x1a4)](require,_0x482728[_0x1512fb(0x27e)]):_0x306c5b?_0x482728[_0x1512fb(0x1a4)](require,_0x482728[_0x1512fb(0x1f7)]):null;_0x5545b5&&await _0x5545b5[_0x1512fb(0x16d)]();}catch(_0x3e18b1){logger[_0x1512fb(0x21b)](_0x1512fb(0x235)+util[_0x1512fb(0x274)](_0x3e18b1));}}await new Promise(_0x42d82f=>{const _0x46367d=_0x1512fb,_0x3d478b=_0x482728[_0x46367d(0x1a1)](setInterval,async()=>{const _0x4699a9=_0x46367d;_0x482728[_0x4699a9(0x213)](RequestQueueHandler[_0x4699a9(0x268)]()[_0x4699a9(0x26f)],0x0)&&(_0x482728[_0x4699a9(0x1a4)](clearInterval,_0x3d478b),_0x482728[_0x4699a9(0x175)](_0x42d82f));},0x3e8);});try{!_0x3ababb&&await _0x482728['VlUrS'](driverCleanup);}catch(_0x3e71dc){logger[_0x1512fb(0x21b)](_0x1512fb(0x271)+_0x3e71dc);const _0x2a6353={};_0x2a6353[_0x1512fb(0x226)]=_0x482728[_0x1512fb(0x28e)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x3e71dc,_0x2a6353);}process[_0x1512fb(0x207)]();const _0x3098a9={};_0x3098a9[_0x1512fb(0x226)]=_0x482728[_0x1512fb(0x28e)],PerformanceTester[_0x1512fb(0x1c4)](PerformanceHookEvents[_0x1512fb(0x237)],!![],null,_0x3098a9);},TEST_FRAMEWORK_HOOK_TIMEOUT[a24_0x5bac4d(0x264)]);
|
|
1
|
+
function a24_0x1339(){const _0x268fa5=['split','Qpskd','zbyBB','includes','zqnTj','debug','command','zJhdc','../../helpers/performance/constants','eFwjr','bVHdD','../../helpers/testhub/constants','iyeWX','BdXeF','qqMQa','__workerDetails','TClbC','Unknown\x20Test','70eENcjJ','hhaKH','pid','jPdHX','vqrbk','.\x20Error\x20:','tYCZi','qXayV','WTELm','__launchCaps','BROWSERSTACK_TESTHUB_UUID','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','failed','addReporter','./test-observability/test-details','dIWcd','Successfully\x20executed\x20deferred\x20Playwright\x20closes\x20(with\x20force\x20close)','BmgLv',',\x20testName=','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','kCIDj','3almtMz','PZtzG','../../helpers/test-observability/utils','tLNMD','stream/web','sjSBL','bstackA11yShouldScan','jest-test','vFJwn','ymzVv','inspect','currentTestName','ffaNx','tijur','getEnv','__platformCaps','pyYwS','Error\x20handling\x20Playwright/Puppeteer\x20test\x20cleanup:\x20','ODKGS','QQbuq','getAutomationFramework','TvahN','description','getGlobal','nfHQh','GIRqs','mWVYF','Test\x20info\x20prepared\x20for\x20CREATE\x20PRE\x20event:\x20','IwBUL','CREATE','removeAllListeners','../../helpers/accessibility-automation/scripts','percyCaptureMode','currentTest','QUIT\x20PRE\x20event\x20completed\x20for\x20test:\x20','../utils/playwright-patcher','../utils/puppeteer-patcher','undefined','ZrUyk','getPageFromAutomationFramework','puppeteer','GynZS','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','1384610GukhZK','retryTimes','browserstackTestName','pendingUploads','Playwright','SESSION_STATUS','launchCaps','shift','slice','testFramework','VyjaP','../../helpers/globals','[Jest\x20Setup]\x20beforeEach:\x20testIdentifier=','1162570FJWiTA','ByBRm','executeScript','executeAsyncScript','Error\x20cleaning\x20up\x20after\x20deferred\x20closes:\x20','MhkzD','KiCTX','tPuvJ','fPLBu','app','testAnalyticsId','wmgAz','Exception\x20in\x20jest\x20driver\x20with\x20error:\x20','fOsFV','Error\x20getting\x20page\x20context/browser:\x20','browserContext','afterAll','Cleaned\x20up\x20page\x20references\x20after\x20deferred\x20closes','Exception\x20in\x20jest\x20process\x20event\x20with\x20error:\x20','Error\x20cleaning\x20up\x20close\x20tracker:\x20','GEQKs','../../helpers/test-observability/constants','stringify','isMobilePlatform','Error\x20loading\x20puppeteer-patcher:\x20',',\x20testPath=','push','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Failed\x20-\x20','Error\x20in\x20pw-jest\x20afterEach:\x20','beforeEach','../../helpers/logger','No\x20page\x20available\x20yet\x20for\x20test:\x20','Attempting\x20direct\x20page\x20close\x20fallback\x20for\x20Android','Error\x20preparing\x20AutomationFramework\x20events:\x20','BntMF','initQuit','BZynY','Error\x20loading\x20patcher\x20in\x20afterEach:\x20','SDK_HOOK','hookType','closeTracker','format','Exception\x20in\x20jest\x20hook\x20with\x20error:\x20','info','YxhbX','CbUAW','ByFpM','util','yVNzp','../../helpers/percy/utils','tuKJo','bTood','Exception\x20in\x20jest\x20driver\x20cleanup\x20with\x20error:\x20','TomrT','PIMva','nTjia','browser','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','../v2/browserstackCLI','cleanup','FCqvq','VLZph','testPath','9ErXjXa',':testAnalyticsId','driverCleanup:\x20No\x20drivers\x20to\x20clean\x20up','Jest','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','WHMyX','length','KUxen','199393rZYVsX','setGlobal','measureWrapper','eusZY','oEwxB','AOfau','UGfTn','../../helpers/helper','close','setTimeout','isAccessibilityPlatform','Error\x20executing\x20fallback\x20deferred\x20closes:\x20','DMUwO','puppeteer-core','SAVE_RESULTS','Puppeteer\x20flow\x20detected\x20in\x20beforeEach','../v2/state/automationFrameworkState','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.','DfmcO','__drivers','\x22,\x22level\x22:\x20\x22info\x22}}','beforeTestHook','name','getInstance','SDJaI','\x22}}','oVWbl','winstonLogger','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','FdoLN','capabilities','TransformStream\x20polyfill\x20not\x20available:\x20','afterTestHook','DFeXB','afterEach','end','isCliEnabled','odnlI','gWnEV','session_','../v2/state/hookState','browserstackSessionName','__currentTestInfo','TransformStream','EJwfu','UWeBj','qmAuV','passed','blZlQ','KxgmC','tjiRq','JfbHK','oapnE','getState','[Jest\x20Setup]\x20Triggered\x20CREATE\x20POST\x20event\x20for\x20test:\x20','message','is_mobile_session','XWYpi','GqAaK','log','quitCount_','__jestCurrentTestIdentifier','\x20|\x20','542856XQfdXI','aFYJf','40152MpOsTR','1413876iLumgw','Error\x20executing\x20deferred\x20closes:\x20','qitpC','Performing\x20scan\x20before\x20saving\x20results','getPackageVersion','errors','oNEzG','AUjSy','title','HdGIu','@playwright/test','BYQfC','PERFORM_SCAN','pwPage','4AFpjTb','now','\x20flow\x20detected\x20-\x20page\x20exists:\x20','gKqmp','../../helpers/performance/performance-tester','error','aVtdL','WfNpS','tFCHb','SYNC','Cleaned\x20up\x20close\x20tracker\x20after\x20deferred\x20closes','saveTestResults','MFeCl','startMonitoring','page','kAfZq','context','JCHxs','beforeAll','fGEJN','function','HXrua','failedExpectations','Exception\x20in\x20jest\x20percy\x20with\x20error:\x20','percy','from\x20else\x20block\x20jest\x20test\x20failed\x20playwright\x20flow:\x20','\x22,\x22level\x22:\x20\x22error\x22}}','rMlkH','Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','isArray','../../helpers/testhub/utils','252196HelQfb','HNobf','gsVyk','inside\x20after\x20each\x20jest\x20hook','inside\x20before\x20each\x20jest\x20hook','afterTest','getTestUUID','ENV_VAR','YEqDG','../utils/constants','ObservabilitySync:','Successfully\x20closed\x20page\x20via\x20fallback','pmgvE','testInfo','\x20with\x20testIdentifier:\x20','vObUy','ScOHz',',\x20isPlaywrightFlow=','http:','isRunning','319XCtFax','keuIv','protocol','pJcYZ','../../helpers/accessibility-automation/helper','Error\x20in\x20playwright\x20beforeTestHook:\x20','executeDeferredCloses','start','Playwright\x20flow\x20detected\x20in\x20beforeEach','Mejpe','oPWnQ','NDIeo','Flow\x20detection:\x20isSeleniumFlow=','SSWYt','stopMonitoring','../../helpers/test-observability/requestQueueHandler'];a24_0x1339=function(){return _0x268fa5;};return a24_0x1339();}const a24_0x2038b7=a24_0x4fd3;(function(_0x11f739,_0x3cd1ff){const _0x2677b0=a24_0x4fd3,_0x3f470d=_0x11f739();while(!![]){try{const _0x866f44=-parseInt(_0x2677b0(0x181))/0x1*(parseInt(_0x2677b0(0x1d1))/0x2)+parseInt(_0x2677b0(0x23b))/0x3*(-parseInt(_0x2677b0(0x1f0))/0x4)+-parseInt(_0x2677b0(0x266))/0x5+-parseInt(_0x2677b0(0x1c3))/0x6+-parseInt(_0x2677b0(0x226))/0x7*(-parseInt(_0x2677b0(0x1c2))/0x8)+parseInt(_0x2677b0(0x179))/0x9*(-parseInt(_0x2677b0(0x273))/0xa)+parseInt(_0x2677b0(0x204))/0xb*(parseInt(_0x2677b0(0x1c0))/0xc);if(_0x866f44===_0x3cd1ff)break;else _0x3f470d['push'](_0x3f470d['shift']());}catch(_0x347d75){_0x3f470d['push'](_0x3f470d['shift']());}}}(a24_0x1339,0x42448));const util=require(a24_0x2038b7(0x169)),helper=require(a24_0x2038b7(0x188)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a24_0x2038b7(0x1f9)),{sendPlatformDetails}=require(a24_0x2038b7(0x23d)),{isBrowserstackInfra,markSessionStatus}=require(a24_0x2038b7(0x188));let __error_messages__=[];const RequestQueueHandler=require(a24_0x2038b7(0x213));jest[a24_0x2038b7(0x18a)](__timeout);const {isAccessibilityAutomationSession,fetchPlatformDetails,shouldScanTestForAccessibility}=require(a24_0x2038b7(0x208)),{percyAutoCapture}=require(a24_0x2038b7(0x16b)),logger=require(a24_0x2038b7(0x291))[a24_0x2038b7(0x19c)],TestDetails=require(a24_0x2038b7(0x234)),PerformanceTester=require(a24_0x2038b7(0x1d5)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a24_0x2038b7(0x21c)),scripts=require(a24_0x2038b7(0x25a)),globals=require(a24_0x2038b7(0x271)),{shouldProcessEventForTesthub}=require(a24_0x2038b7(0x1ef)),testHubConstants=require(a24_0x2038b7(0x21f)),{v4:uuidv4}=require('uuid'),BrowserstackCLI=require(a24_0x2038b7(0x174)),AutomationFrameworkState=require(a24_0x2038b7(0x191)),HookState=require(a24_0x2038b7(0x1a9)),{FRAMEWORKS}=require(a24_0x2038b7(0x288));globals['browserStackGlobals']=browserStackGlobals;if(typeof global[a24_0x2038b7(0x1ac)]===a24_0x2038b7(0x260))try{const {TransformStream}=require(a24_0x2038b7(0x23f));global[a24_0x2038b7(0x1ac)]=TransformStream;}catch(a24_0x229f24){logger[a24_0x2038b7(0x219)](a24_0x2038b7(0x1a0)+a24_0x229f24[a24_0x2038b7(0x1b8)]);}function a24_0x4fd3(_0x5f4a75,_0x9e9b27){const _0x133937=a24_0x1339();return a24_0x4fd3=function(_0x4fd318,_0x51655c){_0x4fd318=_0x4fd318-0x159;let _0x2595de=_0x133937[_0x4fd318];return _0x2595de;},a24_0x4fd3(_0x5f4a75,_0x9e9b27);}function stripUnicode(_0x24dd6c){const _0x568562=a24_0x2038b7;return _0x24dd6c['replace'](/\\u001b\[.*?m/g,'')[_0x568562(0x26e)](0x1,-0x1);}async function setContext(){const _0x195190=a24_0x2038b7,_0x24582d={'GIRqs':function(_0x5e75a4){return _0x5e75a4();},'bVHdD':_0x195190(0x268),'SDJaI':function(_0x3bc854,_0x182be4){return _0x3bc854!==_0x182be4;},'HyLwW':_0x195190(0x260),'ZrUyk':function(_0x16c128,_0xa387b3){return _0x16c128>_0xa387b3;},'JfbHK':function(_0x1cf148,_0x4c5312){return _0x1cf148(_0x4c5312);},'TomrT':function(_0x14a74d,_0x45a2e0){return _0x14a74d(_0x45a2e0);},'tYCZi':function(_0x88ce3c,_0x1352f3){return _0x88ce3c>_0x1352f3;},'JABLC':function(_0xfbd6fd,_0x1df9f1){return _0xfbd6fd(_0x1df9f1);}};if(!_0x24582d[_0x195190(0x254)](isBrowserstackInfra))return;const _0x29f96d=expect['getState']()[_0x195190(0x246)];globals[_0x195190(0x182)](_0x24582d[_0x195190(0x21e)],_0x29f96d);!sessionNameProvided&&await PerformanceTester[_0x195190(0x183)](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0x363c94=_0x195190;await __drivers[0x0][_0x363c94(0x275)](_0x363c94(0x19d)+_0x29f96d+'\x22}}');})();let _0x2b262f=null,_0x1bdc47=![];_0x24582d[_0x195190(0x199)](typeof jasmine,_0x24582d['HyLwW'])?jasmine[_0x195190(0x25c)][_0x195190(0x1e7)]&&_0x24582d[_0x195190(0x261)](jasmine['currentTest'][_0x195190(0x1e7)][_0x195190(0x17f)],0x0)?(_0x1bdc47=!![],_0x2b262f=_0x24582d[_0x195190(0x1b4)](stripUnicode,JSON['stringify'](jasmine[_0x195190(0x25c)][_0x195190(0x1e7)][0x0]['message']))):_0x2b262f=_0x24582d[_0x195190(0x16f)](stripUnicode,JSON[_0x195190(0x289)](jasmine[_0x195190(0x25c)][_0x195190(0x251)])):testContext[_0x195190(0x1c8)]&&_0x24582d[_0x195190(0x22c)](testContext[_0x195190(0x1c8)][_0x195190(0x17f)],0x0)?(_0x1bdc47=!![],_0x2b262f=_0x24582d[_0x195190(0x1b4)](stripUnicode,JSON['stringify'](testContext['errors'][0x0][0x0][_0x195190(0x1b8)]||testContext['errors'][0x0][0x0]))):_0x2b262f=_0x24582d['JABLC'](stripUnicode,JSON['stringify'](testContext[_0x195190(0x197)])),_0x1bdc47?(__error_messages__['push'](_0x2b262f),await __drivers[0x0][_0x195190(0x275)](_0x195190(0x28e)+_0x2b262f+_0x195190(0x1eb))):await __drivers[0x0][_0x195190(0x275)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Passed\x20-\x20'+_0x2b262f+_0x195190(0x195));}const executeAnnotate=async(_0x26160f,_0x201a90)=>{const _0x394766=a24_0x2038b7;await global[_0x394766(0x194)][0x0][_0x394766(0x275)](_0x394766(0x239)+_0x26160f+',\x22level\x22:\x20\x22'+_0x201a90+_0x394766(0x19a));};async function driverCleanup(){const _0x2fa17f=a24_0x2038b7,_0x132bc7={'gKqmp':function(_0x100c52){return _0x100c52();},'JfBKL':function(_0x8c2ff1,_0x5e19e8){return _0x8c2ff1===_0x5e19e8;},'Unelg':_0x2fa17f(0x17b),'kAfZq':'0|4|1|2|3','AUjSy':function(_0x2b91ea,_0x47b5c4){return _0x2b91ea>_0x47b5c4;},'qitpC':function(_0x1f6ada,_0xb771f9,_0x1e4d8c,_0x42b939){return _0x1f6ada(_0xb771f9,_0x1e4d8c,_0x42b939);},'tuKJo':'failed','WHMyX':_0x2fa17f(0x1bf),'FCqvq':function(_0x45a7e5,_0x20aa1c,_0x12261a){return _0x45a7e5(_0x20aa1c,_0x12261a);},'ymzVv':_0x2fa17f(0x1b0)};if(!_0x132bc7[_0x2fa17f(0x1d4)](isBrowserstackInfra))return;if(!global[_0x2fa17f(0x194)]||!Array[_0x2fa17f(0x1ee)](global[_0x2fa17f(0x194)])||_0x132bc7['JfBKL'](global[_0x2fa17f(0x194)][_0x2fa17f(0x17f)],0x0)){logger[_0x2fa17f(0x219)](_0x132bc7['Unelg']);return;}let _0x1b093e=![];try{const _0x25e987=_0x132bc7[_0x2fa17f(0x1e0)][_0x2fa17f(0x214)]('|');let _0x57a381=0x0;while(!![]){switch(_0x25e987[_0x57a381++]){case'0':PerformanceTester['start'](PerformanceAutEvents[_0x2fa17f(0x26b)]);continue;case'1':_0x1b093e=!![];continue;case'2':_0x132bc7[_0x2fa17f(0x1ca)](__error_messages__[_0x2fa17f(0x17f)],0x0)?await _0x132bc7[_0x2fa17f(0x1c5)](markSessionStatus,global[_0x2fa17f(0x194)][0x0],_0x132bc7[_0x2fa17f(0x16c)],__error_messages__['join'](_0x132bc7[_0x2fa17f(0x17e)])):await _0x132bc7[_0x2fa17f(0x176)](markSessionStatus,global[_0x2fa17f(0x194)][0x0],_0x132bc7[_0x2fa17f(0x244)]);continue;case'3':PerformanceTester[_0x2fa17f(0x1a4)](PerformanceAutEvents[_0x2fa17f(0x26b)],!![]);continue;case'4':await global['__drivers'][0x0][_0x2fa17f(0x1a8)];continue;}break;}}catch(_0x4a0e44){console[_0x2fa17f(0x1bc)](_0x4a0e44),PerformanceTester[_0x2fa17f(0x1a4)](PerformanceAutEvents['SESSION_STATUS'],![],_0x4a0e44);}__error_messages__=[];if(_0x1b093e)try{await global['__drivers'][0x0][_0x2fa17f(0x15d)]();}catch(_0x207ac4){console[_0x2fa17f(0x1bc)](_0x207ac4);}}beforeAll(async()=>{const _0x1b6bad=a24_0x2038b7,_0x354110={'oapnE':function(_0x4bc45e,_0x36b437){return _0x4bc45e!==_0x36b437;},'eFwjr':_0x1b6bad(0x260),'aVtdL':function(_0x41f010,_0x29f0f3){return _0x41f010>_0x29f0f3;},'blZlQ':function(_0x329ca8,_0x19ce72){return _0x329ca8!==_0x19ce72;},'eusZY':_0x1b6bad(0x1e3),'nfHQh':function(_0x501d88){return _0x501d88();},'zJhdc':function(_0x4626c4,_0x39a456,_0x478330){return _0x4626c4(_0x39a456,_0x478330);}};__error_messages__=[];!global[_0x1b6bad(0x194)]&&(global[_0x1b6bad(0x194)]=[]);PerformanceTester[_0x1b6bad(0x1de)](),PerformanceTester['start'](PerformanceHookEvents[_0x1b6bad(0x160)]);_0x354110[_0x1b6bad(0x1b5)](typeof __jestRetries,_0x354110[_0x1b6bad(0x21d)])&&_0x354110[_0x1b6bad(0x1d7)](__jestRetries,0x0)&&jest[_0x1b6bad(0x267)](__jestRetries);const _0x5afb69='browserstack internal helper hook';_0x354110[_0x1b6bad(0x1b1)](typeof jasmine,_0x354110[_0x1b6bad(0x21d)])&&jasmine[_0x1b6bad(0x249)]()[_0x1b6bad(0x233)]({'specStarted':_0x2cdbca=>{jasmine['currentTest']=_0x2cdbca;}});let _0x25be56=![];try{await __drivers[0x0][_0x1b6bad(0x1a8)],_0x25be56=!![];}catch(_0x2c8c93){logger[_0x1b6bad(0x219)]('Exception\x20in\x20jest\x20driver\x20with\x20error:\x20'+_0x2c8c93);const _0x54a907={};_0x54a907[_0x1b6bad(0x161)]=_0x354110[_0x1b6bad(0x184)],PerformanceTester[_0x1b6bad(0x1a4)](PerformanceHookEvents['SDK_HOOK'],![],_0x2c8c93,_0x54a907);}if(_0x25be56)try{_0x354110[_0x1b6bad(0x253)](shouldProcessEventForTesthub)&&(__drivers[0x0]&&await _0x354110[_0x1b6bad(0x21b)](sendPlatformDetails,__drivers[0x0],TestDetails[_0x1b6bad(0x1f6)](process[_0x1b6bad(0x228)]+_0x1b6bad(0x17a))));}catch(_0x480b09){logger[_0x1b6bad(0x219)](_0x1b6bad(0x285)+_0x480b09);const _0x119b19={};_0x119b19[_0x1b6bad(0x161)]=_0x354110[_0x1b6bad(0x184)],PerformanceTester['end'](PerformanceHookEvents[_0x1b6bad(0x160)],![],_0x480b09,_0x119b19);}const _0x56d2fb={};_0x56d2fb[_0x1b6bad(0x161)]=_0x354110[_0x1b6bad(0x184)],PerformanceTester['end'](PerformanceHookEvents[_0x1b6bad(0x160)],!![],null,_0x56d2fb);}),beforeEach(async()=>{const _0x5bb802=a24_0x2038b7,_0x43a8b8={'UGfTn':_0x5bb802(0x1f4),'CbUAW':_0x5bb802(0x268),'oNEzG':function(_0x5a9ba3,_0x20c729,_0x2a13e1){return _0x5a9ba3(_0x20c729,_0x2a13e1);},'QQbuq':_0x5bb802(0x1cd),'ZmcED':_0x5bb802(0x263),'lNKwo':_0x5bb802(0x18e),'WfNpS':function(_0x5569d8,_0x112996){return _0x5569d8(_0x112996);},'Eerrx':_0x5bb802(0x25e),'BZynY':_0x5bb802(0x20c),'BdXeF':_0x5bb802(0x25f),'GQoGD':_0x5bb802(0x190),'pJcYZ':'0|1|4|3|2','VLZph':function(_0x4d4156,_0x48260a){return _0x4d4156>_0x48260a;},'keuIv':function(_0x3e9e1d){return _0x3e9e1d();},'tLNMD':function(_0x597f1e,_0x47be2b){return _0x597f1e>_0x47be2b;},'qmAuV':function(_0x560fe6){return _0x560fe6();},'odnlI':_0x5bb802(0x290),'EtfJq':_0x5bb802(0x241),'IwBUL':function(_0x48eaee,_0x1addb8){return _0x48eaee>_0x1addb8;},'bTood':_0x5bb802(0x18b),'WTELm':function(_0x51f5de,_0x1a0cc9){return _0x51f5de===_0x1a0cc9;},'pJBEF':_0x5bb802(0x202),'ODKGS':'https:','pmgvE':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','vqrbk':_0x5bb802(0x174),'mWVYF':_0x5bb802(0x1f9),'feBLr':_0x5bb802(0x191),'jPdHX':_0x5bb802(0x1a9),'KUxen':function(_0x480cc2,_0x3f0588){return _0x480cc2||_0x3f0588;},'Mejpe':'Unknown\x20Test','drwoV':_0x5bb802(0x242),'fGEJN':function(_0x2486d3,_0x5a14dd){return _0x2486d3&&_0x5a14dd;},'qXayV':function(_0x2a472c,_0x1cdd37){return _0x2a472c===_0x1cdd37;},'ByFpM':_0x5bb802(0x1e5),'DMUwO':function(_0x50fffa,_0xfb9513){return _0x50fffa===_0xfb9513;},'kCIDj':function(_0x4e913d,_0x3d2be8){return _0x4e913d===_0x3d2be8;},'ffaNx':function(_0xa568d){return _0xa568d();}};logger['debug'](_0x43a8b8[_0x5bb802(0x187)]),PerformanceTester[_0x5bb802(0x20b)](PerformanceHookEvents[_0x5bb802(0x160)]);const _0x43a148='browserstack internal helper hook';let _0x7e2c29=!![],_0x268a27=null;try{const _0x450207=expect['getState']()[_0x5bb802(0x246)];globals[_0x5bb802(0x182)](_0x43a8b8[_0x5bb802(0x167)],_0x450207);const _0x5085f4=_0x43a8b8[_0x5bb802(0x1c9)](shouldScanTestForAccessibility,_0x450207,![]),_0x551510=helper[_0x5bb802(0x1c7)](_0x43a8b8[_0x5bb802(0x24e)]),_0x25f099=helper[_0x5bb802(0x1c7)](_0x43a8b8['ZmcED'])||helper['getPackageVersion'](_0x43a8b8['lNKwo']);if(!!_0x551510)try{_0x268a27=_0x43a8b8['WfNpS'](require,_0x43a8b8['Eerrx']),logger[_0x5bb802(0x219)](_0x43a8b8[_0x5bb802(0x15e)]);}catch(_0x430896){logger[_0x5bb802(0x219)]('Error\x20loading\x20playwright-patcher:\x20'+util[_0x5bb802(0x163)](_0x430896));}else{if(!!_0x25f099)try{_0x268a27=_0x43a8b8[_0x5bb802(0x1d8)](require,_0x43a8b8[_0x5bb802(0x221)]),logger['debug'](_0x43a8b8['GQoGD']);}catch(_0x416299){logger[_0x5bb802(0x219)](_0x5bb802(0x28b)+util[_0x5bb802(0x163)](_0x416299));}}try{const _0x446bb0=_0x43a8b8[_0x5bb802(0x207)][_0x5bb802(0x214)]('|');let _0x1ab251=0x0;while(!![]){switch(_0x446bb0[_0x1ab251++]){case'0':Array[_0x5bb802(0x1ee)](__drivers)&&__drivers[0x0]&&(__drivers[0x0]['browserstackSessionName']=_0x450207);continue;case'1':global[_0x5bb802(0x1aa)]=_0x450207;continue;case'2':!_0x268a27&&_0x43a8b8[_0x5bb802(0x177)](__drivers['length'],0x0)&&_0x43a8b8[_0x5bb802(0x177)](__drivers[0x0][_0x5bb802(0x1bd)],0x0)&&(_0x7e2c29=![],await _0x43a8b8[_0x5bb802(0x205)](driverCleanup));continue;case'3':_0x268a27&&_0x43a8b8[_0x5bb802(0x23e)](__drivers[_0x5bb802(0x17f)],0x0)&&(__drivers[0x0][_0x5bb802(0x1aa)]=_0x450207,__drivers[0x0][_0x5bb802(0x241)]=_0x5085f4);continue;case'4':!_0x268a27&&_0x43a8b8[_0x5bb802(0x177)](__drivers[_0x5bb802(0x17f)],0x1)&&(await _0x43a8b8[_0x5bb802(0x1af)](driverCleanup),__drivers[_0x5bb802(0x26d)]());continue;}break;}}catch(_0x21a0e0){logger[_0x5bb802(0x219)]('Failed\x20to\x20store\x20session\x20name:\x20'+_0x21a0e0);const _0x12b98b={};_0x12b98b['hookType']=_0x43a8b8['odnlI'],PerformanceTester[_0x5bb802(0x1a4)](PerformanceHookEvents['SDK_HOOK'],![],_0x21a0e0,_0x12b98b);}globals[_0x5bb802(0x182)](_0x43a8b8['EtfJq'],_0x5085f4);if(global[_0x5bb802(0x223)]){const _0x2a51cc=expect['getState']()[_0x5bb802(0x178)],_0x5e43ed=global[_0x5bb802(0x1be)],_0x4bbeb2=expect[_0x5bb802(0x1b6)]()[_0x5bb802(0x246)]||_0x450207;global[_0x5bb802(0x223)][_0x5bb802(0x25c)]={'id':_0x5e43ed,'testAnalyticsId':_0x5e43ed,'thTestRunUuid':TestDetails[_0x5bb802(0x1f6)](process[_0x5bb802(0x228)]+':testAnalyticsId'),'testInfo':{'title':_0x450207,'fullName':_0x4bbeb2,'displayName':_0x450207,'name':_0x4bbeb2,'testPath':_0x2a51cc,'testIdentifier':_0x5e43ed}},logger[_0x5bb802(0x219)](_0x5bb802(0x272)+_0x5e43ed+_0x5bb802(0x238)+_0x450207+_0x5bb802(0x28c)+_0x2a51cc);}if(!_0x268a27&&_0x43a8b8[_0x5bb802(0x205)](isAccessibilityAutomationSession)&&_0x7e2c29&&Array[_0x5bb802(0x1ee)](__drivers)&&_0x43a8b8[_0x5bb802(0x257)](__drivers[_0x5bb802(0x17f)],0x0)&&globals['getGlobal'](_0x43a8b8[_0x5bb802(0x16d)]))try{const _0x1aed7d=await __drivers[0x0]['session_'];if(_0x1aed7d){let _0x33a06a=!![];const _0xbbb03d=await __drivers[0x0]['getCurrentUrl']();let _0x14986a;try{_0x14986a=new URL(_0xbbb03d);}catch(_0xcb57e0){_0x33a06a=![];}_0x33a06a=_0x43a8b8[_0x5bb802(0x22e)](_0x14986a[_0x5bb802(0x206)],_0x43a8b8['pJBEF'])||_0x43a8b8[_0x5bb802(0x22e)](_0x14986a[_0x5bb802(0x206)],_0x43a8b8[_0x5bb802(0x24d)]),_0x33a06a&&(_0x5085f4&&logger[_0x5bb802(0x165)](_0x43a8b8[_0x5bb802(0x1fc)]));}}catch(_0x186c3f){logger['error'](_0x5bb802(0x265)+_0x186c3f);const _0x33c9a0={};_0x33c9a0['hookType']=_0x43a8b8[_0x5bb802(0x1a6)],PerformanceTester[_0x5bb802(0x1a4)](PerformanceHookEvents[_0x5bb802(0x160)],![],er,_0x33c9a0);}if(_0x268a27&&global[_0x5bb802(0x223)]&&global['__workerDetails'][_0x5bb802(0x25c)])try{await _0x268a27[_0x5bb802(0x196)](global[_0x5bb802(0x223)][_0x5bb802(0x25c)][_0x5bb802(0x1fd)]);}catch(_0x57935b){logger[_0x5bb802(0x219)](_0x5bb802(0x209)+util[_0x5bb802(0x163)](_0x57935b));}if(_0x268a27&&global[_0x5bb802(0x223)]&&global['__workerDetails'][_0x5bb802(0x25c)])try{const _0xce0e63=_0x43a8b8[_0x5bb802(0x1d8)](require,_0x43a8b8[_0x5bb802(0x22a)]),{FRAMEWORKS:_0x5b3e72}=_0x43a8b8[_0x5bb802(0x1d8)](require,_0x43a8b8[_0x5bb802(0x255)]),_0x213acf=_0x43a8b8[_0x5bb802(0x1d8)](require,_0x43a8b8['feBLr']),_0x345e0b=_0x43a8b8[_0x5bb802(0x1d8)](require,_0x43a8b8[_0x5bb802(0x229)]);if(_0xce0e63['getInstance']()[_0x5bb802(0x1a5)]()&&_0xce0e63[_0x5bb802(0x198)]()[_0x5bb802(0x203)]()){const _0x9e4179={'title':_0x43a8b8[_0x5bb802(0x180)](_0x450207,_0x43a8b8[_0x5bb802(0x20d)]),'titlePath':[_0x43a8b8[_0x5bb802(0x180)](_0x450207,_0x43a8b8[_0x5bb802(0x20d)])],'id':global[_0x5bb802(0x223)][_0x5bb802(0x25c)]['id']||_0x43a8b8['drwoV'],'testAnalyticsId':global[_0x5bb802(0x223)][_0x5bb802(0x25c)]['testAnalyticsId'],'testPath':global[_0x5bb802(0x223)]['currentTest'][_0x5bb802(0x1fd)]?.[_0x5bb802(0x178)],...global[_0x5bb802(0x223)][_0x5bb802(0x25c)][_0x5bb802(0x1fd)]};global[_0x5bb802(0x1ab)]=_0x9e4179,logger[_0x5bb802(0x219)](_0x5bb802(0x256)+_0x450207);try{const _0x147605=global[_0x5bb802(0x223)]?.[_0x5bb802(0x1d0)]||_0x268a27['getPageFromAutomationFramework']();if(_0x147605){const _0x4516d5=_0x43a8b8[_0x5bb802(0x1e4)](!!_0x25f099,!_0x551510);let _0x4ec425=null,_0x364c98=null;try{_0x4516d5?(_0x4ec425=_0x43a8b8[_0x5bb802(0x22d)](typeof _0x147605[_0x5bb802(0x282)],_0x43a8b8[_0x5bb802(0x168)])?_0x147605['browserContext']():null,_0x364c98=_0x43a8b8[_0x5bb802(0x22d)](typeof _0x147605['browser'],_0x43a8b8['ByFpM'])?_0x147605['browser']():null):(_0x4ec425=_0x43a8b8[_0x5bb802(0x18d)](typeof _0x147605[_0x5bb802(0x1e1)],_0x43a8b8[_0x5bb802(0x168)])?_0x147605[_0x5bb802(0x1e1)]():null,_0x364c98=_0x4ec425&&_0x43a8b8[_0x5bb802(0x23a)](typeof _0x4ec425[_0x5bb802(0x172)],_0x43a8b8[_0x5bb802(0x168)])?_0x4ec425['browser']():null);}catch(_0x2d820c){logger['debug'](_0x5bb802(0x281)+_0x2d820c['message']);}const _0x14250f={};_0x14250f[_0x5bb802(0x1df)]=_0x147605,_0x14250f[_0x5bb802(0x1e1)]=_0x4ec425,_0x14250f['browser']=_0x364c98,_0x14250f[_0x5bb802(0x1fd)]=_0x9e4179,_0x14250f[_0x5bb802(0x26f)]=_0x5b3e72['JEST'],_0x14250f[_0x5bb802(0x26c)]=global[_0x5bb802(0x22f)],_0x14250f['platformCaps']=global[_0x5bb802(0x24a)],await _0xce0e63['getInstance']()['getAutomationFramework']()['trackEvent'](_0x213acf[_0x5bb802(0x258)],_0x345e0b['POST'],_0x14250f),logger[_0x5bb802(0x219)](_0x5bb802(0x1b7)+_0x450207+_0x5bb802(0x1fe)+(_0x9e4179[_0x5bb802(0x27d)]||_0x9e4179['id']));}else logger['debug'](_0x5bb802(0x159)+_0x450207+',\x20CREATE\x20POST\x20will\x20be\x20triggered\x20when\x20page\x20is\x20created');}catch(_0x4986c3){logger[_0x5bb802(0x219)]('Error\x20triggering\x20CREATE\x20POST\x20event\x20for\x20test:\x20'+util[_0x5bb802(0x163)](_0x4986c3));}}}catch(_0xc1d8aa){logger[_0x5bb802(0x219)](_0x5bb802(0x15b)+util['format'](_0xc1d8aa));}!_0x268a27&&_0x43a8b8[_0x5bb802(0x177)](__drivers[_0x5bb802(0x17f)],0x0)&&_0x43a8b8[_0x5bb802(0x257)](__drivers[0x0][_0x5bb802(0x1bd)],0x0)&&await _0x43a8b8[_0x5bb802(0x247)](driverCleanup);}catch(_0x4198ca){logger['debug'](_0x5bb802(0x164)+_0x4198ca);const _0xba5035={};_0xba5035[_0x5bb802(0x161)]=_0x43a8b8[_0x5bb802(0x1a6)],PerformanceTester['end'](PerformanceHookEvents[_0x5bb802(0x160)],![],_0x4198ca,_0xba5035);}const _0x2fb65d={};_0x2fb65d[_0x5bb802(0x161)]=_0x43a8b8[_0x5bb802(0x1a6)],PerformanceTester['end'](PerformanceHookEvents[_0x5bb802(0x160)],!![],null,_0x2fb65d);}),afterEach(async()=>{const _0x46aa04=a24_0x2038b7,_0x3cdc02={'dIWcd':_0x46aa04(0x1f3),'KxgmC':function(_0x4b8370,_0x50474a){return _0x4b8370>_0x50474a;},'pyYwS':_0x46aa04(0x1cd),'NCBzI':_0x46aa04(0x263),'JCHxs':_0x46aa04(0x18e),'tFCHb':function(_0x9d97b5,_0x40804f){return _0x9d97b5(_0x40804f);},'xqthM':'../utils/playwright-patcher','vFJwn':function(_0x12c749,_0x3a5908){return _0x12c749(_0x3a5908);},'rPRDy':_0x46aa04(0x25f),'Qpskd':_0x46aa04(0x26a),'oVWbl':'Puppeteer','fPLBu':function(_0x451cb9,_0x587807){return _0x451cb9!==_0x587807;},'qqMQa':'undefined','GynZS':function(_0x212f47,_0x5263b1){return _0x212f47>_0x5263b1;},'oEwxB':function(_0x41a968,_0x4c6674){return _0x41a968(_0x4c6674);},'BntMF':function(_0x3c6e38,_0x4f1441){return _0x3c6e38(_0x4f1441);},'BmgLv':_0x46aa04(0x232),'oPWnQ':_0x46aa04(0x1b0),'zbyBB':function(_0x440828,_0x45752c){return _0x440828&&_0x45752c;},'GEQKs':_0x46aa04(0x225),'NDIeo':_0x46aa04(0x242),'fmlpC':'Skipping\x20afterTestHook\x20-\x20workerDetails\x20or\x20currentTest\x20not\x20available','DfmcO':'Executed\x20deferred\x20closes\x20after\x20QUIT\x20PRE\x20event\x20completion','YxhbX':'Cleaned\x20up\x20close\x20tracker','MFeCl':_0x46aa04(0x1ed),'HdGIu':function(_0x3a09fc,_0x255b88){return _0x3a09fc>_0x255b88;},'sjSBL':function(_0x1edc7d){return _0x1edc7d();},'PIMva':function(_0x3371cc,_0x281522){return _0x3371cc===_0x281522;},'TClbC':'testcase','uihjc':'appium:app','NauYx':function(_0x31e03b,_0x5dbc04,_0x432cd3,_0x2add95){return _0x31e03b(_0x5dbc04,_0x432cd3,_0x2add95);},'nTjia':_0x46aa04(0x1a3),'MhkzD':function(_0x2a4624,_0x52c43c,_0x114678){return _0x2a4624(_0x52c43c,_0x114678);},'KiCTX':function(_0x30fef2){return _0x30fef2();},'tPuvJ':_0x46aa04(0x18b),'DFeXB':_0x46aa04(0x241),'VyjaP':_0x46aa04(0x192),'yVNzp':_0x46aa04(0x1c6),'gWnEV':_0x46aa04(0x1f5),'fzmAI':_0x46aa04(0x28a),'fOsFV':_0x46aa04(0x17d),'wmgAz':function(_0x11affb,_0x5aafae){return _0x11affb>_0x5aafae;},'rMlkH':function(_0x3007e8,_0x31c2f5,_0xdef3e5){return _0x3007e8(_0x31c2f5,_0xdef3e5);},'ScOHz':_0x46aa04(0x219),'PZtzG':function(_0x338081,_0x21929b){return _0x338081>_0x21929b;},'tijur':function(_0x1379ab,_0x48b1b9){return _0x1379ab>_0x48b1b9;}};logger[_0x46aa04(0x219)](_0x3cdc02[_0x46aa04(0x235)]),PerformanceTester[_0x46aa04(0x20b)](PerformanceHookEvents['SDK_HOOK']);const _0x35115f='browserstack internal helper hook';let _0xf86095=![],_0x567b5c=![],_0x319265=null;try{global[_0x46aa04(0x194)]&&_0x3cdc02[_0x46aa04(0x1b2)](global[_0x46aa04(0x194)][_0x46aa04(0x17f)],0x0)&&(_0xf86095=!![]);if(global[_0x46aa04(0x223)]&&global[_0x46aa04(0x223)][_0x46aa04(0x1d0)]){const _0x16995a=helper['getPackageVersion'](_0x3cdc02[_0x46aa04(0x24b)]),_0x503116=helper[_0x46aa04(0x1c7)](_0x3cdc02['NCBzI'])||helper[_0x46aa04(0x1c7)](_0x3cdc02[_0x46aa04(0x1e2)]);try{if(_0x16995a)_0x319265=_0x3cdc02[_0x46aa04(0x1d9)](require,_0x3cdc02['xqthM']);else _0x503116&&(_0x319265=_0x3cdc02[_0x46aa04(0x243)](require,_0x3cdc02['rPRDy']));_0x567b5c=!![],logger[_0x46aa04(0x219)]((_0x16995a?_0x3cdc02[_0x46aa04(0x215)]:_0x3cdc02[_0x46aa04(0x19b)])+_0x46aa04(0x1d3)+!!global[_0x46aa04(0x223)][_0x46aa04(0x1d0)]);}catch(_0x4e9631){logger['debug'](_0x46aa04(0x15f)+util[_0x46aa04(0x163)](_0x4e9631));}}}catch(_0x574975){logger[_0x46aa04(0x219)]('Error\x20determining\x20test\x20flow:\x20'+_0x574975);}logger[_0x46aa04(0x219)](_0x46aa04(0x210)+_0xf86095+_0x46aa04(0x201)+_0x567b5c);if(_0x567b5c){const _0x1b1897=_0x319265['getPageFromAutomationFramework']();try{let _0x5b4954=null,_0x19c650=![];if(_0x3cdc02[_0x46aa04(0x27b)](typeof jasmine,_0x3cdc02[_0x46aa04(0x222)]))jasmine[_0x46aa04(0x25c)][_0x46aa04(0x1e7)]&&_0x3cdc02[_0x46aa04(0x264)](jasmine['currentTest'][_0x46aa04(0x1e7)][_0x46aa04(0x17f)],0x0)?(_0x19c650=!![],_0x5b4954=_0x3cdc02[_0x46aa04(0x243)](stripUnicode,JSON[_0x46aa04(0x289)](jasmine[_0x46aa04(0x25c)][_0x46aa04(0x1e7)][0x0][_0x46aa04(0x1b8)]))):_0x5b4954=_0x3cdc02[_0x46aa04(0x185)](stripUnicode,JSON[_0x46aa04(0x289)](jasmine[_0x46aa04(0x25c)][_0x46aa04(0x251)]));else{logger[_0x46aa04(0x219)](_0x46aa04(0x1ea)+util[_0x46aa04(0x245)](testContext));const _0x3b68dd=global['testContext']||testContext,_0x1cb471=_0x3b68dd&&_0x3b68dd[_0x46aa04(0x1c8)]?_0x3b68dd[_0x46aa04(0x1c8)]:[];if(_0x3cdc02[_0x46aa04(0x1b2)](_0x1cb471[_0x46aa04(0x17f)],0x0)){_0x19c650=!![];const _0x1df801=Array[_0x46aa04(0x1ee)](_0x1cb471[0x0])?_0x1cb471[0x0][0x0]:_0x1cb471[0x0];_0x5b4954=_0x3cdc02['BntMF'](stripUnicode,JSON['stringify'](_0x1df801[_0x46aa04(0x1b8)]||_0x1df801));}else _0x5b4954=_0x3cdc02[_0x46aa04(0x15c)](stripUnicode,JSON[_0x46aa04(0x289)](_0x3b68dd?_0x3b68dd['name']:testContext[_0x46aa04(0x197)]));}const _0x1f5e4d=_0x19c650?_0x3cdc02[_0x46aa04(0x237)]:_0x3cdc02[_0x46aa04(0x20e)];_0x3cdc02[_0x46aa04(0x216)](_0x19c650,_0x5b4954)&&!__error_messages__[_0x46aa04(0x217)](_0x5b4954)&&__error_messages__[_0x46aa04(0x28d)](_0x5b4954);const _0x1c1ff6={'title':global[_0x46aa04(0x223)]?.[_0x46aa04(0x25c)]?.[_0x46aa04(0x1fd)]?.['title']||_0x3cdc02[_0x46aa04(0x287)],'titlePath':[global['__workerDetails']?.['currentTest']?.['testInfo']?.[_0x46aa04(0x1cb)]||_0x3cdc02[_0x46aa04(0x287)]],'id':global[_0x46aa04(0x223)]?.[_0x46aa04(0x25c)]?.['id']||_0x3cdc02[_0x46aa04(0x20f)],'status':_0x1f5e4d,'error':_0x5b4954?{'message':_0x5b4954}:null,'testAnalyticsId':global[_0x46aa04(0x223)]?.['currentTest']?.[_0x46aa04(0x27d)],'testPath':global[_0x46aa04(0x223)]?.[_0x46aa04(0x25c)]?.[_0x46aa04(0x1fd)]?.[_0x46aa04(0x178)],...global[_0x46aa04(0x223)][_0x46aa04(0x25c)]['testInfo']},_0x35663f=_0x1c1ff6;try{if(BrowserstackCLI[_0x46aa04(0x198)]()[_0x46aa04(0x1a5)]()&&BrowserstackCLI[_0x46aa04(0x198)]()[_0x46aa04(0x203)]()){const _0x3f2a38={};_0x3f2a38['testInfo']=_0x35663f,_0x3f2a38[_0x46aa04(0x1df)]=_0x1b1897,_0x3f2a38[_0x46aa04(0x26f)]=FRAMEWORKS['JEST'],await BrowserstackCLI['getInstance']()[_0x46aa04(0x24f)]()['trackEvent'](AutomationFrameworkState['QUIT'],HookState['PRE'],_0x3f2a38),logger[_0x46aa04(0x219)](_0x46aa04(0x25d)+_0x35663f[_0x46aa04(0x1cb)]);}}catch(_0x1984c0){logger[_0x46aa04(0x219)]('Error\x20triggering\x20QUIT\x20PRE\x20event:\x20'+util['format'](_0x1984c0));}global[_0x46aa04(0x223)]&&global[_0x46aa04(0x223)][_0x46aa04(0x25c)]&&global[_0x46aa04(0x223)][_0x46aa04(0x25c)][_0x46aa04(0x1fd)]?await _0x319265[_0x46aa04(0x1a1)](global['__workerDetails'][_0x46aa04(0x25c)][_0x46aa04(0x1fd)],_0x1f5e4d,_0x19c650?_0x5b4954:null):logger[_0x46aa04(0x219)](_0x3cdc02['fmlpC']);try{await _0x319265['executeDeferredCloses'](),logger[_0x46aa04(0x219)](_0x3cdc02[_0x46aa04(0x193)]);}catch(_0x520ae9){logger[_0x46aa04(0x219)](_0x46aa04(0x1c4)+util[_0x46aa04(0x163)](_0x520ae9));}try{_0x319265[_0x46aa04(0x162)][_0x46aa04(0x175)](),logger['debug'](_0x3cdc02[_0x46aa04(0x166)]);}catch(_0x77c8f6){logger[_0x46aa04(0x219)](_0x46aa04(0x286)+util[_0x46aa04(0x163)](_0x77c8f6));}}catch(_0x5d4832){logger[_0x46aa04(0x219)](_0x46aa04(0x28f)+util[_0x46aa04(0x163)](_0x5d4832));try{_0x319265[_0x46aa04(0x20a)]&&(await _0x319265[_0x46aa04(0x20a)](),logger[_0x46aa04(0x219)](_0x3cdc02[_0x46aa04(0x1dd)]));}catch(_0x1d12fc){logger[_0x46aa04(0x219)](_0x46aa04(0x18c)+util[_0x46aa04(0x163)](_0x1d12fc));}}}else try{!_0x567b5c&&_0x3cdc02[_0x46aa04(0x1cc)](__drivers['length'],0x1)&&(await _0x3cdc02[_0x46aa04(0x240)](driverCleanup),__drivers[_0x46aa04(0x26d)]());try{if(global[_0x46aa04(0x1e9)]&&_0x3cdc02[_0x46aa04(0x170)](global[_0x46aa04(0x25b)],_0x3cdc02[_0x46aa04(0x224)])&&__drivers[0x0]){const _0x1cd90c=_0x3cdc02[_0x46aa04(0x1b2)](global[_0x46aa04(0x19f)][_0x46aa04(0x17f)],0x0)?!!global[_0x46aa04(0x19f)][0x0][_0x46aa04(0x27c)]||!!global[_0x46aa04(0x19f)][0x0][_0x3cdc02['uihjc']]:![],_0x3adb68={};_0x3adb68[_0x46aa04(0x27c)]=_0x1cd90c,await _0x3cdc02['NauYx'](percyAutoCapture,__drivers[0x0],_0x3cdc02[_0x46aa04(0x224)],_0x3adb68);}}catch(_0x591448){logger['debug'](_0x46aa04(0x1e8)+_0x591448);const _0x2d44bf={};_0x2d44bf[_0x46aa04(0x161)]=_0x3cdc02['nTjia'],PerformanceTester[_0x46aa04(0x1a4)](PerformanceHookEvents[_0x46aa04(0x160)],![],_0x591448,_0x2d44bf);}const _0x31483e=_0x3cdc02[_0x46aa04(0x278)](shouldScanTestForAccessibility,expect[_0x46aa04(0x1b6)]()['currentTestName'],![]);try{if(_0x3cdc02['KiCTX'](isAccessibilityAutomationSession)&&globals['getGlobal'](_0x3cdc02[_0x46aa04(0x27a)])&&globals[_0x46aa04(0x252)](_0x3cdc02[_0x46aa04(0x1a2)])){logger[_0x46aa04(0x165)](_0x3cdc02[_0x46aa04(0x270)]);const _0x18b0a0={'thTestRunUuid':TestDetails[_0x46aa04(0x1f6)](process[_0x46aa04(0x228)]+_0x46aa04(0x17a)),'thBuildUuid':process['env'][testHubConstants['ENV_VAR'][_0x46aa04(0x230)]],'thJwtToken':process['env'][testHubConstants[_0x46aa04(0x1f7)]['BROWSERSTACK_TESTHUB_JWT']]};logger['debug'](_0x46aa04(0x231)+JSON[_0x46aa04(0x289)](_0x18b0a0)),logger[_0x46aa04(0x219)](_0x3cdc02[_0x46aa04(0x16a)]);const _0x3a8d16={};_0x3a8d16[_0x46aa04(0x21a)]=_0x3cdc02[_0x46aa04(0x1a7)],await PerformanceTester[_0x46aa04(0x183)](PerformanceA11yEvents[_0x46aa04(0x1cf)],async()=>{const _0xa00ab6=_0x46aa04;logger[_0xa00ab6(0x219)](util[_0xa00ab6(0x163)](await __drivers[0x0][_0xa00ab6(0x276)](scripts['performScan'],{'method':expect[_0xa00ab6(0x1b6)]()[_0xa00ab6(0x246)]})));},_0x3a8d16)(),globals[_0x46aa04(0x252)](_0x3cdc02['fzmAI'])&&(_0x18b0a0[_0x46aa04(0x1b9)]=!![]),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x46aa04(0x18f)],async()=>{const _0xbb4e9e=_0x46aa04;await __drivers[0x0][_0xbb4e9e(0x276)](scripts[_0xbb4e9e(0x1dc)],_0x18b0a0);})(),logger[_0x46aa04(0x165)](_0x3cdc02[_0x46aa04(0x280)]);}}catch(_0x54a2fc){logger[_0x46aa04(0x1d6)](_0x46aa04(0x173)+expect[_0x46aa04(0x1b6)]()[_0x46aa04(0x246)]+_0x46aa04(0x22b),_0x54a2fc);}await _0x3cdc02[_0x46aa04(0x279)](setContext);try{if(_0x3cdc02[_0x46aa04(0x240)](shouldProcessEventForTesthub)){_0x3cdc02[_0x46aa04(0x27e)](global[_0x46aa04(0x194)]['length'],0x0)&&global['__drivers'][0x0]&&await _0x3cdc02[_0x46aa04(0x278)](sendPlatformDetails,global[_0x46aa04(0x194)][0x0],TestDetails['getTestUUID'](process[_0x46aa04(0x228)]+_0x46aa04(0x17a)));if(_0x3cdc02['sjSBL'](isBrowserstackInfra)){PerformanceTester['start'](PerformanceO11yEvents[_0x46aa04(0x1da)]);const _0x1f42dc=_0x46aa04(0x1fa)+Date[_0x46aa04(0x1d2)]();await _0x3cdc02[_0x46aa04(0x1ec)](executeAnnotate,JSON[_0x46aa04(0x289)](_0x1f42dc),_0x3cdc02[_0x46aa04(0x200)]),PerformanceTester[_0x46aa04(0x1a4)](PerformanceO11yEvents[_0x46aa04(0x1da)]);}}}catch(_0x2b33c6){logger[_0x46aa04(0x219)]('Exception\x20in\x20jest\x20process\x20event\x20with\x20error:\x20'+_0x2b33c6),PerformanceTester[_0x46aa04(0x1a4)](PerformanceO11yEvents[_0x46aa04(0x1da)],![],_0x2b33c6);}!_0x567b5c&&_0x3cdc02[_0x46aa04(0x23c)](__drivers[_0x46aa04(0x17f)],0x0)&&_0x3cdc02[_0x46aa04(0x248)](__drivers[0x0][_0x46aa04(0x1bd)],0x0)&&await _0x3cdc02[_0x46aa04(0x240)](driverCleanup);const _0x2cb6c2={};_0x2cb6c2['hookType']=_0x3cdc02[_0x46aa04(0x171)],PerformanceTester[_0x46aa04(0x1a4)](PerformanceHookEvents[_0x46aa04(0x160)],!![],null,_0x2cb6c2);}catch(_0x1a33c8){logger[_0x46aa04(0x219)](_0x46aa04(0x27f)+_0x1a33c8);const _0x1d160c={};_0x1d160c['hookType']=_0x3cdc02['nTjia'],PerformanceTester[_0x46aa04(0x1a4)](PerformanceHookEvents[_0x46aa04(0x160)],![],_0x1a33c8,_0x1d160c);}},TEST_FRAMEWORK_HOOK_TIMEOUT[a24_0x2038b7(0x17c)]),afterAll(async()=>{const _0x49bc2e=a24_0x2038b7,_0x1b00e4={'FeGAe':function(_0x450171,_0xf705dd){return _0x450171<=_0xf705dd;},'GqAaK':function(_0x2c88eb,_0x23bf10){return _0x2c88eb(_0x23bf10);},'ATYqm':function(_0xc6d733){return _0xc6d733();},'CukOr':function(_0x2b7c2f,_0x19bd19,_0x56502a){return _0x2b7c2f(_0x19bd19,_0x56502a);},'tjiRq':_0x49bc2e(0x17c),'XWYpi':_0x49bc2e(0x1cd),'EJwfu':_0x49bc2e(0x263),'FdoLN':_0x49bc2e(0x18e),'TvahN':_0x49bc2e(0x25e),'iyeWX':function(_0x5d064b,_0x3ea1d3){return _0x5d064b(_0x3ea1d3);},'BYQfC':_0x49bc2e(0x25f),'hhaKH':'No\x20patcher\x20available','vObUy':function(_0x193f31,_0x2a3407){return _0x193f31||_0x2a3407;},'aFYJf':_0x49bc2e(0x236),'YEqDG':_0x49bc2e(0x15a),'SSWYt':function(_0x1da1d2,_0x14640f){return _0x1da1d2===_0x14640f;},'gsVyk':_0x49bc2e(0x1e5),'ByBRm':_0x49bc2e(0x1fb),'UWeBj':_0x49bc2e(0x1db),'UuTMB':_0x49bc2e(0x284),'Gopqi':function(_0x14db35,_0x46b194){return _0x14db35(_0x46b194);},'GdzKz':function(_0xb1a05e,_0x2a5bc2){return _0xb1a05e(_0x2a5bc2);},'HXrua':function(_0x23377b){return _0x23377b();},'HNobf':_0x49bc2e(0x283)};PerformanceTester[_0x49bc2e(0x20b)](PerformanceHookEvents[_0x49bc2e(0x160)]),jest[_0x49bc2e(0x18a)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x1b00e4[_0x49bc2e(0x1b3)]]),PerformanceTester[_0x49bc2e(0x212)]();const _0x28160f='browserstack internal helper hook';let _0x2ac94a=![];try{const _0x29064e=helper['getPackageVersion'](_0x1b00e4[_0x49bc2e(0x1ba)]),_0x5d9595=helper[_0x49bc2e(0x1c7)](_0x1b00e4[_0x49bc2e(0x1ad)])||helper['getPackageVersion'](_0x1b00e4[_0x49bc2e(0x19e)]),_0xf9859e=_0x29064e?_0x1b00e4[_0x49bc2e(0x1bb)](require,_0x1b00e4['TvahN']):_0x5d9595?_0x1b00e4[_0x49bc2e(0x220)](require,_0x1b00e4[_0x49bc2e(0x1ce)]):null;if(!_0xf9859e)throw new Error(_0x1b00e4[_0x49bc2e(0x227)]);const _0x4e8a81=global[_0x49bc2e(0x223)]?.[_0x49bc2e(0x1d0)],_0x109e1b=_0xf9859e[_0x49bc2e(0x262)](),_0x258ff9=_0x1b00e4[_0x49bc2e(0x1ff)](_0x4e8a81,_0x109e1b);if(_0x258ff9){_0x2ac94a=!![];try{await _0xf9859e[_0x49bc2e(0x20a)](),logger['debug'](_0x1b00e4[_0x49bc2e(0x1c1)]);}catch(_0xe292bd){logger[_0x49bc2e(0x219)](_0x49bc2e(0x1c4)+util[_0x49bc2e(0x163)](_0xe292bd));try{const _0x30bcbf=_0xf9859e[_0x49bc2e(0x262)]();_0x30bcbf&&(logger[_0x49bc2e(0x219)](_0x1b00e4[_0x49bc2e(0x1f8)]),_0x1b00e4[_0x49bc2e(0x211)](typeof _0x30bcbf[_0x49bc2e(0x189)],_0x1b00e4[_0x49bc2e(0x1f2)])&&(await _0x30bcbf[_0x49bc2e(0x189)](),logger[_0x49bc2e(0x219)](_0x1b00e4[_0x49bc2e(0x274)])));}catch(_0x2ede51){logger['debug']('Error\x20in\x20fallback\x20page\x20close:\x20'+util[_0x49bc2e(0x163)](_0x2ede51));}}try{if(global[_0x49bc2e(0x223)]){global[_0x49bc2e(0x223)]['pwPage']=null,global['__workerDetails']['isPageFixture']=![];const _0x4506ae={};_0x4506ae['id']=undefined,_0x4506ae[_0x49bc2e(0x1fd)]=undefined,global['__workerDetails']['currentTest']=_0x4506ae;}_0xf9859e[_0x49bc2e(0x162)]&&_0xf9859e[_0x49bc2e(0x162)][_0x49bc2e(0x175)]&&(_0xf9859e['closeTracker'][_0x49bc2e(0x175)](),logger[_0x49bc2e(0x219)](_0x1b00e4[_0x49bc2e(0x1ae)])),logger['debug'](_0x1b00e4['UuTMB']);}catch(_0x2a0c73){logger[_0x49bc2e(0x219)](_0x49bc2e(0x277)+util['format'](_0x2a0c73));}__error_messages__=[];}}catch(_0x44e849){logger[_0x49bc2e(0x219)](_0x49bc2e(0x24c)+util[_0x49bc2e(0x163)](_0x44e849));try{const _0x3ed069=helper[_0x49bc2e(0x1c7)](_0x1b00e4[_0x49bc2e(0x1ba)]),_0x5109e8=helper[_0x49bc2e(0x1c7)](_0x1b00e4[_0x49bc2e(0x1ad)])||helper[_0x49bc2e(0x1c7)](_0x1b00e4[_0x49bc2e(0x19e)]),_0x572917=_0x3ed069?_0x1b00e4['Gopqi'](require,_0x1b00e4[_0x49bc2e(0x250)]):_0x5109e8?_0x1b00e4['GdzKz'](require,_0x1b00e4[_0x49bc2e(0x1ce)]):null;_0x572917&&await _0x572917['executeDeferredCloses']();}catch(_0x39585f){logger[_0x49bc2e(0x219)](_0x49bc2e(0x18c)+util[_0x49bc2e(0x163)](_0x39585f));}}await new Promise(_0x5c1f56=>{const _0x26ed4e={'DYZrv':function(_0x4eed94,_0x286e75){return _0x1b00e4['FeGAe'](_0x4eed94,_0x286e75);},'zqnTj':function(_0x2fac68,_0x26fe3a){const _0x470d62=a24_0x4fd3;return _0x1b00e4[_0x470d62(0x1bb)](_0x2fac68,_0x26fe3a);},'AOfau':function(_0x26fc75){return _0x1b00e4['ATYqm'](_0x26fc75);}},_0x46d4b3=_0x1b00e4['CukOr'](setInterval,async()=>{const _0x4738e1=a24_0x4fd3;_0x26ed4e['DYZrv'](RequestQueueHandler['getInstance']()[_0x4738e1(0x269)],0x0)&&(_0x26ed4e[_0x4738e1(0x218)](clearInterval,_0x46d4b3),_0x26ed4e[_0x4738e1(0x186)](_0x5c1f56));},0x3e8);});try{!_0x2ac94a&&await _0x1b00e4[_0x49bc2e(0x1e6)](driverCleanup);}catch(_0x52dba0){logger[_0x49bc2e(0x219)](_0x49bc2e(0x16e)+_0x52dba0);const _0xc82b03={};_0xc82b03[_0x49bc2e(0x161)]=_0x1b00e4[_0x49bc2e(0x1f1)],PerformanceTester[_0x49bc2e(0x1a4)](PerformanceHookEvents['SDK_HOOK'],![],_0x52dba0,_0xc82b03);}process[_0x49bc2e(0x259)]();const _0x1324b0={};_0x1324b0[_0x49bc2e(0x161)]=_0x1b00e4[_0x49bc2e(0x1f1)],PerformanceTester[_0x49bc2e(0x1a4)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x1324b0);},TEST_FRAMEWORK_HOOK_TIMEOUT[a24_0x2038b7(0x17c)]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a25_0x3509(){const _0x31a1c6=['2996jDQTVF','903102ZdMlDs','restore','TsGkX','setTimeout','../../../helpers/test-observability/utils','../../../helpers/request-spy','213579fMlExL','2080482jYUaRk','970572pXDGLx','4205JDWWhv','2818896joNwDH','72EyIpLF','1746682nNxnmG'];a25_0x3509=function(){return _0x31a1c6;};return a25_0x3509();}const a25_0x51e13f=a25_0x5ec5;(function(_0x5c5ab5,_0x20ea9d){const _0x38f978=a25_0x5ec5,_0x31d520=_0x5c5ab5();while(!![]){try{const _0x4b6c15=-parseInt(_0x38f978(0xb3))/0x1+-parseInt(_0x38f978(0xbb))/0x2+-parseInt(_0x38f978(0xb4))/0x3+-parseInt(_0x38f978(0xba))/0x4*(parseInt(_0x38f978(0xb6))/0x5)+-parseInt(_0x38f978(0xb5))/0x6+-parseInt(_0x38f978(0xb9))/0x7+parseInt(_0x38f978(0xb7))/0x8*(parseInt(_0x38f978(0xb8))/0x9);if(_0x4b6c15===_0x20ea9d)break;else _0x31d520['push'](_0x31d520['shift']());}catch(_0xe4b732){_0x31d520['push'](_0x31d520['shift']());}}}(a25_0x3509,0x66503));function a25_0x5ec5(_0x110ef3,_0x58e1c7){const _0x35092a=a25_0x3509();return a25_0x5ec5=function(_0x5ec59e,_0x25d4c6){_0x5ec59e=_0x5ec59e-0xaf;let _0x4f27a9=_0x35092a[_0x5ec59e];return _0x4f27a9;},a25_0x5ec5(_0x110ef3,_0x58e1c7);}const requestSpy=require(a25_0x51e13f(0xb2)),{addRequestSpy}=require(a25_0x51e13f(0xb1));beforeAll(()=>{const _0x5e0504=a25_0x51e13f,_0xa220e7={'TsGkX':function(_0x218a16){return _0x218a16();}},_0x55cc1f='browserstack internal helper hook';_0xa220e7[_0x5e0504(0xaf)](addRequestSpy);}),afterAll(async()=>{const _0x45b4c2=a25_0x51e13f,_0xae36f4='browserstack internal helper hook';jest[_0x45b4c2(0xb0)](0xea60),requestSpy[_0x45b4c2(0xbc)]();});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a26_0x1968(){const _0x32d72e=['map','5PseqEF','3331950PJDXda','length','129128bmEZlk','20cKtpKV','1535152vqXQNc','vJvEn','validateRerunTestList','updateTestRerunConfig','48hPehnh','567NqeNLE','769153VvkURQ','testMatch','split','SdQuJ','get','40545307xsrNUz','rerunTests','82619iyAIsw','trim','2863305veBZDt','testRegex','../../../helpers/test-observability/utils','BROWSERSTACK_RERUN_TESTS','isTestObservabilitySession','../../../helpers/helper','cliConfig'];a26_0x1968=function(){return _0x32d72e;};return a26_0x1968();}const a26_0x9f3f6b=a26_0x2b2e;(function(_0x5ca12e,_0x3e57a4){const _0x20fb51=a26_0x2b2e,_0x330130=_0x5ca12e();while(!![]){try{const _0xcb12a4=parseInt(_0x20fb51(0x1e1))/0x1*(parseInt(_0x20fb51(0x1ef))/0x2)+parseInt(_0x20fb51(0x1e3))/0x3+-parseInt(_0x20fb51(0x1f0))/0x4*(-parseInt(_0x20fb51(0x1eb))/0x5)+-parseInt(_0x20fb51(0x1f4))/0x6*(-parseInt(_0x20fb51(0x1f6))/0x7)+-parseInt(_0x20fb51(0x1ee))/0x8*(-parseInt(_0x20fb51(0x1f5))/0x9)+parseInt(_0x20fb51(0x1ec))/0xa+-parseInt(_0x20fb51(0x1df))/0xb;if(_0xcb12a4===_0x3e57a4)break;else _0x330130['push'](_0x330130['shift']());}catch(_0x57fb7a){_0x330130['push'](_0x330130['shift']());}}}(a26_0x1968,0xacc02));const testOpsHelper=require(a26_0x9f3f6b(0x1e5)),helper=require(a26_0x9f3f6b(0x1e8));function a26_0x2b2e(_0x2afff3,_0x4f4f84){const _0x196839=a26_0x1968();return a26_0x2b2e=function(_0x2b2e2d,_0x547085){_0x2b2e2d=_0x2b2e2d-0x1de;let _0x6c6212=_0x196839[_0x2b2e2d];return _0x6c6212;},a26_0x2b2e(_0x2afff3,_0x4f4f84);}exports[a26_0x9f3f6b(0x1f3)]=(_0x508da3,_0x169dd2)=>{const _0x467a9f=a26_0x9f3f6b,_0x3dd5cb={};_0x3dd5cb[_0x467a9f(0x1f9)]=_0x467a9f(0x1e0),_0x3dd5cb['mTKyW']=function(_0x4a4c48,_0x37c371){return _0x4a4c48!==_0x37c371;},_0x3dd5cb[_0x467a9f(0x1f1)]=function(_0x5c7aca,_0x22abdd){return _0x5c7aca>_0x22abdd;};const _0x3cc1d1=_0x3dd5cb;if(testOpsHelper[_0x467a9f(0x1e7)]()&&testOpsHelper['shouldReRunObservabilityTests']()){let _0x34834d=process['env'][_0x467a9f(0x1e6)];!helper['isUndefined'](_0x169dd2[_0x467a9f(0x1e9)])&&_0x169dd2[_0x467a9f(0x1e9)]['has'](_0x3cc1d1[_0x467a9f(0x1f9)])&&(_0x34834d=_0x169dd2['cliConfig'][_0x467a9f(0x1de)](_0x3cc1d1[_0x467a9f(0x1f9)]));const _0x22680b=[];helper[_0x467a9f(0x1f2)](_0x34834d)&&_0x3cc1d1['mTKyW'](_0x34834d,null)&&_0x34834d[_0x467a9f(0x1f8)](',')[_0x467a9f(0x1ea)](_0x476b26=>{const _0x3a2903=_0x467a9f;_0x22680b['push'](''+_0x476b26[_0x3a2903(0x1e2)]());}),_0x3cc1d1[_0x467a9f(0x1f1)](_0x22680b[_0x467a9f(0x1ed)],0x0)&&(_0x508da3[_0x467a9f(0x1e4)]=_0x22680b,delete _0x508da3[_0x467a9f(0x1f7)]);}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a27_0x26ff4e=a27_0x2191;(function(_0x8aa1eb,_0x452b42){const _0x50ec4e=a27_0x2191,_0x5d82fb=_0x8aa1eb();while(!![]){try{const _0x24a045=-parseInt(_0x50ec4e(0x17f))/0x1*(-parseInt(_0x50ec4e(0x183))/0x2)+parseInt(_0x50ec4e(0x1df))/0x3+-parseInt(_0x50ec4e(0x12a))/0x4*(-parseInt(_0x50ec4e(0x184))/0x5)+parseInt(_0x50ec4e(0x1a7))/0x6+parseInt(_0x50ec4e(0x128))/0x7+-parseInt(_0x50ec4e(0x182))/0x8*(parseInt(_0x50ec4e(0x14b))/0x9)+parseInt(_0x50ec4e(0x126))/0xa*(-parseInt(_0x50ec4e(0x1ff))/0xb);if(_0x24a045===_0x452b42)break;else _0x5d82fb['push'](_0x5d82fb['shift']());}catch(_0x3c1325){_0x5d82fb['push'](_0x5d82fb['shift']());}}}(a27_0x42e9,0xe1b6c));const {isTestObservabilitySession,PathHelper,debug,failureData,getFailureType,isInternalHook}=require('../../../helpers/test-observability/utils'),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{v4:uuidv4}=require('uuid'),{name,version}=require(a27_0x26ff4e(0x1a4)),stackTrace=require('stack-trace'),{pickUserFrameFile}=require(a27_0x26ff4e(0x1e5)),path=require(a27_0x26ff4e(0x1cc)),fs=require('fs'),TestDetails=require(a27_0x26ff4e(0x11d)),{FRAMEWORKS}=require(a27_0x26ff4e(0x16e)),{o11yClassErrorHandler}=require(a27_0x26ff4e(0x11a)),{getGitMetaData}=require(a27_0x26ff4e(0x1bd)),helper=require('../../../helpers/helper'),{appendTesthubParams,setCurrentTestData}=require('../../../helpers/testhub/utils'),constants=require(a27_0x26ff4e(0x16e)),BrowserstackCLI=require('../../v2/browserstackCLI'),a27_0x185ed2={};function a27_0x2191(_0x215d61,_0x374336){const _0x42e9c2=a27_0x42e9();return a27_0x2191=function(_0x21917f,_0x55042e){_0x21917f=_0x21917f-0x119;let _0xbc4305=_0x42e9c2[_0x21917f];return _0xbc4305;},a27_0x2191(_0x215d61,_0x374336);}a27_0x185ed2[a27_0x26ff4e(0x21d)]=a27_0x26ff4e(0x16d),a27_0x185ed2[a27_0x26ff4e(0x1fa)]=a27_0x26ff4e(0x1f8),a27_0x185ed2[a27_0x26ff4e(0x147)]='pending';const {STATE_PASSED,STATE_PENDING,STATE_FAILED}=a27_0x185ed2,a27_0x854d41={};a27_0x854d41['beforeAll']=a27_0x26ff4e(0x16a),a27_0x854d41[a27_0x26ff4e(0x19e)]='AFTER_ALL',a27_0x854d41[a27_0x26ff4e(0x21a)]=a27_0x26ff4e(0x1b2),a27_0x854d41[a27_0x26ff4e(0x157)]='AFTER_EACH';const HOOK_TYPES_MAP=a27_0x854d41;function a27_0x42e9(){const _0x34f994=['uVHQy','get','[obsReporter]\x20appendTestItemLog:\x20Found\x20active\x20hook\x20-\x20hookUUID=','../../../helpers/stackFrameUtils','EyyhH','splice','getHierarchy','fDDtD','qnUeg','kind','File\x20path\x20could\x20not\x20be\x20found','VptwE','hook_type','EOdHY','current_hook','AISOF','mZDPf','IkRdT','kkbBC','zSXAa','Failed\x20to\x20flush\x20pending\x20hook\x20upload:\x20','currentHook','failed','_testEnv','STATE_FAILED','dZUsI','MEyae','sOmHR','ofeSB','22dZDJsE','findGitConfig','../../v2/state/testFrameworkState','@playwright/test','testObservability','finished_at',',\x20falling\x20back\x20to\x20Jest+Selenium\x20flow','WyRId','0|2|1|3|4','isCliEnabled','hook_failure','puppeteer-core','match','fRGMF','CBTSessionCreated','prefixTestPath','cRwLq','[obsReporter]\x20appendTestItemLog:\x20Attached\x20hook_run_uuid=',':jest-','mapTestHooks','expanded','beforeAll','jgBxn','jqvCn','HookRunFinished','UzBMr','registerListeners','beforeEach','TestRunFinished','Kgrue','STATE_PASSED','failure_backtrace','title','integrations','TestRunSkipped','[obsReporter]\x20appendTestItemLog:\x20Invalid\x20or\x20missing\x20testIdentifier\x20format:\x20','../../../helpers/test-observability/error-handler','_paths','getPackageVersion','./test-details','4|7|1|2|8|3|6|5|0','\x20to\x20log','[obsReporter]\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length=','BDfVo','testIdentifier','wAYUy','NaeDc','WtCcH','1824380raQsom','split','1958894geiTRD','function','548tvDsBq','hook_data','getAllData','isRunning','appendTestPlatform','uploadEventData','RuMpA','_gitConfigPath','setTestUUID','analyticsResult','nvPoD','isJestInternalHook','cwd','KpLWk','getInstance','resetTestHooks','[obsReporter]\x20appendTestItemLog:\x20Instance\x20not\x20available\x20or\x20addMultipleEntries\x20not\x20available\x20for\x20testIdentifier=','getTestEnv','fVZwn','call','qhrYg','forEach','GKwRh','failed\x20to\x20get\x20root\x20parent\x20file\x20','\x22\x20hook\x20for\x20\x22','logs','PoapR','failure_type','errorsDetailed','STATE_PENDING','zPmBp','addMultipleEntries','Exception\x20in\x20getting\x20file\x20for\x20hook\x20','9rPYKlz','result','getRootParentFile','IbLqm','failure','QtLDD','GmBem','\x20with\x20error\x20:\x20','__workerDetails','testAnalyticsId','TzlRL','pCnRT','afterEach','QXzLz','reverse','hook_run','zXxrA','getHooksForTest','jest-circus','zxvzX','UjHuw','appendTestItemLog',',\x20totalLogs:\x20','_pendingHookUploads','push','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','.git','ntLhg','test','dirname',':testAnalyticsId','BEFORE_ALL','toString','join','passed','../../utils/constants','location_prefix','oXutu','includes','RLsmL','hooks','PGopY','bind','retryOf','HTWHg','[obsReporter]\x20appendTestItemLog:\x20Attached\x20test_identifier=',',\x20testIdentifier=','bs:addPlatformDetails:','vkwqg','getTestFramework','HookRun','pending','45RIJDck','file','RczKH','9450016iaYoMA','7390KnwahF','36005UYnqHz','duration','test_run_uuid','event_type','js-','[obsReporter]\x20appendTestItemLog:\x20Stored\x20log\x20in\x20instance.data[KEY_LOGS]\x20for\x20testIdentifier=','asyncError','tYWPp','skipped','markedStatus','YnFju','sendTestRunEvent','util','bNAmA','gpAzh','configureGit','_cachedIntegrations','failure_reason_expanded','NDkAD','jEPSB','uuid','owqkC','ObservabilityReporter','ROOT_DESCRIBE_BLOCK','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','puppeteer','afterAll','getTestUUID','getName','test_run','root','failure_reason','../../../../package.json','bgnuc','started_at','4373682QnNWQK','type','JEST','hookAnalyticsId','hookUUID','relative','sep','BEMBe','YSECM','bs:addLog:','current_test','BEFORE_EACH','statSync','yjfvO','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','getTime','Lakwo','_currentRetry','KEY_LOGS','parent','POST','acjGt','../../../helpers/helper','VkEOA','TpbZP','iBkJS','TEST_REPORTING_ANALYTICS','XsRBW','testStarted','unknown','ZzBPy','JeVqr','BAULr','LogCreated','VtanB','javascript','vUbuO','path','gktni','fgSJO','removeAllListeners','resolveInstance','now','name','lJAxa','pid','getActiveHook','length','dBawk','_gitConfigured','jlGft','ByrON','../../v2/framework/constants/testFrameworkConstants','hook_run_uuid','TEenj','KExtD','927153twaePW','brAUg','AAALE'];a27_0x42e9=function(){return _0x34f994;};return a27_0x42e9();}module['exports']=o11yClassErrorHandler(class ObservabilityReporter{constructor(){const _0x2f25d7=a27_0x26ff4e,_0x9e74b4={'fDDtD':_0x2f25d7(0x11e),'UgCmm':function(_0x163891){return _0x163891();}},_0x33640a=_0x9e74b4[_0x2f25d7(0x1e9)][_0x2f25d7(0x127)]('|');let _0x1f5ee4=0x0;while(!![]){switch(_0x33640a[_0x1f5ee4++]){case'0':this[_0x2f25d7(0x162)]=[];continue;case'1':this[_0x2f25d7(0x1f9)]=this[_0x2f25d7(0x13b)]();continue;case'2':this[_0x2f25d7(0x11b)]=new PathHelper({'cwd':process[_0x2f25d7(0x136)]()},this[_0x2f25d7(0x1f9)][_0x2f25d7(0x16f)]);continue;case'3':this[_0x2f25d7(0x1d8)]=![];continue;case'4':this[_0x2f25d7(0x203)]=_0x9e74b4['UgCmm'](isTestObservabilitySession);continue;case'5':this[_0x2f25d7(0x194)]=null;continue;case'6':this[_0x2f25d7(0x131)]=null;continue;case'7':this['_testResults']=[];continue;case'8':this[_0x2f25d7(0x12b)]=[];continue;}break;}}['getTestEnv']=()=>{const _0x51c43d=a27_0x26ff4e,_0x31432b={'YSECM':'generic','KExtD':function(_0x2ee3ca){return _0x2ee3ca();}};return{'ci':_0x31432b[_0x51c43d(0x1af)],'key':_0x31432b[_0x51c43d(0x1de)](uuidv4),'version':version,'collector':_0x51c43d(0x188)+name};};[a27_0x26ff4e(0x219)](){const _0x49ec6d=a27_0x26ff4e;process[_0x49ec6d(0x1cf)](_0x49ec6d(0x1b0)+process[_0x49ec6d(0x1d4)]),process['on'](_0x49ec6d(0x1b0)+process[_0x49ec6d(0x1d4)],this['appendTestItemLog'][_0x49ec6d(0x175)](this)),process[_0x49ec6d(0x1cf)](_0x49ec6d(0x17a)+process['pid']),process['on'](_0x49ec6d(0x17a)+process[_0x49ec6d(0x1d4)],this[_0x49ec6d(0x12e)]['bind'](this));}['testStarted']=async _0xef7428=>{const _0x32f8aa=a27_0x26ff4e,_0x27c455={'QtLDD':function(_0x4c5885,_0x278ecf){return _0x4c5885>_0x278ecf;},'IkRdT':function(_0x4e466c,_0x20e459){return _0x4e466c===_0x20e459;},'NaeDc':'TestRunStarted','EyyhH':function(_0x494123,_0x5151c1){return _0x494123(_0x5151c1);}};try{const _0x421ea8=this[_0x32f8aa(0x1b1)];this[_0x32f8aa(0x1b1)]=_0xef7428,_0xef7428['retryOf']=null,_0xef7428[_0x32f8aa(0x154)]=TestDetails[_0x32f8aa(0x132)](process['pid']+_0x32f8aa(0x169)),_0xef7428[_0x32f8aa(0x1a6)]=new Date()['toISOString'](),_0x27c455[_0x32f8aa(0x150)](_0xef7428[_0x32f8aa(0x1b8)],0x0)&&_0x421ea8&&_0x27c455[_0x32f8aa(0x1f3)](_0x421ea8[_0x32f8aa(0x21f)],_0xef7428['title'])?(_0xef7428[_0x32f8aa(0x176)]=_0x421ea8['testAnalyticsId'],await this[_0x32f8aa(0x18f)](_0xef7428,undefined,![],_0x27c455[_0x32f8aa(0x124)]),_0x421ea8['state']=STATE_FAILED,await this['sendTestRunEvent'](_0x421ea8,undefined,!![])):await this[_0x32f8aa(0x18f)](_0xef7428,undefined,![],_0x27c455[_0x32f8aa(0x124)]);}catch(_0x581693){_0x27c455[_0x32f8aa(0x1e6)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20'+_0x581693);}};[a27_0x26ff4e(0x1a0)](_0x11a1c4){const _0x397cbc=a27_0x26ff4e,_0x5d54fc={};_0x5d54fc[_0x397cbc(0x155)]=function(_0x4a7e85,_0x173516){return _0x4a7e85!==_0x173516;},_0x5d54fc[_0x397cbc(0x20f)]=_0x397cbc(0x167);const _0x4c9371=_0x5d54fc;if(_0x4c9371[_0x397cbc(0x155)](_0x11a1c4['type'],_0x4c9371[_0x397cbc(0x20f)]))return'\x22'+_0x11a1c4['type']+_0x397cbc(0x142)+(_0x11a1c4[_0x397cbc(0x1ba)]&&_0x11a1c4['parent']['name'])+'\x22';return _0x11a1c4[_0x397cbc(0x1d2)];}[a27_0x26ff4e(0x18f)]=async(_0x7cceea,_0x1e8913=undefined,_0x270f8b=![],_0x2f42b0=a27_0x26ff4e(0x21b))=>{const _0xaf52c3=a27_0x26ff4e,_0x3698af={'Kgrue':_0xaf52c3(0x207),'fgSJO':'hook_run','TpbZP':_0xaf52c3(0x14f),'mZDPf':_0xaf52c3(0x1a1),'ntLhg':_0xaf52c3(0x14c),'BDfVo':_0xaf52c3(0x145),'jqvCn':_0xaf52c3(0x1a3),'XsRBW':function(_0xd45e61,_0x5120cd){return _0xd45e61(_0x5120cd);},'mwYvu':_0xaf52c3(0x15d),'Zbovw':function(_0x428f92,_0x526991){return _0x428f92(_0x526991);},'YnFju':_0xaf52c3(0x190),'dBawk':function(_0x42fe96,_0x1c6a11){return _0x42fe96!==_0x1c6a11;},'BAULr':_0xaf52c3(0x167),'vUbuO':function(_0xdace78,_0x44c901){return _0xdace78!==_0x44c901;},'vQCdu':'err','Lakwo':function(_0xf777e4,_0x2646e6){return _0xf777e4!==_0x2646e6;},'KpLWk':_0xaf52c3(0x1ec),'qUWuV':_0xaf52c3(0x1ca),'QXzLz':_0xaf52c3(0x17e),'fVZwn':function(_0x20b6d2,_0x3eb9f3){return _0x20b6d2===_0x3eb9f3;},'bgnuc':_0xaf52c3(0x221),'PfLHW':_0xaf52c3(0x18c),'zXxrA':function(_0x5267e7,_0x2e3415){return _0x5267e7>_0x2e3415;},'jlGft':_0xaf52c3(0x1f8),'zxvzX':_0xaf52c3(0x16d),'pCnRT':function(_0x25f339,_0x48186a){return _0x25f339-_0x48186a;},'fRGMF':function(_0x3d5d75,_0x49f647,_0x3ab8d1,_0x3a31c8,_0x1dec22){return _0x3d5d75(_0x49f647,_0x3ab8d1,_0x3a31c8,_0x1dec22);},'IvVEI':function(_0x5b412a,_0x13ae06){return _0x5b412a===_0x13ae06;},'gpAzh':_0xaf52c3(0x1a6),'HTWHg':_0xaf52c3(0x204),'BEMBe':function(_0x185417,_0x2c87e9){return _0x185417===_0x2c87e9;},'UzBMr':_0xaf52c3(0x217),'VtanB':_0xaf52c3(0x21e),'ofeSB':'backtrace','ZzBPy':_0xaf52c3(0x195),'EOdHY':_0xaf52c3(0x213),'JeVqr':_0xaf52c3(0x21b),'PoapR':_0xaf52c3(0x1ee),'qnUeg':function(_0x45baf4,_0x30877e){return _0x45baf4>_0x30877e;},'YSwGR':function(_0x31bdaa,_0x21b717){return _0x31bdaa===_0x21b717;},'lJAxa':_0xaf52c3(0x214),'rsTsq':_0xaf52c3(0x17d),'brAUg':_0xaf52c3(0x220),'PNMON':function(_0x1577f0,_0x4d131b,_0xedf728){return _0x1577f0(_0x4d131b,_0xedf728);}};try{if(_0x7cceea['fn']&&_0x7cceea['fn'][_0xaf52c3(0x16b)]()['match'](/browserstack internal helper hook/))return;await this['configureGit']();let _0x5e6b01;try{_0x5e6b01=this[_0xaf52c3(0x14d)](_0x7cceea);}catch(_0xa149e7){_0x3698af[_0xaf52c3(0x1c2)](debug,_0xaf52c3(0x141)+_0xa149e7),_0x5e6b01=null;}if(_0x5e6b01[_0xaf52c3(0x171)](_0x3698af['mwYvu']))return;const _0x3c3c9a=_0x3698af['Zbovw'](require,_0x3698af[_0xaf52c3(0x18e)]);let _0x11eefb=[];if(_0x3698af['dBawk'](_0x7cceea[_0xaf52c3(0x146)],undefined))_0x11eefb=[_0x7cceea[_0xaf52c3(0x146)],_0x3698af[_0xaf52c3(0x1c7)]];else _0x3698af[_0xaf52c3(0x1cb)](_0x1e8913,undefined)?_0x11eefb=[_0x1e8913,_0x3698af['vQCdu']]:_0x11eefb=[];const _0x15d07a=_0x3698af[_0xaf52c3(0x1d7)](_0x7cceea[_0xaf52c3(0x146)],undefined)?_0x3c3c9a['inspect'](_0x7cceea[_0xaf52c3(0x146)][0x0]):_0x3698af[_0xaf52c3(0x1b7)](_0x1e8913,undefined)?_0x1e8913[_0xaf52c3(0x16b)]():undefined,_0x363505=_0x5e6b01?this[_0xaf52c3(0x11b)][_0xaf52c3(0x20e)](this['getRootParentFile'](_0x7cceea)):_0x3698af[_0xaf52c3(0x137)],_0x2e3ab9={'framework':FRAMEWORKS[_0xaf52c3(0x1a9)],'uuid':_0x7cceea[_0xaf52c3(0x154)]||_0x7cceea[_0xaf52c3(0x1aa)],'name':this[_0xaf52c3(0x1a0)](_0x7cceea),'body':{'lang':_0x3698af['qUWuV'],'code':_0x7cceea['fn'][_0xaf52c3(0x16b)]()},'scopes':this[_0xaf52c3(0x1e8)](_0x7cceea),'file_name':_0x363505,'vc_filepath':this[_0xaf52c3(0x131)]&&_0x5e6b01?path[_0xaf52c3(0x1ac)](this[_0xaf52c3(0x131)],_0x5e6b01):null,'location':_0x363505,'result':_0x2f42b0[_0xaf52c3(0x20b)](/Started$/)?_0x3698af[_0xaf52c3(0x158)]:_0x3698af[_0xaf52c3(0x13c)](_0x2f42b0,_0x3698af[_0xaf52c3(0x1a5)])?_0x3698af['PfLHW']:this[_0xaf52c3(0x133)](_0x7cceea[_0xaf52c3(0x146)]&&_0x3698af[_0xaf52c3(0x15b)](_0x7cceea[_0xaf52c3(0x146)][_0xaf52c3(0x1d6)],0x0)?_0x3698af['jlGft']:_0x3698af['zxvzX']),'failure_reason':_0x15d07a,'duration_in_ms':_0x7cceea[_0xaf52c3(0x185)]||(_0x2f42b0[_0xaf52c3(0x20b)](/Finished/)||_0x2f42b0[_0xaf52c3(0x20b)](/Skipped/)?_0x3698af[_0xaf52c3(0x156)](Date[_0xaf52c3(0x1d1)](),new Date(_0x7cceea[_0xaf52c3(0x1a6)])[_0xaf52c3(0x1b6)]()):null),'started_at':_0x7cceea[_0xaf52c3(0x1a6)],'finished_at':_0x2f42b0[_0xaf52c3(0x20b)](/Finished/)||_0x2f42b0['match'](/Skipped/)?new Date()['toISOString']():null,'failure':failureData['apply'](null,_0x11eefb),'failure_type':!_0x15d07a?null:_0x3698af['Zbovw'](getFailureType,_0x15d07a),'retry_of':_0x7cceea[_0xaf52c3(0x176)]};_0x3698af[_0xaf52c3(0x20c)](appendTesthubParams,_0x2e3ab9,_0x2f42b0,_0x7cceea,FRAMEWORKS['JEST']);_0x3698af['IvVEI'](_0x2f42b0,_0x3698af[_0xaf52c3(0x1a5)])&&!_0x2e3ab9[_0x3698af[_0xaf52c3(0x192)]]&&(_0x2e3ab9[_0x3698af['gpAzh']]=_0x2e3ab9[_0x3698af[_0xaf52c3(0x177)]]);if(_0x2f42b0[_0xaf52c3(0x20b)](/HookRun/))[_0x2e3ab9[_0xaf52c3(0x1ee)],_0x2e3ab9[_0xaf52c3(0x1d2)]]=[_0x7cceea[_0xaf52c3(0x1a8)],this[_0xaf52c3(0x1a0)](_0x7cceea)],_0x3698af[_0xaf52c3(0x1ae)](_0x2f42b0,_0x3698af[_0xaf52c3(0x218)])&&(_0x3698af[_0xaf52c3(0x1cb)](_0x2e3ab9[_0xaf52c3(0x14c)],_0x3698af[_0xaf52c3(0x1d9)])&&(_0x2e3ab9['result']=_0x3698af[_0xaf52c3(0x15e)]));else _0x2f42b0['match'](/TestRun/)&&this['mapTestHooks'](_0x7cceea);const _0x376367=_0x2e3ab9[_0x3698af[_0xaf52c3(0x1bf)]][0x0];_0x376367&&(_0x2e3ab9[_0x3698af[_0xaf52c3(0x1c9)]]=_0x376367[_0x3698af[_0xaf52c3(0x1fe)]],_0x2e3ab9[_0x3698af[_0xaf52c3(0x1c5)]]=_0x376367[_0x3698af[_0xaf52c3(0x1ef)]]);[_0x3698af[_0xaf52c3(0x1c6)],_0x3698af['bgnuc']]['includes'](_0x2f42b0)&&(this['_testResults']['push'](_0x2e3ab9),_0x2e3ab9[_0xaf52c3(0x173)]=this['getHooksForTest'](_0x7cceea),this[_0xaf52c3(0x139)](_0x7cceea));const _0x587a81={'event_type':_0x3698af['IvVEI'](_0x2f42b0,_0x3698af['bgnuc'])?_0x3698af[_0xaf52c3(0x1c6)]:_0x2f42b0};_0x2f42b0[_0xaf52c3(0x20b)](/HookRun/)?(_0x2e3ab9[_0x3698af[_0xaf52c3(0x144)]]=HOOK_TYPES_MAP[_0x2e3ab9[_0x3698af[_0xaf52c3(0x144)]]],_0x587a81[_0x3698af['fgSJO']]=_0x2e3ab9):_0x587a81[_0x3698af['mZDPf']]=_0x2e3ab9;_0x3698af[_0xaf52c3(0x1ea)](this['hook_data'][_0xaf52c3(0x1d6)],0x0)&&[_0x3698af[_0xaf52c3(0x1c6)],_0x3698af[_0xaf52c3(0x1a5)]][_0xaf52c3(0x171)](_0x2f42b0)&&(this['hook_data'][_0xaf52c3(0x13f)](async _0x148955=>{const _0x4d84a2=_0xaf52c3,_0x4fd627=_0x3698af[_0x4d84a2(0x21c)][_0x4d84a2(0x127)]('|');let _0x4c4af6=0x0;while(!![]){switch(_0x4fd627[_0x4c4af6++]){case'0':_0x148955[_0x3698af[_0x4d84a2(0x1ce)]][_0x3698af[_0x4d84a2(0x1bf)]]=_0x587a81[_0x3698af[_0x4d84a2(0x1f2)]][_0x3698af[_0x4d84a2(0x1bf)]];continue;case'1':_0x148955[_0x3698af[_0x4d84a2(0x1ce)]][_0x3698af[_0x4d84a2(0x166)]]=_0x587a81[_0x3698af['mZDPf']][_0x3698af['ntLhg']];continue;case'2':_0x148955[_0x3698af['fgSJO']][_0x3698af['BDfVo']]=_0x587a81[_0x3698af[_0x4d84a2(0x1f2)]][_0x3698af[_0x4d84a2(0x121)]];continue;case'3':_0x148955[_0x3698af[_0x4d84a2(0x1ce)]][_0x3698af[_0x4d84a2(0x216)]]=_0x587a81[_0x3698af[_0x4d84a2(0x1f2)]][_0x3698af['jqvCn']];continue;case'4':await SessionHandler[_0x4d84a2(0x12f)](_0x148955);continue;}break;}}),this[_0xaf52c3(0x12b)]=[]);if(_0x3698af[_0xaf52c3(0x13c)](this['hook_failure'],_0x7cceea['type'])){this[_0xaf52c3(0x12b)]['push'](_0x587a81);return;}_0x3698af['YSwGR'](this[_0xaf52c3(0x209)],_0x3698af[_0xaf52c3(0x1d3)])&&_0x587a81[_0x3698af[_0xaf52c3(0x1f2)]]&&(_0x587a81[_0x3698af[_0xaf52c3(0x1f2)]][_0x3698af[_0xaf52c3(0x166)]]=_0x3698af['PfLHW'],_0x587a81[_0x3698af['mZDPf']][_0x3698af[_0xaf52c3(0x1bf)]]=null,_0x587a81[_0x3698af[_0xaf52c3(0x1f2)]][_0x3698af[_0xaf52c3(0x121)]]=null);if(_0x2f42b0['includes'](_0x3698af['rsTsq'])&&_0x587a81[_0x3698af['fgSJO']]){if(this[_0xaf52c3(0x194)])_0x587a81[_0x3698af[_0xaf52c3(0x1ce)]][_0x3698af[_0xaf52c3(0x1e0)]]=this[_0xaf52c3(0x194)];else{this['_pendingHookUploads']['push'](_0x587a81);return;}}_0x3698af['PNMON'](setCurrentTestData,FRAMEWORKS[_0xaf52c3(0x1a9)],_0x587a81),await SessionHandler[_0xaf52c3(0x12f)](_0x587a81);}catch(_0x86416e){_0x3698af['Zbovw'](debug,_0xaf52c3(0x19c)+_0x2f42b0+_0xaf52c3(0x152)+_0x86416e);}};['findGitConfig'](_0x387e54){const _0x45443b=a27_0x26ff4e,_0x22db78={};_0x22db78[_0x45443b(0x1e1)]=function(_0x4519ac,_0xbbed5){return _0x4519ac==_0xbbed5;},_0x22db78[_0x45443b(0x174)]=function(_0x179ed7,_0x144d95){return _0x179ed7===_0x144d95;},_0x22db78['IbLqm']=_0x45443b(0x165),_0x22db78[_0x45443b(0x215)]='config';const _0x3be232=_0x22db78,_0xd3ff06=path[_0x45443b(0x1ad)];if(_0x3be232['AAALE'](_0x387e54,null)||_0x3be232[_0x45443b(0x174)](_0x387e54,'')||_0x3be232['PGopY'](_0x387e54,_0xd3ff06)||_0x3be232['PGopY'](_0x387e54,path[_0x45443b(0x168)](_0x387e54)))return null;try{return fs[_0x45443b(0x1b3)](path[_0x45443b(0x16c)](_0x387e54,_0x3be232[_0x45443b(0x14e)],_0x3be232['jgBxn'])),_0x387e54;}catch(_0x51ce4f){const _0x5b34d3=path[_0x45443b(0x168)](_0x387e54);return this['findGitConfig'](_0x5b34d3);}}[a27_0x26ff4e(0x160)]=async _0x58c738=>{const _0x284f0b=a27_0x26ff4e,_0x42995d={'nEOeZ':_0x284f0b(0x202),'vkwqg':_0x284f0b(0x20a),'RczKH':_0x284f0b(0x19d),'GKwRh':function(_0x2b9667,_0x506619){return _0x2b9667||_0x506619;},'WfsrX':function(_0x12e499,_0x1ea10b){return _0x12e499(_0x1ea10b);},'ByrON':'[obsReporter]\x20appendTestItemLog:\x20Jest+Playwright/Puppeteer\x20CLI\x20flow\x20detected,\x20using\x20in-memory\x20storage','tYWPp':function(_0x5d7b5d,_0x500b08){return _0x5d7b5d(_0x500b08);},'bNAmA':function(_0x192a75,_0x1b7c75){return _0x192a75&&_0x1b7c75;},'VptwE':function(_0xc23619,_0x70440c){return _0xc23619(_0x70440c);},'rBEEb':_0x284f0b(0x211),'dZUsI':function(_0xd8639c,_0x35e9cf){return _0xd8639c(_0x35e9cf);},'yjfvO':function(_0x101cb1,_0x5d6d22){return _0x101cb1(_0x5d6d22);},'AISOF':_0x284f0b(0x201),'TEenj':'../../v2/state/hookState','Dtxxo':_0x284f0b(0x1db),'iBkJS':function(_0x125e25,_0x182b28){return _0x125e25===_0x182b28;},'gktni':_0x284f0b(0x129),'MEyae':function(_0x3d3320,_0x4427f7){return _0x3d3320(_0x4427f7);},'acjGt':_0x284f0b(0x1c4),'nvPoD':function(_0x2254c1,_0x1ce1ec){return _0x2254c1(_0x1ce1ec);},'WtCcH':_0x284f0b(0x1c8),'NDkAD':function(_0x1cc68d,_0x4c86b8){return _0x1cc68d(_0x4c86b8);}};try{const _0x3a8aa8=helper[_0x284f0b(0x11c)](_0x42995d['nEOeZ']),_0x3ed299=!!_0x3a8aa8,_0x2b269f=helper[_0x284f0b(0x11c)](_0x42995d[_0x284f0b(0x17b)])||helper['getPackageVersion'](_0x42995d[_0x284f0b(0x181)]),_0x351410=!!_0x2b269f,_0x2c282f=BrowserstackCLI[_0x284f0b(0x138)]()[_0x284f0b(0x208)]()&&BrowserstackCLI['getInstance']()[_0x284f0b(0x12d)]();if(_0x42995d[_0x284f0b(0x140)](_0x3ed299,_0x351410)&&_0x2c282f){_0x42995d['WfsrX'](debug,_0x42995d[_0x284f0b(0x1da)]);let _0x4b8de4=null,_0x487b18=null;if(global[_0x284f0b(0x153)]&&global[_0x284f0b(0x153)][_0x284f0b(0x1f7)]){const _0x193b5c=global[_0x284f0b(0x153)][_0x284f0b(0x1f7)];_0x487b18=_0x193b5c['hookUUID'],_0x4b8de4=_0x193b5c[_0x284f0b(0x122)],_0x42995d['tYWPp'](debug,_0x284f0b(0x1e4)+_0x487b18+_0x284f0b(0x179)+_0x4b8de4);}!_0x4b8de4&&(_0x4b8de4=global['__jestCurrentTestIdentifier'],_0x42995d[_0x284f0b(0x18b)](debug,'[obsReporter]\x20appendTestItemLog:\x20Using\x20testIdentifier\x20from\x20global.__jestCurrentTestIdentifier:\x20'+_0x4b8de4));if(_0x42995d[_0x284f0b(0x191)](!_0x487b18,_0x4b8de4)){const _0x597a94=BrowserstackCLI['getInstance']()[_0x284f0b(0x17c)]();if(_0x597a94&&_0x597a94[_0x284f0b(0x1d5)]){const _0x533e22=_0x597a94[_0x284f0b(0x1d5)](_0x4b8de4);_0x533e22&&_0x533e22[_0x284f0b(0x1ab)]&&(_0x487b18=_0x533e22[_0x284f0b(0x1ab)],_0x42995d[_0x284f0b(0x1ed)](debug,'[obsReporter]\x20appendTestItemLog:\x20Found\x20active\x20hook\x20from\x20JestTestFramework\x20-\x20hookUUID='+_0x487b18+_0x284f0b(0x179)+_0x4b8de4));}}if(!_0x4b8de4||!_0x4b8de4[_0x284f0b(0x171)](_0x42995d['rBEEb']))_0x42995d[_0x284f0b(0x1fb)](debug,_0x284f0b(0x119)+_0x4b8de4+_0x284f0b(0x205));else{_0x487b18&&(_0x58c738[_0x284f0b(0x1dc)]=_0x487b18,_0x42995d[_0x284f0b(0x1b4)](debug,_0x284f0b(0x210)+_0x487b18+'\x20to\x20log'));_0x58c738['test_identifier']=_0x4b8de4,_0x42995d['WfsrX'](debug,_0x284f0b(0x178)+_0x4b8de4+_0x284f0b(0x11f));const _0x382f3a=BrowserstackCLI[_0x284f0b(0x138)]()[_0x284f0b(0x17c)]();if(_0x382f3a){const _0x14c9c3=_0x42995d[_0x284f0b(0x18b)](require,_0x42995d[_0x284f0b(0x1f1)]),_0x528c92=_0x42995d[_0x284f0b(0x1b4)](require,_0x42995d[_0x284f0b(0x1dd)]),_0x5cda99=_0x42995d[_0x284f0b(0x1fb)](require,_0x42995d['Dtxxo']),_0x40f183=_0x382f3a[_0x284f0b(0x1d0)](_0x14c9c3['TEST'],_0x528c92[_0x284f0b(0x1bb)]);if(_0x40f183&&_0x42995d[_0x284f0b(0x1c0)](typeof _0x40f183[_0x284f0b(0x149)],_0x42995d[_0x284f0b(0x1cd)])){const _0x14eab4=_0x40f183[_0x284f0b(0x12c)]()[_0x284f0b(0x1e3)](_0x4b8de4)||{},_0x286ebc=_0x14eab4[_0x5cda99[_0x284f0b(0x1b9)]]||[],_0xa26b74=[..._0x286ebc,_0x58c738],_0x22358b={[_0x5cda99[_0x284f0b(0x1b9)]]:_0xa26b74},_0x3823f8={};_0x3823f8[_0x4b8de4]=_0x22358b,_0x40f183[_0x284f0b(0x149)](_0x3823f8),_0x42995d[_0x284f0b(0x1fc)](debug,_0x284f0b(0x189)+_0x4b8de4+',\x20logKind='+(_0x58c738[_0x284f0b(0x1eb)]||_0x42995d[_0x284f0b(0x1bc)])+_0x284f0b(0x161)+_0xa26b74['length']);return;}_0x42995d['MEyae'](debug,_0x284f0b(0x13a)+_0x4b8de4+',\x20falling\x20back\x20to\x20Jest+Selenium\x20flow');}}}}catch(_0x388957){_0x42995d[_0x284f0b(0x134)](debug,'[obsReporter]\x20appendTestItemLog:\x20Error\x20in\x20Jest+Playwright\x20flow\x20detection:\x20'+_0x388957+_0x284f0b(0x205));}const _0x5cde0a=TestDetails[_0x284f0b(0x19f)](process[_0x284f0b(0x1d4)]+':hookAnalyticsId'),_0x185bf7=TestDetails['getTestUUID'](process['pid']+_0x284f0b(0x169));try{(_0x5cde0a||this['current_hook']&&!this[_0x284f0b(0x1f0)][_0x284f0b(0x18d)])&&(_0x58c738[_0x284f0b(0x1dc)]=_0x5cde0a);!_0x58c738[_0x284f0b(0x1dc)]&&_0x185bf7&&(_0x58c738['test_run_uuid']=_0x185bf7);if(_0x58c738[_0x284f0b(0x1dc)]||_0x58c738[_0x284f0b(0x186)]){const _0xe9cae1={};_0xe9cae1[_0x284f0b(0x187)]=_0x42995d[_0x284f0b(0x125)],_0xe9cae1[_0x284f0b(0x143)]=[_0x58c738],await SessionHandler['uploadEventData'](_0xe9cae1);}}catch(_0xdcea56){_0x42995d[_0x284f0b(0x196)](debug,_0x284f0b(0x1b5)+constants[_0x284f0b(0x1c1)]+'\x20with\x20error\x20:\x20'+_0xdcea56);}};[a27_0x26ff4e(0x12e)]=async _0xa1f772=>{const _0x121b81=a27_0x26ff4e,_0x256794={'vbNkg':'http_response','oXutu':_0x121b81(0x20d),'RLsmL':function(_0x5d2b95,_0x333efc){return _0x5d2b95>_0x333efc;},'owqkC':_0x121b81(0x15a),'FLmcT':function(_0x31b9fe,_0x52b8fb,_0x2366c5){return _0x31b9fe(_0x52b8fb,_0x2366c5);},'VkEOA':function(_0x127855,_0x231369){return _0x127855(_0x231369);}};try{const _0x5795ff=_0xa1f772&&_0xa1f772[_0x256794['vbNkg']];_0x5795ff&&(this[_0x121b81(0x194)]=_0x5795ff);const _0x1851a7={'uuid':_0xa1f772[_0x121b81(0x198)]||TestDetails[_0x121b81(0x19f)](process[_0x121b81(0x1d4)]+_0x121b81(0x169)),'integrations':_0x5795ff},_0x403fe3={};_0x403fe3['event_type']=_0x256794[_0x121b81(0x170)],_0x403fe3['test_run']=_0x1851a7,await SessionHandler[_0x121b81(0x12f)](_0x403fe3);if(_0x5795ff&&_0x256794[_0x121b81(0x172)](this[_0x121b81(0x162)][_0x121b81(0x1d6)],0x0)){const _0x15859f=this['_pendingHookUploads'][_0x121b81(0x1e7)](0x0,this[_0x121b81(0x162)][_0x121b81(0x1d6)]);for(const _0x33e1b5 of _0x15859f){try{const _0x567815=_0x33e1b5&&_0x33e1b5[_0x256794[_0x121b81(0x199)]]?{..._0x33e1b5,'hook_run':{..._0x33e1b5[_0x256794['owqkC']],'integrations':_0x5795ff}}:_0x33e1b5;_0x256794['FLmcT'](setCurrentTestData,FRAMEWORKS[_0x121b81(0x1a9)],_0x567815),await SessionHandler[_0x121b81(0x12f)](_0x567815);}catch(_0x254c88){_0x256794[_0x121b81(0x1be)](debug,_0x121b81(0x1f6)+_0x254c88);}}}}catch(_0x4e70e9){_0x256794[_0x121b81(0x1be)](debug,_0x121b81(0x164)+constants['TEST_REPORTING_ANALYTICS']+'\x20with\x20error\x20:\x20'+_0x4e70e9);}};async[a27_0x26ff4e(0x193)](){const _0x1ee067=a27_0x26ff4e,_0x3ad74a={'zPmBp':function(_0x1b207e){return _0x1b207e();}};if(this[_0x1ee067(0x1d8)])return this['_gitConfigPath'];const _0x3faa09=await _0x3ad74a[_0x1ee067(0x148)](getGitMetaData);_0x3faa09&&(this['_gitConfigPath']=_0x3faa09[_0x1ee067(0x1a2)]),this[_0x1ee067(0x1d8)]=!![];}[a27_0x26ff4e(0x133)](_0xe53241){const _0x23230f=a27_0x26ff4e,_0x1529f2={};_0x1529f2[_0x23230f(0x1f4)]=_0x23230f(0x16d),_0x1529f2['zSXAa']=_0x23230f(0x17e),_0x1529f2[_0x23230f(0x123)]='failed';const _0x18daf1=_0x1529f2,_0x1a8dba={};return _0x1a8dba[STATE_PASSED]=_0x18daf1[_0x23230f(0x1f4)],_0x1a8dba[STATE_PENDING]=_0x18daf1[_0x23230f(0x1f5)],_0x1a8dba[STATE_FAILED]=_0x18daf1['wAYUy'],_0x1a8dba[_0xe53241];}[a27_0x26ff4e(0x1e8)](_0x4b591){const _0x1fda17=a27_0x26ff4e,_0x28bedc={};_0x28bedc[_0x1fda17(0x197)]=function(_0x8703b0,_0x11bf9f){return _0x8703b0!==_0x11bf9f;},_0x28bedc['qhrYg']=function(_0x55d70f,_0x22c8c6){return _0x55d70f!==_0x22c8c6;},_0x28bedc[_0x1fda17(0x130)]=_0x1fda17(0x19b);const _0x24d23a=_0x28bedc,_0x23f062=[];if(_0x4b591&&_0x4b591['parent']){let _0x1d3ed3=_0x4b591[_0x1fda17(0x1ba)];while(_0x1d3ed3&&_0x24d23a[_0x1fda17(0x197)](_0x1d3ed3[_0x1fda17(0x1d2)],'')&&_0x24d23a[_0x1fda17(0x13e)](_0x1d3ed3[_0x1fda17(0x1d2)],_0x24d23a[_0x1fda17(0x130)])){_0x23f062[_0x1fda17(0x163)](_0x1d3ed3[_0x1fda17(0x1d2)]),_0x1d3ed3=_0x1d3ed3[_0x1fda17(0x1ba)];}}return _0x23f062[_0x1fda17(0x159)](),_0x23f062;}['getRootParentFile']=_0x31c284=>{const _0x20a77b=a27_0x26ff4e,_0x3ca5d4={'UjHuw':function(_0xf27887,_0x11e0ff){return _0xf27887(_0x11e0ff);}};if(_0x31c284[_0x20a77b(0x180)])return _0x31c284[_0x20a77b(0x180)];if(_0x31c284[_0x20a77b(0x18a)]){const _0xfe235e=stackTrace['parse'][_0x20a77b(0x13d)](stackTrace,_0x31c284[_0x20a77b(0x18a)]),_0x3c288b=_0x3ca5d4[_0x20a77b(0x15f)](pickUserFrameFile,_0xfe235e);if(_0x3c288b)return _0x3c288b;_0x3ca5d4['UjHuw'](debug,_0x20a77b(0x120)+_0xfe235e['length']+')');}return null;};[a27_0x26ff4e(0x212)]=_0x40754e=>{const _0x2db34d=a27_0x26ff4e;if(!_0x40754e||!_0x40754e[_0x2db34d(0x1ba)])return;_0x40754e[_0x2db34d(0x1ba)][_0x2db34d(0x173)][_0x2db34d(0x13f)](_0x31d744=>{const _0x15a489=_0x2db34d;!_0x31d744['hookAnalyticsId']&&(_0x31d744[_0x15a489(0x1aa)]=TestDetails['setTestUUID'](process[_0x15a489(0x1d4)]+':hookAnalyticsId'));}),this['mapTestHooks'](_0x40754e[_0x2db34d(0x1ba)]);};[a27_0x26ff4e(0x139)]=_0x7cb47c=>{const _0x147736=a27_0x26ff4e,_0x16c2cc={};_0x16c2cc['uVHQy']=_0x147736(0x21a),_0x16c2cc['rNhqn']=_0x147736(0x157);const _0x1d6c0c=_0x16c2cc;if(!_0x7cb47c||!_0x7cb47c['parent'])return;_0x7cb47c[_0x147736(0x1ba)][_0x147736(0x173)]['forEach'](_0x2eb117=>{const _0x177117=_0x147736;[_0x1d6c0c[_0x177117(0x1e2)],_0x1d6c0c['rNhqn']][_0x177117(0x171)](_0x2eb117[_0x177117(0x1a8)])&&_0x2eb117[_0x177117(0x1aa)]&&(_0x2eb117['hookAnalyticsId']=null);}),this[_0x147736(0x212)](_0x7cb47c['parent']);};[a27_0x26ff4e(0x135)](_0x32c265){const _0x5c19ce=a27_0x26ff4e,_0x8205a5={'WyRId':_0x5c19ce(0x15d),'GmBem':function(_0x8690f4,_0x110a20){return _0x8690f4(_0x110a20);},'ykuIN':function(_0x58133f,_0x5e5dde){return _0x58133f+_0x5e5dde;},'NSxmP':_0x5c19ce(0x14a)};try{const _0x3c1aea=this['getRootParentFile'](_0x32c265);if(!_0x3c1aea||_0x3c1aea[_0x5c19ce(0x171)](_0x8205a5[_0x5c19ce(0x206)]))return!![];return![];}catch(_0x4d3ea7){_0x8205a5[_0x5c19ce(0x151)](debug,_0x8205a5['ykuIN'](_0x8205a5['NSxmP'],_0x4d3ea7));}return![];}['getHooksForTest']=_0x666e05=>{const _0x29289e=a27_0x26ff4e,_0x58d037={'sOmHR':function(_0x28977b,_0xb02b8d){return _0x28977b(_0xb02b8d);}};if(!_0x666e05||!_0x666e05[_0x29289e(0x1ba)])return[];const _0x1b1716=[];return _0x666e05[_0x29289e(0x1ba)][_0x29289e(0x173)][_0x29289e(0x13f)](_0x3d7bb6=>{const _0x2ef351=_0x29289e;_0x3d7bb6[_0x2ef351(0x1aa)]&&!_0x58d037[_0x2ef351(0x1fd)](isInternalHook,_0x3d7bb6['fn'])&&!this[_0x2ef351(0x135)](_0x3d7bb6)&&_0x1b1716[_0x2ef351(0x163)](_0x3d7bb6[_0x2ef351(0x1aa)]);}),[..._0x1b1716,...this[_0x29289e(0x15c)](_0x666e05[_0x29289e(0x1ba)])];};},['getTestEnv',a27_0x26ff4e(0x219),a27_0x26ff4e(0x1c3),a27_0x26ff4e(0x1a0),'sendTestRunEvent',a27_0x26ff4e(0x200),'appendTestItemLog','appendTestPlatform','analyticsResult',a27_0x26ff4e(0x1e8),a27_0x26ff4e(0x14d),'mapTestHooks',a27_0x26ff4e(0x139),a27_0x26ff4e(0x15c),'configureGit'],a27_0x26ff4e(0x19a));
|
|
1
|
+
const a27_0x3e8f4c=a27_0x1f99;function a27_0x2087(){const _0x235fae=['wPdGf','resetTestHooks','4198495WuWxPy','title','call','../../../helpers/helper','../../v2/state/testFrameworkState','configureGit','hJrHQ','mIdYG','[obsReporter]\x20appendTestItemLog:\x20Invalid\x20or\x20missing\x20testIdentifier\x20format:\x20','reverse','748869DEBWPN','bind','[obsReporter]\x20appendTestItemLog:\x20Attached\x20hook_run_uuid=','failed','lwNXP','CaTxk','retryOf','puppeteer','getTestFramework','logs','dWfCa','fyAlw','SsSoY','Xwjww','javascript','NilMx','passed','ObservabilityReporter','zahfG','CItwC','join','resolveInstance','yTmyK','EVUxo','KEY_LOGS','KPxmS','failure_reason','file',':hookAnalyticsId','[obsReporter]\x20appendTestItemLog:\x20Attached\x20test_identifier=','byADk','GWEXp','includes','current_hook','2|7|4|6|1|5|3|8|0','relative','fryQg','__workerDetails','js-','puppeteer-core','POST','hook_run_uuid','[obsReporter]\x20appendTestItemLog:\x20Stored\x20log\x20in\x20instance.data[KEY_LOGS]\x20for\x20testIdentifier=','kBLiQ','tyMPr','Failed\x20to\x20flush\x20pending\x20hook\x20upload:\x20','testStarted','snUGZ','hook_run','unknown','cwd','[obsReporter]\x20appendTestItemLog:\x20Error\x20in\x20Jest+Playwright\x20flow\x20detection:\x20','hook_data','210xfCqGh','exports','CMXKp','getName','addMultipleEntries','__jestCurrentTestIdentifier','generic','\x20with\x20error\x20:\x20','failed\x20to\x20get\x20root\x20parent\x20file\x20','hook_type','state','toString','hookUUID','cGytl','name','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','getHierarchy','AXDkb','parent','mapTestHooks','FIwIr','ltqIn','test_run','@playwright/test','_pendingHookUploads','wZXpH','CBTSessionCreated','STATE_PENDING','../../../helpers/test-observability/utils','bs:addPlatformDetails:','STATE_PASSED','8847126tDToVZ','failure_reason_expanded','entRA','push','getHooksForTest','OboYI','errorsDetailed','[obsReporter]\x20appendTestItemLog:\x20Found\x20active\x20hook\x20-\x20hookUUID=','_testEnv','kpBWF','VEzam','kind','markedStatus','stack-trace','_cachedIntegrations','YVZNS','test_run_uuid','wYtBk','TEST','GgWgZ','JtREt','SmEgb',',\x20totalLogs:\x20','JEST','backtrace','finished_at','8JmYqbn','BxuRm','pending','1164838zXGJJT','findGitConfig','HNOMw','PoJNQ','registerListeners','../../v2/framework/constants/testFrameworkConstants',',\x20testIdentifier=','BKgSk','373038poroOA','get','setTestUUID','2|3|1|4|0','oSPwl','inspect','BCHsB','isCliEnabled','388201dgiBmA','vqqyR','EuDKt','appendTestPlatform','TJwHE','5PzisRZ','AFkzT','loaAL','bs:addLog:','../../../helpers/test-observability/error-handler','_paths','test','dirname','apply','GNYgP','analyticsResult','MsANd','integrations','ztRGs','isJestInternalHook','hook_failure','afterAll','oDvzX','XJSSQ','toISOString','uFtEq','getPackageVersion','JHKwT','LRUHm','dqGqz','started_at','sbWBA','YWPdN','QGgTN','parse','GUyYC','getTestEnv','getRootParentFile','[obsReporter]\x20appendTestItemLog:\x20Jest+Playwright/Puppeteer\x20CLI\x20flow\x20detected,\x20using\x20in-memory\x20storage','getTime','LogCreated','XTgfK','klrtH','HYLfU','beforeEach','EFwqZ','1NaaddL','QkSSv','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','afterEach','AviEr','getInstance','Exception\x20in\x20getting\x20file\x20for\x20hook\x20','\x20to\x20log','result','event_type','BsVhi','[obsReporter]\x20appendTestItemLog:\x20Instance\x20not\x20available\x20or\x20addMultipleEntries\x20not\x20available\x20for\x20testIdentifier=','fXlFY','aBMec','sendTestRunEvent','dpuYC','dyUky','uploadEventData','../../../helpers/stackFrameUtils','[obsReporter]\x20appendTestItemLog:\x20Found\x20active\x20hook\x20from\x20JestTestFramework\x20-\x20hookUUID=',':jest-','\x22\x20hook\x20for\x20\x22','testIdentifier','TestRunSkipped','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','appendTestItemLog','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','yBUNR','length','SINoX','./test-details','luZKU','TestRunFinished','../../utils/constants','test_identifier','jest-circus','getTestUUID','BEFORE_EACH','AYUvf','.git','currentHook','removeAllListeners','pid','asyncError','itHZI','../../../helpers/testhub/utils','type','config','zhxUJ','hookAnalyticsId','LEmez','BEFORE_ALL','5065992FdxbRY','zGpLI','AFTER_ALL','xPNax','ROOT_DESCRIBE_BLOCK','QChjq','match','../../../../package.json','_gitConfigured','skipped','ZFqUH','expanded','jyeTI','http_response','beforeAll','_gitConfigPath','location_prefix',':testAnalyticsId','hooks','MZlCx','testAnalyticsId','sep','TestRunStarted','forEach','MWtwj','ajgKg','getActiveHook'];a27_0x2087=function(){return _0x235fae;};return a27_0x2087();}(function(_0x15ee51,_0x369a22){const _0x37d242=a27_0x1f99,_0x40d79d=_0x15ee51();while(!![]){try{const _0x10f4ca=parseInt(_0x37d242(0x17a))/0x1*(parseInt(_0x37d242(0x13c))/0x2)+parseInt(_0x37d242(0x1d5))/0x3*(-parseInt(_0x37d242(0x139))/0x4)+-parseInt(_0x37d242(0x151))/0x5*(parseInt(_0x37d242(0x144))/0x6)+-parseInt(_0x37d242(0x1cb))/0x7+-parseInt(_0x37d242(0x1ae))/0x8+parseInt(_0x37d242(0x229))/0x9+-parseInt(_0x37d242(0x20a))/0xa*(-parseInt(_0x37d242(0x14c))/0xb);if(_0x10f4ca===_0x369a22)break;else _0x40d79d['push'](_0x40d79d['shift']());}catch(_0x2f55cf){_0x40d79d['push'](_0x40d79d['shift']());}}}(a27_0x2087,0x7d05b));const {isTestObservabilitySession,PathHelper,debug,failureData,getFailureType,isInternalHook}=require(a27_0x3e8f4c(0x226)),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{v4:uuidv4}=require('uuid'),{name,version}=require(a27_0x3e8f4c(0x1b5)),stackTrace=require(a27_0x3e8f4c(0x12c)),{pickUserFrameFile}=require(a27_0x3e8f4c(0x18c)),path=require('path'),fs=require('fs'),TestDetails=require(a27_0x3e8f4c(0x198)),{FRAMEWORKS}=require(a27_0x3e8f4c(0x19b)),{o11yClassErrorHandler}=require(a27_0x3e8f4c(0x155)),{getGitMetaData}=require(a27_0x3e8f4c(0x1ce)),helper=require(a27_0x3e8f4c(0x1ce)),{appendTesthubParams,setCurrentTestData}=require(a27_0x3e8f4c(0x1a7)),constants=require(a27_0x3e8f4c(0x19b)),BrowserstackCLI=require('../../v2/browserstackCLI'),a27_0x59f54e={};a27_0x59f54e[a27_0x3e8f4c(0x228)]=a27_0x3e8f4c(0x1e5),a27_0x59f54e['STATE_FAILED']=a27_0x3e8f4c(0x1d8),a27_0x59f54e[a27_0x3e8f4c(0x225)]=a27_0x3e8f4c(0x13b);const {STATE_PASSED,STATE_PENDING,STATE_FAILED}=a27_0x59f54e,a27_0x350abc={};a27_0x350abc[a27_0x3e8f4c(0x1bc)]=a27_0x3e8f4c(0x1ad),a27_0x350abc[a27_0x3e8f4c(0x161)]=a27_0x3e8f4c(0x1b0),a27_0x350abc[a27_0x3e8f4c(0x178)]=a27_0x3e8f4c(0x19f),a27_0x350abc[a27_0x3e8f4c(0x17d)]='AFTER_EACH';const HOOK_TYPES_MAP=a27_0x350abc;function a27_0x1f99(_0x5e4144,_0x4a04b4){const _0x20871a=a27_0x2087();return a27_0x1f99=function(_0x1f996b,_0x6ec48e){_0x1f996b=_0x1f996b-0x120;let _0x4da760=_0x20871a[_0x1f996b];return _0x4da760;},a27_0x1f99(_0x5e4144,_0x4a04b4);}module[a27_0x3e8f4c(0x20b)]=o11yClassErrorHandler(class ObservabilityReporter{constructor(){const _0x5942ed=a27_0x3e8f4c,_0x877adb={'MyeUq':_0x5942ed(0x1f7),'eHsHB':function(_0x12d584){return _0x12d584();}},_0x2080f6=_0x877adb['MyeUq']['split']('|');let _0x41fa24=0x0;while(!![]){switch(_0x2080f6[_0x41fa24++]){case'0':this['_pendingHookUploads']=[];continue;case'1':this[_0x5942ed(0x209)]=[];continue;case'2':this['testObservability']=_0x877adb['eHsHB'](isTestObservabilitySession);continue;case'3':this[_0x5942ed(0x1bd)]=null;continue;case'4':this[_0x5942ed(0x127)]=this[_0x5942ed(0x170)]();continue;case'5':this['_gitConfigured']=![];continue;case'6':this[_0x5942ed(0x156)]=new PathHelper({'cwd':process[_0x5942ed(0x207)]()},this['_testEnv'][_0x5942ed(0x1be)]);continue;case'7':this['_testResults']=[];continue;case'8':this[_0x5942ed(0x12d)]=null;continue;}break;}}[a27_0x3e8f4c(0x170)]=()=>{const _0xb0c49=a27_0x3e8f4c,_0x1da665={'entRA':_0xb0c49(0x210),'vYPBo':function(_0x35ec3f){return _0x35ec3f();}};return{'ci':_0x1da665[_0xb0c49(0x121)],'key':_0x1da665['vYPBo'](uuidv4),'version':version,'collector':_0xb0c49(0x1fb)+name};};['registerListeners'](){const _0x15e69c=a27_0x3e8f4c;process[_0x15e69c(0x1a3)](_0x15e69c(0x154)+process['pid']),process['on'](_0x15e69c(0x154)+process[_0x15e69c(0x1a4)],this[_0x15e69c(0x193)]['bind'](this)),process[_0x15e69c(0x1a3)]('bs:addPlatformDetails:'+process['pid']),process['on'](_0x15e69c(0x227)+process['pid'],this[_0x15e69c(0x14f)][_0x15e69c(0x1d6)](this));}['testStarted']=async _0x1d09dd=>{const _0x1966ce=a27_0x3e8f4c,_0x187e5b={'ztRGs':function(_0x1fc7b7,_0x45d323){return _0x1fc7b7>_0x45d323;},'SsSoY':function(_0x1ae076,_0xf5982a){return _0x1ae076===_0xf5982a;},'dpuYC':_0x1966ce(0x1c4),'uEYnt':function(_0xd6cf41,_0x1cc38b){return _0xd6cf41(_0x1cc38b);}};try{const _0x48bd2c=this['current_test'];this['current_test']=_0x1d09dd,_0x1d09dd[_0x1966ce(0x1db)]=null,_0x1d09dd[_0x1966ce(0x1c2)]=TestDetails['setTestUUID'](process[_0x1966ce(0x1a4)]+_0x1966ce(0x1bf)),_0x1d09dd[_0x1966ce(0x16a)]=new Date()[_0x1966ce(0x164)](),_0x187e5b[_0x1966ce(0x15e)](_0x1d09dd['_currentRetry'],0x0)&&_0x48bd2c&&_0x187e5b[_0x1966ce(0x1e1)](_0x48bd2c['title'],_0x1d09dd[_0x1966ce(0x1cc)])?(_0x1d09dd[_0x1966ce(0x1db)]=_0x48bd2c[_0x1966ce(0x1c2)],await this[_0x1966ce(0x188)](_0x1d09dd,undefined,![],_0x187e5b[_0x1966ce(0x189)]),_0x48bd2c[_0x1966ce(0x214)]=STATE_FAILED,await this['sendTestRunEvent'](_0x48bd2c,undefined,!![])):await this[_0x1966ce(0x188)](_0x1d09dd,undefined,![],_0x187e5b['dpuYC']);}catch(_0x3007a3){_0x187e5b['uEYnt'](debug,_0x1966ce(0x17c)+_0x3007a3);}};[a27_0x3e8f4c(0x20d)](_0x45b66f){const _0x14a711=a27_0x3e8f4c,_0x25c016={};_0x25c016[_0x14a711(0x1eb)]=function(_0x50f649,_0x293b1d){return _0x50f649!==_0x293b1d;},_0x25c016[_0x14a711(0x133)]=_0x14a711(0x157);const _0x5858b9=_0x25c016;if(_0x5858b9[_0x14a711(0x1eb)](_0x45b66f['type'],_0x5858b9[_0x14a711(0x133)]))return'\x22'+_0x45b66f[_0x14a711(0x1a8)]+_0x14a711(0x18f)+(_0x45b66f[_0x14a711(0x21c)]&&_0x45b66f[_0x14a711(0x21c)][_0x14a711(0x218)])+'\x22';return _0x45b66f[_0x14a711(0x218)];}['sendTestRunEvent']=async(_0xdc0f4e,_0x5224b0=undefined,_0x13a4a9=![],_0x56b4d5=a27_0x3e8f4c(0x19a))=>{const _0x3ece1b=a27_0x3e8f4c,_0x3be837={'wPdGf':_0x3ece1b(0x147),'kpBWF':_0x3ece1b(0x205),'BCHsB':_0x3ece1b(0x182),'fryQg':_0x3ece1b(0x220),'aBMec':'failure','PoJNQ':'failure_type','tymyY':_0x3ece1b(0x1ef),'CItwC':function(_0x1efc95,_0x6b4fe2){return _0x1efc95(_0x6b4fe2);},'CMXKp':_0x3ece1b(0x19d),'KPxmS':function(_0x187c7e,_0x50ac9c){return _0x187c7e(_0x50ac9c);},'oSPwl':'util','AviEr':function(_0x1fe636,_0x2945e9){return _0x1fe636!==_0x2945e9;},'GWEXp':_0x3ece1b(0x157),'jqZTj':function(_0x3b927a,_0x9d386b){return _0x3b927a!==_0x9d386b;},'fyAlw':'err','SmEgb':function(_0x378bf9,_0x5dd041){return _0x378bf9!==_0x5dd041;},'bkZkn':'File\x20path\x20could\x20not\x20be\x20found','qIMfr':_0x3ece1b(0x1e3),'xPNax':'pending','HYLfU':function(_0x50282d,_0x42bfa9){return _0x50282d===_0x42bfa9;},'XJSSQ':_0x3ece1b(0x191),'BxuRm':_0x3ece1b(0x1b7),'EFwqZ':function(_0x5ae9e2,_0x212245){return _0x5ae9e2>_0x212245;},'AYUvf':_0x3ece1b(0x1d8),'hJrHQ':_0x3ece1b(0x1e5),'ZFqUH':function(_0xadb870,_0x5cfd3f){return _0xadb870-_0x5cfd3f;},'ltqIn':function(_0x3c0c7c,_0x2b3f0b){return _0x3c0c7c(_0x2b3f0b);},'MsANd':function(_0x316530,_0x521c4a,_0x540547,_0x169876,_0x19ca74){return _0x316530(_0x521c4a,_0x540547,_0x169876,_0x19ca74);},'nqEBk':function(_0x471a52,_0x20dcb2){return _0x471a52===_0x20dcb2;},'LRUHm':_0x3ece1b(0x16a),'itHZI':_0x3ece1b(0x138),'dqGqz':function(_0x1d0b59,_0x5d5edb){return _0x1d0b59===_0x5d5edb;},'yjBys':'HookRunFinished','vmjAD':function(_0xfde382,_0x21ab32){return _0xfde382!==_0x21ab32;},'kBLiQ':'failure_backtrace','BsVhi':_0x3ece1b(0x137),'mIdYG':_0x3ece1b(0x120),'lKjaS':_0x3ece1b(0x1b9),'TJwHE':_0x3ece1b(0x19a),'nUegn':function(_0x2d2724,_0x559a25){return _0x2d2724===_0x559a25;},'wZXpH':_0x3ece1b(0x213),'ajgKg':function(_0x56f2c2,_0x5f3b97){return _0x56f2c2===_0x5f3b97;},'BKgSk':function(_0x32fa68,_0x200e7c){return _0x32fa68===_0x200e7c;},'zhxUJ':_0x3ece1b(0x1bc),'sbWBA':'HookRun','zGpLI':_0x3ece1b(0x15d),'dyUky':function(_0x1eeeaf,_0x3b4e52,_0x1bcc88){return _0x1eeeaf(_0x3b4e52,_0x1bcc88);}};try{if(_0xdc0f4e['fn']&&_0xdc0f4e['fn'][_0x3ece1b(0x215)]()[_0x3ece1b(0x1b4)](/browserstack internal helper hook/))return;await this['configureGit']();let _0x5a3f44;try{_0x5a3f44=this['getRootParentFile'](_0xdc0f4e);}catch(_0x18af01){_0x3be837[_0x3ece1b(0x1e8)](debug,_0x3ece1b(0x212)+_0x18af01),_0x5a3f44=null;}if(_0x5a3f44[_0x3ece1b(0x1f5)](_0x3be837[_0x3ece1b(0x20c)]))return;const _0x3b67c1=_0x3be837[_0x3ece1b(0x1ee)](require,_0x3be837[_0x3ece1b(0x148)]);let _0x59f4eb=[];if(_0x3be837[_0x3ece1b(0x17e)](_0xdc0f4e[_0x3ece1b(0x125)],undefined))_0x59f4eb=[_0xdc0f4e['errorsDetailed'],_0x3be837[_0x3ece1b(0x1f4)]];else _0x3be837['jqZTj'](_0x5224b0,undefined)?_0x59f4eb=[_0x5224b0,_0x3be837[_0x3ece1b(0x1e0)]]:_0x59f4eb=[];const _0x48226e=_0x3be837[_0x3ece1b(0x134)](_0xdc0f4e['errorsDetailed'],undefined)?_0x3b67c1[_0x3ece1b(0x149)](_0xdc0f4e[_0x3ece1b(0x125)][0x0]):_0x3be837[_0x3ece1b(0x134)](_0x5224b0,undefined)?_0x5224b0[_0x3ece1b(0x215)]():undefined,_0x50507f=_0x5a3f44?this[_0x3ece1b(0x156)]['prefixTestPath'](this[_0x3ece1b(0x171)](_0xdc0f4e)):_0x3be837['bkZkn'],_0x403d4b={'framework':FRAMEWORKS[_0x3ece1b(0x136)],'uuid':_0xdc0f4e[_0x3ece1b(0x1c2)]||_0xdc0f4e['hookAnalyticsId'],'name':this[_0x3ece1b(0x20d)](_0xdc0f4e),'body':{'lang':_0x3be837['qIMfr'],'code':_0xdc0f4e['fn'][_0x3ece1b(0x215)]()},'scopes':this[_0x3ece1b(0x21a)](_0xdc0f4e),'file_name':_0x50507f,'vc_filepath':this[_0x3ece1b(0x1bd)]&&_0x5a3f44?path[_0x3ece1b(0x1f8)](this[_0x3ece1b(0x1bd)],_0x5a3f44):null,'location':_0x50507f,'result':_0x56b4d5['match'](/Started$/)?_0x3be837[_0x3ece1b(0x1b1)]:_0x3be837[_0x3ece1b(0x177)](_0x56b4d5,_0x3be837['XJSSQ'])?_0x3be837[_0x3ece1b(0x13a)]:this[_0x3ece1b(0x15b)](_0xdc0f4e[_0x3ece1b(0x125)]&&_0x3be837['EFwqZ'](_0xdc0f4e['errorsDetailed'][_0x3ece1b(0x196)],0x0)?_0x3be837[_0x3ece1b(0x1a0)]:_0x3be837[_0x3ece1b(0x1d1)]),'failure_reason':_0x48226e,'duration_in_ms':_0xdc0f4e['duration']||(_0x56b4d5[_0x3ece1b(0x1b4)](/Finished/)||_0x56b4d5[_0x3ece1b(0x1b4)](/Skipped/)?_0x3be837[_0x3ece1b(0x1b8)](Date['now'](),new Date(_0xdc0f4e['started_at'])[_0x3ece1b(0x173)]()):null),'started_at':_0xdc0f4e[_0x3ece1b(0x16a)],'finished_at':_0x56b4d5[_0x3ece1b(0x1b4)](/Finished/)||_0x56b4d5[_0x3ece1b(0x1b4)](/Skipped/)?new Date()[_0x3ece1b(0x164)]():null,'failure':failureData[_0x3ece1b(0x159)](null,_0x59f4eb),'failure_type':!_0x48226e?null:_0x3be837[_0x3ece1b(0x21f)](getFailureType,_0x48226e),'retry_of':_0xdc0f4e['retryOf']};_0x3be837[_0x3ece1b(0x15c)](appendTesthubParams,_0x403d4b,_0x56b4d5,_0xdc0f4e,FRAMEWORKS[_0x3ece1b(0x136)]);_0x3be837['nqEBk'](_0x56b4d5,_0x3be837[_0x3ece1b(0x163)])&&!_0x403d4b[_0x3be837[_0x3ece1b(0x168)]]&&(_0x403d4b[_0x3be837[_0x3ece1b(0x168)]]=_0x403d4b[_0x3be837[_0x3ece1b(0x1a6)]]);if(_0x56b4d5['match'](/HookRun/))[_0x403d4b['hook_type'],_0x403d4b[_0x3ece1b(0x218)]]=[_0xdc0f4e['type'],this['getName'](_0xdc0f4e)],_0x3be837[_0x3ece1b(0x169)](_0x56b4d5,_0x3be837['yjBys'])&&(_0x3be837['vmjAD'](_0x403d4b['result'],_0x3be837[_0x3ece1b(0x1a0)])&&(_0x403d4b[_0x3ece1b(0x182)]=_0x3be837[_0x3ece1b(0x1d1)]));else _0x56b4d5[_0x3ece1b(0x1b4)](/TestRun/)&&this[_0x3ece1b(0x21d)](_0xdc0f4e);const _0x10d8fb=_0x403d4b[_0x3be837[_0x3ece1b(0x187)]][0x0];_0x10d8fb&&(_0x403d4b[_0x3be837[_0x3ece1b(0x200)]]=_0x10d8fb[_0x3be837[_0x3ece1b(0x184)]],_0x403d4b[_0x3be837[_0x3ece1b(0x1d2)]]=_0x10d8fb[_0x3be837['lKjaS']]);[_0x3be837[_0x3ece1b(0x150)],_0x3be837['XJSSQ']]['includes'](_0x56b4d5)&&(this['_testResults'][_0x3ece1b(0x122)](_0x403d4b),_0x403d4b[_0x3ece1b(0x1c0)]=this[_0x3ece1b(0x123)](_0xdc0f4e),this['resetTestHooks'](_0xdc0f4e));const _0x4b1f67={'event_type':_0x3be837['nUegn'](_0x56b4d5,_0x3be837[_0x3ece1b(0x163)])?_0x3be837[_0x3ece1b(0x150)]:_0x56b4d5};_0x56b4d5[_0x3ece1b(0x1b4)](/HookRun/)?(_0x403d4b[_0x3be837[_0x3ece1b(0x223)]]=HOOK_TYPES_MAP[_0x403d4b[_0x3be837[_0x3ece1b(0x223)]]],_0x4b1f67[_0x3be837[_0x3ece1b(0x128)]]=_0x403d4b):_0x4b1f67[_0x3be837[_0x3ece1b(0x1f9)]]=_0x403d4b;_0x3be837[_0x3ece1b(0x179)](this['hook_data'][_0x3ece1b(0x196)],0x0)&&[_0x3be837[_0x3ece1b(0x150)],_0x3be837[_0x3ece1b(0x163)]]['includes'](_0x56b4d5)&&(this['hook_data'][_0x3ece1b(0x1c5)](async _0x55e8d3=>{const _0x1c9608=_0x3ece1b,_0x34aa3c=_0x3be837[_0x1c9608(0x1c9)]['split']('|');let _0x194c10=0x0;while(!![]){switch(_0x34aa3c[_0x194c10++]){case'0':await SessionHandler[_0x1c9608(0x18b)](_0x55e8d3);continue;case'1':_0x55e8d3[_0x3be837[_0x1c9608(0x128)]][_0x3be837[_0x1c9608(0x14a)]]=_0x4b1f67[_0x3be837[_0x1c9608(0x1f9)]][_0x3be837[_0x1c9608(0x14a)]];continue;case'2':_0x55e8d3[_0x3be837[_0x1c9608(0x128)]][_0x3be837[_0x1c9608(0x187)]]=_0x4b1f67[_0x3be837[_0x1c9608(0x1f9)]][_0x3be837[_0x1c9608(0x187)]];continue;case'3':_0x55e8d3[_0x3be837[_0x1c9608(0x128)]][_0x3be837[_0x1c9608(0x13f)]]=_0x4b1f67[_0x3be837[_0x1c9608(0x1f9)]][_0x3be837[_0x1c9608(0x13f)]];continue;case'4':_0x55e8d3[_0x3be837[_0x1c9608(0x128)]][_0x3be837['tymyY']]=_0x4b1f67[_0x3be837['fryQg']][_0x3be837['tymyY']];continue;}break;}}),this[_0x3ece1b(0x209)]=[]);if(_0x3be837[_0x3ece1b(0x1c7)](this['hook_failure'],_0xdc0f4e[_0x3ece1b(0x1a8)])){this['hook_data'][_0x3ece1b(0x122)](_0x4b1f67);return;}_0x3be837[_0x3ece1b(0x143)](this[_0x3ece1b(0x160)],_0x3be837[_0x3ece1b(0x1aa)])&&_0x4b1f67[_0x3be837[_0x3ece1b(0x1f9)]]&&(_0x4b1f67[_0x3be837[_0x3ece1b(0x1f9)]][_0x3be837['BCHsB']]=_0x3be837[_0x3ece1b(0x13a)],_0x4b1f67[_0x3be837[_0x3ece1b(0x1f9)]][_0x3be837[_0x3ece1b(0x187)]]=null,_0x4b1f67[_0x3be837[_0x3ece1b(0x1f9)]][_0x3be837['PoJNQ']]=null);if(_0x56b4d5[_0x3ece1b(0x1f5)](_0x3be837[_0x3ece1b(0x16b)])&&_0x4b1f67[_0x3be837['kpBWF']]){if(this[_0x3ece1b(0x12d)])_0x4b1f67[_0x3be837['kpBWF']][_0x3be837[_0x3ece1b(0x1af)]]=this[_0x3ece1b(0x12d)];else{this['_pendingHookUploads'][_0x3ece1b(0x122)](_0x4b1f67);return;}}_0x3be837[_0x3ece1b(0x18a)](setCurrentTestData,FRAMEWORKS['JEST'],_0x4b1f67),await SessionHandler[_0x3ece1b(0x18b)](_0x4b1f67);}catch(_0x5c9ca0){_0x3be837[_0x3ece1b(0x1ee)](debug,_0x3ece1b(0x219)+_0x56b4d5+_0x3ece1b(0x211)+_0x5c9ca0);}};[a27_0x3e8f4c(0x13d)](_0x21fbfe){const _0x2653a4=a27_0x3e8f4c,_0x2431bc={};_0x2431bc[_0x2653a4(0x21b)]=function(_0x3e5eb5,_0x341f27){return _0x3e5eb5==_0x341f27;},_0x2431bc[_0x2653a4(0x124)]=function(_0x4896df,_0x12fc19){return _0x4896df===_0x12fc19;},_0x2431bc[_0x2653a4(0x199)]=function(_0xef0e8b,_0x4e30c2){return _0xef0e8b===_0x4e30c2;},_0x2431bc[_0x2653a4(0x17b)]=_0x2653a4(0x1a1),_0x2431bc[_0x2653a4(0x1f3)]=_0x2653a4(0x1a9);const _0x4bd5f6=_0x2431bc,_0x49fd53=path[_0x2653a4(0x1c3)];if(_0x4bd5f6['AXDkb'](_0x21fbfe,null)||_0x4bd5f6[_0x2653a4(0x124)](_0x21fbfe,'')||_0x4bd5f6[_0x2653a4(0x124)](_0x21fbfe,_0x49fd53)||_0x4bd5f6[_0x2653a4(0x199)](_0x21fbfe,path[_0x2653a4(0x158)](_0x21fbfe)))return null;try{return fs['statSync'](path[_0x2653a4(0x1e9)](_0x21fbfe,_0x4bd5f6[_0x2653a4(0x17b)],_0x4bd5f6[_0x2653a4(0x1f3)])),_0x21fbfe;}catch(_0x5781d0){const _0x20b313=path[_0x2653a4(0x158)](_0x21fbfe);return this['findGitConfig'](_0x20b313);}}[a27_0x3e8f4c(0x193)]=async _0x1ce8a7=>{const _0x4f517f=a27_0x3e8f4c,_0x2d220e={'snUGZ':_0x4f517f(0x221),'zahfG':_0x4f517f(0x1fc),'AFkzT':_0x4f517f(0x1dc),'loaAL':function(_0x2c65ee,_0x4be041){return _0x2c65ee||_0x4be041;},'LEmez':function(_0x1457b2,_0x40ef0b){return _0x1457b2(_0x40ef0b);},'MZlCx':_0x4f517f(0x172),'XTgfK':function(_0x49c084,_0x306637){return _0x49c084(_0x306637);},'ISmNd':function(_0x41fb1d,_0x4c13e4){return _0x41fb1d&&_0x4c13e4;},'QGgTN':function(_0xf92f8d,_0x53e236){return _0xf92f8d(_0x53e236);},'dWfCa':_0x4f517f(0x18e),'SINoX':function(_0xc2d29c,_0x30b222){return _0xc2d29c(_0x30b222);},'EuDKt':function(_0x395156,_0x46e444){return _0x395156(_0x46e444);},'vqqyR':function(_0x4d69da,_0x21684b){return _0x4d69da(_0x21684b);},'NilMx':_0x4f517f(0x1cf),'KBeOX':'../../v2/state/hookState','lnzKK':function(_0x114ab5,_0x264fe2){return _0x114ab5(_0x264fe2);},'klrtH':_0x4f517f(0x141),'ZFCny':function(_0x56f4f1,_0x41f596){return _0x56f4f1===_0x41f596;},'oDvzX':'function','nSCHB':function(_0x3488b4,_0x2fd44a){return _0x3488b4(_0x2fd44a);},'tyMPr':_0x4f517f(0x206),'GgWgZ':function(_0x46a7ec,_0x1c6505){return _0x46a7ec(_0x1c6505);},'uFtEq':_0x4f517f(0x174),'binlT':function(_0x2e13c4,_0x54c0e4){return _0x2e13c4(_0x54c0e4);}};try{const _0x32208e=helper[_0x4f517f(0x166)](_0x2d220e[_0x4f517f(0x204)]),_0x3c7b22=!!_0x32208e,_0x644f7e=helper[_0x4f517f(0x166)](_0x2d220e[_0x4f517f(0x1e7)])||helper[_0x4f517f(0x166)](_0x2d220e[_0x4f517f(0x152)]),_0x8313ac=!!_0x644f7e,_0x4e32b1=BrowserstackCLI[_0x4f517f(0x17f)]()[_0x4f517f(0x14b)]()&&BrowserstackCLI[_0x4f517f(0x17f)]()['isRunning']();if(_0x2d220e[_0x4f517f(0x153)](_0x3c7b22,_0x8313ac)&&_0x4e32b1){_0x2d220e[_0x4f517f(0x1ac)](debug,_0x2d220e[_0x4f517f(0x1c1)]);let _0x3c03a3=null,_0x176192=null;if(global['__workerDetails']&&global[_0x4f517f(0x1fa)][_0x4f517f(0x1a2)]){const _0x408512=global[_0x4f517f(0x1fa)][_0x4f517f(0x1a2)];_0x176192=_0x408512[_0x4f517f(0x216)],_0x3c03a3=_0x408512[_0x4f517f(0x190)],_0x2d220e[_0x4f517f(0x175)](debug,_0x4f517f(0x126)+_0x176192+',\x20testIdentifier='+_0x3c03a3);}!_0x3c03a3&&(_0x3c03a3=global[_0x4f517f(0x20f)],_0x2d220e[_0x4f517f(0x1ac)](debug,'[obsReporter]\x20appendTestItemLog:\x20Using\x20testIdentifier\x20from\x20global.__jestCurrentTestIdentifier:\x20'+_0x3c03a3));if(_0x2d220e['ISmNd'](!_0x176192,_0x3c03a3)){const _0xf7ab75=BrowserstackCLI[_0x4f517f(0x17f)]()[_0x4f517f(0x1dd)]();if(_0xf7ab75&&_0xf7ab75[_0x4f517f(0x1c8)]){const _0x6e8649=_0xf7ab75[_0x4f517f(0x1c8)](_0x3c03a3);_0x6e8649&&_0x6e8649[_0x4f517f(0x216)]&&(_0x176192=_0x6e8649[_0x4f517f(0x216)],_0x2d220e[_0x4f517f(0x16d)](debug,_0x4f517f(0x18d)+_0x176192+_0x4f517f(0x142)+_0x3c03a3));}}if(!_0x3c03a3||!_0x3c03a3[_0x4f517f(0x1f5)](_0x2d220e[_0x4f517f(0x1df)]))_0x2d220e[_0x4f517f(0x197)](debug,_0x4f517f(0x1d3)+_0x3c03a3+',\x20falling\x20back\x20to\x20Jest+Selenium\x20flow');else{_0x176192&&(_0x1ce8a7[_0x4f517f(0x1fe)]=_0x176192,_0x2d220e[_0x4f517f(0x14e)](debug,_0x4f517f(0x1d7)+_0x176192+_0x4f517f(0x181)));_0x1ce8a7[_0x4f517f(0x19c)]=_0x3c03a3,_0x2d220e[_0x4f517f(0x14d)](debug,_0x4f517f(0x1f2)+_0x3c03a3+_0x4f517f(0x181));const _0x4a3572=BrowserstackCLI['getInstance']()[_0x4f517f(0x1dd)]();if(_0x4a3572){const _0x43040e=_0x2d220e['vqqyR'](require,_0x2d220e[_0x4f517f(0x1e4)]),_0x4db5a8=_0x2d220e[_0x4f517f(0x14e)](require,_0x2d220e['KBeOX']),_0x3ad849=_0x2d220e['lnzKK'](require,_0x2d220e[_0x4f517f(0x176)]),_0x2378c2=_0x4a3572[_0x4f517f(0x1ea)](_0x43040e[_0x4f517f(0x131)],_0x4db5a8[_0x4f517f(0x1fd)]);if(_0x2378c2&&_0x2d220e['ZFCny'](typeof _0x2378c2['addMultipleEntries'],_0x2d220e[_0x4f517f(0x162)])){const _0x2818ce=_0x2378c2['getAllData']()[_0x4f517f(0x145)](_0x3c03a3)||{},_0x57ed3e=_0x2818ce[_0x3ad849[_0x4f517f(0x1ed)]]||[],_0x1fd05d=[..._0x57ed3e,_0x1ce8a7],_0x5cadc0={[_0x3ad849[_0x4f517f(0x1ed)]]:_0x1fd05d},_0x1f087f={};_0x1f087f[_0x3c03a3]=_0x5cadc0,_0x2378c2[_0x4f517f(0x20e)](_0x1f087f),_0x2d220e['nSCHB'](debug,_0x4f517f(0x1ff)+_0x3c03a3+',\x20logKind='+(_0x1ce8a7[_0x4f517f(0x12a)]||_0x2d220e[_0x4f517f(0x201)])+_0x4f517f(0x135)+_0x1fd05d[_0x4f517f(0x196)]);return;}_0x2d220e[_0x4f517f(0x14d)](debug,_0x4f517f(0x185)+_0x3c03a3+',\x20falling\x20back\x20to\x20Jest+Selenium\x20flow');}}}}catch(_0xc7aaef){_0x2d220e[_0x4f517f(0x132)](debug,_0x4f517f(0x208)+_0xc7aaef+',\x20falling\x20back\x20to\x20Jest+Selenium\x20flow');}const _0x23dc0b=TestDetails[_0x4f517f(0x19e)](process[_0x4f517f(0x1a4)]+_0x4f517f(0x1f1)),_0x63a27e=TestDetails['getTestUUID'](process['pid']+':testAnalyticsId');try{(_0x23dc0b||this[_0x4f517f(0x1f6)]&&!this[_0x4f517f(0x1f6)][_0x4f517f(0x12b)])&&(_0x1ce8a7[_0x4f517f(0x1fe)]=_0x23dc0b);!_0x1ce8a7[_0x4f517f(0x1fe)]&&_0x63a27e&&(_0x1ce8a7[_0x4f517f(0x12f)]=_0x63a27e);if(_0x1ce8a7[_0x4f517f(0x1fe)]||_0x1ce8a7[_0x4f517f(0x12f)]){const _0x1cbfca={};_0x1cbfca[_0x4f517f(0x183)]=_0x2d220e[_0x4f517f(0x165)],_0x1cbfca[_0x4f517f(0x1de)]=[_0x1ce8a7],await SessionHandler[_0x4f517f(0x18b)](_0x1cbfca);}}catch(_0x2e016d){_0x2d220e['binlT'](debug,_0x4f517f(0x194)+constants['TEST_REPORTING_ANALYTICS']+_0x4f517f(0x211)+_0x2e016d);}};['appendTestPlatform']=async _0x1d8a58=>{const _0x43903e=a27_0x3e8f4c,_0x4112aa={'jyeTI':_0x43903e(0x1bb),'yBUNR':_0x43903e(0x224),'wYtBk':function(_0x3f84f9,_0x105d4d){return _0x3f84f9>_0x105d4d;},'YWPdN':'hook_run','gWyoA':function(_0x5dd8f1,_0x47c2ec,_0x2e1773){return _0x5dd8f1(_0x47c2ec,_0x2e1773);},'JGsdv':function(_0x875c7c,_0x388822){return _0x875c7c(_0x388822);},'JHKwT':function(_0x3bf347,_0x51768d){return _0x3bf347(_0x51768d);}};try{const _0x593ed9=_0x1d8a58&&_0x1d8a58[_0x4112aa[_0x43903e(0x1ba)]];_0x593ed9&&(this['_cachedIntegrations']=_0x593ed9);const _0x342e27={'uuid':_0x1d8a58['uuid']||TestDetails[_0x43903e(0x19e)](process[_0x43903e(0x1a4)]+_0x43903e(0x1bf)),'integrations':_0x593ed9},_0xd28884={};_0xd28884['event_type']=_0x4112aa[_0x43903e(0x195)],_0xd28884[_0x43903e(0x220)]=_0x342e27,await SessionHandler[_0x43903e(0x18b)](_0xd28884);if(_0x593ed9&&_0x4112aa[_0x43903e(0x130)](this[_0x43903e(0x222)]['length'],0x0)){const _0x51d075=this[_0x43903e(0x222)]['splice'](0x0,this['_pendingHookUploads']['length']);for(const _0x477c19 of _0x51d075){try{const _0x4eb0f3=_0x477c19&&_0x477c19[_0x4112aa[_0x43903e(0x16c)]]?{..._0x477c19,'hook_run':{..._0x477c19[_0x4112aa[_0x43903e(0x16c)]],'integrations':_0x593ed9}}:_0x477c19;_0x4112aa['gWyoA'](setCurrentTestData,FRAMEWORKS['JEST'],_0x4eb0f3),await SessionHandler['uploadEventData'](_0x4eb0f3);}catch(_0x26eb39){_0x4112aa['JGsdv'](debug,_0x43903e(0x202)+_0x26eb39);}}}}catch(_0x38732f){_0x4112aa[_0x43903e(0x167)](debug,_0x43903e(0x192)+constants['TEST_REPORTING_ANALYTICS']+_0x43903e(0x211)+_0x38732f);}};async[a27_0x3e8f4c(0x1d0)](){const _0x5c1adb=a27_0x3e8f4c,_0x3fdb47={'HNOMw':function(_0x428d71){return _0x428d71();}};if(this['_gitConfigured'])return this[_0x5c1adb(0x1bd)];const _0x2e0733=await _0x3fdb47[_0x5c1adb(0x13e)](getGitMetaData);_0x2e0733&&(this[_0x5c1adb(0x1bd)]=_0x2e0733['root']),this[_0x5c1adb(0x1b6)]=!![];}['analyticsResult'](_0x33b819){const _0x4d8611=a27_0x3e8f4c,_0x536ca8={};_0x536ca8['VEzam']=_0x4d8611(0x1e5),_0x536ca8['fXlFY']=_0x4d8611(0x13b),_0x536ca8[_0x4d8611(0x1b3)]=_0x4d8611(0x1d8);const _0x4fc6c7=_0x536ca8,_0x392664={};return _0x392664[STATE_PASSED]=_0x4fc6c7[_0x4d8611(0x129)],_0x392664[STATE_PENDING]=_0x4fc6c7[_0x4d8611(0x186)],_0x392664[STATE_FAILED]=_0x4fc6c7[_0x4d8611(0x1b3)],_0x392664[_0x33b819];}[a27_0x3e8f4c(0x21a)](_0x5f17bd){const _0x31e148=a27_0x3e8f4c,_0x580bb1={};_0x580bb1[_0x31e148(0x217)]=function(_0x17937f,_0x557fc2){return _0x17937f!==_0x557fc2;},_0x580bb1[_0x31e148(0x1e2)]=_0x31e148(0x1b2);const _0x22b5a2=_0x580bb1,_0x53101f=[];if(_0x5f17bd&&_0x5f17bd[_0x31e148(0x21c)]){let _0x569de7=_0x5f17bd['parent'];while(_0x569de7&&_0x22b5a2[_0x31e148(0x217)](_0x569de7['name'],'')&&_0x22b5a2[_0x31e148(0x217)](_0x569de7[_0x31e148(0x218)],_0x22b5a2['Xwjww'])){_0x53101f[_0x31e148(0x122)](_0x569de7[_0x31e148(0x218)]),_0x569de7=_0x569de7[_0x31e148(0x21c)];}}return _0x53101f[_0x31e148(0x1d4)](),_0x53101f;}[a27_0x3e8f4c(0x171)]=_0x3d81ec=>{const _0xfacaef=a27_0x3e8f4c,_0x62e1a0={'MWtwj':function(_0x37ce0a,_0x4f3dba){return _0x37ce0a(_0x4f3dba);},'CaTxk':function(_0x4d5785,_0x5afa13){return _0x4d5785(_0x5afa13);}};if(_0x3d81ec['file'])return _0x3d81ec[_0xfacaef(0x1f0)];if(_0x3d81ec[_0xfacaef(0x1a5)]){const _0x2f9514=stackTrace[_0xfacaef(0x16e)][_0xfacaef(0x1cd)](stackTrace,_0x3d81ec[_0xfacaef(0x1a5)]),_0x3d4397=_0x62e1a0[_0xfacaef(0x1c6)](pickUserFrameFile,_0x2f9514);if(_0x3d4397)return _0x3d4397;_0x62e1a0[_0xfacaef(0x1da)](debug,'[obsReporter]\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length='+_0x2f9514[_0xfacaef(0x196)]+')');}return null;};[a27_0x3e8f4c(0x21d)]=_0x113b1b=>{const _0x46fb2b=a27_0x3e8f4c;if(!_0x113b1b||!_0x113b1b[_0x46fb2b(0x21c)])return;_0x113b1b[_0x46fb2b(0x21c)][_0x46fb2b(0x1c0)]['forEach'](_0x335b10=>{const _0x52adf2=_0x46fb2b;!_0x335b10[_0x52adf2(0x1ab)]&&(_0x335b10[_0x52adf2(0x1ab)]=TestDetails[_0x52adf2(0x146)](process['pid']+_0x52adf2(0x1f1)));}),this[_0x46fb2b(0x21d)](_0x113b1b['parent']);};[a27_0x3e8f4c(0x1ca)]=_0x44f3b7=>{const _0x42b6dd=a27_0x3e8f4c,_0x4dffef={};_0x4dffef['GUyYC']=_0x42b6dd(0x178),_0x4dffef[_0x42b6dd(0x21e)]=_0x42b6dd(0x17d);const _0x1b59e7=_0x4dffef;if(!_0x44f3b7||!_0x44f3b7[_0x42b6dd(0x21c)])return;_0x44f3b7[_0x42b6dd(0x21c)][_0x42b6dd(0x1c0)][_0x42b6dd(0x1c5)](_0x54dfda=>{const _0x67fb3c=_0x42b6dd;[_0x1b59e7[_0x67fb3c(0x16f)],_0x1b59e7[_0x67fb3c(0x21e)]][_0x67fb3c(0x1f5)](_0x54dfda[_0x67fb3c(0x1a8)])&&_0x54dfda[_0x67fb3c(0x1ab)]&&(_0x54dfda[_0x67fb3c(0x1ab)]=null);}),this['mapTestHooks'](_0x44f3b7['parent']);};['isJestInternalHook'](_0x22316f){const _0x3c5140=a27_0x3e8f4c,_0x58cf50={'GNYgP':'jest-circus','YVZNS':function(_0xe95578,_0x6940bd){return _0xe95578(_0x6940bd);},'gBlML':function(_0x479d90,_0x42c04e){return _0x479d90+_0x42c04e;},'lwNXP':_0x3c5140(0x180)};try{const _0xfdee3b=this['getRootParentFile'](_0x22316f);if(!_0xfdee3b||_0xfdee3b[_0x3c5140(0x1f5)](_0x58cf50[_0x3c5140(0x15a)]))return!![];return![];}catch(_0x313ed2){_0x58cf50[_0x3c5140(0x12e)](debug,_0x58cf50['gBlML'](_0x58cf50[_0x3c5140(0x1d9)],_0x313ed2));}return![];}['getHooksForTest']=_0x19ddad=>{const _0x5d0e38=a27_0x3e8f4c,_0x2ab403={'EVUxo':function(_0x59e67c,_0x5d27bc){return _0x59e67c(_0x5d27bc);}};if(!_0x19ddad||!_0x19ddad[_0x5d0e38(0x21c)])return[];const _0x7d213a=[];return _0x19ddad[_0x5d0e38(0x21c)]['hooks']['forEach'](_0xf89117=>{const _0x518f39=_0x5d0e38;_0xf89117[_0x518f39(0x1ab)]&&!_0x2ab403[_0x518f39(0x1ec)](isInternalHook,_0xf89117['fn'])&&!this[_0x518f39(0x15f)](_0xf89117)&&_0x7d213a[_0x518f39(0x122)](_0xf89117[_0x518f39(0x1ab)]);}),[..._0x7d213a,...this['getHooksForTest'](_0x19ddad[_0x5d0e38(0x21c)])];};},['getTestEnv',a27_0x3e8f4c(0x140),a27_0x3e8f4c(0x203),a27_0x3e8f4c(0x20d),a27_0x3e8f4c(0x188),a27_0x3e8f4c(0x13d),a27_0x3e8f4c(0x193),'appendTestPlatform',a27_0x3e8f4c(0x15b),a27_0x3e8f4c(0x21a),a27_0x3e8f4c(0x171),a27_0x3e8f4c(0x21d),a27_0x3e8f4c(0x1ca),a27_0x3e8f4c(0x123),a27_0x3e8f4c(0x1d0)],a27_0x3e8f4c(0x1e6));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a28_0x5e9416=a28_0x5e65;(function(_0x2cb130,_0x59107f){const _0x1be7f4=a28_0x5e65,_0xcb2936=_0x2cb130();while(!![]){try{const _0x26a3ec=parseInt(_0x1be7f4(0x18e))/0x1*(parseInt(_0x1be7f4(0x184))/0x2)+-parseInt(_0x1be7f4(0x178))/0x3+-parseInt(_0x1be7f4(0x175))/0x4+parseInt(_0x1be7f4(0x16b))/0x5*(parseInt(_0x1be7f4(0x17a))/0x6)+parseInt(_0x1be7f4(0x177))/0x7+parseInt(_0x1be7f4(0x171))/0x8*(-parseInt(_0x1be7f4(0x173))/0x9)+-parseInt(_0x1be7f4(0x16c))/0xa;if(_0x26a3ec===_0x59107f)break;else _0xcb2936['push'](_0xcb2936['shift']());}catch(_0x25f4ad){_0xcb2936['push'](_0xcb2936['shift']());}}}(a28_0x4fb7,0x23151));const fs=require('fs'),path=require('path'),{v4:uuidv4}=require(a28_0x5e9416(0x190)),helper=require(a28_0x5e9416(0x19a)),testHubConstants=require(a28_0x5e9416(0x17e));function a28_0x5e65(_0x219d4e,_0x205423){const _0x4fb783=a28_0x4fb7();return a28_0x5e65=function(_0x5e6573,_0x5bd640){_0x5e6573=_0x5e6573-0x16b;let _0x3808af=_0x4fb783[_0x5e6573];return _0x3808af;},a28_0x5e65(_0x219d4e,_0x205423);}class TestDetails{static ['tests']={};static ['dirPath']=path[a28_0x5e9416(0x17b)](helper[a28_0x5e9416(0x186)](),'.browserstack',a28_0x5e9416(0x174)+process['env'][testHubConstants[a28_0x5e9416(0x189)][a28_0x5e9416(0x18f)]]);static[a28_0x5e9416(0x180)](){const _0x10fbc0=a28_0x5e9416,_0x2c6d81={};_0x2c6d81[_0x10fbc0(0x187)]='.browserstack';const _0xf0b882=_0x2c6d81;this[_0x10fbc0(0x195)]=path[_0x10fbc0(0x17b)](helper[_0x10fbc0(0x186)](),_0xf0b882[_0x10fbc0(0x187)],_0x10fbc0(0x174)+process['env'][testHubConstants[_0x10fbc0(0x189)]['BROWSERSTACK_TESTHUB_UUID']]),this[_0x10fbc0(0x194)]();const _0x364da1={};_0x364da1[_0x10fbc0(0x193)]=!![],fs[_0x10fbc0(0x18d)](this[_0x10fbc0(0x195)],_0x364da1);}static[a28_0x5e9416(0x17c)](_0x1772ae){const _0x704ef4=a28_0x5e9416,_0x1ba11a={};_0x1ba11a[_0x704ef4(0x188)]=function(_0x329c7f,_0x577f48){return _0x329c7f+_0x577f48;},_0x1ba11a[_0x704ef4(0x185)]=_0x704ef4(0x176);const _0x25296d=_0x1ba11a;return path['join'](this[_0x704ef4(0x195)],_0x25296d['bmWRp'](_0x1772ae,_0x25296d[_0x704ef4(0x185)]));}static[a28_0x5e9416(0x196)](_0x308671){const _0x247ee8=a28_0x5e9416,_0x2316ee={};_0x2316ee[_0x247ee8(0x179)]=function(_0x821152,_0x24ba5b){return _0x821152+_0x24ba5b;};const _0x562db4=_0x2316ee;return _0x562db4[_0x247ee8(0x179)](_0x562db4['WYAsn'](_0x308671[_0x247ee8(0x191)]['id'],'-'),_0x308671[_0x247ee8(0x17d)]);}static['getTestUUID'](_0x280345){const _0x214412=a28_0x5e9416,_0x500ba7=this[_0x214412(0x17c)](_0x280345);if(fs[_0x214412(0x16d)](_0x500ba7)){const _0x104c58=JSON[_0x214412(0x192)](fs[_0x214412(0x18a)](_0x500ba7)[_0x214412(0x182)]());return this['tests'][_0x280345]=_0x104c58,this['tests'][_0x280345]['uuid'];}}static[a28_0x5e9416(0x17f)](_0x3bc6f3){const _0x1716ff=a28_0x5e9416,_0x358a9c={};_0x358a9c[_0x1716ff(0x197)]='testData.json';const _0x5e4faf=_0x358a9c,_0x44d2f9=path['join'](this['dirPath'],_0x5e4faf[_0x1716ff(0x197)]);fs[_0x1716ff(0x18c)](_0x44d2f9,JSON[_0x1716ff(0x199)](_0x3bc6f3));}static['getTestData'](){const _0x17bcc0=a28_0x5e9416,_0x37be46={};_0x37be46['PWEVg']=_0x17bcc0(0x170);const _0x43f4d9=_0x37be46,_0xb997c6=path[_0x17bcc0(0x17b)](this[_0x17bcc0(0x195)],_0x43f4d9[_0x17bcc0(0x16f)]);let _0xb48d38={};try{return _0xb997c6&&fs[_0x17bcc0(0x16d)](_0xb997c6)&&(_0xb48d38=JSON[_0x17bcc0(0x192)](fs[_0x17bcc0(0x18a)](_0xb997c6)[_0x17bcc0(0x182)]())),_0xb48d38;}catch(_0x2b2762){return _0xb48d38;}}static[a28_0x5e9416(0x18b)](_0x56fc4a){const _0x4714d5=a28_0x5e9416,_0x39291b={'adQZl':function(_0x587aa8){return _0x587aa8();}},_0x1cc63a=this[_0x4714d5(0x17c)](_0x56fc4a);return this[_0x4714d5(0x198)][_0x56fc4a]={'uuid':_0x39291b['adQZl'](uuidv4)},fs['writeFileSync'](_0x1cc63a,JSON[_0x4714d5(0x199)](this[_0x4714d5(0x198)][_0x56fc4a])),this[_0x4714d5(0x198)][_0x56fc4a][_0x4714d5(0x190)];}static[a28_0x5e9416(0x181)](_0x396cca){const _0x3b442c=a28_0x5e9416,_0x13d646=this[_0x3b442c(0x17c)](_0x396cca);_0x13d646&&(fs[_0x3b442c(0x16d)](_0x13d646)&&fs[_0x3b442c(0x172)](_0x13d646));}static[a28_0x5e9416(0x194)](){const _0x2b7dea=a28_0x5e9416,_0x78cb55={};_0x78cb55[_0x2b7dea(0x193)]=!![],_0x78cb55['force']=!![],fs[_0x2b7dea(0x16e)](this[_0x2b7dea(0x195)],_0x78cb55);}}function a28_0x4fb7(){const _0xf733b4=['8419fKmJOp','BROWSERSTACK_TESTHUB_UUID','uuid','_test','parse','recursive','shutdown','dirPath','getTestRunIdFromTestInfo','EQBxx','tests','stringify','../../../helpers/helper','721990NVBynP','1258140mHPpdu','existsSync','rmSync','PWEVg','testData.json','707016bBJdKI','unlinkSync','18MdAbPO','jest-o11y-','320712inAJlu','.json','1454439pWkTyo','58107naoBEJ','WYAsn','6SgkDGt','join','getFilePath','retry','../../../helpers/testhub/constants','setTestData','setup','removeTestUUID','toString','exports','46aDNqbM','oJuUp','homedir','GBFaN','bmWRp','ENV_VAR','readFileSync','setTestUUID','writeFileSync','mkdirSync'];a28_0x4fb7=function(){return _0xf733b4;};return a28_0x4fb7();}module[a28_0x5e9416(0x183)]=TestDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a29_0x491b1f=a29_0x5d34;function a29_0x5d34(_0x1f3beb,_0x158abf){const _0x461c03=a29_0x461c();return a29_0x5d34=function(_0x5d3421,_0x8dc8d3){_0x5d3421=_0x5d3421-0x17a;let _0x20e811=_0x461c03[_0x5d3421];return _0x20e811;},a29_0x5d34(_0x1f3beb,_0x158abf);}(function(_0x2346fc,_0x3804e0){const _0xe15dc3=a29_0x5d34,_0x453c25=_0x2346fc();while(!![]){try{const _0x294688=parseInt(_0xe15dc3(0x1ae))/0x1+-parseInt(_0xe15dc3(0x1b8))/0x2*(-parseInt(_0xe15dc3(0x189))/0x3)+parseInt(_0xe15dc3(0x180))/0x4*(parseInt(_0xe15dc3(0x1b2))/0x5)+parseInt(_0xe15dc3(0x1bd))/0x6+parseInt(_0xe15dc3(0x1ba))/0x7*(parseInt(_0xe15dc3(0x18a))/0x8)+-parseInt(_0xe15dc3(0x19d))/0x9+parseInt(_0xe15dc3(0x1b7))/0xa*(-parseInt(_0xe15dc3(0x19b))/0xb);if(_0x294688===_0x3804e0)break;else _0x453c25['push'](_0x453c25['shift']());}catch(_0x47883a){_0x453c25['push'](_0x453c25['shift']());}}}(a29_0x461c,0xaed45));function a29_0x461c(){const _0x1253dc=['5YqHbGj','PLAYWRIGHT','getInstance','__skipSessionStatus','pwPage','6037310isyHBd','362RDVCpq','../utils/playwright-patcher','109473OVMmBl','JEST','../v2/cliUtils','6332748ERkQsM','util','../../helpers/accessibility-automation/scripts','getPackageVersion','testInfo','Bootstrapping\x20BrowserstackCLI\x20for\x20Jest\x20worker\x20process\x20(','../../helpers/driverInitErrorReporter','5549772eLAsrh','installAll','jestConfig','workerInfo','Error\x20bootstrapping\x20BrowserstackCLI:\x20','skipSessionStatus','bootstrap','message','../../helpers/testhub/constants.js','11838bgDjTr','536kFsMZY','../../helpers/performance/constants','../../helpers/globals','../utils/puppeteer-patcher','PUPPETEER','@playwright/test','catch','../utils/constants','../../helpers/logger','../playwright/reporter/test-details.js','__skipSessionName','../../helpers/helper','isCliEnabled','initializePuppeteerPatching','Error\x20initializing\x20Playwright\x20patching:\x20','debug','initializePlaywrightPatching','55nvekVr','driver-init\x20capture\x20install\x20failed:\x20','10703268WcSxYf','../playwright/reporter/reporter.js','Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','Error\x20initializing\x20Puppeteer\x20patching:\x20','puppeteer','currentTest','Jest-Playwright/Puppeteer\x20setup\x20completed','isPageFixture','o11ySyncDone','format','jest','Puppeteer\x20patching\x20and\x20session\x20details\x20initialized\x20for\x20Jest','../../helpers/test-observability/utils','Playwright\x20patching\x20and\x20session\x20details\x20initialized\x20for\x20Jest','../../helpers/accessibility-automation/helper','setFrameworkDetail','puppeteer-core','719068pnZZBm','../../helpers/setKeepAlive','../../helpers/testhub/utils','../../helpers/test-observability/error-handler'];a29_0x461c=function(){return _0x1253dc;};return a29_0x461c();}const {requireModule,modifyCommand,isTrue,isBrowserstackInfra,nestedKeyValue,parseYaml}=require(a29_0x491b1f(0x195)),setKeepAlive=require(a29_0x491b1f(0x1af)),util=require(a29_0x491b1f(0x17a)),PerformanceTester=require('../../helpers/performance/performance-tester'),{EVENTS:PerformanceEvents}=require(a29_0x491b1f(0x18b)),logger=require(a29_0x491b1f(0x192))['winstonLogger'],{shouldProcessEventForTesthub}=require(a29_0x491b1f(0x1b0)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a29_0x491b1f(0x1a9)),TestDetails=require(a29_0x491b1f(0x193)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),{o11yErrorHandler}=require(a29_0x491b1f(0x1b1)),MyReporter=require(a29_0x491b1f(0x19e)),SessionHandler=require('../../helpers/test-observability/sessionHandler'),scripts=require(a29_0x491b1f(0x17b)),globals=require(a29_0x491b1f(0x18c)),testHubConstants=require(a29_0x491b1f(0x188)),{shouldScanTestForAccessibility}=require(a29_0x491b1f(0x1ab)),fs=require('fs'),a29_0x28acba={};a29_0x28acba[a29_0x491b1f(0x183)]=undefined,a29_0x28acba[a29_0x491b1f(0x1a2)]={},a29_0x28acba[a29_0x491b1f(0x1a5)]=![],a29_0x28acba[a29_0x491b1f(0x1b6)]=null,a29_0x28acba[a29_0x491b1f(0x1a4)]=![],a29_0x28acba[a29_0x491b1f(0x1a2)]['id']=undefined,a29_0x28acba[a29_0x491b1f(0x1a2)][a29_0x491b1f(0x17d)]=undefined;const workerDetails=a29_0x28acba;global['__workerDetails']=workerDetails;let playwrightPatcher=null,puppeteerPatcher=null;setKeepAlive();try{require(a29_0x491b1f(0x17f))[a29_0x491b1f(0x181)](a29_0x491b1f(0x1a7));}catch(a29_0x43c542){logger[a29_0x491b1f(0x199)](a29_0x491b1f(0x19c)+(a29_0x43c542&&a29_0x43c542[a29_0x491b1f(0x187)]));}if(global[a29_0x491b1f(0x182)])try{isBrowserstackInfra()?(global[a29_0x491b1f(0x194)]=isTrue(global[a29_0x491b1f(0x182)]?.['skipSessionName']),global[a29_0x491b1f(0x1b5)]=isTrue(global[a29_0x491b1f(0x182)]?.[a29_0x491b1f(0x185)])):(global[a29_0x491b1f(0x194)]=!![],global[a29_0x491b1f(0x1b5)]=!![]);const helper=require(a29_0x491b1f(0x195));if(helper[a29_0x491b1f(0x17c)](a29_0x491b1f(0x18f)))try{logger[a29_0x491b1f(0x199)]('Patching\x20Playwright\x20for\x20Jest'),playwrightPatcher=require(a29_0x491b1f(0x1b9)),playwrightPatcher[a29_0x491b1f(0x19a)](global['jestConfig']),logger[a29_0x491b1f(0x199)](a29_0x491b1f(0x1aa));}catch(a29_0x4410f8){logger[a29_0x491b1f(0x199)](a29_0x491b1f(0x198)+util[a29_0x491b1f(0x1a6)](a29_0x4410f8));}if(!playwrightPatcher&&(helper['getPackageVersion'](a29_0x491b1f(0x1a1))||helper[a29_0x491b1f(0x17c)](a29_0x491b1f(0x1ad))))try{logger[a29_0x491b1f(0x199)]('Patching\x20Puppeteer\x20for\x20Jest'),puppeteerPatcher=require(a29_0x491b1f(0x18d)),puppeteerPatcher[a29_0x491b1f(0x197)](global[a29_0x491b1f(0x182)]),logger[a29_0x491b1f(0x199)](a29_0x491b1f(0x1a8));}catch(a29_0x49550a){logger[a29_0x491b1f(0x199)](a29_0x491b1f(0x1a0)+util[a29_0x491b1f(0x1a6)](a29_0x49550a));}const activePatcher=playwrightPatcher||puppeteerPatcher;if(activePatcher)try{const BrowserstackCLI=require('../v2/browserstackCLI'),CLIUtils=require(a29_0x491b1f(0x1bc)),{FRAMEWORKS}=require(a29_0x491b1f(0x191));if(BrowserstackCLI[a29_0x491b1f(0x1b4)]()[a29_0x491b1f(0x196)]()){const automationFramework=playwrightPatcher?FRAMEWORKS[a29_0x491b1f(0x1b3)]:FRAMEWORKS[a29_0x491b1f(0x18e)];logger['debug'](a29_0x491b1f(0x17e)+automationFramework+')'),CLIUtils[a29_0x491b1f(0x1ac)](FRAMEWORKS[a29_0x491b1f(0x1bb)],automationFramework),BrowserstackCLI[a29_0x491b1f(0x1b4)]()[a29_0x491b1f(0x186)]()[a29_0x491b1f(0x190)](_0x55ffe8=>{const _0x5aa963=a29_0x491b1f;logger[_0x5aa963(0x199)](_0x5aa963(0x184)+util[_0x5aa963(0x1a6)](_0x55ffe8));});}}catch(a29_0x572658){logger['debug'](a29_0x491b1f(0x19f)+util[a29_0x491b1f(0x1a6)](a29_0x572658));}shouldProcessEventForTesthub()&&addRequestSpy(![]);}catch(a29_0x9740f1){logger[a29_0x491b1f(0x199)]('Error\x20reading\x20BrowserStack\x20config:\x20'+util[a29_0x491b1f(0x1a6)](a29_0x9740f1));}logger[a29_0x491b1f(0x199)](a29_0x491b1f(0x1a3));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a30_0xbb3a9f=a30_0x1737;(function(_0x36643f,_0x496401){const _0x10468f=a30_0x1737,_0x585f74=_0x36643f();while(!![]){try{const _0x45a1b3=-parseInt(_0x10468f(0x7a))/0x1+-parseInt(_0x10468f(0x8f))/0x2+parseInt(_0x10468f(0x88))/0x3*(parseInt(_0x10468f(0x83))/0x4)+parseInt(_0x10468f(0x87))/0x5*(parseInt(_0x10468f(0x79))/0x6)+parseInt(_0x10468f(0x82))/0x7*(parseInt(_0x10468f(0x7f))/0x8)+-parseInt(_0x10468f(0x7c))/0x9*(parseInt(_0x10468f(0x8b))/0xa)+parseInt(_0x10468f(0x81))/0xb;if(_0x45a1b3===_0x496401)break;else _0x585f74['push'](_0x585f74['shift']());}catch(_0xcd97d5){_0x585f74['push'](_0x585f74['shift']());}}}(a30_0x24ce,0x7fcca));const {requireModule}=require('../../helpers/helper'),logger=require(a30_0xbb3a9f(0x89))['winstonLogger'];require(a30_0xbb3a9f(0x8e))();function a30_0x24ce(){const _0x44ae58=['jest','32260lNbVgr','debug','Selenium-webdriver\x20not\x20available\x20to\x20set\x20in\x20global.__webdriver','../../helpers/setKeepAlive','1617138glUZji','401106dKBTgo','819441zyTNGo','message','2799WzTPzN','../../helpers/driverInitErrorReporter','__webdriver','16jTalfe','driver-init\x20capture\x20install\x20failed:\x20','23068078qsUddy','2009721nTvfup','555476lQkksT','installAll','selenium-webdriver','keys','5fhWynD','9eWbggs','../../helpers/logger'];a30_0x24ce=function(){return _0x44ae58;};return a30_0x24ce();}function a30_0x1737(_0x5f4788,_0x4a513f){const _0x24ce27=a30_0x24ce();return a30_0x1737=function(_0x1737ef,_0x287f8b){_0x1737ef=_0x1737ef-0x79;let _0x47ec41=_0x24ce27[_0x1737ef];return _0x47ec41;},a30_0x1737(_0x5f4788,_0x4a513f);}try{const __wd__=requireModule(a30_0xbb3a9f(0x85));for(const key of Object[a30_0xbb3a9f(0x86)](global[a30_0xbb3a9f(0x7e)])){__wd__[key]=global[a30_0xbb3a9f(0x7e)][key];}}catch(a30_0x4e85d4){logger[a30_0xbb3a9f(0x8c)](a30_0xbb3a9f(0x8d));}try{require(a30_0xbb3a9f(0x7d))[a30_0xbb3a9f(0x84)](a30_0xbb3a9f(0x8a));}catch(a30_0x349915){logger['debug'](a30_0xbb3a9f(0x80)+(a30_0x349915&&a30_0x349915[a30_0xbb3a9f(0x7b)]));}
|