browserstack-node-sdk 1.57.1 → 1.57.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/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/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a1_0xd78b6a=a1_0x6be4;(function(_0x16ad3a,_0x215cd8){const _0x186d4c=a1_0x6be4,_0x5d2568=_0x16ad3a();while(!![]){try{const _0x5c8b74=parseInt(_0x186d4c(0x128))/0x1+parseInt(_0x186d4c(0x150))/0x2+-parseInt(_0x186d4c(0x1c8))/0x3*(parseInt(_0x186d4c(0x1d9))/0x4)+-parseInt(_0x186d4c(0x1c6))/0x5*(parseInt(_0x186d4c(0x11a))/0x6)+parseInt(_0x186d4c(0x15e))/0x7+-parseInt(_0x186d4c(0x19c))/0x8*(parseInt(_0x186d4c(0x11e))/0x9)+parseInt(_0x186d4c(0x115))/0xa;if(_0x5c8b74===_0x215cd8)break;else _0x5d2568['push'](_0x5d2568['shift']());}catch(_0x2f9bcf){_0x5d2568['push'](_0x5d2568['shift']());}}}(a1_0x7fde,0x6fb3d));const fs=require('fs'),util=require(a1_0xd78b6a(0x12a)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0xd78b6a(0x173)),logger=require(a1_0xd78b6a(0x16e))[a1_0xd78b6a(0x1bd)],testOpsHelper=require('../../helpers/test-observability/utils'),requestSpy=require('../../helpers/request-spy'),PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require('./o11yHelper'),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0xd78b6a(0x13f)),AccessibilityHelper=require(a1_0xd78b6a(0x15f)),scripts=require(a1_0xd78b6a(0x109)),PerformanceTester=require(a1_0xd78b6a(0xdd)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0xd78b6a(0x139)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0xd78b6a(0xf1)),testHubConstants=require(a1_0xd78b6a(0x18c)),globals=require(a1_0xd78b6a(0x149)),CodeceptJS=requireModule(a1_0xd78b6a(0x1c2),'codeceptjs'),CodeceptUtils=requireModule(a1_0xd78b6a(0x10b),a1_0xd78b6a(0x111)),CodeceptWebDriver=requireModule(a1_0xd78b6a(0xe9),a1_0xd78b6a(0x111)),CodeceptRecorder=requireModule(a1_0xd78b6a(0x1ac),a1_0xd78b6a(0x111)),CodeceptPlaywright=requireModule(a1_0xd78b6a(0x157),a1_0xd78b6a(0x111));try{require('../../helpers/driverInitErrorReporter')[a1_0xd78b6a(0x124)](a1_0xd78b6a(0x111));}catch(a1_0x109c76){logger[a1_0xd78b6a(0x13b)](a1_0xd78b6a(0xdb)+(a1_0x109c76&&a1_0x109c76[a1_0xd78b6a(0x152)]));}const playwrightMarkSessionStatus=(_0x5ab42a,_0x2bdaa3,_0x49f695)=>{const _0xcbbe68=a1_0xd78b6a,_0x3f8c26={'CJjIr':'setSessionStatus','tXSVM':function(_0x2e9f33,_0x5332e1){return _0x2e9f33(_0x5332e1);}},_0x281d48={};_0x281d48['status']=_0x2bdaa3;const _0x4d5111={};_0x4d5111[_0xcbbe68(0x1a3)]=_0x3f8c26[_0xcbbe68(0x184)],_0x4d5111[_0xcbbe68(0xe4)]=_0x281d48;const _0x27bc2b=_0x4d5111;return!_0x3f8c26[_0xcbbe68(0x195)](isUndefined,_0x49f695)&&(_0x27bc2b[_0xcbbe68(0xe4)][_0xcbbe68(0x1cc)]=JSON[_0xcbbe68(0x1ba)](_0x49f695)),_0x5ab42a[_0xcbbe68(0x175)](()=>{},_0xcbbe68(0x151)+JSON[_0xcbbe68(0x1ba)](_0x27bc2b));},o11ySync=PerformanceTester[a1_0xd78b6a(0x174)](PerformanceO11yEvents[a1_0xd78b6a(0x1b2)],async _0x5a622c=>{const _0x1c558e=a1_0xd78b6a,_0x1c2747={};_0x1c2747['zhgWP']=function(_0x202df1,_0xe3ee1e){return _0x202df1===_0xe3ee1e;},_0x1c2747[_0x1c558e(0xdc)]=_0x1c558e(0x169);const _0x1ab8a3=_0x1c2747;_0x1ab8a3[_0x1c558e(0x13d)](_0x5a622c[_0x1c558e(0x10d)][_0x1c558e(0xda)],_0x1ab8a3[_0x1c558e(0xdc)])?await _0x5a622c['executeScript'](_0x564259=>{},testOpsHelper['getSyncScript']()):await _0x5a622c[_0x1c558e(0x175)](testOpsHelper[_0x1c558e(0x1dc)]());}),markSessionName=PerformanceTester[a1_0xd78b6a(0x174)](PerformanceAutEvents[a1_0xd78b6a(0xe2)],async(_0x4882d4,_0x5e2395)=>{const _0x3a3de8=a1_0xd78b6a,_0x28eade={};_0x28eade['guztm']=_0x3a3de8(0x1a7),_0x28eade[_0x3a3de8(0x102)]=function(_0x3dae8a,_0x1853a1){return _0x3dae8a===_0x1853a1;},_0x28eade[_0x3a3de8(0x156)]=_0x3a3de8(0x169);const _0x1c8f76=_0x28eade,_0x10f694={};_0x10f694['name']=_0x5e2395;const _0x20c4d6={};_0x20c4d6[_0x3a3de8(0x1a3)]=_0x1c8f76['guztm'],_0x20c4d6[_0x3a3de8(0xe4)]=_0x10f694;const _0x2fd643=_0x20c4d6;_0x1c8f76[_0x3a3de8(0x102)](_0x4882d4[_0x3a3de8(0x10d)][_0x3a3de8(0xda)],_0x1c8f76['XIOQj'])?await _0x4882d4['executeScript'](()=>{},_0x3a3de8(0x151)+JSON[_0x3a3de8(0x1ba)](_0x2fd643)):await _0x4882d4[_0x3a3de8(0x175)]('browserstack_executor:\x20'+JSON[_0x3a3de8(0x1ba)](_0x2fd643));}),patchSaveScreenshot=_0x1a6c2c=>{const _0x4b7339=a1_0xd78b6a,_0x48da80={'BgLHv':_0x4b7339(0x144),'kKxGZ':_0x4b7339(0x13a),'EcQyF':function(_0x2201e1){return _0x2201e1();},'snAan':function(_0xe05f19,_0x326ac5){return _0xe05f19(_0x326ac5);},'hHVHl':'Screenshot\x20path\x20not\x20found','BKJTA':function(_0x39bea5,_0x5a1b41){return _0x39bea5(_0x5a1b41);}};_0x48da80[_0x4b7339(0x1b6)](isTrue,process[_0x4b7339(0x180)][_0x4b7339(0x12f)])&&!_0x1a6c2c[_0x4b7339(0xff)]&&(_0x1a6c2c[_0x4b7339(0xff)]=!![],_0x1a6c2c[_0x4b7339(0x1db)]=_0x1a6c2c[_0x4b7339(0x107)],_0x1a6c2c[_0x4b7339(0x107)]=(_0x5d2cd5,_0x567d54=![])=>{return new Promise(function(_0x2afd43,_0x501c8b){const _0x41b1dd=a1_0x6be4,_0x50a9fe={'aCtej':_0x48da80[_0x41b1dd(0xdf)],'woUbE':_0x48da80['kKxGZ'],'GydYW':function(_0x18ba4d){return _0x48da80['EcQyF'](_0x18ba4d);},'rcipd':function(_0x3b2b91,_0x1c1385){return _0x48da80['snAan'](_0x3b2b91,_0x1c1385);},'fRgWp':_0x48da80[_0x41b1dd(0x1c9)]};_0x1a6c2c[_0x41b1dd(0x1db)](_0x5d2cd5,_0x567d54)[_0x41b1dd(0x194)](()=>{const _0x5999e5=_0x41b1dd,_0x1b5fc8=CodeceptUtils[_0x5999e5(0x141)](_0x5d2cd5);if(_0x1b5fc8){const _0x8ecc0=fs['readFileSync'](_0x1b5fc8);process['emit'](_0x5999e5(0xf4)+process[_0x5999e5(0xe1)],{'timestamp':new Date()[_0x5999e5(0x170)](),'message':_0x8ecc0[_0x5999e5(0x1c3)](_0x50a9fe[_0x5999e5(0x15a)]),'kind':_0x50a9fe[_0x5999e5(0x134)]}),_0x50a9fe[_0x5999e5(0x1e3)](_0x2afd43);}_0x50a9fe[_0x5999e5(0x13c)](_0x501c8b,new Error(_0x50a9fe[_0x5999e5(0xfc)]));})[_0x41b1dd(0x1d7)](()=>null);});});},patchWebDriverBefore=(_0x571bf9,_0x1f2f13)=>{const _0x5c5ff5=a1_0xd78b6a,_0x1babdf={'wfVuW':function(_0x450b18){return _0x450b18();},'UayKE':function(_0x2821d7,_0x37063a){return _0x2821d7(_0x37063a);},'mJZCd':function(_0x46ae4c,_0x4edf32){return _0x46ae4c===_0x4edf32;},'updfT':_0x5c5ff5(0x14e),'imBJG':function(_0x4c49c1,_0x74f892){return _0x4c49c1===_0x74f892;},'rcryg':_0x5c5ff5(0x148),'FzjMK':_0x5c5ff5(0x185),'QrnDS':function(_0x1f97bf,_0x39269c){return _0x1f97bf(_0x39269c);},'SRVzF':function(_0x582995,_0x1b8662){return _0x582995===_0x1b8662;},'tYrRk':_0x5c5ff5(0x1d4)},_0x316248=async function(_0x550e60,_0x489a83){const _0x501d4e=_0x5c5ff5;_0x1babdf[_0x501d4e(0xf8)](isAccessibilityAutomationSession)&&!global[_0x501d4e(0x1c4)]&&global[_0x501d4e(0xea)]&&scripts[_0x501d4e(0x1de)](_0x550e60[_0x501d4e(0xda)])&&_0x1babdf['UayKE'](shouldPatchExecuteScript,arguments[0x2])&&(global['bstackAllyScanning']=!![],await PerformanceTester[_0x501d4e(0x174)](PerformanceA11yEvents[_0x501d4e(0x1c7)],async()=>{const _0x3925b3=_0x501d4e;logger['debug'](_0x3925b3(0x188)+_0x550e60[_0x3925b3(0xf0)]+'\x20'+_0x550e60['name']),await AccessibilityHelper[_0x3925b3(0x16d)](_0x571bf9,scripts[_0x3925b3(0x1bb)]);},{'command':_0x550e60[_0x501d4e(0xda)]})());global[_0x501d4e(0x1c4)]=![];const _0x5525bf=JSON[_0x501d4e(0x114)](process[_0x501d4e(0x180)]['FRAMEWORK_DETAILS']||'{}');if(_0x1babdf['mJZCd'](_0x5525bf?.['testFramework']?.['name'],_0x1babdf['updfT'])&&_0x1babdf[_0x501d4e(0x1d6)](typeof _0x5525bf?.[_0x501d4e(0x129)]?.[_0x501d4e(0x1b7)],_0x1babdf[_0x501d4e(0x121)])&&_0x5525bf?.['testFramework']?.['version'][_0x501d4e(0x182)]('7'))return _0x489a83[_0x501d4e(0x1cb)](null,Array[_0x501d4e(0x105)]['slice']['call'](arguments,0x2));return _0x489a83[_0x501d4e(0x1cb)](this,Array[_0x501d4e(0x105)][_0x501d4e(0x12b)]['call'](arguments,0x2));},_0x2fbccc=CodeceptWebDriver[_0x5c5ff5(0x105)][_0x5c5ff5(0x19a)];CodeceptWebDriver[_0x5c5ff5(0x105)][_0x5c5ff5(0x19a)]=async function(){const _0xb5cb45=_0x5c5ff5,_0x2ddefc={'vvMxo':function(_0x40c228,_0x14189f){return _0x1babdf['imBJG'](_0x40c228,_0x14189f);},'mYkad':_0x1babdf[_0xb5cb45(0x171)]};try{await _0x2fbccc['apply'](this,arguments);}catch(_0x2f70f7){logger['debug'](_0xb5cb45(0x1da)+util[_0xb5cb45(0x189)](_0x2f70f7));}scripts[_0xb5cb45(0x140)][_0xb5cb45(0x106)](_0x26a96a=>_0x26a96a[_0xb5cb45(0xda)]&&_0x26a96a['class'])[_0xb5cb45(0x108)](_0x31aaf9=>{const _0x106c21=_0xb5cb45;this[_0x106c21(0x126)][_0x106c21(0x1d8)](_0x31aaf9[_0x106c21(0xda)],_0x316248[_0x106c21(0x1df)](this,_0x31aaf9),_0x2ddefc[_0x106c21(0x18f)](_0x31aaf9[_0x106c21(0xf0)],_0x2ddefc[_0x106c21(0x192)]));}),_0x1babdf[_0xb5cb45(0x1e0)](processWebDriverConfig,_0x571bf9);try{_0x1f2f13&&_0x1babdf['SRVzF'](typeof _0x1f2f13[_0xb5cb45(0x10e)],_0x1babdf[_0xb5cb45(0x15b)])&&await _0x1f2f13['flushPendingHookEvents']();}catch(_0x4ee56d){logger['debug'](_0xb5cb45(0xf2)+util[_0xb5cb45(0x189)](_0x4ee56d));}};};function parseJwt(_0x3df26b){const _0x342e5a=a1_0xd78b6a,_0xd1bfbd={};_0xd1bfbd[_0x342e5a(0x18b)]=_0x342e5a(0x144);const _0x1eec27=_0xd1bfbd;if(!_0x3df26b)return null;return JSON['parse'](Buffer[_0x342e5a(0x160)](_0x3df26b[_0x342e5a(0x1ad)]('.')[0x1],_0x1eec27[_0x342e5a(0x18b)])[_0x342e5a(0x1c3)]());}const patchPlaywrightBefore=_0x55d2fb=>{const _0x33ad22=a1_0xd78b6a,_0x5d0fbe={'zjYTJ':'--auto-open-devtools-for-tabs','JYAXj':function(_0x105716){return _0x105716();},'FoBWB':function(_0x14b735,_0x361420){return _0x14b735(_0x361420);},'YbeIu':function(_0x28ed5a){return _0x28ed5a();},'PFRCz':_0x33ad22(0x120),'RRnNf':function(_0x9ab0d1,_0x4b8ba0){return _0x9ab0d1+_0x4b8ba0;},'CiRpn':_0x33ad22(0x193),'ACRsP':function(_0xe8e5a0){return _0xe8e5a0();},'UJCDG':function(_0x3b9969){return _0x3b9969();},'lSLTq':function(_0x215ec7){return _0x215ec7();},'AXSbj':function(_0x2d5370,_0x2c9cf1){return _0x2d5370===_0x2c9cf1;},'aYnrn':_0x33ad22(0x1d4)};PlaywrightSessionDetails[_0x33ad22(0xf5)]();const _0x17e456=CodeceptPlaywright[_0x33ad22(0x105)]['_before'];CodeceptPlaywright[_0x33ad22(0x105)][_0x33ad22(0x19a)]=async function(){const _0x4e369d=_0x33ad22,_0x2dfc89={'sPYEm':function(_0x56af99){const _0x1593f3=a1_0x6be4;return _0x5d0fbe[_0x1593f3(0x154)](_0x56af99);},'cTIHa':_0x5d0fbe['PFRCz']};this[_0x4e369d(0x191)]=await this['browser'][_0x4e369d(0x1a4)]()[0x0];const _0x3f71a1=async()=>{const _0x58ee45=_0x4e369d,_0x5bd077=this[_0x58ee45(0x15d)]&&this['config'][_0x58ee45(0x17a)]&&this[_0x58ee45(0x15d)][_0x58ee45(0x17a)][_0x58ee45(0x17c)]&&Array[_0x58ee45(0x10a)](this[_0x58ee45(0x15d)][_0x58ee45(0x17a)][_0x58ee45(0x17c)])&&this[_0x58ee45(0x15d)]['chromium'][_0x58ee45(0x17c)]['includes'](_0x5d0fbe[_0x58ee45(0x11d)]);if(_0x5d0fbe[_0x58ee45(0x1af)](isAccessibilityAutomationSession)&&!_0x5bd077)try{const _0x9b7027=_0x5d0fbe[_0x58ee45(0xf7)](parseJwt,process[_0x58ee45(0x180)][_0x58ee45(0x138)]);if(_0x9b7027&&_0x9b7027['a11y_core_config']&&_0x9b7027['a11y_core_config'][_0x58ee45(0x113)]){const _0x3c96ea=this[_0x58ee45(0x191)]['pages'][_0x58ee45(0x1df)](this[_0x58ee45(0x191)]);this[_0x58ee45(0x191)]['pages']=async function(){const _0x4aea1f=_0x58ee45,_0x23f36e=await _0x2dfc89[_0x4aea1f(0x181)](_0x3c96ea),_0x2ecd1b=[];for(const _0x354299 of _0x23f36e){try{const _0x939607=await _0x354299[_0x4aea1f(0x167)]();!_0x939607[_0x4aea1f(0x182)](_0x2dfc89[_0x4aea1f(0x161)])&&_0x2ecd1b[_0x4aea1f(0x125)](_0x354299);}catch(_0x1fa97e){_0x2ecd1b['push'](_0x354299);}}return _0x2ecd1b;};}if(!_0x5d0fbe[_0x58ee45(0x14d)](isBrowserstackInfra)){const _0x3045fa=await this[_0x58ee45(0x1b1)]['url']();if(_0x3045fa[_0x58ee45(0x182)](_0x5d0fbe[_0x58ee45(0x117)])){const _0x595f1a=await this['browserContext'][_0x58ee45(0x122)]();this[_0x58ee45(0x183)](_0x595f1a[0x0]);}}}catch(_0x3049b5){logger[_0x58ee45(0x13b)](_0x58ee45(0x162)+_0x3049b5[_0x58ee45(0x152)]+(_0x3049b5['stack']?_0x5d0fbe[_0x58ee45(0x178)](_0x5d0fbe[_0x58ee45(0x187)],_0x3049b5[_0x58ee45(0x198)]):''));}};_0x5d0fbe[_0x4e369d(0x1d3)](isBrowserstackInfra)&&await _0x5d0fbe[_0x4e369d(0x154)](_0x3f71a1);await _0x17e456[_0x4e369d(0x1cb)](this,arguments);!_0x5d0fbe[_0x4e369d(0x10f)](isBrowserstackInfra)&&await _0x5d0fbe['YbeIu'](_0x3f71a1);try{_0x55d2fb&&_0x5d0fbe[_0x4e369d(0x1cd)](typeof _0x55d2fb[_0x4e369d(0x10e)],_0x5d0fbe[_0x4e369d(0x16c)])&&await _0x55d2fb[_0x4e369d(0x10e)]();}catch(_0x4dc6aa){logger['debug'](_0x4e369d(0x146)+util['format'](_0x4dc6aa));}};},getCodeceptDriver=()=>{const _0x559299=a1_0xd78b6a,_0x107cc1={};_0x107cc1['xtoOu']=_0x559299(0x164),_0x107cc1[_0x559299(0x17f)]='Playwright',_0x107cc1[_0x559299(0x142)]=_0x559299(0x136),_0x107cc1[_0x559299(0x19e)]=_0x559299(0x1b5);const _0x58e86e=_0x107cc1,_0x16f30e=[_0x58e86e[_0x559299(0x1a8)],_0x58e86e['LZYGi'],_0x58e86e[_0x559299(0x142)],_0x58e86e[_0x559299(0x19e)]],_0x22c772=_0x16f30e[_0x559299(0x1e8)](_0x4dc8b6=>!!CodeceptJS[_0x559299(0x12c)][_0x559299(0x16f)](_0x4dc8b6));if(!_0x22c772)return null;return CodeceptJS[_0x559299(0x12c)]['helpers'](_0x22c772);};function a1_0x6be4(_0x132091,_0x584c0a){const _0x7fde92=a1_0x7fde();return a1_0x6be4=function(_0x6be46,_0x2783a8){_0x6be46=_0x6be46-0xda;let _0x5da380=_0x7fde92[_0x6be46];return _0x5da380;},a1_0x6be4(_0x132091,_0x584c0a);}function a1_0x7fde(){const _0x16d545=['reason','AXSbj','skipped','yroIC','event','uNJvY','SDK_PRE_TEST','UJCDG','function','TEST_RUN_STARTED','imBJG','catch','overwriteCommand','28516QVteJV','Failed\x20to\x20execute\x20_before:\x20','initSaveScreenshot','getSyncScript','restore','shouldWrapCommand','bind','QrnDS','test-passed','PzpfS','GydYW','npJIS','BROWSERSTACK_TESTHUB_JWT','bHoWK','bddStepStart','find','captureEvent','name','driver-init\x20capture\x20install\x20failed:\x20','MQhpp','../../helpers/performance/performance-tester','SFVEZ','BgLHv','startMonitoring','pid','SESSION_NAME','skipSessionName','arguments','HOOK_RUN_STARTED','dispatcher','RQKvQ','warn','codeceptjs/lib/helper/WebDriver.js','accessibilityPlatform','titlePath','stopMonitoring','title','command','captureError','class','./helper.js','Failed\x20to\x20flush\x20pending\x20hook\x20events\x20after\x20_before:\x20','browserstackTestName','bs:addLog:','patch','skipSessionStatus','FoBWB','wfVuW','thTestRunUuid','enabled','BWNsr','fRgWp','add','info','patchSaveScreenshot','stop','KhYOY','NctcI','UNlAz','eQLfC','prototype','filter','saveScreenshot','forEach','../../helpers/accessibility-automation/scripts','isArray','codeceptjs/lib/utils.js','SDK_TEST','constructor','flushPendingHookEvents','lSLTq','step-comment','codeceptjs','SDK_POST_INITIALIZE','domForge','parse','9602600GBSrSj','__workerDetails','PFRCz','GET_RESULTS_SUMMARY','all','9318bTFxpB','SDK_PRE_INITIALIZE','addRequestSpy','zjYTJ','27ejZQNc','getAccessibilityResultsSummary','devtools://','rcryg','pages','TEutN','installAll','push','browser','start','545955eOvTTc','testFramework','util','slice','container','INFO','hook-failed','BS_TESTOPS_ALLOW_SCREENSHOTS','AIEaW','DDcgs','started','__driver','woUbE','thJwtToken','Puppeteer','SDK_POST_TEST','BS_A11Y_JWT','../../helpers/performance/constants','TEST_SCREENSHOT','debug','rcipd','zhgWP','aZobc','../../helpers/accessibility-automation/helper','commandsToWrap','screenshotOutputFolder','Chzlb','test','base64','TEST_RUN_FINISHED','Failed\x20to\x20flush\x20pending\x20hook\x20events\x20after\x20Playwright\x20_before:\x20','IBEub','string','../../helpers/globals.js','hasLiveDriverSession','after','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','YbeIu','webdriverio','SDK_HOOK','410978QVJQMl','browserstack_executor:\x20','message','TGMqC','ACRsP','getAccessibilityResults','XIOQj','codeceptjs/lib/helper/Playwright.js','ctx','kVlwf','aCtej','tYrRk','bddStep-before','config','4483899DEOEdU','../../bin/playwright/accessibility-helper','from','cTIHa','Failed\x20to\x20patch\x20pages\x20method\x20in\x20browserContext\x20for\x20a11y\x20domForge:\x20','hook-passed','WebDriver','HfWtG','fhlCd','url','TEST_RUN_SKIPPED','Playwright','test-after','thBuildUuid','aYnrn','browserStackExecuteDriver','../../helpers/logger','helpers','toISOString','FzjMK','hook-started','../../helpers/helper','measureWrapper','executeScript','yOLKH','NXSmT','RRnNf','is_mobile_session','chromium','getResults','args','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','step','LZYGi','env','sPYEm','startsWith','_setPage','CJjIr','Element','end','CiRpn','Performing\x20scan\x20for\x20','format','hook','sGXDD','../../helpers/testhub/constants.js','passed','HOOK_RUN_FINISHED','vvMxo','UjcOQ','browserContext','mYkad','\x0aStack:\x20','then','tXSVM','test-before','test-failed','stack','failed','_before','iJdAW','1741240INwZUk','ENV_VAR','EuAEc','bXPOt','comment','UERpe','bddStep','action','contexts','__skipSessionStatus','currentTest','setSessionName','xtoOu','setGlobal','hookType','gIqFx','codeceptjs/lib/recorder.js','split','bufferPendingHookEvent','JYAXj','ztqad','page','SYNC','before','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','TestCafe','BKJTA','version','pMcuU','GET_RESULTS','stringify','performScan','jSnKN','winstonLogger','TEST_LOG','mWSOY','afterTest','fireEvent','codeceptjs/lib/index.js','toString','bstackAllyScanning','bOPud','1565TzCCzc','PERFORM_SCAN','318tKwCVy','hHVHl','SxXAm','apply'];a1_0x7fde=function(){return _0x16d545;};return a1_0x7fde();}module['exports']=function(_0x49a6c8){const _0x4f8bf2=a1_0xd78b6a,_0x33d205={'BWNsr':function(_0x3aa084,_0x5bf38c){return _0x3aa084(_0x5bf38c);},'UERpe':function(_0xe05459,_0x2b9d91,_0x34f5b7){return _0xe05459(_0x2b9d91,_0x34f5b7);},'EDvuW':_0x4f8bf2(0x11f),'NXSmT':_0x4f8bf2(0x14c),'yroIC':_0x4f8bf2(0x155),'RQKvQ':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','UNlAz':_0x4f8bf2(0x172),'fhlCd':_0x4f8bf2(0x163),'AIEaW':function(_0xf2f320,_0x21311e,_0x2990b5){return _0xf2f320(_0x21311e,_0x2990b5);},'uNJvY':_0x4f8bf2(0x12e),'IBEub':_0x4f8bf2(0xf3),'kVlwf':function(_0x27d4c5){return _0x27d4c5();},'eQLfC':_0x4f8bf2(0x196),'TEutN':function(_0x5bfb56){return _0x5bfb56();},'pMcuU':function(_0x427593,_0x27e581,_0x460f67){return _0x427593(_0x27e581,_0x460f67);},'npJIS':'test-started','LWJEJ':function(_0x4c5460,_0x10b88f,_0x1ed332){return _0x4c5460(_0x10b88f,_0x1ed332);},'zvNtE':function(_0xb9b54c){return _0xb9b54c();},'jSnKN':_0x4f8bf2(0x1e1),'aZobc':function(_0x58e63d,_0x4f6895,_0x179784,_0x59e05f){return _0x58e63d(_0x4f6895,_0x179784,_0x59e05f);},'iJdAW':function(_0x278f0a,_0x249d52){return _0x278f0a===_0x249d52;},'HfWtG':'Suite','bOPud':_0x4f8bf2(0x197),'TGMqC':'test-skipped','yOLKH':_0x4f8bf2(0x1c0),'UjcOQ':'isMobilePlatform','bXPOt':function(_0x1742df){return _0x1742df();},'Bmgai':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','LZXBF':_0x4f8bf2(0x16a),'SFVEZ':_0x4f8bf2(0x12d),'xarun':_0x4f8bf2(0x1be),'KhYOY':_0x4f8bf2(0x110),'DDcgs':_0x4f8bf2(0x15c),'BNCqN':'bddStep-after','nPdiR':_0x4f8bf2(0x169)};_0x49a6c8[_0x4f8bf2(0xf6)]&&(global[_0x4f8bf2(0x1a5)]=_0x49a6c8[_0x4f8bf2(0xf6)]);PerformanceTester[_0x4f8bf2(0xe0)]();const _0x386324=_0x33d205[_0x4f8bf2(0x123)](getCodeceptDriver),_0x5780d0=new O11yHelper(_0x386324,_0x49a6c8),_0x12d6e4=!!CodeceptJS[_0x4f8bf2(0x12c)][_0x4f8bf2(0x16f)](_0x33d205['nPdiR']);global[_0x4f8bf2(0x133)]=_0x386324;_0x386324&&(PerformanceTester[_0x4f8bf2(0x174)](PerformanceEvents[_0x4f8bf2(0x11b)],()=>{const _0xab6bc2=_0x4f8bf2;_0x12d6e4?_0x33d205['BWNsr'](patchPlaywrightBefore,_0x5780d0):_0x33d205[_0xab6bc2(0x1a1)](patchWebDriverBefore,_0x386324,_0x5780d0);})(),PerformanceTester[_0x4f8bf2(0x174)](PerformanceEvents[_0x4f8bf2(0x112)],()=>{const _0x39d8d5=_0x4f8bf2,_0x1ac5d7={};_0x1ac5d7['PzpfS']=_0x33d205[_0x39d8d5(0x1cf)],_0x1ac5d7[_0x39d8d5(0x1ca)]=_0x33d205[_0x39d8d5(0xe7)];const _0x1bccdd=_0x1ac5d7;_0x386324[_0x39d8d5(0x11f)]=async()=>{const _0x556098=_0x39d8d5;if(global[_0x556098(0xea)]){const _0x412ed9={};return _0x412ed9[_0x556098(0xee)]=_0x33d205['EDvuW'],await PerformanceTester[_0x556098(0x174)](PerformanceA11yEvents[_0x556098(0x1c7)],async()=>{return await AccessibilityHelper['browserStackExecuteDriver'](_0x386324,scripts['performScan']);},_0x412ed9)(),await PerformanceTester[_0x556098(0x174)](PerformanceA11yEvents[_0x556098(0x118)],async()=>{const _0x49739e=_0x556098;return await AccessibilityHelper[_0x49739e(0x16d)](_0x386324,scripts['getResultsSummary']);})();}return logger[_0x556098(0xe8)](_0x33d205[_0x556098(0x177)]),{};},_0x386324[_0x39d8d5(0x155)]=async()=>{const _0x360207=_0x39d8d5;if(global[_0x360207(0xea)]){const _0x22d275={};return _0x22d275[_0x360207(0xee)]=_0x1bccdd[_0x360207(0x1e2)],await PerformanceTester[_0x360207(0x174)](PerformanceA11yEvents[_0x360207(0x1c7)],async()=>{const _0x31a55d=_0x360207;return await AccessibilityHelper[_0x31a55d(0x16d)](_0x386324,scripts[_0x31a55d(0x1bb)]);},_0x22d275)(),await PerformanceTester[_0x360207(0x174)](PerformanceA11yEvents[_0x360207(0x1b9)],async()=>{const _0x2f5c2c=_0x360207;return await AccessibilityHelper['browserStackExecuteDriver'](_0x386324,scripts[_0x2f5c2c(0x17b)]);})();}return logger['warn'](_0x1bccdd['SxXAm']),{};},_0x33d205[_0x39d8d5(0xfb)](patchSaveScreenshot,_0x386324);})());CodeceptJS[_0x4f8bf2(0x1d0)][_0x4f8bf2(0xe6)]['on'](CodeceptJS[_0x4f8bf2(0x1d0)][_0x4f8bf2(0x119)][_0x4f8bf2(0x1b3)],()=>{const _0x4cb32e=_0x4f8bf2;PerformanceTester[_0x4cb32e(0x127)](PerformanceEvents[_0x4cb32e(0x1d2)]);try{_0x5780d0['start'](),testOpsHelper[_0x4cb32e(0x11c)](),PerformanceTester[_0x4cb32e(0x186)](PerformanceEvents[_0x4cb32e(0x1d2)]);}catch(_0x2e552b){PerformanceTester[_0x4cb32e(0xef)](_0x2e552b),PerformanceTester[_0x4cb32e(0x186)](PerformanceEvents[_0x4cb32e(0x1d2)],![],_0x2e552b);}}),CodeceptJS[_0x4f8bf2(0x1d0)]['dispatcher']['on'](CodeceptJS[_0x4f8bf2(0x1d0)]['all'][_0x4f8bf2(0x14b)],async()=>{const _0x4ffbc6=_0x4f8bf2;PerformanceTester[_0x4ffbc6(0x127)](PerformanceEvents[_0x4ffbc6(0x137)]);try{requestSpy[_0x4ffbc6(0x1dd)](),await _0x5780d0[_0x4ffbc6(0x100)](),PerformanceTester[_0x4ffbc6(0x186)](PerformanceEvents[_0x4ffbc6(0x137)]);}catch(_0x17e5b3){PerformanceTester[_0x4ffbc6(0xef)](_0x17e5b3),PerformanceTester[_0x4ffbc6(0x186)](PerformanceEvents[_0x4ffbc6(0x137)],![],_0x17e5b3);}finally{PerformanceTester[_0x4ffbc6(0xec)]();}});const _0x402436=(_0x52e169,_0x3161a0)=>{const _0x586cff=_0x4f8bf2;if(!_0x5780d0)return;if(!_0x5780d0[_0x586cff(0x14a)]()){_0x5780d0[_0x586cff(0x1ae)](_0x52e169,_0x3161a0);return;}CodeceptRecorder[_0x586cff(0xfd)](()=>_0x5780d0[_0x586cff(0x1c1)](_0x52e169,_0x3161a0));};CodeceptJS[_0x4f8bf2(0x1d0)][_0x4f8bf2(0xe6)]['on'](CodeceptJS[_0x4f8bf2(0x1d0)][_0x4f8bf2(0x18a)]['started'],_0x2efa54=>{const _0x1733df=_0x4f8bf2;PerformanceTester[_0x1733df(0x127)](PerformanceEvents[_0x1733df(0x14f)]);try{const _0x197d10=_0x2efa54[_0x1733df(0x158)][_0x1733df(0x143)],_0x3f28bb=_0x5780d0['captureEvent'](TEST_EVENTS[_0x1733df(0xe5)],_0x197d10);_0x33d205[_0x1733df(0x1a1)](_0x402436,TEST_EVENTS[_0x1733df(0xe5)],_0x3f28bb);const _0x32dda4={};_0x32dda4[_0x1733df(0x1aa)]=_0x33d205[_0x1733df(0x103)],PerformanceTester['end'](PerformanceEvents['SDK_HOOK'],!![],null,_0x32dda4);}catch(_0x5640d1){const _0x3944b7={};_0x3944b7[_0x1733df(0x1aa)]=_0x33d205[_0x1733df(0x103)],PerformanceTester[_0x1733df(0x186)](PerformanceEvents[_0x1733df(0x14f)],![],_0x5640d1,_0x3944b7),PerformanceTester[_0x1733df(0xef)](_0x5640d1);}}),CodeceptJS[_0x4f8bf2(0x1d0)]['dispatcher']['on'](CodeceptJS['event'][_0x4f8bf2(0x18a)][_0x4f8bf2(0x18d)],_0x29c3e8=>{const _0x4bfc2f=_0x4f8bf2,_0x31738d={};_0x31738d[_0x4bfc2f(0x1aa)]=_0x33d205[_0x4bfc2f(0x166)],PerformanceTester[_0x4bfc2f(0x127)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x31738d);try{const _0x21cbf4=_0x29c3e8[_0x4bfc2f(0x158)][_0x4bfc2f(0x143)],_0x578afc=_0x5780d0[_0x4bfc2f(0x1e9)](TEST_EVENTS[_0x4bfc2f(0x18e)],_0x21cbf4);_0x33d205['AIEaW'](_0x402436,TEST_EVENTS[_0x4bfc2f(0x18e)],_0x578afc);const _0x1ae61b={};_0x1ae61b[_0x4bfc2f(0x1aa)]=_0x33d205[_0x4bfc2f(0x166)],PerformanceTester['end'](PerformanceHookEvents[_0x4bfc2f(0x14f)],!![],null,_0x1ae61b);}catch(_0x203632){PerformanceTester[_0x4bfc2f(0xef)](_0x203632);const _0x1bd357={};_0x1bd357[_0x4bfc2f(0x1aa)]=_0x33d205[_0x4bfc2f(0x166)],PerformanceTester[_0x4bfc2f(0x186)](PerformanceHookEvents['SDK_HOOK'],![],_0x203632,_0x1bd357);}}),CodeceptJS['event'][_0x4f8bf2(0xe6)]['on'](CodeceptJS[_0x4f8bf2(0x1d0)][_0x4f8bf2(0x18a)][_0x4f8bf2(0x199)],async(_0x230615,_0x3d5eea)=>{const _0x12721a=_0x4f8bf2;PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{const _0x3adb32=_0x230615[_0x12721a(0x158)]['test'],_0x4b5fb8=_0x5780d0[_0x12721a(0x1e9)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x3adb32,_0x3d5eea);_0x33d205[_0x12721a(0x130)](_0x402436,TEST_EVENTS[_0x12721a(0x18e)],_0x4b5fb8);const _0x377f19={};_0x377f19[_0x12721a(0x1aa)]=_0x33d205[_0x12721a(0x1d1)],PerformanceTester[_0x12721a(0x127)](PerformanceHookEvents[_0x12721a(0x14f)],!![],null,_0x377f19);}catch(_0x3e18d0){PerformanceTester[_0x12721a(0xef)](_0x3e18d0);const _0xd527a2={};_0xd527a2['hookType']=_0x33d205[_0x12721a(0x1d1)],PerformanceTester[_0x12721a(0x186)](PerformanceHookEvents['SDK_HOOK'],![],_0x3e18d0,_0xd527a2);}const _0x50045f={};_0x50045f[_0x12721a(0x1aa)]=_0x33d205[_0x12721a(0x1d1)],PerformanceTester['end'](PerformanceHookEvents[_0x12721a(0x14f)],!![],null,_0x50045f);}),CodeceptJS[_0x4f8bf2(0x1d0)]['dispatcher']['on'](CodeceptJS['event'][_0x4f8bf2(0x143)][_0x4f8bf2(0x1b3)],_0x361cbf=>{const _0x6dc416=_0x4f8bf2;PerformanceTester['start'](PerformanceHookEvents[_0x6dc416(0x14f)]);try{globals[_0x6dc416(0x1a9)](_0x33d205[_0x6dc416(0x147)],_0x361cbf[_0x6dc416(0xed)]);_0x33d205[_0x6dc416(0x159)](isBrowserstackInfra)&&(_0x12d6e4&&(global[_0x6dc416(0x116)]={'currentTest':{'name':_0x361cbf[_0x6dc416(0xed)],'testInfo':{'titlePath':_0x361cbf[_0x6dc416(0xeb)]()}}}));const _0x50f258={};_0x50f258[_0x6dc416(0x1aa)]=_0x33d205[_0x6dc416(0x104)],PerformanceTester[_0x6dc416(0x186)](PerformanceHookEvents[_0x6dc416(0x14f)],!![],null,_0x50f258);}catch(_0x5b0575){PerformanceTester[_0x6dc416(0xef)](_0x5b0575);const _0x59d8f6={};_0x59d8f6['hookType']=_0x33d205[_0x6dc416(0x104)],PerformanceTester[_0x6dc416(0x186)](PerformanceHookEvents[_0x6dc416(0x14f)],![],_0x5b0575,_0x59d8f6);}}),CodeceptJS['event'][_0x4f8bf2(0xe6)]['on'](CodeceptJS[_0x4f8bf2(0x1d0)][_0x4f8bf2(0x143)][_0x4f8bf2(0x132)],_0x726bb2=>{const _0x2e13eb=_0x4f8bf2,_0x59d48a={'bHoWK':function(_0x4e12e7){const _0x54c154=a1_0x6be4;return _0x33d205[_0x54c154(0x123)](_0x4e12e7);},'ztqad':function(_0x566a21,_0x33ae51){const _0x4000dc=a1_0x6be4;return _0x33d205[_0x4000dc(0xfb)](_0x566a21,_0x33ae51);},'mWSOY':function(_0x132961,_0x838762,_0x1c8bbe){const _0x3613bb=a1_0x6be4;return _0x33d205[_0x3613bb(0x1b8)](_0x132961,_0x838762,_0x1c8bbe);}};PerformanceTester[_0x2e13eb(0x127)](PerformanceHookEvents[_0x2e13eb(0x14f)]);try{globals[_0x2e13eb(0x1a9)](_0x33d205[_0x2e13eb(0x147)],_0x726bb2[_0x2e13eb(0xed)]);const _0x36bcbf=_0x5780d0[_0x2e13eb(0x1e9)](TEST_EVENTS['TEST_RUN_STARTED'],_0x726bb2);CodeceptRecorder[_0x2e13eb(0xfd)](()=>_0x5780d0[_0x2e13eb(0x10e)]()),CodeceptRecorder[_0x2e13eb(0xfd)](()=>_0x5780d0[_0x2e13eb(0x1c1)](TEST_EVENTS[_0x2e13eb(0x1d5)],_0x36bcbf)),CodeceptRecorder['add'](async()=>{const _0x2e8430=_0x2e13eb;_0x59d48a[_0x2e8430(0x1e6)](isBrowserstackInfra)&&(!_0x59d48a['ztqad'](isTrue,_0x49a6c8[_0x2e8430(0xe3)])&&await _0x59d48a[_0x2e8430(0x1bf)](markSessionName,_0x386324,_0x726bb2[_0x2e8430(0xed)]),_0x5780d0[_0x2e8430(0xfa)]&&await _0x59d48a[_0x2e8430(0x1b0)](o11ySync,_0x386324));});}catch(_0x1d909e){const _0xe64563={};_0xe64563[_0x2e13eb(0x1aa)]=_0x33d205['npJIS'],PerformanceTester[_0x2e13eb(0x186)](PerformanceHookEvents[_0x2e13eb(0x14f)],![],_0x1d909e,_0xe64563),PerformanceTester[_0x2e13eb(0xef)](_0x1d909e);}const _0x148ba9={};_0x148ba9[_0x2e13eb(0x1aa)]=_0x33d205[_0x2e13eb(0x1e4)],PerformanceTester[_0x2e13eb(0x186)](PerformanceHookEvents[_0x2e13eb(0x14f)],!![],null,_0x148ba9);}),CodeceptJS[_0x4f8bf2(0x1d0)][_0x4f8bf2(0xe6)]['on'](CodeceptJS[_0x4f8bf2(0x1d0)][_0x4f8bf2(0x143)][_0x4f8bf2(0x18d)],_0x211c09=>{const _0x2e117c=_0x4f8bf2,_0x3c036c={'gIqFx':function(_0x48d886,_0x133493,_0xbc70d6){return _0x33d205['LWJEJ'](_0x48d886,_0x133493,_0xbc70d6);},'SKTBB':function(_0x3004ef){return _0x33d205['zvNtE'](_0x3004ef);}};PerformanceTester[_0x2e117c(0x127)](PerformanceHookEvents['SDK_HOOK']);try{const _0x308c6a=_0x5780d0[_0x2e117c(0x1e9)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x211c09);CodeceptRecorder[_0x2e117c(0xfd)](()=>_0x5780d0[_0x2e117c(0x1c1)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x308c6a)),CodeceptRecorder['add'](async()=>{const _0x1e9112=_0x2e117c;_0x3c036c['SKTBB'](isBrowserstackInfra)&&await PerformanceTester[_0x1e9112(0x174)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x1f3746=_0x1e9112;_0x12d6e4?await _0x3c036c[_0x1f3746(0x1ab)](playwrightMarkSessionStatus,_0x386324,STATE_PASSED):await _0x3c036c['gIqFx'](markSessionStatus,_0x386324,STATE_PASSED);})();}),PerformanceTester[_0x2e117c(0x186)](PerformanceEvents[_0x2e117c(0x10c)]);}catch(_0x302b47){PerformanceTester[_0x2e117c(0xef)](_0x302b47);const _0x4f6085={};_0x4f6085[_0x2e117c(0x1aa)]=_0x33d205['jSnKN'],PerformanceTester['end'](PerformanceHookEvents[_0x2e117c(0x14f)],![],_0x302b47,_0x4f6085),PerformanceTester[_0x2e117c(0x186)](PerformanceEvents[_0x2e117c(0x10c)],![],_0x302b47);}const _0x5854d9={};_0x5854d9[_0x2e117c(0x1aa)]=_0x33d205[_0x2e117c(0x1bc)],PerformanceTester[_0x2e117c(0x186)](PerformanceHookEvents[_0x2e117c(0x14f)],!![],null,_0x5854d9);}),CodeceptJS[_0x4f8bf2(0x1d0)][_0x4f8bf2(0xe6)]['on'](CodeceptJS['event'][_0x4f8bf2(0x143)][_0x4f8bf2(0x199)],(_0x5d9216,_0x3d7564)=>{const _0x1160f7=_0x4f8bf2;PerformanceTester[_0x1160f7(0x127)](PerformanceHookEvents[_0x1160f7(0x14f)]);try{if(_0x33d205[_0x1160f7(0x19b)](_0x5d9216[_0x1160f7(0x10d)][_0x1160f7(0xda)],_0x33d205[_0x1160f7(0x165)])){const _0x43ad5b=_0x5780d0['captureEvent'](TEST_EVENTS[_0x1160f7(0x168)],_0x5d9216[_0x1160f7(0x158)][_0x1160f7(0x1a6)]);CodeceptRecorder[_0x1160f7(0xfd)](()=>_0x5780d0[_0x1160f7(0x1c1)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x43ad5b));}else{const _0x109f41=_0x5780d0['captureEvent'](TEST_EVENTS[_0x1160f7(0x145)],_0x5d9216,_0x3d7564);CodeceptRecorder['add'](()=>{const _0x4e24b5=_0x1160f7;try{_0x5780d0[_0x4e24b5(0x1c1)](TEST_EVENTS[_0x4e24b5(0x145)],_0x109f41);}catch(_0x26edca){logger[_0x4e24b5(0x13b)](_0x4e24b5(0x17d)+util['format'](_0x26edca)),PerformanceTester[_0x4e24b5(0x186)](PerformanceEvents[_0x4e24b5(0x10c)],![],_0x26edca);}}),CodeceptRecorder[_0x1160f7(0xfd)](async()=>{const _0x591cc9=_0x1160f7;try{_0x33d205[_0x591cc9(0x123)](isBrowserstackInfra)&&(_0x12d6e4?await _0x33d205['aZobc'](playwrightMarkSessionStatus,_0x386324,STATE_FAILED,_0x3d7564):await _0x33d205[_0x591cc9(0x13e)](markSessionStatus,_0x386324,STATE_FAILED,_0x3d7564));}catch(_0x42eccf){logger[_0x591cc9(0x13b)](_0x591cc9(0x1b4)+util[_0x591cc9(0x189)](_0x42eccf)),PerformanceTester[_0x591cc9(0x186)](PerformanceEvents[_0x591cc9(0x10c)],![],_0x42eccf);}});}PerformanceTester[_0x1160f7(0x186)](PerformanceEvents[_0x1160f7(0x10c)]);}catch(_0x466683){PerformanceTester[_0x1160f7(0xef)](_0x466683);const _0x458464={};_0x458464[_0x1160f7(0x1aa)]=_0x33d205[_0x1160f7(0x1c5)],PerformanceTester[_0x1160f7(0x186)](PerformanceHookEvents[_0x1160f7(0x14f)],![],_0x466683,_0x458464),PerformanceTester[_0x1160f7(0x186)](PerformanceEvents[_0x1160f7(0x10c)],![],_0x466683);}const _0xc410d={};_0xc410d[_0x1160f7(0x1aa)]=_0x33d205[_0x1160f7(0x1c5)],PerformanceTester[_0x1160f7(0x186)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0xc410d);}),CodeceptJS[_0x4f8bf2(0x1d0)][_0x4f8bf2(0xe6)]['on'](CodeceptJS[_0x4f8bf2(0x1d0)]['test'][_0x4f8bf2(0x1ce)],_0x31e86a=>{const _0x348c1b=_0x4f8bf2;PerformanceTester[_0x348c1b(0x127)](PerformanceHookEvents[_0x348c1b(0x14f)]);try{const _0x5541a5=_0x5780d0[_0x348c1b(0x1e9)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x31e86a);CodeceptRecorder[_0x348c1b(0xfd)](()=>_0x5780d0[_0x348c1b(0x1c1)](TEST_EVENTS[_0x348c1b(0x168)],_0x5541a5)),PerformanceTester[_0x348c1b(0x186)](PerformanceEvents[_0x348c1b(0x10c)]);}catch(_0x1abe20){PerformanceTester[_0x348c1b(0xef)](_0x1abe20),PerformanceTester[_0x348c1b(0x186)](PerformanceEvents[_0x348c1b(0x10c)],![],_0x1abe20);const _0x3715de={};_0x3715de[_0x348c1b(0x1aa)]=_0x33d205[_0x348c1b(0x153)],PerformanceTester[_0x348c1b(0x186)](PerformanceHookEvents[_0x348c1b(0x14f)],![],_0x1abe20,_0x3715de);}const _0x232492={};_0x232492['hookType']=_0x33d205[_0x348c1b(0x153)],PerformanceTester[_0x348c1b(0x186)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x232492);}),CodeceptJS[_0x4f8bf2(0x1d0)]['dispatcher']['on'](CodeceptJS[_0x4f8bf2(0x1d0)][_0x4f8bf2(0x143)][_0x4f8bf2(0x14b)],async(_0x3531fe,_0x24f1e7)=>{const _0x105f5c=_0x4f8bf2;try{PerformanceTester[_0x105f5c(0x127)](PerformanceHookEvents[_0x105f5c(0x14f)]);const _0x2f6841=_0x33d205[_0x105f5c(0x130)](shouldScanTestForAccessibility,_0x3531fe[_0x105f5c(0xeb)](),!![]);if(_0x33d205[_0x105f5c(0x19f)](isAccessibilityAutomationSession)&&global[_0x105f5c(0xea)]&&_0x2f6841){const _0x4676da={};_0x4676da[_0x105f5c(0xf9)]=_0x3531fe['testAnalyticsId'],_0x4676da[_0x105f5c(0x16b)]=process['env'][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_UUID']],_0x4676da[_0x105f5c(0x135)]=process['env'][testHubConstants[_0x105f5c(0x19d)][_0x105f5c(0x1e5)]];const _0x280922=_0x4676da;logger[_0x105f5c(0x13b)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x105f5c(0x1ba)](_0x280922)),CodeceptRecorder[_0x105f5c(0xfd)](async()=>{const _0x6541=_0x105f5c,_0x16d70c={};_0x16d70c['command']=_0x33d205[_0x6541(0x176)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x6541(0x1c7)],async()=>{const _0x524fe8=_0x6541;await AccessibilityHelper['browserStackExecuteDriver'](_0x386324,scripts[_0x524fe8(0x1bb)]);},_0x16d70c)(),globals['getGlobal'](_0x33d205[_0x6541(0x190)])&&(_0x280922[_0x6541(0x179)]=!![]),await PerformanceTester[_0x6541(0x174)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x4b4b6e=_0x6541;await AccessibilityHelper[_0x4b4b6e(0x16d)](_0x386324,scripts['saveTestResults'],_0x280922);})();}),logger[_0x105f5c(0xfe)](_0x33d205['Bmgai']);}const _0x274d03={};_0x274d03[_0x105f5c(0x1aa)]=_0x33d205['LZXBF'],PerformanceTester[_0x105f5c(0x186)](PerformanceHookEvents[_0x105f5c(0x14f)],!![],null,_0x274d03);}catch(_0x3b6800){PerformanceTester[_0x105f5c(0xef)](_0x3b6800);const _0x16fe1b={};_0x16fe1b[_0x105f5c(0x1aa)]=_0x33d205['LZXBF'],PerformanceTester[_0x105f5c(0x186)](PerformanceHookEvents[_0x105f5c(0x14f)],![],_0x3b6800,_0x16fe1b);}}),CodeceptJS[_0x4f8bf2(0x1d0)][_0x4f8bf2(0xe6)]['on'](CodeceptJS[_0x4f8bf2(0x1d0)][_0x4f8bf2(0x17e)][_0x4f8bf2(0x1a0)],_0xc64a07=>{const _0x3c11fa=_0x4f8bf2;PerformanceTester['start'](PerformanceHookEvents[_0x3c11fa(0x14f)]);try{process['emit']('bs:addLog:'+process['pid'],{'timestamp':new Date()[_0x3c11fa(0x170)](),'level':_0x33d205[_0x3c11fa(0xde)],'message':_0xc64a07,'kind':_0x33d205['xarun'],'http_response':{}});}catch(_0x3eb22e){PerformanceTester['captureError'](_0x3eb22e);const _0x5bea21={};_0x5bea21[_0x3c11fa(0x1aa)]=_0x33d205[_0x3c11fa(0x101)],PerformanceTester[_0x3c11fa(0x186)](PerformanceHookEvents[_0x3c11fa(0x14f)],![],_0x3eb22e,_0x5bea21);}const _0x553be5={};_0x553be5[_0x3c11fa(0x1aa)]=_0x33d205[_0x3c11fa(0x101)],PerformanceTester['end'](PerformanceHookEvents[_0x3c11fa(0x14f)],!![],null,_0x553be5);}),CodeceptJS[_0x4f8bf2(0x1d0)][_0x4f8bf2(0xe6)]['on'](CodeceptJS[_0x4f8bf2(0x1d0)][_0x4f8bf2(0x1a2)]['before'],_0xa4bc4f=>{const _0x75bd30=_0x4f8bf2,_0x18fd1e={};_0x18fd1e[_0x75bd30(0x1aa)]=_0x33d205[_0x75bd30(0x131)],PerformanceTester[_0x75bd30(0x174)](PerformanceHookEvents['SDK_HOOK'],()=>{const _0x1e9f3d=_0x75bd30;_0x5780d0[_0x1e9f3d(0x1e7)](_0xa4bc4f);},_0x18fd1e)();}),CodeceptJS[_0x4f8bf2(0x1d0)][_0x4f8bf2(0xe6)]['on'](CodeceptJS[_0x4f8bf2(0x1d0)][_0x4f8bf2(0x1a2)][_0x4f8bf2(0x14b)],_0x21639e=>{const _0x2b0ef2=_0x4f8bf2,_0x3a2098={};_0x3a2098[_0x2b0ef2(0x1aa)]=_0x33d205['BNCqN'],PerformanceTester[_0x2b0ef2(0x174)](PerformanceHookEvents[_0x2b0ef2(0x14f)],()=>{_0x5780d0['bddStepFinish'](_0x21639e);},_0x3a2098)();});};
|
|
1
|
+
const a1_0x2da143=a1_0xcfac;(function(_0x113813,_0x1ac1d7){const _0x38641a=a1_0xcfac,_0x412242=_0x113813();while(!![]){try{const _0x385122=-parseInt(_0x38641a(0xfd))/0x1*(-parseInt(_0x38641a(0x154))/0x2)+-parseInt(_0x38641a(0x11f))/0x3+parseInt(_0x38641a(0xbf))/0x4*(-parseInt(_0x38641a(0xb0))/0x5)+parseInt(_0x38641a(0x163))/0x6+parseInt(_0x38641a(0xe5))/0x7+-parseInt(_0x38641a(0x18f))/0x8+parseInt(_0x38641a(0x15e))/0x9;if(_0x385122===_0x1ac1d7)break;else _0x412242['push'](_0x412242['shift']());}catch(_0x10e38f){_0x412242['push'](_0x412242['shift']());}}}(a1_0x3ae2,0xb4f20));const fs=require('fs'),util=require(a1_0x2da143(0x130)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x2da143(0xc2)),logger=require('../../helpers/logger')[a1_0x2da143(0x12d)],testOpsHelper=require(a1_0x2da143(0x9d)),requestSpy=require(a1_0x2da143(0xec)),PlaywrightSessionDetails=require(a1_0x2da143(0x175)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require('./o11yHelper'),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x2da143(0x9f)),AccessibilityHelper=require(a1_0x2da143(0x15c)),scripts=require(a1_0x2da143(0xdb)),PerformanceTester=require(a1_0x2da143(0x99)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require('../../helpers/performance/constants'),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x2da143(0x88)),testHubConstants=require(a1_0x2da143(0x12e)),globals=require(a1_0x2da143(0xfa)),CodeceptJS=requireModule(a1_0x2da143(0xe8),'codeceptjs'),CodeceptUtils=requireModule('codeceptjs/lib/utils.js',a1_0x2da143(0x169)),CodeceptWebDriver=requireModule('codeceptjs/lib/helper/WebDriver.js',a1_0x2da143(0x169)),CodeceptRecorder=requireModule(a1_0x2da143(0x115),a1_0x2da143(0x169)),CodeceptPlaywright=requireModule(a1_0x2da143(0x137),a1_0x2da143(0x169));try{require(a1_0x2da143(0x18e))[a1_0x2da143(0x12c)](a1_0x2da143(0x169));}catch(a1_0x354046){logger[a1_0x2da143(0x14c)](a1_0x2da143(0xe9)+(a1_0x354046&&a1_0x354046[a1_0x2da143(0x187)]));}const playwrightMarkSessionStatus=(_0xe6f509,_0x11f807,_0x34bdcc)=>{const _0x3c115d=a1_0x2da143,_0x52411e={'PtoUQ':_0x3c115d(0x101),'jOpKw':function(_0xcf5e4b,_0xf6f179){return _0xcf5e4b(_0xf6f179);}},_0x21c0f2={};_0x21c0f2[_0x3c115d(0x91)]=_0x11f807;const _0x385de9={};_0x385de9[_0x3c115d(0x9a)]=_0x52411e[_0x3c115d(0xf9)],_0x385de9['arguments']=_0x21c0f2;const _0x9a5c2c=_0x385de9;return!_0x52411e[_0x3c115d(0x17d)](isUndefined,_0x34bdcc)&&(_0x9a5c2c[_0x3c115d(0x89)]['reason']=JSON[_0x3c115d(0x13c)](_0x34bdcc)),_0xe6f509[_0x3c115d(0x83)](()=>{},_0x3c115d(0x13e)+JSON[_0x3c115d(0x13c)](_0x9a5c2c));},o11ySync=PerformanceTester[a1_0x2da143(0x131)](PerformanceO11yEvents['SYNC'],async _0x1644c3=>{const _0xdf5900=a1_0x2da143,_0x4eb32d={};_0x4eb32d['eCGQA']=function(_0x523b59,_0x3345f8){return _0x523b59===_0x3345f8;},_0x4eb32d[_0xdf5900(0x168)]=_0xdf5900(0x14d);const _0x4d7696=_0x4eb32d;_0x4d7696['eCGQA'](_0x1644c3[_0xdf5900(0x86)][_0xdf5900(0x14f)],_0x4d7696[_0xdf5900(0x168)])?await _0x1644c3[_0xdf5900(0x83)](_0x396107=>{},testOpsHelper['getSyncScript']()):await _0x1644c3[_0xdf5900(0x83)](testOpsHelper[_0xdf5900(0xd7)]());}),markSessionName=PerformanceTester['measureWrapper'](PerformanceAutEvents['SESSION_NAME'],async(_0x4aedda,_0x4e1a6d)=>{const _0x8a5c4=a1_0x2da143,_0x1b7f97={};_0x1b7f97[_0x8a5c4(0x176)]=_0x8a5c4(0xa5),_0x1b7f97['DUtEh']=function(_0x47095a,_0x58b572){return _0x47095a===_0x58b572;},_0x1b7f97[_0x8a5c4(0x180)]=_0x8a5c4(0x14d);const _0x556f88=_0x1b7f97,_0x4ce31c={};_0x4ce31c[_0x8a5c4(0x14f)]=_0x4e1a6d;const _0x117f88={};_0x117f88['action']=_0x556f88[_0x8a5c4(0x176)],_0x117f88[_0x8a5c4(0x89)]=_0x4ce31c;const _0x537613=_0x117f88;_0x556f88['DUtEh'](_0x4aedda[_0x8a5c4(0x86)]['name'],_0x556f88[_0x8a5c4(0x180)])?await _0x4aedda[_0x8a5c4(0x83)](()=>{},_0x8a5c4(0x13e)+JSON[_0x8a5c4(0x13c)](_0x537613)):await _0x4aedda[_0x8a5c4(0x83)]('browserstack_executor:\x20'+JSON[_0x8a5c4(0x13c)](_0x537613));}),patchSaveScreenshot=_0x197368=>{const _0x2934c8=a1_0x2da143,_0x5ea6d3={'xBjwb':_0x2934c8(0xe4),'TQIXd':_0x2934c8(0x8a),'cxonB':function(_0x508bc3){return _0x508bc3();},'tMOsA':function(_0x43ddbf,_0x38d82c){return _0x43ddbf(_0x38d82c);},'IlHWf':_0x2934c8(0x10b)};_0x5ea6d3[_0x2934c8(0x139)](isTrue,process['env'][_0x2934c8(0x129)])&&!_0x197368['patchSaveScreenshot']&&(_0x197368['patchSaveScreenshot']=!![],_0x197368[_0x2934c8(0x12f)]=_0x197368[_0x2934c8(0x17f)],_0x197368[_0x2934c8(0x17f)]=(_0x33695f,_0x206710=![])=>{const _0x12f5ea=_0x2934c8,_0x3ccd06={'wynVF':_0x5ea6d3[_0x12f5ea(0x96)],'uisgK':_0x5ea6d3['TQIXd'],'Jtdnt':function(_0x2db97a){const _0x2cd1aa=_0x12f5ea;return _0x5ea6d3[_0x2cd1aa(0x16e)](_0x2db97a);},'EHPmW':function(_0x32ff0f,_0xdb6b35){const _0x3a0c05=_0x12f5ea;return _0x5ea6d3[_0x3a0c05(0x139)](_0x32ff0f,_0xdb6b35);},'fKSQb':_0x5ea6d3[_0x12f5ea(0x147)]};return new Promise(function(_0x3f7ac2,_0x561145){const _0x5c59b1=_0x12f5ea;_0x197368[_0x5c59b1(0x12f)](_0x33695f,_0x206710)[_0x5c59b1(0xc9)](()=>{const _0x1231fc=_0x5c59b1,_0x2912b6=CodeceptUtils['screenshotOutputFolder'](_0x33695f);if(_0x2912b6){const _0x17346a=fs[_0x1231fc(0xa2)](_0x2912b6);process[_0x1231fc(0xbd)]('bs:addLog:'+process['pid'],{'timestamp':new Date()[_0x1231fc(0xab)](),'message':_0x17346a['toString'](_0x3ccd06['wynVF']),'kind':_0x3ccd06[_0x1231fc(0x136)]}),_0x3ccd06[_0x1231fc(0x17c)](_0x3f7ac2);}_0x3ccd06[_0x1231fc(0xfe)](_0x561145,new Error(_0x3ccd06['fKSQb']));})['catch'](()=>null);});});},patchWebDriverBefore=(_0xb71f1,_0x386397)=>{const _0x28b8dc=a1_0x2da143,_0x3e23aa={'GjUsQ':function(_0x355be7){return _0x355be7();},'AkoUN':function(_0x268eb1,_0x3db109){return _0x268eb1(_0x3db109);},'BViDh':function(_0x33dd50,_0x249445){return _0x33dd50===_0x249445;},'kQrYH':_0x28b8dc(0xf5),'DGlga':function(_0x44502c,_0x81acbf){return _0x44502c===_0x81acbf;},'poCok':_0x28b8dc(0xf1),'QVPxv':_0x28b8dc(0xf6),'pWRlq':function(_0x326b9f,_0x1d9379){return _0x326b9f(_0x1d9379);},'qaHBt':_0x28b8dc(0x132)},_0x11593e=async function(_0xe7c901,_0x135aa7){const _0x5133f1=_0x28b8dc;_0x3e23aa['GjUsQ'](isAccessibilityAutomationSession)&&!global[_0x5133f1(0xa4)]&&global['accessibilityPlatform']&&scripts[_0x5133f1(0xd4)](_0xe7c901[_0x5133f1(0x14f)])&&_0x3e23aa[_0x5133f1(0x184)](shouldPatchExecuteScript,arguments[0x2])&&(global['bstackAllyScanning']=!![],await PerformanceTester[_0x5133f1(0x131)](PerformanceA11yEvents[_0x5133f1(0xeb)],async()=>{const _0x575dcf=_0x5133f1;logger['debug'](_0x575dcf(0xa0)+_0xe7c901['class']+'\x20'+_0xe7c901['name']),await AccessibilityHelper['browserStackExecuteDriver'](_0xb71f1,scripts[_0x575dcf(0xd5)]);},{'command':_0xe7c901[_0x5133f1(0x14f)]})());global[_0x5133f1(0xa4)]=![];const _0x5b1953=JSON[_0x5133f1(0x10d)](process[_0x5133f1(0x85)][_0x5133f1(0x98)]||'{}');if(_0x3e23aa['BViDh'](_0x5b1953?.[_0x5133f1(0xea)]?.[_0x5133f1(0x14f)],_0x3e23aa['kQrYH'])&&_0x3e23aa[_0x5133f1(0x146)](typeof _0x5b1953?.[_0x5133f1(0xea)]?.['version'],_0x3e23aa[_0x5133f1(0x144)])&&_0x5b1953?.[_0x5133f1(0xea)]?.[_0x5133f1(0xa6)][_0x5133f1(0x145)]('7'))return _0x135aa7[_0x5133f1(0xc5)](null,Array[_0x5133f1(0x152)][_0x5133f1(0x93)]['call'](arguments,0x2));return _0x135aa7[_0x5133f1(0xc5)](this,Array['prototype'][_0x5133f1(0x93)]['call'](arguments,0x2));},_0x2ca5c6=CodeceptWebDriver[_0x28b8dc(0x152)]['_before'];CodeceptWebDriver[_0x28b8dc(0x152)][_0x28b8dc(0x166)]=async function(){const _0x3f022c=_0x28b8dc;try{await _0x2ca5c6['apply'](this,arguments);}catch(_0x3610b1){logger[_0x3f022c(0x14c)](_0x3f022c(0x185)+util[_0x3f022c(0xf0)](_0x3610b1));}scripts['commandsToWrap'][_0x3f022c(0xe2)](_0x16605d=>_0x16605d['name']&&_0x16605d[_0x3f022c(0xc3)])[_0x3f022c(0x108)](_0x3eef77=>{const _0x1eb873=_0x3f022c;this[_0x1eb873(0xc4)][_0x1eb873(0xe3)](_0x3eef77[_0x1eb873(0x14f)],_0x11593e['bind'](this,_0x3eef77),_0x3e23aa['BViDh'](_0x3eef77['class'],_0x3e23aa[_0x1eb873(0x111)]));}),_0x3e23aa[_0x3f022c(0xa7)](processWebDriverConfig,_0xb71f1);try{_0x386397&&_0x3e23aa['BViDh'](typeof _0x386397['flushPendingHookEvents'],_0x3e23aa['qaHBt'])&&await _0x386397[_0x3f022c(0xf2)]();}catch(_0x37a54f){logger[_0x3f022c(0x14c)](_0x3f022c(0xe0)+util[_0x3f022c(0xf0)](_0x37a54f));}};};function a1_0xcfac(_0x48b381,_0x1e289c){const _0x3ae24a=a1_0x3ae2();return a1_0xcfac=function(_0xcfac6e,_0x2d9c8d){_0xcfac6e=_0xcfac6e-0x80;let _0x372ec2=_0x3ae24a[_0xcfac6e];return _0x372ec2;},a1_0xcfac(_0x48b381,_0x1e289c);}function parseJwt(_0x4c2b54){const _0x43b222=a1_0x2da143,_0x2e994f={};_0x2e994f[_0x43b222(0x160)]='base64';const _0x1c6cd2=_0x2e994f;if(!_0x4c2b54)return null;return JSON[_0x43b222(0x10d)](Buffer[_0x43b222(0x133)](_0x4c2b54[_0x43b222(0xf7)]('.')[0x1],_0x1c6cd2[_0x43b222(0x160)])[_0x43b222(0x158)]());}const patchPlaywrightBefore=_0x353cfe=>{const _0x4b7fc2=a1_0x2da143,_0x9dbea4={'EhOel':_0x4b7fc2(0x11d),'rgPTA':function(_0x253328){return _0x253328();},'FeOfP':function(_0x39e4b0,_0x474045){return _0x39e4b0(_0x474045);},'rFcEQ':function(_0x5a0aad){return _0x5a0aad();},'VzxdI':_0x4b7fc2(0x121),'aRQlf':function(_0x57fe8a,_0x1d1282){return _0x57fe8a+_0x1d1282;},'WAeFg':_0x4b7fc2(0x84),'ETHtt':function(_0x5fbfa7){return _0x5fbfa7();},'fvSrI':function(_0x41920b){return _0x41920b();},'xxpAC':function(_0x1959c8){return _0x1959c8();},'iVgGS':function(_0x3b27f2){return _0x3b27f2();},'Zeakx':function(_0x3156a3,_0x2110b3){return _0x3156a3===_0x2110b3;},'ynHrZ':_0x4b7fc2(0x132)};PlaywrightSessionDetails[_0x4b7fc2(0x126)]();const _0x4de174=CodeceptPlaywright['prototype'][_0x4b7fc2(0x166)];CodeceptPlaywright[_0x4b7fc2(0x152)][_0x4b7fc2(0x166)]=async function(){const _0x479d34=_0x4b7fc2,_0x11da54={'uLhbM':function(_0x440c6e){const _0x49c12b=a1_0xcfac;return _0x9dbea4[_0x49c12b(0xad)](_0x440c6e);},'SReJi':_0x9dbea4[_0x479d34(0x178)]};this[_0x479d34(0x171)]=await this[_0x479d34(0xc4)]['contexts']()[0x0];const _0x4c6776=async()=>{const _0x106dd5=_0x479d34,_0x2cdb1b=this[_0x106dd5(0xee)]&&this[_0x106dd5(0xee)][_0x106dd5(0x164)]&&this[_0x106dd5(0xee)][_0x106dd5(0x164)][_0x106dd5(0xb1)]&&Array['isArray'](this[_0x106dd5(0xee)][_0x106dd5(0x164)][_0x106dd5(0xb1)])&&this[_0x106dd5(0xee)][_0x106dd5(0x164)]['args'][_0x106dd5(0xa8)](_0x9dbea4['EhOel']);if(_0x9dbea4[_0x106dd5(0x182)](isAccessibilityAutomationSession)&&!_0x2cdb1b)try{const _0x309995=_0x9dbea4['FeOfP'](parseJwt,process[_0x106dd5(0x85)][_0x106dd5(0x15a)]);if(_0x309995&&_0x309995['a11y_core_config']&&_0x309995[_0x106dd5(0x112)][_0x106dd5(0x189)]){const _0xc7a798=this[_0x106dd5(0x171)][_0x106dd5(0x179)][_0x106dd5(0x18d)](this['browserContext']);this['browserContext'][_0x106dd5(0x179)]=async function(){const _0x51bd2e=_0x106dd5,_0x4840cd=await _0x11da54[_0x51bd2e(0x18a)](_0xc7a798),_0x4fe356=[];for(const _0x3e009f of _0x4840cd){try{const _0x1a28be=await _0x3e009f['url']();!_0x1a28be[_0x51bd2e(0x145)](_0x11da54[_0x51bd2e(0x8b)])&&_0x4fe356[_0x51bd2e(0x15f)](_0x3e009f);}catch(_0x5ca72a){_0x4fe356[_0x51bd2e(0x15f)](_0x3e009f);}}return _0x4fe356;};}if(!_0x9dbea4[_0x106dd5(0x14b)](isBrowserstackInfra)){const _0x42096d=await this[_0x106dd5(0xbb)][_0x106dd5(0x81)]();if(_0x42096d[_0x106dd5(0x145)](_0x9dbea4['VzxdI'])){const _0x13ac1c=await this['browserContext'][_0x106dd5(0x179)]();this[_0x106dd5(0x16d)](_0x13ac1c[0x0]);}}}catch(_0x3bfed4){logger['debug'](_0x106dd5(0x12b)+_0x3bfed4[_0x106dd5(0x187)]+(_0x3bfed4[_0x106dd5(0x183)]?_0x9dbea4['aRQlf'](_0x9dbea4['WAeFg'],_0x3bfed4[_0x106dd5(0x183)]):''));}};_0x9dbea4[_0x479d34(0x134)](isBrowserstackInfra)&&await _0x9dbea4[_0x479d34(0x87)](_0x4c6776);await _0x4de174[_0x479d34(0xc5)](this,arguments);!_0x9dbea4[_0x479d34(0x8f)](isBrowserstackInfra)&&await _0x9dbea4[_0x479d34(0x87)](_0x4c6776);try{_0x353cfe&&_0x9dbea4[_0x479d34(0x12a)](typeof _0x353cfe[_0x479d34(0xf2)],_0x9dbea4[_0x479d34(0xa3)])&&await _0x353cfe[_0x479d34(0xf2)]();}catch(_0x493c96){logger['debug'](_0x479d34(0xd0)+util[_0x479d34(0xf0)](_0x493c96));}};},getCodeceptDriver=()=>{const _0x2883eb=a1_0x2da143,_0x58e8d5={};_0x58e8d5['pegHx']=_0x2883eb(0xff),_0x58e8d5['DiEXd']=_0x2883eb(0x14d),_0x58e8d5[_0x2883eb(0xa9)]=_0x2883eb(0xca),_0x58e8d5[_0x2883eb(0x80)]=_0x2883eb(0x188);const _0x4c2d31=_0x58e8d5,_0x486323=[_0x4c2d31[_0x2883eb(0xac)],_0x4c2d31[_0x2883eb(0x16c)],_0x4c2d31[_0x2883eb(0xa9)],_0x4c2d31['sETbP']],_0xac6a13=_0x486323['find'](_0x26b7cb=>!!CodeceptJS[_0x2883eb(0xba)]['helpers'](_0x26b7cb));if(!_0xac6a13)return null;return CodeceptJS['container'][_0x2883eb(0x173)](_0xac6a13);};function a1_0x3ae2(){const _0x1acb2a=['Failed\x20to\x20flush\x20pending\x20hook\x20events\x20after\x20Playwright\x20_before:\x20','QfbAG','SDK_POST_TEST','getGlobal','shouldWrapCommand','performScan','thTestRunUuid','getSyncScript','hookType','bddStepFinish','fkRYi','../../helpers/accessibility-automation/scripts','otTuW','stop','setGlobal','comment','Failed\x20to\x20flush\x20pending\x20hook\x20events\x20after\x20_before:\x20','CzvzR','filter','overwriteCommand','base64','926646gTKZfu','BROWSERSTACK_TESTHUB_UUID','Faaeq','codeceptjs/lib/index.js','driver-init\x20capture\x20install\x20failed:\x20','testFramework','PERFORM_SCAN','../../helpers/request-spy','browserstackTestName','config','exGHc','format','string','flushPendingHookEvents','all','skipSessionName','webdriverio','Element','split','mxLHZ','PtoUQ','../../helpers/globals.js','event','isMobilePlatform','2PDEAKu','EHPmW','WebDriver','XNkmx','setSessionStatus','passed','hook-passed','kdBXr','bdOxW','exports','mqRKJ','forEach','TiPyk','info','Screenshot\x20path\x20not\x20found','HOOK_RUN_FINISHED','parse','afterTest','start','bs:addLog:','QVPxv','a11y_core_config','captureError','oWKuq','codeceptjs/lib/recorder.js','BROWSERSTACK_TESTHUB_JWT','zbRgN','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','test','captureEvent','is_mobile_session','add','--auto-open-devtools-for-tabs','skipped','833652zOoChI','warn','devtools://','fjgVp','LLaEN','hook-started','RPyfW','patch','ampdL','SAVE_RESULTS','BS_TESTOPS_ALLOW_SCREENSHOTS','Zeakx','Failed\x20to\x20patch\x20pages\x20method\x20in\x20browserContext\x20for\x20a11y\x20domForge:\x20','installAll','winstonLogger','../../helpers/testhub/constants.js','initSaveScreenshot','util','measureWrapper','function','from','fvSrI','SDK_POST_INITIALIZE','uisgK','codeceptjs/lib/helper/Playwright.js','hasLiveDriverSession','tMOsA','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','test-skipped','stringify','getResults','browserstack_executor:\x20','AfCAZ','TEST_RUN_SKIPPED','HEMKQ','bufferPendingHookEvent','AVHPs','poCok','startsWith','DGlga','IlHWf','getAccessibilityResults','before','SDK_PRE_TEST','rFcEQ','debug','Playwright','fireEvent','name','dispatcher','bddStep-after','prototype','accessibilityPlatform','679718mtREKe','getResultsSummary','SDK_PRE_INITIALIZE','title','toString','getAccessibilityResultsSummary','BS_A11Y_JWT','pid','../../bin/playwright/accessibility-helper','after','10099008vvndCG','push','IcSoi','AnHpX','step-comment','578622botJUk','chromium','failed','_before','__driver','COllX','codeceptjs','INFO','DHqxT','DiEXd','_setPage','cxonB','MGuGU','__workerDetails','browserContext','TEST_RUN_FINISHED','helpers','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','../../bin/playwright/sessionDetails','wyVYV','SDK_HOOK','VzxdI','pages','thBuildUuid','step','Jtdnt','jOpKw','currentTest','saveScreenshot','EVOkr','quyMR','rgPTA','stack','AkoUN','Failed\x20to\x20execute\x20_before:\x20','ENV_VAR','message','TestCafe','domForge','uLhbM','bddStep-before','__skipSessionStatus','bind','../../helpers/driverInitErrorReporter','3653512lByimJ','sETbP','url','hook-failed','executeScript','\x0aStack:\x20','env','constructor','xxpAC','./helper.js','arguments','TEST_SCREENSHOT','SReJi','skipSessionStatus','saveTestResults','stopMonitoring','iVgGS','test-after','status','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','slice','igKzD','JGLDy','xBjwb','command','FRAMEWORK_DETAILS','../../helpers/performance/performance-tester','action','testAnalyticsId','CBAAE','../../helpers/test-observability/utils','browserStackExecuteDriver','../../helpers/accessibility-automation/helper','Performing\x20scan\x20for\x20','SlmeB','readFileSync','ynHrZ','bstackAllyScanning','setSessionName','version','pWRlq','includes','GnUsq','titlePath','toISOString','pegHx','ETHtt','JUjkK','started','2774600SnDLiK','args','test-before','test-failed','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','HOOK_RUN_STARTED','KcoWH','AijiX','startMonitoring','XOfhV','container','page','enabled','emit','yfSqX','4dxtbLR','NOktV','test-passed','../../helpers/helper','class','browser','apply','arrgp','GET_RESULTS','TEST_LOG','then','Puppeteer','SDK_TEST','ctx','xyWRN','end','hook'];a1_0x3ae2=function(){return _0x1acb2a;};return a1_0x3ae2();}module[a1_0x2da143(0x106)]=function(_0x48221d){const _0x6eeaf3=a1_0x2da143,_0x380991={'CBAAE':function(_0x3437f9,_0x194cf2){return _0x3437f9(_0x194cf2);},'SlmeB':function(_0x1b4d18,_0x574be0,_0x44a077){return _0x1b4d18(_0x574be0,_0x44a077);},'ACdZy':_0x6eeaf3(0x148),'TiPyk':_0x6eeaf3(0x174),'AnHpX':_0x6eeaf3(0x159),'CzvzR':_0x6eeaf3(0xb4),'NOktV':function(_0x9f97db,_0x309a0d){return _0x9f97db(_0x309a0d);},'otTuW':function(_0x1a25e9,_0x1703de,_0x2fd985){return _0x1a25e9(_0x1703de,_0x2fd985);},'igKzD':_0x6eeaf3(0x124),'JUjkK':_0x6eeaf3(0x103),'HEMKQ':function(_0x4f39b8,_0x21bff9,_0x2dca90){return _0x4f39b8(_0x21bff9,_0x2dca90);},'LLaEN':_0x6eeaf3(0x82),'RPyfW':_0x6eeaf3(0xed),'XNkmx':function(_0x267fca){return _0x267fca();},'mqRKJ':_0x6eeaf3(0xb2),'QfbAG':function(_0x12ace7){return _0x12ace7();},'MGuGU':function(_0x341108,_0x4b5fb9){return _0x341108(_0x4b5fb9);},'JGLDy':function(_0x334e24,_0x327932,_0x47ce85){return _0x334e24(_0x327932,_0x47ce85);},'quyMR':function(_0x5103ba,_0x24e473){return _0x5103ba(_0x24e473);},'KcoWH':'test-started','mxLHZ':function(_0x30353f,_0x9b2c3f,_0x548547){return _0x30353f(_0x9b2c3f,_0x548547);},'AijiX':_0x6eeaf3(0xc1),'Faaeq':function(_0x130f17,_0x2738d4,_0x55bdca,_0x2d049c){return _0x130f17(_0x2738d4,_0x55bdca,_0x2d049c);},'kdBXr':function(_0x36ea13,_0xd15fa){return _0x36ea13===_0xd15fa;},'DHqxT':'Suite','fkRYi':_0x6eeaf3(0xb3),'xyWRN':_0x6eeaf3(0x13b),'arrgp':_0x6eeaf3(0x10e),'KYcIs':_0x6eeaf3(0xfc),'zbRgN':function(_0x1a1512,_0x10f33b,_0xacd0ce){return _0x1a1512(_0x10f33b,_0xacd0ce);},'WBirM':_0x6eeaf3(0x13a),'fjgVp':_0x6eeaf3(0x90),'rSOJO':_0x6eeaf3(0x16a),'ampdL':_0x6eeaf3(0xc8),'AVHPs':_0x6eeaf3(0x162),'aWqXm':_0x6eeaf3(0x18b),'exGHc':_0x6eeaf3(0x151),'ApTRe':'Playwright'};_0x48221d[_0x6eeaf3(0x8c)]&&(global[_0x6eeaf3(0x18c)]=_0x48221d[_0x6eeaf3(0x8c)]);PerformanceTester[_0x6eeaf3(0xb8)]();const _0x56fa1e=_0x380991[_0x6eeaf3(0x100)](getCodeceptDriver),_0x13c322=new O11yHelper(_0x56fa1e,_0x48221d),_0x1dc02f=!!CodeceptJS['container'][_0x6eeaf3(0x173)](_0x380991['ApTRe']);global[_0x6eeaf3(0x167)]=_0x56fa1e;_0x56fa1e&&(PerformanceTester[_0x6eeaf3(0x131)](PerformanceEvents[_0x6eeaf3(0x156)],()=>{const _0x2dc1ff=_0x6eeaf3;_0x1dc02f?_0x380991[_0x2dc1ff(0x9c)](patchPlaywrightBefore,_0x13c322):_0x380991[_0x2dc1ff(0xa1)](patchWebDriverBefore,_0x56fa1e,_0x13c322);})(),PerformanceTester[_0x6eeaf3(0x131)](PerformanceEvents[_0x6eeaf3(0x135)],()=>{const _0x1875e3=_0x6eeaf3,_0xf48d25={};_0xf48d25[_0x1875e3(0x105)]=_0x380991[_0x1875e3(0x161)],_0xf48d25[_0x1875e3(0x13f)]=_0x380991[_0x1875e3(0xe1)];const _0xdd4863=_0xf48d25;_0x56fa1e[_0x1875e3(0x159)]=async()=>{const _0x3ad9a6=_0x1875e3;if(global['accessibilityPlatform']){const _0x1e31a8={};return _0x1e31a8[_0x3ad9a6(0x97)]=_0xdd4863[_0x3ad9a6(0x105)],await PerformanceTester[_0x3ad9a6(0x131)](PerformanceA11yEvents[_0x3ad9a6(0xeb)],async()=>{const _0x36fbbe=_0x3ad9a6;return await AccessibilityHelper['browserStackExecuteDriver'](_0x56fa1e,scripts[_0x36fbbe(0xd5)]);},_0x1e31a8)(),await PerformanceTester[_0x3ad9a6(0x131)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x79bd6c=_0x3ad9a6;return await AccessibilityHelper['browserStackExecuteDriver'](_0x56fa1e,scripts[_0x79bd6c(0x155)]);})();}return logger[_0x3ad9a6(0x120)](_0xdd4863[_0x3ad9a6(0x13f)]),{};},_0x56fa1e[_0x1875e3(0x148)]=async()=>{const _0x42e407=_0x1875e3;if(global[_0x42e407(0x153)]){const _0x39b09d={};return _0x39b09d[_0x42e407(0x97)]=_0x380991['ACdZy'],await PerformanceTester[_0x42e407(0x131)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x1136b7=_0x42e407;return await AccessibilityHelper[_0x1136b7(0x9e)](_0x56fa1e,scripts[_0x1136b7(0xd5)]);},_0x39b09d)(),await PerformanceTester[_0x42e407(0x131)](PerformanceA11yEvents[_0x42e407(0xc7)],async()=>{const _0x195276=_0x42e407;return await AccessibilityHelper[_0x195276(0x9e)](_0x56fa1e,scripts[_0x195276(0x13d)]);})();}return logger[_0x42e407(0x120)](_0x380991[_0x42e407(0x109)]),{};},_0x380991[_0x1875e3(0xc0)](patchSaveScreenshot,_0x56fa1e);})());CodeceptJS[_0x6eeaf3(0xfb)]['dispatcher']['on'](CodeceptJS['event'][_0x6eeaf3(0xf3)][_0x6eeaf3(0x149)],()=>{const _0x1b7834=_0x6eeaf3;PerformanceTester['start'](PerformanceEvents['SDK_PRE_TEST']);try{_0x13c322[_0x1b7834(0x10f)](),testOpsHelper['addRequestSpy'](),PerformanceTester[_0x1b7834(0xce)](PerformanceEvents[_0x1b7834(0x14a)]);}catch(_0x35c18b){PerformanceTester['captureError'](_0x35c18b),PerformanceTester[_0x1b7834(0xce)](PerformanceEvents[_0x1b7834(0x14a)],![],_0x35c18b);}}),CodeceptJS[_0x6eeaf3(0xfb)][_0x6eeaf3(0x150)]['on'](CodeceptJS[_0x6eeaf3(0xfb)]['all'][_0x6eeaf3(0x15d)],async()=>{const _0x1385f4=_0x6eeaf3;PerformanceTester['start'](PerformanceEvents[_0x1385f4(0xd2)]);try{requestSpy['restore'](),await _0x13c322[_0x1385f4(0xdd)](),PerformanceTester[_0x1385f4(0xce)](PerformanceEvents['SDK_POST_TEST']);}catch(_0x506b3a){PerformanceTester[_0x1385f4(0x113)](_0x506b3a),PerformanceTester[_0x1385f4(0xce)](PerformanceEvents[_0x1385f4(0xd2)],![],_0x506b3a);}finally{PerformanceTester[_0x1385f4(0x8e)]();}});const _0x4643f7=(_0x1c2662,_0xe52d43)=>{const _0x30f338=_0x6eeaf3;if(!_0x13c322)return;if(!_0x13c322[_0x30f338(0x138)]()){_0x13c322[_0x30f338(0x142)](_0x1c2662,_0xe52d43);return;}CodeceptRecorder[_0x30f338(0x11c)](()=>_0x13c322[_0x30f338(0x14e)](_0x1c2662,_0xe52d43));};CodeceptJS[_0x6eeaf3(0xfb)]['dispatcher']['on'](CodeceptJS[_0x6eeaf3(0xfb)][_0x6eeaf3(0xcf)][_0x6eeaf3(0xaf)],_0x194108=>{const _0x5a00d3=_0x6eeaf3;PerformanceTester[_0x5a00d3(0x10f)](PerformanceEvents[_0x5a00d3(0x177)]);try{const _0x2e15dc=_0x194108[_0x5a00d3(0xcc)][_0x5a00d3(0x119)],_0x21e6e7=_0x13c322['captureEvent'](TEST_EVENTS[_0x5a00d3(0xb5)],_0x2e15dc);_0x380991['otTuW'](_0x4643f7,TEST_EVENTS[_0x5a00d3(0xb5)],_0x21e6e7);const _0x1d1451={};_0x1d1451['hookType']=_0x380991[_0x5a00d3(0x94)],PerformanceTester['end'](PerformanceEvents[_0x5a00d3(0x177)],!![],null,_0x1d1451);}catch(_0x17fa4d){const _0x45eee4={};_0x45eee4[_0x5a00d3(0xd8)]=_0x380991[_0x5a00d3(0x94)],PerformanceTester[_0x5a00d3(0xce)](PerformanceEvents[_0x5a00d3(0x177)],![],_0x17fa4d,_0x45eee4),PerformanceTester[_0x5a00d3(0x113)](_0x17fa4d);}}),CodeceptJS[_0x6eeaf3(0xfb)]['dispatcher']['on'](CodeceptJS[_0x6eeaf3(0xfb)][_0x6eeaf3(0xcf)][_0x6eeaf3(0x102)],_0x3ac753=>{const _0x45d45f=_0x6eeaf3,_0x582c9a={};_0x582c9a[_0x45d45f(0xd8)]=_0x380991['JUjkK'],PerformanceTester[_0x45d45f(0x10f)](PerformanceHookEvents[_0x45d45f(0x177)],!![],null,_0x582c9a);try{const _0x1c7a66=_0x3ac753[_0x45d45f(0xcc)]['test'],_0x35e193=_0x13c322['captureEvent'](TEST_EVENTS[_0x45d45f(0x10c)],_0x1c7a66);_0x380991[_0x45d45f(0x141)](_0x4643f7,TEST_EVENTS[_0x45d45f(0x10c)],_0x35e193);const _0x448a99={};_0x448a99[_0x45d45f(0xd8)]=_0x380991[_0x45d45f(0xae)],PerformanceTester[_0x45d45f(0xce)](PerformanceHookEvents[_0x45d45f(0x177)],!![],null,_0x448a99);}catch(_0x5ba6dd){PerformanceTester[_0x45d45f(0x113)](_0x5ba6dd);const _0x22c010={};_0x22c010['hookType']=_0x380991[_0x45d45f(0xae)],PerformanceTester[_0x45d45f(0xce)](PerformanceHookEvents[_0x45d45f(0x177)],![],_0x5ba6dd,_0x22c010);}}),CodeceptJS[_0x6eeaf3(0xfb)][_0x6eeaf3(0x150)]['on'](CodeceptJS['event'][_0x6eeaf3(0xcf)][_0x6eeaf3(0x165)],async(_0x1882b0,_0x1e10a1)=>{const _0xb347f7=_0x6eeaf3;PerformanceTester['start'](PerformanceHookEvents[_0xb347f7(0x177)]);try{const _0x517045=_0x1882b0[_0xb347f7(0xcc)][_0xb347f7(0x119)],_0x4f3460=_0x13c322[_0xb347f7(0x11a)](TEST_EVENTS[_0xb347f7(0x10c)],_0x517045,_0x1e10a1);_0x380991[_0xb347f7(0xdc)](_0x4643f7,TEST_EVENTS[_0xb347f7(0x10c)],_0x4f3460);const _0x11d0e6={};_0x11d0e6[_0xb347f7(0xd8)]=_0x380991['LLaEN'],PerformanceTester['start'](PerformanceHookEvents[_0xb347f7(0x177)],!![],null,_0x11d0e6);}catch(_0x3ac19e){PerformanceTester[_0xb347f7(0x113)](_0x3ac19e);const _0x1e48a3={};_0x1e48a3[_0xb347f7(0xd8)]=_0x380991[_0xb347f7(0x123)],PerformanceTester['end'](PerformanceHookEvents[_0xb347f7(0x177)],![],_0x3ac19e,_0x1e48a3);}const _0x2c0099={};_0x2c0099[_0xb347f7(0xd8)]=_0x380991[_0xb347f7(0x123)],PerformanceTester[_0xb347f7(0xce)](PerformanceHookEvents[_0xb347f7(0x177)],!![],null,_0x2c0099);}),CodeceptJS[_0x6eeaf3(0xfb)]['dispatcher']['on'](CodeceptJS[_0x6eeaf3(0xfb)][_0x6eeaf3(0x119)][_0x6eeaf3(0x149)],_0x1a362f=>{const _0x158b9d=_0x6eeaf3;PerformanceTester['start'](PerformanceHookEvents[_0x158b9d(0x177)]);try{globals[_0x158b9d(0xde)](_0x380991[_0x158b9d(0x125)],_0x1a362f[_0x158b9d(0x157)]);_0x380991[_0x158b9d(0x100)](isBrowserstackInfra)&&(_0x1dc02f&&(global[_0x158b9d(0x170)]={'currentTest':{'name':_0x1a362f[_0x158b9d(0x157)],'testInfo':{'titlePath':_0x1a362f['titlePath']()}}}));const _0x12f084={};_0x12f084['hookType']=_0x380991[_0x158b9d(0x107)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x12f084);}catch(_0xd12535){PerformanceTester[_0x158b9d(0x113)](_0xd12535);const _0x588978={};_0x588978['hookType']=_0x380991['mqRKJ'],PerformanceTester[_0x158b9d(0xce)](PerformanceHookEvents[_0x158b9d(0x177)],![],_0xd12535,_0x588978);}}),CodeceptJS[_0x6eeaf3(0xfb)][_0x6eeaf3(0x150)]['on'](CodeceptJS['event']['test'][_0x6eeaf3(0xaf)],_0x3e25e7=>{const _0x43ba6b=_0x6eeaf3;PerformanceTester['start'](PerformanceHookEvents[_0x43ba6b(0x177)]);try{globals[_0x43ba6b(0xde)](_0x380991['RPyfW'],_0x3e25e7['title']);const _0x53654d=_0x13c322['captureEvent'](TEST_EVENTS['TEST_RUN_STARTED'],_0x3e25e7);CodeceptRecorder[_0x43ba6b(0x11c)](()=>_0x13c322['flushPendingHookEvents']()),CodeceptRecorder[_0x43ba6b(0x11c)](()=>_0x13c322['fireEvent'](TEST_EVENTS['TEST_RUN_STARTED'],_0x53654d)),CodeceptRecorder[_0x43ba6b(0x11c)](async()=>{const _0x500981=_0x43ba6b;_0x380991[_0x500981(0xd1)](isBrowserstackInfra)&&(!_0x380991[_0x500981(0x16f)](isTrue,_0x48221d[_0x500981(0xf4)])&&await _0x380991[_0x500981(0x95)](markSessionName,_0x56fa1e,_0x3e25e7['title']),_0x13c322[_0x500981(0xbc)]&&await _0x380991[_0x500981(0x181)](o11ySync,_0x56fa1e));});}catch(_0xcf978){const _0x1b6276={};_0x1b6276['hookType']=_0x380991[_0x43ba6b(0xb6)],PerformanceTester[_0x43ba6b(0xce)](PerformanceHookEvents[_0x43ba6b(0x177)],![],_0xcf978,_0x1b6276),PerformanceTester[_0x43ba6b(0x113)](_0xcf978);}const _0x46655f={};_0x46655f[_0x43ba6b(0xd8)]=_0x380991[_0x43ba6b(0xb6)],PerformanceTester[_0x43ba6b(0xce)](PerformanceHookEvents[_0x43ba6b(0x177)],!![],null,_0x46655f);}),CodeceptJS[_0x6eeaf3(0xfb)][_0x6eeaf3(0x150)]['on'](CodeceptJS['event'][_0x6eeaf3(0x119)]['passed'],_0x115413=>{const _0x142a15=_0x6eeaf3,_0x4cd718={'yfSqX':function(_0x1110ff,_0x3b8f3d,_0x3363e9){const _0x40432e=a1_0xcfac;return _0x380991[_0x40432e(0xf8)](_0x1110ff,_0x3b8f3d,_0x3363e9);},'oWKuq':function(_0x47b84e){return _0x380991['QfbAG'](_0x47b84e);}};PerformanceTester[_0x142a15(0x10f)](PerformanceHookEvents[_0x142a15(0x177)]);try{const _0x418190=_0x13c322['captureEvent'](TEST_EVENTS[_0x142a15(0x172)],_0x115413);CodeceptRecorder[_0x142a15(0x11c)](()=>_0x13c322[_0x142a15(0x14e)](TEST_EVENTS[_0x142a15(0x172)],_0x418190)),CodeceptRecorder['add'](async()=>{const _0x1c30c7=_0x142a15;_0x4cd718[_0x1c30c7(0x114)](isBrowserstackInfra)&&await PerformanceTester[_0x1c30c7(0x131)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x14abb3=_0x1c30c7;_0x1dc02f?await _0x4cd718[_0x14abb3(0xbe)](playwrightMarkSessionStatus,_0x56fa1e,STATE_PASSED):await _0x4cd718[_0x14abb3(0xbe)](markSessionStatus,_0x56fa1e,STATE_PASSED);})();}),PerformanceTester['end'](PerformanceEvents[_0x142a15(0xcb)]);}catch(_0xb3409a){PerformanceTester['captureError'](_0xb3409a);const _0x525e03={};_0x525e03[_0x142a15(0xd8)]=_0x380991[_0x142a15(0xb7)],PerformanceTester[_0x142a15(0xce)](PerformanceHookEvents['SDK_HOOK'],![],_0xb3409a,_0x525e03),PerformanceTester[_0x142a15(0xce)](PerformanceEvents[_0x142a15(0xcb)],![],_0xb3409a);}const _0x5515c3={};_0x5515c3[_0x142a15(0xd8)]=_0x380991[_0x142a15(0xb7)],PerformanceTester[_0x142a15(0xce)](PerformanceHookEvents[_0x142a15(0x177)],!![],null,_0x5515c3);}),CodeceptJS[_0x6eeaf3(0xfb)][_0x6eeaf3(0x150)]['on'](CodeceptJS[_0x6eeaf3(0xfb)]['test']['failed'],(_0x118986,_0x59a816)=>{const _0x59d87c=_0x6eeaf3;PerformanceTester['start'](PerformanceHookEvents[_0x59d87c(0x177)]);try{if(_0x380991[_0x59d87c(0x104)](_0x118986[_0x59d87c(0x86)][_0x59d87c(0x14f)],_0x380991[_0x59d87c(0x16b)])){const _0x2adae7=_0x13c322['captureEvent'](TEST_EVENTS[_0x59d87c(0x140)],_0x118986[_0x59d87c(0xcc)][_0x59d87c(0x17e)]);CodeceptRecorder['add'](()=>_0x13c322[_0x59d87c(0x14e)](TEST_EVENTS[_0x59d87c(0x140)],_0x2adae7));}else{const _0x56af51=_0x13c322[_0x59d87c(0x11a)](TEST_EVENTS[_0x59d87c(0x172)],_0x118986,_0x59a816);CodeceptRecorder[_0x59d87c(0x11c)](()=>{const _0x4bad95=_0x59d87c;try{_0x13c322[_0x4bad95(0x14e)](TEST_EVENTS[_0x4bad95(0x172)],_0x56af51);}catch(_0x20a8dc){logger[_0x4bad95(0x14c)](_0x4bad95(0x118)+util[_0x4bad95(0xf0)](_0x20a8dc)),PerformanceTester[_0x4bad95(0xce)](PerformanceEvents[_0x4bad95(0xcb)],![],_0x20a8dc);}}),CodeceptRecorder[_0x59d87c(0x11c)](async()=>{const _0x180040=_0x59d87c;try{_0x380991[_0x180040(0xd1)](isBrowserstackInfra)&&(_0x1dc02f?await _0x380991[_0x180040(0xe7)](playwrightMarkSessionStatus,_0x56fa1e,STATE_FAILED,_0x59a816):await _0x380991[_0x180040(0xe7)](markSessionStatus,_0x56fa1e,STATE_FAILED,_0x59a816));}catch(_0x2039a6){logger['debug'](_0x180040(0x92)+util['format'](_0x2039a6)),PerformanceTester[_0x180040(0xce)](PerformanceEvents[_0x180040(0xcb)],![],_0x2039a6);}});}PerformanceTester['end'](PerformanceEvents['SDK_TEST']);}catch(_0x3103ff){PerformanceTester['captureError'](_0x3103ff);const _0x3a28b5={};_0x3a28b5[_0x59d87c(0xd8)]=_0x380991[_0x59d87c(0xda)],PerformanceTester[_0x59d87c(0xce)](PerformanceHookEvents[_0x59d87c(0x177)],![],_0x3103ff,_0x3a28b5),PerformanceTester[_0x59d87c(0xce)](PerformanceEvents['SDK_TEST'],![],_0x3103ff);}const _0x397205={};_0x397205['hookType']=_0x380991[_0x59d87c(0xda)],PerformanceTester[_0x59d87c(0xce)](PerformanceHookEvents[_0x59d87c(0x177)],!![],null,_0x397205);}),CodeceptJS[_0x6eeaf3(0xfb)][_0x6eeaf3(0x150)]['on'](CodeceptJS[_0x6eeaf3(0xfb)][_0x6eeaf3(0x119)][_0x6eeaf3(0x11e)],_0x4b0ec0=>{const _0x5adedf=_0x6eeaf3;PerformanceTester[_0x5adedf(0x10f)](PerformanceHookEvents[_0x5adedf(0x177)]);try{const _0xab31ce=_0x13c322['captureEvent'](TEST_EVENTS[_0x5adedf(0x140)],_0x4b0ec0);CodeceptRecorder[_0x5adedf(0x11c)](()=>_0x13c322[_0x5adedf(0x14e)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0xab31ce)),PerformanceTester[_0x5adedf(0xce)](PerformanceEvents['SDK_TEST']);}catch(_0x5b0d01){PerformanceTester['captureError'](_0x5b0d01),PerformanceTester[_0x5adedf(0xce)](PerformanceEvents[_0x5adedf(0xcb)],![],_0x5b0d01);const _0x569c03={};_0x569c03[_0x5adedf(0xd8)]=_0x380991[_0x5adedf(0xcd)],PerformanceTester[_0x5adedf(0xce)](PerformanceHookEvents[_0x5adedf(0x177)],![],_0x5b0d01,_0x569c03);}const _0x279897={};_0x279897[_0x5adedf(0xd8)]=_0x380991[_0x5adedf(0xcd)],PerformanceTester['end'](PerformanceHookEvents[_0x5adedf(0x177)],!![],null,_0x279897);}),CodeceptJS[_0x6eeaf3(0xfb)][_0x6eeaf3(0x150)]['on'](CodeceptJS[_0x6eeaf3(0xfb)][_0x6eeaf3(0x119)][_0x6eeaf3(0x15d)],async(_0x5d6e97,_0x447b3b)=>{const _0x2878c2=_0x6eeaf3,_0x28a356={};_0x28a356['hXSNj']=_0x380991[_0x2878c2(0xc6)],_0x28a356[_0x2878c2(0xb9)]=_0x380991['KYcIs'];const _0x282828=_0x28a356;try{PerformanceTester[_0x2878c2(0x10f)](PerformanceHookEvents[_0x2878c2(0x177)]);const _0x1381ac=_0x380991[_0x2878c2(0x117)](shouldScanTestForAccessibility,_0x5d6e97[_0x2878c2(0xaa)](),!![]);if(_0x380991[_0x2878c2(0x100)](isAccessibilityAutomationSession)&&global['accessibilityPlatform']&&_0x1381ac){const _0x27bce4={};_0x27bce4[_0x2878c2(0xd6)]=_0x5d6e97[_0x2878c2(0x9b)],_0x27bce4[_0x2878c2(0x17a)]=process[_0x2878c2(0x85)][testHubConstants['ENV_VAR'][_0x2878c2(0xe6)]],_0x27bce4['thJwtToken']=process[_0x2878c2(0x85)][testHubConstants[_0x2878c2(0x186)][_0x2878c2(0x116)]];const _0x64882e=_0x27bce4;logger[_0x2878c2(0x14c)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x2878c2(0x13c)](_0x64882e)),CodeceptRecorder[_0x2878c2(0x11c)](async()=>{const _0xfe5665=_0x2878c2,_0x4b98d3={};_0x4b98d3['command']=_0x282828['hXSNj'],await PerformanceTester[_0xfe5665(0x131)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x4e05ff=_0xfe5665;await AccessibilityHelper[_0x4e05ff(0x9e)](_0x56fa1e,scripts['performScan']);},_0x4b98d3)(),globals[_0xfe5665(0xd3)](_0x282828['XOfhV'])&&(_0x64882e[_0xfe5665(0x11b)]=!![]),await PerformanceTester[_0xfe5665(0x131)](PerformanceA11yEvents[_0xfe5665(0x128)],async()=>{const _0x5d79da=_0xfe5665;await AccessibilityHelper[_0x5d79da(0x9e)](_0x56fa1e,scripts[_0x5d79da(0x8d)],_0x64882e);})();}),logger[_0x2878c2(0x10a)](_0x380991['WBirM']);}const _0x122a15={};_0x122a15[_0x2878c2(0xd8)]=_0x380991[_0x2878c2(0x122)],PerformanceTester[_0x2878c2(0xce)](PerformanceHookEvents[_0x2878c2(0x177)],!![],null,_0x122a15);}catch(_0x3d62f3){PerformanceTester['captureError'](_0x3d62f3);const _0x89d1ac={};_0x89d1ac[_0x2878c2(0xd8)]=_0x380991['fjgVp'],PerformanceTester[_0x2878c2(0xce)](PerformanceHookEvents[_0x2878c2(0x177)],![],_0x3d62f3,_0x89d1ac);}}),CodeceptJS[_0x6eeaf3(0xfb)][_0x6eeaf3(0x150)]['on'](CodeceptJS[_0x6eeaf3(0xfb)][_0x6eeaf3(0x17b)][_0x6eeaf3(0xdf)],_0x2be5a5=>{const _0x23e456=_0x6eeaf3;PerformanceTester[_0x23e456(0x10f)](PerformanceHookEvents[_0x23e456(0x177)]);try{process[_0x23e456(0xbd)](_0x23e456(0x110)+process[_0x23e456(0x15b)],{'timestamp':new Date()['toISOString'](),'level':_0x380991['rSOJO'],'message':_0x2be5a5,'kind':_0x380991[_0x23e456(0x127)],'http_response':{}});}catch(_0x411070){PerformanceTester['captureError'](_0x411070);const _0x4850ed={};_0x4850ed[_0x23e456(0xd8)]=_0x380991[_0x23e456(0x143)],PerformanceTester[_0x23e456(0xce)](PerformanceHookEvents[_0x23e456(0x177)],![],_0x411070,_0x4850ed);}const _0x46b0be={};_0x46b0be['hookType']=_0x380991[_0x23e456(0x143)],PerformanceTester[_0x23e456(0xce)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x46b0be);}),CodeceptJS[_0x6eeaf3(0xfb)][_0x6eeaf3(0x150)]['on'](CodeceptJS[_0x6eeaf3(0xfb)]['bddStep']['before'],_0x56bc5e=>{const _0x34b91b=_0x6eeaf3,_0x397235={};_0x397235['hookType']=_0x380991['aWqXm'],PerformanceTester[_0x34b91b(0x131)](PerformanceHookEvents[_0x34b91b(0x177)],()=>{_0x13c322['bddStepStart'](_0x56bc5e);},_0x397235)();}),CodeceptJS[_0x6eeaf3(0xfb)][_0x6eeaf3(0x150)]['on'](CodeceptJS['event']['bddStep']['after'],_0x16b088=>{const _0x149b65=_0x6eeaf3,_0x18fb11={};_0x18fb11[_0x149b65(0xd8)]=_0x380991[_0x149b65(0xef)],PerformanceTester['measureWrapper'](PerformanceHookEvents[_0x149b65(0x177)],()=>{const _0x31413b=_0x149b65;_0x13c322[_0x31413b(0xd9)](_0x16b088);},_0x18fb11)();});};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a2_0x5b1d(_0x4516a3,_0x272f02){const _0x9c0a84=a2_0x9c0a();return a2_0x5b1d=function(_0x5b1dca,_0x1328ae){_0x5b1dca=_0x5b1dca-0x66;let _0x360509=_0x9c0a84[_0x5b1dca];return _0x360509;},a2_0x5b1d(_0x4516a3,_0x272f02);}const a2_0x50cf45=a2_0x5b1d;(function(_0x576a42,_0x56808f){const _0x128f15=a2_0x5b1d,_0xc320d=_0x576a42();while(!![]){try{const _0x2cda86=parseInt(_0x128f15(0x102))/0x1*(-parseInt(_0x128f15(0xd9))/0x2)+parseInt(_0x128f15(0xb0))/0x3+-parseInt(_0x128f15(0x76))/0x4+-parseInt(_0x128f15(0x8a))/0x5*(parseInt(_0x128f15(0x79))/0x6)+parseInt(_0x128f15(0xda))/0x7+-parseInt(_0x128f15(0xaf))/0x8*(parseInt(_0x128f15(0xf2))/0x9)+parseInt(_0x128f15(0xae))/0xa;if(_0x2cda86===_0x56808f)break;else _0xc320d['push'](_0xc320d['shift']());}catch(_0x112c0a){_0xc320d['push'](_0xc320d['shift']());}}}(a2_0x9c0a,0xedf36));function a2_0x9c0a(){const _0xe732a6=['codeceptjs','XygSi','AgAPx','failed','awTkt','playwright-chromium','before','util','findIndex','WebDriver','mqaJG','debug','validateRerunTestList','../utils/clientTroubleshootingService','4|5|3|2|0|1','title','parallelsPerPlatform','getPlaywrightUrl','../utils/constants','SpoKE','USER_CONFIG_DETAILS_PATH','testConfig','exports','252mnjOYT','mxCRa','desiredCapabilities','info','isTestObservabilitySession','chromium','DZVde','mergeDeep','helpers','codecept.json','Wkoxy','process','../v2/browserstackCLI','addOptions','BrowserStackPlugin.js','forEach','4061cDguIZ','useW3C','AxUir','toLowerCase','config','playwright-firefox','key','jGfUr','BROWSERSTACK_TEST_ACCESSIBILITY_YML','accessibility','codeceptjs/lib/index.js','testContextOptions','Failed\x20:\x20','ZNgIO','userName','isUndefined','assign','jFIUz','prepareCapabilities','isRunning','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','end','4101660VclmsK','BROWSERSTACK_FRAMEWORK','../../helpers/BrowserStackSetup','6wNEshc','/wd/hub','getUserWorkerCount','SDK_SETUP','env','gherkin','pQUjh','slice','SDK_CLEANUP','Passed\x20:\x20','stack','browserWSEndpoint','getInstance','../../bin/playwright/accessibility-helper','test','playwright-webkit','addConfig','680065TUldFp','codecept.conf.js','xODgO','MFuqT','monaj','plugins','FRAMEWORKS','BROWSERSTACK_RERUN_TESTS','webkit','profile','skipSessionStatus','BKzZk','Workers','existsSync','chrome','stringify','browserName','cwd','zCBRz','HSUWJ','MNerN','BROWSERSTACK_TEST_OBSERVABILITY_YML','UQzVy','enabled','PuCwW','accessKey','map','length','../../helpers/test-observability/constants','browserStackCwd','../../helpers/accessibility-automation/helper','start','load','frameworkName','join','jhqEb','21546570TeKqZi','554536OTxsAt','4234251XaOkxO','EVENTS','chdir','uLeQY','push','oJOlS','path','trim','ayXEG','printResults','platforms','../../helpers/helper','skipSessionName','accessibilityOptions','CODECEPT','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','DetPz','format','../../helpers/performance/constants','BNQQQ','browser','run','Playwright','errorMessage','now','split','finalExecution','stop','result','initialize','log','testObservability','handleApp','event','CODECEPT_CUCUMBER','addTests','wmHHB','setAdditionalCapabilities','replace','BROWSERSTACK_RERUN','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','654ikdMhd','12871761hiLuFW'];a2_0x9c0a=function(){return _0xe732a6;};return a2_0x9c0a();}const fs=require('fs'),path=require(a2_0x50cf45(0xb6)),util=require(a2_0x50cf45(0xe2)),process=require(a2_0x50cf45(0xfd)),logger=require('../../helpers/logger')['winstonLogger'],{default:BrowserStackSetup}=require(a2_0x50cf45(0x78)),helper=require(a2_0x50cf45(0xbb)),utilities=require('../../helpers/utilities'),{checkAccessibilityPlatformConfig}=require(a2_0x50cf45(0xa8)),{setAccessibilityCapabilities,processAccessibilityCaps}=require(a2_0x50cf45(0x86)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x50cf45(0xbb)),CodeceptJS=requireModule(a2_0x50cf45(0x6a),a2_0x50cf45(0xdb)),testOpsHelper=require('../../helpers/test-observability/utils'),TestHubHandler=require('../../helpers/testhub/testhubHandler'),BrowserstackCLI=require(a2_0x50cf45(0xfe)),constants=require(a2_0x50cf45(0xed)),PerformanceTester=require('../../helpers/performance/performance-tester'),{FRAMEWORKS}=require(a2_0x50cf45(0xa6)),PerformanceEvents=require(a2_0x50cf45(0xc2))[a2_0x50cf45(0xb1)],ClientTroubleShootingService=require(a2_0x50cf45(0xe8)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x478717,_0x476d2d)=>{const _0x3be71e=a2_0x50cf45,_0x28d3c3={};_0x28d3c3[_0x3be71e(0x71)]=function(_0x1f15da,_0xd79b6b){return _0x1f15da===_0xd79b6b;},_0x28d3c3[_0x3be71e(0xb3)]=_0x3be71e(0x8b),_0x28d3c3['BNQQQ']=_0x3be71e(0xfb);const _0x128450=_0x28d3c3;let _0x38d773=null;const _0x483b6d={};let _0x5f4c69=_0x476d2d[_0x3be71e(0xe3)](_0x1759ad=>_0x1759ad==='--config');_0x128450['jFIUz'](_0x5f4c69,-0x1)&&(_0x5f4c69=_0x476d2d[_0x3be71e(0xe3)](_0x1375fd=>_0x1375fd==='-c'));if(!helper[_0x3be71e(0x6f)](_0x478717[_0x3be71e(0x106)])&&fs[_0x3be71e(0x97)](path[_0x3be71e(0xac)](process[_0x3be71e(0x9b)](),_0x478717[_0x3be71e(0x106)])))_0x38d773=path[_0x3be71e(0xac)](process[_0x3be71e(0x9b)](),_0x478717[_0x3be71e(0x106)]),_0x476d2d[_0x3be71e(0x80)](_0x5f4c69,0x2);else{if(!helper[_0x3be71e(0x6f)](_0x478717['c'])&&fs[_0x3be71e(0x97)](path[_0x3be71e(0xac)](process[_0x3be71e(0x9b)](),_0x478717['c'])))_0x38d773=path[_0x3be71e(0xac)](process[_0x3be71e(0x9b)](),_0x478717['c']),_0x476d2d[_0x3be71e(0x80)](_0x5f4c69,0x2);else{if(fs[_0x3be71e(0x97)](path['join'](process['cwd'](),_0x128450[_0x3be71e(0xb3)])))_0x38d773=path['join'](process[_0x3be71e(0x9b)](),_0x128450[_0x3be71e(0xb3)]);else fs[_0x3be71e(0x97)](path['join'](process[_0x3be71e(0x9b)](),_0x128450[_0x3be71e(0xc3)]))&&(_0x38d773=path[_0x3be71e(0xac)](process[_0x3be71e(0x9b)](),_0x128450[_0x3be71e(0xc3)]));}}return process['env'][_0x3be71e(0xef)]=_0x38d773,_0x38d773;},getO11yRerunPattern=()=>{const _0x20ecce=a2_0x50cf45,_0x3b04e1=helper['isTrue'](process[_0x20ecce(0x7d)][_0x20ecce(0xd7)]);if(_0x3b04e1){const _0x2568a5=process['env'][_0x20ecce(0x91)],_0x344ee8=[];if(helper[_0x20ecce(0xe7)](_0x2568a5)&&!helper[_0x20ecce(0x6f)](_0x2568a5)){_0x2568a5[_0x20ecce(0xc9)](',')[_0x20ecce(0xa4)](_0x57bd6c=>{const _0x324c2a=_0x20ecce;_0x344ee8[_0x324c2a(0xb4)]('('+_0x57bd6c[_0x324c2a(0xb7)]()+')');});const _0x4d1f4f='^'+_0x344ee8[_0x20ecce(0xac)]('|')+'$';return _0x4d1f4f;}}return null;},a2_0x5f164f={};a2_0x5f164f[a2_0x50cf45(0x98)]=a2_0x50cf45(0xf7),a2_0x5f164f[a2_0x50cf45(0xe0)]=a2_0x50cf45(0xf7),a2_0x5f164f[a2_0x50cf45(0x107)]='firefox',a2_0x5f164f[a2_0x50cf45(0x88)]=a2_0x50cf45(0x92);const pwToCodeceptBrowser=a2_0x5f164f;async function run(_0x4a8980,_0x368b03,_0x56f8ff){const _0x4642db=a2_0x50cf45,_0x1a0439={'wmHHB':function(_0x194770,_0x2b8d42,_0x3e5848,_0x27ecdc){return _0x194770(_0x2b8d42,_0x3e5848,_0x27ecdc);},'Wkoxy':function(_0xbe3d1e,_0x3a8666){return _0xbe3d1e+_0x3a8666;},'pQUjh':function(_0x366a5b,_0xea88b2){return _0x366a5b(_0xea88b2);},'DetPz':function(_0x353020,_0x48955a){return _0x353020+_0x48955a;},'SpoKE':function(_0x4f9669,_0x2a26e5,_0x186873){return _0x4f9669(_0x2a26e5,_0x186873);},'mxCRa':_0x4642db(0xfa),'PuCwW':function(_0x12e7e7){return _0x12e7e7();},'mqaJG':_0x4642db(0x7a),'MNerN':_0x4642db(0x6c),'jGfUr':_0x4642db(0x82),'ZNgIO':'Started\x20:\x20','DZVde':_0x4642db(0xe9),'xODgO':_0x4642db(0x74),'jhqEb':function(_0xa807cd,_0x3feb8e,_0x37c9d7){return _0xa807cd(_0x3feb8e,_0x37c9d7);},'UQzVy':_0x4642db(0xc6),'MFuqT':_0x4642db(0xe4),'HSUWJ':function(_0x4f8953,_0x302f08){return _0x4f8953!=_0x302f08;},'JjUVG':function(_0x13b2d7,_0x360319){return _0x13b2d7===_0x360319;},'XgLuY':_0x4642db(0x7e),'AxUir':function(_0x296df4,_0x40b0d4){return _0x296df4(_0x40b0d4);},'monaj':function(_0x238623,_0x25ae58){return _0x238623*_0x25ae58;},'awTkt':function(_0x14d3dd,_0x3ccd37,_0x2c3709){return _0x14d3dd(_0x3ccd37,_0x2c3709);},'ayXEG':_0x4642db(0xc4),'oJOlS':function(_0x58cfe0,_0x54d4fd,_0x205cb5){return _0x58cfe0(_0x54d4fd,_0x205cb5);},'BKzZk':_0x4642db(0xf4),'zCBRz':'root','XygSi':_0x4642db(0x100),'AgAPx':_0x4642db(0xa7),'cgllx':_0x4642db(0xdb)};await _0x56f8ff[_0x4642db(0xcd)](_0x4a8980);!BrowserstackCLI[_0x4642db(0x85)]()[_0x4642db(0x73)]()&&await _0x56f8ff['setupBrowserstackLocal']();await helper[_0x4642db(0xd0)](_0x56f8ff[_0x4642db(0x106)]);if(!_0x56f8ff[_0x4642db(0x106)])return;process[_0x4642db(0x93)]=_0x4a8980[_0x4642db(0x93)];_0x4a8980[_0x4642db(0x93)]&&(process[_0x4642db(0x7d)][_0x4642db(0x93)]=_0x4a8980[_0x4642db(0x93)]);const _0x3085f8=_0x1a0439[_0x4642db(0xee)](getUserCodeceptJSConfigs,_0x4a8980,_0x368b03);let _0x38bbcb={};_0x3085f8?(logger[_0x4642db(0xf5)](_0x4642db(0xd8)+_0x3085f8),_0x38bbcb=CodeceptJS['config'][_0x4642db(0xaa)](_0x3085f8)):logger[_0x4642db(0xf5)](_0x1a0439[_0x4642db(0x8c)]);let _0xb35852=![];_0x1a0439[_0x4642db(0xad)](nestedKeyValue,_0x38bbcb,[_0x1a0439['mxCRa'],_0x1a0439[_0x4642db(0xa0)]])&&(_0xb35852=!![]);const _0x12d4f3=_0xb35852?_0x1a0439[_0x4642db(0xa0)]:_0x1a0439[_0x4642db(0x8d)];let _0x52e641=!_0xb35852?helper[_0x4642db(0x103)](_0x56f8ff[_0x4642db(0x106)]):![];!helper['isUndefined'](_0x56f8ff[_0x4642db(0x106)][_0x4642db(0xbd)])&&(process[_0x4642db(0x7d)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x4642db(0x99)](_0x56f8ff[_0x4642db(0x106)][_0x4642db(0xbd)]));let _0xd9841f=_0x56f8ff[_0x4642db(0x106)][_0x4642db(0x69)];_0xd9841f=_0xd9841f||_0x1a0439['pQUjh'](checkAccessibilityPlatformConfig,_0x56f8ff[_0x4642db(0x106)]),process['env'][_0x4642db(0x68)]=_0xd9841f;_0xd9841f&&(_0x52e641=!_0xd9841f);_0x1a0439[_0x4642db(0x9d)](_0x56f8ff[_0x4642db(0x106)]['testObservability'],null)?process[_0x4642db(0x7d)][_0x4642db(0x9f)]=_0x56f8ff[_0x4642db(0x106)]['testObservability']:process[_0x4642db(0x7d)][_0x4642db(0x9f)]=_0x1a0439['JjUVG'](_0x12d4f3,_0x1a0439[_0x4642db(0xa0)]);const _0x6afba7=_0x1a0439[_0x4642db(0xee)](nestedKeyValue,_0x38bbcb,[_0x1a0439['XgLuY']]),_0x7bde93=_0x6afba7&&!helper['isEmpty'](_0x6afba7)?FRAMEWORKS[_0x4642db(0xd2)]:FRAMEWORKS[_0x4642db(0xbe)],_0x3a2d72=await TestHubHandler['launchBuild'](_0x7bde93,_0x56f8ff);_0xd9841f&&_0x1a0439[_0x4642db(0x104)](setAccessibilityCapabilities,_0x56f8ff[_0x4642db(0x106)]);const _0x588bb7={},_0x13a455=[],_0x16dc9d=_0x56f8ff[_0x4642db(0x106)][_0x4642db(0xeb)]||helper[_0x4642db(0x7b)](_0x4a8980,_0x368b03,_0x56f8ff['config'],constants['FRAMEWORKS']['CODECEPT'])||0x1;let _0x7224b3=0x1;if(_0x1a0439['PuCwW'](isBrowserstackInfra)){const _0x5a7e94=helper[_0x4642db(0x72)](_0x56f8ff[_0x4642db(0x106)],_0x52e641,constants[_0x4642db(0x90)][_0x4642db(0xbe)]);_0x5a7e94[_0x4642db(0x101)](_0x5225ce=>{const _0x4247ce=_0x4642db;helper[_0x4247ce(0xd5)](_0x5225ce);}),helper['validPlatformsPresent'](_0x56f8ff['config'])?_0x7224b3=_0x1a0439[_0x4642db(0x8e)](_0x16dc9d,_0x56f8ff[_0x4642db(0x106)][_0x4642db(0xba)][_0x4642db(0xa5)]):_0x7224b3=_0x16dc9d,_0x5a7e94[_0x4642db(0x101)](_0x1209f0=>{const _0x138274=_0x4642db,_0x9d043b={'NBzWe':function(_0x455852,_0x5375ba,_0x52770d,_0x178586){const _0x59d9e9=a2_0x5b1d;return _0x1a0439[_0x59d9e9(0xd4)](_0x455852,_0x5375ba,_0x52770d,_0x178586);},'gWGri':function(_0x3f3118,_0x48e069){const _0x20ee83=a2_0x5b1d;return _0x1a0439[_0x20ee83(0xfc)](_0x3f3118,_0x48e069);},'VknLz':function(_0x5051d1,_0x1497d0){const _0x3b9c74=a2_0x5b1d;return _0x1a0439[_0x3b9c74(0x7f)](_0x5051d1,_0x1497d0);}},_0x59f92d=_0x1a0439[_0x138274(0xc0)](helper['getPlatformName'](_0x1209f0,'_'),'_'+Date[_0x138274(0xc8)]()),_0x351107=((()=>{const _0x2cfcd2=_0x138274;if(_0xb35852){const _0x36fdba=pwToCodeceptBrowser[_0x1209f0[_0x2cfcd2(0x9a)]]||_0x1209f0[_0x2cfcd2(0x9a)],_0x14639e=helper[_0x2cfcd2(0xec)](_0x56f8ff[_0x2cfcd2(0x106)]),_0x1e091f=Object[_0x2cfcd2(0x70)]({},_0x1209f0);return _0x9d043b['NBzWe'](processAccessibilityCaps,_0x1e091f,_0x14639e,null),{'browser':_0x36fdba,[_0x36fdba]:{'browserWSEndpoint':_0x9d043b['gWGri'](_0x14639e,_0x9d043b['VknLz'](encodeURIComponent,JSON[_0x2cfcd2(0x99)](_0x1e091f)))}};}const _0x1c7b8a={};return _0x1c7b8a[_0x2cfcd2(0xf4)]=_0x1209f0,_0x1c7b8a['user']=_0x56f8ff['config'][_0x2cfcd2(0x6e)],_0x1c7b8a[_0x2cfcd2(0x66)]=_0x56f8ff[_0x2cfcd2(0x106)][_0x2cfcd2(0xa3)],_0x1c7b8a;})()),_0x3d6330=_0x1a0439[_0x138274(0xee)](nestedKeyValue,_0x38bbcb,[_0x1a0439[_0x138274(0xf3)],_0x12d4f3]);_0x588bb7[_0x59f92d]=_0x3d6330?helper[_0x138274(0xf9)](_0x351107,_0x3d6330):_0x351107;if(_0xb35852)_0x588bb7[_0x59f92d][_0x138274(0xc4)]=pwToCodeceptBrowser[_0x1209f0['browserName']]||_0x1209f0[_0x138274(0x9a)];else{_0x588bb7[_0x59f92d][_0x138274(0xc4)]=_0x1209f0[_0x138274(0x9a)]||_0x351107[_0x138274(0xc4)];if(_0x1a0439[_0x138274(0xa2)](isBrowserstackInfra)){_0x588bb7[_0x59f92d]['host']=constants['hubUrl'][_0x138274(0xd6)](_0x1a0439[_0x138274(0xe5)],'')[_0x138274(0xd6)](/https?:\/\//,'');;_0x588bb7[_0x59f92d]['path']=_0x1a0439[_0x138274(0xe5)];}}_0x13a455[_0x138274(0xb4)](_0x59f92d);});}else{_0x7224b3=0x1;if(_0xb35852){const _0x33fef1=_0x1a0439[_0x4642db(0xdf)](nestedKeyValue,_0x38bbcb,[_0x1a0439['mxCRa'],_0x12d4f3,_0x1a0439[_0x4642db(0xb8)]]),_0x51b248=_0x1a0439[_0x4642db(0xb5)](nestedKeyValue,_0x38bbcb,[_0x1a0439['mxCRa'],_0x12d4f3,_0x33fef1]);if(_0x51b248&&_0x51b248[_0x4642db(0x84)]){const _0x4d7c1e={};_0x4d7c1e[_0x4642db(0xba)]=[],_0x51b248[_0x4642db(0x84)]=helper['prepareCapabilities'](Object[_0x4642db(0x70)]({},_0x56f8ff[_0x4642db(0x106)],_0x4d7c1e),null,_0x7bde93[_0x4642db(0x105)](),null,null,_0x51b248['browserWSEndpoint']);}}else{const _0x363cba={};_0x363cba[_0x4642db(0xba)]=[],_0x38bbcb[_0x1a0439[_0x4642db(0xf3)]][_0x12d4f3][_0x1a0439['BKzZk']]=helper[_0x4642db(0x72)](Object[_0x4642db(0x70)]({},_0x56f8ff[_0x4642db(0x106)],_0x363cba),null,_0x7bde93[_0x4642db(0x105)](),_0x1a0439[_0x4642db(0xee)](nestedKeyValue,_0x38bbcb,[_0x1a0439[_0x4642db(0xf3)],_0x12d4f3,_0x1a0439[_0x4642db(0x95)]])||{},null,null);}_0x588bb7[_0x1a0439[_0x4642db(0x9c)]]=_0x38bbcb,_0x13a455[_0x4642db(0xb4)](_0x1a0439[_0x4642db(0x9c)]);}const _0xb4f21d={};_0xb4f21d[_0x4642db(0xf0)]=_0x3085f8;const _0x13102b=_0xb4f21d,_0x255d1f=path['join'](__dirname,_0x1a0439[_0x4642db(0xdc)]),_0x1d36e2=process[_0x4642db(0x9b)]();process['env'][_0x1a0439[_0x4642db(0xdd)]]=_0x1d36e2,process[_0x4642db(0x7d)]['BROWSERSTACK_FRAMEWORK']=process[_0x4642db(0x7d)][_0x4642db(0x77)]||_0x1a0439['cgllx'],process[_0x4642db(0xb2)](path['dirname'](_0x3085f8));const _0x2727b9=new CodeceptJS[(_0x4642db(0x96))](null,_0x13102b),_0x26aa7f=_0x2727b9['createGroupsOfSuites'](_0x16dc9d),_0x385d3d=testOpsHelper[_0x4642db(0xf6)](),_0x3d6670=_0x13a455[_0x4642db(0xa4)](_0x4b0c86=>{const _0x735f5d=_0x4642db,_0x20ebbb={};_0x20ebbb[_0x735f5d(0xc6)]=_0x588bb7[_0x4b0c86];const _0x31f997={};_0x31f997['WebDriver']=_0x588bb7[_0x4b0c86];const _0x3edce8=_0xb35852?_0x20ebbb:_0x31f997,_0x60e85=_0x1a0439[_0x735f5d(0xa2)](getO11yRerunPattern),_0x36d026={};_0x36d026['helpers']=_0x3edce8;const _0xb73714={};_0xb73714['require']=_0x255d1f,_0xb73714[_0x735f5d(0xa1)]=!![],_0xb73714['skipSessionName']=_0x56f8ff['config']['testContextOptions'][_0x735f5d(0xbc)],_0xb73714[_0x735f5d(0x94)]=_0x56f8ff[_0x735f5d(0x106)][_0x735f5d(0x6b)]['skipSessionStatus'],_0xb73714[_0x735f5d(0xcf)]=_0x385d3d,_0xb73714[_0x735f5d(0xab)]=_0x7bde93;const _0x56ca8b={};_0x56ca8b['BrowserStackPlugin']=_0xb73714;const _0x1e3845={};return _0x1e3845[_0x735f5d(0x8f)]=_0x56ca8b,helper[_0x735f5d(0xf9)]({},_0x38bbcb,_0x1a0439[_0x735f5d(0xa2)](isBrowserstackInfra)?_0x36d026:{},_0x60e85?{'grep':_0x60e85}:{},_0x1e3845);});for(const _0x24a3c4 of _0x3d6670){for(const _0x111d3a of _0x26aa7f){const _0x4d74de=_0x2727b9['spawn']();_0x4d74de[_0x4642db(0xd3)](_0x111d3a),_0x4d74de[_0x4642db(0x89)](_0x24a3c4);const _0x433ca1={};_0x433ca1[_0x4642db(0x106)]=_0x3085f8,_0x4d74de[_0x4642db(0xff)](Object[_0x4642db(0x70)](_0x433ca1,_0x4a8980));}}_0x2727b9['on'](CodeceptJS['event'][_0x4642db(0x87)][_0x4642db(0xde)],(_0x341116,_0x14af21)=>{const _0x43317b=_0x4642db;console[_0x43317b(0xce)](_0x1a0439[_0x43317b(0x9e)],_0x341116[_0x43317b(0xea)]);const _0x331e97={[_0x341116[_0x43317b(0xea)]]:_0x341116['err'][_0x43317b(0x83)]};_testErrorData[_0x43317b(0xb4)](_0x331e97);}),_0x2727b9['on'](CodeceptJS[_0x4642db(0xd1)][_0x4642db(0x87)]['passed'],async _0x328523=>{const _0x51f535=_0x4642db;console[_0x51f535(0xce)](_0x1a0439[_0x51f535(0x67)],_0x328523[_0x51f535(0xea)]);}),_0x2727b9['on'](CodeceptJS[_0x4642db(0xd1)][_0x4642db(0x87)][_0x4642db(0xe1)],async _0x34740c=>{const _0x51f98d=_0x4642db;console[_0x51f98d(0xce)](_0x1a0439[_0x51f98d(0x6d)],_0x34740c[_0x51f98d(0xea)]);}),_0x2727b9['on'](CodeceptJS[_0x4642db(0xd1)]['all'][_0x4642db(0xcc)],async()=>{const _0x428419=_0x4642db,_0x4f10ed=_0x1a0439[_0x428419(0xf8)]['split']('|');let _0x5a5b98=0x0;while(!![]){switch(_0x4f10ed[_0x5a5b98++]){case'0':try{await TestHubHandler[_0x428419(0xcb)]();}catch(_0x454a03){logger[_0x428419(0xe6)](_0x428419(0xbf)+util[_0x428419(0xc1)](_0x454a03));}continue;case'1':_0x2727b9[_0x428419(0xb9)]();continue;case'2':utilities[_0x428419(0xca)](_0x56f8ff);continue;case'3':testOpsHelper['printBuildLink']();continue;case'4':PerformanceTester[_0x428419(0xa9)](PerformanceEvents[_0x428419(0x81)]);continue;case'5':_0x56f8ff[_0x428419(0xc7)]=_testErrorData;continue;}break;}});async function _0x2afa4b(){const _0xd30c41=_0x4642db;try{await _0x2727b9['bootstrapAll'](),await _0x2727b9[_0xd30c41(0xc5)]();}finally{process[_0xd30c41(0xb2)](_0x1d36e2),await _0x2727b9['teardownAll']();}}PerformanceTester[_0x4642db(0x75)](PerformanceEvents[_0x4642db(0x7c)]),await _0x1a0439[_0x4642db(0xa2)](_0x2afa4b);}module[a2_0x50cf45(0xf1)]=run;
|
|
2
|
+
'use strict';const a2_0x883e18=a2_0x42ed;(function(_0xb1b8c,_0x12f7cb){const _0x2dcdf6=a2_0x42ed,_0x28c4b2=_0xb1b8c();while(!![]){try{const _0x3e0312=parseInt(_0x2dcdf6(0x150))/0x1*(-parseInt(_0x2dcdf6(0x12f))/0x2)+-parseInt(_0x2dcdf6(0xea))/0x3+parseInt(_0x2dcdf6(0x14d))/0x4*(-parseInt(_0x2dcdf6(0x10c))/0x5)+parseInt(_0x2dcdf6(0x160))/0x6+parseInt(_0x2dcdf6(0x13c))/0x7+-parseInt(_0x2dcdf6(0xfa))/0x8*(-parseInt(_0x2dcdf6(0xe4))/0x9)+parseInt(_0x2dcdf6(0x170))/0xa*(parseInt(_0x2dcdf6(0x177))/0xb);if(_0x3e0312===_0x12f7cb)break;else _0x28c4b2['push'](_0x28c4b2['shift']());}catch(_0x399b5e){_0x28c4b2['push'](_0x28c4b2['shift']());}}}(a2_0x4869,0x72dd4));const fs=require('fs'),path=require(a2_0x883e18(0x124)),util=require(a2_0x883e18(0x14f)),process=require(a2_0x883e18(0xf0)),logger=require(a2_0x883e18(0xe8))[a2_0x883e18(0x117)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a2_0x883e18(0x137)),utilities=require(a2_0x883e18(0xef)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities,processAccessibilityCaps}=require(a2_0x883e18(0x114)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x883e18(0x137)),CodeceptJS=requireModule(a2_0x883e18(0x184),a2_0x883e18(0x110)),testOpsHelper=require(a2_0x883e18(0xe2)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),BrowserstackCLI=require(a2_0x883e18(0x175)),constants=require(a2_0x883e18(0x105)),PerformanceTester=require(a2_0x883e18(0x128)),{FRAMEWORKS}=require(a2_0x883e18(0x11e)),PerformanceEvents=require(a2_0x883e18(0x15e))[a2_0x883e18(0xfe)],ClientTroubleShootingService=require(a2_0x883e18(0xff)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x4a3dd0,_0x417016)=>{const _0x265a80=a2_0x883e18,_0xc3bafe={};_0xc3bafe[_0x265a80(0x127)]=function(_0x11f704,_0x33fc84){return _0x11f704===_0x33fc84;},_0xc3bafe[_0x265a80(0x142)]=_0x265a80(0xec),_0xc3bafe[_0x265a80(0x15a)]=_0x265a80(0x107);const _0x3d9537=_0xc3bafe;let _0x5bc55e=null;const _0x801671={};let _0x2721e0=_0x417016[_0x265a80(0x132)](_0x55bf31=>_0x55bf31===_0x265a80(0xf9));_0x3d9537[_0x265a80(0x127)](_0x2721e0,-0x1)&&(_0x2721e0=_0x417016['findIndex'](_0x2e438b=>_0x2e438b==='-c'));if(!helper[_0x265a80(0x185)](_0x4a3dd0['config'])&&fs[_0x265a80(0x10a)](path[_0x265a80(0x144)](process[_0x265a80(0x166)](),_0x4a3dd0[_0x265a80(0xf5)])))_0x5bc55e=path['join'](process[_0x265a80(0x166)](),_0x4a3dd0['config']),_0x417016[_0x265a80(0x115)](_0x2721e0,0x2);else{if(!helper[_0x265a80(0x185)](_0x4a3dd0['c'])&&fs['existsSync'](path[_0x265a80(0x144)](process[_0x265a80(0x166)](),_0x4a3dd0['c'])))_0x5bc55e=path['join'](process['cwd'](),_0x4a3dd0['c']),_0x417016[_0x265a80(0x115)](_0x2721e0,0x2);else{if(fs[_0x265a80(0x10a)](path['join'](process[_0x265a80(0x166)](),_0x3d9537['CGWCx'])))_0x5bc55e=path['join'](process[_0x265a80(0x166)](),_0x3d9537[_0x265a80(0x142)]);else fs[_0x265a80(0x10a)](path['join'](process[_0x265a80(0x166)](),_0x3d9537['PxsRq']))&&(_0x5bc55e=path[_0x265a80(0x144)](process[_0x265a80(0x166)](),_0x3d9537[_0x265a80(0x15a)]));}}return process[_0x265a80(0x100)][_0x265a80(0x104)]=_0x5bc55e,_0x5bc55e;},getO11yRerunPattern=()=>{const _0x4b8048=a2_0x883e18,_0x31652c=helper[_0x4b8048(0x12d)](process['env'][_0x4b8048(0x14b)]);if(_0x31652c){const _0x14f23e=process[_0x4b8048(0x100)][_0x4b8048(0x13e)],_0xe5aabf=[];if(helper['validateRerunTestList'](_0x14f23e)&&!helper[_0x4b8048(0x185)](_0x14f23e)){_0x14f23e[_0x4b8048(0x161)](',')[_0x4b8048(0x152)](_0x120ccb=>{const _0x4ffc88=_0x4b8048;_0xe5aabf[_0x4ffc88(0x162)]('('+_0x120ccb['trim']()+')');});const _0xe7d3af='^'+_0xe5aabf['join']('|')+'$';return _0xe7d3af;}}return null;},a2_0x55759b={};a2_0x55759b[a2_0x883e18(0x181)]=a2_0x883e18(0x187),a2_0x55759b[a2_0x883e18(0x146)]=a2_0x883e18(0x187),a2_0x55759b['playwright-firefox']=a2_0x883e18(0xe7),a2_0x55759b['playwright-webkit']=a2_0x883e18(0xf7);function a2_0x4869(){const _0x17ed55=['createGroupsOfSuites','frameworkName','log','isTrue','enabled','1223378IuJVIK','getInstance','testContextOptions','findIndex','browserStackCwd','BROWSERSTACK_TEST_OBSERVABILITY_YML','getUserWorkerCount','XDtwG','../../helpers/helper','sOZMi','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','tLdBB','profile','5124595VmJlSW','assign','BROWSERSTACK_RERUN_TESTS','desiredCapabilities','key','debug','CGWCx','addTests','join','iaPdW','playwright-chromium','test','BrowserStackPlugin','testConfig','spawn','BROWSERSTACK_RERUN','user','3469124MQubou','browser','util','1TDHGDP','helpers','map','BrowserStackPlugin.js','WwRxs','Workers','AhVNn','printBuildLink','chdir','Failed\x20:\x20','PxsRq','run','skipSessionStatus','hubUrl','../../helpers/performance/constants','browserName','913716DGuFyC','split','push','Passed\x20:\x20','handleApp','FRAMEWORKS','cwd','errorMessage','plugins','testObservability','parallelsPerPlatform','host','/wd/hub','CODECEPT_CUCUMBER','title','forEach','11980lCLGdO','WebDriver','launchBuild','prepareCapabilities','finalExecution','../v2/browserstackCLI','platforms','6303VyHXWm','validPlatformsPresent','DgsJk','getPlatformName','addOptions','replace','stringify','addConfig','bootstrapAll','ySVXr','chrome','RYOWN','failed','codeceptjs/lib/index.js','isUndefined','aDYiv','chromium','onplu','../../helpers/test-observability/utils','1|2|0|5|3|4','9NuTiOM','err','NklyH','firefox','../../helpers/logger','BROWSERSTACK_TEST_ACCESSIBILITY_YML','414456sMuHZi','rpqEa','codecept.conf.js','setAdditionalCapabilities','toLowerCase','../../helpers/utilities','process','all','QIRGy','skipSessionName','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','config','fEyES','webkit','browserWSEndpoint','--config','4134248BnwFRQ','isEmpty','plUfx','Started\x20:\x20','EVENTS','../utils/clientTroubleshootingService','env','before','event','info','USER_CONFIG_DETAILS_PATH','../utils/constants','PEBix','codecept.json','mergeDeep','root','existsSync','ldtOi','5FulnzE','MyCld','PfkjB','accessKey','codeceptjs','CODECEPT','jhiVV','initialize','../../bin/playwright/accessibility-helper','slice','BROWSERSTACK_FRAMEWORK','winstonLogger','end','Playwright','mbAMI','accessibility','now','setupBrowserstackLocal','../../helpers/test-observability/constants','start','gherkin','userName','NDMEt','yPyjy','path','getPlaywrightUrl','fdMeI','tUtHo','../../helpers/performance/performance-tester','load'];a2_0x4869=function(){return _0x17ed55;};return a2_0x4869();}const pwToCodeceptBrowser=a2_0x55759b;function a2_0x42ed(_0x433b0c,_0xe808e5){const _0x48696d=a2_0x4869();return a2_0x42ed=function(_0x42edeb,_0x128622){_0x42edeb=_0x42edeb-0xe1;let _0x2076aa=_0x48696d[_0x42edeb];return _0x2076aa;},a2_0x42ed(_0x433b0c,_0xe808e5);}async function run(_0x363345,_0x434230,_0x5c240){const _0x1a509d=a2_0x883e18,_0x3e340b={'ldtOi':function(_0x57fdd1,_0x522d62,_0x57eaca,_0x5c4177){return _0x57fdd1(_0x522d62,_0x57eaca,_0x5c4177);},'iaPdW':function(_0x26a4e5,_0x2c0fc0){return _0x26a4e5+_0x2c0fc0;},'yPyjy':function(_0x4751de,_0x5bb004){return _0x4751de(_0x5bb004);},'Rafpi':function(_0x432ed0,_0x481afc){return _0x432ed0+_0x481afc;},'MyCld':function(_0x5ee2bf,_0x573cdb,_0x328757){return _0x5ee2bf(_0x573cdb,_0x328757);},'sOZMi':'helpers','RYOWN':function(_0x772919){return _0x772919();},'XDtwG':_0x1a509d(0x16c),'tLdBB':function(_0x461c15){return _0x461c15();},'fEyES':_0x1a509d(0x159),'cKJIu':_0x1a509d(0x163),'pacFC':_0x1a509d(0xfd),'QIRGy':_0x1a509d(0xe3),'rpqEa':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','WwRxs':function(_0x5b480b,_0x3cdfe0,_0x17aedd){return _0x5b480b(_0x3cdfe0,_0x17aedd);},'jhiVV':_0x1a509d(0x119),'jxgOY':_0x1a509d(0x171),'AspvS':function(_0x987f34,_0x132bc2){return _0x987f34!=_0x132bc2;},'AhVNn':function(_0xa2ed00,_0x3f738b){return _0xa2ed00===_0x3f738b;},'aDYiv':function(_0x5a36b5,_0x1c6a02,_0x43637f){return _0x5a36b5(_0x1c6a02,_0x43637f);},'onplu':_0x1a509d(0x120),'NDMEt':function(_0x518a09){return _0x518a09();},'tLMjN':function(_0x4d0e32,_0xffbeb){return _0x4d0e32*_0xffbeb;},'DgsJk':_0x1a509d(0x14e),'PEBix':function(_0x31af4c,_0x81272,_0x5ea9fb){return _0x31af4c(_0x81272,_0x5ea9fb);},'ySVXr':_0x1a509d(0x13f),'SqZak':function(_0x5e5882,_0x2b8bd6,_0x5e47f6){return _0x5e5882(_0x2b8bd6,_0x5e47f6);},'fdMeI':_0x1a509d(0x109),'NklyH':_0x1a509d(0x153),'plUfx':_0x1a509d(0x133),'mbAMI':_0x1a509d(0x110),'PfkjB':function(_0x501ae4){return _0x501ae4();}};await _0x5c240[_0x1a509d(0x113)](_0x363345);!BrowserstackCLI[_0x1a509d(0x130)]()['isRunning']()&&await _0x5c240[_0x1a509d(0x11d)]();await helper[_0x1a509d(0x164)](_0x5c240[_0x1a509d(0xf5)]);if(!_0x5c240['config'])return;process[_0x1a509d(0x13b)]=_0x363345[_0x1a509d(0x13b)];_0x363345[_0x1a509d(0x13b)]&&(process[_0x1a509d(0x100)][_0x1a509d(0x13b)]=_0x363345[_0x1a509d(0x13b)]);const _0x105267=_0x3e340b['MyCld'](getUserCodeceptJSConfigs,_0x363345,_0x434230);let _0x2b22f1={};_0x105267?(logger['info']('Getting\x20your\x20codeceptjs\x20configs\x20from\x20'+_0x105267),_0x2b22f1=CodeceptJS[_0x1a509d(0xf5)][_0x1a509d(0x129)](_0x105267)):logger[_0x1a509d(0x103)](_0x3e340b[_0x1a509d(0xeb)]);let _0x81b00=![];_0x3e340b[_0x1a509d(0x154)](nestedKeyValue,_0x2b22f1,[_0x3e340b[_0x1a509d(0x138)],_0x3e340b[_0x1a509d(0x112)]])&&(_0x81b00=!![]);const _0x1c93d9=_0x81b00?_0x3e340b[_0x1a509d(0x112)]:_0x3e340b['jxgOY'];let _0x1dbbe5=!_0x81b00?helper['useW3C'](_0x5c240['config']):![];!helper[_0x1a509d(0x185)](_0x5c240['config']['accessibilityOptions'])&&(process['env'][_0x1a509d(0xf4)]=JSON['stringify'](_0x5c240[_0x1a509d(0xf5)]['accessibilityOptions']));let _0x490134=_0x5c240[_0x1a509d(0xf5)][_0x1a509d(0x11b)];_0x490134=_0x490134||_0x3e340b[_0x1a509d(0x123)](checkAccessibilityPlatformConfig,_0x5c240[_0x1a509d(0xf5)]),process[_0x1a509d(0x100)][_0x1a509d(0xe9)]=_0x490134;_0x490134&&(_0x1dbbe5=!_0x490134);_0x3e340b['AspvS'](_0x5c240[_0x1a509d(0xf5)][_0x1a509d(0x169)],null)?process[_0x1a509d(0x100)][_0x1a509d(0x134)]=_0x5c240[_0x1a509d(0xf5)][_0x1a509d(0x169)]:process[_0x1a509d(0x100)][_0x1a509d(0x134)]=_0x3e340b[_0x1a509d(0x156)](_0x1c93d9,_0x3e340b[_0x1a509d(0x112)]);const _0x50f0a0=_0x3e340b[_0x1a509d(0x186)](nestedKeyValue,_0x2b22f1,[_0x3e340b[_0x1a509d(0xe1)]]),_0x244de8=_0x50f0a0&&!helper[_0x1a509d(0xfb)](_0x50f0a0)?FRAMEWORKS[_0x1a509d(0x16d)]:FRAMEWORKS[_0x1a509d(0x111)],_0x3a0eec=await TestHubHandler[_0x1a509d(0x172)](_0x244de8,_0x5c240);_0x490134&&_0x3e340b[_0x1a509d(0x123)](setAccessibilityCapabilities,_0x5c240[_0x1a509d(0xf5)]);const _0x5041a9={},_0x154202=[],_0x529223=_0x5c240['config'][_0x1a509d(0x16a)]||helper[_0x1a509d(0x135)](_0x363345,_0x434230,_0x5c240['config'],constants['FRAMEWORKS'][_0x1a509d(0x111)])||0x1;let _0x2f5976=0x1;if(_0x3e340b[_0x1a509d(0x122)](isBrowserstackInfra)){const _0x19e4c8=helper['prepareCapabilities'](_0x5c240[_0x1a509d(0xf5)],_0x1dbbe5,constants[_0x1a509d(0x165)]['CODECEPT']);_0x19e4c8[_0x1a509d(0x16f)](_0x2ceb61=>{const _0x587831=_0x1a509d;helper[_0x587831(0xed)](_0x2ceb61);}),helper[_0x1a509d(0x178)](_0x5c240[_0x1a509d(0xf5)])?_0x2f5976=_0x3e340b['tLMjN'](_0x529223,_0x5c240[_0x1a509d(0xf5)]['platforms']['length']):_0x2f5976=_0x529223,_0x19e4c8['forEach'](_0x440f91=>{const _0x4fa3fd=_0x1a509d,_0x3bf5dd=_0x3e340b['Rafpi'](helper[_0x4fa3fd(0x17a)](_0x440f91,'_'),'_'+Date[_0x4fa3fd(0x11c)]()),_0x1d631a=((()=>{const _0x355f4e=_0x4fa3fd;if(_0x81b00){const _0x360307=pwToCodeceptBrowser[_0x440f91['browserName']]||_0x440f91[_0x355f4e(0x15f)],_0x255782=helper[_0x355f4e(0x125)](_0x5c240[_0x355f4e(0xf5)]),_0x5d3a81=Object[_0x355f4e(0x13d)]({},_0x440f91);return _0x3e340b[_0x355f4e(0x10b)](processAccessibilityCaps,_0x5d3a81,_0x255782,null),{'browser':_0x360307,[_0x360307]:{'browserWSEndpoint':_0x3e340b[_0x355f4e(0x145)](_0x255782,_0x3e340b['yPyjy'](encodeURIComponent,JSON[_0x355f4e(0x17d)](_0x5d3a81)))}};}const _0xaed86e={};return _0xaed86e[_0x355f4e(0x13f)]=_0x440f91,_0xaed86e[_0x355f4e(0x14c)]=_0x5c240['config'][_0x355f4e(0x121)],_0xaed86e[_0x355f4e(0x140)]=_0x5c240[_0x355f4e(0xf5)][_0x355f4e(0x10f)],_0xaed86e;})()),_0x1c20b1=_0x3e340b[_0x4fa3fd(0x10d)](nestedKeyValue,_0x2b22f1,[_0x3e340b['sOZMi'],_0x1c93d9]);_0x5041a9[_0x3bf5dd]=_0x1c20b1?helper[_0x4fa3fd(0x108)](_0x1d631a,_0x1c20b1):_0x1d631a;if(_0x81b00)_0x5041a9[_0x3bf5dd][_0x4fa3fd(0x14e)]=pwToCodeceptBrowser[_0x440f91[_0x4fa3fd(0x15f)]]||_0x440f91['browserName'];else{_0x5041a9[_0x3bf5dd][_0x4fa3fd(0x14e)]=_0x440f91[_0x4fa3fd(0x15f)]||_0x1d631a[_0x4fa3fd(0x14e)];if(_0x3e340b[_0x4fa3fd(0x182)](isBrowserstackInfra)){_0x5041a9[_0x3bf5dd][_0x4fa3fd(0x16b)]=constants[_0x4fa3fd(0x15d)][_0x4fa3fd(0x17c)](_0x3e340b[_0x4fa3fd(0x136)],'')[_0x4fa3fd(0x17c)](/https?:\/\//,'');;_0x5041a9[_0x3bf5dd][_0x4fa3fd(0x124)]=_0x3e340b[_0x4fa3fd(0x136)];}}_0x154202[_0x4fa3fd(0x162)](_0x3bf5dd);});}else{_0x2f5976=0x1;if(_0x81b00){const _0x44eb62=_0x3e340b['WwRxs'](nestedKeyValue,_0x2b22f1,[_0x3e340b[_0x1a509d(0x138)],_0x1c93d9,_0x3e340b[_0x1a509d(0x179)]]),_0x2e730c=_0x3e340b[_0x1a509d(0x106)](nestedKeyValue,_0x2b22f1,[_0x3e340b[_0x1a509d(0x138)],_0x1c93d9,_0x44eb62]);if(_0x2e730c&&_0x2e730c['browserWSEndpoint']){const _0xf629e0={};_0xf629e0[_0x1a509d(0x176)]=[],_0x2e730c['browserWSEndpoint']=helper[_0x1a509d(0x173)](Object[_0x1a509d(0x13d)]({},_0x5c240[_0x1a509d(0xf5)],_0xf629e0),null,_0x244de8[_0x1a509d(0xee)](),null,null,_0x2e730c[_0x1a509d(0xf8)]);}}else{const _0x3415c2={};_0x3415c2[_0x1a509d(0x176)]=[],_0x2b22f1[_0x3e340b[_0x1a509d(0x138)]][_0x1c93d9][_0x3e340b[_0x1a509d(0x180)]]=helper[_0x1a509d(0x173)](Object[_0x1a509d(0x13d)]({},_0x5c240[_0x1a509d(0xf5)],_0x3415c2),null,_0x244de8[_0x1a509d(0xee)](),_0x3e340b['SqZak'](nestedKeyValue,_0x2b22f1,[_0x3e340b[_0x1a509d(0x138)],_0x1c93d9,_0x3e340b['ySVXr']])||{},null,null);}_0x5041a9[_0x3e340b[_0x1a509d(0x126)]]=_0x2b22f1,_0x154202[_0x1a509d(0x162)](_0x3e340b[_0x1a509d(0x126)]);}const _0x47d2e8={};_0x47d2e8[_0x1a509d(0x149)]=_0x105267;const _0x5dac6b=_0x47d2e8,_0x21f2a6=path[_0x1a509d(0x144)](__dirname,_0x3e340b[_0x1a509d(0xe6)]),_0x358a63=process[_0x1a509d(0x166)]();process[_0x1a509d(0x100)][_0x3e340b[_0x1a509d(0xfc)]]=_0x358a63,process[_0x1a509d(0x100)][_0x1a509d(0x116)]=process[_0x1a509d(0x100)]['BROWSERSTACK_FRAMEWORK']||_0x3e340b[_0x1a509d(0x11a)],process['chdir'](path['dirname'](_0x105267));const _0x483555=new CodeceptJS[(_0x1a509d(0x155))](null,_0x5dac6b),_0x26e8ce=_0x483555[_0x1a509d(0x12a)](_0x529223),_0x3d2696=testOpsHelper['isTestObservabilitySession'](),_0x24858b=_0x154202[_0x1a509d(0x152)](_0x3dacbb=>{const _0x378bcc=_0x1a509d,_0x2030be={};_0x2030be['Playwright']=_0x5041a9[_0x3dacbb];const _0x4a1bae={};_0x4a1bae['WebDriver']=_0x5041a9[_0x3dacbb];const _0x55b46e=_0x81b00?_0x2030be:_0x4a1bae,_0x196684=_0x3e340b[_0x378bcc(0x182)](getO11yRerunPattern),_0x385ed5={};_0x385ed5[_0x378bcc(0x151)]=_0x55b46e;const _0x11e30b={};_0x11e30b['require']=_0x21f2a6,_0x11e30b[_0x378bcc(0x12e)]=!![],_0x11e30b[_0x378bcc(0xf3)]=_0x5c240[_0x378bcc(0xf5)][_0x378bcc(0x131)][_0x378bcc(0xf3)],_0x11e30b['skipSessionStatus']=_0x5c240[_0x378bcc(0xf5)][_0x378bcc(0x131)][_0x378bcc(0x15c)],_0x11e30b[_0x378bcc(0x169)]=_0x3d2696,_0x11e30b[_0x378bcc(0x12b)]=_0x244de8;const _0xaffa0={};_0xaffa0[_0x378bcc(0x148)]=_0x11e30b;const _0x295257={};return _0x295257[_0x378bcc(0x168)]=_0xaffa0,helper[_0x378bcc(0x108)]({},_0x2b22f1,_0x3e340b[_0x378bcc(0x13a)](isBrowserstackInfra)?_0x385ed5:{},_0x196684?{'grep':_0x196684}:{},_0x295257);});for(const _0x2a33a3 of _0x24858b){for(const _0x58f97a of _0x26e8ce){const _0x2b4219=_0x483555[_0x1a509d(0x14a)]();_0x2b4219[_0x1a509d(0x143)](_0x58f97a),_0x2b4219[_0x1a509d(0x17e)](_0x2a33a3);const _0x14b5b9={};_0x14b5b9[_0x1a509d(0xf5)]=_0x105267,_0x2b4219[_0x1a509d(0x17b)](Object['assign'](_0x14b5b9,_0x363345));}}_0x483555['on'](CodeceptJS[_0x1a509d(0x102)][_0x1a509d(0x147)][_0x1a509d(0x183)],(_0x380c08,_0x2d6d33)=>{const _0x4f9205=_0x1a509d;console[_0x4f9205(0x12c)](_0x3e340b[_0x4f9205(0xf6)],_0x380c08[_0x4f9205(0x16e)]);const _0x1e52b8={[_0x380c08[_0x4f9205(0x16e)]]:_0x380c08[_0x4f9205(0xe5)]['stack']};_testErrorData[_0x4f9205(0x162)](_0x1e52b8);}),_0x483555['on'](CodeceptJS[_0x1a509d(0x102)][_0x1a509d(0x147)]['passed'],async _0x416aec=>{const _0x2bd058=_0x1a509d;console[_0x2bd058(0x12c)](_0x3e340b['cKJIu'],_0x416aec[_0x2bd058(0x16e)]);}),_0x483555['on'](CodeceptJS[_0x1a509d(0x102)][_0x1a509d(0x147)][_0x1a509d(0x101)],async _0x3e206f=>{const _0x30efa4=_0x1a509d;console[_0x30efa4(0x12c)](_0x3e340b['pacFC'],_0x3e206f['title']);}),_0x483555['on'](CodeceptJS[_0x1a509d(0x102)][_0x1a509d(0xf1)]['result'],async()=>{const _0x52389c=_0x1a509d,_0x3a165a=_0x3e340b[_0x52389c(0xf2)][_0x52389c(0x161)]('|');let _0x51b840=0x0;while(!![]){switch(_0x3a165a[_0x51b840++]){case'0':testOpsHelper[_0x52389c(0x157)]();continue;case'1':PerformanceTester[_0x52389c(0x11f)](PerformanceEvents['SDK_CLEANUP']);continue;case'2':_0x5c240[_0x52389c(0x167)]=_testErrorData;continue;case'3':try{await TestHubHandler['stop']();}catch(_0x1dc39e){logger[_0x52389c(0x141)](_0x52389c(0x139)+util['format'](_0x1dc39e));}continue;case'4':_0x483555['printResults']();continue;case'5':utilities[_0x52389c(0x174)](_0x5c240);continue;}break;}});async function _0x1849ca(){const _0x1168c8=_0x1a509d;try{await _0x483555[_0x1168c8(0x17f)](),await _0x483555[_0x1168c8(0x15b)]();}finally{process[_0x1168c8(0x158)](_0x358a63),await _0x483555['teardownAll']();}}PerformanceTester[_0x1a509d(0x118)](PerformanceEvents['SDK_SETUP']),await _0x3e340b[_0x1a509d(0x10e)](_0x1849ca);}module['exports']=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a3_0x53213a=a3_0x4176;(function(_0x126fd7,_0x597327){const _0x4f6ce2=a3_0x4176,_0x472b2b=_0x126fd7();while(!![]){try{const _0x16fa73=parseInt(_0x4f6ce2(0x202))/0x1+parseInt(_0x4f6ce2(0x211))/0x2*(-parseInt(_0x4f6ce2(0x1fc))/0x3)+-parseInt(_0x4f6ce2(0x207))/0x4+parseInt(_0x4f6ce2(0x218))/0x5+parseInt(_0x4f6ce2(0x230))/0x6*(-parseInt(_0x4f6ce2(0x223))/0x7)+-parseInt(_0x4f6ce2(0x1ea))/0x8*(-parseInt(_0x4f6ce2(0x21e))/0x9)+-parseInt(_0x4f6ce2(0x21c))/0xa*(-parseInt(_0x4f6ce2(0x212))/0xb);if(_0x16fa73===_0x597327)break;else _0x472b2b['push'](_0x472b2b['shift']());}catch(_0x36518e){_0x472b2b['push'](_0x472b2b['shift']());}}}(a3_0x5a5e,0xd536c));function a3_0x4176(_0x402199,_0x42e720){const _0x5a5ea8=a3_0x5a5e();return a3_0x4176=function(_0x41764d,_0x119274){_0x41764d=_0x41764d-0x1ea;let _0x19b60b=_0x5a5ea8[_0x41764d];return _0x19b60b;},a3_0x4176(_0x402199,_0x42e720);}const {isUndefined,nestedKeyValue}=require(a3_0x53213a(0x200)),logger=require(a3_0x53213a(0x21f))[a3_0x53213a(0x1f4)],PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{isAccessibilityAutomationSession}=require(a3_0x53213a(0x22d)),{getObservabilityLinkedProductName}=require('../../helpers/test-observability/utils'),accessibilityHelper=require(a3_0x53213a(0x22d)),{isBrowserstackInfra}=require(a3_0x53213a(0x200)),getOSVersionFromCaps=_0x59da38=>{const _0x23c287=a3_0x53213a,_0xa53781={};_0xa53781[_0x23c287(0x215)]='bstack:options',_0xa53781[_0x23c287(0x21b)]='platformVersion',_0xa53781[_0x23c287(0x1ee)]=_0x23c287(0x228),_0xa53781['kDilb']=_0x23c287(0x1fb),_0xa53781['QLrne']=_0x23c287(0x20a);const _0x4fb3b9=_0xa53781;if(!_0x59da38)return null;const _0x46c42a=_0x59da38[_0x4fb3b9['VCMnY']],_0x3ec8c2=[_0x4fb3b9[_0x23c287(0x21b)],_0x4fb3b9[_0x23c287(0x1ee)],_0x4fb3b9[_0x23c287(0x221)],_0x4fb3b9['QLrne']];for(const _0x3521e1 of _0x3ec8c2){if(_0x46c42a&&_0x46c42a[_0x3521e1])return _0x46c42a[_0x3521e1];else{if(_0x59da38[_0x3521e1])return _0x59da38[_0x3521e1];}}return null;};function a3_0x5a5e(){const _0x54eb5a=['Usvzw','name','browserstack_executor','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','browserstack_accessibility_automation_script','rgRwI','winstonLogger','acCtE','NVtCc','niVpd','fetchPlatformDetails','JgOPH','yUjkX','osVersion','489sLJwbZ','caps','unknown_grid','WebDriver','../../helpers/helper','taYqy','1317307oQTLUg','processWebDriverConfig','accessibilityPlatform','constructor','includes','3019524eVfSqB','OMxlv','shouldPatchExecuteScript','os_version','get','browserName','platformName','browser','QKuaK','cloudProvider','3476yWgAVR','10035927pNKwcl','RAFOK','\x20or\x20higher\x20','VCMnY','Playwright','fJOkF','353735mHqvjR','desiredCapabilities','platform','FfWQw','10RxDxNV','platformVersion','16326QjgmGq','../../helpers/logger','on\x20non-BrowserStack\x20infrastructure\x20','kDilb','HjRDc','905359giYMBJ','JUfnE','string','Ojrxb','qApcs','platform_version','browser_version','latest','yuBXK','getMinVersionForBrowser','../../helpers/accessibility-automation/helper','browserWSEndpoint','ueZRW','48UpZKxY','isBrowserSupportedForAccessibility','browserVersion','warn','deviceName','2848zNDKrz','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','\x20browser\x20version\x20','capabilities'];a3_0x5a5e=function(){return _0x54eb5a;};return a3_0x5a5e();}exports[a3_0x53213a(0x1f8)]=_0x56dfa8=>{const _0x357e9a=a3_0x53213a,_0x293d8c={'JUfnE':_0x357e9a(0x1fe),'taYqy':function(_0x48765b,_0x1d4030){return _0x48765b===_0x1d4030;},'Ojrxb':_0x357e9a(0x1ff),'ueZRW':function(_0xfd8107,_0x1d4391){return _0xfd8107(_0x1d4391);},'HjRDc':function(_0x2a0df1,_0x3741a0,_0x43fd04){return _0x2a0df1(_0x3741a0,_0x43fd04);},'yuBXK':'config','HvLRQ':_0x357e9a(0x219),'JgOPH':_0x357e9a(0x216),'TxUku':_0x357e9a(0x20e),'RAFOK':_0x357e9a(0x22e),'iAsJG':_0x357e9a(0x1fd)};if(!_0x56dfa8)return null;let _0x37056c=global['__cloud_provider___']||_0x293d8c[_0x357e9a(0x224)];if(_0x293d8c[_0x357e9a(0x201)](_0x56dfa8[_0x357e9a(0x205)][_0x357e9a(0x1ef)],_0x293d8c[_0x357e9a(0x226)])){const _0x2fac8b=_0x56dfa8[_0x357e9a(0x20e)];if(!_0x2fac8b)return null;const _0x57f326=_0x2fac8b[_0x357e9a(0x1ed)],_0x4d6cd4=_0x293d8c['ueZRW'](getOSVersionFromCaps,_0x293d8c[_0x357e9a(0x222)](nestedKeyValue,_0x56dfa8,[_0x293d8c['yuBXK'],_0x293d8c['HvLRQ']]));return{[_0x37056c]:{'browser':_0x57f326['browserName'],'browser_version':_0x57f326['browserVersion'],'capabilities':_0x57f326,'platform':_0x57f326[_0x357e9a(0x20d)],'platform_version':_0x57f326[_0x357e9a(0x21d)]||_0x4d6cd4,'product':_0x293d8c[_0x357e9a(0x22f)](getObservabilityLinkedProductName,_0x57f326),'session_id':_0x2fac8b['sessionId']}};}else{if(_0x293d8c['taYqy'](_0x56dfa8['constructor']['name'],_0x293d8c[_0x357e9a(0x1f9)])){const _0xae6c53=PlaywrightSessionDetails['getDetails']();_0x37056c=_0xae6c53[_0x357e9a(0x210)]||_0x37056c;const _0x7829bc=_0x293d8c[_0x357e9a(0x222)](nestedKeyValue,_0x56dfa8,[_0x293d8c[_0x357e9a(0x22b)],_0x293d8c['TxUku'],_0x293d8c[_0x357e9a(0x213)]]),_0x24c337=_0x7829bc?JSON['parse'](new URL(_0x7829bc)['searchParams'][_0x357e9a(0x20b)](_0x293d8c['iAsJG'])):{};return{[_0x37056c]:{'browser':_0xae6c53[_0x357e9a(0x20e)]||_0x24c337['browserName'],'browser_version':_0xae6c53[_0x357e9a(0x229)]||_0x24c337[_0x357e9a(0x229)],'capabilities':_0x24c337,'platform':_0xae6c53[_0x357e9a(0x21a)],'platform_version':_0xae6c53[_0x357e9a(0x228)],'product':_0x293d8c[_0x357e9a(0x22f)](getObservabilityLinkedProductName,_0x24c337),'session_id':_0xae6c53['bsSessionId']}};}}},exports[a3_0x53213a(0x203)]=_0x2d0c30=>{const _0x331758=a3_0x53213a,_0xbf384={'qApcs':function(_0x3bbc8f){return _0x3bbc8f();},'OMxlv':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','NVtCc':function(_0x196ae8,_0x440d96){return _0x196ae8!==_0x440d96;},'fJOkF':_0x331758(0x22a),'PCmvc':_0x331758(0x220),'QKuaK':function(_0x4a23be,_0x496ca0){return _0x4a23be(_0x496ca0);},'lxRpH':_0x331758(0x1eb)};if(_0xbf384[_0x331758(0x227)](isAccessibilityAutomationSession)){const _0x3bca7c=_0x2d0c30[_0x331758(0x20e)],_0x496823=_0x3bca7c['capabilities'];global[_0x331758(0x204)]=!![];!accessibilityHelper[_0x331758(0x231)](_0x496823[_0x331758(0x20c)])&&(logger[_0x331758(0x233)](_0xbf384[_0x331758(0x208)]),global[_0x331758(0x204)]=![]);if(_0xbf384[_0x331758(0x1f6)](_0x496823['browserVersion'],_0xbf384[_0x331758(0x217)])){const _0x2f2435=_0xbf384[_0x331758(0x227)](isBrowserstackInfra),_0x1402bf=accessibilityHelper[_0x331758(0x22c)](_0x496823[_0x331758(0x20c)],_0x2f2435),_0x49b507=accessibilityHelper['getBrowserDisplayName'](_0x496823[_0x331758(0x20c)]);if(!accessibilityHelper['isVersionSupported'](_0x496823[_0x331758(0x232)],_0x1402bf)){const _0x1dd6af=_0x2f2435?'':_0xbf384['PCmvc'];logger[_0x331758(0x233)](_0x331758(0x1f1)+_0x49b507+_0x331758(0x1ec)+_0x1402bf+_0x331758(0x214)+_0x1dd6af+'.'),global['accessibilityPlatform']=![];}}!_0xbf384[_0x331758(0x20f)](isUndefined,_0x496823[_0x331758(0x234)])&&(logger[_0x331758(0x233)](_0xbf384['lxRpH']),global[_0x331758(0x204)]=![]);}},exports[a3_0x53213a(0x209)]=_0x332a03=>{const _0x4a74d4=a3_0x53213a,_0x30606c={};_0x30606c[_0x4a74d4(0x1fa)]=function(_0x32f30a,_0x454b6d){return _0x32f30a!==_0x454b6d;},_0x30606c['acCtE']=_0x4a74d4(0x225),_0x30606c[_0x4a74d4(0x1f7)]=_0x4a74d4(0x1f0),_0x30606c[_0x4a74d4(0x1f3)]=_0x4a74d4(0x1f2);const _0x51ead3=_0x30606c;if(!_0x332a03)return![];else{if(_0x51ead3[_0x4a74d4(0x1fa)](typeof _0x332a03,_0x51ead3[_0x4a74d4(0x1f5)]))return!![];}return!_0x332a03[_0x4a74d4(0x206)](_0x51ead3[_0x4a74d4(0x1f7)])&&!_0x332a03[_0x4a74d4(0x206)](_0x51ead3['rgRwI']);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a4_0x238e(){const _0x530f5e=['name','find','browserstack','../mocha/test-observability/mochaUtils','connect','codeceptjs','VbEUk','WmeBa','hook_type','file','../playwright/sessionDetails','finished','kaLuO','setupBrowserDetails','apply','toString','_afterEach','removeAllListeners','fullTitle','guxYi','resetSkipTestHooks','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','groups','../playwright/accessibility-helper','jcTvL','iNVDC','bs:addLog:','emyRU','splice','_testEnv','hooks','skipped','FvwLr','stop','../../helpers/test-observability/requestQueueHandler','failure','err','HookRunStarted','keyword','TestRunStarted','RuuME','hookAnalyticsId','failed','Failed\x20to\x20flush\x20pending\x20hook\x20event\x20','hook_run_uuid','split','connectOverCDP','.git','Irxoj','tIshL','447882Ovubnn','constructor','ZLVfP','Qltlr','sep','ZFuUM','patchConsoleLogger','../../helpers/test-observability/constants','length','getCBTInfo','pending','hoYYC','AcWUD','browserType.js','pid','string','woYtQ','6IPZAAb','driver','YxvDu','nGKes','DQuKs','4|2|1|0|5|3','bddStepFinish','EuOMr','hook_run','pendingHookEvents','passed','uuid','failureData','../../helpers/test-observability/sessionHandler','CODECEPT','gfYSY','event_type','getHierarchy','PfIPf','xSBml','10qDfmQT','ARORI','10OrmhJw','zqhvE','ejukh','relative','getTime','zhjic','started','integrations','WNqDg','now','debug','../../helpers/helper','gahZh','util','obsBrowserTypeMockApplied','SVkMF','client','ctx','dQbxQ','oTPiL','format','_beforeEach','9hnTADQ','RmdfO','zgQkv','ETHEu','bddSteps','eventType','QAyLq','XdaZI','CBTSessionCreated','wCHJj','WjZYN','push','replace','tags','test_run_uuid','testAnalyticsId','KCgrn','startedAt','cFjko','shutdown','toLowerCase','__cloud_provider___','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','bXMNh','keys','IwOpL','hLcXX','parent','hmVCe','UluGV','launch','stringify','2739363xHmWGO','toUpperCase','aExdj','accessibilityPlatform','mapTestHooks','WSokG','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','WyHtE','SNaQA','KbXYy','qZbRF','meta','feature','TEST_RUN_FINISHED','Qycmw','YVPFE','inspect','5060839yajxhX','winstonLogger','XbftN','TEST_EVENTS','JDzsr','../../helpers/testhub/utils.js','location_prefix','ghqFC','PLAYWRIGHT_HUB_URL','pcLsk','body','appendTestItemLog','test','BLOYg','statSync','markedStatus','PathHelper','ETHwE','finished_at','status','__platformCaps','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','errorsDetailed','flushPendingHookEvents','getInstance','GkDIn','MYlLd','uploadEventData','qPJSw','concat','659805opWQNl','duration','currentTest','lib','forEach','getRootParentFile','hook','enabled','jgqpl','failure_reason_expanded','stepAnalyticsId','currentHook','EbziR','javascript','bind','prototype','toISOString','expanded','NhXpT','fireEvent','dirname','TEST_RUN_STARTED','result','title','PLOcI','rsncd','match','\x20with\x20error\x20:\x20','comment','includes','258739vfMYSm','suites','irjbq','NojDw','./helper.js','nbLVn','initializeBddStep','5571344NFVaBM','vYBcG','KQROT','getHookType','nrCVX','_beforeAll','TestRunFinished','IBxpR','cwd','test_run','QKycE','path','then','../../helpers/test-observability/utils','hasLiveDriverSession','zoSSY','uploadData','Playwright','oLetV','getFailureType','join','STATE_FAILED','GXNRn','STATE_PASSED','2356128hXGXDc','tiFfU','retryOf','frameworkName','message','../utils/constants','jhDuF','AMZPu','file_name','findGitConfig'];a4_0x238e=function(){return _0x530f5e;};return a4_0x238e();}const a4_0x4a3231=a4_0x2ba8;(function(_0x2ea245,_0x285b94){const _0x1e16b7=a4_0x2ba8,_0x2141c5=_0x2ea245();while(!![]){try{const _0x4b00ad=parseInt(_0x1e16b7(0x265))/0x1+-parseInt(_0x1e16b7(0x2e7))/0x2*(-parseInt(_0x1e16b7(0x2c0))/0x3)+-parseInt(_0x1e16b7(0x284))/0x4+-parseInt(_0x1e16b7(0x247))/0x5+parseInt(_0x1e16b7(0x2d1))/0x6*(-parseInt(_0x1e16b7(0x229))/0x7)+parseInt(_0x1e16b7(0x26c))/0x8*(parseInt(_0x1e16b7(0x1f8))/0x9)+-parseInt(_0x1e16b7(0x2e5))/0xa*(-parseInt(_0x1e16b7(0x218))/0xb);if(_0x4b00ad===_0x285b94)break;else _0x2141c5['push'](_0x2141c5['shift']());}catch(_0x43079f){_0x2141c5['push'](_0x2141c5['shift']());}}}(a4_0x238e,0x7bb42));const path=require(a4_0x4a3231(0x277)),util=require(a4_0x4a3231(0x1ef)),fs=require('fs'),{v4:uuidv4}=require(a4_0x4a3231(0x2dc)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x4a3231(0x1ed)),testOpsHelper=require(a4_0x4a3231(0x279)),{getTestEnv}=require(a4_0x4a3231(0x291)),{FRAMEWORKS}=require(a4_0x4a3231(0x2c7)),logger=require('../../helpers/logger')[a4_0x4a3231(0x22a)],SessionHandler=require(a4_0x4a3231(0x2de)),RequestQueueHandler=require(a4_0x4a3231(0x2b0)),PlaywrightSessionDetails=require(a4_0x4a3231(0x298)),debug=testOpsHelper['debug'],{processAccessibilityCaps}=require(a4_0x4a3231(0x2a5)),Constants=require(a4_0x4a3231(0x289)),{fetchPlatformDetails}=require(a4_0x4a3231(0x269)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x4a3231(0x22e)),constants=require('../utils/constants'),STATE_PASSED=a4_0x4a3231(0x2db),STATE_FAILED=a4_0x4a3231(0x2b8),a4_0x461118={};a4_0x461118[a4_0x4a3231(0x25c)]=a4_0x4a3231(0x2b5),a4_0x461118['TEST_RUN_FINISHED']=a4_0x4a3231(0x272),a4_0x461118['TEST_RUN_SKIPPED']='TestRunSkipped',a4_0x461118['HOOK_RUN_STARTED']=a4_0x4a3231(0x2b3),a4_0x461118['HOOK_RUN_FINISHED']='HookRunFinished';function a4_0x2ba8(_0x139208,_0xfb5e2b){const _0x238ef7=a4_0x238e();return a4_0x2ba8=function(_0x2ba8c3,_0x552d4a){_0x2ba8c3=_0x2ba8c3-0x1ed;let _0x14e63d=_0x238ef7[_0x2ba8c3];return _0x14e63d;},a4_0x2ba8(_0x139208,_0xfb5e2b);}const TEST_EVENTS=a4_0x461118,parseEvent=_0x16f298=>{const _0x377a78=a4_0x4a3231,_0x3954db={};_0x3954db['EuOMr']=function(_0x3c80c2,_0x8c674f){return _0x3c80c2<_0x8c674f;},_0x3954db[_0x377a78(0x21f)]=function(_0x6b6be7,_0x5209cd){return _0x6b6be7===_0x5209cd;},_0x3954db[_0x377a78(0x294)]=_0x377a78(0x235),_0x3954db[_0x377a78(0x2c2)]=_0x377a78(0x24d),_0x3954db['zqhvE']=function(_0x1a88f9,_0x267f30){return _0x1a88f9===_0x267f30;},_0x3954db[_0x377a78(0x260)]='skipped',_0x3954db['ejukh']=function(_0x53fcf2,_0x1896bf){return _0x53fcf2===_0x1896bf;},_0x3954db[_0x377a78(0x215)]=_0x377a78(0x2ed),_0x3954db[_0x377a78(0x1ee)]='finished';const _0x170622=_0x3954db,_0x20584f=_0x16f298[_0x377a78(0x261)](/^(.*)Run(.*)$/);if(!_0x20584f)return null;if(_0x170622[_0x377a78(0x2d8)](_0x20584f[_0x377a78(0x2c8)],0x3))return null;const _0x3457f6=_0x20584f[0x1][_0x377a78(0x20c)](),_0x24bef8=_0x20584f[0x2][_0x377a78(0x20c)]();return{'test':_0x170622[_0x377a78(0x21f)](_0x3457f6,_0x170622[_0x377a78(0x294)]),'hook':_0x170622[_0x377a78(0x21f)](_0x3457f6,_0x170622[_0x377a78(0x2c2)]),'skipped':_0x170622[_0x377a78(0x2e8)](_0x24bef8,_0x170622['rsncd']),'started':_0x170622[_0x377a78(0x2e9)](_0x24bef8,_0x170622[_0x377a78(0x215)]),'finished':_0x170622[_0x377a78(0x2e9)](_0x24bef8,_0x170622['gahZh'])};},mockPWBrowserType=_0x528ffb=>{const _0x132e9d=a4_0x4a3231,_0x1179c5={'MrFtL':function(_0x2353da,_0xd19872){return _0x2353da===_0xd19872;},'xSBml':_0x132e9d(0x2cf),'QKycE':function(_0xdf20ff,_0x45aa38,_0x395efb){return _0xdf20ff(_0x45aa38,_0x395efb);},'Yjslw':'wsEndpoint','WSokG':function(_0x12116f,_0x3e0864){return _0x12116f(_0x3e0864);},'vEezg':_0x132e9d(0x290),'JDzsr':_0x132e9d(0x24a),'IBxpR':_0x132e9d(0x1f2),'nrCVX':_0x132e9d(0x2cd),'zgQkv':function(_0x1c6c47,_0x445e21){return _0x1c6c47(_0x445e21);},'GkDIn':function(_0xeafef5,_0x2f1e78){return _0xeafef5(_0x2f1e78);},'vYBcG':'Not\x20able\x20to\x20import\x20Browser','KCgrn':_0x132e9d(0x292),'dQbxQ':_0x132e9d(0x216)},_0x57a4f6=path[_0x132e9d(0x280)](_0x1179c5[_0x132e9d(0x22d)],_0x1179c5[_0x132e9d(0x273)],_0x1179c5[_0x132e9d(0x270)]),_0x58bfc1=_0x1179c5[_0x132e9d(0x1fa)](importFileFromPWCore,_0x57a4f6);if(!_0x58bfc1){_0x1179c5[_0x132e9d(0x242)](debug,_0x1179c5[_0x132e9d(0x26d)]);return;}const _0x276a4c=_0x58bfc1['BrowserType'],_0x16648d=_0x276a4c[_0x132e9d(0x256)];if(_0x16648d[_0x132e9d(0x1f0)])return;const _0x29b405=_0x16648d[_0x132e9d(0x292)];Object['defineProperty'](_0x16648d,_0x1179c5[_0x132e9d(0x208)],{'get':function(){const _0x507e51=_0x132e9d,_0xb08816={'nWNTa':function(_0x55133a,_0x40fbd2){return _0x1179c5['MrFtL'](_0x55133a,_0x40fbd2);},'SNaQA':_0x1179c5[_0x507e51(0x2e4)],'KbXYy':function(_0x7edc9,_0x5b5eb3,_0xe68b93){const _0x375224=_0x507e51;return _0x1179c5[_0x375224(0x276)](_0x7edc9,_0x5b5eb3,_0xe68b93);},'RJXiT':_0x1179c5['Yjslw'],'zoSSY':function(_0x12b0d0,_0x47151a){const _0x41e965=_0x507e51;return _0x1179c5[_0x41e965(0x21d)](_0x12b0d0,_0x47151a);},'wCHJj':_0x1179c5['vEezg']};return async function _0x3b06cb(_0x3344e4,_0x4d52b3){const _0x102b73=_0x507e51,_0x776c3d={'FfikC':function(_0x3ad8f0,_0x1f961b){return _0xb08816['nWNTa'](_0x3ad8f0,_0x1f961b);},'prLuD':_0xb08816[_0x102b73(0x220)]},_0x558a18=_0xb08816[_0x102b73(0x221)](nestedKeyValue,_0x3344e4,[_0xb08816['RJXiT']])||_0x3344e4;let _0x36ffb2=null,_0x179aa4=null;try{[_0x179aa4,_0x36ffb2]=_0x558a18?_0xb08816[_0x102b73(0x27b)](parseWSEndpoint,_0x558a18):[null,null],global[_0x102b73(0x23d)]=_0x36ffb2,logger[_0x102b73(0x2f1)](_0x102b73(0x23e)+_0x179aa4),_0x179aa4[_0x102b73(0x264)](Constants['BROWSERSTACK'])&&(global[_0x102b73(0x20d)]=_0xb08816[_0x102b73(0x201)]);}catch(_0xc7a8ef){logger[_0x102b73(0x2f1)]('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x558a18+'\x20'+_0xc7a8ef);}_0xb08816['KbXYy'](processAccessibilityCaps,_0x36ffb2,_0x179aa4);if(global[_0x102b73(0x21b)]){const _0x24d837=await _0x16648d[_0x102b73(0x2bc)][_0x102b73(0x29c)](this,[''+Constants[_0x102b73(0x231)]+_0xb08816[_0x102b73(0x27b)](encodeURIComponent,JSON[_0x102b73(0x217)](_0x36ffb2))]);return PlaywrightSessionDetails[_0x102b73(0x29b)](_0x24d837,_0x528ffb,_0x558a18),_0x24d837;}return _0x29b405['apply'](this,arguments)[_0x102b73(0x278)](_0x2af025=>{let _0x59fe2d=_0x3344e4['wsEndpoint'];return _0x776c3d['FfikC'](typeof _0x3344e4,_0x776c3d['prLuD'])&&(_0x59fe2d=_0x3344e4),PlaywrightSessionDetails['setupBrowserDetails'](_0x2af025,_0x528ffb,_0x59fe2d),_0x2af025;});};}});const _0x590b29=_0x16648d['launch'];Object['defineProperty'](_0x16648d,_0x1179c5[_0x132e9d(0x1f4)],{'get':function(){return async function _0x48d7a1(){const _0x49395c=a4_0x2ba8;return _0x590b29[_0x49395c(0x29c)](this,arguments)[_0x49395c(0x278)](_0x4a6bc2=>{const _0x480697=_0x49395c;return PlaywrightSessionDetails[_0x480697(0x29b)](_0x4a6bc2,null),_0x4a6bc2;});};}});};class O11yHelper{[a4_0x4a3231(0x249)]=null;[a4_0x4a3231(0x252)]=null;['enabled']=![];['frameworkName']=![];[a4_0x4a3231(0x2da)]=[];constructor(_0x418746,_0x17b0e7){const _0x48ec33=a4_0x4a3231,_0x53be3a={'bXMNh':_0x48ec33(0x2d6),'RuuME':function(_0x6dfe9f){return _0x6dfe9f();},'WmeBa':function(_0x483d75,_0x2de4d8){return _0x483d75===_0x2de4d8;},'YVPFE':_0x48ec33(0x27d),'apfvr':function(_0x28a931,_0x3ecd16){return _0x28a931(_0x3ecd16);}},_0xbc8c26=_0x53be3a[_0x48ec33(0x20f)][_0x48ec33(0x2bb)]('|');let _0x3be949=0x0;while(!![]){switch(_0xbc8c26[_0x3be949++]){case'0':this[_0x48ec33(0x2ab)]=_0x53be3a[_0x48ec33(0x2b6)](getTestEnv);continue;case'1':this[_0x48ec33(0x2d2)]=_0x418746;continue;case'2':this[_0x48ec33(0x287)]=_0x17b0e7[_0x48ec33(0x287)];continue;case'3':this[_0x48ec33(0x2d2)]&&_0x53be3a[_0x48ec33(0x295)](this['driver'][_0x48ec33(0x2c1)][_0x48ec33(0x28e)],_0x53be3a[_0x48ec33(0x227)])&&_0x53be3a['apfvr'](mockPWBrowserType,null);continue;case'4':this[_0x48ec33(0x24e)]=_0x53be3a['RuuME'](shouldProcessEventForTesthub);continue;case'5':this['_paths']=new testOpsHelper[(_0x48ec33(0x239))]({'cwd':process[_0x48ec33(0x274)]()},this[_0x48ec33(0x2ab)][_0x48ec33(0x22f)]);continue;}break;}}[a4_0x4a3231(0x27a)](){const _0x4ec5fd=a4_0x4a3231,_0x35a413={'ghqFC':function(_0x24bf94,_0x5e67bf){return _0x24bf94(_0x5e67bf);}};if(!this['driver'])return![];try{const _0x1efa61=_0x35a413[_0x4ec5fd(0x230)](fetchPlatformDetails,this[_0x4ec5fd(0x2d2)]);if(!_0x1efa61)return![];const _0x35ba5=Object[_0x4ec5fd(0x210)](_0x1efa61)[0x0];return!!(_0x35ba5&&_0x1efa61[_0x35ba5]&&_0x1efa61[_0x35ba5]['session_id']);}catch(_0x656556){return![];}}['bufferPendingHookEvent'](_0x5043df,_0x384b9b){const _0xd8816a=a4_0x4a3231;if(!_0x384b9b)return;const _0x3e4bdf={};_0x3e4bdf[_0xd8816a(0x1fd)]=_0x5043df,_0x3e4bdf[_0xd8816a(0x27c)]=_0x384b9b,this['pendingHookEvents']['push'](_0x3e4bdf);}async[a4_0x4a3231(0x240)](){const _0x3b5a5a=a4_0x4a3231,_0x401362={};_0x401362[_0x3b5a5a(0x2be)]=function(_0x504cdd,_0x2821ee){return _0x504cdd&&_0x2821ee;};const _0x161782=_0x401362;if(!this['pendingHookEvents'][_0x3b5a5a(0x2c8)])return;if(!this[_0x3b5a5a(0x27a)]())return;const _0x15743f=this[_0x3b5a5a(0x2c9)](this['driver']),_0x274d9c=this[_0x3b5a5a(0x2da)][_0x3b5a5a(0x2aa)](0x0,this[_0x3b5a5a(0x2da)][_0x3b5a5a(0x2c8)]);for(const {eventType:_0x1735cc,uploadData:_0x113e45}of _0x274d9c){try{const _0x1ad1db=_0x113e45[_0x3b5a5a(0x2d9)]||_0x113e45[_0x3b5a5a(0x275)];_0x161782[_0x3b5a5a(0x2be)](_0x1ad1db,_0x15743f)&&(_0x1ad1db[_0x3b5a5a(0x2ee)]=_0x15743f),await this['fireEvent'](_0x1735cc,_0x113e45);}catch(_0x738c5c){logger[_0x3b5a5a(0x2f1)](_0x3b5a5a(0x2b9)+_0x1735cc+':\x20'+util[_0x3b5a5a(0x1f6)](_0x738c5c));}}}['start'](){const _0x4d94ea=a4_0x4a3231;if(!this[_0x4d94ea(0x24e)])return;testOpsHelper[_0x4d94ea(0x2c6)](),process[_0x4d94ea(0x29f)](_0x4d94ea(0x2a8)+process[_0x4d94ea(0x2ce)]),process['on'](_0x4d94ea(0x2a8)+process[_0x4d94ea(0x2ce)],this[_0x4d94ea(0x234)][_0x4d94ea(0x255)](this));}async[a4_0x4a3231(0x2af)](){const _0x53eb2f=a4_0x4a3231;await RequestQueueHandler[_0x53eb2f(0x241)]()[_0x53eb2f(0x20b)]();}async[a4_0x4a3231(0x234)](_0x3eeb6a){const _0x81b931=a4_0x4a3231,_0x4b40a0={'EbziR':'LogCreated','anQAs':function(_0x5513de,_0x550209){return _0x5513de(_0x550209);}};try{this[_0x81b931(0x252)]&&!this[_0x81b931(0x252)]['markedStatus']&&(_0x3eeb6a['hook_run_uuid']=this[_0x81b931(0x252)][_0x81b931(0x2b7)]);!_0x3eeb6a[_0x81b931(0x2ba)]&&this[_0x81b931(0x249)]&&!this[_0x81b931(0x249)]['markedStatus']&&(_0x3eeb6a['test_run_uuid']=this[_0x81b931(0x249)][_0x81b931(0x207)]);if(_0x3eeb6a['hook_run_uuid']||_0x3eeb6a[_0x81b931(0x206)]){const _0x1da4f0={};_0x1da4f0[_0x81b931(0x2e1)]=_0x4b40a0[_0x81b931(0x253)],_0x1da4f0['logs']=[_0x3eeb6a],await SessionHandler[_0x81b931(0x244)](_0x1da4f0);}}catch(_0x3541b9){_0x4b40a0['anQAs'](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20'+constants['TEST_REPORTING_ANALYTICS']+_0x81b931(0x262)+_0x3541b9);}}async['sendCBTInfo'](_0x40a9ba){const _0x360094=a4_0x4a3231,_0x309f42={'zhjic':_0x360094(0x200),'lPTVh':function(_0x26970b,_0x2f1546){return _0x26970b(_0x2f1546);}};if(!this[_0x360094(0x24e)])return;const _0x4fbdcf=this[_0x360094(0x2c9)](this['driver']);try{const _0x2ab192={};_0x2ab192[_0x360094(0x2dc)]=_0x40a9ba,_0x2ab192[_0x360094(0x2ee)]=_0x4fbdcf;const _0x18f5be=_0x2ab192,_0x51bb73={};_0x51bb73['event_type']=_0x309f42[_0x360094(0x2ec)],_0x51bb73[_0x360094(0x275)]=_0x18f5be,await SessionHandler['uploadEventData'](_0x51bb73);}catch(_0x50c41a){_0x309f42['lPTVh'](debug,_0x360094(0x2a3)+constants['TEST_REPORTING_ANALYTICS']+_0x360094(0x262)+_0x50c41a);}}[a4_0x4a3231(0x2c9)](_0x1f6fdb){const _0x457cba=a4_0x4a3231,_0x2ca433={'nbLVn':function(_0x5fa0e2,_0x511883){return _0x5fa0e2(_0x511883);}};return _0x2ca433[_0x457cba(0x26a)](fetchPlatformDetails,_0x1f6fdb);}[a4_0x4a3231(0x2a2)]=_0x2897fc=>{const _0x2004c9=a4_0x4a3231,_0x31552f={};_0x31552f['SVkMF']='_beforeEach',_0x31552f[_0x2004c9(0x243)]=_0x2004c9(0x29e);const _0x45eada=_0x31552f;if(!_0x2897fc||!_0x2897fc[_0x2004c9(0x213)])return;[_0x45eada[_0x2004c9(0x1f1)],_0x45eada[_0x2004c9(0x243)]][_0x2004c9(0x24b)](_0x390606=>{const _0x1b31e4=_0x2004c9,_0x4a18d2=_0x2897fc[_0x1b31e4(0x213)][_0x390606];_0x4a18d2[_0x1b31e4(0x24b)](_0x5974db=>{const _0x47a12f=_0x1b31e4;_0x5974db[_0x47a12f(0x2b7)]&&(_0x5974db[_0x47a12f(0x2b7)]=null);});});};[a4_0x4a3231(0x21c)](_0x48dcce){const _0x414edd=a4_0x4a3231,_0x2e8692={'ARORI':_0x414edd(0x293),'iNVDC':function(_0x306c12){return _0x306c12();},'WjZYN':function(_0x242ad8,_0x2ef13b){return _0x242ad8===_0x2ef13b;},'aJsvM':_0x414edd(0x29e),'fSIsF':_0x414edd(0x271),'IwOpL':'_afterAll','irjbq':_0x414edd(0x1f7)};if(!_0x48dcce||!_0x48dcce[_0x414edd(0x213)])return;[_0x2e8692['fSIsF'],_0x2e8692[_0x414edd(0x211)],_0x2e8692[_0x414edd(0x267)],_0x2e8692['aJsvM']][_0x414edd(0x24b)](_0x26e9df=>{const _0x64f676=_0x414edd,_0x3da4dd={'NhXpT':_0x2e8692[_0x64f676(0x2e6)],'emyRU':function(_0x72ddc5){const _0x4617c8=_0x64f676;return _0x2e8692[_0x4617c8(0x2a7)](_0x72ddc5);},'Qycmw':function(_0x41541a,_0x167038){const _0x23ef6f=_0x64f676;return _0x2e8692[_0x23ef6f(0x202)](_0x41541a,_0x167038);},'ETHEu':_0x2e8692['aJsvM']},_0x1f449f=_0x48dcce[_0x64f676(0x213)][_0x26e9df]||[];_0x1f449f[_0x64f676(0x24b)](_0x58b0e3=>{const _0x3f8d65=_0x64f676;if(_0x58b0e3[_0x3f8d65(0x25e)][_0x3f8d65(0x264)](_0x3da4dd[_0x3f8d65(0x259)]))return;if(!_0x58b0e3[_0x3f8d65(0x2b7)])_0x58b0e3['hookAnalyticsId']=_0x3da4dd['emyRU'](uuidv4);else _0x58b0e3[_0x3f8d65(0x238)]&&_0x3da4dd[_0x3f8d65(0x226)](_0x26e9df,_0x3da4dd[_0x3f8d65(0x1fb)])&&(_0x58b0e3[_0x3f8d65(0x2b7)]=_0x3da4dd[_0x3f8d65(0x2a9)](uuidv4),delete _0x58b0e3[_0x3f8d65(0x238)]);});}),this[_0x414edd(0x21c)](_0x48dcce[_0x414edd(0x213)]);}['getHooksForTest'](_0x28fdec){const _0x108b75=a4_0x4a3231,_0x36c3bc={};_0x36c3bc[_0x108b75(0x2d4)]=_0x108b75(0x271),_0x36c3bc[_0x108b75(0x20a)]='_afterAll',_0x36c3bc[_0x108b75(0x28a)]=_0x108b75(0x1f7),_0x36c3bc[_0x108b75(0x21a)]=_0x108b75(0x29e);const _0x4460fc=_0x36c3bc;if(!_0x28fdec||!_0x28fdec[_0x108b75(0x213)])return[];const _0x2f1e44=[];return[_0x4460fc[_0x108b75(0x2d4)],_0x4460fc['cFjko'],_0x4460fc[_0x108b75(0x28a)],_0x4460fc[_0x108b75(0x21a)]][_0x108b75(0x24b)](_0xac7801=>{const _0x30f677=_0x108b75,_0x2f2bb2=_0x28fdec[_0x30f677(0x213)][_0xac7801]||[];_0x2f2bb2[_0x30f677(0x24b)](_0xa7f1ca=>{const _0x2d00cd=_0x30f677;_0xa7f1ca['hookAnalyticsId']&&_0x2f1e44[_0x2d00cd(0x203)](_0xa7f1ca['hookAnalyticsId']);});}),[][_0x108b75(0x246)](_0x2f1e44,this['getHooksForTest'](_0x28fdec[_0x108b75(0x213)]));}[a4_0x4a3231(0x26f)](_0x52566f){const _0x3e3247=a4_0x4a3231,_0x344e57=/^"(?<hook>.*)" hook:.*$/,_0x316f02=_0x52566f[_0x3e3247(0x25e)],_0x5e096c=_0x316f02[_0x3e3247(0x261)](_0x344e57);if(_0x5e096c&&_0x5e096c['groups'])return _0x5e096c[_0x3e3247(0x2a4)][_0x3e3247(0x24d)][_0x3e3247(0x219)]()[_0x3e3247(0x204)]('\x20','_');return null;}['findGitConfig'](_0x15de08){const _0x139633=a4_0x4a3231,_0x434b07={};_0x434b07[_0x139633(0x2d5)]=function(_0x5d9d4d,_0xbdd878){return _0x5d9d4d===_0xbdd878;},_0x434b07[_0x139633(0x2bf)]=_0x139633(0x2bd),_0x434b07[_0x139633(0x222)]='config';const _0x27fb0f=_0x434b07,_0x43f4c9=path[_0x139633(0x2c4)];if(_0x27fb0f[_0x139633(0x2d5)](_0x15de08,null)||_0x27fb0f[_0x139633(0x2d5)](_0x15de08,'')||_0x27fb0f[_0x139633(0x2d5)](_0x15de08,_0x43f4c9)||_0x27fb0f[_0x139633(0x2d5)](_0x15de08,path[_0x139633(0x25b)](_0x15de08)))return null;try{return fs[_0x139633(0x237)](path[_0x139633(0x280)](_0x15de08,_0x27fb0f[_0x139633(0x2bf)],_0x27fb0f[_0x139633(0x222)])),_0x15de08;}catch(_0x2e7d8d){const _0x315c09=path['dirname'](_0x15de08);return this[_0x139633(0x28d)](_0x315c09);}}[a4_0x4a3231(0x24c)](_0x480d17){const _0x51e22b=a4_0x4a3231,_0x56ace6={};_0x56ace6[_0x51e22b(0x1f5)]=function(_0x499b07,_0x4dba6b){return _0x499b07>_0x4dba6b;};const _0x3fd4af=_0x56ace6;if(_0x480d17[_0x51e22b(0x297)])return _0x480d17[_0x51e22b(0x297)];if(_0x480d17['ctx']){const _0x5db31f=_0x480d17[_0x51e22b(0x1f3)][_0x51e22b(0x249)]?this[_0x51e22b(0x24c)](_0x480d17[_0x51e22b(0x1f3)]['currentTest']):null;if(_0x5db31f)return _0x5db31f;}if(_0x480d17[_0x51e22b(0x213)]){const _0x231685=this[_0x51e22b(0x24c)](_0x480d17[_0x51e22b(0x213)])||(_0x480d17[_0x51e22b(0x213)]['ctx']&&_0x480d17[_0x51e22b(0x213)][_0x51e22b(0x1f3)][_0x51e22b(0x249)]?this[_0x51e22b(0x24c)](_0x480d17[_0x51e22b(0x213)][_0x51e22b(0x1f3)][_0x51e22b(0x249)]):null);if(_0x231685)return _0x231685;_0x480d17[_0x51e22b(0x213)][_0x51e22b(0x266)]&&_0x3fd4af['oTPiL'](_0x480d17[_0x51e22b(0x213)][_0x51e22b(0x266)]['length'],0x0)&&_0x480d17[_0x51e22b(0x213)][_0x51e22b(0x266)]['forEach'](_0x175282=>{const _0x5fb29b=_0x51e22b,_0x2c0912=_0x175282[_0x5fb29b(0x1f3)]?this[_0x5fb29b(0x24c)](_0x175282[_0x5fb29b(0x1f3)]):null;if(_0x2c0912)return _0x2c0912;});}return null;}[a4_0x4a3231(0x2e2)](_0x179446){const _0x1d8fde=a4_0x4a3231,_0x2807c3={};_0x2807c3[_0x1d8fde(0x268)]=function(_0x21f736,_0x51baf8){return _0x21f736!==_0x51baf8;};const _0x25cc1b=_0x2807c3,_0x1634a9=[];if(_0x179446&&_0x179446[_0x1d8fde(0x213)]){let _0x295a3a=_0x179446[_0x1d8fde(0x213)];while(_0x295a3a&&_0x25cc1b[_0x1d8fde(0x268)](_0x295a3a[_0x1d8fde(0x25e)],'')){_0x1634a9[_0x1d8fde(0x203)](_0x295a3a['title']),_0x295a3a=_0x295a3a[_0x1d8fde(0x213)];}}return _0x1634a9;}['captureEvent'](_0x45cc3d,_0xc93a4e,_0x4dd20c=undefined){const _0x141329=a4_0x4a3231,_0xe7d61={'tiFfU':function(_0x1c18aa,_0x3ce438){return _0x1c18aa(_0x3ce438);},'hmVCe':function(_0x4c20b9){return _0x4c20b9();},'QAyLq':function(_0x5c9a58){return _0x5c9a58();},'AMZPu':function(_0x131fd9){return _0x131fd9();},'qPJSw':_0x141329(0x2b2),'PfIPf':function(_0x276754,_0x299ec1){return _0x276754!==_0x299ec1;},'jgqpl':function(_0x4a3bc6,_0x454976){return _0x4a3bc6!==_0x454976;},'hLcXX':'File\x20path\x20could\x20not\x20be\x20found','woYtQ':_0x141329(0x2ca),'pcLsk':_0x141329(0x2b8),'oLetV':_0x141329(0x2db),'RmdfO':_0x141329(0x2ad),'WNqDg':_0x141329(0x254),'XdaZI':function(_0x30c092,_0x4d22ad){return _0x30c092-_0x4d22ad;},'YxvDu':function(_0x51547f,_0xf2b819,_0x335486,_0x17ed30,_0x13235f){return _0x51547f(_0xf2b819,_0x335486,_0x17ed30,_0x13235f);},'GXNRn':function(_0x57b4b9,_0x3b72a5){return _0x57b4b9!==_0x3b72a5;},'ZFuUM':_0x141329(0x2ee),'Qltlr':_0x141329(0x223),'gfYSY':_0x141329(0x2b1),'AOwNq':'failure_backtrace','kaLuO':'backtrace','UTWDC':_0x141329(0x250),'zMBiV':_0x141329(0x258),'jcTvL':function(_0x30c25a,_0x6ac5ac){return _0x30c25a===_0x6ac5ac;},'hoYYC':_0x141329(0x2d9),'ETHwE':'test_run'};if(!this[_0x141329(0x24e)])return;try{if(_0xc93a4e['fn']&&_0xc93a4e['fn'][_0x141329(0x29d)]()[_0x141329(0x261)](/browserstack internal helper hook/))return;const _0x21069b=_0xe7d61[_0x141329(0x285)](parseEvent,_0x45cc3d);if(!_0x21069b)return;if(_0x21069b[_0x141329(0x235)]){this[_0x141329(0x249)]=_0xc93a4e,this[_0x141329(0x252)]=null;if(_0x21069b['started']||_0x21069b[_0x141329(0x2ad)]){_0xc93a4e[_0x141329(0x209)]=new Date(),_0xc93a4e[_0x141329(0x238)]=![];if(!_0xc93a4e[_0x141329(0x207)])_0xc93a4e[_0x141329(0x207)]=_0xe7d61[_0x141329(0x214)](uuidv4);else _0xc93a4e[_0x141329(0x238)]&&(!_0xc93a4e[_0x141329(0x286)]&&(_0xc93a4e['retryOf']=_0xc93a4e[_0x141329(0x207)]),_0xc93a4e[_0x141329(0x207)]=_0xe7d61[_0x141329(0x1fe)](uuidv4));}}else{if(_0x21069b[_0x141329(0x24d)]){this['currentHook']=_0xc93a4e;if(_0x21069b[_0x141329(0x2ed)]){_0xc93a4e[_0x141329(0x209)]=new Date(),_0xc93a4e[_0x141329(0x238)]=![];if(!_0xc93a4e[_0x141329(0x2b7)])_0xc93a4e[_0x141329(0x2b7)]=_0xe7d61[_0x141329(0x214)](uuidv4);else _0xc93a4e[_0x141329(0x2b7)]&&_0xc93a4e[_0x141329(0x238)]&&(_0xc93a4e['hookAnalyticsId']=_0xe7d61[_0x141329(0x28b)](uuidv4));}}}if(_0x21069b[_0x141329(0x299)]&&_0xc93a4e[_0x141329(0x238)])return;let _0x6179fd;try{_0x6179fd=this[_0x141329(0x24c)](_0xc93a4e);}catch(_0x12c254){logger['debug']('failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x12c254),_0x6179fd=null;}let _0x1f82bc=[];_0x4dd20c&&(_0x1f82bc=[_0x4dd20c,_0xe7d61[_0x141329(0x245)]]);const _0x5bb6ae=_0xe7d61[_0x141329(0x2e3)](_0xc93a4e[_0x141329(0x23f)],undefined)?util[_0x141329(0x228)](_0xc93a4e['errorsDetailed'][0x0]):_0xe7d61[_0x141329(0x24f)](_0x4dd20c,undefined)?_0x4dd20c[_0x141329(0x29d)]():undefined,_0x452d2e=_0x6179fd?this[_0x141329(0x28d)](_0x6179fd):null,_0xe6aa65=_0x6179fd?this['_paths']['prefixTestPath'](this[_0x141329(0x24c)](_0xc93a4e)):_0xe7d61[_0x141329(0x212)];let _0x407c4b=_0xe7d61[_0x141329(0x2d0)];const _0xe4a78c=!_0x21069b[_0x141329(0x2ed)]?new Date()[_0x141329(0x257)]():null;if(_0x21069b['finished'])_0x407c4b=_0x4dd20c?_0xe7d61[_0x141329(0x232)]:_0xe7d61[_0x141329(0x27e)],_0xc93a4e[_0x141329(0x238)]=!![];else _0x21069b[_0x141329(0x2ad)]&&(_0x407c4b=_0xe7d61[_0x141329(0x1f9)],_0xc93a4e[_0x141329(0x238)]=!![]);const _0x3ebe4c={'framework':this[_0x141329(0x287)],'uuid':_0xc93a4e['testAnalyticsId']||_0xc93a4e[_0x141329(0x2b7)],'name':_0xc93a4e[_0x141329(0x25e)],'body':{'lang':_0xe7d61[_0x141329(0x2ef)],'code':_0xc93a4e[_0x141329(0x233)][_0x141329(0x29d)]()},'type':_0xc93a4e['type'],'scope':_0xc93a4e[_0x141329(0x2a0)](),'scopes':this[_0x141329(0x2e2)](_0xc93a4e),'file_name':_0xe6aa65,'vc_filepath':_0x452d2e?path[_0x141329(0x2ea)](_0x452d2e,_0x6179fd):null,'location':_0xe6aa65,'result':_0x407c4b,'failure_reason':_0x5bb6ae,'duration_in_ms':_0xc93a4e['duration']||(_0x21069b[_0x141329(0x299)]||_0x21069b['skipped'])?_0xe7d61[_0x141329(0x1ff)](Date[_0x141329(0x2f0)](),new Date(_0xc93a4e[_0x141329(0x209)])[_0x141329(0x2eb)]()):null,'started_at':new Date(_0xc93a4e[_0x141329(0x209)])['toISOString'](),'finished_at':_0xe4a78c,'failure':testOpsHelper[_0x141329(0x2dd)]['apply'](null,_0x1f82bc),'failure_type':!_0x5bb6ae?null:testOpsHelper[_0x141329(0x27f)](_0x5bb6ae),'retry_of':_0xc93a4e[_0x141329(0x286)]||null,'tags':_0xc93a4e[_0x141329(0x205)]||[],'customRerunParam':{'rerun_name':_0xc93a4e[_0x141329(0x2a0)]()}};_0xe7d61[_0x141329(0x2d3)](appendTesthubParams,_0x3ebe4c,_0x45cc3d,_0xc93a4e,FRAMEWORKS[_0x141329(0x2df)]);if(_0x21069b[_0x141329(0x24d)])[_0x3ebe4c[_0x141329(0x296)],_0x3ebe4c[_0x141329(0x28e)]]=[this[_0x141329(0x26f)](_0xc93a4e),_0xc93a4e[_0x141329(0x1f3)][_0x141329(0x235)][_0x141329(0x25e)]],_0x21069b[_0x141329(0x299)]?_0xe7d61[_0x141329(0x282)](_0x3ebe4c['result'],_0xe7d61[_0x141329(0x232)])&&(_0x3ebe4c[_0x141329(0x25d)]=_0xe7d61['oLetV']):_0x3ebe4c[_0x141329(0x233)]={};else _0x21069b[_0x141329(0x235)]&&(this[_0x141329(0x21c)](_0xc93a4e),_0x21069b[_0x141329(0x2ad)]&&this[_0x141329(0x2a2)](_0xc93a4e),(_0x21069b[_0x141329(0x299)]||_0x21069b[_0x141329(0x2ad)])&&(_0x3ebe4c[_0x141329(0x2ac)]=this['getHooksForTest'](_0xc93a4e)));this[_0x141329(0x2d2)]&&(_0x21069b[_0x141329(0x2ed)]||_0x21069b['skipped'])&&(_0x3ebe4c[_0xe7d61[_0x141329(0x2c5)]]=this[_0x141329(0x2c9)](this[_0x141329(0x2d2)]));_0x21069b[_0x141329(0x235)]&&_0x21069b[_0x141329(0x299)]&&_0xc93a4e[_0x141329(0x1fc)]&&(_0x3ebe4c[_0xe7d61[_0x141329(0x2c3)]]={'feature':{'name':_0xc93a4e['parent'][_0x141329(0x224)]['name'],'path':_0x3ebe4c[_0x141329(0x28c)],'description':_0xc93a4e[_0x141329(0x213)][_0x141329(0x263)]},'scenario':{'name':_0xc93a4e[_0x141329(0x25e)]},'steps':_0xc93a4e[_0x141329(0x1fc)]});const _0x407381=_0x3ebe4c[_0xe7d61[_0x141329(0x2e0)]][0x0];_0x407381&&(_0x3ebe4c[_0xe7d61['AOwNq']]=_0x407381[_0xe7d61[_0x141329(0x29a)]],_0x3ebe4c[_0xe7d61['UTWDC']]=_0x407381[_0xe7d61['zMBiV']]);if(_0xc93a4e[_0x141329(0x1fc)])for(const _0x8af2b1 of _0xc93a4e[_0x141329(0x1fc)]){!_0x8af2b1[_0x141329(0x23b)]&&(_0x8af2b1['finished_at']=new Date()[_0x141329(0x257)](),_0xe7d61[_0x141329(0x2a6)](_0x8af2b1[_0x141329(0x25d)],_0xe7d61[_0x141329(0x2d0)])&&(_0x407381?(_0x8af2b1['result']=_0xe7d61[_0x141329(0x232)],_0x8af2b1[_0x141329(0x2b1)]=_0x407381[_0xe7d61[_0x141329(0x29a)]][0x0]):_0x8af2b1[_0x141329(0x25d)]=_0xe7d61[_0x141329(0x27e)]));}const _0x5c4a78={};_0x5c4a78['event_type']=_0x21069b[_0x141329(0x2ad)]?TEST_EVENTS[_0x141329(0x225)]:_0x45cc3d;const _0x2429ee=_0x5c4a78;return _0x21069b[_0x141329(0x24d)]?_0x2429ee[_0xe7d61[_0x141329(0x2cb)]]=_0x3ebe4c:_0x2429ee[_0xe7d61[_0x141329(0x23a)]]=_0x3ebe4c,_0x2429ee;}catch(_0x14c640){logger['debug'](_0x141329(0x21e)+_0x45cc3d+_0x141329(0x262)+_0x14c640);}}async[a4_0x4a3231(0x25a)](_0x40c866,_0x50c38f){const _0x5b22cc=a4_0x4a3231;if(!this[_0x5b22cc(0x24e)]||!_0x50c38f||!_0x40c866)return![];try{return await SessionHandler[_0x5b22cc(0x244)](_0x50c38f);}catch(_0x2b2841){logger[_0x5b22cc(0x2f1)](_0x5b22cc(0x20e)+_0x40c866+'\x20with\x20error\x20:\x20'+_0x2b2841);}}[a4_0x4a3231(0x26b)](_0x38454a){const _0x3306da=a4_0x4a3231,_0x131ac0={};_0x131ac0[_0x3306da(0x2cc)]='pending';const _0x56b1a0=_0x131ac0;return{'id':_0x38454a['stepAnalyticsId'],'text':_0x38454a['text'],'keyword':_0x38454a[_0x3306da(0x2b4)],'started_at':_0x38454a[_0x3306da(0x209)]['toISOString'](),'result':_0x56b1a0[_0x3306da(0x2cc)]};}['bddStepStart'](_0x1c7f22){const _0x374e3b=a4_0x4a3231,_0x4b3ce0={'XbftN':function(_0x38c02b){return _0x38c02b();}};!this[_0x374e3b(0x249)][_0x374e3b(0x1fc)]&&(this[_0x374e3b(0x249)][_0x374e3b(0x1fc)]=[]),!_0x1c7f22['stepAnalyticsId']&&(_0x1c7f22[_0x374e3b(0x251)]=_0x4b3ce0[_0x374e3b(0x22b)](uuidv4),_0x1c7f22[_0x374e3b(0x209)]=new Date(),this[_0x374e3b(0x249)]['bddSteps'][_0x374e3b(0x203)](this[_0x374e3b(0x26b)](_0x1c7f22)));}[a4_0x4a3231(0x2d7)](_0x414e8e){const _0x1b82c6=a4_0x4a3231,_0x4d6035={'KQROT':function(_0x1d0a9b,_0xebc3a8){return _0x1d0a9b(_0xebc3a8);},'PLOcI':'success','FvwLr':_0x1b82c6(0x2ca),'BLOYg':'passed','guxYi':function(_0xeccc1f,_0x11cf3b){return _0xeccc1f-_0x11cf3b;}};let _0x46ad53=this['currentTest'][_0x1b82c6(0x1fc)][_0x1b82c6(0x28f)](_0x3ba84e=>_0x3ba84e['id']===_0x414e8e[_0x1b82c6(0x251)]);_0x4d6035[_0x1b82c6(0x26e)](isUndefined,_0x46ad53)&&(_0x46ad53=this[_0x1b82c6(0x26b)](_0x414e8e)),_0x46ad53['result']=[_0x4d6035[_0x1b82c6(0x25f)],_0x4d6035[_0x1b82c6(0x2ae)]][_0x1b82c6(0x264)](_0x414e8e[_0x1b82c6(0x23c)])?_0x4d6035[_0x1b82c6(0x236)]:_0x414e8e[_0x1b82c6(0x23c)],_0x46ad53['finished_at']=new Date()[_0x1b82c6(0x257)](),_0x46ad53[_0x1b82c6(0x248)]=_0x4d6035[_0x1b82c6(0x2a1)](Date[_0x1b82c6(0x2f0)](),_0x414e8e[_0x1b82c6(0x209)][_0x1b82c6(0x2eb)]()),_0x46ad53[_0x1b82c6(0x2b1)]=_0x414e8e[_0x1b82c6(0x2b2)]?_0x414e8e[_0x1b82c6(0x2b2)][_0x1b82c6(0x288)]:null;}}const a4_0x4624dd={};a4_0x4624dd['O11yHelper']=O11yHelper,a4_0x4624dd[a4_0x4a3231(0x283)]=STATE_PASSED,a4_0x4624dd[a4_0x4a3231(0x281)]=STATE_FAILED,a4_0x4624dd[a4_0x4a3231(0x22c)]=TEST_EVENTS,module['exports']=a4_0x4624dd;
|
|
1
|
+
const a4_0x15b2fc=a4_0x39f5;(function(_0xa35e71,_0x41ae0b){const _0x2a8a2f=a4_0x39f5,_0x4f0027=_0xa35e71();while(!![]){try{const _0x383a2e=-parseInt(_0x2a8a2f(0x25f))/0x1*(-parseInt(_0x2a8a2f(0x240))/0x2)+-parseInt(_0x2a8a2f(0x1da))/0x3*(-parseInt(_0x2a8a2f(0x252))/0x4)+-parseInt(_0x2a8a2f(0x28d))/0x5+-parseInt(_0x2a8a2f(0x278))/0x6+parseInt(_0x2a8a2f(0x262))/0x7+-parseInt(_0x2a8a2f(0x24d))/0x8*(-parseInt(_0x2a8a2f(0x1c5))/0x9)+parseInt(_0x2a8a2f(0x268))/0xa*(-parseInt(_0x2a8a2f(0x241))/0xb);if(_0x383a2e===_0x41ae0b)break;else _0x4f0027['push'](_0x4f0027['shift']());}catch(_0x3fbf57){_0x4f0027['push'](_0x4f0027['shift']());}}}(a4_0x1120,0x41ef0));const path=require(a4_0x15b2fc(0x263)),util=require(a4_0x15b2fc(0x19f)),fs=require('fs'),{v4:uuidv4}=require('uuid'),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x15b2fc(0x23d)),testOpsHelper=require(a4_0x15b2fc(0x1b7)),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require(a4_0x15b2fc(0x25a)),logger=require('../../helpers/logger')[a4_0x15b2fc(0x294)],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper[a4_0x15b2fc(0x267)],{processAccessibilityCaps}=require(a4_0x15b2fc(0x205)),Constants=require(a4_0x15b2fc(0x228)),{fetchPlatformDetails}=require(a4_0x15b2fc(0x1f4)),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),constants=require(a4_0x15b2fc(0x228)),STATE_PASSED=a4_0x15b2fc(0x1d8),STATE_FAILED=a4_0x15b2fc(0x288),a4_0x17af06={};a4_0x17af06[a4_0x15b2fc(0x1c7)]=a4_0x15b2fc(0x286),a4_0x17af06[a4_0x15b2fc(0x201)]='TestRunFinished',a4_0x17af06[a4_0x15b2fc(0x224)]=a4_0x15b2fc(0x1f6),a4_0x17af06[a4_0x15b2fc(0x296)]=a4_0x15b2fc(0x1f0),a4_0x17af06[a4_0x15b2fc(0x287)]='HookRunFinished';function a4_0x39f5(_0x3d6d0c,_0x398e37){const _0x1120e2=a4_0x1120();return a4_0x39f5=function(_0x39f517,_0x1b7c74){_0x39f517=_0x39f517-0x19d;let _0x3e30ca=_0x1120e2[_0x39f517];return _0x3e30ca;},a4_0x39f5(_0x3d6d0c,_0x398e37);}const TEST_EVENTS=a4_0x17af06,parseEvent=_0x933f3a=>{const _0x2504c0=a4_0x15b2fc,_0x40d8ac={};_0x40d8ac[_0x2504c0(0x210)]=function(_0x5aea5a,_0x3b3365){return _0x5aea5a<_0x3b3365;},_0x40d8ac['byyic']=function(_0x18e686,_0x15f159){return _0x18e686===_0x15f159;},_0x40d8ac[_0x2504c0(0x1e8)]=_0x2504c0(0x22c),_0x40d8ac[_0x2504c0(0x22b)]=function(_0x297565,_0x16265e){return _0x297565===_0x16265e;},_0x40d8ac[_0x2504c0(0x260)]=_0x2504c0(0x1c0),_0x40d8ac[_0x2504c0(0x29a)]=_0x2504c0(0x27e),_0x40d8ac[_0x2504c0(0x1c2)]=function(_0x40c2bb,_0x403f8a){return _0x40c2bb===_0x403f8a;},_0x40d8ac[_0x2504c0(0x20d)]='started',_0x40d8ac[_0x2504c0(0x225)]=_0x2504c0(0x221);const _0x47238f=_0x40d8ac,_0x5dd5c4=_0x933f3a[_0x2504c0(0x274)](/^(.*)Run(.*)$/);if(!_0x5dd5c4)return null;if(_0x47238f[_0x2504c0(0x210)](_0x5dd5c4[_0x2504c0(0x1de)],0x3))return null;const _0x51af6b=_0x5dd5c4[0x1]['toLowerCase'](),_0x3f9fe7=_0x5dd5c4[0x2][_0x2504c0(0x20b)]();return{'test':_0x47238f['byyic'](_0x51af6b,_0x47238f['ikvEx']),'hook':_0x47238f[_0x2504c0(0x22b)](_0x51af6b,_0x47238f[_0x2504c0(0x260)]),'skipped':_0x47238f[_0x2504c0(0x22b)](_0x3f9fe7,_0x47238f[_0x2504c0(0x29a)]),'started':_0x47238f[_0x2504c0(0x1c2)](_0x3f9fe7,_0x47238f[_0x2504c0(0x20d)]),'finished':_0x47238f['YXjRc'](_0x3f9fe7,_0x47238f[_0x2504c0(0x225)])};},mockPWBrowserType=_0x104ee5=>{const _0xe8c9e5=a4_0x15b2fc,_0x436994={'pJnLy':function(_0x2d272d,_0x279360,_0xda4f3b){return _0x2d272d(_0x279360,_0xda4f3b);},'lzoOY':'wsEndpoint','ISqIa':function(_0x1d0abf,_0x1d7e84){return _0x1d0abf(_0x1d7e84);},'PyVNo':'browserstack','eulPL':function(_0x48a42f,_0x4df55f,_0x2b6da8){return _0x48a42f(_0x4df55f,_0x2b6da8);},'VRgvb':function(_0x129c74,_0x226c25){return _0x129c74===_0x226c25;},'EkzYu':_0xe8c9e5(0x1b9),'DJHHP':_0xe8c9e5(0x275),'JKquR':_0xe8c9e5(0x238),'tPnrK':_0xe8c9e5(0x23b),'rRIMC':function(_0x537feb,_0x45c30c){return _0x537feb(_0x45c30c);},'owLec':function(_0x11deae,_0x1cac96){return _0x11deae(_0x1cac96);},'zQSkB':_0xe8c9e5(0x1a8),'BDVNa':'connect','FRZmj':_0xe8c9e5(0x248)},_0x1c2815=path[_0xe8c9e5(0x1cb)](_0x436994[_0xe8c9e5(0x1ad)],_0x436994[_0xe8c9e5(0x1aa)],_0x436994[_0xe8c9e5(0x23e)]),_0x4754b5=_0x436994[_0xe8c9e5(0x21a)](importFileFromPWCore,_0x1c2815);if(!_0x4754b5){_0x436994[_0xe8c9e5(0x1b3)](debug,_0x436994['zQSkB']);return;}const _0x471209=_0x4754b5[_0xe8c9e5(0x1f1)],_0x44dfa8=_0x471209[_0xe8c9e5(0x28b)];if(_0x44dfa8[_0xe8c9e5(0x1a1)])return;const _0x4834d9=_0x44dfa8['connect'];Object[_0xe8c9e5(0x1c1)](_0x44dfa8,_0x436994[_0xe8c9e5(0x1f5)],{'get':function(){const _0x1fd0ec={'QMyup':function(_0xee836e,_0x2991dd){const _0x5f52f4=a4_0x39f5;return _0x436994[_0x5f52f4(0x19d)](_0xee836e,_0x2991dd);},'VLUbX':_0x436994['EkzYu']};return async function _0x3daffd(_0x104781,_0x4838a9){const _0x3722e5=a4_0x39f5,_0x5b20aa=_0x436994[_0x3722e5(0x28c)](nestedKeyValue,_0x104781,[_0x436994['lzoOY']])||_0x104781;let _0x14bc1a=null,_0x1df4cf=null;try{[_0x1df4cf,_0x14bc1a]=_0x5b20aa?_0x436994['ISqIa'](parseWSEndpoint,_0x5b20aa):[null,null],global['__platformCaps']=_0x14bc1a,logger['debug'](_0x3722e5(0x27b)+_0x1df4cf),_0x1df4cf[_0x3722e5(0x220)](Constants[_0x3722e5(0x214)])&&(global[_0x3722e5(0x1dc)]=_0x436994[_0x3722e5(0x1d0)]);}catch(_0x3e2db0){logger[_0x3722e5(0x267)]('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x5b20aa+'\x20'+_0x3e2db0);}_0x436994['eulPL'](processAccessibilityCaps,_0x14bc1a,_0x1df4cf);if(global['accessibilityPlatform']){const _0x55f91c=await _0x44dfa8[_0x3722e5(0x1d6)][_0x3722e5(0x246)](this,[''+Constants[_0x3722e5(0x269)]+_0x436994[_0x3722e5(0x21e)](encodeURIComponent,JSON[_0x3722e5(0x1ca)](_0x14bc1a))]);return PlaywrightSessionDetails[_0x3722e5(0x223)](_0x55f91c,_0x104ee5,_0x5b20aa),_0x55f91c;}return _0x4834d9[_0x3722e5(0x246)](this,arguments)['then'](_0x135957=>{const _0x4e03b9=_0x3722e5;let _0xd1ba23=_0x104781[_0x4e03b9(0x1d1)];return _0x1fd0ec[_0x4e03b9(0x1ea)](typeof _0x104781,_0x1fd0ec[_0x4e03b9(0x22f)])&&(_0xd1ba23=_0x104781),PlaywrightSessionDetails['setupBrowserDetails'](_0x135957,_0x104ee5,_0xd1ba23),_0x135957;});};}});const _0x1a634c=_0x44dfa8[_0xe8c9e5(0x248)];Object[_0xe8c9e5(0x1c1)](_0x44dfa8,_0x436994[_0xe8c9e5(0x231)],{'get':function(){return async function _0x4c1403(){const _0x4c462b=a4_0x39f5;return _0x1a634c[_0x4c462b(0x246)](this,arguments)['then'](_0x389e60=>{const _0x4f4062=_0x4c462b;return PlaywrightSessionDetails[_0x4f4062(0x223)](_0x389e60,null),_0x389e60;});};}});};function a4_0x1120(){const _0x1adb87=['text','prototype','pJnLy','1885955RMbpuX','config','crVXl','result','failure_backtrace','Playwright','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','winstonLogger','CBTSessionCreated','HOOK_RUN_STARTED','yybXw','enabled','juYCq','rfNir','body','VRgvb','pid','util','appendTestItemLog','obsBrowserTypeMockApplied','comment','forEach','feature','swmcu','currentHook','hooks','Not\x20able\x20to\x20import\x20Browser','getInstance','JKquR','backtrace','name','DJHHP','AoUYp','replace','constructor','getHookType','bind','owLec','codeceptjs','stop','\x20with\x20error\x20:\x20','../../helpers/test-observability/utils','cXkrl','string','resetSkipTestHooks','KuKLh','O11yHelper','uvEHc','toUpperCase','removeAllListeners','hook','defineProperty','YXjRc','getRootParentFile','1|0|4|2|5|3','324wazemL','SvlES','TEST_RUN_STARTED','XcsCL','WwLSC','stringify','join','RMFCY','LrawS','_paths','pending','PyVNo','wsEndpoint','ctx','lJbcI','mJntc','FaHGa','connectOverCDP','mOYeW','passed','bufferPendingHookEvent','51rPbfva','GFvCb','__cloud_provider___','title','length','sNHsk','location_prefix','_testEnv','hasLiveDriverSession','File\x20path\x20could\x20not\x20be\x20found','yAQII','JZvjH','LexTn','errorsDetailed','ikvEx','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','QMyup','format','startedAt','BrCCP','_beforeAll','DgLjo','HookRunStarted','BrowserType','UnNrS','keys','./helper.js','BDVNa','TestRunSkipped','toISOString','relative','captureEvent','integrations','file','finished_at','LWXDH','fireEvent','parent','RalGp','TEST_RUN_FINISHED','bddStepStart','ZYRFG','_afterEach','../playwright/accessibility-helper','uuid','started','file_name','LogCreated','test_run','toLowerCase','EuUYk','AuFDA','find','err','joKtS','failure_reason_expanded','fullTitle','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','BROWSERSTACK','hook_type','markedStatus','Failed\x20to\x20flush\x20pending\x20hook\x20event\x20','jCLOx','getFailureType','rRIMC','push','QZakK','GRIYd','ISqIa','stepAnalyticsId','includes','finished','groups','setupBrowserDetails','TEST_RUN_SKIPPED','oAoZR','type','initializeBddStep','../utils/constants','zkJPn','hook_run_uuid','EDbot','test','getCBTInfo','getHierarchy','VLUbX','meta','FRZmj','TCKjN','TEST_REPORTING_ANALYTICS','hook_run','PathHelper','duration','okdIR','client','pendingHookEvents','driver','browserType.js','session_id','../../helpers/helper','tPnrK','inspect','3914rETRUL','2230063WqqxOk','GXaAu','lvGPD','rcYrW','xdKCW','apply','ELglQ','launch','findGitConfig','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','failure','CODECEPT','111208UWUlDS','veZUj','ngqsy','UoyHl','wslCD','45948vyBvHv','start','retryOf','test_run_uuid','WPURb','ImXYM','dirname','FDKYz','../../helpers/test-observability/constants','currentTest','xrwPn','KsEnC','Utqpm','82mrUqgU','NmDcY','hookAnalyticsId','2046002MtRmdX','path','now','sirvZ','qCGfX','debug','10zPPevY','PLAYWRIGHT_HUB_URL','statSync','toString','event_type','sep','message','suites','_beforeEach','exports','mapTestHooks','status','match','lib','shutdown','concat','1790922YTeuVW','xIkQQ','bddSteps','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','TEST_EVENTS','testAnalyticsId','skipped','uploadEventData','getTime','frameworkName','javascript','cwd','bs:addLog:','uploadData','TestRunStarted','HOOK_RUN_FINISHED','failed','_afterAll'];a4_0x1120=function(){return _0x1adb87;};return a4_0x1120();}class O11yHelper{[a4_0x15b2fc(0x25b)]=null;[a4_0x15b2fc(0x1a6)]=null;['enabled']=![];[a4_0x15b2fc(0x281)]=![];[a4_0x15b2fc(0x239)]=[];constructor(_0xb7b42a,_0x56616b){const _0x2caa87=a4_0x15b2fc,_0x569164={'uvEHc':_0x2caa87(0x1c4),'XcsCL':function(_0x57da77){return _0x57da77();},'okdIR':function(_0x4647f5,_0x4d0ead){return _0x4647f5===_0x4d0ead;},'lRgKv':_0x2caa87(0x292),'TRaFj':function(_0x4660b1,_0x4daafd){return _0x4660b1(_0x4daafd);}},_0x1aebb7=_0x569164[_0x2caa87(0x1bd)]['split']('|');let _0x1ecb6f=0x0;while(!![]){switch(_0x1aebb7[_0x1ecb6f++]){case'0':this[_0x2caa87(0x281)]=_0x56616b['frameworkName'];continue;case'1':this[_0x2caa87(0x298)]=_0x569164[_0x2caa87(0x1c8)](shouldProcessEventForTesthub);continue;case'2':this[_0x2caa87(0x1e1)]=_0x569164[_0x2caa87(0x1c8)](getTestEnv);continue;case'3':this['driver']&&_0x569164[_0x2caa87(0x237)](this[_0x2caa87(0x23a)][_0x2caa87(0x1b0)][_0x2caa87(0x1ac)],_0x569164['lRgKv'])&&_0x569164['TRaFj'](mockPWBrowserType,null);continue;case'4':this[_0x2caa87(0x23a)]=_0xb7b42a;continue;case'5':this['_paths']=new testOpsHelper[(_0x2caa87(0x235))]({'cwd':process[_0x2caa87(0x283)]()},this[_0x2caa87(0x1e1)][_0x2caa87(0x1e0)]);continue;}break;}}[a4_0x15b2fc(0x1e2)](){const _0x5e12b1=a4_0x15b2fc,_0x2826fe={'KsEnC':function(_0x28961f,_0xe6eee){return _0x28961f(_0xe6eee);}};if(!this[_0x5e12b1(0x23a)])return![];try{const _0x5d670a=_0x2826fe[_0x5e12b1(0x25d)](fetchPlatformDetails,this['driver']);if(!_0x5d670a)return![];const _0x32113e=Object[_0x5e12b1(0x1f3)](_0x5d670a)[0x0];return!!(_0x32113e&&_0x5d670a[_0x32113e]&&_0x5d670a[_0x32113e][_0x5e12b1(0x23c)]);}catch(_0x4d5274){return![];}}[a4_0x15b2fc(0x1d9)](_0x45b22d,_0x270dcd){const _0x5d1e4d=a4_0x15b2fc;if(!_0x270dcd)return;const _0x35d26c={};_0x35d26c['eventType']=_0x45b22d,_0x35d26c[_0x5d1e4d(0x285)]=_0x270dcd,this[_0x5d1e4d(0x239)][_0x5d1e4d(0x21b)](_0x35d26c);}async['flushPendingHookEvents'](){const _0x5e6be8=a4_0x15b2fc,_0x510f87={};_0x510f87[_0x5e6be8(0x1e5)]=function(_0x1bb4f2,_0x44d883){return _0x1bb4f2&&_0x44d883;};const _0x1a5d8e=_0x510f87;if(!this[_0x5e6be8(0x239)][_0x5e6be8(0x1de)])return;if(!this[_0x5e6be8(0x1e2)]())return;const _0x2e4430=this[_0x5e6be8(0x22d)](this[_0x5e6be8(0x23a)]),_0x17fab6=this[_0x5e6be8(0x239)]['splice'](0x0,this[_0x5e6be8(0x239)][_0x5e6be8(0x1de)]);for(const {eventType:_0x1cb947,uploadData:_0x53ef7c}of _0x17fab6){try{const _0x460e64=_0x53ef7c[_0x5e6be8(0x234)]||_0x53ef7c[_0x5e6be8(0x20a)];_0x1a5d8e[_0x5e6be8(0x1e5)](_0x460e64,_0x2e4430)&&(_0x460e64[_0x5e6be8(0x1fa)]=_0x2e4430),await this[_0x5e6be8(0x1fe)](_0x1cb947,_0x53ef7c);}catch(_0xa2bff0){logger[_0x5e6be8(0x267)](_0x5e6be8(0x217)+_0x1cb947+':\x20'+util[_0x5e6be8(0x1eb)](_0xa2bff0));}}}[a4_0x15b2fc(0x253)](){const _0x4f0843=a4_0x15b2fc;if(!this[_0x4f0843(0x298)])return;testOpsHelper['patchConsoleLogger'](),process[_0x4f0843(0x1bf)]('bs:addLog:'+process[_0x4f0843(0x19e)]),process['on'](_0x4f0843(0x284)+process[_0x4f0843(0x19e)],this[_0x4f0843(0x1a0)][_0x4f0843(0x1b2)](this));}async[a4_0x15b2fc(0x1b5)](){const _0x1faca5=a4_0x15b2fc;await RequestQueueHandler[_0x1faca5(0x1a9)]()[_0x1faca5(0x276)]();}async[a4_0x15b2fc(0x1a0)](_0x290a7a){const _0x3ebff3=a4_0x15b2fc,_0x113596={'FaHGa':_0x3ebff3(0x209),'sNHsk':function(_0x1d7939,_0x410578){return _0x1d7939(_0x410578);}};try{this[_0x3ebff3(0x1a6)]&&!this[_0x3ebff3(0x1a6)][_0x3ebff3(0x216)]&&(_0x290a7a[_0x3ebff3(0x22a)]=this[_0x3ebff3(0x1a6)][_0x3ebff3(0x261)]);!_0x290a7a[_0x3ebff3(0x22a)]&&this[_0x3ebff3(0x25b)]&&!this['currentTest'][_0x3ebff3(0x216)]&&(_0x290a7a[_0x3ebff3(0x255)]=this['currentTest'][_0x3ebff3(0x27d)]);if(_0x290a7a[_0x3ebff3(0x22a)]||_0x290a7a[_0x3ebff3(0x255)]){const _0x424819={};_0x424819[_0x3ebff3(0x26c)]=_0x113596[_0x3ebff3(0x1d5)],_0x424819['logs']=[_0x290a7a],await SessionHandler['uploadEventData'](_0x424819);}}catch(_0x503675){_0x113596[_0x3ebff3(0x1df)](debug,_0x3ebff3(0x24a)+constants['TEST_REPORTING_ANALYTICS']+_0x3ebff3(0x1b6)+_0x503675);}}async['sendCBTInfo'](_0x1d2781){const _0x2d983b=a4_0x15b2fc,_0x4fe595={'xunmm':_0x2d983b(0x295),'JXnmQ':function(_0x5f0035,_0x18a511){return _0x5f0035(_0x18a511);}};if(!this[_0x2d983b(0x298)])return;const _0x2cd6ae=this['getCBTInfo'](this['driver']);try{const _0x366565={};_0x366565[_0x2d983b(0x206)]=_0x1d2781,_0x366565[_0x2d983b(0x1fa)]=_0x2cd6ae;const _0x907ea1=_0x366565,_0x13eb57={};_0x13eb57[_0x2d983b(0x26c)]=_0x4fe595['xunmm'],_0x13eb57[_0x2d983b(0x20a)]=_0x907ea1,await SessionHandler[_0x2d983b(0x27f)](_0x13eb57);}catch(_0x31cafb){_0x4fe595['JXnmQ'](debug,_0x2d983b(0x1e9)+constants[_0x2d983b(0x233)]+_0x2d983b(0x1b6)+_0x31cafb);}}[a4_0x15b2fc(0x22d)](_0x586f3e){const _0x433637=a4_0x15b2fc,_0x4db1cf={'juYCq':function(_0x3c7f1f,_0x1ebcef){return _0x3c7f1f(_0x1ebcef);}};return _0x4db1cf[_0x433637(0x299)](fetchPlatformDetails,_0x586f3e);}[a4_0x15b2fc(0x1ba)]=_0x2c9f4e=>{const _0x334496=a4_0x15b2fc,_0x33a245={};_0x33a245[_0x334496(0x200)]='_beforeEach',_0x33a245['DgLjo']='_afterEach';const _0x1ae2c0=_0x33a245;if(!_0x2c9f4e||!_0x2c9f4e[_0x334496(0x1ff)])return;[_0x1ae2c0[_0x334496(0x200)],_0x1ae2c0[_0x334496(0x1ef)]][_0x334496(0x1a3)](_0x446204=>{const _0x19516a=_0x334496,_0x20c954=_0x2c9f4e['parent'][_0x446204];_0x20c954[_0x19516a(0x1a3)](_0x473c45=>{_0x473c45['hookAnalyticsId']&&(_0x473c45['hookAnalyticsId']=null);});});};[a4_0x15b2fc(0x272)](_0x4c5f0d){const _0x2d6d65=a4_0x15b2fc,_0x1ab111={'uyWYL':_0x2d6d65(0x1b4),'yybXw':function(_0x3e8147){return _0x3e8147();},'AoUYp':function(_0x3358e7,_0x82dd00){return _0x3358e7===_0x82dd00;},'UnNrS':_0x2d6d65(0x204),'BrCCP':_0x2d6d65(0x1ee),'rcYrW':'_afterAll','veZUj':_0x2d6d65(0x270)};if(!_0x4c5f0d||!_0x4c5f0d[_0x2d6d65(0x1ff)])return;[_0x1ab111[_0x2d6d65(0x1ed)],_0x1ab111[_0x2d6d65(0x244)],_0x1ab111[_0x2d6d65(0x24e)],_0x1ab111[_0x2d6d65(0x1f2)]][_0x2d6d65(0x1a3)](_0x156972=>{const _0x51faa9=_0x2d6d65,_0x6bd0a5={'mOYeW':_0x1ab111['uyWYL'],'sirvZ':function(_0x23f89e){const _0x5ea8f3=a4_0x39f5;return _0x1ab111[_0x5ea8f3(0x297)](_0x23f89e);},'WPURb':function(_0x2c7d20,_0x4cb835){const _0xc5fdd6=a4_0x39f5;return _0x1ab111[_0xc5fdd6(0x1ae)](_0x2c7d20,_0x4cb835);},'SvlES':_0x1ab111[_0x51faa9(0x1f2)],'RMFCY':function(_0x3d6613){const _0x2cd1be=_0x51faa9;return _0x1ab111[_0x2cd1be(0x297)](_0x3d6613);}},_0x37df7d=_0x4c5f0d['parent'][_0x156972]||[];_0x37df7d[_0x51faa9(0x1a3)](_0x12ddd6=>{const _0xe90aed=_0x51faa9;if(_0x12ddd6[_0xe90aed(0x1dd)]['includes'](_0x6bd0a5[_0xe90aed(0x1d7)]))return;if(!_0x12ddd6['hookAnalyticsId'])_0x12ddd6[_0xe90aed(0x261)]=_0x6bd0a5[_0xe90aed(0x265)](uuidv4);else _0x12ddd6[_0xe90aed(0x216)]&&_0x6bd0a5[_0xe90aed(0x256)](_0x156972,_0x6bd0a5[_0xe90aed(0x1c6)])&&(_0x12ddd6[_0xe90aed(0x261)]=_0x6bd0a5[_0xe90aed(0x1cc)](uuidv4),delete _0x12ddd6[_0xe90aed(0x216)]);});}),this[_0x2d6d65(0x272)](_0x4c5f0d[_0x2d6d65(0x1ff)]);}['getHooksForTest'](_0x2d2922){const _0x55bcc9=a4_0x15b2fc,_0x263959={};_0x263959[_0x55bcc9(0x20c)]=_0x55bcc9(0x1ee),_0x263959[_0x55bcc9(0x229)]=_0x55bcc9(0x289),_0x263959[_0x55bcc9(0x257)]='_beforeEach',_0x263959['SvLYv']=_0x55bcc9(0x204);const _0x152d88=_0x263959;if(!_0x2d2922||!_0x2d2922[_0x55bcc9(0x1ff)])return[];const _0xcc2936=[];return[_0x152d88[_0x55bcc9(0x20c)],_0x152d88[_0x55bcc9(0x229)],_0x152d88['ImXYM'],_0x152d88['SvLYv']][_0x55bcc9(0x1a3)](_0x16c711=>{const _0x5844e2=_0x55bcc9,_0xb32055=_0x2d2922[_0x5844e2(0x1ff)][_0x16c711]||[];_0xb32055['forEach'](_0x231719=>{const _0x6aefd4=_0x5844e2;_0x231719[_0x6aefd4(0x261)]&&_0xcc2936[_0x6aefd4(0x21b)](_0x231719[_0x6aefd4(0x261)]);});}),[][_0x55bcc9(0x277)](_0xcc2936,this['getHooksForTest'](_0x2d2922['parent']));}[a4_0x15b2fc(0x1b1)](_0x2e33b7){const _0xc4d57f=a4_0x15b2fc,_0x1bfe6b=/^"(?<hook>.*)" hook:.*$/,_0x5e5d67=_0x2e33b7[_0xc4d57f(0x1dd)],_0x1bbccb=_0x5e5d67[_0xc4d57f(0x274)](_0x1bfe6b);if(_0x1bbccb&&_0x1bbccb[_0xc4d57f(0x222)])return _0x1bbccb[_0xc4d57f(0x222)][_0xc4d57f(0x1c0)][_0xc4d57f(0x1be)]()[_0xc4d57f(0x1af)]('\x20','_');return null;}[a4_0x15b2fc(0x249)](_0x4786d9){const _0x3ded3d=a4_0x15b2fc,_0x33b100={};_0x33b100[_0x3ded3d(0x218)]=function(_0x3a6ba9,_0x4a2de3){return _0x3a6ba9===_0x4a2de3;},_0x33b100[_0x3ded3d(0x242)]=function(_0x36b3e0,_0x21c531){return _0x36b3e0===_0x21c531;},_0x33b100[_0x3ded3d(0x21c)]='.git',_0x33b100[_0x3ded3d(0x25e)]=_0x3ded3d(0x28e);const _0x512a8c=_0x33b100,_0x274a26=path[_0x3ded3d(0x26d)];if(_0x512a8c[_0x3ded3d(0x218)](_0x4786d9,null)||_0x512a8c['jCLOx'](_0x4786d9,'')||_0x512a8c[_0x3ded3d(0x218)](_0x4786d9,_0x274a26)||_0x512a8c[_0x3ded3d(0x242)](_0x4786d9,path[_0x3ded3d(0x258)](_0x4786d9)))return null;try{return fs[_0x3ded3d(0x26a)](path[_0x3ded3d(0x1cb)](_0x4786d9,_0x512a8c['QZakK'],_0x512a8c[_0x3ded3d(0x25e)])),_0x4786d9;}catch(_0x5d5954){const _0x48e953=path[_0x3ded3d(0x258)](_0x4786d9);return this['findGitConfig'](_0x48e953);}}[a4_0x15b2fc(0x1c3)](_0x497cb4){const _0x20d54d=a4_0x15b2fc,_0x583d77={};_0x583d77['mJntc']=function(_0x1b69ff,_0x299516){return _0x1b69ff>_0x299516;};const _0x3232cf=_0x583d77;if(_0x497cb4[_0x20d54d(0x1fb)])return _0x497cb4[_0x20d54d(0x1fb)];if(_0x497cb4['ctx']){const _0x17da19=_0x497cb4[_0x20d54d(0x1d2)][_0x20d54d(0x25b)]?this[_0x20d54d(0x1c3)](_0x497cb4['ctx']['currentTest']):null;if(_0x17da19)return _0x17da19;}if(_0x497cb4[_0x20d54d(0x1ff)]){const _0xd68ae8=this['getRootParentFile'](_0x497cb4[_0x20d54d(0x1ff)])||(_0x497cb4[_0x20d54d(0x1ff)][_0x20d54d(0x1d2)]&&_0x497cb4[_0x20d54d(0x1ff)][_0x20d54d(0x1d2)]['currentTest']?this[_0x20d54d(0x1c3)](_0x497cb4[_0x20d54d(0x1ff)][_0x20d54d(0x1d2)][_0x20d54d(0x25b)]):null);if(_0xd68ae8)return _0xd68ae8;_0x497cb4[_0x20d54d(0x1ff)][_0x20d54d(0x26f)]&&_0x3232cf[_0x20d54d(0x1d4)](_0x497cb4[_0x20d54d(0x1ff)][_0x20d54d(0x26f)][_0x20d54d(0x1de)],0x0)&&_0x497cb4[_0x20d54d(0x1ff)][_0x20d54d(0x26f)][_0x20d54d(0x1a3)](_0x120930=>{const _0x3928ee=_0x20d54d,_0x1a9b6e=_0x120930[_0x3928ee(0x1d2)]?this[_0x3928ee(0x1c3)](_0x120930['ctx']):null;if(_0x1a9b6e)return _0x1a9b6e;});}return null;}[a4_0x15b2fc(0x22e)](_0x58cca6){const _0x4fadff=a4_0x15b2fc,_0x2e64ce={};_0x2e64ce[_0x4fadff(0x232)]=function(_0xc2d690,_0x16f11a){return _0xc2d690!==_0x16f11a;};const _0x39ff1a=_0x2e64ce,_0x21ac8b=[];if(_0x58cca6&&_0x58cca6[_0x4fadff(0x1ff)]){let _0x40f4c4=_0x58cca6['parent'];while(_0x40f4c4&&_0x39ff1a[_0x4fadff(0x232)](_0x40f4c4[_0x4fadff(0x1dd)],'')){_0x21ac8b[_0x4fadff(0x21b)](_0x40f4c4[_0x4fadff(0x1dd)]),_0x40f4c4=_0x40f4c4[_0x4fadff(0x1ff)];}}return _0x21ac8b;}[a4_0x15b2fc(0x1f9)](_0xa57e60,_0x33566f,_0x40ebf2=undefined){const _0x4f0444=a4_0x15b2fc,_0x24100a={'eTWiN':function(_0x52bc1a,_0x258b45){return _0x52bc1a(_0x258b45);},'FDKYz':function(_0x5dceb9){return _0x5dceb9();},'WwLSC':function(_0x35188c){return _0x35188c();},'LWXDH':function(_0x12c188){return _0x12c188();},'wslCD':_0x4f0444(0x20f),'UoyHl':function(_0x2cf5ca,_0x4e5d56){return _0x2cf5ca!==_0x4e5d56;},'FPzgs':_0x4f0444(0x1e3),'ELglQ':_0x4f0444(0x1cf),'GRIYd':_0x4f0444(0x288),'xdKCW':_0x4f0444(0x1d8),'GFvCb':_0x4f0444(0x27e),'qCGfX':_0x4f0444(0x282),'KuKLh':function(_0x11b948,_0x4ee5de){return _0x11b948-_0x4ee5de;},'swmcu':function(_0xb56bd5,_0x3054fe,_0x246a5e,_0x10eddd,_0x509449){return _0xb56bd5(_0x3054fe,_0x246a5e,_0x10eddd,_0x509449);},'lvGPD':function(_0x54763e,_0x31e5ea){return _0x54763e!==_0x31e5ea;},'xIkQQ':_0x4f0444(0x1fa),'NpZYa':_0x4f0444(0x230),'clqJk':_0x4f0444(0x24b),'crVXl':_0x4f0444(0x291),'ngqsy':_0x4f0444(0x1ab),'LexTn':_0x4f0444(0x211),'MVolB':'expanded','hgUSn':function(_0x34123d,_0x2848a1){return _0x34123d===_0x2848a1;},'OkYbv':_0x4f0444(0x234),'lRIwz':_0x4f0444(0x20a)};if(!this[_0x4f0444(0x298)])return;try{if(_0x33566f['fn']&&_0x33566f['fn'][_0x4f0444(0x26b)]()[_0x4f0444(0x274)](/browserstack internal helper hook/))return;const _0x5d674a=_0x24100a['eTWiN'](parseEvent,_0xa57e60);if(!_0x5d674a)return;if(_0x5d674a['test']){this[_0x4f0444(0x25b)]=_0x33566f,this[_0x4f0444(0x1a6)]=null;if(_0x5d674a[_0x4f0444(0x207)]||_0x5d674a[_0x4f0444(0x27e)]){_0x33566f[_0x4f0444(0x1ec)]=new Date(),_0x33566f[_0x4f0444(0x216)]=![];if(!_0x33566f[_0x4f0444(0x27d)])_0x33566f[_0x4f0444(0x27d)]=_0x24100a[_0x4f0444(0x259)](uuidv4);else _0x33566f[_0x4f0444(0x216)]&&(!_0x33566f['retryOf']&&(_0x33566f['retryOf']=_0x33566f['testAnalyticsId']),_0x33566f['testAnalyticsId']=_0x24100a[_0x4f0444(0x1c9)](uuidv4));}}else{if(_0x5d674a[_0x4f0444(0x1c0)]){this['currentHook']=_0x33566f;if(_0x5d674a[_0x4f0444(0x207)]){_0x33566f[_0x4f0444(0x1ec)]=new Date(),_0x33566f[_0x4f0444(0x216)]=![];if(!_0x33566f[_0x4f0444(0x261)])_0x33566f[_0x4f0444(0x261)]=_0x24100a['FDKYz'](uuidv4);else _0x33566f['hookAnalyticsId']&&_0x33566f[_0x4f0444(0x216)]&&(_0x33566f[_0x4f0444(0x261)]=_0x24100a[_0x4f0444(0x1fd)](uuidv4));}}}if(_0x5d674a[_0x4f0444(0x221)]&&_0x33566f[_0x4f0444(0x216)])return;let _0x3d3fac;try{_0x3d3fac=this['getRootParentFile'](_0x33566f);}catch(_0x356262){logger[_0x4f0444(0x267)]('failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x356262),_0x3d3fac=null;}let _0x1ee0d2=[];_0x40ebf2&&(_0x1ee0d2=[_0x40ebf2,_0x24100a[_0x4f0444(0x251)]]);const _0x2044a9=_0x24100a[_0x4f0444(0x250)](_0x33566f[_0x4f0444(0x1e7)],undefined)?util[_0x4f0444(0x23f)](_0x33566f[_0x4f0444(0x1e7)][0x0]):_0x24100a[_0x4f0444(0x250)](_0x40ebf2,undefined)?_0x40ebf2[_0x4f0444(0x26b)]():undefined,_0x286352=_0x3d3fac?this[_0x4f0444(0x249)](_0x3d3fac):null,_0xb42197=_0x3d3fac?this[_0x4f0444(0x1ce)]['prefixTestPath'](this[_0x4f0444(0x1c3)](_0x33566f)):_0x24100a['FPzgs'];let _0x1ffc31=_0x24100a['ELglQ'];const _0x5e03cf=!_0x5d674a[_0x4f0444(0x207)]?new Date()[_0x4f0444(0x1f7)]():null;if(_0x5d674a[_0x4f0444(0x221)])_0x1ffc31=_0x40ebf2?_0x24100a[_0x4f0444(0x21d)]:_0x24100a['xdKCW'],_0x33566f[_0x4f0444(0x216)]=!![];else _0x5d674a['skipped']&&(_0x1ffc31=_0x24100a[_0x4f0444(0x1db)],_0x33566f[_0x4f0444(0x216)]=!![]);const _0xcff27={'framework':this[_0x4f0444(0x281)],'uuid':_0x33566f[_0x4f0444(0x27d)]||_0x33566f[_0x4f0444(0x261)],'name':_0x33566f[_0x4f0444(0x1dd)],'body':{'lang':_0x24100a[_0x4f0444(0x266)],'code':_0x33566f[_0x4f0444(0x29b)][_0x4f0444(0x26b)]()},'type':_0x33566f[_0x4f0444(0x226)],'scope':_0x33566f[_0x4f0444(0x212)](),'scopes':this[_0x4f0444(0x22e)](_0x33566f),'file_name':_0xb42197,'vc_filepath':_0x286352?path[_0x4f0444(0x1f8)](_0x286352,_0x3d3fac):null,'location':_0xb42197,'result':_0x1ffc31,'failure_reason':_0x2044a9,'duration_in_ms':_0x33566f['duration']||(_0x5d674a[_0x4f0444(0x221)]||_0x5d674a[_0x4f0444(0x27e)])?_0x24100a[_0x4f0444(0x1bb)](Date['now'](),new Date(_0x33566f[_0x4f0444(0x1ec)])[_0x4f0444(0x280)]()):null,'started_at':new Date(_0x33566f[_0x4f0444(0x1ec)])[_0x4f0444(0x1f7)](),'finished_at':_0x5e03cf,'failure':testOpsHelper['failureData'][_0x4f0444(0x246)](null,_0x1ee0d2),'failure_type':!_0x2044a9?null:testOpsHelper[_0x4f0444(0x219)](_0x2044a9),'retry_of':_0x33566f[_0x4f0444(0x254)]||null,'tags':_0x33566f['tags']||[],'customRerunParam':{'rerun_name':_0x33566f[_0x4f0444(0x212)]()}};_0x24100a[_0x4f0444(0x1a5)](appendTesthubParams,_0xcff27,_0xa57e60,_0x33566f,FRAMEWORKS[_0x4f0444(0x24c)]);if(_0x5d674a['hook'])[_0xcff27[_0x4f0444(0x215)],_0xcff27['name']]=[this[_0x4f0444(0x1b1)](_0x33566f),_0x33566f[_0x4f0444(0x1d2)][_0x4f0444(0x22c)][_0x4f0444(0x1dd)]],_0x5d674a[_0x4f0444(0x221)]?_0x24100a[_0x4f0444(0x243)](_0xcff27[_0x4f0444(0x290)],_0x24100a[_0x4f0444(0x21d)])&&(_0xcff27[_0x4f0444(0x290)]=_0x24100a['xdKCW']):_0xcff27['body']={};else _0x5d674a['test']&&(this[_0x4f0444(0x272)](_0x33566f),_0x5d674a[_0x4f0444(0x27e)]&&this[_0x4f0444(0x1ba)](_0x33566f),(_0x5d674a['finished']||_0x5d674a[_0x4f0444(0x27e)])&&(_0xcff27[_0x4f0444(0x1a7)]=this['getHooksForTest'](_0x33566f)));this[_0x4f0444(0x23a)]&&(_0x5d674a[_0x4f0444(0x207)]||_0x5d674a[_0x4f0444(0x27e)])&&(_0xcff27[_0x24100a[_0x4f0444(0x279)]]=this[_0x4f0444(0x22d)](this['driver']));_0x5d674a[_0x4f0444(0x22c)]&&_0x5d674a[_0x4f0444(0x221)]&&_0x33566f[_0x4f0444(0x27a)]&&(_0xcff27[_0x24100a['NpZYa']]={'feature':{'name':_0x33566f[_0x4f0444(0x1ff)][_0x4f0444(0x1a4)][_0x4f0444(0x1ac)],'path':_0xcff27[_0x4f0444(0x208)],'description':_0x33566f[_0x4f0444(0x1ff)][_0x4f0444(0x1a2)]},'scenario':{'name':_0x33566f[_0x4f0444(0x1dd)]},'steps':_0x33566f[_0x4f0444(0x27a)]});const _0x4ccc42=_0xcff27[_0x24100a['clqJk']][0x0];_0x4ccc42&&(_0xcff27[_0x24100a[_0x4f0444(0x28f)]]=_0x4ccc42[_0x24100a[_0x4f0444(0x24f)]],_0xcff27[_0x24100a[_0x4f0444(0x1e6)]]=_0x4ccc42[_0x24100a['MVolB']]);if(_0x33566f[_0x4f0444(0x27a)])for(const _0x5ec087 of _0x33566f['bddSteps']){!_0x5ec087['finished_at']&&(_0x5ec087['finished_at']=new Date()[_0x4f0444(0x1f7)](),_0x24100a['hgUSn'](_0x5ec087['result'],_0x24100a[_0x4f0444(0x247)])&&(_0x4ccc42?(_0x5ec087['result']=_0x24100a[_0x4f0444(0x21d)],_0x5ec087[_0x4f0444(0x24b)]=_0x4ccc42[_0x24100a[_0x4f0444(0x24f)]][0x0]):_0x5ec087[_0x4f0444(0x290)]=_0x24100a[_0x4f0444(0x245)]));}const _0x444379={};_0x444379['event_type']=_0x5d674a[_0x4f0444(0x27e)]?TEST_EVENTS[_0x4f0444(0x201)]:_0xa57e60;const _0x499b8e=_0x444379;return _0x5d674a[_0x4f0444(0x1c0)]?_0x499b8e[_0x24100a['OkYbv']]=_0xcff27:_0x499b8e[_0x24100a['lRIwz']]=_0xcff27,_0x499b8e;}catch(_0x1fedaf){logger[_0x4f0444(0x267)](_0x4f0444(0x293)+_0xa57e60+'\x20with\x20error\x20:\x20'+_0x1fedaf);}}async[a4_0x15b2fc(0x1fe)](_0x1eccd9,_0x4aeae3){const _0x2c93e2=a4_0x15b2fc;if(!this[_0x2c93e2(0x298)]||!_0x4aeae3||!_0x1eccd9)return![];try{return await SessionHandler[_0x2c93e2(0x27f)](_0x4aeae3);}catch(_0x2f0f02){logger[_0x2c93e2(0x267)](_0x2c93e2(0x213)+_0x1eccd9+'\x20with\x20error\x20:\x20'+_0x2f0f02);}}[a4_0x15b2fc(0x227)](_0xdcfa0b){const _0x3e2c60=a4_0x15b2fc,_0x78bff2={};_0x78bff2[_0x3e2c60(0x203)]=_0x3e2c60(0x1cf);const _0x45de97=_0x78bff2;return{'id':_0xdcfa0b[_0x3e2c60(0x21f)],'text':_0xdcfa0b[_0x3e2c60(0x28a)],'keyword':_0xdcfa0b['keyword'],'started_at':_0xdcfa0b[_0x3e2c60(0x1ec)][_0x3e2c60(0x1f7)](),'result':_0x45de97[_0x3e2c60(0x203)]};}[a4_0x15b2fc(0x202)](_0x49d909){const _0x418b9e=a4_0x15b2fc,_0x2b571e={'cXkrl':function(_0x576798){return _0x576798();}};!this['currentTest'][_0x418b9e(0x27a)]&&(this[_0x418b9e(0x25b)][_0x418b9e(0x27a)]=[]),!_0x49d909[_0x418b9e(0x21f)]&&(_0x49d909[_0x418b9e(0x21f)]=_0x2b571e[_0x418b9e(0x1b8)](uuidv4),_0x49d909[_0x418b9e(0x1ec)]=new Date(),this['currentTest']['bddSteps']['push'](this[_0x418b9e(0x227)](_0x49d909)));}['bddStepFinish'](_0x378aa0){const _0x5b8836=a4_0x15b2fc,_0x1fe0de={'lJbcI':function(_0x7f4958,_0x4adbc1){return _0x7f4958(_0x4adbc1);},'xrwPn':'success','yAQII':_0x5b8836(0x1cf),'xEUHZ':_0x5b8836(0x1d8),'LrawS':function(_0x592738,_0x4c8372){return _0x592738-_0x4c8372;}};let _0x167574=this[_0x5b8836(0x25b)][_0x5b8836(0x27a)][_0x5b8836(0x20e)](_0xffa766=>_0xffa766['id']===_0x378aa0[_0x5b8836(0x21f)]);_0x1fe0de[_0x5b8836(0x1d3)](isUndefined,_0x167574)&&(_0x167574=this[_0x5b8836(0x227)](_0x378aa0)),_0x167574[_0x5b8836(0x290)]=[_0x1fe0de[_0x5b8836(0x25c)],_0x1fe0de[_0x5b8836(0x1e4)]][_0x5b8836(0x220)](_0x378aa0['status'])?_0x1fe0de['xEUHZ']:_0x378aa0[_0x5b8836(0x273)],_0x167574[_0x5b8836(0x1fc)]=new Date()[_0x5b8836(0x1f7)](),_0x167574[_0x5b8836(0x236)]=_0x1fe0de[_0x5b8836(0x1cd)](Date[_0x5b8836(0x264)](),_0x378aa0[_0x5b8836(0x1ec)]['getTime']()),_0x167574[_0x5b8836(0x24b)]=_0x378aa0[_0x5b8836(0x20f)]?_0x378aa0[_0x5b8836(0x20f)][_0x5b8836(0x26e)]:null;}}const a4_0x209ca0={};a4_0x209ca0[a4_0x15b2fc(0x1bc)]=O11yHelper,a4_0x209ca0['STATE_PASSED']=STATE_PASSED,a4_0x209ca0['STATE_FAILED']=STATE_FAILED,a4_0x209ca0[a4_0x15b2fc(0x27c)]=TEST_EVENTS,module[a4_0x15b2fc(0x271)]=a4_0x209ca0;
|