browserstack-node-sdk 1.36.3 → 1.36.4
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_0x48d734=a1_0x2a1d;(function(_0x3490d6,_0x2b630d){const _0x52094b=a1_0x2a1d,_0x2ce3b3=_0x3490d6();while(!![]){try{const _0x5950d7=parseInt(_0x52094b(0x169))/0x1*(-parseInt(_0x52094b(0x189))/0x2)+parseInt(_0x52094b(0x1a2))/0x3*(parseInt(_0x52094b(0x1d1))/0x4)+parseInt(_0x52094b(0x1c3))/0x5+parseInt(_0x52094b(0x1d5))/0x6+-parseInt(_0x52094b(0x176))/0x7+parseInt(_0x52094b(0x1ad))/0x8+parseInt(_0x52094b(0x21c))/0x9;if(_0x5950d7===_0x2b630d)break;else _0x2ce3b3['push'](_0x2ce3b3['shift']());}catch(_0x3ae2ca){_0x2ce3b3['push'](_0x2ce3b3['shift']());}}}(a1_0x2503,0xba703));const fs=require('fs'),util=require(a1_0x48d734(0x17c)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x48d734(0x1fa)),logger=require(a1_0x48d734(0x1bf))[a1_0x48d734(0x211)],testOpsHelper=require(a1_0x48d734(0x17f)),requestSpy=require(a1_0x48d734(0x1dd)),PlaywrightSessionDetails=require(a1_0x48d734(0x195)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require('./o11yHelper'),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x48d734(0x16f)),AccessibilityHelper=require(a1_0x48d734(0x227)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a1_0x48d734(0x214)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x48d734(0x171)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x48d734(0x200)),testHubConstants=require(a1_0x48d734(0x1e2)),globals=require('../../helpers/globals.js'),CodeceptJS=requireModule(a1_0x48d734(0x233),a1_0x48d734(0x1bd)),CodeceptUtils=requireModule(a1_0x48d734(0x1ec),a1_0x48d734(0x1bd)),CodeceptWebDriver=requireModule(a1_0x48d734(0x1ce),'codeceptjs'),CodeceptRecorder=requireModule(a1_0x48d734(0x22b),a1_0x48d734(0x1bd)),CodeceptPlaywright=requireModule(a1_0x48d734(0x1d9),a1_0x48d734(0x1bd)),playwrightMarkSessionStatus=(_0xc6e971,_0x27a193,_0x228213)=>{const _0x5bc72f=a1_0x48d734,_0x28008d={'ZCdfp':_0x5bc72f(0x197),'RkRmP':function(_0x247df2,_0x285c84){return _0x247df2(_0x285c84);}},_0x58199e={};_0x58199e[_0x5bc72f(0x228)]=_0x27a193;const _0x1b3971={};_0x1b3971['action']=_0x28008d[_0x5bc72f(0x22a)],_0x1b3971['arguments']=_0x58199e;const _0x493685=_0x1b3971;return!_0x28008d[_0x5bc72f(0x1a3)](isUndefined,_0x228213)&&(_0x493685[_0x5bc72f(0x19d)][_0x5bc72f(0x1b7)]=JSON[_0x5bc72f(0x229)](_0x228213)),_0xc6e971['executeScript'](()=>{},_0x5bc72f(0x1f4)+JSON[_0x5bc72f(0x229)](_0x493685));},o11ySync=PerformanceTester[a1_0x48d734(0x1bb)](PerformanceO11yEvents[a1_0x48d734(0x220)],async _0x45de06=>{const _0xccf379=a1_0x48d734,_0x40e015={};_0x40e015[_0xccf379(0x1ee)]=function(_0x50ac27,_0x27cd16){return _0x50ac27===_0x27cd16;},_0x40e015['xNPig']=_0xccf379(0x1b4);const _0x232164=_0x40e015;_0x232164[_0xccf379(0x1ee)](_0x45de06[_0xccf379(0x178)]['name'],_0x232164[_0xccf379(0x173)])?await _0x45de06['executeScript'](_0x51f8ed=>{},testOpsHelper[_0xccf379(0x205)]()):await _0x45de06[_0xccf379(0x16b)](testOpsHelper[_0xccf379(0x205)]());}),markSessionName=PerformanceTester[a1_0x48d734(0x1bb)](PerformanceAutEvents['SESSION_NAME'],async(_0x4eb0cb,_0x1a4279)=>{const _0x4b8ba5=a1_0x48d734,_0x1649d3={};_0x1649d3[_0x4b8ba5(0x1b5)]='setSessionName',_0x1649d3[_0x4b8ba5(0x188)]=function(_0x55b3d7,_0x401033){return _0x55b3d7===_0x401033;},_0x1649d3[_0x4b8ba5(0x175)]=_0x4b8ba5(0x1b4);const _0x568b01=_0x1649d3,_0x59d6bf={};_0x59d6bf['name']=_0x1a4279;const _0x33accc={};_0x33accc[_0x4b8ba5(0x198)]=_0x568b01[_0x4b8ba5(0x1b5)],_0x33accc[_0x4b8ba5(0x19d)]=_0x59d6bf;const _0x4dbc06=_0x33accc;_0x568b01['xUsMD'](_0x4eb0cb[_0x4b8ba5(0x178)][_0x4b8ba5(0x209)],_0x568b01[_0x4b8ba5(0x175)])?await _0x4eb0cb[_0x4b8ba5(0x16b)](()=>{},'browserstack_executor:\x20'+JSON['stringify'](_0x4dbc06)):await _0x4eb0cb[_0x4b8ba5(0x16b)](_0x4b8ba5(0x1f4)+JSON[_0x4b8ba5(0x229)](_0x4dbc06));}),patchSaveScreenshot=_0x3dda61=>{const _0x4990cc=a1_0x48d734,_0x153b52={'WKRci':_0x4990cc(0x160),'zxbGn':_0x4990cc(0x1e0),'ImQan':function(_0x267c7c){return _0x267c7c();},'hczcI':function(_0x597985,_0x5f3eb2){return _0x597985(_0x5f3eb2);},'PwXMy':_0x4990cc(0x1e7),'tBILl':function(_0x51a60c,_0x59a4e0){return _0x51a60c(_0x59a4e0);}};_0x153b52[_0x4990cc(0x21d)](isTrue,process['env']['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x3dda61['patchSaveScreenshot']&&(_0x3dda61[_0x4990cc(0x20e)]=!![],_0x3dda61[_0x4990cc(0x181)]=_0x3dda61[_0x4990cc(0x19f)],_0x3dda61[_0x4990cc(0x19f)]=(_0x3751ac,_0xbc4e07=![])=>{const _0x11889c=_0x4990cc,_0x2af719={'DmLMi':_0x153b52['WKRci'],'Zofkt':_0x153b52[_0x11889c(0x1a6)],'mEydT':function(_0x44b926){return _0x153b52['ImQan'](_0x44b926);},'HSgiX':function(_0x2d77d1,_0x1bd680){return _0x153b52['hczcI'](_0x2d77d1,_0x1bd680);},'TLVdn':_0x153b52['PwXMy']};return new Promise(function(_0x159f67,_0x3344f2){const _0x1d5a00=_0x11889c;_0x3dda61[_0x1d5a00(0x181)](_0x3751ac,_0xbc4e07)[_0x1d5a00(0x1cb)](()=>{const _0x1dfb4b=_0x1d5a00,_0x32f7c8=CodeceptUtils[_0x1dfb4b(0x1ef)](_0x3751ac);if(_0x32f7c8){const _0x4e9cbd=fs[_0x1dfb4b(0x1ba)](_0x32f7c8);process[_0x1dfb4b(0x1cc)](_0x1dfb4b(0x1ae)+process[_0x1dfb4b(0x185)],{'timestamp':new Date()[_0x1dfb4b(0x22e)](),'message':_0x4e9cbd['toString'](_0x2af719['DmLMi']),'kind':_0x2af719['Zofkt']}),_0x2af719['mEydT'](_0x159f67);}_0x2af719[_0x1dfb4b(0x1f6)](_0x3344f2,new Error(_0x2af719[_0x1dfb4b(0x1f5)]));})[_0x1d5a00(0x21f)](()=>null);});});},patchWebDriverBefore=_0x2818c2=>{const _0x4d5512=a1_0x48d734,_0x46f150={'BPreV':function(_0x56cf64){return _0x56cf64();},'WYvmI':function(_0x3c3148,_0x1579ec){return _0x3c3148(_0x1579ec);},'vvrED':function(_0x17721e,_0x4556c2){return _0x17721e===_0x4556c2;},'QyuiA':'Element','KTflb':function(_0x20de64,_0x36c047){return _0x20de64(_0x36c047);}},_0x300ddc=async function(_0x2f6afc,_0x3256cf){const _0x35d25f=a1_0x2a1d;return _0x46f150[_0x35d25f(0x21b)](isAccessibilityAutomationSession)&&!global['bstackAllyScanning']&&global['accessibilityPlatform']&&scripts[_0x35d25f(0x221)](_0x2f6afc[_0x35d25f(0x209)])&&_0x46f150['WYvmI'](shouldPatchExecuteScript,arguments[0x2])&&(global['bstackAllyScanning']=!![],await PerformanceTester[_0x35d25f(0x1bb)](PerformanceA11yEvents[_0x35d25f(0x19e)],async()=>{const _0x2da6da=_0x35d25f;logger['debug'](_0x2da6da(0x186)+_0x2f6afc[_0x2da6da(0x174)]+'\x20'+_0x2f6afc[_0x2da6da(0x209)]),await AccessibilityHelper[_0x2da6da(0x1c9)](_0x2818c2,scripts[_0x2da6da(0x208)]);},{'command':_0x2f6afc['name']})()),global[_0x35d25f(0x1b8)]=![],_0x3256cf[_0x35d25f(0x206)](this,Array[_0x35d25f(0x161)][_0x35d25f(0x1a4)]['call'](arguments,0x2));},_0x3ce50a=CodeceptWebDriver[_0x4d5512(0x161)][_0x4d5512(0x218)];CodeceptWebDriver[_0x4d5512(0x161)][_0x4d5512(0x218)]=async function(){const _0x23640d=_0x4d5512,_0x13259b={'NaVkU':function(_0x209641,_0x283615){return _0x46f150['vvrED'](_0x209641,_0x283615);},'yPJuI':_0x46f150[_0x23640d(0x226)]};try{await _0x3ce50a[_0x23640d(0x206)](this,arguments);}catch(_0x5715f0){logger[_0x23640d(0x193)]('Failed\x20to\x20execute\x20_before:\x20'+util['format'](_0x5715f0));}scripts[_0x23640d(0x1e8)]['filter'](_0x351361=>_0x351361[_0x23640d(0x209)]&&_0x351361[_0x23640d(0x174)])[_0x23640d(0x222)](_0x27f966=>{const _0x1ec2d8=_0x23640d;this[_0x1ec2d8(0x1d0)][_0x1ec2d8(0x1fd)](_0x27f966['name'],_0x300ddc[_0x1ec2d8(0x19a)](this,_0x27f966),_0x13259b['NaVkU'](_0x27f966['class'],_0x13259b['yPJuI']));}),_0x46f150[_0x23640d(0x179)](processWebDriverConfig,_0x2818c2);};},patchPlaywrightBefore=()=>{const _0x10e060=a1_0x48d734;PlaywrightSessionDetails[_0x10e060(0x1c6)]();const _0x5d6f84=CodeceptPlaywright[_0x10e060(0x161)][_0x10e060(0x218)];CodeceptPlaywright[_0x10e060(0x161)][_0x10e060(0x218)]=async function(){const _0x4601d5=_0x10e060;this[_0x4601d5(0x172)]=await this[_0x4601d5(0x1d0)][_0x4601d5(0x207)]()[0x0],await _0x5d6f84[_0x4601d5(0x206)](this,arguments);};},getCodeceptDriver=()=>{const _0x13cfe8=a1_0x48d734,_0xc9b9ca={};_0xc9b9ca[_0x13cfe8(0x1f0)]=_0x13cfe8(0x1c2),_0xc9b9ca[_0x13cfe8(0x164)]=_0x13cfe8(0x1b4),_0xc9b9ca[_0x13cfe8(0x162)]=_0x13cfe8(0x1bc),_0xc9b9ca[_0x13cfe8(0x212)]=_0x13cfe8(0x1a9);const _0x5629ec=_0xc9b9ca,_0x1a859d=[_0x5629ec[_0x13cfe8(0x1f0)],_0x5629ec[_0x13cfe8(0x164)],_0x5629ec[_0x13cfe8(0x162)],_0x5629ec['WALPd']],_0xa0dc1e=_0x1a859d['find'](_0x133efa=>!!CodeceptJS[_0x13cfe8(0x1fc)][_0x13cfe8(0x1a7)](_0x133efa));if(!_0xa0dc1e)return null;return CodeceptJS[_0x13cfe8(0x1fc)][_0x13cfe8(0x1a7)](_0xa0dc1e);};function a1_0x2a1d(_0x5abd01,_0x5b572e){const _0x2503f8=a1_0x2503();return a1_0x2a1d=function(_0x2a1d7a,_0x580d1e){_0x2a1d7a=_0x2a1d7a-0x15c;let _0x44cf1a=_0x2503f8[_0x2a1d7a];return _0x44cf1a;},a1_0x2a1d(_0x5abd01,_0x5b572e);}function a1_0x2503(){const _0x587207=['shouldWrapCommand','forEach','sWEWd','TEST_RUN_SKIPPED','xdwqm','QyuiA','../../bin/playwright/accessibility-helper','status','stringify','ZCdfp','codeceptjs/lib/recorder.js','add','afterTest','toISOString','SDK_HOOK','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','fiseV','FsTJV','codeceptjs/lib/index.js','titlePath','accessibilityPlatform','stopMonitoring','startMonitoring','base64','prototype','pAXHu','woEgQ','isUjc','comment','test-started','TEST_LOG','info','11RGIhFa','skipped','executeScript','BZEql','format','failed','../../helpers/accessibility-automation/helper','testAnalyticsId','../../helpers/performance/constants','browserContext','xNPig','class','LZEyv','6769651NvVLUk','dispatcher','constructor','KTflb','getResults','browserstackTestName','util','ctx','SAVE_RESULTS','../../helpers/test-observability/utils','GET_RESULTS_SUMMARY','initSaveScreenshot','GET_RESULTS','rrmpG','FWwqt','pid','Performing\x20scan\x20for\x20','hYtto','xUsMD','260838CeUrKS','captureError','YLMeO','getAccessibilityResults','thJwtToken','skipSessionStatus','restore','hrYUl','hook-passed','LeEAX','debug','ZQnEZ','../../bin/playwright/sessionDetails','bddStepStart','setSessionStatus','action','addRequestSpy','bind','SDK_TEST','SDK_POST_TEST','arguments','PERFORM_SCAN','saveScreenshot','SESSION_STATUS','FCZHd','21780iOoVxX','RkRmP','slice','dKMcM','zxbGn','helpers','step','TestCafe','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','IqUZy','WjkpO','1254576XhGdcm','bs:addLog:','end','warn','Ftztn','HOOK_RUN_STARTED','ENV_VAR','Playwright','MZqWK','CunDp','reason','bstackAllyScanning','getResultsSummary','readFileSync','measureWrapper','Puppeteer','codeceptjs','command','../../helpers/logger','SDK_POST_INITIALIZE','after','WebDriver','7555570MUGnvS','title','start','patch','bDrWA','jdlVU','browserStackExecuteDriver','test-skipped','then','emit','saveTestResults','codeceptjs/lib/helper/WebDriver.js','passed','browser','244nnpsmC','event','started','RJgho','3893904ycLBnm','all','SDK_PRE_INITIALIZE','iBflQ','codeceptjs/lib/helper/Playwright.js','before','hookType','bddStep-after','../../helpers/request-spy','__driver','JwGAE','TEST_SCREENSHOT','TEST_RUN_FINISHED','../../helpers/testhub/constants.js','DipQZ','enabled','YqPkG','getAccessibilityResultsSummary','Screenshot\x20path\x20not\x20found','commandsToWrap','bddStep-before','hook-failed','thBuildUuid','codeceptjs/lib/utils.js','step-comment','AIemF','screenshotOutputFolder','yelVT','thTestRunUuid','hook','BROWSERSTACK_TESTHUB_JWT','browserstack_executor:\x20','TLVdn','HSgiX','SDK_PRE_TEST','wmskn','skipSessionName','../../helpers/helper','yEqUJ','container','overwriteCommand','PavbX','QoYTU','./helper.js','fireEvent','TEST_RUN_STARTED','test','test-failed','getSyncScript','apply','contexts','performScan','name','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','HOOK_RUN_FINISHED','Nreud','captureEvent','patchSaveScreenshot','setGlobal','hook-started','winstonLogger','WALPd','stop','../../helpers/performance/performance-tester','BROWSERSTACK_TESTHUB_UUID','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','sBXZR','_before','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','test-passed','BPreV','3650157KdDJur','tBILl','REbGl','catch','SYNC'];a1_0x2503=function(){return _0x587207;};return a1_0x2503();}module['exports']=function(_0x5793e1){const _0x2c2fcc=a1_0x48d734,_0x913174={'hrYUl':function(_0x3c9667){return _0x3c9667();},'YLMeO':function(_0x5c09fb,_0x372dbd){return _0x5c09fb(_0x372dbd);},'uRqNd':_0x2c2fcc(0x1e6),'LeEAX':_0x2c2fcc(0x230),'BZEql':_0x2c2fcc(0x18c),'iCMMN':_0x2c2fcc(0x216),'YIbIA':_0x2c2fcc(0x210),'sBXZR':_0x2c2fcc(0x191),'PavbX':_0x2c2fcc(0x1ea),'fiseV':_0x2c2fcc(0x17b),'JwGAE':function(_0x33e9ec){return _0x33e9ec();},'YqPkG':'test-before','REbGl':function(_0x96dd9e,_0x56e6d5){return _0x96dd9e(_0x56e6d5);},'QoYTU':function(_0x4d111b,_0x3c02bb,_0x1d0108){return _0x4d111b(_0x3c02bb,_0x1d0108);},'ZQnEZ':_0x2c2fcc(0x166),'CunDp':_0x2c2fcc(0x21a),'FsTJV':function(_0x4abb9f){return _0x4abb9f();},'iBflQ':function(_0x373ef4,_0x51fb67,_0x1c82d3,_0x1a35b2){return _0x373ef4(_0x51fb67,_0x1c82d3,_0x1a35b2);},'DipQZ':function(_0x3a4f5b,_0x583396){return _0x3a4f5b===_0x583396;},'FCZHd':'Suite','rrmpG':_0x2c2fcc(0x204),'RJgho':_0x2c2fcc(0x1ca),'Nreud':_0x2c2fcc(0x22d),'jdlVU':function(_0x3b5bb1){return _0x3b5bb1();},'bDrWA':function(_0x248c5e,_0x1f4abe,_0x400a0b){return _0x248c5e(_0x1f4abe,_0x400a0b);},'jbCBr':function(_0x578569){return _0x578569();},'tXEPn':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','SBkZL':'test-after','FWwqt':'INFO','PiaCF':_0x2c2fcc(0x167),'dKMcM':_0x2c2fcc(0x1ed),'hYtto':_0x2c2fcc(0x1e9),'woEgQ':_0x2c2fcc(0x1dc),'yEqUJ':function(_0x35277e){return _0x35277e();},'IqUZy':_0x2c2fcc(0x1b4)};_0x5793e1[_0x2c2fcc(0x18e)]&&(global['__skipSessionStatus']=_0x5793e1[_0x2c2fcc(0x18e)]);PerformanceTester[_0x2c2fcc(0x15f)]();const _0x1538b5=_0x913174[_0x2c2fcc(0x1fb)](getCodeceptDriver),_0x5056b2=new O11yHelper(_0x1538b5,_0x5793e1),_0x4cfe14=!!CodeceptJS[_0x2c2fcc(0x1fc)][_0x2c2fcc(0x1a7)](_0x913174[_0x2c2fcc(0x1ab)]);global[_0x2c2fcc(0x1de)]=_0x1538b5,_0x1538b5&&(PerformanceTester[_0x2c2fcc(0x1bb)](PerformanceEvents[_0x2c2fcc(0x1d7)],()=>{const _0x343bf5=_0x2c2fcc;_0x4cfe14?_0x913174[_0x343bf5(0x190)](patchPlaywrightBefore):_0x913174[_0x343bf5(0x18b)](patchWebDriverBefore,_0x1538b5);})(),PerformanceTester['measureWrapper'](PerformanceEvents[_0x2c2fcc(0x1c0)],()=>{const _0x4ca187=_0x2c2fcc;_0x1538b5[_0x4ca187(0x1e6)]=async()=>{const _0x4ce0b8=_0x4ca187;if(global[_0x4ce0b8(0x15d)]){const _0x57100d={};_0x57100d[_0x4ce0b8(0x1be)]=_0x913174['uRqNd'],await PerformanceTester[_0x4ce0b8(0x1bb)](PerformanceA11yEvents[_0x4ce0b8(0x19e)],async()=>{const _0x1ffedb=_0x4ce0b8;await AccessibilityHelper[_0x1ffedb(0x1c9)](_0x1538b5,scripts[_0x1ffedb(0x208)]);},_0x57100d)(),await PerformanceTester[_0x4ce0b8(0x1bb)](PerformanceA11yEvents[_0x4ce0b8(0x180)],async()=>{const _0x5073c6=_0x4ce0b8;await AccessibilityHelper['browserStackExecuteDriver'](_0x1538b5,scripts[_0x5073c6(0x1b9)]);})();}else return logger[_0x4ce0b8(0x1b0)](_0x913174[_0x4ce0b8(0x192)]),{};},_0x1538b5[_0x4ca187(0x18c)]=async()=>{const _0x126b1d=_0x4ca187;if(global[_0x126b1d(0x15d)]){const _0x283e1e={};_0x283e1e[_0x126b1d(0x1be)]=_0x913174[_0x126b1d(0x16c)],await PerformanceTester[_0x126b1d(0x1bb)](PerformanceA11yEvents[_0x126b1d(0x19e)],async()=>{const _0x4e6f97=_0x126b1d;await AccessibilityHelper[_0x4e6f97(0x1c9)](_0x1538b5,scripts[_0x4e6f97(0x208)]);},_0x283e1e)(),await PerformanceTester[_0x126b1d(0x1bb)](PerformanceA11yEvents[_0x126b1d(0x182)],async()=>{const _0x86c212=_0x126b1d;await AccessibilityHelper[_0x86c212(0x1c9)](_0x1538b5,scripts[_0x86c212(0x17a)]);})();}else return logger[_0x126b1d(0x1b0)](_0x913174['iCMMN']),{};},_0x913174[_0x4ca187(0x18b)](patchSaveScreenshot,_0x1538b5);})()),CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x177)]['on'](CodeceptJS[_0x2c2fcc(0x1d2)]['all'][_0x2c2fcc(0x1da)],()=>{const _0x63e23f=_0x2c2fcc;PerformanceTester['start'](PerformanceEvents[_0x63e23f(0x1f7)]);try{_0x5056b2['start'](),testOpsHelper[_0x63e23f(0x199)](),PerformanceTester[_0x63e23f(0x1af)](PerformanceEvents[_0x63e23f(0x1f7)]);}catch(_0x4ece15){PerformanceTester[_0x63e23f(0x18a)](_0x4ece15),PerformanceTester['end'](PerformanceEvents['SDK_PRE_TEST'],![],_0x4ece15);}}),CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x177)]['on'](CodeceptJS['event'][_0x2c2fcc(0x1d6)][_0x2c2fcc(0x1c1)],async()=>{const _0x3817b8=_0x2c2fcc;PerformanceTester[_0x3817b8(0x1c5)](PerformanceEvents[_0x3817b8(0x19c)]);try{requestSpy[_0x3817b8(0x18f)](),await _0x5056b2[_0x3817b8(0x213)](),PerformanceTester[_0x3817b8(0x1af)](PerformanceEvents[_0x3817b8(0x19c)]);}catch(_0xdd9469){PerformanceTester[_0x3817b8(0x18a)](_0xdd9469),PerformanceTester[_0x3817b8(0x1af)](PerformanceEvents['SDK_POST_TEST'],![],_0xdd9469);}finally{PerformanceTester[_0x3817b8(0x15e)]();}}),CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x177)]['on'](CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x1f2)][_0x2c2fcc(0x1d3)],_0x3ae6ea=>{const _0x3afb5c=_0x2c2fcc;PerformanceTester[_0x3afb5c(0x1c5)](PerformanceEvents[_0x3afb5c(0x22f)]);try{const _0x4657ab=_0x3ae6ea[_0x3afb5c(0x17d)][_0x3afb5c(0x203)],_0x2cfacc=_0x5056b2[_0x3afb5c(0x20d)](TEST_EVENTS[_0x3afb5c(0x1b2)],_0x4657ab);CodeceptRecorder[_0x3afb5c(0x22c)](()=>_0x5056b2['fireEvent'](TEST_EVENTS[_0x3afb5c(0x1b2)],_0x2cfacc));const _0x2e8339={};_0x2e8339[_0x3afb5c(0x1db)]=_0x913174['YIbIA'],PerformanceTester[_0x3afb5c(0x1af)](PerformanceEvents[_0x3afb5c(0x22f)],!![],null,_0x2e8339);}catch(_0x5d987f){const _0x2acb2b={};_0x2acb2b[_0x3afb5c(0x1db)]=_0x913174['YIbIA'],PerformanceTester[_0x3afb5c(0x1af)](PerformanceEvents[_0x3afb5c(0x22f)],![],_0x5d987f,_0x2acb2b),PerformanceTester[_0x3afb5c(0x18a)](_0x5d987f);}}),CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x177)]['on'](CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x1f2)][_0x2c2fcc(0x1cf)],_0x23244c=>{const _0x2c8189=_0x2c2fcc,_0x126dd2={};_0x126dd2['hookType']=_0x913174[_0x2c8189(0x217)],PerformanceTester[_0x2c8189(0x1c5)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x126dd2);try{const _0x7c327d=_0x23244c['ctx'][_0x2c8189(0x203)],_0x30fe64=_0x5056b2[_0x2c8189(0x20d)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x7c327d);CodeceptRecorder[_0x2c8189(0x22c)](()=>_0x5056b2[_0x2c8189(0x201)](TEST_EVENTS[_0x2c8189(0x20b)],_0x30fe64));const _0x32af61={};_0x32af61[_0x2c8189(0x1db)]=_0x913174[_0x2c8189(0x217)],PerformanceTester[_0x2c8189(0x1af)](PerformanceHookEvents[_0x2c8189(0x22f)],!![],null,_0x32af61);}catch(_0x21f38d){PerformanceTester[_0x2c8189(0x18a)](_0x21f38d);const _0x3c84d8={};_0x3c84d8[_0x2c8189(0x1db)]=_0x913174['sBXZR'],PerformanceTester['end'](PerformanceHookEvents[_0x2c8189(0x22f)],![],_0x21f38d,_0x3c84d8);}}),CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x177)]['on'](CodeceptJS[_0x2c2fcc(0x1d2)]['hook'][_0x2c2fcc(0x16e)],async(_0x57eb75,_0x57b655)=>{const _0x70eccc=_0x2c2fcc;PerformanceTester[_0x70eccc(0x1c5)](PerformanceHookEvents['SDK_HOOK']);try{const _0xf52300=_0x57eb75[_0x70eccc(0x17d)][_0x70eccc(0x203)],_0x25d0e7=_0x5056b2[_0x70eccc(0x20d)](TEST_EVENTS[_0x70eccc(0x20b)],_0xf52300,_0x57b655);CodeceptRecorder[_0x70eccc(0x22c)](()=>_0x5056b2[_0x70eccc(0x201)](TEST_EVENTS[_0x70eccc(0x20b)],_0x25d0e7));const _0x5d5d65={};_0x5d5d65[_0x70eccc(0x1db)]=_0x913174[_0x70eccc(0x1fe)],PerformanceTester[_0x70eccc(0x1c5)](PerformanceHookEvents[_0x70eccc(0x22f)],!![],null,_0x5d5d65);}catch(_0x188f4f){PerformanceTester[_0x70eccc(0x18a)](_0x188f4f);const _0x20e383={};_0x20e383[_0x70eccc(0x1db)]=_0x913174['PavbX'],PerformanceTester[_0x70eccc(0x1af)](PerformanceHookEvents[_0x70eccc(0x22f)],![],_0x188f4f,_0x20e383);}const _0x1348f4={};_0x1348f4[_0x70eccc(0x1db)]=_0x913174[_0x70eccc(0x1fe)],PerformanceTester[_0x70eccc(0x1af)](PerformanceHookEvents[_0x70eccc(0x22f)],!![],null,_0x1348f4);}),CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x177)]['on'](CodeceptJS['event'][_0x2c2fcc(0x203)][_0x2c2fcc(0x1da)],_0x42a81a=>{const _0x32c715=_0x2c2fcc;PerformanceTester[_0x32c715(0x1c5)](PerformanceHookEvents['SDK_HOOK']);try{globals[_0x32c715(0x20f)](_0x913174[_0x32c715(0x231)],_0x42a81a[_0x32c715(0x1c4)]);_0x913174[_0x32c715(0x1df)](isBrowserstackInfra)&&(_0x4cfe14&&(global['__workerDetails']={'currentTest':{'name':_0x42a81a[_0x32c715(0x1c4)],'testInfo':{'titlePath':_0x42a81a[_0x32c715(0x15c)]()}}}));const _0x2bcf13={};_0x2bcf13[_0x32c715(0x1db)]=_0x913174[_0x32c715(0x1e5)],PerformanceTester[_0x32c715(0x1af)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x2bcf13);}catch(_0x4cbd87){PerformanceTester['captureError'](_0x4cbd87);const _0x4e077c={};_0x4e077c[_0x32c715(0x1db)]=_0x913174[_0x32c715(0x1e5)],PerformanceTester[_0x32c715(0x1af)](PerformanceHookEvents[_0x32c715(0x22f)],![],_0x4cbd87,_0x4e077c);}}),CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x177)]['on'](CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x203)][_0x2c2fcc(0x1d3)],_0x367856=>{const _0x130f5b=_0x2c2fcc,_0x44a502={'wmskn':function(_0x38db33){const _0x26202b=a1_0x2a1d;return _0x913174[_0x26202b(0x1df)](_0x38db33);},'WjkpO':function(_0x75496b,_0x30322b){const _0x4fc716=a1_0x2a1d;return _0x913174[_0x4fc716(0x21e)](_0x75496b,_0x30322b);},'xdwqm':function(_0x348b58,_0x2368ae,_0x1ccd40){const _0x5f1171=a1_0x2a1d;return _0x913174[_0x5f1171(0x1ff)](_0x348b58,_0x2368ae,_0x1ccd40);}};PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{globals[_0x130f5b(0x20f)](_0x913174[_0x130f5b(0x231)],_0x367856[_0x130f5b(0x1c4)]);const _0x33bfae=_0x5056b2[_0x130f5b(0x20d)](TEST_EVENTS['TEST_RUN_STARTED'],_0x367856);CodeceptRecorder[_0x130f5b(0x22c)](()=>_0x5056b2['fireEvent'](TEST_EVENTS[_0x130f5b(0x202)],_0x33bfae)),CodeceptRecorder[_0x130f5b(0x22c)](async()=>{const _0x3e648b=_0x130f5b;_0x44a502[_0x3e648b(0x1f8)](isBrowserstackInfra)&&(!_0x44a502[_0x3e648b(0x1ac)](isTrue,_0x5793e1[_0x3e648b(0x1f9)])&&await _0x44a502[_0x3e648b(0x225)](markSessionName,_0x1538b5,_0x367856['title']),_0x5056b2[_0x3e648b(0x1e4)]&&await _0x44a502[_0x3e648b(0x1ac)](o11ySync,_0x1538b5));});}catch(_0x2561fd){const _0x10e3b={};_0x10e3b[_0x130f5b(0x1db)]=_0x913174[_0x130f5b(0x194)],PerformanceTester['end'](PerformanceHookEvents[_0x130f5b(0x22f)],![],_0x2561fd,_0x10e3b),PerformanceTester[_0x130f5b(0x18a)](_0x2561fd);}const _0xe1bfcf={};_0xe1bfcf['hookType']=_0x913174[_0x130f5b(0x194)],PerformanceTester[_0x130f5b(0x1af)](PerformanceHookEvents[_0x130f5b(0x22f)],!![],null,_0xe1bfcf);}),CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x177)]['on'](CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x203)][_0x2c2fcc(0x1cf)],_0x4105ee=>{const _0x6da0c9=_0x2c2fcc,_0x34c25d={'sWEWd':function(_0x15031d,_0x6deb7c,_0x325d46){const _0x437877=a1_0x2a1d;return _0x913174[_0x437877(0x1ff)](_0x15031d,_0x6deb7c,_0x325d46);}};PerformanceTester[_0x6da0c9(0x1c5)](PerformanceHookEvents['SDK_HOOK']);try{const _0x295d45=_0x5056b2[_0x6da0c9(0x20d)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x4105ee);CodeceptRecorder[_0x6da0c9(0x22c)](()=>_0x5056b2[_0x6da0c9(0x201)](TEST_EVENTS[_0x6da0c9(0x1e1)],_0x295d45)),CodeceptRecorder['add'](async()=>{const _0x194c33=_0x6da0c9;_0x913174[_0x194c33(0x190)](isBrowserstackInfra)&&await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x194c33(0x1a0)],async()=>{const _0x542250=_0x194c33;_0x4cfe14?await _0x34c25d[_0x542250(0x223)](playwrightMarkSessionStatus,_0x1538b5,STATE_PASSED):await _0x34c25d[_0x542250(0x223)](markSessionStatus,_0x1538b5,STATE_PASSED);})();}),PerformanceTester[_0x6da0c9(0x1af)](PerformanceEvents[_0x6da0c9(0x19b)]);}catch(_0x37c87a){PerformanceTester[_0x6da0c9(0x18a)](_0x37c87a);const _0x4fdece={};_0x4fdece[_0x6da0c9(0x1db)]=_0x913174[_0x6da0c9(0x1b6)],PerformanceTester[_0x6da0c9(0x1af)](PerformanceHookEvents[_0x6da0c9(0x22f)],![],_0x37c87a,_0x4fdece),PerformanceTester[_0x6da0c9(0x1af)](PerformanceEvents[_0x6da0c9(0x19b)],![],_0x37c87a);}const _0x211d6e={};_0x211d6e[_0x6da0c9(0x1db)]=_0x913174[_0x6da0c9(0x1b6)],PerformanceTester[_0x6da0c9(0x1af)](PerformanceHookEvents[_0x6da0c9(0x22f)],!![],null,_0x211d6e);}),CodeceptJS[_0x2c2fcc(0x1d2)]['dispatcher']['on'](CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x203)][_0x2c2fcc(0x16e)],(_0x1b4e7e,_0x3eba51)=>{const _0x395399=_0x2c2fcc;PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{if(_0x913174[_0x395399(0x1e3)](_0x1b4e7e[_0x395399(0x178)][_0x395399(0x209)],_0x913174[_0x395399(0x1a1)])){const _0x502f64=_0x5056b2[_0x395399(0x20d)](TEST_EVENTS[_0x395399(0x224)],_0x1b4e7e[_0x395399(0x17d)]['currentTest']);CodeceptRecorder[_0x395399(0x22c)](()=>_0x5056b2[_0x395399(0x201)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x502f64));}else{const _0x4d8297=_0x5056b2[_0x395399(0x20d)](TEST_EVENTS[_0x395399(0x1e1)],_0x1b4e7e,_0x3eba51);CodeceptRecorder['add'](()=>{const _0x3c8e98=_0x395399;try{_0x5056b2['fireEvent'](TEST_EVENTS[_0x3c8e98(0x1e1)],_0x4d8297);}catch(_0x31f738){logger[_0x3c8e98(0x193)](_0x3c8e98(0x20a)+util['format'](_0x31f738)),PerformanceTester[_0x3c8e98(0x1af)](PerformanceEvents[_0x3c8e98(0x19b)],![],_0x31f738);}}),CodeceptRecorder[_0x395399(0x22c)](async()=>{const _0x1a1854=_0x395399;try{_0x913174[_0x1a1854(0x232)](isBrowserstackInfra)&&(_0x4cfe14?await _0x913174['iBflQ'](playwrightMarkSessionStatus,_0x1538b5,STATE_FAILED,_0x3eba51):await _0x913174[_0x1a1854(0x1d8)](markSessionStatus,_0x1538b5,STATE_FAILED,_0x3eba51));}catch(_0x394abb){logger['debug'](_0x1a1854(0x219)+util[_0x1a1854(0x16d)](_0x394abb)),PerformanceTester[_0x1a1854(0x1af)](PerformanceEvents[_0x1a1854(0x19b)],![],_0x394abb);}});}PerformanceTester[_0x395399(0x1af)](PerformanceEvents[_0x395399(0x19b)]);}catch(_0x2ee8e8){PerformanceTester['captureError'](_0x2ee8e8);const _0x3094b8={};_0x3094b8[_0x395399(0x1db)]=_0x913174[_0x395399(0x183)],PerformanceTester[_0x395399(0x1af)](PerformanceHookEvents['SDK_HOOK'],![],_0x2ee8e8,_0x3094b8),PerformanceTester[_0x395399(0x1af)](PerformanceEvents['SDK_TEST'],![],_0x2ee8e8);}const _0x43ee3e={};_0x43ee3e['hookType']=_0x913174['rrmpG'],PerformanceTester[_0x395399(0x1af)](PerformanceHookEvents[_0x395399(0x22f)],!![],null,_0x43ee3e);}),CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x177)]['on'](CodeceptJS['event'][_0x2c2fcc(0x203)][_0x2c2fcc(0x16a)],_0x164277=>{const _0xefd1da=_0x2c2fcc;PerformanceTester[_0xefd1da(0x1c5)](PerformanceHookEvents[_0xefd1da(0x22f)]);try{const _0x329147=_0x5056b2[_0xefd1da(0x20d)](TEST_EVENTS[_0xefd1da(0x224)],_0x164277);CodeceptRecorder[_0xefd1da(0x22c)](()=>_0x5056b2[_0xefd1da(0x201)](TEST_EVENTS[_0xefd1da(0x224)],_0x329147)),PerformanceTester[_0xefd1da(0x1af)](PerformanceEvents['SDK_TEST']);}catch(_0x200eb6){PerformanceTester[_0xefd1da(0x18a)](_0x200eb6),PerformanceTester['end'](PerformanceEvents['SDK_TEST'],![],_0x200eb6);const _0x1d7fe4={};_0x1d7fe4['hookType']=_0x913174[_0xefd1da(0x1d4)],PerformanceTester[_0xefd1da(0x1af)](PerformanceHookEvents[_0xefd1da(0x22f)],![],_0x200eb6,_0x1d7fe4);}const _0x390c79={};_0x390c79[_0xefd1da(0x1db)]=_0x913174[_0xefd1da(0x1d4)],PerformanceTester[_0xefd1da(0x1af)](PerformanceHookEvents[_0xefd1da(0x22f)],!![],null,_0x390c79);}),CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x177)]['on'](CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x203)][_0x2c2fcc(0x1c1)],async(_0x2ebb18,_0x2ce497)=>{const _0x191d55=_0x2c2fcc,_0x294174={};_0x294174[_0x191d55(0x1b1)]=_0x913174[_0x191d55(0x20c)];const _0x34fbc1=_0x294174;try{PerformanceTester[_0x191d55(0x1c5)](PerformanceHookEvents['SDK_HOOK']);if(_0x913174[_0x191d55(0x1c8)](isBrowserstackInfra)){const _0x2485d4=_0x913174[_0x191d55(0x1c7)](shouldScanTestForAccessibility,_0x2ebb18[_0x191d55(0x15c)](),!![]);if(_0x913174['jbCBr'](isAccessibilityAutomationSession)&&global[_0x191d55(0x15d)]&&_0x2485d4){const _0x185612={};_0x185612[_0x191d55(0x1f1)]=_0x2ebb18[_0x191d55(0x170)],_0x185612[_0x191d55(0x1eb)]=process['env'][testHubConstants[_0x191d55(0x1b3)][_0x191d55(0x215)]],_0x185612[_0x191d55(0x18d)]=process['env'][testHubConstants['ENV_VAR'][_0x191d55(0x1f3)]];const _0x116294=_0x185612;logger[_0x191d55(0x193)](_0x191d55(0x1aa)+JSON[_0x191d55(0x229)](_0x116294)),CodeceptRecorder['add'](async()=>{const _0x262fc3=_0x191d55,_0x12dad9={};_0x12dad9[_0x262fc3(0x1be)]=_0x34fbc1['Ftztn'],await PerformanceTester[_0x262fc3(0x1bb)](PerformanceA11yEvents[_0x262fc3(0x19e)],async()=>{const _0x47d75f=_0x262fc3;await AccessibilityHelper[_0x47d75f(0x1c9)](_0x1538b5,scripts[_0x47d75f(0x208)]);},_0x12dad9)(),await PerformanceTester[_0x262fc3(0x1bb)](PerformanceA11yEvents[_0x262fc3(0x17e)],async()=>{const _0x136e09=_0x262fc3;await AccessibilityHelper[_0x136e09(0x1c9)](_0x1538b5,scripts[_0x136e09(0x1cd)],_0x116294);})();}),logger[_0x191d55(0x168)](_0x913174['tXEPn']);}}const _0x24bc00={};_0x24bc00[_0x191d55(0x1db)]=_0x913174['SBkZL'],PerformanceTester['end'](PerformanceHookEvents[_0x191d55(0x22f)],!![],null,_0x24bc00);}catch(_0x5847da){PerformanceTester[_0x191d55(0x18a)](_0x5847da);const _0x1864aa={};_0x1864aa[_0x191d55(0x1db)]=_0x913174['SBkZL'],PerformanceTester[_0x191d55(0x1af)](PerformanceHookEvents[_0x191d55(0x22f)],![],_0x5847da,_0x1864aa);}}),CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x177)]['on'](CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x1a8)][_0x2c2fcc(0x165)],_0x19457a=>{const _0x12b3fc=_0x2c2fcc;PerformanceTester[_0x12b3fc(0x1c5)](PerformanceHookEvents['SDK_HOOK']);try{process[_0x12b3fc(0x1cc)](_0x12b3fc(0x1ae)+process['pid'],{'timestamp':new Date()[_0x12b3fc(0x22e)](),'level':_0x913174[_0x12b3fc(0x184)],'message':_0x19457a,'kind':_0x913174['PiaCF'],'http_response':{}});}catch(_0x3539d6){PerformanceTester['captureError'](_0x3539d6);const _0x3da04a={};_0x3da04a['hookType']=_0x913174[_0x12b3fc(0x1a5)],PerformanceTester['end'](PerformanceHookEvents[_0x12b3fc(0x22f)],![],_0x3539d6,_0x3da04a);}const _0x7c2c8f={};_0x7c2c8f[_0x12b3fc(0x1db)]=_0x913174[_0x12b3fc(0x1a5)],PerformanceTester[_0x12b3fc(0x1af)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x7c2c8f);}),CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x177)]['on'](CodeceptJS[_0x2c2fcc(0x1d2)]['bddStep'][_0x2c2fcc(0x1da)],_0x449756=>{const _0xe1ff66=_0x2c2fcc,_0x517815={};_0x517815[_0xe1ff66(0x1db)]=_0x913174[_0xe1ff66(0x187)],PerformanceTester['measureWrapper'](PerformanceHookEvents[_0xe1ff66(0x22f)],()=>{const _0x553f05=_0xe1ff66;_0x5056b2[_0x553f05(0x196)](_0x449756);},_0x517815)();}),CodeceptJS[_0x2c2fcc(0x1d2)]['dispatcher']['on'](CodeceptJS[_0x2c2fcc(0x1d2)]['bddStep'][_0x2c2fcc(0x1c1)],_0x19550a=>{const _0x3c8a14=_0x2c2fcc,_0x251bed={};_0x251bed['hookType']=_0x913174[_0x3c8a14(0x163)],PerformanceTester['measureWrapper'](PerformanceHookEvents[_0x3c8a14(0x22f)],()=>{_0x5056b2['bddStepFinish'](_0x19550a);},_0x251bed)();});};
|
|
1
|
+
function a1_0x254d(){const _0x3134c0=['after','IHQRY','SDK_PRE_TEST','HVimO','dispatcher','bddStepFinish','test-before','CmVFS','SDK_TEST','add','14miGMmN','../../helpers/accessibility-automation/helper','DMdTR','kJIVS','../../helpers/globals.js','setGlobal','WOydo','performScan','start','helpers','browserStackExecuteDriver','fireEvent','skipSessionStatus','LFIAi','RlJCd','class','ejOFk','Wcsay','titlePath','KIVzC','1713795CUQGqo','skipped','ctx','mYDZY','hookType','sGnZR','SDK_POST_INITIALIZE','exports','./helper.js','__skipSessionStatus','fcjvQ','918862OushWn','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','event','executeScript','bddStepStart','readFileSync','stopMonitoring','bs:addLog:','forEach','6788320VGpRpM','xWLpw','browserstack_executor:\x20','Puppeteer','../../helpers/helper','../../helpers/testhub/constants.js','currentTest','title','SDK_POST_TEST','step-comment','../../helpers/performance/constants','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','Screenshot\x20path\x20not\x20found','DrzgU','HOOK_RUN_FINISHED','../../helpers/test-observability/utils','LnUtg','Element','emit','VkCty','BROWSERSTACK_TESTHUB_JWT','setSessionName','pid','TEST_SCREENSHOT','SAVE_RESULTS','TEST_RUN_SKIPPED','thBuildUuid','uMDON','initSaveScreenshot','../../bin/playwright/sessionDetails','../../helpers/performance/performance-tester','hook-passed','setSessionStatus','then','EgqZZ','catch','patchSaveScreenshot','SFSGu','arguments','captureError','bstackAllyScanning','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','JCoWj','name','restore','passed','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','hook-started','test-started','browserstackTestName','GET_RESULTS','SESSION_STATUS','OacKD','mEtAY','before','XPYPD','info','./o11yHelper','accessibilityPlatform','bJVer','measureWrapper','nrwPS','codeceptjs/lib/helper/Playwright.js','screenshotOutputFolder','39961ziPEHn','getResults','constructor','shouldWrapCommand','RgcQU','UxmKW','getResultsSummary','boEKQ','getAccessibilityResults','captureEvent','kTYTR','RfPfB','overwriteCommand','ekgce','bVchJ','hook-failed','getSyncScript','iuCII','UBTUN','format','JXJVb','testAnalyticsId','MbqSR','SDK_HOOK','container','thJwtToken','PERFORM_SCAN','test','WebDriver','8452071gusVuf','hook','test-passed','stop','skipSessionName','bddStep-before','KSZOs','status','WSvpo','__workerDetails','1335VZKFjY','../../helpers/logger','ijojy','failed','all','end','TEST_RUN_STARTED','INFO','debug','getAccessibilityResultsSummary','enabled','codeceptjs/lib/index.js','TEST_RUN_FINISHED','saveScreenshot','test-failed','KiLXG','step','stringify','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','tGNRT','dewNj','apply','HOOK_RUN_STARTED','ZrOBQ','saveTestResults','startMonitoring','Playwright','command','SnSgO','toISOString','BROWSERSTACK_TESTHUB_UUID','VHvxK','dVCGB','base64','fKyyu','contexts','dmddN','TestCafe','HuIMa','env','browser','codeceptjs','test-after','ZjyoL','_before','prototype','SDK_PRE_INITIALIZE','nZKKe','find','commandsToWrap','TEST_LOG','call','ENV_VAR','XGRqO','started','3272HZhpCz','action','3534150MvUaEi','BS_TESTOPS_ALLOW_SCREENSHOTS'];a1_0x254d=function(){return _0x3134c0;};return a1_0x254d();}function a1_0x4120(_0x1ef2ac,_0x41c3bc){const _0x254d4d=a1_0x254d();return a1_0x4120=function(_0x412038,_0x23be4f){_0x412038=_0x412038-0x1bb;let _0x5897de=_0x254d4d[_0x412038];return _0x5897de;},a1_0x4120(_0x1ef2ac,_0x41c3bc);}const a1_0x2d1b82=a1_0x4120;(function(_0x3d552b,_0x54337b){const _0x5daaac=a1_0x4120,_0x3aa588=_0x3d552b();while(!![]){try{const _0x350b36=-parseInt(_0x5daaac(0x208))/0x1*(-parseInt(_0x5daaac(0x274))/0x2)+parseInt(_0x5daaac(0x288))/0x3+parseInt(_0x5daaac(0x266))/0x4*(parseInt(_0x5daaac(0x22f))/0x5)+-parseInt(_0x5daaac(0x268))/0x6+-parseInt(_0x5daaac(0x1bf))/0x7+-parseInt(_0x5daaac(0x1c8))/0x8+parseInt(_0x5daaac(0x225))/0x9;if(_0x350b36===_0x54337b)break;else _0x3aa588['push'](_0x3aa588['shift']());}catch(_0x40cb10){_0x3aa588['push'](_0x3aa588['shift']());}}}(a1_0x254d,0x6b586));const fs=require('fs'),util=require('util'),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x2d1b82(0x1cc)),logger=require(a1_0x2d1b82(0x230))['winstonLogger'],testOpsHelper=require(a1_0x2d1b82(0x1d7)),requestSpy=require('../../helpers/request-spy'),PlaywrightSessionDetails=require(a1_0x2d1b82(0x1e5)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x2d1b82(0x201)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x2d1b82(0x275)),AccessibilityHelper=require('../../bin/playwright/accessibility-helper'),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a1_0x2d1b82(0x1e6)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x2d1b82(0x1d2)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x2d1b82(0x1bc)),testHubConstants=require(a1_0x2d1b82(0x1cd)),globals=require(a1_0x2d1b82(0x278)),CodeceptJS=requireModule(a1_0x2d1b82(0x23a),a1_0x2d1b82(0x258)),CodeceptUtils=requireModule('codeceptjs/lib/utils.js','codeceptjs'),CodeceptWebDriver=requireModule('codeceptjs/lib/helper/WebDriver.js',a1_0x2d1b82(0x258)),CodeceptRecorder=requireModule('codeceptjs/lib/recorder.js',a1_0x2d1b82(0x258)),CodeceptPlaywright=requireModule(a1_0x2d1b82(0x206),'codeceptjs'),playwrightMarkSessionStatus=(_0x891aa7,_0x1156cd,_0x1a383e)=>{const _0x28103b=a1_0x2d1b82,_0x27cb17={'nrwPS':_0x28103b(0x1e8),'MDxaN':function(_0x3ceb0d,_0x1df834){return _0x3ceb0d(_0x1df834);}},_0xa61408={};_0xa61408[_0x28103b(0x22c)]=_0x1156cd;const _0x3aa980={};_0x3aa980[_0x28103b(0x267)]=_0x27cb17[_0x28103b(0x205)],_0x3aa980[_0x28103b(0x1ee)]=_0xa61408;const _0x385f0e=_0x3aa980;return!_0x27cb17['MDxaN'](isUndefined,_0x1a383e)&&(_0x385f0e[_0x28103b(0x1ee)]['reason']=JSON['stringify'](_0x1a383e)),_0x891aa7[_0x28103b(0x1c2)](()=>{},_0x28103b(0x1ca)+JSON[_0x28103b(0x240)](_0x385f0e));},o11ySync=PerformanceTester['measureWrapper'](PerformanceO11yEvents['SYNC'],async _0x4977af=>{const _0x47b5a4=a1_0x2d1b82,_0x10ba8e={};_0x10ba8e['dmddN']=function(_0x4c05b0,_0x4cbf2d){return _0x4c05b0===_0x4cbf2d;},_0x10ba8e['SnSgO']=_0x47b5a4(0x249);const _0x29b766=_0x10ba8e;_0x29b766[_0x47b5a4(0x253)](_0x4977af['constructor'][_0x47b5a4(0x1f3)],_0x29b766[_0x47b5a4(0x24b)])?await _0x4977af[_0x47b5a4(0x1c2)](_0x54766a=>{},testOpsHelper[_0x47b5a4(0x218)]()):await _0x4977af[_0x47b5a4(0x1c2)](testOpsHelper[_0x47b5a4(0x218)]());}),markSessionName=PerformanceTester[a1_0x2d1b82(0x204)](PerformanceAutEvents['SESSION_NAME'],async(_0x125ceb,_0x51e0cf)=>{const _0x1d2fea=a1_0x2d1b82,_0x4b82de={};_0x4b82de[_0x1d2fea(0x1fc)]=_0x1d2fea(0x1dd),_0x4b82de[_0x1d2fea(0x1be)]=function(_0x2d8c6d,_0x1b3585){return _0x2d8c6d===_0x1b3585;},_0x4b82de[_0x1d2fea(0x212)]='Playwright';const _0xd07c7b=_0x4b82de,_0x464165={};_0x464165[_0x1d2fea(0x1f3)]=_0x51e0cf;const _0x16acf1={};_0x16acf1[_0x1d2fea(0x267)]=_0xd07c7b[_0x1d2fea(0x1fc)],_0x16acf1[_0x1d2fea(0x1ee)]=_0x464165;const _0x34ba5b=_0x16acf1;_0xd07c7b[_0x1d2fea(0x1be)](_0x125ceb['constructor'][_0x1d2fea(0x1f3)],_0xd07c7b['kTYTR'])?await _0x125ceb['executeScript'](()=>{},_0x1d2fea(0x1ca)+JSON[_0x1d2fea(0x240)](_0x34ba5b)):await _0x125ceb[_0x1d2fea(0x1c2)](_0x1d2fea(0x1ca)+JSON[_0x1d2fea(0x240)](_0x34ba5b));}),patchSaveScreenshot=_0x4b0014=>{const _0x4fe8a4=a1_0x2d1b82,_0x256306={'gCPWU':_0x4fe8a4(0x250),'xWLpw':_0x4fe8a4(0x1df),'uMDON':function(_0x48c1a5){return _0x48c1a5();},'XPYPD':function(_0x1099f4,_0x2ac796){return _0x1099f4(_0x2ac796);},'HuIMa':_0x4fe8a4(0x1d4),'Wcsay':function(_0xb733e3,_0x684ec8){return _0xb733e3(_0x684ec8);}};_0x256306[_0x4fe8a4(0x285)](isTrue,process[_0x4fe8a4(0x256)][_0x4fe8a4(0x269)])&&!_0x4b0014[_0x4fe8a4(0x1ec)]&&(_0x4b0014[_0x4fe8a4(0x1ec)]=!![],_0x4b0014[_0x4fe8a4(0x1e4)]=_0x4b0014[_0x4fe8a4(0x23c)],_0x4b0014[_0x4fe8a4(0x23c)]=(_0x4d2265,_0x3a6786=![])=>{const _0x24f221=_0x4fe8a4,_0x12cbdc={'DMdTR':_0x256306['gCPWU'],'bVchJ':_0x256306[_0x24f221(0x1c9)],'JXJVb':function(_0x8c8780){const _0x15a4aa=_0x24f221;return _0x256306[_0x15a4aa(0x1e3)](_0x8c8780);},'wUafn':function(_0x51e5f9,_0x1c43d5){const _0x5cdd81=_0x24f221;return _0x256306[_0x5cdd81(0x1ff)](_0x51e5f9,_0x1c43d5);},'dVCGB':_0x256306[_0x24f221(0x255)]};return new Promise(function(_0x45e440,_0x2462f3){const _0x3f5858=_0x24f221;_0x4b0014['initSaveScreenshot'](_0x4d2265,_0x3a6786)[_0x3f5858(0x1e9)](()=>{const _0x5c9b7f=_0x3f5858,_0x1ddc7b=CodeceptUtils[_0x5c9b7f(0x207)](_0x4d2265);if(_0x1ddc7b){const _0x3250a6=fs[_0x5c9b7f(0x1c4)](_0x1ddc7b);process[_0x5c9b7f(0x1da)]('bs:addLog:'+process['pid'],{'timestamp':new Date()[_0x5c9b7f(0x24c)](),'message':_0x3250a6['toString'](_0x12cbdc[_0x5c9b7f(0x276)]),'kind':_0x12cbdc[_0x5c9b7f(0x216)]}),_0x12cbdc[_0x5c9b7f(0x21c)](_0x45e440);}_0x12cbdc['wUafn'](_0x2462f3,new Error(_0x12cbdc[_0x5c9b7f(0x24f)]));})[_0x3f5858(0x1eb)](()=>null);});});},patchWebDriverBefore=_0x1dcc33=>{const _0x101be2=a1_0x2d1b82,_0x214a35={'QmNhF':function(_0x2bda81){return _0x2bda81();},'nZKKe':function(_0x789971,_0x3238e9){return _0x789971(_0x3238e9);},'UxmKW':function(_0x574b63,_0x47b767){return _0x574b63===_0x47b767;},'ZjyoL':_0x101be2(0x1d9)},_0x58df67=async function(_0x104a2a,_0x4c8751){const _0x1cba81=_0x101be2;return _0x214a35['QmNhF'](isAccessibilityAutomationSession)&&!global['bstackAllyScanning']&&global[_0x1cba81(0x202)]&&scripts[_0x1cba81(0x20b)](_0x104a2a[_0x1cba81(0x1f3)])&&_0x214a35[_0x1cba81(0x25e)](shouldPatchExecuteScript,arguments[0x2])&&(global['bstackAllyScanning']=!![],await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x8c8e1=_0x1cba81;logger[_0x8c8e1(0x237)]('Performing\x20scan\x20for\x20'+_0x104a2a[_0x8c8e1(0x283)]+'\x20'+_0x104a2a[_0x8c8e1(0x1f3)]),await AccessibilityHelper[_0x8c8e1(0x27e)](_0x1dcc33,scripts['performScan']);},{'command':_0x104a2a['name']})()),global[_0x1cba81(0x1f0)]=![],_0x4c8751[_0x1cba81(0x244)](this,Array[_0x1cba81(0x25c)]['slice'][_0x1cba81(0x262)](arguments,0x2));},_0x2ac7d9=CodeceptWebDriver[_0x101be2(0x25c)][_0x101be2(0x25b)];CodeceptWebDriver[_0x101be2(0x25c)][_0x101be2(0x25b)]=async function(){const _0x33c832=_0x101be2;try{await _0x2ac7d9[_0x33c832(0x244)](this,arguments);}catch(_0x3e5d07){logger[_0x33c832(0x237)]('Failed\x20to\x20execute\x20_before:\x20'+util[_0x33c832(0x21b)](_0x3e5d07));}scripts[_0x33c832(0x260)]['filter'](_0x23b4ba=>_0x23b4ba['name']&&_0x23b4ba['class'])[_0x33c832(0x1c7)](_0x3bef35=>{const _0x5baadd=_0x33c832;this[_0x5baadd(0x257)][_0x5baadd(0x214)](_0x3bef35[_0x5baadd(0x1f3)],_0x58df67['bind'](this,_0x3bef35),_0x214a35[_0x5baadd(0x20d)](_0x3bef35[_0x5baadd(0x283)],_0x214a35[_0x5baadd(0x25a)]));}),_0x214a35[_0x33c832(0x25e)](processWebDriverConfig,_0x1dcc33);};},patchPlaywrightBefore=()=>{const _0x3db36b=a1_0x2d1b82;PlaywrightSessionDetails['patch']();const _0x40826a=CodeceptPlaywright[_0x3db36b(0x25c)][_0x3db36b(0x25b)];CodeceptPlaywright['prototype']['_before']=async function(){const _0x55a054=_0x3db36b;this['browserContext']=await this[_0x55a054(0x257)][_0x55a054(0x252)]()[0x0],await _0x40826a['apply'](this,arguments);};},getCodeceptDriver=()=>{const _0x418582=a1_0x2d1b82,_0x8ddc4e={};_0x8ddc4e[_0x418582(0x20f)]=_0x418582(0x224),_0x8ddc4e[_0x418582(0x1d8)]='Playwright',_0x8ddc4e[_0x418582(0x246)]=_0x418582(0x1cb),_0x8ddc4e[_0x418582(0x26d)]=_0x418582(0x254);const _0x4572f9=_0x8ddc4e,_0x330afb=[_0x4572f9[_0x418582(0x20f)],_0x4572f9[_0x418582(0x1d8)],_0x4572f9[_0x418582(0x246)],_0x4572f9[_0x418582(0x26d)]],_0x5bcb1a=_0x330afb[_0x418582(0x25f)](_0x404ccf=>!!CodeceptJS['container'][_0x418582(0x27d)](_0x404ccf));if(!_0x5bcb1a)return null;return CodeceptJS[_0x418582(0x220)]['helpers'](_0x5bcb1a);};module[a1_0x2d1b82(0x1bb)]=function(_0xe22885){const _0x4b3257=a1_0x2d1b82,_0x270b9f={'sGnZR':function(_0x5ce1cd){return _0x5ce1cd();},'UBTUN':function(_0x45ec6c,_0x25d73b){return _0x45ec6c(_0x25d73b);},'tNwUk':_0x4b3257(0x238),'ijojy':_0x4b3257(0x1c0),'WSvpo':'getAccessibilityResults','LFIAi':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','VHvxK':function(_0x44ba2f,_0x2145ee){return _0x44ba2f(_0x2145ee);},'XGRqO':_0x4b3257(0x1f7),'DrzgU':_0x4b3257(0x1e7),'CmVFS':_0x4b3257(0x217),'MbqSR':_0x4b3257(0x1f9),'tGNRT':_0x4b3257(0x270),'ZPMSm':function(_0x4d8e8c){return _0x4d8e8c();},'RlJCd':function(_0x1f5014,_0x222270,_0x4699e1){return _0x1f5014(_0x222270,_0x4699e1);},'iuCII':_0x4b3257(0x1f8),'KSZOs':_0x4b3257(0x227),'KiLXG':function(_0x5d8937){return _0x5d8937();},'JCoWj':function(_0x47f0bc,_0x87e1dc,_0x35317b,_0x38572d){return _0x47f0bc(_0x87e1dc,_0x35317b,_0x38572d);},'mYDZY':function(_0x5061eb,_0x37be33){return _0x5061eb===_0x37be33;},'RgcQU':'Suite','bJVer':_0x4b3257(0x23d),'SFSGu':'test-skipped','IHQRY':'afterTest','fKyyu':function(_0x13030d){return _0x13030d();},'ekgce':function(_0x396536,_0x26deee,_0x4de796){return _0x396536(_0x26deee,_0x4de796);},'VkCty':function(_0x17e3bf){return _0x17e3bf();},'EgqZZ':_0x4b3257(0x1d3),'dHCAz':_0x4b3257(0x259),'ejOFk':_0x4b3257(0x236),'mEtAY':_0x4b3257(0x261),'dewNj':_0x4b3257(0x1d1),'WOydo':_0x4b3257(0x22a),'wIbNI':'bddStep-after','GTHor':function(_0x75d377){return _0x75d377();},'KIVzC':'Playwright'};_0xe22885[_0x4b3257(0x280)]&&(global[_0x4b3257(0x1bd)]=_0xe22885[_0x4b3257(0x280)]);PerformanceTester[_0x4b3257(0x248)]();const _0x3304eb=_0x270b9f['GTHor'](getCodeceptDriver),_0x298341=new O11yHelper(_0x3304eb,_0xe22885),_0x371617=!!CodeceptJS[_0x4b3257(0x220)][_0x4b3257(0x27d)](_0x270b9f[_0x4b3257(0x287)]);global['__driver']=_0x3304eb,_0x3304eb&&(PerformanceTester[_0x4b3257(0x204)](PerformanceEvents[_0x4b3257(0x25d)],()=>{const _0x95355f=_0x4b3257;_0x371617?_0x270b9f[_0x95355f(0x28d)](patchPlaywrightBefore):_0x270b9f['UBTUN'](patchWebDriverBefore,_0x3304eb);})(),PerformanceTester[_0x4b3257(0x204)](PerformanceEvents[_0x4b3257(0x28e)],()=>{const _0xc9e6d6=_0x4b3257;_0x3304eb['getAccessibilityResultsSummary']=async()=>{const _0x508a72=a1_0x4120;if(global['accessibilityPlatform']){const _0x4b3ed0={};_0x4b3ed0[_0x508a72(0x24a)]=_0x270b9f['tNwUk'],await PerformanceTester[_0x508a72(0x204)](PerformanceA11yEvents[_0x508a72(0x222)],async()=>{const _0x2aa6f9=_0x508a72;await AccessibilityHelper['browserStackExecuteDriver'](_0x3304eb,scripts[_0x2aa6f9(0x27b)]);},_0x4b3ed0)(),await PerformanceTester[_0x508a72(0x204)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x43aaae=_0x508a72;await AccessibilityHelper[_0x43aaae(0x27e)](_0x3304eb,scripts[_0x43aaae(0x20e)]);})();}else return logger['warn'](_0x270b9f[_0x508a72(0x231)]),{};},_0x3304eb[_0xc9e6d6(0x210)]=async()=>{const _0x403123=_0xc9e6d6;if(global['accessibilityPlatform']){const _0x3c83fa={};_0x3c83fa[_0x403123(0x24a)]=_0x270b9f[_0x403123(0x22d)],await PerformanceTester[_0x403123(0x204)](PerformanceA11yEvents[_0x403123(0x222)],async()=>{const _0x3621bb=_0x403123;await AccessibilityHelper[_0x3621bb(0x27e)](_0x3304eb,scripts[_0x3621bb(0x27b)]);},_0x3c83fa)(),await PerformanceTester[_0x403123(0x204)](PerformanceA11yEvents[_0x403123(0x1fa)],async()=>{const _0x5524d9=_0x403123;await AccessibilityHelper[_0x5524d9(0x27e)](_0x3304eb,scripts[_0x5524d9(0x209)]);})();}else return logger['warn'](_0x270b9f[_0x403123(0x281)]),{};},_0x270b9f[_0xc9e6d6(0x24e)](patchSaveScreenshot,_0x3304eb);})()),CodeceptJS[_0x4b3257(0x1c1)]['dispatcher']['on'](CodeceptJS[_0x4b3257(0x1c1)]['all'][_0x4b3257(0x1fe)],()=>{const _0x496f2c=_0x4b3257;PerformanceTester[_0x496f2c(0x27c)](PerformanceEvents[_0x496f2c(0x26c)]);try{_0x298341['start'](),testOpsHelper['addRequestSpy'](),PerformanceTester[_0x496f2c(0x234)](PerformanceEvents[_0x496f2c(0x26c)]);}catch(_0x3fba45){PerformanceTester[_0x496f2c(0x1ef)](_0x3fba45),PerformanceTester[_0x496f2c(0x234)](PerformanceEvents[_0x496f2c(0x26c)],![],_0x3fba45);}}),CodeceptJS[_0x4b3257(0x1c1)][_0x4b3257(0x26e)]['on'](CodeceptJS[_0x4b3257(0x1c1)][_0x4b3257(0x233)][_0x4b3257(0x26a)],async()=>{const _0x3bf7dd=_0x4b3257;PerformanceTester[_0x3bf7dd(0x27c)](PerformanceEvents[_0x3bf7dd(0x1d0)]);try{requestSpy[_0x3bf7dd(0x1f4)](),await _0x298341[_0x3bf7dd(0x228)](),PerformanceTester[_0x3bf7dd(0x234)](PerformanceEvents[_0x3bf7dd(0x1d0)]);}catch(_0x16bc79){PerformanceTester[_0x3bf7dd(0x1ef)](_0x16bc79),PerformanceTester[_0x3bf7dd(0x234)](PerformanceEvents[_0x3bf7dd(0x1d0)],![],_0x16bc79);}finally{PerformanceTester[_0x3bf7dd(0x1c5)]();}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x4b3257(0x1c1)][_0x4b3257(0x226)][_0x4b3257(0x265)],_0x1a2248=>{const _0x324b52=_0x4b3257;PerformanceTester['start'](PerformanceEvents['SDK_HOOK']);try{const _0x1f1f93=_0x1a2248['ctx'][_0x324b52(0x223)],_0x15e781=_0x298341[_0x324b52(0x211)](TEST_EVENTS[_0x324b52(0x245)],_0x1f1f93);CodeceptRecorder[_0x324b52(0x273)](()=>_0x298341[_0x324b52(0x27f)](TEST_EVENTS[_0x324b52(0x245)],_0x15e781));const _0x57313a={};_0x57313a['hookType']=_0x270b9f[_0x324b52(0x264)],PerformanceTester[_0x324b52(0x234)](PerformanceEvents[_0x324b52(0x21f)],!![],null,_0x57313a);}catch(_0x1e7989){const _0x5d92bc={};_0x5d92bc[_0x324b52(0x28c)]=_0x270b9f['XGRqO'],PerformanceTester[_0x324b52(0x234)](PerformanceEvents[_0x324b52(0x21f)],![],_0x1e7989,_0x5d92bc),PerformanceTester[_0x324b52(0x1ef)](_0x1e7989);}}),CodeceptJS[_0x4b3257(0x1c1)]['dispatcher']['on'](CodeceptJS[_0x4b3257(0x1c1)][_0x4b3257(0x226)][_0x4b3257(0x1f5)],_0x5d0e33=>{const _0x4074f6=_0x4b3257,_0x54e2f7={};_0x54e2f7[_0x4074f6(0x28c)]=_0x270b9f[_0x4074f6(0x1d5)],PerformanceTester[_0x4074f6(0x27c)](PerformanceHookEvents[_0x4074f6(0x21f)],!![],null,_0x54e2f7);try{const _0x45a545=_0x5d0e33[_0x4074f6(0x28a)][_0x4074f6(0x223)],_0x208393=_0x298341[_0x4074f6(0x211)](TEST_EVENTS[_0x4074f6(0x1d6)],_0x45a545);CodeceptRecorder['add'](()=>_0x298341[_0x4074f6(0x27f)](TEST_EVENTS[_0x4074f6(0x1d6)],_0x208393));const _0x480fde={};_0x480fde[_0x4074f6(0x28c)]=_0x270b9f[_0x4074f6(0x1d5)],PerformanceTester[_0x4074f6(0x234)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x480fde);}catch(_0x3504c8){PerformanceTester[_0x4074f6(0x1ef)](_0x3504c8);const _0x5d7e82={};_0x5d7e82[_0x4074f6(0x28c)]=_0x270b9f[_0x4074f6(0x1d5)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x3504c8,_0x5d7e82);}}),CodeceptJS[_0x4b3257(0x1c1)][_0x4b3257(0x26e)]['on'](CodeceptJS[_0x4b3257(0x1c1)]['hook']['failed'],async(_0x10f57d,_0x2e5426)=>{const _0x106951=_0x4b3257;PerformanceTester[_0x106951(0x27c)](PerformanceHookEvents[_0x106951(0x21f)]);try{const _0x35232b=_0x10f57d[_0x106951(0x28a)]['test'],_0xa3b41=_0x298341[_0x106951(0x211)](TEST_EVENTS[_0x106951(0x1d6)],_0x35232b,_0x2e5426);CodeceptRecorder[_0x106951(0x273)](()=>_0x298341[_0x106951(0x27f)](TEST_EVENTS[_0x106951(0x1d6)],_0xa3b41));const _0x29abad={};_0x29abad[_0x106951(0x28c)]=_0x270b9f['CmVFS'],PerformanceTester[_0x106951(0x27c)](PerformanceHookEvents[_0x106951(0x21f)],!![],null,_0x29abad);}catch(_0x15a8cf){PerformanceTester[_0x106951(0x1ef)](_0x15a8cf);const _0x200ab2={};_0x200ab2[_0x106951(0x28c)]=_0x270b9f[_0x106951(0x271)],PerformanceTester[_0x106951(0x234)](PerformanceHookEvents[_0x106951(0x21f)],![],_0x15a8cf,_0x200ab2);}const _0x5aac38={};_0x5aac38[_0x106951(0x28c)]=_0x270b9f[_0x106951(0x271)],PerformanceTester[_0x106951(0x234)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x5aac38);}),CodeceptJS['event'][_0x4b3257(0x26e)]['on'](CodeceptJS[_0x4b3257(0x1c1)][_0x4b3257(0x223)][_0x4b3257(0x1fe)],_0x17f883=>{const _0x12d445=_0x4b3257;PerformanceTester[_0x12d445(0x27c)](PerformanceHookEvents[_0x12d445(0x21f)]);try{globals[_0x12d445(0x279)](_0x270b9f[_0x12d445(0x21e)],_0x17f883[_0x12d445(0x1cf)]);_0x270b9f[_0x12d445(0x28d)](isBrowserstackInfra)&&(_0x371617&&(global[_0x12d445(0x22e)]={'currentTest':{'name':_0x17f883[_0x12d445(0x1cf)],'testInfo':{'titlePath':_0x17f883[_0x12d445(0x286)]()}}}));const _0x1f8469={};_0x1f8469[_0x12d445(0x28c)]=_0x270b9f[_0x12d445(0x242)],PerformanceTester[_0x12d445(0x234)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x1f8469);}catch(_0x253afd){PerformanceTester['captureError'](_0x253afd);const _0x149b30={};_0x149b30[_0x12d445(0x28c)]=_0x270b9f['tGNRT'],PerformanceTester['end'](PerformanceHookEvents[_0x12d445(0x21f)],![],_0x253afd,_0x149b30);}}),CodeceptJS[_0x4b3257(0x1c1)][_0x4b3257(0x26e)]['on'](CodeceptJS[_0x4b3257(0x1c1)]['test'][_0x4b3257(0x265)],_0x2473c5=>{const _0x2ed8a4=_0x4b3257;PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{globals['setGlobal'](_0x270b9f['MbqSR'],_0x2473c5[_0x2ed8a4(0x1cf)]);const _0xfc1d90=_0x298341[_0x2ed8a4(0x211)](TEST_EVENTS[_0x2ed8a4(0x235)],_0x2473c5);CodeceptRecorder[_0x2ed8a4(0x273)](()=>_0x298341[_0x2ed8a4(0x27f)](TEST_EVENTS[_0x2ed8a4(0x235)],_0xfc1d90)),CodeceptRecorder[_0x2ed8a4(0x273)](async()=>{const _0x41429c=_0x2ed8a4;_0x270b9f['ZPMSm'](isBrowserstackInfra)&&(!_0x270b9f[_0x41429c(0x21a)](isTrue,_0xe22885[_0x41429c(0x229)])&&await _0x270b9f['RlJCd'](markSessionName,_0x3304eb,_0x2473c5[_0x41429c(0x1cf)]),_0x298341[_0x41429c(0x239)]&&await _0x270b9f[_0x41429c(0x21a)](o11ySync,_0x3304eb));});}catch(_0xada882){const _0x405480={};_0x405480[_0x2ed8a4(0x28c)]=_0x270b9f['iuCII'],PerformanceTester[_0x2ed8a4(0x234)](PerformanceHookEvents['SDK_HOOK'],![],_0xada882,_0x405480),PerformanceTester[_0x2ed8a4(0x1ef)](_0xada882);}const _0x56e922={};_0x56e922[_0x2ed8a4(0x28c)]=_0x270b9f[_0x2ed8a4(0x219)],PerformanceTester[_0x2ed8a4(0x234)](PerformanceHookEvents[_0x2ed8a4(0x21f)],!![],null,_0x56e922);}),CodeceptJS['event'][_0x4b3257(0x26e)]['on'](CodeceptJS[_0x4b3257(0x1c1)][_0x4b3257(0x223)]['passed'],_0x578471=>{const _0xe6833f=_0x4b3257;PerformanceTester[_0xe6833f(0x27c)](PerformanceHookEvents['SDK_HOOK']);try{const _0x404120=_0x298341['captureEvent'](TEST_EVENTS[_0xe6833f(0x23b)],_0x578471);CodeceptRecorder[_0xe6833f(0x273)](()=>_0x298341[_0xe6833f(0x27f)](TEST_EVENTS[_0xe6833f(0x23b)],_0x404120)),CodeceptRecorder[_0xe6833f(0x273)](async()=>{const _0x176cce=_0xe6833f,_0x5244d2={'HZdJv':function(_0x14b4b1,_0x51c36e,_0x3f6c63){const _0x295dcd=a1_0x4120;return _0x270b9f[_0x295dcd(0x282)](_0x14b4b1,_0x51c36e,_0x3f6c63);},'kJIVS':function(_0x24d9b0,_0x11deed,_0xf65d34){const _0x13dd80=a1_0x4120;return _0x270b9f[_0x13dd80(0x282)](_0x24d9b0,_0x11deed,_0xf65d34);}};_0x270b9f[_0x176cce(0x28d)](isBrowserstackInfra)&&await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x176cce(0x1fb)],async()=>{const _0x24deb9=_0x176cce;_0x371617?await _0x5244d2['HZdJv'](playwrightMarkSessionStatus,_0x3304eb,STATE_PASSED):await _0x5244d2[_0x24deb9(0x277)](markSessionStatus,_0x3304eb,STATE_PASSED);})();}),PerformanceTester[_0xe6833f(0x234)](PerformanceEvents[_0xe6833f(0x272)]);}catch(_0x53a40){PerformanceTester['captureError'](_0x53a40);const _0x276725={};_0x276725['hookType']=_0x270b9f[_0xe6833f(0x22b)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x53a40,_0x276725),PerformanceTester[_0xe6833f(0x234)](PerformanceEvents[_0xe6833f(0x272)],![],_0x53a40);}const _0x1ae7c4={};_0x1ae7c4['hookType']=_0x270b9f[_0xe6833f(0x22b)],PerformanceTester[_0xe6833f(0x234)](PerformanceHookEvents[_0xe6833f(0x21f)],!![],null,_0x1ae7c4);}),CodeceptJS[_0x4b3257(0x1c1)]['dispatcher']['on'](CodeceptJS[_0x4b3257(0x1c1)]['test'][_0x4b3257(0x232)],(_0xeb626e,_0x317f18)=>{const _0x12dea6=_0x4b3257;PerformanceTester['start'](PerformanceHookEvents[_0x12dea6(0x21f)]);try{if(_0x270b9f[_0x12dea6(0x28b)](_0xeb626e[_0x12dea6(0x20a)][_0x12dea6(0x1f3)],_0x270b9f[_0x12dea6(0x20c)])){const _0x18d9c1=_0x298341[_0x12dea6(0x211)](TEST_EVENTS[_0x12dea6(0x1e1)],_0xeb626e[_0x12dea6(0x28a)][_0x12dea6(0x1ce)]);CodeceptRecorder[_0x12dea6(0x273)](()=>_0x298341[_0x12dea6(0x27f)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x18d9c1));}else{const _0x2cee34=_0x298341[_0x12dea6(0x211)](TEST_EVENTS['TEST_RUN_FINISHED'],_0xeb626e,_0x317f18);CodeceptRecorder['add'](()=>{const _0x1ec3b7=_0x12dea6;try{_0x298341[_0x1ec3b7(0x27f)](TEST_EVENTS[_0x1ec3b7(0x23b)],_0x2cee34);}catch(_0x32f2fe){logger['debug'](_0x1ec3b7(0x1f6)+util[_0x1ec3b7(0x21b)](_0x32f2fe)),PerformanceTester[_0x1ec3b7(0x234)](PerformanceEvents[_0x1ec3b7(0x272)],![],_0x32f2fe);}}),CodeceptRecorder[_0x12dea6(0x273)](async()=>{const _0x3f54fb=_0x12dea6;try{_0x270b9f[_0x3f54fb(0x23e)](isBrowserstackInfra)&&(_0x371617?await _0x270b9f[_0x3f54fb(0x1f2)](playwrightMarkSessionStatus,_0x3304eb,STATE_FAILED,_0x317f18):await _0x270b9f[_0x3f54fb(0x1f2)](markSessionStatus,_0x3304eb,STATE_FAILED,_0x317f18));}catch(_0x3a7e3f){logger[_0x3f54fb(0x237)](_0x3f54fb(0x1f1)+util[_0x3f54fb(0x21b)](_0x3a7e3f)),PerformanceTester[_0x3f54fb(0x234)](PerformanceEvents['SDK_TEST'],![],_0x3a7e3f);}});}PerformanceTester[_0x12dea6(0x234)](PerformanceEvents[_0x12dea6(0x272)]);}catch(_0x3f7262){PerformanceTester[_0x12dea6(0x1ef)](_0x3f7262);const _0x5433dd={};_0x5433dd['hookType']=_0x270b9f[_0x12dea6(0x203)],PerformanceTester[_0x12dea6(0x234)](PerformanceHookEvents[_0x12dea6(0x21f)],![],_0x3f7262,_0x5433dd),PerformanceTester['end'](PerformanceEvents[_0x12dea6(0x272)],![],_0x3f7262);}const _0x506443={};_0x506443[_0x12dea6(0x28c)]=_0x270b9f[_0x12dea6(0x203)],PerformanceTester[_0x12dea6(0x234)](PerformanceHookEvents[_0x12dea6(0x21f)],!![],null,_0x506443);}),CodeceptJS[_0x4b3257(0x1c1)][_0x4b3257(0x26e)]['on'](CodeceptJS[_0x4b3257(0x1c1)]['test'][_0x4b3257(0x289)],_0x3021e8=>{const _0x3bc107=_0x4b3257;PerformanceTester[_0x3bc107(0x27c)](PerformanceHookEvents[_0x3bc107(0x21f)]);try{const _0x3bacb4=_0x298341[_0x3bc107(0x211)](TEST_EVENTS[_0x3bc107(0x1e1)],_0x3021e8);CodeceptRecorder[_0x3bc107(0x273)](()=>_0x298341[_0x3bc107(0x27f)](TEST_EVENTS[_0x3bc107(0x1e1)],_0x3bacb4)),PerformanceTester[_0x3bc107(0x234)](PerformanceEvents[_0x3bc107(0x272)]);}catch(_0x401214){PerformanceTester[_0x3bc107(0x1ef)](_0x401214),PerformanceTester[_0x3bc107(0x234)](PerformanceEvents['SDK_TEST'],![],_0x401214);const _0x54fa9c={};_0x54fa9c['hookType']=_0x270b9f['SFSGu'],PerformanceTester['end'](PerformanceHookEvents[_0x3bc107(0x21f)],![],_0x401214,_0x54fa9c);}const _0x14fb1b={};_0x14fb1b['hookType']=_0x270b9f[_0x3bc107(0x1ed)],PerformanceTester[_0x3bc107(0x234)](PerformanceHookEvents[_0x3bc107(0x21f)],!![],null,_0x14fb1b);}),CodeceptJS[_0x4b3257(0x1c1)][_0x4b3257(0x26e)]['on'](CodeceptJS[_0x4b3257(0x1c1)][_0x4b3257(0x223)][_0x4b3257(0x26a)],async(_0x3539bd,_0xc21828)=>{const _0x46df64=_0x4b3257,_0x9faabd={};_0x9faabd['RfPfB']=_0x270b9f[_0x46df64(0x26b)];const _0x227825=_0x9faabd;try{PerformanceTester['start'](PerformanceHookEvents[_0x46df64(0x21f)]);if(_0x270b9f[_0x46df64(0x251)](isBrowserstackInfra)){const _0x4f06d6=_0x270b9f[_0x46df64(0x215)](shouldScanTestForAccessibility,_0x3539bd[_0x46df64(0x286)](),!![]);if(_0x270b9f[_0x46df64(0x1db)](isAccessibilityAutomationSession)&&global[_0x46df64(0x202)]&&_0x4f06d6){const _0x4bcf68={};_0x4bcf68['thTestRunUuid']=_0x3539bd[_0x46df64(0x21d)],_0x4bcf68[_0x46df64(0x1e2)]=process[_0x46df64(0x256)][testHubConstants[_0x46df64(0x263)][_0x46df64(0x24d)]],_0x4bcf68[_0x46df64(0x221)]=process[_0x46df64(0x256)][testHubConstants['ENV_VAR'][_0x46df64(0x1dc)]];const _0x1dc559=_0x4bcf68;logger[_0x46df64(0x237)](_0x46df64(0x241)+JSON[_0x46df64(0x240)](_0x1dc559)),CodeceptRecorder[_0x46df64(0x273)](async()=>{const _0x140aa5=_0x46df64,_0x21b172={};_0x21b172[_0x140aa5(0x24a)]=_0x227825[_0x140aa5(0x213)],await PerformanceTester[_0x140aa5(0x204)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x4f7d19=_0x140aa5;await AccessibilityHelper[_0x4f7d19(0x27e)](_0x3304eb,scripts[_0x4f7d19(0x27b)]);},_0x21b172)(),await PerformanceTester[_0x140aa5(0x204)](PerformanceA11yEvents[_0x140aa5(0x1e0)],async()=>{const _0x542c15=_0x140aa5;await AccessibilityHelper[_0x542c15(0x27e)](_0x3304eb,scripts[_0x542c15(0x247)],_0x1dc559);})();}),logger[_0x46df64(0x200)](_0x270b9f[_0x46df64(0x1ea)]);}}const _0x33de83={};_0x33de83[_0x46df64(0x28c)]=_0x270b9f['dHCAz'],PerformanceTester[_0x46df64(0x234)](PerformanceHookEvents[_0x46df64(0x21f)],!![],null,_0x33de83);}catch(_0x3a631f){PerformanceTester[_0x46df64(0x1ef)](_0x3a631f);const _0x52cc39={};_0x52cc39[_0x46df64(0x28c)]=_0x270b9f['dHCAz'],PerformanceTester['end'](PerformanceHookEvents[_0x46df64(0x21f)],![],_0x3a631f,_0x52cc39);}}),CodeceptJS[_0x4b3257(0x1c1)][_0x4b3257(0x26e)]['on'](CodeceptJS[_0x4b3257(0x1c1)][_0x4b3257(0x23f)]['comment'],_0x4e8bc5=>{const _0x34641f=_0x4b3257;PerformanceTester['start'](PerformanceHookEvents[_0x34641f(0x21f)]);try{process[_0x34641f(0x1da)](_0x34641f(0x1c6)+process[_0x34641f(0x1de)],{'timestamp':new Date()[_0x34641f(0x24c)](),'level':_0x270b9f[_0x34641f(0x284)],'message':_0x4e8bc5,'kind':_0x270b9f[_0x34641f(0x1fd)],'http_response':{}});}catch(_0x15d4df){PerformanceTester['captureError'](_0x15d4df);const _0x54ff7b={};_0x54ff7b[_0x34641f(0x28c)]=_0x270b9f[_0x34641f(0x243)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x15d4df,_0x54ff7b);}const _0x3b1708={};_0x3b1708[_0x34641f(0x28c)]=_0x270b9f['dewNj'],PerformanceTester[_0x34641f(0x234)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x3b1708);}),CodeceptJS[_0x4b3257(0x1c1)][_0x4b3257(0x26e)]['on'](CodeceptJS[_0x4b3257(0x1c1)]['bddStep'][_0x4b3257(0x1fe)],_0x397a51=>{const _0x9e14fd=_0x4b3257,_0x5366c0={};_0x5366c0[_0x9e14fd(0x28c)]=_0x270b9f[_0x9e14fd(0x27a)],PerformanceTester[_0x9e14fd(0x204)](PerformanceHookEvents[_0x9e14fd(0x21f)],()=>{const _0x3001ac=_0x9e14fd;_0x298341[_0x3001ac(0x1c3)](_0x397a51);},_0x5366c0)();}),CodeceptJS[_0x4b3257(0x1c1)]['dispatcher']['on'](CodeceptJS[_0x4b3257(0x1c1)]['bddStep'][_0x4b3257(0x26a)],_0x73b014=>{const _0x52eec=_0x4b3257,_0x4286d4={};_0x4286d4[_0x52eec(0x28c)]=_0x270b9f['wIbNI'],PerformanceTester['measureWrapper'](PerformanceHookEvents['SDK_HOOK'],()=>{const _0x17a3b7=_0x52eec;_0x298341[_0x17a3b7(0x26f)](_0x73b014);},_0x4286d4)();});};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a2_0x1a52(_0xa9fd09,_0x19d413){const _0x53a623=a2_0x53a6();return a2_0x1a52=function(_0x1a52bf,_0x7980cd){_0x1a52bf=_0x1a52bf-0x119;let _0x9fde9c=_0x53a623[_0x1a52bf];return _0x9fde9c;},a2_0x1a52(_0xa9fd09,_0x19d413);}const a2_0x2ba508=a2_0x1a52;(function(_0x46b01f,_0x142e76){const _0x16a610=a2_0x1a52,_0x3c13be=_0x46b01f();while(!![]){try{const _0x5b80ad=parseInt(_0x16a610(0x134))/0x1*(parseInt(_0x16a610(0x1af))/0x2)+parseInt(_0x16a610(0x139))/0x3*(-parseInt(_0x16a610(0x12c))/0x4)+parseInt(_0x16a610(0x123))/0x5*(parseInt(_0x16a610(0x157))/0x6)+-parseInt(_0x16a610(0x193))/0x7+-parseInt(_0x16a610(0x11e))/0x8+-parseInt(_0x16a610(0x187))/0x9*(parseInt(_0x16a610(0x198))/0xa)+parseInt(_0x16a610(0x16a))/0xb*(parseInt(_0x16a610(0x11b))/0xc);if(_0x5b80ad===_0x142e76)break;else _0x3c13be['push'](_0x3c13be['shift']());}catch(_0x475ab4){_0x3c13be['push'](_0x3c13be['shift']());}}}(a2_0x53a6,0xd1e51));const fs=require('fs'),path=require(a2_0x2ba508(0x18f)),util=require(a2_0x2ba508(0x152)),process=require(a2_0x2ba508(0x133)),logger=require(a2_0x2ba508(0x175))[a2_0x2ba508(0x185)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a2_0x2ba508(0x16e)),utilities=require(a2_0x2ba508(0x124)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require('../../bin/playwright/accessibility-helper'),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x2ba508(0x16e)),CodeceptJS=requireModule(a2_0x2ba508(0x194),a2_0x2ba508(0x168)),testOpsHelper=require(a2_0x2ba508(0x18c)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),constants=require(a2_0x2ba508(0x172)),PerformanceTester=require(a2_0x2ba508(0x1ac)),{FRAMEWORKS}=require(a2_0x2ba508(0x12f)),PerformanceEvents=require(a2_0x2ba508(0x195))[a2_0x2ba508(0x184)],_testErrorData=[],getUserCodeceptJSConfigs=(_0x56a7ed,_0x19a9e5)=>{const _0x148d9e=a2_0x2ba508,_0x3d7084={};_0x3d7084[_0x148d9e(0x19c)]=function(_0x48ad6d,_0x277f5b){return _0x48ad6d===_0x277f5b;},_0x3d7084['yykGe']=_0x148d9e(0x14c),_0x3d7084['QCjVB']=_0x148d9e(0x189);const _0x2215be=_0x3d7084;let _0x10964f=null;const _0x3c9ca0={};let _0x313f97=_0x19a9e5[_0x148d9e(0x142)](_0x45babb=>_0x45babb==='--config');_0x2215be[_0x148d9e(0x19c)](_0x313f97,-0x1)&&(_0x313f97=_0x19a9e5[_0x148d9e(0x142)](_0x57e025=>_0x57e025==='-c'));if(!helper['isUndefined'](_0x56a7ed['config'])&&fs[_0x148d9e(0x148)](path[_0x148d9e(0x1a7)](process[_0x148d9e(0x164)](),_0x56a7ed[_0x148d9e(0x176)])))_0x10964f=path[_0x148d9e(0x1a7)](process[_0x148d9e(0x164)](),_0x56a7ed[_0x148d9e(0x176)]),_0x19a9e5[_0x148d9e(0x16f)](_0x313f97,0x2);else{if(!helper['isUndefined'](_0x56a7ed['c'])&&fs[_0x148d9e(0x148)](path['join'](process['cwd'](),_0x56a7ed['c'])))_0x10964f=path[_0x148d9e(0x1a7)](process[_0x148d9e(0x164)](),_0x56a7ed['c']),_0x19a9e5[_0x148d9e(0x16f)](_0x313f97,0x2);else{if(fs['existsSync'](path['join'](process['cwd'](),_0x2215be[_0x148d9e(0x1ab)])))_0x10964f=path['join'](process[_0x148d9e(0x164)](),_0x2215be[_0x148d9e(0x1ab)]);else fs['existsSync'](path['join'](process[_0x148d9e(0x164)](),_0x2215be[_0x148d9e(0x15f)]))&&(_0x10964f=path[_0x148d9e(0x1a7)](process[_0x148d9e(0x164)](),_0x2215be[_0x148d9e(0x15f)]));}}return process[_0x148d9e(0x13a)][_0x148d9e(0x16b)]=_0x10964f,_0x10964f;},getO11yRerunPattern=()=>{const _0x470488=a2_0x2ba508,_0xf93e3c=helper[_0x470488(0x160)](process[_0x470488(0x13a)]['BROWSERSTACK_RERUN']);if(_0xf93e3c){const _0x32c78d=process[_0x470488(0x13a)][_0x470488(0x173)],_0x5c46f7=[];if(helper[_0x470488(0x138)](_0x32c78d)&&!helper[_0x470488(0x12b)](_0x32c78d)){_0x32c78d['split'](',')[_0x470488(0x1a5)](_0x299c61=>{const _0x463103=_0x470488;_0x5c46f7[_0x463103(0x136)]('('+_0x299c61[_0x463103(0x163)]()+')');});const _0x5cc8ac='^'+_0x5c46f7[_0x470488(0x1a7)]('|')+'$';return _0x5cc8ac;}}return null;},a2_0x4ea587={};a2_0x4ea587[a2_0x2ba508(0x158)]=a2_0x2ba508(0x1a1),a2_0x4ea587[a2_0x2ba508(0x170)]=a2_0x2ba508(0x1a1),a2_0x4ea587[a2_0x2ba508(0x18a)]=a2_0x2ba508(0x151),a2_0x4ea587[a2_0x2ba508(0x19a)]=a2_0x2ba508(0x132);function a2_0x53a6(){const _0x1fbe0c=['printBuildLink','skipSessionName','7564968sBhKRj','vYGvu','kTLqL','getPlatformName','getPlaywrightUrl','21445ZqcKka','../../helpers/utilities','isTestObservabilitySession','passed','run','getUserWorkerCount','uCAwx','JpNxq','isUndefined','748aeTXbn','format','Workers','../../helpers/test-observability/constants','split','OfSCd','webkit','process','79711adfbdB','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','push','Playwright','validateRerunTestList','23739gDmfbH','env','dfLCG','profile','bootstrapAll','toLowerCase','iXbxb','Started\x20:\x20','laYNI','findIndex','JjUPA','BrowserStackPlugin.js','stringify','SDK_SETUP','event','existsSync','skipSessionStatus','PXVFC','exports','codecept.conf.js','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','load','test','ZhTcG','firefox','util','dKTwE','lCQpB','frameworkName','now','150lZFDsr','chrome','initialize','browserStackCwd','info','swknW','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','stop','QCjVB','isTrue','MpyyY','testObservability','trim','cwd','before','browserWSEndpoint','require','codeceptjs','helpers','32703iTMgQS','USER_CONFIG_DETAILS_PATH','launchBuild','browser','../../helpers/helper','slice','playwright-chromium','debug','../utils/constants','BROWSERSTACK_RERUN_TESTS','end','../../helpers/logger','config','mergeDeep','title','plugins','RDAly','errorMessage','WebDriver','desiredCapabilities','4|5|2|3|1|0','JfyPZ','addConfig','BROWSERSTACK_TEST_OBSERVABILITY_YML','TfsxA','isEmpty','EVENTS','winstonLogger','printResults','109530tuhkIJ','parallelsPerPlatform','codecept.json','playwright-firefox','SDK_CLEANUP','../../helpers/test-observability/utils','all','BROWSERSTACK_TEST_ACCESSIBILITY_YML','path','dirname','teardownAll','chdir','8098748XELsQa','codeceptjs/lib/index.js','../../helpers/performance/constants','enabled','CODECEPT_CUCUMBER','680wwMTpH','spawn','playwright-webkit','SMtrE','OBJSy','length','AJhxD','accessibilityOptions','forEach','chromium','useW3C','CODECEPT','BrowserStackPlugin','map','log','join','browserName','yduQX','addTests','yykGe','../../helpers/performance/performance-tester','testContextOptions','accessibility','38wYydjW','VyVpa','prepareCapabilities','14724suCvkg'];a2_0x53a6=function(){return _0x1fbe0c;};return a2_0x53a6();}const pwToCodeceptBrowser=a2_0x4ea587;async function run(_0x5f1401,_0x4a1bdb,_0x1d0be3){const _0x388bd2=a2_0x2ba508,_0x201627={'uCAwx':function(_0x18db7c,_0x194a13){return _0x18db7c+_0x194a13;},'dfLCG':function(_0x2b3723,_0x5316b9){return _0x2b3723(_0x5316b9);},'TfsxA':function(_0xe6b197,_0x2a7518,_0x5a35d1){return _0xe6b197(_0x2a7518,_0x5a35d1);},'AJhxD':'helpers','RDAly':function(_0x10e759){return _0x10e759();},'SMtrE':function(_0x3017f0){return _0x3017f0();},'JfyPZ':'Failed\x20:\x20','PXVFC':'Passed\x20:\x20','yduQX':_0x388bd2(0x140),'QeAwd':_0x388bd2(0x17e),'MpyyY':_0x388bd2(0x15d),'vYGvu':function(_0x2c6ef6,_0x3d3620,_0x4e83a9){return _0x2c6ef6(_0x3d3620,_0x4e83a9);},'cnrTt':_0x388bd2(0x137),'iXbxb':_0x388bd2(0x17c),'vlnvk':function(_0x5461b3,_0x1d63af){return _0x5461b3(_0x1d63af);},'laYNI':function(_0x2a3785,_0xf53906){return _0x2a3785!=_0xf53906;},'gyfsE':function(_0x5b33ce,_0x439884){return _0x5b33ce===_0x439884;},'OfSCd':'gherkin','kTLqL':function(_0x5a290d,_0x5cb2e3){return _0x5a290d(_0x5cb2e3);},'VyVpa':function(_0x5b937b){return _0x5b937b();},'dKTwE':function(_0x5394d9,_0x17973a){return _0x5394d9*_0x17973a;},'JouRJ':_0x388bd2(0x16d),'JjUPA':_0x388bd2(0x17d),'lCQpB':function(_0x17c875,_0x1f25fb,_0xf315bf){return _0x17c875(_0x1f25fb,_0xf315bf);},'ZhTcG':'root','swknW':_0x388bd2(0x144),'JpNxq':_0x388bd2(0x15a)};await _0x1d0be3[_0x388bd2(0x159)](_0x5f1401),await helper['handleApp'](_0x1d0be3[_0x388bd2(0x176)]);if(!_0x1d0be3['config'])return;process[_0x388bd2(0x13c)]=_0x5f1401['profile'];_0x5f1401[_0x388bd2(0x13c)]&&(process[_0x388bd2(0x13a)][_0x388bd2(0x13c)]=_0x5f1401[_0x388bd2(0x13c)]);const _0x126dc9=_0x201627[_0x388bd2(0x182)](getUserCodeceptJSConfigs,_0x5f1401,_0x4a1bdb);let _0x39cd27={};_0x126dc9?(logger[_0x388bd2(0x15b)](_0x388bd2(0x135)+_0x126dc9),_0x39cd27=CodeceptJS[_0x388bd2(0x176)][_0x388bd2(0x14e)](_0x126dc9)):logger[_0x388bd2(0x15b)](_0x201627[_0x388bd2(0x161)]);let _0x86d401=![];_0x201627[_0x388bd2(0x11f)](nestedKeyValue,_0x39cd27,[_0x201627[_0x388bd2(0x19e)],_0x201627['cnrTt']])&&(_0x86d401=!![]);const _0x5b99a2=_0x86d401?_0x201627['cnrTt']:_0x201627[_0x388bd2(0x13f)];let _0x5a6dba=!_0x86d401?helper[_0x388bd2(0x1a2)](_0x1d0be3[_0x388bd2(0x176)]):![];!helper[_0x388bd2(0x12b)](_0x1d0be3[_0x388bd2(0x176)][_0x388bd2(0x19f)])&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x1d0be3[_0x388bd2(0x176)][_0x388bd2(0x19f)]));let _0x4a2653=_0x1d0be3['config'][_0x388bd2(0x1ae)];_0x4a2653=_0x4a2653||_0x201627['vlnvk'](checkAccessibilityPlatformConfig,_0x1d0be3[_0x388bd2(0x176)]),process[_0x388bd2(0x13a)][_0x388bd2(0x18e)]=_0x4a2653;_0x4a2653&&(_0x5a6dba=!_0x4a2653);_0x201627[_0x388bd2(0x141)](_0x1d0be3[_0x388bd2(0x176)][_0x388bd2(0x162)],null)?process[_0x388bd2(0x13a)][_0x388bd2(0x181)]=_0x1d0be3[_0x388bd2(0x176)][_0x388bd2(0x162)]:process[_0x388bd2(0x13a)][_0x388bd2(0x181)]=_0x201627['gyfsE'](_0x5b99a2,_0x201627['cnrTt']);const _0x2f72b7=_0x201627[_0x388bd2(0x182)](nestedKeyValue,_0x39cd27,[_0x201627[_0x388bd2(0x131)]]),_0x60551f=_0x2f72b7&&!helper[_0x388bd2(0x183)](_0x2f72b7)?FRAMEWORKS[_0x388bd2(0x197)]:FRAMEWORKS[_0x388bd2(0x1a3)],_0xec4f88=await TestHubHandler[_0x388bd2(0x16c)](_0x60551f,_0x1d0be3);_0x4a2653&&_0x201627[_0x388bd2(0x120)](setAccessibilityCapabilities,_0x1d0be3['config']);const _0x399753={},_0x455529=[],_0x3f4b1a=_0x1d0be3[_0x388bd2(0x176)][_0x388bd2(0x188)]||helper[_0x388bd2(0x128)](_0x5f1401,_0x4a1bdb,_0x1d0be3[_0x388bd2(0x176)],constants['FRAMEWORKS'][_0x388bd2(0x1a3)])||0x1;let _0xe718b2=0x1;if(_0x201627[_0x388bd2(0x119)](isBrowserstackInfra)){const _0x71f57b=helper[_0x388bd2(0x11a)](_0x1d0be3['config'],_0x5a6dba,constants['FRAMEWORKS'][_0x388bd2(0x1a3)]);_0x71f57b[_0x388bd2(0x1a0)](_0x212960=>{helper['setAdditionalCapabilities'](_0x212960);}),helper['validPlatformsPresent'](_0x1d0be3[_0x388bd2(0x176)])?_0xe718b2=_0x201627[_0x388bd2(0x153)](_0x3f4b1a,_0x1d0be3[_0x388bd2(0x176)]['platforms'][_0x388bd2(0x19d)]):_0xe718b2=_0x3f4b1a,_0x71f57b['forEach'](_0x18f838=>{const _0x2617ab=_0x388bd2,_0x34e54e=_0x201627['uCAwx'](helper[_0x2617ab(0x121)](_0x18f838,'_'),'_'+Date[_0x2617ab(0x156)]()),_0x5765ec=((()=>{const _0x3a92e3=_0x2617ab;if(_0x86d401){const _0x465a2c=pwToCodeceptBrowser[_0x18f838[_0x3a92e3(0x1a8)]]||_0x18f838[_0x3a92e3(0x1a8)];return{'browser':_0x465a2c,[_0x465a2c]:{'browserWSEndpoint':_0x201627[_0x3a92e3(0x129)](helper[_0x3a92e3(0x122)](_0x1d0be3[_0x3a92e3(0x176)]),_0x201627[_0x3a92e3(0x13b)](encodeURIComponent,JSON[_0x3a92e3(0x145)](_0x18f838)))}};}const _0x365340={};return _0x365340[_0x3a92e3(0x17d)]=_0x18f838,_0x365340;})()),_0x5b85fc=_0x201627[_0x2617ab(0x182)](nestedKeyValue,_0x39cd27,[_0x201627[_0x2617ab(0x19e)],_0x5b99a2]);_0x399753[_0x34e54e]=_0x5b85fc?helper[_0x2617ab(0x177)](_0x5765ec,_0x5b85fc):_0x5765ec,!_0x86d401&&(_0x399753[_0x34e54e][_0x2617ab(0x16d)]=_0x18f838['browserName']||_0x5765ec[_0x2617ab(0x16d)]),_0x455529[_0x2617ab(0x136)](_0x34e54e);});}else{_0xe718b2=0x1;if(_0x86d401){const _0x2f5f4a=_0x201627['TfsxA'](nestedKeyValue,_0x39cd27,[_0x201627['AJhxD'],_0x5b99a2,_0x201627['JouRJ']]),_0x5b6b76=_0x201627['TfsxA'](nestedKeyValue,_0x39cd27,[_0x201627[_0x388bd2(0x19e)],_0x5b99a2,_0x2f5f4a]);_0x5b6b76&&_0x5b6b76[_0x388bd2(0x166)]&&(_0x5b6b76['browserWSEndpoint']=helper[_0x388bd2(0x11a)](null,null,_0x60551f[_0x388bd2(0x13e)](),null,null,_0x5b6b76[_0x388bd2(0x166)]));}else _0x39cd27[_0x201627[_0x388bd2(0x19e)]][_0x5b99a2][_0x201627[_0x388bd2(0x143)]]=helper[_0x388bd2(0x11a)](null,null,_0x60551f[_0x388bd2(0x13e)](),_0x201627[_0x388bd2(0x154)](nestedKeyValue,_0x39cd27,[_0x201627[_0x388bd2(0x19e)],_0x5b99a2,_0x201627['JjUPA']]),null,null);_0x399753[_0x201627[_0x388bd2(0x150)]]=_0x39cd27,_0x455529[_0x388bd2(0x136)](_0x201627[_0x388bd2(0x150)]);}const _0x59b6b4={};_0x59b6b4['testConfig']=_0x126dc9;const _0x183aec=_0x59b6b4,_0x5b3313=path[_0x388bd2(0x1a7)](__dirname,_0x201627[_0x388bd2(0x15c)]),_0x286d35=process[_0x388bd2(0x164)]();process['env'][_0x201627[_0x388bd2(0x12a)]]=_0x286d35,process[_0x388bd2(0x192)](path[_0x388bd2(0x190)](_0x126dc9));const _0x5c2c4b=new CodeceptJS[(_0x388bd2(0x12e))](null,_0x183aec),_0x69b7=_0x5c2c4b['createGroupsOfSuites'](_0xe718b2),_0x201de3=testOpsHelper[_0x388bd2(0x125)](),_0x4d4ad9=_0x455529[_0x388bd2(0x1a5)](_0x1f9436=>{const _0x462f6=_0x388bd2,_0x34b668={};_0x34b668[_0x462f6(0x137)]=_0x399753[_0x1f9436];const _0x14ea34={};_0x14ea34['WebDriver']=_0x399753[_0x1f9436];const _0x22bd17=_0x86d401?_0x34b668:_0x14ea34,_0x482954=_0x201627['RDAly'](getO11yRerunPattern),_0x1e86bc={};_0x1e86bc[_0x462f6(0x169)]=_0x22bd17;const _0x261b5f={};_0x261b5f[_0x462f6(0x167)]=_0x5b3313,_0x261b5f[_0x462f6(0x196)]=!![],_0x261b5f[_0x462f6(0x11d)]=_0x1d0be3[_0x462f6(0x176)][_0x462f6(0x1ad)][_0x462f6(0x11d)],_0x261b5f[_0x462f6(0x149)]=_0x1d0be3[_0x462f6(0x176)][_0x462f6(0x1ad)][_0x462f6(0x149)],_0x261b5f[_0x462f6(0x162)]=_0x201de3,_0x261b5f[_0x462f6(0x155)]=_0x60551f;const _0x2c1338={};_0x2c1338[_0x462f6(0x1a4)]=_0x261b5f;const _0x258d3a={};return _0x258d3a[_0x462f6(0x179)]=_0x2c1338,helper[_0x462f6(0x177)]({},_0x39cd27,_0x201627[_0x462f6(0x19b)](isBrowserstackInfra)?_0x1e86bc:{},_0x482954?{'grep':_0x482954}:{},_0x258d3a);});for(const _0x204947 of _0x4d4ad9){for(const _0x551006 of _0x69b7){const _0x1cf949=_0x5c2c4b[_0x388bd2(0x199)]();_0x1cf949[_0x388bd2(0x1aa)](_0x551006),_0x1cf949[_0x388bd2(0x180)](_0x204947);const _0x80f5fe={};_0x80f5fe[_0x388bd2(0x176)]=_0x126dc9,_0x1cf949['addOptions'](_0x80f5fe);}}_0x5c2c4b['on'](CodeceptJS[_0x388bd2(0x147)]['test']['failed'],(_0x3ef934,_0x11e4cf)=>{const _0x399e64=_0x388bd2;console[_0x399e64(0x1a6)](_0x201627[_0x399e64(0x17f)],_0x3ef934['title']);const _0x34c9a0={[_0x3ef934[_0x399e64(0x178)]]:_0x3ef934['err']['stack']};_testErrorData[_0x399e64(0x136)](_0x34c9a0);}),_0x5c2c4b['on'](CodeceptJS[_0x388bd2(0x147)][_0x388bd2(0x14f)][_0x388bd2(0x126)],async _0x4015fd=>{const _0x2f1c5f=_0x388bd2;console[_0x2f1c5f(0x1a6)](_0x201627[_0x2f1c5f(0x14a)],_0x4015fd['title']);}),_0x5c2c4b['on'](CodeceptJS['event'][_0x388bd2(0x14f)][_0x388bd2(0x165)],async _0xb5ab44=>{const _0x2fcc5e=_0x388bd2;console['log'](_0x201627[_0x2fcc5e(0x1a9)],_0xb5ab44[_0x2fcc5e(0x178)]);}),_0x5c2c4b['on'](CodeceptJS[_0x388bd2(0x147)][_0x388bd2(0x18d)]['result'],async()=>{const _0x475207=_0x388bd2,_0x21900a=_0x201627['QeAwd'][_0x475207(0x130)]('|');let _0x3e8e91=0x0;while(!![]){switch(_0x21900a[_0x3e8e91++]){case'0':_0x5c2c4b[_0x475207(0x186)]();continue;case'1':try{await TestHubHandler[_0x475207(0x15e)]();}catch(_0x338992){logger[_0x475207(0x171)](_0x475207(0x14d)+util[_0x475207(0x12d)](_0x338992));}continue;case'2':testOpsHelper[_0x475207(0x11c)]();continue;case'3':utilities['finalExecution'](_0x1d0be3);continue;case'4':PerformanceTester['start'](PerformanceEvents[_0x475207(0x18b)]);continue;case'5':_0x1d0be3[_0x475207(0x17b)]=_testErrorData;continue;}break;}});async function _0x244aa3(){const _0x29151b=_0x388bd2;try{await _0x5c2c4b[_0x29151b(0x13d)](),await _0x5c2c4b[_0x29151b(0x127)]();}finally{process[_0x29151b(0x192)](_0x286d35),await _0x5c2c4b[_0x29151b(0x191)]();}}PerformanceTester[_0x388bd2(0x174)](PerformanceEvents[_0x388bd2(0x146)]),_0x201627[_0x388bd2(0x17a)](_0x244aa3);}module[a2_0x2ba508(0x14b)]=run;
|
|
2
|
+
'use strict';const a2_0x3c71a=a2_0x5540;function a2_0x242b(){const _0x58e739=['GRfkC','title','FbHsN','result','event','debug','format','../../helpers/testhub/testhubHandler','../../helpers/logger','playwright-chromium','findIndex','jMqNF','err','plugins','chdir','path','join','../../helpers/accessibility-automation/helper','forEach','TsFLE','printBuildLink','getPlatformName','elvZI','../../helpers/test-observability/constants','BROWSERSTACK_TEST_ACCESSIBILITY_YML','env','EVENTS','gherkin','foGps','USER_CONFIG_DETAILS_PATH','info','dirname','3382856KzTuVF','BROWSERSTACK_TEST_OBSERVABILITY_YML','../../helpers/helper','testObservability','log','profile','../../helpers/test-observability/utils','jRHmL','isEmpty','FRAMEWORKS','SDK_SETUP','browserName','nFbAe','browserStackCwd','5|3|4|2|1|0','BrowserStackPlugin','frameworkName','launchBuild','iqGke','skipSessionName','Started\x20:\x20','config','BrowserStackPlugin.js','accessibilityOptions','useW3C','../../helpers/BrowserStackSetup','root','../../helpers/utilities','hVuwn','vsgoO','40SxkbYP','codeceptjs/lib/index.js','winstonLogger','desiredCapabilities','Passed\x20:\x20','MzUbQ','toLowerCase','7969423wKvLdA','CODECEPT','754752fZzobz','teardownAll','skipSessionStatus','createGroupsOfSuites','failed','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','end','yOihU','addTests','khmAc','printResults','spawn','isUndefined','run','1331oguSLV','EKSdh','testConfig','validateRerunTestList','chromium','3uqxniO','map','require','5582718SGyPab','browserWSEndpoint','test','76988oFjkie','enabled','parallelsPerPlatform','testContextOptions','getUserWorkerCount','helpers','stop','length','setAdditionalCapabilities','KGlFa','validPlatformsPresent','BROWSERSTACK_RERUN','WebDriver','CEhMv','Failed\x20:\x20','chrome','VMIvF','../../bin/playwright/accessibility-helper','Nwbpl','7HuMYSB','platforms','handleApp','start','fmfRu','qzafs','bootstrapAll','1759106czoKSR','codecept.json','zKknT','pNAWI','slice','155SuBApE','BROWSERSTACK_RERUN_TESTS','process','playwright-firefox','accessibility','exports','passed','existsSync','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','Workers','before','UXZux','webkit','stringify','isTrue','util','zeWrF','browser','split','prepareCapabilities','RjDfh','push','errorMessage','addConfig','load','getPlaywrightUrl','SDK_CLEANUP','cwd','SWjAJ','CODECEPT_CUCUMBER'];a2_0x242b=function(){return _0x58e739;};return a2_0x242b();}(function(_0x1b1d67,_0xb86e44){const _0x59a9ce=a2_0x5540,_0x5538ba=_0x1b1d67();while(!![]){try{const _0x3004b9=-parseInt(_0x59a9ce(0x1bb))/0x1+parseInt(_0x59a9ce(0x1e0))/0x2*(-parseInt(_0x59a9ce(0x1c0))/0x3)+-parseInt(_0x59a9ce(0x1c6))/0x4*(parseInt(_0x59a9ce(0x1e5))/0x5)+parseInt(_0x59a9ce(0x1ad))/0x6+-parseInt(_0x59a9ce(0x1d9))/0x7*(parseInt(_0x59a9ce(0x186))/0x8)+-parseInt(_0x59a9ce(0x1c3))/0x9+parseInt(_0x59a9ce(0x1a4))/0xa*(parseInt(_0x59a9ce(0x1ab))/0xb);if(_0x3004b9===_0xb86e44)break;else _0x5538ba['push'](_0x5538ba['shift']());}catch(_0x29450a){_0x5538ba['push'](_0x5538ba['shift']());}}}(a2_0x242b,0x7ad18));function a2_0x5540(_0x3971eb,_0x5cc8b8){const _0x242b8f=a2_0x242b();return a2_0x5540=function(_0x5540df,_0x3a8980){_0x5540df=_0x5540df-0x160;let _0x3ab423=_0x242b8f[_0x5540df];return _0x3ab423;},a2_0x5540(_0x3971eb,_0x5cc8b8);}const fs=require('fs'),path=require(a2_0x3c71a(0x175)),util=require(a2_0x3c71a(0x1f4)),process=require(a2_0x3c71a(0x1e7)),logger=require(a2_0x3c71a(0x16e))[a2_0x3c71a(0x1a6)],{default:BrowserStackSetup}=require(a2_0x3c71a(0x19f)),helper=require(a2_0x3c71a(0x188)),utilities=require(a2_0x3c71a(0x1a1)),{checkAccessibilityPlatformConfig}=require(a2_0x3c71a(0x177)),{setAccessibilityCapabilities}=require(a2_0x3c71a(0x1d7)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x3c71a(0x188)),CodeceptJS=requireModule(a2_0x3c71a(0x1a5),'codeceptjs'),testOpsHelper=require(a2_0x3c71a(0x18c)),TestHubHandler=require(a2_0x3c71a(0x16d)),constants=require('../utils/constants'),PerformanceTester=require('../../helpers/performance/performance-tester'),{FRAMEWORKS}=require(a2_0x3c71a(0x17d)),PerformanceEvents=require('../../helpers/performance/constants')[a2_0x3c71a(0x180)],_testErrorData=[],getUserCodeceptJSConfigs=(_0x2cd32d,_0xe16949)=>{const _0x4d98cc=a2_0x3c71a,_0x19fa77={};_0x19fa77['iGlyW']=function(_0x59b638,_0x132d5b){return _0x59b638===_0x132d5b;},_0x19fa77[_0x4d98cc(0x1f0)]='codecept.conf.js',_0x19fa77[_0x4d98cc(0x166)]=_0x4d98cc(0x1e1);const _0x59ea08=_0x19fa77;let _0x23b90c=null;const _0x21faea={};let _0x10ebeb=_0xe16949[_0x4d98cc(0x170)](_0x381bfc=>_0x381bfc==='--config');_0x59ea08['iGlyW'](_0x10ebeb,-0x1)&&(_0x10ebeb=_0xe16949[_0x4d98cc(0x170)](_0x3ae28f=>_0x3ae28f==='-c'));if(!helper['isUndefined'](_0x2cd32d[_0x4d98cc(0x19b)])&&fs['existsSync'](path[_0x4d98cc(0x176)](process['cwd'](),_0x2cd32d['config'])))_0x23b90c=path[_0x4d98cc(0x176)](process['cwd'](),_0x2cd32d[_0x4d98cc(0x19b)]),_0xe16949[_0x4d98cc(0x1e4)](_0x10ebeb,0x2);else{if(!helper['isUndefined'](_0x2cd32d['c'])&&fs['existsSync'](path[_0x4d98cc(0x176)](process[_0x4d98cc(0x163)](),_0x2cd32d['c'])))_0x23b90c=path['join'](process[_0x4d98cc(0x163)](),_0x2cd32d['c']),_0xe16949[_0x4d98cc(0x1e4)](_0x10ebeb,0x2);else{if(fs[_0x4d98cc(0x1ec)](path[_0x4d98cc(0x176)](process[_0x4d98cc(0x163)](),_0x59ea08[_0x4d98cc(0x1f0)])))_0x23b90c=path[_0x4d98cc(0x176)](process[_0x4d98cc(0x163)](),_0x59ea08[_0x4d98cc(0x1f0)]);else fs[_0x4d98cc(0x1ec)](path['join'](process[_0x4d98cc(0x163)](),_0x59ea08[_0x4d98cc(0x166)]))&&(_0x23b90c=path['join'](process[_0x4d98cc(0x163)](),_0x59ea08[_0x4d98cc(0x166)]));}}return process[_0x4d98cc(0x17f)][_0x4d98cc(0x183)]=_0x23b90c,_0x23b90c;},getO11yRerunPattern=()=>{const _0x5c016d=a2_0x3c71a,_0xc1a649=helper[_0x5c016d(0x1f3)](process[_0x5c016d(0x17f)][_0x5c016d(0x1d1)]);if(_0xc1a649){const _0x4d5aa4=process[_0x5c016d(0x17f)][_0x5c016d(0x1e6)],_0x96b735=[];if(helper[_0x5c016d(0x1be)](_0x4d5aa4)&&!helper[_0x5c016d(0x1b9)](_0x4d5aa4)){_0x4d5aa4[_0x5c016d(0x1f7)](',')[_0x5c016d(0x1c1)](_0x3c4c60=>{_0x96b735['push']('('+_0x3c4c60['trim']()+')');});const _0x5f3379='^'+_0x96b735['join']('|')+'$';return _0x5f3379;}}return null;},a2_0x1f79da={};a2_0x1f79da[a2_0x3c71a(0x1d5)]=a2_0x3c71a(0x1bf),a2_0x1f79da[a2_0x3c71a(0x16f)]=a2_0x3c71a(0x1bf),a2_0x1f79da[a2_0x3c71a(0x1e8)]='firefox',a2_0x1f79da['playwright-webkit']=a2_0x3c71a(0x1f1);const pwToCodeceptBrowser=a2_0x1f79da;async function run(_0x18fda2,_0x22e2d9,_0x533452){const _0x492742=a2_0x3c71a,_0x11b073={'elvZI':function(_0x31b692,_0x4e31fa){return _0x31b692+_0x4e31fa;},'iqGke':function(_0x1c46f9,_0x6716c3){return _0x1c46f9(_0x6716c3);},'fmfRu':function(_0x5d6805,_0x4b6c2b,_0x29b942){return _0x5d6805(_0x4b6c2b,_0x29b942);},'KGlFa':'helpers','FbHsN':function(_0x285f5c){return _0x285f5c();},'XHQet':_0x492742(0x1d4),'BKgPW':_0x492742(0x1a8),'Nwbpl':_0x492742(0x19a),'qzafs':_0x492742(0x194),'zeWrF':function(_0x14fb70,_0x518c65,_0x335e31){return _0x14fb70(_0x518c65,_0x335e31);},'TsFLE':_0x492742(0x1b2),'nFbAe':'Playwright','sxlRV':_0x492742(0x1d2),'jRHmL':function(_0x48bb91,_0x2d3c08){return _0x48bb91(_0x2d3c08);},'vsgoO':function(_0x37a59f,_0x21c68f){return _0x37a59f!=_0x21c68f;},'hVuwn':function(_0x3a1f31,_0x2eea19){return _0x3a1f31===_0x2eea19;},'CEhMv':_0x492742(0x181),'foGps':function(_0x4d5add,_0x2358a7){return _0x4d5add(_0x2358a7);},'khmAc':function(_0x3941c5,_0x589824){return _0x3941c5*_0x589824;},'pkReB':function(_0x11d7ad,_0x266a1b,_0x5442cc){return _0x11d7ad(_0x266a1b,_0x5442cc);},'EKSdh':_0x492742(0x1f6),'SWjAJ':function(_0x13a43b,_0x2561f4,_0x38cba5){return _0x13a43b(_0x2561f4,_0x38cba5);},'RjDfh':_0x492742(0x1a7),'tFaRN':function(_0x36e779,_0x501f32,_0x284f3f){return _0x36e779(_0x501f32,_0x284f3f);},'pNAWI':_0x492742(0x1a0),'zKknT':_0x492742(0x19c),'jMqNF':_0x492742(0x193),'VMIvF':function(_0x14b998){return _0x14b998();}};await _0x533452['initialize'](_0x18fda2),await helper[_0x492742(0x1db)](_0x533452['config']);if(!_0x533452['config'])return;process['profile']=_0x18fda2['profile'];_0x18fda2[_0x492742(0x18b)]&&(process['env'][_0x492742(0x18b)]=_0x18fda2[_0x492742(0x18b)]);const _0x3e6464=_0x11b073[_0x492742(0x1f5)](getUserCodeceptJSConfigs,_0x18fda2,_0x22e2d9);let _0x537b27={};_0x3e6464?(logger[_0x492742(0x184)](_0x492742(0x1ed)+_0x3e6464),_0x537b27=CodeceptJS[_0x492742(0x19b)][_0x492742(0x160)](_0x3e6464)):logger[_0x492742(0x184)](_0x11b073[_0x492742(0x179)]);let _0x166cc5=![];_0x11b073[_0x492742(0x1dd)](nestedKeyValue,_0x537b27,[_0x11b073['KGlFa'],_0x11b073[_0x492742(0x192)]])&&(_0x166cc5=!![]);const _0x1f96a9=_0x166cc5?_0x11b073[_0x492742(0x192)]:_0x11b073['sxlRV'];let _0x2b2009=!_0x166cc5?helper[_0x492742(0x19e)](_0x533452['config']):![];!helper[_0x492742(0x1b9)](_0x533452[_0x492742(0x19b)]['accessibilityOptions'])&&(process[_0x492742(0x17f)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x492742(0x1f2)](_0x533452[_0x492742(0x19b)][_0x492742(0x19d)]));let _0x255ef3=_0x533452['config'][_0x492742(0x1e9)];_0x255ef3=_0x255ef3||_0x11b073[_0x492742(0x18d)](checkAccessibilityPlatformConfig,_0x533452[_0x492742(0x19b)]),process[_0x492742(0x17f)][_0x492742(0x17e)]=_0x255ef3;_0x255ef3&&(_0x2b2009=!_0x255ef3);_0x11b073[_0x492742(0x1a3)](_0x533452[_0x492742(0x19b)][_0x492742(0x189)],null)?process[_0x492742(0x17f)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x533452['config'][_0x492742(0x189)]:process[_0x492742(0x17f)][_0x492742(0x187)]=_0x11b073[_0x492742(0x1a2)](_0x1f96a9,_0x11b073[_0x492742(0x192)]);const _0x1f5409=_0x11b073['zeWrF'](nestedKeyValue,_0x537b27,[_0x11b073[_0x492742(0x1d3)]]),_0x1992f2=_0x1f5409&&!helper[_0x492742(0x18e)](_0x1f5409)?FRAMEWORKS[_0x492742(0x165)]:FRAMEWORKS[_0x492742(0x1ac)],_0x15755b=await TestHubHandler[_0x492742(0x197)](_0x1992f2,_0x533452);_0x255ef3&&_0x11b073[_0x492742(0x182)](setAccessibilityCapabilities,_0x533452['config']);const _0x466cb9={},_0x3b9f3b=[],_0x1e8a70=_0x533452[_0x492742(0x19b)][_0x492742(0x1c8)]||helper[_0x492742(0x1ca)](_0x18fda2,_0x22e2d9,_0x533452[_0x492742(0x19b)],constants[_0x492742(0x18f)][_0x492742(0x1ac)])||0x1;let _0xddbf6=0x1;if(_0x11b073[_0x492742(0x168)](isBrowserstackInfra)){const _0x544492=helper[_0x492742(0x1f8)](_0x533452[_0x492742(0x19b)],_0x2b2009,constants[_0x492742(0x18f)][_0x492742(0x1ac)]);_0x544492[_0x492742(0x178)](_0x38127a=>{const _0x1cc2eb=_0x492742;helper[_0x1cc2eb(0x1ce)](_0x38127a);}),helper[_0x492742(0x1d0)](_0x533452[_0x492742(0x19b)])?_0xddbf6=_0x11b073[_0x492742(0x1b6)](_0x1e8a70,_0x533452[_0x492742(0x19b)][_0x492742(0x1da)][_0x492742(0x1cd)]):_0xddbf6=_0x1e8a70,_0x544492[_0x492742(0x178)](_0x8a881e=>{const _0x15821f=_0x492742,_0x5b4514={'MzUbQ':function(_0x23a427,_0x3085a3){return _0x11b073['elvZI'](_0x23a427,_0x3085a3);},'yOihU':function(_0x4299c2,_0x3a081e){const _0x1b7515=a2_0x5540;return _0x11b073[_0x1b7515(0x198)](_0x4299c2,_0x3a081e);}},_0x2b65ac=_0x11b073[_0x15821f(0x17c)](helper[_0x15821f(0x17b)](_0x8a881e,'_'),'_'+Date['now']()),_0xd151f7=((()=>{const _0x5e249b=_0x15821f;if(_0x166cc5){const _0x5888fa=pwToCodeceptBrowser[_0x8a881e['browserName']]||_0x8a881e[_0x5e249b(0x191)];return{'browser':_0x5888fa,[_0x5888fa]:{'browserWSEndpoint':_0x5b4514[_0x5e249b(0x1a9)](helper[_0x5e249b(0x161)](_0x533452[_0x5e249b(0x19b)]),_0x5b4514[_0x5e249b(0x1b4)](encodeURIComponent,JSON['stringify'](_0x8a881e)))}};}const _0x17b31c={};return _0x17b31c[_0x5e249b(0x1a7)]=_0x8a881e,_0x17b31c;})()),_0x49ec3b=_0x11b073[_0x15821f(0x1dd)](nestedKeyValue,_0x537b27,[_0x11b073['KGlFa'],_0x1f96a9]);_0x466cb9[_0x2b65ac]=_0x49ec3b?helper['mergeDeep'](_0xd151f7,_0x49ec3b):_0xd151f7,!_0x166cc5&&(_0x466cb9[_0x2b65ac][_0x15821f(0x1f6)]=_0x8a881e[_0x15821f(0x191)]||_0xd151f7['browser']),_0x3b9f3b[_0x15821f(0x1fa)](_0x2b65ac);});}else{_0xddbf6=0x1;if(_0x166cc5){const _0x305f74=_0x11b073['pkReB'](nestedKeyValue,_0x537b27,[_0x11b073[_0x492742(0x1cf)],_0x1f96a9,_0x11b073[_0x492742(0x1bc)]]),_0x584ac7=_0x11b073[_0x492742(0x164)](nestedKeyValue,_0x537b27,[_0x11b073['KGlFa'],_0x1f96a9,_0x305f74]);_0x584ac7&&_0x584ac7[_0x492742(0x1c4)]&&(_0x584ac7[_0x492742(0x1c4)]=helper['prepareCapabilities'](null,null,_0x1992f2[_0x492742(0x1aa)](),null,null,_0x584ac7[_0x492742(0x1c4)]));}else _0x537b27[_0x11b073[_0x492742(0x1cf)]][_0x1f96a9][_0x11b073[_0x492742(0x1f9)]]=helper['prepareCapabilities'](null,null,_0x1992f2['toLowerCase'](),_0x11b073['tFaRN'](nestedKeyValue,_0x537b27,[_0x11b073['KGlFa'],_0x1f96a9,_0x11b073[_0x492742(0x1f9)]]),null,null);_0x466cb9[_0x11b073[_0x492742(0x1e3)]]=_0x537b27,_0x3b9f3b[_0x492742(0x1fa)](_0x11b073[_0x492742(0x1e3)]);}const _0x56775a={};_0x56775a[_0x492742(0x1bd)]=_0x3e6464;const _0xabdbcf=_0x56775a,_0xa1e961=path[_0x492742(0x176)](__dirname,_0x11b073[_0x492742(0x1e2)]),_0x42637d=process[_0x492742(0x163)]();process[_0x492742(0x17f)][_0x11b073[_0x492742(0x171)]]=_0x42637d,process[_0x492742(0x174)](path[_0x492742(0x185)](_0x3e6464));const _0x1ba76c=new CodeceptJS[(_0x492742(0x1ee))](null,_0xabdbcf),_0x49e788=_0x1ba76c[_0x492742(0x1b0)](_0xddbf6),_0x577b62=testOpsHelper['isTestObservabilitySession'](),_0x5639be=_0x3b9f3b[_0x492742(0x1c1)](_0x45b527=>{const _0x25db96=_0x492742,_0x280e05={};_0x280e05['Playwright']=_0x466cb9[_0x45b527];const _0x1419d9={};_0x1419d9[_0x25db96(0x1d2)]=_0x466cb9[_0x45b527];const _0x4e728c=_0x166cc5?_0x280e05:_0x1419d9,_0x28f2f7=_0x11b073['FbHsN'](getO11yRerunPattern),_0x49b8b3={};_0x49b8b3[_0x25db96(0x1cb)]=_0x4e728c;const _0xdb1717={};_0xdb1717[_0x25db96(0x1c2)]=_0xa1e961,_0xdb1717[_0x25db96(0x1c7)]=!![],_0xdb1717[_0x25db96(0x199)]=_0x533452[_0x25db96(0x19b)][_0x25db96(0x1c9)][_0x25db96(0x199)],_0xdb1717[_0x25db96(0x1af)]=_0x533452[_0x25db96(0x19b)][_0x25db96(0x1c9)]['skipSessionStatus'],_0xdb1717[_0x25db96(0x189)]=_0x577b62,_0xdb1717[_0x25db96(0x196)]=_0x1992f2;const _0x232b6e={};_0x232b6e[_0x25db96(0x195)]=_0xdb1717;const _0x50a9a9={};return _0x50a9a9[_0x25db96(0x173)]=_0x232b6e,helper['mergeDeep']({},_0x537b27,_0x11b073[_0x25db96(0x168)](isBrowserstackInfra)?_0x49b8b3:{},_0x28f2f7?{'grep':_0x28f2f7}:{},_0x50a9a9);});for(const _0x13341c of _0x5639be){for(const _0x5d020f of _0x49e788){const _0x2c4177=_0x1ba76c[_0x492742(0x1b8)]();_0x2c4177[_0x492742(0x1b5)](_0x5d020f),_0x2c4177[_0x492742(0x1fc)](_0x13341c);const _0x2d4b24={};_0x2d4b24[_0x492742(0x19b)]=_0x3e6464,_0x2c4177['addOptions'](_0x2d4b24);}}_0x1ba76c['on'](CodeceptJS[_0x492742(0x16a)][_0x492742(0x1c5)][_0x492742(0x1b1)],(_0x5e9ede,_0x1a2d77)=>{const _0x132b3e=_0x492742;console[_0x132b3e(0x18a)](_0x11b073['XHQet'],_0x5e9ede[_0x132b3e(0x167)]);const _0x28edff={[_0x5e9ede[_0x132b3e(0x167)]]:_0x5e9ede[_0x132b3e(0x172)]['stack']};_testErrorData['push'](_0x28edff);}),_0x1ba76c['on'](CodeceptJS[_0x492742(0x16a)][_0x492742(0x1c5)][_0x492742(0x1eb)],async _0x37493e=>{const _0x368974=_0x492742;console['log'](_0x11b073['BKgPW'],_0x37493e[_0x368974(0x167)]);}),_0x1ba76c['on'](CodeceptJS[_0x492742(0x16a)][_0x492742(0x1c5)][_0x492742(0x1ef)],async _0x47bf8b=>{const _0x3427e3=_0x492742;console['log'](_0x11b073[_0x3427e3(0x1d8)],_0x47bf8b[_0x3427e3(0x167)]);}),_0x1ba76c['on'](CodeceptJS[_0x492742(0x16a)]['all'][_0x492742(0x169)],async()=>{const _0x13e9a0=_0x492742,_0x2f34e7=_0x11b073[_0x13e9a0(0x1de)][_0x13e9a0(0x1f7)]('|');let _0x36b239=0x0;while(!![]){switch(_0x2f34e7[_0x36b239++]){case'0':_0x1ba76c[_0x13e9a0(0x1b7)]();continue;case'1':try{await TestHubHandler[_0x13e9a0(0x1cc)]();}catch(_0x44dfa1){logger[_0x13e9a0(0x16b)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x13e9a0(0x16c)](_0x44dfa1));}continue;case'2':utilities['finalExecution'](_0x533452);continue;case'3':_0x533452[_0x13e9a0(0x1fb)]=_testErrorData;continue;case'4':testOpsHelper[_0x13e9a0(0x17a)]();continue;case'5':PerformanceTester[_0x13e9a0(0x1dc)](PerformanceEvents[_0x13e9a0(0x162)]);continue;}break;}});async function _0x1112e4(){const _0xf56433=_0x492742;try{await _0x1ba76c[_0xf56433(0x1df)](),await _0x1ba76c[_0xf56433(0x1ba)]();}finally{process[_0xf56433(0x174)](_0x42637d),await _0x1ba76c[_0xf56433(0x1ae)]();}}PerformanceTester[_0x492742(0x1b3)](PerformanceEvents[_0x492742(0x190)]),_0x11b073[_0x492742(0x1d6)](_0x1112e4);}module[a2_0x3c71a(0x1ea)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a3_0x29c67d=a3_0xbae9;function a3_0x1d64(){const _0x49b321=['config','lxQmN','phZnP','WebDriver','browserstack_executor','twezZ','searchParams','fwdWz','unknown_grid','utDNi','681942ooKCFJ','parse','chrome','name','getDetails','rjAuS','sessionId','lfvpN','GFGRE','desiredCapabilities','uOhfJ','processWebDriverConfig','../../helpers/helper','219042wPgdrl','browser','HatJD','playwright-chromium','bsSessionId','189791WWtSnd','ZXbxN','12IpQGjQ','capabilities','LtzbJ','caps','cstqe','includes','platformVersion','browser_version','../../bin/playwright/sessionDetails','bstack:options','SNKOS','platform','get','9136989qqrKQX','aWGAP','nkztH','fetchPlatformDetails','warn','constructor','45IpuHyA','kcqbc','deviceName','12884870RUrQLo','latest','browserVersion','DBfUY','browserName','14KhvyDp','HlFmX','1050352ozGGyL','jzGwS','accessibilityPlatform','browserWSEndpoint','41361324jkEoLZ','4mhjuyi','11GKFOzz','../../helpers/accessibility-automation/helper','Playwright','sbVrc','arCuh','platform_version','gQzEJ','../../helpers/test-observability/utils','BRZSG','ShLNa'];a3_0x1d64=function(){return _0x49b321;};return a3_0x1d64();}function a3_0xbae9(_0x3013bd,_0x5bfc62){const _0x1d648e=a3_0x1d64();return a3_0xbae9=function(_0xbae948,_0x11ebbf){_0xbae948=_0xbae948-0x1cc;let _0x5eabd6=_0x1d648e[_0xbae948];return _0x5eabd6;},a3_0xbae9(_0x3013bd,_0x5bfc62);}(function(_0x52b39f,_0x2b8e71){const _0x55a1b7=a3_0xbae9,_0x1ad9e3=_0x52b39f();while(!![]){try{const _0x3ab89b=-parseInt(_0x55a1b7(0x1fd))/0x1*(parseInt(_0x55a1b7(0x1d6))/0x2)+parseInt(_0x55a1b7(0x1eb))/0x3*(-parseInt(_0x55a1b7(0x1ff))/0x4)+parseInt(_0x55a1b7(0x212))/0x5*(parseInt(_0x55a1b7(0x1f8))/0x6)+parseInt(_0x55a1b7(0x1cf))/0x7*(parseInt(_0x55a1b7(0x1d1))/0x8)+-parseInt(_0x55a1b7(0x20c))/0x9+-parseInt(_0x55a1b7(0x215))/0xa+-parseInt(_0x55a1b7(0x1d7))/0xb*(-parseInt(_0x55a1b7(0x1d5))/0xc);if(_0x3ab89b===_0x2b8e71)break;else _0x1ad9e3['push'](_0x1ad9e3['shift']());}catch(_0x383ec0){_0x1ad9e3['push'](_0x1ad9e3['shift']());}}}(a3_0x1d64,0xa43b8));const {isUndefined,nestedKeyValue}=require(a3_0x29c67d(0x1f7)),logger=require('../../helpers/logger')['winstonLogger'],PlaywrightSessionDetails=require(a3_0x29c67d(0x207)),{isAccessibilityAutomationSession}=require(a3_0x29c67d(0x1d8)),{getObservabilityLinkedProductName}=require(a3_0x29c67d(0x1de)),getOSVersionFromCaps=_0x307846=>{const _0x31886d=a3_0x29c67d,_0x4a8f75={};_0x4a8f75[_0x31886d(0x1fa)]=_0x31886d(0x208),_0x4a8f75[_0x31886d(0x1f2)]='platformVersion',_0x4a8f75[_0x31886d(0x20d)]=_0x31886d(0x1dc),_0x4a8f75[_0x31886d(0x1ea)]='osVersion',_0x4a8f75[_0x31886d(0x1e0)]='os_version';const _0x3b396d=_0x4a8f75;if(!_0x307846)return null;const _0x398dc7=_0x307846[_0x3b396d['HatJD']],_0x2af598=[_0x3b396d[_0x31886d(0x1f2)],_0x3b396d[_0x31886d(0x20d)],_0x3b396d[_0x31886d(0x1ea)],_0x3b396d[_0x31886d(0x1e0)]];for(const _0x515605 of _0x2af598){if(_0x398dc7&&_0x398dc7[_0x515605])return _0x398dc7[_0x515605];else{if(_0x307846[_0x515605])return _0x307846[_0x515605];}}return null;};exports[a3_0x29c67d(0x20f)]=_0x50220d=>{const _0x2aa9b8=a3_0x29c67d,_0x3c1d55={'sbVrc':_0x2aa9b8(0x1e9),'LtzbJ':function(_0x40ad1e,_0x18ca61){return _0x40ad1e===_0x18ca61;},'cstqe':_0x2aa9b8(0x1e4),'gQzEJ':function(_0x3a0cc4,_0x6f51de){return _0x3a0cc4(_0x6f51de);},'arCuh':function(_0x3dc810,_0x4ff107,_0x3a56f5){return _0x3dc810(_0x4ff107,_0x3a56f5);},'nkztH':_0x2aa9b8(0x1e1),'phZnP':_0x2aa9b8(0x1f4),'BRZSG':_0x2aa9b8(0x1d9),'NzXus':_0x2aa9b8(0x1f9),'SNKOS':_0x2aa9b8(0x1d4),'DBfUY':_0x2aa9b8(0x202)};if(!_0x50220d)return null;let _0x4c25e2=global['__cloud_provider___']||_0x3c1d55[_0x2aa9b8(0x1da)];if(_0x3c1d55[_0x2aa9b8(0x201)](_0x50220d[_0x2aa9b8(0x211)]['name'],_0x3c1d55[_0x2aa9b8(0x203)])){const _0x1da8f1=_0x50220d[_0x2aa9b8(0x1f9)];if(!_0x1da8f1)return null;const _0x218cf7=_0x1da8f1[_0x2aa9b8(0x200)],_0x23693b=_0x3c1d55[_0x2aa9b8(0x1dd)](getOSVersionFromCaps,_0x3c1d55['arCuh'](nestedKeyValue,_0x50220d,[_0x3c1d55[_0x2aa9b8(0x20e)],_0x3c1d55[_0x2aa9b8(0x1e3)]]));return{[_0x4c25e2]:{'browser':_0x218cf7[_0x2aa9b8(0x1ce)],'browser_version':_0x218cf7[_0x2aa9b8(0x1cc)],'capabilities':_0x218cf7,'platform':_0x218cf7['platformName'],'platform_version':_0x218cf7[_0x2aa9b8(0x205)]||_0x23693b,'product':_0x3c1d55[_0x2aa9b8(0x1dd)](getObservabilityLinkedProductName,_0x218cf7),'session_id':_0x1da8f1[_0x2aa9b8(0x1f1)]}};}else{if(_0x3c1d55[_0x2aa9b8(0x201)](_0x50220d['constructor'][_0x2aa9b8(0x1ee)],_0x3c1d55[_0x2aa9b8(0x1df)])){const _0x248437=PlaywrightSessionDetails[_0x2aa9b8(0x1ef)]();_0x4c25e2=_0x248437['cloudProvider']||_0x4c25e2;const _0x27399a=_0x3c1d55[_0x2aa9b8(0x1db)](nestedKeyValue,_0x50220d,[_0x3c1d55[_0x2aa9b8(0x20e)],_0x3c1d55['NzXus'],_0x3c1d55[_0x2aa9b8(0x209)]]),_0x469721=_0x27399a?JSON[_0x2aa9b8(0x1ec)](new URL(_0x27399a)[_0x2aa9b8(0x1e7)][_0x2aa9b8(0x20b)](_0x3c1d55[_0x2aa9b8(0x1cd)])):{};return{[_0x4c25e2]:{'browser':_0x248437[_0x2aa9b8(0x1f9)]||_0x469721[_0x2aa9b8(0x1ce)],'browser_version':_0x248437[_0x2aa9b8(0x206)]||_0x469721[_0x2aa9b8(0x206)],'capabilities':_0x469721,'platform':_0x248437[_0x2aa9b8(0x20a)],'platform_version':_0x248437['platform_version'],'product':_0x3c1d55[_0x2aa9b8(0x1dd)](getObservabilityLinkedProductName,_0x469721),'session_id':_0x248437[_0x2aa9b8(0x1fc)]}};}}},exports[a3_0x29c67d(0x1f6)]=_0x121dee=>{const _0x304cd8=a3_0x29c67d,_0x3ee124={'lEEDx':function(_0x2698a6){return _0x2698a6();},'GFGRE':function(_0x68092c,_0x49ddf3){return _0x68092c===_0x49ddf3;},'kcqbc':_0x304cd8(0x216),'fwdWz':function(_0x4011e7,_0x143471){return _0x4011e7>_0x143471;},'bCBag':function(_0x4fd197,_0x9fbb40){return _0x4fd197(_0x9fbb40);},'ccgDQ':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','lxQmN':_0x304cd8(0x1ed),'ZXbxN':function(_0xce526e,_0x156d57){return _0xce526e===_0x156d57;},'dLxcS':_0x304cd8(0x1fb),'HlFmX':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','twezZ':function(_0x90b0d2,_0xa48c88){return _0x90b0d2(_0xa48c88);},'rjAuS':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.'};if(_0x3ee124['lEEDx'](isAccessibilityAutomationSession)){const _0x2a9e88=_0x121dee[_0x304cd8(0x1f9)],_0x1130db=_0x2a9e88['capabilities'];global[_0x304cd8(0x1d3)]=!![],!(_0x3ee124[_0x304cd8(0x1f3)](_0x1130db[_0x304cd8(0x1cc)],_0x3ee124[_0x304cd8(0x213)])||_0x3ee124[_0x304cd8(0x1e8)](_0x3ee124['bCBag'](parseInt,_0x1130db['browserVersion']),0x5e))&&(logger[_0x304cd8(0x210)](_0x3ee124['ccgDQ']),global[_0x304cd8(0x1d3)]=![]),!(_0x3ee124[_0x304cd8(0x1f3)](_0x1130db[_0x304cd8(0x1ce)],_0x3ee124[_0x304cd8(0x1e2)])||_0x3ee124[_0x304cd8(0x1fe)](_0x1130db[_0x304cd8(0x1ce)],_0x3ee124['dLxcS']))&&(logger[_0x304cd8(0x210)](_0x3ee124[_0x304cd8(0x1d0)]),global[_0x304cd8(0x1d3)]=![]),!_0x3ee124[_0x304cd8(0x1e6)](isUndefined,_0x1130db[_0x304cd8(0x214)])&&(logger[_0x304cd8(0x210)](_0x3ee124[_0x304cd8(0x1f0)]),global[_0x304cd8(0x1d3)]=![]);}},exports['shouldPatchExecuteScript']=_0x1b6a80=>{const _0x157fb2=a3_0x29c67d,_0x515058={};_0x515058['jzGwS']=_0x157fb2(0x1e5),_0x515058[_0x157fb2(0x1f5)]='browserstack_accessibility_automation_script';const _0x44403b=_0x515058;if(!_0x1b6a80)return![];return!_0x1b6a80[_0x157fb2(0x204)](_0x44403b[_0x157fb2(0x1d2)])&&!_0x1b6a80[_0x157fb2(0x204)](_0x44403b[_0x157fb2(0x1f5)]);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a4_0x2205ca=a4_0x2cb4;function a4_0x2cb4(_0x64a768,_0x5b2ed8){const _0x2b255a=a4_0x2b25();return a4_0x2cb4=function(_0x2cb47e,_0x52d9f4){_0x2cb47e=_0x2cb47e-0xa7;let _0x577120=_0x2b255a[_0x2cb47e];return _0x577120;},a4_0x2cb4(_0x64a768,_0x5b2ed8);}(function(_0x3d2627,_0x105b39){const _0x4d6f84=a4_0x2cb4,_0x2ffda=_0x3d2627();while(!![]){try{const _0x47ec01=-parseInt(_0x4d6f84(0xcc))/0x1+parseInt(_0x4d6f84(0xad))/0x2+-parseInt(_0x4d6f84(0xc5))/0x3*(parseInt(_0x4d6f84(0x16d))/0x4)+parseInt(_0x4d6f84(0x14e))/0x5+-parseInt(_0x4d6f84(0x148))/0x6*(-parseInt(_0x4d6f84(0x150))/0x7)+-parseInt(_0x4d6f84(0xf2))/0x8+parseInt(_0x4d6f84(0x149))/0x9;if(_0x47ec01===_0x105b39)break;else _0x2ffda['push'](_0x2ffda['shift']());}catch(_0x3e1014){_0x2ffda['push'](_0x2ffda['shift']());}}}(a4_0x2b25,0xe5c3e));const path=require(a4_0x2205ca(0xc8)),fs=require('fs'),{v4:uuidv4}=require(a4_0x2205ca(0x126)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x2205ca(0xfc)),testOpsHelper=require('../../helpers/test-observability/utils'),{getTestEnv}=require(a4_0x2205ca(0xaf)),{FRAMEWORKS}=require(a4_0x2205ca(0xaa)),logger=require('../../helpers/logger')[a4_0x2205ca(0x131)],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require(a4_0x2205ca(0x163)),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper[a4_0x2205ca(0x101)],{processAccessibilityCaps}=require(a4_0x2205ca(0x115)),Constants=require(a4_0x2205ca(0xdd)),{fetchPlatformDetails}=require(a4_0x2205ca(0x161)),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),STATE_PASSED='passed',STATE_FAILED='failed',a4_0x113121={};a4_0x113121[a4_0x2205ca(0xe6)]=a4_0x2205ca(0x156),a4_0x113121[a4_0x2205ca(0x107)]='TestRunFinished',a4_0x113121[a4_0x2205ca(0x172)]=a4_0x2205ca(0x12d),a4_0x113121['HOOK_RUN_STARTED']=a4_0x2205ca(0x182),a4_0x113121[a4_0x2205ca(0x16f)]='HookRunFinished';const TEST_EVENTS=a4_0x113121,parseEvent=_0x3ae981=>{const _0x3a79f2=a4_0x2205ca,_0x41aa2a={};_0x41aa2a[_0x3a79f2(0x100)]=function(_0x13e46a,_0x1ae666){return _0x13e46a<_0x1ae666;},_0x41aa2a[_0x3a79f2(0x177)]=function(_0xa6d0ed,_0x5e7bed){return _0xa6d0ed===_0x5e7bed;},_0x41aa2a[_0x3a79f2(0x187)]='test',_0x41aa2a['fiFLf']='hook',_0x41aa2a[_0x3a79f2(0x17e)]=_0x3a79f2(0x160),_0x41aa2a['joHbk']=function(_0x3f4c47,_0xa76408){return _0x3f4c47===_0xa76408;},_0x41aa2a[_0x3a79f2(0x104)]=_0x3a79f2(0x183),_0x41aa2a[_0x3a79f2(0x164)]=function(_0x3f449d,_0x295097){return _0x3f449d===_0x295097;},_0x41aa2a[_0x3a79f2(0x13e)]=_0x3a79f2(0x173);const _0x1140ce=_0x41aa2a,_0x2b5e6e=_0x3ae981['match'](/^(.*)Run(.*)$/);if(!_0x2b5e6e)return null;if(_0x1140ce[_0x3a79f2(0x100)](_0x2b5e6e[_0x3a79f2(0x109)],0x3))return null;const _0x4b0e99=_0x2b5e6e[0x1][_0x3a79f2(0xf1)](),_0x467f18=_0x2b5e6e[0x2][_0x3a79f2(0xf1)]();return{'test':_0x1140ce[_0x3a79f2(0x177)](_0x4b0e99,_0x1140ce['vKLoI']),'hook':_0x1140ce[_0x3a79f2(0x177)](_0x4b0e99,_0x1140ce[_0x3a79f2(0xb5)]),'skipped':_0x1140ce[_0x3a79f2(0x177)](_0x467f18,_0x1140ce[_0x3a79f2(0x17e)]),'started':_0x1140ce[_0x3a79f2(0xba)](_0x467f18,_0x1140ce[_0x3a79f2(0x104)]),'finished':_0x1140ce[_0x3a79f2(0x164)](_0x467f18,_0x1140ce['AtrLu'])};},mockPWBrowserType=_0x33ba33=>{const _0x345468=a4_0x2205ca,_0x68bf9e={'DtyGm':function(_0x2edad5,_0x4185d8){return _0x2edad5===_0x4185d8;},'DAsfk':_0x345468(0x14f),'yVwlI':function(_0x295a1c,_0x28e058,_0x16a8d9){return _0x295a1c(_0x28e058,_0x16a8d9);},'rGuud':'wsEndpoint','hDDrb':function(_0x10e6b1,_0x473ff9){return _0x10e6b1(_0x473ff9);},'hcKMg':_0x345468(0xf5),'lZGZI':function(_0x266275,_0x1022dc,_0x4438d8){return _0x266275(_0x1022dc,_0x4438d8);},'MCXsP':function(_0x357227,_0x4d273c){return _0x357227(_0x4d273c);},'CskHr':_0x345468(0xd5),'jOZNN':_0x345468(0x138),'yuXxc':_0x345468(0x14a),'mWftP':function(_0x3a0a6f,_0x614d2a){return _0x3a0a6f(_0x614d2a);},'HVBSz':function(_0x197996,_0x11cc30){return _0x197996(_0x11cc30);},'HUHHe':_0x345468(0xcb),'JmaRd':_0x345468(0x169),'GBIJt':'launch'},_0x26296e=path[_0x345468(0x17c)](_0x68bf9e['CskHr'],_0x68bf9e[_0x345468(0x114)],_0x68bf9e[_0x345468(0xe7)]),_0x3a8084=_0x68bf9e[_0x345468(0x192)](importFileFromPWCore,_0x26296e);if(!_0x3a8084){_0x68bf9e[_0x345468(0x11d)](debug,_0x68bf9e['HUHHe']);return;}const _0x26aad6=_0x3a8084[_0x345468(0xee)],_0x58444f=_0x26aad6[_0x345468(0xf9)];if(_0x58444f['obsBrowserTypeMockApplied'])return;const _0x501129=_0x58444f[_0x345468(0x169)];Object[_0x345468(0x16c)](_0x58444f,_0x68bf9e[_0x345468(0x17d)],{'get':function(){return async function _0x3b46d4(_0x56fe81,_0x26d5b8){const _0x19eeab=a4_0x2cb4,_0xa92f1a={'uWyWq':function(_0x3ad3ae,_0x23e3b5){const _0x490df6=a4_0x2cb4;return _0x68bf9e[_0x490df6(0x171)](_0x3ad3ae,_0x23e3b5);},'BdZDC':_0x68bf9e[_0x19eeab(0x159)]},_0x5f0d53=_0x68bf9e[_0x19eeab(0x16e)](nestedKeyValue,_0x56fe81,[_0x68bf9e[_0x19eeab(0xd4)]])||_0x56fe81;let _0x4604bf=null,_0x4355aa=null;try{[_0x4355aa,_0x4604bf]=_0x5f0d53?_0x68bf9e[_0x19eeab(0xe1)](parseWSEndpoint,_0x5f0d53):[null,null],global[_0x19eeab(0xf0)]=_0x4604bf,_0x4355aa[_0x19eeab(0xa8)](_0x68bf9e[_0x19eeab(0x193)])&&(global[_0x19eeab(0x146)]=_0x68bf9e[_0x19eeab(0x193)]);}catch(_0x1c73bf){logger[_0x19eeab(0x101)]('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x5f0d53+'\x20'+_0x1c73bf);}_0x68bf9e[_0x19eeab(0xd6)](processAccessibilityCaps,_0x4604bf,_0x4355aa);if(global[_0x19eeab(0x18a)]){const _0x41fabb=await _0x58444f['connectOverCDP'][_0x19eeab(0x120)](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0x68bf9e['MCXsP'](encodeURIComponent,JSON[_0x19eeab(0x13a)](_0x4604bf))]);return PlaywrightSessionDetails[_0x19eeab(0x129)](_0x41fabb,_0x33ba33,_0x5f0d53),_0x41fabb;}return _0x501129['apply'](this,arguments)['then'](_0x423e14=>{const _0x121410=_0x19eeab;let _0x38d48c=_0x56fe81[_0x121410(0xb6)];return _0xa92f1a[_0x121410(0x194)](typeof _0x56fe81,_0xa92f1a[_0x121410(0x11f)])&&(_0x38d48c=_0x56fe81),PlaywrightSessionDetails[_0x121410(0x129)](_0x423e14,_0x33ba33,_0x38d48c),_0x423e14;});};}});const _0x47d34d=_0x58444f[_0x345468(0x189)];Object[_0x345468(0x16c)](_0x58444f,_0x68bf9e['GBIJt'],{'get':function(){return async function _0x5f411b(){const _0x80f8ac=a4_0x2cb4;return _0x47d34d[_0x80f8ac(0x120)](this,arguments)[_0x80f8ac(0x134)](_0xd8a69d=>{const _0x4f561a=_0x80f8ac;return PlaywrightSessionDetails[_0x4f561a(0x129)](_0xd8a69d,null),_0xd8a69d;});};}});};class O11yHelper{[a4_0x2205ca(0xd8)]=null;['currentHook']=null;['enabled']=![];[a4_0x2205ca(0x14d)]=![];constructor(_0x140005,_0x5c1198){const _0x26d0dd=a4_0x2205ca,_0x12f9b4={'qNThK':'3|0|5|1|4|2','BhLsW':function(_0xf87124){return _0xf87124();},'htHTW':function(_0x24f4d0,_0x198454){return _0x24f4d0===_0x198454;},'mLblX':_0x26d0dd(0x127),'aVbsw':function(_0x1224fb,_0x456610){return _0x1224fb(_0x456610);},'vfgch':function(_0x48218c){return _0x48218c();}},_0x4e1571=_0x12f9b4[_0x26d0dd(0x18d)]['split']('|');let _0x363b91=0x0;while(!![]){switch(_0x4e1571[_0x363b91++]){case'0':this[_0x26d0dd(0x14d)]=_0x5c1198['frameworkName'];continue;case'1':this[_0x26d0dd(0x176)]=_0x12f9b4['BhLsW'](getTestEnv);continue;case'2':this['driver']&&_0x12f9b4['htHTW'](this[_0x26d0dd(0xd2)][_0x26d0dd(0xac)][_0x26d0dd(0x124)],_0x12f9b4['mLblX'])&&_0x12f9b4['aVbsw'](mockPWBrowserType,null);continue;case'3':this[_0x26d0dd(0x13c)]=_0x12f9b4[_0x26d0dd(0x166)](shouldProcessEventForTesthub);continue;case'4':this[_0x26d0dd(0x117)]=new testOpsHelper[(_0x26d0dd(0xe9))]({'cwd':process['cwd']()},this[_0x26d0dd(0x176)][_0x26d0dd(0x108)]);continue;case'5':this[_0x26d0dd(0xd2)]=_0x140005;continue;}break;}}['start'](){const _0xa6f38a=a4_0x2205ca;if(!this[_0xa6f38a(0x13c)])return;testOpsHelper[_0xa6f38a(0x15e)](),process[_0xa6f38a(0xb0)]('bs:addLog:'+process[_0xa6f38a(0xd1)]),process['on'](_0xa6f38a(0x147)+process[_0xa6f38a(0xd1)],this[_0xa6f38a(0x175)][_0xa6f38a(0x128)](this));}async['stop'](){const _0x4b658e=a4_0x2205ca;await RequestQueueHandler[_0x4b658e(0x188)]()[_0x4b658e(0x12e)]();}async[a4_0x2205ca(0x175)](_0x2408d5){const _0x1ab46c=a4_0x2205ca,_0x508868={'EJhhI':'LogCreated','VLbbP':function(_0x5123c6,_0x5ae75d){return _0x5123c6(_0x5ae75d);}};try{this[_0x1ab46c(0x186)]&&!this['currentHook'][_0x1ab46c(0xb8)]&&(_0x2408d5['hook_run_uuid']=this[_0x1ab46c(0x186)]['hookAnalyticsId']);!_0x2408d5[_0x1ab46c(0x118)]&&this[_0x1ab46c(0xd8)]&&!this['currentTest'][_0x1ab46c(0xb8)]&&(_0x2408d5['test_run_uuid']=this[_0x1ab46c(0xd8)][_0x1ab46c(0xb2)]);if(_0x2408d5[_0x1ab46c(0x118)]||_0x2408d5['test_run_uuid']){const _0x22325b={};_0x22325b[_0x1ab46c(0x10d)]=_0x508868['EJhhI'],_0x22325b[_0x1ab46c(0x136)]=[_0x2408d5],await SessionHandler['uploadEventData'](_0x22325b);}}catch(_0x33c435){_0x508868[_0x1ab46c(0x168)](debug,_0x1ab46c(0x13b)+_0x33c435);}}async[a4_0x2205ca(0x16b)](_0x17924a){const _0x5b8273=a4_0x2205ca,_0xb99076={'kcDOO':_0x5b8273(0xda),'tqhAw':function(_0x840f4b,_0x23e57e){return _0x840f4b(_0x23e57e);}};if(!this[_0x5b8273(0x13c)])return;const _0x6250c3=this[_0x5b8273(0x11b)](this[_0x5b8273(0xd2)]);try{const _0x491008={};_0x491008[_0x5b8273(0x126)]=_0x17924a,_0x491008[_0x5b8273(0x18f)]=_0x6250c3;const _0x19ed22=_0x491008,_0x3d71ed={};_0x3d71ed[_0x5b8273(0x10d)]=_0xb99076[_0x5b8273(0x174)],_0x3d71ed[_0x5b8273(0x10b)]=_0x19ed22,await SessionHandler['uploadEventData'](_0x3d71ed);}catch(_0x1273f8){_0xb99076[_0x5b8273(0x11e)](debug,_0x5b8273(0x102)+_0x1273f8);}}[a4_0x2205ca(0x11b)](_0xbfa3f0){const _0x5f04bb={'rhaCJ':function(_0x3ffaa1,_0x4283bf){return _0x3ffaa1(_0x4283bf);}};return _0x5f04bb['rhaCJ'](fetchPlatformDetails,_0xbfa3f0);}[a4_0x2205ca(0x13f)]=_0x27c010=>{const _0x4a752a=a4_0x2205ca,_0x1d8923={};_0x1d8923[_0x4a752a(0xf6)]=_0x4a752a(0x195),_0x1d8923[_0x4a752a(0x179)]=_0x4a752a(0x18b);const _0x49a22d=_0x1d8923;if(!_0x27c010||!_0x27c010[_0x4a752a(0x13d)])return;[_0x49a22d['CKRkX'],_0x49a22d[_0x4a752a(0x179)]][_0x4a752a(0xdb)](_0x37a6be=>{const _0x269ac2=_0x4a752a,_0x58a041=_0x27c010[_0x269ac2(0x13d)][_0x37a6be];_0x58a041[_0x269ac2(0xdb)](_0x397b78=>{const _0x23f1b2=_0x269ac2;_0x397b78[_0x23f1b2(0xef)]&&(_0x397b78['hookAnalyticsId']=null);});});};['mapTestHooks'](_0x3b7fcf){const _0x1dee64=a4_0x2205ca,_0x44c213={'ZXmkP':'codeceptjs','yXHcy':function(_0xc85a67){return _0xc85a67();},'pPyrL':function(_0x1fd484,_0x3d8dd9){return _0x1fd484===_0x3d8dd9;},'mnzHo':_0x1dee64(0x18b),'uGTwb':_0x1dee64(0xc2),'cdaYS':_0x1dee64(0x17b),'ekwsV':_0x1dee64(0x195)};if(!_0x3b7fcf||!_0x3b7fcf[_0x1dee64(0x13d)])return;[_0x44c213[_0x1dee64(0x12b)],_0x44c213[_0x1dee64(0xbf)],_0x44c213['ekwsV'],_0x44c213[_0x1dee64(0x11a)]][_0x1dee64(0xdb)](_0x4cb411=>{const _0x11b47b=_0x1dee64,_0x393173={'wgARB':_0x44c213[_0x11b47b(0x141)],'xtzWB':function(_0x8a587e){const _0x3846ff=_0x11b47b;return _0x44c213[_0x3846ff(0x17a)](_0x8a587e);},'kWvMq':function(_0x3954d2,_0x9a3130){return _0x44c213['pPyrL'](_0x3954d2,_0x9a3130);},'vMQjN':_0x44c213['mnzHo']},_0x12dbf6=_0x3b7fcf['parent'][_0x4cb411]||[];_0x12dbf6[_0x11b47b(0xdb)](_0x6304ee=>{const _0xd0108f=_0x11b47b;if(_0x6304ee[_0xd0108f(0x165)][_0xd0108f(0xa8)](_0x393173[_0xd0108f(0xae)]))return;if(!_0x6304ee[_0xd0108f(0xef)])_0x6304ee[_0xd0108f(0xef)]=_0x393173[_0xd0108f(0x190)](uuidv4);else _0x6304ee[_0xd0108f(0xb8)]&&_0x393173[_0xd0108f(0xe3)](_0x4cb411,_0x393173[_0xd0108f(0x170)])&&(_0x6304ee[_0xd0108f(0xef)]=_0x393173[_0xd0108f(0x190)](uuidv4),delete _0x6304ee[_0xd0108f(0xb8)]);});}),this[_0x1dee64(0x144)](_0x3b7fcf['parent']);}[a4_0x2205ca(0xf4)](_0x5c7b38){const _0x4e8823=a4_0x2205ca,_0xc3373={};_0xc3373['EneAs']=_0x4e8823(0xc2),_0xc3373[_0x4e8823(0x185)]=_0x4e8823(0x17b),_0xc3373['OXGJJ']=_0x4e8823(0x195),_0xc3373[_0x4e8823(0x10e)]=_0x4e8823(0x18b);const _0x5a10d1=_0xc3373;if(!_0x5c7b38||!_0x5c7b38[_0x4e8823(0x13d)])return[];const _0x3d07ff=[];return[_0x5a10d1['EneAs'],_0x5a10d1[_0x4e8823(0x185)],_0x5a10d1[_0x4e8823(0xe5)],_0x5a10d1[_0x4e8823(0x10e)]]['forEach'](_0x2691ad=>{const _0x4e036a=_0x4e8823,_0x5e8d36=_0x5c7b38[_0x4e036a(0x13d)][_0x2691ad]||[];_0x5e8d36['forEach'](_0x4410b8=>{const _0x2ad482=_0x4e036a;_0x4410b8[_0x2ad482(0xef)]&&_0x3d07ff[_0x2ad482(0xd9)](_0x4410b8[_0x2ad482(0xef)]);});}),[]['concat'](_0x3d07ff,this[_0x4e8823(0xf4)](_0x5c7b38[_0x4e8823(0x13d)]));}[a4_0x2205ca(0xcf)](_0x51310f){const _0x334fb8=a4_0x2205ca,_0x1ba3c6=/^"(?<hook>.*)" hook:.*$/,_0x164150=_0x51310f[_0x334fb8(0x165)],_0x350aa8=_0x164150['match'](_0x1ba3c6);if(_0x350aa8&&_0x350aa8[_0x334fb8(0x157)])return _0x350aa8['groups']['hook'][_0x334fb8(0xa9)]()[_0x334fb8(0x142)]('\x20','_');return null;}['findGitConfig'](_0x11fcb1){const _0x4f1daa=a4_0x2205ca,_0x23a402={};_0x23a402[_0x4f1daa(0x151)]=function(_0x23366a,_0x5c70da){return _0x23366a===_0x5c70da;},_0x23a402[_0x4f1daa(0x178)]=_0x4f1daa(0xc7),_0x23a402['rcaHy']=_0x4f1daa(0x140);const _0x573090=_0x23a402,_0x112dad=path['sep'];if(_0x573090['rrRQy'](_0x11fcb1,null)||_0x573090['rrRQy'](_0x11fcb1,'')||_0x573090[_0x4f1daa(0x151)](_0x11fcb1,_0x112dad)||_0x573090[_0x4f1daa(0x151)](_0x11fcb1,path[_0x4f1daa(0xab)](_0x11fcb1)))return null;try{return fs[_0x4f1daa(0xe0)](path[_0x4f1daa(0x17c)](_0x11fcb1,_0x573090[_0x4f1daa(0x178)],_0x573090[_0x4f1daa(0x184)])),_0x11fcb1;}catch(_0x5a265e){const _0x569f18=path[_0x4f1daa(0xab)](_0x11fcb1);return this['findGitConfig'](_0x569f18);}}['getRootParentFile'](_0x39302a){const _0x2a1e69=a4_0x2205ca,_0x2b8813={};_0x2b8813[_0x2a1e69(0x167)]=function(_0x1cc125,_0x4429be){return _0x1cc125>_0x4429be;};const _0x4eddac=_0x2b8813;if(_0x39302a[_0x2a1e69(0xc0)])return _0x39302a[_0x2a1e69(0xc0)];if(_0x39302a[_0x2a1e69(0x11c)]){const _0x18affb=_0x39302a[_0x2a1e69(0x11c)][_0x2a1e69(0xd8)]?this[_0x2a1e69(0x135)](_0x39302a[_0x2a1e69(0x11c)][_0x2a1e69(0xd8)]):null;if(_0x18affb)return _0x18affb;}if(_0x39302a['parent']){const _0x1ac304=this[_0x2a1e69(0x135)](_0x39302a[_0x2a1e69(0x13d)])||(_0x39302a[_0x2a1e69(0x13d)][_0x2a1e69(0x11c)]&&_0x39302a[_0x2a1e69(0x13d)][_0x2a1e69(0x11c)][_0x2a1e69(0xd8)]?this[_0x2a1e69(0x135)](_0x39302a[_0x2a1e69(0x13d)][_0x2a1e69(0x11c)][_0x2a1e69(0xd8)]):null);if(_0x1ac304)return _0x1ac304;_0x39302a['parent'][_0x2a1e69(0xb7)]&&_0x4eddac[_0x2a1e69(0x167)](_0x39302a[_0x2a1e69(0x13d)]['suites'][_0x2a1e69(0x109)],0x0)&&_0x39302a[_0x2a1e69(0x13d)]['suites'][_0x2a1e69(0xdb)](_0x1d79df=>{const _0x59b1e4=_0x2a1e69,_0x43d0c8=_0x1d79df['ctx']?this[_0x59b1e4(0x135)](_0x1d79df[_0x59b1e4(0x11c)]):null;if(_0x43d0c8)return _0x43d0c8;});}return null;}['getHierarchy'](_0x5db31f){const _0xf26f4=a4_0x2205ca,_0xeaf8d1={};_0xeaf8d1[_0xf26f4(0x121)]=function(_0xa6473d,_0x103c38){return _0xa6473d!==_0x103c38;};const _0xd0e9b1=_0xeaf8d1,_0x26c609=[];if(_0x5db31f&&_0x5db31f[_0xf26f4(0x13d)]){let _0x53548c=_0x5db31f[_0xf26f4(0x13d)];while(_0x53548c&&_0xd0e9b1['klIUB'](_0x53548c[_0xf26f4(0x165)],'')){_0x26c609[_0xf26f4(0xd9)](_0x53548c[_0xf26f4(0x165)]),_0x53548c=_0x53548c[_0xf26f4(0x13d)];}}return _0x26c609;}['captureEvent'](_0x5a277d,_0x43537b,_0x2ac4e6=undefined){const _0x5bb9ff=a4_0x2205ca,_0x24f877={'Bytxy':function(_0x42be0d,_0x2eadd5){return _0x42be0d(_0x2eadd5);},'gpMgs':function(_0x435bec){return _0x435bec();},'DVAgi':function(_0x2a04f4){return _0x2a04f4();},'NjpsY':_0x5bb9ff(0xc9),'RbahY':'err','ERKnz':function(_0x17b7f0,_0x160686){return _0x17b7f0!==_0x160686;},'gPaGR':function(_0x5ae68c,_0x303630){return _0x5ae68c!==_0x303630;},'gQlTa':_0x5bb9ff(0x130),'ynnHa':_0x5bb9ff(0x12a),'LGYEU':_0x5bb9ff(0x162),'FmFmv':'passed','xbCIJ':'skipped','YlZcE':'javascript','MXURy':function(_0x5db64b,_0xc0e7e2){return _0x5db64b-_0xc0e7e2;},'DGxWn':function(_0x852036,_0x5c059e,_0x43bc18,_0x5d614d,_0x44de03){return _0x852036(_0x5c059e,_0x43bc18,_0x5d614d,_0x44de03);},'ZlGuG':_0x5bb9ff(0x18f),'aywUq':_0x5bb9ff(0xbc),'HooWn':_0x5bb9ff(0x110),'XAdUg':_0x5bb9ff(0x197),'aInOB':_0x5bb9ff(0x16a),'bRfCY':_0x5bb9ff(0xfb),'DctSq':_0x5bb9ff(0x113),'hnvOI':function(_0x23b733,_0x4eea35){return _0x23b733===_0x4eea35;},'PixGB':_0x5bb9ff(0xd3),'eotAj':_0x5bb9ff(0x10b)};if(!this[_0x5bb9ff(0x13c)])return;try{if(_0x43537b['fn']&&_0x43537b['fn'][_0x5bb9ff(0x137)]()[_0x5bb9ff(0xb1)](/browserstack internal helper hook/))return;const _0x4e9f54=_0x24f877[_0x5bb9ff(0x103)](parseEvent,_0x5a277d);if(!_0x4e9f54)return;if(_0x4e9f54[_0x5bb9ff(0xde)]){this['currentTest']=_0x43537b,this[_0x5bb9ff(0x186)]=null;if(_0x4e9f54[_0x5bb9ff(0x183)]||_0x4e9f54[_0x5bb9ff(0x160)]){_0x43537b[_0x5bb9ff(0xfa)]=new Date(),_0x43537b[_0x5bb9ff(0xb8)]=![];if(!_0x43537b[_0x5bb9ff(0xb2)])_0x43537b[_0x5bb9ff(0xb2)]=_0x24f877[_0x5bb9ff(0x15d)](uuidv4);else _0x43537b[_0x5bb9ff(0xb8)]&&(!_0x43537b['retryOf']&&(_0x43537b[_0x5bb9ff(0xc4)]=_0x43537b[_0x5bb9ff(0xb2)]),_0x43537b[_0x5bb9ff(0xb2)]=_0x24f877[_0x5bb9ff(0x15d)](uuidv4));}}else{if(_0x4e9f54[_0x5bb9ff(0xf7)]){this[_0x5bb9ff(0x186)]=_0x43537b;if(_0x4e9f54['started']){_0x43537b['startedAt']=new Date(),_0x43537b[_0x5bb9ff(0xb8)]=![];if(!_0x43537b[_0x5bb9ff(0xef)])_0x43537b['hookAnalyticsId']=_0x24f877[_0x5bb9ff(0xbe)](uuidv4);else _0x43537b[_0x5bb9ff(0xef)]&&_0x43537b[_0x5bb9ff(0xb8)]&&(_0x43537b[_0x5bb9ff(0xef)]=_0x24f877[_0x5bb9ff(0x15d)](uuidv4));}}}if(_0x4e9f54['finished']&&_0x43537b[_0x5bb9ff(0xb8)])return;let _0x46c391;try{_0x46c391=this[_0x5bb9ff(0x135)](_0x43537b);}catch(_0x5209b8){logger['debug'](_0x5bb9ff(0x116)+_0x5209b8),_0x46c391=null;}const _0x3fd26d=_0x24f877[_0x5bb9ff(0x103)](require,_0x24f877[_0x5bb9ff(0x122)]);let _0x557a20=[];_0x2ac4e6&&(_0x557a20=[_0x2ac4e6,_0x24f877[_0x5bb9ff(0xe2)]]);const _0xb71107=_0x24f877[_0x5bb9ff(0xfd)](_0x43537b[_0x5bb9ff(0xf3)],undefined)?_0x3fd26d[_0x5bb9ff(0x14b)](_0x43537b[_0x5bb9ff(0xf3)][0x0]):_0x24f877[_0x5bb9ff(0x155)](_0x2ac4e6,undefined)?_0x2ac4e6[_0x5bb9ff(0x137)]():undefined,_0x126019=_0x46c391?this[_0x5bb9ff(0xfe)](_0x46c391):null,_0xb7e4d4=_0x46c391?this[_0x5bb9ff(0x117)][_0x5bb9ff(0x196)](this[_0x5bb9ff(0x135)](_0x43537b)):_0x24f877[_0x5bb9ff(0x105)];let _0x1a2760=_0x24f877[_0x5bb9ff(0xeb)];const _0x40560b=!_0x4e9f54['started']?new Date()[_0x5bb9ff(0xb4)]():null;if(_0x4e9f54['finished'])_0x1a2760=_0x2ac4e6?_0x24f877[_0x5bb9ff(0x180)]:_0x24f877['FmFmv'],_0x43537b[_0x5bb9ff(0xb8)]=!![];else _0x4e9f54[_0x5bb9ff(0x160)]&&(_0x1a2760=_0x24f877[_0x5bb9ff(0x158)],_0x43537b['markedStatus']=!![]);const _0x28cd06={'framework':this[_0x5bb9ff(0x14d)],'uuid':_0x43537b[_0x5bb9ff(0xb2)]||_0x43537b[_0x5bb9ff(0xef)],'name':_0x43537b['title'],'body':{'lang':_0x24f877[_0x5bb9ff(0x106)],'code':_0x43537b[_0x5bb9ff(0xb3)]['toString']()},'type':_0x43537b[_0x5bb9ff(0x12c)],'scope':_0x43537b['fullTitle'](),'scopes':this[_0x5bb9ff(0xf8)](_0x43537b),'file_name':_0xb7e4d4,'vc_filepath':_0x126019?path['relative'](_0x126019,_0x46c391):null,'location':_0xb7e4d4,'result':_0x1a2760,'failure_reason':_0xb71107,'duration_in_ms':_0x43537b[_0x5bb9ff(0xcd)]||(_0x4e9f54[_0x5bb9ff(0x173)]||_0x4e9f54[_0x5bb9ff(0x160)])?_0x24f877[_0x5bb9ff(0x15b)](Date[_0x5bb9ff(0x125)](),new Date(_0x43537b[_0x5bb9ff(0xfa)])['getTime']()):null,'started_at':new Date(_0x43537b[_0x5bb9ff(0xfa)])[_0x5bb9ff(0xb4)](),'finished_at':_0x40560b,'failure':testOpsHelper['failureData'][_0x5bb9ff(0x120)](null,_0x557a20),'failure_type':!_0xb71107?null:testOpsHelper[_0x5bb9ff(0x119)](_0xb71107),'retry_of':_0x43537b[_0x5bb9ff(0xc4)]||null,'tags':_0x43537b[_0x5bb9ff(0x18e)]||[],'customRerunParam':{'rerun_name':_0x43537b[_0x5bb9ff(0x10c)]()}};_0x24f877[_0x5bb9ff(0x10a)](appendTesthubParams,_0x28cd06,_0x5a277d,_0x43537b,FRAMEWORKS['CODECEPT']);if(_0x4e9f54[_0x5bb9ff(0xf7)])[_0x28cd06[_0x5bb9ff(0xe4)],_0x28cd06['name']]=[this[_0x5bb9ff(0xcf)](_0x43537b),_0x43537b[_0x5bb9ff(0x11c)]['test']['title']],_0x4e9f54[_0x5bb9ff(0x173)]?_0x24f877[_0x5bb9ff(0x155)](_0x28cd06[_0x5bb9ff(0xca)],_0x24f877['LGYEU'])&&(_0x28cd06['result']=_0x24f877[_0x5bb9ff(0x10f)]):_0x28cd06[_0x5bb9ff(0xb3)]={};else _0x4e9f54[_0x5bb9ff(0xde)]&&(this[_0x5bb9ff(0x144)](_0x43537b),_0x4e9f54[_0x5bb9ff(0x160)]&&this[_0x5bb9ff(0x13f)](_0x43537b),(_0x4e9f54['finished']||_0x4e9f54['skipped'])&&(_0x28cd06[_0x5bb9ff(0xdf)]=this[_0x5bb9ff(0xf4)](_0x43537b)));this[_0x5bb9ff(0xd2)]&&(_0x4e9f54['started']||_0x4e9f54[_0x5bb9ff(0x160)])&&(_0x28cd06[_0x24f877[_0x5bb9ff(0x15c)]]=this[_0x5bb9ff(0x11b)](this['driver']));_0x4e9f54[_0x5bb9ff(0xde)]&&_0x4e9f54[_0x5bb9ff(0x173)]&&_0x43537b[_0x5bb9ff(0x12f)]&&(_0x28cd06[_0x24f877[_0x5bb9ff(0x123)]]={'feature':{'name':_0x43537b[_0x5bb9ff(0x13d)][_0x5bb9ff(0x15f)][_0x5bb9ff(0x124)],'path':_0x28cd06[_0x5bb9ff(0x145)],'description':_0x43537b[_0x5bb9ff(0x13d)]['comment']},'scenario':{'name':_0x43537b[_0x5bb9ff(0x165)]},'steps':_0x43537b[_0x5bb9ff(0x12f)]});const _0x115b8b=_0x28cd06[_0x24f877[_0x5bb9ff(0x143)]][0x0];_0x115b8b&&(_0x28cd06[_0x24f877[_0x5bb9ff(0xff)]]=_0x115b8b[_0x24f877[_0x5bb9ff(0x181)]],_0x28cd06[_0x24f877[_0x5bb9ff(0x15a)]]=_0x115b8b[_0x24f877['DctSq']]);if(_0x43537b[_0x5bb9ff(0x12f)])for(const _0x553aeb of _0x43537b[_0x5bb9ff(0x12f)]){!_0x553aeb[_0x5bb9ff(0x154)]&&(_0x553aeb[_0x5bb9ff(0x154)]=new Date()['toISOString'](),_0x24f877[_0x5bb9ff(0x14c)](_0x553aeb[_0x5bb9ff(0xca)],_0x24f877[_0x5bb9ff(0xeb)])&&(_0x115b8b?(_0x553aeb[_0x5bb9ff(0xca)]=_0x24f877[_0x5bb9ff(0x180)],_0x553aeb[_0x5bb9ff(0x110)]=_0x115b8b[_0x24f877[_0x5bb9ff(0x181)]][0x0]):_0x553aeb[_0x5bb9ff(0xca)]=_0x24f877[_0x5bb9ff(0x10f)]));}const _0x141669={};_0x141669[_0x5bb9ff(0x10d)]=_0x4e9f54[_0x5bb9ff(0x160)]?TEST_EVENTS[_0x5bb9ff(0x107)]:_0x5a277d;const _0x2702f5=_0x141669;return _0x4e9f54[_0x5bb9ff(0xf7)]?_0x2702f5[_0x24f877[_0x5bb9ff(0x111)]]=_0x28cd06:_0x2702f5[_0x24f877['eotAj']]=_0x28cd06,_0x2702f5;}catch(_0x582e00){logger[_0x5bb9ff(0x101)]('Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x5a277d+_0x5bb9ff(0x152)+_0x582e00);}}async[a4_0x2205ca(0x153)](_0xa0f4b5,_0x3b7854){const _0x379c9e=a4_0x2205ca;if(!this[_0x379c9e(0x13c)]||!_0x3b7854||!_0xa0f4b5)return![];try{return await SessionHandler[_0x379c9e(0xb9)](_0x3b7854);}catch(_0x468fd5){logger[_0x379c9e(0x101)](_0x379c9e(0x112)+_0xa0f4b5+_0x379c9e(0x152)+_0x468fd5);}}[a4_0x2205ca(0x191)](_0x3803da){const _0x4af65d=a4_0x2205ca,_0x36133a={};_0x36133a['uFijA']=_0x4af65d(0x12a);const _0x43bcf7=_0x36133a;return{'id':_0x3803da[_0x4af65d(0x139)],'text':_0x3803da[_0x4af65d(0xe8)],'keyword':_0x3803da[_0x4af65d(0xbb)],'started_at':_0x3803da[_0x4af65d(0xfa)]['toISOString'](),'result':_0x43bcf7[_0x4af65d(0xc1)]};}['bddStepStart'](_0x4fe646){const _0x480e4e=a4_0x2205ca,_0x59721e={'HONbM':function(_0x5eb0ef){return _0x5eb0ef();}};!this[_0x480e4e(0xd8)][_0x480e4e(0x12f)]&&(this[_0x480e4e(0xd8)][_0x480e4e(0x12f)]=[]),!_0x4fe646[_0x480e4e(0x139)]&&(_0x4fe646[_0x480e4e(0x139)]=_0x59721e['HONbM'](uuidv4),_0x4fe646['startedAt']=new Date(),this['currentTest']['bddSteps'][_0x480e4e(0xd9)](this['initializeBddStep'](_0x4fe646)));}[a4_0x2205ca(0xa7)](_0x61ca92){const _0x44a496=a4_0x2205ca,_0x291f41={'vFAcz':function(_0x1f7f17,_0x309900){return _0x1f7f17(_0x309900);},'gliur':_0x44a496(0xc3),'fdQRS':_0x44a496(0x12a),'sonHb':'passed','VMPap':function(_0x3fe481,_0x4edb74){return _0x3fe481-_0x4edb74;}};let _0x247be2=this['currentTest'][_0x44a496(0x12f)][_0x44a496(0xec)](_0x5926f7=>_0x5926f7['id']===_0x61ca92[_0x44a496(0x139)]);_0x291f41[_0x44a496(0x133)](isUndefined,_0x247be2)&&(_0x247be2=this[_0x44a496(0x191)](_0x61ca92)),_0x247be2[_0x44a496(0xca)]=[_0x291f41[_0x44a496(0xed)],_0x291f41[_0x44a496(0xbd)]][_0x44a496(0xa8)](_0x61ca92['status'])?_0x291f41[_0x44a496(0xea)]:_0x61ca92[_0x44a496(0xdc)],_0x247be2[_0x44a496(0x154)]=new Date()[_0x44a496(0xb4)](),_0x247be2[_0x44a496(0xcd)]=_0x291f41[_0x44a496(0xd0)](Date[_0x44a496(0x125)](),_0x61ca92[_0x44a496(0xfa)][_0x44a496(0x18c)]()),_0x247be2[_0x44a496(0x110)]=_0x61ca92[_0x44a496(0xce)]?_0x61ca92[_0x44a496(0xce)][_0x44a496(0x132)]:null;}}const a4_0x3b6e1e={};function a4_0x2b25(){const _0x407f99=['HVBSz','tqhAw','BdZDC','apply','klIUB','NjpsY','aywUq','name','now','uuid','Playwright','bind','setupBrowserDetails','pending','uGTwb','type','TestRunSkipped','shutdown','bddSteps','File\x20path\x20could\x20not\x20be\x20found','winstonLogger','message','vFAcz','then','getRootParentFile','logs','toString','client','stepAnalyticsId','stringify','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','enabled','parent','AtrLu','resetSkipTestHooks','config','ZXmkP','replace','HooWn','mapTestHooks','file_name','__cloud_provider___','bs:addLog:','156NQunuZ','9466137jRCTVt','browserType.js','inspect','hnvOI','frameworkName','7400000bUZyde','string','428862HkLtBA','rrRQy','\x20with\x20error\x20:\x20','fireEvent','finished_at','gPaGR','TestRunStarted','groups','xbCIJ','DAsfk','bRfCY','MXURy','ZlGuG','gpMgs','patchConsoleLogger','feature','skipped','./helper.js','failed','../../helpers/test-observability/requestQueueHandler','Cczos','title','vfgch','SOYsG','VLbbP','connect','backtrace','sendCBTInfo','defineProperty','34976hHjXwl','yVwlI','HOOK_RUN_FINISHED','vMQjN','DtyGm','TEST_RUN_SKIPPED','finished','kcDOO','appendTestItemLog','_testEnv','KJVaY','tSjOI','iQeGj','yXHcy','_afterAll','join','JmaRd','URPRU','STATE_PASSED','LGYEU','aInOB','HookRunStarted','started','rcaHy','JRbts','currentHook','vKLoI','getInstance','launch','accessibilityPlatform','_afterEach','getTime','qNThK','tags','integrations','xtzWB','initializeBddStep','mWftP','hcKMg','uWyWq','_beforeEach','prefixTestPath','failure_backtrace','bddStepFinish','includes','toUpperCase','../../helpers/test-observability/constants','dirname','constructor','2885714heVoWx','wgARB','../mocha/test-observability/mochaUtils','removeAllListeners','match','testAnalyticsId','body','toISOString','fiFLf','wsEndpoint','suites','markedStatus','uploadEventData','joHbk','keyword','meta','fdQRS','DVAgi','cdaYS','file','uFijA','_beforeAll','success','retryOf','573WVYPkY','TEST_EVENTS','.git','path','util','result','Not\x20able\x20to\x20import\x20Browser','1596680IEZeee','duration','err','getHookType','VMPap','pid','driver','hook_run','rGuud','lib','lZGZI','exports','currentTest','push','CBTSessionCreated','forEach','status','../utils/constants','test','hooks','statSync','hDDrb','RbahY','kWvMq','hook_type','OXGJJ','TEST_RUN_STARTED','yuXxc','text','PathHelper','sonHb','ynnHa','find','gliur','BrowserType','hookAnalyticsId','__platformCaps','toLowerCase','10877312kreaTC','errorsDetailed','getHooksForTest','browserstack','CKRkX','hook','getHierarchy','prototype','startedAt','failure_reason_expanded','../../helpers/helper','ERKnz','findGitConfig','XAdUg','zWCid','debug','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','Bytxy','sNxsH','gQlTa','YlZcE','TEST_RUN_FINISHED','location_prefix','length','DGxWn','test_run','fullTitle','event_type','EgvwD','FmFmv','failure','PixGB','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','expanded','jOZNN','../playwright/accessibility-helper','failed\x20to\x20get\x20root\x20parent\x20file\x20','_paths','hook_run_uuid','getFailureType','mnzHo','getCBTInfo','ctx'];a4_0x2b25=function(){return _0x407f99;};return a4_0x2b25();}a4_0x3b6e1e['O11yHelper']=O11yHelper,a4_0x3b6e1e[a4_0x2205ca(0x17f)]=STATE_PASSED,a4_0x3b6e1e['STATE_FAILED']=STATE_FAILED,a4_0x3b6e1e[a4_0x2205ca(0xc6)]=TEST_EVENTS,module[a4_0x2205ca(0xd7)]=a4_0x3b6e1e;
|
|
1
|
+
function a4_0x337a(){const _0x2a83b6=['brHWk','sVXWt','../../helpers/test-observability/requestQueueHandler','50987GyjweM','defineProperty','location_prefix','then','iNmgw','__cloud_provider___','Playwright','TSNgS','KCzmC','OaADT','Cxkqo','uploadEventData','bddStepStart','WImTD','TestRunSkipped','CBTSessionCreated','result','../../helpers/logger','mapTestHooks','\x20with\x20error\x20:\x20','hook_type','HookRunFinished','errorsDetailed','getHookType','../playwright/sessionDetails','integrations','zgxQn','backtrace','sep','test_run','hooks','finished','client','match','started','SEqmH','ovYYe','lVvvi','fullTitle','frameworkName','launch','IJVkt','ZclhT','getRootParentFile','bind','../../helpers/testhub/utils.js','accessibilityPlatform','browserstack','13522960gLHTIz','_beforeAll','tLRSL','TGalK','jJWCV','failureData','ytbjE','debug','350pmtZJF','comment','18eKllip','spQnD','toLowerCase','pid','toUpperCase','STATE_FAILED','BQEZk','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','uzZsF','BrowserType','mNPqq','bddSteps','path','hookAnalyticsId','HOOK_RUN_STARTED','stringify','wsEndpoint','retryOf','zdyrd','resetSkipTestHooks','aKjtZ','findGitConfig','zmfSB','hook_run','feature','rpMUx','ZsqqJ','groups','_beforeEach','ZeTMf','markedStatus','err','yJbcZ','test_run_uuid','lib','connect','HookRunStarted','sGZtt','sendCBTInfo','passed','ewKFt','rRhnI','inspect','TEST_EVENTS','file','WkStS','initializeBddStep','enabled','join','util','getTime','getHierarchy','pending','JFhtS','bddStepFinish','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','MRJSg','Adsfd','isvvg','GJGgM','now','KpzPA','jBtgn','_afterEach','getFailureType','includes','connectOverCDP','relative','NLXDF','4726710JyfCkl','../mocha/test-observability/mochaUtils','parent','../utils/constants','start','STATE_PASSED','currentTest','../../helpers/test-observability/sessionHandler','lxpFK','duration','shutdown','DtDeK','Not\x20able\x20to\x20import\x20Browser','zUUFC','sIRff','hVAxt','hook','../../helpers/helper','ctx','text','getHooksForTest','TestRunStarted','ThlqQ','O11yHelper','zmyBX','rkUsf','startedAt','tags','fireEvent','QiXvx','KjJMZ','Lbusf','dhlVC','LogCreated','xeAhV','YGKaQ','XAPaa','meta','test','apply','title','skipped','failure','341096DTBWjL','appendTestItemLog','6261300BLzIRv','../playwright/accessibility-helper','bpwNT','HxHCR','message','hIiPZ','__platformCaps','setupBrowserDetails','TestRunFinished','prototype','axBmD','bs:addLog:','string','lSuLc','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','forEach','MNlft','event_type','CODECEPT','tydpz','POIMp','codeceptjs','toString','toISOString','currentHook','hook_run_uuid','keyword','uuid','getInstance','41791840GOVxYS','success','driver','../../helpers/test-observability/utils','_testEnv','18597MddarD','patchConsoleLogger','IIygw','winstonLogger','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','dirname','push','JfWle','length','_paths','../../helpers/test-observability/constants','status','TEST_RUN_SKIPPED','failure_reason_expanded','ZxKjN','RUXlq','9PExsmB','GBKLo','PathHelper','suites','CFXVz','testAnalyticsId','stop','Pdvvw','type','Failed\x20to\x20parse\x20wsendpoint\x20','removeAllListeners','config','lZZfL','failed','PrQzF','WGyUQ','name','lczth','HAucO','failed\x20to\x20get\x20root\x20parent\x20file\x20','body','failure_backtrace','finished_at','stepAnalyticsId'];a4_0x337a=function(){return _0x2a83b6;};return a4_0x337a();}const a4_0x405e5e=a4_0x2985;(function(_0x57dae1,_0x2a0087){const _0x174073=a4_0x2985,_0x498fcd=_0x57dae1();while(!![]){try{const _0x57ae8=parseInt(_0x174073(0x1be))/0x1+-parseInt(_0x174073(0x1f6))/0x2*(-parseInt(_0x174073(0x28c))/0x3)+-parseInt(_0x174073(0x26a))/0x4+-parseInt(_0x174073(0x23d))/0x5+parseInt(_0x174073(0x1f8))/0x6*(-parseInt(_0x174073(0x268))/0x7)+parseInt(_0x174073(0x1ee))/0x8*(-parseInt(_0x174073(0x29c))/0x9)+parseInt(_0x174073(0x287))/0xa;if(_0x57ae8===_0x2a0087)break;else _0x498fcd['push'](_0x498fcd['shift']());}catch(_0x1e5873){_0x498fcd['push'](_0x498fcd['shift']());}}}(a4_0x337a,0xec45f));const path=require(a4_0x405e5e(0x204)),fs=require('fs'),{v4:uuidv4}=require(a4_0x405e5e(0x285)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x405e5e(0x24e)),testOpsHelper=require(a4_0x405e5e(0x28a)),{getTestEnv}=require(a4_0x405e5e(0x23e)),{FRAMEWORKS}=require(a4_0x405e5e(0x296)),logger=require(a4_0x405e5e(0x1cf))[a4_0x405e5e(0x28f)],SessionHandler=require(a4_0x405e5e(0x244)),RequestQueueHandler=require(a4_0x405e5e(0x1bd)),PlaywrightSessionDetails=require(a4_0x405e5e(0x1d6)),debug=testOpsHelper[a4_0x405e5e(0x1f5)],{processAccessibilityCaps}=require(a4_0x405e5e(0x26b)),Constants=require(a4_0x405e5e(0x240)),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x405e5e(0x1eb)),STATE_PASSED=a4_0x405e5e(0x21f),STATE_FAILED=a4_0x405e5e(0x2a9),a4_0x4fabe0={};a4_0x4fabe0['TEST_RUN_STARTED']=a4_0x405e5e(0x252),a4_0x4fabe0['TEST_RUN_FINISHED']=a4_0x405e5e(0x272),a4_0x4fabe0[a4_0x405e5e(0x298)]=a4_0x405e5e(0x1cc),a4_0x4fabe0[a4_0x405e5e(0x206)]=a4_0x405e5e(0x21c),a4_0x4fabe0['HOOK_RUN_FINISHED']=a4_0x405e5e(0x1d3);const TEST_EVENTS=a4_0x4fabe0,parseEvent=_0x4ce331=>{const _0x5410b3=a4_0x405e5e,_0x415d6f={};_0x415d6f[_0x5410b3(0x1f9)]=function(_0x4ea632,_0xde231d){return _0x4ea632<_0xde231d;},_0x415d6f[_0x5410b3(0x1c2)]=function(_0x3bd8fc,_0x1e635e){return _0x3bd8fc===_0x1e635e;},_0x415d6f[_0x5410b3(0x232)]=_0x5410b3(0x263),_0x415d6f[_0x5410b3(0x256)]=_0x5410b3(0x24d),_0x415d6f[_0x5410b3(0x1f2)]=_0x5410b3(0x266),_0x415d6f[_0x5410b3(0x25d)]='started',_0x415d6f[_0x5410b3(0x26c)]=function(_0x68427a,_0x368781){return _0x68427a===_0x368781;},_0x415d6f['KpzPA']=_0x5410b3(0x1dd);const _0x9a91ef=_0x415d6f,_0xb5cf58=_0x4ce331[_0x5410b3(0x1df)](/^(.*)Run(.*)$/);if(!_0xb5cf58)return null;if(_0x9a91ef[_0x5410b3(0x1f9)](_0xb5cf58[_0x5410b3(0x294)],0x3))return null;const _0x2787ca=_0xb5cf58[0x1][_0x5410b3(0x1fa)](),_0x139d33=_0xb5cf58[0x2][_0x5410b3(0x1fa)]();return{'test':_0x9a91ef[_0x5410b3(0x1c2)](_0x2787ca,_0x9a91ef[_0x5410b3(0x232)]),'hook':_0x9a91ef[_0x5410b3(0x1c2)](_0x2787ca,_0x9a91ef[_0x5410b3(0x256)]),'skipped':_0x9a91ef['iNmgw'](_0x139d33,_0x9a91ef[_0x5410b3(0x1f2)]),'started':_0x9a91ef[_0x5410b3(0x1c2)](_0x139d33,_0x9a91ef[_0x5410b3(0x25d)]),'finished':_0x9a91ef[_0x5410b3(0x26c)](_0x139d33,_0x9a91ef[_0x5410b3(0x235)])};},mockPWBrowserType=_0x4daeec=>{const _0x2fd8ea=a4_0x405e5e,_0x508708={'KCzmC':function(_0x18fef3,_0x4e84ab){return _0x18fef3===_0x4e84ab;},'ImpsF':_0x2fd8ea(0x276),'ZeTMf':function(_0x5bf855,_0x37d200,_0x3bf544){return _0x5bf855(_0x37d200,_0x3bf544);},'OaADT':_0x2fd8ea(0x208),'gNMtc':function(_0x143cc5,_0x211c93){return _0x143cc5(_0x211c93);},'NLXDF':_0x2fd8ea(0x1ed),'OKQbQ':function(_0x48a3b3,_0x1488fc){return _0x48a3b3(_0x1488fc);},'RUXlq':_0x2fd8ea(0x21a),'ZclhT':_0x2fd8ea(0x1de),'tydpz':'browserType.js','mNPqq':function(_0x45d552,_0x3f2932){return _0x45d552(_0x3f2932);},'ZxKjN':_0x2fd8ea(0x249),'jBtgn':_0x2fd8ea(0x21b),'TSNgS':_0x2fd8ea(0x1e6)},_0x11b36f=path[_0x2fd8ea(0x228)](_0x508708[_0x2fd8ea(0x29b)],_0x508708[_0x2fd8ea(0x1e8)],_0x508708[_0x2fd8ea(0x27d)]),_0xe21de7=_0x508708[_0x2fd8ea(0x202)](importFileFromPWCore,_0x11b36f);if(!_0xe21de7){_0x508708[_0x2fd8ea(0x202)](debug,_0x508708[_0x2fd8ea(0x29a)]);return;}const _0x533d7b=_0xe21de7[_0x2fd8ea(0x201)],_0x5adceb=_0x533d7b[_0x2fd8ea(0x273)];if(_0x5adceb['obsBrowserTypeMockApplied'])return;const _0x3f6506=_0x5adceb[_0x2fd8ea(0x21b)];Object[_0x2fd8ea(0x1bf)](_0x5adceb,_0x508708[_0x2fd8ea(0x236)],{'get':function(){return async function _0x510b07(_0x30996e,_0x465f94){const _0x2c9cb4=a4_0x2985,_0x576890={'lxpFK':function(_0x369518,_0x3d7bce){const _0x26ca5d=a4_0x2985;return _0x508708[_0x26ca5d(0x1c6)](_0x369518,_0x3d7bce);},'Pdvvw':_0x508708['ImpsF']},_0x15ec1d=_0x508708[_0x2c9cb4(0x215)](nestedKeyValue,_0x30996e,[_0x508708[_0x2c9cb4(0x1c7)]])||_0x30996e;let _0x405399=null,_0x787bcc=null;try{[_0x787bcc,_0x405399]=_0x15ec1d?_0x508708['gNMtc'](parseWSEndpoint,_0x15ec1d):[null,null],global[_0x2c9cb4(0x270)]=_0x405399,_0x787bcc['includes'](_0x508708[_0x2c9cb4(0x23c)])&&(global[_0x2c9cb4(0x1c3)]=_0x508708[_0x2c9cb4(0x23c)]);}catch(_0x4c4d26){logger[_0x2c9cb4(0x1f5)](_0x2c9cb4(0x2a5)+_0x15ec1d+'\x20'+_0x4c4d26);}_0x508708[_0x2c9cb4(0x215)](processAccessibilityCaps,_0x405399,_0x787bcc);if(global[_0x2c9cb4(0x1ec)]){const _0x5ca460=await _0x5adceb[_0x2c9cb4(0x23a)][_0x2c9cb4(0x264)](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0x508708['OKQbQ'](encodeURIComponent,JSON[_0x2c9cb4(0x207)](_0x405399))]);return PlaywrightSessionDetails[_0x2c9cb4(0x271)](_0x5ca460,_0x4daeec,_0x15ec1d),_0x5ca460;}return _0x3f6506[_0x2c9cb4(0x264)](this,arguments)[_0x2c9cb4(0x1c1)](_0x5847a3=>{const _0x5f2c59=_0x2c9cb4;let _0x342a83=_0x30996e[_0x5f2c59(0x208)];return _0x576890[_0x5f2c59(0x245)](typeof _0x30996e,_0x576890[_0x5f2c59(0x2a3)])&&(_0x342a83=_0x30996e),PlaywrightSessionDetails[_0x5f2c59(0x271)](_0x5847a3,_0x4daeec,_0x342a83),_0x5847a3;});};}});const _0x2d6501=_0x5adceb['launch'];Object[_0x2fd8ea(0x1bf)](_0x5adceb,_0x508708[_0x2fd8ea(0x1c5)],{'get':function(){return async function _0x1b46a7(){const _0x20413a=a4_0x2985;return _0x2d6501['apply'](this,arguments)[_0x20413a(0x1c1)](_0xd0038d=>{const _0x5237bc=_0x20413a;return PlaywrightSessionDetails[_0x5237bc(0x271)](_0xd0038d,null),_0xd0038d;});};}});};function a4_0x2985(_0x2ac2c4,_0x393e8c){const _0x337aef=a4_0x337a();return a4_0x2985=function(_0x298539,_0x17a1b9){_0x298539=_0x298539-0x1b7;let _0x16c34a=_0x337aef[_0x298539];return _0x16c34a;},a4_0x2985(_0x2ac2c4,_0x393e8c);}class O11yHelper{['currentTest']=null;[a4_0x405e5e(0x282)]=null;[a4_0x405e5e(0x227)]=![];[a4_0x405e5e(0x1e5)]=![];constructor(_0x46fae8,_0x319fac){const _0x5a99a6=a4_0x405e5e,_0x5c6aa6={'ThlqQ':'1|2|5|0|4|3','Adsfd':function(_0x13e5c1){return _0x13e5c1();},'MNlft':function(_0x77b0b8,_0x441316){return _0x77b0b8===_0x441316;},'sGZtt':_0x5a99a6(0x1c4),'hIiPZ':function(_0xd27a8f,_0x4fa9bb){return _0xd27a8f(_0x4fa9bb);}},_0x4a4ab2=_0x5c6aa6[_0x5a99a6(0x253)]['split']('|');let _0x260d90=0x0;while(!![]){switch(_0x4a4ab2[_0x260d90++]){case'0':this[_0x5a99a6(0x28b)]=_0x5c6aa6['Adsfd'](getTestEnv);continue;case'1':this[_0x5a99a6(0x227)]=_0x5c6aa6[_0x5a99a6(0x231)](shouldProcessEventForTesthub);continue;case'2':this[_0x5a99a6(0x1e5)]=_0x319fac[_0x5a99a6(0x1e5)];continue;case'3':this['driver']&&_0x5c6aa6[_0x5a99a6(0x27a)](this[_0x5a99a6(0x289)]['constructor']['name'],_0x5c6aa6[_0x5a99a6(0x21d)])&&_0x5c6aa6[_0x5a99a6(0x26f)](mockPWBrowserType,null);continue;case'4':this['_paths']=new testOpsHelper[(_0x5a99a6(0x29e))]({'cwd':process['cwd']()},this['_testEnv'][_0x5a99a6(0x1c0)]);continue;case'5':this[_0x5a99a6(0x289)]=_0x46fae8;continue;}break;}}[a4_0x405e5e(0x241)](){const _0x4a5889=a4_0x405e5e;if(!this[_0x4a5889(0x227)])return;testOpsHelper[_0x4a5889(0x28d)](),process[_0x4a5889(0x2a6)](_0x4a5889(0x275)+process[_0x4a5889(0x1fb)]),process['on'](_0x4a5889(0x275)+process[_0x4a5889(0x1fb)],this['appendTestItemLog'][_0x4a5889(0x1ea)](this));}async[a4_0x405e5e(0x2a2)](){const _0x335536=a4_0x405e5e;await RequestQueueHandler[_0x335536(0x286)]()[_0x335536(0x247)]();}async[a4_0x405e5e(0x269)](_0x3068a4){const _0x3741ec=a4_0x405e5e,_0x8d715f={'WImTD':_0x3741ec(0x25e),'zUUFC':function(_0x1635f8,_0x42463d){return _0x1635f8(_0x42463d);}};try{this[_0x3741ec(0x282)]&&!this['currentHook'][_0x3741ec(0x216)]&&(_0x3068a4[_0x3741ec(0x283)]=this[_0x3741ec(0x282)][_0x3741ec(0x205)]);!_0x3068a4[_0x3741ec(0x283)]&&this[_0x3741ec(0x243)]&&!this[_0x3741ec(0x243)]['markedStatus']&&(_0x3068a4['test_run_uuid']=this['currentTest']['testAnalyticsId']);if(_0x3068a4['hook_run_uuid']||_0x3068a4[_0x3741ec(0x219)]){const _0x4e399f={};_0x4e399f[_0x3741ec(0x27b)]=_0x8d715f[_0x3741ec(0x1cb)],_0x4e399f['logs']=[_0x3068a4],await SessionHandler[_0x3741ec(0x1c9)](_0x4e399f);}}catch(_0x43be32){_0x8d715f[_0x3741ec(0x24a)](debug,_0x3741ec(0x290)+_0x43be32);}}async[a4_0x405e5e(0x21e)](_0x56bdd6){const _0x3a6e28=a4_0x405e5e,_0x42888a={'ZsqqJ':_0x3a6e28(0x1cd),'Lbusf':function(_0x4af700,_0x21b1f7){return _0x4af700(_0x21b1f7);}};if(!this[_0x3a6e28(0x227)])return;const _0x2136ce=this['getCBTInfo'](this[_0x3a6e28(0x289)]);try{const _0x5de086={};_0x5de086['uuid']=_0x56bdd6,_0x5de086[_0x3a6e28(0x1d7)]=_0x2136ce;const _0x4e9fb6=_0x5de086,_0x3a1af9={};_0x3a1af9[_0x3a6e28(0x27b)]=_0x42888a[_0x3a6e28(0x212)],_0x3a1af9[_0x3a6e28(0x1db)]=_0x4e9fb6,await SessionHandler[_0x3a6e28(0x1c9)](_0x3a1af9);}catch(_0x3178fd){_0x42888a[_0x3a6e28(0x25c)](debug,_0x3a6e28(0x1ff)+_0x3178fd);}}['getCBTInfo'](_0xdd6b0a){const _0x30d7b2=a4_0x405e5e,_0x4ae677={'PrQzF':function(_0x3e8279,_0x5a1c87){return _0x3e8279(_0x5a1c87);}};return _0x4ae677[_0x30d7b2(0x2aa)](fetchPlatformDetails,_0xdd6b0a);}[a4_0x405e5e(0x20b)]=_0x5dbc98=>{const _0x1d2d4b=a4_0x405e5e,_0x2ec996={};_0x2ec996[_0x1d2d4b(0x24b)]='_beforeEach',_0x2ec996['zmfSB']=_0x1d2d4b(0x237);const _0x595035=_0x2ec996;if(!_0x5dbc98||!_0x5dbc98['parent'])return;[_0x595035[_0x1d2d4b(0x24b)],_0x595035[_0x1d2d4b(0x20e)]][_0x1d2d4b(0x279)](_0x1425ea=>{const _0x3c04b4=_0x1d2d4b,_0x19b3d5=_0x5dbc98[_0x3c04b4(0x23f)][_0x1425ea];_0x19b3d5[_0x3c04b4(0x279)](_0x248ba2=>{const _0x462bc0=_0x3c04b4;_0x248ba2['hookAnalyticsId']&&(_0x248ba2[_0x462bc0(0x205)]=null);});});};[a4_0x405e5e(0x1d0)](_0x3d0b97){const _0xb66a8b=a4_0x405e5e,_0x2b17dd={'yJbcZ':_0xb66a8b(0x27f),'IJVkt':function(_0x427a15){return _0x427a15();},'JfWle':function(_0x2c9ad0,_0x4b49a2){return _0x2c9ad0===_0x4b49a2;},'uzZsF':'_afterEach','rRhnI':_0xb66a8b(0x1ef),'aHYzD':'_afterAll','JFhtS':_0xb66a8b(0x214)};if(!_0x3d0b97||!_0x3d0b97[_0xb66a8b(0x23f)])return;[_0x2b17dd[_0xb66a8b(0x221)],_0x2b17dd['aHYzD'],_0x2b17dd[_0xb66a8b(0x22d)],_0x2b17dd[_0xb66a8b(0x200)]][_0xb66a8b(0x279)](_0x93c74f=>{const _0x52d8c5=_0xb66a8b,_0x1f63f5=_0x3d0b97[_0x52d8c5(0x23f)][_0x93c74f]||[];_0x1f63f5[_0x52d8c5(0x279)](_0xfb6148=>{const _0xc09a15=_0x52d8c5;if(_0xfb6148[_0xc09a15(0x265)][_0xc09a15(0x239)](_0x2b17dd[_0xc09a15(0x218)]))return;if(!_0xfb6148[_0xc09a15(0x205)])_0xfb6148[_0xc09a15(0x205)]=_0x2b17dd[_0xc09a15(0x1e7)](uuidv4);else _0xfb6148[_0xc09a15(0x216)]&&_0x2b17dd[_0xc09a15(0x293)](_0x93c74f,_0x2b17dd[_0xc09a15(0x200)])&&(_0xfb6148[_0xc09a15(0x205)]=_0x2b17dd[_0xc09a15(0x1e7)](uuidv4),delete _0xfb6148[_0xc09a15(0x216)]);});}),this[_0xb66a8b(0x1d0)](_0x3d0b97[_0xb66a8b(0x23f)]);}[a4_0x405e5e(0x251)](_0x474766){const _0x156f8b=a4_0x405e5e,_0x6af39f={};_0x6af39f[_0x156f8b(0x261)]=_0x156f8b(0x1ef),_0x6af39f[_0x156f8b(0x25b)]='_afterAll',_0x6af39f[_0x156f8b(0x274)]=_0x156f8b(0x214),_0x6af39f[_0x156f8b(0x29d)]=_0x156f8b(0x237);const _0x38990f=_0x6af39f;if(!_0x474766||!_0x474766[_0x156f8b(0x23f)])return[];const _0x3052bb=[];return[_0x38990f['XAPaa'],_0x38990f['KjJMZ'],_0x38990f[_0x156f8b(0x274)],_0x38990f[_0x156f8b(0x29d)]]['forEach'](_0x385681=>{const _0x208510=_0x156f8b,_0x2a209e=_0x474766[_0x208510(0x23f)][_0x385681]||[];_0x2a209e[_0x208510(0x279)](_0x4c1bc4=>{const _0x58cdfd=_0x208510;_0x4c1bc4[_0x58cdfd(0x205)]&&_0x3052bb[_0x58cdfd(0x292)](_0x4c1bc4['hookAnalyticsId']);});}),[]['concat'](_0x3052bb,this[_0x156f8b(0x251)](_0x474766['parent']));}['getHookType'](_0x1c9101){const _0x112acf=a4_0x405e5e,_0x59a4cd=/^"(?<hook>.*)" hook:.*$/,_0x3f8414=_0x1c9101[_0x112acf(0x265)],_0x308e61=_0x3f8414[_0x112acf(0x1df)](_0x59a4cd);if(_0x308e61&&_0x308e61[_0x112acf(0x213)])return _0x308e61[_0x112acf(0x213)][_0x112acf(0x24d)][_0x112acf(0x1fc)]()['replace']('\x20','_');return null;}['findGitConfig'](_0x56f307){const _0x1c8a76=a4_0x405e5e,_0x3ee5fe={};_0x3ee5fe[_0x1c8a76(0x20a)]=function(_0x1b114a,_0x1e621a){return _0x1b114a===_0x1e621a;},_0x3ee5fe[_0x1c8a76(0x277)]=function(_0x12ff68,_0x525b38){return _0x12ff68===_0x525b38;},_0x3ee5fe[_0x1c8a76(0x1e2)]=function(_0x4391bc,_0xf76194){return _0x4391bc===_0xf76194;},_0x3ee5fe[_0x1c8a76(0x25f)]='.git',_0x3ee5fe[_0x1c8a76(0x1e3)]=_0x1c8a76(0x2a7);const _0x864a27=_0x3ee5fe,_0xd6f352=path[_0x1c8a76(0x1da)];if(_0x864a27[_0x1c8a76(0x20a)](_0x56f307,null)||_0x864a27[_0x1c8a76(0x20a)](_0x56f307,'')||_0x864a27[_0x1c8a76(0x277)](_0x56f307,_0xd6f352)||_0x864a27[_0x1c8a76(0x1e2)](_0x56f307,path[_0x1c8a76(0x291)](_0x56f307)))return null;try{return fs['statSync'](path[_0x1c8a76(0x228)](_0x56f307,_0x864a27[_0x1c8a76(0x25f)],_0x864a27['lVvvi'])),_0x56f307;}catch(_0x3bac5f){const _0x66f57f=path['dirname'](_0x56f307);return this[_0x1c8a76(0x20d)](_0x66f57f);}}[a4_0x405e5e(0x1e9)](_0x45a81a){const _0x1ae8bc=a4_0x405e5e,_0x5d7f04={};_0x5d7f04[_0x1ae8bc(0x230)]=function(_0x577d8e,_0x2cbae7){return _0x577d8e>_0x2cbae7;};const _0x4f0176=_0x5d7f04;if(_0x45a81a[_0x1ae8bc(0x224)])return _0x45a81a['file'];if(_0x45a81a[_0x1ae8bc(0x24f)]){const _0x1238e1=_0x45a81a[_0x1ae8bc(0x24f)][_0x1ae8bc(0x243)]?this[_0x1ae8bc(0x1e9)](_0x45a81a['ctx']['currentTest']):null;if(_0x1238e1)return _0x1238e1;}if(_0x45a81a[_0x1ae8bc(0x23f)]){const _0x7b05c7=this[_0x1ae8bc(0x1e9)](_0x45a81a['parent'])||(_0x45a81a[_0x1ae8bc(0x23f)][_0x1ae8bc(0x24f)]&&_0x45a81a['parent'][_0x1ae8bc(0x24f)]['currentTest']?this['getRootParentFile'](_0x45a81a[_0x1ae8bc(0x23f)]['ctx'][_0x1ae8bc(0x243)]):null);if(_0x7b05c7)return _0x7b05c7;_0x45a81a['parent'][_0x1ae8bc(0x29f)]&&_0x4f0176['MRJSg'](_0x45a81a[_0x1ae8bc(0x23f)][_0x1ae8bc(0x29f)][_0x1ae8bc(0x294)],0x0)&&_0x45a81a[_0x1ae8bc(0x23f)]['suites'][_0x1ae8bc(0x279)](_0x27c5e4=>{const _0x3fa38a=_0x1ae8bc,_0x2d7d3d=_0x27c5e4['ctx']?this[_0x3fa38a(0x1e9)](_0x27c5e4[_0x3fa38a(0x24f)]):null;if(_0x2d7d3d)return _0x2d7d3d;});}return null;}['getHierarchy'](_0x2b4ebd){const _0x17c638=a4_0x405e5e,_0x3789d3={};_0x3789d3[_0x17c638(0x1e1)]=function(_0x5367be,_0x4e23cf){return _0x5367be!==_0x4e23cf;};const _0x4cd11f=_0x3789d3,_0x4efc63=[];if(_0x2b4ebd&&_0x2b4ebd[_0x17c638(0x23f)]){let _0x3d9d4c=_0x2b4ebd['parent'];while(_0x3d9d4c&&_0x4cd11f[_0x17c638(0x1e1)](_0x3d9d4c[_0x17c638(0x265)],'')){_0x4efc63[_0x17c638(0x292)](_0x3d9d4c[_0x17c638(0x265)]),_0x3d9d4c=_0x3d9d4c[_0x17c638(0x23f)];}}return _0x4efc63;}['captureEvent'](_0x2aaaf5,_0x38728a,_0x965b9a=undefined){const _0xc2edbc=a4_0x405e5e,_0xe7c107={'HAucO':function(_0x381d9a,_0x5578a8){return _0x381d9a(_0x5578a8);},'YGKaQ':function(_0x4bf6db){return _0x4bf6db();},'ytbjE':function(_0x34e979){return _0x34e979();},'jbVEa':function(_0x5f0ef2,_0x32f357){return _0x5f0ef2(_0x32f357);},'PbfDF':_0xc2edbc(0x229),'WGyUQ':_0xc2edbc(0x217),'zgxQn':function(_0x4d67b1,_0x224a2b){return _0x4d67b1!==_0x224a2b;},'aKjtZ':function(_0x5ea460,_0x4c5cc6){return _0x5ea460!==_0x4c5cc6;},'hVAxt':'File\x20path\x20could\x20not\x20be\x20found','IIygw':_0xc2edbc(0x22c),'BQEZk':_0xc2edbc(0x2a9),'lZZfL':_0xc2edbc(0x21f),'JJhJY':_0xc2edbc(0x266),'CmRJV':'javascript','Oepri':function(_0x4f0cfa,_0x45003a){return _0x4f0cfa-_0x45003a;},'sVXWt':function(_0x30bf6e,_0x3148ae,_0xf42d8b,_0x59ad3b,_0x6843d4){return _0x30bf6e(_0x3148ae,_0xf42d8b,_0x59ad3b,_0x6843d4);},'CFXVz':_0xc2edbc(0x1d7),'ivoNi':_0xc2edbc(0x262),'Cxkqo':_0xc2edbc(0x267),'tLRSL':_0xc2edbc(0x1b8),'brHWk':_0xc2edbc(0x1d9),'zmyBX':_0xc2edbc(0x299),'WkStS':'expanded','QiXvx':function(_0x43d631,_0xeaee46){return _0x43d631===_0xeaee46;},'POIMp':_0xc2edbc(0x20f),'lczth':'test_run'};if(!this[_0xc2edbc(0x227)])return;try{if(_0x38728a['fn']&&_0x38728a['fn']['toString']()[_0xc2edbc(0x1df)](/browserstack internal helper hook/))return;const _0x9d8c4f=_0xe7c107[_0xc2edbc(0x2ae)](parseEvent,_0x2aaaf5);if(!_0x9d8c4f)return;if(_0x9d8c4f['test']){this['currentTest']=_0x38728a,this[_0xc2edbc(0x282)]=null;if(_0x9d8c4f[_0xc2edbc(0x1e0)]||_0x9d8c4f[_0xc2edbc(0x266)]){_0x38728a[_0xc2edbc(0x257)]=new Date(),_0x38728a[_0xc2edbc(0x216)]=![];if(!_0x38728a[_0xc2edbc(0x2a1)])_0x38728a[_0xc2edbc(0x2a1)]=_0xe7c107[_0xc2edbc(0x260)](uuidv4);else _0x38728a[_0xc2edbc(0x216)]&&(!_0x38728a[_0xc2edbc(0x209)]&&(_0x38728a[_0xc2edbc(0x209)]=_0x38728a['testAnalyticsId']),_0x38728a[_0xc2edbc(0x2a1)]=_0xe7c107[_0xc2edbc(0x1f4)](uuidv4));}}else{if(_0x9d8c4f[_0xc2edbc(0x24d)]){this[_0xc2edbc(0x282)]=_0x38728a;if(_0x9d8c4f['started']){_0x38728a['startedAt']=new Date(),_0x38728a['markedStatus']=![];if(!_0x38728a['hookAnalyticsId'])_0x38728a[_0xc2edbc(0x205)]=_0xe7c107['ytbjE'](uuidv4);else _0x38728a['hookAnalyticsId']&&_0x38728a[_0xc2edbc(0x216)]&&(_0x38728a['hookAnalyticsId']=_0xe7c107[_0xc2edbc(0x1f4)](uuidv4));}}}if(_0x9d8c4f[_0xc2edbc(0x1dd)]&&_0x38728a[_0xc2edbc(0x216)])return;let _0x3400e3;try{_0x3400e3=this[_0xc2edbc(0x1e9)](_0x38728a);}catch(_0x47f5e9){logger[_0xc2edbc(0x1f5)](_0xc2edbc(0x2af)+_0x47f5e9),_0x3400e3=null;}const _0x1b7507=_0xe7c107['jbVEa'](require,_0xe7c107['PbfDF']);let _0x6e2e8a=[];_0x965b9a&&(_0x6e2e8a=[_0x965b9a,_0xe7c107[_0xc2edbc(0x2ab)]]);const _0x32e110=_0xe7c107[_0xc2edbc(0x1d8)](_0x38728a[_0xc2edbc(0x1d4)],undefined)?_0x1b7507[_0xc2edbc(0x222)](_0x38728a['errorsDetailed'][0x0]):_0xe7c107[_0xc2edbc(0x20c)](_0x965b9a,undefined)?_0x965b9a[_0xc2edbc(0x280)]():undefined,_0x8a174f=_0x3400e3?this['findGitConfig'](_0x3400e3):null,_0x59f556=_0x3400e3?this[_0xc2edbc(0x295)]['prefixTestPath'](this['getRootParentFile'](_0x38728a)):_0xe7c107[_0xc2edbc(0x24c)];let _0x566c1f=_0xe7c107[_0xc2edbc(0x28e)];const _0x421e97=!_0x9d8c4f['started']?new Date()[_0xc2edbc(0x281)]():null;if(_0x9d8c4f[_0xc2edbc(0x1dd)])_0x566c1f=_0x965b9a?_0xe7c107[_0xc2edbc(0x1fe)]:_0xe7c107[_0xc2edbc(0x2a8)],_0x38728a[_0xc2edbc(0x216)]=!![];else _0x9d8c4f[_0xc2edbc(0x266)]&&(_0x566c1f=_0xe7c107['JJhJY'],_0x38728a[_0xc2edbc(0x216)]=!![]);const _0x268625={'framework':this[_0xc2edbc(0x1e5)],'uuid':_0x38728a['testAnalyticsId']||_0x38728a[_0xc2edbc(0x205)],'name':_0x38728a[_0xc2edbc(0x265)],'body':{'lang':_0xe7c107['CmRJV'],'code':_0x38728a['body'][_0xc2edbc(0x280)]()},'type':_0x38728a[_0xc2edbc(0x2a4)],'scope':_0x38728a[_0xc2edbc(0x1e4)](),'scopes':this[_0xc2edbc(0x22b)](_0x38728a),'file_name':_0x59f556,'vc_filepath':_0x8a174f?path[_0xc2edbc(0x23b)](_0x8a174f,_0x3400e3):null,'location':_0x59f556,'result':_0x566c1f,'failure_reason':_0x32e110,'duration_in_ms':_0x38728a['duration']||(_0x9d8c4f['finished']||_0x9d8c4f[_0xc2edbc(0x266)])?_0xe7c107['Oepri'](Date['now'](),new Date(_0x38728a[_0xc2edbc(0x257)])[_0xc2edbc(0x22a)]()):null,'started_at':new Date(_0x38728a['startedAt'])['toISOString'](),'finished_at':_0x421e97,'failure':testOpsHelper[_0xc2edbc(0x1f3)][_0xc2edbc(0x264)](null,_0x6e2e8a),'failure_type':!_0x32e110?null:testOpsHelper[_0xc2edbc(0x238)](_0x32e110),'retry_of':_0x38728a[_0xc2edbc(0x209)]||null,'tags':_0x38728a[_0xc2edbc(0x258)]||[],'customRerunParam':{'rerun_name':_0x38728a[_0xc2edbc(0x1e4)]()}};_0xe7c107[_0xc2edbc(0x1bc)](appendTesthubParams,_0x268625,_0x2aaaf5,_0x38728a,FRAMEWORKS[_0xc2edbc(0x27c)]);if(_0x9d8c4f[_0xc2edbc(0x24d)])[_0x268625[_0xc2edbc(0x1d2)],_0x268625[_0xc2edbc(0x2ac)]]=[this[_0xc2edbc(0x1d5)](_0x38728a),_0x38728a[_0xc2edbc(0x24f)][_0xc2edbc(0x263)]['title']],_0x9d8c4f['finished']?_0xe7c107[_0xc2edbc(0x1d8)](_0x268625[_0xc2edbc(0x1ce)],_0xe7c107[_0xc2edbc(0x1fe)])&&(_0x268625[_0xc2edbc(0x1ce)]=_0xe7c107[_0xc2edbc(0x2a8)]):_0x268625[_0xc2edbc(0x1b7)]={};else _0x9d8c4f[_0xc2edbc(0x263)]&&(this[_0xc2edbc(0x1d0)](_0x38728a),_0x9d8c4f['skipped']&&this[_0xc2edbc(0x20b)](_0x38728a),(_0x9d8c4f[_0xc2edbc(0x1dd)]||_0x9d8c4f[_0xc2edbc(0x266)])&&(_0x268625[_0xc2edbc(0x1dc)]=this[_0xc2edbc(0x251)](_0x38728a)));this[_0xc2edbc(0x289)]&&(_0x9d8c4f[_0xc2edbc(0x1e0)]||_0x9d8c4f[_0xc2edbc(0x266)])&&(_0x268625[_0xe7c107[_0xc2edbc(0x2a0)]]=this['getCBTInfo'](this['driver']));_0x9d8c4f[_0xc2edbc(0x263)]&&_0x9d8c4f['finished']&&_0x38728a[_0xc2edbc(0x203)]&&(_0x268625[_0xe7c107['ivoNi']]={'feature':{'name':_0x38728a[_0xc2edbc(0x23f)][_0xc2edbc(0x210)][_0xc2edbc(0x2ac)],'path':_0x268625['file_name'],'description':_0x38728a[_0xc2edbc(0x23f)][_0xc2edbc(0x1f7)]},'scenario':{'name':_0x38728a['title']},'steps':_0x38728a[_0xc2edbc(0x203)]});const _0x35d6b7=_0x268625[_0xe7c107[_0xc2edbc(0x1c8)]][0x0];_0x35d6b7&&(_0x268625[_0xe7c107[_0xc2edbc(0x1f0)]]=_0x35d6b7[_0xe7c107['brHWk']],_0x268625[_0xe7c107[_0xc2edbc(0x255)]]=_0x35d6b7[_0xe7c107[_0xc2edbc(0x225)]]);if(_0x38728a[_0xc2edbc(0x203)])for(const _0x5df68b of _0x38728a[_0xc2edbc(0x203)]){!_0x5df68b[_0xc2edbc(0x1b9)]&&(_0x5df68b[_0xc2edbc(0x1b9)]=new Date()[_0xc2edbc(0x281)](),_0xe7c107[_0xc2edbc(0x25a)](_0x5df68b[_0xc2edbc(0x1ce)],_0xe7c107[_0xc2edbc(0x28e)])&&(_0x35d6b7?(_0x5df68b['result']=_0xe7c107[_0xc2edbc(0x1fe)],_0x5df68b[_0xc2edbc(0x267)]=_0x35d6b7[_0xe7c107[_0xc2edbc(0x1bb)]][0x0]):_0x5df68b[_0xc2edbc(0x1ce)]=_0xe7c107['lZZfL']));}const _0x4481ab={};_0x4481ab['event_type']=_0x9d8c4f[_0xc2edbc(0x266)]?TEST_EVENTS['TEST_RUN_FINISHED']:_0x2aaaf5;const _0x33d8fa=_0x4481ab;return _0x9d8c4f['hook']?_0x33d8fa[_0xe7c107[_0xc2edbc(0x27e)]]=_0x268625:_0x33d8fa[_0xe7c107[_0xc2edbc(0x2ad)]]=_0x268625,_0x33d8fa;}catch(_0xc0fbee){logger[_0xc2edbc(0x1f5)](_0xc2edbc(0x278)+_0x2aaaf5+_0xc2edbc(0x1d1)+_0xc0fbee);}}async[a4_0x405e5e(0x259)](_0x3bd806,_0x101404){const _0x2299a=a4_0x405e5e;if(!this[_0x2299a(0x227)]||!_0x101404||!_0x3bd806)return![];try{return await SessionHandler[_0x2299a(0x1c9)](_0x101404);}catch(_0x1bb9e8){logger[_0x2299a(0x1f5)](_0x2299a(0x22f)+_0x3bd806+_0x2299a(0x1d1)+_0x1bb9e8);}}['initializeBddStep'](_0x368fd6){const _0x30af37=a4_0x405e5e,_0x51096c={};_0x51096c[_0x30af37(0x233)]='pending';const _0x4682f0=_0x51096c;return{'id':_0x368fd6[_0x30af37(0x1ba)],'text':_0x368fd6[_0x30af37(0x250)],'keyword':_0x368fd6[_0x30af37(0x284)],'started_at':_0x368fd6[_0x30af37(0x257)][_0x30af37(0x281)](),'result':_0x4682f0[_0x30af37(0x233)]};}[a4_0x405e5e(0x1ca)](_0x4216be){const _0xfed90c=a4_0x405e5e,_0xd7d5cc={'rpMUx':function(_0x417931){return _0x417931();}};!this[_0xfed90c(0x243)]['bddSteps']&&(this[_0xfed90c(0x243)][_0xfed90c(0x203)]=[]),!_0x4216be[_0xfed90c(0x1ba)]&&(_0x4216be[_0xfed90c(0x1ba)]=_0xd7d5cc[_0xfed90c(0x211)](uuidv4),_0x4216be[_0xfed90c(0x257)]=new Date(),this[_0xfed90c(0x243)][_0xfed90c(0x203)][_0xfed90c(0x292)](this[_0xfed90c(0x226)](_0x4216be)));}[a4_0x405e5e(0x22e)](_0x49fe94){const _0xbeb654=a4_0x405e5e,_0x22b00e={'ewKFt':function(_0x1d3d39,_0x3198fd){return _0x1d3d39(_0x3198fd);},'rvpLI':_0xbeb654(0x288),'TGalK':_0xbeb654(0x22c),'DtDeK':_0xbeb654(0x21f),'HxHCR':function(_0x3d1e27,_0x5b4510){return _0x3d1e27-_0x5b4510;}};let _0x33e133=this[_0xbeb654(0x243)][_0xbeb654(0x203)]['find'](_0x234d92=>_0x234d92['id']===_0x49fe94[_0xbeb654(0x1ba)]);_0x22b00e[_0xbeb654(0x220)](isUndefined,_0x33e133)&&(_0x33e133=this[_0xbeb654(0x226)](_0x49fe94)),_0x33e133[_0xbeb654(0x1ce)]=[_0x22b00e['rvpLI'],_0x22b00e[_0xbeb654(0x1f1)]][_0xbeb654(0x239)](_0x49fe94[_0xbeb654(0x297)])?_0x22b00e[_0xbeb654(0x248)]:_0x49fe94[_0xbeb654(0x297)],_0x33e133[_0xbeb654(0x1b9)]=new Date()['toISOString'](),_0x33e133[_0xbeb654(0x246)]=_0x22b00e[_0xbeb654(0x26d)](Date[_0xbeb654(0x234)](),_0x49fe94['startedAt']['getTime']()),_0x33e133['failure']=_0x49fe94[_0xbeb654(0x217)]?_0x49fe94[_0xbeb654(0x217)][_0xbeb654(0x26e)]:null;}}const a4_0x46a308={};a4_0x46a308[a4_0x405e5e(0x254)]=O11yHelper,a4_0x46a308[a4_0x405e5e(0x242)]=STATE_PASSED,a4_0x46a308[a4_0x405e5e(0x1fd)]=STATE_FAILED,a4_0x46a308[a4_0x405e5e(0x223)]=TEST_EVENTS,module['exports']=a4_0x46a308;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a5_0x245cb7=a5_0x230c;(function(_0x4f258f,_0x4aec89){const _0x5731b3=a5_0x230c,_0x7a98e2=_0x4f258f();while(!![]){try{const _0x1413a8=parseInt(_0x5731b3(0x1fc))/0x1*(-parseInt(_0x5731b3(0x1e3))/0x2)+parseInt(_0x5731b3(0x1e9))/0x3*(-parseInt(_0x5731b3(0x1b3))/0x4)+parseInt(_0x5731b3(0x203))/0x5*(-parseInt(_0x5731b3(0x1cf))/0x6)+-parseInt(_0x5731b3(0x1f6))/0x7+parseInt(_0x5731b3(0x1ef))/0x8+-parseInt(_0x5731b3(0x1de))/0x9*(-parseInt(_0x5731b3(0x1e7))/0xa)+parseInt(_0x5731b3(0x1e8))/0xb*(parseInt(_0x5731b3(0x1e5))/0xc);if(_0x1413a8===_0x4aec89)break;else _0x7a98e2['push'](_0x7a98e2['shift']());}catch(_0x4587d9){_0x7a98e2['push'](_0x7a98e2['shift']());}}}(a5_0x4b4d,0xd1c54));function a5_0x4b4d(){const _0x305273=['prepareCapabilities','stepsFailed','KUIaQ','SVFTz','SDK_SETUP','scenariosFailed','framework','tWjlC','scenarios','SDK_CLEANUP','getUserWorkerCount','../../helpers/helper','tRajL','turboScaleUrl','exitCode','jRZHt','rmdirSync','testObservability','exports','cwd','join','\x20failed','util','CUCUMBER','testContextOptions','pkAtr','true','iMZIt','712552FCmhJs','hmMtE','start','getPlatformName','cucumber','bgWhite','parseFormatters','chalk','BROWSERSTACK_TEST_OBSERVABILITY_YML','XSZDM','stop','yellow','\x20skipped','mergeOutputFiles','rSywh','stepsUnknown','winstonLogger','../utils/constants','isBrowserstackInfra','config','green','../../helpers/performance/performance-tester','stepsAmbiguous','snEFW','jxrWh','removeDir','push','env','7915722XEvErz','length','logLevel','setupTCGAuth','getHubUrl','processSuccess','iPFKv','\x20steps','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','nNmug','stringify','cyan','bold','unlinkSync','log','27108uHBFBr','brura','tmp','Generating\x20consolidated\x20report...','getErrorMessageFromResults','3267742rDXyoA','errorMessage','8224716OaqkmI','pJEXp','1560NfKMfU','88EQcMfe','24QopTzl','proxySettings','error\x20removing\x20tcg\x20config\x20file','initialize','oYJHC','setUserConfigPath','6178688OFBxnf','../../helpers/performance/constants','\x20scenarios','debug','\x20ambiguous','handleApp','yPxov','10415090Ezwrre','wzDmS','../test-runner','joiwf','stepsPending','../../helpers/test-observability/utils','1trRSKA','iXQfx','stepsUndefined','finalExecution','FRAMEWORKS','then','\x20passed','5XuJKlL','skipSessionName','../../helpers/utilities','red','BhqvA','accessibilityOptions','useW3C','printBuildLink','isUndefined'];a5_0x4b4d=function(){return _0x305273;};return a5_0x4b4d();}const fs=require('fs'),path=require('path'),util=require(a5_0x245cb7(0x1ad)),logger=require('../../helpers/logger')[a5_0x245cb7(0x1c3)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a5_0x245cb7(0x217)),utilities=require(a5_0x245cb7(0x205)),constants=require(a5_0x245cb7(0x1c4)),{parallelCucumberRun}=require(a5_0x245cb7(0x1f8)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testOpsHelper=require(a5_0x245cb7(0x1fb)),chalk=require(a5_0x245cb7(0x1ba)),PerformanceTester=require(a5_0x245cb7(0x1c8)),PerformanceEvents=require(a5_0x245cb7(0x1f0))['EVENTS'];function printCucumberStats(_0xead25f){const _0x40f3fd=a5_0x245cb7,_0x1dbb08={};_0x1dbb08['iMZIt']=function(_0x21797e,_0x5326ee){return _0x21797e>_0x5326ee;},_0x1dbb08['tRajL']=function(_0x48d4ab,_0x5064db){return _0x48d4ab-_0x5064db;},_0x1dbb08[_0x40f3fd(0x1b4)]=function(_0x5d18d8,_0xbbdb3e){return _0x5d18d8-_0xbbdb3e;},_0x1dbb08[_0x40f3fd(0x1d8)]=function(_0x2c162c,_0xce9b1){return _0x2c162c>_0xce9b1;},_0x1dbb08[_0x40f3fd(0x1bc)]=function(_0x59200b,_0xa5474d){return _0x59200b>_0xa5474d;},_0x1dbb08[_0x40f3fd(0x1cb)]=function(_0x5ab722,_0x1899a4){return _0x5ab722>_0x1899a4;},_0x1dbb08[_0x40f3fd(0x1b0)]=function(_0x42b062,_0x1a5508){return _0x42b062>_0x1a5508;},_0x1dbb08[_0x40f3fd(0x1ed)]=function(_0x51abef,_0x57ed6a){return _0x51abef>_0x57ed6a;},_0x1dbb08[_0x40f3fd(0x1fd)]=function(_0x2a6974,_0x1b4b81){return _0x2a6974+_0x1b4b81;},_0x1dbb08[_0x40f3fd(0x1f7)]=function(_0x2431a7,_0x2f18ee){return _0x2431a7+_0x2f18ee;},_0x1dbb08[_0x40f3fd(0x1d5)]=function(_0xb6e61e,_0x7ce281){return _0xb6e61e+_0x7ce281;},_0x1dbb08[_0x40f3fd(0x21b)]=function(_0x3d67b4,_0x3de281){return _0x3d67b4+_0x3de281;},_0x1dbb08[_0x40f3fd(0x1df)]=function(_0x358b75,_0x2365d6){return _0x358b75+_0x2365d6;},_0x1dbb08[_0x40f3fd(0x1ca)]=function(_0x5639da,_0x3ed35e){return _0x5639da===_0x3ed35e;},_0x1dbb08[_0x40f3fd(0x1c1)]=function(_0x24f3ba,_0x4b164b){return _0x24f3ba===_0x4b164b;},_0x1dbb08[_0x40f3fd(0x20e)]='****\x20RESULTS\x20****';const _0x303c97=_0x1dbb08;let _0x4aef11=0x0;if(_0x303c97[_0x40f3fd(0x1c1)](_0xead25f[_0x40f3fd(0x1d0)],0x0))return _0x4aef11;return console['log'](chalk['bold'][_0x40f3fd(0x1b8)](_0x303c97[_0x40f3fd(0x20e)])),_0xead25f['forEach'](_0x443c57=>{const _0x390dae=_0x40f3fd,_0xc878d0=_0x443c57[0x0],_0x82c44e=_0x443c57[0x1];console[_0x390dae(0x1dd)]('\x0a'+chalk[_0x390dae(0x1db)]['yellow'](''+helper[_0x390dae(0x1b6)](_0xc878d0)));const _0x430dbf=_0x82c44e[_0x390dae(0x214)],_0x1aff43=_0x82c44e['steps'],_0x5b50d3=_0x82c44e[_0x390dae(0x211)],_0x26fc13=_0x82c44e[_0x390dae(0x20d)],_0x2c04a3=_0x82c44e['stepsPassed'],_0x2ca920=_0x82c44e['stepsSkipped'],_0x40e9c0=_0x82c44e[_0x390dae(0x1fa)],_0x778fe=_0x82c44e[_0x390dae(0x1fe)],_0x500cfb=_0x82c44e[_0x390dae(0x1c2)],_0x8ea892=_0x82c44e[_0x390dae(0x1c9)],_0x23af7f=_0x82c44e[_0x390dae(0x1d4)];let _0x4c748e=_0x430dbf+_0x390dae(0x1f1);const _0x5d7b6f=_0x303c97['iMZIt'](_0x303c97[_0x390dae(0x218)](_0x430dbf,_0x5b50d3),0x0)?_0x303c97[_0x390dae(0x1b4)](_0x430dbf,_0x5b50d3):0x0;if(_0x303c97[_0x390dae(0x1b2)](_0x5b50d3,0x0)&&_0x303c97[_0x390dae(0x1b2)](_0x5d7b6f,0x0))_0x4c748e+='\x20('+chalk['bold'][_0x390dae(0x206)](_0x5b50d3+_0x390dae(0x1ac))+',\x20'+chalk[_0x390dae(0x1db)]['green'](_0x5d7b6f+_0x390dae(0x202))+')';else(_0x303c97[_0x390dae(0x1d8)](_0x5b50d3,0x0)||_0x303c97[_0x390dae(0x1d8)](_0x5d7b6f,0x0))&&(_0x4c748e+=_0x303c97[_0x390dae(0x1bc)](_0x5b50d3,0x0)?'\x20('+chalk[_0x390dae(0x1db)][_0x390dae(0x206)](_0x5b50d3+_0x390dae(0x1ac))+')':'\x20('+chalk[_0x390dae(0x1db)][_0x390dae(0x1c7)](_0x5d7b6f+'\x20passed')+')');const _0x50c574=_0x1aff43+_0x390dae(0x1d6),_0x5939b9=[];_0x303c97[_0x390dae(0x1cb)](_0x8ea892,0x0)&&_0x5939b9[_0x390dae(0x1cd)](''+chalk['bold'][_0x390dae(0x206)](_0x8ea892+_0x390dae(0x1f3)));_0x303c97['XSZDM'](_0x26fc13,0x0)&&_0x5939b9[_0x390dae(0x1cd)](''+chalk['bold'][_0x390dae(0x206)](_0x26fc13+_0x390dae(0x1ac)));_0x303c97[_0x390dae(0x1b0)](_0x2c04a3,0x0)&&_0x5939b9[_0x390dae(0x1cd)](''+chalk[_0x390dae(0x1db)][_0x390dae(0x1c7)](_0x2c04a3+_0x390dae(0x202)));_0x303c97[_0x390dae(0x1bc)](_0x40e9c0,0x0)&&_0x5939b9[_0x390dae(0x1cd)](''+chalk[_0x390dae(0x1db)][_0x390dae(0x1be)](_0x40e9c0+'\x20pending'));_0x303c97[_0x390dae(0x1ed)](_0x2ca920,0x0)&&_0x5939b9['push'](''+chalk['bold'][_0x390dae(0x1da)](_0x2ca920+_0x390dae(0x1bf)));_0x303c97[_0x390dae(0x1b2)](_0x778fe,0x0)&&_0x5939b9['push'](''+chalk[_0x390dae(0x1db)]['yellow'](_0x778fe+'\x20undefined'));_0x303c97[_0x390dae(0x1ed)](_0x500cfb,0x0)&&_0x5939b9[_0x390dae(0x1cd)](''+chalk['bold'][_0x390dae(0x1be)](_0x500cfb+'\x20skipped'));const _0x165e05=_0x303c97['iXQfx'](_0x303c97[_0x390dae(0x1fd)](_0x303c97[_0x390dae(0x1f7)](_0x50c574,'('),_0x5939b9[_0x390dae(0x220)](',\x20')),')');console[_0x390dae(0x1dd)](_0x303c97[_0x390dae(0x1f7)](_0x303c97['iPFKv'](_0x303c97[_0x390dae(0x21b)](_0x303c97[_0x390dae(0x1df)]('\x0a',_0x4c748e),'\x0a'),_0x165e05),'\x0a')),_0x303c97['snEFW'](_0x23af7f,![])&&(_0x4aef11=0x1);}),_0x4aef11;}function a5_0x230c(_0x2d6bd3,_0x71adcb){const _0x4b4ddb=a5_0x4b4d();return a5_0x230c=function(_0x230c3b,_0x4539bf){_0x230c3b=_0x230c3b-0x1ac;let _0x57a324=_0x4b4ddb[_0x230c3b];return _0x57a324;},a5_0x230c(_0x2d6bd3,_0x71adcb);}async function run(_0x34958e,_0x77c30b,_0x2c5939){const _0x578aea=a5_0x245cb7,_0x526723={'yPxov':function(_0x3bb020,_0x2b9dec){return _0x3bb020(_0x2b9dec);},'EFdvL':function(_0xd475f1,_0x466034){return _0xd475f1>_0x466034;},'Rwfmm':_0x578aea(0x1e1),'SVFTz':'Removing\x20tmp\x20directory\x20created\x20for\x20reports','BhqvA':_0x578aea(0x1b7),'rospz':_0x578aea(0x1eb),'TQsao':_0x578aea(0x1e0),'tWjlC':function(_0x316858,_0x4cb22b){return _0x316858>_0x4cb22b;},'pJEXp':function(_0x5d52ca,_0x5b31cd){return _0x5d52ca-_0x5b31cd;},'tfazv':function(_0x4a95b1,_0x80e87b){return _0x4a95b1>=_0x80e87b;},'joiwf':function(_0x366e7c,_0x3bc10c){return _0x366e7c!=_0x3bc10c;},'Kssaz':_0x578aea(0x1b1),'SHyQk':function(_0x293adb,_0x41af96,_0x1dc560,_0x515862,_0x72787f,_0x5d3aa8){return _0x293adb(_0x41af96,_0x1dc560,_0x515862,_0x72787f,_0x5d3aa8);}};await _0x2c5939[_0x578aea(0x1ec)](_0x34958e),helper[_0x578aea(0x1ee)](_0x2c5939[_0x578aea(0x212)],_0x34958e);!helper[_0x578aea(0x1c5)]()&&await _0x2c5939[_0x578aea(0x1d2)]();await helper[_0x578aea(0x1f4)](_0x2c5939[_0x578aea(0x1c6)]);const _0x371811=helper[_0x578aea(0x209)](_0x2c5939[_0x578aea(0x1c6)]);!helper[_0x578aea(0x20b)](_0x2c5939['config'][_0x578aea(0x208)])&&(process['env'][_0x578aea(0x1d7)]=JSON[_0x578aea(0x1d9)](_0x2c5939[_0x578aea(0x1c6)][_0x578aea(0x208)]));const _0x9eb633=await TestHubHandler['launchBuild'](constants['FRAMEWORKS']['CUCUMBER'],_0x2c5939),_0x34c734=helper[_0x578aea(0x20c)](_0x2c5939[_0x578aea(0x1c6)],_0x371811,constants['FRAMEWORKS'][_0x578aea(0x1ae)]);if(!_0x2c5939[_0x578aea(0x1c6)])return;const _0x84cc6f=_0x2c5939[_0x578aea(0x1c6)]['parallelsPerPlatform']||helper[_0x578aea(0x216)](_0x34958e,_0x77c30b,_0x2c5939[_0x578aea(0x1c6)],constants[_0x578aea(0x200)][_0x578aea(0x1ae)])||0x1,_0x4478bc={'server':helper[_0x578aea(0x1d3)](_0x2c5939['config']),'proxySettings':_0x2c5939[_0x578aea(0x1c6)][_0x578aea(0x1ea)],'maxWorkers':_0x84cc6f,'browserStackLogLevel':_0x2c5939[_0x578aea(0x1c6)][_0x578aea(0x1d1)],'skipSessionName':_0x2c5939[_0x578aea(0x1c6)]['testContextOptions'][_0x578aea(0x204)],'skipSessionStatus':_0x2c5939[_0x578aea(0x1c6)][_0x578aea(0x1af)]['skipSessionStatus'],'turboScaleUrl':_0x2c5939['config'][_0x578aea(0x219)]},_0x503e34=process['argv'],[_0x2f3d5a,_0x94c0ef]=helper[_0x578aea(0x1b9)](_0x503e34),_0x3b5af0=path[_0x578aea(0x220)](process[_0x578aea(0x21f)](),_0x526723['TQsao']);if(_0x526723[_0x578aea(0x213)](_0x94c0ef[_0x578aea(0x1d0)],0x0)){helper['createDir'](_0x3b5af0);for(let _0xce7f8c=_0x526723[_0x578aea(0x1e6)](_0x2f3d5a['length'],0x1);_0x526723['tfazv'](_0xce7f8c,0x0);_0xce7f8c--){_0x503e34['splice'](_0x2f3d5a[_0xce7f8c],0x2);}}_0x526723[_0x578aea(0x1f9)](_0x2c5939[_0x578aea(0x1c6)][_0x578aea(0x21d)],null)?process[_0x578aea(0x1ce)][_0x578aea(0x1bb)]=_0x2c5939['config']['testObservability']:process[_0x578aea(0x1ce)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x526723['Kssaz'];PerformanceTester['end'](PerformanceEvents[_0x578aea(0x210)]);let _0x5361f7;_0x526723['SHyQk'](parallelCucumberRun,_0x34c734,_0x4478bc,_0x2c5939[_0x578aea(0x1c6)],_0x503e34,_0x94c0ef)[_0x578aea(0x201)](async _0x231eea=>{const _0x45747e=_0x578aea;PerformanceTester[_0x45747e(0x1b5)](PerformanceEvents[_0x45747e(0x215)]),_0x5361f7=_0x231eea;const _0x28b688=_0x526723[_0x45747e(0x1f5)](printCucumberStats,_0x231eea);process[_0x45747e(0x21a)]=_0x28b688,_0x526723['EFdvL'](_0x94c0ef[_0x45747e(0x1d0)],0x0)&&(logger[_0x45747e(0x1f2)](_0x526723['Rwfmm']),helper[_0x45747e(0x1c0)](_0x3b5af0,_0x94c0ef),logger[_0x45747e(0x1f2)](_0x526723[_0x45747e(0x20f)]),helper[_0x45747e(0x1cc)](_0x3b5af0));})['finally'](async()=>{const _0x26c7d8=_0x578aea;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']),_0x2c5939[_0x26c7d8(0x1e4)]=helper[_0x26c7d8(0x1e2)](_0x5361f7,_0x526723[_0x26c7d8(0x207)]),testOpsHelper[_0x26c7d8(0x20a)]();try{await TestHubHandler[_0x26c7d8(0x1bd)]();}catch(_0x41875f){logger[_0x26c7d8(0x1f2)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util['format'](_0x41875f));}try{const {browserstackFolderPath:_0x306565,tcgConfigPath:_0x5b14da}=helper['getTCGConfigFilePaths']();fs[_0x26c7d8(0x1dc)](_0x5b14da),fs[_0x26c7d8(0x21c)](_0x306565);}catch(_0xb01ae5){logger[_0x26c7d8(0x1f2)](_0x526723['rospz'],_0xb01ae5);}await utilities[_0x26c7d8(0x1ff)](_0x2c5939);});}module[a5_0x245cb7(0x21e)]=run;
|
|
2
|
+
'use strict';const a5_0x3b0af2=a5_0x2c81;(function(_0x2ce6e0,_0x94a01e){const _0x5bc827=a5_0x2c81,_0x1aad0c=_0x2ce6e0();while(!![]){try{const _0x2d3dd6=parseInt(_0x5bc827(0x1d9))/0x1+-parseInt(_0x5bc827(0x1b4))/0x2+-parseInt(_0x5bc827(0x1db))/0x3+-parseInt(_0x5bc827(0x19b))/0x4+parseInt(_0x5bc827(0x200))/0x5*(-parseInt(_0x5bc827(0x1cc))/0x6)+-parseInt(_0x5bc827(0x1f6))/0x7*(parseInt(_0x5bc827(0x1a9))/0x8)+parseInt(_0x5bc827(0x1c5))/0x9;if(_0x2d3dd6===_0x94a01e)break;else _0x1aad0c['push'](_0x1aad0c['shift']());}catch(_0x1f4b0a){_0x1aad0c['push'](_0x1aad0c['shift']());}}}(a5_0x2d8c,0xb43d3));const fs=require('fs'),path=require(a5_0x3b0af2(0x1ed)),util=require(a5_0x3b0af2(0x193)),logger=require(a5_0x3b0af2(0x1bd))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a5_0x3b0af2(0x1f7)),utilities=require(a5_0x3b0af2(0x194)),constants=require('../utils/constants'),{parallelCucumberRun}=require(a5_0x3b0af2(0x1a5)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testOpsHelper=require('../../helpers/test-observability/utils'),chalk=require(a5_0x3b0af2(0x1f0)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a5_0x3b0af2(0x1de))[a5_0x3b0af2(0x196)];function a5_0x2c81(_0x5f5a1b,_0x20d135){const _0x2d8cb2=a5_0x2d8c();return a5_0x2c81=function(_0x2c81a9,_0x17cc5b){_0x2c81a9=_0x2c81a9-0x191;let _0x2a87ea=_0x2d8cb2[_0x2c81a9];return _0x2a87ea;},a5_0x2c81(_0x5f5a1b,_0x20d135);}function printCucumberStats(_0x5db2d0){const _0x2a105d=a5_0x3b0af2,_0x4e1d01={};_0x4e1d01['Jluim']=function(_0xa48ca8,_0x45ce8c){return _0xa48ca8>_0x45ce8c;},_0x4e1d01[_0x2a105d(0x1cb)]=function(_0x191de1,_0x5b46f4){return _0x191de1-_0x5b46f4;},_0x4e1d01[_0x2a105d(0x1ba)]=function(_0x2cfa35,_0x4cce7e){return _0x2cfa35-_0x4cce7e;},_0x4e1d01[_0x2a105d(0x1b9)]=function(_0x4df2ef,_0x2a402b){return _0x4df2ef>_0x2a402b;},_0x4e1d01['rHoQy']=function(_0x15fc81,_0x3d5500){return _0x15fc81>_0x3d5500;},_0x4e1d01[_0x2a105d(0x1aa)]=function(_0x33a675,_0x4fb531){return _0x33a675>_0x4fb531;},_0x4e1d01['fXtcl']=function(_0x3953f2,_0x264609){return _0x3953f2>_0x264609;},_0x4e1d01[_0x2a105d(0x1dc)]=function(_0xc783c,_0x26f878){return _0xc783c>_0x26f878;},_0x4e1d01[_0x2a105d(0x195)]=function(_0xbffe05,_0x194515){return _0xbffe05>_0x194515;},_0x4e1d01[_0x2a105d(0x1c7)]=function(_0x4efe21,_0x9f2f9e){return _0x4efe21+_0x9f2f9e;},_0x4e1d01[_0x2a105d(0x19a)]=function(_0x4efb9e,_0x5bcaa3){return _0x4efb9e+_0x5bcaa3;},_0x4e1d01[_0x2a105d(0x1f5)]=function(_0x12dc8a,_0xc22e82){return _0x12dc8a+_0xc22e82;},_0x4e1d01['nXOVx']=function(_0x1d57eb,_0x11e58c){return _0x1d57eb+_0x11e58c;},_0x4e1d01[_0x2a105d(0x1a7)]=function(_0x22f2bd,_0x1e64f2){return _0x22f2bd===_0x1e64f2;},_0x4e1d01['pwYAi']=function(_0x266577,_0x455969){return _0x266577===_0x455969;},_0x4e1d01[_0x2a105d(0x1fe)]=_0x2a105d(0x1ab);const _0x50cea3=_0x4e1d01;let _0x4c35ae=0x0;if(_0x50cea3[_0x2a105d(0x1cf)](_0x5db2d0[_0x2a105d(0x1f3)],0x0))return _0x4c35ae;return console[_0x2a105d(0x198)](chalk[_0x2a105d(0x1b8)]['bgWhite'](_0x50cea3[_0x2a105d(0x1fe)])),_0x5db2d0[_0x2a105d(0x1da)](_0x4f96a3=>{const _0x3955da=_0x2a105d,_0x373b23=_0x4f96a3[0x0],_0x1298b0=_0x4f96a3[0x1];console[_0x3955da(0x198)]('\x0a'+chalk[_0x3955da(0x1b8)][_0x3955da(0x1ac)](''+helper['getPlatformName'](_0x373b23)));const _0x43a5e4=_0x1298b0[_0x3955da(0x1c3)],_0x332fff=_0x1298b0['steps'],_0x524203=_0x1298b0[_0x3955da(0x1c2)],_0x3ddde7=_0x1298b0[_0x3955da(0x1e9)],_0x2440b7=_0x1298b0[_0x3955da(0x1e2)],_0x4de657=_0x1298b0[_0x3955da(0x1a4)],_0x3a650a=_0x1298b0['stepsPending'],_0x2044c0=_0x1298b0[_0x3955da(0x1b1)],_0x1b15d6=_0x1298b0[_0x3955da(0x191)],_0x5de381=_0x1298b0[_0x3955da(0x19d)],_0x5ece0a=_0x1298b0['processSuccess'];let _0x2aff89=_0x43a5e4+_0x3955da(0x1d2);const _0x19cf25=_0x50cea3['Jluim'](_0x50cea3[_0x3955da(0x1cb)](_0x43a5e4,_0x524203),0x0)?_0x50cea3[_0x3955da(0x1ba)](_0x43a5e4,_0x524203):0x0;if(_0x50cea3['DyTdJ'](_0x524203,0x0)&&_0x50cea3['rHoQy'](_0x19cf25,0x0))_0x2aff89+='\x20('+chalk[_0x3955da(0x1b8)][_0x3955da(0x1b3)](_0x524203+_0x3955da(0x1a8))+',\x20'+chalk[_0x3955da(0x1b8)]['green'](_0x19cf25+_0x3955da(0x1fa))+')';else(_0x50cea3[_0x3955da(0x1c8)](_0x524203,0x0)||_0x50cea3['rXIUn'](_0x19cf25,0x0))&&(_0x2aff89+=_0x50cea3[_0x3955da(0x1e3)](_0x524203,0x0)?'\x20('+chalk['bold']['red'](_0x524203+'\x20failed')+')':'\x20('+chalk[_0x3955da(0x1b8)][_0x3955da(0x1b5)](_0x19cf25+'\x20passed')+')');const _0x13d546=_0x332fff+_0x3955da(0x1ee),_0x5d94b4=[];_0x50cea3[_0x3955da(0x1c8)](_0x5de381,0x0)&&_0x5d94b4[_0x3955da(0x1a1)](''+chalk['bold'][_0x3955da(0x1b3)](_0x5de381+_0x3955da(0x1ce)));_0x50cea3[_0x3955da(0x1b9)](_0x3ddde7,0x0)&&_0x5d94b4[_0x3955da(0x1a1)](''+chalk[_0x3955da(0x1b8)][_0x3955da(0x1b3)](_0x3ddde7+_0x3955da(0x1a8)));_0x50cea3['rXIUn'](_0x2440b7,0x0)&&_0x5d94b4[_0x3955da(0x1a1)](''+chalk[_0x3955da(0x1b8)][_0x3955da(0x1b5)](_0x2440b7+_0x3955da(0x1fa)));_0x50cea3[_0x3955da(0x1e3)](_0x3a650a,0x0)&&_0x5d94b4[_0x3955da(0x1a1)](''+chalk[_0x3955da(0x1b8)][_0x3955da(0x1ac)](_0x3a650a+_0x3955da(0x1ca)));_0x50cea3[_0x3955da(0x1c8)](_0x4de657,0x0)&&_0x5d94b4[_0x3955da(0x1a1)](''+chalk[_0x3955da(0x1b8)][_0x3955da(0x1fc)](_0x4de657+_0x3955da(0x197)));_0x50cea3[_0x3955da(0x1dc)](_0x2044c0,0x0)&&_0x5d94b4['push'](''+chalk['bold'][_0x3955da(0x1ac)](_0x2044c0+_0x3955da(0x19f)));_0x50cea3['YisvC'](_0x1b15d6,0x0)&&_0x5d94b4['push'](''+chalk['bold'][_0x3955da(0x1ac)](_0x1b15d6+'\x20skipped'));const _0x21a4ed=_0x50cea3['ijpAa'](_0x50cea3[_0x3955da(0x19a)](_0x50cea3[_0x3955da(0x1c7)](_0x13d546,'('),_0x5d94b4[_0x3955da(0x1a6)](',\x20')),')');console[_0x3955da(0x198)](_0x50cea3['eSajx'](_0x50cea3[_0x3955da(0x1ef)](_0x50cea3[_0x3955da(0x1f5)](_0x50cea3[_0x3955da(0x1f5)]('\x0a',_0x2aff89),'\x0a'),_0x21a4ed),'\x0a')),_0x50cea3[_0x3955da(0x1a7)](_0x5ece0a,![])&&(_0x4c35ae=0x1);}),_0x4c35ae;}async function run(_0x21b434,_0x49154b,_0x4c5ba6){const _0x2fc016=a5_0x3b0af2,_0x1fe23e={'baIey':function(_0x4e96f3,_0x5f588b){return _0x4e96f3(_0x5f588b);},'fACSs':function(_0x20bf6a,_0x5a48ed){return _0x20bf6a>_0x5a48ed;},'HJfAi':_0x2fc016(0x1ea),'APXHs':'Removing\x20tmp\x20directory\x20created\x20for\x20reports','xMSyq':_0x2fc016(0x1d6),'wpiCX':_0x2fc016(0x1d4),'IwgXL':_0x2fc016(0x1d0),'FezkD':function(_0x5c1a89,_0x8a781b){return _0x5c1a89-_0x8a781b;},'VCbWG':function(_0x10d829,_0xbb0fd9){return _0x10d829>=_0xbb0fd9;},'mnecJ':function(_0x5387ed,_0x35410b){return _0x5387ed!=_0x35410b;},'yeRQv':_0x2fc016(0x1bc),'XDVSh':function(_0x544e89,_0xb537ce,_0x4a5992,_0x270af1,_0x20d6da,_0x5435ff){return _0x544e89(_0xb537ce,_0x4a5992,_0x270af1,_0x20d6da,_0x5435ff);}};await _0x4c5ba6['initialize'](_0x21b434),helper['setUserConfigPath'](_0x4c5ba6[_0x2fc016(0x1be)],_0x21b434);!helper[_0x2fc016(0x1c4)]()&&await _0x4c5ba6['setupTCGAuth']();await helper[_0x2fc016(0x1a3)](_0x4c5ba6[_0x2fc016(0x1af)]);const _0x4e2285=helper['useW3C'](_0x4c5ba6[_0x2fc016(0x1af)]);!helper['isUndefined'](_0x4c5ba6[_0x2fc016(0x1af)][_0x2fc016(0x1b0)])&&(process['env'][_0x2fc016(0x1d5)]=JSON['stringify'](_0x4c5ba6[_0x2fc016(0x1af)][_0x2fc016(0x1b0)]));const _0x51ed2f=await TestHubHandler[_0x2fc016(0x1f1)](constants[_0x2fc016(0x1c6)]['CUCUMBER'],_0x4c5ba6),_0x4c71b0=helper[_0x2fc016(0x1fd)](_0x4c5ba6[_0x2fc016(0x1af)],_0x4e2285,constants[_0x2fc016(0x1c6)][_0x2fc016(0x1e6)]);if(!_0x4c5ba6[_0x2fc016(0x1af)])return;const _0x5b2b48=_0x4c5ba6['config']['parallelsPerPlatform']||helper['getUserWorkerCount'](_0x21b434,_0x49154b,_0x4c5ba6['config'],constants[_0x2fc016(0x1c6)]['CUCUMBER'])||0x1,_0x3816ac={'server':helper[_0x2fc016(0x1d7)](_0x4c5ba6[_0x2fc016(0x1af)]),'proxySettings':_0x4c5ba6['config'][_0x2fc016(0x1d3)],'maxWorkers':_0x5b2b48,'browserStackLogLevel':_0x4c5ba6[_0x2fc016(0x1af)]['logLevel'],'skipSessionName':_0x4c5ba6[_0x2fc016(0x1af)]['testContextOptions'][_0x2fc016(0x1d8)],'skipSessionStatus':_0x4c5ba6['config'][_0x2fc016(0x1a2)]['skipSessionStatus'],'turboScaleUrl':_0x4c5ba6[_0x2fc016(0x1af)][_0x2fc016(0x1f8)]},_0x2b8fbb=process[_0x2fc016(0x1ec)],[_0x4feed1,_0x2dfdda]=helper['parseFormatters'](_0x2b8fbb),_0x4b434b=path[_0x2fc016(0x1a6)](process[_0x2fc016(0x1b7)](),_0x1fe23e[_0x2fc016(0x1e5)]);if(_0x1fe23e['fACSs'](_0x2dfdda[_0x2fc016(0x1f3)],0x0)){helper['createDir'](_0x4b434b);for(let _0x51e6dc=_0x1fe23e[_0x2fc016(0x1f4)](_0x4feed1[_0x2fc016(0x1f3)],0x1);_0x1fe23e['VCbWG'](_0x51e6dc,0x0);_0x51e6dc--){_0x2b8fbb[_0x2fc016(0x1b2)](_0x4feed1[_0x51e6dc],0x2);}}_0x1fe23e[_0x2fc016(0x1a0)](_0x4c5ba6['config']['testObservability'],null)?process[_0x2fc016(0x1c1)][_0x2fc016(0x1d1)]=_0x4c5ba6[_0x2fc016(0x1af)][_0x2fc016(0x201)]:process[_0x2fc016(0x1c1)][_0x2fc016(0x1d1)]=_0x1fe23e[_0x2fc016(0x1fb)];PerformanceTester[_0x2fc016(0x1b6)](PerformanceEvents[_0x2fc016(0x1e0)]);let _0x5e5bfa;_0x1fe23e[_0x2fc016(0x1ad)](parallelCucumberRun,_0x4c71b0,_0x3816ac,_0x4c5ba6[_0x2fc016(0x1af)],_0x2b8fbb,_0x2dfdda)['then'](async _0x28381c=>{const _0x316017=_0x2fc016;PerformanceTester[_0x316017(0x1cd)](PerformanceEvents[_0x316017(0x1e4)]),_0x5e5bfa=_0x28381c;const _0x11aeea=_0x1fe23e[_0x316017(0x1bb)](printCucumberStats,_0x28381c);process[_0x316017(0x1eb)]=_0x11aeea,_0x1fe23e['fACSs'](_0x2dfdda[_0x316017(0x1f3)],0x0)&&(logger[_0x316017(0x19e)](_0x1fe23e[_0x316017(0x1ae)]),helper[_0x316017(0x1bf)](_0x4b434b,_0x2dfdda),logger[_0x316017(0x19e)](_0x1fe23e[_0x316017(0x199)]),helper[_0x316017(0x1dd)](_0x4b434b));})['finally'](async()=>{const _0x53544d=_0x2fc016;PerformanceTester[_0x53544d(0x1cd)](PerformanceEvents['SDK_CLEANUP']),_0x4c5ba6[_0x53544d(0x1df)]=helper[_0x53544d(0x192)](_0x5e5bfa,_0x1fe23e[_0x53544d(0x1e7)]),testOpsHelper[_0x53544d(0x1e1)]();try{await TestHubHandler[_0x53544d(0x1c9)]();}catch(_0x325837){logger[_0x53544d(0x19e)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x53544d(0x1ff)](_0x325837));}try{const {browserstackFolderPath:_0x17c596,tcgConfigPath:_0x30e5f4}=helper[_0x53544d(0x19c)]();fs['unlinkSync'](_0x30e5f4),fs[_0x53544d(0x1f2)](_0x17c596);}catch(_0x51a6a0){logger[_0x53544d(0x19e)](_0x1fe23e[_0x53544d(0x1e8)],_0x51a6a0);}await utilities[_0x53544d(0x1c0)](_0x4c5ba6);});}function a5_0x2d8c(){const _0xbbaff3=['5621244iSpCrx','getTCGConfigFilePaths','stepsAmbiguous','debug','\x20undefined','mnecJ','push','testContextOptions','handleApp','stepsSkipped','../test-runner','join','VdKNG','\x20failed','16ZyIARK','rXIUn','****\x20RESULTS\x20****','yellow','XDVSh','HJfAi','config','accessibilityOptions','stepsUndefined','splice','red','129758vLlWDv','green','end','cwd','bold','DyTdJ','jOXAp','baIey','true','../../helpers/logger','framework','mergeOutputFiles','finalExecution','env','scenariosFailed','scenarios','isBrowserstackInfra','25055856FKDtEF','FRAMEWORKS','ijpAa','Jluim','stop','\x20pending','zGiEW','3222sXZLGr','start','\x20ambiguous','pwYAi','tmp','BROWSERSTACK_TEST_OBSERVABILITY_YML','\x20scenarios','proxySettings','error\x20removing\x20tcg\x20config\x20file','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','cucumber','getHubUrl','skipSessionName','827254rLZCoe','forEach','45936cvFgud','XrvKE','removeDir','../../helpers/performance/constants','errorMessage','SDK_SETUP','printBuildLink','stepsPassed','fXtcl','SDK_CLEANUP','IwgXL','CUCUMBER','xMSyq','wpiCX','stepsFailed','Generating\x20consolidated\x20report...','exitCode','argv','path','\x20steps','nXOVx','chalk','launchBuild','rmdirSync','length','FezkD','eSajx','1350902OuZYPG','../../helpers/helper','turboScaleUrl','exports','\x20passed','yeRQv','cyan','prepareCapabilities','AVIMt','format','9325WWfwKL','testObservability','stepsUnknown','getErrorMessageFromResults','util','../../helpers/utilities','YisvC','EVENTS','\x20skipped','log','APXHs','HmqDo'];a5_0x2d8c=function(){return _0xbbaff3;};return a5_0x2d8c();}module[a5_0x3b0af2(0x1f9)]=run;
|