browserstack-node-sdk 1.36.2 → 1.36.3
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 -7
- 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/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_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/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/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/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/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/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
- package/generated/sdk-messages-accessibility_grpc_pb.d.ts +0 -1
- package/generated/sdk-messages-accessibility_grpc_pb.js +0 -1
- package/generated/sdk-messages-accessibility_pb.d.ts +0 -279
- package/generated/sdk-messages-accessibility_pb.js +0 -2186
- package/generated/sdk-messages-ai_grpc_pb.d.ts +0 -1
- package/generated/sdk-messages-ai_grpc_pb.js +0 -1
- package/generated/sdk-messages-ai_pb.d.ts +0 -217
- package/generated/sdk-messages-ai_pb.js +0 -1650
- package/generated/sdk-messages-observability_grpc_pb.d.ts +0 -1
- package/generated/sdk-messages-observability_grpc_pb.js +0 -1
- package/generated/sdk-messages-observability_pb.d.ts +0 -178
- package/generated/sdk-messages-observability_pb.js +0 -1377
- package/generated/sdk-messages-percy_grpc_pb.d.ts +0 -1
- package/generated/sdk-messages-percy_grpc_pb.js +0 -1
- package/generated/sdk-messages-percy_pb.d.ts +0 -37
- package/generated/sdk-messages-percy_pb.js +0 -266
- package/generated/sdk-messages-testhub_grpc_pb.d.ts +0 -1
- package/generated/sdk-messages-testhub_grpc_pb.js +0 -1
- package/generated/sdk-messages-testhub_pb.d.ts +0 -39
- package/generated/sdk-messages-testhub_pb.js +0 -290
- package/generated/sdk-messages_grpc_pb.d.ts +0 -1
- package/generated/sdk-messages_grpc_pb.js +0 -1
- package/generated/sdk-messages_pb.d.ts +0 -1105
- package/generated/sdk-messages_pb.js +0 -8580
- package/generated/sdk_grpc_pb.d.ts +0 -113
- package/generated/sdk_grpc_pb.js +0 -609
- package/generated/sdk_pb.d.ts +0 -9
- package/generated/sdk_pb.js +0 -31
- package/src/bin/v2/TestInfo.js +0 -1
- package/src/bin/v2/browserstackCLI.js +0 -1
- package/src/bin/v2/cliUtils.js +0 -1
- package/src/bin/v2/customTagManager.js +0 -1
- package/src/bin/v2/eventDispatcher.js +0 -1
- package/src/bin/v2/framework/automationFramework.js +0 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +0 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +0 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +0 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +0 -1
- package/src/bin/v2/framework/testFramework.js +0 -1
- package/src/bin/v2/grpcClient.js +0 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +0 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +0 -1
- package/src/bin/v2/instances/trackedContext.js +0 -1
- package/src/bin/v2/instances/trackedInstance.js +0 -1
- package/src/bin/v2/modules/accessibilityModule.js +0 -1
- package/src/bin/v2/modules/baseModule.js +0 -1
- package/src/bin/v2/modules/observabilityModule.js +0 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +0 -1
- package/src/bin/v2/modules/testhubModule.js +0 -1
- package/src/bin/v2/state/automationFrameworkState.js +0 -1
- package/src/bin/v2/state/hookState.js +0 -1
- package/src/bin/v2/state/testFrameworkState.js +0 -1
- package/src/bin/v2/uploadAttachmentsManager.js +0 -1
- package/src/helpers/classLogger.js +0 -1
- package/src/helpers/test-orchestration/fail-fast/fileHelper.js +0 -1
- package/src/helpers/test-orchestration/fail-fast/jest.js +0 -1
- package/src/helpers/test-orchestration/fail-fast/requestUtils.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function a1_0xf92a(_0x4757b5,_0xb0bd54){const _0x4ab5e2=a1_0x4ab5();return a1_0xf92a=function(_0xf92abf,_0x4c8638){_0xf92abf=_0xf92abf-0x112;let _0x3e3a6e=_0x4ab5e2[_0xf92abf];return _0x3e3a6e;},a1_0xf92a(_0x4757b5,_0xb0bd54);}const a1_0x152121=a1_0xf92a;(function(_0x2c5250,_0x2f3a2b){const _0x5ed31e=a1_0xf92a,_0x350eb3=_0x2c5250();while(!![]){try{const _0x4651e0=-parseInt(_0x5ed31e(0x19b))/0x1*(parseInt(_0x5ed31e(0x1d2))/0x2)+-parseInt(_0x5ed31e(0x1d3))/0x3*(-parseInt(_0x5ed31e(0x16f))/0x4)+parseInt(_0x5ed31e(0x114))/0x5+parseInt(_0x5ed31e(0x140))/0x6*(parseInt(_0x5ed31e(0x12f))/0x7)+parseInt(_0x5ed31e(0x1c3))/0x8*(parseInt(_0x5ed31e(0x13c))/0x9)+-parseInt(_0x5ed31e(0x11a))/0xa+-parseInt(_0x5ed31e(0x19f))/0xb;if(_0x4651e0===_0x2f3a2b)break;else _0x350eb3['push'](_0x350eb3['shift']());}catch(_0x336da0){_0x350eb3['push'](_0x350eb3['shift']());}}}(a1_0x4ab5,0x470c2));const fs=require('fs'),util=require(a1_0x152121(0x1a7)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require('../../helpers/helper'),logger=require('../../helpers/logger')[a1_0x152121(0x1a9)],testOpsHelper=require(a1_0x152121(0x11e)),requestSpy=require('../../helpers/request-spy'),PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require('./o11yHelper'),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),AccessibilityHelper=require(a1_0x152121(0x142)),scripts=require(a1_0x152121(0x13b)),PerformanceTester=require(a1_0x152121(0x177)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x152121(0x14c)),{processWebDriverConfig,shouldPatchExecuteScript}=require('./helper.js'),testHubConstants=require('../../helpers/testhub/constants.js'),globals=require(a1_0x152121(0x194)),CodeceptJS=requireModule(a1_0x152121(0x143),a1_0x152121(0x18a)),CodeceptUtils=requireModule('codeceptjs/lib/utils.js',a1_0x152121(0x18a)),CodeceptWebDriver=requireModule('codeceptjs/lib/helper/WebDriver.js',a1_0x152121(0x18a)),CodeceptRecorder=requireModule('codeceptjs/lib/recorder.js',a1_0x152121(0x18a)),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js',a1_0x152121(0x18a)),playwrightMarkSessionStatus=(_0xd25071,_0x1cba05,_0x5d0437)=>{const _0x56960e=a1_0x152121,_0x3f87df={'ACJCE':_0x56960e(0x198),'JeGOx':function(_0x169e8b,_0x24c8f0){return _0x169e8b(_0x24c8f0);}},_0x46184e={};_0x46184e['status']=_0x1cba05;const _0x26f6fc={};_0x26f6fc[_0x56960e(0x127)]=_0x3f87df[_0x56960e(0x132)],_0x26f6fc['arguments']=_0x46184e;const _0x3c38a7=_0x26f6fc;return!_0x3f87df[_0x56960e(0x19a)](isUndefined,_0x5d0437)&&(_0x3c38a7[_0x56960e(0x167)][_0x56960e(0x188)]=JSON[_0x56960e(0x119)](_0x5d0437)),_0xd25071[_0x56960e(0x158)](()=>{},'browserstack_executor:\x20'+JSON[_0x56960e(0x119)](_0x3c38a7));},o11ySync=PerformanceTester[a1_0x152121(0x17c)](PerformanceO11yEvents[a1_0x152121(0x1b3)],async _0x305f9e=>{const _0x500db5=a1_0x152121,_0x4bd602={};_0x4bd602[_0x500db5(0x189)]=function(_0x46ac38,_0x68a6f){return _0x46ac38===_0x68a6f;},_0x4bd602[_0x500db5(0x1bb)]=_0x500db5(0x129);const _0x548f43=_0x4bd602;_0x548f43[_0x500db5(0x189)](_0x305f9e[_0x500db5(0x1d7)]['name'],_0x548f43[_0x500db5(0x1bb)])?await _0x305f9e[_0x500db5(0x158)](_0x4345aa=>{},testOpsHelper[_0x500db5(0x117)]()):await _0x305f9e[_0x500db5(0x158)](testOpsHelper['getSyncScript']());}),markSessionName=PerformanceTester[a1_0x152121(0x17c)](PerformanceAutEvents[a1_0x152121(0x156)],async(_0x582ccf,_0xcdd008)=>{const _0x169157=a1_0x152121,_0xbf616={};_0xbf616['gDOHE']='setSessionName',_0xbf616['tJEal']=function(_0x3d025f,_0x5443d9){return _0x3d025f===_0x5443d9;},_0xbf616[_0x169157(0x15a)]=_0x169157(0x129);const _0x2c15a5=_0xbf616,_0x47d9df={};_0x47d9df[_0x169157(0x133)]=_0xcdd008;const _0x752522={};_0x752522[_0x169157(0x127)]=_0x2c15a5['gDOHE'],_0x752522[_0x169157(0x167)]=_0x47d9df;const _0x2ff2e0=_0x752522;_0x2c15a5['tJEal'](_0x582ccf['constructor'][_0x169157(0x133)],_0x2c15a5[_0x169157(0x15a)])?await _0x582ccf[_0x169157(0x158)](()=>{},_0x169157(0x13f)+JSON[_0x169157(0x119)](_0x2ff2e0)):await _0x582ccf[_0x169157(0x158)](_0x169157(0x13f)+JSON[_0x169157(0x119)](_0x2ff2e0));}),patchSaveScreenshot=_0x55a623=>{const _0x5631bc=a1_0x152121,_0x6b151b={'EIoXv':_0x5631bc(0x11c),'WzMDF':'TEST_SCREENSHOT','VGXDf':function(_0x2447a1){return _0x2447a1();},'pidmG':function(_0x187e39,_0x502338){return _0x187e39(_0x502338);},'NUEMT':_0x5631bc(0x1e5),'jgjHN':function(_0x2b7377,_0x34e7d4){return _0x2b7377(_0x34e7d4);}};_0x6b151b[_0x5631bc(0x1a3)](isTrue,process['env']['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x55a623['patchSaveScreenshot']&&(_0x55a623[_0x5631bc(0x12d)]=!![],_0x55a623[_0x5631bc(0x1b6)]=_0x55a623[_0x5631bc(0x17b)],_0x55a623['saveScreenshot']=(_0x18b322,_0x567339=![])=>{const _0x5e373f=_0x5631bc,_0x415d7f={'kUVtS':_0x6b151b[_0x5e373f(0x1e1)],'ZfltD':_0x6b151b[_0x5e373f(0x139)],'LsxIe':function(_0x131a00){return _0x6b151b['VGXDf'](_0x131a00);},'MvbpX':function(_0xf6e03,_0x253568){return _0x6b151b['pidmG'](_0xf6e03,_0x253568);},'JtPFc':_0x6b151b[_0x5e373f(0x170)]};return new Promise(function(_0x16fccb,_0x5bc409){const _0x3d7e2f=_0x5e373f;_0x55a623[_0x3d7e2f(0x1b6)](_0x18b322,_0x567339)[_0x3d7e2f(0x162)](()=>{const _0x1631f2=_0x3d7e2f,_0x388363=CodeceptUtils[_0x1631f2(0x15b)](_0x18b322);if(_0x388363){const _0xdc932d=fs[_0x1631f2(0x135)](_0x388363);process[_0x1631f2(0x1e0)](_0x1631f2(0x11f)+process['pid'],{'timestamp':new Date()[_0x1631f2(0x1e2)](),'message':_0xdc932d[_0x1631f2(0x186)](_0x415d7f['kUVtS']),'kind':_0x415d7f[_0x1631f2(0x144)]}),_0x415d7f[_0x1631f2(0x120)](_0x16fccb);}_0x415d7f['MvbpX'](_0x5bc409,new Error(_0x415d7f['JtPFc']));})['catch'](()=>null);});});},patchWebDriverBefore=_0x6dbedb=>{const _0x360478=a1_0x152121,_0x3c2134={'uFkFW':function(_0x4764a5){return _0x4764a5();},'ZFxAI':function(_0x1cbac6,_0x8cfcff){return _0x1cbac6(_0x8cfcff);},'ZZFbx':function(_0x51c9e1,_0x2113d9){return _0x51c9e1===_0x2113d9;},'xUATT':'Element'},_0x14fdeb=async function(_0x1a34f6,_0x259afe){const _0x4dd0d1=a1_0xf92a;return _0x3c2134[_0x4dd0d1(0x1b4)](isAccessibilityAutomationSession)&&!global['bstackAllyScanning']&&global[_0x4dd0d1(0x1ca)]&&scripts[_0x4dd0d1(0x1b0)](_0x1a34f6[_0x4dd0d1(0x133)])&&_0x3c2134[_0x4dd0d1(0x14d)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x4dd0d1(0x1b8)]=!![],await PerformanceTester[_0x4dd0d1(0x17c)](PerformanceA11yEvents[_0x4dd0d1(0x148)],async()=>{const _0x283f85=_0x4dd0d1;logger['debug']('Performing\x20scan\x20for\x20'+_0x1a34f6[_0x283f85(0x13a)]+'\x20'+_0x1a34f6[_0x283f85(0x133)]),await AccessibilityHelper[_0x283f85(0x161)](_0x6dbedb,scripts['performScan']);},{'command':_0x1a34f6[_0x4dd0d1(0x133)]})()),global['bstackAllyScanning']=![],_0x259afe['apply'](this,Array[_0x4dd0d1(0x146)][_0x4dd0d1(0x14f)][_0x4dd0d1(0x14b)](arguments,0x2));},_0x387b08=CodeceptWebDriver['prototype'][_0x360478(0x1ce)];CodeceptWebDriver[_0x360478(0x146)][_0x360478(0x1ce)]=async function(){const _0x106118=_0x360478;try{await _0x387b08[_0x106118(0x1d6)](this,arguments);}catch(_0x123c44){logger['debug'](_0x106118(0x153)+util[_0x106118(0x1a4)](_0x123c44));}scripts[_0x106118(0x1bc)][_0x106118(0x18f)](_0x8870da=>_0x8870da[_0x106118(0x133)]&&_0x8870da['class'])[_0x106118(0x1da)](_0x71ac82=>{const _0x5c6bbf=_0x106118;this[_0x5c6bbf(0x187)][_0x5c6bbf(0x192)](_0x71ac82['name'],_0x14fdeb['bind'](this,_0x71ac82),_0x3c2134[_0x5c6bbf(0x176)](_0x71ac82[_0x5c6bbf(0x13a)],_0x3c2134[_0x5c6bbf(0x1d1)]));}),_0x3c2134['ZFxAI'](processWebDriverConfig,_0x6dbedb);};},patchPlaywrightBefore=()=>{const _0x5eefc0=a1_0x152121;PlaywrightSessionDetails[_0x5eefc0(0x1a0)]();const _0x14a576=CodeceptPlaywright[_0x5eefc0(0x146)][_0x5eefc0(0x1ce)];CodeceptPlaywright[_0x5eefc0(0x146)][_0x5eefc0(0x1ce)]=async function(){const _0x10a582=_0x5eefc0;this[_0x10a582(0x13e)]=await this['browser'][_0x10a582(0x16d)]()[0x0],await _0x14a576['apply'](this,arguments);};},getCodeceptDriver=()=>{const _0x9c0a8=a1_0x152121,_0x2ce91d={};_0x2ce91d['PhfCw']=_0x9c0a8(0x12c),_0x2ce91d[_0x9c0a8(0x1a2)]=_0x9c0a8(0x129),_0x2ce91d['nbnDs']='Puppeteer',_0x2ce91d[_0x9c0a8(0x1a1)]=_0x9c0a8(0x17d);const _0x28961b=_0x2ce91d,_0x327ac0=[_0x28961b['PhfCw'],_0x28961b[_0x9c0a8(0x1a2)],_0x28961b[_0x9c0a8(0x16e)],_0x28961b[_0x9c0a8(0x1a1)]],_0x3e22d5=_0x327ac0['find'](_0x15ce9c=>!!CodeceptJS['container'][_0x9c0a8(0x121)](_0x15ce9c));if(!_0x3e22d5)return null;return CodeceptJS[_0x9c0a8(0x154)][_0x9c0a8(0x121)](_0x3e22d5);};function a1_0x4ab5(){const _0x293190=['apply','constructor','afterTest','title','forEach','PpbcL','step-comment','ZfWzl','saveTestResults','test','emit','EIoXv','toISOString','info','Viinz','Screenshot\x20path\x20not\x20found','__driver','qowmJ','1722335HdKIin','fHUER','test-failed','getSyncScript','startMonitoring','stringify','4856830GRdFDb','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','base64','fAMKM','../../helpers/test-observability/utils','bs:addLog:','LsxIe','helpers','debug','BrXLz','hookType','pid','comment','action','cIgki','Playwright','__workerDetails','tkPZc','WebDriver','patchSaveScreenshot','command','917HVGxqG','add','kgEJa','ACJCE','name','TEST_RUN_FINISHED','readFileSync','env','SDK_HOOK','Zhozl','WzMDF','class','../../helpers/accessibility-automation/scripts','2847807vslfXl','getAccessibilityResults','browserContext','browserstack_executor:\x20','22188gpdBVE','captureError','../../bin/playwright/accessibility-helper','codeceptjs/lib/index.js','ZfltD','hook-passed','prototype','oxYIn','PERFORM_SCAN','after','TEST_LOG','call','../../helpers/performance/constants','ZFxAI','XAyZl','slice','skipSessionName','end','skipSessionStatus','Failed\x20to\x20execute\x20_before:\x20','container','getResultsSummary','SESSION_NAME','WeuOb','executeScript','bddStep-after','mkJWE','screenshotOutputFolder','HOOK_RUN_FINISHED','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','addRequestSpy','performScan','failed','browserStackExecuteDriver','then','HOOK_RUN_STARTED','SAVE_RESULTS','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','TEST_RUN_SKIPPED','arguments','MoHcp','VEjUg','SDK_PRE_TEST','hook','bddStep','contexts','nbnDs','312VGrYGZ','NUEMT','test-passed','exports','yNeBz','PjRto','EfMAP','ZZFbx','../../helpers/performance/performance-tester','warn','before','hook-started','saveScreenshot','measureWrapper','TestCafe','fireEvent','start','bddStepStart','stop','SDK_TEST','testAnalyticsId','lSObs','titlePath','toString','browser','reason','JfvnY','codeceptjs','ukqwf','skipped','GET_RESULTS_SUMMARY','enabled','filter','captureEvent','rKnch','overwriteCommand','getResults','../../helpers/globals.js','LcHbV','BPCSz','GET_RESULTS','setSessionStatus','passed','JeGOx','65YZrhtc','SDK_POST_TEST','restore','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','1610686UbKPUa','patch','PSZtF','UkNHC','jgjHN','format','tiRCh','step','util','IsmMO','winstonLogger','all','ORBuw','BROWSERSTACK_TESTHUB_JWT','ClKJx','KMBZK','SESSION_STATUS','shouldWrapCommand','TEST_RUN_STARTED','mYJIO','SYNC','uFkFW','__skipSessionStatus','initSaveScreenshot','EZHcs','bstackAllyScanning','ctx','test-after','fgHHm','commandsToWrap','stopMonitoring','thJwtToken','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','SDK_POST_INITIALIZE','dlEsw','kPouy','8EtSCTH','rjZHR','thBuildUuid','bddStep-before','test-before','browserstackTestName','loqUS','accessibilityPlatform','getAccessibilityResultsSummary','started','dispatcher','_before','SDK_PRE_INITIALIZE','BROWSERSTACK_TESTHUB_UUID','xUATT','14630NUsXew','9741wpjidL','nWRIr','event'];a1_0x4ab5=function(){return _0x293190;};return a1_0x4ab5();}module[a1_0x152121(0x172)]=function(_0x2e1caf){const _0xc62cc9=a1_0x152121,_0x13ca9e={'oxYIn':function(_0x1bff66){return _0x1bff66();},'kPouy':function(_0x873699,_0x506ad9){return _0x873699(_0x506ad9);},'rjZHR':'getAccessibilityResultsSummary','rKnch':_0xc62cc9(0x1bf),'Zhozl':_0xc62cc9(0x13d),'XAyZl':_0xc62cc9(0x11b),'WeuOb':_0xc62cc9(0x17a),'ORBuw':_0xc62cc9(0x145),'dlEsw':'hook-failed','nWRIr':_0xc62cc9(0x1c8),'PpbcL':_0xc62cc9(0x1c7),'ukqwf':function(_0xc9589e,_0x43817f,_0xb8b328){return _0xc9589e(_0x43817f,_0xb8b328);},'MoHcp':'test-started','mYJIO':_0xc62cc9(0x171),'wwfIB':function(_0x399ca8){return _0x399ca8();},'sDRLc':function(_0x375ad2,_0x3990b6,_0x5f3ae5,_0x2a5542){return _0x375ad2(_0x3990b6,_0x5f3ae5,_0x2a5542);},'SgQou':function(_0x2a4009,_0x47ad65){return _0x2a4009===_0x47ad65;},'yNeBz':'Suite','tkPZc':_0xc62cc9(0x116),'cIgki':'test-skipped','IsmMO':_0xc62cc9(0x1d8),'Vlqzm':function(_0x1fe633,_0x3d8559,_0x42b00c){return _0x1fe633(_0x3d8559,_0x42b00c);},'LcHbV':_0xc62cc9(0x15d),'KNYmf':_0xc62cc9(0x1ba),'AdHpT':'INFO','BrXLz':_0xc62cc9(0x14a),'PjRto':_0xc62cc9(0x1dc),'tiRCh':_0xc62cc9(0x1c6),'kgEJa':_0xc62cc9(0x159),'VEjUg':function(_0x44a82f){return _0x44a82f();},'qAlbu':'Playwright'};_0x2e1caf[_0xc62cc9(0x152)]&&(global[_0xc62cc9(0x1b5)]=_0x2e1caf[_0xc62cc9(0x152)]);PerformanceTester[_0xc62cc9(0x118)]();const _0x324e89=_0x13ca9e[_0xc62cc9(0x169)](getCodeceptDriver),_0x13dba3=new O11yHelper(_0x324e89,_0x2e1caf),_0x10b4f0=!!CodeceptJS['container'][_0xc62cc9(0x121)](_0x13ca9e['qAlbu']);global[_0xc62cc9(0x112)]=_0x324e89,_0x324e89&&(PerformanceTester[_0xc62cc9(0x17c)](PerformanceEvents[_0xc62cc9(0x1cf)],()=>{const _0x924ee1=_0xc62cc9;_0x10b4f0?_0x13ca9e[_0x924ee1(0x147)](patchPlaywrightBefore):_0x13ca9e[_0x924ee1(0x1c2)](patchWebDriverBefore,_0x324e89);})(),PerformanceTester[_0xc62cc9(0x17c)](PerformanceEvents[_0xc62cc9(0x1c0)],()=>{const _0x257647=_0xc62cc9,_0x5e93b4={};_0x5e93b4['loqUS']=_0x13ca9e[_0x257647(0x138)],_0x5e93b4[_0x257647(0x1dd)]=_0x13ca9e[_0x257647(0x14e)];const _0x1188cb=_0x5e93b4;_0x324e89[_0x257647(0x1cb)]=async()=>{const _0x413e60=_0x257647;if(global[_0x413e60(0x1ca)]){const _0x247322={};_0x247322[_0x413e60(0x12e)]=_0x13ca9e[_0x413e60(0x1c4)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x413e60(0x148)],async()=>{const _0xd10e00=_0x413e60;await AccessibilityHelper[_0xd10e00(0x161)](_0x324e89,scripts[_0xd10e00(0x15f)]);},_0x247322)(),await PerformanceTester[_0x413e60(0x17c)](PerformanceA11yEvents[_0x413e60(0x18d)],async()=>{const _0xdf4c92=_0x413e60;await AccessibilityHelper[_0xdf4c92(0x161)](_0x324e89,scripts[_0xdf4c92(0x155)]);})();}else return logger[_0x413e60(0x178)](_0x13ca9e[_0x413e60(0x191)]),{};},_0x324e89[_0x257647(0x13d)]=async()=>{const _0xb0124c=_0x257647;if(global[_0xb0124c(0x1ca)]){const _0x1410a3={};_0x1410a3[_0xb0124c(0x12e)]=_0x1188cb[_0xb0124c(0x1c9)],await PerformanceTester[_0xb0124c(0x17c)](PerformanceA11yEvents[_0xb0124c(0x148)],async()=>{const _0x44010f=_0xb0124c;await AccessibilityHelper[_0x44010f(0x161)](_0x324e89,scripts[_0x44010f(0x15f)]);},_0x1410a3)(),await PerformanceTester[_0xb0124c(0x17c)](PerformanceA11yEvents[_0xb0124c(0x197)],async()=>{const _0x4a685d=_0xb0124c;await AccessibilityHelper[_0x4a685d(0x161)](_0x324e89,scripts[_0x4a685d(0x193)]);})();}else return logger[_0xb0124c(0x178)](_0x1188cb[_0xb0124c(0x1dd)]),{};},_0x13ca9e[_0x257647(0x1c2)](patchSaveScreenshot,_0x324e89);})()),CodeceptJS[_0xc62cc9(0x1d5)][_0xc62cc9(0x1cd)]['on'](CodeceptJS[_0xc62cc9(0x1d5)][_0xc62cc9(0x1aa)]['before'],()=>{const _0x155b7f=_0xc62cc9;PerformanceTester['start'](PerformanceEvents[_0x155b7f(0x16a)]);try{_0x13dba3[_0x155b7f(0x17f)](),testOpsHelper[_0x155b7f(0x15e)](),PerformanceTester[_0x155b7f(0x151)](PerformanceEvents[_0x155b7f(0x16a)]);}catch(_0x3a3b95){PerformanceTester[_0x155b7f(0x141)](_0x3a3b95),PerformanceTester[_0x155b7f(0x151)](PerformanceEvents[_0x155b7f(0x16a)],![],_0x3a3b95);}}),CodeceptJS[_0xc62cc9(0x1d5)]['dispatcher']['on'](CodeceptJS[_0xc62cc9(0x1d5)][_0xc62cc9(0x1aa)][_0xc62cc9(0x149)],async()=>{const _0x512ec1=_0xc62cc9;PerformanceTester['start'](PerformanceEvents[_0x512ec1(0x19c)]);try{requestSpy[_0x512ec1(0x19d)](),await _0x13dba3[_0x512ec1(0x181)](),PerformanceTester[_0x512ec1(0x151)](PerformanceEvents[_0x512ec1(0x19c)]);}catch(_0x313627){PerformanceTester[_0x512ec1(0x141)](_0x313627),PerformanceTester[_0x512ec1(0x151)](PerformanceEvents[_0x512ec1(0x19c)],![],_0x313627);}finally{PerformanceTester[_0x512ec1(0x1bd)]();}}),CodeceptJS[_0xc62cc9(0x1d5)]['dispatcher']['on'](CodeceptJS['event'][_0xc62cc9(0x16b)][_0xc62cc9(0x1cc)],_0x54011e=>{const _0x505e57=_0xc62cc9;PerformanceTester[_0x505e57(0x17f)](PerformanceEvents[_0x505e57(0x137)]);try{const _0x35fab6=_0x54011e[_0x505e57(0x1b9)][_0x505e57(0x1df)],_0x103ea4=_0x13dba3['captureEvent'](TEST_EVENTS['HOOK_RUN_STARTED'],_0x35fab6);CodeceptRecorder[_0x505e57(0x130)](()=>_0x13dba3[_0x505e57(0x17e)](TEST_EVENTS[_0x505e57(0x163)],_0x103ea4));const _0x3e2527={};_0x3e2527['hookType']=_0x13ca9e[_0x505e57(0x157)],PerformanceTester[_0x505e57(0x151)](PerformanceEvents[_0x505e57(0x137)],!![],null,_0x3e2527);}catch(_0x18e6d4){const _0xb3c5c0={};_0xb3c5c0[_0x505e57(0x124)]=_0x13ca9e[_0x505e57(0x157)],PerformanceTester['end'](PerformanceEvents[_0x505e57(0x137)],![],_0x18e6d4,_0xb3c5c0),PerformanceTester['captureError'](_0x18e6d4);}}),CodeceptJS[_0xc62cc9(0x1d5)]['dispatcher']['on'](CodeceptJS[_0xc62cc9(0x1d5)][_0xc62cc9(0x16b)][_0xc62cc9(0x199)],_0x4c5c70=>{const _0xd9c363=_0xc62cc9,_0x539b46={};_0x539b46['hookType']=_0x13ca9e[_0xd9c363(0x1ab)],PerformanceTester[_0xd9c363(0x17f)](PerformanceHookEvents[_0xd9c363(0x137)],!![],null,_0x539b46);try{const _0x553115=_0x4c5c70['ctx'][_0xd9c363(0x1df)],_0x518047=_0x13dba3['captureEvent'](TEST_EVENTS[_0xd9c363(0x15c)],_0x553115);CodeceptRecorder[_0xd9c363(0x130)](()=>_0x13dba3[_0xd9c363(0x17e)](TEST_EVENTS[_0xd9c363(0x15c)],_0x518047));const _0x271eba={};_0x271eba['hookType']=_0x13ca9e[_0xd9c363(0x1ab)],PerformanceTester['end'](PerformanceHookEvents[_0xd9c363(0x137)],!![],null,_0x271eba);}catch(_0x31341e){PerformanceTester[_0xd9c363(0x141)](_0x31341e);const _0x21f98a={};_0x21f98a[_0xd9c363(0x124)]=_0x13ca9e[_0xd9c363(0x1ab)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x31341e,_0x21f98a);}}),CodeceptJS[_0xc62cc9(0x1d5)][_0xc62cc9(0x1cd)]['on'](CodeceptJS[_0xc62cc9(0x1d5)][_0xc62cc9(0x16b)][_0xc62cc9(0x160)],async(_0x58605e,_0x5cf027)=>{const _0x19a9de=_0xc62cc9;PerformanceTester[_0x19a9de(0x17f)](PerformanceHookEvents[_0x19a9de(0x137)]);try{const _0x1af1b2=_0x58605e[_0x19a9de(0x1b9)]['test'],_0xf4050a=_0x13dba3[_0x19a9de(0x190)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x1af1b2,_0x5cf027);CodeceptRecorder[_0x19a9de(0x130)](()=>_0x13dba3[_0x19a9de(0x17e)](TEST_EVENTS[_0x19a9de(0x15c)],_0xf4050a));const _0x2e4a98={};_0x2e4a98[_0x19a9de(0x124)]=_0x13ca9e['dlEsw'],PerformanceTester[_0x19a9de(0x17f)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x2e4a98);}catch(_0x1678f4){PerformanceTester[_0x19a9de(0x141)](_0x1678f4);const _0x5ceb97={};_0x5ceb97[_0x19a9de(0x124)]=_0x13ca9e[_0x19a9de(0x1c1)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x1678f4,_0x5ceb97);}const _0x4cbb6b={};_0x4cbb6b[_0x19a9de(0x124)]=_0x13ca9e[_0x19a9de(0x1c1)],PerformanceTester['end'](PerformanceHookEvents[_0x19a9de(0x137)],!![],null,_0x4cbb6b);}),CodeceptJS[_0xc62cc9(0x1d5)][_0xc62cc9(0x1cd)]['on'](CodeceptJS['event'][_0xc62cc9(0x1df)][_0xc62cc9(0x179)],_0xa6bf38=>{const _0x1e4c77=_0xc62cc9;PerformanceTester[_0x1e4c77(0x17f)](PerformanceHookEvents[_0x1e4c77(0x137)]);try{globals['setGlobal'](_0x13ca9e[_0x1e4c77(0x1d4)],_0xa6bf38['title']);_0x13ca9e[_0x1e4c77(0x147)](isBrowserstackInfra)&&(_0x10b4f0&&(global[_0x1e4c77(0x12a)]={'currentTest':{'name':_0xa6bf38[_0x1e4c77(0x1d9)],'testInfo':{'titlePath':_0xa6bf38[_0x1e4c77(0x185)]()}}}));const _0x54354c={};_0x54354c['hookType']=_0x13ca9e[_0x1e4c77(0x1db)],PerformanceTester['end'](PerformanceHookEvents[_0x1e4c77(0x137)],!![],null,_0x54354c);}catch(_0x43cb5e){PerformanceTester[_0x1e4c77(0x141)](_0x43cb5e);const _0x1a22ff={};_0x1a22ff[_0x1e4c77(0x124)]=_0x13ca9e[_0x1e4c77(0x1db)],PerformanceTester[_0x1e4c77(0x151)](PerformanceHookEvents[_0x1e4c77(0x137)],![],_0x43cb5e,_0x1a22ff);}}),CodeceptJS['event'][_0xc62cc9(0x1cd)]['on'](CodeceptJS['event'][_0xc62cc9(0x1df)][_0xc62cc9(0x1cc)],_0x403d07=>{const _0x4c63f3=_0xc62cc9,_0x4ea8c6={'KMBZK':function(_0x30db35){const _0x3230fe=a1_0xf92a;return _0x13ca9e[_0x3230fe(0x147)](_0x30db35);},'EfMAP':function(_0x5f06d4,_0x1d9bbb){const _0x452c4b=a1_0xf92a;return _0x13ca9e[_0x452c4b(0x1c2)](_0x5f06d4,_0x1d9bbb);},'lSObs':function(_0x54534e,_0x1dd6e5,_0x150c2d){const _0x4533c2=a1_0xf92a;return _0x13ca9e[_0x4533c2(0x18b)](_0x54534e,_0x1dd6e5,_0x150c2d);},'EZHcs':function(_0x46c15b,_0x26fd7b){const _0x180818=a1_0xf92a;return _0x13ca9e[_0x180818(0x1c2)](_0x46c15b,_0x26fd7b);}};PerformanceTester[_0x4c63f3(0x17f)](PerformanceHookEvents[_0x4c63f3(0x137)]);try{globals['setGlobal'](_0x13ca9e[_0x4c63f3(0x1d4)],_0x403d07[_0x4c63f3(0x1d9)]);const _0x3cf09b=_0x13dba3[_0x4c63f3(0x190)](TEST_EVENTS[_0x4c63f3(0x1b1)],_0x403d07);CodeceptRecorder[_0x4c63f3(0x130)](()=>_0x13dba3[_0x4c63f3(0x17e)](TEST_EVENTS[_0x4c63f3(0x1b1)],_0x3cf09b)),CodeceptRecorder[_0x4c63f3(0x130)](async()=>{const _0x7e8d65=_0x4c63f3;_0x4ea8c6[_0x7e8d65(0x1ae)](isBrowserstackInfra)&&(!_0x4ea8c6[_0x7e8d65(0x175)](isTrue,_0x2e1caf[_0x7e8d65(0x150)])&&await _0x4ea8c6[_0x7e8d65(0x184)](markSessionName,_0x324e89,_0x403d07[_0x7e8d65(0x1d9)]),_0x13dba3[_0x7e8d65(0x18e)]&&await _0x4ea8c6[_0x7e8d65(0x1b7)](o11ySync,_0x324e89));});}catch(_0x1aa24d){const _0x371c56={};_0x371c56[_0x4c63f3(0x124)]=_0x13ca9e[_0x4c63f3(0x168)],PerformanceTester['end'](PerformanceHookEvents[_0x4c63f3(0x137)],![],_0x1aa24d,_0x371c56),PerformanceTester[_0x4c63f3(0x141)](_0x1aa24d);}const _0x9a615={};_0x9a615[_0x4c63f3(0x124)]=_0x13ca9e[_0x4c63f3(0x168)],PerformanceTester['end'](PerformanceHookEvents[_0x4c63f3(0x137)],!![],null,_0x9a615);}),CodeceptJS[_0xc62cc9(0x1d5)]['dispatcher']['on'](CodeceptJS[_0xc62cc9(0x1d5)]['test'][_0xc62cc9(0x199)],_0x4a1489=>{const _0x5e7609=_0xc62cc9,_0x267c4c={'ClKJx':function(_0x1ed8e8,_0x4aa13e,_0x124a8f){const _0x296ea4=a1_0xf92a;return _0x13ca9e[_0x296ea4(0x18b)](_0x1ed8e8,_0x4aa13e,_0x124a8f);},'fAMKM':function(_0x52abd8,_0x187a94,_0x597207){return _0x13ca9e['ukqwf'](_0x52abd8,_0x187a94,_0x597207);}};PerformanceTester[_0x5e7609(0x17f)](PerformanceHookEvents[_0x5e7609(0x137)]);try{const _0x3fdaad=_0x13dba3[_0x5e7609(0x190)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x4a1489);CodeceptRecorder[_0x5e7609(0x130)](()=>_0x13dba3[_0x5e7609(0x17e)](TEST_EVENTS[_0x5e7609(0x134)],_0x3fdaad)),CodeceptRecorder[_0x5e7609(0x130)](async()=>{const _0x2d722b=_0x5e7609;_0x13ca9e['oxYIn'](isBrowserstackInfra)&&await PerformanceTester[_0x2d722b(0x17c)](PerformanceAutEvents[_0x2d722b(0x1af)],async()=>{const _0x38d534=_0x2d722b;_0x10b4f0?await _0x267c4c[_0x38d534(0x1ad)](playwrightMarkSessionStatus,_0x324e89,STATE_PASSED):await _0x267c4c[_0x38d534(0x11d)](markSessionStatus,_0x324e89,STATE_PASSED);})();}),PerformanceTester[_0x5e7609(0x151)](PerformanceEvents[_0x5e7609(0x182)]);}catch(_0x32d469){PerformanceTester[_0x5e7609(0x141)](_0x32d469);const _0x38db22={};_0x38db22[_0x5e7609(0x124)]=_0x13ca9e[_0x5e7609(0x1b2)],PerformanceTester[_0x5e7609(0x151)](PerformanceHookEvents['SDK_HOOK'],![],_0x32d469,_0x38db22),PerformanceTester[_0x5e7609(0x151)](PerformanceEvents['SDK_TEST'],![],_0x32d469);}const _0x1eba25={};_0x1eba25[_0x5e7609(0x124)]=_0x13ca9e[_0x5e7609(0x1b2)],PerformanceTester['end'](PerformanceHookEvents[_0x5e7609(0x137)],!![],null,_0x1eba25);}),CodeceptJS[_0xc62cc9(0x1d5)][_0xc62cc9(0x1cd)]['on'](CodeceptJS['event'][_0xc62cc9(0x1df)][_0xc62cc9(0x160)],(_0x32360b,_0x3d8636)=>{const _0x3b081e=_0xc62cc9,_0x419a6a={'qowmJ':function(_0x3476f6){return _0x13ca9e['wwfIB'](_0x3476f6);},'fHUER':function(_0x270d5c,_0x52da1a,_0x372333,_0x27d67f){return _0x13ca9e['sDRLc'](_0x270d5c,_0x52da1a,_0x372333,_0x27d67f);},'Viinz':function(_0x522c3f,_0x5193a8,_0x19c181,_0x10157d){return _0x13ca9e['sDRLc'](_0x522c3f,_0x5193a8,_0x19c181,_0x10157d);}};PerformanceTester[_0x3b081e(0x17f)](PerformanceHookEvents[_0x3b081e(0x137)]);try{if(_0x13ca9e['SgQou'](_0x32360b[_0x3b081e(0x1d7)][_0x3b081e(0x133)],_0x13ca9e[_0x3b081e(0x173)])){const _0x288a49=_0x13dba3[_0x3b081e(0x190)](TEST_EVENTS[_0x3b081e(0x166)],_0x32360b[_0x3b081e(0x1b9)]['currentTest']);CodeceptRecorder[_0x3b081e(0x130)](()=>_0x13dba3[_0x3b081e(0x17e)](TEST_EVENTS[_0x3b081e(0x166)],_0x288a49));}else{const _0x42cd19=_0x13dba3['captureEvent'](TEST_EVENTS['TEST_RUN_FINISHED'],_0x32360b,_0x3d8636);CodeceptRecorder[_0x3b081e(0x130)](()=>{const _0x4952cd=_0x3b081e;try{_0x13dba3[_0x4952cd(0x17e)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x42cd19);}catch(_0x1c602b){logger[_0x4952cd(0x122)]('Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20'+util[_0x4952cd(0x1a4)](_0x1c602b)),PerformanceTester[_0x4952cd(0x151)](PerformanceEvents[_0x4952cd(0x182)],![],_0x1c602b);}}),CodeceptRecorder[_0x3b081e(0x130)](async()=>{const _0x2d6e12=_0x3b081e;try{_0x419a6a[_0x2d6e12(0x113)](isBrowserstackInfra)&&(_0x10b4f0?await _0x419a6a[_0x2d6e12(0x115)](playwrightMarkSessionStatus,_0x324e89,STATE_FAILED,_0x3d8636):await _0x419a6a[_0x2d6e12(0x1e4)](markSessionStatus,_0x324e89,STATE_FAILED,_0x3d8636));}catch(_0x42b6ef){logger['debug'](_0x2d6e12(0x19e)+util[_0x2d6e12(0x1a4)](_0x42b6ef)),PerformanceTester[_0x2d6e12(0x151)](PerformanceEvents[_0x2d6e12(0x182)],![],_0x42b6ef);}});}PerformanceTester[_0x3b081e(0x151)](PerformanceEvents[_0x3b081e(0x182)]);}catch(_0x52495e){PerformanceTester[_0x3b081e(0x141)](_0x52495e);const _0xe1b5bf={};_0xe1b5bf[_0x3b081e(0x124)]=_0x13ca9e[_0x3b081e(0x12b)],PerformanceTester['end'](PerformanceHookEvents[_0x3b081e(0x137)],![],_0x52495e,_0xe1b5bf),PerformanceTester[_0x3b081e(0x151)](PerformanceEvents[_0x3b081e(0x182)],![],_0x52495e);}const _0x2d27b6={};_0x2d27b6[_0x3b081e(0x124)]=_0x13ca9e[_0x3b081e(0x12b)],PerformanceTester[_0x3b081e(0x151)](PerformanceHookEvents[_0x3b081e(0x137)],!![],null,_0x2d27b6);}),CodeceptJS['event'][_0xc62cc9(0x1cd)]['on'](CodeceptJS[_0xc62cc9(0x1d5)][_0xc62cc9(0x1df)][_0xc62cc9(0x18c)],_0x277f9a=>{const _0x4d1a16=_0xc62cc9;PerformanceTester[_0x4d1a16(0x17f)](PerformanceHookEvents[_0x4d1a16(0x137)]);try{const _0x4c4fea=_0x13dba3[_0x4d1a16(0x190)](TEST_EVENTS[_0x4d1a16(0x166)],_0x277f9a);CodeceptRecorder['add'](()=>_0x13dba3[_0x4d1a16(0x17e)](TEST_EVENTS[_0x4d1a16(0x166)],_0x4c4fea)),PerformanceTester[_0x4d1a16(0x151)](PerformanceEvents[_0x4d1a16(0x182)]);}catch(_0x16a28b){PerformanceTester[_0x4d1a16(0x141)](_0x16a28b),PerformanceTester[_0x4d1a16(0x151)](PerformanceEvents[_0x4d1a16(0x182)],![],_0x16a28b);const _0x30a79b={};_0x30a79b[_0x4d1a16(0x124)]=_0x13ca9e[_0x4d1a16(0x128)],PerformanceTester[_0x4d1a16(0x151)](PerformanceHookEvents[_0x4d1a16(0x137)],![],_0x16a28b,_0x30a79b);}const _0x37eea2={};_0x37eea2[_0x4d1a16(0x124)]=_0x13ca9e[_0x4d1a16(0x128)],PerformanceTester[_0x4d1a16(0x151)](PerformanceHookEvents[_0x4d1a16(0x137)],!![],null,_0x37eea2);}),CodeceptJS[_0xc62cc9(0x1d5)]['dispatcher']['on'](CodeceptJS[_0xc62cc9(0x1d5)][_0xc62cc9(0x1df)][_0xc62cc9(0x149)],async(_0x5e256d,_0x5f2402)=>{const _0x2299e8=_0xc62cc9,_0x3a3ff2={};_0x3a3ff2[_0x2299e8(0x196)]=_0x13ca9e[_0x2299e8(0x1a8)];const _0x16466e=_0x3a3ff2;try{PerformanceTester[_0x2299e8(0x17f)](PerformanceHookEvents[_0x2299e8(0x137)]);if(_0x13ca9e[_0x2299e8(0x147)](isBrowserstackInfra)){const _0x1b1289=_0x13ca9e['Vlqzm'](shouldScanTestForAccessibility,_0x5e256d[_0x2299e8(0x185)](),!![]);if(_0x13ca9e[_0x2299e8(0x147)](isAccessibilityAutomationSession)&&global['accessibilityPlatform']&&_0x1b1289){const _0x25e09f={};_0x25e09f['thTestRunUuid']=_0x5e256d[_0x2299e8(0x183)],_0x25e09f[_0x2299e8(0x1c5)]=process[_0x2299e8(0x136)][testHubConstants['ENV_VAR'][_0x2299e8(0x1d0)]],_0x25e09f[_0x2299e8(0x1be)]=process['env'][testHubConstants['ENV_VAR'][_0x2299e8(0x1ac)]];const _0x14fddc=_0x25e09f;logger[_0x2299e8(0x122)](_0x2299e8(0x165)+JSON[_0x2299e8(0x119)](_0x14fddc)),CodeceptRecorder['add'](async()=>{const _0x4b0096=_0x2299e8,_0x383450={};_0x383450[_0x4b0096(0x12e)]=_0x16466e[_0x4b0096(0x196)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x4b0096(0x148)],async()=>{const _0x5620fa=_0x4b0096;await AccessibilityHelper[_0x5620fa(0x161)](_0x324e89,scripts[_0x5620fa(0x15f)]);},_0x383450)(),await PerformanceTester[_0x4b0096(0x17c)](PerformanceA11yEvents[_0x4b0096(0x164)],async()=>{const _0x233b95=_0x4b0096;await AccessibilityHelper[_0x233b95(0x161)](_0x324e89,scripts[_0x233b95(0x1de)],_0x14fddc);})();}),logger[_0x2299e8(0x1e3)](_0x13ca9e[_0x2299e8(0x195)]);}}const _0x56baa5={};_0x56baa5[_0x2299e8(0x124)]=_0x13ca9e['KNYmf'],PerformanceTester[_0x2299e8(0x151)](PerformanceHookEvents[_0x2299e8(0x137)],!![],null,_0x56baa5);}catch(_0x2cd6fa){PerformanceTester[_0x2299e8(0x141)](_0x2cd6fa);const _0x316397={};_0x316397['hookType']=_0x13ca9e['KNYmf'],PerformanceTester[_0x2299e8(0x151)](PerformanceHookEvents[_0x2299e8(0x137)],![],_0x2cd6fa,_0x316397);}}),CodeceptJS[_0xc62cc9(0x1d5)][_0xc62cc9(0x1cd)]['on'](CodeceptJS[_0xc62cc9(0x1d5)][_0xc62cc9(0x1a6)][_0xc62cc9(0x126)],_0x25b351=>{const _0x347b20=_0xc62cc9;PerformanceTester['start'](PerformanceHookEvents[_0x347b20(0x137)]);try{process[_0x347b20(0x1e0)](_0x347b20(0x11f)+process[_0x347b20(0x125)],{'timestamp':new Date()[_0x347b20(0x1e2)](),'level':_0x13ca9e['AdHpT'],'message':_0x25b351,'kind':_0x13ca9e[_0x347b20(0x123)],'http_response':{}});}catch(_0x1c6757){PerformanceTester['captureError'](_0x1c6757);const _0x180c17={};_0x180c17[_0x347b20(0x124)]=_0x13ca9e[_0x347b20(0x174)],PerformanceTester[_0x347b20(0x151)](PerformanceHookEvents[_0x347b20(0x137)],![],_0x1c6757,_0x180c17);}const _0x3cedbf={};_0x3cedbf['hookType']=_0x13ca9e['PjRto'],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x3cedbf);}),CodeceptJS[_0xc62cc9(0x1d5)][_0xc62cc9(0x1cd)]['on'](CodeceptJS[_0xc62cc9(0x1d5)]['bddStep']['before'],_0x2bfe80=>{const _0x552ac4=_0xc62cc9,_0x5efa4e={};_0x5efa4e[_0x552ac4(0x124)]=_0x13ca9e[_0x552ac4(0x1a5)],PerformanceTester[_0x552ac4(0x17c)](PerformanceHookEvents[_0x552ac4(0x137)],()=>{const _0x2af31e=_0x552ac4;_0x13dba3[_0x2af31e(0x180)](_0x2bfe80);},_0x5efa4e)();}),CodeceptJS[_0xc62cc9(0x1d5)][_0xc62cc9(0x1cd)]['on'](CodeceptJS[_0xc62cc9(0x1d5)][_0xc62cc9(0x16c)][_0xc62cc9(0x149)],_0x4eb935=>{const _0x4fbe43=_0xc62cc9,_0x4253fc={};_0x4253fc['hookType']=_0x13ca9e[_0x4fbe43(0x131)],PerformanceTester['measureWrapper'](PerformanceHookEvents[_0x4fbe43(0x137)],()=>{_0x13dba3['bddStepFinish'](_0x4eb935);},_0x4253fc)();});};
|
|
1
|
+
const a1_0x48d734=a1_0x2a1d;(function(_0x3490d6,_0x2b630d){const _0x52094b=a1_0x2a1d,_0x2ce3b3=_0x3490d6();while(!![]){try{const _0x5950d7=parseInt(_0x52094b(0x169))/0x1*(-parseInt(_0x52094b(0x189))/0x2)+parseInt(_0x52094b(0x1a2))/0x3*(parseInt(_0x52094b(0x1d1))/0x4)+parseInt(_0x52094b(0x1c3))/0x5+parseInt(_0x52094b(0x1d5))/0x6+-parseInt(_0x52094b(0x176))/0x7+parseInt(_0x52094b(0x1ad))/0x8+parseInt(_0x52094b(0x21c))/0x9;if(_0x5950d7===_0x2b630d)break;else _0x2ce3b3['push'](_0x2ce3b3['shift']());}catch(_0x3ae2ca){_0x2ce3b3['push'](_0x2ce3b3['shift']());}}}(a1_0x2503,0xba703));const fs=require('fs'),util=require(a1_0x48d734(0x17c)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x48d734(0x1fa)),logger=require(a1_0x48d734(0x1bf))[a1_0x48d734(0x211)],testOpsHelper=require(a1_0x48d734(0x17f)),requestSpy=require(a1_0x48d734(0x1dd)),PlaywrightSessionDetails=require(a1_0x48d734(0x195)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require('./o11yHelper'),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x48d734(0x16f)),AccessibilityHelper=require(a1_0x48d734(0x227)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a1_0x48d734(0x214)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x48d734(0x171)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x48d734(0x200)),testHubConstants=require(a1_0x48d734(0x1e2)),globals=require('../../helpers/globals.js'),CodeceptJS=requireModule(a1_0x48d734(0x233),a1_0x48d734(0x1bd)),CodeceptUtils=requireModule(a1_0x48d734(0x1ec),a1_0x48d734(0x1bd)),CodeceptWebDriver=requireModule(a1_0x48d734(0x1ce),'codeceptjs'),CodeceptRecorder=requireModule(a1_0x48d734(0x22b),a1_0x48d734(0x1bd)),CodeceptPlaywright=requireModule(a1_0x48d734(0x1d9),a1_0x48d734(0x1bd)),playwrightMarkSessionStatus=(_0xc6e971,_0x27a193,_0x228213)=>{const _0x5bc72f=a1_0x48d734,_0x28008d={'ZCdfp':_0x5bc72f(0x197),'RkRmP':function(_0x247df2,_0x285c84){return _0x247df2(_0x285c84);}},_0x58199e={};_0x58199e[_0x5bc72f(0x228)]=_0x27a193;const _0x1b3971={};_0x1b3971['action']=_0x28008d[_0x5bc72f(0x22a)],_0x1b3971['arguments']=_0x58199e;const _0x493685=_0x1b3971;return!_0x28008d[_0x5bc72f(0x1a3)](isUndefined,_0x228213)&&(_0x493685[_0x5bc72f(0x19d)][_0x5bc72f(0x1b7)]=JSON[_0x5bc72f(0x229)](_0x228213)),_0xc6e971['executeScript'](()=>{},_0x5bc72f(0x1f4)+JSON[_0x5bc72f(0x229)](_0x493685));},o11ySync=PerformanceTester[a1_0x48d734(0x1bb)](PerformanceO11yEvents[a1_0x48d734(0x220)],async _0x45de06=>{const _0xccf379=a1_0x48d734,_0x40e015={};_0x40e015[_0xccf379(0x1ee)]=function(_0x50ac27,_0x27cd16){return _0x50ac27===_0x27cd16;},_0x40e015['xNPig']=_0xccf379(0x1b4);const _0x232164=_0x40e015;_0x232164[_0xccf379(0x1ee)](_0x45de06[_0xccf379(0x178)]['name'],_0x232164[_0xccf379(0x173)])?await _0x45de06['executeScript'](_0x51f8ed=>{},testOpsHelper[_0xccf379(0x205)]()):await _0x45de06[_0xccf379(0x16b)](testOpsHelper[_0xccf379(0x205)]());}),markSessionName=PerformanceTester[a1_0x48d734(0x1bb)](PerformanceAutEvents['SESSION_NAME'],async(_0x4eb0cb,_0x1a4279)=>{const _0x4b8ba5=a1_0x48d734,_0x1649d3={};_0x1649d3[_0x4b8ba5(0x1b5)]='setSessionName',_0x1649d3[_0x4b8ba5(0x188)]=function(_0x55b3d7,_0x401033){return _0x55b3d7===_0x401033;},_0x1649d3[_0x4b8ba5(0x175)]=_0x4b8ba5(0x1b4);const _0x568b01=_0x1649d3,_0x59d6bf={};_0x59d6bf['name']=_0x1a4279;const _0x33accc={};_0x33accc[_0x4b8ba5(0x198)]=_0x568b01[_0x4b8ba5(0x1b5)],_0x33accc[_0x4b8ba5(0x19d)]=_0x59d6bf;const _0x4dbc06=_0x33accc;_0x568b01['xUsMD'](_0x4eb0cb[_0x4b8ba5(0x178)][_0x4b8ba5(0x209)],_0x568b01[_0x4b8ba5(0x175)])?await _0x4eb0cb[_0x4b8ba5(0x16b)](()=>{},'browserstack_executor:\x20'+JSON['stringify'](_0x4dbc06)):await _0x4eb0cb[_0x4b8ba5(0x16b)](_0x4b8ba5(0x1f4)+JSON[_0x4b8ba5(0x229)](_0x4dbc06));}),patchSaveScreenshot=_0x3dda61=>{const _0x4990cc=a1_0x48d734,_0x153b52={'WKRci':_0x4990cc(0x160),'zxbGn':_0x4990cc(0x1e0),'ImQan':function(_0x267c7c){return _0x267c7c();},'hczcI':function(_0x597985,_0x5f3eb2){return _0x597985(_0x5f3eb2);},'PwXMy':_0x4990cc(0x1e7),'tBILl':function(_0x51a60c,_0x59a4e0){return _0x51a60c(_0x59a4e0);}};_0x153b52[_0x4990cc(0x21d)](isTrue,process['env']['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x3dda61['patchSaveScreenshot']&&(_0x3dda61[_0x4990cc(0x20e)]=!![],_0x3dda61[_0x4990cc(0x181)]=_0x3dda61[_0x4990cc(0x19f)],_0x3dda61[_0x4990cc(0x19f)]=(_0x3751ac,_0xbc4e07=![])=>{const _0x11889c=_0x4990cc,_0x2af719={'DmLMi':_0x153b52['WKRci'],'Zofkt':_0x153b52[_0x11889c(0x1a6)],'mEydT':function(_0x44b926){return _0x153b52['ImQan'](_0x44b926);},'HSgiX':function(_0x2d77d1,_0x1bd680){return _0x153b52['hczcI'](_0x2d77d1,_0x1bd680);},'TLVdn':_0x153b52['PwXMy']};return new Promise(function(_0x159f67,_0x3344f2){const _0x1d5a00=_0x11889c;_0x3dda61[_0x1d5a00(0x181)](_0x3751ac,_0xbc4e07)[_0x1d5a00(0x1cb)](()=>{const _0x1dfb4b=_0x1d5a00,_0x32f7c8=CodeceptUtils[_0x1dfb4b(0x1ef)](_0x3751ac);if(_0x32f7c8){const _0x4e9cbd=fs[_0x1dfb4b(0x1ba)](_0x32f7c8);process[_0x1dfb4b(0x1cc)](_0x1dfb4b(0x1ae)+process[_0x1dfb4b(0x185)],{'timestamp':new Date()[_0x1dfb4b(0x22e)](),'message':_0x4e9cbd['toString'](_0x2af719['DmLMi']),'kind':_0x2af719['Zofkt']}),_0x2af719['mEydT'](_0x159f67);}_0x2af719[_0x1dfb4b(0x1f6)](_0x3344f2,new Error(_0x2af719[_0x1dfb4b(0x1f5)]));})[_0x1d5a00(0x21f)](()=>null);});});},patchWebDriverBefore=_0x2818c2=>{const _0x4d5512=a1_0x48d734,_0x46f150={'BPreV':function(_0x56cf64){return _0x56cf64();},'WYvmI':function(_0x3c3148,_0x1579ec){return _0x3c3148(_0x1579ec);},'vvrED':function(_0x17721e,_0x4556c2){return _0x17721e===_0x4556c2;},'QyuiA':'Element','KTflb':function(_0x20de64,_0x36c047){return _0x20de64(_0x36c047);}},_0x300ddc=async function(_0x2f6afc,_0x3256cf){const _0x35d25f=a1_0x2a1d;return _0x46f150[_0x35d25f(0x21b)](isAccessibilityAutomationSession)&&!global['bstackAllyScanning']&&global['accessibilityPlatform']&&scripts[_0x35d25f(0x221)](_0x2f6afc[_0x35d25f(0x209)])&&_0x46f150['WYvmI'](shouldPatchExecuteScript,arguments[0x2])&&(global['bstackAllyScanning']=!![],await PerformanceTester[_0x35d25f(0x1bb)](PerformanceA11yEvents[_0x35d25f(0x19e)],async()=>{const _0x2da6da=_0x35d25f;logger['debug'](_0x2da6da(0x186)+_0x2f6afc[_0x2da6da(0x174)]+'\x20'+_0x2f6afc[_0x2da6da(0x209)]),await AccessibilityHelper[_0x2da6da(0x1c9)](_0x2818c2,scripts[_0x2da6da(0x208)]);},{'command':_0x2f6afc['name']})()),global[_0x35d25f(0x1b8)]=![],_0x3256cf[_0x35d25f(0x206)](this,Array[_0x35d25f(0x161)][_0x35d25f(0x1a4)]['call'](arguments,0x2));},_0x3ce50a=CodeceptWebDriver[_0x4d5512(0x161)][_0x4d5512(0x218)];CodeceptWebDriver[_0x4d5512(0x161)][_0x4d5512(0x218)]=async function(){const _0x23640d=_0x4d5512,_0x13259b={'NaVkU':function(_0x209641,_0x283615){return _0x46f150['vvrED'](_0x209641,_0x283615);},'yPJuI':_0x46f150[_0x23640d(0x226)]};try{await _0x3ce50a[_0x23640d(0x206)](this,arguments);}catch(_0x5715f0){logger[_0x23640d(0x193)]('Failed\x20to\x20execute\x20_before:\x20'+util['format'](_0x5715f0));}scripts[_0x23640d(0x1e8)]['filter'](_0x351361=>_0x351361[_0x23640d(0x209)]&&_0x351361[_0x23640d(0x174)])[_0x23640d(0x222)](_0x27f966=>{const _0x1ec2d8=_0x23640d;this[_0x1ec2d8(0x1d0)][_0x1ec2d8(0x1fd)](_0x27f966['name'],_0x300ddc[_0x1ec2d8(0x19a)](this,_0x27f966),_0x13259b['NaVkU'](_0x27f966['class'],_0x13259b['yPJuI']));}),_0x46f150[_0x23640d(0x179)](processWebDriverConfig,_0x2818c2);};},patchPlaywrightBefore=()=>{const _0x10e060=a1_0x48d734;PlaywrightSessionDetails[_0x10e060(0x1c6)]();const _0x5d6f84=CodeceptPlaywright[_0x10e060(0x161)][_0x10e060(0x218)];CodeceptPlaywright[_0x10e060(0x161)][_0x10e060(0x218)]=async function(){const _0x4601d5=_0x10e060;this[_0x4601d5(0x172)]=await this[_0x4601d5(0x1d0)][_0x4601d5(0x207)]()[0x0],await _0x5d6f84[_0x4601d5(0x206)](this,arguments);};},getCodeceptDriver=()=>{const _0x13cfe8=a1_0x48d734,_0xc9b9ca={};_0xc9b9ca[_0x13cfe8(0x1f0)]=_0x13cfe8(0x1c2),_0xc9b9ca[_0x13cfe8(0x164)]=_0x13cfe8(0x1b4),_0xc9b9ca[_0x13cfe8(0x162)]=_0x13cfe8(0x1bc),_0xc9b9ca[_0x13cfe8(0x212)]=_0x13cfe8(0x1a9);const _0x5629ec=_0xc9b9ca,_0x1a859d=[_0x5629ec[_0x13cfe8(0x1f0)],_0x5629ec[_0x13cfe8(0x164)],_0x5629ec[_0x13cfe8(0x162)],_0x5629ec['WALPd']],_0xa0dc1e=_0x1a859d['find'](_0x133efa=>!!CodeceptJS[_0x13cfe8(0x1fc)][_0x13cfe8(0x1a7)](_0x133efa));if(!_0xa0dc1e)return null;return CodeceptJS[_0x13cfe8(0x1fc)][_0x13cfe8(0x1a7)](_0xa0dc1e);};function a1_0x2a1d(_0x5abd01,_0x5b572e){const _0x2503f8=a1_0x2503();return a1_0x2a1d=function(_0x2a1d7a,_0x580d1e){_0x2a1d7a=_0x2a1d7a-0x15c;let _0x44cf1a=_0x2503f8[_0x2a1d7a];return _0x44cf1a;},a1_0x2a1d(_0x5abd01,_0x5b572e);}function a1_0x2503(){const _0x587207=['shouldWrapCommand','forEach','sWEWd','TEST_RUN_SKIPPED','xdwqm','QyuiA','../../bin/playwright/accessibility-helper','status','stringify','ZCdfp','codeceptjs/lib/recorder.js','add','afterTest','toISOString','SDK_HOOK','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','fiseV','FsTJV','codeceptjs/lib/index.js','titlePath','accessibilityPlatform','stopMonitoring','startMonitoring','base64','prototype','pAXHu','woEgQ','isUjc','comment','test-started','TEST_LOG','info','11RGIhFa','skipped','executeScript','BZEql','format','failed','../../helpers/accessibility-automation/helper','testAnalyticsId','../../helpers/performance/constants','browserContext','xNPig','class','LZEyv','6769651NvVLUk','dispatcher','constructor','KTflb','getResults','browserstackTestName','util','ctx','SAVE_RESULTS','../../helpers/test-observability/utils','GET_RESULTS_SUMMARY','initSaveScreenshot','GET_RESULTS','rrmpG','FWwqt','pid','Performing\x20scan\x20for\x20','hYtto','xUsMD','260838CeUrKS','captureError','YLMeO','getAccessibilityResults','thJwtToken','skipSessionStatus','restore','hrYUl','hook-passed','LeEAX','debug','ZQnEZ','../../bin/playwright/sessionDetails','bddStepStart','setSessionStatus','action','addRequestSpy','bind','SDK_TEST','SDK_POST_TEST','arguments','PERFORM_SCAN','saveScreenshot','SESSION_STATUS','FCZHd','21780iOoVxX','RkRmP','slice','dKMcM','zxbGn','helpers','step','TestCafe','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','IqUZy','WjkpO','1254576XhGdcm','bs:addLog:','end','warn','Ftztn','HOOK_RUN_STARTED','ENV_VAR','Playwright','MZqWK','CunDp','reason','bstackAllyScanning','getResultsSummary','readFileSync','measureWrapper','Puppeteer','codeceptjs','command','../../helpers/logger','SDK_POST_INITIALIZE','after','WebDriver','7555570MUGnvS','title','start','patch','bDrWA','jdlVU','browserStackExecuteDriver','test-skipped','then','emit','saveTestResults','codeceptjs/lib/helper/WebDriver.js','passed','browser','244nnpsmC','event','started','RJgho','3893904ycLBnm','all','SDK_PRE_INITIALIZE','iBflQ','codeceptjs/lib/helper/Playwright.js','before','hookType','bddStep-after','../../helpers/request-spy','__driver','JwGAE','TEST_SCREENSHOT','TEST_RUN_FINISHED','../../helpers/testhub/constants.js','DipQZ','enabled','YqPkG','getAccessibilityResultsSummary','Screenshot\x20path\x20not\x20found','commandsToWrap','bddStep-before','hook-failed','thBuildUuid','codeceptjs/lib/utils.js','step-comment','AIemF','screenshotOutputFolder','yelVT','thTestRunUuid','hook','BROWSERSTACK_TESTHUB_JWT','browserstack_executor:\x20','TLVdn','HSgiX','SDK_PRE_TEST','wmskn','skipSessionName','../../helpers/helper','yEqUJ','container','overwriteCommand','PavbX','QoYTU','./helper.js','fireEvent','TEST_RUN_STARTED','test','test-failed','getSyncScript','apply','contexts','performScan','name','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','HOOK_RUN_FINISHED','Nreud','captureEvent','patchSaveScreenshot','setGlobal','hook-started','winstonLogger','WALPd','stop','../../helpers/performance/performance-tester','BROWSERSTACK_TESTHUB_UUID','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','sBXZR','_before','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','test-passed','BPreV','3650157KdDJur','tBILl','REbGl','catch','SYNC'];a1_0x2503=function(){return _0x587207;};return a1_0x2503();}module['exports']=function(_0x5793e1){const _0x2c2fcc=a1_0x48d734,_0x913174={'hrYUl':function(_0x3c9667){return _0x3c9667();},'YLMeO':function(_0x5c09fb,_0x372dbd){return _0x5c09fb(_0x372dbd);},'uRqNd':_0x2c2fcc(0x1e6),'LeEAX':_0x2c2fcc(0x230),'BZEql':_0x2c2fcc(0x18c),'iCMMN':_0x2c2fcc(0x216),'YIbIA':_0x2c2fcc(0x210),'sBXZR':_0x2c2fcc(0x191),'PavbX':_0x2c2fcc(0x1ea),'fiseV':_0x2c2fcc(0x17b),'JwGAE':function(_0x33e9ec){return _0x33e9ec();},'YqPkG':'test-before','REbGl':function(_0x96dd9e,_0x56e6d5){return _0x96dd9e(_0x56e6d5);},'QoYTU':function(_0x4d111b,_0x3c02bb,_0x1d0108){return _0x4d111b(_0x3c02bb,_0x1d0108);},'ZQnEZ':_0x2c2fcc(0x166),'CunDp':_0x2c2fcc(0x21a),'FsTJV':function(_0x4abb9f){return _0x4abb9f();},'iBflQ':function(_0x373ef4,_0x51fb67,_0x1c82d3,_0x1a35b2){return _0x373ef4(_0x51fb67,_0x1c82d3,_0x1a35b2);},'DipQZ':function(_0x3a4f5b,_0x583396){return _0x3a4f5b===_0x583396;},'FCZHd':'Suite','rrmpG':_0x2c2fcc(0x204),'RJgho':_0x2c2fcc(0x1ca),'Nreud':_0x2c2fcc(0x22d),'jdlVU':function(_0x3b5bb1){return _0x3b5bb1();},'bDrWA':function(_0x248c5e,_0x1f4abe,_0x400a0b){return _0x248c5e(_0x1f4abe,_0x400a0b);},'jbCBr':function(_0x578569){return _0x578569();},'tXEPn':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','SBkZL':'test-after','FWwqt':'INFO','PiaCF':_0x2c2fcc(0x167),'dKMcM':_0x2c2fcc(0x1ed),'hYtto':_0x2c2fcc(0x1e9),'woEgQ':_0x2c2fcc(0x1dc),'yEqUJ':function(_0x35277e){return _0x35277e();},'IqUZy':_0x2c2fcc(0x1b4)};_0x5793e1[_0x2c2fcc(0x18e)]&&(global['__skipSessionStatus']=_0x5793e1[_0x2c2fcc(0x18e)]);PerformanceTester[_0x2c2fcc(0x15f)]();const _0x1538b5=_0x913174[_0x2c2fcc(0x1fb)](getCodeceptDriver),_0x5056b2=new O11yHelper(_0x1538b5,_0x5793e1),_0x4cfe14=!!CodeceptJS[_0x2c2fcc(0x1fc)][_0x2c2fcc(0x1a7)](_0x913174[_0x2c2fcc(0x1ab)]);global[_0x2c2fcc(0x1de)]=_0x1538b5,_0x1538b5&&(PerformanceTester[_0x2c2fcc(0x1bb)](PerformanceEvents[_0x2c2fcc(0x1d7)],()=>{const _0x343bf5=_0x2c2fcc;_0x4cfe14?_0x913174[_0x343bf5(0x190)](patchPlaywrightBefore):_0x913174[_0x343bf5(0x18b)](patchWebDriverBefore,_0x1538b5);})(),PerformanceTester['measureWrapper'](PerformanceEvents[_0x2c2fcc(0x1c0)],()=>{const _0x4ca187=_0x2c2fcc;_0x1538b5[_0x4ca187(0x1e6)]=async()=>{const _0x4ce0b8=_0x4ca187;if(global[_0x4ce0b8(0x15d)]){const _0x57100d={};_0x57100d[_0x4ce0b8(0x1be)]=_0x913174['uRqNd'],await PerformanceTester[_0x4ce0b8(0x1bb)](PerformanceA11yEvents[_0x4ce0b8(0x19e)],async()=>{const _0x1ffedb=_0x4ce0b8;await AccessibilityHelper[_0x1ffedb(0x1c9)](_0x1538b5,scripts[_0x1ffedb(0x208)]);},_0x57100d)(),await PerformanceTester[_0x4ce0b8(0x1bb)](PerformanceA11yEvents[_0x4ce0b8(0x180)],async()=>{const _0x5073c6=_0x4ce0b8;await AccessibilityHelper['browserStackExecuteDriver'](_0x1538b5,scripts[_0x5073c6(0x1b9)]);})();}else return logger[_0x4ce0b8(0x1b0)](_0x913174[_0x4ce0b8(0x192)]),{};},_0x1538b5[_0x4ca187(0x18c)]=async()=>{const _0x126b1d=_0x4ca187;if(global[_0x126b1d(0x15d)]){const _0x283e1e={};_0x283e1e[_0x126b1d(0x1be)]=_0x913174[_0x126b1d(0x16c)],await PerformanceTester[_0x126b1d(0x1bb)](PerformanceA11yEvents[_0x126b1d(0x19e)],async()=>{const _0x4e6f97=_0x126b1d;await AccessibilityHelper[_0x4e6f97(0x1c9)](_0x1538b5,scripts[_0x4e6f97(0x208)]);},_0x283e1e)(),await PerformanceTester[_0x126b1d(0x1bb)](PerformanceA11yEvents[_0x126b1d(0x182)],async()=>{const _0x86c212=_0x126b1d;await AccessibilityHelper[_0x86c212(0x1c9)](_0x1538b5,scripts[_0x86c212(0x17a)]);})();}else return logger[_0x126b1d(0x1b0)](_0x913174['iCMMN']),{};},_0x913174[_0x4ca187(0x18b)](patchSaveScreenshot,_0x1538b5);})()),CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x177)]['on'](CodeceptJS[_0x2c2fcc(0x1d2)]['all'][_0x2c2fcc(0x1da)],()=>{const _0x63e23f=_0x2c2fcc;PerformanceTester['start'](PerformanceEvents[_0x63e23f(0x1f7)]);try{_0x5056b2['start'](),testOpsHelper[_0x63e23f(0x199)](),PerformanceTester[_0x63e23f(0x1af)](PerformanceEvents[_0x63e23f(0x1f7)]);}catch(_0x4ece15){PerformanceTester[_0x63e23f(0x18a)](_0x4ece15),PerformanceTester['end'](PerformanceEvents['SDK_PRE_TEST'],![],_0x4ece15);}}),CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x177)]['on'](CodeceptJS['event'][_0x2c2fcc(0x1d6)][_0x2c2fcc(0x1c1)],async()=>{const _0x3817b8=_0x2c2fcc;PerformanceTester[_0x3817b8(0x1c5)](PerformanceEvents[_0x3817b8(0x19c)]);try{requestSpy[_0x3817b8(0x18f)](),await _0x5056b2[_0x3817b8(0x213)](),PerformanceTester[_0x3817b8(0x1af)](PerformanceEvents[_0x3817b8(0x19c)]);}catch(_0xdd9469){PerformanceTester[_0x3817b8(0x18a)](_0xdd9469),PerformanceTester[_0x3817b8(0x1af)](PerformanceEvents['SDK_POST_TEST'],![],_0xdd9469);}finally{PerformanceTester[_0x3817b8(0x15e)]();}}),CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x177)]['on'](CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x1f2)][_0x2c2fcc(0x1d3)],_0x3ae6ea=>{const _0x3afb5c=_0x2c2fcc;PerformanceTester[_0x3afb5c(0x1c5)](PerformanceEvents[_0x3afb5c(0x22f)]);try{const _0x4657ab=_0x3ae6ea[_0x3afb5c(0x17d)][_0x3afb5c(0x203)],_0x2cfacc=_0x5056b2[_0x3afb5c(0x20d)](TEST_EVENTS[_0x3afb5c(0x1b2)],_0x4657ab);CodeceptRecorder[_0x3afb5c(0x22c)](()=>_0x5056b2['fireEvent'](TEST_EVENTS[_0x3afb5c(0x1b2)],_0x2cfacc));const _0x2e8339={};_0x2e8339[_0x3afb5c(0x1db)]=_0x913174['YIbIA'],PerformanceTester[_0x3afb5c(0x1af)](PerformanceEvents[_0x3afb5c(0x22f)],!![],null,_0x2e8339);}catch(_0x5d987f){const _0x2acb2b={};_0x2acb2b[_0x3afb5c(0x1db)]=_0x913174['YIbIA'],PerformanceTester[_0x3afb5c(0x1af)](PerformanceEvents[_0x3afb5c(0x22f)],![],_0x5d987f,_0x2acb2b),PerformanceTester[_0x3afb5c(0x18a)](_0x5d987f);}}),CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x177)]['on'](CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x1f2)][_0x2c2fcc(0x1cf)],_0x23244c=>{const _0x2c8189=_0x2c2fcc,_0x126dd2={};_0x126dd2['hookType']=_0x913174[_0x2c8189(0x217)],PerformanceTester[_0x2c8189(0x1c5)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x126dd2);try{const _0x7c327d=_0x23244c['ctx'][_0x2c8189(0x203)],_0x30fe64=_0x5056b2[_0x2c8189(0x20d)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x7c327d);CodeceptRecorder[_0x2c8189(0x22c)](()=>_0x5056b2[_0x2c8189(0x201)](TEST_EVENTS[_0x2c8189(0x20b)],_0x30fe64));const _0x32af61={};_0x32af61[_0x2c8189(0x1db)]=_0x913174[_0x2c8189(0x217)],PerformanceTester[_0x2c8189(0x1af)](PerformanceHookEvents[_0x2c8189(0x22f)],!![],null,_0x32af61);}catch(_0x21f38d){PerformanceTester[_0x2c8189(0x18a)](_0x21f38d);const _0x3c84d8={};_0x3c84d8[_0x2c8189(0x1db)]=_0x913174['sBXZR'],PerformanceTester['end'](PerformanceHookEvents[_0x2c8189(0x22f)],![],_0x21f38d,_0x3c84d8);}}),CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x177)]['on'](CodeceptJS[_0x2c2fcc(0x1d2)]['hook'][_0x2c2fcc(0x16e)],async(_0x57eb75,_0x57b655)=>{const _0x70eccc=_0x2c2fcc;PerformanceTester[_0x70eccc(0x1c5)](PerformanceHookEvents['SDK_HOOK']);try{const _0xf52300=_0x57eb75[_0x70eccc(0x17d)][_0x70eccc(0x203)],_0x25d0e7=_0x5056b2[_0x70eccc(0x20d)](TEST_EVENTS[_0x70eccc(0x20b)],_0xf52300,_0x57b655);CodeceptRecorder[_0x70eccc(0x22c)](()=>_0x5056b2[_0x70eccc(0x201)](TEST_EVENTS[_0x70eccc(0x20b)],_0x25d0e7));const _0x5d5d65={};_0x5d5d65[_0x70eccc(0x1db)]=_0x913174[_0x70eccc(0x1fe)],PerformanceTester[_0x70eccc(0x1c5)](PerformanceHookEvents[_0x70eccc(0x22f)],!![],null,_0x5d5d65);}catch(_0x188f4f){PerformanceTester[_0x70eccc(0x18a)](_0x188f4f);const _0x20e383={};_0x20e383[_0x70eccc(0x1db)]=_0x913174['PavbX'],PerformanceTester[_0x70eccc(0x1af)](PerformanceHookEvents[_0x70eccc(0x22f)],![],_0x188f4f,_0x20e383);}const _0x1348f4={};_0x1348f4[_0x70eccc(0x1db)]=_0x913174[_0x70eccc(0x1fe)],PerformanceTester[_0x70eccc(0x1af)](PerformanceHookEvents[_0x70eccc(0x22f)],!![],null,_0x1348f4);}),CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x177)]['on'](CodeceptJS['event'][_0x2c2fcc(0x203)][_0x2c2fcc(0x1da)],_0x42a81a=>{const _0x32c715=_0x2c2fcc;PerformanceTester[_0x32c715(0x1c5)](PerformanceHookEvents['SDK_HOOK']);try{globals[_0x32c715(0x20f)](_0x913174[_0x32c715(0x231)],_0x42a81a[_0x32c715(0x1c4)]);_0x913174[_0x32c715(0x1df)](isBrowserstackInfra)&&(_0x4cfe14&&(global['__workerDetails']={'currentTest':{'name':_0x42a81a[_0x32c715(0x1c4)],'testInfo':{'titlePath':_0x42a81a[_0x32c715(0x15c)]()}}}));const _0x2bcf13={};_0x2bcf13[_0x32c715(0x1db)]=_0x913174[_0x32c715(0x1e5)],PerformanceTester[_0x32c715(0x1af)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x2bcf13);}catch(_0x4cbd87){PerformanceTester['captureError'](_0x4cbd87);const _0x4e077c={};_0x4e077c[_0x32c715(0x1db)]=_0x913174[_0x32c715(0x1e5)],PerformanceTester[_0x32c715(0x1af)](PerformanceHookEvents[_0x32c715(0x22f)],![],_0x4cbd87,_0x4e077c);}}),CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x177)]['on'](CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x203)][_0x2c2fcc(0x1d3)],_0x367856=>{const _0x130f5b=_0x2c2fcc,_0x44a502={'wmskn':function(_0x38db33){const _0x26202b=a1_0x2a1d;return _0x913174[_0x26202b(0x1df)](_0x38db33);},'WjkpO':function(_0x75496b,_0x30322b){const _0x4fc716=a1_0x2a1d;return _0x913174[_0x4fc716(0x21e)](_0x75496b,_0x30322b);},'xdwqm':function(_0x348b58,_0x2368ae,_0x1ccd40){const _0x5f1171=a1_0x2a1d;return _0x913174[_0x5f1171(0x1ff)](_0x348b58,_0x2368ae,_0x1ccd40);}};PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{globals[_0x130f5b(0x20f)](_0x913174[_0x130f5b(0x231)],_0x367856[_0x130f5b(0x1c4)]);const _0x33bfae=_0x5056b2[_0x130f5b(0x20d)](TEST_EVENTS['TEST_RUN_STARTED'],_0x367856);CodeceptRecorder[_0x130f5b(0x22c)](()=>_0x5056b2['fireEvent'](TEST_EVENTS[_0x130f5b(0x202)],_0x33bfae)),CodeceptRecorder[_0x130f5b(0x22c)](async()=>{const _0x3e648b=_0x130f5b;_0x44a502[_0x3e648b(0x1f8)](isBrowserstackInfra)&&(!_0x44a502[_0x3e648b(0x1ac)](isTrue,_0x5793e1[_0x3e648b(0x1f9)])&&await _0x44a502[_0x3e648b(0x225)](markSessionName,_0x1538b5,_0x367856['title']),_0x5056b2[_0x3e648b(0x1e4)]&&await _0x44a502[_0x3e648b(0x1ac)](o11ySync,_0x1538b5));});}catch(_0x2561fd){const _0x10e3b={};_0x10e3b[_0x130f5b(0x1db)]=_0x913174[_0x130f5b(0x194)],PerformanceTester['end'](PerformanceHookEvents[_0x130f5b(0x22f)],![],_0x2561fd,_0x10e3b),PerformanceTester[_0x130f5b(0x18a)](_0x2561fd);}const _0xe1bfcf={};_0xe1bfcf['hookType']=_0x913174[_0x130f5b(0x194)],PerformanceTester[_0x130f5b(0x1af)](PerformanceHookEvents[_0x130f5b(0x22f)],!![],null,_0xe1bfcf);}),CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x177)]['on'](CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x203)][_0x2c2fcc(0x1cf)],_0x4105ee=>{const _0x6da0c9=_0x2c2fcc,_0x34c25d={'sWEWd':function(_0x15031d,_0x6deb7c,_0x325d46){const _0x437877=a1_0x2a1d;return _0x913174[_0x437877(0x1ff)](_0x15031d,_0x6deb7c,_0x325d46);}};PerformanceTester[_0x6da0c9(0x1c5)](PerformanceHookEvents['SDK_HOOK']);try{const _0x295d45=_0x5056b2[_0x6da0c9(0x20d)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x4105ee);CodeceptRecorder[_0x6da0c9(0x22c)](()=>_0x5056b2[_0x6da0c9(0x201)](TEST_EVENTS[_0x6da0c9(0x1e1)],_0x295d45)),CodeceptRecorder['add'](async()=>{const _0x194c33=_0x6da0c9;_0x913174[_0x194c33(0x190)](isBrowserstackInfra)&&await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x194c33(0x1a0)],async()=>{const _0x542250=_0x194c33;_0x4cfe14?await _0x34c25d[_0x542250(0x223)](playwrightMarkSessionStatus,_0x1538b5,STATE_PASSED):await _0x34c25d[_0x542250(0x223)](markSessionStatus,_0x1538b5,STATE_PASSED);})();}),PerformanceTester[_0x6da0c9(0x1af)](PerformanceEvents[_0x6da0c9(0x19b)]);}catch(_0x37c87a){PerformanceTester[_0x6da0c9(0x18a)](_0x37c87a);const _0x4fdece={};_0x4fdece[_0x6da0c9(0x1db)]=_0x913174[_0x6da0c9(0x1b6)],PerformanceTester[_0x6da0c9(0x1af)](PerformanceHookEvents[_0x6da0c9(0x22f)],![],_0x37c87a,_0x4fdece),PerformanceTester[_0x6da0c9(0x1af)](PerformanceEvents[_0x6da0c9(0x19b)],![],_0x37c87a);}const _0x211d6e={};_0x211d6e[_0x6da0c9(0x1db)]=_0x913174[_0x6da0c9(0x1b6)],PerformanceTester[_0x6da0c9(0x1af)](PerformanceHookEvents[_0x6da0c9(0x22f)],!![],null,_0x211d6e);}),CodeceptJS[_0x2c2fcc(0x1d2)]['dispatcher']['on'](CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x203)][_0x2c2fcc(0x16e)],(_0x1b4e7e,_0x3eba51)=>{const _0x395399=_0x2c2fcc;PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{if(_0x913174[_0x395399(0x1e3)](_0x1b4e7e[_0x395399(0x178)][_0x395399(0x209)],_0x913174[_0x395399(0x1a1)])){const _0x502f64=_0x5056b2[_0x395399(0x20d)](TEST_EVENTS[_0x395399(0x224)],_0x1b4e7e[_0x395399(0x17d)]['currentTest']);CodeceptRecorder[_0x395399(0x22c)](()=>_0x5056b2[_0x395399(0x201)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x502f64));}else{const _0x4d8297=_0x5056b2[_0x395399(0x20d)](TEST_EVENTS[_0x395399(0x1e1)],_0x1b4e7e,_0x3eba51);CodeceptRecorder['add'](()=>{const _0x3c8e98=_0x395399;try{_0x5056b2['fireEvent'](TEST_EVENTS[_0x3c8e98(0x1e1)],_0x4d8297);}catch(_0x31f738){logger[_0x3c8e98(0x193)](_0x3c8e98(0x20a)+util['format'](_0x31f738)),PerformanceTester[_0x3c8e98(0x1af)](PerformanceEvents[_0x3c8e98(0x19b)],![],_0x31f738);}}),CodeceptRecorder[_0x395399(0x22c)](async()=>{const _0x1a1854=_0x395399;try{_0x913174[_0x1a1854(0x232)](isBrowserstackInfra)&&(_0x4cfe14?await _0x913174['iBflQ'](playwrightMarkSessionStatus,_0x1538b5,STATE_FAILED,_0x3eba51):await _0x913174[_0x1a1854(0x1d8)](markSessionStatus,_0x1538b5,STATE_FAILED,_0x3eba51));}catch(_0x394abb){logger['debug'](_0x1a1854(0x219)+util[_0x1a1854(0x16d)](_0x394abb)),PerformanceTester[_0x1a1854(0x1af)](PerformanceEvents[_0x1a1854(0x19b)],![],_0x394abb);}});}PerformanceTester[_0x395399(0x1af)](PerformanceEvents[_0x395399(0x19b)]);}catch(_0x2ee8e8){PerformanceTester['captureError'](_0x2ee8e8);const _0x3094b8={};_0x3094b8[_0x395399(0x1db)]=_0x913174[_0x395399(0x183)],PerformanceTester[_0x395399(0x1af)](PerformanceHookEvents['SDK_HOOK'],![],_0x2ee8e8,_0x3094b8),PerformanceTester[_0x395399(0x1af)](PerformanceEvents['SDK_TEST'],![],_0x2ee8e8);}const _0x43ee3e={};_0x43ee3e['hookType']=_0x913174['rrmpG'],PerformanceTester[_0x395399(0x1af)](PerformanceHookEvents[_0x395399(0x22f)],!![],null,_0x43ee3e);}),CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x177)]['on'](CodeceptJS['event'][_0x2c2fcc(0x203)][_0x2c2fcc(0x16a)],_0x164277=>{const _0xefd1da=_0x2c2fcc;PerformanceTester[_0xefd1da(0x1c5)](PerformanceHookEvents[_0xefd1da(0x22f)]);try{const _0x329147=_0x5056b2[_0xefd1da(0x20d)](TEST_EVENTS[_0xefd1da(0x224)],_0x164277);CodeceptRecorder[_0xefd1da(0x22c)](()=>_0x5056b2[_0xefd1da(0x201)](TEST_EVENTS[_0xefd1da(0x224)],_0x329147)),PerformanceTester[_0xefd1da(0x1af)](PerformanceEvents['SDK_TEST']);}catch(_0x200eb6){PerformanceTester[_0xefd1da(0x18a)](_0x200eb6),PerformanceTester['end'](PerformanceEvents['SDK_TEST'],![],_0x200eb6);const _0x1d7fe4={};_0x1d7fe4['hookType']=_0x913174[_0xefd1da(0x1d4)],PerformanceTester[_0xefd1da(0x1af)](PerformanceHookEvents[_0xefd1da(0x22f)],![],_0x200eb6,_0x1d7fe4);}const _0x390c79={};_0x390c79[_0xefd1da(0x1db)]=_0x913174[_0xefd1da(0x1d4)],PerformanceTester[_0xefd1da(0x1af)](PerformanceHookEvents[_0xefd1da(0x22f)],!![],null,_0x390c79);}),CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x177)]['on'](CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x203)][_0x2c2fcc(0x1c1)],async(_0x2ebb18,_0x2ce497)=>{const _0x191d55=_0x2c2fcc,_0x294174={};_0x294174[_0x191d55(0x1b1)]=_0x913174[_0x191d55(0x20c)];const _0x34fbc1=_0x294174;try{PerformanceTester[_0x191d55(0x1c5)](PerformanceHookEvents['SDK_HOOK']);if(_0x913174[_0x191d55(0x1c8)](isBrowserstackInfra)){const _0x2485d4=_0x913174[_0x191d55(0x1c7)](shouldScanTestForAccessibility,_0x2ebb18[_0x191d55(0x15c)](),!![]);if(_0x913174['jbCBr'](isAccessibilityAutomationSession)&&global[_0x191d55(0x15d)]&&_0x2485d4){const _0x185612={};_0x185612[_0x191d55(0x1f1)]=_0x2ebb18[_0x191d55(0x170)],_0x185612[_0x191d55(0x1eb)]=process['env'][testHubConstants[_0x191d55(0x1b3)][_0x191d55(0x215)]],_0x185612[_0x191d55(0x18d)]=process['env'][testHubConstants['ENV_VAR'][_0x191d55(0x1f3)]];const _0x116294=_0x185612;logger[_0x191d55(0x193)](_0x191d55(0x1aa)+JSON[_0x191d55(0x229)](_0x116294)),CodeceptRecorder['add'](async()=>{const _0x262fc3=_0x191d55,_0x12dad9={};_0x12dad9[_0x262fc3(0x1be)]=_0x34fbc1['Ftztn'],await PerformanceTester[_0x262fc3(0x1bb)](PerformanceA11yEvents[_0x262fc3(0x19e)],async()=>{const _0x47d75f=_0x262fc3;await AccessibilityHelper[_0x47d75f(0x1c9)](_0x1538b5,scripts[_0x47d75f(0x208)]);},_0x12dad9)(),await PerformanceTester[_0x262fc3(0x1bb)](PerformanceA11yEvents[_0x262fc3(0x17e)],async()=>{const _0x136e09=_0x262fc3;await AccessibilityHelper[_0x136e09(0x1c9)](_0x1538b5,scripts[_0x136e09(0x1cd)],_0x116294);})();}),logger[_0x191d55(0x168)](_0x913174['tXEPn']);}}const _0x24bc00={};_0x24bc00[_0x191d55(0x1db)]=_0x913174['SBkZL'],PerformanceTester['end'](PerformanceHookEvents[_0x191d55(0x22f)],!![],null,_0x24bc00);}catch(_0x5847da){PerformanceTester[_0x191d55(0x18a)](_0x5847da);const _0x1864aa={};_0x1864aa[_0x191d55(0x1db)]=_0x913174['SBkZL'],PerformanceTester[_0x191d55(0x1af)](PerformanceHookEvents[_0x191d55(0x22f)],![],_0x5847da,_0x1864aa);}}),CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x177)]['on'](CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x1a8)][_0x2c2fcc(0x165)],_0x19457a=>{const _0x12b3fc=_0x2c2fcc;PerformanceTester[_0x12b3fc(0x1c5)](PerformanceHookEvents['SDK_HOOK']);try{process[_0x12b3fc(0x1cc)](_0x12b3fc(0x1ae)+process['pid'],{'timestamp':new Date()[_0x12b3fc(0x22e)](),'level':_0x913174[_0x12b3fc(0x184)],'message':_0x19457a,'kind':_0x913174['PiaCF'],'http_response':{}});}catch(_0x3539d6){PerformanceTester['captureError'](_0x3539d6);const _0x3da04a={};_0x3da04a['hookType']=_0x913174[_0x12b3fc(0x1a5)],PerformanceTester['end'](PerformanceHookEvents[_0x12b3fc(0x22f)],![],_0x3539d6,_0x3da04a);}const _0x7c2c8f={};_0x7c2c8f[_0x12b3fc(0x1db)]=_0x913174[_0x12b3fc(0x1a5)],PerformanceTester[_0x12b3fc(0x1af)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x7c2c8f);}),CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x177)]['on'](CodeceptJS[_0x2c2fcc(0x1d2)]['bddStep'][_0x2c2fcc(0x1da)],_0x449756=>{const _0xe1ff66=_0x2c2fcc,_0x517815={};_0x517815[_0xe1ff66(0x1db)]=_0x913174[_0xe1ff66(0x187)],PerformanceTester['measureWrapper'](PerformanceHookEvents[_0xe1ff66(0x22f)],()=>{const _0x553f05=_0xe1ff66;_0x5056b2[_0x553f05(0x196)](_0x449756);},_0x517815)();}),CodeceptJS[_0x2c2fcc(0x1d2)]['dispatcher']['on'](CodeceptJS[_0x2c2fcc(0x1d2)]['bddStep'][_0x2c2fcc(0x1c1)],_0x19550a=>{const _0x3c8a14=_0x2c2fcc,_0x251bed={};_0x251bed['hookType']=_0x913174[_0x3c8a14(0x163)],PerformanceTester['measureWrapper'](PerformanceHookEvents[_0x3c8a14(0x22f)],()=>{_0x5056b2['bddStepFinish'](_0x19550a);},_0x251bed)();});};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a2_0x43f0e5=a2_0x462d;(function(_0x3f9d5b,_0x27fa6a){const _0x5f652a=a2_0x462d,_0x33b0cd=_0x3f9d5b();while(!![]){try{const _0x2fd9ab=parseInt(_0x5f652a(0x164))/0x1+parseInt(_0x5f652a(0x183))/0x2+parseInt(_0x5f652a(0x147))/0x3*(parseInt(_0x5f652a(0x15d))/0x4)+-parseInt(_0x5f652a(0x15b))/0x5*(-parseInt(_0x5f652a(0x13b))/0x6)+-parseInt(_0x5f652a(0x1b1))/0x7*(-parseInt(_0x5f652a(0x1a6))/0x8)+parseInt(_0x5f652a(0x1c3))/0x9+-parseInt(_0x5f652a(0x182))/0xa*(parseInt(_0x5f652a(0x1b5))/0xb);if(_0x2fd9ab===_0x27fa6a)break;else _0x33b0cd['push'](_0x33b0cd['shift']());}catch(_0xceff1c){_0x33b0cd['push'](_0x33b0cd['shift']());}}}(a2_0x4af2,0x8d667));function a2_0x4af2(){const _0xaf38ce=['config','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','dirname','accessibility','toLowerCase','BrowserStackPlugin','xjdSa','chrome','bdIId','passed','stringify','../../helpers/helper','profile','testObservability','finalExecution','Playwright','YxGgD','spawn','UsEjo','168vWHhas','setAdditionalCapabilities','browserName','printBuildLink','enabled','BROWSERSTACK_RERUN','JjhVb','isEmpty','CODECEPT_CUCUMBER','XvlWj','Started\x20:\x20','29316sswZZi','prepareCapabilities','join','event','6028781AjMLln','start','handleApp','stack','browser','getPlaywrightUrl','chdir','gherkin','BROWSERSTACK_TEST_OBSERVABILITY_YML','plugins','testContextOptions','playwright-firefox','skipSessionStatus','accessibilityOptions','2138589dfbIEc','desiredCapabilities','result','getUserWorkerCount','addTests','helpers','codeceptjs','validateRerunTestList','initialize','984486pudIUr','before','BROWSERSTACK_RERUN_TESTS','now','cwd','format','log','CYdFR','../../helpers/utilities','test','BrowserStackPlugin.js','cVtDS','198663mEivZO','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','CODECEPT','yKJab','gGJmA','browserStackCwd','chromium','sQgqI','dvrSr','map','../../helpers/BrowserStackSetup','err','ImYsI','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','browserWSEndpoint','util','isTestObservabilitySession','trim','mergeDeep','failed','30XXfOYx','codecept.json','52NRoOxp','info','skipSessionName','../../helpers/accessibility-automation/helper','Vufog','require','bootstrapAll','477604tHCexf','codecept.conf.js','USER_CONFIG_DETAILS_PATH','--config','testConfig','findIndex','createGroupsOfSuites','../utils/constants','end','webkit','AzvYJ','FRAMEWORKS','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','qOtIi','length','JpvwR','vOCfF','root','../../bin/playwright/accessibility-helper','teardownAll','slice','split','rwabM','EVENTS','FrexC','Workers','launchBuild','platforms','title','isTrue','50SlYdUp','1341996GZzpmZ','firefox','debug','errorMessage','codeceptjs/lib/index.js','../../helpers/performance/performance-tester','push','isUndefined','Failed\x20:\x20','stop','env','addOptions','forEach','existsSync','../../helpers/test-observability/utils','UUgbo'];a2_0x4af2=function(){return _0xaf38ce;};return a2_0x4af2();}const fs=require('fs'),path=require('path'),util=require(a2_0x43f0e5(0x156)),process=require('process'),logger=require('../../helpers/logger')['winstonLogger'],{default:BrowserStackSetup}=require(a2_0x43f0e5(0x151)),helper=require(a2_0x43f0e5(0x19e)),utilities=require(a2_0x43f0e5(0x143)),{checkAccessibilityPlatformConfig}=require(a2_0x43f0e5(0x160)),{setAccessibilityCapabilities}=require(a2_0x43f0e5(0x176)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x43f0e5(0x19e)),CodeceptJS=requireModule(a2_0x43f0e5(0x187),a2_0x43f0e5(0x138)),testOpsHelper=require(a2_0x43f0e5(0x191)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),constants=require(a2_0x43f0e5(0x16b)),PerformanceTester=require(a2_0x43f0e5(0x188)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),PerformanceEvents=require('../../helpers/performance/constants')[a2_0x43f0e5(0x17b)],_testErrorData=[],getUserCodeceptJSConfigs=(_0x304c9a,_0x4cfee2)=>{const _0x79c323=a2_0x43f0e5,_0x37ab36={};_0x37ab36[_0x79c323(0x14a)]=function(_0x337dff,_0x402386){return _0x337dff===_0x402386;},_0x37ab36['JpvwR']=_0x79c323(0x165),_0x37ab36[_0x79c323(0x14b)]=_0x79c323(0x15c);const _0x4a22e1=_0x37ab36;let _0x313536=null;const _0x556c12={};let _0x13804a=_0x4cfee2[_0x79c323(0x169)](_0x2f56ed=>_0x2f56ed===_0x79c323(0x167));_0x4a22e1[_0x79c323(0x14a)](_0x13804a,-0x1)&&(_0x13804a=_0x4cfee2[_0x79c323(0x169)](_0x44d018=>_0x44d018==='-c'));if(!helper[_0x79c323(0x18a)](_0x304c9a[_0x79c323(0x193)])&&fs[_0x79c323(0x190)](path[_0x79c323(0x1b3)](process['cwd'](),_0x304c9a[_0x79c323(0x193)])))_0x313536=path['join'](process[_0x79c323(0x13f)](),_0x304c9a[_0x79c323(0x193)]),_0x4cfee2[_0x79c323(0x178)](_0x13804a,0x2);else{if(!helper[_0x79c323(0x18a)](_0x304c9a['c'])&&fs[_0x79c323(0x190)](path['join'](process[_0x79c323(0x13f)](),_0x304c9a['c'])))_0x313536=path[_0x79c323(0x1b3)](process['cwd'](),_0x304c9a['c']),_0x4cfee2[_0x79c323(0x178)](_0x13804a,0x2);else{if(fs['existsSync'](path['join'](process[_0x79c323(0x13f)](),_0x4a22e1[_0x79c323(0x173)])))_0x313536=path['join'](process['cwd'](),_0x4a22e1['JpvwR']);else fs[_0x79c323(0x190)](path[_0x79c323(0x1b3)](process[_0x79c323(0x13f)](),_0x4a22e1[_0x79c323(0x14b)]))&&(_0x313536=path[_0x79c323(0x1b3)](process['cwd'](),_0x4a22e1[_0x79c323(0x14b)]));}}return process['env'][_0x79c323(0x166)]=_0x313536,_0x313536;},getO11yRerunPattern=()=>{const _0x402dea=a2_0x43f0e5,_0x1f15f1=helper[_0x402dea(0x181)](process[_0x402dea(0x18d)][_0x402dea(0x1ab)]);if(_0x1f15f1){const _0x30d826=process[_0x402dea(0x18d)][_0x402dea(0x13d)],_0x2880c9=[];if(helper[_0x402dea(0x139)](_0x30d826)&&!helper[_0x402dea(0x18a)](_0x30d826)){_0x30d826[_0x402dea(0x179)](',')[_0x402dea(0x150)](_0x524f8f=>{const _0x40eb13=_0x402dea;_0x2880c9[_0x40eb13(0x189)]('('+_0x524f8f[_0x40eb13(0x158)]()+')');});const _0x21678d='^'+_0x2880c9[_0x402dea(0x1b3)]('|')+'$';return _0x21678d;}}return null;},a2_0xd1cd80={};a2_0xd1cd80[a2_0x43f0e5(0x19a)]=a2_0x43f0e5(0x14d),a2_0xd1cd80['playwright-chromium']=a2_0x43f0e5(0x14d),a2_0xd1cd80[a2_0x43f0e5(0x1c0)]=a2_0x43f0e5(0x184),a2_0xd1cd80['playwright-webkit']=a2_0x43f0e5(0x16d);const pwToCodeceptBrowser=a2_0xd1cd80;async function run(_0x4a1bde,_0x2e3334,_0x45e2d6){const _0x51a5a4=a2_0x43f0e5,_0x2dedb7={'CYdFR':function(_0x3a10aa,_0x2b097d){return _0x3a10aa+_0x2b097d;},'FrexC':function(_0x1358e9,_0x4719b9){return _0x1358e9(_0x4719b9);},'sQgqI':function(_0x25541b,_0x6cbdd0,_0x536785){return _0x25541b(_0x6cbdd0,_0x536785);},'AzvYJ':_0x51a5a4(0x137),'dvrSr':function(_0x4d8cf6){return _0x4d8cf6();},'JjhVb':function(_0x4db70a){return _0x4db70a();},'Btuwu':_0x51a5a4(0x18b),'ilYPM':'Passed\x20:\x20','vOCfF':_0x51a5a4(0x1b0),'ImYsI':'2|3|0|5|4|1','bdIId':_0x51a5a4(0x154),'UsEjo':function(_0x152763,_0x1c1d2b,_0x4de657){return _0x152763(_0x1c1d2b,_0x4de657);},'YxGgD':_0x51a5a4(0x1a2),'XvlWj':'WebDriver','UUgbo':function(_0x21da2f,_0x3a7037){return _0x21da2f!=_0x3a7037;},'qOtIi':function(_0x1e58de,_0x577281){return _0x1e58de===_0x577281;},'NmZhx':_0x51a5a4(0x1bc),'tuZOg':function(_0x1d639f,_0x219de7){return _0x1d639f(_0x219de7);},'rwabM':function(_0x2af328,_0x3adba4){return _0x2af328*_0x3adba4;},'GbyPI':'browser','Vufog':function(_0x2a6c9d,_0x4a7ea1,_0x5e6a86){return _0x2a6c9d(_0x4a7ea1,_0x5e6a86);},'xjdSa':_0x51a5a4(0x1c4),'ZqMTk':_0x51a5a4(0x175),'ukEHY':_0x51a5a4(0x145),'cVtDS':_0x51a5a4(0x14c)};await _0x45e2d6[_0x51a5a4(0x13a)](_0x4a1bde),await helper[_0x51a5a4(0x1b7)](_0x45e2d6[_0x51a5a4(0x193)]);if(!_0x45e2d6[_0x51a5a4(0x193)])return;process[_0x51a5a4(0x19f)]=_0x4a1bde[_0x51a5a4(0x19f)];_0x4a1bde['profile']&&(process[_0x51a5a4(0x18d)]['profile']=_0x4a1bde['profile']);const _0x238ff0=_0x2dedb7[_0x51a5a4(0x14e)](getUserCodeceptJSConfigs,_0x4a1bde,_0x2e3334);let _0x5c9c6a={};_0x238ff0?(logger[_0x51a5a4(0x15e)](_0x51a5a4(0x148)+_0x238ff0),_0x5c9c6a=CodeceptJS[_0x51a5a4(0x193)]['load'](_0x238ff0)):logger[_0x51a5a4(0x15e)](_0x2dedb7[_0x51a5a4(0x19b)]);let _0xebf593=![];_0x2dedb7[_0x51a5a4(0x1a5)](nestedKeyValue,_0x5c9c6a,[_0x2dedb7[_0x51a5a4(0x16e)],_0x2dedb7[_0x51a5a4(0x1a3)]])&&(_0xebf593=!![]);const _0x1dfe79=_0xebf593?_0x2dedb7[_0x51a5a4(0x1a3)]:_0x2dedb7[_0x51a5a4(0x1af)];let _0x1d08ee=!_0xebf593?helper['useW3C'](_0x45e2d6[_0x51a5a4(0x193)]):![];!helper[_0x51a5a4(0x18a)](_0x45e2d6['config'][_0x51a5a4(0x1c2)])&&(process[_0x51a5a4(0x18d)][_0x51a5a4(0x170)]=JSON['stringify'](_0x45e2d6[_0x51a5a4(0x193)][_0x51a5a4(0x1c2)]));let _0x4c3e1b=_0x45e2d6[_0x51a5a4(0x193)][_0x51a5a4(0x196)];_0x4c3e1b=_0x4c3e1b||_0x2dedb7[_0x51a5a4(0x17c)](checkAccessibilityPlatformConfig,_0x45e2d6[_0x51a5a4(0x193)]),process[_0x51a5a4(0x18d)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x4c3e1b;_0x4c3e1b&&(_0x1d08ee=!_0x4c3e1b);_0x2dedb7[_0x51a5a4(0x192)](_0x45e2d6[_0x51a5a4(0x193)][_0x51a5a4(0x1a0)],null)?process[_0x51a5a4(0x18d)][_0x51a5a4(0x1bd)]=_0x45e2d6[_0x51a5a4(0x193)]['testObservability']:process[_0x51a5a4(0x18d)][_0x51a5a4(0x1bd)]=_0x2dedb7[_0x51a5a4(0x171)](_0x1dfe79,_0x2dedb7[_0x51a5a4(0x1a3)]);const _0x4348bd=_0x2dedb7[_0x51a5a4(0x14e)](nestedKeyValue,_0x5c9c6a,[_0x2dedb7['NmZhx']]),_0x5edb38=_0x4348bd&&!helper[_0x51a5a4(0x1ad)](_0x4348bd)?FRAMEWORKS[_0x51a5a4(0x1ae)]:FRAMEWORKS[_0x51a5a4(0x149)],_0x3a8432=await TestHubHandler[_0x51a5a4(0x17e)](_0x5edb38,_0x45e2d6);_0x4c3e1b&&_0x2dedb7['tuZOg'](setAccessibilityCapabilities,_0x45e2d6[_0x51a5a4(0x193)]);const _0x1947f0={},_0x47ddcc=[],_0x20351d=_0x45e2d6[_0x51a5a4(0x193)]['parallelsPerPlatform']||helper[_0x51a5a4(0x135)](_0x4a1bde,_0x2e3334,_0x45e2d6[_0x51a5a4(0x193)],constants[_0x51a5a4(0x16f)][_0x51a5a4(0x149)])||0x1;let _0x36f794=0x1;if(_0x2dedb7[_0x51a5a4(0x1ac)](isBrowserstackInfra)){const _0x4e6b3d=helper['prepareCapabilities'](_0x45e2d6[_0x51a5a4(0x193)],_0x1d08ee,constants['FRAMEWORKS'][_0x51a5a4(0x149)]);_0x4e6b3d[_0x51a5a4(0x18f)](_0x24c795=>{const _0x3c7710=_0x51a5a4;helper[_0x3c7710(0x1a7)](_0x24c795);}),helper['validPlatformsPresent'](_0x45e2d6[_0x51a5a4(0x193)])?_0x36f794=_0x2dedb7[_0x51a5a4(0x17a)](_0x20351d,_0x45e2d6[_0x51a5a4(0x193)][_0x51a5a4(0x17f)][_0x51a5a4(0x172)]):_0x36f794=_0x20351d,_0x4e6b3d[_0x51a5a4(0x18f)](_0x308686=>{const _0xbf657b=_0x51a5a4,_0x5628bd=_0x2dedb7[_0xbf657b(0x142)](helper['getPlatformName'](_0x308686,'_'),'_'+Date[_0xbf657b(0x13e)]()),_0x290e8b=((()=>{const _0x3fe4e6=_0xbf657b;if(_0xebf593){const _0x1a3bb8=pwToCodeceptBrowser[_0x308686[_0x3fe4e6(0x1a8)]]||_0x308686['browserName'];return{'browser':_0x1a3bb8,[_0x1a3bb8]:{'browserWSEndpoint':_0x2dedb7[_0x3fe4e6(0x142)](helper[_0x3fe4e6(0x1ba)](_0x45e2d6['config']),_0x2dedb7['FrexC'](encodeURIComponent,JSON[_0x3fe4e6(0x19d)](_0x308686)))}};}const _0xc9957e={};return _0xc9957e[_0x3fe4e6(0x1c4)]=_0x308686,_0xc9957e;})()),_0x124c84=_0x2dedb7[_0xbf657b(0x14e)](nestedKeyValue,_0x5c9c6a,[_0x2dedb7['AzvYJ'],_0x1dfe79]);_0x1947f0[_0x5628bd]=_0x124c84?helper[_0xbf657b(0x159)](_0x290e8b,_0x124c84):_0x290e8b,!_0xebf593&&(_0x1947f0[_0x5628bd][_0xbf657b(0x1b9)]=_0x308686[_0xbf657b(0x1a8)]||_0x290e8b[_0xbf657b(0x1b9)]),_0x47ddcc['push'](_0x5628bd);});}else{_0x36f794=0x1;if(_0xebf593){const _0x54dd9e=_0x2dedb7['sQgqI'](nestedKeyValue,_0x5c9c6a,[_0x2dedb7['AzvYJ'],_0x1dfe79,_0x2dedb7['GbyPI']]),_0x309d4a=_0x2dedb7[_0x51a5a4(0x161)](nestedKeyValue,_0x5c9c6a,[_0x2dedb7[_0x51a5a4(0x16e)],_0x1dfe79,_0x54dd9e]);_0x309d4a&&_0x309d4a[_0x51a5a4(0x155)]&&(_0x309d4a['browserWSEndpoint']=helper[_0x51a5a4(0x1b2)](null,null,_0x5edb38[_0x51a5a4(0x197)](),null,null,_0x309d4a['browserWSEndpoint']));}else _0x5c9c6a[_0x2dedb7['AzvYJ']][_0x1dfe79][_0x2dedb7[_0x51a5a4(0x199)]]=helper[_0x51a5a4(0x1b2)](null,null,_0x5edb38[_0x51a5a4(0x197)](),_0x2dedb7[_0x51a5a4(0x161)](nestedKeyValue,_0x5c9c6a,[_0x2dedb7[_0x51a5a4(0x16e)],_0x1dfe79,_0x2dedb7['xjdSa']]),null,null);_0x1947f0[_0x2dedb7['ZqMTk']]=_0x5c9c6a,_0x47ddcc['push'](_0x2dedb7['ZqMTk']);}const _0x3f8b9f={};_0x3f8b9f[_0x51a5a4(0x168)]=_0x238ff0;const _0x420025=_0x3f8b9f,_0x20905d=path[_0x51a5a4(0x1b3)](__dirname,_0x2dedb7['ukEHY']),_0x4bb1f8=process[_0x51a5a4(0x13f)]();process[_0x51a5a4(0x18d)][_0x2dedb7[_0x51a5a4(0x146)]]=_0x4bb1f8,process[_0x51a5a4(0x1bb)](path[_0x51a5a4(0x195)](_0x238ff0));const _0x59759f=new CodeceptJS[(_0x51a5a4(0x17d))](null,_0x420025),_0x4959e0=_0x59759f[_0x51a5a4(0x16a)](_0x36f794),_0x1a6636=testOpsHelper[_0x51a5a4(0x157)](),_0x1ff047=_0x47ddcc[_0x51a5a4(0x150)](_0x121bb0=>{const _0x335412=_0x51a5a4,_0x1e165a={};_0x1e165a[_0x335412(0x1a2)]=_0x1947f0[_0x121bb0];const _0x4a32b2={};_0x4a32b2['WebDriver']=_0x1947f0[_0x121bb0];const _0x1780ae=_0xebf593?_0x1e165a:_0x4a32b2,_0xdaaccb=_0x2dedb7[_0x335412(0x14f)](getO11yRerunPattern),_0x28505d={};_0x28505d[_0x335412(0x137)]=_0x1780ae;const _0x4731bc={};_0x4731bc[_0x335412(0x162)]=_0x20905d,_0x4731bc[_0x335412(0x1aa)]=!![],_0x4731bc[_0x335412(0x15f)]=_0x45e2d6[_0x335412(0x193)][_0x335412(0x1bf)][_0x335412(0x15f)],_0x4731bc[_0x335412(0x1c1)]=_0x45e2d6[_0x335412(0x193)][_0x335412(0x1bf)][_0x335412(0x1c1)],_0x4731bc[_0x335412(0x1a0)]=_0x1a6636,_0x4731bc['frameworkName']=_0x5edb38;const _0x28124d={};_0x28124d[_0x335412(0x198)]=_0x4731bc;const _0x4ed7ac={};return _0x4ed7ac[_0x335412(0x1be)]=_0x28124d,helper['mergeDeep']({},_0x5c9c6a,_0x2dedb7[_0x335412(0x1ac)](isBrowserstackInfra)?_0x28505d:{},_0xdaaccb?{'grep':_0xdaaccb}:{},_0x4ed7ac);});for(const _0x46fd3f of _0x1ff047){for(const _0x41f22b of _0x4959e0){const _0x2b59d6=_0x59759f[_0x51a5a4(0x1a4)]();_0x2b59d6[_0x51a5a4(0x136)](_0x41f22b),_0x2b59d6['addConfig'](_0x46fd3f);const _0x79fab3={};_0x79fab3[_0x51a5a4(0x193)]=_0x238ff0,_0x2b59d6[_0x51a5a4(0x18e)](_0x79fab3);}}_0x59759f['on'](CodeceptJS[_0x51a5a4(0x1b4)][_0x51a5a4(0x144)][_0x51a5a4(0x15a)],(_0xf5cb66,_0x5c3e47)=>{const _0xeda7f7=_0x51a5a4;console[_0xeda7f7(0x141)](_0x2dedb7['Btuwu'],_0xf5cb66['title']);const _0xff5d08={[_0xf5cb66['title']]:_0xf5cb66[_0xeda7f7(0x152)][_0xeda7f7(0x1b8)]};_testErrorData[_0xeda7f7(0x189)](_0xff5d08);}),_0x59759f['on'](CodeceptJS['event'][_0x51a5a4(0x144)][_0x51a5a4(0x19c)],async _0x4b417f=>{const _0x30e600=_0x51a5a4;console[_0x30e600(0x141)](_0x2dedb7['ilYPM'],_0x4b417f[_0x30e600(0x180)]);}),_0x59759f['on'](CodeceptJS[_0x51a5a4(0x1b4)][_0x51a5a4(0x144)][_0x51a5a4(0x13c)],async _0xd334c3=>{const _0x20c631=_0x51a5a4;console[_0x20c631(0x141)](_0x2dedb7[_0x20c631(0x174)],_0xd334c3[_0x20c631(0x180)]);}),_0x59759f['on'](CodeceptJS[_0x51a5a4(0x1b4)]['all'][_0x51a5a4(0x1c5)],async()=>{const _0xc49234=_0x51a5a4,_0x35b325=_0x2dedb7[_0xc49234(0x153)]['split']('|');let _0x4f8f8c=0x0;while(!![]){switch(_0x35b325[_0x4f8f8c++]){case'0':testOpsHelper[_0xc49234(0x1a9)]();continue;case'1':_0x59759f['printResults']();continue;case'2':PerformanceTester[_0xc49234(0x1b6)](PerformanceEvents['SDK_CLEANUP']);continue;case'3':_0x45e2d6[_0xc49234(0x186)]=_testErrorData;continue;case'4':try{await TestHubHandler[_0xc49234(0x18c)]();}catch(_0x262968){logger[_0xc49234(0x185)](_0xc49234(0x194)+util[_0xc49234(0x140)](_0x262968));}continue;case'5':utilities[_0xc49234(0x1a1)](_0x45e2d6);continue;}break;}});async function _0x3cb717(){const _0x534566=_0x51a5a4;try{await _0x59759f[_0x534566(0x163)](),await _0x59759f['run']();}finally{process[_0x534566(0x1bb)](_0x4bb1f8),await _0x59759f[_0x534566(0x177)]();}}PerformanceTester[_0x51a5a4(0x16c)](PerformanceEvents['SDK_SETUP']),_0x2dedb7[_0x51a5a4(0x1ac)](_0x3cb717);}function a2_0x462d(_0x23edb1,_0x4e3e2a){const _0x4af2d0=a2_0x4af2();return a2_0x462d=function(_0x462d77,_0x2c5654){_0x462d77=_0x462d77-0x135;let _0x79b863=_0x4af2d0[_0x462d77];return _0x79b863;},a2_0x462d(_0x23edb1,_0x4e3e2a);}module['exports']=run;
|
|
2
|
+
'use strict';function a2_0x1a52(_0xa9fd09,_0x19d413){const _0x53a623=a2_0x53a6();return a2_0x1a52=function(_0x1a52bf,_0x7980cd){_0x1a52bf=_0x1a52bf-0x119;let _0x9fde9c=_0x53a623[_0x1a52bf];return _0x9fde9c;},a2_0x1a52(_0xa9fd09,_0x19d413);}const a2_0x2ba508=a2_0x1a52;(function(_0x46b01f,_0x142e76){const _0x16a610=a2_0x1a52,_0x3c13be=_0x46b01f();while(!![]){try{const _0x5b80ad=parseInt(_0x16a610(0x134))/0x1*(parseInt(_0x16a610(0x1af))/0x2)+parseInt(_0x16a610(0x139))/0x3*(-parseInt(_0x16a610(0x12c))/0x4)+parseInt(_0x16a610(0x123))/0x5*(parseInt(_0x16a610(0x157))/0x6)+-parseInt(_0x16a610(0x193))/0x7+-parseInt(_0x16a610(0x11e))/0x8+-parseInt(_0x16a610(0x187))/0x9*(parseInt(_0x16a610(0x198))/0xa)+parseInt(_0x16a610(0x16a))/0xb*(parseInt(_0x16a610(0x11b))/0xc);if(_0x5b80ad===_0x142e76)break;else _0x3c13be['push'](_0x3c13be['shift']());}catch(_0x475ab4){_0x3c13be['push'](_0x3c13be['shift']());}}}(a2_0x53a6,0xd1e51));const fs=require('fs'),path=require(a2_0x2ba508(0x18f)),util=require(a2_0x2ba508(0x152)),process=require(a2_0x2ba508(0x133)),logger=require(a2_0x2ba508(0x175))[a2_0x2ba508(0x185)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a2_0x2ba508(0x16e)),utilities=require(a2_0x2ba508(0x124)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require('../../bin/playwright/accessibility-helper'),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x2ba508(0x16e)),CodeceptJS=requireModule(a2_0x2ba508(0x194),a2_0x2ba508(0x168)),testOpsHelper=require(a2_0x2ba508(0x18c)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),constants=require(a2_0x2ba508(0x172)),PerformanceTester=require(a2_0x2ba508(0x1ac)),{FRAMEWORKS}=require(a2_0x2ba508(0x12f)),PerformanceEvents=require(a2_0x2ba508(0x195))[a2_0x2ba508(0x184)],_testErrorData=[],getUserCodeceptJSConfigs=(_0x56a7ed,_0x19a9e5)=>{const _0x148d9e=a2_0x2ba508,_0x3d7084={};_0x3d7084[_0x148d9e(0x19c)]=function(_0x48ad6d,_0x277f5b){return _0x48ad6d===_0x277f5b;},_0x3d7084['yykGe']=_0x148d9e(0x14c),_0x3d7084['QCjVB']=_0x148d9e(0x189);const _0x2215be=_0x3d7084;let _0x10964f=null;const _0x3c9ca0={};let _0x313f97=_0x19a9e5[_0x148d9e(0x142)](_0x45babb=>_0x45babb==='--config');_0x2215be[_0x148d9e(0x19c)](_0x313f97,-0x1)&&(_0x313f97=_0x19a9e5[_0x148d9e(0x142)](_0x57e025=>_0x57e025==='-c'));if(!helper['isUndefined'](_0x56a7ed['config'])&&fs[_0x148d9e(0x148)](path[_0x148d9e(0x1a7)](process[_0x148d9e(0x164)](),_0x56a7ed[_0x148d9e(0x176)])))_0x10964f=path[_0x148d9e(0x1a7)](process[_0x148d9e(0x164)](),_0x56a7ed[_0x148d9e(0x176)]),_0x19a9e5[_0x148d9e(0x16f)](_0x313f97,0x2);else{if(!helper['isUndefined'](_0x56a7ed['c'])&&fs[_0x148d9e(0x148)](path['join'](process['cwd'](),_0x56a7ed['c'])))_0x10964f=path[_0x148d9e(0x1a7)](process[_0x148d9e(0x164)](),_0x56a7ed['c']),_0x19a9e5[_0x148d9e(0x16f)](_0x313f97,0x2);else{if(fs['existsSync'](path['join'](process['cwd'](),_0x2215be[_0x148d9e(0x1ab)])))_0x10964f=path['join'](process[_0x148d9e(0x164)](),_0x2215be[_0x148d9e(0x1ab)]);else fs['existsSync'](path['join'](process[_0x148d9e(0x164)](),_0x2215be[_0x148d9e(0x15f)]))&&(_0x10964f=path[_0x148d9e(0x1a7)](process[_0x148d9e(0x164)](),_0x2215be[_0x148d9e(0x15f)]));}}return process[_0x148d9e(0x13a)][_0x148d9e(0x16b)]=_0x10964f,_0x10964f;},getO11yRerunPattern=()=>{const _0x470488=a2_0x2ba508,_0xf93e3c=helper[_0x470488(0x160)](process[_0x470488(0x13a)]['BROWSERSTACK_RERUN']);if(_0xf93e3c){const _0x32c78d=process[_0x470488(0x13a)][_0x470488(0x173)],_0x5c46f7=[];if(helper[_0x470488(0x138)](_0x32c78d)&&!helper[_0x470488(0x12b)](_0x32c78d)){_0x32c78d['split'](',')[_0x470488(0x1a5)](_0x299c61=>{const _0x463103=_0x470488;_0x5c46f7[_0x463103(0x136)]('('+_0x299c61[_0x463103(0x163)]()+')');});const _0x5cc8ac='^'+_0x5c46f7[_0x470488(0x1a7)]('|')+'$';return _0x5cc8ac;}}return null;},a2_0x4ea587={};a2_0x4ea587[a2_0x2ba508(0x158)]=a2_0x2ba508(0x1a1),a2_0x4ea587[a2_0x2ba508(0x170)]=a2_0x2ba508(0x1a1),a2_0x4ea587[a2_0x2ba508(0x18a)]=a2_0x2ba508(0x151),a2_0x4ea587[a2_0x2ba508(0x19a)]=a2_0x2ba508(0x132);function a2_0x53a6(){const _0x1fbe0c=['printBuildLink','skipSessionName','7564968sBhKRj','vYGvu','kTLqL','getPlatformName','getPlaywrightUrl','21445ZqcKka','../../helpers/utilities','isTestObservabilitySession','passed','run','getUserWorkerCount','uCAwx','JpNxq','isUndefined','748aeTXbn','format','Workers','../../helpers/test-observability/constants','split','OfSCd','webkit','process','79711adfbdB','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','push','Playwright','validateRerunTestList','23739gDmfbH','env','dfLCG','profile','bootstrapAll','toLowerCase','iXbxb','Started\x20:\x20','laYNI','findIndex','JjUPA','BrowserStackPlugin.js','stringify','SDK_SETUP','event','existsSync','skipSessionStatus','PXVFC','exports','codecept.conf.js','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','load','test','ZhTcG','firefox','util','dKTwE','lCQpB','frameworkName','now','150lZFDsr','chrome','initialize','browserStackCwd','info','swknW','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','stop','QCjVB','isTrue','MpyyY','testObservability','trim','cwd','before','browserWSEndpoint','require','codeceptjs','helpers','32703iTMgQS','USER_CONFIG_DETAILS_PATH','launchBuild','browser','../../helpers/helper','slice','playwright-chromium','debug','../utils/constants','BROWSERSTACK_RERUN_TESTS','end','../../helpers/logger','config','mergeDeep','title','plugins','RDAly','errorMessage','WebDriver','desiredCapabilities','4|5|2|3|1|0','JfyPZ','addConfig','BROWSERSTACK_TEST_OBSERVABILITY_YML','TfsxA','isEmpty','EVENTS','winstonLogger','printResults','109530tuhkIJ','parallelsPerPlatform','codecept.json','playwright-firefox','SDK_CLEANUP','../../helpers/test-observability/utils','all','BROWSERSTACK_TEST_ACCESSIBILITY_YML','path','dirname','teardownAll','chdir','8098748XELsQa','codeceptjs/lib/index.js','../../helpers/performance/constants','enabled','CODECEPT_CUCUMBER','680wwMTpH','spawn','playwright-webkit','SMtrE','OBJSy','length','AJhxD','accessibilityOptions','forEach','chromium','useW3C','CODECEPT','BrowserStackPlugin','map','log','join','browserName','yduQX','addTests','yykGe','../../helpers/performance/performance-tester','testContextOptions','accessibility','38wYydjW','VyVpa','prepareCapabilities','14724suCvkg'];a2_0x53a6=function(){return _0x1fbe0c;};return a2_0x53a6();}const pwToCodeceptBrowser=a2_0x4ea587;async function run(_0x5f1401,_0x4a1bdb,_0x1d0be3){const _0x388bd2=a2_0x2ba508,_0x201627={'uCAwx':function(_0x18db7c,_0x194a13){return _0x18db7c+_0x194a13;},'dfLCG':function(_0x2b3723,_0x5316b9){return _0x2b3723(_0x5316b9);},'TfsxA':function(_0xe6b197,_0x2a7518,_0x5a35d1){return _0xe6b197(_0x2a7518,_0x5a35d1);},'AJhxD':'helpers','RDAly':function(_0x10e759){return _0x10e759();},'SMtrE':function(_0x3017f0){return _0x3017f0();},'JfyPZ':'Failed\x20:\x20','PXVFC':'Passed\x20:\x20','yduQX':_0x388bd2(0x140),'QeAwd':_0x388bd2(0x17e),'MpyyY':_0x388bd2(0x15d),'vYGvu':function(_0x2c6ef6,_0x3d3620,_0x4e83a9){return _0x2c6ef6(_0x3d3620,_0x4e83a9);},'cnrTt':_0x388bd2(0x137),'iXbxb':_0x388bd2(0x17c),'vlnvk':function(_0x5461b3,_0x1d63af){return _0x5461b3(_0x1d63af);},'laYNI':function(_0x2a3785,_0xf53906){return _0x2a3785!=_0xf53906;},'gyfsE':function(_0x5b33ce,_0x439884){return _0x5b33ce===_0x439884;},'OfSCd':'gherkin','kTLqL':function(_0x5a290d,_0x5cb2e3){return _0x5a290d(_0x5cb2e3);},'VyVpa':function(_0x5b937b){return _0x5b937b();},'dKTwE':function(_0x5394d9,_0x17973a){return _0x5394d9*_0x17973a;},'JouRJ':_0x388bd2(0x16d),'JjUPA':_0x388bd2(0x17d),'lCQpB':function(_0x17c875,_0x1f25fb,_0xf315bf){return _0x17c875(_0x1f25fb,_0xf315bf);},'ZhTcG':'root','swknW':_0x388bd2(0x144),'JpNxq':_0x388bd2(0x15a)};await _0x1d0be3[_0x388bd2(0x159)](_0x5f1401),await helper['handleApp'](_0x1d0be3[_0x388bd2(0x176)]);if(!_0x1d0be3['config'])return;process[_0x388bd2(0x13c)]=_0x5f1401['profile'];_0x5f1401[_0x388bd2(0x13c)]&&(process[_0x388bd2(0x13a)][_0x388bd2(0x13c)]=_0x5f1401[_0x388bd2(0x13c)]);const _0x126dc9=_0x201627[_0x388bd2(0x182)](getUserCodeceptJSConfigs,_0x5f1401,_0x4a1bdb);let _0x39cd27={};_0x126dc9?(logger[_0x388bd2(0x15b)](_0x388bd2(0x135)+_0x126dc9),_0x39cd27=CodeceptJS[_0x388bd2(0x176)][_0x388bd2(0x14e)](_0x126dc9)):logger[_0x388bd2(0x15b)](_0x201627[_0x388bd2(0x161)]);let _0x86d401=![];_0x201627[_0x388bd2(0x11f)](nestedKeyValue,_0x39cd27,[_0x201627[_0x388bd2(0x19e)],_0x201627['cnrTt']])&&(_0x86d401=!![]);const _0x5b99a2=_0x86d401?_0x201627['cnrTt']:_0x201627[_0x388bd2(0x13f)];let _0x5a6dba=!_0x86d401?helper[_0x388bd2(0x1a2)](_0x1d0be3[_0x388bd2(0x176)]):![];!helper[_0x388bd2(0x12b)](_0x1d0be3[_0x388bd2(0x176)][_0x388bd2(0x19f)])&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x1d0be3[_0x388bd2(0x176)][_0x388bd2(0x19f)]));let _0x4a2653=_0x1d0be3['config'][_0x388bd2(0x1ae)];_0x4a2653=_0x4a2653||_0x201627['vlnvk'](checkAccessibilityPlatformConfig,_0x1d0be3[_0x388bd2(0x176)]),process[_0x388bd2(0x13a)][_0x388bd2(0x18e)]=_0x4a2653;_0x4a2653&&(_0x5a6dba=!_0x4a2653);_0x201627[_0x388bd2(0x141)](_0x1d0be3[_0x388bd2(0x176)][_0x388bd2(0x162)],null)?process[_0x388bd2(0x13a)][_0x388bd2(0x181)]=_0x1d0be3[_0x388bd2(0x176)][_0x388bd2(0x162)]:process[_0x388bd2(0x13a)][_0x388bd2(0x181)]=_0x201627['gyfsE'](_0x5b99a2,_0x201627['cnrTt']);const _0x2f72b7=_0x201627[_0x388bd2(0x182)](nestedKeyValue,_0x39cd27,[_0x201627[_0x388bd2(0x131)]]),_0x60551f=_0x2f72b7&&!helper[_0x388bd2(0x183)](_0x2f72b7)?FRAMEWORKS[_0x388bd2(0x197)]:FRAMEWORKS[_0x388bd2(0x1a3)],_0xec4f88=await TestHubHandler[_0x388bd2(0x16c)](_0x60551f,_0x1d0be3);_0x4a2653&&_0x201627[_0x388bd2(0x120)](setAccessibilityCapabilities,_0x1d0be3['config']);const _0x399753={},_0x455529=[],_0x3f4b1a=_0x1d0be3[_0x388bd2(0x176)][_0x388bd2(0x188)]||helper[_0x388bd2(0x128)](_0x5f1401,_0x4a1bdb,_0x1d0be3[_0x388bd2(0x176)],constants['FRAMEWORKS'][_0x388bd2(0x1a3)])||0x1;let _0xe718b2=0x1;if(_0x201627[_0x388bd2(0x119)](isBrowserstackInfra)){const _0x71f57b=helper[_0x388bd2(0x11a)](_0x1d0be3['config'],_0x5a6dba,constants['FRAMEWORKS'][_0x388bd2(0x1a3)]);_0x71f57b[_0x388bd2(0x1a0)](_0x212960=>{helper['setAdditionalCapabilities'](_0x212960);}),helper['validPlatformsPresent'](_0x1d0be3[_0x388bd2(0x176)])?_0xe718b2=_0x201627[_0x388bd2(0x153)](_0x3f4b1a,_0x1d0be3[_0x388bd2(0x176)]['platforms'][_0x388bd2(0x19d)]):_0xe718b2=_0x3f4b1a,_0x71f57b['forEach'](_0x18f838=>{const _0x2617ab=_0x388bd2,_0x34e54e=_0x201627['uCAwx'](helper[_0x2617ab(0x121)](_0x18f838,'_'),'_'+Date[_0x2617ab(0x156)]()),_0x5765ec=((()=>{const _0x3a92e3=_0x2617ab;if(_0x86d401){const _0x465a2c=pwToCodeceptBrowser[_0x18f838[_0x3a92e3(0x1a8)]]||_0x18f838[_0x3a92e3(0x1a8)];return{'browser':_0x465a2c,[_0x465a2c]:{'browserWSEndpoint':_0x201627[_0x3a92e3(0x129)](helper[_0x3a92e3(0x122)](_0x1d0be3[_0x3a92e3(0x176)]),_0x201627[_0x3a92e3(0x13b)](encodeURIComponent,JSON[_0x3a92e3(0x145)](_0x18f838)))}};}const _0x365340={};return _0x365340[_0x3a92e3(0x17d)]=_0x18f838,_0x365340;})()),_0x5b85fc=_0x201627[_0x2617ab(0x182)](nestedKeyValue,_0x39cd27,[_0x201627[_0x2617ab(0x19e)],_0x5b99a2]);_0x399753[_0x34e54e]=_0x5b85fc?helper[_0x2617ab(0x177)](_0x5765ec,_0x5b85fc):_0x5765ec,!_0x86d401&&(_0x399753[_0x34e54e][_0x2617ab(0x16d)]=_0x18f838['browserName']||_0x5765ec[_0x2617ab(0x16d)]),_0x455529[_0x2617ab(0x136)](_0x34e54e);});}else{_0xe718b2=0x1;if(_0x86d401){const _0x2f5f4a=_0x201627['TfsxA'](nestedKeyValue,_0x39cd27,[_0x201627['AJhxD'],_0x5b99a2,_0x201627['JouRJ']]),_0x5b6b76=_0x201627['TfsxA'](nestedKeyValue,_0x39cd27,[_0x201627[_0x388bd2(0x19e)],_0x5b99a2,_0x2f5f4a]);_0x5b6b76&&_0x5b6b76[_0x388bd2(0x166)]&&(_0x5b6b76['browserWSEndpoint']=helper[_0x388bd2(0x11a)](null,null,_0x60551f[_0x388bd2(0x13e)](),null,null,_0x5b6b76[_0x388bd2(0x166)]));}else _0x39cd27[_0x201627[_0x388bd2(0x19e)]][_0x5b99a2][_0x201627[_0x388bd2(0x143)]]=helper[_0x388bd2(0x11a)](null,null,_0x60551f[_0x388bd2(0x13e)](),_0x201627[_0x388bd2(0x154)](nestedKeyValue,_0x39cd27,[_0x201627[_0x388bd2(0x19e)],_0x5b99a2,_0x201627['JjUPA']]),null,null);_0x399753[_0x201627[_0x388bd2(0x150)]]=_0x39cd27,_0x455529[_0x388bd2(0x136)](_0x201627[_0x388bd2(0x150)]);}const _0x59b6b4={};_0x59b6b4['testConfig']=_0x126dc9;const _0x183aec=_0x59b6b4,_0x5b3313=path[_0x388bd2(0x1a7)](__dirname,_0x201627[_0x388bd2(0x15c)]),_0x286d35=process[_0x388bd2(0x164)]();process['env'][_0x201627[_0x388bd2(0x12a)]]=_0x286d35,process[_0x388bd2(0x192)](path[_0x388bd2(0x190)](_0x126dc9));const _0x5c2c4b=new CodeceptJS[(_0x388bd2(0x12e))](null,_0x183aec),_0x69b7=_0x5c2c4b['createGroupsOfSuites'](_0xe718b2),_0x201de3=testOpsHelper[_0x388bd2(0x125)](),_0x4d4ad9=_0x455529[_0x388bd2(0x1a5)](_0x1f9436=>{const _0x462f6=_0x388bd2,_0x34b668={};_0x34b668[_0x462f6(0x137)]=_0x399753[_0x1f9436];const _0x14ea34={};_0x14ea34['WebDriver']=_0x399753[_0x1f9436];const _0x22bd17=_0x86d401?_0x34b668:_0x14ea34,_0x482954=_0x201627['RDAly'](getO11yRerunPattern),_0x1e86bc={};_0x1e86bc[_0x462f6(0x169)]=_0x22bd17;const _0x261b5f={};_0x261b5f[_0x462f6(0x167)]=_0x5b3313,_0x261b5f[_0x462f6(0x196)]=!![],_0x261b5f[_0x462f6(0x11d)]=_0x1d0be3[_0x462f6(0x176)][_0x462f6(0x1ad)][_0x462f6(0x11d)],_0x261b5f[_0x462f6(0x149)]=_0x1d0be3[_0x462f6(0x176)][_0x462f6(0x1ad)][_0x462f6(0x149)],_0x261b5f[_0x462f6(0x162)]=_0x201de3,_0x261b5f[_0x462f6(0x155)]=_0x60551f;const _0x2c1338={};_0x2c1338[_0x462f6(0x1a4)]=_0x261b5f;const _0x258d3a={};return _0x258d3a[_0x462f6(0x179)]=_0x2c1338,helper[_0x462f6(0x177)]({},_0x39cd27,_0x201627[_0x462f6(0x19b)](isBrowserstackInfra)?_0x1e86bc:{},_0x482954?{'grep':_0x482954}:{},_0x258d3a);});for(const _0x204947 of _0x4d4ad9){for(const _0x551006 of _0x69b7){const _0x1cf949=_0x5c2c4b[_0x388bd2(0x199)]();_0x1cf949[_0x388bd2(0x1aa)](_0x551006),_0x1cf949[_0x388bd2(0x180)](_0x204947);const _0x80f5fe={};_0x80f5fe[_0x388bd2(0x176)]=_0x126dc9,_0x1cf949['addOptions'](_0x80f5fe);}}_0x5c2c4b['on'](CodeceptJS[_0x388bd2(0x147)]['test']['failed'],(_0x3ef934,_0x11e4cf)=>{const _0x399e64=_0x388bd2;console[_0x399e64(0x1a6)](_0x201627[_0x399e64(0x17f)],_0x3ef934['title']);const _0x34c9a0={[_0x3ef934[_0x399e64(0x178)]]:_0x3ef934['err']['stack']};_testErrorData[_0x399e64(0x136)](_0x34c9a0);}),_0x5c2c4b['on'](CodeceptJS[_0x388bd2(0x147)][_0x388bd2(0x14f)][_0x388bd2(0x126)],async _0x4015fd=>{const _0x2f1c5f=_0x388bd2;console[_0x2f1c5f(0x1a6)](_0x201627[_0x2f1c5f(0x14a)],_0x4015fd['title']);}),_0x5c2c4b['on'](CodeceptJS['event'][_0x388bd2(0x14f)][_0x388bd2(0x165)],async _0xb5ab44=>{const _0x2fcc5e=_0x388bd2;console['log'](_0x201627[_0x2fcc5e(0x1a9)],_0xb5ab44[_0x2fcc5e(0x178)]);}),_0x5c2c4b['on'](CodeceptJS[_0x388bd2(0x147)][_0x388bd2(0x18d)]['result'],async()=>{const _0x475207=_0x388bd2,_0x21900a=_0x201627['QeAwd'][_0x475207(0x130)]('|');let _0x3e8e91=0x0;while(!![]){switch(_0x21900a[_0x3e8e91++]){case'0':_0x5c2c4b[_0x475207(0x186)]();continue;case'1':try{await TestHubHandler[_0x475207(0x15e)]();}catch(_0x338992){logger[_0x475207(0x171)](_0x475207(0x14d)+util[_0x475207(0x12d)](_0x338992));}continue;case'2':testOpsHelper[_0x475207(0x11c)]();continue;case'3':utilities['finalExecution'](_0x1d0be3);continue;case'4':PerformanceTester['start'](PerformanceEvents[_0x475207(0x18b)]);continue;case'5':_0x1d0be3[_0x475207(0x17b)]=_testErrorData;continue;}break;}});async function _0x244aa3(){const _0x29151b=_0x388bd2;try{await _0x5c2c4b[_0x29151b(0x13d)](),await _0x5c2c4b[_0x29151b(0x127)]();}finally{process[_0x29151b(0x192)](_0x286d35),await _0x5c2c4b[_0x29151b(0x191)]();}}PerformanceTester[_0x388bd2(0x174)](PerformanceEvents[_0x388bd2(0x146)]),_0x201627[_0x388bd2(0x17a)](_0x244aa3);}module[a2_0x2ba508(0x14b)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a3_0x1ca6ca=a3_0x20bd;function a3_0x20bd(_0xde0294,_0x2dc2dd){const _0x445c30=a3_0x445c();return a3_0x20bd=function(_0x20bddb,_0x2f2d9c){_0x20bddb=_0x20bddb-0x84;let _0x2b5368=_0x445c30[_0x20bddb];return _0x2b5368;},a3_0x20bd(_0xde0294,_0x2dc2dd);}(function(_0x57868a,_0x3b175f){const _0x320a17=a3_0x20bd,_0x2aa384=_0x57868a();while(!![]){try{const _0x41f0e2=parseInt(_0x320a17(0xc4))/0x1+parseInt(_0x320a17(0xb9))/0x2*(-parseInt(_0x320a17(0xa2))/0x3)+parseInt(_0x320a17(0xc7))/0x4*(-parseInt(_0x320a17(0xc5))/0x5)+-parseInt(_0x320a17(0x8f))/0x6*(-parseInt(_0x320a17(0xb6))/0x7)+parseInt(_0x320a17(0xd0))/0x8*(-parseInt(_0x320a17(0xcb))/0x9)+-parseInt(_0x320a17(0x87))/0xa+-parseInt(_0x320a17(0xc8))/0xb*(-parseInt(_0x320a17(0xae))/0xc);if(_0x41f0e2===_0x3b175f)break;else _0x2aa384['push'](_0x2aa384['shift']());}catch(_0x3730d7){_0x2aa384['push'](_0x2aa384['shift']());}}}(a3_0x445c,0x51dfc));function a3_0x445c(){const _0xdb0005=['LFNjl','os_version','VfWLP','browserName','BvsjH','wLdFs','browser','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','11100wtjitm','config','AQfWl','bsSessionId','warn','HBmDl','capabilities','unknown_grid','266TMZDzi','chrome','desiredCapabilities','165226BogHAS','RYjhq','playwright-chromium','jSndf','vrqhJ','accessibilityPlatform','../../helpers/accessibility-automation/helper','browserWSEndpoint','deviceName','NbkJf','searchParams','187918UaGAFy','35nXPoBN','processWebDriverConfig','333420GSZOxx','15037YjvQYW','uQHpq','exfYb','9873XtOFFP','browser_version','EmyQC','VmGqh','Qvckk','1432qtogJZ','OqsIj','platformName','../../helpers/logger','miECX','mQztG','itWKO','2543840EHRDhH','agASv','get','LRjGI','platformVersion','platform','iXHaG','../../helpers/test-observability/utils','26058kJuPZf','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','cloudProvider','getDetails','name','sessionId','browserstack_accessibility_automation_script','../../helpers/helper','browserVersion','platform_version','winstonLogger','quetC','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','constructor','pIuUl','ONrYH','fetchPlatformDetails','parse','Mgsxa','9GAosQQ','shouldPatchExecuteScript','jPCod','../../bin/playwright/sessionDetails'];a3_0x445c=function(){return _0xdb0005;};return a3_0x445c();}const {isUndefined,nestedKeyValue}=require(a3_0x1ca6ca(0x96)),logger=require(a3_0x1ca6ca(0xd3))[a3_0x1ca6ca(0x99)],PlaywrightSessionDetails=require(a3_0x1ca6ca(0xa5)),{isAccessibilityAutomationSession}=require(a3_0x1ca6ca(0xbf)),{getObservabilityLinkedProductName}=require(a3_0x1ca6ca(0x8e)),getOSVersionFromCaps=_0x1dc420=>{const _0x548fe1=a3_0x1ca6ca,_0x2f98b0={};_0x2f98b0[_0x548fe1(0x84)]='bstack:options',_0x2f98b0[_0x548fe1(0xcd)]=_0x548fe1(0x8b),_0x2f98b0[_0x548fe1(0xbc)]=_0x548fe1(0x98),_0x2f98b0[_0x548fe1(0xba)]='osVersion',_0x2f98b0['AQfWl']=_0x548fe1(0xa7);const _0x254600=_0x2f98b0;if(!_0x1dc420)return null;const _0x201542=_0x1dc420[_0x254600['miECX']],_0x4535c8=[_0x254600[_0x548fe1(0xcd)],_0x254600[_0x548fe1(0xbc)],_0x254600[_0x548fe1(0xba)],_0x254600[_0x548fe1(0xb0)]];for(const _0xea499f of _0x4535c8){if(_0x201542&&_0x201542[_0xea499f])return _0x201542[_0xea499f];else{if(_0x1dc420[_0xea499f])return _0x1dc420[_0xea499f];}}return null;};exports[a3_0x1ca6ca(0x9f)]=_0x52c778=>{const _0x9d36bc=a3_0x1ca6ca,_0x5438e2={'exfYb':_0x9d36bc(0xb5),'wLdFs':function(_0xb978b1,_0x1a7cad){return _0xb978b1===_0x1a7cad;},'pIAlD':'WebDriver','LFNjl':function(_0x2d86f5,_0x3bfd2e){return _0x2d86f5(_0x3bfd2e);},'vrqhJ':function(_0x46431b,_0x1d74a1,_0x5891a3){return _0x46431b(_0x1d74a1,_0x5891a3);},'mQztG':_0x9d36bc(0xaf),'quetC':_0x9d36bc(0xb8),'uQHpq':'Playwright','NqXFp':'browser','Qvckk':_0x9d36bc(0xc0),'VfWLP':'caps','VcQuO':function(_0x31774f,_0x519970){return _0x31774f(_0x519970);}};if(!_0x52c778)return null;let _0x3285b8=global['__cloud_provider___']||_0x5438e2[_0x9d36bc(0xca)];if(_0x5438e2['wLdFs'](_0x52c778[_0x9d36bc(0x9c)][_0x9d36bc(0x93)],_0x5438e2['pIAlD'])){const _0x2bf291=_0x52c778[_0x9d36bc(0xac)];if(!_0x2bf291)return null;const _0x5aed5f=_0x2bf291[_0x9d36bc(0xb4)],_0x312fb1=_0x5438e2[_0x9d36bc(0xa6)](getOSVersionFromCaps,_0x5438e2[_0x9d36bc(0xbd)](nestedKeyValue,_0x52c778,[_0x5438e2['mQztG'],_0x5438e2[_0x9d36bc(0x9a)]]));return{[_0x3285b8]:{'browser':_0x5aed5f['browserName'],'browser_version':_0x5aed5f[_0x9d36bc(0x97)],'capabilities':_0x5aed5f,'platform':_0x5aed5f[_0x9d36bc(0xd2)],'platform_version':_0x5aed5f[_0x9d36bc(0x8b)]||_0x312fb1,'product':_0x5438e2[_0x9d36bc(0xa6)](getObservabilityLinkedProductName,_0x5aed5f),'session_id':_0x2bf291[_0x9d36bc(0x94)]}};}else{if(_0x5438e2[_0x9d36bc(0xab)](_0x52c778['constructor'][_0x9d36bc(0x93)],_0x5438e2[_0x9d36bc(0xc9)])){const _0x12a10b=PlaywrightSessionDetails[_0x9d36bc(0x92)]();_0x3285b8=_0x12a10b[_0x9d36bc(0x91)]||_0x3285b8;const _0x5e4685=_0x5438e2[_0x9d36bc(0xbd)](nestedKeyValue,_0x52c778,[_0x5438e2[_0x9d36bc(0x85)],_0x5438e2['NqXFp'],_0x5438e2[_0x9d36bc(0xcf)]]),_0x1071c2=_0x5e4685?JSON[_0x9d36bc(0xa0)](new URL(_0x5e4685)[_0x9d36bc(0xc3)][_0x9d36bc(0x89)](_0x5438e2[_0x9d36bc(0xa8)])):{};return{[_0x3285b8]:{'browser':_0x12a10b[_0x9d36bc(0xac)]||_0x1071c2[_0x9d36bc(0xa9)],'browser_version':_0x12a10b[_0x9d36bc(0xcc)]||_0x1071c2['browser_version'],'capabilities':_0x1071c2,'platform':_0x12a10b[_0x9d36bc(0x8c)],'platform_version':_0x12a10b[_0x9d36bc(0x98)],'product':_0x5438e2['VcQuO'](getObservabilityLinkedProductName,_0x1071c2),'session_id':_0x12a10b[_0x9d36bc(0xb1)]}};}}},exports[a3_0x1ca6ca(0xc6)]=_0x22ca1c=>{const _0x234840=a3_0x1ca6ca,_0x3fb7c6={'itWKO':function(_0x4d9190){return _0x4d9190();},'ONrYH':function(_0x4a6e44,_0x5e0afe){return _0x4a6e44===_0x5e0afe;},'OqsIj':'latest','VmGqh':function(_0x4551d6,_0x1a870b){return _0x4551d6>_0x1a870b;},'NbkJf':function(_0x746326,_0x96da7a){return _0x746326(_0x96da7a);},'iXHaG':_0x234840(0xad),'LRjGI':function(_0x1ee3be,_0x5e2d7d){return _0x1ee3be===_0x5e2d7d;},'HBmDl':_0x234840(0xb7),'Uzxdh':_0x234840(0xbb),'jPCod':_0x234840(0x9b),'Mgsxa':function(_0x327c22,_0x1ad11a){return _0x327c22(_0x1ad11a);},'pIuUl':_0x234840(0x90)};if(_0x3fb7c6[_0x234840(0x86)](isAccessibilityAutomationSession)){const _0x2fc845=_0x22ca1c[_0x234840(0xac)],_0x5f34d2=_0x2fc845[_0x234840(0xb4)];global[_0x234840(0xbe)]=!![],!(_0x3fb7c6[_0x234840(0x9e)](_0x5f34d2['browserVersion'],_0x3fb7c6[_0x234840(0xd1)])||_0x3fb7c6[_0x234840(0xce)](_0x3fb7c6[_0x234840(0xc2)](parseInt,_0x5f34d2[_0x234840(0x97)]),0x5e))&&(logger[_0x234840(0xb2)](_0x3fb7c6[_0x234840(0x8d)]),global[_0x234840(0xbe)]=![]),!(_0x3fb7c6[_0x234840(0x8a)](_0x5f34d2[_0x234840(0xa9)],_0x3fb7c6[_0x234840(0xb3)])||_0x3fb7c6[_0x234840(0x9e)](_0x5f34d2[_0x234840(0xa9)],_0x3fb7c6['Uzxdh']))&&(logger[_0x234840(0xb2)](_0x3fb7c6[_0x234840(0xa4)]),global[_0x234840(0xbe)]=![]),!_0x3fb7c6[_0x234840(0xa1)](isUndefined,_0x5f34d2[_0x234840(0xc1)])&&(logger[_0x234840(0xb2)](_0x3fb7c6[_0x234840(0x9d)]),global[_0x234840(0xbe)]=![]);}},exports[a3_0x1ca6ca(0xa3)]=_0x32a9b8=>{const _0x2188b3=a3_0x1ca6ca,_0x443491={};_0x443491[_0x2188b3(0xaa)]='browserstack_executor',_0x443491[_0x2188b3(0x88)]=_0x2188b3(0x95);const _0x2c8f03=_0x443491;if(!_0x32a9b8)return![];return!_0x32a9b8['includes'](_0x2c8f03['BvsjH'])&&!_0x32a9b8['includes'](_0x2c8f03[_0x2188b3(0x88)]);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a4_0x440f82=a4_0x30aa;(function(_0x21227d,_0x146264){const _0x445f15=a4_0x30aa,_0x429056=_0x21227d();while(!![]){try{const _0x29c2d5=parseInt(_0x445f15(0x159))/0x1*(parseInt(_0x445f15(0x12f))/0x2)+-parseInt(_0x445f15(0x1cf))/0x3*(parseInt(_0x445f15(0x168))/0x4)+-parseInt(_0x445f15(0x16c))/0x5+-parseInt(_0x445f15(0x14b))/0x6*(parseInt(_0x445f15(0x1bb))/0x7)+parseInt(_0x445f15(0x18d))/0x8+parseInt(_0x445f15(0x161))/0x9+parseInt(_0x445f15(0x119))/0xa;if(_0x29c2d5===_0x146264)break;else _0x429056['push'](_0x429056['shift']());}catch(_0x10a092){_0x429056['push'](_0x429056['shift']());}}}(a4_0x3014,0x2e5aa));const path=require(a4_0x440f82(0x183)),fs=require('fs'),{v4:uuidv4}=require(a4_0x440f82(0x1b3)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x440f82(0x1d6)),testOpsHelper=require(a4_0x440f82(0x1b5)),{getTestEnv}=require(a4_0x440f82(0x128)),{FRAMEWORKS}=require(a4_0x440f82(0x114)),logger=require(a4_0x440f82(0x1e1))['winstonLogger'],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require(a4_0x440f82(0x17d)),PlaywrightSessionDetails=require(a4_0x440f82(0x12c)),debug=testOpsHelper[a4_0x440f82(0x1a8)],{processAccessibilityCaps}=require(a4_0x440f82(0x1a4)),Constants=require(a4_0x440f82(0x151)),{fetchPlatformDetails}=require(a4_0x440f82(0x150)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x440f82(0x10c)),STATE_PASSED=a4_0x440f82(0x155),STATE_FAILED=a4_0x440f82(0x191),a4_0x2377f8={};a4_0x2377f8[a4_0x440f82(0x125)]=a4_0x440f82(0x1a9),a4_0x2377f8['TEST_RUN_FINISHED']=a4_0x440f82(0x187),a4_0x2377f8[a4_0x440f82(0x152)]='TestRunSkipped',a4_0x2377f8['HOOK_RUN_STARTED']='HookRunStarted',a4_0x2377f8[a4_0x440f82(0xfb)]=a4_0x440f82(0xfd);const TEST_EVENTS=a4_0x2377f8,parseEvent=_0x3056e5=>{const _0x27bda4=a4_0x440f82,_0x324905={};_0x324905[_0x27bda4(0x139)]=function(_0xf22b76,_0x3c231f){return _0xf22b76<_0x3c231f;},_0x324905[_0x27bda4(0x180)]=function(_0x34ca95,_0x505fe9){return _0x34ca95===_0x505fe9;},_0x324905[_0x27bda4(0x1e3)]=_0x27bda4(0x10b),_0x324905[_0x27bda4(0x193)]=_0x27bda4(0x1e0),_0x324905[_0x27bda4(0x138)]=_0x27bda4(0x1a3),_0x324905[_0x27bda4(0x1e2)]=_0x27bda4(0x12d),_0x324905['GmNbR']=_0x27bda4(0x182);const _0x250cd4=_0x324905,_0x3a8600=_0x3056e5[_0x27bda4(0x1e5)](/^(.*)Run(.*)$/);if(!_0x3a8600)return null;if(_0x250cd4['CtEql'](_0x3a8600[_0x27bda4(0x102)],0x3))return null;const _0x13721d=_0x3a8600[0x1][_0x27bda4(0x1e4)](),_0x380153=_0x3a8600[0x2][_0x27bda4(0x1e4)]();return{'test':_0x250cd4[_0x27bda4(0x180)](_0x13721d,_0x250cd4[_0x27bda4(0x1e3)]),'hook':_0x250cd4[_0x27bda4(0x180)](_0x13721d,_0x250cd4[_0x27bda4(0x193)]),'skipped':_0x250cd4[_0x27bda4(0x180)](_0x380153,_0x250cd4[_0x27bda4(0x138)]),'started':_0x250cd4[_0x27bda4(0x180)](_0x380153,_0x250cd4['fuvEJ']),'finished':_0x250cd4['CUzUs'](_0x380153,_0x250cd4[_0x27bda4(0x146)])};},mockPWBrowserType=_0x35e591=>{const _0x18f53e=a4_0x440f82,_0x2f8347={'kKFYe':function(_0x15a823,_0x3df9c5,_0x2f9799){return _0x15a823(_0x3df9c5,_0x2f9799);},'nOwgB':'wsEndpoint','RpQyS':function(_0x29b0ea,_0x1e6c2e){return _0x29b0ea(_0x1e6c2e);},'gSHNA':'browserstack','GnxYy':function(_0x1c4db1,_0x5e161e,_0x5766a8){return _0x1c4db1(_0x5e161e,_0x5766a8);},'nZSXg':function(_0x420d0b,_0x57d23e){return _0x420d0b===_0x57d23e;},'DGCIp':'string','VygFE':_0x18f53e(0x166),'avqEH':_0x18f53e(0x126),'UJEzv':_0x18f53e(0x137),'IvwIY':_0x18f53e(0x109),'jJrTf':_0x18f53e(0x143),'NfPVH':'launch'},_0x26ad7f=path[_0x18f53e(0x136)](_0x2f8347[_0x18f53e(0x1b7)],_0x2f8347[_0x18f53e(0x190)],_0x2f8347[_0x18f53e(0x172)]),_0x4228ec=_0x2f8347[_0x18f53e(0x1bf)](importFileFromPWCore,_0x26ad7f);if(!_0x4228ec){_0x2f8347[_0x18f53e(0x1bf)](debug,_0x2f8347[_0x18f53e(0x13e)]);return;}const _0x280e73=_0x4228ec[_0x18f53e(0x195)],_0x1a6ef6=_0x280e73[_0x18f53e(0x1ac)];if(_0x1a6ef6['obsBrowserTypeMockApplied'])return;const _0x50337e=_0x1a6ef6['connect'];Object[_0x18f53e(0x18e)](_0x1a6ef6,_0x2f8347['jJrTf'],{'get':function(){const _0x2e87d6=_0x18f53e,_0x2d96de={'jnNuP':function(_0x568510,_0x3e193e){const _0x31b62f=a4_0x30aa;return _0x2f8347[_0x31b62f(0x15d)](_0x568510,_0x3e193e);},'ssVpz':_0x2f8347[_0x2e87d6(0x1be)]};return async function _0x59692e(_0x594060,_0x13857c){const _0x4baf08=_0x2e87d6,_0x34ceba=_0x2f8347[_0x4baf08(0x17b)](nestedKeyValue,_0x594060,[_0x2f8347[_0x4baf08(0x178)]])||_0x594060;let _0x29bb79=null,_0x30dbae=null;try{[_0x30dbae,_0x29bb79]=_0x34ceba?_0x2f8347[_0x4baf08(0x1bf)](parseWSEndpoint,_0x34ceba):[null,null],global['__platformCaps']=_0x29bb79,_0x30dbae[_0x4baf08(0x1bd)](_0x2f8347['gSHNA'])&&(global['__cloud_provider___']=_0x2f8347[_0x4baf08(0x1ca)]);}catch(_0x4bd402){logger['debug'](_0x4baf08(0x184)+_0x34ceba+'\x20'+_0x4bd402);}_0x2f8347[_0x4baf08(0x162)](processAccessibilityCaps,_0x29bb79,_0x30dbae);if(global[_0x4baf08(0x177)]){const _0x5c392c=await _0x1a6ef6[_0x4baf08(0x167)]['apply'](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0x2f8347[_0x4baf08(0x1bf)](encodeURIComponent,JSON['stringify'](_0x29bb79))]);return PlaywrightSessionDetails[_0x4baf08(0x199)](_0x5c392c,_0x35e591,_0x34ceba),_0x5c392c;}return _0x50337e[_0x4baf08(0x1bc)](this,arguments)[_0x4baf08(0x185)](_0x437466=>{const _0x25cc4f=_0x4baf08;let _0x30780c=_0x594060[_0x25cc4f(0x12b)];return _0x2d96de[_0x25cc4f(0x19d)](typeof _0x594060,_0x2d96de['ssVpz'])&&(_0x30780c=_0x594060),PlaywrightSessionDetails[_0x25cc4f(0x199)](_0x437466,_0x35e591,_0x30780c),_0x437466;});};}});const _0xd6108a=_0x1a6ef6[_0x18f53e(0x189)];Object[_0x18f53e(0x18e)](_0x1a6ef6,_0x2f8347[_0x18f53e(0x1db)],{'get':function(){return async function _0x59714a(){const _0x3aa76b=a4_0x30aa;return _0xd6108a[_0x3aa76b(0x1bc)](this,arguments)[_0x3aa76b(0x185)](_0x105e49=>{const _0x2f6efd=_0x3aa76b;return PlaywrightSessionDetails[_0x2f6efd(0x199)](_0x105e49,null),_0x105e49;});};}});};class O11yHelper{['currentTest']=null;[a4_0x440f82(0x1c7)]=null;['enabled']=![];[a4_0x440f82(0x11f)]=![];constructor(_0x317592,_0x57c068){const _0x46b67b=a4_0x440f82,_0x2a14d0={'WXxHR':_0x46b67b(0x192),'DrEwf':function(_0x4c09df,_0x26cdb6){return _0x4c09df===_0x26cdb6;},'kXSCT':'Playwright','GSbub':function(_0x5ba41e,_0x488afa){return _0x5ba41e(_0x488afa);},'ITKmc':function(_0x377a5d){return _0x377a5d();},'dEuOb':function(_0x1ef4ef){return _0x1ef4ef();}},_0x36f33b=_0x2a14d0['WXxHR']['split']('|');let _0x256dfa=0x0;while(!![]){switch(_0x36f33b[_0x256dfa++]){case'0':this['_paths']=new testOpsHelper[(_0x46b67b(0x188))]({'cwd':process[_0x46b67b(0x1d1)]()},this['_testEnv'][_0x46b67b(0x12e)]);continue;case'1':this[_0x46b67b(0x175)]=_0x317592;continue;case'2':this[_0x46b67b(0x175)]&&_0x2a14d0[_0x46b67b(0x171)](this[_0x46b67b(0x175)][_0x46b67b(0x173)][_0x46b67b(0x1d0)],_0x2a14d0[_0x46b67b(0x1b6)])&&_0x2a14d0['GSbub'](mockPWBrowserType,null);continue;case'3':this['enabled']=_0x2a14d0[_0x46b67b(0x18b)](shouldProcessEventForTesthub);continue;case'4':this['frameworkName']=_0x57c068['frameworkName'];continue;case'5':this[_0x46b67b(0x135)]=_0x2a14d0[_0x46b67b(0x13c)](getTestEnv);continue;}break;}}[a4_0x440f82(0x1de)](){const _0x151056=a4_0x440f82;if(!this[_0x151056(0x196)])return;testOpsHelper[_0x151056(0x11d)](),process[_0x151056(0x1cc)]('bs:addLog:'+process['pid']),process['on'](_0x151056(0x1c6)+process['pid'],this[_0x151056(0x1d4)][_0x151056(0x10a)](this));}async[a4_0x440f82(0x110)](){await RequestQueueHandler['getInstance']()['shutdown']();}async[a4_0x440f82(0x1d4)](_0x165e35){const _0x3c1d33=a4_0x440f82,_0x1d3542={'Pngnq':_0x3c1d33(0x1e6),'HCKup':function(_0x4ef3b4,_0x35f976){return _0x4ef3b4(_0x35f976);}};try{this[_0x3c1d33(0x1c7)]&&!this['currentHook']['markedStatus']&&(_0x165e35[_0x3c1d33(0x153)]=this['currentHook']['hookAnalyticsId']);!_0x165e35[_0x3c1d33(0x153)]&&this[_0x3c1d33(0x106)]&&!this[_0x3c1d33(0x106)][_0x3c1d33(0x1ad)]&&(_0x165e35[_0x3c1d33(0x14e)]=this[_0x3c1d33(0x106)][_0x3c1d33(0x108)]);if(_0x165e35[_0x3c1d33(0x153)]||_0x165e35[_0x3c1d33(0x14e)]){const _0x436b57={};_0x436b57[_0x3c1d33(0x160)]=_0x1d3542[_0x3c1d33(0x1cb)],_0x436b57[_0x3c1d33(0x17e)]=[_0x165e35],await SessionHandler[_0x3c1d33(0x179)](_0x436b57);}}catch(_0x768628){_0x1d3542['HCKup'](debug,_0x3c1d33(0x1b0)+_0x768628);}}async[a4_0x440f82(0x118)](_0x2dbba8){const _0x28e729=a4_0x440f82,_0x1dceb6={'ZmIan':_0x28e729(0x1d3),'aieKg':function(_0x563380,_0x2707dc){return _0x563380(_0x2707dc);}};if(!this['enabled'])return;const _0x5fce8a=this[_0x28e729(0x100)](this[_0x28e729(0x175)]);try{const _0x48a408={};_0x48a408[_0x28e729(0x1b3)]=_0x2dbba8,_0x48a408['integrations']=_0x5fce8a;const _0x5251ec=_0x48a408,_0x4d72e6={};_0x4d72e6[_0x28e729(0x160)]=_0x1dceb6[_0x28e729(0x115)],_0x4d72e6[_0x28e729(0x165)]=_0x5251ec,await SessionHandler[_0x28e729(0x179)](_0x4d72e6);}catch(_0x20838a){_0x1dceb6[_0x28e729(0x1d5)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x20838a);}}[a4_0x440f82(0x100)](_0x49f2ff){const _0x2789cd=a4_0x440f82,_0x54ace3={'sgKOY':function(_0xd5719b,_0x64489c){return _0xd5719b(_0x64489c);}};return _0x54ace3[_0x2789cd(0x11b)](fetchPlatformDetails,_0x49f2ff);}['resetSkipTestHooks']=_0x123913=>{const _0x133078=a4_0x440f82,_0x172bc6={};_0x172bc6[_0x133078(0x1c0)]=_0x133078(0x1ce),_0x172bc6[_0x133078(0x1c3)]=_0x133078(0x140);const _0x2f4827=_0x172bc6;if(!_0x123913||!_0x123913['parent'])return;[_0x2f4827['wXekz'],_0x2f4827[_0x133078(0x1c3)]][_0x133078(0x186)](_0x46030a=>{const _0x54f2ee=_0x133078,_0x1362f0=_0x123913[_0x54f2ee(0x181)][_0x46030a];_0x1362f0['forEach'](_0x5342b4=>{const _0x3e45f4=_0x54f2ee;_0x5342b4['hookAnalyticsId']&&(_0x5342b4[_0x3e45f4(0x17a)]=null);});});};[a4_0x440f82(0x132)](_0x27e9aa){const _0x35e7b2=a4_0x440f82,_0x4c7152={'QogeF':_0x35e7b2(0x13b),'nJqpl':function(_0x1fff70){return _0x1fff70();},'eCKPf':function(_0x5345e6,_0x224992){return _0x5345e6===_0x224992;},'OfsRo':_0x35e7b2(0x140),'TQQsQ':_0x35e7b2(0x1a5),'BWoWJ':_0x35e7b2(0x1a2),'eulhF':_0x35e7b2(0x1ce)};if(!_0x27e9aa||!_0x27e9aa['parent'])return;[_0x4c7152['TQQsQ'],_0x4c7152[_0x35e7b2(0x19f)],_0x4c7152[_0x35e7b2(0x15a)],_0x4c7152['OfsRo']][_0x35e7b2(0x186)](_0x2daa3f=>{const _0x10f791=_0x35e7b2,_0x27e154=_0x27e9aa[_0x10f791(0x181)][_0x2daa3f]||[];_0x27e154[_0x10f791(0x186)](_0xbc5444=>{const _0x56c318=_0x10f791;if(_0xbc5444['title'][_0x56c318(0x1bd)](_0x4c7152[_0x56c318(0x1d8)]))return;if(!_0xbc5444[_0x56c318(0x17a)])_0xbc5444[_0x56c318(0x17a)]=_0x4c7152[_0x56c318(0x11a)](uuidv4);else _0xbc5444[_0x56c318(0x1ad)]&&_0x4c7152['eCKPf'](_0x2daa3f,_0x4c7152['OfsRo'])&&(_0xbc5444['hookAnalyticsId']=_0x4c7152['nJqpl'](uuidv4),delete _0xbc5444['markedStatus']);});}),this[_0x35e7b2(0x132)](_0x27e9aa[_0x35e7b2(0x181)]);}[a4_0x440f82(0x144)](_0x4f1d17){const _0x5b8c6d=a4_0x440f82,_0x20d162={};_0x20d162[_0x5b8c6d(0x1c8)]=_0x5b8c6d(0x1a5),_0x20d162[_0x5b8c6d(0x1df)]=_0x5b8c6d(0x1a2),_0x20d162[_0x5b8c6d(0x13f)]=_0x5b8c6d(0x1ce),_0x20d162[_0x5b8c6d(0x1c9)]=_0x5b8c6d(0x140);const _0x4bd071=_0x20d162;if(!_0x4f1d17||!_0x4f1d17[_0x5b8c6d(0x181)])return[];const _0x4fbfe3=[];return[_0x4bd071[_0x5b8c6d(0x1c8)],_0x4bd071[_0x5b8c6d(0x1df)],_0x4bd071[_0x5b8c6d(0x13f)],_0x4bd071[_0x5b8c6d(0x1c9)]][_0x5b8c6d(0x186)](_0x263d8a=>{const _0x39c817=_0x5b8c6d,_0x4330fc=_0x4f1d17[_0x39c817(0x181)][_0x263d8a]||[];_0x4330fc[_0x39c817(0x186)](_0x5df081=>{const _0x305c27=_0x39c817;_0x5df081[_0x305c27(0x17a)]&&_0x4fbfe3['push'](_0x5df081['hookAnalyticsId']);});}),[][_0x5b8c6d(0x120)](_0x4fbfe3,this[_0x5b8c6d(0x144)](_0x4f1d17[_0x5b8c6d(0x181)]));}[a4_0x440f82(0x164)](_0x2f2157){const _0x495778=a4_0x440f82,_0x8b613f=/^"(?<hook>.*)" hook:.*$/,_0x533a68=_0x2f2157[_0x495778(0x14d)],_0xe81f2f=_0x533a68[_0x495778(0x1e5)](_0x8b613f);if(_0xe81f2f&&_0xe81f2f[_0x495778(0x141)])return _0xe81f2f[_0x495778(0x141)]['hook'][_0x495778(0x142)]()['replace']('\x20','_');return null;}['findGitConfig'](_0x553b2a){const _0x47ec65=a4_0x440f82,_0x4d29da={};_0x4d29da[_0x47ec65(0x1b9)]=function(_0x53ed19,_0x928a37){return _0x53ed19===_0x928a37;},_0x4d29da[_0x47ec65(0x101)]=function(_0x9a7137,_0x4605f0){return _0x9a7137===_0x4605f0;},_0x4d29da[_0x47ec65(0x1a7)]=_0x47ec65(0x1b2),_0x4d29da[_0x47ec65(0x19a)]=_0x47ec65(0x10f);const _0x28aeb2=_0x4d29da,_0xca5a42=path[_0x47ec65(0xfc)];if(_0x28aeb2[_0x47ec65(0x1b9)](_0x553b2a,null)||_0x28aeb2['YhYGn'](_0x553b2a,'')||_0x28aeb2[_0x47ec65(0x1b9)](_0x553b2a,_0xca5a42)||_0x28aeb2[_0x47ec65(0x1b9)](_0x553b2a,path[_0x47ec65(0x18a)](_0x553b2a)))return null;try{return fs[_0x47ec65(0x18f)](path[_0x47ec65(0x136)](_0x553b2a,_0x28aeb2[_0x47ec65(0x1a7)],_0x28aeb2[_0x47ec65(0x19a)])),_0x553b2a;}catch(_0x1d4e62){const _0x302f0d=path[_0x47ec65(0x18a)](_0x553b2a);return this[_0x47ec65(0x19e)](_0x302f0d);}}['getRootParentFile'](_0x5366e4){const _0x176409=a4_0x440f82,_0x4f11e7={};_0x4f11e7[_0x176409(0x11e)]=function(_0x2b47e3,_0xca5c99){return _0x2b47e3>_0xca5c99;};const _0x469ffc=_0x4f11e7;if(_0x5366e4[_0x176409(0x1ae)])return _0x5366e4[_0x176409(0x1ae)];if(_0x5366e4[_0x176409(0x14c)]){const _0x9c61c2=_0x5366e4[_0x176409(0x14c)]['currentTest']?this[_0x176409(0x129)](_0x5366e4[_0x176409(0x14c)]['currentTest']):null;if(_0x9c61c2)return _0x9c61c2;}if(_0x5366e4[_0x176409(0x181)]){const _0xe3b71f=this['getRootParentFile'](_0x5366e4[_0x176409(0x181)])||(_0x5366e4[_0x176409(0x181)][_0x176409(0x14c)]&&_0x5366e4[_0x176409(0x181)][_0x176409(0x14c)][_0x176409(0x106)]?this[_0x176409(0x129)](_0x5366e4['parent'][_0x176409(0x14c)][_0x176409(0x106)]):null);if(_0xe3b71f)return _0xe3b71f;_0x5366e4[_0x176409(0x181)][_0x176409(0x14f)]&&_0x469ffc[_0x176409(0x11e)](_0x5366e4[_0x176409(0x181)][_0x176409(0x14f)][_0x176409(0x102)],0x0)&&_0x5366e4[_0x176409(0x181)][_0x176409(0x14f)][_0x176409(0x186)](_0x16ee0e=>{const _0x510fd8=_0x176409,_0x5e19ed=_0x16ee0e['ctx']?this[_0x510fd8(0x129)](_0x16ee0e[_0x510fd8(0x14c)]):null;if(_0x5e19ed)return _0x5e19ed;});}return null;}[a4_0x440f82(0x124)](_0x4e0a9f){const _0x356647=a4_0x440f82,_0x4150d3={};_0x4150d3[_0x356647(0x1b8)]=function(_0x1ab56f,_0x2b0133){return _0x1ab56f!==_0x2b0133;};const _0x585bd4=_0x4150d3,_0x4ea241=[];if(_0x4e0a9f&&_0x4e0a9f[_0x356647(0x181)]){let _0x2cc792=_0x4e0a9f[_0x356647(0x181)];while(_0x2cc792&&_0x585bd4[_0x356647(0x1b8)](_0x2cc792[_0x356647(0x14d)],'')){_0x4ea241['push'](_0x2cc792[_0x356647(0x14d)]),_0x2cc792=_0x2cc792['parent'];}}return _0x4ea241;}[a4_0x440f82(0x1c4)](_0x2c3746,_0x4bd3b3,_0x4009b1=undefined){const _0x548a3c=a4_0x440f82,_0x37aa13={'dfvsp':function(_0x7d2029,_0x1e9c44){return _0x7d2029(_0x1e9c44);},'NbhWO':function(_0x4c5d3a){return _0x4c5d3a();},'zVTKK':function(_0xe91e4f){return _0xe91e4f();},'WyPYR':_0x548a3c(0x1d7),'RiEzN':_0x548a3c(0x113),'kcDQg':function(_0x55c87d,_0x35347a){return _0x55c87d!==_0x35347a;},'sQOuc':_0x548a3c(0x18c),'fEjzK':_0x548a3c(0x1a6),'PQcLU':_0x548a3c(0x191),'DpVLb':_0x548a3c(0x155),'xSKyb':_0x548a3c(0x1a3),'llVwT':_0x548a3c(0x194),'Esdpt':function(_0x431db2,_0x52fe0e){return _0x431db2-_0x52fe0e;},'pIMFc':function(_0x366db9,_0x263f2b,_0x10336c,_0x2b4254,_0x46fbaa){return _0x366db9(_0x263f2b,_0x10336c,_0x2b4254,_0x46fbaa);},'Kbvrr':function(_0x44df88,_0x8b03c){return _0x44df88!==_0x8b03c;},'wPHph':'integrations','rzIYH':'meta','aPVJp':_0x548a3c(0x15c),'zmsCM':_0x548a3c(0x1e7),'SAOcr':_0x548a3c(0x104),'LPCFm':_0x548a3c(0x103),'puWwt':_0x548a3c(0x10e),'lHqMY':function(_0x27b076,_0x1a3d7e){return _0x27b076===_0x1a3d7e;},'yBaPN':_0x548a3c(0x116),'FWCKs':'test_run'};if(!this['enabled'])return;try{if(_0x4bd3b3['fn']&&_0x4bd3b3['fn'][_0x548a3c(0x1d2)]()[_0x548a3c(0x1e5)](/browserstack internal helper hook/))return;const _0x1d83a2=_0x37aa13['dfvsp'](parseEvent,_0x2c3746);if(!_0x1d83a2)return;if(_0x1d83a2[_0x548a3c(0x10b)]){this[_0x548a3c(0x106)]=_0x4bd3b3,this[_0x548a3c(0x1c7)]=null;if(_0x1d83a2[_0x548a3c(0x12d)]||_0x1d83a2[_0x548a3c(0x1a3)]){_0x4bd3b3[_0x548a3c(0x1c5)]=new Date(),_0x4bd3b3[_0x548a3c(0x1ad)]=![];if(!_0x4bd3b3[_0x548a3c(0x108)])_0x4bd3b3['testAnalyticsId']=_0x37aa13[_0x548a3c(0x1dc)](uuidv4);else _0x4bd3b3[_0x548a3c(0x1ad)]&&(!_0x4bd3b3['retryOf']&&(_0x4bd3b3[_0x548a3c(0x1d9)]=_0x4bd3b3[_0x548a3c(0x108)]),_0x4bd3b3['testAnalyticsId']=_0x37aa13[_0x548a3c(0xfa)](uuidv4));}}else{if(_0x1d83a2[_0x548a3c(0x1e0)]){this[_0x548a3c(0x1c7)]=_0x4bd3b3;if(_0x1d83a2[_0x548a3c(0x12d)]){_0x4bd3b3[_0x548a3c(0x1c5)]=new Date(),_0x4bd3b3[_0x548a3c(0x1ad)]=![];if(!_0x4bd3b3[_0x548a3c(0x17a)])_0x4bd3b3[_0x548a3c(0x17a)]=_0x37aa13[_0x548a3c(0x1dc)](uuidv4);else _0x4bd3b3[_0x548a3c(0x17a)]&&_0x4bd3b3[_0x548a3c(0x1ad)]&&(_0x4bd3b3[_0x548a3c(0x17a)]=_0x37aa13['zVTKK'](uuidv4));}}}if(_0x1d83a2[_0x548a3c(0x182)]&&_0x4bd3b3['markedStatus'])return;let _0x5e3818;try{_0x5e3818=this[_0x548a3c(0x129)](_0x4bd3b3);}catch(_0x13d6a0){logger[_0x548a3c(0x1a8)]('failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x13d6a0),_0x5e3818=null;}const _0x2b89a7=_0x37aa13['dfvsp'](require,_0x37aa13[_0x548a3c(0x121)]);let _0x11b8c7=[];_0x4009b1&&(_0x11b8c7=[_0x4009b1,_0x37aa13[_0x548a3c(0x1ba)]]);const _0x661170=_0x37aa13[_0x548a3c(0x176)](_0x4bd3b3['errorsDetailed'],undefined)?_0x2b89a7[_0x548a3c(0x130)](_0x4bd3b3[_0x548a3c(0x15f)][0x0]):_0x37aa13[_0x548a3c(0x176)](_0x4009b1,undefined)?_0x4009b1['toString']():undefined,_0x51d84d=_0x5e3818?this['findGitConfig'](_0x5e3818):null,_0x404241=_0x5e3818?this[_0x548a3c(0x112)][_0x548a3c(0x1cd)](this[_0x548a3c(0x129)](_0x4bd3b3)):_0x37aa13[_0x548a3c(0x145)];let _0x296aa1=_0x37aa13[_0x548a3c(0x156)];const _0x2e6c4f=!_0x1d83a2[_0x548a3c(0x12d)]?new Date()[_0x548a3c(0x16b)]():null;if(_0x1d83a2[_0x548a3c(0x182)])_0x296aa1=_0x4009b1?_0x37aa13[_0x548a3c(0x1ab)]:_0x37aa13[_0x548a3c(0x1c1)],_0x4bd3b3[_0x548a3c(0x1ad)]=!![];else _0x1d83a2[_0x548a3c(0x1a3)]&&(_0x296aa1=_0x37aa13['xSKyb'],_0x4bd3b3[_0x548a3c(0x1ad)]=!![]);const _0x3e854d={'framework':this[_0x548a3c(0x11f)],'uuid':_0x4bd3b3[_0x548a3c(0x108)]||_0x4bd3b3[_0x548a3c(0x17a)],'name':_0x4bd3b3['title'],'body':{'lang':_0x37aa13['llVwT'],'code':_0x4bd3b3[_0x548a3c(0x154)][_0x548a3c(0x1d2)]()},'type':_0x4bd3b3[_0x548a3c(0x17c)],'scope':_0x4bd3b3[_0x548a3c(0x12a)](),'scopes':this[_0x548a3c(0x124)](_0x4bd3b3),'file_name':_0x404241,'vc_filepath':_0x51d84d?path[_0x548a3c(0xff)](_0x51d84d,_0x5e3818):null,'location':_0x404241,'result':_0x296aa1,'failure_reason':_0x661170,'duration_in_ms':_0x4bd3b3[_0x548a3c(0x15e)]||(_0x1d83a2[_0x548a3c(0x182)]||_0x1d83a2[_0x548a3c(0x1a3)])?_0x37aa13[_0x548a3c(0x14a)](Date[_0x548a3c(0x1c2)](),new Date(_0x4bd3b3[_0x548a3c(0x1c5)])[_0x548a3c(0x105)]()):null,'started_at':new Date(_0x4bd3b3[_0x548a3c(0x1c5)])[_0x548a3c(0x16b)](),'finished_at':_0x2e6c4f,'failure':testOpsHelper[_0x548a3c(0x197)][_0x548a3c(0x1bc)](null,_0x11b8c7),'failure_type':!_0x661170?null:testOpsHelper[_0x548a3c(0x19c)](_0x661170),'retry_of':_0x4bd3b3[_0x548a3c(0x1d9)]||null,'tags':_0x4bd3b3[_0x548a3c(0x17f)]||[],'customRerunParam':{'rerun_name':_0x4bd3b3[_0x548a3c(0x12a)]()}};_0x37aa13[_0x548a3c(0x1a0)](appendTesthubParams,_0x3e854d,_0x2c3746,_0x4bd3b3,FRAMEWORKS[_0x548a3c(0x1af)]);if(_0x1d83a2['hook'])[_0x3e854d[_0x548a3c(0x133)],_0x3e854d['name']]=[this[_0x548a3c(0x164)](_0x4bd3b3),_0x4bd3b3[_0x548a3c(0x14c)][_0x548a3c(0x10b)][_0x548a3c(0x14d)]],_0x1d83a2['finished']?_0x37aa13[_0x548a3c(0x13d)](_0x3e854d['result'],_0x37aa13['PQcLU'])&&(_0x3e854d['result']=_0x37aa13['DpVLb']):_0x3e854d[_0x548a3c(0x154)]={};else _0x1d83a2[_0x548a3c(0x10b)]&&(this[_0x548a3c(0x132)](_0x4bd3b3),_0x1d83a2[_0x548a3c(0x1a3)]&&this[_0x548a3c(0x13a)](_0x4bd3b3),(_0x1d83a2['finished']||_0x1d83a2[_0x548a3c(0x1a3)])&&(_0x3e854d['hooks']=this[_0x548a3c(0x144)](_0x4bd3b3)));this[_0x548a3c(0x175)]&&(_0x1d83a2[_0x548a3c(0x12d)]||_0x1d83a2[_0x548a3c(0x1a3)])&&(_0x3e854d[_0x37aa13[_0x548a3c(0x1e8)]]=this[_0x548a3c(0x100)](this[_0x548a3c(0x175)]));_0x1d83a2[_0x548a3c(0x10b)]&&_0x1d83a2[_0x548a3c(0x182)]&&_0x4bd3b3[_0x548a3c(0x117)]&&(_0x3e854d[_0x37aa13[_0x548a3c(0x1dd)]]={'feature':{'name':_0x4bd3b3[_0x548a3c(0x181)][_0x548a3c(0x15b)]['name'],'path':_0x3e854d[_0x548a3c(0x16e)],'description':_0x4bd3b3[_0x548a3c(0x181)][_0x548a3c(0x11c)]},'scenario':{'name':_0x4bd3b3[_0x548a3c(0x14d)]},'steps':_0x4bd3b3[_0x548a3c(0x117)]});const _0x508e56=_0x3e854d[_0x37aa13[_0x548a3c(0x170)]][0x0];_0x508e56&&(_0x3e854d[_0x37aa13[_0x548a3c(0x123)]]=_0x508e56[_0x37aa13['SAOcr']],_0x3e854d[_0x37aa13['LPCFm']]=_0x508e56[_0x37aa13['puWwt']]);if(_0x4bd3b3['bddSteps'])for(const _0x36f190 of _0x4bd3b3[_0x548a3c(0x117)]){!_0x36f190[_0x548a3c(0x1a1)]&&(_0x36f190[_0x548a3c(0x1a1)]=new Date()['toISOString'](),_0x37aa13[_0x548a3c(0x16f)](_0x36f190[_0x548a3c(0xfe)],_0x37aa13[_0x548a3c(0x156)])&&(_0x508e56?(_0x36f190['result']=_0x37aa13['PQcLU'],_0x36f190[_0x548a3c(0x15c)]=_0x508e56[_0x37aa13[_0x548a3c(0x16a)]][0x0]):_0x36f190[_0x548a3c(0xfe)]=_0x37aa13['DpVLb']));}const _0x1ba2bb={};_0x1ba2bb[_0x548a3c(0x160)]=_0x1d83a2[_0x548a3c(0x1a3)]?TEST_EVENTS['TEST_RUN_FINISHED']:_0x2c3746;const _0x45b7b5=_0x1ba2bb;return _0x1d83a2['hook']?_0x45b7b5[_0x37aa13['yBaPN']]=_0x3e854d:_0x45b7b5[_0x37aa13[_0x548a3c(0x158)]]=_0x3e854d,_0x45b7b5;}catch(_0x42ca19){logger[_0x548a3c(0x1a8)](_0x548a3c(0x16d)+_0x2c3746+_0x548a3c(0x122)+_0x42ca19);}}async[a4_0x440f82(0x1aa)](_0x13a2ea,_0x355380){const _0xeb529a=a4_0x440f82;if(!this[_0xeb529a(0x196)]||!_0x355380||!_0x13a2ea)return![];try{return await SessionHandler[_0xeb529a(0x179)](_0x355380);}catch(_0x739bb7){logger[_0xeb529a(0x1a8)](_0xeb529a(0x131)+_0x13a2ea+_0xeb529a(0x122)+_0x739bb7);}}[a4_0x440f82(0x169)](_0x2a65cd){const _0x58711c=a4_0x440f82,_0x239428={};_0x239428['Mkjmd']=_0x58711c(0x1a6);const _0x529810=_0x239428;return{'id':_0x2a65cd[_0x58711c(0x111)],'text':_0x2a65cd[_0x58711c(0x148)],'keyword':_0x2a65cd[_0x58711c(0x198)],'started_at':_0x2a65cd[_0x58711c(0x1c5)][_0x58711c(0x16b)](),'result':_0x529810['Mkjmd']};}[a4_0x440f82(0x1b1)](_0x3bb7fb){const _0x34d179=a4_0x440f82,_0x591c88={'OYcLI':function(_0x1fb8b7){return _0x1fb8b7();}};!this[_0x34d179(0x106)][_0x34d179(0x117)]&&(this[_0x34d179(0x106)][_0x34d179(0x117)]=[]),!_0x3bb7fb[_0x34d179(0x111)]&&(_0x3bb7fb[_0x34d179(0x111)]=_0x591c88[_0x34d179(0x149)](uuidv4),_0x3bb7fb[_0x34d179(0x1c5)]=new Date(),this[_0x34d179(0x106)][_0x34d179(0x117)]['push'](this[_0x34d179(0x169)](_0x3bb7fb)));}[a4_0x440f82(0x1da)](_0x573720){const _0x3f332e=a4_0x440f82,_0x4340a8={'JFduo':function(_0x5ecafb,_0x886bfa){return _0x5ecafb(_0x886bfa);},'fdxQC':_0x3f332e(0x10d),'VgSoD':'pending','RSGvz':_0x3f332e(0x155),'oywCp':function(_0x2d1688,_0x1f33a5){return _0x2d1688-_0x1f33a5;}};let _0x184a1c=this[_0x3f332e(0x106)][_0x3f332e(0x117)][_0x3f332e(0x19b)](_0x440d6f=>_0x440d6f['id']===_0x573720[_0x3f332e(0x111)]);_0x4340a8[_0x3f332e(0x147)](isUndefined,_0x184a1c)&&(_0x184a1c=this[_0x3f332e(0x169)](_0x573720)),_0x184a1c[_0x3f332e(0xfe)]=[_0x4340a8['fdxQC'],_0x4340a8[_0x3f332e(0x107)]][_0x3f332e(0x1bd)](_0x573720['status'])?_0x4340a8['RSGvz']:_0x573720[_0x3f332e(0x157)],_0x184a1c[_0x3f332e(0x1a1)]=new Date()[_0x3f332e(0x16b)](),_0x184a1c[_0x3f332e(0x15e)]=_0x4340a8[_0x3f332e(0x1b4)](Date[_0x3f332e(0x1c2)](),_0x573720[_0x3f332e(0x1c5)][_0x3f332e(0x105)]()),_0x184a1c[_0x3f332e(0x15c)]=_0x573720[_0x3f332e(0x113)]?_0x573720[_0x3f332e(0x113)]['message']:null;}}function a4_0x3014(){const _0x54249a=['fireEvent','PQcLU','prototype','markedStatus','file','CODECEPT','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','bddStepStart','.git','uuid','oywCp','../../helpers/test-observability/utils','kXSCT','VygFE','lXgOX','kAPlj','RiEzN','11137TyAkbo','apply','includes','DGCIp','RpQyS','wXekz','DpVLb','now','AEznb','captureEvent','startedAt','bs:addLog:','currentHook','VxkzV','BjnRc','gSHNA','Pngnq','removeAllListeners','prefixTestPath','_beforeEach','1054389fwCVvY','name','cwd','toString','CBTSessionCreated','appendTestItemLog','aieKg','../../helpers/helper','util','QogeF','retryOf','bddStepFinish','NfPVH','NbhWO','rzIYH','start','YCEFl','hook','../../helpers/logger','fuvEJ','aBmjC','toLowerCase','match','LogCreated','failure_backtrace','wPHph','zVTKK','HOOK_RUN_FINISHED','sep','HookRunFinished','result','relative','getCBTInfo','YhYGn','length','failure_reason_expanded','backtrace','getTime','currentTest','VgSoD','testAnalyticsId','Not\x20able\x20to\x20import\x20Browser','bind','test','../../helpers/testhub/utils.js','success','expanded','config','stop','stepAnalyticsId','_paths','err','../../helpers/test-observability/constants','ZmIan','hook_run','bddSteps','sendCBTInfo','6716220wBfYWC','nJqpl','sgKOY','comment','patchConsoleLogger','wgAnE','frameworkName','concat','WyPYR','\x20with\x20error\x20:\x20','zmsCM','getHierarchy','TEST_RUN_STARTED','client','O11yHelper','../mocha/test-observability/mochaUtils','getRootParentFile','fullTitle','wsEndpoint','../playwright/sessionDetails','started','location_prefix','106108ZzCLVt','inspect','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','mapTestHooks','hook_type','STATE_PASSED','_testEnv','join','browserType.js','LZArr','CtEql','resetSkipTestHooks','codeceptjs','dEuOb','Kbvrr','IvwIY','ESFBC','_afterEach','groups','toUpperCase','connect','getHooksForTest','sQOuc','GmNbR','JFduo','text','OYcLI','Esdpt','906offxln','ctx','title','test_run_uuid','suites','./helper.js','../utils/constants','TEST_RUN_SKIPPED','hook_run_uuid','body','passed','fEjzK','status','FWCKs','2DNYHZq','eulhF','feature','failure','nZSXg','duration','errorsDetailed','event_type','1622304szhLfk','GnxYy','exports','getHookType','test_run','lib','connectOverCDP','4sEmlwi','initializeBddStep','SAOcr','toISOString','1051210fzwecc','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','file_name','lHqMY','aPVJp','DrEwf','UJEzv','constructor','STATE_FAILED','driver','kcDQg','accessibilityPlatform','nOwgB','uploadEventData','hookAnalyticsId','kKFYe','type','../../helpers/test-observability/requestQueueHandler','logs','tags','CUzUs','parent','finished','path','Failed\x20to\x20parse\x20wsendpoint\x20','then','forEach','TestRunFinished','PathHelper','launch','dirname','ITKmc','File\x20path\x20could\x20not\x20be\x20found','270608gwnpzD','defineProperty','statSync','avqEH','failed','3|4|1|5|0|2','IVTZO','javascript','BrowserType','enabled','failureData','keyword','setupBrowserDetails','VADUq','find','getFailureType','jnNuP','findGitConfig','BWoWJ','pIMFc','finished_at','_afterAll','skipped','../playwright/accessibility-helper','_beforeAll','pending','QcNwg','debug','TestRunStarted'];a4_0x3014=function(){return _0x54249a;};return a4_0x3014();}function a4_0x30aa(_0x370f5e,_0x4d2e2f){const _0x30143b=a4_0x3014();return a4_0x30aa=function(_0x30aa01,_0x7df8aa){_0x30aa01=_0x30aa01-0xfa;let _0xbce612=_0x30143b[_0x30aa01];return _0xbce612;},a4_0x30aa(_0x370f5e,_0x4d2e2f);}const a4_0x20bc66={};a4_0x20bc66[a4_0x440f82(0x127)]=O11yHelper,a4_0x20bc66[a4_0x440f82(0x134)]=STATE_PASSED,a4_0x20bc66[a4_0x440f82(0x174)]=STATE_FAILED,a4_0x20bc66['TEST_EVENTS']=TEST_EVENTS,module[a4_0x440f82(0x163)]=a4_0x20bc66;
|
|
1
|
+
const a4_0x2205ca=a4_0x2cb4;function a4_0x2cb4(_0x64a768,_0x5b2ed8){const _0x2b255a=a4_0x2b25();return a4_0x2cb4=function(_0x2cb47e,_0x52d9f4){_0x2cb47e=_0x2cb47e-0xa7;let _0x577120=_0x2b255a[_0x2cb47e];return _0x577120;},a4_0x2cb4(_0x64a768,_0x5b2ed8);}(function(_0x3d2627,_0x105b39){const _0x4d6f84=a4_0x2cb4,_0x2ffda=_0x3d2627();while(!![]){try{const _0x47ec01=-parseInt(_0x4d6f84(0xcc))/0x1+parseInt(_0x4d6f84(0xad))/0x2+-parseInt(_0x4d6f84(0xc5))/0x3*(parseInt(_0x4d6f84(0x16d))/0x4)+parseInt(_0x4d6f84(0x14e))/0x5+-parseInt(_0x4d6f84(0x148))/0x6*(-parseInt(_0x4d6f84(0x150))/0x7)+-parseInt(_0x4d6f84(0xf2))/0x8+parseInt(_0x4d6f84(0x149))/0x9;if(_0x47ec01===_0x105b39)break;else _0x2ffda['push'](_0x2ffda['shift']());}catch(_0x3e1014){_0x2ffda['push'](_0x2ffda['shift']());}}}(a4_0x2b25,0xe5c3e));const path=require(a4_0x2205ca(0xc8)),fs=require('fs'),{v4:uuidv4}=require(a4_0x2205ca(0x126)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x2205ca(0xfc)),testOpsHelper=require('../../helpers/test-observability/utils'),{getTestEnv}=require(a4_0x2205ca(0xaf)),{FRAMEWORKS}=require(a4_0x2205ca(0xaa)),logger=require('../../helpers/logger')[a4_0x2205ca(0x131)],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require(a4_0x2205ca(0x163)),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper[a4_0x2205ca(0x101)],{processAccessibilityCaps}=require(a4_0x2205ca(0x115)),Constants=require(a4_0x2205ca(0xdd)),{fetchPlatformDetails}=require(a4_0x2205ca(0x161)),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),STATE_PASSED='passed',STATE_FAILED='failed',a4_0x113121={};a4_0x113121[a4_0x2205ca(0xe6)]=a4_0x2205ca(0x156),a4_0x113121[a4_0x2205ca(0x107)]='TestRunFinished',a4_0x113121[a4_0x2205ca(0x172)]=a4_0x2205ca(0x12d),a4_0x113121['HOOK_RUN_STARTED']=a4_0x2205ca(0x182),a4_0x113121[a4_0x2205ca(0x16f)]='HookRunFinished';const TEST_EVENTS=a4_0x113121,parseEvent=_0x3ae981=>{const _0x3a79f2=a4_0x2205ca,_0x41aa2a={};_0x41aa2a[_0x3a79f2(0x100)]=function(_0x13e46a,_0x1ae666){return _0x13e46a<_0x1ae666;},_0x41aa2a[_0x3a79f2(0x177)]=function(_0xa6d0ed,_0x5e7bed){return _0xa6d0ed===_0x5e7bed;},_0x41aa2a[_0x3a79f2(0x187)]='test',_0x41aa2a['fiFLf']='hook',_0x41aa2a[_0x3a79f2(0x17e)]=_0x3a79f2(0x160),_0x41aa2a['joHbk']=function(_0x3f4c47,_0xa76408){return _0x3f4c47===_0xa76408;},_0x41aa2a[_0x3a79f2(0x104)]=_0x3a79f2(0x183),_0x41aa2a[_0x3a79f2(0x164)]=function(_0x3f449d,_0x295097){return _0x3f449d===_0x295097;},_0x41aa2a[_0x3a79f2(0x13e)]=_0x3a79f2(0x173);const _0x1140ce=_0x41aa2a,_0x2b5e6e=_0x3ae981['match'](/^(.*)Run(.*)$/);if(!_0x2b5e6e)return null;if(_0x1140ce[_0x3a79f2(0x100)](_0x2b5e6e[_0x3a79f2(0x109)],0x3))return null;const _0x4b0e99=_0x2b5e6e[0x1][_0x3a79f2(0xf1)](),_0x467f18=_0x2b5e6e[0x2][_0x3a79f2(0xf1)]();return{'test':_0x1140ce[_0x3a79f2(0x177)](_0x4b0e99,_0x1140ce['vKLoI']),'hook':_0x1140ce[_0x3a79f2(0x177)](_0x4b0e99,_0x1140ce[_0x3a79f2(0xb5)]),'skipped':_0x1140ce[_0x3a79f2(0x177)](_0x467f18,_0x1140ce[_0x3a79f2(0x17e)]),'started':_0x1140ce[_0x3a79f2(0xba)](_0x467f18,_0x1140ce[_0x3a79f2(0x104)]),'finished':_0x1140ce[_0x3a79f2(0x164)](_0x467f18,_0x1140ce['AtrLu'])};},mockPWBrowserType=_0x33ba33=>{const _0x345468=a4_0x2205ca,_0x68bf9e={'DtyGm':function(_0x2edad5,_0x4185d8){return _0x2edad5===_0x4185d8;},'DAsfk':_0x345468(0x14f),'yVwlI':function(_0x295a1c,_0x28e058,_0x16a8d9){return _0x295a1c(_0x28e058,_0x16a8d9);},'rGuud':'wsEndpoint','hDDrb':function(_0x10e6b1,_0x473ff9){return _0x10e6b1(_0x473ff9);},'hcKMg':_0x345468(0xf5),'lZGZI':function(_0x266275,_0x1022dc,_0x4438d8){return _0x266275(_0x1022dc,_0x4438d8);},'MCXsP':function(_0x357227,_0x4d273c){return _0x357227(_0x4d273c);},'CskHr':_0x345468(0xd5),'jOZNN':_0x345468(0x138),'yuXxc':_0x345468(0x14a),'mWftP':function(_0x3a0a6f,_0x614d2a){return _0x3a0a6f(_0x614d2a);},'HVBSz':function(_0x197996,_0x11cc30){return _0x197996(_0x11cc30);},'HUHHe':_0x345468(0xcb),'JmaRd':_0x345468(0x169),'GBIJt':'launch'},_0x26296e=path[_0x345468(0x17c)](_0x68bf9e['CskHr'],_0x68bf9e[_0x345468(0x114)],_0x68bf9e[_0x345468(0xe7)]),_0x3a8084=_0x68bf9e[_0x345468(0x192)](importFileFromPWCore,_0x26296e);if(!_0x3a8084){_0x68bf9e[_0x345468(0x11d)](debug,_0x68bf9e['HUHHe']);return;}const _0x26aad6=_0x3a8084[_0x345468(0xee)],_0x58444f=_0x26aad6[_0x345468(0xf9)];if(_0x58444f['obsBrowserTypeMockApplied'])return;const _0x501129=_0x58444f[_0x345468(0x169)];Object[_0x345468(0x16c)](_0x58444f,_0x68bf9e[_0x345468(0x17d)],{'get':function(){return async function _0x3b46d4(_0x56fe81,_0x26d5b8){const _0x19eeab=a4_0x2cb4,_0xa92f1a={'uWyWq':function(_0x3ad3ae,_0x23e3b5){const _0x490df6=a4_0x2cb4;return _0x68bf9e[_0x490df6(0x171)](_0x3ad3ae,_0x23e3b5);},'BdZDC':_0x68bf9e[_0x19eeab(0x159)]},_0x5f0d53=_0x68bf9e[_0x19eeab(0x16e)](nestedKeyValue,_0x56fe81,[_0x68bf9e[_0x19eeab(0xd4)]])||_0x56fe81;let _0x4604bf=null,_0x4355aa=null;try{[_0x4355aa,_0x4604bf]=_0x5f0d53?_0x68bf9e[_0x19eeab(0xe1)](parseWSEndpoint,_0x5f0d53):[null,null],global[_0x19eeab(0xf0)]=_0x4604bf,_0x4355aa[_0x19eeab(0xa8)](_0x68bf9e[_0x19eeab(0x193)])&&(global[_0x19eeab(0x146)]=_0x68bf9e[_0x19eeab(0x193)]);}catch(_0x1c73bf){logger[_0x19eeab(0x101)]('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x5f0d53+'\x20'+_0x1c73bf);}_0x68bf9e[_0x19eeab(0xd6)](processAccessibilityCaps,_0x4604bf,_0x4355aa);if(global[_0x19eeab(0x18a)]){const _0x41fabb=await _0x58444f['connectOverCDP'][_0x19eeab(0x120)](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0x68bf9e['MCXsP'](encodeURIComponent,JSON[_0x19eeab(0x13a)](_0x4604bf))]);return PlaywrightSessionDetails[_0x19eeab(0x129)](_0x41fabb,_0x33ba33,_0x5f0d53),_0x41fabb;}return _0x501129['apply'](this,arguments)['then'](_0x423e14=>{const _0x121410=_0x19eeab;let _0x38d48c=_0x56fe81[_0x121410(0xb6)];return _0xa92f1a[_0x121410(0x194)](typeof _0x56fe81,_0xa92f1a[_0x121410(0x11f)])&&(_0x38d48c=_0x56fe81),PlaywrightSessionDetails[_0x121410(0x129)](_0x423e14,_0x33ba33,_0x38d48c),_0x423e14;});};}});const _0x47d34d=_0x58444f[_0x345468(0x189)];Object[_0x345468(0x16c)](_0x58444f,_0x68bf9e['GBIJt'],{'get':function(){return async function _0x5f411b(){const _0x80f8ac=a4_0x2cb4;return _0x47d34d[_0x80f8ac(0x120)](this,arguments)[_0x80f8ac(0x134)](_0xd8a69d=>{const _0x4f561a=_0x80f8ac;return PlaywrightSessionDetails[_0x4f561a(0x129)](_0xd8a69d,null),_0xd8a69d;});};}});};class O11yHelper{[a4_0x2205ca(0xd8)]=null;['currentHook']=null;['enabled']=![];[a4_0x2205ca(0x14d)]=![];constructor(_0x140005,_0x5c1198){const _0x26d0dd=a4_0x2205ca,_0x12f9b4={'qNThK':'3|0|5|1|4|2','BhLsW':function(_0xf87124){return _0xf87124();},'htHTW':function(_0x24f4d0,_0x198454){return _0x24f4d0===_0x198454;},'mLblX':_0x26d0dd(0x127),'aVbsw':function(_0x1224fb,_0x456610){return _0x1224fb(_0x456610);},'vfgch':function(_0x48218c){return _0x48218c();}},_0x4e1571=_0x12f9b4[_0x26d0dd(0x18d)]['split']('|');let _0x363b91=0x0;while(!![]){switch(_0x4e1571[_0x363b91++]){case'0':this[_0x26d0dd(0x14d)]=_0x5c1198['frameworkName'];continue;case'1':this[_0x26d0dd(0x176)]=_0x12f9b4['BhLsW'](getTestEnv);continue;case'2':this['driver']&&_0x12f9b4['htHTW'](this[_0x26d0dd(0xd2)][_0x26d0dd(0xac)][_0x26d0dd(0x124)],_0x12f9b4['mLblX'])&&_0x12f9b4['aVbsw'](mockPWBrowserType,null);continue;case'3':this[_0x26d0dd(0x13c)]=_0x12f9b4[_0x26d0dd(0x166)](shouldProcessEventForTesthub);continue;case'4':this[_0x26d0dd(0x117)]=new testOpsHelper[(_0x26d0dd(0xe9))]({'cwd':process['cwd']()},this[_0x26d0dd(0x176)][_0x26d0dd(0x108)]);continue;case'5':this[_0x26d0dd(0xd2)]=_0x140005;continue;}break;}}['start'](){const _0xa6f38a=a4_0x2205ca;if(!this[_0xa6f38a(0x13c)])return;testOpsHelper[_0xa6f38a(0x15e)](),process[_0xa6f38a(0xb0)]('bs:addLog:'+process[_0xa6f38a(0xd1)]),process['on'](_0xa6f38a(0x147)+process[_0xa6f38a(0xd1)],this[_0xa6f38a(0x175)][_0xa6f38a(0x128)](this));}async['stop'](){const _0x4b658e=a4_0x2205ca;await RequestQueueHandler[_0x4b658e(0x188)]()[_0x4b658e(0x12e)]();}async[a4_0x2205ca(0x175)](_0x2408d5){const _0x1ab46c=a4_0x2205ca,_0x508868={'EJhhI':'LogCreated','VLbbP':function(_0x5123c6,_0x5ae75d){return _0x5123c6(_0x5ae75d);}};try{this[_0x1ab46c(0x186)]&&!this['currentHook'][_0x1ab46c(0xb8)]&&(_0x2408d5['hook_run_uuid']=this[_0x1ab46c(0x186)]['hookAnalyticsId']);!_0x2408d5[_0x1ab46c(0x118)]&&this[_0x1ab46c(0xd8)]&&!this['currentTest'][_0x1ab46c(0xb8)]&&(_0x2408d5['test_run_uuid']=this[_0x1ab46c(0xd8)][_0x1ab46c(0xb2)]);if(_0x2408d5[_0x1ab46c(0x118)]||_0x2408d5['test_run_uuid']){const _0x22325b={};_0x22325b[_0x1ab46c(0x10d)]=_0x508868['EJhhI'],_0x22325b[_0x1ab46c(0x136)]=[_0x2408d5],await SessionHandler['uploadEventData'](_0x22325b);}}catch(_0x33c435){_0x508868[_0x1ab46c(0x168)](debug,_0x1ab46c(0x13b)+_0x33c435);}}async[a4_0x2205ca(0x16b)](_0x17924a){const _0x5b8273=a4_0x2205ca,_0xb99076={'kcDOO':_0x5b8273(0xda),'tqhAw':function(_0x840f4b,_0x23e57e){return _0x840f4b(_0x23e57e);}};if(!this[_0x5b8273(0x13c)])return;const _0x6250c3=this[_0x5b8273(0x11b)](this[_0x5b8273(0xd2)]);try{const _0x491008={};_0x491008[_0x5b8273(0x126)]=_0x17924a,_0x491008[_0x5b8273(0x18f)]=_0x6250c3;const _0x19ed22=_0x491008,_0x3d71ed={};_0x3d71ed[_0x5b8273(0x10d)]=_0xb99076[_0x5b8273(0x174)],_0x3d71ed[_0x5b8273(0x10b)]=_0x19ed22,await SessionHandler['uploadEventData'](_0x3d71ed);}catch(_0x1273f8){_0xb99076[_0x5b8273(0x11e)](debug,_0x5b8273(0x102)+_0x1273f8);}}[a4_0x2205ca(0x11b)](_0xbfa3f0){const _0x5f04bb={'rhaCJ':function(_0x3ffaa1,_0x4283bf){return _0x3ffaa1(_0x4283bf);}};return _0x5f04bb['rhaCJ'](fetchPlatformDetails,_0xbfa3f0);}[a4_0x2205ca(0x13f)]=_0x27c010=>{const _0x4a752a=a4_0x2205ca,_0x1d8923={};_0x1d8923[_0x4a752a(0xf6)]=_0x4a752a(0x195),_0x1d8923[_0x4a752a(0x179)]=_0x4a752a(0x18b);const _0x49a22d=_0x1d8923;if(!_0x27c010||!_0x27c010[_0x4a752a(0x13d)])return;[_0x49a22d['CKRkX'],_0x49a22d[_0x4a752a(0x179)]][_0x4a752a(0xdb)](_0x37a6be=>{const _0x269ac2=_0x4a752a,_0x58a041=_0x27c010[_0x269ac2(0x13d)][_0x37a6be];_0x58a041[_0x269ac2(0xdb)](_0x397b78=>{const _0x23f1b2=_0x269ac2;_0x397b78[_0x23f1b2(0xef)]&&(_0x397b78['hookAnalyticsId']=null);});});};['mapTestHooks'](_0x3b7fcf){const _0x1dee64=a4_0x2205ca,_0x44c213={'ZXmkP':'codeceptjs','yXHcy':function(_0xc85a67){return _0xc85a67();},'pPyrL':function(_0x1fd484,_0x3d8dd9){return _0x1fd484===_0x3d8dd9;},'mnzHo':_0x1dee64(0x18b),'uGTwb':_0x1dee64(0xc2),'cdaYS':_0x1dee64(0x17b),'ekwsV':_0x1dee64(0x195)};if(!_0x3b7fcf||!_0x3b7fcf[_0x1dee64(0x13d)])return;[_0x44c213[_0x1dee64(0x12b)],_0x44c213[_0x1dee64(0xbf)],_0x44c213['ekwsV'],_0x44c213[_0x1dee64(0x11a)]][_0x1dee64(0xdb)](_0x4cb411=>{const _0x11b47b=_0x1dee64,_0x393173={'wgARB':_0x44c213[_0x11b47b(0x141)],'xtzWB':function(_0x8a587e){const _0x3846ff=_0x11b47b;return _0x44c213[_0x3846ff(0x17a)](_0x8a587e);},'kWvMq':function(_0x3954d2,_0x9a3130){return _0x44c213['pPyrL'](_0x3954d2,_0x9a3130);},'vMQjN':_0x44c213['mnzHo']},_0x12dbf6=_0x3b7fcf['parent'][_0x4cb411]||[];_0x12dbf6[_0x11b47b(0xdb)](_0x6304ee=>{const _0xd0108f=_0x11b47b;if(_0x6304ee[_0xd0108f(0x165)][_0xd0108f(0xa8)](_0x393173[_0xd0108f(0xae)]))return;if(!_0x6304ee[_0xd0108f(0xef)])_0x6304ee[_0xd0108f(0xef)]=_0x393173[_0xd0108f(0x190)](uuidv4);else _0x6304ee[_0xd0108f(0xb8)]&&_0x393173[_0xd0108f(0xe3)](_0x4cb411,_0x393173[_0xd0108f(0x170)])&&(_0x6304ee[_0xd0108f(0xef)]=_0x393173[_0xd0108f(0x190)](uuidv4),delete _0x6304ee[_0xd0108f(0xb8)]);});}),this[_0x1dee64(0x144)](_0x3b7fcf['parent']);}[a4_0x2205ca(0xf4)](_0x5c7b38){const _0x4e8823=a4_0x2205ca,_0xc3373={};_0xc3373['EneAs']=_0x4e8823(0xc2),_0xc3373[_0x4e8823(0x185)]=_0x4e8823(0x17b),_0xc3373['OXGJJ']=_0x4e8823(0x195),_0xc3373[_0x4e8823(0x10e)]=_0x4e8823(0x18b);const _0x5a10d1=_0xc3373;if(!_0x5c7b38||!_0x5c7b38[_0x4e8823(0x13d)])return[];const _0x3d07ff=[];return[_0x5a10d1['EneAs'],_0x5a10d1[_0x4e8823(0x185)],_0x5a10d1[_0x4e8823(0xe5)],_0x5a10d1[_0x4e8823(0x10e)]]['forEach'](_0x2691ad=>{const _0x4e036a=_0x4e8823,_0x5e8d36=_0x5c7b38[_0x4e036a(0x13d)][_0x2691ad]||[];_0x5e8d36['forEach'](_0x4410b8=>{const _0x2ad482=_0x4e036a;_0x4410b8[_0x2ad482(0xef)]&&_0x3d07ff[_0x2ad482(0xd9)](_0x4410b8[_0x2ad482(0xef)]);});}),[]['concat'](_0x3d07ff,this[_0x4e8823(0xf4)](_0x5c7b38[_0x4e8823(0x13d)]));}[a4_0x2205ca(0xcf)](_0x51310f){const _0x334fb8=a4_0x2205ca,_0x1ba3c6=/^"(?<hook>.*)" hook:.*$/,_0x164150=_0x51310f[_0x334fb8(0x165)],_0x350aa8=_0x164150['match'](_0x1ba3c6);if(_0x350aa8&&_0x350aa8[_0x334fb8(0x157)])return _0x350aa8['groups']['hook'][_0x334fb8(0xa9)]()[_0x334fb8(0x142)]('\x20','_');return null;}['findGitConfig'](_0x11fcb1){const _0x4f1daa=a4_0x2205ca,_0x23a402={};_0x23a402[_0x4f1daa(0x151)]=function(_0x23366a,_0x5c70da){return _0x23366a===_0x5c70da;},_0x23a402[_0x4f1daa(0x178)]=_0x4f1daa(0xc7),_0x23a402['rcaHy']=_0x4f1daa(0x140);const _0x573090=_0x23a402,_0x112dad=path['sep'];if(_0x573090['rrRQy'](_0x11fcb1,null)||_0x573090['rrRQy'](_0x11fcb1,'')||_0x573090[_0x4f1daa(0x151)](_0x11fcb1,_0x112dad)||_0x573090[_0x4f1daa(0x151)](_0x11fcb1,path[_0x4f1daa(0xab)](_0x11fcb1)))return null;try{return fs[_0x4f1daa(0xe0)](path[_0x4f1daa(0x17c)](_0x11fcb1,_0x573090[_0x4f1daa(0x178)],_0x573090[_0x4f1daa(0x184)])),_0x11fcb1;}catch(_0x5a265e){const _0x569f18=path[_0x4f1daa(0xab)](_0x11fcb1);return this['findGitConfig'](_0x569f18);}}['getRootParentFile'](_0x39302a){const _0x2a1e69=a4_0x2205ca,_0x2b8813={};_0x2b8813[_0x2a1e69(0x167)]=function(_0x1cc125,_0x4429be){return _0x1cc125>_0x4429be;};const _0x4eddac=_0x2b8813;if(_0x39302a[_0x2a1e69(0xc0)])return _0x39302a[_0x2a1e69(0xc0)];if(_0x39302a[_0x2a1e69(0x11c)]){const _0x18affb=_0x39302a[_0x2a1e69(0x11c)][_0x2a1e69(0xd8)]?this[_0x2a1e69(0x135)](_0x39302a[_0x2a1e69(0x11c)][_0x2a1e69(0xd8)]):null;if(_0x18affb)return _0x18affb;}if(_0x39302a['parent']){const _0x1ac304=this[_0x2a1e69(0x135)](_0x39302a[_0x2a1e69(0x13d)])||(_0x39302a[_0x2a1e69(0x13d)][_0x2a1e69(0x11c)]&&_0x39302a[_0x2a1e69(0x13d)][_0x2a1e69(0x11c)][_0x2a1e69(0xd8)]?this[_0x2a1e69(0x135)](_0x39302a[_0x2a1e69(0x13d)][_0x2a1e69(0x11c)][_0x2a1e69(0xd8)]):null);if(_0x1ac304)return _0x1ac304;_0x39302a['parent'][_0x2a1e69(0xb7)]&&_0x4eddac[_0x2a1e69(0x167)](_0x39302a[_0x2a1e69(0x13d)]['suites'][_0x2a1e69(0x109)],0x0)&&_0x39302a[_0x2a1e69(0x13d)]['suites'][_0x2a1e69(0xdb)](_0x1d79df=>{const _0x59b1e4=_0x2a1e69,_0x43d0c8=_0x1d79df['ctx']?this[_0x59b1e4(0x135)](_0x1d79df[_0x59b1e4(0x11c)]):null;if(_0x43d0c8)return _0x43d0c8;});}return null;}['getHierarchy'](_0x5db31f){const _0xf26f4=a4_0x2205ca,_0xeaf8d1={};_0xeaf8d1[_0xf26f4(0x121)]=function(_0xa6473d,_0x103c38){return _0xa6473d!==_0x103c38;};const _0xd0e9b1=_0xeaf8d1,_0x26c609=[];if(_0x5db31f&&_0x5db31f[_0xf26f4(0x13d)]){let _0x53548c=_0x5db31f[_0xf26f4(0x13d)];while(_0x53548c&&_0xd0e9b1['klIUB'](_0x53548c[_0xf26f4(0x165)],'')){_0x26c609[_0xf26f4(0xd9)](_0x53548c[_0xf26f4(0x165)]),_0x53548c=_0x53548c[_0xf26f4(0x13d)];}}return _0x26c609;}['captureEvent'](_0x5a277d,_0x43537b,_0x2ac4e6=undefined){const _0x5bb9ff=a4_0x2205ca,_0x24f877={'Bytxy':function(_0x42be0d,_0x2eadd5){return _0x42be0d(_0x2eadd5);},'gpMgs':function(_0x435bec){return _0x435bec();},'DVAgi':function(_0x2a04f4){return _0x2a04f4();},'NjpsY':_0x5bb9ff(0xc9),'RbahY':'err','ERKnz':function(_0x17b7f0,_0x160686){return _0x17b7f0!==_0x160686;},'gPaGR':function(_0x5ae68c,_0x303630){return _0x5ae68c!==_0x303630;},'gQlTa':_0x5bb9ff(0x130),'ynnHa':_0x5bb9ff(0x12a),'LGYEU':_0x5bb9ff(0x162),'FmFmv':'passed','xbCIJ':'skipped','YlZcE':'javascript','MXURy':function(_0x5db64b,_0xc0e7e2){return _0x5db64b-_0xc0e7e2;},'DGxWn':function(_0x852036,_0x5c059e,_0x43bc18,_0x5d614d,_0x44de03){return _0x852036(_0x5c059e,_0x43bc18,_0x5d614d,_0x44de03);},'ZlGuG':_0x5bb9ff(0x18f),'aywUq':_0x5bb9ff(0xbc),'HooWn':_0x5bb9ff(0x110),'XAdUg':_0x5bb9ff(0x197),'aInOB':_0x5bb9ff(0x16a),'bRfCY':_0x5bb9ff(0xfb),'DctSq':_0x5bb9ff(0x113),'hnvOI':function(_0x23b733,_0x4eea35){return _0x23b733===_0x4eea35;},'PixGB':_0x5bb9ff(0xd3),'eotAj':_0x5bb9ff(0x10b)};if(!this[_0x5bb9ff(0x13c)])return;try{if(_0x43537b['fn']&&_0x43537b['fn'][_0x5bb9ff(0x137)]()[_0x5bb9ff(0xb1)](/browserstack internal helper hook/))return;const _0x4e9f54=_0x24f877[_0x5bb9ff(0x103)](parseEvent,_0x5a277d);if(!_0x4e9f54)return;if(_0x4e9f54[_0x5bb9ff(0xde)]){this['currentTest']=_0x43537b,this[_0x5bb9ff(0x186)]=null;if(_0x4e9f54[_0x5bb9ff(0x183)]||_0x4e9f54[_0x5bb9ff(0x160)]){_0x43537b[_0x5bb9ff(0xfa)]=new Date(),_0x43537b[_0x5bb9ff(0xb8)]=![];if(!_0x43537b[_0x5bb9ff(0xb2)])_0x43537b[_0x5bb9ff(0xb2)]=_0x24f877[_0x5bb9ff(0x15d)](uuidv4);else _0x43537b[_0x5bb9ff(0xb8)]&&(!_0x43537b['retryOf']&&(_0x43537b[_0x5bb9ff(0xc4)]=_0x43537b[_0x5bb9ff(0xb2)]),_0x43537b[_0x5bb9ff(0xb2)]=_0x24f877[_0x5bb9ff(0x15d)](uuidv4));}}else{if(_0x4e9f54[_0x5bb9ff(0xf7)]){this[_0x5bb9ff(0x186)]=_0x43537b;if(_0x4e9f54['started']){_0x43537b['startedAt']=new Date(),_0x43537b[_0x5bb9ff(0xb8)]=![];if(!_0x43537b[_0x5bb9ff(0xef)])_0x43537b['hookAnalyticsId']=_0x24f877[_0x5bb9ff(0xbe)](uuidv4);else _0x43537b[_0x5bb9ff(0xef)]&&_0x43537b[_0x5bb9ff(0xb8)]&&(_0x43537b[_0x5bb9ff(0xef)]=_0x24f877[_0x5bb9ff(0x15d)](uuidv4));}}}if(_0x4e9f54['finished']&&_0x43537b[_0x5bb9ff(0xb8)])return;let _0x46c391;try{_0x46c391=this[_0x5bb9ff(0x135)](_0x43537b);}catch(_0x5209b8){logger['debug'](_0x5bb9ff(0x116)+_0x5209b8),_0x46c391=null;}const _0x3fd26d=_0x24f877[_0x5bb9ff(0x103)](require,_0x24f877[_0x5bb9ff(0x122)]);let _0x557a20=[];_0x2ac4e6&&(_0x557a20=[_0x2ac4e6,_0x24f877[_0x5bb9ff(0xe2)]]);const _0xb71107=_0x24f877[_0x5bb9ff(0xfd)](_0x43537b[_0x5bb9ff(0xf3)],undefined)?_0x3fd26d[_0x5bb9ff(0x14b)](_0x43537b[_0x5bb9ff(0xf3)][0x0]):_0x24f877[_0x5bb9ff(0x155)](_0x2ac4e6,undefined)?_0x2ac4e6[_0x5bb9ff(0x137)]():undefined,_0x126019=_0x46c391?this[_0x5bb9ff(0xfe)](_0x46c391):null,_0xb7e4d4=_0x46c391?this[_0x5bb9ff(0x117)][_0x5bb9ff(0x196)](this[_0x5bb9ff(0x135)](_0x43537b)):_0x24f877[_0x5bb9ff(0x105)];let _0x1a2760=_0x24f877[_0x5bb9ff(0xeb)];const _0x40560b=!_0x4e9f54['started']?new Date()[_0x5bb9ff(0xb4)]():null;if(_0x4e9f54['finished'])_0x1a2760=_0x2ac4e6?_0x24f877[_0x5bb9ff(0x180)]:_0x24f877['FmFmv'],_0x43537b[_0x5bb9ff(0xb8)]=!![];else _0x4e9f54[_0x5bb9ff(0x160)]&&(_0x1a2760=_0x24f877[_0x5bb9ff(0x158)],_0x43537b['markedStatus']=!![]);const _0x28cd06={'framework':this[_0x5bb9ff(0x14d)],'uuid':_0x43537b[_0x5bb9ff(0xb2)]||_0x43537b[_0x5bb9ff(0xef)],'name':_0x43537b['title'],'body':{'lang':_0x24f877[_0x5bb9ff(0x106)],'code':_0x43537b[_0x5bb9ff(0xb3)]['toString']()},'type':_0x43537b[_0x5bb9ff(0x12c)],'scope':_0x43537b['fullTitle'](),'scopes':this[_0x5bb9ff(0xf8)](_0x43537b),'file_name':_0xb7e4d4,'vc_filepath':_0x126019?path['relative'](_0x126019,_0x46c391):null,'location':_0xb7e4d4,'result':_0x1a2760,'failure_reason':_0xb71107,'duration_in_ms':_0x43537b[_0x5bb9ff(0xcd)]||(_0x4e9f54[_0x5bb9ff(0x173)]||_0x4e9f54[_0x5bb9ff(0x160)])?_0x24f877[_0x5bb9ff(0x15b)](Date[_0x5bb9ff(0x125)](),new Date(_0x43537b[_0x5bb9ff(0xfa)])['getTime']()):null,'started_at':new Date(_0x43537b[_0x5bb9ff(0xfa)])[_0x5bb9ff(0xb4)](),'finished_at':_0x40560b,'failure':testOpsHelper['failureData'][_0x5bb9ff(0x120)](null,_0x557a20),'failure_type':!_0xb71107?null:testOpsHelper[_0x5bb9ff(0x119)](_0xb71107),'retry_of':_0x43537b[_0x5bb9ff(0xc4)]||null,'tags':_0x43537b[_0x5bb9ff(0x18e)]||[],'customRerunParam':{'rerun_name':_0x43537b[_0x5bb9ff(0x10c)]()}};_0x24f877[_0x5bb9ff(0x10a)](appendTesthubParams,_0x28cd06,_0x5a277d,_0x43537b,FRAMEWORKS['CODECEPT']);if(_0x4e9f54[_0x5bb9ff(0xf7)])[_0x28cd06[_0x5bb9ff(0xe4)],_0x28cd06['name']]=[this[_0x5bb9ff(0xcf)](_0x43537b),_0x43537b[_0x5bb9ff(0x11c)]['test']['title']],_0x4e9f54[_0x5bb9ff(0x173)]?_0x24f877[_0x5bb9ff(0x155)](_0x28cd06[_0x5bb9ff(0xca)],_0x24f877['LGYEU'])&&(_0x28cd06['result']=_0x24f877[_0x5bb9ff(0x10f)]):_0x28cd06[_0x5bb9ff(0xb3)]={};else _0x4e9f54[_0x5bb9ff(0xde)]&&(this[_0x5bb9ff(0x144)](_0x43537b),_0x4e9f54[_0x5bb9ff(0x160)]&&this[_0x5bb9ff(0x13f)](_0x43537b),(_0x4e9f54['finished']||_0x4e9f54['skipped'])&&(_0x28cd06[_0x5bb9ff(0xdf)]=this[_0x5bb9ff(0xf4)](_0x43537b)));this[_0x5bb9ff(0xd2)]&&(_0x4e9f54['started']||_0x4e9f54[_0x5bb9ff(0x160)])&&(_0x28cd06[_0x24f877[_0x5bb9ff(0x15c)]]=this[_0x5bb9ff(0x11b)](this['driver']));_0x4e9f54[_0x5bb9ff(0xde)]&&_0x4e9f54[_0x5bb9ff(0x173)]&&_0x43537b[_0x5bb9ff(0x12f)]&&(_0x28cd06[_0x24f877[_0x5bb9ff(0x123)]]={'feature':{'name':_0x43537b[_0x5bb9ff(0x13d)][_0x5bb9ff(0x15f)][_0x5bb9ff(0x124)],'path':_0x28cd06[_0x5bb9ff(0x145)],'description':_0x43537b[_0x5bb9ff(0x13d)]['comment']},'scenario':{'name':_0x43537b[_0x5bb9ff(0x165)]},'steps':_0x43537b[_0x5bb9ff(0x12f)]});const _0x115b8b=_0x28cd06[_0x24f877[_0x5bb9ff(0x143)]][0x0];_0x115b8b&&(_0x28cd06[_0x24f877[_0x5bb9ff(0xff)]]=_0x115b8b[_0x24f877[_0x5bb9ff(0x181)]],_0x28cd06[_0x24f877[_0x5bb9ff(0x15a)]]=_0x115b8b[_0x24f877['DctSq']]);if(_0x43537b[_0x5bb9ff(0x12f)])for(const _0x553aeb of _0x43537b[_0x5bb9ff(0x12f)]){!_0x553aeb[_0x5bb9ff(0x154)]&&(_0x553aeb[_0x5bb9ff(0x154)]=new Date()['toISOString'](),_0x24f877[_0x5bb9ff(0x14c)](_0x553aeb[_0x5bb9ff(0xca)],_0x24f877[_0x5bb9ff(0xeb)])&&(_0x115b8b?(_0x553aeb[_0x5bb9ff(0xca)]=_0x24f877[_0x5bb9ff(0x180)],_0x553aeb[_0x5bb9ff(0x110)]=_0x115b8b[_0x24f877[_0x5bb9ff(0x181)]][0x0]):_0x553aeb[_0x5bb9ff(0xca)]=_0x24f877[_0x5bb9ff(0x10f)]));}const _0x141669={};_0x141669[_0x5bb9ff(0x10d)]=_0x4e9f54[_0x5bb9ff(0x160)]?TEST_EVENTS[_0x5bb9ff(0x107)]:_0x5a277d;const _0x2702f5=_0x141669;return _0x4e9f54[_0x5bb9ff(0xf7)]?_0x2702f5[_0x24f877[_0x5bb9ff(0x111)]]=_0x28cd06:_0x2702f5[_0x24f877['eotAj']]=_0x28cd06,_0x2702f5;}catch(_0x582e00){logger[_0x5bb9ff(0x101)]('Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x5a277d+_0x5bb9ff(0x152)+_0x582e00);}}async[a4_0x2205ca(0x153)](_0xa0f4b5,_0x3b7854){const _0x379c9e=a4_0x2205ca;if(!this[_0x379c9e(0x13c)]||!_0x3b7854||!_0xa0f4b5)return![];try{return await SessionHandler[_0x379c9e(0xb9)](_0x3b7854);}catch(_0x468fd5){logger[_0x379c9e(0x101)](_0x379c9e(0x112)+_0xa0f4b5+_0x379c9e(0x152)+_0x468fd5);}}[a4_0x2205ca(0x191)](_0x3803da){const _0x4af65d=a4_0x2205ca,_0x36133a={};_0x36133a['uFijA']=_0x4af65d(0x12a);const _0x43bcf7=_0x36133a;return{'id':_0x3803da[_0x4af65d(0x139)],'text':_0x3803da[_0x4af65d(0xe8)],'keyword':_0x3803da[_0x4af65d(0xbb)],'started_at':_0x3803da[_0x4af65d(0xfa)]['toISOString'](),'result':_0x43bcf7[_0x4af65d(0xc1)]};}['bddStepStart'](_0x4fe646){const _0x480e4e=a4_0x2205ca,_0x59721e={'HONbM':function(_0x5eb0ef){return _0x5eb0ef();}};!this[_0x480e4e(0xd8)][_0x480e4e(0x12f)]&&(this[_0x480e4e(0xd8)][_0x480e4e(0x12f)]=[]),!_0x4fe646[_0x480e4e(0x139)]&&(_0x4fe646[_0x480e4e(0x139)]=_0x59721e['HONbM'](uuidv4),_0x4fe646['startedAt']=new Date(),this['currentTest']['bddSteps'][_0x480e4e(0xd9)](this['initializeBddStep'](_0x4fe646)));}[a4_0x2205ca(0xa7)](_0x61ca92){const _0x44a496=a4_0x2205ca,_0x291f41={'vFAcz':function(_0x1f7f17,_0x309900){return _0x1f7f17(_0x309900);},'gliur':_0x44a496(0xc3),'fdQRS':_0x44a496(0x12a),'sonHb':'passed','VMPap':function(_0x3fe481,_0x4edb74){return _0x3fe481-_0x4edb74;}};let _0x247be2=this['currentTest'][_0x44a496(0x12f)][_0x44a496(0xec)](_0x5926f7=>_0x5926f7['id']===_0x61ca92[_0x44a496(0x139)]);_0x291f41[_0x44a496(0x133)](isUndefined,_0x247be2)&&(_0x247be2=this[_0x44a496(0x191)](_0x61ca92)),_0x247be2[_0x44a496(0xca)]=[_0x291f41[_0x44a496(0xed)],_0x291f41[_0x44a496(0xbd)]][_0x44a496(0xa8)](_0x61ca92['status'])?_0x291f41[_0x44a496(0xea)]:_0x61ca92[_0x44a496(0xdc)],_0x247be2[_0x44a496(0x154)]=new Date()[_0x44a496(0xb4)](),_0x247be2[_0x44a496(0xcd)]=_0x291f41[_0x44a496(0xd0)](Date[_0x44a496(0x125)](),_0x61ca92[_0x44a496(0xfa)][_0x44a496(0x18c)]()),_0x247be2[_0x44a496(0x110)]=_0x61ca92[_0x44a496(0xce)]?_0x61ca92[_0x44a496(0xce)][_0x44a496(0x132)]:null;}}const a4_0x3b6e1e={};function a4_0x2b25(){const _0x407f99=['HVBSz','tqhAw','BdZDC','apply','klIUB','NjpsY','aywUq','name','now','uuid','Playwright','bind','setupBrowserDetails','pending','uGTwb','type','TestRunSkipped','shutdown','bddSteps','File\x20path\x20could\x20not\x20be\x20found','winstonLogger','message','vFAcz','then','getRootParentFile','logs','toString','client','stepAnalyticsId','stringify','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','enabled','parent','AtrLu','resetSkipTestHooks','config','ZXmkP','replace','HooWn','mapTestHooks','file_name','__cloud_provider___','bs:addLog:','156NQunuZ','9466137jRCTVt','browserType.js','inspect','hnvOI','frameworkName','7400000bUZyde','string','428862HkLtBA','rrRQy','\x20with\x20error\x20:\x20','fireEvent','finished_at','gPaGR','TestRunStarted','groups','xbCIJ','DAsfk','bRfCY','MXURy','ZlGuG','gpMgs','patchConsoleLogger','feature','skipped','./helper.js','failed','../../helpers/test-observability/requestQueueHandler','Cczos','title','vfgch','SOYsG','VLbbP','connect','backtrace','sendCBTInfo','defineProperty','34976hHjXwl','yVwlI','HOOK_RUN_FINISHED','vMQjN','DtyGm','TEST_RUN_SKIPPED','finished','kcDOO','appendTestItemLog','_testEnv','KJVaY','tSjOI','iQeGj','yXHcy','_afterAll','join','JmaRd','URPRU','STATE_PASSED','LGYEU','aInOB','HookRunStarted','started','rcaHy','JRbts','currentHook','vKLoI','getInstance','launch','accessibilityPlatform','_afterEach','getTime','qNThK','tags','integrations','xtzWB','initializeBddStep','mWftP','hcKMg','uWyWq','_beforeEach','prefixTestPath','failure_backtrace','bddStepFinish','includes','toUpperCase','../../helpers/test-observability/constants','dirname','constructor','2885714heVoWx','wgARB','../mocha/test-observability/mochaUtils','removeAllListeners','match','testAnalyticsId','body','toISOString','fiFLf','wsEndpoint','suites','markedStatus','uploadEventData','joHbk','keyword','meta','fdQRS','DVAgi','cdaYS','file','uFijA','_beforeAll','success','retryOf','573WVYPkY','TEST_EVENTS','.git','path','util','result','Not\x20able\x20to\x20import\x20Browser','1596680IEZeee','duration','err','getHookType','VMPap','pid','driver','hook_run','rGuud','lib','lZGZI','exports','currentTest','push','CBTSessionCreated','forEach','status','../utils/constants','test','hooks','statSync','hDDrb','RbahY','kWvMq','hook_type','OXGJJ','TEST_RUN_STARTED','yuXxc','text','PathHelper','sonHb','ynnHa','find','gliur','BrowserType','hookAnalyticsId','__platformCaps','toLowerCase','10877312kreaTC','errorsDetailed','getHooksForTest','browserstack','CKRkX','hook','getHierarchy','prototype','startedAt','failure_reason_expanded','../../helpers/helper','ERKnz','findGitConfig','XAdUg','zWCid','debug','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','Bytxy','sNxsH','gQlTa','YlZcE','TEST_RUN_FINISHED','location_prefix','length','DGxWn','test_run','fullTitle','event_type','EgvwD','FmFmv','failure','PixGB','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','expanded','jOZNN','../playwright/accessibility-helper','failed\x20to\x20get\x20root\x20parent\x20file\x20','_paths','hook_run_uuid','getFailureType','mnzHo','getCBTInfo','ctx'];a4_0x2b25=function(){return _0x407f99;};return a4_0x2b25();}a4_0x3b6e1e['O11yHelper']=O11yHelper,a4_0x3b6e1e[a4_0x2205ca(0x17f)]=STATE_PASSED,a4_0x3b6e1e['STATE_FAILED']=STATE_FAILED,a4_0x3b6e1e[a4_0x2205ca(0xc6)]=TEST_EVENTS,module[a4_0x2205ca(0xd7)]=a4_0x3b6e1e;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a5_0x177645=a5_0x26fc;(function(_0x270217,_0x152868){const _0x2285a3=a5_0x26fc,_0x261b5e=_0x270217();while(!![]){try{const _0x344d9a=-parseInt(_0x2285a3(0x1a5))/0x1+parseInt(_0x2285a3(0x1e0))/0x2+-parseInt(_0x2285a3(0x191))/0x3+parseInt(_0x2285a3(0x1d3))/0x4*(parseInt(_0x2285a3(0x1d4))/0x5)+parseInt(_0x2285a3(0x1df))/0x6*(-parseInt(_0x2285a3(0x196))/0x7)+-parseInt(_0x2285a3(0x19a))/0x8*(parseInt(_0x2285a3(0x181))/0x9)+parseInt(_0x2285a3(0x1be))/0xa;if(_0x344d9a===_0x152868)break;else _0x261b5e['push'](_0x261b5e['shift']());}catch(_0xc712a1){_0x261b5e['push'](_0x261b5e['shift']());}}}(a5_0x74dd,0x82705));const fs=require('fs'),path=require(a5_0x177645(0x1b0)),util=require('util'),logger=require(a5_0x177645(0x1ce))['winstonLogger'],{default:BrowserStackSetup}=require(a5_0x177645(0x17c)),helper=require('../../helpers/helper'),utilities=require(a5_0x177645(0x1a3)),constants=require(a5_0x177645(0x1bf)),{parallelCucumberRun}=require(a5_0x177645(0x1b9)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testOpsHelper=require(a5_0x177645(0x194)),chalk=require(a5_0x177645(0x1cf)),PerformanceTester=require(a5_0x177645(0x1c4)),PerformanceEvents=require(a5_0x177645(0x17f))[a5_0x177645(0x1db)];function a5_0x74dd(){const _0x1e2b91=['XGzfp','path','jQXed','env','start','end','stepsPassed','bgWhite','\x20skipped','log','../test-runner','tmp','true','UeTaU','wWVRu','20410200AvClre','../utils/constants','CUCUMBER','createDir','green','SDK_CLEANUP','../../helpers/performance/performance-tester','stepsSkipped','then','forEach','prepareCapabilities','exports','yZEKj','Removing\x20tmp\x20directory\x20created\x20for\x20reports','useW3C','launchBuild','../../helpers/logger','chalk','\x20ambiguous','hzgSD','qJBdw','8420mTfuxT','1205lyXKPp','removeDir','\x20failed','\x20pending','skipSessionStatus','splice','processSuccess','EVENTS','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Yhena','jHEoG','6dcdcVy','1694332yvgFFE','ApcQE','errorMessage','accessibilityOptions','printBuildLink','debug','jquLc','\x20steps','testContextOptions','QctqN','getErrorMessageFromResults','GxecR','qxduF','config','PdpZd','rmdirSync','setupTCGAuth','\x20undefined','../../helpers/BrowserStackSetup','handleApp','tIBrS','../../helpers/performance/constants','length','1611117csVvAw','Generating\x20consolidated\x20report...','\x20scenarios','\x20passed','unlinkSync','error\x20removing\x20tcg\x20config\x20file','BROWSERSTACK_TEST_OBSERVABILITY_YML','framework','finally','stringify','proxySettings','yellow','stepsPending','NQKIV','exitCode','LftOs','1884219ktFCxH','ZSBNM','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','../../helpers/test-observability/utils','stepsFailed','5128599UGPFBK','steps','red','ZkqjF','32ymnZxC','parallelsPerPlatform','hLyRp','FRAMEWORKS','push','initialize','setUserConfigPath','stop','finalExecution','../../helpers/utilities','Kmtzp','784432iCwSTO','cyan','RnuxX','getHubUrl','getUserWorkerCount','join','ROcaN','logLevel','testObservability','bold'];a5_0x74dd=function(){return _0x1e2b91;};return a5_0x74dd();}function a5_0x26fc(_0x36af83,_0x568c56){const _0x74ddf2=a5_0x74dd();return a5_0x26fc=function(_0x26fc4d,_0x5167a7){_0x26fc4d=_0x26fc4d-0x16e;let _0x125aa9=_0x74ddf2[_0x26fc4d];return _0x125aa9;},a5_0x26fc(_0x36af83,_0x568c56);}function printCucumberStats(_0x2a7dbf){const _0x562533=a5_0x177645,_0x183188={};_0x183188[_0x562533(0x18e)]=function(_0x1cf3c0,_0x40caf8){return _0x1cf3c0>_0x40caf8;},_0x183188[_0x562533(0x178)]=function(_0x5273d9,_0x4e55c5){return _0x5273d9-_0x4e55c5;},_0x183188[_0x562533(0x1bd)]=function(_0xfdc00,_0x47eab2){return _0xfdc00-_0x47eab2;},_0x183188[_0x562533(0x1a4)]=function(_0x5474ba,_0x2ebf84){return _0x5474ba>_0x2ebf84;},_0x183188['yZEKj']=function(_0x4b80a8,_0x48c1b7){return _0x4b80a8>_0x48c1b7;},_0x183188[_0x562533(0x1de)]=function(_0x40456d,_0x6a8589){return _0x40456d>_0x6a8589;},_0x183188[_0x562533(0x199)]=function(_0x2ff0ef,_0x3992f0){return _0x2ff0ef>_0x3992f0;},_0x183188[_0x562533(0x1ab)]=function(_0x1e1ce2,_0x2dbfec){return _0x1e1ce2>_0x2dbfec;},_0x183188[_0x562533(0x190)]=function(_0x37e987,_0x3a31df){return _0x37e987+_0x3a31df;},_0x183188[_0x562533(0x1dd)]=function(_0x3b137f,_0x3f8410){return _0x3b137f+_0x3f8410;},_0x183188[_0x562533(0x173)]=function(_0x274774,_0x81555b){return _0x274774+_0x81555b;},_0x183188['hLyRp']=function(_0x581a19,_0x138e9c){return _0x581a19===_0x138e9c;},_0x183188[_0x562533(0x170)]=function(_0x560b4d,_0x57c879){return _0x560b4d===_0x57c879;},_0x183188[_0x562533(0x1b1)]='****\x20RESULTS\x20****';const _0x16292a=_0x183188;let _0x581a44=0x0;if(_0x16292a[_0x562533(0x170)](_0x2a7dbf['length'],0x0))return _0x581a44;return console[_0x562533(0x1b8)](chalk[_0x562533(0x1ae)][_0x562533(0x1b6)](_0x16292a['jQXed'])),_0x2a7dbf[_0x562533(0x1c7)](_0x3cd37a=>{const _0x4a2809=_0x562533,_0x101773=_0x3cd37a[0x0],_0x5e70e0=_0x3cd37a[0x1];console[_0x4a2809(0x1b8)]('\x0a'+chalk['bold'][_0x4a2809(0x18c)](''+helper['getPlatformName'](_0x101773)));const _0x4ffb57=_0x5e70e0['scenarios'],_0x522316=_0x5e70e0[_0x4a2809(0x197)],_0x59e99a=_0x5e70e0['scenariosFailed'],_0x4ae3ad=_0x5e70e0[_0x4a2809(0x195)],_0x2fbddc=_0x5e70e0[_0x4a2809(0x1b5)],_0x2a1be3=_0x5e70e0[_0x4a2809(0x1c5)],_0x10c600=_0x5e70e0[_0x4a2809(0x18d)],_0x4782ed=_0x5e70e0['stepsUndefined'],_0x15f0a1=_0x5e70e0['stepsUnknown'],_0x5cb2bf=_0x5e70e0['stepsAmbiguous'],_0x2d1021=_0x5e70e0[_0x4a2809(0x1da)];let _0x317f3f=_0x4ffb57+_0x4a2809(0x183);const _0x78cdbb=_0x16292a['NQKIV'](_0x16292a[_0x4a2809(0x178)](_0x4ffb57,_0x59e99a),0x0)?_0x16292a[_0x4a2809(0x1bd)](_0x4ffb57,_0x59e99a):0x0;if(_0x16292a[_0x4a2809(0x18e)](_0x59e99a,0x0)&&_0x16292a[_0x4a2809(0x18e)](_0x78cdbb,0x0))_0x317f3f+='\x20('+chalk[_0x4a2809(0x1ae)][_0x4a2809(0x198)](_0x59e99a+_0x4a2809(0x1d6))+',\x20'+chalk[_0x4a2809(0x1ae)]['green'](_0x78cdbb+_0x4a2809(0x184))+')';else(_0x16292a['NQKIV'](_0x59e99a,0x0)||_0x16292a['NQKIV'](_0x78cdbb,0x0))&&(_0x317f3f+=_0x16292a[_0x4a2809(0x1a4)](_0x59e99a,0x0)?'\x20('+chalk[_0x4a2809(0x1ae)][_0x4a2809(0x198)](_0x59e99a+'\x20failed')+')':'\x20('+chalk['bold']['green'](_0x78cdbb+_0x4a2809(0x184))+')');const _0x119091=_0x522316+_0x4a2809(0x171),_0x56e85a=[];_0x16292a[_0x4a2809(0x1ca)](_0x5cb2bf,0x0)&&_0x56e85a[_0x4a2809(0x19e)](''+chalk[_0x4a2809(0x1ae)][_0x4a2809(0x198)](_0x5cb2bf+_0x4a2809(0x1d0)));_0x16292a['NQKIV'](_0x4ae3ad,0x0)&&_0x56e85a['push'](''+chalk['bold'][_0x4a2809(0x198)](_0x4ae3ad+_0x4a2809(0x1d6)));_0x16292a[_0x4a2809(0x1de)](_0x2fbddc,0x0)&&_0x56e85a[_0x4a2809(0x19e)](''+chalk[_0x4a2809(0x1ae)][_0x4a2809(0x1c2)](_0x2fbddc+_0x4a2809(0x184)));_0x16292a[_0x4a2809(0x199)](_0x10c600,0x0)&&_0x56e85a[_0x4a2809(0x19e)](''+chalk[_0x4a2809(0x1ae)][_0x4a2809(0x18c)](_0x10c600+_0x4a2809(0x1d7)));_0x16292a[_0x4a2809(0x1ab)](_0x2a1be3,0x0)&&_0x56e85a[_0x4a2809(0x19e)](''+chalk[_0x4a2809(0x1ae)][_0x4a2809(0x1a6)](_0x2a1be3+_0x4a2809(0x1b7)));_0x16292a[_0x4a2809(0x1a4)](_0x4782ed,0x0)&&_0x56e85a[_0x4a2809(0x19e)](''+chalk[_0x4a2809(0x1ae)][_0x4a2809(0x18c)](_0x4782ed+_0x4a2809(0x17b)));_0x16292a[_0x4a2809(0x1de)](_0x15f0a1,0x0)&&_0x56e85a['push'](''+chalk[_0x4a2809(0x1ae)][_0x4a2809(0x18c)](_0x15f0a1+_0x4a2809(0x1b7)));const _0x465714=_0x16292a['LftOs'](_0x16292a[_0x4a2809(0x190)](_0x16292a['LftOs'](_0x119091,'('),_0x56e85a[_0x4a2809(0x1aa)](',\x20')),')');console[_0x4a2809(0x1b8)](_0x16292a[_0x4a2809(0x1dd)](_0x16292a['QctqN'](_0x16292a[_0x4a2809(0x190)](_0x16292a['Yhena']('\x0a',_0x317f3f),'\x0a'),_0x465714),'\x0a')),_0x16292a[_0x4a2809(0x19c)](_0x2d1021,![])&&(_0x581a44=0x1);}),_0x581a44;}async function run(_0x55e5f5,_0x2042ce,_0x34a548){const _0x1b2b6d=a5_0x177645,_0x1a0ad8={'hcNXJ':function(_0x29a625,_0x15eb5d){return _0x29a625(_0x15eb5d);},'qxduF':function(_0x3bfc0f,_0x5d73ea){return _0x3bfc0f>_0x5d73ea;},'hzgSD':_0x1b2b6d(0x182),'ZSBNM':_0x1b2b6d(0x1cb),'XGzfp':'cucumber','tIBrS':_0x1b2b6d(0x186),'ApcQE':_0x1b2b6d(0x1ba),'qJBdw':function(_0x4244ac,_0x335cb8){return _0x4244ac-_0x335cb8;},'GxecR':function(_0x1d3954,_0x94d4fe){return _0x1d3954>=_0x94d4fe;},'AcPCt':function(_0x34e648,_0x37d08d){return _0x34e648!=_0x37d08d;},'RnuxX':_0x1b2b6d(0x1bb),'UeTaU':function(_0x1146bc,_0x36f7f6,_0x359548,_0x1a407f,_0x24b9e7,_0x1d639e){return _0x1146bc(_0x36f7f6,_0x359548,_0x1a407f,_0x24b9e7,_0x1d639e);}};await _0x34a548[_0x1b2b6d(0x19f)](_0x55e5f5),helper[_0x1b2b6d(0x1a0)](_0x34a548[_0x1b2b6d(0x188)],_0x55e5f5);!helper['isBrowserstackInfra']()&&await _0x34a548[_0x1b2b6d(0x17a)]();await helper[_0x1b2b6d(0x17d)](_0x34a548[_0x1b2b6d(0x177)]);const _0x3e948f=helper[_0x1b2b6d(0x1cc)](_0x34a548[_0x1b2b6d(0x177)]);!helper['isUndefined'](_0x34a548['config'][_0x1b2b6d(0x1e3)])&&(process[_0x1b2b6d(0x1b2)][_0x1b2b6d(0x1dc)]=JSON[_0x1b2b6d(0x18a)](_0x34a548[_0x1b2b6d(0x177)][_0x1b2b6d(0x1e3)]));const _0x217161=await TestHubHandler[_0x1b2b6d(0x1cd)](constants[_0x1b2b6d(0x19d)][_0x1b2b6d(0x1c0)],_0x34a548),_0x37f95f=helper[_0x1b2b6d(0x1c8)](_0x34a548[_0x1b2b6d(0x177)],_0x3e948f,constants['FRAMEWORKS'][_0x1b2b6d(0x1c0)]);if(!_0x34a548['config'])return;const _0x42aad8=_0x34a548[_0x1b2b6d(0x177)][_0x1b2b6d(0x19b)]||helper[_0x1b2b6d(0x1a9)](_0x55e5f5,_0x2042ce,_0x34a548[_0x1b2b6d(0x177)],constants[_0x1b2b6d(0x19d)]['CUCUMBER'])||0x1,_0x4185c2={'server':helper[_0x1b2b6d(0x1a8)](_0x34a548['config']),'proxySettings':_0x34a548['config'][_0x1b2b6d(0x18b)],'maxWorkers':_0x42aad8,'browserStackLogLevel':_0x34a548[_0x1b2b6d(0x177)][_0x1b2b6d(0x1ac)],'skipSessionName':_0x34a548[_0x1b2b6d(0x177)]['testContextOptions']['skipSessionName'],'skipSessionStatus':_0x34a548[_0x1b2b6d(0x177)][_0x1b2b6d(0x172)][_0x1b2b6d(0x1d8)],'turboScaleUrl':_0x34a548[_0x1b2b6d(0x177)]['turboScaleUrl']},_0x4d614e=process['argv'],[_0x225894,_0x30b601]=helper['parseFormatters'](_0x4d614e),_0x24b3e4=path[_0x1b2b6d(0x1aa)](process['cwd'](),_0x1a0ad8[_0x1b2b6d(0x1e1)]);if(_0x1a0ad8[_0x1b2b6d(0x176)](_0x30b601['length'],0x0)){helper[_0x1b2b6d(0x1c1)](_0x24b3e4);for(let _0x4c68c9=_0x1a0ad8[_0x1b2b6d(0x1d2)](_0x225894[_0x1b2b6d(0x180)],0x1);_0x1a0ad8[_0x1b2b6d(0x175)](_0x4c68c9,0x0);_0x4c68c9--){_0x4d614e[_0x1b2b6d(0x1d9)](_0x225894[_0x4c68c9],0x2);}}_0x1a0ad8['AcPCt'](_0x34a548[_0x1b2b6d(0x177)][_0x1b2b6d(0x1ad)],null)?process[_0x1b2b6d(0x1b2)][_0x1b2b6d(0x187)]=_0x34a548[_0x1b2b6d(0x177)][_0x1b2b6d(0x1ad)]:process['env'][_0x1b2b6d(0x187)]=_0x1a0ad8[_0x1b2b6d(0x1a7)];PerformanceTester[_0x1b2b6d(0x1b4)](PerformanceEvents['SDK_SETUP']);let _0x3b2b81;_0x1a0ad8[_0x1b2b6d(0x1bc)](parallelCucumberRun,_0x37f95f,_0x4185c2,_0x34a548[_0x1b2b6d(0x177)],_0x4d614e,_0x30b601)[_0x1b2b6d(0x1c6)](async _0x277986=>{const _0x57e3a8=_0x1b2b6d;PerformanceTester[_0x57e3a8(0x1b3)](PerformanceEvents[_0x57e3a8(0x1c3)]),_0x3b2b81=_0x277986;const _0x514ec2=_0x1a0ad8['hcNXJ'](printCucumberStats,_0x277986);process[_0x57e3a8(0x18f)]=_0x514ec2,_0x1a0ad8[_0x57e3a8(0x176)](_0x30b601['length'],0x0)&&(logger[_0x57e3a8(0x16f)](_0x1a0ad8[_0x57e3a8(0x1d1)]),helper['mergeOutputFiles'](_0x24b3e4,_0x30b601),logger['debug'](_0x1a0ad8[_0x57e3a8(0x192)]),helper[_0x57e3a8(0x1d5)](_0x24b3e4));})[_0x1b2b6d(0x189)](async()=>{const _0x18478d=_0x1b2b6d;PerformanceTester[_0x18478d(0x1b3)](PerformanceEvents['SDK_CLEANUP']),_0x34a548[_0x18478d(0x1e2)]=helper[_0x18478d(0x174)](_0x3b2b81,_0x1a0ad8[_0x18478d(0x1af)]),testOpsHelper[_0x18478d(0x16e)]();try{await TestHubHandler[_0x18478d(0x1a1)]();}catch(_0x55c816){logger['debug'](_0x18478d(0x193)+util['format'](_0x55c816));}try{const {browserstackFolderPath:_0x2925c2,tcgConfigPath:_0x5dd05c}=helper['getTCGConfigFilePaths']();fs[_0x18478d(0x185)](_0x5dd05c),fs[_0x18478d(0x179)](_0x2925c2);}catch(_0x8e74b8){logger[_0x18478d(0x16f)](_0x1a0ad8[_0x18478d(0x17e)],_0x8e74b8);}await utilities[_0x18478d(0x1a2)](_0x34a548);});}module[a5_0x177645(0x1c9)]=run;
|
|
2
|
+
'use strict';const a5_0x245cb7=a5_0x230c;(function(_0x4f258f,_0x4aec89){const _0x5731b3=a5_0x230c,_0x7a98e2=_0x4f258f();while(!![]){try{const _0x1413a8=parseInt(_0x5731b3(0x1fc))/0x1*(-parseInt(_0x5731b3(0x1e3))/0x2)+parseInt(_0x5731b3(0x1e9))/0x3*(-parseInt(_0x5731b3(0x1b3))/0x4)+parseInt(_0x5731b3(0x203))/0x5*(-parseInt(_0x5731b3(0x1cf))/0x6)+-parseInt(_0x5731b3(0x1f6))/0x7+parseInt(_0x5731b3(0x1ef))/0x8+-parseInt(_0x5731b3(0x1de))/0x9*(-parseInt(_0x5731b3(0x1e7))/0xa)+parseInt(_0x5731b3(0x1e8))/0xb*(parseInt(_0x5731b3(0x1e5))/0xc);if(_0x1413a8===_0x4aec89)break;else _0x7a98e2['push'](_0x7a98e2['shift']());}catch(_0x4587d9){_0x7a98e2['push'](_0x7a98e2['shift']());}}}(a5_0x4b4d,0xd1c54));function a5_0x4b4d(){const _0x305273=['prepareCapabilities','stepsFailed','KUIaQ','SVFTz','SDK_SETUP','scenariosFailed','framework','tWjlC','scenarios','SDK_CLEANUP','getUserWorkerCount','../../helpers/helper','tRajL','turboScaleUrl','exitCode','jRZHt','rmdirSync','testObservability','exports','cwd','join','\x20failed','util','CUCUMBER','testContextOptions','pkAtr','true','iMZIt','712552FCmhJs','hmMtE','start','getPlatformName','cucumber','bgWhite','parseFormatters','chalk','BROWSERSTACK_TEST_OBSERVABILITY_YML','XSZDM','stop','yellow','\x20skipped','mergeOutputFiles','rSywh','stepsUnknown','winstonLogger','../utils/constants','isBrowserstackInfra','config','green','../../helpers/performance/performance-tester','stepsAmbiguous','snEFW','jxrWh','removeDir','push','env','7915722XEvErz','length','logLevel','setupTCGAuth','getHubUrl','processSuccess','iPFKv','\x20steps','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','nNmug','stringify','cyan','bold','unlinkSync','log','27108uHBFBr','brura','tmp','Generating\x20consolidated\x20report...','getErrorMessageFromResults','3267742rDXyoA','errorMessage','8224716OaqkmI','pJEXp','1560NfKMfU','88EQcMfe','24QopTzl','proxySettings','error\x20removing\x20tcg\x20config\x20file','initialize','oYJHC','setUserConfigPath','6178688OFBxnf','../../helpers/performance/constants','\x20scenarios','debug','\x20ambiguous','handleApp','yPxov','10415090Ezwrre','wzDmS','../test-runner','joiwf','stepsPending','../../helpers/test-observability/utils','1trRSKA','iXQfx','stepsUndefined','finalExecution','FRAMEWORKS','then','\x20passed','5XuJKlL','skipSessionName','../../helpers/utilities','red','BhqvA','accessibilityOptions','useW3C','printBuildLink','isUndefined'];a5_0x4b4d=function(){return _0x305273;};return a5_0x4b4d();}const fs=require('fs'),path=require('path'),util=require(a5_0x245cb7(0x1ad)),logger=require('../../helpers/logger')[a5_0x245cb7(0x1c3)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a5_0x245cb7(0x217)),utilities=require(a5_0x245cb7(0x205)),constants=require(a5_0x245cb7(0x1c4)),{parallelCucumberRun}=require(a5_0x245cb7(0x1f8)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testOpsHelper=require(a5_0x245cb7(0x1fb)),chalk=require(a5_0x245cb7(0x1ba)),PerformanceTester=require(a5_0x245cb7(0x1c8)),PerformanceEvents=require(a5_0x245cb7(0x1f0))['EVENTS'];function printCucumberStats(_0xead25f){const _0x40f3fd=a5_0x245cb7,_0x1dbb08={};_0x1dbb08['iMZIt']=function(_0x21797e,_0x5326ee){return _0x21797e>_0x5326ee;},_0x1dbb08['tRajL']=function(_0x48d4ab,_0x5064db){return _0x48d4ab-_0x5064db;},_0x1dbb08[_0x40f3fd(0x1b4)]=function(_0x5d18d8,_0xbbdb3e){return _0x5d18d8-_0xbbdb3e;},_0x1dbb08[_0x40f3fd(0x1d8)]=function(_0x2c162c,_0xce9b1){return _0x2c162c>_0xce9b1;},_0x1dbb08[_0x40f3fd(0x1bc)]=function(_0x59200b,_0xa5474d){return _0x59200b>_0xa5474d;},_0x1dbb08[_0x40f3fd(0x1cb)]=function(_0x5ab722,_0x1899a4){return _0x5ab722>_0x1899a4;},_0x1dbb08[_0x40f3fd(0x1b0)]=function(_0x42b062,_0x1a5508){return _0x42b062>_0x1a5508;},_0x1dbb08[_0x40f3fd(0x1ed)]=function(_0x51abef,_0x57ed6a){return _0x51abef>_0x57ed6a;},_0x1dbb08[_0x40f3fd(0x1fd)]=function(_0x2a6974,_0x1b4b81){return _0x2a6974+_0x1b4b81;},_0x1dbb08[_0x40f3fd(0x1f7)]=function(_0x2431a7,_0x2f18ee){return _0x2431a7+_0x2f18ee;},_0x1dbb08[_0x40f3fd(0x1d5)]=function(_0xb6e61e,_0x7ce281){return _0xb6e61e+_0x7ce281;},_0x1dbb08[_0x40f3fd(0x21b)]=function(_0x3d67b4,_0x3de281){return _0x3d67b4+_0x3de281;},_0x1dbb08[_0x40f3fd(0x1df)]=function(_0x358b75,_0x2365d6){return _0x358b75+_0x2365d6;},_0x1dbb08[_0x40f3fd(0x1ca)]=function(_0x5639da,_0x3ed35e){return _0x5639da===_0x3ed35e;},_0x1dbb08[_0x40f3fd(0x1c1)]=function(_0x24f3ba,_0x4b164b){return _0x24f3ba===_0x4b164b;},_0x1dbb08[_0x40f3fd(0x20e)]='****\x20RESULTS\x20****';const _0x303c97=_0x1dbb08;let _0x4aef11=0x0;if(_0x303c97[_0x40f3fd(0x1c1)](_0xead25f[_0x40f3fd(0x1d0)],0x0))return _0x4aef11;return console['log'](chalk['bold'][_0x40f3fd(0x1b8)](_0x303c97[_0x40f3fd(0x20e)])),_0xead25f['forEach'](_0x443c57=>{const _0x390dae=_0x40f3fd,_0xc878d0=_0x443c57[0x0],_0x82c44e=_0x443c57[0x1];console[_0x390dae(0x1dd)]('\x0a'+chalk[_0x390dae(0x1db)]['yellow'](''+helper[_0x390dae(0x1b6)](_0xc878d0)));const _0x430dbf=_0x82c44e[_0x390dae(0x214)],_0x1aff43=_0x82c44e['steps'],_0x5b50d3=_0x82c44e[_0x390dae(0x211)],_0x26fc13=_0x82c44e[_0x390dae(0x20d)],_0x2c04a3=_0x82c44e['stepsPassed'],_0x2ca920=_0x82c44e['stepsSkipped'],_0x40e9c0=_0x82c44e[_0x390dae(0x1fa)],_0x778fe=_0x82c44e[_0x390dae(0x1fe)],_0x500cfb=_0x82c44e[_0x390dae(0x1c2)],_0x8ea892=_0x82c44e[_0x390dae(0x1c9)],_0x23af7f=_0x82c44e[_0x390dae(0x1d4)];let _0x4c748e=_0x430dbf+_0x390dae(0x1f1);const _0x5d7b6f=_0x303c97['iMZIt'](_0x303c97[_0x390dae(0x218)](_0x430dbf,_0x5b50d3),0x0)?_0x303c97[_0x390dae(0x1b4)](_0x430dbf,_0x5b50d3):0x0;if(_0x303c97[_0x390dae(0x1b2)](_0x5b50d3,0x0)&&_0x303c97[_0x390dae(0x1b2)](_0x5d7b6f,0x0))_0x4c748e+='\x20('+chalk['bold'][_0x390dae(0x206)](_0x5b50d3+_0x390dae(0x1ac))+',\x20'+chalk[_0x390dae(0x1db)]['green'](_0x5d7b6f+_0x390dae(0x202))+')';else(_0x303c97[_0x390dae(0x1d8)](_0x5b50d3,0x0)||_0x303c97[_0x390dae(0x1d8)](_0x5d7b6f,0x0))&&(_0x4c748e+=_0x303c97[_0x390dae(0x1bc)](_0x5b50d3,0x0)?'\x20('+chalk[_0x390dae(0x1db)][_0x390dae(0x206)](_0x5b50d3+_0x390dae(0x1ac))+')':'\x20('+chalk[_0x390dae(0x1db)][_0x390dae(0x1c7)](_0x5d7b6f+'\x20passed')+')');const _0x50c574=_0x1aff43+_0x390dae(0x1d6),_0x5939b9=[];_0x303c97[_0x390dae(0x1cb)](_0x8ea892,0x0)&&_0x5939b9[_0x390dae(0x1cd)](''+chalk['bold'][_0x390dae(0x206)](_0x8ea892+_0x390dae(0x1f3)));_0x303c97['XSZDM'](_0x26fc13,0x0)&&_0x5939b9[_0x390dae(0x1cd)](''+chalk['bold'][_0x390dae(0x206)](_0x26fc13+_0x390dae(0x1ac)));_0x303c97[_0x390dae(0x1b0)](_0x2c04a3,0x0)&&_0x5939b9[_0x390dae(0x1cd)](''+chalk[_0x390dae(0x1db)][_0x390dae(0x1c7)](_0x2c04a3+_0x390dae(0x202)));_0x303c97[_0x390dae(0x1bc)](_0x40e9c0,0x0)&&_0x5939b9[_0x390dae(0x1cd)](''+chalk[_0x390dae(0x1db)][_0x390dae(0x1be)](_0x40e9c0+'\x20pending'));_0x303c97[_0x390dae(0x1ed)](_0x2ca920,0x0)&&_0x5939b9['push'](''+chalk['bold'][_0x390dae(0x1da)](_0x2ca920+_0x390dae(0x1bf)));_0x303c97[_0x390dae(0x1b2)](_0x778fe,0x0)&&_0x5939b9['push'](''+chalk[_0x390dae(0x1db)]['yellow'](_0x778fe+'\x20undefined'));_0x303c97[_0x390dae(0x1ed)](_0x500cfb,0x0)&&_0x5939b9[_0x390dae(0x1cd)](''+chalk['bold'][_0x390dae(0x1be)](_0x500cfb+'\x20skipped'));const _0x165e05=_0x303c97['iXQfx'](_0x303c97[_0x390dae(0x1fd)](_0x303c97[_0x390dae(0x1f7)](_0x50c574,'('),_0x5939b9[_0x390dae(0x220)](',\x20')),')');console[_0x390dae(0x1dd)](_0x303c97[_0x390dae(0x1f7)](_0x303c97['iPFKv'](_0x303c97[_0x390dae(0x21b)](_0x303c97[_0x390dae(0x1df)]('\x0a',_0x4c748e),'\x0a'),_0x165e05),'\x0a')),_0x303c97['snEFW'](_0x23af7f,![])&&(_0x4aef11=0x1);}),_0x4aef11;}function a5_0x230c(_0x2d6bd3,_0x71adcb){const _0x4b4ddb=a5_0x4b4d();return a5_0x230c=function(_0x230c3b,_0x4539bf){_0x230c3b=_0x230c3b-0x1ac;let _0x57a324=_0x4b4ddb[_0x230c3b];return _0x57a324;},a5_0x230c(_0x2d6bd3,_0x71adcb);}async function run(_0x34958e,_0x77c30b,_0x2c5939){const _0x578aea=a5_0x245cb7,_0x526723={'yPxov':function(_0x3bb020,_0x2b9dec){return _0x3bb020(_0x2b9dec);},'EFdvL':function(_0xd475f1,_0x466034){return _0xd475f1>_0x466034;},'Rwfmm':_0x578aea(0x1e1),'SVFTz':'Removing\x20tmp\x20directory\x20created\x20for\x20reports','BhqvA':_0x578aea(0x1b7),'rospz':_0x578aea(0x1eb),'TQsao':_0x578aea(0x1e0),'tWjlC':function(_0x316858,_0x4cb22b){return _0x316858>_0x4cb22b;},'pJEXp':function(_0x5d52ca,_0x5b31cd){return _0x5d52ca-_0x5b31cd;},'tfazv':function(_0x4a95b1,_0x80e87b){return _0x4a95b1>=_0x80e87b;},'joiwf':function(_0x366e7c,_0x3bc10c){return _0x366e7c!=_0x3bc10c;},'Kssaz':_0x578aea(0x1b1),'SHyQk':function(_0x293adb,_0x41af96,_0x1dc560,_0x515862,_0x72787f,_0x5d3aa8){return _0x293adb(_0x41af96,_0x1dc560,_0x515862,_0x72787f,_0x5d3aa8);}};await _0x2c5939[_0x578aea(0x1ec)](_0x34958e),helper[_0x578aea(0x1ee)](_0x2c5939[_0x578aea(0x212)],_0x34958e);!helper[_0x578aea(0x1c5)]()&&await _0x2c5939[_0x578aea(0x1d2)]();await helper[_0x578aea(0x1f4)](_0x2c5939[_0x578aea(0x1c6)]);const _0x371811=helper[_0x578aea(0x209)](_0x2c5939[_0x578aea(0x1c6)]);!helper[_0x578aea(0x20b)](_0x2c5939['config'][_0x578aea(0x208)])&&(process['env'][_0x578aea(0x1d7)]=JSON[_0x578aea(0x1d9)](_0x2c5939[_0x578aea(0x1c6)][_0x578aea(0x208)]));const _0x9eb633=await TestHubHandler['launchBuild'](constants['FRAMEWORKS']['CUCUMBER'],_0x2c5939),_0x34c734=helper[_0x578aea(0x20c)](_0x2c5939[_0x578aea(0x1c6)],_0x371811,constants['FRAMEWORKS'][_0x578aea(0x1ae)]);if(!_0x2c5939[_0x578aea(0x1c6)])return;const _0x84cc6f=_0x2c5939[_0x578aea(0x1c6)]['parallelsPerPlatform']||helper[_0x578aea(0x216)](_0x34958e,_0x77c30b,_0x2c5939[_0x578aea(0x1c6)],constants[_0x578aea(0x200)][_0x578aea(0x1ae)])||0x1,_0x4478bc={'server':helper[_0x578aea(0x1d3)](_0x2c5939['config']),'proxySettings':_0x2c5939[_0x578aea(0x1c6)][_0x578aea(0x1ea)],'maxWorkers':_0x84cc6f,'browserStackLogLevel':_0x2c5939[_0x578aea(0x1c6)][_0x578aea(0x1d1)],'skipSessionName':_0x2c5939[_0x578aea(0x1c6)]['testContextOptions'][_0x578aea(0x204)],'skipSessionStatus':_0x2c5939[_0x578aea(0x1c6)][_0x578aea(0x1af)]['skipSessionStatus'],'turboScaleUrl':_0x2c5939['config'][_0x578aea(0x219)]},_0x503e34=process['argv'],[_0x2f3d5a,_0x94c0ef]=helper[_0x578aea(0x1b9)](_0x503e34),_0x3b5af0=path[_0x578aea(0x220)](process[_0x578aea(0x21f)](),_0x526723['TQsao']);if(_0x526723[_0x578aea(0x213)](_0x94c0ef[_0x578aea(0x1d0)],0x0)){helper['createDir'](_0x3b5af0);for(let _0xce7f8c=_0x526723[_0x578aea(0x1e6)](_0x2f3d5a['length'],0x1);_0x526723['tfazv'](_0xce7f8c,0x0);_0xce7f8c--){_0x503e34['splice'](_0x2f3d5a[_0xce7f8c],0x2);}}_0x526723[_0x578aea(0x1f9)](_0x2c5939[_0x578aea(0x1c6)][_0x578aea(0x21d)],null)?process[_0x578aea(0x1ce)][_0x578aea(0x1bb)]=_0x2c5939['config']['testObservability']:process[_0x578aea(0x1ce)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x526723['Kssaz'];PerformanceTester['end'](PerformanceEvents[_0x578aea(0x210)]);let _0x5361f7;_0x526723['SHyQk'](parallelCucumberRun,_0x34c734,_0x4478bc,_0x2c5939[_0x578aea(0x1c6)],_0x503e34,_0x94c0ef)[_0x578aea(0x201)](async _0x231eea=>{const _0x45747e=_0x578aea;PerformanceTester[_0x45747e(0x1b5)](PerformanceEvents[_0x45747e(0x215)]),_0x5361f7=_0x231eea;const _0x28b688=_0x526723[_0x45747e(0x1f5)](printCucumberStats,_0x231eea);process[_0x45747e(0x21a)]=_0x28b688,_0x526723['EFdvL'](_0x94c0ef[_0x45747e(0x1d0)],0x0)&&(logger[_0x45747e(0x1f2)](_0x526723['Rwfmm']),helper[_0x45747e(0x1c0)](_0x3b5af0,_0x94c0ef),logger[_0x45747e(0x1f2)](_0x526723[_0x45747e(0x20f)]),helper[_0x45747e(0x1cc)](_0x3b5af0));})['finally'](async()=>{const _0x26c7d8=_0x578aea;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']),_0x2c5939[_0x26c7d8(0x1e4)]=helper[_0x26c7d8(0x1e2)](_0x5361f7,_0x526723[_0x26c7d8(0x207)]),testOpsHelper[_0x26c7d8(0x20a)]();try{await TestHubHandler[_0x26c7d8(0x1bd)]();}catch(_0x41875f){logger[_0x26c7d8(0x1f2)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util['format'](_0x41875f));}try{const {browserstackFolderPath:_0x306565,tcgConfigPath:_0x5b14da}=helper['getTCGConfigFilePaths']();fs[_0x26c7d8(0x1dc)](_0x5b14da),fs[_0x26c7d8(0x21c)](_0x306565);}catch(_0xb01ae5){logger[_0x26c7d8(0x1f2)](_0x526723['rospz'],_0xb01ae5);}await utilities[_0x26c7d8(0x1ff)](_0x2c5939);});}module[a5_0x245cb7(0x21e)]=run;
|