browserstack-node-sdk 1.34.55 → 1.34.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a1_0x4b19bf=a1_0x5ad8;(function(_0x1d8ae4,_0x3aea3d){const _0x1c0ddc=a1_0x5ad8,_0x373b5a=_0x1d8ae4();while(!![]){try{const _0x1d4ba3=parseInt(_0x1c0ddc(0x1b2))/0x1*(-parseInt(_0x1c0ddc(0x18f))/0x2)+-parseInt(_0x1c0ddc(0x186))/0x3+-parseInt(_0x1c0ddc(0x1ea))/0x4+-parseInt(_0x1c0ddc(0x202))/0x5+-parseInt(_0x1c0ddc(0x203))/0x6*(parseInt(_0x1c0ddc(0x218))/0x7)+-parseInt(_0x1c0ddc(0x1dd))/0x8*(-parseInt(_0x1c0ddc(0x1fa))/0x9)+parseInt(_0x1c0ddc(0x159))/0xa;if(_0x1d4ba3===_0x3aea3d)break;else _0x373b5a['push'](_0x373b5a['shift']());}catch(_0x249736){_0x373b5a['push'](_0x373b5a['shift']());}}}(a1_0x1fd9,0xedfa5));const fs=require('fs'),util=require(a1_0x4b19bf(0x19d)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x4b19bf(0x215)),logger=require(a1_0x4b19bf(0x170))[a1_0x4b19bf(0x1a3)],testOpsHelper=require(a1_0x4b19bf(0x189)),requestSpy=require('../../helpers/request-spy'),PlaywrightSessionDetails=require(a1_0x4b19bf(0x1f8)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x4b19bf(0x1f0)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x4b19bf(0x169)),AccessibilityHelper=require(a1_0x4b19bf(0x1fc)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a1_0x4b19bf(0x1b5)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x4b19bf(0x20e)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x4b19bf(0x181)),testHubConstants=require(a1_0x4b19bf(0x162)),globals=require(a1_0x4b19bf(0x1f6)),CodeceptJS=requireModule('codeceptjs/lib/index.js',a1_0x4b19bf(0x18e)),CodeceptUtils=requireModule(a1_0x4b19bf(0x209),'codeceptjs'),CodeceptWebDriver=requireModule(a1_0x4b19bf(0x172),a1_0x4b19bf(0x18e)),CodeceptRecorder=requireModule(a1_0x4b19bf(0x1a5),a1_0x4b19bf(0x18e)),CodeceptPlaywright=requireModule(a1_0x4b19bf(0x1d0),a1_0x4b19bf(0x18e)),playwrightMarkSessionStatus=(_0x3d9d8b,_0x3f0053,_0xb1de15)=>{const _0x23a21d=a1_0x4b19bf,_0x584d49={'mNlpk':_0x23a21d(0x18d),'UTdOX':function(_0x570706,_0x30aae8){return _0x570706(_0x30aae8);}},_0x4865bc={};_0x4865bc[_0x23a21d(0x1ef)]=_0x3f0053;const _0x203060={};_0x203060['action']=_0x584d49[_0x23a21d(0x21c)],_0x203060['arguments']=_0x4865bc;const _0x502680=_0x203060;return!_0x584d49[_0x23a21d(0x16f)](isUndefined,_0xb1de15)&&(_0x502680[_0x23a21d(0x197)][_0x23a21d(0x167)]=JSON['stringify'](_0xb1de15)),_0x3d9d8b[_0x23a21d(0x182)](()=>{},_0x23a21d(0x1cb)+JSON[_0x23a21d(0x174)](_0x502680));},o11ySync=PerformanceTester[a1_0x4b19bf(0x1c8)](PerformanceO11yEvents[a1_0x4b19bf(0x20f)],async _0x299c01=>{const _0x16e16a=a1_0x4b19bf,_0x5391f5={};_0x5391f5['QcsdS']=function(_0x363bf5,_0x4b350c){return _0x363bf5===_0x4b350c;},_0x5391f5[_0x16e16a(0x1b7)]=_0x16e16a(0x1a8);const _0x42203=_0x5391f5;_0x42203[_0x16e16a(0x208)](_0x299c01[_0x16e16a(0x1e8)]['name'],_0x42203['HMqDP'])?await _0x299c01['executeScript'](_0x37d551=>{},testOpsHelper[_0x16e16a(0x1eb)]()):await _0x299c01[_0x16e16a(0x182)](testOpsHelper[_0x16e16a(0x1eb)]());}),markSessionName=PerformanceTester[a1_0x4b19bf(0x1c8)](PerformanceAutEvents[a1_0x4b19bf(0x168)],async(_0x9a79b7,_0x50c99d)=>{const _0x263fd8=a1_0x4b19bf,_0xb478fc={};_0xb478fc[_0x263fd8(0x20a)]='setSessionName',_0xb478fc[_0x263fd8(0x1ab)]=function(_0x2c51e0,_0xac7a7c){return _0x2c51e0===_0xac7a7c;},_0xb478fc[_0x263fd8(0x1b3)]='Playwright';const _0x1d6db0=_0xb478fc,_0x5a7108={};_0x5a7108[_0x263fd8(0x157)]=_0x50c99d;const _0x4ecd4a={};_0x4ecd4a[_0x263fd8(0x1af)]=_0x1d6db0['dDupr'],_0x4ecd4a[_0x263fd8(0x197)]=_0x5a7108;const _0xcb6285=_0x4ecd4a;_0x1d6db0[_0x263fd8(0x1ab)](_0x9a79b7[_0x263fd8(0x1e8)]['name'],_0x1d6db0[_0x263fd8(0x1b3)])?await _0x9a79b7[_0x263fd8(0x182)](()=>{},_0x263fd8(0x1cb)+JSON[_0x263fd8(0x174)](_0xcb6285)):await _0x9a79b7[_0x263fd8(0x182)](_0x263fd8(0x1cb)+JSON[_0x263fd8(0x174)](_0xcb6285));}),patchSaveScreenshot=_0x108143=>{const _0x51df9e=a1_0x4b19bf,_0x1d2c11={'PvmyO':_0x51df9e(0x1f4),'eVLTi':_0x51df9e(0x1ee),'YgiGO':function(_0x3ff01f){return _0x3ff01f();},'dHzsm':function(_0x36c0c5,_0x433cfe){return _0x36c0c5(_0x433cfe);},'CuMsk':_0x51df9e(0x177),'AMCcA':function(_0x445c61,_0x4bb7fe){return _0x445c61(_0x4bb7fe);}};_0x1d2c11['AMCcA'](isTrue,process[_0x51df9e(0x1ac)][_0x51df9e(0x180)])&&!_0x108143[_0x51df9e(0x153)]&&(_0x108143[_0x51df9e(0x153)]=!![],_0x108143[_0x51df9e(0x15e)]=_0x108143[_0x51df9e(0x1fe)],_0x108143['saveScreenshot']=(_0x136446,_0xa721a2=![])=>{return new Promise(function(_0xa7905,_0x1f1761){const _0x277147=a1_0x5ad8,_0x150051={'ApUdk':_0x1d2c11['PvmyO'],'lAjHg':_0x1d2c11[_0x277147(0x1fd)],'AsnGc':function(_0xee08d3){return _0x1d2c11['YgiGO'](_0xee08d3);},'CGIaG':function(_0x41a59f,_0x4b3f99){const _0x4a521b=_0x277147;return _0x1d2c11[_0x4a521b(0x151)](_0x41a59f,_0x4b3f99);},'oxCUP':_0x1d2c11['CuMsk']};_0x108143[_0x277147(0x15e)](_0x136446,_0xa721a2)[_0x277147(0x1d2)](()=>{const _0x263c52=_0x277147,_0x3969c6=CodeceptUtils[_0x263c52(0x1b1)](_0x136446);if(_0x3969c6){const _0x4f3292=fs[_0x263c52(0x150)](_0x3969c6);process[_0x263c52(0x160)]('bs:addLog:'+process[_0x263c52(0x1bd)],{'timestamp':new Date()[_0x263c52(0x198)](),'message':_0x4f3292[_0x263c52(0x1c2)](_0x150051[_0x263c52(0x213)]),'kind':_0x150051['lAjHg']}),_0x150051[_0x263c52(0x16a)](_0xa7905);}_0x150051[_0x263c52(0x200)](_0x1f1761,new Error(_0x150051[_0x263c52(0x207)]));})[_0x277147(0x1c7)](()=>null);});});},patchWebDriverBefore=_0xefba9c=>{const _0x4f12cb=a1_0x4b19bf,_0x41580b={'LVfyC':function(_0x1c40ea){return _0x1c40ea();},'eabFN':function(_0x4ec341,_0x364c6c){return _0x4ec341(_0x364c6c);},'EUPXH':function(_0x249488,_0x123b01){return _0x249488===_0x123b01;},'jMCjR':_0x4f12cb(0x1d3)},_0x4c0a09=async function(_0x50b91e,_0x1e9cf8){const _0x495373=_0x4f12cb;return _0x41580b['LVfyC'](isAccessibilityAutomationSession)&&!global[_0x495373(0x149)]&&global[_0x495373(0x1ec)]&&scripts['shouldWrapCommand'](_0x50b91e[_0x495373(0x157)])&&_0x41580b['eabFN'](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x495373(0x149)]=!![],await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x3e6458=_0x495373;logger['debug']('Performing\x20scan\x20for\x20'+_0x50b91e[_0x3e6458(0x1e7)]+'\x20'+_0x50b91e[_0x3e6458(0x157)]),await AccessibilityHelper[_0x3e6458(0x183)](_0xefba9c,scripts[_0x3e6458(0x20c)]);},{'command':_0x50b91e[_0x495373(0x157)]})()),global[_0x495373(0x149)]=![],_0x1e9cf8[_0x495373(0x1f2)](this,Array[_0x495373(0x164)]['slice'][_0x495373(0x212)](arguments,0x2));},_0x4076f4=CodeceptWebDriver[_0x4f12cb(0x164)][_0x4f12cb(0x1a7)];CodeceptWebDriver[_0x4f12cb(0x164)][_0x4f12cb(0x1a7)]=async function(){const _0x176013=_0x4f12cb,_0xc3c920={'QYNdD':function(_0x595b09,_0x57a450){const _0x32fbf9=a1_0x5ad8;return _0x41580b[_0x32fbf9(0x144)](_0x595b09,_0x57a450);},'UmIyk':_0x41580b[_0x176013(0x178)]};try{await _0x4076f4[_0x176013(0x1f2)](this,arguments);}catch(_0x2c955d){logger[_0x176013(0x19a)](_0x176013(0x1cf)+util[_0x176013(0x17d)](_0x2c955d));}scripts[_0x176013(0x187)][_0x176013(0x143)](_0x2756d2=>_0x2756d2['name']&&_0x2756d2[_0x176013(0x1e7)])[_0x176013(0x1bf)](_0x2e862d=>{const _0x358a4c=_0x176013;this[_0x358a4c(0x1f1)]['overwriteCommand'](_0x2e862d['name'],_0x4c0a09[_0x358a4c(0x1ed)](this,_0x2e862d),_0xc3c920[_0x358a4c(0x175)](_0x2e862d[_0x358a4c(0x1e7)],_0xc3c920[_0x358a4c(0x1c1)]));}),_0x41580b[_0x176013(0x1f5)](processWebDriverConfig,_0xefba9c);};},patchPlaywrightBefore=()=>{const _0x40e519=a1_0x4b19bf;PlaywrightSessionDetails['patch']();const _0x4ded42=CodeceptPlaywright[_0x40e519(0x164)][_0x40e519(0x1a7)];CodeceptPlaywright[_0x40e519(0x164)][_0x40e519(0x1a7)]=async function(){const _0x4dca05=_0x40e519;this[_0x4dca05(0x16b)]=await this['browser'][_0x4dca05(0x14f)]()[0x0],await _0x4ded42[_0x4dca05(0x1f2)](this,arguments);};},getCodeceptDriver=()=>{const _0x1b5206=a1_0x4b19bf,_0x13c529={};_0x13c529['oGoMX']=_0x1b5206(0x1c0),_0x13c529[_0x1b5206(0x14e)]=_0x1b5206(0x1a8),_0x13c529[_0x1b5206(0x15c)]=_0x1b5206(0x1d7),_0x13c529[_0x1b5206(0x1ff)]=_0x1b5206(0x145);const _0x4976e2=_0x13c529,_0x43327d=[_0x4976e2[_0x1b5206(0x1d4)],_0x4976e2[_0x1b5206(0x14e)],_0x4976e2[_0x1b5206(0x15c)],_0x4976e2[_0x1b5206(0x1ff)]],_0x18d5cf=_0x43327d['find'](_0x87490a=>!!CodeceptJS[_0x1b5206(0x17e)][_0x1b5206(0x204)](_0x87490a));if(!_0x18d5cf)return null;return CodeceptJS[_0x1b5206(0x17e)][_0x1b5206(0x204)](_0x18d5cf);};module[a1_0x4b19bf(0x21d)]=function(_0x2521a9){const _0x7f06e3=a1_0x4b19bf,_0x1278cb={'Upycf':function(_0x29eb56){return _0x29eb56();},'vpEaZ':function(_0x54159a,_0x3331c8){return _0x54159a(_0x3331c8);},'BgtJf':_0x7f06e3(0x1e0),'vhlNF':_0x7f06e3(0x154),'fbIHn':_0x7f06e3(0x1f3),'crudt':_0x7f06e3(0x1d8),'CZXJb':function(_0x4f1bb9,_0x28042c){return _0x4f1bb9(_0x28042c);},'bWHBA':_0x7f06e3(0x1e6),'zQEoi':'hook-passed','czYTy':_0x7f06e3(0x16c),'zNQKf':_0x7f06e3(0x1cc),'svIEc':'test-before','APJeU':function(_0xa04e89,_0x130050,_0x4d990d){return _0xa04e89(_0x130050,_0x4d990d);},'yrDHm':'test-started','hePdX':function(_0x4af397){return _0x4af397();},'jDjdu':function(_0x34abaf,_0x5be676,_0x3cf58b){return _0x34abaf(_0x5be676,_0x3cf58b);},'wznhp':_0x7f06e3(0x14c),'GHLJG':function(_0x3de9fe,_0x35914c,_0x2107cf,_0x4ef820){return _0x3de9fe(_0x35914c,_0x2107cf,_0x4ef820);},'VARhs':function(_0x2a0c38,_0x3a5785,_0x2d1147,_0x2c1370){return _0x2a0c38(_0x3a5785,_0x2d1147,_0x2c1370);},'iyPam':function(_0x69b6d7,_0x2b5aa1){return _0x69b6d7===_0x2b5aa1;},'WoLlH':_0x7f06e3(0x15f),'zIGJY':'test-failed','iHUrI':_0x7f06e3(0x1a9),'RNOft':'afterTest','itrHA':function(_0xe01620){return _0xe01620();},'rjlAY':function(_0x4c4fb6){return _0x4c4fb6();},'iuBtp':_0x7f06e3(0x171),'iVoiW':_0x7f06e3(0x15a),'VkIni':'INFO','RMbpR':_0x7f06e3(0x146),'uVUfx':_0x7f06e3(0x15d),'AoYma':_0x7f06e3(0x188),'hDmDQ':_0x7f06e3(0x20b),'ZriMP':'Playwright'};_0x2521a9['skipSessionStatus']&&(global[_0x7f06e3(0x1ad)]=_0x2521a9['skipSessionStatus']);PerformanceTester[_0x7f06e3(0x1f9)]();const _0x2f69f8=_0x1278cb[_0x7f06e3(0x166)](getCodeceptDriver),_0x1db5ae=new O11yHelper(_0x2f69f8,_0x2521a9),_0x502eaa=!!CodeceptJS[_0x7f06e3(0x17e)][_0x7f06e3(0x204)](_0x1278cb[_0x7f06e3(0x16d)]);global[_0x7f06e3(0x1a1)]=_0x2f69f8,_0x2f69f8&&(PerformanceTester[_0x7f06e3(0x1c8)](PerformanceEvents[_0x7f06e3(0x1c5)],()=>{const _0x4a1889=_0x7f06e3;_0x502eaa?_0x1278cb[_0x4a1889(0x219)](patchPlaywrightBefore):_0x1278cb[_0x4a1889(0x194)](patchWebDriverBefore,_0x2f69f8);})(),PerformanceTester[_0x7f06e3(0x1c8)](PerformanceEvents[_0x7f06e3(0x19f)],()=>{const _0xdee72b=_0x7f06e3;_0x2f69f8[_0xdee72b(0x1e0)]=async()=>{const _0x43d14e=_0xdee72b;if(global[_0x43d14e(0x1ec)]){const _0x3205ce={};_0x3205ce[_0x43d14e(0x1de)]=_0x1278cb[_0x43d14e(0x1df)],await PerformanceTester[_0x43d14e(0x1c8)](PerformanceA11yEvents[_0x43d14e(0x19e)],async()=>{await AccessibilityHelper['browserStackExecuteDriver'](_0x2f69f8,scripts['performScan']);},_0x3205ce)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x43d14e(0x142)],async()=>{const _0x3f9f9a=_0x43d14e;await AccessibilityHelper[_0x3f9f9a(0x183)](_0x2f69f8,scripts['getResultsSummary']);})();}else return logger[_0x43d14e(0x1fb)](_0x1278cb[_0x43d14e(0x1c9)]),{};},_0x2f69f8[_0xdee72b(0x1f3)]=async()=>{const _0x5a7450=_0xdee72b;if(global[_0x5a7450(0x1ec)]){const _0x4b3dbf={};_0x4b3dbf[_0x5a7450(0x1de)]=_0x1278cb[_0x5a7450(0x18b)],await PerformanceTester[_0x5a7450(0x1c8)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0xc55e78=_0x5a7450;await AccessibilityHelper[_0xc55e78(0x183)](_0x2f69f8,scripts[_0xc55e78(0x20c)]);},_0x4b3dbf)(),await PerformanceTester[_0x5a7450(0x1c8)](PerformanceA11yEvents[_0x5a7450(0x17b)],async()=>{const _0x15afe5=_0x5a7450;await AccessibilityHelper['browserStackExecuteDriver'](_0x2f69f8,scripts[_0x15afe5(0x1a0)]);})();}else return logger[_0x5a7450(0x1fb)](_0x1278cb['crudt']),{};},_0x1278cb[_0xdee72b(0x176)](patchSaveScreenshot,_0x2f69f8);})()),CodeceptJS[_0x7f06e3(0x1bc)]['dispatcher']['on'](CodeceptJS[_0x7f06e3(0x1bc)][_0x7f06e3(0x1e4)]['before'],()=>{const _0x423391=_0x7f06e3;PerformanceTester['start'](PerformanceEvents[_0x423391(0x199)]);try{_0x1db5ae[_0x423391(0x20d)](),testOpsHelper[_0x423391(0x214)](),PerformanceTester['end'](PerformanceEvents['SDK_PRE_TEST']);}catch(_0x2e1e81){PerformanceTester[_0x423391(0x17c)](_0x2e1e81),PerformanceTester['end'](PerformanceEvents['SDK_PRE_TEST'],![],_0x2e1e81);}}),CodeceptJS[_0x7f06e3(0x1bc)]['dispatcher']['on'](CodeceptJS['event'][_0x7f06e3(0x1e4)][_0x7f06e3(0x179)],async()=>{const _0x50bf62=_0x7f06e3;PerformanceTester[_0x50bf62(0x20d)](PerformanceEvents[_0x50bf62(0x205)]);try{requestSpy[_0x50bf62(0x190)](),await _0x1db5ae[_0x50bf62(0x1c6)](),PerformanceTester[_0x50bf62(0x1be)](PerformanceEvents[_0x50bf62(0x205)]);}catch(_0x4550b8){PerformanceTester['captureError'](_0x4550b8),PerformanceTester[_0x50bf62(0x1be)](PerformanceEvents[_0x50bf62(0x205)],![],_0x4550b8);}finally{PerformanceTester[_0x50bf62(0x196)]();}}),CodeceptJS[_0x7f06e3(0x1bc)][_0x7f06e3(0x1a2)]['on'](CodeceptJS['event']['hook'][_0x7f06e3(0x1d6)],_0x41808d=>{const _0x1b1b53=_0x7f06e3;PerformanceTester[_0x1b1b53(0x20d)](PerformanceEvents[_0x1b1b53(0x155)]);try{const _0xcb7f9=_0x41808d[_0x1b1b53(0x1ba)][_0x1b1b53(0x16e)],_0x2e0183=_0x1db5ae[_0x1b1b53(0x15b)](TEST_EVENTS['HOOK_RUN_STARTED'],_0xcb7f9);CodeceptRecorder['add'](()=>_0x1db5ae['fireEvent'](TEST_EVENTS['HOOK_RUN_STARTED'],_0x2e0183));const _0x354c05={};_0x354c05[_0x1b1b53(0x158)]=_0x1278cb[_0x1b1b53(0x1e1)],PerformanceTester[_0x1b1b53(0x1be)](PerformanceEvents[_0x1b1b53(0x155)],!![],null,_0x354c05);}catch(_0x246c19){const _0x34627d={};_0x34627d[_0x1b1b53(0x158)]=_0x1278cb[_0x1b1b53(0x1e1)],PerformanceTester['end'](PerformanceEvents[_0x1b1b53(0x155)],![],_0x246c19,_0x34627d),PerformanceTester[_0x1b1b53(0x17c)](_0x246c19);}}),CodeceptJS[_0x7f06e3(0x1bc)][_0x7f06e3(0x1a2)]['on'](CodeceptJS['event']['hook'][_0x7f06e3(0x1aa)],_0x4243f4=>{const _0x224075=_0x7f06e3,_0x20c5f0={};_0x20c5f0[_0x224075(0x158)]=_0x1278cb['zQEoi'],PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x20c5f0);try{const _0x29e590=_0x4243f4['ctx'][_0x224075(0x16e)],_0x2fb14c=_0x1db5ae[_0x224075(0x15b)](TEST_EVENTS[_0x224075(0x1e9)],_0x29e590);CodeceptRecorder[_0x224075(0x18c)](()=>_0x1db5ae['fireEvent'](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x2fb14c));const _0x453134={};_0x453134[_0x224075(0x158)]=_0x1278cb[_0x224075(0x1b9)],PerformanceTester[_0x224075(0x1be)](PerformanceHookEvents[_0x224075(0x155)],!![],null,_0x453134);}catch(_0x415c60){PerformanceTester[_0x224075(0x17c)](_0x415c60);const _0x353f35={};_0x353f35['hookType']=_0x1278cb[_0x224075(0x1b9)],PerformanceTester[_0x224075(0x1be)](PerformanceHookEvents[_0x224075(0x155)],![],_0x415c60,_0x353f35);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x7f06e3(0x1bc)][_0x7f06e3(0x195)][_0x7f06e3(0x14a)],async(_0x2df917,_0x3998b2)=>{const _0xd7619a=_0x7f06e3;PerformanceTester[_0xd7619a(0x20d)](PerformanceHookEvents['SDK_HOOK']);try{const _0x437f7e=_0x2df917[_0xd7619a(0x1ba)][_0xd7619a(0x16e)],_0x1157f1=_0x1db5ae[_0xd7619a(0x15b)](TEST_EVENTS[_0xd7619a(0x1e9)],_0x437f7e,_0x3998b2);CodeceptRecorder[_0xd7619a(0x18c)](()=>_0x1db5ae[_0xd7619a(0x17a)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x1157f1));const _0x2845b0={};_0x2845b0['hookType']=_0x1278cb['czYTy'],PerformanceTester['start'](PerformanceHookEvents[_0xd7619a(0x155)],!![],null,_0x2845b0);}catch(_0x413ac6){PerformanceTester[_0xd7619a(0x17c)](_0x413ac6);const _0xfaeee2={};_0xfaeee2['hookType']=_0x1278cb[_0xd7619a(0x1c4)],PerformanceTester[_0xd7619a(0x1be)](PerformanceHookEvents[_0xd7619a(0x155)],![],_0x413ac6,_0xfaeee2);}const _0x4a501c={};_0x4a501c['hookType']=_0x1278cb[_0xd7619a(0x1c4)],PerformanceTester[_0xd7619a(0x1be)](PerformanceHookEvents[_0xd7619a(0x155)],!![],null,_0x4a501c);}),CodeceptJS['event'][_0x7f06e3(0x1a2)]['on'](CodeceptJS[_0x7f06e3(0x1bc)][_0x7f06e3(0x16e)][_0x7f06e3(0x156)],_0x5d8280=>{const _0x808a8b=_0x7f06e3;PerformanceTester[_0x808a8b(0x20d)](PerformanceHookEvents[_0x808a8b(0x155)]);try{globals[_0x808a8b(0x211)](_0x1278cb['zNQKf'],_0x5d8280['title']);_0x1278cb['Upycf'](isBrowserstackInfra)&&(_0x502eaa&&(global[_0x808a8b(0x1ce)]={'currentTest':{'name':_0x5d8280[_0x808a8b(0x1b4)],'testInfo':{'titlePath':_0x5d8280[_0x808a8b(0x1d9)]()}}}));const _0xe271e6={};_0xe271e6['hookType']=_0x1278cb['svIEc'],PerformanceTester[_0x808a8b(0x1be)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0xe271e6);}catch(_0x4d1997){PerformanceTester[_0x808a8b(0x17c)](_0x4d1997);const _0x2c8b57={};_0x2c8b57['hookType']=_0x1278cb['svIEc'],PerformanceTester[_0x808a8b(0x1be)](PerformanceHookEvents[_0x808a8b(0x155)],![],_0x4d1997,_0x2c8b57);}}),CodeceptJS[_0x7f06e3(0x1bc)][_0x7f06e3(0x1a2)]['on'](CodeceptJS[_0x7f06e3(0x1bc)][_0x7f06e3(0x16e)][_0x7f06e3(0x1d6)],_0x5b1845=>{const _0x44cdcc=_0x7f06e3,_0x2da33f={'HGAxy':function(_0x567cf1){const _0x3ae6bf=a1_0x5ad8;return _0x1278cb[_0x3ae6bf(0x219)](_0x567cf1);},'mKedV':function(_0xe7d63b,_0x2f8834){return _0x1278cb['vpEaZ'](_0xe7d63b,_0x2f8834);},'XbTqB':function(_0x220674,_0x50615d,_0x395b37){return _0x1278cb['APJeU'](_0x220674,_0x50615d,_0x395b37);},'HZQKy':function(_0x18c3a7,_0x6b0f2b){return _0x1278cb['CZXJb'](_0x18c3a7,_0x6b0f2b);}};PerformanceTester['start'](PerformanceHookEvents[_0x44cdcc(0x155)]);try{globals['setGlobal'](_0x1278cb[_0x44cdcc(0x1b0)],_0x5b1845[_0x44cdcc(0x1b4)]);const _0x3a730e=_0x1db5ae['captureEvent'](TEST_EVENTS[_0x44cdcc(0x1e3)],_0x5b1845);CodeceptRecorder[_0x44cdcc(0x18c)](()=>_0x1db5ae[_0x44cdcc(0x17a)](TEST_EVENTS[_0x44cdcc(0x1e3)],_0x3a730e)),CodeceptRecorder['add'](async()=>{const _0x3a9861=_0x44cdcc;_0x2da33f[_0x3a9861(0x152)](isBrowserstackInfra)&&(!_0x2da33f[_0x3a9861(0x165)](isTrue,_0x2521a9[_0x3a9861(0x206)])&&await _0x2da33f[_0x3a9861(0x148)](markSessionName,_0x2f69f8,_0x5b1845['title']),_0x1db5ae[_0x3a9861(0x21b)]&&await _0x2da33f[_0x3a9861(0x14d)](o11ySync,_0x2f69f8));});}catch(_0x3898be){const _0x5a9aa4={};_0x5a9aa4[_0x44cdcc(0x158)]=_0x1278cb[_0x44cdcc(0x1d5)],PerformanceTester[_0x44cdcc(0x1be)](PerformanceHookEvents[_0x44cdcc(0x155)],![],_0x3898be,_0x5a9aa4),PerformanceTester[_0x44cdcc(0x17c)](_0x3898be);}const _0x297a03={};_0x297a03[_0x44cdcc(0x158)]=_0x1278cb[_0x44cdcc(0x1d5)],PerformanceTester[_0x44cdcc(0x1be)](PerformanceHookEvents[_0x44cdcc(0x155)],!![],null,_0x297a03);}),CodeceptJS[_0x7f06e3(0x1bc)][_0x7f06e3(0x1a2)]['on'](CodeceptJS[_0x7f06e3(0x1bc)][_0x7f06e3(0x16e)][_0x7f06e3(0x1aa)],_0x4be193=>{const _0x518e63=_0x7f06e3,_0x39521c={'CdMtu':function(_0xe58448,_0x1a2ab8,_0x56a5c5){return _0x1278cb['APJeU'](_0xe58448,_0x1a2ab8,_0x56a5c5);},'FAOzX':function(_0xdf345d,_0x159cca,_0x36d9d1){const _0x500577=a1_0x5ad8;return _0x1278cb[_0x500577(0x1f7)](_0xdf345d,_0x159cca,_0x36d9d1);}};PerformanceTester[_0x518e63(0x20d)](PerformanceHookEvents[_0x518e63(0x155)]);try{const _0x4c4b32=_0x1db5ae['captureEvent'](TEST_EVENTS[_0x518e63(0x14b)],_0x4be193);CodeceptRecorder[_0x518e63(0x18c)](()=>_0x1db5ae[_0x518e63(0x17a)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x4c4b32)),CodeceptRecorder[_0x518e63(0x18c)](async()=>{_0x1278cb['hePdX'](isBrowserstackInfra)&&await PerformanceTester['measureWrapper'](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x2a4216=a1_0x5ad8;_0x502eaa?await _0x39521c[_0x2a4216(0x201)](playwrightMarkSessionStatus,_0x2f69f8,STATE_PASSED):await _0x39521c[_0x2a4216(0x1d1)](markSessionStatus,_0x2f69f8,STATE_PASSED);})();}),PerformanceTester[_0x518e63(0x1be)](PerformanceEvents[_0x518e63(0x1e2)]);}catch(_0x27d2e4){PerformanceTester[_0x518e63(0x17c)](_0x27d2e4);const _0x3800bb={};_0x3800bb['hookType']=_0x1278cb[_0x518e63(0x19b)],PerformanceTester[_0x518e63(0x1be)](PerformanceHookEvents['SDK_HOOK'],![],_0x27d2e4,_0x3800bb),PerformanceTester[_0x518e63(0x1be)](PerformanceEvents[_0x518e63(0x1e2)],![],_0x27d2e4);}const _0x57c266={};_0x57c266[_0x518e63(0x158)]=_0x1278cb['wznhp'],PerformanceTester['end'](PerformanceHookEvents[_0x518e63(0x155)],!![],null,_0x57c266);}),CodeceptJS[_0x7f06e3(0x1bc)]['dispatcher']['on'](CodeceptJS[_0x7f06e3(0x1bc)][_0x7f06e3(0x16e)][_0x7f06e3(0x14a)],(_0x3960e1,_0x21db66)=>{const _0x3c2a90=_0x7f06e3;PerformanceTester[_0x3c2a90(0x20d)](PerformanceHookEvents[_0x3c2a90(0x155)]);try{if(_0x1278cb[_0x3c2a90(0x147)](_0x3960e1[_0x3c2a90(0x1e8)][_0x3c2a90(0x157)],_0x1278cb[_0x3c2a90(0x161)])){const _0x5255c1=_0x1db5ae[_0x3c2a90(0x15b)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x3960e1[_0x3c2a90(0x1ba)]['currentTest']);CodeceptRecorder[_0x3c2a90(0x18c)](()=>_0x1db5ae['fireEvent'](TEST_EVENTS[_0x3c2a90(0x1ca)],_0x5255c1));}else{const _0x24d56f=_0x1db5ae['captureEvent'](TEST_EVENTS[_0x3c2a90(0x14b)],_0x3960e1,_0x21db66);CodeceptRecorder[_0x3c2a90(0x18c)](()=>{const _0x479122=_0x3c2a90;try{_0x1db5ae[_0x479122(0x17a)](TEST_EVENTS[_0x479122(0x14b)],_0x24d56f);}catch(_0xdbbffc){logger[_0x479122(0x19a)](_0x479122(0x1e5)+util[_0x479122(0x17d)](_0xdbbffc)),PerformanceTester[_0x479122(0x1be)](PerformanceEvents['SDK_TEST'],![],_0xdbbffc);}}),CodeceptRecorder['add'](async()=>{const _0x5d6cfb=_0x3c2a90;try{_0x1278cb['hePdX'](isBrowserstackInfra)&&(_0x502eaa?await _0x1278cb[_0x5d6cfb(0x1da)](playwrightMarkSessionStatus,_0x2f69f8,STATE_FAILED,_0x21db66):await _0x1278cb[_0x5d6cfb(0x1dc)](markSessionStatus,_0x2f69f8,STATE_FAILED,_0x21db66));}catch(_0x5e5352){logger['debug'](_0x5d6cfb(0x192)+util['format'](_0x5e5352)),PerformanceTester['end'](PerformanceEvents[_0x5d6cfb(0x1e2)],![],_0x5e5352);}});}PerformanceTester[_0x3c2a90(0x1be)](PerformanceEvents[_0x3c2a90(0x1e2)]);}catch(_0x4f592e){PerformanceTester['captureError'](_0x4f592e);const _0x3f17e2={};_0x3f17e2[_0x3c2a90(0x158)]=_0x1278cb[_0x3c2a90(0x163)],PerformanceTester[_0x3c2a90(0x1be)](PerformanceHookEvents[_0x3c2a90(0x155)],![],_0x4f592e,_0x3f17e2),PerformanceTester[_0x3c2a90(0x1be)](PerformanceEvents['SDK_TEST'],![],_0x4f592e);}const _0x159082={};_0x159082[_0x3c2a90(0x158)]=_0x1278cb[_0x3c2a90(0x163)],PerformanceTester[_0x3c2a90(0x1be)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x159082);}),CodeceptJS[_0x7f06e3(0x1bc)][_0x7f06e3(0x1a2)]['on'](CodeceptJS[_0x7f06e3(0x1bc)][_0x7f06e3(0x16e)]['skipped'],_0x36db63=>{const _0xc08809=_0x7f06e3;PerformanceTester['start'](PerformanceHookEvents[_0xc08809(0x155)]);try{const _0x40484c=_0x1db5ae[_0xc08809(0x15b)](TEST_EVENTS[_0xc08809(0x1ca)],_0x36db63);CodeceptRecorder[_0xc08809(0x18c)](()=>_0x1db5ae[_0xc08809(0x17a)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x40484c)),PerformanceTester[_0xc08809(0x1be)](PerformanceEvents[_0xc08809(0x1e2)]);}catch(_0x165233){PerformanceTester[_0xc08809(0x17c)](_0x165233),PerformanceTester['end'](PerformanceEvents['SDK_TEST'],![],_0x165233);const _0x4e25d7={};_0x4e25d7[_0xc08809(0x158)]=_0x1278cb[_0xc08809(0x1ae)],PerformanceTester['end'](PerformanceHookEvents[_0xc08809(0x155)],![],_0x165233,_0x4e25d7);}const _0x14edb6={};_0x14edb6['hookType']=_0x1278cb[_0xc08809(0x1ae)],PerformanceTester[_0xc08809(0x1be)](PerformanceHookEvents[_0xc08809(0x155)],!![],null,_0x14edb6);}),CodeceptJS[_0x7f06e3(0x1bc)][_0x7f06e3(0x1a2)]['on'](CodeceptJS[_0x7f06e3(0x1bc)][_0x7f06e3(0x16e)]['after'],async(_0x59c7f4,_0x37091b)=>{const _0x8acfe0=_0x7f06e3;try{PerformanceTester['start'](PerformanceHookEvents[_0x8acfe0(0x155)]);if(_0x1278cb[_0x8acfe0(0x166)](isBrowserstackInfra)){const _0x44727d=_0x1278cb[_0x8acfe0(0x1f7)](shouldScanTestForAccessibility,_0x59c7f4[_0x8acfe0(0x1d9)](),!![]);if(_0x1278cb[_0x8acfe0(0x18a)](isAccessibilityAutomationSession)&&global['accessibilityPlatform']&&_0x44727d){const _0x13bc4f={};_0x13bc4f[_0x8acfe0(0x1bb)]=_0x59c7f4[_0x8acfe0(0x173)],_0x13bc4f['thBuildUuid']=process[_0x8acfe0(0x1ac)][testHubConstants['ENV_VAR'][_0x8acfe0(0x193)]],_0x13bc4f[_0x8acfe0(0x17f)]=process['env'][testHubConstants[_0x8acfe0(0x1db)]['BROWSERSTACK_TESTHUB_JWT']];const _0x1d1388=_0x13bc4f;logger[_0x8acfe0(0x19a)](_0x8acfe0(0x1a4)+JSON[_0x8acfe0(0x174)](_0x1d1388)),CodeceptRecorder[_0x8acfe0(0x18c)](async()=>{const _0x341074=_0x8acfe0,_0x2053fb={};_0x2053fb[_0x341074(0x1de)]=_0x1278cb[_0x341074(0x1b6)],await PerformanceTester[_0x341074(0x1c8)](PerformanceA11yEvents[_0x341074(0x19e)],async()=>{const _0x4ef73a=_0x341074;await AccessibilityHelper[_0x4ef73a(0x183)](_0x2f69f8,scripts[_0x4ef73a(0x20c)]);},_0x2053fb)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x1cdf30=_0x341074;await AccessibilityHelper[_0x1cdf30(0x183)](_0x2f69f8,scripts[_0x1cdf30(0x191)],_0x1d1388);})();}),logger[_0x8acfe0(0x1b8)](_0x1278cb[_0x8acfe0(0x19c)]);}}const _0x305f5c={};_0x305f5c[_0x8acfe0(0x158)]=_0x1278cb['iVoiW'],PerformanceTester[_0x8acfe0(0x1be)](PerformanceHookEvents[_0x8acfe0(0x155)],!![],null,_0x305f5c);}catch(_0x32f5de){PerformanceTester[_0x8acfe0(0x17c)](_0x32f5de);const _0x1eaabe={};_0x1eaabe['hookType']=_0x1278cb[_0x8acfe0(0x1cd)],PerformanceTester[_0x8acfe0(0x1be)](PerformanceHookEvents['SDK_HOOK'],![],_0x32f5de,_0x1eaabe);}}),CodeceptJS[_0x7f06e3(0x1bc)][_0x7f06e3(0x1a2)]['on'](CodeceptJS[_0x7f06e3(0x1bc)][_0x7f06e3(0x1c3)][_0x7f06e3(0x217)],_0x5a2ad6=>{const _0x4bcabe=_0x7f06e3;PerformanceTester[_0x4bcabe(0x20d)](PerformanceHookEvents[_0x4bcabe(0x155)]);try{process[_0x4bcabe(0x160)](_0x4bcabe(0x21a)+process[_0x4bcabe(0x1bd)],{'timestamp':new Date()['toISOString'](),'level':_0x1278cb[_0x4bcabe(0x210)],'message':_0x5a2ad6,'kind':_0x1278cb['RMbpR'],'http_response':{}});}catch(_0x44c5cc){PerformanceTester['captureError'](_0x44c5cc);const _0x1dba32={};_0x1dba32['hookType']=_0x1278cb[_0x4bcabe(0x1a6)],PerformanceTester[_0x4bcabe(0x1be)](PerformanceHookEvents[_0x4bcabe(0x155)],![],_0x44c5cc,_0x1dba32);}const _0x3fa0f2={};_0x3fa0f2[_0x4bcabe(0x158)]=_0x1278cb[_0x4bcabe(0x1a6)],PerformanceTester[_0x4bcabe(0x1be)](PerformanceHookEvents[_0x4bcabe(0x155)],!![],null,_0x3fa0f2);}),CodeceptJS[_0x7f06e3(0x1bc)][_0x7f06e3(0x1a2)]['on'](CodeceptJS[_0x7f06e3(0x1bc)][_0x7f06e3(0x216)][_0x7f06e3(0x156)],_0x475364=>{const _0x10f5f4=_0x7f06e3,_0x5c06f4={};_0x5c06f4['hookType']=_0x1278cb['AoYma'],PerformanceTester[_0x10f5f4(0x1c8)](PerformanceHookEvents['SDK_HOOK'],()=>{_0x1db5ae['bddStepStart'](_0x475364);},_0x5c06f4)();}),CodeceptJS['event'][_0x7f06e3(0x1a2)]['on'](CodeceptJS[_0x7f06e3(0x1bc)][_0x7f06e3(0x216)][_0x7f06e3(0x179)],_0x5aeb95=>{const _0x43363a=_0x7f06e3,_0xe12cbb={};_0xe12cbb['hookType']=_0x1278cb[_0x43363a(0x184)],PerformanceTester[_0x43363a(0x1c8)](PerformanceHookEvents[_0x43363a(0x155)],()=>{const _0x44dd67=_0x43363a;_0x1db5ae[_0x44dd67(0x185)](_0x5aeb95);},_0xe12cbb)();});};function a1_0x5ad8(_0x2695ea,_0x59dbdc){const _0x1fd9af=a1_0x1fd9();return a1_0x5ad8=function(_0x5ad879,_0x5e664f){_0x5ad879=_0x5ad879-0x142;let _0x330e03=_0x1fd9af[_0x5ad879];return _0x330e03;},a1_0x5ad8(_0x2695ea,_0x59dbdc);}function a1_0x1fd9(){const _0x1d2679=['qCxjv','env','__skipSessionStatus','iHUrI','action','zNQKf','screenshotOutputFolder','2VPLtPe','MQple','title','../../helpers/performance/performance-tester','RNOft','HMqDP','info','zQEoi','ctx','thTestRunUuid','event','pid','end','forEach','WebDriver','UmIyk','toString','step','czYTy','SDK_PRE_INITIALIZE','stop','catch','measureWrapper','vhlNF','TEST_RUN_SKIPPED','browserstack_executor:\x20','browserstackTestName','iVoiW','__workerDetails','Failed\x20to\x20execute\x20_before:\x20','codeceptjs/lib/helper/Playwright.js','FAOzX','then','Element','oGoMX','yrDHm','started','Puppeteer','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','titlePath','GHLJG','ENV_VAR','VARhs','35824UucQNL','command','BgtJf','getAccessibilityResultsSummary','bWHBA','SDK_TEST','TEST_RUN_STARTED','all','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','hook-started','class','constructor','HOOK_RUN_FINISHED','1268684qVJSpI','getSyncScript','accessibilityPlatform','bind','TEST_SCREENSHOT','status','./o11yHelper','browser','apply','getAccessibilityResults','base64','eabFN','../../helpers/globals.js','jDjdu','../../bin/playwright/sessionDetails','startMonitoring','3582FHNQTJ','warn','../../bin/playwright/accessibility-helper','eVLTi','saveScreenshot','SoabI','CGIaG','CdMtu','4649295ILarli','6ROPIkh','helpers','SDK_POST_TEST','skipSessionName','oxCUP','QcsdS','codeceptjs/lib/utils.js','dDupr','bddStep-after','performScan','start','../../helpers/performance/constants','SYNC','VkIni','setGlobal','call','ApUdk','addRequestSpy','../../helpers/helper','bddStep','comment','1254379fbxhpv','Upycf','bs:addLog:','enabled','mNlpk','exports','GET_RESULTS_SUMMARY','filter','EUPXH','TestCafe','TEST_LOG','iyPam','XbTqB','bstackAllyScanning','failed','TEST_RUN_FINISHED','test-passed','HZQKy','FXiMi','contexts','readFileSync','dHzsm','HGAxy','patchSaveScreenshot','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','SDK_HOOK','before','name','hookType','25922700ISTWQM','test-after','captureEvent','KuZOM','step-comment','initSaveScreenshot','Suite','emit','WoLlH','../../helpers/testhub/constants.js','zIGJY','prototype','mKedV','itrHA','reason','SESSION_NAME','../../helpers/accessibility-automation/helper','AsnGc','browserContext','hook-failed','ZriMP','test','UTdOX','../../helpers/logger','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','codeceptjs/lib/helper/WebDriver.js','testAnalyticsId','stringify','QYNdD','CZXJb','Screenshot\x20path\x20not\x20found','jMCjR','after','fireEvent','GET_RESULTS','captureError','format','container','thJwtToken','BS_TESTOPS_ALLOW_SCREENSHOTS','./helper.js','executeScript','browserStackExecuteDriver','hDmDQ','bddStepFinish','2156604TKJWZF','commandsToWrap','bddStep-before','../../helpers/test-observability/utils','rjlAY','fbIHn','add','setSessionStatus','codeceptjs','1254662QKhLOt','restore','saveTestResults','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','BROWSERSTACK_TESTHUB_UUID','vpEaZ','hook','stopMonitoring','arguments','toISOString','SDK_PRE_TEST','debug','wznhp','iuBtp','util','PERFORM_SCAN','SDK_POST_INITIALIZE','getResults','__driver','dispatcher','winstonLogger','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','codeceptjs/lib/recorder.js','uVUfx','_before','Playwright','test-skipped','passed'];a1_0x1fd9=function(){return _0x1d2679;};return a1_0x1fd9();}
|
|
1
|
+
const a1_0x1114ef=a1_0x3745;function a1_0xf2bd(){const _0x5509df=['bddStepFinish','exports','helpers','emit','2997888pKzWdU','5008LQOspz','initSaveScreenshot','bddStepStart','test-started','apply','PERFORM_SCAN','HOOK_RUN_STARTED','add','GET_RESULTS_SUMMARY','cifSX','test-after','vmaNb','usGKd','commandsToWrap','format','drbqH','fireEvent','dispatcher','oXFTt','1745ZRuMdj','TEST_RUN_STARTED','__workerDetails','Performing\x20scan\x20for\x20','OXlxt','871170ZEFaDN','setSessionStatus','stop','bddStep','RpbqD','BROWSERSTACK_TESTHUB_JWT','accessibilityPlatform','agayb','browserContext','command','test-before','hookType','../../bin/playwright/accessibility-helper','IuwZk','after','captureError','sHOuE','YFMkY','performScan','ogjAu','test','codeceptjs','container','ENV_VAR','hook-started','QBzOq','UjTjo','ouuuN','hook','mIWGI','browserstack_executor:\x20','event','screenshotOutputFolder','bs:addLog:','getSyncScript','comment','Failed\x20to\x20execute\x20_before:\x20','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','grReX','SESSION_NAME','TEST_RUN_SKIPPED','./helper.js','SDK_TEST','browserStackExecuteDriver','enabled','tfEHs','uGxuz','SDK_POST_TEST','test-passed','started','hook-passed','toISOString','Screenshot\x20path\x20not\x20found','35eqpZnP','warn','FTkHh','dqlic','TWvgK','UgRle','getResultsSummary','before','shouldWrapCommand','9379380fAejtt','end','../../helpers/performance/constants','arguments','patchSaveScreenshot','lPJvi','browserstackTestName','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','bddStep-before','pid','4691043gsEqnr','getAccessibilityResultsSummary','IOksv','KzWmD','testAnalyticsId','./o11yHelper','getResults','654NoDfll','WOHMF','rYcIN','../../helpers/request-spy','afterTest','11fycPrx','QxCCl','INFO','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','QCIfO','../../helpers/testhub/constants.js','stringify','bddStep-after','JweXe','vSBem','forEach','qbmOK','vpkGU','class','title','DHrDG','../../helpers/test-observability/utils','codeceptjs/lib/recorder.js','browser','action','name','gpjEz','codeceptjs/lib/helper/WebDriver.js','startMonitoring','jNdpO','../../helpers/accessibility-automation/scripts','OWviP','all','TiDjz','SDK_POST_INITIALIZE','env','test-failed','passed','status','ILXqN','MYdGp','959FZtmCL','121722ScraGc','qCpED','SYNC','RfgHt','base64','debug','step','readFileSync','SDK_HOOK','zEltJ','find','Suite','KkhOt','mfUMr','winstonLogger','saveTestResults','fLEOA','failed','titlePath','UqDUz','JBeyn','_before','WRsEa','start','call','Playwright','measureWrapper','Element','thBuildUuid','constructor','TEST_LOG','YwSsV','TEST_RUN_FINISHED','captureEvent','SDK_PRE_INITIALIZE','currentTest','getAccessibilityResults','skipSessionStatus','NzKeJ','BROWSERSTACK_TESTHUB_UUID','ctx','setGlobal','gRDAR','ECxoS','egKnn','prototype','catch','../../helpers/accessibility-automation/helper','SDK_PRE_TEST','executeScript','thTestRunUuid','../../bin/playwright/sessionDetails','VDIwM','../../helpers/globals.js','tNYgu','saveScreenshot','HOOK_RUN_FINISHED','__skipSessionStatus','stopMonitoring','bstackAllyScanning'];a1_0xf2bd=function(){return _0x5509df;};return a1_0xf2bd();}(function(_0x232512,_0x222afb){const _0x4a6a33=a1_0x3745,_0x12aaff=_0x232512();while(!![]){try{const _0x30970a=-parseInt(_0x4a6a33(0x21c))/0x1*(parseInt(_0x4a6a33(0x1f2))/0x2)+parseInt(_0x4a6a33(0x1a3))/0x3+parseInt(_0x4a6a33(0x18b))/0x4*(parseInt(_0x4a6a33(0x19e))/0x5)+-parseInt(_0x4a6a33(0x21d))/0x6*(parseInt(_0x4a6a33(0x1d8))/0x7)+parseInt(_0x4a6a33(0x18a))/0x8+parseInt(_0x4a6a33(0x1eb))/0x9+parseInt(_0x4a6a33(0x1e1))/0xa*(-parseInt(_0x4a6a33(0x1f7))/0xb);if(_0x30970a===_0x222afb)break;else _0x12aaff['push'](_0x12aaff['shift']());}catch(_0x39487d){_0x12aaff['push'](_0x12aaff['shift']());}}}(a1_0xf2bd,0x41fff));const fs=require('fs'),util=require('util'),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require('../../helpers/helper'),logger=require('../../helpers/logger')[a1_0x1114ef(0x22b)],testOpsHelper=require(a1_0x1114ef(0x208)),requestSpy=require(a1_0x1114ef(0x1f5)),PlaywrightSessionDetails=require(a1_0x1114ef(0x17d)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x1114ef(0x1f0)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x1114ef(0x179)),AccessibilityHelper=require(a1_0x1114ef(0x1af)),scripts=require(a1_0x1114ef(0x211)),PerformanceTester=require('../../helpers/performance/performance-tester'),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x1114ef(0x1e3)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x1114ef(0x1cc)),testHubConstants=require(a1_0x1114ef(0x1fd)),globals=require(a1_0x1114ef(0x17f)),CodeceptJS=requireModule('codeceptjs/lib/index.js',a1_0x1114ef(0x1b8)),CodeceptUtils=requireModule('codeceptjs/lib/utils.js','codeceptjs'),CodeceptWebDriver=requireModule(a1_0x1114ef(0x20e),a1_0x1114ef(0x1b8)),CodeceptRecorder=requireModule(a1_0x1114ef(0x209),a1_0x1114ef(0x1b8)),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js','codeceptjs'),playwrightMarkSessionStatus=(_0x122a5c,_0x1b6cbf,_0x549ef2)=>{const _0xeed276=a1_0x1114ef,_0x3b3370={'uGxuz':_0xeed276(0x1a4),'MYdGp':function(_0x247b9e,_0x8b961c){return _0x247b9e(_0x8b961c);}},_0x43a257={};_0x43a257[_0xeed276(0x219)]=_0x1b6cbf;const _0x46ac49={};_0x46ac49['action']=_0x3b3370[_0xeed276(0x1d1)],_0x46ac49[_0xeed276(0x1e4)]=_0x43a257;const _0x4846b0=_0x46ac49;return!_0x3b3370[_0xeed276(0x21b)](isUndefined,_0x549ef2)&&(_0x4846b0[_0xeed276(0x1e4)]['reason']=JSON['stringify'](_0x549ef2)),_0x122a5c[_0xeed276(0x17b)](()=>{},'browserstack_executor:\x20'+JSON[_0xeed276(0x1fe)](_0x4846b0));},o11ySync=PerformanceTester['measureWrapper'](PerformanceO11yEvents[a1_0x1114ef(0x21f)],async _0x57aa9d=>{const _0x54bca2=a1_0x1114ef,_0x2f657e={};_0x2f657e['mfUMr']=function(_0x1648a2,_0x4f5427){return _0x1648a2===_0x4f5427;},_0x2f657e[_0x54bca2(0x200)]=_0x54bca2(0x236);const _0x2d10ca=_0x2f657e;_0x2d10ca[_0x54bca2(0x22a)](_0x57aa9d[_0x54bca2(0x167)][_0x54bca2(0x20c)],_0x2d10ca['JweXe'])?await _0x57aa9d['executeScript'](_0x12cc3d=>{},testOpsHelper[_0x54bca2(0x1c5)]()):await _0x57aa9d[_0x54bca2(0x17b)](testOpsHelper['getSyncScript']());}),markSessionName=PerformanceTester['measureWrapper'](PerformanceAutEvents[a1_0x1114ef(0x1ca)],async(_0x72e529,_0x406cf8)=>{const _0x449b0f=a1_0x1114ef,_0x4edffd={};_0x4edffd['UqDUz']='setSessionName',_0x4edffd[_0x449b0f(0x1bc)]=function(_0x533bf0,_0x5e0eb7){return _0x533bf0===_0x5e0eb7;},_0x4edffd[_0x449b0f(0x21a)]=_0x449b0f(0x236);const _0x3775ab=_0x4edffd,_0x9dec68={};_0x9dec68[_0x449b0f(0x20c)]=_0x406cf8;const _0x4721f4={};_0x4721f4[_0x449b0f(0x20b)]=_0x3775ab[_0x449b0f(0x230)],_0x4721f4['arguments']=_0x9dec68;const _0x5c3a94=_0x4721f4;_0x3775ab[_0x449b0f(0x1bc)](_0x72e529['constructor']['name'],_0x3775ab[_0x449b0f(0x21a)])?await _0x72e529[_0x449b0f(0x17b)](()=>{},_0x449b0f(0x1c1)+JSON['stringify'](_0x5c3a94)):await _0x72e529[_0x449b0f(0x17b)](_0x449b0f(0x1c1)+JSON['stringify'](_0x5c3a94));}),patchSaveScreenshot=_0x1b9072=>{const _0x33a2f7=a1_0x1114ef,_0x187c6a={'VDIwM':_0x33a2f7(0x221),'cifSX':'TEST_SCREENSHOT','drbqH':function(_0xbd718e){return _0xbd718e();},'DHrDG':function(_0x2ddcb6,_0x522901){return _0x2ddcb6(_0x522901);},'BlOOC':_0x33a2f7(0x1d7),'qbmOK':function(_0x329e46,_0x5ab3a0){return _0x329e46(_0x5ab3a0);}};_0x187c6a[_0x33a2f7(0x203)](isTrue,process[_0x33a2f7(0x216)]['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x1b9072[_0x33a2f7(0x1e5)]&&(_0x1b9072[_0x33a2f7(0x1e5)]=!![],_0x1b9072[_0x33a2f7(0x18c)]=_0x1b9072[_0x33a2f7(0x181)],_0x1b9072[_0x33a2f7(0x181)]=(_0xdfb3e6,_0x4deac1=![])=>{const _0x458d6d=_0x33a2f7,_0x13c42a={'gpjEz':_0x187c6a[_0x458d6d(0x17e)],'zEltJ':_0x187c6a[_0x458d6d(0x194)],'tNYgu':function(_0x3dc26c){const _0x166014=_0x458d6d;return _0x187c6a[_0x166014(0x19a)](_0x3dc26c);},'IOksv':function(_0x162468,_0x145f41){const _0x335f44=_0x458d6d;return _0x187c6a[_0x335f44(0x207)](_0x162468,_0x145f41);},'WOHMF':_0x187c6a['BlOOC']};return new Promise(function(_0x3c39c7,_0x54ec92){const _0x500032=_0x458d6d;_0x1b9072[_0x500032(0x18c)](_0xdfb3e6,_0x4deac1)['then'](()=>{const _0x57644c=_0x500032,_0xdcb310=CodeceptUtils[_0x57644c(0x1c3)](_0xdfb3e6);if(_0xdcb310){const _0x542b4c=fs[_0x57644c(0x224)](_0xdcb310);process[_0x57644c(0x189)](_0x57644c(0x1c4)+process[_0x57644c(0x1ea)],{'timestamp':new Date()[_0x57644c(0x1d6)](),'message':_0x542b4c['toString'](_0x13c42a[_0x57644c(0x20d)]),'kind':_0x13c42a[_0x57644c(0x226)]}),_0x13c42a[_0x57644c(0x180)](_0x3c39c7);}_0x13c42a[_0x57644c(0x1ed)](_0x54ec92,new Error(_0x13c42a[_0x57644c(0x1f3)]));})[_0x500032(0x178)](()=>null);});});},patchWebDriverBefore=_0x5154b1=>{const _0x249022=a1_0x1114ef,_0x4e58a3={'rYcIN':function(_0x2e7ce2){return _0x2e7ce2();},'QCIfO':function(_0x4e6a22,_0x2304c6){return _0x4e6a22(_0x2304c6);},'aKBCZ':function(_0x330bd6,_0x3a91a1){return _0x330bd6===_0x3a91a1;},'YFMkY':_0x249022(0x238)},_0x566811=async function(_0x23fc7c,_0x4796ae){const _0x58268e=_0x249022;return _0x4e58a3[_0x58268e(0x1f4)](isAccessibilityAutomationSession)&&!global['bstackAllyScanning']&&global[_0x58268e(0x1a9)]&&scripts[_0x58268e(0x1e0)](_0x23fc7c[_0x58268e(0x20c)])&&_0x4e58a3['QCIfO'](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x58268e(0x185)]=!![],await PerformanceTester[_0x58268e(0x237)](PerformanceA11yEvents[_0x58268e(0x190)],async()=>{const _0x5c7369=_0x58268e;logger[_0x5c7369(0x222)](_0x5c7369(0x1a1)+_0x23fc7c[_0x5c7369(0x205)]+'\x20'+_0x23fc7c[_0x5c7369(0x20c)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x5154b1,scripts['performScan']);},{'command':_0x23fc7c[_0x58268e(0x20c)]})()),global['bstackAllyScanning']=![],_0x4796ae['apply'](this,Array[_0x58268e(0x177)]['slice'][_0x58268e(0x235)](arguments,0x2));},_0x2aa54a=CodeceptWebDriver[_0x249022(0x177)]['_before'];CodeceptWebDriver[_0x249022(0x177)][_0x249022(0x232)]=async function(){const _0x76bc36=_0x249022;try{await _0x2aa54a[_0x76bc36(0x18f)](this,arguments);}catch(_0x50802d){logger[_0x76bc36(0x222)](_0x76bc36(0x1c7)+util['format'](_0x50802d));}scripts[_0x76bc36(0x198)]['filter'](_0x579bcd=>_0x579bcd[_0x76bc36(0x20c)]&&_0x579bcd[_0x76bc36(0x205)])[_0x76bc36(0x202)](_0x89eaca=>{const _0x295bdc=_0x76bc36;this[_0x295bdc(0x20a)]['overwriteCommand'](_0x89eaca[_0x295bdc(0x20c)],_0x566811['bind'](this,_0x89eaca),_0x4e58a3['aKBCZ'](_0x89eaca[_0x295bdc(0x205)],_0x4e58a3[_0x295bdc(0x1b4)]));}),_0x4e58a3[_0x76bc36(0x1fc)](processWebDriverConfig,_0x5154b1);};},patchPlaywrightBefore=()=>{const _0x557185=a1_0x1114ef;PlaywrightSessionDetails['patch']();const _0xf24c15=CodeceptPlaywright[_0x557185(0x177)][_0x557185(0x232)];CodeceptPlaywright[_0x557185(0x177)]['_before']=async function(){const _0x44e5d5=_0x557185;this[_0x44e5d5(0x1ab)]=await this['browser']['contexts']()[0x0],await _0xf24c15['apply'](this,arguments);};},getCodeceptDriver=()=>{const _0x3ec485=a1_0x1114ef,_0x443cb8={};_0x443cb8[_0x3ec485(0x1be)]='WebDriver',_0x443cb8[_0x3ec485(0x1da)]=_0x3ec485(0x236),_0x443cb8['qCpED']='Puppeteer',_0x443cb8[_0x3ec485(0x231)]='TestCafe';const _0x32c42b=_0x443cb8,_0x27ea97=[_0x32c42b[_0x3ec485(0x1be)],_0x32c42b[_0x3ec485(0x1da)],_0x32c42b[_0x3ec485(0x21e)],_0x32c42b[_0x3ec485(0x231)]],_0x131459=_0x27ea97[_0x3ec485(0x227)](_0xa30b70=>!!CodeceptJS[_0x3ec485(0x1b9)]['helpers'](_0xa30b70));if(!_0x131459)return null;return CodeceptJS[_0x3ec485(0x1b9)][_0x3ec485(0x188)](_0x131459);};function a1_0x3745(_0x4f25ff,_0x109350){const _0xf2bdb0=a1_0xf2bd();return a1_0x3745=function(_0x374503,_0x3b07d2){_0x374503=_0x374503-0x167;let _0x17ac5f=_0xf2bdb0[_0x374503];return _0x17ac5f;},a1_0x3745(_0x4f25ff,_0x109350);}module[a1_0x1114ef(0x187)]=function(_0x4ed06c){const _0x1f965f=a1_0x1114ef,_0x566db0={'ECxoS':function(_0x28d627){return _0x28d627();},'RfgHt':function(_0x2e5d29,_0x4e7964){return _0x2e5d29(_0x4e7964);},'OWviP':_0x1f965f(0x1ec),'mZvGP':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','lkQoY':_0x1f965f(0x16e),'YwSsV':_0x1f965f(0x1e8),'WRsEa':function(_0x35cdbf,_0x16ef86){return _0x35cdbf(_0x16ef86);},'sHOuE':_0x1f965f(0x1bb),'egKnn':_0x1f965f(0x1d5),'usGKd':'hook-failed','vpkGU':_0x1f965f(0x1e7),'lPJvi':_0x1f965f(0x1ad),'QxCCl':function(_0x4460e2,_0x634a,_0x4bc47c){return _0x4460e2(_0x634a,_0x4bc47c);},'agayb':function(_0x1dcb85,_0x360aaa){return _0x1dcb85(_0x360aaa);},'OXlxt':_0x1f965f(0x18e),'kIrhj':function(_0x55aa9c,_0x571609,_0x49e5d0){return _0x55aa9c(_0x571609,_0x49e5d0);},'oXFTt':function(_0x10f66f){return _0x10f66f();},'NzKeJ':_0x1f965f(0x1d3),'ceYxo':function(_0x400d87,_0x3c34fd,_0x23fac2,_0x3e072d){return _0x400d87(_0x3c34fd,_0x23fac2,_0x3e072d);},'TiDjz':function(_0x397514,_0x3de53d){return _0x397514===_0x3de53d;},'jNdpO':_0x1f965f(0x228),'grReX':_0x1f965f(0x217),'tfEHs':'test-skipped','KkhOt':_0x1f965f(0x1f6),'KSoNP':function(_0x58b281){return _0x58b281();},'TWvgK':function(_0x1567e9,_0x194a53,_0x1882a9){return _0x1567e9(_0x194a53,_0x1882a9);},'WlKmP':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','bhQqy':_0x1f965f(0x195),'fhjbQ':_0x1f965f(0x1f9),'vmaNb':_0x1f965f(0x168),'UjTjo':'step-comment','IuwZk':_0x1f965f(0x1e9),'RpbqD':_0x1f965f(0x1ff),'ogjAu':function(_0x48d57c){return _0x48d57c();},'KzWmD':_0x1f965f(0x236)};_0x4ed06c[_0x1f965f(0x16f)]&&(global[_0x1f965f(0x183)]=_0x4ed06c[_0x1f965f(0x16f)]);PerformanceTester[_0x1f965f(0x20f)]();const _0xcb864e=_0x566db0[_0x1f965f(0x1b6)](getCodeceptDriver),_0x57334e=new O11yHelper(_0xcb864e,_0x4ed06c),_0x1bbdae=!!CodeceptJS['container'][_0x1f965f(0x188)](_0x566db0[_0x1f965f(0x1ee)]);global['__driver']=_0xcb864e,_0xcb864e&&(PerformanceTester[_0x1f965f(0x237)](PerformanceEvents[_0x1f965f(0x16c)],()=>{const _0x1c8567=_0x1f965f;_0x1bbdae?_0x566db0[_0x1c8567(0x175)](patchPlaywrightBefore):_0x566db0[_0x1c8567(0x220)](patchWebDriverBefore,_0xcb864e);})(),PerformanceTester['measureWrapper'](PerformanceEvents[_0x1f965f(0x215)],()=>{const _0x5e1f00=_0x1f965f,_0x2f5bcc={};_0x2f5bcc[_0x5e1f00(0x174)]=_0x566db0['lkQoY'],_0x2f5bcc[_0x5e1f00(0x22d)]=_0x566db0[_0x5e1f00(0x169)];const _0x4bd4cc=_0x2f5bcc;_0xcb864e[_0x5e1f00(0x1ec)]=async()=>{const _0x35b49d=_0x5e1f00;if(global[_0x35b49d(0x1a9)]){const _0x1c25d3={};_0x1c25d3[_0x35b49d(0x1ac)]=_0x566db0[_0x35b49d(0x212)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x35b49d(0x190)],async()=>{const _0x3aeb21=_0x35b49d;await AccessibilityHelper[_0x3aeb21(0x1ce)](_0xcb864e,scripts['performScan']);},_0x1c25d3)(),await PerformanceTester[_0x35b49d(0x237)](PerformanceA11yEvents[_0x35b49d(0x193)],async()=>{const _0x478861=_0x35b49d;await AccessibilityHelper[_0x478861(0x1ce)](_0xcb864e,scripts[_0x478861(0x1de)]);})();}else return logger['warn'](_0x566db0['mZvGP']),{};},_0xcb864e[_0x5e1f00(0x16e)]=async()=>{const _0x224e98=_0x5e1f00;if(global[_0x224e98(0x1a9)]){const _0x19fc82={};_0x19fc82['command']=_0x4bd4cc[_0x224e98(0x174)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x224e98(0x190)],async()=>{const _0x4bf4d9=_0x224e98;await AccessibilityHelper[_0x4bf4d9(0x1ce)](_0xcb864e,scripts[_0x4bf4d9(0x1b5)]);},_0x19fc82)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents['GET_RESULTS'],async()=>{const _0x215809=_0x224e98;await AccessibilityHelper[_0x215809(0x1ce)](_0xcb864e,scripts[_0x215809(0x1f1)]);})();}else return logger[_0x224e98(0x1d9)](_0x4bd4cc[_0x224e98(0x22d)]),{};},_0x566db0[_0x5e1f00(0x233)](patchSaveScreenshot,_0xcb864e);})()),CodeceptJS[_0x1f965f(0x1c2)]['dispatcher']['on'](CodeceptJS[_0x1f965f(0x1c2)][_0x1f965f(0x213)][_0x1f965f(0x1df)],()=>{const _0x1ff997=_0x1f965f;PerformanceTester[_0x1ff997(0x234)](PerformanceEvents['SDK_PRE_TEST']);try{_0x57334e[_0x1ff997(0x234)](),testOpsHelper['addRequestSpy'](),PerformanceTester[_0x1ff997(0x1e2)](PerformanceEvents['SDK_PRE_TEST']);}catch(_0x14bd8c){PerformanceTester[_0x1ff997(0x1b2)](_0x14bd8c),PerformanceTester['end'](PerformanceEvents[_0x1ff997(0x17a)],![],_0x14bd8c);}}),CodeceptJS[_0x1f965f(0x1c2)][_0x1f965f(0x19c)]['on'](CodeceptJS[_0x1f965f(0x1c2)][_0x1f965f(0x213)][_0x1f965f(0x1b1)],async()=>{const _0x4a163f=_0x1f965f;PerformanceTester[_0x4a163f(0x234)](PerformanceEvents['SDK_POST_TEST']);try{requestSpy['restore'](),await _0x57334e[_0x4a163f(0x1a5)](),PerformanceTester['end'](PerformanceEvents[_0x4a163f(0x1d2)]);}catch(_0x309075){PerformanceTester['captureError'](_0x309075),PerformanceTester[_0x4a163f(0x1e2)](PerformanceEvents[_0x4a163f(0x1d2)],![],_0x309075);}finally{PerformanceTester[_0x4a163f(0x184)]();}}),CodeceptJS[_0x1f965f(0x1c2)]['dispatcher']['on'](CodeceptJS[_0x1f965f(0x1c2)][_0x1f965f(0x1bf)][_0x1f965f(0x1d4)],_0x5d2be2=>{const _0x1afdb0=_0x1f965f;PerformanceTester['start'](PerformanceEvents[_0x1afdb0(0x225)]);try{const _0x18cc02=_0x5d2be2[_0x1afdb0(0x172)]['test'],_0x22f109=_0x57334e[_0x1afdb0(0x16b)](TEST_EVENTS[_0x1afdb0(0x191)],_0x18cc02);CodeceptRecorder['add'](()=>_0x57334e[_0x1afdb0(0x19b)](TEST_EVENTS[_0x1afdb0(0x191)],_0x22f109));const _0x554848={};_0x554848[_0x1afdb0(0x1ae)]=_0x566db0[_0x1afdb0(0x1b3)],PerformanceTester[_0x1afdb0(0x1e2)](PerformanceEvents['SDK_HOOK'],!![],null,_0x554848);}catch(_0x63479f){const _0x531e8e={};_0x531e8e[_0x1afdb0(0x1ae)]=_0x566db0['sHOuE'],PerformanceTester[_0x1afdb0(0x1e2)](PerformanceEvents[_0x1afdb0(0x225)],![],_0x63479f,_0x531e8e),PerformanceTester[_0x1afdb0(0x1b2)](_0x63479f);}}),CodeceptJS['event'][_0x1f965f(0x19c)]['on'](CodeceptJS['event'][_0x1f965f(0x1bf)][_0x1f965f(0x218)],_0x2e0931=>{const _0x65bd6a=_0x1f965f,_0x24cd6c={};_0x24cd6c['hookType']=_0x566db0[_0x65bd6a(0x176)],PerformanceTester['start'](PerformanceHookEvents[_0x65bd6a(0x225)],!![],null,_0x24cd6c);try{const _0x3d7a26=_0x2e0931['ctx'][_0x65bd6a(0x1b7)],_0x3a882a=_0x57334e[_0x65bd6a(0x16b)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x3d7a26);CodeceptRecorder['add'](()=>_0x57334e['fireEvent'](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x3a882a));const _0xeb076={};_0xeb076[_0x65bd6a(0x1ae)]=_0x566db0['egKnn'],PerformanceTester['end'](PerformanceHookEvents[_0x65bd6a(0x225)],!![],null,_0xeb076);}catch(_0x325e70){PerformanceTester[_0x65bd6a(0x1b2)](_0x325e70);const _0x4351f1={};_0x4351f1[_0x65bd6a(0x1ae)]=_0x566db0['egKnn'],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x325e70,_0x4351f1);}}),CodeceptJS[_0x1f965f(0x1c2)][_0x1f965f(0x19c)]['on'](CodeceptJS['event'][_0x1f965f(0x1bf)][_0x1f965f(0x22e)],async(_0x4e70fe,_0xb0e856)=>{const _0x11c34a=_0x1f965f;PerformanceTester['start'](PerformanceHookEvents[_0x11c34a(0x225)]);try{const _0x38314f=_0x4e70fe[_0x11c34a(0x172)]['test'],_0x41e5dc=_0x57334e['captureEvent'](TEST_EVENTS[_0x11c34a(0x182)],_0x38314f,_0xb0e856);CodeceptRecorder['add'](()=>_0x57334e['fireEvent'](TEST_EVENTS[_0x11c34a(0x182)],_0x41e5dc));const _0x354fa5={};_0x354fa5['hookType']=_0x566db0[_0x11c34a(0x197)],PerformanceTester[_0x11c34a(0x234)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x354fa5);}catch(_0x195646){PerformanceTester[_0x11c34a(0x1b2)](_0x195646);const _0x1c636d={};_0x1c636d[_0x11c34a(0x1ae)]=_0x566db0[_0x11c34a(0x197)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x195646,_0x1c636d);}const _0x459706={};_0x459706[_0x11c34a(0x1ae)]=_0x566db0[_0x11c34a(0x197)],PerformanceTester[_0x11c34a(0x1e2)](PerformanceHookEvents[_0x11c34a(0x225)],!![],null,_0x459706);}),CodeceptJS[_0x1f965f(0x1c2)][_0x1f965f(0x19c)]['on'](CodeceptJS[_0x1f965f(0x1c2)][_0x1f965f(0x1b7)][_0x1f965f(0x1df)],_0x4bd9e0=>{const _0x3ed276=_0x1f965f;PerformanceTester[_0x3ed276(0x234)](PerformanceHookEvents[_0x3ed276(0x225)]);try{globals[_0x3ed276(0x173)](_0x566db0[_0x3ed276(0x204)],_0x4bd9e0['title']);_0x566db0[_0x3ed276(0x175)](isBrowserstackInfra)&&(_0x1bbdae&&(global[_0x3ed276(0x1a0)]={'currentTest':{'name':_0x4bd9e0[_0x3ed276(0x206)],'testInfo':{'titlePath':_0x4bd9e0['titlePath']()}}}));const _0x5f4dff={};_0x5f4dff[_0x3ed276(0x1ae)]=_0x566db0[_0x3ed276(0x1e6)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x5f4dff);}catch(_0x10d8cf){PerformanceTester[_0x3ed276(0x1b2)](_0x10d8cf);const _0xb99ffb={};_0xb99ffb['hookType']=_0x566db0[_0x3ed276(0x1e6)],PerformanceTester[_0x3ed276(0x1e2)](PerformanceHookEvents['SDK_HOOK'],![],_0x10d8cf,_0xb99ffb);}}),CodeceptJS[_0x1f965f(0x1c2)][_0x1f965f(0x19c)]['on'](CodeceptJS['event'][_0x1f965f(0x1b7)]['started'],_0x58eced=>{const _0x29fa96=_0x1f965f;PerformanceTester[_0x29fa96(0x234)](PerformanceHookEvents[_0x29fa96(0x225)]);try{globals[_0x29fa96(0x173)](_0x566db0['vpkGU'],_0x58eced[_0x29fa96(0x206)]);const _0xb1daea=_0x57334e[_0x29fa96(0x16b)](TEST_EVENTS[_0x29fa96(0x19f)],_0x58eced);CodeceptRecorder[_0x29fa96(0x192)](()=>_0x57334e[_0x29fa96(0x19b)](TEST_EVENTS[_0x29fa96(0x19f)],_0xb1daea)),CodeceptRecorder[_0x29fa96(0x192)](async()=>{const _0x562e0d=_0x29fa96;_0x566db0[_0x562e0d(0x175)](isBrowserstackInfra)&&(!_0x566db0[_0x562e0d(0x233)](isTrue,_0x4ed06c['skipSessionName'])&&await _0x566db0[_0x562e0d(0x1f8)](markSessionName,_0xcb864e,_0x58eced['title']),_0x57334e[_0x562e0d(0x1cf)]&&await _0x566db0[_0x562e0d(0x1aa)](o11ySync,_0xcb864e));});}catch(_0x4501e8){const _0x571aa8={};_0x571aa8[_0x29fa96(0x1ae)]=_0x566db0['OXlxt'],PerformanceTester[_0x29fa96(0x1e2)](PerformanceHookEvents[_0x29fa96(0x225)],![],_0x4501e8,_0x571aa8),PerformanceTester[_0x29fa96(0x1b2)](_0x4501e8);}const _0x11506a={};_0x11506a['hookType']=_0x566db0[_0x29fa96(0x1a2)],PerformanceTester[_0x29fa96(0x1e2)](PerformanceHookEvents[_0x29fa96(0x225)],!![],null,_0x11506a);}),CodeceptJS['event'][_0x1f965f(0x19c)]['on'](CodeceptJS[_0x1f965f(0x1c2)][_0x1f965f(0x1b7)]['passed'],_0x491dba=>{const _0x2c103e=_0x1f965f;PerformanceTester['start'](PerformanceHookEvents[_0x2c103e(0x225)]);try{const _0x3ee3d7=_0x57334e['captureEvent'](TEST_EVENTS[_0x2c103e(0x16a)],_0x491dba);CodeceptRecorder[_0x2c103e(0x192)](()=>_0x57334e['fireEvent'](TEST_EVENTS[_0x2c103e(0x16a)],_0x3ee3d7)),CodeceptRecorder[_0x2c103e(0x192)](async()=>{const _0x253965=_0x2c103e,_0x1bd9ac={'vSBem':function(_0x4e2a22,_0x4b264d,_0x1d3bf9){return _0x566db0['kIrhj'](_0x4e2a22,_0x4b264d,_0x1d3bf9);}};_0x566db0[_0x253965(0x19d)](isBrowserstackInfra)&&await PerformanceTester['measureWrapper'](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x2291fb=_0x253965;_0x1bbdae?await _0x1bd9ac[_0x2291fb(0x201)](playwrightMarkSessionStatus,_0xcb864e,STATE_PASSED):await _0x1bd9ac[_0x2291fb(0x201)](markSessionStatus,_0xcb864e,STATE_PASSED);})();}),PerformanceTester[_0x2c103e(0x1e2)](PerformanceEvents[_0x2c103e(0x1cd)]);}catch(_0x4f2fc0){PerformanceTester[_0x2c103e(0x1b2)](_0x4f2fc0);const _0x5881d4={};_0x5881d4[_0x2c103e(0x1ae)]=_0x566db0[_0x2c103e(0x170)],PerformanceTester[_0x2c103e(0x1e2)](PerformanceHookEvents[_0x2c103e(0x225)],![],_0x4f2fc0,_0x5881d4),PerformanceTester['end'](PerformanceEvents[_0x2c103e(0x1cd)],![],_0x4f2fc0);}const _0x53c68f={};_0x53c68f[_0x2c103e(0x1ae)]=_0x566db0[_0x2c103e(0x170)],PerformanceTester[_0x2c103e(0x1e2)](PerformanceHookEvents[_0x2c103e(0x225)],!![],null,_0x53c68f);}),CodeceptJS[_0x1f965f(0x1c2)][_0x1f965f(0x19c)]['on'](CodeceptJS[_0x1f965f(0x1c2)][_0x1f965f(0x1b7)]['failed'],(_0x3dba37,_0x109e43)=>{const _0x119ae2=_0x1f965f,_0x33d1c3={'IVmIh':function(_0x1b9d23){const _0x4c8592=a1_0x3745;return _0x566db0[_0x4c8592(0x19d)](_0x1b9d23);},'UgRle':function(_0x30283a,_0x4dabb5,_0x41e2a6,_0x3fefc3){return _0x566db0['ceYxo'](_0x30283a,_0x4dabb5,_0x41e2a6,_0x3fefc3);},'dqlic':function(_0x1d2a90,_0x25c14d,_0x48ebe6,_0x235383){return _0x566db0['ceYxo'](_0x1d2a90,_0x25c14d,_0x48ebe6,_0x235383);}};PerformanceTester[_0x119ae2(0x234)](PerformanceHookEvents[_0x119ae2(0x225)]);try{if(_0x566db0[_0x119ae2(0x214)](_0x3dba37['constructor']['name'],_0x566db0[_0x119ae2(0x210)])){const _0x293b08=_0x57334e[_0x119ae2(0x16b)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x3dba37[_0x119ae2(0x172)][_0x119ae2(0x16d)]);CodeceptRecorder[_0x119ae2(0x192)](()=>_0x57334e[_0x119ae2(0x19b)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x293b08));}else{const _0x19d272=_0x57334e[_0x119ae2(0x16b)](TEST_EVENTS[_0x119ae2(0x16a)],_0x3dba37,_0x109e43);CodeceptRecorder[_0x119ae2(0x192)](()=>{const _0x6fe5d5=_0x119ae2;try{_0x57334e[_0x6fe5d5(0x19b)](TEST_EVENTS[_0x6fe5d5(0x16a)],_0x19d272);}catch(_0x263287){logger[_0x6fe5d5(0x222)](_0x6fe5d5(0x1fb)+util[_0x6fe5d5(0x199)](_0x263287)),PerformanceTester[_0x6fe5d5(0x1e2)](PerformanceEvents['SDK_TEST'],![],_0x263287);}}),CodeceptRecorder[_0x119ae2(0x192)](async()=>{const _0x3cc5f3=_0x119ae2;try{_0x33d1c3['IVmIh'](isBrowserstackInfra)&&(_0x1bbdae?await _0x33d1c3[_0x3cc5f3(0x1dd)](playwrightMarkSessionStatus,_0xcb864e,STATE_FAILED,_0x109e43):await _0x33d1c3[_0x3cc5f3(0x1db)](markSessionStatus,_0xcb864e,STATE_FAILED,_0x109e43));}catch(_0x45166e){logger[_0x3cc5f3(0x222)](_0x3cc5f3(0x1c8)+util[_0x3cc5f3(0x199)](_0x45166e)),PerformanceTester[_0x3cc5f3(0x1e2)](PerformanceEvents['SDK_TEST'],![],_0x45166e);}});}PerformanceTester['end'](PerformanceEvents[_0x119ae2(0x1cd)]);}catch(_0x295d08){PerformanceTester['captureError'](_0x295d08);const _0x317d86={};_0x317d86[_0x119ae2(0x1ae)]=_0x566db0[_0x119ae2(0x1c9)],PerformanceTester['end'](PerformanceHookEvents[_0x119ae2(0x225)],![],_0x295d08,_0x317d86),PerformanceTester[_0x119ae2(0x1e2)](PerformanceEvents[_0x119ae2(0x1cd)],![],_0x295d08);}const _0x2ed155={};_0x2ed155['hookType']=_0x566db0[_0x119ae2(0x1c9)],PerformanceTester[_0x119ae2(0x1e2)](PerformanceHookEvents[_0x119ae2(0x225)],!![],null,_0x2ed155);}),CodeceptJS[_0x1f965f(0x1c2)][_0x1f965f(0x19c)]['on'](CodeceptJS[_0x1f965f(0x1c2)][_0x1f965f(0x1b7)]['skipped'],_0x4aa8ff=>{const _0x14d5e7=_0x1f965f;PerformanceTester[_0x14d5e7(0x234)](PerformanceHookEvents[_0x14d5e7(0x225)]);try{const _0x494b66=_0x57334e[_0x14d5e7(0x16b)](TEST_EVENTS[_0x14d5e7(0x1cb)],_0x4aa8ff);CodeceptRecorder[_0x14d5e7(0x192)](()=>_0x57334e[_0x14d5e7(0x19b)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x494b66)),PerformanceTester[_0x14d5e7(0x1e2)](PerformanceEvents[_0x14d5e7(0x1cd)]);}catch(_0x41d74f){PerformanceTester[_0x14d5e7(0x1b2)](_0x41d74f),PerformanceTester['end'](PerformanceEvents[_0x14d5e7(0x1cd)],![],_0x41d74f);const _0x38bad7={};_0x38bad7[_0x14d5e7(0x1ae)]=_0x566db0[_0x14d5e7(0x1d0)],PerformanceTester[_0x14d5e7(0x1e2)](PerformanceHookEvents[_0x14d5e7(0x225)],![],_0x41d74f,_0x38bad7);}const _0x46b034={};_0x46b034[_0x14d5e7(0x1ae)]=_0x566db0[_0x14d5e7(0x1d0)],PerformanceTester[_0x14d5e7(0x1e2)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x46b034);}),CodeceptJS[_0x1f965f(0x1c2)][_0x1f965f(0x19c)]['on'](CodeceptJS[_0x1f965f(0x1c2)][_0x1f965f(0x1b7)][_0x1f965f(0x1b1)],async(_0x1e17a6,_0x17ca82)=>{const _0xa75740=_0x1f965f,_0x186c46={};_0x186c46[_0xa75740(0x1c0)]=_0x566db0[_0xa75740(0x229)];const _0x493664=_0x186c46;try{PerformanceTester[_0xa75740(0x234)](PerformanceHookEvents['SDK_HOOK']);if(_0x566db0['KSoNP'](isBrowserstackInfra)){const _0x202b89=_0x566db0[_0xa75740(0x1dc)](shouldScanTestForAccessibility,_0x1e17a6[_0xa75740(0x22f)](),!![]);if(_0x566db0[_0xa75740(0x175)](isAccessibilityAutomationSession)&&global[_0xa75740(0x1a9)]&&_0x202b89){const _0xccd2c5={};_0xccd2c5[_0xa75740(0x17c)]=_0x1e17a6[_0xa75740(0x1ef)],_0xccd2c5[_0xa75740(0x239)]=process[_0xa75740(0x216)][testHubConstants[_0xa75740(0x1ba)][_0xa75740(0x171)]],_0xccd2c5['thJwtToken']=process['env'][testHubConstants[_0xa75740(0x1ba)][_0xa75740(0x1a8)]];const _0x2887ca=_0xccd2c5;logger['debug'](_0xa75740(0x1fa)+JSON[_0xa75740(0x1fe)](_0x2887ca)),CodeceptRecorder[_0xa75740(0x192)](async()=>{const _0x5be5b8=_0xa75740,_0x566524={};_0x566524['command']=_0x493664[_0x5be5b8(0x1c0)],await PerformanceTester[_0x5be5b8(0x237)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x2e713e=_0x5be5b8;await AccessibilityHelper[_0x2e713e(0x1ce)](_0xcb864e,scripts[_0x2e713e(0x1b5)]);},_0x566524)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0xd4d731=_0x5be5b8;await AccessibilityHelper[_0xd4d731(0x1ce)](_0xcb864e,scripts[_0xd4d731(0x22c)],_0x2887ca);})();}),logger['info'](_0x566db0['WlKmP']);}}const _0x452c54={};_0x452c54[_0xa75740(0x1ae)]=_0x566db0['bhQqy'],PerformanceTester[_0xa75740(0x1e2)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x452c54);}catch(_0x2473b1){PerformanceTester[_0xa75740(0x1b2)](_0x2473b1);const _0xe5a7b4={};_0xe5a7b4[_0xa75740(0x1ae)]=_0x566db0['bhQqy'],PerformanceTester[_0xa75740(0x1e2)](PerformanceHookEvents[_0xa75740(0x225)],![],_0x2473b1,_0xe5a7b4);}}),CodeceptJS[_0x1f965f(0x1c2)][_0x1f965f(0x19c)]['on'](CodeceptJS[_0x1f965f(0x1c2)][_0x1f965f(0x223)][_0x1f965f(0x1c6)],_0x13ae35=>{const _0x3c7959=_0x1f965f;PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{process[_0x3c7959(0x189)](_0x3c7959(0x1c4)+process[_0x3c7959(0x1ea)],{'timestamp':new Date()[_0x3c7959(0x1d6)](),'level':_0x566db0['fhjbQ'],'message':_0x13ae35,'kind':_0x566db0[_0x3c7959(0x196)],'http_response':{}});}catch(_0x5847fe){PerformanceTester[_0x3c7959(0x1b2)](_0x5847fe);const _0x3f349d={};_0x3f349d[_0x3c7959(0x1ae)]=_0x566db0[_0x3c7959(0x1bd)],PerformanceTester[_0x3c7959(0x1e2)](PerformanceHookEvents[_0x3c7959(0x225)],![],_0x5847fe,_0x3f349d);}const _0x351386={};_0x351386['hookType']=_0x566db0[_0x3c7959(0x1bd)],PerformanceTester[_0x3c7959(0x1e2)](PerformanceHookEvents[_0x3c7959(0x225)],!![],null,_0x351386);}),CodeceptJS[_0x1f965f(0x1c2)][_0x1f965f(0x19c)]['on'](CodeceptJS[_0x1f965f(0x1c2)]['bddStep'][_0x1f965f(0x1df)],_0x4ec0d9=>{const _0x2b1e70=_0x1f965f,_0x1d5cda={};_0x1d5cda[_0x2b1e70(0x1ae)]=_0x566db0[_0x2b1e70(0x1b0)],PerformanceTester[_0x2b1e70(0x237)](PerformanceHookEvents[_0x2b1e70(0x225)],()=>{const _0x546859=_0x2b1e70;_0x57334e[_0x546859(0x18d)](_0x4ec0d9);},_0x1d5cda)();}),CodeceptJS[_0x1f965f(0x1c2)][_0x1f965f(0x19c)]['on'](CodeceptJS['event'][_0x1f965f(0x1a6)]['after'],_0x49aae4=>{const _0x5aa519=_0x1f965f,_0x1f3c46={};_0x1f3c46[_0x5aa519(0x1ae)]=_0x566db0[_0x5aa519(0x1a7)],PerformanceTester['measureWrapper'](PerformanceHookEvents[_0x5aa519(0x225)],()=>{const _0xf59251=_0x5aa519;_0x57334e[_0xf59251(0x186)](_0x49aae4);},_0x1f3c46)();});};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a2_0x5009b0=a2_0x22aa;(function(_0x27f264,_0x14e2a8){const _0x3a3402=a2_0x22aa,_0x418183=_0x27f264();while(!![]){try{const _0x262e52=parseInt(_0x3a3402(0x16f))/0x1*(-parseInt(_0x3a3402(0x158))/0x2)+parseInt(_0x3a3402(0x19f))/0x3*(parseInt(_0x3a3402(0x1bc))/0x4)+-parseInt(_0x3a3402(0x1b3))/0x5*(parseInt(_0x3a3402(0x16b))/0x6)+-parseInt(_0x3a3402(0x1c5))/0x7*(parseInt(_0x3a3402(0x142))/0x8)+parseInt(_0x3a3402(0x18f))/0x9*(parseInt(_0x3a3402(0x166))/0xa)+parseInt(_0x3a3402(0x187))/0xb*(-parseInt(_0x3a3402(0x150))/0xc)+parseInt(_0x3a3402(0x180))/0xd;if(_0x262e52===_0x14e2a8)break;else _0x418183['push'](_0x418183['shift']());}catch(_0x1f20d9){_0x418183['push'](_0x418183['shift']());}}}(a2_0x4439,0xc0be2));function a2_0x4439(){const _0x1e6eb8=['4qhxuZM','addConfig','BROWSERSTACK_TEST_ACCESSIBILITY_YML','elrlE','log','../../helpers/helper','stack','WebDriver','browser','SDK_SETUP','exports','validateRerunTestList','../../bin/playwright/accessibility-helper','failed','2940940fWZpxD','gherkin','existsSync','playwright-chromium','oPmid','15102VheJaW','BROWSERSTACK_RERUN','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','addTests','527237eRuyXq','KOhOy','XCXuN','accessibilityOptions','SDK_CLEANUP','isTestObservabilitySession','SCryx','platforms','slice','NuNTo','chromium','printBuildLink','push','forEach','webkit','CODECEPT','initialize','38809212lZznHE','addOptions','codeceptjs/lib/index.js','ftwUh','winstonLogger','stringify','helpers','602437MPVXIA','AdMin','../../helpers/logger','OcjqD','launchBuild','../utils/constants','now','bootstrapAll','9hCIeMt','format','Playwright','getPlaywrightUrl','../../helpers/test-observability/utils','0|2|4|3|5|1','start','CODECEPT_CUCUMBER','isUndefined','info','map','all','stop','result','test','err','69NGnyZH','fijSe','debug','CPbnp','browserWSEndpoint','BrowserStackPlugin','isTrue','desiredCapabilities','env','finalExecution','join','../../helpers/performance/performance-tester','LWLXl','pXCQH','kyclq','browserName','hrHAS','USER_CONFIG_DETAILS_PATH','process','ClqcI','515okXiSA','rjdPT','FRAMEWORKS','aRnHm','enabled','XWGKc','plugins','path','VCQDu','36460JYqqrr','chdir','errorMessage','QzRJq','kqwJE','wNlSz','testObservability','VSzWA','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','2800406UDrXPl','playwright-firefox','event','BYQxo','require','passed','util','prepareCapabilities','Passed\x20:\x20','toLowerCase','testContextOptions','split','UzKQm','config','epzIg','teardownAll','Failed\x20:\x20','root','length','IzXDj','yaRnm','end','LiHXg','handleApp','codecept.json','8gREaWb','isEmpty','BROWSERSTACK_TEST_OBSERVABILITY_YML','mergeDeep','trim','frameworkName','testConfig','getPlatformName','findIndex','profile','FCQIO','browserStackCwd','firefox','gtmgA','216DuePIf','../../helpers/accessibility-automation/helper','skipSessionName','dirname','cwd','title','load','Started\x20:\x20'];a2_0x4439=function(){return _0x1e6eb8;};return a2_0x4439();}function a2_0x22aa(_0x12a026,_0x41f92f){const _0x443945=a2_0x4439();return a2_0x22aa=function(_0x22aaff,_0xc5dc1f){_0x22aaff=_0x22aaff-0x130;let _0x6c5f73=_0x443945[_0x22aaff];return _0x6c5f73;},a2_0x22aa(_0x12a026,_0x41f92f);}const fs=require('fs'),path=require(a2_0x5009b0(0x1ba)),util=require(a2_0x5009b0(0x1cb)),process=require(a2_0x5009b0(0x1b1)),logger=require(a2_0x5009b0(0x189))[a2_0x5009b0(0x184)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a2_0x5009b0(0x15d)),utilities=require('../../helpers/utilities'),{checkAccessibilityPlatformConfig}=require(a2_0x5009b0(0x151)),{setAccessibilityCapabilities}=require(a2_0x5009b0(0x164)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x5009b0(0x15d)),CodeceptJS=requireModule(a2_0x5009b0(0x182),'codeceptjs'),testOpsHelper=require(a2_0x5009b0(0x193)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),constants=require(a2_0x5009b0(0x18c)),PerformanceTester=require(a2_0x5009b0(0x1aa)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),PerformanceEvents=require('../../helpers/performance/constants')['EVENTS'],_testErrorData=[],getUserCodeceptJSConfigs=(_0x1128cc,_0x159ce5)=>{const _0x256bbd=a2_0x5009b0,_0x49d544={};_0x49d544['KOhOy']=function(_0x2c8a0e,_0x56bddc){return _0x2c8a0e===_0x56bddc;},_0x49d544[_0x256bbd(0x13d)]='codecept.conf.js',_0x49d544['IzXDj']=_0x256bbd(0x141);const _0x4ffe96=_0x49d544;let _0x48bc4c=null;const _0x374cbb={};let _0x4bea75=_0x159ce5[_0x256bbd(0x14a)](_0x501056=>_0x501056==='--config');_0x4ffe96[_0x256bbd(0x170)](_0x4bea75,-0x1)&&(_0x4bea75=_0x159ce5[_0x256bbd(0x14a)](_0x209365=>_0x209365==='-c'));if(!helper['isUndefined'](_0x1128cc[_0x256bbd(0x136)])&&fs[_0x256bbd(0x168)](path[_0x256bbd(0x1a9)](process[_0x256bbd(0x154)](),_0x1128cc['config'])))_0x48bc4c=path[_0x256bbd(0x1a9)](process[_0x256bbd(0x154)](),_0x1128cc[_0x256bbd(0x136)]),_0x159ce5[_0x256bbd(0x177)](_0x4bea75,0x2);else{if(!helper[_0x256bbd(0x197)](_0x1128cc['c'])&&fs[_0x256bbd(0x168)](path[_0x256bbd(0x1a9)](process['cwd'](),_0x1128cc['c'])))_0x48bc4c=path[_0x256bbd(0x1a9)](process[_0x256bbd(0x154)](),_0x1128cc['c']),_0x159ce5[_0x256bbd(0x177)](_0x4bea75,0x2);else{if(fs['existsSync'](path[_0x256bbd(0x1a9)](process[_0x256bbd(0x154)](),_0x4ffe96['yaRnm'])))_0x48bc4c=path['join'](process['cwd'](),_0x4ffe96[_0x256bbd(0x13d)]);else fs[_0x256bbd(0x168)](path[_0x256bbd(0x1a9)](process[_0x256bbd(0x154)](),_0x4ffe96['IzXDj']))&&(_0x48bc4c=path[_0x256bbd(0x1a9)](process[_0x256bbd(0x154)](),_0x4ffe96[_0x256bbd(0x13c)]));}}return process['env'][_0x256bbd(0x1b0)]=_0x48bc4c,_0x48bc4c;},getO11yRerunPattern=()=>{const _0x2108d5=a2_0x5009b0,_0x3d5385=helper[_0x2108d5(0x1a5)](process[_0x2108d5(0x1a7)][_0x2108d5(0x16c)]);if(_0x3d5385){const _0x307109=process[_0x2108d5(0x1a7)]['BROWSERSTACK_RERUN_TESTS'],_0x57d3ec=[];if(helper[_0x2108d5(0x163)](_0x307109)&&!helper['isUndefined'](_0x307109)){_0x307109[_0x2108d5(0x134)](',')[_0x2108d5(0x199)](_0x26e8b8=>{const _0xed55f3=_0x2108d5;_0x57d3ec[_0xed55f3(0x17b)]('('+_0x26e8b8[_0xed55f3(0x146)]()+')');});const _0x505cad='^'+_0x57d3ec['join']('|')+'$';return _0x505cad;}}return null;},a2_0x435382={};a2_0x435382['chrome']=a2_0x5009b0(0x179),a2_0x435382[a2_0x5009b0(0x169)]=a2_0x5009b0(0x179),a2_0x435382[a2_0x5009b0(0x1c6)]=a2_0x5009b0(0x14e),a2_0x435382['playwright-webkit']=a2_0x5009b0(0x17d);const pwToCodeceptBrowser=a2_0x435382;async function run(_0x231974,_0x50181f){const _0x219fda=a2_0x5009b0,_0x2ba5b8={'kyclq':function(_0x46ce57,_0x12f8b2){return _0x46ce57+_0x12f8b2;},'VCQDu':function(_0x1daf4c,_0x527d3c){return _0x1daf4c(_0x527d3c);},'fijSe':function(_0x1c3022,_0xa22053){return _0x1c3022+_0xa22053;},'rjdPT':function(_0x35349d,_0x440fa5,_0x2ac92b){return _0x35349d(_0x440fa5,_0x2ac92b);},'gtmgA':_0x219fda(0x186),'QzRJq':function(_0x3c8f35){return _0x3c8f35();},'BYQxo':function(_0x3bb64f){return _0x3bb64f();},'aRnHm':_0x219fda(0x139),'oPmid':_0x219fda(0x131),'kqwJE':_0x219fda(0x157),'vGfVv':_0x219fda(0x194),'LWLXl':'codeceptjs','VSzWA':function(_0x2370f2,_0xe66445,_0x4f3cd1){return _0x2370f2(_0xe66445,_0x4f3cd1);},'LiHXg':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','hrHAS':function(_0x4f8d25,_0x949da7,_0x535080){return _0x4f8d25(_0x949da7,_0x535080);},'AdMin':_0x219fda(0x191),'ClqcI':_0x219fda(0x15f),'Dxbql':function(_0x2603f8,_0x3c2563){return _0x2603f8(_0x3c2563);},'NuNTo':function(_0x245886,_0x3385f9){return _0x245886!=_0x3385f9;},'XWGKc':function(_0x469eb2,_0x291938){return _0x469eb2===_0x291938;},'ftwUh':_0x219fda(0x167),'GHeAU':function(_0x517a00,_0x2b3c22){return _0x517a00(_0x2b3c22);},'SCryx':function(_0xfc8a79,_0x5d4720){return _0xfc8a79*_0x5d4720;},'sDAec':function(_0x2263a2,_0x4d9a40,_0x366896){return _0x2263a2(_0x4d9a40,_0x366896);},'XCXuN':_0x219fda(0x160),'elrlE':function(_0x6a5a08,_0x3bd157,_0x1bdc7a){return _0x6a5a08(_0x3bd157,_0x1bdc7a);},'wNlSz':_0x219fda(0x1a6),'epzIg':function(_0x5ad2b4,_0x16ee2d,_0x30a35){return _0x5ad2b4(_0x16ee2d,_0x30a35);},'CPbnp':_0x219fda(0x13a),'pXCQH':'BrowserStackPlugin.js','UzKQm':_0x219fda(0x14d)},_0x29818f=new BrowserStackSetup(_0x231974,_0x2ba5b8[_0x219fda(0x1ab)]);await _0x29818f[_0x219fda(0x17f)](),await helper[_0x219fda(0x140)](_0x29818f[_0x219fda(0x136)]);if(!_0x29818f[_0x219fda(0x136)])return;process[_0x219fda(0x14b)]=_0x231974[_0x219fda(0x14b)];_0x231974['profile']&&(process['env'][_0x219fda(0x14b)]=_0x231974['profile']);const _0x52da04=_0x2ba5b8[_0x219fda(0x1c3)](getUserCodeceptJSConfigs,_0x231974,_0x50181f);let _0x55d165={};_0x52da04?(logger[_0x219fda(0x198)](_0x219fda(0x16d)+_0x52da04),_0x55d165=CodeceptJS[_0x219fda(0x136)][_0x219fda(0x156)](_0x52da04)):logger[_0x219fda(0x198)](_0x2ba5b8[_0x219fda(0x13f)]);let _0xdf724f=![];_0x2ba5b8[_0x219fda(0x1af)](nestedKeyValue,_0x55d165,[_0x2ba5b8[_0x219fda(0x14f)],_0x2ba5b8[_0x219fda(0x188)]])&&(_0xdf724f=!![]);const _0x48c165=_0xdf724f?_0x2ba5b8['AdMin']:_0x2ba5b8[_0x219fda(0x1b2)];let _0x4bb8d7=!_0xdf724f?helper['useW3C'](_0x29818f[_0x219fda(0x136)]):![];!helper[_0x219fda(0x197)](_0x29818f[_0x219fda(0x136)][_0x219fda(0x172)])&&(process[_0x219fda(0x1a7)][_0x219fda(0x1c4)]=JSON['stringify'](_0x29818f[_0x219fda(0x136)]['accessibilityOptions']));let _0x5df8ed=_0x29818f[_0x219fda(0x136)]['accessibility'];_0x5df8ed=_0x5df8ed||_0x2ba5b8['Dxbql'](checkAccessibilityPlatformConfig,_0x29818f[_0x219fda(0x136)]),process['env'][_0x219fda(0x15a)]=_0x5df8ed;_0x5df8ed&&(_0x4bb8d7=!_0x5df8ed);_0x2ba5b8[_0x219fda(0x178)](_0x29818f['config'][_0x219fda(0x1c2)],null)?process[_0x219fda(0x1a7)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x29818f[_0x219fda(0x136)]['testObservability']:process[_0x219fda(0x1a7)][_0x219fda(0x144)]=_0x2ba5b8[_0x219fda(0x1b8)](_0x48c165,_0x2ba5b8[_0x219fda(0x188)]);const _0x3c5bd0=_0x2ba5b8[_0x219fda(0x1af)](nestedKeyValue,_0x55d165,[_0x2ba5b8[_0x219fda(0x183)]]),_0x24e148=_0x3c5bd0&&!helper[_0x219fda(0x143)](_0x3c5bd0)?FRAMEWORKS[_0x219fda(0x196)]:FRAMEWORKS[_0x219fda(0x17e)],_0x46fc17=await TestHubHandler[_0x219fda(0x18b)](_0x24e148,_0x29818f);_0x5df8ed&&_0x2ba5b8['GHeAU'](setAccessibilityCapabilities,_0x29818f[_0x219fda(0x136)]);const _0x2944b1={},_0x5c334e=[],_0x5f1708=_0x29818f[_0x219fda(0x136)]['parallelsPerPlatform']||helper['getUserWorkerCount'](_0x231974,_0x50181f,_0x29818f[_0x219fda(0x136)],constants[_0x219fda(0x1b5)][_0x219fda(0x17e)])||0x1;let _0x5c32a5=0x1;if(_0x2ba5b8[_0x219fda(0x1bf)](isBrowserstackInfra)){const _0x534820=helper[_0x219fda(0x130)](_0x29818f['config'],_0x4bb8d7,constants[_0x219fda(0x1b5)][_0x219fda(0x17e)]);_0x534820[_0x219fda(0x17c)](_0x405b06=>{helper['setAdditionalCapabilities'](_0x405b06);}),helper['validPlatformsPresent'](_0x29818f['config'])?_0x5c32a5=_0x2ba5b8[_0x219fda(0x175)](_0x5f1708,_0x29818f[_0x219fda(0x136)][_0x219fda(0x176)][_0x219fda(0x13b)]):_0x5c32a5=_0x5f1708,_0x534820[_0x219fda(0x17c)](_0x5794fb=>{const _0xa07e92=_0x219fda,_0x27e218={'OcjqD':function(_0x34a70b,_0xc57226){const _0x24f012=a2_0x22aa;return _0x2ba5b8[_0x24f012(0x1ad)](_0x34a70b,_0xc57226);},'FCQIO':function(_0x5a0da5,_0x55a454){const _0x2d1ba4=a2_0x22aa;return _0x2ba5b8[_0x2d1ba4(0x1bb)](_0x5a0da5,_0x55a454);}},_0x40202f=_0x2ba5b8[_0xa07e92(0x1a0)](helper[_0xa07e92(0x149)](_0x5794fb,'_'),'_'+Date[_0xa07e92(0x18d)]()),_0xa42784=((()=>{const _0x13ede2=_0xa07e92;if(_0xdf724f){const _0x5f00ec=pwToCodeceptBrowser[_0x5794fb[_0x13ede2(0x1ae)]]||_0x5794fb[_0x13ede2(0x1ae)];return{'browser':_0x5f00ec,[_0x5f00ec]:{'browserWSEndpoint':_0x27e218[_0x13ede2(0x18a)](helper[_0x13ede2(0x192)](_0x29818f['config']),_0x27e218[_0x13ede2(0x14c)](encodeURIComponent,JSON[_0x13ede2(0x185)](_0x5794fb)))}};}const _0xa7f04c={};return _0xa7f04c['desiredCapabilities']=_0x5794fb,_0xa7f04c;})()),_0x202a1f=_0x2ba5b8[_0xa07e92(0x1b4)](nestedKeyValue,_0x55d165,[_0x2ba5b8[_0xa07e92(0x14f)],_0x48c165]);_0x2944b1[_0x40202f]=_0x202a1f?helper[_0xa07e92(0x145)](_0xa42784,_0x202a1f):_0xa42784,!_0xdf724f&&(_0x2944b1[_0x40202f][_0xa07e92(0x160)]=_0x5794fb['browserName']||_0xa42784[_0xa07e92(0x160)]),_0x5c334e[_0xa07e92(0x17b)](_0x40202f);});}else{_0x5c32a5=0x1;if(_0xdf724f){const _0x43e810=_0x2ba5b8['sDAec'](nestedKeyValue,_0x55d165,[_0x2ba5b8[_0x219fda(0x14f)],_0x48c165,_0x2ba5b8[_0x219fda(0x171)]]),_0x64e895=_0x2ba5b8[_0x219fda(0x15b)](nestedKeyValue,_0x55d165,[_0x2ba5b8[_0x219fda(0x14f)],_0x48c165,_0x43e810]);_0x64e895&&_0x64e895[_0x219fda(0x1a3)]&&(_0x64e895[_0x219fda(0x1a3)]=helper['prepareCapabilities'](null,null,_0x24e148[_0x219fda(0x132)](),null,null,_0x64e895[_0x219fda(0x1a3)]));}else _0x55d165[_0x2ba5b8['gtmgA']][_0x48c165][_0x2ba5b8['wNlSz']]=helper[_0x219fda(0x130)](null,null,_0x24e148[_0x219fda(0x132)](),_0x2ba5b8[_0x219fda(0x137)](nestedKeyValue,_0x55d165,[_0x2ba5b8[_0x219fda(0x14f)],_0x48c165,_0x2ba5b8[_0x219fda(0x1c1)]]),null,null);_0x2944b1[_0x2ba5b8[_0x219fda(0x1a2)]]=_0x55d165,_0x5c334e[_0x219fda(0x17b)](_0x2ba5b8[_0x219fda(0x1a2)]);}const _0x3990a2={};_0x3990a2[_0x219fda(0x148)]=_0x52da04;const _0x180f81=_0x3990a2,_0x1aa8c6=path[_0x219fda(0x1a9)](__dirname,_0x2ba5b8[_0x219fda(0x1ac)]),_0x28f264=process[_0x219fda(0x154)]();process[_0x219fda(0x1a7)][_0x2ba5b8[_0x219fda(0x135)]]=_0x28f264,process[_0x219fda(0x1bd)](path[_0x219fda(0x153)](_0x52da04));const _0x9e86b8=new CodeceptJS['Workers'](null,_0x180f81),_0x169f5a=_0x9e86b8['createGroupsOfSuites'](_0x5c32a5),_0x106415=testOpsHelper[_0x219fda(0x174)](),_0x32f898=_0x5c334e['map'](_0x4e88ab=>{const _0x1558bb=_0x219fda,_0x2ea87b={};_0x2ea87b[_0x1558bb(0x191)]=_0x2944b1[_0x4e88ab];const _0x587dbf={};_0x587dbf['WebDriver']=_0x2944b1[_0x4e88ab];const _0x3639e5=_0xdf724f?_0x2ea87b:_0x587dbf,_0x3f7b27=_0x2ba5b8[_0x1558bb(0x1bf)](getO11yRerunPattern),_0x3f601a={};_0x3f601a[_0x1558bb(0x186)]=_0x3639e5;const _0x54ccc8={};_0x54ccc8[_0x1558bb(0x1c9)]=_0x1aa8c6,_0x54ccc8[_0x1558bb(0x1b7)]=!![],_0x54ccc8[_0x1558bb(0x152)]=_0x29818f[_0x1558bb(0x136)][_0x1558bb(0x133)][_0x1558bb(0x152)],_0x54ccc8['skipSessionStatus']=_0x29818f[_0x1558bb(0x136)][_0x1558bb(0x133)]['skipSessionStatus'],_0x54ccc8['testObservability']=_0x106415,_0x54ccc8[_0x1558bb(0x147)]=_0x24e148;const _0x3f9930={};_0x3f9930[_0x1558bb(0x1a4)]=_0x54ccc8;const _0x5d70b6={};return _0x5d70b6[_0x1558bb(0x1b9)]=_0x3f9930,helper['mergeDeep']({},_0x55d165,_0x2ba5b8[_0x1558bb(0x1c8)](isBrowserstackInfra)?_0x3f601a:{},_0x3f7b27?{'grep':_0x3f7b27}:{},_0x5d70b6);});for(const _0xf36c21 of _0x32f898){for(const _0x49d1b8 of _0x169f5a){const _0x5e80a5=_0x9e86b8['spawn']();_0x5e80a5[_0x219fda(0x16e)](_0x49d1b8),_0x5e80a5[_0x219fda(0x159)](_0xf36c21);const _0x5bf0b6={};_0x5bf0b6[_0x219fda(0x136)]=_0x52da04,_0x5e80a5[_0x219fda(0x181)](_0x5bf0b6);}}_0x9e86b8['on'](CodeceptJS[_0x219fda(0x1c7)][_0x219fda(0x19d)][_0x219fda(0x165)],(_0xbc5b4f,_0x27e6d3)=>{const _0x2bc674=_0x219fda;console[_0x2bc674(0x15c)](_0x2ba5b8[_0x2bc674(0x1b6)],_0xbc5b4f['title']);const _0x2ebc1c={[_0xbc5b4f[_0x2bc674(0x155)]]:_0xbc5b4f[_0x2bc674(0x19e)][_0x2bc674(0x15e)]};_testErrorData[_0x2bc674(0x17b)](_0x2ebc1c);}),_0x9e86b8['on'](CodeceptJS[_0x219fda(0x1c7)][_0x219fda(0x19d)][_0x219fda(0x1ca)],async _0x2195b5=>{const _0xc2a53a=_0x219fda;console[_0xc2a53a(0x15c)](_0x2ba5b8[_0xc2a53a(0x16a)],_0x2195b5[_0xc2a53a(0x155)]);}),_0x9e86b8['on'](CodeceptJS[_0x219fda(0x1c7)][_0x219fda(0x19d)]['before'],async _0xa7581c=>{const _0x3c706c=_0x219fda;console[_0x3c706c(0x15c)](_0x2ba5b8[_0x3c706c(0x1c0)],_0xa7581c[_0x3c706c(0x155)]);}),_0x9e86b8['on'](CodeceptJS[_0x219fda(0x1c7)][_0x219fda(0x19a)][_0x219fda(0x19c)],async()=>{const _0x5058db=_0x219fda,_0x1a425d=_0x2ba5b8['vGfVv']['split']('|');let _0x51781a=0x0;while(!![]){switch(_0x1a425d[_0x51781a++]){case'0':PerformanceTester[_0x5058db(0x195)](PerformanceEvents[_0x5058db(0x173)]);continue;case'1':_0x9e86b8['printResults']();continue;case'2':_0x29818f[_0x5058db(0x1be)]=_testErrorData;continue;case'3':utilities[_0x5058db(0x1a8)](_0x29818f);continue;case'4':testOpsHelper[_0x5058db(0x17a)]();continue;case'5':try{await TestHubHandler[_0x5058db(0x19b)]();}catch(_0x56bd1c){logger[_0x5058db(0x1a1)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x5058db(0x190)](_0x56bd1c));}continue;}break;}});async function _0xf91ec7(){const _0x27f871=_0x219fda;try{await _0x9e86b8[_0x27f871(0x18e)](),await _0x9e86b8['run']();}finally{process[_0x27f871(0x1bd)](_0x28f264),await _0x9e86b8[_0x27f871(0x138)]();}}PerformanceTester[_0x219fda(0x13e)](PerformanceEvents[_0x219fda(0x161)]),_0x2ba5b8[_0x219fda(0x1c8)](_0xf91ec7);}module[a2_0x5009b0(0x162)]=run;
|
|
2
|
+
'use strict';const a2_0x529f33=a2_0x4326;(function(_0x22b63c,_0x1ae030){const _0x5739d9=a2_0x4326,_0x569bed=_0x22b63c();while(!![]){try{const _0x439202=-parseInt(_0x5739d9(0x212))/0x1+parseInt(_0x5739d9(0x283))/0x2*(-parseInt(_0x5739d9(0x24f))/0x3)+parseInt(_0x5739d9(0x274))/0x4+parseInt(_0x5739d9(0x259))/0x5+parseInt(_0x5739d9(0x243))/0x6*(parseInt(_0x5739d9(0x26d))/0x7)+parseInt(_0x5739d9(0x224))/0x8*(-parseInt(_0x5739d9(0x227))/0x9)+parseInt(_0x5739d9(0x203))/0xa;if(_0x439202===_0x1ae030)break;else _0x569bed['push'](_0x569bed['shift']());}catch(_0x411b08){_0x569bed['push'](_0x569bed['shift']());}}}(a2_0x314f,0x7de4c));const fs=require('fs'),path=require('path'),util=require(a2_0x529f33(0x266)),process=require('process'),logger=require(a2_0x529f33(0x250))[a2_0x529f33(0x22a)],{default:BrowserStackSetup}=require(a2_0x529f33(0x1fe)),helper=require(a2_0x529f33(0x209)),utilities=require(a2_0x529f33(0x258)),{checkAccessibilityPlatformConfig}=require(a2_0x529f33(0x245)),{setAccessibilityCapabilities}=require('../../bin/playwright/accessibility-helper'),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x529f33(0x209)),CodeceptJS=requireModule(a2_0x529f33(0x1f6),a2_0x529f33(0x20c)),testOpsHelper=require(a2_0x529f33(0x20f)),TestHubHandler=require(a2_0x529f33(0x261)),constants=require(a2_0x529f33(0x23a)),PerformanceTester=require(a2_0x529f33(0x27f)),{FRAMEWORKS}=require(a2_0x529f33(0x221)),PerformanceEvents=require(a2_0x529f33(0x1fa))[a2_0x529f33(0x214)],_testErrorData=[],getUserCodeceptJSConfigs=(_0x1980ad,_0x2cad3e)=>{const _0xf6d3ec=a2_0x529f33,_0x25ecb3={};_0x25ecb3[_0xf6d3ec(0x25d)]=function(_0x3b0a8d,_0x51ca6b){return _0x3b0a8d===_0x51ca6b;},_0x25ecb3[_0xf6d3ec(0x25f)]=_0xf6d3ec(0x200),_0x25ecb3[_0xf6d3ec(0x26b)]='codecept.json';const _0x446658=_0x25ecb3;let _0x1ab317=null;const _0x499ac4={};let _0x40cc51=_0x2cad3e[_0xf6d3ec(0x278)](_0x4fc9e8=>_0x4fc9e8===_0xf6d3ec(0x23c));_0x446658[_0xf6d3ec(0x25d)](_0x40cc51,-0x1)&&(_0x40cc51=_0x2cad3e[_0xf6d3ec(0x278)](_0x4717d1=>_0x4717d1==='-c'));if(!helper[_0xf6d3ec(0x277)](_0x1980ad[_0xf6d3ec(0x23b)])&&fs[_0xf6d3ec(0x264)](path[_0xf6d3ec(0x23e)](process['cwd'](),_0x1980ad[_0xf6d3ec(0x23b)])))_0x1ab317=path[_0xf6d3ec(0x23e)](process[_0xf6d3ec(0x248)](),_0x1980ad['config']),_0x2cad3e[_0xf6d3ec(0x27d)](_0x40cc51,0x2);else{if(!helper[_0xf6d3ec(0x277)](_0x1980ad['c'])&&fs[_0xf6d3ec(0x264)](path['join'](process['cwd'](),_0x1980ad['c'])))_0x1ab317=path['join'](process['cwd'](),_0x1980ad['c']),_0x2cad3e[_0xf6d3ec(0x27d)](_0x40cc51,0x2);else{if(fs[_0xf6d3ec(0x264)](path['join'](process['cwd'](),_0x446658[_0xf6d3ec(0x25f)])))_0x1ab317=path['join'](process[_0xf6d3ec(0x248)](),_0x446658[_0xf6d3ec(0x25f)]);else fs[_0xf6d3ec(0x264)](path['join'](process['cwd'](),_0x446658[_0xf6d3ec(0x26b)]))&&(_0x1ab317=path[_0xf6d3ec(0x23e)](process['cwd'](),_0x446658[_0xf6d3ec(0x26b)]));}}return process[_0xf6d3ec(0x23f)][_0xf6d3ec(0x285)]=_0x1ab317,_0x1ab317;},getO11yRerunPattern=()=>{const _0x425b35=a2_0x529f33,_0x25e987=helper[_0x425b35(0x256)](process['env'][_0x425b35(0x21f)]);if(_0x25e987){const _0x360f91=process[_0x425b35(0x23f)][_0x425b35(0x244)],_0x30d815=[];if(helper['validateRerunTestList'](_0x360f91)&&!helper['isUndefined'](_0x360f91)){_0x360f91['split'](',')[_0x425b35(0x263)](_0x34319d=>{_0x30d815['push']('('+_0x34319d['trim']()+')');});const _0x56aac8='^'+_0x30d815['join']('|')+'$';return _0x56aac8;}}return null;},a2_0xf8d05e={};function a2_0x4326(_0xf002b1,_0x26c2e6){const _0x314f05=a2_0x314f();return a2_0x4326=function(_0x43262e,_0x56c911){_0x43262e=_0x43262e-0x1f2;let _0x28ee94=_0x314f05[_0x43262e];return _0x28ee94;},a2_0x4326(_0xf002b1,_0x26c2e6);}a2_0xf8d05e[a2_0x529f33(0x262)]=a2_0x529f33(0x267),a2_0xf8d05e[a2_0x529f33(0x226)]='chromium',a2_0xf8d05e[a2_0x529f33(0x20b)]=a2_0x529f33(0x24b),a2_0xf8d05e[a2_0x529f33(0x239)]=a2_0x529f33(0x234);const pwToCodeceptBrowser=a2_0xf8d05e;async function run(_0x167d8d,_0x8cd044){const _0x3d1abc=a2_0x529f33,_0x291ebd={'PHxKr':function(_0x56974f,_0x5d1f9c){return _0x56974f+_0x5d1f9c;},'lvMIr':function(_0x439ae6,_0x110094){return _0x439ae6(_0x110094);},'kOUrQ':function(_0x5f2b5d,_0x3a85f3,_0x45ed02){return _0x5f2b5d(_0x3a85f3,_0x45ed02);},'gvuWD':_0x3d1abc(0x25b),'OICGf':function(_0x567146){return _0x567146();},'IaYcc':function(_0x1a22a1){return _0x1a22a1();},'poaIW':_0x3d1abc(0x22e),'VUiQm':_0x3d1abc(0x23d),'rgCSw':'Started\x20:\x20','IRZha':_0x3d1abc(0x271),'exvWa':_0x3d1abc(0x20c),'leXAh':function(_0x1bf27e,_0x1ffb80,_0x4c80f1){return _0x1bf27e(_0x1ffb80,_0x4c80f1);},'DTCRx':_0x3d1abc(0x265),'PTDmo':_0x3d1abc(0x249),'PWuqP':_0x3d1abc(0x287),'GRoro':function(_0x422e6f,_0x38da86){return _0x422e6f(_0x38da86);},'UaIBU':function(_0x22b70e,_0x1977a0){return _0x22b70e!=_0x1977a0;},'ByIEn':function(_0x5df9d,_0xf98fe2){return _0x5df9d===_0xf98fe2;},'MppSu':_0x3d1abc(0x22f),'SJWrL':function(_0x1fb1e2,_0xd05ade){return _0x1fb1e2(_0xd05ade);},'sWDaO':function(_0x59f61f){return _0x59f61f();},'QFQhV':function(_0x6e8e75,_0xe95688){return _0x6e8e75*_0xe95688;},'WFuHT':function(_0x2692ba,_0x597fdc,_0x10d8b8){return _0x2692ba(_0x597fdc,_0x10d8b8);},'RMBPd':_0x3d1abc(0x21c),'LqZFJ':_0x3d1abc(0x24d),'KZjLq':function(_0x4f2c96,_0x176cb0,_0x25fc21){return _0x4f2c96(_0x176cb0,_0x25fc21);},'KpGoE':_0x3d1abc(0x217),'luRJm':'BrowserStackPlugin.js','aHcUt':_0x3d1abc(0x235),'ibbyq':function(_0x4b45a5){return _0x4b45a5();}},_0x545586=new BrowserStackSetup(_0x167d8d,_0x291ebd[_0x3d1abc(0x288)]);await _0x545586[_0x3d1abc(0x276)](),await helper[_0x3d1abc(0x24e)](_0x545586[_0x3d1abc(0x23b)]);if(!_0x545586['config'])return;process[_0x3d1abc(0x21b)]=_0x167d8d[_0x3d1abc(0x21b)];_0x167d8d[_0x3d1abc(0x21b)]&&(process['env'][_0x3d1abc(0x21b)]=_0x167d8d[_0x3d1abc(0x21b)]);const _0x43eaa1=_0x291ebd['leXAh'](getUserCodeceptJSConfigs,_0x167d8d,_0x8cd044);let _0x41b6ba={};_0x43eaa1?(logger[_0x3d1abc(0x1f8)]('Getting\x20your\x20codeceptjs\x20configs\x20from\x20'+_0x43eaa1),_0x41b6ba=CodeceptJS[_0x3d1abc(0x23b)]['load'](_0x43eaa1)):logger['info'](_0x291ebd['DTCRx']);let _0x1499ae=![];_0x291ebd['kOUrQ'](nestedKeyValue,_0x41b6ba,[_0x291ebd[_0x3d1abc(0x252)],_0x291ebd[_0x3d1abc(0x208)]])&&(_0x1499ae=!![]);const _0x1f3b2a=_0x1499ae?_0x291ebd[_0x3d1abc(0x208)]:_0x291ebd[_0x3d1abc(0x284)];let _0x1bcbae=!_0x1499ae?helper[_0x3d1abc(0x220)](_0x545586['config']):![];!helper['isUndefined'](_0x545586[_0x3d1abc(0x23b)][_0x3d1abc(0x1ff)])&&(process[_0x3d1abc(0x23f)][_0x3d1abc(0x231)]=JSON[_0x3d1abc(0x268)](_0x545586['config'][_0x3d1abc(0x1ff)]));let _0x51c811=_0x545586['config'][_0x3d1abc(0x228)];_0x51c811=_0x51c811||_0x291ebd[_0x3d1abc(0x270)](checkAccessibilityPlatformConfig,_0x545586['config']),process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x51c811;_0x51c811&&(_0x1bcbae=!_0x51c811);_0x291ebd['UaIBU'](_0x545586[_0x3d1abc(0x23b)]['testObservability'],null)?process[_0x3d1abc(0x23f)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x545586[_0x3d1abc(0x23b)][_0x3d1abc(0x25a)]:process[_0x3d1abc(0x23f)][_0x3d1abc(0x230)]=_0x291ebd['ByIEn'](_0x1f3b2a,_0x291ebd[_0x3d1abc(0x208)]);const _0x13e14d=_0x291ebd[_0x3d1abc(0x219)](nestedKeyValue,_0x41b6ba,[_0x291ebd[_0x3d1abc(0x26a)]]),_0x5d4621=_0x13e14d&&!helper[_0x3d1abc(0x213)](_0x13e14d)?FRAMEWORKS[_0x3d1abc(0x242)]:FRAMEWORKS[_0x3d1abc(0x281)],_0x34d36c=await TestHubHandler[_0x3d1abc(0x273)](_0x5d4621,_0x545586);_0x51c811&&_0x291ebd['SJWrL'](setAccessibilityCapabilities,_0x545586[_0x3d1abc(0x23b)]);const _0x1d5a3e={},_0x3b2f66=[],_0x24a0c4=_0x545586[_0x3d1abc(0x23b)][_0x3d1abc(0x216)]||helper[_0x3d1abc(0x254)](_0x167d8d,_0x8cd044,_0x545586['config'],constants[_0x3d1abc(0x211)][_0x3d1abc(0x281)])||0x1;let _0x132920=0x1;if(_0x291ebd[_0x3d1abc(0x1f4)](isBrowserstackInfra)){const _0xdbc8d6=helper[_0x3d1abc(0x24c)](_0x545586[_0x3d1abc(0x23b)],_0x1bcbae,constants[_0x3d1abc(0x211)][_0x3d1abc(0x281)]);_0xdbc8d6[_0x3d1abc(0x201)](_0x410a04=>{const _0x4e2f3a=_0x3d1abc;helper[_0x4e2f3a(0x202)](_0x410a04);}),helper[_0x3d1abc(0x26f)](_0x545586['config'])?_0x132920=_0x291ebd[_0x3d1abc(0x232)](_0x24a0c4,_0x545586[_0x3d1abc(0x23b)][_0x3d1abc(0x251)][_0x3d1abc(0x260)]):_0x132920=_0x24a0c4,_0xdbc8d6[_0x3d1abc(0x201)](_0x453e25=>{const _0x30890b=_0x3d1abc,_0x2824e2=_0x291ebd[_0x30890b(0x26c)](helper['getPlatformName'](_0x453e25,'_'),'_'+Date[_0x30890b(0x272)]()),_0x5be53f=((()=>{const _0x277218=_0x30890b;if(_0x1499ae){const _0x3016fc=pwToCodeceptBrowser[_0x453e25[_0x277218(0x1f3)]]||_0x453e25[_0x277218(0x1f3)];return{'browser':_0x3016fc,[_0x3016fc]:{'browserWSEndpoint':_0x291ebd[_0x277218(0x26c)](helper[_0x277218(0x210)](_0x545586[_0x277218(0x23b)]),_0x291ebd[_0x277218(0x25e)](encodeURIComponent,JSON[_0x277218(0x268)](_0x453e25)))}};}const _0x3ba7dd={};return _0x3ba7dd[_0x277218(0x24d)]=_0x453e25,_0x3ba7dd;})()),_0x1caaf6=_0x291ebd[_0x30890b(0x219)](nestedKeyValue,_0x41b6ba,[_0x291ebd[_0x30890b(0x252)],_0x1f3b2a]);_0x1d5a3e[_0x2824e2]=_0x1caaf6?helper[_0x30890b(0x286)](_0x5be53f,_0x1caaf6):_0x5be53f,!_0x1499ae&&(_0x1d5a3e[_0x2824e2][_0x30890b(0x21c)]=_0x453e25[_0x30890b(0x1f3)]||_0x5be53f[_0x30890b(0x21c)]),_0x3b2f66[_0x30890b(0x275)](_0x2824e2);});}else{_0x132920=0x1;if(_0x1499ae){const _0x17cd46=_0x291ebd[_0x3d1abc(0x206)](nestedKeyValue,_0x41b6ba,[_0x291ebd[_0x3d1abc(0x252)],_0x1f3b2a,_0x291ebd[_0x3d1abc(0x204)]]),_0x2c82e8=_0x291ebd[_0x3d1abc(0x26e)](nestedKeyValue,_0x41b6ba,[_0x291ebd[_0x3d1abc(0x252)],_0x1f3b2a,_0x17cd46]);_0x2c82e8&&_0x2c82e8[_0x3d1abc(0x1f7)]&&(_0x2c82e8['browserWSEndpoint']=helper[_0x3d1abc(0x24c)](null,null,_0x5d4621[_0x3d1abc(0x237)](),null,null,_0x2c82e8['browserWSEndpoint']));}else _0x41b6ba[_0x291ebd[_0x3d1abc(0x252)]][_0x1f3b2a][_0x291ebd[_0x3d1abc(0x218)]]=helper[_0x3d1abc(0x24c)](null,null,_0x5d4621['toLowerCase'](),_0x291ebd[_0x3d1abc(0x241)](nestedKeyValue,_0x41b6ba,[_0x291ebd[_0x3d1abc(0x252)],_0x1f3b2a,_0x291ebd[_0x3d1abc(0x218)]]),null,null);_0x1d5a3e[_0x291ebd[_0x3d1abc(0x20d)]]=_0x41b6ba,_0x3b2f66[_0x3d1abc(0x275)](_0x291ebd[_0x3d1abc(0x20d)]);}const _0x5761f0={};_0x5761f0[_0x3d1abc(0x1f2)]=_0x43eaa1;const _0x2a3556=_0x5761f0,_0xfb34d8=path[_0x3d1abc(0x23e)](__dirname,_0x291ebd[_0x3d1abc(0x225)]),_0x554265=process[_0x3d1abc(0x248)]();process[_0x3d1abc(0x23f)][_0x291ebd[_0x3d1abc(0x21a)]]=_0x554265,process[_0x3d1abc(0x269)](path['dirname'](_0x43eaa1));const _0x626eae=new CodeceptJS[(_0x3d1abc(0x1fd))](null,_0x2a3556),_0x1f68b2=_0x626eae[_0x3d1abc(0x25c)](_0x132920),_0x1c98b9=testOpsHelper['isTestObservabilitySession'](),_0x2d6e84=_0x3b2f66['map'](_0x2fd3fe=>{const _0x2ad4ee=_0x3d1abc,_0x12d4d0={};_0x12d4d0[_0x2ad4ee(0x249)]=_0x1d5a3e[_0x2fd3fe];const _0x18de47={};_0x18de47[_0x2ad4ee(0x287)]=_0x1d5a3e[_0x2fd3fe];const _0x50931d=_0x1499ae?_0x12d4d0:_0x18de47,_0x2b321c=_0x291ebd[_0x2ad4ee(0x1fb)](getO11yRerunPattern),_0x4a9598={};_0x4a9598[_0x2ad4ee(0x25b)]=_0x50931d;const _0x2dee73={};_0x2dee73[_0x2ad4ee(0x279)]=_0xfb34d8,_0x2dee73['enabled']=!![],_0x2dee73[_0x2ad4ee(0x21d)]=_0x545586['config'][_0x2ad4ee(0x27b)][_0x2ad4ee(0x21d)],_0x2dee73[_0x2ad4ee(0x21e)]=_0x545586[_0x2ad4ee(0x23b)]['testContextOptions'][_0x2ad4ee(0x21e)],_0x2dee73[_0x2ad4ee(0x25a)]=_0x1c98b9,_0x2dee73[_0x2ad4ee(0x215)]=_0x5d4621;const _0x2e253a={};_0x2e253a['BrowserStackPlugin']=_0x2dee73;const _0x271c22={};return _0x271c22[_0x2ad4ee(0x223)]=_0x2e253a,helper[_0x2ad4ee(0x286)]({},_0x41b6ba,_0x291ebd[_0x2ad4ee(0x282)](isBrowserstackInfra)?_0x4a9598:{},_0x2b321c?{'grep':_0x2b321c}:{},_0x271c22);});for(const _0x481641 of _0x2d6e84){for(const _0x19a68f of _0x1f68b2){const _0x1de841=_0x626eae[_0x3d1abc(0x20a)]();_0x1de841[_0x3d1abc(0x253)](_0x19a68f),_0x1de841[_0x3d1abc(0x207)](_0x481641);const _0x4b1432={};_0x4b1432[_0x3d1abc(0x23b)]=_0x43eaa1,_0x1de841[_0x3d1abc(0x1fc)](_0x4b1432);}}_0x626eae['on'](CodeceptJS['event'][_0x3d1abc(0x22b)]['failed'],(_0x2c7d3c,_0x51aa7b)=>{const _0x1cb463=_0x3d1abc;console['log'](_0x291ebd[_0x1cb463(0x255)],_0x2c7d3c['title']);const _0x37b646={[_0x2c7d3c[_0x1cb463(0x240)]]:_0x2c7d3c[_0x1cb463(0x205)][_0x1cb463(0x20e)]};_testErrorData[_0x1cb463(0x275)](_0x37b646);}),_0x626eae['on'](CodeceptJS[_0x3d1abc(0x24a)][_0x3d1abc(0x22b)]['passed'],async _0x1e572d=>{const _0x395e9d=_0x3d1abc;console[_0x395e9d(0x27c)](_0x291ebd[_0x395e9d(0x1f5)],_0x1e572d[_0x395e9d(0x240)]);}),_0x626eae['on'](CodeceptJS[_0x3d1abc(0x24a)][_0x3d1abc(0x22b)][_0x3d1abc(0x280)],async _0x834ebd=>{const _0x518131=_0x3d1abc;console[_0x518131(0x27c)](_0x291ebd[_0x518131(0x27a)],_0x834ebd[_0x518131(0x240)]);}),_0x626eae['on'](CodeceptJS[_0x3d1abc(0x24a)][_0x3d1abc(0x247)][_0x3d1abc(0x236)],async()=>{const _0x39bb63=_0x3d1abc,_0x1e6acd=_0x291ebd[_0x39bb63(0x233)][_0x39bb63(0x257)]('|');let _0x4146b0=0x0;while(!![]){switch(_0x1e6acd[_0x4146b0++]){case'0':utilities[_0x39bb63(0x229)](_0x545586);continue;case'1':_0x545586['errorMessage']=_testErrorData;continue;case'2':_0x626eae[_0x39bb63(0x1f9)]();continue;case'3':try{await TestHubHandler[_0x39bb63(0x22c)]();}catch(_0x554c45){logger[_0x39bb63(0x238)](_0x39bb63(0x246)+util['format'](_0x554c45));}continue;case'4':PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']);continue;case'5':testOpsHelper['printBuildLink']();continue;}break;}});async function _0x257ae9(){const _0x2da0e5=_0x3d1abc;try{await _0x626eae['bootstrapAll'](),await _0x626eae['run']();}finally{process['chdir'](_0x554265),await _0x626eae[_0x2da0e5(0x22d)]();}}PerformanceTester['end'](PerformanceEvents[_0x3d1abc(0x27e)]),_0x291ebd['ibbyq'](_0x257ae9);}function a2_0x314f(){const _0x22a9fb=['setAdditionalCapabilities','2893640SruDtJ','RMBPd','err','WFuHT','addConfig','PTDmo','../../helpers/helper','spawn','playwright-firefox','codeceptjs','KpGoE','stack','../../helpers/test-observability/utils','getPlaywrightUrl','FRAMEWORKS','101139vmSlyG','isEmpty','EVENTS','frameworkName','parallelsPerPlatform','root','LqZFJ','kOUrQ','aHcUt','profile','browser','skipSessionName','skipSessionStatus','BROWSERSTACK_RERUN','useW3C','../../helpers/test-observability/constants','exports','plugins','4805000YXoVQg','luRJm','playwright-chromium','9mMSvdB','accessibility','finalExecution','winstonLogger','test','stop','teardownAll','Failed\x20:\x20','gherkin','BROWSERSTACK_TEST_OBSERVABILITY_YML','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','QFQhV','IRZha','webkit','browserStackCwd','result','toLowerCase','debug','playwright-webkit','../utils/constants','config','--config','Passed\x20:\x20','join','env','title','KZjLq','CODECEPT_CUCUMBER','860286FnVNMG','BROWSERSTACK_RERUN_TESTS','../../helpers/accessibility-automation/helper','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','all','cwd','Playwright','event','firefox','prepareCapabilities','desiredCapabilities','handleApp','3BwjECg','../../helpers/logger','platforms','gvuWD','addTests','getUserWorkerCount','poaIW','isTrue','split','../../helpers/utilities','2278005JZAWAK','testObservability','helpers','createGroupsOfSuites','eYmNV','lvMIr','sgNeG','length','../../helpers/testhub/testhubHandler','chrome','map','existsSync','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','util','chromium','stringify','chdir','MppSu','IxurY','PHxKr','14rSbLpz','leXAh','validPlatformsPresent','GRoro','4|1|5|0|3|2','now','launchBuild','2389040RWCaoC','push','initialize','isUndefined','findIndex','require','rgCSw','testContextOptions','log','slice','SDK_SETUP','../../helpers/performance/performance-tester','before','CODECEPT','IaYcc','823126PudoKb','PWuqP','USER_CONFIG_DETAILS_PATH','mergeDeep','WebDriver','exvWa','testConfig','browserName','sWDaO','VUiQm','codeceptjs/lib/index.js','browserWSEndpoint','info','printResults','../../helpers/performance/constants','OICGf','addOptions','Workers','../../helpers/BrowserStackSetup','accessibilityOptions','codecept.conf.js','forEach'];a2_0x314f=function(){return _0x22a9fb;};return a2_0x314f();}module[a2_0x529f33(0x222)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a3_0x3e0985=a3_0x29ee;(function(_0x43edaf,_0x10cfca){const _0x13c1bf=a3_0x29ee,_0x44729d=_0x43edaf();while(!![]){try{const _0x5c6331=-parseInt(_0x13c1bf(0x122))/0x1+-parseInt(_0x13c1bf(0x10a))/0x2+-parseInt(_0x13c1bf(0x11e))/0x3*(parseInt(_0x13c1bf(0x133))/0x4)+parseInt(_0x13c1bf(0x10f))/0x5*(parseInt(_0x13c1bf(0x157))/0x6)+-parseInt(_0x13c1bf(0x123))/0x7+-parseInt(_0x13c1bf(0x131))/0x8+parseInt(_0x13c1bf(0x14c))/0x9;if(_0x5c6331===_0x10cfca)break;else _0x44729d['push'](_0x44729d['shift']());}catch(_0x33b9b3){_0x44729d['push'](_0x44729d['shift']());}}}(a3_0x50bb,0xe57f7));function a3_0x29ee(_0x235f03,_0x58c674){const _0x50bb21=a3_0x50bb();return a3_0x29ee=function(_0x29eecf,_0x275921){_0x29eecf=_0x29eecf-0x109;let _0x341850=_0x50bb21[_0x29eecf];return _0x341850;},a3_0x29ee(_0x235f03,_0x58c674);}const {isUndefined,nestedKeyValue}=require(a3_0x3e0985(0x13c)),logger=require(a3_0x3e0985(0x139))[a3_0x3e0985(0x110)],PlaywrightSessionDetails=require(a3_0x3e0985(0x145)),{isAccessibilityAutomationSession}=require(a3_0x3e0985(0x11b)),{getObservabilityLinkedProductName}=require(a3_0x3e0985(0x11f)),getOSVersionFromCaps=_0xfb8080=>{const _0x19be4f=a3_0x3e0985,_0x1b6a64={};_0x1b6a64[_0x19be4f(0x113)]=_0x19be4f(0x135),_0x1b6a64['jxYsb']=_0x19be4f(0x12a),_0x1b6a64[_0x19be4f(0x14e)]=_0x19be4f(0x120),_0x1b6a64[_0x19be4f(0x11d)]=_0x19be4f(0x115),_0x1b6a64[_0x19be4f(0x137)]=_0x19be4f(0x119);const _0x6d2cd1=_0x1b6a64;if(!_0xfb8080)return null;const _0x2af3f0=_0xfb8080[_0x6d2cd1[_0x19be4f(0x113)]],_0x154147=[_0x6d2cd1[_0x19be4f(0x12f)],_0x6d2cd1[_0x19be4f(0x14e)],_0x6d2cd1[_0x19be4f(0x11d)],_0x6d2cd1[_0x19be4f(0x137)]];for(const _0x4ca1fc of _0x154147){if(_0x2af3f0&&_0x2af3f0[_0x4ca1fc])return _0x2af3f0[_0x4ca1fc];else{if(_0xfb8080[_0x4ca1fc])return _0xfb8080[_0x4ca1fc];}}return null;};function a3_0x50bb(){const _0x5588a1=['asAiB','pllaG','xJBIR','OPOru','shouldPatchExecuteScript','VNknv','platform','vufcj','sessionId','6LTYkEY','searchParams','102110UiKfzq','browserWSEndpoint','QULVj','gOYkX','OCbDP','3855365SZLMqL','winstonLogger','jXsDg','accessibilityPlatform','fBUGj','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','osVersion','config','unknown_grid','nTbpe','os_version','WebDriver','../../helpers/accessibility-automation/helper','EZFPj','MDZsG','21ckPpEj','../../helpers/test-observability/utils','platform_version','warn','1552784dyXEWJ','1037666cvyZnV','GOCTT','browser','AyifG','name','awAQw','capabilities','platformVersion','lPkeO','gQarO','browserName','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','jxYsb','browserVersion','4904352GGlZqz','browser_version','221864QWuhuW','mYIIb','bstack:options','get','xMeEh','desiredCapabilities','../../helpers/logger','xmVAk','__cloud_provider___','../../helpers/helper','chrome','bsSessionId','parse','includes','Playwright','constructor','getDetails','UuldC','../../bin/playwright/sessionDetails','wxQMW','caps','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','bVckb','processWebDriverConfig','browserstack_accessibility_automation_script','26300997gMzjiN','DNqZu'];a3_0x50bb=function(){return _0x5588a1;};return a3_0x50bb();}exports['fetchPlatformDetails']=_0x13cbd8=>{const _0x12bd44=a3_0x3e0985,_0x245cdd={'QULVj':_0x12bd44(0x117),'mYIIb':function(_0x3e8fae,_0x4b23a6){return _0x3e8fae===_0x4b23a6;},'AyifG':_0x12bd44(0x11a),'lPkeO':function(_0x4419d5,_0x5ae302){return _0x4419d5(_0x5ae302);},'EZFPj':function(_0x32910a,_0x43fd3f,_0x264161){return _0x32910a(_0x43fd3f,_0x264161);},'GOCTT':_0x12bd44(0x116),'xOijT':_0x12bd44(0x138),'xJBIR':function(_0x3e1a81,_0x158e16){return _0x3e1a81===_0x158e16;},'FJbJx':_0x12bd44(0x141),'vufcj':function(_0x4424bb,_0x4e0cb0,_0x38500a){return _0x4424bb(_0x4e0cb0,_0x38500a);},'OPOru':_0x12bd44(0x125),'OCbDP':_0x12bd44(0x10b),'nTbpe':_0x12bd44(0x147)};if(!_0x13cbd8)return null;let _0x5c4a54=global[_0x12bd44(0x13b)]||_0x245cdd[_0x12bd44(0x10c)];if(_0x245cdd[_0x12bd44(0x134)](_0x13cbd8[_0x12bd44(0x142)]['name'],_0x245cdd[_0x12bd44(0x126)])){const _0x408a6f=_0x13cbd8['browser'];if(!_0x408a6f)return null;const _0x430bdb=_0x408a6f[_0x12bd44(0x129)],_0x150320=_0x245cdd[_0x12bd44(0x12b)](getOSVersionFromCaps,_0x245cdd[_0x12bd44(0x11c)](nestedKeyValue,_0x13cbd8,[_0x245cdd['GOCTT'],_0x245cdd['xOijT']]));return{[_0x5c4a54]:{'browser':_0x430bdb['browserName'],'browser_version':_0x430bdb['browserVersion'],'capabilities':_0x430bdb,'platform':_0x430bdb['platformName'],'platform_version':_0x430bdb[_0x12bd44(0x12a)]||_0x150320,'product':_0x245cdd[_0x12bd44(0x12b)](getObservabilityLinkedProductName,_0x430bdb),'session_id':_0x408a6f[_0x12bd44(0x156)]}};}else{if(_0x245cdd[_0x12bd44(0x150)](_0x13cbd8[_0x12bd44(0x142)][_0x12bd44(0x127)],_0x245cdd['FJbJx'])){const _0x52795e=PlaywrightSessionDetails[_0x12bd44(0x143)]();_0x5c4a54=_0x52795e['cloudProvider']||_0x5c4a54;const _0x44220f=_0x245cdd[_0x12bd44(0x155)](nestedKeyValue,_0x13cbd8,[_0x245cdd[_0x12bd44(0x124)],_0x245cdd[_0x12bd44(0x151)],_0x245cdd[_0x12bd44(0x10e)]]),_0x54c714=_0x44220f?JSON[_0x12bd44(0x13f)](new URL(_0x44220f)[_0x12bd44(0x109)][_0x12bd44(0x136)](_0x245cdd[_0x12bd44(0x118)])):{};return{[_0x5c4a54]:{'browser':_0x52795e[_0x12bd44(0x125)]||_0x54c714[_0x12bd44(0x12d)],'browser_version':_0x52795e[_0x12bd44(0x132)]||_0x54c714['browser_version'],'capabilities':_0x54c714,'platform':_0x52795e[_0x12bd44(0x154)],'platform_version':_0x52795e['platform_version'],'product':_0x245cdd[_0x12bd44(0x12b)](getObservabilityLinkedProductName,_0x54c714),'session_id':_0x52795e[_0x12bd44(0x13e)]}};}}},exports[a3_0x3e0985(0x14a)]=_0x2b95ab=>{const _0x303b18=a3_0x3e0985,_0x217b9c={'xmVAk':function(_0x56ddb8){return _0x56ddb8();},'gOYkX':function(_0x1962e3,_0x381be6){return _0x1962e3===_0x381be6;},'UuldC':'latest','wxQMW':function(_0x32542a,_0x21d47c){return _0x32542a>_0x21d47c;},'bVckb':function(_0x52b88d,_0x3140be){return _0x52b88d(_0x3140be);},'DgpSM':_0x303b18(0x148),'DNqZu':_0x303b18(0x13d),'VNknv':function(_0x4d9cdc,_0x2c3222){return _0x4d9cdc===_0x2c3222;},'awAQw':'playwright-chromium','JtXbI':_0x303b18(0x114),'gQarO':_0x303b18(0x12e)};if(_0x217b9c[_0x303b18(0x13a)](isAccessibilityAutomationSession)){const _0x1cf38a=_0x2b95ab['browser'],_0xd64442=_0x1cf38a[_0x303b18(0x129)];global[_0x303b18(0x112)]=!![],!(_0x217b9c[_0x303b18(0x10d)](_0xd64442[_0x303b18(0x130)],_0x217b9c[_0x303b18(0x144)])||_0x217b9c[_0x303b18(0x146)](_0x217b9c[_0x303b18(0x149)](parseInt,_0xd64442[_0x303b18(0x130)]),0x5e))&&(logger[_0x303b18(0x121)](_0x217b9c['DgpSM']),global['accessibilityPlatform']=![]),!(_0x217b9c[_0x303b18(0x10d)](_0xd64442['browserName'],_0x217b9c[_0x303b18(0x14d)])||_0x217b9c[_0x303b18(0x153)](_0xd64442[_0x303b18(0x12d)],_0x217b9c[_0x303b18(0x128)]))&&(logger['warn'](_0x217b9c['JtXbI']),global[_0x303b18(0x112)]=![]),!_0x217b9c[_0x303b18(0x149)](isUndefined,_0xd64442['deviceName'])&&(logger[_0x303b18(0x121)](_0x217b9c[_0x303b18(0x12c)]),global[_0x303b18(0x112)]=![]);}},exports[a3_0x3e0985(0x152)]=_0x5eda42=>{const _0x1c65ba=a3_0x3e0985,_0x4fa9d0={};_0x4fa9d0[_0x1c65ba(0x111)]='browserstack_executor',_0x4fa9d0[_0x1c65ba(0x14f)]=_0x1c65ba(0x14b);const _0x77fa7c=_0x4fa9d0;if(!_0x5eda42)return![];return!_0x5eda42[_0x1c65ba(0x140)](_0x77fa7c['jXsDg'])&&!_0x5eda42[_0x1c65ba(0x140)](_0x77fa7c[_0x1c65ba(0x14f)]);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a4_0x195e7e=a4_0x3a96;(function(_0x3df1d0,_0x13ec41){const _0x43f804=a4_0x3a96,_0x492989=_0x3df1d0();while(!![]){try{const _0x37409c=-parseInt(_0x43f804(0x23f))/0x1*(parseInt(_0x43f804(0x199))/0x2)+-parseInt(_0x43f804(0x242))/0x3+parseInt(_0x43f804(0x276))/0x4+-parseInt(_0x43f804(0x207))/0x5*(parseInt(_0x43f804(0x289))/0x6)+-parseInt(_0x43f804(0x24f))/0x7*(parseInt(_0x43f804(0x274))/0x8)+parseInt(_0x43f804(0x211))/0x9+parseInt(_0x43f804(0x226))/0xa;if(_0x37409c===_0x13ec41)break;else _0x492989['push'](_0x492989['shift']());}catch(_0x466865){_0x492989['push'](_0x492989['shift']());}}}(a4_0x50ab,0x74df8));const path=require(a4_0x195e7e(0x196)),fs=require('fs'),{v4:uuidv4}=require('uuid'),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x195e7e(0x201)),testOpsHelper=require(a4_0x195e7e(0x1ba)),{getTestEnv}=require(a4_0x195e7e(0x27e)),{FRAMEWORKS}=require(a4_0x195e7e(0x204)),logger=require(a4_0x195e7e(0x1cc))[a4_0x195e7e(0x1f9)],SessionHandler=require(a4_0x195e7e(0x197)),RequestQueueHandler=require(a4_0x195e7e(0x1bd)),PlaywrightSessionDetails=require(a4_0x195e7e(0x19f)),debug=testOpsHelper[a4_0x195e7e(0x283)],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require(a4_0x195e7e(0x231)),{fetchPlatformDetails}=require(a4_0x195e7e(0x1da)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x195e7e(0x24c)),STATE_PASSED=a4_0x195e7e(0x22c),STATE_FAILED=a4_0x195e7e(0x28b),a4_0x4721a2={};a4_0x4721a2['TEST_RUN_STARTED']=a4_0x195e7e(0x215),a4_0x4721a2[a4_0x195e7e(0x1d1)]='TestRunFinished',a4_0x4721a2[a4_0x195e7e(0x23a)]=a4_0x195e7e(0x233),a4_0x4721a2[a4_0x195e7e(0x263)]=a4_0x195e7e(0x1ff),a4_0x4721a2[a4_0x195e7e(0x224)]=a4_0x195e7e(0x220);const TEST_EVENTS=a4_0x4721a2,parseEvent=_0x5c588b=>{const _0x1785c5=a4_0x195e7e,_0x48b64b={};_0x48b64b[_0x1785c5(0x1fc)]=function(_0x1c8c2f,_0x213a19){return _0x1c8c2f<_0x213a19;},_0x48b64b[_0x1785c5(0x209)]=function(_0xf12dc2,_0x3f4c2c){return _0xf12dc2===_0x3f4c2c;},_0x48b64b[_0x1785c5(0x1ee)]=_0x1785c5(0x1a3),_0x48b64b[_0x1785c5(0x26b)]='hook',_0x48b64b[_0x1785c5(0x287)]=_0x1785c5(0x22d),_0x48b64b[_0x1785c5(0x266)]=_0x1785c5(0x24a),_0x48b64b[_0x1785c5(0x229)]='finished';const _0x4f71bc=_0x48b64b,_0x46d8e4=_0x5c588b[_0x1785c5(0x27d)](/^(.*)Run(.*)$/);if(!_0x46d8e4)return null;if(_0x4f71bc[_0x1785c5(0x1fc)](_0x46d8e4[_0x1785c5(0x19c)],0x3))return null;const _0x55db85=_0x46d8e4[0x1]['toLowerCase'](),_0x4b2dfd=_0x46d8e4[0x2][_0x1785c5(0x25e)]();return{'test':_0x4f71bc[_0x1785c5(0x209)](_0x55db85,_0x4f71bc[_0x1785c5(0x1ee)]),'hook':_0x4f71bc['JErXh'](_0x55db85,_0x4f71bc['ZvHOV']),'skipped':_0x4f71bc[_0x1785c5(0x209)](_0x4b2dfd,_0x4f71bc['llLXJ']),'started':_0x4f71bc[_0x1785c5(0x209)](_0x4b2dfd,_0x4f71bc[_0x1785c5(0x266)]),'finished':_0x4f71bc[_0x1785c5(0x209)](_0x4b2dfd,_0x4f71bc['Gkpwz'])};},mockPWBrowserType=_0x5108e7=>{const _0x5f5c3d=a4_0x195e7e,_0x5604bb={'UoXxz':function(_0x178931,_0x3f3ab7){return _0x178931===_0x3f3ab7;},'KMyEV':_0x5f5c3d(0x21f),'ptjiv':function(_0xcee4ce,_0x4378b0,_0x253d9e){return _0xcee4ce(_0x4378b0,_0x253d9e);},'lJrhC':_0x5f5c3d(0x214),'IbwLq':function(_0x4213f0,_0x3db51b){return _0x4213f0(_0x3db51b);},'cJwnx':_0x5f5c3d(0x1bf),'lbBCD':_0x5f5c3d(0x251),'ebqZW':_0x5f5c3d(0x1d0),'BHuja':'browserType.js','KsJGe':function(_0x12bd7c,_0x1ea813){return _0x12bd7c(_0x1ea813);},'ZJPeu':'Not\x20able\x20to\x20import\x20Browser','eeyuY':_0x5f5c3d(0x268),'THaZz':_0x5f5c3d(0x237)},_0x45c864=path['join'](_0x5604bb[_0x5f5c3d(0x1d5)],_0x5604bb[_0x5f5c3d(0x277)],_0x5604bb[_0x5f5c3d(0x1ad)]),_0x1fc671=_0x5604bb[_0x5f5c3d(0x26a)](importFileFromPWCore,_0x45c864);if(!_0x1fc671){_0x5604bb[_0x5f5c3d(0x26a)](debug,_0x5604bb[_0x5f5c3d(0x200)]);return;}const _0x37da34=_0x1fc671[_0x5f5c3d(0x221)],_0x54ca4d=_0x37da34[_0x5f5c3d(0x247)];if(_0x54ca4d['obsBrowserTypeMockApplied'])return;const _0x471486=_0x54ca4d[_0x5f5c3d(0x268)];Object[_0x5f5c3d(0x21d)](_0x54ca4d,_0x5604bb[_0x5f5c3d(0x227)],{'get':function(){const _0x490995=_0x5f5c3d,_0x4d25e6={'GfNLU':function(_0x26a9ea,_0xc6ab48){const _0x26637a=a4_0x3a96;return _0x5604bb[_0x26637a(0x1a2)](_0x26a9ea,_0xc6ab48);},'VbfWn':_0x5604bb[_0x490995(0x1cd)],'CwTVQ':function(_0x4bcaa5,_0x28e388,_0x2aaf92){const _0x44e8c6=_0x490995;return _0x5604bb[_0x44e8c6(0x1b9)](_0x4bcaa5,_0x28e388,_0x2aaf92);},'ugriF':_0x5604bb[_0x490995(0x1fd)],'qGQPZ':function(_0x2c4c22,_0x536f77){const _0x4e89a9=_0x490995;return _0x5604bb[_0x4e89a9(0x246)](_0x2c4c22,_0x536f77);},'roMck':_0x5604bb[_0x490995(0x1e3)]};return async function _0x34a713(_0x3e85d5,_0x21893d){const _0x2e464e=_0x490995,_0x16a89a=_0x4d25e6[_0x2e464e(0x203)](nestedKeyValue,_0x3e85d5,[_0x4d25e6[_0x2e464e(0x1e6)]])||_0x3e85d5;let _0x4addbc=null,_0x9a31ca=null;try{[_0x9a31ca,_0x4addbc]=_0x16a89a?_0x4d25e6[_0x2e464e(0x27c)](parseWSEndpoint,_0x16a89a):[null,null],global[_0x2e464e(0x262)]=_0x4addbc,_0x9a31ca['includes'](_0x4d25e6[_0x2e464e(0x1f3)])&&(global[_0x2e464e(0x19b)]=_0x4d25e6[_0x2e464e(0x1f3)]);}catch(_0x127a8b){logger[_0x2e464e(0x283)](_0x2e464e(0x1f4)+_0x16a89a+'\x20'+_0x127a8b);}_0x4d25e6[_0x2e464e(0x203)](processAccessibilityCaps,_0x4addbc,_0x9a31ca);if(global['accessibilityPlatform']){const _0xc5d715=await _0x54ca4d[_0x2e464e(0x1b1)][_0x2e464e(0x1c9)](this,[''+Constants[_0x2e464e(0x1b4)]+_0x4d25e6[_0x2e464e(0x27c)](encodeURIComponent,JSON['stringify'](_0x4addbc))]);return PlaywrightSessionDetails[_0x2e464e(0x269)](_0xc5d715,_0x5108e7,_0x16a89a),_0xc5d715;}return _0x471486['apply'](this,arguments)['then'](_0x28ae1b=>{const _0x3fa7be=_0x2e464e;let _0x3792d2=_0x3e85d5[_0x3fa7be(0x214)];return _0x4d25e6[_0x3fa7be(0x255)](typeof _0x3e85d5,_0x4d25e6[_0x3fa7be(0x216)])&&(_0x3792d2=_0x3e85d5),PlaywrightSessionDetails[_0x3fa7be(0x269)](_0x28ae1b,_0x5108e7,_0x3792d2),_0x28ae1b;});};}});const _0x4242cc=_0x54ca4d[_0x5f5c3d(0x237)];Object[_0x5f5c3d(0x21d)](_0x54ca4d,_0x5604bb['THaZz'],{'get':function(){return async function _0x4c9366(){const _0x191939=a4_0x3a96;return _0x4242cc['apply'](this,arguments)[_0x191939(0x198)](_0xbbb791=>{const _0xed864b=_0x191939;return PlaywrightSessionDetails[_0xed864b(0x269)](_0xbbb791,null),_0xbbb791;});};}});};function a4_0x3a96(_0x366364,_0x3bdc4b){const _0x50abcb=a4_0x50ab();return a4_0x3a96=function(_0x3a96af,_0x439754){_0x3a96af=_0x3a96af-0x195;let _0x1b3fa1=_0x50abcb[_0x3a96af];return _0x1b3fa1;},a4_0x3a96(_0x366364,_0x3bdc4b);}function a4_0x50ab(){const _0x58d617=['lbBCD','pending','bind','body','uuid','./helper.js','forEach','STsro','ZpIXC','QbDaH','O11yHelper','getTime','testAnalyticsId','ipQyE','cJwnx','fbTkY','codeceptjs','ugriF','driver','PathHelper','toString','mapTestHooks','failure_reason_expanded','patchConsoleLogger','EqlCs','uBWBn','push','errorsDetailed','result','zmEYB','roMck','Failed\x20to\x20parse\x20wsendpoint\x20','hooks','bddSteps','concat','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','winstonLogger','xTflv','retryOf','Opwlq','lJrhC','gCHrw','HookRunStarted','ZJPeu','../../helpers/helper','_afterAll','CwTVQ','../../helpers/test-observability/constants','sqLvo','PlGlX','6505UQNyjp','TbFhH','JErXh','title','fNval','LUeGs','startedAt','fireEvent','bddStepFinish','frameworkName','5949090uhuRMZ','toUpperCase','yovJM','wsEndpoint','TestRunStarted','VbfWn','WxZda','getHooksForTest','AqoEz','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','EsSxK','_beforeEach','defineProperty','name','string','HookRunFinished','BrowserType','txjpg','captureEvent','HOOK_RUN_FINISHED','hook','5132770AeWFev','eeyuY','FignD','Gkpwz','SYfZd','relative','passed','skipped','text','pcubK','xjiNj','../utils/constants','stop','TestRunSkipped','LKVPy','cwd','kRfCX','launch','TEST_EVENTS','find','TEST_RUN_SKIPPED','message','File\x20path\x20could\x20not\x20be\x20found','getHookType','jyQmJ','33qjBLLP','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','javascript','2343630BRKwww','OYhxb','_testEnv','bs:addLog:','IbwLq','prototype','feature','nwmth','started','includes','../../helpers/testhub/utils.js','hook_type','_beforeAll','7yYuxor','gGhYB','lib','now','failure','test_run','GfNLU','resetSkipTestHooks','STATE_FAILED','getHierarchy','groups','initializeBddStep','sfcMc','getInstance','sep','toLowerCase','OISzo','appendTestItemLog','Qwnnk','__platformCaps','HOOK_RUN_STARTED','exports','bxHyl','jUoJY','finished_at','connect','setupBrowserDetails','KsJGe','ZvHOV','xBKDw','_afterEach','expanded','hlNvE','BSIbN','comment','integrations','currentHook','3088376CTuNbA','SWpiO','3475284HBJVUu','ebqZW','Playwright','wnXKO','apXSG','file_name','qGQPZ','match','../mocha/test-observability/mochaUtils','enabled','dirname','fullTitle','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','debug','currentTest','inspect','statSync','llLXJ','sendCBTInfo','1662gcrXXV','_paths','failed','util','event_type','path','../../helpers/test-observability/sessionHandler','then','2228hYWyJi','test_run_uuid','__cloud_provider___','length','config','bddStepStart','../playwright/sessionDetails','prefixTestPath','hook_run','UoXxz','test','err','ezpMG','4|3|1|2|0|5','tags','zeXCh','CBTSessionCreated','getCBTInfo','keyword','failed\x20to\x20get\x20root\x20parent\x20file\x20','BHuja','hook_run_uuid','Vvhbj','hookAnalyticsId','connectOverCDP','parent','jRrGw','PLAYWRIGHT_HUB_URL','suites','constructor','toISOString','odGaQ','ptjiv','../../helpers/test-observability/utils','uploadEventData','stepAnalyticsId','../../helpers/test-observability/requestQueueHandler','EBXAF','browserstack','ezUTj','pid','removeAllListeners','split','\x20with\x20error\x20:\x20','ctx','logs','finished','findGitConfig','apply','getRootParentFile','rZVhi','../../helpers/logger','KMyEV','markedStatus','nxTJY','client','TEST_RUN_FINISHED','iQgqG','status','vzpWU'];a4_0x50ab=function(){return _0x58d617;};return a4_0x50ab();}class O11yHelper{['currentTest']=null;[a4_0x195e7e(0x273)]=null;[a4_0x195e7e(0x27f)]=![];[a4_0x195e7e(0x210)]=![];constructor(_0x3e6062,_0xb94695){const _0x29bad6=a4_0x195e7e,_0x2333a6={'EqlCs':_0x29bad6(0x1a6),'LKVPy':function(_0x16f0e8){return _0x16f0e8();},'EBXAF':function(_0x20fa11){return _0x20fa11();},'SWpiO':function(_0xc3fb9a,_0x336a91){return _0xc3fb9a===_0x336a91;},'rZVhi':_0x29bad6(0x278),'xTflv':function(_0x33c3c9,_0x53fda1){return _0x33c3c9(_0x53fda1);}},_0x17fcbf=_0x2333a6[_0x29bad6(0x1ed)][_0x29bad6(0x1c3)]('|');let _0x17d52d=0x0;while(!![]){switch(_0x17fcbf[_0x17d52d++]){case'0':this[_0x29bad6(0x28a)]=new testOpsHelper[(_0x29bad6(0x1e8))]({'cwd':process[_0x29bad6(0x235)]()},this[_0x29bad6(0x244)]['location_prefix']);continue;case'1':this['driver']=_0x3e6062;continue;case'2':this[_0x29bad6(0x244)]=_0x2333a6[_0x29bad6(0x234)](getTestEnv);continue;case'3':this[_0x29bad6(0x210)]=_0xb94695[_0x29bad6(0x210)];continue;case'4':this[_0x29bad6(0x27f)]=_0x2333a6[_0x29bad6(0x1be)](shouldProcessEventForTesthub);continue;case'5':this[_0x29bad6(0x1e7)]&&_0x2333a6[_0x29bad6(0x275)](this[_0x29bad6(0x1e7)][_0x29bad6(0x1b6)][_0x29bad6(0x21e)],_0x2333a6[_0x29bad6(0x1cb)])&&_0x2333a6[_0x29bad6(0x1fa)](mockPWBrowserType,null);continue;}break;}}['start'](){const _0x38bccb=a4_0x195e7e;if(!this[_0x38bccb(0x27f)])return;testOpsHelper[_0x38bccb(0x1ec)](),process[_0x38bccb(0x1c2)](_0x38bccb(0x245)+process[_0x38bccb(0x1c1)]),process['on'](_0x38bccb(0x245)+process[_0x38bccb(0x1c1)],this[_0x38bccb(0x260)][_0x38bccb(0x1d7)](this));}async[a4_0x195e7e(0x232)](){const _0x5149fa=a4_0x195e7e;await RequestQueueHandler[_0x5149fa(0x25c)]()['shutdown']();}async[a4_0x195e7e(0x260)](_0x2b5e58){const _0x14d484=a4_0x195e7e,_0x3cdba6={'jRrGw':'LogCreated','AqoEz':function(_0x2bb3e5,_0x140e57){return _0x2bb3e5(_0x140e57);}};try{this[_0x14d484(0x273)]&&!this[_0x14d484(0x273)]['markedStatus']&&(_0x2b5e58[_0x14d484(0x1ae)]=this[_0x14d484(0x273)][_0x14d484(0x1b0)]);!_0x2b5e58['hook_run_uuid']&&this[_0x14d484(0x284)]&&!this[_0x14d484(0x284)][_0x14d484(0x1ce)]&&(_0x2b5e58[_0x14d484(0x19a)]=this['currentTest'][_0x14d484(0x1e1)]);if(_0x2b5e58['hook_run_uuid']||_0x2b5e58['test_run_uuid']){const _0x2cea4f={};_0x2cea4f[_0x14d484(0x195)]=_0x3cdba6[_0x14d484(0x1b3)],_0x2cea4f[_0x14d484(0x1c6)]=[_0x2b5e58],await SessionHandler[_0x14d484(0x1bb)](_0x2cea4f);}}catch(_0x51c174){_0x3cdba6[_0x14d484(0x219)](debug,_0x14d484(0x1f8)+_0x51c174);}}async[a4_0x195e7e(0x288)](_0x4a9ea2){const _0x57e634=a4_0x195e7e,_0x4ec883={'FKKtS':_0x57e634(0x1a9),'bxHyl':function(_0x3ef539,_0x540952){return _0x3ef539(_0x540952);}};if(!this['enabled'])return;const _0x44860e=this['getCBTInfo'](this[_0x57e634(0x1e7)]);try{const _0x589884={};_0x589884[_0x57e634(0x1d9)]=_0x4a9ea2,_0x589884[_0x57e634(0x272)]=_0x44860e;const _0x45b730=_0x589884,_0x302a5a={};_0x302a5a['event_type']=_0x4ec883['FKKtS'],_0x302a5a[_0x57e634(0x254)]=_0x45b730,await SessionHandler['uploadEventData'](_0x302a5a);}catch(_0x327bfe){_0x4ec883[_0x57e634(0x265)](debug,_0x57e634(0x282)+_0x327bfe);}}[a4_0x195e7e(0x1aa)](_0x4060d8){const _0xf04a1b=a4_0x195e7e,_0x5e47b7={'nxTJY':function(_0x41a935,_0x1b3f4d){return _0x41a935(_0x1b3f4d);}};return _0x5e47b7[_0xf04a1b(0x1cf)](fetchPlatformDetails,_0x4060d8);}[a4_0x195e7e(0x256)]=_0x58c29b=>{const _0x1ebf3c=a4_0x195e7e,_0x5e174f={};_0x5e174f[_0x1ebf3c(0x1a5)]='_beforeEach',_0x5e174f[_0x1ebf3c(0x22a)]=_0x1ebf3c(0x26d);const _0x509802=_0x5e174f;if(!_0x58c29b||!_0x58c29b[_0x1ebf3c(0x1b2)])return;[_0x509802[_0x1ebf3c(0x1a5)],_0x509802[_0x1ebf3c(0x22a)]]['forEach'](_0x4ca918=>{const _0x22bc40=_0x1ebf3c,_0x3e1d15=_0x58c29b[_0x22bc40(0x1b2)][_0x4ca918];_0x3e1d15['forEach'](_0x37b421=>{const _0x5d9aaa=_0x22bc40;_0x37b421[_0x5d9aaa(0x1b0)]&&(_0x37b421['hookAnalyticsId']=null);});});};[a4_0x195e7e(0x1ea)](_0x45ca28){const _0x3fe32f=a4_0x195e7e,_0x265c09={'gGhYB':_0x3fe32f(0x1e5),'pcubK':function(_0x2cc627){return _0x2cc627();},'tRhjX':function(_0x59b0b0,_0x1547ab){return _0x59b0b0===_0x1547ab;},'PlGlX':_0x3fe32f(0x26d),'zeXCh':'_beforeAll','MFiLr':_0x3fe32f(0x202),'OYhxb':_0x3fe32f(0x21c)};if(!_0x45ca28||!_0x45ca28[_0x3fe32f(0x1b2)])return;[_0x265c09[_0x3fe32f(0x1a8)],_0x265c09['MFiLr'],_0x265c09[_0x3fe32f(0x243)],_0x265c09[_0x3fe32f(0x206)]][_0x3fe32f(0x1db)](_0x1764c5=>{const _0x442f70=_0x3fe32f,_0x41e13d=_0x45ca28['parent'][_0x1764c5]||[];_0x41e13d[_0x442f70(0x1db)](_0x111384=>{const _0x2b7bc1=_0x442f70;if(_0x111384[_0x2b7bc1(0x20a)][_0x2b7bc1(0x24b)](_0x265c09[_0x2b7bc1(0x250)]))return;if(!_0x111384[_0x2b7bc1(0x1b0)])_0x111384[_0x2b7bc1(0x1b0)]=_0x265c09[_0x2b7bc1(0x22f)](uuidv4);else _0x111384['markedStatus']&&_0x265c09['tRhjX'](_0x1764c5,_0x265c09[_0x2b7bc1(0x206)])&&(_0x111384[_0x2b7bc1(0x1b0)]=_0x265c09[_0x2b7bc1(0x22f)](uuidv4),delete _0x111384[_0x2b7bc1(0x1ce)]);});}),this[_0x3fe32f(0x1ea)](_0x45ca28[_0x3fe32f(0x1b2)]);}[a4_0x195e7e(0x218)](_0x4a0dc8){const _0x5f4655=a4_0x195e7e,_0x27f362={};_0x27f362[_0x5f4655(0x236)]=_0x5f4655(0x24e),_0x27f362[_0x5f4655(0x1fe)]='_afterAll',_0x27f362['Vvhbj']=_0x5f4655(0x21c),_0x27f362[_0x5f4655(0x23e)]=_0x5f4655(0x26d);const _0x3fb355=_0x27f362;if(!_0x4a0dc8||!_0x4a0dc8[_0x5f4655(0x1b2)])return[];const _0x4bcedc=[];return[_0x3fb355[_0x5f4655(0x236)],_0x3fb355[_0x5f4655(0x1fe)],_0x3fb355[_0x5f4655(0x1af)],_0x3fb355[_0x5f4655(0x23e)]][_0x5f4655(0x1db)](_0x4aa856=>{const _0x585c3f=_0x5f4655,_0x49f09c=_0x4a0dc8[_0x585c3f(0x1b2)][_0x4aa856]||[];_0x49f09c[_0x585c3f(0x1db)](_0x34f958=>{const _0x1458da=_0x585c3f;_0x34f958[_0x1458da(0x1b0)]&&_0x4bcedc[_0x1458da(0x1ef)](_0x34f958[_0x1458da(0x1b0)]);});}),[][_0x5f4655(0x1f7)](_0x4bcedc,this[_0x5f4655(0x218)](_0x4a0dc8[_0x5f4655(0x1b2)]));}[a4_0x195e7e(0x23d)](_0x4c6719){const _0x3e0553=a4_0x195e7e,_0x4ff7f7=/^"(?<hook>.*)" hook:.*$/,_0xc01821=_0x4c6719['title'],_0x742c2f=_0xc01821['match'](_0x4ff7f7);if(_0x742c2f&&_0x742c2f[_0x3e0553(0x259)])return _0x742c2f[_0x3e0553(0x259)]['hook'][_0x3e0553(0x212)]()['replace']('\x20','_');return null;}[a4_0x195e7e(0x1c8)](_0x59d217){const _0x42e578=a4_0x195e7e,_0x1b5846={};_0x1b5846[_0x42e578(0x20b)]=function(_0x53b063,_0x4eac63){return _0x53b063===_0x4eac63;},_0x1b5846[_0x42e578(0x1d2)]='.git',_0x1b5846['jvonP']=_0x42e578(0x19d);const _0x6166d4=_0x1b5846,_0x12d05b=path[_0x42e578(0x25d)];if(_0x6166d4['fNval'](_0x59d217,null)||_0x6166d4[_0x42e578(0x20b)](_0x59d217,'')||_0x6166d4[_0x42e578(0x20b)](_0x59d217,_0x12d05b)||_0x6166d4[_0x42e578(0x20b)](_0x59d217,path[_0x42e578(0x280)](_0x59d217)))return null;try{return fs[_0x42e578(0x286)](path['join'](_0x59d217,_0x6166d4[_0x42e578(0x1d2)],_0x6166d4['jvonP'])),_0x59d217;}catch(_0x368381){const _0x2b9379=path[_0x42e578(0x280)](_0x59d217);return this[_0x42e578(0x1c8)](_0x2b9379);}}[a4_0x195e7e(0x1ca)](_0x3e6696){const _0x5e58af=a4_0x195e7e,_0x27383d={};_0x27383d[_0x5e58af(0x1e4)]=function(_0x17afff,_0xdcf4e1){return _0x17afff>_0xdcf4e1;};const _0x40d0ab=_0x27383d;if(_0x3e6696['file'])return _0x3e6696['file'];if(_0x3e6696[_0x5e58af(0x1c5)]){const _0x4e02b8=_0x3e6696[_0x5e58af(0x1c5)]['currentTest']?this[_0x5e58af(0x1ca)](_0x3e6696[_0x5e58af(0x1c5)][_0x5e58af(0x284)]):null;if(_0x4e02b8)return _0x4e02b8;}if(_0x3e6696['parent']){const _0x378544=this[_0x5e58af(0x1ca)](_0x3e6696[_0x5e58af(0x1b2)])||(_0x3e6696[_0x5e58af(0x1b2)][_0x5e58af(0x1c5)]&&_0x3e6696[_0x5e58af(0x1b2)][_0x5e58af(0x1c5)]['currentTest']?this[_0x5e58af(0x1ca)](_0x3e6696[_0x5e58af(0x1b2)][_0x5e58af(0x1c5)]['currentTest']):null);if(_0x378544)return _0x378544;_0x3e6696[_0x5e58af(0x1b2)]['suites']&&_0x40d0ab[_0x5e58af(0x1e4)](_0x3e6696[_0x5e58af(0x1b2)][_0x5e58af(0x1b5)][_0x5e58af(0x19c)],0x0)&&_0x3e6696[_0x5e58af(0x1b2)][_0x5e58af(0x1b5)][_0x5e58af(0x1db)](_0x1e053e=>{const _0x5c2f7a=_0x5e58af,_0x4e7742=_0x1e053e[_0x5c2f7a(0x1c5)]?this[_0x5c2f7a(0x1ca)](_0x1e053e[_0x5c2f7a(0x1c5)]):null;if(_0x4e7742)return _0x4e7742;});}return null;}[a4_0x195e7e(0x258)](_0xfd50ff){const _0x567272=a4_0x195e7e,_0x176d64={};_0x176d64[_0x567272(0x279)]=function(_0x524e56,_0x28f8a8){return _0x524e56!==_0x28f8a8;};const _0x1555b0=_0x176d64,_0x4382c5=[];if(_0xfd50ff&&_0xfd50ff[_0x567272(0x1b2)]){let _0x275e81=_0xfd50ff[_0x567272(0x1b2)];while(_0x275e81&&_0x1555b0[_0x567272(0x279)](_0x275e81[_0x567272(0x20a)],'')){_0x4382c5['push'](_0x275e81[_0x567272(0x20a)]),_0x275e81=_0x275e81[_0x567272(0x1b2)];}}return _0x4382c5;}[a4_0x195e7e(0x223)](_0x53db18,_0x591414,_0x62e81f=undefined){const _0x244b84=a4_0x195e7e,_0x563380={'yovJM':function(_0xc6d90c,_0x5c3058){return _0xc6d90c(_0x5c3058);},'QbDaH':function(_0x49c5b2){return _0x49c5b2();},'WIPzg':function(_0x2072d7,_0x388743){return _0x2072d7(_0x388743);},'OISzo':_0x244b84(0x28c),'zmEYB':_0x244b84(0x1a4),'WxZda':function(_0x347fdd,_0x46b9ec){return _0x347fdd!==_0x46b9ec;},'xBKDw':function(_0x63f95e,_0x2dcf10){return _0x63f95e!==_0x2dcf10;},'LUeGs':_0x244b84(0x23c),'FignD':_0x244b84(0x1d6),'txjpg':_0x244b84(0x28b),'sfcMc':_0x244b84(0x22c),'EsSxK':_0x244b84(0x22d),'sqLvo':_0x244b84(0x241),'UwsjE':function(_0x3a989a,_0x45616b){return _0x3a989a-_0x45616b;},'ZpIXC':function(_0x2a37c6,_0x450014,_0x1ee30b,_0x3f1e13,_0x899cca){return _0x2a37c6(_0x450014,_0x1ee30b,_0x3f1e13,_0x899cca);},'vzpWU':function(_0x38acb8,_0x261cd8){return _0x38acb8!==_0x261cd8;},'ipQyE':_0x244b84(0x272),'xjiNj':'meta','IXCND':'failure','odGaQ':'failure_backtrace','TbFhH':'backtrace','zItHY':_0x244b84(0x1eb),'Qwnnk':_0x244b84(0x26e),'nwmth':function(_0x29b89f,_0x3eea62){return _0x29b89f===_0x3eea62;},'BSIbN':_0x244b84(0x1a1),'LKrmI':_0x244b84(0x254)};if(!this[_0x244b84(0x27f)])return;try{if(_0x591414['fn']&&_0x591414['fn'][_0x244b84(0x1e9)]()['match'](/browserstack internal helper hook/))return;const _0x2949b0=_0x563380[_0x244b84(0x213)](parseEvent,_0x53db18);if(!_0x2949b0)return;if(_0x2949b0[_0x244b84(0x1a3)]){this[_0x244b84(0x284)]=_0x591414,this['currentHook']=null;if(_0x2949b0[_0x244b84(0x24a)]||_0x2949b0[_0x244b84(0x22d)]){_0x591414[_0x244b84(0x20d)]=new Date(),_0x591414['markedStatus']=![];if(!_0x591414[_0x244b84(0x1e1)])_0x591414[_0x244b84(0x1e1)]=_0x563380[_0x244b84(0x1de)](uuidv4);else _0x591414[_0x244b84(0x1ce)]&&(!_0x591414[_0x244b84(0x1fb)]&&(_0x591414[_0x244b84(0x1fb)]=_0x591414[_0x244b84(0x1e1)]),_0x591414[_0x244b84(0x1e1)]=_0x563380[_0x244b84(0x1de)](uuidv4));}}else{if(_0x2949b0[_0x244b84(0x225)]){this[_0x244b84(0x273)]=_0x591414;if(_0x2949b0[_0x244b84(0x24a)]){_0x591414[_0x244b84(0x20d)]=new Date(),_0x591414[_0x244b84(0x1ce)]=![];if(!_0x591414[_0x244b84(0x1b0)])_0x591414[_0x244b84(0x1b0)]=_0x563380[_0x244b84(0x1de)](uuidv4);else _0x591414[_0x244b84(0x1b0)]&&_0x591414['markedStatus']&&(_0x591414[_0x244b84(0x1b0)]=_0x563380[_0x244b84(0x1de)](uuidv4));}}}if(_0x2949b0[_0x244b84(0x1c7)]&&_0x591414[_0x244b84(0x1ce)])return;let _0x59b74c;try{_0x59b74c=this[_0x244b84(0x1ca)](_0x591414);}catch(_0x2cb707){logger[_0x244b84(0x283)](_0x244b84(0x1ac)+_0x2cb707),_0x59b74c=null;}const _0x3622aa=_0x563380['WIPzg'](require,_0x563380[_0x244b84(0x25f)]);let _0x14675a=[];_0x62e81f&&(_0x14675a=[_0x62e81f,_0x563380[_0x244b84(0x1f2)]]);const _0x5d92bb=_0x563380[_0x244b84(0x217)](_0x591414[_0x244b84(0x1f0)],undefined)?_0x3622aa[_0x244b84(0x285)](_0x591414[_0x244b84(0x1f0)][0x0]):_0x563380[_0x244b84(0x26c)](_0x62e81f,undefined)?_0x62e81f[_0x244b84(0x1e9)]():undefined,_0x6e120a=_0x59b74c?this[_0x244b84(0x1c8)](_0x59b74c):null,_0x1fbd21=_0x59b74c?this['_paths'][_0x244b84(0x1a0)](this[_0x244b84(0x1ca)](_0x591414)):_0x563380[_0x244b84(0x20c)];let _0x519094=_0x563380[_0x244b84(0x228)];const _0x444686=!_0x2949b0[_0x244b84(0x24a)]?new Date()[_0x244b84(0x1b7)]():null;if(_0x2949b0[_0x244b84(0x1c7)])_0x519094=_0x62e81f?_0x563380[_0x244b84(0x222)]:_0x563380[_0x244b84(0x25b)],_0x591414[_0x244b84(0x1ce)]=!![];else _0x2949b0['skipped']&&(_0x519094=_0x563380[_0x244b84(0x21b)],_0x591414[_0x244b84(0x1ce)]=!![]);const _0x41e3f4={'framework':this[_0x244b84(0x210)],'uuid':_0x591414['testAnalyticsId']||_0x591414['hookAnalyticsId'],'name':_0x591414[_0x244b84(0x20a)],'body':{'lang':_0x563380[_0x244b84(0x205)],'code':_0x591414['body'][_0x244b84(0x1e9)]()},'type':_0x591414['type'],'scope':_0x591414[_0x244b84(0x281)](),'scopes':this['getHierarchy'](_0x591414),'file_name':_0x1fbd21,'vc_filepath':_0x6e120a?path[_0x244b84(0x22b)](_0x6e120a,_0x59b74c):null,'location':_0x1fbd21,'result':_0x519094,'failure_reason':_0x5d92bb,'duration_in_ms':_0x591414['duration']||(_0x2949b0[_0x244b84(0x1c7)]||_0x2949b0['skipped'])?_0x563380['UwsjE'](Date['now'](),new Date(_0x591414[_0x244b84(0x20d)])[_0x244b84(0x1e0)]()):null,'started_at':new Date(_0x591414[_0x244b84(0x20d)])['toISOString'](),'finished_at':_0x444686,'failure':testOpsHelper['failureData'][_0x244b84(0x1c9)](null,_0x14675a),'failure_type':!_0x5d92bb?null:testOpsHelper['getFailureType'](_0x5d92bb),'retry_of':_0x591414['retryOf']||null,'tags':_0x591414[_0x244b84(0x1a7)]||[],'customRerunParam':{'rerun_name':_0x591414[_0x244b84(0x281)]()}};_0x563380[_0x244b84(0x1dd)](appendTesthubParams,_0x41e3f4,_0x53db18,_0x591414,FRAMEWORKS['CODECEPT']);if(_0x2949b0[_0x244b84(0x225)])[_0x41e3f4[_0x244b84(0x24d)],_0x41e3f4[_0x244b84(0x21e)]]=[this[_0x244b84(0x23d)](_0x591414),_0x591414[_0x244b84(0x1c5)][_0x244b84(0x1a3)]['title']],_0x2949b0[_0x244b84(0x1c7)]?_0x563380[_0x244b84(0x1d4)](_0x41e3f4[_0x244b84(0x1f1)],_0x563380[_0x244b84(0x222)])&&(_0x41e3f4[_0x244b84(0x1f1)]=_0x563380['sfcMc']):_0x41e3f4[_0x244b84(0x1d8)]={};else _0x2949b0['test']&&(this[_0x244b84(0x1ea)](_0x591414),_0x2949b0['skipped']&&this[_0x244b84(0x256)](_0x591414),(_0x2949b0[_0x244b84(0x1c7)]||_0x2949b0['skipped'])&&(_0x41e3f4[_0x244b84(0x1f5)]=this[_0x244b84(0x218)](_0x591414)));this[_0x244b84(0x1e7)]&&(_0x2949b0[_0x244b84(0x24a)]||_0x2949b0[_0x244b84(0x22d)])&&(_0x41e3f4[_0x563380[_0x244b84(0x1e2)]]=this[_0x244b84(0x1aa)](this['driver']));_0x2949b0[_0x244b84(0x1a3)]&&_0x2949b0[_0x244b84(0x1c7)]&&_0x591414[_0x244b84(0x1f6)]&&(_0x41e3f4[_0x563380[_0x244b84(0x230)]]={'feature':{'name':_0x591414[_0x244b84(0x1b2)][_0x244b84(0x248)]['name'],'path':_0x41e3f4[_0x244b84(0x27b)],'description':_0x591414[_0x244b84(0x1b2)][_0x244b84(0x271)]},'scenario':{'name':_0x591414['title']},'steps':_0x591414['bddSteps']});const _0x31a521=_0x41e3f4[_0x563380['IXCND']][0x0];_0x31a521&&(_0x41e3f4[_0x563380[_0x244b84(0x1b8)]]=_0x31a521[_0x563380[_0x244b84(0x208)]],_0x41e3f4[_0x563380['zItHY']]=_0x31a521[_0x563380[_0x244b84(0x261)]]);if(_0x591414[_0x244b84(0x1f6)])for(const _0x130865 of _0x591414[_0x244b84(0x1f6)]){!_0x130865[_0x244b84(0x267)]&&(_0x130865['finished_at']=new Date()['toISOString'](),_0x563380[_0x244b84(0x249)](_0x130865['result'],_0x563380[_0x244b84(0x228)])&&(_0x31a521?(_0x130865[_0x244b84(0x1f1)]=_0x563380[_0x244b84(0x222)],_0x130865[_0x244b84(0x253)]=_0x31a521[_0x563380[_0x244b84(0x208)]][0x0]):_0x130865['result']=_0x563380['sfcMc']));}const _0x526f99={};_0x526f99[_0x244b84(0x195)]=_0x2949b0[_0x244b84(0x22d)]?TEST_EVENTS[_0x244b84(0x1d1)]:_0x53db18;const _0x4c4f66=_0x526f99;return _0x2949b0[_0x244b84(0x225)]?_0x4c4f66[_0x563380[_0x244b84(0x270)]]=_0x41e3f4:_0x4c4f66[_0x563380['LKrmI']]=_0x41e3f4,_0x4c4f66;}catch(_0x185421){logger[_0x244b84(0x283)](_0x244b84(0x240)+_0x53db18+_0x244b84(0x1c4)+_0x185421);}}async[a4_0x195e7e(0x20e)](_0x2a416f,_0x6d9525){const _0x1433df=a4_0x195e7e;if(!this[_0x1433df(0x27f)]||!_0x6d9525||!_0x2a416f)return![];try{return await SessionHandler[_0x1433df(0x1bb)](_0x6d9525);}catch(_0x4e7982){logger[_0x1433df(0x283)](_0x1433df(0x21a)+_0x2a416f+_0x1433df(0x1c4)+_0x4e7982);}}[a4_0x195e7e(0x25a)](_0x1e9a0f){const _0x10d52b=a4_0x195e7e,_0x2e6f44={};_0x2e6f44[_0x10d52b(0x27a)]='pending';const _0x3fd588=_0x2e6f44;return{'id':_0x1e9a0f[_0x10d52b(0x1bc)],'text':_0x1e9a0f[_0x10d52b(0x22e)],'keyword':_0x1e9a0f[_0x10d52b(0x1ab)],'started_at':_0x1e9a0f[_0x10d52b(0x20d)][_0x10d52b(0x1b7)](),'result':_0x3fd588[_0x10d52b(0x27a)]};}[a4_0x195e7e(0x19e)](_0x52fe64){const _0x5d24aa=a4_0x195e7e,_0xa7b9e0={'ezUTj':function(_0x59a4bf){return _0x59a4bf();}};!this['currentTest'][_0x5d24aa(0x1f6)]&&(this[_0x5d24aa(0x284)]['bddSteps']=[]),!_0x52fe64['stepAnalyticsId']&&(_0x52fe64[_0x5d24aa(0x1bc)]=_0xa7b9e0[_0x5d24aa(0x1c0)](uuidv4),_0x52fe64[_0x5d24aa(0x20d)]=new Date(),this[_0x5d24aa(0x284)][_0x5d24aa(0x1f6)][_0x5d24aa(0x1ef)](this[_0x5d24aa(0x25a)](_0x52fe64)));}[a4_0x195e7e(0x20f)](_0x551c9d){const _0x14242d=a4_0x195e7e,_0x45b9e1={'dytqp':function(_0x15b60e,_0x5103d4){return _0x15b60e(_0x5103d4);},'hlNvE':'success','STsro':_0x14242d(0x1d6),'xpyEu':'passed','UyRTQ':function(_0x5f4297,_0x4d8136){return _0x5f4297-_0x4d8136;}};let _0x356ae3=this[_0x14242d(0x284)][_0x14242d(0x1f6)][_0x14242d(0x239)](_0x1fd39b=>_0x1fd39b['id']===_0x551c9d[_0x14242d(0x1bc)]);_0x45b9e1['dytqp'](isUndefined,_0x356ae3)&&(_0x356ae3=this[_0x14242d(0x25a)](_0x551c9d)),_0x356ae3[_0x14242d(0x1f1)]=[_0x45b9e1[_0x14242d(0x26f)],_0x45b9e1[_0x14242d(0x1dc)]]['includes'](_0x551c9d['status'])?_0x45b9e1['xpyEu']:_0x551c9d[_0x14242d(0x1d3)],_0x356ae3[_0x14242d(0x267)]=new Date()[_0x14242d(0x1b7)](),_0x356ae3['duration']=_0x45b9e1['UyRTQ'](Date[_0x14242d(0x252)](),_0x551c9d[_0x14242d(0x20d)][_0x14242d(0x1e0)]()),_0x356ae3['failure']=_0x551c9d[_0x14242d(0x1a4)]?_0x551c9d[_0x14242d(0x1a4)][_0x14242d(0x23b)]:null;}}const a4_0x5760cc={};a4_0x5760cc[a4_0x195e7e(0x1df)]=O11yHelper,a4_0x5760cc['STATE_PASSED']=STATE_PASSED,a4_0x5760cc[a4_0x195e7e(0x257)]=STATE_FAILED,a4_0x5760cc[a4_0x195e7e(0x238)]=TEST_EVENTS,module[a4_0x195e7e(0x264)]=a4_0x5760cc;
|
|
1
|
+
const a4_0x3e3c0e=a4_0x3788;(function(_0x5ee4a7,_0x82f9e1){const _0x29b1a5=a4_0x3788,_0x369030=_0x5ee4a7();while(!![]){try{const _0x536795=parseInt(_0x29b1a5(0x1b1))/0x1*(parseInt(_0x29b1a5(0xfd))/0x2)+-parseInt(_0x29b1a5(0x1ab))/0x3+-parseInt(_0x29b1a5(0x1d6))/0x4*(-parseInt(_0x29b1a5(0x134))/0x5)+parseInt(_0x29b1a5(0x14d))/0x6+-parseInt(_0x29b1a5(0x1ee))/0x7*(-parseInt(_0x29b1a5(0x139))/0x8)+-parseInt(_0x29b1a5(0x16a))/0x9*(parseInt(_0x29b1a5(0x17f))/0xa)+-parseInt(_0x29b1a5(0xf8))/0xb;if(_0x536795===_0x82f9e1)break;else _0x369030['push'](_0x369030['shift']());}catch(_0x2a6b8d){_0x369030['push'](_0x369030['shift']());}}}(a4_0x2bb5,0x3e0d0));function a4_0x3788(_0x551101,_0x2ea07d){const _0x2bb5a6=a4_0x2bb5();return a4_0x3788=function(_0x378876,_0x535c2b){_0x378876=_0x378876-0xf7;let _0x3254c0=_0x2bb5a6[_0x378876];return _0x3254c0;},a4_0x3788(_0x551101,_0x2ea07d);}const path=require(a4_0x3e3c0e(0x18e)),fs=require('fs'),{v4:uuidv4}=require(a4_0x3e3c0e(0x1b6)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x3e3c0e(0x186)),testOpsHelper=require('../../helpers/test-observability/utils'),{getTestEnv}=require(a4_0x3e3c0e(0x15e)),{FRAMEWORKS}=require(a4_0x3e3c0e(0x17b)),logger=require(a4_0x3e3c0e(0x1eb))[a4_0x3e3c0e(0x19f)],SessionHandler=require(a4_0x3e3c0e(0xfb)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),PlaywrightSessionDetails=require(a4_0x3e3c0e(0x1c0)),debug=testOpsHelper[a4_0x3e3c0e(0x1d4)],{processAccessibilityCaps}=require(a4_0x3e3c0e(0x11e)),Constants=require(a4_0x3e3c0e(0x1ed)),{fetchPlatformDetails}=require(a4_0x3e3c0e(0x1dc)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x3e3c0e(0x167)),STATE_PASSED='passed',STATE_FAILED=a4_0x3e3c0e(0x1ba),a4_0xa708b3={};a4_0xa708b3[a4_0x3e3c0e(0x116)]=a4_0x3e3c0e(0x11d),a4_0xa708b3[a4_0x3e3c0e(0x13d)]=a4_0x3e3c0e(0x1e7),a4_0xa708b3['TEST_RUN_SKIPPED']=a4_0x3e3c0e(0x1c7),a4_0xa708b3[a4_0x3e3c0e(0x163)]=a4_0x3e3c0e(0x1b8),a4_0xa708b3['HOOK_RUN_FINISHED']='HookRunFinished';const TEST_EVENTS=a4_0xa708b3,parseEvent=_0x267468=>{const _0xbaeda3=a4_0x3e3c0e,_0x5c7bf7={};_0x5c7bf7[_0xbaeda3(0x1d3)]=function(_0x342eb4,_0x3f4e53){return _0x342eb4<_0x3f4e53;},_0x5c7bf7['giVIE']=function(_0x2a3138,_0x352e82){return _0x2a3138===_0x352e82;},_0x5c7bf7[_0xbaeda3(0x13e)]=_0xbaeda3(0x1a2),_0x5c7bf7[_0xbaeda3(0x113)]='hook',_0x5c7bf7[_0xbaeda3(0x10a)]='skipped',_0x5c7bf7[_0xbaeda3(0x1dd)]='started',_0x5c7bf7[_0xbaeda3(0x117)]=_0xbaeda3(0x181);const _0x3f82c7=_0x5c7bf7,_0x5e0eeb=_0x267468['match'](/^(.*)Run(.*)$/);if(!_0x5e0eeb)return null;if(_0x3f82c7['aHUBT'](_0x5e0eeb['length'],0x3))return null;const _0x5325b1=_0x5e0eeb[0x1][_0xbaeda3(0x1aa)](),_0x50e6f6=_0x5e0eeb[0x2][_0xbaeda3(0x1aa)]();return{'test':_0x3f82c7[_0xbaeda3(0x184)](_0x5325b1,_0x3f82c7[_0xbaeda3(0x13e)]),'hook':_0x3f82c7[_0xbaeda3(0x184)](_0x5325b1,_0x3f82c7[_0xbaeda3(0x113)]),'skipped':_0x3f82c7[_0xbaeda3(0x184)](_0x50e6f6,_0x3f82c7[_0xbaeda3(0x10a)]),'started':_0x3f82c7[_0xbaeda3(0x184)](_0x50e6f6,_0x3f82c7['YilBH']),'finished':_0x3f82c7['giVIE'](_0x50e6f6,_0x3f82c7[_0xbaeda3(0x117)])};},mockPWBrowserType=_0x187a29=>{const _0x17ee0f=a4_0x3e3c0e,_0x1900cd={'eRlIo':function(_0x4976df,_0xa7233c){return _0x4976df===_0xa7233c;},'vVAkj':'string','lcGSB':function(_0x4c49bd,_0x17578d,_0x4728a6){return _0x4c49bd(_0x17578d,_0x4728a6);},'DSMSQ':_0x17ee0f(0x132),'xYXjV':function(_0x4b7118,_0x596a6d){return _0x4b7118(_0x596a6d);},'aMwin':_0x17ee0f(0x10f),'ZdpsH':function(_0x275245,_0x24aa59,_0x49c35f){return _0x275245(_0x24aa59,_0x49c35f);},'NORDP':_0x17ee0f(0x100),'iWgKU':_0x17ee0f(0x161),'WYQdW':_0x17ee0f(0x1b3),'MpZbj':function(_0xee985,_0x3ca281){return _0xee985(_0x3ca281);},'ddNJs':_0x17ee0f(0x13b),'mLflX':'connect','KMihz':'launch'},_0x496adf=path[_0x17ee0f(0x16e)](_0x1900cd[_0x17ee0f(0xfc)],_0x1900cd[_0x17ee0f(0x1e1)],_0x1900cd[_0x17ee0f(0x1a8)]),_0x16b2a6=_0x1900cd[_0x17ee0f(0x10b)](importFileFromPWCore,_0x496adf);if(!_0x16b2a6){_0x1900cd[_0x17ee0f(0x12f)](debug,_0x1900cd[_0x17ee0f(0x1a3)]);return;}const _0x13b478=_0x16b2a6['BrowserType'],_0xed442c=_0x13b478[_0x17ee0f(0x1be)];if(_0xed442c[_0x17ee0f(0x122)])return;const _0x4513a3=_0xed442c[_0x17ee0f(0x1b7)];Object[_0x17ee0f(0x175)](_0xed442c,_0x1900cd[_0x17ee0f(0x12b)],{'get':function(){const _0x268e34=_0x17ee0f,_0xd84d7e={'olTOD':function(_0x3d5e7d,_0x3317bf){const _0x562f1a=a4_0x3788;return _0x1900cd[_0x562f1a(0x1ca)](_0x3d5e7d,_0x3317bf);},'iaelJ':_0x1900cd['vVAkj'],'AlHbm':function(_0x24378d,_0x500b55,_0x137249){const _0x3fbedb=a4_0x3788;return _0x1900cd[_0x3fbedb(0x142)](_0x24378d,_0x500b55,_0x137249);},'wllku':_0x1900cd[_0x268e34(0x1df)],'UKMCi':function(_0x32a667,_0x202f31){const _0x598138=_0x268e34;return _0x1900cd[_0x598138(0x10b)](_0x32a667,_0x202f31);},'EmnmY':_0x1900cd[_0x268e34(0x172)],'McBLz':function(_0x6c209e,_0x4fb966,_0x45610e){const _0x321764=_0x268e34;return _0x1900cd[_0x321764(0x11c)](_0x6c209e,_0x4fb966,_0x45610e);}};return async function _0x4ac4e4(_0x1c0de6,_0x58f421){const _0x176636=_0x268e34,_0x2f729d={'PPxSD':function(_0x11a505,_0x5be1ff){const _0x39c237=a4_0x3788;return _0xd84d7e[_0x39c237(0x1c8)](_0x11a505,_0x5be1ff);},'fOzax':_0xd84d7e[_0x176636(0x1b5)]},_0x26542a=_0xd84d7e[_0x176636(0x1d5)](nestedKeyValue,_0x1c0de6,[_0xd84d7e['wllku']])||_0x1c0de6;let _0x429873=null,_0x4ae177=null;try{[_0x4ae177,_0x429873]=_0x26542a?_0xd84d7e[_0x176636(0x169)](parseWSEndpoint,_0x26542a):[null,null],global[_0x176636(0x1a5)]=_0x429873,_0x4ae177[_0x176636(0x17d)](_0xd84d7e[_0x176636(0xfe)])&&(global[_0x176636(0x108)]=_0xd84d7e['EmnmY']);}catch(_0x579b7d){logger[_0x176636(0x1d4)](_0x176636(0x1ac)+_0x26542a+'\x20'+_0x579b7d);}_0xd84d7e[_0x176636(0x160)](processAccessibilityCaps,_0x429873,_0x4ae177);if(global[_0x176636(0x190)]){const _0x1dfe8e=await _0xed442c[_0x176636(0x189)][_0x176636(0x16d)](this,[''+Constants[_0x176636(0x185)]+_0xd84d7e[_0x176636(0x169)](encodeURIComponent,JSON[_0x176636(0x19d)](_0x429873))]);return PlaywrightSessionDetails['setupBrowserDetails'](_0x1dfe8e,_0x187a29,_0x26542a),_0x1dfe8e;}return _0x4513a3[_0x176636(0x16d)](this,arguments)[_0x176636(0x11b)](_0x1f9a63=>{const _0x5762dd=_0x176636;let _0x32c018=_0x1c0de6[_0x5762dd(0x132)];return _0x2f729d[_0x5762dd(0x1ae)](typeof _0x1c0de6,_0x2f729d[_0x5762dd(0x147)])&&(_0x32c018=_0x1c0de6),PlaywrightSessionDetails[_0x5762dd(0x1a0)](_0x1f9a63,_0x187a29,_0x32c018),_0x1f9a63;});};}});const _0x581b7b=_0xed442c[_0x17ee0f(0x15b)];Object['defineProperty'](_0xed442c,_0x1900cd['KMihz'],{'get':function(){return async function _0x11b5ac(){const _0x500148=a4_0x3788;return _0x581b7b[_0x500148(0x16d)](this,arguments)[_0x500148(0x11b)](_0x3c84a3=>{const _0x3afb50=_0x500148;return PlaywrightSessionDetails[_0x3afb50(0x1a0)](_0x3c84a3,null),_0x3c84a3;});};}});};class O11yHelper{[a4_0x3e3c0e(0x14a)]=null;[a4_0x3e3c0e(0x154)]=null;[a4_0x3e3c0e(0x149)]=![];[a4_0x3e3c0e(0x130)]=![];constructor(_0x2aeec7,_0x248643){const _0x47729d=a4_0x3e3c0e,_0x2d08d6={'NQTXz':_0x47729d(0x1e3),'vWRhm':function(_0x201476){return _0x201476();},'XRukg':function(_0x1b1075){return _0x1b1075();},'WkvHE':function(_0x41bc4e,_0x5b8e32){return _0x41bc4e===_0x5b8e32;},'TMOOR':'Playwright','KOPKw':function(_0x155171,_0x11f186){return _0x155171(_0x11f186);}},_0x6955bd=_0x2d08d6[_0x47729d(0x187)][_0x47729d(0x10d)]('|');let _0x514385=0x0;while(!![]){switch(_0x6955bd[_0x514385++]){case'0':this['driver']=_0x2aeec7;continue;case'1':this['enabled']=_0x2d08d6[_0x47729d(0x17c)](shouldProcessEventForTesthub);continue;case'2':this['_paths']=new testOpsHelper['PathHelper']({'cwd':process[_0x47729d(0x16c)]()},this['_testEnv'][_0x47729d(0x13a)]);continue;case'3':this[_0x47729d(0x130)]=_0x248643[_0x47729d(0x130)];continue;case'4':this[_0x47729d(0x157)]=_0x2d08d6[_0x47729d(0x106)](getTestEnv);continue;case'5':this[_0x47729d(0x101)]&&_0x2d08d6['WkvHE'](this[_0x47729d(0x101)][_0x47729d(0x138)][_0x47729d(0x179)],_0x2d08d6['TMOOR'])&&_0x2d08d6['KOPKw'](mockPWBrowserType,null);continue;}break;}}[a4_0x3e3c0e(0x119)](){const _0x403c2d=a4_0x3e3c0e;if(!this[_0x403c2d(0x149)])return;testOpsHelper['patchConsoleLogger'](),process[_0x403c2d(0x198)](_0x403c2d(0x1cf)+process[_0x403c2d(0x1c5)]),process['on'](_0x403c2d(0x1cf)+process['pid'],this[_0x403c2d(0x168)]['bind'](this));}async[a4_0x3e3c0e(0x159)](){const _0x315cf0=a4_0x3e3c0e;await RequestQueueHandler[_0x315cf0(0x17a)]()['shutdown']();}async[a4_0x3e3c0e(0x168)](_0x22e5eb){const _0x176b92=a4_0x3e3c0e,_0x32bba1={'lNomi':'LogCreated','stgWF':function(_0x4d5c93,_0x3de285){return _0x4d5c93(_0x3de285);}};try{this[_0x176b92(0x154)]&&!this[_0x176b92(0x154)][_0x176b92(0x110)]&&(_0x22e5eb['hook_run_uuid']=this[_0x176b92(0x154)]['hookAnalyticsId']);!_0x22e5eb[_0x176b92(0x1cd)]&&this[_0x176b92(0x14a)]&&!this[_0x176b92(0x14a)]['markedStatus']&&(_0x22e5eb[_0x176b92(0x10c)]=this['currentTest']['testAnalyticsId']);if(_0x22e5eb['hook_run_uuid']||_0x22e5eb[_0x176b92(0x10c)]){const _0x52699c={};_0x52699c[_0x176b92(0x18b)]=_0x32bba1['lNomi'],_0x52699c[_0x176b92(0x150)]=[_0x22e5eb],await SessionHandler[_0x176b92(0x104)](_0x52699c);}}catch(_0x55503d){_0x32bba1[_0x176b92(0x115)](debug,_0x176b92(0x15a)+_0x55503d);}}async['sendCBTInfo'](_0x5e54e6){const _0xea1687=a4_0x3e3c0e,_0x553d88={'ZVNTB':'CBTSessionCreated','eOoyI':function(_0x14af13,_0x4ea34d){return _0x14af13(_0x4ea34d);}};if(!this[_0xea1687(0x149)])return;const _0x325082=this[_0xea1687(0x18c)](this[_0xea1687(0x101)]);try{const _0x255753={};_0x255753['uuid']=_0x5e54e6,_0x255753[_0xea1687(0x12d)]=_0x325082;const _0x2bf707=_0x255753,_0x4477f2={};_0x4477f2[_0xea1687(0x18b)]=_0x553d88['ZVNTB'],_0x4477f2[_0xea1687(0x1b2)]=_0x2bf707,await SessionHandler['uploadEventData'](_0x4477f2);}catch(_0x1ca9d1){_0x553d88['eOoyI'](debug,_0xea1687(0x19b)+_0x1ca9d1);}}[a4_0x3e3c0e(0x18c)](_0x41fbab){const _0x1cbc8a=a4_0x3e3c0e,_0x3973be={'ILZxA':function(_0x272a7c,_0x34d58d){return _0x272a7c(_0x34d58d);}};return _0x3973be[_0x1cbc8a(0x123)](fetchPlatformDetails,_0x41fbab);}[a4_0x3e3c0e(0x197)]=_0x1d0f9d=>{const _0x57249d=a4_0x3e3c0e,_0x5c8275={};_0x5c8275[_0x57249d(0x1a6)]=_0x57249d(0x17e),_0x5c8275[_0x57249d(0x131)]=_0x57249d(0x18a);const _0x1a222b=_0x5c8275;if(!_0x1d0f9d||!_0x1d0f9d['parent'])return;[_0x1a222b['cRRki'],_0x1a222b[_0x57249d(0x131)]][_0x57249d(0x1bc)](_0x2e7a52=>{const _0x5e093f=_0x57249d,_0x330a62=_0x1d0f9d[_0x5e093f(0x1ad)][_0x2e7a52];_0x330a62[_0x5e093f(0x1bc)](_0x244f24=>{_0x244f24['hookAnalyticsId']&&(_0x244f24['hookAnalyticsId']=null);});});};['mapTestHooks'](_0x3f7077){const _0x4da22f=a4_0x3e3c0e,_0x1596c0={'EUJev':_0x4da22f(0x188),'NrrZO':function(_0x5a1a80){return _0x5a1a80();},'SewlO':function(_0x5a136a,_0x412f31){return _0x5a136a===_0x412f31;},'NHCcX':_0x4da22f(0x18a),'eghwA':function(_0x47fb84){return _0x47fb84();},'dXADQ':_0x4da22f(0x1b0),'YcfFo':_0x4da22f(0xfa),'cMJfu':'_beforeEach'};if(!_0x3f7077||!_0x3f7077[_0x4da22f(0x1ad)])return;[_0x1596c0[_0x4da22f(0x118)],_0x1596c0[_0x4da22f(0x199)],_0x1596c0[_0x4da22f(0x137)],_0x1596c0[_0x4da22f(0x102)]][_0x4da22f(0x1bc)](_0x302f68=>{const _0x1f2cf8=_0x4da22f,_0x102035=_0x3f7077['parent'][_0x302f68]||[];_0x102035[_0x1f2cf8(0x1bc)](_0x1e4e1e=>{const _0x53f5c2=_0x1f2cf8;if(_0x1e4e1e[_0x53f5c2(0x176)]['includes'](_0x1596c0[_0x53f5c2(0x182)]))return;if(!_0x1e4e1e[_0x53f5c2(0x1e9)])_0x1e4e1e[_0x53f5c2(0x1e9)]=_0x1596c0[_0x53f5c2(0x196)](uuidv4);else _0x1e4e1e[_0x53f5c2(0x110)]&&_0x1596c0['SewlO'](_0x302f68,_0x1596c0['NHCcX'])&&(_0x1e4e1e[_0x53f5c2(0x1e9)]=_0x1596c0[_0x53f5c2(0x14b)](uuidv4),delete _0x1e4e1e[_0x53f5c2(0x110)]);});}),this['mapTestHooks'](_0x3f7077[_0x4da22f(0x1ad)]);}[a4_0x3e3c0e(0x1c6)](_0x513038){const _0x1568aa=a4_0x3e3c0e,_0x5b7bf9={};_0x5b7bf9[_0x1568aa(0x11a)]='_beforeAll',_0x5b7bf9[_0x1568aa(0x144)]=_0x1568aa(0xfa),_0x5b7bf9[_0x1568aa(0x170)]=_0x1568aa(0x17e),_0x5b7bf9['CVbwI']=_0x1568aa(0x18a);const _0x1393e9=_0x5b7bf9;if(!_0x513038||!_0x513038[_0x1568aa(0x1ad)])return[];const _0x45b379=[];return[_0x1393e9['FPXZh'],_0x1393e9[_0x1568aa(0x144)],_0x1393e9[_0x1568aa(0x170)],_0x1393e9[_0x1568aa(0x1ef)]][_0x1568aa(0x1bc)](_0x1795eb=>{const _0x2e6ff5=_0x1568aa,_0x6447f=_0x513038[_0x2e6ff5(0x1ad)][_0x1795eb]||[];_0x6447f[_0x2e6ff5(0x1bc)](_0x2d064a=>{const _0x4c9173=_0x2e6ff5;_0x2d064a[_0x4c9173(0x1e9)]&&_0x45b379[_0x4c9173(0x1a9)](_0x2d064a[_0x4c9173(0x1e9)]);});}),[][_0x1568aa(0x1c3)](_0x45b379,this[_0x1568aa(0x1c6)](_0x513038[_0x1568aa(0x1ad)]));}[a4_0x3e3c0e(0x16b)](_0x4afe5c){const _0x4502a5=a4_0x3e3c0e,_0x58d9c0=/^"(?<hook>.*)" hook:.*$/,_0x4a77df=_0x4afe5c['title'],_0x4cc7ca=_0x4a77df[_0x4502a5(0x18d)](_0x58d9c0);if(_0x4cc7ca&&_0x4cc7ca['groups'])return _0x4cc7ca['groups'][_0x4502a5(0x146)][_0x4502a5(0x133)]()[_0x4502a5(0x140)]('\x20','_');return null;}[a4_0x3e3c0e(0x124)](_0x44ca73){const _0x28afce=a4_0x3e3c0e,_0xd0f5dd={};_0xd0f5dd[_0x28afce(0x125)]=function(_0x1673c1,_0x5246d8){return _0x1673c1===_0x5246d8;},_0xd0f5dd[_0x28afce(0x12e)]=function(_0x9c357,_0x4f12a4){return _0x9c357===_0x4f12a4;},_0xd0f5dd[_0x28afce(0x1e6)]='.git',_0xd0f5dd[_0x28afce(0x153)]=_0x28afce(0x13f);const _0x49a103=_0xd0f5dd,_0x4cec8a=path[_0x28afce(0x1b4)];if(_0x49a103['CkNHk'](_0x44ca73,null)||_0x49a103[_0x28afce(0x12e)](_0x44ca73,'')||_0x49a103[_0x28afce(0x125)](_0x44ca73,_0x4cec8a)||_0x49a103[_0x28afce(0x12e)](_0x44ca73,path[_0x28afce(0x1d1)](_0x44ca73)))return null;try{return fs[_0x28afce(0x19c)](path[_0x28afce(0x16e)](_0x44ca73,_0x49a103['HpXyn'],_0x49a103[_0x28afce(0x153)])),_0x44ca73;}catch(_0x26300e){const _0x360234=path[_0x28afce(0x1d1)](_0x44ca73);return this['findGitConfig'](_0x360234);}}[a4_0x3e3c0e(0x1ce)](_0x1e537d){const _0x25175f=a4_0x3e3c0e,_0x4ec545={};_0x4ec545[_0x25175f(0x1cc)]=function(_0x26c113,_0x4624a7){return _0x26c113>_0x4624a7;};const _0x1de491=_0x4ec545;if(_0x1e537d['file'])return _0x1e537d[_0x25175f(0x10e)];if(_0x1e537d[_0x25175f(0x15d)]){const _0x3b90d1=_0x1e537d[_0x25175f(0x15d)][_0x25175f(0x14a)]?this[_0x25175f(0x1ce)](_0x1e537d[_0x25175f(0x15d)][_0x25175f(0x14a)]):null;if(_0x3b90d1)return _0x3b90d1;}if(_0x1e537d[_0x25175f(0x1ad)]){const _0x2cef16=this['getRootParentFile'](_0x1e537d[_0x25175f(0x1ad)])||(_0x1e537d[_0x25175f(0x1ad)][_0x25175f(0x15d)]&&_0x1e537d[_0x25175f(0x1ad)][_0x25175f(0x15d)][_0x25175f(0x14a)]?this[_0x25175f(0x1ce)](_0x1e537d[_0x25175f(0x1ad)][_0x25175f(0x15d)][_0x25175f(0x14a)]):null);if(_0x2cef16)return _0x2cef16;_0x1e537d['parent'][_0x25175f(0x19a)]&&_0x1de491[_0x25175f(0x1cc)](_0x1e537d[_0x25175f(0x1ad)]['suites']['length'],0x0)&&_0x1e537d[_0x25175f(0x1ad)][_0x25175f(0x19a)][_0x25175f(0x1bc)](_0x4559e4=>{const _0x449d1b=_0x25175f,_0x58b49d=_0x4559e4['ctx']?this[_0x449d1b(0x1ce)](_0x4559e4['ctx']):null;if(_0x58b49d)return _0x58b49d;});}return null;}[a4_0x3e3c0e(0x151)](_0x5e5575){const _0x558194=a4_0x3e3c0e,_0x1330a9={};_0x1330a9[_0x558194(0x1d0)]=function(_0x1cffaa,_0x2c8810){return _0x1cffaa!==_0x2c8810;};const _0x3a9429=_0x1330a9,_0x1a167d=[];if(_0x5e5575&&_0x5e5575[_0x558194(0x1ad)]){let _0x394bb8=_0x5e5575['parent'];while(_0x394bb8&&_0x3a9429[_0x558194(0x1d0)](_0x394bb8[_0x558194(0x176)],'')){_0x1a167d['push'](_0x394bb8[_0x558194(0x176)]),_0x394bb8=_0x394bb8[_0x558194(0x1ad)];}}return _0x1a167d;}[a4_0x3e3c0e(0x1db)](_0x37966d,_0x398afd,_0x516387=undefined){const _0x464db7=a4_0x3e3c0e,_0x378329={'pGTws':function(_0xf4bbb5,_0x3aacbd){return _0xf4bbb5(_0x3aacbd);},'AQGeh':function(_0x2c59e2){return _0x2c59e2();},'GtniN':function(_0xca974d){return _0xca974d();},'Jvkbk':function(_0x22d0c4){return _0x22d0c4();},'YTcGe':function(_0x17f844,_0x511732){return _0x17f844(_0x511732);},'Rrgpa':_0x464db7(0x107),'wcinT':_0x464db7(0x121),'hFYWz':function(_0x4ebd44,_0x3d23a5){return _0x4ebd44!==_0x3d23a5;},'WdSIL':'File\x20path\x20could\x20not\x20be\x20found','FbTRq':_0x464db7(0x114),'vjvxk':'failed','OlbUY':'passed','ktMPP':_0x464db7(0x1a4),'TgSUV':_0x464db7(0x1a1),'LvnMN':function(_0xbef4c6,_0x516ffc){return _0xbef4c6-_0x516ffc;},'sYyBH':function(_0x85ae01,_0x1cfa14,_0x4ab506,_0x58c277,_0x367129){return _0x85ae01(_0x1cfa14,_0x4ab506,_0x58c277,_0x367129);},'bXLdZ':_0x464db7(0x12d),'RfASU':_0x464db7(0x158),'GcWBF':'failure','BoAAX':_0x464db7(0x126),'AEcRz':_0x464db7(0x166),'TzjeI':_0x464db7(0x141),'lbOMr':_0x464db7(0x15c),'vVGYd':function(_0x17acc0,_0x292a64){return _0x17acc0===_0x292a64;},'HdXOt':'hook_run','UZwqK':_0x464db7(0x1b2)};if(!this[_0x464db7(0x149)])return;try{if(_0x398afd['fn']&&_0x398afd['fn'][_0x464db7(0x180)]()[_0x464db7(0x18d)](/browserstack internal helper hook/))return;const _0x14bb2e=_0x378329[_0x464db7(0x1c9)](parseEvent,_0x37966d);if(!_0x14bb2e)return;if(_0x14bb2e[_0x464db7(0x1a2)]){this['currentTest']=_0x398afd,this['currentHook']=null;if(_0x14bb2e['started']||_0x14bb2e['skipped']){_0x398afd[_0x464db7(0x1a7)]=new Date(),_0x398afd[_0x464db7(0x110)]=![];if(!_0x398afd[_0x464db7(0x1c2)])_0x398afd[_0x464db7(0x1c2)]=_0x378329['AQGeh'](uuidv4);else _0x398afd[_0x464db7(0x110)]&&(!_0x398afd['retryOf']&&(_0x398afd[_0x464db7(0x1d9)]=_0x398afd[_0x464db7(0x1c2)]),_0x398afd[_0x464db7(0x1c2)]=_0x378329[_0x464db7(0xff)](uuidv4));}}else{if(_0x14bb2e['hook']){this['currentHook']=_0x398afd;if(_0x14bb2e[_0x464db7(0x164)]){_0x398afd[_0x464db7(0x1a7)]=new Date(),_0x398afd['markedStatus']=![];if(!_0x398afd[_0x464db7(0x1e9)])_0x398afd[_0x464db7(0x1e9)]=_0x378329[_0x464db7(0x16f)](uuidv4);else _0x398afd['hookAnalyticsId']&&_0x398afd['markedStatus']&&(_0x398afd[_0x464db7(0x1e9)]=_0x378329[_0x464db7(0x1af)](uuidv4));}}}if(_0x14bb2e[_0x464db7(0x181)]&&_0x398afd['markedStatus'])return;let _0x34863a;try{_0x34863a=this[_0x464db7(0x1ce)](_0x398afd);}catch(_0x138434){logger[_0x464db7(0x1d4)]('failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x138434),_0x34863a=null;}const _0x30e90b=_0x378329['YTcGe'](require,_0x378329[_0x464db7(0x1bd)]);let _0xedc810=[];_0x516387&&(_0xedc810=[_0x516387,_0x378329['wcinT']]);const _0x44f42a=_0x378329[_0x464db7(0x14f)](_0x398afd[_0x464db7(0x1e2)],undefined)?_0x30e90b['inspect'](_0x398afd[_0x464db7(0x1e2)][0x0]):_0x378329[_0x464db7(0x14f)](_0x516387,undefined)?_0x516387[_0x464db7(0x180)]():undefined,_0x259b63=_0x34863a?this[_0x464db7(0x124)](_0x34863a):null,_0x231b7d=_0x34863a?this[_0x464db7(0x14c)][_0x464db7(0x1d7)](this[_0x464db7(0x1ce)](_0x398afd)):_0x378329[_0x464db7(0x173)];let _0x113ada=_0x378329[_0x464db7(0x1ec)];const _0x587104=!_0x14bb2e[_0x464db7(0x164)]?new Date()[_0x464db7(0x1c4)]():null;if(_0x14bb2e[_0x464db7(0x181)])_0x113ada=_0x516387?_0x378329[_0x464db7(0x162)]:_0x378329['OlbUY'],_0x398afd[_0x464db7(0x110)]=!![];else _0x14bb2e[_0x464db7(0x1a4)]&&(_0x113ada=_0x378329[_0x464db7(0x1b9)],_0x398afd[_0x464db7(0x110)]=!![]);const _0x2694ed={'framework':this[_0x464db7(0x130)],'uuid':_0x398afd['testAnalyticsId']||_0x398afd[_0x464db7(0x1e9)],'name':_0x398afd[_0x464db7(0x176)],'body':{'lang':_0x378329[_0x464db7(0x11f)],'code':_0x398afd[_0x464db7(0x148)][_0x464db7(0x180)]()},'type':_0x398afd[_0x464db7(0x156)],'scope':_0x398afd[_0x464db7(0x192)](),'scopes':this[_0x464db7(0x151)](_0x398afd),'file_name':_0x231b7d,'vc_filepath':_0x259b63?path[_0x464db7(0x14e)](_0x259b63,_0x34863a):null,'location':_0x231b7d,'result':_0x113ada,'failure_reason':_0x44f42a,'duration_in_ms':_0x398afd['duration']||(_0x14bb2e[_0x464db7(0x181)]||_0x14bb2e[_0x464db7(0x1a4)])?_0x378329[_0x464db7(0x1cb)](Date[_0x464db7(0x145)](),new Date(_0x398afd[_0x464db7(0x1a7)])[_0x464db7(0x120)]()):null,'started_at':new Date(_0x398afd[_0x464db7(0x1a7)])[_0x464db7(0x1c4)](),'finished_at':_0x587104,'failure':testOpsHelper[_0x464db7(0x183)]['apply'](null,_0xedc810),'failure_type':!_0x44f42a?null:testOpsHelper['getFailureType'](_0x44f42a),'retry_of':_0x398afd[_0x464db7(0x1d9)]||null,'tags':_0x398afd[_0x464db7(0x109)]||[],'customRerunParam':{'rerun_name':_0x398afd[_0x464db7(0x192)]()}};_0x378329[_0x464db7(0x174)](appendTesthubParams,_0x2694ed,_0x37966d,_0x398afd,FRAMEWORKS[_0x464db7(0x195)]);if(_0x14bb2e[_0x464db7(0x146)])[_0x2694ed[_0x464db7(0x1c1)],_0x2694ed[_0x464db7(0x179)]]=[this[_0x464db7(0x16b)](_0x398afd),_0x398afd[_0x464db7(0x15d)]['test'][_0x464db7(0x176)]],_0x14bb2e[_0x464db7(0x181)]?_0x378329['hFYWz'](_0x2694ed['result'],_0x378329['vjvxk'])&&(_0x2694ed[_0x464db7(0x193)]=_0x378329['OlbUY']):_0x2694ed[_0x464db7(0x148)]={};else _0x14bb2e['test']&&(this[_0x464db7(0x191)](_0x398afd),_0x14bb2e['skipped']&&this[_0x464db7(0x197)](_0x398afd),(_0x14bb2e['finished']||_0x14bb2e[_0x464db7(0x1a4)])&&(_0x2694ed[_0x464db7(0x1ea)]=this[_0x464db7(0x1c6)](_0x398afd)));this[_0x464db7(0x101)]&&(_0x14bb2e[_0x464db7(0x164)]||_0x14bb2e[_0x464db7(0x1a4)])&&(_0x2694ed[_0x378329[_0x464db7(0x13c)]]=this[_0x464db7(0x18c)](this[_0x464db7(0x101)]));_0x14bb2e[_0x464db7(0x1a2)]&&_0x14bb2e[_0x464db7(0x181)]&&_0x398afd[_0x464db7(0x194)]&&(_0x2694ed[_0x378329[_0x464db7(0x15f)]]={'feature':{'name':_0x398afd[_0x464db7(0x1ad)][_0x464db7(0xf7)][_0x464db7(0x179)],'path':_0x2694ed[_0x464db7(0x1e5)],'description':_0x398afd['parent'][_0x464db7(0x171)]},'scenario':{'name':_0x398afd[_0x464db7(0x176)]},'steps':_0x398afd[_0x464db7(0x194)]});const _0x1a4c7b=_0x2694ed[_0x378329['GcWBF']][0x0];_0x1a4c7b&&(_0x2694ed[_0x378329[_0x464db7(0x135)]]=_0x1a4c7b[_0x378329[_0x464db7(0xf9)]],_0x2694ed[_0x378329['TzjeI']]=_0x1a4c7b[_0x378329[_0x464db7(0x12a)]]);if(_0x398afd[_0x464db7(0x194)])for(const _0x4e3a4c of _0x398afd[_0x464db7(0x194)]){!_0x4e3a4c[_0x464db7(0x177)]&&(_0x4e3a4c[_0x464db7(0x177)]=new Date()[_0x464db7(0x1c4)](),_0x378329[_0x464db7(0x105)](_0x4e3a4c[_0x464db7(0x193)],_0x378329['FbTRq'])&&(_0x1a4c7b?(_0x4e3a4c['result']=_0x378329[_0x464db7(0x162)],_0x4e3a4c[_0x464db7(0x1da)]=_0x1a4c7b[_0x378329['AEcRz']][0x0]):_0x4e3a4c[_0x464db7(0x193)]=_0x378329['OlbUY']));}const _0x4b30db={};_0x4b30db[_0x464db7(0x18b)]=_0x14bb2e[_0x464db7(0x1a4)]?TEST_EVENTS[_0x464db7(0x13d)]:_0x37966d;const _0x4a0b65=_0x4b30db;return _0x14bb2e['hook']?_0x4a0b65[_0x378329['HdXOt']]=_0x2694ed:_0x4a0b65[_0x378329['UZwqK']]=_0x2694ed,_0x4a0b65;}catch(_0x71a647){logger[_0x464db7(0x1d4)](_0x464db7(0x128)+_0x37966d+'\x20with\x20error\x20:\x20'+_0x71a647);}}async[a4_0x3e3c0e(0x1bb)](_0x2dd612,_0x2d3bbc){const _0x22ae18=a4_0x3e3c0e;if(!this['enabled']||!_0x2d3bbc||!_0x2dd612)return![];try{return await SessionHandler['uploadEventData'](_0x2d3bbc);}catch(_0x598fa0){logger[_0x22ae18(0x1d4)]('Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20'+_0x2dd612+_0x22ae18(0x127)+_0x598fa0);}}['initializeBddStep'](_0x4732e4){const _0x37158d=a4_0x3e3c0e,_0x47667c={};_0x47667c['MVryf']=_0x37158d(0x114);const _0x47c494=_0x47667c;return{'id':_0x4732e4[_0x37158d(0x1e8)],'text':_0x4732e4[_0x37158d(0x1d2)],'keyword':_0x4732e4[_0x37158d(0x18f)],'started_at':_0x4732e4[_0x37158d(0x1a7)][_0x37158d(0x1c4)](),'result':_0x47c494[_0x37158d(0x19e)]};}[a4_0x3e3c0e(0x1de)](_0x2346e1){const _0x1f5652=a4_0x3e3c0e,_0x383add={'lOTvd':function(_0x52afef){return _0x52afef();}};!this['currentTest'][_0x1f5652(0x194)]&&(this[_0x1f5652(0x14a)]['bddSteps']=[]),!_0x2346e1[_0x1f5652(0x1e8)]&&(_0x2346e1[_0x1f5652(0x1e8)]=_0x383add[_0x1f5652(0x152)](uuidv4),_0x2346e1[_0x1f5652(0x1a7)]=new Date(),this[_0x1f5652(0x14a)][_0x1f5652(0x194)][_0x1f5652(0x1a9)](this[_0x1f5652(0x103)](_0x2346e1)));}['bddStepFinish'](_0x4204b4){const _0xbca710=a4_0x3e3c0e,_0x2cc068={'ckaYM':function(_0xd197f7,_0x5725a4){return _0xd197f7(_0x5725a4);},'tTcrU':_0xbca710(0x1bf),'ahKqB':_0xbca710(0x114),'iHwep':_0xbca710(0x178),'EDKLc':function(_0x4c015f,_0x355546){return _0x4c015f-_0x355546;}};let _0x205e72=this[_0xbca710(0x14a)][_0xbca710(0x194)][_0xbca710(0x129)](_0x36cd33=>_0x36cd33['id']===_0x4204b4[_0xbca710(0x1e8)]);_0x2cc068[_0xbca710(0x112)](isUndefined,_0x205e72)&&(_0x205e72=this[_0xbca710(0x103)](_0x4204b4)),_0x205e72['result']=[_0x2cc068['tTcrU'],_0x2cc068[_0xbca710(0x1e0)]][_0xbca710(0x17d)](_0x4204b4[_0xbca710(0x111)])?_0x2cc068['iHwep']:_0x4204b4['status'],_0x205e72['finished_at']=new Date()[_0xbca710(0x1c4)](),_0x205e72[_0xbca710(0x12c)]=_0x2cc068['EDKLc'](Date[_0xbca710(0x145)](),_0x4204b4['startedAt']['getTime']()),_0x205e72[_0xbca710(0x1da)]=_0x4204b4[_0xbca710(0x121)]?_0x4204b4[_0xbca710(0x121)][_0xbca710(0x136)]:null;}}const a4_0x482e8a={};a4_0x482e8a[a4_0x3e3c0e(0x143)]=O11yHelper,a4_0x482e8a[a4_0x3e3c0e(0x165)]=STATE_PASSED,a4_0x482e8a[a4_0x3e3c0e(0x1d8)]=STATE_FAILED,a4_0x482e8a[a4_0x3e3c0e(0x1e4)]=TEST_EVENTS,module[a4_0x3e3c0e(0x155)]=a4_0x482e8a;function a4_0x2bb5(){const _0x469989=['currentHook','exports','type','_testEnv','meta','stop','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','launch','expanded','ctx','../mocha/test-observability/mochaUtils','RfASU','McBLz','client','vjvxk','HOOK_RUN_STARTED','started','STATE_PASSED','backtrace','../../helpers/testhub/utils.js','appendTestItemLog','UKMCi','171VdnkFg','getHookType','cwd','apply','join','AQGeh','TEfrL','comment','aMwin','WdSIL','sYyBH','defineProperty','title','finished_at','passed','name','getInstance','../../helpers/test-observability/constants','vWRhm','includes','_beforeEach','146670XXkUDV','toString','finished','EUJev','failureData','giVIE','PLAYWRIGHT_HUB_URL','../../helpers/helper','NQTXz','codeceptjs','connectOverCDP','_afterEach','event_type','getCBTInfo','match','path','keyword','accessibilityPlatform','mapTestHooks','fullTitle','result','bddSteps','CODECEPT','NrrZO','resetSkipTestHooks','removeAllListeners','YcfFo','suites','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','statSync','stringify','MVryf','winstonLogger','setupBrowserDetails','javascript','test','ddNJs','skipped','__platformCaps','cRRki','startedAt','WYQdW','push','toLowerCase','178638TwrxtM','Failed\x20to\x20parse\x20wsendpoint\x20','parent','PPxSD','Jvkbk','_beforeAll','11724iTHKpG','test_run','browserType.js','sep','iaelJ','uuid','connect','HookRunStarted','ktMPP','failed','fireEvent','forEach','Rrgpa','prototype','success','../playwright/sessionDetails','hook_type','testAnalyticsId','concat','toISOString','pid','getHooksForTest','TestRunSkipped','olTOD','pGTws','eRlIo','LvnMN','fsAod','hook_run_uuid','getRootParentFile','bs:addLog:','UFpgP','dirname','text','aHUBT','debug','AlHbm','4UdnUqa','prefixTestPath','STATE_FAILED','retryOf','failure','captureEvent','./helper.js','YilBH','bddStepStart','DSMSQ','ahKqB','iWgKU','errorsDetailed','1|3|0|4|2|5','TEST_EVENTS','file_name','HpXyn','TestRunFinished','stepAnalyticsId','hookAnalyticsId','hooks','../../helpers/logger','FbTRq','../utils/constants','7CnvyuS','CVbwI','feature','5132171oeJSLu','AEcRz','_afterAll','../../helpers/test-observability/sessionHandler','NORDP','28wAeHQm','EmnmY','GtniN','lib','driver','NHCcX','initializeBddStep','uploadEventData','vVGYd','XRukg','util','__cloud_provider___','tags','URkbJ','xYXjV','test_run_uuid','split','file','browserstack','markedStatus','status','ckaYM','qRnkU','pending','stgWF','TEST_RUN_STARTED','vIAWx','dXADQ','start','FPXZh','then','ZdpsH','TestRunStarted','../playwright/accessibility-helper','TgSUV','getTime','err','obsBrowserTypeMockApplied','ILZxA','findGitConfig','CkNHk','failure_backtrace','\x20with\x20error\x20:\x20','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','find','lbOMr','mLflX','duration','integrations','fvcsG','MpZbj','frameworkName','KzHNP','wsEndpoint','toUpperCase','1922065fLdHqc','BoAAX','message','cMJfu','constructor','248344RIDGNl','location_prefix','Not\x20able\x20to\x20import\x20Browser','bXLdZ','TEST_RUN_FINISHED','yVjDb','config','replace','failure_reason_expanded','lcGSB','O11yHelper','hRWod','now','hook','fOzax','body','enabled','currentTest','eghwA','_paths','2876088hIjTjS','relative','hFYWz','logs','getHierarchy','lOTvd','cUiSa'];a4_0x2bb5=function(){return _0x469989;};return a4_0x2bb5();}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a5_0x2ad0d1=a5_0x1f75;function a5_0x1f75(_0x355546,_0x3d343e){const _0x2a4c3c=a5_0x2a4c();return a5_0x1f75=function(_0x1f758c,_0x10e0b9){_0x1f758c=_0x1f758c-0x8b;let _0x2aab29=_0x2a4c3c[_0x1f758c];return _0x2aab29;},a5_0x1f75(_0x355546,_0x3d343e);}(function(_0x50820c,_0x88f321){const _0x348b48=a5_0x1f75,_0x47f857=_0x50820c();while(!![]){try{const _0x5e7e58=-parseInt(_0x348b48(0xf0))/0x1*(-parseInt(_0x348b48(0xe5))/0x2)+parseInt(_0x348b48(0xf4))/0x3+parseInt(_0x348b48(0xc1))/0x4*(parseInt(_0x348b48(0x9e))/0x5)+parseInt(_0x348b48(0xc8))/0x6+parseInt(_0x348b48(0xd5))/0x7+-parseInt(_0x348b48(0xb6))/0x8*(-parseInt(_0x348b48(0xd9))/0x9)+parseInt(_0x348b48(0x99))/0xa*(-parseInt(_0x348b48(0x93))/0xb);if(_0x5e7e58===_0x88f321)break;else _0x47f857['push'](_0x47f857['shift']());}catch(_0x466f06){_0x47f857['push'](_0x47f857['shift']());}}}(a5_0x2a4c,0xe641e));function a5_0x2a4c(){const _0x58c03a=['tmp','unlinkSync','finalExecution','../../helpers/logger','GuzCe','setupTCGAuth','40wGKCxE','splice','****\x20RESULTS\x20****','scenariosFailed','stepsPending','testContextOptions','bold','useW3C','isUndefined','nDBNO','elsgY','4FtPVQu','forEach','prepareCapabilities','error\x20removing\x20tcg\x20config\x20file','\x20undefined','finally','yellow','10416654nMsvqy','getErrorMessageFromResults','\x20skipped','start','env','Removing\x20tmp\x20directory\x20created\x20for\x20reports','../../helpers/helper','OTySL','length','\x20failed','skipSessionStatus','framework','launchBuild','6218394MDfUOa','SDK_CLEANUP','turboScaleUrl','util','2802879sEGRLM','setUserConfigPath','scenarios','gGZZh','CUCUMBER','../../helpers/BrowserStackSetup','../../helpers/testhub/testhubHandler','clYQm','exports','green','CmdAT','push','2RfxHki','stepsUndefined','Generating\x20consolidated\x20report...','logLevel','accessibilityOptions','log','format','true','skipSessionName','join','\x20passed','720319aejRWW','getTCGConfigFilePaths','zptxg','rFsEh','3867705LUHuDm','getUserWorkerCount','mergeOutputFiles','removeDir','../utils/constants','UhUMh','dLguR','createDir','FRAMEWORKS','FFqtk','cWWLB','stepsFailed','cwd','stop','cucumber','getPlatformName','../../helpers/performance/performance-tester','EVENTS','end','PJDNm','path','config','\x20steps','121vzQvJA','bgWhite','TLxPe','parallelsPerPlatform','../../helpers/utilities','vpdfv','5036690NjDVbW','printBuildLink','argv','BROWSERSTACK_TEST_OBSERVABILITY_YML','getHubUrl','1461665ZTdvaE','exitCode','red','proxySettings','YFwQx','wmXcW','SDK_SETUP','testObservability','winstonLogger','sITkU','hGCXK','eAVLq','BPrzd','cucumber-js','pFUMb','kDnvy','stringify','rmdirSync'];a5_0x2a4c=function(){return _0x58c03a;};return a5_0x2a4c();}const fs=require('fs'),path=require(a5_0x2ad0d1(0x90)),util=require(a5_0x2ad0d1(0xd8)),logger=require(a5_0x2ad0d1(0xb3))[a5_0x2ad0d1(0xa6)],{default:BrowserStackSetup}=require(a5_0x2ad0d1(0xde)),helper=require(a5_0x2ad0d1(0xce)),utilities=require(a5_0x2ad0d1(0x97)),constants=require(a5_0x2ad0d1(0xf8)),{parallelCucumberRun}=require('../test-runner'),TestHubHandler=require(a5_0x2ad0d1(0xdf)),testOpsHelper=require('../../helpers/test-observability/utils'),chalk=require('chalk'),PerformanceTester=require(a5_0x2ad0d1(0x8c)),PerformanceEvents=require('../../helpers/performance/constants')[a5_0x2ad0d1(0x8d)];function printCucumberStats(_0x494de6){const _0x52a21a=a5_0x2ad0d1,_0x3c620d={};_0x3c620d[_0x52a21a(0xa2)]=function(_0x14011e,_0x183784){return _0x14011e>_0x183784;},_0x3c620d[_0x52a21a(0xe3)]=function(_0x26597f,_0x31d301){return _0x26597f-_0x31d301;},_0x3c620d[_0x52a21a(0xa7)]=function(_0x50777b,_0x51c188){return _0x50777b-_0x51c188;},_0x3c620d[_0x52a21a(0xaa)]=function(_0x39ac0a,_0x1f2998){return _0x39ac0a>_0x1f2998;},_0x3c620d[_0x52a21a(0xc0)]=function(_0x6b6cd4,_0x2fefcc){return _0x6b6cd4>_0x2fefcc;},_0x3c620d[_0x52a21a(0x8f)]=function(_0x441e13,_0x5b3ad7){return _0x441e13>_0x5b3ad7;},_0x3c620d[_0x52a21a(0xa8)]=function(_0x17f35c,_0x48fb70){return _0x17f35c>_0x48fb70;},_0x3c620d[_0x52a21a(0xe0)]=function(_0x2b414d,_0x5bd965){return _0x2b414d>_0x5bd965;},_0x3c620d[_0x52a21a(0xa9)]=function(_0x3dce98,_0x203cd3){return _0x3dce98>_0x203cd3;},_0x3c620d[_0x52a21a(0xf3)]=function(_0x2015ed,_0x3eeab7){return _0x2015ed+_0x3eeab7;},_0x3c620d[_0x52a21a(0xf2)]=function(_0x3fe489,_0x8532a2){return _0x3fe489+_0x8532a2;},_0x3c620d[_0x52a21a(0xfa)]=function(_0x10aca6,_0x11c65){return _0x10aca6===_0x11c65;},_0x3c620d[_0x52a21a(0xbf)]=_0x52a21a(0xb8);const _0x3fbc73=_0x3c620d;let _0xa81f47=0x0;if(_0x3fbc73[_0x52a21a(0xfa)](_0x494de6[_0x52a21a(0xd0)],0x0))return _0xa81f47;return console[_0x52a21a(0xea)](chalk[_0x52a21a(0xbc)][_0x52a21a(0x94)](_0x3fbc73['nDBNO'])),_0x494de6[_0x52a21a(0xc2)](_0x3c74cf=>{const _0x3b2510=_0x52a21a,_0x2f118a=_0x3c74cf[0x0],_0x473785=_0x3c74cf[0x1];console[_0x3b2510(0xea)]('\x0a'+chalk[_0x3b2510(0xbc)]['yellow'](''+helper[_0x3b2510(0x8b)](_0x2f118a)));const _0xbf2aec=_0x473785[_0x3b2510(0xdb)],_0x16ce9a=_0x473785['steps'],_0x43ab54=_0x473785[_0x3b2510(0xb9)],_0x4da9b8=_0x473785[_0x3b2510(0xff)],_0x1115a3=_0x473785['stepsPassed'],_0xb2189f=_0x473785['stepsSkipped'],_0x22024d=_0x473785[_0x3b2510(0xba)],_0x9316e9=_0x473785[_0x3b2510(0xe6)],_0x23ad67=_0x473785['stepsUnknown'],_0x315b1a=_0x473785['stepsAmbiguous'],_0x3bb491=_0x473785['processSuccess'];let _0x5477a9=_0xbf2aec+'\x20scenarios';const _0x5a3a3b=_0x3fbc73[_0x3b2510(0xa2)](_0x3fbc73[_0x3b2510(0xe3)](_0xbf2aec,_0x43ab54),0x0)?_0x3fbc73[_0x3b2510(0xa7)](_0xbf2aec,_0x43ab54):0x0;if(_0x3fbc73[_0x3b2510(0xaa)](_0x43ab54,0x0)&&_0x3fbc73[_0x3b2510(0xc0)](_0x5a3a3b,0x0))_0x5477a9+='\x20('+chalk['bold'][_0x3b2510(0xa0)](_0x43ab54+_0x3b2510(0xd1))+',\x20'+chalk[_0x3b2510(0xbc)][_0x3b2510(0xe2)](_0x5a3a3b+'\x20passed')+')';else(_0x3fbc73[_0x3b2510(0xa2)](_0x43ab54,0x0)||_0x3fbc73[_0x3b2510(0x8f)](_0x5a3a3b,0x0))&&(_0x5477a9+=_0x3fbc73[_0x3b2510(0xa2)](_0x43ab54,0x0)?'\x20('+chalk[_0x3b2510(0xbc)][_0x3b2510(0xa0)](_0x43ab54+_0x3b2510(0xd1))+')':'\x20('+chalk[_0x3b2510(0xbc)]['green'](_0x5a3a3b+_0x3b2510(0xef))+')');const _0x2763d3=_0x16ce9a+_0x3b2510(0x92),_0x2fd9f1=[];_0x3fbc73[_0x3b2510(0xa8)](_0x315b1a,0x0)&&_0x2fd9f1[_0x3b2510(0xe4)](''+chalk[_0x3b2510(0xbc)][_0x3b2510(0xa0)](_0x315b1a+'\x20ambiguous'));_0x3fbc73[_0x3b2510(0xc0)](_0x4da9b8,0x0)&&_0x2fd9f1[_0x3b2510(0xe4)](''+chalk[_0x3b2510(0xbc)]['red'](_0x4da9b8+'\x20failed'));_0x3fbc73[_0x3b2510(0xa2)](_0x1115a3,0x0)&&_0x2fd9f1['push'](''+chalk[_0x3b2510(0xbc)][_0x3b2510(0xe2)](_0x1115a3+_0x3b2510(0xef)));_0x3fbc73[_0x3b2510(0xe0)](_0x22024d,0x0)&&_0x2fd9f1[_0x3b2510(0xe4)](''+chalk[_0x3b2510(0xbc)][_0x3b2510(0xc7)](_0x22024d+'\x20pending'));_0x3fbc73[_0x3b2510(0xa9)](_0xb2189f,0x0)&&_0x2fd9f1[_0x3b2510(0xe4)](''+chalk[_0x3b2510(0xbc)]['cyan'](_0xb2189f+_0x3b2510(0xca)));_0x3fbc73[_0x3b2510(0xc0)](_0x9316e9,0x0)&&_0x2fd9f1[_0x3b2510(0xe4)](''+chalk[_0x3b2510(0xbc)][_0x3b2510(0xc7)](_0x9316e9+_0x3b2510(0xc5)));_0x3fbc73[_0x3b2510(0xa8)](_0x23ad67,0x0)&&_0x2fd9f1['push'](''+chalk[_0x3b2510(0xbc)]['yellow'](_0x23ad67+_0x3b2510(0xca)));const _0x247d6e=_0x3fbc73[_0x3b2510(0xf3)](_0x3fbc73[_0x3b2510(0xf3)](_0x3fbc73[_0x3b2510(0xf2)](_0x2763d3,'('),_0x2fd9f1[_0x3b2510(0xee)](',\x20')),')');console[_0x3b2510(0xea)](_0x3fbc73['zptxg'](_0x3fbc73[_0x3b2510(0xf2)](_0x3fbc73[_0x3b2510(0xf3)](_0x3fbc73[_0x3b2510(0xf2)]('\x0a',_0x5477a9),'\x0a'),_0x247d6e),'\x0a')),_0x3fbc73[_0x3b2510(0xfa)](_0x3bb491,![])&&(_0xa81f47=0x1);}),_0xa81f47;}async function run(_0x274def,_0x4989ed){const _0x464c14=a5_0x2ad0d1,_0xbee0f0={'kRLPO':function(_0x157571,_0x3367d9){return _0x157571(_0x3367d9);},'gGZZh':function(_0x3b2621,_0x368e12){return _0x3b2621>_0x368e12;},'kDnvy':_0x464c14(0xe7),'OTySL':_0x464c14(0xcd),'UhUMh':_0x464c14(0x102),'pFUMb':_0x464c14(0xc4),'TLxPe':_0x464c14(0xab),'vpdfv':_0x464c14(0xb0),'ZFmqQ':function(_0xdc28b6,_0x2e059a){return _0xdc28b6-_0x2e059a;},'cWWLB':function(_0x46b21d,_0x14c88b){return _0x46b21d>=_0x14c88b;},'wmXcW':function(_0x19ba74,_0x1790e7){return _0x19ba74!=_0x1790e7;},'GuzCe':_0x464c14(0xec),'FFqtk':function(_0x4945bd,_0x16c4c1,_0x54e28d,_0x36bb5e,_0x55ecb0,_0x495a44){return _0x4945bd(_0x16c4c1,_0x54e28d,_0x36bb5e,_0x55ecb0,_0x495a44);}},_0x48ff51=new BrowserStackSetup(_0x274def,_0xbee0f0[_0x464c14(0x95)]);await _0x48ff51['initialize'](),helper[_0x464c14(0xda)](_0x48ff51[_0x464c14(0xd3)],_0x274def);!helper['isBrowserstackInfra']()&&await _0x48ff51[_0x464c14(0xb5)]();await helper['handleApp'](_0x48ff51['config']);const _0x588993=helper[_0x464c14(0xbd)](_0x48ff51['config']),_0x3c7fec=helper[_0x464c14(0xc3)](_0x48ff51[_0x464c14(0x91)],_0x588993,constants[_0x464c14(0xfc)][_0x464c14(0xdd)]);if(!_0x48ff51['config'])return;const _0x2061b8=_0x48ff51[_0x464c14(0x91)][_0x464c14(0x96)]||helper[_0x464c14(0xf5)](_0x274def,_0x4989ed,_0x48ff51[_0x464c14(0x91)],constants[_0x464c14(0xfc)][_0x464c14(0xdd)])||0x1,_0xa5d52e={'server':helper[_0x464c14(0x9d)](_0x48ff51['config']),'proxySettings':_0x48ff51[_0x464c14(0x91)][_0x464c14(0xa1)],'maxWorkers':_0x2061b8,'browserStackLogLevel':_0x48ff51[_0x464c14(0x91)][_0x464c14(0xe8)],'skipSessionName':_0x48ff51['config'][_0x464c14(0xbb)][_0x464c14(0xed)],'skipSessionStatus':_0x48ff51[_0x464c14(0x91)]['testContextOptions'][_0x464c14(0xd2)],'turboScaleUrl':_0x48ff51[_0x464c14(0x91)][_0x464c14(0xd7)]},_0x183a42=process[_0x464c14(0x9b)],[_0x111d06,_0x31f40c]=helper['parseFormatters'](_0x183a42),_0x22d984=path[_0x464c14(0xee)](process[_0x464c14(0x100)](),_0xbee0f0[_0x464c14(0x98)]);if(_0xbee0f0['gGZZh'](_0x31f40c[_0x464c14(0xd0)],0x0)){helper[_0x464c14(0xfb)](_0x22d984);for(let _0x5d6ead=_0xbee0f0['ZFmqQ'](_0x111d06['length'],0x1);_0xbee0f0[_0x464c14(0xfe)](_0x5d6ead,0x0);_0x5d6ead--){_0x183a42[_0x464c14(0xb7)](_0x111d06[_0x5d6ead],0x2);}}!helper[_0x464c14(0xbe)](_0x48ff51['config'][_0x464c14(0xe9)])&&(process[_0x464c14(0xcc)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x464c14(0xae)](_0x48ff51[_0x464c14(0x91)][_0x464c14(0xe9)]));_0xbee0f0[_0x464c14(0xa3)](_0x48ff51[_0x464c14(0x91)]['testObservability'],null)?process['env'][_0x464c14(0x9c)]=_0x48ff51[_0x464c14(0x91)][_0x464c14(0xa5)]:process[_0x464c14(0xcc)][_0x464c14(0x9c)]=_0xbee0f0[_0x464c14(0xb4)];const _0x4abd1a=await TestHubHandler[_0x464c14(0xd4)](constants[_0x464c14(0xfc)][_0x464c14(0xdd)],_0x48ff51);PerformanceTester[_0x464c14(0x8e)](PerformanceEvents[_0x464c14(0xa4)]);let _0x446154;_0xbee0f0[_0x464c14(0xfd)](parallelCucumberRun,_0x3c7fec,_0xa5d52e,_0x48ff51[_0x464c14(0x91)],_0x183a42,_0x31f40c)['then'](async _0xab9fd5=>{const _0x3c368d=_0x464c14;PerformanceTester[_0x3c368d(0xcb)](PerformanceEvents[_0x3c368d(0xd6)]),_0x446154=_0xab9fd5;const _0x452345=_0xbee0f0['kRLPO'](printCucumberStats,_0xab9fd5);process[_0x3c368d(0x9f)]=_0x452345,_0xbee0f0[_0x3c368d(0xdc)](_0x31f40c[_0x3c368d(0xd0)],0x0)&&(logger['debug'](_0xbee0f0[_0x3c368d(0xad)]),helper[_0x3c368d(0xf6)](_0x22d984,_0x31f40c),logger['debug'](_0xbee0f0[_0x3c368d(0xcf)]),helper[_0x3c368d(0xf7)](_0x22d984));})[_0x464c14(0xc6)](async()=>{const _0x5c02b5=_0x464c14;PerformanceTester['start'](PerformanceEvents[_0x5c02b5(0xd6)]),_0x48ff51['errorMessage']=helper[_0x5c02b5(0xc9)](_0x446154,_0xbee0f0[_0x5c02b5(0xf9)]),testOpsHelper[_0x5c02b5(0x9a)]();try{await TestHubHandler[_0x5c02b5(0x101)]();}catch(_0x24b260){logger['debug']('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x5c02b5(0xeb)](_0x24b260));}try{const {browserstackFolderPath:_0x2c6453,tcgConfigPath:_0x4d1fbd}=helper[_0x5c02b5(0xf1)]();fs[_0x5c02b5(0xb1)](_0x4d1fbd),fs[_0x5c02b5(0xaf)](_0x2c6453);}catch(_0x76a98f){logger['debug'](_0xbee0f0[_0x5c02b5(0xac)],_0x76a98f);}await utilities[_0x5c02b5(0xb2)](_0x48ff51);});}module[a5_0x2ad0d1(0xe1)]=run;
|
|
2
|
+
'use strict';const a5_0x119ede=a5_0x666a;(function(_0x47007f,_0x2f1815){const _0x3c7205=a5_0x666a,_0x2aacd0=_0x47007f();while(!![]){try{const _0x2bb2dd=parseInt(_0x3c7205(0x1af))/0x1+parseInt(_0x3c7205(0x1a5))/0x2*(parseInt(_0x3c7205(0x1bb))/0x3)+parseInt(_0x3c7205(0x1de))/0x4+-parseInt(_0x3c7205(0x1eb))/0x5+-parseInt(_0x3c7205(0x1d5))/0x6*(parseInt(_0x3c7205(0x1dd))/0x7)+-parseInt(_0x3c7205(0x1c4))/0x8*(parseInt(_0x3c7205(0x1e0))/0x9)+-parseInt(_0x3c7205(0x188))/0xa;if(_0x2bb2dd===_0x2f1815)break;else _0x2aacd0['push'](_0x2aacd0['shift']());}catch(_0x217391){_0x2aacd0['push'](_0x2aacd0['shift']());}}}(a5_0x31e0,0x4d67e));const fs=require('fs'),path=require(a5_0x119ede(0x18d)),util=require(a5_0x119ede(0x1f3)),logger=require(a5_0x119ede(0x1ac))[a5_0x119ede(0x1b3)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a5_0x119ede(0x183)),utilities=require(a5_0x119ede(0x192)),constants=require(a5_0x119ede(0x197)),{parallelCucumberRun}=require(a5_0x119ede(0x19a)),TestHubHandler=require(a5_0x119ede(0x1c8)),testOpsHelper=require(a5_0x119ede(0x191)),chalk=require(a5_0x119ede(0x1b6)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a5_0x119ede(0x194))[a5_0x119ede(0x1f0)];function printCucumberStats(_0x5101a7){const _0xb09a4a=a5_0x119ede,_0x4ed080={};_0x4ed080[_0xb09a4a(0x1e8)]=function(_0x71db2c,_0x49caa6){return _0x71db2c>_0x49caa6;},_0x4ed080[_0xb09a4a(0x1f9)]=function(_0x56e947,_0x273cb1){return _0x56e947-_0x273cb1;},_0x4ed080[_0xb09a4a(0x1e9)]=function(_0x4a4856,_0x3b0275){return _0x4a4856>_0x3b0275;},_0x4ed080['hRtlP']=function(_0x189fc6,_0x535cf7){return _0x189fc6>_0x535cf7;},_0x4ed080['iENhx']=function(_0x426d85,_0x114176){return _0x426d85>_0x114176;},_0x4ed080['nkNfs']=function(_0x48334b,_0x10492f){return _0x48334b>_0x10492f;},_0x4ed080[_0xb09a4a(0x1bd)]=function(_0x3c028d,_0x229421){return _0x3c028d>_0x229421;},_0x4ed080[_0xb09a4a(0x1d1)]=function(_0xa254fe,_0x2bc933){return _0xa254fe>_0x2bc933;},_0x4ed080[_0xb09a4a(0x1d8)]=function(_0x68cc33,_0x1ca71a){return _0x68cc33+_0x1ca71a;},_0x4ed080[_0xb09a4a(0x1ee)]=function(_0x3df26e,_0x553f7e){return _0x3df26e+_0x553f7e;},_0x4ed080[_0xb09a4a(0x1a6)]=function(_0x7aab32,_0x286f49){return _0x7aab32+_0x286f49;},_0x4ed080[_0xb09a4a(0x1e2)]=function(_0x54b8e,_0xe0709b){return _0x54b8e+_0xe0709b;},_0x4ed080[_0xb09a4a(0x1b1)]=function(_0x12dade,_0x22381f){return _0x12dade+_0x22381f;},_0x4ed080[_0xb09a4a(0x17d)]=function(_0x3314d9,_0x3a79f6){return _0x3314d9+_0x3a79f6;},_0x4ed080[_0xb09a4a(0x1c5)]=function(_0x5ee2c1,_0x3abfd6){return _0x5ee2c1===_0x3abfd6;},_0x4ed080[_0xb09a4a(0x1b9)]=function(_0x551804,_0x5af8bf){return _0x551804===_0x5af8bf;},_0x4ed080['ZAMgz']=_0xb09a4a(0x1d4);const _0x425a5a=_0x4ed080;let _0x181252=0x0;if(_0x425a5a['sLGyF'](_0x5101a7['length'],0x0))return _0x181252;return console[_0xb09a4a(0x1f1)](chalk['bold'][_0xb09a4a(0x17c)](_0x425a5a[_0xb09a4a(0x1df)])),_0x5101a7[_0xb09a4a(0x1d0)](_0x27fd66=>{const _0x27f4c2=_0xb09a4a,_0x4263e5=_0x27fd66[0x0],_0xd1e5d0=_0x27fd66[0x1];console[_0x27f4c2(0x1f1)]('\x0a'+chalk['bold']['yellow'](''+helper[_0x27f4c2(0x1f8)](_0x4263e5)));const _0x4dcfe4=_0xd1e5d0[_0x27f4c2(0x1a2)],_0xcbcdc9=_0xd1e5d0[_0x27f4c2(0x1ad)],_0x4d936c=_0xd1e5d0[_0x27f4c2(0x1e6)],_0x447917=_0xd1e5d0[_0x27f4c2(0x187)],_0x24509d=_0xd1e5d0[_0x27f4c2(0x1ae)],_0x290fd0=_0xd1e5d0[_0x27f4c2(0x1bf)],_0x3f2c8c=_0xd1e5d0[_0x27f4c2(0x1b5)],_0x454677=_0xd1e5d0['stepsUndefined'],_0x5efcc2=_0xd1e5d0[_0x27f4c2(0x1d3)],_0x260528=_0xd1e5d0[_0x27f4c2(0x19e)],_0x3d05bd=_0xd1e5d0[_0x27f4c2(0x184)];let _0x2bd805=_0x4dcfe4+_0x27f4c2(0x1aa);const _0x3b165e=_0x425a5a[_0x27f4c2(0x1e8)](_0x425a5a[_0x27f4c2(0x1f9)](_0x4dcfe4,_0x4d936c),0x0)?_0x425a5a[_0x27f4c2(0x1f9)](_0x4dcfe4,_0x4d936c):0x0;if(_0x425a5a[_0x27f4c2(0x1e9)](_0x4d936c,0x0)&&_0x425a5a[_0x27f4c2(0x1e9)](_0x3b165e,0x0))_0x2bd805+='\x20('+chalk[_0x27f4c2(0x18b)][_0x27f4c2(0x1c0)](_0x4d936c+_0x27f4c2(0x1f5))+',\x20'+chalk[_0x27f4c2(0x18b)][_0x27f4c2(0x195)](_0x3b165e+_0x27f4c2(0x1e4))+')';else(_0x425a5a[_0x27f4c2(0x198)](_0x4d936c,0x0)||_0x425a5a['UUwOa'](_0x3b165e,0x0))&&(_0x2bd805+=_0x425a5a[_0x27f4c2(0x1d9)](_0x4d936c,0x0)?'\x20('+chalk[_0x27f4c2(0x18b)]['red'](_0x4d936c+'\x20failed')+')':'\x20('+chalk[_0x27f4c2(0x18b)][_0x27f4c2(0x195)](_0x3b165e+_0x27f4c2(0x1e4))+')');const _0x443972=_0xcbcdc9+_0x27f4c2(0x1d6),_0x12dfd4=[];_0x425a5a[_0x27f4c2(0x1e9)](_0x260528,0x0)&&_0x12dfd4['push'](''+chalk[_0x27f4c2(0x18b)][_0x27f4c2(0x1c0)](_0x260528+'\x20ambiguous'));_0x425a5a[_0x27f4c2(0x1d9)](_0x447917,0x0)&&_0x12dfd4[_0x27f4c2(0x1c7)](''+chalk['bold']['red'](_0x447917+_0x27f4c2(0x1f5)));_0x425a5a[_0x27f4c2(0x190)](_0x24509d,0x0)&&_0x12dfd4['push'](''+chalk[_0x27f4c2(0x18b)]['green'](_0x24509d+'\x20passed'));_0x425a5a[_0x27f4c2(0x1bd)](_0x3f2c8c,0x0)&&_0x12dfd4['push'](''+chalk[_0x27f4c2(0x18b)]['yellow'](_0x3f2c8c+_0x27f4c2(0x1bc)));_0x425a5a['nkNfs'](_0x290fd0,0x0)&&_0x12dfd4[_0x27f4c2(0x1c7)](''+chalk['bold']['cyan'](_0x290fd0+_0x27f4c2(0x18c)));_0x425a5a['mKTKX'](_0x454677,0x0)&&_0x12dfd4[_0x27f4c2(0x1c7)](''+chalk[_0x27f4c2(0x18b)][_0x27f4c2(0x1b8)](_0x454677+_0x27f4c2(0x1c1)));_0x425a5a[_0x27f4c2(0x1d1)](_0x5efcc2,0x0)&&_0x12dfd4[_0x27f4c2(0x1c7)](''+chalk['bold'][_0x27f4c2(0x1b8)](_0x5efcc2+_0x27f4c2(0x18c)));const _0x29425d=_0x425a5a[_0x27f4c2(0x1d8)](_0x425a5a['tPjaJ'](_0x425a5a[_0x27f4c2(0x1ee)](_0x443972,'('),_0x12dfd4[_0x27f4c2(0x1ca)](',\x20')),')');console[_0x27f4c2(0x1f1)](_0x425a5a[_0x27f4c2(0x1a6)](_0x425a5a[_0x27f4c2(0x1e2)](_0x425a5a[_0x27f4c2(0x1b1)](_0x425a5a[_0x27f4c2(0x17d)]('\x0a',_0x2bd805),'\x0a'),_0x29425d),'\x0a')),_0x425a5a[_0x27f4c2(0x1c5)](_0x3d05bd,![])&&(_0x181252=0x1);}),_0x181252;}async function run(_0xb14f4f,_0x396493){const _0x3c1fdf=a5_0x119ede,_0x5deff6={'wGUBP':function(_0x5ee4ef,_0x4ac083){return _0x5ee4ef(_0x4ac083);},'WxhQc':function(_0x1c7282,_0x246ab8){return _0x1c7282>_0x246ab8;},'jbZgO':_0x3c1fdf(0x1cb),'WWfeK':_0x3c1fdf(0x196),'jVMLh':_0x3c1fdf(0x1ef),'eBEvc':_0x3c1fdf(0x189),'URPwu':_0x3c1fdf(0x1a3),'pZmgD':_0x3c1fdf(0x1cf),'sztsg':function(_0x2108a1,_0x4a1b3d){return _0x2108a1>_0x4a1b3d;},'aptmP':function(_0x318f30,_0x9f0419){return _0x318f30-_0x9f0419;},'janmw':function(_0x8793cf,_0x58d058){return _0x8793cf>=_0x58d058;},'CaKzU':function(_0x33c1d2,_0x9f8795){return _0x33c1d2!=_0x9f8795;},'ZQhnT':_0x3c1fdf(0x1b0),'mbsVh':function(_0x1fa64b,_0x18a106,_0x2003e3,_0x276977,_0x378f8d,_0x339abb){return _0x1fa64b(_0x18a106,_0x2003e3,_0x276977,_0x378f8d,_0x339abb);}},_0xea3745=new BrowserStackSetup(_0xb14f4f,_0x5deff6[_0x3c1fdf(0x1f6)]);await _0xea3745[_0x3c1fdf(0x1da)](),helper[_0x3c1fdf(0x19b)](_0xea3745[_0x3c1fdf(0x1a0)],_0xb14f4f);!helper['isBrowserstackInfra']()&&await _0xea3745['setupTCGAuth']();await helper['handleApp'](_0xea3745[_0x3c1fdf(0x1be)]);const _0x4c48bc=helper['useW3C'](_0xea3745['config']),_0x464905=helper[_0x3c1fdf(0x18a)](_0xea3745[_0x3c1fdf(0x1be)],_0x4c48bc,constants['FRAMEWORKS'][_0x3c1fdf(0x17b)]);if(!_0xea3745[_0x3c1fdf(0x1be)])return;const _0x513e01=_0xea3745['config'][_0x3c1fdf(0x17e)]||helper[_0x3c1fdf(0x1db)](_0xb14f4f,_0x396493,_0xea3745[_0x3c1fdf(0x1be)],constants['FRAMEWORKS'][_0x3c1fdf(0x17b)])||0x1,_0x48bb39={'server':helper[_0x3c1fdf(0x1c9)](_0xea3745[_0x3c1fdf(0x1be)]),'proxySettings':_0xea3745[_0x3c1fdf(0x1be)]['proxySettings'],'maxWorkers':_0x513e01,'browserStackLogLevel':_0xea3745[_0x3c1fdf(0x1be)][_0x3c1fdf(0x1ea)],'skipSessionName':_0xea3745[_0x3c1fdf(0x1be)][_0x3c1fdf(0x19f)][_0x3c1fdf(0x1e3)],'skipSessionStatus':_0xea3745[_0x3c1fdf(0x1be)][_0x3c1fdf(0x19f)][_0x3c1fdf(0x18f)],'turboScaleUrl':_0xea3745[_0x3c1fdf(0x1be)][_0x3c1fdf(0x19d)]},_0xebe6bb=process[_0x3c1fdf(0x1b4)],[_0x222215,_0x47576a]=helper['parseFormatters'](_0xebe6bb),_0x4d1df0=path[_0x3c1fdf(0x1ca)](process[_0x3c1fdf(0x181)](),_0x5deff6['pZmgD']);if(_0x5deff6[_0x3c1fdf(0x185)](_0x47576a[_0x3c1fdf(0x1ec)],0x0)){helper[_0x3c1fdf(0x1e1)](_0x4d1df0);for(let _0x9a30d7=_0x5deff6[_0x3c1fdf(0x199)](_0x222215['length'],0x1);_0x5deff6['janmw'](_0x9a30d7,0x0);_0x9a30d7--){_0xebe6bb['splice'](_0x222215[_0x9a30d7],0x2);}}!helper['isUndefined'](_0xea3745[_0x3c1fdf(0x1be)][_0x3c1fdf(0x1b2)])&&(process[_0x3c1fdf(0x19c)][_0x3c1fdf(0x1dc)]=JSON['stringify'](_0xea3745[_0x3c1fdf(0x1be)]['accessibilityOptions']));_0x5deff6[_0x3c1fdf(0x1f2)](_0xea3745[_0x3c1fdf(0x1be)]['testObservability'],null)?process['env'][_0x3c1fdf(0x1b7)]=_0xea3745[_0x3c1fdf(0x1be)][_0x3c1fdf(0x1ab)]:process[_0x3c1fdf(0x19c)][_0x3c1fdf(0x1b7)]=_0x5deff6['ZQhnT'];const _0x899d38=await TestHubHandler[_0x3c1fdf(0x1ba)](constants[_0x3c1fdf(0x180)][_0x3c1fdf(0x17b)],_0xea3745);PerformanceTester[_0x3c1fdf(0x17f)](PerformanceEvents[_0x3c1fdf(0x1e5)]);let _0x5bc059;_0x5deff6[_0x3c1fdf(0x18e)](parallelCucumberRun,_0x464905,_0x48bb39,_0xea3745[_0x3c1fdf(0x1be)],_0xebe6bb,_0x47576a)[_0x3c1fdf(0x1d2)](async _0x5aad53=>{const _0x150d52=_0x3c1fdf;PerformanceTester['start'](PerformanceEvents[_0x150d52(0x1cd)]),_0x5bc059=_0x5aad53;const _0x2b1c00=_0x5deff6[_0x150d52(0x1fa)](printCucumberStats,_0x5aad53);process[_0x150d52(0x1ed)]=_0x2b1c00,_0x5deff6[_0x150d52(0x193)](_0x47576a[_0x150d52(0x1ec)],0x0)&&(logger[_0x150d52(0x182)](_0x5deff6['jbZgO']),helper[_0x150d52(0x1f7)](_0x4d1df0,_0x47576a),logger['debug'](_0x5deff6[_0x150d52(0x1e7)]),helper[_0x150d52(0x1a9)](_0x4d1df0));})[_0x3c1fdf(0x186)](async()=>{const _0x5859b8=_0x3c1fdf;PerformanceTester['start'](PerformanceEvents[_0x5859b8(0x1cd)]),_0xea3745['errorMessage']=helper[_0x5859b8(0x1c6)](_0x5bc059,_0x5deff6[_0x5859b8(0x1a7)]),testOpsHelper[_0x5859b8(0x1c3)]();try{await TestHubHandler[_0x5859b8(0x1a8)]();}catch(_0x5855b2){logger['debug'](_0x5859b8(0x1a1)+util[_0x5859b8(0x1c2)](_0x5855b2));}try{const {browserstackFolderPath:_0x10e9e1,tcgConfigPath:_0x29b84e}=helper[_0x5859b8(0x1d7)]();fs[_0x5859b8(0x1a4)](_0x29b84e),fs[_0x5859b8(0x1ce)](_0x10e9e1);}catch(_0x55594a){logger['debug'](_0x5deff6[_0x5859b8(0x1cc)],_0x55594a);}await utilities['finalExecution'](_0xea3745);});}function a5_0x666a(_0x2ce114,_0x59f04f){const _0x31e0b6=a5_0x31e0();return a5_0x666a=function(_0x666ace,_0x5357fa){_0x666ace=_0x666ace-0x17b;let _0x2092bd=_0x31e0b6[_0x666ace];return _0x2092bd;},a5_0x666a(_0x2ce114,_0x59f04f);}module[a5_0x119ede(0x1f4)]=run;function a5_0x31e0(){const _0x40cac8=['48150bgDUTS','\x20steps','getTCGConfigFilePaths','tPjaJ','iENhx','initialize','getUserWorkerCount','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','42qtxKIm','1340788szopTT','ZAMgz','143919MqCUQj','createDir','fLnVJ','skipSessionName','\x20passed','SDK_SETUP','scenariosFailed','WWfeK','WBZMB','UUwOa','logLevel','971200emqHHP','length','exitCode','xWCCe','cucumber','EVENTS','log','CaKzU','util','exports','\x20failed','URPwu','mergeOutputFiles','getPlatformName','voawC','wGUBP','CUCUMBER','bgWhite','iFRwo','parallelsPerPlatform','end','FRAMEWORKS','cwd','debug','../../helpers/helper','processSuccess','sztsg','finally','stepsFailed','2072670xBRKlF','error\x20removing\x20tcg\x20config\x20file','prepareCapabilities','bold','\x20skipped','path','mbsVh','skipSessionStatus','nkNfs','../../helpers/test-observability/utils','../../helpers/utilities','WxhQc','../../helpers/performance/constants','green','Removing\x20tmp\x20directory\x20created\x20for\x20reports','../utils/constants','hRtlP','aptmP','../test-runner','setUserConfigPath','env','turboScaleUrl','stepsAmbiguous','testContextOptions','framework','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','scenarios','cucumber-js','unlinkSync','611728xKDHPb','RybpR','jVMLh','stop','removeDir','\x20scenarios','testObservability','../../helpers/logger','steps','stepsPassed','173623Komzbn','true','indNI','accessibilityOptions','winstonLogger','argv','stepsPending','chalk','BROWSERSTACK_TEST_OBSERVABILITY_YML','yellow','sLGyF','launchBuild','3rvUDBr','\x20pending','mKTKX','config','stepsSkipped','red','\x20undefined','format','printBuildLink','24QfnfDk','AcbQF','getErrorMessageFromResults','push','../../helpers/testhub/testhubHandler','getHubUrl','join','Generating\x20consolidated\x20report...','eBEvc','SDK_CLEANUP','rmdirSync','tmp','forEach','noVnv','then','stepsUnknown','****\x20RESULTS\x20****'];a5_0x31e0=function(){return _0x40cac8;};return a5_0x31e0();}
|