browserstack-node-sdk 1.52.1 → 1.52.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +2 -3
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a1_0x27c022=a1_0xaf8a;(function(_0x411ee6,_0x43e62a){const _0x2dffb0=a1_0xaf8a,_0x309aa3=_0x411ee6();while(!![]){try{const _0xcaa0a1=parseInt(_0x2dffb0(0xcc))/0x1*(parseInt(_0x2dffb0(0x153))/0x2)+parseInt(_0x2dffb0(0xe4))/0x3*(parseInt(_0x2dffb0(0x8b))/0x4)+-parseInt(_0x2dffb0(0x13a))/0x5+parseInt(_0x2dffb0(0xa9))/0x6*(parseInt(_0x2dffb0(0x6f))/0x7)+parseInt(_0x2dffb0(0x95))/0x8+parseInt(_0x2dffb0(0x84))/0x9+-parseInt(_0x2dffb0(0xec))/0xa;if(_0xcaa0a1===_0x43e62a)break;else _0x309aa3['push'](_0x309aa3['shift']());}catch(_0x476994){_0x309aa3['push'](_0x309aa3['shift']());}}}(a1_0x49ed,0x8df41));const fs=require('fs'),util=require(a1_0x27c022(0x127)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x27c022(0x10d)),logger=require(a1_0x27c022(0xb6))[a1_0x27c022(0xe9)],testOpsHelper=require(a1_0x27c022(0x13f)),requestSpy=require('../../helpers/request-spy'),PlaywrightSessionDetails=require(a1_0x27c022(0x15f)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x27c022(0x131)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x27c022(0x115)),AccessibilityHelper=require(a1_0x27c022(0x77)),scripts=require(a1_0x27c022(0x86)),PerformanceTester=require(a1_0x27c022(0xa7)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require('../../helpers/performance/constants'),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x27c022(0x150)),testHubConstants=require('../../helpers/testhub/constants.js'),globals=require(a1_0x27c022(0xc4)),CodeceptJS=requireModule('codeceptjs/lib/index.js','codeceptjs'),CodeceptUtils=requireModule(a1_0x27c022(0x13e),a1_0x27c022(0x114)),CodeceptWebDriver=requireModule(a1_0x27c022(0xb3),a1_0x27c022(0x114)),CodeceptRecorder=requireModule('codeceptjs/lib/recorder.js',a1_0x27c022(0x114)),CodeceptPlaywright=requireModule(a1_0x27c022(0xfc),a1_0x27c022(0x114)),playwrightMarkSessionStatus=(_0x208097,_0x16d0e5,_0x49f15f)=>{const _0x581365=a1_0x27c022,_0x27d317={'edRSy':_0x581365(0x72),'tOrAv':function(_0x25ac8e,_0x153106){return _0x25ac8e(_0x153106);}},_0x1e6e73={};_0x1e6e73[_0x581365(0xfe)]=_0x16d0e5;const _0xc8cd39={};_0xc8cd39[_0x581365(0x158)]=_0x27d317['edRSy'],_0xc8cd39['arguments']=_0x1e6e73;const _0x356d5c=_0xc8cd39;return!_0x27d317[_0x581365(0x13d)](isUndefined,_0x49f15f)&&(_0x356d5c[_0x581365(0xf2)]['reason']=JSON[_0x581365(0x104)](_0x49f15f)),_0x208097[_0x581365(0x92)](()=>{},'browserstack_executor:\x20'+JSON[_0x581365(0x104)](_0x356d5c));},o11ySync=PerformanceTester[a1_0x27c022(0xba)](PerformanceO11yEvents['SYNC'],async _0x1ae832=>{const _0x2b9bdd=a1_0x27c022,_0x4b9b18={};_0x4b9b18[_0x2b9bdd(0x12e)]=function(_0x35a18c,_0x2c806a){return _0x35a18c===_0x2c806a;},_0x4b9b18['nfCic']='Playwright';const _0x331be5=_0x4b9b18;_0x331be5['IJWAi'](_0x1ae832[_0x2b9bdd(0x9e)][_0x2b9bdd(0xd9)],_0x331be5['nfCic'])?await _0x1ae832[_0x2b9bdd(0x92)](_0xab51af=>{},testOpsHelper[_0x2b9bdd(0x160)]()):await _0x1ae832[_0x2b9bdd(0x92)](testOpsHelper[_0x2b9bdd(0x160)]());}),markSessionName=PerformanceTester['measureWrapper'](PerformanceAutEvents[a1_0x27c022(0xbd)],async(_0x48259a,_0x3dac64)=>{const _0x3c1a31=a1_0x27c022,_0x62f253={};_0x62f253['oUdNc']=_0x3c1a31(0xe7),_0x62f253[_0x3c1a31(0x8e)]=function(_0x2d6335,_0x2a6e8b){return _0x2d6335===_0x2a6e8b;},_0x62f253[_0x3c1a31(0x123)]=_0x3c1a31(0xc5);const _0x3fc51a=_0x62f253,_0x1a08cc={};_0x1a08cc[_0x3c1a31(0xd9)]=_0x3dac64;const _0x1a8796={};_0x1a8796[_0x3c1a31(0x158)]=_0x3fc51a[_0x3c1a31(0x14e)],_0x1a8796[_0x3c1a31(0xf2)]=_0x1a08cc;const _0x519e39=_0x1a8796;_0x3fc51a[_0x3c1a31(0x8e)](_0x48259a[_0x3c1a31(0x9e)][_0x3c1a31(0xd9)],_0x3fc51a[_0x3c1a31(0x123)])?await _0x48259a[_0x3c1a31(0x92)](()=>{},_0x3c1a31(0xad)+JSON[_0x3c1a31(0x104)](_0x519e39)):await _0x48259a['executeScript']('browserstack_executor:\x20'+JSON[_0x3c1a31(0x104)](_0x519e39));}),patchSaveScreenshot=_0x3a92e8=>{const _0x376545=a1_0x27c022,_0x1485d7={'SocuU':_0x376545(0xdc),'FuwJK':'TEST_SCREENSHOT','MRsXu':function(_0x51346e){return _0x51346e();},'Omuhv':function(_0x2f37c8,_0x17b940){return _0x2f37c8(_0x17b940);},'RxVOQ':_0x376545(0x89)};_0x1485d7['Omuhv'](isTrue,process['env']['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x3a92e8['patchSaveScreenshot']&&(_0x3a92e8[_0x376545(0x113)]=!![],_0x3a92e8[_0x376545(0xd4)]=_0x3a92e8[_0x376545(0x143)],_0x3a92e8['saveScreenshot']=(_0x1f71d8,_0x21c998=![])=>{return new Promise(function(_0x18238e,_0x33acb5){const _0x1b7a2f=a1_0xaf8a,_0x206fe0={'DSPfJ':_0x1485d7['SocuU'],'bOxTs':_0x1485d7['FuwJK'],'rwpOY':function(_0x41849a){return _0x1485d7['MRsXu'](_0x41849a);},'sIRjc':function(_0x37b925,_0x3d2e35){return _0x1485d7['Omuhv'](_0x37b925,_0x3d2e35);},'GLaWT':_0x1485d7[_0x1b7a2f(0xc1)]};_0x3a92e8[_0x1b7a2f(0xd4)](_0x1f71d8,_0x21c998)[_0x1b7a2f(0x14b)](()=>{const _0x3a52d1=_0x1b7a2f,_0x15b3ea=CodeceptUtils[_0x3a52d1(0x168)](_0x1f71d8);if(_0x15b3ea){const _0x25e3af=fs[_0x3a52d1(0xd5)](_0x15b3ea);process[_0x3a52d1(0xf5)](_0x3a52d1(0x12d)+process[_0x3a52d1(0x128)],{'timestamp':new Date()['toISOString'](),'message':_0x25e3af[_0x3a52d1(0xd7)](_0x206fe0[_0x3a52d1(0x12a)]),'kind':_0x206fe0[_0x3a52d1(0x99)]}),_0x206fe0[_0x3a52d1(0x163)](_0x18238e);}_0x206fe0['sIRjc'](_0x33acb5,new Error(_0x206fe0[_0x3a52d1(0x169)]));})[_0x1b7a2f(0x12f)](()=>null);});});},patchWebDriverBefore=_0x6ab675=>{const _0xacdad6=a1_0x27c022,_0x5e7617={'HHDeo':function(_0x10e3f2){return _0x10e3f2();},'IqEEk':function(_0xb97ead,_0x56aab5){return _0xb97ead(_0x56aab5);},'uYXTZ':function(_0x1b2a2f,_0x3607ac){return _0x1b2a2f===_0x3607ac;},'EMMcA':_0xacdad6(0x71),'PjFgV':function(_0x27887a,_0x106609){return _0x27887a===_0x106609;},'QSbrB':_0xacdad6(0x13c),'SQdmU':_0xacdad6(0x101),'hUiRW':function(_0x998839,_0x121131){return _0x998839(_0x121131);}},_0x4d0b27=async function(_0x43759d,_0x35fd97){const _0x349fe7=_0xacdad6;_0x5e7617[_0x349fe7(0xdd)](isAccessibilityAutomationSession)&&!global[_0x349fe7(0x15c)]&&global[_0x349fe7(0x141)]&&scripts[_0x349fe7(0xb1)](_0x43759d['name'])&&_0x5e7617[_0x349fe7(0x8f)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x349fe7(0x15c)]=!![],await PerformanceTester[_0x349fe7(0xba)](PerformanceA11yEvents[_0x349fe7(0x137)],async()=>{const _0x4b8f2e=_0x349fe7;logger['debug'](_0x4b8f2e(0x122)+_0x43759d[_0x4b8f2e(0x11e)]+'\x20'+_0x43759d[_0x4b8f2e(0xd9)]),await AccessibilityHelper[_0x4b8f2e(0x118)](_0x6ab675,scripts[_0x4b8f2e(0x157)]);},{'command':_0x43759d['name']})());global[_0x349fe7(0x15c)]=![];const _0x37870e=JSON[_0x349fe7(0xd2)](process['env'][_0x349fe7(0xbe)]||'{}');if(_0x5e7617['uYXTZ'](_0x37870e?.[_0x349fe7(0x9f)]?.[_0x349fe7(0xd9)],_0x5e7617[_0x349fe7(0x151)])&&_0x5e7617[_0x349fe7(0xda)](typeof _0x37870e?.['testFramework']?.[_0x349fe7(0x11c)],_0x5e7617['QSbrB'])&&_0x37870e?.[_0x349fe7(0x9f)]?.['version'][_0x349fe7(0xa1)]('7'))return _0x35fd97[_0x349fe7(0xb9)](null,Array['prototype']['slice']['call'](arguments,0x2));return _0x35fd97[_0x349fe7(0xb9)](this,Array[_0x349fe7(0xc6)][_0x349fe7(0xa5)][_0x349fe7(0xfb)](arguments,0x2));},_0x3456f4=CodeceptWebDriver[_0xacdad6(0xc6)][_0xacdad6(0x90)];CodeceptWebDriver[_0xacdad6(0xc6)][_0xacdad6(0x90)]=async function(){const _0x45b871=_0xacdad6;try{await _0x3456f4['apply'](this,arguments);}catch(_0x21e437){logger['debug'](_0x45b871(0xa8)+util[_0x45b871(0xc8)](_0x21e437));}scripts[_0x45b871(0xed)][_0x45b871(0x7f)](_0x52edba=>_0x52edba[_0x45b871(0xd9)]&&_0x52edba[_0x45b871(0x11e)])[_0x45b871(0xac)](_0x30a55c=>{const _0x5f40b2=_0x45b871;this[_0x5f40b2(0xeb)][_0x5f40b2(0x98)](_0x30a55c['name'],_0x4d0b27[_0x5f40b2(0x12c)](this,_0x30a55c),_0x5e7617[_0x5f40b2(0xda)](_0x30a55c[_0x5f40b2(0x11e)],_0x5e7617[_0x5f40b2(0x94)]));}),_0x5e7617[_0x45b871(0x11a)](processWebDriverConfig,_0x6ab675);};};function parseJwt(_0x588e29){const _0x573a0e=a1_0x27c022,_0x23482d={};_0x23482d['qguGc']=_0x573a0e(0xdc);const _0x392e8a=_0x23482d;if(!_0x588e29)return null;return JSON['parse'](Buffer[_0x573a0e(0xdf)](_0x588e29[_0x573a0e(0x161)]('.')[0x1],_0x392e8a[_0x573a0e(0x7b)])['toString']());}function a1_0x49ed(){const _0x1eb030=['Screenshot\x20path\x20not\x20found','qQLTF','12weNVyc','test-skipped','__skipSessionStatus','QfhmX','IqEEk','_before','HUGxJ','executeScript','GdfKq','SQdmU','1177704AmfKjR','jmzXo','patch','overwriteCommand','bOxTs','SDK_PRE_TEST','debug','captureEvent','stop','constructor','testFramework','ujIuG','startsWith','stack','ZAwgh','SDK_HOOK','slice','dkbsE','../../helpers/performance/performance-tester','Failed\x20to\x20execute\x20_before:\x20','12xGOpYI','end','afterTest','forEach','browserstack_executor:\x20','ENV_VAR','kcWsm','test-failed','shouldWrapCommand','started','codeceptjs/lib/helper/WebDriver.js','dzPHr','getAccessibilityResultsSummary','../../helpers/logger','bddStep-before','before','apply','measureWrapper','helpers','push','SESSION_NAME','FRAMEWORK_DETAILS','SDK_POST_INITIALIZE','browserContext','RxVOQ','pages','TEST_RUN_FINISHED','../../helpers/globals.js','Playwright','prototype','url','format','INFO','JIPaU','args','3385PbRKDz','WebDriver','sTqSN','fYHTs','dispatcher','title','parse','bTMno','initSaveScreenshot','readFileSync','YnsDz','toString','SDK_TEST','name','PjFgV','testAnalyticsId','base64','HHDeo','UvOij','from','ZyHmJ','piEPW','vPovF','__workerDetails','394065kQGQZi','slFsw','test','setSessionName','BS_A11Y_JWT','winstonLogger','TGbSz','browser','1946100xDXgeR','commandsToWrap','hook-passed','CiIzO','faoqN','hook','arguments','message','vrClN','emit','Puppeteer','SDK_POST_TEST','toISOString','RsGaU','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','call','codeceptjs/lib/helper/Playwright.js','container','status','devtools://','AhrjE','Element','enabled','fkfDB','stringify','bddStep-after','WpZyI','tRSVk','vOwIw','stHPx','HOOK_RUN_STARTED','startMonitoring','TEST_RUN_STARTED','../../helpers/helper','BROWSERSTACK_TESTHUB_UUID','domForge','BROWSERSTACK_TESTHUB_JWT','thJwtToken','warn','patchSaveScreenshot','codeceptjs','../../helpers/accessibility-automation/helper','thTestRunUuid','isArray','browserStackExecuteDriver','rxYsj','hUiRW','exports','version','fireEvent','class','add','kOLXc','DIvvn','Performing\x20scan\x20for\x20','jPenN','hookType','passed','SDK_PRE_INITIALIZE','util','pid','thBuildUuid','DSPfJ','after','bind','bs:addLog:','IJWAi','catch','event','./o11yHelper','--auto-open-devtools-for-tabs','env','RuuGY','restore','a11y_core_config','PERFORM_SCAN','failed','qobzw','3922135hhFioS','VNHjg','string','tOrAv','codeceptjs/lib/utils.js','../../helpers/test-observability/utils','HOOK_RUN_FINISHED','accessibilityPlatform','QcfqI','saveScreenshot','addRequestSpy','skipSessionStatus','ZRQpl','step','captureError','chromium','includes','then','bddStepFinish','command','oUdNc','test-passed','./helper.js','EMMcA','saveTestResults','522CslEau','pjOkY','hook-started','XMmZz','performScan','action','ctx','comment','test-after','bstackAllyScanning','getResults','contexts','../../bin/playwright/sessionDetails','getSyncScript','split','test-started','rwpOY','qHQZU','nzaZq','test-before','DErCX','screenshotOutputFolder','GLaWT','SSCex','skipSessionName','37709toMmye','setGlobal','webdriverio','setSessionStatus','titlePath','getAccessibilityResults','SESSION_STATUS','TEST_RUN_SKIPPED','../../bin/playwright/accessibility-helper','find','start','bddStep','qguGc','SCrFF','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','GET_RESULTS','filter','all','HDRxT','TEST_LOG','GMsnz','1124469Xwhbve','GET_RESULTS_SUMMARY','../../helpers/accessibility-automation/scripts','config','stopMonitoring'];a1_0x49ed=function(){return _0x1eb030;};return a1_0x49ed();}const patchPlaywrightBefore=()=>{const _0x430ef9=a1_0x27c022,_0x4e219c={'SCrFF':function(_0x1e8f9e){return _0x1e8f9e();},'BdYKt':_0x430ef9(0xff),'GMsnz':_0x430ef9(0x132),'tRSVk':function(_0x1738e7,_0xa9142d){return _0x1738e7(_0xa9142d);},'kOLXc':function(_0x58790c,_0x39ccf2){return _0x58790c+_0x39ccf2;},'pbdTz':'\x0aStack:\x20','vOwIw':function(_0x1c907c){return _0x1c907c();}};PlaywrightSessionDetails[_0x430ef9(0x97)]();const _0x3ab83e=CodeceptPlaywright['prototype'][_0x430ef9(0x90)];CodeceptPlaywright[_0x430ef9(0xc6)]['_before']=async function(){const _0x19146c=_0x430ef9,_0x56877e={'bESxl':function(_0xd26b68){const _0x9142c4=a1_0xaf8a;return _0x4e219c[_0x9142c4(0x7c)](_0xd26b68);},'DIvvn':_0x4e219c['BdYKt'],'bTMno':_0x4e219c[_0x19146c(0x83)],'WpZyI':function(_0x26871b){return _0x4e219c['SCrFF'](_0x26871b);},'CpHGd':function(_0x486e07,_0x4d9a4a){const _0x1e96e5=_0x19146c;return _0x4e219c[_0x1e96e5(0x107)](_0x486e07,_0x4d9a4a);},'RsGaU':function(_0x44f95c,_0xa0c840){const _0x2b13b6=_0x19146c;return _0x4e219c[_0x2b13b6(0x120)](_0x44f95c,_0xa0c840);},'vrClN':_0x4e219c['pbdTz']};this['browserContext']=await this[_0x19146c(0xeb)][_0x19146c(0x15e)]()[0x0];const _0x14d1f7=async()=>{const _0x5ad95b=_0x19146c,_0x51ec18={'SSCex':function(_0x25ceb4){return _0x56877e['bESxl'](_0x25ceb4);},'vPovF':_0x56877e[_0x5ad95b(0x121)]},_0xd33306=this[_0x5ad95b(0x87)]&&this[_0x5ad95b(0x87)][_0x5ad95b(0x149)]&&this[_0x5ad95b(0x87)]['chromium'][_0x5ad95b(0xcb)]&&Array[_0x5ad95b(0x117)](this['config']['chromium'][_0x5ad95b(0xcb)])&&this['config'][_0x5ad95b(0x149)][_0x5ad95b(0xcb)][_0x5ad95b(0x14a)](_0x56877e[_0x5ad95b(0xd3)]);if(_0x56877e[_0x5ad95b(0x106)](isAccessibilityAutomationSession)&&!_0xd33306)try{const _0x45904b=_0x56877e['CpHGd'](parseJwt,process[_0x5ad95b(0x133)][_0x5ad95b(0xe8)]);if(_0x45904b&&_0x45904b[_0x5ad95b(0x136)]&&_0x45904b[_0x5ad95b(0x136)][_0x5ad95b(0x10f)]){const _0x383b9c=this[_0x5ad95b(0xc0)][_0x5ad95b(0xc2)][_0x5ad95b(0x12c)](this[_0x5ad95b(0xc0)]);this[_0x5ad95b(0xc0)][_0x5ad95b(0xc2)]=async function(){const _0x1ebf54=_0x5ad95b,_0x296667=await _0x51ec18[_0x1ebf54(0x16a)](_0x383b9c),_0x3c026b=[];for(const _0x48b93d of _0x296667){try{const _0x9a995e=await _0x48b93d[_0x1ebf54(0xc7)]();!_0x9a995e['startsWith'](_0x51ec18[_0x1ebf54(0xe2)])&&_0x3c026b[_0x1ebf54(0xbc)](_0x48b93d);}catch(_0xd9b622){_0x3c026b['push'](_0x48b93d);}}return _0x3c026b;};}if(!_0x56877e[_0x5ad95b(0x106)](isBrowserstackInfra)){const _0x435482=await this['page'][_0x5ad95b(0xc7)]();if(_0x435482[_0x5ad95b(0xa1)](_0x56877e[_0x5ad95b(0x121)])){const _0x128689=await this[_0x5ad95b(0xc0)][_0x5ad95b(0xc2)]();this['_setPage'](_0x128689[0x0]);}}}catch(_0xcaa58a){logger[_0x5ad95b(0x9b)]('Failed\x20to\x20patch\x20pages\x20method\x20in\x20browserContext\x20for\x20a11y\x20domForge:\x20'+_0xcaa58a[_0x5ad95b(0xf3)]+(_0xcaa58a[_0x5ad95b(0xa2)]?_0x56877e[_0x5ad95b(0xf9)](_0x56877e[_0x5ad95b(0xf4)],_0xcaa58a[_0x5ad95b(0xa2)]):''));}};_0x4e219c[_0x19146c(0x108)](isBrowserstackInfra)&&await _0x4e219c[_0x19146c(0x7c)](_0x14d1f7),await _0x3ab83e[_0x19146c(0xb9)](this,arguments),!_0x4e219c['vOwIw'](isBrowserstackInfra)&&await _0x4e219c[_0x19146c(0x7c)](_0x14d1f7);};},getCodeceptDriver=()=>{const _0x4ebf1e=a1_0x27c022,_0x55410f={};_0x55410f['ZRQpl']=_0x4ebf1e(0xcd),_0x55410f[_0x4ebf1e(0x100)]=_0x4ebf1e(0xc5),_0x55410f[_0x4ebf1e(0x164)]=_0x4ebf1e(0xf6),_0x55410f[_0x4ebf1e(0x93)]='TestCafe';const _0x5badce=_0x55410f,_0x116001=[_0x5badce[_0x4ebf1e(0x146)],_0x5badce[_0x4ebf1e(0x100)],_0x5badce[_0x4ebf1e(0x164)],_0x5badce[_0x4ebf1e(0x93)]],_0x2930e2=_0x116001[_0x4ebf1e(0x78)](_0x1cecd7=>!!CodeceptJS[_0x4ebf1e(0xfd)][_0x4ebf1e(0xbb)](_0x1cecd7));if(!_0x2930e2)return null;return CodeceptJS['container']['helpers'](_0x2930e2);};function a1_0xaf8a(_0xda626f,_0x57b603){const _0x49ed23=a1_0x49ed();return a1_0xaf8a=function(_0xaf8a57,_0x414785){_0xaf8a57=_0xaf8a57-0x6f;let _0x5910dd=_0x49ed23[_0xaf8a57];return _0x5910dd;},a1_0xaf8a(_0xda626f,_0x57b603);}module[a1_0x27c022(0x11b)]=function(_0x2d49a2){const _0x8a1096=a1_0x27c022,_0x3499da={'QcfqI':function(_0x19dd08){return _0x19dd08();},'fkfDB':function(_0x52400d,_0x4ea7d7){return _0x52400d(_0x4ea7d7);},'qQLTF':_0x8a1096(0xb5),'fYHTs':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','TGbSz':_0x8a1096(0x74),'kLDqd':_0x8a1096(0xfa),'RuuGY':_0x8a1096(0x155),'ujIuG':_0x8a1096(0xee),'XMmZz':'hook-failed','HUGxJ':'browserstackTestName','pjOkY':function(_0x1642b6){return _0x1642b6();},'ZyHmJ':_0x8a1096(0x166),'slFsw':function(_0x42b850,_0x3fdbd3,_0x532651){return _0x42b850(_0x3fdbd3,_0x532651);},'stHPx':_0x8a1096(0x162),'baafK':_0x8a1096(0x14f),'EoDVk':function(_0x5a19b8){return _0x5a19b8();},'kcWsm':function(_0x41e28a,_0x3e3a76,_0x1f98cf,_0x1c75ad){return _0x41e28a(_0x3e3a76,_0x1f98cf,_0x1c75ad);},'UvOij':function(_0x5e6006,_0x305bde){return _0x5e6006===_0x305bde;},'piEPW':'Suite','JIPaU':_0x8a1096(0xb0),'nzaZq':_0x8a1096(0x8c),'ZAwgh':_0x8a1096(0xab),'KtKrq':function(_0x33ea60,_0x18930c,_0x2ad468){return _0x33ea60(_0x18930c,_0x2ad468);},'VNHjg':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','sTqSN':_0x8a1096(0x15b),'aVPvr':_0x8a1096(0xc9),'HDRxT':_0x8a1096(0x82),'DErCX':'step-comment','faoqN':_0x8a1096(0xb7),'dkbsE':_0x8a1096(0x105),'jmzXo':function(_0x12b55f){return _0x12b55f();},'CiIzO':_0x8a1096(0xc5)};_0x2d49a2[_0x8a1096(0x145)]&&(global[_0x8a1096(0x8d)]=_0x2d49a2[_0x8a1096(0x145)]);PerformanceTester[_0x8a1096(0x10b)]();const _0x588b40=_0x3499da[_0x8a1096(0x96)](getCodeceptDriver),_0x5ee1d4=new O11yHelper(_0x588b40,_0x2d49a2),_0x3c7738=!!CodeceptJS[_0x8a1096(0xfd)][_0x8a1096(0xbb)](_0x3499da[_0x8a1096(0xef)]);global['__driver']=_0x588b40,_0x588b40&&(PerformanceTester[_0x8a1096(0xba)](PerformanceEvents[_0x8a1096(0x126)],()=>{const _0x31fca6=_0x8a1096;_0x3c7738?_0x3499da[_0x31fca6(0x142)](patchPlaywrightBefore):_0x3499da[_0x31fca6(0x103)](patchWebDriverBefore,_0x588b40);})(),PerformanceTester[_0x8a1096(0xba)](PerformanceEvents[_0x8a1096(0xbf)],()=>{const _0x24e074=_0x8a1096;_0x588b40[_0x24e074(0xb5)]=async()=>{const _0x2033ff=_0x24e074;if(global[_0x2033ff(0x141)]){const _0x1201ef={};return _0x1201ef[_0x2033ff(0x14d)]=_0x3499da[_0x2033ff(0x8a)],await PerformanceTester[_0x2033ff(0xba)](PerformanceA11yEvents[_0x2033ff(0x137)],async()=>{const _0x1ec3f9=_0x2033ff;return await AccessibilityHelper[_0x1ec3f9(0x118)](_0x588b40,scripts[_0x1ec3f9(0x157)]);},_0x1201ef)(),await PerformanceTester[_0x2033ff(0xba)](PerformanceA11yEvents[_0x2033ff(0x85)],async()=>{const _0x1fe265=_0x2033ff;return await AccessibilityHelper[_0x1fe265(0x118)](_0x588b40,scripts['getResultsSummary']);})();}return logger[_0x2033ff(0x112)](_0x3499da[_0x2033ff(0xcf)]),{};},_0x588b40['getAccessibilityResults']=async()=>{const _0x52778f=_0x24e074;if(global[_0x52778f(0x141)]){const _0x187de8={};return _0x187de8['command']=_0x3499da[_0x52778f(0xea)],await PerformanceTester[_0x52778f(0xba)](PerformanceA11yEvents[_0x52778f(0x137)],async()=>{const _0x1da19e=_0x52778f;return await AccessibilityHelper[_0x1da19e(0x118)](_0x588b40,scripts[_0x1da19e(0x157)]);},_0x187de8)(),await PerformanceTester[_0x52778f(0xba)](PerformanceA11yEvents[_0x52778f(0x7e)],async()=>{const _0x5af28e=_0x52778f;return await AccessibilityHelper[_0x5af28e(0x118)](_0x588b40,scripts[_0x5af28e(0x15d)]);})();}return logger['warn'](_0x3499da['kLDqd']),{};},_0x3499da[_0x24e074(0x103)](patchSaveScreenshot,_0x588b40);})()),CodeceptJS[_0x8a1096(0x130)][_0x8a1096(0xd0)]['on'](CodeceptJS[_0x8a1096(0x130)][_0x8a1096(0x80)][_0x8a1096(0xb8)],()=>{const _0x21d88f=_0x8a1096;PerformanceTester[_0x21d88f(0x79)](PerformanceEvents[_0x21d88f(0x9a)]);try{_0x5ee1d4[_0x21d88f(0x79)](),testOpsHelper[_0x21d88f(0x144)](),PerformanceTester[_0x21d88f(0xaa)](PerformanceEvents[_0x21d88f(0x9a)]);}catch(_0xdad495){PerformanceTester[_0x21d88f(0x148)](_0xdad495),PerformanceTester[_0x21d88f(0xaa)](PerformanceEvents[_0x21d88f(0x9a)],![],_0xdad495);}}),CodeceptJS[_0x8a1096(0x130)]['dispatcher']['on'](CodeceptJS[_0x8a1096(0x130)][_0x8a1096(0x80)][_0x8a1096(0x12b)],async()=>{const _0x75d203=_0x8a1096;PerformanceTester['start'](PerformanceEvents[_0x75d203(0xf7)]);try{requestSpy[_0x75d203(0x135)](),await _0x5ee1d4[_0x75d203(0x9d)](),PerformanceTester['end'](PerformanceEvents['SDK_POST_TEST']);}catch(_0x54cf9e){PerformanceTester['captureError'](_0x54cf9e),PerformanceTester['end'](PerformanceEvents[_0x75d203(0xf7)],![],_0x54cf9e);}finally{PerformanceTester[_0x75d203(0x88)]();}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x8a1096(0x130)][_0x8a1096(0xf1)][_0x8a1096(0xb2)],_0x4ebb02=>{const _0x1a56f9=_0x8a1096;PerformanceTester[_0x1a56f9(0x79)](PerformanceEvents[_0x1a56f9(0xa4)]);try{const _0x526bd8=_0x4ebb02[_0x1a56f9(0x159)][_0x1a56f9(0xe6)],_0x55e363=_0x5ee1d4[_0x1a56f9(0x9c)](TEST_EVENTS[_0x1a56f9(0x10a)],_0x526bd8);CodeceptRecorder['add'](()=>_0x5ee1d4[_0x1a56f9(0x11d)](TEST_EVENTS[_0x1a56f9(0x10a)],_0x55e363));const _0x2ee8d4={};_0x2ee8d4[_0x1a56f9(0x124)]=_0x3499da[_0x1a56f9(0x134)],PerformanceTester[_0x1a56f9(0xaa)](PerformanceEvents[_0x1a56f9(0xa4)],!![],null,_0x2ee8d4);}catch(_0x422996){const _0x41d7c3={};_0x41d7c3[_0x1a56f9(0x124)]=_0x3499da[_0x1a56f9(0x134)],PerformanceTester['end'](PerformanceEvents[_0x1a56f9(0xa4)],![],_0x422996,_0x41d7c3),PerformanceTester[_0x1a56f9(0x148)](_0x422996);}}),CodeceptJS[_0x8a1096(0x130)][_0x8a1096(0xd0)]['on'](CodeceptJS[_0x8a1096(0x130)]['hook']['passed'],_0xfc2c1a=>{const _0x4d101a=_0x8a1096,_0x498ec8={};_0x498ec8[_0x4d101a(0x124)]=_0x3499da['ujIuG'],PerformanceTester[_0x4d101a(0x79)](PerformanceHookEvents[_0x4d101a(0xa4)],!![],null,_0x498ec8);try{const _0x522871=_0xfc2c1a[_0x4d101a(0x159)]['test'],_0x2ee503=_0x5ee1d4[_0x4d101a(0x9c)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x522871);CodeceptRecorder[_0x4d101a(0x11f)](()=>_0x5ee1d4[_0x4d101a(0x11d)](TEST_EVENTS[_0x4d101a(0x140)],_0x2ee503));const _0x30418d={};_0x30418d[_0x4d101a(0x124)]=_0x3499da[_0x4d101a(0xa0)],PerformanceTester[_0x4d101a(0xaa)](PerformanceHookEvents[_0x4d101a(0xa4)],!![],null,_0x30418d);}catch(_0xda254){PerformanceTester['captureError'](_0xda254);const _0x4b3c12={};_0x4b3c12['hookType']=_0x3499da[_0x4d101a(0xa0)],PerformanceTester['end'](PerformanceHookEvents[_0x4d101a(0xa4)],![],_0xda254,_0x4b3c12);}}),CodeceptJS['event'][_0x8a1096(0xd0)]['on'](CodeceptJS[_0x8a1096(0x130)][_0x8a1096(0xf1)][_0x8a1096(0x138)],async(_0x2bd826,_0x2d5bed)=>{const _0x8546c=_0x8a1096;PerformanceTester[_0x8546c(0x79)](PerformanceHookEvents[_0x8546c(0xa4)]);try{const _0x59c56f=_0x2bd826[_0x8546c(0x159)][_0x8546c(0xe6)],_0x5b377d=_0x5ee1d4[_0x8546c(0x9c)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x59c56f,_0x2d5bed);CodeceptRecorder[_0x8546c(0x11f)](()=>_0x5ee1d4[_0x8546c(0x11d)](TEST_EVENTS[_0x8546c(0x140)],_0x5b377d));const _0x1c6d0b={};_0x1c6d0b[_0x8546c(0x124)]=_0x3499da[_0x8546c(0x156)],PerformanceTester[_0x8546c(0x79)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x1c6d0b);}catch(_0x46ea3a){PerformanceTester[_0x8546c(0x148)](_0x46ea3a);const _0x384639={};_0x384639[_0x8546c(0x124)]=_0x3499da[_0x8546c(0x156)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x46ea3a,_0x384639);}const _0x226356={};_0x226356[_0x8546c(0x124)]=_0x3499da[_0x8546c(0x156)],PerformanceTester['end'](PerformanceHookEvents[_0x8546c(0xa4)],!![],null,_0x226356);}),CodeceptJS[_0x8a1096(0x130)]['dispatcher']['on'](CodeceptJS[_0x8a1096(0x130)][_0x8a1096(0xe6)]['before'],_0x4da735=>{const _0x3c7563=_0x8a1096;PerformanceTester[_0x3c7563(0x79)](PerformanceHookEvents[_0x3c7563(0xa4)]);try{globals[_0x3c7563(0x70)](_0x3499da[_0x3c7563(0x91)],_0x4da735[_0x3c7563(0xd1)]);_0x3499da[_0x3c7563(0x154)](isBrowserstackInfra)&&(_0x3c7738&&(global[_0x3c7563(0xe3)]={'currentTest':{'name':_0x4da735[_0x3c7563(0xd1)],'testInfo':{'titlePath':_0x4da735[_0x3c7563(0x73)]()}}}));const _0x163058={};_0x163058[_0x3c7563(0x124)]=_0x3499da[_0x3c7563(0xe0)],PerformanceTester[_0x3c7563(0xaa)](PerformanceHookEvents[_0x3c7563(0xa4)],!![],null,_0x163058);}catch(_0x5e1bb8){PerformanceTester['captureError'](_0x5e1bb8);const _0xb10b39={};_0xb10b39['hookType']=_0x3499da[_0x3c7563(0xe0)],PerformanceTester[_0x3c7563(0xaa)](PerformanceHookEvents['SDK_HOOK'],![],_0x5e1bb8,_0xb10b39);}}),CodeceptJS[_0x8a1096(0x130)]['dispatcher']['on'](CodeceptJS['event'][_0x8a1096(0xe6)][_0x8a1096(0xb2)],_0x1fe867=>{const _0x123bbb=_0x8a1096,_0x2fe416={'qobzw':function(_0x39adfe){return _0x3499da['QcfqI'](_0x39adfe);},'YnsDz':function(_0x573d1e,_0x4aa890){const _0x2fa6a9=a1_0xaf8a;return _0x3499da[_0x2fa6a9(0x103)](_0x573d1e,_0x4aa890);},'dzPHr':function(_0x1a6066,_0xc2a370,_0x474549){const _0x56ea45=a1_0xaf8a;return _0x3499da[_0x56ea45(0xe5)](_0x1a6066,_0xc2a370,_0x474549);}};PerformanceTester['start'](PerformanceHookEvents[_0x123bbb(0xa4)]);try{globals[_0x123bbb(0x70)](_0x3499da[_0x123bbb(0x91)],_0x1fe867[_0x123bbb(0xd1)]);const _0x51e274=_0x5ee1d4[_0x123bbb(0x9c)](TEST_EVENTS['TEST_RUN_STARTED'],_0x1fe867);CodeceptRecorder['add'](()=>_0x5ee1d4[_0x123bbb(0x11d)](TEST_EVENTS[_0x123bbb(0x10c)],_0x51e274)),CodeceptRecorder[_0x123bbb(0x11f)](async()=>{const _0x146bac=_0x123bbb;_0x2fe416[_0x146bac(0x139)](isBrowserstackInfra)&&(!_0x2fe416[_0x146bac(0xd6)](isTrue,_0x2d49a2[_0x146bac(0x16b)])&&await _0x2fe416[_0x146bac(0xb4)](markSessionName,_0x588b40,_0x1fe867[_0x146bac(0xd1)]),_0x5ee1d4[_0x146bac(0x102)]&&await _0x2fe416[_0x146bac(0xd6)](o11ySync,_0x588b40));});}catch(_0x5182c5){const _0x1c61b2={};_0x1c61b2[_0x123bbb(0x124)]=_0x3499da[_0x123bbb(0x109)],PerformanceTester[_0x123bbb(0xaa)](PerformanceHookEvents[_0x123bbb(0xa4)],![],_0x5182c5,_0x1c61b2),PerformanceTester[_0x123bbb(0x148)](_0x5182c5);}const _0x286b10={};_0x286b10['hookType']=_0x3499da[_0x123bbb(0x109)],PerformanceTester[_0x123bbb(0xaa)](PerformanceHookEvents[_0x123bbb(0xa4)],!![],null,_0x286b10);}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS['event'][_0x8a1096(0xe6)][_0x8a1096(0x125)],_0x19c76c=>{const _0xfa9808=_0x8a1096,_0x34bf72={'rxYsj':function(_0xdb0b21,_0x7c5ffe,_0x42f2b8){const _0x4e8ce2=a1_0xaf8a;return _0x3499da[_0x4e8ce2(0xe5)](_0xdb0b21,_0x7c5ffe,_0x42f2b8);},'wcnwo':function(_0x3bbe32){return _0x3499da['pjOkY'](_0x3bbe32);}};PerformanceTester[_0xfa9808(0x79)](PerformanceHookEvents[_0xfa9808(0xa4)]);try{const _0x41da74=_0x5ee1d4[_0xfa9808(0x9c)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x19c76c);CodeceptRecorder[_0xfa9808(0x11f)](()=>_0x5ee1d4[_0xfa9808(0x11d)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x41da74)),CodeceptRecorder[_0xfa9808(0x11f)](async()=>{const _0x3b29cf=_0xfa9808,_0x2f24fb={'Dthua':function(_0x1e2da1,_0x3a8959,_0xfdd25e){const _0x3779e7=a1_0xaf8a;return _0x34bf72[_0x3779e7(0x119)](_0x1e2da1,_0x3a8959,_0xfdd25e);}};_0x34bf72['wcnwo'](isBrowserstackInfra)&&await PerformanceTester[_0x3b29cf(0xba)](PerformanceAutEvents[_0x3b29cf(0x75)],async()=>{_0x3c7738?await _0x2f24fb['Dthua'](playwrightMarkSessionStatus,_0x588b40,STATE_PASSED):await _0x2f24fb['Dthua'](markSessionStatus,_0x588b40,STATE_PASSED);})();}),PerformanceTester[_0xfa9808(0xaa)](PerformanceEvents['SDK_TEST']);}catch(_0x349643){PerformanceTester[_0xfa9808(0x148)](_0x349643);const _0x4112f0={};_0x4112f0['hookType']=_0x3499da['baafK'],PerformanceTester[_0xfa9808(0xaa)](PerformanceHookEvents[_0xfa9808(0xa4)],![],_0x349643,_0x4112f0),PerformanceTester[_0xfa9808(0xaa)](PerformanceEvents[_0xfa9808(0xd8)],![],_0x349643);}const _0x1dc942={};_0x1dc942['hookType']=_0x3499da['baafK'],PerformanceTester[_0xfa9808(0xaa)](PerformanceHookEvents[_0xfa9808(0xa4)],!![],null,_0x1dc942);}),CodeceptJS[_0x8a1096(0x130)]['dispatcher']['on'](CodeceptJS[_0x8a1096(0x130)][_0x8a1096(0xe6)]['failed'],(_0x2c80eb,_0x4447a5)=>{const _0x119afd=_0x8a1096;PerformanceTester[_0x119afd(0x79)](PerformanceHookEvents['SDK_HOOK']);try{if(_0x3499da[_0x119afd(0xde)](_0x2c80eb[_0x119afd(0x9e)][_0x119afd(0xd9)],_0x3499da[_0x119afd(0xe1)])){const _0x4a910d=_0x5ee1d4[_0x119afd(0x9c)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x2c80eb[_0x119afd(0x159)]['currentTest']);CodeceptRecorder['add'](()=>_0x5ee1d4[_0x119afd(0x11d)](TEST_EVENTS[_0x119afd(0x76)],_0x4a910d));}else{const _0x25e329=_0x5ee1d4[_0x119afd(0x9c)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x2c80eb,_0x4447a5);CodeceptRecorder['add'](()=>{const _0x24f334=_0x119afd;try{_0x5ee1d4['fireEvent'](TEST_EVENTS[_0x24f334(0xc3)],_0x25e329);}catch(_0xc3857a){logger['debug']('Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20'+util['format'](_0xc3857a)),PerformanceTester[_0x24f334(0xaa)](PerformanceEvents[_0x24f334(0xd8)],![],_0xc3857a);}}),CodeceptRecorder[_0x119afd(0x11f)](async()=>{const _0x42c947=_0x119afd;try{_0x3499da['EoDVk'](isBrowserstackInfra)&&(_0x3c7738?await _0x3499da[_0x42c947(0xaf)](playwrightMarkSessionStatus,_0x588b40,STATE_FAILED,_0x4447a5):await _0x3499da[_0x42c947(0xaf)](markSessionStatus,_0x588b40,STATE_FAILED,_0x4447a5));}catch(_0x3e355c){logger['debug']('Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20'+util[_0x42c947(0xc8)](_0x3e355c)),PerformanceTester['end'](PerformanceEvents[_0x42c947(0xd8)],![],_0x3e355c);}});}PerformanceTester['end'](PerformanceEvents[_0x119afd(0xd8)]);}catch(_0x470740){PerformanceTester[_0x119afd(0x148)](_0x470740);const _0x306c33={};_0x306c33[_0x119afd(0x124)]=_0x3499da['JIPaU'],PerformanceTester[_0x119afd(0xaa)](PerformanceHookEvents['SDK_HOOK'],![],_0x470740,_0x306c33),PerformanceTester['end'](PerformanceEvents['SDK_TEST'],![],_0x470740);}const _0x5e3592={};_0x5e3592['hookType']=_0x3499da[_0x119afd(0xca)],PerformanceTester[_0x119afd(0xaa)](PerformanceHookEvents[_0x119afd(0xa4)],!![],null,_0x5e3592);}),CodeceptJS[_0x8a1096(0x130)][_0x8a1096(0xd0)]['on'](CodeceptJS[_0x8a1096(0x130)][_0x8a1096(0xe6)]['skipped'],_0x2a9d71=>{const _0x3fd750=_0x8a1096;PerformanceTester[_0x3fd750(0x79)](PerformanceHookEvents[_0x3fd750(0xa4)]);try{const _0x4ee361=_0x5ee1d4['captureEvent'](TEST_EVENTS[_0x3fd750(0x76)],_0x2a9d71);CodeceptRecorder[_0x3fd750(0x11f)](()=>_0x5ee1d4[_0x3fd750(0x11d)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x4ee361)),PerformanceTester[_0x3fd750(0xaa)](PerformanceEvents[_0x3fd750(0xd8)]);}catch(_0x44ddbf){PerformanceTester[_0x3fd750(0x148)](_0x44ddbf),PerformanceTester[_0x3fd750(0xaa)](PerformanceEvents['SDK_TEST'],![],_0x44ddbf);const _0x59c3ee={};_0x59c3ee[_0x3fd750(0x124)]=_0x3499da[_0x3fd750(0x165)],PerformanceTester[_0x3fd750(0xaa)](PerformanceHookEvents['SDK_HOOK'],![],_0x44ddbf,_0x59c3ee);}const _0x1a2bd3={};_0x1a2bd3[_0x3fd750(0x124)]=_0x3499da[_0x3fd750(0x165)],PerformanceTester[_0x3fd750(0xaa)](PerformanceHookEvents[_0x3fd750(0xa4)],!![],null,_0x1a2bd3);}),CodeceptJS[_0x8a1096(0x130)][_0x8a1096(0xd0)]['on'](CodeceptJS[_0x8a1096(0x130)][_0x8a1096(0xe6)]['after'],async(_0x2ea550,_0x1e4d2a)=>{const _0x554e52=_0x8a1096,_0x3cbc6d={};_0x3cbc6d['UjNWU']=_0x3499da[_0x554e52(0xa3)];const _0x3fdd61=_0x3cbc6d;try{PerformanceTester[_0x554e52(0x79)](PerformanceHookEvents[_0x554e52(0xa4)]);const _0x3ab2f5=_0x3499da['KtKrq'](shouldScanTestForAccessibility,_0x2ea550['titlePath'](),!![]);if(_0x3499da['QcfqI'](isAccessibilityAutomationSession)&&global[_0x554e52(0x141)]&&_0x3ab2f5){const _0x107a48={};_0x107a48[_0x554e52(0x116)]=_0x2ea550[_0x554e52(0xdb)],_0x107a48[_0x554e52(0x129)]=process['env'][testHubConstants[_0x554e52(0xae)][_0x554e52(0x10e)]],_0x107a48[_0x554e52(0x111)]=process[_0x554e52(0x133)][testHubConstants[_0x554e52(0xae)][_0x554e52(0x110)]];const _0x2a613a=_0x107a48;logger[_0x554e52(0x9b)](_0x554e52(0x7d)+JSON['stringify'](_0x2a613a)),CodeceptRecorder[_0x554e52(0x11f)](async()=>{const _0x26c877=_0x554e52,_0x4fa166={};_0x4fa166['command']=_0x3fdd61['UjNWU'],await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x52475f=a1_0xaf8a;await AccessibilityHelper[_0x52475f(0x118)](_0x588b40,scripts[_0x52475f(0x157)]);},_0x4fa166)(),await PerformanceTester[_0x26c877(0xba)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x1c0052=_0x26c877;await AccessibilityHelper['browserStackExecuteDriver'](_0x588b40,scripts[_0x1c0052(0x152)],_0x2a613a);})();}),logger['info'](_0x3499da[_0x554e52(0x13b)]);}const _0x2e5211={};_0x2e5211[_0x554e52(0x124)]=_0x3499da[_0x554e52(0xce)],PerformanceTester['end'](PerformanceHookEvents[_0x554e52(0xa4)],!![],null,_0x2e5211);}catch(_0x2e2e1a){PerformanceTester['captureError'](_0x2e2e1a);const _0x450f92={};_0x450f92[_0x554e52(0x124)]=_0x3499da[_0x554e52(0xce)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x2e2e1a,_0x450f92);}}),CodeceptJS['event'][_0x8a1096(0xd0)]['on'](CodeceptJS[_0x8a1096(0x130)][_0x8a1096(0x147)][_0x8a1096(0x15a)],_0x1b502c=>{const _0x3b0d44=_0x8a1096;PerformanceTester[_0x3b0d44(0x79)](PerformanceHookEvents[_0x3b0d44(0xa4)]);try{process[_0x3b0d44(0xf5)](_0x3b0d44(0x12d)+process[_0x3b0d44(0x128)],{'timestamp':new Date()[_0x3b0d44(0xf8)](),'level':_0x3499da['aVPvr'],'message':_0x1b502c,'kind':_0x3499da[_0x3b0d44(0x81)],'http_response':{}});}catch(_0x267809){PerformanceTester['captureError'](_0x267809);const _0x4858ee={};_0x4858ee[_0x3b0d44(0x124)]=_0x3499da[_0x3b0d44(0x167)],PerformanceTester[_0x3b0d44(0xaa)](PerformanceHookEvents[_0x3b0d44(0xa4)],![],_0x267809,_0x4858ee);}const _0x5436c8={};_0x5436c8['hookType']=_0x3499da[_0x3b0d44(0x167)],PerformanceTester['end'](PerformanceHookEvents[_0x3b0d44(0xa4)],!![],null,_0x5436c8);}),CodeceptJS['event'][_0x8a1096(0xd0)]['on'](CodeceptJS[_0x8a1096(0x130)][_0x8a1096(0x7a)]['before'],_0x38caca=>{const _0x4b27fc=_0x8a1096,_0x32adaf={};_0x32adaf[_0x4b27fc(0x124)]=_0x3499da[_0x4b27fc(0xf0)],PerformanceTester['measureWrapper'](PerformanceHookEvents[_0x4b27fc(0xa4)],()=>{_0x5ee1d4['bddStepStart'](_0x38caca);},_0x32adaf)();}),CodeceptJS[_0x8a1096(0x130)][_0x8a1096(0xd0)]['on'](CodeceptJS['event']['bddStep'][_0x8a1096(0x12b)],_0x534b5c=>{const _0x3fd61c=_0x8a1096,_0x1cea1f={};_0x1cea1f[_0x3fd61c(0x124)]=_0x3499da[_0x3fd61c(0xa6)],PerformanceTester['measureWrapper'](PerformanceHookEvents[_0x3fd61c(0xa4)],()=>{const _0x313fb3=_0x3fd61c;_0x5ee1d4[_0x313fb3(0x14c)](_0x534b5c);},_0x1cea1f)();});};
|
|
1
|
+
const a1_0x2964bb=a1_0x1a67;(function(_0x4d6acc,_0x597749){const _0xa02367=a1_0x1a67,_0x386ff3=_0x4d6acc();while(!![]){try{const _0x1ec242=parseInt(_0xa02367(0x141))/0x1+parseInt(_0xa02367(0xbe))/0x2*(parseInt(_0xa02367(0x163))/0x3)+-parseInt(_0xa02367(0x99))/0x4*(-parseInt(_0xa02367(0x127))/0x5)+-parseInt(_0xa02367(0xed))/0x6+-parseInt(_0xa02367(0x7a))/0x7*(parseInt(_0xa02367(0xd7))/0x8)+-parseInt(_0xa02367(0xbd))/0x9*(-parseInt(_0xa02367(0xd8))/0xa)+-parseInt(_0xa02367(0x91))/0xb;if(_0x1ec242===_0x597749)break;else _0x386ff3['push'](_0x386ff3['shift']());}catch(_0x13b583){_0x386ff3['push'](_0x386ff3['shift']());}}}(a1_0x3156,0x40cb9));function a1_0x1a67(_0x36f270,_0x43efea){const _0x315620=a1_0x3156();return a1_0x1a67=function(_0x1a67ea,_0x13d1ab){_0x1a67ea=_0x1a67ea-0x69;let _0xa4892d=_0x315620[_0x1a67ea];return _0xa4892d;},a1_0x1a67(_0x36f270,_0x43efea);}const fs=require('fs'),util=require(a1_0x2964bb(0x158)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x2964bb(0xda)),logger=require(a1_0x2964bb(0xd2))[a1_0x2964bb(0x14e)],testOpsHelper=require(a1_0x2964bb(0xc1)),requestSpy=require('../../helpers/request-spy'),PlaywrightSessionDetails=require(a1_0x2964bb(0x90)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x2964bb(0xc0)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x2964bb(0xfb)),AccessibilityHelper=require(a1_0x2964bb(0x15c)),scripts=require(a1_0x2964bb(0x81)),PerformanceTester=require(a1_0x2964bb(0x145)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require('../../helpers/performance/constants'),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x2964bb(0x101)),testHubConstants=require(a1_0x2964bb(0xf4)),globals=require(a1_0x2964bb(0xb3)),CodeceptJS=requireModule(a1_0x2964bb(0x6d),a1_0x2964bb(0x8b)),CodeceptUtils=requireModule(a1_0x2964bb(0x82),'codeceptjs'),CodeceptWebDriver=requireModule('codeceptjs/lib/helper/WebDriver.js',a1_0x2964bb(0x8b)),CodeceptRecorder=requireModule(a1_0x2964bb(0x153),a1_0x2964bb(0x8b)),CodeceptPlaywright=requireModule(a1_0x2964bb(0xf0),'codeceptjs'),playwrightMarkSessionStatus=(_0x2d493b,_0x44d064,_0x15b33c)=>{const _0x45cea1=a1_0x2964bb,_0x45779c={'JLGQi':'setSessionStatus','MBkZx':function(_0x1b1234,_0x1ea4c5){return _0x1b1234(_0x1ea4c5);}},_0x4c80ef={};_0x4c80ef[_0x45cea1(0xdd)]=_0x44d064;const _0x4e7766={};_0x4e7766[_0x45cea1(0x14f)]=_0x45779c['JLGQi'],_0x4e7766['arguments']=_0x4c80ef;const _0x55c1b9=_0x4e7766;return!_0x45779c[_0x45cea1(0x10a)](isUndefined,_0x15b33c)&&(_0x55c1b9[_0x45cea1(0x11b)][_0x45cea1(0xf2)]=JSON[_0x45cea1(0xf9)](_0x15b33c)),_0x2d493b[_0x45cea1(0x118)](()=>{},_0x45cea1(0x13d)+JSON[_0x45cea1(0xf9)](_0x55c1b9));},o11ySync=PerformanceTester[a1_0x2964bb(0x142)](PerformanceO11yEvents[a1_0x2964bb(0xba)],async _0x8b1b1e=>{const _0x35b39e=a1_0x2964bb,_0x2f1c7d={};_0x2f1c7d[_0x35b39e(0xce)]=function(_0x36bf14,_0x3629f6){return _0x36bf14===_0x3629f6;},_0x2f1c7d['bMdGd']='Playwright';const _0x39581f=_0x2f1c7d;_0x39581f[_0x35b39e(0xce)](_0x8b1b1e['constructor'][_0x35b39e(0x87)],_0x39581f[_0x35b39e(0xb4)])?await _0x8b1b1e['executeScript'](_0x355bda=>{},testOpsHelper[_0x35b39e(0xa7)]()):await _0x8b1b1e[_0x35b39e(0x118)](testOpsHelper[_0x35b39e(0xa7)]());}),markSessionName=PerformanceTester[a1_0x2964bb(0x142)](PerformanceAutEvents['SESSION_NAME'],async(_0x4e91e2,_0xd0cc61)=>{const _0x3d566b=a1_0x2964bb,_0x57fa05={};_0x57fa05[_0x3d566b(0xe5)]=_0x3d566b(0x120),_0x57fa05['NMLSw']=function(_0x573efb,_0x2a02a4){return _0x573efb===_0x2a02a4;},_0x57fa05[_0x3d566b(0xb6)]=_0x3d566b(0xf6);const _0x490a80=_0x57fa05,_0x5458d2={};_0x5458d2[_0x3d566b(0x87)]=_0xd0cc61;const _0x31abd6={};_0x31abd6[_0x3d566b(0x14f)]=_0x490a80['WOzmJ'],_0x31abd6['arguments']=_0x5458d2;const _0x52c99c=_0x31abd6;_0x490a80[_0x3d566b(0xe9)](_0x4e91e2[_0x3d566b(0xcc)]['name'],_0x490a80['UeyAv'])?await _0x4e91e2[_0x3d566b(0x118)](()=>{},_0x3d566b(0x13d)+JSON['stringify'](_0x52c99c)):await _0x4e91e2['executeScript']('browserstack_executor:\x20'+JSON[_0x3d566b(0xf9)](_0x52c99c));}),patchSaveScreenshot=_0x4b3bb2=>{const _0x71aefe=a1_0x2964bb,_0x2a0e0b={'SIVFr':'base64','RyGJU':'TEST_SCREENSHOT','CnFZB':function(_0x3c1f28){return _0x3c1f28();},'GGUYa':function(_0x364f00,_0xf1b29f){return _0x364f00(_0xf1b29f);},'OcgSc':_0x71aefe(0x77),'kKAuX':function(_0x403e81,_0x2e8959){return _0x403e81(_0x2e8959);}};_0x2a0e0b[_0x71aefe(0x121)](isTrue,process[_0x71aefe(0x83)][_0x71aefe(0xd9)])&&!_0x4b3bb2[_0x71aefe(0x146)]&&(_0x4b3bb2[_0x71aefe(0x146)]=!![],_0x4b3bb2[_0x71aefe(0xfd)]=_0x4b3bb2[_0x71aefe(0x100)],_0x4b3bb2[_0x71aefe(0x100)]=(_0xe36883,_0x4c543d=![])=>{const _0x3bf051=_0x71aefe,_0x162274={'gIGbx':_0x2a0e0b[_0x3bf051(0xd0)],'lcyqK':_0x2a0e0b[_0x3bf051(0x167)],'WmvRK':function(_0x506b7a){const _0x57af23=_0x3bf051;return _0x2a0e0b[_0x57af23(0x9a)](_0x506b7a);},'uNycV':function(_0x62964f,_0x563b2e){return _0x2a0e0b['GGUYa'](_0x62964f,_0x563b2e);},'KTOjx':_0x2a0e0b[_0x3bf051(0x94)]};return new Promise(function(_0x3d7e68,_0x5a1d18){_0x4b3bb2['initSaveScreenshot'](_0xe36883,_0x4c543d)['then'](()=>{const _0x3fd327=a1_0x1a67,_0xe1ef2e=CodeceptUtils['screenshotOutputFolder'](_0xe36883);if(_0xe1ef2e){const _0x341ccb=fs['readFileSync'](_0xe1ef2e);process['emit']('bs:addLog:'+process[_0x3fd327(0xa5)],{'timestamp':new Date()[_0x3fd327(0x112)](),'message':_0x341ccb[_0x3fd327(0xc4)](_0x162274[_0x3fd327(0x130)]),'kind':_0x162274[_0x3fd327(0x93)]}),_0x162274['WmvRK'](_0x3d7e68);}_0x162274[_0x3fd327(0x109)](_0x5a1d18,new Error(_0x162274[_0x3fd327(0x11a)]));})['catch'](()=>null);});});},patchWebDriverBefore=_0x451441=>{const _0x4c468b=a1_0x2964bb,_0xf543e0={'gncwo':function(_0x43880d){return _0x43880d();},'pDxSO':function(_0x4dd6c9,_0x38154d){return _0x4dd6c9(_0x38154d);},'EAZpp':function(_0x5b1874,_0x2e4be7){return _0x5b1874===_0x2e4be7;},'zNxYQ':_0x4c468b(0x117),'xgoAp':_0x4c468b(0x140),'LzpiF':_0x4c468b(0xad),'MAOkM':function(_0x2f76c0,_0xb5a123){return _0x2f76c0(_0xb5a123);}},_0x51a914=async function(_0x4af602,_0xad40cf){const _0x10b7c2=_0x4c468b;_0xf543e0[_0x10b7c2(0xdf)](isAccessibilityAutomationSession)&&!global[_0x10b7c2(0x144)]&&global[_0x10b7c2(0xf8)]&&scripts[_0x10b7c2(0x156)](_0x4af602['name'])&&_0xf543e0['pDxSO'](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x10b7c2(0x144)]=!![],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x10b7c2(0x139)],async()=>{const _0x2fd437=_0x10b7c2;logger[_0x2fd437(0x69)](_0x2fd437(0x10f)+_0x4af602['class']+'\x20'+_0x4af602['name']),await AccessibilityHelper[_0x2fd437(0x149)](_0x451441,scripts[_0x2fd437(0xaa)]);},{'command':_0x4af602[_0x10b7c2(0x87)]})());global[_0x10b7c2(0x144)]=![];const _0x580ed7=JSON[_0x10b7c2(0x161)](process[_0x10b7c2(0x83)][_0x10b7c2(0x12e)]||'{}');if(_0xf543e0['EAZpp'](_0x580ed7?.[_0x10b7c2(0x14d)]?.[_0x10b7c2(0x87)],_0xf543e0['zNxYQ'])&&_0xf543e0['EAZpp'](typeof _0x580ed7?.['testFramework']?.['version'],_0xf543e0['xgoAp'])&&_0x580ed7?.[_0x10b7c2(0x14d)]?.[_0x10b7c2(0xe2)]['startsWith']('7'))return _0xad40cf['apply'](null,Array['prototype'][_0x10b7c2(0x154)][_0x10b7c2(0x110)](arguments,0x2));return _0xad40cf[_0x10b7c2(0xf1)](this,Array[_0x10b7c2(0x15e)]['slice'][_0x10b7c2(0x110)](arguments,0x2));},_0x2cc2b8=CodeceptWebDriver['prototype'][_0x4c468b(0xc2)];CodeceptWebDriver['prototype']['_before']=async function(){const _0x1385b7=_0x4c468b,_0x55f196={'hXbeq':function(_0x455874,_0x5e712f){const _0x33d769=a1_0x1a67;return _0xf543e0[_0x33d769(0xde)](_0x455874,_0x5e712f);},'nFfnh':_0xf543e0[_0x1385b7(0x6a)]};try{await _0x2cc2b8[_0x1385b7(0xf1)](this,arguments);}catch(_0x51aa95){logger[_0x1385b7(0x69)](_0x1385b7(0xe6)+util[_0x1385b7(0x72)](_0x51aa95));}scripts[_0x1385b7(0xd4)][_0x1385b7(0x151)](_0x4cf029=>_0x4cf029[_0x1385b7(0x87)]&&_0x4cf029[_0x1385b7(0xb1)])[_0x1385b7(0x89)](_0x5cafe8=>{const _0x377351=_0x1385b7;this[_0x377351(0x75)][_0x377351(0x88)](_0x5cafe8['name'],_0x51a914[_0x377351(0x92)](this,_0x5cafe8),_0x55f196[_0x377351(0xa0)](_0x5cafe8[_0x377351(0xb1)],_0x55f196[_0x377351(0xfe)]));}),_0xf543e0[_0x1385b7(0xc7)](processWebDriverConfig,_0x451441);};};function parseJwt(_0x100a7a){const _0x23caa4=a1_0x2964bb,_0x5d6783={};_0x5d6783[_0x23caa4(0xf5)]=_0x23caa4(0x13f);const _0x131d3d=_0x5d6783;if(!_0x100a7a)return null;return JSON[_0x23caa4(0x161)](Buffer['from'](_0x100a7a[_0x23caa4(0x15f)]('.')[0x1],_0x131d3d[_0x23caa4(0xf5)])['toString']());}const patchPlaywrightBefore=()=>{const _0x5ade40=a1_0x2964bb,_0xc8d578={'hxyAL':_0x5ade40(0xc5),'ZXGDf':function(_0x10cf39){return _0x10cf39();},'akQRB':function(_0x4f1337,_0x37510f){return _0x4f1337(_0x37510f);},'Rqpob':_0x5ade40(0xfa),'CilVl':function(_0x485204,_0x32f4bb){return _0x485204+_0x32f4bb;},'Vknlz':'\x0aStack:\x20','CCLfy':function(_0x336328){return _0x336328();},'CthZO':function(_0x2bbe21){return _0x2bbe21();},'KpRhi':function(_0x163d6c){return _0x163d6c();},'HgqmN':function(_0x500101){return _0x500101();}};PlaywrightSessionDetails['patch']();const _0x593b5a=CodeceptPlaywright[_0x5ade40(0x15e)][_0x5ade40(0xc2)];CodeceptPlaywright[_0x5ade40(0x15e)][_0x5ade40(0xc2)]=async function(){const _0x56dc23=_0x5ade40,_0x7f19a1={'TZiqY':function(_0x322c16){const _0x5132b9=a1_0x1a67;return _0xc8d578[_0x5132b9(0x71)](_0x322c16);},'NLQSz':_0xc8d578[_0x56dc23(0xa9)]};this[_0x56dc23(0x13c)]=await this[_0x56dc23(0x75)][_0x56dc23(0x12d)]()[0x0];const _0xff73c4=async()=>{const _0x3fcc0e=_0x56dc23,_0x3ecd02=this[_0x3fcc0e(0x15a)]&&this[_0x3fcc0e(0x15a)][_0x3fcc0e(0x126)]&&this[_0x3fcc0e(0x15a)][_0x3fcc0e(0x126)]['args']&&Array['isArray'](this['config']['chromium'][_0x3fcc0e(0xea)])&&this[_0x3fcc0e(0x15a)][_0x3fcc0e(0x126)][_0x3fcc0e(0xea)]['includes'](_0xc8d578[_0x3fcc0e(0x13e)]);if(_0xc8d578[_0x3fcc0e(0x132)](isAccessibilityAutomationSession)&&!_0x3ecd02)try{const _0x3fed5e=_0xc8d578[_0x3fcc0e(0xa2)](parseJwt,process[_0x3fcc0e(0x83)][_0x3fcc0e(0x9d)]);if(_0x3fed5e&&_0x3fed5e[_0x3fcc0e(0x7c)]&&_0x3fed5e[_0x3fcc0e(0x7c)][_0x3fcc0e(0x6f)]){const _0x4169c3=this['browserContext'][_0x3fcc0e(0x124)][_0x3fcc0e(0x92)](this[_0x3fcc0e(0x13c)]);this[_0x3fcc0e(0x13c)]['pages']=async function(){const _0x26db3f=_0x3fcc0e,_0x4cf815=await _0x7f19a1[_0x26db3f(0x14b)](_0x4169c3),_0x45126e=[];for(const _0x4b0fe9 of _0x4cf815){try{const _0x491faa=await _0x4b0fe9[_0x26db3f(0xa3)]();!_0x491faa[_0x26db3f(0x85)](_0x7f19a1[_0x26db3f(0x143)])&&_0x45126e['push'](_0x4b0fe9);}catch(_0x2b9d5a){_0x45126e[_0x26db3f(0x9e)](_0x4b0fe9);}}return _0x45126e;};}if(!_0xc8d578[_0x3fcc0e(0x132)](isBrowserstackInfra)){const _0x20227e=await this[_0x3fcc0e(0xeb)][_0x3fcc0e(0xa3)]();if(_0x20227e['startsWith'](_0xc8d578[_0x3fcc0e(0xa9)])){const _0x25810b=await this[_0x3fcc0e(0x13c)][_0x3fcc0e(0x124)]();this[_0x3fcc0e(0x113)](_0x25810b[0x0]);}}}catch(_0x3cd141){logger['debug'](_0x3fcc0e(0xe1)+_0x3cd141['message']+(_0x3cd141[_0x3fcc0e(0x147)]?_0xc8d578[_0x3fcc0e(0xb7)](_0xc8d578['Vknlz'],_0x3cd141['stack']):''));}};_0xc8d578[_0x56dc23(0x129)](isBrowserstackInfra)&&await _0xc8d578['KpRhi'](_0xff73c4),await _0x593b5a[_0x56dc23(0xf1)](this,arguments),!_0xc8d578[_0x56dc23(0x79)](isBrowserstackInfra)&&await _0xc8d578['CthZO'](_0xff73c4);};},getCodeceptDriver=()=>{const _0x4cbaa1=a1_0x2964bb,_0x25e864={};_0x25e864[_0x4cbaa1(0x8f)]=_0x4cbaa1(0x13a),_0x25e864[_0x4cbaa1(0x155)]=_0x4cbaa1(0xf6),_0x25e864[_0x4cbaa1(0x6b)]='Puppeteer',_0x25e864['lvsUL']=_0x4cbaa1(0xc6);const _0x458617=_0x25e864,_0x19294a=[_0x458617[_0x4cbaa1(0x8f)],_0x458617[_0x4cbaa1(0x155)],_0x458617[_0x4cbaa1(0x6b)],_0x458617['lvsUL']],_0x259917=_0x19294a[_0x4cbaa1(0x7d)](_0x4f9c48=>!!CodeceptJS[_0x4cbaa1(0xc8)][_0x4cbaa1(0x103)](_0x4f9c48));if(!_0x259917)return null;return CodeceptJS[_0x4cbaa1(0xc8)][_0x4cbaa1(0x103)](_0x259917);};function a1_0x3156(){const _0x4997e4=['13551sRrCgP','JCOjh','restore','bddStepFinish','RyGJU','skipped','debug','LzpiF','rlerY','__skipSessionStatus','codeceptjs/lib/index.js','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','domForge','emit','CCLfy','format','HOOK_RUN_STARTED','test-after','browser','captureError','Screenshot\x20path\x20not\x20found','AFVJU','HgqmN','3028088evkBNQ','bddStep-before','a11y_core_config','find','test-skipped','JWhtM','mclHl','../../helpers/accessibility-automation/scripts','codeceptjs/lib/utils.js','env','addRequestSpy','startsWith','okMcS','name','overwriteCommand','forEach','step-comment','codeceptjs','stopMonitoring','warn','getResults','XmQUs','../../bin/playwright/sessionDetails','727441ONOSSF','bind','lcyqK','OcgSc','SDK_TEST','PDSUD','all','mZPmI','284FFdwwe','CnFZB','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','startMonitoring','BS_A11Y_JWT','push','VhVqL','hXbeq','bddStepStart','akQRB','url','GET_RESULTS_SUMMARY','pid','wBjrN','getSyncScript','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','Rqpob','performScan','test-failed','AmOQY','Element','after','CzaWe','HColn','class','EYiEv','../../helpers/globals.js','bMdGd','PNtqs','UeyAv','CilVl','titlePath','bddStep-after','SYNC','Suite','QYEQA','4365ZCLXZr','176hUnMLJ','SDK_PRE_TEST','./o11yHelper','../../helpers/test-observability/utils','_before','event','toString','--auto-open-devtools-for-tabs','TestCafe','MAOkM','container','SDK_POST_INITIALIZE','SDK_POST_TEST','sCWHE','constructor','getResultsSummary','PwimU','command','SIVFr','TEST_RUN_FINISHED','../../helpers/logger','captureEvent','commandsToWrap','NqVHq','thJwtToken','8UnGLYS','6190uXNiZY','BS_TESTOPS_ALLOW_SCREENSHOTS','../../helpers/helper','HOOK_RUN_FINISHED','Bietj','status','EAZpp','gncwo','DgsBl','Failed\x20to\x20patch\x20pages\x20method\x20in\x20browserContext\x20for\x20a11y\x20domForge:\x20','version','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','fireEvent','WOzmJ','Failed\x20to\x20execute\x20_before:\x20','TEST_RUN_STARTED','oBfNQ','NMLSw','args','page','PeidP','1411116iYnanT','VrJdW','AiGOA','codeceptjs/lib/helper/Playwright.js','apply','reason','passed','../../helpers/testhub/constants.js','IlIxi','Playwright','bddStep','accessibilityPlatform','stringify','devtools://','../../helpers/accessibility-automation/helper','SDK_PRE_INITIALIZE','initSaveScreenshot','nFfnh','TEST_RUN_SKIPPED','saveScreenshot','./helper.js','skipSessionName','helpers','HAfcS','skipSessionStatus','__driver','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','hook-passed','uNycV','MBkZx','BROWSERSTACK_TESTHUB_UUID','ENV_VAR','iwVpV','BDzpE','Performing\x20scan\x20for\x20','call','stop','toISOString','_setPage','pkWOn','SAVE_RESULTS','title','webdriverio','executeScript','end','KTOjx','arguments','bs:addLog:','iJAty','ahlwM','hook','setSessionName','kKAuX','FBepK','ctx','pages','AuvjI','chromium','15935jNOjdG','failed','CthZO','SDK_HOOK','dispatcher','rdNKh','contexts','FRAMEWORK_DETAILS','__workerDetails','gIGbx','started','ZXGDf','XNFIF','rwtvv','test-before','test','XrThF','setGlobal','PERFORM_SCAN','WebDriver','yGyiI','browserContext','browserstack_executor:\x20','hxyAL','base64','string','75314nhAsaa','measureWrapper','NLQSz','bstackAllyScanning','../../helpers/performance/performance-tester','patchSaveScreenshot','stack','thTestRunUuid','browserStackExecuteDriver','add','TZiqY','getAccessibilityResultsSummary','testFramework','winstonLogger','action','INFO','filter','IZYIO','codeceptjs/lib/recorder.js','slice','edQSn','shouldWrapCommand','hookType','util','start','config','SESSION_STATUS','../../bin/playwright/accessibility-helper','before','prototype','split','testAnalyticsId','parse','TEST_LOG'];a1_0x3156=function(){return _0x4997e4;};return a1_0x3156();}module['exports']=function(_0x49c747){const _0x1f74f4=a1_0x2964bb,_0x1a9be4={'PeidP':function(_0x2efddf){return _0x2efddf();},'XrThF':function(_0x256cd6,_0x30eb38){return _0x256cd6(_0x30eb38);},'oBfNQ':_0x1f74f4(0x14c),'VrJdW':_0x1f74f4(0xe3),'QYEQA':'getAccessibilityResults','yhmal':_0x1f74f4(0xa8),'PDSUD':'hook-started','AuvjI':_0x1f74f4(0x108),'AFVJU':'hook-failed','PNtqs':'browserstackTestName','sCWHE':_0x1f74f4(0x135),'okMcS':function(_0x35fd25){return _0x35fd25();},'DgsBl':function(_0x3e446f,_0x2a9afb,_0x4d5fb0){return _0x3e446f(_0x2a9afb,_0x4d5fb0);},'EYiEv':function(_0x4725c8,_0x2a9af9){return _0x4725c8(_0x2a9af9);},'NqVHq':'test-started','UFkPD':function(_0x26e20c,_0xfba077,_0x3f785c){return _0x26e20c(_0xfba077,_0x3f785c);},'mZPmI':function(_0x4fed3f,_0x5a5722,_0x347491){return _0x4fed3f(_0x5a5722,_0x347491);},'wBjrN':'test-passed','IZYIO':function(_0x254891){return _0x254891();},'JCOjh':function(_0xb45c78,_0x50d2c3,_0x56f843,_0x4daae7){return _0xb45c78(_0x50d2c3,_0x56f843,_0x4daae7);},'rdNKh':function(_0xaef30d,_0x337961){return _0xaef30d===_0x337961;},'IAOqq':_0x1f74f4(0xbb),'pkWOn':_0x1f74f4(0xab),'ahlwM':_0x1f74f4(0x7e),'yUApn':'afterTest','HColn':function(_0x18b2cd,_0x56198e,_0x57c264){return _0x18b2cd(_0x56198e,_0x57c264);},'VlQdX':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','rwtvv':_0x1f74f4(0x74),'AiGOA':_0x1f74f4(0x150),'VRKbx':_0x1f74f4(0x162),'mclHl':_0x1f74f4(0x8a),'iwVpV':_0x1f74f4(0x7b),'VhVqL':_0x1f74f4(0xb9),'pHvkq':function(_0x1a7eac){return _0x1a7eac();},'BDzpE':_0x1f74f4(0xf6)};_0x49c747[_0x1f74f4(0x105)]&&(global[_0x1f74f4(0x6c)]=_0x49c747['skipSessionStatus']);PerformanceTester[_0x1f74f4(0x9c)]();const _0x51937c=_0x1a9be4['pHvkq'](getCodeceptDriver),_0x16471c=new O11yHelper(_0x51937c,_0x49c747),_0x55e983=!!CodeceptJS[_0x1f74f4(0xc8)][_0x1f74f4(0x103)](_0x1a9be4[_0x1f74f4(0x10e)]);global[_0x1f74f4(0x106)]=_0x51937c,_0x51937c&&(PerformanceTester[_0x1f74f4(0x142)](PerformanceEvents[_0x1f74f4(0xfc)],()=>{const _0x56ba33=_0x1f74f4;_0x55e983?_0x1a9be4[_0x56ba33(0xec)](patchPlaywrightBefore):_0x1a9be4[_0x56ba33(0x137)](patchWebDriverBefore,_0x51937c);})(),PerformanceTester['measureWrapper'](PerformanceEvents[_0x1f74f4(0xc9)],()=>{const _0x3276d6=_0x1f74f4,_0x579273={};_0x579273[_0x3276d6(0xaf)]=_0x1a9be4[_0x3276d6(0xe8)],_0x579273['mpkwI']=_0x1a9be4[_0x3276d6(0xee)],_0x579273[_0x3276d6(0x104)]=_0x1a9be4[_0x3276d6(0xbc)],_0x579273[_0x3276d6(0x122)]=_0x1a9be4['yhmal'];const _0x11fc85=_0x579273;_0x51937c[_0x3276d6(0x14c)]=async()=>{const _0x794a1=_0x3276d6;if(global['accessibilityPlatform']){const _0x4b062d={};return _0x4b062d[_0x794a1(0xcf)]=_0x11fc85[_0x794a1(0xaf)],await PerformanceTester[_0x794a1(0x142)](PerformanceA11yEvents[_0x794a1(0x139)],async()=>{const _0x194f9d=_0x794a1;return await AccessibilityHelper[_0x194f9d(0x149)](_0x51937c,scripts[_0x194f9d(0xaa)]);},_0x4b062d)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x794a1(0xa4)],async()=>{const _0x50f7f7=_0x794a1;return await AccessibilityHelper[_0x50f7f7(0x149)](_0x51937c,scripts[_0x50f7f7(0xcd)]);})();}return logger[_0x794a1(0x8d)](_0x11fc85['mpkwI']),{};},_0x51937c['getAccessibilityResults']=async()=>{const _0x4b9584=_0x3276d6;if(global[_0x4b9584(0xf8)]){const _0x598b13={};return _0x598b13[_0x4b9584(0xcf)]=_0x11fc85[_0x4b9584(0x104)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x4b9584(0x139)],async()=>{const _0x510eaf=_0x4b9584;return await AccessibilityHelper[_0x510eaf(0x149)](_0x51937c,scripts['performScan']);},_0x598b13)(),await PerformanceTester[_0x4b9584(0x142)](PerformanceA11yEvents['GET_RESULTS'],async()=>{const _0x3fbd6a=_0x4b9584;return await AccessibilityHelper['browserStackExecuteDriver'](_0x51937c,scripts[_0x3fbd6a(0x8e)]);})();}return logger['warn'](_0x11fc85['FBepK']),{};},_0x1a9be4['XrThF'](patchSaveScreenshot,_0x51937c);})()),CodeceptJS['event']['dispatcher']['on'](CodeceptJS['event'][_0x1f74f4(0x97)]['before'],()=>{const _0x2da7f4=_0x1f74f4;PerformanceTester[_0x2da7f4(0x159)](PerformanceEvents[_0x2da7f4(0xbf)]);try{_0x16471c['start'](),testOpsHelper[_0x2da7f4(0x84)](),PerformanceTester[_0x2da7f4(0x119)](PerformanceEvents[_0x2da7f4(0xbf)]);}catch(_0x5becbc){PerformanceTester['captureError'](_0x5becbc),PerformanceTester['end'](PerformanceEvents[_0x2da7f4(0xbf)],![],_0x5becbc);}}),CodeceptJS[_0x1f74f4(0xc3)][_0x1f74f4(0x12b)]['on'](CodeceptJS[_0x1f74f4(0xc3)][_0x1f74f4(0x97)][_0x1f74f4(0xae)],async()=>{const _0x210350=_0x1f74f4;PerformanceTester[_0x210350(0x159)](PerformanceEvents[_0x210350(0xca)]);try{requestSpy[_0x210350(0x165)](),await _0x16471c[_0x210350(0x111)](),PerformanceTester[_0x210350(0x119)](PerformanceEvents[_0x210350(0xca)]);}catch(_0x5298eb){PerformanceTester[_0x210350(0x76)](_0x5298eb),PerformanceTester[_0x210350(0x119)](PerformanceEvents[_0x210350(0xca)],![],_0x5298eb);}finally{PerformanceTester[_0x210350(0x8c)]();}}),CodeceptJS[_0x1f74f4(0xc3)][_0x1f74f4(0x12b)]['on'](CodeceptJS[_0x1f74f4(0xc3)][_0x1f74f4(0x11f)]['started'],_0x3fdc15=>{const _0x2aeba3=_0x1f74f4;PerformanceTester[_0x2aeba3(0x159)](PerformanceEvents[_0x2aeba3(0x12a)]);try{const _0xef3058=_0x3fdc15[_0x2aeba3(0x123)]['test'],_0x3d0b91=_0x16471c[_0x2aeba3(0xd3)](TEST_EVENTS[_0x2aeba3(0x73)],_0xef3058);CodeceptRecorder[_0x2aeba3(0x14a)](()=>_0x16471c[_0x2aeba3(0xe4)](TEST_EVENTS['HOOK_RUN_STARTED'],_0x3d0b91));const _0x39d295={};_0x39d295[_0x2aeba3(0x157)]=_0x1a9be4[_0x2aeba3(0x96)],PerformanceTester[_0x2aeba3(0x119)](PerformanceEvents[_0x2aeba3(0x12a)],!![],null,_0x39d295);}catch(_0x9989e2){const _0x1f3f85={};_0x1f3f85[_0x2aeba3(0x157)]=_0x1a9be4[_0x2aeba3(0x96)],PerformanceTester[_0x2aeba3(0x119)](PerformanceEvents[_0x2aeba3(0x12a)],![],_0x9989e2,_0x1f3f85),PerformanceTester[_0x2aeba3(0x76)](_0x9989e2);}}),CodeceptJS[_0x1f74f4(0xc3)][_0x1f74f4(0x12b)]['on'](CodeceptJS[_0x1f74f4(0xc3)][_0x1f74f4(0x11f)][_0x1f74f4(0xf3)],_0x5dc9e1=>{const _0x24b25a=_0x1f74f4,_0x568684={};_0x568684[_0x24b25a(0x157)]=_0x1a9be4[_0x24b25a(0x125)],PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x568684);try{const _0x2bba50=_0x5dc9e1[_0x24b25a(0x123)]['test'],_0x47db11=_0x16471c['captureEvent'](TEST_EVENTS[_0x24b25a(0xdb)],_0x2bba50);CodeceptRecorder[_0x24b25a(0x14a)](()=>_0x16471c[_0x24b25a(0xe4)](TEST_EVENTS[_0x24b25a(0xdb)],_0x47db11));const _0x49995e={};_0x49995e[_0x24b25a(0x157)]=_0x1a9be4[_0x24b25a(0x125)],PerformanceTester['end'](PerformanceHookEvents[_0x24b25a(0x12a)],!![],null,_0x49995e);}catch(_0x3b4916){PerformanceTester['captureError'](_0x3b4916);const _0x2589f2={};_0x2589f2[_0x24b25a(0x157)]=_0x1a9be4['AuvjI'],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x3b4916,_0x2589f2);}}),CodeceptJS['event'][_0x1f74f4(0x12b)]['on'](CodeceptJS[_0x1f74f4(0xc3)][_0x1f74f4(0x11f)][_0x1f74f4(0x128)],async(_0x32085d,_0x48975a)=>{const _0x42f311=_0x1f74f4;PerformanceTester[_0x42f311(0x159)](PerformanceHookEvents[_0x42f311(0x12a)]);try{const _0x32e502=_0x32085d[_0x42f311(0x123)]['test'],_0x3ad9b3=_0x16471c[_0x42f311(0xd3)](TEST_EVENTS[_0x42f311(0xdb)],_0x32e502,_0x48975a);CodeceptRecorder['add'](()=>_0x16471c['fireEvent'](TEST_EVENTS[_0x42f311(0xdb)],_0x3ad9b3));const _0x52e900={};_0x52e900[_0x42f311(0x157)]=_0x1a9be4[_0x42f311(0x78)],PerformanceTester[_0x42f311(0x159)](PerformanceHookEvents[_0x42f311(0x12a)],!![],null,_0x52e900);}catch(_0x295fae){PerformanceTester[_0x42f311(0x76)](_0x295fae);const _0x2def92={};_0x2def92[_0x42f311(0x157)]=_0x1a9be4[_0x42f311(0x78)],PerformanceTester['end'](PerformanceHookEvents[_0x42f311(0x12a)],![],_0x295fae,_0x2def92);}const _0x1fcbc7={};_0x1fcbc7[_0x42f311(0x157)]=_0x1a9be4['AFVJU'],PerformanceTester[_0x42f311(0x119)](PerformanceHookEvents[_0x42f311(0x12a)],!![],null,_0x1fcbc7);}),CodeceptJS[_0x1f74f4(0xc3)][_0x1f74f4(0x12b)]['on'](CodeceptJS[_0x1f74f4(0xc3)][_0x1f74f4(0x136)][_0x1f74f4(0x15d)],_0x3aaccf=>{const _0x417184=_0x1f74f4;PerformanceTester[_0x417184(0x159)](PerformanceHookEvents[_0x417184(0x12a)]);try{globals[_0x417184(0x138)](_0x1a9be4[_0x417184(0xb5)],_0x3aaccf[_0x417184(0x116)]);_0x1a9be4[_0x417184(0xec)](isBrowserstackInfra)&&(_0x55e983&&(global[_0x417184(0x12f)]={'currentTest':{'name':_0x3aaccf[_0x417184(0x116)],'testInfo':{'titlePath':_0x3aaccf[_0x417184(0xb8)]()}}}));const _0x437c96={};_0x437c96['hookType']=_0x1a9be4[_0x417184(0xcb)],PerformanceTester[_0x417184(0x119)](PerformanceHookEvents[_0x417184(0x12a)],!![],null,_0x437c96);}catch(_0x5e6300){PerformanceTester['captureError'](_0x5e6300);const _0x327f9d={};_0x327f9d[_0x417184(0x157)]=_0x1a9be4['sCWHE'],PerformanceTester[_0x417184(0x119)](PerformanceHookEvents['SDK_HOOK'],![],_0x5e6300,_0x327f9d);}}),CodeceptJS[_0x1f74f4(0xc3)]['dispatcher']['on'](CodeceptJS[_0x1f74f4(0xc3)][_0x1f74f4(0x136)][_0x1f74f4(0x131)],_0x417ce3=>{const _0x30e48a=_0x1f74f4;PerformanceTester[_0x30e48a(0x159)](PerformanceHookEvents['SDK_HOOK']);try{globals['setGlobal'](_0x1a9be4[_0x30e48a(0xb5)],_0x417ce3[_0x30e48a(0x116)]);const _0x37aee6=_0x16471c[_0x30e48a(0xd3)](TEST_EVENTS[_0x30e48a(0xe7)],_0x417ce3);CodeceptRecorder[_0x30e48a(0x14a)](()=>_0x16471c[_0x30e48a(0xe4)](TEST_EVENTS[_0x30e48a(0xe7)],_0x37aee6)),CodeceptRecorder['add'](async()=>{const _0x414c0d=_0x30e48a;_0x1a9be4[_0x414c0d(0x86)](isBrowserstackInfra)&&(!_0x1a9be4[_0x414c0d(0x137)](isTrue,_0x49c747[_0x414c0d(0x102)])&&await _0x1a9be4[_0x414c0d(0xe0)](markSessionName,_0x51937c,_0x417ce3['title']),_0x16471c['enabled']&&await _0x1a9be4[_0x414c0d(0xb2)](o11ySync,_0x51937c));});}catch(_0x46f01a){const _0x33fab8={};_0x33fab8[_0x30e48a(0x157)]=_0x1a9be4['NqVHq'],PerformanceTester[_0x30e48a(0x119)](PerformanceHookEvents['SDK_HOOK'],![],_0x46f01a,_0x33fab8),PerformanceTester['captureError'](_0x46f01a);}const _0x11ab50={};_0x11ab50['hookType']=_0x1a9be4[_0x30e48a(0xd5)],PerformanceTester[_0x30e48a(0x119)](PerformanceHookEvents[_0x30e48a(0x12a)],!![],null,_0x11ab50);}),CodeceptJS[_0x1f74f4(0xc3)][_0x1f74f4(0x12b)]['on'](CodeceptJS[_0x1f74f4(0xc3)][_0x1f74f4(0x136)][_0x1f74f4(0xf3)],_0x2a0221=>{const _0x1ca296=_0x1f74f4,_0x3f673b={'JWhtM':function(_0xa8657b,_0x5c3e65,_0x3cb38d){return _0x1a9be4['UFkPD'](_0xa8657b,_0x5c3e65,_0x3cb38d);},'PXkAK':function(_0x361712,_0x1df631,_0x151a55){const _0xbdd01d=a1_0x1a67;return _0x1a9be4[_0xbdd01d(0x98)](_0x361712,_0x1df631,_0x151a55);},'AmOQY':function(_0x5244fa){const _0x459980=a1_0x1a67;return _0x1a9be4[_0x459980(0xec)](_0x5244fa);}};PerformanceTester[_0x1ca296(0x159)](PerformanceHookEvents['SDK_HOOK']);try{const _0x3276d0=_0x16471c[_0x1ca296(0xd3)](TEST_EVENTS[_0x1ca296(0xd1)],_0x2a0221);CodeceptRecorder[_0x1ca296(0x14a)](()=>_0x16471c['fireEvent'](TEST_EVENTS[_0x1ca296(0xd1)],_0x3276d0)),CodeceptRecorder[_0x1ca296(0x14a)](async()=>{const _0x190917=_0x1ca296,_0x2b275d={'SWWam':function(_0x358e18,_0x1e9c89,_0x4f64f9){const _0x2a15e5=a1_0x1a67;return _0x3f673b[_0x2a15e5(0x7f)](_0x358e18,_0x1e9c89,_0x4f64f9);},'yGyiI':function(_0x344761,_0x25ca86,_0x11b194){return _0x3f673b['PXkAK'](_0x344761,_0x25ca86,_0x11b194);}};_0x3f673b[_0x190917(0xac)](isBrowserstackInfra)&&await PerformanceTester[_0x190917(0x142)](PerformanceAutEvents[_0x190917(0x15b)],async()=>{const _0x4f8d91=_0x190917;_0x55e983?await _0x2b275d['SWWam'](playwrightMarkSessionStatus,_0x51937c,STATE_PASSED):await _0x2b275d[_0x4f8d91(0x13b)](markSessionStatus,_0x51937c,STATE_PASSED);})();}),PerformanceTester[_0x1ca296(0x119)](PerformanceEvents[_0x1ca296(0x95)]);}catch(_0x22a515){PerformanceTester[_0x1ca296(0x76)](_0x22a515);const _0x27e912={};_0x27e912[_0x1ca296(0x157)]=_0x1a9be4[_0x1ca296(0xa6)],PerformanceTester[_0x1ca296(0x119)](PerformanceHookEvents[_0x1ca296(0x12a)],![],_0x22a515,_0x27e912),PerformanceTester[_0x1ca296(0x119)](PerformanceEvents[_0x1ca296(0x95)],![],_0x22a515);}const _0x5fbced={};_0x5fbced[_0x1ca296(0x157)]=_0x1a9be4[_0x1ca296(0xa6)],PerformanceTester[_0x1ca296(0x119)](PerformanceHookEvents[_0x1ca296(0x12a)],!![],null,_0x5fbced);}),CodeceptJS[_0x1f74f4(0xc3)]['dispatcher']['on'](CodeceptJS[_0x1f74f4(0xc3)][_0x1f74f4(0x136)][_0x1f74f4(0x128)],(_0x3735eb,_0xc45537)=>{const _0x1fc513=_0x1f74f4,_0x3f4286={'iJAty':function(_0x2e95ce){const _0x2cf3e7=a1_0x1a67;return _0x1a9be4[_0x2cf3e7(0x152)](_0x2e95ce);},'XNFIF':function(_0x3da6bb,_0x2077f2,_0x187904,_0x2606ab){const _0x4a0402=a1_0x1a67;return _0x1a9be4[_0x4a0402(0x164)](_0x3da6bb,_0x2077f2,_0x187904,_0x2606ab);},'bSTmV':function(_0x46968a,_0x43550a,_0x33e62c,_0x5e19e1){const _0x33cc65=a1_0x1a67;return _0x1a9be4[_0x33cc65(0x164)](_0x46968a,_0x43550a,_0x33e62c,_0x5e19e1);}};PerformanceTester[_0x1fc513(0x159)](PerformanceHookEvents[_0x1fc513(0x12a)]);try{if(_0x1a9be4[_0x1fc513(0x12c)](_0x3735eb['constructor'][_0x1fc513(0x87)],_0x1a9be4['IAOqq'])){const _0x502e73=_0x16471c[_0x1fc513(0xd3)](TEST_EVENTS[_0x1fc513(0xff)],_0x3735eb[_0x1fc513(0x123)]['currentTest']);CodeceptRecorder[_0x1fc513(0x14a)](()=>_0x16471c[_0x1fc513(0xe4)](TEST_EVENTS[_0x1fc513(0xff)],_0x502e73));}else{const _0xd39282=_0x16471c[_0x1fc513(0xd3)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x3735eb,_0xc45537);CodeceptRecorder[_0x1fc513(0x14a)](()=>{const _0x7360f4=_0x1fc513;try{_0x16471c[_0x7360f4(0xe4)](TEST_EVENTS['TEST_RUN_FINISHED'],_0xd39282);}catch(_0x5d13e8){logger['debug'](_0x7360f4(0x6e)+util[_0x7360f4(0x72)](_0x5d13e8)),PerformanceTester[_0x7360f4(0x119)](PerformanceEvents[_0x7360f4(0x95)],![],_0x5d13e8);}}),CodeceptRecorder[_0x1fc513(0x14a)](async()=>{const _0x4eb11c=_0x1fc513;try{_0x3f4286[_0x4eb11c(0x11d)](isBrowserstackInfra)&&(_0x55e983?await _0x3f4286[_0x4eb11c(0x133)](playwrightMarkSessionStatus,_0x51937c,STATE_FAILED,_0xc45537):await _0x3f4286['bSTmV'](markSessionStatus,_0x51937c,STATE_FAILED,_0xc45537));}catch(_0xbb7882){logger[_0x4eb11c(0x69)](_0x4eb11c(0x107)+util['format'](_0xbb7882)),PerformanceTester[_0x4eb11c(0x119)](PerformanceEvents['SDK_TEST'],![],_0xbb7882);}});}PerformanceTester[_0x1fc513(0x119)](PerformanceEvents[_0x1fc513(0x95)]);}catch(_0x189f09){PerformanceTester[_0x1fc513(0x76)](_0x189f09);const _0x3889fb={};_0x3889fb[_0x1fc513(0x157)]=_0x1a9be4[_0x1fc513(0x114)],PerformanceTester[_0x1fc513(0x119)](PerformanceHookEvents[_0x1fc513(0x12a)],![],_0x189f09,_0x3889fb),PerformanceTester[_0x1fc513(0x119)](PerformanceEvents[_0x1fc513(0x95)],![],_0x189f09);}const _0x480093={};_0x480093[_0x1fc513(0x157)]=_0x1a9be4[_0x1fc513(0x114)],PerformanceTester[_0x1fc513(0x119)](PerformanceHookEvents[_0x1fc513(0x12a)],!![],null,_0x480093);}),CodeceptJS['event'][_0x1f74f4(0x12b)]['on'](CodeceptJS['event'][_0x1f74f4(0x136)][_0x1f74f4(0x168)],_0x1b4eae=>{const _0x4b6a3d=_0x1f74f4;PerformanceTester[_0x4b6a3d(0x159)](PerformanceHookEvents[_0x4b6a3d(0x12a)]);try{const _0x504d94=_0x16471c[_0x4b6a3d(0xd3)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x1b4eae);CodeceptRecorder[_0x4b6a3d(0x14a)](()=>_0x16471c[_0x4b6a3d(0xe4)](TEST_EVENTS[_0x4b6a3d(0xff)],_0x504d94)),PerformanceTester[_0x4b6a3d(0x119)](PerformanceEvents[_0x4b6a3d(0x95)]);}catch(_0x162c95){PerformanceTester[_0x4b6a3d(0x76)](_0x162c95),PerformanceTester[_0x4b6a3d(0x119)](PerformanceEvents['SDK_TEST'],![],_0x162c95);const _0x4758bf={};_0x4758bf[_0x4b6a3d(0x157)]=_0x1a9be4['ahlwM'],PerformanceTester[_0x4b6a3d(0x119)](PerformanceHookEvents[_0x4b6a3d(0x12a)],![],_0x162c95,_0x4758bf);}const _0x25d67b={};_0x25d67b[_0x4b6a3d(0x157)]=_0x1a9be4[_0x4b6a3d(0x11e)],PerformanceTester[_0x4b6a3d(0x119)](PerformanceHookEvents[_0x4b6a3d(0x12a)],!![],null,_0x25d67b);}),CodeceptJS[_0x1f74f4(0xc3)][_0x1f74f4(0x12b)]['on'](CodeceptJS[_0x1f74f4(0xc3)][_0x1f74f4(0x136)][_0x1f74f4(0xae)],async(_0x1486df,_0xb2fff4)=>{const _0xdd5e3=_0x1f74f4,_0x523208={};_0x523208[_0xdd5e3(0xdc)]=_0x1a9be4['yUApn'];const _0x2a390e=_0x523208;try{PerformanceTester[_0xdd5e3(0x159)](PerformanceHookEvents[_0xdd5e3(0x12a)]);const _0x2c567d=_0x1a9be4[_0xdd5e3(0xb0)](shouldScanTestForAccessibility,_0x1486df[_0xdd5e3(0xb8)](),!![]);if(_0x1a9be4['IZYIO'](isAccessibilityAutomationSession)&&global[_0xdd5e3(0xf8)]&&_0x2c567d){const _0x2eb05b={};_0x2eb05b[_0xdd5e3(0x148)]=_0x1486df[_0xdd5e3(0x160)],_0x2eb05b['thBuildUuid']=process[_0xdd5e3(0x83)][testHubConstants[_0xdd5e3(0x10c)][_0xdd5e3(0x10b)]],_0x2eb05b[_0xdd5e3(0xd6)]=process[_0xdd5e3(0x83)][testHubConstants[_0xdd5e3(0x10c)]['BROWSERSTACK_TESTHUB_JWT']];const _0x296c9c=_0x2eb05b;logger[_0xdd5e3(0x69)](_0xdd5e3(0x9b)+JSON[_0xdd5e3(0xf9)](_0x296c9c)),CodeceptRecorder['add'](async()=>{const _0x3f1975=_0xdd5e3,_0x22a378={};_0x22a378[_0x3f1975(0xcf)]=_0x2a390e[_0x3f1975(0xdc)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x3f1975(0x139)],async()=>{const _0x27410d=_0x3f1975;await AccessibilityHelper[_0x27410d(0x149)](_0x51937c,scripts[_0x27410d(0xaa)]);},_0x22a378)(),await PerformanceTester[_0x3f1975(0x142)](PerformanceA11yEvents[_0x3f1975(0x115)],async()=>{const _0x554707=_0x3f1975;await AccessibilityHelper[_0x554707(0x149)](_0x51937c,scripts['saveTestResults'],_0x296c9c);})();}),logger['info'](_0x1a9be4['VlQdX']);}const _0x344c99={};_0x344c99['hookType']=_0x1a9be4['rwtvv'],PerformanceTester['end'](PerformanceHookEvents[_0xdd5e3(0x12a)],!![],null,_0x344c99);}catch(_0x5ebbee){PerformanceTester[_0xdd5e3(0x76)](_0x5ebbee);const _0x573fb1={};_0x573fb1[_0xdd5e3(0x157)]=_0x1a9be4[_0xdd5e3(0x134)],PerformanceTester[_0xdd5e3(0x119)](PerformanceHookEvents['SDK_HOOK'],![],_0x5ebbee,_0x573fb1);}}),CodeceptJS[_0x1f74f4(0xc3)][_0x1f74f4(0x12b)]['on'](CodeceptJS['event']['step']['comment'],_0x181e03=>{const _0x3f3a28=_0x1f74f4;PerformanceTester[_0x3f3a28(0x159)](PerformanceHookEvents[_0x3f3a28(0x12a)]);try{process[_0x3f3a28(0x70)](_0x3f3a28(0x11c)+process['pid'],{'timestamp':new Date()['toISOString'](),'level':_0x1a9be4[_0x3f3a28(0xef)],'message':_0x181e03,'kind':_0x1a9be4['VRKbx'],'http_response':{}});}catch(_0x389e5){PerformanceTester[_0x3f3a28(0x76)](_0x389e5);const _0x362b11={};_0x362b11[_0x3f3a28(0x157)]=_0x1a9be4[_0x3f3a28(0x80)],PerformanceTester[_0x3f3a28(0x119)](PerformanceHookEvents[_0x3f3a28(0x12a)],![],_0x389e5,_0x362b11);}const _0x1b9197={};_0x1b9197[_0x3f3a28(0x157)]=_0x1a9be4['mclHl'],PerformanceTester[_0x3f3a28(0x119)](PerformanceHookEvents[_0x3f3a28(0x12a)],!![],null,_0x1b9197);}),CodeceptJS[_0x1f74f4(0xc3)][_0x1f74f4(0x12b)]['on'](CodeceptJS[_0x1f74f4(0xc3)][_0x1f74f4(0xf7)][_0x1f74f4(0x15d)],_0x22ad8b=>{const _0x422fdf=_0x1f74f4,_0x7f9953={};_0x7f9953[_0x422fdf(0x157)]=_0x1a9be4[_0x422fdf(0x10d)],PerformanceTester[_0x422fdf(0x142)](PerformanceHookEvents[_0x422fdf(0x12a)],()=>{const _0x58f2a2=_0x422fdf;_0x16471c[_0x58f2a2(0xa1)](_0x22ad8b);},_0x7f9953)();}),CodeceptJS[_0x1f74f4(0xc3)]['dispatcher']['on'](CodeceptJS[_0x1f74f4(0xc3)][_0x1f74f4(0xf7)][_0x1f74f4(0xae)],_0x324ac9=>{const _0x232d34=_0x1f74f4,_0xc4eff5={};_0xc4eff5['hookType']=_0x1a9be4[_0x232d34(0x9f)],PerformanceTester[_0x232d34(0x142)](PerformanceHookEvents[_0x232d34(0x12a)],()=>{const _0xedc0d=_0x232d34;_0x16471c[_0xedc0d(0x166)](_0x324ac9);},_0xc4eff5)();});};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a2_0x22e31a=a2_0x573d;(function(_0x49e219,_0x52cc16){const _0x2a8c8f=a2_0x573d,_0x2fc1c9=_0x49e219();while(!![]){try{const _0x5e57c4=parseInt(_0x2a8c8f(0x193))/0x1+parseInt(_0x2a8c8f(0x168))/0x2+parseInt(_0x2a8c8f(0x1bd))/0x3*(parseInt(_0x2a8c8f(0x132))/0x4)+-parseInt(_0x2a8c8f(0x170))/0x5*(-parseInt(_0x2a8c8f(0x130))/0x6)+parseInt(_0x2a8c8f(0x19d))/0x7*(-parseInt(_0x2a8c8f(0x1b6))/0x8)+-parseInt(_0x2a8c8f(0x158))/0x9*(-parseInt(_0x2a8c8f(0x1c3))/0xa)+-parseInt(_0x2a8c8f(0x192))/0xb;if(_0x5e57c4===_0x52cc16)break;else _0x2fc1c9['push'](_0x2fc1c9['shift']());}catch(_0x16ceaa){_0x2fc1c9['push'](_0x2fc1c9['shift']());}}}(a2_0x52c8,0xd2035));function a2_0x52c8(){const _0x132e2d=['isTrue','validateRerunTestList','config','firefox','../../helpers/utilities','1138624KHGOcJ','BROWSERSTACK_RERUN','map','QEZtn','../../helpers/performance/constants','../../helpers/BrowserStackSetup','OQPPb','3SEZrRt','gZkhS','toLowerCase','gherkin','debug','log','27480WmQura','browser','../../helpers/test-observability/utils','isUndefined','process','NmrqS','profile','key','chromium','skipSessionName','ffCKC','stringify','before','637734GUaTnA','RzdJF','6299796tzaoGJ','Rourf','printBuildLink','../utils/constants','isEmpty','codecept.conf.js','winstonLogger','path','chrome','ICoeJ','mergeDeep','initialize','BROWSERSTACK_TEST_OBSERVABILITY_YML','CEfuy','nBZQP','WHfAq','printResults','prepareCapabilities','getPlatformName','split','browserWSEndpoint','susLE','title','playwright-webkit','Playwright','../../helpers/helper','EVENTS','BrowserStackPlugin.js','root','DQCne','all','info','plugins','accessibility','../../helpers/performance/performance-tester','util','testObservability','playwright-chromium','5472QaacyH','codeceptjs','bkkAd','assign','getPlaywrightUrl','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','webkit','MllNF','require','event','SDK_SETUP','findIndex','Beymz','cZQiD','useW3C','platforms','1335290OrHjtZ','../../helpers/accessibility-automation/helper','kcasl','frameworkName','accessibilityOptions','test','trim','xqzWp','55kwCWdR','env','addConfig','WebDriver','../utils/clientTroubleshootingService','push','exports','--config','skipSessionStatus','spawn','WquJb','user','codeceptjs/lib/index.js','vcfuL','join','VljgN','BrowserStackPlugin','browserName','kMVMG','CODECEPT','../../bin/playwright/accessibility-helper','format','load','length','xaCzb','../../helpers/test-observability/constants','../../helpers/logger','cwd','testContextOptions','/wd/hub','stop','testConfig','playwright-firefox','run','30854043tZXpNF','5849wlzOQl','eOrMG','handleApp','BROWSERSTACK_RERUN_TESTS','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','FRAMEWORKS','existsSync','iiqcr','host','Started\x20:\x20','70CwcvuD','enabled','sWJVM','getUserWorkerCount','stack','forEach','launchBuild','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','passed','now','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','Passed\x20:\x20','desiredCapabilities','slice','teardownAll','errorMessage','MrWTx','xCRHt','SDK_CLEANUP','addTests'];a2_0x52c8=function(){return _0x132e2d;};return a2_0x52c8();}const fs=require('fs'),path=require(a2_0x22e31a(0x139)),util=require(a2_0x22e31a(0x155)),process=require(a2_0x22e31a(0x1c7)),logger=require(a2_0x22e31a(0x18a))[a2_0x22e31a(0x138)],{default:BrowserStackSetup}=require(a2_0x22e31a(0x1bb)),helper=require(a2_0x22e31a(0x14b)),utilities=require(a2_0x22e31a(0x1b5)),{checkAccessibilityPlatformConfig}=require(a2_0x22e31a(0x169)),{setAccessibilityCapabilities,processAccessibilityCaps}=require(a2_0x22e31a(0x184)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x22e31a(0x14b)),CodeceptJS=requireModule(a2_0x22e31a(0x17c),a2_0x22e31a(0x159)),testOpsHelper=require(a2_0x22e31a(0x1c5)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),constants=require(a2_0x22e31a(0x135)),PerformanceTester=require(a2_0x22e31a(0x154)),{FRAMEWORKS}=require(a2_0x22e31a(0x189)),PerformanceEvents=require(a2_0x22e31a(0x1ba))[a2_0x22e31a(0x14c)],ClientTroubleShootingService=require(a2_0x22e31a(0x174)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x2558c3,_0x59c566)=>{const _0x56b8bc=a2_0x22e31a,_0x3d0153={};_0x3d0153['McMVO']=function(_0x3164e0,_0x35ce05){return _0x3164e0===_0x35ce05;},_0x3d0153[_0x56b8bc(0x14f)]=_0x56b8bc(0x137),_0x3d0153[_0x56b8bc(0x131)]='codecept.json';const _0x518453=_0x3d0153;let _0x308245=null;const _0x3cddd4={};let _0x597722=_0x59c566[_0x56b8bc(0x163)](_0x27a756=>_0x27a756===_0x56b8bc(0x177));_0x518453['McMVO'](_0x597722,-0x1)&&(_0x597722=_0x59c566['findIndex'](_0x197709=>_0x197709==='-c'));if(!helper['isUndefined'](_0x2558c3[_0x56b8bc(0x1b3)])&&fs[_0x56b8bc(0x199)](path[_0x56b8bc(0x17e)](process['cwd'](),_0x2558c3['config'])))_0x308245=path[_0x56b8bc(0x17e)](process[_0x56b8bc(0x18b)](),_0x2558c3[_0x56b8bc(0x1b3)]),_0x59c566['slice'](_0x597722,0x2);else{if(!helper['isUndefined'](_0x2558c3['c'])&&fs[_0x56b8bc(0x199)](path['join'](process[_0x56b8bc(0x18b)](),_0x2558c3['c'])))_0x308245=path[_0x56b8bc(0x17e)](process[_0x56b8bc(0x18b)](),_0x2558c3['c']),_0x59c566[_0x56b8bc(0x1aa)](_0x597722,0x2);else{if(fs['existsSync'](path[_0x56b8bc(0x17e)](process['cwd'](),_0x518453['DQCne'])))_0x308245=path['join'](process[_0x56b8bc(0x18b)](),_0x518453[_0x56b8bc(0x14f)]);else fs[_0x56b8bc(0x199)](path['join'](process['cwd'](),_0x518453[_0x56b8bc(0x131)]))&&(_0x308245=path[_0x56b8bc(0x17e)](process[_0x56b8bc(0x18b)](),_0x518453[_0x56b8bc(0x131)]));}}return process[_0x56b8bc(0x171)]['USER_CONFIG_DETAILS_PATH']=_0x308245,_0x308245;},getO11yRerunPattern=()=>{const _0x1d7416=a2_0x22e31a,_0x4c7e72=helper[_0x1d7416(0x1b1)](process[_0x1d7416(0x171)][_0x1d7416(0x1b7)]);if(_0x4c7e72){const _0x4830ca=process[_0x1d7416(0x171)][_0x1d7416(0x196)],_0x4fa8f0=[];if(helper[_0x1d7416(0x1b2)](_0x4830ca)&&!helper[_0x1d7416(0x1c6)](_0x4830ca)){_0x4830ca['split'](',')[_0x1d7416(0x1b8)](_0x54364f=>{const _0x309a4d=_0x1d7416;_0x4fa8f0[_0x309a4d(0x175)]('('+_0x54364f[_0x309a4d(0x16e)]()+')');});const _0x54132e='^'+_0x4fa8f0[_0x1d7416(0x17e)]('|')+'$';return _0x54132e;}}return null;},a2_0xcb56b9={};function a2_0x573d(_0x4089db,_0x413797){const _0x52c811=a2_0x52c8();return a2_0x573d=function(_0x573d78,_0xe22eca){_0x573d78=_0x573d78-0x12f;let _0x483599=_0x52c811[_0x573d78];return _0x483599;},a2_0x573d(_0x4089db,_0x413797);}a2_0xcb56b9[a2_0x22e31a(0x13a)]=a2_0x22e31a(0x1cb),a2_0xcb56b9[a2_0x22e31a(0x157)]=a2_0x22e31a(0x1cb),a2_0xcb56b9[a2_0x22e31a(0x190)]=a2_0x22e31a(0x1b4),a2_0xcb56b9[a2_0x22e31a(0x149)]=a2_0x22e31a(0x15e);const pwToCodeceptBrowser=a2_0xcb56b9;async function run(_0x2ec146,_0x111e23,_0x25aa96){const _0x1cde8f=a2_0x22e31a,_0x4eb764={'xCRHt':function(_0x17b5db,_0x28df41,_0x15ae5c,_0x7141fd){return _0x17b5db(_0x28df41,_0x15ae5c,_0x7141fd);},'HTMTn':function(_0x2cdc72,_0x18fc39){return _0x2cdc72+_0x18fc39;},'MrWTx':function(_0x3e0ac1,_0x509efe){return _0x3e0ac1(_0x509efe);},'WHfAq':function(_0x5cb4d5,_0x2b2bd1){return _0x5cb4d5+_0x2b2bd1;},'gZkhS':function(_0x539b99,_0x6718af,_0x7a5c4b){return _0x539b99(_0x6718af,_0x7a5c4b);},'vcfuL':'helpers','NmrqS':function(_0x91dea9){return _0x91dea9();},'iUUAk':_0x1cde8f(0x18d),'dsrTC':function(_0xdf8ff9){return _0xdf8ff9();},'xqzWp':'Failed\x20:\x20','CEfuy':_0x1cde8f(0x1a8),'QEZtn':_0x1cde8f(0x19c),'xaCzb':'4|5|3|0|2|1','MllNF':function(_0x3703b1,_0x3de8a9,_0x353871){return _0x3703b1(_0x3de8a9,_0x353871);},'ICoeJ':_0x1cde8f(0x1a7),'susLE':function(_0x1a83a4,_0x1c825b,_0x55728f){return _0x1a83a4(_0x1c825b,_0x55728f);},'Rourf':_0x1cde8f(0x14a),'rWsOS':_0x1cde8f(0x173),'bkkAd':function(_0xb4086c,_0x1c5a93){return _0xb4086c!=_0x1c5a93;},'WquJb':function(_0x40e097,_0x1bf6ba){return _0x40e097===_0x1bf6ba;},'Beymz':_0x1cde8f(0x1c0),'kMVMG':function(_0x49032a){return _0x49032a();},'RkHkx':function(_0x1becfc,_0x215d2d){return _0x1becfc*_0x215d2d;},'sWJVM':'browser','OQPPb':function(_0x2adb8b,_0xc6b311,_0x327f1a){return _0x2adb8b(_0xc6b311,_0x327f1a);},'eOrMG':_0x1cde8f(0x1a9),'cZQiD':_0x1cde8f(0x14e),'nBZQP':_0x1cde8f(0x14d),'ffCKC':'browserStackCwd','XHDsV':function(_0x466d1b){return _0x466d1b();}};await _0x25aa96[_0x1cde8f(0x13d)](_0x2ec146),await helper[_0x1cde8f(0x195)](_0x25aa96[_0x1cde8f(0x1b3)]);if(!_0x25aa96[_0x1cde8f(0x1b3)])return;process[_0x1cde8f(0x1c9)]=_0x2ec146[_0x1cde8f(0x1c9)];_0x2ec146[_0x1cde8f(0x1c9)]&&(process['env'][_0x1cde8f(0x1c9)]=_0x2ec146[_0x1cde8f(0x1c9)]);const _0x518198=_0x4eb764[_0x1cde8f(0x15f)](getUserCodeceptJSConfigs,_0x2ec146,_0x111e23);let _0x4de40d={};_0x518198?(logger['info'](_0x1cde8f(0x15d)+_0x518198),_0x4de40d=CodeceptJS[_0x1cde8f(0x1b3)][_0x1cde8f(0x186)](_0x518198)):logger[_0x1cde8f(0x151)](_0x4eb764[_0x1cde8f(0x13b)]);let _0x3cc906=![];_0x4eb764[_0x1cde8f(0x147)](nestedKeyValue,_0x4de40d,[_0x4eb764['vcfuL'],_0x4eb764[_0x1cde8f(0x133)]])&&(_0x3cc906=!![]);const _0x3f83ad=_0x3cc906?_0x4eb764[_0x1cde8f(0x133)]:_0x4eb764['rWsOS'];let _0x196d83=!_0x3cc906?helper[_0x1cde8f(0x166)](_0x25aa96[_0x1cde8f(0x1b3)]):![];!helper[_0x1cde8f(0x1c6)](_0x25aa96[_0x1cde8f(0x1b3)][_0x1cde8f(0x16c)])&&(process[_0x1cde8f(0x171)][_0x1cde8f(0x197)]=JSON[_0x1cde8f(0x1ce)](_0x25aa96[_0x1cde8f(0x1b3)][_0x1cde8f(0x16c)]));let _0x524e23=_0x25aa96[_0x1cde8f(0x1b3)][_0x1cde8f(0x153)];_0x524e23=_0x524e23||_0x4eb764['MrWTx'](checkAccessibilityPlatformConfig,_0x25aa96[_0x1cde8f(0x1b3)]),process[_0x1cde8f(0x171)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x524e23;_0x524e23&&(_0x196d83=!_0x524e23);_0x4eb764[_0x1cde8f(0x15a)](_0x25aa96[_0x1cde8f(0x1b3)]['testObservability'],null)?process[_0x1cde8f(0x171)][_0x1cde8f(0x13e)]=_0x25aa96[_0x1cde8f(0x1b3)][_0x1cde8f(0x156)]:process[_0x1cde8f(0x171)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x4eb764[_0x1cde8f(0x17a)](_0x3f83ad,_0x4eb764[_0x1cde8f(0x133)]);const _0x2281a2=_0x4eb764[_0x1cde8f(0x1be)](nestedKeyValue,_0x4de40d,[_0x4eb764[_0x1cde8f(0x164)]]),_0x123ea2=_0x2281a2&&!helper[_0x1cde8f(0x136)](_0x2281a2)?FRAMEWORKS['CODECEPT_CUCUMBER']:FRAMEWORKS[_0x1cde8f(0x183)],_0x491c16=await TestHubHandler[_0x1cde8f(0x1a3)](_0x123ea2,_0x25aa96);_0x524e23&&_0x4eb764[_0x1cde8f(0x1ad)](setAccessibilityCapabilities,_0x25aa96[_0x1cde8f(0x1b3)]);const _0x2ab2c0={},_0xd0ec1a=[],_0x6d7de5=_0x25aa96[_0x1cde8f(0x1b3)]['parallelsPerPlatform']||helper[_0x1cde8f(0x1a0)](_0x2ec146,_0x111e23,_0x25aa96['config'],constants[_0x1cde8f(0x198)][_0x1cde8f(0x183)])||0x1;let _0xa5f157=0x1;if(_0x4eb764[_0x1cde8f(0x182)](isBrowserstackInfra)){const _0x54439d=helper[_0x1cde8f(0x143)](_0x25aa96[_0x1cde8f(0x1b3)],_0x196d83,constants[_0x1cde8f(0x198)][_0x1cde8f(0x183)]);_0x54439d[_0x1cde8f(0x1a2)](_0x5dcf44=>{helper['setAdditionalCapabilities'](_0x5dcf44);}),helper['validPlatformsPresent'](_0x25aa96['config'])?_0xa5f157=_0x4eb764['RkHkx'](_0x6d7de5,_0x25aa96['config'][_0x1cde8f(0x167)][_0x1cde8f(0x187)]):_0xa5f157=_0x6d7de5,_0x54439d[_0x1cde8f(0x1a2)](_0x28a101=>{const _0x3f362c=_0x1cde8f,_0x5452cf={'VljgN':function(_0x5f3607,_0xc001de,_0x2040e9,_0x42b3e6){const _0x28137c=a2_0x573d;return _0x4eb764[_0x28137c(0x1ae)](_0x5f3607,_0xc001de,_0x2040e9,_0x42b3e6);},'kcasl':function(_0x1a153c,_0xbcf6e4){return _0x4eb764['HTMTn'](_0x1a153c,_0xbcf6e4);},'iiqcr':function(_0x51ccfe,_0x36cfd7){const _0x3d62a6=a2_0x573d;return _0x4eb764[_0x3d62a6(0x1ad)](_0x51ccfe,_0x36cfd7);}},_0x13d9a1=_0x4eb764[_0x3f362c(0x141)](helper[_0x3f362c(0x144)](_0x28a101,'_'),'_'+Date[_0x3f362c(0x1a6)]()),_0x5e318c=((()=>{const _0x4f522c=_0x3f362c;if(_0x3cc906){const _0x125459=pwToCodeceptBrowser[_0x28a101[_0x4f522c(0x181)]]||_0x28a101[_0x4f522c(0x181)],_0x384bb7=helper[_0x4f522c(0x15c)](_0x25aa96[_0x4f522c(0x1b3)]),_0x493a7c=Object[_0x4f522c(0x15b)]({},_0x28a101);return _0x5452cf[_0x4f522c(0x17f)](processAccessibilityCaps,_0x493a7c,_0x384bb7,null),{'browser':_0x125459,[_0x125459]:{'browserWSEndpoint':_0x5452cf[_0x4f522c(0x16a)](_0x384bb7,_0x5452cf[_0x4f522c(0x19a)](encodeURIComponent,JSON[_0x4f522c(0x1ce)](_0x493a7c)))}};}const _0x18a1a2={};return _0x18a1a2[_0x4f522c(0x1a9)]=_0x28a101,_0x18a1a2[_0x4f522c(0x17b)]=_0x25aa96[_0x4f522c(0x1b3)]['userName'],_0x18a1a2[_0x4f522c(0x1ca)]=_0x25aa96['config']['accessKey'],_0x18a1a2;})()),_0x21fdc0=_0x4eb764[_0x3f362c(0x1be)](nestedKeyValue,_0x4de40d,[_0x4eb764['vcfuL'],_0x3f83ad]);_0x2ab2c0[_0x13d9a1]=_0x21fdc0?helper[_0x3f362c(0x13c)](_0x5e318c,_0x21fdc0):_0x5e318c;if(_0x3cc906)_0x2ab2c0[_0x13d9a1][_0x3f362c(0x1c4)]=pwToCodeceptBrowser[_0x28a101['browserName']]||_0x28a101['browserName'];else{_0x2ab2c0[_0x13d9a1][_0x3f362c(0x1c4)]=_0x28a101[_0x3f362c(0x181)]||_0x5e318c[_0x3f362c(0x1c4)];if(_0x4eb764['NmrqS'](isBrowserstackInfra)){_0x2ab2c0[_0x13d9a1][_0x3f362c(0x19b)]=constants['hubUrl']['replace'](_0x4eb764['iUUAk'],'')['replace'](/https?:\/\//,'');;_0x2ab2c0[_0x13d9a1][_0x3f362c(0x139)]=_0x4eb764['iUUAk'];}}_0xd0ec1a['push'](_0x13d9a1);});}else{_0xa5f157=0x1;if(_0x3cc906){const _0x150352=_0x4eb764[_0x1cde8f(0x15f)](nestedKeyValue,_0x4de40d,[_0x4eb764[_0x1cde8f(0x17d)],_0x3f83ad,_0x4eb764[_0x1cde8f(0x19f)]]),_0x35659c=_0x4eb764[_0x1cde8f(0x1bc)](nestedKeyValue,_0x4de40d,[_0x4eb764['vcfuL'],_0x3f83ad,_0x150352]);if(_0x35659c&&_0x35659c[_0x1cde8f(0x146)]){const _0x5f4d45={};_0x5f4d45['platforms']=[],_0x35659c[_0x1cde8f(0x146)]=helper[_0x1cde8f(0x143)](Object[_0x1cde8f(0x15b)]({},_0x25aa96[_0x1cde8f(0x1b3)],_0x5f4d45),null,_0x123ea2[_0x1cde8f(0x1bf)](),null,null,_0x35659c[_0x1cde8f(0x146)]);}}else{const _0xb6d500={};_0xb6d500[_0x1cde8f(0x167)]=[],_0x4de40d[_0x4eb764[_0x1cde8f(0x17d)]][_0x3f83ad][_0x4eb764[_0x1cde8f(0x194)]]=helper[_0x1cde8f(0x143)](Object['assign']({},_0x25aa96['config'],_0xb6d500),null,_0x123ea2[_0x1cde8f(0x1bf)](),_0x4eb764[_0x1cde8f(0x15f)](nestedKeyValue,_0x4de40d,[_0x4eb764[_0x1cde8f(0x17d)],_0x3f83ad,_0x4eb764[_0x1cde8f(0x194)]])||{},null,null);}_0x2ab2c0[_0x4eb764[_0x1cde8f(0x165)]]=_0x4de40d,_0xd0ec1a[_0x1cde8f(0x175)](_0x4eb764[_0x1cde8f(0x165)]);}const _0x3c48f4={};_0x3c48f4[_0x1cde8f(0x18f)]=_0x518198;const _0x4de2f4=_0x3c48f4,_0x3f6aec=path[_0x1cde8f(0x17e)](__dirname,_0x4eb764[_0x1cde8f(0x140)]),_0x501e30=process[_0x1cde8f(0x18b)]();process[_0x1cde8f(0x171)][_0x4eb764[_0x1cde8f(0x1cd)]]=_0x501e30,process['chdir'](path['dirname'](_0x518198));const _0x2025a9=new CodeceptJS['Workers'](null,_0x4de2f4),_0x357ef7=_0x2025a9['createGroupsOfSuites'](_0xa5f157),_0x54839b=testOpsHelper['isTestObservabilitySession'](),_0x3a1835=_0xd0ec1a['map'](_0x51a00c=>{const _0x25dc41=_0x1cde8f,_0x379074={};_0x379074['Playwright']=_0x2ab2c0[_0x51a00c];const _0x4fa1ad={};_0x4fa1ad[_0x25dc41(0x173)]=_0x2ab2c0[_0x51a00c];const _0x2b82c1=_0x3cc906?_0x379074:_0x4fa1ad,_0x44429b=_0x4eb764[_0x25dc41(0x1c8)](getO11yRerunPattern),_0x230524={};_0x230524['helpers']=_0x2b82c1;const _0x492911={};_0x492911[_0x25dc41(0x160)]=_0x3f6aec,_0x492911[_0x25dc41(0x19e)]=!![],_0x492911['skipSessionName']=_0x25aa96[_0x25dc41(0x1b3)][_0x25dc41(0x18c)][_0x25dc41(0x1cc)],_0x492911[_0x25dc41(0x178)]=_0x25aa96[_0x25dc41(0x1b3)][_0x25dc41(0x18c)][_0x25dc41(0x178)],_0x492911[_0x25dc41(0x156)]=_0x54839b,_0x492911[_0x25dc41(0x16b)]=_0x123ea2;const _0x9ace47={};_0x9ace47[_0x25dc41(0x180)]=_0x492911;const _0x1404ca={};return _0x1404ca[_0x25dc41(0x152)]=_0x9ace47,helper[_0x25dc41(0x13c)]({},_0x4de40d,_0x4eb764['dsrTC'](isBrowserstackInfra)?_0x230524:{},_0x44429b?{'grep':_0x44429b}:{},_0x1404ca);});for(const _0x177506 of _0x3a1835){for(const _0x220a3a of _0x357ef7){const _0x1345c0=_0x2025a9[_0x1cde8f(0x179)]();_0x1345c0[_0x1cde8f(0x1b0)](_0x220a3a),_0x1345c0[_0x1cde8f(0x172)](_0x177506);const _0xe5951a={};_0xe5951a[_0x1cde8f(0x1b3)]=_0x518198,_0x1345c0['addOptions'](Object['assign'](_0xe5951a,_0x2ec146));}}_0x2025a9['on'](CodeceptJS[_0x1cde8f(0x161)][_0x1cde8f(0x16d)]['failed'],(_0x2793a7,_0x4958eb)=>{const _0xc4bb0=_0x1cde8f;console[_0xc4bb0(0x1c2)](_0x4eb764[_0xc4bb0(0x16f)],_0x2793a7[_0xc4bb0(0x148)]);const _0x23dec9={[_0x2793a7[_0xc4bb0(0x148)]]:_0x2793a7['err'][_0xc4bb0(0x1a1)]};_testErrorData[_0xc4bb0(0x175)](_0x23dec9);}),_0x2025a9['on'](CodeceptJS[_0x1cde8f(0x161)][_0x1cde8f(0x16d)][_0x1cde8f(0x1a5)],async _0x3d3e86=>{const _0x4f1ae9=_0x1cde8f;console[_0x4f1ae9(0x1c2)](_0x4eb764[_0x4f1ae9(0x13f)],_0x3d3e86[_0x4f1ae9(0x148)]);}),_0x2025a9['on'](CodeceptJS[_0x1cde8f(0x161)][_0x1cde8f(0x16d)][_0x1cde8f(0x12f)],async _0x327aa4=>{const _0x301254=_0x1cde8f;console['log'](_0x4eb764[_0x301254(0x1b9)],_0x327aa4[_0x301254(0x148)]);}),_0x2025a9['on'](CodeceptJS[_0x1cde8f(0x161)][_0x1cde8f(0x150)]['result'],async()=>{const _0x38a75a=_0x1cde8f,_0x26c324=_0x4eb764[_0x38a75a(0x188)][_0x38a75a(0x145)]('|');let _0x2c98b4=0x0;while(!![]){switch(_0x26c324[_0x2c98b4++]){case'0':utilities['finalExecution'](_0x25aa96);continue;case'1':_0x2025a9[_0x38a75a(0x142)]();continue;case'2':try{await TestHubHandler[_0x38a75a(0x18e)]();}catch(_0x102add){logger[_0x38a75a(0x1c1)](_0x38a75a(0x1a4)+util[_0x38a75a(0x185)](_0x102add));}continue;case'3':testOpsHelper[_0x38a75a(0x134)]();continue;case'4':PerformanceTester['start'](PerformanceEvents[_0x38a75a(0x1af)]);continue;case'5':_0x25aa96[_0x38a75a(0x1ac)]=_testErrorData;continue;}break;}});async function _0x138cad(){const _0x29895e=_0x1cde8f;try{await _0x2025a9['bootstrapAll'](),await _0x2025a9[_0x29895e(0x191)]();}finally{process['chdir'](_0x501e30),await _0x2025a9[_0x29895e(0x1ab)]();}}PerformanceTester['end'](PerformanceEvents[_0x1cde8f(0x162)]),_0x4eb764['XHDsV'](_0x138cad);}module[a2_0x22e31a(0x176)]=run;
|
|
2
|
+
'use strict';const a2_0x53ac23=a2_0x26f9;(function(_0x19965e,_0x307115){const _0x304290=a2_0x26f9,_0x4f933b=_0x19965e();while(!![]){try{const _0x2f9484=parseInt(_0x304290(0x194))/0x1+-parseInt(_0x304290(0x168))/0x2+parseInt(_0x304290(0x148))/0x3+-parseInt(_0x304290(0x1c4))/0x4+parseInt(_0x304290(0x17b))/0x5*(parseInt(_0x304290(0x18f))/0x6)+-parseInt(_0x304290(0x151))/0x7+parseInt(_0x304290(0x1d6))/0x8;if(_0x2f9484===_0x307115)break;else _0x4f933b['push'](_0x4f933b['shift']());}catch(_0x589962){_0x4f933b['push'](_0x4f933b['shift']());}}}(a2_0xaae9,0x38040));const fs=require('fs'),path=require(a2_0x53ac23(0x180)),util=require(a2_0x53ac23(0x19d)),process=require(a2_0x53ac23(0x1ac)),logger=require(a2_0x53ac23(0x162))['winstonLogger'],{default:BrowserStackSetup}=require(a2_0x53ac23(0x1a6)),helper=require('../../helpers/helper'),utilities=require(a2_0x53ac23(0x1ae)),{checkAccessibilityPlatformConfig}=require(a2_0x53ac23(0x16b)),{setAccessibilityCapabilities,processAccessibilityCaps}=require(a2_0x53ac23(0x183)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x53ac23(0x1ca)),CodeceptJS=requireModule(a2_0x53ac23(0x163),a2_0x53ac23(0x1bf)),testOpsHelper=require(a2_0x53ac23(0x189)),TestHubHandler=require(a2_0x53ac23(0x1d3)),constants=require(a2_0x53ac23(0x187)),PerformanceTester=require('../../helpers/performance/performance-tester'),{FRAMEWORKS}=require(a2_0x53ac23(0x169)),PerformanceEvents=require(a2_0x53ac23(0x17c))['EVENTS'],ClientTroubleShootingService=require(a2_0x53ac23(0x144)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x2e80ef,_0x2fb4d0)=>{const _0x409223=a2_0x53ac23,_0x2cd164={};_0x2cd164[_0x409223(0x15a)]=function(_0x38e46c,_0x4240ea){return _0x38e46c===_0x4240ea;},_0x2cd164[_0x409223(0x1ad)]=_0x409223(0x165),_0x2cd164[_0x409223(0x1ab)]='codecept.json';const _0xe7778b=_0x2cd164;let _0x2565ba=null;const _0x138e43={};let _0x5d132b=_0x2fb4d0['findIndex'](_0x1daaad=>_0x1daaad===_0x409223(0x1be));_0xe7778b['KqQTJ'](_0x5d132b,-0x1)&&(_0x5d132b=_0x2fb4d0['findIndex'](_0xbd1ff=>_0xbd1ff==='-c'));if(!helper['isUndefined'](_0x2e80ef[_0x409223(0x190)])&&fs['existsSync'](path[_0x409223(0x14c)](process['cwd'](),_0x2e80ef[_0x409223(0x190)])))_0x2565ba=path[_0x409223(0x14c)](process['cwd'](),_0x2e80ef['config']),_0x2fb4d0['slice'](_0x5d132b,0x2);else{if(!helper[_0x409223(0x185)](_0x2e80ef['c'])&&fs['existsSync'](path[_0x409223(0x14c)](process['cwd'](),_0x2e80ef['c'])))_0x2565ba=path['join'](process[_0x409223(0x1a9)](),_0x2e80ef['c']),_0x2fb4d0[_0x409223(0x149)](_0x5d132b,0x2);else{if(fs[_0x409223(0x18b)](path[_0x409223(0x14c)](process[_0x409223(0x1a9)](),_0xe7778b[_0x409223(0x1ad)])))_0x2565ba=path[_0x409223(0x14c)](process[_0x409223(0x1a9)](),_0xe7778b[_0x409223(0x1ad)]);else fs[_0x409223(0x18b)](path['join'](process['cwd'](),_0xe7778b[_0x409223(0x1ab)]))&&(_0x2565ba=path[_0x409223(0x14c)](process[_0x409223(0x1a9)](),_0xe7778b[_0x409223(0x1ab)]));}}return process[_0x409223(0x158)]['USER_CONFIG_DETAILS_PATH']=_0x2565ba,_0x2565ba;},getO11yRerunPattern=()=>{const _0x2d1897=a2_0x53ac23,_0xc50303=helper['isTrue'](process[_0x2d1897(0x158)]['BROWSERSTACK_RERUN']);if(_0xc50303){const _0x4303e0=process['env'][_0x2d1897(0x1d4)],_0x2f9ef2=[];if(helper[_0x2d1897(0x1d2)](_0x4303e0)&&!helper[_0x2d1897(0x185)](_0x4303e0)){_0x4303e0[_0x2d1897(0x1b9)](',')[_0x2d1897(0x159)](_0x327a5c=>{const _0x201135=_0x2d1897;_0x2f9ef2[_0x201135(0x16e)]('('+_0x327a5c[_0x201135(0x154)]()+')');});const _0x359128='^'+_0x2f9ef2[_0x2d1897(0x14c)]('|')+'$';return _0x359128;}}return null;},a2_0xf3a037={};a2_0xf3a037[a2_0x53ac23(0x179)]='chromium',a2_0xf3a037[a2_0x53ac23(0x1bb)]=a2_0x53ac23(0x15d),a2_0xf3a037[a2_0x53ac23(0x16a)]='firefox',a2_0xf3a037[a2_0x53ac23(0x1d7)]=a2_0x53ac23(0x182);function a2_0x26f9(_0x826cf0,_0x21ae80){const _0xaae9a1=a2_0xaae9();return a2_0x26f9=function(_0x26f9fc,_0x381446){_0x26f9fc=_0x26f9fc-0x140;let _0x2cf35a=_0xaae9a1[_0x26f9fc];return _0x2cf35a;},a2_0x26f9(_0x826cf0,_0x21ae80);}const pwToCodeceptBrowser=a2_0xf3a037;async function run(_0x5390e6,_0x3f5c53,_0x13b568){const _0x17727a=a2_0x53ac23,_0x3c8924={'zhLVO':function(_0x15ff0c,_0x57dbb3,_0x557034,_0x1b7820){return _0x15ff0c(_0x57dbb3,_0x557034,_0x1b7820);},'hgsdg':function(_0x10aa40,_0x4b62e8){return _0x10aa40+_0x4b62e8;},'mNRuz':function(_0x571217,_0x226f85){return _0x571217(_0x226f85);},'nHWCA':function(_0x5a4992,_0x46bc4b){return _0x5a4992+_0x46bc4b;},'OPFAZ':function(_0x26e706,_0x5e7bb4,_0x5e3fd4){return _0x26e706(_0x5e7bb4,_0x5e3fd4);},'SBwOE':'helpers','UGMAS':function(_0x47aa81){return _0x47aa81();},'UJqxQ':_0x17727a(0x174),'UJdRQ':function(_0x3e69b4){return _0x3e69b4();},'EcuPn':_0x17727a(0x172),'VTIyb':_0x17727a(0x196),'vmwCl':_0x17727a(0x15b),'uLqxk':'3|4|5|2|1|0','EFLeh':function(_0x2b55dc,_0x478fe1,_0x7d14b9){return _0x2b55dc(_0x478fe1,_0x7d14b9);},'nhTRY':_0x17727a(0x1ce),'EWjLn':_0x17727a(0x16f),'oqGLW':_0x17727a(0x1bc),'Clxvu':function(_0x21b78d,_0x60471b){return _0x21b78d!=_0x60471b;},'nRvAg':function(_0x3b84d4,_0x2a6b7f){return _0x3b84d4===_0x2a6b7f;},'IUZNK':_0x17727a(0x1a1),'GxpGU':function(_0x3d0bee,_0x57a88f){return _0x3d0bee(_0x57a88f);},'bmdsn':function(_0x3816f5){return _0x3816f5();},'VAzaZ':function(_0x4b0628,_0x264330){return _0x4b0628*_0x264330;},'PaWkC':function(_0x197c94,_0x506e5b,_0x321e1c){return _0x197c94(_0x506e5b,_0x321e1c);},'WAHIJ':_0x17727a(0x155),'CjEWh':'desiredCapabilities','vmqOm':function(_0x595af7,_0x5c55a5,_0x2d7cad){return _0x595af7(_0x5c55a5,_0x2d7cad);},'HsOHx':_0x17727a(0x156),'EyCng':_0x17727a(0x1c3),'CQVWF':_0x17727a(0x14a),'dOnKf':function(_0x3d192f){return _0x3d192f();}};await _0x13b568[_0x17727a(0x1b2)](_0x5390e6),await helper[_0x17727a(0x1cf)](_0x13b568[_0x17727a(0x190)]);if(!_0x13b568['config'])return;process[_0x17727a(0x18d)]=_0x5390e6['profile'];_0x5390e6[_0x17727a(0x18d)]&&(process[_0x17727a(0x158)][_0x17727a(0x18d)]=_0x5390e6[_0x17727a(0x18d)]);const _0x4cc1b9=_0x3c8924[_0x17727a(0x1b8)](getUserCodeceptJSConfigs,_0x5390e6,_0x3f5c53);let _0x1299b1={};_0x4cc1b9?(logger[_0x17727a(0x1a4)]('Getting\x20your\x20codeceptjs\x20configs\x20from\x20'+_0x4cc1b9),_0x1299b1=CodeceptJS[_0x17727a(0x190)]['load'](_0x4cc1b9)):logger['info'](_0x3c8924[_0x17727a(0x150)]);let _0x48a6a4=![];_0x3c8924[_0x17727a(0x1c5)](nestedKeyValue,_0x1299b1,[_0x3c8924[_0x17727a(0x186)],_0x3c8924[_0x17727a(0x147)]])&&(_0x48a6a4=!![]);const _0x2b2c0b=_0x48a6a4?_0x3c8924['EWjLn']:_0x3c8924[_0x17727a(0x1c8)];let _0x3fc2e5=!_0x48a6a4?helper['useW3C'](_0x13b568[_0x17727a(0x190)]):![];!helper[_0x17727a(0x185)](_0x13b568[_0x17727a(0x190)]['accessibilityOptions'])&&(process[_0x17727a(0x158)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x17727a(0x1a8)](_0x13b568[_0x17727a(0x190)]['accessibilityOptions']));let _0x3e21b7=_0x13b568[_0x17727a(0x190)][_0x17727a(0x14d)];_0x3e21b7=_0x3e21b7||_0x3c8924[_0x17727a(0x176)](checkAccessibilityPlatformConfig,_0x13b568[_0x17727a(0x190)]),process[_0x17727a(0x158)][_0x17727a(0x181)]=_0x3e21b7;_0x3e21b7&&(_0x3fc2e5=!_0x3e21b7);_0x3c8924[_0x17727a(0x160)](_0x13b568[_0x17727a(0x190)][_0x17727a(0x177)],null)?process[_0x17727a(0x158)][_0x17727a(0x17d)]=_0x13b568[_0x17727a(0x190)]['testObservability']:process[_0x17727a(0x158)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x3c8924[_0x17727a(0x199)](_0x2b2c0b,_0x3c8924[_0x17727a(0x147)]);const _0x7593dc=_0x3c8924[_0x17727a(0x1c5)](nestedKeyValue,_0x1299b1,[_0x3c8924[_0x17727a(0x188)]]),_0x5f3ab7=_0x7593dc&&!helper['isEmpty'](_0x7593dc)?FRAMEWORKS[_0x17727a(0x16c)]:FRAMEWORKS[_0x17727a(0x1c1)],_0x24d99b=await TestHubHandler['launchBuild'](_0x5f3ab7,_0x13b568);_0x3e21b7&&_0x3c8924[_0x17727a(0x18c)](setAccessibilityCapabilities,_0x13b568[_0x17727a(0x190)]);const _0x398095={},_0x16065c=[],_0x282fd0=_0x13b568['config'][_0x17727a(0x16d)]||helper['getUserWorkerCount'](_0x5390e6,_0x3f5c53,_0x13b568[_0x17727a(0x190)],constants[_0x17727a(0x140)][_0x17727a(0x1c1)])||0x1;let _0x2e602e=0x1;if(_0x3c8924[_0x17727a(0x141)](isBrowserstackInfra)){const _0x2b3f06=helper['prepareCapabilities'](_0x13b568['config'],_0x3fc2e5,constants[_0x17727a(0x140)][_0x17727a(0x1c1)]);_0x2b3f06[_0x17727a(0x1cc)](_0x432535=>{const _0xf97366=_0x17727a;helper[_0xf97366(0x15e)](_0x432535);}),helper[_0x17727a(0x161)](_0x13b568[_0x17727a(0x190)])?_0x2e602e=_0x3c8924[_0x17727a(0x1af)](_0x282fd0,_0x13b568[_0x17727a(0x190)][_0x17727a(0x173)][_0x17727a(0x15f)]):_0x2e602e=_0x282fd0,_0x2b3f06[_0x17727a(0x1cc)](_0x461ec9=>{const _0x5502b2=_0x17727a,_0x489ba3=_0x3c8924[_0x5502b2(0x14b)](helper[_0x5502b2(0x192)](_0x461ec9,'_'),'_'+Date['now']()),_0x104342=((()=>{const _0x1ffe4d=_0x5502b2;if(_0x48a6a4){const _0x2f4496=pwToCodeceptBrowser[_0x461ec9[_0x1ffe4d(0x1a2)]]||_0x461ec9[_0x1ffe4d(0x1a2)],_0x38b922=helper['getPlaywrightUrl'](_0x13b568[_0x1ffe4d(0x190)]),_0x5cd8b9=Object[_0x1ffe4d(0x15c)]({},_0x461ec9);return _0x3c8924['zhLVO'](processAccessibilityCaps,_0x5cd8b9,_0x38b922,null),{'browser':_0x2f4496,[_0x2f4496]:{'browserWSEndpoint':_0x3c8924[_0x1ffe4d(0x18e)](_0x38b922,_0x3c8924[_0x1ffe4d(0x176)](encodeURIComponent,JSON[_0x1ffe4d(0x1a8)](_0x5cd8b9)))}};}const _0x1783ec={};return _0x1783ec[_0x1ffe4d(0x1d0)]=_0x461ec9,_0x1783ec[_0x1ffe4d(0x17a)]=_0x13b568[_0x1ffe4d(0x190)][_0x1ffe4d(0x17f)],_0x1783ec[_0x1ffe4d(0x152)]=_0x13b568[_0x1ffe4d(0x190)][_0x1ffe4d(0x18a)],_0x1783ec;})()),_0xf9f9ef=_0x3c8924['OPFAZ'](nestedKeyValue,_0x1299b1,[_0x3c8924[_0x5502b2(0x186)],_0x2b2c0b]);_0x398095[_0x489ba3]=_0xf9f9ef?helper[_0x5502b2(0x184)](_0x104342,_0xf9f9ef):_0x104342;if(_0x48a6a4)_0x398095[_0x489ba3]['browser']=pwToCodeceptBrowser[_0x461ec9[_0x5502b2(0x1a2)]]||_0x461ec9[_0x5502b2(0x1a2)];else{_0x398095[_0x489ba3][_0x5502b2(0x155)]=_0x461ec9[_0x5502b2(0x1a2)]||_0x104342[_0x5502b2(0x155)];if(_0x3c8924[_0x5502b2(0x197)](isBrowserstackInfra)){_0x398095[_0x489ba3][_0x5502b2(0x175)]=constants['hubUrl'][_0x5502b2(0x19f)](_0x3c8924[_0x5502b2(0x17e)],'')[_0x5502b2(0x19f)](/https?:\/\//,'');;_0x398095[_0x489ba3][_0x5502b2(0x180)]=_0x3c8924[_0x5502b2(0x17e)];}}_0x16065c[_0x5502b2(0x16e)](_0x489ba3);});}else{_0x2e602e=0x1;if(_0x48a6a4){const _0x3594d6=_0x3c8924['PaWkC'](nestedKeyValue,_0x1299b1,[_0x3c8924['SBwOE'],_0x2b2c0b,_0x3c8924['WAHIJ']]),_0x4d9b18=_0x3c8924[_0x17727a(0x1b3)](nestedKeyValue,_0x1299b1,[_0x3c8924[_0x17727a(0x186)],_0x2b2c0b,_0x3594d6]);if(_0x4d9b18&&_0x4d9b18[_0x17727a(0x143)]){const _0x1c9664={};_0x1c9664[_0x17727a(0x173)]=[],_0x4d9b18[_0x17727a(0x143)]=helper[_0x17727a(0x14f)](Object[_0x17727a(0x15c)]({},_0x13b568[_0x17727a(0x190)],_0x1c9664),null,_0x5f3ab7[_0x17727a(0x142)](),null,null,_0x4d9b18[_0x17727a(0x143)]);}}else{const _0x1d769d={};_0x1d769d[_0x17727a(0x173)]=[],_0x1299b1[_0x3c8924[_0x17727a(0x186)]][_0x2b2c0b][_0x3c8924[_0x17727a(0x170)]]=helper[_0x17727a(0x14f)](Object['assign']({},_0x13b568[_0x17727a(0x190)],_0x1d769d),null,_0x5f3ab7[_0x17727a(0x142)](),_0x3c8924[_0x17727a(0x1a7)](nestedKeyValue,_0x1299b1,[_0x3c8924[_0x17727a(0x186)],_0x2b2c0b,_0x3c8924[_0x17727a(0x170)]])||{},null,null);}_0x398095[_0x3c8924[_0x17727a(0x195)]]=_0x1299b1,_0x16065c['push'](_0x3c8924['HsOHx']);}const _0x1ebf8d={};_0x1ebf8d['testConfig']=_0x4cc1b9;const _0xe620d7=_0x1ebf8d,_0x5b7186=path[_0x17727a(0x14c)](__dirname,_0x3c8924['EyCng']),_0x2c877e=process[_0x17727a(0x1a9)]();process[_0x17727a(0x158)][_0x3c8924['CQVWF']]=_0x2c877e,process['chdir'](path['dirname'](_0x4cc1b9));const _0x483097=new CodeceptJS[(_0x17727a(0x145))](null,_0xe620d7),_0x4e66b5=_0x483097[_0x17727a(0x1bd)](_0x2e602e),_0x2fd109=testOpsHelper[_0x17727a(0x19a)](),_0x5b52d7=_0x16065c['map'](_0x1743dd=>{const _0x9f100b=_0x17727a,_0x3bafba={};_0x3bafba[_0x9f100b(0x16f)]=_0x398095[_0x1743dd];const _0x12704e={};_0x12704e[_0x9f100b(0x1bc)]=_0x398095[_0x1743dd];const _0x58e3ab=_0x48a6a4?_0x3bafba:_0x12704e,_0x32e787=_0x3c8924[_0x9f100b(0x166)](getO11yRerunPattern),_0x248ff4={};_0x248ff4['helpers']=_0x58e3ab;const _0x5a8d86={};_0x5a8d86[_0x9f100b(0x1c6)]=_0x5b7186,_0x5a8d86[_0x9f100b(0x1a5)]=!![],_0x5a8d86[_0x9f100b(0x1b6)]=_0x13b568['config'][_0x9f100b(0x198)][_0x9f100b(0x1b6)],_0x5a8d86[_0x9f100b(0x19c)]=_0x13b568['config'][_0x9f100b(0x198)][_0x9f100b(0x19c)],_0x5a8d86[_0x9f100b(0x177)]=_0x2fd109,_0x5a8d86[_0x9f100b(0x19b)]=_0x5f3ab7;const _0x3af2ee={};_0x3af2ee[_0x9f100b(0x1b7)]=_0x5a8d86;const _0x14e418={};return _0x14e418['plugins']=_0x3af2ee,helper['mergeDeep']({},_0x1299b1,_0x3c8924[_0x9f100b(0x197)](isBrowserstackInfra)?_0x248ff4:{},_0x32e787?{'grep':_0x32e787}:{},_0x14e418);});for(const _0x3960ea of _0x5b52d7){for(const _0x58085f of _0x4e66b5){const _0xe3c48e=_0x483097[_0x17727a(0x1b0)]();_0xe3c48e[_0x17727a(0x1a3)](_0x58085f),_0xe3c48e[_0x17727a(0x1ba)](_0x3960ea);const _0x4a6253={};_0x4a6253[_0x17727a(0x190)]=_0x4cc1b9,_0xe3c48e[_0x17727a(0x171)](Object[_0x17727a(0x15c)](_0x4a6253,_0x5390e6));}}_0x483097['on'](CodeceptJS[_0x17727a(0x146)][_0x17727a(0x167)][_0x17727a(0x193)],(_0x10a1de,_0x293c54)=>{const _0x28a896=_0x17727a;console[_0x28a896(0x1b1)](_0x3c8924[_0x28a896(0x1b4)],_0x10a1de['title']);const _0x43a3ed={[_0x10a1de[_0x28a896(0x19e)]]:_0x10a1de[_0x28a896(0x1d1)][_0x28a896(0x1cb)]};_testErrorData['push'](_0x43a3ed);}),_0x483097['on'](CodeceptJS['event'][_0x17727a(0x167)][_0x17727a(0x153)],async _0x15f7db=>{const _0x337764=_0x17727a;console[_0x337764(0x1b1)](_0x3c8924['VTIyb'],_0x15f7db[_0x337764(0x19e)]);}),_0x483097['on'](CodeceptJS['event'][_0x17727a(0x167)]['before'],async _0x214e64=>{const _0x4fc374=_0x17727a;console[_0x4fc374(0x1b1)](_0x3c8924[_0x4fc374(0x14e)],_0x214e64[_0x4fc374(0x19e)]);}),_0x483097['on'](CodeceptJS['event']['all'][_0x17727a(0x1cd)],async()=>{const _0x29307d=_0x17727a,_0x5c861f=_0x3c8924['uLqxk']['split']('|');let _0x23fb43=0x0;while(!![]){switch(_0x5c861f[_0x23fb43++]){case'0':_0x483097[_0x29307d(0x1c0)]();continue;case'1':try{await TestHubHandler[_0x29307d(0x1c7)]();}catch(_0x32d420){logger[_0x29307d(0x1aa)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x29307d(0x1c2)](_0x32d420));}continue;case'2':utilities[_0x29307d(0x178)](_0x13b568);continue;case'3':PerformanceTester['start'](PerformanceEvents[_0x29307d(0x164)]);continue;case'4':_0x13b568[_0x29307d(0x191)]=_testErrorData;continue;case'5':testOpsHelper['printBuildLink']();continue;}break;}});async function _0x221a0b(){const _0xee799e=_0x17727a;try{await _0x483097[_0xee799e(0x1c9)](),await _0x483097[_0xee799e(0x1d5)]();}finally{process[_0xee799e(0x157)](_0x2c877e),await _0x483097[_0xee799e(0x1a0)]();}}PerformanceTester['end'](PerformanceEvents['SDK_SETUP']),_0x3c8924[_0x17727a(0x1b5)](_0x221a0b);}function a2_0xaae9(){const _0x3c9650=['title','replace','teardownAll','gherkin','browserName','addTests','info','enabled','../../helpers/BrowserStackSetup','vmqOm','stringify','cwd','debug','KEGty','process','ygnKl','../../helpers/utilities','VAzaZ','spawn','log','initialize','PaWkC','EcuPn','dOnKf','skipSessionName','BrowserStackPlugin','EFLeh','split','addConfig','playwright-chromium','WebDriver','createGroupsOfSuites','--config','codeceptjs','printResults','CODECEPT','format','BrowserStackPlugin.js','783368hjbMuf','OPFAZ','require','stop','oqGLW','bootstrapAll','../../helpers/helper','stack','forEach','result','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','handleApp','desiredCapabilities','err','validateRerunTestList','../../helpers/testhub/testhubHandler','BROWSERSTACK_RERUN_TESTS','run','4453232rNKtyp','playwright-webkit','FRAMEWORKS','bmdsn','toLowerCase','browserWSEndpoint','../utils/clientTroubleshootingService','Workers','event','EWjLn','155280XdDpvL','slice','browserStackCwd','nHWCA','join','accessibility','vmwCl','prepareCapabilities','nhTRY','2365202WoFwpq','key','passed','trim','browser','root','chdir','env','map','KqQTJ','Started\x20:\x20','assign','chromium','setAdditionalCapabilities','length','Clxvu','validPlatformsPresent','../../helpers/logger','codeceptjs/lib/index.js','SDK_CLEANUP','codecept.conf.js','UJdRQ','test','729848lZMMdb','../../helpers/test-observability/constants','playwright-firefox','../../helpers/accessibility-automation/helper','CODECEPT_CUCUMBER','parallelsPerPlatform','push','Playwright','CjEWh','addOptions','Failed\x20:\x20','platforms','/wd/hub','host','mNRuz','testObservability','finalExecution','chrome','user','197590ejJWRX','../../helpers/performance/constants','BROWSERSTACK_TEST_OBSERVABILITY_YML','UJqxQ','userName','path','BROWSERSTACK_TEST_ACCESSIBILITY_YML','webkit','../../bin/playwright/accessibility-helper','mergeDeep','isUndefined','SBwOE','../utils/constants','IUZNK','../../helpers/test-observability/utils','accessKey','existsSync','GxpGU','profile','hgsdg','24RzTjju','config','errorMessage','getPlatformName','failed','361606yUtJnr','HsOHx','Passed\x20:\x20','UGMAS','testContextOptions','nRvAg','isTestObservabilitySession','frameworkName','skipSessionStatus','util'];a2_0xaae9=function(){return _0x3c9650;};return a2_0xaae9();}module['exports']=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a3_0x378b0d=a3_0x53b5;function a3_0x3a82(){const _0x4a7a81=['shouldPatchExecuteScript','srLbk','get','\x20browser\x20version\x20','../../helpers/accessibility-automation/helper','vQxIC','getMinVersionForBrowser','../../bin/playwright/sessionDetails','browserstack_executor','Lixou','530StMWoF','35xHlbzr','65694YEuRHK','\x20or\x20higher\x20','accessibilityPlatform','rSMmy','osVersion','searchParams','unknown_grid','warn','Playwright','isVersionSupported','inYXm','152373QKuuaO','includes','isBrowserSupportedForAccessibility','processWebDriverConfig','browser','XOkDI','getDetails','sessionId','browserName','constructor','DTNgG','GsqIC','browser_version','MfUuT','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','bstack:options','8JCgbBR','capabilities','__cloud_provider___','12346TuZRYp','PchkL','6542041pxZHqm','qSUkA','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','getBrowserDisplayName','PstUH','cRgUD','name','VRPxv','862976XJpnWi','86tqWPsA','winstonLogger','os_version','deviceName','ICcMD','MCBbO','platformVersion','BKkLZ','NIZds','string','IqPWu','desiredCapabilities','browserVersion','SazEc','latest','ibdeK','bsSessionId','111654hlYIdZ','../../helpers/helper','cOqlv','RsfQe','platform','WQLQR','config','caps','WebDriver','4487630xtXYwx'];a3_0x3a82=function(){return _0x4a7a81;};return a3_0x3a82();}(function(_0x46b4e4,_0x5f2f1d){const _0xdda9be=a3_0x53b5,_0x199748=_0x46b4e4();while(!![]){try{const _0x5e5bbe=-parseInt(_0xdda9be(0x218))/0x1*(parseInt(_0xdda9be(0x223))/0x2)+parseInt(_0xdda9be(0x204))/0x3+parseInt(_0xdda9be(0x222))/0x4+-parseInt(_0xdda9be(0x1f8))/0x5*(-parseInt(_0xdda9be(0x1f9))/0x6)+-parseInt(_0xdda9be(0x23d))/0x7*(-parseInt(_0xdda9be(0x215))/0x8)+-parseInt(_0xdda9be(0x234))/0x9*(parseInt(_0xdda9be(0x1f7))/0xa)+parseInt(_0xdda9be(0x21a))/0xb;if(_0x5e5bbe===_0x5f2f1d)break;else _0x199748['push'](_0x199748['shift']());}catch(_0x2c4c9c){_0x199748['push'](_0x199748['shift']());}}}(a3_0x3a82,0x5f5cb));function a3_0x53b5(_0x3d32ab,_0x22d92d){const _0x3a826c=a3_0x3a82();return a3_0x53b5=function(_0x53b5ca,_0x342db4){_0x53b5ca=_0x53b5ca-0x1f4;let _0x47807f=_0x3a826c[_0x53b5ca];return _0x47807f;},a3_0x53b5(_0x3d32ab,_0x22d92d);}const {isUndefined,nestedKeyValue}=require(a3_0x378b0d(0x235)),logger=require('../../helpers/logger')[a3_0x378b0d(0x224)],PlaywrightSessionDetails=require(a3_0x378b0d(0x1f4)),{isAccessibilityAutomationSession}=require(a3_0x378b0d(0x242)),{getObservabilityLinkedProductName}=require('../../helpers/test-observability/utils'),accessibilityHelper=require(a3_0x378b0d(0x242)),{isBrowserstackInfra}=require(a3_0x378b0d(0x235)),getOSVersionFromCaps=_0x5b0785=>{const _0x2ca9c0=a3_0x378b0d,_0x276454={};_0x276454[_0x2ca9c0(0x239)]=_0x2ca9c0(0x214),_0x276454[_0x2ca9c0(0x203)]=_0x2ca9c0(0x229),_0x276454['GsqIC']='platform_version',_0x276454[_0x2ca9c0(0x22b)]=_0x2ca9c0(0x1fd),_0x276454[_0x2ca9c0(0x219)]=_0x2ca9c0(0x225);const _0x3dace4=_0x276454;if(!_0x5b0785)return null;const _0x487172=_0x5b0785[_0x3dace4[_0x2ca9c0(0x239)]],_0x2246a1=[_0x3dace4[_0x2ca9c0(0x203)],_0x3dace4[_0x2ca9c0(0x20f)],_0x3dace4[_0x2ca9c0(0x22b)],_0x3dace4['PchkL']];for(const _0x245bfc of _0x2246a1){if(_0x487172&&_0x487172[_0x245bfc])return _0x487172[_0x245bfc];else{if(_0x5b0785[_0x245bfc])return _0x5b0785[_0x245bfc];}}return null;};exports['fetchPlatformDetails']=_0x340eb9=>{const _0x384c7e=a3_0x378b0d,_0x3c4a6f={'DTNgG':_0x384c7e(0x1ff),'RsfQe':function(_0x3d8ddd,_0x1fe71d){return _0x3d8ddd===_0x1fe71d;},'Lixou':_0x384c7e(0x23c),'XOkDI':function(_0x32f108,_0x1ce4ac){return _0x32f108(_0x1ce4ac);},'srLbk':function(_0x19f4a8,_0x13bdd3,_0x53bc2c){return _0x19f4a8(_0x13bdd3,_0x53bc2c);},'MfUuT':_0x384c7e(0x23a),'qSUkA':_0x384c7e(0x22e),'VRPxv':function(_0x28616a,_0x5d10b9){return _0x28616a(_0x5d10b9);},'SazEc':_0x384c7e(0x201),'BKkLZ':_0x384c7e(0x208),'ddvmn':'browserWSEndpoint','cOqlv':_0x384c7e(0x23b)};if(!_0x340eb9)return null;let _0x1f2de9=global[_0x384c7e(0x217)]||_0x3c4a6f[_0x384c7e(0x20e)];if(_0x3c4a6f['RsfQe'](_0x340eb9[_0x384c7e(0x20d)][_0x384c7e(0x220)],_0x3c4a6f[_0x384c7e(0x1f6)])){const _0x478459=_0x340eb9['browser'];if(!_0x478459)return null;const _0xf536e8=_0x478459[_0x384c7e(0x216)],_0x5d18e9=_0x3c4a6f[_0x384c7e(0x209)](getOSVersionFromCaps,_0x3c4a6f[_0x384c7e(0x23f)](nestedKeyValue,_0x340eb9,[_0x3c4a6f[_0x384c7e(0x211)],_0x3c4a6f[_0x384c7e(0x21b)]]));return{[_0x1f2de9]:{'browser':_0xf536e8[_0x384c7e(0x20c)],'browser_version':_0xf536e8[_0x384c7e(0x22f)],'capabilities':_0xf536e8,'platform':_0xf536e8['platformName'],'platform_version':_0xf536e8[_0x384c7e(0x229)]||_0x5d18e9,'product':_0x3c4a6f[_0x384c7e(0x221)](getObservabilityLinkedProductName,_0xf536e8),'session_id':_0x478459[_0x384c7e(0x20b)]}};}else{if(_0x3c4a6f[_0x384c7e(0x237)](_0x340eb9[_0x384c7e(0x20d)][_0x384c7e(0x220)],_0x3c4a6f[_0x384c7e(0x230)])){const _0x5c5b34=PlaywrightSessionDetails[_0x384c7e(0x20a)]();_0x1f2de9=_0x5c5b34['cloudProvider']||_0x1f2de9;const _0x2c7d6b=_0x3c4a6f['srLbk'](nestedKeyValue,_0x340eb9,[_0x3c4a6f[_0x384c7e(0x211)],_0x3c4a6f[_0x384c7e(0x22a)],_0x3c4a6f['ddvmn']]),_0x463cd5=_0x2c7d6b?JSON['parse'](new URL(_0x2c7d6b)[_0x384c7e(0x1fe)][_0x384c7e(0x240)](_0x3c4a6f[_0x384c7e(0x236)])):{};return{[_0x1f2de9]:{'browser':_0x5c5b34[_0x384c7e(0x208)]||_0x463cd5[_0x384c7e(0x20c)],'browser_version':_0x5c5b34[_0x384c7e(0x210)]||_0x463cd5[_0x384c7e(0x210)],'capabilities':_0x463cd5,'platform':_0x5c5b34[_0x384c7e(0x238)],'platform_version':_0x5c5b34['platform_version'],'product':_0x3c4a6f['VRPxv'](getObservabilityLinkedProductName,_0x463cd5),'session_id':_0x5c5b34[_0x384c7e(0x233)]}};}}},exports[a3_0x378b0d(0x207)]=_0x309708=>{const _0x4a1475=a3_0x378b0d,_0x22cb83={'PstUH':function(_0x4dcd55){return _0x4dcd55();},'rSMmy':_0x4a1475(0x212),'ICcMD':function(_0x7db4e7,_0xc1355f){return _0x7db4e7!==_0xc1355f;},'cRgUD':_0x4a1475(0x231),'MCBbO':'on\x20non-BrowserStack\x20infrastructure\x20','ibdeK':function(_0x3eb2ff,_0x2dbde7){return _0x3eb2ff(_0x2dbde7);},'qfRst':_0x4a1475(0x21c)};if(_0x22cb83[_0x4a1475(0x21e)](isAccessibilityAutomationSession)){const _0x14e8e3=_0x309708[_0x4a1475(0x208)],_0xf1e4d3=_0x14e8e3[_0x4a1475(0x216)];global[_0x4a1475(0x1fb)]=!![];!accessibilityHelper[_0x4a1475(0x206)](_0xf1e4d3['browserName'])&&(logger[_0x4a1475(0x200)](_0x22cb83[_0x4a1475(0x1fc)]),global[_0x4a1475(0x1fb)]=![]);if(_0x22cb83[_0x4a1475(0x227)](_0xf1e4d3[_0x4a1475(0x22f)],_0x22cb83[_0x4a1475(0x21f)])){const _0x44dd83=_0x22cb83[_0x4a1475(0x21e)](isBrowserstackInfra),_0xb8202e=accessibilityHelper[_0x4a1475(0x244)](_0xf1e4d3[_0x4a1475(0x20c)],_0x44dd83),_0x2673ee=accessibilityHelper[_0x4a1475(0x21d)](_0xf1e4d3['browserName']);if(!accessibilityHelper[_0x4a1475(0x202)](_0xf1e4d3[_0x4a1475(0x22f)],_0xb8202e)){const _0x479559=_0x44dd83?'':_0x22cb83[_0x4a1475(0x228)];logger[_0x4a1475(0x200)](_0x4a1475(0x213)+_0x2673ee+_0x4a1475(0x241)+_0xb8202e+_0x4a1475(0x1fa)+_0x479559+'.'),global[_0x4a1475(0x1fb)]=![];}}!_0x22cb83[_0x4a1475(0x232)](isUndefined,_0xf1e4d3[_0x4a1475(0x226)])&&(logger[_0x4a1475(0x200)](_0x22cb83['qfRst']),global[_0x4a1475(0x1fb)]=![]);}},exports[a3_0x378b0d(0x23e)]=_0x532826=>{const _0x37b86a=a3_0x378b0d,_0x2ff492={};_0x2ff492['xBLlp']=function(_0x1f4af8,_0x44951d){return _0x1f4af8!==_0x44951d;},_0x2ff492[_0x37b86a(0x243)]=_0x37b86a(0x22c),_0x2ff492['DyZeY']=_0x37b86a(0x1f5),_0x2ff492[_0x37b86a(0x22d)]='browserstack_accessibility_automation_script';const _0x548a15=_0x2ff492;if(!_0x532826)return![];else{if(_0x548a15['xBLlp'](typeof _0x532826,_0x548a15[_0x37b86a(0x243)]))return!![];}return!_0x532826[_0x37b86a(0x205)](_0x548a15['DyZeY'])&&!_0x532826['includes'](_0x548a15['IqPWu']);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a4_0x254b(){const _0x45291d=['finished','removeAllListeners','hook_run_uuid','name','statSync','fGkqR','length','backtrace','../utils/constants','nMkcx','JQhWw','../../helpers/test-observability/requestQueueHandler','javascript','failureData','uuid','CBTSessionCreated','kZcHa','TestRunFinished','190641tXhIHk','_afterAll','kcIzV','yXZOH','jfyWF','parent','STATE_PASSED','2533835MgrmKV','../../helpers/testhub/utils.js','DIUWE','relative','cwd','findGitConfig','test','Playwright','success','WuvMt','./helper.js','luiAv','JXBrF','status','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','yFfkJ','bddSteps','meta','getHierarchy','3801552sBxJLa','oBPRw','uHUDf','pqTYR','FNJgK','sendCBTInfo','bugfk','ajsLE','failure','currentTest','../../helpers/logger','gaiLP','AFJgm','nOMeE','fejCR','BROWSERSTACK','shutdown','GBnbd','ctx','1300053wdYfAp','skipped','type','location_prefix','zWdgH','jjaoG','driver','Cjxbe','XOuQl','1512054tovsdZ','DOWCU','qWBbM','getCBTInfo','../../helpers/test-observability/constants','feature','getInstance','TestRunSkipped','PLAYWRIGHT_HUB_URL','VfDyV','connect','kyAGH','LqfNp','gpuVv','err','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','../mocha/test-observability/mochaUtils','finished_at','debug','includes','file','RnDdK','HookRunStarted','QfTSk','lonRA','SrMva','errorsDetailed','testAnalyticsId','PJXBX','hookAnalyticsId','util','ABboh','fullTitle','LogCreated','hKddK','bddStepStart','__platformCaps','failure_backtrace','DjDvQ','KgxmG','constructor','failed','hook','ZSkzv','MQLwS','hooks','now','CvoYL','HOOK_RUN_FINISHED','Failed\x20to\x20parse\x20wsendpoint\x20','UcuuH','\x20with\x20error\x20:\x20','client','tags','GTuBq','event_type','BrowserType','LDzdq','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','toISOString','test_run','getTime','sBlXZ','retryOf','AAfKm','appendTestItemLog','toString','text','YEiIO','pcEdk','find','TEST_REPORTING_ANALYTICS','suites','TDnka','message','fJpxf','stringify','TEST_EVENTS','logs','hook_run','pid','_afterEach','browserType.js','string','groups','3646832PqxsnN','title','TEST_RUN_STARTED','ubYZO','hIbZh','xxIAm','BUOhB','nMcDe','started','cJnoI','Nnjrc','enabled','start','stepAnalyticsId','then','getHooksForTest','currentHook','O11yHelper','keyword','TEST_RUN_FINISHED','connectOverCDP','3|0|5|1|2|4','XoGfb','eUXUh','XFMLr','bddStepFinish','OIvDO','dirname','replace','aGqwi','join','match','rToBO','DkMrg','Not\x20able\x20to\x20import\x20Browser','passed','frameworkName','push','RIhZs','file_name','../playwright/accessibility-helper','comment','duration','stop','initializeBddStep','result','oulYj','jyNRN','_beforeEach','362348ZQjFPS','PathHelper','_paths','inspect','VTayt','.git','browserstack','bs:addLog:','__cloud_provider___','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','IBjel','STATE_FAILED','pmvRh','path','pending','failure_reason_expanded','File\x20path\x20could\x20not\x20be\x20found','uploadEventData','MWRzo','apply','accessibilityPlatform','cCdAs','markedStatus','toUpperCase','getRootParentFile','resetSkipTestHooks','lib','ZyRDv','HYJRA','TEST_RUN_SKIPPED','../../helpers/test-observability/utils','patchConsoleLogger','HookRunFinished','integrations','mapTestHooks','body','PanAe','defineProperty','wsEndpoint','forEach','toLowerCase','_testEnv','setupBrowserDetails','bFUSn','zuIwL','kYCpb','launch','SamFr','startedAt','ysYBF','2AdnACk','TestRunStarted','obsBrowserTypeMockApplied','../../helpers/test-observability/sessionHandler','TZzZV','wjIlA','getHookType','../../helpers/helper'];a4_0x254b=function(){return _0x45291d;};return a4_0x254b();}const a4_0x25bf23=a4_0x1d55;(function(_0x4b04e2,_0x6b96d3){const _0x7acd5d=a4_0x1d55,_0x221b2f=_0x4b04e2();while(!![]){try{const _0x2b6e92=-parseInt(_0x7acd5d(0x1cb))/0x1*(parseInt(_0x7acd5d(0x1b1))/0x2)+-parseInt(_0x7acd5d(0xf0))/0x3+parseInt(_0x7acd5d(0x14e))/0x4+-parseInt(_0x7acd5d(0x1d2))/0x5+parseInt(_0x7acd5d(0xf9))/0x6+-parseInt(_0x7acd5d(0x17f))/0x7+parseInt(_0x7acd5d(0xdd))/0x8;if(_0x2b6e92===_0x6b96d3)break;else _0x221b2f['push'](_0x221b2f['shift']());}catch(_0x58cb16){_0x221b2f['push'](_0x221b2f['shift']());}}}(a4_0x254b,0x6f6c4));const path=require(a4_0x25bf23(0x18c)),fs=require('fs'),{v4:uuidv4}=require('uuid'),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x25bf23(0x1b8)),testOpsHelper=require(a4_0x25bf23(0x19d)),{getTestEnv}=require(a4_0x25bf23(0x109)),{FRAMEWORKS}=require(a4_0x25bf23(0xfd)),logger=require(a4_0x25bf23(0xe7))['winstonLogger'],SessionHandler=require(a4_0x25bf23(0x1b4)),RequestQueueHandler=require(a4_0x25bf23(0x1c4)),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper[a4_0x25bf23(0x10b)],{processAccessibilityCaps}=require(a4_0x25bf23(0x176)),Constants=require(a4_0x25bf23(0x1c1)),{fetchPlatformDetails}=require(a4_0x25bf23(0xd4)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x25bf23(0x1d3)),constants=require(a4_0x25bf23(0x1c1)),STATE_PASSED=a4_0x25bf23(0x171),STATE_FAILED=a4_0x25bf23(0x122),a4_0x2a801a={};a4_0x2a801a[a4_0x25bf23(0x150)]=a4_0x25bf23(0x1b2),a4_0x2a801a[a4_0x25bf23(0x161)]=a4_0x25bf23(0x1ca),a4_0x2a801a[a4_0x25bf23(0x19c)]=a4_0x25bf23(0x100),a4_0x2a801a['HOOK_RUN_STARTED']=a4_0x25bf23(0x10f),a4_0x2a801a[a4_0x25bf23(0x129)]=a4_0x25bf23(0x19f);const TEST_EVENTS=a4_0x2a801a,parseEvent=_0x1034ab=>{const _0x48f7e2=a4_0x25bf23,_0x21c77b={};_0x21c77b[_0x48f7e2(0xe9)]=function(_0x2b30fc,_0x54345e){return _0x2b30fc<_0x54345e;},_0x21c77b[_0x48f7e2(0xf5)]=function(_0xdb04c3,_0x5e545b){return _0xdb04c3===_0x5e545b;},_0x21c77b['luiAv']=_0x48f7e2(0x1d8),_0x21c77b[_0x48f7e2(0xea)]=_0x48f7e2(0x123),_0x21c77b[_0x48f7e2(0x189)]=_0x48f7e2(0xf1),_0x21c77b['HYJRA']=_0x48f7e2(0x156),_0x21c77b[_0x48f7e2(0xe0)]=_0x48f7e2(0x1b9);const _0x4a05c8=_0x21c77b,_0x3835c8=_0x1034ab[_0x48f7e2(0x16d)](/^(.*)Run(.*)$/);if(!_0x3835c8)return null;if(_0x4a05c8['AFJgm'](_0x3835c8[_0x48f7e2(0x1bf)],0x3))return null;const _0x58eaba=_0x3835c8[0x1][_0x48f7e2(0x1a7)](),_0x5ee875=_0x3835c8[0x2][_0x48f7e2(0x1a7)]();return{'test':_0x4a05c8['jjaoG'](_0x58eaba,_0x4a05c8[_0x48f7e2(0xd5)]),'hook':_0x4a05c8[_0x48f7e2(0xf5)](_0x58eaba,_0x4a05c8['nOMeE']),'skipped':_0x4a05c8[_0x48f7e2(0xf5)](_0x5ee875,_0x4a05c8[_0x48f7e2(0x189)]),'started':_0x4a05c8[_0x48f7e2(0xf5)](_0x5ee875,_0x4a05c8[_0x48f7e2(0x19b)]),'finished':_0x4a05c8[_0x48f7e2(0xf5)](_0x5ee875,_0x4a05c8[_0x48f7e2(0xe0)])};},mockPWBrowserType=_0x154ae8=>{const _0x269bd6=a4_0x25bf23,_0x3b5b56={'MQLwS':function(_0x5ed12d,_0xbe2fe2){return _0x5ed12d===_0xbe2fe2;},'DkMrg':_0x269bd6(0x14c),'Nnjrc':function(_0x2544dc,_0x107248,_0x358040){return _0x2544dc(_0x107248,_0x358040);},'zWdgH':_0x269bd6(0x1a5),'uHUDf':function(_0x5094b4,_0x3a7991){return _0x5094b4(_0x3a7991);},'yFfkJ':_0x269bd6(0x185),'rToBO':function(_0x37738f,_0x951bc1,_0x49615d){return _0x37738f(_0x951bc1,_0x49615d);},'DIUWE':function(_0x352bd8,_0x26be0f){return _0x352bd8(_0x26be0f);},'QfTSk':_0x269bd6(0x199),'WuvMt':_0x269bd6(0x12d),'pcEdk':_0x269bd6(0x14b),'pmvRh':function(_0x4a474b,_0x298f4e){return _0x4a474b(_0x298f4e);},'ZyRDv':function(_0xb136c8,_0x5a6b7e){return _0xb136c8(_0x5a6b7e);},'TZzZV':_0x269bd6(0x170),'KgxmG':'connect','HItNk':'launch'},_0x3b38b9=path[_0x269bd6(0x16c)](_0x3b5b56[_0x269bd6(0x110)],_0x3b5b56[_0x269bd6(0xd3)],_0x3b5b56[_0x269bd6(0x13e)]),_0x3f8dbf=_0x3b5b56[_0x269bd6(0x18b)](importFileFromPWCore,_0x3b38b9);if(!_0x3f8dbf){_0x3b5b56[_0x269bd6(0x19a)](debug,_0x3b5b56[_0x269bd6(0x1b5)]);return;}const _0x2cd265=_0x3f8dbf[_0x269bd6(0x131)],_0x2ebaee=_0x2cd265['prototype'];if(_0x2ebaee[_0x269bd6(0x1b3)])return;const _0x2d735e=_0x2ebaee[_0x269bd6(0x103)];Object[_0x269bd6(0x1a4)](_0x2ebaee,_0x3b5b56[_0x269bd6(0x120)],{'get':function(){const _0x54da22=_0x269bd6,_0x5de060={'wjIlA':function(_0x1387d6,_0x33ff7a){const _0x5136d3=a4_0x1d55;return _0x3b5b56[_0x5136d3(0x125)](_0x1387d6,_0x33ff7a);},'UcuuH':_0x3b5b56[_0x54da22(0x16f)],'RofhX':function(_0x19034a,_0x45b8e8,_0x14caf3){const _0x348be9=_0x54da22;return _0x3b5b56[_0x348be9(0x158)](_0x19034a,_0x45b8e8,_0x14caf3);},'yXZOH':_0x3b5b56[_0x54da22(0xf4)],'JXBrF':function(_0x66eed0,_0x5e5fc4){const _0x170484=_0x54da22;return _0x3b5b56[_0x170484(0xdf)](_0x66eed0,_0x5e5fc4);},'SamFr':_0x3b5b56[_0x54da22(0xd9)],'XoGfb':function(_0x4ebb66,_0x4db9a4,_0x525acb){const _0x490637=_0x54da22;return _0x3b5b56[_0x490637(0x16e)](_0x4ebb66,_0x4db9a4,_0x525acb);},'oulYj':function(_0x18ff17,_0x4015b5){const _0x118018=_0x54da22;return _0x3b5b56[_0x118018(0x1d4)](_0x18ff17,_0x4015b5);}};return async function _0x14e577(_0x509d0c,_0x520d8a){const _0x285004=_0x54da22,_0x53bbdb={'VTayt':function(_0x4d4dde,_0x46e8c6){const _0x5ca415=a4_0x1d55;return _0x5de060[_0x5ca415(0x1b6)](_0x4d4dde,_0x46e8c6);},'cCdAs':_0x5de060[_0x285004(0x12b)]},_0x2cf0bc=_0x5de060['RofhX'](nestedKeyValue,_0x509d0c,[_0x5de060[_0x285004(0x1ce)]])||_0x509d0c;let _0x564d5c=null,_0x11e3c3=null;try{[_0x11e3c3,_0x564d5c]=_0x2cf0bc?_0x5de060[_0x285004(0xd6)](parseWSEndpoint,_0x2cf0bc):[null,null],global[_0x285004(0x11d)]=_0x564d5c,logger['debug']('Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20'+_0x11e3c3),_0x11e3c3[_0x285004(0x10c)](Constants[_0x285004(0xec)])&&(global[_0x285004(0x187)]=_0x5de060[_0x285004(0x1ae)]);}catch(_0x5e9296){logger[_0x285004(0x10b)](_0x285004(0x12a)+_0x2cf0bc+'\x20'+_0x5e9296);}_0x5de060[_0x285004(0x164)](processAccessibilityCaps,_0x564d5c,_0x11e3c3);if(global[_0x285004(0x193)]){const _0x119696=await _0x2ebaee[_0x285004(0x162)]['apply'](this,[''+Constants[_0x285004(0x101)]+_0x5de060[_0x285004(0x17c)](encodeURIComponent,JSON[_0x285004(0x145)](_0x564d5c))]);return PlaywrightSessionDetails['setupBrowserDetails'](_0x119696,_0x154ae8,_0x2cf0bc),_0x119696;}return _0x2d735e['apply'](this,arguments)['then'](_0x46a9d0=>{const _0x4ea340=_0x285004;let _0x150b91=_0x509d0c[_0x4ea340(0x1a5)];return _0x53bbdb[_0x4ea340(0x183)](typeof _0x509d0c,_0x53bbdb[_0x4ea340(0x194)])&&(_0x150b91=_0x509d0c),PlaywrightSessionDetails[_0x4ea340(0x1a9)](_0x46a9d0,_0x154ae8,_0x150b91),_0x46a9d0;});};}});const _0x3a5b6b=_0x2ebaee[_0x269bd6(0x1ad)];Object[_0x269bd6(0x1a4)](_0x2ebaee,_0x3b5b56['HItNk'],{'get':function(){return async function _0x119066(){const _0x41eab1=a4_0x1d55;return _0x3a5b6b['apply'](this,arguments)[_0x41eab1(0x15c)](_0x28fa4f=>{const _0x2cf953=_0x41eab1;return PlaywrightSessionDetails[_0x2cf953(0x1a9)](_0x28fa4f,null),_0x28fa4f;});};}});};class O11yHelper{[a4_0x25bf23(0xe6)]=null;[a4_0x25bf23(0x15e)]=null;['enabled']=![];[a4_0x25bf23(0x172)]=![];constructor(_0x3b2799,_0x57679d){const _0x3cc768=a4_0x25bf23,_0x37a837={'YhvUh':_0x3cc768(0x163),'GVndf':function(_0x2be3dd){return _0x2be3dd();},'jfyWF':function(_0x520906){return _0x520906();},'McxaT':function(_0xb30f47,_0x12a62c){return _0xb30f47===_0x12a62c;},'eUXUh':_0x3cc768(0x1d9),'PoFrZ':function(_0x24bf4b,_0xe0292f){return _0x24bf4b(_0xe0292f);}},_0x349d13=_0x37a837['YhvUh']['split']('|');let _0x1c67de=0x0;while(!![]){switch(_0x349d13[_0x1c67de++]){case'0':this[_0x3cc768(0x172)]=_0x57679d[_0x3cc768(0x172)];continue;case'1':this[_0x3cc768(0x1a8)]=_0x37a837['GVndf'](getTestEnv);continue;case'2':this[_0x3cc768(0x181)]=new testOpsHelper[(_0x3cc768(0x180))]({'cwd':process[_0x3cc768(0x1d6)]()},this[_0x3cc768(0x1a8)][_0x3cc768(0xf3)]);continue;case'3':this[_0x3cc768(0x159)]=_0x37a837[_0x3cc768(0x1cf)](shouldProcessEventForTesthub);continue;case'4':this['driver']&&_0x37a837['McxaT'](this['driver'][_0x3cc768(0x121)][_0x3cc768(0x1bc)],_0x37a837[_0x3cc768(0x165)])&&_0x37a837['PoFrZ'](mockPWBrowserType,null);continue;case'5':this[_0x3cc768(0xf6)]=_0x3b2799;continue;}break;}}[a4_0x25bf23(0x15a)](){const _0x38ec4d=a4_0x25bf23;if(!this[_0x38ec4d(0x159)])return;testOpsHelper[_0x38ec4d(0x19e)](),process[_0x38ec4d(0x1ba)](_0x38ec4d(0x186)+process[_0x38ec4d(0x149)]),process['on']('bs:addLog:'+process['pid'],this[_0x38ec4d(0x13a)]['bind'](this));}async[a4_0x25bf23(0x179)](){const _0x404678=a4_0x25bf23;await RequestQueueHandler[_0x404678(0xff)]()[_0x404678(0xed)]();}async[a4_0x25bf23(0x13a)](_0x1b8d9e){const _0x9edd00=a4_0x25bf23,_0x16f56e={'fJpxf':_0x9edd00(0x11a),'OIvDO':function(_0x4fed4b,_0x2f24d6){return _0x4fed4b(_0x2f24d6);}};try{this[_0x9edd00(0x15e)]&&!this[_0x9edd00(0x15e)][_0x9edd00(0x195)]&&(_0x1b8d9e[_0x9edd00(0x1bb)]=this[_0x9edd00(0x15e)][_0x9edd00(0x116)]);!_0x1b8d9e[_0x9edd00(0x1bb)]&&this[_0x9edd00(0xe6)]&&!this['currentTest']['markedStatus']&&(_0x1b8d9e['test_run_uuid']=this[_0x9edd00(0xe6)]['testAnalyticsId']);if(_0x1b8d9e[_0x9edd00(0x1bb)]||_0x1b8d9e['test_run_uuid']){const _0x4289f3={};_0x4289f3[_0x9edd00(0x130)]=_0x16f56e[_0x9edd00(0x144)],_0x4289f3[_0x9edd00(0x147)]=[_0x1b8d9e],await SessionHandler[_0x9edd00(0x190)](_0x4289f3);}}catch(_0xdfcb21){_0x16f56e[_0x9edd00(0x168)](debug,_0x9edd00(0x188)+constants['TEST_REPORTING_ANALYTICS']+_0x9edd00(0x12c)+_0xdfcb21);}}async[a4_0x25bf23(0xe2)](_0x2476b0){const _0x59558f=a4_0x25bf23,_0x570b23={'ZSkzv':_0x59558f(0x1c8),'XFMLr':function(_0x2669c0,_0x319a32){return _0x2669c0(_0x319a32);}};if(!this[_0x59558f(0x159)])return;const _0x490019=this[_0x59558f(0xfc)](this[_0x59558f(0xf6)]);try{const _0xf6c4a5={};_0xf6c4a5[_0x59558f(0x1c7)]=_0x2476b0,_0xf6c4a5[_0x59558f(0x1a0)]=_0x490019;const _0x8ce387=_0xf6c4a5,_0x252a8e={};_0x252a8e[_0x59558f(0x130)]=_0x570b23[_0x59558f(0x124)],_0x252a8e['test_run']=_0x8ce387,await SessionHandler[_0x59558f(0x190)](_0x252a8e);}catch(_0x3deb2b){_0x570b23[_0x59558f(0x166)](debug,_0x59558f(0x133)+constants[_0x59558f(0x140)]+_0x59558f(0x12c)+_0x3deb2b);}}[a4_0x25bf23(0xfc)](_0x5159ac){const _0x131940=a4_0x25bf23,_0x516057={'fejCR':function(_0x269be0,_0x1ecf2a){return _0x269be0(_0x1ecf2a);}};return _0x516057[_0x131940(0xeb)](fetchPlatformDetails,_0x5159ac);}[a4_0x25bf23(0x198)]=_0x3a7d87=>{const _0x9f2b5c=a4_0x25bf23,_0x483cb7={};_0x483cb7['sBlXZ']='_beforeEach',_0x483cb7['Cjxbe']='_afterEach';const _0x45e0a8=_0x483cb7;if(!_0x3a7d87||!_0x3a7d87[_0x9f2b5c(0x1d0)])return;[_0x45e0a8[_0x9f2b5c(0x137)],_0x45e0a8[_0x9f2b5c(0xf7)]][_0x9f2b5c(0x1a6)](_0x31fa63=>{const _0x3d3a64=_0x9f2b5c,_0x40e103=_0x3a7d87[_0x3d3a64(0x1d0)][_0x31fa63];_0x40e103[_0x3d3a64(0x1a6)](_0x286c6d=>{const _0x26d0fb=_0x3d3a64;_0x286c6d[_0x26d0fb(0x116)]&&(_0x286c6d[_0x26d0fb(0x116)]=null);});});};[a4_0x25bf23(0x1a1)](_0x3a6159){const _0x3bcee0=a4_0x25bf23,_0x299ace={'PJXBX':'codeceptjs','xxIAm':function(_0x5d1901){return _0x5d1901();},'xTxlA':function(_0x441d36,_0x1f10c0){return _0x441d36===_0x1f10c0;},'aGqwi':_0x3bcee0(0x14a),'FQUYx':function(_0x5daadc){return _0x5daadc();},'XOuQl':'_beforeAll','tLfhn':_0x3bcee0(0x1cc),'fGkqR':_0x3bcee0(0x17e)};if(!_0x3a6159||!_0x3a6159[_0x3bcee0(0x1d0)])return;[_0x299ace[_0x3bcee0(0xf8)],_0x299ace['tLfhn'],_0x299ace[_0x3bcee0(0x1be)],_0x299ace[_0x3bcee0(0x16b)]][_0x3bcee0(0x1a6)](_0xd00697=>{const _0x302353=_0x3bcee0,_0x6ccf5f=_0x3a6159[_0x302353(0x1d0)][_0xd00697]||[];_0x6ccf5f[_0x302353(0x1a6)](_0x12a4b2=>{const _0x297328=_0x302353;if(_0x12a4b2[_0x297328(0x14f)][_0x297328(0x10c)](_0x299ace[_0x297328(0x115)]))return;if(!_0x12a4b2[_0x297328(0x116)])_0x12a4b2[_0x297328(0x116)]=_0x299ace[_0x297328(0x153)](uuidv4);else _0x12a4b2[_0x297328(0x195)]&&_0x299ace['xTxlA'](_0xd00697,_0x299ace[_0x297328(0x16b)])&&(_0x12a4b2[_0x297328(0x116)]=_0x299ace['FQUYx'](uuidv4),delete _0x12a4b2[_0x297328(0x195)]);});}),this['mapTestHooks'](_0x3a6159['parent']);}[a4_0x25bf23(0x15d)](_0x3d8a4c){const _0x78f76=a4_0x25bf23,_0x580863={};_0x580863[_0x78f76(0x1b0)]='_beforeAll',_0x580863[_0x78f76(0x1aa)]=_0x78f76(0x1cc),_0x580863[_0x78f76(0x102)]=_0x78f76(0x17e),_0x580863[_0x78f76(0x13d)]=_0x78f76(0x14a);const _0x212113=_0x580863;if(!_0x3d8a4c||!_0x3d8a4c[_0x78f76(0x1d0)])return[];const _0x2cb1dc=[];return[_0x212113[_0x78f76(0x1b0)],_0x212113[_0x78f76(0x1aa)],_0x212113[_0x78f76(0x102)],_0x212113[_0x78f76(0x13d)]][_0x78f76(0x1a6)](_0x473065=>{const _0x42d260=_0x78f76,_0x5b535d=_0x3d8a4c[_0x42d260(0x1d0)][_0x473065]||[];_0x5b535d[_0x42d260(0x1a6)](_0x3e0bb5=>{const _0x4e0e62=_0x42d260;_0x3e0bb5[_0x4e0e62(0x116)]&&_0x2cb1dc[_0x4e0e62(0x173)](_0x3e0bb5[_0x4e0e62(0x116)]);});}),[]['concat'](_0x2cb1dc,this[_0x78f76(0x15d)](_0x3d8a4c[_0x78f76(0x1d0)]));}['getHookType'](_0x2e763b){const _0x5dbb9f=a4_0x25bf23,_0x26e920=/^"(?<hook>.*)" hook:.*$/,_0x53d815=_0x2e763b[_0x5dbb9f(0x14f)],_0x18d0ee=_0x53d815['match'](_0x26e920);if(_0x18d0ee&&_0x18d0ee['groups'])return _0x18d0ee[_0x5dbb9f(0x14d)][_0x5dbb9f(0x123)][_0x5dbb9f(0x196)]()[_0x5dbb9f(0x16a)]('\x20','_');return null;}[a4_0x25bf23(0x1d7)](_0x5b05b6){const _0x262165=a4_0x25bf23,_0x461117={};_0x461117[_0x262165(0xe1)]=function(_0x1d08b0,_0x2764db){return _0x1d08b0===_0x2764db;},_0x461117['nMcDe']=function(_0x24c1be,_0x50f495){return _0x24c1be===_0x50f495;},_0x461117[_0x262165(0x1c9)]=function(_0x7a8613,_0x27f681){return _0x7a8613===_0x27f681;},_0x461117[_0x262165(0x128)]=_0x262165(0x184),_0x461117[_0x262165(0x139)]='config';const _0x4407da=_0x461117,_0x4262d0=path['sep'];if(_0x4407da['FNJgK'](_0x5b05b6,null)||_0x4407da[_0x262165(0xe1)](_0x5b05b6,'')||_0x4407da[_0x262165(0x155)](_0x5b05b6,_0x4262d0)||_0x4407da[_0x262165(0x1c9)](_0x5b05b6,path[_0x262165(0x169)](_0x5b05b6)))return null;try{return fs[_0x262165(0x1bd)](path[_0x262165(0x16c)](_0x5b05b6,_0x4407da[_0x262165(0x128)],_0x4407da[_0x262165(0x139)])),_0x5b05b6;}catch(_0x50c640){const _0x1d7472=path[_0x262165(0x169)](_0x5b05b6);return this[_0x262165(0x1d7)](_0x1d7472);}}['getRootParentFile'](_0x4a8c91){const _0x430703=a4_0x25bf23,_0xfd3eb4={};_0xfd3eb4[_0x430703(0x1c3)]=function(_0x310588,_0x2bc8bf){return _0x310588>_0x2bc8bf;};const _0x704d3=_0xfd3eb4;if(_0x4a8c91[_0x430703(0x10d)])return _0x4a8c91[_0x430703(0x10d)];if(_0x4a8c91[_0x430703(0xef)]){const _0x6d4d56=_0x4a8c91[_0x430703(0xef)][_0x430703(0xe6)]?this[_0x430703(0x197)](_0x4a8c91[_0x430703(0xef)][_0x430703(0xe6)]):null;if(_0x6d4d56)return _0x6d4d56;}if(_0x4a8c91[_0x430703(0x1d0)]){const _0xdc2193=this['getRootParentFile'](_0x4a8c91['parent'])||(_0x4a8c91[_0x430703(0x1d0)][_0x430703(0xef)]&&_0x4a8c91[_0x430703(0x1d0)][_0x430703(0xef)][_0x430703(0xe6)]?this[_0x430703(0x197)](_0x4a8c91[_0x430703(0x1d0)][_0x430703(0xef)][_0x430703(0xe6)]):null);if(_0xdc2193)return _0xdc2193;_0x4a8c91[_0x430703(0x1d0)][_0x430703(0x141)]&&_0x704d3[_0x430703(0x1c3)](_0x4a8c91[_0x430703(0x1d0)][_0x430703(0x141)][_0x430703(0x1bf)],0x0)&&_0x4a8c91[_0x430703(0x1d0)][_0x430703(0x141)]['forEach'](_0x94808=>{const _0xdc13a1=_0x430703,_0x9fe90d=_0x94808[_0xdc13a1(0xef)]?this[_0xdc13a1(0x197)](_0x94808[_0xdc13a1(0xef)]):null;if(_0x9fe90d)return _0x9fe90d;});}return null;}[a4_0x25bf23(0xdc)](_0x4fb3d3){const _0x5e260b=a4_0x25bf23,_0x44dd8e={};_0x44dd8e[_0x5e260b(0xfa)]=function(_0x5ad1c5,_0x186184){return _0x5ad1c5!==_0x186184;};const _0x59b7bb=_0x44dd8e,_0x37a60a=[];if(_0x4fb3d3&&_0x4fb3d3[_0x5e260b(0x1d0)]){let _0x44e768=_0x4fb3d3['parent'];while(_0x44e768&&_0x59b7bb[_0x5e260b(0xfa)](_0x44e768[_0x5e260b(0x14f)],'')){_0x37a60a['push'](_0x44e768[_0x5e260b(0x14f)]),_0x44e768=_0x44e768[_0x5e260b(0x1d0)];}}return _0x37a60a;}['captureEvent'](_0x17fc35,_0x33fd0f,_0x10731a=undefined){const _0x1bb7db=a4_0x25bf23,_0x4b616b={'nPLiE':function(_0x3efdf3,_0x1c91e5){return _0x3efdf3(_0x1c91e5);},'cJnoI':function(_0x1b66bb){return _0x1b66bb();},'bugfk':function(_0x2fc9da){return _0x2fc9da();},'LDzdq':function(_0x2e61f4){return _0x2e61f4();},'HPhyE':_0x1bb7db(0x117),'RIhZs':_0x1bb7db(0x107),'gpuVv':function(_0x582c83,_0x45a5f9){return _0x582c83!==_0x45a5f9;},'MWRzo':function(_0x41d7b9,_0x2b646e){return _0x41d7b9!==_0x2b646e;},'kyAGH':_0x1bb7db(0x18f),'PanAe':_0x1bb7db(0x18d),'jyNRN':'failed','BUOhB':'passed','qWBbM':_0x1bb7db(0xf1),'ShfdK':_0x1bb7db(0x1c5),'lonRA':function(_0x494a64,_0x179a9c){return _0x494a64-_0x179a9c;},'hKddK':function(_0xfe89ca,_0x207d97,_0x35cf59,_0x44f6d7,_0x14636c){return _0xfe89ca(_0x207d97,_0x35cf59,_0x44f6d7,_0x14636c);},'zuIwL':function(_0x31e88f,_0x58a438){return _0x31e88f!==_0x58a438;},'kYCpb':_0x1bb7db(0x1a0),'RnDdK':_0x1bb7db(0xdb),'GBnbd':_0x1bb7db(0xe5),'kcIzV':_0x1bb7db(0x11e),'ABboh':_0x1bb7db(0x1c0),'oBPRw':_0x1bb7db(0x18e),'ajsLE':'expanded','nMkcx':function(_0x17425f,_0x22308d){return _0x17425f===_0x22308d;},'gaiLP':_0x1bb7db(0x148),'GTuBq':_0x1bb7db(0x135)};if(!this[_0x1bb7db(0x159)])return;try{if(_0x33fd0f['fn']&&_0x33fd0f['fn'][_0x1bb7db(0x13b)]()[_0x1bb7db(0x16d)](/browserstack internal helper hook/))return;const _0xf7db37=_0x4b616b['nPLiE'](parseEvent,_0x17fc35);if(!_0xf7db37)return;if(_0xf7db37['test']){this[_0x1bb7db(0xe6)]=_0x33fd0f,this[_0x1bb7db(0x15e)]=null;if(_0xf7db37[_0x1bb7db(0x156)]||_0xf7db37['skipped']){_0x33fd0f[_0x1bb7db(0x1af)]=new Date(),_0x33fd0f[_0x1bb7db(0x195)]=![];if(!_0x33fd0f[_0x1bb7db(0x114)])_0x33fd0f['testAnalyticsId']=_0x4b616b[_0x1bb7db(0x157)](uuidv4);else _0x33fd0f[_0x1bb7db(0x195)]&&(!_0x33fd0f[_0x1bb7db(0x138)]&&(_0x33fd0f[_0x1bb7db(0x138)]=_0x33fd0f[_0x1bb7db(0x114)]),_0x33fd0f[_0x1bb7db(0x114)]=_0x4b616b[_0x1bb7db(0x157)](uuidv4));}}else{if(_0xf7db37['hook']){this[_0x1bb7db(0x15e)]=_0x33fd0f;if(_0xf7db37[_0x1bb7db(0x156)]){_0x33fd0f[_0x1bb7db(0x1af)]=new Date(),_0x33fd0f[_0x1bb7db(0x195)]=![];if(!_0x33fd0f[_0x1bb7db(0x116)])_0x33fd0f[_0x1bb7db(0x116)]=_0x4b616b[_0x1bb7db(0xe3)](uuidv4);else _0x33fd0f[_0x1bb7db(0x116)]&&_0x33fd0f[_0x1bb7db(0x195)]&&(_0x33fd0f[_0x1bb7db(0x116)]=_0x4b616b[_0x1bb7db(0x132)](uuidv4));}}}if(_0xf7db37[_0x1bb7db(0x1b9)]&&_0x33fd0f[_0x1bb7db(0x195)])return;let _0x17faa0;try{_0x17faa0=this['getRootParentFile'](_0x33fd0f);}catch(_0x30c044){logger[_0x1bb7db(0x10b)]('failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x30c044),_0x17faa0=null;}const _0x5e60f9=_0x4b616b['nPLiE'](require,_0x4b616b['HPhyE']);let _0x436c77=[];_0x10731a&&(_0x436c77=[_0x10731a,_0x4b616b[_0x1bb7db(0x174)]]);const _0x53b7aa=_0x4b616b[_0x1bb7db(0x106)](_0x33fd0f[_0x1bb7db(0x113)],undefined)?_0x5e60f9[_0x1bb7db(0x182)](_0x33fd0f[_0x1bb7db(0x113)][0x0]):_0x4b616b[_0x1bb7db(0x191)](_0x10731a,undefined)?_0x10731a[_0x1bb7db(0x13b)]():undefined,_0x394e69=_0x17faa0?this[_0x1bb7db(0x1d7)](_0x17faa0):null,_0x5b2dcb=_0x17faa0?this[_0x1bb7db(0x181)]['prefixTestPath'](this[_0x1bb7db(0x197)](_0x33fd0f)):_0x4b616b[_0x1bb7db(0x104)];let _0x88d370=_0x4b616b[_0x1bb7db(0x1a3)];const _0x4dae08=!_0xf7db37[_0x1bb7db(0x156)]?new Date()[_0x1bb7db(0x134)]():null;if(_0xf7db37[_0x1bb7db(0x1b9)])_0x88d370=_0x10731a?_0x4b616b[_0x1bb7db(0x17d)]:_0x4b616b['BUOhB'],_0x33fd0f[_0x1bb7db(0x195)]=!![];else _0xf7db37['skipped']&&(_0x88d370=_0x4b616b[_0x1bb7db(0xfb)],_0x33fd0f['markedStatus']=!![]);const _0x2767b3={'framework':this['frameworkName'],'uuid':_0x33fd0f[_0x1bb7db(0x114)]||_0x33fd0f[_0x1bb7db(0x116)],'name':_0x33fd0f[_0x1bb7db(0x14f)],'body':{'lang':_0x4b616b['ShfdK'],'code':_0x33fd0f[_0x1bb7db(0x1a2)][_0x1bb7db(0x13b)]()},'type':_0x33fd0f[_0x1bb7db(0xf2)],'scope':_0x33fd0f[_0x1bb7db(0x119)](),'scopes':this[_0x1bb7db(0xdc)](_0x33fd0f),'file_name':_0x5b2dcb,'vc_filepath':_0x394e69?path[_0x1bb7db(0x1d5)](_0x394e69,_0x17faa0):null,'location':_0x5b2dcb,'result':_0x88d370,'failure_reason':_0x53b7aa,'duration_in_ms':_0x33fd0f[_0x1bb7db(0x178)]||(_0xf7db37[_0x1bb7db(0x1b9)]||_0xf7db37[_0x1bb7db(0xf1)])?_0x4b616b[_0x1bb7db(0x111)](Date[_0x1bb7db(0x127)](),new Date(_0x33fd0f['startedAt'])[_0x1bb7db(0x136)]()):null,'started_at':new Date(_0x33fd0f[_0x1bb7db(0x1af)])['toISOString'](),'finished_at':_0x4dae08,'failure':testOpsHelper[_0x1bb7db(0x1c6)][_0x1bb7db(0x192)](null,_0x436c77),'failure_type':!_0x53b7aa?null:testOpsHelper['getFailureType'](_0x53b7aa),'retry_of':_0x33fd0f[_0x1bb7db(0x138)]||null,'tags':_0x33fd0f[_0x1bb7db(0x12e)]||[],'customRerunParam':{'rerun_name':_0x33fd0f[_0x1bb7db(0x119)]()}};_0x4b616b[_0x1bb7db(0x11b)](appendTesthubParams,_0x2767b3,_0x17fc35,_0x33fd0f,FRAMEWORKS['CODECEPT']);if(_0xf7db37[_0x1bb7db(0x123)])[_0x2767b3['hook_type'],_0x2767b3['name']]=[this[_0x1bb7db(0x1b7)](_0x33fd0f),_0x33fd0f['ctx'][_0x1bb7db(0x1d8)][_0x1bb7db(0x14f)]],_0xf7db37[_0x1bb7db(0x1b9)]?_0x4b616b[_0x1bb7db(0x1ab)](_0x2767b3['result'],_0x4b616b[_0x1bb7db(0x17d)])&&(_0x2767b3['result']=_0x4b616b[_0x1bb7db(0x154)]):_0x2767b3['body']={};else _0xf7db37[_0x1bb7db(0x1d8)]&&(this['mapTestHooks'](_0x33fd0f),_0xf7db37[_0x1bb7db(0xf1)]&&this['resetSkipTestHooks'](_0x33fd0f),(_0xf7db37[_0x1bb7db(0x1b9)]||_0xf7db37[_0x1bb7db(0xf1)])&&(_0x2767b3[_0x1bb7db(0x126)]=this[_0x1bb7db(0x15d)](_0x33fd0f)));this[_0x1bb7db(0xf6)]&&(_0xf7db37[_0x1bb7db(0x156)]||_0xf7db37[_0x1bb7db(0xf1)])&&(_0x2767b3[_0x4b616b[_0x1bb7db(0x1ac)]]=this['getCBTInfo'](this[_0x1bb7db(0xf6)]));_0xf7db37[_0x1bb7db(0x1d8)]&&_0xf7db37[_0x1bb7db(0x1b9)]&&_0x33fd0f[_0x1bb7db(0xda)]&&(_0x2767b3[_0x4b616b[_0x1bb7db(0x10e)]]={'feature':{'name':_0x33fd0f[_0x1bb7db(0x1d0)][_0x1bb7db(0xfe)][_0x1bb7db(0x1bc)],'path':_0x2767b3[_0x1bb7db(0x175)],'description':_0x33fd0f[_0x1bb7db(0x1d0)][_0x1bb7db(0x177)]},'scenario':{'name':_0x33fd0f['title']},'steps':_0x33fd0f[_0x1bb7db(0xda)]});const _0x37e078=_0x2767b3[_0x4b616b[_0x1bb7db(0xee)]][0x0];_0x37e078&&(_0x2767b3[_0x4b616b[_0x1bb7db(0x1cd)]]=_0x37e078[_0x4b616b[_0x1bb7db(0x118)]],_0x2767b3[_0x4b616b[_0x1bb7db(0xde)]]=_0x37e078[_0x4b616b[_0x1bb7db(0xe4)]]);if(_0x33fd0f[_0x1bb7db(0xda)])for(const _0x44ab0a of _0x33fd0f[_0x1bb7db(0xda)]){!_0x44ab0a[_0x1bb7db(0x10a)]&&(_0x44ab0a[_0x1bb7db(0x10a)]=new Date()[_0x1bb7db(0x134)](),_0x4b616b[_0x1bb7db(0x1c2)](_0x44ab0a[_0x1bb7db(0x17b)],_0x4b616b[_0x1bb7db(0x1a3)])&&(_0x37e078?(_0x44ab0a[_0x1bb7db(0x17b)]=_0x4b616b['jyNRN'],_0x44ab0a['failure']=_0x37e078[_0x4b616b[_0x1bb7db(0x118)]][0x0]):_0x44ab0a['result']=_0x4b616b[_0x1bb7db(0x154)]));}const _0x21c25b={};_0x21c25b['event_type']=_0xf7db37[_0x1bb7db(0xf1)]?TEST_EVENTS['TEST_RUN_FINISHED']:_0x17fc35;const _0x32250f=_0x21c25b;return _0xf7db37[_0x1bb7db(0x123)]?_0x32250f[_0x4b616b[_0x1bb7db(0xe8)]]=_0x2767b3:_0x32250f[_0x4b616b[_0x1bb7db(0x12f)]]=_0x2767b3,_0x32250f;}catch(_0x806073){logger[_0x1bb7db(0x10b)](_0x1bb7db(0xd8)+_0x17fc35+_0x1bb7db(0x12c)+_0x806073);}}async['fireEvent'](_0x18d30c,_0x3803df){const _0x2b76f8=a4_0x25bf23;if(!this[_0x2b76f8(0x159)]||!_0x3803df||!_0x18d30c)return![];try{return await SessionHandler[_0x2b76f8(0x190)](_0x3803df);}catch(_0x3d2705){logger[_0x2b76f8(0x10b)](_0x2b76f8(0x108)+_0x18d30c+_0x2b76f8(0x12c)+_0x3d2705);}}[a4_0x25bf23(0x17a)](_0x49cd00){const _0x33ae68=a4_0x25bf23,_0x4ae8c4={};_0x4ae8c4['hIbZh']='pending';const _0x432991=_0x4ae8c4;return{'id':_0x49cd00[_0x33ae68(0x15b)],'text':_0x49cd00[_0x33ae68(0x13c)],'keyword':_0x49cd00[_0x33ae68(0x160)],'started_at':_0x49cd00[_0x33ae68(0x1af)]['toISOString'](),'result':_0x432991[_0x33ae68(0x152)]};}[a4_0x25bf23(0x11c)](_0x51d60b){const _0x117766=a4_0x25bf23,_0x1a79fc={'SrMva':function(_0x2b678d){return _0x2b678d();}};!this['currentTest'][_0x117766(0xda)]&&(this['currentTest'][_0x117766(0xda)]=[]),!_0x51d60b[_0x117766(0x15b)]&&(_0x51d60b[_0x117766(0x15b)]=_0x1a79fc[_0x117766(0x112)](uuidv4),_0x51d60b[_0x117766(0x1af)]=new Date(),this[_0x117766(0xe6)][_0x117766(0xda)][_0x117766(0x173)](this[_0x117766(0x17a)](_0x51d60b)));}[a4_0x25bf23(0x167)](_0x42d2f2){const _0x432502=a4_0x25bf23,_0x5280fc={'LqfNp':function(_0x16590d,_0x2b8c05){return _0x16590d(_0x2b8c05);},'DjDvQ':_0x432502(0xd2),'TDnka':_0x432502(0x18d),'ubYZO':_0x432502(0x171),'YCxsF':function(_0x4745a0,_0x537c88){return _0x4745a0-_0x537c88;}};let _0x912d6b=this[_0x432502(0xe6)]['bddSteps'][_0x432502(0x13f)](_0x18d32a=>_0x18d32a['id']===_0x42d2f2[_0x432502(0x15b)]);_0x5280fc[_0x432502(0x105)](isUndefined,_0x912d6b)&&(_0x912d6b=this[_0x432502(0x17a)](_0x42d2f2)),_0x912d6b['result']=[_0x5280fc[_0x432502(0x11f)],_0x5280fc[_0x432502(0x142)]][_0x432502(0x10c)](_0x42d2f2[_0x432502(0xd7)])?_0x5280fc[_0x432502(0x151)]:_0x42d2f2[_0x432502(0xd7)],_0x912d6b[_0x432502(0x10a)]=new Date()[_0x432502(0x134)](),_0x912d6b[_0x432502(0x178)]=_0x5280fc['YCxsF'](Date['now'](),_0x42d2f2[_0x432502(0x1af)][_0x432502(0x136)]()),_0x912d6b[_0x432502(0xe5)]=_0x42d2f2[_0x432502(0x107)]?_0x42d2f2[_0x432502(0x107)][_0x432502(0x143)]:null;}}const a4_0x2e2055={};function a4_0x1d55(_0x4a01f7,_0x2d04d2){const _0x254b76=a4_0x254b();return a4_0x1d55=function(_0x1d55ac,_0xc12b4c){_0x1d55ac=_0x1d55ac-0xd2;let _0x3e6bdc=_0x254b76[_0x1d55ac];return _0x3e6bdc;},a4_0x1d55(_0x4a01f7,_0x2d04d2);}a4_0x2e2055[a4_0x25bf23(0x15f)]=O11yHelper,a4_0x2e2055[a4_0x25bf23(0x1d1)]=STATE_PASSED,a4_0x2e2055[a4_0x25bf23(0x18a)]=STATE_FAILED,a4_0x2e2055[a4_0x25bf23(0x146)]=TEST_EVENTS,module['exports']=a4_0x2e2055;
|
|
1
|
+
function a4_0x3689(){const _0x1946fc=['concat','sep','logs','wJtFr','sYqEJ','yuNWr','ziIqw','ctx','WuhqT','TestRunStarted','oqWml','findGitConfig','UyYRD','lGKIs','./helper.js','faHcy','stringify','rhaPj','getHierarchy','../../helpers/test-observability/utils','Eyyec','Valpx','resetSkipTestHooks','TEST_EVENTS','kLDPA','iVqlO','file_name','fskBi','nSYnt','BrowserType','suites','codeceptjs','pid','test','PMCJG','_beforeAll','__platformCaps','AqAIQ','TestRunSkipped','HowhA','skipped','mapTestHooks','USdts','dirname','REeCK','bddStepFinish','PathHelper','replace','SmqbF','tLRWS','.git','toUpperCase','_paths','qKmOc','yrAna','BOugb','989661TtkxTE','debug','TEST_RUN_STARTED','patchConsoleLogger','veFZk','1fuvjTX','eKuYB','HOOK_RUN_STARTED','WgRcA','finished_at','jbREJ','toString','initializeBddStep','body','prefixTestPath','errorsDetailed','title','TEST_RUN_FINISHED','_beforeEach','fsfnJ','NORlO','bind','relative','iXtsH','constructor','aKGFm','wsEndpoint','stop','uuaRx','lib','startedAt','LogCreated','name','XeZTf','../../helpers/helper','getHookType','CBTSessionCreated','zVcDd','failure','QRWxb','1135312EbFZQF','hTyHD','bddStepStart','wDokr','includes','pending','defineProperty','STATE_FAILED','gZLJK','connect','then','eKFwX','TQHHo','ymhhL','hook','BROWSERSTACK','result','appendTestItemLog','bs:addLog:','TestRunFinished','err','itbMR','status','toLowerCase','integrations','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','1256241LxSeEz','location_prefix','getTime','message','hookAnalyticsId','\x20with\x20error\x20:\x20','leNnK','join','_testEnv','getCBTInfo','6toxNRW','../playwright/accessibility-helper','now','connectOverCDP','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','javascript','keyword','expanded','currentHook','ireRK','browserstack','frameworkName','../../helpers/test-observability/constants','TeOBk','fyohM','hook_run','Wxqrf','CODECEPT','event_type','HfoXZ','../playwright/sessionDetails','104755UThjYI','Yzwck','SOPqe','util','HlMXR','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','DcHTr','groups','339418UzVpaE','parent','pMtOr','yhsut','eSycL','AkxBs','fullTitle','start','length','QrWVk','rmiGZ','test_run','testAnalyticsId','string','failed\x20to\x20get\x20root\x20parent\x20file\x20','DbWlj','currentTest','test_run_uuid','failureData','comment','_afterEach','9314631ibWQFR','TEST_RUN_SKIPPED','PLAYWRIGHT_HUB_URL','NPkxq','vzwtg','forEach','cwd','statSync','config','_afterAll','File\x20path\x20could\x20not\x20be\x20found','finished','apply','Hyfwk','browserType.js','hook_type','markedStatus','retryOf','../../helpers/logger','../utils/constants','find','FjCYB','match','failed','getHooksForTest','push','zeTWF','HookRunFinished','getFailureType','getRootParentFile','GrziT','shutdown','dHsxX','AQQhG','DmNey','file','hook_run_uuid','uuid','IupGZ','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','enabled','split','../../helpers/test-observability/sessionHandler','NRpwE','nziWo','hooks','failure_backtrace','removeAllListeners','launch','bddSteps','passed','getInstance','1230840CakCbA','CfLLC','driver','stepAnalyticsId','FUeAj','PxygU','duration','GjLyr','setupBrowserDetails','started','UClOL','../mocha/test-observability/mochaUtils','O11yHelper','RBeca','toISOString','uploadEventData','vecDc','vBFcA'];a4_0x3689=function(){return _0x1946fc;};return a4_0x3689();}const a4_0x31080c=a4_0x5aff;(function(_0x5bf828,_0x3c33d7){const _0x5300dd=a4_0x5aff,_0x3558e4=_0x5bf828();while(!![]){try{const _0xc68328=-parseInt(_0x5300dd(0x247))/0x1*(parseInt(_0x5300dd(0x1af))/0x2)+-parseInt(_0x5300dd(0x242))/0x3+-parseInt(_0x5300dd(0x1f8))/0x4+-parseInt(_0x5300dd(0x1a7))/0x5*(parseInt(_0x5300dd(0x192))/0x6)+-parseInt(_0x5300dd(0x188))/0x7+parseInt(_0x5300dd(0x16e))/0x8+parseInt(_0x5300dd(0x1c4))/0x9;if(_0xc68328===_0x3c33d7)break;else _0x3558e4['push'](_0x3558e4['shift']());}catch(_0x5dcd39){_0x3558e4['push'](_0x3558e4['shift']());}}}(a4_0x3689,0x294c1));const path=require('path'),fs=require('fs'),{v4:uuidv4}=require(a4_0x31080c(0x1e9)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x31080c(0x168)),testOpsHelper=require(a4_0x31080c(0x21d)),{getTestEnv}=require(a4_0x31080c(0x203)),{FRAMEWORKS}=require(a4_0x31080c(0x19e)),logger=require(a4_0x31080c(0x1d6))['winstonLogger'],SessionHandler=require(a4_0x31080c(0x1ee)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),PlaywrightSessionDetails=require(a4_0x31080c(0x1a6)),debug=testOpsHelper[a4_0x31080c(0x243)],{processAccessibilityCaps}=require(a4_0x31080c(0x193)),Constants=require(a4_0x31080c(0x1d7)),{fetchPlatformDetails}=require(a4_0x31080c(0x218)),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),constants=require('../utils/constants'),STATE_PASSED=a4_0x31080c(0x1f6),STATE_FAILED=a4_0x31080c(0x1db),a4_0x5d2504={};a4_0x5d2504[a4_0x31080c(0x244)]=a4_0x31080c(0x213),a4_0x5d2504[a4_0x31080c(0x253)]=a4_0x31080c(0x181),a4_0x5d2504[a4_0x31080c(0x1c5)]=a4_0x31080c(0x230),a4_0x5d2504[a4_0x31080c(0x249)]='HookRunStarted',a4_0x5d2504['HOOK_RUN_FINISHED']=a4_0x31080c(0x1df);const TEST_EVENTS=a4_0x5d2504,parseEvent=_0x18f750=>{const _0x4f2f86=a4_0x31080c,_0x2355f8={};_0x2355f8[_0x4f2f86(0x22f)]=function(_0x2e358c,_0x38f507){return _0x2e358c<_0x38f507;},_0x2355f8[_0x4f2f86(0x23a)]=function(_0x1b5db7,_0x499c03){return _0x1b5db7===_0x499c03;},_0x2355f8['REeCK']=_0x4f2f86(0x22b),_0x2355f8[_0x4f2f86(0x167)]=_0x4f2f86(0x17c),_0x2355f8['wJtFr']=_0x4f2f86(0x232),_0x2355f8[_0x4f2f86(0x21f)]=_0x4f2f86(0x201),_0x2355f8['PxygU']='finished';const _0xabc2ba=_0x2355f8,_0x1e3580=_0x18f750[_0x4f2f86(0x1da)](/^(.*)Run(.*)$/);if(!_0x1e3580)return null;if(_0xabc2ba[_0x4f2f86(0x22f)](_0x1e3580[_0x4f2f86(0x1b7)],0x3))return null;const _0x38655e=_0x1e3580[0x1]['toLowerCase'](),_0x4a1e79=_0x1e3580[0x2][_0x4f2f86(0x185)]();return{'test':_0xabc2ba[_0x4f2f86(0x23a)](_0x38655e,_0xabc2ba[_0x4f2f86(0x236)]),'hook':_0xabc2ba[_0x4f2f86(0x23a)](_0x38655e,_0xabc2ba[_0x4f2f86(0x167)]),'skipped':_0xabc2ba[_0x4f2f86(0x23a)](_0x4a1e79,_0xabc2ba[_0x4f2f86(0x20d)]),'started':_0xabc2ba[_0x4f2f86(0x23a)](_0x4a1e79,_0xabc2ba[_0x4f2f86(0x21f)]),'finished':_0xabc2ba['SmqbF'](_0x4a1e79,_0xabc2ba[_0x4f2f86(0x1fd)])};},mockPWBrowserType=_0xc9e283=>{const _0x2070b3=a4_0x31080c,_0x3a035e={'IupGZ':function(_0xd6513e,_0x3f7a69){return _0xd6513e===_0x3f7a69;},'YmUnG':_0x2070b3(0x1bc),'BOugb':function(_0x5318b5,_0x10734f,_0x5f2e2f){return _0x5318b5(_0x10734f,_0x5f2e2f);},'nziWo':_0x2070b3(0x160),'RBeca':function(_0x1e7028,_0x6c5bcd){return _0x1e7028(_0x6c5bcd);},'AkxBs':_0x2070b3(0x19c),'dHsxX':_0x2070b3(0x163),'opyaj':'client','eSycL':_0x2070b3(0x1d2),'nSYnt':function(_0x4c91ee,_0x5863e0){return _0x4c91ee(_0x5863e0);},'Hyfwk':'Not\x20able\x20to\x20import\x20Browser','fskBi':_0x2070b3(0x177),'TeOBk':_0x2070b3(0x1f4)},_0x1c1c9f=path['join'](_0x3a035e[_0x2070b3(0x1e4)],_0x3a035e['opyaj'],_0x3a035e[_0x2070b3(0x1b3)]),_0x58a62d=_0x3a035e[_0x2070b3(0x226)](importFileFromPWCore,_0x1c1c9f);if(!_0x58a62d){_0x3a035e[_0x2070b3(0x226)](debug,_0x3a035e[_0x2070b3(0x1d1)]);return;}const _0xd52011=_0x58a62d[_0x2070b3(0x227)],_0x4811cd=_0xd52011['prototype'];if(_0x4811cd['obsBrowserTypeMockApplied'])return;const _0x120e6e=_0x4811cd['connect'];Object[_0x2070b3(0x174)](_0x4811cd,_0x3a035e[_0x2070b3(0x225)],{'get':function(){const _0x2ad495=_0x2070b3,_0x359629={'hTyHD':function(_0x16955b,_0x1fcd54){const _0x1549b7=a4_0x5aff;return _0x3a035e[_0x1549b7(0x1ea)](_0x16955b,_0x1fcd54);},'UClOL':_0x3a035e['YmUnG'],'pgmfw':function(_0x26192a,_0x566978,_0x30d42c){return _0x3a035e['BOugb'](_0x26192a,_0x566978,_0x30d42c);},'FUeAj':_0x3a035e[_0x2ad495(0x1f0)],'DcHTr':function(_0x48b4e9,_0x106385){const _0x5ebead=_0x2ad495;return _0x3a035e[_0x5ebead(0x205)](_0x48b4e9,_0x106385);},'Wxqrf':_0x3a035e[_0x2ad495(0x1b4)],'UyYRD':function(_0x50f5a3,_0x435483,_0x548e29){const _0x562eaa=_0x2ad495;return _0x3a035e[_0x562eaa(0x241)](_0x50f5a3,_0x435483,_0x548e29);},'iVqlO':function(_0x50008e,_0x1ffadb){const _0x28a209=_0x2ad495;return _0x3a035e[_0x28a209(0x205)](_0x50008e,_0x1ffadb);}};return async function _0x358fd4(_0x2f1144,_0x1588ed){const _0x240c09=_0x2ad495,_0x159a54={'fsfnJ':function(_0x2968fb,_0x1a9ca2){const _0x503b09=a4_0x5aff;return _0x359629[_0x503b09(0x16f)](_0x2968fb,_0x1a9ca2);},'ziIqw':_0x359629[_0x240c09(0x202)]},_0x5a7f0b=_0x359629['pgmfw'](nestedKeyValue,_0x2f1144,[_0x359629[_0x240c09(0x1fc)]])||_0x2f1144;let _0x22b80f=null,_0x3bd5a1=null;try{[_0x3bd5a1,_0x22b80f]=_0x5a7f0b?_0x359629[_0x240c09(0x1ad)](parseWSEndpoint,_0x5a7f0b):[null,null],global[_0x240c09(0x22e)]=_0x22b80f,logger[_0x240c09(0x243)](_0x240c09(0x1ac)+_0x3bd5a1),_0x3bd5a1[_0x240c09(0x172)](Constants[_0x240c09(0x17d)])&&(global['__cloud_provider___']=_0x359629[_0x240c09(0x1a2)]);}catch(_0x1b7996){logger[_0x240c09(0x243)]('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x5a7f0b+'\x20'+_0x1b7996);}_0x359629[_0x240c09(0x216)](processAccessibilityCaps,_0x22b80f,_0x3bd5a1);if(global['accessibilityPlatform']){const _0x2d8044=await _0x4811cd[_0x240c09(0x195)][_0x240c09(0x1d0)](this,[''+Constants[_0x240c09(0x1c6)]+_0x359629[_0x240c09(0x223)](encodeURIComponent,JSON[_0x240c09(0x21a)](_0x22b80f))]);return PlaywrightSessionDetails[_0x240c09(0x200)](_0x2d8044,_0xc9e283,_0x5a7f0b),_0x2d8044;}return _0x120e6e['apply'](this,arguments)[_0x240c09(0x178)](_0x4fb602=>{const _0x29fb6f=_0x240c09;let _0x4a0fb8=_0x2f1144[_0x29fb6f(0x160)];return _0x159a54[_0x29fb6f(0x255)](typeof _0x2f1144,_0x159a54[_0x29fb6f(0x210)])&&(_0x4a0fb8=_0x2f1144),PlaywrightSessionDetails[_0x29fb6f(0x200)](_0x4fb602,_0xc9e283,_0x4a0fb8),_0x4fb602;});};}});const _0x4fc909=_0x4811cd['launch'];Object['defineProperty'](_0x4811cd,_0x3a035e[_0x2070b3(0x19f)],{'get':function(){return async function _0x248720(){const _0x20f9af=a4_0x5aff;return _0x4fc909[_0x20f9af(0x1d0)](this,arguments)[_0x20f9af(0x178)](_0x2cdd6f=>{const _0x262dcd=_0x20f9af;return PlaywrightSessionDetails[_0x262dcd(0x200)](_0x2cdd6f,null),_0x2cdd6f;});};}});};class O11yHelper{[a4_0x31080c(0x1bf)]=null;[a4_0x31080c(0x19a)]=null;[a4_0x31080c(0x1ec)]=![];[a4_0x31080c(0x19d)]=![];constructor(_0xe7dcc9,_0x50f4be){const _0xfc04ef=a4_0x31080c,_0xa5b8db={'tLRWS':'4|2|5|0|1|3','FjCYB':function(_0x30dd3b){return _0x30dd3b();},'vBFcA':function(_0x3c3fc8,_0x40d461){return _0x3c3fc8===_0x40d461;},'WuhqT':'Playwright','Yzwck':function(_0x4b0d55,_0x1950c1){return _0x4b0d55(_0x1950c1);}},_0x198f40=_0xa5b8db[_0xfc04ef(0x23b)][_0xfc04ef(0x1ed)]('|');let _0x4d80f0=0x0;while(!![]){switch(_0x198f40[_0x4d80f0++]){case'0':this[_0xfc04ef(0x190)]=_0xa5b8db[_0xfc04ef(0x1d9)](getTestEnv);continue;case'1':this['_paths']=new testOpsHelper[(_0xfc04ef(0x238))]({'cwd':process[_0xfc04ef(0x1ca)]()},this[_0xfc04ef(0x190)][_0xfc04ef(0x189)]);continue;case'2':this['frameworkName']=_0x50f4be[_0xfc04ef(0x19d)];continue;case'3':this[_0xfc04ef(0x1fa)]&&_0xa5b8db[_0xfc04ef(0x209)](this['driver'][_0xfc04ef(0x15e)][_0xfc04ef(0x166)],_0xa5b8db[_0xfc04ef(0x212)])&&_0xa5b8db[_0xfc04ef(0x1a8)](mockPWBrowserType,null);continue;case'4':this[_0xfc04ef(0x1ec)]=_0xa5b8db['FjCYB'](shouldProcessEventForTesthub);continue;case'5':this[_0xfc04ef(0x1fa)]=_0xe7dcc9;continue;}break;}}[a4_0x31080c(0x1b6)](){const _0x262635=a4_0x31080c;if(!this['enabled'])return;testOpsHelper[_0x262635(0x245)](),process[_0x262635(0x1f3)](_0x262635(0x180)+process[_0x262635(0x22a)]),process['on'](_0x262635(0x180)+process[_0x262635(0x22a)],this['appendTestItemLog'][_0x262635(0x257)](this));}async[a4_0x31080c(0x161)](){const _0x4580ab=a4_0x31080c;await RequestQueueHandler[_0x4580ab(0x1f7)]()[_0x4580ab(0x1e3)]();}async[a4_0x31080c(0x17f)](_0x4b4431){const _0x32df2b=a4_0x31080c,_0x80ce30={'PdzWe':_0x32df2b(0x165),'NRpwE':function(_0x42b394,_0x288d95){return _0x42b394(_0x288d95);}};try{this[_0x32df2b(0x19a)]&&!this['currentHook'][_0x32df2b(0x1d4)]&&(_0x4b4431[_0x32df2b(0x1e8)]=this['currentHook']['hookAnalyticsId']);!_0x4b4431[_0x32df2b(0x1e8)]&&this[_0x32df2b(0x1bf)]&&!this[_0x32df2b(0x1bf)][_0x32df2b(0x1d4)]&&(_0x4b4431['test_run_uuid']=this[_0x32df2b(0x1bf)]['testAnalyticsId']);if(_0x4b4431[_0x32df2b(0x1e8)]||_0x4b4431[_0x32df2b(0x1c0)]){const _0x375ecd={};_0x375ecd[_0x32df2b(0x1a4)]=_0x80ce30['PdzWe'],_0x375ecd[_0x32df2b(0x20c)]=[_0x4b4431],await SessionHandler[_0x32df2b(0x207)](_0x375ecd);}}catch(_0x2b905e){_0x80ce30[_0x32df2b(0x1ef)](debug,_0x32df2b(0x187)+constants['TEST_REPORTING_ANALYTICS']+'\x20with\x20error\x20:\x20'+_0x2b905e);}}async['sendCBTInfo'](_0xcdc140){const _0x2ebab2=a4_0x31080c,_0x4b265b={'KXmvw':_0x2ebab2(0x16a),'DbWlj':function(_0x5529fd,_0x3eca31){return _0x5529fd(_0x3eca31);}};if(!this[_0x2ebab2(0x1ec)])return;const _0x3062a1=this[_0x2ebab2(0x191)](this['driver']);try{const _0x2fd3fc={};_0x2fd3fc[_0x2ebab2(0x1e9)]=_0xcdc140,_0x2fd3fc[_0x2ebab2(0x186)]=_0x3062a1;const _0x1f1a14=_0x2fd3fc,_0x58147b={};_0x58147b[_0x2ebab2(0x1a4)]=_0x4b265b['KXmvw'],_0x58147b[_0x2ebab2(0x1ba)]=_0x1f1a14,await SessionHandler['uploadEventData'](_0x58147b);}catch(_0x279ebe){_0x4b265b[_0x2ebab2(0x1be)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20'+constants['TEST_REPORTING_ANALYTICS']+'\x20with\x20error\x20:\x20'+_0x279ebe);}}[a4_0x31080c(0x191)](_0x2dbe3e){const _0x262192=a4_0x31080c,_0x278c45={'iXtsH':function(_0x325a00,_0x49bb99){return _0x325a00(_0x49bb99);}};return _0x278c45[_0x262192(0x15d)](fetchPlatformDetails,_0x2dbe3e);}[a4_0x31080c(0x220)]=_0x4ad52d=>{const _0x1fec30=a4_0x31080c,_0x5778d7={};_0x5778d7[_0x1fec30(0x208)]='_beforeEach',_0x5778d7[_0x1fec30(0x20e)]=_0x1fec30(0x1c3);const _0xc22ab=_0x5778d7;if(!_0x4ad52d||!_0x4ad52d[_0x1fec30(0x1b0)])return;[_0xc22ab['vecDc'],_0xc22ab[_0x1fec30(0x20e)]][_0x1fec30(0x1c9)](_0x658605=>{const _0x22ef15=_0x1fec30,_0x69424a=_0x4ad52d[_0x22ef15(0x1b0)][_0x658605];_0x69424a['forEach'](_0x4b81c6=>{const _0x1abd85=_0x22ef15;_0x4b81c6['hookAnalyticsId']&&(_0x4b81c6[_0x1abd85(0x18c)]=null);});});};[a4_0x31080c(0x233)](_0x50333d){const _0x5b982e=a4_0x31080c,_0x1aa6ad={'HlMXR':_0x5b982e(0x229),'PKyku':function(_0x3552ec){return _0x3552ec();},'veFZk':function(_0x411d71,_0x1f104c){return _0x411d71===_0x1f104c;},'yrAna':_0x5b982e(0x1c3),'rhaPj':'_beforeAll','itbMR':_0x5b982e(0x1cd),'xgFuL':_0x5b982e(0x254)};if(!_0x50333d||!_0x50333d[_0x5b982e(0x1b0)])return;[_0x1aa6ad[_0x5b982e(0x21b)],_0x1aa6ad[_0x5b982e(0x183)],_0x1aa6ad['xgFuL'],_0x1aa6ad['yrAna']][_0x5b982e(0x1c9)](_0x32bc03=>{const _0x50824b=_0x5b982e,_0x78beb9={'AQQhG':_0x1aa6ad[_0x50824b(0x1ab)],'TQHHo':function(_0x50f970){return _0x1aa6ad['PKyku'](_0x50f970);},'GjLyr':function(_0x5bcee9,_0x195e2c){const _0x4e1767=_0x50824b;return _0x1aa6ad[_0x4e1767(0x246)](_0x5bcee9,_0x195e2c);},'kLDPA':_0x1aa6ad[_0x50824b(0x240)]},_0x162a4c=_0x50333d['parent'][_0x32bc03]||[];_0x162a4c[_0x50824b(0x1c9)](_0x16a2f9=>{const _0x14e05a=_0x50824b;if(_0x16a2f9[_0x14e05a(0x252)]['includes'](_0x78beb9[_0x14e05a(0x1e5)]))return;if(!_0x16a2f9[_0x14e05a(0x18c)])_0x16a2f9[_0x14e05a(0x18c)]=_0x78beb9[_0x14e05a(0x17a)](uuidv4);else _0x16a2f9[_0x14e05a(0x1d4)]&&_0x78beb9[_0x14e05a(0x1ff)](_0x32bc03,_0x78beb9[_0x14e05a(0x222)])&&(_0x16a2f9[_0x14e05a(0x18c)]=_0x78beb9['TQHHo'](uuidv4),delete _0x16a2f9[_0x14e05a(0x1d4)]);});}),this[_0x5b982e(0x233)](_0x50333d['parent']);}[a4_0x31080c(0x1dc)](_0x2bd993){const _0x4d9256=a4_0x31080c,_0x4ed805={};_0x4ed805[_0x4d9256(0x1de)]=_0x4d9256(0x22d),_0x4ed805[_0x4d9256(0x24c)]=_0x4d9256(0x1cd),_0x4ed805[_0x4d9256(0x20f)]=_0x4d9256(0x254),_0x4ed805[_0x4d9256(0x16b)]=_0x4d9256(0x1c3);const _0x1d5f92=_0x4ed805;if(!_0x2bd993||!_0x2bd993['parent'])return[];const _0xac85a3=[];return[_0x1d5f92[_0x4d9256(0x1de)],_0x1d5f92[_0x4d9256(0x24c)],_0x1d5f92[_0x4d9256(0x20f)],_0x1d5f92['zVcDd']][_0x4d9256(0x1c9)](_0x23285a=>{const _0x32a526=_0x4d9256,_0x12b8de=_0x2bd993[_0x32a526(0x1b0)][_0x23285a]||[];_0x12b8de[_0x32a526(0x1c9)](_0x3f8ec5=>{const _0x245185=_0x32a526;_0x3f8ec5[_0x245185(0x18c)]&&_0xac85a3[_0x245185(0x1dd)](_0x3f8ec5['hookAnalyticsId']);});}),[][_0x4d9256(0x20a)](_0xac85a3,this['getHooksForTest'](_0x2bd993[_0x4d9256(0x1b0)]));}[a4_0x31080c(0x169)](_0x3b19d1){const _0x14dc1d=a4_0x31080c,_0x27b4d5=/^"(?<hook>.*)" hook:.*$/,_0x1f56c6=_0x3b19d1['title'],_0x1a42f0=_0x1f56c6[_0x14dc1d(0x1da)](_0x27b4d5);if(_0x1a42f0&&_0x1a42f0[_0x14dc1d(0x1ae)])return _0x1a42f0[_0x14dc1d(0x1ae)][_0x14dc1d(0x17c)][_0x14dc1d(0x23d)]()[_0x14dc1d(0x239)]('\x20','_');return null;}['findGitConfig'](_0x596b60){const _0x9ed853=a4_0x31080c,_0x2ed98b={};_0x2ed98b[_0x9ed853(0x22c)]=function(_0x39e8d7,_0x58e44c){return _0x39e8d7===_0x58e44c;},_0x2ed98b[_0x9ed853(0x24a)]=_0x9ed853(0x23c),_0x2ed98b[_0x9ed853(0x23f)]=_0x9ed853(0x1cc);const _0x55254b=_0x2ed98b,_0x36c0a3=path[_0x9ed853(0x20b)];if(_0x55254b[_0x9ed853(0x22c)](_0x596b60,null)||_0x55254b['PMCJG'](_0x596b60,'')||_0x55254b[_0x9ed853(0x22c)](_0x596b60,_0x36c0a3)||_0x55254b[_0x9ed853(0x22c)](_0x596b60,path[_0x9ed853(0x235)](_0x596b60)))return null;try{return fs[_0x9ed853(0x1cb)](path[_0x9ed853(0x18f)](_0x596b60,_0x55254b[_0x9ed853(0x24a)],_0x55254b[_0x9ed853(0x23f)])),_0x596b60;}catch(_0x388c97){const _0x2871a5=path[_0x9ed853(0x235)](_0x596b60);return this[_0x9ed853(0x215)](_0x2871a5);}}[a4_0x31080c(0x1e1)](_0x42ef76){const _0x335ff4=a4_0x31080c,_0x368527={};_0x368527[_0x335ff4(0x179)]=function(_0x51e0dc,_0x5b009d){return _0x51e0dc>_0x5b009d;};const _0x33729e=_0x368527;if(_0x42ef76[_0x335ff4(0x1e7)])return _0x42ef76['file'];if(_0x42ef76[_0x335ff4(0x211)]){const _0x36f5f9=_0x42ef76['ctx']['currentTest']?this[_0x335ff4(0x1e1)](_0x42ef76[_0x335ff4(0x211)][_0x335ff4(0x1bf)]):null;if(_0x36f5f9)return _0x36f5f9;}if(_0x42ef76[_0x335ff4(0x1b0)]){const _0x3ddf5b=this['getRootParentFile'](_0x42ef76[_0x335ff4(0x1b0)])||(_0x42ef76['parent'][_0x335ff4(0x211)]&&_0x42ef76['parent'][_0x335ff4(0x211)][_0x335ff4(0x1bf)]?this[_0x335ff4(0x1e1)](_0x42ef76[_0x335ff4(0x1b0)][_0x335ff4(0x211)][_0x335ff4(0x1bf)]):null);if(_0x3ddf5b)return _0x3ddf5b;_0x42ef76[_0x335ff4(0x1b0)][_0x335ff4(0x228)]&&_0x33729e[_0x335ff4(0x179)](_0x42ef76[_0x335ff4(0x1b0)][_0x335ff4(0x228)][_0x335ff4(0x1b7)],0x0)&&_0x42ef76[_0x335ff4(0x1b0)][_0x335ff4(0x228)]['forEach'](_0x13d9c4=>{const _0x4ddbcf=_0x335ff4,_0x353dae=_0x13d9c4[_0x4ddbcf(0x211)]?this[_0x4ddbcf(0x1e1)](_0x13d9c4[_0x4ddbcf(0x211)]):null;if(_0x353dae)return _0x353dae;});}return null;}[a4_0x31080c(0x21c)](_0x41d121){const _0x3e503c=a4_0x31080c,_0xcc30d={};_0xcc30d[_0x3e503c(0x1a5)]=function(_0x3934d8,_0x5d0036){return _0x3934d8!==_0x5d0036;};const _0x2f2196=_0xcc30d,_0x5e37d1=[];if(_0x41d121&&_0x41d121[_0x3e503c(0x1b0)]){let _0x229e9c=_0x41d121['parent'];while(_0x229e9c&&_0x2f2196['HfoXZ'](_0x229e9c[_0x3e503c(0x252)],'')){_0x5e37d1[_0x3e503c(0x1dd)](_0x229e9c[_0x3e503c(0x252)]),_0x229e9c=_0x229e9c[_0x3e503c(0x1b0)];}}return _0x5e37d1;}['captureEvent'](_0x3cd8ca,_0x30263a,_0x2a1099=undefined){const _0x3d5200=a4_0x31080c,_0x4559d9={'mMOIv':function(_0x4feb76,_0x379a32){return _0x4feb76(_0x379a32);},'uuaRx':function(_0x79781f){return _0x79781f();},'wDokr':function(_0x481c26,_0x4901f8){return _0x481c26(_0x4901f8);},'NPkxq':_0x3d5200(0x1aa),'vzwtg':'err','jTAAU':function(_0x37fa58,_0x1ef0ab){return _0x37fa58!==_0x1ef0ab;},'ireRK':function(_0x95e79a,_0x3b5631){return _0x95e79a!==_0x3b5631;},'rmiGZ':_0x3d5200(0x1ce),'DmNey':_0x3d5200(0x173),'GrziT':'failed','NORlO':_0x3d5200(0x1f6),'lGKIs':'skipped','UOGfA':_0x3d5200(0x197),'Eyyec':function(_0x22a250,_0x58b1e7){return _0x22a250-_0x58b1e7;},'USdts':function(_0x282f41,_0x4291d5,_0x1d9a1b,_0x14b2b5,_0x3e0134){return _0x282f41(_0x4291d5,_0x1d9a1b,_0x14b2b5,_0x3e0134);},'QrWVk':function(_0xc9b5ff,_0x57c535){return _0xc9b5ff!==_0x57c535;},'pMtOr':_0x3d5200(0x186),'ymhhL':'meta','fyohM':_0x3d5200(0x16c),'gZLJK':_0x3d5200(0x1f2),'eKuYB':'backtrace','aKGFm':'failure_reason_expanded','yhsut':_0x3d5200(0x199),'oqWml':function(_0x18051e,_0x1c5249){return _0x18051e===_0x1c5249;},'SOPqe':_0x3d5200(0x1a1),'leNnK':_0x3d5200(0x1ba)};if(!this[_0x3d5200(0x1ec)])return;try{if(_0x30263a['fn']&&_0x30263a['fn'][_0x3d5200(0x24d)]()[_0x3d5200(0x1da)](/browserstack internal helper hook/))return;const _0x91b622=_0x4559d9['mMOIv'](parseEvent,_0x3cd8ca);if(!_0x91b622)return;if(_0x91b622[_0x3d5200(0x22b)]){this[_0x3d5200(0x1bf)]=_0x30263a,this[_0x3d5200(0x19a)]=null;if(_0x91b622[_0x3d5200(0x201)]||_0x91b622[_0x3d5200(0x232)]){_0x30263a[_0x3d5200(0x164)]=new Date(),_0x30263a[_0x3d5200(0x1d4)]=![];if(!_0x30263a[_0x3d5200(0x1bb)])_0x30263a[_0x3d5200(0x1bb)]=_0x4559d9[_0x3d5200(0x162)](uuidv4);else _0x30263a[_0x3d5200(0x1d4)]&&(!_0x30263a['retryOf']&&(_0x30263a[_0x3d5200(0x1d5)]=_0x30263a[_0x3d5200(0x1bb)]),_0x30263a[_0x3d5200(0x1bb)]=_0x4559d9[_0x3d5200(0x162)](uuidv4));}}else{if(_0x91b622[_0x3d5200(0x17c)]){this[_0x3d5200(0x19a)]=_0x30263a;if(_0x91b622['started']){_0x30263a[_0x3d5200(0x164)]=new Date(),_0x30263a[_0x3d5200(0x1d4)]=![];if(!_0x30263a[_0x3d5200(0x18c)])_0x30263a['hookAnalyticsId']=_0x4559d9['uuaRx'](uuidv4);else _0x30263a[_0x3d5200(0x18c)]&&_0x30263a['markedStatus']&&(_0x30263a[_0x3d5200(0x18c)]=_0x4559d9[_0x3d5200(0x162)](uuidv4));}}}if(_0x91b622[_0x3d5200(0x1cf)]&&_0x30263a[_0x3d5200(0x1d4)])return;let _0xd5f5c5;try{_0xd5f5c5=this[_0x3d5200(0x1e1)](_0x30263a);}catch(_0x19ff67){logger[_0x3d5200(0x243)](_0x3d5200(0x1bd)+_0x19ff67),_0xd5f5c5=null;}const _0x40c223=_0x4559d9[_0x3d5200(0x171)](require,_0x4559d9[_0x3d5200(0x1c7)]);let _0x4c0bc4=[];_0x2a1099&&(_0x4c0bc4=[_0x2a1099,_0x4559d9[_0x3d5200(0x1c8)]]);const _0xaaef65=_0x4559d9['jTAAU'](_0x30263a['errorsDetailed'],undefined)?_0x40c223['inspect'](_0x30263a[_0x3d5200(0x251)][0x0]):_0x4559d9[_0x3d5200(0x19b)](_0x2a1099,undefined)?_0x2a1099[_0x3d5200(0x24d)]():undefined,_0x291385=_0xd5f5c5?this[_0x3d5200(0x215)](_0xd5f5c5):null,_0x3a0286=_0xd5f5c5?this[_0x3d5200(0x23e)][_0x3d5200(0x250)](this[_0x3d5200(0x1e1)](_0x30263a)):_0x4559d9[_0x3d5200(0x1b9)];let _0xc9a1df=_0x4559d9[_0x3d5200(0x1e6)];const _0x18f123=!_0x91b622[_0x3d5200(0x201)]?new Date()[_0x3d5200(0x206)]():null;if(_0x91b622[_0x3d5200(0x1cf)])_0xc9a1df=_0x2a1099?_0x4559d9[_0x3d5200(0x1e2)]:_0x4559d9[_0x3d5200(0x256)],_0x30263a[_0x3d5200(0x1d4)]=!![];else _0x91b622[_0x3d5200(0x232)]&&(_0xc9a1df=_0x4559d9[_0x3d5200(0x217)],_0x30263a[_0x3d5200(0x1d4)]=!![]);const _0x4a342b={'framework':this['frameworkName'],'uuid':_0x30263a['testAnalyticsId']||_0x30263a[_0x3d5200(0x18c)],'name':_0x30263a[_0x3d5200(0x252)],'body':{'lang':_0x4559d9['UOGfA'],'code':_0x30263a['body'][_0x3d5200(0x24d)]()},'type':_0x30263a['type'],'scope':_0x30263a[_0x3d5200(0x1b5)](),'scopes':this[_0x3d5200(0x21c)](_0x30263a),'file_name':_0x3a0286,'vc_filepath':_0x291385?path[_0x3d5200(0x258)](_0x291385,_0xd5f5c5):null,'location':_0x3a0286,'result':_0xc9a1df,'failure_reason':_0xaaef65,'duration_in_ms':_0x30263a[_0x3d5200(0x1fe)]||(_0x91b622['finished']||_0x91b622[_0x3d5200(0x232)])?_0x4559d9[_0x3d5200(0x21e)](Date[_0x3d5200(0x194)](),new Date(_0x30263a[_0x3d5200(0x164)])[_0x3d5200(0x18a)]()):null,'started_at':new Date(_0x30263a[_0x3d5200(0x164)])[_0x3d5200(0x206)](),'finished_at':_0x18f123,'failure':testOpsHelper[_0x3d5200(0x1c1)][_0x3d5200(0x1d0)](null,_0x4c0bc4),'failure_type':!_0xaaef65?null:testOpsHelper[_0x3d5200(0x1e0)](_0xaaef65),'retry_of':_0x30263a[_0x3d5200(0x1d5)]||null,'tags':_0x30263a['tags']||[],'customRerunParam':{'rerun_name':_0x30263a[_0x3d5200(0x1b5)]()}};_0x4559d9[_0x3d5200(0x234)](appendTesthubParams,_0x4a342b,_0x3cd8ca,_0x30263a,FRAMEWORKS[_0x3d5200(0x1a3)]);if(_0x91b622['hook'])[_0x4a342b[_0x3d5200(0x1d3)],_0x4a342b['name']]=[this[_0x3d5200(0x169)](_0x30263a),_0x30263a[_0x3d5200(0x211)][_0x3d5200(0x22b)][_0x3d5200(0x252)]],_0x91b622['finished']?_0x4559d9[_0x3d5200(0x1b8)](_0x4a342b[_0x3d5200(0x17e)],_0x4559d9[_0x3d5200(0x1e2)])&&(_0x4a342b[_0x3d5200(0x17e)]=_0x4559d9[_0x3d5200(0x256)]):_0x4a342b[_0x3d5200(0x24f)]={};else _0x91b622[_0x3d5200(0x22b)]&&(this['mapTestHooks'](_0x30263a),_0x91b622[_0x3d5200(0x232)]&&this[_0x3d5200(0x220)](_0x30263a),(_0x91b622['finished']||_0x91b622[_0x3d5200(0x232)])&&(_0x4a342b[_0x3d5200(0x1f1)]=this[_0x3d5200(0x1dc)](_0x30263a)));this['driver']&&(_0x91b622[_0x3d5200(0x201)]||_0x91b622[_0x3d5200(0x232)])&&(_0x4a342b[_0x4559d9[_0x3d5200(0x1b1)]]=this[_0x3d5200(0x191)](this['driver']));_0x91b622[_0x3d5200(0x22b)]&&_0x91b622[_0x3d5200(0x1cf)]&&_0x30263a[_0x3d5200(0x1f5)]&&(_0x4a342b[_0x4559d9[_0x3d5200(0x17b)]]={'feature':{'name':_0x30263a['parent']['feature'][_0x3d5200(0x166)],'path':_0x4a342b[_0x3d5200(0x224)],'description':_0x30263a[_0x3d5200(0x1b0)][_0x3d5200(0x1c2)]},'scenario':{'name':_0x30263a['title']},'steps':_0x30263a[_0x3d5200(0x1f5)]});const _0x3efc23=_0x4a342b[_0x4559d9[_0x3d5200(0x1a0)]][0x0];_0x3efc23&&(_0x4a342b[_0x4559d9[_0x3d5200(0x176)]]=_0x3efc23[_0x4559d9[_0x3d5200(0x248)]],_0x4a342b[_0x4559d9[_0x3d5200(0x15f)]]=_0x3efc23[_0x4559d9[_0x3d5200(0x1b2)]]);if(_0x30263a['bddSteps'])for(const _0x3fe053 of _0x30263a[_0x3d5200(0x1f5)]){!_0x3fe053[_0x3d5200(0x24b)]&&(_0x3fe053[_0x3d5200(0x24b)]=new Date()[_0x3d5200(0x206)](),_0x4559d9[_0x3d5200(0x214)](_0x3fe053[_0x3d5200(0x17e)],_0x4559d9['DmNey'])&&(_0x3efc23?(_0x3fe053[_0x3d5200(0x17e)]=_0x4559d9[_0x3d5200(0x1e2)],_0x3fe053[_0x3d5200(0x16c)]=_0x3efc23[_0x4559d9['eKuYB']][0x0]):_0x3fe053['result']=_0x4559d9[_0x3d5200(0x256)]));}const _0xaac378={};_0xaac378['event_type']=_0x91b622[_0x3d5200(0x232)]?TEST_EVENTS[_0x3d5200(0x253)]:_0x3cd8ca;const _0x209c3c=_0xaac378;return _0x91b622['hook']?_0x209c3c[_0x4559d9[_0x3d5200(0x1a9)]]=_0x4a342b:_0x209c3c[_0x4559d9[_0x3d5200(0x18e)]]=_0x4a342b,_0x209c3c;}catch(_0xaab052){logger[_0x3d5200(0x243)](_0x3d5200(0x1eb)+_0x3cd8ca+_0x3d5200(0x18d)+_0xaab052);}}async['fireEvent'](_0x33c45f,_0xb8708d){const _0x14d3e3=a4_0x31080c;if(!this[_0x14d3e3(0x1ec)]||!_0xb8708d||!_0x33c45f)return![];try{return await SessionHandler[_0x14d3e3(0x207)](_0xb8708d);}catch(_0x5d294d){logger[_0x14d3e3(0x243)](_0x14d3e3(0x196)+_0x33c45f+_0x14d3e3(0x18d)+_0x5d294d);}}['initializeBddStep'](_0x42ee45){const _0x2defe0=a4_0x31080c,_0x4d3564={};_0x4d3564[_0x2defe0(0x1f9)]=_0x2defe0(0x173);const _0x460593=_0x4d3564;return{'id':_0x42ee45[_0x2defe0(0x1fb)],'text':_0x42ee45['text'],'keyword':_0x42ee45[_0x2defe0(0x198)],'started_at':_0x42ee45[_0x2defe0(0x164)][_0x2defe0(0x206)](),'result':_0x460593[_0x2defe0(0x1f9)]};}[a4_0x31080c(0x170)](_0x1bfed0){const _0xf1c9af=a4_0x31080c,_0x4c6e0a={'faHcy':function(_0xcace5c){return _0xcace5c();}};!this[_0xf1c9af(0x1bf)]['bddSteps']&&(this[_0xf1c9af(0x1bf)][_0xf1c9af(0x1f5)]=[]),!_0x1bfed0[_0xf1c9af(0x1fb)]&&(_0x1bfed0[_0xf1c9af(0x1fb)]=_0x4c6e0a[_0xf1c9af(0x219)](uuidv4),_0x1bfed0[_0xf1c9af(0x164)]=new Date(),this[_0xf1c9af(0x1bf)]['bddSteps']['push'](this[_0xf1c9af(0x24e)](_0x1bfed0)));}[a4_0x31080c(0x237)](_0x488812){const _0x115748=a4_0x31080c,_0x77beb={'yliFF':function(_0x19c900,_0x24f9dd){return _0x19c900(_0x24f9dd);},'QRWxb':'success','HowhA':'pending','OdYIn':_0x115748(0x1f6),'dKuQn':function(_0x2ccda8,_0x2b58a1){return _0x2ccda8-_0x2b58a1;}};let _0x1ae201=this[_0x115748(0x1bf)]['bddSteps'][_0x115748(0x1d8)](_0x29f549=>_0x29f549['id']===_0x488812[_0x115748(0x1fb)]);_0x77beb['yliFF'](isUndefined,_0x1ae201)&&(_0x1ae201=this[_0x115748(0x24e)](_0x488812)),_0x1ae201[_0x115748(0x17e)]=[_0x77beb[_0x115748(0x16d)],_0x77beb[_0x115748(0x231)]][_0x115748(0x172)](_0x488812['status'])?_0x77beb['OdYIn']:_0x488812[_0x115748(0x184)],_0x1ae201[_0x115748(0x24b)]=new Date()[_0x115748(0x206)](),_0x1ae201[_0x115748(0x1fe)]=_0x77beb['dKuQn'](Date['now'](),_0x488812['startedAt']['getTime']()),_0x1ae201[_0x115748(0x16c)]=_0x488812[_0x115748(0x182)]?_0x488812['err'][_0x115748(0x18b)]:null;}}const a4_0x4ef5ad={};function a4_0x5aff(_0x1189b7,_0x101250){const _0x368998=a4_0x3689();return a4_0x5aff=function(_0x5aff44,_0x42269e){_0x5aff44=_0x5aff44-0x15d;let _0x3beff0=_0x368998[_0x5aff44];return _0x3beff0;},a4_0x5aff(_0x1189b7,_0x101250);}a4_0x4ef5ad[a4_0x31080c(0x204)]=O11yHelper,a4_0x4ef5ad['STATE_PASSED']=STATE_PASSED,a4_0x4ef5ad[a4_0x31080c(0x175)]=STATE_FAILED,a4_0x4ef5ad[a4_0x31080c(0x221)]=TEST_EVENTS,module['exports']=a4_0x4ef5ad;
|