browserstack-node-sdk 1.34.12 → 1.34.13
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/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/createk8sClient.js +1 -1
- package/ats/src/utils/deleteStack.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/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.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-tester.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
|
-
function a1_0x5b54(_0xd38517,_0x384c8a){const _0x513ae7=a1_0x513a();return a1_0x5b54=function(_0x5b545e,_0x11181d){_0x5b545e=_0x5b545e-0x1c8;let _0x3554b7=_0x513ae7[_0x5b545e];return _0x3554b7;},a1_0x5b54(_0xd38517,_0x384c8a);}function a1_0x513a(){const _0x45abf8=['frpOH','test','add','__skipSessionStatus','thBuildUuid','LqbKR','browser','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','all','xIDlA','setSessionName','3620700JdcSSt','env','122308TDTUsB','comment','getAccessibilityResults','getResultsSummary','HOOK_RUN_STARTED','helpers','cHNnX','BS_TESTOPS_ALLOW_SCREENSHOTS','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','LTsbb','WdCpi','passed','DXrxq','fireEvent','container','find','bind','event','WebDriver','performScan','dispatcher','exports','PvVHJ','12xfVeOz','../../helpers/helper','reason','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','info','captureError','cKXil','stopMonitoring','commandsToWrap','FoMXX','../../helpers/accessibility-automation/scripts','7809340woDypB','patchSaveScreenshot','start','captureEvent','emit','name','TestCafe','tGMwz','TEST_RUN_SKIPPED','started','status','failed','hook','yyzsm','catch','arguments','getResults','Playwright','apply','step','cSfqD','codeceptjs/lib/index.js','codeceptjs/lib/recorder.js','bs:addLog:','Puppeteer','../../bin/playwright/sessionDetails','ENV_VAR','base64','BgrGa','class','warn','uffnv','browserStackExecuteDriver','TEST_RUN_FINISHED','codeceptjs/lib/helper/WebDriver.js','xwzgF','readFileSync','after','executeScript','__driver','bddStepFinish','Suite','TEST_SCREENSHOT','3945130VPkPiT','WlhFd','Performing\x20scan\x20for\x20','../../helpers/request-spy','call','bGTGj','../../helpers/logger','bstackAllyScanning','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','vFWtv','skipSessionName','YeEqR','bddStep','codeceptjs/lib/helper/Playwright.js','startMonitoring','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','RPFpD','action','titlePath','QyuCY','stringify','toISOString','9cNjGlk','24JTwhcB','browserstack_executor:\x20','overwriteCommand','./helper.js','../../helpers/test-observability/utils','format','16220490UViXjf','currentTest','RhnvJ','../../bin/playwright/accessibility-helper','skipped','kYgJh','prototype','Wbctf','getSyncScript','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','initSaveScreenshot','179468yMphRi','constructor','Element','oKhgq','testAnalyticsId','./o11yHelper','HOOK_RUN_FINISHED','accessibilityPlatform','before','restore','saveScreenshot','XBhKM','BROWSERSTACK_TESTHUB_UUID','icsQH','_before','gCtWV','24KJexjz','winstonLogger','forEach','slice','Xumny','TNsTj','xBKxg','ctx','OUUMl','thTestRunUuid','zvLWo','../../helpers/accessibility-automation/helper','3526816pOQzrp','codeceptjs/lib/utils.js','debug','TEST_RUN_STARTED','skipSessionStatus','ciHmY'];a1_0x513a=function(){return _0x45abf8;};return a1_0x513a();}const a1_0x216233=a1_0x5b54;(function(_0x1c8bb6,_0x3dfcfe){const _0x19b0cc=a1_0x5b54,_0x41f76d=_0x1c8bb6();while(!![]){try{const _0x5e86e7=parseInt(_0x19b0cc(0x23d))/0x1*(-parseInt(_0x19b0cc(0x1d9))/0x2)+parseInt(_0x19b0cc(0x25e))/0x3*(parseInt(_0x19b0cc(0x24e))/0x4)+-parseInt(_0x19b0cc(0x1d7))/0x5*(parseInt(_0x19b0cc(0x1f0))/0x6)+parseInt(_0x19b0cc(0x1fb))/0x7+parseInt(_0x19b0cc(0x26a))/0x8+parseInt(_0x19b0cc(0x23c))/0x9*(parseInt(_0x19b0cc(0x226))/0xa)+parseInt(_0x19b0cc(0x243))/0xb;if(_0x5e86e7===_0x3dfcfe)break;else _0x41f76d['push'](_0x41f76d['shift']());}catch(_0x1bd364){_0x41f76d['push'](_0x41f76d['shift']());}}}(a1_0x513a,0xd40b7));const fs=require('fs'),util=require('util'),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x216233(0x1f1)),logger=require(a1_0x216233(0x22c))[a1_0x216233(0x25f)],testOpsHelper=require(a1_0x216233(0x241)),requestSpy=require(a1_0x216233(0x229)),PlaywrightSessionDetails=require(a1_0x216233(0x214)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x216233(0x253)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x216233(0x269)),AccessibilityHelper=require(a1_0x216233(0x246)),scripts=require(a1_0x216233(0x1fa)),PerformanceTester=require('../../helpers/performance-tester'),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x216233(0x240)),testHubConstants=require('../../helpers/testhub/constants.js'),CodeceptJS=requireModule(a1_0x216233(0x210)),CodeceptUtils=requireModule(a1_0x216233(0x26b)),CodeceptWebDriver=requireModule(a1_0x216233(0x21d)),CodeceptRecorder=requireModule(a1_0x216233(0x211)),CodeceptPlaywright=requireModule(a1_0x216233(0x233)),playwrightMarkSessionStatus=(_0x1b8486,_0x30df8b,_0x57fb1c)=>{const _0x230547=a1_0x216233,_0x2f81a5={'FoMXX':'setSessionStatus','kYgJh':function(_0x4fa120,_0x599f06){return _0x4fa120(_0x599f06);}},_0xb53ad8={};_0xb53ad8[_0x230547(0x205)]=_0x30df8b;const _0x297fa7={};_0x297fa7['action']=_0x2f81a5[_0x230547(0x1f9)],_0x297fa7[_0x230547(0x20a)]=_0xb53ad8;const _0x2f1136=_0x297fa7;return!_0x2f81a5[_0x230547(0x248)](isUndefined,_0x57fb1c)&&(_0x2f1136[_0x230547(0x20a)][_0x230547(0x1f2)]=JSON[_0x230547(0x23a)](_0x57fb1c)),_0x1b8486[_0x230547(0x221)](()=>{},_0x230547(0x23e)+JSON[_0x230547(0x23a)](_0x2f1136));},o11ySync=async _0x56a429=>{const _0x4bdfb1=a1_0x216233,_0x3706d6={};_0x3706d6[_0x4bdfb1(0x245)]=function(_0x1c5dd1,_0x2beafa){return _0x1c5dd1===_0x2beafa;},_0x3706d6[_0x4bdfb1(0x25b)]=_0x4bdfb1(0x20c);const _0x34eed5=_0x3706d6;_0x34eed5[_0x4bdfb1(0x245)](_0x56a429[_0x4bdfb1(0x24f)]['name'],_0x34eed5[_0x4bdfb1(0x25b)])?await _0x56a429[_0x4bdfb1(0x221)](_0x5211d3=>{},testOpsHelper[_0x4bdfb1(0x24b)]()):await _0x56a429['executeScript'](testOpsHelper[_0x4bdfb1(0x24b)]());},markSessionName=async(_0x254a30,_0x5e3d3f)=>{const _0x5b466d=a1_0x216233,_0xd15b01={};_0xd15b01['xwzgF']=_0x5b466d(0x1d6),_0xd15b01[_0x5b466d(0x1df)]=function(_0x357960,_0x3cb6d8){return _0x357960===_0x3cb6d8;},_0xd15b01['oQpqi']='Playwright';const _0x3376d8=_0xd15b01,_0x3ea86a={};_0x3ea86a[_0x5b466d(0x200)]=_0x5e3d3f;const _0x1d1215={};_0x1d1215[_0x5b466d(0x237)]=_0x3376d8[_0x5b466d(0x21e)],_0x1d1215[_0x5b466d(0x20a)]=_0x3ea86a;const _0x2205fa=_0x1d1215;_0x3376d8[_0x5b466d(0x1df)](_0x254a30[_0x5b466d(0x24f)][_0x5b466d(0x200)],_0x3376d8['oQpqi'])?await _0x254a30[_0x5b466d(0x221)](()=>{},_0x5b466d(0x23e)+JSON[_0x5b466d(0x23a)](_0x2205fa)):await _0x254a30[_0x5b466d(0x221)](_0x5b466d(0x23e)+JSON[_0x5b466d(0x23a)](_0x2205fa));},patchSaveScreenshot=_0x1bbcdc=>{const _0x3a033a=a1_0x216233,_0x3b23dc={'iYDzE':_0x3a033a(0x216),'IfBwS':_0x3a033a(0x225),'WdCpi':function(_0x1743f7){return _0x1743f7();},'QyuCY':function(_0x1e8852,_0x3d890e){return _0x1e8852(_0x3d890e);}};_0x3b23dc[_0x3a033a(0x239)](isTrue,process['env'][_0x3a033a(0x1e0)])&&!_0x1bbcdc[_0x3a033a(0x1fc)]&&(_0x1bbcdc[_0x3a033a(0x1fc)]=!![],_0x1bbcdc[_0x3a033a(0x24d)]=_0x1bbcdc[_0x3a033a(0x258)],_0x1bbcdc['saveScreenshot']=(_0x1ca8ea,_0x5029c4=![])=>{const _0x14739f={'zvLWo':_0x3b23dc['iYDzE'],'PvVHJ':_0x3b23dc['IfBwS'],'cKXil':function(_0x3be421){const _0x301657=a1_0x5b54;return _0x3b23dc[_0x301657(0x1e3)](_0x3be421);}};return new Promise(function(_0x1c680,_0x57c041){const _0x4eca3c=a1_0x5b54,_0x3c26da={'ZGyqa':_0x14739f[_0x4eca3c(0x268)],'bGTGj':_0x14739f[_0x4eca3c(0x1ef)],'XBhKM':function(_0xb36e76){const _0xad3fb9=_0x4eca3c;return _0x14739f[_0xad3fb9(0x1f6)](_0xb36e76);}};_0x1bbcdc['initSaveScreenshot'](_0x1ca8ea,_0x5029c4)['then'](()=>{const _0x57efbe=_0x4eca3c,_0x1cfe43=CodeceptUtils['screenshotOutputFolder'](_0x1ca8ea),_0x2a3745=fs[_0x57efbe(0x21f)](_0x1cfe43);process[_0x57efbe(0x1ff)](_0x57efbe(0x212)+process['pid'],{'timestamp':new Date()['toISOString'](),'message':_0x2a3745['toString'](_0x3c26da['ZGyqa']),'kind':_0x3c26da[_0x57efbe(0x22b)]}),_0x3c26da[_0x57efbe(0x259)](_0x1c680);})[_0x4eca3c(0x209)](()=>null);});});},patchWebDriverBefore=_0x24aae4=>{const _0x505db2=a1_0x216233,_0x4f3ed4={'RPFpD':function(_0x72d38a){return _0x72d38a();},'tGMwz':function(_0x356a5f,_0x1e363e){return _0x356a5f(_0x1e363e);},'WlhFd':function(_0x437b59,_0x4c87ca){return _0x437b59===_0x4c87ca;},'TNsTj':_0x505db2(0x250)},_0x46c08b=async function(_0x4d5168,_0x3cf4b9){const _0x5a62e1=_0x505db2;return _0x4f3ed4[_0x5a62e1(0x236)](isAccessibilityAutomationSession)&&!global['bstackAllyScanning']&&global['accessibilityPlatform']&&scripts['shouldWrapCommand'](_0x4d5168[_0x5a62e1(0x200)])&&_0x4f3ed4[_0x5a62e1(0x202)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x5a62e1(0x22d)]=!![],logger[_0x5a62e1(0x1c8)](_0x5a62e1(0x228)+_0x4d5168[_0x5a62e1(0x218)]+'\x20'+_0x4d5168[_0x5a62e1(0x200)]),await AccessibilityHelper[_0x5a62e1(0x21b)](_0x24aae4,scripts[_0x5a62e1(0x1ec)])),global[_0x5a62e1(0x22d)]=![],_0x3cf4b9[_0x5a62e1(0x20d)](this,Array[_0x5a62e1(0x249)][_0x5a62e1(0x261)][_0x5a62e1(0x22a)](arguments,0x2));},_0xe50120=CodeceptWebDriver[_0x505db2(0x249)][_0x505db2(0x25c)];CodeceptWebDriver[_0x505db2(0x249)]['_before']=async function(){const _0xb2a61f=_0x505db2,_0x1508c7={'Wbctf':function(_0x51ba55,_0x3247ab){const _0x2839d2=a1_0x5b54;return _0x4f3ed4[_0x2839d2(0x227)](_0x51ba55,_0x3247ab);},'gxAZj':_0x4f3ed4[_0xb2a61f(0x263)]};await _0xe50120['apply'](this,arguments),scripts[_0xb2a61f(0x1f8)]['filter'](_0x1c3eed=>_0x1c3eed['name']&&_0x1c3eed['class'])[_0xb2a61f(0x260)](_0x27bfd1=>{const _0x1709ea=_0xb2a61f;this[_0x1709ea(0x1d2)][_0x1709ea(0x23f)](_0x27bfd1[_0x1709ea(0x200)],_0x46c08b[_0x1709ea(0x1e9)](this,_0x27bfd1),_0x1508c7[_0x1709ea(0x24a)](_0x27bfd1[_0x1709ea(0x218)],_0x1508c7['gxAZj']));}),_0x4f3ed4[_0xb2a61f(0x202)](processWebDriverConfig,_0x24aae4);};},patchPlaywrightBefore=()=>{const _0x3da010=a1_0x216233;PlaywrightSessionDetails['patch']();const _0xf733eb=CodeceptPlaywright[_0x3da010(0x249)]['_before'];CodeceptPlaywright[_0x3da010(0x249)][_0x3da010(0x25c)]=async function(){const _0x5b0d0e=_0x3da010;this['browserContext']=await this[_0x5b0d0e(0x1d2)]['contexts']()[0x0],await _0xf733eb['apply'](this,arguments);};},getCodeceptDriver=()=>{const _0x153a03=a1_0x216233,_0x3cec06={};_0x3cec06['ZjmFy']=_0x153a03(0x1eb),_0x3cec06['BgrGa']=_0x153a03(0x20c),_0x3cec06['oKhgq']=_0x153a03(0x213),_0x3cec06['OUUMl']=_0x153a03(0x201);const _0x45c5ba=_0x3cec06,_0x49569d=[_0x45c5ba['ZjmFy'],_0x45c5ba[_0x153a03(0x217)],_0x45c5ba[_0x153a03(0x251)],_0x45c5ba[_0x153a03(0x266)]],_0xeb355e=_0x49569d[_0x153a03(0x1e8)](_0x129948=>!!CodeceptJS[_0x153a03(0x1e7)]['helpers'](_0x129948));if(!_0xeb355e)return null;return CodeceptJS[_0x153a03(0x1e7)][_0x153a03(0x1de)](_0xeb355e);};module[a1_0x216233(0x1ee)]=function(_0x4665f7){const _0x33b865=a1_0x216233,_0x4ebc0f={'pgBNU':_0x33b865(0x1e1),'GJWNr':_0x33b865(0x235),'yyzsm':function(_0x2c8506){return _0x2c8506();},'cSfqD':function(_0x414c10){return _0x414c10();},'YeEqR':function(_0x4fd0f4,_0x5ea716){return _0x4fd0f4(_0x5ea716);},'frpOH':function(_0x10482d,_0x3fc44f,_0x51f202){return _0x10482d(_0x3fc44f,_0x51f202);},'EGLqI':function(_0x2c1b57,_0x132774){return _0x2c1b57(_0x132774);},'KhyOL':function(_0x4d012b,_0x4e7b70,_0x4fb3c4){return _0x4d012b(_0x4e7b70,_0x4fb3c4);},'DxjRw':function(_0x28c134,_0xfa18aa,_0x269c7a,_0x111f36){return _0x28c134(_0xfa18aa,_0x269c7a,_0x111f36);},'DXrxq':function(_0x2307e3,_0x186d24){return _0x2307e3===_0x186d24;},'oIrka':_0x33b865(0x224),'Xumny':_0x33b865(0x22e),'xIDlA':'INFO','LTsbb':'TEST_LOG','xLrhV':function(_0x6df841){return _0x6df841();},'vFWtv':_0x33b865(0x20c),'xBKxg':function(_0x64e46c){return _0x64e46c();},'uffnv':function(_0x2934fd,_0x582fef){return _0x2934fd(_0x582fef);}};_0x4665f7['skipSessionStatus']&&(global[_0x33b865(0x1cf)]=_0x4665f7[_0x33b865(0x1ca)]);PerformanceTester[_0x33b865(0x234)]();const _0x542f9f=_0x4ebc0f['xLrhV'](getCodeceptDriver),_0x174b59=new O11yHelper(_0x542f9f,_0x4665f7),_0x2b8074=!!CodeceptJS[_0x33b865(0x1e7)][_0x33b865(0x1de)](_0x4ebc0f[_0x33b865(0x22f)]);global[_0x33b865(0x222)]=_0x542f9f,_0x542f9f&&(_0x2b8074?_0x4ebc0f[_0x33b865(0x264)](patchPlaywrightBefore):_0x4ebc0f[_0x33b865(0x21a)](patchWebDriverBefore,_0x542f9f),_0x542f9f['getAccessibilityResultsSummary']=async()=>{const _0x35c1e6=_0x33b865;if(global['accessibilityPlatform'])await AccessibilityHelper[_0x35c1e6(0x21b)](_0x542f9f,scripts[_0x35c1e6(0x1ec)]),await AccessibilityHelper[_0x35c1e6(0x21b)](_0x542f9f,scripts[_0x35c1e6(0x1dc)]);else return logger['warn'](_0x4ebc0f['pgBNU']),{};},_0x542f9f[_0x33b865(0x1db)]=async()=>{const _0x14fdff=_0x33b865;if(global[_0x14fdff(0x255)])await AccessibilityHelper[_0x14fdff(0x21b)](_0x542f9f,scripts['performScan']),await AccessibilityHelper[_0x14fdff(0x21b)](_0x542f9f,scripts[_0x14fdff(0x20b)]);else return logger[_0x14fdff(0x219)](_0x4ebc0f['GJWNr']),{};},_0x4ebc0f[_0x33b865(0x21a)](patchSaveScreenshot,_0x542f9f)),CodeceptJS[_0x33b865(0x1ea)]['dispatcher']['on'](CodeceptJS[_0x33b865(0x1ea)][_0x33b865(0x1d4)][_0x33b865(0x256)],()=>{const _0x5b8e54=_0x33b865;try{_0x174b59[_0x5b8e54(0x1fd)](),testOpsHelper['addRequestSpy']();}catch(_0x303faf){PerformanceTester['captureError'](_0x303faf);}}),CodeceptJS[_0x33b865(0x1ea)][_0x33b865(0x1ed)]['on'](CodeceptJS[_0x33b865(0x1ea)]['all'][_0x33b865(0x220)],async()=>{const _0x5ee436=_0x33b865;try{requestSpy[_0x5ee436(0x257)](),await _0x174b59['stop']();}catch(_0x3418c6){PerformanceTester[_0x5ee436(0x1f5)](_0x3418c6);}finally{PerformanceTester[_0x5ee436(0x1f7)]();}}),CodeceptJS[_0x33b865(0x1ea)]['dispatcher']['on'](CodeceptJS[_0x33b865(0x1ea)][_0x33b865(0x207)][_0x33b865(0x204)],_0x4e535a=>{const _0x5f2b2b=_0x33b865;try{const _0x146b32=_0x4e535a[_0x5f2b2b(0x265)][_0x5f2b2b(0x1cd)],_0x305f48=_0x174b59['captureEvent'](TEST_EVENTS['HOOK_RUN_STARTED'],_0x146b32);CodeceptRecorder[_0x5f2b2b(0x1ce)](()=>_0x174b59['fireEvent'](TEST_EVENTS[_0x5f2b2b(0x1dd)],_0x305f48));}catch(_0x259158){PerformanceTester[_0x5f2b2b(0x1f5)](_0x259158);}}),CodeceptJS[_0x33b865(0x1ea)]['dispatcher']['on'](CodeceptJS[_0x33b865(0x1ea)]['hook'][_0x33b865(0x1e4)],_0x8ab583=>{const _0xebb554=_0x33b865;try{const _0x2b40ac=_0x8ab583['ctx'][_0xebb554(0x1cd)],_0x46c5b4=_0x174b59[_0xebb554(0x1fe)](TEST_EVENTS[_0xebb554(0x254)],_0x2b40ac);CodeceptRecorder['add'](()=>_0x174b59[_0xebb554(0x1e6)](TEST_EVENTS[_0xebb554(0x254)],_0x46c5b4));}catch(_0x3499ba){PerformanceTester[_0xebb554(0x1f5)](_0x3499ba);}}),CodeceptJS[_0x33b865(0x1ea)][_0x33b865(0x1ed)]['on'](CodeceptJS[_0x33b865(0x1ea)][_0x33b865(0x207)]['failed'],async(_0x1d09ca,_0x359211)=>{const _0x5a282c=_0x33b865;try{const _0x26ab08=_0x1d09ca[_0x5a282c(0x265)][_0x5a282c(0x1cd)],_0xe4efba=_0x174b59[_0x5a282c(0x1fe)](TEST_EVENTS[_0x5a282c(0x254)],_0x26ab08,_0x359211);CodeceptRecorder[_0x5a282c(0x1ce)](()=>_0x174b59[_0x5a282c(0x1e6)](TEST_EVENTS[_0x5a282c(0x254)],_0xe4efba));}catch(_0x3dc1bc){PerformanceTester['captureError'](_0x3dc1bc);}}),CodeceptJS[_0x33b865(0x1ea)][_0x33b865(0x1ed)]['on'](CodeceptJS[_0x33b865(0x1ea)][_0x33b865(0x1cd)][_0x33b865(0x256)],_0x45bc67=>{const _0x52c470=_0x33b865;try{_0x4ebc0f['yyzsm'](isBrowserstackInfra)&&(_0x2b8074&&(global['__workerDetails']={'currentTest':{'name':_0x45bc67['title'],'testInfo':{'titlePath':_0x45bc67[_0x52c470(0x238)]()}}}));}catch(_0x26e5d9){PerformanceTester[_0x52c470(0x1f5)](_0x26e5d9);}}),CodeceptJS[_0x33b865(0x1ea)][_0x33b865(0x1ed)]['on'](CodeceptJS[_0x33b865(0x1ea)][_0x33b865(0x1cd)][_0x33b865(0x204)],_0x4e02c6=>{const _0x37b6db=_0x33b865;try{const _0x2f5c58=_0x174b59[_0x37b6db(0x1fe)](TEST_EVENTS['TEST_RUN_STARTED'],_0x4e02c6);CodeceptRecorder[_0x37b6db(0x1ce)](()=>_0x174b59['fireEvent'](TEST_EVENTS[_0x37b6db(0x1c9)],_0x2f5c58)),CodeceptRecorder['add'](async()=>{const _0x31e939=_0x37b6db;_0x4ebc0f['cSfqD'](isBrowserstackInfra)&&(!_0x4ebc0f[_0x31e939(0x231)](isTrue,_0x4665f7[_0x31e939(0x230)])&&await _0x4ebc0f[_0x31e939(0x1cc)](markSessionName,_0x542f9f,_0x4e02c6['title']),_0x174b59['enabled']&&await _0x4ebc0f['EGLqI'](o11ySync,_0x542f9f));});}catch(_0x3595f2){PerformanceTester['captureError'](_0x3595f2);}}),CodeceptJS[_0x33b865(0x1ea)][_0x33b865(0x1ed)]['on'](CodeceptJS['event'][_0x33b865(0x1cd)][_0x33b865(0x1e4)],_0x125c4f=>{const _0x240d9f=_0x33b865,_0x36650c={'MXPzH':function(_0x37cd2e){const _0x26b080=a1_0x5b54;return _0x4ebc0f[_0x26b080(0x20f)](_0x37cd2e);},'LqbKR':function(_0x5e76f8,_0x11eaca,_0x1b7741){const _0x5a2464=a1_0x5b54;return _0x4ebc0f[_0x5a2464(0x1cc)](_0x5e76f8,_0x11eaca,_0x1b7741);},'GhHAM':function(_0xe1c0c7,_0xbadf19,_0x56a581){return _0x4ebc0f['KhyOL'](_0xe1c0c7,_0xbadf19,_0x56a581);}};try{const _0x2e18a3=_0x174b59['captureEvent'](TEST_EVENTS[_0x240d9f(0x21c)],_0x125c4f);CodeceptRecorder[_0x240d9f(0x1ce)](()=>_0x174b59['fireEvent'](TEST_EVENTS[_0x240d9f(0x21c)],_0x2e18a3)),CodeceptRecorder[_0x240d9f(0x1ce)](async()=>{const _0x27d754=_0x240d9f;_0x36650c['MXPzH'](isBrowserstackInfra)&&(_0x2b8074?await _0x36650c[_0x27d754(0x1d1)](playwrightMarkSessionStatus,_0x542f9f,STATE_PASSED):await _0x36650c['GhHAM'](markSessionStatus,_0x542f9f,STATE_PASSED));});}catch(_0x2b5be9){PerformanceTester[_0x240d9f(0x1f5)](_0x2b5be9);}}),CodeceptJS['event'][_0x33b865(0x1ed)]['on'](CodeceptJS[_0x33b865(0x1ea)][_0x33b865(0x1cd)][_0x33b865(0x206)],(_0x486487,_0x391f37)=>{const _0xaabc1c=_0x33b865,_0x249c3e={'gCtWV':function(_0x4df8a1){const _0x599dd3=a1_0x5b54;return _0x4ebc0f[_0x599dd3(0x20f)](_0x4df8a1);},'ciHmY':function(_0x686817,_0x332645,_0x3f489c,_0x259232){return _0x4ebc0f['DxjRw'](_0x686817,_0x332645,_0x3f489c,_0x259232);},'cniat':function(_0x4cb775,_0x462ac8,_0x1ed763,_0xb8b875){return _0x4ebc0f['DxjRw'](_0x4cb775,_0x462ac8,_0x1ed763,_0xb8b875);}};try{if(_0x4ebc0f[_0xaabc1c(0x1e5)](_0x486487[_0xaabc1c(0x24f)][_0xaabc1c(0x200)],_0x4ebc0f['oIrka'])){const _0x27a2cb=_0x174b59['captureEvent'](TEST_EVENTS[_0xaabc1c(0x203)],_0x486487[_0xaabc1c(0x265)][_0xaabc1c(0x244)]);CodeceptRecorder[_0xaabc1c(0x1ce)](()=>_0x174b59[_0xaabc1c(0x1e6)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x27a2cb));}else{const _0x6b529d=_0x174b59['captureEvent'](TEST_EVENTS['TEST_RUN_FINISHED'],_0x486487,_0x391f37);CodeceptRecorder['add'](()=>{const _0xb04b2b=_0xaabc1c;try{_0x174b59[_0xb04b2b(0x1e6)](TEST_EVENTS[_0xb04b2b(0x21c)],_0x6b529d);}catch(_0x353c65){logger[_0xb04b2b(0x1c8)](_0xb04b2b(0x1f3)+util['format'](_0x353c65));}}),CodeceptRecorder['add'](async()=>{const _0x31d9e4=_0xaabc1c;try{_0x249c3e[_0x31d9e4(0x25d)](isBrowserstackInfra)&&(_0x2b8074?await _0x249c3e[_0x31d9e4(0x1cb)](playwrightMarkSessionStatus,_0x542f9f,STATE_FAILED,_0x391f37):await _0x249c3e['cniat'](markSessionStatus,_0x542f9f,STATE_FAILED,_0x391f37));}catch(_0x3a11cd){logger['debug'](_0x31d9e4(0x24c)+util[_0x31d9e4(0x242)](_0x3a11cd));}});}}catch(_0x18f7d3){PerformanceTester[_0xaabc1c(0x1f5)](_0x18f7d3);}}),CodeceptJS['event'][_0x33b865(0x1ed)]['on'](CodeceptJS[_0x33b865(0x1ea)][_0x33b865(0x1cd)][_0x33b865(0x247)],_0x1edac2=>{const _0x3e7070=_0x33b865;try{const _0x24fb44=_0x174b59['captureEvent'](TEST_EVENTS[_0x3e7070(0x203)],_0x1edac2);CodeceptRecorder[_0x3e7070(0x1ce)](()=>_0x174b59[_0x3e7070(0x1e6)](TEST_EVENTS[_0x3e7070(0x203)],_0x24fb44));}catch(_0x59aecb){PerformanceTester[_0x3e7070(0x1f5)](_0x59aecb);}}),CodeceptJS[_0x33b865(0x1ea)]['dispatcher']['on'](CodeceptJS['event'][_0x33b865(0x1cd)][_0x33b865(0x220)],async(_0x31f343,_0x110366)=>{const _0x2b556f=_0x33b865;try{if(_0x4ebc0f['cSfqD'](isBrowserstackInfra)){const _0x42b1a2=_0x4ebc0f[_0x2b556f(0x1cc)](shouldScanTestForAccessibility,_0x31f343[_0x2b556f(0x238)](),!![]);if(_0x4ebc0f[_0x2b556f(0x208)](isAccessibilityAutomationSession)&&global[_0x2b556f(0x255)]&&_0x42b1a2){const _0x38b283={};_0x38b283[_0x2b556f(0x267)]=_0x31f343[_0x2b556f(0x252)],_0x38b283[_0x2b556f(0x1d0)]=process[_0x2b556f(0x1d8)][testHubConstants[_0x2b556f(0x215)][_0x2b556f(0x25a)]],_0x38b283['thJwtToken']=process[_0x2b556f(0x1d8)][testHubConstants[_0x2b556f(0x215)]['BROWSERSTACK_TESTHUB_JWT']];const _0x4cc61f=_0x38b283;logger[_0x2b556f(0x1c8)](_0x2b556f(0x1d3)+JSON[_0x2b556f(0x23a)](_0x4cc61f)),CodeceptRecorder[_0x2b556f(0x1ce)](async()=>{const _0xfd9a58=_0x2b556f;await AccessibilityHelper[_0xfd9a58(0x21b)](_0x542f9f,scripts[_0xfd9a58(0x1ec)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x542f9f,scripts['saveTestResults'],_0x4cc61f);}),logger[_0x2b556f(0x1f4)](_0x4ebc0f[_0x2b556f(0x262)]);}}}catch(_0x416a02){PerformanceTester['captureError'](_0x416a02);}}),CodeceptJS[_0x33b865(0x1ea)][_0x33b865(0x1ed)]['on'](CodeceptJS[_0x33b865(0x1ea)][_0x33b865(0x20e)][_0x33b865(0x1da)],_0x8c6580=>{const _0x5950ab=_0x33b865;try{process['emit'](_0x5950ab(0x212)+process['pid'],{'timestamp':new Date()[_0x5950ab(0x23b)](),'level':_0x4ebc0f[_0x5950ab(0x1d5)],'message':_0x8c6580,'kind':_0x4ebc0f[_0x5950ab(0x1e2)],'http_response':{}});}catch(_0x235cb1){PerformanceTester[_0x5950ab(0x1f5)](_0x235cb1);}}),CodeceptJS[_0x33b865(0x1ea)][_0x33b865(0x1ed)]['on'](CodeceptJS[_0x33b865(0x1ea)]['bddStep'][_0x33b865(0x256)],_0x73c2c1=>{_0x174b59['bddStepStart'](_0x73c2c1);}),CodeceptJS[_0x33b865(0x1ea)]['dispatcher']['on'](CodeceptJS[_0x33b865(0x1ea)][_0x33b865(0x232)][_0x33b865(0x220)],_0x557dc4=>{const _0x245982=_0x33b865;_0x174b59[_0x245982(0x223)](_0x557dc4);});};
|
|
1
|
+
function a1_0x28a5(_0x1dba45,_0x218b76){const _0x173e22=a1_0x173e();return a1_0x28a5=function(_0x28a5db,_0x292f5c){_0x28a5db=_0x28a5db-0x16e;let _0x3cdb3d=_0x173e22[_0x28a5db];return _0x3cdb3d;},a1_0x28a5(_0x1dba45,_0x218b76);}const a1_0x544dd2=a1_0x28a5;(function(_0x452323,_0x5968af){const _0x210e25=a1_0x28a5,_0x2e29f7=_0x452323();while(!![]){try{const _0x562898=-parseInt(_0x210e25(0x1ca))/0x1*(parseInt(_0x210e25(0x1b7))/0x2)+parseInt(_0x210e25(0x1e9))/0x3+-parseInt(_0x210e25(0x19e))/0x4*(-parseInt(_0x210e25(0x1ad))/0x5)+-parseInt(_0x210e25(0x189))/0x6*(parseInt(_0x210e25(0x1c1))/0x7)+parseInt(_0x210e25(0x1c3))/0x8+-parseInt(_0x210e25(0x196))/0x9+parseInt(_0x210e25(0x192))/0xa;if(_0x562898===_0x5968af)break;else _0x2e29f7['push'](_0x2e29f7['shift']());}catch(_0x5514b2){_0x2e29f7['push'](_0x2e29f7['shift']());}}}(a1_0x173e,0x20fa9));const fs=require('fs'),util=require('util'),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x544dd2(0x19c)),logger=require('../../helpers/logger')[a1_0x544dd2(0x1df)],testOpsHelper=require(a1_0x544dd2(0x1d2)),requestSpy=require(a1_0x544dd2(0x170)),PlaywrightSessionDetails=require(a1_0x544dd2(0x184)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x544dd2(0x1dc)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),AccessibilityHelper=require(a1_0x544dd2(0x195)),scripts=require(a1_0x544dd2(0x210)),PerformanceTester=require('../../helpers/performance-tester'),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x544dd2(0x16e)),testHubConstants=require('../../helpers/testhub/constants.js'),CodeceptJS=requireModule('codeceptjs/lib/index.js'),CodeceptUtils=requireModule(a1_0x544dd2(0x1ae)),CodeceptWebDriver=requireModule(a1_0x544dd2(0x212)),CodeceptRecorder=requireModule(a1_0x544dd2(0x18d)),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js'),playwrightMarkSessionStatus=(_0x4e9469,_0x1011b7,_0x46a341)=>{const _0x13ea27=a1_0x544dd2,_0xb11155={'yUlPT':_0x13ea27(0x201),'YyYhg':function(_0x3ae834,_0x5d98c0){return _0x3ae834(_0x5d98c0);}},_0x30875c={};_0x30875c[_0x13ea27(0x1a0)]=_0x1011b7;const _0x15a8d8={};_0x15a8d8[_0x13ea27(0x16f)]=_0xb11155['yUlPT'],_0x15a8d8[_0x13ea27(0x1a5)]=_0x30875c;const _0x158ed1=_0x15a8d8;return!_0xb11155[_0x13ea27(0x1d0)](isUndefined,_0x46a341)&&(_0x158ed1[_0x13ea27(0x1a5)]['reason']=JSON[_0x13ea27(0x181)](_0x46a341)),_0x4e9469[_0x13ea27(0x186)](()=>{},_0x13ea27(0x1db)+JSON['stringify'](_0x158ed1));},o11ySync=async _0x2b76a5=>{const _0x3473e8=a1_0x544dd2,_0x3bea7d={};_0x3bea7d[_0x3473e8(0x1b6)]=function(_0x1daac9,_0x526124){return _0x1daac9===_0x526124;},_0x3bea7d['JkoWb']='Playwright';const _0x2c59ab=_0x3bea7d;_0x2c59ab[_0x3473e8(0x1b6)](_0x2b76a5['constructor'][_0x3473e8(0x1a4)],_0x2c59ab[_0x3473e8(0x1ac)])?await _0x2b76a5[_0x3473e8(0x186)](_0x116bfb=>{},testOpsHelper[_0x3473e8(0x19d)]()):await _0x2b76a5[_0x3473e8(0x186)](testOpsHelper[_0x3473e8(0x19d)]());},markSessionName=async(_0x199884,_0x2d5ca6)=>{const _0x26090d=a1_0x544dd2,_0x53fb2e={};_0x53fb2e['gNxmH']=_0x26090d(0x1d3),_0x53fb2e[_0x26090d(0x1d5)]=function(_0x2fb7cd,_0x2c1014){return _0x2fb7cd===_0x2c1014;},_0x53fb2e['zJNJC']=_0x26090d(0x1aa);const _0x287969=_0x53fb2e,_0x127b74={};_0x127b74[_0x26090d(0x1a4)]=_0x2d5ca6;const _0x23bb13={};_0x23bb13['action']=_0x287969[_0x26090d(0x17e)],_0x23bb13[_0x26090d(0x1a5)]=_0x127b74;const _0xcaf4ca=_0x23bb13;_0x287969[_0x26090d(0x1d5)](_0x199884[_0x26090d(0x1a7)][_0x26090d(0x1a4)],_0x287969[_0x26090d(0x18b)])?await _0x199884[_0x26090d(0x186)](()=>{},_0x26090d(0x1db)+JSON[_0x26090d(0x181)](_0xcaf4ca)):await _0x199884[_0x26090d(0x186)](_0x26090d(0x1db)+JSON[_0x26090d(0x181)](_0xcaf4ca));},patchSaveScreenshot=_0x1fec8f=>{const _0x18ff59=a1_0x544dd2,_0x2bdd7e={'JsTlQ':_0x18ff59(0x1b2),'UCCml':_0x18ff59(0x1b1),'UuVas':function(_0x37dc48){return _0x37dc48();},'phGXw':function(_0x5e5b12,_0x16724e){return _0x5e5b12(_0x16724e);}};_0x2bdd7e[_0x18ff59(0x1ed)](isTrue,process[_0x18ff59(0x1f6)][_0x18ff59(0x182)])&&!_0x1fec8f['patchSaveScreenshot']&&(_0x1fec8f[_0x18ff59(0x1bc)]=!![],_0x1fec8f[_0x18ff59(0x1da)]=_0x1fec8f[_0x18ff59(0x1d4)],_0x1fec8f['saveScreenshot']=(_0x24e20d,_0x3538a5=![])=>{const _0x2d1f7e=_0x18ff59,_0x6c595d={'RQmQc':_0x2bdd7e[_0x2d1f7e(0x190)],'eORiI':_0x2bdd7e['UCCml'],'BtfkZ':function(_0x390180){const _0x17d2ea=_0x2d1f7e;return _0x2bdd7e[_0x17d2ea(0x1f3)](_0x390180);}};return new Promise(function(_0x35c326,_0x4fd20c){const _0x2302ce=_0x2d1f7e;_0x1fec8f[_0x2302ce(0x1da)](_0x24e20d,_0x3538a5)[_0x2302ce(0x187)](()=>{const _0x7c73db=_0x2302ce,_0x5ef0e5=CodeceptUtils[_0x7c73db(0x1f2)](_0x24e20d),_0x58976a=fs['readFileSync'](_0x5ef0e5);process['emit']('bs:addLog:'+process[_0x7c73db(0x183)],{'timestamp':new Date()[_0x7c73db(0x200)](),'message':_0x58976a[_0x7c73db(0x1d7)](_0x6c595d['RQmQc']),'kind':_0x6c595d['eORiI']}),_0x6c595d[_0x7c73db(0x1e5)](_0x35c326);})['catch'](()=>null);});});},patchWebDriverBefore=_0x20799b=>{const _0xfe19b7=a1_0x544dd2,_0x3e279d={'vNBuY':function(_0x1bb65a){return _0x1bb65a();},'tqJwj':function(_0x49deae,_0x2da4de){return _0x49deae(_0x2da4de);},'DEgKH':function(_0x41fda6,_0x285cb1){return _0x41fda6===_0x285cb1;},'UPtlZ':'Element'},_0x58b14c=async function(_0x2a350f,_0x1b3845){const _0x26d45b=a1_0x28a5;return _0x3e279d[_0x26d45b(0x1b9)](isAccessibilityAutomationSession)&&!global[_0x26d45b(0x1d8)]&&global[_0x26d45b(0x1eb)]&&scripts[_0x26d45b(0x1fe)](_0x2a350f['name'])&&_0x3e279d[_0x26d45b(0x1e0)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x26d45b(0x1d8)]=!![],logger[_0x26d45b(0x17d)](_0x26d45b(0x1c4)+_0x2a350f['class']+'\x20'+_0x2a350f[_0x26d45b(0x1a4)]),await AccessibilityHelper[_0x26d45b(0x1f9)](_0x20799b,scripts[_0x26d45b(0x1d1)])),global['bstackAllyScanning']=![],_0x1b3845[_0x26d45b(0x1e3)](this,Array[_0x26d45b(0x1b8)]['slice'][_0x26d45b(0x191)](arguments,0x2));},_0x3636c2=CodeceptWebDriver[_0xfe19b7(0x1b8)][_0xfe19b7(0x1ea)];CodeceptWebDriver[_0xfe19b7(0x1b8)][_0xfe19b7(0x1ea)]=async function(){const _0x32bb42=_0xfe19b7,_0x9504f5={'YPHIl':function(_0x32815b,_0x5dfaf4){const _0x526e3b=a1_0x28a5;return _0x3e279d[_0x526e3b(0x17f)](_0x32815b,_0x5dfaf4);},'ShfAG':_0x3e279d[_0x32bb42(0x1fd)]};await _0x3636c2['apply'](this,arguments),scripts[_0x32bb42(0x215)][_0x32bb42(0x1bf)](_0x4e341b=>_0x4e341b['name']&&_0x4e341b[_0x32bb42(0x1e8)])['forEach'](_0x8f2704=>{const _0x3e6398=_0x32bb42;this['browser'][_0x3e6398(0x1d6)](_0x8f2704[_0x3e6398(0x1a4)],_0x58b14c[_0x3e6398(0x1c0)](this,_0x8f2704),_0x9504f5['YPHIl'](_0x8f2704[_0x3e6398(0x1e8)],_0x9504f5[_0x3e6398(0x1dd)]));}),_0x3e279d[_0x32bb42(0x1e0)](processWebDriverConfig,_0x20799b);};},patchPlaywrightBefore=()=>{const _0x4fd8ae=a1_0x544dd2;PlaywrightSessionDetails[_0x4fd8ae(0x1ff)]();const _0x1e3afb=CodeceptPlaywright[_0x4fd8ae(0x1b8)][_0x4fd8ae(0x1ea)];CodeceptPlaywright[_0x4fd8ae(0x1b8)][_0x4fd8ae(0x1ea)]=async function(){const _0xe0be4a=_0x4fd8ae;this[_0xe0be4a(0x205)]=await this['browser'][_0xe0be4a(0x173)]()[0x0],await _0x1e3afb[_0xe0be4a(0x1e3)](this,arguments);};},getCodeceptDriver=()=>{const _0x267878=a1_0x544dd2,_0x527907={};_0x527907[_0x267878(0x1ce)]='WebDriver',_0x527907[_0x267878(0x209)]='Playwright',_0x527907[_0x267878(0x18e)]=_0x267878(0x1bd),_0x527907['zVOFQ']='TestCafe';const _0x46a9cd=_0x527907,_0x3a625a=[_0x46a9cd[_0x267878(0x1ce)],_0x46a9cd[_0x267878(0x209)],_0x46a9cd[_0x267878(0x18e)],_0x46a9cd[_0x267878(0x178)]],_0x301291=_0x3a625a[_0x267878(0x17c)](_0x23dbfa=>!!CodeceptJS[_0x267878(0x199)][_0x267878(0x1b5)](_0x23dbfa));if(!_0x301291)return null;return CodeceptJS[_0x267878(0x199)][_0x267878(0x1b5)](_0x301291);};function a1_0x173e(){const _0x331295=['codeceptjs/lib/recorder.js','AuAvj','after','JsTlQ','call','3061510dwjZas','DGEXK','skipSessionName','../../bin/playwright/accessibility-helper','1010421HeIGkH','RhrER','format','container','WeLzi','started','../../helpers/helper','getSyncScript','4kNryai','__workerDetails','status','captureEvent','kPuWv','hAbpS','name','arguments','rSXvv','constructor','currentTest','BROWSERSTACK_TESTHUB_JWT','Playwright','emit','JkoWb','281525qGBBTv','codeceptjs/lib/utils.js','failed','getAccessibilityResultsSummary','TEST_SCREENSHOT','base64','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','__skipSessionStatus','helpers','LxZkY','3038MlJUZT','prototype','vNBuY','getResultsSummary','passed','patchSaveScreenshot','Puppeteer','LKFWo','filter','bind','1561Ymsfif','TEST_RUN_FINISHED','334184iSJsCr','Performing\x20scan\x20for\x20','HOOK_RUN_FINISHED','warn','wEvUo','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','WnmXd','137TCwseV','event','thBuildUuid','before','JQGMA','ENV_VAR','YyYhg','performScan','../../helpers/test-observability/utils','setSessionName','saveScreenshot','RZewt','overwriteCommand','toString','bstackAllyScanning','enTmu','initSaveScreenshot','browserstack_executor:\x20','./o11yHelper','ShfAG','ctx','winstonLogger','tqJwj','step','xOsKj','apply','thTestRunUuid','BtfkZ','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','HOOK_RUN_STARTED','class','447363hnnarW','_before','accessibilityPlatform','FwPke','phGXw','test','captureError','add','stop','screenshotOutputFolder','UuVas','bs:addLog:','title','env','TEST_RUN_STARTED','exports','browserStackExecuteDriver','addRequestSpy','thJwtToken','VwyWm','UPtlZ','shouldWrapCommand','patch','toISOString','setSessionStatus','qYbTP','hook','startMonitoring','browserContext','GPxHZ','UJpzU','start','NYJIh','fireEvent','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','bddStep','testAnalyticsId','enabled','stopMonitoring','../../helpers/accessibility-automation/scripts','LEhgB','codeceptjs/lib/helper/WebDriver.js','TEST_RUN_SKIPPED','skipSessionStatus','commandsToWrap','./helper.js','action','../../helpers/request-spy','CThhv','comment','contexts','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','saveTestResults','hfoOB','titlePath','zVOFQ','dispatcher','umZln','getAccessibilityResults','find','debug','gNxmH','DEgKH','hLGDd','stringify','BS_TESTOPS_ALLOW_SCREENSHOTS','pid','../../bin/playwright/sessionDetails','all','executeScript','then','Suite','2634lsQmcA','BROWSERSTACK_TESTHUB_UUID','zJNJC','info'];a1_0x173e=function(){return _0x331295;};return a1_0x173e();}module[a1_0x544dd2(0x1f8)]=function(_0x5f4255){const _0x46e8be=a1_0x544dd2,_0x3ca901={'rSXvv':_0x46e8be(0x1e6),'wEvUo':_0x46e8be(0x1c8),'DGEXK':function(_0x2e4a5e){return _0x2e4a5e();},'WnmXd':function(_0x1192cb){return _0x1192cb();},'kPuWv':function(_0x25a37c,_0x4f5d19){return _0x25a37c(_0x4f5d19);},'WeLzi':function(_0x52ecb7,_0x30b3b0,_0x53e2b8){return _0x52ecb7(_0x30b3b0,_0x53e2b8);},'kkrFp':function(_0xa2a37a,_0x5c4ea8,_0x427642,_0x5e40c1){return _0xa2a37a(_0x5c4ea8,_0x427642,_0x5e40c1);},'sVfIy':function(_0x438019,_0x4b7d0f,_0x2cecd5,_0x546344){return _0x438019(_0x4b7d0f,_0x2cecd5,_0x546344);},'LEhgB':function(_0x1b7921,_0x5b7b0c){return _0x1b7921===_0x5b7b0c;},'jDCWv':_0x46e8be(0x188),'CThhv':function(_0x51444b){return _0x51444b();},'VwyWm':_0x46e8be(0x1b3),'RhrER':'INFO','hLGDd':'TEST_LOG','LKFWo':_0x46e8be(0x1aa),'FwPke':function(_0x1cb7d0,_0x5a97aa){return _0x1cb7d0(_0x5a97aa);}};_0x5f4255[_0x46e8be(0x214)]&&(global[_0x46e8be(0x1b4)]=_0x5f4255['skipSessionStatus']);PerformanceTester[_0x46e8be(0x204)]();const _0x12f8f4=_0x3ca901[_0x46e8be(0x193)](getCodeceptDriver),_0x4abc16=new O11yHelper(_0x12f8f4,_0x5f4255),_0x52333d=!!CodeceptJS[_0x46e8be(0x199)]['helpers'](_0x3ca901[_0x46e8be(0x1be)]);global['__driver']=_0x12f8f4,_0x12f8f4&&(_0x52333d?_0x3ca901['CThhv'](patchPlaywrightBefore):_0x3ca901[_0x46e8be(0x1a2)](patchWebDriverBefore,_0x12f8f4),_0x12f8f4[_0x46e8be(0x1b0)]=async()=>{const _0x5f4f36=_0x46e8be;if(global[_0x5f4f36(0x1eb)])await AccessibilityHelper[_0x5f4f36(0x1f9)](_0x12f8f4,scripts[_0x5f4f36(0x1d1)]),await AccessibilityHelper[_0x5f4f36(0x1f9)](_0x12f8f4,scripts[_0x5f4f36(0x1ba)]);else return logger[_0x5f4f36(0x1c6)](_0x3ca901[_0x5f4f36(0x1a6)]),{};},_0x12f8f4[_0x46e8be(0x17b)]=async()=>{const _0x498dba=_0x46e8be;if(global['accessibilityPlatform'])await AccessibilityHelper['browserStackExecuteDriver'](_0x12f8f4,scripts['performScan']),await AccessibilityHelper['browserStackExecuteDriver'](_0x12f8f4,scripts['getResults']);else return logger[_0x498dba(0x1c6)](_0x3ca901[_0x498dba(0x1c7)]),{};},_0x3ca901[_0x46e8be(0x1ec)](patchSaveScreenshot,_0x12f8f4)),CodeceptJS['event']['dispatcher']['on'](CodeceptJS['event'][_0x46e8be(0x185)]['before'],()=>{const _0x597316=_0x46e8be;try{_0x4abc16[_0x597316(0x208)](),testOpsHelper[_0x597316(0x1fa)]();}catch(_0x541d4c){PerformanceTester[_0x597316(0x1ef)](_0x541d4c);}}),CodeceptJS[_0x46e8be(0x1cb)]['dispatcher']['on'](CodeceptJS['event'][_0x46e8be(0x185)]['after'],async()=>{const _0x4a6045=_0x46e8be;try{requestSpy['restore'](),await _0x4abc16[_0x4a6045(0x1f1)]();}catch(_0x1e77f7){PerformanceTester[_0x4a6045(0x1ef)](_0x1e77f7);}finally{PerformanceTester[_0x4a6045(0x20f)]();}}),CodeceptJS[_0x46e8be(0x1cb)][_0x46e8be(0x179)]['on'](CodeceptJS['event'][_0x46e8be(0x203)]['started'],_0x138355=>{const _0x136092=_0x46e8be;try{const _0x5675ae=_0x138355[_0x136092(0x1de)][_0x136092(0x1ee)],_0x5d91b5=_0x4abc16[_0x136092(0x1a1)](TEST_EVENTS[_0x136092(0x1e7)],_0x5675ae);CodeceptRecorder[_0x136092(0x1f0)](()=>_0x4abc16[_0x136092(0x20a)](TEST_EVENTS[_0x136092(0x1e7)],_0x5d91b5));}catch(_0x2b2a21){PerformanceTester[_0x136092(0x1ef)](_0x2b2a21);}}),CodeceptJS[_0x46e8be(0x1cb)]['dispatcher']['on'](CodeceptJS['event']['hook'][_0x46e8be(0x1bb)],_0xf06562=>{const _0x58a75f=_0x46e8be;try{const _0x38176e=_0xf06562[_0x58a75f(0x1de)][_0x58a75f(0x1ee)],_0x45b5ca=_0x4abc16[_0x58a75f(0x1a1)](TEST_EVENTS[_0x58a75f(0x1c5)],_0x38176e);CodeceptRecorder[_0x58a75f(0x1f0)](()=>_0x4abc16['fireEvent'](TEST_EVENTS[_0x58a75f(0x1c5)],_0x45b5ca));}catch(_0x845c30){PerformanceTester[_0x58a75f(0x1ef)](_0x845c30);}}),CodeceptJS[_0x46e8be(0x1cb)][_0x46e8be(0x179)]['on'](CodeceptJS[_0x46e8be(0x1cb)][_0x46e8be(0x203)][_0x46e8be(0x1af)],async(_0x9f8752,_0xbc40b0)=>{const _0x495524=_0x46e8be;try{const _0x5dd004=_0x9f8752[_0x495524(0x1de)][_0x495524(0x1ee)],_0xc7f783=_0x4abc16[_0x495524(0x1a1)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x5dd004,_0xbc40b0);CodeceptRecorder['add'](()=>_0x4abc16[_0x495524(0x20a)](TEST_EVENTS[_0x495524(0x1c5)],_0xc7f783));}catch(_0x41f2d4){PerformanceTester['captureError'](_0x41f2d4);}}),CodeceptJS[_0x46e8be(0x1cb)][_0x46e8be(0x179)]['on'](CodeceptJS[_0x46e8be(0x1cb)]['test'][_0x46e8be(0x1cd)],_0x177379=>{const _0xb9212f=_0x46e8be;try{_0x3ca901['DGEXK'](isBrowserstackInfra)&&(_0x52333d&&(global[_0xb9212f(0x19f)]={'currentTest':{'name':_0x177379[_0xb9212f(0x1f5)],'testInfo':{'titlePath':_0x177379[_0xb9212f(0x177)]()}}}));}catch(_0x1642d0){PerformanceTester[_0xb9212f(0x1ef)](_0x1642d0);}}),CodeceptJS['event'][_0x46e8be(0x179)]['on'](CodeceptJS[_0x46e8be(0x1cb)][_0x46e8be(0x1ee)][_0x46e8be(0x19b)],_0x6ddc81=>{const _0x546d85=_0x46e8be,_0x2a59f9={'qYbTP':function(_0xa073ea){const _0x5d5e16=a1_0x28a5;return _0x3ca901[_0x5d5e16(0x1c9)](_0xa073ea);},'enTmu':function(_0xb7b833,_0x80a9a5){const _0x30bf49=a1_0x28a5;return _0x3ca901[_0x30bf49(0x1a2)](_0xb7b833,_0x80a9a5);},'umZln':function(_0x4a31a5,_0x182624,_0x1be8a3){return _0x3ca901['WeLzi'](_0x4a31a5,_0x182624,_0x1be8a3);},'hAbpS':function(_0x80361c,_0x34ad9f){const _0x411a7a=a1_0x28a5;return _0x3ca901[_0x411a7a(0x1a2)](_0x80361c,_0x34ad9f);}};try{const _0x273523=_0x4abc16['captureEvent'](TEST_EVENTS[_0x546d85(0x1f7)],_0x6ddc81);CodeceptRecorder['add'](()=>_0x4abc16[_0x546d85(0x20a)](TEST_EVENTS['TEST_RUN_STARTED'],_0x273523)),CodeceptRecorder['add'](async()=>{const _0x237244=_0x546d85;_0x2a59f9[_0x237244(0x202)](isBrowserstackInfra)&&(!_0x2a59f9[_0x237244(0x1d9)](isTrue,_0x5f4255[_0x237244(0x194)])&&await _0x2a59f9[_0x237244(0x17a)](markSessionName,_0x12f8f4,_0x6ddc81[_0x237244(0x1f5)]),_0x4abc16[_0x237244(0x20e)]&&await _0x2a59f9[_0x237244(0x1a3)](o11ySync,_0x12f8f4));});}catch(_0x19ba0f){PerformanceTester['captureError'](_0x19ba0f);}}),CodeceptJS[_0x46e8be(0x1cb)][_0x46e8be(0x179)]['on'](CodeceptJS['event'][_0x46e8be(0x1ee)]['passed'],_0x585cc1=>{const _0x2bb444=_0x46e8be,_0x55478f={'xOsKj':function(_0x4a1517){return _0x3ca901['DGEXK'](_0x4a1517);},'hfoOB':function(_0x5d7d5b,_0x51d572,_0xecd073){const _0x2ff54f=a1_0x28a5;return _0x3ca901[_0x2ff54f(0x19a)](_0x5d7d5b,_0x51d572,_0xecd073);},'UJpzU':function(_0x1eec1f,_0xaeb694,_0x1b0bbb){const _0x3539b3=a1_0x28a5;return _0x3ca901[_0x3539b3(0x19a)](_0x1eec1f,_0xaeb694,_0x1b0bbb);}};try{const _0x497e0b=_0x4abc16[_0x2bb444(0x1a1)](TEST_EVENTS[_0x2bb444(0x1c2)],_0x585cc1);CodeceptRecorder[_0x2bb444(0x1f0)](()=>_0x4abc16[_0x2bb444(0x20a)](TEST_EVENTS[_0x2bb444(0x1c2)],_0x497e0b)),CodeceptRecorder[_0x2bb444(0x1f0)](async()=>{const _0x141c9e=_0x2bb444;_0x55478f[_0x141c9e(0x1e2)](isBrowserstackInfra)&&(_0x52333d?await _0x55478f[_0x141c9e(0x176)](playwrightMarkSessionStatus,_0x12f8f4,STATE_PASSED):await _0x55478f[_0x141c9e(0x207)](markSessionStatus,_0x12f8f4,STATE_PASSED));});}catch(_0x50c452){PerformanceTester[_0x2bb444(0x1ef)](_0x50c452);}}),CodeceptJS['event'][_0x46e8be(0x179)]['on'](CodeceptJS[_0x46e8be(0x1cb)][_0x46e8be(0x1ee)][_0x46e8be(0x1af)],(_0x456bb1,_0x224dd0)=>{const _0x4448be=_0x46e8be,_0x174258={'WBAeS':function(_0x1eb1fd){return _0x3ca901['DGEXK'](_0x1eb1fd);},'lzCog':function(_0xac91d0,_0x2a827a,_0x554d2e,_0x3e92f5){return _0x3ca901['kkrFp'](_0xac91d0,_0x2a827a,_0x554d2e,_0x3e92f5);},'GPxHZ':function(_0x4a97f7,_0x3d4bdb,_0x178038,_0x4b712f){return _0x3ca901['sVfIy'](_0x4a97f7,_0x3d4bdb,_0x178038,_0x4b712f);}};try{if(_0x3ca901[_0x4448be(0x211)](_0x456bb1[_0x4448be(0x1a7)]['name'],_0x3ca901['jDCWv'])){const _0x4f0f2c=_0x4abc16['captureEvent'](TEST_EVENTS[_0x4448be(0x213)],_0x456bb1[_0x4448be(0x1de)][_0x4448be(0x1a8)]);CodeceptRecorder[_0x4448be(0x1f0)](()=>_0x4abc16[_0x4448be(0x20a)](TEST_EVENTS[_0x4448be(0x213)],_0x4f0f2c));}else{const _0x2d246f=_0x4abc16[_0x4448be(0x1a1)](TEST_EVENTS[_0x4448be(0x1c2)],_0x456bb1,_0x224dd0);CodeceptRecorder['add'](()=>{const _0x18ceab=_0x4448be;try{_0x4abc16[_0x18ceab(0x20a)](TEST_EVENTS[_0x18ceab(0x1c2)],_0x2d246f);}catch(_0xdb77ce){logger[_0x18ceab(0x17d)](_0x18ceab(0x174)+util[_0x18ceab(0x198)](_0xdb77ce));}}),CodeceptRecorder[_0x4448be(0x1f0)](async()=>{const _0x1ee177=_0x4448be;try{_0x174258['WBAeS'](isBrowserstackInfra)&&(_0x52333d?await _0x174258['lzCog'](playwrightMarkSessionStatus,_0x12f8f4,STATE_FAILED,_0x224dd0):await _0x174258[_0x1ee177(0x206)](markSessionStatus,_0x12f8f4,STATE_FAILED,_0x224dd0));}catch(_0x5a6988){logger[_0x1ee177(0x17d)](_0x1ee177(0x20b)+util[_0x1ee177(0x198)](_0x5a6988));}});}}catch(_0xd5f279){PerformanceTester[_0x4448be(0x1ef)](_0xd5f279);}}),CodeceptJS[_0x46e8be(0x1cb)][_0x46e8be(0x179)]['on'](CodeceptJS['event'][_0x46e8be(0x1ee)]['skipped'],_0x5751a2=>{const _0xfffdc8=_0x46e8be;try{const _0x4309cd=_0x4abc16['captureEvent'](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x5751a2);CodeceptRecorder['add'](()=>_0x4abc16[_0xfffdc8(0x20a)](TEST_EVENTS[_0xfffdc8(0x213)],_0x4309cd));}catch(_0x3b00fb){PerformanceTester[_0xfffdc8(0x1ef)](_0x3b00fb);}}),CodeceptJS[_0x46e8be(0x1cb)][_0x46e8be(0x179)]['on'](CodeceptJS[_0x46e8be(0x1cb)][_0x46e8be(0x1ee)][_0x46e8be(0x18f)],async(_0x50ae55,_0x317717)=>{const _0x345ac7=_0x46e8be;try{if(_0x3ca901[_0x345ac7(0x193)](isBrowserstackInfra)){const _0x58843b=_0x3ca901['WeLzi'](shouldScanTestForAccessibility,_0x50ae55['titlePath'](),!![]);if(_0x3ca901[_0x345ac7(0x171)](isAccessibilityAutomationSession)&&global['accessibilityPlatform']&&_0x58843b){const _0x20d2ea={};_0x20d2ea[_0x345ac7(0x1e4)]=_0x50ae55[_0x345ac7(0x20d)],_0x20d2ea[_0x345ac7(0x1cc)]=process[_0x345ac7(0x1f6)][testHubConstants[_0x345ac7(0x1cf)][_0x345ac7(0x18a)]],_0x20d2ea[_0x345ac7(0x1fb)]=process['env'][testHubConstants[_0x345ac7(0x1cf)][_0x345ac7(0x1a9)]];const _0x4df75e=_0x20d2ea;logger['debug']('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON['stringify'](_0x4df75e)),CodeceptRecorder[_0x345ac7(0x1f0)](async()=>{const _0x231253=_0x345ac7;await AccessibilityHelper['browserStackExecuteDriver'](_0x12f8f4,scripts['performScan']),await AccessibilityHelper['browserStackExecuteDriver'](_0x12f8f4,scripts[_0x231253(0x175)],_0x4df75e);}),logger[_0x345ac7(0x18c)](_0x3ca901[_0x345ac7(0x1fc)]);}}}catch(_0x5ac22a){PerformanceTester[_0x345ac7(0x1ef)](_0x5ac22a);}}),CodeceptJS[_0x46e8be(0x1cb)][_0x46e8be(0x179)]['on'](CodeceptJS[_0x46e8be(0x1cb)][_0x46e8be(0x1e1)][_0x46e8be(0x172)],_0x9d3e7d=>{const _0x7a6b3b=_0x46e8be;try{process[_0x7a6b3b(0x1ab)](_0x7a6b3b(0x1f4)+process[_0x7a6b3b(0x183)],{'timestamp':new Date()[_0x7a6b3b(0x200)](),'level':_0x3ca901[_0x7a6b3b(0x197)],'message':_0x9d3e7d,'kind':_0x3ca901[_0x7a6b3b(0x180)],'http_response':{}});}catch(_0x55288b){PerformanceTester[_0x7a6b3b(0x1ef)](_0x55288b);}}),CodeceptJS[_0x46e8be(0x1cb)]['dispatcher']['on'](CodeceptJS[_0x46e8be(0x1cb)][_0x46e8be(0x20c)][_0x46e8be(0x1cd)],_0x240b0a=>{_0x4abc16['bddStepStart'](_0x240b0a);}),CodeceptJS['event'][_0x46e8be(0x179)]['on'](CodeceptJS[_0x46e8be(0x1cb)][_0x46e8be(0x20c)][_0x46e8be(0x18f)],_0x2158ee=>{_0x4abc16['bddStepFinish'](_0x2158ee);});};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a2_0x191651=a2_0x2f72;(function(_0x23e369,_0x5e8a6d){const _0x2ef413=a2_0x2f72,_0x5db723=_0x23e369();while(!![]){try{const _0x1c8167=-parseInt(_0x2ef413(0x1ea))/0x1*(parseInt(_0x2ef413(0x1ef))/0x2)+-parseInt(_0x2ef413(0x206))/0x3+-parseInt(_0x2ef413(0x1c7))/0x4+parseInt(_0x2ef413(0x1fb))/0x5*(-parseInt(_0x2ef413(0x1e9))/0x6)+-parseInt(_0x2ef413(0x20c))/0x7+-parseInt(_0x2ef413(0x1ca))/0x8*(parseInt(_0x2ef413(0x1d6))/0x9)+parseInt(_0x2ef413(0x1cd))/0xa;if(_0x1c8167===_0x5e8a6d)break;else _0x5db723['push'](_0x5db723['shift']());}catch(_0x2046e6){_0x5db723['push'](_0x5db723['shift']());}}}(a2_0x5ecc,0x4a843));function a2_0x5ecc(){const _0x18af3f=['handleApp','isTrue','LcfYZ','info','moTpf','length','Workers','testObservability','30oNQzZN','236iHnxOt','Failed\x20:\x20','useW3C','Mepua','parallelsPerPlatform','4474zQjTGO','stack','helpers','accessibilityOptions','platforms','getUserWorkerCount','findIndex','errorMessage','vjnsd','0|1|4|3|2','isTestObservabilitySession','chromium','21785QgttRw','before','gBNfL','WebDriver','FRAMEWORKS','TxTtS','getPlaywrightUrl','TIVEv','codeceptjs/lib/index.js','env','browserWSEndpoint','1708524rGYGmQ','toLowerCase','playwright-webkit','skipSessionStatus','accessibility','shXsD','2898672nsJDeG','Started\x20:\x20','../../helpers/logger','frameworkName','vkHqp','BROWSERSTACK_RERUN','slice','gherkin','-cucumber','test','browser','webkit','Passed\x20:\x20','all','validPlatformsPresent','result','cSVsv','Rftfy','msGrQ','../../bin/playwright/accessibility-helper','profile','ugSZH','codecept.json','failed','QciIM','itcGQ','wUqHe','testConfig','teardownAll','dirname','cwd','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','CODECEPT','../../helpers/accessibility-automation/helper','NChYy','addConfig','log','debug','browserStackCwd','mergeDeep','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','chrome','null','wLYHu','desiredCapabilities','BrowserStackPlugin','split','skipSessionName','gYbfO','event','push','format','playwright-firefox','ywASV','title','passed','playwright-chromium','codecept.conf.js','trim','Drwdj','BROWSERSTACK_RERUN_TESTS','prepareCapabilities','BROWSERSTACK_TEST_OBSERVABILITY_YML','spawn','jPvmM','browserName','err','bootstrapAll','process','ADQkk','IBwTk','isUndefined','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','map','YfDaj','config','BtQrE','addTests','1759324yMKvVH','false','hgSKC','8DuYTtz','existsSync','join','25440440wiGTjB','../../helpers/helper','xaoTG','mCdHM','util','path','getPlatformName','WYBAu','Playwright','2391057pgcNIH','dfGlw','enabled','VIGnF','IqRkz','plugins','codeceptjs','RDsPo','jWnIL','testContextOptions','../../helpers/utilities'];a2_0x5ecc=function(){return _0x18af3f;};return a2_0x5ecc();}const fs=require('fs'),path=require(a2_0x191651(0x1d2)),util=require(a2_0x191651(0x1d1)),process=require(a2_0x191651(0x1bd)),logger=require(a2_0x191651(0x20e))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a2_0x191651(0x1ce)),utilities=require(a2_0x191651(0x1e0)),{checkAccessibilityPlatformConfig}=require(a2_0x191651(0x19a)),{setAccessibilityCapabilities}=require(a2_0x191651(0x21f)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x191651(0x1ce)),CodeceptJS=requireModule(a2_0x191651(0x203)),testOpsHelper=require('../../helpers/test-observability/utils'),TestHubHandler=require('../../helpers/testhub/testhubHandler'),constants=require('../utils/constants'),_testErrorData=[],getUserCodeceptJSConfigs=(_0x13b679,_0x4a088b)=>{const _0x19b845=a2_0x191651,_0x792114={};_0x792114[_0x19b845(0x21d)]=function(_0xb6c9f,_0x108104){return _0xb6c9f===_0x108104;},_0x792114['jPvmM']=_0x19b845(0x1b2),_0x792114[_0x19b845(0x1c9)]=_0x19b845(0x222);const _0x4c4018=_0x792114;let _0x4bf0b0=null;const _0x46776c={};let _0x5b57ec=_0x4a088b['findIndex'](_0x5dbcf2=>_0x5dbcf2==='--config');_0x4c4018[_0x19b845(0x21d)](_0x5b57ec,-0x1)&&(_0x5b57ec=_0x4a088b[_0x19b845(0x1f5)](_0x47e2e0=>_0x47e2e0==='-c'));if(!helper[_0x19b845(0x1c0)](_0x13b679['config'])&&fs[_0x19b845(0x1cb)](path['join'](process[_0x19b845(0x22a)](),_0x13b679['config'])))_0x4bf0b0=path[_0x19b845(0x1cc)](process[_0x19b845(0x22a)](),_0x13b679[_0x19b845(0x1c4)]),_0x4a088b[_0x19b845(0x212)](_0x5b57ec,0x2);else{if(!helper[_0x19b845(0x1c0)](_0x13b679['c'])&&fs['existsSync'](path[_0x19b845(0x1cc)](process[_0x19b845(0x22a)](),_0x13b679['c'])))_0x4bf0b0=path[_0x19b845(0x1cc)](process[_0x19b845(0x22a)](),_0x13b679['c']),_0x4a088b['slice'](_0x5b57ec,0x2);else{if(fs[_0x19b845(0x1cb)](path[_0x19b845(0x1cc)](process[_0x19b845(0x22a)](),_0x4c4018[_0x19b845(0x1b9)])))_0x4bf0b0=path[_0x19b845(0x1cc)](process[_0x19b845(0x22a)](),_0x4c4018[_0x19b845(0x1b9)]);else fs['existsSync'](path[_0x19b845(0x1cc)](process[_0x19b845(0x22a)](),_0x4c4018[_0x19b845(0x1c9)]))&&(_0x4bf0b0=path[_0x19b845(0x1cc)](process[_0x19b845(0x22a)](),_0x4c4018[_0x19b845(0x1c9)]));}}return _0x4bf0b0;},getO11yRerunPattern=()=>{const _0xe50170=a2_0x191651,_0x377589={};_0x377589[_0xe50170(0x1f7)]=function(_0x52b595,_0x12cbe2){return _0x52b595!==_0x12cbe2;},_0x377589[_0xe50170(0x20b)]=_0xe50170(0x1a3);const _0x1e923c=_0x377589,_0x3fd837=helper[_0xe50170(0x1e2)](process[_0xe50170(0x204)][_0xe50170(0x211)]);if(_0x3fd837){const _0x14c71d=process[_0xe50170(0x204)][_0xe50170(0x1b5)],_0x3726a1=[];if(_0x1e923c[_0xe50170(0x1f7)](_0x14c71d,_0x1e923c[_0xe50170(0x20b)])&&!helper[_0xe50170(0x1c0)](_0x14c71d)){_0x14c71d['split'](',')['map'](_0x34d7de=>{const _0x2c1320=_0xe50170;_0x3726a1[_0x2c1320(0x1ab)]('('+_0x34d7de[_0x2c1320(0x1b3)]()+')');});const _0x5e6b12='^'+_0x3726a1[_0xe50170(0x1cc)]('|')+'$';return _0x5e6b12;}}return null;},a2_0x2a4845={};a2_0x2a4845[a2_0x191651(0x1a2)]=a2_0x191651(0x1fa),a2_0x2a4845[a2_0x191651(0x1b1)]='chromium',a2_0x2a4845[a2_0x191651(0x1ad)]='firefox',a2_0x2a4845[a2_0x191651(0x208)]=a2_0x191651(0x217);const pwToCodeceptBrowser=a2_0x2a4845;function a2_0x2f72(_0x4b0c02,_0xba3f9f){const _0x5ecc17=a2_0x5ecc();return a2_0x2f72=function(_0x2f726c,_0x1de2c3){_0x2f726c=_0x2f726c-0x19a;let _0x3cab01=_0x5ecc17[_0x2f726c];return _0x3cab01;},a2_0x2f72(_0x4b0c02,_0xba3f9f);}async function run(_0x10efa6,_0x39019){const _0xe8dfea=a2_0x191651,_0x2030b4={'TIVEv':function(_0x4ca019,_0x3cc474){return _0x4ca019+_0x3cc474;},'wLYHu':function(_0xf9ece7,_0x59d829){return _0xf9ece7(_0x59d829);},'chhaF':function(_0x328f39,_0x42d5f7,_0x1e7393){return _0x328f39(_0x42d5f7,_0x1e7393);},'vkHqp':'config','itcGQ':'helpers','eQRii':function(_0x5b9b37){return _0x5b9b37();},'RDsPo':function(_0x47d40d){return _0x47d40d();},'Mepua':_0xe8dfea(0x1eb),'mCdHM':_0xe8dfea(0x218),'gosbf':_0xe8dfea(0x20d),'gYbfO':_0xe8dfea(0x1f8),'dfGlw':_0xe8dfea(0x1dc),'NChYy':function(_0x1b543b,_0x1a658e,_0x2df7f4){return _0x1b543b(_0x1a658e,_0x2df7f4);},'moTpf':function(_0x2465da,_0x5ceab6){return _0x2465da(_0x5ceab6);},'tnVdE':_0xe8dfea(0x1a1),'QciIM':function(_0x169de6,_0x18b6a8,_0x2e38b1){return _0x169de6(_0x18b6a8,_0x2e38b1);},'gBNfL':'Playwright','cSVsv':_0xe8dfea(0x1fe),'jWnIL':function(_0x46cac7,_0x4fbfd6){return _0x46cac7!=_0x4fbfd6;},'ugSZH':_0xe8dfea(0x1c8),'msGrQ':function(_0xac9aac,_0x1c221e){return _0xac9aac+_0x1c221e;},'Drwdj':_0xe8dfea(0x213),'ADQkk':_0xe8dfea(0x214),'BtQrE':function(_0x425c80,_0x1a4e01){return _0x425c80(_0x1a4e01);},'IBwTk':function(_0x310bf1,_0x509f33){return _0x310bf1*_0x509f33;},'WYBAu':function(_0x914580,_0x5a71fd,_0x45eccf){return _0x914580(_0x5a71fd,_0x45eccf);},'wUqHe':'browser','xaoTG':function(_0x3d0e76,_0x55876e,_0x479621){return _0x3d0e76(_0x55876e,_0x479621);},'ywASV':'desiredCapabilities','YfDaj':'root','LcfYZ':'BrowserStackPlugin.js','VIGnF':_0xe8dfea(0x19f)},_0x26dd42=new BrowserStackSetup(_0x10efa6,_0x2030b4[_0xe8dfea(0x1d7)]);await _0x26dd42['initialize'](),await helper[_0xe8dfea(0x1e1)](_0x26dd42[_0xe8dfea(0x1c4)]);if(!_0x26dd42['config'])return;process[_0xe8dfea(0x220)]=_0x10efa6[_0xe8dfea(0x220)];_0x10efa6[_0xe8dfea(0x220)]&&(process[_0xe8dfea(0x204)][_0xe8dfea(0x220)]=_0x10efa6[_0xe8dfea(0x220)]);const _0x2e0ebe=_0x2030b4[_0xe8dfea(0x19b)](getUserCodeceptJSConfigs,_0x10efa6,_0x39019);let _0x1ae887={};_0x2e0ebe?(logger[_0xe8dfea(0x1e4)](_0xe8dfea(0x1c1)+_0x2e0ebe),_0x1ae887=_0x2030b4[_0xe8dfea(0x1e5)](require,_0x2e0ebe)):logger['info'](_0x2030b4['tnVdE']);let _0x28a019=![];_0x2030b4[_0xe8dfea(0x224)](nestedKeyValue,_0x1ae887,[_0x2030b4[_0xe8dfea(0x210)],_0x2030b4['itcGQ'],_0x2030b4['gBNfL']])&&(_0x28a019=!![]);const _0xcd7f1b=_0x28a019?_0x2030b4[_0xe8dfea(0x1fd)]:_0x2030b4[_0xe8dfea(0x21c)];let _0x5e1404=!_0x28a019?helper[_0xe8dfea(0x1ec)](_0x26dd42[_0xe8dfea(0x1c4)]):![];!helper['isUndefined'](_0x26dd42['config'][_0xe8dfea(0x1f2)])&&(process[_0xe8dfea(0x204)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x26dd42[_0xe8dfea(0x1c4)][_0xe8dfea(0x1f2)]));let _0x2a3d2b=_0x26dd42[_0xe8dfea(0x1c4)][_0xe8dfea(0x20a)];_0x2a3d2b=_0x2a3d2b||_0x2030b4[_0xe8dfea(0x1e5)](checkAccessibilityPlatformConfig,_0x26dd42[_0xe8dfea(0x1c4)]),process[_0xe8dfea(0x204)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x2a3d2b;_0x2a3d2b&&(_0x5e1404=!_0x2a3d2b);_0x2030b4[_0xe8dfea(0x1de)](_0x26dd42[_0xe8dfea(0x1c4)][_0xe8dfea(0x1e8)],null)?process[_0xe8dfea(0x204)][_0xe8dfea(0x1b7)]=_0x26dd42[_0xe8dfea(0x1c4)][_0xe8dfea(0x1e8)]:process[_0xe8dfea(0x204)][_0xe8dfea(0x1b7)]=_0x2030b4[_0xe8dfea(0x221)];const _0x3818a0=_0x2030b4[_0xe8dfea(0x21e)](_0x2030b4[_0xe8dfea(0x1d7)],_0x2030b4[_0xe8dfea(0x224)](nestedKeyValue,_0x1ae887,[_0x2030b4[_0xe8dfea(0x210)],_0x2030b4[_0xe8dfea(0x1b4)]])?_0x2030b4[_0xe8dfea(0x1be)]:''),_0x2f32ed=await TestHubHandler['launchBuild'](_0x3818a0,_0x26dd42);_0x2a3d2b&&_0x2030b4[_0xe8dfea(0x1c5)](setAccessibilityCapabilities,_0x26dd42[_0xe8dfea(0x1c4)]);const _0x5dc84c={},_0x1d1554=[],_0x188625=_0x26dd42[_0xe8dfea(0x1c4)][_0xe8dfea(0x1ee)]||helper[_0xe8dfea(0x1f4)](_0x10efa6,_0x39019,_0x26dd42[_0xe8dfea(0x1c4)],constants[_0xe8dfea(0x1ff)][_0xe8dfea(0x22c)])||0x1;let _0x63cb48=0x1;if(_0x2030b4[_0xe8dfea(0x1dd)](isBrowserstackInfra)){const _0x14b581=helper[_0xe8dfea(0x1b6)](_0x26dd42[_0xe8dfea(0x1c4)],_0x5e1404,constants['FRAMEWORKS'][_0xe8dfea(0x22c)]);helper[_0xe8dfea(0x21a)](_0x26dd42[_0xe8dfea(0x1c4)])?_0x63cb48=_0x2030b4[_0xe8dfea(0x1bf)](_0x188625,_0x26dd42['config'][_0xe8dfea(0x1f3)][_0xe8dfea(0x1e6)]):_0x63cb48=_0x188625,_0x14b581['forEach'](_0x95f877=>{const _0x592d02=_0xe8dfea,_0x33aa47={'TxTtS':function(_0x7a9931,_0x3cb9b5){const _0x1d1bb6=a2_0x2f72;return _0x2030b4[_0x1d1bb6(0x202)](_0x7a9931,_0x3cb9b5);},'IqRkz':function(_0x6c3d5b,_0x29a16c){const _0x5304a7=a2_0x2f72;return _0x2030b4[_0x5304a7(0x1a4)](_0x6c3d5b,_0x29a16c);}},_0x1fa882=_0x2030b4[_0x592d02(0x202)](helper[_0x592d02(0x1d3)](_0x95f877,'_'),'_'+Date['now']()),_0x288b2a=((()=>{const _0x58f7db=_0x592d02;if(_0x28a019){const _0x3c2994=pwToCodeceptBrowser[_0x95f877['browserName']]||_0x95f877[_0x58f7db(0x1ba)];return{'browser':_0x3c2994,[_0x3c2994]:{'browserWSEndpoint':_0x33aa47[_0x58f7db(0x200)](helper[_0x58f7db(0x201)](_0x26dd42[_0x58f7db(0x1c4)]),_0x33aa47[_0x58f7db(0x1da)](encodeURIComponent,JSON['stringify'](_0x95f877)))}};}const _0x1e14f7={};return _0x1e14f7[_0x58f7db(0x1a5)]=_0x95f877,_0x1e14f7;})()),_0x12f68b=_0x2030b4['chhaF'](nestedKeyValue,_0x1ae887,[_0x2030b4[_0x592d02(0x210)],_0x2030b4['itcGQ'],_0xcd7f1b]);_0x5dc84c[_0x1fa882]=_0x12f68b?helper[_0x592d02(0x1a0)](_0x288b2a,_0x12f68b):_0x288b2a,!_0x28a019&&(_0x5dc84c[_0x1fa882][_0x592d02(0x216)]=_0x95f877[_0x592d02(0x1ba)]||_0x288b2a[_0x592d02(0x216)]),_0x1d1554['push'](_0x1fa882);});}else{_0x63cb48=0x1;if(_0x28a019){const _0x1c58c5=_0x2030b4[_0xe8dfea(0x1d4)](nestedKeyValue,_0x1ae887,[_0x2030b4[_0xe8dfea(0x210)],_0x2030b4['itcGQ'],_0xcd7f1b,_0x2030b4[_0xe8dfea(0x226)]]),_0x278099=_0x2030b4[_0xe8dfea(0x1cf)](nestedKeyValue,_0x1ae887,[_0x2030b4[_0xe8dfea(0x210)],_0x2030b4[_0xe8dfea(0x225)],_0xcd7f1b,_0x1c58c5]);_0x278099&&_0x278099[_0xe8dfea(0x205)]&&(_0x278099[_0xe8dfea(0x205)]=helper[_0xe8dfea(0x1b6)](null,null,_0x3818a0[_0xe8dfea(0x207)](),null,null,_0x278099[_0xe8dfea(0x205)]));}else _0x1ae887[_0xe8dfea(0x1c4)][_0x2030b4['itcGQ']][_0xcd7f1b][_0x2030b4[_0xe8dfea(0x1ae)]]=helper[_0xe8dfea(0x1b6)](null,null,_0x3818a0[_0xe8dfea(0x207)](),_0x2030b4[_0xe8dfea(0x1d4)](nestedKeyValue,_0x1ae887,[_0x2030b4[_0xe8dfea(0x210)],_0x2030b4[_0xe8dfea(0x225)],_0xcd7f1b,_0x2030b4[_0xe8dfea(0x1ae)]]),null,null);_0x5dc84c[_0x2030b4['YfDaj']]=_0x1ae887[_0xe8dfea(0x1c4)],_0x1d1554['push'](_0x2030b4[_0xe8dfea(0x1c3)]);}const _0x5642e9={};_0x5642e9[_0xe8dfea(0x227)]=_0x2e0ebe;const _0x576322=_0x5642e9,_0x55def8=path[_0xe8dfea(0x1cc)](__dirname,_0x2030b4[_0xe8dfea(0x1e3)]),_0x4067aa=process[_0xe8dfea(0x22a)]();process[_0xe8dfea(0x204)][_0x2030b4[_0xe8dfea(0x1d9)]]=_0x4067aa,process['chdir'](path[_0xe8dfea(0x229)](_0x2e0ebe));const _0x1fe863=new CodeceptJS[(_0xe8dfea(0x1e7))](null,_0x576322),_0x271491=_0x1fe863['createGroupsOfSuites'](_0x63cb48),_0x2b9edc=testOpsHelper[_0xe8dfea(0x1f9)](),_0x53dd2d=_0x1d1554[_0xe8dfea(0x1c2)](_0x7706eb=>{const _0x32fc9e=_0xe8dfea,_0x2d41d7={};_0x2d41d7[_0x32fc9e(0x1d5)]=_0x5dc84c[_0x7706eb];const _0x5c05cc={};_0x5c05cc[_0x32fc9e(0x1fe)]=_0x5dc84c[_0x7706eb];const _0x5b9597=_0x28a019?_0x2d41d7:_0x5c05cc,_0x5bff38=_0x2030b4['eQRii'](getO11yRerunPattern),_0x5465be={};_0x5465be[_0x32fc9e(0x1f1)]=_0x5b9597;const _0x55dfa1={};_0x55dfa1['require']=_0x55def8,_0x55dfa1[_0x32fc9e(0x1d8)]=!![],_0x55dfa1[_0x32fc9e(0x1a8)]=_0x26dd42[_0x32fc9e(0x1c4)]['testContextOptions']['skipSessionName'],_0x55dfa1[_0x32fc9e(0x209)]=_0x26dd42['config'][_0x32fc9e(0x1df)][_0x32fc9e(0x209)],_0x55dfa1[_0x32fc9e(0x1e8)]=_0x2b9edc,_0x55dfa1[_0x32fc9e(0x20f)]=_0x3818a0;const _0x43b39f={};_0x43b39f[_0x32fc9e(0x1a6)]=_0x55dfa1;const _0x25f526={};return _0x25f526[_0x32fc9e(0x1db)]=_0x43b39f,helper[_0x32fc9e(0x1a0)]({},_0x1ae887['config'],_0x2030b4[_0x32fc9e(0x1dd)](isBrowserstackInfra)?_0x5465be:{},_0x5bff38?{'grep':_0x5bff38}:{},_0x25f526);});for(const _0x549eb9 of _0x53dd2d){for(const _0x534b20 of _0x271491){const _0x4ce21a=_0x1fe863[_0xe8dfea(0x1b8)]();_0x4ce21a[_0xe8dfea(0x1c6)](_0x534b20),_0x4ce21a[_0xe8dfea(0x19c)](_0x549eb9);}}_0x1fe863['on'](CodeceptJS['event']['test'][_0xe8dfea(0x223)],(_0x39c402,_0x4a1b1a)=>{const _0xef3f38=_0xe8dfea;console[_0xef3f38(0x19d)](_0x2030b4[_0xef3f38(0x1ed)],_0x39c402[_0xef3f38(0x1af)]);const _0x241a4e={[_0x39c402['title']]:_0x39c402[_0xef3f38(0x1bb)][_0xef3f38(0x1f0)]};_testErrorData[_0xef3f38(0x1ab)](_0x241a4e);}),_0x1fe863['on'](CodeceptJS[_0xe8dfea(0x1aa)]['test'][_0xe8dfea(0x1b0)],async _0x338ce9=>{const _0x269792=_0xe8dfea;console[_0x269792(0x19d)](_0x2030b4[_0x269792(0x1d0)],_0x338ce9[_0x269792(0x1af)]);}),_0x1fe863['on'](CodeceptJS[_0xe8dfea(0x1aa)][_0xe8dfea(0x215)][_0xe8dfea(0x1fc)],async _0x16ec81=>{const _0x1ecb58=_0xe8dfea;console[_0x1ecb58(0x19d)](_0x2030b4['gosbf'],_0x16ec81[_0x1ecb58(0x1af)]);}),_0x1fe863['on'](CodeceptJS[_0xe8dfea(0x1aa)][_0xe8dfea(0x219)][_0xe8dfea(0x21b)],async()=>{const _0x478109=_0xe8dfea,_0xd3051e=_0x2030b4[_0x478109(0x1a9)][_0x478109(0x1a7)]('|');let _0x3e366b=0x0;while(!![]){switch(_0xd3051e[_0x3e366b++]){case'0':_0x26dd42[_0x478109(0x1f6)]=_testErrorData;continue;case'1':testOpsHelper['printBuildLink']();continue;case'2':_0x1fe863['printResults']();continue;case'3':try{await TestHubHandler['stop']();}catch(_0x4a9565){logger[_0x478109(0x19e)](_0x478109(0x22b)+util[_0x478109(0x1ac)](_0x4a9565));}continue;case'4':utilities['finalExecution'](_0x26dd42);continue;}break;}});async function _0x59c758(){const _0x35ca10=_0xe8dfea;try{await _0x1fe863[_0x35ca10(0x1bc)](),await _0x1fe863['run']();}finally{process['chdir'](_0x4067aa),await _0x1fe863[_0x35ca10(0x228)]();}}_0x2030b4[_0xe8dfea(0x1dd)](_0x59c758);}module['exports']=run;
|
|
2
|
+
'use strict';const a2_0x1135bd=a2_0x41b8;(function(_0x1bd00f,_0x536259){const _0x3c6f4a=a2_0x41b8,_0x44dd6f=_0x1bd00f();while(!![]){try{const _0x43c044=-parseInt(_0x3c6f4a(0x1a0))/0x1+parseInt(_0x3c6f4a(0x18f))/0x2+-parseInt(_0x3c6f4a(0x192))/0x3*(parseInt(_0x3c6f4a(0x1c8))/0x4)+-parseInt(_0x3c6f4a(0x1ff))/0x5+-parseInt(_0x3c6f4a(0x1be))/0x6*(-parseInt(_0x3c6f4a(0x1a1))/0x7)+parseInt(_0x3c6f4a(0x1d7))/0x8*(parseInt(_0x3c6f4a(0x21d))/0x9)+-parseInt(_0x3c6f4a(0x1e7))/0xa;if(_0x43c044===_0x536259)break;else _0x44dd6f['push'](_0x44dd6f['shift']());}catch(_0x5ade4c){_0x44dd6f['push'](_0x44dd6f['shift']());}}}(a2_0x1b65,0xcaf31));function a2_0x1b65(){const _0x124dfe=['stack','BROWSERSTACK_RERUN','test','chrome','browserWSEndpoint','2666421YXaZsL','Passed\x20:\x20','2769848WUOxhO','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','3qWOBhG','pHJLx','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','../../helpers/test-observability/utils','debug','err','isUndefined','cOTCr','require','OTMTS','FRAMEWORKS','EFnpS','gqxUr','browserStackCwd','192984CrrNju','8584366KsLYqU','EEUmx','cwd','bonLf','finalExecution','plugins','parallelsPerPlatform','ZIIRh','bdDQQ','validPlatformsPresent','result','qblRn','initialize','BrowserStackPlugin','WHXaZ','../../helpers/testhub/testhubHandler','tEpcO','accessibilityOptions','getPlatformName','env','useW3C','browserName','Bigjl','mergeDeep','playwright-firefox','firefox','skipSessionStatus','mhoQn','helpers','6cNyqvd','existsSync','Failed\x20:\x20','../../helpers/helper','LKIrM','WsOtK','enabled','map','addConfig','Playwright','2471356lrWToE','testContextOptions','spawn','all','hSEmX','dirname','maRUV','BROWSERSTACK_TEST_OBSERVABILITY_YML','vMgIv','bootstrapAll','addTests','browser','Workers','BROWSERSTACK_TEST_ACCESSIBILITY_YML','LUFHO','16uJXpsp','../utils/constants','info','config','BROWSERSTACK_RERUN_TESTS','chromium','FRXbP','title','handleApp','xgptM','isTestObservabilitySession','oonuC','accessibility','WebDriver','before','findIndex','3349260zCxfNK','../../helpers/BrowserStackSetup','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','codeceptjs','path','join','passed','false','codeceptjs/lib/index.js','mddOk','codecept.json','skipSessionName','split','gherkin','printBuildLink','forEach','CODECEPT','profile','prepareCapabilities','codecept.conf.js','hmdMe','-cucumber','GXyMy','length','6133850fnkETK','desiredCapabilities','../../helpers/utilities','vQayr','YyXye','playwright-chromium','stop','testObservability','VtISX','slice','stringify','root','event','run','2|3|4|0|1','teardownAll','log','winstonLogger','yOQje','printResults','BrowserStackPlugin.js','../../bin/playwright/accessibility-helper','push','../../helpers/accessibility-automation/helper','../../helpers/logger'];a2_0x1b65=function(){return _0x124dfe;};return a2_0x1b65();}function a2_0x41b8(_0x3e2285,_0x17b207){const _0x1b6569=a2_0x1b65();return a2_0x41b8=function(_0x41b8d6,_0x4a0620){_0x41b8d6=_0x41b8d6-0x18f;let _0x5bbc04=_0x1b6569[_0x41b8d6];return _0x5bbc04;},a2_0x41b8(_0x3e2285,_0x17b207);}const fs=require('fs'),path=require(a2_0x1135bd(0x1eb)),util=require('util'),process=require('process'),logger=require(a2_0x1135bd(0x217))[a2_0x1135bd(0x210)],{default:BrowserStackSetup}=require(a2_0x1135bd(0x1e8)),helper=require(a2_0x1135bd(0x1c1)),utilities=require(a2_0x1135bd(0x201)),{checkAccessibilityPlatformConfig}=require(a2_0x1135bd(0x216)),{setAccessibilityCapabilities}=require(a2_0x1135bd(0x214)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x1135bd(0x1c1)),CodeceptJS=requireModule(a2_0x1135bd(0x1ef)),testOpsHelper=require(a2_0x1135bd(0x195)),TestHubHandler=require(a2_0x1135bd(0x1b0)),constants=require(a2_0x1135bd(0x1d8)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x590688,_0x1cfe06)=>{const _0x270ace=a2_0x1135bd,_0x67e6de={};_0x67e6de[_0x270ace(0x1d0)]=function(_0x58fcaf,_0x316150){return _0x58fcaf===_0x316150;},_0x67e6de[_0x270ace(0x1ce)]=_0x270ace(0x1fa),_0x67e6de[_0x270ace(0x202)]=_0x270ace(0x1f1);const _0x18a1d6=_0x67e6de;let _0x5d0f06=null;const _0x2cb3f3={};let _0x278b60=_0x1cfe06[_0x270ace(0x1e6)](_0x447368=>_0x447368==='--config');_0x18a1d6[_0x270ace(0x1d0)](_0x278b60,-0x1)&&(_0x278b60=_0x1cfe06['findIndex'](_0x1efef6=>_0x1efef6==='-c'));if(!helper['isUndefined'](_0x590688[_0x270ace(0x1da)])&&fs[_0x270ace(0x1bf)](path[_0x270ace(0x1ec)](process[_0x270ace(0x1a3)](),_0x590688['config'])))_0x5d0f06=path[_0x270ace(0x1ec)](process['cwd'](),_0x590688['config']),_0x1cfe06[_0x270ace(0x208)](_0x278b60,0x2);else{if(!helper[_0x270ace(0x198)](_0x590688['c'])&&fs[_0x270ace(0x1bf)](path[_0x270ace(0x1ec)](process['cwd'](),_0x590688['c'])))_0x5d0f06=path[_0x270ace(0x1ec)](process[_0x270ace(0x1a3)](),_0x590688['c']),_0x1cfe06['slice'](_0x278b60,0x2);else{if(fs[_0x270ace(0x1bf)](path[_0x270ace(0x1ec)](process[_0x270ace(0x1a3)](),_0x18a1d6[_0x270ace(0x1ce)])))_0x5d0f06=path[_0x270ace(0x1ec)](process[_0x270ace(0x1a3)](),_0x18a1d6[_0x270ace(0x1ce)]);else fs[_0x270ace(0x1bf)](path[_0x270ace(0x1ec)](process[_0x270ace(0x1a3)](),_0x18a1d6['vQayr']))&&(_0x5d0f06=path['join'](process[_0x270ace(0x1a3)](),_0x18a1d6[_0x270ace(0x202)]));}}return _0x5d0f06;},getO11yRerunPattern=()=>{const _0x443c8a=a2_0x1135bd,_0x68fe60={};_0x68fe60[_0x443c8a(0x1fd)]=function(_0x543221,_0x1484ee){return _0x543221!==_0x1484ee;},_0x68fe60[_0x443c8a(0x1af)]='null';const _0x443fea=_0x68fe60,_0x137d0c=helper['isTrue'](process['env'][_0x443c8a(0x219)]);if(_0x137d0c){const _0x57a8b8=process['env'][_0x443c8a(0x1db)],_0x441a62=[];if(_0x443fea['GXyMy'](_0x57a8b8,_0x443fea['WHXaZ'])&&!helper[_0x443c8a(0x198)](_0x57a8b8)){_0x57a8b8[_0x443c8a(0x1f3)](',')['map'](_0x288adf=>{const _0xa8947d=_0x443c8a;_0x441a62[_0xa8947d(0x215)]('('+_0x288adf['trim']()+')');});const _0x440743='^'+_0x441a62[_0x443c8a(0x1ec)]('|')+'$';return _0x440743;}}return null;},a2_0x27a441={};a2_0x27a441[a2_0x1135bd(0x21b)]=a2_0x1135bd(0x1dc),a2_0x27a441[a2_0x1135bd(0x204)]='chromium',a2_0x27a441[a2_0x1135bd(0x1b9)]=a2_0x1135bd(0x1ba),a2_0x27a441['playwright-webkit']='webkit';const pwToCodeceptBrowser=a2_0x27a441;async function run(_0x1f5501,_0x35e3aa){const _0x33f297=a2_0x1135bd,_0x142ba0={'FRXbP':function(_0x31da26,_0x900340){return _0x31da26+_0x900340;},'OTMTS':function(_0x29b8af,_0x3fa013){return _0x29b8af(_0x3fa013);},'aYSjd':function(_0x5f12cf,_0x2f1c0d){return _0x5f12cf+_0x2f1c0d;},'mhoQn':function(_0x547284,_0x9bb4fd,_0x5de4d4){return _0x547284(_0x9bb4fd,_0x5de4d4);},'tEpcO':_0x33f297(0x1da),'qblRn':_0x33f297(0x1bd),'ZIIRh':function(_0x2ccc5d){return _0x2ccc5d();},'hmdMe':_0x33f297(0x1c0),'VtISX':_0x33f297(0x21e),'bZtei':'Started\x20:\x20','teagD':_0x33f297(0x20d),'LUFHO':_0x33f297(0x1ea),'jkCCo':function(_0x2f8342,_0x2d1830,_0x5a5aa7){return _0x2f8342(_0x2d1830,_0x5a5aa7);},'pHJLx':_0x33f297(0x190),'Bigjl':_0x33f297(0x1c7),'ntCjG':_0x33f297(0x1e4),'LKIrM':function(_0x1d91d6,_0x1561ec){return _0x1d91d6(_0x1561ec);},'EEUmx':function(_0x32defb,_0x43280b){return _0x32defb!=_0x43280b;},'oonuC':_0x33f297(0x1ee),'YyXye':_0x33f297(0x1f4),'mddOk':_0x33f297(0x1fc),'RVWwI':function(_0x568402){return _0x568402();},'hQKfL':function(_0x2cf048,_0x14e671){return _0x2cf048*_0x14e671;},'WsOtK':_0x33f297(0x1d3),'cOTCr':_0x33f297(0x200),'gqxUr':function(_0x4d2f49,_0x3191a5,_0x24f072){return _0x4d2f49(_0x3191a5,_0x24f072);},'hSEmX':_0x33f297(0x20a),'bdDQQ':_0x33f297(0x213),'yOQje':_0x33f297(0x19f),'bonLf':function(_0x1ec44a){return _0x1ec44a();}},_0xd39a58=new BrowserStackSetup(_0x1f5501,_0x142ba0[_0x33f297(0x1d6)]);await _0xd39a58[_0x33f297(0x1ad)](),await helper[_0x33f297(0x1df)](_0xd39a58['config']);if(!_0xd39a58[_0x33f297(0x1da)])return;process[_0x33f297(0x1f8)]=_0x1f5501[_0x33f297(0x1f8)];_0x1f5501[_0x33f297(0x1f8)]&&(process['env'][_0x33f297(0x1f8)]=_0x1f5501['profile']);const _0x50d36b=_0x142ba0['jkCCo'](getUserCodeceptJSConfigs,_0x1f5501,_0x35e3aa);let _0x1dabdd={};_0x50d36b?(logger[_0x33f297(0x1d9)](_0x33f297(0x194)+_0x50d36b),_0x1dabdd=_0x142ba0[_0x33f297(0x19b)](require,_0x50d36b)):logger[_0x33f297(0x1d9)](_0x142ba0[_0x33f297(0x193)]);let _0x591653=![];_0x142ba0['mhoQn'](nestedKeyValue,_0x1dabdd,[_0x142ba0['tEpcO'],_0x142ba0[_0x33f297(0x1ac)],_0x142ba0[_0x33f297(0x1b7)]])&&(_0x591653=!![]);const _0x442f9e=_0x591653?_0x142ba0[_0x33f297(0x1b7)]:_0x142ba0['ntCjG'];let _0x40c136=!_0x591653?helper[_0x33f297(0x1b5)](_0xd39a58['config']):![];!helper['isUndefined'](_0xd39a58[_0x33f297(0x1da)][_0x33f297(0x1b2)])&&(process['env'][_0x33f297(0x1e9)]=JSON[_0x33f297(0x209)](_0xd39a58[_0x33f297(0x1da)][_0x33f297(0x1b2)]));let _0x403462=_0xd39a58['config'][_0x33f297(0x1e3)];_0x403462=_0x403462||_0x142ba0[_0x33f297(0x1c2)](checkAccessibilityPlatformConfig,_0xd39a58['config']),process[_0x33f297(0x1b4)][_0x33f297(0x1d5)]=_0x403462;_0x403462&&(_0x40c136=!_0x403462);_0x142ba0[_0x33f297(0x1a2)](_0xd39a58[_0x33f297(0x1da)][_0x33f297(0x206)],null)?process[_0x33f297(0x1b4)][_0x33f297(0x1cf)]=_0xd39a58[_0x33f297(0x1da)]['testObservability']:process[_0x33f297(0x1b4)][_0x33f297(0x1cf)]=_0x142ba0[_0x33f297(0x1e2)];const _0x1828e2=_0x142ba0[_0x33f297(0x1dd)](_0x142ba0['LUFHO'],_0x142ba0[_0x33f297(0x1bc)](nestedKeyValue,_0x1dabdd,[_0x142ba0['tEpcO'],_0x142ba0[_0x33f297(0x203)]])?_0x142ba0[_0x33f297(0x1f0)]:''),_0x4a822f=await TestHubHandler['launchBuild'](_0x1828e2,_0xd39a58);_0x403462&&_0x142ba0[_0x33f297(0x1c2)](setAccessibilityCapabilities,_0xd39a58[_0x33f297(0x1da)]);const _0x1286f6={},_0x1b790e=[],_0x48248d=_0xd39a58[_0x33f297(0x1da)][_0x33f297(0x1a7)]||helper['getUserWorkerCount'](_0x1f5501,_0x35e3aa,_0xd39a58[_0x33f297(0x1da)],constants[_0x33f297(0x19c)][_0x33f297(0x1f7)])||0x1;let _0x23eecf=0x1;if(_0x142ba0['RVWwI'](isBrowserstackInfra)){const _0x1e6da0=helper[_0x33f297(0x1f9)](_0xd39a58['config'],_0x40c136,constants['FRAMEWORKS'][_0x33f297(0x1f7)]);helper[_0x33f297(0x1aa)](_0xd39a58[_0x33f297(0x1da)])?_0x23eecf=_0x142ba0['hQKfL'](_0x48248d,_0xd39a58['config']['platforms'][_0x33f297(0x1fe)]):_0x23eecf=_0x48248d,_0x1e6da0[_0x33f297(0x1f6)](_0x4b5b02=>{const _0x465a1c=_0x33f297,_0x15375e={'EFnpS':function(_0x338aec,_0x363bd7){const _0x5e1b85=a2_0x41b8;return _0x142ba0[_0x5e1b85(0x1dd)](_0x338aec,_0x363bd7);},'xgptM':function(_0x44a0aa,_0x16545c){const _0x368d9e=a2_0x41b8;return _0x142ba0[_0x368d9e(0x19b)](_0x44a0aa,_0x16545c);}},_0x388536=_0x142ba0['aYSjd'](helper[_0x465a1c(0x1b3)](_0x4b5b02,'_'),'_'+Date['now']()),_0x531f19=((()=>{const _0x36dd5c=_0x465a1c;if(_0x591653){const _0xb760db=pwToCodeceptBrowser[_0x4b5b02[_0x36dd5c(0x1b6)]]||_0x4b5b02['browserName'];return{'browser':_0xb760db,[_0xb760db]:{'browserWSEndpoint':_0x15375e[_0x36dd5c(0x19d)](helper['getPlaywrightUrl'](_0xd39a58[_0x36dd5c(0x1da)]),_0x15375e[_0x36dd5c(0x1e0)](encodeURIComponent,JSON[_0x36dd5c(0x209)](_0x4b5b02)))}};}const _0xf75fc7={};return _0xf75fc7[_0x36dd5c(0x200)]=_0x4b5b02,_0xf75fc7;})()),_0x34792a=_0x142ba0[_0x465a1c(0x1bc)](nestedKeyValue,_0x1dabdd,[_0x142ba0[_0x465a1c(0x1b1)],_0x142ba0[_0x465a1c(0x1ac)],_0x442f9e]);_0x1286f6[_0x388536]=_0x34792a?helper[_0x465a1c(0x1b8)](_0x531f19,_0x34792a):_0x531f19,!_0x591653&&(_0x1286f6[_0x388536][_0x465a1c(0x1d3)]=_0x4b5b02[_0x465a1c(0x1b6)]||_0x531f19[_0x465a1c(0x1d3)]),_0x1b790e[_0x465a1c(0x215)](_0x388536);});}else{_0x23eecf=0x1;if(_0x591653){const _0x2a0e89=_0x142ba0['mhoQn'](nestedKeyValue,_0x1dabdd,[_0x142ba0[_0x33f297(0x1b1)],_0x142ba0[_0x33f297(0x1ac)],_0x442f9e,_0x142ba0[_0x33f297(0x1c3)]]),_0x11ab93=_0x142ba0[_0x33f297(0x1bc)](nestedKeyValue,_0x1dabdd,[_0x142ba0[_0x33f297(0x1b1)],_0x142ba0[_0x33f297(0x1ac)],_0x442f9e,_0x2a0e89]);_0x11ab93&&_0x11ab93[_0x33f297(0x21c)]&&(_0x11ab93[_0x33f297(0x21c)]=helper['prepareCapabilities'](null,null,_0x1828e2['toLowerCase'](),null,null,_0x11ab93['browserWSEndpoint']));}else _0x1dabdd[_0x33f297(0x1da)][_0x142ba0['qblRn']][_0x442f9e][_0x142ba0[_0x33f297(0x199)]]=helper[_0x33f297(0x1f9)](null,null,_0x1828e2['toLowerCase'](),_0x142ba0[_0x33f297(0x19e)](nestedKeyValue,_0x1dabdd,[_0x142ba0[_0x33f297(0x1b1)],_0x142ba0[_0x33f297(0x1ac)],_0x442f9e,_0x142ba0[_0x33f297(0x199)]]),null,null);_0x1286f6[_0x142ba0['hSEmX']]=_0x1dabdd['config'],_0x1b790e[_0x33f297(0x215)](_0x142ba0[_0x33f297(0x1cc)]);}const _0x3cd8d4={};_0x3cd8d4['testConfig']=_0x50d36b;const _0x1514b6=_0x3cd8d4,_0x1fda61=path['join'](__dirname,_0x142ba0[_0x33f297(0x1a9)]),_0xda70cf=process['cwd']();process[_0x33f297(0x1b4)][_0x142ba0[_0x33f297(0x211)]]=_0xda70cf,process['chdir'](path[_0x33f297(0x1cd)](_0x50d36b));const _0x51d9a4=new CodeceptJS[(_0x33f297(0x1d4))](null,_0x1514b6),_0x39538f=_0x51d9a4['createGroupsOfSuites'](_0x23eecf),_0x2ea9ae=testOpsHelper[_0x33f297(0x1e1)](),_0x28f83d=_0x1b790e[_0x33f297(0x1c5)](_0x274685=>{const _0x37e0ec=_0x33f297,_0xb9e0ac={};_0xb9e0ac[_0x37e0ec(0x1c7)]=_0x1286f6[_0x274685];const _0x30be30={};_0x30be30[_0x37e0ec(0x1e4)]=_0x1286f6[_0x274685];const _0x523886=_0x591653?_0xb9e0ac:_0x30be30,_0x20b399=_0x142ba0['ZIIRh'](getO11yRerunPattern),_0x409d17={};_0x409d17[_0x37e0ec(0x1bd)]=_0x523886;const _0x3b9ddf={};_0x3b9ddf[_0x37e0ec(0x19a)]=_0x1fda61,_0x3b9ddf[_0x37e0ec(0x1c4)]=!![],_0x3b9ddf[_0x37e0ec(0x1f2)]=_0xd39a58['config'][_0x37e0ec(0x1c9)][_0x37e0ec(0x1f2)],_0x3b9ddf[_0x37e0ec(0x1bb)]=_0xd39a58[_0x37e0ec(0x1da)][_0x37e0ec(0x1c9)][_0x37e0ec(0x1bb)],_0x3b9ddf[_0x37e0ec(0x206)]=_0x2ea9ae,_0x3b9ddf['frameworkName']=_0x1828e2;const _0x2f67e8={};_0x2f67e8[_0x37e0ec(0x1ae)]=_0x3b9ddf;const _0x5b082a={};return _0x5b082a[_0x37e0ec(0x1a6)]=_0x2f67e8,helper[_0x37e0ec(0x1b8)]({},_0x1dabdd[_0x37e0ec(0x1da)],_0x142ba0[_0x37e0ec(0x1a8)](isBrowserstackInfra)?_0x409d17:{},_0x20b399?{'grep':_0x20b399}:{},_0x5b082a);});for(const _0x2d2956 of _0x28f83d){for(const _0x145c8b of _0x39538f){const _0xb38827=_0x51d9a4[_0x33f297(0x1ca)]();_0xb38827[_0x33f297(0x1d2)](_0x145c8b),_0xb38827[_0x33f297(0x1c6)](_0x2d2956);}}_0x51d9a4['on'](CodeceptJS[_0x33f297(0x20b)]['test']['failed'],(_0x19d9c7,_0x349f95)=>{const _0x14cf79=_0x33f297;console[_0x14cf79(0x20f)](_0x142ba0[_0x14cf79(0x1fb)],_0x19d9c7[_0x14cf79(0x1de)]);const _0x101a2b={[_0x19d9c7[_0x14cf79(0x1de)]]:_0x19d9c7[_0x14cf79(0x197)][_0x14cf79(0x218)]};_testErrorData[_0x14cf79(0x215)](_0x101a2b);}),_0x51d9a4['on'](CodeceptJS[_0x33f297(0x20b)][_0x33f297(0x21a)][_0x33f297(0x1ed)],async _0x2f7405=>{const _0x5443ae=_0x33f297;console['log'](_0x142ba0[_0x5443ae(0x207)],_0x2f7405[_0x5443ae(0x1de)]);}),_0x51d9a4['on'](CodeceptJS[_0x33f297(0x20b)][_0x33f297(0x21a)][_0x33f297(0x1e5)],async _0x14f3e4=>{const _0x59c6ed=_0x33f297;console[_0x59c6ed(0x20f)](_0x142ba0['bZtei'],_0x14f3e4[_0x59c6ed(0x1de)]);}),_0x51d9a4['on'](CodeceptJS['event'][_0x33f297(0x1cb)][_0x33f297(0x1ab)],async()=>{const _0x5a975f=_0x33f297,_0x183288=_0x142ba0['teagD'][_0x5a975f(0x1f3)]('|');let _0x1e2c20=0x0;while(!![]){switch(_0x183288[_0x1e2c20++]){case'0':try{await TestHubHandler[_0x5a975f(0x205)]();}catch(_0x1f3df2){logger[_0x5a975f(0x196)](_0x5a975f(0x191)+util['format'](_0x1f3df2));}continue;case'1':_0x51d9a4[_0x5a975f(0x212)]();continue;case'2':_0xd39a58['errorMessage']=_testErrorData;continue;case'3':testOpsHelper[_0x5a975f(0x1f5)]();continue;case'4':utilities[_0x5a975f(0x1a5)](_0xd39a58);continue;}break;}});async function _0x35bed8(){const _0x39e0cf=_0x33f297;try{await _0x51d9a4[_0x39e0cf(0x1d1)](),await _0x51d9a4[_0x39e0cf(0x20c)]();}finally{process['chdir'](_0xda70cf),await _0x51d9a4[_0x39e0cf(0x20e)]();}}_0x142ba0[_0x33f297(0x1a4)](_0x35bed8);}module['exports']=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a3_0x564090=a3_0x5b4f;function a3_0xbd8d(){const _0x73cc77=['XtnsV','searchParams','bsSessionId','shouldPatchExecuteScript','GghWD','gBOgJ','3662628uVkSTR','processWebDriverConfig','bstack:options','platform_version','SEVXu','playwright-chromium','WebDriver','plYbj','browserWSEndpoint','osVersion','constructor','desiredCapabilities','PARtJ','ZDSna','fKKEq','21378tEFKjo','platform','includes','../../bin/playwright/sessionDetails','1615HfyvQm','name','cloudProvider','317537wGohAQ','Playwright','browserstack_executor','KdgGw','caps','iKdnZ','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','29RXITfC','JbAII','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','NXVKo','browser_version','getDetails','HqurF','browserVersion','Fbuzf','uqwCY','get','sessionId','RYQjv','platformName','latest','deviceName','warn','mjFbg','CluGY','108mURlVs','vBaVZ','1860HqPhii','os_version','lAIFA','capabilities','browser','vBTVm','zvilt','IOsQM','__cloud_provider___','fetchPlatformDetails','config','zGJBM','7TTdbKa','25176SyOEkb','9828688LrnwWA','platformVersion','accessibilityPlatform','../../helpers/logger','580610zHUmVr','browserName','7216448IfIZwq'];a3_0xbd8d=function(){return _0x73cc77;};return a3_0xbd8d();}(function(_0x1cf138,_0x83ee35){const _0x1664c2=a3_0x5b4f,_0x390dcd=_0x1cf138();while(!![]){try{const _0x2cb4b6=-parseInt(_0x1664c2(0x1c0))/0x1*(-parseInt(_0x1664c2(0x1b2))/0x2)+parseInt(_0x1664c2(0x1a3))/0x3+-parseInt(_0x1664c2(0x19c))/0x4+-parseInt(_0x1664c2(0x1b6))/0x5*(parseInt(_0x1664c2(0x195))/0x6)+parseInt(_0x1664c2(0x194))/0x7*(-parseInt(_0x1664c2(0x196))/0x8)+-parseInt(_0x1664c2(0x186))/0x9*(parseInt(_0x1664c2(0x19a))/0xa)+-parseInt(_0x1664c2(0x1b9))/0xb*(-parseInt(_0x1664c2(0x188))/0xc);if(_0x2cb4b6===_0x83ee35)break;else _0x390dcd['push'](_0x390dcd['shift']());}catch(_0x8818e4){_0x390dcd['push'](_0x390dcd['shift']());}}}(a3_0xbd8d,0xe0bb8));const {isUndefined,nestedKeyValue}=require('../../helpers/helper'),logger=require(a3_0x564090(0x199))['winstonLogger'],PlaywrightSessionDetails=require(a3_0x564090(0x1b5)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{getObservabilityLinkedProductName}=require('../../helpers/test-observability/utils'),getOSVersionFromCaps=_0x372e18=>{const _0xd2688c=a3_0x564090,_0x24353b={};_0x24353b[_0xd2688c(0x185)]=_0xd2688c(0x1a5),_0x24353b[_0xd2688c(0x18e)]=_0xd2688c(0x197),_0x24353b[_0xd2688c(0x1b1)]=_0xd2688c(0x1a6),_0x24353b[_0xd2688c(0x193)]=_0xd2688c(0x1ac),_0x24353b[_0xd2688c(0x187)]=_0xd2688c(0x189);const _0x57beb0=_0x24353b;if(!_0x372e18)return null;const _0x3d166d=_0x372e18[_0x57beb0[_0xd2688c(0x185)]],_0x371837=[_0x57beb0[_0xd2688c(0x18e)],_0x57beb0[_0xd2688c(0x1b1)],_0x57beb0[_0xd2688c(0x193)],_0x57beb0['vBaVZ']];for(const _0x1c8a89 of _0x371837){if(_0x3d166d&&_0x3d166d[_0x1c8a89])return _0x3d166d[_0x1c8a89];else{if(_0x372e18[_0x1c8a89])return _0x372e18[_0x1c8a89];}}return null;};function a3_0x5b4f(_0x5a603d,_0x155c69){const _0xbd8dfb=a3_0xbd8d();return a3_0x5b4f=function(_0x5b4f4a,_0x2c24bc){_0x5b4f4a=_0x5b4f4a-0x179;let _0x34f72b=_0xbd8dfb[_0x5b4f4a];return _0x34f72b;},a3_0x5b4f(_0x5a603d,_0x155c69);}exports[a3_0x564090(0x191)]=_0x496361=>{const _0x33137d=a3_0x564090,_0x129054={'vCXKA':'unknown_grid','ZDSna':function(_0x48f5bd,_0xa0e042){return _0x48f5bd===_0xa0e042;},'PARtJ':_0x33137d(0x1a9),'RYQjv':function(_0x43af4d,_0x3dbc36){return _0x43af4d(_0x3dbc36);},'IOsQM':function(_0x49f660,_0x268cba,_0x27b8d8){return _0x49f660(_0x268cba,_0x27b8d8);},'uqwCY':_0x33137d(0x192),'lAIFA':_0x33137d(0x1ae),'GghWD':function(_0x390dc0,_0xf3619){return _0x390dc0(_0xf3619);},'RJXYh':_0x33137d(0x1ba),'HqurF':_0x33137d(0x18c),'XtnsV':_0x33137d(0x1ab),'BanZv':_0x33137d(0x1bd),'lfRYU':function(_0x1e6430,_0x237b4f){return _0x1e6430(_0x237b4f);}};if(!_0x496361)return null;let _0x4e570f=global[_0x33137d(0x190)]||_0x129054['vCXKA'];if(_0x129054[_0x33137d(0x1b0)](_0x496361[_0x33137d(0x1ad)][_0x33137d(0x1b7)],_0x129054[_0x33137d(0x1af)])){const _0x7a2bf9=_0x496361[_0x33137d(0x18c)];if(!_0x7a2bf9)return null;const _0x29e517=_0x7a2bf9['capabilities'],_0x5e5c6f=_0x129054[_0x33137d(0x17f)](getOSVersionFromCaps,_0x129054[_0x33137d(0x18f)](nestedKeyValue,_0x496361,[_0x129054[_0x33137d(0x17c)],_0x129054[_0x33137d(0x18a)]]));return{[_0x4e570f]:{'browser':_0x29e517[_0x33137d(0x19b)],'browser_version':_0x29e517['browserVersion'],'capabilities':_0x29e517,'platform':_0x29e517[_0x33137d(0x180)],'platform_version':_0x29e517[_0x33137d(0x197)]||_0x5e5c6f,'product':_0x129054[_0x33137d(0x1a1)](getObservabilityLinkedProductName,_0x29e517),'session_id':_0x7a2bf9[_0x33137d(0x17e)]}};}else{if(_0x129054[_0x33137d(0x1b0)](_0x496361['constructor'][_0x33137d(0x1b7)],_0x129054['RJXYh'])){const _0x2fccc5=PlaywrightSessionDetails[_0x33137d(0x1c5)]();_0x4e570f=_0x2fccc5[_0x33137d(0x1b8)]||_0x4e570f;const _0xa8e37f=_0x129054[_0x33137d(0x18f)](nestedKeyValue,_0x496361,[_0x129054[_0x33137d(0x17c)],_0x129054[_0x33137d(0x179)],_0x129054[_0x33137d(0x19d)]]),_0x381b33=_0xa8e37f?JSON['parse'](new URL(_0xa8e37f)[_0x33137d(0x19e)][_0x33137d(0x17d)](_0x129054['BanZv'])):{};return{[_0x4e570f]:{'browser':_0x2fccc5['browser']||_0x381b33[_0x33137d(0x19b)],'browser_version':_0x2fccc5[_0x33137d(0x1c4)]||_0x381b33[_0x33137d(0x1c4)],'capabilities':_0x381b33,'platform':_0x2fccc5[_0x33137d(0x1b3)],'platform_version':_0x2fccc5[_0x33137d(0x1a6)],'product':_0x129054['lfRYU'](getObservabilityLinkedProductName,_0x381b33),'session_id':_0x2fccc5[_0x33137d(0x19f)]}};}}},exports[a3_0x564090(0x1a4)]=_0x11c822=>{const _0x2790f9=a3_0x564090,_0x3619e8={'NXDzb':function(_0x343607){return _0x343607();},'vBTVm':function(_0x3b21d6,_0x13db2a){return _0x3b21d6===_0x13db2a;},'SEVXu':_0x2790f9(0x181),'Fbuzf':function(_0x252348,_0x1d408c){return _0x252348>_0x1d408c;},'NXVKo':function(_0x5e5f13,_0x3f0535){return _0x5e5f13(_0x3f0535);},'KdgGw':_0x2790f9(0x1c2),'plYbj':'chrome','uGkmu':function(_0x25d9de,_0x55f46e){return _0x25d9de===_0x55f46e;},'wxfqw':_0x2790f9(0x1a8),'gBOgJ':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','iKdnZ':_0x2790f9(0x1bf)};if(_0x3619e8['NXDzb'](isAccessibilityAutomationSession)){const _0x22e335=_0x11c822[_0x2790f9(0x18c)],_0x522f98=_0x22e335[_0x2790f9(0x18b)];global[_0x2790f9(0x198)]=!![],!(_0x3619e8[_0x2790f9(0x18d)](_0x522f98[_0x2790f9(0x17a)],_0x3619e8[_0x2790f9(0x1a7)])||_0x3619e8[_0x2790f9(0x17b)](_0x3619e8[_0x2790f9(0x1c3)](parseInt,_0x522f98[_0x2790f9(0x17a)]),0x5e))&&(logger[_0x2790f9(0x183)](_0x3619e8[_0x2790f9(0x1bc)]),global['accessibilityPlatform']=![]),!(_0x3619e8[_0x2790f9(0x18d)](_0x522f98['browserName'],_0x3619e8[_0x2790f9(0x1aa)])||_0x3619e8['uGkmu'](_0x522f98[_0x2790f9(0x19b)],_0x3619e8['wxfqw']))&&(logger[_0x2790f9(0x183)](_0x3619e8[_0x2790f9(0x1a2)]),global[_0x2790f9(0x198)]=![]),!_0x3619e8[_0x2790f9(0x1c3)](isUndefined,_0x522f98[_0x2790f9(0x182)])&&(logger['warn'](_0x3619e8[_0x2790f9(0x1be)]),global[_0x2790f9(0x198)]=![]);}},exports[a3_0x564090(0x1a0)]=_0x21cf50=>{const _0xcb3432=a3_0x564090,_0x1dcb28={};_0x1dcb28[_0xcb3432(0x184)]=_0xcb3432(0x1bb),_0x1dcb28[_0xcb3432(0x1c1)]='browserstack_accessibility_automation_script';const _0x7edff4=_0x1dcb28;if(!_0x21cf50)return![];return!_0x21cf50[_0xcb3432(0x1b4)](_0x7edff4[_0xcb3432(0x184)])&&!_0x21cf50[_0xcb3432(0x1b4)](_0x7edff4['JbAII']);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a4_0x2e3e5a=a4_0x3016;(function(_0x26351d,_0x10c030){const _0x3b9dda=a4_0x3016,_0x26196e=_0x26351d();while(!![]){try{const _0x1767c8=parseInt(_0x3b9dda(0x1d9))/0x1*(-parseInt(_0x3b9dda(0x1ea))/0x2)+-parseInt(_0x3b9dda(0x1f5))/0x3+parseInt(_0x3b9dda(0x212))/0x4+parseInt(_0x3b9dda(0x20f))/0x5+parseInt(_0x3b9dda(0x1c5))/0x6+-parseInt(_0x3b9dda(0x256))/0x7*(parseInt(_0x3b9dda(0x227))/0x8)+parseInt(_0x3b9dda(0x27f))/0x9;if(_0x1767c8===_0x10c030)break;else _0x26196e['push'](_0x26196e['shift']());}catch(_0x12ecb6){_0x26196e['push'](_0x26196e['shift']());}}}(a4_0x785b,0xeea19));const path=require(a4_0x2e3e5a(0x24a)),fs=require('fs'),{v4:uuidv4}=require(a4_0x2e3e5a(0x21f)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x2e3e5a(0x27e)),testOpsHelper=require(a4_0x2e3e5a(0x1fd)),{getTestEnv}=require(a4_0x2e3e5a(0x266)),{FRAMEWORKS}=require(a4_0x2e3e5a(0x279)),logger=require(a4_0x2e3e5a(0x218))[a4_0x2e3e5a(0x1ff)],SessionHandler=require(a4_0x2e3e5a(0x1bf)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),PlaywrightSessionDetails=require(a4_0x2e3e5a(0x208)),debug=testOpsHelper[a4_0x2e3e5a(0x271)],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require(a4_0x2e3e5a(0x220)),{fetchPlatformDetails}=require(a4_0x2e3e5a(0x23f)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x2e3e5a(0x1db)),STATE_PASSED=a4_0x2e3e5a(0x1f1),STATE_FAILED='failed',a4_0x3e2a25={};function a4_0x3016(_0x12b12d,_0x1dd96c){const _0x785b48=a4_0x785b();return a4_0x3016=function(_0x3016e6,_0x173618){_0x3016e6=_0x3016e6-0x19e;let _0xca5e16=_0x785b48[_0x3016e6];return _0xca5e16;},a4_0x3016(_0x12b12d,_0x1dd96c);}a4_0x3e2a25[a4_0x2e3e5a(0x260)]=a4_0x2e3e5a(0x201),a4_0x3e2a25[a4_0x2e3e5a(0x27b)]='TestRunFinished',a4_0x3e2a25[a4_0x2e3e5a(0x25b)]='TestRunSkipped',a4_0x3e2a25[a4_0x2e3e5a(0x261)]='HookRunStarted',a4_0x3e2a25[a4_0x2e3e5a(0x22d)]='HookRunFinished';const TEST_EVENTS=a4_0x3e2a25,parseEvent=_0x5e25cb=>{const _0x4849fc=a4_0x2e3e5a,_0xa7bd6d={};_0xa7bd6d[_0x4849fc(0x1ae)]=function(_0x128600,_0x4372f4){return _0x128600<_0x4372f4;},_0xa7bd6d['eYHkd']=function(_0x221f26,_0x5d0bec){return _0x221f26===_0x5d0bec;},_0xa7bd6d[_0x4849fc(0x26b)]='test',_0xa7bd6d[_0x4849fc(0x1e7)]=_0x4849fc(0x262),_0xa7bd6d[_0x4849fc(0x253)]=function(_0x5e5902,_0x48a880){return _0x5e5902===_0x48a880;},_0xa7bd6d['NNJEQ']='skipped',_0xa7bd6d[_0x4849fc(0x1c6)]=_0x4849fc(0x22f),_0xa7bd6d['gafLq']=function(_0xa30265,_0x2bac76){return _0xa30265===_0x2bac76;},_0xa7bd6d[_0x4849fc(0x246)]=_0x4849fc(0x1dd);const _0x4fcbc8=_0xa7bd6d,_0x3f2d5a=_0x5e25cb[_0x4849fc(0x1f0)](/^(.*)Run(.*)$/);if(!_0x3f2d5a)return null;if(_0x4fcbc8[_0x4849fc(0x1ae)](_0x3f2d5a[_0x4849fc(0x1ba)],0x3))return null;const _0x3e5059=_0x3f2d5a[0x1]['toLowerCase'](),_0x34ef36=_0x3f2d5a[0x2]['toLowerCase']();return{'test':_0x4fcbc8[_0x4849fc(0x255)](_0x3e5059,_0x4fcbc8[_0x4849fc(0x26b)]),'hook':_0x4fcbc8['eYHkd'](_0x3e5059,_0x4fcbc8[_0x4849fc(0x1e7)]),'skipped':_0x4fcbc8[_0x4849fc(0x253)](_0x34ef36,_0x4fcbc8[_0x4849fc(0x213)]),'started':_0x4fcbc8[_0x4849fc(0x253)](_0x34ef36,_0x4fcbc8[_0x4849fc(0x1c6)]),'finished':_0x4fcbc8[_0x4849fc(0x28a)](_0x34ef36,_0x4fcbc8[_0x4849fc(0x246)])};},mockPWBrowserType=_0x2a939=>{const _0x27fb65=a4_0x2e3e5a,_0x32760a={'WbsUF':function(_0x18669a,_0x173092){return _0x18669a===_0x173092;},'CmeOM':'string','liqfx':function(_0x25804c,_0x18dc04,_0x464933){return _0x25804c(_0x18dc04,_0x464933);},'uhiCG':_0x27fb65(0x251),'NfQAX':function(_0x4c8cfe,_0x13fdc9){return _0x4c8cfe(_0x13fdc9);},'fqLUj':_0x27fb65(0x27a),'BpUwD':function(_0x6e55c6,_0x56ee37){return _0x6e55c6(_0x56ee37);},'eRkZS':_0x27fb65(0x211),'xOfkj':_0x27fb65(0x206),'uCCCq':_0x27fb65(0x29a),'pJhEN':function(_0x2c0dfc,_0x2773b0){return _0x2c0dfc(_0x2773b0);},'NykbV':function(_0x16d14b,_0x325396){return _0x16d14b(_0x325396);},'qBVuP':_0x27fb65(0x1c8),'WXJmZ':_0x27fb65(0x28b),'vJWww':'launch'},_0x3e8cc2=path[_0x27fb65(0x21a)](_0x32760a[_0x27fb65(0x205)],_0x32760a[_0x27fb65(0x24d)],_0x32760a[_0x27fb65(0x21e)]),_0x3432a7=_0x32760a[_0x27fb65(0x19e)](importFileFromPWCore,_0x3e8cc2);if(!_0x3432a7){_0x32760a[_0x27fb65(0x248)](debug,_0x32760a[_0x27fb65(0x1f6)]);return;}const _0x125519=_0x3432a7[_0x27fb65(0x1b1)],_0x5890a3=_0x125519[_0x27fb65(0x1bc)];if(_0x5890a3[_0x27fb65(0x245)])return;const _0x204dd3=_0x5890a3[_0x27fb65(0x28b)];Object['defineProperty'](_0x5890a3,_0x32760a['WXJmZ'],{'get':function(){const _0x9a80d7=_0x27fb65,_0xc6ee0c={'TqMkO':function(_0x2b94dd,_0x41e950){const _0x16b553=a4_0x3016;return _0x32760a[_0x16b553(0x223)](_0x2b94dd,_0x41e950);},'NlDPy':_0x32760a['CmeOM'],'lubJz':function(_0x3fe922,_0x13d511,_0x3b4934){const _0x142004=a4_0x3016;return _0x32760a[_0x142004(0x230)](_0x3fe922,_0x13d511,_0x3b4934);},'XBtYs':_0x32760a[_0x9a80d7(0x217)],'dYcYa':function(_0x197884,_0x407db4){const _0x493082=_0x9a80d7;return _0x32760a[_0x493082(0x267)](_0x197884,_0x407db4);},'YYrcL':_0x32760a[_0x9a80d7(0x275)],'tQJlm':function(_0x1e923f,_0x1bf0e8,_0x273fd0){const _0x5e7cb8=_0x9a80d7;return _0x32760a[_0x5e7cb8(0x230)](_0x1e923f,_0x1bf0e8,_0x273fd0);},'lHUAN':function(_0x4ad54a,_0x8f4904){const _0x2f91ea=_0x9a80d7;return _0x32760a[_0x2f91ea(0x1f9)](_0x4ad54a,_0x8f4904);}};return async function _0x47bf0c(_0x5cfcf7,_0x95eeea){const _0x252f71=_0x9a80d7,_0xfdc439={'eXIUn':function(_0x537ac6,_0x50b8dd){const _0xf3fd65=a4_0x3016;return _0xc6ee0c[_0xf3fd65(0x1d3)](_0x537ac6,_0x50b8dd);},'slJGm':_0xc6ee0c['NlDPy']},_0x5e7739=_0xc6ee0c[_0x252f71(0x204)](nestedKeyValue,_0x5cfcf7,[_0xc6ee0c[_0x252f71(0x1b9)]])||_0x5cfcf7;let _0x4fe0be=null,_0x8286af=null;try{[_0x8286af,_0x4fe0be]=_0x5e7739?_0xc6ee0c[_0x252f71(0x250)](parseWSEndpoint,_0x5e7739):[null,null],global[_0x252f71(0x1e1)]=_0x4fe0be,_0x8286af[_0x252f71(0x233)](_0xc6ee0c['YYrcL'])&&(global['__cloud_provider___']=_0xc6ee0c[_0x252f71(0x24e)]);}catch(_0x373fde){logger[_0x252f71(0x271)]('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x5e7739+'\x20'+_0x373fde);}_0xc6ee0c[_0x252f71(0x1be)](processAccessibilityCaps,_0x4fe0be,_0x8286af);if(global[_0x252f71(0x296)]){const _0x58588c=await _0x5890a3[_0x252f71(0x24f)][_0x252f71(0x1d7)](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0xc6ee0c[_0x252f71(0x24b)](encodeURIComponent,JSON[_0x252f71(0x241)](_0x4fe0be))]);return PlaywrightSessionDetails['setupBrowserDetails'](_0x58588c,_0x2a939,_0x5e7739),_0x58588c;}return _0x204dd3[_0x252f71(0x1d7)](this,arguments)[_0x252f71(0x1c2)](_0x521c2c=>{const _0x29731c=_0x252f71;let _0x3a32a7=_0x5cfcf7[_0x29731c(0x251)];return _0xfdc439['eXIUn'](typeof _0x5cfcf7,_0xfdc439[_0x29731c(0x23a)])&&(_0x3a32a7=_0x5cfcf7),PlaywrightSessionDetails[_0x29731c(0x226)](_0x521c2c,_0x2a939,_0x3a32a7),_0x521c2c;});};}});const _0x5000f8=_0x5890a3[_0x27fb65(0x1a6)];Object['defineProperty'](_0x5890a3,_0x32760a[_0x27fb65(0x1a7)],{'get':function(){return async function _0x2a4efd(){const _0x4540a5=a4_0x3016;return _0x5000f8[_0x4540a5(0x1d7)](this,arguments)[_0x4540a5(0x1c2)](_0x2a975f=>{return PlaywrightSessionDetails['setupBrowserDetails'](_0x2a975f,null),_0x2a975f;});};}});};function a4_0x785b(){const _0x28301e=['file','fpsdn','lsiCk','IVDOv','currentHook','LkkjF','launch','vJWww','message','cSZDf','inspect','SOdJG','failed\x20to\x20get\x20root\x20parent\x20file\x20','removeAllListeners','NdIzn','skipped','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','BrowserType','1|5|3|4|0|2','parent','event_type','bddSteps','uploadEventData','success','relative','XBtYs','length','shutdown','prototype','File\x20path\x20could\x20not\x20be\x20found','tQJlm','../../helpers/test-observability/sessionHandler','_testEnv','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','then','result','ilpUe','899670Pdlwte','BrKBP','NOfbE','Not\x20able\x20to\x20import\x20Browser','err','sendCBTInfo','xTNHU','markedStatus','mihAu','test','STATE_PASSED','vnPNM','_paths','failure_backtrace','TqMkO','wxiBU','appendTestItemLog','dOfGf','apply','push','1lSzvHX','hook_type','../../helpers/testhub/utils.js','prefixTestPath','finished','cwd','hooks','title','__platformCaps','getHierarchy','TKYXf','GKMvG','getCBTInfo','driver','qevIV','YmMYh','CBTSessionCreated','2266898vWyxwg','getTime','KxMUk','Dfadf','testAnalyticsId','hook_run','match','passed','mapTestHooks','meta','comment','1446726XIYHYJ','qBVuP','name','toUpperCase','BpUwD','retryOf','pid','failure','../../helpers/test-observability/utils','tags','winstonLogger','bs:addLog:','TestRunStarted','yvCyG','concat','lubJz','eRkZS','client','test_run','../playwright/sessionDetails','eknHr','TEST_EVENTS','_afterEach','finished_at','LIxPg','now','7613080knXOpP','constructor','lib','4508464FNQqlt','NNJEQ','errorsDetailed','toISOString','initializeBddStep','uhiCG','../../helpers/logger','file_name','join','Playwright','toString','ruDhR','uCCCq','uuid','../utils/constants','vRxWU','nsjhO','WbsUF','text','ugbjH','setupBrowserDetails','7071368OrfzFE','gAUKD','_afterAll','replace','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','keyword','HOOK_RUN_FINISHED','groups','started','liqfx','test_run_uuid','split','includes','expanded','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','getHookType','currentTest','KkPjG','stop','slJGm','feature','hook_run_uuid','getRootParentFile','duration','./helper.js','\x20with\x20error\x20:\x20','stringify','statSync','_beforeAll','fullTitle','obsBrowserTypeMockApplied','ejgoV','pvrCp','NykbV','hookAnalyticsId','path','lHUAN','codeceptjs','xOfkj','YYrcL','connectOverCDP','dYcYa','wsEndpoint','getHooksForTest','EWXjJ','stepAnalyticsId','eYHkd','7NnXoBS','SDqwi','bddStepStart','aVASf','resetSkipTestHooks','TEST_RUN_SKIPPED','ikRNw','frameworkName','SYVLX','getInstance','TEST_RUN_STARTED','HOOK_RUN_STARTED','hook','forEach','ctx','startedAt','../mocha/test-observability/mochaUtils','NfQAX','IYutH','vmRms','srIhV','oXNRn','javascript','DMTZJ','enabled','jBuKs','O11yHelper','debug','qHEsy','fireEvent','suites','fqLUj','kNYuX','XBYGB','patchConsoleLogger','../../helpers/test-observability/constants','browserstack','TEST_RUN_FINISHED','QAfzO','logs','../../helpers/helper','6096312bUFZWQ','status','GpMeS','integrations','failed','RySIr','backtrace','body','_beforeEach','CxaMV','nHuzT','gafLq','connect','PathHelper','cnxbe','type','findGitConfig','VNoKE','upatP','CgdZG','exports','LVYGD','.git','accessibilityPlatform','vglAG','WsJEU','pending','browserType.js','pJhEN','Gxvsi'];a4_0x785b=function(){return _0x28301e;};return a4_0x785b();}class O11yHelper{[a4_0x2e3e5a(0x237)]=null;[a4_0x2e3e5a(0x1a4)]=null;[a4_0x2e3e5a(0x26e)]=![];[a4_0x2e3e5a(0x25d)]=![];constructor(_0x4a3cba,_0x1e3456){const _0x20c471=a4_0x2e3e5a,_0x5aab7f={'upatP':_0x20c471(0x1b2),'aQGNG':function(_0x2504f6){return _0x2504f6();},'nHuzT':function(_0x59242b,_0x3f3fef){return _0x59242b===_0x3f3fef;},'DMTZJ':_0x20c471(0x21b),'YZGYI':function(_0x54a878,_0x2cfe94){return _0x54a878(_0x2cfe94);},'KkPjG':function(_0x1ea49e){return _0x1ea49e();}},_0xd47378=_0x5aab7f[_0x20c471(0x291)][_0x20c471(0x232)]('|');let _0x1386cc=0x0;while(!![]){switch(_0xd47378[_0x1386cc++]){case'0':this[_0x20c471(0x1d1)]=new testOpsHelper[(_0x20c471(0x28c))]({'cwd':process[_0x20c471(0x1de)]()},this[_0x20c471(0x1c0)]['location_prefix']);continue;case'1':this[_0x20c471(0x26e)]=_0x5aab7f['aQGNG'](shouldProcessEventForTesthub);continue;case'2':this[_0x20c471(0x1e6)]&&_0x5aab7f[_0x20c471(0x289)](this[_0x20c471(0x1e6)][_0x20c471(0x210)]['name'],_0x5aab7f[_0x20c471(0x26d)])&&_0x5aab7f['YZGYI'](mockPWBrowserType,null);continue;case'3':this['driver']=_0x4a3cba;continue;case'4':this[_0x20c471(0x1c0)]=_0x5aab7f[_0x20c471(0x238)](getTestEnv);continue;case'5':this[_0x20c471(0x25d)]=_0x1e3456[_0x20c471(0x25d)];continue;}break;}}['start'](){const _0x2289f3=a4_0x2e3e5a;if(!this[_0x2289f3(0x26e)])return;testOpsHelper[_0x2289f3(0x278)](),process[_0x2289f3(0x1ad)](_0x2289f3(0x200)+process[_0x2289f3(0x1fb)]),process['on'](_0x2289f3(0x200)+process[_0x2289f3(0x1fb)],this[_0x2289f3(0x1d5)]['bind'](this));}async[a4_0x2e3e5a(0x239)](){const _0x1a6110=a4_0x2e3e5a;await RequestQueueHandler[_0x1a6110(0x25f)]()[_0x1a6110(0x1bb)]();}async[a4_0x2e3e5a(0x1d5)](_0x233912){const _0x3bfd57=a4_0x2e3e5a,_0x187c6e={'jpZsH':'LogCreated','LIxPg':function(_0x423e46,_0x390a5f){return _0x423e46(_0x390a5f);}};try{this[_0x3bfd57(0x1a4)]&&!this[_0x3bfd57(0x1a4)]['markedStatus']&&(_0x233912[_0x3bfd57(0x23c)]=this['currentHook'][_0x3bfd57(0x249)]);!_0x233912['hook_run_uuid']&&this['currentTest']&&!this['currentTest'][_0x3bfd57(0x1cc)]&&(_0x233912[_0x3bfd57(0x231)]=this['currentTest'][_0x3bfd57(0x1ee)]);if(_0x233912[_0x3bfd57(0x23c)]||_0x233912[_0x3bfd57(0x231)]){const _0xccc798={};_0xccc798['event_type']=_0x187c6e['jpZsH'],_0xccc798[_0x3bfd57(0x27d)]=[_0x233912],await SessionHandler[_0x3bfd57(0x1b6)](_0xccc798);}}catch(_0x1052b0){_0x187c6e[_0x3bfd57(0x20d)](debug,_0x3bfd57(0x1b0)+_0x1052b0);}}async[a4_0x2e3e5a(0x1ca)](_0x343d0c){const _0x217522=a4_0x2e3e5a,_0x191bd6={'aYXrj':_0x217522(0x1e9),'XBYGB':function(_0x437719,_0x3383ec){return _0x437719(_0x3383ec);}};if(!this[_0x217522(0x26e)])return;const _0x1e5360=this[_0x217522(0x1e5)](this[_0x217522(0x1e6)]);try{const _0x3bbc46={};_0x3bbc46[_0x217522(0x21f)]=_0x343d0c,_0x3bbc46[_0x217522(0x282)]=_0x1e5360;const _0x402eaa=_0x3bbc46,_0x590d5e={};_0x590d5e[_0x217522(0x1b4)]=_0x191bd6['aYXrj'],_0x590d5e[_0x217522(0x207)]=_0x402eaa,await SessionHandler[_0x217522(0x1b6)](_0x590d5e);}catch(_0x52d55b){_0x191bd6[_0x217522(0x277)](debug,_0x217522(0x1c1)+_0x52d55b);}}[a4_0x2e3e5a(0x1e5)](_0x441b8c){const _0xdf7619={'gLNNl':function(_0x1b6c1f,_0x1cb10f){return _0x1b6c1f(_0x1cb10f);}};return _0xdf7619['gLNNl'](fetchPlatformDetails,_0x441b8c);}['resetSkipTestHooks']=_0x59c896=>{const _0xc89b3d=a4_0x2e3e5a,_0x2927f3={};_0x2927f3[_0xc89b3d(0x1cb)]=_0xc89b3d(0x287),_0x2927f3[_0xc89b3d(0x294)]=_0xc89b3d(0x20b);const _0x586c1e=_0x2927f3;if(!_0x59c896||!_0x59c896[_0xc89b3d(0x1b3)])return;[_0x586c1e[_0xc89b3d(0x1cb)],_0x586c1e[_0xc89b3d(0x294)]][_0xc89b3d(0x263)](_0x50b775=>{const _0x32b963=_0xc89b3d,_0x4886c0=_0x59c896[_0x32b963(0x1b3)][_0x50b775];_0x4886c0[_0x32b963(0x263)](_0x55c500=>{const _0x45d412=_0x32b963;_0x55c500[_0x45d412(0x249)]&&(_0x55c500['hookAnalyticsId']=null);});});};[a4_0x2e3e5a(0x1f2)](_0x1aeb10){const _0x1eb394=a4_0x2e3e5a,_0x4487ff={'USmEL':_0x1eb394(0x24c),'SDqwi':function(_0x432e57){return _0x432e57();},'TKYXf':function(_0x19b5db,_0x4145f2){return _0x19b5db===_0x4145f2;},'SYVLX':_0x1eb394(0x20b),'QAfzO':_0x1eb394(0x243),'WYTfB':_0x1eb394(0x229),'pvrCp':'_beforeEach'};if(!_0x1aeb10||!_0x1aeb10[_0x1eb394(0x1b3)])return;[_0x4487ff[_0x1eb394(0x27c)],_0x4487ff['WYTfB'],_0x4487ff[_0x1eb394(0x247)],_0x4487ff[_0x1eb394(0x25e)]][_0x1eb394(0x263)](_0x17972f=>{const _0x3b00ee=_0x1eb394,_0x533e91={'CgdZG':_0x4487ff['USmEL'],'IVDOv':function(_0x1bc43f){const _0x510841=a4_0x3016;return _0x4487ff[_0x510841(0x257)](_0x1bc43f);},'qHEsy':function(_0x3c3084,_0x2f1409){const _0x268c35=a4_0x3016;return _0x4487ff[_0x268c35(0x1e3)](_0x3c3084,_0x2f1409);},'vRxWU':_0x4487ff[_0x3b00ee(0x25e)]},_0x2b8d33=_0x1aeb10[_0x3b00ee(0x1b3)][_0x17972f]||[];_0x2b8d33['forEach'](_0x32aaad=>{const _0x1a89b8=_0x3b00ee;if(_0x32aaad[_0x1a89b8(0x1e0)][_0x1a89b8(0x233)](_0x533e91[_0x1a89b8(0x292)]))return;if(!_0x32aaad['hookAnalyticsId'])_0x32aaad[_0x1a89b8(0x249)]=_0x533e91[_0x1a89b8(0x1a3)](uuidv4);else _0x32aaad[_0x1a89b8(0x1cc)]&&_0x533e91[_0x1a89b8(0x272)](_0x17972f,_0x533e91[_0x1a89b8(0x221)])&&(_0x32aaad['hookAnalyticsId']=_0x533e91['IVDOv'](uuidv4),delete _0x32aaad[_0x1a89b8(0x1cc)]);});}),this[_0x1eb394(0x1f2)](_0x1aeb10[_0x1eb394(0x1b3)]);}[a4_0x2e3e5a(0x252)](_0x3e0c71){const _0x2029ba=a4_0x2e3e5a,_0x5a509d={};_0x5a509d[_0x2029ba(0x276)]=_0x2029ba(0x243),_0x5a509d['fpsdn']=_0x2029ba(0x229),_0x5a509d[_0x2029ba(0x1c7)]=_0x2029ba(0x287),_0x5a509d[_0x2029ba(0x281)]=_0x2029ba(0x20b);const _0x12e95c=_0x5a509d;if(!_0x3e0c71||!_0x3e0c71['parent'])return[];const _0x5c6cf9=[];return[_0x12e95c[_0x2029ba(0x276)],_0x12e95c[_0x2029ba(0x1a1)],_0x12e95c[_0x2029ba(0x1c7)],_0x12e95c[_0x2029ba(0x281)]][_0x2029ba(0x263)](_0x3f38df=>{const _0x5e87be=_0x2029ba,_0x443512=_0x3e0c71['parent'][_0x3f38df]||[];_0x443512[_0x5e87be(0x263)](_0x48e8d7=>{const _0x5445f7=_0x5e87be;_0x48e8d7[_0x5445f7(0x249)]&&_0x5c6cf9[_0x5445f7(0x1d8)](_0x48e8d7['hookAnalyticsId']);});}),[][_0x2029ba(0x203)](_0x5c6cf9,this[_0x2029ba(0x252)](_0x3e0c71['parent']));}[a4_0x2e3e5a(0x236)](_0x3d653d){const _0x1c8f6e=a4_0x2e3e5a,_0x474abf=/^"(?<hook>.*)" hook:.*$/,_0x4ce095=_0x3d653d['title'],_0xf5bc25=_0x4ce095[_0x1c8f6e(0x1f0)](_0x474abf);if(_0xf5bc25&&_0xf5bc25[_0x1c8f6e(0x22e)])return _0xf5bc25[_0x1c8f6e(0x22e)][_0x1c8f6e(0x262)][_0x1c8f6e(0x1f8)]()[_0x1c8f6e(0x22a)]('\x20','_');return null;}[a4_0x2e3e5a(0x28f)](_0x382643){const _0x199410=a4_0x2e3e5a,_0x55f19b={};_0x55f19b[_0x199410(0x222)]=function(_0x1a9a65,_0x4135ea){return _0x1a9a65===_0x4135ea;},_0x55f19b[_0x199410(0x25c)]=function(_0x950a73,_0x145d9f){return _0x950a73===_0x145d9f;},_0x55f19b['yvCyG']=_0x199410(0x295),_0x55f19b['GKMvG']='config';const _0x4cf261=_0x55f19b,_0x4bb582=path['sep'];if(_0x4cf261[_0x199410(0x222)](_0x382643,null)||_0x4cf261[_0x199410(0x25c)](_0x382643,'')||_0x4cf261[_0x199410(0x25c)](_0x382643,_0x4bb582))return null;try{return fs[_0x199410(0x242)](path[_0x199410(0x21a)](_0x382643,_0x4cf261[_0x199410(0x202)],_0x4cf261[_0x199410(0x1e4)])),_0x382643;}catch(_0x28be8c){const _0x3c18df=path['dirname'](_0x382643);return this[_0x199410(0x28f)](_0x3c18df);}}['getRootParentFile'](_0x412f9c){const _0x57693c=a4_0x2e3e5a,_0xdee621={};_0xdee621['WXSyw']=function(_0x4693c8,_0x522667){return _0x4693c8>_0x522667;};const _0x54bf44=_0xdee621;if(_0x412f9c[_0x57693c(0x1a0)])return _0x412f9c[_0x57693c(0x1a0)];if(_0x412f9c[_0x57693c(0x264)]){const _0x304092=_0x412f9c[_0x57693c(0x264)][_0x57693c(0x237)]?this[_0x57693c(0x23d)](_0x412f9c[_0x57693c(0x264)][_0x57693c(0x237)]):null;if(_0x304092)return _0x304092;}if(_0x412f9c[_0x57693c(0x1b3)]){const _0x6bb742=this[_0x57693c(0x23d)](_0x412f9c[_0x57693c(0x1b3)])||(_0x412f9c[_0x57693c(0x1b3)][_0x57693c(0x264)]&&_0x412f9c[_0x57693c(0x1b3)][_0x57693c(0x264)][_0x57693c(0x237)]?this[_0x57693c(0x23d)](_0x412f9c[_0x57693c(0x1b3)]['ctx'][_0x57693c(0x237)]):null);if(_0x6bb742)return _0x6bb742;_0x412f9c[_0x57693c(0x1b3)][_0x57693c(0x274)]&&_0x54bf44['WXSyw'](_0x412f9c[_0x57693c(0x1b3)][_0x57693c(0x274)]['length'],0x0)&&_0x412f9c[_0x57693c(0x1b3)]['suites'][_0x57693c(0x263)](_0x35b988=>{const _0x2beca5=_0x57693c,_0x348bd5=_0x35b988[_0x2beca5(0x264)]?this['getRootParentFile'](_0x35b988[_0x2beca5(0x264)]):null;if(_0x348bd5)return _0x348bd5;});}return null;}['getHierarchy'](_0x3e3cc1){const _0x384bb8=a4_0x2e3e5a,_0x1f95a5={};_0x1f95a5[_0x384bb8(0x1d6)]=function(_0x139faf,_0x4ade1e){return _0x139faf!==_0x4ade1e;};const _0x28aed9=_0x1f95a5,_0x147e1c=[];if(_0x3e3cc1&&_0x3e3cc1[_0x384bb8(0x1b3)]){let _0x33ca98=_0x3e3cc1[_0x384bb8(0x1b3)];while(_0x33ca98&&_0x28aed9['dOfGf'](_0x33ca98[_0x384bb8(0x1e0)],'')){_0x147e1c[_0x384bb8(0x1d8)](_0x33ca98['title']),_0x33ca98=_0x33ca98['parent'];}}return _0x147e1c;}['captureEvent'](_0x5298fe,_0x1a2a5c,_0x9d459c=undefined){const _0x429994=a4_0x2e3e5a,_0x1ad81b={'IYutH':function(_0x24d30a,_0x48bf8b){return _0x24d30a(_0x48bf8b);},'YmMYh':function(_0x2cfff1){return _0x2cfff1();},'jBuKs':function(_0x5c2b80){return _0x5c2b80();},'ZMXbp':function(_0x2caba1){return _0x2caba1();},'eknHr':'util','VNoKE':_0x429994(0x1c9),'WsJEU':function(_0x5a3f16,_0x4cef2f){return _0x5a3f16!==_0x4cef2f;},'cnxbe':function(_0x1cdda1,_0x18e47d){return _0x1cdda1!==_0x18e47d;},'RiIkr':_0x429994(0x1bd),'KxMUk':'pending','Gxvsi':_0x429994(0x283),'srIhV':_0x429994(0x1f1),'vnPNM':_0x429994(0x1af),'SlguY':_0x429994(0x26c),'vglAG':function(_0x4efabe,_0x4ea895){return _0x4efabe-_0x4ea895;},'ugbjH':function(_0x49fbb1,_0x1101de,_0x342e06,_0xdefe13,_0x1027f6){return _0x49fbb1(_0x1101de,_0x342e06,_0xdefe13,_0x1027f6);},'JsdaB':function(_0x24b4b4,_0x2a3d04){return _0x24b4b4!==_0x2a3d04;},'SOdJG':_0x429994(0x282),'qRyuT':_0x429994(0x1f3),'CxaMV':_0x429994(0x1fc),'RySIr':_0x429994(0x1d2),'LkkjF':_0x429994(0x285),'ruDhR':'failure_reason_expanded','wujvr':_0x429994(0x234),'ilpUe':function(_0x91cd0b,_0x4e3c39){return _0x91cd0b===_0x4e3c39;},'cSZDf':_0x429994(0x1ef),'WGKxb':'test_run'};if(!this['enabled'])return;try{if(_0x1a2a5c['fn']&&_0x1a2a5c['fn'][_0x429994(0x21c)]()[_0x429994(0x1f0)](/browserstack internal helper hook/))return;const _0x48cf76=_0x1ad81b['IYutH'](parseEvent,_0x5298fe);if(!_0x48cf76)return;if(_0x48cf76['test']){this['currentTest']=_0x1a2a5c,this[_0x429994(0x1a4)]=null;if(_0x48cf76[_0x429994(0x22f)]||_0x48cf76[_0x429994(0x1af)]){_0x1a2a5c['startedAt']=new Date(),_0x1a2a5c['markedStatus']=![];if(!_0x1a2a5c[_0x429994(0x1ee)])_0x1a2a5c['testAnalyticsId']=_0x1ad81b[_0x429994(0x1e8)](uuidv4);else _0x1a2a5c['markedStatus']&&(!_0x1a2a5c['retryOf']&&(_0x1a2a5c['retryOf']=_0x1a2a5c[_0x429994(0x1ee)]),_0x1a2a5c[_0x429994(0x1ee)]=_0x1ad81b['jBuKs'](uuidv4));}}else{if(_0x48cf76[_0x429994(0x262)]){this[_0x429994(0x1a4)]=_0x1a2a5c;if(_0x48cf76[_0x429994(0x22f)]){_0x1a2a5c[_0x429994(0x265)]=new Date(),_0x1a2a5c['markedStatus']=![];if(!_0x1a2a5c['hookAnalyticsId'])_0x1a2a5c[_0x429994(0x249)]=_0x1ad81b[_0x429994(0x26f)](uuidv4);else _0x1a2a5c[_0x429994(0x249)]&&_0x1a2a5c[_0x429994(0x1cc)]&&(_0x1a2a5c[_0x429994(0x249)]=_0x1ad81b['ZMXbp'](uuidv4));}}}if(_0x48cf76['finished']&&_0x1a2a5c['markedStatus'])return;let _0x4092c3;try{_0x4092c3=this[_0x429994(0x23d)](_0x1a2a5c);}catch(_0x4779ad){logger[_0x429994(0x271)](_0x429994(0x1ac)+_0x4779ad),_0x4092c3=null;}const _0x3f8f7a=_0x1ad81b[_0x429994(0x268)](require,_0x1ad81b[_0x429994(0x209)]);let _0x39bc07=[];_0x9d459c&&(_0x39bc07=[_0x9d459c,_0x1ad81b[_0x429994(0x290)]]);const _0x50231f=_0x1ad81b[_0x429994(0x298)](_0x1a2a5c[_0x429994(0x214)],undefined)?_0x3f8f7a[_0x429994(0x1aa)](_0x1a2a5c[_0x429994(0x214)][0x0]):_0x1ad81b[_0x429994(0x28d)](_0x9d459c,undefined)?_0x9d459c['toString']():undefined,_0x1ab8b8=_0x4092c3?this[_0x429994(0x28f)](_0x4092c3):null,_0x401664=_0x4092c3?this[_0x429994(0x1d1)][_0x429994(0x1dc)](this[_0x429994(0x23d)](_0x1a2a5c)):_0x1ad81b['RiIkr'];let _0xeb0153=_0x1ad81b[_0x429994(0x1ec)];const _0x4c4661=!_0x48cf76['started']?new Date()['toISOString']():null;if(_0x48cf76['finished'])_0xeb0153=_0x9d459c?_0x1ad81b[_0x429994(0x19f)]:_0x1ad81b['srIhV'],_0x1a2a5c['markedStatus']=!![];else _0x48cf76['skipped']&&(_0xeb0153=_0x1ad81b[_0x429994(0x1d0)],_0x1a2a5c['markedStatus']=!![]);const _0x506db2={'framework':this[_0x429994(0x25d)],'uuid':_0x1a2a5c[_0x429994(0x1ee)]||_0x1a2a5c['hookAnalyticsId'],'name':_0x1a2a5c['title'],'body':{'lang':_0x1ad81b['SlguY'],'code':_0x1a2a5c[_0x429994(0x286)][_0x429994(0x21c)]()},'type':_0x1a2a5c[_0x429994(0x28e)],'scope':_0x1a2a5c[_0x429994(0x244)](),'scopes':this[_0x429994(0x1e2)](_0x1a2a5c),'file_name':_0x401664,'vc_filepath':_0x1ab8b8?path[_0x429994(0x1b8)](_0x1ab8b8,_0x4092c3):null,'location':_0x401664,'result':_0xeb0153,'failure_reason':_0x50231f,'duration_in_ms':_0x1a2a5c[_0x429994(0x23e)]||(_0x48cf76[_0x429994(0x1dd)]||_0x48cf76[_0x429994(0x1af)])?_0x1ad81b[_0x429994(0x297)](Date[_0x429994(0x20e)](),new Date(_0x1a2a5c[_0x429994(0x265)])[_0x429994(0x1eb)]()):null,'started_at':new Date(_0x1a2a5c[_0x429994(0x265)])[_0x429994(0x215)](),'finished_at':_0x4c4661,'failure':testOpsHelper['failureData'][_0x429994(0x1d7)](null,_0x39bc07),'failure_type':!_0x50231f?null:testOpsHelper['getFailureType'](_0x50231f),'retry_of':_0x1a2a5c[_0x429994(0x1fa)]||null,'tags':_0x1a2a5c[_0x429994(0x1fe)]||[],'customRerunParam':{'rerun_name':_0x1a2a5c['fullTitle']()}};_0x1ad81b[_0x429994(0x225)](appendTesthubParams,_0x506db2,_0x5298fe,_0x1a2a5c,FRAMEWORKS['CODECEPT']);if(_0x48cf76[_0x429994(0x262)])[_0x506db2[_0x429994(0x1da)],_0x506db2[_0x429994(0x1f7)]]=[this[_0x429994(0x236)](_0x1a2a5c),_0x1a2a5c['ctx'][_0x429994(0x1ce)][_0x429994(0x1e0)]],_0x48cf76['finished']?_0x1ad81b['JsdaB'](_0x506db2[_0x429994(0x1c3)],_0x1ad81b[_0x429994(0x19f)])&&(_0x506db2['result']=_0x1ad81b['srIhV']):_0x506db2[_0x429994(0x286)]={};else _0x48cf76[_0x429994(0x1ce)]&&(this[_0x429994(0x1f2)](_0x1a2a5c),_0x48cf76[_0x429994(0x1af)]&&this[_0x429994(0x25a)](_0x1a2a5c),(_0x48cf76[_0x429994(0x1dd)]||_0x48cf76[_0x429994(0x1af)])&&(_0x506db2[_0x429994(0x1df)]=this[_0x429994(0x252)](_0x1a2a5c)));this[_0x429994(0x1e6)]&&(_0x48cf76[_0x429994(0x22f)]||_0x48cf76[_0x429994(0x1af)])&&(_0x506db2[_0x1ad81b[_0x429994(0x1ab)]]=this[_0x429994(0x1e5)](this[_0x429994(0x1e6)]));_0x48cf76[_0x429994(0x1ce)]&&_0x48cf76[_0x429994(0x1dd)]&&_0x1a2a5c[_0x429994(0x1b5)]&&(_0x506db2[_0x1ad81b['qRyuT']]={'feature':{'name':_0x1a2a5c['parent'][_0x429994(0x23b)][_0x429994(0x1f7)],'path':_0x506db2[_0x429994(0x219)],'description':_0x1a2a5c[_0x429994(0x1b3)][_0x429994(0x1f4)]},'scenario':{'name':_0x1a2a5c[_0x429994(0x1e0)]},'steps':_0x1a2a5c[_0x429994(0x1b5)]});const _0x58a8ef=_0x506db2[_0x1ad81b[_0x429994(0x288)]][0x0];_0x58a8ef&&(_0x506db2[_0x1ad81b[_0x429994(0x284)]]=_0x58a8ef[_0x1ad81b[_0x429994(0x1a5)]],_0x506db2[_0x1ad81b[_0x429994(0x21d)]]=_0x58a8ef[_0x1ad81b['wujvr']]);if(_0x1a2a5c[_0x429994(0x1b5)])for(const _0xfda261 of _0x1a2a5c[_0x429994(0x1b5)]){!_0xfda261[_0x429994(0x20c)]&&(_0xfda261[_0x429994(0x20c)]=new Date()[_0x429994(0x215)](),_0x1ad81b[_0x429994(0x1c4)](_0xfda261[_0x429994(0x1c3)],_0x1ad81b[_0x429994(0x1ec)])&&(_0x58a8ef?(_0xfda261[_0x429994(0x1c3)]=_0x1ad81b[_0x429994(0x19f)],_0xfda261[_0x429994(0x1fc)]=_0x58a8ef[_0x1ad81b[_0x429994(0x1a5)]][0x0]):_0xfda261['result']=_0x1ad81b[_0x429994(0x26a)]));}const _0x4271be={};_0x4271be[_0x429994(0x1b4)]=_0x48cf76[_0x429994(0x1af)]?TEST_EVENTS[_0x429994(0x27b)]:_0x5298fe;const _0x3ebfaa=_0x4271be;return _0x48cf76[_0x429994(0x262)]?_0x3ebfaa[_0x1ad81b[_0x429994(0x1a9)]]=_0x506db2:_0x3ebfaa[_0x1ad81b['WGKxb']]=_0x506db2,_0x3ebfaa;}catch(_0x2278a0){logger[_0x429994(0x271)](_0x429994(0x22b)+_0x5298fe+_0x429994(0x240)+_0x2278a0);}}async[a4_0x2e3e5a(0x273)](_0x5f3aff,_0x4af065){const _0x28d422=a4_0x2e3e5a;if(!this[_0x28d422(0x26e)]||!_0x4af065||!_0x5f3aff)return![];try{return await SessionHandler[_0x28d422(0x1b6)](_0x4af065);}catch(_0x33c14b){logger['debug'](_0x28d422(0x235)+_0x5f3aff+_0x28d422(0x240)+_0x33c14b);}}[a4_0x2e3e5a(0x216)](_0x23defc){const _0x4fc56a=a4_0x2e3e5a,_0x4aa1d5={};_0x4aa1d5[_0x4fc56a(0x1a2)]=_0x4fc56a(0x299);const _0x46ec80=_0x4aa1d5;return{'id':_0x23defc[_0x4fc56a(0x254)],'text':_0x23defc[_0x4fc56a(0x224)],'keyword':_0x23defc[_0x4fc56a(0x22c)],'started_at':_0x23defc[_0x4fc56a(0x265)][_0x4fc56a(0x215)](),'result':_0x46ec80[_0x4fc56a(0x1a2)]};}[a4_0x2e3e5a(0x258)](_0x484f8a){const _0x54dca0=a4_0x2e3e5a,_0x45a4a5={'vmRms':function(_0x215bfa){return _0x215bfa();}};!this[_0x54dca0(0x237)]['bddSteps']&&(this[_0x54dca0(0x237)][_0x54dca0(0x1b5)]=[]),!_0x484f8a[_0x54dca0(0x254)]&&(_0x484f8a['stepAnalyticsId']=_0x45a4a5[_0x54dca0(0x269)](uuidv4),_0x484f8a[_0x54dca0(0x265)]=new Date(),this[_0x54dca0(0x237)][_0x54dca0(0x1b5)][_0x54dca0(0x1d8)](this[_0x54dca0(0x216)](_0x484f8a)));}['bddStepFinish'](_0x115527){const _0x112d66=a4_0x2e3e5a,_0x365646={'Dfadf':function(_0x47c8b6,_0x1393c7){return _0x47c8b6(_0x1393c7);},'aVASf':_0x112d66(0x1b7),'wxiBU':_0x112d66(0x299),'gAUKD':_0x112d66(0x1f1),'mihAu':function(_0x1960c9,_0x2950ae){return _0x1960c9-_0x2950ae;}};let _0x2a1900=this[_0x112d66(0x237)][_0x112d66(0x1b5)]['find'](_0x105891=>_0x105891['id']===_0x115527[_0x112d66(0x254)]);_0x365646[_0x112d66(0x1ed)](isUndefined,_0x2a1900)&&(_0x2a1900=this[_0x112d66(0x216)](_0x115527)),_0x2a1900[_0x112d66(0x1c3)]=[_0x365646[_0x112d66(0x259)],_0x365646[_0x112d66(0x1d4)]][_0x112d66(0x233)](_0x115527[_0x112d66(0x280)])?_0x365646[_0x112d66(0x228)]:_0x115527['status'],_0x2a1900[_0x112d66(0x20c)]=new Date()['toISOString'](),_0x2a1900['duration']=_0x365646[_0x112d66(0x1cd)](Date[_0x112d66(0x20e)](),_0x115527[_0x112d66(0x265)][_0x112d66(0x1eb)]()),_0x2a1900['failure']=_0x115527['err']?_0x115527[_0x112d66(0x1c9)][_0x112d66(0x1a8)]:null;}}const a4_0x25085c={};a4_0x25085c[a4_0x2e3e5a(0x270)]=O11yHelper,a4_0x25085c[a4_0x2e3e5a(0x1cf)]=STATE_PASSED,a4_0x25085c['STATE_FAILED']=STATE_FAILED,a4_0x25085c[a4_0x2e3e5a(0x20a)]=TEST_EVENTS,module[a4_0x2e3e5a(0x293)]=a4_0x25085c;
|
|
1
|
+
const a4_0x490116=a4_0xa2a5;(function(_0x2d6819,_0x1cc14f){const _0x2f6d73=a4_0xa2a5,_0x56ad32=_0x2d6819();while(!![]){try{const _0x3bff68=-parseInt(_0x2f6d73(0x200))/0x1+-parseInt(_0x2f6d73(0x1e0))/0x2*(-parseInt(_0x2f6d73(0x138))/0x3)+parseInt(_0x2f6d73(0x1dc))/0x4+parseInt(_0x2f6d73(0x1f6))/0x5+-parseInt(_0x2f6d73(0x129))/0x6+parseInt(_0x2f6d73(0x13f))/0x7*(-parseInt(_0x2f6d73(0x195))/0x8)+parseInt(_0x2f6d73(0x115))/0x9;if(_0x3bff68===_0x1cc14f)break;else _0x56ad32['push'](_0x56ad32['shift']());}catch(_0x4cc24b){_0x56ad32['push'](_0x56ad32['shift']());}}}(a4_0x4058,0x5bdba));const path=require(a4_0x490116(0x123)),fs=require('fs'),{v4:uuidv4}=require(a4_0x490116(0x191)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x490116(0x135)),testOpsHelper=require(a4_0x490116(0x1aa)),{getTestEnv}=require(a4_0x490116(0x162)),{FRAMEWORKS}=require(a4_0x490116(0x1d4)),logger=require('../../helpers/logger')[a4_0x490116(0x201)],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),PlaywrightSessionDetails=require(a4_0x490116(0x1d9)),debug=testOpsHelper['debug'],{processAccessibilityCaps}=require(a4_0x490116(0x1e1)),Constants=require(a4_0x490116(0x1c3)),{fetchPlatformDetails}=require(a4_0x490116(0x1bc)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x490116(0x1bf)),STATE_PASSED='passed',STATE_FAILED=a4_0x490116(0x122),a4_0x1c97d3={};a4_0x1c97d3['TEST_RUN_STARTED']='TestRunStarted',a4_0x1c97d3[a4_0x490116(0x1d5)]='TestRunFinished',a4_0x1c97d3[a4_0x490116(0x133)]=a4_0x490116(0x106),a4_0x1c97d3[a4_0x490116(0x11b)]=a4_0x490116(0x1f1),a4_0x1c97d3[a4_0x490116(0x16a)]=a4_0x490116(0x163);const TEST_EVENTS=a4_0x1c97d3,parseEvent=_0x2bd13e=>{const _0x143b26=a4_0x490116,_0x53d719={};_0x53d719['NZRnn']=function(_0x2b90f9,_0x23e312){return _0x2b90f9<_0x23e312;},_0x53d719[_0x143b26(0x146)]=function(_0x572eec,_0x4674a5){return _0x572eec===_0x4674a5;},_0x53d719[_0x143b26(0x1f3)]=_0x143b26(0x142),_0x53d719[_0x143b26(0x185)]=_0x143b26(0x108),_0x53d719[_0x143b26(0x1b6)]=_0x143b26(0x15a),_0x53d719[_0x143b26(0x1a0)]=function(_0x5a7284,_0x20ee40){return _0x5a7284===_0x20ee40;},_0x53d719['cwYua']=_0x143b26(0x1cc),_0x53d719['wROTl']=function(_0x4656e4,_0x4bbe5c){return _0x4656e4===_0x4bbe5c;},_0x53d719['JWPjb']=_0x143b26(0x184);const _0x3b8f6e=_0x53d719,_0x8ef905=_0x2bd13e[_0x143b26(0x18d)](/^(.*)Run(.*)$/);if(!_0x8ef905)return null;if(_0x3b8f6e[_0x143b26(0x1d7)](_0x8ef905[_0x143b26(0x1c8)],0x3))return null;const _0x473556=_0x8ef905[0x1][_0x143b26(0x1c2)](),_0x4785b3=_0x8ef905[0x2][_0x143b26(0x1c2)]();return{'test':_0x3b8f6e[_0x143b26(0x146)](_0x473556,_0x3b8f6e[_0x143b26(0x1f3)]),'hook':_0x3b8f6e[_0x143b26(0x146)](_0x473556,_0x3b8f6e['pKiiW']),'skipped':_0x3b8f6e[_0x143b26(0x146)](_0x4785b3,_0x3b8f6e[_0x143b26(0x1b6)]),'started':_0x3b8f6e[_0x143b26(0x1a0)](_0x4785b3,_0x3b8f6e[_0x143b26(0x1b8)]),'finished':_0x3b8f6e[_0x143b26(0x1fa)](_0x4785b3,_0x3b8f6e[_0x143b26(0x15f)])};},mockPWBrowserType=_0x5338c4=>{const _0x142fe7=a4_0x490116,_0x5bd255={'Vlynb':function(_0x2ef91f,_0x588704,_0x495bfe){return _0x2ef91f(_0x588704,_0x495bfe);},'qrGvp':_0x142fe7(0x1f2),'SlRbw':function(_0x5657e0,_0x151342){return _0x5657e0(_0x151342);},'ErfND':_0x142fe7(0x1ae),'eTNdS':function(_0x52e07a,_0x2416fa,_0x25f62d){return _0x52e07a(_0x2416fa,_0x25f62d);},'rMXmc':function(_0x4bdb88,_0x54342b){return _0x4bdb88===_0x54342b;},'DzBLi':'string','oyZIX':'lib','mbkah':_0x142fe7(0x166),'WLrWm':_0x142fe7(0x1b3),'LwZZD':function(_0x4b066b,_0x252e53){return _0x4b066b(_0x252e53);},'CjOgG':function(_0x1b582f,_0x15ccef){return _0x1b582f(_0x15ccef);},'fGSMY':'Not\x20able\x20to\x20import\x20Browser','cuLRF':_0x142fe7(0x14f),'OuBkW':_0x142fe7(0x165)},_0x318d71=path[_0x142fe7(0x14d)](_0x5bd255['oyZIX'],_0x5bd255[_0x142fe7(0x1b0)],_0x5bd255[_0x142fe7(0x11a)]),_0x4ccabd=_0x5bd255['LwZZD'](importFileFromPWCore,_0x318d71);if(!_0x4ccabd){_0x5bd255[_0x142fe7(0x17e)](debug,_0x5bd255[_0x142fe7(0x205)]);return;}const _0x3bcd75=_0x4ccabd[_0x142fe7(0x15b)],_0x449398=_0x3bcd75[_0x142fe7(0x1e8)];if(_0x449398[_0x142fe7(0x18e)])return;const _0x16e436=_0x449398[_0x142fe7(0x14f)];Object[_0x142fe7(0x173)](_0x449398,_0x5bd255[_0x142fe7(0x157)],{'get':function(){const _0x723c4e=_0x142fe7,_0x3abd63={'aTOuT':function(_0x58ef0d,_0x807169){const _0x296ea4=a4_0xa2a5;return _0x5bd255[_0x296ea4(0x1d1)](_0x58ef0d,_0x807169);},'kcbcf':_0x5bd255[_0x723c4e(0x1ed)]};return async function _0x49261e(_0x82ba19,_0x59d4de){const _0x165e34=_0x723c4e,_0x272f3e=_0x5bd255['Vlynb'](nestedKeyValue,_0x82ba19,[_0x5bd255[_0x165e34(0x1d3)]])||_0x82ba19;let _0x3336dd=null,_0x1fa0b6=null;try{[_0x1fa0b6,_0x3336dd]=_0x272f3e?_0x5bd255[_0x165e34(0x19f)](parseWSEndpoint,_0x272f3e):[null,null],global[_0x165e34(0x10f)]=_0x3336dd,_0x1fa0b6['includes'](_0x5bd255[_0x165e34(0x169)])&&(global[_0x165e34(0x111)]=_0x5bd255[_0x165e34(0x169)]);}catch(_0x227c7d){logger[_0x165e34(0x1a4)]('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x272f3e+'\x20'+_0x227c7d);}_0x5bd255[_0x165e34(0x120)](processAccessibilityCaps,_0x3336dd,_0x1fa0b6);if(global[_0x165e34(0x14e)]){const _0x575615=await _0x449398[_0x165e34(0x118)]['apply'](this,[''+Constants[_0x165e34(0x1ac)]+_0x5bd255['SlRbw'](encodeURIComponent,JSON['stringify'](_0x3336dd))]);return PlaywrightSessionDetails[_0x165e34(0x121)](_0x575615,_0x5338c4,_0x272f3e),_0x575615;}return _0x16e436[_0x165e34(0x17b)](this,arguments)[_0x165e34(0x171)](_0x1c474c=>{const _0x32b3b8=_0x165e34;let _0xf16115=_0x82ba19[_0x32b3b8(0x1f2)];return _0x3abd63[_0x32b3b8(0x1fc)](typeof _0x82ba19,_0x3abd63['kcbcf'])&&(_0xf16115=_0x82ba19),PlaywrightSessionDetails[_0x32b3b8(0x121)](_0x1c474c,_0x5338c4,_0xf16115),_0x1c474c;});};}});const _0x5023d1=_0x449398[_0x142fe7(0x165)];Object[_0x142fe7(0x173)](_0x449398,_0x5bd255[_0x142fe7(0x177)],{'get':function(){return async function _0x5909b0(){const _0x179987=a4_0xa2a5;return _0x5023d1[_0x179987(0x17b)](this,arguments)['then'](_0x57f231=>{const _0x450cbd=_0x179987;return PlaywrightSessionDetails[_0x450cbd(0x121)](_0x57f231,null),_0x57f231;});};}});};class O11yHelper{[a4_0x490116(0x1a9)]=null;['currentHook']=null;[a4_0x490116(0x168)]=![];[a4_0x490116(0x1b9)]=![];constructor(_0x4a43c8,_0x11e1f){const _0xc06400=a4_0x490116,_0x47fd2b={'FLxmz':_0xc06400(0x143),'jjLcW':function(_0x593bba){return _0x593bba();},'NlcpP':function(_0x34c1ad,_0x2f881a){return _0x34c1ad===_0x2f881a;},'IUycc':_0xc06400(0x1ef),'UNVDo':function(_0x3bf61f,_0xabadeb){return _0x3bf61f(_0xabadeb);}},_0x35b0cd=_0x47fd2b[_0xc06400(0x1de)][_0xc06400(0x19e)]('|');let _0x3c56c5=0x0;while(!![]){switch(_0x35b0cd[_0x3c56c5++]){case'0':this[_0xc06400(0x168)]=_0x47fd2b[_0xc06400(0x10d)](shouldProcessEventForTesthub);continue;case'1':this[_0xc06400(0x1fd)]=_0x47fd2b[_0xc06400(0x10d)](getTestEnv);continue;case'2':this[_0xc06400(0x174)]=new testOpsHelper['PathHelper']({'cwd':process[_0xc06400(0x186)]()},this[_0xc06400(0x1fd)][_0xc06400(0x109)]);continue;case'3':this['frameworkName']=_0x11e1f['frameworkName'];continue;case'4':this[_0xc06400(0x12b)]=_0x4a43c8;continue;case'5':this['driver']&&_0x47fd2b['NlcpP'](this[_0xc06400(0x12b)]['constructor']['name'],_0x47fd2b[_0xc06400(0x13e)])&&_0x47fd2b[_0xc06400(0x112)](mockPWBrowserType,null);continue;}break;}}[a4_0x490116(0x15e)](){const _0x1bee73=a4_0x490116;if(!this[_0x1bee73(0x168)])return;testOpsHelper[_0x1bee73(0x141)](),process[_0x1bee73(0x128)](_0x1bee73(0x1ea)+process['pid']),process['on'](_0x1bee73(0x1ea)+process[_0x1bee73(0x192)],this[_0x1bee73(0x14c)][_0x1bee73(0x167)](this));}async['stop'](){const _0x37d2af=a4_0x490116;await RequestQueueHandler['getInstance']()[_0x37d2af(0x18a)]();}async[a4_0x490116(0x14c)](_0x31c3cb){const _0x3554dc=a4_0x490116,_0x51bd5c={'owAqP':_0x3554dc(0x1be),'oIRxo':function(_0x567a27,_0x92fb5d){return _0x567a27(_0x92fb5d);}};try{this['currentHook']&&!this[_0x3554dc(0x1a7)]['markedStatus']&&(_0x31c3cb[_0x3554dc(0x1e9)]=this[_0x3554dc(0x1a7)][_0x3554dc(0x1a3)]);!_0x31c3cb['hook_run_uuid']&&this[_0x3554dc(0x1a9)]&&!this[_0x3554dc(0x1a9)]['markedStatus']&&(_0x31c3cb[_0x3554dc(0x12f)]=this[_0x3554dc(0x1a9)][_0x3554dc(0x145)]);if(_0x31c3cb[_0x3554dc(0x1e9)]||_0x31c3cb[_0x3554dc(0x12f)]){const _0x4755ae={};_0x4755ae[_0x3554dc(0x1b5)]=_0x51bd5c[_0x3554dc(0x1eb)],_0x4755ae[_0x3554dc(0x1c6)]=[_0x31c3cb],await SessionHandler['uploadEventData'](_0x4755ae);}}catch(_0x125673){_0x51bd5c[_0x3554dc(0x107)](debug,_0x3554dc(0x1d8)+_0x125673);}}async['sendCBTInfo'](_0x3694e5){const _0x13368b=a4_0x490116,_0x18e747={'HVTxa':'CBTSessionCreated','xJrQX':function(_0xec5054,_0x3b7276){return _0xec5054(_0x3b7276);}};if(!this['enabled'])return;const _0x482cb4=this['getCBTInfo'](this[_0x13368b(0x12b)]);try{const _0x23246a={};_0x23246a[_0x13368b(0x191)]=_0x3694e5,_0x23246a[_0x13368b(0x1dd)]=_0x482cb4;const _0x65e8b9=_0x23246a,_0x196e9b={};_0x196e9b[_0x13368b(0x1b5)]=_0x18e747[_0x13368b(0x187)],_0x196e9b[_0x13368b(0x1d2)]=_0x65e8b9,await SessionHandler['uploadEventData'](_0x196e9b);}catch(_0xff428a){_0x18e747['xJrQX'](debug,_0x13368b(0x19c)+_0xff428a);}}[a4_0x490116(0x156)](_0x268beb){const _0x4fa9b5=a4_0x490116,_0x5a1e34={'sQzQf':function(_0x51c97f,_0x1d25a4){return _0x51c97f(_0x1d25a4);}};return _0x5a1e34[_0x4fa9b5(0x1ca)](fetchPlatformDetails,_0x268beb);}[a4_0x490116(0x183)]=_0x5e1397=>{const _0x257a36=a4_0x490116,_0x5045ef={};_0x5045ef['VfmtW']=_0x257a36(0x1c1),_0x5045ef[_0x257a36(0x202)]='_afterEach';const _0x36fb12=_0x5045ef;if(!_0x5e1397||!_0x5e1397[_0x257a36(0x149)])return;[_0x36fb12[_0x257a36(0x172)],_0x36fb12[_0x257a36(0x202)]][_0x257a36(0x1ad)](_0x517108=>{const _0x2a4d5f=_0x257a36,_0x4a2700=_0x5e1397[_0x2a4d5f(0x149)][_0x517108];_0x4a2700[_0x2a4d5f(0x1ad)](_0x58b1f1=>{const _0x5831f8=_0x2a4d5f;_0x58b1f1['hookAnalyticsId']&&(_0x58b1f1[_0x5831f8(0x1a3)]=null);});});};[a4_0x490116(0x124)](_0x445838){const _0x5e7520=a4_0x490116,_0x47d519={'kRfvj':_0x5e7520(0x16b),'hWCNG':function(_0x17d7f5){return _0x17d7f5();},'zYQEW':function(_0xed5e68,_0x48d88d){return _0xed5e68===_0x48d88d;},'NkOPt':_0x5e7520(0x1f9),'ecXnU':function(_0x4e2c70){return _0x4e2c70();},'yRbKa':_0x5e7520(0x1c9),'aSIdM':_0x5e7520(0x175),'SEIKf':_0x5e7520(0x1c1)};if(!_0x445838||!_0x445838[_0x5e7520(0x149)])return;[_0x47d519[_0x5e7520(0x1af)],_0x47d519[_0x5e7520(0x1db)],_0x47d519['SEIKf'],_0x47d519['NkOPt']][_0x5e7520(0x1ad)](_0x4a81c2=>{const _0x3a4ff6=_0x5e7520,_0xe005bd={'FQybK':_0x47d519[_0x3a4ff6(0x11f)],'CWaiB':function(_0x13331f){const _0x2b9791=_0x3a4ff6;return _0x47d519[_0x2b9791(0x12d)](_0x13331f);},'PZvuj':function(_0x225245,_0x4ed43f){const _0x10ffe3=_0x3a4ff6;return _0x47d519[_0x10ffe3(0x10b)](_0x225245,_0x4ed43f);},'riAWU':_0x47d519['NkOPt'],'HUTok':function(_0x1f59f3){const _0x2952b8=_0x3a4ff6;return _0x47d519[_0x2952b8(0x114)](_0x1f59f3);}},_0x7a89b=_0x445838['parent'][_0x4a81c2]||[];_0x7a89b[_0x3a4ff6(0x1ad)](_0x1b2e38=>{const _0x3eb1f7=_0x3a4ff6;if(_0x1b2e38[_0x3eb1f7(0x17c)][_0x3eb1f7(0x1e3)](_0xe005bd['FQybK']))return;if(!_0x1b2e38['hookAnalyticsId'])_0x1b2e38['hookAnalyticsId']=_0xe005bd[_0x3eb1f7(0x116)](uuidv4);else _0x1b2e38[_0x3eb1f7(0x190)]&&_0xe005bd[_0x3eb1f7(0x160)](_0x4a81c2,_0xe005bd[_0x3eb1f7(0x1ff)])&&(_0x1b2e38[_0x3eb1f7(0x1a3)]=_0xe005bd[_0x3eb1f7(0x152)](uuidv4),delete _0x1b2e38[_0x3eb1f7(0x190)]);});}),this['mapTestHooks'](_0x445838['parent']);}[a4_0x490116(0x178)](_0x4fcf46){const _0x4ad0ff=a4_0x490116,_0x3c16f8={};_0x3c16f8['iXexg']=_0x4ad0ff(0x1c9),_0x3c16f8[_0x4ad0ff(0x140)]='_afterAll',_0x3c16f8[_0x4ad0ff(0x198)]=_0x4ad0ff(0x1c1),_0x3c16f8['dDjvC']=_0x4ad0ff(0x1f9);const _0x5a48d5=_0x3c16f8;if(!_0x4fcf46||!_0x4fcf46[_0x4ad0ff(0x149)])return[];const _0x451182=[];return[_0x5a48d5[_0x4ad0ff(0x110)],_0x5a48d5[_0x4ad0ff(0x140)],_0x5a48d5['pPUUd'],_0x5a48d5[_0x4ad0ff(0x12e)]][_0x4ad0ff(0x1ad)](_0xb5551d=>{const _0x1dbff8=_0x4ad0ff,_0x13181f=_0x4fcf46[_0x1dbff8(0x149)][_0xb5551d]||[];_0x13181f[_0x1dbff8(0x1ad)](_0x175bb1=>{const _0x1cc2eb=_0x1dbff8;_0x175bb1[_0x1cc2eb(0x1a3)]&&_0x451182[_0x1cc2eb(0x15d)](_0x175bb1[_0x1cc2eb(0x1a3)]);});}),[][_0x4ad0ff(0x1fb)](_0x451182,this[_0x4ad0ff(0x178)](_0x4fcf46['parent']));}[a4_0x490116(0x19a)](_0x46b4a8){const _0x3a7814=a4_0x490116,_0x2c7478=/^"(?<hook>.*)" hook:.*$/,_0x23b4b7=_0x46b4a8[_0x3a7814(0x17c)],_0x5a2a74=_0x23b4b7[_0x3a7814(0x18d)](_0x2c7478);if(_0x5a2a74&&_0x5a2a74[_0x3a7814(0x119)])return _0x5a2a74[_0x3a7814(0x119)][_0x3a7814(0x108)]['toUpperCase']()[_0x3a7814(0x11c)]('\x20','_');return null;}[a4_0x490116(0x1da)](_0xfa1745){const _0x1edc88=a4_0x490116,_0x202f66={};_0x202f66[_0x1edc88(0x1cf)]=function(_0x135a20,_0x2e5d43){return _0x135a20===_0x2e5d43;},_0x202f66[_0x1edc88(0x1cb)]=function(_0x1cc4c9,_0x493756){return _0x1cc4c9===_0x493756;},_0x202f66['xigVc']=function(_0x1981b0,_0x55ed1b){return _0x1981b0===_0x55ed1b;},_0x202f66[_0x1edc88(0x188)]=_0x1edc88(0x13c),_0x202f66['RKDZV']=_0x1edc88(0x1ec);const _0x56b5d4=_0x202f66,_0xdcbc79=path['sep'];if(_0x56b5d4[_0x1edc88(0x1cf)](_0xfa1745,null)||_0x56b5d4['hAlfd'](_0xfa1745,'')||_0x56b5d4[_0x1edc88(0x1cf)](_0xfa1745,_0xdcbc79)||_0x56b5d4[_0x1edc88(0x1a6)](_0xfa1745,path['dirname'](_0xfa1745)))return null;try{return fs['statSync'](path[_0x1edc88(0x14d)](_0xfa1745,_0x56b5d4[_0x1edc88(0x188)],_0x56b5d4[_0x1edc88(0x136)])),_0xfa1745;}catch(_0x188949){const _0x40ed81=path[_0x1edc88(0x1bb)](_0xfa1745);return this['findGitConfig'](_0x40ed81);}}[a4_0x490116(0x1a2)](_0x573dce){const _0x31de66=a4_0x490116,_0x108611={};_0x108611['TZlvg']=function(_0xf14b7a,_0x188770){return _0xf14b7a>_0x188770;};const _0x4ed80c=_0x108611;if(_0x573dce[_0x31de66(0x132)])return _0x573dce[_0x31de66(0x132)];if(_0x573dce[_0x31de66(0x15c)]){const _0x5a323c=_0x573dce[_0x31de66(0x15c)]['currentTest']?this[_0x31de66(0x1a2)](_0x573dce[_0x31de66(0x15c)][_0x31de66(0x1a9)]):null;if(_0x5a323c)return _0x5a323c;}if(_0x573dce[_0x31de66(0x149)]){const _0x2c3741=this[_0x31de66(0x1a2)](_0x573dce[_0x31de66(0x149)])||(_0x573dce[_0x31de66(0x149)]['ctx']&&_0x573dce['parent'][_0x31de66(0x15c)][_0x31de66(0x1a9)]?this[_0x31de66(0x1a2)](_0x573dce['parent']['ctx']['currentTest']):null);if(_0x2c3741)return _0x2c3741;_0x573dce['parent'][_0x31de66(0x189)]&&_0x4ed80c[_0x31de66(0x1a1)](_0x573dce[_0x31de66(0x149)][_0x31de66(0x189)][_0x31de66(0x1c8)],0x0)&&_0x573dce['parent']['suites']['forEach'](_0x16d983=>{const _0x4fd312=_0x31de66,_0x978097=_0x16d983[_0x4fd312(0x15c)]?this['getRootParentFile'](_0x16d983[_0x4fd312(0x15c)]):null;if(_0x978097)return _0x978097;});}return null;}[a4_0x490116(0x131)](_0xcfc91e){const _0x223ada=a4_0x490116,_0x543383={};_0x543383[_0x223ada(0x134)]=function(_0x247851,_0x427639){return _0x247851!==_0x427639;};const _0x2733e0=_0x543383,_0x3e63b3=[];if(_0xcfc91e&&_0xcfc91e['parent']){let _0x2d81f=_0xcfc91e[_0x223ada(0x149)];while(_0x2d81f&&_0x2733e0['bHHnk'](_0x2d81f['title'],'')){_0x3e63b3[_0x223ada(0x15d)](_0x2d81f[_0x223ada(0x17c)]),_0x2d81f=_0x2d81f[_0x223ada(0x149)];}}return _0x3e63b3;}[a4_0x490116(0x10e)](_0x3b003d,_0x1f452c,_0x1633ac=undefined){const _0x2cc746=a4_0x490116,_0x59cae9={'oSPBc':function(_0x5cf0e9,_0x10bdcb){return _0x5cf0e9(_0x10bdcb);},'MNsrs':function(_0x321e5d){return _0x321e5d();},'njOLM':function(_0x288ef8){return _0x288ef8();},'pMAlr':function(_0x3b1108){return _0x3b1108();},'Zhccw':function(_0x2e383a){return _0x2e383a();},'avwbS':function(_0x3a68cc,_0x69ca2c){return _0x3a68cc(_0x69ca2c);},'lwuav':'util','sMbQR':'err','UlwmX':function(_0x40b4c4,_0xd8450a){return _0x40b4c4!==_0xd8450a;},'xSqKs':'File\x20path\x20could\x20not\x20be\x20found','Maqdc':_0x2cc746(0x151),'ErcBV':_0x2cc746(0x122),'Rlpao':_0x2cc746(0x1d6),'uVcPl':'skipped','hYdwB':_0x2cc746(0x113),'LHqxY':function(_0x54b76f,_0x4fc552){return _0x54b76f-_0x4fc552;},'JLPXk':function(_0x7276e9,_0x3c6164,_0x38b979,_0x1a8e08,_0x19e6b5){return _0x7276e9(_0x3c6164,_0x38b979,_0x1a8e08,_0x19e6b5);},'aOpMI':function(_0x1b018d,_0x1ebde3){return _0x1b018d!==_0x1ebde3;},'MRLLa':_0x2cc746(0x1dd),'hdLLy':_0x2cc746(0x11e),'njwqQ':_0x2cc746(0x158),'ZThFJ':_0x2cc746(0x1c4),'ssjad':_0x2cc746(0x1d0),'pOnRr':_0x2cc746(0x18c),'RfINd':_0x2cc746(0x10a),'QzUDV':function(_0x5a9cfb,_0x490660){return _0x5a9cfb===_0x490660;},'IjiJD':_0x2cc746(0x170),'IPyTu':_0x2cc746(0x1d2)};if(!this[_0x2cc746(0x168)])return;try{if(_0x1f452c['fn']&&_0x1f452c['fn'][_0x2cc746(0x137)]()['match'](/browserstack internal helper hook/))return;const _0x2308a6=_0x59cae9[_0x2cc746(0x153)](parseEvent,_0x3b003d);if(!_0x2308a6)return;if(_0x2308a6[_0x2cc746(0x142)]){this[_0x2cc746(0x1a9)]=_0x1f452c,this[_0x2cc746(0x1a7)]=null;if(_0x2308a6[_0x2cc746(0x1cc)]||_0x2308a6[_0x2cc746(0x15a)]){_0x1f452c['startedAt']=new Date(),_0x1f452c[_0x2cc746(0x190)]=![];if(!_0x1f452c[_0x2cc746(0x145)])_0x1f452c['testAnalyticsId']=_0x59cae9[_0x2cc746(0x17a)](uuidv4);else _0x1f452c[_0x2cc746(0x190)]&&(!_0x1f452c['retryOf']&&(_0x1f452c[_0x2cc746(0x193)]=_0x1f452c['testAnalyticsId']),_0x1f452c[_0x2cc746(0x145)]=_0x59cae9[_0x2cc746(0x150)](uuidv4));}}else{if(_0x2308a6[_0x2cc746(0x108)]){this[_0x2cc746(0x1a7)]=_0x1f452c;if(_0x2308a6[_0x2cc746(0x1cc)]){_0x1f452c['startedAt']=new Date(),_0x1f452c[_0x2cc746(0x190)]=![];if(!_0x1f452c[_0x2cc746(0x1a3)])_0x1f452c[_0x2cc746(0x1a3)]=_0x59cae9[_0x2cc746(0x164)](uuidv4);else _0x1f452c['hookAnalyticsId']&&_0x1f452c[_0x2cc746(0x190)]&&(_0x1f452c['hookAnalyticsId']=_0x59cae9[_0x2cc746(0x11d)](uuidv4));}}}if(_0x2308a6['finished']&&_0x1f452c[_0x2cc746(0x190)])return;let _0x5dc0ee;try{_0x5dc0ee=this[_0x2cc746(0x1a2)](_0x1f452c);}catch(_0x5616bd){logger['debug'](_0x2cc746(0x194)+_0x5616bd),_0x5dc0ee=null;}const _0x53306b=_0x59cae9[_0x2cc746(0x179)](require,_0x59cae9[_0x2cc746(0x1f0)]);let _0x1a5f6a=[];_0x1633ac&&(_0x1a5f6a=[_0x1633ac,_0x59cae9[_0x2cc746(0x1f5)]]);const _0x1a76bc=_0x59cae9[_0x2cc746(0x161)](_0x1f452c[_0x2cc746(0x19b)],undefined)?_0x53306b[_0x2cc746(0x117)](_0x1f452c['errorsDetailed'][0x0]):_0x59cae9['UlwmX'](_0x1633ac,undefined)?_0x1633ac[_0x2cc746(0x137)]():undefined,_0x425078=_0x5dc0ee?this[_0x2cc746(0x1da)](_0x5dc0ee):null,_0xec8053=_0x5dc0ee?this[_0x2cc746(0x174)][_0x2cc746(0x1b1)](this['getRootParentFile'](_0x1f452c)):_0x59cae9[_0x2cc746(0x176)];let _0x2c3933=_0x59cae9[_0x2cc746(0x1a8)];const _0x48c4da=!_0x2308a6[_0x2cc746(0x1cc)]?new Date()['toISOString']():null;if(_0x2308a6['finished'])_0x2c3933=_0x1633ac?_0x59cae9[_0x2cc746(0x126)]:_0x59cae9['Rlpao'],_0x1f452c[_0x2cc746(0x190)]=!![];else _0x2308a6[_0x2cc746(0x15a)]&&(_0x2c3933=_0x59cae9[_0x2cc746(0x12a)],_0x1f452c['markedStatus']=!![]);const _0x1df5af={'framework':this['frameworkName'],'uuid':_0x1f452c['testAnalyticsId']||_0x1f452c['hookAnalyticsId'],'name':_0x1f452c[_0x2cc746(0x17c)],'body':{'lang':_0x59cae9[_0x2cc746(0x1f8)],'code':_0x1f452c[_0x2cc746(0x1ee)][_0x2cc746(0x137)]()},'type':_0x1f452c['type'],'scope':_0x1f452c[_0x2cc746(0x14b)](),'scopes':this[_0x2cc746(0x131)](_0x1f452c),'file_name':_0xec8053,'vc_filepath':_0x425078?path[_0x2cc746(0x125)](_0x425078,_0x5dc0ee):null,'location':_0xec8053,'result':_0x2c3933,'failure_reason':_0x1a76bc,'duration_in_ms':_0x1f452c[_0x2cc746(0x1bd)]||(_0x2308a6[_0x2cc746(0x184)]||_0x2308a6[_0x2cc746(0x15a)])?_0x59cae9[_0x2cc746(0x13b)](Date[_0x2cc746(0x199)](),new Date(_0x1f452c[_0x2cc746(0x1c7)])[_0x2cc746(0x1b2)]()):null,'started_at':new Date(_0x1f452c[_0x2cc746(0x1c7)])[_0x2cc746(0x1e6)](),'finished_at':_0x48c4da,'failure':testOpsHelper[_0x2cc746(0x16f)][_0x2cc746(0x17b)](null,_0x1a5f6a),'failure_type':!_0x1a76bc?null:testOpsHelper[_0x2cc746(0x204)](_0x1a76bc),'retry_of':_0x1f452c['retryOf']||null,'tags':_0x1f452c[_0x2cc746(0x1b4)]||[],'customRerunParam':{'rerun_name':_0x1f452c['fullTitle']()}};_0x59cae9[_0x2cc746(0x197)](appendTesthubParams,_0x1df5af,_0x3b003d,_0x1f452c,FRAMEWORKS[_0x2cc746(0x1c0)]);if(_0x2308a6[_0x2cc746(0x108)])[_0x1df5af[_0x2cc746(0x16e)],_0x1df5af[_0x2cc746(0x1ce)]]=[this[_0x2cc746(0x19a)](_0x1f452c),_0x1f452c[_0x2cc746(0x15c)][_0x2cc746(0x142)][_0x2cc746(0x17c)]],_0x2308a6['finished']?_0x59cae9[_0x2cc746(0x203)](_0x1df5af[_0x2cc746(0x14a)],_0x59cae9[_0x2cc746(0x126)])&&(_0x1df5af['result']=_0x59cae9[_0x2cc746(0x17f)]):_0x1df5af[_0x2cc746(0x1ee)]={};else _0x2308a6[_0x2cc746(0x142)]&&(this[_0x2cc746(0x124)](_0x1f452c),_0x2308a6[_0x2cc746(0x15a)]&&this[_0x2cc746(0x183)](_0x1f452c),(_0x2308a6[_0x2cc746(0x184)]||_0x2308a6[_0x2cc746(0x15a)])&&(_0x1df5af[_0x2cc746(0x1c5)]=this['getHooksForTest'](_0x1f452c)));this[_0x2cc746(0x12b)]&&(_0x2308a6[_0x2cc746(0x1cc)]||_0x2308a6[_0x2cc746(0x15a)])&&(_0x1df5af[_0x59cae9[_0x2cc746(0x1fe)]]=this['getCBTInfo'](this['driver']));_0x2308a6[_0x2cc746(0x142)]&&_0x2308a6['finished']&&_0x1f452c[_0x2cc746(0x196)]&&(_0x1df5af[_0x59cae9[_0x2cc746(0x1f4)]]={'feature':{'name':_0x1f452c['parent']['feature'][_0x2cc746(0x1ce)],'path':_0x1df5af[_0x2cc746(0x1f7)],'description':_0x1f452c[_0x2cc746(0x149)][_0x2cc746(0x18f)]},'scenario':{'name':_0x1f452c[_0x2cc746(0x17c)]},'steps':_0x1f452c[_0x2cc746(0x196)]});const _0x302c77=_0x1df5af[_0x59cae9[_0x2cc746(0x1e7)]][0x0];_0x302c77&&(_0x1df5af[_0x59cae9[_0x2cc746(0x1cd)]]=_0x302c77[_0x59cae9[_0x2cc746(0x1e2)]],_0x1df5af[_0x59cae9[_0x2cc746(0x1ab)]]=_0x302c77[_0x59cae9['RfINd']]);if(_0x1f452c['bddSteps'])for(const _0x55e05b of _0x1f452c[_0x2cc746(0x196)]){!_0x55e05b[_0x2cc746(0x19d)]&&(_0x55e05b['finished_at']=new Date()[_0x2cc746(0x1e6)](),_0x59cae9[_0x2cc746(0x13d)](_0x55e05b[_0x2cc746(0x14a)],_0x59cae9[_0x2cc746(0x1a8)])&&(_0x302c77?(_0x55e05b[_0x2cc746(0x14a)]=_0x59cae9[_0x2cc746(0x126)],_0x55e05b[_0x2cc746(0x158)]=_0x302c77[_0x59cae9[_0x2cc746(0x1e2)]][0x0]):_0x55e05b[_0x2cc746(0x14a)]=_0x59cae9[_0x2cc746(0x17f)]));}const _0x358a50={};_0x358a50['event_type']=_0x2308a6[_0x2cc746(0x15a)]?TEST_EVENTS[_0x2cc746(0x1d5)]:_0x3b003d;const _0x5b293c=_0x358a50;return _0x2308a6['hook']?_0x5b293c[_0x59cae9[_0x2cc746(0x144)]]=_0x1df5af:_0x5b293c[_0x59cae9[_0x2cc746(0x12c)]]=_0x1df5af,_0x5b293c;}catch(_0x5263a2){logger[_0x2cc746(0x1a4)](_0x2cc746(0x127)+_0x3b003d+'\x20with\x20error\x20:\x20'+_0x5263a2);}}async[a4_0x490116(0x18b)](_0x33968d,_0x3feca4){const _0x4d2b35=a4_0x490116;if(!this[_0x4d2b35(0x168)]||!_0x3feca4||!_0x33968d)return![];try{return await SessionHandler[_0x4d2b35(0x13a)](_0x3feca4);}catch(_0x31e9a1){logger[_0x4d2b35(0x1a4)](_0x4d2b35(0x139)+_0x33968d+_0x4d2b35(0x1b7)+_0x31e9a1);}}[a4_0x490116(0x154)](_0x3f3618){const _0x4a3240=a4_0x490116,_0x2ee1f3={};_0x2ee1f3[_0x4a3240(0x182)]=_0x4a3240(0x151);const _0x224258=_0x2ee1f3;return{'id':_0x3f3618[_0x4a3240(0x1e4)],'text':_0x3f3618['text'],'keyword':_0x3f3618[_0x4a3240(0x16d)],'started_at':_0x3f3618['startedAt']['toISOString'](),'result':_0x224258[_0x4a3240(0x182)]};}[a4_0x490116(0x155)](_0x4b3dd2){const _0x43fb4e=a4_0x490116,_0x4c758a={'TewSn':function(_0x28ae4d){return _0x28ae4d();}};!this[_0x43fb4e(0x1a9)][_0x43fb4e(0x196)]&&(this[_0x43fb4e(0x1a9)][_0x43fb4e(0x196)]=[]),!_0x4b3dd2[_0x43fb4e(0x1e4)]&&(_0x4b3dd2[_0x43fb4e(0x1e4)]=_0x4c758a[_0x43fb4e(0x1e5)](uuidv4),_0x4b3dd2['startedAt']=new Date(),this['currentTest']['bddSteps'][_0x43fb4e(0x15d)](this[_0x43fb4e(0x154)](_0x4b3dd2)));}['bddStepFinish'](_0x59ea2b){const _0x4fefc8=a4_0x490116,_0x6b13e0={'kqpFp':function(_0x211a83,_0x71270){return _0x211a83(_0x71270);},'MjUjR':_0x4fefc8(0x17d),'cUAzJ':_0x4fefc8(0x151),'gwlIN':_0x4fefc8(0x1d6),'vIAUR':function(_0x19163d,_0xe07dac){return _0x19163d-_0xe07dac;}};let _0x18023d=this[_0x4fefc8(0x1a9)][_0x4fefc8(0x196)][_0x4fefc8(0x159)](_0x14ac58=>_0x14ac58['id']===_0x59ea2b[_0x4fefc8(0x1e4)]);_0x6b13e0[_0x4fefc8(0x180)](isUndefined,_0x18023d)&&(_0x18023d=this[_0x4fefc8(0x154)](_0x59ea2b)),_0x18023d[_0x4fefc8(0x14a)]=[_0x6b13e0[_0x4fefc8(0x10c)],_0x6b13e0[_0x4fefc8(0x147)]][_0x4fefc8(0x1e3)](_0x59ea2b[_0x4fefc8(0x16c)])?_0x6b13e0['gwlIN']:_0x59ea2b['status'],_0x18023d['finished_at']=new Date()[_0x4fefc8(0x1e6)](),_0x18023d[_0x4fefc8(0x1bd)]=_0x6b13e0[_0x4fefc8(0x130)](Date[_0x4fefc8(0x199)](),_0x59ea2b[_0x4fefc8(0x1c7)][_0x4fefc8(0x1b2)]()),_0x18023d['failure']=_0x59ea2b['err']?_0x59ea2b[_0x4fefc8(0x181)][_0x4fefc8(0x1a5)]:null;}}const a4_0x5ecd3b={};function a4_0xa2a5(_0x5486fb,_0x1105d2){const _0x405877=a4_0x4058();return a4_0xa2a5=function(_0xa2a51,_0x4ae56e){_0xa2a51=_0xa2a51-0x106;let _0x37946a=_0x405877[_0xa2a51];return _0x37946a;},a4_0xa2a5(_0x5486fb,_0x1105d2);}a4_0x5ecd3b['O11yHelper']=O11yHelper,a4_0x5ecd3b[a4_0x490116(0x1df)]=STATE_PASSED,a4_0x5ecd3b[a4_0x490116(0x1ba)]=STATE_FAILED,a4_0x5ecd3b[a4_0x490116(0x148)]=TEST_EVENTS,module['exports']=a4_0x5ecd3b;function a4_0x4058(){const _0x2f6b67=['bddStepStart','getCBTInfo','cuLRF','failure','find','skipped','BrowserType','ctx','push','start','JWPjb','PZvuj','UlwmX','../mocha/test-observability/mochaUtils','HookRunFinished','pMAlr','launch','client','bind','enabled','ErfND','HOOK_RUN_FINISHED','codeceptjs','status','keyword','hook_type','failureData','hook_run','then','VfmtW','defineProperty','_paths','_afterAll','xSqKs','OuBkW','getHooksForTest','avwbS','MNsrs','apply','title','success','CjOgG','Rlpao','kqpFp','err','DUulJ','resetSkipTestHooks','finished','pKiiW','cwd','HVTxa','jbIRs','suites','shutdown','fireEvent','failure_reason_expanded','match','obsBrowserTypeMockApplied','comment','markedStatus','uuid','pid','retryOf','failed\x20to\x20get\x20root\x20parent\x20file\x20','2024VLBJwI','bddSteps','JLPXk','pPUUd','now','getHookType','errorsDetailed','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','finished_at','split','SlRbw','trDaz','TZlvg','getRootParentFile','hookAnalyticsId','debug','message','xigVc','currentHook','Maqdc','currentTest','../../helpers/test-observability/utils','pOnRr','PLAYWRIGHT_HUB_URL','forEach','browserstack','yRbKa','mbkah','prefixTestPath','getTime','browserType.js','tags','event_type','Vlbgw','\x20with\x20error\x20:\x20','cwYua','frameworkName','STATE_FAILED','dirname','./helper.js','duration','LogCreated','../../helpers/testhub/utils.js','CODECEPT','_beforeEach','toLowerCase','../utils/constants','failure_backtrace','hooks','logs','startedAt','length','_beforeAll','sQzQf','hAlfd','started','ZThFJ','name','SCAjV','backtrace','rMXmc','test_run','qrGvp','../../helpers/test-observability/constants','TEST_RUN_FINISHED','passed','NZRnn','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','../playwright/sessionDetails','findGitConfig','aSIdM','2122296KWhXqH','integrations','FLxmz','STATE_PASSED','9094sLKgWy','../playwright/accessibility-helper','ssjad','includes','stepAnalyticsId','TewSn','toISOString','njwqQ','prototype','hook_run_uuid','bs:addLog:','owAqP','config','DzBLi','body','Playwright','lwuav','HookRunStarted','wsEndpoint','PagMo','hdLLy','sMbQR','2406040bLPxDh','file_name','hYdwB','_afterEach','wROTl','concat','aTOuT','_testEnv','MRLLa','riAWU','657218HuhwaO','winstonLogger','JgCrv','aOpMI','getFailureType','fGSMY','TestRunSkipped','oIRxo','hook','location_prefix','expanded','zYQEW','MjUjR','jjLcW','captureEvent','__platformCaps','iXexg','__cloud_provider___','UNVDo','javascript','ecXnU','1925928eSGUbV','CWaiB','inspect','connectOverCDP','groups','WLrWm','HOOK_RUN_STARTED','replace','Zhccw','meta','kRfvj','eTNdS','setupBrowserDetails','failed','path','mapTestHooks','relative','ErcBV','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','removeAllListeners','2448744JYoryl','uVcPl','driver','IPyTu','hWCNG','dDjvC','test_run_uuid','vIAUR','getHierarchy','file','TEST_RUN_SKIPPED','bHHnk','../../helpers/helper','RKDZV','toString','213srEEan','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','uploadEventData','LHqxY','.git','QzUDV','IUycc','2961GgkdzA','FkwVH','patchConsoleLogger','test','0|3|4|1|2|5','IjiJD','testAnalyticsId','WGuxv','cUAzJ','TEST_EVENTS','parent','result','fullTitle','appendTestItemLog','join','accessibilityPlatform','connect','njOLM','pending','HUTok','oSPBc','initializeBddStep'];a4_0x4058=function(){return _0x2f6b67;};return a4_0x4058();}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a5_0x4f18d1=a5_0x2f28;(function(_0x2a61d0,_0x8da08a){const _0x39ef19=a5_0x2f28,_0x170b1c=_0x2a61d0();while(!![]){try{const _0x2affff=-parseInt(_0x39ef19(0x1ff))/0x1+parseInt(_0x39ef19(0x1e3))/0x2*(-parseInt(_0x39ef19(0x1d2))/0x3)+parseInt(_0x39ef19(0x201))/0x4+parseInt(_0x39ef19(0x1ca))/0x5+parseInt(_0x39ef19(0x1a4))/0x6+parseInt(_0x39ef19(0x1d8))/0x7+-parseInt(_0x39ef19(0x1b2))/0x8*(parseInt(_0x39ef19(0x197))/0x9);if(_0x2affff===_0x8da08a)break;else _0x170b1c['push'](_0x170b1c['shift']());}catch(_0x46e556){_0x170b1c['push'](_0x170b1c['shift']());}}}(a5_0x40d2,0x9e9d8));function a5_0x2f28(_0x4e1ca1,_0xa17328){const _0x40d2f8=a5_0x40d2();return a5_0x2f28=function(_0x2f286c,_0x4a6259){_0x2f286c=_0x2f286c-0x193;let _0x3fca79=_0x40d2f8[_0x2f286c];return _0x3fca79;},a5_0x2f28(_0x4e1ca1,_0xa17328);}const fs=require('fs'),path=require(a5_0x4f18d1(0x1bd)),util=require('util'),logger=require(a5_0x4f18d1(0x1f2))[a5_0x4f18d1(0x1a8)],{default:BrowserStackSetup}=require(a5_0x4f18d1(0x1ef)),helper=require(a5_0x4f18d1(0x1b4)),utilities=require('../../helpers/utilities'),constants=require('../utils/constants'),{parallelCucumberRun}=require(a5_0x4f18d1(0x1aa)),TestHubHandler=require(a5_0x4f18d1(0x198)),testOpsHelper=require(a5_0x4f18d1(0x1cc)),chalk=require(a5_0x4f18d1(0x1d9));function printCucumberStats(_0x3422db){const _0x5499b1=a5_0x4f18d1,_0x58f6a5={};_0x58f6a5[_0x5499b1(0x1d3)]=function(_0x4a5e00,_0x48c9fe){return _0x4a5e00>_0x48c9fe;},_0x58f6a5[_0x5499b1(0x1c1)]=function(_0x39516c,_0xe7b945){return _0x39516c-_0xe7b945;},_0x58f6a5[_0x5499b1(0x19f)]=function(_0x8b5419,_0x59bf39){return _0x8b5419>_0x59bf39;},_0x58f6a5[_0x5499b1(0x1d4)]=function(_0x27a0bc,_0x38cf69){return _0x27a0bc>_0x38cf69;},_0x58f6a5[_0x5499b1(0x1fa)]=function(_0x1d3576,_0x5068a9){return _0x1d3576>_0x5068a9;},_0x58f6a5['qhczD']=function(_0x4206ea,_0x3cdb0b){return _0x4206ea>_0x3cdb0b;},_0x58f6a5[_0x5499b1(0x1c3)]=function(_0x5467d9,_0x1312f2){return _0x5467d9>_0x1312f2;},_0x58f6a5['zTNFH']=function(_0x1c8a02,_0xdcf9dd){return _0x1c8a02>_0xdcf9dd;},_0x58f6a5[_0x5499b1(0x1c4)]=function(_0x61bcd5,_0x2ad15c){return _0x61bcd5>_0x2ad15c;},_0x58f6a5[_0x5499b1(0x1ee)]=function(_0x280418,_0xd9ab67){return _0x280418+_0xd9ab67;},_0x58f6a5[_0x5499b1(0x204)]=function(_0x2aade0,_0x3944f2){return _0x2aade0+_0x3944f2;},_0x58f6a5[_0x5499b1(0x19d)]=function(_0xc8c605,_0xf4b1ee){return _0xc8c605+_0xf4b1ee;},_0x58f6a5[_0x5499b1(0x1ab)]=function(_0x218fc7,_0x48f2ab){return _0x218fc7+_0x48f2ab;},_0x58f6a5[_0x5499b1(0x1f1)]=function(_0x197745,_0x4fc3d3){return _0x197745===_0x4fc3d3;},_0x58f6a5[_0x5499b1(0x1c8)]=_0x5499b1(0x1a1);const _0x57d9fb=_0x58f6a5;let _0x2a9d03=0x0;if(_0x57d9fb[_0x5499b1(0x1f1)](_0x3422db['length'],0x0))return _0x2a9d03;return console[_0x5499b1(0x1b3)](chalk[_0x5499b1(0x1a0)]['bgWhite'](_0x57d9fb[_0x5499b1(0x1c8)])),_0x3422db[_0x5499b1(0x1fe)](_0x959e6a=>{const _0x2104d8=_0x5499b1,_0x92a95d=_0x959e6a[0x0],_0x5f5dbd=_0x959e6a[0x1];console[_0x2104d8(0x1b3)]('\x0a'+chalk['bold'][_0x2104d8(0x1dd)](''+helper[_0x2104d8(0x1bc)](_0x92a95d)));const _0x12fa72=_0x5f5dbd[_0x2104d8(0x1ec)],_0x188491=_0x5f5dbd[_0x2104d8(0x1c2)],_0x320358=_0x5f5dbd[_0x2104d8(0x1ed)],_0x10ad07=_0x5f5dbd[_0x2104d8(0x1d6)],_0x15f1c6=_0x5f5dbd[_0x2104d8(0x1a5)],_0x2f99f3=_0x5f5dbd[_0x2104d8(0x1bb)],_0x2ee235=_0x5f5dbd[_0x2104d8(0x1c6)],_0x50c75=_0x5f5dbd['stepsUndefined'],_0x2e0dd1=_0x5f5dbd['stepsUnknown'],_0x227850=_0x5f5dbd[_0x2104d8(0x1d1)],_0x4c64a0=_0x5f5dbd[_0x2104d8(0x200)];let _0x479e98=_0x12fa72+_0x2104d8(0x1db);const _0x358967=_0x57d9fb['pZRKn'](_0x57d9fb[_0x2104d8(0x1c1)](_0x12fa72,_0x320358),0x0)?_0x57d9fb['lcymv'](_0x12fa72,_0x320358):0x0;if(_0x57d9fb['pZRKn'](_0x320358,0x0)&&_0x57d9fb['CAUUb'](_0x358967,0x0))_0x479e98+='\x20('+chalk['bold'][_0x2104d8(0x1b9)](_0x320358+_0x2104d8(0x1be))+',\x20'+chalk[_0x2104d8(0x1a0)]['green'](_0x358967+_0x2104d8(0x1c5))+')';else(_0x57d9fb['CAUUb'](_0x320358,0x0)||_0x57d9fb[_0x2104d8(0x1d4)](_0x358967,0x0))&&(_0x479e98+=_0x57d9fb[_0x2104d8(0x1d3)](_0x320358,0x0)?'\x20('+chalk[_0x2104d8(0x1a0)][_0x2104d8(0x1b9)](_0x320358+'\x20failed')+')':'\x20('+chalk[_0x2104d8(0x1a0)]['green'](_0x358967+_0x2104d8(0x1c5))+')');const _0x1158b6=_0x188491+_0x2104d8(0x195),_0x25e570=[];_0x57d9fb[_0x2104d8(0x1d3)](_0x227850,0x0)&&_0x25e570['push'](''+chalk[_0x2104d8(0x1a0)]['red'](_0x227850+'\x20ambiguous'));_0x57d9fb[_0x2104d8(0x1d4)](_0x10ad07,0x0)&&_0x25e570['push'](''+chalk[_0x2104d8(0x1a0)][_0x2104d8(0x1b9)](_0x10ad07+_0x2104d8(0x1be)));_0x57d9fb[_0x2104d8(0x1fa)](_0x15f1c6,0x0)&&_0x25e570[_0x2104d8(0x1fd)](''+chalk[_0x2104d8(0x1a0)][_0x2104d8(0x1fb)](_0x15f1c6+_0x2104d8(0x1c5)));_0x57d9fb['qhczD'](_0x2ee235,0x0)&&_0x25e570[_0x2104d8(0x1fd)](''+chalk['bold'][_0x2104d8(0x1dd)](_0x2ee235+'\x20pending'));_0x57d9fb[_0x2104d8(0x1c3)](_0x2f99f3,0x0)&&_0x25e570['push'](''+chalk['bold'][_0x2104d8(0x199)](_0x2f99f3+_0x2104d8(0x1ce)));_0x57d9fb[_0x2104d8(0x1e8)](_0x50c75,0x0)&&_0x25e570[_0x2104d8(0x1fd)](''+chalk[_0x2104d8(0x1a0)][_0x2104d8(0x1dd)](_0x50c75+_0x2104d8(0x1dc)));_0x57d9fb[_0x2104d8(0x1c4)](_0x2e0dd1,0x0)&&_0x25e570[_0x2104d8(0x1fd)](''+chalk[_0x2104d8(0x1a0)][_0x2104d8(0x1dd)](_0x2e0dd1+_0x2104d8(0x1ce)));const _0x1545e6=_0x57d9fb[_0x2104d8(0x1ee)](_0x57d9fb[_0x2104d8(0x204)](_0x57d9fb[_0x2104d8(0x204)](_0x1158b6,'('),_0x25e570[_0x2104d8(0x1ae)](',\x20')),')');console[_0x2104d8(0x1b3)](_0x57d9fb[_0x2104d8(0x1ee)](_0x57d9fb[_0x2104d8(0x19d)](_0x57d9fb[_0x2104d8(0x1ee)](_0x57d9fb[_0x2104d8(0x1ab)]('\x0a',_0x479e98),'\x0a'),_0x1545e6),'\x0a')),_0x57d9fb[_0x2104d8(0x1f1)](_0x4c64a0,![])&&(_0x2a9d03=0x1);}),_0x2a9d03;}async function run(_0x372fad,_0x4eefe6){const _0x1c8f7c=a5_0x4f18d1,_0x55c4a4={'LNMLs':function(_0x11a68b,_0x5b8c30){return _0x11a68b(_0x5b8c30);},'cdqOE':function(_0x34f3ea,_0x189b19){return _0x34f3ea>_0x189b19;},'tyCAQ':_0x1c8f7c(0x1de),'fKZiE':_0x1c8f7c(0x1d7),'Tjzxf':'cucumber','lObmu':_0x1c8f7c(0x1ad),'cfPUE':_0x1c8f7c(0x1cd),'FCnAC':_0x1c8f7c(0x1c9),'pURFg':function(_0x62762,_0x217f4c){return _0x62762-_0x217f4c;},'iQdss':function(_0x5ec86d,_0x39284c){return _0x5ec86d>=_0x39284c;},'MxSsf':function(_0x13fd27,_0x195824){return _0x13fd27!=_0x195824;},'IoWLS':_0x1c8f7c(0x1d0),'aGCqx':function(_0xbe9f76,_0x3e2ce8,_0x570060,_0x57a5ff,_0x2f3d09,_0x10300b){return _0xbe9f76(_0x3e2ce8,_0x570060,_0x57a5ff,_0x2f3d09,_0x10300b);}},_0x542d4a=new BrowserStackSetup(_0x372fad,_0x55c4a4[_0x1c8f7c(0x19b)]);await _0x542d4a[_0x1c8f7c(0x1e6)]();!helper['isBrowserstackInfra']()&&await _0x542d4a[_0x1c8f7c(0x1df)]();await helper[_0x1c8f7c(0x1af)](_0x542d4a[_0x1c8f7c(0x1e5)]);const _0x132281=helper[_0x1c8f7c(0x19c)](_0x542d4a[_0x1c8f7c(0x1e5)]),_0x5edade=helper[_0x1c8f7c(0x196)](_0x542d4a[_0x1c8f7c(0x1e5)],_0x132281,constants[_0x1c8f7c(0x1cf)][_0x1c8f7c(0x1cb)]);if(!_0x542d4a['config'])return;const _0x4d84b2=_0x542d4a[_0x1c8f7c(0x1e5)]['parallelsPerPlatform']||helper[_0x1c8f7c(0x1b5)](_0x372fad,_0x4eefe6,_0x542d4a[_0x1c8f7c(0x1e5)],constants[_0x1c8f7c(0x1cf)]['CUCUMBER'])||0x1,_0x2ccf60={'server':helper[_0x1c8f7c(0x1a2)](_0x542d4a[_0x1c8f7c(0x1e5)]),'proxySettings':_0x542d4a[_0x1c8f7c(0x1e5)][_0x1c8f7c(0x1a9)],'maxWorkers':_0x4d84b2,'browserStackLogLevel':_0x542d4a[_0x1c8f7c(0x1e5)][_0x1c8f7c(0x1f4)],'skipSessionName':_0x542d4a[_0x1c8f7c(0x1e5)]['testContextOptions'][_0x1c8f7c(0x203)],'skipSessionStatus':_0x542d4a['config'][_0x1c8f7c(0x1a7)][_0x1c8f7c(0x1da)],'turboScaleUrl':_0x542d4a[_0x1c8f7c(0x1e5)][_0x1c8f7c(0x1b7)]},_0x44c2b4=process[_0x1c8f7c(0x1b6)],[_0x2d75d3,_0x2389ae]=helper[_0x1c8f7c(0x193)](_0x44c2b4),_0x479ed2=path[_0x1c8f7c(0x1ae)](process[_0x1c8f7c(0x1e9)](),_0x55c4a4[_0x1c8f7c(0x1ea)]);if(_0x55c4a4['cdqOE'](_0x2389ae[_0x1c8f7c(0x1e0)],0x0)){helper[_0x1c8f7c(0x1d5)](_0x479ed2);for(let _0x5f124e=_0x55c4a4[_0x1c8f7c(0x1fc)](_0x2d75d3[_0x1c8f7c(0x1e0)],0x1);_0x55c4a4[_0x1c8f7c(0x1f9)](_0x5f124e,0x0);_0x5f124e--){_0x44c2b4[_0x1c8f7c(0x1f5)](_0x2d75d3[_0x5f124e],0x2);}}!helper[_0x1c8f7c(0x19e)](_0x542d4a[_0x1c8f7c(0x1e5)]['accessibilityOptions'])&&(process[_0x1c8f7c(0x1f3)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x1c8f7c(0x1ac)](_0x542d4a[_0x1c8f7c(0x1e5)]['accessibilityOptions']));_0x55c4a4['MxSsf'](_0x542d4a[_0x1c8f7c(0x1e5)][_0x1c8f7c(0x1a6)],null)?process[_0x1c8f7c(0x1f3)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x542d4a[_0x1c8f7c(0x1e5)][_0x1c8f7c(0x1a6)]:process[_0x1c8f7c(0x1f3)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x55c4a4[_0x1c8f7c(0x1f6)];const _0x7b3b91=await TestHubHandler[_0x1c8f7c(0x1ba)](constants[_0x1c8f7c(0x1cf)]['CUCUMBER'],_0x542d4a);helper[_0x1c8f7c(0x1eb)]();let _0x378c48;_0x55c4a4[_0x1c8f7c(0x1bf)](parallelCucumberRun,_0x5edade,_0x2ccf60,_0x542d4a[_0x1c8f7c(0x1e5)],_0x44c2b4,_0x2389ae)[_0x1c8f7c(0x1b0)](async _0x3a3e1a=>{const _0x24c93b=_0x1c8f7c;_0x378c48=_0x3a3e1a;const _0x2cb624=_0x55c4a4[_0x24c93b(0x1c0)](printCucumberStats,_0x3a3e1a);process[_0x24c93b(0x1e4)]=_0x2cb624,_0x55c4a4[_0x24c93b(0x1e2)](_0x2389ae[_0x24c93b(0x1e0)],0x0)&&(logger['debug'](_0x55c4a4['tyCAQ']),helper[_0x24c93b(0x1b8)](_0x479ed2,_0x2389ae),logger[_0x24c93b(0x19a)](_0x55c4a4[_0x24c93b(0x1f8)]),helper['removeDir'](_0x479ed2));})[_0x1c8f7c(0x1c7)](async()=>{const _0x13919f=_0x1c8f7c;_0x542d4a['errorMessage']=helper[_0x13919f(0x202)](_0x378c48,_0x55c4a4[_0x13919f(0x1f0)]),testOpsHelper['printBuildLink']();try{await TestHubHandler['stop']();}catch(_0x4c4df6){logger['debug']('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x13919f(0x194)](_0x4c4df6));}try{const {browserstackFolderPath:_0x4bc8c7,tcgConfigPath:_0x3bed06}=helper[_0x13919f(0x1f7)]();fs[_0x13919f(0x1b1)](_0x3bed06),fs['rmdirSync'](_0x4bc8c7);}catch(_0x53a746){logger['debug'](_0x55c4a4[_0x13919f(0x1e7)],_0x53a746);}await utilities[_0x13919f(0x1e1)](_0x542d4a);});}function a5_0x40d2(){const _0x51cbfd=['../../helpers/logger','env','logLevel','splice','IoWLS','getTCGConfigFilePaths','fKZiE','iQdss','xuHhe','green','pURFg','push','forEach','497888kVitqV','processSuccess','1578664DxSKvO','getErrorMessageFromResults','skipSessionName','FKKqY','parseFormatters','format','\x20steps','prepareCapabilities','18GWALPP','../../helpers/testhub/testhubHandler','cyan','debug','cfPUE','useW3C','qDglI','isUndefined','CAUUb','bold','****\x20RESULTS\x20****','getHubUrl','exports','5785344rGdYrz','stepsPassed','testObservability','testContextOptions','winstonLogger','proxySettings','../test-runner','cQeXZ','stringify','error\x20removing\x20tcg\x20config\x20file','join','handleApp','then','unlinkSync','7012264EtQWzg','log','../../helpers/helper','getUserWorkerCount','argv','turboScaleUrl','mergeOutputFiles','red','launchBuild','stepsSkipped','getPlatformName','path','\x20failed','aGCqx','LNMLs','lcymv','steps','jgVLA','moUTm','\x20passed','stepsPending','finally','JnMJH','tmp','6127505bHOiYc','CUCUMBER','../../helpers/test-observability/utils','cucumber-js','\x20skipped','FRAMEWORKS','false','stepsAmbiguous','10839RAMDmV','pZRKn','nwCSv','createDir','stepsFailed','Removing\x20tmp\x20directory\x20created\x20for\x20reports','2340212qVSzOv','chalk','skipSessionStatus','\x20scenarios','\x20undefined','yellow','Generating\x20consolidated\x20report...','setupTCGAuth','length','finalExecution','cdqOE','10RBpNbm','exitCode','config','initialize','lObmu','zTNFH','cwd','FCnAC','markSDKSetupComplete','scenarios','scenariosFailed','TDlnl','../../helpers/BrowserStackSetup','Tjzxf','JPxjs'];a5_0x40d2=function(){return _0x51cbfd;};return a5_0x40d2();}module[a5_0x4f18d1(0x1a3)]=run;
|
|
2
|
+
'use strict';function a5_0xdee0(_0x479ebe,_0x5a1f15){const _0x3b1ca5=a5_0x3b1c();return a5_0xdee0=function(_0xdee010,_0x3c4287){_0xdee010=_0xdee010-0xdf;let _0x37bc49=_0x3b1ca5[_0xdee010];return _0x37bc49;},a5_0xdee0(_0x479ebe,_0x5a1f15);}const a5_0x5d38fa=a5_0xdee0;(function(_0x24d0e1,_0x36d782){const _0x5edc90=a5_0xdee0,_0x15be53=_0x24d0e1();while(!![]){try{const _0x369ff8=parseInt(_0x5edc90(0x141))/0x1*(parseInt(_0x5edc90(0x106))/0x2)+parseInt(_0x5edc90(0x112))/0x3*(parseInt(_0x5edc90(0xf3))/0x4)+parseInt(_0x5edc90(0xf4))/0x5*(parseInt(_0x5edc90(0x104))/0x6)+parseInt(_0x5edc90(0x11a))/0x7*(parseInt(_0x5edc90(0x14b))/0x8)+-parseInt(_0x5edc90(0x10c))/0x9*(parseInt(_0x5edc90(0x11f))/0xa)+parseInt(_0x5edc90(0x102))/0xb+-parseInt(_0x5edc90(0x135))/0xc;if(_0x369ff8===_0x36d782)break;else _0x15be53['push'](_0x15be53['shift']());}catch(_0x258c7d){_0x15be53['push'](_0x15be53['shift']());}}}(a5_0x3b1c,0xb4bc6));const fs=require('fs'),path=require(a5_0x5d38fa(0x11b)),util=require(a5_0x5d38fa(0xec)),logger=require(a5_0x5d38fa(0xf1))['winstonLogger'],{default:BrowserStackSetup}=require(a5_0x5d38fa(0xf0)),helper=require('../../helpers/helper'),utilities=require(a5_0x5d38fa(0x11e)),constants=require('../utils/constants'),{parallelCucumberRun}=require(a5_0x5d38fa(0xe6)),TestHubHandler=require(a5_0x5d38fa(0x131)),testOpsHelper=require('../../helpers/test-observability/utils'),chalk=require('chalk');function printCucumberStats(_0x38ef93){const _0x5c235a=a5_0x5d38fa,_0x54fa8a={};_0x54fa8a['IFWJb']=function(_0x3c4a74,_0x3d5ec9){return _0x3c4a74>_0x3d5ec9;},_0x54fa8a['LxIBs']=function(_0x5cdb4e,_0x2a4ae2){return _0x5cdb4e-_0x2a4ae2;},_0x54fa8a['DMwHW']=function(_0x1973c2,_0x14e839){return _0x1973c2-_0x14e839;},_0x54fa8a['JQlZe']=function(_0x18c2eb,_0x403c1c){return _0x18c2eb>_0x403c1c;},_0x54fa8a[_0x5c235a(0x113)]=function(_0xc7ce2d,_0x45e482){return _0xc7ce2d>_0x45e482;},_0x54fa8a[_0x5c235a(0xe9)]=function(_0x57b699,_0x132276){return _0x57b699>_0x132276;},_0x54fa8a[_0x5c235a(0x128)]=function(_0x19e2f1,_0x4b62d3){return _0x19e2f1>_0x4b62d3;},_0x54fa8a['IzAdK']=function(_0x2042d5,_0x117a0d){return _0x2042d5>_0x117a0d;},_0x54fa8a['nBBSr']=function(_0x437fbf,_0x5ae532){return _0x437fbf>_0x5ae532;},_0x54fa8a[_0x5c235a(0x126)]=function(_0x46840e,_0x234694){return _0x46840e>_0x234694;},_0x54fa8a[_0x5c235a(0x12a)]=function(_0x38646e,_0x2081d9){return _0x38646e>_0x2081d9;},_0x54fa8a[_0x5c235a(0x150)]=function(_0x3b2268,_0x10b8c7){return _0x3b2268+_0x10b8c7;},_0x54fa8a[_0x5c235a(0x12e)]=function(_0x12ce08,_0x449608){return _0x12ce08+_0x449608;},_0x54fa8a[_0x5c235a(0x12f)]=function(_0x530bb7,_0x45b5f9){return _0x530bb7+_0x45b5f9;},_0x54fa8a[_0x5c235a(0x151)]=function(_0x15417f,_0x35c203){return _0x15417f===_0x35c203;},_0x54fa8a['ftnoJ']=function(_0x690434,_0x4964db){return _0x690434===_0x4964db;},_0x54fa8a['vzWjJ']=_0x5c235a(0x107);const _0x52688c=_0x54fa8a;let _0x1e8287=0x0;if(_0x52688c[_0x5c235a(0xef)](_0x38ef93[_0x5c235a(0x14d)],0x0))return _0x1e8287;return console[_0x5c235a(0x147)](chalk['bold'][_0x5c235a(0xf5)](_0x52688c[_0x5c235a(0x118)])),_0x38ef93[_0x5c235a(0x11d)](_0x52e613=>{const _0x2dcbfc=_0x5c235a,_0x6e703c=_0x52e613[0x0],_0x599aaf=_0x52e613[0x1];console[_0x2dcbfc(0x147)]('\x0a'+chalk[_0x2dcbfc(0x124)][_0x2dcbfc(0x111)](''+helper[_0x2dcbfc(0x152)](_0x6e703c)));const _0x51a8b8=_0x599aaf[_0x2dcbfc(0x125)],_0x394b6a=_0x599aaf[_0x2dcbfc(0x13e)],_0x124b19=_0x599aaf[_0x2dcbfc(0x14f)],_0x23297f=_0x599aaf[_0x2dcbfc(0x117)],_0x468fb8=_0x599aaf[_0x2dcbfc(0xed)],_0x188a6b=_0x599aaf[_0x2dcbfc(0xe3)],_0x4e10f1=_0x599aaf['stepsPending'],_0x69bf60=_0x599aaf[_0x2dcbfc(0x149)],_0x2b1577=_0x599aaf[_0x2dcbfc(0x136)],_0x44aaea=_0x599aaf[_0x2dcbfc(0x10e)],_0x3e8f2c=_0x599aaf['processSuccess'];let _0x3caf1e=_0x51a8b8+_0x2dcbfc(0x101);const _0x2f015=_0x52688c[_0x2dcbfc(0xdf)](_0x52688c[_0x2dcbfc(0x114)](_0x51a8b8,_0x124b19),0x0)?_0x52688c['DMwHW'](_0x51a8b8,_0x124b19):0x0;if(_0x52688c[_0x2dcbfc(0xf8)](_0x124b19,0x0)&&_0x52688c[_0x2dcbfc(0x113)](_0x2f015,0x0))_0x3caf1e+='\x20('+chalk[_0x2dcbfc(0x124)][_0x2dcbfc(0x129)](_0x124b19+'\x20failed')+',\x20'+chalk[_0x2dcbfc(0x124)][_0x2dcbfc(0xf2)](_0x2f015+_0x2dcbfc(0x105))+')';else(_0x52688c['JQlZe'](_0x124b19,0x0)||_0x52688c['JQlZe'](_0x2f015,0x0))&&(_0x3caf1e+=_0x52688c['hxTOQ'](_0x124b19,0x0)?'\x20('+chalk[_0x2dcbfc(0x124)][_0x2dcbfc(0x129)](_0x124b19+_0x2dcbfc(0x119))+')':'\x20('+chalk[_0x2dcbfc(0x124)]['green'](_0x2f015+_0x2dcbfc(0x105))+')');const _0x552d0f=_0x394b6a+_0x2dcbfc(0xfc),_0x2cffd4=[];_0x52688c[_0x2dcbfc(0xe9)](_0x44aaea,0x0)&&_0x2cffd4[_0x2dcbfc(0x109)](''+chalk[_0x2dcbfc(0x124)][_0x2dcbfc(0x129)](_0x44aaea+_0x2dcbfc(0x134)));_0x52688c[_0x2dcbfc(0xdf)](_0x23297f,0x0)&&_0x2cffd4['push'](''+chalk[_0x2dcbfc(0x124)][_0x2dcbfc(0x129)](_0x23297f+_0x2dcbfc(0x119)));_0x52688c[_0x2dcbfc(0x128)](_0x468fb8,0x0)&&_0x2cffd4[_0x2dcbfc(0x109)](''+chalk['bold']['green'](_0x468fb8+_0x2dcbfc(0x105)));_0x52688c[_0x2dcbfc(0xf6)](_0x4e10f1,0x0)&&_0x2cffd4[_0x2dcbfc(0x109)](''+chalk[_0x2dcbfc(0x124)][_0x2dcbfc(0x111)](_0x4e10f1+_0x2dcbfc(0xe0)));_0x52688c[_0x2dcbfc(0xfe)](_0x188a6b,0x0)&&_0x2cffd4[_0x2dcbfc(0x109)](''+chalk['bold']['cyan'](_0x188a6b+_0x2dcbfc(0x110)));_0x52688c[_0x2dcbfc(0x126)](_0x69bf60,0x0)&&_0x2cffd4[_0x2dcbfc(0x109)](''+chalk[_0x2dcbfc(0x124)]['yellow'](_0x69bf60+_0x2dcbfc(0x14e)));_0x52688c[_0x2dcbfc(0x12a)](_0x2b1577,0x0)&&_0x2cffd4[_0x2dcbfc(0x109)](''+chalk[_0x2dcbfc(0x124)]['yellow'](_0x2b1577+_0x2dcbfc(0x110)));const _0x115ee8=_0x52688c[_0x2dcbfc(0x150)](_0x52688c[_0x2dcbfc(0x12e)](_0x52688c['yxDSm'](_0x552d0f,'('),_0x2cffd4['join'](',\x20')),')');console['log'](_0x52688c[_0x2dcbfc(0x12e)](_0x52688c[_0x2dcbfc(0x12f)](_0x52688c[_0x2dcbfc(0x150)](_0x52688c[_0x2dcbfc(0x150)]('\x0a',_0x3caf1e),'\x0a'),_0x115ee8),'\x0a')),_0x52688c[_0x2dcbfc(0x151)](_0x3e8f2c,![])&&(_0x1e8287=0x1);}),_0x1e8287;}async function run(_0x45b802,_0x666b89){const _0x2dd48a=a5_0x5d38fa,_0x190773={'ciaqq':function(_0x2666ea,_0x2717fe){return _0x2666ea(_0x2717fe);},'nPqKZ':function(_0x59778c,_0x158400){return _0x59778c>_0x158400;},'kBpYR':_0x2dd48a(0x115),'iTWLn':'Removing\x20tmp\x20directory\x20created\x20for\x20reports','dRISi':_0x2dd48a(0xe8),'hFikx':_0x2dd48a(0x139),'gEpcQ':_0x2dd48a(0x132),'TKbOu':'tmp','AvnqE':function(_0x49f666,_0x4c2f90){return _0x49f666-_0x4c2f90;},'Pwlvx':function(_0x4e9add,_0x37d467){return _0x4e9add>=_0x37d467;},'jILZF':function(_0x483a5f,_0x252eb4){return _0x483a5f!=_0x252eb4;},'Eqwaj':_0x2dd48a(0x13f),'OTyAs':function(_0x179361,_0x65a035,_0x175a36,_0x2dd0dd,_0x3a709d,_0x52f5fc){return _0x179361(_0x65a035,_0x175a36,_0x2dd0dd,_0x3a709d,_0x52f5fc);}},_0x6d517b=new BrowserStackSetup(_0x45b802,_0x190773[_0x2dd48a(0x100)]);await _0x6d517b[_0x2dd48a(0x116)]();!helper['isBrowserstackInfra']()&&await _0x6d517b['setupTCGAuth']();await helper[_0x2dd48a(0x14c)](_0x6d517b[_0x2dd48a(0x14a)]);const _0x55b1b4=helper[_0x2dd48a(0x140)](_0x6d517b[_0x2dd48a(0x14a)]),_0x343bf7=helper[_0x2dd48a(0x12c)](_0x6d517b[_0x2dd48a(0x14a)],_0x55b1b4,constants['FRAMEWORKS'][_0x2dd48a(0xf9)]);if(!_0x6d517b[_0x2dd48a(0x14a)])return;const _0x2a11b5=_0x6d517b[_0x2dd48a(0x14a)][_0x2dd48a(0xee)]||helper[_0x2dd48a(0x123)](_0x45b802,_0x666b89,_0x6d517b[_0x2dd48a(0x14a)],constants[_0x2dd48a(0x12b)][_0x2dd48a(0xf9)])||0x1,_0x5590f9={'server':helper['getHubUrl'](_0x6d517b[_0x2dd48a(0x14a)]),'proxySettings':_0x6d517b[_0x2dd48a(0x14a)]['proxySettings'],'maxWorkers':_0x2a11b5,'browserStackLogLevel':_0x6d517b[_0x2dd48a(0x14a)]['logLevel'],'skipSessionName':_0x6d517b['config'][_0x2dd48a(0x10d)][_0x2dd48a(0x13b)],'skipSessionStatus':_0x6d517b[_0x2dd48a(0x14a)][_0x2dd48a(0x10d)][_0x2dd48a(0x13d)],'turboScaleUrl':_0x6d517b['config'][_0x2dd48a(0x12d)]},_0x4da44a=process['argv'],[_0x50336e,_0x3a6e04]=helper[_0x2dd48a(0xe4)](_0x4da44a),_0x38f892=path[_0x2dd48a(0xe7)](process[_0x2dd48a(0xfb)](),_0x190773['TKbOu']);if(_0x190773[_0x2dd48a(0xff)](_0x3a6e04['length'],0x0)){helper[_0x2dd48a(0x130)](_0x38f892);for(let _0x4af449=_0x190773[_0x2dd48a(0xea)](_0x50336e[_0x2dd48a(0x14d)],0x1);_0x190773[_0x2dd48a(0x10b)](_0x4af449,0x0);_0x4af449--){_0x4da44a[_0x2dd48a(0x13c)](_0x50336e[_0x4af449],0x2);}}!helper[_0x2dd48a(0xe1)](_0x6d517b[_0x2dd48a(0x14a)][_0x2dd48a(0x153)])&&(process['env'][_0x2dd48a(0x121)]=JSON[_0x2dd48a(0x138)](_0x6d517b[_0x2dd48a(0x14a)][_0x2dd48a(0x153)]));_0x190773[_0x2dd48a(0x146)](_0x6d517b[_0x2dd48a(0x14a)][_0x2dd48a(0x122)],null)?process[_0x2dd48a(0x127)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x6d517b[_0x2dd48a(0x14a)][_0x2dd48a(0x122)]:process[_0x2dd48a(0x127)][_0x2dd48a(0x10a)]=_0x190773[_0x2dd48a(0xe2)];const _0x2fb05c=await TestHubHandler[_0x2dd48a(0xfd)](constants[_0x2dd48a(0x12b)][_0x2dd48a(0xf9)],_0x6d517b);helper[_0x2dd48a(0xeb)]();let _0x423f33;_0x190773[_0x2dd48a(0x145)](parallelCucumberRun,_0x343bf7,_0x5590f9,_0x6d517b[_0x2dd48a(0x14a)],_0x4da44a,_0x3a6e04)['then'](async _0xb600ee=>{const _0x9c69c4=_0x2dd48a;_0x423f33=_0xb600ee;const _0x1c2b9f=_0x190773['ciaqq'](printCucumberStats,_0xb600ee);process['exitCode']=_0x1c2b9f,_0x190773['nPqKZ'](_0x3a6e04[_0x9c69c4(0x14d)],0x0)&&(logger[_0x9c69c4(0xe5)](_0x190773[_0x9c69c4(0x148)]),helper[_0x9c69c4(0x13a)](_0x38f892,_0x3a6e04),logger[_0x9c69c4(0xe5)](_0x190773[_0x9c69c4(0x144)]),helper['removeDir'](_0x38f892));})['finally'](async()=>{const _0x420801=_0x2dd48a;_0x6d517b[_0x420801(0x133)]=helper['getErrorMessageFromResults'](_0x423f33,_0x190773[_0x420801(0x108)]),testOpsHelper[_0x420801(0x143)]();try{await TestHubHandler[_0x420801(0x142)]();}catch(_0x50932e){logger['debug']('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x420801(0x103)](_0x50932e));}try{const {browserstackFolderPath:_0x1b3b9b,tcgConfigPath:_0x362d93}=helper[_0x420801(0x10f)]();fs[_0x420801(0xfa)](_0x362d93),fs[_0x420801(0x137)](_0x1b3b9b);}catch(_0x24f5bd){logger[_0x420801(0xe5)](_0x190773[_0x420801(0x120)],_0x24f5bd);}await utilities[_0x420801(0xf7)](_0x6d517b);});}function a5_0x3b1c(){const _0x358d60=['createDir','../../helpers/testhub/testhubHandler','cucumber-js','errorMessage','\x20ambiguous','43746984SKfMkX','stepsUnknown','rmdirSync','stringify','error\x20removing\x20tcg\x20config\x20file','mergeOutputFiles','skipSessionName','splice','skipSessionStatus','steps','false','useW3C','40rzWkqa','stop','printBuildLink','iTWLn','OTyAs','jILZF','log','kBpYR','stepsUndefined','config','24wNxtnw','handleApp','length','\x20undefined','scenariosFailed','dTuRF','NwrTg','getPlatformName','accessibilityOptions','IFWJb','\x20pending','isUndefined','Eqwaj','stepsSkipped','parseFormatters','debug','../test-runner','join','cucumber','SEXBi','AvnqE','markSDKSetupComplete','util','stepsPassed','parallelsPerPlatform','ftnoJ','../../helpers/BrowserStackSetup','../../helpers/logger','green','1902596yAUgqs','3233930VdODEe','bgWhite','IzAdK','finalExecution','JQlZe','CUCUMBER','unlinkSync','cwd','\x20steps','launchBuild','nBBSr','nPqKZ','gEpcQ','\x20scenarios','7330895BuwySi','format','6jTnGcD','\x20passed','72824AXULMx','****\x20RESULTS\x20****','dRISi','push','BROWSERSTACK_TEST_OBSERVABILITY_YML','Pwlvx','277308psjoCW','testContextOptions','stepsAmbiguous','getTCGConfigFilePaths','\x20skipped','yellow','9BwXNim','hxTOQ','LxIBs','Generating\x20consolidated\x20report...','initialize','stepsFailed','vzWjJ','\x20failed','1879402tBVQwz','path','exports','forEach','../../helpers/utilities','200wuEIjX','hFikx','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','testObservability','getUserWorkerCount','bold','scenarios','wpWgs','env','OgHIg','red','cKXbQ','FRAMEWORKS','prepareCapabilities','turboScaleUrl','yxDSm','rmlGb'];a5_0x3b1c=function(){return _0x358d60;};return a5_0x3b1c();}module[a5_0x5d38fa(0x11c)]=run;
|