browserstack-node-sdk 1.55.4 → 1.55.6
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/generated/sdk-messages_pb.d.ts +40 -0
- package/generated/sdk-messages_pb.js +322 -2
- package/package.json +3 -2
- 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/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -0
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a1_0x402f4f=a1_0x1437;(function(_0x1b2964,_0x2848ca){const _0xf33dec=a1_0x1437,_0x286cd7=_0x1b2964();while(!![]){try{const _0x8cf41a=-parseInt(_0xf33dec(0x162))/0x1+parseInt(_0xf33dec(0x87))/0x2+parseInt(_0xf33dec(0x169))/0x3+parseInt(_0xf33dec(0x7a))/0x4+parseInt(_0xf33dec(0xaf))/0x5+parseInt(_0xf33dec(0x176))/0x6*(-parseInt(_0xf33dec(0x138))/0x7)+-parseInt(_0xf33dec(0x145))/0x8;if(_0x8cf41a===_0x2848ca)break;else _0x286cd7['push'](_0x286cd7['shift']());}catch(_0x48d2c3){_0x286cd7['push'](_0x286cd7['shift']());}}}(a1_0x5da3,0x46d9f));const fs=require('fs'),util=require(a1_0x402f4f(0x144)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x402f4f(0xc7)),logger=require(a1_0x402f4f(0x14f))[a1_0x402f4f(0x9a)],testOpsHelper=require(a1_0x402f4f(0x149)),requestSpy=require(a1_0x402f4f(0xa7)),PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x402f4f(0x10a)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x402f4f(0x98)),AccessibilityHelper=require(a1_0x402f4f(0xf0)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a1_0x402f4f(0x103)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require('../../helpers/performance/constants'),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x402f4f(0x112)),testHubConstants=require(a1_0x402f4f(0xc4)),globals=require(a1_0x402f4f(0x179)),CodeceptJS=requireModule(a1_0x402f4f(0x116),a1_0x402f4f(0xf2)),CodeceptUtils=requireModule('codeceptjs/lib/utils.js',a1_0x402f4f(0xf2)),CodeceptWebDriver=requireModule(a1_0x402f4f(0xf8),a1_0x402f4f(0xf2)),CodeceptRecorder=requireModule(a1_0x402f4f(0x150),a1_0x402f4f(0xf2)),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js',a1_0x402f4f(0xf2)),playwrightMarkSessionStatus=(_0x1fc969,_0x1aa283,_0x4586f0)=>{const _0x3f4674=a1_0x402f4f,_0x6a4602={'jUbUv':_0x3f4674(0xb8),'qBoBh':function(_0x3d1af5,_0x597b97){return _0x3d1af5(_0x597b97);}},_0x2d9e49={};_0x2d9e49[_0x3f4674(0xa0)]=_0x1aa283;const _0x4f35b5={};_0x4f35b5[_0x3f4674(0xaa)]=_0x6a4602['jUbUv'],_0x4f35b5[_0x3f4674(0xd1)]=_0x2d9e49;const _0x1c41c4=_0x4f35b5;return!_0x6a4602[_0x3f4674(0x168)](isUndefined,_0x4586f0)&&(_0x1c41c4['arguments'][_0x3f4674(0xe0)]=JSON['stringify'](_0x4586f0)),_0x1fc969[_0x3f4674(0x140)](()=>{},_0x3f4674(0x158)+JSON['stringify'](_0x1c41c4));},o11ySync=PerformanceTester[a1_0x402f4f(0x114)](PerformanceO11yEvents[a1_0x402f4f(0x9e)],async _0x116031=>{const _0x1ecbcb=a1_0x402f4f,_0x50b14a={};_0x50b14a[_0x1ecbcb(0xce)]=function(_0x359509,_0x24b5de){return _0x359509===_0x24b5de;},_0x50b14a['gSEZB']=_0x1ecbcb(0xb9);const _0x59262a=_0x50b14a;_0x59262a[_0x1ecbcb(0xce)](_0x116031[_0x1ecbcb(0x125)][_0x1ecbcb(0x7b)],_0x59262a[_0x1ecbcb(0xbe)])?await _0x116031[_0x1ecbcb(0x140)](_0x2386d4=>{},testOpsHelper[_0x1ecbcb(0xee)]()):await _0x116031[_0x1ecbcb(0x140)](testOpsHelper['getSyncScript']());}),markSessionName=PerformanceTester[a1_0x402f4f(0x114)](PerformanceAutEvents['SESSION_NAME'],async(_0x53cbb7,_0x4d0a71)=>{const _0x1d7926=a1_0x402f4f,_0x13dbf3={};_0x13dbf3[_0x1d7926(0x129)]=_0x1d7926(0x16d),_0x13dbf3[_0x1d7926(0x134)]=function(_0x620bbb,_0x1c3e27){return _0x620bbb===_0x1c3e27;},_0x13dbf3[_0x1d7926(0xbd)]=_0x1d7926(0xb9);const _0x4dea10=_0x13dbf3,_0xc949a4={};_0xc949a4[_0x1d7926(0x7b)]=_0x4d0a71;const _0x594ff0={};_0x594ff0[_0x1d7926(0xaa)]=_0x4dea10[_0x1d7926(0x129)],_0x594ff0[_0x1d7926(0xd1)]=_0xc949a4;const _0x1374e9=_0x594ff0;_0x4dea10[_0x1d7926(0x134)](_0x53cbb7[_0x1d7926(0x125)]['name'],_0x4dea10[_0x1d7926(0xbd)])?await _0x53cbb7[_0x1d7926(0x140)](()=>{},_0x1d7926(0x158)+JSON[_0x1d7926(0xf5)](_0x1374e9)):await _0x53cbb7[_0x1d7926(0x140)](_0x1d7926(0x158)+JSON[_0x1d7926(0xf5)](_0x1374e9));}),patchSaveScreenshot=_0x5efa0c=>{const _0x49ce09=a1_0x402f4f,_0x5d0d51={'vtMZl':_0x49ce09(0x12b),'IDHKf':_0x49ce09(0x159),'PLscg':function(_0xc1d2d2){return _0xc1d2d2();},'lCDMX':function(_0x1ea708,_0x57513b){return _0x1ea708(_0x57513b);},'MjCzI':_0x49ce09(0xc3)};_0x5d0d51[_0x49ce09(0x95)](isTrue,process[_0x49ce09(0x107)][_0x49ce09(0x131)])&&!_0x5efa0c['patchSaveScreenshot']&&(_0x5efa0c[_0x49ce09(0x136)]=!![],_0x5efa0c[_0x49ce09(0xdd)]=_0x5efa0c['saveScreenshot'],_0x5efa0c['saveScreenshot']=(_0x534fb6,_0x5ad317=![])=>{const _0xc430b1=_0x49ce09,_0x32fe40={'yEfje':_0x5d0d51[_0xc430b1(0x15e)],'RStgz':_0x5d0d51['IDHKf'],'yTMGO':function(_0x10a207){const _0x5eb6aa=_0xc430b1;return _0x5d0d51[_0x5eb6aa(0xef)](_0x10a207);},'fbhEV':function(_0x5d9aa9,_0xa6233b){const _0x84fdca=_0xc430b1;return _0x5d0d51[_0x84fdca(0x95)](_0x5d9aa9,_0xa6233b);},'jccWq':_0x5d0d51[_0xc430b1(0xca)]};return new Promise(function(_0x222fb8,_0x5e554a){const _0xe22a3a=_0xc430b1,_0x42ef5e={'dRnNB':_0x32fe40['yEfje'],'mwQVD':_0x32fe40['RStgz'],'xPLsx':function(_0x418598){const _0x5960f4=a1_0x1437;return _0x32fe40[_0x5960f4(0x16b)](_0x418598);},'imylk':function(_0xf4bc19,_0x1d103f){const _0x47f9c6=a1_0x1437;return _0x32fe40[_0x47f9c6(0xb2)](_0xf4bc19,_0x1d103f);},'aEsQv':_0x32fe40[_0xe22a3a(0x79)]};_0x5efa0c['initSaveScreenshot'](_0x534fb6,_0x5ad317)['then'](()=>{const _0x64f5a6=_0xe22a3a,_0x1c0b21=CodeceptUtils[_0x64f5a6(0x8b)](_0x534fb6);if(_0x1c0b21){const _0x33ac34=fs['readFileSync'](_0x1c0b21);process[_0x64f5a6(0xfa)](_0x64f5a6(0xd0)+process[_0x64f5a6(0xd7)],{'timestamp':new Date()[_0x64f5a6(0xb3)](),'message':_0x33ac34[_0x64f5a6(0x7c)](_0x42ef5e[_0x64f5a6(0x16a)]),'kind':_0x42ef5e[_0x64f5a6(0xd4)]}),_0x42ef5e[_0x64f5a6(0x16f)](_0x222fb8);}_0x42ef5e[_0x64f5a6(0x120)](_0x5e554a,new Error(_0x42ef5e['aEsQv']));})[_0xe22a3a(0x86)](()=>null);});});},patchWebDriverBefore=_0x18951f=>{const _0x27db78=a1_0x402f4f,_0x34e763={'ykuBu':function(_0x56356c){return _0x56356c();},'uwquJ':function(_0x1ddc36,_0x57dcf4){return _0x1ddc36(_0x57dcf4);},'ROatd':function(_0x229ec2,_0x2de200){return _0x229ec2===_0x2de200;},'ESSYt':'webdriverio','vMaNn':_0x27db78(0xae),'Bkkhv':_0x27db78(0xcb),'jqQnw':function(_0x16bd80,_0x518a46){return _0x16bd80(_0x518a46);}},_0x31711a=async function(_0x4b7719,_0x53e605){const _0x5b39b1=_0x27db78;_0x34e763[_0x5b39b1(0x152)](isAccessibilityAutomationSession)&&!global['bstackAllyScanning']&&global[_0x5b39b1(0x81)]&&scripts[_0x5b39b1(0x13f)](_0x4b7719[_0x5b39b1(0x7b)])&&_0x34e763['uwquJ'](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x5b39b1(0x93)]=!![],await PerformanceTester[_0x5b39b1(0x114)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0xce9132=_0x5b39b1;logger[_0xce9132(0xb4)](_0xce9132(0x157)+_0x4b7719[_0xce9132(0x124)]+'\x20'+_0x4b7719[_0xce9132(0x7b)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x18951f,scripts[_0xce9132(0x110)]);},{'command':_0x4b7719['name']})());global[_0x5b39b1(0x93)]=![];const _0x168433=JSON[_0x5b39b1(0x10e)](process['env'][_0x5b39b1(0xf1)]||'{}');if(_0x34e763[_0x5b39b1(0xd6)](_0x168433?.[_0x5b39b1(0x174)]?.[_0x5b39b1(0x7b)],_0x34e763[_0x5b39b1(0xa4)])&&_0x34e763[_0x5b39b1(0xd6)](typeof _0x168433?.[_0x5b39b1(0x174)]?.['version'],_0x34e763['vMaNn'])&&_0x168433?.[_0x5b39b1(0x174)]?.[_0x5b39b1(0x153)]['startsWith']('7'))return _0x53e605[_0x5b39b1(0x10c)](null,Array[_0x5b39b1(0xd5)][_0x5b39b1(0x17b)]['call'](arguments,0x2));return _0x53e605[_0x5b39b1(0x10c)](this,Array['prototype'][_0x5b39b1(0x17b)][_0x5b39b1(0xa1)](arguments,0x2));},_0x32e611=CodeceptWebDriver['prototype'][_0x27db78(0xb0)];CodeceptWebDriver[_0x27db78(0xd5)][_0x27db78(0xb0)]=async function(){const _0x3b1377=_0x27db78;try{await _0x32e611['apply'](this,arguments);}catch(_0xbbd1c4){logger[_0x3b1377(0xb4)](_0x3b1377(0x123)+util[_0x3b1377(0xd9)](_0xbbd1c4));}scripts[_0x3b1377(0x165)][_0x3b1377(0x7e)](_0x2376ce=>_0x2376ce[_0x3b1377(0x7b)]&&_0x2376ce[_0x3b1377(0x124)])[_0x3b1377(0x141)](_0x274e20=>{const _0x5b2dae=_0x3b1377;this[_0x5b2dae(0x105)]['overwriteCommand'](_0x274e20['name'],_0x31711a['bind'](this,_0x274e20),_0x34e763[_0x5b2dae(0xd6)](_0x274e20[_0x5b2dae(0x124)],_0x34e763['Bkkhv']));}),_0x34e763[_0x3b1377(0xd3)](processWebDriverConfig,_0x18951f);};};function parseJwt(_0x1be038){const _0x575181=a1_0x402f4f,_0x283448={};_0x283448[_0x575181(0xbb)]=_0x575181(0x12b);const _0xdc6ba1=_0x283448;if(!_0x1be038)return null;return JSON[_0x575181(0x10e)](Buffer['from'](_0x1be038['split']('.')[0x1],_0xdc6ba1['gnddG'])[_0x575181(0x7c)]());}function a1_0x5da3(){const _0x2f0d76=['debug','IHupF','pivTn','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','setSessionStatus','Playwright','SDK_PRE_TEST','gnddG','startMonitoring','xieWU','gSEZB','bddStepFinish','isMobilePlatform','failed','Iawhy','Screenshot\x20path\x20not\x20found','../../helpers/testhub/constants.js','NmSwy','RYsez','../../helpers/helper','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','SDK_TEST','MjCzI','Element','before','currentTest','yqEIZ','TestCafe','bs:addLog:','arguments','TEST_RUN_STARTED','jqQnw','mwQVD','prototype','ROatd','pid','yCyVF','format','event','__workerDetails','fireEvent','initSaveScreenshot','AJaoU','getResults','reason','pncoJ','UPSDI','is_mobile_session','gCqDJ','find','stack','started','all','KOzNh','--auto-open-devtools-for-tabs','VtgDw','SDK_HOOK','LTzdA','getSyncScript','PLscg','../../bin/playwright/accessibility-helper','FRAMEWORK_DETAILS','codeceptjs','getAccessibilityResultsSummary','NCJBy','stringify','zGvYh','gBgkk','codeceptjs/lib/helper/WebDriver.js','step','emit','fMqHA','yxPQW','warn','test-before','FGgsv','vHofB','captureError','title','../../helpers/performance/performance-tester','GKHZg','browser','meXVr','env','bddStepStart','browserContext','./o11yHelper','dispatcher','apply','PERFORM_SCAN','parse','startsWith','performScan','config','./helper.js','YEuzU','measureWrapper','getAccessibilityResults','codeceptjs/lib/index.js','hksIi','\x0aStack:\x20','bddStep','MOQsK','_setPage','info','HOOK_RUN_FINISHED','bddStep-after','helpers','imylk','test-failed','HKmIk','Failed\x20to\x20execute\x20_before:\x20','class','constructor','after','includes','contexts','kcEaI','command','base64','Puppeteer','zbZyu','Suite','skipSessionName','oMNSP','BS_TESTOPS_ALLOW_SCREENSHOTS','NRHqJ','addRequestSpy','bBvfM','SDK_POST_TEST','patchSaveScreenshot','HFXGh','119HSUakV','__skipSessionStatus','Failed\x20to\x20patch\x20pages\x20method\x20in\x20browserContext\x20for\x20a11y\x20domForge:\x20','test-started','gqOhk','enabled','chromium','shouldWrapCommand','executeScript','forEach','OloZM','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','util','156712kezJOE','url','YsYca','push','../../helpers/test-observability/utils','thTestRunUuid','MOcOj','VExvU','__driver','RkqJj','../../helpers/logger','codeceptjs/lib/recorder.js','bddStep-before','ykuBu','version','isArray','FJtUk','skipSessionStatus','Performing\x20scan\x20for\x20','browserstack_executor:\x20','TEST_SCREENSHOT','test-skipped','QLCbT','start','test-passed','vtMZl','test-after','stop','qjJxV','291500AqSkYM','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','SFDos','commandsToWrap','args','page','qBoBh','139155NwCBGC','dRnNB','yTMGO','hook','setSessionName','uldUL','xPLsx','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','GET_RESULTS_SUMMARY','SESSION_STATUS','RKVSV','testFramework','browserStackExecuteDriver','71424AEPzgV','oylKL','xUpQI','../../helpers/globals.js','getGlobal','slice','INFO','jccWq','1897364Pfkdts','name','toString','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','filter','skipped','thJwtToken','accessibilityPlatform','passed','TEST_RUN_SKIPPED','hookType','zBYrV','catch','382970uUpEKS','xZpFj','hook-passed','ctx','screenshotOutputFolder','zvOfS','saveTestResults','dCiBC','container','JVvET','PmLbP','TEST_RUN_FINISHED','bstackAllyScanning','kdsVk','lCDMX','end','domForge','../../helpers/accessibility-automation/helper','restore','winstonLogger','test','eyRiI','captureEvent','SYNC','SDK_PRE_INITIALIZE','status','call','testAnalyticsId','bind','ESSYt','step-comment','pages','../../helpers/request-spy','afterTest','titlePath','action','jDRbk','SDK_POST_INITIALIZE','a11y_core_config','string','457265NWhlVG','_before','add','fbhEV','toISOString'];a1_0x5da3=function(){return _0x2f0d76;};return a1_0x5da3();}const patchPlaywrightBefore=()=>{const _0x3d40b4=a1_0x402f4f,_0x316466={'FGgsv':_0x3d40b4(0xea),'WLnjM':function(_0x23e5c6){return _0x23e5c6();},'YEuzU':function(_0x6ee64a,_0x11149a){return _0x6ee64a(_0x11149a);},'IHupF':function(_0x297e8e){return _0x297e8e();},'gBgkk':'devtools://','fxaNW':function(_0x3922a2,_0x158303){return _0x3922a2+_0x158303;},'oMNSP':_0x3d40b4(0x118),'OloZM':function(_0x30b920){return _0x30b920();}};PlaywrightSessionDetails['patch']();const _0x3bd50b=CodeceptPlaywright[_0x3d40b4(0xd5)][_0x3d40b4(0xb0)];CodeceptPlaywright[_0x3d40b4(0xd5)][_0x3d40b4(0xb0)]=async function(){const _0x3d2ea6=_0x3d40b4,_0x428bea={'pncoJ':function(_0x58a866){const _0x4dd6ac=a1_0x1437;return _0x316466[_0x4dd6ac(0xb5)](_0x58a866);},'NCJBy':_0x316466[_0x3d2ea6(0xf7)]};this[_0x3d2ea6(0x109)]=await this[_0x3d2ea6(0x105)][_0x3d2ea6(0x128)]()[0x0];const _0x146247=async()=>{const _0x18de45=_0x3d2ea6,_0x45345c=this[_0x18de45(0x111)]&&this['config'][_0x18de45(0x13e)]&&this[_0x18de45(0x111)][_0x18de45(0x13e)][_0x18de45(0x166)]&&Array[_0x18de45(0x154)](this['config'][_0x18de45(0x13e)][_0x18de45(0x166)])&&this[_0x18de45(0x111)]['chromium'][_0x18de45(0x166)][_0x18de45(0x127)](_0x316466[_0x18de45(0xff)]);if(_0x316466['WLnjM'](isAccessibilityAutomationSession)&&!_0x45345c)try{const _0x2a7f64=_0x316466[_0x18de45(0x113)](parseJwt,process[_0x18de45(0x107)]['BS_A11Y_JWT']);if(_0x2a7f64&&_0x2a7f64['a11y_core_config']&&_0x2a7f64[_0x18de45(0xad)][_0x18de45(0x97)]){const _0x2ed534=this['browserContext']['pages'][_0x18de45(0xa3)](this[_0x18de45(0x109)]);this[_0x18de45(0x109)][_0x18de45(0xa6)]=async function(){const _0x59c7a4=_0x18de45,_0x138dfe=await _0x428bea[_0x59c7a4(0xe1)](_0x2ed534),_0x507aa8=[];for(const _0x241a2c of _0x138dfe){try{const _0x337366=await _0x241a2c[_0x59c7a4(0x146)]();!_0x337366[_0x59c7a4(0x10f)](_0x428bea[_0x59c7a4(0xf4)])&&_0x507aa8[_0x59c7a4(0x148)](_0x241a2c);}catch(_0x4deb2a){_0x507aa8[_0x59c7a4(0x148)](_0x241a2c);}}return _0x507aa8;};}if(!_0x316466[_0x18de45(0xb5)](isBrowserstackInfra)){const _0x15fee5=await this[_0x18de45(0x167)][_0x18de45(0x146)]();if(_0x15fee5[_0x18de45(0x10f)](_0x316466[_0x18de45(0xf7)])){const _0x584af9=await this[_0x18de45(0x109)]['pages']();this[_0x18de45(0x11b)](_0x584af9[0x0]);}}}catch(_0x5d2991){logger[_0x18de45(0xb4)](_0x18de45(0x13a)+_0x5d2991['message']+(_0x5d2991['stack']?_0x316466['fxaNW'](_0x316466[_0x18de45(0x130)],_0x5d2991[_0x18de45(0xe6)]):''));}};_0x316466[_0x3d2ea6(0xb5)](isBrowserstackInfra)&&await _0x316466[_0x3d2ea6(0x142)](_0x146247),await _0x3bd50b['apply'](this,arguments),!_0x316466[_0x3d2ea6(0x142)](isBrowserstackInfra)&&await _0x316466[_0x3d2ea6(0x142)](_0x146247);};},getCodeceptDriver=()=>{const _0x4c9b39=a1_0x402f4f,_0x46c8e6={};_0x46c8e6[_0x4c9b39(0x132)]='WebDriver',_0x46c8e6[_0x4c9b39(0x8e)]=_0x4c9b39(0xb9),_0x46c8e6[_0x4c9b39(0x8c)]=_0x4c9b39(0x12c),_0x46c8e6[_0x4c9b39(0x94)]=_0x4c9b39(0xcf);const _0x2111fa=_0x46c8e6,_0x37204c=[_0x2111fa[_0x4c9b39(0x132)],_0x2111fa[_0x4c9b39(0x8e)],_0x2111fa['zvOfS'],_0x2111fa[_0x4c9b39(0x94)]],_0x1a27eb=_0x37204c[_0x4c9b39(0xe5)](_0x3fba7d=>!!CodeceptJS[_0x4c9b39(0x8f)][_0x4c9b39(0x11f)](_0x3fba7d));if(!_0x1a27eb)return null;return CodeceptJS['container'][_0x4c9b39(0x11f)](_0x1a27eb);};function a1_0x1437(_0x49d03e,_0x1dd0a3){const _0x5da359=a1_0x5da3();return a1_0x1437=function(_0x1437fe,_0x695275){_0x1437fe=_0x1437fe-0x78;let _0x358f3d=_0x5da359[_0x1437fe];return _0x358f3d;},a1_0x1437(_0x49d03e,_0x1dd0a3);}module['exports']=function(_0x457250){const _0x5b3832=a1_0x402f4f,_0x3af5ba={'hksIi':function(_0x90d394){return _0x90d394();},'HFXGh':function(_0xf8e779,_0xc89127){return _0xf8e779(_0xc89127);},'pivTn':_0x5b3832(0xf3),'HKmIk':_0x5b3832(0x163),'FVlSv':_0x5b3832(0x115),'JmDYP':_0x5b3832(0xb7),'uldUL':function(_0x4d28ac,_0x368d26){return _0x4d28ac(_0x368d26);},'RkqJj':'hook-started','xUpQI':_0x5b3832(0x89),'VExvU':'hook-failed','RYsez':'browserstackTestName','KOzNh':function(_0x487fb2){return _0x487fb2();},'QLCbT':_0x5b3832(0xfe),'giAIQ':function(_0x3f686d,_0x5f19db){return _0x3f686d(_0x5f19db);},'gCqDJ':function(_0x14b801,_0x5b6096,_0x365278){return _0x14b801(_0x5b6096,_0x365278);},'YsYca':function(_0x4bb672,_0xf92f23){return _0x4bb672(_0xf92f23);},'JVvET':_0x5b3832(0x13b),'vxAyL':_0x5b3832(0x15d),'zGvYh':function(_0x25efbf){return _0x25efbf();},'PmLbP':function(_0x4718f4,_0x2fcecb,_0x27672b,_0x165500){return _0x4718f4(_0x2fcecb,_0x27672b,_0x165500);},'meXVr':function(_0x345044,_0xd81f66){return _0x345044===_0xd81f66;},'SFDos':_0x5b3832(0x12e),'NmSwy':_0x5b3832(0x121),'fMqHA':_0x5b3832(0x15a),'GKHZg':_0x5b3832(0xa8),'bjXYg':_0x5b3832(0xc0),'AJaoU':function(_0x5d2be7,_0x4f57b9,_0x1e1a42){return _0x5d2be7(_0x4f57b9,_0x1e1a42);},'qjJxV':_0x5b3832(0x7d),'zBYrV':_0x5b3832(0x15f),'jDRbk':_0x5b3832(0x78),'oylKL':'TEST_LOG','MOcOj':_0x5b3832(0xa5),'vHofB':_0x5b3832(0x151),'llklF':_0x5b3832(0x11e),'xZpFj':_0x5b3832(0xb9)};_0x457250['skipSessionStatus']&&(global[_0x5b3832(0x139)]=_0x457250[_0x5b3832(0x156)]);PerformanceTester[_0x5b3832(0xbc)]();const _0x59ea94=_0x3af5ba[_0x5b3832(0xf6)](getCodeceptDriver),_0x2899f2=new O11yHelper(_0x59ea94,_0x457250),_0x124f72=!!CodeceptJS[_0x5b3832(0x8f)][_0x5b3832(0x11f)](_0x3af5ba[_0x5b3832(0x88)]);global[_0x5b3832(0x14d)]=_0x59ea94,_0x59ea94&&(PerformanceTester[_0x5b3832(0x114)](PerformanceEvents[_0x5b3832(0x9f)],()=>{const _0x26604a=_0x5b3832;_0x124f72?_0x3af5ba[_0x26604a(0x117)](patchPlaywrightBefore):_0x3af5ba[_0x26604a(0x137)](patchWebDriverBefore,_0x59ea94);})(),PerformanceTester['measureWrapper'](PerformanceEvents[_0x5b3832(0xac)],()=>{const _0x7d2902=_0x5b3832,_0x31cc85={};_0x31cc85[_0x7d2902(0x12d)]=_0x3af5ba[_0x7d2902(0xb6)],_0x31cc85[_0x7d2902(0xfc)]=_0x3af5ba[_0x7d2902(0x122)],_0x31cc85[_0x7d2902(0x155)]=_0x3af5ba['FVlSv'],_0x31cc85[_0x7d2902(0x11a)]=_0x3af5ba['JmDYP'];const _0x1d7236=_0x31cc85;_0x59ea94[_0x7d2902(0xf3)]=async()=>{const _0x518079=_0x7d2902;if(global['accessibilityPlatform']){const _0x13b590={};return _0x13b590[_0x518079(0x12a)]=_0x1d7236[_0x518079(0x12d)],await PerformanceTester[_0x518079(0x114)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x340704=_0x518079;return await AccessibilityHelper[_0x340704(0x175)](_0x59ea94,scripts['performScan']);},_0x13b590)(),await PerformanceTester[_0x518079(0x114)](PerformanceA11yEvents[_0x518079(0x171)],async()=>{const _0x2f5bc4=_0x518079;return await AccessibilityHelper[_0x2f5bc4(0x175)](_0x59ea94,scripts['getResultsSummary']);})();}return logger['warn'](_0x1d7236[_0x518079(0xfc)]),{};},_0x59ea94[_0x7d2902(0x115)]=async()=>{const _0x2eba0a=_0x7d2902;if(global[_0x2eba0a(0x81)]){const _0x4779a9={};return _0x4779a9['command']=_0x1d7236[_0x2eba0a(0x155)],await PerformanceTester[_0x2eba0a(0x114)](PerformanceA11yEvents[_0x2eba0a(0x10d)],async()=>{const _0x5482e2=_0x2eba0a;return await AccessibilityHelper[_0x5482e2(0x175)](_0x59ea94,scripts['performScan']);},_0x4779a9)(),await PerformanceTester[_0x2eba0a(0x114)](PerformanceA11yEvents['GET_RESULTS'],async()=>{const _0x4bb895=_0x2eba0a;return await AccessibilityHelper[_0x4bb895(0x175)](_0x59ea94,scripts[_0x4bb895(0xdf)]);})();}return logger[_0x2eba0a(0xfd)](_0x1d7236[_0x2eba0a(0x11a)]),{};},_0x3af5ba[_0x7d2902(0x16e)](patchSaveScreenshot,_0x59ea94);})()),CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x10b)]['on'](CodeceptJS[_0x5b3832(0xda)]['all'][_0x5b3832(0xcc)],()=>{const _0x1d9721=_0x5b3832;PerformanceTester[_0x1d9721(0x15c)](PerformanceEvents[_0x1d9721(0xba)]);try{_0x2899f2[_0x1d9721(0x15c)](),testOpsHelper[_0x1d9721(0x133)](),PerformanceTester[_0x1d9721(0x96)](PerformanceEvents[_0x1d9721(0xba)]);}catch(_0x50641d){PerformanceTester['captureError'](_0x50641d),PerformanceTester[_0x1d9721(0x96)](PerformanceEvents[_0x1d9721(0xba)],![],_0x50641d);}}),CodeceptJS['event'][_0x5b3832(0x10b)]['on'](CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0xe8)][_0x5b3832(0x126)],async()=>{const _0x3e511a=_0x5b3832;PerformanceTester[_0x3e511a(0x15c)](PerformanceEvents[_0x3e511a(0x135)]);try{requestSpy[_0x3e511a(0x99)](),await _0x2899f2[_0x3e511a(0x160)](),PerformanceTester[_0x3e511a(0x96)](PerformanceEvents[_0x3e511a(0x135)]);}catch(_0x4857b3){PerformanceTester[_0x3e511a(0x101)](_0x4857b3),PerformanceTester[_0x3e511a(0x96)](PerformanceEvents['SDK_POST_TEST'],![],_0x4857b3);}finally{PerformanceTester['stopMonitoring']();}}),CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x10b)]['on'](CodeceptJS['event'][_0x5b3832(0x16c)][_0x5b3832(0xe7)],_0x2b1cb7=>{const _0xbf210a=_0x5b3832;PerformanceTester[_0xbf210a(0x15c)](PerformanceEvents[_0xbf210a(0xec)]);try{const _0x43bda2=_0x2b1cb7[_0xbf210a(0x8a)][_0xbf210a(0x9b)],_0x3e8bc7=_0x2899f2[_0xbf210a(0x9d)](TEST_EVENTS['HOOK_RUN_STARTED'],_0x43bda2);CodeceptRecorder[_0xbf210a(0xb1)](()=>_0x2899f2[_0xbf210a(0xdc)](TEST_EVENTS['HOOK_RUN_STARTED'],_0x3e8bc7));const _0x1397b5={};_0x1397b5[_0xbf210a(0x84)]=_0x3af5ba[_0xbf210a(0x14e)],PerformanceTester[_0xbf210a(0x96)](PerformanceEvents['SDK_HOOK'],!![],null,_0x1397b5);}catch(_0x3f1c7c){const _0x3232e9={};_0x3232e9[_0xbf210a(0x84)]=_0x3af5ba['RkqJj'],PerformanceTester[_0xbf210a(0x96)](PerformanceEvents[_0xbf210a(0xec)],![],_0x3f1c7c,_0x3232e9),PerformanceTester[_0xbf210a(0x101)](_0x3f1c7c);}}),CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x10b)]['on'](CodeceptJS[_0x5b3832(0xda)]['hook'][_0x5b3832(0x82)],_0x279030=>{const _0x23544a=_0x5b3832,_0x5bc6e9={};_0x5bc6e9[_0x23544a(0x84)]=_0x3af5ba[_0x23544a(0x178)],PerformanceTester[_0x23544a(0x15c)](PerformanceHookEvents[_0x23544a(0xec)],!![],null,_0x5bc6e9);try{const _0x171d0d=_0x279030['ctx'][_0x23544a(0x9b)],_0x39bc14=_0x2899f2['captureEvent'](TEST_EVENTS[_0x23544a(0x11d)],_0x171d0d);CodeceptRecorder[_0x23544a(0xb1)](()=>_0x2899f2['fireEvent'](TEST_EVENTS[_0x23544a(0x11d)],_0x39bc14));const _0x566a7e={};_0x566a7e[_0x23544a(0x84)]=_0x3af5ba['xUpQI'],PerformanceTester[_0x23544a(0x96)](PerformanceHookEvents[_0x23544a(0xec)],!![],null,_0x566a7e);}catch(_0xf77e90){PerformanceTester[_0x23544a(0x101)](_0xf77e90);const _0x3e78bd={};_0x3e78bd[_0x23544a(0x84)]=_0x3af5ba[_0x23544a(0x178)],PerformanceTester['end'](PerformanceHookEvents[_0x23544a(0xec)],![],_0xf77e90,_0x3e78bd);}}),CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x10b)]['on'](CodeceptJS[_0x5b3832(0xda)]['hook'][_0x5b3832(0xc1)],async(_0xfa20c3,_0x3bd65c)=>{const _0x23bad3=_0x5b3832;PerformanceTester[_0x23bad3(0x15c)](PerformanceHookEvents[_0x23bad3(0xec)]);try{const _0x497076=_0xfa20c3[_0x23bad3(0x8a)][_0x23bad3(0x9b)],_0x5b5a3b=_0x2899f2[_0x23bad3(0x9d)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x497076,_0x3bd65c);CodeceptRecorder['add'](()=>_0x2899f2[_0x23bad3(0xdc)](TEST_EVENTS[_0x23bad3(0x11d)],_0x5b5a3b));const _0x4a6f33={};_0x4a6f33[_0x23bad3(0x84)]=_0x3af5ba['VExvU'],PerformanceTester[_0x23bad3(0x15c)](PerformanceHookEvents[_0x23bad3(0xec)],!![],null,_0x4a6f33);}catch(_0x5d7006){PerformanceTester[_0x23bad3(0x101)](_0x5d7006);const _0x5390dc={};_0x5390dc[_0x23bad3(0x84)]=_0x3af5ba['VExvU'],PerformanceTester[_0x23bad3(0x96)](PerformanceHookEvents[_0x23bad3(0xec)],![],_0x5d7006,_0x5390dc);}const _0x5d3b80={};_0x5d3b80['hookType']=_0x3af5ba[_0x23bad3(0x14c)],PerformanceTester[_0x23bad3(0x96)](PerformanceHookEvents[_0x23bad3(0xec)],!![],null,_0x5d3b80);}),CodeceptJS['event'][_0x5b3832(0x10b)]['on'](CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x9b)]['before'],_0x335480=>{const _0x269f0c=_0x5b3832;PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{globals['setGlobal'](_0x3af5ba[_0x269f0c(0xc6)],_0x335480['title']);_0x3af5ba[_0x269f0c(0xe9)](isBrowserstackInfra)&&(_0x124f72&&(global[_0x269f0c(0xdb)]={'currentTest':{'name':_0x335480[_0x269f0c(0x102)],'testInfo':{'titlePath':_0x335480[_0x269f0c(0xa9)]()}}}));const _0x19f7e1={};_0x19f7e1[_0x269f0c(0x84)]=_0x3af5ba[_0x269f0c(0x15b)],PerformanceTester[_0x269f0c(0x96)](PerformanceHookEvents[_0x269f0c(0xec)],!![],null,_0x19f7e1);}catch(_0x540cdf){PerformanceTester[_0x269f0c(0x101)](_0x540cdf);const _0x57f884={};_0x57f884['hookType']=_0x3af5ba[_0x269f0c(0x15b)],PerformanceTester[_0x269f0c(0x96)](PerformanceHookEvents['SDK_HOOK'],![],_0x540cdf,_0x57f884);}}),CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x10b)]['on'](CodeceptJS['event'][_0x5b3832(0x9b)][_0x5b3832(0xe7)],_0x4a4eb9=>{const _0x5bb864=_0x5b3832,_0x3162bf={'yCyVF':function(_0x47a808){const _0x453213=a1_0x1437;return _0x3af5ba[_0x453213(0xe9)](_0x47a808);},'UPSDI':function(_0x2db608,_0x4e364d){return _0x3af5ba['giAIQ'](_0x2db608,_0x4e364d);},'LTzdA':function(_0x20d6b3,_0x3b66e4,_0x27d936){const _0x58fb66=a1_0x1437;return _0x3af5ba[_0x58fb66(0xe4)](_0x20d6b3,_0x3b66e4,_0x27d936);},'eyRiI':function(_0x1a6593,_0x53a876){const _0x563c9d=a1_0x1437;return _0x3af5ba[_0x563c9d(0x147)](_0x1a6593,_0x53a876);}};PerformanceTester[_0x5bb864(0x15c)](PerformanceHookEvents[_0x5bb864(0xec)]);try{globals['setGlobal'](_0x3af5ba[_0x5bb864(0xc6)],_0x4a4eb9[_0x5bb864(0x102)]);const _0x3c0bdf=_0x2899f2['captureEvent'](TEST_EVENTS[_0x5bb864(0xd2)],_0x4a4eb9);CodeceptRecorder['add'](()=>_0x2899f2[_0x5bb864(0xdc)](TEST_EVENTS[_0x5bb864(0xd2)],_0x3c0bdf)),CodeceptRecorder[_0x5bb864(0xb1)](async()=>{const _0x3ec885=_0x5bb864;_0x3162bf[_0x3ec885(0xd8)](isBrowserstackInfra)&&(!_0x3162bf[_0x3ec885(0xe2)](isTrue,_0x457250[_0x3ec885(0x12f)])&&await _0x3162bf[_0x3ec885(0xed)](markSessionName,_0x59ea94,_0x4a4eb9[_0x3ec885(0x102)]),_0x2899f2[_0x3ec885(0x13d)]&&await _0x3162bf[_0x3ec885(0x9c)](o11ySync,_0x59ea94));});}catch(_0x45aa2e){const _0x3ed899={};_0x3ed899[_0x5bb864(0x84)]=_0x3af5ba['JVvET'],PerformanceTester['end'](PerformanceHookEvents[_0x5bb864(0xec)],![],_0x45aa2e,_0x3ed899),PerformanceTester['captureError'](_0x45aa2e);}const _0x215fc0={};_0x215fc0[_0x5bb864(0x84)]=_0x3af5ba[_0x5bb864(0x90)],PerformanceTester[_0x5bb864(0x96)](PerformanceHookEvents[_0x5bb864(0xec)],!![],null,_0x215fc0);}),CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x10b)]['on'](CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x9b)]['passed'],_0x58c31e=>{const _0x3608d4=_0x5b3832;PerformanceTester['start'](PerformanceHookEvents[_0x3608d4(0xec)]);try{const _0x1805c7=_0x2899f2[_0x3608d4(0x9d)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x58c31e);CodeceptRecorder[_0x3608d4(0xb1)](()=>_0x2899f2[_0x3608d4(0xdc)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x1805c7)),CodeceptRecorder[_0x3608d4(0xb1)](async()=>{const _0x110694=_0x3608d4,_0xd9db03={'VtgDw':function(_0x1d9b0d,_0x39c689,_0x10632f){const _0x2e61c9=a1_0x1437;return _0x3af5ba[_0x2e61c9(0xe4)](_0x1d9b0d,_0x39c689,_0x10632f);}};_0x3af5ba[_0x110694(0xe9)](isBrowserstackInfra)&&await PerformanceTester[_0x110694(0x114)](PerformanceAutEvents[_0x110694(0x172)],async()=>{const _0xc24180=_0x110694;_0x124f72?await _0xd9db03['VtgDw'](playwrightMarkSessionStatus,_0x59ea94,STATE_PASSED):await _0xd9db03[_0xc24180(0xeb)](markSessionStatus,_0x59ea94,STATE_PASSED);})();}),PerformanceTester[_0x3608d4(0x96)](PerformanceEvents['SDK_TEST']);}catch(_0x463149){PerformanceTester[_0x3608d4(0x101)](_0x463149);const _0x413ed6={};_0x413ed6['hookType']=_0x3af5ba['vxAyL'],PerformanceTester['end'](PerformanceHookEvents[_0x3608d4(0xec)],![],_0x463149,_0x413ed6),PerformanceTester[_0x3608d4(0x96)](PerformanceEvents[_0x3608d4(0xc9)],![],_0x463149);}const _0x1eebc6={};_0x1eebc6[_0x3608d4(0x84)]=_0x3af5ba['vxAyL'],PerformanceTester[_0x3608d4(0x96)](PerformanceHookEvents[_0x3608d4(0xec)],!![],null,_0x1eebc6);}),CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x10b)]['on'](CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x9b)]['failed'],(_0x2e3f8b,_0x5e59d9)=>{const _0x8e70fe=_0x5b3832,_0x34c9b8={'Iawhy':function(_0x5222e7){return _0x3af5ba['zGvYh'](_0x5222e7);},'gqOhk':function(_0x4beeb7,_0x266d26,_0x29ed66,_0x222df9){const _0x3c6003=a1_0x1437;return _0x3af5ba[_0x3c6003(0x91)](_0x4beeb7,_0x266d26,_0x29ed66,_0x222df9);},'RKVSV':function(_0x435600,_0x16fcb1,_0x1c6508,_0x4974b9){return _0x3af5ba['PmLbP'](_0x435600,_0x16fcb1,_0x1c6508,_0x4974b9);}};PerformanceTester[_0x8e70fe(0x15c)](PerformanceHookEvents['SDK_HOOK']);try{if(_0x3af5ba[_0x8e70fe(0x106)](_0x2e3f8b[_0x8e70fe(0x125)][_0x8e70fe(0x7b)],_0x3af5ba[_0x8e70fe(0x164)])){const _0x19f184=_0x2899f2['captureEvent'](TEST_EVENTS[_0x8e70fe(0x83)],_0x2e3f8b[_0x8e70fe(0x8a)][_0x8e70fe(0xcd)]);CodeceptRecorder[_0x8e70fe(0xb1)](()=>_0x2899f2[_0x8e70fe(0xdc)](TEST_EVENTS[_0x8e70fe(0x83)],_0x19f184));}else{const _0x248134=_0x2899f2[_0x8e70fe(0x9d)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x2e3f8b,_0x5e59d9);CodeceptRecorder[_0x8e70fe(0xb1)](()=>{const _0x503ab8=_0x8e70fe;try{_0x2899f2['fireEvent'](TEST_EVENTS[_0x503ab8(0x92)],_0x248134);}catch(_0x13c495){logger['debug'](_0x503ab8(0x143)+util[_0x503ab8(0xd9)](_0x13c495)),PerformanceTester[_0x503ab8(0x96)](PerformanceEvents[_0x503ab8(0xc9)],![],_0x13c495);}}),CodeceptRecorder['add'](async()=>{const _0x428aa9=_0x8e70fe;try{_0x34c9b8[_0x428aa9(0xc2)](isBrowserstackInfra)&&(_0x124f72?await _0x34c9b8[_0x428aa9(0x13c)](playwrightMarkSessionStatus,_0x59ea94,STATE_FAILED,_0x5e59d9):await _0x34c9b8[_0x428aa9(0x173)](markSessionStatus,_0x59ea94,STATE_FAILED,_0x5e59d9));}catch(_0x5854b8){logger[_0x428aa9(0xb4)](_0x428aa9(0x170)+util[_0x428aa9(0xd9)](_0x5854b8)),PerformanceTester[_0x428aa9(0x96)](PerformanceEvents[_0x428aa9(0xc9)],![],_0x5854b8);}});}PerformanceTester[_0x8e70fe(0x96)](PerformanceEvents['SDK_TEST']);}catch(_0x4f0fde){PerformanceTester[_0x8e70fe(0x101)](_0x4f0fde);const _0x1ff780={};_0x1ff780[_0x8e70fe(0x84)]=_0x3af5ba[_0x8e70fe(0xc5)],PerformanceTester[_0x8e70fe(0x96)](PerformanceHookEvents[_0x8e70fe(0xec)],![],_0x4f0fde,_0x1ff780),PerformanceTester[_0x8e70fe(0x96)](PerformanceEvents[_0x8e70fe(0xc9)],![],_0x4f0fde);}const _0x2eddd3={};_0x2eddd3[_0x8e70fe(0x84)]=_0x3af5ba[_0x8e70fe(0xc5)],PerformanceTester[_0x8e70fe(0x96)](PerformanceHookEvents[_0x8e70fe(0xec)],!![],null,_0x2eddd3);}),CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x10b)]['on'](CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x9b)][_0x5b3832(0x7f)],_0x4a0a32=>{const _0x4a2b5d=_0x5b3832;PerformanceTester['start'](PerformanceHookEvents[_0x4a2b5d(0xec)]);try{const _0x11902e=_0x2899f2[_0x4a2b5d(0x9d)](TEST_EVENTS[_0x4a2b5d(0x83)],_0x4a0a32);CodeceptRecorder['add'](()=>_0x2899f2[_0x4a2b5d(0xdc)](TEST_EVENTS[_0x4a2b5d(0x83)],_0x11902e)),PerformanceTester['end'](PerformanceEvents[_0x4a2b5d(0xc9)]);}catch(_0x10a2b9){PerformanceTester[_0x4a2b5d(0x101)](_0x10a2b9),PerformanceTester[_0x4a2b5d(0x96)](PerformanceEvents[_0x4a2b5d(0xc9)],![],_0x10a2b9);const _0x45ec55={};_0x45ec55[_0x4a2b5d(0x84)]=_0x3af5ba[_0x4a2b5d(0xfb)],PerformanceTester[_0x4a2b5d(0x96)](PerformanceHookEvents[_0x4a2b5d(0xec)],![],_0x10a2b9,_0x45ec55);}const _0x38d1d2={};_0x38d1d2[_0x4a2b5d(0x84)]=_0x3af5ba[_0x4a2b5d(0xfb)],PerformanceTester[_0x4a2b5d(0x96)](PerformanceHookEvents[_0x4a2b5d(0xec)],!![],null,_0x38d1d2);}),CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x10b)]['on'](CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x9b)][_0x5b3832(0x126)],async(_0x5d2001,_0x3a7095)=>{const _0x215ed5=_0x5b3832;try{PerformanceTester[_0x215ed5(0x15c)](PerformanceHookEvents[_0x215ed5(0xec)]);const _0x3fcd5c=_0x3af5ba[_0x215ed5(0xde)](shouldScanTestForAccessibility,_0x5d2001[_0x215ed5(0xa9)](),!![]);if(_0x3af5ba['hksIi'](isAccessibilityAutomationSession)&&global[_0x215ed5(0x81)]&&_0x3fcd5c){const _0x4f39fc={};_0x4f39fc[_0x215ed5(0x14a)]=_0x5d2001[_0x215ed5(0xa2)],_0x4f39fc['thBuildUuid']=process['env'][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_UUID']],_0x4f39fc[_0x215ed5(0x80)]=process[_0x215ed5(0x107)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_JWT']];const _0x4b0d3b=_0x4f39fc;logger['debug'](_0x215ed5(0xc8)+JSON[_0x215ed5(0xf5)](_0x4b0d3b)),CodeceptRecorder[_0x215ed5(0xb1)](async()=>{const _0x4565ff=_0x215ed5,_0x3643cb={};_0x3643cb[_0x4565ff(0x12a)]=_0x3af5ba[_0x4565ff(0x104)],await PerformanceTester[_0x4565ff(0x114)](PerformanceA11yEvents[_0x4565ff(0x10d)],async()=>{const _0x39fec7=_0x4565ff;await AccessibilityHelper[_0x39fec7(0x175)](_0x59ea94,scripts[_0x39fec7(0x110)]);},_0x3643cb)(),globals[_0x4565ff(0x17a)](_0x3af5ba['bjXYg'])&&(_0x4b0d3b[_0x4565ff(0xe3)]=!![]),await PerformanceTester['measureWrapper'](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x8a8407=_0x4565ff;await AccessibilityHelper[_0x8a8407(0x175)](_0x59ea94,scripts[_0x8a8407(0x8d)],_0x4b0d3b);})();}),logger[_0x215ed5(0x11c)](_0x3af5ba[_0x215ed5(0x161)]);}const _0x45b99c={};_0x45b99c['hookType']=_0x3af5ba[_0x215ed5(0x85)],PerformanceTester[_0x215ed5(0x96)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x45b99c);}catch(_0x8cbab1){PerformanceTester[_0x215ed5(0x101)](_0x8cbab1);const _0x5931e6={};_0x5931e6[_0x215ed5(0x84)]=_0x3af5ba['zBYrV'],PerformanceTester[_0x215ed5(0x96)](PerformanceHookEvents['SDK_HOOK'],![],_0x8cbab1,_0x5931e6);}}),CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x10b)]['on'](CodeceptJS['event'][_0x5b3832(0xf9)]['comment'],_0x132b73=>{const _0x3bfff1=_0x5b3832;PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{process[_0x3bfff1(0xfa)](_0x3bfff1(0xd0)+process[_0x3bfff1(0xd7)],{'timestamp':new Date()[_0x3bfff1(0xb3)](),'level':_0x3af5ba[_0x3bfff1(0xab)],'message':_0x132b73,'kind':_0x3af5ba[_0x3bfff1(0x177)],'http_response':{}});}catch(_0xd25fe1){PerformanceTester[_0x3bfff1(0x101)](_0xd25fe1);const _0x466f13={};_0x466f13[_0x3bfff1(0x84)]=_0x3af5ba[_0x3bfff1(0x14b)],PerformanceTester[_0x3bfff1(0x96)](PerformanceHookEvents['SDK_HOOK'],![],_0xd25fe1,_0x466f13);}const _0x219691={};_0x219691[_0x3bfff1(0x84)]=_0x3af5ba[_0x3bfff1(0x14b)],PerformanceTester['end'](PerformanceHookEvents[_0x3bfff1(0xec)],!![],null,_0x219691);}),CodeceptJS['event'][_0x5b3832(0x10b)]['on'](CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x119)][_0x5b3832(0xcc)],_0x184ae0=>{const _0x848f85=_0x5b3832,_0x26c963={};_0x26c963['hookType']=_0x3af5ba[_0x848f85(0x100)],PerformanceTester[_0x848f85(0x114)](PerformanceHookEvents[_0x848f85(0xec)],()=>{const _0x5bd53b=_0x848f85;_0x2899f2[_0x5bd53b(0x108)](_0x184ae0);},_0x26c963)();}),CodeceptJS[_0x5b3832(0xda)]['dispatcher']['on'](CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x119)]['after'],_0x4c9519=>{const _0x2f889b=_0x5b3832,_0x329ec4={};_0x329ec4[_0x2f889b(0x84)]=_0x3af5ba['llklF'],PerformanceTester['measureWrapper'](PerformanceHookEvents['SDK_HOOK'],()=>{const _0x573071=_0x2f889b;_0x2899f2[_0x573071(0xbf)](_0x4c9519);},_0x329ec4)();});};
|
|
1
|
+
function a1_0x5507(){const _0x539319=['add','GET_RESULTS_SUMMARY','saveScreenshot','BS_A11Y_JWT','is_mobile_session','bddStep-after','xjgOc','./helper.js','start','readFileSync','SyayH','../../helpers/performance/constants','LxVmg','rTCrS','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','captureError','action','message','EdyYo','rIINu','../../helpers/globals.js','shouldWrapCommand','info','../../helpers/testhub/constants.js','_before','fvTZD','TestCafe','WAxYQ','22XImzhD','FRAMEWORK_DETAILS','name','4950zTrXgr','nautC','../../helpers/accessibility-automation/scripts','dJNLm','performScan','eUoXP','addRequestSpy','wgPHh','ymoxu','ZUSzd','Suite','passed','debug','setSessionStatus','aAFjo','bddStep-before','SDK_POST_TEST','version','NpINc','comment','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','test','uICxg','a11y_core_config','--auto-open-devtools-for-tabs','webdriverio','__driver','WebDriver','codeceptjs/lib/recorder.js','warn','rKpRm','class','\x0aStack:\x20','reason','getSyncScript','IBwCe','skipSessionName','NzDuL','1175752jSaLHU','FEhLs','Failed\x20to\x20execute\x20_before:\x20','Failed\x20to\x20flush\x20pending\x20hook\x20events\x20after\x20_before:\x20','3568TnoxaW','qyIVr','parse','test-passed','startsWith','bVhFD','MvtEB','url','rEvts','SDK_PRE_TEST','../../bin/playwright/accessibility-helper','NOZsS','BS_TESTOPS_ALLOW_SCREENSHOTS','TEST_SCREENSHOT','PERFORM_SCAN','forEach','restore','browserstackTestName','SDK_TEST','41BmFCmq','measureWrapper','LRclr','SDK_HOOK','RTTOg','HOOK_RUN_FINISHED','step-comment','before','__workerDetails','qEHZx','skipped','skipSessionStatus','title','SNOjI','startMonitoring','XVqcr','setSessionName','afterTest','6LYNlFG','exports','util','flushPendingHookEvents','hook-started','getResults','hookType','SAVE_RESULTS','function','failed','patch','TEST_RUN_STARTED','PPPaS','RBLkr','bs:addLog:','patchSaveScreenshot','browser','format','bddStepStart','ApWFy','abrbW','ilVPo','helpers','AXiHO','GET_RESULTS','test-skipped','TEST_RUN_SKIPPED','bufferPendingHookEvent','step','Puppeteer','pages','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','TEST_LOG','pid','HVqZZ','testFramework','../../helpers/logger','constructor','event','captureEvent','screenshotOutputFolder','34790RUYiTX','hakux','codeceptjs/lib/utils.js','aLdoh','isArray','yGTBE','TEST_RUN_FINISHED','after','find','domForge','wRjpU','jzYoj','filter','ctx','getAccessibilityResultsSummary','codeceptjs','SYiDl','browserstack_executor:\x20','stop','hook-passed','Ohhgw','stopMonitoring','emit','Performing\x20scan\x20for\x20','enabled','OMuOY','BROWSERSTACK_TESTHUB_JWT','env','commandsToWrap','__skipSessionStatus','bddStep','INFO','isMobilePlatform','getResultsSummary','titlePath','config','dispatcher','xxIqp','efrPt','push','tMiHs','YCLQd','stringify','RNKYu','SESSION_NAME','browserContext','call','ZcoSm','dqFKF','732918pOryMl','umhfG','ibPaM','dtGTD','BROWSERSTACK_TESTHUB_UUID','currentTest','SESSION_STATUS','devtools://','arguments','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','toString','Playwright','../../helpers/accessibility-automation/helper','../../helpers/helper','ENV_VAR','codeceptjs/lib/helper/Playwright.js','accessibilityPlatform','HOOK_RUN_STARTED','executeScript','fireEvent','catch','SDK_PRE_INITIALIZE','base64','testAnalyticsId','../../helpers/test-observability/utils','hook','597870LfsAkZ','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','gKjNW','bind','gEMpm','initSaveScreenshot','SYNC','command','split','contexts','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','test-started','JEQVO','DLZzc','chromium','bapMQ','bstackAllyScanning','end','slice','prototype','all','string','vIVNg','SDK_POST_INITIALIZE','test-before','1573MwPtyM','bdrpA','includes','codeceptjs/lib/index.js','dfwer','494345VBAOGt','VdvtO','../../bin/playwright/sessionDetails','zWwag','started','args','setGlobal','Nmtml','IjnAm','Failed\x20to\x20patch\x20pages\x20method\x20in\x20browserContext\x20for\x20a11y\x20domForge:\x20','tqXan','toISOString','apply','./o11yHelper','tpDqb','bddStepFinish','winstonLogger','thTestRunUuid','browserStackExecuteDriver'];a1_0x5507=function(){return _0x539319;};return a1_0x5507();}const a1_0x198ef5=a1_0x144c;(function(_0x2dead0,_0x3d5783){const _0x5c6a7b=a1_0x144c,_0x1ae0a1=_0x2dead0();while(!![]){try{const _0x5827e2=parseInt(_0x5c6a7b(0x157))/0x1*(-parseInt(_0x5c6a7b(0x22a))/0x2)+parseInt(_0x5c6a7b(0x1c3))/0x3+-parseInt(_0x5c6a7b(0x253))/0x4+parseInt(_0x5c6a7b(0x1fb))/0x5*(-parseInt(_0x5c6a7b(0x169))/0x6)+parseInt(_0x5c6a7b(0x1dd))/0x7+parseInt(_0x5c6a7b(0x257))/0x8*(-parseInt(_0x5c6a7b(0x22d))/0x9)+-parseInt(_0x5c6a7b(0x192))/0xa*(-parseInt(_0x5c6a7b(0x1f6))/0xb);if(_0x5827e2===_0x3d5783)break;else _0x1ae0a1['push'](_0x1ae0a1['shift']());}catch(_0x53d5a2){_0x1ae0a1['push'](_0x1ae0a1['shift']());}}}(a1_0x5507,0x2e0ef));const fs=require('fs'),util=require(a1_0x198ef5(0x16b)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x198ef5(0x1d0)),logger=require(a1_0x198ef5(0x18d))[a1_0x198ef5(0x20b)],testOpsHelper=require(a1_0x198ef5(0x1db)),requestSpy=require('../../helpers/request-spy'),PlaywrightSessionDetails=require(a1_0x198ef5(0x1fd)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x198ef5(0x208)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x198ef5(0x1cf)),AccessibilityHelper=require(a1_0x198ef5(0x14e)),scripts=require(a1_0x198ef5(0x22f)),PerformanceTester=require('../../helpers/performance/performance-tester'),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x198ef5(0x219)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x198ef5(0x215)),testHubConstants=require(a1_0x198ef5(0x225)),globals=require(a1_0x198ef5(0x222)),CodeceptJS=requireModule(a1_0x198ef5(0x1f9),a1_0x198ef5(0x1a1)),CodeceptUtils=requireModule(a1_0x198ef5(0x194),a1_0x198ef5(0x1a1)),CodeceptWebDriver=requireModule('codeceptjs/lib/helper/WebDriver.js',a1_0x198ef5(0x1a1)),CodeceptRecorder=requireModule(a1_0x198ef5(0x249),a1_0x198ef5(0x1a1)),CodeceptPlaywright=requireModule(a1_0x198ef5(0x1d2),a1_0x198ef5(0x1a1)),playwrightMarkSessionStatus=(_0x1adaa3,_0x32b908,_0x25ec0d)=>{const _0x13bdf2=a1_0x198ef5,_0x343eef={'xqhTO':_0x13bdf2(0x23a),'CkTjz':function(_0x38f196,_0x250dde){return _0x38f196(_0x250dde);}},_0x4cb9d7={};_0x4cb9d7['status']=_0x32b908;const _0x2c0b30={};_0x2c0b30[_0x13bdf2(0x21e)]=_0x343eef['xqhTO'],_0x2c0b30[_0x13bdf2(0x1cb)]=_0x4cb9d7;const _0x3c0be0=_0x2c0b30;return!_0x343eef['CkTjz'](isUndefined,_0x25ec0d)&&(_0x3c0be0[_0x13bdf2(0x1cb)][_0x13bdf2(0x24e)]=JSON[_0x13bdf2(0x1bc)](_0x25ec0d)),_0x1adaa3[_0x13bdf2(0x1d5)](()=>{},_0x13bdf2(0x1a3)+JSON[_0x13bdf2(0x1bc)](_0x3c0be0));},o11ySync=PerformanceTester['measureWrapper'](PerformanceO11yEvents[a1_0x198ef5(0x1e3)],async _0x372f2d=>{const _0x21c730=a1_0x198ef5,_0xc2a517={};_0xc2a517[_0x21c730(0x149)]=function(_0x3d9545,_0x4cb964){return _0x3d9545===_0x4cb964;},_0xc2a517[_0x21c730(0x1c5)]=_0x21c730(0x1ce);const _0x42cded=_0xc2a517;_0x42cded[_0x21c730(0x149)](_0x372f2d[_0x21c730(0x18e)][_0x21c730(0x22c)],_0x42cded[_0x21c730(0x1c5)])?await _0x372f2d[_0x21c730(0x1d5)](_0x182f78=>{},testOpsHelper['getSyncScript']()):await _0x372f2d[_0x21c730(0x1d5)](testOpsHelper[_0x21c730(0x24f)]());}),markSessionName=PerformanceTester[a1_0x198ef5(0x158)](PerformanceAutEvents[a1_0x198ef5(0x1be)],async(_0x40872a,_0x2b46f3)=>{const _0x46b232=a1_0x198ef5,_0xf671ea={};_0xf671ea['IBwCe']=_0x46b232(0x167),_0xf671ea[_0x46b232(0x197)]=function(_0xa80dae,_0xf1c15c){return _0xa80dae===_0xf1c15c;},_0xf671ea[_0x46b232(0x17e)]=_0x46b232(0x1ce);const _0x32168e=_0xf671ea,_0x36ca47={};_0x36ca47[_0x46b232(0x22c)]=_0x2b46f3;const _0x430135={};_0x430135[_0x46b232(0x21e)]=_0x32168e[_0x46b232(0x250)],_0x430135['arguments']=_0x36ca47;const _0x45ed57=_0x430135;_0x32168e['yGTBE'](_0x40872a[_0x46b232(0x18e)][_0x46b232(0x22c)],_0x32168e[_0x46b232(0x17e)])?await _0x40872a['executeScript'](()=>{},_0x46b232(0x1a3)+JSON[_0x46b232(0x1bc)](_0x45ed57)):await _0x40872a[_0x46b232(0x1d5)](_0x46b232(0x1a3)+JSON['stringify'](_0x45ed57));}),patchSaveScreenshot=_0x680665=>{const _0x3b7e6a=a1_0x198ef5,_0x3ce380={'RTTOg':_0x3b7e6a(0x1d9),'uICxg':_0x3b7e6a(0x151),'bZhjp':function(_0x1885f6){return _0x1885f6();},'rEvts':function(_0x122498,_0x575179){return _0x122498(_0x575179);},'RBLkr':'Screenshot\x20path\x20not\x20found'};_0x3ce380['rEvts'](isTrue,process[_0x3b7e6a(0x1ad)][_0x3b7e6a(0x150)])&&!_0x680665[_0x3b7e6a(0x178)]&&(_0x680665[_0x3b7e6a(0x178)]=!![],_0x680665[_0x3b7e6a(0x1e2)]=_0x680665[_0x3b7e6a(0x210)],_0x680665[_0x3b7e6a(0x210)]=(_0x6e58b8,_0x7c9f26=![])=>{const _0x10da6e=_0x3b7e6a,_0x304e13={'pwwGM':_0x3ce380[_0x10da6e(0x15b)],'efrPt':_0x3ce380[_0x10da6e(0x243)],'dfwer':function(_0x549dba){return _0x3ce380['bZhjp'](_0x549dba);},'ZUSzd':function(_0x1a0dd3,_0x3d5285){const _0x55a9e4=_0x10da6e;return _0x3ce380[_0x55a9e4(0x14c)](_0x1a0dd3,_0x3d5285);},'vIVNg':_0x3ce380[_0x10da6e(0x176)]};return new Promise(function(_0x4c0789,_0x8c6532){const _0xe63835=_0x10da6e;_0x680665[_0xe63835(0x1e2)](_0x6e58b8,_0x7c9f26)['then'](()=>{const _0x32639f=_0xe63835,_0x719266=CodeceptUtils[_0x32639f(0x191)](_0x6e58b8);if(_0x719266){const _0x519362=fs[_0x32639f(0x217)](_0x719266);process[_0x32639f(0x1a8)](_0x32639f(0x177)+process[_0x32639f(0x18a)],{'timestamp':new Date()[_0x32639f(0x206)](),'message':_0x519362[_0x32639f(0x1cd)](_0x304e13['pwwGM']),'kind':_0x304e13[_0x32639f(0x1b8)]}),_0x304e13[_0x32639f(0x1fa)](_0x4c0789);}_0x304e13[_0x32639f(0x236)](_0x8c6532,new Error(_0x304e13[_0x32639f(0x1f3)]));})[_0xe63835(0x1d7)](()=>null);});});},patchWebDriverBefore=(_0x2af1c0,_0x52587f)=>{const _0x111d61=a1_0x198ef5,_0x53afe7={'XVqcr':function(_0xe8eb9d){return _0xe8eb9d();},'EdyYo':function(_0x4cbe3b,_0x23839f){return _0x4cbe3b(_0x23839f);},'xxIqp':function(_0x3c6098,_0xb5103e){return _0x3c6098===_0xb5103e;},'wRjpU':_0x111d61(0x246),'umhfG':function(_0x18f172,_0x5c114c){return _0x18f172===_0x5c114c;},'tpDqb':_0x111d61(0x1f2),'qoMdw':'Element','qfkmj':function(_0x4aab0e,_0x29eea5){return _0x4aab0e(_0x29eea5);},'bdrpA':function(_0x1b9315,_0x4b420a){return _0x1b9315===_0x4b420a;},'tMiHs':_0x111d61(0x171)},_0x2c9df5=async function(_0x1138ca,_0x745f82){const _0x102e16=_0x111d61;_0x53afe7[_0x102e16(0x166)](isAccessibilityAutomationSession)&&!global[_0x102e16(0x1ed)]&&global['accessibilityPlatform']&&scripts[_0x102e16(0x223)](_0x1138ca['name'])&&_0x53afe7[_0x102e16(0x220)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x102e16(0x1ed)]=!![],await PerformanceTester[_0x102e16(0x158)](PerformanceA11yEvents[_0x102e16(0x152)],async()=>{const _0x3e9a50=_0x102e16;logger[_0x3e9a50(0x239)](_0x3e9a50(0x1a9)+_0x1138ca[_0x3e9a50(0x24c)]+'\x20'+_0x1138ca['name']),await AccessibilityHelper[_0x3e9a50(0x20d)](_0x2af1c0,scripts[_0x3e9a50(0x231)]);},{'command':_0x1138ca[_0x102e16(0x22c)]})());global[_0x102e16(0x1ed)]=![];const _0x748957=JSON[_0x102e16(0x146)](process[_0x102e16(0x1ad)][_0x102e16(0x22b)]||'{}');if(_0x53afe7[_0x102e16(0x1b7)](_0x748957?.[_0x102e16(0x18c)]?.['name'],_0x53afe7[_0x102e16(0x19c)])&&_0x53afe7[_0x102e16(0x1c4)](typeof _0x748957?.[_0x102e16(0x18c)]?.['version'],_0x53afe7[_0x102e16(0x209)])&&_0x748957?.['testFramework']?.[_0x102e16(0x23e)]['startsWith']('7'))return _0x745f82[_0x102e16(0x207)](null,Array[_0x102e16(0x1f0)][_0x102e16(0x1ef)]['call'](arguments,0x2));return _0x745f82[_0x102e16(0x207)](this,Array['prototype'][_0x102e16(0x1ef)][_0x102e16(0x1c0)](arguments,0x2));},_0xbf40bf=CodeceptWebDriver[_0x111d61(0x1f0)][_0x111d61(0x226)];CodeceptWebDriver[_0x111d61(0x1f0)][_0x111d61(0x226)]=async function(){const _0x26f8d6=_0x111d61,_0x54cc89={'wQnGB':function(_0x2cd875,_0x4d7084){return _0x53afe7['xxIqp'](_0x2cd875,_0x4d7084);},'hakux':_0x53afe7['qoMdw']};try{await _0xbf40bf['apply'](this,arguments);}catch(_0x36483){logger[_0x26f8d6(0x239)](_0x26f8d6(0x255)+util[_0x26f8d6(0x17a)](_0x36483));}scripts[_0x26f8d6(0x1ae)][_0x26f8d6(0x19e)](_0x1b3aff=>_0x1b3aff[_0x26f8d6(0x22c)]&&_0x1b3aff[_0x26f8d6(0x24c)])[_0x26f8d6(0x153)](_0x387fcc=>{const _0x318fc1=_0x26f8d6;this[_0x318fc1(0x179)]['overwriteCommand'](_0x387fcc[_0x318fc1(0x22c)],_0x2c9df5[_0x318fc1(0x1e0)](this,_0x387fcc),_0x54cc89['wQnGB'](_0x387fcc[_0x318fc1(0x24c)],_0x54cc89[_0x318fc1(0x193)]));}),_0x53afe7['qfkmj'](processWebDriverConfig,_0x2af1c0);try{_0x52587f&&_0x53afe7[_0x26f8d6(0x1f7)](typeof _0x52587f[_0x26f8d6(0x16c)],_0x53afe7[_0x26f8d6(0x1ba)])&&await _0x52587f[_0x26f8d6(0x16c)]();}catch(_0x355d10){logger[_0x26f8d6(0x239)](_0x26f8d6(0x256)+util[_0x26f8d6(0x17a)](_0x355d10));}};};function parseJwt(_0x6fbd52){const _0x21d11a=a1_0x198ef5,_0x3df233={};_0x3df233[_0x21d11a(0x22e)]='base64';const _0x2d2426=_0x3df233;if(!_0x6fbd52)return null;return JSON[_0x21d11a(0x146)](Buffer['from'](_0x6fbd52[_0x21d11a(0x1e5)]('.')[0x1],_0x2d2426[_0x21d11a(0x22e)])['toString']());}function a1_0x144c(_0x155880,_0xe7f002){const _0x5507f4=a1_0x5507();return a1_0x144c=function(_0x144c36,_0xa8d3ce){_0x144c36=_0x144c36-0x146;let _0x5061a3=_0x5507f4[_0x144c36];return _0x5061a3;},a1_0x144c(_0x155880,_0xe7f002);}const patchPlaywrightBefore=_0x963d24=>{const _0x3df9af=a1_0x198ef5,_0x1353f6={'NpINc':_0x3df9af(0x245),'ApWFy':function(_0x15c4c5){return _0x15c4c5();},'OMuOY':function(_0xf95c6f,_0x53bc98){return _0xf95c6f(_0x53bc98);},'NOZsS':function(_0x13ba67){return _0x13ba67();},'jzYoj':_0x3df9af(0x1ca),'SyayH':function(_0x41c351,_0x1ea2bc){return _0x41c351+_0x1ea2bc;},'WlvkU':_0x3df9af(0x24d),'RNKYu':function(_0x4c7ee6){return _0x4c7ee6();},'DLZzc':function(_0x3f49fa){return _0x3f49fa();},'UEYWs':function(_0x4a0f96,_0x2cca25){return _0x4a0f96===_0x2cca25;},'YCLQd':'function'};PlaywrightSessionDetails[_0x3df9af(0x173)]();const _0x141425=CodeceptPlaywright['prototype'][_0x3df9af(0x226)];CodeceptPlaywright['prototype']['_before']=async function(){const _0x3eacbc=_0x3df9af,_0x1dccc7={'IjnAm':function(_0x1ed930){const _0x52034c=a1_0x144c;return _0x1353f6[_0x52034c(0x17c)](_0x1ed930);},'dJNLm':_0x1353f6['jzYoj']};this['browserContext']=await this[_0x3eacbc(0x179)][_0x3eacbc(0x1e6)]()[0x0];const _0x363fc9=async()=>{const _0x5c47ff=_0x3eacbc,_0x39ab4a=this[_0x5c47ff(0x1b5)]&&this['config']['chromium']&&this[_0x5c47ff(0x1b5)]['chromium'][_0x5c47ff(0x200)]&&Array[_0x5c47ff(0x196)](this[_0x5c47ff(0x1b5)][_0x5c47ff(0x1eb)]['args'])&&this[_0x5c47ff(0x1b5)][_0x5c47ff(0x1eb)][_0x5c47ff(0x200)][_0x5c47ff(0x1f8)](_0x1353f6[_0x5c47ff(0x23f)]);if(_0x1353f6[_0x5c47ff(0x17c)](isAccessibilityAutomationSession)&&!_0x39ab4a)try{const _0x538586=_0x1353f6[_0x5c47ff(0x1ab)](parseJwt,process[_0x5c47ff(0x1ad)][_0x5c47ff(0x211)]);if(_0x538586&&_0x538586[_0x5c47ff(0x244)]&&_0x538586[_0x5c47ff(0x244)][_0x5c47ff(0x19b)]){const _0x41d2e6=this['browserContext'][_0x5c47ff(0x187)][_0x5c47ff(0x1e0)](this[_0x5c47ff(0x1bf)]);this['browserContext'][_0x5c47ff(0x187)]=async function(){const _0x176185=_0x5c47ff,_0x480d72=await _0x1dccc7[_0x176185(0x203)](_0x41d2e6),_0x537d47=[];for(const _0x22f67d of _0x480d72){try{const _0x3044ac=await _0x22f67d[_0x176185(0x14b)]();!_0x3044ac[_0x176185(0x148)](_0x1dccc7[_0x176185(0x230)])&&_0x537d47[_0x176185(0x1b9)](_0x22f67d);}catch(_0x2f46df){_0x537d47[_0x176185(0x1b9)](_0x22f67d);}}return _0x537d47;};}if(!_0x1353f6[_0x5c47ff(0x14f)](isBrowserstackInfra)){const _0x3b40fa=await this['page']['url']();if(_0x3b40fa['startsWith'](_0x1353f6[_0x5c47ff(0x19d)])){const _0x1271a2=await this[_0x5c47ff(0x1bf)]['pages']();this['_setPage'](_0x1271a2[0x0]);}}}catch(_0x16aa8f){logger[_0x5c47ff(0x239)](_0x5c47ff(0x204)+_0x16aa8f[_0x5c47ff(0x21f)]+(_0x16aa8f['stack']?_0x1353f6[_0x5c47ff(0x218)](_0x1353f6['WlvkU'],_0x16aa8f['stack']):''));}};_0x1353f6['RNKYu'](isBrowserstackInfra)&&await _0x1353f6[_0x3eacbc(0x1bd)](_0x363fc9);await _0x141425[_0x3eacbc(0x207)](this,arguments);!_0x1353f6[_0x3eacbc(0x1ea)](isBrowserstackInfra)&&await _0x1353f6[_0x3eacbc(0x1bd)](_0x363fc9);try{_0x963d24&&_0x1353f6['UEYWs'](typeof _0x963d24['flushPendingHookEvents'],_0x1353f6[_0x3eacbc(0x1bb)])&&await _0x963d24[_0x3eacbc(0x16c)]();}catch(_0x1c7d05){logger[_0x3eacbc(0x239)]('Failed\x20to\x20flush\x20pending\x20hook\x20events\x20after\x20Playwright\x20_before:\x20'+util[_0x3eacbc(0x17a)](_0x1c7d05));}};},getCodeceptDriver=()=>{const _0x49bbb8=a1_0x198ef5,_0xaefa0a={};_0xaefa0a[_0x49bbb8(0x1e9)]=_0x49bbb8(0x248),_0xaefa0a['LxVmg']=_0x49bbb8(0x1ce),_0xaefa0a[_0x49bbb8(0x1a2)]=_0x49bbb8(0x186),_0xaefa0a[_0x49bbb8(0x1df)]=_0x49bbb8(0x228);const _0x160260=_0xaefa0a,_0x6cba00=[_0x160260[_0x49bbb8(0x1e9)],_0x160260[_0x49bbb8(0x21a)],_0x160260[_0x49bbb8(0x1a2)],_0x160260['gKjNW']],_0x53b5d5=_0x6cba00[_0x49bbb8(0x19a)](_0x1d50f4=>!!CodeceptJS['container']['helpers'](_0x1d50f4));if(!_0x53b5d5)return null;return CodeceptJS['container']['helpers'](_0x53b5d5);};module[a1_0x198ef5(0x16a)]=function(_0x5da16f){const _0x580190=a1_0x198ef5,_0x539624={'dqFKF':function(_0x16407e,_0x2e86e9){return _0x16407e(_0x2e86e9);},'rIINu':function(_0x98303a,_0x5341fc,_0x39f7a2){return _0x98303a(_0x5341fc,_0x39f7a2);},'HVqZZ':_0x580190(0x1a0),'pWMiw':_0x580190(0x21c),'mUHZe':'getAccessibilityResults','VQGPv':_0x580190(0x1cc),'FEhLs':_0x580190(0x16d),'MvtEB':_0x580190(0x1a5),'qyIVr':'hook-failed','LRclr':_0x580190(0x155),'aLdoh':function(_0x3de105){return _0x3de105();},'MvsMj':_0x580190(0x1f5),'SNOjI':function(_0x1debbe){return _0x1debbe();},'fvTZD':function(_0x90a89c,_0x217706){return _0x90a89c(_0x217706);},'ZcoSm':_0x580190(0x1e8),'bapMQ':function(_0x42b94d,_0x4c39e6,_0xa7c055){return _0x42b94d(_0x4c39e6,_0xa7c055);},'AXiHO':function(_0x19b405){return _0x19b405();},'aAFjo':_0x580190(0x147),'rKpRm':function(_0x1bf232){return _0x1bf232();},'qEHZx':function(_0x3ad9b4,_0x3c903f,_0x49085b,_0x54655a){return _0x3ad9b4(_0x3c903f,_0x49085b,_0x54655a);},'dtGTD':function(_0x3f501e,_0x95d243,_0xe1ed9,_0x58ce40){return _0x3f501e(_0x95d243,_0xe1ed9,_0x58ce40);},'Ohhgw':function(_0x2b5eb8,_0x195762){return _0x2b5eb8===_0x195762;},'Ojeqr':_0x580190(0x237),'wgPHh':'test-failed','WAxYQ':_0x580190(0x182),'abrbW':_0x580190(0x168),'dEaEc':_0x580190(0x1b2),'rTCrS':function(_0x383e4d,_0x4c156a,_0x13c684){return _0x383e4d(_0x4c156a,_0x13c684);},'ybhJG':function(_0x19130d){return _0x19130d();},'VdvtO':_0x580190(0x1de),'eUoXP':'test-after','gEMpm':_0x580190(0x1b1),'ffCPF':_0x580190(0x189),'PPPaS':_0x580190(0x15d),'Nmtml':_0x580190(0x23c),'tqXan':_0x580190(0x213),'NzDuL':function(_0x268a17){return _0x268a17();},'ymoxu':'Playwright'};_0x5da16f[_0x580190(0x162)]&&(global[_0x580190(0x1af)]=_0x5da16f[_0x580190(0x162)]);PerformanceTester[_0x580190(0x165)]();const _0x2d19e8=_0x539624[_0x580190(0x252)](getCodeceptDriver),_0x405632=new O11yHelper(_0x2d19e8,_0x5da16f),_0x4412df=!!CodeceptJS['container'][_0x580190(0x17f)](_0x539624[_0x580190(0x235)]);global[_0x580190(0x247)]=_0x2d19e8;_0x2d19e8&&(PerformanceTester[_0x580190(0x158)](PerformanceEvents[_0x580190(0x1d8)],()=>{const _0x5c4bac=_0x580190;_0x4412df?_0x539624[_0x5c4bac(0x1c2)](patchPlaywrightBefore,_0x405632):_0x539624[_0x5c4bac(0x221)](patchWebDriverBefore,_0x2d19e8,_0x405632);})(),PerformanceTester[_0x580190(0x158)](PerformanceEvents[_0x580190(0x1f4)],()=>{const _0x27ae36=_0x580190;_0x2d19e8[_0x27ae36(0x1a0)]=async()=>{const _0x23f210=_0x27ae36;if(global['accessibilityPlatform']){const _0x45f1dd={};return _0x45f1dd[_0x23f210(0x1e4)]=_0x539624[_0x23f210(0x18b)],await PerformanceTester[_0x23f210(0x158)](PerformanceA11yEvents[_0x23f210(0x152)],async()=>{const _0x3a85e5=_0x23f210;return await AccessibilityHelper[_0x3a85e5(0x20d)](_0x2d19e8,scripts[_0x3a85e5(0x231)]);},_0x45f1dd)(),await PerformanceTester[_0x23f210(0x158)](PerformanceA11yEvents[_0x23f210(0x20f)],async()=>{const _0x5a2eda=_0x23f210;return await AccessibilityHelper[_0x5a2eda(0x20d)](_0x2d19e8,scripts[_0x5a2eda(0x1b3)]);})();}return logger[_0x23f210(0x24a)](_0x539624['pWMiw']),{};},_0x2d19e8['getAccessibilityResults']=async()=>{const _0x2291db=_0x27ae36;if(global[_0x2291db(0x1d3)]){const _0x3d4c41={};return _0x3d4c41[_0x2291db(0x1e4)]=_0x539624['mUHZe'],await PerformanceTester[_0x2291db(0x158)](PerformanceA11yEvents[_0x2291db(0x152)],async()=>{const _0x3f39eb=_0x2291db;return await AccessibilityHelper[_0x3f39eb(0x20d)](_0x2d19e8,scripts['performScan']);},_0x3d4c41)(),await PerformanceTester[_0x2291db(0x158)](PerformanceA11yEvents[_0x2291db(0x181)],async()=>{const _0x57ed0a=_0x2291db;return await AccessibilityHelper[_0x57ed0a(0x20d)](_0x2d19e8,scripts[_0x57ed0a(0x16e)]);})();}return logger[_0x2291db(0x24a)](_0x539624['VQGPv']),{};},_0x539624[_0x27ae36(0x1c2)](patchSaveScreenshot,_0x2d19e8);})());CodeceptJS[_0x580190(0x18f)]['dispatcher']['on'](CodeceptJS[_0x580190(0x18f)][_0x580190(0x1f1)][_0x580190(0x15e)],()=>{const _0x18387c=_0x580190;PerformanceTester[_0x18387c(0x216)](PerformanceEvents[_0x18387c(0x14d)]);try{_0x405632['start'](),testOpsHelper[_0x18387c(0x233)](),PerformanceTester[_0x18387c(0x1ee)](PerformanceEvents[_0x18387c(0x14d)]);}catch(_0x4ff030){PerformanceTester['captureError'](_0x4ff030),PerformanceTester[_0x18387c(0x1ee)](PerformanceEvents[_0x18387c(0x14d)],![],_0x4ff030);}}),CodeceptJS['event'][_0x580190(0x1b6)]['on'](CodeceptJS[_0x580190(0x18f)][_0x580190(0x1f1)][_0x580190(0x199)],async()=>{const _0x599abe=_0x580190;PerformanceTester[_0x599abe(0x216)](PerformanceEvents['SDK_POST_TEST']);try{requestSpy[_0x599abe(0x154)](),await _0x405632[_0x599abe(0x1a4)](),PerformanceTester[_0x599abe(0x1ee)](PerformanceEvents[_0x599abe(0x23d)]);}catch(_0x42f0ca){PerformanceTester[_0x599abe(0x21d)](_0x42f0ca),PerformanceTester['end'](PerformanceEvents[_0x599abe(0x23d)],![],_0x42f0ca);}finally{PerformanceTester[_0x599abe(0x1a7)]();}});const _0x361450=(_0x1c95ae,_0x304e52)=>{const _0x11cc18=_0x580190;if(!_0x405632)return;if(!_0x405632['hasLiveDriverSession']()){_0x405632[_0x11cc18(0x184)](_0x1c95ae,_0x304e52);return;}CodeceptRecorder[_0x11cc18(0x20e)](()=>_0x405632[_0x11cc18(0x1d6)](_0x1c95ae,_0x304e52));};CodeceptJS[_0x580190(0x18f)]['dispatcher']['on'](CodeceptJS[_0x580190(0x18f)][_0x580190(0x1dc)]['started'],_0x53f430=>{const _0x567e9a=_0x580190;PerformanceTester[_0x567e9a(0x216)](PerformanceEvents[_0x567e9a(0x15a)]);try{const _0x13bad8=_0x53f430['ctx'][_0x567e9a(0x242)],_0x42968d=_0x405632[_0x567e9a(0x190)](TEST_EVENTS[_0x567e9a(0x1d4)],_0x13bad8);_0x539624[_0x567e9a(0x221)](_0x361450,TEST_EVENTS[_0x567e9a(0x1d4)],_0x42968d);const _0x40c80a={};_0x40c80a[_0x567e9a(0x16f)]=_0x539624['FEhLs'],PerformanceTester['end'](PerformanceEvents['SDK_HOOK'],!![],null,_0x40c80a);}catch(_0x287618){const _0x276f17={};_0x276f17[_0x567e9a(0x16f)]=_0x539624[_0x567e9a(0x254)],PerformanceTester[_0x567e9a(0x1ee)](PerformanceEvents[_0x567e9a(0x15a)],![],_0x287618,_0x276f17),PerformanceTester[_0x567e9a(0x21d)](_0x287618);}}),CodeceptJS[_0x580190(0x18f)]['dispatcher']['on'](CodeceptJS[_0x580190(0x18f)][_0x580190(0x1dc)][_0x580190(0x238)],_0x2f3f5e=>{const _0xe25fd=_0x580190,_0x21d3e1={};_0x21d3e1['hookType']=_0x539624[_0xe25fd(0x14a)],PerformanceTester[_0xe25fd(0x216)](PerformanceHookEvents[_0xe25fd(0x15a)],!![],null,_0x21d3e1);try{const _0x21c40d=_0x2f3f5e[_0xe25fd(0x19f)][_0xe25fd(0x242)],_0x159750=_0x405632[_0xe25fd(0x190)](TEST_EVENTS[_0xe25fd(0x15c)],_0x21c40d);_0x539624['rIINu'](_0x361450,TEST_EVENTS[_0xe25fd(0x15c)],_0x159750);const _0xf57313={};_0xf57313[_0xe25fd(0x16f)]=_0x539624[_0xe25fd(0x14a)],PerformanceTester['end'](PerformanceHookEvents[_0xe25fd(0x15a)],!![],null,_0xf57313);}catch(_0x32bd07){PerformanceTester[_0xe25fd(0x21d)](_0x32bd07);const _0x2bc997={};_0x2bc997[_0xe25fd(0x16f)]=_0x539624[_0xe25fd(0x14a)],PerformanceTester[_0xe25fd(0x1ee)](PerformanceHookEvents[_0xe25fd(0x15a)],![],_0x32bd07,_0x2bc997);}}),CodeceptJS[_0x580190(0x18f)]['dispatcher']['on'](CodeceptJS[_0x580190(0x18f)]['hook'][_0x580190(0x172)],async(_0xc3352d,_0x3597de)=>{const _0x170e62=_0x580190;PerformanceTester[_0x170e62(0x216)](PerformanceHookEvents[_0x170e62(0x15a)]);try{const _0x167ab0=_0xc3352d['ctx'][_0x170e62(0x242)],_0x42f60f=_0x405632[_0x170e62(0x190)](TEST_EVENTS[_0x170e62(0x15c)],_0x167ab0,_0x3597de);_0x539624[_0x170e62(0x221)](_0x361450,TEST_EVENTS[_0x170e62(0x15c)],_0x42f60f);const _0x187036={};_0x187036[_0x170e62(0x16f)]=_0x539624[_0x170e62(0x258)],PerformanceTester['start'](PerformanceHookEvents[_0x170e62(0x15a)],!![],null,_0x187036);}catch(_0x4c46d8){PerformanceTester[_0x170e62(0x21d)](_0x4c46d8);const _0x9e3379={};_0x9e3379[_0x170e62(0x16f)]=_0x539624[_0x170e62(0x258)],PerformanceTester[_0x170e62(0x1ee)](PerformanceHookEvents['SDK_HOOK'],![],_0x4c46d8,_0x9e3379);}const _0x13c02b={};_0x13c02b[_0x170e62(0x16f)]=_0x539624[_0x170e62(0x258)],PerformanceTester[_0x170e62(0x1ee)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x13c02b);}),CodeceptJS[_0x580190(0x18f)][_0x580190(0x1b6)]['on'](CodeceptJS['event'][_0x580190(0x242)]['before'],_0x48073e=>{const _0x320d7c=_0x580190;PerformanceTester[_0x320d7c(0x216)](PerformanceHookEvents[_0x320d7c(0x15a)]);try{globals[_0x320d7c(0x201)](_0x539624[_0x320d7c(0x159)],_0x48073e[_0x320d7c(0x163)]);_0x539624[_0x320d7c(0x195)](isBrowserstackInfra)&&(_0x4412df&&(global[_0x320d7c(0x15f)]={'currentTest':{'name':_0x48073e[_0x320d7c(0x163)],'testInfo':{'titlePath':_0x48073e['titlePath']()}}}));const _0x47daf6={};_0x47daf6[_0x320d7c(0x16f)]=_0x539624['MvsMj'],PerformanceTester['end'](PerformanceHookEvents[_0x320d7c(0x15a)],!![],null,_0x47daf6);}catch(_0x44ad2c){PerformanceTester[_0x320d7c(0x21d)](_0x44ad2c);const _0x58da3d={};_0x58da3d[_0x320d7c(0x16f)]=_0x539624['MvsMj'],PerformanceTester[_0x320d7c(0x1ee)](PerformanceHookEvents['SDK_HOOK'],![],_0x44ad2c,_0x58da3d);}}),CodeceptJS[_0x580190(0x18f)]['dispatcher']['on'](CodeceptJS['event']['test'][_0x580190(0x1ff)],_0x619068=>{const _0xff6293=_0x580190;PerformanceTester[_0xff6293(0x216)](PerformanceHookEvents['SDK_HOOK']);try{globals[_0xff6293(0x201)](_0x539624['LRclr'],_0x619068[_0xff6293(0x163)]);const _0x3a5644=_0x405632[_0xff6293(0x190)](TEST_EVENTS['TEST_RUN_STARTED'],_0x619068);CodeceptRecorder['add'](()=>_0x405632['flushPendingHookEvents']()),CodeceptRecorder[_0xff6293(0x20e)](()=>_0x405632[_0xff6293(0x1d6)](TEST_EVENTS[_0xff6293(0x174)],_0x3a5644)),CodeceptRecorder['add'](async()=>{const _0x186bf7=_0xff6293;_0x539624[_0x186bf7(0x164)](isBrowserstackInfra)&&(!_0x539624[_0x186bf7(0x227)](isTrue,_0x5da16f[_0x186bf7(0x251)])&&await _0x539624['rIINu'](markSessionName,_0x2d19e8,_0x619068[_0x186bf7(0x163)]),_0x405632[_0x186bf7(0x1aa)]&&await _0x539624[_0x186bf7(0x1c2)](o11ySync,_0x2d19e8));});}catch(_0x43f115){const _0x205f8a={};_0x205f8a['hookType']=_0x539624[_0xff6293(0x1c1)],PerformanceTester[_0xff6293(0x1ee)](PerformanceHookEvents['SDK_HOOK'],![],_0x43f115,_0x205f8a),PerformanceTester[_0xff6293(0x21d)](_0x43f115);}const _0x5e524d={};_0x5e524d[_0xff6293(0x16f)]=_0x539624[_0xff6293(0x1c1)],PerformanceTester[_0xff6293(0x1ee)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x5e524d);}),CodeceptJS[_0x580190(0x18f)][_0x580190(0x1b6)]['on'](CodeceptJS[_0x580190(0x18f)][_0x580190(0x242)][_0x580190(0x238)],_0x5a4630=>{const _0x1d97cc=_0x580190,_0x390428={'xjgOc':function(_0x4410cb,_0x3fed57,_0x8e1d2f){const _0x21a1b0=a1_0x144c;return _0x539624[_0x21a1b0(0x1ec)](_0x4410cb,_0x3fed57,_0x8e1d2f);},'zWwag':function(_0xeffa92){const _0x294e0c=a1_0x144c;return _0x539624[_0x294e0c(0x180)](_0xeffa92);}};PerformanceTester[_0x1d97cc(0x216)](PerformanceHookEvents[_0x1d97cc(0x15a)]);try{const _0x2cc325=_0x405632[_0x1d97cc(0x190)](TEST_EVENTS[_0x1d97cc(0x198)],_0x5a4630);CodeceptRecorder[_0x1d97cc(0x20e)](()=>_0x405632['fireEvent'](TEST_EVENTS[_0x1d97cc(0x198)],_0x2cc325)),CodeceptRecorder[_0x1d97cc(0x20e)](async()=>{const _0x3b295d=_0x1d97cc;_0x390428[_0x3b295d(0x1fe)](isBrowserstackInfra)&&await PerformanceTester[_0x3b295d(0x158)](PerformanceAutEvents[_0x3b295d(0x1c9)],async()=>{const _0x1dc167=_0x3b295d;_0x4412df?await _0x390428[_0x1dc167(0x214)](playwrightMarkSessionStatus,_0x2d19e8,STATE_PASSED):await _0x390428[_0x1dc167(0x214)](markSessionStatus,_0x2d19e8,STATE_PASSED);})();}),PerformanceTester[_0x1d97cc(0x1ee)](PerformanceEvents[_0x1d97cc(0x156)]);}catch(_0x57ed19){PerformanceTester[_0x1d97cc(0x21d)](_0x57ed19);const _0x3fe479={};_0x3fe479[_0x1d97cc(0x16f)]=_0x539624['aAFjo'],PerformanceTester[_0x1d97cc(0x1ee)](PerformanceHookEvents[_0x1d97cc(0x15a)],![],_0x57ed19,_0x3fe479),PerformanceTester[_0x1d97cc(0x1ee)](PerformanceEvents[_0x1d97cc(0x156)],![],_0x57ed19);}const _0x2ef63d={};_0x2ef63d['hookType']=_0x539624[_0x1d97cc(0x23b)],PerformanceTester[_0x1d97cc(0x1ee)](PerformanceHookEvents[_0x1d97cc(0x15a)],!![],null,_0x2ef63d);}),CodeceptJS[_0x580190(0x18f)][_0x580190(0x1b6)]['on'](CodeceptJS[_0x580190(0x18f)][_0x580190(0x242)][_0x580190(0x172)],(_0x152468,_0x24f138)=>{const _0x3d6afd=_0x580190;PerformanceTester['start'](PerformanceHookEvents[_0x3d6afd(0x15a)]);try{if(_0x539624[_0x3d6afd(0x1a6)](_0x152468[_0x3d6afd(0x18e)][_0x3d6afd(0x22c)],_0x539624['Ojeqr'])){const _0x4b2b45=_0x405632[_0x3d6afd(0x190)](TEST_EVENTS[_0x3d6afd(0x183)],_0x152468[_0x3d6afd(0x19f)][_0x3d6afd(0x1c8)]);CodeceptRecorder['add'](()=>_0x405632[_0x3d6afd(0x1d6)](TEST_EVENTS[_0x3d6afd(0x183)],_0x4b2b45));}else{const _0x5ef0c9=_0x405632[_0x3d6afd(0x190)](TEST_EVENTS[_0x3d6afd(0x198)],_0x152468,_0x24f138);CodeceptRecorder[_0x3d6afd(0x20e)](()=>{const _0x29384f=_0x3d6afd;try{_0x405632[_0x29384f(0x1d6)](TEST_EVENTS[_0x29384f(0x198)],_0x5ef0c9);}catch(_0x184f40){logger['debug'](_0x29384f(0x241)+util[_0x29384f(0x17a)](_0x184f40)),PerformanceTester['end'](PerformanceEvents[_0x29384f(0x156)],![],_0x184f40);}}),CodeceptRecorder[_0x3d6afd(0x20e)](async()=>{const _0x239d85=_0x3d6afd;try{_0x539624[_0x239d85(0x24b)](isBrowserstackInfra)&&(_0x4412df?await _0x539624[_0x239d85(0x160)](playwrightMarkSessionStatus,_0x2d19e8,STATE_FAILED,_0x24f138):await _0x539624[_0x239d85(0x1c6)](markSessionStatus,_0x2d19e8,STATE_FAILED,_0x24f138));}catch(_0x230436){logger['debug'](_0x239d85(0x188)+util['format'](_0x230436)),PerformanceTester[_0x239d85(0x1ee)](PerformanceEvents['SDK_TEST'],![],_0x230436);}});}PerformanceTester[_0x3d6afd(0x1ee)](PerformanceEvents[_0x3d6afd(0x156)]);}catch(_0x57b9b5){PerformanceTester['captureError'](_0x57b9b5);const _0x2fb393={};_0x2fb393[_0x3d6afd(0x16f)]=_0x539624[_0x3d6afd(0x234)],PerformanceTester[_0x3d6afd(0x1ee)](PerformanceHookEvents[_0x3d6afd(0x15a)],![],_0x57b9b5,_0x2fb393),PerformanceTester[_0x3d6afd(0x1ee)](PerformanceEvents[_0x3d6afd(0x156)],![],_0x57b9b5);}const _0x378cfb={};_0x378cfb[_0x3d6afd(0x16f)]=_0x539624[_0x3d6afd(0x234)],PerformanceTester['end'](PerformanceHookEvents[_0x3d6afd(0x15a)],!![],null,_0x378cfb);}),CodeceptJS[_0x580190(0x18f)][_0x580190(0x1b6)]['on'](CodeceptJS[_0x580190(0x18f)][_0x580190(0x242)][_0x580190(0x161)],_0x10781c=>{const _0xd62d0a=_0x580190;PerformanceTester[_0xd62d0a(0x216)](PerformanceHookEvents['SDK_HOOK']);try{const _0xdd8497=_0x405632[_0xd62d0a(0x190)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x10781c);CodeceptRecorder['add'](()=>_0x405632[_0xd62d0a(0x1d6)](TEST_EVENTS[_0xd62d0a(0x183)],_0xdd8497)),PerformanceTester[_0xd62d0a(0x1ee)](PerformanceEvents[_0xd62d0a(0x156)]);}catch(_0x14ac6d){PerformanceTester[_0xd62d0a(0x21d)](_0x14ac6d),PerformanceTester[_0xd62d0a(0x1ee)](PerformanceEvents[_0xd62d0a(0x156)],![],_0x14ac6d);const _0x3703c6={};_0x3703c6[_0xd62d0a(0x16f)]=_0x539624[_0xd62d0a(0x229)],PerformanceTester[_0xd62d0a(0x1ee)](PerformanceHookEvents[_0xd62d0a(0x15a)],![],_0x14ac6d,_0x3703c6);}const _0x5e2a85={};_0x5e2a85[_0xd62d0a(0x16f)]=_0x539624['WAxYQ'],PerformanceTester[_0xd62d0a(0x1ee)](PerformanceHookEvents[_0xd62d0a(0x15a)],!![],null,_0x5e2a85);}),CodeceptJS[_0x580190(0x18f)][_0x580190(0x1b6)]['on'](CodeceptJS['event'][_0x580190(0x242)][_0x580190(0x199)],async(_0x201789,_0x50b1c3)=>{const _0x24cf24=_0x580190;try{PerformanceTester['start'](PerformanceHookEvents[_0x24cf24(0x15a)]);const _0x53b98d=_0x539624[_0x24cf24(0x21b)](shouldScanTestForAccessibility,_0x201789[_0x24cf24(0x1b4)](),!![]);if(_0x539624['ybhJG'](isAccessibilityAutomationSession)&&global[_0x24cf24(0x1d3)]&&_0x53b98d){const _0x5aec2b={};_0x5aec2b[_0x24cf24(0x20c)]=_0x201789[_0x24cf24(0x1da)],_0x5aec2b['thBuildUuid']=process[_0x24cf24(0x1ad)][testHubConstants[_0x24cf24(0x1d1)][_0x24cf24(0x1c7)]],_0x5aec2b['thJwtToken']=process[_0x24cf24(0x1ad)][testHubConstants[_0x24cf24(0x1d1)][_0x24cf24(0x1ac)]];const _0x175765=_0x5aec2b;logger[_0x24cf24(0x239)](_0x24cf24(0x1e7)+JSON['stringify'](_0x175765)),CodeceptRecorder[_0x24cf24(0x20e)](async()=>{const _0x5dfc2f=_0x24cf24,_0x414929={};_0x414929[_0x5dfc2f(0x1e4)]=_0x539624[_0x5dfc2f(0x17d)],await PerformanceTester[_0x5dfc2f(0x158)](PerformanceA11yEvents[_0x5dfc2f(0x152)],async()=>{const _0x6db700=_0x5dfc2f;await AccessibilityHelper[_0x6db700(0x20d)](_0x2d19e8,scripts[_0x6db700(0x231)]);},_0x414929)(),globals['getGlobal'](_0x539624['dEaEc'])&&(_0x175765[_0x5dfc2f(0x212)]=!![]),await PerformanceTester[_0x5dfc2f(0x158)](PerformanceA11yEvents[_0x5dfc2f(0x170)],async()=>{const _0x8a7d60=_0x5dfc2f;await AccessibilityHelper[_0x8a7d60(0x20d)](_0x2d19e8,scripts['saveTestResults'],_0x175765);})();}),logger[_0x24cf24(0x224)](_0x539624[_0x24cf24(0x1fc)]);}const _0x2b3281={};_0x2b3281['hookType']=_0x539624[_0x24cf24(0x232)],PerformanceTester[_0x24cf24(0x1ee)](PerformanceHookEvents[_0x24cf24(0x15a)],!![],null,_0x2b3281);}catch(_0x5497ba){PerformanceTester['captureError'](_0x5497ba);const _0x334fb5={};_0x334fb5[_0x24cf24(0x16f)]=_0x539624[_0x24cf24(0x232)],PerformanceTester[_0x24cf24(0x1ee)](PerformanceHookEvents[_0x24cf24(0x15a)],![],_0x5497ba,_0x334fb5);}}),CodeceptJS[_0x580190(0x18f)][_0x580190(0x1b6)]['on'](CodeceptJS[_0x580190(0x18f)][_0x580190(0x185)][_0x580190(0x240)],_0x1db66f=>{const _0x234c69=_0x580190;PerformanceTester[_0x234c69(0x216)](PerformanceHookEvents[_0x234c69(0x15a)]);try{process['emit']('bs:addLog:'+process[_0x234c69(0x18a)],{'timestamp':new Date()['toISOString'](),'level':_0x539624[_0x234c69(0x1e1)],'message':_0x1db66f,'kind':_0x539624['ffCPF'],'http_response':{}});}catch(_0x19dd4f){PerformanceTester['captureError'](_0x19dd4f);const _0x41d2d9={};_0x41d2d9[_0x234c69(0x16f)]=_0x539624[_0x234c69(0x175)],PerformanceTester[_0x234c69(0x1ee)](PerformanceHookEvents[_0x234c69(0x15a)],![],_0x19dd4f,_0x41d2d9);}const _0x494aef={};_0x494aef[_0x234c69(0x16f)]=_0x539624[_0x234c69(0x175)],PerformanceTester[_0x234c69(0x1ee)](PerformanceHookEvents[_0x234c69(0x15a)],!![],null,_0x494aef);}),CodeceptJS['event'][_0x580190(0x1b6)]['on'](CodeceptJS['event'][_0x580190(0x1b0)][_0x580190(0x15e)],_0x13ae0c=>{const _0x1e3e14=_0x580190,_0x1f0704={};_0x1f0704[_0x1e3e14(0x16f)]=_0x539624[_0x1e3e14(0x202)],PerformanceTester[_0x1e3e14(0x158)](PerformanceHookEvents['SDK_HOOK'],()=>{const _0x11e98d=_0x1e3e14;_0x405632[_0x11e98d(0x17b)](_0x13ae0c);},_0x1f0704)();}),CodeceptJS[_0x580190(0x18f)][_0x580190(0x1b6)]['on'](CodeceptJS[_0x580190(0x18f)][_0x580190(0x1b0)][_0x580190(0x199)],_0x17cb44=>{const _0x474da0=_0x580190,_0x1badc6={};_0x1badc6[_0x474da0(0x16f)]=_0x539624[_0x474da0(0x205)],PerformanceTester[_0x474da0(0x158)](PerformanceHookEvents[_0x474da0(0x15a)],()=>{const _0x55f5f9=_0x474da0;_0x405632[_0x55f5f9(0x20a)](_0x17cb44);},_0x1badc6)();});};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a2_0x86aae6=a2_0x2724;(function(_0x1d1931,_0x2a0ee2){const _0x281e47=a2_0x2724,_0x3984b8=_0x1d1931();while(!![]){try{const _0x37d4d3=parseInt(_0x281e47(0x11d))/0x1+-parseInt(_0x281e47(0x15e))/0x2*(-parseInt(_0x281e47(0xd3))/0x3)+-parseInt(_0x281e47(0x11a))/0x4*(parseInt(_0x281e47(0x137))/0x5)+parseInt(_0x281e47(0x140))/0x6+-parseInt(_0x281e47(0xd7))/0x7+parseInt(_0x281e47(0x150))/0x8*(parseInt(_0x281e47(0x116))/0x9)+-parseInt(_0x281e47(0x119))/0xa;if(_0x37d4d3===_0x2a0ee2)break;else _0x3984b8['push'](_0x3984b8['shift']());}catch(_0x172325){_0x3984b8['push'](_0x3984b8['shift']());}}}(a2_0x3ab6,0xdc2d4));const fs=require('fs'),path=require('path'),util=require(a2_0x86aae6(0x101)),process=require(a2_0x86aae6(0x10c)),logger=require('../../helpers/logger')[a2_0x86aae6(0x12a)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),utilities=require(a2_0x86aae6(0x146)),{checkAccessibilityPlatformConfig}=require(a2_0x86aae6(0xd6)),{setAccessibilityCapabilities,processAccessibilityCaps}=require(a2_0x86aae6(0x15a)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x86aae6(0x128)),CodeceptJS=requireModule(a2_0x86aae6(0x163),a2_0x86aae6(0x14d)),testOpsHelper=require(a2_0x86aae6(0x135)),TestHubHandler=require(a2_0x86aae6(0xfb)),constants=require(a2_0x86aae6(0x122)),PerformanceTester=require(a2_0x86aae6(0x14c)),{FRAMEWORKS}=require(a2_0x86aae6(0x145)),PerformanceEvents=require(a2_0x86aae6(0xec))[a2_0x86aae6(0x131)],ClientTroubleShootingService=require(a2_0x86aae6(0x147)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x40d973,_0x1fd5b9)=>{const _0x3d54e8=a2_0x86aae6,_0x2dfc75={};_0x2dfc75['iRNNj']=function(_0x184811,_0x3f613c){return _0x184811===_0x3f613c;},_0x2dfc75[_0x3d54e8(0x13c)]=_0x3d54e8(0x16e),_0x2dfc75[_0x3d54e8(0x104)]=_0x3d54e8(0xf6);const _0x4cac41=_0x2dfc75;let _0x487b4b=null;const _0x34373b={};let _0x566d46=_0x1fd5b9['findIndex'](_0x596b52=>_0x596b52==='--config');_0x4cac41[_0x3d54e8(0x124)](_0x566d46,-0x1)&&(_0x566d46=_0x1fd5b9[_0x3d54e8(0x16c)](_0x22b964=>_0x22b964==='-c'));if(!helper[_0x3d54e8(0x16d)](_0x40d973['config'])&&fs[_0x3d54e8(0x134)](path['join'](process[_0x3d54e8(0x139)](),_0x40d973[_0x3d54e8(0xe9)])))_0x487b4b=path['join'](process[_0x3d54e8(0x139)](),_0x40d973['config']),_0x1fd5b9[_0x3d54e8(0x113)](_0x566d46,0x2);else{if(!helper[_0x3d54e8(0x16d)](_0x40d973['c'])&&fs[_0x3d54e8(0x134)](path[_0x3d54e8(0xe0)](process[_0x3d54e8(0x139)](),_0x40d973['c'])))_0x487b4b=path['join'](process[_0x3d54e8(0x139)](),_0x40d973['c']),_0x1fd5b9[_0x3d54e8(0x113)](_0x566d46,0x2);else{if(fs['existsSync'](path['join'](process[_0x3d54e8(0x139)](),_0x4cac41[_0x3d54e8(0x13c)])))_0x487b4b=path[_0x3d54e8(0xe0)](process[_0x3d54e8(0x139)](),_0x4cac41[_0x3d54e8(0x13c)]);else fs[_0x3d54e8(0x134)](path[_0x3d54e8(0xe0)](process[_0x3d54e8(0x139)](),_0x4cac41[_0x3d54e8(0x104)]))&&(_0x487b4b=path[_0x3d54e8(0xe0)](process[_0x3d54e8(0x139)](),_0x4cac41[_0x3d54e8(0x104)]));}}return process[_0x3d54e8(0x15b)][_0x3d54e8(0xed)]=_0x487b4b,_0x487b4b;},getO11yRerunPattern=()=>{const _0x4879c7=a2_0x86aae6,_0x38ac39=helper[_0x4879c7(0xdd)](process[_0x4879c7(0x15b)]['BROWSERSTACK_RERUN']);if(_0x38ac39){const _0x19ac36=process['env'][_0x4879c7(0xda)],_0xd3f184=[];if(helper['validateRerunTestList'](_0x19ac36)&&!helper[_0x4879c7(0x16d)](_0x19ac36)){_0x19ac36['split'](',')[_0x4879c7(0x125)](_0x3d6890=>{const _0x5a2d42=_0x4879c7;_0xd3f184[_0x5a2d42(0x10f)]('('+_0x3d6890['trim']()+')');});const _0x1b9245='^'+_0xd3f184['join']('|')+'$';return _0x1b9245;}}return null;},a2_0x589975={};a2_0x589975['chrome']=a2_0x86aae6(0xdb),a2_0x589975[a2_0x86aae6(0x16a)]=a2_0x86aae6(0xdb),a2_0x589975[a2_0x86aae6(0x156)]=a2_0x86aae6(0xf7),a2_0x589975[a2_0x86aae6(0x151)]=a2_0x86aae6(0x10d);const pwToCodeceptBrowser=a2_0x589975;async function run(_0x2286b3,_0x4a15dd,_0x475f6c){const _0x4b4256=a2_0x86aae6,_0x1603fe={'GKMTl':function(_0x2c01e0,_0x1015dc,_0x1a5660,_0x79acaa){return _0x2c01e0(_0x1015dc,_0x1a5660,_0x79acaa);},'ayXBE':function(_0x4219b7,_0x29afd6){return _0x4219b7+_0x29afd6;},'YRiFR':function(_0x4c96bc,_0x60243b){return _0x4c96bc(_0x60243b);},'YEfaD':function(_0x1cb6a9,_0x5527b4,_0x427c66){return _0x1cb6a9(_0x5527b4,_0x427c66);},'LXiOt':_0x4b4256(0x167),'MIOAW':function(_0x2d36ce){return _0x2d36ce();},'fRmqw':_0x4b4256(0x13d),'nBYTa':function(_0x47efb6){return _0x47efb6();},'nlnRA':function(_0x90ae0c){return _0x90ae0c();},'PrESd':'Failed\x20:\x20','SzyYz':_0x4b4256(0x152),'agxDX':'Started\x20:\x20','EHvqS':_0x4b4256(0x159),'cIEDD':_0x4b4256(0x161),'GexmD':_0x4b4256(0xe7),'zFouQ':_0x4b4256(0x103),'xBJza':function(_0x476382,_0x380267){return _0x476382(_0x380267);},'QXoVC':function(_0x16570a,_0x2519a3){return _0x16570a!=_0x2519a3;},'tzVyo':function(_0x320900,_0x5698e8){return _0x320900===_0x5698e8;},'lqBRW':_0x4b4256(0xea),'mZDii':function(_0x5053ab,_0x227961){return _0x5053ab(_0x227961);},'ThVHH':function(_0x46a811){return _0x46a811();},'qBuYY':function(_0x23622e,_0x499370){return _0x23622e*_0x499370;},'ZOLsA':'browser','Ztmov':function(_0x3e2690,_0x5d2aee,_0x4f7007){return _0x3e2690(_0x5d2aee,_0x4f7007);},'URkGO':_0x4b4256(0x158),'bKBNv':function(_0x56aaad,_0xe55917,_0x55def2){return _0x56aaad(_0xe55917,_0x55def2);},'iIyzN':_0x4b4256(0xe4),'VypUo':_0x4b4256(0x12c),'zOXUT':'browserStackCwd','aLnjm':function(_0x18e846){return _0x18e846();}};await _0x475f6c[_0x4b4256(0x155)](_0x2286b3),await helper[_0x4b4256(0xf1)](_0x475f6c[_0x4b4256(0xe9)]);if(!_0x475f6c[_0x4b4256(0xe9)])return;process['profile']=_0x2286b3[_0x4b4256(0x11c)];_0x2286b3[_0x4b4256(0x11c)]&&(process[_0x4b4256(0x15b)]['profile']=_0x2286b3['profile']);const _0x1f8e61=_0x1603fe[_0x4b4256(0x102)](getUserCodeceptJSConfigs,_0x2286b3,_0x4a15dd);let _0xa08590={};_0x1f8e61?(logger['info'](_0x4b4256(0x112)+_0x1f8e61),_0xa08590=CodeceptJS[_0x4b4256(0xe9)][_0x4b4256(0x170)](_0x1f8e61)):logger[_0x4b4256(0x13f)](_0x1603fe[_0x4b4256(0x16f)]);let _0x8f721=![];_0x1603fe[_0x4b4256(0x102)](nestedKeyValue,_0xa08590,[_0x1603fe[_0x4b4256(0x12e)],_0x1603fe['GexmD']])&&(_0x8f721=!![]);const _0x3b2cdb=_0x8f721?_0x1603fe[_0x4b4256(0x168)]:_0x1603fe[_0x4b4256(0xf0)];let _0x4495dc=!_0x8f721?helper[_0x4b4256(0xf2)](_0x475f6c[_0x4b4256(0xe9)]):![];!helper[_0x4b4256(0x16d)](_0x475f6c[_0x4b4256(0xe9)][_0x4b4256(0x154)])&&(process[_0x4b4256(0x15b)][_0x4b4256(0xdf)]=JSON['stringify'](_0x475f6c[_0x4b4256(0xe9)][_0x4b4256(0x154)]));let _0x2728f3=_0x475f6c[_0x4b4256(0xe9)][_0x4b4256(0x118)];_0x2728f3=_0x2728f3||_0x1603fe[_0x4b4256(0xe5)](checkAccessibilityPlatformConfig,_0x475f6c[_0x4b4256(0xe9)]),process[_0x4b4256(0x15b)][_0x4b4256(0xe3)]=_0x2728f3;_0x2728f3&&(_0x4495dc=!_0x2728f3);_0x1603fe['QXoVC'](_0x475f6c[_0x4b4256(0xe9)][_0x4b4256(0x11e)],null)?process['env'][_0x4b4256(0x126)]=_0x475f6c['config']['testObservability']:process[_0x4b4256(0x15b)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x1603fe[_0x4b4256(0x10a)](_0x3b2cdb,_0x1603fe[_0x4b4256(0x168)]);const _0x491843=_0x1603fe[_0x4b4256(0x102)](nestedKeyValue,_0xa08590,[_0x1603fe[_0x4b4256(0xeb)]]),_0x44dcc6=_0x491843&&!helper[_0x4b4256(0x14f)](_0x491843)?FRAMEWORKS[_0x4b4256(0x13a)]:FRAMEWORKS[_0x4b4256(0xfd)],_0x1cc4cb=await TestHubHandler[_0x4b4256(0x136)](_0x44dcc6,_0x475f6c);_0x2728f3&&_0x1603fe[_0x4b4256(0x16b)](setAccessibilityCapabilities,_0x475f6c[_0x4b4256(0xe9)]);const _0x3bdfdb={},_0x398809=[],_0x306afa=_0x475f6c[_0x4b4256(0xe9)]['parallelsPerPlatform']||helper[_0x4b4256(0x162)](_0x2286b3,_0x4a15dd,_0x475f6c[_0x4b4256(0xe9)],constants[_0x4b4256(0x142)][_0x4b4256(0xfd)])||0x1;let _0x38b610=0x1;if(_0x1603fe[_0x4b4256(0xef)](isBrowserstackInfra)){const _0x7fae86=helper['prepareCapabilities'](_0x475f6c[_0x4b4256(0xe9)],_0x4495dc,constants[_0x4b4256(0x142)][_0x4b4256(0xfd)]);_0x7fae86[_0x4b4256(0x144)](_0x1ce717=>{const _0x3b9e25=_0x4b4256;helper[_0x3b9e25(0x13b)](_0x1ce717);}),helper[_0x4b4256(0x14b)](_0x475f6c['config'])?_0x38b610=_0x1603fe[_0x4b4256(0x108)](_0x306afa,_0x475f6c[_0x4b4256(0xe9)]['platforms'][_0x4b4256(0x127)]):_0x38b610=_0x306afa,_0x7fae86[_0x4b4256(0x144)](_0x71dad2=>{const _0x1680f3=_0x4b4256,_0x3e40af=_0x1603fe['ayXBE'](helper[_0x1680f3(0x12d)](_0x71dad2,'_'),'_'+Date['now']()),_0x3c6626=((()=>{const _0x26f0b1=_0x1680f3;if(_0x8f721){const _0x1b66cb=pwToCodeceptBrowser[_0x71dad2['browserName']]||_0x71dad2['browserName'],_0x55254a=helper['getPlaywrightUrl'](_0x475f6c[_0x26f0b1(0xe9)]),_0x25bbc4=Object['assign']({},_0x71dad2);return _0x1603fe['GKMTl'](processAccessibilityCaps,_0x25bbc4,_0x55254a,null),{'browser':_0x1b66cb,[_0x1b66cb]:{'browserWSEndpoint':_0x1603fe[_0x26f0b1(0x15c)](_0x55254a,_0x1603fe[_0x26f0b1(0x12f)](encodeURIComponent,JSON['stringify'](_0x25bbc4)))}};}const _0x477a75={};return _0x477a75[_0x26f0b1(0x158)]=_0x71dad2,_0x477a75[_0x26f0b1(0xd8)]=_0x475f6c[_0x26f0b1(0xe9)][_0x26f0b1(0x143)],_0x477a75[_0x26f0b1(0x120)]=_0x475f6c[_0x26f0b1(0xe9)][_0x26f0b1(0x12b)],_0x477a75;})()),_0x5dd1c9=_0x1603fe['YEfaD'](nestedKeyValue,_0xa08590,[_0x1603fe[_0x1680f3(0x12e)],_0x3b2cdb]);_0x3bdfdb[_0x3e40af]=_0x5dd1c9?helper[_0x1680f3(0x105)](_0x3c6626,_0x5dd1c9):_0x3c6626;if(_0x8f721)_0x3bdfdb[_0x3e40af][_0x1680f3(0xfc)]=pwToCodeceptBrowser[_0x71dad2['browserName']]||_0x71dad2['browserName'];else{_0x3bdfdb[_0x3e40af][_0x1680f3(0xfc)]=_0x71dad2['browserName']||_0x3c6626[_0x1680f3(0xfc)];if(_0x1603fe[_0x1680f3(0xe8)](isBrowserstackInfra)){_0x3bdfdb[_0x3e40af]['host']=constants[_0x1680f3(0x169)][_0x1680f3(0x11f)](_0x1603fe[_0x1680f3(0xf4)],'')[_0x1680f3(0x11f)](/https?:\/\//,'');;_0x3bdfdb[_0x3e40af][_0x1680f3(0x157)]=_0x1603fe[_0x1680f3(0xf4)];}}_0x398809[_0x1680f3(0x10f)](_0x3e40af);});}else{_0x38b610=0x1;if(_0x8f721){const _0x10aeac=_0x1603fe[_0x4b4256(0x102)](nestedKeyValue,_0xa08590,[_0x1603fe[_0x4b4256(0x12e)],_0x3b2cdb,_0x1603fe[_0x4b4256(0x109)]]),_0x143569=_0x1603fe[_0x4b4256(0x117)](nestedKeyValue,_0xa08590,[_0x1603fe['LXiOt'],_0x3b2cdb,_0x10aeac]);if(_0x143569&&_0x143569[_0x4b4256(0x100)]){const _0x46b08b={};_0x46b08b['platforms']=[],_0x143569['browserWSEndpoint']=helper[_0x4b4256(0x14a)](Object['assign']({},_0x475f6c[_0x4b4256(0xe9)],_0x46b08b),null,_0x44dcc6['toLowerCase'](),null,null,_0x143569[_0x4b4256(0x100)]);}}else{const _0x556deb={};_0x556deb['platforms']=[],_0xa08590[_0x1603fe['LXiOt']][_0x3b2cdb][_0x1603fe[_0x4b4256(0x10b)]]=helper['prepareCapabilities'](Object[_0x4b4256(0x10e)]({},_0x475f6c['config'],_0x556deb),null,_0x44dcc6['toLowerCase'](),_0x1603fe[_0x4b4256(0x149)](nestedKeyValue,_0xa08590,[_0x1603fe['LXiOt'],_0x3b2cdb,_0x1603fe[_0x4b4256(0x10b)]])||{},null,null);}_0x3bdfdb[_0x1603fe[_0x4b4256(0x110)]]=_0xa08590,_0x398809[_0x4b4256(0x10f)](_0x1603fe[_0x4b4256(0x110)]);}const _0x57bc10={};_0x57bc10[_0x4b4256(0xd4)]=_0x1f8e61;const _0x1dfecd=_0x57bc10,_0x2603f6=path[_0x4b4256(0xe0)](__dirname,_0x1603fe['VypUo']),_0x302ef3=process[_0x4b4256(0x139)]();process[_0x4b4256(0x15b)][_0x1603fe[_0x4b4256(0xe2)]]=_0x302ef3,process[_0x4b4256(0xf8)](path[_0x4b4256(0x129)](_0x1f8e61));const _0x2ddcb4=new CodeceptJS['Workers'](null,_0x1dfecd),_0x1abbb8=_0x2ddcb4[_0x4b4256(0x11b)](_0x306afa),_0x567012=testOpsHelper['isTestObservabilitySession'](),_0x5346d0=_0x398809[_0x4b4256(0x125)](_0x481650=>{const _0x22ef51=_0x4b4256,_0x21bc94={};_0x21bc94[_0x22ef51(0xe7)]=_0x3bdfdb[_0x481650];const _0x53fac2={};_0x53fac2['WebDriver']=_0x3bdfdb[_0x481650];const _0x53d5a7=_0x8f721?_0x21bc94:_0x53fac2,_0x2789ae=_0x1603fe[_0x22ef51(0xf3)](getO11yRerunPattern),_0x423ae7={};_0x423ae7[_0x22ef51(0x167)]=_0x53d5a7;const _0x1862bf={};_0x1862bf[_0x22ef51(0x164)]=_0x2603f6,_0x1862bf[_0x22ef51(0xe6)]=!![],_0x1862bf[_0x22ef51(0x133)]=_0x475f6c['config'][_0x22ef51(0x13e)][_0x22ef51(0x133)],_0x1862bf['skipSessionStatus']=_0x475f6c[_0x22ef51(0xe9)][_0x22ef51(0x13e)][_0x22ef51(0xfe)],_0x1862bf[_0x22ef51(0x11e)]=_0x567012,_0x1862bf[_0x22ef51(0x153)]=_0x44dcc6;const _0x3954d5={};_0x3954d5['BrowserStackPlugin']=_0x1862bf;const _0x36c27d={};return _0x36c27d['plugins']=_0x3954d5,helper[_0x22ef51(0x105)]({},_0xa08590,_0x1603fe[_0x22ef51(0x132)](isBrowserstackInfra)?_0x423ae7:{},_0x2789ae?{'grep':_0x2789ae}:{},_0x36c27d);});for(const _0x1704b6 of _0x5346d0){for(const _0x5e1ee0 of _0x1abbb8){const _0x53a5e9=_0x2ddcb4['spawn']();_0x53a5e9[_0x4b4256(0x165)](_0x5e1ee0),_0x53a5e9[_0x4b4256(0xf9)](_0x1704b6);const _0x2488e0={};_0x2488e0['config']=_0x1f8e61,_0x53a5e9[_0x4b4256(0x160)](Object[_0x4b4256(0x10e)](_0x2488e0,_0x2286b3));}}_0x2ddcb4['on'](CodeceptJS[_0x4b4256(0x166)][_0x4b4256(0x130)]['failed'],(_0x248038,_0x20cc43)=>{const _0x4b2659=_0x4b4256;console[_0x4b2659(0xee)](_0x1603fe['PrESd'],_0x248038['title']);const _0x5e5174={[_0x248038[_0x4b2659(0xdc)]]:_0x248038[_0x4b2659(0x14e)]['stack']};_testErrorData[_0x4b2659(0x10f)](_0x5e5174);}),_0x2ddcb4['on'](CodeceptJS[_0x4b4256(0x166)][_0x4b4256(0x130)][_0x4b4256(0x114)],async _0x27fb36=>{const _0x27a85b=_0x4b4256;console[_0x27a85b(0xee)](_0x1603fe[_0x27a85b(0xfa)],_0x27fb36[_0x27a85b(0xdc)]);}),_0x2ddcb4['on'](CodeceptJS['event'][_0x4b4256(0x130)][_0x4b4256(0xf5)],async _0x2bc220=>{const _0x3bfa59=_0x4b4256;console[_0x3bfa59(0xee)](_0x1603fe[_0x3bfa59(0x107)],_0x2bc220[_0x3bfa59(0xdc)]);}),_0x2ddcb4['on'](CodeceptJS[_0x4b4256(0x166)]['all'][_0x4b4256(0x15d)],async()=>{const _0x56d644=_0x4b4256,_0x2bb5e6=_0x1603fe[_0x56d644(0x106)]['split']('|');let _0x2de025=0x0;while(!![]){switch(_0x2bb5e6[_0x2de025++]){case'0':utilities[_0x56d644(0x121)](_0x475f6c);continue;case'1':_0x475f6c[_0x56d644(0x141)]=_testErrorData;continue;case'2':try{await TestHubHandler[_0x56d644(0xde)]();}catch(_0x2af5c9){logger[_0x56d644(0x123)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x56d644(0xd5)](_0x2af5c9));}continue;case'3':testOpsHelper[_0x56d644(0xd9)]();continue;case'4':_0x2ddcb4[_0x56d644(0x148)]();continue;case'5':PerformanceTester[_0x56d644(0xff)](PerformanceEvents[_0x56d644(0xe1)]);continue;}break;}});async function _0x1a4fc7(){const _0x34481b=_0x4b4256;try{await _0x2ddcb4[_0x34481b(0x15f)](),await _0x2ddcb4[_0x34481b(0x111)]();}finally{process[_0x34481b(0xf8)](_0x302ef3),await _0x2ddcb4[_0x34481b(0x115)]();}}PerformanceTester['end'](PerformanceEvents['SDK_SETUP']),await _0x1603fe['aLnjm'](_0x1a4fc7);}function a2_0x3ab6(){const _0x56a856=['accessibilityOptions','initialize','playwright-firefox','path','desiredCapabilities','5|1|3|0|2|4','../../bin/playwright/accessibility-helper','env','ayXBE','result','245478qMKZuj','bootstrapAll','addOptions','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','getUserWorkerCount','codeceptjs/lib/index.js','require','addTests','event','helpers','GexmD','hubUrl','playwright-chromium','mZDii','findIndex','isUndefined','codecept.conf.js','cIEDD','load','15NScmPG','testConfig','format','../../helpers/accessibility-automation/helper','9470398hBUcpN','user','printBuildLink','BROWSERSTACK_RERUN_TESTS','chromium','title','isTrue','stop','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','join','SDK_CLEANUP','zOXUT','BROWSERSTACK_TEST_ACCESSIBILITY_YML','root','xBJza','enabled','Playwright','MIOAW','config','gherkin','lqBRW','../../helpers/performance/constants','USER_CONFIG_DETAILS_PATH','log','ThVHH','zFouQ','handleApp','useW3C','nBYTa','fRmqw','before','codecept.json','firefox','chdir','addConfig','SzyYz','../../helpers/testhub/testhubHandler','browser','CODECEPT','skipSessionStatus','start','browserWSEndpoint','util','YEfaD','WebDriver','vbAPN','mergeDeep','EHvqS','agxDX','qBuYY','ZOLsA','tzVyo','URkGO','process','webkit','assign','push','iIyzN','run','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','slice','passed','teardownAll','9uAdCTM','Ztmov','accessibility','5902470tybmnk','8JVXlUT','createGroupsOfSuites','profile','1157448RfNdFC','testObservability','replace','key','finalExecution','../utils/constants','debug','iRNNj','map','BROWSERSTACK_TEST_OBSERVABILITY_YML','length','../../helpers/helper','dirname','winstonLogger','accessKey','BrowserStackPlugin.js','getPlatformName','LXiOt','YRiFR','test','EVENTS','nlnRA','skipSessionName','existsSync','../../helpers/test-observability/utils','launchBuild','3512155xaMtPX','exports','cwd','CODECEPT_CUCUMBER','setAdditionalCapabilities','wIstL','/wd/hub','testContextOptions','info','6156090WsqXhe','errorMessage','FRAMEWORKS','userName','forEach','../../helpers/test-observability/constants','../../helpers/utilities','../utils/clientTroubleshootingService','printResults','bKBNv','prepareCapabilities','validPlatformsPresent','../../helpers/performance/performance-tester','codeceptjs','err','isEmpty','11621672DIMhIg','playwright-webkit','Passed\x20:\x20','frameworkName'];a2_0x3ab6=function(){return _0x56a856;};return a2_0x3ab6();}function a2_0x2724(_0x514d65,_0x1d14c2){const _0x3ab601=a2_0x3ab6();return a2_0x2724=function(_0x27241c,_0x2a07b5){_0x27241c=_0x27241c-0xd3;let _0x55dc8c=_0x3ab601[_0x27241c];return _0x55dc8c;},a2_0x2724(_0x514d65,_0x1d14c2);}module[a2_0x86aae6(0x138)]=run;
|
|
2
|
+
'use strict';const a2_0x16ace4=a2_0x343e;(function(_0x2957aa,_0x4a2232){const _0x318795=a2_0x343e,_0x435511=_0x2957aa();while(!![]){try{const _0x2567d2=-parseInt(_0x318795(0x14c))/0x1+-parseInt(_0x318795(0x1a4))/0x2+parseInt(_0x318795(0x172))/0x3+-parseInt(_0x318795(0x16b))/0x4*(parseInt(_0x318795(0x17a))/0x5)+-parseInt(_0x318795(0x1ae))/0x6*(parseInt(_0x318795(0x148))/0x7)+parseInt(_0x318795(0x158))/0x8+parseInt(_0x318795(0x1ab))/0x9;if(_0x2567d2===_0x4a2232)break;else _0x435511['push'](_0x435511['shift']());}catch(_0x3d2995){_0x435511['push'](_0x435511['shift']());}}}(a2_0x5742,0xd29de));const fs=require('fs'),path=require('path'),util=require(a2_0x16ace4(0x1c0)),process=require(a2_0x16ace4(0x1c3)),logger=require(a2_0x16ace4(0x135))[a2_0x16ace4(0x1aa)],{default:BrowserStackSetup}=require(a2_0x16ace4(0x1a3)),helper=require('../../helpers/helper'),utilities=require(a2_0x16ace4(0x1c1)),{checkAccessibilityPlatformConfig}=require(a2_0x16ace4(0x18a)),{setAccessibilityCapabilities,processAccessibilityCaps}=require(a2_0x16ace4(0x171)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x16ace4(0x1a7)),CodeceptJS=requireModule(a2_0x16ace4(0x163),a2_0x16ace4(0x19e)),testOpsHelper=require('../../helpers/test-observability/utils'),TestHubHandler=require(a2_0x16ace4(0x1a8)),constants=require('../utils/constants'),PerformanceTester=require(a2_0x16ace4(0x14b)),{FRAMEWORKS}=require(a2_0x16ace4(0x16a)),PerformanceEvents=require(a2_0x16ace4(0x199))[a2_0x16ace4(0x185)],ClientTroubleShootingService=require(a2_0x16ace4(0x162)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x115cbc,_0x49fc7a)=>{const _0x83125e=a2_0x16ace4,_0x8d21a7={};_0x8d21a7[_0x83125e(0x1b2)]=function(_0x7cd489,_0x3c9637){return _0x7cd489===_0x3c9637;},_0x8d21a7[_0x83125e(0x1a5)]='codecept.conf.js',_0x8d21a7['IUIPD']=_0x83125e(0x138);const _0xd17d1a=_0x8d21a7;let _0x5dfa24=null;const _0x2b3077={};let _0x2d5803=_0x49fc7a['findIndex'](_0x5b6f5e=>_0x5b6f5e===_0x83125e(0x173));_0xd17d1a[_0x83125e(0x1b2)](_0x2d5803,-0x1)&&(_0x2d5803=_0x49fc7a[_0x83125e(0x1ad)](_0xaa4b3c=>_0xaa4b3c==='-c'));if(!helper['isUndefined'](_0x115cbc[_0x83125e(0x1c8)])&&fs[_0x83125e(0x19c)](path[_0x83125e(0x1bf)](process[_0x83125e(0x1c2)](),_0x115cbc[_0x83125e(0x1c8)])))_0x5dfa24=path[_0x83125e(0x1bf)](process['cwd'](),_0x115cbc[_0x83125e(0x1c8)]),_0x49fc7a[_0x83125e(0x175)](_0x2d5803,0x2);else{if(!helper[_0x83125e(0x12d)](_0x115cbc['c'])&&fs[_0x83125e(0x19c)](path['join'](process[_0x83125e(0x1c2)](),_0x115cbc['c'])))_0x5dfa24=path[_0x83125e(0x1bf)](process[_0x83125e(0x1c2)](),_0x115cbc['c']),_0x49fc7a[_0x83125e(0x175)](_0x2d5803,0x2);else{if(fs[_0x83125e(0x19c)](path[_0x83125e(0x1bf)](process[_0x83125e(0x1c2)](),_0xd17d1a[_0x83125e(0x1a5)])))_0x5dfa24=path[_0x83125e(0x1bf)](process['cwd'](),_0xd17d1a[_0x83125e(0x1a5)]);else fs[_0x83125e(0x19c)](path['join'](process[_0x83125e(0x1c2)](),_0xd17d1a['IUIPD']))&&(_0x5dfa24=path[_0x83125e(0x1bf)](process[_0x83125e(0x1c2)](),_0xd17d1a[_0x83125e(0x19a)]));}}return process['env'][_0x83125e(0x1ba)]=_0x5dfa24,_0x5dfa24;},getO11yRerunPattern=()=>{const _0x12ff97=a2_0x16ace4,_0x2eacb0=helper[_0x12ff97(0x161)](process[_0x12ff97(0x1b3)]['BROWSERSTACK_RERUN']);if(_0x2eacb0){const _0x2220a9=process['env'][_0x12ff97(0x13b)],_0x53be5c=[];if(helper['validateRerunTestList'](_0x2220a9)&&!helper['isUndefined'](_0x2220a9)){_0x2220a9[_0x12ff97(0x154)](',')[_0x12ff97(0x1bd)](_0x54e294=>{const _0x5aabd0=_0x12ff97;_0x53be5c[_0x5aabd0(0x183)]('('+_0x54e294[_0x5aabd0(0x184)]()+')');});const _0xa35cfa='^'+_0x53be5c[_0x12ff97(0x1bf)]('|')+'$';return _0xa35cfa;}}return null;},a2_0x41f8c5={};function a2_0x5742(){const _0x44aea7=['PFFnH','isUndefined','stringify','browser','helpers','stack','HRbGU','BOyNe','platforms','../../helpers/logger','testObservability','webkit','codecept.json','skipSessionStatus','fikUJ','BROWSERSTACK_RERUN_TESTS','teardownAll','host','Failed\x20:\x20','getUserWorkerCount','validPlatformsPresent','browserStackCwd','before','Passed\x20:\x20','chrome','FixwE','Playwright','isEmpty','21RKaTIi','err','debug','../../helpers/performance/performance-tester','1020677mhamOx','test','RJipr','info','playwright-firefox','toLowerCase','BrowserStackPlugin','browserName','split','event','failed','errorMessage','11536976iwQDcw','all','NiCta','accessKey','initialize','mMEkc','MNUAF','addConfig','chdir','isTrue','../utils/clientTroubleshootingService','codeceptjs/lib/index.js','printBuildLink','FGYnm','desiredCapabilities','accessibility','parallelsPerPlatform','forEach','../../helpers/test-observability/constants','567244KUWUJZ','testContextOptions','assign','useW3C','spawn','mosvK','../../bin/playwright/accessibility-helper','1687770OBMgnI','--config','HnIdQ','slice','fBHVd','CxXjW','title','WebDriver','10mkZzMz','bootstrapAll','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','nwYFC','gherkin','stop','hubUrl','prepareCapabilities','accessibilityOptions','push','trim','EVENTS','dWotr','format','GjZiM','skipSessionName','../../helpers/accessibility-automation/helper','GCPJF','eyQWv','path','browserWSEndpoint','getPlatformName','now','HIdkn','Agbls','key','result','/wd/hub','XNltr','finalExecution','SDK_SETUP','../../helpers/performance/constants','IUIPD','firefox','existsSync','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','codeceptjs','MqLVZ','handleApp','SDK_CLEANUP','CODECEPT_CUCUMBER','../../helpers/BrowserStackSetup','3098412ttYoYw','AijPh','launchBuild','../../helpers/helper','../../helpers/testhub/testhubHandler','plugins','winstonLogger','29970648YWmUJk','testConfig','findIndex','3237186vGLijz','poPLG','ERFMH','pMyhZ','QyFDz','env','Started\x20:\x20','NskjP','exports','addTests','BROWSERSTACK_TEST_OBSERVABILITY_YML','CODECEPT','USER_CONFIG_DETAILS_PATH','dirname','userName','map','require','join','util','../../helpers/utilities','cwd','process','log','createGroupsOfSuites','replace','profile','config','FRAMEWORKS','1|3|0|4|5|2','printResults','BrowserStackPlugin.js'];a2_0x5742=function(){return _0x44aea7;};return a2_0x5742();}a2_0x41f8c5[a2_0x16ace4(0x144)]='chromium',a2_0x41f8c5['playwright-chromium']='chromium',a2_0x41f8c5[a2_0x16ace4(0x150)]=a2_0x16ace4(0x19b),a2_0x41f8c5['playwright-webkit']=a2_0x16ace4(0x137);function a2_0x343e(_0x41b580,_0x4c6ff1){const _0x57426f=a2_0x5742();return a2_0x343e=function(_0x343e05,_0xcd4afc){_0x343e05=_0x343e05-0x12c;let _0x334c27=_0x57426f[_0x343e05];return _0x334c27;},a2_0x343e(_0x41b580,_0x4c6ff1);}const pwToCodeceptBrowser=a2_0x41f8c5;async function run(_0x5d956f,_0x3b0215,_0x1668e7){const _0x221978=a2_0x16ace4,_0x5d5725={'MqLVZ':function(_0x1bda0e,_0x1f800a,_0x14b6c1,_0x4ec77d){return _0x1bda0e(_0x1f800a,_0x14b6c1,_0x4ec77d);},'BOyNe':function(_0x42a8e8,_0x7e150f){return _0x42a8e8+_0x7e150f;},'fikUJ':function(_0x4da00c,_0x496e01){return _0x4da00c(_0x496e01);},'eyQWv':function(_0x20960b,_0x5341b2,_0x1edc5a){return _0x20960b(_0x5341b2,_0x1edc5a);},'GCPJF':_0x221978(0x130),'FixwE':function(_0x19bcd3){return _0x19bcd3();},'mosvK':_0x221978(0x195),'Agbls':function(_0x744ebe){return _0x744ebe();},'gEhhj':_0x221978(0x13e),'ERFMH':_0x221978(0x143),'fBHVd':_0x221978(0x1b4),'GjZiM':_0x221978(0x1ca),'NskjP':function(_0x142681,_0x4a3181,_0x837a6a){return _0x142681(_0x4a3181,_0x837a6a);},'HnIdQ':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','poPLG':function(_0x1a696e,_0x22e406,_0x492b28){return _0x1a696e(_0x22e406,_0x492b28);},'HIdkn':'Playwright','FGYnm':_0x221978(0x179),'mMEkc':function(_0x337af0,_0x4d7135){return _0x337af0!=_0x4d7135;},'MNUAF':function(_0x53fa07,_0x370428){return _0x53fa07===_0x370428;},'NiCta':function(_0x39cca5,_0x2482d9,_0x1bb99e){return _0x39cca5(_0x2482d9,_0x1bb99e);},'RJipr':_0x221978(0x17e),'tZlyc':function(_0x345ab6,_0x2e8b0c){return _0x345ab6(_0x2e8b0c);},'DxZww':function(_0x1b212f){return _0x1b212f();},'CxXjW':function(_0xb7361b,_0x40f6ab){return _0xb7361b*_0x40f6ab;},'PFFnH':function(_0xe3780c,_0x487411,_0xf0d752){return _0xe3780c(_0x487411,_0xf0d752);},'lWVbg':'browser','pMyhZ':_0x221978(0x166),'daBAp':function(_0x4805df,_0x5c7b63,_0x3ee4d0){return _0x4805df(_0x5c7b63,_0x3ee4d0);},'nwYFC':'root','dWotr':_0x221978(0x1cc),'HRbGU':_0x221978(0x141),'XNltr':function(_0x1cbbc7){return _0x1cbbc7();}};await _0x1668e7[_0x221978(0x15c)](_0x5d956f),await helper[_0x221978(0x1a0)](_0x1668e7[_0x221978(0x1c8)]);if(!_0x1668e7[_0x221978(0x1c8)])return;process[_0x221978(0x1c7)]=_0x5d956f[_0x221978(0x1c7)];_0x5d956f[_0x221978(0x1c7)]&&(process[_0x221978(0x1b3)][_0x221978(0x1c7)]=_0x5d956f['profile']);const _0x7c2ca4=_0x5d5725[_0x221978(0x1b5)](getUserCodeceptJSConfigs,_0x5d956f,_0x3b0215);let _0xe5ee26={};_0x7c2ca4?(logger[_0x221978(0x14f)](_0x221978(0x17c)+_0x7c2ca4),_0xe5ee26=CodeceptJS['config']['load'](_0x7c2ca4)):logger['info'](_0x5d5725[_0x221978(0x174)]);let _0x499de6=![];_0x5d5725[_0x221978(0x1af)](nestedKeyValue,_0xe5ee26,[_0x5d5725[_0x221978(0x18b)],_0x5d5725[_0x221978(0x191)]])&&(_0x499de6=!![]);const _0x284b05=_0x499de6?_0x5d5725[_0x221978(0x191)]:_0x5d5725[_0x221978(0x165)];let _0x5940a3=!_0x499de6?helper[_0x221978(0x16e)](_0x1668e7[_0x221978(0x1c8)]):![];!helper[_0x221978(0x12d)](_0x1668e7[_0x221978(0x1c8)]['accessibilityOptions'])&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x221978(0x12e)](_0x1668e7['config'][_0x221978(0x182)]));let _0xf1fca6=_0x1668e7[_0x221978(0x1c8)][_0x221978(0x167)];_0xf1fca6=_0xf1fca6||_0x5d5725['fikUJ'](checkAccessibilityPlatformConfig,_0x1668e7[_0x221978(0x1c8)]),process[_0x221978(0x1b3)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0xf1fca6;_0xf1fca6&&(_0x5940a3=!_0xf1fca6);_0x5d5725[_0x221978(0x15d)](_0x1668e7[_0x221978(0x1c8)][_0x221978(0x136)],null)?process[_0x221978(0x1b3)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x1668e7[_0x221978(0x1c8)]['testObservability']:process[_0x221978(0x1b3)][_0x221978(0x1b8)]=_0x5d5725[_0x221978(0x15e)](_0x284b05,_0x5d5725[_0x221978(0x191)]);const _0x4d56aa=_0x5d5725[_0x221978(0x15a)](nestedKeyValue,_0xe5ee26,[_0x5d5725[_0x221978(0x14e)]]),_0xcb393e=_0x4d56aa&&!helper[_0x221978(0x147)](_0x4d56aa)?FRAMEWORKS[_0x221978(0x1a2)]:FRAMEWORKS[_0x221978(0x1b9)],_0x852f85=await TestHubHandler[_0x221978(0x1a6)](_0xcb393e,_0x1668e7);_0xf1fca6&&_0x5d5725['tZlyc'](setAccessibilityCapabilities,_0x1668e7[_0x221978(0x1c8)]);const _0x387601={},_0x53893d=[],_0x280aeb=_0x1668e7[_0x221978(0x1c8)][_0x221978(0x168)]||helper[_0x221978(0x13f)](_0x5d956f,_0x3b0215,_0x1668e7[_0x221978(0x1c8)],constants[_0x221978(0x1c9)]['CODECEPT'])||0x1;let _0x3c0320=0x1;if(_0x5d5725['DxZww'](isBrowserstackInfra)){const _0x317b2c=helper['prepareCapabilities'](_0x1668e7[_0x221978(0x1c8)],_0x5940a3,constants[_0x221978(0x1c9)]['CODECEPT']);_0x317b2c[_0x221978(0x169)](_0x520da3=>{helper['setAdditionalCapabilities'](_0x520da3);}),helper[_0x221978(0x140)](_0x1668e7[_0x221978(0x1c8)])?_0x3c0320=_0x5d5725[_0x221978(0x177)](_0x280aeb,_0x1668e7['config'][_0x221978(0x134)]['length']):_0x3c0320=_0x280aeb,_0x317b2c[_0x221978(0x169)](_0xcbe126=>{const _0x1fb38d=_0x221978,_0x58cde6=_0x5d5725[_0x1fb38d(0x133)](helper[_0x1fb38d(0x18f)](_0xcbe126,'_'),'_'+Date[_0x1fb38d(0x190)]()),_0x2864a5=((()=>{const _0x209b60=_0x1fb38d;if(_0x499de6){const _0x402e95=pwToCodeceptBrowser[_0xcbe126[_0x209b60(0x153)]]||_0xcbe126['browserName'],_0x2d6ab8=helper['getPlaywrightUrl'](_0x1668e7[_0x209b60(0x1c8)]),_0x2c1590=Object[_0x209b60(0x16d)]({},_0xcbe126);return _0x5d5725[_0x209b60(0x19f)](processAccessibilityCaps,_0x2c1590,_0x2d6ab8,null),{'browser':_0x402e95,[_0x402e95]:{'browserWSEndpoint':_0x5d5725[_0x209b60(0x133)](_0x2d6ab8,_0x5d5725[_0x209b60(0x13a)](encodeURIComponent,JSON[_0x209b60(0x12e)](_0x2c1590)))}};}const _0x1518a1={};return _0x1518a1[_0x209b60(0x166)]=_0xcbe126,_0x1518a1['user']=_0x1668e7[_0x209b60(0x1c8)][_0x209b60(0x1bc)],_0x1518a1[_0x209b60(0x193)]=_0x1668e7[_0x209b60(0x1c8)][_0x209b60(0x15b)],_0x1518a1;})()),_0x1645b8=_0x5d5725[_0x1fb38d(0x18c)](nestedKeyValue,_0xe5ee26,[_0x5d5725[_0x1fb38d(0x18b)],_0x284b05]);_0x387601[_0x58cde6]=_0x1645b8?helper['mergeDeep'](_0x2864a5,_0x1645b8):_0x2864a5;if(_0x499de6)_0x387601[_0x58cde6][_0x1fb38d(0x12f)]=pwToCodeceptBrowser[_0xcbe126['browserName']]||_0xcbe126[_0x1fb38d(0x153)];else{_0x387601[_0x58cde6][_0x1fb38d(0x12f)]=_0xcbe126[_0x1fb38d(0x153)]||_0x2864a5[_0x1fb38d(0x12f)];if(_0x5d5725[_0x1fb38d(0x145)](isBrowserstackInfra)){_0x387601[_0x58cde6][_0x1fb38d(0x13d)]=constants[_0x1fb38d(0x180)][_0x1fb38d(0x1c6)](_0x5d5725[_0x1fb38d(0x170)],'')[_0x1fb38d(0x1c6)](/https?:\/\//,'');;_0x387601[_0x58cde6][_0x1fb38d(0x18d)]=_0x5d5725[_0x1fb38d(0x170)];}}_0x53893d[_0x1fb38d(0x183)](_0x58cde6);});}else{_0x3c0320=0x1;if(_0x499de6){const _0xbb2925=_0x5d5725[_0x221978(0x12c)](nestedKeyValue,_0xe5ee26,[_0x5d5725[_0x221978(0x18b)],_0x284b05,_0x5d5725['lWVbg']]),_0x658423=_0x5d5725[_0x221978(0x1b5)](nestedKeyValue,_0xe5ee26,[_0x5d5725[_0x221978(0x18b)],_0x284b05,_0xbb2925]);if(_0x658423&&_0x658423[_0x221978(0x18e)]){const _0x39a6d3={};_0x39a6d3[_0x221978(0x134)]=[],_0x658423['browserWSEndpoint']=helper[_0x221978(0x181)](Object['assign']({},_0x1668e7[_0x221978(0x1c8)],_0x39a6d3),null,_0xcb393e[_0x221978(0x151)](),null,null,_0x658423['browserWSEndpoint']);}}else{const _0xb2acf9={};_0xb2acf9['platforms']=[],_0xe5ee26[_0x5d5725[_0x221978(0x18b)]][_0x284b05][_0x5d5725[_0x221978(0x1b1)]]=helper[_0x221978(0x181)](Object[_0x221978(0x16d)]({},_0x1668e7[_0x221978(0x1c8)],_0xb2acf9),null,_0xcb393e[_0x221978(0x151)](),_0x5d5725['daBAp'](nestedKeyValue,_0xe5ee26,[_0x5d5725['GCPJF'],_0x284b05,_0x5d5725[_0x221978(0x1b1)]])||{},null,null);}_0x387601[_0x5d5725[_0x221978(0x17d)]]=_0xe5ee26,_0x53893d[_0x221978(0x183)](_0x5d5725[_0x221978(0x17d)]);}const _0x16548f={};_0x16548f[_0x221978(0x1ac)]=_0x7c2ca4;const _0x150812=_0x16548f,_0x1a577e=path[_0x221978(0x1bf)](__dirname,_0x5d5725[_0x221978(0x186)]),_0x372970=process[_0x221978(0x1c2)]();process[_0x221978(0x1b3)][_0x5d5725[_0x221978(0x132)]]=_0x372970,process[_0x221978(0x160)](path[_0x221978(0x1bb)](_0x7c2ca4));const _0x524d22=new CodeceptJS['Workers'](null,_0x150812),_0x2e801a=_0x524d22[_0x221978(0x1c5)](_0x280aeb),_0x1c362c=testOpsHelper['isTestObservabilitySession'](),_0x4711da=_0x53893d['map'](_0x179948=>{const _0xf97135=_0x221978,_0x14f331={};_0x14f331[_0xf97135(0x146)]=_0x387601[_0x179948];const _0x241449={};_0x241449[_0xf97135(0x179)]=_0x387601[_0x179948];const _0x5a1f0b=_0x499de6?_0x14f331:_0x241449,_0x269255=_0x5d5725[_0xf97135(0x192)](getO11yRerunPattern),_0x20d98b={};_0x20d98b['helpers']=_0x5a1f0b;const _0x31c5ec={};_0x31c5ec[_0xf97135(0x1be)]=_0x1a577e,_0x31c5ec['enabled']=!![],_0x31c5ec[_0xf97135(0x189)]=_0x1668e7['config'][_0xf97135(0x16c)][_0xf97135(0x189)],_0x31c5ec[_0xf97135(0x139)]=_0x1668e7['config'][_0xf97135(0x16c)][_0xf97135(0x139)],_0x31c5ec['testObservability']=_0x1c362c,_0x31c5ec['frameworkName']=_0xcb393e;const _0x43dab3={};_0x43dab3[_0xf97135(0x152)]=_0x31c5ec;const _0x41f342={};return _0x41f342[_0xf97135(0x1a9)]=_0x43dab3,helper['mergeDeep']({},_0xe5ee26,_0x5d5725['Agbls'](isBrowserstackInfra)?_0x20d98b:{},_0x269255?{'grep':_0x269255}:{},_0x41f342);});for(const _0x3e929c of _0x4711da){for(const _0x40608f of _0x2e801a){const _0x54a639=_0x524d22[_0x221978(0x16f)]();_0x54a639[_0x221978(0x1b7)](_0x40608f),_0x54a639[_0x221978(0x15f)](_0x3e929c);const _0x45d8f4={};_0x45d8f4['config']=_0x7c2ca4,_0x54a639['addOptions'](Object[_0x221978(0x16d)](_0x45d8f4,_0x5d956f));}}_0x524d22['on'](CodeceptJS[_0x221978(0x155)][_0x221978(0x14d)][_0x221978(0x156)],(_0x29e7e3,_0x59dab5)=>{const _0x58fae1=_0x221978;console[_0x58fae1(0x1c4)](_0x5d5725['gEhhj'],_0x29e7e3[_0x58fae1(0x178)]);const _0xf71fbf={[_0x29e7e3[_0x58fae1(0x178)]]:_0x29e7e3[_0x58fae1(0x149)][_0x58fae1(0x131)]};_testErrorData[_0x58fae1(0x183)](_0xf71fbf);}),_0x524d22['on'](CodeceptJS['event'][_0x221978(0x14d)]['passed'],async _0xa111ec=>{const _0x9071c0=_0x221978;console['log'](_0x5d5725[_0x9071c0(0x1b0)],_0xa111ec[_0x9071c0(0x178)]);}),_0x524d22['on'](CodeceptJS[_0x221978(0x155)][_0x221978(0x14d)][_0x221978(0x142)],async _0x4d0f42=>{const _0x344ffb=_0x221978;console[_0x344ffb(0x1c4)](_0x5d5725[_0x344ffb(0x176)],_0x4d0f42['title']);}),_0x524d22['on'](CodeceptJS[_0x221978(0x155)][_0x221978(0x159)][_0x221978(0x194)],async()=>{const _0x4bd686=_0x221978,_0x1adffd=_0x5d5725[_0x4bd686(0x188)][_0x4bd686(0x154)]('|');let _0x524ea0=0x0;while(!![]){switch(_0x1adffd[_0x524ea0++]){case'0':testOpsHelper[_0x4bd686(0x164)]();continue;case'1':PerformanceTester['start'](PerformanceEvents[_0x4bd686(0x1a1)]);continue;case'2':_0x524d22[_0x4bd686(0x1cb)]();continue;case'3':_0x1668e7[_0x4bd686(0x157)]=_testErrorData;continue;case'4':utilities[_0x4bd686(0x197)](_0x1668e7);continue;case'5':try{await TestHubHandler[_0x4bd686(0x17f)]();}catch(_0x4fe1b2){logger[_0x4bd686(0x14a)](_0x4bd686(0x19d)+util[_0x4bd686(0x187)](_0x4fe1b2));}continue;}break;}});async function _0x3c34ab(){const _0x5c0d7b=_0x221978;try{await _0x524d22[_0x5c0d7b(0x17b)](),await _0x524d22['run']();}finally{process[_0x5c0d7b(0x160)](_0x372970),await _0x524d22[_0x5c0d7b(0x13c)]();}}PerformanceTester['end'](PerformanceEvents[_0x221978(0x198)]),await _0x5d5725[_0x221978(0x196)](_0x3c34ab);}module[a2_0x16ace4(0x1b6)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a3_0x52fb54=a3_0xe081;(function(_0x31aac9,_0x3c4aeb){const _0x535002=a3_0xe081,_0x2af0c6=_0x31aac9();while(!![]){try{const _0x5ecaef=parseInt(_0x535002(0x1c9))/0x1+parseInt(_0x535002(0x1d8))/0x2+-parseInt(_0x535002(0x1c2))/0x3*(parseInt(_0x535002(0x1b7))/0x4)+parseInt(_0x535002(0x1df))/0x5+parseInt(_0x535002(0x19b))/0x6+-parseInt(_0x535002(0x1d3))/0x7*(parseInt(_0x535002(0x1d1))/0x8)+-parseInt(_0x535002(0x1a5))/0x9;if(_0x5ecaef===_0x3c4aeb)break;else _0x2af0c6['push'](_0x2af0c6['shift']());}catch(_0x508c30){_0x2af0c6['push'](_0x2af0c6['shift']());}}}(a3_0x5ed6,0xef5ad));const {isUndefined,nestedKeyValue}=require(a3_0x52fb54(0x19a)),logger=require(a3_0x52fb54(0x1e2))[a3_0x52fb54(0x1ae)],PlaywrightSessionDetails=require(a3_0x52fb54(0x1c4)),{isAccessibilityAutomationSession}=require(a3_0x52fb54(0x1a3)),{getObservabilityLinkedProductName}=require('../../helpers/test-observability/utils'),accessibilityHelper=require('../../helpers/accessibility-automation/helper'),{isBrowserstackInfra}=require(a3_0x52fb54(0x19a)),getOSVersionFromCaps=_0x4d525f=>{const _0x1a7a83=a3_0x52fb54,_0x35070e={};_0x35070e[_0x1a7a83(0x1a7)]='bstack:options',_0x35070e[_0x1a7a83(0x1bf)]='platformVersion',_0x35070e[_0x1a7a83(0x1cd)]=_0x1a7a83(0x1af),_0x35070e[_0x1a7a83(0x1a4)]=_0x1a7a83(0x1e0),_0x35070e['FOhBY']='os_version';const _0x1d2a55=_0x35070e;if(!_0x4d525f)return null;const _0x29bcf9=_0x4d525f[_0x1d2a55['ZTOAB']],_0x3ce241=[_0x1d2a55[_0x1a7a83(0x1bf)],_0x1d2a55[_0x1a7a83(0x1cd)],_0x1d2a55['WYSiI'],_0x1d2a55['FOhBY']];for(const _0x20b391 of _0x3ce241){if(_0x29bcf9&&_0x29bcf9[_0x20b391])return _0x29bcf9[_0x20b391];else{if(_0x4d525f[_0x20b391])return _0x4d525f[_0x20b391];}}return null;};function a3_0x5ed6(){const _0x15e6ae=['bsSessionId','fetchPlatformDetails','1356697ZdXKeV','browserstack_executor','IXHzj','wOcIa','lzUZS','nfQcF','isBrowserSupportedForAccessibility','zDuFA','2229336bzhyug','browserVersion','35qdTULF','KcVHI','shouldPatchExecuteScript','QcekB','constructor','860076nQPocX','browserstack_accessibility_automation_script','desiredCapabilities','Ljpsb','OqHwa','LRGLF','WebDriver','4976770VEHuyU','osVersion','cloudProvider','../../helpers/logger','capabilities','SDwfe','accessibilityPlatform','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','cAEke','caps','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','../../helpers/helper','9454626CAvMBF','includes','getMinVersionForBrowser','__cloud_provider___','platformName','browser_version','browser','get','../../helpers/accessibility-automation/helper','WYSiI','3560355bRsKOV','parse','ZTOAB','latest','fWKnM','\x20browser\x20version\x20','DbQKN','warn','KNjhC','winstonLogger','platform_version','mwCxn','RUPSi','browserName','Qphzz','deviceName','tgrtk','name','2204VFZYJh','string','jLqEC','searchParams','Playwright','platformVersion','XYCvt','dCvnG','Nqsis','isVersionSupported','unknown_grid','8649aaYLhg','on\x20non-BrowserStack\x20infrastructure\x20','../../bin/playwright/sessionDetails','HxNSQ','KtEJZ'];a3_0x5ed6=function(){return _0x15e6ae;};return a3_0x5ed6();}function a3_0xe081(_0x43fefb,_0x335eb9){const _0x5ed6fc=a3_0x5ed6();return a3_0xe081=function(_0xe081eb,_0x1efbf9){_0xe081eb=_0xe081eb-0x193;let _0x2f7b12=_0x5ed6fc[_0xe081eb];return _0x2f7b12;},a3_0xe081(_0x43fefb,_0x335eb9);}exports[a3_0x52fb54(0x1c8)]=_0x120a98=>{const _0x8254eb=a3_0x52fb54,_0x2f60c2={'zDuFA':_0x8254eb(0x1c1),'KNjhC':function(_0x458672,_0x53811d){return _0x458672===_0x53811d;},'HyusR':_0x8254eb(0x1de),'XYCvt':function(_0x5341ca,_0x3fdefd){return _0x5341ca(_0x3fdefd);},'zuMLO':function(_0x33295d,_0x1f7145,_0x4c2ea1){return _0x33295d(_0x1f7145,_0x4c2ea1);},'RUPSi':'config','KtEJZ':_0x8254eb(0x1da),'cAEke':function(_0xa00327,_0x254c8f){return _0xa00327(_0x254c8f);},'DbQKN':function(_0x1ef5dd,_0x30de43){return _0x1ef5dd===_0x30de43;},'Ljpsb':_0x8254eb(0x1bb),'KcVHI':function(_0x204aca,_0x1acf9e,_0x15e9be){return _0x204aca(_0x1acf9e,_0x15e9be);},'nfQcF':_0x8254eb(0x1a1),'wOcIa':'browserWSEndpoint','fWKnM':_0x8254eb(0x198),'jLqEC':function(_0x406a77,_0x41d7a7){return _0x406a77(_0x41d7a7);}};if(!_0x120a98)return null;let _0x3de97d=global[_0x8254eb(0x19e)]||_0x2f60c2[_0x8254eb(0x1d0)];if(_0x2f60c2[_0x8254eb(0x1ad)](_0x120a98[_0x8254eb(0x1d7)][_0x8254eb(0x1b6)],_0x2f60c2['HyusR'])){const _0x1673e5=_0x120a98[_0x8254eb(0x1a1)];if(!_0x1673e5)return null;const _0x23e43d=_0x1673e5[_0x8254eb(0x193)],_0x3b2508=_0x2f60c2[_0x8254eb(0x1bd)](getOSVersionFromCaps,_0x2f60c2['zuMLO'](nestedKeyValue,_0x120a98,[_0x2f60c2[_0x8254eb(0x1b1)],_0x2f60c2[_0x8254eb(0x1c6)]]));return{[_0x3de97d]:{'browser':_0x23e43d[_0x8254eb(0x1b2)],'browser_version':_0x23e43d[_0x8254eb(0x1d2)],'capabilities':_0x23e43d,'platform':_0x23e43d[_0x8254eb(0x19f)],'platform_version':_0x23e43d[_0x8254eb(0x1bc)]||_0x3b2508,'product':_0x2f60c2[_0x8254eb(0x197)](getObservabilityLinkedProductName,_0x23e43d),'session_id':_0x1673e5['sessionId']}};}else{if(_0x2f60c2[_0x8254eb(0x1ab)](_0x120a98[_0x8254eb(0x1d7)][_0x8254eb(0x1b6)],_0x2f60c2[_0x8254eb(0x1db)])){const _0x8a3d85=PlaywrightSessionDetails['getDetails']();_0x3de97d=_0x8a3d85[_0x8254eb(0x1e1)]||_0x3de97d;const _0x3a23b=_0x2f60c2[_0x8254eb(0x1d4)](nestedKeyValue,_0x120a98,[_0x2f60c2[_0x8254eb(0x1b1)],_0x2f60c2[_0x8254eb(0x1ce)],_0x2f60c2[_0x8254eb(0x1cc)]]),_0xdb68c2=_0x3a23b?JSON[_0x8254eb(0x1a6)](new URL(_0x3a23b)[_0x8254eb(0x1ba)][_0x8254eb(0x1a2)](_0x2f60c2[_0x8254eb(0x1a9)])):{};return{[_0x3de97d]:{'browser':_0x8a3d85[_0x8254eb(0x1a1)]||_0xdb68c2[_0x8254eb(0x1b2)],'browser_version':_0x8a3d85['browser_version']||_0xdb68c2[_0x8254eb(0x1a0)],'capabilities':_0xdb68c2,'platform':_0x8a3d85['platform'],'platform_version':_0x8a3d85[_0x8254eb(0x1af)],'product':_0x2f60c2[_0x8254eb(0x1b9)](getObservabilityLinkedProductName,_0xdb68c2),'session_id':_0x8a3d85[_0x8254eb(0x1c7)]}};}}},exports['processWebDriverConfig']=_0x2b5695=>{const _0x234c07=a3_0x52fb54,_0xc4ed9e={'dCvnG':function(_0x2512da){return _0x2512da();},'SDwfe':_0x234c07(0x196),'HxNSQ':function(_0x2c5124,_0x338a33){return _0x2c5124!==_0x338a33;},'LRGLF':_0x234c07(0x1a8),'HNkZQ':function(_0xb61373){return _0xb61373();},'AZyFg':_0x234c07(0x1c3),'QcekB':function(_0xdda3f9,_0x34b4b3){return _0xdda3f9(_0x34b4b3);},'OqHwa':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.'};if(_0xc4ed9e[_0x234c07(0x1be)](isAccessibilityAutomationSession)){const _0x584f3c=_0x2b5695[_0x234c07(0x1a1)],_0x4bd9fe=_0x584f3c['capabilities'];global[_0x234c07(0x195)]=!![];!accessibilityHelper[_0x234c07(0x1cf)](_0x4bd9fe['browserName'])&&(logger[_0x234c07(0x1ac)](_0xc4ed9e[_0x234c07(0x194)]),global[_0x234c07(0x195)]=![]);if(_0xc4ed9e[_0x234c07(0x1c5)](_0x4bd9fe[_0x234c07(0x1d2)],_0xc4ed9e[_0x234c07(0x1dd)])){const _0x152717=_0xc4ed9e['HNkZQ'](isBrowserstackInfra),_0x1969e7=accessibilityHelper[_0x234c07(0x19d)](_0x4bd9fe['browserName'],_0x152717),_0x2f969e=accessibilityHelper['getBrowserDisplayName'](_0x4bd9fe[_0x234c07(0x1b2)]);if(!accessibilityHelper[_0x234c07(0x1c0)](_0x4bd9fe[_0x234c07(0x1d2)],_0x1969e7)){const _0x517fae=_0x152717?'':_0xc4ed9e['AZyFg'];logger[_0x234c07(0x1ac)](_0x234c07(0x199)+_0x2f969e+_0x234c07(0x1aa)+_0x1969e7+'\x20or\x20higher\x20'+_0x517fae+'.'),global[_0x234c07(0x195)]=![];}}!_0xc4ed9e[_0x234c07(0x1d6)](isUndefined,_0x4bd9fe[_0x234c07(0x1b4)])&&(logger[_0x234c07(0x1ac)](_0xc4ed9e[_0x234c07(0x1dc)]),global[_0x234c07(0x195)]=![]);}},exports[a3_0x52fb54(0x1d5)]=_0x75d3e4=>{const _0x3c403e=a3_0x52fb54,_0x4f4b18={};_0x4f4b18[_0x3c403e(0x1cb)]=function(_0x2d484d,_0x692bd5){return _0x2d484d!==_0x692bd5;},_0x4f4b18[_0x3c403e(0x1b3)]=_0x3c403e(0x1b8),_0x4f4b18[_0x3c403e(0x1b5)]=_0x3c403e(0x1ca),_0x4f4b18[_0x3c403e(0x1b0)]=_0x3c403e(0x1d9);const _0x445de6=_0x4f4b18;if(!_0x75d3e4)return![];else{if(_0x445de6['IXHzj'](typeof _0x75d3e4,_0x445de6[_0x3c403e(0x1b3)]))return!![];}return!_0x75d3e4[_0x3c403e(0x19c)](_0x445de6['tgrtk'])&&!_0x75d3e4[_0x3c403e(0x19c)](_0x445de6[_0x3c403e(0x1b0)]);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a4_0x110348=a4_0x90d1;(function(_0x3c9f07,_0x6e63c7){const _0x27cb9d=a4_0x90d1,_0x30c2e8=_0x3c9f07();while(!![]){try{const _0x56cfbb=-parseInt(_0x27cb9d(0x25f))/0x1+-parseInt(_0x27cb9d(0x1dc))/0x2+parseInt(_0x27cb9d(0x1cb))/0x3*(-parseInt(_0x27cb9d(0x1a9))/0x4)+-parseInt(_0x27cb9d(0x195))/0x5+parseInt(_0x27cb9d(0x20b))/0x6+parseInt(_0x27cb9d(0x278))/0x7+parseInt(_0x27cb9d(0x227))/0x8;if(_0x56cfbb===_0x6e63c7)break;else _0x30c2e8['push'](_0x30c2e8['shift']());}catch(_0x152541){_0x30c2e8['push'](_0x30c2e8['shift']());}}}(a4_0x438c,0x4fac4));const path=require(a4_0x110348(0x243)),fs=require('fs'),{v4:uuidv4}=require(a4_0x110348(0x1ec)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require('../../helpers/helper'),testOpsHelper=require('../../helpers/test-observability/utils'),{getTestEnv}=require(a4_0x110348(0x1ae)),{FRAMEWORKS}=require(a4_0x110348(0x1e0)),logger=require('../../helpers/logger')[a4_0x110348(0x25b)],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require(a4_0x110348(0x1f5)),PlaywrightSessionDetails=require(a4_0x110348(0x277)),debug=testOpsHelper['debug'],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require(a4_0x110348(0x267)),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),constants=require(a4_0x110348(0x267)),STATE_PASSED=a4_0x110348(0x1d7),STATE_FAILED=a4_0x110348(0x18b),a4_0x56137e={};a4_0x56137e[a4_0x110348(0x20d)]=a4_0x110348(0x1c3),a4_0x56137e[a4_0x110348(0x264)]=a4_0x110348(0x247),a4_0x56137e['TEST_RUN_SKIPPED']=a4_0x110348(0x1ff),a4_0x56137e[a4_0x110348(0x254)]=a4_0x110348(0x1df),a4_0x56137e[a4_0x110348(0x1fc)]=a4_0x110348(0x207);function a4_0x90d1(_0x29b5eb,_0x44dcf4){const _0x438c16=a4_0x438c();return a4_0x90d1=function(_0x90d1d8,_0x4778a5){_0x90d1d8=_0x90d1d8-0x185;let _0x38774c=_0x438c16[_0x90d1d8];return _0x38774c;},a4_0x90d1(_0x29b5eb,_0x44dcf4);}const TEST_EVENTS=a4_0x56137e,parseEvent=_0x53e8bb=>{const _0x3f36f2=a4_0x110348,_0x113f58={};_0x113f58['hSxfA']=function(_0x1f558f,_0x3530bc){return _0x1f558f<_0x3530bc;},_0x113f58['CSXda']=function(_0x1c5983,_0x432c03){return _0x1c5983===_0x432c03;},_0x113f58[_0x3f36f2(0x194)]=_0x3f36f2(0x253),_0x113f58[_0x3f36f2(0x1dd)]=function(_0x537445,_0x4a4807){return _0x537445===_0x4a4807;},_0x113f58[_0x3f36f2(0x188)]=_0x3f36f2(0x1aa),_0x113f58[_0x3f36f2(0x19d)]=_0x3f36f2(0x24d),_0x113f58['Yutbb']=function(_0x43216b,_0x1aa2e6){return _0x43216b===_0x1aa2e6;},_0x113f58['BEcxB']=_0x3f36f2(0x22d),_0x113f58[_0x3f36f2(0x22e)]=function(_0x17d7e9,_0x1db970){return _0x17d7e9===_0x1db970;},_0x113f58[_0x3f36f2(0x221)]=_0x3f36f2(0x1d8);const _0x1b7256=_0x113f58,_0x4c9086=_0x53e8bb[_0x3f36f2(0x1ca)](/^(.*)Run(.*)$/);if(!_0x4c9086)return null;if(_0x1b7256[_0x3f36f2(0x244)](_0x4c9086['length'],0x3))return null;const _0x6877a1=_0x4c9086[0x1][_0x3f36f2(0x1b9)](),_0x2b238b=_0x4c9086[0x2][_0x3f36f2(0x1b9)]();return{'test':_0x1b7256[_0x3f36f2(0x25e)](_0x6877a1,_0x1b7256['htCtp']),'hook':_0x1b7256[_0x3f36f2(0x1dd)](_0x6877a1,_0x1b7256[_0x3f36f2(0x188)]),'skipped':_0x1b7256[_0x3f36f2(0x25e)](_0x2b238b,_0x1b7256[_0x3f36f2(0x19d)]),'started':_0x1b7256[_0x3f36f2(0x21a)](_0x2b238b,_0x1b7256[_0x3f36f2(0x224)]),'finished':_0x1b7256[_0x3f36f2(0x22e)](_0x2b238b,_0x1b7256[_0x3f36f2(0x221)])};},mockPWBrowserType=_0x530c25=>{const _0x304887=a4_0x110348,_0x945d84={'FMMAY':function(_0x59614b,_0x580141){return _0x59614b===_0x580141;},'WbJOQ':_0x304887(0x259),'mVgqj':function(_0x5dfa77,_0x288570,_0x3ab4aa){return _0x5dfa77(_0x288570,_0x3ab4aa);},'WfmvI':_0x304887(0x1c7),'zgmLg':function(_0x224223,_0x1ed4be){return _0x224223(_0x1ed4be);},'ybUaC':'browserstack','Pxmfu':function(_0x3c325d,_0x2405da,_0x2f0b12){return _0x3c325d(_0x2405da,_0x2f0b12);},'UmJFJ':_0x304887(0x270),'BWvXR':'client','RKIam':'browserType.js','BXlSD':function(_0x1abc6a,_0x2eac47){return _0x1abc6a(_0x2eac47);},'GlBhN':function(_0x5c585c,_0x3dfb1d){return _0x5c585c(_0x3dfb1d);},'vxWyr':_0x304887(0x193),'DZTcZ':_0x304887(0x200),'tnuBT':_0x304887(0x251)},_0x266339=path['join'](_0x945d84[_0x304887(0x26f)],_0x945d84[_0x304887(0x1e4)],_0x945d84['RKIam']),_0x3ba767=_0x945d84[_0x304887(0x23f)](importFileFromPWCore,_0x266339);if(!_0x3ba767){_0x945d84['GlBhN'](debug,_0x945d84[_0x304887(0x21b)]);return;}const _0xc8d3c7=_0x3ba767[_0x304887(0x237)],_0x25f0b0=_0xc8d3c7[_0x304887(0x1c8)];if(_0x25f0b0['obsBrowserTypeMockApplied'])return;const _0x2d6db7=_0x25f0b0[_0x304887(0x200)];Object[_0x304887(0x1db)](_0x25f0b0,_0x945d84[_0x304887(0x231)],{'get':function(){return async function _0x4f053c(_0x383fa5,_0x1a9d47){const _0x3f3063=a4_0x90d1,_0x2e7e23={'JKOZq':function(_0x3fb07a,_0x35b669){const _0x269d43=a4_0x90d1;return _0x945d84[_0x269d43(0x228)](_0x3fb07a,_0x35b669);},'VXLAk':_0x945d84[_0x3f3063(0x18c)]},_0x3b704c=_0x945d84['mVgqj'](nestedKeyValue,_0x383fa5,[_0x945d84[_0x3f3063(0x1a5)]])||_0x383fa5;let _0x64fb1d=null,_0x433462=null;try{[_0x433462,_0x64fb1d]=_0x3b704c?_0x945d84['zgmLg'](parseWSEndpoint,_0x3b704c):[null,null],global['__platformCaps']=_0x64fb1d,logger['debug'](_0x3f3063(0x268)+_0x433462),_0x433462['includes'](Constants[_0x3f3063(0x186)])&&(global[_0x3f3063(0x1b3)]=_0x945d84[_0x3f3063(0x263)]);}catch(_0x6ddabd){logger['debug'](_0x3f3063(0x209)+_0x3b704c+'\x20'+_0x6ddabd);}_0x945d84['Pxmfu'](processAccessibilityCaps,_0x64fb1d,_0x433462);if(global['accessibilityPlatform']){const _0x4a9676=await _0x25f0b0['connectOverCDP'][_0x3f3063(0x1a2)](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0x945d84[_0x3f3063(0x1d6)](encodeURIComponent,JSON[_0x3f3063(0x1b0)](_0x64fb1d))]);return PlaywrightSessionDetails[_0x3f3063(0x1e8)](_0x4a9676,_0x530c25,_0x3b704c),_0x4a9676;}return _0x2d6db7['apply'](this,arguments)[_0x3f3063(0x222)](_0x2871fa=>{const _0x51bea7=_0x3f3063;let _0x1d72e0=_0x383fa5[_0x51bea7(0x1c7)];return _0x2e7e23['JKOZq'](typeof _0x383fa5,_0x2e7e23['VXLAk'])&&(_0x1d72e0=_0x383fa5),PlaywrightSessionDetails[_0x51bea7(0x1e8)](_0x2871fa,_0x530c25,_0x1d72e0),_0x2871fa;});};}});const _0x3039ed=_0x25f0b0[_0x304887(0x251)];Object[_0x304887(0x1db)](_0x25f0b0,_0x945d84[_0x304887(0x204)],{'get':function(){return async function _0x2d9f79(){const _0x3bc3bd=a4_0x90d1;return _0x3039ed[_0x3bc3bd(0x1a2)](this,arguments)[_0x3bc3bd(0x222)](_0xe17259=>{const _0x2a3053=_0x3bc3bd;return PlaywrightSessionDetails[_0x2a3053(0x1e8)](_0xe17259,null),_0xe17259;});};}});};class O11yHelper{[a4_0x110348(0x1e9)]=null;[a4_0x110348(0x208)]=null;[a4_0x110348(0x25c)]=![];[a4_0x110348(0x23e)]=![];constructor(_0x4732fb,_0xbe16c1){const _0x883d55=a4_0x110348,_0x28594a={'cPRXf':_0x883d55(0x233),'zwHJI':function(_0x2fa2b4,_0x7ec1e7){return _0x2fa2b4===_0x7ec1e7;},'uBuKh':'Playwright','ImQaI':function(_0x3c81fe,_0x3dc254){return _0x3c81fe(_0x3dc254);},'rVNKx':function(_0x40621e){return _0x40621e();},'rrOyI':function(_0x190a57){return _0x190a57();}},_0x502e41=_0x28594a[_0x883d55(0x20f)][_0x883d55(0x1d1)]('|');let _0x168124=0x0;while(!![]){switch(_0x502e41[_0x168124++]){case'0':this[_0x883d55(0x1ed)]=new testOpsHelper[(_0x883d55(0x187))]({'cwd':process[_0x883d55(0x1b5)]()},this[_0x883d55(0x22a)][_0x883d55(0x1f0)]);continue;case'1':this['driver']&&_0x28594a[_0x883d55(0x219)](this[_0x883d55(0x1cf)]['constructor'][_0x883d55(0x1b1)],_0x28594a[_0x883d55(0x252)])&&_0x28594a[_0x883d55(0x272)](mockPWBrowserType,null);continue;case'2':this[_0x883d55(0x1cf)]=_0x4732fb;continue;case'3':this[_0x883d55(0x25c)]=_0x28594a[_0x883d55(0x262)](shouldProcessEventForTesthub);continue;case'4':this[_0x883d55(0x23e)]=_0xbe16c1[_0x883d55(0x23e)];continue;case'5':this[_0x883d55(0x22a)]=_0x28594a[_0x883d55(0x24e)](getTestEnv);continue;}break;}}[a4_0x110348(0x1ab)](){const _0x4059a3=a4_0x110348;if(!this[_0x4059a3(0x25c)])return;testOpsHelper[_0x4059a3(0x22b)](),process[_0x4059a3(0x26e)](_0x4059a3(0x206)+process[_0x4059a3(0x25d)]),process['on']('bs:addLog:'+process[_0x4059a3(0x25d)],this[_0x4059a3(0x215)][_0x4059a3(0x1cd)](this));}async[a4_0x110348(0x230)](){const _0x317a56=a4_0x110348;await RequestQueueHandler['getInstance']()[_0x317a56(0x245)]();}async['appendTestItemLog'](_0x407ef4){const _0x10718d=a4_0x110348,_0x456f66={'MxLvw':_0x10718d(0x1a6),'RidCE':function(_0x2a9c1c,_0xa56b94){return _0x2a9c1c(_0xa56b94);}};try{this[_0x10718d(0x208)]&&!this[_0x10718d(0x208)]['markedStatus']&&(_0x407ef4[_0x10718d(0x236)]=this[_0x10718d(0x208)]['hookAnalyticsId']);!_0x407ef4[_0x10718d(0x236)]&&this[_0x10718d(0x1e9)]&&!this[_0x10718d(0x1e9)]['markedStatus']&&(_0x407ef4[_0x10718d(0x18f)]=this[_0x10718d(0x1e9)][_0x10718d(0x242)]);if(_0x407ef4[_0x10718d(0x236)]||_0x407ef4[_0x10718d(0x18f)]){const _0xe627f7={};_0xe627f7[_0x10718d(0x21d)]=_0x456f66[_0x10718d(0x1a0)],_0xe627f7[_0x10718d(0x274)]=[_0x407ef4],await SessionHandler[_0x10718d(0x1fb)](_0xe627f7);}}catch(_0x24c439){_0x456f66[_0x10718d(0x1e1)](debug,_0x10718d(0x1f4)+constants[_0x10718d(0x1c0)]+_0x10718d(0x1b4)+_0x24c439);}}async[a4_0x110348(0x1a1)](_0x411b88){const _0x22b941=a4_0x110348,_0x408c7e={'PEzDu':_0x22b941(0x190),'spwNv':function(_0x470b7b,_0x2ca6ea){return _0x470b7b(_0x2ca6ea);}};if(!this['enabled'])return;const _0x5e781b=this[_0x22b941(0x1a4)](this[_0x22b941(0x1cf)]);try{const _0x25e236={};_0x25e236[_0x22b941(0x1ec)]=_0x411b88,_0x25e236[_0x22b941(0x22c)]=_0x5e781b;const _0x5eb286=_0x25e236,_0x497a87={};_0x497a87[_0x22b941(0x21d)]=_0x408c7e[_0x22b941(0x220)],_0x497a87['test_run']=_0x5eb286,await SessionHandler['uploadEventData'](_0x497a87);}catch(_0x56ad6b){_0x408c7e[_0x22b941(0x199)](debug,_0x22b941(0x18e)+constants[_0x22b941(0x1c0)]+'\x20with\x20error\x20:\x20'+_0x56ad6b);}}[a4_0x110348(0x1a4)](_0x2c9298){const _0xcfd8c5={'VlpPY':function(_0x296c5a,_0x6e6f0){return _0x296c5a(_0x6e6f0);}};return _0xcfd8c5['VlpPY'](fetchPlatformDetails,_0x2c9298);}[a4_0x110348(0x1fa)]=_0x493de5=>{const _0x291dce=a4_0x110348,_0x460b6e={};_0x460b6e[_0x291dce(0x1e5)]=_0x291dce(0x213),_0x460b6e[_0x291dce(0x203)]=_0x291dce(0x1f9);const _0xd8cea3=_0x460b6e;if(!_0x493de5||!_0x493de5[_0x291dce(0x235)])return;[_0xd8cea3[_0x291dce(0x1e5)],_0xd8cea3['RgcLi']][_0x291dce(0x229)](_0x3a4bde=>{const _0x3ed53e=_0x291dce,_0x4b5672=_0x493de5[_0x3ed53e(0x235)][_0x3a4bde];_0x4b5672['forEach'](_0x58ed8e=>{const _0x225b2f=_0x3ed53e;_0x58ed8e[_0x225b2f(0x260)]&&(_0x58ed8e['hookAnalyticsId']=null);});});};[a4_0x110348(0x1c6)](_0x5e6989){const _0x43a891=a4_0x110348,_0x5d4b64={'rThyL':_0x43a891(0x1f6),'tYBtY':function(_0x179db4){return _0x179db4();},'YJwCO':function(_0x5804fe,_0x2c2fa7){return _0x5804fe===_0x2c2fa7;},'WmxfT':_0x43a891(0x1f9),'HXEVP':function(_0x24dc5b){return _0x24dc5b();},'rLRfd':_0x43a891(0x1ce),'lguSd':_0x43a891(0x23a),'jTgMQ':_0x43a891(0x213)};if(!_0x5e6989||!_0x5e6989[_0x43a891(0x235)])return;[_0x5d4b64['rLRfd'],_0x5d4b64['lguSd'],_0x5d4b64[_0x43a891(0x1c2)],_0x5d4b64[_0x43a891(0x214)]][_0x43a891(0x229)](_0xa3927b=>{const _0x37ee06=_0x43a891,_0x2d4dc7={'LiubP':_0x5d4b64[_0x37ee06(0x1ad)],'tGcaC':function(_0x42f5e3){const _0x5b6121=_0x37ee06;return _0x5d4b64[_0x5b6121(0x23b)](_0x42f5e3);},'OFvUg':function(_0x38bdf5,_0x429f82){const _0x2c0833=_0x37ee06;return _0x5d4b64[_0x2c0833(0x196)](_0x38bdf5,_0x429f82);},'hcIjH':_0x5d4b64[_0x37ee06(0x214)],'pcYdq':function(_0x41555f){const _0x35e43f=_0x37ee06;return _0x5d4b64[_0x35e43f(0x275)](_0x41555f);}},_0x6438b8=_0x5e6989['parent'][_0xa3927b]||[];_0x6438b8[_0x37ee06(0x229)](_0x146993=>{const _0x1edcb2=_0x37ee06;if(_0x146993[_0x1edcb2(0x1c9)][_0x1edcb2(0x24c)](_0x2d4dc7[_0x1edcb2(0x18d)]))return;if(!_0x146993[_0x1edcb2(0x260)])_0x146993[_0x1edcb2(0x260)]=_0x2d4dc7[_0x1edcb2(0x20e)](uuidv4);else _0x146993[_0x1edcb2(0x261)]&&_0x2d4dc7['OFvUg'](_0xa3927b,_0x2d4dc7[_0x1edcb2(0x1bb)])&&(_0x146993[_0x1edcb2(0x260)]=_0x2d4dc7[_0x1edcb2(0x258)](uuidv4),delete _0x146993[_0x1edcb2(0x261)]);});}),this[_0x43a891(0x1c6)](_0x5e6989[_0x43a891(0x235)]);}['getHooksForTest'](_0x12fb75){const _0x5019c0=a4_0x110348,_0x169585={};_0x169585[_0x5019c0(0x211)]=_0x5019c0(0x1ce),_0x169585[_0x5019c0(0x223)]=_0x5019c0(0x23a),_0x169585[_0x5019c0(0x1af)]=_0x5019c0(0x213),_0x169585[_0x5019c0(0x1ac)]=_0x5019c0(0x1f9);const _0xd701ed=_0x169585;if(!_0x12fb75||!_0x12fb75[_0x5019c0(0x235)])return[];const _0x457a2a=[];return[_0xd701ed[_0x5019c0(0x211)],_0xd701ed['xPxlE'],_0xd701ed[_0x5019c0(0x1af)],_0xd701ed[_0x5019c0(0x1ac)]][_0x5019c0(0x229)](_0x469cab=>{const _0x1ff897=_0x5019c0,_0x1b6da8=_0x12fb75[_0x1ff897(0x235)][_0x469cab]||[];_0x1b6da8['forEach'](_0x328e40=>{const _0x1e5b29=_0x1ff897;_0x328e40['hookAnalyticsId']&&_0x457a2a[_0x1e5b29(0x1d0)](_0x328e40[_0x1e5b29(0x260)]);});}),[]['concat'](_0x457a2a,this[_0x5019c0(0x1bf)](_0x12fb75[_0x5019c0(0x235)]));}[a4_0x110348(0x24b)](_0x579d22){const _0x6e328c=a4_0x110348,_0x171176=/^"(?<hook>.*)" hook:.*$/,_0x427175=_0x579d22['title'],_0x19058e=_0x427175[_0x6e328c(0x1ca)](_0x171176);if(_0x19058e&&_0x19058e['groups'])return _0x19058e[_0x6e328c(0x189)][_0x6e328c(0x1aa)]['toUpperCase']()['replace']('\x20','_');return null;}[a4_0x110348(0x271)](_0x472ae2){const _0x317d75=a4_0x110348,_0x1465ed={};_0x1465ed['tIraD']=function(_0x5314b8,_0x5d8a2a){return _0x5314b8===_0x5d8a2a;},_0x1465ed[_0x317d75(0x201)]=_0x317d75(0x246),_0x1465ed[_0x317d75(0x1c4)]=_0x317d75(0x19c);const _0x1698fe=_0x1465ed,_0x8f437=path[_0x317d75(0x18a)];if(_0x1698fe['tIraD'](_0x472ae2,null)||_0x1698fe['tIraD'](_0x472ae2,'')||_0x1698fe[_0x317d75(0x25a)](_0x472ae2,_0x8f437)||_0x1698fe['tIraD'](_0x472ae2,path[_0x317d75(0x19b)](_0x472ae2)))return null;try{return fs[_0x317d75(0x266)](path[_0x317d75(0x210)](_0x472ae2,_0x1698fe[_0x317d75(0x201)],_0x1698fe[_0x317d75(0x1c4)])),_0x472ae2;}catch(_0x53ff41){const _0x32aaa8=path['dirname'](_0x472ae2);return this[_0x317d75(0x271)](_0x32aaa8);}}[a4_0x110348(0x198)](_0x5ec378){const _0x5488a8=a4_0x110348,_0x47fa7b={};_0x47fa7b[_0x5488a8(0x225)]=function(_0x354191,_0x505d8b){return _0x354191>_0x505d8b;};const _0x307467=_0x47fa7b;if(_0x5ec378[_0x5488a8(0x19f)])return _0x5ec378[_0x5488a8(0x19f)];if(_0x5ec378['ctx']){const _0x1937cf=_0x5ec378[_0x5488a8(0x1d4)][_0x5488a8(0x1e9)]?this[_0x5488a8(0x198)](_0x5ec378['ctx'][_0x5488a8(0x1e9)]):null;if(_0x1937cf)return _0x1937cf;}if(_0x5ec378[_0x5488a8(0x235)]){const _0x509005=this[_0x5488a8(0x198)](_0x5ec378[_0x5488a8(0x235)])||(_0x5ec378[_0x5488a8(0x235)][_0x5488a8(0x1d4)]&&_0x5ec378[_0x5488a8(0x235)][_0x5488a8(0x1d4)][_0x5488a8(0x1e9)]?this[_0x5488a8(0x198)](_0x5ec378['parent'][_0x5488a8(0x1d4)][_0x5488a8(0x1e9)]):null);if(_0x509005)return _0x509005;_0x5ec378[_0x5488a8(0x235)]['suites']&&_0x307467[_0x5488a8(0x225)](_0x5ec378[_0x5488a8(0x235)]['suites']['length'],0x0)&&_0x5ec378[_0x5488a8(0x235)]['suites'][_0x5488a8(0x229)](_0x43c0f9=>{const _0x51a89c=_0x5488a8,_0x499c9a=_0x43c0f9[_0x51a89c(0x1d4)]?this[_0x51a89c(0x198)](_0x43c0f9[_0x51a89c(0x1d4)]):null;if(_0x499c9a)return _0x499c9a;});}return null;}[a4_0x110348(0x255)](_0x1ee3fd){const _0xd34c83=a4_0x110348,_0x1570af={};_0x1570af[_0xd34c83(0x19e)]=function(_0x277f86,_0x301557){return _0x277f86!==_0x301557;};const _0x4400bc=_0x1570af,_0x5a53ed=[];if(_0x1ee3fd&&_0x1ee3fd[_0xd34c83(0x235)]){let _0x4b8b53=_0x1ee3fd[_0xd34c83(0x235)];while(_0x4b8b53&&_0x4400bc[_0xd34c83(0x19e)](_0x4b8b53[_0xd34c83(0x1c9)],'')){_0x5a53ed[_0xd34c83(0x1d0)](_0x4b8b53[_0xd34c83(0x1c9)]),_0x4b8b53=_0x4b8b53['parent'];}}return _0x5a53ed;}['captureEvent'](_0x45be87,_0x2f47e5,_0x4a899a=undefined){const _0x57b2c3=a4_0x110348,_0x3ea29f={'Niwzh':function(_0x4f987f,_0xaeeeb1){return _0x4f987f(_0xaeeeb1);},'EHqfR':function(_0x218b91){return _0x218b91();},'NNHpW':function(_0x550e0d){return _0x550e0d();},'srkMX':function(_0x3b4f3b){return _0x3b4f3b();},'IRjUt':'util','Twbqa':'err','rchkh':function(_0x3dc250,_0x5ebff5){return _0x3dc250!==_0x5ebff5;},'vktGp':function(_0x3cceef,_0x3353e3){return _0x3cceef!==_0x3353e3;},'kQXRI':_0x57b2c3(0x1ba),'ZLObI':_0x57b2c3(0x23c),'ALmLu':_0x57b2c3(0x18b),'SfAhe':_0x57b2c3(0x1d7),'OcLZk':_0x57b2c3(0x24d),'xJOoK':'javascript','cWHiT':function(_0x44cbe5,_0xb6e88){return _0x44cbe5-_0xb6e88;},'USkJW':function(_0x4acfb7,_0x37e841,_0xecad59,_0x350737,_0x4a2674){return _0x4acfb7(_0x37e841,_0xecad59,_0x350737,_0x4a2674);},'ARhrX':function(_0x1b036a,_0x3f1530){return _0x1b036a!==_0x3f1530;},'itCuq':_0x57b2c3(0x22c),'BJxrr':_0x57b2c3(0x1b7),'jtvjg':_0x57b2c3(0x1fe),'Bcbae':_0x57b2c3(0x1b6),'TxUUT':_0x57b2c3(0x1c1),'QlHtN':'failure_reason_expanded','FxPZE':_0x57b2c3(0x20c),'hcjkb':function(_0x501d7d,_0x41a633){return _0x501d7d===_0x41a633;},'pigPd':_0x57b2c3(0x1d5),'kfCTt':_0x57b2c3(0x249)};if(!this[_0x57b2c3(0x25c)])return;try{if(_0x2f47e5['fn']&&_0x2f47e5['fn'][_0x57b2c3(0x1e7)]()['match'](/browserstack internal helper hook/))return;const _0x1a348c=_0x3ea29f[_0x57b2c3(0x1be)](parseEvent,_0x45be87);if(!_0x1a348c)return;if(_0x1a348c[_0x57b2c3(0x253)]){this[_0x57b2c3(0x1e9)]=_0x2f47e5,this[_0x57b2c3(0x208)]=null;if(_0x1a348c[_0x57b2c3(0x22d)]||_0x1a348c[_0x57b2c3(0x24d)]){_0x2f47e5['startedAt']=new Date(),_0x2f47e5[_0x57b2c3(0x261)]=![];if(!_0x2f47e5[_0x57b2c3(0x242)])_0x2f47e5[_0x57b2c3(0x242)]=_0x3ea29f[_0x57b2c3(0x26d)](uuidv4);else _0x2f47e5['markedStatus']&&(!_0x2f47e5['retryOf']&&(_0x2f47e5[_0x57b2c3(0x23d)]=_0x2f47e5[_0x57b2c3(0x242)]),_0x2f47e5['testAnalyticsId']=_0x3ea29f['NNHpW'](uuidv4));}}else{if(_0x1a348c[_0x57b2c3(0x1aa)]){this['currentHook']=_0x2f47e5;if(_0x1a348c[_0x57b2c3(0x22d)]){_0x2f47e5[_0x57b2c3(0x241)]=new Date(),_0x2f47e5[_0x57b2c3(0x261)]=![];if(!_0x2f47e5['hookAnalyticsId'])_0x2f47e5[_0x57b2c3(0x260)]=_0x3ea29f[_0x57b2c3(0x240)](uuidv4);else _0x2f47e5[_0x57b2c3(0x260)]&&_0x2f47e5[_0x57b2c3(0x261)]&&(_0x2f47e5[_0x57b2c3(0x260)]=_0x3ea29f[_0x57b2c3(0x26d)](uuidv4));}}}if(_0x1a348c[_0x57b2c3(0x1d8)]&&_0x2f47e5[_0x57b2c3(0x261)])return;let _0x155fe5;try{_0x155fe5=this[_0x57b2c3(0x198)](_0x2f47e5);}catch(_0x58e087){logger[_0x57b2c3(0x21e)](_0x57b2c3(0x22f)+_0x58e087),_0x155fe5=null;}const _0x35eedf=_0x3ea29f[_0x57b2c3(0x1be)](require,_0x3ea29f['IRjUt']);let _0x3bbbeb=[];_0x4a899a&&(_0x3bbbeb=[_0x4a899a,_0x3ea29f['Twbqa']]);const _0x307639=_0x3ea29f[_0x57b2c3(0x276)](_0x2f47e5['errorsDetailed'],undefined)?_0x35eedf[_0x57b2c3(0x1e6)](_0x2f47e5[_0x57b2c3(0x238)][0x0]):_0x3ea29f[_0x57b2c3(0x1f2)](_0x4a899a,undefined)?_0x4a899a[_0x57b2c3(0x1e7)]():undefined,_0x2d5260=_0x155fe5?this[_0x57b2c3(0x271)](_0x155fe5):null,_0x51f42d=_0x155fe5?this[_0x57b2c3(0x1ed)][_0x57b2c3(0x1bc)](this[_0x57b2c3(0x198)](_0x2f47e5)):_0x3ea29f[_0x57b2c3(0x1cc)];let _0x58938c=_0x3ea29f[_0x57b2c3(0x1ee)];const _0xe68f87=!_0x1a348c['started']?new Date()[_0x57b2c3(0x250)]():null;if(_0x1a348c[_0x57b2c3(0x1d8)])_0x58938c=_0x4a899a?_0x3ea29f[_0x57b2c3(0x21c)]:_0x3ea29f['SfAhe'],_0x2f47e5[_0x57b2c3(0x261)]=!![];else _0x1a348c[_0x57b2c3(0x24d)]&&(_0x58938c=_0x3ea29f['OcLZk'],_0x2f47e5[_0x57b2c3(0x261)]=!![]);const _0x360ebe={'framework':this[_0x57b2c3(0x23e)],'uuid':_0x2f47e5[_0x57b2c3(0x242)]||_0x2f47e5[_0x57b2c3(0x260)],'name':_0x2f47e5['title'],'body':{'lang':_0x3ea29f['xJOoK'],'code':_0x2f47e5['body']['toString']()},'type':_0x2f47e5[_0x57b2c3(0x1d2)],'scope':_0x2f47e5[_0x57b2c3(0x269)](),'scopes':this[_0x57b2c3(0x255)](_0x2f47e5),'file_name':_0x51f42d,'vc_filepath':_0x2d5260?path[_0x57b2c3(0x1f8)](_0x2d5260,_0x155fe5):null,'location':_0x51f42d,'result':_0x58938c,'failure_reason':_0x307639,'duration_in_ms':_0x2f47e5[_0x57b2c3(0x232)]||(_0x1a348c['finished']||_0x1a348c[_0x57b2c3(0x24d)])?_0x3ea29f['cWHiT'](Date[_0x57b2c3(0x1a3)](),new Date(_0x2f47e5['startedAt'])[_0x57b2c3(0x197)]()):null,'started_at':new Date(_0x2f47e5[_0x57b2c3(0x241)])[_0x57b2c3(0x250)](),'finished_at':_0xe68f87,'failure':testOpsHelper[_0x57b2c3(0x202)][_0x57b2c3(0x1a2)](null,_0x3bbbeb),'failure_type':!_0x307639?null:testOpsHelper[_0x57b2c3(0x24f)](_0x307639),'retry_of':_0x2f47e5[_0x57b2c3(0x23d)]||null,'tags':_0x2f47e5[_0x57b2c3(0x1f3)]||[],'customRerunParam':{'rerun_name':_0x2f47e5[_0x57b2c3(0x269)]()}};_0x3ea29f[_0x57b2c3(0x1d9)](appendTesthubParams,_0x360ebe,_0x45be87,_0x2f47e5,FRAMEWORKS['CODECEPT']);if(_0x1a348c[_0x57b2c3(0x1aa)])[_0x360ebe[_0x57b2c3(0x1a8)],_0x360ebe[_0x57b2c3(0x1b1)]]=[this[_0x57b2c3(0x24b)](_0x2f47e5),_0x2f47e5['ctx'][_0x57b2c3(0x253)]['title']],_0x1a348c[_0x57b2c3(0x1d8)]?_0x3ea29f[_0x57b2c3(0x248)](_0x360ebe['result'],_0x3ea29f[_0x57b2c3(0x21c)])&&(_0x360ebe['result']=_0x3ea29f[_0x57b2c3(0x226)]):_0x360ebe[_0x57b2c3(0x256)]={};else _0x1a348c[_0x57b2c3(0x253)]&&(this[_0x57b2c3(0x1c6)](_0x2f47e5),_0x1a348c[_0x57b2c3(0x24d)]&&this[_0x57b2c3(0x1fa)](_0x2f47e5),(_0x1a348c[_0x57b2c3(0x1d8)]||_0x1a348c['skipped'])&&(_0x360ebe['hooks']=this[_0x57b2c3(0x1bf)](_0x2f47e5)));this[_0x57b2c3(0x1cf)]&&(_0x1a348c[_0x57b2c3(0x22d)]||_0x1a348c[_0x57b2c3(0x24d)])&&(_0x360ebe[_0x3ea29f[_0x57b2c3(0x26a)]]=this[_0x57b2c3(0x1a4)](this['driver']));_0x1a348c[_0x57b2c3(0x253)]&&_0x1a348c[_0x57b2c3(0x1d8)]&&_0x2f47e5[_0x57b2c3(0x1b2)]&&(_0x360ebe[_0x3ea29f['BJxrr']]={'feature':{'name':_0x2f47e5[_0x57b2c3(0x235)][_0x57b2c3(0x191)][_0x57b2c3(0x1b1)],'path':_0x360ebe['file_name'],'description':_0x2f47e5['parent']['comment']},'scenario':{'name':_0x2f47e5[_0x57b2c3(0x1c9)]},'steps':_0x2f47e5['bddSteps']});const _0x182366=_0x360ebe[_0x3ea29f[_0x57b2c3(0x1eb)]][0x0];_0x182366&&(_0x360ebe[_0x3ea29f[_0x57b2c3(0x21f)]]=_0x182366[_0x3ea29f[_0x57b2c3(0x1bd)]],_0x360ebe[_0x3ea29f[_0x57b2c3(0x1b8)]]=_0x182366[_0x3ea29f[_0x57b2c3(0x1d3)]]);if(_0x2f47e5[_0x57b2c3(0x1b2)])for(const _0xcbcd6 of _0x2f47e5['bddSteps']){!_0xcbcd6['finished_at']&&(_0xcbcd6[_0x57b2c3(0x217)]=new Date()[_0x57b2c3(0x250)](),_0x3ea29f[_0x57b2c3(0x26c)](_0xcbcd6['result'],_0x3ea29f[_0x57b2c3(0x1ee)])&&(_0x182366?(_0xcbcd6[_0x57b2c3(0x1de)]=_0x3ea29f[_0x57b2c3(0x21c)],_0xcbcd6[_0x57b2c3(0x1fe)]=_0x182366[_0x3ea29f['TxUUT']][0x0]):_0xcbcd6[_0x57b2c3(0x1de)]=_0x3ea29f['SfAhe']));}const _0x340079={};_0x340079[_0x57b2c3(0x21d)]=_0x1a348c[_0x57b2c3(0x24d)]?TEST_EVENTS[_0x57b2c3(0x264)]:_0x45be87;const _0x5f0ad7=_0x340079;return _0x1a348c[_0x57b2c3(0x1aa)]?_0x5f0ad7[_0x3ea29f[_0x57b2c3(0x1f7)]]=_0x360ebe:_0x5f0ad7[_0x3ea29f[_0x57b2c3(0x1c5)]]=_0x360ebe,_0x5f0ad7;}catch(_0x49138e){logger[_0x57b2c3(0x21e)](_0x57b2c3(0x24a)+_0x45be87+_0x57b2c3(0x1b4)+_0x49138e);}}async[a4_0x110348(0x257)](_0x19cbea,_0x513e68){const _0x348e97=a4_0x110348;if(!this[_0x348e97(0x25c)]||!_0x513e68||!_0x19cbea)return![];try{return await SessionHandler['uploadEventData'](_0x513e68);}catch(_0x4ee046){logger[_0x348e97(0x21e)](_0x348e97(0x216)+_0x19cbea+_0x348e97(0x1b4)+_0x4ee046);}}['initializeBddStep'](_0x134e06){const _0x1996c5=a4_0x110348,_0x4e3269={};_0x4e3269[_0x1996c5(0x1da)]='pending';const _0x4bc5ba=_0x4e3269;return{'id':_0x134e06[_0x1996c5(0x239)],'text':_0x134e06[_0x1996c5(0x20a)],'keyword':_0x134e06['keyword'],'started_at':_0x134e06[_0x1996c5(0x241)][_0x1996c5(0x250)](),'result':_0x4bc5ba[_0x1996c5(0x1da)]};}[a4_0x110348(0x1a7)](_0x34e0c8){const _0x699360=a4_0x110348,_0x44d961={'FkKTR':function(_0x241b8d){return _0x241b8d();}};!this['currentTest'][_0x699360(0x1b2)]&&(this[_0x699360(0x1e9)][_0x699360(0x1b2)]=[]),!_0x34e0c8[_0x699360(0x239)]&&(_0x34e0c8[_0x699360(0x239)]=_0x44d961[_0x699360(0x205)](uuidv4),_0x34e0c8['startedAt']=new Date(),this[_0x699360(0x1e9)][_0x699360(0x1b2)][_0x699360(0x1d0)](this[_0x699360(0x1f1)](_0x34e0c8)));}[a4_0x110348(0x234)](_0x175c89){const _0x28eb6e=a4_0x110348,_0x2b3f64={'ddLNH':function(_0xa33147,_0x1b0c27){return _0xa33147(_0x1b0c27);},'HRmnQ':_0x28eb6e(0x26b),'hadqN':_0x28eb6e(0x23c),'ldLdE':'passed','QvyEI':function(_0x4f0126,_0x2b37b4){return _0x4f0126-_0x2b37b4;}};let _0x1928e9=this[_0x28eb6e(0x1e9)][_0x28eb6e(0x1b2)][_0x28eb6e(0x1fd)](_0x3a35f5=>_0x3a35f5['id']===_0x175c89[_0x28eb6e(0x239)]);_0x2b3f64[_0x28eb6e(0x19a)](isUndefined,_0x1928e9)&&(_0x1928e9=this['initializeBddStep'](_0x175c89)),_0x1928e9['result']=[_0x2b3f64[_0x28eb6e(0x273)],_0x2b3f64[_0x28eb6e(0x212)]][_0x28eb6e(0x24c)](_0x175c89[_0x28eb6e(0x1e2)])?_0x2b3f64[_0x28eb6e(0x218)]:_0x175c89[_0x28eb6e(0x1e2)],_0x1928e9['finished_at']=new Date()['toISOString'](),_0x1928e9['duration']=_0x2b3f64[_0x28eb6e(0x1ef)](Date[_0x28eb6e(0x1a3)](),_0x175c89[_0x28eb6e(0x241)][_0x28eb6e(0x197)]()),_0x1928e9[_0x28eb6e(0x1fe)]=_0x175c89[_0x28eb6e(0x265)]?_0x175c89[_0x28eb6e(0x265)]['message']:null;}}const a4_0x3d7a24={};function a4_0x438c(){const _0x19b1e6=['ybUaC','TEST_RUN_FINISHED','err','statSync','../utils/constants','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','fullTitle','itCuq','success','hcjkb','EHqfR','removeAllListeners','UmJFJ','lib','findGitConfig','ImQaI','HRmnQ','logs','HXEVP','rchkh','../playwright/sessionDetails','854700fNRARO','STATE_FAILED','BROWSERSTACK','PathHelper','mYYYq','groups','sep','failed','WbJOQ','LiubP','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','test_run_uuid','CBTSessionCreated','feature','exports','Not\x20able\x20to\x20import\x20Browser','htCtp','311805dBEvqP','YJwCO','getTime','getRootParentFile','spwNv','ddLNH','dirname','config','fAyOQ','RCrzO','file','MxLvw','sendCBTInfo','apply','now','getCBTInfo','WfmvI','LogCreated','bddStepStart','hook_type','4kVkpVM','hook','start','CtkLt','rThyL','../mocha/test-observability/mochaUtils','WPtJt','stringify','name','bddSteps','__cloud_provider___','\x20with\x20error\x20:\x20','cwd','failure_backtrace','meta','QlHtN','toLowerCase','File\x20path\x20could\x20not\x20be\x20found','hcIjH','prefixTestPath','TxUUT','Niwzh','getHooksForTest','TEST_REPORTING_ANALYTICS','backtrace','jTgMQ','TestRunStarted','iATvD','kfCTt','mapTestHooks','wsEndpoint','prototype','title','match','150243JYFGPf','kQXRI','bind','_beforeAll','driver','push','split','type','FxPZE','ctx','hook_run','zgmLg','passed','finished','USkJW','tMCpv','defineProperty','1159680YmSZFk','OJpAr','result','HookRunStarted','../../helpers/test-observability/constants','RidCE','status','STATE_PASSED','BWvXR','IFAuh','inspect','toString','setupBrowserDetails','currentTest','TEST_EVENTS','jtvjg','uuid','_paths','ZLObI','QvyEI','location_prefix','initializeBddStep','vktGp','tags','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','../../helpers/test-observability/requestQueueHandler','codeceptjs','pigPd','relative','_afterEach','resetSkipTestHooks','uploadEventData','HOOK_RUN_FINISHED','find','failure','TestRunSkipped','connect','BPBDt','failureData','RgcLi','tnuBT','FkKTR','bs:addLog:','HookRunFinished','currentHook','Failed\x20to\x20parse\x20wsendpoint\x20','text','2527782flJqGP','expanded','TEST_RUN_STARTED','tGcaC','cPRXf','join','pzmoH','hadqN','_beforeEach','WmxfT','appendTestItemLog','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','finished_at','ldLdE','zwHJI','Yutbb','vxWyr','ALmLu','event_type','debug','Bcbae','PEzDu','eiXUB','then','xPxlE','BEcxB','BVbNf','SfAhe','4041440QJZyFH','FMMAY','forEach','_testEnv','patchConsoleLogger','integrations','started','EdwJp','failed\x20to\x20get\x20root\x20parent\x20file\x20','stop','DZTcZ','duration','3|4|2|5|0|1','bddStepFinish','parent','hook_run_uuid','BrowserType','errorsDetailed','stepAnalyticsId','_afterAll','tYBtY','pending','retryOf','frameworkName','BXlSD','srkMX','startedAt','testAnalyticsId','path','hSxfA','shutdown','.git','TestRunFinished','ARhrX','test_run','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','getHookType','includes','skipped','rrOyI','getFailureType','toISOString','launch','uBuKh','test','HOOK_RUN_STARTED','getHierarchy','body','fireEvent','pcYdq','string','tIraD','winstonLogger','enabled','pid','CSXda','29955LFwEND','hookAnalyticsId','markedStatus','rVNKx'];a4_0x438c=function(){return _0x19b1e6;};return a4_0x438c();}a4_0x3d7a24['O11yHelper']=O11yHelper,a4_0x3d7a24[a4_0x110348(0x1e3)]=STATE_PASSED,a4_0x3d7a24[a4_0x110348(0x185)]=STATE_FAILED,a4_0x3d7a24[a4_0x110348(0x1ea)]=TEST_EVENTS,module[a4_0x110348(0x192)]=a4_0x3d7a24;
|
|
1
|
+
const a4_0x5b30af=a4_0x55ff;(function(_0x4b2967,_0x1d5465){const _0x3696ef=a4_0x55ff,_0x21b7d3=_0x4b2967();while(!![]){try{const _0x5c5e77=-parseInt(_0x3696ef(0x135))/0x1+-parseInt(_0x3696ef(0x13b))/0x2*(-parseInt(_0x3696ef(0x1bd))/0x3)+parseInt(_0x3696ef(0x1a9))/0x4+parseInt(_0x3696ef(0x13e))/0x5+-parseInt(_0x3696ef(0x222))/0x6*(parseInt(_0x3696ef(0x1e0))/0x7)+-parseInt(_0x3696ef(0x19e))/0x8*(parseInt(_0x3696ef(0x1cb))/0x9)+parseInt(_0x3696ef(0x21f))/0xa;if(_0x5c5e77===_0x1d5465)break;else _0x21b7d3['push'](_0x21b7d3['shift']());}catch(_0x4ee387){_0x21b7d3['push'](_0x21b7d3['shift']());}}}(a4_0x588e,0x29c9d));const path=require('path'),util=require(a4_0x5b30af(0x18c)),fs=require('fs'),{v4:uuidv4}=require(a4_0x5b30af(0x203)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x5b30af(0x12c)),testOpsHelper=require(a4_0x5b30af(0x213)),{getTestEnv}=require(a4_0x5b30af(0x1a5)),{FRAMEWORKS}=require(a4_0x5b30af(0x1f5)),logger=require('../../helpers/logger')[a4_0x5b30af(0x19a)],SessionHandler=require(a4_0x5b30af(0x21a)),RequestQueueHandler=require(a4_0x5b30af(0x1ee)),PlaywrightSessionDetails=require(a4_0x5b30af(0x1fb)),debug=testOpsHelper[a4_0x5b30af(0x1af)],{processAccessibilityCaps}=require(a4_0x5b30af(0x167)),Constants=require('../utils/constants'),{fetchPlatformDetails}=require(a4_0x5b30af(0x1b8)),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),constants=require(a4_0x5b30af(0x187)),STATE_PASSED=a4_0x5b30af(0x19f),STATE_FAILED='failed',a4_0x1b6540={};function a4_0x588e(){const _0x4e480a=['getFailureType','tSofR','mapTestHooks','toLowerCase','../../helpers/test-observability/sessionHandler','gSsnU','_testEnv','nBzME','TestRunStarted','2222570MuYBmc','PathHelper','TEST_RUN_SKIPPED','570QwLioM','HJZmK','cVyVQ','RfLJQ','message','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','QLCAj','logs','fullTitle','failure_backtrace','ctx','suites','file_name','forEach','EPfek','kScjm','File\x20path\x20could\x20not\x20be\x20found','../../helpers/helper','findGitConfig','pEPph','startedAt','TEST_EVENTS','STATE_PASSED','string','afuzn','browserType.js','95942vrINXR','toUpperCase','KtVua','sep','client','apply','1270KQYMjP','accessibilityPlatform','currentTest','912500awOjcH','ZaVNq','getHierarchy','connectOverCDP','CBTSessionCreated','dvDfP','Failed\x20to\x20flush\x20pending\x20hook\x20event\x20','Failed\x20to\x20parse\x20wsendpoint\x20','YejWZ','rQacf','lib','KjDKq','setupBrowserDetails','QGORw','Not\x20able\x20to\x20import\x20Browser','hooks','meta','includes','pending','hook_run_uuid','now','mFTnR','bufferPendingHookEvent','appendTestItemLog','connect','skipped','stringify','_paths','exports','_afterAll','_afterEach','__platformCaps','VgyIc','errorsDetailed','xagnM','failure_reason_expanded','session_id','EaCGk','match','TAQHZ','pIMZM','../playwright/accessibility-helper','relative','TEST_RUN_STARTED','failed\x20to\x20get\x20root\x20parent\x20file\x20','driver','YPLUO','initializeBddStep','HookRunFinished','location_prefix','VuIwS','AtpFh','znqvS','fireEvent','njjHw','expanded','CODECEPT','javascript','eventType','keys','sVGDh','ucPiG','keyword','VOOkp','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','gthsy','ApHUV','replace','then','getRootParentFile','getHookType','dirname','tTRLl','../utils/constants','launch','hlJff','fqSkX','CPsQx','util','bind','event_type','flushPendingHookEvents','concat','getTime','comment','Playwright','getCBTInfo','title','yFDLK','err','stepAnalyticsId','aVXWr','winstonLogger','bs:addLog:','.git','finished','765944UhkvLP','passed','__cloud_provider___','enabled','HookRunStarted','hookAnalyticsId','tags','../mocha/test-observability/mochaUtils','testAnalyticsId','BROWSERSTACK','QzBYI','302936LsYLaB','test','duration','resetSkipTestHooks','wsEndpoint','mwAzu','debug','cwd','statSync','xXXqg','DetPd','status','KNUPm','bHVvA','file','./helper.js','finished_at','hasLiveDriverSession','txJrX','wHQrf','1422JhbVLZ','oxKJs','KknHu','toISOString','zxdhO','BrowserType','OgnPO','result','frameworkName','body','oqqZl','parent','3|2|1|5|4|0','lVcis','27yriuPJ','retryOf','success','KxXaB','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','join','uploadEventData','jrKOR','currentHook','test_run','STATE_FAILED','hook_run','sendCBTInfo','constructor','TEST_REPORTING_ANALYTICS','test_run_uuid','defineProperty','inspect','format','QIndb','prototype','16737MYsUHb','captureEvent','\x20with\x20error\x20:\x20','codeceptjs','HwNLj','DkDVb','aKxoS','pid','pendingHookEvents','SPLwp','shutdown','nVvnY','patchConsoleLogger','taulF','../../helpers/test-observability/requestQueueHandler','markedStatus','getHooksForTest','splice','toString','groups','push','../../helpers/test-observability/constants','_beforeEach','integrations','oTERP','sBFns','uirKU','../playwright/sessionDetails','rPXKz','started','TEST_RUN_FINISHED','cOEiz','obsBrowserTypeMockApplied','DSduO','start','uuid','bddSteps','TestRunFinished','hook_type','qwJfY','hook','IjlGC','failure','O11yHelper','LWvCs','VJBQq','feature','DAYLL','backtrace','text','length','../../helpers/test-observability/utils','XQgTu','prefixTestPath'];a4_0x588e=function(){return _0x4e480a;};return a4_0x588e();}function a4_0x55ff(_0x5e8543,_0x52138d){const _0x588ed7=a4_0x588e();return a4_0x55ff=function(_0x55ffcf,_0x5927e0){_0x55ffcf=_0x55ffcf-0x121;let _0x57b112=_0x588ed7[_0x55ffcf];return _0x57b112;},a4_0x55ff(_0x5e8543,_0x52138d);}a4_0x1b6540[a4_0x5b30af(0x169)]=a4_0x5b30af(0x21e),a4_0x1b6540[a4_0x5b30af(0x1fe)]=a4_0x5b30af(0x205),a4_0x1b6540[a4_0x5b30af(0x221)]='TestRunSkipped',a4_0x1b6540['HOOK_RUN_STARTED']=a4_0x5b30af(0x1a2),a4_0x1b6540['HOOK_RUN_FINISHED']=a4_0x5b30af(0x16e);const TEST_EVENTS=a4_0x1b6540,parseEvent=_0x48bcd2=>{const _0x10eaab=a4_0x5b30af,_0x7fe93b={};_0x7fe93b['rQacf']=function(_0x2f3104,_0x5d1c89){return _0x2f3104<_0x5d1c89;},_0x7fe93b['afuzn']=function(_0x3609dd,_0x2c5a8d){return _0x3609dd===_0x2c5a8d;},_0x7fe93b[_0x10eaab(0x20d)]=_0x10eaab(0x1aa),_0x7fe93b[_0x10eaab(0x21d)]=_0x10eaab(0x208),_0x7fe93b['bHVvA']=_0x10eaab(0x157),_0x7fe93b[_0x10eaab(0x121)]=_0x10eaab(0x1fd),_0x7fe93b[_0x10eaab(0x1bf)]=_0x10eaab(0x19d);const _0x54cfbd=_0x7fe93b,_0x55fb52=_0x48bcd2['match'](/^(.*)Run(.*)$/);if(!_0x55fb52)return null;if(_0x54cfbd[_0x10eaab(0x147)](_0x55fb52['length'],0x3))return null;const _0x55d637=_0x55fb52[0x1][_0x10eaab(0x219)](),_0x136e48=_0x55fb52[0x2][_0x10eaab(0x219)]();return{'test':_0x54cfbd['afuzn'](_0x55d637,_0x54cfbd[_0x10eaab(0x20d)]),'hook':_0x54cfbd[_0x10eaab(0x133)](_0x55d637,_0x54cfbd[_0x10eaab(0x21d)]),'skipped':_0x54cfbd[_0x10eaab(0x133)](_0x136e48,_0x54cfbd[_0x10eaab(0x1b6)]),'started':_0x54cfbd[_0x10eaab(0x133)](_0x136e48,_0x54cfbd[_0x10eaab(0x121)]),'finished':_0x54cfbd[_0x10eaab(0x133)](_0x136e48,_0x54cfbd[_0x10eaab(0x1bf)])};},mockPWBrowserType=_0x41fbd3=>{const _0x4c3ced=a4_0x5b30af,_0x2475d8={'VOOkp':function(_0x3d2c8a,_0x78e773,_0x103fc6){return _0x3d2c8a(_0x78e773,_0x103fc6);},'aBmNH':_0x4c3ced(0x1ad),'Zlsjz':function(_0x5ac768,_0x3dd8f2){return _0x5ac768(_0x3dd8f2);},'rPXKz':'browserstack','DetPd':function(_0x5ca117,_0x451f1c,_0x28ddb1){return _0x5ca117(_0x451f1c,_0x28ddb1);},'eSxPW':function(_0x579037,_0x3d6987){return _0x579037(_0x3d6987);},'fwuOh':function(_0x2400ee,_0x445909){return _0x2400ee===_0x445909;},'mFTnR':_0x4c3ced(0x132),'oxKJs':_0x4c3ced(0x148),'xXXqg':_0x4c3ced(0x139),'KjDKq':_0x4c3ced(0x134),'gowpM':function(_0x24f16b,_0xb1288c){return _0x24f16b(_0xb1288c);},'sVGDh':_0x4c3ced(0x14c),'RlQyP':_0x4c3ced(0x156),'wHQrf':'launch'},_0x1d569a=path[_0x4c3ced(0x1d0)](_0x2475d8[_0x4c3ced(0x1be)],_0x2475d8[_0x4c3ced(0x1b2)],_0x2475d8[_0x4c3ced(0x149)]),_0x27e275=_0x2475d8['gowpM'](importFileFromPWCore,_0x1d569a);if(!_0x27e275){_0x2475d8['eSxPW'](debug,_0x2475d8[_0x4c3ced(0x17a)]);return;}const _0x4e529d=_0x27e275[_0x4c3ced(0x1c2)],_0x320288=_0x4e529d[_0x4c3ced(0x1df)];if(_0x320288[_0x4c3ced(0x200)])return;const _0x56feb9=_0x320288[_0x4c3ced(0x156)];Object[_0x4c3ced(0x1db)](_0x320288,_0x2475d8['RlQyP'],{'get':function(){const _0x360c9c=_0x4c3ced,_0x103907={'nVvnY':function(_0x2f438f,_0x262c61){return _0x2475d8['fwuOh'](_0x2f438f,_0x262c61);},'DSduO':_0x2475d8[_0x360c9c(0x153)]};return async function _0x39f1d5(_0x2cfdbe,_0x421c51){const _0x5bd6af=_0x360c9c,_0x220549=_0x2475d8[_0x5bd6af(0x17d)](nestedKeyValue,_0x2cfdbe,[_0x2475d8['aBmNH']])||_0x2cfdbe;let _0x2a4de5=null,_0x552fec=null;try{[_0x552fec,_0x2a4de5]=_0x220549?_0x2475d8['Zlsjz'](parseWSEndpoint,_0x220549):[null,null],global[_0x5bd6af(0x15d)]=_0x2a4de5,logger['debug'](_0x5bd6af(0x227)+_0x552fec),_0x552fec[_0x5bd6af(0x14f)](Constants[_0x5bd6af(0x1a7)])&&(global[_0x5bd6af(0x1a0)]=_0x2475d8[_0x5bd6af(0x1fc)]);}catch(_0x5d6aac){logger[_0x5bd6af(0x1af)](_0x5bd6af(0x145)+_0x220549+'\x20'+_0x5d6aac);}_0x2475d8[_0x5bd6af(0x1b3)](processAccessibilityCaps,_0x2a4de5,_0x552fec);if(global[_0x5bd6af(0x13c)]){const _0x1742fd=await _0x320288[_0x5bd6af(0x141)][_0x5bd6af(0x13a)](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0x2475d8['eSxPW'](encodeURIComponent,JSON[_0x5bd6af(0x158)](_0x2a4de5))]);return PlaywrightSessionDetails[_0x5bd6af(0x14a)](_0x1742fd,_0x41fbd3,_0x220549),_0x1742fd;}return _0x56feb9[_0x5bd6af(0x13a)](this,arguments)[_0x5bd6af(0x182)](_0x1182f8=>{const _0x38c76a=_0x5bd6af;let _0x5e9df7=_0x2cfdbe[_0x38c76a(0x1ad)];return _0x103907[_0x38c76a(0x1eb)](typeof _0x2cfdbe,_0x103907[_0x38c76a(0x201)])&&(_0x5e9df7=_0x2cfdbe),PlaywrightSessionDetails[_0x38c76a(0x14a)](_0x1182f8,_0x41fbd3,_0x5e9df7),_0x1182f8;});};}});const _0x5cc570=_0x320288[_0x4c3ced(0x188)];Object['defineProperty'](_0x320288,_0x2475d8[_0x4c3ced(0x1bc)],{'get':function(){return async function _0x463567(){const _0x5d8ca8=a4_0x55ff;return _0x5cc570['apply'](this,arguments)[_0x5d8ca8(0x182)](_0x6c0121=>{return PlaywrightSessionDetails['setupBrowserDetails'](_0x6c0121,null),_0x6c0121;});};}});};class O11yHelper{[a4_0x5b30af(0x13d)]=null;[a4_0x5b30af(0x1d3)]=null;[a4_0x5b30af(0x1a1)]=![];['frameworkName']=![];[a4_0x5b30af(0x1e8)]=[];constructor(_0x4447d6,_0x488d3d){const _0x5504c0=a4_0x5b30af,_0x2932d2={'fqSkX':_0x5504c0(0x1c9),'cEhuA':function(_0x386c52,_0x3bc25a){return _0x386c52===_0x3bc25a;},'iRJWa':_0x5504c0(0x193),'JPwWd':function(_0x3e6cc0,_0x1a2b34){return _0x3e6cc0(_0x1a2b34);},'vlhOa':function(_0x5ad5d6){return _0x5ad5d6();},'vrgEV':function(_0x30399c){return _0x30399c();}},_0x48f317=_0x2932d2[_0x5504c0(0x18a)]['split']('|');let _0x9fa15d=0x0;while(!![]){switch(_0x48f317[_0x9fa15d++]){case'0':this[_0x5504c0(0x16b)]&&_0x2932d2['cEhuA'](this[_0x5504c0(0x16b)][_0x5504c0(0x1d8)]['name'],_0x2932d2['iRJWa'])&&_0x2932d2['JPwWd'](mockPWBrowserType,null);continue;case'1':this[_0x5504c0(0x16b)]=_0x4447d6;continue;case'2':this[_0x5504c0(0x1c5)]=_0x488d3d[_0x5504c0(0x1c5)];continue;case'3':this['enabled']=_0x2932d2['vlhOa'](shouldProcessEventForTesthub);continue;case'4':this[_0x5504c0(0x159)]=new testOpsHelper[(_0x5504c0(0x220))]({'cwd':process[_0x5504c0(0x1b0)]()},this[_0x5504c0(0x21c)][_0x5504c0(0x16f)]);continue;case'5':this[_0x5504c0(0x21c)]=_0x2932d2['vrgEV'](getTestEnv);continue;}break;}}[a4_0x5b30af(0x1ba)](){const _0x253d27=a4_0x5b30af,_0x2b8c0c={'aVXWr':function(_0x142593,_0x22baa1){return _0x142593(_0x22baa1);}};if(!this[_0x253d27(0x16b)])return![];try{const _0x5aac8b=_0x2b8c0c[_0x253d27(0x199)](fetchPlatformDetails,this['driver']);if(!_0x5aac8b)return![];const _0x1b5417=Object[_0x253d27(0x179)](_0x5aac8b)[0x0];return!!(_0x1b5417&&_0x5aac8b[_0x1b5417]&&_0x5aac8b[_0x1b5417][_0x253d27(0x162)]);}catch(_0x18d27d){return![];}}[a4_0x5b30af(0x154)](_0x1e45e4,_0x584a0f){const _0x31facd=a4_0x5b30af;if(!_0x584a0f)return;const _0x1689b6={};_0x1689b6[_0x31facd(0x178)]=_0x1e45e4,_0x1689b6['uploadData']=_0x584a0f,this['pendingHookEvents'][_0x31facd(0x1f4)](_0x1689b6);}async[a4_0x5b30af(0x18f)](){const _0x2b6296=a4_0x5b30af,_0x57c7b7={};_0x57c7b7[_0x2b6296(0x1ed)]=function(_0x48aa31,_0x29b019){return _0x48aa31&&_0x29b019;};const _0x498f08=_0x57c7b7;if(!this[_0x2b6296(0x1e8)][_0x2b6296(0x212)])return;if(!this[_0x2b6296(0x1ba)]())return;const _0x37260f=this[_0x2b6296(0x194)](this[_0x2b6296(0x16b)]),_0xd64e89=this[_0x2b6296(0x1e8)][_0x2b6296(0x1f1)](0x0,this['pendingHookEvents'][_0x2b6296(0x212)]);for(const {eventType:_0xde9cb6,uploadData:_0x24bfbb}of _0xd64e89){try{const _0x38beb5=_0x24bfbb[_0x2b6296(0x1d6)]||_0x24bfbb[_0x2b6296(0x1d4)];_0x498f08[_0x2b6296(0x1ed)](_0x38beb5,_0x37260f)&&(_0x38beb5[_0x2b6296(0x1f7)]=_0x37260f),await this[_0x2b6296(0x173)](_0xde9cb6,_0x24bfbb);}catch(_0x5c3354){logger[_0x2b6296(0x1af)](_0x2b6296(0x144)+_0xde9cb6+':\x20'+util[_0x2b6296(0x1dd)](_0x5c3354));}}}[a4_0x5b30af(0x202)](){const _0x4106e6=a4_0x5b30af;if(!this[_0x4106e6(0x1a1)])return;testOpsHelper[_0x4106e6(0x1ec)](),process['removeAllListeners'](_0x4106e6(0x19b)+process[_0x4106e6(0x1e7)]),process['on'](_0x4106e6(0x19b)+process[_0x4106e6(0x1e7)],this[_0x4106e6(0x155)][_0x4106e6(0x18d)](this));}async['stop'](){const _0x4389f3=a4_0x5b30af;await RequestQueueHandler['getInstance']()[_0x4389f3(0x1ea)]();}async['appendTestItemLog'](_0xf6adf1){const _0x2b06e2=a4_0x5b30af,_0x143361={'znqvS':'LogCreated','zxdhO':function(_0x3d2e56,_0x26eb13){return _0x3d2e56(_0x26eb13);}};try{this[_0x2b06e2(0x1d3)]&&!this['currentHook'][_0x2b06e2(0x1ef)]&&(_0xf6adf1[_0x2b06e2(0x151)]=this[_0x2b06e2(0x1d3)]['hookAnalyticsId']);!_0xf6adf1[_0x2b06e2(0x151)]&&this['currentTest']&&!this[_0x2b06e2(0x13d)][_0x2b06e2(0x1ef)]&&(_0xf6adf1['test_run_uuid']=this[_0x2b06e2(0x13d)][_0x2b06e2(0x1a6)]);if(_0xf6adf1[_0x2b06e2(0x151)]||_0xf6adf1[_0x2b06e2(0x1da)]){const _0xb39fab={};_0xb39fab[_0x2b06e2(0x18e)]=_0x143361[_0x2b06e2(0x172)],_0xb39fab[_0x2b06e2(0x122)]=[_0xf6adf1],await SessionHandler[_0x2b06e2(0x1d1)](_0xb39fab);}}catch(_0x4bff29){_0x143361[_0x2b06e2(0x1c1)](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20'+constants['TEST_REPORTING_ANALYTICS']+_0x2b06e2(0x1e2)+_0x4bff29);}}async[a4_0x5b30af(0x1d7)](_0x4bd1d2){const _0x223989=a4_0x5b30af,_0x35b12b={'EPfek':_0x223989(0x142),'pIMZM':function(_0x5722b5,_0x2fe3ad){return _0x5722b5(_0x2fe3ad);}};if(!this['enabled'])return;const _0x1732fe=this[_0x223989(0x194)](this[_0x223989(0x16b)]);try{const _0x477ba3={};_0x477ba3[_0x223989(0x203)]=_0x4bd1d2,_0x477ba3['integrations']=_0x1732fe;const _0x585e37=_0x477ba3,_0x399cdf={};_0x399cdf[_0x223989(0x18e)]=_0x35b12b[_0x223989(0x129)],_0x399cdf[_0x223989(0x1d4)]=_0x585e37,await SessionHandler[_0x223989(0x1d1)](_0x399cdf);}catch(_0x1cd918){_0x35b12b[_0x223989(0x166)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20'+constants[_0x223989(0x1d9)]+'\x20with\x20error\x20:\x20'+_0x1cd918);}}[a4_0x5b30af(0x194)](_0x3509f7){const _0x1c7b83={'TcGXO':function(_0x56c427,_0x57d64e){return _0x56c427(_0x57d64e);}};return _0x1c7b83['TcGXO'](fetchPlatformDetails,_0x3509f7);}[a4_0x5b30af(0x1ac)]=_0x1cd941=>{const _0xd3304b=a4_0x5b30af,_0x509a70={};_0x509a70[_0xd3304b(0x12a)]=_0xd3304b(0x1f6),_0x509a70['HJZmK']=_0xd3304b(0x15c);const _0x28beb7=_0x509a70;if(!_0x1cd941||!_0x1cd941['parent'])return;[_0x28beb7[_0xd3304b(0x12a)],_0x28beb7[_0xd3304b(0x223)]][_0xd3304b(0x128)](_0x12299b=>{const _0x2d9bdd=_0xd3304b,_0x24c044=_0x1cd941['parent'][_0x12299b];_0x24c044[_0x2d9bdd(0x128)](_0xa365ea=>{const _0x19f32e=_0x2d9bdd;_0xa365ea[_0x19f32e(0x1a3)]&&(_0xa365ea[_0x19f32e(0x1a3)]=null);});});};[a4_0x5b30af(0x218)](_0x2c6e15){const _0x21af3a=a4_0x5b30af,_0x11f4ad={'gSsnU':_0x21af3a(0x1e3),'DAYLL':function(_0x446389){return _0x446389();},'vPutj':function(_0x3c3728,_0x3072ca){return _0x3c3728===_0x3072ca;},'uirKU':_0x21af3a(0x15c),'IjlGC':'_beforeAll','lZsjY':'_afterAll','yFDLK':_0x21af3a(0x1f6)};if(!_0x2c6e15||!_0x2c6e15['parent'])return;[_0x11f4ad[_0x21af3a(0x209)],_0x11f4ad['lZsjY'],_0x11f4ad[_0x21af3a(0x196)],_0x11f4ad[_0x21af3a(0x1fa)]][_0x21af3a(0x128)](_0x476aae=>{const _0x3054d9=_0x21af3a,_0x47de99={'tTRLl':_0x11f4ad[_0x3054d9(0x21b)],'RfLJQ':function(_0x36a555){const _0x167840=_0x3054d9;return _0x11f4ad[_0x167840(0x20f)](_0x36a555);},'jrKOR':function(_0x4f21a8,_0x55bb13){return _0x11f4ad['vPutj'](_0x4f21a8,_0x55bb13);},'tSofR':_0x11f4ad[_0x3054d9(0x1fa)]},_0x16e6bd=_0x2c6e15[_0x3054d9(0x1c8)][_0x476aae]||[];_0x16e6bd[_0x3054d9(0x128)](_0x50312a=>{const _0x5736ae=_0x3054d9;if(_0x50312a[_0x5736ae(0x195)][_0x5736ae(0x14f)](_0x47de99[_0x5736ae(0x186)]))return;if(!_0x50312a[_0x5736ae(0x1a3)])_0x50312a[_0x5736ae(0x1a3)]=_0x47de99['RfLJQ'](uuidv4);else _0x50312a[_0x5736ae(0x1ef)]&&_0x47de99[_0x5736ae(0x1d2)](_0x476aae,_0x47de99[_0x5736ae(0x217)])&&(_0x50312a['hookAnalyticsId']=_0x47de99[_0x5736ae(0x225)](uuidv4),delete _0x50312a[_0x5736ae(0x1ef)]);});}),this[_0x21af3a(0x218)](_0x2c6e15['parent']);}['getHooksForTest'](_0x2f9618){const _0xfd6d2d=a4_0x5b30af,_0x1662de={};_0x1662de['VuIwS']='_beforeAll',_0x1662de[_0xfd6d2d(0x1ff)]=_0xfd6d2d(0x15b),_0x1662de[_0xfd6d2d(0x12e)]=_0xfd6d2d(0x1f6),_0x1662de[_0xfd6d2d(0x163)]='_afterEach';const _0x2eb298=_0x1662de;if(!_0x2f9618||!_0x2f9618[_0xfd6d2d(0x1c8)])return[];const _0x223d12=[];return[_0x2eb298[_0xfd6d2d(0x170)],_0x2eb298[_0xfd6d2d(0x1ff)],_0x2eb298['pEPph'],_0x2eb298[_0xfd6d2d(0x163)]][_0xfd6d2d(0x128)](_0x40ec9a=>{const _0x2caf5b=_0xfd6d2d,_0x2d9684=_0x2f9618[_0x2caf5b(0x1c8)][_0x40ec9a]||[];_0x2d9684[_0x2caf5b(0x128)](_0x4705fa=>{const _0xae6477=_0x2caf5b;_0x4705fa[_0xae6477(0x1a3)]&&_0x223d12[_0xae6477(0x1f4)](_0x4705fa[_0xae6477(0x1a3)]);});}),[][_0xfd6d2d(0x190)](_0x223d12,this['getHooksForTest'](_0x2f9618[_0xfd6d2d(0x1c8)]));}[a4_0x5b30af(0x184)](_0x176690){const _0x405dfa=a4_0x5b30af,_0x2abd79=/^"(?<hook>.*)" hook:.*$/,_0x3e9794=_0x176690[_0x405dfa(0x195)],_0x13e522=_0x3e9794[_0x405dfa(0x164)](_0x2abd79);if(_0x13e522&&_0x13e522[_0x405dfa(0x1f3)])return _0x13e522[_0x405dfa(0x1f3)]['hook'][_0x405dfa(0x136)]()[_0x405dfa(0x181)]('\x20','_');return null;}[a4_0x5b30af(0x12d)](_0x48c50f){const _0x3f7aef=a4_0x5b30af,_0xcce20f={};_0xcce20f[_0x3f7aef(0x174)]=function(_0x448a4d,_0x4523c9){return _0x448a4d===_0x4523c9;},_0xcce20f[_0x3f7aef(0x165)]=function(_0x50df1b,_0x29b77a){return _0x50df1b===_0x29b77a;},_0xcce20f[_0x3f7aef(0x143)]=function(_0x32a8d4,_0x26b6e8){return _0x32a8d4===_0x26b6e8;},_0xcce20f[_0x3f7aef(0x189)]=function(_0x3e48ab,_0x4be4c8){return _0x3e48ab===_0x4be4c8;},_0xcce20f[_0x3f7aef(0x16c)]=_0x3f7aef(0x19c),_0xcce20f[_0x3f7aef(0x180)]='config';const _0x9281a=_0xcce20f,_0x258455=path[_0x3f7aef(0x138)];if(_0x9281a[_0x3f7aef(0x174)](_0x48c50f,null)||_0x9281a[_0x3f7aef(0x165)](_0x48c50f,'')||_0x9281a['dvDfP'](_0x48c50f,_0x258455)||_0x9281a[_0x3f7aef(0x189)](_0x48c50f,path['dirname'](_0x48c50f)))return null;try{return fs[_0x3f7aef(0x1b1)](path['join'](_0x48c50f,_0x9281a[_0x3f7aef(0x16c)],_0x9281a['ApHUV'])),_0x48c50f;}catch(_0x37999a){const _0x2e6f21=path[_0x3f7aef(0x185)](_0x48c50f);return this[_0x3f7aef(0x12d)](_0x2e6f21);}}[a4_0x5b30af(0x183)](_0x1bed5c){const _0x57bc51=a4_0x5b30af,_0x40b353={};_0x40b353['vqqCl']=function(_0x3d7b10,_0x586793){return _0x3d7b10>_0x586793;};const _0x1deac9=_0x40b353;if(_0x1bed5c[_0x57bc51(0x1b7)])return _0x1bed5c['file'];if(_0x1bed5c[_0x57bc51(0x125)]){const _0x24876b=_0x1bed5c[_0x57bc51(0x125)][_0x57bc51(0x13d)]?this[_0x57bc51(0x183)](_0x1bed5c[_0x57bc51(0x125)][_0x57bc51(0x13d)]):null;if(_0x24876b)return _0x24876b;}if(_0x1bed5c[_0x57bc51(0x1c8)]){const _0x426d30=this[_0x57bc51(0x183)](_0x1bed5c['parent'])||(_0x1bed5c['parent'][_0x57bc51(0x125)]&&_0x1bed5c[_0x57bc51(0x1c8)][_0x57bc51(0x125)][_0x57bc51(0x13d)]?this[_0x57bc51(0x183)](_0x1bed5c['parent'][_0x57bc51(0x125)][_0x57bc51(0x13d)]):null);if(_0x426d30)return _0x426d30;_0x1bed5c[_0x57bc51(0x1c8)][_0x57bc51(0x126)]&&_0x1deac9['vqqCl'](_0x1bed5c['parent'][_0x57bc51(0x126)][_0x57bc51(0x212)],0x0)&&_0x1bed5c[_0x57bc51(0x1c8)][_0x57bc51(0x126)]['forEach'](_0x223f96=>{const _0x3028f2=_0x57bc51,_0x271761=_0x223f96['ctx']?this[_0x3028f2(0x183)](_0x223f96[_0x3028f2(0x125)]):null;if(_0x271761)return _0x271761;});}return null;}[a4_0x5b30af(0x140)](_0xa18518){const _0x1b3723=a4_0x5b30af,_0x1884f2={};_0x1884f2[_0x1b3723(0x20c)]=function(_0x56d4e7,_0x4f494c){return _0x56d4e7!==_0x4f494c;};const _0x3d90e9=_0x1884f2,_0x4216ea=[];if(_0xa18518&&_0xa18518[_0x1b3723(0x1c8)]){let _0x19a392=_0xa18518[_0x1b3723(0x1c8)];while(_0x19a392&&_0x3d90e9[_0x1b3723(0x20c)](_0x19a392['title'],'')){_0x4216ea[_0x1b3723(0x1f4)](_0x19a392[_0x1b3723(0x195)]),_0x19a392=_0x19a392['parent'];}}return _0x4216ea;}[a4_0x5b30af(0x1e1)](_0x19bf98,_0x4543e0,_0x218db7=undefined){const _0x45e81b=a4_0x5b30af,_0x2932c8={'aKxoS':function(_0x2c703c,_0x4d09e1){return _0x2c703c(_0x4d09e1);},'cVyVQ':function(_0x4ff0ff){return _0x4ff0ff();},'mwAzu':function(_0x3cb320){return _0x3cb320();},'oqqZl':function(_0x1f9943){return _0x1f9943();},'ZaVNq':_0x45e81b(0x197),'SPLwp':function(_0xbac029,_0x12d956){return _0xbac029!==_0x12d956;},'txJrX':function(_0x561b5f,_0x47b498){return _0x561b5f!==_0x47b498;},'gthsy':_0x45e81b(0x12b),'KxXaB':_0x45e81b(0x150),'AtpFh':'failed','HwNLj':_0x45e81b(0x19f),'DkDVb':_0x45e81b(0x157),'vzCZD':_0x45e81b(0x177),'QIndb':function(_0x18b6df,_0x3c0066){return _0x18b6df-_0x3c0066;},'KtVua':function(_0x160fd0,_0x11c948,_0x267f93,_0x1fe683,_0x819113){return _0x160fd0(_0x11c948,_0x267f93,_0x1fe683,_0x819113);},'OgnPO':function(_0x28f5a3,_0x598990){return _0x28f5a3!==_0x598990;},'lVcis':_0x45e81b(0x1f7),'XQgTu':_0x45e81b(0x14e),'CPsQx':_0x45e81b(0x20a),'KPDmk':_0x45e81b(0x124),'KNUPm':_0x45e81b(0x210),'VgyIc':_0x45e81b(0x161),'oTERP':_0x45e81b(0x175),'sBFns':function(_0x1410d3,_0xe0b3a6){return _0x1410d3===_0xe0b3a6;},'ucPiG':_0x45e81b(0x1d6),'QzBYI':_0x45e81b(0x1d4)};if(!this[_0x45e81b(0x1a1)])return;try{if(_0x4543e0['fn']&&_0x4543e0['fn'][_0x45e81b(0x1f2)]()['match'](/browserstack internal helper hook/))return;const _0xcbf7b1=_0x2932c8[_0x45e81b(0x1e6)](parseEvent,_0x19bf98);if(!_0xcbf7b1)return;if(_0xcbf7b1[_0x45e81b(0x1aa)]){this['currentTest']=_0x4543e0,this[_0x45e81b(0x1d3)]=null;if(_0xcbf7b1[_0x45e81b(0x1fd)]||_0xcbf7b1['skipped']){_0x4543e0['startedAt']=new Date(),_0x4543e0[_0x45e81b(0x1ef)]=![];if(!_0x4543e0[_0x45e81b(0x1a6)])_0x4543e0[_0x45e81b(0x1a6)]=_0x2932c8[_0x45e81b(0x224)](uuidv4);else _0x4543e0[_0x45e81b(0x1ef)]&&(!_0x4543e0['retryOf']&&(_0x4543e0[_0x45e81b(0x1cc)]=_0x4543e0[_0x45e81b(0x1a6)]),_0x4543e0[_0x45e81b(0x1a6)]=_0x2932c8[_0x45e81b(0x224)](uuidv4));}}else{if(_0xcbf7b1[_0x45e81b(0x208)]){this['currentHook']=_0x4543e0;if(_0xcbf7b1[_0x45e81b(0x1fd)]){_0x4543e0[_0x45e81b(0x12f)]=new Date(),_0x4543e0[_0x45e81b(0x1ef)]=![];if(!_0x4543e0[_0x45e81b(0x1a3)])_0x4543e0[_0x45e81b(0x1a3)]=_0x2932c8[_0x45e81b(0x1ae)](uuidv4);else _0x4543e0['hookAnalyticsId']&&_0x4543e0[_0x45e81b(0x1ef)]&&(_0x4543e0[_0x45e81b(0x1a3)]=_0x2932c8[_0x45e81b(0x1c7)](uuidv4));}}}if(_0xcbf7b1[_0x45e81b(0x19d)]&&_0x4543e0[_0x45e81b(0x1ef)])return;let _0x54a2c7;try{_0x54a2c7=this['getRootParentFile'](_0x4543e0);}catch(_0xcea48e){logger[_0x45e81b(0x1af)](_0x45e81b(0x16a)+_0xcea48e),_0x54a2c7=null;}let _0x228031=[];_0x218db7&&(_0x228031=[_0x218db7,_0x2932c8[_0x45e81b(0x13f)]]);const _0x2bab39=_0x2932c8[_0x45e81b(0x1e9)](_0x4543e0[_0x45e81b(0x15f)],undefined)?util[_0x45e81b(0x1dc)](_0x4543e0[_0x45e81b(0x15f)][0x0]):_0x2932c8[_0x45e81b(0x1bb)](_0x218db7,undefined)?_0x218db7[_0x45e81b(0x1f2)]():undefined,_0x4ca131=_0x54a2c7?this[_0x45e81b(0x12d)](_0x54a2c7):null,_0x46ce55=_0x54a2c7?this[_0x45e81b(0x159)][_0x45e81b(0x215)](this[_0x45e81b(0x183)](_0x4543e0)):_0x2932c8[_0x45e81b(0x17f)];let _0x36df7e=_0x2932c8[_0x45e81b(0x1ce)];const _0x4c68f6=!_0xcbf7b1[_0x45e81b(0x1fd)]?new Date()[_0x45e81b(0x1c0)]():null;if(_0xcbf7b1[_0x45e81b(0x19d)])_0x36df7e=_0x218db7?_0x2932c8[_0x45e81b(0x171)]:_0x2932c8['HwNLj'],_0x4543e0['markedStatus']=!![];else _0xcbf7b1[_0x45e81b(0x157)]&&(_0x36df7e=_0x2932c8[_0x45e81b(0x1e5)],_0x4543e0[_0x45e81b(0x1ef)]=!![]);const _0x1f19a8={'framework':this[_0x45e81b(0x1c5)],'uuid':_0x4543e0[_0x45e81b(0x1a6)]||_0x4543e0[_0x45e81b(0x1a3)],'name':_0x4543e0[_0x45e81b(0x195)],'body':{'lang':_0x2932c8['vzCZD'],'code':_0x4543e0[_0x45e81b(0x1c6)]['toString']()},'type':_0x4543e0['type'],'scope':_0x4543e0[_0x45e81b(0x123)](),'scopes':this[_0x45e81b(0x140)](_0x4543e0),'file_name':_0x46ce55,'vc_filepath':_0x4ca131?path[_0x45e81b(0x168)](_0x4ca131,_0x54a2c7):null,'location':_0x46ce55,'result':_0x36df7e,'failure_reason':_0x2bab39,'duration_in_ms':_0x4543e0[_0x45e81b(0x1ab)]||(_0xcbf7b1[_0x45e81b(0x19d)]||_0xcbf7b1['skipped'])?_0x2932c8[_0x45e81b(0x1de)](Date[_0x45e81b(0x152)](),new Date(_0x4543e0[_0x45e81b(0x12f)])[_0x45e81b(0x191)]()):null,'started_at':new Date(_0x4543e0[_0x45e81b(0x12f)])['toISOString'](),'finished_at':_0x4c68f6,'failure':testOpsHelper['failureData'][_0x45e81b(0x13a)](null,_0x228031),'failure_type':!_0x2bab39?null:testOpsHelper[_0x45e81b(0x216)](_0x2bab39),'retry_of':_0x4543e0['retryOf']||null,'tags':_0x4543e0[_0x45e81b(0x1a4)]||[],'customRerunParam':{'rerun_name':_0x4543e0[_0x45e81b(0x123)]()}};_0x2932c8[_0x45e81b(0x137)](appendTesthubParams,_0x1f19a8,_0x19bf98,_0x4543e0,FRAMEWORKS[_0x45e81b(0x176)]);if(_0xcbf7b1[_0x45e81b(0x208)])[_0x1f19a8[_0x45e81b(0x206)],_0x1f19a8['name']]=[this[_0x45e81b(0x184)](_0x4543e0),_0x4543e0['ctx'][_0x45e81b(0x1aa)][_0x45e81b(0x195)]],_0xcbf7b1['finished']?_0x2932c8[_0x45e81b(0x1c3)](_0x1f19a8[_0x45e81b(0x1c4)],_0x2932c8[_0x45e81b(0x171)])&&(_0x1f19a8[_0x45e81b(0x1c4)]=_0x2932c8[_0x45e81b(0x1e4)]):_0x1f19a8['body']={};else _0xcbf7b1[_0x45e81b(0x1aa)]&&(this[_0x45e81b(0x218)](_0x4543e0),_0xcbf7b1[_0x45e81b(0x157)]&&this[_0x45e81b(0x1ac)](_0x4543e0),(_0xcbf7b1[_0x45e81b(0x19d)]||_0xcbf7b1[_0x45e81b(0x157)])&&(_0x1f19a8[_0x45e81b(0x14d)]=this[_0x45e81b(0x1f0)](_0x4543e0)));this[_0x45e81b(0x16b)]&&(_0xcbf7b1[_0x45e81b(0x1fd)]||_0xcbf7b1[_0x45e81b(0x157)])&&(_0x1f19a8[_0x2932c8[_0x45e81b(0x1ca)]]=this['getCBTInfo'](this[_0x45e81b(0x16b)]));_0xcbf7b1[_0x45e81b(0x1aa)]&&_0xcbf7b1['finished']&&_0x4543e0['bddSteps']&&(_0x1f19a8[_0x2932c8[_0x45e81b(0x214)]]={'feature':{'name':_0x4543e0[_0x45e81b(0x1c8)][_0x45e81b(0x20e)]['name'],'path':_0x1f19a8[_0x45e81b(0x127)],'description':_0x4543e0[_0x45e81b(0x1c8)][_0x45e81b(0x192)]},'scenario':{'name':_0x4543e0[_0x45e81b(0x195)]},'steps':_0x4543e0[_0x45e81b(0x204)]});const _0x1d1b57=_0x1f19a8[_0x2932c8[_0x45e81b(0x18b)]][0x0];_0x1d1b57&&(_0x1f19a8[_0x2932c8['KPDmk']]=_0x1d1b57[_0x2932c8[_0x45e81b(0x1b5)]],_0x1f19a8[_0x2932c8[_0x45e81b(0x15e)]]=_0x1d1b57[_0x2932c8[_0x45e81b(0x1f8)]]);if(_0x4543e0[_0x45e81b(0x204)])for(const _0xcc2f1f of _0x4543e0[_0x45e81b(0x204)]){!_0xcc2f1f['finished_at']&&(_0xcc2f1f[_0x45e81b(0x1b9)]=new Date()[_0x45e81b(0x1c0)](),_0x2932c8[_0x45e81b(0x1f9)](_0xcc2f1f[_0x45e81b(0x1c4)],_0x2932c8[_0x45e81b(0x1ce)])&&(_0x1d1b57?(_0xcc2f1f[_0x45e81b(0x1c4)]=_0x2932c8[_0x45e81b(0x171)],_0xcc2f1f[_0x45e81b(0x20a)]=_0x1d1b57[_0x2932c8[_0x45e81b(0x1b5)]][0x0]):_0xcc2f1f[_0x45e81b(0x1c4)]=_0x2932c8[_0x45e81b(0x1e4)]));}const _0x3b0229={};_0x3b0229['event_type']=_0xcbf7b1['skipped']?TEST_EVENTS[_0x45e81b(0x1fe)]:_0x19bf98;const _0x2eff02=_0x3b0229;return _0xcbf7b1['hook']?_0x2eff02[_0x2932c8[_0x45e81b(0x17b)]]=_0x1f19a8:_0x2eff02[_0x2932c8[_0x45e81b(0x1a8)]]=_0x1f19a8,_0x2eff02;}catch(_0x485e74){logger[_0x45e81b(0x1af)](_0x45e81b(0x17e)+_0x19bf98+_0x45e81b(0x1e2)+_0x485e74);}}async[a4_0x5b30af(0x173)](_0x121ef2,_0x49c61b){const _0x211f75=a4_0x5b30af;if(!this[_0x211f75(0x1a1)]||!_0x49c61b||!_0x121ef2)return![];try{return await SessionHandler[_0x211f75(0x1d1)](_0x49c61b);}catch(_0x1038fe){logger[_0x211f75(0x1af)](_0x211f75(0x1cf)+_0x121ef2+_0x211f75(0x1e2)+_0x1038fe);}}['initializeBddStep'](_0x4f9dee){const _0x54719e=a4_0x5b30af,_0x46f4cf={};_0x46f4cf['OyAMZ']='pending';const _0xc4a43=_0x46f4cf;return{'id':_0x4f9dee['stepAnalyticsId'],'text':_0x4f9dee[_0x54719e(0x211)],'keyword':_0x4f9dee[_0x54719e(0x17c)],'started_at':_0x4f9dee[_0x54719e(0x12f)][_0x54719e(0x1c0)](),'result':_0xc4a43['OyAMZ']};}['bddStepStart'](_0x1be5c3){const _0x22739d=a4_0x5b30af,_0x54116d={'OgjGk':function(_0xb5080c){return _0xb5080c();}};!this[_0x22739d(0x13d)][_0x22739d(0x204)]&&(this[_0x22739d(0x13d)]['bddSteps']=[]),!_0x1be5c3[_0x22739d(0x198)]&&(_0x1be5c3['stepAnalyticsId']=_0x54116d['OgjGk'](uuidv4),_0x1be5c3[_0x22739d(0x12f)]=new Date(),this[_0x22739d(0x13d)][_0x22739d(0x204)][_0x22739d(0x1f4)](this[_0x22739d(0x16d)](_0x1be5c3)));}['bddStepFinish'](_0x3c4c24){const _0x19c398=a4_0x5b30af,_0xb6d7f3={'QGORw':function(_0x540a35,_0x1cf7a3){return _0x540a35(_0x1cf7a3);},'YejWZ':_0x19c398(0x1cd),'XgPzr':_0x19c398(0x150),'xagnM':_0x19c398(0x19f),'qwJfY':function(_0x3e18ae,_0x558427){return _0x3e18ae-_0x558427;}};let _0x57b0c1=this[_0x19c398(0x13d)][_0x19c398(0x204)]['find'](_0x1876cb=>_0x1876cb['id']===_0x3c4c24[_0x19c398(0x198)]);_0xb6d7f3[_0x19c398(0x14b)](isUndefined,_0x57b0c1)&&(_0x57b0c1=this['initializeBddStep'](_0x3c4c24)),_0x57b0c1[_0x19c398(0x1c4)]=[_0xb6d7f3[_0x19c398(0x146)],_0xb6d7f3['XgPzr']][_0x19c398(0x14f)](_0x3c4c24[_0x19c398(0x1b4)])?_0xb6d7f3[_0x19c398(0x160)]:_0x3c4c24[_0x19c398(0x1b4)],_0x57b0c1['finished_at']=new Date()[_0x19c398(0x1c0)](),_0x57b0c1['duration']=_0xb6d7f3[_0x19c398(0x207)](Date[_0x19c398(0x152)](),_0x3c4c24['startedAt'][_0x19c398(0x191)]()),_0x57b0c1[_0x19c398(0x20a)]=_0x3c4c24[_0x19c398(0x197)]?_0x3c4c24[_0x19c398(0x197)][_0x19c398(0x226)]:null;}}const a4_0x440a1b={};a4_0x440a1b[a4_0x5b30af(0x20b)]=O11yHelper,a4_0x440a1b[a4_0x5b30af(0x131)]=STATE_PASSED,a4_0x440a1b[a4_0x5b30af(0x1d5)]=STATE_FAILED,a4_0x440a1b[a4_0x5b30af(0x130)]=TEST_EVENTS,module[a4_0x5b30af(0x15a)]=a4_0x440a1b;
|