browserstack-node-sdk 1.50.0 → 1.50.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function a1_0x1bd6(_0x15f0c5,_0x344813){const _0x595e67=a1_0x595e();return a1_0x1bd6=function(_0x1bd6c0,_0x179dbd){_0x1bd6c0=_0x1bd6c0-0x131;let _0x15b943=_0x595e67[_0x1bd6c0];return _0x15b943;},a1_0x1bd6(_0x15f0c5,_0x344813);}const a1_0x3dd359=a1_0x1bd6;(function(_0x4fa08e,_0x45a8ed){const _0x5c4680=a1_0x1bd6,_0x421e53=_0x4fa08e();while(!![]){try{const _0x304841=-parseInt(_0x5c4680(0x1ee))/0x1*(parseInt(_0x5c4680(0x1f3))/0x2)+-parseInt(_0x5c4680(0x16e))/0x3*(-parseInt(_0x5c4680(0x218))/0x4)+parseInt(_0x5c4680(0x198))/0x5+parseInt(_0x5c4680(0x1a2))/0x6*(parseInt(_0x5c4680(0x16d))/0x7)+-parseInt(_0x5c4680(0x21c))/0x8*(parseInt(_0x5c4680(0x1ca))/0x9)+-parseInt(_0x5c4680(0x1b8))/0xa*(parseInt(_0x5c4680(0x159))/0xb)+parseInt(_0x5c4680(0x18b))/0xc*(-parseInt(_0x5c4680(0x1b5))/0xd);if(_0x304841===_0x45a8ed)break;else _0x421e53['push'](_0x421e53['shift']());}catch(_0x105201){_0x421e53['push'](_0x421e53['shift']());}}}(a1_0x595e,0x4e1a2));const fs=require('fs'),util=require('util'),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x3dd359(0x1ab)),logger=require('../../helpers/logger')[a1_0x3dd359(0x1de)],testOpsHelper=require(a1_0x3dd359(0x19f)),requestSpy=require(a1_0x3dd359(0x1d7)),PlaywrightSessionDetails=require(a1_0x3dd359(0x142)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require('./o11yHelper'),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x3dd359(0x1e6)),AccessibilityHelper=require(a1_0x3dd359(0x1fc)),scripts=require(a1_0x3dd359(0x192)),PerformanceTester=require('../../helpers/performance/performance-tester'),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require('../../helpers/performance/constants'),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x3dd359(0x203)),testHubConstants=require(a1_0x3dd359(0x16c)),globals=require(a1_0x3dd359(0x141)),CodeceptJS=requireModule(a1_0x3dd359(0x1f9),a1_0x3dd359(0x156)),CodeceptUtils=requireModule(a1_0x3dd359(0x1b3),a1_0x3dd359(0x156)),CodeceptWebDriver=requireModule(a1_0x3dd359(0x22f),a1_0x3dd359(0x156)),CodeceptRecorder=requireModule('codeceptjs/lib/recorder.js','codeceptjs'),CodeceptPlaywright=requireModule(a1_0x3dd359(0x200),a1_0x3dd359(0x156)),playwrightMarkSessionStatus=(_0x243962,_0x2a3444,_0xd4b0f7)=>{const _0x3c263c=a1_0x3dd359,_0x17782c={'COXJY':'setSessionStatus','SdDBW':function(_0x3ed46e,_0x49cf5a){return _0x3ed46e(_0x49cf5a);}},_0x581454={};_0x581454[_0x3c263c(0x15b)]=_0x2a3444;const _0x7d02c3={};_0x7d02c3[_0x3c263c(0x21b)]=_0x17782c[_0x3c263c(0x18a)],_0x7d02c3[_0x3c263c(0x1b2)]=_0x581454;const _0x514957=_0x7d02c3;return!_0x17782c['SdDBW'](isUndefined,_0xd4b0f7)&&(_0x514957[_0x3c263c(0x1b2)][_0x3c263c(0x167)]=JSON['stringify'](_0xd4b0f7)),_0x243962[_0x3c263c(0x236)](()=>{},_0x3c263c(0x1da)+JSON[_0x3c263c(0x14a)](_0x514957));},o11ySync=PerformanceTester[a1_0x3dd359(0x1c0)](PerformanceO11yEvents[a1_0x3dd359(0x1d9)],async _0x3e48af=>{const _0x4df3dd=a1_0x3dd359,_0x5b8610={};_0x5b8610[_0x4df3dd(0x144)]=function(_0x251232,_0x41c4e2){return _0x251232===_0x41c4e2;},_0x5b8610[_0x4df3dd(0x220)]=_0x4df3dd(0x1ae);const _0x3b4395=_0x5b8610;_0x3b4395[_0x4df3dd(0x144)](_0x3e48af[_0x4df3dd(0x1cc)][_0x4df3dd(0x15d)],_0x3b4395[_0x4df3dd(0x220)])?await _0x3e48af[_0x4df3dd(0x236)](_0x3624a5=>{},testOpsHelper['getSyncScript']()):await _0x3e48af['executeScript'](testOpsHelper[_0x4df3dd(0x195)]());}),markSessionName=PerformanceTester[a1_0x3dd359(0x1c0)](PerformanceAutEvents[a1_0x3dd359(0x147)],async(_0x121426,_0x1135f7)=>{const _0x45c3a1=a1_0x3dd359,_0x3fac90={};_0x3fac90['wmxSC']=_0x45c3a1(0x197),_0x3fac90[_0x45c3a1(0x1cf)]=function(_0x348b6f,_0x143c43){return _0x348b6f===_0x143c43;},_0x3fac90[_0x45c3a1(0x214)]=_0x45c3a1(0x1ae);const _0x323817=_0x3fac90,_0x485255={};_0x485255['name']=_0x1135f7;const _0x1af982={};_0x1af982[_0x45c3a1(0x21b)]=_0x323817[_0x45c3a1(0x175)],_0x1af982[_0x45c3a1(0x1b2)]=_0x485255;const _0x1755d4=_0x1af982;_0x323817[_0x45c3a1(0x1cf)](_0x121426[_0x45c3a1(0x1cc)]['name'],_0x323817[_0x45c3a1(0x214)])?await _0x121426['executeScript'](()=>{},_0x45c3a1(0x1da)+JSON[_0x45c3a1(0x14a)](_0x1755d4)):await _0x121426[_0x45c3a1(0x236)](_0x45c3a1(0x1da)+JSON[_0x45c3a1(0x14a)](_0x1755d4));}),patchSaveScreenshot=_0x5c167e=>{const _0x15a3f3=a1_0x3dd359,_0x1c7915={'olnox':_0x15a3f3(0x190),'vSKUX':_0x15a3f3(0x22b),'YjstA':function(_0x37c68d){return _0x37c68d();},'kwvFS':function(_0x1b7d5e,_0x213849){return _0x1b7d5e(_0x213849);},'mlNgS':'Screenshot\x20path\x20not\x20found'};_0x1c7915[_0x15a3f3(0x22c)](isTrue,process[_0x15a3f3(0x231)][_0x15a3f3(0x174)])&&!_0x5c167e['patchSaveScreenshot']&&(_0x5c167e[_0x15a3f3(0x131)]=!![],_0x5c167e['initSaveScreenshot']=_0x5c167e[_0x15a3f3(0x17f)],_0x5c167e[_0x15a3f3(0x17f)]=(_0x33e00d,_0x9c2545=![])=>{const _0x1b1b7b=_0x15a3f3,_0x348f07={'JkWNS':_0x1c7915[_0x1b1b7b(0x1d3)],'lLfLe':_0x1c7915[_0x1b1b7b(0x1c2)],'yWCCX':function(_0x54528f){return _0x1c7915['YjstA'](_0x54528f);},'ITeLu':function(_0x2bc44b,_0x4f72a1){return _0x1c7915['kwvFS'](_0x2bc44b,_0x4f72a1);},'orRFI':_0x1c7915[_0x1b1b7b(0x170)]};return new Promise(function(_0x2f0f79,_0xdc1de0){const _0x136f60=_0x1b1b7b,_0xc46f85={'KBsfX':_0x348f07[_0x136f60(0x17d)],'Dupaw':_0x348f07[_0x136f60(0x215)],'QpaNR':function(_0x4d7cd6){return _0x348f07['yWCCX'](_0x4d7cd6);},'rNVJU':function(_0x3874d3,_0x4b9315){const _0x251cc3=_0x136f60;return _0x348f07[_0x251cc3(0x22e)](_0x3874d3,_0x4b9315);},'jCxIr':_0x348f07['orRFI']};_0x5c167e[_0x136f60(0x148)](_0x33e00d,_0x9c2545)[_0x136f60(0x1f0)](()=>{const _0x4b837c=_0x136f60,_0x4a2771=CodeceptUtils[_0x4b837c(0x1f7)](_0x33e00d);if(_0x4a2771){const _0x88269f=fs[_0x4b837c(0x1ce)](_0x4a2771);process[_0x4b837c(0x173)](_0x4b837c(0x20e)+process[_0x4b837c(0x196)],{'timestamp':new Date()['toISOString'](),'message':_0x88269f[_0x4b837c(0x1c4)](_0xc46f85[_0x4b837c(0x1fe)]),'kind':_0xc46f85[_0x4b837c(0x21a)]}),_0xc46f85[_0x4b837c(0x230)](_0x2f0f79);}_0xc46f85[_0x4b837c(0x1f1)](_0xdc1de0,new Error(_0xc46f85['jCxIr']));})['catch'](()=>null);});});},patchWebDriverBefore=_0x3016a2=>{const _0x509f20=a1_0x3dd359,_0x328bac={'EZXUN':function(_0x3e369e){return _0x3e369e();},'iivml':function(_0x1684b6,_0x3185ad){return _0x1684b6(_0x3185ad);},'pYCPg':function(_0x114fd4,_0x4241c2){return _0x114fd4===_0x4241c2;},'COkhH':'webdriverio','msoYx':function(_0x55bc25,_0x4aca81){return _0x55bc25===_0x4aca81;},'apCeK':_0x509f20(0x158),'qjNHm':_0x509f20(0x188)},_0x221c4a=async function(_0x108dea,_0x3c3654){const _0x1c22f8=_0x509f20;_0x328bac[_0x1c22f8(0x1e4)](isAccessibilityAutomationSession)&&!global[_0x1c22f8(0x224)]&&global['accessibilityPlatform']&&scripts[_0x1c22f8(0x21f)](_0x108dea[_0x1c22f8(0x15d)])&&_0x328bac['iivml'](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x1c22f8(0x224)]=!![],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x1c22f8(0x205)],async()=>{const _0x3c3949=_0x1c22f8;logger['debug'](_0x3c3949(0x145)+_0x108dea['class']+'\x20'+_0x108dea[_0x3c3949(0x15d)]),await AccessibilityHelper[_0x3c3949(0x146)](_0x3016a2,scripts[_0x3c3949(0x1aa)]);},{'command':_0x108dea['name']})());global[_0x1c22f8(0x224)]=![];const _0x535271=JSON[_0x1c22f8(0x1a7)](process[_0x1c22f8(0x231)][_0x1c22f8(0x177)]||'{}');if(_0x328bac[_0x1c22f8(0x219)](_0x535271?.[_0x1c22f8(0x139)]?.[_0x1c22f8(0x15d)],_0x328bac[_0x1c22f8(0x157)])&&_0x328bac[_0x1c22f8(0x168)](typeof _0x535271?.['testFramework']?.[_0x1c22f8(0x1fd)],_0x328bac['apCeK'])&&_0x535271?.[_0x1c22f8(0x139)]?.['version'][_0x1c22f8(0x209)]('7'))return _0x3c3654[_0x1c22f8(0x13b)](null,Array[_0x1c22f8(0x21d)][_0x1c22f8(0x17a)][_0x1c22f8(0x227)](arguments,0x2));return _0x3c3654[_0x1c22f8(0x13b)](this,Array['prototype'][_0x1c22f8(0x17a)][_0x1c22f8(0x227)](arguments,0x2));},_0xd8bfc1=CodeceptWebDriver['prototype'][_0x509f20(0x202)];CodeceptWebDriver[_0x509f20(0x21d)][_0x509f20(0x202)]=async function(){const _0x19d50b=_0x509f20;try{await _0xd8bfc1[_0x19d50b(0x13b)](this,arguments);}catch(_0x299986){logger[_0x19d50b(0x21e)](_0x19d50b(0x1d4)+util['format'](_0x299986));}scripts[_0x19d50b(0x1f8)][_0x19d50b(0x1d2)](_0x49f7fc=>_0x49f7fc['name']&&_0x49f7fc[_0x19d50b(0x1a8)])[_0x19d50b(0x171)](_0x9252fb=>{const _0x13fb11=_0x19d50b;this['browser'][_0x13fb11(0x19b)](_0x9252fb[_0x13fb11(0x15d)],_0x221c4a['bind'](this,_0x9252fb),_0x328bac[_0x13fb11(0x168)](_0x9252fb[_0x13fb11(0x1a8)],_0x328bac[_0x13fb11(0x1d5)]));}),_0x328bac[_0x19d50b(0x208)](processWebDriverConfig,_0x3016a2);};};function parseJwt(_0x232f13){const _0x290cee=a1_0x3dd359,_0x471f32={};_0x471f32[_0x290cee(0x17e)]='base64';const _0x4b1aed=_0x471f32;if(!_0x232f13)return null;return JSON[_0x290cee(0x1a7)](Buffer['from'](_0x232f13[_0x290cee(0x162)]('.')[0x1],_0x4b1aed[_0x290cee(0x17e)])[_0x290cee(0x1c4)]());}const patchPlaywrightBefore=()=>{const _0x3236bf=a1_0x3dd359,_0x234ea2={'TaFTX':function(_0x991686){return _0x991686();},'aygme':_0x3236bf(0x180),'lUpOH':_0x3236bf(0x13d),'ArDHc':function(_0x2b8c90){return _0x2b8c90();},'JJGYj':function(_0x16fa01,_0x13f162){return _0x16fa01(_0x13f162);},'Qsztz':function(_0x51d01d,_0xed9b95){return _0x51d01d+_0xed9b95;},'OjWLE':_0x3236bf(0x179),'cnJoP':function(_0x2c78a9){return _0x2c78a9();}};PlaywrightSessionDetails[_0x3236bf(0x1fb)]();const _0x4c340a=CodeceptPlaywright['prototype']['_before'];CodeceptPlaywright['prototype']['_before']=async function(){const _0x207687=_0x3236bf,_0x3df653={'Jhmee':function(_0x427bd0){const _0x54fad5=a1_0x1bd6;return _0x234ea2[_0x54fad5(0x1ef)](_0x427bd0);},'nOdSy':_0x234ea2['aygme'],'tMzGn':_0x234ea2[_0x207687(0x161)],'LHJmE':function(_0xf84ae3){const _0x2f0537=_0x207687;return _0x234ea2[_0x2f0537(0x149)](_0xf84ae3);},'hZdDS':function(_0x59d757,_0xf25ebb){const _0x16666b=_0x207687;return _0x234ea2[_0x16666b(0x1a6)](_0x59d757,_0xf25ebb);},'tLFuq':function(_0x4bfa8d){const _0x3565c0=_0x207687;return _0x234ea2[_0x3565c0(0x1ef)](_0x4bfa8d);},'vvAym':function(_0x3f8bef,_0x3a9de6){const _0x350d33=_0x207687;return _0x234ea2[_0x350d33(0x193)](_0x3f8bef,_0x3a9de6);},'FJmTb':_0x234ea2[_0x207687(0x1a4)]};this[_0x207687(0x15c)]=await this['browser'][_0x207687(0x1b7)]()[0x0];const _0x2acbd9=async()=>{const _0x4d63e5=_0x207687,_0xf93284={'ikNQL':function(_0x13589e){const _0x4ff7fe=a1_0x1bd6;return _0x3df653[_0x4ff7fe(0x1f4)](_0x13589e);},'LewlD':_0x3df653[_0x4d63e5(0x18c)]},_0x433104=this[_0x4d63e5(0x163)]&&this['config'][_0x4d63e5(0x1fa)]&&this[_0x4d63e5(0x163)][_0x4d63e5(0x1fa)][_0x4d63e5(0x176)]&&Array[_0x4d63e5(0x1c3)](this[_0x4d63e5(0x163)][_0x4d63e5(0x1fa)][_0x4d63e5(0x176)])&&this['config']['chromium'][_0x4d63e5(0x176)][_0x4d63e5(0x238)](_0x3df653[_0x4d63e5(0x1c1)]);if(_0x3df653['LHJmE'](isAccessibilityAutomationSession)&&!_0x433104)try{const _0x4114f4=_0x3df653['hZdDS'](parseJwt,process[_0x4d63e5(0x231)][_0x4d63e5(0x186)]);if(_0x4114f4&&_0x4114f4[_0x4d63e5(0x1ac)]&&_0x4114f4[_0x4d63e5(0x1ac)]['domForge']){const _0x13fd55=this[_0x4d63e5(0x15c)][_0x4d63e5(0x140)]['bind'](this[_0x4d63e5(0x15c)]);this[_0x4d63e5(0x15c)][_0x4d63e5(0x140)]=async function(){const _0x50f125=_0x4d63e5,_0xa96e15=await _0xf93284[_0x50f125(0x14d)](_0x13fd55),_0xd2381c=[];for(const _0x23152f of _0xa96e15){try{const _0x2336c9=await _0x23152f[_0x50f125(0x18d)]();!_0x2336c9[_0x50f125(0x209)](_0xf93284[_0x50f125(0x1f5)])&&_0xd2381c[_0x50f125(0x14c)](_0x23152f);}catch(_0x37137d){_0xd2381c[_0x50f125(0x14c)](_0x23152f);}}return _0xd2381c;};}if(!_0x3df653['tLFuq'](isBrowserstackInfra)){const _0x24c0b0=await this['page']['url']();if(_0x24c0b0[_0x4d63e5(0x209)](_0x3df653[_0x4d63e5(0x18c)])){const _0x643aef=await this[_0x4d63e5(0x15c)]['pages']();this['_setPage'](_0x643aef[0x0]);}}}catch(_0x712f84){logger[_0x4d63e5(0x21e)](_0x4d63e5(0x19c)+_0x712f84[_0x4d63e5(0x13f)]+(_0x712f84[_0x4d63e5(0x1af)]?_0x3df653[_0x4d63e5(0x160)](_0x3df653['FJmTb'],_0x712f84['stack']):''));}};_0x234ea2[_0x207687(0x1ef)](isBrowserstackInfra)&&await _0x234ea2['cnJoP'](_0x2acbd9),await _0x4c340a[_0x207687(0x13b)](this,arguments),!_0x234ea2[_0x207687(0x1ef)](isBrowserstackInfra)&&await _0x234ea2[_0x207687(0x1a3)](_0x2acbd9);};},getCodeceptDriver=()=>{const _0x187e2d=a1_0x3dd359,_0x2ccaa6={};_0x2ccaa6['LRXom']='WebDriver',_0x2ccaa6[_0x187e2d(0x207)]=_0x187e2d(0x1ae),_0x2ccaa6[_0x187e2d(0x199)]='Puppeteer',_0x2ccaa6[_0x187e2d(0x194)]=_0x187e2d(0x132);const _0x7a2bf5=_0x2ccaa6,_0x45775a=[_0x7a2bf5['LRXom'],_0x7a2bf5[_0x187e2d(0x207)],_0x7a2bf5[_0x187e2d(0x199)],_0x7a2bf5[_0x187e2d(0x194)]],_0xe7fcc7=_0x45775a[_0x187e2d(0x1b0)](_0x5a9f4c=>!!CodeceptJS[_0x187e2d(0x14b)]['helpers'](_0x5a9f4c));if(!_0xe7fcc7)return null;return CodeceptJS[_0x187e2d(0x14b)][_0x187e2d(0x165)](_0xe7fcc7);};function a1_0x595e(){const _0x9083f6=['QpaNR','env','TuEMY','test-skipped','uPBGc','__workerDetails','executeScript','HOOK_RUN_FINISHED','includes','patchSaveScreenshot','TestCafe','TEST_RUN_FINISHED','GET_RESULTS','getResultsSummary','format','BYvMh','started','testFramework','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','apply','failed','--auto-open-devtools-for-tabs','TEST_LOG','message','pages','../../helpers/globals.js','../../bin/playwright/sessionDetails','title','Yuxva','Performing\x20scan\x20for\x20','browserStackExecuteDriver','SESSION_NAME','initSaveScreenshot','ArDHc','stringify','container','push','ikNQL','dispatcher','test-before','qVevI','test-started','captureError','TEST_RUN_SKIPPED','rOHYh','setGlobal','codeceptjs','COkhH','string','22LqRaGn','SDK_PRE_TEST','status','browserContext','name','SESSION_STATUS','after','vvAym','lUpOH','split','config','stopMonitoring','helpers','Suite','reason','msoYx','__skipSessionStatus','exports','__driver','../../helpers/testhub/constants.js','126GeNSwV','597mviXQK','mCuFM','mlNgS','forEach','HJAGx','emit','BS_TESTOPS_ALLOW_SCREENSHOTS','wmxSC','args','FRAMEWORK_DETAILS','saveTestResults','\x0aStack:\x20','slice','accessibilityPlatform','JtxcJ','JkWNS','qTNmd','saveScreenshot','devtools://','ENV_VAR','YCwjR','test-failed','stop','thTestRunUuid','BS_A11Y_JWT','Gyqwl','Element','nvuxb','COXJY','4344SDiMHF','nOdSy','url','oGwxI','ctx','base64','zbgoB','../../helpers/accessibility-automation/scripts','Qsztz','jZgAe','getSyncScript','pid','setSessionName','2819010tZAYpA','PJtoL','fhMFH','overwriteCommand','Failed\x20to\x20patch\x20pages\x20method\x20in\x20browserContext\x20for\x20a11y\x20domForge:\x20','captureEvent','titlePath','../../helpers/test-observability/utils','INFO','bAzuB','204492IQwahB','cnJoP','OjWLE','SDK_PRE_INITIALIZE','JJGYj','parse','class','quftV','performScan','../../helpers/helper','a11y_core_config','hFYiy','Playwright','stack','find','getAccessibilityResults','arguments','codeceptjs/lib/utils.js','FLYjO','2769UdTJZX','KnEne','contexts','2742670WVjYjy','EslPN','hiGWS','passed','before','aVPkm','browserstackTestName','TXdHI','measureWrapper','tMzGn','vSKUX','isArray','toString','BXCKZ','test','mnoFt','RZxmi','bddStepStart','18RZbGnj','comment','constructor','end','readFileSync','SeuqR','hook','HOOK_RUN_STARTED','filter','olnox','Failed\x20to\x20execute\x20_before:\x20','qjNHm','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','../../helpers/request-spy','TEST_RUN_STARTED','SYNC','browserstack_executor:\x20','currentTest','BROWSERSTACK_TESTHUB_JWT','bBmZN','winstonLogger','SDK_TEST','CxKJS','bddStep-before','KhMEE','bddStep-after','EZXUN','test-after','../../helpers/accessibility-automation/helper','VsAHc','JPmwK','hrzok','FiQko','PROWr','restore','all','152687MwAdBO','TaFTX','then','rNVJU','BROWSERSTACK_TESTHUB_UUID','2aCaBMp','Jhmee','LewlD','skipSessionStatus','screenshotOutputFolder','commandsToWrap','codeceptjs/lib/index.js','chromium','patch','../../bin/playwright/accessibility-helper','version','KBsfX','enabled','codeceptjs/lib/helper/Playwright.js','fireEvent','_before','./helper.js','bddStep','PERFORM_SCAN','bEuOo','qtTfd','iivml','startsWith','afterTest','getResults','thBuildUuid','start','bs:addLog:','command','test-passed','SDK_POST_TEST','warn','SDK_HOOK','moMpw','lLfLe','skipped','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','3892jSwQVq','pYCPg','Dupaw','action','1090688iQULka','prototype','debug','shouldWrapCommand','zipHc','thJwtToken','hccRW','add','bstackAllyScanning','event','RxDsT','call','getAccessibilityResultsSummary','hookType','startMonitoring','TEST_SCREENSHOT','kwvFS','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','ITeLu','codeceptjs/lib/helper/WebDriver.js'];a1_0x595e=function(){return _0x9083f6;};return a1_0x595e();}module[a1_0x3dd359(0x16a)]=function(_0x44a3cf){const _0x5cff04=a1_0x3dd359,_0x4f154b={'EslPN':function(_0x2db837){return _0x2db837();},'VsAHc':function(_0x4fd74f,_0x4727dc){return _0x4fd74f(_0x4727dc);},'nvuxb':_0x5cff04(0x228),'HnZHZ':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','YCwjR':_0x5cff04(0x1b1),'PROWr':_0x5cff04(0x1d6),'hccRW':function(_0x869804,_0x27ad84){return _0x869804(_0x27ad84);},'fhMFH':'hook-started','FiQko':'hook-passed','JtxcJ':'hook-failed','CxKJS':_0x5cff04(0x1be),'BYvMh':_0x5cff04(0x14f),'HJAGx':function(_0x43eb7f,_0x4259d2,_0x3317dd){return _0x43eb7f(_0x4259d2,_0x3317dd);},'mCuFM':function(_0x10f74f,_0x37963d){return _0x10f74f(_0x37963d);},'hFYiy':_0x5cff04(0x151),'oGwxI':function(_0x23e7eb,_0x6f1b0c,_0x5975ed){return _0x23e7eb(_0x6f1b0c,_0x5975ed);},'Gyqwl':function(_0x163a4a){return _0x163a4a();},'hiGWS':_0x5cff04(0x210),'zbgoB':function(_0x188571){return _0x188571();},'aVPkm':function(_0x493fcc,_0x2e9e8f,_0x5cd05d,_0x51a74e){return _0x493fcc(_0x2e9e8f,_0x5cd05d,_0x51a74e);},'hrzok':function(_0x37b2e6,_0x1d1b8e){return _0x37b2e6===_0x1d1b8e;},'JPmwK':_0x5cff04(0x166),'EjbJK':_0x5cff04(0x183),'RZxmi':_0x5cff04(0x233),'bEuOo':_0x5cff04(0x20a),'cvyVi':function(_0x21a4a9,_0x53dd3c,_0x429716){return _0x21a4a9(_0x53dd3c,_0x429716);},'KhMEE':_0x5cff04(0x13a),'quftV':_0x5cff04(0x1e5),'TXdHI':_0x5cff04(0x1a0),'bBmZN':_0x5cff04(0x13e),'mnoFt':'step-comment','DmsLM':_0x5cff04(0x1e1),'qVevI':_0x5cff04(0x1e3),'bAzuB':function(_0x1cc0ba){return _0x1cc0ba();},'KnEne':'Playwright'};_0x44a3cf[_0x5cff04(0x1f6)]&&(global[_0x5cff04(0x169)]=_0x44a3cf['skipSessionStatus']);PerformanceTester[_0x5cff04(0x22a)]();const _0x5d02b1=_0x4f154b[_0x5cff04(0x1a1)](getCodeceptDriver),_0x5909ba=new O11yHelper(_0x5d02b1,_0x44a3cf),_0x3d5786=!!CodeceptJS[_0x5cff04(0x14b)][_0x5cff04(0x165)](_0x4f154b[_0x5cff04(0x1b6)]);global[_0x5cff04(0x16b)]=_0x5d02b1,_0x5d02b1&&(PerformanceTester[_0x5cff04(0x1c0)](PerformanceEvents[_0x5cff04(0x1a5)],()=>{const _0x3db819=_0x5cff04;_0x3d5786?_0x4f154b['EslPN'](patchPlaywrightBefore):_0x4f154b[_0x3db819(0x1e7)](patchWebDriverBefore,_0x5d02b1);})(),PerformanceTester[_0x5cff04(0x1c0)](PerformanceEvents['SDK_POST_INITIALIZE'],()=>{const _0x22f1ec=_0x5cff04,_0x2dd4bd={};_0x2dd4bd[_0x22f1ec(0x1c5)]=_0x4f154b[_0x22f1ec(0x182)],_0x2dd4bd[_0x22f1ec(0x232)]=_0x4f154b[_0x22f1ec(0x1eb)];const _0x9ecd2a=_0x2dd4bd;_0x5d02b1[_0x22f1ec(0x228)]=async()=>{const _0x50971e=_0x22f1ec;if(global[_0x50971e(0x17b)]){const _0x998f22={};return _0x998f22[_0x50971e(0x20f)]=_0x4f154b[_0x50971e(0x189)],await PerformanceTester[_0x50971e(0x1c0)](PerformanceA11yEvents[_0x50971e(0x205)],async()=>{const _0x2c2de6=_0x50971e;return await AccessibilityHelper[_0x2c2de6(0x146)](_0x5d02b1,scripts[_0x2c2de6(0x1aa)]);},_0x998f22)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x2d5313=_0x50971e;return await AccessibilityHelper['browserStackExecuteDriver'](_0x5d02b1,scripts[_0x2d5313(0x135)]);})();}return logger[_0x50971e(0x212)](_0x4f154b['HnZHZ']),{};},_0x5d02b1[_0x22f1ec(0x1b1)]=async()=>{const _0x447648=_0x22f1ec;if(global[_0x447648(0x17b)]){const _0x5e4122={};return _0x5e4122[_0x447648(0x20f)]=_0x9ecd2a[_0x447648(0x1c5)],await PerformanceTester[_0x447648(0x1c0)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x4a3b29=_0x447648;return await AccessibilityHelper[_0x4a3b29(0x146)](_0x5d02b1,scripts[_0x4a3b29(0x1aa)]);},_0x5e4122)(),await PerformanceTester[_0x447648(0x1c0)](PerformanceA11yEvents[_0x447648(0x134)],async()=>{const _0x275ec5=_0x447648;return await AccessibilityHelper['browserStackExecuteDriver'](_0x5d02b1,scripts[_0x275ec5(0x20b)]);})();}return logger['warn'](_0x9ecd2a[_0x447648(0x232)]),{};},_0x4f154b[_0x22f1ec(0x222)](patchSaveScreenshot,_0x5d02b1);})()),CodeceptJS[_0x5cff04(0x225)][_0x5cff04(0x14e)]['on'](CodeceptJS[_0x5cff04(0x225)][_0x5cff04(0x1ed)][_0x5cff04(0x1bc)],()=>{const _0x49b8c9=_0x5cff04;PerformanceTester['start'](PerformanceEvents['SDK_PRE_TEST']);try{_0x5909ba[_0x49b8c9(0x20d)](),testOpsHelper['addRequestSpy'](),PerformanceTester[_0x49b8c9(0x1cd)](PerformanceEvents[_0x49b8c9(0x15a)]);}catch(_0x1f1d58){PerformanceTester['captureError'](_0x1f1d58),PerformanceTester['end'](PerformanceEvents[_0x49b8c9(0x15a)],![],_0x1f1d58);}}),CodeceptJS['event'][_0x5cff04(0x14e)]['on'](CodeceptJS[_0x5cff04(0x225)][_0x5cff04(0x1ed)]['after'],async()=>{const _0x45bd60=_0x5cff04;PerformanceTester[_0x45bd60(0x20d)](PerformanceEvents[_0x45bd60(0x211)]);try{requestSpy[_0x45bd60(0x1ec)](),await _0x5909ba[_0x45bd60(0x184)](),PerformanceTester[_0x45bd60(0x1cd)](PerformanceEvents['SDK_POST_TEST']);}catch(_0x334a08){PerformanceTester[_0x45bd60(0x152)](_0x334a08),PerformanceTester['end'](PerformanceEvents[_0x45bd60(0x211)],![],_0x334a08);}finally{PerformanceTester[_0x45bd60(0x164)]();}}),CodeceptJS[_0x5cff04(0x225)]['dispatcher']['on'](CodeceptJS[_0x5cff04(0x225)]['hook']['started'],_0x5326c7=>{const _0x2a402a=_0x5cff04;PerformanceTester['start'](PerformanceEvents[_0x2a402a(0x213)]);try{const _0x55c2b9=_0x5326c7[_0x2a402a(0x18f)][_0x2a402a(0x1c6)],_0xbd20f7=_0x5909ba[_0x2a402a(0x19d)](TEST_EVENTS[_0x2a402a(0x1d1)],_0x55c2b9);CodeceptRecorder[_0x2a402a(0x223)](()=>_0x5909ba['fireEvent'](TEST_EVENTS[_0x2a402a(0x1d1)],_0xbd20f7));const _0x5e75e8={};_0x5e75e8[_0x2a402a(0x229)]=_0x4f154b[_0x2a402a(0x19a)],PerformanceTester[_0x2a402a(0x1cd)](PerformanceEvents[_0x2a402a(0x213)],!![],null,_0x5e75e8);}catch(_0x4df741){const _0x2cff76={};_0x2cff76[_0x2a402a(0x229)]=_0x4f154b[_0x2a402a(0x19a)],PerformanceTester[_0x2a402a(0x1cd)](PerformanceEvents[_0x2a402a(0x213)],![],_0x4df741,_0x2cff76),PerformanceTester[_0x2a402a(0x152)](_0x4df741);}}),CodeceptJS[_0x5cff04(0x225)][_0x5cff04(0x14e)]['on'](CodeceptJS[_0x5cff04(0x225)][_0x5cff04(0x1d0)][_0x5cff04(0x1bb)],_0x155f37=>{const _0x4376b6=_0x5cff04,_0x1c1e8f={};_0x1c1e8f['hookType']=_0x4f154b[_0x4376b6(0x1ea)],PerformanceTester[_0x4376b6(0x20d)](PerformanceHookEvents[_0x4376b6(0x213)],!![],null,_0x1c1e8f);try{const _0x1f2ae1=_0x155f37[_0x4376b6(0x18f)][_0x4376b6(0x1c6)],_0x239c11=_0x5909ba[_0x4376b6(0x19d)](TEST_EVENTS[_0x4376b6(0x237)],_0x1f2ae1);CodeceptRecorder['add'](()=>_0x5909ba[_0x4376b6(0x201)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x239c11));const _0x3452a0={};_0x3452a0['hookType']=_0x4f154b[_0x4376b6(0x1ea)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x3452a0);}catch(_0x402453){PerformanceTester[_0x4376b6(0x152)](_0x402453);const _0x31a6ab={};_0x31a6ab['hookType']=_0x4f154b[_0x4376b6(0x1ea)],PerformanceTester[_0x4376b6(0x1cd)](PerformanceHookEvents[_0x4376b6(0x213)],![],_0x402453,_0x31a6ab);}}),CodeceptJS[_0x5cff04(0x225)][_0x5cff04(0x14e)]['on'](CodeceptJS['event']['hook'][_0x5cff04(0x13c)],async(_0x2f674a,_0x5e2474)=>{const _0x3b1ba3=_0x5cff04;PerformanceTester['start'](PerformanceHookEvents[_0x3b1ba3(0x213)]);try{const _0x51cfb6=_0x2f674a[_0x3b1ba3(0x18f)][_0x3b1ba3(0x1c6)],_0x471ff6=_0x5909ba[_0x3b1ba3(0x19d)](TEST_EVENTS[_0x3b1ba3(0x237)],_0x51cfb6,_0x5e2474);CodeceptRecorder[_0x3b1ba3(0x223)](()=>_0x5909ba[_0x3b1ba3(0x201)](TEST_EVENTS[_0x3b1ba3(0x237)],_0x471ff6));const _0x538960={};_0x538960[_0x3b1ba3(0x229)]=_0x4f154b[_0x3b1ba3(0x17c)],PerformanceTester[_0x3b1ba3(0x20d)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x538960);}catch(_0x53bb4b){PerformanceTester['captureError'](_0x53bb4b);const _0x2f5d04={};_0x2f5d04[_0x3b1ba3(0x229)]=_0x4f154b[_0x3b1ba3(0x17c)],PerformanceTester['end'](PerformanceHookEvents[_0x3b1ba3(0x213)],![],_0x53bb4b,_0x2f5d04);}const _0x5bc5a3={};_0x5bc5a3[_0x3b1ba3(0x229)]=_0x4f154b[_0x3b1ba3(0x17c)],PerformanceTester[_0x3b1ba3(0x1cd)](PerformanceHookEvents[_0x3b1ba3(0x213)],!![],null,_0x5bc5a3);}),CodeceptJS[_0x5cff04(0x225)][_0x5cff04(0x14e)]['on'](CodeceptJS[_0x5cff04(0x225)][_0x5cff04(0x1c6)]['before'],_0x447032=>{const _0x5952b1=_0x5cff04;PerformanceTester['start'](PerformanceHookEvents[_0x5952b1(0x213)]);try{globals[_0x5952b1(0x155)](_0x4f154b['CxKJS'],_0x447032[_0x5952b1(0x143)]);_0x4f154b['EslPN'](isBrowserstackInfra)&&(_0x3d5786&&(global[_0x5952b1(0x235)]={'currentTest':{'name':_0x447032[_0x5952b1(0x143)],'testInfo':{'titlePath':_0x447032['titlePath']()}}}));const _0x11d3cc={};_0x11d3cc['hookType']=_0x4f154b[_0x5952b1(0x137)],PerformanceTester[_0x5952b1(0x1cd)](PerformanceHookEvents[_0x5952b1(0x213)],!![],null,_0x11d3cc);}catch(_0x3a2da9){PerformanceTester[_0x5952b1(0x152)](_0x3a2da9);const _0x2c3f81={};_0x2c3f81[_0x5952b1(0x229)]=_0x4f154b[_0x5952b1(0x137)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x3a2da9,_0x2c3f81);}}),CodeceptJS[_0x5cff04(0x225)][_0x5cff04(0x14e)]['on'](CodeceptJS[_0x5cff04(0x225)][_0x5cff04(0x1c6)][_0x5cff04(0x138)],_0x1a79c6=>{const _0x39458e=_0x5cff04;PerformanceTester[_0x39458e(0x20d)](PerformanceHookEvents[_0x39458e(0x213)]);try{globals[_0x39458e(0x155)](_0x4f154b[_0x39458e(0x1e0)],_0x1a79c6[_0x39458e(0x143)]);const _0x388d4c=_0x5909ba[_0x39458e(0x19d)](TEST_EVENTS['TEST_RUN_STARTED'],_0x1a79c6);CodeceptRecorder['add'](()=>_0x5909ba['fireEvent'](TEST_EVENTS[_0x39458e(0x1d8)],_0x388d4c)),CodeceptRecorder[_0x39458e(0x223)](async()=>{const _0x1115fe=_0x39458e;_0x4f154b[_0x1115fe(0x1b9)](isBrowserstackInfra)&&(!_0x4f154b['VsAHc'](isTrue,_0x44a3cf['skipSessionName'])&&await _0x4f154b[_0x1115fe(0x172)](markSessionName,_0x5d02b1,_0x1a79c6[_0x1115fe(0x143)]),_0x5909ba[_0x1115fe(0x1ff)]&&await _0x4f154b[_0x1115fe(0x16f)](o11ySync,_0x5d02b1));});}catch(_0x56ad0f){const _0x7c9ac4={};_0x7c9ac4[_0x39458e(0x229)]=_0x4f154b[_0x39458e(0x1ad)],PerformanceTester[_0x39458e(0x1cd)](PerformanceHookEvents['SDK_HOOK'],![],_0x56ad0f,_0x7c9ac4),PerformanceTester[_0x39458e(0x152)](_0x56ad0f);}const _0x3c94f6={};_0x3c94f6[_0x39458e(0x229)]=_0x4f154b[_0x39458e(0x1ad)],PerformanceTester[_0x39458e(0x1cd)](PerformanceHookEvents[_0x39458e(0x213)],!![],null,_0x3c94f6);}),CodeceptJS['event'][_0x5cff04(0x14e)]['on'](CodeceptJS[_0x5cff04(0x225)][_0x5cff04(0x1c6)][_0x5cff04(0x1bb)],_0x1ed788=>{const _0x419f0e=_0x5cff04,_0x225779={'uPBGc':function(_0x1e0c26,_0x3f95fd,_0x368a3c){return _0x4f154b['HJAGx'](_0x1e0c26,_0x3f95fd,_0x368a3c);},'rOHYh':function(_0x41831c,_0x1041c2,_0x33d4e0){const _0x3bef8b=a1_0x1bd6;return _0x4f154b[_0x3bef8b(0x18e)](_0x41831c,_0x1041c2,_0x33d4e0);},'FLYjO':function(_0x76fa43){const _0x27500b=a1_0x1bd6;return _0x4f154b[_0x27500b(0x187)](_0x76fa43);}};PerformanceTester['start'](PerformanceHookEvents[_0x419f0e(0x213)]);try{const _0x1c252e=_0x5909ba['captureEvent'](TEST_EVENTS[_0x419f0e(0x133)],_0x1ed788);CodeceptRecorder['add'](()=>_0x5909ba[_0x419f0e(0x201)](TEST_EVENTS[_0x419f0e(0x133)],_0x1c252e)),CodeceptRecorder[_0x419f0e(0x223)](async()=>{const _0x19fb72=_0x419f0e;_0x225779[_0x19fb72(0x1b4)](isBrowserstackInfra)&&await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x19fb72(0x15e)],async()=>{const _0x1d392b=_0x19fb72;_0x3d5786?await _0x225779[_0x1d392b(0x234)](playwrightMarkSessionStatus,_0x5d02b1,STATE_PASSED):await _0x225779[_0x1d392b(0x154)](markSessionStatus,_0x5d02b1,STATE_PASSED);})();}),PerformanceTester[_0x419f0e(0x1cd)](PerformanceEvents['SDK_TEST']);}catch(_0x22efcb){PerformanceTester['captureError'](_0x22efcb);const _0x3e805e={};_0x3e805e[_0x419f0e(0x229)]=_0x4f154b[_0x419f0e(0x1ba)],PerformanceTester['end'](PerformanceHookEvents[_0x419f0e(0x213)],![],_0x22efcb,_0x3e805e),PerformanceTester[_0x419f0e(0x1cd)](PerformanceEvents[_0x419f0e(0x1df)],![],_0x22efcb);}const _0x31345c={};_0x31345c[_0x419f0e(0x229)]=_0x4f154b[_0x419f0e(0x1ba)],PerformanceTester['end'](PerformanceHookEvents[_0x419f0e(0x213)],!![],null,_0x31345c);}),CodeceptJS[_0x5cff04(0x225)][_0x5cff04(0x14e)]['on'](CodeceptJS[_0x5cff04(0x225)][_0x5cff04(0x1c6)][_0x5cff04(0x13c)],(_0x139d6c,_0x38bc17)=>{const _0x2b3187=_0x5cff04;PerformanceTester[_0x2b3187(0x20d)](PerformanceHookEvents[_0x2b3187(0x213)]);try{if(_0x4f154b[_0x2b3187(0x1e9)](_0x139d6c['constructor'][_0x2b3187(0x15d)],_0x4f154b[_0x2b3187(0x1e8)])){const _0x359819=_0x5909ba['captureEvent'](TEST_EVENTS[_0x2b3187(0x153)],_0x139d6c['ctx'][_0x2b3187(0x1db)]);CodeceptRecorder[_0x2b3187(0x223)](()=>_0x5909ba[_0x2b3187(0x201)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x359819));}else{const _0x1aae87=_0x5909ba[_0x2b3187(0x19d)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x139d6c,_0x38bc17);CodeceptRecorder[_0x2b3187(0x223)](()=>{const _0x385de0=_0x2b3187;try{_0x5909ba[_0x385de0(0x201)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x1aae87);}catch(_0x95ead5){logger['debug'](_0x385de0(0x217)+util[_0x385de0(0x136)](_0x95ead5)),PerformanceTester[_0x385de0(0x1cd)](PerformanceEvents[_0x385de0(0x1df)],![],_0x95ead5);}}),CodeceptRecorder[_0x2b3187(0x223)](async()=>{const _0x258d40=_0x2b3187;try{_0x4f154b[_0x258d40(0x191)](isBrowserstackInfra)&&(_0x3d5786?await _0x4f154b[_0x258d40(0x1bd)](playwrightMarkSessionStatus,_0x5d02b1,STATE_FAILED,_0x38bc17):await _0x4f154b['aVPkm'](markSessionStatus,_0x5d02b1,STATE_FAILED,_0x38bc17));}catch(_0xe7aa44){logger[_0x258d40(0x21e)]('Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20'+util[_0x258d40(0x136)](_0xe7aa44)),PerformanceTester[_0x258d40(0x1cd)](PerformanceEvents[_0x258d40(0x1df)],![],_0xe7aa44);}});}PerformanceTester[_0x2b3187(0x1cd)](PerformanceEvents[_0x2b3187(0x1df)]);}catch(_0x2ad73){PerformanceTester[_0x2b3187(0x152)](_0x2ad73);const _0x25db9c={};_0x25db9c['hookType']=_0x4f154b['EjbJK'],PerformanceTester[_0x2b3187(0x1cd)](PerformanceHookEvents[_0x2b3187(0x213)],![],_0x2ad73,_0x25db9c),PerformanceTester['end'](PerformanceEvents['SDK_TEST'],![],_0x2ad73);}const _0x8aacc4={};_0x8aacc4[_0x2b3187(0x229)]=_0x4f154b['EjbJK'],PerformanceTester[_0x2b3187(0x1cd)](PerformanceHookEvents[_0x2b3187(0x213)],!![],null,_0x8aacc4);}),CodeceptJS[_0x5cff04(0x225)][_0x5cff04(0x14e)]['on'](CodeceptJS[_0x5cff04(0x225)][_0x5cff04(0x1c6)][_0x5cff04(0x216)],_0x4ff532=>{const _0x3c5273=_0x5cff04;PerformanceTester[_0x3c5273(0x20d)](PerformanceHookEvents[_0x3c5273(0x213)]);try{const _0x40cca2=_0x5909ba[_0x3c5273(0x19d)](TEST_EVENTS[_0x3c5273(0x153)],_0x4ff532);CodeceptRecorder[_0x3c5273(0x223)](()=>_0x5909ba[_0x3c5273(0x201)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x40cca2)),PerformanceTester[_0x3c5273(0x1cd)](PerformanceEvents[_0x3c5273(0x1df)]);}catch(_0x3a161c){PerformanceTester[_0x3c5273(0x152)](_0x3a161c),PerformanceTester['end'](PerformanceEvents['SDK_TEST'],![],_0x3a161c);const _0x2be33b={};_0x2be33b['hookType']=_0x4f154b[_0x3c5273(0x1c8)],PerformanceTester['end'](PerformanceHookEvents[_0x3c5273(0x213)],![],_0x3a161c,_0x2be33b);}const _0x95658={};_0x95658[_0x3c5273(0x229)]=_0x4f154b['RZxmi'],PerformanceTester[_0x3c5273(0x1cd)](PerformanceHookEvents[_0x3c5273(0x213)],!![],null,_0x95658);}),CodeceptJS[_0x5cff04(0x225)]['dispatcher']['on'](CodeceptJS[_0x5cff04(0x225)]['test']['after'],async(_0x20b906,_0xf30ea1)=>{const _0x4ad9b7=_0x5cff04,_0x375ba7={};_0x375ba7[_0x4ad9b7(0x226)]=_0x4f154b[_0x4ad9b7(0x206)];const _0x37d358=_0x375ba7;try{PerformanceTester[_0x4ad9b7(0x20d)](PerformanceHookEvents[_0x4ad9b7(0x213)]);const _0x17761f=_0x4f154b['cvyVi'](shouldScanTestForAccessibility,_0x20b906[_0x4ad9b7(0x19e)](),!![]);if(_0x4f154b[_0x4ad9b7(0x191)](isAccessibilityAutomationSession)&&global[_0x4ad9b7(0x17b)]&&_0x17761f){const _0x3140ff={};_0x3140ff[_0x4ad9b7(0x185)]=_0x20b906['testAnalyticsId'],_0x3140ff[_0x4ad9b7(0x20c)]=process[_0x4ad9b7(0x231)][testHubConstants[_0x4ad9b7(0x181)][_0x4ad9b7(0x1f2)]],_0x3140ff[_0x4ad9b7(0x221)]=process[_0x4ad9b7(0x231)][testHubConstants['ENV_VAR'][_0x4ad9b7(0x1dc)]];const _0x3eabd4=_0x3140ff;logger[_0x4ad9b7(0x21e)](_0x4ad9b7(0x22d)+JSON[_0x4ad9b7(0x14a)](_0x3eabd4)),CodeceptRecorder[_0x4ad9b7(0x223)](async()=>{const _0x4ec3af=_0x4ad9b7,_0x418f4b={};_0x418f4b[_0x4ec3af(0x20f)]=_0x37d358[_0x4ec3af(0x226)],await PerformanceTester[_0x4ec3af(0x1c0)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x2e5e66=_0x4ec3af;await AccessibilityHelper[_0x2e5e66(0x146)](_0x5d02b1,scripts['performScan']);},_0x418f4b)(),await PerformanceTester[_0x4ec3af(0x1c0)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x32d7d4=_0x4ec3af;await AccessibilityHelper[_0x32d7d4(0x146)](_0x5d02b1,scripts[_0x32d7d4(0x178)],_0x3eabd4);})();}),logger['info'](_0x4f154b[_0x4ad9b7(0x1e2)]);}const _0x1951e4={};_0x1951e4[_0x4ad9b7(0x229)]=_0x4f154b[_0x4ad9b7(0x1a9)],PerformanceTester[_0x4ad9b7(0x1cd)](PerformanceHookEvents[_0x4ad9b7(0x213)],!![],null,_0x1951e4);}catch(_0xa52a0d){PerformanceTester[_0x4ad9b7(0x152)](_0xa52a0d);const _0x4bbc16={};_0x4bbc16[_0x4ad9b7(0x229)]=_0x4f154b[_0x4ad9b7(0x1a9)],PerformanceTester[_0x4ad9b7(0x1cd)](PerformanceHookEvents['SDK_HOOK'],![],_0xa52a0d,_0x4bbc16);}}),CodeceptJS[_0x5cff04(0x225)]['dispatcher']['on'](CodeceptJS[_0x5cff04(0x225)]['step'][_0x5cff04(0x1cb)],_0x550b89=>{const _0xed26d2=_0x5cff04;PerformanceTester[_0xed26d2(0x20d)](PerformanceHookEvents[_0xed26d2(0x213)]);try{process[_0xed26d2(0x173)](_0xed26d2(0x20e)+process[_0xed26d2(0x196)],{'timestamp':new Date()['toISOString'](),'level':_0x4f154b[_0xed26d2(0x1bf)],'message':_0x550b89,'kind':_0x4f154b[_0xed26d2(0x1dd)],'http_response':{}});}catch(_0x5f1037){PerformanceTester['captureError'](_0x5f1037);const _0x2c9126={};_0x2c9126['hookType']=_0x4f154b[_0xed26d2(0x1c7)],PerformanceTester[_0xed26d2(0x1cd)](PerformanceHookEvents['SDK_HOOK'],![],_0x5f1037,_0x2c9126);}const _0x5d1777={};_0x5d1777[_0xed26d2(0x229)]=_0x4f154b[_0xed26d2(0x1c7)],PerformanceTester[_0xed26d2(0x1cd)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x5d1777);}),CodeceptJS[_0x5cff04(0x225)][_0x5cff04(0x14e)]['on'](CodeceptJS[_0x5cff04(0x225)]['bddStep'][_0x5cff04(0x1bc)],_0x268442=>{const _0xfddeda=_0x5cff04,_0x22bccf={};_0x22bccf[_0xfddeda(0x229)]=_0x4f154b['DmsLM'],PerformanceTester[_0xfddeda(0x1c0)](PerformanceHookEvents[_0xfddeda(0x213)],()=>{const _0x4d7cec=_0xfddeda;_0x5909ba[_0x4d7cec(0x1c9)](_0x268442);},_0x22bccf)();}),CodeceptJS['event'][_0x5cff04(0x14e)]['on'](CodeceptJS[_0x5cff04(0x225)][_0x5cff04(0x204)][_0x5cff04(0x15f)],_0x125f27=>{const _0x850d16=_0x5cff04,_0x393f4a={};_0x393f4a['hookType']=_0x4f154b[_0x850d16(0x150)],PerformanceTester[_0x850d16(0x1c0)](PerformanceHookEvents[_0x850d16(0x213)],()=>{_0x5909ba['bddStepFinish'](_0x125f27);},_0x393f4a)();});};
|
|
1
|
+
function a1_0x3785(){const _0x3cdc5e=['codeceptjs/lib/index.js','status','pages','add','info','WebDriver','action','SDK_POST_INITIALIZE','env','testAnalyticsId','RptzR','all','BsyPg','OeLfz','overwriteCommand','19148SMqxQP','__workerDetails','call','passed','devtools://','OVEsn','dispatcher','captureEvent','Performing\x20scan\x20for\x20','performScan','chromium','pid','TEST_RUN_SKIPPED','opGce','stringify','startMonitoring','hjMHN','command','test-before','IfwWE','container','TEST_SCREENSHOT','hook-started','codeceptjs/lib/helper/Playwright.js','version','restore','VAjxQ','Screenshot\x20path\x20not\x20found','thTestRunUuid','WurbS','saveScreenshot','ixsvf','ASErs','BS_TESTOPS_ALLOW_SCREENSHOTS','browserContext','currentTest','../../helpers/accessibility-automation/helper','PbVrj','bddStepFinish','stop','1353860SCNjKL','gsYeu','skipSessionName','patch','getSyncScript','SAVE_RESULTS','getAccessibilityResults','initSaveScreenshot','__driver','skipSessionStatus','XDqrc','filter','TEST_LOG','../../bin/playwright/accessibility-helper','Puppeteer','SDK_TEST','slice','7ExPCFu','toISOString','PnxHA','IIlJj','addRequestSpy','measureWrapper','niEOz','Failed\x20to\x20execute\x20_before:\x20','title','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','readFileSync','RpRlr','6RJTcOR','iXbNA','helpers','68faeDIF','TEST_RUN_STARTED','BS_A11Y_JWT','ctx','bs:addLog:','13952554gOsqQn','EuSmW','NhfUH','bnzro','getResultsSummary','warn','GET_RESULTS_SUMMARY','mmppT','cSElT','kLTIh','format','CHAEF','parse','WFtEN','startsWith','before','push','bddStepStart','../../helpers/request-spy','stopMonitoring','stack','hook-failed','after','from','qYuuW','patchSaveScreenshot','reason','FeoSi','class','toString','\x0aStack:\x20','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','executeScript','lGXVc','../../helpers/globals.js','event','ENV_VAR','util','qEWRy','KbRXk','ZmfVi','../../helpers/performance/constants','OFzCA','dbbfk','config','SDK_PRE_TEST','QGZDC','fireEvent','uJdRk','RjbRQ','webdriverio','PERFORM_SCAN','YDOOx','16363233LBjTtQ','codeceptjs','ApnKy','fJqZY','afterTest','enabled','test-failed','biiix','failed','name','SDK_PRE_INITIALIZE','LLrmt','../../helpers/testhub/constants.js','codeceptjs/lib/utils.js','hook','url','apply','qgvrI','winstonLogger','KFZzJ','SESSION_NAME','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','../../helpers/logger','../../helpers/performance/performance-tester','hookType','xMFCZ','../../helpers/accessibility-automation/scripts','SDK_HOOK','SYNC','test-after','exports','dHUWC','isArray','args','150189ttfYCu','browserStackExecuteDriver','uYvIe','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','TEST_RUN_FINISHED','pgqsG','./helper.js','nrrAZ','cGyfH','skipped','SESSION_STATUS','base64','BROWSERSTACK_TESTHUB_UUID','HOOK_RUN_STARTED','forEach','then','captureError','test-started','Element','bstackAllyScanning','prototype','BROWSERSTACK_TESTHUB_JWT','pznzg','_before','174dtcraL','HOOK_RUN_FINISHED','WLepz','bind','324395cnVVAk','testFramework','Playwright','aJjYa','ALGEW','setSessionStatus','aupqf','end','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','SDK_POST_TEST','started','bLYFW','../../helpers/test-observability/utils','test','start','arguments','message','NVXbG','INFO','4219288RsSxHN','FQWjD','./o11yHelper','FGFPT','accessibilityPlatform','shouldWrapCommand','TvqFi','emit','bddStep-after','page','setGlobal','thJwtToken','browserstack_executor:\x20','hook-passed','constructor','debug','GET_RESULTS','string','_setPage'];a1_0x3785=function(){return _0x3cdc5e;};return a1_0x3785();}const a1_0x20dcb0=a1_0x5064;function a1_0x5064(_0x3dbb10,_0x4e2448){const _0x3785be=a1_0x3785();return a1_0x5064=function(_0x506473,_0x1c6c2d){_0x506473=_0x506473-0x9d;let _0x5e461f=_0x3785be[_0x506473];return _0x5e461f;},a1_0x5064(_0x3dbb10,_0x4e2448);}(function(_0x3f7cc8,_0x140118){const _0x9a3a48=a1_0x5064,_0x4be8ae=_0x3f7cc8();while(!![]){try{const _0x293e28=-parseInt(_0x9a3a48(0x109))/0x1*(parseInt(_0x9a3a48(0x14e))/0x2)+parseInt(_0x9a3a48(0xb8))/0x3*(-parseInt(_0x9a3a48(0x151))/0x4)+parseInt(_0x9a3a48(0xd4))/0x5*(-parseInt(_0x9a3a48(0xd0))/0x6)+parseInt(_0x9a3a48(0x142))/0x7*(parseInt(_0x9a3a48(0xe7))/0x8)+parseInt(_0x9a3a48(0x18b))/0x9+parseInt(_0x9a3a48(0x131))/0xa+parseInt(_0x9a3a48(0x156))/0xb;if(_0x293e28===_0x140118)break;else _0x4be8ae['push'](_0x4be8ae['shift']());}catch(_0x1c2c97){_0x4be8ae['push'](_0x4be8ae['shift']());}}}(a1_0x3785,0xea36e));const fs=require('fs'),util=require(a1_0x20dcb0(0x17b)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require('../../helpers/helper'),logger=require(a1_0x20dcb0(0xac))[a1_0x20dcb0(0xa8)],testOpsHelper=require(a1_0x20dcb0(0xe0)),requestSpy=require(a1_0x20dcb0(0x168)),PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x20dcb0(0xe9)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x20dcb0(0x12d)),AccessibilityHelper=require(a1_0x20dcb0(0x13e)),scripts=require(a1_0x20dcb0(0xb0)),PerformanceTester=require(a1_0x20dcb0(0xad)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x20dcb0(0x17f)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x20dcb0(0xbe)),testHubConstants=require(a1_0x20dcb0(0xa2)),globals=require(a1_0x20dcb0(0x178)),CodeceptJS=requireModule(a1_0x20dcb0(0xfa),a1_0x20dcb0(0x18c)),CodeceptUtils=requireModule(a1_0x20dcb0(0xa3),a1_0x20dcb0(0x18c)),CodeceptWebDriver=requireModule('codeceptjs/lib/helper/WebDriver.js',a1_0x20dcb0(0x18c)),CodeceptRecorder=requireModule('codeceptjs/lib/recorder.js',a1_0x20dcb0(0x18c)),CodeceptPlaywright=requireModule(a1_0x20dcb0(0x120),a1_0x20dcb0(0x18c)),playwrightMarkSessionStatus=(_0x4a9c71,_0x4b7239,_0x5dffe9)=>{const _0x4b58d5=a1_0x20dcb0,_0x1e4344={'fJqZY':_0x4b58d5(0xd9),'mmppT':function(_0x14365d,_0x3bec5b){return _0x14365d(_0x3bec5b);}},_0x50ca82={};_0x50ca82[_0x4b58d5(0xfb)]=_0x4b7239;const _0xd1fc32={};_0xd1fc32[_0x4b58d5(0x100)]=_0x1e4344[_0x4b58d5(0x18e)],_0xd1fc32[_0x4b58d5(0xe3)]=_0x50ca82;const _0x3aeeb7=_0xd1fc32;return!_0x1e4344[_0x4b58d5(0x15d)](isUndefined,_0x5dffe9)&&(_0x3aeeb7['arguments'][_0x4b58d5(0x170)]=JSON[_0x4b58d5(0x117)](_0x5dffe9)),_0x4a9c71['executeScript'](()=>{},_0x4b58d5(0xf3)+JSON[_0x4b58d5(0x117)](_0x3aeeb7));},o11ySync=PerformanceTester[a1_0x20dcb0(0x147)](PerformanceO11yEvents[a1_0x20dcb0(0xb2)],async _0x3f7b31=>{const _0x3a36f5=a1_0x20dcb0,_0x49c67f={};_0x49c67f[_0x3a36f5(0x181)]=function(_0x5180fe,_0x1c8a01){return _0x5180fe===_0x1c8a01;},_0x49c67f[_0x3a36f5(0xba)]=_0x3a36f5(0xd6);const _0x1e0555=_0x49c67f;_0x1e0555[_0x3a36f5(0x181)](_0x3f7b31[_0x3a36f5(0xf5)][_0x3a36f5(0x9f)],_0x1e0555[_0x3a36f5(0xba)])?await _0x3f7b31[_0x3a36f5(0x176)](_0x59101b=>{},testOpsHelper[_0x3a36f5(0x135)]()):await _0x3f7b31[_0x3a36f5(0x176)](testOpsHelper[_0x3a36f5(0x135)]());}),markSessionName=PerformanceTester[a1_0x20dcb0(0x147)](PerformanceAutEvents[a1_0x20dcb0(0xaa)],async(_0x53bcf3,_0x164950)=>{const _0x106351=a1_0x20dcb0,_0x2b9293={};_0x2b9293[_0x106351(0x158)]='setSessionName',_0x2b9293[_0x106351(0x187)]=function(_0x4c026a,_0x54e5ea){return _0x4c026a===_0x54e5ea;},_0x2b9293[_0x106351(0x132)]='Playwright';const _0x445cb6=_0x2b9293,_0x3bbcc0={};_0x3bbcc0['name']=_0x164950;const _0x2f2c61={};_0x2f2c61[_0x106351(0x100)]=_0x445cb6[_0x106351(0x158)],_0x2f2c61[_0x106351(0xe3)]=_0x3bbcc0;const _0xe2acf6=_0x2f2c61;_0x445cb6[_0x106351(0x187)](_0x53bcf3[_0x106351(0xf5)][_0x106351(0x9f)],_0x445cb6[_0x106351(0x132)])?await _0x53bcf3[_0x106351(0x176)](()=>{},_0x106351(0xf3)+JSON['stringify'](_0xe2acf6)):await _0x53bcf3[_0x106351(0x176)](_0x106351(0xf3)+JSON[_0x106351(0x117)](_0xe2acf6));}),patchSaveScreenshot=_0x528f69=>{const _0xe1b2ab=a1_0x20dcb0,_0x3e5f7f={'Jwdck':_0xe1b2ab(0xc3),'OeLfz':_0xe1b2ab(0x11e),'jzBrn':function(_0x5064fc){return _0x5064fc();},'YDOOx':function(_0x383346,_0x23c993){return _0x383346(_0x23c993);},'QtXcF':_0xe1b2ab(0x124)};_0x3e5f7f[_0xe1b2ab(0x18a)](isTrue,process['env'][_0xe1b2ab(0x12a)])&&!_0x528f69[_0xe1b2ab(0x16f)]&&(_0x528f69['patchSaveScreenshot']=!![],_0x528f69[_0xe1b2ab(0x138)]=_0x528f69['saveScreenshot'],_0x528f69[_0xe1b2ab(0x127)]=(_0x244913,_0x2f591f=![])=>{const _0x1b9489=_0xe1b2ab,_0x13e3cf={'tVKET':_0x3e5f7f['Jwdck'],'BsyPg':_0x3e5f7f[_0x1b9489(0x107)],'WurbS':function(_0xcfdae3){return _0x3e5f7f['jzBrn'](_0xcfdae3);},'coIVU':function(_0x1f5459,_0x449b4b){const _0x38971c=_0x1b9489;return _0x3e5f7f[_0x38971c(0x18a)](_0x1f5459,_0x449b4b);},'opGce':_0x3e5f7f['QtXcF']};return new Promise(function(_0x330efb,_0x22045d){const _0x46b121=_0x1b9489;_0x528f69[_0x46b121(0x138)](_0x244913,_0x2f591f)[_0x46b121(0xc7)](()=>{const _0xb86cd=_0x46b121,_0x388cee=CodeceptUtils['screenshotOutputFolder'](_0x244913);if(_0x388cee){const _0x5aae88=fs[_0xb86cd(0x14c)](_0x388cee);process['emit'](_0xb86cd(0x155)+process[_0xb86cd(0x114)],{'timestamp':new Date()[_0xb86cd(0x143)](),'message':_0x5aae88['toString'](_0x13e3cf['tVKET']),'kind':_0x13e3cf[_0xb86cd(0x106)]}),_0x13e3cf[_0xb86cd(0x126)](_0x330efb);}_0x13e3cf['coIVU'](_0x22045d,new Error(_0x13e3cf[_0xb86cd(0x116)]));})['catch'](()=>null);});});},patchWebDriverBefore=_0x328f46=>{const _0x14b9a8=a1_0x20dcb0,_0x359313={'KFZzJ':function(_0x4be608){return _0x4be608();},'TvqFi':function(_0x47bfda,_0x15a05a){return _0x47bfda(_0x15a05a);},'tplNR':function(_0x41f715,_0x4573a4){return _0x41f715===_0x4573a4;},'yDfJw':_0x14b9a8(0x188),'qEWRy':function(_0x3d3a06,_0x582cb7){return _0x3d3a06===_0x582cb7;},'yBigN':_0x14b9a8(0xf8),'lGXVc':function(_0xdc673a,_0x3afdd0){return _0xdc673a===_0x3afdd0;},'ZFLeT':_0x14b9a8(0xca)},_0x1c3886=async function(_0x386e9d,_0x2bd0c8){const _0x4f3921=_0x14b9a8;_0x359313[_0x4f3921(0xa9)](isAccessibilityAutomationSession)&&!global[_0x4f3921(0xcb)]&&global[_0x4f3921(0xeb)]&&scripts[_0x4f3921(0xec)](_0x386e9d[_0x4f3921(0x9f)])&&_0x359313[_0x4f3921(0xed)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x4f3921(0xcb)]=!![],await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x586fd2=_0x4f3921;logger[_0x586fd2(0xf6)](_0x586fd2(0x111)+_0x386e9d['class']+'\x20'+_0x386e9d[_0x586fd2(0x9f)]),await AccessibilityHelper[_0x586fd2(0xb9)](_0x328f46,scripts['performScan']);},{'command':_0x386e9d[_0x4f3921(0x9f)]})());global[_0x4f3921(0xcb)]=![];const _0x1c1a2d=JSON['parse'](process[_0x4f3921(0x102)]['FRAMEWORK_DETAILS']||'{}');if(_0x359313['tplNR'](_0x1c1a2d?.[_0x4f3921(0xd5)]?.[_0x4f3921(0x9f)],_0x359313['yDfJw'])&&_0x359313[_0x4f3921(0x17c)](typeof _0x1c1a2d?.['testFramework']?.[_0x4f3921(0x121)],_0x359313['yBigN'])&&_0x1c1a2d?.['testFramework']?.['version'][_0x4f3921(0x164)]('7'))return _0x2bd0c8['apply'](null,Array['prototype']['slice'][_0x4f3921(0x10b)](arguments,0x2));return _0x2bd0c8['apply'](this,Array[_0x4f3921(0xcc)][_0x4f3921(0x141)][_0x4f3921(0x10b)](arguments,0x2));},_0x114ee0=CodeceptWebDriver[_0x14b9a8(0xcc)][_0x14b9a8(0xcf)];CodeceptWebDriver[_0x14b9a8(0xcc)][_0x14b9a8(0xcf)]=async function(){const _0x5c7798=_0x14b9a8;try{await _0x114ee0[_0x5c7798(0xa6)](this,arguments);}catch(_0x140aee){logger[_0x5c7798(0xf6)](_0x5c7798(0x149)+util[_0x5c7798(0x160)](_0x140aee));}scripts['commandsToWrap'][_0x5c7798(0x13c)](_0x4c6356=>_0x4c6356[_0x5c7798(0x9f)]&&_0x4c6356['class'])[_0x5c7798(0xc6)](_0x2262a9=>{const _0x551d20=_0x5c7798;this['browser'][_0x551d20(0x108)](_0x2262a9['name'],_0x1c3886[_0x551d20(0xd3)](this,_0x2262a9),_0x359313[_0x551d20(0x177)](_0x2262a9[_0x551d20(0x172)],_0x359313['ZFLeT']));}),_0x359313[_0x5c7798(0xed)](processWebDriverConfig,_0x328f46);};};function parseJwt(_0x11d3ee){const _0x550c70=a1_0x20dcb0,_0xd78261={};_0xd78261[_0x550c70(0x13b)]='base64';const _0x4475d5=_0xd78261;if(!_0x11d3ee)return null;return JSON[_0x550c70(0x162)](Buffer[_0x550c70(0x16d)](_0x11d3ee['split']('.')[0x1],_0x4475d5[_0x550c70(0x13b)])[_0x550c70(0x173)]());}const patchPlaywrightBefore=()=>{const _0x23d28b=a1_0x20dcb0,_0x1f17f2={'hjMHN':'--auto-open-devtools-for-tabs','EuSmW':function(_0x113732){return _0x113732();},'sRlad':function(_0x21ac5e,_0x2e9194){return _0x21ac5e(_0x2e9194);},'qgvrI':_0x23d28b(0x10d),'OFzCA':function(_0x140712,_0x228a76){return _0x140712+_0x228a76;},'pznzg':_0x23d28b(0x174),'kLTIh':function(_0x1305d7){return _0x1305d7();},'niEOz':function(_0x5360f2){return _0x5360f2();}};PlaywrightSessionDetails[_0x23d28b(0x134)]();const _0x1c31b1=CodeceptPlaywright[_0x23d28b(0xcc)]['_before'];CodeceptPlaywright['prototype'][_0x23d28b(0xcf)]=async function(){const _0x206b36=_0x23d28b,_0x39e15a={'uJdRk':function(_0x269821){const _0x5968f0=a1_0x5064;return _0x1f17f2[_0x5968f0(0x157)](_0x269821);},'bLYFW':_0x1f17f2['qgvrI']};this['browserContext']=await this['browser']['contexts']()[0x0];const _0x1f20f7=async()=>{const _0x5d3c76=a1_0x5064,_0x29a217=this[_0x5d3c76(0x182)]&&this[_0x5d3c76(0x182)][_0x5d3c76(0x113)]&&this['config'][_0x5d3c76(0x113)][_0x5d3c76(0xb7)]&&Array[_0x5d3c76(0xb6)](this['config']['chromium']['args'])&&this[_0x5d3c76(0x182)][_0x5d3c76(0x113)][_0x5d3c76(0xb7)]['includes'](_0x1f17f2[_0x5d3c76(0x119)]);if(_0x1f17f2['EuSmW'](isAccessibilityAutomationSession)&&!_0x29a217)try{const _0x62399a=_0x1f17f2['sRlad'](parseJwt,process[_0x5d3c76(0x102)][_0x5d3c76(0x153)]);if(_0x62399a&&_0x62399a['a11y_core_config']&&_0x62399a['a11y_core_config']['domForge']){const _0x12f196=this['browserContext']['pages'][_0x5d3c76(0xd3)](this['browserContext']);this[_0x5d3c76(0x12b)]['pages']=async function(){const _0x7fc225=_0x5d3c76,_0x4d1f73=await _0x39e15a[_0x7fc225(0x186)](_0x12f196),_0x11528e=[];for(const _0x392db5 of _0x4d1f73){try{const _0x376f45=await _0x392db5[_0x7fc225(0xa5)]();!_0x376f45[_0x7fc225(0x164)](_0x39e15a[_0x7fc225(0xdf)])&&_0x11528e['push'](_0x392db5);}catch(_0x945649){_0x11528e[_0x7fc225(0x166)](_0x392db5);}}return _0x11528e;};}if(!_0x1f17f2['EuSmW'](isBrowserstackInfra)){const _0x78ced=await this[_0x5d3c76(0xf0)][_0x5d3c76(0xa5)]();if(_0x78ced[_0x5d3c76(0x164)](_0x1f17f2[_0x5d3c76(0xa7)])){const _0x4c8627=await this[_0x5d3c76(0x12b)][_0x5d3c76(0xfc)]();this[_0x5d3c76(0xf9)](_0x4c8627[0x0]);}}}catch(_0x57efb3){logger[_0x5d3c76(0xf6)]('Failed\x20to\x20patch\x20pages\x20method\x20in\x20browserContext\x20for\x20a11y\x20domForge:\x20'+_0x57efb3[_0x5d3c76(0xe4)]+(_0x57efb3[_0x5d3c76(0x16a)]?_0x1f17f2[_0x5d3c76(0x180)](_0x1f17f2[_0x5d3c76(0xce)],_0x57efb3[_0x5d3c76(0x16a)]):''));}};_0x1f17f2[_0x206b36(0x15f)](isBrowserstackInfra)&&await _0x1f17f2['EuSmW'](_0x1f20f7),await _0x1c31b1[_0x206b36(0xa6)](this,arguments),!_0x1f17f2[_0x206b36(0x148)](isBrowserstackInfra)&&await _0x1f17f2[_0x206b36(0x157)](_0x1f20f7);};},getCodeceptDriver=()=>{const _0x320806=a1_0x20dcb0,_0x58ed06={};_0x58ed06[_0x320806(0x163)]=_0x320806(0xff),_0x58ed06['FQWjD']='Playwright',_0x58ed06[_0x320806(0x14d)]=_0x320806(0x13f),_0x58ed06[_0x320806(0x144)]='TestCafe';const _0x10c732=_0x58ed06,_0x2f4bab=[_0x10c732[_0x320806(0x163)],_0x10c732[_0x320806(0xe8)],_0x10c732[_0x320806(0x14d)],_0x10c732[_0x320806(0x144)]],_0x4f7ffc=_0x2f4bab['find'](_0x1196b2=>!!CodeceptJS[_0x320806(0x11d)][_0x320806(0x150)](_0x1196b2));if(!_0x4f7ffc)return null;return CodeceptJS[_0x320806(0x11d)][_0x320806(0x150)](_0x4f7ffc);};module[a1_0x20dcb0(0xb4)]=function(_0x542e73){const _0x3009e0=a1_0x20dcb0,_0x2f4d94={'cSElT':function(_0x43d232){return _0x43d232();},'LQOsy':function(_0x11384d,_0x1c670e){return _0x11384d(_0x1c670e);},'iXbNA':_0x3009e0(0x137),'SNtlI':_0x3009e0(0xbb),'WLepz':'getAccessibilityResultsSummary','uPcAV':_0x3009e0(0x14b),'ApnKy':function(_0x528ac9,_0x38e7a3){return _0x528ac9(_0x38e7a3);},'ZmfVi':_0x3009e0(0x11f),'ASErs':_0x3009e0(0xf4),'ixsvf':_0x3009e0(0x16b),'biiix':'browserstackTestName','SKzIV':_0x3009e0(0x11b),'aupqf':function(_0x1b8791){return _0x1b8791();},'aJjYa':function(_0xc27f3b,_0x4ade2b,_0xed9b1a){return _0xc27f3b(_0x4ade2b,_0xed9b1a);},'eRnVI':function(_0x2c7068,_0x1121cb){return _0x2c7068(_0x1121cb);},'RptzR':_0x3009e0(0xc9),'IfwWE':function(_0x587cfc,_0x28b8a1,_0x1e2e57){return _0x587cfc(_0x28b8a1,_0x1e2e57);},'BuOeE':'test-passed','FeoSi':function(_0x42619a,_0x229141,_0x3ee148,_0x29ba8c){return _0x42619a(_0x229141,_0x3ee148,_0x29ba8c);},'PbVrj':function(_0x2595d7,_0x35820d,_0x5ac887,_0x480baf){return _0x2595d7(_0x35820d,_0x5ac887,_0x480baf);},'IIlJj':function(_0x4726f6,_0x521a14){return _0x4726f6===_0x521a14;},'qYuuW':'Suite','FGFPT':_0x3009e0(0x191),'LLrmt':'test-skipped','QGZDC':_0x3009e0(0x18f),'gVqum':function(_0x4f40e6,_0x36b981,_0x429eda){return _0x4f40e6(_0x36b981,_0x429eda);},'ALGEW':_0x3009e0(0xdc),'dHUWC':_0x3009e0(0xb3),'bnzro':_0x3009e0(0xe6),'NVXbG':_0x3009e0(0x13d),'CHAEF':'step-comment','pgqsG':'bddStep-before','nrrAZ':_0x3009e0(0xef),'cGyfH':'Playwright'};_0x542e73['skipSessionStatus']&&(global['__skipSessionStatus']=_0x542e73[_0x3009e0(0x13a)]);PerformanceTester[_0x3009e0(0x118)]();const _0x37423d=_0x2f4d94[_0x3009e0(0x15e)](getCodeceptDriver),_0x3e87ef=new O11yHelper(_0x37423d,_0x542e73),_0x31a71c=!!CodeceptJS[_0x3009e0(0x11d)]['helpers'](_0x2f4d94[_0x3009e0(0xc0)]);global[_0x3009e0(0x139)]=_0x37423d,_0x37423d&&(PerformanceTester[_0x3009e0(0x147)](PerformanceEvents[_0x3009e0(0xa0)],()=>{const _0x47c4bc=_0x3009e0;_0x31a71c?_0x2f4d94[_0x47c4bc(0x15e)](patchPlaywrightBefore):_0x2f4d94['LQOsy'](patchWebDriverBefore,_0x37423d);})(),PerformanceTester[_0x3009e0(0x147)](PerformanceEvents[_0x3009e0(0x101)],()=>{const _0x43adb2=_0x3009e0,_0x39409b={};_0x39409b[_0x43adb2(0x10e)]=_0x2f4d94[_0x43adb2(0xd2)],_0x39409b[_0x43adb2(0xaf)]=_0x2f4d94['uPcAV'];const _0x442567=_0x39409b;_0x37423d['getAccessibilityResultsSummary']=async()=>{const _0x130678=_0x43adb2;if(global[_0x130678(0xeb)]){const _0x1bd299={};return _0x1bd299[_0x130678(0x11a)]=_0x442567['OVEsn'],await PerformanceTester[_0x130678(0x147)](PerformanceA11yEvents[_0x130678(0x189)],async()=>{const _0x2b22e7=_0x130678;return await AccessibilityHelper['browserStackExecuteDriver'](_0x37423d,scripts[_0x2b22e7(0x112)]);},_0x1bd299)(),await PerformanceTester[_0x130678(0x147)](PerformanceA11yEvents[_0x130678(0x15c)],async()=>{const _0x441a3f=_0x130678;return await AccessibilityHelper[_0x441a3f(0xb9)](_0x37423d,scripts[_0x441a3f(0x15a)]);})();}return logger['warn'](_0x442567[_0x130678(0xaf)]),{};},_0x37423d[_0x43adb2(0x137)]=async()=>{const _0x2be1b1=_0x43adb2;if(global[_0x2be1b1(0xeb)]){const _0x3dd082={};return _0x3dd082[_0x2be1b1(0x11a)]=_0x2f4d94[_0x2be1b1(0x14f)],await PerformanceTester[_0x2be1b1(0x147)](PerformanceA11yEvents[_0x2be1b1(0x189)],async()=>{const _0x4457f1=_0x2be1b1;return await AccessibilityHelper[_0x4457f1(0xb9)](_0x37423d,scripts[_0x4457f1(0x112)]);},_0x3dd082)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x2be1b1(0xf7)],async()=>{const _0x417096=_0x2be1b1;return await AccessibilityHelper[_0x417096(0xb9)](_0x37423d,scripts['getResults']);})();}return logger[_0x2be1b1(0x15b)](_0x2f4d94['SNtlI']),{};},_0x2f4d94[_0x43adb2(0x18d)](patchSaveScreenshot,_0x37423d);})()),CodeceptJS[_0x3009e0(0x179)]['dispatcher']['on'](CodeceptJS[_0x3009e0(0x179)][_0x3009e0(0x105)][_0x3009e0(0x165)],()=>{const _0xcde230=_0x3009e0;PerformanceTester['start'](PerformanceEvents['SDK_PRE_TEST']);try{_0x3e87ef['start'](),testOpsHelper[_0xcde230(0x146)](),PerformanceTester['end'](PerformanceEvents[_0xcde230(0x183)]);}catch(_0x576f29){PerformanceTester[_0xcde230(0xc8)](_0x576f29),PerformanceTester[_0xcde230(0xdb)](PerformanceEvents[_0xcde230(0x183)],![],_0x576f29);}}),CodeceptJS[_0x3009e0(0x179)][_0x3009e0(0x10f)]['on'](CodeceptJS[_0x3009e0(0x179)][_0x3009e0(0x105)][_0x3009e0(0x16c)],async()=>{const _0x3220a2=_0x3009e0;PerformanceTester[_0x3220a2(0xe2)](PerformanceEvents['SDK_POST_TEST']);try{requestSpy[_0x3220a2(0x122)](),await _0x3e87ef[_0x3220a2(0x130)](),PerformanceTester[_0x3220a2(0xdb)](PerformanceEvents[_0x3220a2(0xdd)]);}catch(_0x1ae0d4){PerformanceTester[_0x3220a2(0xc8)](_0x1ae0d4),PerformanceTester[_0x3220a2(0xdb)](PerformanceEvents[_0x3220a2(0xdd)],![],_0x1ae0d4);}finally{PerformanceTester[_0x3220a2(0x169)]();}}),CodeceptJS[_0x3009e0(0x179)][_0x3009e0(0x10f)]['on'](CodeceptJS['event'][_0x3009e0(0xa4)]['started'],_0x427b65=>{const _0xed6d0f=_0x3009e0;PerformanceTester[_0xed6d0f(0xe2)](PerformanceEvents[_0xed6d0f(0xb1)]);try{const _0x174268=_0x427b65[_0xed6d0f(0x154)][_0xed6d0f(0xe1)],_0x3f98fe=_0x3e87ef[_0xed6d0f(0x110)](TEST_EVENTS[_0xed6d0f(0xc5)],_0x174268);CodeceptRecorder['add'](()=>_0x3e87ef[_0xed6d0f(0x185)](TEST_EVENTS[_0xed6d0f(0xc5)],_0x3f98fe));const _0xa89d18={};_0xa89d18[_0xed6d0f(0xae)]=_0x2f4d94[_0xed6d0f(0x17e)],PerformanceTester['end'](PerformanceEvents[_0xed6d0f(0xb1)],!![],null,_0xa89d18);}catch(_0x402f24){const _0x2c8222={};_0x2c8222['hookType']=_0x2f4d94[_0xed6d0f(0x17e)],PerformanceTester[_0xed6d0f(0xdb)](PerformanceEvents[_0xed6d0f(0xb1)],![],_0x402f24,_0x2c8222),PerformanceTester[_0xed6d0f(0xc8)](_0x402f24);}}),CodeceptJS['event'][_0x3009e0(0x10f)]['on'](CodeceptJS['event'][_0x3009e0(0xa4)][_0x3009e0(0x10c)],_0x1b4236=>{const _0x267eab=_0x3009e0,_0x19bf30={};_0x19bf30[_0x267eab(0xae)]=_0x2f4d94[_0x267eab(0x129)],PerformanceTester[_0x267eab(0xe2)](PerformanceHookEvents[_0x267eab(0xb1)],!![],null,_0x19bf30);try{const _0x2f0201=_0x1b4236[_0x267eab(0x154)][_0x267eab(0xe1)],_0x31c209=_0x3e87ef['captureEvent'](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x2f0201);CodeceptRecorder[_0x267eab(0xfd)](()=>_0x3e87ef[_0x267eab(0x185)](TEST_EVENTS[_0x267eab(0xd1)],_0x31c209));const _0x2a47d5={};_0x2a47d5['hookType']=_0x2f4d94[_0x267eab(0x129)],PerformanceTester[_0x267eab(0xdb)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x2a47d5);}catch(_0x1a25a8){PerformanceTester['captureError'](_0x1a25a8);const _0x472e29={};_0x472e29[_0x267eab(0xae)]=_0x2f4d94[_0x267eab(0x129)],PerformanceTester[_0x267eab(0xdb)](PerformanceHookEvents[_0x267eab(0xb1)],![],_0x1a25a8,_0x472e29);}}),CodeceptJS[_0x3009e0(0x179)][_0x3009e0(0x10f)]['on'](CodeceptJS['event'][_0x3009e0(0xa4)][_0x3009e0(0x9e)],async(_0x1800dc,_0x2e756b)=>{const _0x5ac70b=_0x3009e0;PerformanceTester[_0x5ac70b(0xe2)](PerformanceHookEvents[_0x5ac70b(0xb1)]);try{const _0x163022=_0x1800dc['ctx'][_0x5ac70b(0xe1)],_0x509eb6=_0x3e87ef['captureEvent'](TEST_EVENTS[_0x5ac70b(0xd1)],_0x163022,_0x2e756b);CodeceptRecorder['add'](()=>_0x3e87ef[_0x5ac70b(0x185)](TEST_EVENTS[_0x5ac70b(0xd1)],_0x509eb6));const _0xd5eb59={};_0xd5eb59[_0x5ac70b(0xae)]=_0x2f4d94[_0x5ac70b(0x128)],PerformanceTester[_0x5ac70b(0xe2)](PerformanceHookEvents[_0x5ac70b(0xb1)],!![],null,_0xd5eb59);}catch(_0x129ea){PerformanceTester[_0x5ac70b(0xc8)](_0x129ea);const _0x56e087={};_0x56e087[_0x5ac70b(0xae)]=_0x2f4d94[_0x5ac70b(0x128)],PerformanceTester['end'](PerformanceHookEvents[_0x5ac70b(0xb1)],![],_0x129ea,_0x56e087);}const _0x55d284={};_0x55d284['hookType']=_0x2f4d94[_0x5ac70b(0x128)],PerformanceTester['end'](PerformanceHookEvents[_0x5ac70b(0xb1)],!![],null,_0x55d284);}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x3009e0(0x179)][_0x3009e0(0xe1)][_0x3009e0(0x165)],_0x13b46d=>{const _0x146045=_0x3009e0;PerformanceTester[_0x146045(0xe2)](PerformanceHookEvents[_0x146045(0xb1)]);try{globals[_0x146045(0xf1)](_0x2f4d94[_0x146045(0x9d)],_0x13b46d['title']);_0x2f4d94[_0x146045(0x15e)](isBrowserstackInfra)&&(_0x31a71c&&(global[_0x146045(0x10a)]={'currentTest':{'name':_0x13b46d[_0x146045(0x14a)],'testInfo':{'titlePath':_0x13b46d['titlePath']()}}}));const _0x5bddeb={};_0x5bddeb['hookType']=_0x2f4d94['SKzIV'],PerformanceTester['end'](PerformanceHookEvents[_0x146045(0xb1)],!![],null,_0x5bddeb);}catch(_0x4be2f6){PerformanceTester[_0x146045(0xc8)](_0x4be2f6);const _0x1014e9={};_0x1014e9['hookType']=_0x2f4d94['SKzIV'],PerformanceTester[_0x146045(0xdb)](PerformanceHookEvents[_0x146045(0xb1)],![],_0x4be2f6,_0x1014e9);}}),CodeceptJS[_0x3009e0(0x179)]['dispatcher']['on'](CodeceptJS[_0x3009e0(0x179)][_0x3009e0(0xe1)][_0x3009e0(0xde)],_0x323cd0=>{const _0x3623c5=_0x3009e0;PerformanceTester['start'](PerformanceHookEvents[_0x3623c5(0xb1)]);try{globals[_0x3623c5(0xf1)](_0x2f4d94[_0x3623c5(0x9d)],_0x323cd0[_0x3623c5(0x14a)]);const _0x4618ce=_0x3e87ef[_0x3623c5(0x110)](TEST_EVENTS[_0x3623c5(0x152)],_0x323cd0);CodeceptRecorder[_0x3623c5(0xfd)](()=>_0x3e87ef[_0x3623c5(0x185)](TEST_EVENTS['TEST_RUN_STARTED'],_0x4618ce)),CodeceptRecorder[_0x3623c5(0xfd)](async()=>{const _0x394695=_0x3623c5;_0x2f4d94[_0x394695(0xda)](isBrowserstackInfra)&&(!_0x2f4d94[_0x394695(0x18d)](isTrue,_0x542e73[_0x394695(0x133)])&&await _0x2f4d94[_0x394695(0xd7)](markSessionName,_0x37423d,_0x323cd0['title']),_0x3e87ef[_0x394695(0x190)]&&await _0x2f4d94['eRnVI'](o11ySync,_0x37423d));});}catch(_0x9fcd9c){const _0x480537={};_0x480537[_0x3623c5(0xae)]=_0x2f4d94[_0x3623c5(0x104)],PerformanceTester[_0x3623c5(0xdb)](PerformanceHookEvents[_0x3623c5(0xb1)],![],_0x9fcd9c,_0x480537),PerformanceTester['captureError'](_0x9fcd9c);}const _0x4afe35={};_0x4afe35[_0x3623c5(0xae)]=_0x2f4d94[_0x3623c5(0x104)],PerformanceTester[_0x3623c5(0xdb)](PerformanceHookEvents[_0x3623c5(0xb1)],!![],null,_0x4afe35);}),CodeceptJS[_0x3009e0(0x179)][_0x3009e0(0x10f)]['on'](CodeceptJS[_0x3009e0(0x179)]['test'][_0x3009e0(0x10c)],_0xaa38dd=>{const _0xfa0ca0=_0x3009e0,_0x1fc4eb={'KbRXk':function(_0x2c4e58,_0x3dae00,_0x28dac3){const _0x2b3fff=a1_0x5064;return _0x2f4d94[_0x2b3fff(0x11c)](_0x2c4e58,_0x3dae00,_0x28dac3);},'qGbYD':function(_0x4fb7d5){const _0x3d5cf5=a1_0x5064;return _0x2f4d94[_0x3d5cf5(0xda)](_0x4fb7d5);}};PerformanceTester[_0xfa0ca0(0xe2)](PerformanceHookEvents[_0xfa0ca0(0xb1)]);try{const _0x2db20b=_0x3e87ef['captureEvent'](TEST_EVENTS[_0xfa0ca0(0xbc)],_0xaa38dd);CodeceptRecorder[_0xfa0ca0(0xfd)](()=>_0x3e87ef['fireEvent'](TEST_EVENTS[_0xfa0ca0(0xbc)],_0x2db20b)),CodeceptRecorder[_0xfa0ca0(0xfd)](async()=>{const _0x3f69ce=_0xfa0ca0;_0x1fc4eb['qGbYD'](isBrowserstackInfra)&&await PerformanceTester[_0x3f69ce(0x147)](PerformanceAutEvents[_0x3f69ce(0xc2)],async()=>{const _0x538a0e=_0x3f69ce;_0x31a71c?await _0x1fc4eb[_0x538a0e(0x17d)](playwrightMarkSessionStatus,_0x37423d,STATE_PASSED):await _0x1fc4eb['KbRXk'](markSessionStatus,_0x37423d,STATE_PASSED);})();}),PerformanceTester[_0xfa0ca0(0xdb)](PerformanceEvents[_0xfa0ca0(0x140)]);}catch(_0x5d6b4b){PerformanceTester['captureError'](_0x5d6b4b);const _0x89b7dd={};_0x89b7dd[_0xfa0ca0(0xae)]=_0x2f4d94['BuOeE'],PerformanceTester[_0xfa0ca0(0xdb)](PerformanceHookEvents[_0xfa0ca0(0xb1)],![],_0x5d6b4b,_0x89b7dd),PerformanceTester[_0xfa0ca0(0xdb)](PerformanceEvents[_0xfa0ca0(0x140)],![],_0x5d6b4b);}const _0x242fc8={};_0x242fc8[_0xfa0ca0(0xae)]=_0x2f4d94['BuOeE'],PerformanceTester[_0xfa0ca0(0xdb)](PerformanceHookEvents[_0xfa0ca0(0xb1)],!![],null,_0x242fc8);}),CodeceptJS['event'][_0x3009e0(0x10f)]['on'](CodeceptJS[_0x3009e0(0x179)][_0x3009e0(0xe1)][_0x3009e0(0x9e)],(_0x48b503,_0x56b066)=>{const _0x5e5e83=_0x3009e0;PerformanceTester[_0x5e5e83(0xe2)](PerformanceHookEvents[_0x5e5e83(0xb1)]);try{if(_0x2f4d94[_0x5e5e83(0x145)](_0x48b503['constructor']['name'],_0x2f4d94[_0x5e5e83(0x16e)])){const _0x51543d=_0x3e87ef[_0x5e5e83(0x110)](TEST_EVENTS[_0x5e5e83(0x115)],_0x48b503['ctx'][_0x5e5e83(0x12c)]);CodeceptRecorder[_0x5e5e83(0xfd)](()=>_0x3e87ef[_0x5e5e83(0x185)](TEST_EVENTS[_0x5e5e83(0x115)],_0x51543d));}else{const _0x18d260=_0x3e87ef['captureEvent'](TEST_EVENTS['TEST_RUN_FINISHED'],_0x48b503,_0x56b066);CodeceptRecorder[_0x5e5e83(0xfd)](()=>{const _0x5196c9=_0x5e5e83;try{_0x3e87ef['fireEvent'](TEST_EVENTS['TEST_RUN_FINISHED'],_0x18d260);}catch(_0x57deb6){logger['debug']('Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20'+util[_0x5196c9(0x160)](_0x57deb6)),PerformanceTester[_0x5196c9(0xdb)](PerformanceEvents[_0x5196c9(0x140)],![],_0x57deb6);}}),CodeceptRecorder[_0x5e5e83(0xfd)](async()=>{const _0x2859d9=_0x5e5e83;try{_0x2f4d94[_0x2859d9(0x15e)](isBrowserstackInfra)&&(_0x31a71c?await _0x2f4d94[_0x2859d9(0x171)](playwrightMarkSessionStatus,_0x37423d,STATE_FAILED,_0x56b066):await _0x2f4d94[_0x2859d9(0x12e)](markSessionStatus,_0x37423d,STATE_FAILED,_0x56b066));}catch(_0x4ce392){logger[_0x2859d9(0xf6)](_0x2859d9(0x175)+util['format'](_0x4ce392)),PerformanceTester[_0x2859d9(0xdb)](PerformanceEvents[_0x2859d9(0x140)],![],_0x4ce392);}});}PerformanceTester[_0x5e5e83(0xdb)](PerformanceEvents[_0x5e5e83(0x140)]);}catch(_0x1c7458){PerformanceTester[_0x5e5e83(0xc8)](_0x1c7458);const _0x35a586={};_0x35a586['hookType']=_0x2f4d94[_0x5e5e83(0xea)],PerformanceTester[_0x5e5e83(0xdb)](PerformanceHookEvents['SDK_HOOK'],![],_0x1c7458,_0x35a586),PerformanceTester[_0x5e5e83(0xdb)](PerformanceEvents[_0x5e5e83(0x140)],![],_0x1c7458);}const _0xe5da81={};_0xe5da81[_0x5e5e83(0xae)]=_0x2f4d94['FGFPT'],PerformanceTester[_0x5e5e83(0xdb)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0xe5da81);}),CodeceptJS[_0x3009e0(0x179)][_0x3009e0(0x10f)]['on'](CodeceptJS['event']['test'][_0x3009e0(0xc1)],_0x3b76ec=>{const _0x2f190f=_0x3009e0;PerformanceTester[_0x2f190f(0xe2)](PerformanceHookEvents[_0x2f190f(0xb1)]);try{const _0x48289c=_0x3e87ef[_0x2f190f(0x110)](TEST_EVENTS[_0x2f190f(0x115)],_0x3b76ec);CodeceptRecorder[_0x2f190f(0xfd)](()=>_0x3e87ef[_0x2f190f(0x185)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x48289c)),PerformanceTester[_0x2f190f(0xdb)](PerformanceEvents[_0x2f190f(0x140)]);}catch(_0x2143b3){PerformanceTester[_0x2f190f(0xc8)](_0x2143b3),PerformanceTester[_0x2f190f(0xdb)](PerformanceEvents[_0x2f190f(0x140)],![],_0x2143b3);const _0x484f1f={};_0x484f1f[_0x2f190f(0xae)]=_0x2f4d94[_0x2f190f(0xa1)],PerformanceTester[_0x2f190f(0xdb)](PerformanceHookEvents['SDK_HOOK'],![],_0x2143b3,_0x484f1f);}const _0x5b4666={};_0x5b4666[_0x2f190f(0xae)]=_0x2f4d94[_0x2f190f(0xa1)],PerformanceTester['end'](PerformanceHookEvents[_0x2f190f(0xb1)],!![],null,_0x5b4666);}),CodeceptJS[_0x3009e0(0x179)][_0x3009e0(0x10f)]['on'](CodeceptJS['event'][_0x3009e0(0xe1)][_0x3009e0(0x16c)],async(_0x4cad93,_0x16311f)=>{const _0xafcacd=_0x3009e0,_0x578ac0={};_0x578ac0[_0xafcacd(0x123)]=_0x2f4d94[_0xafcacd(0x184)];const _0x523ad3=_0x578ac0;try{PerformanceTester[_0xafcacd(0xe2)](PerformanceHookEvents[_0xafcacd(0xb1)]);const _0x3982fd=_0x2f4d94['gVqum'](shouldScanTestForAccessibility,_0x4cad93['titlePath'](),!![]);if(_0x2f4d94[_0xafcacd(0xda)](isAccessibilityAutomationSession)&&global[_0xafcacd(0xeb)]&&_0x3982fd){const _0x22c2bb={};_0x22c2bb[_0xafcacd(0x125)]=_0x4cad93[_0xafcacd(0x103)],_0x22c2bb['thBuildUuid']=process[_0xafcacd(0x102)][testHubConstants[_0xafcacd(0x17a)][_0xafcacd(0xc4)]],_0x22c2bb[_0xafcacd(0xf2)]=process[_0xafcacd(0x102)][testHubConstants[_0xafcacd(0x17a)][_0xafcacd(0xcd)]];const _0x110e08=_0x22c2bb;logger[_0xafcacd(0xf6)](_0xafcacd(0xab)+JSON['stringify'](_0x110e08)),CodeceptRecorder['add'](async()=>{const _0x554b68=_0xafcacd,_0x17a01e={};_0x17a01e[_0x554b68(0x11a)]=_0x523ad3[_0x554b68(0x123)],await PerformanceTester[_0x554b68(0x147)](PerformanceA11yEvents[_0x554b68(0x189)],async()=>{await AccessibilityHelper['browserStackExecuteDriver'](_0x37423d,scripts['performScan']);},_0x17a01e)(),await PerformanceTester[_0x554b68(0x147)](PerformanceA11yEvents[_0x554b68(0x136)],async()=>{const _0x2274e8=_0x554b68;await AccessibilityHelper[_0x2274e8(0xb9)](_0x37423d,scripts['saveTestResults'],_0x110e08);})();}),logger[_0xafcacd(0xfe)](_0x2f4d94[_0xafcacd(0xd8)]);}const _0x33549a={};_0x33549a[_0xafcacd(0xae)]=_0x2f4d94[_0xafcacd(0xb5)],PerformanceTester[_0xafcacd(0xdb)](PerformanceHookEvents[_0xafcacd(0xb1)],!![],null,_0x33549a);}catch(_0x4aae8a){PerformanceTester[_0xafcacd(0xc8)](_0x4aae8a);const _0x179284={};_0x179284[_0xafcacd(0xae)]=_0x2f4d94[_0xafcacd(0xb5)],PerformanceTester[_0xafcacd(0xdb)](PerformanceHookEvents[_0xafcacd(0xb1)],![],_0x4aae8a,_0x179284);}}),CodeceptJS[_0x3009e0(0x179)]['dispatcher']['on'](CodeceptJS[_0x3009e0(0x179)]['step']['comment'],_0x54aec4=>{const _0x3b3722=_0x3009e0;PerformanceTester['start'](PerformanceHookEvents[_0x3b3722(0xb1)]);try{process[_0x3b3722(0xee)](_0x3b3722(0x155)+process[_0x3b3722(0x114)],{'timestamp':new Date()[_0x3b3722(0x143)](),'level':_0x2f4d94[_0x3b3722(0x159)],'message':_0x54aec4,'kind':_0x2f4d94[_0x3b3722(0xe5)],'http_response':{}});}catch(_0x4e23be){PerformanceTester[_0x3b3722(0xc8)](_0x4e23be);const _0x3539dd={};_0x3539dd['hookType']=_0x2f4d94[_0x3b3722(0x161)],PerformanceTester[_0x3b3722(0xdb)](PerformanceHookEvents[_0x3b3722(0xb1)],![],_0x4e23be,_0x3539dd);}const _0x46fef7={};_0x46fef7[_0x3b3722(0xae)]=_0x2f4d94[_0x3b3722(0x161)],PerformanceTester[_0x3b3722(0xdb)](PerformanceHookEvents[_0x3b3722(0xb1)],!![],null,_0x46fef7);}),CodeceptJS['event'][_0x3009e0(0x10f)]['on'](CodeceptJS[_0x3009e0(0x179)]['bddStep'][_0x3009e0(0x165)],_0x2d426e=>{const _0x497456=_0x3009e0,_0x497639={};_0x497639[_0x497456(0xae)]=_0x2f4d94[_0x497456(0xbd)],PerformanceTester[_0x497456(0x147)](PerformanceHookEvents[_0x497456(0xb1)],()=>{const _0x7dc27a=_0x497456;_0x3e87ef[_0x7dc27a(0x167)](_0x2d426e);},_0x497639)();}),CodeceptJS[_0x3009e0(0x179)][_0x3009e0(0x10f)]['on'](CodeceptJS['event']['bddStep'][_0x3009e0(0x16c)],_0x19f578=>{const _0x256b92=_0x3009e0,_0x497944={};_0x497944[_0x256b92(0xae)]=_0x2f4d94[_0x256b92(0xbf)],PerformanceTester[_0x256b92(0x147)](PerformanceHookEvents[_0x256b92(0xb1)],()=>{const _0x1501c2=_0x256b92;_0x3e87ef[_0x1501c2(0x12f)](_0x19f578);},_0x497944)();});};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a2_0x579e08=a2_0x574c;(function(_0x1fa2e9,_0x547071){const _0x3589fe=a2_0x574c,_0x824b7f=_0x1fa2e9();while(!![]){try{const _0x2f138a=-parseInt(_0x3589fe(0x1ae))/0x1*(parseInt(_0x3589fe(0x11e))/0x2)+-parseInt(_0x3589fe(0x120))/0x3+-parseInt(_0x3589fe(0x151))/0x4*(parseInt(_0x3589fe(0x165))/0x5)+parseInt(_0x3589fe(0x15c))/0x6*(parseInt(_0x3589fe(0x149))/0x7)+-parseInt(_0x3589fe(0x12a))/0x8+parseInt(_0x3589fe(0x1a0))/0x9+parseInt(_0x3589fe(0x175))/0xa;if(_0x2f138a===_0x547071)break;else _0x824b7f['push'](_0x824b7f['shift']());}catch(_0x3d57cc){_0x824b7f['push'](_0x824b7f['shift']());}}}(a2_0x45c0,0x53521));const fs=require('fs'),path=require('path'),util=require('util'),process=require('process'),logger=require('../../helpers/logger')[a2_0x579e08(0x14f)],{default:BrowserStackSetup}=require(a2_0x579e08(0x169)),helper=require(a2_0x579e08(0x167)),utilities=require(a2_0x579e08(0x17a)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require(a2_0x579e08(0x196)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require('../../helpers/helper'),CodeceptJS=requireModule('codeceptjs/lib/index.js',a2_0x579e08(0x1a9)),testOpsHelper=require('../../helpers/test-observability/utils'),TestHubHandler=require(a2_0x579e08(0x134)),constants=require(a2_0x579e08(0x15e)),PerformanceTester=require(a2_0x579e08(0x156)),{FRAMEWORKS}=require(a2_0x579e08(0x16a)),PerformanceEvents=require(a2_0x579e08(0x15f))[a2_0x579e08(0x195)],ClientTroubleShootingService=require(a2_0x579e08(0x14c)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x29ae8d,_0x25ba45)=>{const _0x3611b7=a2_0x579e08,_0x4bee3c={};_0x4bee3c[_0x3611b7(0x13b)]=function(_0x48ba57,_0x481b66){return _0x48ba57===_0x481b66;},_0x4bee3c[_0x3611b7(0x159)]=_0x3611b7(0x177),_0x4bee3c['yMTSY']=_0x3611b7(0x1b3);const _0xcec579=_0x4bee3c;let _0x4d906e=null;const _0x5d901c={};let _0x20645d=_0x25ba45['findIndex'](_0x2d1390=>_0x2d1390===_0x3611b7(0x14d));_0xcec579['dPBUN'](_0x20645d,-0x1)&&(_0x20645d=_0x25ba45['findIndex'](_0x3c11d9=>_0x3c11d9==='-c'));if(!helper[_0x3611b7(0x173)](_0x29ae8d['config'])&&fs[_0x3611b7(0x198)](path['join'](process[_0x3611b7(0x131)](),_0x29ae8d[_0x3611b7(0x143)])))_0x4d906e=path[_0x3611b7(0x15d)](process[_0x3611b7(0x131)](),_0x29ae8d['config']),_0x25ba45['slice'](_0x20645d,0x2);else{if(!helper['isUndefined'](_0x29ae8d['c'])&&fs[_0x3611b7(0x198)](path['join'](process[_0x3611b7(0x131)](),_0x29ae8d['c'])))_0x4d906e=path[_0x3611b7(0x15d)](process[_0x3611b7(0x131)](),_0x29ae8d['c']),_0x25ba45[_0x3611b7(0x16b)](_0x20645d,0x2);else{if(fs[_0x3611b7(0x198)](path[_0x3611b7(0x15d)](process['cwd'](),_0xcec579[_0x3611b7(0x159)])))_0x4d906e=path[_0x3611b7(0x15d)](process[_0x3611b7(0x131)](),_0xcec579[_0x3611b7(0x159)]);else fs['existsSync'](path[_0x3611b7(0x15d)](process[_0x3611b7(0x131)](),_0xcec579[_0x3611b7(0x19d)]))&&(_0x4d906e=path['join'](process[_0x3611b7(0x131)](),_0xcec579['yMTSY']));}}return process[_0x3611b7(0x1aa)][_0x3611b7(0x186)]=_0x4d906e,_0x4d906e;},getO11yRerunPattern=()=>{const _0x45dbad=a2_0x579e08,_0x189ebe=helper[_0x45dbad(0x18d)](process[_0x45dbad(0x1aa)][_0x45dbad(0x17d)]);if(_0x189ebe){const _0x1fa5ae=process[_0x45dbad(0x1aa)][_0x45dbad(0x18a)],_0x13657f=[];if(helper[_0x45dbad(0x135)](_0x1fa5ae)&&!helper[_0x45dbad(0x173)](_0x1fa5ae)){_0x1fa5ae[_0x45dbad(0x12e)](',')[_0x45dbad(0x17f)](_0xb4c18f=>{const _0x1a1385=_0x45dbad;_0x13657f[_0x1a1385(0x13e)]('('+_0xb4c18f[_0x1a1385(0x1ad)]()+')');});const _0x1ddbcf='^'+_0x13657f[_0x45dbad(0x15d)]('|')+'$';return _0x1ddbcf;}}return null;},a2_0x50fa68={};a2_0x50fa68[a2_0x579e08(0x11f)]=a2_0x579e08(0x1af),a2_0x50fa68[a2_0x579e08(0x188)]='chromium',a2_0x50fa68[a2_0x579e08(0x12b)]='firefox',a2_0x50fa68[a2_0x579e08(0x155)]=a2_0x579e08(0x13d);const pwToCodeceptBrowser=a2_0x50fa68;function a2_0x45c0(){const _0x4ff91e=['hubUrl','dPBUN','browser','webkit','push','BrowserStackPlugin.js','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','validPlatformsPresent','accessKey','config','require','FRAMEWORKS','printBuildLink','user','cIsRX','35056jFgEyW','info','wrsVj','../utils/clientTroubleshootingService','--config','SDK_CLEANUP','winstonLogger','mergeDeep','305056PWTBCy','Playwright','browserWSEndpoint','event','playwright-webkit','../../helpers/performance/performance-tester','end','stack','yWhoz','assign','addOptions','300uKCTpD','join','../utils/constants','../../helpers/performance/constants','isEmpty','FQVwb','platforms','err','forEach','25SphJWx','wxVKw','../../helpers/helper','log','../../helpers/BrowserStackSetup','../../helpers/test-observability/constants','slice','frameworkName','PerEA','Passed\x20:\x20','start','useW3C','setAdditionalCapabilities','addConfig','isUndefined','KBxct','10179910IQLpwc','mlKGE','codecept.conf.js','helpers','getPlatformName','../../helpers/utilities','addTests','toLowerCase','BROWSERSTACK_RERUN','dirname','map','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','load','kMjkU','createGroupsOfSuites','BROWSERSTACK_TEST_ACCESSIBILITY_YML','stringify','USER_CONFIG_DETAILS_PATH','chdir','playwright-chromium','rBHoL','BROWSERSTACK_RERUN_TESTS','getUserWorkerCount','spawn','isTrue','tYXxY','PkpNa','bootstrapAll','ouEHQ','title','accessibilityOptions','testConfig','EVENTS','../../bin/playwright/accessibility-helper','CqSKw','existsSync','UhmqH','gherkin','launchBuild','test','yMTSY','browserName','initialize','1835784ZAMpNA','yzqGi','FiuGi','ihmre','RaFfJ','XbifG','testContextOptions','finalExecution','key','codeceptjs','env','PfKYt','stop','trim','104409AdYaUT','chromium','QCUEN','BrowserStackPlugin','replace','codecept.json','plugins','printResults','format','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','lJHGE','CODECEPT','path','xhEVg','testObservability','all','Failed\x20:\x20','rPVMQ','profile','skipSessionName','passed','2NGKckj','chrome','235305cVVGnr','skipSessionStatus','host','WebDriver','parallelsPerPlatform','wIUzO','BROWSERSTACK_TEST_OBSERVABILITY_YML','getPlaywrightUrl','NpmUp','root','4535376AUlKfh','playwright-firefox','prepareCapabilities','debug','split','handleApp','browserStackCwd','cwd','/wd/hub','desiredCapabilities','../../helpers/testhub/testhubHandler','validateRerunTestList','Started\x20:\x20','length','JzPqK','accessibility'];a2_0x45c0=function(){return _0x4ff91e;};return a2_0x45c0();}function a2_0x574c(_0x1cfcd8,_0x5b8ba9){const _0x45c085=a2_0x45c0();return a2_0x574c=function(_0x574c1,_0x2b1d5c){_0x574c1=_0x574c1-0x10f;let _0x810759=_0x45c085[_0x574c1];return _0x810759;},a2_0x574c(_0x1cfcd8,_0x5b8ba9);}async function run(_0xe99506,_0x33490a,_0x1b692d){const _0x4ef0f4=a2_0x579e08,_0x3d77c0={'NpmUp':function(_0x4707d0,_0x4b4eb2){return _0x4707d0+_0x4b4eb2;},'wrsVj':function(_0x1978d0,_0x4d1b02){return _0x1978d0(_0x4d1b02);},'CqSKw':function(_0x3a6b0b,_0x3d187c){return _0x3a6b0b+_0x3d187c;},'LqIxN':function(_0x2c83a2,_0x485616,_0x310b23){return _0x2c83a2(_0x485616,_0x310b23);},'rPVMQ':_0x4ef0f4(0x178),'ouqEi':function(_0x15849e){return _0x15849e();},'ouEHQ':_0x4ef0f4(0x132),'PkpNa':function(_0x5212ce){return _0x5212ce();},'eEdVj':_0x4ef0f4(0x119),'AzQbj':_0x4ef0f4(0x16e),'UhmqH':_0x4ef0f4(0x136),'PerEA':'1|3|0|4|2|5','tYXxY':function(_0x144e19,_0x418ea4,_0x298301){return _0x144e19(_0x418ea4,_0x298301);},'wxVKw':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','FQVwb':function(_0x49e504,_0x26b32f,_0x2f1833){return _0x49e504(_0x26b32f,_0x2f1833);},'cIsRX':_0x4ef0f4(0x152),'wIUzO':_0x4ef0f4(0x123),'FiuGi':function(_0x21324b,_0x18a267){return _0x21324b(_0x18a267);},'QCUEN':function(_0x40553e,_0x4f6272){return _0x40553e!=_0x4f6272;},'xhEVg':function(_0x1c05d9,_0x391203){return _0x1c05d9===_0x391203;},'RaFfJ':function(_0x50c6df,_0xe0fe89,_0x29f67e){return _0x50c6df(_0xe0fe89,_0x29f67e);},'mlKGE':_0x4ef0f4(0x19a),'lJHGE':function(_0x2305f8,_0x273ab1){return _0x2305f8(_0x273ab1);},'KBxct':function(_0x105530,_0x4248bb){return _0x105530*_0x4248bb;},'XbifG':function(_0x2a2c96,_0x137c1d,_0x1e2dfe){return _0x2a2c96(_0x137c1d,_0x1e2dfe);},'FjiEe':_0x4ef0f4(0x13c),'PfKYt':function(_0xc02549,_0x45ddf5,_0x5f4531){return _0xc02549(_0x45ddf5,_0x5f4531);},'JzPqK':_0x4ef0f4(0x133),'kMjkU':_0x4ef0f4(0x129),'yzqGi':_0x4ef0f4(0x13f),'jPHDp':_0x4ef0f4(0x130),'rBHoL':function(_0x487d70){return _0x487d70();}};await _0x1b692d[_0x4ef0f4(0x19f)](_0xe99506),await helper[_0x4ef0f4(0x12f)](_0x1b692d[_0x4ef0f4(0x143)]);if(!_0x1b692d[_0x4ef0f4(0x143)])return;process[_0x4ef0f4(0x11b)]=_0xe99506[_0x4ef0f4(0x11b)];_0xe99506['profile']&&(process[_0x4ef0f4(0x1aa)][_0x4ef0f4(0x11b)]=_0xe99506[_0x4ef0f4(0x11b)]);const _0x27d155=_0x3d77c0[_0x4ef0f4(0x18e)](getUserCodeceptJSConfigs,_0xe99506,_0x33490a);let _0x4f8a71={};_0x27d155?(logger[_0x4ef0f4(0x14a)](_0x4ef0f4(0x112)+_0x27d155),_0x4f8a71=CodeceptJS[_0x4ef0f4(0x143)][_0x4ef0f4(0x181)](_0x27d155)):logger[_0x4ef0f4(0x14a)](_0x3d77c0[_0x4ef0f4(0x166)]);let _0x265d40=![];_0x3d77c0[_0x4ef0f4(0x161)](nestedKeyValue,_0x4f8a71,[_0x3d77c0[_0x4ef0f4(0x11a)],_0x3d77c0[_0x4ef0f4(0x148)]])&&(_0x265d40=!![]);const _0x17b2d8=_0x265d40?_0x3d77c0[_0x4ef0f4(0x148)]:_0x3d77c0[_0x4ef0f4(0x125)];let _0x2bb206=!_0x265d40?helper[_0x4ef0f4(0x170)](_0x1b692d[_0x4ef0f4(0x143)]):![];!helper[_0x4ef0f4(0x173)](_0x1b692d[_0x4ef0f4(0x143)]['accessibilityOptions'])&&(process[_0x4ef0f4(0x1aa)][_0x4ef0f4(0x180)]=JSON[_0x4ef0f4(0x185)](_0x1b692d[_0x4ef0f4(0x143)][_0x4ef0f4(0x193)]));let _0x51aa28=_0x1b692d[_0x4ef0f4(0x143)][_0x4ef0f4(0x139)];_0x51aa28=_0x51aa28||_0x3d77c0[_0x4ef0f4(0x1a2)](checkAccessibilityPlatformConfig,_0x1b692d[_0x4ef0f4(0x143)]),process['env'][_0x4ef0f4(0x184)]=_0x51aa28;_0x51aa28&&(_0x2bb206=!_0x51aa28);_0x3d77c0[_0x4ef0f4(0x1b0)](_0x1b692d[_0x4ef0f4(0x143)][_0x4ef0f4(0x117)],null)?process[_0x4ef0f4(0x1aa)][_0x4ef0f4(0x126)]=_0x1b692d[_0x4ef0f4(0x143)][_0x4ef0f4(0x117)]:process[_0x4ef0f4(0x1aa)][_0x4ef0f4(0x126)]=_0x3d77c0[_0x4ef0f4(0x116)](_0x17b2d8,_0x3d77c0[_0x4ef0f4(0x148)]);const _0x2b0b95=_0x3d77c0['RaFfJ'](nestedKeyValue,_0x4f8a71,[_0x3d77c0[_0x4ef0f4(0x176)]]),_0x5c6e07=_0x2b0b95&&!helper[_0x4ef0f4(0x160)](_0x2b0b95)?FRAMEWORKS['CODECEPT_CUCUMBER']:FRAMEWORKS[_0x4ef0f4(0x114)],_0x292f42=await TestHubHandler[_0x4ef0f4(0x19b)](_0x5c6e07,_0x1b692d);_0x51aa28&&_0x3d77c0[_0x4ef0f4(0x113)](setAccessibilityCapabilities,_0x1b692d['config']);const _0x2fab14={},_0xd071bd=[],_0x56473e=_0x1b692d[_0x4ef0f4(0x143)][_0x4ef0f4(0x124)]||helper[_0x4ef0f4(0x18b)](_0xe99506,_0x33490a,_0x1b692d[_0x4ef0f4(0x143)],constants['FRAMEWORKS']['CODECEPT'])||0x1;let _0x482a99=0x1;if(_0x3d77c0['PkpNa'](isBrowserstackInfra)){const _0x2f6d88=helper[_0x4ef0f4(0x12c)](_0x1b692d['config'],_0x2bb206,constants[_0x4ef0f4(0x145)]['CODECEPT']);_0x2f6d88[_0x4ef0f4(0x164)](_0x23b1ff=>{const _0x923cfd=_0x4ef0f4;helper[_0x923cfd(0x171)](_0x23b1ff);}),helper[_0x4ef0f4(0x141)](_0x1b692d[_0x4ef0f4(0x143)])?_0x482a99=_0x3d77c0[_0x4ef0f4(0x174)](_0x56473e,_0x1b692d[_0x4ef0f4(0x143)][_0x4ef0f4(0x162)][_0x4ef0f4(0x137)]):_0x482a99=_0x56473e,_0x2f6d88[_0x4ef0f4(0x164)](_0x347efa=>{const _0x2391bb=_0x4ef0f4,_0x330192={'YVLwD':function(_0x42f199,_0x43feb8){const _0x3a2f33=a2_0x574c;return _0x3d77c0[_0x3a2f33(0x128)](_0x42f199,_0x43feb8);},'ihmre':function(_0x2d9c8d,_0x28546c){const _0x2c60a5=a2_0x574c;return _0x3d77c0[_0x2c60a5(0x14b)](_0x2d9c8d,_0x28546c);}},_0x56dd6b=_0x3d77c0[_0x2391bb(0x197)](helper[_0x2391bb(0x179)](_0x347efa,'_'),'_'+Date['now']()),_0x127c80=((()=>{const _0x4708c2=_0x2391bb;if(_0x265d40){const _0x3cb736=pwToCodeceptBrowser[_0x347efa[_0x4708c2(0x19e)]]||_0x347efa[_0x4708c2(0x19e)];return{'browser':_0x3cb736,[_0x3cb736]:{'browserWSEndpoint':_0x330192['YVLwD'](helper[_0x4708c2(0x127)](_0x1b692d[_0x4708c2(0x143)]),_0x330192[_0x4708c2(0x1a3)](encodeURIComponent,JSON[_0x4708c2(0x185)](_0x347efa)))}};}const _0x5e3875={};return _0x5e3875[_0x4708c2(0x133)]=_0x347efa,_0x5e3875[_0x4708c2(0x147)]=_0x1b692d['config']['userName'],_0x5e3875[_0x4708c2(0x1a8)]=_0x1b692d['config'][_0x4708c2(0x142)],_0x5e3875;})()),_0x2c9ecb=_0x3d77c0['LqIxN'](nestedKeyValue,_0x4f8a71,[_0x3d77c0[_0x2391bb(0x11a)],_0x17b2d8]);_0x2fab14[_0x56dd6b]=_0x2c9ecb?helper[_0x2391bb(0x150)](_0x127c80,_0x2c9ecb):_0x127c80;if(_0x265d40)_0x2fab14[_0x56dd6b]['browser']=pwToCodeceptBrowser[_0x347efa[_0x2391bb(0x19e)]]||_0x347efa[_0x2391bb(0x19e)];else{_0x2fab14[_0x56dd6b][_0x2391bb(0x13c)]=_0x347efa['browserName']||_0x127c80[_0x2391bb(0x13c)];if(_0x3d77c0['ouqEi'](isBrowserstackInfra)){_0x2fab14[_0x56dd6b][_0x2391bb(0x122)]=constants[_0x2391bb(0x13a)][_0x2391bb(0x1b2)](_0x3d77c0['ouEHQ'],'')[_0x2391bb(0x1b2)](/https?:\/\//,'');;_0x2fab14[_0x56dd6b][_0x2391bb(0x115)]=_0x3d77c0[_0x2391bb(0x191)];}}_0xd071bd['push'](_0x56dd6b);});}else{_0x482a99=0x1;if(_0x265d40){const _0x471314=_0x3d77c0[_0x4ef0f4(0x1a5)](nestedKeyValue,_0x4f8a71,[_0x3d77c0[_0x4ef0f4(0x11a)],_0x17b2d8,_0x3d77c0['FjiEe']]),_0xed5754=_0x3d77c0[_0x4ef0f4(0x1ab)](nestedKeyValue,_0x4f8a71,[_0x3d77c0[_0x4ef0f4(0x11a)],_0x17b2d8,_0x471314]);if(_0xed5754&&_0xed5754[_0x4ef0f4(0x153)]){const _0x59927f={};_0x59927f[_0x4ef0f4(0x162)]=[],_0xed5754[_0x4ef0f4(0x153)]=helper[_0x4ef0f4(0x12c)](Object[_0x4ef0f4(0x15a)]({},_0x1b692d['config'],_0x59927f),null,_0x5c6e07[_0x4ef0f4(0x17c)](),null,null,_0xed5754[_0x4ef0f4(0x153)]);}}else{const _0x560968={};_0x560968[_0x4ef0f4(0x162)]=[],_0x4f8a71[_0x3d77c0[_0x4ef0f4(0x11a)]][_0x17b2d8][_0x3d77c0[_0x4ef0f4(0x138)]]=helper[_0x4ef0f4(0x12c)](Object[_0x4ef0f4(0x15a)]({},_0x1b692d['config'],_0x560968),null,_0x5c6e07[_0x4ef0f4(0x17c)](),_0x3d77c0[_0x4ef0f4(0x1a4)](nestedKeyValue,_0x4f8a71,[_0x3d77c0[_0x4ef0f4(0x11a)],_0x17b2d8,_0x3d77c0['JzPqK']])||{},null,null);}_0x2fab14[_0x3d77c0['kMjkU']]=_0x4f8a71,_0xd071bd[_0x4ef0f4(0x13e)](_0x3d77c0[_0x4ef0f4(0x182)]);}const _0x3c69cc={};_0x3c69cc[_0x4ef0f4(0x194)]=_0x27d155;const _0x513dd0=_0x3c69cc,_0x265bb7=path[_0x4ef0f4(0x15d)](__dirname,_0x3d77c0[_0x4ef0f4(0x1a1)]),_0x2fb49d=process[_0x4ef0f4(0x131)]();process[_0x4ef0f4(0x1aa)][_0x3d77c0['jPHDp']]=_0x2fb49d,process[_0x4ef0f4(0x187)](path[_0x4ef0f4(0x17e)](_0x27d155));const _0x35cefa=new CodeceptJS['Workers'](null,_0x513dd0),_0x21a80c=_0x35cefa[_0x4ef0f4(0x183)](_0x482a99),_0x35163a=testOpsHelper['isTestObservabilitySession'](),_0x17e25e=_0xd071bd[_0x4ef0f4(0x17f)](_0x110aef=>{const _0x4ab1cd=_0x4ef0f4,_0xa617ef={};_0xa617ef[_0x4ab1cd(0x152)]=_0x2fab14[_0x110aef];const _0x1232e9={};_0x1232e9['WebDriver']=_0x2fab14[_0x110aef];const _0x13e8b2=_0x265d40?_0xa617ef:_0x1232e9,_0x4b19a3=_0x3d77c0['ouqEi'](getO11yRerunPattern),_0x1f4aca={};_0x1f4aca[_0x4ab1cd(0x178)]=_0x13e8b2;const _0x3151a9={};_0x3151a9[_0x4ab1cd(0x144)]=_0x265bb7,_0x3151a9['enabled']=!![],_0x3151a9[_0x4ab1cd(0x11c)]=_0x1b692d['config']['testContextOptions']['skipSessionName'],_0x3151a9[_0x4ab1cd(0x121)]=_0x1b692d[_0x4ab1cd(0x143)][_0x4ab1cd(0x1a6)][_0x4ab1cd(0x121)],_0x3151a9['testObservability']=_0x35163a,_0x3151a9[_0x4ab1cd(0x16c)]=_0x5c6e07;const _0x329324={};_0x329324[_0x4ab1cd(0x1b1)]=_0x3151a9;const _0x16925c={};return _0x16925c[_0x4ab1cd(0x10f)]=_0x329324,helper[_0x4ab1cd(0x150)]({},_0x4f8a71,_0x3d77c0[_0x4ab1cd(0x18f)](isBrowserstackInfra)?_0x1f4aca:{},_0x4b19a3?{'grep':_0x4b19a3}:{},_0x16925c);});for(const _0x2a94cc of _0x17e25e){for(const _0x1b120a of _0x21a80c){const _0x2ec49b=_0x35cefa[_0x4ef0f4(0x18c)]();_0x2ec49b[_0x4ef0f4(0x17b)](_0x1b120a),_0x2ec49b[_0x4ef0f4(0x172)](_0x2a94cc);const _0x4b8110={};_0x4b8110[_0x4ef0f4(0x143)]=_0x27d155,_0x2ec49b[_0x4ef0f4(0x15b)](Object[_0x4ef0f4(0x15a)](_0x4b8110,_0xe99506));}}_0x35cefa['on'](CodeceptJS[_0x4ef0f4(0x154)][_0x4ef0f4(0x19c)]['failed'],(_0x122246,_0x17ddbb)=>{const _0x179b6a=_0x4ef0f4;console[_0x179b6a(0x168)](_0x3d77c0['eEdVj'],_0x122246[_0x179b6a(0x192)]);const _0x179e22={[_0x122246[_0x179b6a(0x192)]]:_0x122246[_0x179b6a(0x163)][_0x179b6a(0x158)]};_testErrorData['push'](_0x179e22);}),_0x35cefa['on'](CodeceptJS[_0x4ef0f4(0x154)][_0x4ef0f4(0x19c)][_0x4ef0f4(0x11d)],async _0x8819b1=>{const _0x4f195a=_0x4ef0f4;console[_0x4f195a(0x168)](_0x3d77c0['AzQbj'],_0x8819b1[_0x4f195a(0x192)]);}),_0x35cefa['on'](CodeceptJS['event'][_0x4ef0f4(0x19c)]['before'],async _0x378fa2=>{const _0x1cdc80=_0x4ef0f4;console[_0x1cdc80(0x168)](_0x3d77c0[_0x1cdc80(0x199)],_0x378fa2[_0x1cdc80(0x192)]);}),_0x35cefa['on'](CodeceptJS[_0x4ef0f4(0x154)][_0x4ef0f4(0x118)]['result'],async()=>{const _0x477827=_0x4ef0f4,_0x32b813=_0x3d77c0[_0x477827(0x16d)][_0x477827(0x12e)]('|');let _0x191295=0x0;while(!![]){switch(_0x32b813[_0x191295++]){case'0':testOpsHelper[_0x477827(0x146)]();continue;case'1':PerformanceTester[_0x477827(0x16f)](PerformanceEvents[_0x477827(0x14e)]);continue;case'2':try{await TestHubHandler[_0x477827(0x1ac)]();}catch(_0x406d3e){logger[_0x477827(0x12d)](_0x477827(0x140)+util[_0x477827(0x111)](_0x406d3e));}continue;case'3':_0x1b692d['errorMessage']=_testErrorData;continue;case'4':utilities[_0x477827(0x1a7)](_0x1b692d);continue;case'5':_0x35cefa[_0x477827(0x110)]();continue;}break;}});async function _0x34d72c(){const _0x4daf8f=_0x4ef0f4;try{await _0x35cefa[_0x4daf8f(0x190)](),await _0x35cefa['run']();}finally{process['chdir'](_0x2fb49d),await _0x35cefa['teardownAll']();}}PerformanceTester[_0x4ef0f4(0x157)](PerformanceEvents['SDK_SETUP']),_0x3d77c0[_0x4ef0f4(0x189)](_0x34d72c);}module['exports']=run;
|
|
2
|
+
'use strict';const a2_0x1349c5=a2_0x156f;(function(_0x28498,_0x5a8c03){const _0x2f5033=a2_0x156f,_0x357fd1=_0x28498();while(!![]){try{const _0x385a8d=-parseInt(_0x2f5033(0x19f))/0x1+-parseInt(_0x2f5033(0x16b))/0x2*(parseInt(_0x2f5033(0x1a9))/0x3)+-parseInt(_0x2f5033(0x116))/0x4+parseInt(_0x2f5033(0x156))/0x5+parseInt(_0x2f5033(0x12b))/0x6*(-parseInt(_0x2f5033(0x146))/0x7)+-parseInt(_0x2f5033(0x16c))/0x8+parseInt(_0x2f5033(0x196))/0x9;if(_0x385a8d===_0x5a8c03)break;else _0x357fd1['push'](_0x357fd1['shift']());}catch(_0x5048f9){_0x357fd1['push'](_0x357fd1['shift']());}}}(a2_0x5832,0x68557));function a2_0x5832(){const _0x2daa48=['BROWSERSTACK_TEST_OBSERVABILITY_YML','9fiVLAD','slice','../../helpers/test-observability/utils','Blfbd','initialize','replace','isTrue','BROWSERSTACK_TEST_ACCESSIBILITY_YML','webkit','../../helpers/testhub/testhubHandler','addOptions','path','yCfcP','getPlatformName','3289196xsdsmD','EVENTS','5|3|1|2|0|4','codecept.conf.js','../../bin/playwright/accessibility-helper','passed','rTUTI','Playwright','TeAOK','bootstrapAll','playwright-chromium','iseoe','host','accessibilityOptions','event','map','failed','nrccn','browser','YBefR','browserName','6GKCqsU','join','Passed\x20:\x20','desiredCapabilities','enabled','accessKey','before','hubUrl','load','isUndefined','end','teardownAll','prepareCapabilities','isTestObservabilitySession','chromium','Workers','RKCci','split','ykwvq','process','AStCl','QVbMe','stop','DZyIo','getUserWorkerCount','isEmpty','CODECEPT_CUCUMBER','504119kgSamo','testObservability','start','testContextOptions','testConfig','skipSessionStatus','handleApp','/wd/hub','CODECEPT','title','length','parallelsPerPlatform','TlBfO','skipSessionName','format','ZVeAR','2820075dNsubP','rVyfW','helpers','../../helpers/accessibility-automation/helper','setAdditionalCapabilities','existsSync','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','KifUa','info','WebDriver','USER_CONFIG_DETAILS_PATH','test','Started\x20:\x20','fSxQz','key','spawn','cwd','platforms','browserWSEndpoint','stack','require','467966luHLJr','5815184uSrWMy','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','user','mOiTT','../../helpers/utilities','run','util','lJcrM','env','mergeDeep','../utils/clientTroubleshootingService','profile','FRAMEWORKS','createGroupsOfSuites','codecept.json','codeceptjs/lib/index.js','push','chrome','AynnL','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','validPlatformsPresent','NEVFY','../../helpers/logger','zJKKY','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','gSzQn','assign','SDK_CLEANUP','winstonLogger','chdir','exports','now','HSwvi','log','debug','../../helpers/BrowserStackSetup','../../helpers/helper','Failed\x20:\x20','trim','fvkWI','BROWSERSTACK_RERUN_TESTS','gcdSG','23679801amhcIX','userName','toLowerCase','printResults','BROWSERSTACK_RERUN','addConfig','../../helpers/test-observability/constants','findIndex','../../helpers/performance/constants','444590GdQjsY','dirname','FPEWc','plugins','config','WDnzI','RgJlr','playwright-webkit','stringify'];a2_0x5832=function(){return _0x2daa48;};return a2_0x5832();}const fs=require('fs'),path=require(a2_0x1349c5(0x1b4)),util=require(a2_0x1349c5(0x172)),process=require(a2_0x1349c5(0x13e)),logger=require(a2_0x1349c5(0x182))[a2_0x1349c5(0x188)],{default:BrowserStackSetup}=require(a2_0x1349c5(0x18f)),helper=require(a2_0x1349c5(0x190)),utilities=require(a2_0x1349c5(0x170)),{checkAccessibilityPlatformConfig}=require(a2_0x1349c5(0x159)),{setAccessibilityCapabilities}=require(a2_0x1349c5(0x11a)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x1349c5(0x190)),CodeceptJS=requireModule(a2_0x1349c5(0x17b),'codeceptjs'),testOpsHelper=require(a2_0x1349c5(0x1ab)),TestHubHandler=require(a2_0x1349c5(0x1b2)),constants=require('../utils/constants'),PerformanceTester=require('../../helpers/performance/performance-tester'),{FRAMEWORKS}=require(a2_0x1349c5(0x19c)),PerformanceEvents=require(a2_0x1349c5(0x19e))[a2_0x1349c5(0x117)],ClientTroubleShootingService=require(a2_0x1349c5(0x176)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x1cc6ba,_0x1738da)=>{const _0x167bdc=a2_0x1349c5,_0x3e2869={};_0x3e2869[_0x167bdc(0x140)]=function(_0x441444,_0x466300){return _0x441444===_0x466300;},_0x3e2869[_0x167bdc(0x129)]=_0x167bdc(0x119),_0x3e2869[_0x167bdc(0x18c)]=_0x167bdc(0x17a);const _0xace27=_0x3e2869;let _0x409964=null;const _0x54a499={};let _0x1ea491=_0x1738da['findIndex'](_0x20e391=>_0x20e391==='--config');_0xace27[_0x167bdc(0x140)](_0x1ea491,-0x1)&&(_0x1ea491=_0x1738da[_0x167bdc(0x19d)](_0x4b27f8=>_0x4b27f8==='-c'));if(!helper[_0x167bdc(0x134)](_0x1cc6ba[_0x167bdc(0x1a3)])&&fs[_0x167bdc(0x15b)](path[_0x167bdc(0x12c)](process[_0x167bdc(0x166)](),_0x1cc6ba[_0x167bdc(0x1a3)])))_0x409964=path['join'](process[_0x167bdc(0x166)](),_0x1cc6ba[_0x167bdc(0x1a3)]),_0x1738da[_0x167bdc(0x1aa)](_0x1ea491,0x2);else{if(!helper[_0x167bdc(0x134)](_0x1cc6ba['c'])&&fs['existsSync'](path['join'](process[_0x167bdc(0x166)](),_0x1cc6ba['c'])))_0x409964=path[_0x167bdc(0x12c)](process['cwd'](),_0x1cc6ba['c']),_0x1738da[_0x167bdc(0x1aa)](_0x1ea491,0x2);else{if(fs[_0x167bdc(0x15b)](path[_0x167bdc(0x12c)](process[_0x167bdc(0x166)](),_0xace27['YBefR'])))_0x409964=path[_0x167bdc(0x12c)](process[_0x167bdc(0x166)](),_0xace27[_0x167bdc(0x129)]);else fs[_0x167bdc(0x15b)](path[_0x167bdc(0x12c)](process[_0x167bdc(0x166)](),_0xace27['HSwvi']))&&(_0x409964=path['join'](process[_0x167bdc(0x166)](),_0xace27[_0x167bdc(0x18c)]));}}return process[_0x167bdc(0x174)][_0x167bdc(0x160)]=_0x409964,_0x409964;},getO11yRerunPattern=()=>{const _0x24a84b=a2_0x1349c5,_0x25789d=helper[_0x24a84b(0x1af)](process['env'][_0x24a84b(0x19a)]);if(_0x25789d){const _0x5fb6c0=process[_0x24a84b(0x174)][_0x24a84b(0x194)],_0x493db4=[];if(helper['validateRerunTestList'](_0x5fb6c0)&&!helper[_0x24a84b(0x134)](_0x5fb6c0)){_0x5fb6c0[_0x24a84b(0x13c)](',')[_0x24a84b(0x125)](_0x4fdf80=>{const _0x360d63=_0x24a84b;_0x493db4[_0x360d63(0x17c)]('('+_0x4fdf80[_0x360d63(0x192)]()+')');});const _0x1af62b='^'+_0x493db4[_0x24a84b(0x12c)]('|')+'$';return _0x1af62b;}}return null;},a2_0x4c0c6e={};a2_0x4c0c6e[a2_0x1349c5(0x17d)]=a2_0x1349c5(0x139),a2_0x4c0c6e[a2_0x1349c5(0x120)]=a2_0x1349c5(0x139),a2_0x4c0c6e['playwright-firefox']='firefox',a2_0x4c0c6e[a2_0x1349c5(0x1a6)]=a2_0x1349c5(0x1b1);const pwToCodeceptBrowser=a2_0x4c0c6e;function a2_0x156f(_0x278b2f,_0x5cdc61){const _0x583226=a2_0x5832();return a2_0x156f=function(_0x156f1d,_0x419d4c){_0x156f1d=_0x156f1d-0x116;let _0x593b42=_0x583226[_0x156f1d];return _0x593b42;},a2_0x156f(_0x278b2f,_0x5cdc61);}async function run(_0xc0291f,_0x2f5aea,_0x56f16b){const _0xde2f1a=a2_0x1349c5,_0x1f8e7d={'ykwvq':function(_0x357e2a,_0x43b095){return _0x357e2a+_0x43b095;},'RgJlr':function(_0x5bf24c,_0x28b62a){return _0x5bf24c(_0x28b62a);},'FPEWc':function(_0x4c49f4,_0x27870d,_0x5f5801){return _0x4c49f4(_0x27870d,_0x5f5801);},'mOiTT':'helpers','rTUTI':function(_0x23ff4b){return _0x23ff4b();},'WDnzI':_0xde2f1a(0x14d),'AynnL':_0xde2f1a(0x191),'RKCci':_0xde2f1a(0x12d),'rVyfW':_0xde2f1a(0x162),'fvkWI':_0xde2f1a(0x118),'nrccn':function(_0x428156,_0x461d83,_0x3a34f0){return _0x428156(_0x461d83,_0x3a34f0);},'Blfbd':_0xde2f1a(0x15c),'TlBfO':function(_0xb67c51,_0x5ffdc5,_0x162e54){return _0xb67c51(_0x5ffdc5,_0x162e54);},'ZVeAR':_0xde2f1a(0x11d),'yCfcP':_0xde2f1a(0x15f),'TeAOK':function(_0x39a471,_0x37b1bd){return _0x39a471!=_0x37b1bd;},'zJKKY':function(_0x17d154,_0x426f28){return _0x17d154===_0x426f28;},'gRVjJ':function(_0x20144a,_0x5d3d5f,_0x2a6cf1){return _0x20144a(_0x5d3d5f,_0x2a6cf1);},'iseoe':'gherkin','gSzQn':function(_0x177194,_0x43f600){return _0x177194(_0x43f600);},'fSxQz':function(_0x265295,_0x51abab){return _0x265295*_0x51abab;},'KBmRr':_0xde2f1a(0x128),'DZyIo':_0xde2f1a(0x12e),'AStCl':function(_0x315ec2,_0x125803,_0x18bac9){return _0x315ec2(_0x125803,_0x18bac9);},'KifUa':'root','gcdSG':'BrowserStackPlugin.js','NEVFY':'browserStackCwd'};await _0x56f16b[_0xde2f1a(0x1ad)](_0xc0291f),await helper[_0xde2f1a(0x14c)](_0x56f16b[_0xde2f1a(0x1a3)]);if(!_0x56f16b['config'])return;process['profile']=_0xc0291f['profile'];_0xc0291f[_0xde2f1a(0x177)]&&(process['env'][_0xde2f1a(0x177)]=_0xc0291f[_0xde2f1a(0x177)]);const _0x5966e4=_0x1f8e7d[_0xde2f1a(0x127)](getUserCodeceptJSConfigs,_0xc0291f,_0x2f5aea);let _0x589e79={};_0x5966e4?(logger[_0xde2f1a(0x15e)](_0xde2f1a(0x184)+_0x5966e4),_0x589e79=CodeceptJS[_0xde2f1a(0x1a3)][_0xde2f1a(0x133)](_0x5966e4)):logger[_0xde2f1a(0x15e)](_0x1f8e7d[_0xde2f1a(0x1ac)]);let _0x4f1726=![];_0x1f8e7d[_0xde2f1a(0x152)](nestedKeyValue,_0x589e79,[_0x1f8e7d[_0xde2f1a(0x16f)],_0x1f8e7d[_0xde2f1a(0x155)]])&&(_0x4f1726=!![]);const _0x143ad7=_0x4f1726?_0x1f8e7d[_0xde2f1a(0x155)]:_0x1f8e7d[_0xde2f1a(0x1b5)];let _0xe9dd7f=!_0x4f1726?helper['useW3C'](_0x56f16b[_0xde2f1a(0x1a3)]):![];!helper['isUndefined'](_0x56f16b[_0xde2f1a(0x1a3)]['accessibilityOptions'])&&(process['env'][_0xde2f1a(0x17f)]=JSON[_0xde2f1a(0x1a7)](_0x56f16b[_0xde2f1a(0x1a3)][_0xde2f1a(0x123)]));let _0x56557a=_0x56f16b[_0xde2f1a(0x1a3)]['accessibility'];_0x56557a=_0x56557a||_0x1f8e7d['RgJlr'](checkAccessibilityPlatformConfig,_0x56f16b['config']),process[_0xde2f1a(0x174)][_0xde2f1a(0x1b0)]=_0x56557a;_0x56557a&&(_0xe9dd7f=!_0x56557a);_0x1f8e7d[_0xde2f1a(0x11e)](_0x56f16b['config']['testObservability'],null)?process[_0xde2f1a(0x174)][_0xde2f1a(0x1a8)]=_0x56f16b['config'][_0xde2f1a(0x147)]:process[_0xde2f1a(0x174)][_0xde2f1a(0x1a8)]=_0x1f8e7d[_0xde2f1a(0x183)](_0x143ad7,_0x1f8e7d[_0xde2f1a(0x155)]);const _0x419aa9=_0x1f8e7d['gRVjJ'](nestedKeyValue,_0x589e79,[_0x1f8e7d[_0xde2f1a(0x121)]]),_0x104685=_0x419aa9&&!helper[_0xde2f1a(0x144)](_0x419aa9)?FRAMEWORKS[_0xde2f1a(0x145)]:FRAMEWORKS['CODECEPT'],_0x4df078=await TestHubHandler['launchBuild'](_0x104685,_0x56f16b);_0x56557a&&_0x1f8e7d[_0xde2f1a(0x185)](setAccessibilityCapabilities,_0x56f16b[_0xde2f1a(0x1a3)]);const _0x26be87={},_0x44413a=[],_0x51440d=_0x56f16b[_0xde2f1a(0x1a3)][_0xde2f1a(0x151)]||helper[_0xde2f1a(0x143)](_0xc0291f,_0x2f5aea,_0x56f16b[_0xde2f1a(0x1a3)],constants[_0xde2f1a(0x178)][_0xde2f1a(0x14e)])||0x1;let _0x26a5c6=0x1;if(_0x1f8e7d['rTUTI'](isBrowserstackInfra)){const _0x3171ff=helper[_0xde2f1a(0x137)](_0x56f16b[_0xde2f1a(0x1a3)],_0xe9dd7f,constants[_0xde2f1a(0x178)]['CODECEPT']);_0x3171ff['forEach'](_0x3fefe5=>{const _0x59cdf5=_0xde2f1a;helper[_0x59cdf5(0x15a)](_0x3fefe5);}),helper[_0xde2f1a(0x180)](_0x56f16b[_0xde2f1a(0x1a3)])?_0x26a5c6=_0x1f8e7d[_0xde2f1a(0x163)](_0x51440d,_0x56f16b[_0xde2f1a(0x1a3)]['platforms'][_0xde2f1a(0x150)]):_0x26a5c6=_0x51440d,_0x3171ff['forEach'](_0xe41a09=>{const _0x14980b=_0xde2f1a,_0x59315e={'lJcrM':function(_0x39676d,_0x2c9fb4){return _0x1f8e7d['ykwvq'](_0x39676d,_0x2c9fb4);},'QomrG':function(_0x1933d7,_0x5d3038){const _0x2c21f7=a2_0x156f;return _0x1f8e7d[_0x2c21f7(0x1a5)](_0x1933d7,_0x5d3038);}},_0x505e99=_0x1f8e7d[_0x14980b(0x13d)](helper[_0x14980b(0x1b6)](_0xe41a09,'_'),'_'+Date[_0x14980b(0x18b)]()),_0x754baa=((()=>{const _0x159be3=_0x14980b;if(_0x4f1726){const _0x4081ab=pwToCodeceptBrowser[_0xe41a09[_0x159be3(0x12a)]]||_0xe41a09[_0x159be3(0x12a)];return{'browser':_0x4081ab,[_0x4081ab]:{'browserWSEndpoint':_0x59315e[_0x159be3(0x173)](helper['getPlaywrightUrl'](_0x56f16b[_0x159be3(0x1a3)]),_0x59315e['QomrG'](encodeURIComponent,JSON[_0x159be3(0x1a7)](_0xe41a09)))}};}const _0x4fc844={};return _0x4fc844[_0x159be3(0x12e)]=_0xe41a09,_0x4fc844[_0x159be3(0x16e)]=_0x56f16b[_0x159be3(0x1a3)][_0x159be3(0x197)],_0x4fc844[_0x159be3(0x164)]=_0x56f16b[_0x159be3(0x1a3)][_0x159be3(0x130)],_0x4fc844;})()),_0x44d70e=_0x1f8e7d[_0x14980b(0x1a1)](nestedKeyValue,_0x589e79,[_0x1f8e7d[_0x14980b(0x16f)],_0x143ad7]);_0x26be87[_0x505e99]=_0x44d70e?helper[_0x14980b(0x175)](_0x754baa,_0x44d70e):_0x754baa;if(_0x4f1726)_0x26be87[_0x505e99][_0x14980b(0x128)]=pwToCodeceptBrowser[_0xe41a09[_0x14980b(0x12a)]]||_0xe41a09[_0x14980b(0x12a)];else{_0x26be87[_0x505e99][_0x14980b(0x128)]=_0xe41a09[_0x14980b(0x12a)]||_0x754baa['browser'];if(_0x1f8e7d[_0x14980b(0x11c)](isBrowserstackInfra)){_0x26be87[_0x505e99][_0x14980b(0x122)]=constants[_0x14980b(0x132)][_0x14980b(0x1ae)](_0x1f8e7d['WDnzI'],'')['replace'](/https?:\/\//,'');;_0x26be87[_0x505e99][_0x14980b(0x1b4)]=_0x1f8e7d[_0x14980b(0x1a4)];}}_0x44413a[_0x14980b(0x17c)](_0x505e99);});}else{_0x26a5c6=0x1;if(_0x4f1726){const _0x1c5bdd=_0x1f8e7d['gRVjJ'](nestedKeyValue,_0x589e79,[_0x1f8e7d[_0xde2f1a(0x16f)],_0x143ad7,_0x1f8e7d['KBmRr']]),_0x21c4b3=_0x1f8e7d[_0xde2f1a(0x1a1)](nestedKeyValue,_0x589e79,[_0x1f8e7d[_0xde2f1a(0x16f)],_0x143ad7,_0x1c5bdd]);if(_0x21c4b3&&_0x21c4b3[_0xde2f1a(0x168)]){const _0x37ae8b={};_0x37ae8b['platforms']=[],_0x21c4b3[_0xde2f1a(0x168)]=helper['prepareCapabilities'](Object[_0xde2f1a(0x186)]({},_0x56f16b[_0xde2f1a(0x1a3)],_0x37ae8b),null,_0x104685[_0xde2f1a(0x198)](),null,null,_0x21c4b3['browserWSEndpoint']);}}else{const _0x447c3e={};_0x447c3e[_0xde2f1a(0x167)]=[],_0x589e79[_0x1f8e7d[_0xde2f1a(0x16f)]][_0x143ad7][_0x1f8e7d[_0xde2f1a(0x142)]]=helper[_0xde2f1a(0x137)](Object[_0xde2f1a(0x186)]({},_0x56f16b[_0xde2f1a(0x1a3)],_0x447c3e),null,_0x104685['toLowerCase'](),_0x1f8e7d[_0xde2f1a(0x13f)](nestedKeyValue,_0x589e79,[_0x1f8e7d[_0xde2f1a(0x16f)],_0x143ad7,_0x1f8e7d[_0xde2f1a(0x142)]])||{},null,null);}_0x26be87[_0x1f8e7d[_0xde2f1a(0x15d)]]=_0x589e79,_0x44413a['push'](_0x1f8e7d['KifUa']);}const _0x33018d={};_0x33018d[_0xde2f1a(0x14a)]=_0x5966e4;const _0x3ac767=_0x33018d,_0x4e4310=path['join'](__dirname,_0x1f8e7d[_0xde2f1a(0x195)]),_0x312541=process[_0xde2f1a(0x166)]();process[_0xde2f1a(0x174)][_0x1f8e7d[_0xde2f1a(0x181)]]=_0x312541,process['chdir'](path[_0xde2f1a(0x1a0)](_0x5966e4));const _0x5667ca=new CodeceptJS[(_0xde2f1a(0x13a))](null,_0x3ac767),_0x1f1e71=_0x5667ca[_0xde2f1a(0x179)](_0x26a5c6),_0x24d7f0=testOpsHelper[_0xde2f1a(0x138)](),_0x372ee4=_0x44413a['map'](_0x5e25a5=>{const _0x25fde5=_0xde2f1a,_0x5d3760={};_0x5d3760[_0x25fde5(0x11d)]=_0x26be87[_0x5e25a5];const _0x33d80e={};_0x33d80e['WebDriver']=_0x26be87[_0x5e25a5];const _0x58a90a=_0x4f1726?_0x5d3760:_0x33d80e,_0x27886a=_0x1f8e7d[_0x25fde5(0x11c)](getO11yRerunPattern),_0x1aee9c={};_0x1aee9c[_0x25fde5(0x158)]=_0x58a90a;const _0x3e6732={};_0x3e6732[_0x25fde5(0x16a)]=_0x4e4310,_0x3e6732[_0x25fde5(0x12f)]=!![],_0x3e6732[_0x25fde5(0x153)]=_0x56f16b[_0x25fde5(0x1a3)][_0x25fde5(0x149)][_0x25fde5(0x153)],_0x3e6732[_0x25fde5(0x14b)]=_0x56f16b[_0x25fde5(0x1a3)][_0x25fde5(0x149)]['skipSessionStatus'],_0x3e6732['testObservability']=_0x24d7f0,_0x3e6732['frameworkName']=_0x104685;const _0x1443f3={};_0x1443f3['BrowserStackPlugin']=_0x3e6732;const _0x49133f={};return _0x49133f[_0x25fde5(0x1a2)]=_0x1443f3,helper[_0x25fde5(0x175)]({},_0x589e79,_0x1f8e7d[_0x25fde5(0x11c)](isBrowserstackInfra)?_0x1aee9c:{},_0x27886a?{'grep':_0x27886a}:{},_0x49133f);});for(const _0x36acf1 of _0x372ee4){for(const _0x23469b of _0x1f1e71){const _0x3e7dea=_0x5667ca[_0xde2f1a(0x165)]();_0x3e7dea['addTests'](_0x23469b),_0x3e7dea[_0xde2f1a(0x19b)](_0x36acf1);const _0x378892={};_0x378892[_0xde2f1a(0x1a3)]=_0x5966e4,_0x3e7dea[_0xde2f1a(0x1b3)](Object[_0xde2f1a(0x186)](_0x378892,_0xc0291f));}}_0x5667ca['on'](CodeceptJS[_0xde2f1a(0x124)]['test'][_0xde2f1a(0x126)],(_0x2b1830,_0x441027)=>{const _0x207df6=_0xde2f1a;console[_0x207df6(0x18d)](_0x1f8e7d[_0x207df6(0x17e)],_0x2b1830['title']);const _0x553bd1={[_0x2b1830[_0x207df6(0x14f)]]:_0x2b1830['err'][_0x207df6(0x169)]};_testErrorData[_0x207df6(0x17c)](_0x553bd1);}),_0x5667ca['on'](CodeceptJS[_0xde2f1a(0x124)][_0xde2f1a(0x161)][_0xde2f1a(0x11b)],async _0x4d5164=>{const _0x35556a=_0xde2f1a;console[_0x35556a(0x18d)](_0x1f8e7d[_0x35556a(0x13b)],_0x4d5164['title']);}),_0x5667ca['on'](CodeceptJS[_0xde2f1a(0x124)]['test'][_0xde2f1a(0x131)],async _0x12193d=>{const _0x453fee=_0xde2f1a;console[_0x453fee(0x18d)](_0x1f8e7d[_0x453fee(0x157)],_0x12193d[_0x453fee(0x14f)]);}),_0x5667ca['on'](CodeceptJS[_0xde2f1a(0x124)]['all']['result'],async()=>{const _0x197a6b=_0xde2f1a,_0x169739=_0x1f8e7d[_0x197a6b(0x193)][_0x197a6b(0x13c)]('|');let _0x475442=0x0;while(!![]){switch(_0x169739[_0x475442++]){case'0':try{await TestHubHandler[_0x197a6b(0x141)]();}catch(_0x3dc169){logger[_0x197a6b(0x18e)](_0x197a6b(0x16d)+util[_0x197a6b(0x154)](_0x3dc169));}continue;case'1':testOpsHelper['printBuildLink']();continue;case'2':utilities['finalExecution'](_0x56f16b);continue;case'3':_0x56f16b['errorMessage']=_testErrorData;continue;case'4':_0x5667ca[_0x197a6b(0x199)]();continue;case'5':PerformanceTester[_0x197a6b(0x148)](PerformanceEvents[_0x197a6b(0x187)]);continue;}break;}});async function _0xbe5a8a(){const _0x47b77c=_0xde2f1a;try{await _0x5667ca[_0x47b77c(0x11f)](),await _0x5667ca[_0x47b77c(0x171)]();}finally{process[_0x47b77c(0x189)](_0x312541),await _0x5667ca[_0x47b77c(0x136)]();}}PerformanceTester[_0xde2f1a(0x135)](PerformanceEvents['SDK_SETUP']),_0x1f8e7d[_0xde2f1a(0x11c)](_0xbe5a8a);}module[a2_0x1349c5(0x18a)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a3_0x328eeb=a3_0x2c47;(function(_0x39b0a9,_0x5cb40a){const _0x458660=a3_0x2c47,_0x49abc0=_0x39b0a9();while(!![]){try{const _0x40768f=-parseInt(_0x458660(0x1bd))/0x1*(parseInt(_0x458660(0x1c0))/0x2)+parseInt(_0x458660(0x1ff))/0x3+-parseInt(_0x458660(0x1fb))/0x4*(parseInt(_0x458660(0x1f4))/0x5)+-parseInt(_0x458660(0x1df))/0x6*(parseInt(_0x458660(0x1bf))/0x7)+parseInt(_0x458660(0x1dd))/0x8*(-parseInt(_0x458660(0x1c2))/0x9)+parseInt(_0x458660(0x1ee))/0xa+parseInt(_0x458660(0x1b9))/0xb*(parseInt(_0x458660(0x1c4))/0xc);if(_0x40768f===_0x5cb40a)break;else _0x49abc0['push'](_0x49abc0['shift']());}catch(_0x48dd09){_0x49abc0['push'](_0x49abc0['shift']());}}}(a3_0x16a9,0x3672e));function a3_0x2c47(_0x36cd6d,_0x27c9f5){const _0x16a9bb=a3_0x16a9();return a3_0x2c47=function(_0x2c4714,_0x15db98){_0x2c4714=_0x2c4714-0x1b4;let _0x40bc5d=_0x16a9bb[_0x2c4714];return _0x40bc5d;},a3_0x2c47(_0x36cd6d,_0x27c9f5);}function a3_0x16a9(){const _0x5d534d=['constructor','cloudProvider','hxojQ','858430GufINm','eOJPR','GxcBP','EcFmF','GWGIl','gKzWP','browserstack_accessibility_automation_script','4WSPRVg','warn','processWebDriverConfig','EkVob','109938hkZXPW','TonXE','cBhNB','HREdC','ucbzN','YSunW','Playwright','searchParams','browserVersion','sessionId','462pmUOAm','fetchPlatformDetails','shouldPatchExecuteScript','browserWSEndpoint','311261AoUHJs','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','175LXKluQ','2HveVjv','fdUsg','10107nulOrT','name','237096VpnDHh','platformName','HRzKr','unknown_grid','platform','hdQho','deviceName','nvHxL','jdHcD','get','OaXuo','MVNTh','caps','winstonLogger','../../helpers/helper','../../bin/playwright/sessionDetails','osVersion','pTcli','aiqen','browser','lUdqN','oFvRX','nwCph','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','../../helpers/logger','1504CzhXHp','bsSessionId','81402WFdHKt','DGbIU','getDetails','latest','browserstack_executor','capabilities','HsMlD','accessibilityPlatform','parse','gsZua','WebDriver','__cloud_provider___','browserName','includes','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','3897860FuHZLC','browser_version','../../helpers/test-observability/utils'];a3_0x16a9=function(){return _0x5d534d;};return a3_0x16a9();}const {isUndefined,nestedKeyValue}=require(a3_0x328eeb(0x1d2)),logger=require(a3_0x328eeb(0x1dc))[a3_0x328eeb(0x1d1)],PlaywrightSessionDetails=require(a3_0x328eeb(0x1d3)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{getObservabilityLinkedProductName}=require(a3_0x328eeb(0x1f0)),getOSVersionFromCaps=_0x10e718=>{const _0x5c7407=a3_0x328eeb,_0x20d42d={};_0x20d42d[_0x5c7407(0x1d6)]='bstack:options',_0x20d42d[_0x5c7407(0x1f6)]='platformVersion',_0x20d42d['uTgik']='platform_version',_0x20d42d[_0x5c7407(0x1da)]=_0x5c7407(0x1d4),_0x20d42d[_0x5c7407(0x1e0)]='os_version';const _0xf6f562=_0x20d42d;if(!_0x10e718)return null;const _0x2ed5c3=_0x10e718[_0xf6f562[_0x5c7407(0x1d6)]],_0x110d52=[_0xf6f562['GxcBP'],_0xf6f562['uTgik'],_0xf6f562[_0x5c7407(0x1da)],_0xf6f562[_0x5c7407(0x1e0)]];for(const _0x35ce22 of _0x110d52){if(_0x2ed5c3&&_0x2ed5c3[_0x35ce22])return _0x2ed5c3[_0x35ce22];else{if(_0x10e718[_0x35ce22])return _0x10e718[_0x35ce22];}}return null;};exports[a3_0x328eeb(0x1ba)]=_0x374906=>{const _0x2444ad=a3_0x328eeb,_0x55f92d={'VMWqb':_0x2444ad(0x1c7),'GWGIl':function(_0x311706,_0x10cce6){return _0x311706===_0x10cce6;},'pwnhX':_0x2444ad(0x1e9),'nvHxL':function(_0x184bb1,_0x2a7ae3){return _0x184bb1(_0x2a7ae3);},'lUdqN':function(_0x17e938,_0x30103b,_0x4a0c39){return _0x17e938(_0x30103b,_0x4a0c39);},'MVNTh':'config','EkVob':'desiredCapabilities','TjbXT':function(_0x45890d,_0x1bfa0b){return _0x45890d(_0x1bfa0b);},'yvcGG':_0x2444ad(0x1b5),'gKzWP':'browser','pTcli':_0x2444ad(0x1bc),'YSunW':_0x2444ad(0x1d0),'hdQho':function(_0x38bd46,_0x353125){return _0x38bd46(_0x353125);}};if(!_0x374906)return null;let _0x53fced=global[_0x2444ad(0x1ea)]||_0x55f92d['VMWqb'];if(_0x55f92d[_0x2444ad(0x1f8)](_0x374906[_0x2444ad(0x1f1)][_0x2444ad(0x1c3)],_0x55f92d['pwnhX'])){const _0x384c78=_0x374906[_0x2444ad(0x1d7)];if(!_0x384c78)return null;const _0x23684e=_0x384c78['capabilities'],_0x2e5faf=_0x55f92d[_0x2444ad(0x1cb)](getOSVersionFromCaps,_0x55f92d[_0x2444ad(0x1d8)](nestedKeyValue,_0x374906,[_0x55f92d[_0x2444ad(0x1cf)],_0x55f92d[_0x2444ad(0x1fe)]]));return{[_0x53fced]:{'browser':_0x23684e[_0x2444ad(0x1eb)],'browser_version':_0x23684e[_0x2444ad(0x1b7)],'capabilities':_0x23684e,'platform':_0x23684e[_0x2444ad(0x1c5)],'platform_version':_0x23684e['platformVersion']||_0x2e5faf,'product':_0x55f92d['TjbXT'](getObservabilityLinkedProductName,_0x23684e),'session_id':_0x384c78[_0x2444ad(0x1b8)]}};}else{if(_0x55f92d[_0x2444ad(0x1f8)](_0x374906[_0x2444ad(0x1f1)][_0x2444ad(0x1c3)],_0x55f92d['yvcGG'])){const _0x5e6514=PlaywrightSessionDetails[_0x2444ad(0x1e1)]();_0x53fced=_0x5e6514[_0x2444ad(0x1f2)]||_0x53fced;const _0x156ce4=_0x55f92d[_0x2444ad(0x1d8)](nestedKeyValue,_0x374906,[_0x55f92d['MVNTh'],_0x55f92d[_0x2444ad(0x1f9)],_0x55f92d[_0x2444ad(0x1d5)]]),_0x46c3f7=_0x156ce4?JSON[_0x2444ad(0x1e7)](new URL(_0x156ce4)[_0x2444ad(0x1b6)][_0x2444ad(0x1cd)](_0x55f92d[_0x2444ad(0x1b4)])):{};return{[_0x53fced]:{'browser':_0x5e6514[_0x2444ad(0x1d7)]||_0x46c3f7[_0x2444ad(0x1eb)],'browser_version':_0x5e6514['browser_version']||_0x46c3f7[_0x2444ad(0x1ef)],'capabilities':_0x46c3f7,'platform':_0x5e6514[_0x2444ad(0x1c8)],'platform_version':_0x5e6514['platform_version'],'product':_0x55f92d[_0x2444ad(0x1c9)](getObservabilityLinkedProductName,_0x46c3f7),'session_id':_0x5e6514[_0x2444ad(0x1de)]}};}}},exports[a3_0x328eeb(0x1fd)]=_0x36ca3b=>{const _0x17c4b1=a3_0x328eeb,_0x3c2f1d={'eOJPR':function(_0x325700){return _0x325700();},'OaXuo':function(_0x46ed94,_0x105c3a){return _0x46ed94===_0x105c3a;},'gsZua':_0x17c4b1(0x1e2),'HsMlD':function(_0x28f0ef,_0x11fd57){return _0x28f0ef>_0x11fd57;},'oFvRX':function(_0x596ffa,_0x42bbf3){return _0x596ffa(_0x42bbf3);},'jdHcD':_0x17c4b1(0x1be),'TonXE':'chrome','SXLLR':'playwright-chromium','HRzKr':_0x17c4b1(0x1ed),'cBhNB':function(_0x2cf68c,_0x30de05){return _0x2cf68c(_0x30de05);},'hxojQ':_0x17c4b1(0x1db)};if(_0x3c2f1d[_0x17c4b1(0x1f5)](isAccessibilityAutomationSession)){const _0x5db7e0=_0x36ca3b[_0x17c4b1(0x1d7)],_0x1ceea2=_0x5db7e0[_0x17c4b1(0x1e4)];global[_0x17c4b1(0x1e6)]=!![],!(_0x3c2f1d[_0x17c4b1(0x1ce)](_0x1ceea2[_0x17c4b1(0x1b7)],_0x3c2f1d[_0x17c4b1(0x1e8)])||_0x3c2f1d[_0x17c4b1(0x1e5)](_0x3c2f1d[_0x17c4b1(0x1d9)](parseInt,_0x1ceea2[_0x17c4b1(0x1b7)]),0x5e))&&(logger[_0x17c4b1(0x1fc)](_0x3c2f1d[_0x17c4b1(0x1cc)]),global['accessibilityPlatform']=![]),!(_0x3c2f1d[_0x17c4b1(0x1ce)](_0x1ceea2[_0x17c4b1(0x1eb)],_0x3c2f1d[_0x17c4b1(0x200)])||_0x3c2f1d[_0x17c4b1(0x1ce)](_0x1ceea2[_0x17c4b1(0x1eb)],_0x3c2f1d['SXLLR']))&&(logger['warn'](_0x3c2f1d[_0x17c4b1(0x1c6)]),global[_0x17c4b1(0x1e6)]=![]),!_0x3c2f1d[_0x17c4b1(0x201)](isUndefined,_0x1ceea2[_0x17c4b1(0x1ca)])&&(logger[_0x17c4b1(0x1fc)](_0x3c2f1d[_0x17c4b1(0x1f3)]),global[_0x17c4b1(0x1e6)]=![]);}},exports[a3_0x328eeb(0x1bb)]=_0x4ec122=>{const _0x511dac=a3_0x328eeb,_0x151c02={};_0x151c02[_0x511dac(0x1f7)]=function(_0x4139a8,_0x490838){return _0x4139a8!==_0x490838;},_0x151c02['HREdC']='string',_0x151c02[_0x511dac(0x203)]=_0x511dac(0x1e3),_0x151c02[_0x511dac(0x1c1)]=_0x511dac(0x1fa);const _0x1bd547=_0x151c02;if(!_0x4ec122)return![];else{if(_0x1bd547['EcFmF'](typeof _0x4ec122,_0x1bd547[_0x511dac(0x202)]))return!![];}return!_0x4ec122['includes'](_0x1bd547[_0x511dac(0x203)])&&!_0x4ec122[_0x511dac(0x1ec)](_0x1bd547[_0x511dac(0x1c1)]);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a4_0x55af8f=a4_0x45e0;(function(_0x3bf2e5,_0x36046e){const _0x28d5df=a4_0x45e0,_0x3ea347=_0x3bf2e5();while(!![]){try{const _0x5cbc5e=parseInt(_0x28d5df(0x161))/0x1+parseInt(_0x28d5df(0x188))/0x2*(parseInt(_0x28d5df(0x211))/0x3)+-parseInt(_0x28d5df(0x154))/0x4*(-parseInt(_0x28d5df(0x153))/0x5)+parseInt(_0x28d5df(0x235))/0x6+-parseInt(_0x28d5df(0x1d2))/0x7*(-parseInt(_0x28d5df(0x16a))/0x8)+parseInt(_0x28d5df(0x223))/0x9*(-parseInt(_0x28d5df(0x180))/0xa)+-parseInt(_0x28d5df(0x187))/0xb;if(_0x5cbc5e===_0x36046e)break;else _0x3ea347['push'](_0x3ea347['shift']());}catch(_0x5d7814){_0x3ea347['push'](_0x3ea347['shift']());}}}(a4_0x2a46,0xa61e0));function a4_0x45e0(_0x4ca6df,_0xa3ac8d){const _0x2a46ab=a4_0x2a46();return a4_0x45e0=function(_0x45e043,_0x22520b){_0x45e043=_0x45e043-0x147;let _0x2c697f=_0x2a46ab[_0x45e043];return _0x2c697f;},a4_0x45e0(_0x4ca6df,_0xa3ac8d);}const path=require('path'),fs=require('fs'),{v4:uuidv4}=require(a4_0x55af8f(0x229)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x55af8f(0x1eb)),testOpsHelper=require('../../helpers/test-observability/utils'),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require(a4_0x55af8f(0x1a7)),logger=require(a4_0x55af8f(0x1f6))['winstonLogger'],SessionHandler=require(a4_0x55af8f(0x1ec)),RequestQueueHandler=require(a4_0x55af8f(0x1c0)),PlaywrightSessionDetails=require(a4_0x55af8f(0x200)),debug=testOpsHelper[a4_0x55af8f(0x1af)],{processAccessibilityCaps}=require(a4_0x55af8f(0x19e)),Constants=require('../utils/constants'),{fetchPlatformDetails}=require(a4_0x55af8f(0x222)),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),constants=require('../utils/constants'),STATE_PASSED=a4_0x55af8f(0x20e),STATE_FAILED=a4_0x55af8f(0x1b9),a4_0x14a94c={};a4_0x14a94c[a4_0x55af8f(0x175)]=a4_0x55af8f(0x1cb),a4_0x14a94c[a4_0x55af8f(0x214)]=a4_0x55af8f(0x1b5),a4_0x14a94c[a4_0x55af8f(0x230)]='TestRunSkipped',a4_0x14a94c[a4_0x55af8f(0x1e2)]='HookRunStarted',a4_0x14a94c[a4_0x55af8f(0x168)]=a4_0x55af8f(0x16e);function a4_0x2a46(){const _0x4bffb8=['then','bTwBJ','parent','findGitConfig','CllPq','stop','STATE_PASSED','./helper.js','27YvnHOm','accessibilityPlatform','hookAnalyticsId','iayoD','qQRTZ','failure_backtrace','uuid','test','FCOje','_afterAll','EeFCB','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','GfuBW','TEST_RUN_SKIPPED','failed\x20to\x20get\x20root\x20parent\x20file\x20','obsBrowserTypeMockApplied','hiWBN','dJhqJ','3116076OycbCL','pending','_testEnv','RCwBu','skipped','result','logs','hook_run','Playwright','defineProperty','File\x20path\x20could\x20not\x20be\x20found','aOKKa','FWzuG','gqofc','tTKIc','name','GSrBB','O11yHelper','getRootParentFile','getCBTInfo','toString','Evlsi','emAml','frameworkName','prototype','setupBrowserDetails','PathHelper','SOHfo','dkpvn','VgZhT','test_run_uuid','patchConsoleLogger','hook_run_uuid','BjAyx','94685QTLtgl','104rMzUAZ','driver','KOSgQ','client','file_name','BlFlK','CLQun','zGRXQ','KSohM','ctx','JzNzG','ceCuJ','apply','611347SXISHX','WjmUx','backtrace','text','keyword','cwd','CBTSessionCreated','HOOK_RUN_FINISHED','startedAt','1336qfeQkI','forEach','finished','inspect','HookRunFinished','VOpHX','getFailureType','lJbaW','comment','qxbem','ubQDe','TEST_RUN_STARTED','find','fmOky','now','cEcPO','dHSoc','push','LRfCD','markedStatus','event_type','lib','3477710bJMLCW','fireEvent','mapTestHooks','err','status','split','exports','16547432xGTxlp','776fTGZbi','xNcWv','browserType.js','getHooksForTest','suRBh','stringify','connect','launch','toLowerCase','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','sODqg','xjfVG','.git','qHJnG','DqZAE','DIIrv','ooeQC','ZvgUH','ILsLA','RdQLa','ZTAER','duration','../playwright/accessibility-helper','OiQDC','join','message','suites','_beforeEach','getTime','RSptt','cnsXZ','../../helpers/test-observability/constants','toISOString','finished_at','ZxBcf','oQMog','concat','oSwAT','__platformCaps','debug','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','STATE_FAILED','theWZ','success','sIxLz','TestRunFinished','YWSZk','YdLab','BROWSERSTACK','failed','feature','appendTestItemLog','PLAYWRIGHT_HUB_URL','retryOf','includes','Xgnyt','../../helpers/test-observability/requestQueueHandler','_beforeAll','nkfbm','hooks','dirname','testAnalyticsId','YUqoZ','BrowserType','4|5|1|3|2|0','tags','toUpperCase','TestRunStarted','match','DUsxB','pid','nSDhr','constructor','VORUw','41790RcuKIB','location_prefix','removeAllListeners','QVuKh','failureData','ZVBDJ','TEST_EVENTS','IfqEX','hook','iVukQ','LubBN','captureEvent','WoIZF','body','shutdown','failure','HOOK_RUN_STARTED','currentHook','errorsDetailed','WeSXW','bddSteps','currentTest','rvGjq','nbSbb','_paths','../../helpers/helper','../../helpers/test-observability/sessionHandler','enabled','config','wsEndpoint','PJnhu','initializeBddStep','util','_afterEach','prefixTestPath','HHklG','../../helpers/logger','Failed\x20to\x20parse\x20wsendpoint\x20','fullTitle','jCkcQ','\x20with\x20error\x20:\x20','uploadEventData','hook_type','NSlGl','CODECEPT','started','../playwright/sessionDetails','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','test_run','length','AUuMl','bs:addLog:','zusMh','meta','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','CqTsN','getHookType','TEST_REPORTING_ANALYTICS','browserstack','sendCBTInfo','passed','resetSkipTestHooks','groups','4701PqbAJU','iWzey','goAlm','TEST_RUN_FINISHED','WsNqF','stepAnalyticsId','VjJmW','zQMyG','title','xGMew'];a4_0x2a46=function(){return _0x4bffb8;};return a4_0x2a46();}const TEST_EVENTS=a4_0x14a94c,parseEvent=_0x5e3613=>{const _0x57f120=a4_0x55af8f,_0x155b60={};_0x155b60[_0x57f120(0x1ad)]=function(_0x1f55ef,_0x5b69bb){return _0x1f55ef<_0x5b69bb;},_0x155b60[_0x57f120(0x21a)]=function(_0x2691d3,_0x180282){return _0x2691d3===_0x180282;},_0x155b60[_0x57f120(0x1b2)]=_0x57f120(0x22a),_0x155b60[_0x57f120(0x15b)]=function(_0x60b738,_0x50a7a6){return _0x60b738===_0x50a7a6;},_0x155b60['KSohM']='hook',_0x155b60['YWSZk']=function(_0x18f9fa,_0x39bdc3){return _0x18f9fa===_0x39bdc3;},_0x155b60[_0x57f120(0x193)]=_0x57f120(0x239),_0x155b60[_0x57f120(0x215)]='started',_0x155b60[_0x57f120(0x1dc)]=function(_0x563deb,_0x211b98){return _0x563deb===_0x211b98;},_0x155b60[_0x57f120(0x1b7)]=_0x57f120(0x16c);const _0x4afe83=_0x155b60,_0x4f2c42=_0x5e3613[_0x57f120(0x1cc)](/^(.*)Run(.*)$/);if(!_0x4f2c42)return null;if(_0x4afe83[_0x57f120(0x1ad)](_0x4f2c42[_0x57f120(0x203)],0x3))return null;const _0x14a1a6=_0x4f2c42[0x1][_0x57f120(0x190)](),_0x2755a2=_0x4f2c42[0x2][_0x57f120(0x190)]();return{'test':_0x4afe83['xGMew'](_0x14a1a6,_0x4afe83['theWZ']),'hook':_0x4afe83['zGRXQ'](_0x14a1a6,_0x4afe83[_0x57f120(0x15c)]),'skipped':_0x4afe83[_0x57f120(0x1b6)](_0x2755a2,_0x4afe83['xjfVG']),'started':_0x4afe83[_0x57f120(0x15b)](_0x2755a2,_0x4afe83['WsNqF']),'finished':_0x4afe83[_0x57f120(0x1dc)](_0x2755a2,_0x4afe83[_0x57f120(0x1b7)])};},mockPWBrowserType=_0x53e9a5=>{const _0x37112e=a4_0x55af8f,_0x101292={'iVukQ':function(_0x20ca27,_0x61c138){return _0x20ca27===_0x61c138;},'sODqg':'string','CqTsN':function(_0x163a66,_0x3f338f,_0x2b6bb8){return _0x163a66(_0x3f338f,_0x2b6bb8);},'RCwBu':_0x37112e(0x1ef),'DUsxB':function(_0x3428b3,_0x2b52fc){return _0x3428b3(_0x2b52fc);},'PdWdr':_0x37112e(0x20c),'uXwBY':function(_0x3081fe,_0x35c82d){return _0x3081fe(_0x35c82d);},'EeFCB':_0x37112e(0x17f),'SOHfo':_0x37112e(0x157),'RSptt':_0x37112e(0x18a),'DIIrv':function(_0x51f90a,_0x21bb1d){return _0x51f90a(_0x21bb1d);},'ubQDe':'Not\x20able\x20to\x20import\x20Browser','QuJUd':_0x37112e(0x18e),'GfuBW':_0x37112e(0x18f)},_0x5471b1=path[_0x37112e(0x1a0)](_0x101292[_0x37112e(0x22d)],_0x101292[_0x37112e(0x14c)],_0x101292[_0x37112e(0x1a5)]),_0x5655d8=_0x101292[_0x37112e(0x1cd)](importFileFromPWCore,_0x5471b1);if(!_0x5655d8){_0x101292[_0x37112e(0x197)](debug,_0x101292[_0x37112e(0x174)]);return;}const _0x2600bf=_0x5655d8[_0x37112e(0x1c7)],_0x27f98e=_0x2600bf[_0x37112e(0x149)];if(_0x27f98e[_0x37112e(0x232)])return;const _0x24c730=_0x27f98e[_0x37112e(0x18e)];Object[_0x37112e(0x23e)](_0x27f98e,_0x101292['QuJUd'],{'get':function(){const _0x129e45=_0x37112e,_0x5b75f6={'OiQDC':function(_0xa3ede3,_0x110b85){const _0x10a933=a4_0x45e0;return _0x101292[_0x10a933(0x1db)](_0xa3ede3,_0x110b85);},'oMKlW':_0x101292[_0x129e45(0x192)],'jCkcQ':function(_0x218187,_0x1c86e7,_0x520157){const _0x1c8322=_0x129e45;return _0x101292[_0x1c8322(0x209)](_0x218187,_0x1c86e7,_0x520157);},'FWzuG':_0x101292[_0x129e45(0x238)],'emAml':function(_0x3f20af,_0x55ab2e){const _0x45bd2f=_0x129e45;return _0x101292[_0x45bd2f(0x1cd)](_0x3f20af,_0x55ab2e);},'dkpvn':_0x101292['PdWdr'],'IfqEX':function(_0x44e6f3,_0x1a3812){return _0x101292['uXwBY'](_0x44e6f3,_0x1a3812);}};return async function _0x4408a9(_0x389da7,_0xfe55f8){const _0x401957=_0x129e45,_0x3ca8b3=_0x5b75f6['jCkcQ'](nestedKeyValue,_0x389da7,[_0x5b75f6[_0x401957(0x241)]])||_0x389da7;let _0x5942e9=null,_0x2a7f2b=null;try{[_0x2a7f2b,_0x5942e9]=_0x3ca8b3?_0x5b75f6[_0x401957(0x147)](parseWSEndpoint,_0x3ca8b3):[null,null],global[_0x401957(0x1ae)]=_0x5942e9,logger[_0x401957(0x1af)](_0x401957(0x22e)+_0x2a7f2b),_0x2a7f2b[_0x401957(0x1be)](Constants[_0x401957(0x1b8)])&&(global['__cloud_provider___']=_0x5b75f6[_0x401957(0x14d)]);}catch(_0x1f6601){logger['debug'](_0x401957(0x1f7)+_0x3ca8b3+'\x20'+_0x1f6601);}_0x5b75f6[_0x401957(0x1f9)](processAccessibilityCaps,_0x5942e9,_0x2a7f2b);if(global[_0x401957(0x224)]){const _0x4d7453=await _0x27f98e['connectOverCDP'][_0x401957(0x160)](this,[''+Constants[_0x401957(0x1bc)]+_0x5b75f6[_0x401957(0x1d9)](encodeURIComponent,JSON[_0x401957(0x18d)](_0x5942e9))]);return PlaywrightSessionDetails['setupBrowserDetails'](_0x4d7453,_0x53e9a5,_0x3ca8b3),_0x4d7453;}return _0x24c730[_0x401957(0x160)](this,arguments)['then'](_0x1b4088=>{const _0x6bfde9=_0x401957;let _0x3fbfc0=_0x389da7['wsEndpoint'];return _0x5b75f6[_0x6bfde9(0x19f)](typeof _0x389da7,_0x5b75f6['oMKlW'])&&(_0x3fbfc0=_0x389da7),PlaywrightSessionDetails[_0x6bfde9(0x14a)](_0x1b4088,_0x53e9a5,_0x3fbfc0),_0x1b4088;});};}});const _0x235f5d=_0x27f98e[_0x37112e(0x18f)];Object['defineProperty'](_0x27f98e,_0x101292[_0x37112e(0x22f)],{'get':function(){return async function _0xd7adef(){const _0x47ef61=a4_0x45e0;return _0x235f5d['apply'](this,arguments)[_0x47ef61(0x21b)](_0x6d28ae=>{const _0x5f0f18=_0x47ef61;return PlaywrightSessionDetails[_0x5f0f18(0x14a)](_0x6d28ae,null),_0x6d28ae;});};}});};class O11yHelper{['currentTest']=null;['currentHook']=null;[a4_0x55af8f(0x1ed)]=![];['frameworkName']=![];constructor(_0xf9515a,_0x4801c5){const _0x18f2b8=a4_0x55af8f,_0x4e5f36={'HHklG':_0x18f2b8(0x1c8),'VORUw':function(_0x33457e,_0x2c3b82){return _0x33457e===_0x2c3b82;},'lzunN':_0x18f2b8(0x23d),'PJnhu':function(_0x1785be,_0x54af21){return _0x1785be(_0x54af21);},'xNcWv':function(_0x15980b){return _0x15980b();},'LRfCD':function(_0x1d2046){return _0x1d2046();}},_0x5437d2=_0x4e5f36[_0x18f2b8(0x1f5)][_0x18f2b8(0x185)]('|');let _0x20d0a0=0x0;while(!![]){switch(_0x5437d2[_0x20d0a0++]){case'0':this[_0x18f2b8(0x155)]&&_0x4e5f36[_0x18f2b8(0x1d1)](this[_0x18f2b8(0x155)][_0x18f2b8(0x1d0)][_0x18f2b8(0x244)],_0x4e5f36['lzunN'])&&_0x4e5f36[_0x18f2b8(0x1f0)](mockPWBrowserType,null);continue;case'1':this[_0x18f2b8(0x155)]=_0xf9515a;continue;case'2':this[_0x18f2b8(0x1ea)]=new testOpsHelper[(_0x18f2b8(0x14b))]({'cwd':process[_0x18f2b8(0x166)]()},this[_0x18f2b8(0x237)][_0x18f2b8(0x1d3)]);continue;case'3':this[_0x18f2b8(0x237)]=_0x4e5f36[_0x18f2b8(0x189)](getTestEnv);continue;case'4':this[_0x18f2b8(0x1ed)]=_0x4e5f36[_0x18f2b8(0x17c)](shouldProcessEventForTesthub);continue;case'5':this[_0x18f2b8(0x148)]=_0x4801c5[_0x18f2b8(0x148)];continue;}break;}}['start'](){const _0x537bcf=a4_0x55af8f;if(!this['enabled'])return;testOpsHelper[_0x537bcf(0x150)](),process[_0x537bcf(0x1d4)](_0x537bcf(0x205)+process[_0x537bcf(0x1ce)]),process['on'](_0x537bcf(0x205)+process[_0x537bcf(0x1ce)],this[_0x537bcf(0x1bb)]['bind'](this));}async[a4_0x55af8f(0x220)](){const _0x4893d3=a4_0x55af8f;await RequestQueueHandler['getInstance']()[_0x4893d3(0x1e0)]();}async[a4_0x55af8f(0x1bb)](_0x4c228b){const _0x20782c=a4_0x55af8f,_0x454cfd={'VjJmW':'LogCreated','lJbaW':function(_0x1bdc30,_0x26bdb8){return _0x1bdc30(_0x26bdb8);}};try{this[_0x20782c(0x1e3)]&&!this[_0x20782c(0x1e3)][_0x20782c(0x17d)]&&(_0x4c228b['hook_run_uuid']=this[_0x20782c(0x1e3)][_0x20782c(0x225)]);!_0x4c228b[_0x20782c(0x151)]&&this[_0x20782c(0x1e7)]&&!this['currentTest'][_0x20782c(0x17d)]&&(_0x4c228b[_0x20782c(0x14f)]=this[_0x20782c(0x1e7)][_0x20782c(0x1c5)]);if(_0x4c228b[_0x20782c(0x151)]||_0x4c228b[_0x20782c(0x14f)]){const _0x27178b={};_0x27178b[_0x20782c(0x17e)]=_0x454cfd[_0x20782c(0x217)],_0x27178b[_0x20782c(0x23b)]=[_0x4c228b],await SessionHandler[_0x20782c(0x1fb)](_0x27178b);}}catch(_0x427f3e){_0x454cfd[_0x20782c(0x171)](debug,_0x20782c(0x201)+constants['TEST_REPORTING_ANALYTICS']+_0x20782c(0x1fa)+_0x427f3e);}}async[a4_0x55af8f(0x20d)](_0x477a1e){const _0x4c3b4f=a4_0x55af8f,_0x39d9f5={'fmOky':_0x4c3b4f(0x167),'dJhqJ':function(_0x501bab,_0x4221e6){return _0x501bab(_0x4221e6);}};if(!this[_0x4c3b4f(0x1ed)])return;const _0x1c08ec=this['getCBTInfo'](this[_0x4c3b4f(0x155)]);try{const _0x18c966={};_0x18c966[_0x4c3b4f(0x229)]=_0x477a1e,_0x18c966['integrations']=_0x1c08ec;const _0x111710=_0x18c966,_0x5f3a2e={};_0x5f3a2e[_0x4c3b4f(0x17e)]=_0x39d9f5[_0x4c3b4f(0x177)],_0x5f3a2e[_0x4c3b4f(0x202)]=_0x111710,await SessionHandler[_0x4c3b4f(0x1fb)](_0x5f3a2e);}catch(_0x4e595f){_0x39d9f5[_0x4c3b4f(0x234)](debug,_0x4c3b4f(0x1b0)+constants[_0x4c3b4f(0x20b)]+'\x20with\x20error\x20:\x20'+_0x4e595f);}}[a4_0x55af8f(0x248)](_0x38e3f1){const _0xa34e9d=a4_0x55af8f,_0x353973={'dHSoc':function(_0x5c9d2c,_0x124d0){return _0x5c9d2c(_0x124d0);}};return _0x353973[_0xa34e9d(0x17a)](fetchPlatformDetails,_0x38e3f1);}[a4_0x55af8f(0x20f)]=_0x5befaa=>{const _0x45f7ec=a4_0x55af8f,_0x3d13f0={};_0x3d13f0['dnAoq']=_0x45f7ec(0x1a3),_0x3d13f0[_0x45f7ec(0x1d5)]='_afterEach';const _0x1e098e=_0x3d13f0;if(!_0x5befaa||!_0x5befaa[_0x45f7ec(0x21d)])return;[_0x1e098e['dnAoq'],_0x1e098e[_0x45f7ec(0x1d5)]][_0x45f7ec(0x16b)](_0x42bcba=>{const _0x310f9f=_0x45f7ec,_0x142ee3=_0x5befaa['parent'][_0x42bcba];_0x142ee3[_0x310f9f(0x16b)](_0x51a58d=>{const _0x33678a=_0x310f9f;_0x51a58d[_0x33678a(0x225)]&&(_0x51a58d[_0x33678a(0x225)]=null);});});};['mapTestHooks'](_0x3bbcaf){const _0x3a6ea5=a4_0x55af8f,_0x258fa5={'lxYxY':'codeceptjs','NKODl':function(_0x2581c9){return _0x2581c9();},'tNATc':function(_0x3d440d,_0x3bdc44){return _0x3d440d===_0x3bdc44;},'nkfbm':_0x3a6ea5(0x1f3),'suRBh':function(_0x1cec12){return _0x1cec12();},'pBOZb':_0x3a6ea5(0x1c1),'ZxBcf':_0x3a6ea5(0x22c),'BlFlK':_0x3a6ea5(0x1a3)};if(!_0x3bbcaf||!_0x3bbcaf[_0x3a6ea5(0x21d)])return;[_0x258fa5['pBOZb'],_0x258fa5[_0x3a6ea5(0x1aa)],_0x258fa5[_0x3a6ea5(0x159)],_0x258fa5[_0x3a6ea5(0x1c2)]][_0x3a6ea5(0x16b)](_0x4fb724=>{const _0x2f4a2a=_0x3a6ea5,_0x1a4d9f={'NSlGl':_0x258fa5['lxYxY'],'VOpHX':function(_0x34e1f3){return _0x258fa5['NKODl'](_0x34e1f3);},'qQRTZ':function(_0x1e6e22,_0xcb8c64){return _0x258fa5['tNATc'](_0x1e6e22,_0xcb8c64);},'goAlm':_0x258fa5[_0x2f4a2a(0x1c2)],'ceCuJ':function(_0xb83a09){const _0x345811=_0x2f4a2a;return _0x258fa5[_0x345811(0x18c)](_0xb83a09);}},_0xd17e6a=_0x3bbcaf[_0x2f4a2a(0x21d)][_0x4fb724]||[];_0xd17e6a[_0x2f4a2a(0x16b)](_0x5dd0d2=>{const _0x50592c=_0x2f4a2a;if(_0x5dd0d2[_0x50592c(0x219)]['includes'](_0x1a4d9f[_0x50592c(0x1fd)]))return;if(!_0x5dd0d2['hookAnalyticsId'])_0x5dd0d2[_0x50592c(0x225)]=_0x1a4d9f[_0x50592c(0x16f)](uuidv4);else _0x5dd0d2[_0x50592c(0x17d)]&&_0x1a4d9f[_0x50592c(0x227)](_0x4fb724,_0x1a4d9f[_0x50592c(0x213)])&&(_0x5dd0d2[_0x50592c(0x225)]=_0x1a4d9f[_0x50592c(0x15f)](uuidv4),delete _0x5dd0d2['markedStatus']);});}),this[_0x3a6ea5(0x182)](_0x3bbcaf[_0x3a6ea5(0x21d)]);}['getHooksForTest'](_0x1a68b0){const _0x4b9776=a4_0x55af8f,_0x598603={};_0x598603[_0x4b9776(0x1e5)]=_0x4b9776(0x1c1),_0x598603[_0x4b9776(0x1e8)]=_0x4b9776(0x22c),_0x598603[_0x4b9776(0x179)]='_beforeEach',_0x598603[_0x4b9776(0x1b4)]=_0x4b9776(0x1f3);const _0x592a78=_0x598603;if(!_0x1a68b0||!_0x1a68b0[_0x4b9776(0x21d)])return[];const _0x3e1f9c=[];return[_0x592a78[_0x4b9776(0x1e5)],_0x592a78['rvGjq'],_0x592a78[_0x4b9776(0x179)],_0x592a78[_0x4b9776(0x1b4)]][_0x4b9776(0x16b)](_0xd6c556=>{const _0xd9486=_0x4b9776,_0x45d7a2=_0x1a68b0['parent'][_0xd6c556]||[];_0x45d7a2[_0xd9486(0x16b)](_0x3e4ab1=>{const _0x16b6d2=_0xd9486;_0x3e4ab1[_0x16b6d2(0x225)]&&_0x3e1f9c['push'](_0x3e4ab1[_0x16b6d2(0x225)]);});}),[][_0x4b9776(0x1ac)](_0x3e1f9c,this[_0x4b9776(0x18b)](_0x1a68b0['parent']));}[a4_0x55af8f(0x20a)](_0x501b2b){const _0x344f2a=a4_0x55af8f,_0x539898=/^"(?<hook>.*)" hook:.*$/,_0x283a7e=_0x501b2b[_0x344f2a(0x219)],_0x8d184b=_0x283a7e[_0x344f2a(0x1cc)](_0x539898);if(_0x8d184b&&_0x8d184b[_0x344f2a(0x210)])return _0x8d184b['groups'][_0x344f2a(0x1da)][_0x344f2a(0x1ca)]()['replace']('\x20','_');return null;}['findGitConfig'](_0x319b7d){const _0x1cc844=a4_0x55af8f,_0x35b37e={};_0x35b37e[_0x1cc844(0x1a6)]=function(_0x1822cc,_0x5a8412){return _0x1822cc===_0x5a8412;},_0x35b37e[_0x1cc844(0x212)]=function(_0x16045a,_0x318700){return _0x16045a===_0x318700;},_0x35b37e['ZvgUH']=function(_0x26dac6,_0x542845){return _0x26dac6===_0x542845;},_0x35b37e['JzNzG']=function(_0x4933d8,_0x4d8304){return _0x4933d8===_0x4d8304;},_0x35b37e[_0x1cc844(0x162)]=_0x1cc844(0x194),_0x35b37e[_0x1cc844(0x1bf)]=_0x1cc844(0x1ee);const _0xecaaff=_0x35b37e,_0x549646=path['sep'];if(_0xecaaff['cnsXZ'](_0x319b7d,null)||_0xecaaff[_0x1cc844(0x212)](_0x319b7d,'')||_0xecaaff[_0x1cc844(0x199)](_0x319b7d,_0x549646)||_0xecaaff[_0x1cc844(0x15e)](_0x319b7d,path[_0x1cc844(0x1c4)](_0x319b7d)))return null;try{return fs['statSync'](path[_0x1cc844(0x1a0)](_0x319b7d,_0xecaaff[_0x1cc844(0x162)],_0xecaaff['Xgnyt'])),_0x319b7d;}catch(_0x62e17){const _0x79e3a8=path[_0x1cc844(0x1c4)](_0x319b7d);return this[_0x1cc844(0x21e)](_0x79e3a8);}}[a4_0x55af8f(0x247)](_0x247b84){const _0x1e35d1=a4_0x55af8f,_0x4279db={};_0x4279db['BcLSE']=function(_0x1e2087,_0x461331){return _0x1e2087>_0x461331;};const _0x275e67=_0x4279db;if(_0x247b84['file'])return _0x247b84['file'];if(_0x247b84['ctx']){const _0x3c902b=_0x247b84[_0x1e35d1(0x15d)]['currentTest']?this[_0x1e35d1(0x247)](_0x247b84[_0x1e35d1(0x15d)][_0x1e35d1(0x1e7)]):null;if(_0x3c902b)return _0x3c902b;}if(_0x247b84[_0x1e35d1(0x21d)]){const _0x17a685=this['getRootParentFile'](_0x247b84[_0x1e35d1(0x21d)])||(_0x247b84[_0x1e35d1(0x21d)][_0x1e35d1(0x15d)]&&_0x247b84['parent'][_0x1e35d1(0x15d)]['currentTest']?this[_0x1e35d1(0x247)](_0x247b84[_0x1e35d1(0x21d)][_0x1e35d1(0x15d)][_0x1e35d1(0x1e7)]):null);if(_0x17a685)return _0x17a685;_0x247b84[_0x1e35d1(0x21d)][_0x1e35d1(0x1a2)]&&_0x275e67['BcLSE'](_0x247b84[_0x1e35d1(0x21d)][_0x1e35d1(0x1a2)][_0x1e35d1(0x203)],0x0)&&_0x247b84[_0x1e35d1(0x21d)][_0x1e35d1(0x1a2)][_0x1e35d1(0x16b)](_0x4ab292=>{const _0x12b87a=_0x1e35d1,_0x2c9829=_0x4ab292[_0x12b87a(0x15d)]?this[_0x12b87a(0x247)](_0x4ab292['ctx']):null;if(_0x2c9829)return _0x2c9829;});}return null;}['getHierarchy'](_0x1ecea9){const _0x1fce35=a4_0x55af8f,_0x3bc419={};_0x3bc419[_0x1fce35(0x14e)]=function(_0x483bfd,_0x1de354){return _0x483bfd!==_0x1de354;};const _0x4804ed=_0x3bc419,_0x9210c5=[];if(_0x1ecea9&&_0x1ecea9['parent']){let _0x47cdfa=_0x1ecea9['parent'];while(_0x47cdfa&&_0x4804ed[_0x1fce35(0x14e)](_0x47cdfa[_0x1fce35(0x219)],'')){_0x9210c5[_0x1fce35(0x17b)](_0x47cdfa['title']),_0x47cdfa=_0x47cdfa[_0x1fce35(0x21d)];}}return _0x9210c5;}[a4_0x55af8f(0x1dd)](_0x1f1812,_0x4dccb6,_0x4e9f8e=undefined){const _0x39bd22=a4_0x55af8f,_0xecd1ad={'YUqoZ':function(_0x39782f,_0x311035){return _0x39782f(_0x311035);},'AUuMl':function(_0x22031b){return _0x22031b();},'ILsLA':function(_0x46f7da){return _0x46f7da();},'gqofc':function(_0x5adb47){return _0x5adb47();},'RdQLa':function(_0x594743,_0xb44116){return _0x594743(_0xb44116);},'qHJnG':_0x39bd22(0x1f2),'Evlsi':_0x39bd22(0x183),'BjAyx':function(_0x3e3d15,_0x830d0e){return _0x3e3d15!==_0x830d0e;},'pGaZy':function(_0x550c29,_0x1f1116){return _0x550c29!==_0x1f1116;},'KOSgQ':_0x39bd22(0x23f),'ZVBDJ':_0x39bd22(0x236),'GSrBB':'failed','ooeQC':_0x39bd22(0x20e),'hiWBN':_0x39bd22(0x239),'nSDhr':'javascript','CkVJT':function(_0x34f3d9,_0x186e43){return _0x34f3d9-_0x186e43;},'tTKIc':function(_0xb13d1d,_0x28a1b2,_0x2f5cd2,_0x5224f1,_0xc45d3){return _0xb13d1d(_0x28a1b2,_0x2f5cd2,_0x5224f1,_0xc45d3);},'CllPq':'integrations','IlUGG':_0x39bd22(0x207),'qxbem':_0x39bd22(0x1e1),'bTwBJ':_0x39bd22(0x228),'FCOje':_0x39bd22(0x163),'zQMyG':'failure_reason_expanded','zkMkM':'expanded','zusMh':function(_0x4b2094,_0x4b8ae4){return _0x4b2094===_0x4b8ae4;},'CLQun':_0x39bd22(0x23c),'ZTAER':_0x39bd22(0x202)};if(!this[_0x39bd22(0x1ed)])return;try{if(_0x4dccb6['fn']&&_0x4dccb6['fn'][_0x39bd22(0x249)]()[_0x39bd22(0x1cc)](/browserstack internal helper hook/))return;const _0x5a4b71=_0xecd1ad[_0x39bd22(0x1c6)](parseEvent,_0x1f1812);if(!_0x5a4b71)return;if(_0x5a4b71[_0x39bd22(0x22a)]){this[_0x39bd22(0x1e7)]=_0x4dccb6,this[_0x39bd22(0x1e3)]=null;if(_0x5a4b71[_0x39bd22(0x1ff)]||_0x5a4b71[_0x39bd22(0x239)]){_0x4dccb6[_0x39bd22(0x169)]=new Date(),_0x4dccb6[_0x39bd22(0x17d)]=![];if(!_0x4dccb6['testAnalyticsId'])_0x4dccb6[_0x39bd22(0x1c5)]=_0xecd1ad[_0x39bd22(0x204)](uuidv4);else _0x4dccb6['markedStatus']&&(!_0x4dccb6['retryOf']&&(_0x4dccb6['retryOf']=_0x4dccb6[_0x39bd22(0x1c5)]),_0x4dccb6['testAnalyticsId']=_0xecd1ad[_0x39bd22(0x19a)](uuidv4));}}else{if(_0x5a4b71[_0x39bd22(0x1da)]){this[_0x39bd22(0x1e3)]=_0x4dccb6;if(_0x5a4b71[_0x39bd22(0x1ff)]){_0x4dccb6[_0x39bd22(0x169)]=new Date(),_0x4dccb6[_0x39bd22(0x17d)]=![];if(!_0x4dccb6['hookAnalyticsId'])_0x4dccb6[_0x39bd22(0x225)]=_0xecd1ad[_0x39bd22(0x242)](uuidv4);else _0x4dccb6[_0x39bd22(0x225)]&&_0x4dccb6['markedStatus']&&(_0x4dccb6['hookAnalyticsId']=_0xecd1ad[_0x39bd22(0x204)](uuidv4));}}}if(_0x5a4b71[_0x39bd22(0x16c)]&&_0x4dccb6[_0x39bd22(0x17d)])return;let _0x51f74d;try{_0x51f74d=this[_0x39bd22(0x247)](_0x4dccb6);}catch(_0x29f0ac){logger[_0x39bd22(0x1af)](_0x39bd22(0x231)+_0x29f0ac),_0x51f74d=null;}const _0x5b6ec4=_0xecd1ad[_0x39bd22(0x19b)](require,_0xecd1ad[_0x39bd22(0x195)]);let _0x5b0d0a=[];_0x4e9f8e&&(_0x5b0d0a=[_0x4e9f8e,_0xecd1ad[_0x39bd22(0x24a)]]);const _0x1bc702=_0xecd1ad[_0x39bd22(0x152)](_0x4dccb6[_0x39bd22(0x1e4)],undefined)?_0x5b6ec4[_0x39bd22(0x16d)](_0x4dccb6['errorsDetailed'][0x0]):_0xecd1ad['pGaZy'](_0x4e9f8e,undefined)?_0x4e9f8e[_0x39bd22(0x249)]():undefined,_0x192087=_0x51f74d?this[_0x39bd22(0x21e)](_0x51f74d):null,_0x45ab30=_0x51f74d?this['_paths'][_0x39bd22(0x1f4)](this[_0x39bd22(0x247)](_0x4dccb6)):_0xecd1ad[_0x39bd22(0x156)];let _0xbf7b90=_0xecd1ad[_0x39bd22(0x1d7)];const _0x202683=!_0x5a4b71[_0x39bd22(0x1ff)]?new Date()['toISOString']():null;if(_0x5a4b71[_0x39bd22(0x16c)])_0xbf7b90=_0x4e9f8e?_0xecd1ad[_0x39bd22(0x245)]:_0xecd1ad['ooeQC'],_0x4dccb6[_0x39bd22(0x17d)]=!![];else _0x5a4b71[_0x39bd22(0x239)]&&(_0xbf7b90=_0xecd1ad[_0x39bd22(0x233)],_0x4dccb6[_0x39bd22(0x17d)]=!![]);const _0x926d1f={'framework':this[_0x39bd22(0x148)],'uuid':_0x4dccb6[_0x39bd22(0x1c5)]||_0x4dccb6[_0x39bd22(0x225)],'name':_0x4dccb6[_0x39bd22(0x219)],'body':{'lang':_0xecd1ad[_0x39bd22(0x1cf)],'code':_0x4dccb6[_0x39bd22(0x1df)][_0x39bd22(0x249)]()},'type':_0x4dccb6['type'],'scope':_0x4dccb6[_0x39bd22(0x1f8)](),'scopes':this['getHierarchy'](_0x4dccb6),'file_name':_0x45ab30,'vc_filepath':_0x192087?path['relative'](_0x192087,_0x51f74d):null,'location':_0x45ab30,'result':_0xbf7b90,'failure_reason':_0x1bc702,'duration_in_ms':_0x4dccb6[_0x39bd22(0x19d)]||(_0x5a4b71[_0x39bd22(0x16c)]||_0x5a4b71['skipped'])?_0xecd1ad['CkVJT'](Date[_0x39bd22(0x178)](),new Date(_0x4dccb6['startedAt'])['getTime']()):null,'started_at':new Date(_0x4dccb6[_0x39bd22(0x169)])['toISOString'](),'finished_at':_0x202683,'failure':testOpsHelper[_0x39bd22(0x1d6)][_0x39bd22(0x160)](null,_0x5b0d0a),'failure_type':!_0x1bc702?null:testOpsHelper[_0x39bd22(0x170)](_0x1bc702),'retry_of':_0x4dccb6[_0x39bd22(0x1bd)]||null,'tags':_0x4dccb6[_0x39bd22(0x1c9)]||[],'customRerunParam':{'rerun_name':_0x4dccb6[_0x39bd22(0x1f8)]()}};_0xecd1ad[_0x39bd22(0x243)](appendTesthubParams,_0x926d1f,_0x1f1812,_0x4dccb6,FRAMEWORKS[_0x39bd22(0x1fe)]);if(_0x5a4b71['hook'])[_0x926d1f[_0x39bd22(0x1fc)],_0x926d1f[_0x39bd22(0x244)]]=[this[_0x39bd22(0x20a)](_0x4dccb6),_0x4dccb6[_0x39bd22(0x15d)]['test']['title']],_0x5a4b71[_0x39bd22(0x16c)]?_0xecd1ad[_0x39bd22(0x152)](_0x926d1f[_0x39bd22(0x23a)],_0xecd1ad[_0x39bd22(0x245)])&&(_0x926d1f[_0x39bd22(0x23a)]=_0xecd1ad[_0x39bd22(0x198)]):_0x926d1f['body']={};else _0x5a4b71[_0x39bd22(0x22a)]&&(this[_0x39bd22(0x182)](_0x4dccb6),_0x5a4b71[_0x39bd22(0x239)]&&this[_0x39bd22(0x20f)](_0x4dccb6),(_0x5a4b71[_0x39bd22(0x16c)]||_0x5a4b71[_0x39bd22(0x239)])&&(_0x926d1f[_0x39bd22(0x1c3)]=this[_0x39bd22(0x18b)](_0x4dccb6)));this['driver']&&(_0x5a4b71[_0x39bd22(0x1ff)]||_0x5a4b71['skipped'])&&(_0x926d1f[_0xecd1ad[_0x39bd22(0x21f)]]=this[_0x39bd22(0x248)](this[_0x39bd22(0x155)]));_0x5a4b71['test']&&_0x5a4b71[_0x39bd22(0x16c)]&&_0x4dccb6[_0x39bd22(0x1e6)]&&(_0x926d1f[_0xecd1ad['IlUGG']]={'feature':{'name':_0x4dccb6['parent'][_0x39bd22(0x1ba)]['name'],'path':_0x926d1f[_0x39bd22(0x158)],'description':_0x4dccb6['parent'][_0x39bd22(0x172)]},'scenario':{'name':_0x4dccb6[_0x39bd22(0x219)]},'steps':_0x4dccb6['bddSteps']});const _0x3e7bd3=_0x926d1f[_0xecd1ad[_0x39bd22(0x173)]][0x0];_0x3e7bd3&&(_0x926d1f[_0xecd1ad[_0x39bd22(0x21c)]]=_0x3e7bd3[_0xecd1ad[_0x39bd22(0x22b)]],_0x926d1f[_0xecd1ad[_0x39bd22(0x218)]]=_0x3e7bd3[_0xecd1ad['zkMkM']]);if(_0x4dccb6[_0x39bd22(0x1e6)])for(const _0x57bfd3 of _0x4dccb6[_0x39bd22(0x1e6)]){!_0x57bfd3[_0x39bd22(0x1a9)]&&(_0x57bfd3[_0x39bd22(0x1a9)]=new Date()['toISOString'](),_0xecd1ad[_0x39bd22(0x206)](_0x57bfd3[_0x39bd22(0x23a)],_0xecd1ad['ZVBDJ'])&&(_0x3e7bd3?(_0x57bfd3[_0x39bd22(0x23a)]=_0xecd1ad[_0x39bd22(0x245)],_0x57bfd3[_0x39bd22(0x1e1)]=_0x3e7bd3[_0xecd1ad['FCOje']][0x0]):_0x57bfd3[_0x39bd22(0x23a)]=_0xecd1ad[_0x39bd22(0x198)]));}const _0x566f5d={};_0x566f5d[_0x39bd22(0x17e)]=_0x5a4b71['skipped']?TEST_EVENTS[_0x39bd22(0x214)]:_0x1f1812;const _0x3a303a=_0x566f5d;return _0x5a4b71[_0x39bd22(0x1da)]?_0x3a303a[_0xecd1ad[_0x39bd22(0x15a)]]=_0x926d1f:_0x3a303a[_0xecd1ad[_0x39bd22(0x19c)]]=_0x926d1f,_0x3a303a;}catch(_0x1c398f){logger[_0x39bd22(0x1af)](_0x39bd22(0x191)+_0x1f1812+'\x20with\x20error\x20:\x20'+_0x1c398f);}}async[a4_0x55af8f(0x181)](_0xeb3d2c,_0x38c469){const _0x2b4d90=a4_0x55af8f;if(!this[_0x2b4d90(0x1ed)]||!_0x38c469||!_0xeb3d2c)return![];try{return await SessionHandler[_0x2b4d90(0x1fb)](_0x38c469);}catch(_0x21e037){logger['debug'](_0x2b4d90(0x208)+_0xeb3d2c+_0x2b4d90(0x1fa)+_0x21e037);}}[a4_0x55af8f(0x1f1)](_0x3cf1a3){const _0x85d95a=a4_0x55af8f,_0xcf356={};_0xcf356[_0x85d95a(0x1de)]=_0x85d95a(0x236);const _0x35234c=_0xcf356;return{'id':_0x3cf1a3[_0x85d95a(0x216)],'text':_0x3cf1a3[_0x85d95a(0x164)],'keyword':_0x3cf1a3[_0x85d95a(0x165)],'started_at':_0x3cf1a3[_0x85d95a(0x169)]['toISOString'](),'result':_0x35234c[_0x85d95a(0x1de)]};}['bddStepStart'](_0x179310){const _0x220471=a4_0x55af8f,_0x1c79de={'iayoD':function(_0x381358){return _0x381358();}};!this[_0x220471(0x1e7)][_0x220471(0x1e6)]&&(this[_0x220471(0x1e7)][_0x220471(0x1e6)]=[]),!_0x179310[_0x220471(0x216)]&&(_0x179310[_0x220471(0x216)]=_0x1c79de[_0x220471(0x226)](uuidv4),_0x179310[_0x220471(0x169)]=new Date(),this['currentTest'][_0x220471(0x1e6)][_0x220471(0x17b)](this[_0x220471(0x1f1)](_0x179310)));}['bddStepFinish'](_0x416f7a){const _0x4176f6=a4_0x55af8f,_0x3e652d={'SfOFV':function(_0x69926a,_0x35aa41){return _0x69926a(_0x35aa41);},'oQMog':_0x4176f6(0x1b3),'DqZAE':_0x4176f6(0x236),'nbSbb':'passed','aOKKa':function(_0x39fffd,_0x32d5bd){return _0x39fffd-_0x32d5bd;}};let _0x53812f=this[_0x4176f6(0x1e7)][_0x4176f6(0x1e6)][_0x4176f6(0x176)](_0x329716=>_0x329716['id']===_0x416f7a[_0x4176f6(0x216)]);_0x3e652d['SfOFV'](isUndefined,_0x53812f)&&(_0x53812f=this['initializeBddStep'](_0x416f7a)),_0x53812f[_0x4176f6(0x23a)]=[_0x3e652d[_0x4176f6(0x1ab)],_0x3e652d[_0x4176f6(0x196)]][_0x4176f6(0x1be)](_0x416f7a['status'])?_0x3e652d[_0x4176f6(0x1e9)]:_0x416f7a[_0x4176f6(0x184)],_0x53812f[_0x4176f6(0x1a9)]=new Date()[_0x4176f6(0x1a8)](),_0x53812f[_0x4176f6(0x19d)]=_0x3e652d[_0x4176f6(0x240)](Date[_0x4176f6(0x178)](),_0x416f7a[_0x4176f6(0x169)][_0x4176f6(0x1a4)]()),_0x53812f[_0x4176f6(0x1e1)]=_0x416f7a['err']?_0x416f7a['err'][_0x4176f6(0x1a1)]:null;}}const a4_0x398552={};a4_0x398552[a4_0x55af8f(0x246)]=O11yHelper,a4_0x398552[a4_0x55af8f(0x221)]=STATE_PASSED,a4_0x398552[a4_0x55af8f(0x1b1)]=STATE_FAILED,a4_0x398552[a4_0x55af8f(0x1d8)]=TEST_EVENTS,module[a4_0x55af8f(0x186)]=a4_0x398552;
|
|
1
|
+
function a4_0x2abd(){const _0x3b0013=['_beforeAll','2370rTwLix','started','Kzjct','testAnalyticsId','eyLDD','hookAnalyticsId','fullTitle','groups','wIhgb','264416mxeWWK','driver','oCRRy','TestRunStarted','File\x20path\x20could\x20not\x20be\x20found','WkYiq','HWEAv','urqVW','setupBrowserDetails','toString','status','\x20with\x20error\x20:\x20','McouF','retryOf','debug','HookRunStarted','paFjD','658wRJvJX','bppLU','fueGI','meta','find','VjTit','WAiPU','9jPtggt','FqbTr','53251yERpRB','skipped','result','suites','vOWyR','AOxgh','length','pid','browserstack','finished_at','sendCBTInfo','frameworkName','TEST_RUN_SKIPPED','match','test_run_uuid','prefixTestPath','1422sNiNgt','TestRunSkipped','khFgr','BrowserType','getHooksForTest','TtWgU','ecZGd','_testEnv','PathHelper','currentTest','AeMgi','JTsAh','toISOString','../mocha/test-observability/mochaUtils','QnkPV','iiFlh','STATE_PASSED','uploadEventData','toUpperCase','javascript','connectOverCDP','getTime','HOOK_RUN_FINISHED','../../helpers/testhub/utils.js','__platformCaps','McOjP','2067885EUwTAk','boWhd','AuShO','removeAllListeners','CYdfW','success','prototype','hpTXI','forEach','txyDM','9uXrCis','UkVsQ','test_run','failed','iszXx','GKIYT','FkxIj','TILCv','583667PzgSQP','arbRV','AgKfm','yjpAI','currentHook','cwd','client','hook','Vvwup','errorsDetailed','passed','FLbJV','winstonLogger','rJsVL','hook_type','failed\x20to\x20get\x20root\x20parent\x20file\x20','getHookType','stop','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','laZyB','browserType.js','IuWpG','fireEvent','NfrqV','dCEPw','shutdown','TestRunFinished','3006384rwFEHk','EyHSG','accessibilityPlatform','tKhey','stepAnalyticsId','jfsEi','_afterAll','file','wsEndpoint','Not\x20able\x20to\x20import\x20Browser','connect','CYXLz','IxTiD','failure_backtrace','dirname','0|3|4|5|2|1','then','jHVjH','expanded','string','config','BROWSERSTACK','jhUnj','integrations','ctx','getHierarchy','ppiqL','TEST_REPORTING_ANALYTICS','MIJuQ','Unwew','bs:addLog:','VDWqO','push','enabled','VIjoE','failure','findGitConfig','finished','Rtydj','now','pending','HakZf','_beforeEach','gFBQy','CODECEPT','tags','azWaf','HookRunFinished','err','TEST_RUN_FINISHED','../utils/constants','O11yHelper','uuid','KqAFC','gHtPS','resetSkipTestHooks','name','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','getCBTInfo','../../helpers/test-observability/sessionHandler','DFgTT','HOOK_RUN_STARTED','bddStepFinish','RJBND','obsBrowserTypeMockApplied','concat','iYRqi','defineProperty','TEST_RUN_STARTED','event_type','374428xorjRg','bddSteps','startedAt','type','GOJyP','getInstance','duration','yoCjj','split','RmLSK','markedStatus','__cloud_provider___','LrleT','title','failureData','OXUnh','Playwright','appendTestItemLog','comment','CBTSessionCreated','IdrfR','test','hook_run_uuid','backtrace','xdFwU','_afterEach','_paths','vmyMw','inspect','join','jVAoJ','captureEvent','LogCreated','eWDWA','wBQOz','failure_reason_expanded','bddStepStart','vFaYb','TtbpK','apply','includes','getRootParentFile','statSync','cBIUK','stringify','PyZLo','parent','logs','mapTestHooks','launch','UBXZx','hooks','ZhNBl','initializeBddStep','body','.git'];a4_0x2abd=function(){return _0x3b0013;};return a4_0x2abd();}const a4_0x596cd5=a4_0x349b;(function(_0x1eb2fc,_0x4549b8){const _0x20243d=a4_0x349b,_0x5be594=_0x1eb2fc();while(!![]){try{const _0x4b57eb=-parseInt(_0x20243d(0x217))/0x1*(parseInt(_0x20243d(0x230))/0x2)+parseInt(_0x20243d(0x21e))/0x3*(-parseInt(_0x20243d(0x1c4))/0x4)+-parseInt(_0x20243d(0x24a))/0x5+parseInt(_0x20243d(0x17e))/0x6+-parseInt(_0x20243d(0x25c))/0x7+parseInt(_0x20243d(0x206))/0x8*(parseInt(_0x20243d(0x254))/0x9)+-parseInt(_0x20243d(0x1fd))/0xa*(-parseInt(_0x20243d(0x220))/0xb);if(_0x4b57eb===_0x4549b8)break;else _0x5be594['push'](_0x5be594['shift']());}catch(_0x233c6f){_0x5be594['push'](_0x5be594['shift']());}}}(a4_0x2abd,0x6a668));const path=require('path'),fs=require('fs'),{v4:uuidv4}=require(a4_0x596cd5(0x1b2)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require('../../helpers/helper'),testOpsHelper=require('../../helpers/test-observability/utils'),{getTestEnv}=require(a4_0x596cd5(0x23d)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),logger=require('../../helpers/logger')[a4_0x596cd5(0x16f)],SessionHandler=require(a4_0x596cd5(0x1b9)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper[a4_0x596cd5(0x214)],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require(a4_0x596cd5(0x1b0)),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x596cd5(0x247)),constants=require(a4_0x596cd5(0x1b0)),STATE_PASSED=a4_0x596cd5(0x16d),STATE_FAILED='failed',a4_0x3e2a07={};a4_0x3e2a07[a4_0x596cd5(0x1c2)]=a4_0x596cd5(0x209),a4_0x3e2a07[a4_0x596cd5(0x1af)]=a4_0x596cd5(0x17d),a4_0x3e2a07[a4_0x596cd5(0x22c)]=a4_0x596cd5(0x231),a4_0x3e2a07[a4_0x596cd5(0x1bb)]=a4_0x596cd5(0x215),a4_0x3e2a07[a4_0x596cd5(0x246)]=a4_0x596cd5(0x1ad);function a4_0x349b(_0x5383a8,_0x432df7){const _0x2abdf4=a4_0x2abd();return a4_0x349b=function(_0x349b51,_0x365051){_0x349b51=_0x349b51-0x165;let _0x45cee6=_0x2abdf4[_0x349b51];return _0x45cee6;},a4_0x349b(_0x5383a8,_0x432df7);}const TEST_EVENTS=a4_0x3e2a07,parseEvent=_0xc417a1=>{const _0x3bbf47=a4_0x596cd5,_0x1e62d1={};_0x1e62d1[_0x3bbf47(0x24b)]=function(_0x10fe28,_0x151e85){return _0x10fe28<_0x151e85;},_0x1e62d1[_0x3bbf47(0x19b)]=function(_0x375583,_0x492ee5){return _0x375583===_0x492ee5;},_0x1e62d1[_0x3bbf47(0x255)]=_0x3bbf47(0x1d9),_0x1e62d1[_0x3bbf47(0x20b)]='hook',_0x1e62d1[_0x3bbf47(0x1ff)]=function(_0x1742ec,_0x6909cf){return _0x1742ec===_0x6909cf;},_0x1e62d1[_0x3bbf47(0x225)]=_0x3bbf47(0x221),_0x1e62d1['iLslV']=_0x3bbf47(0x1fe),_0x1e62d1[_0x3bbf47(0x25d)]=_0x3bbf47(0x1a3);const _0x113cdc=_0x1e62d1,_0x27970d=_0xc417a1['match'](/^(.*)Run(.*)$/);if(!_0x27970d)return null;if(_0x113cdc[_0x3bbf47(0x24b)](_0x27970d[_0x3bbf47(0x226)],0x3))return null;const _0xe40e50=_0x27970d[0x1]['toLowerCase'](),_0x524a1a=_0x27970d[0x2]['toLowerCase']();return{'test':_0x113cdc[_0x3bbf47(0x19b)](_0xe40e50,_0x113cdc[_0x3bbf47(0x255)]),'hook':_0x113cdc[_0x3bbf47(0x19b)](_0xe40e50,_0x113cdc[_0x3bbf47(0x20b)]),'skipped':_0x113cdc[_0x3bbf47(0x1ff)](_0x524a1a,_0x113cdc[_0x3bbf47(0x225)]),'started':_0x113cdc[_0x3bbf47(0x1ff)](_0x524a1a,_0x113cdc['iLslV']),'finished':_0x113cdc[_0x3bbf47(0x19b)](_0x524a1a,_0x113cdc[_0x3bbf47(0x25d)])};},mockPWBrowserType=_0x4c9505=>{const _0x26ff34=a4_0x596cd5,_0x3e5e7f={'oJUwf':function(_0x1b19f7,_0x4da161){return _0x1b19f7===_0x4da161;},'khFgr':_0x26ff34(0x191),'Rtydj':function(_0x4860f7,_0x11877f,_0x2ceb54){return _0x4860f7(_0x11877f,_0x2ceb54);},'dCEPw':_0x26ff34(0x186),'gHtPS':function(_0xd65582,_0x152ce8){return _0xd65582(_0x152ce8);},'eWDWA':_0x26ff34(0x228),'vOWyR':function(_0x124c8d,_0x30a3a1){return _0x124c8d(_0x30a3a1);},'Tahdp':'lib','McouF':_0x26ff34(0x169),'jHVjH':_0x26ff34(0x177),'jfsEi':_0x26ff34(0x187),'eZRTM':_0x26ff34(0x188),'WAiPU':_0x26ff34(0x1f5)},_0x576969=path[_0x26ff34(0x1e1)](_0x3e5e7f['Tahdp'],_0x3e5e7f[_0x26ff34(0x212)],_0x3e5e7f[_0x26ff34(0x18f)]),_0x160402=_0x3e5e7f[_0x26ff34(0x1b4)](importFileFromPWCore,_0x576969);if(!_0x160402){_0x3e5e7f[_0x26ff34(0x224)](debug,_0x3e5e7f[_0x26ff34(0x183)]);return;}const _0x277f8f=_0x160402[_0x26ff34(0x233)],_0xd2423=_0x277f8f[_0x26ff34(0x250)];if(_0xd2423[_0x26ff34(0x1be)])return;const _0x11eb4a=_0xd2423['connect'];Object[_0x26ff34(0x1c1)](_0xd2423,_0x3e5e7f['eZRTM'],{'get':function(){const _0x498ec6=_0x26ff34,_0x6d0d0d={'FkxIj':function(_0x327372,_0x8e1004){return _0x3e5e7f['oJUwf'](_0x327372,_0x8e1004);},'tKhey':_0x3e5e7f[_0x498ec6(0x232)],'GOJyP':function(_0x4d0427,_0x1db76b,_0x1ad61c){return _0x3e5e7f['Rtydj'](_0x4d0427,_0x1db76b,_0x1ad61c);},'eyLDD':_0x3e5e7f[_0x498ec6(0x17b)],'qwftR':function(_0x6bd889,_0x313b09){const _0x4f3460=_0x498ec6;return _0x3e5e7f[_0x4f3460(0x1b4)](_0x6bd889,_0x313b09);},'cBIUK':_0x3e5e7f[_0x498ec6(0x1e5)],'Vvwup':function(_0x2e5052,_0x5628c7,_0x46fca5){const _0x5bb5b5=_0x498ec6;return _0x3e5e7f[_0x5bb5b5(0x1a4)](_0x2e5052,_0x5628c7,_0x46fca5);},'CYdfW':function(_0x5bcf2b,_0x3f2721){return _0x3e5e7f['vOWyR'](_0x5bcf2b,_0x3f2721);}};return async function _0x94bf7b(_0x46c07f,_0x3edf1e){const _0x161e1c=_0x498ec6,_0x40a87f={'LrleT':function(_0x52b8cf,_0x1ba99f){const _0x15fe9b=a4_0x349b;return _0x6d0d0d[_0x15fe9b(0x25a)](_0x52b8cf,_0x1ba99f);},'pgbRm':_0x6d0d0d[_0x161e1c(0x181)]},_0x26cf92=_0x6d0d0d[_0x161e1c(0x1c8)](nestedKeyValue,_0x46c07f,[_0x6d0d0d[_0x161e1c(0x201)]])||_0x46c07f;let _0x1d8527=null,_0x9f1fa=null;try{[_0x9f1fa,_0x1d8527]=_0x26cf92?_0x6d0d0d['qwftR'](parseWSEndpoint,_0x26cf92):[null,null],global[_0x161e1c(0x248)]=_0x1d8527,logger[_0x161e1c(0x214)](_0x161e1c(0x175)+_0x9f1fa),_0x9f1fa[_0x161e1c(0x1ec)](Constants[_0x161e1c(0x193)])&&(global[_0x161e1c(0x1cf)]=_0x6d0d0d[_0x161e1c(0x1ef)]);}catch(_0x42893d){logger[_0x161e1c(0x214)]('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x26cf92+'\x20'+_0x42893d);}_0x6d0d0d[_0x161e1c(0x16b)](processAccessibilityCaps,_0x1d8527,_0x9f1fa);if(global[_0x161e1c(0x180)]){const _0x2264f4=await _0xd2423[_0x161e1c(0x244)][_0x161e1c(0x1eb)](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0x6d0d0d[_0x161e1c(0x24e)](encodeURIComponent,JSON[_0x161e1c(0x1f0)](_0x1d8527))]);return PlaywrightSessionDetails['setupBrowserDetails'](_0x2264f4,_0x4c9505,_0x26cf92),_0x2264f4;}return _0x11eb4a['apply'](this,arguments)[_0x161e1c(0x18e)](_0x4fc740=>{const _0x1f086d=_0x161e1c;let _0xcdf805=_0x46c07f[_0x1f086d(0x186)];return _0x40a87f[_0x1f086d(0x1d0)](typeof _0x46c07f,_0x40a87f['pgbRm'])&&(_0xcdf805=_0x46c07f),PlaywrightSessionDetails['setupBrowserDetails'](_0x4fc740,_0x4c9505,_0xcdf805),_0x4fc740;});};}});const _0x2150e6=_0xd2423[_0x26ff34(0x1f5)];Object[_0x26ff34(0x1c1)](_0xd2423,_0x3e5e7f[_0x26ff34(0x21d)],{'get':function(){return async function _0x4c45a2(){const _0x3fa8df=a4_0x349b;return _0x2150e6[_0x3fa8df(0x1eb)](this,arguments)[_0x3fa8df(0x18e)](_0x32c12a=>{const _0x4bcd28=_0x3fa8df;return PlaywrightSessionDetails[_0x4bcd28(0x20e)](_0x32c12a,null),_0x32c12a;});};}});};class O11yHelper{[a4_0x596cd5(0x239)]=null;[a4_0x596cd5(0x167)]=null;[a4_0x596cd5(0x19f)]=![];[a4_0x596cd5(0x22b)]=![];constructor(_0xc5825e,_0xa7a9b2){const _0x4f5e39=a4_0x596cd5,_0x5b3c79={'AuShO':_0x4f5e39(0x18d),'IuWpG':function(_0x1d86ef){return _0x1d86ef();},'jVAoJ':function(_0xc0c91d,_0x4615fe){return _0xc0c91d===_0x4615fe;},'bppLU':_0x4f5e39(0x1d4),'RJBND':function(_0x4cb718,_0x59e350){return _0x4cb718(_0x59e350);}},_0x4ed55c=_0x5b3c79[_0x4f5e39(0x24c)][_0x4f5e39(0x1cc)]('|');let _0x371f4d=0x0;while(!![]){switch(_0x4ed55c[_0x371f4d++]){case'0':this['enabled']=_0x5b3c79[_0x4f5e39(0x178)](shouldProcessEventForTesthub);continue;case'1':this[_0x4f5e39(0x207)]&&_0x5b3c79[_0x4f5e39(0x1e2)](this['driver']['constructor'][_0x4f5e39(0x1b6)],_0x5b3c79[_0x4f5e39(0x218)])&&_0x5b3c79[_0x4f5e39(0x1bd)](mockPWBrowserType,null);continue;case'2':this['_paths']=new testOpsHelper[(_0x4f5e39(0x238))]({'cwd':process[_0x4f5e39(0x168)]()},this[_0x4f5e39(0x237)]['location_prefix']);continue;case'3':this['frameworkName']=_0xa7a9b2[_0x4f5e39(0x22b)];continue;case'4':this[_0x4f5e39(0x207)]=_0xc5825e;continue;case'5':this[_0x4f5e39(0x237)]=_0x5b3c79['IuWpG'](getTestEnv);continue;}break;}}['start'](){const _0x535539=a4_0x596cd5;if(!this['enabled'])return;testOpsHelper['patchConsoleLogger'](),process[_0x535539(0x24d)]('bs:addLog:'+process[_0x535539(0x227)]),process['on'](_0x535539(0x19c)+process[_0x535539(0x227)],this[_0x535539(0x1d5)]['bind'](this));}async[a4_0x596cd5(0x174)](){const _0x2a3e94=a4_0x596cd5;await RequestQueueHandler[_0x2a3e94(0x1c9)]()[_0x2a3e94(0x17c)]();}async[a4_0x596cd5(0x1d5)](_0x39955b){const _0xbd91cd=a4_0x596cd5,_0xa81551={'fueGI':_0xbd91cd(0x1e4),'PyZLo':function(_0x592a67,_0x2325f2){return _0x592a67(_0x2325f2);}};try{this[_0xbd91cd(0x167)]&&!this['currentHook'][_0xbd91cd(0x1ce)]&&(_0x39955b[_0xbd91cd(0x1da)]=this[_0xbd91cd(0x167)]['hookAnalyticsId']);!_0x39955b['hook_run_uuid']&&this[_0xbd91cd(0x239)]&&!this[_0xbd91cd(0x239)][_0xbd91cd(0x1ce)]&&(_0x39955b[_0xbd91cd(0x22e)]=this[_0xbd91cd(0x239)][_0xbd91cd(0x200)]);if(_0x39955b[_0xbd91cd(0x1da)]||_0x39955b[_0xbd91cd(0x22e)]){const _0x357cff={};_0x357cff[_0xbd91cd(0x1c3)]=_0xa81551[_0xbd91cd(0x219)],_0x357cff[_0xbd91cd(0x1f3)]=[_0x39955b],await SessionHandler[_0xbd91cd(0x241)](_0x357cff);}}catch(_0x14b005){_0xa81551[_0xbd91cd(0x1f1)](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20'+constants[_0xbd91cd(0x199)]+_0xbd91cd(0x211)+_0x14b005);}}async[a4_0x596cd5(0x22a)](_0x3fd39c){const _0x3561c2=a4_0x596cd5,_0x437481={'rkgdV':_0x3561c2(0x1d7),'vmyMw':function(_0x231c39,_0x4c2629){return _0x231c39(_0x4c2629);}};if(!this[_0x3561c2(0x19f)])return;const _0x1263d3=this['getCBTInfo'](this[_0x3561c2(0x207)]);try{const _0x427511={};_0x427511[_0x3561c2(0x1b2)]=_0x3fd39c,_0x427511[_0x3561c2(0x195)]=_0x1263d3;const _0x11741=_0x427511,_0xb754a8={};_0xb754a8['event_type']=_0x437481['rkgdV'],_0xb754a8[_0x3561c2(0x256)]=_0x11741,await SessionHandler['uploadEventData'](_0xb754a8);}catch(_0x30d3cb){_0x437481[_0x3561c2(0x1df)](debug,_0x3561c2(0x1b7)+constants[_0x3561c2(0x199)]+_0x3561c2(0x211)+_0x30d3cb);}}[a4_0x596cd5(0x1b8)](_0x5025b3){const _0x2f56b5=a4_0x596cd5,_0x1e9ece={'vFaYb':function(_0x4c2b63,_0xa0c5f4){return _0x4c2b63(_0xa0c5f4);}};return _0x1e9ece[_0x2f56b5(0x1e9)](fetchPlatformDetails,_0x5025b3);}[a4_0x596cd5(0x1b5)]=_0x19eaa6=>{const _0x1b924f=a4_0x596cd5,_0x3c73ea={};_0x3c73ea[_0x1b924f(0x21c)]=_0x1b924f(0x1a8),_0x3c73ea[_0x1b924f(0x166)]=_0x1b924f(0x1dd);const _0xe3414d=_0x3c73ea;if(!_0x19eaa6||!_0x19eaa6[_0x1b924f(0x1f2)])return;[_0xe3414d[_0x1b924f(0x21c)],_0xe3414d[_0x1b924f(0x166)]][_0x1b924f(0x252)](_0x1bf895=>{const _0x520adb=_0x1b924f,_0x4fc9a6=_0x19eaa6['parent'][_0x1bf895];_0x4fc9a6[_0x520adb(0x252)](_0x1f712d=>{const _0x56eb24=_0x520adb;_0x1f712d[_0x56eb24(0x202)]&&(_0x1f712d[_0x56eb24(0x202)]=null);});});};[a4_0x596cd5(0x1f4)](_0x13f8b9){const _0x1cd305=a4_0x596cd5,_0x2c477a={'gFBQy':'codeceptjs','WKxmQ':function(_0xa3879){return _0xa3879();},'FqbTr':function(_0x17c170,_0x3bde2f){return _0x17c170===_0x3bde2f;},'ZhNBl':_0x1cd305(0x1dd),'paFjD':function(_0x326bca){return _0x326bca();},'AgKfm':_0x1cd305(0x1fc),'TtWgU':_0x1cd305(0x184),'IdrfR':_0x1cd305(0x1a8)};if(!_0x13f8b9||!_0x13f8b9['parent'])return;[_0x2c477a[_0x1cd305(0x165)],_0x2c477a[_0x1cd305(0x235)],_0x2c477a[_0x1cd305(0x1d8)],_0x2c477a[_0x1cd305(0x1f8)]][_0x1cd305(0x252)](_0xdbd10c=>{const _0xa2a6f1=_0x1cd305,_0x39d046=_0x13f8b9[_0xa2a6f1(0x1f2)][_0xdbd10c]||[];_0x39d046[_0xa2a6f1(0x252)](_0x47352f=>{const _0xa1131e=_0xa2a6f1;if(_0x47352f['title'][_0xa1131e(0x1ec)](_0x2c477a[_0xa1131e(0x1a9)]))return;if(!_0x47352f['hookAnalyticsId'])_0x47352f[_0xa1131e(0x202)]=_0x2c477a['WKxmQ'](uuidv4);else _0x47352f['markedStatus']&&_0x2c477a[_0xa1131e(0x21f)](_0xdbd10c,_0x2c477a['ZhNBl'])&&(_0x47352f[_0xa1131e(0x202)]=_0x2c477a[_0xa1131e(0x216)](uuidv4),delete _0x47352f[_0xa1131e(0x1ce)]);});}),this['mapTestHooks'](_0x13f8b9[_0x1cd305(0x1f2)]);}[a4_0x596cd5(0x234)](_0x2cf38f){const _0x452e47=a4_0x596cd5,_0x655028={};_0x655028[_0x452e47(0x170)]=_0x452e47(0x1fc),_0x655028['txyDM']=_0x452e47(0x184),_0x655028[_0x452e47(0x189)]=_0x452e47(0x1a8),_0x655028[_0x452e47(0x1cd)]='_afterEach';const _0x1bf33d=_0x655028;if(!_0x2cf38f||!_0x2cf38f[_0x452e47(0x1f2)])return[];const _0x430247=[];return[_0x1bf33d[_0x452e47(0x170)],_0x1bf33d[_0x452e47(0x253)],_0x1bf33d[_0x452e47(0x189)],_0x1bf33d['RmLSK']]['forEach'](_0x319fbe=>{const _0x46457f=_0x452e47,_0x378389=_0x2cf38f[_0x46457f(0x1f2)][_0x319fbe]||[];_0x378389['forEach'](_0x120c8a=>{const _0x2bf42e=_0x46457f;_0x120c8a[_0x2bf42e(0x202)]&&_0x430247['push'](_0x120c8a[_0x2bf42e(0x202)]);});}),[][_0x452e47(0x1bf)](_0x430247,this[_0x452e47(0x234)](_0x2cf38f[_0x452e47(0x1f2)]));}[a4_0x596cd5(0x173)](_0x566eb6){const _0x4dea63=a4_0x596cd5,_0x38c423=/^"(?<hook>.*)" hook:.*$/,_0x5cf733=_0x566eb6[_0x4dea63(0x1d1)],_0x50e277=_0x5cf733[_0x4dea63(0x22d)](_0x38c423);if(_0x50e277&&_0x50e277[_0x4dea63(0x204)])return _0x50e277[_0x4dea63(0x204)]['hook'][_0x4dea63(0x242)]()['replace']('\x20','_');return null;}['findGitConfig'](_0x5207de){const _0x87276a=a4_0x596cd5,_0x476d98={};_0x476d98[_0x87276a(0x19d)]=function(_0x3a773f,_0x2c25e5){return _0x3a773f===_0x2c25e5;},_0x476d98[_0x87276a(0x23e)]=function(_0x577a71,_0x2f8dd8){return _0x577a71===_0x2f8dd8;},_0x476d98['laZyB']=_0x87276a(0x1fb),_0x476d98[_0x87276a(0x205)]=_0x87276a(0x192);const _0x3d9056=_0x476d98,_0x1060eb=path['sep'];if(_0x3d9056['VDWqO'](_0x5207de,null)||_0x3d9056[_0x87276a(0x19d)](_0x5207de,'')||_0x3d9056[_0x87276a(0x19d)](_0x5207de,_0x1060eb)||_0x3d9056[_0x87276a(0x23e)](_0x5207de,path[_0x87276a(0x18c)](_0x5207de)))return null;try{return fs[_0x87276a(0x1ee)](path['join'](_0x5207de,_0x3d9056[_0x87276a(0x176)],_0x3d9056['wIhgb'])),_0x5207de;}catch(_0x54bfa6){const _0x49dcd3=path[_0x87276a(0x18c)](_0x5207de);return this[_0x87276a(0x1a2)](_0x49dcd3);}}[a4_0x596cd5(0x1ed)](_0x341e4a){const _0x3a864b=a4_0x596cd5,_0x1ee325={};_0x1ee325['NfrqV']=function(_0x81225c,_0x4a69b5){return _0x81225c>_0x4a69b5;};const _0x81e9dc=_0x1ee325;if(_0x341e4a[_0x3a864b(0x185)])return _0x341e4a[_0x3a864b(0x185)];if(_0x341e4a['ctx']){const _0xde3ba6=_0x341e4a[_0x3a864b(0x196)][_0x3a864b(0x239)]?this[_0x3a864b(0x1ed)](_0x341e4a[_0x3a864b(0x196)][_0x3a864b(0x239)]):null;if(_0xde3ba6)return _0xde3ba6;}if(_0x341e4a[_0x3a864b(0x1f2)]){const _0x492579=this['getRootParentFile'](_0x341e4a[_0x3a864b(0x1f2)])||(_0x341e4a[_0x3a864b(0x1f2)][_0x3a864b(0x196)]&&_0x341e4a[_0x3a864b(0x1f2)][_0x3a864b(0x196)][_0x3a864b(0x239)]?this[_0x3a864b(0x1ed)](_0x341e4a['parent'][_0x3a864b(0x196)][_0x3a864b(0x239)]):null);if(_0x492579)return _0x492579;_0x341e4a['parent'][_0x3a864b(0x223)]&&_0x81e9dc[_0x3a864b(0x17a)](_0x341e4a[_0x3a864b(0x1f2)]['suites']['length'],0x0)&&_0x341e4a['parent']['suites'][_0x3a864b(0x252)](_0x116359=>{const _0x2c3eb3=_0x3a864b,_0x540fa1=_0x116359[_0x2c3eb3(0x196)]?this['getRootParentFile'](_0x116359[_0x2c3eb3(0x196)]):null;if(_0x540fa1)return _0x540fa1;});}return null;}['getHierarchy'](_0x1ac1bb){const _0x2cb21d=a4_0x596cd5,_0x5556ad={};_0x5556ad[_0x2cb21d(0x1ac)]=function(_0x9f3ed8,_0x250bc8){return _0x9f3ed8!==_0x250bc8;};const _0x1bcfc7=_0x5556ad,_0x371d84=[];if(_0x1ac1bb&&_0x1ac1bb[_0x2cb21d(0x1f2)]){let _0x315170=_0x1ac1bb[_0x2cb21d(0x1f2)];while(_0x315170&&_0x1bcfc7[_0x2cb21d(0x1ac)](_0x315170['title'],'')){_0x371d84['push'](_0x315170['title']),_0x315170=_0x315170['parent'];}}return _0x371d84;}[a4_0x596cd5(0x1e3)](_0x24966b,_0x149cb7,_0x47d6dd=undefined){const _0x3bd5e2=a4_0x596cd5,_0x2f3bd2={'yoCjj':function(_0x5c62a9,_0x270f53){return _0x5c62a9(_0x270f53);},'FLbJV':function(_0x1ef9b2){return _0x1ef9b2();},'TILCv':function(_0x5c3e65){return _0x5c3e65();},'UBXZx':function(_0x17b509){return _0x17b509();},'McOjP':function(_0x46d1a7){return _0x46d1a7();},'DFgTT':'util','EmmEG':_0x3bd5e2(0x1ae),'iYRqi':function(_0x39bfbf,_0x2b5366){return _0x39bfbf!==_0x2b5366;},'AeMgi':function(_0x4280c7,_0xb25b4){return _0x4280c7!==_0xb25b4;},'KqAFC':_0x3bd5e2(0x20a),'HWEAv':'pending','wBQOz':_0x3bd5e2(0x257),'hpTXI':_0x3bd5e2(0x16d),'MIJuQ':_0x3bd5e2(0x221),'OXUnh':_0x3bd5e2(0x243),'iszXx':function(_0x598ad3,_0x11d3f7){return _0x598ad3-_0x11d3f7;},'iiFlh':function(_0x215b66,_0x47b2b2,_0x4ca9c3,_0x1dd128,_0x47b1a4){return _0x215b66(_0x47b2b2,_0x4ca9c3,_0x1dd128,_0x47b1a4);},'IxTiD':_0x3bd5e2(0x195),'EyHSG':_0x3bd5e2(0x21a),'VIjoE':'failure','ppiqL':_0x3bd5e2(0x18b),'oCRRy':_0x3bd5e2(0x1db),'ecZGd':_0x3bd5e2(0x1e7),'eYFmF':_0x3bd5e2(0x190),'xdFwU':function(_0x1a8e76,_0x3f0cb8){return _0x1a8e76===_0x3f0cb8;},'oAbtE':'hook_run','GKIYT':_0x3bd5e2(0x256)};if(!this[_0x3bd5e2(0x19f)])return;try{if(_0x149cb7['fn']&&_0x149cb7['fn'][_0x3bd5e2(0x20f)]()[_0x3bd5e2(0x22d)](/browserstack internal helper hook/))return;const _0x2ce51a=_0x2f3bd2[_0x3bd5e2(0x1cb)](parseEvent,_0x24966b);if(!_0x2ce51a)return;if(_0x2ce51a[_0x3bd5e2(0x1d9)]){this['currentTest']=_0x149cb7,this[_0x3bd5e2(0x167)]=null;if(_0x2ce51a[_0x3bd5e2(0x1fe)]||_0x2ce51a[_0x3bd5e2(0x221)]){_0x149cb7[_0x3bd5e2(0x1c6)]=new Date(),_0x149cb7['markedStatus']=![];if(!_0x149cb7['testAnalyticsId'])_0x149cb7['testAnalyticsId']=_0x2f3bd2[_0x3bd5e2(0x16e)](uuidv4);else _0x149cb7[_0x3bd5e2(0x1ce)]&&(!_0x149cb7[_0x3bd5e2(0x213)]&&(_0x149cb7[_0x3bd5e2(0x213)]=_0x149cb7['testAnalyticsId']),_0x149cb7[_0x3bd5e2(0x200)]=_0x2f3bd2[_0x3bd5e2(0x25b)](uuidv4));}}else{if(_0x2ce51a['hook']){this['currentHook']=_0x149cb7;if(_0x2ce51a[_0x3bd5e2(0x1fe)]){_0x149cb7[_0x3bd5e2(0x1c6)]=new Date(),_0x149cb7['markedStatus']=![];if(!_0x149cb7[_0x3bd5e2(0x202)])_0x149cb7[_0x3bd5e2(0x202)]=_0x2f3bd2[_0x3bd5e2(0x1f6)](uuidv4);else _0x149cb7['hookAnalyticsId']&&_0x149cb7[_0x3bd5e2(0x1ce)]&&(_0x149cb7['hookAnalyticsId']=_0x2f3bd2[_0x3bd5e2(0x249)](uuidv4));}}}if(_0x2ce51a[_0x3bd5e2(0x1a3)]&&_0x149cb7['markedStatus'])return;let _0x2d2271;try{_0x2d2271=this['getRootParentFile'](_0x149cb7);}catch(_0x2c109c){logger[_0x3bd5e2(0x214)](_0x3bd5e2(0x172)+_0x2c109c),_0x2d2271=null;}const _0x375530=_0x2f3bd2[_0x3bd5e2(0x1cb)](require,_0x2f3bd2[_0x3bd5e2(0x1ba)]);let _0x51a7eb=[];_0x47d6dd&&(_0x51a7eb=[_0x47d6dd,_0x2f3bd2['EmmEG']]);const _0x4daa6f=_0x2f3bd2[_0x3bd5e2(0x1c0)](_0x149cb7['errorsDetailed'],undefined)?_0x375530[_0x3bd5e2(0x1e0)](_0x149cb7[_0x3bd5e2(0x16c)][0x0]):_0x2f3bd2[_0x3bd5e2(0x23a)](_0x47d6dd,undefined)?_0x47d6dd[_0x3bd5e2(0x20f)]():undefined,_0x651e96=_0x2d2271?this[_0x3bd5e2(0x1a2)](_0x2d2271):null,_0x4fd0cf=_0x2d2271?this[_0x3bd5e2(0x1de)][_0x3bd5e2(0x22f)](this['getRootParentFile'](_0x149cb7)):_0x2f3bd2[_0x3bd5e2(0x1b3)];let _0x23c55f=_0x2f3bd2[_0x3bd5e2(0x20c)];const _0x6032c1=!_0x2ce51a[_0x3bd5e2(0x1fe)]?new Date()[_0x3bd5e2(0x23c)]():null;if(_0x2ce51a[_0x3bd5e2(0x1a3)])_0x23c55f=_0x47d6dd?_0x2f3bd2[_0x3bd5e2(0x1e6)]:_0x2f3bd2['hpTXI'],_0x149cb7[_0x3bd5e2(0x1ce)]=!![];else _0x2ce51a['skipped']&&(_0x23c55f=_0x2f3bd2[_0x3bd5e2(0x19a)],_0x149cb7[_0x3bd5e2(0x1ce)]=!![]);const _0x19faf4={'framework':this['frameworkName'],'uuid':_0x149cb7[_0x3bd5e2(0x200)]||_0x149cb7[_0x3bd5e2(0x202)],'name':_0x149cb7[_0x3bd5e2(0x1d1)],'body':{'lang':_0x2f3bd2[_0x3bd5e2(0x1d3)],'code':_0x149cb7[_0x3bd5e2(0x1fa)]['toString']()},'type':_0x149cb7[_0x3bd5e2(0x1c7)],'scope':_0x149cb7['fullTitle'](),'scopes':this[_0x3bd5e2(0x197)](_0x149cb7),'file_name':_0x4fd0cf,'vc_filepath':_0x651e96?path['relative'](_0x651e96,_0x2d2271):null,'location':_0x4fd0cf,'result':_0x23c55f,'failure_reason':_0x4daa6f,'duration_in_ms':_0x149cb7[_0x3bd5e2(0x1ca)]||(_0x2ce51a[_0x3bd5e2(0x1a3)]||_0x2ce51a[_0x3bd5e2(0x221)])?_0x2f3bd2[_0x3bd5e2(0x258)](Date[_0x3bd5e2(0x1a5)](),new Date(_0x149cb7['startedAt'])[_0x3bd5e2(0x245)]()):null,'started_at':new Date(_0x149cb7[_0x3bd5e2(0x1c6)])[_0x3bd5e2(0x23c)](),'finished_at':_0x6032c1,'failure':testOpsHelper[_0x3bd5e2(0x1d2)][_0x3bd5e2(0x1eb)](null,_0x51a7eb),'failure_type':!_0x4daa6f?null:testOpsHelper['getFailureType'](_0x4daa6f),'retry_of':_0x149cb7[_0x3bd5e2(0x213)]||null,'tags':_0x149cb7[_0x3bd5e2(0x1ab)]||[],'customRerunParam':{'rerun_name':_0x149cb7[_0x3bd5e2(0x203)]()}};_0x2f3bd2[_0x3bd5e2(0x23f)](appendTesthubParams,_0x19faf4,_0x24966b,_0x149cb7,FRAMEWORKS[_0x3bd5e2(0x1aa)]);if(_0x2ce51a[_0x3bd5e2(0x16a)])[_0x19faf4[_0x3bd5e2(0x171)],_0x19faf4['name']]=[this[_0x3bd5e2(0x173)](_0x149cb7),_0x149cb7[_0x3bd5e2(0x196)][_0x3bd5e2(0x1d9)]['title']],_0x2ce51a[_0x3bd5e2(0x1a3)]?_0x2f3bd2[_0x3bd5e2(0x1c0)](_0x19faf4[_0x3bd5e2(0x222)],_0x2f3bd2[_0x3bd5e2(0x1e6)])&&(_0x19faf4[_0x3bd5e2(0x222)]=_0x2f3bd2[_0x3bd5e2(0x251)]):_0x19faf4[_0x3bd5e2(0x1fa)]={};else _0x2ce51a[_0x3bd5e2(0x1d9)]&&(this['mapTestHooks'](_0x149cb7),_0x2ce51a[_0x3bd5e2(0x221)]&&this['resetSkipTestHooks'](_0x149cb7),(_0x2ce51a['finished']||_0x2ce51a['skipped'])&&(_0x19faf4[_0x3bd5e2(0x1f7)]=this[_0x3bd5e2(0x234)](_0x149cb7)));this[_0x3bd5e2(0x207)]&&(_0x2ce51a[_0x3bd5e2(0x1fe)]||_0x2ce51a[_0x3bd5e2(0x221)])&&(_0x19faf4[_0x2f3bd2[_0x3bd5e2(0x18a)]]=this['getCBTInfo'](this[_0x3bd5e2(0x207)]));_0x2ce51a[_0x3bd5e2(0x1d9)]&&_0x2ce51a[_0x3bd5e2(0x1a3)]&&_0x149cb7[_0x3bd5e2(0x1c5)]&&(_0x19faf4[_0x2f3bd2[_0x3bd5e2(0x17f)]]={'feature':{'name':_0x149cb7[_0x3bd5e2(0x1f2)]['feature'][_0x3bd5e2(0x1b6)],'path':_0x19faf4['file_name'],'description':_0x149cb7[_0x3bd5e2(0x1f2)][_0x3bd5e2(0x1d6)]},'scenario':{'name':_0x149cb7[_0x3bd5e2(0x1d1)]},'steps':_0x149cb7[_0x3bd5e2(0x1c5)]});const _0x5bae78=_0x19faf4[_0x2f3bd2[_0x3bd5e2(0x1a0)]][0x0];_0x5bae78&&(_0x19faf4[_0x2f3bd2[_0x3bd5e2(0x198)]]=_0x5bae78[_0x2f3bd2['oCRRy']],_0x19faf4[_0x2f3bd2[_0x3bd5e2(0x236)]]=_0x5bae78[_0x2f3bd2['eYFmF']]);if(_0x149cb7[_0x3bd5e2(0x1c5)])for(const _0x29cdcd of _0x149cb7[_0x3bd5e2(0x1c5)]){!_0x29cdcd['finished_at']&&(_0x29cdcd[_0x3bd5e2(0x229)]=new Date()['toISOString'](),_0x2f3bd2[_0x3bd5e2(0x1dc)](_0x29cdcd[_0x3bd5e2(0x222)],_0x2f3bd2[_0x3bd5e2(0x20c)])&&(_0x5bae78?(_0x29cdcd[_0x3bd5e2(0x222)]=_0x2f3bd2[_0x3bd5e2(0x1e6)],_0x29cdcd[_0x3bd5e2(0x1a1)]=_0x5bae78[_0x2f3bd2[_0x3bd5e2(0x208)]][0x0]):_0x29cdcd[_0x3bd5e2(0x222)]=_0x2f3bd2[_0x3bd5e2(0x251)]));}const _0x4933a3={};_0x4933a3['event_type']=_0x2ce51a[_0x3bd5e2(0x221)]?TEST_EVENTS[_0x3bd5e2(0x1af)]:_0x24966b;const _0x2196ef=_0x4933a3;return _0x2ce51a[_0x3bd5e2(0x16a)]?_0x2196ef[_0x2f3bd2['oAbtE']]=_0x19faf4:_0x2196ef[_0x2f3bd2[_0x3bd5e2(0x259)]]=_0x19faf4,_0x2196ef;}catch(_0x5f496e){logger[_0x3bd5e2(0x214)]('Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x24966b+_0x3bd5e2(0x211)+_0x5f496e);}}async[a4_0x596cd5(0x179)](_0x4662db,_0x49091d){const _0x2a6f05=a4_0x596cd5;if(!this[_0x2a6f05(0x19f)]||!_0x49091d||!_0x4662db)return![];try{return await SessionHandler[_0x2a6f05(0x241)](_0x49091d);}catch(_0x4567f8){logger[_0x2a6f05(0x214)]('Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20'+_0x4662db+_0x2a6f05(0x211)+_0x4567f8);}}[a4_0x596cd5(0x1f9)](_0x2094d2){const _0x284493=a4_0x596cd5,_0x339891={};_0x339891[_0x284493(0x20d)]=_0x284493(0x1a6);const _0x3b028c=_0x339891;return{'id':_0x2094d2[_0x284493(0x182)],'text':_0x2094d2['text'],'keyword':_0x2094d2['keyword'],'started_at':_0x2094d2[_0x284493(0x1c6)][_0x284493(0x23c)](),'result':_0x3b028c[_0x284493(0x20d)]};}[a4_0x596cd5(0x1e8)](_0x556b1e){const _0x4e29e6=a4_0x596cd5,_0xc9dcba={'TtbpK':function(_0x29981b){return _0x29981b();}};!this[_0x4e29e6(0x239)]['bddSteps']&&(this[_0x4e29e6(0x239)][_0x4e29e6(0x1c5)]=[]),!_0x556b1e[_0x4e29e6(0x182)]&&(_0x556b1e[_0x4e29e6(0x182)]=_0xc9dcba[_0x4e29e6(0x1ea)](uuidv4),_0x556b1e[_0x4e29e6(0x1c6)]=new Date(),this[_0x4e29e6(0x239)][_0x4e29e6(0x1c5)][_0x4e29e6(0x19e)](this[_0x4e29e6(0x1f9)](_0x556b1e)));}[a4_0x596cd5(0x1bc)](_0x4fe3d7){const _0x580685=a4_0x596cd5,_0x4a6fab={'PMwSJ':function(_0x2d31a7,_0x1d3941){return _0x2d31a7(_0x1d3941);},'jhUnj':_0x580685(0x24f),'zHlwb':_0x580685(0x1a6),'JTsAh':_0x580685(0x16d),'HakZf':function(_0x34ad41,_0x352b88){return _0x34ad41-_0x352b88;}};let _0x3db34b=this[_0x580685(0x239)]['bddSteps'][_0x580685(0x21b)](_0x429cf1=>_0x429cf1['id']===_0x4fe3d7['stepAnalyticsId']);_0x4a6fab['PMwSJ'](isUndefined,_0x3db34b)&&(_0x3db34b=this[_0x580685(0x1f9)](_0x4fe3d7)),_0x3db34b[_0x580685(0x222)]=[_0x4a6fab[_0x580685(0x194)],_0x4a6fab['zHlwb']][_0x580685(0x1ec)](_0x4fe3d7[_0x580685(0x210)])?_0x4a6fab[_0x580685(0x23b)]:_0x4fe3d7[_0x580685(0x210)],_0x3db34b['finished_at']=new Date()['toISOString'](),_0x3db34b[_0x580685(0x1ca)]=_0x4a6fab[_0x580685(0x1a7)](Date[_0x580685(0x1a5)](),_0x4fe3d7[_0x580685(0x1c6)][_0x580685(0x245)]()),_0x3db34b[_0x580685(0x1a1)]=_0x4fe3d7[_0x580685(0x1ae)]?_0x4fe3d7[_0x580685(0x1ae)]['message']:null;}}const a4_0x4482cc={};a4_0x4482cc[a4_0x596cd5(0x1b1)]=O11yHelper,a4_0x4482cc[a4_0x596cd5(0x240)]=STATE_PASSED,a4_0x4482cc['STATE_FAILED']=STATE_FAILED,a4_0x4482cc['TEST_EVENTS']=TEST_EVENTS,module['exports']=a4_0x4482cc;
|