browserstack-node-sdk 1.61.0 → 1.62.0
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/browserstack.pw.yml.sample +10 -0
- package/browserstack.yml.sample +10 -0
- 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/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/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_0x31732e=a1_0x3644;(function(_0x1bef24,_0x2f3039){const _0x1ceeb9=a1_0x3644,_0x42a28f=_0x1bef24();while(!![]){try{const _0x32efc2=parseInt(_0x1ceeb9(0x1d7))/0x1*(parseInt(_0x1ceeb9(0x173))/0x2)+parseInt(_0x1ceeb9(0x211))/0x3+parseInt(_0x1ceeb9(0x21d))/0x4+parseInt(_0x1ceeb9(0x1aa))/0x5+-parseInt(_0x1ceeb9(0x1bc))/0x6+parseInt(_0x1ceeb9(0x178))/0x7*(-parseInt(_0x1ceeb9(0x269))/0x8)+-parseInt(_0x1ceeb9(0x195))/0x9;if(_0x32efc2===_0x2f3039)break;else _0x42a28f['push'](_0x42a28f['shift']());}catch(_0x5ad7f8){_0x42a28f['push'](_0x42a28f['shift']());}}}(a1_0xb895,0xc5ec2));const fs=require('fs'),util=require('util'),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x31732e(0x18f)),logger=require('../../helpers/logger')['winstonLogger'],testOpsHelper=require(a1_0x31732e(0x203)),requestSpy=require(a1_0x31732e(0x1bf)),PlaywrightSessionDetails=require(a1_0x31732e(0x199)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x31732e(0x1c2)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x31732e(0x17d)),AccessibilityHelper=require(a1_0x31732e(0x197)),scripts=require(a1_0x31732e(0x1a6)),PerformanceTester=require(a1_0x31732e(0x255)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x31732e(0x1ed)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x31732e(0x260)),testHubConstants=require(a1_0x31732e(0x26d)),globals=require('../../helpers/globals.js'),CodeceptJS=requireModule(a1_0x31732e(0x219),a1_0x31732e(0x270)),CodeceptUtils=requireModule(a1_0x31732e(0x196),'codeceptjs'),CodeceptWebDriver=requireModule(a1_0x31732e(0x179),a1_0x31732e(0x270)),CodeceptRecorder=requireModule(a1_0x31732e(0x182),a1_0x31732e(0x270)),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js',a1_0x31732e(0x270));try{require(a1_0x31732e(0x21f))[a1_0x31732e(0x21e)](a1_0x31732e(0x270));}catch(a1_0x4fba54){logger[a1_0x31732e(0x186)](a1_0x31732e(0x225)+(a1_0x4fba54&&a1_0x4fba54[a1_0x31732e(0x1d6)]));}const playwrightMarkSessionStatus=(_0xca4945,_0x5dcfe0,_0x2fba28)=>{const _0x229a19=a1_0x31732e,_0x4cc836={'FMuAJ':'setSessionStatus','kZBWm':function(_0x5883ea,_0xae70fa){return _0x5883ea(_0xae70fa);}},_0x4af5b8={};_0x4af5b8['status']=_0x5dcfe0;const _0x2957ff={};_0x2957ff[_0x229a19(0x248)]=_0x4cc836[_0x229a19(0x263)],_0x2957ff[_0x229a19(0x1e2)]=_0x4af5b8;const _0x1a8045=_0x2957ff;return!_0x4cc836[_0x229a19(0x234)](isUndefined,_0x2fba28)&&(_0x1a8045[_0x229a19(0x1e2)][_0x229a19(0x223)]=JSON[_0x229a19(0x256)](_0x2fba28)),_0xca4945[_0x229a19(0x261)](()=>{},_0x229a19(0x1a1)+JSON[_0x229a19(0x256)](_0x1a8045));},o11ySync=PerformanceTester[a1_0x31732e(0x1c7)](PerformanceO11yEvents[a1_0x31732e(0x20a)],async _0x188025=>{const _0x178bdb=a1_0x31732e,_0x4799c3={};_0x4799c3[_0x178bdb(0x1fc)]=function(_0x224421,_0x2eb17f){return _0x224421===_0x2eb17f;},_0x4799c3[_0x178bdb(0x224)]=_0x178bdb(0x236);const _0x58d9ea=_0x4799c3;_0x58d9ea[_0x178bdb(0x1fc)](_0x188025[_0x178bdb(0x1fe)][_0x178bdb(0x1df)],_0x58d9ea['NdxZO'])?await _0x188025[_0x178bdb(0x261)](_0xa4d4db=>{},testOpsHelper[_0x178bdb(0x25d)]()):await _0x188025[_0x178bdb(0x261)](testOpsHelper['getSyncScript']());}),markSessionName=PerformanceTester['measureWrapper'](PerformanceAutEvents['SESSION_NAME'],async(_0x20e1a4,_0x1eb250)=>{const _0x5f44ae=a1_0x31732e,_0x22ade9={};_0x22ade9[_0x5f44ae(0x1b7)]=_0x5f44ae(0x26c),_0x22ade9[_0x5f44ae(0x192)]=function(_0x18daea,_0x27cffd){return _0x18daea===_0x27cffd;},_0x22ade9['BOywB']=_0x5f44ae(0x236);const _0xd74ed5=_0x22ade9,_0x483121={};_0x483121['name']=_0x1eb250;const _0x10fd5f={};_0x10fd5f[_0x5f44ae(0x248)]=_0xd74ed5[_0x5f44ae(0x1b7)],_0x10fd5f['arguments']=_0x483121;const _0x4c025f=_0x10fd5f;_0xd74ed5[_0x5f44ae(0x192)](_0x20e1a4[_0x5f44ae(0x1fe)][_0x5f44ae(0x1df)],_0xd74ed5[_0x5f44ae(0x1dd)])?await _0x20e1a4['executeScript'](()=>{},'browserstack_executor:\x20'+JSON[_0x5f44ae(0x256)](_0x4c025f)):await _0x20e1a4[_0x5f44ae(0x261)](_0x5f44ae(0x1a1)+JSON[_0x5f44ae(0x256)](_0x4c025f));}),patchSaveScreenshot=_0x3d6aa0=>{const _0x1fe3d1=a1_0x31732e,_0x200d3f={'SMihG':_0x1fe3d1(0x227),'nNNMP':_0x1fe3d1(0x246),'dLWph':function(_0x351b3e){return _0x351b3e();},'cEGyz':function(_0x1c4c06,_0x409ef1){return _0x1c4c06(_0x409ef1);},'OAmBO':_0x1fe3d1(0x1f6),'WILuJ':function(_0x5cb59f,_0x35029e){return _0x5cb59f(_0x35029e);}};_0x200d3f[_0x1fe3d1(0x216)](isTrue,process['env'][_0x1fe3d1(0x1ba)])&&!_0x3d6aa0['patchSaveScreenshot']&&(_0x3d6aa0[_0x1fe3d1(0x1e3)]=!![],_0x3d6aa0[_0x1fe3d1(0x22c)]=_0x3d6aa0[_0x1fe3d1(0x1bb)],_0x3d6aa0[_0x1fe3d1(0x1bb)]=(_0xb88717,_0x2cb6bb=![])=>{const _0x2f98a6=_0x1fe3d1,_0x50e697={'nqCQr':_0x200d3f[_0x2f98a6(0x23c)],'ZKMgX':_0x200d3f['nNNMP'],'qZhZI':function(_0x20ac46){const _0x2d9161=_0x2f98a6;return _0x200d3f[_0x2d9161(0x1b3)](_0x20ac46);},'WYaWG':function(_0x341cce,_0x28f388){const _0x43a6a0=_0x2f98a6;return _0x200d3f[_0x43a6a0(0x201)](_0x341cce,_0x28f388);},'tzijq':_0x200d3f[_0x2f98a6(0x233)]};return new Promise(function(_0x49dee6,_0x426619){const _0x3aa4bd=_0x2f98a6;_0x3d6aa0[_0x3aa4bd(0x22c)](_0xb88717,_0x2cb6bb)[_0x3aa4bd(0x1b1)](()=>{const _0x4dd9d2=_0x3aa4bd,_0x57caa4=CodeceptUtils['screenshotOutputFolder'](_0xb88717);if(_0x57caa4){const _0x4597da=fs[_0x4dd9d2(0x1bd)](_0x57caa4);process['emit']('bs:addLog:'+process[_0x4dd9d2(0x23d)],{'timestamp':new Date()[_0x4dd9d2(0x208)](),'message':_0x4597da[_0x4dd9d2(0x19f)](_0x50e697[_0x4dd9d2(0x17a)]),'kind':_0x50e697[_0x4dd9d2(0x1e9)]}),_0x50e697['qZhZI'](_0x49dee6);}_0x50e697['WYaWG'](_0x426619,new Error(_0x50e697[_0x4dd9d2(0x177)]));})['catch'](()=>null);});});},patchWebDriverBefore=(_0x2fc524,_0x26c1c1)=>{const _0x1b47a6=a1_0x31732e,_0x228a51={'aSoJu':function(_0x584d1d){return _0x584d1d();},'wWbVg':function(_0x5a5f77,_0x4a7373){return _0x5a5f77(_0x4a7373);},'SCxuR':function(_0x2bba0b,_0x49d2f0){return _0x2bba0b===_0x49d2f0;},'VVJan':_0x1b47a6(0x1a8),'DMXYK':function(_0x4bbb19,_0x1dd4f5){return _0x4bbb19===_0x1dd4f5;},'XmRlT':'string','OXVVN':function(_0x3704e8,_0x266905){return _0x3704e8===_0x266905;},'YhoRR':_0x1b47a6(0x19e),'ITNjG':function(_0xd4f508,_0x52f910){return _0xd4f508===_0x52f910;},'qQiIX':_0x1b47a6(0x235)},_0x350b0b=async function(_0x2c91d4,_0x3979ec){const _0x51d54a=_0x1b47a6;_0x228a51[_0x51d54a(0x277)](isAccessibilityAutomationSession)&&!global[_0x51d54a(0x259)]&&global[_0x51d54a(0x175)]&&scripts[_0x51d54a(0x17f)](_0x2c91d4[_0x51d54a(0x1df)])&&_0x228a51[_0x51d54a(0x276)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x51d54a(0x259)]=!![],await PerformanceTester[_0x51d54a(0x1c7)](PerformanceA11yEvents[_0x51d54a(0x1cf)],async()=>{const _0x12fa08=_0x51d54a;logger[_0x12fa08(0x186)](_0x12fa08(0x23a)+_0x2c91d4[_0x12fa08(0x264)]+'\x20'+_0x2c91d4[_0x12fa08(0x1df)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x2fc524,scripts[_0x12fa08(0x24b)]);},{'command':_0x2c91d4[_0x51d54a(0x1df)]})());global['bstackAllyScanning']=![];const _0x41ac40=JSON[_0x51d54a(0x20b)](process[_0x51d54a(0x1f3)]['FRAMEWORK_DETAILS']||'{}');if(_0x228a51[_0x51d54a(0x279)](_0x41ac40?.[_0x51d54a(0x237)]?.[_0x51d54a(0x1df)],_0x228a51[_0x51d54a(0x1e6)])&&_0x228a51[_0x51d54a(0x1ff)](typeof _0x41ac40?.[_0x51d54a(0x237)]?.[_0x51d54a(0x172)],_0x228a51[_0x51d54a(0x24a)])&&_0x41ac40?.[_0x51d54a(0x237)]?.[_0x51d54a(0x172)][_0x51d54a(0x1e8)]('7'))return _0x3979ec[_0x51d54a(0x1e4)](null,Array[_0x51d54a(0x1ac)]['slice']['call'](arguments,0x2));return _0x3979ec[_0x51d54a(0x1e4)](this,Array[_0x51d54a(0x1ac)][_0x51d54a(0x200)][_0x51d54a(0x226)](arguments,0x2));},_0x2efdc9=CodeceptWebDriver['prototype']['_before'];CodeceptWebDriver[_0x1b47a6(0x1ac)][_0x1b47a6(0x22a)]=async function(){const _0x523462=_0x1b47a6,_0x47479f={'BTakR':function(_0x135806,_0x2d922f){return _0x228a51['OXVVN'](_0x135806,_0x2d922f);},'OYLqS':_0x228a51[_0x523462(0x1b4)]};try{await _0x2efdc9['apply'](this,arguments);}catch(_0x27f8b1){logger['debug'](_0x523462(0x19a)+util[_0x523462(0x23e)](_0x27f8b1));}scripts[_0x523462(0x274)][_0x523462(0x1a7)](_0x4b54f2=>_0x4b54f2[_0x523462(0x1df)]&&_0x4b54f2[_0x523462(0x264)])['forEach'](_0x53dbe1=>{const _0x5aa58b=_0x523462;this[_0x5aa58b(0x23f)][_0x5aa58b(0x202)](_0x53dbe1[_0x5aa58b(0x1df)],_0x350b0b[_0x5aa58b(0x27a)](this,_0x53dbe1),_0x47479f[_0x5aa58b(0x1ec)](_0x53dbe1[_0x5aa58b(0x264)],_0x47479f[_0x5aa58b(0x1af)]));}),_0x228a51[_0x523462(0x276)](processWebDriverConfig,_0x2fc524);try{_0x26c1c1&&_0x228a51[_0x523462(0x278)](typeof _0x26c1c1['flushPendingHookEvents'],_0x228a51['qQiIX'])&&await _0x26c1c1['flushPendingHookEvents']();}catch(_0x1600c2){logger[_0x523462(0x186)](_0x523462(0x1b2)+util[_0x523462(0x23e)](_0x1600c2));}};};function a1_0xb895(){const _0x246767=['SCEUU','bzieq','Puppeteer','captureEvent','BS_TESTOPS_ALLOW_SCREENSHOTS','saveScreenshot','8928516xMLwyW','readFileSync','all','../../helpers/request-spy','HOOK_RUN_STARTED','hook-started','./o11yHelper','args','getGlobal','oOwTc','LqkZp','measureWrapper','pages','push','page','ijjQH','start','isArray','from','PERFORM_SCAN','Ejrhu','uPDyc','UPWmN','stop','browserContext','jDDpi','message','511767AKKZac','add','browserStackExecuteDriver','end','emit','startMonitoring','BOywB','chromium','name','step-comment','thJwtToken','arguments','patchSaveScreenshot','apply','TEST_RUN_FINISHED','VVJan','GZqqX','startsWith','ZKMgX','gHWBD','includes','BTakR','../../helpers/performance/constants','saveTestResults','hook-failed','IzcgQ','SESSION_STATUS','BROWSERSTACK_TESTHUB_UUID','env','bddStepStart','HBDZb','Screenshot\x20path\x20not\x20found','--auto-open-devtools-for-tabs','\x0aStack:\x20','dzqEq','Failed\x20to\x20flush\x20pending\x20hook\x20events\x20after\x20Playwright\x20_before:\x20','SDK_POST_TEST','cmOpF','passed','constructor','DMXYK','slice','cEGyz','overwriteCommand','../../helpers/test-observability/utils','Suite','BBNeN','after','GkJFG','toISOString','bddStep-after','SYNC','parse','ctx','Failed\x20to\x20patch\x20pages\x20method\x20in\x20browserContext\x20for\x20a11y\x20domForge:\x20','failed','captureError','step','3991266kUXXEt','wjIyO','warn','command','SAVE_RESULTS','WILuJ','GHzvm','devtools://','codeceptjs/lib/index.js','config','VJMuV','iQRQk','5978924uXnAyl','installAll','../../helpers/driverInitErrorReporter','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','test','currentTest','reason','NdxZO','driver-init\x20capture\x20install\x20failed:\x20','call','base64','getAccessibilityResultsSummary','before','_before','dispatcher','initSaveScreenshot','jHKvT','FpqCP','KaTPl','fireEvent','bddStep','golYg','OAmBO','kZBWm','function','Playwright','testFramework','SDmST','patch','Performing\x20scan\x20for\x20','url','SMihG','pid','format','browser','uqtCE','event','ZPkzC','SDK_TEST','skipSessionName','hook','TEST_SCREENSHOT','HmDDF','action','ZrDiK','XmRlT','performScan','isMobilePlatform','SDK_POST_INITIALIZE','contexts','VRTLH','BS_A11Y_JWT','titlePath','bufferPendingHookEvent','thBuildUuid','skipSessionStatus','../../helpers/performance/performance-tester','stringify','LYbpm','eixOH','bstackAllyScanning','JPshw','info','bkcRX','getSyncScript','is_mobile_session','nHSEw','./helper.js','executeScript','test-before','FMuAJ','class','AnTEp','YFhHZ','PjZkJ','SDK_PRE_TEST','2792xDcaUo','getResults','setGlobal','setSessionName','../../helpers/testhub/constants.js','hookType','GET_RESULTS_SUMMARY','codeceptjs','ENV_VAR','__driver','iAWEA','commandsToWrap','HOOK_RUN_FINISHED','wWbVg','aSoJu','ITNjG','SCxuR','bind','title','CuaIc','version','2WgKGGY','exports','accessibilityPlatform','stack','tzijq','18319yUfYEk','codeceptjs/lib/helper/WebDriver.js','nqCQr','iqQMc','TestCafe','../../helpers/accessibility-automation/helper','RhXSB','shouldWrapCommand','xkfGv','WebDriver','codeceptjs/lib/recorder.js','TgXoe','restore','_setPage','debug','a11y_core_config','started','getResultsSummary','TRSOI','bddStepFinish','TEST_RUN_SKIPPED','DlTwv','aUMWG','../../helpers/helper','INFO','find','yGLcQ','sxwXK','GET_RESULTS','8672607iPGCSs','codeceptjs/lib/utils.js','../../bin/playwright/accessibility-helper','helpers','../../bin/playwright/sessionDetails','Failed\x20to\x20execute\x20_before:\x20','test-skipped','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','ycwbe','Element','toString','TEST_RUN_STARTED','browserstack_executor:\x20','test-after','bddStep-before','skipped','getAccessibilityResults','../../helpers/accessibility-automation/scripts','filter','webdriverio','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','4194060cjpFfj','test-passed','prototype','SDK_HOOK','comment','OYLqS','nPAel','then','Failed\x20to\x20flush\x20pending\x20hook\x20events\x20after\x20_before:\x20','dLWph','YhoRR','container'];a1_0xb895=function(){return _0x246767;};return a1_0xb895();}function parseJwt(_0x508b53){const _0x3e1dab=a1_0x31732e,_0x14371e={};_0x14371e[_0x3e1dab(0x1f0)]='base64';const _0x3c2cbf=_0x14371e;if(!_0x508b53)return null;return JSON['parse'](Buffer[_0x3e1dab(0x1ce)](_0x508b53['split']('.')[0x1],_0x3c2cbf[_0x3e1dab(0x1f0)])[_0x3e1dab(0x19f)]());}function a1_0x3644(_0xb33038,_0x3e839a){const _0xb8957a=a1_0xb895();return a1_0x3644=function(_0x3644b2,_0x738b5d){_0x3644b2=_0x3644b2-0x172;let _0x5d2fc2=_0xb8957a[_0x3644b2];return _0x5d2fc2;},a1_0x3644(_0xb33038,_0x3e839a);}const patchPlaywrightBefore=_0xe704b4=>{const _0x38083a=a1_0x31732e,_0x200115={'TgXoe':_0x38083a(0x1f7),'LYbpm':function(_0x28027d){return _0x28027d();},'ZGWYZ':function(_0x2c9e44,_0x571152){return _0x2c9e44(_0x571152);},'bkcRX':_0x38083a(0x218),'VRTLH':function(_0x990787,_0x4db375){return _0x990787+_0x4db375;},'aUMWG':_0x38083a(0x1f8),'nPAel':function(_0x544003){return _0x544003();},'nXKgt':function(_0x23540b){return _0x23540b();},'TRSOI':function(_0x39b72a){return _0x39b72a();},'JPshw':function(_0x234ef1,_0x557160){return _0x234ef1===_0x557160;},'SDmST':_0x38083a(0x235)};PlaywrightSessionDetails[_0x38083a(0x239)]();const _0x54cf4f=CodeceptPlaywright[_0x38083a(0x1ac)][_0x38083a(0x22a)];CodeceptPlaywright[_0x38083a(0x1ac)][_0x38083a(0x22a)]=async function(){const _0x2e325c=_0x38083a,_0x45fe2e={'xkfGv':function(_0xec3f0b){const _0x32eb98=a1_0x3644;return _0x200115[_0x32eb98(0x1b0)](_0xec3f0b);},'RhXSB':_0x200115[_0x2e325c(0x25c)]};this[_0x2e325c(0x1d4)]=await this[_0x2e325c(0x23f)][_0x2e325c(0x24e)]()[0x0];const _0x4dbfb8=async()=>{const _0x28701d=_0x2e325c,_0x5b23c4=this['config']&&this['config'][_0x28701d(0x1de)]&&this[_0x28701d(0x21a)][_0x28701d(0x1de)][_0x28701d(0x1c3)]&&Array[_0x28701d(0x1cd)](this['config']['chromium'][_0x28701d(0x1c3)])&&this[_0x28701d(0x21a)]['chromium'][_0x28701d(0x1c3)][_0x28701d(0x1eb)](_0x200115[_0x28701d(0x183)]);if(_0x200115[_0x28701d(0x257)](isAccessibilityAutomationSession)&&!_0x5b23c4)try{const _0x3e2e43=_0x200115['ZGWYZ'](parseJwt,process[_0x28701d(0x1f3)][_0x28701d(0x250)]);if(_0x3e2e43&&_0x3e2e43['a11y_core_config']&&_0x3e2e43[_0x28701d(0x187)]['domForge']){const _0x426ad4=this[_0x28701d(0x1d4)][_0x28701d(0x1c8)][_0x28701d(0x27a)](this[_0x28701d(0x1d4)]);this[_0x28701d(0x1d4)][_0x28701d(0x1c8)]=async function(){const _0x715121=_0x28701d,_0xc7da25=await _0x45fe2e[_0x715121(0x180)](_0x426ad4),_0x182a25=[];for(const _0x53cb3b of _0xc7da25){try{const _0x10cc89=await _0x53cb3b[_0x715121(0x23b)]();!_0x10cc89[_0x715121(0x1e8)](_0x45fe2e[_0x715121(0x17e)])&&_0x182a25[_0x715121(0x1c9)](_0x53cb3b);}catch(_0x11431f){_0x182a25[_0x715121(0x1c9)](_0x53cb3b);}}return _0x182a25;};}if(!_0x200115[_0x28701d(0x257)](isBrowserstackInfra)){const _0x4b53dc=await this[_0x28701d(0x1ca)][_0x28701d(0x23b)]();if(_0x4b53dc[_0x28701d(0x1e8)](_0x200115[_0x28701d(0x25c)])){const _0x1be53a=await this['browserContext'][_0x28701d(0x1c8)]();this[_0x28701d(0x185)](_0x1be53a[0x0]);}}}catch(_0x4a10b9){logger[_0x28701d(0x186)](_0x28701d(0x20d)+_0x4a10b9[_0x28701d(0x1d6)]+(_0x4a10b9['stack']?_0x200115[_0x28701d(0x24f)](_0x200115[_0x28701d(0x18e)],_0x4a10b9[_0x28701d(0x176)]):''));}};_0x200115[_0x2e325c(0x1b0)](isBrowserstackInfra)&&await _0x200115['nPAel'](_0x4dbfb8);await _0x54cf4f[_0x2e325c(0x1e4)](this,arguments);!_0x200115['nXKgt'](isBrowserstackInfra)&&await _0x200115[_0x2e325c(0x18a)](_0x4dbfb8);try{_0xe704b4&&_0x200115[_0x2e325c(0x25a)](typeof _0xe704b4['flushPendingHookEvents'],_0x200115[_0x2e325c(0x238)])&&await _0xe704b4['flushPendingHookEvents']();}catch(_0x253b95){logger[_0x2e325c(0x186)](_0x2e325c(0x1fa)+util[_0x2e325c(0x23e)](_0x253b95));}};},getCodeceptDriver=()=>{const _0x264ea1=a1_0x31732e,_0x46ee81={};_0x46ee81[_0x264ea1(0x1b6)]=_0x264ea1(0x181),_0x46ee81[_0x264ea1(0x25f)]=_0x264ea1(0x236),_0x46ee81[_0x264ea1(0x193)]=_0x264ea1(0x1b8),_0x46ee81[_0x264ea1(0x242)]=_0x264ea1(0x17c);const _0x24039c=_0x46ee81,_0x5d433e=[_0x24039c['SCEUU'],_0x24039c['nHSEw'],_0x24039c[_0x264ea1(0x193)],_0x24039c[_0x264ea1(0x242)]],_0x5f3d56=_0x5d433e[_0x264ea1(0x191)](_0x21a498=>!!CodeceptJS[_0x264ea1(0x1b5)][_0x264ea1(0x198)](_0x21a498));if(!_0x5f3d56)return null;return CodeceptJS['container'][_0x264ea1(0x198)](_0x5f3d56);};module[a1_0x31732e(0x174)]=function(_0x248553){const _0x27ecdd=a1_0x31732e,_0x3035fd={'CuaIc':function(_0x5e60e2,_0x4e9276){return _0x5e60e2(_0x4e9276);},'BBNeN':function(_0x5b0f71,_0x55ce4f,_0x2eb810){return _0x5b0f71(_0x55ce4f,_0x2eb810);},'uPDyc':'getAccessibilityResultsSummary','uqtCE':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','iqQMc':'getAccessibilityResults','TiIuj':_0x27ecdd(0x1a9),'FpqCP':_0x27ecdd(0x1c1),'YFhHZ':'hook-passed','tqUgH':function(_0x489e6b,_0x101cc5,_0x1f8c7b){return _0x489e6b(_0x101cc5,_0x1f8c7b);},'YKEYX':function(_0x332a57,_0x886a43,_0x39315b){return _0x332a57(_0x886a43,_0x39315b);},'LqkZp':_0x27ecdd(0x1ef),'eixOH':'browserstackTestName','PjZkJ':function(_0x52dc51){return _0x52dc51();},'ycwbe':_0x27ecdd(0x262),'RkknQ':function(_0x387e68,_0x561bda,_0x1da6cf){return _0x387e68(_0x561bda,_0x1da6cf);},'ZpEXC':function(_0x3c19f8,_0x22173a){return _0x3c19f8(_0x22173a);},'iAWEA':'test-started','AnTEp':function(_0x248122){return _0x248122();},'HBDZb':function(_0x381a6d,_0x3ff83b,_0x3f540a){return _0x381a6d(_0x3ff83b,_0x3f540a);},'dzqEq':_0x27ecdd(0x1ab),'jDDpi':function(_0x37eb84,_0x47814d,_0x21bbda,_0x5c8743){return _0x37eb84(_0x47814d,_0x21bbda,_0x5c8743);},'wjIyO':function(_0x1fc765,_0xad32ba,_0x3a7474,_0x734fb6){return _0x1fc765(_0xad32ba,_0x3a7474,_0x734fb6);},'ZrDiK':function(_0xc220da,_0x17d524){return _0xc220da===_0x17d524;},'oOwTc':_0x27ecdd(0x204),'KaTPl':'test-failed','VJMuV':_0x27ecdd(0x19b),'ijjQH':'afterTest','golYg':_0x27ecdd(0x24c),'DrHCJ':function(_0x520fe7,_0x28bc30,_0x3db7ca){return _0x520fe7(_0x28bc30,_0x3db7ca);},'CLEEG':function(_0x3b008b){return _0x3b008b();},'UPWmN':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','HmDDF':_0x27ecdd(0x1a2),'Ejrhu':_0x27ecdd(0x190),'Umivc':'TEST_LOG','iQRQk':_0x27ecdd(0x1e0),'Lpscs':_0x27ecdd(0x1a3),'GZqqX':_0x27ecdd(0x209),'jHKvT':function(_0x135835){return _0x135835();},'gHWBD':_0x27ecdd(0x236)};_0x248553[_0x27ecdd(0x254)]&&(global['__skipSessionStatus']=_0x248553[_0x27ecdd(0x254)]);PerformanceTester[_0x27ecdd(0x1dc)]();const _0xfe121d=_0x3035fd[_0x27ecdd(0x22d)](getCodeceptDriver),_0x581889=new O11yHelper(_0xfe121d,_0x248553),_0x540876=!!CodeceptJS[_0x27ecdd(0x1b5)][_0x27ecdd(0x198)](_0x3035fd[_0x27ecdd(0x1ea)]);global[_0x27ecdd(0x272)]=_0xfe121d;_0xfe121d&&(PerformanceTester[_0x27ecdd(0x1c7)](PerformanceEvents['SDK_PRE_INITIALIZE'],()=>{const _0x89e6ee=_0x27ecdd;_0x540876?_0x3035fd[_0x89e6ee(0x27c)](patchPlaywrightBefore,_0x581889):_0x3035fd[_0x89e6ee(0x205)](patchWebDriverBefore,_0xfe121d,_0x581889);})(),PerformanceTester[_0x27ecdd(0x1c7)](PerformanceEvents[_0x27ecdd(0x24d)],()=>{const _0x1bc0dc=_0x27ecdd;_0xfe121d[_0x1bc0dc(0x228)]=async()=>{const _0x53e028=_0x1bc0dc;if(global[_0x53e028(0x175)]){const _0xa0a521={};return _0xa0a521['command']=_0x3035fd[_0x53e028(0x1d1)],await PerformanceTester[_0x53e028(0x1c7)](PerformanceA11yEvents[_0x53e028(0x1cf)],async()=>{const _0x25f706=_0x53e028;return await AccessibilityHelper[_0x25f706(0x1d9)](_0xfe121d,scripts[_0x25f706(0x24b)]);},_0xa0a521)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x53e028(0x26f)],async()=>{const _0x4ea55d=_0x53e028;return await AccessibilityHelper['browserStackExecuteDriver'](_0xfe121d,scripts[_0x4ea55d(0x189)]);})();}return logger[_0x53e028(0x213)](_0x3035fd[_0x53e028(0x240)]),{};},_0xfe121d[_0x1bc0dc(0x1a5)]=async()=>{const _0x14b511=_0x1bc0dc;if(global[_0x14b511(0x175)]){const _0x24fd91={};return _0x24fd91[_0x14b511(0x214)]=_0x3035fd[_0x14b511(0x17b)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x14b511(0x1cf)],async()=>{const _0x558def=_0x14b511;return await AccessibilityHelper[_0x558def(0x1d9)](_0xfe121d,scripts[_0x558def(0x24b)]);},_0x24fd91)(),await PerformanceTester[_0x14b511(0x1c7)](PerformanceA11yEvents[_0x14b511(0x194)],async()=>{const _0x51ddf4=_0x14b511;return await AccessibilityHelper[_0x51ddf4(0x1d9)](_0xfe121d,scripts[_0x51ddf4(0x26a)]);})();}return logger['warn'](_0x3035fd['TiIuj']),{};},_0x3035fd[_0x1bc0dc(0x27c)](patchSaveScreenshot,_0xfe121d);})());CodeceptJS[_0x27ecdd(0x241)][_0x27ecdd(0x22b)]['on'](CodeceptJS[_0x27ecdd(0x241)][_0x27ecdd(0x1be)]['before'],()=>{const _0x4a3b67=_0x27ecdd;PerformanceTester[_0x4a3b67(0x1cc)](PerformanceEvents[_0x4a3b67(0x268)]);try{_0x581889[_0x4a3b67(0x1cc)](),testOpsHelper['addRequestSpy'](),PerformanceTester['end'](PerformanceEvents[_0x4a3b67(0x268)]);}catch(_0x4209be){PerformanceTester[_0x4a3b67(0x20f)](_0x4209be),PerformanceTester[_0x4a3b67(0x1da)](PerformanceEvents[_0x4a3b67(0x268)],![],_0x4209be);}}),CodeceptJS['event'][_0x27ecdd(0x22b)]['on'](CodeceptJS[_0x27ecdd(0x241)][_0x27ecdd(0x1be)][_0x27ecdd(0x206)],async()=>{const _0x39a9f0=_0x27ecdd;PerformanceTester[_0x39a9f0(0x1cc)](PerformanceEvents[_0x39a9f0(0x1fb)]);try{requestSpy[_0x39a9f0(0x184)](),await _0x581889[_0x39a9f0(0x1d3)](),PerformanceTester[_0x39a9f0(0x1da)](PerformanceEvents[_0x39a9f0(0x1fb)]);}catch(_0x4909d7){PerformanceTester[_0x39a9f0(0x20f)](_0x4909d7),PerformanceTester[_0x39a9f0(0x1da)](PerformanceEvents[_0x39a9f0(0x1fb)],![],_0x4909d7);}finally{PerformanceTester['stopMonitoring']();}});const _0x267a44=(_0x4e8fd3,_0x2dc609)=>{const _0x31a7c4=_0x27ecdd;if(!_0x581889)return;if(!_0x581889['hasLiveDriverSession']()){_0x581889[_0x31a7c4(0x252)](_0x4e8fd3,_0x2dc609);return;}CodeceptRecorder[_0x31a7c4(0x1d8)](()=>_0x581889[_0x31a7c4(0x230)](_0x4e8fd3,_0x2dc609));};CodeceptJS[_0x27ecdd(0x241)]['dispatcher']['on'](CodeceptJS[_0x27ecdd(0x241)][_0x27ecdd(0x245)][_0x27ecdd(0x188)],_0x5e9016=>{const _0xa788b=_0x27ecdd;PerformanceTester[_0xa788b(0x1cc)](PerformanceEvents[_0xa788b(0x1ad)]);try{const _0x202a10=_0x5e9016[_0xa788b(0x20c)][_0xa788b(0x221)],_0x37e281=_0x581889[_0xa788b(0x1b9)](TEST_EVENTS['HOOK_RUN_STARTED'],_0x202a10);_0x3035fd['BBNeN'](_0x267a44,TEST_EVENTS[_0xa788b(0x1c0)],_0x37e281);const _0x354731={};_0x354731[_0xa788b(0x26e)]=_0x3035fd[_0xa788b(0x22e)],PerformanceTester['end'](PerformanceEvents[_0xa788b(0x1ad)],!![],null,_0x354731);}catch(_0x4b848f){const _0x45144f={};_0x45144f[_0xa788b(0x26e)]=_0x3035fd['FpqCP'],PerformanceTester[_0xa788b(0x1da)](PerformanceEvents[_0xa788b(0x1ad)],![],_0x4b848f,_0x45144f),PerformanceTester[_0xa788b(0x20f)](_0x4b848f);}}),CodeceptJS[_0x27ecdd(0x241)][_0x27ecdd(0x22b)]['on'](CodeceptJS['event']['hook'][_0x27ecdd(0x1fd)],_0x757e96=>{const _0x31b69d=_0x27ecdd,_0x5b094c={};_0x5b094c['hookType']=_0x3035fd['YFhHZ'],PerformanceTester[_0x31b69d(0x1cc)](PerformanceHookEvents[_0x31b69d(0x1ad)],!![],null,_0x5b094c);try{const _0x1d78f9=_0x757e96[_0x31b69d(0x20c)][_0x31b69d(0x221)],_0x3132b4=_0x581889['captureEvent'](TEST_EVENTS[_0x31b69d(0x275)],_0x1d78f9);_0x3035fd['tqUgH'](_0x267a44,TEST_EVENTS[_0x31b69d(0x275)],_0x3132b4);const _0x31277c={};_0x31277c['hookType']=_0x3035fd[_0x31b69d(0x266)],PerformanceTester['end'](PerformanceHookEvents[_0x31b69d(0x1ad)],!![],null,_0x31277c);}catch(_0x1ed765){PerformanceTester['captureError'](_0x1ed765);const _0x3fbe75={};_0x3fbe75['hookType']=_0x3035fd[_0x31b69d(0x266)],PerformanceTester[_0x31b69d(0x1da)](PerformanceHookEvents['SDK_HOOK'],![],_0x1ed765,_0x3fbe75);}}),CodeceptJS[_0x27ecdd(0x241)][_0x27ecdd(0x22b)]['on'](CodeceptJS[_0x27ecdd(0x241)][_0x27ecdd(0x245)][_0x27ecdd(0x20e)],async(_0x39d76a,_0x540fcf)=>{const _0x10b4fe=_0x27ecdd;PerformanceTester[_0x10b4fe(0x1cc)](PerformanceHookEvents[_0x10b4fe(0x1ad)]);try{const _0x4deefc=_0x39d76a[_0x10b4fe(0x20c)]['test'],_0x2c7dc6=_0x581889[_0x10b4fe(0x1b9)](TEST_EVENTS[_0x10b4fe(0x275)],_0x4deefc,_0x540fcf);_0x3035fd['YKEYX'](_0x267a44,TEST_EVENTS[_0x10b4fe(0x275)],_0x2c7dc6);const _0x25b82c={};_0x25b82c[_0x10b4fe(0x26e)]=_0x3035fd[_0x10b4fe(0x1c6)],PerformanceTester[_0x10b4fe(0x1cc)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x25b82c);}catch(_0x2a1b09){PerformanceTester['captureError'](_0x2a1b09);const _0x570f8f={};_0x570f8f['hookType']=_0x3035fd[_0x10b4fe(0x1c6)],PerformanceTester['end'](PerformanceHookEvents[_0x10b4fe(0x1ad)],![],_0x2a1b09,_0x570f8f);}const _0x25c87e={};_0x25c87e[_0x10b4fe(0x26e)]=_0x3035fd['LqkZp'],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x25c87e);}),CodeceptJS[_0x27ecdd(0x241)][_0x27ecdd(0x22b)]['on'](CodeceptJS['event'][_0x27ecdd(0x221)][_0x27ecdd(0x229)],_0x541585=>{const _0x5591ba=_0x27ecdd;PerformanceTester[_0x5591ba(0x1cc)](PerformanceHookEvents['SDK_HOOK']);try{globals[_0x5591ba(0x26b)](_0x3035fd[_0x5591ba(0x258)],_0x541585[_0x5591ba(0x27b)]);_0x3035fd['PjZkJ'](isBrowserstackInfra)&&(_0x540876&&(global['__workerDetails']={'currentTest':{'name':_0x541585[_0x5591ba(0x27b)],'testInfo':{'titlePath':_0x541585[_0x5591ba(0x251)]()}}}));const _0x334210={};_0x334210[_0x5591ba(0x26e)]=_0x3035fd[_0x5591ba(0x19d)],PerformanceTester[_0x5591ba(0x1da)](PerformanceHookEvents[_0x5591ba(0x1ad)],!![],null,_0x334210);}catch(_0x25c8db){PerformanceTester[_0x5591ba(0x20f)](_0x25c8db);const _0x3df3c7={};_0x3df3c7[_0x5591ba(0x26e)]=_0x3035fd[_0x5591ba(0x19d)],PerformanceTester[_0x5591ba(0x1da)](PerformanceHookEvents[_0x5591ba(0x1ad)],![],_0x25c8db,_0x3df3c7);}}),CodeceptJS[_0x27ecdd(0x241)][_0x27ecdd(0x22b)]['on'](CodeceptJS[_0x27ecdd(0x241)][_0x27ecdd(0x221)]['started'],_0x2e9866=>{const _0x4885ea=_0x27ecdd;PerformanceTester[_0x4885ea(0x1cc)](PerformanceHookEvents[_0x4885ea(0x1ad)]);try{globals['setGlobal'](_0x3035fd['eixOH'],_0x2e9866[_0x4885ea(0x27b)]);const _0x238c4f=_0x581889[_0x4885ea(0x1b9)](TEST_EVENTS[_0x4885ea(0x1a0)],_0x2e9866);CodeceptRecorder[_0x4885ea(0x1d8)](()=>_0x581889['flushPendingHookEvents']()),CodeceptRecorder[_0x4885ea(0x1d8)](()=>_0x581889['fireEvent'](TEST_EVENTS[_0x4885ea(0x1a0)],_0x238c4f)),CodeceptRecorder[_0x4885ea(0x1d8)](async()=>{const _0x371a65=_0x4885ea;_0x3035fd[_0x371a65(0x267)](isBrowserstackInfra)&&(!_0x3035fd[_0x371a65(0x27c)](isTrue,_0x248553[_0x371a65(0x244)])&&await _0x3035fd['RkknQ'](markSessionName,_0xfe121d,_0x2e9866['title']),_0x581889['enabled']&&await _0x3035fd['ZpEXC'](o11ySync,_0xfe121d));});}catch(_0x1546de){const _0x12c6c0={};_0x12c6c0[_0x4885ea(0x26e)]=_0x3035fd[_0x4885ea(0x273)],PerformanceTester['end'](PerformanceHookEvents[_0x4885ea(0x1ad)],![],_0x1546de,_0x12c6c0),PerformanceTester[_0x4885ea(0x20f)](_0x1546de);}const _0xfc0005={};_0xfc0005['hookType']=_0x3035fd[_0x4885ea(0x273)],PerformanceTester['end'](PerformanceHookEvents[_0x4885ea(0x1ad)],!![],null,_0xfc0005);}),CodeceptJS[_0x27ecdd(0x241)][_0x27ecdd(0x22b)]['on'](CodeceptJS[_0x27ecdd(0x241)][_0x27ecdd(0x221)]['passed'],_0x510df7=>{const _0x3d5cff=_0x27ecdd,_0xfb465b={'GkJFG':function(_0x1b040c,_0x3737bf,_0x3dc497){const _0x2b02ff=a1_0x3644;return _0x3035fd[_0x2b02ff(0x1f5)](_0x1b040c,_0x3737bf,_0x3dc497);}};PerformanceTester['start'](PerformanceHookEvents[_0x3d5cff(0x1ad)]);try{const _0x152ba6=_0x581889[_0x3d5cff(0x1b9)](TEST_EVENTS[_0x3d5cff(0x1e5)],_0x510df7);CodeceptRecorder['add'](()=>_0x581889['fireEvent'](TEST_EVENTS['TEST_RUN_FINISHED'],_0x152ba6)),CodeceptRecorder[_0x3d5cff(0x1d8)](async()=>{const _0x564828=_0x3d5cff;_0x3035fd[_0x564828(0x265)](isBrowserstackInfra)&&await PerformanceTester[_0x564828(0x1c7)](PerformanceAutEvents[_0x564828(0x1f1)],async()=>{const _0x644361=_0x564828;_0x540876?await _0xfb465b['GkJFG'](playwrightMarkSessionStatus,_0xfe121d,STATE_PASSED):await _0xfb465b[_0x644361(0x207)](markSessionStatus,_0xfe121d,STATE_PASSED);})();}),PerformanceTester[_0x3d5cff(0x1da)](PerformanceEvents[_0x3d5cff(0x243)]);}catch(_0x3e0003){PerformanceTester[_0x3d5cff(0x20f)](_0x3e0003);const _0x2f349a={};_0x2f349a[_0x3d5cff(0x26e)]=_0x3035fd['dzqEq'],PerformanceTester[_0x3d5cff(0x1da)](PerformanceHookEvents[_0x3d5cff(0x1ad)],![],_0x3e0003,_0x2f349a),PerformanceTester[_0x3d5cff(0x1da)](PerformanceEvents[_0x3d5cff(0x243)],![],_0x3e0003);}const _0x57df0f={};_0x57df0f['hookType']=_0x3035fd[_0x3d5cff(0x1f9)],PerformanceTester[_0x3d5cff(0x1da)](PerformanceHookEvents[_0x3d5cff(0x1ad)],!![],null,_0x57df0f);}),CodeceptJS['event'][_0x27ecdd(0x22b)]['on'](CodeceptJS['event'][_0x27ecdd(0x221)]['failed'],(_0x998b28,_0x5ed69a)=>{const _0x4c7618=_0x27ecdd;PerformanceTester[_0x4c7618(0x1cc)](PerformanceHookEvents['SDK_HOOK']);try{if(_0x3035fd[_0x4c7618(0x249)](_0x998b28['constructor'][_0x4c7618(0x1df)],_0x3035fd[_0x4c7618(0x1c5)])){const _0x37f027=_0x581889[_0x4c7618(0x1b9)](TEST_EVENTS[_0x4c7618(0x18c)],_0x998b28['ctx'][_0x4c7618(0x222)]);CodeceptRecorder[_0x4c7618(0x1d8)](()=>_0x581889[_0x4c7618(0x230)](TEST_EVENTS[_0x4c7618(0x18c)],_0x37f027));}else{const _0x3a2123=_0x581889['captureEvent'](TEST_EVENTS[_0x4c7618(0x1e5)],_0x998b28,_0x5ed69a);CodeceptRecorder[_0x4c7618(0x1d8)](()=>{const _0xdd293d=_0x4c7618;try{_0x581889['fireEvent'](TEST_EVENTS[_0xdd293d(0x1e5)],_0x3a2123);}catch(_0xde3c04){logger[_0xdd293d(0x186)](_0xdd293d(0x19c)+util['format'](_0xde3c04)),PerformanceTester[_0xdd293d(0x1da)](PerformanceEvents[_0xdd293d(0x243)],![],_0xde3c04);}}),CodeceptRecorder[_0x4c7618(0x1d8)](async()=>{const _0x4c39b2=_0x4c7618;try{_0x3035fd[_0x4c39b2(0x267)](isBrowserstackInfra)&&(_0x540876?await _0x3035fd[_0x4c39b2(0x1d5)](playwrightMarkSessionStatus,_0xfe121d,STATE_FAILED,_0x5ed69a):await _0x3035fd[_0x4c39b2(0x212)](markSessionStatus,_0xfe121d,STATE_FAILED,_0x5ed69a));}catch(_0x4634ba){logger[_0x4c39b2(0x186)](_0x4c39b2(0x220)+util['format'](_0x4634ba)),PerformanceTester[_0x4c39b2(0x1da)](PerformanceEvents[_0x4c39b2(0x243)],![],_0x4634ba);}});}PerformanceTester[_0x4c7618(0x1da)](PerformanceEvents[_0x4c7618(0x243)]);}catch(_0x3d79f6){PerformanceTester[_0x4c7618(0x20f)](_0x3d79f6);const _0x333270={};_0x333270[_0x4c7618(0x26e)]=_0x3035fd[_0x4c7618(0x22f)],PerformanceTester[_0x4c7618(0x1da)](PerformanceHookEvents['SDK_HOOK'],![],_0x3d79f6,_0x333270),PerformanceTester[_0x4c7618(0x1da)](PerformanceEvents[_0x4c7618(0x243)],![],_0x3d79f6);}const _0x42213a={};_0x42213a[_0x4c7618(0x26e)]=_0x3035fd[_0x4c7618(0x22f)],PerformanceTester[_0x4c7618(0x1da)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x42213a);}),CodeceptJS['event'][_0x27ecdd(0x22b)]['on'](CodeceptJS[_0x27ecdd(0x241)][_0x27ecdd(0x221)][_0x27ecdd(0x1a4)],_0x1df35d=>{const _0x5c17ce=_0x27ecdd;PerformanceTester[_0x5c17ce(0x1cc)](PerformanceHookEvents[_0x5c17ce(0x1ad)]);try{const _0xb7ee0e=_0x581889[_0x5c17ce(0x1b9)](TEST_EVENTS[_0x5c17ce(0x18c)],_0x1df35d);CodeceptRecorder[_0x5c17ce(0x1d8)](()=>_0x581889['fireEvent'](TEST_EVENTS['TEST_RUN_SKIPPED'],_0xb7ee0e)),PerformanceTester[_0x5c17ce(0x1da)](PerformanceEvents[_0x5c17ce(0x243)]);}catch(_0x557eff){PerformanceTester['captureError'](_0x557eff),PerformanceTester[_0x5c17ce(0x1da)](PerformanceEvents[_0x5c17ce(0x243)],![],_0x557eff);const _0x453435={};_0x453435[_0x5c17ce(0x26e)]=_0x3035fd[_0x5c17ce(0x21b)],PerformanceTester[_0x5c17ce(0x1da)](PerformanceHookEvents['SDK_HOOK'],![],_0x557eff,_0x453435);}const _0x3c26ca={};_0x3c26ca[_0x5c17ce(0x26e)]=_0x3035fd[_0x5c17ce(0x21b)],PerformanceTester['end'](PerformanceHookEvents[_0x5c17ce(0x1ad)],!![],null,_0x3c26ca);}),CodeceptJS[_0x27ecdd(0x241)][_0x27ecdd(0x22b)]['on'](CodeceptJS[_0x27ecdd(0x241)]['test'][_0x27ecdd(0x206)],async(_0x265c94,_0x544cb9)=>{const _0x14a414=_0x27ecdd,_0xd03b77={};_0xd03b77['GHzvm']=_0x3035fd[_0x14a414(0x1cb)],_0xd03b77[_0x14a414(0x18d)]=_0x3035fd[_0x14a414(0x232)];const _0x97e1d5=_0xd03b77;try{PerformanceTester[_0x14a414(0x1cc)](PerformanceHookEvents['SDK_HOOK']);const _0x4218fa=_0x3035fd['DrHCJ'](shouldScanTestForAccessibility,_0x265c94[_0x14a414(0x251)](),!![]);if(_0x3035fd['CLEEG'](isAccessibilityAutomationSession)&&global['accessibilityPlatform']&&_0x4218fa){const _0xc81b2d={};_0xc81b2d['thTestRunUuid']=_0x265c94['testAnalyticsId'],_0xc81b2d[_0x14a414(0x253)]=process[_0x14a414(0x1f3)][testHubConstants[_0x14a414(0x271)][_0x14a414(0x1f2)]],_0xc81b2d[_0x14a414(0x1e1)]=process[_0x14a414(0x1f3)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_JWT']];const _0x318af8=_0xc81b2d;logger[_0x14a414(0x186)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x14a414(0x256)](_0x318af8)),CodeceptRecorder[_0x14a414(0x1d8)](async()=>{const _0x44e630=_0x14a414,_0x3ccc70={};_0x3ccc70['command']=_0x97e1d5[_0x44e630(0x217)],await PerformanceTester[_0x44e630(0x1c7)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0xd47334=_0x44e630;await AccessibilityHelper[_0xd47334(0x1d9)](_0xfe121d,scripts[_0xd47334(0x24b)]);},_0x3ccc70)(),globals[_0x44e630(0x1c4)](_0x97e1d5[_0x44e630(0x18d)])&&(_0x318af8[_0x44e630(0x25e)]=!![]),await PerformanceTester[_0x44e630(0x1c7)](PerformanceA11yEvents[_0x44e630(0x215)],async()=>{const _0x5f85c2=_0x44e630;await AccessibilityHelper[_0x5f85c2(0x1d9)](_0xfe121d,scripts[_0x5f85c2(0x1ee)],_0x318af8);})();}),logger[_0x14a414(0x25b)](_0x3035fd[_0x14a414(0x1d2)]);}const _0x529d18={};_0x529d18[_0x14a414(0x26e)]=_0x3035fd[_0x14a414(0x247)],PerformanceTester[_0x14a414(0x1da)](PerformanceHookEvents[_0x14a414(0x1ad)],!![],null,_0x529d18);}catch(_0x4d16be){PerformanceTester[_0x14a414(0x20f)](_0x4d16be);const _0x578dce={};_0x578dce['hookType']=_0x3035fd['HmDDF'],PerformanceTester[_0x14a414(0x1da)](PerformanceHookEvents[_0x14a414(0x1ad)],![],_0x4d16be,_0x578dce);}}),CodeceptJS[_0x27ecdd(0x241)]['dispatcher']['on'](CodeceptJS[_0x27ecdd(0x241)][_0x27ecdd(0x210)][_0x27ecdd(0x1ae)],_0x225ba1=>{const _0x5584ec=_0x27ecdd;PerformanceTester[_0x5584ec(0x1cc)](PerformanceHookEvents['SDK_HOOK']);try{process[_0x5584ec(0x1db)]('bs:addLog:'+process['pid'],{'timestamp':new Date()[_0x5584ec(0x208)](),'level':_0x3035fd[_0x5584ec(0x1d0)],'message':_0x225ba1,'kind':_0x3035fd['Umivc'],'http_response':{}});}catch(_0x1054e9){PerformanceTester[_0x5584ec(0x20f)](_0x1054e9);const _0x2fdede={};_0x2fdede[_0x5584ec(0x26e)]=_0x3035fd[_0x5584ec(0x21c)],PerformanceTester[_0x5584ec(0x1da)](PerformanceHookEvents[_0x5584ec(0x1ad)],![],_0x1054e9,_0x2fdede);}const _0x574b36={};_0x574b36[_0x5584ec(0x26e)]=_0x3035fd[_0x5584ec(0x21c)],PerformanceTester[_0x5584ec(0x1da)](PerformanceHookEvents[_0x5584ec(0x1ad)],!![],null,_0x574b36);}),CodeceptJS[_0x27ecdd(0x241)]['dispatcher']['on'](CodeceptJS[_0x27ecdd(0x241)]['bddStep'][_0x27ecdd(0x229)],_0x1cc0ca=>{const _0x56a658=_0x27ecdd,_0x180ec1={};_0x180ec1[_0x56a658(0x26e)]=_0x3035fd['Lpscs'],PerformanceTester[_0x56a658(0x1c7)](PerformanceHookEvents[_0x56a658(0x1ad)],()=>{const _0x59f551=_0x56a658;_0x581889[_0x59f551(0x1f4)](_0x1cc0ca);},_0x180ec1)();}),CodeceptJS[_0x27ecdd(0x241)]['dispatcher']['on'](CodeceptJS['event'][_0x27ecdd(0x231)][_0x27ecdd(0x206)],_0x37c6ec=>{const _0xc04bef=_0x27ecdd,_0x1f11a5={};_0x1f11a5['hookType']=_0x3035fd[_0xc04bef(0x1e7)],PerformanceTester[_0xc04bef(0x1c7)](PerformanceHookEvents[_0xc04bef(0x1ad)],()=>{const _0x20b6d1=_0xc04bef;_0x581889[_0x20b6d1(0x18b)](_0x37c6ec);},_0x1f11a5)();});};
|
|
1
|
+
function a1_0x3270(){const _0x100a72=['SAVE_RESULTS','saveTestResults','helpers','sXqNN','thTestRunUuid','format','parse','AeeOG','bs:addLog:','bstackAllyScanning','function','LHswR','LpLlz','177380RCFtgO','NcHdP','GsqPQ','stringify','restore','installAll','name','titlePath','bufferPendingHookEvent','bddStep-before','pages','catch','info','ndyLB','hasLiveDriverSession','start','add','flushPendingHookEvents','message','bddStep-after','TEST_RUN_FINISHED','LIpJU','SDK_PRE_TEST','djvpe','bvvxb','env','Puppeteer','warn','Failed\x20to\x20flush\x20pending\x20hook\x20events\x20after\x20Playwright\x20_before:\x20','contexts','test-failed','setSessionName','before','test-started','Performing\x20scan\x20for\x20','WebDriver','ayxqA','getAccessibilityResults','from','SYNC','getGlobal','BROWSERSTACK_TESTHUB_JWT','stop','HOOK_RUN_STARTED','skipSessionStatus','failed','ggcTk','TEST_RUN_SKIPPED','kISVO','end','browserContext','LRkBn','cvwDb','xWSou','Failed\x20to\x20flush\x20pending\x20hook\x20events\x20after\x20_before:\x20','BS_A11Y_JWT','\x0aStack:\x20','UIqQe','4016691TVRhSD','__skipSessionStatus','_setPage','SDK_PRE_INITIALIZE','ZbVRB','GET_RESULTS','hookType','executeScript','patchSaveScreenshot','NNPTz','AGyYc','UEEby','hook-passed','captureError','hook-started','VTSMm','command','util','SQCMQ','../../helpers/performance/performance-tester','SDK_HOOK','GET_RESULTS_SUMMARY','startsWith','passed','YKOJZ','chromium','__driver','zeFHg','apply','filter','codeceptjs/lib/recorder.js','getResultsSummary','overwriteCommand','version','AWkjk','dqIJd','string','started','slice','addRequestSpy','TestCafe','BS_TESTOPS_ALLOW_SCREENSHOTS','captureEvent','SDK_POST_TEST','nIMSC','ligjB','NJGNG','./helper.js','PERFORM_SCAN','test-before','toISOString','webdriverio','JGgIe','dispatcher','currentTest','arguments','4214987nmhZvH','class','base64','YFSDC','url','status','voGcb','debug','wJdzm','TEST_SCREENSHOT','FJxjx','browser','test-after','getSyncScript','../../helpers/accessibility-automation/helper','bddStepFinish','skipped','split','uToAD','step-comment','../../helpers/logger','fJpvL','RvxWK','332729GnQrfH','commandsToWrap','codeceptjs/lib/index.js','getAccessibilityResultsSummary','2096034RevAsm','after','afterTest','browserStackExecuteDriver','testFramework','setSessionStatus','container','all','call','PiarE','../../helpers/driverInitErrorReporter','push','HOOK_RUN_FINISHED','thJwtToken','XRTzB','zMwHJ','patch','VgPib','hFCUt','codeceptjs','XiGNS','devtools://','DtMWJ','event','izJVt','hook','bind','iHfJz','Playwright','then','FRAMEWORK_DETAILS','stack','vUGsj','initSaveScreenshot','fireEvent','gOguy','saveScreenshot','Dkqoj','toString','ftAWN','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','sODcl','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','SESSION_NAME','Suite','constructor','pid','winstonLogger','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','forEach','TEST_RUN_STARTED','Qebfz','SDK_TEST','../../helpers/helper','ciqGX','Nuvdo','zrrYF','./o11yHelper','TzhdO','YIVXK','_before','ctx','test','6937104pvCVfa','IigSZ','Element','emit','enabled','stopMonitoring','../../helpers/performance/constants','find','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','BROWSERSTACK_TESTHUB_UUID','config','accessibilityPlatform','performScan','driver-init\x20capture\x20install\x20failed:\x20','9SFTGyD','test-skipped','JQeGu','--auto-open-devtools-for-tabs','a11y_core_config','step','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','measureWrapper','aFnaD','PGYIV','hook-failed','waFpX','ENV_VAR','isMobilePlatform','browserstackTestName','../../helpers/test-observability/utils','testAnalyticsId','gKKFn','setGlobal','browserstack_executor:\x20','4VXpSba','prototype','yiQMq','action','JFpGU','MeQTC','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','bddStepStart','1898955aeSccb','title','VkoiI','PjBmx','nmjYu','WKZms','domForge','bddStep','mBkmi','SDK_POST_INITIALIZE'];a1_0x3270=function(){return _0x100a72;};return a1_0x3270();}function a1_0x518a(_0x22f396,_0x54ec5a){const _0x3270d8=a1_0x3270();return a1_0x518a=function(_0x518ac5,_0x145174){_0x518ac5=_0x518ac5-0x16e;let _0x58fbf6=_0x3270d8[_0x518ac5];return _0x58fbf6;},a1_0x518a(_0x22f396,_0x54ec5a);}const a1_0x45a214=a1_0x518a;(function(_0x3fb753,_0x3bcdb6){const _0x1836ce=a1_0x518a,_0x3f3840=_0x3fb753();while(!![]){try{const _0x2c7325=-parseInt(_0x1836ce(0x240))/0x1*(parseInt(_0x1836ce(0x198))/0x2)+parseInt(_0x1836ce(0x1f1))/0x3+parseInt(_0x1836ce(0x1b7))/0x4+-parseInt(_0x1836ce(0x1a0))/0x5+parseInt(_0x1836ce(0x244))/0x6+-parseInt(_0x1836ce(0x229))/0x7+-parseInt(_0x1836ce(0x176))/0x8*(-parseInt(_0x1836ce(0x184))/0x9);if(_0x2c7325===_0x3bcdb6)break;else _0x3f3840['push'](_0x3f3840['shift']());}catch(_0x29bd02){_0x3f3840['push'](_0x3f3840['shift']());}}}(a1_0x3270,0xe8809));const fs=require('fs'),util=require(a1_0x45a214(0x202)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x45a214(0x279)),logger=require(a1_0x45a214(0x23d))[a1_0x45a214(0x273)],testOpsHelper=require(a1_0x45a214(0x193)),requestSpy=require('../../helpers/request-spy'),PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x45a214(0x170)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x45a214(0x237)),AccessibilityHelper=require('../../bin/playwright/accessibility-helper'),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a1_0x45a214(0x204)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x45a214(0x17c)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x45a214(0x220)),testHubConstants=require('../../helpers/testhub/constants.js'),globals=require('../../helpers/globals.js'),CodeceptJS=requireModule(a1_0x45a214(0x242),'codeceptjs'),CodeceptUtils=requireModule('codeceptjs/lib/utils.js','codeceptjs'),CodeceptWebDriver=requireModule('codeceptjs/lib/helper/WebDriver.js',a1_0x45a214(0x257)),CodeceptRecorder=requireModule(a1_0x45a214(0x20f),a1_0x45a214(0x257)),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js',a1_0x45a214(0x257));try{require(a1_0x45a214(0x24e))[a1_0x45a214(0x1bc)](a1_0x45a214(0x257));}catch(a1_0x2d1f92){logger[a1_0x45a214(0x230)](a1_0x45a214(0x183)+(a1_0x2d1f92&&a1_0x2d1f92[a1_0x45a214(0x1c9)]));}const playwrightMarkSessionStatus=(_0x3c368d,_0x58baed,_0x3ad40a)=>{const _0x540c83=a1_0x45a214,_0x3b538f={'tGkXt':_0x540c83(0x249),'YChuf':function(_0x4552e9,_0xaba1fa){return _0x4552e9(_0xaba1fa);}},_0x3dea53={};_0x3dea53[_0x540c83(0x22e)]=_0x58baed;const _0x5617aa={};_0x5617aa[_0x540c83(0x19b)]=_0x3b538f['tGkXt'],_0x5617aa[_0x540c83(0x228)]=_0x3dea53;const _0x29e472=_0x5617aa;return!_0x3b538f['YChuf'](isUndefined,_0x3ad40a)&&(_0x29e472[_0x540c83(0x228)]['reason']=JSON[_0x540c83(0x1ba)](_0x3ad40a)),_0x3c368d[_0x540c83(0x1f8)](()=>{},_0x540c83(0x197)+JSON['stringify'](_0x29e472));},o11ySync=PerformanceTester['measureWrapper'](PerformanceO11yEvents[a1_0x45a214(0x1de)],async _0x404104=>{const _0x34294b=a1_0x45a214,_0x2daac3={};_0x2daac3[_0x34294b(0x172)]=function(_0x222550,_0x289e89){return _0x222550===_0x289e89;},_0x2daac3['RvxWK']=_0x34294b(0x260);const _0x493264=_0x2daac3;_0x493264[_0x34294b(0x172)](_0x404104[_0x34294b(0x271)][_0x34294b(0x1bd)],_0x493264[_0x34294b(0x23f)])?await _0x404104['executeScript'](_0x165382=>{},testOpsHelper[_0x34294b(0x236)]()):await _0x404104[_0x34294b(0x1f8)](testOpsHelper['getSyncScript']());}),markSessionName=PerformanceTester[a1_0x45a214(0x18b)](PerformanceAutEvents[a1_0x45a214(0x26f)],async(_0x1fea81,_0x5391f3)=>{const _0x5285c6=a1_0x45a214,_0x209c94={};_0x209c94[_0x5285c6(0x24d)]=_0x5285c6(0x1d6),_0x209c94['auLTE']=function(_0xf81547,_0x524298){return _0xf81547===_0x524298;},_0x209c94[_0x5285c6(0x22c)]=_0x5285c6(0x260);const _0x11ec8d=_0x209c94,_0x1249a0={};_0x1249a0[_0x5285c6(0x1bd)]=_0x5391f3;const _0x2c280f={};_0x2c280f[_0x5285c6(0x19b)]=_0x11ec8d[_0x5285c6(0x24d)],_0x2c280f[_0x5285c6(0x228)]=_0x1249a0;const _0x25dc37=_0x2c280f;_0x11ec8d['auLTE'](_0x1fea81[_0x5285c6(0x271)][_0x5285c6(0x1bd)],_0x11ec8d[_0x5285c6(0x22c)])?await _0x1fea81[_0x5285c6(0x1f8)](()=>{},_0x5285c6(0x197)+JSON[_0x5285c6(0x1ba)](_0x25dc37)):await _0x1fea81['executeScript'](_0x5285c6(0x197)+JSON[_0x5285c6(0x1ba)](_0x25dc37));}),patchSaveScreenshot=_0x18fa40=>{const _0x543188=a1_0x45a214,_0x3ccc9d={'JQeGu':_0x543188(0x22b),'VkoiI':_0x543188(0x232),'dqIJd':function(_0x10fd5e){return _0x10fd5e();},'mBkmi':function(_0x4d1ceb,_0xec2ec0){return _0x4d1ceb(_0xec2ec0);},'PGYIV':'Screenshot\x20path\x20not\x20found','sODcl':function(_0x288c07,_0x354a7b){return _0x288c07(_0x354a7b);}};_0x3ccc9d[_0x543188(0x26d)](isTrue,process[_0x543188(0x1d0)][_0x543188(0x21a)])&&!_0x18fa40[_0x543188(0x1f9)]&&(_0x18fa40['patchSaveScreenshot']=!![],_0x18fa40[_0x543188(0x265)]=_0x18fa40['saveScreenshot'],_0x18fa40[_0x543188(0x268)]=(_0x26971f,_0x4c7bd8=![])=>{return new Promise(function(_0x5e0e18,_0x2e2ce1){const _0x174462=a1_0x518a,_0x82bedd={'AWkjk':_0x3ccc9d[_0x174462(0x186)],'waFpX':_0x3ccc9d[_0x174462(0x1a2)],'NXBls':function(_0xc50f60){const _0x501dff=_0x174462;return _0x3ccc9d[_0x501dff(0x214)](_0xc50f60);},'PchZt':function(_0x384fd9,_0x4d4bf8){const _0x177495=_0x174462;return _0x3ccc9d[_0x177495(0x1a8)](_0x384fd9,_0x4d4bf8);},'ZbVRB':_0x3ccc9d[_0x174462(0x18d)]};_0x18fa40[_0x174462(0x265)](_0x26971f,_0x4c7bd8)[_0x174462(0x261)](()=>{const _0x296b2e=_0x174462,_0x27248e=CodeceptUtils['screenshotOutputFolder'](_0x26971f);if(_0x27248e){const _0x528e49=fs['readFileSync'](_0x27248e);process[_0x296b2e(0x179)](_0x296b2e(0x1b2)+process[_0x296b2e(0x272)],{'timestamp':new Date()['toISOString'](),'message':_0x528e49[_0x296b2e(0x26a)](_0x82bedd[_0x296b2e(0x213)]),'kind':_0x82bedd[_0x296b2e(0x18f)]}),_0x82bedd['NXBls'](_0x5e0e18);}_0x82bedd['PchZt'](_0x2e2ce1,new Error(_0x82bedd[_0x296b2e(0x1f5)]));})[_0x174462(0x1c2)](()=>null);});});},patchWebDriverBefore=(_0x114e3d,_0x51b4d3)=>{const _0x2778f7=a1_0x45a214,_0x39018b={'fJpvL':function(_0x5b6dc2){return _0x5b6dc2();},'zrrYF':function(_0x5c0119,_0x32c863){return _0x5c0119(_0x32c863);},'ciqGX':function(_0x695c3f,_0x4d9f8c){return _0x695c3f===_0x4d9f8c;},'LHswR':_0x2778f7(0x224),'NJGNG':function(_0x43de86,_0x49f6c6){return _0x43de86===_0x49f6c6;},'kwdcR':_0x2778f7(0x215),'kISVO':function(_0x47251c,_0x210f38){return _0x47251c===_0x210f38;},'ggcTk':_0x2778f7(0x178),'Nuvdo':'function'},_0x39e676=async function(_0x11415a,_0x5e830e){const _0x2a345d=_0x2778f7;_0x39018b[_0x2a345d(0x23e)](isAccessibilityAutomationSession)&&!global[_0x2a345d(0x1b3)]&&global['accessibilityPlatform']&&scripts['shouldWrapCommand'](_0x11415a['name'])&&_0x39018b['zrrYF'](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x2a345d(0x1b3)]=!![],await PerformanceTester[_0x2a345d(0x18b)](PerformanceA11yEvents[_0x2a345d(0x221)],async()=>{const _0x1a33d3=_0x2a345d;logger[_0x1a33d3(0x230)](_0x1a33d3(0x1d9)+_0x11415a[_0x1a33d3(0x22a)]+'\x20'+_0x11415a['name']),await AccessibilityHelper[_0x1a33d3(0x247)](_0x114e3d,scripts[_0x1a33d3(0x182)]);},{'command':_0x11415a[_0x2a345d(0x1bd)]})());global[_0x2a345d(0x1b3)]=![];const _0x52e024=JSON['parse'](process['env'][_0x2a345d(0x262)]||'{}');if(_0x39018b[_0x2a345d(0x27a)](_0x52e024?.[_0x2a345d(0x248)]?.['name'],_0x39018b[_0x2a345d(0x1b5)])&&_0x39018b[_0x2a345d(0x21f)](typeof _0x52e024?.[_0x2a345d(0x248)]?.[_0x2a345d(0x212)],_0x39018b['kwdcR'])&&_0x52e024?.['testFramework']?.['version'][_0x2a345d(0x207)]('7'))return _0x5e830e[_0x2a345d(0x20d)](null,Array['prototype'][_0x2a345d(0x217)][_0x2a345d(0x24c)](arguments,0x2));return _0x5e830e[_0x2a345d(0x20d)](this,Array['prototype']['slice']['call'](arguments,0x2));},_0x8269b4=CodeceptWebDriver[_0x2778f7(0x199)][_0x2778f7(0x173)];CodeceptWebDriver[_0x2778f7(0x199)][_0x2778f7(0x173)]=async function(){const _0x34ab75=_0x2778f7;try{await _0x8269b4[_0x34ab75(0x20d)](this,arguments);}catch(_0x5f1b72){logger['debug']('Failed\x20to\x20execute\x20_before:\x20'+util[_0x34ab75(0x1af)](_0x5f1b72));}scripts[_0x34ab75(0x241)][_0x34ab75(0x20e)](_0x557c68=>_0x557c68['name']&&_0x557c68[_0x34ab75(0x22a)])[_0x34ab75(0x275)](_0x5a097f=>{const _0x411f9d=_0x34ab75;this[_0x411f9d(0x234)][_0x411f9d(0x211)](_0x5a097f[_0x411f9d(0x1bd)],_0x39e676[_0x411f9d(0x25e)](this,_0x5a097f),_0x39018b[_0x411f9d(0x1e7)](_0x5a097f[_0x411f9d(0x22a)],_0x39018b[_0x411f9d(0x1e5)]));}),_0x39018b[_0x34ab75(0x16f)](processWebDriverConfig,_0x114e3d);try{_0x51b4d3&&_0x39018b[_0x34ab75(0x1e7)](typeof _0x51b4d3['flushPendingHookEvents'],_0x39018b[_0x34ab75(0x16e)])&&await _0x51b4d3['flushPendingHookEvents']();}catch(_0x483694){logger[_0x34ab75(0x230)](_0x34ab75(0x1ed)+util[_0x34ab75(0x1af)](_0x483694));}};};function parseJwt(_0x533cfd){const _0x48e253=a1_0x45a214,_0x5cfa80={};_0x5cfa80['UIqQe']=_0x48e253(0x22b);const _0x4f3b71=_0x5cfa80;if(!_0x533cfd)return null;return JSON[_0x48e253(0x1b0)](Buffer[_0x48e253(0x1dd)](_0x533cfd[_0x48e253(0x23a)]('.')[0x1],_0x4f3b71[_0x48e253(0x1f0)])[_0x48e253(0x26a)]());}const patchPlaywrightBefore=_0x35dd3e=>{const _0x20697e=a1_0x45a214,_0x28d1bf={'ftAWN':function(_0x1f643d){return _0x1f643d();},'hFCUt':_0x20697e(0x259),'AGyYc':_0x20697e(0x187),'AeeOG':function(_0x119ca1){return _0x119ca1();},'rjSqj':function(_0x25c459,_0x1f38be){return _0x25c459(_0x1f38be);},'cvwDb':function(_0x6af5e,_0x45b0b6){return _0x6af5e+_0x45b0b6;},'DtMWJ':_0x20697e(0x1ef),'NcHdP':function(_0x3792eb){return _0x3792eb();},'nIMSC':function(_0x27cd1e){return _0x27cd1e();},'yiQMq':function(_0x408833){return _0x408833();},'ndyLB':function(_0x525520,_0x22c07d){return _0x525520===_0x22c07d;},'Qebfz':_0x20697e(0x1b4)};PlaywrightSessionDetails[_0x20697e(0x254)]();const _0x2e72fb=CodeceptPlaywright[_0x20697e(0x199)]['_before'];CodeceptPlaywright[_0x20697e(0x199)]['_before']=async function(){const _0x331ca2=_0x20697e,_0x47c6a0={'WKZms':function(_0x4ab5a4){const _0x2d5e1c=a1_0x518a;return _0x28d1bf[_0x2d5e1c(0x26b)](_0x4ab5a4);},'izJVt':_0x28d1bf[_0x331ca2(0x256)],'Dkqoj':_0x28d1bf[_0x331ca2(0x1fb)],'XAGGM':function(_0x1f2f09){const _0xb4c344=_0x331ca2;return _0x28d1bf[_0xb4c344(0x1b1)](_0x1f2f09);},'FJxjx':function(_0x507ef3,_0x92aa6d){return _0x28d1bf['rjSqj'](_0x507ef3,_0x92aa6d);},'uApdZ':function(_0x4afcd2){const _0x47a355=_0x331ca2;return _0x28d1bf[_0x47a355(0x1b1)](_0x4afcd2);},'jjCDh':function(_0x32d87c,_0x174e23){const _0xd83ed0=_0x331ca2;return _0x28d1bf[_0xd83ed0(0x1eb)](_0x32d87c,_0x174e23);},'LduWZ':_0x28d1bf[_0x331ca2(0x25a)]};this[_0x331ca2(0x1e9)]=await this[_0x331ca2(0x234)][_0x331ca2(0x1d4)]()[0x0];const _0x2ae55e=async()=>{const _0x3ed15e=_0x331ca2,_0x66e08b={'uToAD':function(_0x52d781){const _0x1834b8=a1_0x518a;return _0x47c6a0[_0x1834b8(0x1a5)](_0x52d781);},'MeQTC':_0x47c6a0[_0x3ed15e(0x25c)]},_0x318eeb=this[_0x3ed15e(0x180)]&&this[_0x3ed15e(0x180)]['chromium']&&this[_0x3ed15e(0x180)][_0x3ed15e(0x20a)]['args']&&Array['isArray'](this[_0x3ed15e(0x180)][_0x3ed15e(0x20a)]['args'])&&this[_0x3ed15e(0x180)][_0x3ed15e(0x20a)]['args']['includes'](_0x47c6a0[_0x3ed15e(0x269)]);if(_0x47c6a0['XAGGM'](isAccessibilityAutomationSession)&&!_0x318eeb)try{const _0x3ee776=_0x47c6a0[_0x3ed15e(0x233)](parseJwt,process[_0x3ed15e(0x1d0)][_0x3ed15e(0x1ee)]);if(_0x3ee776&&_0x3ee776['a11y_core_config']&&_0x3ee776[_0x3ed15e(0x188)][_0x3ed15e(0x1a6)]){const _0xa278d2=this[_0x3ed15e(0x1e9)]['pages']['bind'](this[_0x3ed15e(0x1e9)]);this['browserContext'][_0x3ed15e(0x1c1)]=async function(){const _0x3e25f0=_0x3ed15e,_0x5d0b14=await _0x66e08b[_0x3e25f0(0x23b)](_0xa278d2),_0x503ac1=[];for(const _0xb562dd of _0x5d0b14){try{const _0x444e87=await _0xb562dd[_0x3e25f0(0x22d)]();!_0x444e87[_0x3e25f0(0x207)](_0x66e08b[_0x3e25f0(0x19d)])&&_0x503ac1[_0x3e25f0(0x24f)](_0xb562dd);}catch(_0x432ab3){_0x503ac1[_0x3e25f0(0x24f)](_0xb562dd);}}return _0x503ac1;};}if(!_0x47c6a0['uApdZ'](isBrowserstackInfra)){const _0x5a65c9=await this['page'][_0x3ed15e(0x22d)]();if(_0x5a65c9[_0x3ed15e(0x207)](_0x47c6a0['izJVt'])){const _0x43a468=await this[_0x3ed15e(0x1e9)]['pages']();this[_0x3ed15e(0x1f3)](_0x43a468[0x0]);}}}catch(_0x3f7e2c){logger[_0x3ed15e(0x230)]('Failed\x20to\x20patch\x20pages\x20method\x20in\x20browserContext\x20for\x20a11y\x20domForge:\x20'+_0x3f7e2c[_0x3ed15e(0x1c9)]+(_0x3f7e2c['stack']?_0x47c6a0['jjCDh'](_0x47c6a0['LduWZ'],_0x3f7e2c[_0x3ed15e(0x263)]):''));}};_0x28d1bf[_0x331ca2(0x1b8)](isBrowserstackInfra)&&await _0x28d1bf[_0x331ca2(0x26b)](_0x2ae55e);await _0x2e72fb['apply'](this,arguments);!_0x28d1bf[_0x331ca2(0x21d)](isBrowserstackInfra)&&await _0x28d1bf[_0x331ca2(0x19a)](_0x2ae55e);try{_0x35dd3e&&_0x28d1bf[_0x331ca2(0x1c4)](typeof _0x35dd3e[_0x331ca2(0x1c8)],_0x28d1bf[_0x331ca2(0x277)])&&await _0x35dd3e[_0x331ca2(0x1c8)]();}catch(_0xa4c080){logger[_0x331ca2(0x230)](_0x331ca2(0x1d3)+util[_0x331ca2(0x1af)](_0xa4c080));}};},getCodeceptDriver=()=>{const _0x260c53=a1_0x45a214,_0x503a9f={};_0x503a9f[_0x260c53(0x203)]=_0x260c53(0x1da),_0x503a9f[_0x260c53(0x1a3)]='Playwright',_0x503a9f['LbDyW']=_0x260c53(0x1d1),_0x503a9f[_0x260c53(0x200)]=_0x260c53(0x219);const _0x5265a1=_0x503a9f,_0x7f5cb=[_0x5265a1[_0x260c53(0x203)],_0x5265a1['PjBmx'],_0x5265a1['LbDyW'],_0x5265a1[_0x260c53(0x200)]],_0x5703fe=_0x7f5cb[_0x260c53(0x17d)](_0x2d6843=>!!CodeceptJS[_0x260c53(0x24a)][_0x260c53(0x1ac)](_0x2d6843));if(!_0x5703fe)return null;return CodeceptJS[_0x260c53(0x24a)][_0x260c53(0x1ac)](_0x5703fe);};module['exports']=function(_0x5c876a){const _0x55c5c0=a1_0x45a214,_0xa4ce1d={'vUGsj':function(_0x5dbcc9,_0x254f8a){return _0x5dbcc9(_0x254f8a);},'wJdzm':function(_0x5c01be,_0x1ac01b,_0x19ab47){return _0x5c01be(_0x1ac01b,_0x19ab47);},'NNPTz':'getAccessibilityResultsSummary','nRzlb':_0x55c5c0(0x26e),'XiGNS':'getAccessibilityResults','zeFHg':_0x55c5c0(0x17e),'GsqPQ':function(_0x188808,_0xe82b3f,_0x46924e){return _0x188808(_0xe82b3f,_0x46924e);},'djvpe':_0x55c5c0(0x1ff),'sXqNN':_0x55c5c0(0x1fd),'VgPib':_0x55c5c0(0x18e),'MKBgA':_0x55c5c0(0x192),'ayxqA':function(_0x425860){return _0x425860();},'LIpJU':_0x55c5c0(0x222),'ZAIFc':function(_0x48a064,_0x2c51aa){return _0x48a064(_0x2c51aa);},'XRTzB':_0x55c5c0(0x1d8),'IigSZ':function(_0x57c590,_0x5aaccf,_0x3bf075){return _0x57c590(_0x5aaccf,_0x3bf075);},'UEEby':function(_0x29e7fa){return _0x29e7fa();},'YKOJZ':'test-passed','EaMuW':function(_0x446244,_0x40cbe4,_0x6729f3,_0x5b6c3d){return _0x446244(_0x40cbe4,_0x6729f3,_0x5b6c3d);},'CglRE':function(_0x20cec6,_0x15ece5){return _0x20cec6===_0x15ece5;},'JGgIe':_0x55c5c0(0x270),'LpLlz':_0x55c5c0(0x1d5),'zMwHJ':_0x55c5c0(0x185),'nWwDm':_0x55c5c0(0x246),'iHfJz':_0x55c5c0(0x191),'xWSou':_0x55c5c0(0x19e),'bvvxb':_0x55c5c0(0x235),'voGcb':'INFO','gKKFn':'TEST_LOG','aFnaD':_0x55c5c0(0x23c),'LRkBn':_0x55c5c0(0x1c0),'ligjB':_0x55c5c0(0x1ca),'TzhdO':_0x55c5c0(0x260)};_0x5c876a[_0x55c5c0(0x1e3)]&&(global[_0x55c5c0(0x1f2)]=_0x5c876a['skipSessionStatus']);PerformanceTester['startMonitoring']();const _0x5468f2=_0xa4ce1d[_0x55c5c0(0x1fc)](getCodeceptDriver),_0x2c6019=new O11yHelper(_0x5468f2,_0x5c876a),_0x4af871=!!CodeceptJS['container']['helpers'](_0xa4ce1d[_0x55c5c0(0x171)]);global[_0x55c5c0(0x20b)]=_0x5468f2;_0x5468f2&&(PerformanceTester[_0x55c5c0(0x18b)](PerformanceEvents[_0x55c5c0(0x1f4)],()=>{const _0x144c3b=_0x55c5c0;_0x4af871?_0xa4ce1d[_0x144c3b(0x264)](patchPlaywrightBefore,_0x2c6019):_0xa4ce1d[_0x144c3b(0x231)](patchWebDriverBefore,_0x5468f2,_0x2c6019);})(),PerformanceTester[_0x55c5c0(0x18b)](PerformanceEvents[_0x55c5c0(0x1a9)],()=>{const _0x2c879e=_0x55c5c0;_0x5468f2[_0x2c879e(0x243)]=async()=>{const _0x353385=_0x2c879e;if(global[_0x353385(0x181)]){const _0x4fa7ea={};return _0x4fa7ea[_0x353385(0x201)]=_0xa4ce1d[_0x353385(0x1fa)],await PerformanceTester[_0x353385(0x18b)](PerformanceA11yEvents[_0x353385(0x221)],async()=>{const _0x4fa4c4=_0x353385;return await AccessibilityHelper[_0x4fa4c4(0x247)](_0x5468f2,scripts['performScan']);},_0x4fa7ea)(),await PerformanceTester[_0x353385(0x18b)](PerformanceA11yEvents[_0x353385(0x206)],async()=>{const _0x2bf16f=_0x353385;return await AccessibilityHelper[_0x2bf16f(0x247)](_0x5468f2,scripts[_0x2bf16f(0x210)]);})();}return logger[_0x353385(0x1d2)](_0xa4ce1d['nRzlb']),{};},_0x5468f2[_0x2c879e(0x1dc)]=async()=>{const _0x3b1538=_0x2c879e;if(global['accessibilityPlatform']){const _0x3117b4={};return _0x3117b4[_0x3b1538(0x201)]=_0xa4ce1d[_0x3b1538(0x258)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x3b1538(0x221)],async()=>{const _0x44804f=_0x3b1538;return await AccessibilityHelper['browserStackExecuteDriver'](_0x5468f2,scripts[_0x44804f(0x182)]);},_0x3117b4)(),await PerformanceTester[_0x3b1538(0x18b)](PerformanceA11yEvents[_0x3b1538(0x1f6)],async()=>{const _0x392842=_0x3b1538;return await AccessibilityHelper[_0x392842(0x247)](_0x5468f2,scripts['getResults']);})();}return logger[_0x3b1538(0x1d2)](_0xa4ce1d[_0x3b1538(0x20c)]),{};},_0xa4ce1d[_0x2c879e(0x264)](patchSaveScreenshot,_0x5468f2);})());CodeceptJS[_0x55c5c0(0x25b)][_0x55c5c0(0x226)]['on'](CodeceptJS[_0x55c5c0(0x25b)]['all'][_0x55c5c0(0x1d7)],()=>{const _0x5437d6=_0x55c5c0;PerformanceTester['start'](PerformanceEvents[_0x5437d6(0x1cd)]);try{_0x2c6019[_0x5437d6(0x1c6)](),testOpsHelper[_0x5437d6(0x218)](),PerformanceTester[_0x5437d6(0x1e8)](PerformanceEvents[_0x5437d6(0x1cd)]);}catch(_0x4cccaf){PerformanceTester['captureError'](_0x4cccaf),PerformanceTester[_0x5437d6(0x1e8)](PerformanceEvents[_0x5437d6(0x1cd)],![],_0x4cccaf);}}),CodeceptJS[_0x55c5c0(0x25b)][_0x55c5c0(0x226)]['on'](CodeceptJS['event'][_0x55c5c0(0x24b)][_0x55c5c0(0x245)],async()=>{const _0x5c8e98=_0x55c5c0;PerformanceTester[_0x5c8e98(0x1c6)](PerformanceEvents[_0x5c8e98(0x21c)]);try{requestSpy[_0x5c8e98(0x1bb)](),await _0x2c6019[_0x5c8e98(0x1e1)](),PerformanceTester[_0x5c8e98(0x1e8)](PerformanceEvents['SDK_POST_TEST']);}catch(_0x414d23){PerformanceTester['captureError'](_0x414d23),PerformanceTester['end'](PerformanceEvents[_0x5c8e98(0x21c)],![],_0x414d23);}finally{PerformanceTester[_0x5c8e98(0x17b)]();}});const _0x4bc46e=(_0x2839ae,_0x11a7b8)=>{const _0x50b21c=_0x55c5c0;if(!_0x2c6019)return;if(!_0x2c6019[_0x50b21c(0x1c5)]()){_0x2c6019[_0x50b21c(0x1bf)](_0x2839ae,_0x11a7b8);return;}CodeceptRecorder['add'](()=>_0x2c6019['fireEvent'](_0x2839ae,_0x11a7b8));};CodeceptJS[_0x55c5c0(0x25b)]['dispatcher']['on'](CodeceptJS[_0x55c5c0(0x25b)]['hook'][_0x55c5c0(0x216)],_0x11c7ba=>{const _0x4c9e57=_0x55c5c0;PerformanceTester[_0x4c9e57(0x1c6)](PerformanceEvents['SDK_HOOK']);try{const _0x2a9ee1=_0x11c7ba[_0x4c9e57(0x174)]['test'],_0x3079aa=_0x2c6019[_0x4c9e57(0x21b)](TEST_EVENTS[_0x4c9e57(0x1e2)],_0x2a9ee1);_0xa4ce1d[_0x4c9e57(0x1b9)](_0x4bc46e,TEST_EVENTS[_0x4c9e57(0x1e2)],_0x3079aa);const _0x482c1e={};_0x482c1e['hookType']=_0xa4ce1d[_0x4c9e57(0x1ce)],PerformanceTester[_0x4c9e57(0x1e8)](PerformanceEvents[_0x4c9e57(0x205)],!![],null,_0x482c1e);}catch(_0x231883){const _0x3c2210={};_0x3c2210[_0x4c9e57(0x1f7)]=_0xa4ce1d[_0x4c9e57(0x1ce)],PerformanceTester[_0x4c9e57(0x1e8)](PerformanceEvents[_0x4c9e57(0x205)],![],_0x231883,_0x3c2210),PerformanceTester[_0x4c9e57(0x1fe)](_0x231883);}}),CodeceptJS[_0x55c5c0(0x25b)][_0x55c5c0(0x226)]['on'](CodeceptJS[_0x55c5c0(0x25b)][_0x55c5c0(0x25d)][_0x55c5c0(0x208)],_0x51a9df=>{const _0x20c761=_0x55c5c0,_0x5898f4={};_0x5898f4[_0x20c761(0x1f7)]=_0xa4ce1d[_0x20c761(0x1ad)],PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x5898f4);try{const _0x1ada4e=_0x51a9df[_0x20c761(0x174)][_0x20c761(0x175)],_0x57351a=_0x2c6019[_0x20c761(0x21b)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x1ada4e);_0xa4ce1d[_0x20c761(0x1b9)](_0x4bc46e,TEST_EVENTS[_0x20c761(0x250)],_0x57351a);const _0x24ba32={};_0x24ba32[_0x20c761(0x1f7)]=_0xa4ce1d[_0x20c761(0x1ad)],PerformanceTester[_0x20c761(0x1e8)](PerformanceHookEvents[_0x20c761(0x205)],!![],null,_0x24ba32);}catch(_0x3f2f2d){PerformanceTester[_0x20c761(0x1fe)](_0x3f2f2d);const _0x56e393={};_0x56e393[_0x20c761(0x1f7)]=_0xa4ce1d[_0x20c761(0x1ad)],PerformanceTester['end'](PerformanceHookEvents[_0x20c761(0x205)],![],_0x3f2f2d,_0x56e393);}}),CodeceptJS['event'][_0x55c5c0(0x226)]['on'](CodeceptJS[_0x55c5c0(0x25b)][_0x55c5c0(0x25d)][_0x55c5c0(0x1e4)],async(_0x4219a8,_0x11a467)=>{const _0x58b1e7=_0x55c5c0;PerformanceTester[_0x58b1e7(0x1c6)](PerformanceHookEvents[_0x58b1e7(0x205)]);try{const _0x24aa8e=_0x4219a8[_0x58b1e7(0x174)][_0x58b1e7(0x175)],_0x488c24=_0x2c6019['captureEvent'](TEST_EVENTS[_0x58b1e7(0x250)],_0x24aa8e,_0x11a467);_0xa4ce1d['GsqPQ'](_0x4bc46e,TEST_EVENTS[_0x58b1e7(0x250)],_0x488c24);const _0x5eed3b={};_0x5eed3b[_0x58b1e7(0x1f7)]=_0xa4ce1d[_0x58b1e7(0x255)],PerformanceTester[_0x58b1e7(0x1c6)](PerformanceHookEvents[_0x58b1e7(0x205)],!![],null,_0x5eed3b);}catch(_0x5e5716){PerformanceTester['captureError'](_0x5e5716);const _0x4f784f={};_0x4f784f['hookType']=_0xa4ce1d[_0x58b1e7(0x255)],PerformanceTester[_0x58b1e7(0x1e8)](PerformanceHookEvents[_0x58b1e7(0x205)],![],_0x5e5716,_0x4f784f);}const _0x58ec85={};_0x58ec85[_0x58b1e7(0x1f7)]=_0xa4ce1d[_0x58b1e7(0x255)],PerformanceTester['end'](PerformanceHookEvents[_0x58b1e7(0x205)],!![],null,_0x58ec85);}),CodeceptJS[_0x55c5c0(0x25b)]['dispatcher']['on'](CodeceptJS[_0x55c5c0(0x25b)][_0x55c5c0(0x175)][_0x55c5c0(0x1d7)],_0x3fb3ad=>{const _0x217017=_0x55c5c0;PerformanceTester[_0x217017(0x1c6)](PerformanceHookEvents['SDK_HOOK']);try{globals[_0x217017(0x196)](_0xa4ce1d['MKBgA'],_0x3fb3ad['title']);_0xa4ce1d[_0x217017(0x1db)](isBrowserstackInfra)&&(_0x4af871&&(global['__workerDetails']={'currentTest':{'name':_0x3fb3ad[_0x217017(0x1a1)],'testInfo':{'titlePath':_0x3fb3ad[_0x217017(0x1be)]()}}}));const _0x366273={};_0x366273[_0x217017(0x1f7)]=_0xa4ce1d[_0x217017(0x1cc)],PerformanceTester[_0x217017(0x1e8)](PerformanceHookEvents[_0x217017(0x205)],!![],null,_0x366273);}catch(_0x33db79){PerformanceTester[_0x217017(0x1fe)](_0x33db79);const _0x26a801={};_0x26a801[_0x217017(0x1f7)]=_0xa4ce1d[_0x217017(0x1cc)],PerformanceTester[_0x217017(0x1e8)](PerformanceHookEvents['SDK_HOOK'],![],_0x33db79,_0x26a801);}}),CodeceptJS[_0x55c5c0(0x25b)]['dispatcher']['on'](CodeceptJS[_0x55c5c0(0x25b)]['test']['started'],_0x1c7447=>{const _0x1827e9=_0x55c5c0;PerformanceTester[_0x1827e9(0x1c6)](PerformanceHookEvents[_0x1827e9(0x205)]);try{globals['setGlobal'](_0xa4ce1d['MKBgA'],_0x1c7447[_0x1827e9(0x1a1)]);const _0x130b2e=_0x2c6019[_0x1827e9(0x21b)](TEST_EVENTS[_0x1827e9(0x276)],_0x1c7447);CodeceptRecorder[_0x1827e9(0x1c7)](()=>_0x2c6019[_0x1827e9(0x1c8)]()),CodeceptRecorder[_0x1827e9(0x1c7)](()=>_0x2c6019[_0x1827e9(0x266)](TEST_EVENTS[_0x1827e9(0x276)],_0x130b2e)),CodeceptRecorder[_0x1827e9(0x1c7)](async()=>{const _0x428d6a=_0x1827e9;_0xa4ce1d[_0x428d6a(0x1db)](isBrowserstackInfra)&&(!_0xa4ce1d[_0x428d6a(0x264)](isTrue,_0x5c876a['skipSessionName'])&&await _0xa4ce1d[_0x428d6a(0x1b9)](markSessionName,_0x5468f2,_0x1c7447[_0x428d6a(0x1a1)]),_0x2c6019[_0x428d6a(0x17a)]&&await _0xa4ce1d['ZAIFc'](o11ySync,_0x5468f2));});}catch(_0x565898){const _0x209c7c={};_0x209c7c[_0x1827e9(0x1f7)]=_0xa4ce1d[_0x1827e9(0x252)],PerformanceTester[_0x1827e9(0x1e8)](PerformanceHookEvents[_0x1827e9(0x205)],![],_0x565898,_0x209c7c),PerformanceTester[_0x1827e9(0x1fe)](_0x565898);}const _0x174b07={};_0x174b07[_0x1827e9(0x1f7)]=_0xa4ce1d[_0x1827e9(0x252)],PerformanceTester[_0x1827e9(0x1e8)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x174b07);}),CodeceptJS[_0x55c5c0(0x25b)][_0x55c5c0(0x226)]['on'](CodeceptJS[_0x55c5c0(0x25b)]['test'][_0x55c5c0(0x208)],_0x4a3865=>{const _0x2ef3c9=_0x55c5c0;PerformanceTester[_0x2ef3c9(0x1c6)](PerformanceHookEvents[_0x2ef3c9(0x205)]);try{const _0x2b2543=_0x2c6019[_0x2ef3c9(0x21b)](TEST_EVENTS[_0x2ef3c9(0x1cb)],_0x4a3865);CodeceptRecorder[_0x2ef3c9(0x1c7)](()=>_0x2c6019['fireEvent'](TEST_EVENTS[_0x2ef3c9(0x1cb)],_0x2b2543)),CodeceptRecorder['add'](async()=>{const _0x1f1639=_0x2ef3c9,_0x183bea={'JFpGU':function(_0x55340a,_0x31df9b,_0x8e2432){const _0x515e3e=a1_0x518a;return _0xa4ce1d[_0x515e3e(0x177)](_0x55340a,_0x31df9b,_0x8e2432);}};_0xa4ce1d['UEEby'](isBrowserstackInfra)&&await PerformanceTester[_0x1f1639(0x18b)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x5e9363=_0x1f1639;_0x4af871?await _0x183bea['JFpGU'](playwrightMarkSessionStatus,_0x5468f2,STATE_PASSED):await _0x183bea[_0x5e9363(0x19c)](markSessionStatus,_0x5468f2,STATE_PASSED);})();}),PerformanceTester[_0x2ef3c9(0x1e8)](PerformanceEvents[_0x2ef3c9(0x278)]);}catch(_0xa087dd){PerformanceTester[_0x2ef3c9(0x1fe)](_0xa087dd);const _0x23d49e={};_0x23d49e[_0x2ef3c9(0x1f7)]=_0xa4ce1d[_0x2ef3c9(0x209)],PerformanceTester[_0x2ef3c9(0x1e8)](PerformanceHookEvents['SDK_HOOK'],![],_0xa087dd,_0x23d49e),PerformanceTester[_0x2ef3c9(0x1e8)](PerformanceEvents[_0x2ef3c9(0x278)],![],_0xa087dd);}const _0x225180={};_0x225180[_0x2ef3c9(0x1f7)]=_0xa4ce1d['YKOJZ'],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x225180);}),CodeceptJS[_0x55c5c0(0x25b)][_0x55c5c0(0x226)]['on'](CodeceptJS[_0x55c5c0(0x25b)][_0x55c5c0(0x175)][_0x55c5c0(0x1e4)],(_0x3956eb,_0x717c24)=>{const _0x332271=_0x55c5c0,_0x991c0a={'gOguy':function(_0x424198){const _0x1e832c=a1_0x518a;return _0xa4ce1d[_0x1e832c(0x1fc)](_0x424198);},'nmjYu':function(_0x1a3943,_0x444665,_0x213a09,_0x5c29b2){return _0xa4ce1d['EaMuW'](_0x1a3943,_0x444665,_0x213a09,_0x5c29b2);}};PerformanceTester[_0x332271(0x1c6)](PerformanceHookEvents[_0x332271(0x205)]);try{if(_0xa4ce1d['CglRE'](_0x3956eb[_0x332271(0x271)][_0x332271(0x1bd)],_0xa4ce1d[_0x332271(0x225)])){const _0x520f5c=_0x2c6019[_0x332271(0x21b)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x3956eb[_0x332271(0x174)][_0x332271(0x227)]);CodeceptRecorder[_0x332271(0x1c7)](()=>_0x2c6019[_0x332271(0x266)](TEST_EVENTS[_0x332271(0x1e6)],_0x520f5c));}else{const _0x11274d=_0x2c6019[_0x332271(0x21b)](TEST_EVENTS[_0x332271(0x1cb)],_0x3956eb,_0x717c24);CodeceptRecorder[_0x332271(0x1c7)](()=>{const _0x1ab98d=_0x332271;try{_0x2c6019['fireEvent'](TEST_EVENTS[_0x1ab98d(0x1cb)],_0x11274d);}catch(_0x1df40b){logger[_0x1ab98d(0x230)](_0x1ab98d(0x274)+util[_0x1ab98d(0x1af)](_0x1df40b)),PerformanceTester[_0x1ab98d(0x1e8)](PerformanceEvents[_0x1ab98d(0x278)],![],_0x1df40b);}}),CodeceptRecorder['add'](async()=>{const _0x3ce7fb=_0x332271;try{_0x991c0a[_0x3ce7fb(0x267)](isBrowserstackInfra)&&(_0x4af871?await _0x991c0a[_0x3ce7fb(0x1a4)](playwrightMarkSessionStatus,_0x5468f2,STATE_FAILED,_0x717c24):await _0x991c0a[_0x3ce7fb(0x1a4)](markSessionStatus,_0x5468f2,STATE_FAILED,_0x717c24));}catch(_0x152e49){logger['debug'](_0x3ce7fb(0x18a)+util[_0x3ce7fb(0x1af)](_0x152e49)),PerformanceTester[_0x3ce7fb(0x1e8)](PerformanceEvents[_0x3ce7fb(0x278)],![],_0x152e49);}});}PerformanceTester[_0x332271(0x1e8)](PerformanceEvents[_0x332271(0x278)]);}catch(_0x4db736){PerformanceTester[_0x332271(0x1fe)](_0x4db736);const _0x44b726={};_0x44b726[_0x332271(0x1f7)]=_0xa4ce1d['LpLlz'],PerformanceTester['end'](PerformanceHookEvents[_0x332271(0x205)],![],_0x4db736,_0x44b726),PerformanceTester[_0x332271(0x1e8)](PerformanceEvents[_0x332271(0x278)],![],_0x4db736);}const _0x3e6809={};_0x3e6809[_0x332271(0x1f7)]=_0xa4ce1d[_0x332271(0x1b6)],PerformanceTester['end'](PerformanceHookEvents[_0x332271(0x205)],!![],null,_0x3e6809);}),CodeceptJS[_0x55c5c0(0x25b)][_0x55c5c0(0x226)]['on'](CodeceptJS[_0x55c5c0(0x25b)][_0x55c5c0(0x175)][_0x55c5c0(0x239)],_0x1b422a=>{const _0x2b0796=_0x55c5c0;PerformanceTester[_0x2b0796(0x1c6)](PerformanceHookEvents[_0x2b0796(0x205)]);try{const _0x551f79=_0x2c6019[_0x2b0796(0x21b)](TEST_EVENTS[_0x2b0796(0x1e6)],_0x1b422a);CodeceptRecorder['add'](()=>_0x2c6019[_0x2b0796(0x266)](TEST_EVENTS[_0x2b0796(0x1e6)],_0x551f79)),PerformanceTester[_0x2b0796(0x1e8)](PerformanceEvents[_0x2b0796(0x278)]);}catch(_0x2001ee){PerformanceTester[_0x2b0796(0x1fe)](_0x2001ee),PerformanceTester[_0x2b0796(0x1e8)](PerformanceEvents[_0x2b0796(0x278)],![],_0x2001ee);const _0x2b997b={};_0x2b997b['hookType']=_0xa4ce1d[_0x2b0796(0x253)],PerformanceTester['end'](PerformanceHookEvents[_0x2b0796(0x205)],![],_0x2001ee,_0x2b997b);}const _0x8d848={};_0x8d848[_0x2b0796(0x1f7)]=_0xa4ce1d[_0x2b0796(0x253)],PerformanceTester[_0x2b0796(0x1e8)](PerformanceHookEvents[_0x2b0796(0x205)],!![],null,_0x8d848);}),CodeceptJS[_0x55c5c0(0x25b)][_0x55c5c0(0x226)]['on'](CodeceptJS[_0x55c5c0(0x25b)][_0x55c5c0(0x175)][_0x55c5c0(0x245)],async(_0x915c64,_0x193862)=>{const _0xfdcf7=_0x55c5c0;try{PerformanceTester[_0xfdcf7(0x1c6)](PerformanceHookEvents[_0xfdcf7(0x205)]);const _0xe2c503=_0xa4ce1d[_0xfdcf7(0x1b9)](shouldScanTestForAccessibility,_0x915c64[_0xfdcf7(0x1be)](),!![]);if(_0xa4ce1d[_0xfdcf7(0x1fc)](isAccessibilityAutomationSession)&&global['accessibilityPlatform']&&_0xe2c503){const _0xf91d27={};_0xf91d27[_0xfdcf7(0x1ae)]=_0x915c64[_0xfdcf7(0x194)],_0xf91d27['thBuildUuid']=process[_0xfdcf7(0x1d0)][testHubConstants['ENV_VAR'][_0xfdcf7(0x17f)]],_0xf91d27[_0xfdcf7(0x251)]=process['env'][testHubConstants[_0xfdcf7(0x190)][_0xfdcf7(0x1e0)]];const _0x1e0f38=_0xf91d27;logger[_0xfdcf7(0x230)](_0xfdcf7(0x26c)+JSON[_0xfdcf7(0x1ba)](_0x1e0f38)),CodeceptRecorder['add'](async()=>{const _0x54e317=_0xfdcf7,_0x386d1d={};_0x386d1d[_0x54e317(0x201)]=_0xa4ce1d['nWwDm'],await PerformanceTester[_0x54e317(0x18b)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x16b3d5=_0x54e317;await AccessibilityHelper[_0x16b3d5(0x247)](_0x5468f2,scripts[_0x16b3d5(0x182)]);},_0x386d1d)(),globals[_0x54e317(0x1df)](_0xa4ce1d[_0x54e317(0x25f)])&&(_0x1e0f38['is_mobile_session']=!![]),await PerformanceTester[_0x54e317(0x18b)](PerformanceA11yEvents[_0x54e317(0x1aa)],async()=>{const _0x593294=_0x54e317;await AccessibilityHelper['browserStackExecuteDriver'](_0x5468f2,scripts[_0x593294(0x1ab)],_0x1e0f38);})();}),logger[_0xfdcf7(0x1c3)](_0xa4ce1d[_0xfdcf7(0x1ec)]);}const _0x4d8073={};_0x4d8073[_0xfdcf7(0x1f7)]=_0xa4ce1d[_0xfdcf7(0x1cf)],PerformanceTester[_0xfdcf7(0x1e8)](PerformanceHookEvents[_0xfdcf7(0x205)],!![],null,_0x4d8073);}catch(_0x458f2b){PerformanceTester['captureError'](_0x458f2b);const _0x386005={};_0x386005[_0xfdcf7(0x1f7)]=_0xa4ce1d[_0xfdcf7(0x1cf)],PerformanceTester[_0xfdcf7(0x1e8)](PerformanceHookEvents[_0xfdcf7(0x205)],![],_0x458f2b,_0x386005);}}),CodeceptJS[_0x55c5c0(0x25b)]['dispatcher']['on'](CodeceptJS[_0x55c5c0(0x25b)][_0x55c5c0(0x189)]['comment'],_0x39c55b=>{const _0x11a382=_0x55c5c0;PerformanceTester[_0x11a382(0x1c6)](PerformanceHookEvents[_0x11a382(0x205)]);try{process[_0x11a382(0x179)](_0x11a382(0x1b2)+process['pid'],{'timestamp':new Date()[_0x11a382(0x223)](),'level':_0xa4ce1d[_0x11a382(0x22f)],'message':_0x39c55b,'kind':_0xa4ce1d[_0x11a382(0x195)],'http_response':{}});}catch(_0x4dce6f){PerformanceTester[_0x11a382(0x1fe)](_0x4dce6f);const _0x877c9d={};_0x877c9d[_0x11a382(0x1f7)]=_0xa4ce1d[_0x11a382(0x18c)],PerformanceTester[_0x11a382(0x1e8)](PerformanceHookEvents['SDK_HOOK'],![],_0x4dce6f,_0x877c9d);}const _0xead58e={};_0xead58e[_0x11a382(0x1f7)]=_0xa4ce1d['aFnaD'],PerformanceTester[_0x11a382(0x1e8)](PerformanceHookEvents[_0x11a382(0x205)],!![],null,_0xead58e);}),CodeceptJS[_0x55c5c0(0x25b)]['dispatcher']['on'](CodeceptJS['event'][_0x55c5c0(0x1a7)]['before'],_0x4665f8=>{const _0x58d221=_0x55c5c0,_0x1ccb50={};_0x1ccb50[_0x58d221(0x1f7)]=_0xa4ce1d[_0x58d221(0x1ea)],PerformanceTester[_0x58d221(0x18b)](PerformanceHookEvents[_0x58d221(0x205)],()=>{const _0x116bf5=_0x58d221;_0x2c6019[_0x116bf5(0x19f)](_0x4665f8);},_0x1ccb50)();}),CodeceptJS[_0x55c5c0(0x25b)][_0x55c5c0(0x226)]['on'](CodeceptJS[_0x55c5c0(0x25b)][_0x55c5c0(0x1a7)][_0x55c5c0(0x245)],_0x12088a=>{const _0x2818a9=_0x55c5c0,_0x225922={};_0x225922[_0x2818a9(0x1f7)]=_0xa4ce1d[_0x2818a9(0x21e)],PerformanceTester['measureWrapper'](PerformanceHookEvents['SDK_HOOK'],()=>{const _0x422726=_0x2818a9;_0x2c6019[_0x422726(0x238)](_0x12088a);},_0x225922)();});};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a2_0x554e87=a2_0x1957;(function(_0x5c98ac,_0x398472){const _0x56bb2d=a2_0x1957,_0x3773fb=_0x5c98ac();while(!![]){try{const _0x3162a9=-parseInt(_0x56bb2d(0x196))/0x1*(parseInt(_0x56bb2d(0x1e8))/0x2)+parseInt(_0x56bb2d(0x1cf))/0x3*(parseInt(_0x56bb2d(0x224))/0x4)+-parseInt(_0x56bb2d(0x1c2))/0x5+parseInt(_0x56bb2d(0x186))/0x6*(-parseInt(_0x56bb2d(0x231))/0x7)+parseInt(_0x56bb2d(0x1eb))/0x8+-parseInt(_0x56bb2d(0x1ac))/0x9+parseInt(_0x56bb2d(0x1af))/0xa*(parseInt(_0x56bb2d(0x19a))/0xb);if(_0x3162a9===_0x398472)break;else _0x3773fb['push'](_0x3773fb['shift']());}catch(_0x1be513){_0x3773fb['push'](_0x3773fb['shift']());}}}(a2_0x1a48,0x4dd49));const fs=require('fs'),path=require('path'),util=require('util'),process=require('process'),logger=require(a2_0x554e87(0x1f3))[a2_0x554e87(0x187)],{default:BrowserStackSetup}=require(a2_0x554e87(0x195)),helper=require(a2_0x554e87(0x207)),utilities=require(a2_0x554e87(0x1bd)),{checkAccessibilityPlatformConfig}=require(a2_0x554e87(0x1b8)),{setAccessibilityCapabilities,processAccessibilityCaps}=require(a2_0x554e87(0x208)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x554e87(0x207)),CodeceptJS=requireModule(a2_0x554e87(0x198),a2_0x554e87(0x1a8)),testOpsHelper=require(a2_0x554e87(0x1ea)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),BrowserstackCLI=require('../v2/browserstackCLI'),constants=require(a2_0x554e87(0x1e0)),PerformanceTester=require(a2_0x554e87(0x1e2)),{FRAMEWORKS}=require(a2_0x554e87(0x1b5)),PerformanceEvents=require('../../helpers/performance/constants')[a2_0x554e87(0x194)],ClientTroubleShootingService=require(a2_0x554e87(0x1b7)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x2dc685,_0x5a686d)=>{const _0x165498=a2_0x554e87,_0x190cd9={};_0x190cd9[_0x165498(0x230)]=function(_0x14c83c,_0x68820f){return _0x14c83c===_0x68820f;},_0x190cd9[_0x165498(0x216)]=_0x165498(0x227),_0x190cd9[_0x165498(0x1dd)]=_0x165498(0x1cc);const _0x1ccf90=_0x190cd9;let _0x3e7f7f=null;const _0x175e6={};let _0x495901=_0x5a686d['findIndex'](_0x976198=>_0x976198===_0x165498(0x1ca));_0x1ccf90['gacPt'](_0x495901,-0x1)&&(_0x495901=_0x5a686d['findIndex'](_0x340e7c=>_0x340e7c==='-c'));const _0x4bc9bb=!helper['isUndefined'](_0x2dc685[_0x165498(0x211)])?helper[_0x165498(0x1f8)](_0x2dc685[_0x165498(0x211)]):null,_0x5b3ab5=!helper[_0x165498(0x190)](_0x2dc685['c'])?helper[_0x165498(0x1f8)](_0x2dc685['c']):null;if(!helper['isUndefined'](_0x2dc685['config'])&&!_0x4bc9bb)logger[_0x165498(0x228)](_0x165498(0x1d2)+_0x2dc685['config']+'\x22:\x20it\x20resolves\x20outside\x20the\x20project\x20directory.');else!helper[_0x165498(0x190)](_0x2dc685['c'])&&!_0x5b3ab5&&logger[_0x165498(0x228)](_0x165498(0x215)+_0x2dc685['c']+_0x165498(0x189));if(_0x4bc9bb&&fs[_0x165498(0x20a)](_0x4bc9bb))_0x3e7f7f=_0x4bc9bb,_0x5a686d[_0x165498(0x1a0)](_0x495901,0x2);else{if(_0x5b3ab5&&fs['existsSync'](_0x5b3ab5))_0x3e7f7f=_0x5b3ab5,_0x5a686d['splice'](_0x495901,0x2);else{if(fs[_0x165498(0x20a)](path[_0x165498(0x1a1)](process[_0x165498(0x1c4)](),_0x1ccf90[_0x165498(0x216)])))_0x3e7f7f=path['join'](process[_0x165498(0x1c4)](),_0x1ccf90[_0x165498(0x216)]);else fs[_0x165498(0x20a)](path[_0x165498(0x1a1)](process[_0x165498(0x1c4)](),_0x1ccf90[_0x165498(0x1dd)]))&&(_0x3e7f7f=path['join'](process[_0x165498(0x1c4)](),_0x1ccf90[_0x165498(0x1dd)]));}}return process[_0x165498(0x192)][_0x165498(0x1be)]=_0x3e7f7f,_0x3e7f7f;},getO11yRerunPattern=()=>{const _0x48ca6e=a2_0x554e87,_0x2ff2ff=helper[_0x48ca6e(0x1da)](process[_0x48ca6e(0x192)][_0x48ca6e(0x201)]);if(_0x2ff2ff){const _0x26e6c1=process[_0x48ca6e(0x192)]['BROWSERSTACK_RERUN_TESTS'],_0x17b4b1=[];if(helper[_0x48ca6e(0x1e4)](_0x26e6c1)&&!helper[_0x48ca6e(0x190)](_0x26e6c1)){_0x26e6c1['split'](',')[_0x48ca6e(0x21b)](_0x611afa=>{const _0xc2f219=_0x48ca6e;_0x17b4b1[_0xc2f219(0x220)]('('+_0x611afa[_0xc2f219(0x21e)]()+')');});const _0x2387b4='^'+_0x17b4b1[_0x48ca6e(0x1a1)]('|')+'$';return _0x2387b4;}}return null;},a2_0x130aa7={};a2_0x130aa7[a2_0x554e87(0x222)]=a2_0x554e87(0x206),a2_0x130aa7[a2_0x554e87(0x1fe)]='chromium',a2_0x130aa7[a2_0x554e87(0x225)]='firefox',a2_0x130aa7[a2_0x554e87(0x1cd)]=a2_0x554e87(0x1f6);function a2_0x1a48(){const _0x18be94=['codecept.conf.js','warn','handleApp','Started\x20:\x20','Failed\x20:\x20','setupBrowserstackLocal','require','desiredCapabilities','format','gacPt','194789GdYpqt','info','run','gherkin','SDK_SETUP','validPlatformsPresent','getPlatformName','42AgUCYs','winstonLogger','prepareCapabilities','\x22:\x20it\x20resolves\x20outside\x20the\x20project\x20directory.','printResults','exjsj','browserName','isRunning','enabled','oSmXR','isUndefined','mergeDeep','env','result','EVENTS','../../helpers/BrowserStackSetup','17pGcKdO','title','codeceptjs/lib/index.js','debug','99UjbvHm','split','mLKlU','chdir','OjAeH','aoGPS','splice','join','lDChw','parallelsPerPlatform','xgIOD','BROWSERSTACK_TEST_OBSERVABILITY_YML','browserStackCwd','userName','codeceptjs','assign','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','dirname','482643aSMMYi','root','BZQhl','850610fAYvss','useW3C','length','printBuildLink','now','errorMessage','../../helpers/test-observability/constants','testContextOptions','../utils/clientTroubleshootingService','../../helpers/accessibility-automation/helper','CODECEPT_CUCUMBER','stack','BROWSERSTACK_FRAMEWORK','FRAMEWORKS','../../helpers/utilities','USER_CONFIG_DETAILS_PATH','bootstrapAll','LJqoS','WXrMY','1103060uBroEz','frameworkName','cwd','CODECEPT','0|4|2|5|3|1','browserWSEndpoint','test','hubUrl','--config','host','codecept.json','playwright-webkit','getInstance','9ICHxay','createGroupsOfSuites','SDK_CLEANUP','Ignoring\x20--config\x20path\x20\x22','start','VszYs','Passed\x20:\x20','setAdditionalCapabilities','THXNB','path','spawn','isTrue','forEach','stop','EQAMk','WebDriver','bfNWD','../utils/constants','load','../../helpers/performance/performance-tester','accessibilityOptions','validateRerunTestList','YTyRz','addOptions','accessibility','34198YNqmer','plugins','../../helpers/test-observability/utils','2399264UQbJhE','key','log','skipSessionName','xaeIi','ItZkn','event','toLowerCase','../../helpers/logger','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','qCRdH','webkit','launchBuild','resolveWithinCwd','yvuIT','GiNXx','Playwright','OucDE','isEmpty','playwright-chromium','pZSEc','eepSu','BROWSERSTACK_RERUN','accessKey','failed','helpers','testObservability','chromium','../../helpers/helper','../../bin/playwright/accessibility-helper','replace','existsSync','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','BROWSERSTACK_TEST_ACCESSIBILITY_YML','testConfig','NVEtI','passed','FmCpy','config','zukhm','finalExecution','stringify','Ignoring\x20-c\x20config\x20path\x20\x22','bAWCb','teardownAll','addConfig','APTxW','platforms','map','err','hVmhe','trim','profile','push','browser','chrome','skipSessionStatus','17396AmQtVs','playwright-firefox','Cwrer'];a2_0x1a48=function(){return _0x18be94;};return a2_0x1a48();}const pwToCodeceptBrowser=a2_0x130aa7;async function run(_0x3432c2,_0x49951a,_0x717349){const _0x12cfb4=a2_0x554e87,_0x63888={'lDChw':function(_0x187007,_0x312f2e,_0x20c9e7,_0x1f1a6b){return _0x187007(_0x312f2e,_0x20c9e7,_0x1f1a6b);},'OjAeH':function(_0x18fa53,_0x38df88){return _0x18fa53+_0x38df88;},'APTxW':function(_0x3e35d4,_0x2de470){return _0x3e35d4(_0x2de470);},'THXNB':function(_0x1557a7,_0x26371c,_0x56e9af){return _0x1557a7(_0x26371c,_0x56e9af);},'qCRdH':_0x12cfb4(0x204),'GiNXx':function(_0x40711c){return _0x40711c();},'aoGPS':'/wd/hub','CCoWb':function(_0x999635){return _0x999635();},'qBtoA':_0x12cfb4(0x22b),'ItZkn':_0x12cfb4(0x1d5),'hVmhe':_0x12cfb4(0x22a),'krUPW':_0x12cfb4(0x1c6),'PlLjb':function(_0x32fae5,_0x5b5b19,_0xd08795){return _0x32fae5(_0x5b5b19,_0xd08795);},'fhbiA':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','FmCpy':function(_0xf634e4,_0x1b442e,_0x32902f){return _0xf634e4(_0x1b442e,_0x32902f);},'zukhm':_0x12cfb4(0x1fb),'eepSu':_0x12cfb4(0x1de),'bqPqB':function(_0x571a33,_0x26832f){return _0x571a33!=_0x26832f;},'pZSEc':function(_0x668842,_0x369a17){return _0x668842===_0x369a17;},'YTyRz':_0x12cfb4(0x234),'yvuIT':function(_0x3e94d9,_0x54ee0f){return _0x3e94d9(_0x54ee0f);},'bfNWD':function(_0x57a694){return _0x57a694();},'LJqoS':function(_0x2d7e81,_0xebef3e){return _0x2d7e81*_0xebef3e;},'BZQhl':'browser','WXrMY':function(_0x15cfc3,_0x24a94e,_0x4720e3){return _0x15cfc3(_0x24a94e,_0x4720e3);},'exjsj':_0x12cfb4(0x22e),'oSmXR':function(_0x32ef86,_0x3ca0fe,_0x53af6d){return _0x32ef86(_0x3ca0fe,_0x53af6d);},'OucDE':_0x12cfb4(0x1ad),'NVEtI':'BrowserStackPlugin.js','IWaha':_0x12cfb4(0x1a6),'xaeIi':_0x12cfb4(0x1a8),'Cwrer':function(_0x55b9d7){return _0x55b9d7();}};await _0x717349['initialize'](_0x3432c2);!BrowserstackCLI[_0x12cfb4(0x1ce)]()[_0x12cfb4(0x18d)]()&&await _0x717349[_0x12cfb4(0x22c)]();await helper[_0x12cfb4(0x229)](_0x717349[_0x12cfb4(0x211)]);if(!_0x717349[_0x12cfb4(0x211)])return;process[_0x12cfb4(0x21f)]=_0x3432c2[_0x12cfb4(0x21f)];_0x3432c2[_0x12cfb4(0x21f)]&&(process[_0x12cfb4(0x192)][_0x12cfb4(0x21f)]=_0x3432c2['profile']);const _0x3b13d2=_0x63888['PlLjb'](getUserCodeceptJSConfigs,_0x3432c2,_0x49951a);let _0x107214={};_0x3b13d2?(logger[_0x12cfb4(0x232)](_0x12cfb4(0x20b)+_0x3b13d2),_0x107214=CodeceptJS[_0x12cfb4(0x211)][_0x12cfb4(0x1e1)](_0x3b13d2)):logger[_0x12cfb4(0x232)](_0x63888['fhbiA']);let _0x3f7811=![];_0x63888['FmCpy'](nestedKeyValue,_0x107214,[_0x63888[_0x12cfb4(0x1f5)],_0x63888[_0x12cfb4(0x212)]])&&(_0x3f7811=!![]);const _0x498126=_0x3f7811?_0x63888[_0x12cfb4(0x212)]:_0x63888[_0x12cfb4(0x200)];let _0x4a7049=!_0x3f7811?helper[_0x12cfb4(0x1b0)](_0x717349[_0x12cfb4(0x211)]):![];!helper[_0x12cfb4(0x190)](_0x717349[_0x12cfb4(0x211)]['accessibilityOptions'])&&(process['env'][_0x12cfb4(0x1f4)]=JSON[_0x12cfb4(0x214)](_0x717349[_0x12cfb4(0x211)][_0x12cfb4(0x1e3)]));let _0x27baef=_0x717349[_0x12cfb4(0x211)][_0x12cfb4(0x1e7)];_0x27baef=_0x27baef||_0x63888[_0x12cfb4(0x219)](checkAccessibilityPlatformConfig,_0x717349[_0x12cfb4(0x211)]),process[_0x12cfb4(0x192)][_0x12cfb4(0x20c)]=_0x27baef;_0x27baef&&(_0x4a7049=!_0x27baef);_0x63888['bqPqB'](_0x717349[_0x12cfb4(0x211)]['testObservability'],null)?process[_0x12cfb4(0x192)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x717349[_0x12cfb4(0x211)][_0x12cfb4(0x205)]:process[_0x12cfb4(0x192)][_0x12cfb4(0x1a5)]=_0x63888[_0x12cfb4(0x1ff)](_0x498126,_0x63888[_0x12cfb4(0x212)]);const _0x793d4e=_0x63888[_0x12cfb4(0x210)](nestedKeyValue,_0x107214,[_0x63888[_0x12cfb4(0x1e5)]]),_0x38293c=_0x793d4e&&!helper[_0x12cfb4(0x1fd)](_0x793d4e)?FRAMEWORKS[_0x12cfb4(0x1b9)]:FRAMEWORKS['CODECEPT'],_0x1c8d75=await TestHubHandler[_0x12cfb4(0x1f7)](_0x38293c,_0x717349);_0x27baef&&_0x63888[_0x12cfb4(0x1f9)](setAccessibilityCapabilities,_0x717349[_0x12cfb4(0x211)]);const _0x387b7b={},_0x1ceb3d=[],_0xfe5893=_0x717349[_0x12cfb4(0x211)][_0x12cfb4(0x1a3)]||helper['getUserWorkerCount'](_0x3432c2,_0x49951a,_0x717349['config'],constants[_0x12cfb4(0x1bc)][_0x12cfb4(0x1c5)])||0x1;let _0x4ba57c=0x1;if(_0x63888[_0x12cfb4(0x1df)](isBrowserstackInfra)){const _0x8a6539=helper[_0x12cfb4(0x188)](_0x717349[_0x12cfb4(0x211)],_0x4a7049,constants[_0x12cfb4(0x1bc)][_0x12cfb4(0x1c5)]);_0x8a6539['forEach'](_0x42651b=>{const _0x2216e7=_0x12cfb4;helper[_0x2216e7(0x1d6)](_0x42651b);}),helper[_0x12cfb4(0x184)](_0x717349['config'])?_0x4ba57c=_0x63888[_0x12cfb4(0x1c0)](_0xfe5893,_0x717349[_0x12cfb4(0x211)][_0x12cfb4(0x21a)][_0x12cfb4(0x1b1)]):_0x4ba57c=_0xfe5893,_0x8a6539[_0x12cfb4(0x1db)](_0x295807=>{const _0x7fdeb0=_0x12cfb4,_0x7222a2={'mLKlU':function(_0x41828d,_0x2ed905,_0x2162cc,_0x56a026){const _0x2bb09e=a2_0x1957;return _0x63888[_0x2bb09e(0x1a2)](_0x41828d,_0x2ed905,_0x2162cc,_0x56a026);},'VszYs':function(_0x30d1be,_0xeeb846){return _0x63888['OjAeH'](_0x30d1be,_0xeeb846);},'xgIOD':function(_0x4e1b56,_0x33a168){const _0x4eae15=a2_0x1957;return _0x63888[_0x4eae15(0x219)](_0x4e1b56,_0x33a168);}},_0x506b6d=_0x63888[_0x7fdeb0(0x19e)](helper[_0x7fdeb0(0x185)](_0x295807,'_'),'_'+Date[_0x7fdeb0(0x1b3)]()),_0x1f5e35=((()=>{const _0x169f0f=_0x7fdeb0;if(_0x3f7811){const _0x4ac4fb=pwToCodeceptBrowser[_0x295807[_0x169f0f(0x18c)]]||_0x295807[_0x169f0f(0x18c)],_0x5dd405=helper['getPlaywrightUrl'](_0x717349[_0x169f0f(0x211)]),_0x5919dd=Object['assign']({},_0x295807);return _0x7222a2[_0x169f0f(0x19c)](processAccessibilityCaps,_0x5919dd,_0x5dd405,null),{'browser':_0x4ac4fb,[_0x4ac4fb]:{'browserWSEndpoint':_0x7222a2[_0x169f0f(0x1d4)](_0x5dd405,_0x7222a2[_0x169f0f(0x1a4)](encodeURIComponent,JSON[_0x169f0f(0x214)](_0x5919dd)))}};}const _0x381cf8={};return _0x381cf8[_0x169f0f(0x22e)]=_0x295807,_0x381cf8['user']=_0x717349[_0x169f0f(0x211)][_0x169f0f(0x1a7)],_0x381cf8[_0x169f0f(0x1ec)]=_0x717349[_0x169f0f(0x211)][_0x169f0f(0x202)],_0x381cf8;})()),_0x54d928=_0x63888[_0x7fdeb0(0x1d7)](nestedKeyValue,_0x107214,[_0x63888['qCRdH'],_0x498126]);_0x387b7b[_0x506b6d]=_0x54d928?helper['mergeDeep'](_0x1f5e35,_0x54d928):_0x1f5e35;if(_0x3f7811)_0x387b7b[_0x506b6d]['browser']=pwToCodeceptBrowser[_0x295807[_0x7fdeb0(0x18c)]]||_0x295807[_0x7fdeb0(0x18c)];else{_0x387b7b[_0x506b6d]['browser']=_0x295807['browserName']||_0x1f5e35[_0x7fdeb0(0x221)];if(_0x63888[_0x7fdeb0(0x1fa)](isBrowserstackInfra)){_0x387b7b[_0x506b6d][_0x7fdeb0(0x1cb)]=constants[_0x7fdeb0(0x1c9)]['replace'](_0x63888[_0x7fdeb0(0x19f)],'')[_0x7fdeb0(0x209)](/https?:\/\//,'');;_0x387b7b[_0x506b6d][_0x7fdeb0(0x1d8)]=_0x63888[_0x7fdeb0(0x19f)];}}_0x1ceb3d[_0x7fdeb0(0x220)](_0x506b6d);});}else{_0x4ba57c=0x1;if(_0x3f7811){const _0xd41b7e=_0x63888[_0x12cfb4(0x1d7)](nestedKeyValue,_0x107214,[_0x63888[_0x12cfb4(0x1f5)],_0x498126,_0x63888[_0x12cfb4(0x1ae)]]),_0x306bef=_0x63888[_0x12cfb4(0x1c1)](nestedKeyValue,_0x107214,[_0x63888[_0x12cfb4(0x1f5)],_0x498126,_0xd41b7e]);if(_0x306bef&&_0x306bef[_0x12cfb4(0x1c7)]){const _0x4bde08={};_0x4bde08['platforms']=[],_0x306bef[_0x12cfb4(0x1c7)]=helper['prepareCapabilities'](Object[_0x12cfb4(0x1a9)]({},_0x717349[_0x12cfb4(0x211)],_0x4bde08),null,_0x38293c[_0x12cfb4(0x1f2)](),null,null,_0x306bef['browserWSEndpoint']);}}else{const _0x7d5a90={};_0x7d5a90[_0x12cfb4(0x21a)]=[],_0x107214[_0x63888[_0x12cfb4(0x1f5)]][_0x498126][_0x63888[_0x12cfb4(0x18b)]]=helper['prepareCapabilities'](Object[_0x12cfb4(0x1a9)]({},_0x717349[_0x12cfb4(0x211)],_0x7d5a90),null,_0x38293c[_0x12cfb4(0x1f2)](),_0x63888[_0x12cfb4(0x18f)](nestedKeyValue,_0x107214,[_0x63888[_0x12cfb4(0x1f5)],_0x498126,_0x63888[_0x12cfb4(0x18b)]])||{},null,null);}_0x387b7b[_0x63888[_0x12cfb4(0x1fc)]]=_0x107214,_0x1ceb3d[_0x12cfb4(0x220)](_0x63888[_0x12cfb4(0x1fc)]);}const _0x30bc18={};_0x30bc18[_0x12cfb4(0x20d)]=_0x3b13d2;const _0x5e78cb=_0x30bc18,_0x265fab=path[_0x12cfb4(0x1a1)](__dirname,_0x63888[_0x12cfb4(0x20e)]),_0x30c05b=process[_0x12cfb4(0x1c4)]();process[_0x12cfb4(0x192)][_0x63888['IWaha']]=_0x30c05b,process[_0x12cfb4(0x192)][_0x12cfb4(0x1bb)]=process['env']['BROWSERSTACK_FRAMEWORK']||_0x63888[_0x12cfb4(0x1ef)],process[_0x12cfb4(0x19d)](path[_0x12cfb4(0x1ab)](_0x3b13d2));const _0x16ebae=new CodeceptJS['Workers'](null,_0x5e78cb),_0x5d29e7=_0x16ebae[_0x12cfb4(0x1d0)](_0xfe5893),_0x1e712e=testOpsHelper['isTestObservabilitySession'](),_0x2c481e=_0x1ceb3d[_0x12cfb4(0x21b)](_0x2854d9=>{const _0x3144cb=_0x12cfb4,_0x1d3e61={};_0x1d3e61[_0x3144cb(0x1fb)]=_0x387b7b[_0x2854d9];const _0xffbcb6={};_0xffbcb6[_0x3144cb(0x1de)]=_0x387b7b[_0x2854d9];const _0x5796c8=_0x3f7811?_0x1d3e61:_0xffbcb6,_0x39fa2d=_0x63888['CCoWb'](getO11yRerunPattern),_0x3f90ee={};_0x3f90ee[_0x3144cb(0x204)]=_0x5796c8;const _0x5e71b6={};_0x5e71b6[_0x3144cb(0x22d)]=_0x265fab,_0x5e71b6[_0x3144cb(0x18e)]=!![],_0x5e71b6['skipSessionName']=_0x717349[_0x3144cb(0x211)]['testContextOptions'][_0x3144cb(0x1ee)],_0x5e71b6[_0x3144cb(0x223)]=_0x717349[_0x3144cb(0x211)][_0x3144cb(0x1b6)][_0x3144cb(0x223)],_0x5e71b6['testObservability']=_0x1e712e,_0x5e71b6[_0x3144cb(0x1c3)]=_0x38293c;const _0x5bc19c={};_0x5bc19c['BrowserStackPlugin']=_0x5e71b6;const _0x20bde6={};return _0x20bde6[_0x3144cb(0x1e9)]=_0x5bc19c,helper[_0x3144cb(0x191)]({},_0x107214,_0x63888['CCoWb'](isBrowserstackInfra)?_0x3f90ee:{},_0x39fa2d?{'grep':_0x39fa2d}:{},_0x20bde6);});for(const _0x10d233 of _0x2c481e){for(const _0x55209d of _0x5d29e7){const _0x4ab38b=_0x16ebae[_0x12cfb4(0x1d9)]();_0x4ab38b['addTests'](_0x55209d),_0x4ab38b[_0x12cfb4(0x218)](_0x10d233);const _0x1361b1={};_0x1361b1[_0x12cfb4(0x211)]=_0x3b13d2,_0x4ab38b[_0x12cfb4(0x1e6)](Object['assign'](_0x1361b1,_0x3432c2));}}_0x16ebae['on'](CodeceptJS['event']['test'][_0x12cfb4(0x203)],(_0xe22708,_0x46c59e)=>{const _0x1f8d54=_0x12cfb4;console[_0x1f8d54(0x1ed)](_0x63888['qBtoA'],_0xe22708['title']);const _0x8b671b={[_0xe22708[_0x1f8d54(0x197)]]:_0xe22708[_0x1f8d54(0x21c)][_0x1f8d54(0x1ba)]};_testErrorData['push'](_0x8b671b);}),_0x16ebae['on'](CodeceptJS[_0x12cfb4(0x1f1)][_0x12cfb4(0x1c8)][_0x12cfb4(0x20f)],async _0x5bd409=>{const _0x35019d=_0x12cfb4;console['log'](_0x63888[_0x35019d(0x1f0)],_0x5bd409[_0x35019d(0x197)]);}),_0x16ebae['on'](CodeceptJS[_0x12cfb4(0x1f1)][_0x12cfb4(0x1c8)]['before'],async _0x356a9d=>{const _0x39be43=_0x12cfb4;console[_0x39be43(0x1ed)](_0x63888[_0x39be43(0x21d)],_0x356a9d[_0x39be43(0x197)]);}),_0x16ebae['on'](CodeceptJS[_0x12cfb4(0x1f1)]['all'][_0x12cfb4(0x193)],async()=>{const _0x411d34=_0x12cfb4,_0x365040=_0x63888['krUPW'][_0x411d34(0x19b)]('|');let _0x22c8cf=0x0;while(!![]){switch(_0x365040[_0x22c8cf++]){case'0':PerformanceTester[_0x411d34(0x1d3)](PerformanceEvents[_0x411d34(0x1d1)]);continue;case'1':_0x16ebae[_0x411d34(0x18a)]();continue;case'2':testOpsHelper[_0x411d34(0x1b2)]();continue;case'3':try{await TestHubHandler[_0x411d34(0x1dc)]();}catch(_0x21d011){logger[_0x411d34(0x199)](_0x411d34(0x1aa)+util[_0x411d34(0x22f)](_0x21d011));}continue;case'4':_0x717349[_0x411d34(0x1b4)]=_testErrorData;continue;case'5':utilities[_0x411d34(0x213)](_0x717349);continue;}break;}});async function _0x704d9d(){const _0x52edb9=_0x12cfb4;try{await _0x16ebae[_0x52edb9(0x1bf)](),await _0x16ebae[_0x52edb9(0x233)]();}finally{process[_0x52edb9(0x19d)](_0x30c05b),await _0x16ebae[_0x52edb9(0x217)]();}}PerformanceTester['end'](PerformanceEvents[_0x12cfb4(0x235)]),await _0x63888[_0x12cfb4(0x226)](_0x704d9d);}function a2_0x1957(_0x5d8bc8,_0x4a8c1a){const _0x1a4808=a2_0x1a48();return a2_0x1957=function(_0x195736,_0x52418d){_0x195736=_0x195736-0x184;let _0x1477ce=_0x1a4808[_0x195736];return _0x1477ce;},a2_0x1957(_0x5d8bc8,_0x4a8c1a);}module['exports']=run;
|
|
2
|
+
'use strict';function a2_0x9296(_0x3ed290,_0x4e47e2){const _0x456aa0=a2_0x456a();return a2_0x9296=function(_0x929690,_0x2077a3){_0x929690=_0x929690-0x159;let _0x12f624=_0x456aa0[_0x929690];return _0x12f624;},a2_0x9296(_0x3ed290,_0x4e47e2);}function a2_0x456a(){const _0x45a8b0=['../../helpers/accessibility-automation/helper','skipSessionStatus','launchBuild','../../helpers/utilities','Workers','chrome','passed','BROWSERSTACK_TEST_ACCESSIBILITY_YML','../../helpers/testhub/testhubHandler','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','accessibility','FRAMEWORKS','config','join','../../helpers/BrowserStackSetup','2WdanRu','KljjJ','findIndex','forEach','qSZwX','platforms','load','toLowerCase','BROWSERSTACK_TEST_OBSERVABILITY_YML','chdir','testObservability','8256402yeUBcs','KagOG','../utils/constants','HobLd','test','../../bin/playwright/accessibility-helper','../../helpers/performance/constants','SDK_SETUP','userName','CODECEPT_CUCUMBER','mVMrQ','WjzcR','isUndefined','getPlatformName','assign','BrowserStackPlugin.js','stop','prepareCapabilities','addOptions','FcpZh','1602948GbKzme','BROWSERSTACK_RERUN','initialize','existsSync','WebDriver','mRHkM','WpEXc','accessKey','warn','errorMessage','setupBrowserstackLocal','stringify','enabled','parallelsPerPlatform','BROWSERSTACK_RERUN_TESTS','3209090VoDkTy','TBqdt','browserName','../../helpers/helper','gherkin','helpers','16psJKAE','isTrue','map','env','createGroupsOfSuites','splice','browserWSEndpoint','Xxpfa','all','YvQnE','stack','replace','RmakP','xYTQs','split','fHXXA','isRunning','browserStackCwd','CODECEPT','length','mergeDeep','title','mMseD','DXyIo','frameworkName','getInstance','desiredCapabilities','push','772862xbcyBv','22FtaMIJ','dfkAo','setAdditionalCapabilities','profile','../../helpers/test-observability/constants','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','xcKxN','hubUrl','../v2/browserstackCLI','Ignoring\x20--config\x20path\x20\x22','isTestObservabilitySession','2010522miwfWg','path','handleApp','wxxFF','validPlatformsPresent','JMHUu','printResults','bootstrapAll','codeceptjs','2|4|5|3|1|0','NIDwD','printBuildLink','before','browser','USER_CONFIG_DETAILS_PATH','dirname','host','2028040FrmqlB','SDK_CLEANUP','ocCVz','../../helpers/logger','spawn','QDaNX','failed','../../helpers/test-observability/utils','log','sFpqN','EVENTS','key','BrowserStackPlugin','CXVOh','testContextOptions','validateRerunTestList','codecept.conf.js','TrwOf','end','wodhc','process','cwd','6101322zQlHvR','skipSessionName','event','useW3C','FLNTX','SfRSE','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','SlMBF','5yZMcLP','plugins','run','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','ohXNG','info','Started\x20:\x20','\x22:\x20it\x20resolves\x20outside\x20the\x20project\x20directory.'];a2_0x456a=function(){return _0x45a8b0;};return a2_0x456a();}const a2_0xaaa833=a2_0x9296;(function(_0x2ca265,_0x4af5a3){const _0x5ec137=a2_0x9296,_0x5bbc61=_0x2ca265();while(!![]){try{const _0x1f9453=parseInt(_0x5ec137(0x1eb))/0x1*(parseInt(_0x5ec137(0x19b))/0x2)+parseInt(_0x5ec137(0x1f7))/0x3+parseInt(_0x5ec137(0x1ba))/0x4+parseInt(_0x5ec137(0x184))/0x5*(-parseInt(_0x5ec137(0x17c))/0x6)+-parseInt(_0x5ec137(0x166))/0x7*(parseInt(_0x5ec137(0x1cf))/0x8)+parseInt(_0x5ec137(0x1a6))/0x9+-parseInt(_0x5ec137(0x1c9))/0xa*(parseInt(_0x5ec137(0x1ec))/0xb);if(_0x1f9453===_0x4af5a3)break;else _0x5bbc61['push'](_0x5bbc61['shift']());}catch(_0x300af1){_0x5bbc61['push'](_0x5bbc61['shift']());}}}(a2_0x456a,0x7fafe));const fs=require('fs'),path=require(a2_0xaaa833(0x1f8)),util=require('util'),process=require(a2_0xaaa833(0x17a)),logger=require(a2_0xaaa833(0x169))['winstonLogger'],{default:BrowserStackSetup}=require(a2_0xaaa833(0x19a)),helper=require(a2_0xaaa833(0x1cc)),utilities=require(a2_0xaaa833(0x18f)),{checkAccessibilityPlatformConfig}=require(a2_0xaaa833(0x18c)),{setAccessibilityCapabilities,processAccessibilityCaps}=require(a2_0xaaa833(0x1ab)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require('../../helpers/helper'),CodeceptJS=requireModule('codeceptjs/lib/index.js','codeceptjs'),testOpsHelper=require(a2_0xaaa833(0x16d)),TestHubHandler=require(a2_0xaaa833(0x194)),BrowserstackCLI=require(a2_0xaaa833(0x1f4)),constants=require(a2_0xaaa833(0x1a8)),PerformanceTester=require('../../helpers/performance/performance-tester'),{FRAMEWORKS}=require(a2_0xaaa833(0x1f0)),PerformanceEvents=require(a2_0xaaa833(0x1ac))[a2_0xaaa833(0x170)],ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),_testErrorData=[],getUserCodeceptJSConfigs=(_0x4f955f,_0x2e597a)=>{const _0x592ea9=a2_0xaaa833,_0x37a0bb={};_0x37a0bb['FLNTX']=function(_0x39498b,_0x55f8da){return _0x39498b===_0x55f8da;},_0x37a0bb[_0x592ea9(0x16f)]=_0x592ea9(0x176),_0x37a0bb['qSZwX']='codecept.json';const _0x480785=_0x37a0bb;let _0x23e64c=null;const _0x450230={};let _0x522557=_0x2e597a[_0x592ea9(0x19d)](_0x1e454c=>_0x1e454c==='--config');_0x480785[_0x592ea9(0x180)](_0x522557,-0x1)&&(_0x522557=_0x2e597a[_0x592ea9(0x19d)](_0x126fb5=>_0x126fb5==='-c'));const _0x1bf1ce=!helper[_0x592ea9(0x1b2)](_0x4f955f['config'])?helper['resolveWithinCwd'](_0x4f955f[_0x592ea9(0x198)]):null,_0x33a15d=!helper[_0x592ea9(0x1b2)](_0x4f955f['c'])?helper['resolveWithinCwd'](_0x4f955f['c']):null;if(!helper[_0x592ea9(0x1b2)](_0x4f955f[_0x592ea9(0x198)])&&!_0x1bf1ce)logger[_0x592ea9(0x1c2)](_0x592ea9(0x1f5)+_0x4f955f[_0x592ea9(0x198)]+'\x22:\x20it\x20resolves\x20outside\x20the\x20project\x20directory.');else!helper[_0x592ea9(0x1b2)](_0x4f955f['c'])&&!_0x33a15d&&logger[_0x592ea9(0x1c2)]('Ignoring\x20-c\x20config\x20path\x20\x22'+_0x4f955f['c']+_0x592ea9(0x18b));if(_0x1bf1ce&&fs[_0x592ea9(0x1bd)](_0x1bf1ce))_0x23e64c=_0x1bf1ce,_0x2e597a[_0x592ea9(0x1d4)](_0x522557,0x2);else{if(_0x33a15d&&fs['existsSync'](_0x33a15d))_0x23e64c=_0x33a15d,_0x2e597a[_0x592ea9(0x1d4)](_0x522557,0x2);else{if(fs[_0x592ea9(0x1bd)](path['join'](process['cwd'](),_0x480785[_0x592ea9(0x16f)])))_0x23e64c=path[_0x592ea9(0x199)](process[_0x592ea9(0x17b)](),_0x480785[_0x592ea9(0x16f)]);else fs[_0x592ea9(0x1bd)](path['join'](process[_0x592ea9(0x17b)](),_0x480785[_0x592ea9(0x19f)]))&&(_0x23e64c=path['join'](process[_0x592ea9(0x17b)](),_0x480785[_0x592ea9(0x19f)]));}}return process[_0x592ea9(0x1d2)][_0x592ea9(0x163)]=_0x23e64c,_0x23e64c;},getO11yRerunPattern=()=>{const _0x334165=a2_0xaaa833,_0x2e3511=helper[_0x334165(0x1d0)](process[_0x334165(0x1d2)][_0x334165(0x1bb)]);if(_0x2e3511){const _0x29a21a=process[_0x334165(0x1d2)][_0x334165(0x1c8)],_0x41148a=[];if(helper[_0x334165(0x175)](_0x29a21a)&&!helper['isUndefined'](_0x29a21a)){_0x29a21a['split'](',')[_0x334165(0x1d1)](_0x185e90=>{const _0x3f9482=_0x334165;_0x41148a[_0x3f9482(0x1ea)]('('+_0x185e90['trim']()+')');});const _0x2545b3='^'+_0x41148a[_0x334165(0x199)]('|')+'$';return _0x2545b3;}}return null;},a2_0x2f572e={};a2_0x2f572e[a2_0xaaa833(0x191)]='chromium',a2_0x2f572e['playwright-chromium']='chromium',a2_0x2f572e['playwright-firefox']='firefox',a2_0x2f572e['playwright-webkit']='webkit';const pwToCodeceptBrowser=a2_0x2f572e;async function run(_0x1c5dee,_0x3655d2,_0x4b71f7){const _0x4b2d1c=a2_0xaaa833,_0x75fd35={'KljjJ':function(_0x37ea92,_0x989d02,_0x88a4ab,_0x237e9e){return _0x37ea92(_0x989d02,_0x88a4ab,_0x237e9e);},'YvQnE':function(_0x5a98f2,_0x2bb553){return _0x5a98f2+_0x2bb553;},'mMseD':function(_0xe385e4,_0x1b4b6a){return _0xe385e4(_0x1b4b6a);},'KiIuH':function(_0x100f1f,_0x4b94f7){return _0x100f1f+_0x4b94f7;},'SfRSE':function(_0x1f4c90,_0x2c2ebd,_0x2eb7fa){return _0x1f4c90(_0x2c2ebd,_0x2eb7fa);},'Xxpfa':_0x4b2d1c(0x1ce),'FcpZh':function(_0x19ee82){return _0x19ee82();},'dfkAo':'/wd/hub','Hioui':function(_0xac684e){return _0xac684e();},'HobLd':function(_0x145ad0){return _0x145ad0();},'IAArK':'Failed\x20:\x20','WjzcR':'Passed\x20:\x20','QDaNX':_0x4b2d1c(0x18a),'JgmlV':_0x4b2d1c(0x15e),'lZQuG':_0x4b2d1c(0x182),'xcKxN':'Playwright','TrwOf':_0x4b2d1c(0x1be),'SlMBF':function(_0x181d5d,_0x112a14){return _0x181d5d!=_0x112a14;},'ocCVz':function(_0x4bbb1a,_0x2bbc7f){return _0x4bbb1a===_0x2bbc7f;},'NIDwD':function(_0x392b75,_0x5a35ca,_0x5384d9){return _0x392b75(_0x5a35ca,_0x5384d9);},'fHXXA':_0x4b2d1c(0x1cd),'RmakP':function(_0x61cab9,_0x167bf7){return _0x61cab9(_0x167bf7);},'DXyIo':function(_0x5403b1,_0xe8d359){return _0x5403b1*_0xe8d359;},'WpEXc':function(_0x534c20,_0x3e9e47,_0x2e870b){return _0x534c20(_0x3e9e47,_0x2e870b);},'mVMrQ':_0x4b2d1c(0x162),'KagOG':function(_0x586f19,_0x599cb0,_0x524837){return _0x586f19(_0x599cb0,_0x524837);},'xYTQs':_0x4b2d1c(0x1e9),'wxxFF':'root','JMHUu':_0x4b2d1c(0x1b5),'mRHkM':_0x4b2d1c(0x1e0),'wodhc':_0x4b2d1c(0x15d),'TBqdt':function(_0x2cf81a){return _0x2cf81a();}};await _0x4b71f7[_0x4b2d1c(0x1bc)](_0x1c5dee);!BrowserstackCLI[_0x4b2d1c(0x1e8)]()[_0x4b2d1c(0x1df)]()&&await _0x4b71f7[_0x4b2d1c(0x1c4)]();await helper[_0x4b2d1c(0x1f9)](_0x4b71f7[_0x4b2d1c(0x198)]);if(!_0x4b71f7[_0x4b2d1c(0x198)])return;process['profile']=_0x1c5dee[_0x4b2d1c(0x1ef)];_0x1c5dee[_0x4b2d1c(0x1ef)]&&(process['env'][_0x4b2d1c(0x1ef)]=_0x1c5dee[_0x4b2d1c(0x1ef)]);const _0x4723f4=_0x75fd35[_0x4b2d1c(0x181)](getUserCodeceptJSConfigs,_0x1c5dee,_0x3655d2);let _0x53d136={};_0x4723f4?(logger[_0x4b2d1c(0x189)](_0x4b2d1c(0x195)+_0x4723f4),_0x53d136=CodeceptJS[_0x4b2d1c(0x198)][_0x4b2d1c(0x1a1)](_0x4723f4)):logger[_0x4b2d1c(0x189)](_0x75fd35['lZQuG']);let _0xf66a5c=![];_0x75fd35['SfRSE'](nestedKeyValue,_0x53d136,[_0x75fd35[_0x4b2d1c(0x1d6)],_0x75fd35[_0x4b2d1c(0x1f2)]])&&(_0xf66a5c=!![]);const _0x33b72e=_0xf66a5c?_0x75fd35['xcKxN']:_0x75fd35[_0x4b2d1c(0x177)];let _0x565ca9=!_0xf66a5c?helper[_0x4b2d1c(0x17f)](_0x4b71f7[_0x4b2d1c(0x198)]):![];!helper[_0x4b2d1c(0x1b2)](_0x4b71f7[_0x4b2d1c(0x198)]['accessibilityOptions'])&&(process[_0x4b2d1c(0x1d2)][_0x4b2d1c(0x187)]=JSON[_0x4b2d1c(0x1c5)](_0x4b71f7[_0x4b2d1c(0x198)]['accessibilityOptions']));let _0x1391d4=_0x4b71f7[_0x4b2d1c(0x198)][_0x4b2d1c(0x196)];_0x1391d4=_0x1391d4||_0x75fd35[_0x4b2d1c(0x1e5)](checkAccessibilityPlatformConfig,_0x4b71f7['config']),process[_0x4b2d1c(0x1d2)][_0x4b2d1c(0x193)]=_0x1391d4;_0x1391d4&&(_0x565ca9=!_0x1391d4);_0x75fd35[_0x4b2d1c(0x183)](_0x4b71f7[_0x4b2d1c(0x198)][_0x4b2d1c(0x1a5)],null)?process[_0x4b2d1c(0x1d2)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x4b71f7[_0x4b2d1c(0x198)]['testObservability']:process[_0x4b2d1c(0x1d2)][_0x4b2d1c(0x1a3)]=_0x75fd35[_0x4b2d1c(0x168)](_0x33b72e,_0x75fd35[_0x4b2d1c(0x1f2)]);const _0x1177be=_0x75fd35[_0x4b2d1c(0x15f)](nestedKeyValue,_0x53d136,[_0x75fd35[_0x4b2d1c(0x1de)]]),_0x2ce10a=_0x1177be&&!helper['isEmpty'](_0x1177be)?FRAMEWORKS[_0x4b2d1c(0x1af)]:FRAMEWORKS[_0x4b2d1c(0x1e1)],_0x53ea1f=await TestHubHandler[_0x4b2d1c(0x18e)](_0x2ce10a,_0x4b71f7);_0x1391d4&&_0x75fd35[_0x4b2d1c(0x1db)](setAccessibilityCapabilities,_0x4b71f7[_0x4b2d1c(0x198)]);const _0x4a625c={},_0x129e59=[],_0x5f59a3=_0x4b71f7[_0x4b2d1c(0x198)][_0x4b2d1c(0x1c7)]||helper['getUserWorkerCount'](_0x1c5dee,_0x3655d2,_0x4b71f7[_0x4b2d1c(0x198)],constants[_0x4b2d1c(0x197)][_0x4b2d1c(0x1e1)])||0x1;let _0x31b81f=0x1;if(_0x75fd35['HobLd'](isBrowserstackInfra)){const _0x5e1af3=helper[_0x4b2d1c(0x1b7)](_0x4b71f7['config'],_0x565ca9,constants[_0x4b2d1c(0x197)]['CODECEPT']);_0x5e1af3[_0x4b2d1c(0x19e)](_0x3aeb9b=>{const _0x2dcd1f=_0x4b2d1c;helper[_0x2dcd1f(0x1ee)](_0x3aeb9b);}),helper[_0x4b2d1c(0x159)](_0x4b71f7[_0x4b2d1c(0x198)])?_0x31b81f=_0x75fd35[_0x4b2d1c(0x1e6)](_0x5f59a3,_0x4b71f7[_0x4b2d1c(0x198)]['platforms'][_0x4b2d1c(0x1e2)]):_0x31b81f=_0x5f59a3,_0x5e1af3[_0x4b2d1c(0x19e)](_0x52adca=>{const _0x10ce6d=_0x4b2d1c,_0x1c9594={'CXVOh':function(_0x17b24a,_0x568d60,_0x3cc3b8,_0x1cbdf1){const _0x31da2c=a2_0x9296;return _0x75fd35[_0x31da2c(0x19c)](_0x17b24a,_0x568d60,_0x3cc3b8,_0x1cbdf1);},'WIUnr':function(_0x2c11e3,_0x5c730e){const _0x2e3bcc=a2_0x9296;return _0x75fd35[_0x2e3bcc(0x1d8)](_0x2c11e3,_0x5c730e);},'ohXNG':function(_0x9a4d47,_0x599d3c){const _0x31fef1=a2_0x9296;return _0x75fd35[_0x31fef1(0x1e5)](_0x9a4d47,_0x599d3c);}},_0x43ad23=_0x75fd35['KiIuH'](helper[_0x10ce6d(0x1b3)](_0x52adca,'_'),'_'+Date['now']()),_0x2635af=((()=>{const _0xb5765a=_0x10ce6d;if(_0xf66a5c){const _0x275409=pwToCodeceptBrowser[_0x52adca['browserName']]||_0x52adca['browserName'],_0xdbb7ce=helper['getPlaywrightUrl'](_0x4b71f7[_0xb5765a(0x198)]),_0x4cb70b=Object[_0xb5765a(0x1b4)]({},_0x52adca);return _0x1c9594[_0xb5765a(0x173)](processAccessibilityCaps,_0x4cb70b,_0xdbb7ce,null),{'browser':_0x275409,[_0x275409]:{'browserWSEndpoint':_0x1c9594['WIUnr'](_0xdbb7ce,_0x1c9594[_0xb5765a(0x188)](encodeURIComponent,JSON['stringify'](_0x4cb70b)))}};}const _0x485882={};return _0x485882['desiredCapabilities']=_0x52adca,_0x485882['user']=_0x4b71f7[_0xb5765a(0x198)][_0xb5765a(0x1ae)],_0x485882[_0xb5765a(0x171)]=_0x4b71f7[_0xb5765a(0x198)][_0xb5765a(0x1c1)],_0x485882;})()),_0x5771c3=_0x75fd35['SfRSE'](nestedKeyValue,_0x53d136,[_0x75fd35[_0x10ce6d(0x1d6)],_0x33b72e]);_0x4a625c[_0x43ad23]=_0x5771c3?helper[_0x10ce6d(0x1e3)](_0x2635af,_0x5771c3):_0x2635af;if(_0xf66a5c)_0x4a625c[_0x43ad23][_0x10ce6d(0x162)]=pwToCodeceptBrowser[_0x52adca[_0x10ce6d(0x1cb)]]||_0x52adca[_0x10ce6d(0x1cb)];else{_0x4a625c[_0x43ad23]['browser']=_0x52adca['browserName']||_0x2635af[_0x10ce6d(0x162)];if(_0x75fd35[_0x10ce6d(0x1b9)](isBrowserstackInfra)){_0x4a625c[_0x43ad23][_0x10ce6d(0x165)]=constants[_0x10ce6d(0x1f3)][_0x10ce6d(0x1da)](_0x75fd35[_0x10ce6d(0x1ed)],'')[_0x10ce6d(0x1da)](/https?:\/\//,'');;_0x4a625c[_0x43ad23]['path']=_0x75fd35[_0x10ce6d(0x1ed)];}}_0x129e59[_0x10ce6d(0x1ea)](_0x43ad23);});}else{_0x31b81f=0x1;if(_0xf66a5c){const _0x5b4612=_0x75fd35[_0x4b2d1c(0x1c0)](nestedKeyValue,_0x53d136,[_0x75fd35['Xxpfa'],_0x33b72e,_0x75fd35[_0x4b2d1c(0x1b0)]]),_0x187946=_0x75fd35[_0x4b2d1c(0x1a7)](nestedKeyValue,_0x53d136,[_0x75fd35[_0x4b2d1c(0x1d6)],_0x33b72e,_0x5b4612]);if(_0x187946&&_0x187946[_0x4b2d1c(0x1d5)]){const _0x16fea8={};_0x16fea8[_0x4b2d1c(0x1a0)]=[],_0x187946[_0x4b2d1c(0x1d5)]=helper[_0x4b2d1c(0x1b7)](Object[_0x4b2d1c(0x1b4)]({},_0x4b71f7['config'],_0x16fea8),null,_0x2ce10a[_0x4b2d1c(0x1a2)](),null,null,_0x187946['browserWSEndpoint']);}}else{const _0x3135ef={};_0x3135ef[_0x4b2d1c(0x1a0)]=[],_0x53d136[_0x75fd35[_0x4b2d1c(0x1d6)]][_0x33b72e][_0x75fd35[_0x4b2d1c(0x1dc)]]=helper['prepareCapabilities'](Object[_0x4b2d1c(0x1b4)]({},_0x4b71f7[_0x4b2d1c(0x198)],_0x3135ef),null,_0x2ce10a[_0x4b2d1c(0x1a2)](),_0x75fd35['KagOG'](nestedKeyValue,_0x53d136,[_0x75fd35[_0x4b2d1c(0x1d6)],_0x33b72e,_0x75fd35[_0x4b2d1c(0x1dc)]])||{},null,null);}_0x4a625c[_0x75fd35[_0x4b2d1c(0x1fa)]]=_0x53d136,_0x129e59[_0x4b2d1c(0x1ea)](_0x75fd35[_0x4b2d1c(0x1fa)]);}const _0x4bccc0={};_0x4bccc0['testConfig']=_0x4723f4;const _0x27bc31=_0x4bccc0,_0x51e4dd=path['join'](__dirname,_0x75fd35[_0x4b2d1c(0x15a)]),_0x5dac82=process['cwd']();process['env'][_0x75fd35[_0x4b2d1c(0x1bf)]]=_0x5dac82,process[_0x4b2d1c(0x1d2)]['BROWSERSTACK_FRAMEWORK']=process['env']['BROWSERSTACK_FRAMEWORK']||_0x75fd35[_0x4b2d1c(0x179)],process[_0x4b2d1c(0x1a4)](path[_0x4b2d1c(0x164)](_0x4723f4));const _0x3acf70=new CodeceptJS[(_0x4b2d1c(0x190))](null,_0x27bc31),_0x1fad84=_0x3acf70[_0x4b2d1c(0x1d3)](_0x5f59a3),_0x1523f6=testOpsHelper[_0x4b2d1c(0x1f6)](),_0x10fa2f=_0x129e59[_0x4b2d1c(0x1d1)](_0x1e74b2=>{const _0x5c0dde=_0x4b2d1c,_0x598952={};_0x598952['Playwright']=_0x4a625c[_0x1e74b2];const _0x59d576={};_0x59d576[_0x5c0dde(0x1be)]=_0x4a625c[_0x1e74b2];const _0x4843c4=_0xf66a5c?_0x598952:_0x59d576,_0x3bbe94=_0x75fd35['Hioui'](getO11yRerunPattern),_0xeff050={};_0xeff050[_0x5c0dde(0x1ce)]=_0x4843c4;const _0x5f04e2={};_0x5f04e2['require']=_0x51e4dd,_0x5f04e2[_0x5c0dde(0x1c6)]=!![],_0x5f04e2[_0x5c0dde(0x17d)]=_0x4b71f7[_0x5c0dde(0x198)][_0x5c0dde(0x174)]['skipSessionName'],_0x5f04e2[_0x5c0dde(0x18d)]=_0x4b71f7['config'][_0x5c0dde(0x174)]['skipSessionStatus'],_0x5f04e2[_0x5c0dde(0x1a5)]=_0x1523f6,_0x5f04e2[_0x5c0dde(0x1e7)]=_0x2ce10a;const _0x4d0a99={};_0x4d0a99[_0x5c0dde(0x172)]=_0x5f04e2;const _0x3e5372={};return _0x3e5372[_0x5c0dde(0x185)]=_0x4d0a99,helper[_0x5c0dde(0x1e3)]({},_0x53d136,_0x75fd35[_0x5c0dde(0x1a9)](isBrowserstackInfra)?_0xeff050:{},_0x3bbe94?{'grep':_0x3bbe94}:{},_0x3e5372);});for(const _0x44da7d of _0x10fa2f){for(const _0x298e25 of _0x1fad84){const _0x3ef50b=_0x3acf70[_0x4b2d1c(0x16a)]();_0x3ef50b['addTests'](_0x298e25),_0x3ef50b['addConfig'](_0x44da7d);const _0x392ae8={};_0x392ae8[_0x4b2d1c(0x198)]=_0x4723f4,_0x3ef50b[_0x4b2d1c(0x1b8)](Object[_0x4b2d1c(0x1b4)](_0x392ae8,_0x1c5dee));}}_0x3acf70['on'](CodeceptJS[_0x4b2d1c(0x17e)][_0x4b2d1c(0x1aa)][_0x4b2d1c(0x16c)],(_0x4076a7,_0x481d64)=>{const _0x59a682=_0x4b2d1c;console[_0x59a682(0x16e)](_0x75fd35['IAArK'],_0x4076a7['title']);const _0x61af17={[_0x4076a7[_0x59a682(0x1e4)]]:_0x4076a7['err'][_0x59a682(0x1d9)]};_testErrorData[_0x59a682(0x1ea)](_0x61af17);}),_0x3acf70['on'](CodeceptJS[_0x4b2d1c(0x17e)][_0x4b2d1c(0x1aa)][_0x4b2d1c(0x192)],async _0x394194=>{const _0x16b5d1=_0x4b2d1c;console[_0x16b5d1(0x16e)](_0x75fd35[_0x16b5d1(0x1b1)],_0x394194['title']);}),_0x3acf70['on'](CodeceptJS['event'][_0x4b2d1c(0x1aa)][_0x4b2d1c(0x161)],async _0x5503e0=>{const _0xb71a11=_0x4b2d1c;console['log'](_0x75fd35[_0xb71a11(0x16b)],_0x5503e0[_0xb71a11(0x1e4)]);}),_0x3acf70['on'](CodeceptJS[_0x4b2d1c(0x17e)][_0x4b2d1c(0x1d7)]['result'],async()=>{const _0x42a2aa=_0x4b2d1c,_0x3c8331=_0x75fd35['JgmlV'][_0x42a2aa(0x1dd)]('|');let _0x1a8e19=0x0;while(!![]){switch(_0x3c8331[_0x1a8e19++]){case'0':_0x3acf70[_0x42a2aa(0x15b)]();continue;case'1':try{await TestHubHandler[_0x42a2aa(0x1b6)]();}catch(_0x2ba3c1){logger['debug'](_0x42a2aa(0x1f1)+util['format'](_0x2ba3c1));}continue;case'2':PerformanceTester['start'](PerformanceEvents[_0x42a2aa(0x167)]);continue;case'3':utilities['finalExecution'](_0x4b71f7);continue;case'4':_0x4b71f7[_0x42a2aa(0x1c3)]=_testErrorData;continue;case'5':testOpsHelper[_0x42a2aa(0x160)]();continue;}break;}});async function _0x9dc0b6(){const _0x1166d3=_0x4b2d1c;try{await _0x3acf70[_0x1166d3(0x15c)](),await _0x3acf70[_0x1166d3(0x186)]();}finally{process[_0x1166d3(0x1a4)](_0x5dac82),await _0x3acf70['teardownAll']();}}PerformanceTester[_0x4b2d1c(0x178)](PerformanceEvents[_0x4b2d1c(0x1ad)]),await _0x75fd35[_0x4b2d1c(0x1ca)](_0x9dc0b6);}module['exports']=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a3_0x4292(){const _0x2f9c43=['4041639qagZKg','ZWMkZ','platformName','accessibilityPlatform','fetchPlatformDetails','deviceName','1487595jdXvuF','browserstack_accessibility_automation_script','bsSessionId','NIubw','20578nZCUCZ','6YvKWUQ','parse','2970595CgaNdQ','29SfKuob','platformVersion','includes','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','kINxS','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','getBrowserDisplayName','browser','browserstack_executor','fVMeW','fhjCo','4876487VqvEVw','warn','bstack:options','\x20browser\x20version\x20','294432QQlZxK','MSVqj','../../helpers/logger','winstonLogger','osVersion','swLAZ','HDxgW','../../helpers/helper','eMdgh','platform_version','getDetails','yqZca','WrhAo','../../helpers/accessibility-automation/helper','sessionId','AkqwT','browserVersion','ptEbS','RWDKA','WebDriver','cloudProvider','name','isBrowserSupportedForAccessibility','latest','qATWX','getMinVersionForBrowser','EXEsa','constructor','browser_version','caps','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','144aRCVNQ','10sgbWiU','kPYGt','searchParams','ObnEU','../../bin/playwright/sessionDetails','\x20or\x20higher\x20','1893960FTjpJO','desiredCapabilities','isVersionSupported','shouldPatchExecuteScript','unknown_grid','os_version','nQcol','Playwright','LnQXi','__cloud_provider___','browserName','platform','OJMhb','CBfsd','LJfQQ'];a3_0x4292=function(){return _0x2f9c43;};return a3_0x4292();}const a3_0xcd18f2=a3_0x529e;function a3_0x529e(_0x47bc6f,_0x53c542){const _0x4292d7=a3_0x4292();return a3_0x529e=function(_0x529e8e,_0x3314dd){_0x529e8e=_0x529e8e-0x8c;let _0x4ea46c=_0x4292d7[_0x529e8e];return _0x4ea46c;},a3_0x529e(_0x47bc6f,_0x53c542);}(function(_0x5e9b7e,_0x327ee8){const _0xbc58f8=a3_0x529e,_0x482610=_0x5e9b7e();while(!![]){try{const _0x4f761a=parseInt(_0xbc58f8(0xd1))/0x1*(-parseInt(_0xbc58f8(0xcd))/0x2)+parseInt(_0xbc58f8(0xc9))/0x3+parseInt(_0xbc58f8(0xb4))/0x4+-parseInt(_0xbc58f8(0xd0))/0x5+parseInt(_0xbc58f8(0xce))/0x6*(parseInt(_0xbc58f8(0xc3))/0x7)+-parseInt(_0xbc58f8(0x8e))/0x8*(parseInt(_0xbc58f8(0xad))/0x9)+-parseInt(_0xbc58f8(0xae))/0xa*(-parseInt(_0xbc58f8(0xdc))/0xb);if(_0x4f761a===_0x327ee8)break;else _0x482610['push'](_0x482610['shift']());}catch(_0x489692){_0x482610['push'](_0x482610['shift']());}}}(a3_0x4292,0x7c30d));const {isUndefined,nestedKeyValue}=require(a3_0xcd18f2(0x95)),logger=require(a3_0xcd18f2(0x90))[a3_0xcd18f2(0x91)],PlaywrightSessionDetails=require(a3_0xcd18f2(0xb2)),{isAccessibilityAutomationSession}=require(a3_0xcd18f2(0x9b)),{getObservabilityLinkedProductName}=require('../../helpers/test-observability/utils'),accessibilityHelper=require(a3_0xcd18f2(0x9b)),{isBrowserstackInfra}=require(a3_0xcd18f2(0x95)),getOSVersionFromCaps=_0x4a3a21=>{const _0x433557=a3_0xcd18f2,_0x32cde3={};_0x32cde3[_0x433557(0xbc)]=_0x433557(0x8c),_0x32cde3[_0x433557(0x96)]='platformVersion',_0x32cde3[_0x433557(0x9f)]=_0x433557(0x97),_0x32cde3[_0x433557(0xc0)]=_0x433557(0x92),_0x32cde3[_0x433557(0xdb)]=_0x433557(0xb9);const _0x21bf12=_0x32cde3;if(!_0x4a3a21)return null;const _0x53637a=_0x4a3a21[_0x21bf12[_0x433557(0xbc)]],_0x3fa2e4=[_0x21bf12[_0x433557(0x96)],_0x21bf12[_0x433557(0x9f)],_0x21bf12[_0x433557(0xc0)],_0x21bf12[_0x433557(0xdb)]];for(const _0x4f904c of _0x3fa2e4){if(_0x53637a&&_0x53637a[_0x4f904c])return _0x53637a[_0x4f904c];else{if(_0x4a3a21[_0x4f904c])return _0x4a3a21[_0x4f904c];}}return null;};exports[a3_0xcd18f2(0xc7)]=_0x212e15=>{const _0x3e95e4=a3_0xcd18f2,_0x340c91={'AkqwT':_0x3e95e4(0xb8),'ObnEU':function(_0x112735,_0x12557a){return _0x112735===_0x12557a;},'ZWMkZ':_0x3e95e4(0xa1),'NIubw':function(_0x1467fa,_0x1b8bc2){return _0x1467fa(_0x1b8bc2);},'EXEsa':function(_0x597426,_0x3b375c,_0x569349){return _0x597426(_0x3b375c,_0x569349);},'HDxgW':'config','ueqnD':_0x3e95e4(0xb5),'CBfsd':_0x3e95e4(0xbb),'uJHWH':'browser','yqZca':'browserWSEndpoint','LJfQQ':_0x3e95e4(0xab)};if(!_0x212e15)return null;let _0x33ea57=global[_0x3e95e4(0xbd)]||_0x340c91[_0x3e95e4(0x9d)];if(_0x340c91['ObnEU'](_0x212e15[_0x3e95e4(0xa9)]['name'],_0x340c91[_0x3e95e4(0xc4)])){const _0x29d119=_0x212e15[_0x3e95e4(0xd8)];if(!_0x29d119)return null;const _0x217d0b=_0x29d119['capabilities'],_0x289404=_0x340c91[_0x3e95e4(0xcc)](getOSVersionFromCaps,_0x340c91[_0x3e95e4(0xa8)](nestedKeyValue,_0x212e15,[_0x340c91[_0x3e95e4(0x94)],_0x340c91['ueqnD']]));return{[_0x33ea57]:{'browser':_0x217d0b[_0x3e95e4(0xbe)],'browser_version':_0x217d0b[_0x3e95e4(0x9e)],'capabilities':_0x217d0b,'platform':_0x217d0b[_0x3e95e4(0xc5)],'platform_version':_0x217d0b[_0x3e95e4(0xd2)]||_0x289404,'product':_0x340c91['NIubw'](getObservabilityLinkedProductName,_0x217d0b),'session_id':_0x29d119[_0x3e95e4(0x9c)]}};}else{if(_0x340c91[_0x3e95e4(0xb1)](_0x212e15[_0x3e95e4(0xa9)][_0x3e95e4(0xa3)],_0x340c91[_0x3e95e4(0xc1)])){const _0x42c873=PlaywrightSessionDetails[_0x3e95e4(0x98)]();_0x33ea57=_0x42c873[_0x3e95e4(0xa2)]||_0x33ea57;const _0x443b94=_0x340c91[_0x3e95e4(0xa8)](nestedKeyValue,_0x212e15,[_0x340c91[_0x3e95e4(0x94)],_0x340c91['uJHWH'],_0x340c91[_0x3e95e4(0x99)]]),_0x4fd35f=_0x443b94?JSON[_0x3e95e4(0xcf)](new URL(_0x443b94)[_0x3e95e4(0xb0)]['get'](_0x340c91[_0x3e95e4(0xc2)])):{};return{[_0x33ea57]:{'browser':_0x42c873[_0x3e95e4(0xd8)]||_0x4fd35f[_0x3e95e4(0xbe)],'browser_version':_0x42c873[_0x3e95e4(0xaa)]||_0x4fd35f[_0x3e95e4(0xaa)],'capabilities':_0x4fd35f,'platform':_0x42c873[_0x3e95e4(0xbf)],'platform_version':_0x42c873[_0x3e95e4(0x97)],'product':_0x340c91[_0x3e95e4(0xcc)](getObservabilityLinkedProductName,_0x4fd35f),'session_id':_0x42c873[_0x3e95e4(0xcb)]}};}}},exports['processWebDriverConfig']=_0x2154ed=>{const _0x397cbe=a3_0xcd18f2,_0x5c1906={'kPYGt':function(_0x186a47){return _0x186a47();},'swLAZ':_0x397cbe(0xac),'nQcol':function(_0x34cc2e,_0x31d21e){return _0x34cc2e!==_0x31d21e;},'MSVqj':_0x397cbe(0xa5),'fVMeW':'on\x20non-BrowserStack\x20infrastructure\x20','THxfI':function(_0x4f2cbc,_0x5ab469){return _0x4f2cbc(_0x5ab469);},'CzWff':_0x397cbe(0xd4)};if(_0x5c1906[_0x397cbe(0xaf)](isAccessibilityAutomationSession)){const _0x2d6912=_0x2154ed[_0x397cbe(0xd8)],_0xbe5635=_0x2d6912['capabilities'];global[_0x397cbe(0xc6)]=!![];!accessibilityHelper[_0x397cbe(0xa4)](_0xbe5635['browserName'])&&(logger[_0x397cbe(0xdd)](_0x5c1906[_0x397cbe(0x93)]),global[_0x397cbe(0xc6)]=![]);if(_0x5c1906[_0x397cbe(0xba)](_0xbe5635['browserVersion'],_0x5c1906[_0x397cbe(0x8f)])){const _0x5a8acf=_0x5c1906[_0x397cbe(0xaf)](isBrowserstackInfra),_0x174fd2=accessibilityHelper[_0x397cbe(0xa7)](_0xbe5635[_0x397cbe(0xbe)],_0x5a8acf),_0x29dc20=accessibilityHelper[_0x397cbe(0xd7)](_0xbe5635['browserName']);if(!accessibilityHelper[_0x397cbe(0xb6)](_0xbe5635[_0x397cbe(0x9e)],_0x174fd2)){const _0x38fcbc=_0x5a8acf?'':_0x5c1906[_0x397cbe(0xda)];logger[_0x397cbe(0xdd)](_0x397cbe(0xd6)+_0x29dc20+_0x397cbe(0x8d)+_0x174fd2+_0x397cbe(0xb3)+_0x38fcbc+'.'),global[_0x397cbe(0xc6)]=![];}}!_0x5c1906['THxfI'](isUndefined,_0xbe5635[_0x397cbe(0xc8)])&&(logger[_0x397cbe(0xdd)](_0x5c1906['CzWff']),global[_0x397cbe(0xc6)]=![]);}},exports[a3_0xcd18f2(0xb7)]=_0x359617=>{const _0x38e97c=a3_0xcd18f2,_0x29c7a2={};_0x29c7a2[_0x38e97c(0xa0)]=function(_0x24eb8d,_0x54f88c){return _0x24eb8d!==_0x54f88c;},_0x29c7a2[_0x38e97c(0xa6)]='string',_0x29c7a2[_0x38e97c(0xd5)]=_0x38e97c(0xd9),_0x29c7a2[_0x38e97c(0x9a)]=_0x38e97c(0xca);const _0x17c9d8=_0x29c7a2;if(!_0x359617)return![];else{if(_0x17c9d8['RWDKA'](typeof _0x359617,_0x17c9d8['qATWX']))return!![];}return!_0x359617[_0x38e97c(0xd3)](_0x17c9d8[_0x38e97c(0xd5)])&&!_0x359617[_0x38e97c(0xd3)](_0x17c9d8[_0x38e97c(0x9a)]);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a4_0xe9e96a=a4_0x489b;function a4_0x4de7(){const _0x5d4a2e=['BEThf','TEST_RUN_FINISHED','../../helpers/helper','body','getHierarchy','wsEndpoint','tEsjh','testAnalyticsId','GeoCr','defineProperty','pendingHookEvents','HdQwv','labcO','TEST_EVENTS','../../helpers/test-observability/utils','../../helpers/testhub/utils.js','test_run_uuid','finished_at','includes','dirname','replace','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','__platformCaps','4whhBCG','soLKc','Zsphh','markedStatus','connectOverCDP','VzxsQ','expanded','uploadEventData','hook_type','iVQxx','getFailureType','started','frameworkName','RbIOQ','iVXQh','PathHelper','obsBrowserTypeMockApplied','currentTest','resetSkipTestHooks','path','1457379IurWKV','3514QJRwNy','retryOf','result','File\x20path\x20could\x20not\x20be\x20found','_paths','getHookType','find','MFthU','title','QIWVT','startedAt','1187367EXDhol','parent','TijGM','\x20with\x20error\x20:\x20','file_name','WpYXa','feature','1803785GtxEsM','tags','MfqkP','CNSNM','nRGyl','enabled','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','418310noWLSY','gNyUK','HookRunStarted','AZNKN','winstonLogger','XXJVD','cBLgR','KRsKC','Ksfta','stepAnalyticsId','JJYTX','Advbu','fwlyM','suites','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','length','Not\x20able\x20to\x20import\x20Browser','eventType','shutdown','TEST_RUN_SKIPPED','codeceptjs','TXBzV','split','InlTn','bufferPendingHookEvent','../mocha/test-observability/mochaUtils','../utils/constants','cnQFh','event_type','statSync','then','passed','accessibilityPlatform','TestRunStarted','.git','PqJHj','success','txzCd','nPQEh','FQYTI','sHzed','kElHn','GScJF','rHHYp','pPIFc','setupBrowserDetails','oJuFj','XFIgD','test_run','match','toISOString','finished','IxsqW','9357854DapUZp','status','toString','javascript','sendCBTInfo','errorsDetailed','wSoAi','browserstack','4|3|1|0|2|5','type','13866bDHaZc','failure_reason_expanded','debug','../playwright/sessionDetails','launch','vblUz','location_prefix','getCBTInfo','util','_afterAll','flushPendingHookEvents','nnsbV','appendTestItemLog','mapTestHooks','../../helpers/logger','36knknAc','stop','cwd','Playwright','text','wLAYZ','RJxPu','getHooksForTest','TestRunFinished','err','NTsXM','start','fullTitle','pending','join','Xuclh','uKMJS','getRootParentFile','format','concat','TEST_REPORTING_ANALYTICS','siMzo','TestRunSkipped','40ozftNV','FdXoR','RgWDC','uuid','keys','removeAllListeners','RxOVZ','hasLiveDriverSession','OWyxm','ctx','duration','KrgPd','XJUYX','HOOK_RUN_FINISHED','hARiy','bthwb','meta','_testEnv','apply','failureData','now','YlvIe','vutDc','73838kNBxDQ','whfUC','bddSteps','connect','uploadData','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','fireEvent','exports','bddStepFinish','comment','hook_run','../../helpers/test-observability/constants','zmvIk','STATE_PASSED','GYpQK','_beforeEach','__cloud_provider___','initializeBddStep','O11yHelper','./helper.js','dwgzz','driver','stringify','sep','STATE_FAILED','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','BROWSERSTACK','string','failed\x20to\x20get\x20root\x20parent\x20file\x20','HookRunFinished','PgSwP','lDvpO','FawYN','failure','vVONs','CSGdl','toLowerCase','test','AxGBT','failed','getTime','currentHook','RsFKJ','_beforeAll','hookAnalyticsId','file','_afterEach','backtrace','push','MdNKs','forEach','uBlhB','vkGvI','constructor','skipped','21oMpUbv','bddStepStart','captureEvent','integrations','bs:addLog:','hook_run_uuid','name','relative','Failed\x20to\x20parse\x20wsendpoint\x20','hook','NofqA','hooks','groups'];a4_0x4de7=function(){return _0x5d4a2e;};return a4_0x4de7();}(function(_0x10c210,_0x58a6f7){const _0x2398c8=a4_0x489b,_0x2f61f6=_0x10c210();while(!![]){try{const _0x1ea757=parseInt(_0x2398c8(0x228))/0x1+-parseInt(_0x2398c8(0x1ad))/0x2*(parseInt(_0x2398c8(0x1e4))/0x3)+parseInt(_0x2398c8(0x208))/0x4*(parseInt(_0x2398c8(0x22f))/0x5)+parseInt(_0x2398c8(0x170))/0x6*(parseInt(_0x2398c8(0x21d))/0x7)+-parseInt(_0x2398c8(0x196))/0x8*(-parseInt(_0x2398c8(0x21c))/0x9)+parseInt(_0x2398c8(0x236))/0xa+parseInt(_0x2398c8(0x166))/0xb*(-parseInt(_0x2398c8(0x17f))/0xc);if(_0x1ea757===_0x58a6f7)break;else _0x2f61f6['push'](_0x2f61f6['shift']());}catch(_0x49eba4){_0x2f61f6['push'](_0x2f61f6['shift']());}}}(a4_0x4de7,0xb6e65));const path=require(a4_0xe9e96a(0x21b)),util=require(a4_0xe9e96a(0x178)),fs=require('fs'),{v4:uuidv4}=require(a4_0xe9e96a(0x199)),{resolveBrowserTypeClass,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0xe9e96a(0x1f3)),testOpsHelper=require(a4_0xe9e96a(0x1ff)),{getTestEnv}=require(a4_0xe9e96a(0x24f)),{FRAMEWORKS}=require(a4_0xe9e96a(0x1b8)),logger=require(a4_0xe9e96a(0x17e))[a4_0xe9e96a(0x23a)],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),PlaywrightSessionDetails=require(a4_0xe9e96a(0x173)),debug=testOpsHelper['debug'],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require(a4_0xe9e96a(0x250)),{fetchPlatformDetails}=require(a4_0xe9e96a(0x1c0)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0xe9e96a(0x200)),constants=require(a4_0xe9e96a(0x250)),STATE_PASSED=a4_0xe9e96a(0x255),STATE_FAILED=a4_0xe9e96a(0x1d4),a4_0x1a0c24={};a4_0x1a0c24['TEST_RUN_STARTED']=a4_0xe9e96a(0x257),a4_0x1a0c24[a4_0xe9e96a(0x1f2)]=a4_0xe9e96a(0x187),a4_0x1a0c24[a4_0xe9e96a(0x249)]=a4_0xe9e96a(0x195),a4_0x1a0c24['HOOK_RUN_STARTED']=a4_0xe9e96a(0x238),a4_0x1a0c24[a4_0xe9e96a(0x1a3)]=a4_0xe9e96a(0x1ca);const TEST_EVENTS=a4_0x1a0c24,parseEvent=_0x54ccdb=>{const _0x418001=a4_0xe9e96a,_0x121def={};_0x121def[_0x418001(0x226)]=function(_0x4e806a,_0x1cafa5){return _0x4e806a<_0x1cafa5;},_0x121def[_0x418001(0x15f)]=function(_0x1e8942,_0xc23946){return _0x1e8942===_0xc23946;},_0x121def[_0x418001(0x157)]='test',_0x121def[_0x418001(0x1a5)]=_0x418001(0x1ed),_0x121def[_0x418001(0x1ac)]=function(_0x38e54d,_0x93c34b){return _0x38e54d===_0x93c34b;},_0x121def[_0x418001(0x240)]='skipped',_0x121def[_0x418001(0x1cb)]=_0x418001(0x213),_0x121def['dwgzz']=function(_0x187298,_0x4941f8){return _0x187298===_0x4941f8;},_0x121def[_0x418001(0x1a1)]=_0x418001(0x164);const _0xa389b1=_0x121def,_0x50d822=_0x54ccdb[_0x418001(0x162)](/^(.*)Run(.*)$/);if(!_0x50d822)return null;if(_0xa389b1[_0x418001(0x226)](_0x50d822[_0x418001(0x245)],0x3))return null;const _0x2bf599=_0x50d822[0x1][_0x418001(0x1d1)](),_0x3b84cd=_0x50d822[0x2][_0x418001(0x1d1)]();return{'test':_0xa389b1[_0x418001(0x15f)](_0x2bf599,_0xa389b1[_0x418001(0x157)]),'hook':_0xa389b1[_0x418001(0x15f)](_0x2bf599,_0xa389b1['bthwb']),'skipped':_0xa389b1['vutDc'](_0x3b84cd,_0xa389b1[_0x418001(0x240)]),'started':_0xa389b1[_0x418001(0x15f)](_0x3b84cd,_0xa389b1[_0x418001(0x1cb)]),'finished':_0xa389b1[_0x418001(0x1c1)](_0x3b84cd,_0xa389b1['KrgPd'])};},mockPWBrowserType=_0x2c3ab0=>{const _0x15ad2e=a4_0xe9e96a,_0x54e2b9={'vkGvI':function(_0x14db7b,_0x47777b){return _0x14db7b===_0x47777b;},'uKMJS':_0x15ad2e(0x1c8),'siMzo':function(_0x556cde,_0x377cff,_0xa992c7){return _0x556cde(_0x377cff,_0xa992c7);},'nnsbV':'wsEndpoint','RbIOQ':function(_0x239a97,_0x54c686){return _0x239a97(_0x54c686);},'XFIgD':_0x15ad2e(0x16d),'wLAYZ':function(_0x58a508,_0x5d42e3){return _0x58a508(_0x5d42e3);},'RgWDC':function(_0x5eda0a){return _0x5eda0a();},'RxOVZ':_0x15ad2e(0x246),'Xuclh':'connect','MpgZF':_0x15ad2e(0x174)},_0x537f35=_0x54e2b9[_0x15ad2e(0x198)](resolveBrowserTypeClass);if(!_0x537f35){_0x54e2b9['RbIOQ'](debug,_0x54e2b9[_0x15ad2e(0x19c)]);return;}const _0x2260fe=_0x537f35['prototype'];if(_0x2260fe[_0x15ad2e(0x218)])return;const _0x516a75=_0x2260fe[_0x15ad2e(0x1b0)];Object[_0x15ad2e(0x1fa)](_0x2260fe,_0x54e2b9[_0x15ad2e(0x18e)],{'get':function(){return async function _0x311dbf(_0x2dd291,_0x5bd0c2){const _0xc11b34=a4_0x489b,_0x50f7f8={'CNSNM':function(_0x4fa11f,_0xe730b2){const _0x2097f6=a4_0x489b;return _0x54e2b9[_0x2097f6(0x1e1)](_0x4fa11f,_0xe730b2);},'AZNKN':_0x54e2b9[_0xc11b34(0x18f)]},_0x5560e3=_0x54e2b9[_0xc11b34(0x194)](nestedKeyValue,_0x2dd291,[_0x54e2b9[_0xc11b34(0x17b)]])||_0x2dd291;let _0x3588f2=null,_0xeb717c=null;try{[_0xeb717c,_0x3588f2]=_0x5560e3?_0x54e2b9[_0xc11b34(0x215)](parseWSEndpoint,_0x5560e3):[null,null],global[_0xc11b34(0x207)]=_0x3588f2,logger[_0xc11b34(0x172)](_0xc11b34(0x1b2)+_0xeb717c),_0xeb717c[_0xc11b34(0x203)](Constants[_0xc11b34(0x1c7)])&&(global[_0xc11b34(0x1bd)]=_0x54e2b9[_0xc11b34(0x160)]);}catch(_0x1e098b){logger[_0xc11b34(0x172)](_0xc11b34(0x1ec)+_0x5560e3+'\x20'+_0x1e098b);}_0x54e2b9[_0xc11b34(0x194)](processAccessibilityCaps,_0x3588f2,_0xeb717c);if(global[_0xc11b34(0x256)]){const _0x5527a8=await _0x2260fe[_0xc11b34(0x20c)][_0xc11b34(0x1a8)](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0x54e2b9[_0xc11b34(0x184)](encodeURIComponent,JSON[_0xc11b34(0x1c3)](_0x3588f2))]);return PlaywrightSessionDetails['setupBrowserDetails'](_0x5527a8,_0x2c3ab0,_0x5560e3),_0x5527a8;}return _0x516a75[_0xc11b34(0x1a8)](this,arguments)[_0xc11b34(0x254)](_0x3dd83f=>{const _0x49d9cc=_0xc11b34;let _0xa070dc=_0x2dd291[_0x49d9cc(0x1f6)];return _0x50f7f8[_0x49d9cc(0x232)](typeof _0x2dd291,_0x50f7f8[_0x49d9cc(0x239)])&&(_0xa070dc=_0x2dd291),PlaywrightSessionDetails[_0x49d9cc(0x15e)](_0x3dd83f,_0x2c3ab0,_0xa070dc),_0x3dd83f;});};}});const _0x3b6d5d=_0x2260fe[_0x15ad2e(0x174)];Object[_0x15ad2e(0x1fa)](_0x2260fe,_0x54e2b9['MpgZF'],{'get':function(){return async function _0x2eff3e(){const _0x53c1a7=a4_0x489b;return _0x3b6d5d['apply'](this,arguments)[_0x53c1a7(0x254)](_0x1f9b65=>{const _0x45c97a=_0x53c1a7;return PlaywrightSessionDetails[_0x45c97a(0x15e)](_0x1f9b65,null),_0x1f9b65;});};}});};class O11yHelper{['currentTest']=null;['currentHook']=null;[a4_0xe9e96a(0x234)]=![];['frameworkName']=![];[a4_0xe9e96a(0x1fb)]=[];constructor(_0x169323,_0x61bf51){const _0x342894=a4_0xe9e96a,_0x38295f={'wSoAi':_0x342894(0x16e),'IxsqW':function(_0x3a0f35){return _0x3a0f35();},'soLKc':function(_0x48f9bc){return _0x48f9bc();},'VECqc':function(_0x5dafae,_0x31b7ba){return _0x5dafae===_0x31b7ba;},'sHzed':_0x342894(0x182),'RsFKJ':function(_0xb05c7f,_0x3311df){return _0xb05c7f(_0x3311df);}},_0x175ef7=_0x38295f[_0x342894(0x16c)][_0x342894(0x24c)]('|');let _0x12053e=0x0;while(!![]){switch(_0x175ef7[_0x12053e++]){case'0':this['_testEnv']=_0x38295f[_0x342894(0x165)](getTestEnv);continue;case'1':this[_0x342894(0x1c2)]=_0x169323;continue;case'2':this[_0x342894(0x221)]=new testOpsHelper[(_0x342894(0x217))]({'cwd':process[_0x342894(0x181)]()},this[_0x342894(0x1a7)][_0x342894(0x176)]);continue;case'3':this[_0x342894(0x214)]=_0x61bf51[_0x342894(0x214)];continue;case'4':this[_0x342894(0x234)]=_0x38295f[_0x342894(0x209)](shouldProcessEventForTesthub);continue;case'5':this[_0x342894(0x1c2)]&&_0x38295f['VECqc'](this[_0x342894(0x1c2)][_0x342894(0x1e2)]['name'],_0x38295f[_0x342894(0x159)])&&_0x38295f[_0x342894(0x1d7)](mockPWBrowserType,null);continue;}break;}}[a4_0xe9e96a(0x19d)](){const _0x46db50=a4_0xe9e96a,_0x204456={'RswuH':function(_0x5e7756,_0x1b8d67){return _0x5e7756(_0x1b8d67);}};if(!this['driver'])return![];try{const _0x3b8ce5=_0x204456['RswuH'](fetchPlatformDetails,this[_0x46db50(0x1c2)]);if(!_0x3b8ce5)return![];const _0x39f845=Object[_0x46db50(0x19a)](_0x3b8ce5)[0x0];return!!(_0x39f845&&_0x3b8ce5[_0x39f845]&&_0x3b8ce5[_0x39f845]['session_id']);}catch(_0xec1ec1){return![];}}[a4_0xe9e96a(0x24e)](_0x2d48d6,_0x5bd342){const _0x4cbdfe=a4_0xe9e96a;if(!_0x5bd342)return;const _0x1970fc={};_0x1970fc[_0x4cbdfe(0x247)]=_0x2d48d6,_0x1970fc[_0x4cbdfe(0x1b1)]=_0x5bd342,this[_0x4cbdfe(0x1fb)][_0x4cbdfe(0x1dd)](_0x1970fc);}async[a4_0xe9e96a(0x17a)](){const _0x389b9e=a4_0xe9e96a,_0x2022e4={};_0x2022e4[_0x389b9e(0x242)]=function(_0x4658dc,_0x1589ad){return _0x4658dc&&_0x1589ad;};const _0x12432b=_0x2022e4;if(!this['pendingHookEvents'][_0x389b9e(0x245)])return;if(!this['hasLiveDriverSession']())return;const _0x1d4be1=this[_0x389b9e(0x177)](this[_0x389b9e(0x1c2)]),_0x2371ad=this['pendingHookEvents']['splice'](0x0,this[_0x389b9e(0x1fb)][_0x389b9e(0x245)]);for(const {eventType:_0x3ffa27,uploadData:_0x26850f}of _0x2371ad){try{const _0x550b11=_0x26850f[_0x389b9e(0x1b7)]||_0x26850f[_0x389b9e(0x161)];_0x12432b[_0x389b9e(0x242)](_0x550b11,_0x1d4be1)&&(_0x550b11[_0x389b9e(0x1e7)]=_0x1d4be1),await this[_0x389b9e(0x1b3)](_0x3ffa27,_0x26850f);}catch(_0x429f07){logger[_0x389b9e(0x172)]('Failed\x20to\x20flush\x20pending\x20hook\x20event\x20'+_0x3ffa27+':\x20'+util[_0x389b9e(0x191)](_0x429f07));}}}[a4_0xe9e96a(0x18a)](){const _0xde495d=a4_0xe9e96a;if(!this[_0xde495d(0x234)])return;testOpsHelper['patchConsoleLogger'](),process[_0xde495d(0x19b)]('bs:addLog:'+process['pid']),process['on'](_0xde495d(0x1e8)+process['pid'],this[_0xde495d(0x17c)]['bind'](this));}async[a4_0xe9e96a(0x180)](){const _0x18969c=a4_0xe9e96a;await RequestQueueHandler['getInstance']()[_0x18969c(0x248)]();}async[a4_0xe9e96a(0x17c)](_0x3fcd27){const _0x346b9e=a4_0xe9e96a,_0x28367c={'Advbu':'LogCreated','uBlhB':function(_0x46537f,_0x4ff590){return _0x46537f(_0x4ff590);}};try{this['currentHook']&&!this[_0x346b9e(0x1d6)][_0x346b9e(0x20b)]&&(_0x3fcd27[_0x346b9e(0x1e9)]=this[_0x346b9e(0x1d6)][_0x346b9e(0x1d9)]);!_0x3fcd27['hook_run_uuid']&&this['currentTest']&&!this[_0x346b9e(0x219)][_0x346b9e(0x20b)]&&(_0x3fcd27[_0x346b9e(0x201)]=this[_0x346b9e(0x219)]['testAnalyticsId']);if(_0x3fcd27[_0x346b9e(0x1e9)]||_0x3fcd27[_0x346b9e(0x201)]){const _0x1bd1f7={};_0x1bd1f7[_0x346b9e(0x252)]=_0x28367c[_0x346b9e(0x241)],_0x1bd1f7['logs']=[_0x3fcd27],await SessionHandler[_0x346b9e(0x20f)](_0x1bd1f7);}}catch(_0x31d3f6){_0x28367c[_0x346b9e(0x1e0)](debug,_0x346b9e(0x235)+constants[_0x346b9e(0x193)]+'\x20with\x20error\x20:\x20'+_0x31d3f6);}}async[a4_0xe9e96a(0x16a)](_0x4ab326){const _0x2c4013=a4_0xe9e96a,_0x187e12={'YlvIe':'CBTSessionCreated','Zsphh':function(_0x4d69ec,_0x21ebad){return _0x4d69ec(_0x21ebad);}};if(!this['enabled'])return;const _0x47d38c=this[_0x2c4013(0x177)](this['driver']);try{const _0x3eff20={};_0x3eff20[_0x2c4013(0x199)]=_0x4ab326,_0x3eff20[_0x2c4013(0x1e7)]=_0x47d38c;const _0x3b5ec4=_0x3eff20,_0x53f367={};_0x53f367['event_type']=_0x187e12[_0x2c4013(0x1ab)],_0x53f367['test_run']=_0x3b5ec4,await SessionHandler[_0x2c4013(0x20f)](_0x53f367);}catch(_0x2eaf77){_0x187e12[_0x2c4013(0x20a)](debug,_0x2c4013(0x1c6)+constants[_0x2c4013(0x193)]+_0x2c4013(0x22b)+_0x2eaf77);}}[a4_0xe9e96a(0x177)](_0x202708){const _0x45396e={'YbKdc':function(_0x1ffb33,_0x5cd638){return _0x1ffb33(_0x5cd638);}};return _0x45396e['YbKdc'](fetchPlatformDetails,_0x202708);}[a4_0xe9e96a(0x21a)]=_0x52f4fa=>{const _0x59ade9=a4_0xe9e96a,_0x3852f7={};_0x3852f7[_0x59ade9(0x216)]='_beforeEach',_0x3852f7['cnQFh']=_0x59ade9(0x1db);const _0x5b4981=_0x3852f7;if(!_0x52f4fa||!_0x52f4fa[_0x59ade9(0x229)])return;[_0x5b4981[_0x59ade9(0x216)],_0x5b4981[_0x59ade9(0x251)]]['forEach'](_0x448d36=>{const _0x3d90cd=_0x59ade9,_0x306dde=_0x52f4fa[_0x3d90cd(0x229)][_0x448d36];_0x306dde[_0x3d90cd(0x1df)](_0x777a8a=>{const _0x51a8f7=_0x3d90cd;_0x777a8a[_0x51a8f7(0x1d9)]&&(_0x777a8a[_0x51a8f7(0x1d9)]=null);});});};['mapTestHooks'](_0x150678){const _0x285d5b=a4_0xe9e96a,_0x3d89f6={'TijGM':_0x285d5b(0x24a),'uHNbO':function(_0x1700dd){return _0x1700dd();},'yCSuT':function(_0x3064ee,_0x102a5f){return _0x3064ee===_0x102a5f;},'PRpjR':_0x285d5b(0x1db),'NofqA':function(_0x1e36f4){return _0x1e36f4();},'iVQxx':_0x285d5b(0x1d8),'labcO':_0x285d5b(0x179),'MFthU':_0x285d5b(0x1bc)};if(!_0x150678||!_0x150678['parent'])return;[_0x3d89f6[_0x285d5b(0x211)],_0x3d89f6[_0x285d5b(0x1fd)],_0x3d89f6[_0x285d5b(0x224)],_0x3d89f6['PRpjR']][_0x285d5b(0x1df)](_0x377d02=>{const _0x283a4a=_0x285d5b,_0x2da562={'WXZLL':_0x3d89f6[_0x283a4a(0x22a)],'PqJHj':function(_0x14b398){return _0x3d89f6['uHNbO'](_0x14b398);},'WpYXa':function(_0x4b92dc,_0x2eaac4){return _0x3d89f6['yCSuT'](_0x4b92dc,_0x2eaac4);},'XXJVD':_0x3d89f6['PRpjR'],'Ksfta':function(_0x3ff0c6){const _0x5a23d8=_0x283a4a;return _0x3d89f6[_0x5a23d8(0x1ee)](_0x3ff0c6);}},_0x437c12=_0x150678['parent'][_0x377d02]||[];_0x437c12[_0x283a4a(0x1df)](_0x3ac461=>{const _0x3e61f5=_0x283a4a;if(_0x3ac461[_0x3e61f5(0x225)][_0x3e61f5(0x203)](_0x2da562['WXZLL']))return;if(!_0x3ac461[_0x3e61f5(0x1d9)])_0x3ac461[_0x3e61f5(0x1d9)]=_0x2da562[_0x3e61f5(0x259)](uuidv4);else _0x3ac461[_0x3e61f5(0x20b)]&&_0x2da562[_0x3e61f5(0x22d)](_0x377d02,_0x2da562[_0x3e61f5(0x23b)])&&(_0x3ac461['hookAnalyticsId']=_0x2da562[_0x3e61f5(0x23e)](uuidv4),delete _0x3ac461['markedStatus']);});}),this[_0x285d5b(0x17d)](_0x150678[_0x285d5b(0x229)]);}[a4_0xe9e96a(0x186)](_0x33065d){const _0x47c5b4=a4_0xe9e96a,_0x4ec1a7={};_0x4ec1a7[_0x47c5b4(0x189)]='_beforeAll',_0x4ec1a7[_0x47c5b4(0x231)]='_afterAll',_0x4ec1a7[_0x47c5b4(0x1b9)]=_0x47c5b4(0x1bc),_0x4ec1a7['whfUC']=_0x47c5b4(0x1db);const _0x489230=_0x4ec1a7;if(!_0x33065d||!_0x33065d[_0x47c5b4(0x229)])return[];const _0x35ef14=[];return[_0x489230[_0x47c5b4(0x189)],_0x489230[_0x47c5b4(0x231)],_0x489230[_0x47c5b4(0x1b9)],_0x489230[_0x47c5b4(0x1ae)]][_0x47c5b4(0x1df)](_0xa311d6=>{const _0x2fdb77=_0x47c5b4,_0x33f9cf=_0x33065d[_0x2fdb77(0x229)][_0xa311d6]||[];_0x33f9cf['forEach'](_0xa7cfe5=>{const _0x3a77c2=_0x2fdb77;_0xa7cfe5[_0x3a77c2(0x1d9)]&&_0x35ef14[_0x3a77c2(0x1dd)](_0xa7cfe5[_0x3a77c2(0x1d9)]);});}),[][_0x47c5b4(0x192)](_0x35ef14,this['getHooksForTest'](_0x33065d[_0x47c5b4(0x229)]));}[a4_0xe9e96a(0x222)](_0x25d786){const _0x238c72=a4_0xe9e96a,_0x589ab0=/^"(?<hook>.*)" hook:.*$/,_0x26163b=_0x25d786[_0x238c72(0x225)],_0x20c1bc=_0x26163b['match'](_0x589ab0);if(_0x20c1bc&&_0x20c1bc[_0x238c72(0x1f0)])return _0x20c1bc['groups'][_0x238c72(0x1ed)]['toUpperCase']()[_0x238c72(0x205)]('\x20','_');return null;}['findGitConfig'](_0x30431c){const _0x8feef9=a4_0xe9e96a,_0x432851={};_0x432851[_0x8feef9(0x1a2)]=function(_0x17cca6,_0x5e9128){return _0x17cca6===_0x5e9128;},_0x432851[_0x8feef9(0x15d)]=function(_0x2f0271,_0x5dd54e){return _0x2f0271===_0x5dd54e;},_0x432851[_0x8feef9(0x175)]=function(_0x5cd9ff,_0x5075d4){return _0x5cd9ff===_0x5075d4;},_0x432851['RJxPu']=_0x8feef9(0x258);const _0x4eea8a=_0x432851,_0x1aa69f=path[_0x8feef9(0x1c4)];if(_0x4eea8a[_0x8feef9(0x1a2)](_0x30431c,null)||_0x4eea8a['pPIFc'](_0x30431c,'')||_0x4eea8a['XJUYX'](_0x30431c,_0x1aa69f)||_0x4eea8a[_0x8feef9(0x175)](_0x30431c,path[_0x8feef9(0x204)](_0x30431c)))return null;try{return fs[_0x8feef9(0x253)](path[_0x8feef9(0x18d)](_0x30431c,_0x4eea8a[_0x8feef9(0x185)])),_0x30431c;}catch(_0x3a8903){const _0x3d9c2a=path['dirname'](_0x30431c);return this['findGitConfig'](_0x3d9c2a);}}[a4_0xe9e96a(0x190)](_0x51c4f6){const _0x5c6f40=a4_0xe9e96a,_0xcc1acc={};_0xcc1acc['LRTmr']=function(_0x357f8d,_0x272341){return _0x357f8d>_0x272341;};const _0x37c543=_0xcc1acc;if(_0x51c4f6[_0x5c6f40(0x1da)])return _0x51c4f6[_0x5c6f40(0x1da)];if(_0x51c4f6[_0x5c6f40(0x19f)]){const _0x505836=_0x51c4f6[_0x5c6f40(0x19f)][_0x5c6f40(0x219)]?this[_0x5c6f40(0x190)](_0x51c4f6[_0x5c6f40(0x19f)]['currentTest']):null;if(_0x505836)return _0x505836;}if(_0x51c4f6[_0x5c6f40(0x229)]){const _0x422a4c=this[_0x5c6f40(0x190)](_0x51c4f6[_0x5c6f40(0x229)])||(_0x51c4f6[_0x5c6f40(0x229)][_0x5c6f40(0x19f)]&&_0x51c4f6[_0x5c6f40(0x229)][_0x5c6f40(0x19f)][_0x5c6f40(0x219)]?this['getRootParentFile'](_0x51c4f6[_0x5c6f40(0x229)][_0x5c6f40(0x19f)][_0x5c6f40(0x219)]):null);if(_0x422a4c)return _0x422a4c;_0x51c4f6['parent'][_0x5c6f40(0x243)]&&_0x37c543['LRTmr'](_0x51c4f6['parent'][_0x5c6f40(0x243)][_0x5c6f40(0x245)],0x0)&&_0x51c4f6[_0x5c6f40(0x229)][_0x5c6f40(0x243)][_0x5c6f40(0x1df)](_0x45d416=>{const _0x43c35d=_0x5c6f40,_0x56aa9b=_0x45d416[_0x43c35d(0x19f)]?this['getRootParentFile'](_0x45d416[_0x43c35d(0x19f)]):null;if(_0x56aa9b)return _0x56aa9b;});}return null;}[a4_0xe9e96a(0x1f5)](_0x3aa058){const _0x148457=a4_0xe9e96a,_0x132584={};_0x132584['HVCjc']=function(_0x1a41fa,_0xdc09ad){return _0x1a41fa!==_0xdc09ad;};const _0x296af8=_0x132584,_0x12d452=[];if(_0x3aa058&&_0x3aa058[_0x148457(0x229)]){let _0x4fdd32=_0x3aa058[_0x148457(0x229)];while(_0x4fdd32&&_0x296af8['HVCjc'](_0x4fdd32[_0x148457(0x225)],'')){_0x12d452[_0x148457(0x1dd)](_0x4fdd32['title']),_0x4fdd32=_0x4fdd32[_0x148457(0x229)];}}return _0x12d452;}[a4_0xe9e96a(0x1e6)](_0x58e435,_0x35f748,_0x3d62f8=undefined){const _0x28d25f=a4_0xe9e96a,_0x5a1164={'nRGyl':function(_0x4a09b6,_0x5eabe3){return _0x4a09b6(_0x5eabe3);},'jEiba':function(_0x329a7e){return _0x329a7e();},'HdQwv':function(_0x2b91d3){return _0x2b91d3();},'MdNKs':function(_0x347c11){return _0x347c11();},'kElHn':_0x28d25f(0x188),'vVONs':function(_0x1c19b8,_0x1af14d){return _0x1c19b8!==_0x1af14d;},'nAUhV':function(_0x16b2f2,_0x551a49){return _0x16b2f2!==_0x551a49;},'Vkstp':_0x28d25f(0x220),'lDvpO':_0x28d25f(0x18c),'BEThf':'failed','VzxsQ':_0x28d25f(0x255),'UUKdz':_0x28d25f(0x1e3),'gNyUK':_0x28d25f(0x169),'CSGdl':function(_0x2b76ec,_0x55a945){return _0x2b76ec-_0x55a945;},'rHHYp':function(_0x3c5fc4,_0x5da1e6,_0xd569f1,_0x3fbdfe,_0x25c7eb){return _0x3c5fc4(_0x5da1e6,_0xd569f1,_0x3fbdfe,_0x25c7eb);},'TXBzV':function(_0x18581a,_0x5553a5){return _0x18581a!==_0x5553a5;},'tEsjh':'integrations','OWyxm':_0x28d25f(0x1a6),'FdXoR':_0x28d25f(0x1ce),'FQYTI':'failure_backtrace','GeoCr':_0x28d25f(0x1dc),'GYpQK':_0x28d25f(0x171),'KRsKC':_0x28d25f(0x20e),'AxGBT':function(_0xeaedb,_0x1716b7){return _0xeaedb===_0x1716b7;},'ZytZl':_0x28d25f(0x1b7),'LNZEx':_0x28d25f(0x161)};if(!this[_0x28d25f(0x234)])return;try{if(_0x35f748['fn']&&_0x35f748['fn'][_0x28d25f(0x168)]()[_0x28d25f(0x162)](/browserstack internal helper hook/))return;const _0x67d8d8=_0x5a1164[_0x28d25f(0x233)](parseEvent,_0x58e435);if(!_0x67d8d8)return;if(_0x67d8d8['test']){this[_0x28d25f(0x219)]=_0x35f748,this['currentHook']=null;if(_0x67d8d8[_0x28d25f(0x213)]||_0x67d8d8['skipped']){_0x35f748[_0x28d25f(0x227)]=new Date(),_0x35f748[_0x28d25f(0x20b)]=![];if(!_0x35f748[_0x28d25f(0x1f8)])_0x35f748[_0x28d25f(0x1f8)]=_0x5a1164['jEiba'](uuidv4);else _0x35f748[_0x28d25f(0x20b)]&&(!_0x35f748[_0x28d25f(0x21e)]&&(_0x35f748['retryOf']=_0x35f748[_0x28d25f(0x1f8)]),_0x35f748['testAnalyticsId']=_0x5a1164['HdQwv'](uuidv4));}}else{if(_0x67d8d8[_0x28d25f(0x1ed)]){this['currentHook']=_0x35f748;if(_0x67d8d8[_0x28d25f(0x213)]){_0x35f748[_0x28d25f(0x227)]=new Date(),_0x35f748[_0x28d25f(0x20b)]=![];if(!_0x35f748[_0x28d25f(0x1d9)])_0x35f748['hookAnalyticsId']=_0x5a1164[_0x28d25f(0x1fc)](uuidv4);else _0x35f748[_0x28d25f(0x1d9)]&&_0x35f748[_0x28d25f(0x20b)]&&(_0x35f748[_0x28d25f(0x1d9)]=_0x5a1164[_0x28d25f(0x1de)](uuidv4));}}}if(_0x67d8d8[_0x28d25f(0x164)]&&_0x35f748[_0x28d25f(0x20b)])return;let _0xe506fe;try{_0xe506fe=this[_0x28d25f(0x190)](_0x35f748);}catch(_0x551773){logger['debug'](_0x28d25f(0x1c9)+_0x551773),_0xe506fe=null;}let _0x661c4c=[];_0x3d62f8&&(_0x661c4c=[_0x3d62f8,_0x5a1164[_0x28d25f(0x15a)]]);const _0x3dcab7=_0x5a1164[_0x28d25f(0x1cf)](_0x35f748[_0x28d25f(0x16b)],undefined)?util['inspect'](_0x35f748['errorsDetailed'][0x0]):_0x5a1164['nAUhV'](_0x3d62f8,undefined)?_0x3d62f8['toString']():undefined,_0x44cd7b=_0xe506fe?this['findGitConfig'](_0xe506fe):null,_0x4b9d0b=_0xe506fe?this[_0x28d25f(0x221)]['prefixTestPath'](this[_0x28d25f(0x190)](_0x35f748)):_0x5a1164['Vkstp'];let _0x3dbbb1=_0x5a1164['lDvpO'];const _0x2d8bc9=!_0x67d8d8[_0x28d25f(0x213)]?new Date()[_0x28d25f(0x163)]():null;if(_0x67d8d8[_0x28d25f(0x164)])_0x3dbbb1=_0x3d62f8?_0x5a1164[_0x28d25f(0x1f1)]:_0x5a1164[_0x28d25f(0x20d)],_0x35f748[_0x28d25f(0x20b)]=!![];else _0x67d8d8[_0x28d25f(0x1e3)]&&(_0x3dbbb1=_0x5a1164['UUKdz'],_0x35f748[_0x28d25f(0x20b)]=!![]);const _0x2e675f={'framework':this[_0x28d25f(0x214)],'uuid':_0x35f748[_0x28d25f(0x1f8)]||_0x35f748[_0x28d25f(0x1d9)],'name':_0x35f748[_0x28d25f(0x225)],'body':{'lang':_0x5a1164[_0x28d25f(0x237)],'code':_0x35f748[_0x28d25f(0x1f4)][_0x28d25f(0x168)]()},'type':_0x35f748[_0x28d25f(0x16f)],'scope':_0x35f748[_0x28d25f(0x18b)](),'scopes':this['getHierarchy'](_0x35f748),'file_name':_0x4b9d0b,'vc_filepath':_0x44cd7b?path[_0x28d25f(0x1eb)](_0x44cd7b,_0xe506fe):null,'location':_0x4b9d0b,'result':_0x3dbbb1,'failure_reason':_0x3dcab7,'duration_in_ms':_0x35f748['duration']||(_0x67d8d8[_0x28d25f(0x164)]||_0x67d8d8[_0x28d25f(0x1e3)])?_0x5a1164[_0x28d25f(0x1d0)](Date[_0x28d25f(0x1aa)](),new Date(_0x35f748[_0x28d25f(0x227)])['getTime']()):null,'started_at':new Date(_0x35f748['startedAt'])[_0x28d25f(0x163)](),'finished_at':_0x2d8bc9,'failure':testOpsHelper[_0x28d25f(0x1a9)][_0x28d25f(0x1a8)](null,_0x661c4c),'failure_type':!_0x3dcab7?null:testOpsHelper[_0x28d25f(0x212)](_0x3dcab7),'retry_of':_0x35f748[_0x28d25f(0x21e)]||null,'tags':_0x35f748[_0x28d25f(0x230)]||[],'customRerunParam':{'rerun_name':_0x35f748[_0x28d25f(0x18b)]()}};_0x5a1164[_0x28d25f(0x15c)](appendTesthubParams,_0x2e675f,_0x58e435,_0x35f748,FRAMEWORKS['CODECEPT']);if(_0x67d8d8[_0x28d25f(0x1ed)])[_0x2e675f[_0x28d25f(0x210)],_0x2e675f[_0x28d25f(0x1ea)]]=[this[_0x28d25f(0x222)](_0x35f748),_0x35f748[_0x28d25f(0x19f)][_0x28d25f(0x1d2)][_0x28d25f(0x225)]],_0x67d8d8[_0x28d25f(0x164)]?_0x5a1164[_0x28d25f(0x24b)](_0x2e675f['result'],_0x5a1164[_0x28d25f(0x1f1)])&&(_0x2e675f['result']=_0x5a1164['VzxsQ']):_0x2e675f[_0x28d25f(0x1f4)]={};else _0x67d8d8[_0x28d25f(0x1d2)]&&(this[_0x28d25f(0x17d)](_0x35f748),_0x67d8d8[_0x28d25f(0x1e3)]&&this[_0x28d25f(0x21a)](_0x35f748),(_0x67d8d8[_0x28d25f(0x164)]||_0x67d8d8['skipped'])&&(_0x2e675f[_0x28d25f(0x1ef)]=this[_0x28d25f(0x186)](_0x35f748)));this['driver']&&(_0x67d8d8['started']||_0x67d8d8['skipped'])&&(_0x2e675f[_0x5a1164[_0x28d25f(0x1f7)]]=this[_0x28d25f(0x177)](this[_0x28d25f(0x1c2)]));_0x67d8d8['test']&&_0x67d8d8[_0x28d25f(0x164)]&&_0x35f748['bddSteps']&&(_0x2e675f[_0x5a1164[_0x28d25f(0x19e)]]={'feature':{'name':_0x35f748[_0x28d25f(0x229)][_0x28d25f(0x22e)]['name'],'path':_0x2e675f[_0x28d25f(0x22c)],'description':_0x35f748['parent'][_0x28d25f(0x1b6)]},'scenario':{'name':_0x35f748[_0x28d25f(0x225)]},'steps':_0x35f748[_0x28d25f(0x1af)]});const _0x1b6d5b=_0x2e675f[_0x5a1164[_0x28d25f(0x197)]][0x0];_0x1b6d5b&&(_0x2e675f[_0x5a1164[_0x28d25f(0x158)]]=_0x1b6d5b[_0x5a1164[_0x28d25f(0x1f9)]],_0x2e675f[_0x5a1164[_0x28d25f(0x1bb)]]=_0x1b6d5b[_0x5a1164[_0x28d25f(0x23d)]]);if(_0x35f748['bddSteps'])for(const _0x4fa5aa of _0x35f748[_0x28d25f(0x1af)]){!_0x4fa5aa[_0x28d25f(0x202)]&&(_0x4fa5aa[_0x28d25f(0x202)]=new Date()[_0x28d25f(0x163)](),_0x5a1164[_0x28d25f(0x1d3)](_0x4fa5aa['result'],_0x5a1164[_0x28d25f(0x1cc)])&&(_0x1b6d5b?(_0x4fa5aa['result']=_0x5a1164[_0x28d25f(0x1f1)],_0x4fa5aa[_0x28d25f(0x1ce)]=_0x1b6d5b[_0x5a1164[_0x28d25f(0x1f9)]][0x0]):_0x4fa5aa[_0x28d25f(0x21f)]=_0x5a1164[_0x28d25f(0x20d)]));}const _0x43a2a4={};_0x43a2a4[_0x28d25f(0x252)]=_0x67d8d8['skipped']?TEST_EVENTS['TEST_RUN_FINISHED']:_0x58e435;const _0x1c6ab4=_0x43a2a4;return _0x67d8d8[_0x28d25f(0x1ed)]?_0x1c6ab4[_0x5a1164['ZytZl']]=_0x2e675f:_0x1c6ab4[_0x5a1164['LNZEx']]=_0x2e675f,_0x1c6ab4;}catch(_0x3fbeef){logger[_0x28d25f(0x172)](_0x28d25f(0x244)+_0x58e435+_0x28d25f(0x22b)+_0x3fbeef);}}async[a4_0xe9e96a(0x1b3)](_0x33ce64,_0x2a38c6){const _0x1c3018=a4_0xe9e96a;if(!this['enabled']||!_0x2a38c6||!_0x33ce64)return![];try{return await SessionHandler[_0x1c3018(0x20f)](_0x2a38c6);}catch(_0x4a3d06){logger['debug'](_0x1c3018(0x206)+_0x33ce64+'\x20with\x20error\x20:\x20'+_0x4a3d06);}}[a4_0xe9e96a(0x1be)](_0x2ae02f){const _0x7b76f1=a4_0xe9e96a,_0x46b30a={};_0x46b30a[_0x7b76f1(0x23c)]='pending';const _0x1363fc=_0x46b30a;return{'id':_0x2ae02f[_0x7b76f1(0x23f)],'text':_0x2ae02f[_0x7b76f1(0x183)],'keyword':_0x2ae02f['keyword'],'started_at':_0x2ae02f[_0x7b76f1(0x227)]['toISOString'](),'result':_0x1363fc[_0x7b76f1(0x23c)]};}[a4_0xe9e96a(0x1e5)](_0xbe215a){const _0x147df3=a4_0xe9e96a,_0x210c33={'GScJF':function(_0x5ed10c){return _0x5ed10c();}};!this[_0x147df3(0x219)][_0x147df3(0x1af)]&&(this[_0x147df3(0x219)][_0x147df3(0x1af)]=[]),!_0xbe215a['stepAnalyticsId']&&(_0xbe215a[_0x147df3(0x23f)]=_0x210c33[_0x147df3(0x15b)](uuidv4),_0xbe215a[_0x147df3(0x227)]=new Date(),this['currentTest'][_0x147df3(0x1af)][_0x147df3(0x1dd)](this['initializeBddStep'](_0xbe215a)));}[a4_0xe9e96a(0x1b5)](_0x13c9f2){const _0x4fccca=a4_0xe9e96a,_0x33b9f2={'HuhHZ':function(_0x39bbae,_0x3d9e4d){return _0x39bbae(_0x3d9e4d);},'InlTn':_0x4fccca(0x155),'txzCd':_0x4fccca(0x18c),'FawYN':_0x4fccca(0x255),'hARiy':function(_0x16efee,_0xf94134){return _0x16efee-_0xf94134;}};let _0x243192=this[_0x4fccca(0x219)][_0x4fccca(0x1af)][_0x4fccca(0x223)](_0x224477=>_0x224477['id']===_0x13c9f2[_0x4fccca(0x23f)]);_0x33b9f2['HuhHZ'](isUndefined,_0x243192)&&(_0x243192=this[_0x4fccca(0x1be)](_0x13c9f2)),_0x243192[_0x4fccca(0x21f)]=[_0x33b9f2[_0x4fccca(0x24d)],_0x33b9f2[_0x4fccca(0x156)]][_0x4fccca(0x203)](_0x13c9f2[_0x4fccca(0x167)])?_0x33b9f2[_0x4fccca(0x1cd)]:_0x13c9f2[_0x4fccca(0x167)],_0x243192[_0x4fccca(0x202)]=new Date()[_0x4fccca(0x163)](),_0x243192[_0x4fccca(0x1a0)]=_0x33b9f2[_0x4fccca(0x1a4)](Date[_0x4fccca(0x1aa)](),_0x13c9f2[_0x4fccca(0x227)][_0x4fccca(0x1d5)]()),_0x243192[_0x4fccca(0x1ce)]=_0x13c9f2[_0x4fccca(0x188)]?_0x13c9f2[_0x4fccca(0x188)]['message']:null;}}function a4_0x489b(_0xe38e74,_0x2a2d58){const _0x4de725=a4_0x4de7();return a4_0x489b=function(_0x489b1c,_0x97a5d9){_0x489b1c=_0x489b1c-0x155;let _0x62d9d=_0x4de725[_0x489b1c];return _0x62d9d;},a4_0x489b(_0xe38e74,_0x2a2d58);}const a4_0x16d770={};a4_0x16d770[a4_0xe9e96a(0x1bf)]=O11yHelper,a4_0x16d770[a4_0xe9e96a(0x1ba)]=STATE_PASSED,a4_0x16d770[a4_0xe9e96a(0x1c5)]=STATE_FAILED,a4_0x16d770[a4_0xe9e96a(0x1fe)]=TEST_EVENTS,module[a4_0xe9e96a(0x1b4)]=a4_0x16d770;
|
|
1
|
+
const a4_0x294a1a=a4_0x586c;(function(_0x1a960d,_0x2b1d8e){const _0x282d33=a4_0x586c,_0x5819f2=_0x1a960d();while(!![]){try{const _0x1d0029=-parseInt(_0x282d33(0x147))/0x1+-parseInt(_0x282d33(0xef))/0x2+-parseInt(_0x282d33(0xf5))/0x3*(parseInt(_0x282d33(0x17f))/0x4)+-parseInt(_0x282d33(0x10d))/0x5*(-parseInt(_0x282d33(0x15a))/0x6)+-parseInt(_0x282d33(0xff))/0x7+parseInt(_0x282d33(0x16c))/0x8*(parseInt(_0x282d33(0x171))/0x9)+parseInt(_0x282d33(0x166))/0xa*(parseInt(_0x282d33(0x180))/0xb);if(_0x1d0029===_0x2b1d8e)break;else _0x5819f2['push'](_0x5819f2['shift']());}catch(_0x5b673f){_0x5819f2['push'](_0x5819f2['shift']());}}}(a4_0x56b5,0xe3bf9));const path=require(a4_0x294a1a(0x19b)),util=require(a4_0x294a1a(0xd0)),fs=require('fs'),{v4:uuidv4}=require(a4_0x294a1a(0x1a0)),{resolveBrowserTypeClass,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x294a1a(0x118)),testOpsHelper=require(a4_0x294a1a(0x13d)),{getTestEnv}=require(a4_0x294a1a(0x1af)),{FRAMEWORKS}=require(a4_0x294a1a(0x12d)),logger=require(a4_0x294a1a(0x193))[a4_0x294a1a(0x181)],SessionHandler=require(a4_0x294a1a(0x100)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),PlaywrightSessionDetails=require(a4_0x294a1a(0x103)),debug=testOpsHelper['debug'],{processAccessibilityCaps}=require(a4_0x294a1a(0xda)),Constants=require('../utils/constants'),{fetchPlatformDetails}=require(a4_0x294a1a(0x191)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x294a1a(0x133)),constants=require(a4_0x294a1a(0xf8)),STATE_PASSED=a4_0x294a1a(0xe9),STATE_FAILED=a4_0x294a1a(0x170),a4_0x3e19ed={};function a4_0x586c(_0x57bb54,_0x5a09e0){const _0x56b582=a4_0x56b5();return a4_0x586c=function(_0x586cd2,_0x18fcec){_0x586cd2=_0x586cd2-0xca;let _0x3ece39=_0x56b582[_0x586cd2];return _0x3ece39;},a4_0x586c(_0x57bb54,_0x5a09e0);}a4_0x3e19ed[a4_0x294a1a(0x1b2)]=a4_0x294a1a(0x128),a4_0x3e19ed[a4_0x294a1a(0x14e)]=a4_0x294a1a(0x1c3),a4_0x3e19ed[a4_0x294a1a(0xce)]=a4_0x294a1a(0x169),a4_0x3e19ed[a4_0x294a1a(0xe1)]='HookRunStarted',a4_0x3e19ed[a4_0x294a1a(0x1c2)]=a4_0x294a1a(0xcf);const TEST_EVENTS=a4_0x3e19ed,parseEvent=_0x43d9cb=>{const _0xa9c834=a4_0x294a1a,_0x126268={};_0x126268['abjCn']=function(_0xf22bb0,_0x41030f){return _0xf22bb0<_0x41030f;},_0x126268['QdpOR']=function(_0x3cda36,_0xdf1152){return _0x3cda36===_0xdf1152;},_0x126268[_0xa9c834(0x188)]=_0xa9c834(0x168),_0x126268[_0xa9c834(0x110)]=function(_0x138679,_0x556e40){return _0x138679===_0x556e40;},_0x126268[_0xa9c834(0x148)]=_0xa9c834(0x1be),_0x126268['ECxuA']=_0xa9c834(0x13f),_0x126268[_0xa9c834(0x11b)]=function(_0x2e9faf,_0x49d195){return _0x2e9faf===_0x49d195;},_0x126268[_0xa9c834(0xf4)]='started',_0x126268['OmNQV']=function(_0x95ab8b,_0xe8dff4){return _0x95ab8b===_0xe8dff4;},_0x126268[_0xa9c834(0x1b5)]='finished';const _0x4e76f8=_0x126268,_0x4c3b33=_0x43d9cb[_0xa9c834(0x17d)](/^(.*)Run(.*)$/);if(!_0x4c3b33)return null;if(_0x4e76f8[_0xa9c834(0xd4)](_0x4c3b33[_0xa9c834(0x109)],0x3))return null;const _0x1418ae=_0x4c3b33[0x1]['toLowerCase'](),_0x4a51a4=_0x4c3b33[0x2][_0xa9c834(0x125)]();return{'test':_0x4e76f8[_0xa9c834(0x12c)](_0x1418ae,_0x4e76f8['lfBsA']),'hook':_0x4e76f8[_0xa9c834(0x110)](_0x1418ae,_0x4e76f8['PwsKF']),'skipped':_0x4e76f8['VifCr'](_0x4a51a4,_0x4e76f8[_0xa9c834(0x195)]),'started':_0x4e76f8['UqhYr'](_0x4a51a4,_0x4e76f8[_0xa9c834(0xf4)]),'finished':_0x4e76f8[_0xa9c834(0xf1)](_0x4a51a4,_0x4e76f8[_0xa9c834(0x1b5)])};},mockPWBrowserType=_0xfff3a8=>{const _0x378ec6=a4_0x294a1a,_0xb72edf={'ynkvw':function(_0x13e555,_0xa2ca82){return _0x13e555===_0xa2ca82;},'cMQFN':'string','LijNk':function(_0x1c231c,_0x3487df,_0x2c2eaa){return _0x1c231c(_0x3487df,_0x2c2eaa);},'wOUIl':_0x378ec6(0x12e),'wEdYH':function(_0xe3ec94,_0x237861){return _0xe3ec94(_0x237861);},'yeclo':'browserstack','iNcOe':function(_0xdc3f0e,_0x479c9a){return _0xdc3f0e(_0x479c9a);},'BcBEe':function(_0x2f9cac){return _0x2f9cac();},'PabuX':_0x378ec6(0x173),'YPtVh':_0x378ec6(0x116),'TKAyq':'launch'},_0x583507=_0xb72edf[_0x378ec6(0xd8)](resolveBrowserTypeClass);if(!_0x583507){_0xb72edf[_0x378ec6(0xcc)](debug,_0xb72edf[_0x378ec6(0x1c1)]);return;}const _0x1d5922=_0x583507[_0x378ec6(0x1ae)];if(_0x1d5922[_0x378ec6(0xd6)])return;const _0x53a5cc=_0x1d5922[_0x378ec6(0x116)];Object[_0x378ec6(0xf2)](_0x1d5922,_0xb72edf[_0x378ec6(0x151)],{'get':function(){return async function _0x532ac9(_0x143ecc,_0x375589){const _0x57911b=a4_0x586c,_0x19a20e={'VKkNQ':function(_0x153fed,_0x3fdd0c){return _0xb72edf['ynkvw'](_0x153fed,_0x3fdd0c);},'FehcE':_0xb72edf[_0x57911b(0x16f)]},_0x5ab4cc=_0xb72edf[_0x57911b(0x11d)](nestedKeyValue,_0x143ecc,[_0xb72edf[_0x57911b(0x18e)]])||_0x143ecc;let _0x35d214=null,_0x3b9729=null;try{[_0x3b9729,_0x35d214]=_0x5ab4cc?_0xb72edf[_0x57911b(0xcc)](parseWSEndpoint,_0x5ab4cc):[null,null],global[_0x57911b(0x1aa)]=_0x35d214,logger[_0x57911b(0xf6)]('Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20'+_0x3b9729),_0x3b9729[_0x57911b(0xf3)](Constants[_0x57911b(0x167)])&&(global[_0x57911b(0x131)]=_0xb72edf[_0x57911b(0x198)]);}catch(_0x2fec5c){logger[_0x57911b(0xf6)](_0x57911b(0x13e)+_0x5ab4cc+'\x20'+_0x2fec5c);}_0xb72edf['LijNk'](processAccessibilityCaps,_0x35d214,_0x3b9729);if(global['accessibilityPlatform']){const _0x45d4c3=await _0x1d5922[_0x57911b(0x115)][_0x57911b(0x1a3)](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0xb72edf[_0x57911b(0x1b7)](encodeURIComponent,JSON[_0x57911b(0x17b)](_0x35d214))]);return PlaywrightSessionDetails[_0x57911b(0x137)](_0x45d4c3,_0xfff3a8,_0x5ab4cc),_0x45d4c3;}return _0x53a5cc['apply'](this,arguments)['then'](_0x31717a=>{const _0x551180=_0x57911b;let _0x3e7b45=_0x143ecc['wsEndpoint'];return _0x19a20e[_0x551180(0xca)](typeof _0x143ecc,_0x19a20e[_0x551180(0xfa)])&&(_0x3e7b45=_0x143ecc),PlaywrightSessionDetails['setupBrowserDetails'](_0x31717a,_0xfff3a8,_0x3e7b45),_0x31717a;});};}});const _0xbe9898=_0x1d5922[_0x378ec6(0xfe)];Object[_0x378ec6(0xf2)](_0x1d5922,_0xb72edf[_0x378ec6(0x18b)],{'get':function(){return async function _0x53caf0(){const _0x3ba0ba=a4_0x586c;return _0xbe9898[_0x3ba0ba(0x1a3)](this,arguments)[_0x3ba0ba(0xfb)](_0x3e02e4=>{const _0x18003f=_0x3ba0ba;return PlaywrightSessionDetails[_0x18003f(0x137)](_0x3e02e4,null),_0x3e02e4;});};}});};function a4_0x56b5(){const _0x437eca=['1705743rOsSay','pending','Not\x20able\x20to\x20import\x20Browser','failure_reason_expanded','\x20with\x20error\x20:\x20','file','hasLiveDriverSession','test_run','getHookType','ZkYdc','stringify','BfPzf','match','tags','7252744gJUmmJ','23674948aIsYkS','winstonLogger','keyword','MqttP','bddStepFinish','OTGeD','statSync','location_prefix','lfBsA','retryOf','GIZPf','TKAyq','text','title','wOUIl','taaLp','pid','./helper.js','0|4|5|1|3|2','../../helpers/logger','uploadEventData','ECxuA','resetSkipTestHooks','BRpzU','yeclo','failure','sep','path','testAnalyticsId','bddSteps','cUxDz','SzFEH','uuid','_beforeEach','initializeBddStep','apply','IdWNJ','getHierarchy','parent','hooks','RpNoE','body','__platformCaps','_afterAll','getInstance','codeceptjs','prototype','../mocha/test-observability/mochaUtils','concat','_testEnv','TEST_RUN_STARTED','hookAnalyticsId','bufferPendingHookEvent','ebcEL','bs:addLog:','iNcOe','IOKsl','markedStatus','message','bCWLG','wWkLD','finished','hook','KCHxR','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','PabuX','HOOK_RUN_FINISHED','TestRunFinished','frameworkName','VKkNQ','join','wEdYH','qBuQA','TEST_RUN_SKIPPED','HookRunFinished','util','hook_run','suites','eventType','abjCn','duration','obsBrowserTypeMockApplied','BygSV','BcBEe','pendingHookEvents','../playwright/accessibility-helper','dDryW','SvHLe','GbyAe','meta','prefixTestPath','dgPxm','HOOK_RUN_STARTED','errorsDetailed','getHooksForTest','removeAllListeners','_afterEach','File\x20path\x20could\x20not\x20be\x20found','fullTitle','relative','passed','fireEvent','replace','constructor','ZWfkM','finished_at','1245938tFNsBw','toISOString','OmNQV','defineProperty','includes','aobAi','3MUJVzm','debug','STATE_PASSED','../utils/constants','getCBTInfo','FehcE','then','thGcH','CODECEPT','launch','9834398pEwIOO','../../helpers/test-observability/sessionHandler','mmILD','GvzAg','../playwright/sessionDetails','O11yHelper','BpEGy','UciHN','keys','failureData','length','eizTU','feature','appendTestItemLog','905wvBfAz','started','hook_run_uuid','VifCr','findGitConfig','MIwWy','IIDbW','backtrace','connectOverCDP','connect','TEST_EVENTS','../../helpers/helper','event_type','getTime','UqhYr','getFailureType','LijNk','.git','TEST_REPORTING_ANALYTICS','JosuX','EPRJX','splice','name','type','toLowerCase','comment','toUpperCase','TestRunStarted','ctx','exports','failed\x20to\x20get\x20root\x20parent\x20file\x20','QdpOR','../../helpers/test-observability/constants','wsEndpoint','bddStepStart','groups','__cloud_provider___','enabled','../../helpers/testhub/utils.js','Pmbgb','logs','push','setupBrowserDetails','format','OBVac','toString','HujeP','err','../../helpers/test-observability/utils','Failed\x20to\x20parse\x20wsendpoint\x20','skipped','startedAt','tJbOI','BtROr','wFPqx','integrations','stop','dirname','54826tdMKLO','PwsKF','failure_backtrace','result','_beforeAll','getRootParentFile','FlHph','TEST_RUN_FINISHED','nntxE','currentTest','YPtVh','_paths','patchConsoleLogger','LogCreated','NphUL','now','currentHook','MOmQx','fKwBi','4812vTHvTL','driver','Failed\x20to\x20flush\x20pending\x20hook\x20event\x20','ylfUm','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','sendCBTInfo','stepAnalyticsId','BhKCJ','RscXy','CBTSessionCreated','forEach','inspect','20DUSzIC','BROWSERSTACK','test','TestRunSkipped','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','uploadData','16eMIShv','mapTestHooks','oCdCf','cMQFN','failed'];a4_0x56b5=function(){return _0x437eca;};return a4_0x56b5();}class O11yHelper{[a4_0x294a1a(0x150)]=null;['currentHook']=null;[a4_0x294a1a(0x132)]=![];[a4_0x294a1a(0x1c4)]=![];['pendingHookEvents']=[];constructor(_0x130e94,_0x4083b7){const _0xcea546=a4_0x294a1a,_0x36ac50={'SzFEH':_0xcea546(0x192),'GvzAg':function(_0x5c4bfe){return _0x5c4bfe();},'HujeP':function(_0x58fe3f){return _0x58fe3f();},'mmILD':function(_0x441314,_0x5af387){return _0x441314===_0x5af387;},'dUyOL':'Playwright','OTGeD':function(_0x4b1f1a,_0x218f0d){return _0x4b1f1a(_0x218f0d);}},_0x50429a=_0x36ac50[_0xcea546(0x19f)]['split']('|');let _0x3fcd79=0x0;while(!![]){switch(_0x50429a[_0x3fcd79++]){case'0':this['enabled']=_0x36ac50[_0xcea546(0x102)](shouldProcessEventForTesthub);continue;case'1':this[_0xcea546(0x1b1)]=_0x36ac50[_0xcea546(0x13b)](getTestEnv);continue;case'2':this[_0xcea546(0x15b)]&&_0x36ac50[_0xcea546(0x101)](this['driver'][_0xcea546(0xec)]['name'],_0x36ac50['dUyOL'])&&_0x36ac50[_0xcea546(0x185)](mockPWBrowserType,null);continue;case'3':this[_0xcea546(0x152)]=new testOpsHelper['PathHelper']({'cwd':process['cwd']()},this[_0xcea546(0x1b1)][_0xcea546(0x187)]);continue;case'4':this['frameworkName']=_0x4083b7[_0xcea546(0x1c4)];continue;case'5':this['driver']=_0x130e94;continue;}break;}}[a4_0x294a1a(0x177)](){const _0xe59803=a4_0x294a1a,_0x4ddfaf={'sSLvt':function(_0x2f2a21,_0x14f1c4){return _0x2f2a21(_0x14f1c4);}};if(!this[_0xe59803(0x15b)])return![];try{const _0x2440e0=_0x4ddfaf['sSLvt'](fetchPlatformDetails,this[_0xe59803(0x15b)]);if(!_0x2440e0)return![];const _0x3e551f=Object[_0xe59803(0x107)](_0x2440e0)[0x0];return!!(_0x3e551f&&_0x2440e0[_0x3e551f]&&_0x2440e0[_0x3e551f]['session_id']);}catch(_0x44d963){return![];}}[a4_0x294a1a(0x1b4)](_0x378211,_0x5ba615){const _0x3fc89b=a4_0x294a1a;if(!_0x5ba615)return;const _0x97bd97={};_0x97bd97[_0x3fc89b(0xd3)]=_0x378211,_0x97bd97[_0x3fc89b(0x16b)]=_0x5ba615,this[_0x3fc89b(0xd9)][_0x3fc89b(0x136)](_0x97bd97);}async['flushPendingHookEvents'](){const _0x20188f=a4_0x294a1a,_0x4c1839={};_0x4c1839['BXxXn']=function(_0x3b1b07,_0x3d68ce){return _0x3b1b07&&_0x3d68ce;};const _0x23cdb1=_0x4c1839;if(!this[_0x20188f(0xd9)]['length'])return;if(!this[_0x20188f(0x177)]())return;const _0x956c4e=this[_0x20188f(0xf9)](this['driver']),_0x2c3423=this[_0x20188f(0xd9)][_0x20188f(0x122)](0x0,this[_0x20188f(0xd9)][_0x20188f(0x109)]);for(const {eventType:_0x53e512,uploadData:_0x5c3b68}of _0x2c3423){try{const _0x3c3e97=_0x5c3b68[_0x20188f(0xd1)]||_0x5c3b68[_0x20188f(0x178)];_0x23cdb1['BXxXn'](_0x3c3e97,_0x956c4e)&&(_0x3c3e97[_0x20188f(0x144)]=_0x956c4e),await this[_0x20188f(0xea)](_0x53e512,_0x5c3b68);}catch(_0x2d3869){logger[_0x20188f(0xf6)](_0x20188f(0x15c)+_0x53e512+':\x20'+util[_0x20188f(0x138)](_0x2d3869));}}}['start'](){const _0x5931c5=a4_0x294a1a;if(!this[_0x5931c5(0x132)])return;testOpsHelper[_0x5931c5(0x153)](),process[_0x5931c5(0xe4)](_0x5931c5(0x1b6)+process[_0x5931c5(0x190)]),process['on'](_0x5931c5(0x1b6)+process[_0x5931c5(0x190)],this[_0x5931c5(0x10c)]['bind'](this));}async[a4_0x294a1a(0x145)](){const _0x36a540=a4_0x294a1a;await RequestQueueHandler[_0x36a540(0x1ac)]()['shutdown']();}async[a4_0x294a1a(0x10c)](_0xcc3e16){const _0x37976f=a4_0x294a1a,_0x4bb77f={'qBuQA':_0x37976f(0x154),'PggQQ':function(_0x557ed0,_0x384c0f){return _0x557ed0(_0x384c0f);}};try{this[_0x37976f(0x157)]&&!this[_0x37976f(0x157)][_0x37976f(0x1b9)]&&(_0xcc3e16[_0x37976f(0x10f)]=this[_0x37976f(0x157)][_0x37976f(0x1b3)]);!_0xcc3e16[_0x37976f(0x10f)]&&this[_0x37976f(0x150)]&&!this['currentTest'][_0x37976f(0x1b9)]&&(_0xcc3e16['test_run_uuid']=this[_0x37976f(0x150)]['testAnalyticsId']);if(_0xcc3e16[_0x37976f(0x10f)]||_0xcc3e16['test_run_uuid']){const _0x37e251={};_0x37e251[_0x37976f(0x119)]=_0x4bb77f[_0x37976f(0xcd)],_0x37e251[_0x37976f(0x135)]=[_0xcc3e16],await SessionHandler[_0x37976f(0x194)](_0x37e251);}}catch(_0x41b584){_0x4bb77f['PggQQ'](debug,_0x37976f(0x1c0)+constants['TEST_REPORTING_ANALYTICS']+'\x20with\x20error\x20:\x20'+_0x41b584);}}async[a4_0x294a1a(0x15f)](_0x4842d9){const _0x40fd5e=a4_0x294a1a,_0x29f36f={'OBVac':_0x40fd5e(0x163),'hISQP':function(_0x893f73,_0xf8fa52){return _0x893f73(_0xf8fa52);}};if(!this[_0x40fd5e(0x132)])return;const _0x29065d=this[_0x40fd5e(0xf9)](this['driver']);try{const _0x1ee0e2={};_0x1ee0e2['uuid']=_0x4842d9,_0x1ee0e2[_0x40fd5e(0x144)]=_0x29065d;const _0xde2560=_0x1ee0e2,_0x5487a4={};_0x5487a4['event_type']=_0x29f36f[_0x40fd5e(0x139)],_0x5487a4[_0x40fd5e(0x178)]=_0xde2560,await SessionHandler['uploadEventData'](_0x5487a4);}catch(_0x490f1c){_0x29f36f['hISQP'](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20'+constants[_0x40fd5e(0x11f)]+_0x40fd5e(0x175)+_0x490f1c);}}[a4_0x294a1a(0xf9)](_0x5070ec){const _0x36e367=a4_0x294a1a,_0x1fb307={'IdWNJ':function(_0x2d19cf,_0x450018){return _0x2d19cf(_0x450018);}};return _0x1fb307[_0x36e367(0x1a4)](fetchPlatformDetails,_0x5070ec);}[a4_0x294a1a(0x196)]=_0x4875cc=>{const _0x102245=a4_0x294a1a,_0x14d156={};_0x14d156[_0x102245(0x18f)]=_0x102245(0x1a1),_0x14d156[_0x102245(0x142)]=_0x102245(0xe5);const _0xb513ce=_0x14d156;if(!_0x4875cc||!_0x4875cc[_0x102245(0x1a6)])return;[_0xb513ce[_0x102245(0x18f)],_0xb513ce[_0x102245(0x142)]][_0x102245(0x164)](_0x2ecb42=>{const _0x2f6d6f=_0x102245,_0x581a43=_0x4875cc[_0x2f6d6f(0x1a6)][_0x2ecb42];_0x581a43[_0x2f6d6f(0x164)](_0x30c56d=>{const _0x3205f3=_0x2f6d6f;_0x30c56d[_0x3205f3(0x1b3)]&&(_0x30c56d[_0x3205f3(0x1b3)]=null);});});};['mapTestHooks'](_0x3b1937){const _0x43a886=a4_0x294a1a,_0x2bb033={'fKwBi':_0x43a886(0x1ad),'BygSV':function(_0x8ac553){return _0x8ac553();},'dDryW':function(_0x2e9826,_0x2650d0){return _0x2e9826===_0x2650d0;},'dgPxm':_0x43a886(0xe5),'EPRJX':function(_0x57faa5){return _0x57faa5();},'Pmbgb':_0x43a886(0x14b),'BhKCJ':_0x43a886(0x1ab),'bCWLG':_0x43a886(0x1a1)};if(!_0x3b1937||!_0x3b1937['parent'])return;[_0x2bb033[_0x43a886(0x134)],_0x2bb033[_0x43a886(0x161)],_0x2bb033[_0x43a886(0x1bb)],_0x2bb033[_0x43a886(0xe0)]][_0x43a886(0x164)](_0x498a78=>{const _0x1be888=_0x43a886,_0x2d9394=_0x3b1937[_0x1be888(0x1a6)][_0x498a78]||[];_0x2d9394[_0x1be888(0x164)](_0x13dc5f=>{const _0x54f819=_0x1be888;if(_0x13dc5f[_0x54f819(0x18d)]['includes'](_0x2bb033[_0x54f819(0x159)]))return;if(!_0x13dc5f[_0x54f819(0x1b3)])_0x13dc5f[_0x54f819(0x1b3)]=_0x2bb033[_0x54f819(0xd7)](uuidv4);else _0x13dc5f[_0x54f819(0x1b9)]&&_0x2bb033[_0x54f819(0xdb)](_0x498a78,_0x2bb033[_0x54f819(0xe0)])&&(_0x13dc5f[_0x54f819(0x1b3)]=_0x2bb033[_0x54f819(0x121)](uuidv4),delete _0x13dc5f[_0x54f819(0x1b9)]);});}),this[_0x43a886(0x16d)](_0x3b1937[_0x43a886(0x1a6)]);}[a4_0x294a1a(0xe3)](_0x230823){const _0x30435f=a4_0x294a1a,_0x38a3f9={};_0x38a3f9[_0x30435f(0x113)]=_0x30435f(0x14b),_0x38a3f9[_0x30435f(0x143)]=_0x30435f(0x1ab),_0x38a3f9[_0x30435f(0x141)]=_0x30435f(0x1a1),_0x38a3f9[_0x30435f(0x14d)]=_0x30435f(0xe5);const _0x12b4a6=_0x38a3f9;if(!_0x230823||!_0x230823[_0x30435f(0x1a6)])return[];const _0x3b60b5=[];return[_0x12b4a6[_0x30435f(0x113)],_0x12b4a6[_0x30435f(0x143)],_0x12b4a6['tJbOI'],_0x12b4a6[_0x30435f(0x14d)]][_0x30435f(0x164)](_0x3c70a9=>{const _0x189132=_0x30435f,_0x504063=_0x230823[_0x189132(0x1a6)][_0x3c70a9]||[];_0x504063['forEach'](_0x26769b=>{const _0x53be80=_0x189132;_0x26769b[_0x53be80(0x1b3)]&&_0x3b60b5[_0x53be80(0x136)](_0x26769b[_0x53be80(0x1b3)]);});}),[][_0x30435f(0x1b0)](_0x3b60b5,this['getHooksForTest'](_0x230823[_0x30435f(0x1a6)]));}[a4_0x294a1a(0x179)](_0x20b0e1){const _0x502501=a4_0x294a1a,_0x578a2b=/^"(?<hook>.*)" hook:.*$/,_0x590e42=_0x20b0e1[_0x502501(0x18d)],_0x1b131d=_0x590e42[_0x502501(0x17d)](_0x578a2b);if(_0x1b131d&&_0x1b131d[_0x502501(0x130)])return _0x1b131d[_0x502501(0x130)][_0x502501(0x1be)][_0x502501(0x127)]()[_0x502501(0xeb)]('\x20','_');return null;}[a4_0x294a1a(0x111)](_0x5a53d6){const _0x435f3d=a4_0x294a1a,_0x45f916={};_0x45f916[_0x435f3d(0x17c)]=function(_0x45962f,_0x2a10ae){return _0x45962f===_0x2a10ae;},_0x45f916[_0x435f3d(0x15d)]=_0x435f3d(0x11e);const _0x33ae38=_0x45f916,_0x3d53ae=path[_0x435f3d(0x19a)];if(_0x33ae38[_0x435f3d(0x17c)](_0x5a53d6,null)||_0x33ae38[_0x435f3d(0x17c)](_0x5a53d6,'')||_0x33ae38[_0x435f3d(0x17c)](_0x5a53d6,_0x3d53ae)||_0x33ae38[_0x435f3d(0x17c)](_0x5a53d6,path['dirname'](_0x5a53d6)))return null;try{return fs[_0x435f3d(0x186)](path[_0x435f3d(0xcb)](_0x5a53d6,_0x33ae38[_0x435f3d(0x15d)])),_0x5a53d6;}catch(_0x185407){const _0x27b347=path[_0x435f3d(0x146)](_0x5a53d6);return this[_0x435f3d(0x111)](_0x27b347);}}[a4_0x294a1a(0x14c)](_0x497860){const _0x2e45ac=a4_0x294a1a,_0x41c8a8={};_0x41c8a8[_0x2e45ac(0x16e)]=function(_0x47bf0f,_0x466a22){return _0x47bf0f>_0x466a22;};const _0x599200=_0x41c8a8;if(_0x497860[_0x2e45ac(0x176)])return _0x497860[_0x2e45ac(0x176)];if(_0x497860[_0x2e45ac(0x129)]){const _0x1981f5=_0x497860[_0x2e45ac(0x129)][_0x2e45ac(0x150)]?this[_0x2e45ac(0x14c)](_0x497860[_0x2e45ac(0x129)][_0x2e45ac(0x150)]):null;if(_0x1981f5)return _0x1981f5;}if(_0x497860['parent']){const _0x5a1bf4=this[_0x2e45ac(0x14c)](_0x497860[_0x2e45ac(0x1a6)])||(_0x497860[_0x2e45ac(0x1a6)][_0x2e45ac(0x129)]&&_0x497860['parent'][_0x2e45ac(0x129)][_0x2e45ac(0x150)]?this['getRootParentFile'](_0x497860[_0x2e45ac(0x1a6)]['ctx'][_0x2e45ac(0x150)]):null);if(_0x5a1bf4)return _0x5a1bf4;_0x497860[_0x2e45ac(0x1a6)][_0x2e45ac(0xd2)]&&_0x599200[_0x2e45ac(0x16e)](_0x497860['parent'][_0x2e45ac(0xd2)]['length'],0x0)&&_0x497860[_0x2e45ac(0x1a6)][_0x2e45ac(0xd2)]['forEach'](_0x594dba=>{const _0x3c2c7b=_0x2e45ac,_0x50b72d=_0x594dba[_0x3c2c7b(0x129)]?this['getRootParentFile'](_0x594dba['ctx']):null;if(_0x50b72d)return _0x50b72d;});}return null;}[a4_0x294a1a(0x1a5)](_0x38ff93){const _0x4b0939=a4_0x294a1a,_0x3a830b={};_0x3a830b['NphUL']=function(_0x3f615f,_0x4a8051){return _0x3f615f!==_0x4a8051;};const _0x59c969=_0x3a830b,_0x442202=[];if(_0x38ff93&&_0x38ff93[_0x4b0939(0x1a6)]){let _0x625998=_0x38ff93[_0x4b0939(0x1a6)];while(_0x625998&&_0x59c969[_0x4b0939(0x155)](_0x625998['title'],'')){_0x442202[_0x4b0939(0x136)](_0x625998['title']),_0x625998=_0x625998[_0x4b0939(0x1a6)];}}return _0x442202;}['captureEvent'](_0x437310,_0x3cfa9b,_0xc75880=undefined){const _0x5c58a1=a4_0x294a1a,_0x4d97ef={'kxwZo':function(_0x5a46ba,_0x2189b1){return _0x5a46ba(_0x2189b1);},'thGcH':function(_0x4172b7){return _0x4172b7();},'CTDTz':function(_0x14999f){return _0x14999f();},'fcuCN':'err','cUxDz':function(_0x29f852,_0x444243){return _0x29f852!==_0x444243;},'MOmQx':function(_0x5451bc,_0x2b76e9){return _0x5451bc!==_0x2b76e9;},'KCHxR':_0x5c58a1(0xe6),'IOKsl':_0x5c58a1(0x172),'GbyAe':'failed','UciHN':_0x5c58a1(0xe9),'JeYrr':_0x5c58a1(0x13f),'nntxE':'javascript','qrcuC':function(_0xf68a97,_0x7ec378){return _0xf68a97-_0x7ec378;},'RscXy':function(_0x55e6c0,_0x164c39,_0x3c968f,_0x4a8cbe,_0x54d7a5){return _0x55e6c0(_0x164c39,_0x3c968f,_0x4a8cbe,_0x54d7a5);},'TyApM':_0x5c58a1(0x144),'WIwCb':_0x5c58a1(0xde),'RpNoE':'failure','MqttP':_0x5c58a1(0x149),'BRpzU':_0x5c58a1(0x114),'eizTU':_0x5c58a1(0x174),'NMBVM':'expanded','BpEGy':function(_0x3c63b4,_0x3f2355){return _0x3c63b4===_0x3f2355;},'MIwWy':'hook_run','Bulcn':_0x5c58a1(0x178)};if(!this[_0x5c58a1(0x132)])return;try{if(_0x3cfa9b['fn']&&_0x3cfa9b['fn'][_0x5c58a1(0x13a)]()[_0x5c58a1(0x17d)](/browserstack internal helper hook/))return;const _0x1e03a4=_0x4d97ef['kxwZo'](parseEvent,_0x437310);if(!_0x1e03a4)return;if(_0x1e03a4['test']){this[_0x5c58a1(0x150)]=_0x3cfa9b,this[_0x5c58a1(0x157)]=null;if(_0x1e03a4[_0x5c58a1(0x10e)]||_0x1e03a4[_0x5c58a1(0x13f)]){_0x3cfa9b[_0x5c58a1(0x140)]=new Date(),_0x3cfa9b['markedStatus']=![];if(!_0x3cfa9b[_0x5c58a1(0x19c)])_0x3cfa9b[_0x5c58a1(0x19c)]=_0x4d97ef[_0x5c58a1(0xfc)](uuidv4);else _0x3cfa9b[_0x5c58a1(0x1b9)]&&(!_0x3cfa9b['retryOf']&&(_0x3cfa9b[_0x5c58a1(0x189)]=_0x3cfa9b[_0x5c58a1(0x19c)]),_0x3cfa9b['testAnalyticsId']=_0x4d97ef[_0x5c58a1(0xfc)](uuidv4));}}else{if(_0x1e03a4[_0x5c58a1(0x1be)]){this[_0x5c58a1(0x157)]=_0x3cfa9b;if(_0x1e03a4[_0x5c58a1(0x10e)]){_0x3cfa9b[_0x5c58a1(0x140)]=new Date(),_0x3cfa9b[_0x5c58a1(0x1b9)]=![];if(!_0x3cfa9b['hookAnalyticsId'])_0x3cfa9b[_0x5c58a1(0x1b3)]=_0x4d97ef[_0x5c58a1(0xfc)](uuidv4);else _0x3cfa9b[_0x5c58a1(0x1b3)]&&_0x3cfa9b['markedStatus']&&(_0x3cfa9b[_0x5c58a1(0x1b3)]=_0x4d97ef['CTDTz'](uuidv4));}}}if(_0x1e03a4[_0x5c58a1(0x1bd)]&&_0x3cfa9b[_0x5c58a1(0x1b9)])return;let _0x283a25;try{_0x283a25=this[_0x5c58a1(0x14c)](_0x3cfa9b);}catch(_0x37ae19){logger[_0x5c58a1(0xf6)](_0x5c58a1(0x12b)+_0x37ae19),_0x283a25=null;}let _0x6dd4bf=[];_0xc75880&&(_0x6dd4bf=[_0xc75880,_0x4d97ef['fcuCN']]);const _0x1cf489=_0x4d97ef[_0x5c58a1(0x19e)](_0x3cfa9b[_0x5c58a1(0xe2)],undefined)?util[_0x5c58a1(0x165)](_0x3cfa9b['errorsDetailed'][0x0]):_0x4d97ef[_0x5c58a1(0x158)](_0xc75880,undefined)?_0xc75880[_0x5c58a1(0x13a)]():undefined,_0x51d2fd=_0x283a25?this[_0x5c58a1(0x111)](_0x283a25):null,_0x1ef40c=_0x283a25?this['_paths'][_0x5c58a1(0xdf)](this[_0x5c58a1(0x14c)](_0x3cfa9b)):_0x4d97ef[_0x5c58a1(0x1bf)];let _0xff9310=_0x4d97ef[_0x5c58a1(0x1b8)];const _0x274731=!_0x1e03a4['started']?new Date()[_0x5c58a1(0xf0)]():null;if(_0x1e03a4[_0x5c58a1(0x1bd)])_0xff9310=_0xc75880?_0x4d97ef[_0x5c58a1(0xdd)]:_0x4d97ef['UciHN'],_0x3cfa9b[_0x5c58a1(0x1b9)]=!![];else _0x1e03a4[_0x5c58a1(0x13f)]&&(_0xff9310=_0x4d97ef['JeYrr'],_0x3cfa9b[_0x5c58a1(0x1b9)]=!![]);const _0xa2b302={'framework':this[_0x5c58a1(0x1c4)],'uuid':_0x3cfa9b['testAnalyticsId']||_0x3cfa9b[_0x5c58a1(0x1b3)],'name':_0x3cfa9b['title'],'body':{'lang':_0x4d97ef[_0x5c58a1(0x14f)],'code':_0x3cfa9b[_0x5c58a1(0x1a9)]['toString']()},'type':_0x3cfa9b[_0x5c58a1(0x124)],'scope':_0x3cfa9b[_0x5c58a1(0xe7)](),'scopes':this[_0x5c58a1(0x1a5)](_0x3cfa9b),'file_name':_0x1ef40c,'vc_filepath':_0x51d2fd?path[_0x5c58a1(0xe8)](_0x51d2fd,_0x283a25):null,'location':_0x1ef40c,'result':_0xff9310,'failure_reason':_0x1cf489,'duration_in_ms':_0x3cfa9b[_0x5c58a1(0xd5)]||(_0x1e03a4['finished']||_0x1e03a4[_0x5c58a1(0x13f)])?_0x4d97ef['qrcuC'](Date[_0x5c58a1(0x156)](),new Date(_0x3cfa9b[_0x5c58a1(0x140)])['getTime']()):null,'started_at':new Date(_0x3cfa9b['startedAt'])[_0x5c58a1(0xf0)](),'finished_at':_0x274731,'failure':testOpsHelper[_0x5c58a1(0x108)][_0x5c58a1(0x1a3)](null,_0x6dd4bf),'failure_type':!_0x1cf489?null:testOpsHelper[_0x5c58a1(0x11c)](_0x1cf489),'retry_of':_0x3cfa9b[_0x5c58a1(0x189)]||null,'tags':_0x3cfa9b[_0x5c58a1(0x17e)]||[],'customRerunParam':{'rerun_name':_0x3cfa9b[_0x5c58a1(0xe7)]()}};_0x4d97ef[_0x5c58a1(0x162)](appendTesthubParams,_0xa2b302,_0x437310,_0x3cfa9b,FRAMEWORKS[_0x5c58a1(0xfd)]);if(_0x1e03a4[_0x5c58a1(0x1be)])[_0xa2b302['hook_type'],_0xa2b302[_0x5c58a1(0x123)]]=[this[_0x5c58a1(0x179)](_0x3cfa9b),_0x3cfa9b[_0x5c58a1(0x129)]['test'][_0x5c58a1(0x18d)]],_0x1e03a4[_0x5c58a1(0x1bd)]?_0x4d97ef[_0x5c58a1(0x19e)](_0xa2b302[_0x5c58a1(0x14a)],_0x4d97ef[_0x5c58a1(0xdd)])&&(_0xa2b302[_0x5c58a1(0x14a)]=_0x4d97ef[_0x5c58a1(0x106)]):_0xa2b302['body']={};else _0x1e03a4[_0x5c58a1(0x168)]&&(this[_0x5c58a1(0x16d)](_0x3cfa9b),_0x1e03a4[_0x5c58a1(0x13f)]&&this[_0x5c58a1(0x196)](_0x3cfa9b),(_0x1e03a4[_0x5c58a1(0x1bd)]||_0x1e03a4['skipped'])&&(_0xa2b302[_0x5c58a1(0x1a7)]=this[_0x5c58a1(0xe3)](_0x3cfa9b)));this['driver']&&(_0x1e03a4[_0x5c58a1(0x10e)]||_0x1e03a4['skipped'])&&(_0xa2b302[_0x4d97ef['TyApM']]=this['getCBTInfo'](this['driver']));_0x1e03a4['test']&&_0x1e03a4[_0x5c58a1(0x1bd)]&&_0x3cfa9b[_0x5c58a1(0x19d)]&&(_0xa2b302[_0x4d97ef['WIwCb']]={'feature':{'name':_0x3cfa9b[_0x5c58a1(0x1a6)][_0x5c58a1(0x10b)]['name'],'path':_0xa2b302['file_name'],'description':_0x3cfa9b[_0x5c58a1(0x1a6)][_0x5c58a1(0x126)]},'scenario':{'name':_0x3cfa9b['title']},'steps':_0x3cfa9b[_0x5c58a1(0x19d)]});const _0x35f7b2=_0xa2b302[_0x4d97ef[_0x5c58a1(0x1a8)]][0x0];_0x35f7b2&&(_0xa2b302[_0x4d97ef[_0x5c58a1(0x183)]]=_0x35f7b2[_0x4d97ef[_0x5c58a1(0x197)]],_0xa2b302[_0x4d97ef[_0x5c58a1(0x10a)]]=_0x35f7b2[_0x4d97ef['NMBVM']]);if(_0x3cfa9b[_0x5c58a1(0x19d)])for(const _0x376f45 of _0x3cfa9b['bddSteps']){!_0x376f45[_0x5c58a1(0xee)]&&(_0x376f45['finished_at']=new Date()[_0x5c58a1(0xf0)](),_0x4d97ef[_0x5c58a1(0x105)](_0x376f45[_0x5c58a1(0x14a)],_0x4d97ef['IOKsl'])&&(_0x35f7b2?(_0x376f45[_0x5c58a1(0x14a)]=_0x4d97ef[_0x5c58a1(0xdd)],_0x376f45[_0x5c58a1(0x199)]=_0x35f7b2[_0x4d97ef[_0x5c58a1(0x197)]][0x0]):_0x376f45[_0x5c58a1(0x14a)]=_0x4d97ef[_0x5c58a1(0x106)]));}const _0x2d6bdd={};_0x2d6bdd['event_type']=_0x1e03a4[_0x5c58a1(0x13f)]?TEST_EVENTS[_0x5c58a1(0x14e)]:_0x437310;const _0x318315=_0x2d6bdd;return _0x1e03a4[_0x5c58a1(0x1be)]?_0x318315[_0x4d97ef[_0x5c58a1(0x112)]]=_0xa2b302:_0x318315[_0x4d97ef['Bulcn']]=_0xa2b302,_0x318315;}catch(_0x2e67a7){logger['debug'](_0x5c58a1(0x16a)+_0x437310+_0x5c58a1(0x175)+_0x2e67a7);}}async[a4_0x294a1a(0xea)](_0x3b617d,_0x34e8da){const _0x3009a1=a4_0x294a1a;if(!this[_0x3009a1(0x132)]||!_0x34e8da||!_0x3b617d)return![];try{return await SessionHandler[_0x3009a1(0x194)](_0x34e8da);}catch(_0x40e56a){logger[_0x3009a1(0xf6)](_0x3009a1(0x15e)+_0x3b617d+_0x3009a1(0x175)+_0x40e56a);}}[a4_0x294a1a(0x1a2)](_0x3b085b){const _0x6d7b64=a4_0x294a1a,_0x18caa4={};_0x18caa4[_0x6d7b64(0x1bc)]=_0x6d7b64(0x172);const _0x43b06b=_0x18caa4;return{'id':_0x3b085b[_0x6d7b64(0x160)],'text':_0x3b085b[_0x6d7b64(0x18c)],'keyword':_0x3b085b[_0x6d7b64(0x182)],'started_at':_0x3b085b[_0x6d7b64(0x140)][_0x6d7b64(0xf0)](),'result':_0x43b06b[_0x6d7b64(0x1bc)]};}[a4_0x294a1a(0x12f)](_0x575df5){const _0x573963=a4_0x294a1a,_0x557ca0={'SvHLe':function(_0x3b5c54){return _0x3b5c54();}};!this['currentTest'][_0x573963(0x19d)]&&(this[_0x573963(0x150)][_0x573963(0x19d)]=[]),!_0x575df5[_0x573963(0x160)]&&(_0x575df5['stepAnalyticsId']=_0x557ca0[_0x573963(0xdc)](uuidv4),_0x575df5[_0x573963(0x140)]=new Date(),this['currentTest'][_0x573963(0x19d)][_0x573963(0x136)](this['initializeBddStep'](_0x575df5)));}[a4_0x294a1a(0x184)](_0x746d15){const _0x1c7c2d=a4_0x294a1a,_0x30c621={'JosuX':function(_0x33ce3c,_0x1ff14a){return _0x33ce3c(_0x1ff14a);},'ZWfkM':'success','gBncj':_0x1c7c2d(0x172),'GIZPf':_0x1c7c2d(0xe9),'ZkYdc':function(_0x5c0ac3,_0x2dfad9){return _0x5c0ac3-_0x2dfad9;}};let _0x2ff601=this[_0x1c7c2d(0x150)][_0x1c7c2d(0x19d)]['find'](_0x48e6c3=>_0x48e6c3['id']===_0x746d15[_0x1c7c2d(0x160)]);_0x30c621[_0x1c7c2d(0x120)](isUndefined,_0x2ff601)&&(_0x2ff601=this[_0x1c7c2d(0x1a2)](_0x746d15)),_0x2ff601[_0x1c7c2d(0x14a)]=[_0x30c621[_0x1c7c2d(0xed)],_0x30c621['gBncj']][_0x1c7c2d(0xf3)](_0x746d15['status'])?_0x30c621[_0x1c7c2d(0x18a)]:_0x746d15['status'],_0x2ff601[_0x1c7c2d(0xee)]=new Date()[_0x1c7c2d(0xf0)](),_0x2ff601[_0x1c7c2d(0xd5)]=_0x30c621[_0x1c7c2d(0x17a)](Date[_0x1c7c2d(0x156)](),_0x746d15[_0x1c7c2d(0x140)][_0x1c7c2d(0x11a)]()),_0x2ff601['failure']=_0x746d15[_0x1c7c2d(0x13c)]?_0x746d15['err'][_0x1c7c2d(0x1ba)]:null;}}const a4_0x177de3={};a4_0x177de3[a4_0x294a1a(0x104)]=O11yHelper,a4_0x177de3[a4_0x294a1a(0xf7)]=STATE_PASSED,a4_0x177de3['STATE_FAILED']=STATE_FAILED,a4_0x177de3[a4_0x294a1a(0x117)]=TEST_EVENTS,module[a4_0x294a1a(0x12a)]=a4_0x177de3;
|