browserstack-node-sdk 1.63.6 → 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
|
-
const a1_0x3fe46e=a1_0x467d;(function(_0x856238,_0x3d2f9d){const _0x231f1b=a1_0x467d,_0x3a03d1=_0x856238();while(!![]){try{const _0x4cc7a1=-parseInt(_0x231f1b(0x18f))/0x1+parseInt(_0x231f1b(0x22e))/0x2*(-parseInt(_0x231f1b(0x22c))/0x3)+parseInt(_0x231f1b(0x280))/0x4+-parseInt(_0x231f1b(0x291))/0x5+-parseInt(_0x231f1b(0x192))/0x6+-parseInt(_0x231f1b(0x20f))/0x7+parseInt(_0x231f1b(0x1ee))/0x8;if(_0x4cc7a1===_0x3d2f9d)break;else _0x3a03d1['push'](_0x3a03d1['shift']());}catch(_0x350ff8){_0x3a03d1['push'](_0x3a03d1['shift']());}}}(a1_0x5619,0x5c953));const fs=require('fs'),util=require(a1_0x3fe46e(0x272)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x3fe46e(0x276)),logger=require(a1_0x3fe46e(0x260))[a1_0x3fe46e(0x191)],testOpsHelper=require(a1_0x3fe46e(0x199)),requestSpy=require(a1_0x3fe46e(0x190)),PlaywrightSessionDetails=require(a1_0x3fe46e(0x1da)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x3fe46e(0x1ed)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x3fe46e(0x1d2)),AccessibilityHelper=require(a1_0x3fe46e(0x233)),accessibilityRetryHelper=require(a1_0x3fe46e(0x1d3)),scripts=require(a1_0x3fe46e(0x1a2)),PerformanceTester=require(a1_0x3fe46e(0x1df)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x3fe46e(0x20d)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x3fe46e(0x25c)),testHubConstants=require(a1_0x3fe46e(0x1ad)),globals=require('../../helpers/globals.js'),interopDefault=_0x3c45f0=>_0x3c45f0&&_0x3c45f0['default']!==undefined?_0x3c45f0[a1_0x3fe46e(0x238)]:_0x3c45f0,CodeceptJS=requireModule(a1_0x3fe46e(0x213),a1_0x3fe46e(0x1c9)),CodeceptUtils=requireModule(a1_0x3fe46e(0x18b),a1_0x3fe46e(0x1c9)),CodeceptWebDriver=interopDefault(requireModule(a1_0x3fe46e(0x18e),a1_0x3fe46e(0x1c9))),CodeceptRecorder=interopDefault(requireModule(a1_0x3fe46e(0x27f),a1_0x3fe46e(0x1c9))),CodeceptPlaywright=interopDefault(requireModule(a1_0x3fe46e(0x241),'codeceptjs'));try{require('../../helpers/driverInitErrorReporter')[a1_0x3fe46e(0x28b)](a1_0x3fe46e(0x1c9));}catch(a1_0x50273d){logger[a1_0x3fe46e(0x246)](a1_0x3fe46e(0x193)+(a1_0x50273d&&a1_0x50273d['message']));}const playwrightMarkSessionStatus=(_0x482841,_0x1ffd4e,_0x4b782d)=>{const _0x5bf681=a1_0x3fe46e,_0x2cb001={'VjxCL':_0x5bf681(0x1b5),'qFPOc':function(_0x51243f,_0x2785d7){return _0x51243f(_0x2785d7);}},_0x550021={};_0x550021[_0x5bf681(0x196)]=_0x1ffd4e;const _0x367872={};_0x367872[_0x5bf681(0x202)]=_0x2cb001['VjxCL'],_0x367872[_0x5bf681(0x1c6)]=_0x550021;const _0x376503=_0x367872;return!_0x2cb001[_0x5bf681(0x1dd)](isUndefined,_0x4b782d)&&(_0x376503[_0x5bf681(0x1c6)]['reason']=JSON[_0x5bf681(0x1b8)](_0x4b782d)),_0x482841[_0x5bf681(0x206)](()=>{},_0x5bf681(0x242)+JSON[_0x5bf681(0x1b8)](_0x376503));},o11ySync=PerformanceTester[a1_0x3fe46e(0x222)](PerformanceO11yEvents[a1_0x3fe46e(0x268)],async _0x4e8d08=>{const _0x163585=a1_0x3fe46e,_0x39a3f3={};_0x39a3f3[_0x163585(0x1f1)]=function(_0x29f3ef,_0x1af5f0){return _0x29f3ef===_0x1af5f0;},_0x39a3f3['eLkRA']=_0x163585(0x1cb);const _0x4fea06=_0x39a3f3;_0x4fea06['QDsfn'](_0x4e8d08[_0x163585(0x20c)]['name'],_0x4fea06[_0x163585(0x21b)])?await _0x4e8d08[_0x163585(0x206)](_0x2f4a60=>{},testOpsHelper[_0x163585(0x1c2)]()):await _0x4e8d08[_0x163585(0x206)](testOpsHelper[_0x163585(0x1c2)]());}),markSessionName=PerformanceTester[a1_0x3fe46e(0x222)](PerformanceAutEvents[a1_0x3fe46e(0x1f7)],async(_0x451654,_0x17fdf8)=>{const _0x32bfca=a1_0x3fe46e,_0x441fbd={};_0x441fbd[_0x32bfca(0x220)]=_0x32bfca(0x1d6),_0x441fbd[_0x32bfca(0x27c)]=function(_0x52fb7a,_0x17fff3){return _0x52fb7a===_0x17fff3;},_0x441fbd[_0x32bfca(0x282)]=_0x32bfca(0x1cb);const _0x51ce3e=_0x441fbd,_0x294650={};_0x294650[_0x32bfca(0x267)]=_0x17fdf8;const _0x30523f={};_0x30523f[_0x32bfca(0x202)]=_0x51ce3e['hAeMD'],_0x30523f[_0x32bfca(0x1c6)]=_0x294650;const _0x3f7db2=_0x30523f;_0x51ce3e['pYbNA'](_0x451654['constructor'][_0x32bfca(0x267)],_0x51ce3e[_0x32bfca(0x282)])?await _0x451654[_0x32bfca(0x206)](()=>{},'browserstack_executor:\x20'+JSON[_0x32bfca(0x1b8)](_0x3f7db2)):await _0x451654[_0x32bfca(0x206)]('browserstack_executor:\x20'+JSON[_0x32bfca(0x1b8)](_0x3f7db2));}),patchSaveScreenshot=_0x391b35=>{const _0x514d9b=a1_0x3fe46e,_0x4ef512={'dJaFy':'base64','AmqfK':'TEST_SCREENSHOT','mRHGv':function(_0x379423){return _0x379423();},'wOdOI':function(_0x2ba8c1,_0x2d0dae){return _0x2ba8c1(_0x2d0dae);},'Gnkjy':_0x514d9b(0x1b0)};_0x4ef512['wOdOI'](isTrue,process[_0x514d9b(0x1f9)][_0x514d9b(0x25e)])&&!_0x391b35['patchSaveScreenshot']&&(_0x391b35[_0x514d9b(0x23f)]=!![],_0x391b35[_0x514d9b(0x1de)]=_0x391b35[_0x514d9b(0x195)],_0x391b35[_0x514d9b(0x195)]=(_0x4e0592,_0x18a9aa=![])=>{const _0x472ad1=_0x514d9b,_0x1c6f06={'zfteN':_0x4ef512[_0x472ad1(0x218)],'NIqWM':_0x4ef512[_0x472ad1(0x27e)],'XIwrw':function(_0x1618e0){const _0x3e4f87=_0x472ad1;return _0x4ef512[_0x3e4f87(0x24c)](_0x1618e0);},'zKmNK':function(_0x2d11f5,_0x14612b){const _0x3215fa=_0x472ad1;return _0x4ef512[_0x3215fa(0x1f8)](_0x2d11f5,_0x14612b);},'qfEkO':_0x4ef512[_0x472ad1(0x1d0)]};return new Promise(function(_0x23089e,_0x24891d){const _0x4ff689=_0x472ad1,_0x483503={'QTQdd':_0x1c6f06[_0x4ff689(0x240)],'iaWMu':_0x1c6f06[_0x4ff689(0x25b)],'XDBhE':function(_0x243ba9){const _0x4c3431=_0x4ff689;return _0x1c6f06[_0x4c3431(0x1be)](_0x243ba9);},'gQgUy':function(_0x284f93,_0x4df4b7){const _0x564ab2=_0x4ff689;return _0x1c6f06[_0x564ab2(0x1db)](_0x284f93,_0x4df4b7);},'rlSvb':_0x1c6f06['qfEkO']};_0x391b35[_0x4ff689(0x1de)](_0x4e0592,_0x18a9aa)[_0x4ff689(0x20e)](()=>{const _0x112e18=_0x4ff689,_0x12dbb5=CodeceptUtils[_0x112e18(0x1e6)](_0x4e0592);if(_0x12dbb5){const _0x265b9f=fs[_0x112e18(0x263)](_0x12dbb5);process[_0x112e18(0x200)](_0x112e18(0x1d8)+process[_0x112e18(0x1c3)],{'timestamp':new Date()[_0x112e18(0x1bf)](),'message':_0x265b9f[_0x112e18(0x231)](_0x483503[_0x112e18(0x1e1)]),'kind':_0x483503[_0x112e18(0x1a7)]}),_0x483503[_0x112e18(0x1b2)](_0x23089e);}_0x483503[_0x112e18(0x28d)](_0x24891d,new Error(_0x483503[_0x112e18(0x22b)]));})[_0x4ff689(0x219)](()=>null);});});},patchWebDriverBefore=(_0x371e33,_0x365d5e)=>{const _0x3ec27b=a1_0x3fe46e,_0x597757={'oKdix':function(_0x173919){return _0x173919();},'jAUhQ':function(_0x4d63a5,_0x562aff){return _0x4d63a5(_0x562aff);},'hqvTh':function(_0x1df76d,_0x98c3f5){return _0x1df76d===_0x98c3f5;},'omRyZ':_0x3ec27b(0x19f),'IGsYt':function(_0xae1d87,_0x38a48f){return _0xae1d87===_0x38a48f;},'KCRUV':_0x3ec27b(0x1d4),'EvKWd':_0x3ec27b(0x243),'hmjJx':function(_0x32c83a,_0xd411a1){return _0x32c83a(_0xd411a1);},'cBzmm':_0x3ec27b(0x23b)},_0x2f74fc=async function(_0x3eb2b7,_0x475a70){const _0x5dafc3=_0x3ec27b;_0x597757[_0x5dafc3(0x1bc)](isAccessibilityAutomationSession)&&!global[_0x5dafc3(0x287)]&&global[_0x5dafc3(0x1ea)]&&scripts[_0x5dafc3(0x266)](_0x3eb2b7[_0x5dafc3(0x267)])&&_0x597757[_0x5dafc3(0x1d5)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x5dafc3(0x287)]=!![],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x5dafc3(0x18c)],async()=>{const _0x9e1394=_0x5dafc3;logger[_0x9e1394(0x246)]('Performing\x20scan\x20for\x20'+_0x3eb2b7['class']+'\x20'+_0x3eb2b7[_0x9e1394(0x267)]),await AccessibilityHelper[_0x9e1394(0x274)](_0x371e33,scripts['performScan']);},{'command':_0x3eb2b7[_0x5dafc3(0x267)]})());global[_0x5dafc3(0x287)]=![];const _0xd2e745=JSON[_0x5dafc3(0x1c8)](process['env'][_0x5dafc3(0x1e3)]||'{}');if(_0x597757['hqvTh'](_0xd2e745?.[_0x5dafc3(0x257)]?.[_0x5dafc3(0x267)],_0x597757[_0x5dafc3(0x1f2)])&&_0x597757[_0x5dafc3(0x1b4)](typeof _0xd2e745?.[_0x5dafc3(0x257)]?.[_0x5dafc3(0x1ec)],_0x597757[_0x5dafc3(0x259)])&&_0xd2e745?.[_0x5dafc3(0x257)]?.['version'][_0x5dafc3(0x250)]('7'))return _0x475a70[_0x5dafc3(0x230)](null,Array[_0x5dafc3(0x245)][_0x5dafc3(0x22a)]['call'](arguments,0x2));return _0x475a70[_0x5dafc3(0x230)](this,Array['prototype'][_0x5dafc3(0x22a)]['call'](arguments,0x2));},_0x5be0ba=CodeceptWebDriver[_0x3ec27b(0x245)][_0x3ec27b(0x285)];CodeceptWebDriver[_0x3ec27b(0x245)][_0x3ec27b(0x285)]=async function(){const _0x13ab76=_0x3ec27b;try{await _0x5be0ba[_0x13ab76(0x230)](this,arguments);}catch(_0x2a0c73){logger['debug']('Failed\x20to\x20execute\x20_before:\x20'+util[_0x13ab76(0x1e9)](_0x2a0c73));}(scripts[_0x13ab76(0x253)]||[])[_0x13ab76(0x207)](_0x2a72c1=>_0x2a72c1[_0x13ab76(0x267)]&&_0x2a72c1[_0x13ab76(0x194)])[_0x13ab76(0x1b3)](_0x34c7e4=>{const _0x2a3e35=_0x13ab76;this[_0x2a3e35(0x198)]['overwriteCommand'](_0x34c7e4[_0x2a3e35(0x267)],_0x2f74fc[_0x2a3e35(0x252)](this,_0x34c7e4),_0x597757[_0x2a3e35(0x1a0)](_0x34c7e4['class'],_0x597757[_0x2a3e35(0x1ae)]));}),_0x597757['hmjJx'](processWebDriverConfig,_0x371e33);try{_0x365d5e&&_0x597757[_0x13ab76(0x1b4)](typeof _0x365d5e[_0x13ab76(0x254)],_0x597757['cBzmm'])&&await _0x365d5e[_0x13ab76(0x254)]();}catch(_0x4939c6){logger[_0x13ab76(0x246)](_0x13ab76(0x265)+util['format'](_0x4939c6));}};};function parseJwt(_0x42037e){const _0x5a22ac=a1_0x3fe46e,_0x463fe6={};_0x463fe6['ttqxM']='base64';const _0x49de30=_0x463fe6;if(!_0x42037e)return null;return JSON['parse'](Buffer[_0x5a22ac(0x1f4)](_0x42037e[_0x5a22ac(0x1e2)]('.')[0x1],_0x49de30[_0x5a22ac(0x247)])[_0x5a22ac(0x231)]());}const patchPlaywrightBefore=_0x2e2420=>{const _0x35656f=a1_0x3fe46e,_0x4b4f1c={'yUcYI':function(_0x5f22af){return _0x5f22af();},'JjGyv':_0x35656f(0x1eb),'pKkfK':'--auto-open-devtools-for-tabs','XeHPr':function(_0x24a4e9,_0x36b72a){return _0x24a4e9(_0x36b72a);},'eUXgJ':function(_0x7e66f4,_0x5286f7){return _0x7e66f4+_0x5286f7;},'UjtsS':'\x0aStack:\x20','xLCmY':function(_0x14a279){return _0x14a279();},'FoRyb':function(_0x57f912,_0x51f3f1){return _0x57f912===_0x51f3f1;},'zQcOH':_0x35656f(0x23b)};PlaywrightSessionDetails[_0x35656f(0x19a)]();const _0x11f3b0=CodeceptPlaywright['prototype']['_before'];CodeceptPlaywright[_0x35656f(0x245)][_0x35656f(0x285)]=async function(){const _0x236128=_0x35656f,_0x3ea832={'AshbS':function(_0x164922){return _0x4b4f1c['yUcYI'](_0x164922);},'ZLint':_0x4b4f1c[_0x236128(0x19d)],'XYfjy':_0x4b4f1c[_0x236128(0x208)],'rvujT':function(_0x2d4c6c,_0x457719){const _0x446122=_0x236128;return _0x4b4f1c[_0x446122(0x1e7)](_0x2d4c6c,_0x457719);},'tgDbN':function(_0x4da68a,_0x3fe7fb){const _0x48ea6a=_0x236128;return _0x4b4f1c[_0x48ea6a(0x20b)](_0x4da68a,_0x3fe7fb);},'pwLxH':_0x4b4f1c[_0x236128(0x24f)]};this[_0x236128(0x235)]=await this[_0x236128(0x198)][_0x236128(0x28a)]()[0x0];const _0x427c0c=async()=>{const _0x4d0cdf=_0x236128,_0x1cc2ba=this['config']&&this[_0x4d0cdf(0x1e4)]['chromium']&&this[_0x4d0cdf(0x1e4)][_0x4d0cdf(0x1d7)][_0x4d0cdf(0x258)]&&Array[_0x4d0cdf(0x24b)](this[_0x4d0cdf(0x1e4)][_0x4d0cdf(0x1d7)][_0x4d0cdf(0x258)])&&this[_0x4d0cdf(0x1e4)][_0x4d0cdf(0x1d7)]['args'][_0x4d0cdf(0x278)](_0x3ea832[_0x4d0cdf(0x286)]);if(_0x3ea832['AshbS'](isAccessibilityAutomationSession)&&!_0x1cc2ba)try{const _0x4dc42e=_0x3ea832[_0x4d0cdf(0x214)](parseJwt,process[_0x4d0cdf(0x1f9)]['BS_A11Y_JWT']);if(_0x4dc42e&&_0x4dc42e[_0x4d0cdf(0x27d)]&&_0x4dc42e[_0x4d0cdf(0x27d)]['domForge']){const _0xb41210=this['browserContext'][_0x4d0cdf(0x1ff)]['bind'](this[_0x4d0cdf(0x235)]);this[_0x4d0cdf(0x235)][_0x4d0cdf(0x1ff)]=async function(){const _0x322ac7=_0x4d0cdf,_0x4a0a74=await _0x3ea832['AshbS'](_0xb41210),_0x10c971=[];for(const _0x11f367 of _0x4a0a74){try{const _0xf95d8=await _0x11f367[_0x322ac7(0x275)]();!_0xf95d8[_0x322ac7(0x250)](_0x3ea832[_0x322ac7(0x1ac)])&&_0x10c971[_0x322ac7(0x23a)](_0x11f367);}catch(_0x34405c){_0x10c971[_0x322ac7(0x23a)](_0x11f367);}}return _0x10c971;};}if(!_0x3ea832[_0x4d0cdf(0x223)](isBrowserstackInfra)){const _0x2a815f=await this['page']['url']();if(_0x2a815f[_0x4d0cdf(0x250)](_0x3ea832['ZLint'])){const _0x463169=await this[_0x4d0cdf(0x235)][_0x4d0cdf(0x1ff)]();this['_setPage'](_0x463169[0x0]);}}}catch(_0x3780f8){logger['debug'](_0x4d0cdf(0x24a)+_0x3780f8['message']+(_0x3780f8[_0x4d0cdf(0x216)]?_0x3ea832[_0x4d0cdf(0x19c)](_0x3ea832[_0x4d0cdf(0x1fc)],_0x3780f8['stack']):''));}};_0x4b4f1c[_0x236128(0x22d)](isBrowserstackInfra)&&await _0x4b4f1c['xLCmY'](_0x427c0c);await _0x11f3b0[_0x236128(0x230)](this,arguments);!_0x4b4f1c[_0x236128(0x224)](isBrowserstackInfra)&&await _0x4b4f1c['xLCmY'](_0x427c0c);try{_0x2e2420&&_0x4b4f1c[_0x236128(0x26e)](typeof _0x2e2420[_0x236128(0x254)],_0x4b4f1c[_0x236128(0x211)])&&await _0x2e2420['flushPendingHookEvents']();}catch(_0x613e9d){logger['debug']('Failed\x20to\x20flush\x20pending\x20hook\x20events\x20after\x20Playwright\x20_before:\x20'+util[_0x236128(0x1e9)](_0x613e9d));}};},getCodeceptDriver=()=>{const _0x22b066=a1_0x3fe46e,_0x5147ab={};_0x5147ab[_0x22b066(0x239)]=_0x22b066(0x21c),_0x5147ab[_0x22b066(0x232)]=_0x22b066(0x1cb),_0x5147ab['QXeEQ']=_0x22b066(0x19e),_0x5147ab[_0x22b066(0x1fe)]='TestCafe';const _0x4ca5ea=_0x5147ab,_0x2971f5=[_0x4ca5ea[_0x22b066(0x239)],_0x4ca5ea[_0x22b066(0x232)],_0x4ca5ea['QXeEQ'],_0x4ca5ea[_0x22b066(0x1fe)]],_0x1dea22=_0x2971f5['find'](_0x291982=>!!CodeceptJS[_0x22b066(0x19b)]['helpers'](_0x291982));if(!_0x1dea22)return null;return CodeceptJS[_0x22b066(0x19b)][_0x22b066(0x1fb)](_0x1dea22);};function a1_0x5619(){const _0x3db4fa=['Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20test.before:\x20','SESSION_STATUS','Suite','kjOse','ZLint','../../helpers/testhub/constants.js','EvKWd','stopMonitoring','Screenshot\x20path\x20not\x20found','ppLue','XDBhE','forEach','IGsYt','setSessionStatus','SDK_POST_TEST','passed','stringify','SDK_PRE_INITIALIZE','all','restore','oKdix','RsykY','XIwrw','toISOString','bstackA11yShouldScan','stop','getSyncScript','pid','TEST_RUN_FINISHED','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','arguments','skipped','parse','codeceptjs','vJDGx','Playwright','NMhYe','ReCke','VsCsq','performScan','Gnkjy','getAccessibilityResultsSummary','../../helpers/accessibility-automation/helper','../../helpers/accessibility-automation/accessibilityRetryHelper','string','jAUhQ','setSessionName','chromium','bs:addLog:','getResults','../../bin/playwright/sessionDetails','zKmNK','SDK_TEST','qFPOc','initSaveScreenshot','../../helpers/performance/performance-tester','kdhEh','QTQdd','split','FRAMEWORK_DETAILS','config','XulUp','screenshotOutputFolder','XeHPr','XrSug','format','accessibilityPlatform','devtools://','version','./o11yHelper','14368080NYmRQa','started','xMqZZ','QDsfn','omRyZ','besFW','from','hookType','QDksd','SESSION_NAME','wOdOI','env','hasLiveDriverSession','helpers','pwLxH','browserstackTestName','wqihh','pages','emit','yeNXp','action','addRequestSpy','tsANb','before','executeScript','filter','pKkfK','testAnalyticsId','hcgoc','eUXgJ','constructor','../../helpers/performance/constants','then','262479gBfQGP','bddStepStart','zQcOH','enabled','codeceptjs/lib/index.js','rvujT','GIIBI','stack','thBuildUuid','dJaFy','catch','test','eLkRA','WebDriver','__workerDetails','tvLBC','event','hAeMD','fireEvent','measureWrapper','AshbS','xLCmY','info','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','TEST_RUN_STARTED','bddStep','bufferPendingHookEvent','slice','rlSvb','2078931IUHTRP','yUcYI','2LNxyjt','setGlobal','apply','toString','CjVdP','../../bin/playwright/accessibility-helper','SDK_PRE_TEST','browserContext','osyIp','kddYn','default','dHdJR','push','function','fLVdg','warn','__skipSessionStatus','patchSaveScreenshot','zfteN','codeceptjs/lib/helper/Playwright.js','browserstack_executor:\x20','Element','ENV_VAR','prototype','debug','ttqxM','titlePath','TEST_RUN_SKIPPED','Failed\x20to\x20patch\x20pages\x20method\x20in\x20browserContext\x20for\x20a11y\x20domForge:\x20','isArray','mRHGv','hook-passed','xNBMP','UjtsS','startsWith','startMonitoring','bind','commandsToWrap','flushPendingHookEvents','uVmZg','IHzNP','testFramework','args','KCRUV','captureEvent','NIqWM','./helper.js','failed','BS_TESTOPS_ALLOW_SCREENSHOTS','end','../../helpers/logger','bddStepFinish','ctx','readFileSync','cDYKk','Failed\x20to\x20flush\x20pending\x20hook\x20events\x20after\x20_before:\x20','shouldWrapCommand','name','SYNC','after','hook-failed','test-before','exports','PNoKU','FoRyb','hFuIp','dispatcher','CDabp','util','QJTWI','browserStackExecuteDriver','url','../../helpers/helper','TEST_LOG','includes','captureError','TONPN','step','pYbNA','a11y_core_config','AmqfK','codeceptjs/lib/recorder.js','1402320WkhFMY','add','uvBks','command','getAccessibilityResults','_before','XYfjy','bstackAllyScanning','start','HOOK_RUN_FINISHED','contexts','installAll','VipeK','gQgUy','BROWSERSTACK_TESTHUB_UUID','aVncG','thTestRunUuid','26655wnaeai','PMlWA','SDK_HOOK','xMvDW','skipSessionName','codeceptjs/lib/utils.js','PERFORM_SCAN','title','codeceptjs/lib/helper/WebDriver.js','310346dfDAAC','../../helpers/request-spy','winstonLogger','4327320IdgJMT','driver-init\x20capture\x20install\x20failed:\x20','class','saveScreenshot','status','HOOK_RUN_STARTED','browser','../../helpers/test-observability/utils','patch','container','tgDbN','JjGyv','Puppeteer','webdriverio','hqvTh','skipSessionStatus','../../helpers/accessibility-automation/scripts','INFO','DpFrO','hook','bddStep-after','iaWMu'];a1_0x5619=function(){return _0x3db4fa;};return a1_0x5619();}function a1_0x467d(_0x4b2dac,_0x406900){const _0x56194e=a1_0x5619();return a1_0x467d=function(_0x467d86,_0x2a95db){_0x467d86=_0x467d86-0x188;let _0x41c683=_0x56194e[_0x467d86];return _0x41c683;},a1_0x467d(_0x4b2dac,_0x406900);}module[a1_0x3fe46e(0x26c)]=function(_0x1c53e6){const _0x217777=a1_0x3fe46e,_0x3721c9={'PMlWA':function(_0x339424,_0x20eeb8){return _0x339424(_0x20eeb8);},'ppLue':function(_0x5da9d4,_0x1eff9,_0x4635ef){return _0x5da9d4(_0x1eff9,_0x4635ef);},'sVwkr':_0x217777(0x284),'cDYKk':_0x217777(0x226),'hcgoc':_0x217777(0x1d1),'CDabp':_0x217777(0x1c5),'xMqZZ':function(_0x765169,_0x370fc4){return _0x765169(_0x370fc4);},'kjOse':'hook-started','yeNXp':_0x217777(0x24d),'fLVdg':function(_0x2dec5c,_0x492eaf,_0x5d5352){return _0x2dec5c(_0x492eaf,_0x5d5352);},'xMvDW':_0x217777(0x26a),'vJDGx':_0x217777(0x1fd),'DpFrO':function(_0x2470ce){return _0x2470ce();},'NMhYe':_0x217777(0x1c0),'IHzNP':_0x217777(0x26b),'besFW':function(_0x55112f){return _0x55112f();},'tsANb':'test-started','VsCsq':function(_0x3dd7df,_0x46cfc6,_0x4ceb2f){return _0x3dd7df(_0x46cfc6,_0x4ceb2f);},'RsykY':'test-passed','kdhEh':function(_0xa93c34,_0x389836,_0x1e81f6,_0x1ed9c3){return _0xa93c34(_0x389836,_0x1e81f6,_0x1ed9c3);},'JBJLM':function(_0x260421,_0x24d020){return _0x260421===_0x24d020;},'PNoKU':_0x217777(0x1aa),'QJTWI':'test-failed','GIIBI':'test-skipped','FkxHO':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','QDksd':'test-after','kddYn':_0x217777(0x1a3),'hFuIp':_0x217777(0x277),'XrSug':'step-comment','VipeK':'bddStep-before','PpGms':_0x217777(0x1a6),'XulUp':function(_0x176eea){return _0x176eea();},'uVmZg':_0x217777(0x1cb)};_0x1c53e6[_0x217777(0x1a1)]&&(global[_0x217777(0x23e)]=_0x1c53e6[_0x217777(0x1a1)]);PerformanceTester[_0x217777(0x251)]();const _0x44a286=_0x3721c9[_0x217777(0x1e5)](getCodeceptDriver),_0x18bd05=new O11yHelper(_0x44a286,_0x1c53e6),_0x41355a=!!CodeceptJS[_0x217777(0x19b)][_0x217777(0x1fb)](_0x3721c9[_0x217777(0x255)]);global['__driver']=_0x44a286;_0x44a286&&(PerformanceTester[_0x217777(0x222)](PerformanceEvents[_0x217777(0x1b9)],()=>{const _0x40ee6a=_0x217777;_0x41355a?_0x3721c9[_0x40ee6a(0x292)](patchPlaywrightBefore,_0x18bd05):_0x3721c9[_0x40ee6a(0x1b1)](patchWebDriverBefore,_0x44a286,_0x18bd05);})(),PerformanceTester[_0x217777(0x222)](PerformanceEvents['SDK_POST_INITIALIZE'],()=>{const _0xb18614=_0x217777,_0x476f10={};_0x476f10[_0xb18614(0x27a)]=_0x3721c9[_0xb18614(0x20a)],_0x476f10['sCkTX']=_0x3721c9[_0xb18614(0x271)];const _0x521349=_0x476f10;_0x44a286[_0xb18614(0x1d1)]=async()=>{const _0x58f403=_0xb18614;if(global['accessibilityPlatform']){const _0xc55fd1={};return _0xc55fd1['command']=_0x521349['TONPN'],await PerformanceTester[_0x58f403(0x222)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0xebb68e=_0x58f403;return await AccessibilityHelper[_0xebb68e(0x274)](_0x44a286,scripts[_0xebb68e(0x1cf)]);},_0xc55fd1)(),await PerformanceTester[_0x58f403(0x222)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x59599c=_0x58f403;return await AccessibilityHelper[_0x59599c(0x274)](_0x44a286,scripts['getResultsSummary']);})();}return logger[_0x58f403(0x23d)](_0x521349['sCkTX']),{};},_0x44a286[_0xb18614(0x284)]=async()=>{const _0x3ea9dd=_0xb18614;if(global[_0x3ea9dd(0x1ea)]){const _0x9eea5c={};return _0x9eea5c[_0x3ea9dd(0x283)]=_0x3721c9['sVwkr'],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x3ea9dd(0x18c)],async()=>{const _0x4410e6=_0x3ea9dd;return await AccessibilityHelper['browserStackExecuteDriver'](_0x44a286,scripts[_0x4410e6(0x1cf)]);},_0x9eea5c)(),await PerformanceTester[_0x3ea9dd(0x222)](PerformanceA11yEvents['GET_RESULTS'],async()=>{const _0x18ea56=_0x3ea9dd;return await AccessibilityHelper[_0x18ea56(0x274)](_0x44a286,scripts[_0x18ea56(0x1d9)]);})();}return logger[_0x3ea9dd(0x23d)](_0x3721c9[_0x3ea9dd(0x264)]),{};},_0x3721c9['xMqZZ'](patchSaveScreenshot,_0x44a286);})());CodeceptJS[_0x217777(0x21f)][_0x217777(0x270)]['on'](CodeceptJS[_0x217777(0x21f)][_0x217777(0x1ba)][_0x217777(0x205)],()=>{const _0x1e552b=_0x217777;PerformanceTester[_0x1e552b(0x288)](PerformanceEvents[_0x1e552b(0x234)]);try{_0x18bd05[_0x1e552b(0x288)](),testOpsHelper[_0x1e552b(0x203)](),PerformanceTester[_0x1e552b(0x25f)](PerformanceEvents[_0x1e552b(0x234)]);}catch(_0x25a640){PerformanceTester[_0x1e552b(0x279)](_0x25a640),PerformanceTester[_0x1e552b(0x25f)](PerformanceEvents[_0x1e552b(0x234)],![],_0x25a640);}}),CodeceptJS['event'][_0x217777(0x270)]['on'](CodeceptJS['event'][_0x217777(0x1ba)][_0x217777(0x269)],async()=>{const _0x34988b=_0x217777;PerformanceTester[_0x34988b(0x288)](PerformanceEvents[_0x34988b(0x1b6)]);try{requestSpy[_0x34988b(0x1bb)](),await _0x18bd05[_0x34988b(0x1c1)](),PerformanceTester[_0x34988b(0x25f)](PerformanceEvents[_0x34988b(0x1b6)]);}catch(_0x52c288){PerformanceTester[_0x34988b(0x279)](_0x52c288),PerformanceTester[_0x34988b(0x25f)](PerformanceEvents['SDK_POST_TEST'],![],_0x52c288);}finally{PerformanceTester[_0x34988b(0x1af)]();}});const _0xca5888=(_0x550f8e,_0x175f6a)=>{const _0x307c73=_0x217777;if(!_0x18bd05)return;if(!_0x18bd05[_0x307c73(0x1fa)]()){_0x18bd05[_0x307c73(0x229)](_0x550f8e,_0x175f6a);return;}CodeceptRecorder[_0x307c73(0x281)](()=>_0x18bd05[_0x307c73(0x221)](_0x550f8e,_0x175f6a));};CodeceptJS[_0x217777(0x21f)]['dispatcher']['on'](CodeceptJS[_0x217777(0x21f)][_0x217777(0x1a5)][_0x217777(0x1ef)],_0x467a89=>{const _0x237766=_0x217777;PerformanceTester[_0x237766(0x288)](PerformanceEvents['SDK_HOOK']);try{const _0x2fb18f=_0x467a89[_0x237766(0x262)][_0x237766(0x21a)],_0x2f9028=_0x18bd05[_0x237766(0x25a)](TEST_EVENTS[_0x237766(0x197)],_0x2fb18f);_0x3721c9['ppLue'](_0xca5888,TEST_EVENTS[_0x237766(0x197)],_0x2f9028);const _0x365b15={};_0x365b15[_0x237766(0x1f5)]=_0x3721c9[_0x237766(0x1ab)],PerformanceTester[_0x237766(0x25f)](PerformanceEvents[_0x237766(0x188)],!![],null,_0x365b15);}catch(_0x144075){const _0x335a38={};_0x335a38['hookType']=_0x3721c9[_0x237766(0x1ab)],PerformanceTester[_0x237766(0x25f)](PerformanceEvents[_0x237766(0x188)],![],_0x144075,_0x335a38),PerformanceTester[_0x237766(0x279)](_0x144075);}}),CodeceptJS['event'][_0x217777(0x270)]['on'](CodeceptJS['event'][_0x217777(0x1a5)][_0x217777(0x1b7)],_0x5c714e=>{const _0x1c7013=_0x217777,_0x28ed7c={};_0x28ed7c[_0x1c7013(0x1f5)]=_0x3721c9[_0x1c7013(0x201)],PerformanceTester[_0x1c7013(0x288)](PerformanceHookEvents[_0x1c7013(0x188)],!![],null,_0x28ed7c);try{const _0x181233=_0x5c714e['ctx'][_0x1c7013(0x21a)],_0xd8e377=_0x18bd05[_0x1c7013(0x25a)](TEST_EVENTS[_0x1c7013(0x289)],_0x181233);_0x3721c9[_0x1c7013(0x1b1)](_0xca5888,TEST_EVENTS['HOOK_RUN_FINISHED'],_0xd8e377);const _0x550a7a={};_0x550a7a['hookType']=_0x3721c9[_0x1c7013(0x201)],PerformanceTester[_0x1c7013(0x25f)](PerformanceHookEvents[_0x1c7013(0x188)],!![],null,_0x550a7a);}catch(_0x274387){PerformanceTester[_0x1c7013(0x279)](_0x274387);const _0x4365a6={};_0x4365a6[_0x1c7013(0x1f5)]=_0x3721c9[_0x1c7013(0x201)],PerformanceTester[_0x1c7013(0x25f)](PerformanceHookEvents['SDK_HOOK'],![],_0x274387,_0x4365a6);}}),CodeceptJS['event'][_0x217777(0x270)]['on'](CodeceptJS[_0x217777(0x21f)][_0x217777(0x1a5)][_0x217777(0x25d)],async(_0x4802d8,_0x2a03d3)=>{const _0x13f0be=_0x217777;PerformanceTester[_0x13f0be(0x288)](PerformanceHookEvents['SDK_HOOK']);try{const _0x41e4d8=_0x4802d8[_0x13f0be(0x262)][_0x13f0be(0x21a)],_0x21cee6=_0x18bd05[_0x13f0be(0x25a)](TEST_EVENTS[_0x13f0be(0x289)],_0x41e4d8,_0x2a03d3);_0x3721c9[_0x13f0be(0x23c)](_0xca5888,TEST_EVENTS[_0x13f0be(0x289)],_0x21cee6);const _0xac1cf4={};_0xac1cf4[_0x13f0be(0x1f5)]=_0x3721c9[_0x13f0be(0x189)],PerformanceTester[_0x13f0be(0x288)](PerformanceHookEvents[_0x13f0be(0x188)],!![],null,_0xac1cf4);}catch(_0x88ef0a){PerformanceTester[_0x13f0be(0x279)](_0x88ef0a);const _0x527b3e={};_0x527b3e[_0x13f0be(0x1f5)]=_0x3721c9[_0x13f0be(0x189)],PerformanceTester[_0x13f0be(0x25f)](PerformanceHookEvents[_0x13f0be(0x188)],![],_0x88ef0a,_0x527b3e);}const _0x432607={};_0x432607[_0x13f0be(0x1f5)]=_0x3721c9[_0x13f0be(0x189)],PerformanceTester[_0x13f0be(0x25f)](PerformanceHookEvents[_0x13f0be(0x188)],!![],null,_0x432607);}),CodeceptJS['event'][_0x217777(0x270)]['on'](CodeceptJS[_0x217777(0x21f)][_0x217777(0x21a)][_0x217777(0x205)],_0x4525da=>{const _0x5f0d1e=_0x217777;PerformanceTester['start'](PerformanceHookEvents[_0x5f0d1e(0x188)]);try{globals[_0x5f0d1e(0x22f)](_0x3721c9[_0x5f0d1e(0x1ca)],_0x4525da['title']);_0x3721c9[_0x5f0d1e(0x1a4)](isBrowserstackInfra)&&(_0x41355a&&(global[_0x5f0d1e(0x21d)]={'currentTest':{'name':_0x4525da[_0x5f0d1e(0x18d)],'testInfo':{'titlePath':_0x4525da[_0x5f0d1e(0x248)]()}}}));try{const _0x299731=_0x3721c9['fLVdg'](shouldScanTestForAccessibility,_0x4525da[_0x5f0d1e(0x248)](),!![]);globals[_0x5f0d1e(0x22f)](_0x3721c9[_0x5f0d1e(0x1cc)],_0x299731);}catch(_0x1fabcd){logger[_0x5f0d1e(0x246)](_0x5f0d1e(0x1a8)+util['format'](_0x1fabcd));}const _0x38bf01={};_0x38bf01[_0x5f0d1e(0x1f5)]=_0x3721c9[_0x5f0d1e(0x256)],PerformanceTester[_0x5f0d1e(0x25f)](PerformanceHookEvents[_0x5f0d1e(0x188)],!![],null,_0x38bf01);}catch(_0x5b293c){PerformanceTester['captureError'](_0x5b293c);const _0xa24057={};_0xa24057[_0x5f0d1e(0x1f5)]=_0x3721c9['IHzNP'],PerformanceTester[_0x5f0d1e(0x25f)](PerformanceHookEvents['SDK_HOOK'],![],_0x5b293c,_0xa24057);}}),CodeceptJS[_0x217777(0x21f)]['dispatcher']['on'](CodeceptJS[_0x217777(0x21f)][_0x217777(0x21a)][_0x217777(0x1ef)],_0x246e1a=>{const _0x3ea676=_0x217777,_0x5c4613={'xNBMP':function(_0xe1de5c){const _0x54fa16=a1_0x467d;return _0x3721c9[_0x54fa16(0x1f3)](_0xe1de5c);},'ReCke':function(_0x5e4b16,_0x501628){const _0x3a7e37=a1_0x467d;return _0x3721c9[_0x3a7e37(0x1f0)](_0x5e4b16,_0x501628);},'tvLBC':function(_0x1bb98b,_0x4b400c,_0x1b897a){return _0x3721c9['ppLue'](_0x1bb98b,_0x4b400c,_0x1b897a);}};PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{globals[_0x3ea676(0x22f)](_0x3721c9[_0x3ea676(0x1ca)],_0x246e1a[_0x3ea676(0x18d)]);const _0x521991=_0x18bd05[_0x3ea676(0x25a)](TEST_EVENTS[_0x3ea676(0x227)],_0x246e1a);CodeceptRecorder[_0x3ea676(0x281)](()=>_0x18bd05[_0x3ea676(0x254)]()),CodeceptRecorder[_0x3ea676(0x281)](()=>_0x18bd05[_0x3ea676(0x221)](TEST_EVENTS['TEST_RUN_STARTED'],_0x521991)),CodeceptRecorder[_0x3ea676(0x281)](()=>_0x18bd05['sendCBTInfo'](_0x246e1a['testAnalyticsId'])),CodeceptRecorder[_0x3ea676(0x281)](async()=>{const _0xffb5bb=_0x3ea676;_0x5c4613[_0xffb5bb(0x24e)](isBrowserstackInfra)&&(!_0x5c4613[_0xffb5bb(0x1cd)](isTrue,_0x1c53e6[_0xffb5bb(0x18a)])&&await _0x5c4613[_0xffb5bb(0x21e)](markSessionName,_0x44a286,_0x246e1a[_0xffb5bb(0x18d)]),_0x18bd05[_0xffb5bb(0x212)]&&await _0x5c4613[_0xffb5bb(0x1cd)](o11ySync,_0x44a286));});}catch(_0x3fbe0d){const _0x244b10={};_0x244b10[_0x3ea676(0x1f5)]=_0x3721c9[_0x3ea676(0x204)],PerformanceTester[_0x3ea676(0x25f)](PerformanceHookEvents[_0x3ea676(0x188)],![],_0x3fbe0d,_0x244b10),PerformanceTester[_0x3ea676(0x279)](_0x3fbe0d);}const _0x57b9dc={};_0x57b9dc[_0x3ea676(0x1f5)]=_0x3721c9[_0x3ea676(0x204)],PerformanceTester[_0x3ea676(0x25f)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x57b9dc);}),CodeceptJS['event'][_0x217777(0x270)]['on'](CodeceptJS[_0x217777(0x21f)][_0x217777(0x21a)]['passed'],_0x68f0c9=>{const _0x4044e7=_0x217777;PerformanceTester[_0x4044e7(0x288)](PerformanceHookEvents[_0x4044e7(0x188)]);try{const _0x162aa2=_0x18bd05['captureEvent'](TEST_EVENTS['TEST_RUN_FINISHED'],_0x68f0c9);CodeceptRecorder['add'](()=>_0x18bd05[_0x4044e7(0x221)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x162aa2)),CodeceptRecorder[_0x4044e7(0x281)](async()=>{const _0x48d2a2=_0x4044e7,_0x2aabaa={'aVncG':function(_0x33b7d6,_0x5876f1,_0x186732){const _0x396db8=a1_0x467d;return _0x3721c9[_0x396db8(0x1ce)](_0x33b7d6,_0x5876f1,_0x186732);},'HnHoe':function(_0x45b8d5,_0x53007c,_0x2937e1){const _0x3e51be=a1_0x467d;return _0x3721c9[_0x3e51be(0x23c)](_0x45b8d5,_0x53007c,_0x2937e1);}};_0x3721c9[_0x48d2a2(0x1a4)](isBrowserstackInfra)&&await PerformanceTester[_0x48d2a2(0x222)](PerformanceAutEvents[_0x48d2a2(0x1a9)],async()=>{const _0x4aa783=_0x48d2a2;_0x41355a?await _0x2aabaa[_0x4aa783(0x28f)](playwrightMarkSessionStatus,_0x44a286,STATE_PASSED):await _0x2aabaa['HnHoe'](markSessionStatus,_0x44a286,STATE_PASSED);})();}),PerformanceTester[_0x4044e7(0x25f)](PerformanceEvents[_0x4044e7(0x1dc)]);}catch(_0x29d86c){PerformanceTester['captureError'](_0x29d86c);const _0x29a52e={};_0x29a52e[_0x4044e7(0x1f5)]=_0x3721c9[_0x4044e7(0x1bd)],PerformanceTester['end'](PerformanceHookEvents[_0x4044e7(0x188)],![],_0x29d86c,_0x29a52e),PerformanceTester['end'](PerformanceEvents[_0x4044e7(0x1dc)],![],_0x29d86c);}const _0x1a3819={};_0x1a3819[_0x4044e7(0x1f5)]=_0x3721c9[_0x4044e7(0x1bd)],PerformanceTester[_0x4044e7(0x25f)](PerformanceHookEvents[_0x4044e7(0x188)],!![],null,_0x1a3819);}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x217777(0x21f)][_0x217777(0x21a)][_0x217777(0x25d)],(_0x20367c,_0x2b2ddf)=>{const _0x186b9f=_0x217777,_0x27acce={'rAMlz':function(_0x32c6fc){const _0x210835=a1_0x467d;return _0x3721c9[_0x210835(0x1a4)](_0x32c6fc);},'osyIp':function(_0x190f24,_0x4615f6,_0x32f0b4,_0x542a96){const _0x271e9b=a1_0x467d;return _0x3721c9[_0x271e9b(0x1e0)](_0x190f24,_0x4615f6,_0x32f0b4,_0x542a96);}};PerformanceTester[_0x186b9f(0x288)](PerformanceHookEvents[_0x186b9f(0x188)]);try{if(_0x3721c9['JBJLM'](_0x20367c['constructor'][_0x186b9f(0x267)],_0x3721c9[_0x186b9f(0x26d)])){const _0x295947=_0x18bd05['captureEvent'](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x20367c['ctx']['currentTest']);CodeceptRecorder[_0x186b9f(0x281)](()=>_0x18bd05[_0x186b9f(0x221)](TEST_EVENTS[_0x186b9f(0x249)],_0x295947));}else{const _0x5226a4=_0x18bd05['captureEvent'](TEST_EVENTS[_0x186b9f(0x1c4)],_0x20367c,_0x2b2ddf);CodeceptRecorder['add'](()=>{const _0x3177b0=_0x186b9f;try{_0x18bd05[_0x3177b0(0x221)](TEST_EVENTS[_0x3177b0(0x1c4)],_0x5226a4);}catch(_0x5d201e){logger[_0x3177b0(0x246)]('Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20'+util[_0x3177b0(0x1e9)](_0x5d201e)),PerformanceTester[_0x3177b0(0x25f)](PerformanceEvents[_0x3177b0(0x1dc)],![],_0x5d201e);}}),CodeceptRecorder[_0x186b9f(0x281)](async()=>{const _0x392900=_0x186b9f;try{_0x27acce['rAMlz'](isBrowserstackInfra)&&(_0x41355a?await _0x27acce['osyIp'](playwrightMarkSessionStatus,_0x44a286,STATE_FAILED,_0x2b2ddf):await _0x27acce[_0x392900(0x236)](markSessionStatus,_0x44a286,STATE_FAILED,_0x2b2ddf));}catch(_0x32f2c3){logger[_0x392900(0x246)]('Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20'+util[_0x392900(0x1e9)](_0x32f2c3)),PerformanceTester['end'](PerformanceEvents[_0x392900(0x1dc)],![],_0x32f2c3);}});}PerformanceTester[_0x186b9f(0x25f)](PerformanceEvents[_0x186b9f(0x1dc)]);}catch(_0x11205f){PerformanceTester[_0x186b9f(0x279)](_0x11205f);const _0x707ce3={};_0x707ce3[_0x186b9f(0x1f5)]=_0x3721c9[_0x186b9f(0x273)],PerformanceTester[_0x186b9f(0x25f)](PerformanceHookEvents['SDK_HOOK'],![],_0x11205f,_0x707ce3),PerformanceTester['end'](PerformanceEvents[_0x186b9f(0x1dc)],![],_0x11205f);}const _0x3795fc={};_0x3795fc[_0x186b9f(0x1f5)]=_0x3721c9[_0x186b9f(0x273)],PerformanceTester[_0x186b9f(0x25f)](PerformanceHookEvents[_0x186b9f(0x188)],!![],null,_0x3795fc);}),CodeceptJS[_0x217777(0x21f)][_0x217777(0x270)]['on'](CodeceptJS[_0x217777(0x21f)][_0x217777(0x21a)][_0x217777(0x1c7)],_0x3b7d78=>{const _0x2c8225=_0x217777;PerformanceTester[_0x2c8225(0x288)](PerformanceHookEvents[_0x2c8225(0x188)]);try{const _0x1480c7=_0x18bd05['captureEvent'](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x3b7d78);CodeceptRecorder[_0x2c8225(0x281)](()=>_0x18bd05[_0x2c8225(0x221)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x1480c7)),PerformanceTester[_0x2c8225(0x25f)](PerformanceEvents[_0x2c8225(0x1dc)]);}catch(_0x2fb6ea){PerformanceTester[_0x2c8225(0x279)](_0x2fb6ea),PerformanceTester['end'](PerformanceEvents[_0x2c8225(0x1dc)],![],_0x2fb6ea);const _0x2a4394={};_0x2a4394[_0x2c8225(0x1f5)]=_0x3721c9[_0x2c8225(0x215)],PerformanceTester[_0x2c8225(0x25f)](PerformanceHookEvents['SDK_HOOK'],![],_0x2fb6ea,_0x2a4394);}const _0x428813={};_0x428813[_0x2c8225(0x1f5)]=_0x3721c9[_0x2c8225(0x215)],PerformanceTester[_0x2c8225(0x25f)](PerformanceHookEvents[_0x2c8225(0x188)],!![],null,_0x428813);}),CodeceptJS[_0x217777(0x21f)][_0x217777(0x270)]['on'](CodeceptJS[_0x217777(0x21f)][_0x217777(0x21a)][_0x217777(0x269)],async(_0x57d144,_0x5bcf6b)=>{const _0x7142a3=_0x217777;try{PerformanceTester[_0x7142a3(0x288)](PerformanceHookEvents[_0x7142a3(0x188)]);const _0x3f50d7=_0x3721c9[_0x7142a3(0x1ce)](shouldScanTestForAccessibility,_0x57d144[_0x7142a3(0x248)](),!![]);if(_0x3721c9[_0x7142a3(0x1f3)](isAccessibilityAutomationSession)&&global[_0x7142a3(0x1ea)]&&_0x3f50d7){const _0x679fb5={};_0x679fb5[_0x7142a3(0x290)]=_0x57d144[_0x7142a3(0x209)],_0x679fb5[_0x7142a3(0x217)]=process[_0x7142a3(0x1f9)][testHubConstants[_0x7142a3(0x244)][_0x7142a3(0x28e)]],_0x679fb5['thJwtToken']=process[_0x7142a3(0x1f9)][testHubConstants[_0x7142a3(0x244)]['BROWSERSTACK_TESTHUB_JWT']];const _0x430b75=_0x679fb5;logger['debug']('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x7142a3(0x1b8)](_0x430b75)),CodeceptRecorder['add'](async()=>{await accessibilityRetryHelper['performScanWithRetry'](_0x44a286,_0x57d144['title']),await accessibilityRetryHelper['saveAccessibilityResultsWithRetry'](_0x44a286,_0x430b75);}),logger[_0x7142a3(0x225)](_0x3721c9['FkxHO']);}const _0x518bc6={};_0x518bc6[_0x7142a3(0x1f5)]=_0x3721c9[_0x7142a3(0x1f6)],PerformanceTester['end'](PerformanceHookEvents[_0x7142a3(0x188)],!![],null,_0x518bc6);}catch(_0x3c2851){PerformanceTester[_0x7142a3(0x279)](_0x3c2851);const _0xe93f2d={};_0xe93f2d[_0x7142a3(0x1f5)]=_0x3721c9[_0x7142a3(0x1f6)],PerformanceTester['end'](PerformanceHookEvents[_0x7142a3(0x188)],![],_0x3c2851,_0xe93f2d);}}),CodeceptJS['event'][_0x217777(0x270)]['on'](CodeceptJS[_0x217777(0x21f)][_0x217777(0x27b)]['comment'],_0x56b5f0=>{const _0x2f7f37=_0x217777;PerformanceTester[_0x2f7f37(0x288)](PerformanceHookEvents[_0x2f7f37(0x188)]);try{process[_0x2f7f37(0x200)](_0x2f7f37(0x1d8)+process['pid'],{'timestamp':new Date()[_0x2f7f37(0x1bf)](),'level':_0x3721c9[_0x2f7f37(0x237)],'message':_0x56b5f0,'kind':_0x3721c9[_0x2f7f37(0x26f)],'http_response':{}});}catch(_0x40489a){PerformanceTester[_0x2f7f37(0x279)](_0x40489a);const _0x462289={};_0x462289['hookType']=_0x3721c9['XrSug'],PerformanceTester[_0x2f7f37(0x25f)](PerformanceHookEvents[_0x2f7f37(0x188)],![],_0x40489a,_0x462289);}const _0x40533b={};_0x40533b[_0x2f7f37(0x1f5)]=_0x3721c9[_0x2f7f37(0x1e8)],PerformanceTester['end'](PerformanceHookEvents[_0x2f7f37(0x188)],!![],null,_0x40533b);}),CodeceptJS[_0x217777(0x21f)]['dispatcher']['on'](CodeceptJS[_0x217777(0x21f)][_0x217777(0x228)][_0x217777(0x205)],_0x6bed38=>{const _0x38ee49=_0x217777,_0x5a586a={};_0x5a586a[_0x38ee49(0x1f5)]=_0x3721c9[_0x38ee49(0x28c)],PerformanceTester[_0x38ee49(0x222)](PerformanceHookEvents['SDK_HOOK'],()=>{const _0x4e0db7=_0x38ee49;_0x18bd05[_0x4e0db7(0x210)](_0x6bed38);},_0x5a586a)();}),CodeceptJS[_0x217777(0x21f)][_0x217777(0x270)]['on'](CodeceptJS['event'][_0x217777(0x228)]['after'],_0x5cf4f6=>{const _0x327f0b=_0x217777,_0x101312={};_0x101312[_0x327f0b(0x1f5)]=_0x3721c9['PpGms'],PerformanceTester[_0x327f0b(0x222)](PerformanceHookEvents[_0x327f0b(0x188)],()=>{const _0x987542=_0x327f0b;_0x18bd05[_0x987542(0x261)](_0x5cf4f6);},_0x101312)();});};
|
|
1
|
+
const a1_0x12a338=a1_0x323e;(function(_0x259f48,_0x3a6a50){const _0x480663=a1_0x323e,_0x44a784=_0x259f48();while(!![]){try{const _0x1790ff=-parseInt(_0x480663(0x184))/0x1*(parseInt(_0x480663(0x1df))/0x2)+-parseInt(_0x480663(0x1b9))/0x3+parseInt(_0x480663(0x1ca))/0x4*(-parseInt(_0x480663(0x1e4))/0x5)+-parseInt(_0x480663(0xf2))/0x6*(-parseInt(_0x480663(0x13a))/0x7)+-parseInt(_0x480663(0x1d6))/0x8+parseInt(_0x480663(0x164))/0x9+parseInt(_0x480663(0x1d9))/0xa;if(_0x1790ff===_0x3a6a50)break;else _0x44a784['push'](_0x44a784['shift']());}catch(_0x3e2a89){_0x44a784['push'](_0x44a784['shift']());}}}(a1_0xc125,0xbb8d6));const fs=require('fs'),util=require(a1_0x12a338(0x1a7)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x12a338(0x17b)),logger=require('../../helpers/logger')[a1_0x12a338(0x179)],testOpsHelper=require('../../helpers/test-observability/utils'),requestSpy=require(a1_0x12a338(0xff)),PlaywrightSessionDetails=require(a1_0x12a338(0x15d)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x12a338(0x1bf)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x12a338(0xfa)),AccessibilityHelper=require(a1_0x12a338(0x11d)),accessibilityRetryHelper=require(a1_0x12a338(0x1b4)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require('../../helpers/performance/performance-tester'),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require('../../helpers/performance/constants'),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x12a338(0x152)),testHubConstants=require(a1_0x12a338(0x1e1)),globals=require(a1_0x12a338(0x1c1)),interopDefault=_0xacc460=>_0xacc460&&_0xacc460[a1_0x12a338(0x172)]!==undefined?_0xacc460[a1_0x12a338(0x172)]:_0xacc460,CodeceptJS=requireModule(a1_0x12a338(0x1ad),a1_0x12a338(0x1cb)),CodeceptUtils=requireModule('codeceptjs/lib/utils.js',a1_0x12a338(0x1cb)),CodeceptWebDriver=interopDefault(requireModule(a1_0x12a338(0x109),'codeceptjs')),CodeceptRecorder=interopDefault(requireModule(a1_0x12a338(0x127),'codeceptjs')),CodeceptPlaywright=interopDefault(requireModule('codeceptjs/lib/helper/Playwright.js',a1_0x12a338(0x1cb)));try{require('../../helpers/driverInitErrorReporter')['installAll'](a1_0x12a338(0x1cb));}catch(a1_0x646128){logger[a1_0x12a338(0x12e)]('driver-init\x20capture\x20install\x20failed:\x20'+(a1_0x646128&&a1_0x646128[a1_0x12a338(0x12b)]));}const playwrightMarkSessionStatus=(_0x16aae0,_0x22f436,_0x165dee)=>{const _0x1f919c=a1_0x12a338,_0x113c4b={'DShHI':_0x1f919c(0xe1),'PnMrc':function(_0x27fba4,_0x12327f){return _0x27fba4(_0x12327f);}},_0x31a7ab={};_0x31a7ab['status']=_0x22f436;const _0x3041ae={};_0x3041ae[_0x1f919c(0x1b5)]=_0x113c4b[_0x1f919c(0x1cc)],_0x3041ae['arguments']=_0x31a7ab;const _0x5d227e=_0x3041ae;return!_0x113c4b[_0x1f919c(0x118)](isUndefined,_0x165dee)&&(_0x5d227e[_0x1f919c(0x1b1)][_0x1f919c(0x1a3)]=JSON[_0x1f919c(0x131)](_0x165dee)),_0x16aae0[_0x1f919c(0x178)](()=>{},_0x1f919c(0x1a1)+JSON[_0x1f919c(0x131)](_0x5d227e));},o11ySync=PerformanceTester[a1_0x12a338(0xf7)](PerformanceO11yEvents[a1_0x12a338(0x1bd)],async _0x42351f=>{const _0x5104c9=a1_0x12a338,_0x3916cf={};_0x3916cf[_0x5104c9(0x133)]=function(_0x524333,_0x21a71a){return _0x524333===_0x21a71a;},_0x3916cf[_0x5104c9(0x1dc)]='Playwright';const _0x4edf24=_0x3916cf;_0x4edf24[_0x5104c9(0x133)](_0x42351f[_0x5104c9(0x110)][_0x5104c9(0x1aa)],_0x4edf24['azOMP'])?await _0x42351f['executeScript'](_0x56a815=>{},testOpsHelper[_0x5104c9(0x12f)]()):await _0x42351f[_0x5104c9(0x178)](testOpsHelper[_0x5104c9(0x12f)]());}),markSessionName=PerformanceTester[a1_0x12a338(0xf7)](PerformanceAutEvents[a1_0x12a338(0xfd)],async(_0x4ff189,_0x31d2a8)=>{const _0x3144aa=a1_0x12a338,_0x596205={};_0x596205[_0x3144aa(0x149)]=_0x3144aa(0x136),_0x596205[_0x3144aa(0x13e)]=function(_0x5acf16,_0x145adb){return _0x5acf16===_0x145adb;},_0x596205[_0x3144aa(0x1a4)]=_0x3144aa(0x100);const _0x1988a1=_0x596205,_0x5d4e34={};_0x5d4e34[_0x3144aa(0x1aa)]=_0x31d2a8;const _0x336a1e={};_0x336a1e[_0x3144aa(0x1b5)]=_0x1988a1[_0x3144aa(0x149)],_0x336a1e[_0x3144aa(0x1b1)]=_0x5d4e34;const _0x58a079=_0x336a1e;_0x1988a1[_0x3144aa(0x13e)](_0x4ff189['constructor'][_0x3144aa(0x1aa)],_0x1988a1[_0x3144aa(0x1a4)])?await _0x4ff189[_0x3144aa(0x178)](()=>{},_0x3144aa(0x1a1)+JSON[_0x3144aa(0x131)](_0x58a079)):await _0x4ff189[_0x3144aa(0x178)]('browserstack_executor:\x20'+JSON[_0x3144aa(0x131)](_0x58a079));}),patchSaveScreenshot=_0x209704=>{const _0xa953c2=a1_0x12a338,_0x59a3a0={'xHGhj':_0xa953c2(0xe5),'CEWSl':_0xa953c2(0xf0),'vJiwX':function(_0x11441a){return _0x11441a();},'gclBF':function(_0x4446e5,_0x297e72){return _0x4446e5(_0x297e72);},'IFhmZ':_0xa953c2(0x116),'rbjtj':function(_0x14d1c7,_0xc78875){return _0x14d1c7(_0xc78875);}};_0x59a3a0[_0xa953c2(0xe3)](isTrue,process[_0xa953c2(0x170)][_0xa953c2(0x1bc)])&&!_0x209704[_0xa953c2(0x1db)]&&(_0x209704[_0xa953c2(0x1db)]=!![],_0x209704['initSaveScreenshot']=_0x209704[_0xa953c2(0xef)],_0x209704[_0xa953c2(0xef)]=(_0x543517,_0x349d84=![])=>{const _0x30a401=_0xa953c2,_0x61b098={'FvsKj':_0x59a3a0['xHGhj'],'UHnQF':_0x59a3a0[_0x30a401(0x188)],'jstkc':function(_0x46b1ba){return _0x59a3a0['vJiwX'](_0x46b1ba);},'UHGRU':function(_0x395942,_0x1b6216){const _0x142808=_0x30a401;return _0x59a3a0[_0x142808(0x1be)](_0x395942,_0x1b6216);},'LzHLv':_0x59a3a0[_0x30a401(0x1ab)]};return new Promise(function(_0x4de07b,_0x4a9970){const _0x3daa12=_0x30a401,_0x246f5b={'AvCTp':_0x61b098[_0x3daa12(0x195)],'QweVd':_0x61b098['UHnQF'],'oxIQJ':function(_0x359831){const _0x16f31d=_0x3daa12;return _0x61b098[_0x16f31d(0x1d1)](_0x359831);},'gFpFn':function(_0x49a0b9,_0x367a2d){const _0x56c56d=_0x3daa12;return _0x61b098[_0x56c56d(0x10d)](_0x49a0b9,_0x367a2d);},'JpHDu':_0x61b098[_0x3daa12(0x181)]};_0x209704[_0x3daa12(0x10c)](_0x543517,_0x349d84)[_0x3daa12(0x15a)](()=>{const _0x37915e=_0x3daa12,_0x3facb1=CodeceptUtils[_0x37915e(0x180)](_0x543517);if(_0x3facb1){const _0x1bd8ed=fs[_0x37915e(0x14c)](_0x3facb1);process[_0x37915e(0x148)](_0x37915e(0x19f)+process['pid'],{'timestamp':new Date()[_0x37915e(0xe9)](),'message':_0x1bd8ed['toString'](_0x246f5b[_0x37915e(0xe7)]),'kind':_0x246f5b[_0x37915e(0x107)]}),_0x246f5b['oxIQJ'](_0x4de07b);}_0x246f5b['gFpFn'](_0x4a9970,new Error(_0x246f5b['JpHDu']));})[_0x3daa12(0x1d2)](()=>null);});});},patchWebDriverBefore=(_0x486f70,_0x67c6ab)=>{const _0x41dc14=a1_0x12a338,_0x4eef0a={'kNlRr':function(_0x48cd4f){return _0x48cd4f();},'sKnOw':function(_0x35116b,_0x5d1b67){return _0x35116b(_0x5d1b67);},'BEOeE':function(_0x3ada2a,_0x212a45){return _0x3ada2a===_0x212a45;},'HqSAs':_0x41dc14(0xed),'JRbkf':function(_0x4ff55b,_0x373dfd){return _0x4ff55b===_0x373dfd;},'YyDQv':'string','rlcwV':function(_0x5d1d0c,_0x1f55a7){return _0x5d1d0c===_0x1f55a7;},'grghm':'Element','QbtNe':function(_0x43e4f2,_0x4c8125){return _0x43e4f2===_0x4c8125;},'TNaiR':_0x41dc14(0x18a)},_0x2d4e08=async function(_0x265c1b,_0x4a1bd1){const _0x4c15d2=_0x41dc14;_0x4eef0a[_0x4c15d2(0x174)](isAccessibilityAutomationSession)&&!global[_0x4c15d2(0x122)]&&global[_0x4c15d2(0x146)]&&scripts['shouldWrapCommand'](_0x265c1b['name'])&&_0x4eef0a[_0x4c15d2(0x176)](shouldPatchExecuteScript,arguments[0x2])&&(global['bstackAllyScanning']=!![],await PerformanceTester[_0x4c15d2(0xf7)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x529056=_0x4c15d2;logger[_0x529056(0x12e)](_0x529056(0x16c)+_0x265c1b[_0x529056(0x182)]+'\x20'+_0x265c1b[_0x529056(0x1aa)]),await AccessibilityHelper[_0x529056(0x112)](_0x486f70,scripts[_0x529056(0xf3)]);},{'command':_0x265c1b[_0x4c15d2(0x1aa)]})());global['bstackAllyScanning']=![];const _0x591cf5=JSON[_0x4c15d2(0xfe)](process[_0x4c15d2(0x170)][_0x4c15d2(0x1a6)]||'{}');if(_0x4eef0a[_0x4c15d2(0x126)](_0x591cf5?.[_0x4c15d2(0x185)]?.['name'],_0x4eef0a[_0x4c15d2(0x1a0)])&&_0x4eef0a['JRbkf'](typeof _0x591cf5?.['testFramework']?.['version'],_0x4eef0a[_0x4c15d2(0xe4)])&&_0x591cf5?.['testFramework']?.['version']['startsWith']('7'))return _0x4a1bd1[_0x4c15d2(0x155)](null,Array[_0x4c15d2(0x194)][_0x4c15d2(0xde)][_0x4c15d2(0x1c7)](arguments,0x2));return _0x4a1bd1[_0x4c15d2(0x155)](this,Array['prototype'][_0x4c15d2(0xde)][_0x4c15d2(0x1c7)](arguments,0x2));},_0x2b6b54=CodeceptWebDriver['prototype'][_0x41dc14(0x113)];CodeceptWebDriver[_0x41dc14(0x194)][_0x41dc14(0x113)]=async function(){const _0xb2adbb=_0x41dc14;try{await _0x2b6b54[_0xb2adbb(0x155)](this,arguments);}catch(_0x154942){logger['debug'](_0xb2adbb(0x119)+util[_0xb2adbb(0x145)](_0x154942));}(scripts[_0xb2adbb(0x1d5)]||[])[_0xb2adbb(0x1e5)](_0x3871d8=>_0x3871d8[_0xb2adbb(0x1aa)]&&_0x3871d8[_0xb2adbb(0x182)])[_0xb2adbb(0x159)](_0x9a45fb=>{const _0x2de263=_0xb2adbb;this[_0x2de263(0x1cf)]['overwriteCommand'](_0x9a45fb[_0x2de263(0x1aa)],_0x2d4e08[_0x2de263(0x115)](this,_0x9a45fb),_0x4eef0a['rlcwV'](_0x9a45fb[_0x2de263(0x182)],_0x4eef0a[_0x2de263(0x17a)]));}),_0x4eef0a[_0xb2adbb(0x176)](processWebDriverConfig,_0x486f70);try{_0x67c6ab&&_0x4eef0a[_0xb2adbb(0x157)](typeof _0x67c6ab[_0xb2adbb(0x147)],_0x4eef0a[_0xb2adbb(0x124)])&&await _0x67c6ab['flushPendingHookEvents']();}catch(_0x9b76c1){logger[_0xb2adbb(0x12e)]('Failed\x20to\x20flush\x20pending\x20hook\x20events\x20after\x20_before:\x20'+util[_0xb2adbb(0x145)](_0x9b76c1));}};};function a1_0x323e(_0x173bfd,_0x530abf){const _0xc12548=a1_0xc125();return a1_0x323e=function(_0x323e63,_0xe69a0a){_0x323e63=_0x323e63-0xdc;let _0x2e4b73=_0xc12548[_0x323e63];return _0x2e4b73;},a1_0x323e(_0x173bfd,_0x530abf);}function parseJwt(_0x558b7c){const _0x2877ed=a1_0x12a338,_0x12c078={};_0x12c078[_0x2877ed(0x143)]=_0x2877ed(0xe5);const _0x337457=_0x12c078;if(!_0x558b7c)return null;return JSON[_0x2877ed(0xfe)](Buffer[_0x2877ed(0x151)](_0x558b7c[_0x2877ed(0x1d0)]('.')[0x1],_0x337457['twKDP'])[_0x2877ed(0x171)]());}const patchPlaywrightBefore=_0x4ec4ad=>{const _0x2f76c3=a1_0x12a338,_0x49711f={'nOVTV':function(_0x320389){return _0x320389();},'VCyMg':_0x2f76c3(0x11b),'BKXrd':_0x2f76c3(0x1d4),'JHaSu':function(_0x5f2ce5,_0x337085){return _0x5f2ce5(_0x337085);},'SEJWV':function(_0x1d1cf5,_0x3df0f8){return _0x1d1cf5+_0x3df0f8;},'glXcA':_0x2f76c3(0x19e),'mNNxW':function(_0x4b351a){return _0x4b351a();},'FTJnJ':function(_0x5427cf){return _0x5427cf();},'vquHR':function(_0x5d015f,_0x2fbdbe){return _0x5d015f===_0x2fbdbe;},'xZmRI':_0x2f76c3(0x18a)};PlaywrightSessionDetails[_0x2f76c3(0x199)]();const _0x233598=CodeceptPlaywright[_0x2f76c3(0x194)][_0x2f76c3(0x113)];CodeceptPlaywright[_0x2f76c3(0x194)][_0x2f76c3(0x113)]=async function(){const _0x993f25=_0x2f76c3,_0x14cf1b={'dNXGQ':function(_0xa7c8c3){const _0x404f18=a1_0x323e;return _0x49711f[_0x404f18(0xf8)](_0xa7c8c3);},'XrXpp':_0x49711f['VCyMg'],'TQoIi':_0x49711f[_0x993f25(0x1af)],'MSHmL':function(_0x382e24,_0x1d956a){return _0x49711f['JHaSu'](_0x382e24,_0x1d956a);},'TlydY':function(_0x43ef3f,_0x4b7d5f){const _0x331c54=_0x993f25;return _0x49711f[_0x331c54(0x111)](_0x43ef3f,_0x4b7d5f);},'dpmIW':_0x49711f[_0x993f25(0x18f)]};this[_0x993f25(0x1da)]=await this[_0x993f25(0x1cf)][_0x993f25(0xee)]()[0x0];const _0x239519=async()=>{const _0x24cae1=_0x993f25,_0x1c2cdb={'Pfibm':function(_0x332a24){const _0x4b93ca=a1_0x323e;return _0x14cf1b[_0x4b93ca(0x15e)](_0x332a24);},'hEQgH':_0x14cf1b[_0x24cae1(0x16e)]},_0x5bbf87=this['config']&&this[_0x24cae1(0x141)][_0x24cae1(0x193)]&&this[_0x24cae1(0x141)][_0x24cae1(0x193)][_0x24cae1(0x13c)]&&Array[_0x24cae1(0x18e)](this[_0x24cae1(0x141)][_0x24cae1(0x193)]['args'])&&this[_0x24cae1(0x141)][_0x24cae1(0x193)]['args']['includes'](_0x14cf1b['TQoIi']);if(_0x14cf1b[_0x24cae1(0x15e)](isAccessibilityAutomationSession)&&!_0x5bbf87)try{const _0xae466e=_0x14cf1b[_0x24cae1(0x13b)](parseJwt,process[_0x24cae1(0x170)]['BS_A11Y_JWT']);if(_0xae466e&&_0xae466e[_0x24cae1(0x105)]&&_0xae466e['a11y_core_config'][_0x24cae1(0x1a9)]){const _0x22bc8e=this[_0x24cae1(0x1da)][_0x24cae1(0x1e2)]['bind'](this[_0x24cae1(0x1da)]);this[_0x24cae1(0x1da)][_0x24cae1(0x1e2)]=async function(){const _0x133c47=_0x24cae1,_0x4ea116=await _0x1c2cdb[_0x133c47(0x19d)](_0x22bc8e),_0x3dcb76=[];for(const _0x5e290f of _0x4ea116){try{const _0x3213d=await _0x5e290f[_0x133c47(0x18c)]();!_0x3213d[_0x133c47(0x18d)](_0x1c2cdb[_0x133c47(0xe0)])&&_0x3dcb76['push'](_0x5e290f);}catch(_0xfe4c36){_0x3dcb76[_0x133c47(0x1c0)](_0x5e290f);}}return _0x3dcb76;};}if(!_0x14cf1b['dNXGQ'](isBrowserstackInfra)){const _0xe8d033=await this['page'][_0x24cae1(0x18c)]();if(_0xe8d033[_0x24cae1(0x18d)](_0x14cf1b[_0x24cae1(0x16e)])){const _0x17743f=await this[_0x24cae1(0x1da)]['pages']();this[_0x24cae1(0x15b)](_0x17743f[0x0]);}}}catch(_0x14c747){logger['debug']('Failed\x20to\x20patch\x20pages\x20method\x20in\x20browserContext\x20for\x20a11y\x20domForge:\x20'+_0x14c747[_0x24cae1(0x12b)]+(_0x14c747[_0x24cae1(0x10a)]?_0x14cf1b['TlydY'](_0x14cf1b[_0x24cae1(0x132)],_0x14c747[_0x24cae1(0x10a)]):''));}};_0x49711f['mNNxW'](isBrowserstackInfra)&&await _0x49711f[_0x993f25(0xf8)](_0x239519);await _0x233598[_0x993f25(0x155)](this,arguments);!_0x49711f['FTJnJ'](isBrowserstackInfra)&&await _0x49711f[_0x993f25(0xdf)](_0x239519);try{_0x4ec4ad&&_0x49711f['vquHR'](typeof _0x4ec4ad['flushPendingHookEvents'],_0x49711f[_0x993f25(0x139)])&&await _0x4ec4ad[_0x993f25(0x147)]();}catch(_0x3dcce5){logger[_0x993f25(0x12e)](_0x993f25(0x1d7)+util[_0x993f25(0x145)](_0x3dcce5));}};},getCodeceptDriver=()=>{const _0xbae6ad=a1_0x12a338,_0x1d5d4e={};_0x1d5d4e[_0xbae6ad(0x175)]=_0xbae6ad(0x1e0),_0x1d5d4e[_0xbae6ad(0x1dd)]=_0xbae6ad(0x100),_0x1d5d4e[_0xbae6ad(0x189)]=_0xbae6ad(0x1a2),_0x1d5d4e[_0xbae6ad(0x1ae)]=_0xbae6ad(0xec);const _0x2fc5b7=_0x1d5d4e,_0x38b14b=[_0x2fc5b7[_0xbae6ad(0x175)],_0x2fc5b7[_0xbae6ad(0x1dd)],_0x2fc5b7[_0xbae6ad(0x189)],_0x2fc5b7[_0xbae6ad(0x1ae)]],_0x253e10=_0x38b14b[_0xbae6ad(0x11e)](_0x3e8304=>!!CodeceptJS[_0xbae6ad(0xfb)]['helpers'](_0x3e8304));if(!_0x253e10)return null;return CodeceptJS[_0xbae6ad(0xfb)][_0xbae6ad(0x1ba)](_0x253e10);};function a1_0xc125(){const _0x4e3c89=['name','IFhmZ','tPlGw','codeceptjs/lib/index.js','VOjUR','BKXrd','skipSessionName','arguments','exports','xBNpg','../../helpers/accessibility-automation/accessibilityRetryHelper','action','qLGMW','captureEvent','yndiW','1664643axRuKk','helpers','jqKUZ','BS_TESTOPS_ALLOW_SCREENSHOTS','SYNC','gclBF','./o11yHelper','push','../../helpers/globals.js','TEST_RUN_FINISHED','addRequestSpy','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','skipped','saveAccessibilityResultsWithRetry','call','BROWSERSTACK_TESTHUB_UUID','PERFORM_SCAN','4rISLGX','codeceptjs','DShHI','sendCBTInfo','enabled','browser','split','jstkc','catch','mWLOt','--auto-open-devtools-for-tabs','commandsToWrap','2377608paIdGC','Failed\x20to\x20flush\x20pending\x20hook\x20events\x20after\x20Playwright\x20_before:\x20','all','16443360KEzIAk','browserContext','patchSaveScreenshot','azOMP','kPWdo','step','13644kAVUcl','WebDriver','../../helpers/testhub/constants.js','pages','test-passed','776155FEspMX','filter','passed','warn','ctx','slice','mNNxW','hEQgH','setSessionStatus','add','rbjtj','YyDQv','base64','hook-failed','AvCTp','bddStepFinish','toISOString','NyiCI','startMonitoring','TestCafe','webdriverio','contexts','saveScreenshot','TEST_SCREENSHOT','OAEmD','63618XEpIHK','performScan','TEST_RUN_STARTED','thGJb','KPShS','measureWrapper','nOVTV','hook-passed','../../helpers/accessibility-automation/helper','container','SDK_HOOK','SESSION_NAME','parse','../../helpers/request-spy','Playwright','step-comment','rEhWK','fXFiN','thTestRunUuid','a11y_core_config','ThTet','QweVd','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','codeceptjs/lib/helper/WebDriver.js','stack','end','initSaveScreenshot','UHGRU','HOOK_RUN_FINISHED','YBqOr','constructor','SEJWV','browserStackExecuteDriver','_before','dqoVo','bind','Screenshot\x20path\x20not\x20found','start','PnMrc','Failed\x20to\x20execute\x20_before:\x20','xLFCR','devtools://','event','../../bin/playwright/accessibility-helper','find','INFO','pzEtX','uymqe','bstackAllyScanning','hook-started','TNaiR','dispatcher','BEOeE','codeceptjs/lib/recorder.js','after','skipSessionStatus','HOOK_RUN_STARTED','message','setGlobal','fireEvent','debug','getSyncScript','test-skipped','stringify','dpmIW','erkZh','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','getAccessibilityResults','setSessionName','title','hYRAG','xZmRI','161kQmnCh','MSHmL','args','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','JJRFG','ENV_VAR','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','config','command','twKDP','getResults','format','accessibilityPlatform','flushPendingHookEvents','emit','JYRBN','test','hookType','readFileSync','vIdqa','SDK_PRE_TEST','mYUbi','iMJxw','from','./helper.js','bddStep','RsvWg','apply','bstackA11yShouldScan','QbtNe','qIvpc','forEach','then','_setPage','lXJhU','../../bin/playwright/sessionDetails','dNXGQ','BROWSERSTACK_TESTHUB_JWT','captureError','vIDCf','bddStepStart','jrSuz','1994400UsrElQ','UtcpQ','TEST_LOG','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','SDK_POST_TEST','hook','WuVYR','odqGP','Performing\x20scan\x20for\x20','test-after','XrXpp','pid','env','toString','default','QCpkE','kNlRr','cDFmj','sKnOw','TEST_RUN_SKIPPED','executeScript','winstonLogger','grghm','../../helpers/helper','failed','SESSION_STATUS','thBuildUuid','__skipSessionStatus','screenshotOutputFolder','LzHLv','class','GET_RESULTS','49OTcaAX','testFramework','performScanWithRetry','JTzwb','CEWSl','xNgYj','function','test-started','url','startsWith','isArray','glXcA','titlePath','RBbeV','hasLiveDriverSession','chromium','prototype','FvsKj','stopMonitoring','tHJqe','stop','patch','thJwtToken','testAnalyticsId','currentTest','Pfibm','\x0aStack:\x20','bs:addLog:','HqSAs','browserstack_executor:\x20','Puppeteer','reason','lyDoQ','before','FRAMEWORK_DETAILS','util','SDK_TEST','domForge'];a1_0xc125=function(){return _0x4e3c89;};return a1_0xc125();}module[a1_0x12a338(0x1b2)]=function(_0x43aa02){const _0x573f0f=a1_0x12a338,_0x10e315={'vIDCf':function(_0x30a4f4,_0x38fc0d){return _0x30a4f4(_0x38fc0d);},'odqGP':function(_0x36c9ed,_0x3996e7,_0x3399c1){return _0x36c9ed(_0x3996e7,_0x3399c1);},'YBqOr':'getAccessibilityResultsSummary','jrSuz':_0x573f0f(0x1c4),'JTzwb':_0x573f0f(0x135),'yNoYs':_0x573f0f(0x140),'jqKUZ':function(_0x186ca5,_0xd9720e){return _0x186ca5(_0xd9720e);},'WuVYR':_0x573f0f(0x123),'QCpkE':_0x573f0f(0xf9),'RBbeV':function(_0x16eba9,_0x11f7cf,_0x27a0b6){return _0x16eba9(_0x11f7cf,_0x27a0b6);},'qLGMW':_0x573f0f(0xe6),'NyiCI':'browserstackTestName','RsvWg':function(_0x14415f){return _0x14415f();},'OAEmD':function(_0x4f2324,_0x4c03a1,_0x4889e2){return _0x4f2324(_0x4c03a1,_0x4889e2);},'NkAOc':_0x573f0f(0x156),'dqoVo':'test-before','fXFiN':function(_0x4cc8f3){return _0x4cc8f3();},'RiFon':function(_0x502a12,_0x291521,_0x12a774){return _0x502a12(_0x291521,_0x12a774);},'iMJxw':_0x573f0f(0x18b),'NgnWI':function(_0x443e71){return _0x443e71();},'thGJb':_0x573f0f(0x1e3),'pzEtX':function(_0x21ace5){return _0x21ace5();},'ThTet':function(_0x43dcef,_0x18adc4,_0x246472,_0xd38c0c){return _0x43dcef(_0x18adc4,_0x246472,_0xd38c0c);},'mWLOt':function(_0xb5ca19,_0x5b3ac2){return _0xb5ca19===_0x5b3ac2;},'yndiW':'Suite','xLFCR':'test-failed','hYRAG':_0x573f0f(0x130),'rEhWK':function(_0x2da9dc,_0x3ba59a,_0x448a94){return _0x2da9dc(_0x3ba59a,_0x448a94);},'vIdqa':_0x573f0f(0x134),'xBNpg':_0x573f0f(0x16d),'KPShS':_0x573f0f(0x11f),'tPlGw':_0x573f0f(0x166),'tHJqe':_0x573f0f(0x101),'mYUbi':'bddStep-before','SrZeh':'bddStep-after','UtcpQ':_0x573f0f(0x100)};_0x43aa02[_0x573f0f(0x129)]&&(global[_0x573f0f(0x17f)]=_0x43aa02[_0x573f0f(0x129)]);PerformanceTester[_0x573f0f(0xeb)]();const _0x15e164=_0x10e315[_0x573f0f(0x154)](getCodeceptDriver),_0x15cc8d=new O11yHelper(_0x15e164,_0x43aa02),_0x331117=!!CodeceptJS[_0x573f0f(0xfb)][_0x573f0f(0x1ba)](_0x10e315[_0x573f0f(0x165)]);global['__driver']=_0x15e164;_0x15e164&&(PerformanceTester[_0x573f0f(0xf7)](PerformanceEvents['SDK_PRE_INITIALIZE'],()=>{const _0x158d15=_0x573f0f;_0x331117?_0x10e315[_0x158d15(0x161)](patchPlaywrightBefore,_0x15cc8d):_0x10e315[_0x158d15(0x16b)](patchWebDriverBefore,_0x15e164,_0x15cc8d);})(),PerformanceTester[_0x573f0f(0xf7)](PerformanceEvents['SDK_POST_INITIALIZE'],()=>{const _0x1817f1=_0x573f0f,_0x136269={};_0x136269[_0x1817f1(0x15c)]=_0x10e315[_0x1817f1(0x187)],_0x136269[_0x1817f1(0x121)]=_0x10e315['yNoYs'];const _0x437474=_0x136269;_0x15e164['getAccessibilityResultsSummary']=async()=>{const _0x5ecd52=_0x1817f1;if(global[_0x5ecd52(0x146)]){const _0x1e8258={};return _0x1e8258[_0x5ecd52(0x142)]=_0x10e315[_0x5ecd52(0x10f)],await PerformanceTester[_0x5ecd52(0xf7)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{return await AccessibilityHelper['browserStackExecuteDriver'](_0x15e164,scripts['performScan']);},_0x1e8258)(),await PerformanceTester[_0x5ecd52(0xf7)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{return await AccessibilityHelper['browserStackExecuteDriver'](_0x15e164,scripts['getResultsSummary']);})();}return logger[_0x5ecd52(0xdc)](_0x10e315[_0x5ecd52(0x163)]),{};},_0x15e164[_0x1817f1(0x135)]=async()=>{const _0x1dc5d6=_0x1817f1;if(global['accessibilityPlatform']){const _0x50ea7e={};return _0x50ea7e[_0x1dc5d6(0x142)]=_0x437474[_0x1dc5d6(0x15c)],await PerformanceTester[_0x1dc5d6(0xf7)](PerformanceA11yEvents[_0x1dc5d6(0x1c9)],async()=>{const _0x4f31e6=_0x1dc5d6;return await AccessibilityHelper[_0x4f31e6(0x112)](_0x15e164,scripts[_0x4f31e6(0xf3)]);},_0x50ea7e)(),await PerformanceTester[_0x1dc5d6(0xf7)](PerformanceA11yEvents[_0x1dc5d6(0x183)],async()=>{const _0x41555a=_0x1dc5d6;return await AccessibilityHelper[_0x41555a(0x112)](_0x15e164,scripts[_0x41555a(0x144)]);})();}return logger[_0x1dc5d6(0xdc)](_0x437474[_0x1dc5d6(0x121)]),{};},_0x10e315[_0x1817f1(0x1bb)](patchSaveScreenshot,_0x15e164);})());CodeceptJS[_0x573f0f(0x11c)][_0x573f0f(0x125)]['on'](CodeceptJS[_0x573f0f(0x11c)]['all'][_0x573f0f(0x1a5)],()=>{const _0x17531f=_0x573f0f;PerformanceTester[_0x17531f(0x117)](PerformanceEvents[_0x17531f(0x14e)]);try{_0x15cc8d['start'](),testOpsHelper[_0x17531f(0x1c3)](),PerformanceTester[_0x17531f(0x10b)](PerformanceEvents[_0x17531f(0x14e)]);}catch(_0x14e8a4){PerformanceTester['captureError'](_0x14e8a4),PerformanceTester['end'](PerformanceEvents[_0x17531f(0x14e)],![],_0x14e8a4);}}),CodeceptJS[_0x573f0f(0x11c)][_0x573f0f(0x125)]['on'](CodeceptJS[_0x573f0f(0x11c)][_0x573f0f(0x1d8)][_0x573f0f(0x128)],async()=>{const _0x484ea8=_0x573f0f;PerformanceTester[_0x484ea8(0x117)](PerformanceEvents[_0x484ea8(0x168)]);try{requestSpy['restore'](),await _0x15cc8d[_0x484ea8(0x198)](),PerformanceTester['end'](PerformanceEvents['SDK_POST_TEST']);}catch(_0xa450d8){PerformanceTester[_0x484ea8(0x160)](_0xa450d8),PerformanceTester[_0x484ea8(0x10b)](PerformanceEvents[_0x484ea8(0x168)],![],_0xa450d8);}finally{PerformanceTester[_0x484ea8(0x196)]();}});const _0x34fd5b=(_0x861b16,_0x47c698)=>{const _0x5b019f=_0x573f0f;if(!_0x15cc8d)return;if(!_0x15cc8d[_0x5b019f(0x192)]()){_0x15cc8d['bufferPendingHookEvent'](_0x861b16,_0x47c698);return;}CodeceptRecorder[_0x5b019f(0xe2)](()=>_0x15cc8d[_0x5b019f(0x12d)](_0x861b16,_0x47c698));};CodeceptJS[_0x573f0f(0x11c)][_0x573f0f(0x125)]['on'](CodeceptJS[_0x573f0f(0x11c)][_0x573f0f(0x169)]['started'],_0xa017f4=>{const _0x3bfb5d=_0x573f0f;PerformanceTester['start'](PerformanceEvents[_0x3bfb5d(0xfc)]);try{const _0xd6e992=_0xa017f4[_0x3bfb5d(0xdd)][_0x3bfb5d(0x14a)],_0x15d652=_0x15cc8d[_0x3bfb5d(0x1b7)](TEST_EVENTS[_0x3bfb5d(0x12a)],_0xd6e992);_0x10e315[_0x3bfb5d(0x16b)](_0x34fd5b,TEST_EVENTS[_0x3bfb5d(0x12a)],_0x15d652);const _0xec822={};_0xec822[_0x3bfb5d(0x14b)]=_0x10e315[_0x3bfb5d(0x16a)],PerformanceTester[_0x3bfb5d(0x10b)](PerformanceEvents[_0x3bfb5d(0xfc)],!![],null,_0xec822);}catch(_0x5d7576){const _0x263017={};_0x263017[_0x3bfb5d(0x14b)]=_0x10e315[_0x3bfb5d(0x16a)],PerformanceTester[_0x3bfb5d(0x10b)](PerformanceEvents['SDK_HOOK'],![],_0x5d7576,_0x263017),PerformanceTester['captureError'](_0x5d7576);}}),CodeceptJS['event'][_0x573f0f(0x125)]['on'](CodeceptJS['event'][_0x573f0f(0x169)][_0x573f0f(0x1e6)],_0x366ee1=>{const _0x1b50d3=_0x573f0f,_0x1c2a3e={};_0x1c2a3e[_0x1b50d3(0x14b)]=_0x10e315[_0x1b50d3(0x173)],PerformanceTester[_0x1b50d3(0x117)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x1c2a3e);try{const _0x7da64f=_0x366ee1[_0x1b50d3(0xdd)][_0x1b50d3(0x14a)],_0x56732e=_0x15cc8d[_0x1b50d3(0x1b7)](TEST_EVENTS[_0x1b50d3(0x10e)],_0x7da64f);_0x10e315[_0x1b50d3(0x16b)](_0x34fd5b,TEST_EVENTS[_0x1b50d3(0x10e)],_0x56732e);const _0x31233f={};_0x31233f[_0x1b50d3(0x14b)]=_0x10e315[_0x1b50d3(0x173)],PerformanceTester['end'](PerformanceHookEvents[_0x1b50d3(0xfc)],!![],null,_0x31233f);}catch(_0x1f0db1){PerformanceTester['captureError'](_0x1f0db1);const _0x664a3={};_0x664a3['hookType']=_0x10e315[_0x1b50d3(0x173)],PerformanceTester[_0x1b50d3(0x10b)](PerformanceHookEvents[_0x1b50d3(0xfc)],![],_0x1f0db1,_0x664a3);}}),CodeceptJS[_0x573f0f(0x11c)][_0x573f0f(0x125)]['on'](CodeceptJS[_0x573f0f(0x11c)][_0x573f0f(0x169)][_0x573f0f(0x17c)],async(_0xf9bfbe,_0x2e2f4a)=>{const _0x3a0a89=_0x573f0f;PerformanceTester[_0x3a0a89(0x117)](PerformanceHookEvents[_0x3a0a89(0xfc)]);try{const _0x32439d=_0xf9bfbe[_0x3a0a89(0xdd)]['test'],_0x2ee14a=_0x15cc8d[_0x3a0a89(0x1b7)](TEST_EVENTS[_0x3a0a89(0x10e)],_0x32439d,_0x2e2f4a);_0x10e315[_0x3a0a89(0x191)](_0x34fd5b,TEST_EVENTS['HOOK_RUN_FINISHED'],_0x2ee14a);const _0x4a03dd={};_0x4a03dd[_0x3a0a89(0x14b)]=_0x10e315['qLGMW'],PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x4a03dd);}catch(_0x150240){PerformanceTester[_0x3a0a89(0x160)](_0x150240);const _0x1b3568={};_0x1b3568[_0x3a0a89(0x14b)]=_0x10e315[_0x3a0a89(0x1b6)],PerformanceTester[_0x3a0a89(0x10b)](PerformanceHookEvents['SDK_HOOK'],![],_0x150240,_0x1b3568);}const _0x37702e={};_0x37702e[_0x3a0a89(0x14b)]=_0x10e315[_0x3a0a89(0x1b6)],PerformanceTester[_0x3a0a89(0x10b)](PerformanceHookEvents[_0x3a0a89(0xfc)],!![],null,_0x37702e);}),CodeceptJS['event'][_0x573f0f(0x125)]['on'](CodeceptJS[_0x573f0f(0x11c)][_0x573f0f(0x14a)][_0x573f0f(0x1a5)],_0x9a0af3=>{const _0x3566ae=_0x573f0f;PerformanceTester[_0x3566ae(0x117)](PerformanceHookEvents[_0x3566ae(0xfc)]);try{globals[_0x3566ae(0x12c)](_0x10e315['NyiCI'],_0x9a0af3[_0x3566ae(0x137)]);_0x10e315['RsvWg'](isBrowserstackInfra)&&(_0x331117&&(global['__workerDetails']={'currentTest':{'name':_0x9a0af3[_0x3566ae(0x137)],'testInfo':{'titlePath':_0x9a0af3[_0x3566ae(0x190)]()}}}));try{const _0x504aff=_0x10e315[_0x3566ae(0xf1)](shouldScanTestForAccessibility,_0x9a0af3[_0x3566ae(0x190)](),!![]);globals['setGlobal'](_0x10e315['NkAOc'],_0x504aff);}catch(_0x4bf40b){logger[_0x3566ae(0x12e)]('Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20test.before:\x20'+util[_0x3566ae(0x145)](_0x4bf40b));}const _0x13ddc5={};_0x13ddc5['hookType']=_0x10e315['dqoVo'],PerformanceTester[_0x3566ae(0x10b)](PerformanceHookEvents[_0x3566ae(0xfc)],!![],null,_0x13ddc5);}catch(_0x3266c3){PerformanceTester[_0x3566ae(0x160)](_0x3266c3);const _0x2d66b8={};_0x2d66b8[_0x3566ae(0x14b)]=_0x10e315[_0x3566ae(0x114)],PerformanceTester['end'](PerformanceHookEvents[_0x3566ae(0xfc)],![],_0x3266c3,_0x2d66b8);}}),CodeceptJS[_0x573f0f(0x11c)][_0x573f0f(0x125)]['on'](CodeceptJS[_0x573f0f(0x11c)][_0x573f0f(0x14a)]['started'],_0x2c46ff=>{const _0x45db2f=_0x573f0f;PerformanceTester[_0x45db2f(0x117)](PerformanceHookEvents[_0x45db2f(0xfc)]);try{globals[_0x45db2f(0x12c)](_0x10e315[_0x45db2f(0xea)],_0x2c46ff['title']);const _0x1721b9=_0x15cc8d[_0x45db2f(0x1b7)](TEST_EVENTS[_0x45db2f(0xf4)],_0x2c46ff);CodeceptRecorder['add'](()=>_0x15cc8d[_0x45db2f(0x147)]()),CodeceptRecorder[_0x45db2f(0xe2)](()=>_0x15cc8d[_0x45db2f(0x12d)](TEST_EVENTS[_0x45db2f(0xf4)],_0x1721b9)),CodeceptRecorder[_0x45db2f(0xe2)](()=>_0x15cc8d[_0x45db2f(0x1cd)](_0x2c46ff[_0x45db2f(0x19b)])),CodeceptRecorder[_0x45db2f(0xe2)](async()=>{const _0x5dba8c=_0x45db2f;_0x10e315[_0x5dba8c(0x103)](isBrowserstackInfra)&&(!_0x10e315[_0x5dba8c(0x1bb)](isTrue,_0x43aa02[_0x5dba8c(0x1b0)])&&await _0x10e315['RiFon'](markSessionName,_0x15e164,_0x2c46ff['title']),_0x15cc8d[_0x5dba8c(0x1ce)]&&await _0x10e315[_0x5dba8c(0x161)](o11ySync,_0x15e164));});}catch(_0x228eaf){const _0x22d441={};_0x22d441['hookType']=_0x10e315['iMJxw'],PerformanceTester[_0x45db2f(0x10b)](PerformanceHookEvents[_0x45db2f(0xfc)],![],_0x228eaf,_0x22d441),PerformanceTester[_0x45db2f(0x160)](_0x228eaf);}const _0x1b7d01={};_0x1b7d01[_0x45db2f(0x14b)]=_0x10e315[_0x45db2f(0x150)],PerformanceTester[_0x45db2f(0x10b)](PerformanceHookEvents[_0x45db2f(0xfc)],!![],null,_0x1b7d01);}),CodeceptJS[_0x573f0f(0x11c)]['dispatcher']['on'](CodeceptJS[_0x573f0f(0x11c)][_0x573f0f(0x14a)][_0x573f0f(0x1e6)],_0xaebb44=>{const _0x2afabf=_0x573f0f;PerformanceTester[_0x2afabf(0x117)](PerformanceHookEvents[_0x2afabf(0xfc)]);try{const _0x17e5cc=_0x15cc8d[_0x2afabf(0x1b7)](TEST_EVENTS[_0x2afabf(0x1c2)],_0xaebb44);CodeceptRecorder['add'](()=>_0x15cc8d['fireEvent'](TEST_EVENTS[_0x2afabf(0x1c2)],_0x17e5cc)),CodeceptRecorder['add'](async()=>{const _0x581211=_0x2afabf,_0x1ec4c9={'lsPwD':function(_0x5672ab,_0x369038,_0x1d293e){return _0x10e315['RBbeV'](_0x5672ab,_0x369038,_0x1d293e);},'qIvpc':function(_0x5a680b,_0x1e9a9f,_0x3f7e51){const _0x200112=a1_0x323e;return _0x10e315[_0x200112(0x191)](_0x5a680b,_0x1e9a9f,_0x3f7e51);}};_0x10e315['NgnWI'](isBrowserstackInfra)&&await PerformanceTester[_0x581211(0xf7)](PerformanceAutEvents[_0x581211(0x17d)],async()=>{const _0x46fefc=_0x581211;_0x331117?await _0x1ec4c9['lsPwD'](playwrightMarkSessionStatus,_0x15e164,STATE_PASSED):await _0x1ec4c9[_0x46fefc(0x158)](markSessionStatus,_0x15e164,STATE_PASSED);})();}),PerformanceTester['end'](PerformanceEvents['SDK_TEST']);}catch(_0x4f91ce){PerformanceTester[_0x2afabf(0x160)](_0x4f91ce);const _0x38ce49={};_0x38ce49['hookType']=_0x10e315['thGJb'],PerformanceTester['end'](PerformanceHookEvents[_0x2afabf(0xfc)],![],_0x4f91ce,_0x38ce49),PerformanceTester[_0x2afabf(0x10b)](PerformanceEvents[_0x2afabf(0x1a8)],![],_0x4f91ce);}const _0x27b0f9={};_0x27b0f9['hookType']=_0x10e315[_0x2afabf(0xf5)],PerformanceTester[_0x2afabf(0x10b)](PerformanceHookEvents[_0x2afabf(0xfc)],!![],null,_0x27b0f9);}),CodeceptJS['event'][_0x573f0f(0x125)]['on'](CodeceptJS[_0x573f0f(0x11c)][_0x573f0f(0x14a)][_0x573f0f(0x17c)],(_0x126729,_0x3079cc)=>{const _0x4e971b=_0x573f0f;PerformanceTester[_0x4e971b(0x117)](PerformanceHookEvents[_0x4e971b(0xfc)]);try{if(_0x10e315[_0x4e971b(0x1d3)](_0x126729[_0x4e971b(0x110)]['name'],_0x10e315[_0x4e971b(0x1b8)])){const _0x57b955=_0x15cc8d[_0x4e971b(0x1b7)](TEST_EVENTS[_0x4e971b(0x177)],_0x126729['ctx'][_0x4e971b(0x19c)]);CodeceptRecorder[_0x4e971b(0xe2)](()=>_0x15cc8d[_0x4e971b(0x12d)](TEST_EVENTS[_0x4e971b(0x177)],_0x57b955));}else{const _0x4db983=_0x15cc8d[_0x4e971b(0x1b7)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x126729,_0x3079cc);CodeceptRecorder[_0x4e971b(0xe2)](()=>{const _0x318bad=_0x4e971b;try{_0x15cc8d[_0x318bad(0x12d)](TEST_EVENTS[_0x318bad(0x1c2)],_0x4db983);}catch(_0x3a29ce){logger['debug'](_0x318bad(0x108)+util[_0x318bad(0x145)](_0x3a29ce)),PerformanceTester[_0x318bad(0x10b)](PerformanceEvents[_0x318bad(0x1a8)],![],_0x3a29ce);}}),CodeceptRecorder[_0x4e971b(0xe2)](async()=>{const _0x23471d=_0x4e971b;try{_0x10e315[_0x23471d(0x120)](isBrowserstackInfra)&&(_0x331117?await _0x10e315[_0x23471d(0x106)](playwrightMarkSessionStatus,_0x15e164,STATE_FAILED,_0x3079cc):await _0x10e315[_0x23471d(0x106)](markSessionStatus,_0x15e164,STATE_FAILED,_0x3079cc));}catch(_0x3e4990){logger[_0x23471d(0x12e)](_0x23471d(0x167)+util[_0x23471d(0x145)](_0x3e4990)),PerformanceTester[_0x23471d(0x10b)](PerformanceEvents[_0x23471d(0x1a8)],![],_0x3e4990);}});}PerformanceTester[_0x4e971b(0x10b)](PerformanceEvents[_0x4e971b(0x1a8)]);}catch(_0x3fc38c){PerformanceTester[_0x4e971b(0x160)](_0x3fc38c);const _0x352c65={};_0x352c65['hookType']=_0x10e315[_0x4e971b(0x11a)],PerformanceTester[_0x4e971b(0x10b)](PerformanceHookEvents[_0x4e971b(0xfc)],![],_0x3fc38c,_0x352c65),PerformanceTester[_0x4e971b(0x10b)](PerformanceEvents[_0x4e971b(0x1a8)],![],_0x3fc38c);}const _0x5d9412={};_0x5d9412[_0x4e971b(0x14b)]=_0x10e315[_0x4e971b(0x11a)],PerformanceTester[_0x4e971b(0x10b)](PerformanceHookEvents[_0x4e971b(0xfc)],!![],null,_0x5d9412);}),CodeceptJS['event'][_0x573f0f(0x125)]['on'](CodeceptJS['event'][_0x573f0f(0x14a)][_0x573f0f(0x1c5)],_0x3c31bb=>{const _0x411836=_0x573f0f;PerformanceTester['start'](PerformanceHookEvents[_0x411836(0xfc)]);try{const _0x517316=_0x15cc8d[_0x411836(0x1b7)](TEST_EVENTS[_0x411836(0x177)],_0x3c31bb);CodeceptRecorder[_0x411836(0xe2)](()=>_0x15cc8d[_0x411836(0x12d)](TEST_EVENTS[_0x411836(0x177)],_0x517316)),PerformanceTester[_0x411836(0x10b)](PerformanceEvents[_0x411836(0x1a8)]);}catch(_0x1c2c6a){PerformanceTester[_0x411836(0x160)](_0x1c2c6a),PerformanceTester[_0x411836(0x10b)](PerformanceEvents[_0x411836(0x1a8)],![],_0x1c2c6a);const _0x9ac76a={};_0x9ac76a[_0x411836(0x14b)]=_0x10e315[_0x411836(0x138)],PerformanceTester[_0x411836(0x10b)](PerformanceHookEvents[_0x411836(0xfc)],![],_0x1c2c6a,_0x9ac76a);}const _0x314c61={};_0x314c61[_0x411836(0x14b)]=_0x10e315[_0x411836(0x138)],PerformanceTester[_0x411836(0x10b)](PerformanceHookEvents[_0x411836(0xfc)],!![],null,_0x314c61);}),CodeceptJS[_0x573f0f(0x11c)][_0x573f0f(0x125)]['on'](CodeceptJS[_0x573f0f(0x11c)][_0x573f0f(0x14a)][_0x573f0f(0x128)],async(_0xfe6a60,_0x4ce2df)=>{const _0x275dad=_0x573f0f;try{PerformanceTester[_0x275dad(0x117)](PerformanceHookEvents[_0x275dad(0xfc)]);const _0x235d01=_0x10e315[_0x275dad(0x102)](shouldScanTestForAccessibility,_0xfe6a60['titlePath'](),!![]);if(_0x10e315[_0x275dad(0x120)](isAccessibilityAutomationSession)&&global['accessibilityPlatform']&&_0x235d01){const _0x4fa301={};_0x4fa301[_0x275dad(0x104)]=_0xfe6a60[_0x275dad(0x19b)],_0x4fa301[_0x275dad(0x17e)]=process['env'][testHubConstants[_0x275dad(0x13f)][_0x275dad(0x1c8)]],_0x4fa301[_0x275dad(0x19a)]=process[_0x275dad(0x170)][testHubConstants[_0x275dad(0x13f)][_0x275dad(0x15f)]];const _0x588a06=_0x4fa301;logger[_0x275dad(0x12e)](_0x275dad(0x13d)+JSON[_0x275dad(0x131)](_0x588a06)),CodeceptRecorder[_0x275dad(0xe2)](async()=>{const _0x2049aa=_0x275dad;await accessibilityRetryHelper[_0x2049aa(0x186)](_0x15e164,_0xfe6a60[_0x2049aa(0x137)]),await accessibilityRetryHelper[_0x2049aa(0x1c6)](_0x15e164,_0x588a06);}),logger['info'](_0x10e315[_0x275dad(0x14d)]);}const _0x55affe={};_0x55affe['hookType']=_0x10e315[_0x275dad(0x1b3)],PerformanceTester[_0x275dad(0x10b)](PerformanceHookEvents[_0x275dad(0xfc)],!![],null,_0x55affe);}catch(_0x154ad3){PerformanceTester[_0x275dad(0x160)](_0x154ad3);const _0x368feb={};_0x368feb[_0x275dad(0x14b)]=_0x10e315['xBNpg'],PerformanceTester[_0x275dad(0x10b)](PerformanceHookEvents[_0x275dad(0xfc)],![],_0x154ad3,_0x368feb);}}),CodeceptJS[_0x573f0f(0x11c)][_0x573f0f(0x125)]['on'](CodeceptJS[_0x573f0f(0x11c)][_0x573f0f(0x1de)]['comment'],_0x380cce=>{const _0x75dcf3=_0x573f0f;PerformanceTester[_0x75dcf3(0x117)](PerformanceHookEvents[_0x75dcf3(0xfc)]);try{process[_0x75dcf3(0x148)](_0x75dcf3(0x19f)+process[_0x75dcf3(0x16f)],{'timestamp':new Date()[_0x75dcf3(0xe9)](),'level':_0x10e315[_0x75dcf3(0xf6)],'message':_0x380cce,'kind':_0x10e315[_0x75dcf3(0x1ac)],'http_response':{}});}catch(_0x12df66){PerformanceTester[_0x75dcf3(0x160)](_0x12df66);const _0x5d49bf={};_0x5d49bf['hookType']=_0x10e315[_0x75dcf3(0x197)],PerformanceTester[_0x75dcf3(0x10b)](PerformanceHookEvents[_0x75dcf3(0xfc)],![],_0x12df66,_0x5d49bf);}const _0x55b5d5={};_0x55b5d5['hookType']=_0x10e315[_0x75dcf3(0x197)],PerformanceTester[_0x75dcf3(0x10b)](PerformanceHookEvents[_0x75dcf3(0xfc)],!![],null,_0x55b5d5);}),CodeceptJS['event'][_0x573f0f(0x125)]['on'](CodeceptJS['event']['bddStep']['before'],_0x4318e8=>{const _0x27eb41=_0x573f0f,_0x155b2c={};_0x155b2c[_0x27eb41(0x14b)]=_0x10e315[_0x27eb41(0x14f)],PerformanceTester[_0x27eb41(0xf7)](PerformanceHookEvents[_0x27eb41(0xfc)],()=>{const _0x3910d1=_0x27eb41;_0x15cc8d[_0x3910d1(0x162)](_0x4318e8);},_0x155b2c)();}),CodeceptJS[_0x573f0f(0x11c)]['dispatcher']['on'](CodeceptJS['event'][_0x573f0f(0x153)][_0x573f0f(0x128)],_0x72c6ce=>{const _0x4ed128=_0x573f0f,_0x335048={};_0x335048[_0x4ed128(0x14b)]=_0x10e315['SrZeh'],PerformanceTester[_0x4ed128(0xf7)](PerformanceHookEvents[_0x4ed128(0xfc)],()=>{const _0x36390e=_0x4ed128;_0x15cc8d[_0x36390e(0xe8)](_0x72c6ce);},_0x335048)();});};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a2_0x395eab=a2_0x1cd1;(function(_0x542e7f,_0x36a905){const _0x22eae4=a2_0x1cd1,_0x24d691=_0x542e7f();while(!![]){try{const _0x460e10=parseInt(_0x22eae4(0x147))/0x1*(parseInt(_0x22eae4(0x161))/0x2)+parseInt(_0x22eae4(0x160))/0x3+parseInt(_0x22eae4(0x14b))/0x4+parseInt(_0x22eae4(0x141))/0x5+parseInt(_0x22eae4(0x112))/0x6+-parseInt(_0x22eae4(0x136))/0x7+parseInt(_0x22eae4(0x154))/0x8*(-parseInt(_0x22eae4(0x156))/0x9);if(_0x460e10===_0x36a905)break;else _0x24d691['push'](_0x24d691['shift']());}catch(_0x270c83){_0x24d691['push'](_0x24d691['shift']());}}}(a2_0x49c3,0x34056));function a2_0x49c3(){const _0x23110e=['validateRerunTestList','Started\x20:\x20','BrowserStackPlugin','BROWSERSTACK_RERUN_TESTS','accessKey','firefox','bXLLM','splice','FlZvK','fLFEn','MakJp','nUWBm','riTTr','printResults','CODECEPT','playwright-firefox','split','OyLNf','BROWSERSTACK_TEST_OBSERVABILITY_YML','pVptk','info','process','buNZd','teardownAll','root','platforms','resolveWithinCwd','log','MpZQp','BROWSERSTACK_RERUN','result','CODECEPT_CUCUMBER','helpers','function','launchBuild','codeceptjs/lib/index.js','skipSessionName','nIENL','hYLgU','accessibility','339084TquSUr','forEach','pXnki','BROWSERSTACK_FRAMEWORK','version','enabled','chrome','WebDriver','afVoy','finalExecution','before','addConfig','abQff','event','lxDlY','qgzrc','\x22:\x20it\x20resolves\x20outside\x20the\x20project\x20directory.','addOptions','getInstance','browser','bAjEv','format','jfltx','../../helpers/performance/performance-tester','browserStackCwd','printBuildLink','/wd/hub','IiwPJ','../../bin/playwright/accessibility-helper','webkit','\x20detected\x20but\x20Workers._ensureInitialized\x20is\x20missing;\x20worker\x20suite\x20grouping\x20may\x20come\x20up\x20empty\x20(\x22No\x20tests\x20found\x20after\x20filtering\x22).\x20The\x20installed\x20codeceptjs\x20build\x20may\x20not\x20match\x20the\x20SDK\x27s\x204.x\x20ESM\x20interop.','EVENTS','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','push','aluMI','length','1495886UGfSCU','DayxY','chdir','codeceptjs','../../helpers/test-observability/constants','map','config','createGroupsOfSuites','initialize','VWfKe','../../helpers/performance/constants','1902060HUGGBI','../../helpers/logger','0|3|4|2|1','testObservability','gherkin','SDK_CLEANUP','17SHCKaB','join','chromium','YIszh','993172hlQTog','accessibilityOptions','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','SDK_SETUP','playwright-webkit','debug','MqLLP','validPlatformsPresent','addTests','4825760YtozvB','Ignoring\x20-c\x20config\x20path\x20\x22','9iHgekp','host','codecept.conf.js','testConfig','start','BKAIY','handleApp','iMJrr','codeceptjs/package.json','Ignoring\x20--config\x20path\x20\x22','876843LIiTsW','6176CtCxZl','dirname','uyuii','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','Playwright','toLowerCase','GWbSv','browserName','CodeceptJS\x20','../../helpers/helper','getPlaywrightUrl','user','prepareCapabilities','title','replace','codecept.json','path','playwright-chromium','WztrQ','env','stack','../../helpers/utilities','browserWSEndpoint','run','errorMessage','winstonLogger','findIndex','err','FRAMEWORKS','BROWSERSTACK_TEST_ACCESSIBILITY_YML','sXEQM','isTrue','MIkbF','existsSync','warn','spawn','profile','test','EgmjX','cwd','passed','USER_CONFIG_DETAILS_PATH','stringify','getUserWorkerCount','frameworkName','assign','util','desiredCapabilities','isUndefined','exports','bootstrapAll','end','userName','testContextOptions','setAdditionalCapabilities','skipSessionStatus','CVkFp','getPlatformName','mergeDeep','failed','setupBrowserstackLocal','plugins','uIGHh','stop','trim'];a2_0x49c3=function(){return _0x23110e;};return a2_0x49c3();}const fs=require('fs'),path=require('path'),util=require(a2_0x395eab(0x18f)),process=require(a2_0x395eab(0xff)),logger=require(a2_0x395eab(0x142))[a2_0x395eab(0x17a)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a2_0x395eab(0x16a)),utilities=require(a2_0x395eab(0x176)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities,processAccessibilityCaps}=require(a2_0x395eab(0x12e)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x395eab(0x16a)),CodeceptJS=requireModule(a2_0x395eab(0x10d),a2_0x395eab(0x139)),testOpsHelper=require('../../helpers/test-observability/utils'),TestHubHandler=require('../../helpers/testhub/testhubHandler'),BrowserstackCLI=require('../v2/browserstackCLI'),constants=require('../utils/constants'),PerformanceTester=require(a2_0x395eab(0x129)),{FRAMEWORKS}=require(a2_0x395eab(0x13a)),PerformanceEvents=require(a2_0x395eab(0x140))[a2_0x395eab(0x131)],ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),_testErrorData=[],getUserCodeceptJSConfigs=(_0x5a3668,_0x12f06b)=>{const _0x3bf8e2=a2_0x395eab,_0x582b1a={};_0x582b1a['IiwPJ']=function(_0x52eb6f,_0x53a54a){return _0x52eb6f===_0x53a54a;},_0x582b1a['GWbSv']=_0x3bf8e2(0x158),_0x582b1a['VKkdU']=_0x3bf8e2(0x170);const _0x3b9e2a=_0x582b1a;let _0x24e378=null;const _0x20e917={};let _0x4a7746=_0x12f06b[_0x3bf8e2(0x17b)](_0x141bff=>_0x141bff==='--config');_0x3b9e2a[_0x3bf8e2(0x12d)](_0x4a7746,-0x1)&&(_0x4a7746=_0x12f06b[_0x3bf8e2(0x17b)](_0x15eb3a=>_0x15eb3a==='-c'));const _0xa2a35c=!helper['isUndefined'](_0x5a3668['config'])?helper[_0x3bf8e2(0x104)](_0x5a3668['config']):null,_0x5c1c4a=!helper[_0x3bf8e2(0x191)](_0x5a3668['c'])?helper['resolveWithinCwd'](_0x5a3668['c']):null;if(!helper['isUndefined'](_0x5a3668['config'])&&!_0xa2a35c)logger[_0x3bf8e2(0x183)](_0x3bf8e2(0x15f)+_0x5a3668[_0x3bf8e2(0x13c)]+'\x22:\x20it\x20resolves\x20outside\x20the\x20project\x20directory.');else!helper[_0x3bf8e2(0x191)](_0x5a3668['c'])&&!_0x5c1c4a&&logger[_0x3bf8e2(0x183)](_0x3bf8e2(0x155)+_0x5a3668['c']+_0x3bf8e2(0x122));if(_0xa2a35c&&fs[_0x3bf8e2(0x182)](_0xa2a35c))_0x24e378=_0xa2a35c,_0x12f06b[_0x3bf8e2(0xf1)](_0x4a7746,0x2);else{if(_0x5c1c4a&&fs[_0x3bf8e2(0x182)](_0x5c1c4a))_0x24e378=_0x5c1c4a,_0x12f06b[_0x3bf8e2(0xf1)](_0x4a7746,0x2);else{if(fs['existsSync'](path[_0x3bf8e2(0x148)](process[_0x3bf8e2(0x188)](),_0x3b9e2a[_0x3bf8e2(0x167)])))_0x24e378=path[_0x3bf8e2(0x148)](process[_0x3bf8e2(0x188)](),_0x3b9e2a[_0x3bf8e2(0x167)]);else fs[_0x3bf8e2(0x182)](path[_0x3bf8e2(0x148)](process['cwd'](),_0x3b9e2a['VKkdU']))&&(_0x24e378=path['join'](process[_0x3bf8e2(0x188)](),_0x3b9e2a['VKkdU']));}}return process[_0x3bf8e2(0x174)][_0x3bf8e2(0x18a)]=_0x24e378,_0x24e378;},getO11yRerunPattern=()=>{const _0x2436f7=a2_0x395eab,_0x2bc893=helper[_0x2436f7(0x180)](process[_0x2436f7(0x174)][_0x2436f7(0x107)]);if(_0x2bc893){const _0x6f52a4=process[_0x2436f7(0x174)][_0x2436f7(0xed)],_0x4df3fc=[];if(helper[_0x2436f7(0xea)](_0x6f52a4)&&!helper['isUndefined'](_0x6f52a4)){_0x6f52a4['split'](',')['map'](_0x629b71=>{const _0x501947=_0x2436f7;_0x4df3fc[_0x501947(0x133)]('('+_0x629b71[_0x501947(0xe9)]()+')');});const _0x152f0c='^'+_0x4df3fc[_0x2436f7(0x148)]('|')+'$';return _0x152f0c;}}return null;},a2_0x5e3ea6={};a2_0x5e3ea6[a2_0x395eab(0x118)]=a2_0x395eab(0x149),a2_0x5e3ea6[a2_0x395eab(0x172)]=a2_0x395eab(0x149),a2_0x5e3ea6[a2_0x395eab(0xf9)]=a2_0x395eab(0xef),a2_0x5e3ea6[a2_0x395eab(0x14f)]=a2_0x395eab(0x12f);const pwToCodeceptBrowser=a2_0x5e3ea6;function a2_0x1cd1(_0x3d6cb9,_0x4ab020){const _0x49c3ce=a2_0x49c3();return a2_0x1cd1=function(_0x1cd1a4,_0x25e95d){_0x1cd1a4=_0x1cd1a4-0xdf;let _0x1bdf03=_0x49c3ce[_0x1cd1a4];return _0x1bdf03;},a2_0x1cd1(_0x3d6cb9,_0x4ab020);}async function run(_0x190f3b,_0x1d69cb,_0x3397b6){const _0xd1a34f=a2_0x395eab,_0x50a341={'YIszh':function(_0x51b63b,_0x4c6eed,_0x2d7cf3,_0x3d9941){return _0x51b63b(_0x4c6eed,_0x2d7cf3,_0x3d9941);},'MIkbF':function(_0x4bcb32,_0x487066){return _0x4bcb32+_0x487066;},'BKAIY':function(_0x23fb78,_0x3177f9){return _0x23fb78(_0x3177f9);},'uIGHh':function(_0x102b4c,_0x28a6c6,_0x5ca0f0){return _0x102b4c(_0x28a6c6,_0x5ca0f0);},'sXEQM':_0xd1a34f(0x10a),'fLFEn':function(_0x39d0c3){return _0x39d0c3();},'buNZd':_0xd1a34f(0x12c),'KfZRF':function(_0x15dc82){return _0x15dc82();},'SVJIB':'Failed\x20:\x20','WztrQ':'Passed\x20:\x20','FlZvK':_0xd1a34f(0xeb),'pXnki':_0xd1a34f(0x143),'MakJp':_0xd1a34f(0x132),'lxDlY':function(_0x2100f9,_0x190aa3,_0x44fc54){return _0x2100f9(_0x190aa3,_0x44fc54);},'MqLLP':_0xd1a34f(0x165),'JOURU':'WebDriver','MpZQp':function(_0x57a418,_0x2a9f37){return _0x57a418(_0x2a9f37);},'qgzrc':function(_0x50d1d1,_0x288b4a){return _0x50d1d1!=_0x288b4a;},'mcbar':'true','HLWOx':_0xd1a34f(0x145),'aluMI':function(_0x78df3b,_0x49d108){return _0x78df3b(_0x49d108);},'VWfKe':function(_0xfa95d8){return _0xfa95d8();},'abQff':function(_0xd9d87,_0xdf6f36){return _0xd9d87*_0xdf6f36;},'EgmjX':_0xd1a34f(0x125),'riTTr':function(_0x442b63,_0x50320d,_0x6c57f2){return _0x442b63(_0x50320d,_0x6c57f2);},'XcULT':function(_0x45b6cf,_0x2e6e7e,_0x81d32f){return _0x45b6cf(_0x2e6e7e,_0x81d32f);},'nIENL':_0xd1a34f(0x190),'bXLLM':function(_0x5b24c7,_0x9f8b41,_0x3d7283){return _0x5b24c7(_0x9f8b41,_0x3d7283);},'iMJrr':_0xd1a34f(0x102),'InrTm':'BrowserStackPlugin.js','afVoy':_0xd1a34f(0x12a),'DayxY':_0xd1a34f(0x139),'pVptk':function(_0xbda89c,_0x114669){return _0xbda89c===_0x114669;},'OyLNf':_0xd1a34f(0x10b),'uyuii':function(_0x1d2acc,_0x3d127b,_0x62a99f){return _0x1d2acc(_0x3d127b,_0x62a99f);},'EvvPk':_0xd1a34f(0x15e),'bAjEv':function(_0x21621d,_0x1f1067){return _0x21621d>=_0x1f1067;},'jfltx':function(_0x1f4f4f){return _0x1f4f4f();}};await _0x3397b6[_0xd1a34f(0x13e)](_0x190f3b);!BrowserstackCLI[_0xd1a34f(0x124)]()['isRunning']()&&await _0x3397b6[_0xd1a34f(0xe5)]();await helper[_0xd1a34f(0x15c)](_0x3397b6['config']);if(!_0x3397b6[_0xd1a34f(0x13c)])return;process[_0xd1a34f(0x185)]=_0x190f3b['profile'];_0x190f3b[_0xd1a34f(0x185)]&&(process[_0xd1a34f(0x174)][_0xd1a34f(0x185)]=_0x190f3b['profile']);const _0x5cce89=_0x50a341['uIGHh'](getUserCodeceptJSConfigs,_0x190f3b,_0x1d69cb);let _0x89847f={};_0x5cce89?(logger[_0xd1a34f(0xfe)](_0xd1a34f(0x164)+_0x5cce89),_0x89847f=CodeceptJS[_0xd1a34f(0x13c)]['load'](_0x5cce89)):logger['info'](_0x50a341[_0xd1a34f(0xf4)]);let _0x18f636=![];_0x50a341[_0xd1a34f(0x120)](nestedKeyValue,_0x89847f,[_0x50a341['sXEQM'],_0x50a341['MqLLP']])&&(_0x18f636=!![]);const _0x5c23f0=_0x18f636?_0x50a341[_0xd1a34f(0x151)]:_0x50a341['JOURU'];let _0x35523e=!_0x18f636?helper['useW3C'](_0x3397b6[_0xd1a34f(0x13c)]):![];!helper[_0xd1a34f(0x191)](_0x3397b6[_0xd1a34f(0x13c)][_0xd1a34f(0x14c)])&&(process[_0xd1a34f(0x174)][_0xd1a34f(0x14d)]=JSON[_0xd1a34f(0x18b)](_0x3397b6[_0xd1a34f(0x13c)][_0xd1a34f(0x14c)]));let _0x303ac8=_0x3397b6[_0xd1a34f(0x13c)][_0xd1a34f(0x111)];_0x303ac8=_0x303ac8||_0x50a341[_0xd1a34f(0x106)](checkAccessibilityPlatformConfig,_0x3397b6[_0xd1a34f(0x13c)]),process[_0xd1a34f(0x174)][_0xd1a34f(0x17e)]=_0x303ac8;_0x303ac8&&(_0x35523e=!_0x303ac8);_0x50a341[_0xd1a34f(0x121)](_0x3397b6[_0xd1a34f(0x13c)][_0xd1a34f(0x144)],null)?process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x3397b6[_0xd1a34f(0x13c)][_0xd1a34f(0x144)]:process[_0xd1a34f(0x174)][_0xd1a34f(0xfc)]=_0x50a341['mcbar'];const _0x20302d=_0x50a341[_0xd1a34f(0x120)](nestedKeyValue,_0x89847f,[_0x50a341['HLWOx']]),_0x2c3acd=_0x20302d&&!helper['isEmpty'](_0x20302d)?FRAMEWORKS[_0xd1a34f(0x109)]:FRAMEWORKS[_0xd1a34f(0xf8)],_0x260f1a=await TestHubHandler[_0xd1a34f(0x10c)](_0x2c3acd,_0x3397b6);await testOpsHelper[_0xd1a34f(0x12b)]();_0x303ac8&&_0x50a341[_0xd1a34f(0x134)](setAccessibilityCapabilities,_0x3397b6[_0xd1a34f(0x13c)]);const _0x526527={},_0x3fb7da=[],_0x57f8fb=_0x3397b6['config']['parallelsPerPlatform']||helper[_0xd1a34f(0x18c)](_0x190f3b,_0x1d69cb,_0x3397b6['config'],constants[_0xd1a34f(0x17d)][_0xd1a34f(0xf8)])||0x1;let _0x3afac9=0x1;if(_0x50a341[_0xd1a34f(0x13f)](isBrowserstackInfra)){const _0x543c19=helper[_0xd1a34f(0x16d)](_0x3397b6['config'],_0x35523e,constants[_0xd1a34f(0x17d)]['CODECEPT']);_0x543c19[_0xd1a34f(0x113)](_0x4c5632=>{const _0x8572b4=_0xd1a34f;helper[_0x8572b4(0xdf)](_0x4c5632);}),helper[_0xd1a34f(0x152)](_0x3397b6[_0xd1a34f(0x13c)])?_0x3afac9=_0x50a341[_0xd1a34f(0x11e)](_0x57f8fb,_0x3397b6[_0xd1a34f(0x13c)][_0xd1a34f(0x103)][_0xd1a34f(0x135)]):_0x3afac9=_0x57f8fb,_0x543c19['forEach'](_0x465131=>{const _0x2fe208=_0xd1a34f,_0x1722a0={'nUWBm':function(_0x408497,_0x254a88,_0x4a7c9f,_0x42624e){const _0x3ce115=a2_0x1cd1;return _0x50a341[_0x3ce115(0x14a)](_0x408497,_0x254a88,_0x4a7c9f,_0x42624e);},'CVkFp':function(_0x2e6c21,_0x3c6d4a){const _0x3da00a=a2_0x1cd1;return _0x50a341[_0x3da00a(0x181)](_0x2e6c21,_0x3c6d4a);},'hYLgU':function(_0x24a111,_0x2964e2){const _0x2ea013=a2_0x1cd1;return _0x50a341[_0x2ea013(0x15b)](_0x24a111,_0x2964e2);}},_0x4ef368=_0x50a341[_0x2fe208(0x181)](helper[_0x2fe208(0xe2)](_0x465131,'_'),'_'+Date['now']()),_0x229534=((()=>{const _0x5a1d15=_0x2fe208;if(_0x18f636){const _0x8f2de3=pwToCodeceptBrowser[_0x465131[_0x5a1d15(0x168)]]||_0x465131[_0x5a1d15(0x168)],_0xdd6ba4=helper[_0x5a1d15(0x16b)](_0x3397b6[_0x5a1d15(0x13c)]),_0x332881=Object['assign']({},_0x465131);return _0x1722a0[_0x5a1d15(0xf5)](processAccessibilityCaps,_0x332881,_0xdd6ba4,null),{'browser':_0x8f2de3,[_0x8f2de3]:{'browserWSEndpoint':_0x1722a0[_0x5a1d15(0xe1)](_0xdd6ba4,_0x1722a0[_0x5a1d15(0x110)](encodeURIComponent,JSON[_0x5a1d15(0x18b)](_0x332881)))}};}const _0x13389f={};return _0x13389f[_0x5a1d15(0x190)]=_0x465131,_0x13389f[_0x5a1d15(0x16c)]=_0x3397b6['config'][_0x5a1d15(0x195)],_0x13389f['key']=_0x3397b6['config'][_0x5a1d15(0xee)],_0x13389f;})()),_0x132fcb=_0x50a341[_0x2fe208(0xe7)](nestedKeyValue,_0x89847f,[_0x50a341[_0x2fe208(0x17f)],_0x5c23f0]);_0x526527[_0x4ef368]=_0x132fcb?helper[_0x2fe208(0xe3)](_0x229534,_0x132fcb):_0x229534;if(_0x18f636)_0x526527[_0x4ef368][_0x2fe208(0x125)]=pwToCodeceptBrowser[_0x465131['browserName']]||_0x465131['browserName'];else{_0x526527[_0x4ef368][_0x2fe208(0x125)]=_0x465131[_0x2fe208(0x168)]||_0x229534['browser'];if(_0x50a341[_0x2fe208(0xf3)](isBrowserstackInfra)){_0x526527[_0x4ef368][_0x2fe208(0x157)]=constants['hubUrl'][_0x2fe208(0x16f)](_0x50a341[_0x2fe208(0x100)],'')[_0x2fe208(0x16f)](/https?:\/\//,'');;_0x526527[_0x4ef368][_0x2fe208(0x171)]=_0x50a341[_0x2fe208(0x100)];}}_0x3fb7da[_0x2fe208(0x133)](_0x4ef368);});}else{_0x3afac9=0x1;if(_0x18f636){const _0x532ab5=_0x50a341['lxDlY'](nestedKeyValue,_0x89847f,[_0x50a341[_0xd1a34f(0x17f)],_0x5c23f0,_0x50a341[_0xd1a34f(0x187)]]),_0x5f25a1=_0x50a341[_0xd1a34f(0xf6)](nestedKeyValue,_0x89847f,[_0x50a341[_0xd1a34f(0x17f)],_0x5c23f0,_0x532ab5]);if(_0x5f25a1&&_0x5f25a1[_0xd1a34f(0x177)]){const _0x2b49cc={};_0x2b49cc['platforms']=[],_0x5f25a1[_0xd1a34f(0x177)]=helper[_0xd1a34f(0x16d)](Object['assign']({},_0x3397b6[_0xd1a34f(0x13c)],_0x2b49cc),null,_0x2c3acd[_0xd1a34f(0x166)](),null,null,_0x5f25a1['browserWSEndpoint']);}}else{if(_0x50a341['XcULT'](nestedKeyValue,_0x89847f,[_0x50a341[_0xd1a34f(0x17f)],_0x5c23f0])){const _0xd7fe6f={};_0xd7fe6f['platforms']=[],_0x89847f[_0x50a341[_0xd1a34f(0x17f)]][_0x5c23f0][_0x50a341[_0xd1a34f(0x10f)]]=helper[_0xd1a34f(0x16d)](Object[_0xd1a34f(0x18e)]({},_0x3397b6['config'],_0xd7fe6f),null,_0x2c3acd[_0xd1a34f(0x166)](),_0x50a341[_0xd1a34f(0xf0)](nestedKeyValue,_0x89847f,[_0x50a341[_0xd1a34f(0x17f)],_0x5c23f0,_0x50a341['nIENL']])||{},null,null);}}_0x526527[_0x50a341[_0xd1a34f(0x15d)]]=_0x89847f,_0x3fb7da[_0xd1a34f(0x133)](_0x50a341[_0xd1a34f(0x15d)]);}const _0x50e1fe={};_0x50e1fe[_0xd1a34f(0x159)]=_0x5cce89;const _0x2ddaa0=_0x50e1fe,_0x27cc90=path[_0xd1a34f(0x148)](__dirname,_0x50a341['InrTm']),_0xb18276=process[_0xd1a34f(0x188)]();process[_0xd1a34f(0x174)][_0x50a341[_0xd1a34f(0x11a)]]=_0xb18276;_0x5cce89&&process[_0xd1a34f(0x138)](path[_0xd1a34f(0x162)](_0x5cce89));process['env'][_0xd1a34f(0x115)]=process[_0xd1a34f(0x174)][_0xd1a34f(0x115)]||_0x50a341[_0xd1a34f(0x137)];const _0x228b21=new CodeceptJS['Workers'](null,_0x2ddaa0);if(_0x50a341[_0xd1a34f(0xfd)](typeof _0x228b21['_ensureInitialized'],_0x50a341[_0xd1a34f(0xfb)]))await _0x228b21['_ensureInitialized']();else{let _0x5e29fd;try{_0x5e29fd=_0x50a341[_0xd1a34f(0x163)](requireModule,_0x50a341['EvvPk'],_0x50a341[_0xd1a34f(0x137)])[_0xd1a34f(0x116)];}catch(_0x448645){logger[_0xd1a34f(0x150)]('Unable\x20to\x20resolve\x20codeceptjs\x20version:\x20'+util[_0xd1a34f(0x127)](_0x448645));}_0x5e29fd&&_0x50a341[_0xd1a34f(0x126)](_0x50a341[_0xd1a34f(0xe7)](parseInt,_0x5e29fd[_0xd1a34f(0xfa)]('.')[0x0],0xa),0x4)&&logger[_0xd1a34f(0x183)](_0xd1a34f(0x169)+_0x5e29fd+_0xd1a34f(0x130));}const _0x265dfb=_0x228b21[_0xd1a34f(0x13d)](_0x57f8fb),_0x36f4f5=testOpsHelper['isTestObservabilitySession'](),_0xe40dc3=_0x3fb7da[_0xd1a34f(0x13b)](_0x595dd8=>{const _0x316e99=_0xd1a34f,_0x3ea2df={};_0x3ea2df['Playwright']=_0x526527[_0x595dd8];const _0x352fc8={};_0x352fc8[_0x316e99(0x119)]=_0x526527[_0x595dd8];const _0x188882=_0x18f636?_0x3ea2df:_0x352fc8,_0x27a305=_0x50a341['KfZRF'](getO11yRerunPattern),_0x598359={};_0x598359[_0x316e99(0x10a)]=_0x188882;const _0x53f942={};_0x53f942['require']=_0x27cc90,_0x53f942[_0x316e99(0x117)]=!![],_0x53f942[_0x316e99(0x10e)]=_0x3397b6[_0x316e99(0x13c)][_0x316e99(0x196)][_0x316e99(0x10e)],_0x53f942['skipSessionStatus']=_0x3397b6[_0x316e99(0x13c)]['testContextOptions'][_0x316e99(0xe0)],_0x53f942[_0x316e99(0x144)]=_0x36f4f5,_0x53f942[_0x316e99(0x18d)]=_0x2c3acd;const _0x42f95c={};_0x42f95c[_0x316e99(0xec)]=_0x53f942;const _0x2b9f5f={};return _0x2b9f5f[_0x316e99(0xe6)]=_0x42f95c,helper[_0x316e99(0xe3)]({},_0x89847f,_0x50a341['KfZRF'](isBrowserstackInfra)?_0x598359:{},_0x27a305?{'grep':_0x27a305}:{},_0x2b9f5f);});for(const _0x16df34 of _0xe40dc3){for(const _0x28b5ce of _0x265dfb){const _0x33e29f=_0x228b21[_0xd1a34f(0x184)]();_0x33e29f[_0xd1a34f(0x153)](_0x28b5ce),_0x33e29f[_0xd1a34f(0x11d)](_0x16df34);const _0x20b4ab={};_0x20b4ab[_0xd1a34f(0x13c)]=_0x5cce89,_0x33e29f[_0xd1a34f(0x123)](Object[_0xd1a34f(0x18e)](_0x20b4ab,_0x190f3b));}}_0x228b21['on'](CodeceptJS[_0xd1a34f(0x11f)][_0xd1a34f(0x186)][_0xd1a34f(0xe4)],(_0x465ae8,_0x17e90a)=>{const _0x3ecba6=_0xd1a34f;console[_0x3ecba6(0x105)](_0x50a341['SVJIB'],_0x465ae8[_0x3ecba6(0x16e)]);const _0x4b65fd={[_0x465ae8['title']]:_0x465ae8[_0x3ecba6(0x17c)][_0x3ecba6(0x175)]};_testErrorData[_0x3ecba6(0x133)](_0x4b65fd);}),_0x228b21['on'](CodeceptJS[_0xd1a34f(0x11f)][_0xd1a34f(0x186)][_0xd1a34f(0x189)],async _0x34ec30=>{const _0x1dfa6e=_0xd1a34f;console[_0x1dfa6e(0x105)](_0x50a341[_0x1dfa6e(0x173)],_0x34ec30[_0x1dfa6e(0x16e)]);}),_0x228b21['on'](CodeceptJS[_0xd1a34f(0x11f)]['test'][_0xd1a34f(0x11c)],async _0x4858d8=>{const _0x19fe2f=_0xd1a34f;console[_0x19fe2f(0x105)](_0x50a341[_0x19fe2f(0xf2)],_0x4858d8['title']);}),_0x228b21['on'](CodeceptJS[_0xd1a34f(0x11f)]['all'][_0xd1a34f(0x108)],async()=>{const _0x541fc9=_0xd1a34f,_0x449955=_0x50a341[_0x541fc9(0x114)][_0x541fc9(0xfa)]('|');let _0x1b7fba=0x0;while(!![]){switch(_0x449955[_0x1b7fba++]){case'0':PerformanceTester[_0x541fc9(0x15a)](PerformanceEvents[_0x541fc9(0x146)]);continue;case'1':_0x228b21[_0x541fc9(0xf7)]();continue;case'2':try{await TestHubHandler[_0x541fc9(0xe8)]();}catch(_0x2e763a){logger[_0x541fc9(0x150)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x541fc9(0x127)](_0x2e763a));}continue;case'3':_0x3397b6[_0x541fc9(0x179)]=_testErrorData;continue;case'4':utilities[_0x541fc9(0x11b)](_0x3397b6);continue;}break;}});async function _0x435caf(){const _0x293f24=_0xd1a34f;try{await _0x228b21[_0x293f24(0x193)](),await _0x228b21[_0x293f24(0x178)]();}finally{process[_0x293f24(0x138)](_0xb18276),await _0x228b21[_0x293f24(0x101)]();}}PerformanceTester[_0xd1a34f(0x194)](PerformanceEvents[_0xd1a34f(0x14e)]),await _0x50a341[_0xd1a34f(0x128)](_0x435caf);}module[a2_0x395eab(0x192)]=run;
|
|
2
|
+
'use strict';function a2_0x35a1(_0x1ec4b2,_0x56e575){const _0x45a3e7=a2_0x45a3();return a2_0x35a1=function(_0x35a122,_0x5e2c6c){_0x35a122=_0x35a122-0x179;let _0x24791a=_0x45a3e7[_0x35a122];return _0x24791a;},a2_0x35a1(_0x1ec4b2,_0x56e575);}const a2_0x576839=a2_0x35a1;(function(_0x250a5f,_0x1c8fbe){const _0x325886=a2_0x35a1,_0x4204e3=_0x250a5f();while(!![]){try{const _0x1f4256=-parseInt(_0x325886(0x213))/0x1*(parseInt(_0x325886(0x180))/0x2)+-parseInt(_0x325886(0x1db))/0x3*(-parseInt(_0x325886(0x1e2))/0x4)+-parseInt(_0x325886(0x17d))/0x5+parseInt(_0x325886(0x1d3))/0x6*(-parseInt(_0x325886(0x199))/0x7)+parseInt(_0x325886(0x1c4))/0x8+-parseInt(_0x325886(0x200))/0x9+parseInt(_0x325886(0x187))/0xa;if(_0x1f4256===_0x1c8fbe)break;else _0x4204e3['push'](_0x4204e3['shift']());}catch(_0x244f03){_0x4204e3['push'](_0x4204e3['shift']());}}}(a2_0x45a3,0x632ea));const fs=require('fs'),path=require(a2_0x576839(0x1c5)),util=require(a2_0x576839(0x1af)),process=require(a2_0x576839(0x1cf)),logger=require(a2_0x576839(0x1ed))['winstonLogger'],{default:BrowserStackSetup}=require(a2_0x576839(0x1c1)),helper=require(a2_0x576839(0x1fe)),utilities=require(a2_0x576839(0x1cb)),{checkAccessibilityPlatformConfig}=require(a2_0x576839(0x1f7)),{setAccessibilityCapabilities,processAccessibilityCaps}=require(a2_0x576839(0x1b9)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x576839(0x1fe)),CodeceptJS=requireModule('codeceptjs/lib/index.js',a2_0x576839(0x1ab)),testOpsHelper=require('../../helpers/test-observability/utils'),TestHubHandler=require(a2_0x576839(0x20d)),BrowserstackCLI=require(a2_0x576839(0x1bb)),constants=require('../utils/constants'),PerformanceTester=require(a2_0x576839(0x1fb)),{FRAMEWORKS}=require(a2_0x576839(0x197)),PerformanceEvents=require(a2_0x576839(0x20b))[a2_0x576839(0x1d4)],ClientTroubleShootingService=require(a2_0x576839(0x1e5)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x370b82,_0x5ab11d)=>{const _0x3f55ac=a2_0x576839,_0x53c3bc={};_0x53c3bc[_0x3f55ac(0x1d1)]=function(_0xe4e33b,_0x1259f2){return _0xe4e33b===_0x1259f2;},_0x53c3bc[_0x3f55ac(0x1e3)]=_0x3f55ac(0x19f),_0x53c3bc[_0x3f55ac(0x212)]=_0x3f55ac(0x1ae);const _0x4b6af8=_0x53c3bc;let _0x5d54d6=null;const _0x425e22={};let _0x480bd3=_0x5ab11d[_0x3f55ac(0x1ea)](_0x4333a8=>_0x4333a8===_0x3f55ac(0x1e8));_0x4b6af8[_0x3f55ac(0x1d1)](_0x480bd3,-0x1)&&(_0x480bd3=_0x5ab11d[_0x3f55ac(0x1ea)](_0x373358=>_0x373358==='-c'));const _0x33abbb=!helper['isUndefined'](_0x370b82[_0x3f55ac(0x217)])?helper[_0x3f55ac(0x21d)](_0x370b82['config']):null,_0x4d98d1=!helper[_0x3f55ac(0x20f)](_0x370b82['c'])?helper[_0x3f55ac(0x21d)](_0x370b82['c']):null;if(!helper[_0x3f55ac(0x20f)](_0x370b82[_0x3f55ac(0x217)])&&!_0x33abbb)logger[_0x3f55ac(0x1b6)](_0x3f55ac(0x203)+_0x370b82[_0x3f55ac(0x217)]+_0x3f55ac(0x1da));else!helper['isUndefined'](_0x370b82['c'])&&!_0x4d98d1&&logger['warn'](_0x3f55ac(0x1d7)+_0x370b82['c']+_0x3f55ac(0x1da));if(_0x33abbb&&fs[_0x3f55ac(0x1f5)](_0x33abbb))_0x5d54d6=_0x33abbb,_0x5ab11d[_0x3f55ac(0x191)](_0x480bd3,0x2);else{if(_0x4d98d1&&fs['existsSync'](_0x4d98d1))_0x5d54d6=_0x4d98d1,_0x5ab11d['splice'](_0x480bd3,0x2);else{if(fs[_0x3f55ac(0x1f5)](path[_0x3f55ac(0x1a7)](process[_0x3f55ac(0x1a3)](),_0x4b6af8[_0x3f55ac(0x1e3)])))_0x5d54d6=path['join'](process[_0x3f55ac(0x1a3)](),_0x4b6af8[_0x3f55ac(0x1e3)]);else fs[_0x3f55ac(0x1f5)](path['join'](process['cwd'](),_0x4b6af8['QwoZv']))&&(_0x5d54d6=path[_0x3f55ac(0x1a7)](process[_0x3f55ac(0x1a3)](),_0x4b6af8['QwoZv']));}}return process[_0x3f55ac(0x1ba)][_0x3f55ac(0x182)]=_0x5d54d6,_0x5d54d6;},getO11yRerunPattern=()=>{const _0x34b975=a2_0x576839,_0x255987=helper[_0x34b975(0x208)](process['env'][_0x34b975(0x1aa)]);if(_0x255987){const _0x4ec5ec=process[_0x34b975(0x1ba)]['BROWSERSTACK_RERUN_TESTS'],_0x4d1e56=[];if(helper['validateRerunTestList'](_0x4ec5ec)&&!helper[_0x34b975(0x20f)](_0x4ec5ec)){_0x4ec5ec['split'](',')['map'](_0x1ef5ad=>{const _0x2c283a=_0x34b975;_0x4d1e56[_0x2c283a(0x179)]('('+_0x1ef5ad[_0x2c283a(0x18a)]()+')');});const _0x3c97f0='^'+_0x4d1e56[_0x34b975(0x1a7)]('|')+'$';return _0x3c97f0;}}return null;},a2_0x53ceb2={};function a2_0x45a3(){const _0x115c81=['QtXMF','UhufS','../utils/clientTroubleshootingService','mergeDeep','load','--config','cmsuk','findIndex','exports','chdir','../../helpers/logger','jWuXi','forEach','hubUrl','/wd/hub','failed','KDyUG','debug','existsSync','YEHCq','../../helpers/accessibility-automation/helper','sZUzg','ymEbC','webkit','../../helpers/performance/performance-tester','stringify','test','../../helpers/helper','kXEkx','844371NSolJv','RtrWp','run','Ignoring\x20--config\x20path\x20\x22','CodeceptJS\x20','root','BrowserStackPlugin','getPlaywrightUrl','isTrue','isRunning','testContextOptions','../../helpers/performance/constants','host','../../helpers/testhub/testhubHandler','chrome','isUndefined','SLShJ','assign','QwoZv','97921GYMeZy','err','finalExecution','_ensureInitialized','config','browserName','getInstance','desiredCapabilities','playwright-chromium','WebDriver','resolveWithinCwd','function','tgbLo','end','Started\x20:\x20','Passed\x20:\x20','EsGVc','0|2|3|4|1','BROWSERSTACK_TEST_ACCESSIBILITY_YML','Playwright','ANLdU','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','profile','push','skipSessionStatus','platforms','all','2486550jEldez','rKOoP','Unable\x20to\x20resolve\x20codeceptjs\x20version:\x20','16ukOyJg','accessibility','USER_CONFIG_DETAILS_PATH','initialize','zJzYJ','ZlDmH','spawn','14181680AbFVJA','accessibilityOptions','setupBrowserstackLocal','trim','lqqxz','format','event','DxNWB','Workers','helpers','splice','Bmren','log','FRAMEWORKS','testObservability','CODECEPT_CUCUMBER','../../helpers/test-observability/constants','CODECEPT','3682959ygpvgb','require','ImWnP','getUserWorkerCount','split','playwright-webkit','codecept.conf.js','frameworkName','bootstrapAll','SDK_CLEANUP','cwd','CQcNw','result','htGYb','join','printResults','validPlatformsPresent','BROWSERSTACK_RERUN','codeceptjs','parallelsPerPlatform','jhDNM','codecept.json','util','addTests','LSPOp','BROWSERSTACK_FRAMEWORK','browserStackCwd','dTFss','toLowerCase','warn','accessKey','plugins','../../bin/playwright/accessibility-helper','env','../v2/browserstackCLI','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','prepareCapabilities','stack','getPlatformName','title','../../helpers/BrowserStackSetup','launchBuild','browser','6422672cUEuKc','path','replace','browserWSEndpoint','mSJfK','skipSessionName','passed','../../helpers/utilities','Failed\x20:\x20','start','\x20detected\x20but\x20Workers._ensureInitialized\x20is\x20missing;\x20worker\x20suite\x20grouping\x20may\x20come\x20up\x20empty\x20(\x22No\x20tests\x20found\x20after\x20filtering\x22).\x20The\x20installed\x20codeceptjs\x20build\x20may\x20not\x20match\x20the\x20SDK\x27s\x204.x\x20ESM\x20interop.','process','handleApp','gZFzv','key','6PuvFNi','EVENTS','BROWSERSTACK_TEST_OBSERVABILITY_YML','SDK_SETUP','Ignoring\x20-c\x20config\x20path\x20\x22','BrowserStackPlugin.js','info','\x22:\x20it\x20resolves\x20outside\x20the\x20project\x20directory.','138fPUHrG','user','teardownAll','now','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','enabled','map','7468mPgBKA'];a2_0x45a3=function(){return _0x115c81;};return a2_0x45a3();}a2_0x53ceb2[a2_0x576839(0x20e)]='chromium',a2_0x53ceb2[a2_0x576839(0x21b)]='chromium',a2_0x53ceb2['playwright-firefox']='firefox',a2_0x53ceb2[a2_0x576839(0x19e)]=a2_0x576839(0x1fa);const pwToCodeceptBrowser=a2_0x53ceb2;async function run(_0x431f22,_0x194e27,_0x18dccc){const _0x5c6a35=a2_0x576839,_0x5cc6be={'nwmbE':function(_0x3ce85a,_0x3820c4,_0x5ad913,_0x2371ed){return _0x3ce85a(_0x3820c4,_0x5ad913,_0x2371ed);},'rKOoP':function(_0x4b515b,_0x1df5ac){return _0x4b515b+_0x1df5ac;},'WeMpk':function(_0x4ff8d1,_0x5a9536){return _0x4ff8d1(_0x5a9536);},'LSPOp':function(_0x31d1a7,_0x1091cc,_0x369646){return _0x31d1a7(_0x1091cc,_0x369646);},'RtrWp':_0x5c6a35(0x190),'kXEkx':function(_0x8c3643){return _0x8c3643();},'jWuXi':_0x5c6a35(0x1f1),'rhMAS':function(_0x4f36b4){return _0x4f36b4();},'ANLdU':function(_0x110049){return _0x110049();},'PUitf':_0x5c6a35(0x1cc),'DxNWB':_0x5c6a35(0x222),'dTFss':_0x5c6a35(0x221),'sZUzg':_0x5c6a35(0x224),'dVFfj':_0x5c6a35(0x1bc),'jhDNM':function(_0x21c55b,_0x3415f2,_0x200d13){return _0x21c55b(_0x3415f2,_0x200d13);},'mSJfK':'Playwright','KDyUG':_0x5c6a35(0x21c),'EsGVc':function(_0x636909,_0x10c7e3){return _0x636909(_0x10c7e3);},'CQcNw':function(_0xcbf289,_0x41a37e){return _0xcbf289!=_0x41a37e;},'lqqxz':'true','UiEBg':function(_0x5cf260,_0xe426f8,_0x1a080a){return _0x5cf260(_0xe426f8,_0x1a080a);},'cmsuk':'gherkin','Bmren':function(_0x297a0a,_0x127451){return _0x297a0a(_0x127451);},'JMLuD':function(_0x11aef7,_0x4935ac){return _0x11aef7*_0x4935ac;},'ZlDmH':_0x5c6a35(0x1c3),'UhufS':function(_0x35dbef,_0x44cd80,_0x101803){return _0x35dbef(_0x44cd80,_0x101803);},'ymEbC':_0x5c6a35(0x21a),'YEHCq':_0x5c6a35(0x205),'SLShJ':_0x5c6a35(0x1d8),'htGYb':_0x5c6a35(0x1b3),'tgbLo':_0x5c6a35(0x1ab),'jHVge':function(_0x47d3d3,_0x16377d){return _0x47d3d3===_0x16377d;},'zJzYJ':_0x5c6a35(0x21e),'ImWnP':'codeceptjs/package.json','aNKjD':function(_0x13f24b,_0x164910){return _0x13f24b>=_0x164910;},'neMIo':function(_0x5922df){return _0x5922df();}};await _0x18dccc[_0x5c6a35(0x183)](_0x431f22);!BrowserstackCLI[_0x5c6a35(0x219)]()[_0x5c6a35(0x209)]()&&await _0x18dccc[_0x5c6a35(0x189)]();await helper[_0x5c6a35(0x1d0)](_0x18dccc['config']);if(!_0x18dccc['config'])return;process[_0x5c6a35(0x229)]=_0x431f22[_0x5c6a35(0x229)];_0x431f22[_0x5c6a35(0x229)]&&(process[_0x5c6a35(0x1ba)]['profile']=_0x431f22[_0x5c6a35(0x229)]);const _0x55f00e=_0x5cc6be['LSPOp'](getUserCodeceptJSConfigs,_0x431f22,_0x194e27);let _0x72d1d3={};_0x55f00e?(logger['info'](_0x5c6a35(0x1df)+_0x55f00e),_0x72d1d3=CodeceptJS[_0x5c6a35(0x217)][_0x5c6a35(0x1e7)](_0x55f00e)):logger[_0x5c6a35(0x1d9)](_0x5cc6be['dVFfj']);let _0x233307=![];_0x5cc6be[_0x5c6a35(0x1ad)](nestedKeyValue,_0x72d1d3,[_0x5cc6be[_0x5c6a35(0x201)],_0x5cc6be[_0x5c6a35(0x1c8)]])&&(_0x233307=!![]);const _0x2f98d=_0x233307?_0x5cc6be['mSJfK']:_0x5cc6be[_0x5c6a35(0x1f3)];let _0x317399=!_0x233307?helper['useW3C'](_0x18dccc[_0x5c6a35(0x217)]):![];!helper['isUndefined'](_0x18dccc['config'][_0x5c6a35(0x188)])&&(process[_0x5c6a35(0x1ba)][_0x5c6a35(0x228)]=JSON[_0x5c6a35(0x1fc)](_0x18dccc['config'][_0x5c6a35(0x188)]));let _0x2fc704=_0x18dccc[_0x5c6a35(0x217)][_0x5c6a35(0x181)];_0x2fc704=_0x2fc704||_0x5cc6be[_0x5c6a35(0x223)](checkAccessibilityPlatformConfig,_0x18dccc[_0x5c6a35(0x217)]),process[_0x5c6a35(0x1ba)][_0x5c6a35(0x225)]=_0x2fc704;_0x2fc704&&(_0x317399=!_0x2fc704);_0x5cc6be[_0x5c6a35(0x1a4)](_0x18dccc[_0x5c6a35(0x217)][_0x5c6a35(0x195)],null)?process[_0x5c6a35(0x1ba)][_0x5c6a35(0x1d5)]=_0x18dccc[_0x5c6a35(0x217)][_0x5c6a35(0x195)]:process[_0x5c6a35(0x1ba)][_0x5c6a35(0x1d5)]=_0x5cc6be[_0x5c6a35(0x18b)];const _0x2c7db7=_0x5cc6be['UiEBg'](nestedKeyValue,_0x72d1d3,[_0x5cc6be[_0x5c6a35(0x1e9)]]),_0x79db70=_0x2c7db7&&!helper['isEmpty'](_0x2c7db7)?FRAMEWORKS[_0x5c6a35(0x196)]:FRAMEWORKS[_0x5c6a35(0x198)],_0x1f5ddd=await TestHubHandler[_0x5c6a35(0x1c2)](_0x79db70,_0x18dccc);await testOpsHelper['printBuildLink']();_0x2fc704&&_0x5cc6be[_0x5c6a35(0x192)](setAccessibilityCapabilities,_0x18dccc[_0x5c6a35(0x217)]);const _0x4d72bb={},_0x1f997b=[],_0x412eca=_0x18dccc[_0x5c6a35(0x217)][_0x5c6a35(0x1ac)]||helper[_0x5c6a35(0x19c)](_0x431f22,_0x194e27,_0x18dccc[_0x5c6a35(0x217)],constants[_0x5c6a35(0x194)]['CODECEPT'])||0x1;let _0x2ef414=0x1;if(_0x5cc6be[_0x5c6a35(0x227)](isBrowserstackInfra)){const _0x445fa7=helper[_0x5c6a35(0x1bd)](_0x18dccc['config'],_0x317399,constants['FRAMEWORKS'][_0x5c6a35(0x198)]);_0x445fa7[_0x5c6a35(0x1ef)](_0x376e5a=>{helper['setAdditionalCapabilities'](_0x376e5a);}),helper[_0x5c6a35(0x1a9)](_0x18dccc[_0x5c6a35(0x217)])?_0x2ef414=_0x5cc6be['JMLuD'](_0x412eca,_0x18dccc['config'][_0x5c6a35(0x17b)]['length']):_0x2ef414=_0x412eca,_0x445fa7['forEach'](_0x56f436=>{const _0x18c33f=_0x5c6a35,_0x26811d=_0x5cc6be[_0x18c33f(0x17e)](helper[_0x18c33f(0x1bf)](_0x56f436,'_'),'_'+Date[_0x18c33f(0x1de)]()),_0x2c0eda=((()=>{const _0x52e73a=_0x18c33f;if(_0x233307){const _0x1255ea=pwToCodeceptBrowser[_0x56f436[_0x52e73a(0x218)]]||_0x56f436[_0x52e73a(0x218)],_0x52e9a4=helper[_0x52e73a(0x207)](_0x18dccc[_0x52e73a(0x217)]),_0x258a91=Object[_0x52e73a(0x211)]({},_0x56f436);return _0x5cc6be['nwmbE'](processAccessibilityCaps,_0x258a91,_0x52e9a4,null),{'browser':_0x1255ea,[_0x1255ea]:{'browserWSEndpoint':_0x5cc6be[_0x52e73a(0x17e)](_0x52e9a4,_0x5cc6be['WeMpk'](encodeURIComponent,JSON['stringify'](_0x258a91)))}};}const _0xe37101={};return _0xe37101[_0x52e73a(0x21a)]=_0x56f436,_0xe37101[_0x52e73a(0x1dc)]=_0x18dccc['config']['userName'],_0xe37101[_0x52e73a(0x1d2)]=_0x18dccc[_0x52e73a(0x217)][_0x52e73a(0x1b7)],_0xe37101;})()),_0x381461=_0x5cc6be[_0x18c33f(0x1b1)](nestedKeyValue,_0x72d1d3,[_0x5cc6be[_0x18c33f(0x201)],_0x2f98d]);_0x4d72bb[_0x26811d]=_0x381461?helper['mergeDeep'](_0x2c0eda,_0x381461):_0x2c0eda;if(_0x233307)_0x4d72bb[_0x26811d][_0x18c33f(0x1c3)]=pwToCodeceptBrowser[_0x56f436[_0x18c33f(0x218)]]||_0x56f436[_0x18c33f(0x218)];else{_0x4d72bb[_0x26811d][_0x18c33f(0x1c3)]=_0x56f436[_0x18c33f(0x218)]||_0x2c0eda[_0x18c33f(0x1c3)];if(_0x5cc6be[_0x18c33f(0x1ff)](isBrowserstackInfra)){_0x4d72bb[_0x26811d][_0x18c33f(0x20c)]=constants[_0x18c33f(0x1f0)]['replace'](_0x5cc6be[_0x18c33f(0x1ee)],'')[_0x18c33f(0x1c6)](/https?:\/\//,'');;_0x4d72bb[_0x26811d]['path']=_0x5cc6be[_0x18c33f(0x1ee)];}}_0x1f997b['push'](_0x26811d);});}else{_0x2ef414=0x1;if(_0x233307){const _0x54bc60=_0x5cc6be[_0x5c6a35(0x1b1)](nestedKeyValue,_0x72d1d3,[_0x5cc6be['RtrWp'],_0x2f98d,_0x5cc6be[_0x5c6a35(0x185)]]),_0x462dc1=_0x5cc6be[_0x5c6a35(0x1e4)](nestedKeyValue,_0x72d1d3,[_0x5cc6be[_0x5c6a35(0x201)],_0x2f98d,_0x54bc60]);if(_0x462dc1&&_0x462dc1['browserWSEndpoint']){const _0x5b98d5={};_0x5b98d5['platforms']=[],_0x462dc1[_0x5c6a35(0x1c7)]=helper[_0x5c6a35(0x1bd)](Object['assign']({},_0x18dccc[_0x5c6a35(0x217)],_0x5b98d5),null,_0x79db70[_0x5c6a35(0x1b5)](),null,null,_0x462dc1['browserWSEndpoint']);}}else{if(_0x5cc6be[_0x5c6a35(0x1e4)](nestedKeyValue,_0x72d1d3,[_0x5cc6be['RtrWp'],_0x2f98d])){const _0x18aad8={};_0x18aad8[_0x5c6a35(0x17b)]=[],_0x72d1d3[_0x5cc6be[_0x5c6a35(0x201)]][_0x2f98d][_0x5cc6be[_0x5c6a35(0x1f9)]]=helper['prepareCapabilities'](Object[_0x5c6a35(0x211)]({},_0x18dccc[_0x5c6a35(0x217)],_0x18aad8),null,_0x79db70[_0x5c6a35(0x1b5)](),_0x5cc6be[_0x5c6a35(0x1b1)](nestedKeyValue,_0x72d1d3,[_0x5cc6be['RtrWp'],_0x2f98d,_0x5cc6be['ymEbC']])||{},null,null);}}_0x4d72bb[_0x5cc6be[_0x5c6a35(0x1f6)]]=_0x72d1d3,_0x1f997b['push'](_0x5cc6be[_0x5c6a35(0x1f6)]);}const _0x54a039={};_0x54a039['testConfig']=_0x55f00e;const _0x2acf31=_0x54a039,_0xdf3fd3=path['join'](__dirname,_0x5cc6be[_0x5c6a35(0x210)]),_0x3f266d=process[_0x5c6a35(0x1a3)]();process['env'][_0x5cc6be[_0x5c6a35(0x1a6)]]=_0x3f266d;_0x55f00e&&process[_0x5c6a35(0x1ec)](path['dirname'](_0x55f00e));process['env'][_0x5c6a35(0x1b2)]=process[_0x5c6a35(0x1ba)][_0x5c6a35(0x1b2)]||_0x5cc6be['tgbLo'];const _0x13a1c6=new CodeceptJS[(_0x5c6a35(0x18f))](null,_0x2acf31);if(_0x5cc6be['jHVge'](typeof _0x13a1c6[_0x5c6a35(0x216)],_0x5cc6be[_0x5c6a35(0x184)]))await _0x13a1c6[_0x5c6a35(0x216)]();else{let _0x4f06cf;try{_0x4f06cf=_0x5cc6be[_0x5c6a35(0x1b1)](requireModule,_0x5cc6be[_0x5c6a35(0x19b)],_0x5cc6be[_0x5c6a35(0x21f)])['version'];}catch(_0x10ab24){logger[_0x5c6a35(0x1f4)](_0x5c6a35(0x17f)+util['format'](_0x10ab24));}_0x4f06cf&&_0x5cc6be['aNKjD'](_0x5cc6be[_0x5c6a35(0x1b1)](parseInt,_0x4f06cf[_0x5c6a35(0x19d)]('.')[0x0],0xa),0x4)&&logger[_0x5c6a35(0x1b6)](_0x5c6a35(0x204)+_0x4f06cf+_0x5c6a35(0x1ce));}const _0x3929a0=_0x13a1c6['createGroupsOfSuites'](_0x412eca),_0x398dc2=testOpsHelper['isTestObservabilitySession'](),_0x47dd1e=_0x1f997b[_0x5c6a35(0x1e1)](_0x482b04=>{const _0x3c8f53=_0x5c6a35,_0x37ff58={};_0x37ff58[_0x3c8f53(0x226)]=_0x4d72bb[_0x482b04];const _0x308c5d={};_0x308c5d[_0x3c8f53(0x21c)]=_0x4d72bb[_0x482b04];const _0x31e7d2=_0x233307?_0x37ff58:_0x308c5d,_0x2b7f18=_0x5cc6be['rhMAS'](getO11yRerunPattern),_0x109eb2={};_0x109eb2['helpers']=_0x31e7d2;const _0x26eac8={};_0x26eac8[_0x3c8f53(0x19a)]=_0xdf3fd3,_0x26eac8[_0x3c8f53(0x1e0)]=!![],_0x26eac8[_0x3c8f53(0x1c9)]=_0x18dccc['config'][_0x3c8f53(0x20a)][_0x3c8f53(0x1c9)],_0x26eac8['skipSessionStatus']=_0x18dccc[_0x3c8f53(0x217)]['testContextOptions'][_0x3c8f53(0x17a)],_0x26eac8[_0x3c8f53(0x195)]=_0x398dc2,_0x26eac8[_0x3c8f53(0x1a0)]=_0x79db70;const _0xa625b4={};_0xa625b4[_0x3c8f53(0x206)]=_0x26eac8;const _0x15abfc={};return _0x15abfc[_0x3c8f53(0x1b8)]=_0xa625b4,helper[_0x3c8f53(0x1e6)]({},_0x72d1d3,_0x5cc6be[_0x3c8f53(0x227)](isBrowserstackInfra)?_0x109eb2:{},_0x2b7f18?{'grep':_0x2b7f18}:{},_0x15abfc);});for(const _0x58a9fd of _0x47dd1e){for(const _0x4c3789 of _0x3929a0){const _0x2593a8=_0x13a1c6[_0x5c6a35(0x186)]();_0x2593a8[_0x5c6a35(0x1b0)](_0x4c3789),_0x2593a8['addConfig'](_0x58a9fd);const _0x58d48c={};_0x58d48c[_0x5c6a35(0x217)]=_0x55f00e,_0x2593a8['addOptions'](Object['assign'](_0x58d48c,_0x431f22));}}_0x13a1c6['on'](CodeceptJS['event'][_0x5c6a35(0x1fd)][_0x5c6a35(0x1f2)],(_0x88aaf3,_0x1557ec)=>{const _0x5b04b8=_0x5c6a35;console[_0x5b04b8(0x193)](_0x5cc6be['PUitf'],_0x88aaf3[_0x5b04b8(0x1c0)]);const _0x5a76d3={[_0x88aaf3['title']]:_0x88aaf3[_0x5b04b8(0x214)][_0x5b04b8(0x1be)]};_testErrorData[_0x5b04b8(0x179)](_0x5a76d3);}),_0x13a1c6['on'](CodeceptJS[_0x5c6a35(0x18d)][_0x5c6a35(0x1fd)][_0x5c6a35(0x1ca)],async _0x7e4d32=>{const _0xd55a0d=_0x5c6a35;console[_0xd55a0d(0x193)](_0x5cc6be[_0xd55a0d(0x18e)],_0x7e4d32[_0xd55a0d(0x1c0)]);}),_0x13a1c6['on'](CodeceptJS[_0x5c6a35(0x18d)][_0x5c6a35(0x1fd)]['before'],async _0x3c33c2=>{const _0x10e7e4=_0x5c6a35;console[_0x10e7e4(0x193)](_0x5cc6be[_0x10e7e4(0x1b4)],_0x3c33c2[_0x10e7e4(0x1c0)]);}),_0x13a1c6['on'](CodeceptJS[_0x5c6a35(0x18d)][_0x5c6a35(0x17c)][_0x5c6a35(0x1a5)],async()=>{const _0x1b15d3=_0x5c6a35,_0x20eb74=_0x5cc6be[_0x1b15d3(0x1f8)][_0x1b15d3(0x19d)]('|');let _0x31482c=0x0;while(!![]){switch(_0x20eb74[_0x31482c++]){case'0':PerformanceTester[_0x1b15d3(0x1cd)](PerformanceEvents[_0x1b15d3(0x1a2)]);continue;case'1':_0x13a1c6[_0x1b15d3(0x1a8)]();continue;case'2':_0x18dccc['errorMessage']=_testErrorData;continue;case'3':utilities[_0x1b15d3(0x215)](_0x18dccc);continue;case'4':try{await TestHubHandler['stop']();}catch(_0x406e3e){logger[_0x1b15d3(0x1f4)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x1b15d3(0x18c)](_0x406e3e));}continue;}break;}});async function _0x460362(){const _0x9a9156=_0x5c6a35;try{await _0x13a1c6[_0x9a9156(0x1a1)](),await _0x13a1c6[_0x9a9156(0x202)]();}finally{process[_0x9a9156(0x1ec)](_0x3f266d),await _0x13a1c6[_0x9a9156(0x1dd)]();}}PerformanceTester[_0x5c6a35(0x220)](PerformanceEvents[_0x5c6a35(0x1d6)]),await _0x5cc6be['neMIo'](_0x460362);}module[a2_0x576839(0x1eb)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a3_0x1c8490=a3_0x1ccc;(function(_0x4c1a6b,_0x9725ec){const _0x19286e=a3_0x1ccc,_0x5bb4e5=_0x4c1a6b();while(!![]){try{const _0x36417e=parseInt(_0x19286e(0xb3))/0x1+parseInt(_0x19286e(0x9e))/0x2*(-parseInt(_0x19286e(0xaa))/0x3)+parseInt(_0x19286e(0xcc))/0x4+-parseInt(_0x19286e(0xa5))/0x5*(-parseInt(_0x19286e(0xe6))/0x6)+-parseInt(_0x19286e(0xad))/0x7*(parseInt(_0x19286e(0xa6))/0x8)+parseInt(_0x19286e(0xdb))/0x9+-parseInt(_0x19286e(0xdc))/0xa;if(_0x36417e===_0x9725ec)break;else _0x5bb4e5['push'](_0x5bb4e5['shift']());}catch(_0x50cf53){_0x5bb4e5['push'](_0x5bb4e5['shift']());}}}(a3_0x3e14,0xb228e));const {isUndefined,nestedKeyValue}=require(a3_0x1c8490(0xc1)),logger=require('../../helpers/logger')[a3_0x1c8490(0xd5)],PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{getObservabilityLinkedProductName}=require(a3_0x1c8490(0x9f)),accessibilityHelper=require(a3_0x1c8490(0xe0)),{isBrowserstackInfra}=require('../../helpers/helper'),globals=require(a3_0x1c8490(0xe2)),getOSVersionFromCaps=_0x2bb255=>{const _0x287752=a3_0x1c8490,_0xbe9755={};_0xbe9755[_0x287752(0x98)]=_0x287752(0xa4),_0xbe9755['BjyGD']=_0x287752(0xe7),_0xbe9755[_0x287752(0xba)]=_0x287752(0xe5),_0xbe9755[_0x287752(0xc5)]='osVersion',_0xbe9755[_0x287752(0xaf)]=_0x287752(0xae);const _0x32336e=_0xbe9755;if(!_0x2bb255)return null;const _0x316d70=_0x2bb255[_0x32336e['qKoev']],_0x546b91=[_0x32336e[_0x287752(0xd8)],_0x32336e['oLthU'],_0x32336e['SaXNU'],_0x32336e[_0x287752(0xaf)]];for(const _0x462e75 of _0x546b91){if(_0x316d70&&_0x316d70[_0x462e75])return _0x316d70[_0x462e75];else{if(_0x2bb255[_0x462e75])return _0x2bb255[_0x462e75];}}return null;};function a3_0x1ccc(_0x5159e6,_0xfb2a5d){const _0x3e1412=a3_0x3e14();return a3_0x1ccc=function(_0x1ccc44,_0x24d9d1){_0x1ccc44=_0x1ccc44-0x97;let _0x1fffc6=_0x3e1412[_0x1ccc44];return _0x1fffc6;},a3_0x1ccc(_0x5159e6,_0xfb2a5d);}function a3_0x3e14(){const _0x2849ae=['isAccessibilityPlatform','WebDriver','gylUd','yKlrX','browserName','bsSessionId','winstonLogger','CfJZo','GPIRa','BjyGD','\x20or\x20higher\x20','IAsgi','12746061MeYHlr','31891480EOyzzx','__cloud_provider___','platformName','processWebDriverConfig','../../helpers/accessibility-automation/helper','parse','../../helpers/globals.js','kYAiW','accessibilityPlatform','platform_version','18StQAdc','platformVersion','browserWSEndpoint','haUAG','Playwright','capabilities','qKoev','hBYKV','bGrts','deviceName','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','AdpCW','2CJUGaY','../../helpers/test-observability/utils','\x20browser\x20version\x20','yFhcU','constructor','caps','bstack:options','1641975oJGhHP','8RbnRni','LcDFB','browser_version','XDesE','453774UkIrDY','warn','string','6596156ZiLXir','os_version','ETuJI','FJdYW','AUpHw','unknown_grid','1414983QeDdyg','shouldPatchExecuteScript','setGlobal','browser','NNdjn','name','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','oLthU','browserVersion','getDetails','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','IseTC','browserstack_executor','latest','../../helpers/helper','iezeN','hbTjF','LBWil','SaXNU','config','VQmpM','getBrowserDisplayName','DMaVT','browserstack_accessibility_automation_script','fetchPlatformDetails','4784236UfJfzX','cloudProvider','searchParams'];a3_0x3e14=function(){return _0x2849ae;};return a3_0x3e14();}exports[a3_0x1c8490(0xcb)]=_0x2e9477=>{const _0x3f83c7=a3_0x1c8490,_0x1c6216={'hbTjF':_0x3f83c7(0xb2),'AUpHw':function(_0x335a9a,_0xddd514){return _0x335a9a===_0xddd514;},'yFhcU':_0x3f83c7(0xd0),'XDesE':function(_0x20cfef,_0x5e1359){return _0x20cfef(_0x5e1359);},'gylUd':function(_0x27cd1a,_0x300c95,_0x5aa826){return _0x27cd1a(_0x300c95,_0x5aa826);},'VQmpM':_0x3f83c7(0xc6),'IseTC':'desiredCapabilities','CfJZo':_0x3f83c7(0xea),'kYAiW':_0x3f83c7(0xb6),'qgDmu':_0x3f83c7(0xe8),'NNdjn':_0x3f83c7(0xa3),'AdpCW':function(_0x2764c2,_0x28e4fb){return _0x2764c2(_0x28e4fb);}};if(!_0x2e9477)return null;let _0xe8e6ee=global[_0x3f83c7(0xdd)]||_0x1c6216[_0x3f83c7(0xc3)];if(_0x1c6216[_0x3f83c7(0xb1)](_0x2e9477[_0x3f83c7(0xa2)][_0x3f83c7(0xb8)],_0x1c6216[_0x3f83c7(0xa1)])){const _0x57a2dd=_0x2e9477['browser'];if(!_0x57a2dd)return null;const _0xbed1c6=_0x57a2dd['capabilities'],_0x13416d=_0x1c6216[_0x3f83c7(0xa9)](getOSVersionFromCaps,_0x1c6216['gylUd'](nestedKeyValue,_0x2e9477,[_0x1c6216[_0x3f83c7(0xc7)],_0x1c6216[_0x3f83c7(0xbe)]]));return{[_0xe8e6ee]:{'browser':_0xbed1c6[_0x3f83c7(0xd3)],'browser_version':_0xbed1c6['browserVersion'],'capabilities':_0xbed1c6,'platform':_0xbed1c6[_0x3f83c7(0xde)],'platform_version':_0xbed1c6[_0x3f83c7(0xe7)]||_0x13416d,'product':_0x1c6216[_0x3f83c7(0xa9)](getObservabilityLinkedProductName,_0xbed1c6),'session_id':_0x57a2dd['sessionId']}};}else{if(_0x1c6216[_0x3f83c7(0xb1)](_0x2e9477[_0x3f83c7(0xa2)]['name'],_0x1c6216[_0x3f83c7(0xd6)])){const _0x2b4911=PlaywrightSessionDetails[_0x3f83c7(0xbc)]();_0xe8e6ee=_0x2b4911[_0x3f83c7(0xcd)]||_0xe8e6ee;const _0x5c5b20=_0x1c6216[_0x3f83c7(0xd1)](nestedKeyValue,_0x2e9477,[_0x1c6216[_0x3f83c7(0xc7)],_0x1c6216[_0x3f83c7(0xe3)],_0x1c6216['qgDmu']]),_0x3f7ce8=_0x5c5b20?JSON[_0x3f83c7(0xe1)](new URL(_0x5c5b20)[_0x3f83c7(0xce)]['get'](_0x1c6216[_0x3f83c7(0xb7)])):{};return{[_0xe8e6ee]:{'browser':_0x2b4911[_0x3f83c7(0xb6)]||_0x3f7ce8[_0x3f83c7(0xd3)],'browser_version':_0x2b4911[_0x3f83c7(0xa8)]||_0x3f7ce8[_0x3f83c7(0xa8)],'capabilities':_0x3f7ce8,'platform':_0x2b4911['platform'],'platform_version':_0x2b4911['platform_version'],'product':_0x1c6216[_0x3f83c7(0x9d)](getObservabilityLinkedProductName,_0x3f7ce8),'session_id':_0x2b4911[_0x3f83c7(0xd4)]}};}}};const setAccessibilityPlatformFlag=_0x2fd088=>{const _0x5f5465=a3_0x1c8490,_0x11c558={};_0x11c558[_0x5f5465(0xc4)]=_0x5f5465(0xcf);const _0x5873f0=_0x11c558;global[_0x5f5465(0xe4)]=_0x2fd088,globals[_0x5f5465(0xb5)](_0x5873f0[_0x5f5465(0xc4)],_0x2fd088);};exports[a3_0x1c8490(0xdf)]=_0x4b9126=>{const _0x4032be=a3_0x1c8490,_0x1ad2ce={'LcDFB':function(_0x36f5ab){return _0x36f5ab();},'FJdYW':function(_0xb5e5cf,_0x28fdf8){return _0xb5e5cf(_0x28fdf8);},'sIjJS':_0x4032be(0xbd),'IAsgi':function(_0x3f5b3c,_0x324937){return _0x3f5b3c!==_0x324937;},'iezeN':_0x4032be(0xc0),'ykGGf':'on\x20non-BrowserStack\x20infrastructure\x20','hBYKV':function(_0x4693b6,_0x18ef0c){return _0x4693b6(_0x18ef0c);},'bGrts':_0x4032be(0xb9)};if(_0x1ad2ce[_0x4032be(0xa7)](isAccessibilityAutomationSession)){const _0x7013fa=_0x4b9126['browser'],_0x12f281=_0x7013fa[_0x4032be(0x97)];_0x1ad2ce[_0x4032be(0xb0)](setAccessibilityPlatformFlag,!![]);!accessibilityHelper['isBrowserSupportedForAccessibility'](_0x12f281[_0x4032be(0xd3)])&&(logger[_0x4032be(0xab)](_0x1ad2ce['sIjJS']),_0x1ad2ce[_0x4032be(0xb0)](setAccessibilityPlatformFlag,![]));if(_0x1ad2ce[_0x4032be(0xda)](_0x12f281[_0x4032be(0xbb)],_0x1ad2ce[_0x4032be(0xc2)])){const _0xb44d4a=_0x1ad2ce[_0x4032be(0xa7)](isBrowserstackInfra),_0x5c03b6=accessibilityHelper['getMinVersionForBrowser'](_0x12f281['browserName'],_0xb44d4a),_0x5597d5=accessibilityHelper[_0x4032be(0xc8)](_0x12f281[_0x4032be(0xd3)]);if(!accessibilityHelper['isVersionSupported'](_0x12f281[_0x4032be(0xbb)],_0x5c03b6)){const _0x1ee0ae=_0xb44d4a?'':_0x1ad2ce['ykGGf'];logger[_0x4032be(0xab)](_0x4032be(0x9c)+_0x5597d5+_0x4032be(0xa0)+_0x5c03b6+_0x4032be(0xd9)+_0x1ee0ae+'.'),_0x1ad2ce[_0x4032be(0xb0)](setAccessibilityPlatformFlag,![]);}}!_0x1ad2ce[_0x4032be(0x99)](isUndefined,_0x12f281[_0x4032be(0x9b)])&&(logger[_0x4032be(0xab)](_0x1ad2ce[_0x4032be(0x9a)]),_0x1ad2ce[_0x4032be(0xb0)](setAccessibilityPlatformFlag,![]));}},exports[a3_0x1c8490(0xb4)]=_0x1a234a=>{const _0x3bf87e=a3_0x1c8490,_0x163f4b={};_0x163f4b['DMaVT']=function(_0x233420,_0x18cc55){return _0x233420!==_0x18cc55;},_0x163f4b['yKlrX']=_0x3bf87e(0xac),_0x163f4b[_0x3bf87e(0xe9)]=_0x3bf87e(0xbf),_0x163f4b[_0x3bf87e(0xd7)]=_0x3bf87e(0xca);const _0x29dd16=_0x163f4b;if(!_0x1a234a)return![];else{if(_0x29dd16[_0x3bf87e(0xc9)](typeof _0x1a234a,_0x29dd16[_0x3bf87e(0xd2)]))return!![];}return!_0x1a234a['includes'](_0x29dd16[_0x3bf87e(0xe9)])&&!_0x1a234a['includes'](_0x29dd16[_0x3bf87e(0xd7)]);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a4_0x391540=a4_0x4942;(function(_0x4829ec,_0x53da69){const _0x3da8f2=a4_0x4942,_0x70e45a=_0x4829ec();while(!![]){try{const _0xc5042c=parseInt(_0x3da8f2(0xc6))/0x1*(-parseInt(_0x3da8f2(0x111))/0x2)+-parseInt(_0x3da8f2(0x13d))/0x3+-parseInt(_0x3da8f2(0xc7))/0x4+parseInt(_0x3da8f2(0x175))/0x5*(-parseInt(_0x3da8f2(0xf2))/0x6)+-parseInt(_0x3da8f2(0x15d))/0x7*(parseInt(_0x3da8f2(0x1ad))/0x8)+parseInt(_0x3da8f2(0xcf))/0x9+parseInt(_0x3da8f2(0x18d))/0xa;if(_0xc5042c===_0x53da69)break;else _0x70e45a['push'](_0x70e45a['shift']());}catch(_0x4dbc4e){_0x70e45a['push'](_0x70e45a['shift']());}}}(a4_0x13bf,0xa230f));function a4_0x4942(_0x10bd95,_0x5cccf6){const _0x13bf67=a4_0x13bf();return a4_0x4942=function(_0x494277,_0x1ea149){_0x494277=_0x494277-0xc5;let _0x35d9c0=_0x13bf67[_0x494277];return _0x35d9c0;},a4_0x4942(_0x10bd95,_0x5cccf6);}const path=require(a4_0x391540(0x1c4)),util=require('util'),fs=require('fs'),{v4:uuidv4}=require(a4_0x391540(0x113)),{resolveBrowserTypeClass,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x391540(0x1a1)),testOpsHelper=require(a4_0x391540(0x166)),{getTestEnv}=require(a4_0x391540(0xff)),{FRAMEWORKS}=require(a4_0x391540(0x152)),logger=require(a4_0x391540(0x17d))[a4_0x391540(0xd2)],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),PlaywrightSessionDetails=require(a4_0x391540(0x126)),debug=testOpsHelper['debug'],{processAccessibilityCaps}=require(a4_0x391540(0x190)),Constants=require(a4_0x391540(0x107)),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x391540(0xd7)),constants=require(a4_0x391540(0x107)),STATE_PASSED='passed',STATE_FAILED='failed',a4_0x502b32={};a4_0x502b32[a4_0x391540(0x1a8)]='TestRunStarted',a4_0x502b32[a4_0x391540(0x164)]=a4_0x391540(0x135),a4_0x502b32['TEST_RUN_SKIPPED']=a4_0x391540(0x13a),a4_0x502b32[a4_0x391540(0xe3)]='HookRunStarted',a4_0x502b32['HOOK_RUN_FINISHED']='HookRunFinished';const TEST_EVENTS=a4_0x502b32,parseEvent=_0x57805b=>{const _0x39ba5b=a4_0x391540,_0x521c32={};_0x521c32[_0x39ba5b(0x1af)]=function(_0x35ef9e,_0x3016a5){return _0x35ef9e<_0x3016a5;},_0x521c32[_0x39ba5b(0x153)]=function(_0xb026bb,_0x4114ed){return _0xb026bb===_0x4114ed;},_0x521c32[_0x39ba5b(0x1bf)]='test',_0x521c32['kHvFD']=function(_0x22bb9c,_0x13a718){return _0x22bb9c===_0x13a718;},_0x521c32[_0x39ba5b(0x115)]='hook',_0x521c32[_0x39ba5b(0x182)]=function(_0x15f4d0,_0x241130){return _0x15f4d0===_0x241130;},_0x521c32['THIHs']=_0x39ba5b(0x134),_0x521c32[_0x39ba5b(0x12a)]=_0x39ba5b(0x102),_0x521c32['Bnzav']=function(_0x280673,_0x548108){return _0x280673===_0x548108;},_0x521c32['qsPxc']=_0x39ba5b(0x133);const _0x541ea7=_0x521c32,_0x106538=_0x57805b[_0x39ba5b(0x179)](/^(.*)Run(.*)$/);if(!_0x106538)return null;if(_0x541ea7[_0x39ba5b(0x1af)](_0x106538[_0x39ba5b(0xd5)],0x3))return null;const _0x49fc2d=_0x106538[0x1][_0x39ba5b(0x19e)](),_0x1bb4c5=_0x106538[0x2][_0x39ba5b(0x19e)]();return{'test':_0x541ea7[_0x39ba5b(0x153)](_0x49fc2d,_0x541ea7[_0x39ba5b(0x1bf)]),'hook':_0x541ea7['kHvFD'](_0x49fc2d,_0x541ea7[_0x39ba5b(0x115)]),'skipped':_0x541ea7['QNZCH'](_0x1bb4c5,_0x541ea7[_0x39ba5b(0xdd)]),'started':_0x541ea7[_0x39ba5b(0x153)](_0x1bb4c5,_0x541ea7[_0x39ba5b(0x12a)]),'finished':_0x541ea7[_0x39ba5b(0x118)](_0x1bb4c5,_0x541ea7[_0x39ba5b(0x17c)])};},mockPWBrowserType=_0x333508=>{const _0xef94cd=a4_0x391540,_0x539cd5={'kOEwO':function(_0x1508a9,_0x32fd46){return _0x1508a9===_0x32fd46;},'HisvI':'string','PSvBt':function(_0x3fbf30,_0x46ba48,_0x1dc7bd){return _0x3fbf30(_0x46ba48,_0x1dc7bd);},'XTCwl':_0xef94cd(0x16a),'ezqAY':function(_0x20124e,_0x1884cf){return _0x20124e(_0x1884cf);},'ubUmQ':'browserstack','gdZYf':function(_0x14fcb0,_0x467f04,_0x2561cc){return _0x14fcb0(_0x467f04,_0x2561cc);},'HyVWX':function(_0x5727ae){return _0x5727ae();},'uisfZ':function(_0x407199,_0x427279){return _0x407199(_0x427279);},'LUGMm':_0xef94cd(0x12d),'lMZyv':_0xef94cd(0x12b),'zfCXp':_0xef94cd(0x183)},_0x155eb4=_0x539cd5[_0xef94cd(0x147)](resolveBrowserTypeClass);if(!_0x155eb4){_0x539cd5['uisfZ'](debug,_0x539cd5[_0xef94cd(0x1ca)]);return;}const _0x2f5b7b=_0x155eb4[_0xef94cd(0x18e)];if(_0x2f5b7b[_0xef94cd(0x1b1)])return;const _0xcc774c=_0x2f5b7b[_0xef94cd(0x12b)];Object[_0xef94cd(0x110)](_0x2f5b7b,_0x539cd5[_0xef94cd(0xe4)],{'get':function(){const _0x405437=_0xef94cd,_0x37abc6={'OCCbj':function(_0x4e866f,_0x9f5a6d){const _0x17a095=a4_0x4942;return _0x539cd5[_0x17a095(0x192)](_0x4e866f,_0x9f5a6d);},'epcdV':_0x539cd5[_0x405437(0x1c0)],'FTegw':function(_0x205c81,_0x4359f6,_0x38ba38){const _0x438cc2=_0x405437;return _0x539cd5[_0x438cc2(0x13f)](_0x205c81,_0x4359f6,_0x38ba38);},'QcCby':_0x539cd5[_0x405437(0x119)],'bvvVI':function(_0x53541f,_0x13e55e){return _0x539cd5['ezqAY'](_0x53541f,_0x13e55e);},'AGjfE':_0x539cd5[_0x405437(0xfe)],'vGblj':function(_0x47f595,_0x17514c,_0x52dc3c){const _0x5ad52b=_0x405437;return _0x539cd5[_0x5ad52b(0x144)](_0x47f595,_0x17514c,_0x52dc3c);},'iuayj':function(_0xcd7fc2,_0x30ecaf){const _0x4dde2b=_0x405437;return _0x539cd5[_0x4dde2b(0x199)](_0xcd7fc2,_0x30ecaf);}};return async function _0x3a6547(_0x305e24,_0x2f09ac){const _0x275a37=_0x405437,_0x118d94=_0x37abc6[_0x275a37(0x10d)](nestedKeyValue,_0x305e24,[_0x37abc6[_0x275a37(0x16e)]])||_0x305e24;let _0xc37e59=null,_0x308d06=null;try{[_0x308d06,_0xc37e59]=_0x118d94?_0x37abc6[_0x275a37(0x19d)](parseWSEndpoint,_0x118d94):[null,null],global[_0x275a37(0x165)]=_0xc37e59,logger[_0x275a37(0x1a3)](_0x275a37(0x160)+_0x308d06),_0x308d06[_0x275a37(0x1b3)](Constants[_0x275a37(0x14e)])&&(global['__cloud_provider___']=_0x37abc6[_0x275a37(0x128)]);}catch(_0x150ad2){logger[_0x275a37(0x1a3)](_0x275a37(0x12c)+_0x118d94+'\x20'+_0x150ad2);}_0x37abc6[_0x275a37(0xc5)](processAccessibilityCaps,_0xc37e59,_0x308d06);if(global[_0x275a37(0x11e)]){const _0x2f4aba=await _0x2f5b7b[_0x275a37(0x156)][_0x275a37(0x1c7)](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0x37abc6[_0x275a37(0xed)](encodeURIComponent,JSON[_0x275a37(0x11b)](_0xc37e59))]);return PlaywrightSessionDetails[_0x275a37(0x125)](_0x2f4aba,_0x333508,_0x118d94),_0x2f4aba;}return _0xcc774c[_0x275a37(0x1c7)](this,arguments)[_0x275a37(0x10f)](_0x3a4a4c=>{const _0x437612=_0x275a37;let _0x5c849e=_0x305e24[_0x437612(0x16a)];return _0x37abc6[_0x437612(0xf0)](typeof _0x305e24,_0x37abc6['epcdV'])&&(_0x5c849e=_0x305e24),PlaywrightSessionDetails[_0x437612(0x125)](_0x3a4a4c,_0x333508,_0x5c849e),_0x3a4a4c;});};}});const _0xefe894=_0x2f5b7b[_0xef94cd(0x183)];Object[_0xef94cd(0x110)](_0x2f5b7b,_0x539cd5[_0xef94cd(0x112)],{'get':function(){return async function _0x5cbeb6(){const _0x52f675=a4_0x4942;return _0xefe894['apply'](this,arguments)[_0x52f675(0x10f)](_0x5744dd=>{return PlaywrightSessionDetails['setupBrowserDetails'](_0x5744dd,null),_0x5744dd;});};}});};class O11yHelper{[a4_0x391540(0x137)]=null;[a4_0x391540(0x1c3)]=null;['enabled']=![];[a4_0x391540(0x14d)]=![];[a4_0x391540(0x124)]=[];constructor(_0x1fbb10,_0x5be606){const _0x2865df=a4_0x391540,_0x73e200={'gvfQC':_0x2865df(0x185),'MCLtX':function(_0x587862,_0x2c78c1){return _0x587862===_0x2c78c1;},'PcNZC':_0x2865df(0x18f),'ecTLx':function(_0x122d1f,_0x26c96d){return _0x122d1f(_0x26c96d);},'SOgoD':function(_0x4ab12d){return _0x4ab12d();}},_0x64dc3=_0x73e200[_0x2865df(0x1a0)]['split']('|');let _0x334ac2=0x0;while(!![]){switch(_0x64dc3[_0x334ac2++]){case'0':this[_0x2865df(0x193)]&&_0x73e200[_0x2865df(0xfd)](this['driver'][_0x2865df(0x141)][_0x2865df(0x12f)],_0x73e200[_0x2865df(0xcd)])&&_0x73e200[_0x2865df(0xf9)](mockPWBrowserType,null);continue;case'1':this[_0x2865df(0x11c)]=_0x73e200['SOgoD'](getTestEnv);continue;case'2':this['enabled']=_0x73e200[_0x2865df(0x158)](shouldProcessEventForTesthub);continue;case'3':this['_paths']=new testOpsHelper[(_0x2865df(0x15f))]({'cwd':process[_0x2865df(0x116)]()},this[_0x2865df(0x11c)][_0x2865df(0xcb)]);continue;case'4':this[_0x2865df(0x193)]=_0x1fbb10;continue;case'5':this[_0x2865df(0x14d)]=_0x5be606[_0x2865df(0x14d)];continue;}break;}}[a4_0x391540(0x1cd)](){const _0x51e53f=a4_0x391540,_0x5b9e77={'DHoGP':function(_0x16dc87,_0x2b157c){return _0x16dc87(_0x2b157c);}};if(!this[_0x51e53f(0x193)])return![];try{const _0x3f5aa9=_0x5b9e77[_0x51e53f(0x117)](fetchPlatformDetails,this[_0x51e53f(0x193)]);if(!_0x3f5aa9)return![];const _0x2e7adb=Object[_0x51e53f(0x1c9)](_0x3f5aa9)[0x0];return!!(_0x2e7adb&&_0x3f5aa9[_0x2e7adb]&&_0x3f5aa9[_0x2e7adb][_0x51e53f(0x1bb)]);}catch(_0x11254a){return![];}}['bufferPendingHookEvent'](_0x18ba47,_0x2b1342){const _0x28fa5f=a4_0x391540;if(!_0x2b1342)return;const _0x3543fd={};_0x3543fd[_0x28fa5f(0x148)]=_0x18ba47,_0x3543fd['uploadData']=_0x2b1342,this['pendingHookEvents'][_0x28fa5f(0x1cc)](_0x3543fd);}async[a4_0x391540(0x11a)](){const _0x4f291e=a4_0x391540,_0x5e0882={};_0x5e0882[_0x4f291e(0x1b4)]=function(_0x465c79,_0x42164a){return _0x465c79&&_0x42164a;};const _0x40bbc8=_0x5e0882;if(!this[_0x4f291e(0x124)][_0x4f291e(0xd5)])return;if(!this['hasLiveDriverSession']())return;const _0x387948=this['getCBTInfo'](this[_0x4f291e(0x193)]),_0x50cbdb=this[_0x4f291e(0x124)][_0x4f291e(0x186)](0x0,this[_0x4f291e(0x124)][_0x4f291e(0xd5)]);for(const {eventType:_0x3c7ee5,uploadData:_0x334406}of _0x50cbdb){try{const _0x429165=_0x334406[_0x4f291e(0x168)]||_0x334406[_0x4f291e(0xce)];_0x40bbc8['KahSo'](_0x429165,_0x387948)&&(_0x429165[_0x4f291e(0x13b)]=_0x387948),await this[_0x4f291e(0x142)](_0x3c7ee5,_0x334406);}catch(_0x199b3b){logger['debug'](_0x4f291e(0x120)+_0x3c7ee5+':\x20'+util[_0x4f291e(0x1ac)](_0x199b3b));}}}[a4_0x391540(0xe8)](){const _0x2e815a=a4_0x391540;if(!this[_0x2e815a(0x146)])return;testOpsHelper[_0x2e815a(0xde)](),process[_0x2e815a(0xd9)](_0x2e815a(0x1be)+process[_0x2e815a(0x191)]),process['on']('bs:addLog:'+process[_0x2e815a(0x191)],this['appendTestItemLog'][_0x2e815a(0x155)](this));}async['stop'](){const _0x58b10b=a4_0x391540;await RequestQueueHandler[_0x58b10b(0x1a6)]()[_0x58b10b(0x174)]();}async[a4_0x391540(0x1c1)](_0x4b807c){const _0x2acf87=a4_0x391540,_0x1cccff={'SpgTq':'LogCreated','pBikU':function(_0x22d22c,_0x258e91){return _0x22d22c(_0x258e91);}};try{this[_0x2acf87(0x1c3)]&&!this['currentHook'][_0x2acf87(0x18b)]&&(_0x4b807c[_0x2acf87(0x16b)]=this[_0x2acf87(0x1c3)]['hookAnalyticsId']);!_0x4b807c[_0x2acf87(0x16b)]&&this['currentTest']&&!this['currentTest'][_0x2acf87(0x18b)]&&(_0x4b807c['test_run_uuid']=this[_0x2acf87(0x137)][_0x2acf87(0x17b)]);if(_0x4b807c['hook_run_uuid']||_0x4b807c[_0x2acf87(0x157)]){const _0x2c6a5a={};_0x2c6a5a[_0x2acf87(0x136)]=_0x1cccff['SpgTq'],_0x2c6a5a[_0x2acf87(0xef)]=[_0x4b807c],await SessionHandler['uploadEventData'](_0x2c6a5a);}}catch(_0xeae79d){_0x1cccff[_0x2acf87(0x17e)](debug,_0x2acf87(0x1c2)+constants['TEST_REPORTING_ANALYTICS']+_0x2acf87(0x154)+_0xeae79d);}}async[a4_0x391540(0xd3)](_0x24676a){const _0x12e86d=a4_0x391540,_0x568f5a={'mURLp':_0x12e86d(0x170),'QpTqX':function(_0xc1cc5c,_0x43978f){return _0xc1cc5c(_0x43978f);}};if(!this[_0x12e86d(0x146)])return;const _0x3e710f=this[_0x12e86d(0x122)](this[_0x12e86d(0x193)]);try{const _0x4dca97={};_0x4dca97[_0x12e86d(0x113)]=_0x24676a,_0x4dca97[_0x12e86d(0x13b)]=_0x3e710f;const _0x300822=_0x4dca97,_0x4f6815={};_0x4f6815['event_type']=_0x568f5a[_0x12e86d(0xd0)],_0x4f6815[_0x12e86d(0xce)]=_0x300822,await SessionHandler[_0x12e86d(0xf6)](_0x4f6815);}catch(_0x47ab79){_0x568f5a[_0x12e86d(0xf7)](debug,_0x12e86d(0xcc)+constants[_0x12e86d(0xe6)]+_0x12e86d(0x154)+_0x47ab79);}}[a4_0x391540(0x122)](_0xdcd09c){const _0x4213b4={'OYDxg':function(_0x9cb9bb,_0x184329){return _0x9cb9bb(_0x184329);}};return _0x4213b4['OYDxg'](fetchPlatformDetails,_0xdcd09c);}[a4_0x391540(0x1c6)]=_0xf0c384=>{const _0x49b936=a4_0x391540,_0x1c5e55={};_0x1c5e55[_0x49b936(0x14c)]=_0x49b936(0xca),_0x1c5e55[_0x49b936(0x1bc)]='_afterEach';const _0x37fb3a=_0x1c5e55;if(!_0xf0c384||!_0xf0c384[_0x49b936(0x184)])return;[_0x37fb3a['YGjEG'],_0x37fb3a[_0x49b936(0x1bc)]][_0x49b936(0x172)](_0x7031b9=>{const _0x286213=_0x49b936,_0x5e8f8f=_0xf0c384['parent'][_0x7031b9];_0x5e8f8f[_0x286213(0x172)](_0x27b70a=>{const _0x544141=_0x286213;_0x27b70a[_0x544141(0x17f)]&&(_0x27b70a['hookAnalyticsId']=null);});});};[a4_0x391540(0xdf)](_0x2af209){const _0x22643c=a4_0x391540,_0x5b3472={'LICzt':_0x22643c(0x197),'MAoJw':function(_0x5235a4){return _0x5235a4();},'LyfPz':function(_0x461ef1,_0x40afd6){return _0x461ef1===_0x40afd6;},'PFFQQ':_0x22643c(0x101),'CYfwv':_0x22643c(0x143),'LwIKA':_0x22643c(0x173),'LgRhD':'_beforeEach'};if(!_0x2af209||!_0x2af209[_0x22643c(0x184)])return;[_0x5b3472['CYfwv'],_0x5b3472[_0x22643c(0xd1)],_0x5b3472[_0x22643c(0x1a9)],_0x5b3472[_0x22643c(0x1a5)]][_0x22643c(0x172)](_0x4587b6=>{const _0x45ee2c=_0x22643c,_0x31945e={'PiUsA':_0x5b3472[_0x45ee2c(0x16d)],'oNeZK':function(_0x13a152){const _0x47732b=_0x45ee2c;return _0x5b3472[_0x47732b(0x1a4)](_0x13a152);},'zlYwS':function(_0x9ecdbe,_0x4f4916){const _0x180a44=_0x45ee2c;return _0x5b3472[_0x180a44(0xe2)](_0x9ecdbe,_0x4f4916);},'JqMzR':_0x5b3472[_0x45ee2c(0x1a5)],'xLanj':function(_0x357151){return _0x5b3472['MAoJw'](_0x357151);}},_0x32ea8d=_0x2af209[_0x45ee2c(0x184)][_0x4587b6]||[];_0x32ea8d['forEach'](_0x137a28=>{const _0xf20040=_0x45ee2c;if(_0x137a28[_0xf20040(0xf8)][_0xf20040(0x1b3)](_0x31945e[_0xf20040(0x130)]))return;if(!_0x137a28[_0xf20040(0x17f)])_0x137a28[_0xf20040(0x17f)]=_0x31945e['oNeZK'](uuidv4);else _0x137a28[_0xf20040(0x18b)]&&_0x31945e[_0xf20040(0x169)](_0x4587b6,_0x31945e[_0xf20040(0x104)])&&(_0x137a28[_0xf20040(0x17f)]=_0x31945e[_0xf20040(0x1c8)](uuidv4),delete _0x137a28['markedStatus']);});}),this['mapTestHooks'](_0x2af209['parent']);}[a4_0x391540(0xd6)](_0x58ac34){const _0x2095bd=a4_0x391540,_0x39d3aa={};_0x39d3aa[_0x2095bd(0x161)]=_0x2095bd(0x143),_0x39d3aa[_0x2095bd(0x198)]='_afterAll',_0x39d3aa[_0x2095bd(0x1b2)]='_beforeEach',_0x39d3aa[_0x2095bd(0x1aa)]=_0x2095bd(0x101);const _0x5ca6ec=_0x39d3aa;if(!_0x58ac34||!_0x58ac34[_0x2095bd(0x184)])return[];const _0x510fd6=[];return[_0x5ca6ec[_0x2095bd(0x161)],_0x5ca6ec['lfssp'],_0x5ca6ec['YvCoh'],_0x5ca6ec['PeRuY']]['forEach'](_0x57b384=>{const _0x3bad4f=_0x2095bd,_0x3424a6=_0x58ac34[_0x3bad4f(0x184)][_0x57b384]||[];_0x3424a6[_0x3bad4f(0x172)](_0x4bb774=>{const _0x18dedc=_0x3bad4f;_0x4bb774[_0x18dedc(0x17f)]&&_0x510fd6[_0x18dedc(0x1cc)](_0x4bb774[_0x18dedc(0x17f)]);});}),[][_0x2095bd(0xe0)](_0x510fd6,this[_0x2095bd(0xd6)](_0x58ac34['parent']));}[a4_0x391540(0x106)](_0x47ad3d){const _0x1a6f51=a4_0x391540,_0x33907b=/^"(?<hook>.*)" hook:.*$/,_0xbb3a39=_0x47ad3d[_0x1a6f51(0xf8)],_0x365b33=_0xbb3a39[_0x1a6f51(0x179)](_0x33907b);if(_0x365b33&&_0x365b33[_0x1a6f51(0x138)])return _0x365b33[_0x1a6f51(0x138)][_0x1a6f51(0x10e)][_0x1a6f51(0xc9)]()[_0x1a6f51(0x11f)]('\x20','_');return null;}[a4_0x391540(0x12e)](_0x9c8583){const _0x1f96e9=a4_0x391540,_0x448e64={};_0x448e64['QPRWW']=function(_0x55766e,_0x1caa8b){return _0x55766e===_0x1caa8b;},_0x448e64[_0x1f96e9(0x10b)]=function(_0x2e861a,_0x127871){return _0x2e861a===_0x127871;},_0x448e64[_0x1f96e9(0xf3)]=_0x1f96e9(0x1cb);const _0x33df74=_0x448e64,_0x4b75d8=path[_0x1f96e9(0x123)];if(_0x33df74[_0x1f96e9(0x1b0)](_0x9c8583,null)||_0x33df74[_0x1f96e9(0x10b)](_0x9c8583,'')||_0x33df74['QPRWW'](_0x9c8583,_0x4b75d8)||_0x33df74[_0x1f96e9(0x10b)](_0x9c8583,path[_0x1f96e9(0x159)](_0x9c8583)))return null;try{return fs[_0x1f96e9(0xdb)](path[_0x1f96e9(0x10c)](_0x9c8583,_0x33df74['TwvKw'])),_0x9c8583;}catch(_0x298cd8){const _0x480eaa=path['dirname'](_0x9c8583);return this[_0x1f96e9(0x12e)](_0x480eaa);}}[a4_0x391540(0x105)](_0x47b8e4){const _0xc5a09=a4_0x391540,_0x1b353a={};_0x1b353a[_0xc5a09(0x194)]=function(_0x4e290f,_0x5645bd){return _0x4e290f>_0x5645bd;};const _0x581b98=_0x1b353a;if(_0x47b8e4[_0xc5a09(0x15c)])return _0x47b8e4['file'];if(_0x47b8e4[_0xc5a09(0xc8)]){const _0x2df85e=_0x47b8e4[_0xc5a09(0xc8)][_0xc5a09(0x137)]?this['getRootParentFile'](_0x47b8e4[_0xc5a09(0xc8)][_0xc5a09(0x137)]):null;if(_0x2df85e)return _0x2df85e;}if(_0x47b8e4[_0xc5a09(0x184)]){const _0x542baf=this['getRootParentFile'](_0x47b8e4[_0xc5a09(0x184)])||(_0x47b8e4[_0xc5a09(0x184)][_0xc5a09(0xc8)]&&_0x47b8e4[_0xc5a09(0x184)][_0xc5a09(0xc8)]['currentTest']?this[_0xc5a09(0x105)](_0x47b8e4['parent'][_0xc5a09(0xc8)][_0xc5a09(0x137)]):null);if(_0x542baf)return _0x542baf;_0x47b8e4[_0xc5a09(0x184)]['suites']&&_0x581b98[_0xc5a09(0x194)](_0x47b8e4[_0xc5a09(0x184)][_0xc5a09(0x19b)]['length'],0x0)&&_0x47b8e4['parent'][_0xc5a09(0x19b)]['forEach'](_0x5cbb17=>{const _0x280e90=_0xc5a09,_0x352e47=_0x5cbb17[_0x280e90(0xc8)]?this['getRootParentFile'](_0x5cbb17[_0x280e90(0xc8)]):null;if(_0x352e47)return _0x352e47;});}return null;}[a4_0x391540(0x16c)](_0x3bf215){const _0x4e2893=a4_0x391540,_0x48c6a6={};_0x48c6a6['zNtcu']=function(_0x3a1e7f,_0x1a695a){return _0x3a1e7f!==_0x1a695a;};const _0x2e5f6c=_0x48c6a6,_0x53b5c8=[];if(_0x3bf215&&_0x3bf215[_0x4e2893(0x184)]){let _0x2c41b1=_0x3bf215[_0x4e2893(0x184)];while(_0x2c41b1&&_0x2e5f6c[_0x4e2893(0xea)](_0x2c41b1['title'],'')){_0x53b5c8[_0x4e2893(0x1cc)](_0x2c41b1[_0x4e2893(0xf8)]),_0x2c41b1=_0x2c41b1[_0x4e2893(0x184)];}}return _0x53b5c8;}[a4_0x391540(0x19c)](_0x2f1ae0,_0x203b41,_0x3a0ab9=undefined){const _0x21ec7f=a4_0x391540,_0x5512bc={'WlrDT':function(_0x3cb2a3,_0x549a8a){return _0x3cb2a3(_0x549a8a);},'DhHas':function(_0x44762e){return _0x44762e();},'nXuWg':function(_0x89df98){return _0x89df98();},'udCVk':_0x21ec7f(0x171),'pAEHL':function(_0x2d002b,_0x18f61f){return _0x2d002b!==_0x18f61f;},'RUMaI':function(_0xd531a6,_0x418817){return _0xd531a6!==_0x418817;},'ZXksq':_0x21ec7f(0x18c),'mkGbD':_0x21ec7f(0x1b9),'GMFgP':'failed','CbZGm':_0x21ec7f(0x16f),'ZajpZ':'skipped','AyXLt':_0x21ec7f(0x188),'RbZkP':function(_0x4aa98d,_0x88f53){return _0x4aa98d-_0x88f53;},'aFawD':function(_0x4d8162,_0x3cf727,_0x5a1280,_0x1654b3,_0x414d6b){return _0x4d8162(_0x3cf727,_0x5a1280,_0x1654b3,_0x414d6b);},'clpHC':function(_0x2d1602,_0x3287f4){return _0x2d1602!==_0x3287f4;},'nufJM':_0x21ec7f(0x13b),'xPXxx':_0x21ec7f(0x109),'wpHve':_0x21ec7f(0x18a),'SJCKV':_0x21ec7f(0x15b),'YzngZ':'backtrace','dNlww':_0x21ec7f(0x196),'ajbTi':_0x21ec7f(0x127),'xXatx':function(_0x37ce4e,_0x1bc09a){return _0x37ce4e===_0x1bc09a;},'ZRNPr':'hook_run','wPcQH':_0x21ec7f(0xce)};if(!this[_0x21ec7f(0x146)])return;try{if(_0x203b41['fn']&&_0x203b41['fn']['toString']()[_0x21ec7f(0x179)](/browserstack internal helper hook/))return;const _0x50d120=_0x5512bc[_0x21ec7f(0x1b5)](parseEvent,_0x2f1ae0);if(!_0x50d120)return;if(_0x50d120['test']){this['currentTest']=_0x203b41,this[_0x21ec7f(0x1c3)]=null;if(_0x50d120[_0x21ec7f(0x102)]||_0x50d120['skipped']){_0x203b41[_0x21ec7f(0x100)]=new Date(),_0x203b41[_0x21ec7f(0x18b)]=![];if(!_0x203b41[_0x21ec7f(0x17b)])_0x203b41['testAnalyticsId']=_0x5512bc[_0x21ec7f(0x163)](uuidv4);else _0x203b41[_0x21ec7f(0x18b)]&&(!_0x203b41[_0x21ec7f(0x10a)]&&(_0x203b41['retryOf']=_0x203b41[_0x21ec7f(0x17b)]),_0x203b41[_0x21ec7f(0x17b)]=_0x5512bc['DhHas'](uuidv4));}}else{if(_0x50d120[_0x21ec7f(0x10e)]){this[_0x21ec7f(0x1c3)]=_0x203b41;if(_0x50d120[_0x21ec7f(0x102)]){_0x203b41['startedAt']=new Date(),_0x203b41[_0x21ec7f(0x18b)]=![];if(!_0x203b41[_0x21ec7f(0x17f)])_0x203b41[_0x21ec7f(0x17f)]=_0x5512bc[_0x21ec7f(0x132)](uuidv4);else _0x203b41[_0x21ec7f(0x17f)]&&_0x203b41[_0x21ec7f(0x18b)]&&(_0x203b41[_0x21ec7f(0x17f)]=_0x5512bc[_0x21ec7f(0x132)](uuidv4));}}}if(_0x50d120['finished']&&_0x203b41[_0x21ec7f(0x18b)])return;let _0x1632cf;try{_0x1632cf=this[_0x21ec7f(0x105)](_0x203b41);}catch(_0x5a44dd){logger[_0x21ec7f(0x1a3)](_0x21ec7f(0x167)+_0x5a44dd),_0x1632cf=null;}let _0x505e64=[];_0x3a0ab9&&(_0x505e64=[_0x3a0ab9,_0x5512bc[_0x21ec7f(0xfc)]]);const _0x32fa8f=_0x5512bc[_0x21ec7f(0x187)](_0x203b41[_0x21ec7f(0xf5)],undefined)?util[_0x21ec7f(0x181)](_0x203b41[_0x21ec7f(0xf5)][0x0]):_0x5512bc[_0x21ec7f(0x17a)](_0x3a0ab9,undefined)?_0x3a0ab9[_0x21ec7f(0x151)]():undefined,_0x227630=_0x1632cf?this['findGitConfig'](_0x1632cf):null,_0x6a0778=_0x1632cf?this['_paths'][_0x21ec7f(0xdc)](this[_0x21ec7f(0x105)](_0x203b41)):_0x5512bc[_0x21ec7f(0x145)];let _0x4aea5f=_0x5512bc[_0x21ec7f(0x180)];const _0x5ae448=!_0x50d120['started']?new Date()[_0x21ec7f(0x1b8)]():null;if(_0x50d120[_0x21ec7f(0x133)])_0x4aea5f=_0x3a0ab9?_0x5512bc[_0x21ec7f(0xf1)]:_0x5512bc[_0x21ec7f(0x14f)],_0x203b41[_0x21ec7f(0x18b)]=!![];else _0x50d120['skipped']&&(_0x4aea5f=_0x5512bc['ZajpZ'],_0x203b41[_0x21ec7f(0x18b)]=!![]);const _0x40eefb={'framework':this[_0x21ec7f(0x14d)],'uuid':_0x203b41['testAnalyticsId']||_0x203b41[_0x21ec7f(0x17f)],'name':_0x203b41[_0x21ec7f(0xf8)],'body':{'lang':_0x5512bc[_0x21ec7f(0x121)],'code':_0x203b41['body'][_0x21ec7f(0x151)]()},'type':_0x203b41[_0x21ec7f(0xf4)],'scope':_0x203b41[_0x21ec7f(0x19f)](),'scopes':this[_0x21ec7f(0x16c)](_0x203b41),'file_name':_0x6a0778,'vc_filepath':_0x227630?path[_0x21ec7f(0x1ba)](_0x227630,_0x1632cf):null,'location':_0x6a0778,'result':_0x4aea5f,'failure_reason':_0x32fa8f,'duration_in_ms':_0x203b41[_0x21ec7f(0x103)]||(_0x50d120['finished']||_0x50d120[_0x21ec7f(0x134)])?_0x5512bc[_0x21ec7f(0x1b6)](Date['now'](),new Date(_0x203b41[_0x21ec7f(0x100)])[_0x21ec7f(0x14b)]()):null,'started_at':new Date(_0x203b41[_0x21ec7f(0x100)])[_0x21ec7f(0x1b8)](),'finished_at':_0x5ae448,'failure':testOpsHelper['failureData'][_0x21ec7f(0x1c7)](null,_0x505e64),'failure_type':!_0x32fa8f?null:testOpsHelper[_0x21ec7f(0xd8)](_0x32fa8f),'retry_of':_0x203b41[_0x21ec7f(0x10a)]||null,'tags':_0x203b41[_0x21ec7f(0x178)]||[],'customRerunParam':{'rerun_name':_0x203b41['fullTitle']()}};_0x5512bc[_0x21ec7f(0x108)](appendTesthubParams,_0x40eefb,_0x2f1ae0,_0x203b41,FRAMEWORKS['CODECEPT']);if(_0x50d120[_0x21ec7f(0x10e)])[_0x40eefb[_0x21ec7f(0xd4)],_0x40eefb[_0x21ec7f(0x12f)]]=[this[_0x21ec7f(0x106)](_0x203b41),_0x203b41[_0x21ec7f(0xc8)][_0x21ec7f(0x149)][_0x21ec7f(0xf8)]],_0x50d120[_0x21ec7f(0x133)]?_0x5512bc[_0x21ec7f(0xda)](_0x40eefb[_0x21ec7f(0x1c5)],_0x5512bc[_0x21ec7f(0xf1)])&&(_0x40eefb['result']=_0x5512bc['CbZGm']):_0x40eefb[_0x21ec7f(0xe9)]={};else _0x50d120['test']&&(this['mapTestHooks'](_0x203b41),_0x50d120['skipped']&&this[_0x21ec7f(0x1c6)](_0x203b41),(_0x50d120[_0x21ec7f(0x133)]||_0x50d120[_0x21ec7f(0x134)])&&(_0x40eefb[_0x21ec7f(0x176)]=this['getHooksForTest'](_0x203b41)));this[_0x21ec7f(0x193)]&&(_0x50d120[_0x21ec7f(0x102)]||_0x50d120[_0x21ec7f(0x134)])&&(_0x40eefb[_0x5512bc[_0x21ec7f(0x139)]]=this[_0x21ec7f(0x122)](this[_0x21ec7f(0x193)]));_0x50d120[_0x21ec7f(0x149)]&&_0x50d120[_0x21ec7f(0x133)]&&_0x203b41['bddSteps']&&(_0x40eefb[_0x5512bc[_0x21ec7f(0x14a)]]={'feature':{'name':_0x203b41['parent']['feature'][_0x21ec7f(0x12f)],'path':_0x40eefb[_0x21ec7f(0xeb)],'description':_0x203b41['parent'][_0x21ec7f(0x1a7)]},'scenario':{'name':_0x203b41[_0x21ec7f(0xf8)]},'steps':_0x203b41[_0x21ec7f(0xec)]});const _0xc0e84a=_0x40eefb[_0x5512bc[_0x21ec7f(0x1bd)]][0x0];_0xc0e84a&&(_0x40eefb[_0x5512bc['SJCKV']]=_0xc0e84a[_0x5512bc[_0x21ec7f(0x150)]],_0x40eefb[_0x5512bc[_0x21ec7f(0xe1)]]=_0xc0e84a[_0x5512bc[_0x21ec7f(0x140)]]);if(_0x203b41['bddSteps'])for(const _0x3402f4 of _0x203b41[_0x21ec7f(0xec)]){!_0x3402f4['finished_at']&&(_0x3402f4['finished_at']=new Date()[_0x21ec7f(0x1b8)](),_0x5512bc[_0x21ec7f(0x1a2)](_0x3402f4[_0x21ec7f(0x1c5)],_0x5512bc[_0x21ec7f(0x180)])&&(_0xc0e84a?(_0x3402f4[_0x21ec7f(0x1c5)]=_0x5512bc['GMFgP'],_0x3402f4[_0x21ec7f(0x18a)]=_0xc0e84a[_0x5512bc[_0x21ec7f(0x150)]][0x0]):_0x3402f4[_0x21ec7f(0x1c5)]=_0x5512bc[_0x21ec7f(0x14f)]));}const _0x681d5a={};_0x681d5a[_0x21ec7f(0x136)]=_0x50d120[_0x21ec7f(0x134)]?TEST_EVENTS[_0x21ec7f(0x164)]:_0x2f1ae0;const _0x28aadc=_0x681d5a;return _0x50d120[_0x21ec7f(0x10e)]?_0x28aadc[_0x5512bc['ZRNPr']]=_0x40eefb:_0x28aadc[_0x5512bc[_0x21ec7f(0xe7)]]=_0x40eefb,_0x28aadc;}catch(_0xc41c65){logger[_0x21ec7f(0x1a3)](_0x21ec7f(0x11d)+_0x2f1ae0+_0x21ec7f(0x154)+_0xc41c65);}}async['fireEvent'](_0xbf465c,_0x496739){const _0x2cb2e0=a4_0x391540;if(!this['enabled']||!_0x496739||!_0xbf465c)return![];try{return await SessionHandler[_0x2cb2e0(0xf6)](_0x496739);}catch(_0x3200be){logger[_0x2cb2e0(0x1a3)]('Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20'+_0xbf465c+_0x2cb2e0(0x154)+_0x3200be);}}['initializeBddStep'](_0x600e81){const _0x2d0f35=a4_0x391540,_0x325305={};_0x325305['Akjbp']='pending';const _0x4346ea=_0x325305;return{'id':_0x600e81[_0x2d0f35(0xe5)],'text':_0x600e81[_0x2d0f35(0x1ae)],'keyword':_0x600e81['keyword'],'started_at':_0x600e81[_0x2d0f35(0x100)][_0x2d0f35(0x1b8)](),'result':_0x4346ea[_0x2d0f35(0x1b7)]};}[a4_0x391540(0x177)](_0x5ca12f){const _0x220f50=a4_0x391540,_0x50ff59={'bZFft':function(_0x219480){return _0x219480();}};!this[_0x220f50(0x137)][_0x220f50(0xec)]&&(this[_0x220f50(0x137)][_0x220f50(0xec)]=[]),!_0x5ca12f[_0x220f50(0xe5)]&&(_0x5ca12f['stepAnalyticsId']=_0x50ff59[_0x220f50(0x129)](uuidv4),_0x5ca12f[_0x220f50(0x100)]=new Date(),this['currentTest']['bddSteps'][_0x220f50(0x1cc)](this['initializeBddStep'](_0x5ca12f)));}[a4_0x391540(0x19a)](_0x1b72ee){const _0x3b2aa2=a4_0x391540,_0x3d6d92={'WtToi':function(_0x32b08f,_0x868921){return _0x32b08f(_0x868921);},'SazGZ':'success','egxAu':_0x3b2aa2(0x1b9),'rOSWH':_0x3b2aa2(0x16f),'HUgat':function(_0x5afea5,_0xcf786c){return _0x5afea5-_0xcf786c;}};let _0x27f035=this[_0x3b2aa2(0x137)]['bddSteps']['find'](_0x153545=>_0x153545['id']===_0x1b72ee[_0x3b2aa2(0xe5)]);_0x3d6d92[_0x3b2aa2(0xee)](isUndefined,_0x27f035)&&(_0x27f035=this[_0x3b2aa2(0x162)](_0x1b72ee)),_0x27f035[_0x3b2aa2(0x1c5)]=[_0x3d6d92['SazGZ'],_0x3d6d92[_0x3b2aa2(0x13e)]]['includes'](_0x1b72ee[_0x3b2aa2(0x15a)])?_0x3d6d92[_0x3b2aa2(0x114)]:_0x1b72ee[_0x3b2aa2(0x15a)],_0x27f035[_0x3b2aa2(0x15e)]=new Date()['toISOString'](),_0x27f035[_0x3b2aa2(0x103)]=_0x3d6d92['HUgat'](Date[_0x3b2aa2(0xfb)](),_0x1b72ee['startedAt'][_0x3b2aa2(0x14b)]()),_0x27f035['failure']=_0x1b72ee['err']?_0x1b72ee[_0x3b2aa2(0x171)][_0x3b2aa2(0x131)]:null;}}function a4_0x13bf(){const _0x3c61fa=['defineProperty','2jwqYlJ','zfCXp','uuid','rOSWH','JTELk','cwd','DHoGP','Bnzav','XTCwl','flushPendingHookEvents','stringify','_testEnv','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','accessibilityPlatform','replace','Failed\x20to\x20flush\x20pending\x20hook\x20event\x20','AyXLt','getCBTInfo','sep','pendingHookEvents','setupBrowserDetails','../playwright/sessionDetails','expanded','AGjfE','bZFft','UUJYs','connect','Failed\x20to\x20parse\x20wsendpoint\x20','Not\x20able\x20to\x20import\x20Browser','findGitConfig','name','PiUsA','message','nXuWg','finished','skipped','TestRunFinished','event_type','currentTest','groups','nufJM','TestRunSkipped','integrations','STATE_PASSED','2830881qcdial','egxAu','PSvBt','ajbTi','constructor','fireEvent','_beforeAll','gdZYf','ZXksq','enabled','HyVWX','eventType','test','xPXxx','getTime','YGjEG','frameworkName','BROWSERSTACK','CbZGm','YzngZ','toString','../../helpers/test-observability/constants','mlJMv','\x20with\x20error\x20:\x20','bind','connectOverCDP','test_run_uuid','SOgoD','dirname','status','failure_backtrace','file','1883973FXXRPt','finished_at','PathHelper','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','QvrGN','initializeBddStep','DhHas','TEST_RUN_FINISHED','__platformCaps','../../helpers/test-observability/utils','failed\x20to\x20get\x20root\x20parent\x20file\x20','hook_run','zlYwS','wsEndpoint','hook_run_uuid','getHierarchy','LICzt','QcCby','passed','CBTSessionCreated','err','forEach','_afterAll','shutdown','1285KIaScM','hooks','bddStepStart','tags','match','RUMaI','testAnalyticsId','qsPxc','../../helpers/logger','pBikU','hookAnalyticsId','mkGbD','inspect','QNZCH','launch','parent','2|5|4|1|3|0','splice','pAEHL','javascript','TEST_EVENTS','failure','markedStatus','File\x20path\x20could\x20not\x20be\x20found','38598900qFJUrV','prototype','Playwright','../playwright/accessibility-helper','pid','kOEwO','driver','lrMhL','STATE_FAILED','failure_reason_expanded','codeceptjs','lfssp','ezqAY','bddStepFinish','suites','captureEvent','bvvVI','toLowerCase','fullTitle','gvfQC','../../helpers/helper','xXatx','debug','MAoJw','PFFQQ','getInstance','comment','TEST_RUN_STARTED','LgRhD','PeRuY','exports','format','8JBMyUS','text','RxinK','QPRWW','obsBrowserTypeMockApplied','YvCoh','includes','KahSo','WlrDT','RbZkP','Akjbp','toISOString','pending','relative','session_id','ZZMxC','wpHve','bs:addLog:','FSFMU','HisvI','appendTestItemLog','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','currentHook','path','result','resetSkipTestHooks','apply','xLanj','keys','LUGMm','.git','push','hasLiveDriverSession','vGblj','30325vgAfib','4243996itQhCc','ctx','toUpperCase','_beforeEach','location_prefix','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','PcNZC','test_run','1897272UVHKAL','mURLp','LwIKA','winstonLogger','sendCBTInfo','hook_type','length','getHooksForTest','../../helpers/testhub/utils.js','getFailureType','removeAllListeners','clpHC','statSync','prefixTestPath','THIHs','patchConsoleLogger','mapTestHooks','concat','dNlww','LyfPz','HOOK_RUN_STARTED','lMZyv','stepAnalyticsId','TEST_REPORTING_ANALYTICS','wPcQH','start','body','zNtcu','file_name','bddSteps','iuayj','WtToi','logs','OCCbj','GMFgP','25734nuFrOA','TwvKw','type','errorsDetailed','uploadEventData','QpTqX','title','ecTLx','O11yHelper','now','udCVk','MCLtX','ubUmQ','../mocha/test-observability/mochaUtils','startedAt','_afterEach','started','duration','JqMzR','getRootParentFile','getHookType','../utils/constants','aFawD','meta','retryOf','wvtgf','join','FTegw','hook','then'];a4_0x13bf=function(){return _0x3c61fa;};return a4_0x13bf();}const a4_0x18dfe2={};a4_0x18dfe2[a4_0x391540(0xfa)]=O11yHelper,a4_0x18dfe2[a4_0x391540(0x13c)]=STATE_PASSED,a4_0x18dfe2[a4_0x391540(0x195)]=STATE_FAILED,a4_0x18dfe2[a4_0x391540(0x189)]=TEST_EVENTS,module[a4_0x391540(0x1ab)]=a4_0x18dfe2;
|
|
1
|
+
const a4_0x39d945=a4_0x52bf;(function(_0x5a7edb,_0x438232){const _0x2ccc9b=a4_0x52bf,_0x18c816=_0x5a7edb();while(!![]){try{const _0x1e13f9=-parseInt(_0x2ccc9b(0x203))/0x1+-parseInt(_0x2ccc9b(0x1df))/0x2+-parseInt(_0x2ccc9b(0x1be))/0x3+parseInt(_0x2ccc9b(0x1a1))/0x4+-parseInt(_0x2ccc9b(0x1bc))/0x5+parseInt(_0x2ccc9b(0x11e))/0x6*(parseInt(_0x2ccc9b(0x1e4))/0x7)+-parseInt(_0x2ccc9b(0x1ad))/0x8*(-parseInt(_0x2ccc9b(0x206))/0x9);if(_0x1e13f9===_0x438232)break;else _0x18c816['push'](_0x18c816['shift']());}catch(_0x111831){_0x18c816['push'](_0x18c816['shift']());}}}(a4_0x1ca4,0xc800d));const path=require(a4_0x39d945(0x12d)),util=require(a4_0x39d945(0x11c)),fs=require('fs'),{v4:uuidv4}=require(a4_0x39d945(0x199)),{resolveBrowserTypeClass,nestedKeyValue,parseWSEndpoint,isUndefined}=require('../../helpers/helper'),testOpsHelper=require(a4_0x39d945(0x1ff)),{getTestEnv}=require(a4_0x39d945(0x115)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),logger=require(a4_0x39d945(0x194))['winstonLogger'],SessionHandler=require(a4_0x39d945(0x153)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),PlaywrightSessionDetails=require(a4_0x39d945(0x15f)),debug=testOpsHelper[a4_0x39d945(0x1bf)],{processAccessibilityCaps}=require(a4_0x39d945(0x1ec)),Constants=require('../utils/constants'),{fetchPlatformDetails}=require(a4_0x39d945(0x160)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x39d945(0x193)),constants=require('../utils/constants'),STATE_PASSED=a4_0x39d945(0x183),STATE_FAILED=a4_0x39d945(0x167),a4_0x44bfbf={};a4_0x44bfbf[a4_0x39d945(0x17c)]=a4_0x39d945(0x13a),a4_0x44bfbf[a4_0x39d945(0x1e1)]='TestRunFinished',a4_0x44bfbf[a4_0x39d945(0x166)]=a4_0x39d945(0x1a3),a4_0x44bfbf[a4_0x39d945(0x1b7)]=a4_0x39d945(0x157),a4_0x44bfbf['HOOK_RUN_FINISHED']=a4_0x39d945(0x1f9);const TEST_EVENTS=a4_0x44bfbf,parseEvent=_0x10df1b=>{const _0x5763c4=a4_0x39d945,_0x18716f={};_0x18716f[_0x5763c4(0x135)]=function(_0x5192c7,_0x411c0d){return _0x5192c7<_0x411c0d;},_0x18716f['yndXV']=function(_0x66484e,_0x3a195d){return _0x66484e===_0x3a195d;},_0x18716f[_0x5763c4(0x195)]=_0x5763c4(0x1d8),_0x18716f[_0x5763c4(0x14f)]=_0x5763c4(0x126),_0x18716f['JAMYG']=_0x5763c4(0x176),_0x18716f['eFEQw']=function(_0x3042c5,_0x529c45){return _0x3042c5===_0x529c45;},_0x18716f['vNXuG']=_0x5763c4(0x1bd),_0x18716f[_0x5763c4(0x20c)]='finished';const _0x11c389=_0x18716f,_0x19da03=_0x10df1b[_0x5763c4(0x12e)](/^(.*)Run(.*)$/);if(!_0x19da03)return null;if(_0x11c389[_0x5763c4(0x135)](_0x19da03[_0x5763c4(0x116)],0x3))return null;const _0x4b0713=_0x19da03[0x1][_0x5763c4(0x1c0)](),_0x2e04b1=_0x19da03[0x2][_0x5763c4(0x1c0)]();return{'test':_0x11c389[_0x5763c4(0x122)](_0x4b0713,_0x11c389[_0x5763c4(0x195)]),'hook':_0x11c389['yndXV'](_0x4b0713,_0x11c389[_0x5763c4(0x14f)]),'skipped':_0x11c389[_0x5763c4(0x122)](_0x2e04b1,_0x11c389['JAMYG']),'started':_0x11c389[_0x5763c4(0x11f)](_0x2e04b1,_0x11c389['vNXuG']),'finished':_0x11c389[_0x5763c4(0x11f)](_0x2e04b1,_0x11c389[_0x5763c4(0x20c)])};},mockPWBrowserType=_0xfc76f7=>{const _0xdfb7b7=a4_0x39d945,_0x627179={'LyvAc':function(_0x284391,_0x3d9a77){return _0x284391===_0x3d9a77;},'flYIZ':_0xdfb7b7(0x148),'NiaCX':function(_0x1bfadd,_0x22af1e,_0xfbae30){return _0x1bfadd(_0x22af1e,_0xfbae30);},'aQJAy':'wsEndpoint','MflSq':function(_0x1ce63b,_0x40fb8c){return _0x1ce63b(_0x40fb8c);},'WMsWb':_0xdfb7b7(0x170),'xrjYa':function(_0x4d2e4e){return _0x4d2e4e();},'glIKL':function(_0x5192ce,_0x39d12c){return _0x5192ce(_0x39d12c);},'hpDYi':_0xdfb7b7(0x200),'xIlWI':'connect','hKnTu':_0xdfb7b7(0x1d9)},_0xb8a2df=_0x627179[_0xdfb7b7(0x17e)](resolveBrowserTypeClass);if(!_0xb8a2df){_0x627179[_0xdfb7b7(0x12c)](debug,_0x627179[_0xdfb7b7(0x132)]);return;}const _0x39edc7=_0xb8a2df['prototype'];if(_0x39edc7[_0xdfb7b7(0x1e3)])return;const _0x5cdc57=_0x39edc7[_0xdfb7b7(0x186)];Object[_0xdfb7b7(0x11d)](_0x39edc7,_0x627179[_0xdfb7b7(0x20d)],{'get':function(){const _0x506efc=_0xdfb7b7,_0x150562={'YEnaU':function(_0x3e8189,_0x1c8438){return _0x627179['LyvAc'](_0x3e8189,_0x1c8438);},'FsFeg':_0x627179['flYIZ'],'lrSww':function(_0x56f6e6,_0x260087,_0x2eaf3d){const _0xf44c4e=a4_0x52bf;return _0x627179[_0xf44c4e(0x19e)](_0x56f6e6,_0x260087,_0x2eaf3d);},'KuHkj':_0x627179[_0x506efc(0x16b)],'APAJv':function(_0x60f4a6,_0x5241dd){const _0x39bf42=_0x506efc;return _0x627179[_0x39bf42(0x125)](_0x60f4a6,_0x5241dd);},'nrhZd':_0x627179[_0x506efc(0x208)]};return async function _0x5ea4f3(_0x13a5c2,_0x4efeef){const _0xb7a897=_0x506efc,_0x5a493a=_0x150562[_0xb7a897(0x1a2)](nestedKeyValue,_0x13a5c2,[_0x150562[_0xb7a897(0x179)]])||_0x13a5c2;let _0x415053=null,_0x46592f=null;try{[_0x46592f,_0x415053]=_0x5a493a?_0x150562[_0xb7a897(0x131)](parseWSEndpoint,_0x5a493a):[null,null],global[_0xb7a897(0x1dd)]=_0x415053,logger[_0xb7a897(0x1bf)]('Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20'+_0x46592f),_0x46592f[_0xb7a897(0x1c7)](Constants[_0xb7a897(0x1d0)])&&(global[_0xb7a897(0x201)]=_0x150562[_0xb7a897(0x1cb)]);}catch(_0x26f700){logger[_0xb7a897(0x1bf)]('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x5a493a+'\x20'+_0x26f700);}_0x150562[_0xb7a897(0x1a2)](processAccessibilityCaps,_0x415053,_0x46592f);if(global[_0xb7a897(0x1e2)]){const _0x1a4938=await _0x39edc7['connectOverCDP']['apply'](this,[''+Constants[_0xb7a897(0x1c2)]+_0x150562[_0xb7a897(0x131)](encodeURIComponent,JSON[_0xb7a897(0x1c5)](_0x415053))]);return PlaywrightSessionDetails[_0xb7a897(0x1ca)](_0x1a4938,_0xfc76f7,_0x5a493a),_0x1a4938;}return _0x5cdc57[_0xb7a897(0x1c6)](this,arguments)['then'](_0x5c8ae1=>{const _0x486ccb=_0xb7a897;let _0x121382=_0x13a5c2[_0x486ccb(0x177)];return _0x150562[_0x486ccb(0x184)](typeof _0x13a5c2,_0x150562['FsFeg'])&&(_0x121382=_0x13a5c2),PlaywrightSessionDetails[_0x486ccb(0x1ca)](_0x5c8ae1,_0xfc76f7,_0x121382),_0x5c8ae1;});};}});const _0x5bb8df=_0x39edc7['launch'];Object[_0xdfb7b7(0x11d)](_0x39edc7,_0x627179['hKnTu'],{'get':function(){return async function _0x26d050(){const _0x33fb4c=a4_0x52bf;return _0x5bb8df['apply'](this,arguments)[_0x33fb4c(0x136)](_0x44bb97=>{const _0xc66cdf=_0x33fb4c;return PlaywrightSessionDetails[_0xc66cdf(0x1ca)](_0x44bb97,null),_0x44bb97;});};}});};class O11yHelper{[a4_0x39d945(0x12f)]=null;[a4_0x39d945(0x174)]=null;[a4_0x39d945(0x19f)]=![];[a4_0x39d945(0x13f)]=![];[a4_0x39d945(0x163)]=[];constructor(_0x5ef2f0,_0x6a0fe3){const _0x51bf7a=a4_0x39d945,_0x2c4942={'fjXeI':_0x51bf7a(0x168),'doCcT':function(_0x50e3ad){return _0x50e3ad();},'AfFPs':function(_0x44d5e8,_0x3517c1){return _0x44d5e8===_0x3517c1;},'smDiE':'Playwright','ZUuWQ':function(_0x49e315,_0x35f3b0){return _0x49e315(_0x35f3b0);}},_0x9e2042=_0x2c4942[_0x51bf7a(0x145)]['split']('|');let _0x11758a=0x0;while(!![]){switch(_0x9e2042[_0x11758a++]){case'0':this[_0x51bf7a(0x13f)]=_0x6a0fe3['frameworkName'];continue;case'1':this[_0x51bf7a(0x1cc)]=_0x2c4942['doCcT'](getTestEnv);continue;case'2':this[_0x51bf7a(0x1cf)]=new testOpsHelper[(_0x51bf7a(0x1aa))]({'cwd':process['cwd']()},this[_0x51bf7a(0x1cc)][_0x51bf7a(0x142)]);continue;case'3':this[_0x51bf7a(0x123)]&&_0x2c4942['AfFPs'](this[_0x51bf7a(0x123)][_0x51bf7a(0x144)][_0x51bf7a(0x14c)],_0x2c4942[_0x51bf7a(0x147)])&&_0x2c4942[_0x51bf7a(0x1a9)](mockPWBrowserType,null);continue;case'4':this[_0x51bf7a(0x123)]=_0x5ef2f0;continue;case'5':this['enabled']=_0x2c4942[_0x51bf7a(0x1f5)](shouldProcessEventForTesthub);continue;}break;}}[a4_0x39d945(0x178)](){const _0x4da9a1=a4_0x39d945,_0x208300={'xsXDW':function(_0x1ceb14,_0x519941){return _0x1ceb14(_0x519941);}};if(!this[_0x4da9a1(0x123)])return![];try{const _0x5aef21=_0x208300[_0x4da9a1(0x18c)](fetchPlatformDetails,this[_0x4da9a1(0x123)]);if(!_0x5aef21)return![];const _0x3f188e=Object[_0x4da9a1(0x1f4)](_0x5aef21)[0x0];return!!(_0x3f188e&&_0x5aef21[_0x3f188e]&&_0x5aef21[_0x3f188e][_0x4da9a1(0x121)]);}catch(_0xa2f4d){return![];}}[a4_0x39d945(0x1cd)](_0x53fddb,_0x99031){const _0x42d6fa=a4_0x39d945;if(!_0x99031)return;const _0x41b6a5={};_0x41b6a5[_0x42d6fa(0x192)]=_0x53fddb,_0x41b6a5[_0x42d6fa(0x17f)]=_0x99031,this[_0x42d6fa(0x163)][_0x42d6fa(0x20b)](_0x41b6a5);}async[a4_0x39d945(0x113)](){const _0x119b00=a4_0x39d945,_0x3a602b={};_0x3a602b['wyFtc']=function(_0x440510,_0x40df1e){return _0x440510&&_0x40df1e;};const _0x37b35e=_0x3a602b;if(!this[_0x119b00(0x163)][_0x119b00(0x116)])return;if(!this['hasLiveDriverSession']())return;const _0x26b67b=this[_0x119b00(0x1a0)](this['driver']),_0x17dc2f=this['pendingHookEvents'][_0x119b00(0x12b)](0x0,this[_0x119b00(0x163)][_0x119b00(0x116)]);for(const {eventType:_0x4292fe,uploadData:_0x22ab9a}of _0x17dc2f){try{const _0x184e66=_0x22ab9a[_0x119b00(0x1ea)]||_0x22ab9a[_0x119b00(0x15b)];_0x37b35e[_0x119b00(0x1ed)](_0x184e66,_0x26b67b)&&(_0x184e66[_0x119b00(0x1fd)]=_0x26b67b),await this[_0x119b00(0x1f2)](_0x4292fe,_0x22ab9a);}catch(_0x965996){logger['debug'](_0x119b00(0x1d3)+_0x4292fe+':\x20'+util[_0x119b00(0x13d)](_0x965996));}}}[a4_0x39d945(0x1a4)](){const _0x2838ef=a4_0x39d945;if(!this[_0x2838ef(0x19f)])return;testOpsHelper[_0x2838ef(0x1f3)](),process[_0x2838ef(0x1e6)](_0x2838ef(0x173)+process[_0x2838ef(0x138)]),process['on'](_0x2838ef(0x173)+process[_0x2838ef(0x138)],this[_0x2838ef(0x1b2)]['bind'](this));}async[a4_0x39d945(0x1fe)](){const _0x10ae55=a4_0x39d945;await RequestQueueHandler[_0x10ae55(0x1ce)]()[_0x10ae55(0x19c)]();}async[a4_0x39d945(0x1b2)](_0x40c047){const _0x27bd16=a4_0x39d945,_0x4092dd={'WSsSw':'LogCreated','rSfoZ':function(_0x2663d7,_0x4b43cf){return _0x2663d7(_0x4b43cf);}};try{this['currentHook']&&!this[_0x27bd16(0x174)][_0x27bd16(0x15d)]&&(_0x40c047[_0x27bd16(0x128)]=this[_0x27bd16(0x174)][_0x27bd16(0x161)]);!_0x40c047[_0x27bd16(0x128)]&&this[_0x27bd16(0x12f)]&&!this[_0x27bd16(0x12f)]['markedStatus']&&(_0x40c047[_0x27bd16(0x118)]=this['currentTest'][_0x27bd16(0x1f6)]);if(_0x40c047['hook_run_uuid']||_0x40c047[_0x27bd16(0x118)]){const _0x4d555d={};_0x4d555d[_0x27bd16(0x1d7)]=_0x4092dd[_0x27bd16(0x1d5)],_0x4d555d[_0x27bd16(0x1a8)]=[_0x40c047],await SessionHandler[_0x27bd16(0x16e)](_0x4d555d);}}catch(_0x392764){_0x4092dd[_0x27bd16(0x19b)](debug,_0x27bd16(0x120)+constants[_0x27bd16(0x134)]+_0x27bd16(0x16d)+_0x392764);}}async[a4_0x39d945(0x14d)](_0x154212){const _0x205cdf=a4_0x39d945,_0x101e55={'ERhix':_0x205cdf(0x18f),'RyXmF':function(_0x4bb877,_0x47c044){return _0x4bb877(_0x47c044);}};if(!this[_0x205cdf(0x19f)])return;const _0x38518e=this[_0x205cdf(0x1a0)](this[_0x205cdf(0x123)]);try{const _0x43f21b={};_0x43f21b[_0x205cdf(0x199)]=_0x154212,_0x43f21b[_0x205cdf(0x1fd)]=_0x38518e;const _0x2ea901=_0x43f21b,_0x3f0ea9={};_0x3f0ea9[_0x205cdf(0x1d7)]=_0x101e55[_0x205cdf(0x152)],_0x3f0ea9['test_run']=_0x2ea901,await SessionHandler[_0x205cdf(0x16e)](_0x3f0ea9);}catch(_0x2f088f){_0x101e55[_0x205cdf(0x1dc)](debug,_0x205cdf(0x1fa)+constants[_0x205cdf(0x134)]+_0x205cdf(0x16d)+_0x2f088f);}}[a4_0x39d945(0x1a0)](_0x18b596){const _0xd72066=a4_0x39d945,_0x28a627={'bNlDn':function(_0x27ad40,_0x33faca){return _0x27ad40(_0x33faca);}};return _0x28a627[_0xd72066(0x155)](fetchPlatformDetails,_0x18b596);}[a4_0x39d945(0x1f1)]=_0xe0d376=>{const _0x32aadb=a4_0x39d945,_0x54a3e9={};_0x54a3e9['CTcJJ']=_0x32aadb(0x1e0),_0x54a3e9[_0x32aadb(0x16f)]=_0x32aadb(0x18d);const _0x5e24ea=_0x54a3e9;if(!_0xe0d376||!_0xe0d376[_0x32aadb(0x133)])return;[_0x5e24ea[_0x32aadb(0x159)],_0x5e24ea['wxpLa']][_0x32aadb(0x1c1)](_0x4bd138=>{const _0x48816e=_0x32aadb,_0x487485=_0xe0d376[_0x48816e(0x133)][_0x4bd138];_0x487485[_0x48816e(0x1c1)](_0x19e379=>{const _0x2f3f74=_0x48816e;_0x19e379[_0x2f3f74(0x161)]&&(_0x19e379['hookAnalyticsId']=null);});});};['mapTestHooks'](_0x830605){const _0x36dc3b=a4_0x39d945,_0x4ba975={'VgrQO':_0x36dc3b(0x14a),'Dvzso':function(_0x7b524){return _0x7b524();},'HbHuo':function(_0xd2a21c,_0x37625a){return _0xd2a21c===_0x37625a;},'DHuGC':'_afterEach','rlMzj':function(_0x458b7b){return _0x458b7b();},'gNvZS':_0x36dc3b(0x15e),'gEBvD':_0x36dc3b(0x19a),'ONLyO':_0x36dc3b(0x1e0)};if(!_0x830605||!_0x830605[_0x36dc3b(0x133)])return;[_0x4ba975['gNvZS'],_0x4ba975[_0x36dc3b(0x130)],_0x4ba975[_0x36dc3b(0x1db)],_0x4ba975[_0x36dc3b(0x11a)]][_0x36dc3b(0x1c1)](_0x27ad8e=>{const _0x350770=_0x36dc3b,_0x3e3302=_0x830605[_0x350770(0x133)][_0x27ad8e]||[];_0x3e3302[_0x350770(0x1c1)](_0x472400=>{const _0x57e0f7=_0x350770;if(_0x472400[_0x57e0f7(0x17d)][_0x57e0f7(0x1c7)](_0x4ba975[_0x57e0f7(0x143)]))return;if(!_0x472400[_0x57e0f7(0x161)])_0x472400[_0x57e0f7(0x161)]=_0x4ba975[_0x57e0f7(0x141)](uuidv4);else _0x472400[_0x57e0f7(0x15d)]&&_0x4ba975[_0x57e0f7(0x1eb)](_0x27ad8e,_0x4ba975[_0x57e0f7(0x11a)])&&(_0x472400[_0x57e0f7(0x161)]=_0x4ba975[_0x57e0f7(0x1f7)](uuidv4),delete _0x472400[_0x57e0f7(0x15d)]);});}),this[_0x36dc3b(0x1c4)](_0x830605[_0x36dc3b(0x133)]);}['getHooksForTest'](_0xfb69e4){const _0x240363=a4_0x39d945,_0x1dabd2={};_0x1dabd2['cDKLz']=_0x240363(0x15e),_0x1dabd2[_0x240363(0x129)]=_0x240363(0x19a),_0x1dabd2[_0x240363(0x17b)]=_0x240363(0x1e0),_0x1dabd2[_0x240363(0x139)]=_0x240363(0x18d);const _0x47bf0d=_0x1dabd2;if(!_0xfb69e4||!_0xfb69e4['parent'])return[];const _0x4f733c=[];return[_0x47bf0d[_0x240363(0x140)],_0x47bf0d[_0x240363(0x129)],_0x47bf0d[_0x240363(0x17b)],_0x47bf0d[_0x240363(0x139)]]['forEach'](_0x395d00=>{const _0x54b93c=_0x240363,_0x4c6635=_0xfb69e4[_0x54b93c(0x133)][_0x395d00]||[];_0x4c6635['forEach'](_0x1ba1a6=>{const _0x54544a=_0x54b93c;_0x1ba1a6[_0x54544a(0x161)]&&_0x4f733c[_0x54544a(0x20b)](_0x1ba1a6[_0x54544a(0x161)]);});}),[][_0x240363(0x1d4)](_0x4f733c,this[_0x240363(0x1b8)](_0xfb69e4[_0x240363(0x133)]));}[a4_0x39d945(0x20a)](_0x8f7ea3){const _0x57e9c4=a4_0x39d945,_0x3dee76=/^"(?<hook>.*)" hook:.*$/,_0x13586e=_0x8f7ea3['title'],_0x3370e9=_0x13586e['match'](_0x3dee76);if(_0x3370e9&&_0x3370e9['groups'])return _0x3370e9[_0x57e9c4(0x14e)][_0x57e9c4(0x126)][_0x57e9c4(0x12a)]()[_0x57e9c4(0x189)]('\x20','_');return null;}['findGitConfig'](_0x2bf0df){const _0x542af6=a4_0x39d945,_0x2aec78={};_0x2aec78[_0x542af6(0x1a7)]=function(_0x3bed71,_0x1ad138){return _0x3bed71===_0x1ad138;},_0x2aec78['AxaGY']=function(_0x5b78b2,_0x152af8){return _0x5b78b2===_0x152af8;},_0x2aec78['mAgbV']=_0x542af6(0x171);const _0x4c9669=_0x2aec78,_0x1522b0=path['sep'];if(_0x4c9669[_0x542af6(0x1a7)](_0x2bf0df,null)||_0x4c9669['AxaGY'](_0x2bf0df,'')||_0x4c9669[_0x542af6(0x1e9)](_0x2bf0df,_0x1522b0)||_0x4c9669[_0x542af6(0x1e9)](_0x2bf0df,path['dirname'](_0x2bf0df)))return null;try{return fs['statSync'](path[_0x542af6(0x13b)](_0x2bf0df,_0x4c9669[_0x542af6(0x124)])),_0x2bf0df;}catch(_0x30f361){const _0x2b450e=path[_0x542af6(0x1d1)](_0x2bf0df);return this[_0x542af6(0x182)](_0x2b450e);}}[a4_0x39d945(0x1e7)](_0x4b313){const _0x202bbe=a4_0x39d945,_0x5b03fe={};_0x5b03fe[_0x202bbe(0x1fb)]=function(_0x10596f,_0x349987){return _0x10596f>_0x349987;};const _0x56e681=_0x5b03fe;if(_0x4b313[_0x202bbe(0x197)])return _0x4b313['file'];if(_0x4b313[_0x202bbe(0x1b1)]){const _0x311fd1=_0x4b313[_0x202bbe(0x1b1)][_0x202bbe(0x12f)]?this[_0x202bbe(0x1e7)](_0x4b313[_0x202bbe(0x1b1)][_0x202bbe(0x12f)]):null;if(_0x311fd1)return _0x311fd1;}if(_0x4b313['parent']){const _0x4f7051=this[_0x202bbe(0x1e7)](_0x4b313[_0x202bbe(0x133)])||(_0x4b313['parent']['ctx']&&_0x4b313[_0x202bbe(0x133)]['ctx'][_0x202bbe(0x12f)]?this[_0x202bbe(0x1e7)](_0x4b313[_0x202bbe(0x133)][_0x202bbe(0x1b1)][_0x202bbe(0x12f)]):null);if(_0x4f7051)return _0x4f7051;_0x4b313[_0x202bbe(0x133)]['suites']&&_0x56e681[_0x202bbe(0x1fb)](_0x4b313[_0x202bbe(0x133)][_0x202bbe(0x1d6)][_0x202bbe(0x116)],0x0)&&_0x4b313[_0x202bbe(0x133)][_0x202bbe(0x1d6)]['forEach'](_0x16a522=>{const _0x12f79e=_0x202bbe,_0x3c2d1d=_0x16a522[_0x12f79e(0x1b1)]?this[_0x12f79e(0x1e7)](_0x16a522['ctx']):null;if(_0x3c2d1d)return _0x3c2d1d;});}return null;}[a4_0x39d945(0x119)](_0x9549da){const _0x3eee86=a4_0x39d945,_0x5ec4d5={};_0x5ec4d5[_0x3eee86(0x169)]=function(_0x30db88,_0xe5d8c7){return _0x30db88!==_0xe5d8c7;};const _0x5a14e7=_0x5ec4d5,_0x4e6f32=[];if(_0x9549da&&_0x9549da['parent']){let _0x3e0a0e=_0x9549da[_0x3eee86(0x133)];while(_0x3e0a0e&&_0x5a14e7[_0x3eee86(0x169)](_0x3e0a0e[_0x3eee86(0x17d)],'')){_0x4e6f32[_0x3eee86(0x20b)](_0x3e0a0e['title']),_0x3e0a0e=_0x3e0a0e[_0x3eee86(0x133)];}}return _0x4e6f32;}[a4_0x39d945(0x1e5)](_0x29c4f0,_0x5f14dc,_0x1558ef=undefined){const _0x4e79ba=a4_0x39d945,_0x157751={'FENTa':function(_0x50ef56,_0x2fe075){return _0x50ef56(_0x2fe075);},'rVaVn':function(_0x544d32){return _0x544d32();},'lmMgM':function(_0x5be173){return _0x5be173();},'NVRaK':_0x4e79ba(0x1ae),'AgSKq':function(_0x2cd53d,_0xe9a1aa){return _0x2cd53d!==_0xe9a1aa;},'JOcVT':'File\x20path\x20could\x20not\x20be\x20found','nTbUg':_0x4e79ba(0x1d2),'xzscZ':_0x4e79ba(0x167),'vKWvn':_0x4e79ba(0x183),'ajJXl':_0x4e79ba(0x176),'lmoIA':_0x4e79ba(0x18e),'mBrXF':function(_0x1cba76,_0x589147){return _0x1cba76-_0x589147;},'aWOtQ':function(_0x2ced4e,_0x3171e4,_0xc8c8d0,_0x53b63c,_0x384106){return _0x2ced4e(_0x3171e4,_0xc8c8d0,_0x53b63c,_0x384106);},'chuhe':function(_0x242546,_0x140e61){return _0x242546!==_0x140e61;},'RBNVN':_0x4e79ba(0x1fd),'txBVU':'meta','IvLUD':_0x4e79ba(0x185),'ehHvR':_0x4e79ba(0x190),'vEWHz':'backtrace','NEeyR':_0x4e79ba(0x1b5),'dobqO':_0x4e79ba(0x18a),'Eiula':function(_0x5aa9f0,_0x4fa7ad){return _0x5aa9f0===_0x4fa7ad;},'NIhUw':_0x4e79ba(0x1ea),'BTBhX':_0x4e79ba(0x15b)};if(!this[_0x4e79ba(0x19f)])return;try{if(_0x5f14dc['fn']&&_0x5f14dc['fn'][_0x4e79ba(0x1a5)]()[_0x4e79ba(0x12e)](/browserstack internal helper hook/))return;const _0x3d0d68=_0x157751['FENTa'](parseEvent,_0x29c4f0);if(!_0x3d0d68)return;if(_0x3d0d68[_0x4e79ba(0x1d8)]){this[_0x4e79ba(0x12f)]=_0x5f14dc,this['currentHook']=null;if(_0x3d0d68[_0x4e79ba(0x1bd)]||_0x3d0d68[_0x4e79ba(0x176)]){_0x5f14dc[_0x4e79ba(0x1da)]=new Date(),_0x5f14dc['markedStatus']=![];if(!_0x5f14dc[_0x4e79ba(0x1f6)])_0x5f14dc[_0x4e79ba(0x1f6)]=_0x157751[_0x4e79ba(0x1b0)](uuidv4);else _0x5f14dc[_0x4e79ba(0x15d)]&&(!_0x5f14dc[_0x4e79ba(0x196)]&&(_0x5f14dc[_0x4e79ba(0x196)]=_0x5f14dc['testAnalyticsId']),_0x5f14dc[_0x4e79ba(0x1f6)]=_0x157751['rVaVn'](uuidv4));}}else{if(_0x3d0d68[_0x4e79ba(0x126)]){this['currentHook']=_0x5f14dc;if(_0x3d0d68[_0x4e79ba(0x1bd)]){_0x5f14dc[_0x4e79ba(0x1da)]=new Date(),_0x5f14dc['markedStatus']=![];if(!_0x5f14dc[_0x4e79ba(0x161)])_0x5f14dc['hookAnalyticsId']=_0x157751[_0x4e79ba(0x158)](uuidv4);else _0x5f14dc[_0x4e79ba(0x161)]&&_0x5f14dc[_0x4e79ba(0x15d)]&&(_0x5f14dc['hookAnalyticsId']=_0x157751['rVaVn'](uuidv4));}}}if(_0x3d0d68[_0x4e79ba(0x154)]&&_0x5f14dc['markedStatus'])return;let _0x2d3fe0;try{_0x2d3fe0=this['getRootParentFile'](_0x5f14dc);}catch(_0x232e7f){logger['debug']('failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x232e7f),_0x2d3fe0=null;}let _0x53b9d8=[];_0x1558ef&&(_0x53b9d8=[_0x1558ef,_0x157751[_0x4e79ba(0x164)]]);const _0x242dea=_0x157751[_0x4e79ba(0x137)](_0x5f14dc[_0x4e79ba(0x207)],undefined)?util[_0x4e79ba(0x1de)](_0x5f14dc[_0x4e79ba(0x207)][0x0]):_0x157751[_0x4e79ba(0x137)](_0x1558ef,undefined)?_0x1558ef[_0x4e79ba(0x1a5)]():undefined,_0xa4e1fb=_0x2d3fe0?this[_0x4e79ba(0x182)](_0x2d3fe0):null,_0x2404b7=_0x2d3fe0?this[_0x4e79ba(0x1cf)][_0x4e79ba(0x1c3)](this[_0x4e79ba(0x1e7)](_0x5f14dc)):_0x157751[_0x4e79ba(0x146)];let _0x10ef77=_0x157751[_0x4e79ba(0x165)];const _0x5ae608=!_0x3d0d68['started']?new Date()['toISOString']():null;if(_0x3d0d68[_0x4e79ba(0x154)])_0x10ef77=_0x1558ef?_0x157751[_0x4e79ba(0x151)]:_0x157751[_0x4e79ba(0x1c9)],_0x5f14dc[_0x4e79ba(0x15d)]=!![];else _0x3d0d68[_0x4e79ba(0x176)]&&(_0x10ef77=_0x157751[_0x4e79ba(0x149)],_0x5f14dc[_0x4e79ba(0x15d)]=!![]);const _0x1295e3={'framework':this[_0x4e79ba(0x13f)],'uuid':_0x5f14dc[_0x4e79ba(0x1f6)]||_0x5f14dc['hookAnalyticsId'],'name':_0x5f14dc[_0x4e79ba(0x17d)],'body':{'lang':_0x157751[_0x4e79ba(0x1ab)],'code':_0x5f14dc[_0x4e79ba(0x181)][_0x4e79ba(0x1a5)]()},'type':_0x5f14dc[_0x4e79ba(0x16c)],'scope':_0x5f14dc[_0x4e79ba(0x1a6)](),'scopes':this[_0x4e79ba(0x119)](_0x5f14dc),'file_name':_0x2404b7,'vc_filepath':_0xa4e1fb?path['relative'](_0xa4e1fb,_0x2d3fe0):null,'location':_0x2404b7,'result':_0x10ef77,'failure_reason':_0x242dea,'duration_in_ms':_0x5f14dc[_0x4e79ba(0x117)]||(_0x3d0d68[_0x4e79ba(0x154)]||_0x3d0d68[_0x4e79ba(0x176)])?_0x157751[_0x4e79ba(0x15c)](Date[_0x4e79ba(0x13e)](),new Date(_0x5f14dc[_0x4e79ba(0x1da)])[_0x4e79ba(0x202)]()):null,'started_at':new Date(_0x5f14dc[_0x4e79ba(0x1da)])[_0x4e79ba(0x127)](),'finished_at':_0x5ae608,'failure':testOpsHelper[_0x4e79ba(0x187)][_0x4e79ba(0x1c6)](null,_0x53b9d8),'failure_type':!_0x242dea?null:testOpsHelper[_0x4e79ba(0x1af)](_0x242dea),'retry_of':_0x5f14dc[_0x4e79ba(0x196)]||null,'tags':_0x5f14dc[_0x4e79ba(0x1fc)]||[],'customRerunParam':{'rerun_name':_0x5f14dc[_0x4e79ba(0x1a6)]()}};_0x157751[_0x4e79ba(0x1b9)](appendTesthubParams,_0x1295e3,_0x29c4f0,_0x5f14dc,FRAMEWORKS[_0x4e79ba(0x175)]);if(_0x3d0d68[_0x4e79ba(0x126)])[_0x1295e3[_0x4e79ba(0x11b)],_0x1295e3['name']]=[this[_0x4e79ba(0x20a)](_0x5f14dc),_0x5f14dc[_0x4e79ba(0x1b1)][_0x4e79ba(0x1d8)]['title']],_0x3d0d68[_0x4e79ba(0x154)]?_0x157751[_0x4e79ba(0x1ee)](_0x1295e3[_0x4e79ba(0x1ac)],_0x157751['xzscZ'])&&(_0x1295e3[_0x4e79ba(0x1ac)]=_0x157751[_0x4e79ba(0x1c9)]):_0x1295e3[_0x4e79ba(0x181)]={};else _0x3d0d68[_0x4e79ba(0x1d8)]&&(this[_0x4e79ba(0x1c4)](_0x5f14dc),_0x3d0d68[_0x4e79ba(0x176)]&&this[_0x4e79ba(0x1f1)](_0x5f14dc),(_0x3d0d68[_0x4e79ba(0x154)]||_0x3d0d68[_0x4e79ba(0x176)])&&(_0x1295e3[_0x4e79ba(0x1ba)]=this[_0x4e79ba(0x1b8)](_0x5f14dc)));this[_0x4e79ba(0x123)]&&(_0x3d0d68[_0x4e79ba(0x1bd)]||_0x3d0d68[_0x4e79ba(0x176)])&&(_0x1295e3[_0x157751[_0x4e79ba(0x1b4)]]=this['getCBTInfo'](this[_0x4e79ba(0x123)]));_0x3d0d68[_0x4e79ba(0x1d8)]&&_0x3d0d68[_0x4e79ba(0x154)]&&_0x5f14dc[_0x4e79ba(0x1b3)]&&(_0x1295e3[_0x157751[_0x4e79ba(0x20e)]]={'feature':{'name':_0x5f14dc[_0x4e79ba(0x133)][_0x4e79ba(0x1b6)][_0x4e79ba(0x14c)],'path':_0x1295e3[_0x4e79ba(0x114)],'description':_0x5f14dc['parent'][_0x4e79ba(0x162)]},'scenario':{'name':_0x5f14dc['title']},'steps':_0x5f14dc[_0x4e79ba(0x1b3)]});const _0x25c000=_0x1295e3[_0x157751['IvLUD']][0x0];_0x25c000&&(_0x1295e3[_0x157751['ehHvR']]=_0x25c000[_0x157751[_0x4e79ba(0x1f8)]],_0x1295e3[_0x157751['NEeyR']]=_0x25c000[_0x157751[_0x4e79ba(0x1bb)]]);if(_0x5f14dc[_0x4e79ba(0x1b3)])for(const _0x10c5ee of _0x5f14dc[_0x4e79ba(0x1b3)]){!_0x10c5ee[_0x4e79ba(0x13c)]&&(_0x10c5ee[_0x4e79ba(0x13c)]=new Date()[_0x4e79ba(0x127)](),_0x157751['Eiula'](_0x10c5ee[_0x4e79ba(0x1ac)],_0x157751['nTbUg'])&&(_0x25c000?(_0x10c5ee[_0x4e79ba(0x1ac)]=_0x157751['xzscZ'],_0x10c5ee[_0x4e79ba(0x185)]=_0x25c000[_0x157751[_0x4e79ba(0x1f8)]][0x0]):_0x10c5ee['result']=_0x157751[_0x4e79ba(0x1c9)]));}const _0x41c9a8={};_0x41c9a8[_0x4e79ba(0x1d7)]=_0x3d0d68['skipped']?TEST_EVENTS[_0x4e79ba(0x1e1)]:_0x29c4f0;const _0x1b9be2=_0x41c9a8;return _0x3d0d68[_0x4e79ba(0x126)]?_0x1b9be2[_0x157751['NIhUw']]=_0x1295e3:_0x1b9be2[_0x157751[_0x4e79ba(0x15a)]]=_0x1295e3,_0x1b9be2;}catch(_0x2afe16){logger[_0x4e79ba(0x1bf)](_0x4e79ba(0x1c8)+_0x29c4f0+_0x4e79ba(0x16d)+_0x2afe16);}}async[a4_0x39d945(0x1f2)](_0x4a279e,_0x52b020){const _0x28a3db=a4_0x39d945;if(!this[_0x28a3db(0x19f)]||!_0x52b020||!_0x4a279e)return![];try{return await SessionHandler['uploadEventData'](_0x52b020);}catch(_0x322553){logger[_0x28a3db(0x1bf)](_0x28a3db(0x198)+_0x4a279e+_0x28a3db(0x16d)+_0x322553);}}[a4_0x39d945(0x17a)](_0x312e76){const _0x4db85b=a4_0x39d945,_0x59e6a2={};_0x59e6a2['yFWMx']=_0x4db85b(0x1d2);const _0x49f1f6=_0x59e6a2;return{'id':_0x312e76[_0x4db85b(0x16a)],'text':_0x312e76['text'],'keyword':_0x312e76[_0x4db85b(0x188)],'started_at':_0x312e76[_0x4db85b(0x1da)]['toISOString'](),'result':_0x49f1f6[_0x4db85b(0x1ef)]};}[a4_0x39d945(0x14b)](_0x4292d8){const _0x1c6267=a4_0x39d945,_0x202f92={'FmqiO':function(_0x481c87){return _0x481c87();}};!this['currentTest'][_0x1c6267(0x1b3)]&&(this[_0x1c6267(0x12f)][_0x1c6267(0x1b3)]=[]),!_0x4292d8[_0x1c6267(0x16a)]&&(_0x4292d8[_0x1c6267(0x16a)]=_0x202f92['FmqiO'](uuidv4),_0x4292d8['startedAt']=new Date(),this[_0x1c6267(0x12f)][_0x1c6267(0x1b3)]['push'](this['initializeBddStep'](_0x4292d8)));}[a4_0x39d945(0x19d)](_0x92bbd8){const _0x203e98=a4_0x39d945,_0x57de1d={'ccSGc':function(_0x5295ce,_0x230dfd){return _0x5295ce(_0x230dfd);},'IytIK':_0x203e98(0x112),'OUAKI':'pending','efyhP':_0x203e98(0x183),'nshYa':function(_0x290697,_0x25882c){return _0x290697-_0x25882c;}};let _0x3b9d82=this['currentTest'][_0x203e98(0x1b3)]['find'](_0xb69903=>_0xb69903['id']===_0x92bbd8['stepAnalyticsId']);_0x57de1d[_0x203e98(0x156)](isUndefined,_0x3b9d82)&&(_0x3b9d82=this[_0x203e98(0x17a)](_0x92bbd8)),_0x3b9d82[_0x203e98(0x1ac)]=[_0x57de1d[_0x203e98(0x18b)],_0x57de1d[_0x203e98(0x1f0)]][_0x203e98(0x1c7)](_0x92bbd8['status'])?_0x57de1d[_0x203e98(0x172)]:_0x92bbd8[_0x203e98(0x180)],_0x3b9d82[_0x203e98(0x13c)]=new Date()[_0x203e98(0x127)](),_0x3b9d82['duration']=_0x57de1d[_0x203e98(0x191)](Date[_0x203e98(0x13e)](),_0x92bbd8['startedAt'][_0x203e98(0x202)]()),_0x3b9d82[_0x203e98(0x185)]=_0x92bbd8[_0x203e98(0x1ae)]?_0x92bbd8[_0x203e98(0x1ae)][_0x203e98(0x205)]:null;}}function a4_0x52bf(_0x37999e,_0x1ac64f){const _0x1ca4f2=a4_0x1ca4();return a4_0x52bf=function(_0x52bf1f,_0x2cd685){_0x52bf1f=_0x52bf1f-0x112;let _0x1cc49e=_0x1ca4f2[_0x52bf1f];return _0x1cc49e;},a4_0x52bf(_0x37999e,_0x1ac64f);}const a4_0x20065e={};function a4_0x1ca4(){const _0x10e98d=['frameworkName','cDKLz','Dvzso','location_prefix','VgrQO','constructor','fjXeI','JOcVT','smDiE','string','ajJXl','codeceptjs','bddStepStart','name','sendCBTInfo','groups','wjVxC','STATE_PASSED','xzscZ','ERhix','../../helpers/test-observability/sessionHandler','finished','bNlDn','ccSGc','HookRunStarted','lmMgM','CTcJJ','BTBhX','test_run','mBrXF','markedStatus','_beforeAll','../playwright/sessionDetails','./helper.js','hookAnalyticsId','comment','pendingHookEvents','NVRaK','nTbUg','TEST_RUN_SKIPPED','failed','5|0|4|1|2|3','MPfpH','stepAnalyticsId','aQJAy','type','\x20with\x20error\x20:\x20','uploadEventData','wxpLa','browserstack','.git','efyhP','bs:addLog:','currentHook','CODECEPT','skipped','wsEndpoint','hasLiveDriverSession','KuHkj','initializeBddStep','LOMVd','TEST_RUN_STARTED','title','xrjYa','uploadData','status','body','findGitConfig','passed','YEnaU','failure','connect','failureData','keyword','replace','expanded','IytIK','xsXDW','_afterEach','javascript','CBTSessionCreated','failure_backtrace','nshYa','eventType','../../helpers/testhub/utils.js','../../helpers/logger','WYNET','retryOf','file','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','uuid','_afterAll','rSfoZ','shutdown','bddStepFinish','NiaCX','enabled','getCBTInfo','1248816rFcdQF','lrSww','TestRunSkipped','start','toString','fullTitle','LnwvK','logs','ZUuWQ','PathHelper','lmoIA','result','40YLbydF','err','getFailureType','rVaVn','ctx','appendTestItemLog','bddSteps','RBNVN','failure_reason_expanded','feature','HOOK_RUN_STARTED','getHooksForTest','aWOtQ','hooks','dobqO','4078115BFeyIf','started','3511152TzUkSN','debug','toLowerCase','forEach','PLAYWRIGHT_HUB_URL','prefixTestPath','mapTestHooks','stringify','apply','includes','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','vKWvn','setupBrowserDetails','nrhZd','_testEnv','bufferPendingHookEvent','getInstance','_paths','BROWSERSTACK','dirname','pending','Failed\x20to\x20flush\x20pending\x20hook\x20event\x20','concat','WSsSw','suites','event_type','test','launch','startedAt','ONLyO','RyXmF','__platformCaps','inspect','2501368rWQwun','_beforeEach','TEST_RUN_FINISHED','accessibilityPlatform','obsBrowserTypeMockApplied','1729DgTxPA','captureEvent','removeAllListeners','getRootParentFile','STATE_FAILED','AxaGY','hook_run','HbHuo','../playwright/accessibility-helper','wyFtc','chuhe','yFWMx','OUAKI','resetSkipTestHooks','fireEvent','patchConsoleLogger','keys','doCcT','testAnalyticsId','rlMzj','vEWHz','HookRunFinished','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','ANEWv','tags','integrations','stop','../../helpers/test-observability/utils','Not\x20able\x20to\x20import\x20Browser','__cloud_provider___','getTime','674026Ewnvqj','exports','message','7950573pfQvYq','errorsDetailed','WMsWb','TEST_EVENTS','getHookType','push','RPNIa','xIlWI','txBVU','success','flushPendingHookEvents','file_name','../mocha/test-observability/mochaUtils','length','duration','test_run_uuid','getHierarchy','DHuGC','hook_type','util','defineProperty','18AMLkHr','eFEQw','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','session_id','yndXV','driver','mAgbV','MflSq','hook','toISOString','hook_run_uuid','AQdQp','toUpperCase','splice','glIKL','path','match','currentTest','gEBvD','APAJv','hpDYi','parent','TEST_REPORTING_ANALYTICS','fMPOG','then','AgSKq','pid','pXSyX','TestRunStarted','join','finished_at','format','now'];a4_0x1ca4=function(){return _0x10e98d;};return a4_0x1ca4();}a4_0x20065e['O11yHelper']=O11yHelper,a4_0x20065e[a4_0x39d945(0x150)]=STATE_PASSED,a4_0x20065e[a4_0x39d945(0x1e8)]=STATE_FAILED,a4_0x20065e[a4_0x39d945(0x209)]=TEST_EVENTS,module[a4_0x39d945(0x204)]=a4_0x20065e;
|