browserstack-node-sdk 1.36.7 → 1.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -66
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -0
- 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/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/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/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -0
- package/src/helpers/test-orchestration/failfastManager.js +1 -0
- package/src/helpers/test-orchestration/fileHelper.js +1 -0
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -0
- package/src/helpers/test-orchestration/requestUtils.js +1 -0
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -0
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -0
- 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/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
|
-
const a1_0x47e6fa=a1_0x398d;(function(_0x4454ca,_0x186190){const _0x36f1f8=a1_0x398d,_0x314b8f=_0x4454ca();while(!![]){try{const _0x49b2d4=-parseInt(_0x36f1f8(0xdc))/0x1+-parseInt(_0x36f1f8(0x13c))/0x2*(parseInt(_0x36f1f8(0xc1))/0x3)+parseInt(_0x36f1f8(0xda))/0x4+parseInt(_0x36f1f8(0xc6))/0x5+parseInt(_0x36f1f8(0x123))/0x6*(-parseInt(_0x36f1f8(0x85))/0x7)+parseInt(_0x36f1f8(0xb7))/0x8+parseInt(_0x36f1f8(0xa5))/0x9*(parseInt(_0x36f1f8(0xaa))/0xa);if(_0x49b2d4===_0x186190)break;else _0x314b8f['push'](_0x314b8f['shift']());}catch(_0x3b08b7){_0x314b8f['push'](_0x314b8f['shift']());}}}(a1_0x2a58,0xc3888));function a1_0x398d(_0x4215fb,_0x73ad71){const _0x2a58c0=a1_0x2a58();return a1_0x398d=function(_0x398d5d,_0x3aa4e3){_0x398d5d=_0x398d5d-0x85;let _0xa4a36b=_0x2a58c0[_0x398d5d];return _0xa4a36b;},a1_0x398d(_0x4215fb,_0x73ad71);}const fs=require('fs'),util=require(a1_0x47e6fa(0x12e)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x47e6fa(0xe6)),logger=require(a1_0x47e6fa(0xd2))[a1_0x47e6fa(0xcd)],testOpsHelper=require(a1_0x47e6fa(0xba)),requestSpy=require('../../helpers/request-spy'),PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x47e6fa(0x147)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x47e6fa(0x99)),AccessibilityHelper=require(a1_0x47e6fa(0x10a)),scripts=require(a1_0x47e6fa(0x139)),PerformanceTester=require(a1_0x47e6fa(0x89)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x47e6fa(0x10f)),{processWebDriverConfig,shouldPatchExecuteScript}=require('./helper.js'),testHubConstants=require('../../helpers/testhub/constants.js'),globals=require('../../helpers/globals.js'),CodeceptJS=requireModule(a1_0x47e6fa(0xfd),a1_0x47e6fa(0x110)),CodeceptUtils=requireModule(a1_0x47e6fa(0x132),a1_0x47e6fa(0x110)),CodeceptWebDriver=requireModule(a1_0x47e6fa(0x103),'codeceptjs'),CodeceptRecorder=requireModule(a1_0x47e6fa(0x9c),a1_0x47e6fa(0x110)),CodeceptPlaywright=requireModule(a1_0x47e6fa(0xca),a1_0x47e6fa(0x110)),playwrightMarkSessionStatus=(_0x6432e,_0x5443ae,_0x9ff9fc)=>{const _0x37b0ea=a1_0x47e6fa,_0x5409e1={'iSSpz':_0x37b0ea(0x104),'unEFp':function(_0x5990de,_0x2106a9){return _0x5990de(_0x2106a9);}},_0x465543={};_0x465543[_0x37b0ea(0x148)]=_0x5443ae;const _0x468ca7={};_0x468ca7['action']=_0x5409e1['iSSpz'],_0x468ca7[_0x37b0ea(0x9e)]=_0x465543;const _0x577c3a=_0x468ca7;return!_0x5409e1[_0x37b0ea(0x11e)](isUndefined,_0x9ff9fc)&&(_0x577c3a['arguments'][_0x37b0ea(0xe9)]=JSON[_0x37b0ea(0xef)](_0x9ff9fc)),_0x6432e['executeScript'](()=>{},_0x37b0ea(0x8e)+JSON[_0x37b0ea(0xef)](_0x577c3a));},o11ySync=PerformanceTester[a1_0x47e6fa(0xbd)](PerformanceO11yEvents[a1_0x47e6fa(0xcf)],async _0x4e330d=>{const _0x431ff5=a1_0x47e6fa,_0x73a0e2={};_0x73a0e2[_0x431ff5(0x13a)]=function(_0x216a32,_0x450043){return _0x216a32===_0x450043;},_0x73a0e2['bNFhv']=_0x431ff5(0x98);const _0x4d5629=_0x73a0e2;_0x4d5629[_0x431ff5(0x13a)](_0x4e330d[_0x431ff5(0x97)][_0x431ff5(0xea)],_0x4d5629[_0x431ff5(0xb4)])?await _0x4e330d['executeScript'](_0x225111=>{},testOpsHelper[_0x431ff5(0xf2)]()):await _0x4e330d[_0x431ff5(0xf9)](testOpsHelper[_0x431ff5(0xf2)]());}),markSessionName=PerformanceTester['measureWrapper'](PerformanceAutEvents['SESSION_NAME'],async(_0x17bef5,_0x110ec0)=>{const _0x3c2f5a=a1_0x47e6fa,_0x552cb5={};_0x552cb5[_0x3c2f5a(0xc3)]='setSessionName',_0x552cb5['tAnwq']=function(_0x133040,_0x5a8a0f){return _0x133040===_0x5a8a0f;},_0x552cb5[_0x3c2f5a(0xcc)]=_0x3c2f5a(0x98);const _0x1df377=_0x552cb5,_0x4a3ab6={};_0x4a3ab6[_0x3c2f5a(0xea)]=_0x110ec0;const _0xcfcd79={};_0xcfcd79[_0x3c2f5a(0x140)]=_0x1df377[_0x3c2f5a(0xc3)],_0xcfcd79[_0x3c2f5a(0x9e)]=_0x4a3ab6;const _0x24e9fd=_0xcfcd79;_0x1df377[_0x3c2f5a(0x113)](_0x17bef5['constructor']['name'],_0x1df377[_0x3c2f5a(0xcc)])?await _0x17bef5[_0x3c2f5a(0xf9)](()=>{},_0x3c2f5a(0x8e)+JSON[_0x3c2f5a(0xef)](_0x24e9fd)):await _0x17bef5['executeScript'](_0x3c2f5a(0x8e)+JSON[_0x3c2f5a(0xef)](_0x24e9fd));}),patchSaveScreenshot=_0x331a90=>{const _0x32a34c=a1_0x47e6fa,_0x2e16b4={'ZlMlv':_0x32a34c(0xec),'rDEUk':_0x32a34c(0xd6),'VWXXW':function(_0x4c1e9a){return _0x4c1e9a();},'qLRNj':function(_0x127f4a,_0x261778){return _0x127f4a(_0x261778);},'Wdemh':_0x32a34c(0x12a),'vRyOl':function(_0x547ee2,_0xcdeb21){return _0x547ee2(_0xcdeb21);}};_0x2e16b4['vRyOl'](isTrue,process['env'][_0x32a34c(0x106)])&&!_0x331a90[_0x32a34c(0x95)]&&(_0x331a90[_0x32a34c(0x95)]=!![],_0x331a90[_0x32a34c(0x129)]=_0x331a90[_0x32a34c(0x101)],_0x331a90['saveScreenshot']=(_0x39e71d,_0x42a2b9=![])=>{return new Promise(function(_0xf0969e,_0xd32616){const _0xe7c1bf=a1_0x398d,_0x337e62={'QQfTM':_0x2e16b4[_0xe7c1bf(0xe2)],'vhRRY':_0x2e16b4[_0xe7c1bf(0xa7)],'KglJf':function(_0x453d09){const _0x525f24=_0xe7c1bf;return _0x2e16b4[_0x525f24(0x14d)](_0x453d09);},'jnPOM':function(_0x47af35,_0x15642e){const _0x3119fe=_0xe7c1bf;return _0x2e16b4[_0x3119fe(0x11b)](_0x47af35,_0x15642e);},'DdZml':_0x2e16b4[_0xe7c1bf(0x9b)]};_0x331a90[_0xe7c1bf(0x129)](_0x39e71d,_0x42a2b9)[_0xe7c1bf(0xad)](()=>{const _0x2e4be5=_0xe7c1bf,_0x59d292=CodeceptUtils['screenshotOutputFolder'](_0x39e71d);if(_0x59d292){const _0x19c02b=fs['readFileSync'](_0x59d292);process['emit'](_0x2e4be5(0x114)+process[_0x2e4be5(0xdf)],{'timestamp':new Date()['toISOString'](),'message':_0x19c02b['toString'](_0x337e62['QQfTM']),'kind':_0x337e62[_0x2e4be5(0xbf)]}),_0x337e62['KglJf'](_0xf0969e);}_0x337e62['jnPOM'](_0xd32616,new Error(_0x337e62[_0x2e4be5(0x9a)]));})[_0xe7c1bf(0x131)](()=>null);});});},patchWebDriverBefore=_0x374588=>{const _0xa13a0e=a1_0x47e6fa,_0x417c1f={'JXoyo':function(_0x2b1ad1){return _0x2b1ad1();},'pFnsE':function(_0xb4581e,_0x35af0d){return _0xb4581e(_0x35af0d);},'MOOGx':function(_0x55ab2a,_0x3147a3){return _0x55ab2a===_0x3147a3;},'GPTJi':'Element'},_0x46449a=async function(_0x2c9b8f,_0xc3b523){const _0x1cf09d=a1_0x398d;return _0x417c1f['JXoyo'](isAccessibilityAutomationSession)&&!global[_0x1cf09d(0xd4)]&&global[_0x1cf09d(0x105)]&&scripts[_0x1cf09d(0xb5)](_0x2c9b8f[_0x1cf09d(0xea)])&&_0x417c1f[_0x1cf09d(0x108)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x1cf09d(0xd4)]=!![],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x1cf09d(0xe8)],async()=>{const _0x3d4d28=_0x1cf09d;logger[_0x3d4d28(0xb8)](_0x3d4d28(0x109)+_0x2c9b8f['class']+'\x20'+_0x2c9b8f[_0x3d4d28(0xea)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x374588,scripts['performScan']);},{'command':_0x2c9b8f['name']})()),global[_0x1cf09d(0xd4)]=![],_0xc3b523[_0x1cf09d(0xe0)](this,Array[_0x1cf09d(0xb1)]['slice'][_0x1cf09d(0xb3)](arguments,0x2));},_0x2e355f=CodeceptWebDriver[_0xa13a0e(0xb1)][_0xa13a0e(0x130)];CodeceptWebDriver[_0xa13a0e(0xb1)][_0xa13a0e(0x130)]=async function(){const _0x5e3c47=_0xa13a0e;try{await _0x2e355f[_0x5e3c47(0xe0)](this,arguments);}catch(_0x35ee5d){logger['debug']('Failed\x20to\x20execute\x20_before:\x20'+util[_0x5e3c47(0xd3)](_0x35ee5d));}scripts['commandsToWrap']['filter'](_0x5e372c=>_0x5e372c[_0x5e3c47(0xea)]&&_0x5e372c[_0x5e3c47(0xf5)])[_0x5e3c47(0xa6)](_0x566321=>{const _0x3a3200=_0x5e3c47;this['browser'][_0x3a3200(0xce)](_0x566321['name'],_0x46449a[_0x3a3200(0x14c)](this,_0x566321),_0x417c1f[_0x3a3200(0x8a)](_0x566321[_0x3a3200(0xf5)],_0x417c1f[_0x3a3200(0x86)]));}),_0x417c1f[_0x5e3c47(0x108)](processWebDriverConfig,_0x374588);};},patchPlaywrightBefore=()=>{const _0x1f5895=a1_0x47e6fa;PlaywrightSessionDetails[_0x1f5895(0xc0)]();const _0x84012=CodeceptPlaywright['prototype'][_0x1f5895(0x130)];CodeceptPlaywright[_0x1f5895(0xb1)][_0x1f5895(0x130)]=async function(){const _0x101e6b=_0x1f5895;this[_0x101e6b(0xaf)]=await this['browser'][_0x101e6b(0x120)]()[0x0],await _0x84012[_0x101e6b(0xe0)](this,arguments);};},getCodeceptDriver=()=>{const _0x5dcd48=a1_0x47e6fa,_0xcaf2f7={};_0xcaf2f7[_0x5dcd48(0xf3)]='WebDriver',_0xcaf2f7[_0x5dcd48(0xfa)]=_0x5dcd48(0x98),_0xcaf2f7[_0x5dcd48(0xe7)]=_0x5dcd48(0x13e),_0xcaf2f7[_0x5dcd48(0xdd)]='TestCafe';const _0x7a05cb=_0xcaf2f7,_0x5d671e=[_0x7a05cb[_0x5dcd48(0xf3)],_0x7a05cb[_0x5dcd48(0xfa)],_0x7a05cb['VZVrn'],_0x7a05cb['hjpXC']],_0x5c4fee=_0x5d671e[_0x5dcd48(0xbb)](_0x39995b=>!!CodeceptJS[_0x5dcd48(0xb0)][_0x5dcd48(0x124)](_0x39995b));if(!_0x5c4fee)return null;return CodeceptJS[_0x5dcd48(0xb0)][_0x5dcd48(0x124)](_0x5c4fee);};function a1_0x2a58(){const _0x4b7de4=['SDK_PRE_TEST','HIPgQ','BROWSERSTACK_TESTHUB_JWT','getResultsSummary','3618130aZXVTG','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','bddStep-after','BWeQe','codeceptjs/lib/helper/Playwright.js','HOOK_RUN_STARTED','BFjVc','winstonLogger','overwriteCommand','SYNC','emit','KffEy','../../helpers/logger','format','bstackAllyScanning','test-skipped','TEST_SCREENSHOT','title','browserStackExecuteDriver','skipped','3226148JejpuL','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','749151ZgEaIk','hjpXC','SDK_TEST','pid','apply','VXkSl','ZlMlv','afterTest','bddStep','thTestRunUuid','../../helpers/helper','VZVrn','PERFORM_SCAN','reason','name','hook-passed','base64','SDK_POST_TEST','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','stringify','dispatcher','fireEvent','getSyncScript','CRjYT','restore','class','Hycpu','performScan','currentTest','executeScript','JMwjd','fkzpJ','CmZHF','codeceptjs/lib/index.js','tzuwI','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','captureEvent','saveScreenshot','ASAzk','codeceptjs/lib/helper/WebDriver.js','setSessionStatus','accessibilityPlatform','BS_TESTOPS_ALLOW_SCREENSHOTS','test-passed','pFnsE','Performing\x20scan\x20for\x20','../../bin/playwright/accessibility-helper','JDTkD','TEST_RUN_STARTED','end','stopMonitoring','../../helpers/performance/constants','codeceptjs','hMlKc','captureError','tAnwq','bs:addLog:','skipSessionStatus','SDK_PRE_INITIALIZE','info','SDK_POST_INITIALIZE','gZYyq','NvmnX','qLRNj','passed','SDK_HOOK','unEFp','PglPe','contexts','HOOK_RUN_FINISHED','skipSessionName','1196094SEVsFZ','helpers','bthNF','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','__workerDetails','TEST_RUN_FINISHED','initSaveScreenshot','Screenshot\x20path\x20not\x20found','start','jyPBm','command','util','__driver','_before','catch','codeceptjs/lib/utils.js','Suite','after','DCZNA','bddStepStart','DYgWo','add','../../helpers/accessibility-automation/scripts','oiGOn','woHHI','4172Rezqcr','getAccessibilityResults','Puppeteer','hook-failed','action','CpsKD','ENV_VAR','thJwtToken','toISOString','BOLqE','hook','./o11yHelper','status','event','test-started','saveTestResults','bind','VWXXW','56ToHBWC','GPTJi','INFO','XELMe','../../helpers/performance/performance-tester','MOOGx','step-comment','afKlS','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','browserstack_executor:\x20','setGlobal','getAccessibilityResultsSummary','MJzrM','testAnalyticsId','TEST_RUN_SKIPPED','pBDAG','patchSaveScreenshot','startMonitoring','constructor','Playwright','../../helpers/accessibility-automation/helper','DdZml','Wdemh','codeceptjs/lib/recorder.js','ctx','arguments','SAVE_RESULTS','before','hookType','all','fPSZZ','test','1085823BWLxwO','forEach','rDEUk','browserstackTestName','test-after','130NCMaoq','xutbQ','started','then','ZkXpV','browserContext','container','prototype','YxtNP','call','bNFhv','shouldWrapCommand','toDtP','3207144bBkbux','debug','titlePath','../../helpers/test-observability/utils','find','failed','measureWrapper','env','vhRRY','patch','510RHbOlk'];a1_0x2a58=function(){return _0x4b7de4;};return a1_0x2a58();}module['exports']=function(_0x57085b){const _0x16870c=a1_0x47e6fa,_0x401737={'NvmnX':function(_0x451d02){return _0x451d02();},'afKlS':function(_0x349611,_0x7583a){return _0x349611(_0x7583a);},'eChwv':_0x16870c(0x13d),'VXkSl':_0x16870c(0xff),'BOLqE':_0x16870c(0x90),'bthNF':_0x16870c(0xee),'hsaoL':'hook-started','ENfBM':_0x16870c(0xeb),'gZYyq':_0x16870c(0x13f),'iOHHN':_0x16870c(0xa8),'BWeQe':'test-before','CmZHF':function(_0x5c26bc,_0x121617){return _0x5c26bc(_0x121617);},'tzuwI':function(_0x174d31,_0x4b55d8,_0x3e0a85){return _0x174d31(_0x4b55d8,_0x3e0a85);},'toDtP':function(_0x460473,_0x3db37a){return _0x460473(_0x3db37a);},'MJzrM':_0x16870c(0x14a),'pBDAG':_0x16870c(0x107),'jyPBm':function(_0x2b1359){return _0x2b1359();},'KffEy':function(_0x42a594,_0x10b265,_0x4e3311,_0x453711){return _0x42a594(_0x10b265,_0x4e3311,_0x453711);},'YUgve':function(_0x1b3fa8,_0x588570){return _0x1b3fa8===_0x588570;},'XELMe':_0x16870c(0x133),'pjdpx':'test-failed','JDTkD':_0x16870c(0xd5),'RggSw':_0x16870c(0xe3),'ZkXpV':function(_0x1c9e95){return _0x1c9e95();},'ASAzk':function(_0x4d7623){return _0x4d7623();},'DCZNA':_0x16870c(0xdb),'YxtNP':_0x16870c(0xa9),'hMlKc':_0x16870c(0x87),'jPenT':'TEST_LOG','CpsKD':_0x16870c(0x8b),'kiill':'bddStep-before','tUFBH':_0x16870c(0xc8),'DYgWo':function(_0x89a065){return _0x89a065();},'xutbQ':'Playwright'};_0x57085b[_0x16870c(0x115)]&&(global['__skipSessionStatus']=_0x57085b['skipSessionStatus']);PerformanceTester[_0x16870c(0x96)]();const _0x1daa4a=_0x401737[_0x16870c(0x137)](getCodeceptDriver),_0x19edda=new O11yHelper(_0x1daa4a,_0x57085b),_0x1650df=!!CodeceptJS[_0x16870c(0xb0)][_0x16870c(0x124)](_0x401737[_0x16870c(0xab)]);global[_0x16870c(0x12f)]=_0x1daa4a,_0x1daa4a&&(PerformanceTester[_0x16870c(0xbd)](PerformanceEvents[_0x16870c(0x116)],()=>{const _0x2c2ea4=_0x16870c;_0x1650df?_0x401737[_0x2c2ea4(0x11a)](patchPlaywrightBefore):_0x401737[_0x2c2ea4(0x8c)](patchWebDriverBefore,_0x1daa4a);})(),PerformanceTester[_0x16870c(0xbd)](PerformanceEvents[_0x16870c(0x118)],()=>{const _0x1496a2=_0x16870c,_0x30de9d={};_0x30de9d['fkzpJ']=_0x401737[_0x1496a2(0x145)],_0x30de9d[_0x1496a2(0xf6)]=_0x401737[_0x1496a2(0x125)];const _0x7c6823=_0x30de9d;_0x1daa4a['getAccessibilityResultsSummary']=async()=>{const _0x292367=_0x1496a2;if(global[_0x292367(0x105)]){const _0x206f4b={};_0x206f4b[_0x292367(0x12d)]=_0x7c6823[_0x292367(0xfb)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x292367(0xe8)],async()=>{const _0x1107a2=_0x292367;await AccessibilityHelper[_0x1107a2(0xd8)](_0x1daa4a,scripts[_0x1107a2(0xf7)]);},_0x206f4b)(),await PerformanceTester[_0x292367(0xbd)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x124ada=_0x292367;await AccessibilityHelper[_0x124ada(0xd8)](_0x1daa4a,scripts[_0x124ada(0xc5)]);})();}else return logger['warn'](_0x7c6823[_0x292367(0xf6)]),{};},_0x1daa4a['getAccessibilityResults']=async()=>{const _0xf1e991=_0x1496a2;if(global[_0xf1e991(0x105)]){const _0x59b978={};_0x59b978[_0xf1e991(0x12d)]=_0x401737['eChwv'],await PerformanceTester[_0xf1e991(0xbd)](PerformanceA11yEvents[_0xf1e991(0xe8)],async()=>{const _0x39a5d2=_0xf1e991;await AccessibilityHelper[_0x39a5d2(0xd8)](_0x1daa4a,scripts['performScan']);},_0x59b978)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents['GET_RESULTS'],async()=>{await AccessibilityHelper['browserStackExecuteDriver'](_0x1daa4a,scripts['getResults']);})();}else return logger['warn'](_0x401737[_0xf1e991(0xe1)]),{};},_0x401737['afKlS'](patchSaveScreenshot,_0x1daa4a);})()),CodeceptJS[_0x16870c(0x149)]['dispatcher']['on'](CodeceptJS[_0x16870c(0x149)][_0x16870c(0xa2)]['before'],()=>{const _0x2ffd7f=_0x16870c;PerformanceTester[_0x2ffd7f(0x12b)](PerformanceEvents[_0x2ffd7f(0xc2)]);try{_0x19edda[_0x2ffd7f(0x12b)](),testOpsHelper['addRequestSpy'](),PerformanceTester[_0x2ffd7f(0x10d)](PerformanceEvents[_0x2ffd7f(0xc2)]);}catch(_0x29717f){PerformanceTester[_0x2ffd7f(0x112)](_0x29717f),PerformanceTester[_0x2ffd7f(0x10d)](PerformanceEvents['SDK_PRE_TEST'],![],_0x29717f);}}),CodeceptJS[_0x16870c(0x149)][_0x16870c(0xf0)]['on'](CodeceptJS['event'][_0x16870c(0xa2)][_0x16870c(0x134)],async()=>{const _0x3d6328=_0x16870c;PerformanceTester[_0x3d6328(0x12b)](PerformanceEvents[_0x3d6328(0xed)]);try{requestSpy[_0x3d6328(0xf4)](),await _0x19edda['stop'](),PerformanceTester[_0x3d6328(0x10d)](PerformanceEvents[_0x3d6328(0xed)]);}catch(_0x15d00c){PerformanceTester['captureError'](_0x15d00c),PerformanceTester[_0x3d6328(0x10d)](PerformanceEvents[_0x3d6328(0xed)],![],_0x15d00c);}finally{PerformanceTester[_0x3d6328(0x10e)]();}}),CodeceptJS[_0x16870c(0x149)][_0x16870c(0xf0)]['on'](CodeceptJS[_0x16870c(0x149)][_0x16870c(0x146)]['started'],_0x46d753=>{const _0x1afe23=_0x16870c;PerformanceTester['start'](PerformanceEvents[_0x1afe23(0x11d)]);try{const _0x436c0d=_0x46d753[_0x1afe23(0x9d)]['test'],_0x510149=_0x19edda[_0x1afe23(0x100)](TEST_EVENTS[_0x1afe23(0xcb)],_0x436c0d);CodeceptRecorder[_0x1afe23(0x138)](()=>_0x19edda['fireEvent'](TEST_EVENTS[_0x1afe23(0xcb)],_0x510149));const _0x58adb8={};_0x58adb8['hookType']=_0x401737['hsaoL'],PerformanceTester[_0x1afe23(0x10d)](PerformanceEvents[_0x1afe23(0x11d)],!![],null,_0x58adb8);}catch(_0xf0e7bc){const _0x42dc2c={};_0x42dc2c[_0x1afe23(0xa1)]=_0x401737['hsaoL'],PerformanceTester[_0x1afe23(0x10d)](PerformanceEvents[_0x1afe23(0x11d)],![],_0xf0e7bc,_0x42dc2c),PerformanceTester['captureError'](_0xf0e7bc);}}),CodeceptJS[_0x16870c(0x149)][_0x16870c(0xf0)]['on'](CodeceptJS[_0x16870c(0x149)][_0x16870c(0x146)][_0x16870c(0x11c)],_0xbf65eb=>{const _0x3b51b5=_0x16870c,_0x3a0a89={};_0x3a0a89[_0x3b51b5(0xa1)]=_0x401737['ENfBM'],PerformanceTester[_0x3b51b5(0x12b)](PerformanceHookEvents[_0x3b51b5(0x11d)],!![],null,_0x3a0a89);try{const _0xfcd0fd=_0xbf65eb[_0x3b51b5(0x9d)][_0x3b51b5(0xa4)],_0x824e8d=_0x19edda[_0x3b51b5(0x100)](TEST_EVENTS[_0x3b51b5(0x121)],_0xfcd0fd);CodeceptRecorder[_0x3b51b5(0x138)](()=>_0x19edda[_0x3b51b5(0xf1)](TEST_EVENTS[_0x3b51b5(0x121)],_0x824e8d));const _0x7ad01d={};_0x7ad01d[_0x3b51b5(0xa1)]=_0x401737['ENfBM'],PerformanceTester[_0x3b51b5(0x10d)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x7ad01d);}catch(_0x45a6d1){PerformanceTester[_0x3b51b5(0x112)](_0x45a6d1);const _0x2f717b={};_0x2f717b[_0x3b51b5(0xa1)]=_0x401737['ENfBM'],PerformanceTester[_0x3b51b5(0x10d)](PerformanceHookEvents[_0x3b51b5(0x11d)],![],_0x45a6d1,_0x2f717b);}}),CodeceptJS[_0x16870c(0x149)][_0x16870c(0xf0)]['on'](CodeceptJS[_0x16870c(0x149)][_0x16870c(0x146)][_0x16870c(0xbc)],async(_0x3d6fdf,_0x5006c6)=>{const _0x3878a5=_0x16870c;PerformanceTester[_0x3878a5(0x12b)](PerformanceHookEvents[_0x3878a5(0x11d)]);try{const _0x313d69=_0x3d6fdf['ctx']['test'],_0x4b2883=_0x19edda[_0x3878a5(0x100)](TEST_EVENTS[_0x3878a5(0x121)],_0x313d69,_0x5006c6);CodeceptRecorder[_0x3878a5(0x138)](()=>_0x19edda['fireEvent'](TEST_EVENTS[_0x3878a5(0x121)],_0x4b2883));const _0x152a8a={};_0x152a8a['hookType']=_0x401737[_0x3878a5(0x119)],PerformanceTester[_0x3878a5(0x12b)](PerformanceHookEvents[_0x3878a5(0x11d)],!![],null,_0x152a8a);}catch(_0xf3e186){PerformanceTester[_0x3878a5(0x112)](_0xf3e186);const _0x16977e={};_0x16977e[_0x3878a5(0xa1)]=_0x401737[_0x3878a5(0x119)],PerformanceTester['end'](PerformanceHookEvents[_0x3878a5(0x11d)],![],_0xf3e186,_0x16977e);}const _0xe7a26d={};_0xe7a26d[_0x3878a5(0xa1)]=_0x401737[_0x3878a5(0x119)],PerformanceTester[_0x3878a5(0x10d)](PerformanceHookEvents[_0x3878a5(0x11d)],!![],null,_0xe7a26d);}),CodeceptJS['event'][_0x16870c(0xf0)]['on'](CodeceptJS[_0x16870c(0x149)][_0x16870c(0xa4)][_0x16870c(0xa0)],_0x29720c=>{const _0x1f986d=_0x16870c;PerformanceTester[_0x1f986d(0x12b)](PerformanceHookEvents[_0x1f986d(0x11d)]);try{globals[_0x1f986d(0x8f)](_0x401737['iOHHN'],_0x29720c[_0x1f986d(0xd7)]);_0x401737[_0x1f986d(0x11a)](isBrowserstackInfra)&&(_0x1650df&&(global[_0x1f986d(0x127)]={'currentTest':{'name':_0x29720c[_0x1f986d(0xd7)],'testInfo':{'titlePath':_0x29720c[_0x1f986d(0xb9)]()}}}));const _0x5efa56={};_0x5efa56['hookType']=_0x401737['BWeQe'],PerformanceTester[_0x1f986d(0x10d)](PerformanceHookEvents[_0x1f986d(0x11d)],!![],null,_0x5efa56);}catch(_0x224951){PerformanceTester[_0x1f986d(0x112)](_0x224951);const _0x299aa2={};_0x299aa2['hookType']=_0x401737[_0x1f986d(0xc9)],PerformanceTester[_0x1f986d(0x10d)](PerformanceHookEvents['SDK_HOOK'],![],_0x224951,_0x299aa2);}}),CodeceptJS[_0x16870c(0x149)][_0x16870c(0xf0)]['on'](CodeceptJS[_0x16870c(0x149)][_0x16870c(0xa4)][_0x16870c(0xac)],_0x274226=>{const _0xb738ac=_0x16870c;PerformanceTester['start'](PerformanceHookEvents[_0xb738ac(0x11d)]);try{globals[_0xb738ac(0x8f)](_0x401737['iOHHN'],_0x274226[_0xb738ac(0xd7)]);const _0x14767b=_0x19edda['captureEvent'](TEST_EVENTS[_0xb738ac(0x10c)],_0x274226);CodeceptRecorder[_0xb738ac(0x138)](()=>_0x19edda[_0xb738ac(0xf1)](TEST_EVENTS[_0xb738ac(0x10c)],_0x14767b)),CodeceptRecorder[_0xb738ac(0x138)](async()=>{const _0x4571c1=_0xb738ac;_0x401737[_0x4571c1(0x11a)](isBrowserstackInfra)&&(!_0x401737[_0x4571c1(0xfc)](isTrue,_0x57085b[_0x4571c1(0x122)])&&await _0x401737[_0x4571c1(0xfe)](markSessionName,_0x1daa4a,_0x274226['title']),_0x19edda['enabled']&&await _0x401737[_0x4571c1(0xb6)](o11ySync,_0x1daa4a));});}catch(_0x142bbe){const _0x370861={};_0x370861['hookType']=_0x401737[_0xb738ac(0x91)],PerformanceTester[_0xb738ac(0x10d)](PerformanceHookEvents[_0xb738ac(0x11d)],![],_0x142bbe,_0x370861),PerformanceTester[_0xb738ac(0x112)](_0x142bbe);}const _0x3c50a0={};_0x3c50a0[_0xb738ac(0xa1)]=_0x401737[_0xb738ac(0x91)],PerformanceTester['end'](PerformanceHookEvents[_0xb738ac(0x11d)],!![],null,_0x3c50a0);}),CodeceptJS['event'][_0x16870c(0xf0)]['on'](CodeceptJS[_0x16870c(0x149)][_0x16870c(0xa4)][_0x16870c(0x11c)],_0x4622a7=>{const _0x348fac=_0x16870c,_0x34fd67={'woHHI':function(_0x29d1b4,_0x2441e4,_0x1a73bb){const _0x2d20b2=a1_0x398d;return _0x401737[_0x2d20b2(0xfe)](_0x29d1b4,_0x2441e4,_0x1a73bb);},'fPSZZ':function(_0x178da0){const _0x2cbfbf=a1_0x398d;return _0x401737[_0x2cbfbf(0x11a)](_0x178da0);}};PerformanceTester[_0x348fac(0x12b)](PerformanceHookEvents[_0x348fac(0x11d)]);try{const _0x55cf6d=_0x19edda[_0x348fac(0x100)](TEST_EVENTS[_0x348fac(0x128)],_0x4622a7);CodeceptRecorder[_0x348fac(0x138)](()=>_0x19edda[_0x348fac(0xf1)](TEST_EVENTS[_0x348fac(0x128)],_0x55cf6d)),CodeceptRecorder[_0x348fac(0x138)](async()=>{const _0x2f804d=_0x348fac,_0x36118a={'PglPe':function(_0x2a1823,_0x56ee0a,_0x5d0501){const _0x2716e0=a1_0x398d;return _0x34fd67[_0x2716e0(0x13b)](_0x2a1823,_0x56ee0a,_0x5d0501);}};_0x34fd67[_0x2f804d(0xa3)](isBrowserstackInfra)&&await PerformanceTester['measureWrapper'](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0xe99cd4=_0x2f804d;_0x1650df?await _0x36118a[_0xe99cd4(0x11f)](playwrightMarkSessionStatus,_0x1daa4a,STATE_PASSED):await _0x36118a[_0xe99cd4(0x11f)](markSessionStatus,_0x1daa4a,STATE_PASSED);})();}),PerformanceTester['end'](PerformanceEvents[_0x348fac(0xde)]);}catch(_0x90f7fc){PerformanceTester[_0x348fac(0x112)](_0x90f7fc);const _0x2cb38b={};_0x2cb38b[_0x348fac(0xa1)]=_0x401737[_0x348fac(0x94)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x90f7fc,_0x2cb38b),PerformanceTester[_0x348fac(0x10d)](PerformanceEvents[_0x348fac(0xde)],![],_0x90f7fc);}const _0x290ec8={};_0x290ec8[_0x348fac(0xa1)]=_0x401737['pBDAG'],PerformanceTester[_0x348fac(0x10d)](PerformanceHookEvents[_0x348fac(0x11d)],!![],null,_0x290ec8);}),CodeceptJS[_0x16870c(0x149)][_0x16870c(0xf0)]['on'](CodeceptJS[_0x16870c(0x149)][_0x16870c(0xa4)][_0x16870c(0xbc)],(_0x1f54e0,_0x2ba212)=>{const _0x3e7f9e=_0x16870c;PerformanceTester[_0x3e7f9e(0x12b)](PerformanceHookEvents['SDK_HOOK']);try{if(_0x401737['YUgve'](_0x1f54e0[_0x3e7f9e(0x97)]['name'],_0x401737[_0x3e7f9e(0x88)])){const _0x233ba6=_0x19edda[_0x3e7f9e(0x100)](TEST_EVENTS[_0x3e7f9e(0x93)],_0x1f54e0['ctx'][_0x3e7f9e(0xf8)]);CodeceptRecorder[_0x3e7f9e(0x138)](()=>_0x19edda['fireEvent'](TEST_EVENTS[_0x3e7f9e(0x93)],_0x233ba6));}else{const _0x2fffe6=_0x19edda['captureEvent'](TEST_EVENTS[_0x3e7f9e(0x128)],_0x1f54e0,_0x2ba212);CodeceptRecorder[_0x3e7f9e(0x138)](()=>{const _0x4194df=_0x3e7f9e;try{_0x19edda[_0x4194df(0xf1)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x2fffe6);}catch(_0x23e255){logger[_0x4194df(0xb8)](_0x4194df(0x8d)+util[_0x4194df(0xd3)](_0x23e255)),PerformanceTester[_0x4194df(0x10d)](PerformanceEvents['SDK_TEST'],![],_0x23e255);}}),CodeceptRecorder[_0x3e7f9e(0x138)](async()=>{const _0x55e66a=_0x3e7f9e;try{_0x401737[_0x55e66a(0x12c)](isBrowserstackInfra)&&(_0x1650df?await _0x401737[_0x55e66a(0xd1)](playwrightMarkSessionStatus,_0x1daa4a,STATE_FAILED,_0x2ba212):await _0x401737[_0x55e66a(0xd1)](markSessionStatus,_0x1daa4a,STATE_FAILED,_0x2ba212));}catch(_0x43dd68){logger[_0x55e66a(0xb8)](_0x55e66a(0xc7)+util[_0x55e66a(0xd3)](_0x43dd68)),PerformanceTester[_0x55e66a(0x10d)](PerformanceEvents['SDK_TEST'],![],_0x43dd68);}});}PerformanceTester[_0x3e7f9e(0x10d)](PerformanceEvents[_0x3e7f9e(0xde)]);}catch(_0x14dbc8){PerformanceTester['captureError'](_0x14dbc8);const _0x58b2e7={};_0x58b2e7[_0x3e7f9e(0xa1)]=_0x401737['pjdpx'],PerformanceTester['end'](PerformanceHookEvents[_0x3e7f9e(0x11d)],![],_0x14dbc8,_0x58b2e7),PerformanceTester['end'](PerformanceEvents[_0x3e7f9e(0xde)],![],_0x14dbc8);}const _0x9bc0b9={};_0x9bc0b9[_0x3e7f9e(0xa1)]=_0x401737['pjdpx'],PerformanceTester[_0x3e7f9e(0x10d)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x9bc0b9);}),CodeceptJS[_0x16870c(0x149)][_0x16870c(0xf0)]['on'](CodeceptJS['event'][_0x16870c(0xa4)][_0x16870c(0xd9)],_0x7cc4be=>{const _0x342d8f=_0x16870c;PerformanceTester['start'](PerformanceHookEvents[_0x342d8f(0x11d)]);try{const _0x48eb25=_0x19edda['captureEvent'](TEST_EVENTS[_0x342d8f(0x93)],_0x7cc4be);CodeceptRecorder[_0x342d8f(0x138)](()=>_0x19edda[_0x342d8f(0xf1)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x48eb25)),PerformanceTester['end'](PerformanceEvents['SDK_TEST']);}catch(_0x1f3959){PerformanceTester['captureError'](_0x1f3959),PerformanceTester['end'](PerformanceEvents[_0x342d8f(0xde)],![],_0x1f3959);const _0x25fead={};_0x25fead[_0x342d8f(0xa1)]=_0x401737[_0x342d8f(0x10b)],PerformanceTester[_0x342d8f(0x10d)](PerformanceHookEvents[_0x342d8f(0x11d)],![],_0x1f3959,_0x25fead);}const _0xe4090={};_0xe4090[_0x342d8f(0xa1)]=_0x401737[_0x342d8f(0x10b)],PerformanceTester[_0x342d8f(0x10d)](PerformanceHookEvents[_0x342d8f(0x11d)],!![],null,_0xe4090);}),CodeceptJS['event'][_0x16870c(0xf0)]['on'](CodeceptJS[_0x16870c(0x149)][_0x16870c(0xa4)][_0x16870c(0x134)],async(_0x1e3696,_0x4ab8de)=>{const _0x463684=_0x16870c;try{PerformanceTester['start'](PerformanceHookEvents[_0x463684(0x11d)]);if(_0x401737[_0x463684(0xae)](isBrowserstackInfra)){const _0x41ceb7=_0x401737['tzuwI'](shouldScanTestForAccessibility,_0x1e3696['titlePath'](),!![]);if(_0x401737[_0x463684(0x102)](isAccessibilityAutomationSession)&&global[_0x463684(0x105)]&&_0x41ceb7){const _0x132072={};_0x132072[_0x463684(0xe5)]=_0x1e3696[_0x463684(0x92)],_0x132072['thBuildUuid']=process[_0x463684(0xbe)][testHubConstants[_0x463684(0x142)]['BROWSERSTACK_TESTHUB_UUID']],_0x132072[_0x463684(0x143)]=process[_0x463684(0xbe)][testHubConstants[_0x463684(0x142)][_0x463684(0xc4)]];const _0x1bd103=_0x132072;logger[_0x463684(0xb8)](_0x463684(0x126)+JSON[_0x463684(0xef)](_0x1bd103)),CodeceptRecorder[_0x463684(0x138)](async()=>{const _0x3cc15e=_0x463684,_0x31c327={};_0x31c327[_0x3cc15e(0x12d)]=_0x401737['RggSw'],await PerformanceTester[_0x3cc15e(0xbd)](PerformanceA11yEvents[_0x3cc15e(0xe8)],async()=>{const _0x3a7a13=_0x3cc15e;await AccessibilityHelper[_0x3a7a13(0xd8)](_0x1daa4a,scripts[_0x3a7a13(0xf7)]);},_0x31c327)(),await PerformanceTester[_0x3cc15e(0xbd)](PerformanceA11yEvents[_0x3cc15e(0x9f)],async()=>{const _0x423f03=_0x3cc15e;await AccessibilityHelper[_0x423f03(0xd8)](_0x1daa4a,scripts[_0x423f03(0x14b)],_0x1bd103);})();}),logger[_0x463684(0x117)](_0x401737[_0x463684(0x135)]);}}const _0x1dfea1={};_0x1dfea1[_0x463684(0xa1)]=_0x401737['YxtNP'],PerformanceTester[_0x463684(0x10d)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x1dfea1);}catch(_0x4e3c71){PerformanceTester[_0x463684(0x112)](_0x4e3c71);const _0x1c7ffa={};_0x1c7ffa[_0x463684(0xa1)]=_0x401737[_0x463684(0xb2)],PerformanceTester[_0x463684(0x10d)](PerformanceHookEvents[_0x463684(0x11d)],![],_0x4e3c71,_0x1c7ffa);}}),CodeceptJS['event'][_0x16870c(0xf0)]['on'](CodeceptJS['event']['step']['comment'],_0x432ae1=>{const _0x2e3efb=_0x16870c;PerformanceTester[_0x2e3efb(0x12b)](PerformanceHookEvents[_0x2e3efb(0x11d)]);try{process[_0x2e3efb(0xd0)](_0x2e3efb(0x114)+process[_0x2e3efb(0xdf)],{'timestamp':new Date()[_0x2e3efb(0x144)](),'level':_0x401737[_0x2e3efb(0x111)],'message':_0x432ae1,'kind':_0x401737['jPenT'],'http_response':{}});}catch(_0x2bc8d8){PerformanceTester[_0x2e3efb(0x112)](_0x2bc8d8);const _0x1d8cb7={};_0x1d8cb7[_0x2e3efb(0xa1)]=_0x401737[_0x2e3efb(0x141)],PerformanceTester['end'](PerformanceHookEvents[_0x2e3efb(0x11d)],![],_0x2bc8d8,_0x1d8cb7);}const _0x348695={};_0x348695[_0x2e3efb(0xa1)]=_0x401737[_0x2e3efb(0x141)],PerformanceTester[_0x2e3efb(0x10d)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x348695);}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x16870c(0x149)][_0x16870c(0xe4)][_0x16870c(0xa0)],_0x1db3e4=>{const _0x2a5de6=_0x16870c,_0x201eae={};_0x201eae[_0x2a5de6(0xa1)]=_0x401737['kiill'],PerformanceTester['measureWrapper'](PerformanceHookEvents[_0x2a5de6(0x11d)],()=>{const _0x24c240=_0x2a5de6;_0x19edda[_0x24c240(0x136)](_0x1db3e4);},_0x201eae)();}),CodeceptJS[_0x16870c(0x149)][_0x16870c(0xf0)]['on'](CodeceptJS[_0x16870c(0x149)][_0x16870c(0xe4)][_0x16870c(0x134)],_0x5818d6=>{const _0x69369d=_0x16870c,_0x1ac6d5={};_0x1ac6d5['hookType']=_0x401737['tUFBH'],PerformanceTester[_0x69369d(0xbd)](PerformanceHookEvents['SDK_HOOK'],()=>{_0x19edda['bddStepFinish'](_0x5818d6);},_0x1ac6d5)();});};
|
|
1
|
+
function a1_0x56ec(_0x3e7334,_0x201927){const _0x3b990a=a1_0x3b99();return a1_0x56ec=function(_0x56ecda,_0x2dfe12){_0x56ecda=_0x56ecda-0x9c;let _0x18aaec=_0x3b990a[_0x56ecda];return _0x18aaec;},a1_0x56ec(_0x3e7334,_0x201927);}const a1_0x210285=a1_0x56ec;(function(_0x2122de,_0x1d0cc7){const _0x16c2b9=a1_0x56ec,_0x5e09c4=_0x2122de();while(!![]){try{const _0x28dfdb=-parseInt(_0x16c2b9(0xb5))/0x1*(-parseInt(_0x16c2b9(0x114))/0x2)+parseInt(_0x16c2b9(0xb6))/0x3*(parseInt(_0x16c2b9(0x167))/0x4)+-parseInt(_0x16c2b9(0xbd))/0x5+parseInt(_0x16c2b9(0x109))/0x6*(parseInt(_0x16c2b9(0xe0))/0x7)+parseInt(_0x16c2b9(0xc1))/0x8+parseInt(_0x16c2b9(0xf4))/0x9*(parseInt(_0x16c2b9(0x15c))/0xa)+-parseInt(_0x16c2b9(0x16c))/0xb;if(_0x28dfdb===_0x1d0cc7)break;else _0x5e09c4['push'](_0x5e09c4['shift']());}catch(_0x5bba40){_0x5e09c4['push'](_0x5e09c4['shift']());}}}(a1_0x3b99,0x99997));const fs=require('fs'),util=require(a1_0x210285(0x157)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x210285(0xaf)),logger=require('../../helpers/logger')[a1_0x210285(0xbb)],testOpsHelper=require(a1_0x210285(0x11d)),requestSpy=require(a1_0x210285(0x131)),PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x210285(0xfc)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x210285(0x129)),AccessibilityHelper=require('../../bin/playwright/accessibility-helper'),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a1_0x210285(0x100)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require('../../helpers/performance/constants'),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x210285(0xae)),testHubConstants=require(a1_0x210285(0xf1)),globals=require(a1_0x210285(0x166)),CodeceptJS=requireModule('codeceptjs/lib/index.js',a1_0x210285(0xe4)),CodeceptUtils=requireModule(a1_0x210285(0xf5),'codeceptjs'),CodeceptWebDriver=requireModule(a1_0x210285(0xc4),a1_0x210285(0xe4)),CodeceptRecorder=requireModule(a1_0x210285(0xd0),a1_0x210285(0xe4)),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js',a1_0x210285(0xe4)),playwrightMarkSessionStatus=(_0x9b7f0e,_0x540f15,_0x5e025f)=>{const _0x4898e3=a1_0x210285,_0x456089={'wVEvB':'setSessionStatus','UUOMU':function(_0x32ed01,_0x2bbf71){return _0x32ed01(_0x2bbf71);}},_0x47b486={};_0x47b486['status']=_0x540f15;const _0x45e82d={};_0x45e82d['action']=_0x456089[_0x4898e3(0xcd)],_0x45e82d[_0x4898e3(0xde)]=_0x47b486;const _0x557db6=_0x45e82d;return!_0x456089['UUOMU'](isUndefined,_0x5e025f)&&(_0x557db6['arguments']['reason']=JSON[_0x4898e3(0x134)](_0x5e025f)),_0x9b7f0e[_0x4898e3(0x124)](()=>{},_0x4898e3(0x9f)+JSON['stringify'](_0x557db6));},o11ySync=PerformanceTester['measureWrapper'](PerformanceO11yEvents[a1_0x210285(0xb0)],async _0x209036=>{const _0x13775c=a1_0x210285,_0x32b01b={};_0x32b01b[_0x13775c(0xa1)]=function(_0x3ef8de,_0x2eb629){return _0x3ef8de===_0x2eb629;},_0x32b01b[_0x13775c(0x106)]='Playwright';const _0x25c0ce=_0x32b01b;_0x25c0ce[_0x13775c(0xa1)](_0x209036[_0x13775c(0x11c)][_0x13775c(0xfd)],_0x25c0ce['gyekY'])?await _0x209036[_0x13775c(0x124)](_0x35dedc=>{},testOpsHelper['getSyncScript']()):await _0x209036['executeScript'](testOpsHelper['getSyncScript']());}),markSessionName=PerformanceTester[a1_0x210285(0xf9)](PerformanceAutEvents[a1_0x210285(0xe5)],async(_0x4d11f8,_0x114d18)=>{const _0x28bcde=a1_0x210285,_0x2529fe={};_0x2529fe[_0x28bcde(0x150)]=_0x28bcde(0x14f),_0x2529fe[_0x28bcde(0xce)]=function(_0x280aff,_0x1e9e63){return _0x280aff===_0x1e9e63;},_0x2529fe[_0x28bcde(0xd3)]=_0x28bcde(0x155);const _0x206daa=_0x2529fe,_0x42d663={};_0x42d663[_0x28bcde(0xfd)]=_0x114d18;const _0x2da6a1={};_0x2da6a1[_0x28bcde(0xc3)]=_0x206daa[_0x28bcde(0x150)],_0x2da6a1[_0x28bcde(0xde)]=_0x42d663;const _0x159365=_0x2da6a1;_0x206daa[_0x28bcde(0xce)](_0x4d11f8[_0x28bcde(0x11c)][_0x28bcde(0xfd)],_0x206daa[_0x28bcde(0xd3)])?await _0x4d11f8[_0x28bcde(0x124)](()=>{},'browserstack_executor:\x20'+JSON[_0x28bcde(0x134)](_0x159365)):await _0x4d11f8[_0x28bcde(0x124)](_0x28bcde(0x9f)+JSON['stringify'](_0x159365));}),patchSaveScreenshot=_0x102e72=>{const _0x49eb20=a1_0x210285,_0x365679={'Avtlz':'base64','hMUly':'TEST_SCREENSHOT','olFOF':function(_0x3700e1){return _0x3700e1();},'MyfSp':function(_0x46c444,_0x4b5c6e){return _0x46c444(_0x4b5c6e);},'MogEM':_0x49eb20(0xad)};_0x365679[_0x49eb20(0x104)](isTrue,process[_0x49eb20(0x15f)][_0x49eb20(0x112)])&&!_0x102e72[_0x49eb20(0x102)]&&(_0x102e72['patchSaveScreenshot']=!![],_0x102e72[_0x49eb20(0xac)]=_0x102e72['saveScreenshot'],_0x102e72[_0x49eb20(0xeb)]=(_0x4f0435,_0x57029a=![])=>{const _0x3bddc3=_0x49eb20,_0x5db5cc={'hJQdu':_0x365679['Avtlz'],'xQWYD':_0x365679[_0x3bddc3(0xc0)],'WRPVG':function(_0x23892b){const _0xaa56ae=_0x3bddc3;return _0x365679[_0xaa56ae(0x16b)](_0x23892b);},'MWDLz':function(_0x36c73b,_0x3aec66){const _0x2c7dc3=_0x3bddc3;return _0x365679[_0x2c7dc3(0x104)](_0x36c73b,_0x3aec66);},'sarhv':_0x365679['MogEM']};return new Promise(function(_0x2597e4,_0x3ca497){const _0x4d365f=_0x3bddc3;_0x102e72['initSaveScreenshot'](_0x4f0435,_0x57029a)[_0x4d365f(0x107)](()=>{const _0x346c67=_0x4d365f,_0x102239=CodeceptUtils[_0x346c67(0x10c)](_0x4f0435);if(_0x102239){const _0x251cb4=fs[_0x346c67(0x125)](_0x102239);process[_0x346c67(0x115)]('bs:addLog:'+process['pid'],{'timestamp':new Date()[_0x346c67(0xb8)](),'message':_0x251cb4[_0x346c67(0x146)](_0x5db5cc[_0x346c67(0xe3)]),'kind':_0x5db5cc['xQWYD']}),_0x5db5cc[_0x346c67(0xb2)](_0x2597e4);}_0x5db5cc[_0x346c67(0xdf)](_0x3ca497,new Error(_0x5db5cc[_0x346c67(0x152)]));})[_0x4d365f(0x121)](()=>null);});});},patchWebDriverBefore=_0x513be3=>{const _0x89e939=a1_0x210285,_0x23d79e={'FyeGb':function(_0x26fc3e){return _0x26fc3e();},'gsUwK':function(_0x38673d,_0xbca4af){return _0x38673d(_0xbca4af);},'YCXtz':function(_0x28b5c0,_0x3a1f5f){return _0x28b5c0===_0x3a1f5f;},'vxbel':_0x89e939(0x153),'DYNks':function(_0x58a74d,_0x26de02){return _0x58a74d(_0x26de02);}},_0x1efb13=async function(_0x3a054c,_0x47b80e){const _0x174226=_0x89e939;return _0x23d79e['FyeGb'](isAccessibilityAutomationSession)&&!global['bstackAllyScanning']&&global[_0x174226(0x165)]&&scripts['shouldWrapCommand'](_0x3a054c[_0x174226(0xfd)])&&_0x23d79e[_0x174226(0x137)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x174226(0x160)]=!![],await PerformanceTester[_0x174226(0xf9)](PerformanceA11yEvents[_0x174226(0x14c)],async()=>{const _0x2f05a3=_0x174226;logger[_0x2f05a3(0xc9)](_0x2f05a3(0xec)+_0x3a054c[_0x2f05a3(0x149)]+'\x20'+_0x3a054c[_0x2f05a3(0xfd)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x513be3,scripts[_0x2f05a3(0x116)]);},{'command':_0x3a054c[_0x174226(0xfd)]})()),global[_0x174226(0x160)]=![],_0x47b80e[_0x174226(0xe6)](this,Array[_0x174226(0xe2)][_0x174226(0xf3)]['call'](arguments,0x2));},_0x4538fc=CodeceptWebDriver[_0x89e939(0xe2)][_0x89e939(0xf2)];CodeceptWebDriver[_0x89e939(0xe2)][_0x89e939(0xf2)]=async function(){const _0x3aec7a=_0x89e939,_0x6d3aab={'QTQQD':function(_0x34404c,_0x3128f8){const _0x50aabb=a1_0x56ec;return _0x23d79e[_0x50aabb(0x12d)](_0x34404c,_0x3128f8);},'NwpTG':_0x23d79e[_0x3aec7a(0xef)]};try{await _0x4538fc[_0x3aec7a(0xe6)](this,arguments);}catch(_0x3ca2c){logger[_0x3aec7a(0xc9)](_0x3aec7a(0xe9)+util[_0x3aec7a(0xba)](_0x3ca2c));}scripts[_0x3aec7a(0xe8)][_0x3aec7a(0x132)](_0x10c9e7=>_0x10c9e7[_0x3aec7a(0xfd)]&&_0x10c9e7['class'])[_0x3aec7a(0x151)](_0x32f07d=>{const _0x3d9e7d=_0x3aec7a;this[_0x3d9e7d(0xd7)][_0x3d9e7d(0xbc)](_0x32f07d[_0x3d9e7d(0xfd)],_0x1efb13[_0x3d9e7d(0x117)](this,_0x32f07d),_0x6d3aab['QTQQD'](_0x32f07d[_0x3d9e7d(0x149)],_0x6d3aab[_0x3d9e7d(0x122)]));}),_0x23d79e[_0x3aec7a(0xf6)](processWebDriverConfig,_0x513be3);};},patchPlaywrightBefore=()=>{const _0x36b1ce=a1_0x210285;PlaywrightSessionDetails[_0x36b1ce(0xbe)]();const _0x57703c=CodeceptPlaywright['prototype'][_0x36b1ce(0xf2)];CodeceptPlaywright[_0x36b1ce(0xe2)]['_before']=async function(){const _0x541d8b=_0x36b1ce;this[_0x541d8b(0xcc)]=await this[_0x541d8b(0xd7)]['contexts']()[0x0],await _0x57703c[_0x541d8b(0xe6)](this,arguments);};},getCodeceptDriver=()=>{const _0x2e0ba5=a1_0x210285,_0x53199d={};_0x53199d['MjKzD']=_0x2e0ba5(0x13a),_0x53199d[_0x2e0ba5(0x14a)]=_0x2e0ba5(0x155),_0x53199d[_0x2e0ba5(0xf7)]=_0x2e0ba5(0xf8),_0x53199d[_0x2e0ba5(0x145)]=_0x2e0ba5(0xab);const _0x1358a2=_0x53199d,_0x58a015=[_0x1358a2[_0x2e0ba5(0xd5)],_0x1358a2[_0x2e0ba5(0x14a)],_0x1358a2['XunaI'],_0x1358a2['dCRqx']],_0x77d8ca=_0x58a015[_0x2e0ba5(0x133)](_0x4a593b=>!!CodeceptJS[_0x2e0ba5(0xf0)][_0x2e0ba5(0x10a)](_0x4a593b));if(!_0x77d8ca)return null;return CodeceptJS[_0x2e0ba5(0xf0)][_0x2e0ba5(0x10a)](_0x77d8ca);};module['exports']=function(_0x5d72f0){const _0x1c84f2=a1_0x210285,_0x14548e={'fLQYF':function(_0x4474e2){return _0x4474e2();},'giJwt':function(_0x5a522a,_0x549d94){return _0x5a522a(_0x549d94);},'OVZXQ':'getAccessibilityResultsSummary','RDCdJ':_0x1c84f2(0xd2),'WYlrr':_0x1c84f2(0xaa),'OSKTc':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','IvMXv':_0x1c84f2(0xdc),'XsFIX':_0x1c84f2(0x154),'AIKWS':'hook-failed','HsPxk':_0x1c84f2(0x144),'ioaXu':_0x1c84f2(0x13d),'kzULs':function(_0x5ec3cc){return _0x5ec3cc();},'jcKVB':function(_0x74d249,_0x803fbc,_0xf320e){return _0x74d249(_0x803fbc,_0xf320e);},'ifawg':function(_0x76d624,_0x2e1519){return _0x76d624(_0x2e1519);},'QyJuR':_0x1c84f2(0xd1),'GfRIL':_0x1c84f2(0x15e),'Hddrz':function(_0x31778d,_0x1314a9,_0x523687,_0x58cd03){return _0x31778d(_0x1314a9,_0x523687,_0x58cd03);},'vqkXO':function(_0x121704,_0x40fff3){return _0x121704===_0x40fff3;},'ePKpn':'Suite','dpQGp':'test-failed','gKiFC':_0x1c84f2(0x147),'Xauqp':_0x1c84f2(0xff),'NLvxY':function(_0x8220d6,_0x554087,_0xbb641a){return _0x8220d6(_0x554087,_0xbb641a);},'nHCmP':function(_0xffe90){return _0xffe90();},'dGgLO':_0x1c84f2(0x9c),'lTVle':_0x1c84f2(0xd9),'bfnaX':_0x1c84f2(0x12e),'nJxsw':_0x1c84f2(0xc5),'CzdHL':'step-comment','gSAbH':'bddStep-before','kjzEk':_0x1c84f2(0x158),'sAibu':function(_0x5c3403){return _0x5c3403();},'IhmjX':'Playwright'};_0x5d72f0[_0x1c84f2(0xcb)]&&(global[_0x1c84f2(0xd6)]=_0x5d72f0['skipSessionStatus']);PerformanceTester[_0x1c84f2(0x10b)]();const _0x107dcb=_0x14548e['sAibu'](getCodeceptDriver),_0x580dd6=new O11yHelper(_0x107dcb,_0x5d72f0),_0x40e2ac=!!CodeceptJS['container'][_0x1c84f2(0x10a)](_0x14548e['IhmjX']);global['__driver']=_0x107dcb,_0x107dcb&&(PerformanceTester['measureWrapper'](PerformanceEvents[_0x1c84f2(0x120)],()=>{const _0x23d3c1=_0x1c84f2;_0x40e2ac?_0x14548e[_0x23d3c1(0x141)](patchPlaywrightBefore):_0x14548e[_0x23d3c1(0xee)](patchWebDriverBefore,_0x107dcb);})(),PerformanceTester[_0x1c84f2(0xf9)](PerformanceEvents['SDK_POST_INITIALIZE'],()=>{const _0x1d6339=_0x1c84f2,_0xa61bb3={};_0xa61bb3[_0x1d6339(0xa3)]=_0x14548e[_0x1d6339(0x169)],_0xa61bb3[_0x1d6339(0x130)]=_0x14548e[_0x1d6339(0xb1)];const _0x1b190f=_0xa61bb3;_0x107dcb['getAccessibilityResultsSummary']=async()=>{const _0x1ba21f=_0x1d6339;if(global[_0x1ba21f(0x165)]){const _0x5c43f0={};_0x5c43f0['command']=_0x14548e[_0x1ba21f(0x128)],await PerformanceTester[_0x1ba21f(0xf9)](PerformanceA11yEvents[_0x1ba21f(0x14c)],async()=>{const _0x5bfd31=_0x1ba21f;await AccessibilityHelper[_0x5bfd31(0x162)](_0x107dcb,scripts[_0x5bfd31(0x116)]);},_0x5c43f0)(),await PerformanceTester[_0x1ba21f(0xf9)](PerformanceA11yEvents[_0x1ba21f(0x135)],async()=>{const _0x13097e=_0x1ba21f;await AccessibilityHelper[_0x13097e(0x162)](_0x107dcb,scripts[_0x13097e(0x105)]);})();}else return logger[_0x1ba21f(0xe7)](_0x14548e['RDCdJ']),{};},_0x107dcb[_0x1d6339(0xaa)]=async()=>{const _0x1ab578=_0x1d6339;if(global['accessibilityPlatform']){const _0x3f86f1={};_0x3f86f1['command']=_0x1b190f['hgSBV'],await PerformanceTester[_0x1ab578(0xf9)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x23a8e3=_0x1ab578;await AccessibilityHelper[_0x23a8e3(0x162)](_0x107dcb,scripts['performScan']);},_0x3f86f1)(),await PerformanceTester[_0x1ab578(0xf9)](PerformanceA11yEvents[_0x1ab578(0x13c)],async()=>{const _0xa6e5ca=_0x1ab578;await AccessibilityHelper[_0xa6e5ca(0x162)](_0x107dcb,scripts[_0xa6e5ca(0xfa)]);})();}else return logger[_0x1ab578(0xe7)](_0x1b190f[_0x1ab578(0x130)]),{};},_0x14548e['giJwt'](patchSaveScreenshot,_0x107dcb);})()),CodeceptJS['event'][_0x1c84f2(0xa7)]['on'](CodeceptJS[_0x1c84f2(0x15b)][_0x1c84f2(0xe1)][_0x1c84f2(0x10e)],()=>{const _0x39548f=_0x1c84f2;PerformanceTester[_0x39548f(0x12f)](PerformanceEvents['SDK_PRE_TEST']);try{_0x580dd6[_0x39548f(0x12f)](),testOpsHelper['addRequestSpy'](),PerformanceTester[_0x39548f(0x9d)](PerformanceEvents[_0x39548f(0x110)]);}catch(_0x40696c){PerformanceTester[_0x39548f(0x161)](_0x40696c),PerformanceTester[_0x39548f(0x9d)](PerformanceEvents['SDK_PRE_TEST'],![],_0x40696c);}}),CodeceptJS[_0x1c84f2(0x15b)][_0x1c84f2(0xa7)]['on'](CodeceptJS[_0x1c84f2(0x15b)][_0x1c84f2(0xe1)][_0x1c84f2(0x10d)],async()=>{const _0x25d8ce=_0x1c84f2;PerformanceTester[_0x25d8ce(0x12f)](PerformanceEvents[_0x25d8ce(0x119)]);try{requestSpy[_0x25d8ce(0x111)](),await _0x580dd6['stop'](),PerformanceTester['end'](PerformanceEvents[_0x25d8ce(0x119)]);}catch(_0x5ead5e){PerformanceTester[_0x25d8ce(0x161)](_0x5ead5e),PerformanceTester[_0x25d8ce(0x9d)](PerformanceEvents[_0x25d8ce(0x119)],![],_0x5ead5e);}finally{PerformanceTester[_0x25d8ce(0x156)]();}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS['event'][_0x1c84f2(0x14b)][_0x1c84f2(0x136)],_0xf08cd0=>{const _0x5d2371=_0x1c84f2;PerformanceTester['start'](PerformanceEvents[_0x5d2371(0x11f)]);try{const _0x531b23=_0xf08cd0['ctx']['test'],_0x154200=_0x580dd6[_0x5d2371(0x108)](TEST_EVENTS['HOOK_RUN_STARTED'],_0x531b23);CodeceptRecorder[_0x5d2371(0x143)](()=>_0x580dd6[_0x5d2371(0x148)](TEST_EVENTS['HOOK_RUN_STARTED'],_0x154200));const _0x1f06c3={};_0x1f06c3[_0x5d2371(0x103)]=_0x14548e[_0x5d2371(0xd8)],PerformanceTester[_0x5d2371(0x9d)](PerformanceEvents[_0x5d2371(0x11f)],!![],null,_0x1f06c3);}catch(_0x2823f7){const _0x52ef7c={};_0x52ef7c['hookType']=_0x14548e['IvMXv'],PerformanceTester['end'](PerformanceEvents[_0x5d2371(0x11f)],![],_0x2823f7,_0x52ef7c),PerformanceTester[_0x5d2371(0x161)](_0x2823f7);}}),CodeceptJS[_0x1c84f2(0x15b)][_0x1c84f2(0xa7)]['on'](CodeceptJS[_0x1c84f2(0x15b)][_0x1c84f2(0x14b)][_0x1c84f2(0x113)],_0x1fc979=>{const _0x359a1f=_0x1c84f2,_0x290239={};_0x290239[_0x359a1f(0x103)]=_0x14548e[_0x359a1f(0x118)],PerformanceTester[_0x359a1f(0x12f)](PerformanceHookEvents[_0x359a1f(0x11f)],!![],null,_0x290239);try{const _0x304b69=_0x1fc979[_0x359a1f(0xa6)][_0x359a1f(0x127)],_0x1a835d=_0x580dd6[_0x359a1f(0x108)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x304b69);CodeceptRecorder[_0x359a1f(0x143)](()=>_0x580dd6['fireEvent'](TEST_EVENTS[_0x359a1f(0x12a)],_0x1a835d));const _0x4c72f8={};_0x4c72f8[_0x359a1f(0x103)]=_0x14548e[_0x359a1f(0x118)],PerformanceTester[_0x359a1f(0x9d)](PerformanceHookEvents[_0x359a1f(0x11f)],!![],null,_0x4c72f8);}catch(_0x5cc0bb){PerformanceTester[_0x359a1f(0x161)](_0x5cc0bb);const _0x3bddbd={};_0x3bddbd[_0x359a1f(0x103)]=_0x14548e[_0x359a1f(0x118)],PerformanceTester[_0x359a1f(0x9d)](PerformanceHookEvents['SDK_HOOK'],![],_0x5cc0bb,_0x3bddbd);}}),CodeceptJS[_0x1c84f2(0x15b)][_0x1c84f2(0xa7)]['on'](CodeceptJS[_0x1c84f2(0x15b)][_0x1c84f2(0x14b)]['failed'],async(_0x236912,_0x3b8c92)=>{const _0xf7c5c7=_0x1c84f2;PerformanceTester[_0xf7c5c7(0x12f)](PerformanceHookEvents['SDK_HOOK']);try{const _0x3a5577=_0x236912[_0xf7c5c7(0xa6)][_0xf7c5c7(0x127)],_0x3bb37a=_0x580dd6[_0xf7c5c7(0x108)](TEST_EVENTS[_0xf7c5c7(0x12a)],_0x3a5577,_0x3b8c92);CodeceptRecorder[_0xf7c5c7(0x143)](()=>_0x580dd6[_0xf7c5c7(0x148)](TEST_EVENTS[_0xf7c5c7(0x12a)],_0x3bb37a));const _0x272990={};_0x272990[_0xf7c5c7(0x103)]=_0x14548e['AIKWS'],PerformanceTester['start'](PerformanceHookEvents[_0xf7c5c7(0x11f)],!![],null,_0x272990);}catch(_0x40359e){PerformanceTester[_0xf7c5c7(0x161)](_0x40359e);const _0x44bbfb={};_0x44bbfb['hookType']=_0x14548e[_0xf7c5c7(0xc6)],PerformanceTester[_0xf7c5c7(0x9d)](PerformanceHookEvents[_0xf7c5c7(0x11f)],![],_0x40359e,_0x44bbfb);}const _0x379624={};_0x379624[_0xf7c5c7(0x103)]=_0x14548e['AIKWS'],PerformanceTester[_0xf7c5c7(0x9d)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x379624);}),CodeceptJS[_0x1c84f2(0x15b)]['dispatcher']['on'](CodeceptJS[_0x1c84f2(0x15b)][_0x1c84f2(0x127)][_0x1c84f2(0x10e)],_0x25da37=>{const _0x48293e=_0x1c84f2;PerformanceTester['start'](PerformanceHookEvents[_0x48293e(0x11f)]);try{globals[_0x48293e(0xc7)](_0x14548e[_0x48293e(0x139)],_0x25da37[_0x48293e(0xb9)]);_0x14548e[_0x48293e(0x141)](isBrowserstackInfra)&&(_0x40e2ac&&(global[_0x48293e(0xfb)]={'currentTest':{'name':_0x25da37['title'],'testInfo':{'titlePath':_0x25da37[_0x48293e(0xa4)]()}}}));const _0x4c5966={};_0x4c5966[_0x48293e(0x103)]=_0x14548e[_0x48293e(0x159)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x4c5966);}catch(_0x4ba04b){PerformanceTester['captureError'](_0x4ba04b);const _0x24e3de={};_0x24e3de[_0x48293e(0x103)]=_0x14548e[_0x48293e(0x159)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x4ba04b,_0x24e3de);}}),CodeceptJS['event'][_0x1c84f2(0xa7)]['on'](CodeceptJS[_0x1c84f2(0x15b)][_0x1c84f2(0x127)][_0x1c84f2(0x136)],_0x5ac778=>{const _0x14ddcf=_0x1c84f2;PerformanceTester[_0x14ddcf(0x12f)](PerformanceHookEvents[_0x14ddcf(0x11f)]);try{globals[_0x14ddcf(0xc7)](_0x14548e[_0x14ddcf(0x139)],_0x5ac778[_0x14ddcf(0xb9)]);const _0x10b8fd=_0x580dd6[_0x14ddcf(0x108)](TEST_EVENTS[_0x14ddcf(0xc8)],_0x5ac778);CodeceptRecorder[_0x14ddcf(0x143)](()=>_0x580dd6[_0x14ddcf(0x148)](TEST_EVENTS['TEST_RUN_STARTED'],_0x10b8fd)),CodeceptRecorder[_0x14ddcf(0x143)](async()=>{const _0x219b64=_0x14ddcf;_0x14548e[_0x219b64(0xca)](isBrowserstackInfra)&&(!_0x14548e[_0x219b64(0xee)](isTrue,_0x5d72f0['skipSessionName'])&&await _0x14548e[_0x219b64(0x9e)](markSessionName,_0x107dcb,_0x5ac778[_0x219b64(0xb9)]),_0x580dd6[_0x219b64(0x14d)]&&await _0x14548e['ifawg'](o11ySync,_0x107dcb));});}catch(_0x131266){const _0x456d67={};_0x456d67['hookType']=_0x14548e[_0x14ddcf(0xed)],PerformanceTester[_0x14ddcf(0x9d)](PerformanceHookEvents['SDK_HOOK'],![],_0x131266,_0x456d67),PerformanceTester[_0x14ddcf(0x161)](_0x131266);}const _0x4d1b28={};_0x4d1b28[_0x14ddcf(0x103)]=_0x14548e[_0x14ddcf(0xed)],PerformanceTester[_0x14ddcf(0x9d)](PerformanceHookEvents[_0x14ddcf(0x11f)],!![],null,_0x4d1b28);}),CodeceptJS[_0x1c84f2(0x15b)][_0x1c84f2(0xa7)]['on'](CodeceptJS[_0x1c84f2(0x15b)][_0x1c84f2(0x127)][_0x1c84f2(0x113)],_0x2b300c=>{const _0xc0df7a=_0x1c84f2,_0x222476={'hMHCP':function(_0x5f4bf7,_0x4459ec,_0x1cf83a){return _0x14548e['jcKVB'](_0x5f4bf7,_0x4459ec,_0x1cf83a);},'doAjX':function(_0x55da8b){const _0x5802cf=a1_0x56ec;return _0x14548e[_0x5802cf(0xca)](_0x55da8b);}};PerformanceTester[_0xc0df7a(0x12f)](PerformanceHookEvents[_0xc0df7a(0x11f)]);try{const _0x270f41=_0x580dd6[_0xc0df7a(0x108)](TEST_EVENTS[_0xc0df7a(0x163)],_0x2b300c);CodeceptRecorder[_0xc0df7a(0x143)](()=>_0x580dd6[_0xc0df7a(0x148)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x270f41)),CodeceptRecorder[_0xc0df7a(0x143)](async()=>{const _0x4b97a1=_0xc0df7a;_0x222476[_0x4b97a1(0x16a)](isBrowserstackInfra)&&await PerformanceTester[_0x4b97a1(0xf9)](PerformanceAutEvents[_0x4b97a1(0x15d)],async()=>{const _0x544a48=_0x4b97a1;_0x40e2ac?await _0x222476[_0x544a48(0xb7)](playwrightMarkSessionStatus,_0x107dcb,STATE_PASSED):await _0x222476[_0x544a48(0xb7)](markSessionStatus,_0x107dcb,STATE_PASSED);})();}),PerformanceTester[_0xc0df7a(0x9d)](PerformanceEvents[_0xc0df7a(0xb4)]);}catch(_0x5b7540){PerformanceTester[_0xc0df7a(0x161)](_0x5b7540);const _0x5de369={};_0x5de369[_0xc0df7a(0x103)]=_0x14548e[_0xc0df7a(0xea)],PerformanceTester[_0xc0df7a(0x9d)](PerformanceHookEvents[_0xc0df7a(0x11f)],![],_0x5b7540,_0x5de369),PerformanceTester[_0xc0df7a(0x9d)](PerformanceEvents[_0xc0df7a(0xb4)],![],_0x5b7540);}const _0x26c21a={};_0x26c21a[_0xc0df7a(0x103)]=_0x14548e[_0xc0df7a(0xea)],PerformanceTester[_0xc0df7a(0x9d)](PerformanceHookEvents[_0xc0df7a(0x11f)],!![],null,_0x26c21a);}),CodeceptJS[_0x1c84f2(0x15b)][_0x1c84f2(0xa7)]['on'](CodeceptJS[_0x1c84f2(0x15b)][_0x1c84f2(0x127)][_0x1c84f2(0x11b)],(_0x384f1a,_0x3b5764)=>{const _0xbf72f2=_0x1c84f2,_0x14b45f={'byLQP':function(_0x170148){return _0x14548e['fLQYF'](_0x170148);},'EMmRP':function(_0x576cb8,_0x48fb31,_0x29645c,_0x276a0a){return _0x14548e['Hddrz'](_0x576cb8,_0x48fb31,_0x29645c,_0x276a0a);}};PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{if(_0x14548e[_0xbf72f2(0x101)](_0x384f1a[_0xbf72f2(0x11c)][_0xbf72f2(0xfd)],_0x14548e[_0xbf72f2(0x16d)])){const _0x51d003=_0x580dd6[_0xbf72f2(0x108)](TEST_EVENTS[_0xbf72f2(0x140)],_0x384f1a['ctx'][_0xbf72f2(0x126)]);CodeceptRecorder['add'](()=>_0x580dd6[_0xbf72f2(0x148)](TEST_EVENTS[_0xbf72f2(0x140)],_0x51d003));}else{const _0x4a6ad1=_0x580dd6[_0xbf72f2(0x108)](TEST_EVENTS[_0xbf72f2(0x163)],_0x384f1a,_0x3b5764);CodeceptRecorder['add'](()=>{const _0x3e43e6=_0xbf72f2;try{_0x580dd6[_0x3e43e6(0x148)](TEST_EVENTS[_0x3e43e6(0x163)],_0x4a6ad1);}catch(_0x4e365a){logger[_0x3e43e6(0xc9)](_0x3e43e6(0x11e)+util[_0x3e43e6(0xba)](_0x4e365a)),PerformanceTester[_0x3e43e6(0x9d)](PerformanceEvents['SDK_TEST'],![],_0x4e365a);}}),CodeceptRecorder[_0xbf72f2(0x143)](async()=>{const _0x12e9e1=_0xbf72f2;try{_0x14b45f[_0x12e9e1(0x16e)](isBrowserstackInfra)&&(_0x40e2ac?await _0x14b45f[_0x12e9e1(0x11a)](playwrightMarkSessionStatus,_0x107dcb,STATE_FAILED,_0x3b5764):await _0x14b45f[_0x12e9e1(0x11a)](markSessionStatus,_0x107dcb,STATE_FAILED,_0x3b5764));}catch(_0x5b0885){logger['debug'](_0x12e9e1(0x138)+util[_0x12e9e1(0xba)](_0x5b0885)),PerformanceTester[_0x12e9e1(0x9d)](PerformanceEvents['SDK_TEST'],![],_0x5b0885);}});}PerformanceTester['end'](PerformanceEvents[_0xbf72f2(0xb4)]);}catch(_0x964caa){PerformanceTester[_0xbf72f2(0x161)](_0x964caa);const _0x2f5132={};_0x2f5132[_0xbf72f2(0x103)]=_0x14548e[_0xbf72f2(0x164)],PerformanceTester['end'](PerformanceHookEvents[_0xbf72f2(0x11f)],![],_0x964caa,_0x2f5132),PerformanceTester[_0xbf72f2(0x9d)](PerformanceEvents[_0xbf72f2(0xb4)],![],_0x964caa);}const _0x332486={};_0x332486[_0xbf72f2(0x103)]=_0x14548e[_0xbf72f2(0x164)],PerformanceTester[_0xbf72f2(0x9d)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x332486);}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS['event'][_0x1c84f2(0x127)][_0x1c84f2(0x13b)],_0x5275b7=>{const _0x1ad96a=_0x1c84f2;PerformanceTester['start'](PerformanceHookEvents[_0x1ad96a(0x11f)]);try{const _0x229fe4=_0x580dd6['captureEvent'](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x5275b7);CodeceptRecorder[_0x1ad96a(0x143)](()=>_0x580dd6[_0x1ad96a(0x148)](TEST_EVENTS[_0x1ad96a(0x140)],_0x229fe4)),PerformanceTester['end'](PerformanceEvents[_0x1ad96a(0xb4)]);}catch(_0x4465be){PerformanceTester[_0x1ad96a(0x161)](_0x4465be),PerformanceTester[_0x1ad96a(0x9d)](PerformanceEvents[_0x1ad96a(0xb4)],![],_0x4465be);const _0x19f2f4={};_0x19f2f4['hookType']=_0x14548e[_0x1ad96a(0x10f)],PerformanceTester[_0x1ad96a(0x9d)](PerformanceHookEvents[_0x1ad96a(0x11f)],![],_0x4465be,_0x19f2f4);}const _0x4c1ff2={};_0x4c1ff2[_0x1ad96a(0x103)]=_0x14548e['gKiFC'],PerformanceTester[_0x1ad96a(0x9d)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x4c1ff2);}),CodeceptJS[_0x1c84f2(0x15b)]['dispatcher']['on'](CodeceptJS['event'][_0x1c84f2(0x127)]['after'],async(_0x219982,_0x483419)=>{const _0x3d43d4=_0x1c84f2;try{PerformanceTester[_0x3d43d4(0x12f)](PerformanceHookEvents[_0x3d43d4(0x11f)]);if(_0x14548e['kzULs'](isBrowserstackInfra)){const _0x300e2a=_0x14548e[_0x3d43d4(0x12b)](shouldScanTestForAccessibility,_0x219982[_0x3d43d4(0xa4)](),!![]);if(_0x14548e[_0x3d43d4(0xdb)](isAccessibilityAutomationSession)&&global['accessibilityPlatform']&&_0x300e2a){const _0x296ad9={};_0x296ad9['thTestRunUuid']=_0x219982[_0x3d43d4(0x142)],_0x296ad9[_0x3d43d4(0x14e)]=process[_0x3d43d4(0x15f)][testHubConstants[_0x3d43d4(0xcf)][_0x3d43d4(0xa2)]],_0x296ad9[_0x3d43d4(0xfe)]=process[_0x3d43d4(0x15f)][testHubConstants[_0x3d43d4(0xcf)][_0x3d43d4(0xa9)]];const _0x1eade2=_0x296ad9;logger[_0x3d43d4(0xc9)](_0x3d43d4(0xda)+JSON[_0x3d43d4(0x134)](_0x1eade2)),CodeceptRecorder['add'](async()=>{const _0x7f1682=_0x3d43d4,_0x2e854d={};_0x2e854d[_0x7f1682(0x15a)]=_0x14548e[_0x7f1682(0x12c)],await PerformanceTester[_0x7f1682(0xf9)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x5674fd=_0x7f1682;await AccessibilityHelper[_0x5674fd(0x162)](_0x107dcb,scripts['performScan']);},_0x2e854d)(),await PerformanceTester[_0x7f1682(0xf9)](PerformanceA11yEvents[_0x7f1682(0xa8)],async()=>{await AccessibilityHelper['browserStackExecuteDriver'](_0x107dcb,scripts['saveTestResults'],_0x1eade2);})();}),logger[_0x3d43d4(0x13e)](_0x14548e[_0x3d43d4(0x168)]);}}const _0x5be229={};_0x5be229[_0x3d43d4(0x103)]=_0x14548e[_0x3d43d4(0xb3)],PerformanceTester[_0x3d43d4(0x9d)](PerformanceHookEvents[_0x3d43d4(0x11f)],!![],null,_0x5be229);}catch(_0xb14d5b){PerformanceTester[_0x3d43d4(0x161)](_0xb14d5b);const _0x3725df={};_0x3725df[_0x3d43d4(0x103)]=_0x14548e[_0x3d43d4(0xb3)],PerformanceTester[_0x3d43d4(0x9d)](PerformanceHookEvents[_0x3d43d4(0x11f)],![],_0xb14d5b,_0x3725df);}}),CodeceptJS['event'][_0x1c84f2(0xa7)]['on'](CodeceptJS[_0x1c84f2(0x15b)][_0x1c84f2(0xd4)][_0x1c84f2(0xa0)],_0x54e052=>{const _0x163cdd=_0x1c84f2;PerformanceTester[_0x163cdd(0x12f)](PerformanceHookEvents[_0x163cdd(0x11f)]);try{process[_0x163cdd(0x115)](_0x163cdd(0xa5)+process[_0x163cdd(0xdd)],{'timestamp':new Date()[_0x163cdd(0xb8)](),'level':_0x14548e['bfnaX'],'message':_0x54e052,'kind':_0x14548e['nJxsw'],'http_response':{}});}catch(_0x582bc3){PerformanceTester[_0x163cdd(0x161)](_0x582bc3);const _0x48bda2={};_0x48bda2[_0x163cdd(0x103)]=_0x14548e[_0x163cdd(0x123)],PerformanceTester[_0x163cdd(0x9d)](PerformanceHookEvents[_0x163cdd(0x11f)],![],_0x582bc3,_0x48bda2);}const _0x130d6c={};_0x130d6c[_0x163cdd(0x103)]=_0x14548e[_0x163cdd(0x123)],PerformanceTester[_0x163cdd(0x9d)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x130d6c);}),CodeceptJS[_0x1c84f2(0x15b)]['dispatcher']['on'](CodeceptJS[_0x1c84f2(0x15b)][_0x1c84f2(0x13f)][_0x1c84f2(0x10e)],_0x1952b9=>{const _0x33eafb=_0x1c84f2,_0x7bb9e1={};_0x7bb9e1[_0x33eafb(0x103)]=_0x14548e[_0x33eafb(0xbf)],PerformanceTester[_0x33eafb(0xf9)](PerformanceHookEvents[_0x33eafb(0x11f)],()=>{const _0x371e78=_0x33eafb;_0x580dd6[_0x371e78(0xc2)](_0x1952b9);},_0x7bb9e1)();}),CodeceptJS[_0x1c84f2(0x15b)][_0x1c84f2(0xa7)]['on'](CodeceptJS[_0x1c84f2(0x15b)]['bddStep'][_0x1c84f2(0x10d)],_0x571c86=>{const _0x41d389=_0x1c84f2,_0x28be26={};_0x28be26[_0x41d389(0x103)]=_0x14548e['kjzEk'],PerformanceTester[_0x41d389(0xf9)](PerformanceHookEvents[_0x41d389(0x11f)],()=>{_0x580dd6['bddStepFinish'](_0x571c86);},_0x28be26)();});};function a1_0x3b99(){const _0x495309=['test','OVZXQ','../../helpers/accessibility-automation/helper','HOOK_RUN_FINISHED','NLvxY','Xauqp','YCXtz','INFO','start','hGKrG','../../helpers/request-spy','filter','find','stringify','GET_RESULTS_SUMMARY','started','gsUwK','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','HsPxk','WebDriver','skipped','GET_RESULTS','test-before','info','bddStep','TEST_RUN_SKIPPED','fLQYF','testAnalyticsId','add','browserstackTestName','dCRqx','toString','test-skipped','fireEvent','class','VokRl','hook','PERFORM_SCAN','enabled','thBuildUuid','setSessionName','sotuR','forEach','sarhv','Element','hook-passed','Playwright','stopMonitoring','util','bddStep-after','ioaXu','command','event','10OrAzDl','SESSION_STATUS','test-passed','env','bstackAllyScanning','captureError','browserStackExecuteDriver','TEST_RUN_FINISHED','dpQGp','accessibilityPlatform','../../helpers/globals.js','3302452auKAUJ','dGgLO','WYlrr','doAjX','olFOF','30954836qDIyka','ePKpn','byLQP','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','end','jcKVB','browserstack_executor:\x20','comment','PsMwJ','BROWSERSTACK_TESTHUB_UUID','hgSBV','titlePath','bs:addLog:','ctx','dispatcher','SAVE_RESULTS','BROWSERSTACK_TESTHUB_JWT','getAccessibilityResults','TestCafe','initSaveScreenshot','Screenshot\x20path\x20not\x20found','./helper.js','../../helpers/helper','SYNC','OSKTc','WRPVG','lTVle','SDK_TEST','16stUaVl','3sJWsmy','hMHCP','toISOString','title','format','winstonLogger','overwriteCommand','1641625jQaDIT','patch','gSAbH','hMUly','3598616OxzNhB','bddStepStart','action','codeceptjs/lib/helper/WebDriver.js','TEST_LOG','AIKWS','setGlobal','TEST_RUN_STARTED','debug','kzULs','skipSessionStatus','browserContext','wVEvB','wIbIU','ENV_VAR','codeceptjs/lib/recorder.js','test-started','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','wwXsV','step','MjKzD','__skipSessionStatus','browser','IvMXv','test-after','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','nHCmP','hook-started','pid','arguments','MWDLz','21KLzeyv','all','prototype','hJQdu','codeceptjs','SESSION_NAME','apply','warn','commandsToWrap','Failed\x20to\x20execute\x20_before:\x20','GfRIL','saveScreenshot','Performing\x20scan\x20for\x20','QyJuR','giJwt','vxbel','container','../../helpers/testhub/constants.js','_before','slice','3053727yYwRzc','codeceptjs/lib/utils.js','DYNks','XunaI','Puppeteer','measureWrapper','getResults','__workerDetails','./o11yHelper','name','thJwtToken','afterTest','../../helpers/performance/performance-tester','vqkXO','patchSaveScreenshot','hookType','MyfSp','getResultsSummary','gyekY','then','captureEvent','1801314eYpldE','helpers','startMonitoring','screenshotOutputFolder','after','before','gKiFC','SDK_PRE_TEST','restore','BS_TESTOPS_ALLOW_SCREENSHOTS','passed','157018phSRkY','emit','performScan','bind','XsFIX','SDK_POST_TEST','EMmRP','failed','constructor','../../helpers/test-observability/utils','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','SDK_HOOK','SDK_PRE_INITIALIZE','catch','NwpTG','CzdHL','executeScript','readFileSync','currentTest'];a1_0x3b99=function(){return _0x495309;};return a1_0x3b99();}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a2_0x5a96(){const _0x238b6d=['bootstrapAll','12URgcMz','../../helpers/test-observability/utils','webkit','iTBQJ','LTFWe','MZoyY','8rzEhlx','require','../../helpers/utilities','load','trim','printBuildLink','addOptions','frameworkName','KvtdF','browser','accessibility','3tVZhYh','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','mergeDeep','WebDriver','toLowerCase','1501630ovKIta','winstonLogger','kJnXi','addTests','stop','getUserWorkerCount','2370094UJfWMA','BWvWJ','slice','helpers','process','35135270FMvjpy','createGroupsOfSuites','Started\x20:\x20','cwd','qlWRW','chrome','sXQij','testConfig','89608tntlmw','all','FRAMEWORKS','LGBBA','BROWSERSTACK_TEST_OBSERVABILITY_YML','GZjPG','findIndex','errorMessage','testObservability','Passed\x20:\x20','../../helpers/test-observability/constants','skipSessionName','format','codeceptjs/lib/index.js','root','handleApp','passed','testContextOptions','accessibilityOptions','codeceptjs','MVHxq','desiredCapabilities','Playwright','EhoiH','validPlatformsPresent','CODECEPT','run','browserWSEndpoint','map','playwright-firefox','chdir','../../helpers/logger','existsSync','debug','isUndefined','push','getPlatformName','../../helpers/testhub/testhubHandler','GcXwe','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','shaHR','isTrue','SDK_CLEANUP','log','useW3C','event','title','vazii','khDzE','validateRerunTestList','lHSvS','7731150liqsLS','ArfGp','forEach','platforms','playwright-webkit','chromium','prepareCapabilities','uwHXe','browserName','gherkin','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','exports','addConfig','parallelsPerPlatform','start','3083157MVOyhT','firefox','plugins','test','SDK_SETUP','1670584ByiUGg','config','finalExecution','codecept.json','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Workers','ApqEM','failed','../../helpers/performance/performance-tester','../../helpers/helper','OsFwI','skipSessionStatus','path','split','EVENTS','end','../../helpers/accessibility-automation/helper','stringify','info','env','result','profile','printResults','USER_CONFIG_DETAILS_PATH','BROWSERSTACK_RERUN','join','zIziX','zomjx','../utils/constants','enabled','spawn'];a2_0x5a96=function(){return _0x238b6d;};return a2_0x5a96();}function a2_0x58e8(_0x3cd1af,_0x5ce545){const _0x5a96d9=a2_0x5a96();return a2_0x58e8=function(_0x58e812,_0x3e0586){_0x58e812=_0x58e812-0x132;let _0x18decf=_0x5a96d9[_0x58e812];return _0x18decf;},a2_0x58e8(_0x3cd1af,_0x5ce545);}const a2_0x246531=a2_0x58e8;(function(_0x59b236,_0x4fafe7){const _0x2cb09c=a2_0x58e8,_0x50e340=_0x59b236();while(!![]){try{const _0x5e5d75=-parseInt(_0x2cb09c(0x137))/0x1+-parseInt(_0x2cb09c(0x1ba))/0x2*(parseInt(_0x2cb09c(0x1af))/0x3)+parseInt(_0x2cb09c(0x17e))/0x4+parseInt(_0x2cb09c(0x1b4))/0x5*(-parseInt(_0x2cb09c(0x19e))/0x6)+-parseInt(_0x2cb09c(0x16a))/0x7+-parseInt(_0x2cb09c(0x1a4))/0x8*(parseInt(_0x2cb09c(0x179))/0x9)+parseInt(_0x2cb09c(0x1bf))/0xa;if(_0x5e5d75===_0x4fafe7)break;else _0x50e340['push'](_0x50e340['shift']());}catch(_0x5eff45){_0x50e340['push'](_0x50e340['shift']());}}}(a2_0x5a96,0x94a4b));const fs=require('fs'),path=require(a2_0x246531(0x18a)),util=require('util'),process=require(a2_0x246531(0x1be)),logger=require(a2_0x246531(0x156))[a2_0x246531(0x1b5)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),utilities=require(a2_0x246531(0x1a6)),{checkAccessibilityPlatformConfig}=require(a2_0x246531(0x18e)),{setAccessibilityCapabilities}=require('../../bin/playwright/accessibility-helper'),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x246531(0x187)),CodeceptJS=requireModule(a2_0x246531(0x144),a2_0x246531(0x14a)),testOpsHelper=require(a2_0x246531(0x19f)),TestHubHandler=require(a2_0x246531(0x15c)),constants=require(a2_0x246531(0x19a)),PerformanceTester=require(a2_0x246531(0x186)),{FRAMEWORKS}=require(a2_0x246531(0x141)),PerformanceEvents=require('../../helpers/performance/constants')[a2_0x246531(0x18c)],_testErrorData=[],getUserCodeceptJSConfigs=(_0x8654ec,_0xe8a85f)=>{const _0x4f1cd4=a2_0x246531,_0x535a3d={};_0x535a3d[_0x4f1cd4(0x166)]=function(_0x4ff8c0,_0xc1bcd6){return _0x4ff8c0===_0xc1bcd6;},_0x535a3d[_0x4f1cd4(0x188)]='codecept.conf.js',_0x535a3d[_0x4f1cd4(0x1a3)]=_0x4f1cd4(0x181);const _0x169247=_0x535a3d;let _0x1d0a51=null;const _0x3f0e76={};let _0x2434b0=_0xe8a85f[_0x4f1cd4(0x13d)](_0x15254a=>_0x15254a==='--config');_0x169247[_0x4f1cd4(0x166)](_0x2434b0,-0x1)&&(_0x2434b0=_0xe8a85f['findIndex'](_0x2fd02c=>_0x2fd02c==='-c'));if(!helper[_0x4f1cd4(0x159)](_0x8654ec[_0x4f1cd4(0x17f)])&&fs[_0x4f1cd4(0x157)](path[_0x4f1cd4(0x197)](process[_0x4f1cd4(0x132)](),_0x8654ec['config'])))_0x1d0a51=path[_0x4f1cd4(0x197)](process['cwd'](),_0x8654ec[_0x4f1cd4(0x17f)]),_0xe8a85f['slice'](_0x2434b0,0x2);else{if(!helper['isUndefined'](_0x8654ec['c'])&&fs[_0x4f1cd4(0x157)](path[_0x4f1cd4(0x197)](process['cwd'](),_0x8654ec['c'])))_0x1d0a51=path['join'](process[_0x4f1cd4(0x132)](),_0x8654ec['c']),_0xe8a85f[_0x4f1cd4(0x1bc)](_0x2434b0,0x2);else{if(fs[_0x4f1cd4(0x157)](path[_0x4f1cd4(0x197)](process[_0x4f1cd4(0x132)](),_0x169247['OsFwI'])))_0x1d0a51=path['join'](process['cwd'](),_0x169247[_0x4f1cd4(0x188)]);else fs[_0x4f1cd4(0x157)](path[_0x4f1cd4(0x197)](process[_0x4f1cd4(0x132)](),_0x169247[_0x4f1cd4(0x1a3)]))&&(_0x1d0a51=path['join'](process[_0x4f1cd4(0x132)](),_0x169247['MZoyY']));}}return process[_0x4f1cd4(0x191)][_0x4f1cd4(0x195)]=_0x1d0a51,_0x1d0a51;},getO11yRerunPattern=()=>{const _0x53034e=a2_0x246531,_0x1ef8e4=helper[_0x53034e(0x160)](process[_0x53034e(0x191)][_0x53034e(0x196)]);if(_0x1ef8e4){const _0x20d224=process[_0x53034e(0x191)]['BROWSERSTACK_RERUN_TESTS'],_0x19c36d=[];if(helper[_0x53034e(0x168)](_0x20d224)&&!helper['isUndefined'](_0x20d224)){_0x20d224['split'](',')['map'](_0x369d82=>{const _0x7b2ca7=_0x53034e;_0x19c36d[_0x7b2ca7(0x15a)]('('+_0x369d82[_0x7b2ca7(0x1a8)]()+')');});const _0x168844='^'+_0x19c36d[_0x53034e(0x197)]('|')+'$';return _0x168844;}}return null;},a2_0x10a2ef={};a2_0x10a2ef[a2_0x246531(0x134)]=a2_0x246531(0x16f),a2_0x10a2ef['playwright-chromium']=a2_0x246531(0x16f),a2_0x10a2ef[a2_0x246531(0x154)]=a2_0x246531(0x17a),a2_0x10a2ef[a2_0x246531(0x16e)]=a2_0x246531(0x1a0);const pwToCodeceptBrowser=a2_0x10a2ef;async function run(_0x4d9b4b,_0x7ed47f,_0x1e692c){const _0x2a9db3=a2_0x246531,_0x114880={'shaHR':function(_0x53cad9,_0x10c8aa){return _0x53cad9+_0x10c8aa;},'ApqEM':function(_0x254280,_0x2c6c06){return _0x254280(_0x2c6c06);},'khDzE':function(_0x3e2375,_0x2b76fb,_0x19e6a9){return _0x3e2375(_0x2b76fb,_0x19e6a9);},'zIziX':_0x2a9db3(0x1bd),'kJnXi':function(_0x5b42d0){return _0x5b42d0();},'BWvWJ':function(_0x4565a7){return _0x4565a7();},'MZZij':'Failed\x20:\x20','gmeRF':_0x2a9db3(0x140),'LTFWe':_0x2a9db3(0x1c1),'tOzTB':'5|2|1|4|3|0','DqREr':_0x2a9db3(0x174),'zomjx':_0x2a9db3(0x14d),'uwHXe':_0x2a9db3(0x1b2),'MVHxq':function(_0xb36e9b,_0x5bea32){return _0xb36e9b!=_0x5bea32;},'snuSu':function(_0x56f4e9,_0x563d28){return _0x56f4e9===_0x563d28;},'GZjPG':_0x2a9db3(0x173),'lHSvS':function(_0x47eb5d,_0x2343b2){return _0x47eb5d(_0x2343b2);},'EhoiH':function(_0x135af4,_0x1f6f67){return _0x135af4*_0x1f6f67;},'qlWRW':_0x2a9db3(0x1ad),'iTBQJ':function(_0x526392,_0x5c64a8,_0x16a6cd){return _0x526392(_0x5c64a8,_0x16a6cd);},'KvtdF':'desiredCapabilities','sXQij':_0x2a9db3(0x145),'LGBBA':'BrowserStackPlugin.js','ArfGp':'browserStackCwd'};await _0x1e692c['initialize'](_0x4d9b4b),await helper[_0x2a9db3(0x146)](_0x1e692c[_0x2a9db3(0x17f)]);if(!_0x1e692c[_0x2a9db3(0x17f)])return;process['profile']=_0x4d9b4b['profile'];_0x4d9b4b['profile']&&(process[_0x2a9db3(0x191)][_0x2a9db3(0x193)]=_0x4d9b4b[_0x2a9db3(0x193)]);const _0x4dcead=_0x114880[_0x2a9db3(0x167)](getUserCodeceptJSConfigs,_0x4d9b4b,_0x7ed47f);let _0x479811={};_0x4dcead?(logger[_0x2a9db3(0x190)](_0x2a9db3(0x15e)+_0x4dcead),_0x479811=CodeceptJS[_0x2a9db3(0x17f)][_0x2a9db3(0x1a7)](_0x4dcead)):logger['info'](_0x114880['DqREr']);let _0x202172=![];_0x114880[_0x2a9db3(0x167)](nestedKeyValue,_0x479811,[_0x114880[_0x2a9db3(0x198)],_0x114880['zomjx']])&&(_0x202172=!![]);const _0x107d92=_0x202172?_0x114880[_0x2a9db3(0x199)]:_0x114880[_0x2a9db3(0x171)];let _0x52f203=!_0x202172?helper[_0x2a9db3(0x163)](_0x1e692c[_0x2a9db3(0x17f)]):![];!helper[_0x2a9db3(0x159)](_0x1e692c[_0x2a9db3(0x17f)]['accessibilityOptions'])&&(process[_0x2a9db3(0x191)][_0x2a9db3(0x182)]=JSON['stringify'](_0x1e692c['config'][_0x2a9db3(0x149)]));let _0x1ba981=_0x1e692c[_0x2a9db3(0x17f)][_0x2a9db3(0x1ae)];_0x1ba981=_0x1ba981||_0x114880[_0x2a9db3(0x184)](checkAccessibilityPlatformConfig,_0x1e692c[_0x2a9db3(0x17f)]),process[_0x2a9db3(0x191)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x1ba981;_0x1ba981&&(_0x52f203=!_0x1ba981);_0x114880[_0x2a9db3(0x14b)](_0x1e692c[_0x2a9db3(0x17f)][_0x2a9db3(0x13f)],null)?process[_0x2a9db3(0x191)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x1e692c['config'][_0x2a9db3(0x13f)]:process[_0x2a9db3(0x191)][_0x2a9db3(0x13b)]=_0x114880['snuSu'](_0x107d92,_0x114880[_0x2a9db3(0x199)]);const _0x181d40=_0x114880[_0x2a9db3(0x167)](nestedKeyValue,_0x479811,[_0x114880[_0x2a9db3(0x13c)]]),_0x2d0a4a=_0x181d40&&!helper['isEmpty'](_0x181d40)?FRAMEWORKS['CODECEPT_CUCUMBER']:FRAMEWORKS[_0x2a9db3(0x150)],_0x189408=await TestHubHandler['launchBuild'](_0x2d0a4a,_0x1e692c);_0x1ba981&&_0x114880[_0x2a9db3(0x169)](setAccessibilityCapabilities,_0x1e692c[_0x2a9db3(0x17f)]);const _0x1f3acb={},_0x32735b=[],_0x545067=_0x1e692c['config'][_0x2a9db3(0x177)]||helper[_0x2a9db3(0x1b9)](_0x4d9b4b,_0x7ed47f,_0x1e692c['config'],constants[_0x2a9db3(0x139)][_0x2a9db3(0x150)])||0x1;let _0x51d81e=0x1;if(_0x114880[_0x2a9db3(0x1bb)](isBrowserstackInfra)){const _0x1edd31=helper[_0x2a9db3(0x170)](_0x1e692c[_0x2a9db3(0x17f)],_0x52f203,constants[_0x2a9db3(0x139)][_0x2a9db3(0x150)]);_0x1edd31[_0x2a9db3(0x16c)](_0x284dfc=>{helper['setAdditionalCapabilities'](_0x284dfc);}),helper[_0x2a9db3(0x14f)](_0x1e692c[_0x2a9db3(0x17f)])?_0x51d81e=_0x114880[_0x2a9db3(0x14e)](_0x545067,_0x1e692c[_0x2a9db3(0x17f)][_0x2a9db3(0x16d)]['length']):_0x51d81e=_0x545067,_0x1edd31[_0x2a9db3(0x16c)](_0x4a25bb=>{const _0x2ff827=_0x2a9db3,_0x2e2568={'GcXwe':function(_0x554c07,_0x2cf802){const _0x35390f=a2_0x58e8;return _0x114880[_0x35390f(0x15f)](_0x554c07,_0x2cf802);},'lFFyj':function(_0x159ec1,_0x457642){const _0x5aa8b7=a2_0x58e8;return _0x114880[_0x5aa8b7(0x184)](_0x159ec1,_0x457642);}},_0x2c0d4d=_0x114880[_0x2ff827(0x15f)](helper[_0x2ff827(0x15b)](_0x4a25bb,'_'),'_'+Date['now']()),_0x458fb6=((()=>{const _0x18d31b=_0x2ff827;if(_0x202172){const _0x5271ce=pwToCodeceptBrowser[_0x4a25bb[_0x18d31b(0x172)]]||_0x4a25bb[_0x18d31b(0x172)];return{'browser':_0x5271ce,[_0x5271ce]:{'browserWSEndpoint':_0x2e2568[_0x18d31b(0x15d)](helper['getPlaywrightUrl'](_0x1e692c[_0x18d31b(0x17f)]),_0x2e2568['lFFyj'](encodeURIComponent,JSON[_0x18d31b(0x18f)](_0x4a25bb)))}};}const _0x3cd3cc={};return _0x3cd3cc[_0x18d31b(0x14c)]=_0x4a25bb,_0x3cd3cc;})()),_0x58501f=_0x114880['khDzE'](nestedKeyValue,_0x479811,[_0x114880['zIziX'],_0x107d92]);_0x1f3acb[_0x2c0d4d]=_0x58501f?helper[_0x2ff827(0x1b1)](_0x458fb6,_0x58501f):_0x458fb6,!_0x202172&&(_0x1f3acb[_0x2c0d4d]['browser']=_0x4a25bb[_0x2ff827(0x172)]||_0x458fb6[_0x2ff827(0x1ad)]),_0x32735b['push'](_0x2c0d4d);});}else{_0x51d81e=0x1;if(_0x202172){const _0x183921=_0x114880[_0x2a9db3(0x167)](nestedKeyValue,_0x479811,[_0x114880[_0x2a9db3(0x198)],_0x107d92,_0x114880[_0x2a9db3(0x133)]]),_0x370489=_0x114880[_0x2a9db3(0x1a1)](nestedKeyValue,_0x479811,[_0x114880[_0x2a9db3(0x198)],_0x107d92,_0x183921]);_0x370489&&_0x370489[_0x2a9db3(0x152)]&&(_0x370489[_0x2a9db3(0x152)]=helper['prepareCapabilities'](null,null,_0x2d0a4a['toLowerCase'](),null,null,_0x370489[_0x2a9db3(0x152)]));}else _0x479811[_0x114880[_0x2a9db3(0x198)]][_0x107d92][_0x114880['KvtdF']]=helper['prepareCapabilities'](null,null,_0x2d0a4a[_0x2a9db3(0x1b3)](),_0x114880[_0x2a9db3(0x1a1)](nestedKeyValue,_0x479811,[_0x114880[_0x2a9db3(0x198)],_0x107d92,_0x114880[_0x2a9db3(0x1ac)]]),null,null);_0x1f3acb[_0x114880[_0x2a9db3(0x135)]]=_0x479811,_0x32735b[_0x2a9db3(0x15a)](_0x114880[_0x2a9db3(0x135)]);}const _0x5c5d87={};_0x5c5d87[_0x2a9db3(0x136)]=_0x4dcead;const _0x45b125=_0x5c5d87,_0xf849b2=path[_0x2a9db3(0x197)](__dirname,_0x114880[_0x2a9db3(0x13a)]),_0x32855d=process['cwd']();process[_0x2a9db3(0x191)][_0x114880[_0x2a9db3(0x16b)]]=_0x32855d,process[_0x2a9db3(0x155)](path['dirname'](_0x4dcead));const _0x1e38fc=new CodeceptJS[(_0x2a9db3(0x183))](null,_0x45b125),_0x1a48b8=_0x1e38fc[_0x2a9db3(0x1c0)](_0x51d81e),_0x1fe55b=testOpsHelper['isTestObservabilitySession'](),_0x3dda95=_0x32735b[_0x2a9db3(0x153)](_0x263f6d=>{const _0x263adf=_0x2a9db3,_0xea6141={};_0xea6141[_0x263adf(0x14d)]=_0x1f3acb[_0x263f6d];const _0x5dd817={};_0x5dd817[_0x263adf(0x1b2)]=_0x1f3acb[_0x263f6d];const _0xa278ff=_0x202172?_0xea6141:_0x5dd817,_0x26cbe4=_0x114880[_0x263adf(0x1b6)](getO11yRerunPattern),_0x539d10={};_0x539d10[_0x263adf(0x1bd)]=_0xa278ff;const _0x34ccd4={};_0x34ccd4[_0x263adf(0x1a5)]=_0xf849b2,_0x34ccd4[_0x263adf(0x19b)]=!![],_0x34ccd4[_0x263adf(0x142)]=_0x1e692c[_0x263adf(0x17f)]['testContextOptions'][_0x263adf(0x142)],_0x34ccd4[_0x263adf(0x189)]=_0x1e692c[_0x263adf(0x17f)][_0x263adf(0x148)][_0x263adf(0x189)],_0x34ccd4[_0x263adf(0x13f)]=_0x1fe55b,_0x34ccd4[_0x263adf(0x1ab)]=_0x2d0a4a;const _0x268531={};_0x268531['BrowserStackPlugin']=_0x34ccd4;const _0x25fa8b={};return _0x25fa8b[_0x263adf(0x17b)]=_0x268531,helper[_0x263adf(0x1b1)]({},_0x479811,_0x114880[_0x263adf(0x1bb)](isBrowserstackInfra)?_0x539d10:{},_0x26cbe4?{'grep':_0x26cbe4}:{},_0x25fa8b);});for(const _0x2e8dcc of _0x3dda95){for(const _0x12da2d of _0x1a48b8){const _0x1d9c8c=_0x1e38fc[_0x2a9db3(0x19c)]();_0x1d9c8c[_0x2a9db3(0x1b7)](_0x12da2d),_0x1d9c8c[_0x2a9db3(0x176)](_0x2e8dcc);const _0x338723={};_0x338723[_0x2a9db3(0x17f)]=_0x4dcead,_0x1d9c8c[_0x2a9db3(0x1aa)](_0x338723);}}_0x1e38fc['on'](CodeceptJS[_0x2a9db3(0x164)][_0x2a9db3(0x17c)][_0x2a9db3(0x185)],(_0x5581bf,_0x53cdca)=>{const _0x39ed48=_0x2a9db3;console[_0x39ed48(0x162)](_0x114880['MZZij'],_0x5581bf[_0x39ed48(0x165)]);const _0x678b1={[_0x5581bf[_0x39ed48(0x165)]]:_0x5581bf['err']['stack']};_testErrorData[_0x39ed48(0x15a)](_0x678b1);}),_0x1e38fc['on'](CodeceptJS[_0x2a9db3(0x164)][_0x2a9db3(0x17c)][_0x2a9db3(0x147)],async _0x5f4c79=>{const _0x390ab5=_0x2a9db3;console[_0x390ab5(0x162)](_0x114880['gmeRF'],_0x5f4c79['title']);}),_0x1e38fc['on'](CodeceptJS['event']['test']['before'],async _0xcd35ce=>{const _0x4950ef=_0x2a9db3;console['log'](_0x114880[_0x4950ef(0x1a2)],_0xcd35ce[_0x4950ef(0x165)]);}),_0x1e38fc['on'](CodeceptJS[_0x2a9db3(0x164)][_0x2a9db3(0x138)][_0x2a9db3(0x192)],async()=>{const _0x544b28=_0x2a9db3,_0xfaaa83=_0x114880['tOzTB'][_0x544b28(0x18b)]('|');let _0x5e5bba=0x0;while(!![]){switch(_0xfaaa83[_0x5e5bba++]){case'0':_0x1e38fc[_0x544b28(0x194)]();continue;case'1':testOpsHelper[_0x544b28(0x1a9)]();continue;case'2':_0x1e692c[_0x544b28(0x13e)]=_testErrorData;continue;case'3':try{await TestHubHandler[_0x544b28(0x1b8)]();}catch(_0x1b2a30){logger[_0x544b28(0x158)](_0x544b28(0x1b0)+util[_0x544b28(0x143)](_0x1b2a30));}continue;case'4':utilities[_0x544b28(0x180)](_0x1e692c);continue;case'5':PerformanceTester[_0x544b28(0x178)](PerformanceEvents[_0x544b28(0x161)]);continue;}break;}});async function _0x3d71af(){const _0x47e234=_0x2a9db3;try{await _0x1e38fc[_0x47e234(0x19d)](),await _0x1e38fc[_0x47e234(0x151)]();}finally{process['chdir'](_0x32855d),await _0x1e38fc['teardownAll']();}}PerformanceTester[_0x2a9db3(0x18d)](PerformanceEvents[_0x2a9db3(0x17d)]),_0x114880[_0x2a9db3(0x1b6)](_0x3d71af);}module[a2_0x246531(0x175)]=run;
|
|
2
|
+
'use strict';const a2_0x4f9439=a2_0x40f8;function a2_0x40f8(_0x4bbc22,_0x163137){const _0x2e5502=a2_0x2e55();return a2_0x40f8=function(_0x40f89c,_0x525f9d){_0x40f89c=_0x40f89c-0x132;let _0x1c3574=_0x2e5502[_0x40f89c];return _0x1c3574;},a2_0x40f8(_0x4bbc22,_0x163137);}(function(_0x5795af,_0xa457e7){const _0x1b13c1=a2_0x40f8,_0x446e24=_0x5795af();while(!![]){try{const _0x420a2e=parseInt(_0x1b13c1(0x1ae))/0x1+-parseInt(_0x1b13c1(0x162))/0x2*(-parseInt(_0x1b13c1(0x179))/0x3)+-parseInt(_0x1b13c1(0x174))/0x4*(-parseInt(_0x1b13c1(0x1a2))/0x5)+parseInt(_0x1b13c1(0x178))/0x6*(parseInt(_0x1b13c1(0x19a))/0x7)+parseInt(_0x1b13c1(0x134))/0x8+-parseInt(_0x1b13c1(0x16e))/0x9+-parseInt(_0x1b13c1(0x14e))/0xa;if(_0x420a2e===_0xa457e7)break;else _0x446e24['push'](_0x446e24['shift']());}catch(_0x33e124){_0x446e24['push'](_0x446e24['shift']());}}}(a2_0x2e55,0x536fe));const fs=require('fs'),path=require(a2_0x4f9439(0x160)),util=require(a2_0x4f9439(0x19e)),process=require(a2_0x4f9439(0x187)),logger=require('../../helpers/logger')[a2_0x4f9439(0x158)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a2_0x4f9439(0x154)),utilities=require(a2_0x4f9439(0x184)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require('../../bin/playwright/accessibility-helper'),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x4f9439(0x154)),CodeceptJS=requireModule(a2_0x4f9439(0x175),a2_0x4f9439(0x1b8)),testOpsHelper=require(a2_0x4f9439(0x17d)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),constants=require('../utils/constants'),PerformanceTester=require(a2_0x4f9439(0x1a9)),{FRAMEWORKS}=require(a2_0x4f9439(0x190)),PerformanceEvents=require(a2_0x4f9439(0x165))[a2_0x4f9439(0x1b9)],_testErrorData=[],getUserCodeceptJSConfigs=(_0x2b0f5a,_0x59fb56)=>{const _0x1e0513=a2_0x4f9439,_0x317f01={};_0x317f01['VZCxZ']=function(_0x89587d,_0x3c7505){return _0x89587d===_0x3c7505;},_0x317f01[_0x1e0513(0x1b2)]=_0x1e0513(0x18b),_0x317f01['wfiEl']=_0x1e0513(0x146);const _0x36d6f8=_0x317f01;let _0x2790f8=null;const _0x519409={};let _0x14d430=_0x59fb56['findIndex'](_0x291258=>_0x291258===_0x1e0513(0x18e));_0x36d6f8['VZCxZ'](_0x14d430,-0x1)&&(_0x14d430=_0x59fb56['findIndex'](_0x1a3f67=>_0x1a3f67==='-c'));if(!helper[_0x1e0513(0x19c)](_0x2b0f5a[_0x1e0513(0x193)])&&fs['existsSync'](path[_0x1e0513(0x164)](process['cwd'](),_0x2b0f5a[_0x1e0513(0x193)])))_0x2790f8=path['join'](process['cwd'](),_0x2b0f5a[_0x1e0513(0x193)]),_0x59fb56['slice'](_0x14d430,0x2);else{if(!helper[_0x1e0513(0x19c)](_0x2b0f5a['c'])&&fs[_0x1e0513(0x1b3)](path[_0x1e0513(0x164)](process[_0x1e0513(0x132)](),_0x2b0f5a['c'])))_0x2790f8=path[_0x1e0513(0x164)](process[_0x1e0513(0x132)](),_0x2b0f5a['c']),_0x59fb56[_0x1e0513(0x183)](_0x14d430,0x2);else{if(fs[_0x1e0513(0x1b3)](path['join'](process['cwd'](),_0x36d6f8[_0x1e0513(0x1b2)])))_0x2790f8=path['join'](process[_0x1e0513(0x132)](),_0x36d6f8[_0x1e0513(0x1b2)]);else fs['existsSync'](path[_0x1e0513(0x164)](process[_0x1e0513(0x132)](),_0x36d6f8[_0x1e0513(0x16d)]))&&(_0x2790f8=path[_0x1e0513(0x164)](process[_0x1e0513(0x132)](),_0x36d6f8[_0x1e0513(0x16d)]));}}return process[_0x1e0513(0x1ab)][_0x1e0513(0x17e)]=_0x2790f8,_0x2790f8;},getO11yRerunPattern=()=>{const _0x3854ce=a2_0x4f9439,_0x1fac61=helper['isTrue'](process['env']['BROWSERSTACK_RERUN']);if(_0x1fac61){const _0x107da8=process[_0x3854ce(0x1ab)][_0x3854ce(0x142)],_0x32392f=[];if(helper[_0x3854ce(0x191)](_0x107da8)&&!helper[_0x3854ce(0x19c)](_0x107da8)){_0x107da8[_0x3854ce(0x167)](',')[_0x3854ce(0x136)](_0x18e21a=>{const _0x3fdb03=_0x3854ce;_0x32392f['push']('('+_0x18e21a[_0x3fdb03(0x1be)]()+')');});const _0xb7448b='^'+_0x32392f[_0x3854ce(0x164)]('|')+'$';return _0xb7448b;}}return null;},a2_0x7ffccb={};a2_0x7ffccb[a2_0x4f9439(0x13f)]='chromium',a2_0x7ffccb['playwright-chromium']='chromium',a2_0x7ffccb['playwright-firefox']=a2_0x4f9439(0x186),a2_0x7ffccb[a2_0x4f9439(0x1bc)]=a2_0x4f9439(0x144);function a2_0x2e55(){const _0x2a6738=['helpers','1076814uEhTKK','BROWSERSTACK_TEST_ACCESSIBILITY_YML','join','../../helpers/performance/constants','fLHkt','split','isTestObservabilitySession','log','spawn','run','SDK_SETUP','wfiEl','3191931ZFroti','PEHaT','browser','skipSessionStatus','qqrTX','now','535360BVTiUQ','codeceptjs/lib/index.js','handleApp','parallelsPerPlatform','24396tqBhfA','3wSPJub','BROWSERSTACK_TEST_OBSERVABILITY_YML','UofPt','testObservability','../../helpers/test-observability/utils','USER_CONFIG_DETAILS_PATH','SgMON','skipSessionName','/wd/hub','event','slice','../../helpers/utilities','getPlatformName','firefox','process','CODECEPT','passed','AkGWe','codecept.conf.js','isEmpty','useW3C','--config','vKzvK','../../helpers/test-observability/constants','validateRerunTestList','require','config','2|0|3|4|1|5','all','stringify','desiredCapabilities','start','Workers','777JWUjMP','UMiDk','isUndefined','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','util','addTests','WebDriver','hubUrl','15JjbRXR','CODECEPT_CUCUMBER','wVjpJ','Vtfqy','Playwright','exports','browserWSEndpoint','../../helpers/performance/performance-tester','gherkin','env','hxHBW','stack','30540NFvvSV','test','launchBuild','before','ZSlPx','existsSync','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','push','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','addConfig','codeceptjs','EVENTS','WYFUv','validPlatformsPresent','playwright-webkit','KRJqL','trim','result','chdir','setAdditionalCapabilities','initialize','bootstrapAll','cwd','EHzqd','1659992AwODlw','printBuildLink','map','SDK_CLEANUP','prepareCapabilities','root','getUserWorkerCount','PWGxj','title','plugins','addOptions','chrome','SxZyr','accessibilityOptions','BROWSERSTACK_RERUN_TESTS','sUzSh','webkit','forEach','codecept.json','Passed\x20:\x20','zQagO','testConfig','replace','length','profile','browserName','9328750BgOqKd','errorMessage','testContextOptions','getPlaywrightUrl','toLowerCase','mergeDeep','../../helpers/helper','failed','FRAMEWORKS','jeYWp','winstonLogger','frameworkName','finalExecution','xvJnA','info','wjHca','stop','err','path'];a2_0x2e55=function(){return _0x2a6738;};return a2_0x2e55();}const pwToCodeceptBrowser=a2_0x7ffccb;async function run(_0x1af92f,_0x46b78c,_0x21020d){const _0x8b6dd6=a2_0x4f9439,_0x3c1780={'UMiDk':function(_0x2530a7,_0x164677){return _0x2530a7+_0x164677;},'SgMON':function(_0x5b5aed,_0xbd2829){return _0x5b5aed(_0xbd2829);},'wVjpJ':function(_0x1f16a9,_0xd1b0af,_0xb6c8d0){return _0x1f16a9(_0xd1b0af,_0xb6c8d0);},'EHzqd':_0x8b6dd6(0x161),'jeYWp':function(_0x2c8869){return _0x2c8869();},'WYFUv':_0x8b6dd6(0x181),'SxZyr':function(_0xb94b66){return _0xb94b66();},'zQagO':'Failed\x20:\x20','AkGWe':_0x8b6dd6(0x147),'hxHBW':'Started\x20:\x20','KSgrU':_0x8b6dd6(0x194),'PEHaT':function(_0x5043b7,_0x5e1a19,_0x168a36){return _0x5043b7(_0x5e1a19,_0x168a36);},'Mezhi':_0x8b6dd6(0x19d),'qqrTX':_0x8b6dd6(0x1a6),'JBDXB':_0x8b6dd6(0x1a0),'HrsxL':function(_0x5e8787,_0x5dfd6e){return _0x5e8787!=_0x5dfd6e;},'UofPt':function(_0x26a394,_0x8d9b04){return _0x26a394===_0x8d9b04;},'Vtfqy':_0x8b6dd6(0x1aa),'PWGxj':function(_0x2d6832,_0x36419e){return _0x2d6832(_0x36419e);},'wjHca':function(_0x495f4b){return _0x495f4b();},'SiVbV':function(_0x3fbef6,_0x4be2e5){return _0x3fbef6*_0x4be2e5;},'KRJqL':'browser','xvJnA':_0x8b6dd6(0x197),'sUzSh':function(_0x465255,_0x1ed464,_0x5f054c){return _0x465255(_0x1ed464,_0x5f054c);},'vKzvK':_0x8b6dd6(0x139),'cAXAg':'BrowserStackPlugin.js','fLHkt':'browserStackCwd','QCYci':function(_0x2fa66f){return _0x2fa66f();}};await _0x21020d[_0x8b6dd6(0x1c2)](_0x1af92f),await helper[_0x8b6dd6(0x176)](_0x21020d[_0x8b6dd6(0x193)]);if(!_0x21020d['config'])return;process[_0x8b6dd6(0x14c)]=_0x1af92f['profile'];_0x1af92f[_0x8b6dd6(0x14c)]&&(process['env'][_0x8b6dd6(0x14c)]=_0x1af92f['profile']);const _0x596c8b=_0x3c1780['PEHaT'](getUserCodeceptJSConfigs,_0x1af92f,_0x46b78c);let _0x2034a8={};_0x596c8b?(logger[_0x8b6dd6(0x15c)]('Getting\x20your\x20codeceptjs\x20configs\x20from\x20'+_0x596c8b),_0x2034a8=CodeceptJS['config']['load'](_0x596c8b)):logger[_0x8b6dd6(0x15c)](_0x3c1780['Mezhi']);let _0x1212c7=![];_0x3c1780[_0x8b6dd6(0x16f)](nestedKeyValue,_0x2034a8,[_0x3c1780[_0x8b6dd6(0x133)],_0x3c1780[_0x8b6dd6(0x172)]])&&(_0x1212c7=!![]);const _0x5418a2=_0x1212c7?_0x3c1780[_0x8b6dd6(0x172)]:_0x3c1780['JBDXB'];let _0x29a06e=!_0x1212c7?helper[_0x8b6dd6(0x18d)](_0x21020d[_0x8b6dd6(0x193)]):![];!helper[_0x8b6dd6(0x19c)](_0x21020d[_0x8b6dd6(0x193)][_0x8b6dd6(0x141)])&&(process[_0x8b6dd6(0x1ab)][_0x8b6dd6(0x1b4)]=JSON[_0x8b6dd6(0x196)](_0x21020d[_0x8b6dd6(0x193)][_0x8b6dd6(0x141)]));let _0x219f5c=_0x21020d[_0x8b6dd6(0x193)]['accessibility'];_0x219f5c=_0x219f5c||_0x3c1780['SgMON'](checkAccessibilityPlatformConfig,_0x21020d[_0x8b6dd6(0x193)]),process[_0x8b6dd6(0x1ab)][_0x8b6dd6(0x163)]=_0x219f5c;_0x219f5c&&(_0x29a06e=!_0x219f5c);_0x3c1780['HrsxL'](_0x21020d['config'][_0x8b6dd6(0x17c)],null)?process[_0x8b6dd6(0x1ab)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x21020d[_0x8b6dd6(0x193)][_0x8b6dd6(0x17c)]:process[_0x8b6dd6(0x1ab)][_0x8b6dd6(0x17a)]=_0x3c1780[_0x8b6dd6(0x17b)](_0x5418a2,_0x3c1780[_0x8b6dd6(0x172)]);const _0x28bc60=_0x3c1780[_0x8b6dd6(0x16f)](nestedKeyValue,_0x2034a8,[_0x3c1780[_0x8b6dd6(0x1a5)]]),_0x3fbe8c=_0x28bc60&&!helper[_0x8b6dd6(0x18c)](_0x28bc60)?FRAMEWORKS[_0x8b6dd6(0x1a3)]:FRAMEWORKS[_0x8b6dd6(0x188)],_0x2996fb=await TestHubHandler[_0x8b6dd6(0x1b0)](_0x3fbe8c,_0x21020d);_0x219f5c&&_0x3c1780[_0x8b6dd6(0x13b)](setAccessibilityCapabilities,_0x21020d[_0x8b6dd6(0x193)]);const _0x1da789={},_0x4db998=[],_0x2c28e5=_0x21020d[_0x8b6dd6(0x193)][_0x8b6dd6(0x177)]||helper[_0x8b6dd6(0x13a)](_0x1af92f,_0x46b78c,_0x21020d[_0x8b6dd6(0x193)],constants[_0x8b6dd6(0x156)][_0x8b6dd6(0x188)])||0x1;let _0x5c5a3b=0x1;if(_0x3c1780[_0x8b6dd6(0x15d)](isBrowserstackInfra)){const _0x456939=helper[_0x8b6dd6(0x138)](_0x21020d[_0x8b6dd6(0x193)],_0x29a06e,constants[_0x8b6dd6(0x156)][_0x8b6dd6(0x188)]);_0x456939[_0x8b6dd6(0x145)](_0x5e9187=>{const _0xa7802a=_0x8b6dd6;helper[_0xa7802a(0x1c1)](_0x5e9187);}),helper[_0x8b6dd6(0x1bb)](_0x21020d[_0x8b6dd6(0x193)])?_0x5c5a3b=_0x3c1780['SiVbV'](_0x2c28e5,_0x21020d[_0x8b6dd6(0x193)]['platforms'][_0x8b6dd6(0x14b)]):_0x5c5a3b=_0x2c28e5,_0x456939['forEach'](_0x5a8e4f=>{const _0x50e093=_0x8b6dd6,_0x2267c9=_0x3c1780['UMiDk'](helper[_0x50e093(0x185)](_0x5a8e4f,'_'),'_'+Date[_0x50e093(0x173)]()),_0x211973=((()=>{const _0x5b6f1a=_0x50e093;if(_0x1212c7){const _0x4ef8d5=pwToCodeceptBrowser[_0x5a8e4f[_0x5b6f1a(0x14d)]]||_0x5a8e4f[_0x5b6f1a(0x14d)];return{'browser':_0x4ef8d5,[_0x4ef8d5]:{'browserWSEndpoint':_0x3c1780[_0x5b6f1a(0x19b)](helper[_0x5b6f1a(0x151)](_0x21020d[_0x5b6f1a(0x193)]),_0x3c1780[_0x5b6f1a(0x17f)](encodeURIComponent,JSON[_0x5b6f1a(0x196)](_0x5a8e4f)))}};}const _0x51cbbe={};return _0x51cbbe[_0x5b6f1a(0x197)]=_0x5a8e4f,_0x51cbbe;})()),_0x8af902=_0x3c1780[_0x50e093(0x1a4)](nestedKeyValue,_0x2034a8,[_0x3c1780['EHzqd'],_0x5418a2]);_0x1da789[_0x2267c9]=_0x8af902?helper[_0x50e093(0x153)](_0x211973,_0x8af902):_0x211973;if(!_0x1212c7){_0x1da789[_0x2267c9][_0x50e093(0x170)]=_0x5a8e4f[_0x50e093(0x14d)]||_0x211973['browser'];if(_0x3c1780[_0x50e093(0x157)](isBrowserstackInfra)){_0x1da789[_0x2267c9]['host']=constants[_0x50e093(0x1a1)][_0x50e093(0x14a)](_0x3c1780[_0x50e093(0x1ba)],'')[_0x50e093(0x14a)](/https?:\/\//,'');;_0x1da789[_0x2267c9][_0x50e093(0x160)]=_0x3c1780[_0x50e093(0x1ba)];}}_0x4db998[_0x50e093(0x1b5)](_0x2267c9);});}else{_0x5c5a3b=0x1;if(_0x1212c7){const _0x13b201=_0x3c1780[_0x8b6dd6(0x16f)](nestedKeyValue,_0x2034a8,[_0x3c1780['EHzqd'],_0x5418a2,_0x3c1780[_0x8b6dd6(0x1bd)]]),_0x240263=_0x3c1780[_0x8b6dd6(0x16f)](nestedKeyValue,_0x2034a8,[_0x3c1780[_0x8b6dd6(0x133)],_0x5418a2,_0x13b201]);_0x240263&&_0x240263[_0x8b6dd6(0x1a8)]&&(_0x240263['browserWSEndpoint']=helper[_0x8b6dd6(0x138)](null,null,_0x3fbe8c[_0x8b6dd6(0x152)](),null,null,_0x240263[_0x8b6dd6(0x1a8)]));}else _0x2034a8[_0x3c1780[_0x8b6dd6(0x133)]][_0x5418a2][_0x3c1780[_0x8b6dd6(0x15b)]]=helper[_0x8b6dd6(0x138)](null,null,_0x3fbe8c['toLowerCase'](),_0x3c1780[_0x8b6dd6(0x143)](nestedKeyValue,_0x2034a8,[_0x3c1780[_0x8b6dd6(0x133)],_0x5418a2,_0x3c1780[_0x8b6dd6(0x15b)]]),null,null);_0x1da789[_0x3c1780['vKzvK']]=_0x2034a8,_0x4db998[_0x8b6dd6(0x1b5)](_0x3c1780[_0x8b6dd6(0x18f)]);}const _0x49e03e={};_0x49e03e[_0x8b6dd6(0x149)]=_0x596c8b;const _0x4486fb=_0x49e03e,_0x2452f8=path[_0x8b6dd6(0x164)](__dirname,_0x3c1780['cAXAg']),_0x246024=process[_0x8b6dd6(0x132)]();process[_0x8b6dd6(0x1ab)][_0x3c1780[_0x8b6dd6(0x166)]]=_0x246024,process['chdir'](path['dirname'](_0x596c8b));const _0x136ee7=new CodeceptJS[(_0x8b6dd6(0x199))](null,_0x4486fb),_0x49a722=_0x136ee7['createGroupsOfSuites'](_0x5c5a3b),_0x223d0c=testOpsHelper[_0x8b6dd6(0x168)](),_0x16d4da=_0x4db998[_0x8b6dd6(0x136)](_0x3b98ff=>{const _0xe1da91=_0x8b6dd6,_0x48e484={};_0x48e484[_0xe1da91(0x1a6)]=_0x1da789[_0x3b98ff];const _0x3d090a={};_0x3d090a[_0xe1da91(0x1a0)]=_0x1da789[_0x3b98ff];const _0x477f48=_0x1212c7?_0x48e484:_0x3d090a,_0x46deea=_0x3c1780[_0xe1da91(0x140)](getO11yRerunPattern),_0x4ed44b={};_0x4ed44b[_0xe1da91(0x161)]=_0x477f48;const _0x1c897a={};_0x1c897a[_0xe1da91(0x192)]=_0x2452f8,_0x1c897a['enabled']=!![],_0x1c897a[_0xe1da91(0x180)]=_0x21020d[_0xe1da91(0x193)][_0xe1da91(0x150)][_0xe1da91(0x180)],_0x1c897a[_0xe1da91(0x171)]=_0x21020d[_0xe1da91(0x193)]['testContextOptions']['skipSessionStatus'],_0x1c897a[_0xe1da91(0x17c)]=_0x223d0c,_0x1c897a[_0xe1da91(0x159)]=_0x3fbe8c;const _0x2cfd82={};_0x2cfd82['BrowserStackPlugin']=_0x1c897a;const _0x2ce353={};return _0x2ce353[_0xe1da91(0x13d)]=_0x2cfd82,helper[_0xe1da91(0x153)]({},_0x2034a8,_0x3c1780['jeYWp'](isBrowserstackInfra)?_0x4ed44b:{},_0x46deea?{'grep':_0x46deea}:{},_0x2ce353);});for(const _0x5b8ec9 of _0x16d4da){for(const _0x5a9e8e of _0x49a722){const _0x3b2928=_0x136ee7[_0x8b6dd6(0x16a)]();_0x3b2928[_0x8b6dd6(0x19f)](_0x5a9e8e),_0x3b2928[_0x8b6dd6(0x1b7)](_0x5b8ec9);const _0x3f8d0f={};_0x3f8d0f[_0x8b6dd6(0x193)]=_0x596c8b,_0x3b2928[_0x8b6dd6(0x13e)](_0x3f8d0f);}}_0x136ee7['on'](CodeceptJS[_0x8b6dd6(0x182)][_0x8b6dd6(0x1af)][_0x8b6dd6(0x155)],(_0x2b7148,_0x5a2e21)=>{const _0x1efba0=_0x8b6dd6;console['log'](_0x3c1780[_0x1efba0(0x148)],_0x2b7148[_0x1efba0(0x13c)]);const _0xadfcb0={[_0x2b7148[_0x1efba0(0x13c)]]:_0x2b7148[_0x1efba0(0x15f)][_0x1efba0(0x1ad)]};_testErrorData[_0x1efba0(0x1b5)](_0xadfcb0);}),_0x136ee7['on'](CodeceptJS[_0x8b6dd6(0x182)]['test'][_0x8b6dd6(0x189)],async _0x52297e=>{const _0xc65329=_0x8b6dd6;console['log'](_0x3c1780[_0xc65329(0x18a)],_0x52297e['title']);}),_0x136ee7['on'](CodeceptJS[_0x8b6dd6(0x182)][_0x8b6dd6(0x1af)][_0x8b6dd6(0x1b1)],async _0x352053=>{const _0x31191a=_0x8b6dd6;console[_0x31191a(0x169)](_0x3c1780[_0x31191a(0x1ac)],_0x352053[_0x31191a(0x13c)]);}),_0x136ee7['on'](CodeceptJS[_0x8b6dd6(0x182)][_0x8b6dd6(0x195)][_0x8b6dd6(0x1bf)],async()=>{const _0x4103cd=_0x8b6dd6,_0x4264dc=_0x3c1780['KSgrU'][_0x4103cd(0x167)]('|');let _0x2442d9=0x0;while(!![]){switch(_0x4264dc[_0x2442d9++]){case'0':_0x21020d[_0x4103cd(0x14f)]=_testErrorData;continue;case'1':try{await TestHubHandler[_0x4103cd(0x15e)]();}catch(_0x5214fe){logger['debug'](_0x4103cd(0x1b6)+util['format'](_0x5214fe));}continue;case'2':PerformanceTester[_0x4103cd(0x198)](PerformanceEvents[_0x4103cd(0x137)]);continue;case'3':testOpsHelper[_0x4103cd(0x135)]();continue;case'4':utilities[_0x4103cd(0x15a)](_0x21020d);continue;case'5':_0x136ee7['printResults']();continue;}break;}});async function _0x560f58(){const _0x5c2778=_0x8b6dd6;try{await _0x136ee7[_0x5c2778(0x1c3)](),await _0x136ee7[_0x5c2778(0x16b)]();}finally{process[_0x5c2778(0x1c0)](_0x246024),await _0x136ee7['teardownAll']();}}PerformanceTester['end'](PerformanceEvents[_0x8b6dd6(0x16c)]),_0x3c1780['QCYci'](_0x560f58);}module[a2_0x4f9439(0x1a7)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a3_0x1e4b6d=a3_0x2450;(function(_0x2ce1c5,_0x33f919){const _0x409430=a3_0x2450,_0x842d08=_0x2ce1c5();while(!![]){try{const _0x557526=parseInt(_0x409430(0x1cd))/0x1*(parseInt(_0x409430(0x1bc))/0x2)+parseInt(_0x409430(0x1ab))/0x3*(-parseInt(_0x409430(0x1c5))/0x4)+-parseInt(_0x409430(0x1a5))/0x5+parseInt(_0x409430(0x1c6))/0x6*(parseInt(_0x409430(0x1af))/0x7)+-parseInt(_0x409430(0x1d9))/0x8+parseInt(_0x409430(0x1bf))/0x9*(parseInt(_0x409430(0x19a))/0xa)+-parseInt(_0x409430(0x1d4))/0xb*(-parseInt(_0x409430(0x1dd))/0xc);if(_0x557526===_0x33f919)break;else _0x842d08['push'](_0x842d08['shift']());}catch(_0xc0d7c2){_0x842d08['push'](_0x842d08['shift']());}}}(a3_0x3ff9,0x1ad94));function a3_0x2450(_0x29b403,_0x2080dc){const _0x3ff9f6=a3_0x3ff9();return a3_0x2450=function(_0x24504f,_0x2d862a){_0x24504f=_0x24504f-0x196;let _0x2b795d=_0x3ff9f6[_0x24504f];return _0x2b795d;},a3_0x2450(_0x29b403,_0x2080dc);}const {isUndefined,nestedKeyValue}=require('../../helpers/helper'),logger=require(a3_0x1e4b6d(0x1ce))[a3_0x1e4b6d(0x1d6)],PlaywrightSessionDetails=require(a3_0x1e4b6d(0x196)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{getObservabilityLinkedProductName}=require('../../helpers/test-observability/utils'),getOSVersionFromCaps=_0x3633f4=>{const _0x2325fe=a3_0x1e4b6d,_0x507f58={};_0x507f58[_0x2325fe(0x1a1)]=_0x2325fe(0x1de),_0x507f58[_0x2325fe(0x1ba)]=_0x2325fe(0x1c3),_0x507f58['sPOcv']='platform_version',_0x507f58[_0x2325fe(0x1d0)]='osVersion',_0x507f58[_0x2325fe(0x1ae)]=_0x2325fe(0x1db);const _0x3a337e=_0x507f58;if(!_0x3633f4)return null;const _0x2c882c=_0x3633f4[_0x3a337e[_0x2325fe(0x1a1)]],_0x523b60=[_0x3a337e[_0x2325fe(0x1ba)],_0x3a337e['sPOcv'],_0x3a337e[_0x2325fe(0x1d0)],_0x3a337e[_0x2325fe(0x1ae)]];for(const _0x2aaf3f of _0x523b60){if(_0x2c882c&&_0x2c882c[_0x2aaf3f])return _0x2c882c[_0x2aaf3f];else{if(_0x3633f4[_0x2aaf3f])return _0x3633f4[_0x2aaf3f];}}return null;};exports[a3_0x1e4b6d(0x1d8)]=_0x56f4e7=>{const _0x47fa2a=a3_0x1e4b6d,_0x4ccc05={'rjYpy':_0x47fa2a(0x1d7),'lxlaY':function(_0xc963e8,_0x462606){return _0xc963e8===_0x462606;},'zxtTR':_0x47fa2a(0x1e2),'rGydu':function(_0x80d0a,_0x53bcfd){return _0x80d0a(_0x53bcfd);},'Dpqjc':function(_0x2e47e5,_0x4aea89,_0x37345d){return _0x2e47e5(_0x4aea89,_0x37345d);},'GBfEZ':_0x47fa2a(0x1da),'qkaWO':_0x47fa2a(0x1aa),'qzefo':'Playwright','yWiIH':_0x47fa2a(0x1a9),'nxUYM':_0x47fa2a(0x1cb),'OPsTF':_0x47fa2a(0x1b6)};if(!_0x56f4e7)return null;let _0x4d1c9a=global['__cloud_provider___']||_0x4ccc05[_0x47fa2a(0x1a0)];if(_0x4ccc05[_0x47fa2a(0x1b7)](_0x56f4e7['constructor'][_0x47fa2a(0x1b9)],_0x4ccc05[_0x47fa2a(0x1c8)])){const _0x4ff57d=_0x56f4e7[_0x47fa2a(0x1a9)];if(!_0x4ff57d)return null;const _0x38fe92=_0x4ff57d[_0x47fa2a(0x1cf)],_0xc01198=_0x4ccc05[_0x47fa2a(0x1c1)](getOSVersionFromCaps,_0x4ccc05['Dpqjc'](nestedKeyValue,_0x56f4e7,[_0x4ccc05['GBfEZ'],_0x4ccc05[_0x47fa2a(0x1a7)]]));return{[_0x4d1c9a]:{'browser':_0x38fe92[_0x47fa2a(0x1cc)],'browser_version':_0x38fe92[_0x47fa2a(0x1d1)],'capabilities':_0x38fe92,'platform':_0x38fe92['platformName'],'platform_version':_0x38fe92[_0x47fa2a(0x1c3)]||_0xc01198,'product':_0x4ccc05[_0x47fa2a(0x1c1)](getObservabilityLinkedProductName,_0x38fe92),'session_id':_0x4ff57d['sessionId']}};}else{if(_0x4ccc05[_0x47fa2a(0x1b7)](_0x56f4e7[_0x47fa2a(0x1a6)][_0x47fa2a(0x1b9)],_0x4ccc05[_0x47fa2a(0x1e1)])){const _0x1c6cd8=PlaywrightSessionDetails[_0x47fa2a(0x1ad)]();_0x4d1c9a=_0x1c6cd8[_0x47fa2a(0x19c)]||_0x4d1c9a;const _0x402131=_0x4ccc05[_0x47fa2a(0x1a8)](nestedKeyValue,_0x56f4e7,[_0x4ccc05['GBfEZ'],_0x4ccc05[_0x47fa2a(0x1bb)],_0x4ccc05[_0x47fa2a(0x1dc)]]),_0x3beefd=_0x402131?JSON[_0x47fa2a(0x1c0)](new URL(_0x402131)[_0x47fa2a(0x1e0)]['get'](_0x4ccc05[_0x47fa2a(0x1b2)])):{};return{[_0x4d1c9a]:{'browser':_0x1c6cd8[_0x47fa2a(0x1a9)]||_0x3beefd['browserName'],'browser_version':_0x1c6cd8['browser_version']||_0x3beefd[_0x47fa2a(0x1b5)],'capabilities':_0x3beefd,'platform':_0x1c6cd8[_0x47fa2a(0x1ac)],'platform_version':_0x1c6cd8[_0x47fa2a(0x1bd)],'product':_0x4ccc05[_0x47fa2a(0x1c1)](getObservabilityLinkedProductName,_0x3beefd),'session_id':_0x1c6cd8[_0x47fa2a(0x19f)]}};}}},exports[a3_0x1e4b6d(0x1b3)]=_0x23cc5f=>{const _0x4b160c=a3_0x1e4b6d,_0x3c604e={'fvBMP':function(_0xaea6d5){return _0xaea6d5();},'BzuGn':function(_0x317318,_0x21eb6a){return _0x317318===_0x21eb6a;},'luDYZ':_0x4b160c(0x1c4),'aShdy':function(_0x5b6d65,_0x3a3060){return _0x5b6d65>_0x3a3060;},'OFlxl':function(_0x24aa43,_0x3d74ae){return _0x24aa43(_0x3d74ae);},'oyWrn':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','acWMS':function(_0x10fa63,_0x4d99b8){return _0x10fa63===_0x4d99b8;},'AMGYf':_0x4b160c(0x1b8),'ZFVkZ':_0x4b160c(0x1b0),'vHxAD':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','VgYQK':_0x4b160c(0x1d5)};if(_0x3c604e[_0x4b160c(0x19d)](isAccessibilityAutomationSession)){const _0x86c7e8=_0x23cc5f[_0x4b160c(0x1a9)],_0x2d689b=_0x86c7e8[_0x4b160c(0x1cf)];global[_0x4b160c(0x1a2)]=!![],!(_0x3c604e[_0x4b160c(0x1c9)](_0x2d689b[_0x4b160c(0x1d1)],_0x3c604e[_0x4b160c(0x1d3)])||_0x3c604e[_0x4b160c(0x1a3)](_0x3c604e[_0x4b160c(0x1b4)](parseInt,_0x2d689b['browserVersion']),0x5e))&&(logger[_0x4b160c(0x198)](_0x3c604e[_0x4b160c(0x19b)]),global[_0x4b160c(0x1a2)]=![]),!(_0x3c604e[_0x4b160c(0x1a4)](_0x2d689b[_0x4b160c(0x1cc)],_0x3c604e[_0x4b160c(0x1c7)])||_0x3c604e[_0x4b160c(0x1a4)](_0x2d689b[_0x4b160c(0x1cc)],_0x3c604e[_0x4b160c(0x1c2)]))&&(logger[_0x4b160c(0x198)](_0x3c604e[_0x4b160c(0x1d2)]),global[_0x4b160c(0x1a2)]=![]),!_0x3c604e[_0x4b160c(0x1b4)](isUndefined,_0x2d689b[_0x4b160c(0x1b1)])&&(logger[_0x4b160c(0x198)](_0x3c604e[_0x4b160c(0x1ca)]),global['accessibilityPlatform']=![]);}},exports[a3_0x1e4b6d(0x19e)]=_0x125fc1=>{const _0x5ce201=a3_0x1e4b6d,_0x43056c={};_0x43056c[_0x5ce201(0x199)]='browserstack_executor',_0x43056c[_0x5ce201(0x1df)]=_0x5ce201(0x1be);const _0x518b78=_0x43056c;if(!_0x125fc1)return![];return!_0x125fc1[_0x5ce201(0x197)](_0x518b78['MbryK'])&&!_0x125fc1['includes'](_0x518b78['VeKhl']);};function a3_0x3ff9(){const _0x16a85=['config','os_version','nxUYM','120EfRJZj','bstack:options','VeKhl','searchParams','qzefo','WebDriver','../../bin/playwright/sessionDetails','includes','warn','MbryK','10dctxIg','oyWrn','cloudProvider','fvBMP','shouldPatchExecuteScript','bsSessionId','rjYpy','eapiF','accessibilityPlatform','aShdy','acWMS','837800lJQaHn','constructor','qkaWO','Dpqjc','browser','desiredCapabilities','3PjiuCo','platform','getDetails','ocCNm','378lrKzNO','playwright-chromium','deviceName','OPsTF','processWebDriverConfig','OFlxl','browser_version','caps','lxlaY','chrome','name','QlXgR','yWiIH','2936PjWkkr','platform_version','browserstack_accessibility_automation_script','394173vzdEcD','parse','rGydu','ZFVkZ','platformVersion','latest','216716rCXZmV','288yHXWcR','AMGYf','zxtTR','BzuGn','VgYQK','browserWSEndpoint','browserName','116yJKKmh','../../helpers/logger','capabilities','IXXpp','browserVersion','vHxAD','luDYZ','306515znBjSV','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','winstonLogger','unknown_grid','fetchPlatformDetails','1308928EVKIZw'];a3_0x3ff9=function(){return _0x16a85;};return a3_0x3ff9();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a4_0x23121b=a4_0x3fa4;(function(_0x31b086,_0x439610){const _0x563913=a4_0x3fa4,_0x502e9c=_0x31b086();while(!![]){try{const _0x864a35=-parseInt(_0x563913(0x1f2))/0x1*(-parseInt(_0x563913(0x120))/0x2)+-parseInt(_0x563913(0x124))/0x3*(parseInt(_0x563913(0x1af))/0x4)+-parseInt(_0x563913(0x129))/0x5+parseInt(_0x563913(0x128))/0x6*(-parseInt(_0x563913(0x150))/0x7)+-parseInt(_0x563913(0x13e))/0x8+parseInt(_0x563913(0x16c))/0x9+parseInt(_0x563913(0x18a))/0xa*(parseInt(_0x563913(0x1c9))/0xb);if(_0x864a35===_0x439610)break;else _0x502e9c['push'](_0x502e9c['shift']());}catch(_0x2d2b9d){_0x502e9c['push'](_0x502e9c['shift']());}}}(a4_0x563f,0x2fc41));function a4_0x3fa4(_0x4e8365,_0x28ff54){const _0x563f5b=a4_0x563f();return a4_0x3fa4=function(_0x3fa437,_0x1f4313){_0x3fa437=_0x3fa437-0x104;let _0x581f36=_0x563f5b[_0x3fa437];return _0x581f36;},a4_0x3fa4(_0x4e8365,_0x28ff54);}const path=require(a4_0x23121b(0x170)),fs=require('fs'),{v4:uuidv4}=require(a4_0x23121b(0x10a)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x23121b(0x1fb)),testOpsHelper=require(a4_0x23121b(0x191)),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require(a4_0x23121b(0x1ed)),logger=require(a4_0x23121b(0x12c))[a4_0x23121b(0x168)],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require(a4_0x23121b(0x173)),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper['debug'],{processAccessibilityCaps}=require(a4_0x23121b(0x1fc)),Constants=require(a4_0x23121b(0x16f)),{fetchPlatformDetails}=require(a4_0x23121b(0x123)),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),STATE_PASSED='passed',STATE_FAILED=a4_0x23121b(0x17a),a4_0x323c59={};a4_0x323c59[a4_0x23121b(0x126)]=a4_0x23121b(0x1e3),a4_0x323c59[a4_0x23121b(0x146)]='TestRunFinished',a4_0x323c59[a4_0x23121b(0x1d3)]=a4_0x23121b(0x16b),a4_0x323c59[a4_0x23121b(0x203)]=a4_0x23121b(0x108),a4_0x323c59[a4_0x23121b(0x113)]=a4_0x23121b(0x1ba);const TEST_EVENTS=a4_0x323c59,parseEvent=_0x451215=>{const _0x1471fe=a4_0x23121b,_0x190fd8={};_0x190fd8[_0x1471fe(0x121)]=function(_0x713a74,_0x52286a){return _0x713a74<_0x52286a;},_0x190fd8[_0x1471fe(0x161)]=function(_0x9225d3,_0x55a8fd){return _0x9225d3===_0x55a8fd;},_0x190fd8[_0x1471fe(0x14e)]='test',_0x190fd8[_0x1471fe(0x1d7)]=function(_0x4f279a,_0x4cec70){return _0x4f279a===_0x4cec70;},_0x190fd8[_0x1471fe(0x14f)]='hook',_0x190fd8['ADGrm']=_0x1471fe(0x15d),_0x190fd8[_0x1471fe(0x142)]=function(_0x184298,_0x276808){return _0x184298===_0x276808;},_0x190fd8[_0x1471fe(0x202)]='started',_0x190fd8[_0x1471fe(0x135)]=function(_0x24252f,_0x17d53c){return _0x24252f===_0x17d53c;},_0x190fd8[_0x1471fe(0x181)]=_0x1471fe(0x1aa);const _0x249960=_0x190fd8,_0x4bdb97=_0x451215[_0x1471fe(0x10b)](/^(.*)Run(.*)$/);if(!_0x4bdb97)return null;if(_0x249960[_0x1471fe(0x121)](_0x4bdb97[_0x1471fe(0x1c4)],0x3))return null;const _0x54d6eb=_0x4bdb97[0x1][_0x1471fe(0x131)](),_0x41619c=_0x4bdb97[0x2]['toLowerCase']();return{'test':_0x249960['XaTnB'](_0x54d6eb,_0x249960[_0x1471fe(0x14e)]),'hook':_0x249960['EcofU'](_0x54d6eb,_0x249960[_0x1471fe(0x14f)]),'skipped':_0x249960[_0x1471fe(0x161)](_0x41619c,_0x249960[_0x1471fe(0x104)]),'started':_0x249960[_0x1471fe(0x142)](_0x41619c,_0x249960['vXrwG']),'finished':_0x249960[_0x1471fe(0x135)](_0x41619c,_0x249960['bWTDa'])};},mockPWBrowserType=_0x2709ac=>{const _0x26cf22=a4_0x23121b,_0x25cec4={'oXMiH':function(_0x35e739,_0x5b42eb){return _0x35e739===_0x5b42eb;},'bztYj':_0x26cf22(0x148),'WiNdx':function(_0x18acb5,_0x54438e,_0x529935){return _0x18acb5(_0x54438e,_0x529935);},'YsJLW':_0x26cf22(0x1ab),'ZTktP':function(_0x4ae585,_0xa8b412){return _0x4ae585(_0xa8b412);},'KXDhd':_0x26cf22(0x143),'rBhAZ':_0x26cf22(0x1c7),'fGGhQ':'client','xnUHh':_0x26cf22(0x1c5),'mXytB':function(_0x2060e9,_0x4edad6){return _0x2060e9(_0x4edad6);},'Avlji':function(_0x31e3a1,_0x22f44b){return _0x31e3a1(_0x22f44b);},'tRzRV':_0x26cf22(0x19a),'yJXgP':'connect','cMWAc':_0x26cf22(0x149)},_0x3000e5=path['join'](_0x25cec4['rBhAZ'],_0x25cec4[_0x26cf22(0x167)],_0x25cec4[_0x26cf22(0x13a)]),_0x112b27=_0x25cec4[_0x26cf22(0x176)](importFileFromPWCore,_0x3000e5);if(!_0x112b27){_0x25cec4['Avlji'](debug,_0x25cec4['tRzRV']);return;}const _0x2bddeb=_0x112b27['BrowserType'],_0x2f333a=_0x2bddeb[_0x26cf22(0x165)];if(_0x2f333a[_0x26cf22(0x136)])return;const _0x2201e8=_0x2f333a[_0x26cf22(0x1f3)];Object['defineProperty'](_0x2f333a,_0x25cec4[_0x26cf22(0x1c8)],{'get':function(){const _0x30a905=_0x26cf22,_0x369cde={'VytSe':function(_0x30d1ce,_0x3d0350){const _0x46e06a=a4_0x3fa4;return _0x25cec4[_0x46e06a(0x14a)](_0x30d1ce,_0x3d0350);},'pSWOT':_0x25cec4[_0x30a905(0x144)],'NQYwb':function(_0x17fb6c,_0x21f7aa,_0xa66739){const _0x179599=_0x30a905;return _0x25cec4[_0x179599(0x116)](_0x17fb6c,_0x21f7aa,_0xa66739);},'WNGBd':_0x25cec4['YsJLW'],'fctRE':function(_0x1c2ca1,_0x16afd8){return _0x25cec4['ZTktP'](_0x1c2ca1,_0x16afd8);},'GTmHd':_0x25cec4['KXDhd']};return async function _0x567313(_0x5efaa1,_0x2680ee){const _0x565f95=_0x30a905,_0x5b44a4={'bXAtM':function(_0x4b6368,_0x47509f){const _0x45998b=a4_0x3fa4;return _0x369cde[_0x45998b(0x199)](_0x4b6368,_0x47509f);},'UZwFs':_0x369cde[_0x565f95(0x19b)]},_0x499d65=_0x369cde[_0x565f95(0x1e7)](nestedKeyValue,_0x5efaa1,[_0x369cde['WNGBd']])||_0x5efaa1;let _0x3a4877=null,_0x584148=null;try{[_0x584148,_0x3a4877]=_0x499d65?_0x369cde['fctRE'](parseWSEndpoint,_0x499d65):[null,null],global[_0x565f95(0x12d)]=_0x3a4877,_0x584148[_0x565f95(0x164)](_0x369cde[_0x565f95(0x1e1)])&&(global[_0x565f95(0x183)]=_0x369cde[_0x565f95(0x1e1)]);}catch(_0x2fc3c5){logger[_0x565f95(0x13c)](_0x565f95(0x1dc)+_0x499d65+'\x20'+_0x2fc3c5);}_0x369cde[_0x565f95(0x1e7)](processAccessibilityCaps,_0x3a4877,_0x584148);if(global[_0x565f95(0x11f)]){const _0x3b4384=await _0x2f333a[_0x565f95(0x18b)]['apply'](this,[''+Constants[_0x565f95(0x1cb)]+_0x369cde['fctRE'](encodeURIComponent,JSON[_0x565f95(0x180)](_0x3a4877))]);return PlaywrightSessionDetails[_0x565f95(0x156)](_0x3b4384,_0x2709ac,_0x499d65),_0x3b4384;}return _0x2201e8[_0x565f95(0x11b)](this,arguments)[_0x565f95(0x1e5)](_0x211cb3=>{const _0x13c174=_0x565f95;let _0x402269=_0x5efaa1['wsEndpoint'];return _0x5b44a4['bXAtM'](typeof _0x5efaa1,_0x5b44a4[_0x13c174(0x11e)])&&(_0x402269=_0x5efaa1),PlaywrightSessionDetails[_0x13c174(0x156)](_0x211cb3,_0x2709ac,_0x402269),_0x211cb3;});};}});const _0x383996=_0x2f333a['launch'];Object[_0x26cf22(0x201)](_0x2f333a,_0x25cec4[_0x26cf22(0x16d)],{'get':function(){return async function _0x55979d(){const _0x1ba706=a4_0x3fa4;return _0x383996[_0x1ba706(0x11b)](this,arguments)[_0x1ba706(0x1e5)](_0x5ab423=>{return PlaywrightSessionDetails['setupBrowserDetails'](_0x5ab423,null),_0x5ab423;});};}});};class O11yHelper{['currentTest']=null;['currentHook']=null;['enabled']=![];[a4_0x23121b(0x174)]=![];constructor(_0x4855a7,_0x1ecd91){const _0x487869=a4_0x23121b,_0x433388={'vwzhC':_0x487869(0x10d),'JKryl':function(_0xbab04a){return _0xbab04a();},'yxXrH':function(_0x40fed5,_0x150087){return _0x40fed5===_0x150087;},'UxoUm':'Playwright','IJfUk':function(_0x35cbfd,_0x443e5a){return _0x35cbfd(_0x443e5a);}},_0x526e3e=_0x433388[_0x487869(0x1a3)]['split']('|');let _0x30b629=0x0;while(!![]){switch(_0x526e3e[_0x30b629++]){case'0':this[_0x487869(0x1c0)]=_0x4855a7;continue;case'1':this[_0x487869(0x17c)]=_0x433388[_0x487869(0x14d)](shouldProcessEventForTesthub);continue;case'2':this[_0x487869(0x12a)]=_0x433388['JKryl'](getTestEnv);continue;case'3':this[_0x487869(0x174)]=_0x1ecd91['frameworkName'];continue;case'4':this[_0x487869(0x1c0)]&&_0x433388[_0x487869(0x134)](this[_0x487869(0x1c0)][_0x487869(0x1a4)][_0x487869(0x107)],_0x433388[_0x487869(0x169)])&&_0x433388[_0x487869(0x197)](mockPWBrowserType,null);continue;case'5':this['_paths']=new testOpsHelper[(_0x487869(0x145))]({'cwd':process[_0x487869(0x1bd)]()},this[_0x487869(0x12a)][_0x487869(0x158)]);continue;}break;}}[a4_0x23121b(0x17d)](){const _0x2db03c=a4_0x23121b;if(!this[_0x2db03c(0x17c)])return;testOpsHelper[_0x2db03c(0x1f8)](),process['removeAllListeners'](_0x2db03c(0x19e)+process[_0x2db03c(0x1d0)]),process['on'](_0x2db03c(0x19e)+process[_0x2db03c(0x1d0)],this[_0x2db03c(0x1b7)][_0x2db03c(0x132)](this));}async[a4_0x23121b(0x1bc)](){const _0x36eb97=a4_0x23121b;await RequestQueueHandler[_0x36eb97(0x1c6)]()[_0x36eb97(0x1ef)]();}async[a4_0x23121b(0x1b7)](_0x2d7458){const _0x96ab2a=a4_0x23121b,_0x2f0d9d={'fVmfX':_0x96ab2a(0x171),'SsXLI':function(_0x19e652,_0x7969cf){return _0x19e652(_0x7969cf);}};try{this[_0x96ab2a(0x16a)]&&!this[_0x96ab2a(0x16a)][_0x96ab2a(0x1f7)]&&(_0x2d7458[_0x96ab2a(0x17b)]=this['currentHook'][_0x96ab2a(0x1d5)]);!_0x2d7458[_0x96ab2a(0x17b)]&&this[_0x96ab2a(0x196)]&&!this[_0x96ab2a(0x196)]['markedStatus']&&(_0x2d7458['test_run_uuid']=this[_0x96ab2a(0x196)][_0x96ab2a(0x1b4)]);if(_0x2d7458['hook_run_uuid']||_0x2d7458[_0x96ab2a(0x1b3)]){const _0x395c1e={};_0x395c1e[_0x96ab2a(0x152)]=_0x2f0d9d['fVmfX'],_0x395c1e[_0x96ab2a(0x1c2)]=[_0x2d7458],await SessionHandler[_0x96ab2a(0x11c)](_0x395c1e);}}catch(_0x4a9dd9){_0x2f0d9d[_0x96ab2a(0x162)](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x4a9dd9);}}async['sendCBTInfo'](_0x3eaf3c){const _0x1b9dc6=a4_0x23121b,_0x1d51d3={'MzoHe':_0x1b9dc6(0x12e),'FUUJP':function(_0x3c9733,_0x1fde66){return _0x3c9733(_0x1fde66);}};if(!this[_0x1b9dc6(0x17c)])return;const _0x344043=this[_0x1b9dc6(0x19f)](this['driver']);try{const _0x4f9b56={};_0x4f9b56[_0x1b9dc6(0x10a)]=_0x3eaf3c,_0x4f9b56[_0x1b9dc6(0x1a6)]=_0x344043;const _0xcd2727=_0x4f9b56,_0x6fe0ee={};_0x6fe0ee['event_type']=_0x1d51d3[_0x1b9dc6(0x15e)],_0x6fe0ee[_0x1b9dc6(0x198)]=_0xcd2727,await SessionHandler[_0x1b9dc6(0x11c)](_0x6fe0ee);}catch(_0x4eeb08){_0x1d51d3[_0x1b9dc6(0x154)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x4eeb08);}}[a4_0x23121b(0x19f)](_0x5628e1){const _0x61c6b4=a4_0x23121b,_0x308683={'xtTjY':function(_0x57bd66,_0x17704a){return _0x57bd66(_0x17704a);}};return _0x308683[_0x61c6b4(0x1db)](fetchPlatformDetails,_0x5628e1);}[a4_0x23121b(0x1a0)]=_0x283bee=>{const _0x1697f3=a4_0x23121b,_0x2731be={};_0x2731be[_0x1697f3(0x1f5)]=_0x1697f3(0x187),_0x2731be[_0x1697f3(0x1d8)]=_0x1697f3(0x1da);const _0x304463=_0x2731be;if(!_0x283bee||!_0x283bee[_0x1697f3(0x1de)])return;[_0x304463[_0x1697f3(0x1f5)],_0x304463[_0x1697f3(0x1d8)]]['forEach'](_0x564368=>{const _0x10c1c1=_0x1697f3,_0x3168e3=_0x283bee[_0x10c1c1(0x1de)][_0x564368];_0x3168e3[_0x10c1c1(0x1cc)](_0x466c41=>{const _0x16f12c=_0x10c1c1;_0x466c41[_0x16f12c(0x1d5)]&&(_0x466c41[_0x16f12c(0x1d5)]=null);});});};[a4_0x23121b(0x184)](_0x48c8f8){const _0x191a2e=a4_0x23121b,_0x50742c={'fdIdA':_0x191a2e(0x1a5),'JLtOd':function(_0x2c69c8){return _0x2c69c8();},'idNLP':function(_0x2861a8,_0x55d409){return _0x2861a8===_0x55d409;},'NdLkp':'_afterEach','eaMxP':_0x191a2e(0x159),'yoQQe':_0x191a2e(0x1a9),'QItex':_0x191a2e(0x187)};if(!_0x48c8f8||!_0x48c8f8[_0x191a2e(0x1de)])return;[_0x50742c[_0x191a2e(0x1d6)],_0x50742c['yoQQe'],_0x50742c[_0x191a2e(0x15b)],_0x50742c[_0x191a2e(0x1d9)]][_0x191a2e(0x1cc)](_0x99c1ac=>{const _0x28dfde=_0x191a2e,_0x33fd28={'MnYKB':_0x50742c[_0x28dfde(0x189)],'FPQbT':function(_0x1cca8f){const _0x5154f5=_0x28dfde;return _0x50742c[_0x5154f5(0x138)](_0x1cca8f);},'MLkjY':function(_0x76ad96,_0x281116){const _0x1cfc4f=_0x28dfde;return _0x50742c[_0x1cfc4f(0x1f6)](_0x76ad96,_0x281116);},'hKjjD':_0x50742c[_0x28dfde(0x1d9)]},_0x3a8034=_0x48c8f8[_0x28dfde(0x1de)][_0x99c1ac]||[];_0x3a8034[_0x28dfde(0x1cc)](_0x55ba9a=>{const _0x2fd114=_0x28dfde;if(_0x55ba9a[_0x2fd114(0x13d)]['includes'](_0x33fd28[_0x2fd114(0x130)]))return;if(!_0x55ba9a['hookAnalyticsId'])_0x55ba9a['hookAnalyticsId']=_0x33fd28[_0x2fd114(0x153)](uuidv4);else _0x55ba9a[_0x2fd114(0x1f7)]&&_0x33fd28[_0x2fd114(0x18d)](_0x99c1ac,_0x33fd28[_0x2fd114(0x1be)])&&(_0x55ba9a[_0x2fd114(0x1d5)]=_0x33fd28[_0x2fd114(0x153)](uuidv4),delete _0x55ba9a[_0x2fd114(0x1f7)]);});}),this[_0x191a2e(0x184)](_0x48c8f8['parent']);}['getHooksForTest'](_0x1c1e43){const _0x3333b3=a4_0x23121b,_0x3f9b1b={};_0x3f9b1b['ljGGC']='_beforeAll',_0x3f9b1b[_0x3333b3(0x15f)]='_afterAll',_0x3f9b1b['YIjDX']=_0x3333b3(0x187),_0x3f9b1b[_0x3333b3(0x15a)]=_0x3333b3(0x1da);const _0x635b9e=_0x3f9b1b;if(!_0x1c1e43||!_0x1c1e43[_0x3333b3(0x1de)])return[];const _0x301e19=[];return[_0x635b9e['ljGGC'],_0x635b9e[_0x3333b3(0x15f)],_0x635b9e[_0x3333b3(0x1b9)],_0x635b9e['AGEMo']][_0x3333b3(0x1cc)](_0x488d9e=>{const _0x1fbde5=_0x3333b3,_0x40e69d=_0x1c1e43['parent'][_0x488d9e]||[];_0x40e69d[_0x1fbde5(0x1cc)](_0x261ee7=>{const _0x1d1794=_0x1fbde5;_0x261ee7[_0x1d1794(0x1d5)]&&_0x301e19[_0x1d1794(0x1c1)](_0x261ee7[_0x1d1794(0x1d5)]);});}),[]['concat'](_0x301e19,this[_0x3333b3(0x18c)](_0x1c1e43['parent']));}[a4_0x23121b(0x1fd)](_0x6348e8){const _0x2e1209=a4_0x23121b,_0x23e245=/^"(?<hook>.*)" hook:.*$/,_0xe3d6e3=_0x6348e8[_0x2e1209(0x13d)],_0x56f95a=_0xe3d6e3[_0x2e1209(0x10b)](_0x23e245);if(_0x56f95a&&_0x56f95a['groups'])return _0x56f95a[_0x2e1209(0x1a8)]['hook'][_0x2e1209(0x137)]()[_0x2e1209(0x1f4)]('\x20','_');return null;}['findGitConfig'](_0x104d07){const _0x1014c7=a4_0x23121b,_0x55843f={};_0x55843f['VwmVy']=function(_0x6ec25c,_0x4f22b7){return _0x6ec25c===_0x4f22b7;},_0x55843f[_0x1014c7(0x1e8)]=function(_0x58222e,_0x19a5b6){return _0x58222e===_0x19a5b6;},_0x55843f[_0x1014c7(0x1ea)]=function(_0x25cd8d,_0x8f777c){return _0x25cd8d===_0x8f777c;},_0x55843f[_0x1014c7(0x1f9)]=function(_0x167620,_0x1c839a){return _0x167620===_0x1c839a;},_0x55843f[_0x1014c7(0x1ac)]='.git',_0x55843f[_0x1014c7(0x11a)]='config';const _0x348b5e=_0x55843f,_0x4e6d8e=path['sep'];if(_0x348b5e['VwmVy'](_0x104d07,null)||_0x348b5e['Rsvqc'](_0x104d07,'')||_0x348b5e['jNgPH'](_0x104d07,_0x4e6d8e)||_0x348b5e[_0x1014c7(0x1f9)](_0x104d07,path[_0x1014c7(0x10c)](_0x104d07)))return null;try{return fs['statSync'](path[_0x1014c7(0x106)](_0x104d07,_0x348b5e[_0x1014c7(0x1ac)],_0x348b5e[_0x1014c7(0x11a)])),_0x104d07;}catch(_0x1dc3eb){const _0x461063=path[_0x1014c7(0x10c)](_0x104d07);return this['findGitConfig'](_0x461063);}}['getRootParentFile'](_0x1feeda){const _0x24114b=a4_0x23121b,_0x35b635={};_0x35b635[_0x24114b(0x1bf)]=function(_0x4e6799,_0x564035){return _0x4e6799>_0x564035;};const _0x19f5e4=_0x35b635;if(_0x1feeda[_0x24114b(0x1fe)])return _0x1feeda[_0x24114b(0x1fe)];if(_0x1feeda['ctx']){const _0x457bd1=_0x1feeda['ctx'][_0x24114b(0x196)]?this['getRootParentFile'](_0x1feeda[_0x24114b(0x1b1)][_0x24114b(0x196)]):null;if(_0x457bd1)return _0x457bd1;}if(_0x1feeda[_0x24114b(0x1de)]){const _0x32baea=this[_0x24114b(0x118)](_0x1feeda['parent'])||(_0x1feeda['parent'][_0x24114b(0x1b1)]&&_0x1feeda['parent'][_0x24114b(0x1b1)][_0x24114b(0x196)]?this[_0x24114b(0x118)](_0x1feeda[_0x24114b(0x1de)][_0x24114b(0x1b1)]['currentTest']):null);if(_0x32baea)return _0x32baea;_0x1feeda[_0x24114b(0x1de)][_0x24114b(0x178)]&&_0x19f5e4['GsnoC'](_0x1feeda[_0x24114b(0x1de)][_0x24114b(0x178)][_0x24114b(0x1c4)],0x0)&&_0x1feeda['parent'][_0x24114b(0x178)][_0x24114b(0x1cc)](_0x19108d=>{const _0x1bb7a3=_0x24114b,_0x1189bc=_0x19108d[_0x1bb7a3(0x1b1)]?this[_0x1bb7a3(0x118)](_0x19108d[_0x1bb7a3(0x1b1)]):null;if(_0x1189bc)return _0x1189bc;});}return null;}[a4_0x23121b(0x1c3)](_0x139e4d){const _0x28e65a=a4_0x23121b,_0x5b4f00={};_0x5b4f00['jskBp']=function(_0x1d2732,_0x3fed42){return _0x1d2732!==_0x3fed42;};const _0x4a5e55=_0x5b4f00,_0x2c917c=[];if(_0x139e4d&&_0x139e4d['parent']){let _0x53edd4=_0x139e4d[_0x28e65a(0x1de)];while(_0x53edd4&&_0x4a5e55[_0x28e65a(0x14c)](_0x53edd4['title'],'')){_0x2c917c[_0x28e65a(0x1c1)](_0x53edd4[_0x28e65a(0x13d)]),_0x53edd4=_0x53edd4[_0x28e65a(0x1de)];}}return _0x2c917c;}['captureEvent'](_0x2ca3db,_0x133a97,_0xc6b9fd=undefined){const _0x59c34f=a4_0x23121b,_0x90ec11={'tjzBa':function(_0x18e2dc,_0x15a006){return _0x18e2dc(_0x15a006);},'MQYYK':function(_0x5ebf31){return _0x5ebf31();},'RFTQs':function(_0xaa9442){return _0xaa9442();},'eVhHT':_0x59c34f(0x133),'DZUby':'err','UfObw':function(_0x5953ef,_0xa50c9c){return _0x5953ef!==_0xa50c9c;},'fGDGc':_0x59c34f(0x122),'NZmda':'pending','BEPTX':_0x59c34f(0x17a),'SPtZs':_0x59c34f(0x1e2),'ACKKu':_0x59c34f(0x15d),'qXdfv':_0x59c34f(0x119),'pOieI':function(_0xe32fc7,_0x309bf1){return _0xe32fc7-_0x309bf1;},'TFoCZ':function(_0x4dc307,_0x45e139,_0x1480d6,_0x335320,_0x286699){return _0x4dc307(_0x45e139,_0x1480d6,_0x335320,_0x286699);},'vDCfO':function(_0x56faa0,_0x34f308){return _0x56faa0!==_0x34f308;},'kQJhd':_0x59c34f(0x1a6),'rdWCG':_0x59c34f(0x15c),'HiQQq':'failure','ozmLJ':'failure_backtrace','mQuqD':_0x59c34f(0x19d),'eZIFn':_0x59c34f(0x1cd),'sDOcB':_0x59c34f(0x1b2),'ufznw':function(_0x504983,_0x1d782b){return _0x504983===_0x1d782b;},'xjiya':_0x59c34f(0x182),'oBzQD':_0x59c34f(0x198)};if(!this['enabled'])return;try{if(_0x133a97['fn']&&_0x133a97['fn'][_0x59c34f(0x13b)]()['match'](/browserstack internal helper hook/))return;const _0x8e7383=_0x90ec11[_0x59c34f(0x1fa)](parseEvent,_0x2ca3db);if(!_0x8e7383)return;if(_0x8e7383[_0x59c34f(0x105)]){this['currentTest']=_0x133a97,this[_0x59c34f(0x16a)]=null;if(_0x8e7383[_0x59c34f(0x18e)]||_0x8e7383[_0x59c34f(0x15d)]){_0x133a97[_0x59c34f(0x175)]=new Date(),_0x133a97[_0x59c34f(0x1f7)]=![];if(!_0x133a97['testAnalyticsId'])_0x133a97[_0x59c34f(0x1b4)]=_0x90ec11[_0x59c34f(0x12f)](uuidv4);else _0x133a97[_0x59c34f(0x1f7)]&&(!_0x133a97['retryOf']&&(_0x133a97[_0x59c34f(0x1d4)]=_0x133a97[_0x59c34f(0x1b4)]),_0x133a97[_0x59c34f(0x1b4)]=_0x90ec11['MQYYK'](uuidv4));}}else{if(_0x8e7383[_0x59c34f(0x11d)]){this[_0x59c34f(0x16a)]=_0x133a97;if(_0x8e7383[_0x59c34f(0x18e)]){_0x133a97[_0x59c34f(0x175)]=new Date(),_0x133a97[_0x59c34f(0x1f7)]=![];if(!_0x133a97[_0x59c34f(0x1d5)])_0x133a97[_0x59c34f(0x1d5)]=_0x90ec11[_0x59c34f(0x12f)](uuidv4);else _0x133a97[_0x59c34f(0x1d5)]&&_0x133a97[_0x59c34f(0x1f7)]&&(_0x133a97[_0x59c34f(0x1d5)]=_0x90ec11[_0x59c34f(0x1e4)](uuidv4));}}}if(_0x8e7383[_0x59c34f(0x1aa)]&&_0x133a97[_0x59c34f(0x1f7)])return;let _0x372fca;try{_0x372fca=this[_0x59c34f(0x118)](_0x133a97);}catch(_0x2e1ab0){logger[_0x59c34f(0x13c)](_0x59c34f(0x185)+_0x2e1ab0),_0x372fca=null;}const _0x1e0475=_0x90ec11[_0x59c34f(0x1fa)](require,_0x90ec11[_0x59c34f(0x179)]);let _0x2b89d6=[];_0xc6b9fd&&(_0x2b89d6=[_0xc6b9fd,_0x90ec11[_0x59c34f(0x14b)]]);const _0x123062=_0x90ec11['UfObw'](_0x133a97[_0x59c34f(0x151)],undefined)?_0x1e0475[_0x59c34f(0x19c)](_0x133a97['errorsDetailed'][0x0]):_0x90ec11[_0x59c34f(0x18f)](_0xc6b9fd,undefined)?_0xc6b9fd[_0x59c34f(0x13b)]():undefined,_0x1a8354=_0x372fca?this[_0x59c34f(0x1ce)](_0x372fca):null,_0x52d20b=_0x372fca?this[_0x59c34f(0x195)][_0x59c34f(0x10f)](this[_0x59c34f(0x118)](_0x133a97)):_0x90ec11[_0x59c34f(0x160)];let _0x1e41cc=_0x90ec11['NZmda'];const _0x230d9a=!_0x8e7383['started']?new Date()[_0x59c34f(0x109)]():null;if(_0x8e7383['finished'])_0x1e41cc=_0xc6b9fd?_0x90ec11[_0x59c34f(0x1ae)]:_0x90ec11[_0x59c34f(0x1dd)],_0x133a97[_0x59c34f(0x1f7)]=!![];else _0x8e7383[_0x59c34f(0x15d)]&&(_0x1e41cc=_0x90ec11[_0x59c34f(0x1ec)],_0x133a97[_0x59c34f(0x1f7)]=!![]);const _0x481a0f={'framework':this['frameworkName'],'uuid':_0x133a97['testAnalyticsId']||_0x133a97['hookAnalyticsId'],'name':_0x133a97[_0x59c34f(0x13d)],'body':{'lang':_0x90ec11['qXdfv'],'code':_0x133a97[_0x59c34f(0x155)][_0x59c34f(0x13b)]()},'type':_0x133a97[_0x59c34f(0x190)],'scope':_0x133a97['fullTitle'](),'scopes':this['getHierarchy'](_0x133a97),'file_name':_0x52d20b,'vc_filepath':_0x1a8354?path[_0x59c34f(0x112)](_0x1a8354,_0x372fca):null,'location':_0x52d20b,'result':_0x1e41cc,'failure_reason':_0x123062,'duration_in_ms':_0x133a97[_0x59c34f(0x193)]||(_0x8e7383[_0x59c34f(0x1aa)]||_0x8e7383['skipped'])?_0x90ec11[_0x59c34f(0x17e)](Date[_0x59c34f(0x1a1)](),new Date(_0x133a97['startedAt'])[_0x59c34f(0x140)]()):null,'started_at':new Date(_0x133a97[_0x59c34f(0x175)])['toISOString'](),'finished_at':_0x230d9a,'failure':testOpsHelper[_0x59c34f(0x1ee)][_0x59c34f(0x11b)](null,_0x2b89d6),'failure_type':!_0x123062?null:testOpsHelper[_0x59c34f(0x1e0)](_0x123062),'retry_of':_0x133a97[_0x59c34f(0x1d4)]||null,'tags':_0x133a97[_0x59c34f(0x1df)]||[],'customRerunParam':{'rerun_name':_0x133a97[_0x59c34f(0x1b6)]()}};_0x90ec11[_0x59c34f(0x192)](appendTesthubParams,_0x481a0f,_0x2ca3db,_0x133a97,FRAMEWORKS['CODECEPT']);if(_0x8e7383[_0x59c34f(0x11d)])[_0x481a0f[_0x59c34f(0x111)],_0x481a0f[_0x59c34f(0x107)]]=[this[_0x59c34f(0x1fd)](_0x133a97),_0x133a97[_0x59c34f(0x1b1)][_0x59c34f(0x105)][_0x59c34f(0x13d)]],_0x8e7383[_0x59c34f(0x1aa)]?_0x90ec11[_0x59c34f(0x166)](_0x481a0f['result'],_0x90ec11[_0x59c34f(0x1ae)])&&(_0x481a0f['result']=_0x90ec11[_0x59c34f(0x1dd)]):_0x481a0f[_0x59c34f(0x155)]={};else _0x8e7383[_0x59c34f(0x105)]&&(this[_0x59c34f(0x184)](_0x133a97),_0x8e7383[_0x59c34f(0x15d)]&&this[_0x59c34f(0x1a0)](_0x133a97),(_0x8e7383[_0x59c34f(0x1aa)]||_0x8e7383[_0x59c34f(0x15d)])&&(_0x481a0f[_0x59c34f(0x17f)]=this['getHooksForTest'](_0x133a97)));this[_0x59c34f(0x1c0)]&&(_0x8e7383[_0x59c34f(0x18e)]||_0x8e7383[_0x59c34f(0x15d)])&&(_0x481a0f[_0x90ec11[_0x59c34f(0x1f1)]]=this[_0x59c34f(0x19f)](this[_0x59c34f(0x1c0)]));_0x8e7383[_0x59c34f(0x105)]&&_0x8e7383[_0x59c34f(0x1aa)]&&_0x133a97[_0x59c34f(0x141)]&&(_0x481a0f[_0x90ec11['rdWCG']]={'feature':{'name':_0x133a97[_0x59c34f(0x1de)][_0x59c34f(0x1f0)][_0x59c34f(0x107)],'path':_0x481a0f[_0x59c34f(0x125)],'description':_0x133a97[_0x59c34f(0x1de)][_0x59c34f(0x13f)]},'scenario':{'name':_0x133a97[_0x59c34f(0x13d)]},'steps':_0x133a97['bddSteps']});const _0x18604e=_0x481a0f[_0x90ec11['HiQQq']][0x0];_0x18604e&&(_0x481a0f[_0x90ec11['ozmLJ']]=_0x18604e[_0x90ec11[_0x59c34f(0x1cf)]],_0x481a0f[_0x90ec11['eZIFn']]=_0x18604e[_0x90ec11[_0x59c34f(0x194)]]);if(_0x133a97[_0x59c34f(0x141)])for(const _0x56ef1b of _0x133a97[_0x59c34f(0x141)]){!_0x56ef1b['finished_at']&&(_0x56ef1b[_0x59c34f(0x1d2)]=new Date()[_0x59c34f(0x109)](),_0x90ec11[_0x59c34f(0x115)](_0x56ef1b['result'],_0x90ec11['NZmda'])&&(_0x18604e?(_0x56ef1b[_0x59c34f(0x1a2)]=_0x90ec11[_0x59c34f(0x1ae)],_0x56ef1b[_0x59c34f(0x147)]=_0x18604e[_0x90ec11[_0x59c34f(0x1cf)]][0x0]):_0x56ef1b[_0x59c34f(0x1a2)]=_0x90ec11[_0x59c34f(0x1dd)]));}const _0x20d755={};_0x20d755[_0x59c34f(0x152)]=_0x8e7383[_0x59c34f(0x15d)]?TEST_EVENTS[_0x59c34f(0x146)]:_0x2ca3db;const _0x20f5b7=_0x20d755;return _0x8e7383[_0x59c34f(0x11d)]?_0x20f5b7[_0x90ec11[_0x59c34f(0x157)]]=_0x481a0f:_0x20f5b7[_0x90ec11[_0x59c34f(0x139)]]=_0x481a0f,_0x20f5b7;}catch(_0x4de42f){logger[_0x59c34f(0x13c)](_0x59c34f(0x1e9)+_0x2ca3db+_0x59c34f(0x163)+_0x4de42f);}}async[a4_0x23121b(0x1e6)](_0x136fdf,_0x5e077b){const _0xec5c2d=a4_0x23121b;if(!this[_0xec5c2d(0x17c)]||!_0x5e077b||!_0x136fdf)return![];try{return await SessionHandler[_0xec5c2d(0x11c)](_0x5e077b);}catch(_0x384182){logger['debug'](_0xec5c2d(0x1a7)+_0x136fdf+_0xec5c2d(0x163)+_0x384182);}}[a4_0x23121b(0x1b5)](_0x2439ed){const _0x5940f3=a4_0x23121b,_0x3353aa={};_0x3353aa[_0x5940f3(0x1eb)]='pending';const _0x4f3b0f=_0x3353aa;return{'id':_0x2439ed['stepAnalyticsId'],'text':_0x2439ed[_0x5940f3(0x1b8)],'keyword':_0x2439ed[_0x5940f3(0x1d1)],'started_at':_0x2439ed['startedAt'][_0x5940f3(0x109)](),'result':_0x4f3b0f['RaEfZ']};}[a4_0x23121b(0x177)](_0x3dba22){const _0x35110d=a4_0x23121b,_0x25fc18={'ApIbP':function(_0x4514da){return _0x4514da();}};!this[_0x35110d(0x196)]['bddSteps']&&(this[_0x35110d(0x196)][_0x35110d(0x141)]=[]),!_0x3dba22['stepAnalyticsId']&&(_0x3dba22[_0x35110d(0x1ff)]=_0x25fc18[_0x35110d(0x1b0)](uuidv4),_0x3dba22[_0x35110d(0x175)]=new Date(),this[_0x35110d(0x196)]['bddSteps'][_0x35110d(0x1c1)](this[_0x35110d(0x1b5)](_0x3dba22)));}[a4_0x23121b(0x172)](_0x4a92af){const _0x1c9faf=a4_0x23121b,_0x41d9be={'BLjUr':function(_0x331846,_0x2f0ab9){return _0x331846(_0x2f0ab9);},'FwoEX':'success','PJVEk':_0x1c9faf(0x10e),'CDWeK':'passed','tdgLR':function(_0x52ca3b,_0x426f91){return _0x52ca3b-_0x426f91;}};let _0x4e52ef=this[_0x1c9faf(0x196)]['bddSteps'][_0x1c9faf(0x114)](_0x25d8a8=>_0x25d8a8['id']===_0x4a92af[_0x1c9faf(0x1ff)]);_0x41d9be[_0x1c9faf(0x16e)](isUndefined,_0x4e52ef)&&(_0x4e52ef=this[_0x1c9faf(0x1b5)](_0x4a92af)),_0x4e52ef['result']=[_0x41d9be['FwoEX'],_0x41d9be[_0x1c9faf(0x110)]][_0x1c9faf(0x164)](_0x4a92af[_0x1c9faf(0x12b)])?_0x41d9be[_0x1c9faf(0x117)]:_0x4a92af[_0x1c9faf(0x12b)],_0x4e52ef[_0x1c9faf(0x1d2)]=new Date()['toISOString'](),_0x4e52ef[_0x1c9faf(0x193)]=_0x41d9be['tdgLR'](Date[_0x1c9faf(0x1a1)](),_0x4a92af[_0x1c9faf(0x175)][_0x1c9faf(0x140)]()),_0x4e52ef[_0x1c9faf(0x147)]=_0x4a92af[_0x1c9faf(0x1bb)]?_0x4a92af[_0x1c9faf(0x1bb)][_0x1c9faf(0x186)]:null;}}function a4_0x563f(){const _0x111876=['groups','_afterAll','finished','wsEndpoint','xgGQm','TEST_EVENTS','BEPTX','4QCrXZD','ApIbP','ctx','expanded','test_run_uuid','testAnalyticsId','initializeBddStep','fullTitle','appendTestItemLog','text','YIjDX','HookRunFinished','err','stop','cwd','hKjjD','GsnoC','driver','push','logs','getHierarchy','length','browserType.js','getInstance','lib','yJXgP','158609QWxcOq','STATE_PASSED','PLAYWRIGHT_HUB_URL','forEach','failure_reason_expanded','findGitConfig','mQuqD','pid','keyword','finished_at','TEST_RUN_SKIPPED','retryOf','hookAnalyticsId','eaMxP','EcofU','jfGxj','NdLkp','_afterEach','xtTjY','Failed\x20to\x20parse\x20wsendpoint\x20','SPtZs','parent','tags','getFailureType','GTmHd','passed','TestRunStarted','RFTQs','then','fireEvent','NQYwb','Rsvqc','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','jNgPH','RaEfZ','ACKKu','../../helpers/test-observability/constants','failureData','shutdown','feature','kQJhd','19ZlumZc','connect','replace','NiHSq','idNLP','markedStatus','patchConsoleLogger','pvUrO','tjzBa','../../helpers/helper','../playwright/accessibility-helper','getHookType','file','stepAnalyticsId','O11yHelper','defineProperty','vXrwG','HOOK_RUN_STARTED','ADGrm','test','join','name','HookRunStarted','toISOString','uuid','match','dirname','1|3|0|2|5|4','pending','prefixTestPath','PJVEk','hook_type','relative','HOOK_RUN_FINISHED','find','ufznw','WiNdx','CDWeK','getRootParentFile','javascript','OYYuk','apply','uploadEventData','hook','UZwFs','accessibilityPlatform','10210JKMOlQ','UEPwj','File\x20path\x20could\x20not\x20be\x20found','./helper.js','355806YEOAar','file_name','TEST_RUN_STARTED','exports','498084ZKDcaf','1001675botxVi','_testEnv','status','../../helpers/logger','__platformCaps','CBTSessionCreated','MQYYK','MnYKB','toLowerCase','bind','util','yxXrH','fZtxa','obsBrowserTypeMockApplied','toUpperCase','JLtOd','oBzQD','xnUHh','toString','debug','title','663424YTmPcy','comment','getTime','bddSteps','RHHUb','browserstack','bztYj','PathHelper','TEST_RUN_FINISHED','failure','string','launch','oXMiH','DZUby','jskBp','JKryl','gxdFs','endtk','28xpVmCH','errorsDetailed','event_type','FPQbT','FUUJP','body','setupBrowserDetails','xjiya','location_prefix','_beforeAll','AGEMo','QItex','meta','skipped','MzoHe','DANHG','fGDGc','XaTnB','SsXLI','\x20with\x20error\x20:\x20','includes','prototype','vDCfO','fGGhQ','winstonLogger','UxoUm','currentHook','TestRunSkipped','615312OvyNPr','cMWAc','BLjUr','../utils/constants','path','LogCreated','bddStepFinish','../../helpers/test-observability/requestQueueHandler','frameworkName','startedAt','mXytB','bddStepStart','suites','eVhHT','failed','hook_run_uuid','enabled','start','pOieI','hooks','stringify','bWTDa','hook_run','__cloud_provider___','mapTestHooks','failed\x20to\x20get\x20root\x20parent\x20file\x20','message','_beforeEach','STATE_FAILED','fdIdA','530FhWsIz','connectOverCDP','getHooksForTest','MLkjY','started','UfObw','type','../../helpers/test-observability/utils','TFoCZ','duration','sDOcB','_paths','currentTest','IJfUk','test_run','VytSe','Not\x20able\x20to\x20import\x20Browser','pSWOT','inspect','backtrace','bs:addLog:','getCBTInfo','resetSkipTestHooks','now','result','vwzhC','constructor','codeceptjs','integrations','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20'];a4_0x563f=function(){return _0x111876;};return a4_0x563f();}const a4_0x3cde5a={};a4_0x3cde5a[a4_0x23121b(0x200)]=O11yHelper,a4_0x3cde5a[a4_0x23121b(0x1ca)]=STATE_PASSED,a4_0x3cde5a[a4_0x23121b(0x188)]=STATE_FAILED,a4_0x3cde5a[a4_0x23121b(0x1ad)]=TEST_EVENTS,module[a4_0x23121b(0x127)]=a4_0x3cde5a;
|
|
1
|
+
const a4_0x18ada1=a4_0x48b0;(function(_0x35aca7,_0x4527ac){const _0x390932=a4_0x48b0,_0x336612=_0x35aca7();while(!![]){try{const _0x53b19a=-parseInt(_0x390932(0x1c2))/0x1+-parseInt(_0x390932(0x1b5))/0x2*(parseInt(_0x390932(0x1c0))/0x3)+parseInt(_0x390932(0x1b1))/0x4+parseInt(_0x390932(0x1c1))/0x5*(-parseInt(_0x390932(0x10f))/0x6)+parseInt(_0x390932(0x14c))/0x7+-parseInt(_0x390932(0x101))/0x8+parseInt(_0x390932(0x1d9))/0x9;if(_0x53b19a===_0x4527ac)break;else _0x336612['push'](_0x336612['shift']());}catch(_0x2138fb){_0x336612['push'](_0x336612['shift']());}}}(a4_0x57af,0x838eb));const path=require('path'),fs=require('fs'),{v4:uuidv4}=require(a4_0x18ada1(0x17f)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x18ada1(0x141)),testOpsHelper=require(a4_0x18ada1(0x199)),{getTestEnv}=require(a4_0x18ada1(0x13e)),{FRAMEWORKS}=require(a4_0x18ada1(0x120)),logger=require(a4_0x18ada1(0x158))['winstonLogger'],SessionHandler=require(a4_0x18ada1(0x14a)),RequestQueueHandler=require(a4_0x18ada1(0x1d8)),PlaywrightSessionDetails=require(a4_0x18ada1(0x1a9)),debug=testOpsHelper[a4_0x18ada1(0x176)],{processAccessibilityCaps}=require(a4_0x18ada1(0xfd)),Constants=require(a4_0x18ada1(0x174)),{fetchPlatformDetails}=require(a4_0x18ada1(0x1da)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x18ada1(0x15c)),STATE_PASSED=a4_0x18ada1(0x122),STATE_FAILED='failed',a4_0x293c05={};a4_0x293c05[a4_0x18ada1(0x164)]=a4_0x18ada1(0x15f),a4_0x293c05['TEST_RUN_FINISHED']=a4_0x18ada1(0x14f),a4_0x293c05['TEST_RUN_SKIPPED']=a4_0x18ada1(0x1a5),a4_0x293c05[a4_0x18ada1(0x161)]='HookRunStarted',a4_0x293c05['HOOK_RUN_FINISHED']=a4_0x18ada1(0xf7);function a4_0x57af(){const _0x21a4e6=['xSBnE','bEZLI','ZycHe','oGeVl','iaEFN','CODECEPT','getHooksForTest','xgGxA','../../helpers/test-observability/requestQueueHandler','9414621UIgriS','./helper.js','concat','body','NRjAf','title','KDDhq','HookRunFinished','length','tJWKa','bs:addLog:','launch','bddStepStart','../playwright/accessibility-helper','findGitConfig','tNskl','type','138776NZYxXU','ZOpZV','duration','GSMkL','string','failed\x20to\x20get\x20root\x20parent\x20file\x20','testAnalyticsId','file','fNSND','now','lKAJL','TEST_EVENTS','test_run_uuid','TEST_RUN_FINISHED','24Omdnes','vAbkB','apply','gSJbI','oNYeP','_testEnv','YwlnV','message','DzaGY','setupBrowserDetails','XErbq','file_name','failure_backtrace','tags','getRootParentFile','toLowerCase','dirname','../../helpers/test-observability/constants','name','passed','codeceptjs','event_type','initializeBddStep','exports','PathHelper','javascript','enEno','currentHook','prefixTestPath','sendCBTInfo','suites','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','errorsDetailed','appendTestItemLog','QzZJU','CPgsx','getCBTInfo','bzXBY','enabled','integrations','File\x20path\x20could\x20not\x20be\x20found','hookAnalyticsId','ZJZMK','GwmHB','STATE_FAILED','skipped','finished','../mocha/test-observability/mochaUtils','slAbc','hook_run_uuid','../../helpers/helper','FugZD','_paths','hook_run','sWsqm','gaZDB','failure','JYkBW','1|0|2|5|3|4','../../helpers/test-observability/sessionHandler','currentTest','6917638XIlRou','qCruV','toISOString','TestRunFinished','OFLXa','getTime','stepAnalyticsId','bddSteps','push','expanded','status','getFailureType','../../helpers/logger','keyword','nSDHM','PVBqx','../../helpers/testhub/utils.js','groups','test','TestRunStarted','\x20with\x20error\x20:\x20','HOOK_RUN_STARTED','parent','failureData','TEST_RUN_STARTED','markedStatus','sMnoi','O11yHelper','test_run','Gzctl','UQLTB','startedAt','client','_beforeAll','pending','CBTSessionCreated','match','resetSkipTestHooks','NIDbP','ctx','../utils/constants','jnDAi','debug','XesNN','NnvQP','frameworkName','klEBN','gXJCX','shutdown','IsvHl','finished_at','uuid','NNOqM','result','driver','inspect','pid','BrowserType','stop','started','dAirL','forEach','meta','uZbcS','defineProperty','obsBrowserTypeMockApplied','ofSmX','_afterEach','feature','bddStepFinish','getHookType','includes','cwd','Playwright','RSeVd','accessibilityPlatform','KOktk','../../helpers/test-observability/utils','_beforeEach','UImiD','find','hooks','COIjz','LogCreated','connect','hook','captureEvent','DbnjP','ktwoR','TestRunSkipped','LkpES','constructor','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','../playwright/sessionDetails','hXRnr','replace','VnPXZ','uploadEventData','then','toString','__cloud_provider___','645824iAlvMr','zcgyq','qMzZs','mapTestHooks','3788gENpnw','wsEndpoint','config','location_prefix','jILVM','Failed\x20to\x20parse\x20wsendpoint\x20','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','NFwDY','retryOf','success','join','1065bYKChe','61920mkEOBZ','917647BNhake','ZdmPF','iubTz','getInstance','failure_reason_expanded','err','ZUhnf','dPEYx','SFFAk','_afterAll','getHierarchy','failed','vZFhH','removeAllListeners'];a4_0x57af=function(){return _0x21a4e6;};return a4_0x57af();}const TEST_EVENTS=a4_0x293c05,parseEvent=_0x190d10=>{const _0x1bb422=a4_0x18ada1,_0x1c4443={};_0x1c4443['EVAeD']=function(_0xad7dc9,_0x5d8bf7){return _0xad7dc9<_0x5d8bf7;},_0x1c4443[_0x1bb422(0x1c8)]=function(_0x1b32e1,_0x59841c){return _0x1b32e1===_0x59841c;},_0x1c4443['RdVnt']=_0x1bb422(0x15e),_0x1c4443[_0x1bb422(0x1ac)]='hook',_0x1c4443[_0x1bb422(0x10b)]=function(_0x571e24,_0x4f4110){return _0x571e24===_0x4f4110;},_0x1c4443[_0x1bb422(0x102)]=_0x1bb422(0x13c),_0x1c4443[_0x1bb422(0x150)]='started',_0x1c4443[_0x1bb422(0x1d0)]=function(_0x655cfb,_0x1f66e4){return _0x655cfb===_0x1f66e4;},_0x1c4443['YwlnV']='finished';const _0x2a2e31=_0x1c4443,_0x40e9d9=_0x190d10[_0x1bb422(0x170)](/^(.*)Run(.*)$/);if(!_0x40e9d9)return null;if(_0x2a2e31['EVAeD'](_0x40e9d9[_0x1bb422(0xf8)],0x3))return null;const _0x3a8e27=_0x40e9d9[0x1]['toLowerCase'](),_0x36f854=_0x40e9d9[0x2][_0x1bb422(0x11e)]();return{'test':_0x2a2e31['ZUhnf'](_0x3a8e27,_0x2a2e31['RdVnt']),'hook':_0x2a2e31[_0x1bb422(0x1c8)](_0x3a8e27,_0x2a2e31[_0x1bb422(0x1ac)]),'skipped':_0x2a2e31[_0x1bb422(0x10b)](_0x36f854,_0x2a2e31[_0x1bb422(0x102)]),'started':_0x2a2e31[_0x1bb422(0x1c8)](_0x36f854,_0x2a2e31[_0x1bb422(0x150)]),'finished':_0x2a2e31[_0x1bb422(0x1d0)](_0x36f854,_0x2a2e31[_0x1bb422(0x115)])};},mockPWBrowserType=_0x3cdb19=>{const _0xba08d9=a4_0x18ada1,_0x16c1d4={'bGSFi':function(_0x4e375d,_0x4afeee){return _0x4e375d===_0x4afeee;},'gaZDB':_0xba08d9(0x105),'bEZLI':function(_0x415409,_0x423a47,_0x50478b){return _0x415409(_0x423a47,_0x50478b);},'ktwoR':_0xba08d9(0x1b6),'fNSND':function(_0x308d4d,_0x429911){return _0x308d4d(_0x429911);},'enEno':'browserstack','qMzZs':'lib','dAirL':_0xba08d9(0x16c),'UlkIw':'browserType.js','uZbcS':'Not\x20able\x20to\x20import\x20Browser','GhEem':_0xba08d9(0x1a0),'LkpES':'launch'},_0x1f1bd0=path[_0xba08d9(0x1bf)](_0x16c1d4[_0xba08d9(0x1b3)],_0x16c1d4[_0xba08d9(0x188)],_0x16c1d4['UlkIw']),_0x4de9a2=_0x16c1d4[_0xba08d9(0x109)](importFileFromPWCore,_0x1f1bd0);if(!_0x4de9a2){_0x16c1d4[_0xba08d9(0x109)](debug,_0x16c1d4[_0xba08d9(0x18b)]);return;}const _0x28a3e1=_0x4de9a2[_0xba08d9(0x185)],_0x5d3bac=_0x28a3e1['prototype'];if(_0x5d3bac[_0xba08d9(0x18d)])return;const _0x44685f=_0x5d3bac[_0xba08d9(0x1a0)];Object['defineProperty'](_0x5d3bac,_0x16c1d4['GhEem'],{'get':function(){return async function _0x245a83(_0x1a0902,_0x2ed8d6){const _0x2c3508=a4_0x48b0,_0x158d18={'UImiD':function(_0x55d096,_0x43b097){return _0x16c1d4['bGSFi'](_0x55d096,_0x43b097);},'NnvQP':_0x16c1d4[_0x2c3508(0x146)]},_0x33c72a=_0x16c1d4[_0x2c3508(0x1d1)](nestedKeyValue,_0x1a0902,[_0x16c1d4[_0x2c3508(0x1a4)]])||_0x1a0902;let _0x444c73=null,_0x3d69df=null;try{[_0x3d69df,_0x444c73]=_0x33c72a?_0x16c1d4[_0x2c3508(0x109)](parseWSEndpoint,_0x33c72a):[null,null],global['__platformCaps']=_0x444c73,logger[_0x2c3508(0x176)]('Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20'+_0x3d69df),_0x3d69df[_0x2c3508(0x193)](Constants['BROWSERSTACK'])&&(global[_0x2c3508(0x1b0)]=_0x16c1d4[_0x2c3508(0x129)]);}catch(_0x4c146c){logger[_0x2c3508(0x176)](_0x2c3508(0x1ba)+_0x33c72a+'\x20'+_0x4c146c);}_0x16c1d4[_0x2c3508(0x1d1)](processAccessibilityCaps,_0x444c73,_0x3d69df);if(global[_0x2c3508(0x197)]){const _0xa0ffbd=await _0x5d3bac['connectOverCDP'][_0x2c3508(0x111)](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0x16c1d4[_0x2c3508(0x109)](encodeURIComponent,JSON['stringify'](_0x444c73))]);return PlaywrightSessionDetails[_0x2c3508(0x118)](_0xa0ffbd,_0x3cdb19,_0x33c72a),_0xa0ffbd;}return _0x44685f['apply'](this,arguments)[_0x2c3508(0x1ae)](_0x1834aa=>{const _0x2b0851=_0x2c3508;let _0x5d2422=_0x1a0902[_0x2b0851(0x1b6)];return _0x158d18[_0x2b0851(0x19b)](typeof _0x1a0902,_0x158d18[_0x2b0851(0x178)])&&(_0x5d2422=_0x1a0902),PlaywrightSessionDetails['setupBrowserDetails'](_0x1834aa,_0x3cdb19,_0x5d2422),_0x1834aa;});};}});const _0x596750=_0x5d3bac[_0xba08d9(0xfb)];Object[_0xba08d9(0x18c)](_0x5d3bac,_0x16c1d4[_0xba08d9(0x1a6)],{'get':function(){return async function _0x2b0862(){const _0x205b75=a4_0x48b0;return _0x596750[_0x205b75(0x111)](this,arguments)['then'](_0x305459=>{return PlaywrightSessionDetails['setupBrowserDetails'](_0x305459,null),_0x305459;});};}});};class O11yHelper{[a4_0x18ada1(0x14b)]=null;[a4_0x18ada1(0x12a)]=null;['enabled']=![];[a4_0x18ada1(0x179)]=![];constructor(_0x1c0622,_0x3aaa89){const _0x3b2cb6=a4_0x18ada1,_0x127663={'PVBqx':_0x3b2cb6(0x149),'xgGxA':function(_0x4bf731){return _0x4bf731();},'JYkBW':function(_0x541d68,_0x5112de){return _0x541d68===_0x5112de;},'knnja':_0x3b2cb6(0x195),'jILVM':function(_0x42b5a7,_0x18ed29){return _0x42b5a7(_0x18ed29);},'klEBN':function(_0x3f2b3b){return _0x3f2b3b();}},_0x30b611=_0x127663[_0x3b2cb6(0x15b)]['split']('|');let _0x5204ff=0x0;while(!![]){switch(_0x30b611[_0x5204ff++]){case'0':this[_0x3b2cb6(0x179)]=_0x3aaa89[_0x3b2cb6(0x179)];continue;case'1':this[_0x3b2cb6(0x135)]=_0x127663[_0x3b2cb6(0x1d7)](shouldProcessEventForTesthub);continue;case'2':this[_0x3b2cb6(0x182)]=_0x1c0622;continue;case'3':this[_0x3b2cb6(0x143)]=new testOpsHelper[(_0x3b2cb6(0x127))]({'cwd':process[_0x3b2cb6(0x194)]()},this['_testEnv'][_0x3b2cb6(0x1b8)]);continue;case'4':this[_0x3b2cb6(0x182)]&&_0x127663[_0x3b2cb6(0x148)](this[_0x3b2cb6(0x182)][_0x3b2cb6(0x1a7)][_0x3b2cb6(0x121)],_0x127663['knnja'])&&_0x127663[_0x3b2cb6(0x1b9)](mockPWBrowserType,null);continue;case'5':this[_0x3b2cb6(0x114)]=_0x127663[_0x3b2cb6(0x17a)](getTestEnv);continue;}break;}}['start'](){const _0xbe4b8e=a4_0x18ada1;if(!this['enabled'])return;testOpsHelper['patchConsoleLogger'](),process[_0xbe4b8e(0x1cf)](_0xbe4b8e(0xfa)+process['pid']),process['on'](_0xbe4b8e(0xfa)+process[_0xbe4b8e(0x184)],this[_0xbe4b8e(0x130)]['bind'](this));}async[a4_0x18ada1(0x186)](){const _0x2f609d=a4_0x18ada1;await RequestQueueHandler[_0x2f609d(0x1c5)]()[_0x2f609d(0x17c)]();}async[a4_0x18ada1(0x130)](_0x1487a9){const _0x6730b1=a4_0x18ada1,_0x5268ad={'WjVYW':_0x6730b1(0x19f),'IhSgM':function(_0x58736e,_0xec590d){return _0x58736e(_0xec590d);}};try{this[_0x6730b1(0x12a)]&&!this[_0x6730b1(0x12a)][_0x6730b1(0x165)]&&(_0x1487a9[_0x6730b1(0x140)]=this[_0x6730b1(0x12a)]['hookAnalyticsId']);!_0x1487a9[_0x6730b1(0x140)]&&this[_0x6730b1(0x14b)]&&!this[_0x6730b1(0x14b)][_0x6730b1(0x165)]&&(_0x1487a9[_0x6730b1(0x10d)]=this['currentTest'][_0x6730b1(0x107)]);if(_0x1487a9['hook_run_uuid']||_0x1487a9[_0x6730b1(0x10d)]){const _0x429e01={};_0x429e01['event_type']=_0x5268ad['WjVYW'],_0x429e01['logs']=[_0x1487a9],await SessionHandler[_0x6730b1(0x1ad)](_0x429e01);}}catch(_0x2ea7bd){_0x5268ad['IhSgM'](debug,_0x6730b1(0x1a8)+_0x2ea7bd);}}async[a4_0x18ada1(0x12c)](_0x7bdd2a){const _0x4acc56=a4_0x18ada1,_0xdd2c00={'NIDbP':_0x4acc56(0x16f),'XesNN':function(_0x437f8f,_0x2ebb46){return _0x437f8f(_0x2ebb46);}};if(!this[_0x4acc56(0x135)])return;const _0x13c6ff=this[_0x4acc56(0x133)](this[_0x4acc56(0x182)]);try{const _0x89fe45={};_0x89fe45[_0x4acc56(0x17f)]=_0x7bdd2a,_0x89fe45['integrations']=_0x13c6ff;const _0x377086=_0x89fe45,_0x58a584={};_0x58a584[_0x4acc56(0x124)]=_0xdd2c00[_0x4acc56(0x172)],_0x58a584[_0x4acc56(0x168)]=_0x377086,await SessionHandler[_0x4acc56(0x1ad)](_0x58a584);}catch(_0x52d149){_0xdd2c00[_0x4acc56(0x177)](debug,_0x4acc56(0x1bb)+_0x52d149);}}[a4_0x18ada1(0x133)](_0x56c050){const _0x592303=a4_0x18ada1,_0x3886c9={'iaEFN':function(_0x3448fc,_0x3c1698){return _0x3448fc(_0x3c1698);}};return _0x3886c9[_0x592303(0x1d4)](fetchPlatformDetails,_0x56c050);}[a4_0x18ada1(0x171)]=_0x29cc19=>{const _0x4ce6c4=a4_0x18ada1,_0x1ece94={};_0x1ece94[_0x4ce6c4(0x1a3)]=_0x4ce6c4(0x19a),_0x1ece94['NRjAf']=_0x4ce6c4(0x18f);const _0x3aab9c=_0x1ece94;if(!_0x29cc19||!_0x29cc19[_0x4ce6c4(0x162)])return;[_0x3aab9c[_0x4ce6c4(0x1a3)],_0x3aab9c[_0x4ce6c4(0x1dd)]][_0x4ce6c4(0x189)](_0x52b2e8=>{const _0x375183=_0x4ce6c4,_0x3adac5=_0x29cc19[_0x375183(0x162)][_0x52b2e8];_0x3adac5[_0x375183(0x189)](_0x23d333=>{const _0x1550bf=_0x375183;_0x23d333[_0x1550bf(0x138)]&&(_0x23d333[_0x1550bf(0x138)]=null);});});};[a4_0x18ada1(0x1b4)](_0x5ce054){const _0x4492e6=a4_0x18ada1,_0x198b00={'tNskl':_0x4492e6(0x123),'ZdmPF':function(_0x56e368){return _0x56e368();},'qFzAt':function(_0x2dd3f1,_0x305bb3){return _0x2dd3f1===_0x305bb3;},'rAtrC':'_afterEach','QzZJU':function(_0x54c634){return _0x54c634();},'ZycHe':_0x4492e6(0x16d),'eoZjo':_0x4492e6(0x1cb),'CPgsx':_0x4492e6(0x19a)};if(!_0x5ce054||!_0x5ce054['parent'])return;[_0x198b00[_0x4492e6(0x1d2)],_0x198b00['eoZjo'],_0x198b00[_0x4492e6(0x132)],_0x198b00['rAtrC']]['forEach'](_0x36bb44=>{const _0x2f3d6d=_0x4492e6,_0x551645=_0x5ce054['parent'][_0x36bb44]||[];_0x551645[_0x2f3d6d(0x189)](_0x597f7a=>{const _0x151f04=_0x2f3d6d;if(_0x597f7a[_0x151f04(0xf5)][_0x151f04(0x193)](_0x198b00[_0x151f04(0xff)]))return;if(!_0x597f7a['hookAnalyticsId'])_0x597f7a[_0x151f04(0x138)]=_0x198b00[_0x151f04(0x1c3)](uuidv4);else _0x597f7a[_0x151f04(0x165)]&&_0x198b00['qFzAt'](_0x36bb44,_0x198b00['rAtrC'])&&(_0x597f7a[_0x151f04(0x138)]=_0x198b00[_0x151f04(0x131)](uuidv4),delete _0x597f7a['markedStatus']);});}),this[_0x4492e6(0x1b4)](_0x5ce054[_0x4492e6(0x162)]);}[a4_0x18ada1(0x1d6)](_0xe4f37a){const _0x3604c5=a4_0x18ada1,_0x33a7bf={};_0x33a7bf[_0x3604c5(0x15a)]=_0x3604c5(0x16d),_0x33a7bf[_0x3604c5(0x112)]=_0x3604c5(0x1cb),_0x33a7bf[_0x3604c5(0x139)]='_beforeEach',_0x33a7bf[_0x3604c5(0x1d3)]=_0x3604c5(0x18f);const _0x1473f3=_0x33a7bf;if(!_0xe4f37a||!_0xe4f37a['parent'])return[];const _0x4334fa=[];return[_0x1473f3[_0x3604c5(0x15a)],_0x1473f3[_0x3604c5(0x112)],_0x1473f3[_0x3604c5(0x139)],_0x1473f3[_0x3604c5(0x1d3)]][_0x3604c5(0x189)](_0x2eb7e8=>{const _0x2c43b9=_0x3604c5,_0x5ae4f8=_0xe4f37a[_0x2c43b9(0x162)][_0x2eb7e8]||[];_0x5ae4f8[_0x2c43b9(0x189)](_0x208612=>{const _0x268250=_0x2c43b9;_0x208612[_0x268250(0x138)]&&_0x4334fa[_0x268250(0x154)](_0x208612[_0x268250(0x138)]);});}),[][_0x3604c5(0x1db)](_0x4334fa,this[_0x3604c5(0x1d6)](_0xe4f37a[_0x3604c5(0x162)]));}['getHookType'](_0x9d6dbb){const _0xbfc016=a4_0x18ada1,_0x1b403e=/^"(?<hook>.*)" hook:.*$/,_0x208f47=_0x9d6dbb[_0xbfc016(0xf5)],_0x4e85c9=_0x208f47[_0xbfc016(0x170)](_0x1b403e);if(_0x4e85c9&&_0x4e85c9[_0xbfc016(0x15d)])return _0x4e85c9[_0xbfc016(0x15d)][_0xbfc016(0x1a1)]['toUpperCase']()[_0xbfc016(0x1ab)]('\x20','_');return null;}[a4_0x18ada1(0xfe)](_0xebda36){const _0x522875=a4_0x18ada1,_0x5b25ce={};_0x5b25ce['sWsqm']=function(_0x5c4698,_0x169631){return _0x5c4698===_0x169631;},_0x5b25ce[_0x522875(0x113)]=function(_0x3268a4,_0x146586){return _0x3268a4===_0x146586;},_0x5b25ce[_0x522875(0x1aa)]='.git',_0x5b25ce[_0x522875(0x134)]=_0x522875(0x1b7);const _0x25fc77=_0x5b25ce,_0xd78876=path['sep'];if(_0x25fc77[_0x522875(0x145)](_0xebda36,null)||_0x25fc77[_0x522875(0x145)](_0xebda36,'')||_0x25fc77[_0x522875(0x145)](_0xebda36,_0xd78876)||_0x25fc77['oNYeP'](_0xebda36,path[_0x522875(0x11f)](_0xebda36)))return null;try{return fs['statSync'](path['join'](_0xebda36,_0x25fc77['hXRnr'],_0x25fc77['bzXBY'])),_0xebda36;}catch(_0x4df871){const _0x56f2a2=path[_0x522875(0x11f)](_0xebda36);return this[_0x522875(0xfe)](_0x56f2a2);}}[a4_0x18ada1(0x11d)](_0x11d2d0){const _0xeb082a=a4_0x18ada1,_0x1efaf9={};_0x1efaf9[_0xeb082a(0x169)]=function(_0x5f0c31,_0x46c8c3){return _0x5f0c31>_0x46c8c3;};const _0xa7394e=_0x1efaf9;if(_0x11d2d0['file'])return _0x11d2d0[_0xeb082a(0x108)];if(_0x11d2d0[_0xeb082a(0x173)]){const _0x8c7ef8=_0x11d2d0[_0xeb082a(0x173)][_0xeb082a(0x14b)]?this['getRootParentFile'](_0x11d2d0[_0xeb082a(0x173)][_0xeb082a(0x14b)]):null;if(_0x8c7ef8)return _0x8c7ef8;}if(_0x11d2d0[_0xeb082a(0x162)]){const _0x14224b=this['getRootParentFile'](_0x11d2d0[_0xeb082a(0x162)])||(_0x11d2d0['parent']['ctx']&&_0x11d2d0[_0xeb082a(0x162)]['ctx'][_0xeb082a(0x14b)]?this[_0xeb082a(0x11d)](_0x11d2d0[_0xeb082a(0x162)]['ctx'][_0xeb082a(0x14b)]):null);if(_0x14224b)return _0x14224b;_0x11d2d0['parent']['suites']&&_0xa7394e[_0xeb082a(0x169)](_0x11d2d0['parent'][_0xeb082a(0x12d)][_0xeb082a(0xf8)],0x0)&&_0x11d2d0['parent']['suites'][_0xeb082a(0x189)](_0x52456b=>{const _0x35325f=_0xeb082a,_0x2ec180=_0x52456b[_0x35325f(0x173)]?this['getRootParentFile'](_0x52456b[_0x35325f(0x173)]):null;if(_0x2ec180)return _0x2ec180;});}return null;}[a4_0x18ada1(0x1cc)](_0x1456ee){const _0xbc536f=a4_0x18ada1,_0x582e3a={};_0x582e3a[_0xbc536f(0x13a)]=function(_0x4bde53,_0x10946d){return _0x4bde53!==_0x10946d;};const _0x1fd1f6=_0x582e3a,_0x174bfa=[];if(_0x1456ee&&_0x1456ee[_0xbc536f(0x162)]){let _0x14213c=_0x1456ee['parent'];while(_0x14213c&&_0x1fd1f6[_0xbc536f(0x13a)](_0x14213c[_0xbc536f(0xf5)],'')){_0x174bfa[_0xbc536f(0x154)](_0x14213c['title']),_0x14213c=_0x14213c[_0xbc536f(0x162)];}}return _0x174bfa;}[a4_0x18ada1(0x1a2)](_0xed0be,_0x39982a,_0x140ff8=undefined){const _0x408400=a4_0x18ada1,_0xe7d291={'ofSmX':function(_0x5102d8,_0x472d96){return _0x5102d8(_0x472d96);},'vAbkB':function(_0x9f8240){return _0x9f8240();},'YcDAL':'util','iubTz':_0x408400(0x1c7),'IsvHl':function(_0x576fd7,_0x3de9d0){return _0x576fd7!==_0x3de9d0;},'NFwDY':_0x408400(0x137),'DzaGY':_0x408400(0x16e),'tJWKa':_0x408400(0x1cd),'jnDAi':_0x408400(0x122),'COIjz':_0x408400(0x13c),'gXJCX':_0x408400(0x128),'NNOqM':function(_0x2f5802,_0x52fbcf){return _0x2f5802-_0x52fbcf;},'SFFAk':function(_0x4786c2,_0x19adc0,_0x2666d2,_0x7e8077,_0x3eb02e){return _0x4786c2(_0x19adc0,_0x2666d2,_0x7e8077,_0x3eb02e);},'qCruV':function(_0x5c1f57,_0x128106){return _0x5c1f57!==_0x128106;},'vZFhH':_0x408400(0x136),'HRNMn':_0x408400(0x18a),'qkPwr':'failure','IWusN':_0x408400(0x11b),'zcgyq':'backtrace','RSeVd':_0x408400(0x1c6),'dPEYx':_0x408400(0x155),'KDDhq':function(_0x166d8b,_0x433798){return _0x166d8b===_0x433798;},'KOktk':_0x408400(0x144),'UQLTB':'test_run'};if(!this[_0x408400(0x135)])return;try{if(_0x39982a['fn']&&_0x39982a['fn'][_0x408400(0x1af)]()[_0x408400(0x170)](/browserstack internal helper hook/))return;const _0x512aab=_0xe7d291[_0x408400(0x18e)](parseEvent,_0xed0be);if(!_0x512aab)return;if(_0x512aab[_0x408400(0x15e)]){this['currentTest']=_0x39982a,this[_0x408400(0x12a)]=null;if(_0x512aab[_0x408400(0x187)]||_0x512aab['skipped']){_0x39982a[_0x408400(0x16b)]=new Date(),_0x39982a[_0x408400(0x165)]=![];if(!_0x39982a['testAnalyticsId'])_0x39982a['testAnalyticsId']=_0xe7d291[_0x408400(0x110)](uuidv4);else _0x39982a[_0x408400(0x165)]&&(!_0x39982a[_0x408400(0x1bd)]&&(_0x39982a[_0x408400(0x1bd)]=_0x39982a[_0x408400(0x107)]),_0x39982a[_0x408400(0x107)]=_0xe7d291[_0x408400(0x110)](uuidv4));}}else{if(_0x512aab[_0x408400(0x1a1)]){this['currentHook']=_0x39982a;if(_0x512aab[_0x408400(0x187)]){_0x39982a['startedAt']=new Date(),_0x39982a[_0x408400(0x165)]=![];if(!_0x39982a[_0x408400(0x138)])_0x39982a[_0x408400(0x138)]=_0xe7d291[_0x408400(0x110)](uuidv4);else _0x39982a[_0x408400(0x138)]&&_0x39982a[_0x408400(0x165)]&&(_0x39982a[_0x408400(0x138)]=_0xe7d291[_0x408400(0x110)](uuidv4));}}}if(_0x512aab[_0x408400(0x13d)]&&_0x39982a[_0x408400(0x165)])return;let _0x9feffd;try{_0x9feffd=this[_0x408400(0x11d)](_0x39982a);}catch(_0x4e9f34){logger[_0x408400(0x176)](_0x408400(0x106)+_0x4e9f34),_0x9feffd=null;}const _0x2f8421=_0xe7d291[_0x408400(0x18e)](require,_0xe7d291['YcDAL']);let _0x3f6d86=[];_0x140ff8&&(_0x3f6d86=[_0x140ff8,_0xe7d291[_0x408400(0x1c4)]]);const _0x3b5e4c=_0xe7d291[_0x408400(0x17d)](_0x39982a[_0x408400(0x12f)],undefined)?_0x2f8421[_0x408400(0x183)](_0x39982a[_0x408400(0x12f)][0x0]):_0xe7d291[_0x408400(0x17d)](_0x140ff8,undefined)?_0x140ff8[_0x408400(0x1af)]():undefined,_0x29aa5a=_0x9feffd?this['findGitConfig'](_0x9feffd):null,_0x599a5c=_0x9feffd?this[_0x408400(0x143)][_0x408400(0x12b)](this[_0x408400(0x11d)](_0x39982a)):_0xe7d291[_0x408400(0x1bc)];let _0x260a15=_0xe7d291['DzaGY'];const _0x1a8193=!_0x512aab[_0x408400(0x187)]?new Date()['toISOString']():null;if(_0x512aab['finished'])_0x260a15=_0x140ff8?_0xe7d291[_0x408400(0xf9)]:_0xe7d291['jnDAi'],_0x39982a[_0x408400(0x165)]=!![];else _0x512aab[_0x408400(0x13c)]&&(_0x260a15=_0xe7d291[_0x408400(0x19e)],_0x39982a[_0x408400(0x165)]=!![]);const _0x857c62={'framework':this[_0x408400(0x179)],'uuid':_0x39982a[_0x408400(0x107)]||_0x39982a[_0x408400(0x138)],'name':_0x39982a[_0x408400(0xf5)],'body':{'lang':_0xe7d291[_0x408400(0x17b)],'code':_0x39982a[_0x408400(0x1dc)][_0x408400(0x1af)]()},'type':_0x39982a[_0x408400(0x100)],'scope':_0x39982a['fullTitle'](),'scopes':this['getHierarchy'](_0x39982a),'file_name':_0x599a5c,'vc_filepath':_0x29aa5a?path['relative'](_0x29aa5a,_0x9feffd):null,'location':_0x599a5c,'result':_0x260a15,'failure_reason':_0x3b5e4c,'duration_in_ms':_0x39982a['duration']||(_0x512aab['finished']||_0x512aab['skipped'])?_0xe7d291[_0x408400(0x180)](Date[_0x408400(0x10a)](),new Date(_0x39982a['startedAt'])[_0x408400(0x151)]()):null,'started_at':new Date(_0x39982a[_0x408400(0x16b)])[_0x408400(0x14e)](),'finished_at':_0x1a8193,'failure':testOpsHelper[_0x408400(0x163)][_0x408400(0x111)](null,_0x3f6d86),'failure_type':!_0x3b5e4c?null:testOpsHelper[_0x408400(0x157)](_0x3b5e4c),'retry_of':_0x39982a['retryOf']||null,'tags':_0x39982a[_0x408400(0x11c)]||[],'customRerunParam':{'rerun_name':_0x39982a['fullTitle']()}};_0xe7d291[_0x408400(0x1ca)](appendTesthubParams,_0x857c62,_0xed0be,_0x39982a,FRAMEWORKS[_0x408400(0x1d5)]);if(_0x512aab[_0x408400(0x1a1)])[_0x857c62['hook_type'],_0x857c62[_0x408400(0x121)]]=[this[_0x408400(0x192)](_0x39982a),_0x39982a[_0x408400(0x173)][_0x408400(0x15e)][_0x408400(0xf5)]],_0x512aab[_0x408400(0x13d)]?_0xe7d291[_0x408400(0x14d)](_0x857c62[_0x408400(0x181)],_0xe7d291[_0x408400(0xf9)])&&(_0x857c62[_0x408400(0x181)]=_0xe7d291[_0x408400(0x175)]):_0x857c62[_0x408400(0x1dc)]={};else _0x512aab[_0x408400(0x15e)]&&(this[_0x408400(0x1b4)](_0x39982a),_0x512aab[_0x408400(0x13c)]&&this[_0x408400(0x171)](_0x39982a),(_0x512aab[_0x408400(0x13d)]||_0x512aab[_0x408400(0x13c)])&&(_0x857c62[_0x408400(0x19d)]=this[_0x408400(0x1d6)](_0x39982a)));this[_0x408400(0x182)]&&(_0x512aab[_0x408400(0x187)]||_0x512aab[_0x408400(0x13c)])&&(_0x857c62[_0xe7d291[_0x408400(0x1ce)]]=this[_0x408400(0x133)](this['driver']));_0x512aab[_0x408400(0x15e)]&&_0x512aab[_0x408400(0x13d)]&&_0x39982a[_0x408400(0x153)]&&(_0x857c62[_0xe7d291['HRNMn']]={'feature':{'name':_0x39982a[_0x408400(0x162)][_0x408400(0x190)][_0x408400(0x121)],'path':_0x857c62[_0x408400(0x11a)],'description':_0x39982a[_0x408400(0x162)]['comment']},'scenario':{'name':_0x39982a[_0x408400(0xf5)]},'steps':_0x39982a['bddSteps']});const _0x2bb437=_0x857c62[_0xe7d291['qkPwr']][0x0];_0x2bb437&&(_0x857c62[_0xe7d291['IWusN']]=_0x2bb437[_0xe7d291[_0x408400(0x1b2)]],_0x857c62[_0xe7d291[_0x408400(0x196)]]=_0x2bb437[_0xe7d291[_0x408400(0x1c9)]]);if(_0x39982a[_0x408400(0x153)])for(const _0x2454b1 of _0x39982a[_0x408400(0x153)]){!_0x2454b1[_0x408400(0x17e)]&&(_0x2454b1[_0x408400(0x17e)]=new Date()[_0x408400(0x14e)](),_0xe7d291[_0x408400(0xf6)](_0x2454b1[_0x408400(0x181)],_0xe7d291[_0x408400(0x117)])&&(_0x2bb437?(_0x2454b1[_0x408400(0x181)]=_0xe7d291[_0x408400(0xf9)],_0x2454b1[_0x408400(0x147)]=_0x2bb437[_0xe7d291[_0x408400(0x1b2)]][0x0]):_0x2454b1[_0x408400(0x181)]=_0xe7d291[_0x408400(0x175)]));}const _0x38209d={};_0x38209d['event_type']=_0x512aab['skipped']?TEST_EVENTS[_0x408400(0x10e)]:_0xed0be;const _0x5ec73d=_0x38209d;return _0x512aab[_0x408400(0x1a1)]?_0x5ec73d[_0xe7d291[_0x408400(0x198)]]=_0x857c62:_0x5ec73d[_0xe7d291[_0x408400(0x16a)]]=_0x857c62,_0x5ec73d;}catch(_0x3372f9){logger['debug']('Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0xed0be+_0x408400(0x160)+_0x3372f9);}}async['fireEvent'](_0x48a083,_0x4f88cd){const _0x1f4a0c=a4_0x18ada1;if(!this[_0x1f4a0c(0x135)]||!_0x4f88cd||!_0x48a083)return![];try{return await SessionHandler[_0x1f4a0c(0x1ad)](_0x4f88cd);}catch(_0x141d28){logger[_0x1f4a0c(0x176)](_0x1f4a0c(0x12e)+_0x48a083+_0x1f4a0c(0x160)+_0x141d28);}}[a4_0x18ada1(0x125)](_0x35fbc9){const _0x58872d=a4_0x18ada1,_0x3b9607={};_0x3b9607[_0x58872d(0x13f)]=_0x58872d(0x16e);const _0x53e1e7=_0x3b9607;return{'id':_0x35fbc9[_0x58872d(0x152)],'text':_0x35fbc9['text'],'keyword':_0x35fbc9[_0x58872d(0x159)],'started_at':_0x35fbc9[_0x58872d(0x16b)][_0x58872d(0x14e)](),'result':_0x53e1e7[_0x58872d(0x13f)]};}[a4_0x18ada1(0xfc)](_0x1f21d7){const _0xe40bc4=a4_0x18ada1,_0x2f1663={'sMnoi':function(_0x1946c2){return _0x1946c2();}};!this['currentTest'][_0xe40bc4(0x153)]&&(this[_0xe40bc4(0x14b)][_0xe40bc4(0x153)]=[]),!_0x1f21d7['stepAnalyticsId']&&(_0x1f21d7[_0xe40bc4(0x152)]=_0x2f1663[_0xe40bc4(0x166)](uuidv4),_0x1f21d7[_0xe40bc4(0x16b)]=new Date(),this[_0xe40bc4(0x14b)]['bddSteps'][_0xe40bc4(0x154)](this[_0xe40bc4(0x125)](_0x1f21d7)));}[a4_0x18ada1(0x191)](_0x493c4c){const _0x332387=a4_0x18ada1,_0x401e99={'XErbq':function(_0xe0297e,_0xbe7e10){return _0xe0297e(_0xbe7e10);},'chzjI':_0x332387(0x1be),'FugZD':_0x332387(0x16e),'YXKLX':_0x332387(0x122),'GSMkL':function(_0x136dd4,_0x5c9f68){return _0x136dd4-_0x5c9f68;}};let _0x5d61b1=this[_0x332387(0x14b)][_0x332387(0x153)][_0x332387(0x19c)](_0x3529bd=>_0x3529bd['id']===_0x493c4c[_0x332387(0x152)]);_0x401e99[_0x332387(0x119)](isUndefined,_0x5d61b1)&&(_0x5d61b1=this['initializeBddStep'](_0x493c4c)),_0x5d61b1[_0x332387(0x181)]=[_0x401e99['chzjI'],_0x401e99[_0x332387(0x142)]][_0x332387(0x193)](_0x493c4c[_0x332387(0x156)])?_0x401e99['YXKLX']:_0x493c4c[_0x332387(0x156)],_0x5d61b1[_0x332387(0x17e)]=new Date()['toISOString'](),_0x5d61b1[_0x332387(0x103)]=_0x401e99[_0x332387(0x104)](Date[_0x332387(0x10a)](),_0x493c4c[_0x332387(0x16b)][_0x332387(0x151)]()),_0x5d61b1[_0x332387(0x147)]=_0x493c4c['err']?_0x493c4c[_0x332387(0x1c7)][_0x332387(0x116)]:null;}}const a4_0x380447={};function a4_0x48b0(_0x3c2bd6,_0x3d9a6f){const _0x57af08=a4_0x57af();return a4_0x48b0=function(_0x48b084,_0x4367b8){_0x48b084=_0x48b084-0xf5;let _0x42a823=_0x57af08[_0x48b084];return _0x42a823;},a4_0x48b0(_0x3c2bd6,_0x3d9a6f);}a4_0x380447[a4_0x18ada1(0x167)]=O11yHelper,a4_0x380447['STATE_PASSED']=STATE_PASSED,a4_0x380447[a4_0x18ada1(0x13b)]=STATE_FAILED,a4_0x380447[a4_0x18ada1(0x10c)]=TEST_EVENTS,module[a4_0x18ada1(0x126)]=a4_0x380447;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a5_0x13ae(_0x55373b,_0x214333){const _0x3f8eea=a5_0x3f8e();return a5_0x13ae=function(_0x13aebb,_0x25020a){_0x13aebb=_0x13aebb-0x159;let _0x12deb5=_0x3f8eea[_0x13aebb];return _0x12deb5;},a5_0x13ae(_0x55373b,_0x214333);}const a5_0x5eca13=a5_0x13ae;function a5_0x3f8e(){const _0xb45e9d=['util','green','BROWSERSTACK_TEST_OBSERVABILITY_YML','DAzJm','tRkyg','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','accessibilityOptions','8430590boUaOL','7111164IfXTMx','Generating\x20consolidated\x20report...','fpmsr','getHubUrl','unlinkSync','exports','finalExecution','prepareCapabilities','parallelsPerPlatform','EVENTS','exitCode','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','winstonLogger','../../helpers/performance/constants','CUCUMBER','Fsmfd','../../helpers/test-observability/utils','yellow','rmdirSync','251898zxisdV','initialize','removeDir','486868dzwRmA','iCscN','useW3C','../../helpers/helper','\x20failed','RbpVS','../../helpers/utilities','62DQrjFH','then','testContextOptions','qdcOt','framework','SDK_CLEANUP','stop','cucumber','format','\x20passed','error\x20removing\x20tcg\x20config\x20file','oYefJ','OLBUi','stepsFailed','../../helpers/testhub/testhubHandler','setupTCGAuth','\x20skipped','createDir','debug','turboScaleUrl','SDK_SETUP','Removing\x20tmp\x20directory\x20created\x20for\x20reports','printBuildLink','../../helpers/logger','finally','getErrorMessageFromResults','argv','QKubW','ZDORD','cwd','uVtAd','stepsUndefined','\x20steps','red','12892943EAVZQP','skipSessionStatus','path','env','bgWhite','scenarios','join','dRcVS','\x20undefined','32909wDqEtk','errorMessage','../../helpers/performance/performance-tester','bold','stepsAmbiguous','RKgQt','testObservability','start','tmp','push','../../helpers/BrowserStackSetup','isUndefined','\x20scenarios','NtFwv','kwJWk','ogWPA','stepsPassed','length','CHCNb','log','****\x20RESULTS\x20****','stepsSkipped','../utils/constants','scenariosFailed','getUserWorkerCount','SPSDo','cyan','setUserConfigPath','isBrowserstackInfra','handleApp','\x20pending','pNAgX','getTCGConfigFilePaths','parseFormatters','FRAMEWORKS','mergeOutputFiles','processSuccess','\x20ambiguous','logLevel','config','38637520AiKBEB','steps'];a5_0x3f8e=function(){return _0xb45e9d;};return a5_0x3f8e();}(function(_0x33e761,_0x11008a){const _0x5a38ab=a5_0x13ae,_0x27fd3c=_0x33e761();while(!![]){try{const _0x14c296=-parseInt(_0x5a38ab(0x193))/0x1*(-parseInt(_0x5a38ab(0x168))/0x2)+-parseInt(_0x5a38ab(0x15e))/0x3+-parseInt(_0x5a38ab(0x161))/0x4+-parseInt(_0x5a38ab(0x1c4))/0x5+-parseInt(_0x5a38ab(0x1c5))/0x6+-parseInt(_0x5a38ab(0x18a))/0x7+parseInt(_0x5a38ab(0x1bb))/0x8;if(_0x14c296===_0x11008a)break;else _0x27fd3c['push'](_0x27fd3c['shift']());}catch(_0x5c9afb){_0x27fd3c['push'](_0x27fd3c['shift']());}}}(a5_0x3f8e,0xe34d1));const fs=require('fs'),path=require(a5_0x5eca13(0x18c)),util=require(a5_0x5eca13(0x1bd)),logger=require(a5_0x5eca13(0x17f))[a5_0x5eca13(0x1d1)],{default:BrowserStackSetup}=require(a5_0x5eca13(0x19d)),helper=require(a5_0x5eca13(0x164)),utilities=require(a5_0x5eca13(0x167)),constants=require(a5_0x5eca13(0x1a9)),{parallelCucumberRun}=require('../test-runner'),TestHubHandler=require(a5_0x5eca13(0x176)),testOpsHelper=require(a5_0x5eca13(0x15b)),chalk=require('chalk'),PerformanceTester=require(a5_0x5eca13(0x195)),PerformanceEvents=require(a5_0x5eca13(0x1d2))[a5_0x5eca13(0x1ce)];function printCucumberStats(_0x448cfb){const _0x266bad=a5_0x5eca13,_0x478fe2={};_0x478fe2[_0x266bad(0x166)]=function(_0x47430e,_0xde920f){return _0x47430e>_0xde920f;},_0x478fe2[_0x266bad(0x1b2)]=function(_0x51391a,_0x434d3c){return _0x51391a-_0x434d3c;},_0x478fe2[_0x266bad(0x1a1)]=function(_0x28bd72,_0x5a1cef){return _0x28bd72-_0x5a1cef;},_0x478fe2[_0x266bad(0x191)]=function(_0x56ff1e,_0x18e0d5){return _0x56ff1e>_0x18e0d5;},_0x478fe2[_0x266bad(0x173)]=function(_0x53d87a,_0x2e1c8d){return _0x53d87a>_0x2e1c8d;},_0x478fe2['fpmsr']=function(_0x332e61,_0x35143f){return _0x332e61>_0x35143f;},_0x478fe2[_0x266bad(0x15a)]=function(_0x1c8a49,_0x5dfc15){return _0x1c8a49>_0x5dfc15;},_0x478fe2[_0x266bad(0x184)]=function(_0x499bd0,_0x194bbc){return _0x499bd0>_0x194bbc;},_0x478fe2[_0x266bad(0x16b)]=function(_0x398366,_0x5cd51d){return _0x398366+_0x5cd51d;},_0x478fe2[_0x266bad(0x1a5)]=function(_0x874025,_0x408380){return _0x874025+_0x408380;},_0x478fe2[_0x266bad(0x183)]=function(_0x38ff80,_0x3ca29f){return _0x38ff80===_0x3ca29f;},_0x478fe2['OfNAl']=_0x266bad(0x1a7);const _0x4aae8a=_0x478fe2;let _0x5b0d80=0x0;if(_0x4aae8a[_0x266bad(0x183)](_0x448cfb[_0x266bad(0x1a4)],0x0))return _0x5b0d80;return console[_0x266bad(0x1a6)](chalk['bold'][_0x266bad(0x18e)](_0x4aae8a['OfNAl'])),_0x448cfb['forEach'](_0x383085=>{const _0x5076d6=_0x266bad,_0x4b7068=_0x383085[0x0],_0xebaa01=_0x383085[0x1];console[_0x5076d6(0x1a6)]('\x0a'+chalk['bold'][_0x5076d6(0x15c)](''+helper['getPlatformName'](_0x4b7068)));const _0x5be415=_0xebaa01[_0x5076d6(0x18f)],_0x56d723=_0xebaa01[_0x5076d6(0x1bc)],_0x48a11b=_0xebaa01[_0x5076d6(0x1aa)],_0x330699=_0xebaa01[_0x5076d6(0x175)],_0x53e535=_0xebaa01[_0x5076d6(0x1a3)],_0x13389e=_0xebaa01[_0x5076d6(0x1a8)],_0x138f5c=_0xebaa01['stepsPending'],_0x7b503d=_0xebaa01[_0x5076d6(0x187)],_0x19f629=_0xebaa01['stepsUnknown'],_0x2c83a2=_0xebaa01[_0x5076d6(0x197)],_0x560fa6=_0xebaa01[_0x5076d6(0x1b7)];let _0x5268ca=_0x5be415+_0x5076d6(0x19f);const _0x5087b2=_0x4aae8a[_0x5076d6(0x166)](_0x4aae8a[_0x5076d6(0x1b2)](_0x5be415,_0x48a11b),0x0)?_0x4aae8a[_0x5076d6(0x1a1)](_0x5be415,_0x48a11b):0x0;if(_0x4aae8a['dRcVS'](_0x48a11b,0x0)&&_0x4aae8a[_0x5076d6(0x173)](_0x5087b2,0x0))_0x5268ca+='\x20('+chalk['bold']['red'](_0x48a11b+_0x5076d6(0x165))+',\x20'+chalk[_0x5076d6(0x196)][_0x5076d6(0x1be)](_0x5087b2+_0x5076d6(0x171))+')';else(_0x4aae8a[_0x5076d6(0x1c7)](_0x48a11b,0x0)||_0x4aae8a[_0x5076d6(0x191)](_0x5087b2,0x0))&&(_0x5268ca+=_0x4aae8a[_0x5076d6(0x1c7)](_0x48a11b,0x0)?'\x20('+chalk[_0x5076d6(0x196)][_0x5076d6(0x189)](_0x48a11b+_0x5076d6(0x165))+')':'\x20('+chalk[_0x5076d6(0x196)][_0x5076d6(0x1be)](_0x5087b2+_0x5076d6(0x171))+')');const _0x37d37e=_0x56d723+_0x5076d6(0x188),_0x438307=[];_0x4aae8a[_0x5076d6(0x166)](_0x2c83a2,0x0)&&_0x438307[_0x5076d6(0x19c)](''+chalk[_0x5076d6(0x196)]['red'](_0x2c83a2+_0x5076d6(0x1b8)));_0x4aae8a[_0x5076d6(0x173)](_0x330699,0x0)&&_0x438307['push'](''+chalk[_0x5076d6(0x196)][_0x5076d6(0x189)](_0x330699+'\x20failed'));_0x4aae8a[_0x5076d6(0x173)](_0x53e535,0x0)&&_0x438307[_0x5076d6(0x19c)](''+chalk[_0x5076d6(0x196)][_0x5076d6(0x1be)](_0x53e535+_0x5076d6(0x171)));_0x4aae8a['RbpVS'](_0x138f5c,0x0)&&_0x438307['push'](''+chalk['bold'][_0x5076d6(0x15c)](_0x138f5c+_0x5076d6(0x1b1)));_0x4aae8a[_0x5076d6(0x191)](_0x13389e,0x0)&&_0x438307['push'](''+chalk['bold'][_0x5076d6(0x1ad)](_0x13389e+'\x20skipped'));_0x4aae8a[_0x5076d6(0x15a)](_0x7b503d,0x0)&&_0x438307[_0x5076d6(0x19c)](''+chalk['bold'][_0x5076d6(0x15c)](_0x7b503d+_0x5076d6(0x192)));_0x4aae8a[_0x5076d6(0x184)](_0x19f629,0x0)&&_0x438307['push'](''+chalk[_0x5076d6(0x196)][_0x5076d6(0x15c)](_0x19f629+_0x5076d6(0x178)));const _0x5b2e96=_0x4aae8a[_0x5076d6(0x16b)](_0x4aae8a[_0x5076d6(0x16b)](_0x4aae8a[_0x5076d6(0x16b)](_0x37d37e,'('),_0x438307['join'](',\x20')),')');console[_0x5076d6(0x1a6)](_0x4aae8a[_0x5076d6(0x16b)](_0x4aae8a[_0x5076d6(0x16b)](_0x4aae8a[_0x5076d6(0x1a5)](_0x4aae8a[_0x5076d6(0x1a5)]('\x0a',_0x5268ca),'\x0a'),_0x5b2e96),'\x0a')),_0x4aae8a['QKubW'](_0x560fa6,![])&&(_0x5b0d80=0x1);}),_0x5b0d80;}async function run(_0x38a613,_0x26e239,_0x55bc20){const _0x525458=a5_0x5eca13,_0x16cb1b={'SPSDo':function(_0x24e019,_0x50408e){return _0x24e019(_0x50408e);},'ogWPA':function(_0xc45a3b,_0x4a96bd){return _0xc45a3b>_0x4a96bd;},'uVtAd':_0x525458(0x1c6),'OLBUi':_0x525458(0x17d),'tRkyg':_0x525458(0x16f),'DrVWJ':_0x525458(0x172),'JjDHA':_0x525458(0x19b),'RKgQt':function(_0x3feadc,_0x551b86){return _0x3feadc-_0x551b86;},'iCscN':function(_0x435868,_0x1289d5){return _0x435868>=_0x1289d5;},'VuhtT':function(_0x4f328c,_0x4302a0){return _0x4f328c!=_0x4302a0;},'NtFwv':'true','DAzJm':function(_0x364489,_0x484d2b,_0x4740f0,_0x22c98f,_0x381579,_0x220639){return _0x364489(_0x484d2b,_0x4740f0,_0x22c98f,_0x381579,_0x220639);}};await _0x55bc20[_0x525458(0x15f)](_0x38a613),helper[_0x525458(0x1ae)](_0x55bc20[_0x525458(0x16c)],_0x38a613);!helper[_0x525458(0x1af)]()&&await _0x55bc20[_0x525458(0x177)]();await helper[_0x525458(0x1b0)](_0x55bc20[_0x525458(0x1ba)]);const _0x66b7ea=helper[_0x525458(0x163)](_0x55bc20[_0x525458(0x1ba)]);!helper[_0x525458(0x19e)](_0x55bc20[_0x525458(0x1ba)]['accessibilityOptions'])&&(process['env'][_0x525458(0x1c2)]=JSON['stringify'](_0x55bc20[_0x525458(0x1ba)][_0x525458(0x1c3)]));const _0x17060a=await TestHubHandler['launchBuild'](constants['FRAMEWORKS'][_0x525458(0x159)],_0x55bc20),_0x2cb836=helper[_0x525458(0x1cc)](_0x55bc20[_0x525458(0x1ba)],_0x66b7ea,constants[_0x525458(0x1b5)][_0x525458(0x159)]);if(!_0x55bc20[_0x525458(0x1ba)])return;const _0x3500fc=_0x55bc20[_0x525458(0x1ba)][_0x525458(0x1cd)]||helper[_0x525458(0x1ab)](_0x38a613,_0x26e239,_0x55bc20[_0x525458(0x1ba)],constants[_0x525458(0x1b5)]['CUCUMBER'])||0x1,_0x5e064d={'server':helper[_0x525458(0x1c8)](_0x55bc20['config']),'proxySettings':_0x55bc20[_0x525458(0x1ba)]['proxySettings'],'maxWorkers':_0x3500fc,'browserStackLogLevel':_0x55bc20[_0x525458(0x1ba)][_0x525458(0x1b9)],'skipSessionName':_0x55bc20['config'][_0x525458(0x16a)]['skipSessionName'],'skipSessionStatus':_0x55bc20['config'][_0x525458(0x16a)][_0x525458(0x18b)],'turboScaleUrl':_0x55bc20[_0x525458(0x1ba)][_0x525458(0x17b)]},_0x57eb81=process[_0x525458(0x182)],[_0x19e108,_0x533aa5]=helper[_0x525458(0x1b4)](_0x57eb81),_0x579952=path[_0x525458(0x190)](process[_0x525458(0x185)](),_0x16cb1b['JjDHA']);if(_0x16cb1b[_0x525458(0x1a2)](_0x533aa5['length'],0x0)){helper[_0x525458(0x179)](_0x579952);for(let _0x4a34d8=_0x16cb1b[_0x525458(0x198)](_0x19e108['length'],0x1);_0x16cb1b[_0x525458(0x162)](_0x4a34d8,0x0);_0x4a34d8--){_0x57eb81['splice'](_0x19e108[_0x4a34d8],0x2);}}_0x16cb1b['VuhtT'](_0x55bc20['config'][_0x525458(0x199)],null)?process['env'][_0x525458(0x1bf)]=_0x55bc20[_0x525458(0x1ba)][_0x525458(0x199)]:process[_0x525458(0x18d)][_0x525458(0x1bf)]=_0x16cb1b[_0x525458(0x1a0)];PerformanceTester['end'](PerformanceEvents[_0x525458(0x17c)]);let _0x5413b1;_0x16cb1b[_0x525458(0x1c0)](parallelCucumberRun,_0x2cb836,_0x5e064d,_0x55bc20[_0x525458(0x1ba)],_0x57eb81,_0x533aa5)[_0x525458(0x169)](async _0xcdc44d=>{const _0x2ec678=_0x525458;PerformanceTester['start'](PerformanceEvents[_0x2ec678(0x16d)]),_0x5413b1=_0xcdc44d;const _0x3abf3a=_0x16cb1b[_0x2ec678(0x1ac)](printCucumberStats,_0xcdc44d);process[_0x2ec678(0x1cf)]=_0x3abf3a,_0x16cb1b[_0x2ec678(0x1a2)](_0x533aa5[_0x2ec678(0x1a4)],0x0)&&(logger['debug'](_0x16cb1b[_0x2ec678(0x186)]),helper[_0x2ec678(0x1b6)](_0x579952,_0x533aa5),logger[_0x2ec678(0x17a)](_0x16cb1b[_0x2ec678(0x174)]),helper[_0x2ec678(0x160)](_0x579952));})[_0x525458(0x180)](async()=>{const _0x2c86a0=_0x525458;PerformanceTester[_0x2c86a0(0x19a)](PerformanceEvents[_0x2c86a0(0x16d)]),_0x55bc20[_0x2c86a0(0x194)]=helper[_0x2c86a0(0x181)](_0x5413b1,_0x16cb1b[_0x2c86a0(0x1c1)]),testOpsHelper[_0x2c86a0(0x17e)]();try{await TestHubHandler[_0x2c86a0(0x16e)]();}catch(_0x2293e2){logger['debug'](_0x2c86a0(0x1d0)+util[_0x2c86a0(0x170)](_0x2293e2));}try{const {browserstackFolderPath:_0x7ef1a7,tcgConfigPath:_0x43f631}=helper[_0x2c86a0(0x1b3)]();fs[_0x2c86a0(0x1c9)](_0x43f631),fs[_0x2c86a0(0x15d)](_0x7ef1a7);}catch(_0x48f28a){logger['debug'](_0x16cb1b['DrVWJ'],_0x48f28a);}await utilities[_0x2c86a0(0x1cb)](_0x55bc20);});}module[a5_0x5eca13(0x1ca)]=run;
|
|
2
|
+
'use strict';const a5_0x448adf=a5_0x119b;(function(_0x35c2fd,_0x1eb86){const _0x198ccf=a5_0x119b,_0x2bae72=_0x35c2fd();while(!![]){try{const _0x4361c9=parseInt(_0x198ccf(0x186))/0x1*(-parseInt(_0x198ccf(0x1cb))/0x2)+parseInt(_0x198ccf(0x1c2))/0x3+-parseInt(_0x198ccf(0x1c0))/0x4*(-parseInt(_0x198ccf(0x1cd))/0x5)+parseInt(_0x198ccf(0x1c9))/0x6+parseInt(_0x198ccf(0x199))/0x7+-parseInt(_0x198ccf(0x1a9))/0x8+parseInt(_0x198ccf(0x1c5))/0x9*(-parseInt(_0x198ccf(0x193))/0xa);if(_0x4361c9===_0x1eb86)break;else _0x2bae72['push'](_0x2bae72['shift']());}catch(_0x491010){_0x2bae72['push'](_0x2bae72['shift']());}}}(a5_0x1d36,0xbbeb1));function a5_0x1d36(){const _0x29baff=['****\x20RESULTS\x20****','617139mnpNir','mZVCJ','lxrTY','1013499wAruFN','testObservability','vsAag','error\x20removing\x20tcg\x20config\x20file','89310RjTusP','start','1686ivjAgW','testContextOptions','420tjLeyP','\x20steps','errorMessage','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','bupCy','\x20skipped','cpznR','eYJkv','utwUx','kasBI','splice','SDK_SETUP','accessibilityOptions','mCmfN','cyan','length','PlxTh','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','debug','exports','env','mrSQv','argv','FRAMEWORKS','gYdNH','then','isBrowserstackInfra','bold','parallelsPerPlatform','stepsFailed','setupTCGAuth','uNATL','log','mUDam','setUserConfigPath','useW3C','OOITK','prepareCapabilities','../../helpers/utilities','\x20failed','\x20undefined','proxySettings','stringify','initialize','../test-runner','\x20ambiguous','590GancbQ','turboScaleUrl','printBuildLink','GfbBe','KZBUC','tVcBS','stepsUndefined','cucumber','nEzyY','CUCUMBER','scenarios','Generating\x20consolidated\x20report...','stepsSkipped','10kCexvm','end','DqnEr','join','bGsbx','qVCEi','6383496Umkuza','mergeOutputFiles','qyxJu','unlinkSync','../../helpers/testhub/testhubHandler','red','push','chalk','parseFormatters','createDir','rmdirSync','finalExecution','yellow','scenariosFailed','BROWSERSTACK_TEST_OBSERVABILITY_YML','format','8892928HeZRMJ','Removing\x20tmp\x20directory\x20created\x20for\x20reports','config','getHubUrl','../../helpers/helper','\x20passed','handleApp','green','../../helpers/logger','exitCode','../../helpers/performance/constants','SDK_CLEANUP','getUserWorkerCount','\x20scenarios','getErrorMessageFromResults','finally','ruPac','winstonLogger','rznkp','processSuccess','steps','logLevel','EVENTS','64704cLbjLC'];a5_0x1d36=function(){return _0x29baff;};return a5_0x1d36();}const fs=require('fs'),path=require('path'),util=require('util'),logger=require(a5_0x448adf(0x1b1))[a5_0x448adf(0x1ba)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a5_0x448adf(0x1ad)),utilities=require(a5_0x448adf(0x17e)),constants=require('../utils/constants'),{parallelCucumberRun}=require(a5_0x448adf(0x184)),TestHubHandler=require(a5_0x448adf(0x19d)),testOpsHelper=require('../../helpers/test-observability/utils'),chalk=require(a5_0x448adf(0x1a0)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a5_0x448adf(0x1b3))[a5_0x448adf(0x1bf)];function a5_0x119b(_0x6548eb,_0x1350e9){const _0x1d360e=a5_0x1d36();return a5_0x119b=function(_0x119bff,_0x622859){_0x119bff=_0x119bff-0x177;let _0x2b018e=_0x1d360e[_0x119bff];return _0x2b018e;},a5_0x119b(_0x6548eb,_0x1350e9);}function printCucumberStats(_0x5ba9a8){const _0x4328cf=a5_0x448adf,_0x21f349={};_0x21f349[_0x4328cf(0x1e5)]=function(_0x58fc35,_0x4dd283){return _0x58fc35>_0x4dd283;},_0x21f349[_0x4328cf(0x1b9)]=function(_0x28d3c3,_0x1b8ac5){return _0x28d3c3-_0x1b8ac5;},_0x21f349[_0x4328cf(0x1e2)]=function(_0x4fb28c,_0x55a046){return _0x4fb28c-_0x55a046;},_0x21f349[_0x4328cf(0x195)]=function(_0x511ca6,_0x42d832){return _0x511ca6>_0x42d832;},_0x21f349[_0x4328cf(0x1d4)]=function(_0x4e9a21,_0x177dc4){return _0x4e9a21>_0x177dc4;},_0x21f349[_0x4328cf(0x1d5)]=function(_0x29c7d1,_0x43a62f){return _0x29c7d1>_0x43a62f;},_0x21f349['KZBUC']=function(_0x13e507,_0x22aa32){return _0x13e507>_0x22aa32;},_0x21f349[_0x4328cf(0x179)]=function(_0x389686,_0x29bda9){return _0x389686>_0x29bda9;},_0x21f349[_0x4328cf(0x1dd)]=function(_0x287c2a,_0x28a2f9){return _0x287c2a>_0x28a2f9;},_0x21f349['tVcBS']=function(_0x4c39ce,_0x29b0e6){return _0x4c39ce+_0x29b0e6;},_0x21f349[_0x4328cf(0x1bb)]=function(_0x2d8a1a,_0x14df4e){return _0x2d8a1a+_0x14df4e;},_0x21f349[_0x4328cf(0x19b)]=function(_0x1e4b82,_0x1882b3){return _0x1e4b82+_0x1882b3;},_0x21f349[_0x4328cf(0x1d6)]=function(_0xef2ba3,_0x217afe){return _0xef2ba3+_0x217afe;},_0x21f349['GfbBe']=function(_0x43c1f8,_0x4b8511){return _0x43c1f8+_0x4b8511;},_0x21f349[_0x4328cf(0x1da)]=function(_0x486558,_0x2f43e1){return _0x486558===_0x2f43e1;},_0x21f349[_0x4328cf(0x1c7)]=function(_0x2b9ec7,_0x175841){return _0x2b9ec7===_0x175841;},_0x21f349['uNATL']=_0x4328cf(0x1c1);const _0x3db101=_0x21f349;let _0x44b961=0x0;if(_0x3db101[_0x4328cf(0x1c7)](_0x5ba9a8['length'],0x0))return _0x44b961;return console[_0x4328cf(0x178)](chalk['bold']['bgWhite'](_0x3db101[_0x4328cf(0x177)])),_0x5ba9a8['forEach'](_0x4a4bfa=>{const _0x300f94=_0x4328cf,_0x537dda=_0x4a4bfa[0x0],_0x51537b=_0x4a4bfa[0x1];console[_0x300f94(0x178)]('\x0a'+chalk['bold']['yellow'](''+helper['getPlatformName'](_0x537dda)));const _0x1de8fb=_0x51537b[_0x300f94(0x190)],_0x9d9948=_0x51537b[_0x300f94(0x1bd)],_0x16375f=_0x51537b[_0x300f94(0x1a6)],_0x205728=_0x51537b[_0x300f94(0x1ea)],_0x18cb0f=_0x51537b['stepsPassed'],_0x42201f=_0x51537b[_0x300f94(0x192)],_0x5e2285=_0x51537b['stepsPending'],_0x13837a=_0x51537b[_0x300f94(0x18c)],_0xb742c2=_0x51537b['stepsUnknown'],_0x4e20e6=_0x51537b['stepsAmbiguous'],_0x47b955=_0x51537b[_0x300f94(0x1bc)];let _0x4b5ef1=_0x1de8fb+_0x300f94(0x1b6);const _0x6a845c=_0x3db101[_0x300f94(0x1e5)](_0x3db101[_0x300f94(0x1b9)](_0x1de8fb,_0x16375f),0x0)?_0x3db101[_0x300f94(0x1e2)](_0x1de8fb,_0x16375f):0x0;if(_0x3db101['gYdNH'](_0x16375f,0x0)&&_0x3db101[_0x300f94(0x195)](_0x6a845c,0x0))_0x4b5ef1+='\x20('+chalk['bold'][_0x300f94(0x19e)](_0x16375f+_0x300f94(0x17f))+',\x20'+chalk['bold'][_0x300f94(0x1b0)](_0x6a845c+_0x300f94(0x1ae))+')';else(_0x3db101[_0x300f94(0x195)](_0x16375f,0x0)||_0x3db101[_0x300f94(0x1e5)](_0x6a845c,0x0))&&(_0x4b5ef1+=_0x3db101[_0x300f94(0x1d4)](_0x16375f,0x0)?'\x20('+chalk[_0x300f94(0x1e8)][_0x300f94(0x19e)](_0x16375f+_0x300f94(0x17f))+')':'\x20('+chalk[_0x300f94(0x1e8)][_0x300f94(0x1b0)](_0x6a845c+_0x300f94(0x1ae))+')');const _0x5279c2=_0x9d9948+_0x300f94(0x1ce),_0x47920e=[];_0x3db101[_0x300f94(0x1e5)](_0x4e20e6,0x0)&&_0x47920e[_0x300f94(0x19f)](''+chalk[_0x300f94(0x1e8)][_0x300f94(0x19e)](_0x4e20e6+_0x300f94(0x185)));_0x3db101['utwUx'](_0x205728,0x0)&&_0x47920e['push'](''+chalk[_0x300f94(0x1e8)][_0x300f94(0x19e)](_0x205728+_0x300f94(0x17f)));_0x3db101[_0x300f94(0x1d5)](_0x18cb0f,0x0)&&_0x47920e['push'](''+chalk['bold'][_0x300f94(0x1b0)](_0x18cb0f+_0x300f94(0x1ae)));_0x3db101[_0x300f94(0x18a)](_0x5e2285,0x0)&&_0x47920e[_0x300f94(0x19f)](''+chalk[_0x300f94(0x1e8)][_0x300f94(0x1a5)](_0x5e2285+'\x20pending'));_0x3db101[_0x300f94(0x179)](_0x42201f,0x0)&&_0x47920e[_0x300f94(0x19f)](''+chalk['bold'][_0x300f94(0x1db)](_0x42201f+_0x300f94(0x1d2)));_0x3db101['DqnEr'](_0x13837a,0x0)&&_0x47920e[_0x300f94(0x19f)](''+chalk[_0x300f94(0x1e8)]['yellow'](_0x13837a+_0x300f94(0x180)));_0x3db101['PlxTh'](_0xb742c2,0x0)&&_0x47920e[_0x300f94(0x19f)](''+chalk['bold']['yellow'](_0xb742c2+'\x20skipped'));const _0x5bcc56=_0x3db101[_0x300f94(0x18b)](_0x3db101['rznkp'](_0x3db101[_0x300f94(0x19b)](_0x5279c2,'('),_0x47920e[_0x300f94(0x196)](',\x20')),')');console[_0x300f94(0x178)](_0x3db101[_0x300f94(0x1d6)](_0x3db101['tVcBS'](_0x3db101[_0x300f94(0x189)](_0x3db101[_0x300f94(0x18b)]('\x0a',_0x4b5ef1),'\x0a'),_0x5bcc56),'\x0a')),_0x3db101[_0x300f94(0x1da)](_0x47b955,![])&&(_0x44b961=0x1);}),_0x44b961;}async function run(_0xfc728c,_0x1d1af8,_0x3121cd){const _0x470a7b=a5_0x448adf,_0x46f9b9={'bupCy':function(_0x5776e9,_0x3d2754){return _0x5776e9(_0x3d2754);},'cpznR':function(_0x1e61e9,_0x2d65d3){return _0x1e61e9>_0x2d65d3;},'vZCnY':_0x470a7b(0x191),'bGsbx':_0x470a7b(0x1aa),'mZVCJ':_0x470a7b(0x18d),'vbWwA':_0x470a7b(0x1c8),'CRClK':'tmp','OOITK':function(_0x2c6144,_0x46a47f){return _0x2c6144>_0x46a47f;},'fgIHl':function(_0x1ff404,_0x221075){return _0x1ff404-_0x221075;},'lxrTY':function(_0x13379a,_0x547f0b){return _0x13379a>=_0x547f0b;},'nEzyY':function(_0x362e22,_0x3bb0a6){return _0x362e22!=_0x3bb0a6;},'gBhls':'true','qVCEi':function(_0x12c0ed,_0x152fda,_0x4f7733,_0x326c68,_0x273be8,_0xec64d9){return _0x12c0ed(_0x152fda,_0x4f7733,_0x326c68,_0x273be8,_0xec64d9);}};await _0x3121cd[_0x470a7b(0x183)](_0xfc728c),helper[_0x470a7b(0x17a)](_0x3121cd['framework'],_0xfc728c);!helper[_0x470a7b(0x1e7)]()&&await _0x3121cd[_0x470a7b(0x1eb)]();await helper[_0x470a7b(0x1af)](_0x3121cd[_0x470a7b(0x1ab)]);const _0x3ec157=helper[_0x470a7b(0x17b)](_0x3121cd['config']);!helper['isUndefined'](_0x3121cd[_0x470a7b(0x1ab)][_0x470a7b(0x1d9)])&&(process['env'][_0x470a7b(0x1d0)]=JSON[_0x470a7b(0x182)](_0x3121cd[_0x470a7b(0x1ab)][_0x470a7b(0x1d9)]));const _0x296579=await TestHubHandler['launchBuild'](constants['FRAMEWORKS']['CUCUMBER'],_0x3121cd),_0x1a2e84=helper[_0x470a7b(0x17d)](_0x3121cd[_0x470a7b(0x1ab)],_0x3ec157,constants[_0x470a7b(0x1e4)][_0x470a7b(0x18f)]);if(!_0x3121cd[_0x470a7b(0x1ab)])return;const _0x6fa639=_0x3121cd['config'][_0x470a7b(0x1e9)]||helper[_0x470a7b(0x1b5)](_0xfc728c,_0x1d1af8,_0x3121cd['config'],constants[_0x470a7b(0x1e4)][_0x470a7b(0x18f)])||0x1,_0x572c72={'server':helper[_0x470a7b(0x1ac)](_0x3121cd[_0x470a7b(0x1ab)]),'proxySettings':_0x3121cd[_0x470a7b(0x1ab)][_0x470a7b(0x181)],'maxWorkers':_0x6fa639,'browserStackLogLevel':_0x3121cd[_0x470a7b(0x1ab)][_0x470a7b(0x1be)],'skipSessionName':_0x3121cd[_0x470a7b(0x1ab)]['testContextOptions']['skipSessionName'],'skipSessionStatus':_0x3121cd[_0x470a7b(0x1ab)][_0x470a7b(0x1cc)]['skipSessionStatus'],'turboScaleUrl':_0x3121cd['config'][_0x470a7b(0x187)]},_0x2c0c51=process[_0x470a7b(0x1e3)],[_0x582b77,_0x2cc565]=helper[_0x470a7b(0x1a1)](_0x2c0c51),_0x400a8c=path[_0x470a7b(0x196)](process['cwd'](),_0x46f9b9['CRClK']);if(_0x46f9b9[_0x470a7b(0x17c)](_0x2cc565[_0x470a7b(0x1dc)],0x0)){helper[_0x470a7b(0x1a2)](_0x400a8c);for(let _0x268bbc=_0x46f9b9['fgIHl'](_0x582b77['length'],0x1);_0x46f9b9[_0x470a7b(0x1c4)](_0x268bbc,0x0);_0x268bbc--){_0x2c0c51[_0x470a7b(0x1d7)](_0x582b77[_0x268bbc],0x2);}}_0x46f9b9[_0x470a7b(0x18e)](_0x3121cd[_0x470a7b(0x1ab)][_0x470a7b(0x1c6)],null)?process[_0x470a7b(0x1e1)][_0x470a7b(0x1a7)]=_0x3121cd['config'][_0x470a7b(0x1c6)]:process['env'][_0x470a7b(0x1a7)]=_0x46f9b9['gBhls'];PerformanceTester[_0x470a7b(0x194)](PerformanceEvents[_0x470a7b(0x1d8)]);let _0x2938a1;_0x46f9b9[_0x470a7b(0x198)](parallelCucumberRun,_0x1a2e84,_0x572c72,_0x3121cd['config'],_0x2c0c51,_0x2cc565)[_0x470a7b(0x1e6)](async _0x2d3158=>{const _0x174492=_0x470a7b;PerformanceTester[_0x174492(0x1ca)](PerformanceEvents[_0x174492(0x1b4)]),_0x2938a1=_0x2d3158;const _0x34494e=_0x46f9b9[_0x174492(0x1d1)](printCucumberStats,_0x2d3158);process[_0x174492(0x1b2)]=_0x34494e,_0x46f9b9[_0x174492(0x1d3)](_0x2cc565['length'],0x0)&&(logger[_0x174492(0x1df)](_0x46f9b9['vZCnY']),helper[_0x174492(0x19a)](_0x400a8c,_0x2cc565),logger[_0x174492(0x1df)](_0x46f9b9[_0x174492(0x197)]),helper['removeDir'](_0x400a8c));})[_0x470a7b(0x1b8)](async()=>{const _0x1e24d1=_0x470a7b;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']),_0x3121cd[_0x1e24d1(0x1cf)]=helper[_0x1e24d1(0x1b7)](_0x2938a1,_0x46f9b9[_0x1e24d1(0x1c3)]),testOpsHelper[_0x1e24d1(0x188)]();try{await TestHubHandler['stop']();}catch(_0x4bb6ba){logger[_0x1e24d1(0x1df)](_0x1e24d1(0x1de)+util[_0x1e24d1(0x1a8)](_0x4bb6ba));}try{const {browserstackFolderPath:_0x407be1,tcgConfigPath:_0x55d6cd}=helper['getTCGConfigFilePaths']();fs[_0x1e24d1(0x19c)](_0x55d6cd),fs[_0x1e24d1(0x1a3)](_0x407be1);}catch(_0x392a91){logger[_0x1e24d1(0x1df)](_0x46f9b9['vbWwA'],_0x392a91);}await utilities[_0x1e24d1(0x1a4)](_0x3121cd);});}module[a5_0x448adf(0x1e0)]=run;
|