browserstack-node-sdk 1.34.12 → 1.34.14
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
|
+
const a1_0x3d81dd=a1_0x49bc;function a1_0x504d(){const _0x1c3f25=['helpers','forEach','Zlsth','catch','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','testAnalyticsId','../../helpers/accessibility-automation/helper','thJwtToken','performScan','jfOuW','HOOK_RUN_FINISHED','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','GJMlf','all','mGomG','bind','hWofy','qFsCu','filter','info','ccoXa','4697512uSJFuG','name','browserStackExecuteDriver','reason','bstackAllyScanning','BROWSERSTACK_TESTHUB_UUID','after','browserContext','browser','setSessionStatus','10040RaasIy','cstLi','TEST_LOG','getSyncScript','warn','pid','INFO','TEST_RUN_FINISHED','currentTest','../../bin/playwright/accessibility-helper','thBuildUuid','WOkvd','ctx','VnpNB','../../helpers/accessibility-automation/scripts','hxrdF','container','then','Performing\x20scan\x20for\x20','prototype','skkss','failed','VhNCu','dispatcher','xrzHq','9LBYdaz','codeceptjs/lib/helper/WebDriver.js','shouldWrapCommand','skipped','contexts','add','11OfsSNy','captureEvent','Iwdac','before','browserstack_executor:\x20','KeDKp','fireEvent','dGAyq','ENV_VAR','../../bin/playwright/sessionDetails','patchSaveScreenshot','./helper.js','hetLT','3981osTzmf','format','slice','../../helpers/test-observability/utils','564BkAazX','bs:addLog:','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','TEST_RUN_STARTED','start','env','76951AyarEW','WsVlE','../../helpers/request-spy','title','debug','4880110jbKWVg','emit','titlePath','getAccessibilityResults','../../helpers/logger','event','koGnN','apply','winstonLogger','stringify','constructor','SJAfo','NHdPj','fSqEc','__driver','find','QxOye','class','KKqMB','bddStepFinish','BS_TESTOPS_ALLOW_SCREENSHOTS','../../helpers/helper','8174676CeAQXZ','olPis','action','patch','saveScreenshot','Playwright','__workerDetails','test','hVAUv','KdZIh','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','commandsToWrap','captureError','getResults','UkKsS','YlDba','hook','EHuMU','bddStep','../../helpers/performance-tester','TestCafe','arguments','Element','DKEHT','saveTestResults','stop','passed','codeceptjs/lib/index.js','exports','executeScript','getAccessibilityResultsSummary','oDHpy','startMonitoring','lCJAn','../../helpers/testhub/constants.js','screenshotOutputFolder','YGnPq','readFileSync','comment','initSaveScreenshot','OrVqs','call','HOOK_RUN_STARTED','13251SpIRiJ','accessibilityPlatform','uXkpd','started','setSessionName','_before','toISOString','hGUhz','codeceptjs/lib/utils.js','1932pwrrPv','thTestRunUuid','skipSessionName','skipSessionStatus','WebDriver','toString','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','getResultsSummary','addRequestSpy','TEST_RUN_SKIPPED','rXNzk','enabled','6sOuWII','./o11yHelper'];a1_0x504d=function(){return _0x1c3f25;};return a1_0x504d();}(function(_0xdf73,_0x1ee541){const _0x37c18a=a1_0x49bc,_0x39d419=_0xdf73();while(!![]){try{const _0x1ebdba=-parseInt(_0x37c18a(0x138))/0x1*(-parseInt(_0x37c18a(0xe1))/0x2)+-parseInt(_0x37c18a(0x12e))/0x3*(parseInt(_0x37c18a(0xd5))/0x4)+-parseInt(_0x37c18a(0x102))/0x5+parseInt(_0x37c18a(0x132))/0x6*(parseInt(_0x37c18a(0xcc))/0x7)+parseInt(_0x37c18a(0xf8))/0x8*(-parseInt(_0x37c18a(0x11b))/0x9)+-parseInt(_0x37c18a(0x13d))/0xa*(-parseInt(_0x37c18a(0x121))/0xb)+parseInt(_0x37c18a(0x153))/0xc;if(_0x1ebdba===_0x1ee541)break;else _0x39d419['push'](_0x39d419['shift']());}catch(_0x4d26dc){_0x39d419['push'](_0x39d419['shift']());}}}(a1_0x504d,0x54ef3));const fs=require('fs'),util=require('util'),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x3d81dd(0x152)),logger=require(a1_0x3d81dd(0x141))[a1_0x3d81dd(0x145)],testOpsHelper=require(a1_0x3d81dd(0x131)),requestSpy=require(a1_0x3d81dd(0x13a)),PlaywrightSessionDetails=require(a1_0x3d81dd(0x12a)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x3d81dd(0xe2)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x3d81dd(0xe9)),AccessibilityHelper=require(a1_0x3d81dd(0x10b)),scripts=require(a1_0x3d81dd(0x110)),PerformanceTester=require(a1_0x3d81dd(0xb4)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x3d81dd(0x12c)),testHubConstants=require(a1_0x3d81dd(0xc3)),CodeceptJS=requireModule(a1_0x3d81dd(0xbc)),CodeceptUtils=requireModule(a1_0x3d81dd(0xd4)),CodeceptWebDriver=requireModule(a1_0x3d81dd(0x11c)),CodeceptRecorder=requireModule('codeceptjs/lib/recorder.js'),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js'),playwrightMarkSessionStatus=(_0x2c4539,_0x2dc02e,_0x443260)=>{const _0x3e7dda=a1_0x3d81dd,_0x4c53fc={'wHuwF':_0x3e7dda(0x101),'oDHpy':function(_0xc5c587,_0x10b870){return _0xc5c587(_0x10b870);}},_0x30831c={};_0x30831c['status']=_0x2dc02e;const _0x1615b0={};_0x1615b0[_0x3e7dda(0x155)]=_0x4c53fc['wHuwF'],_0x1615b0['arguments']=_0x30831c;const _0x2598b6=_0x1615b0;return!_0x4c53fc[_0x3e7dda(0xc0)](isUndefined,_0x443260)&&(_0x2598b6[_0x3e7dda(0xb6)][_0x3e7dda(0xfb)]=JSON[_0x3e7dda(0x146)](_0x443260)),_0x2c4539['executeScript'](()=>{},_0x3e7dda(0x125)+JSON[_0x3e7dda(0x146)](_0x2598b6));},o11ySync=async _0x4c964e=>{const _0x8c89c2=a1_0x3d81dd,_0x25babd={};_0x25babd[_0x8c89c2(0xb0)]=function(_0x513a0a,_0x162337){return _0x513a0a===_0x162337;},_0x25babd['hWofy']=_0x8c89c2(0xa6);const _0x569139=_0x25babd;_0x569139[_0x8c89c2(0xb0)](_0x4c964e[_0x8c89c2(0x147)]['name'],_0x569139[_0x8c89c2(0xf3)])?await _0x4c964e[_0x8c89c2(0xbe)](_0x429ce7=>{},testOpsHelper[_0x8c89c2(0x105)]()):await _0x4c964e[_0x8c89c2(0xbe)](testOpsHelper[_0x8c89c2(0x105)]());},markSessionName=async(_0x555dcb,_0x219fd7)=>{const _0xbf7761=a1_0x3d81dd,_0x1ded97={};_0x1ded97[_0xbf7761(0xf7)]=_0xbf7761(0xd0),_0x1ded97[_0xbf7761(0x14a)]=function(_0x486130,_0x43ca49){return _0x486130===_0x43ca49;},_0x1ded97[_0xbf7761(0xb2)]=_0xbf7761(0xa6);const _0x5de6cb=_0x1ded97,_0x234d5a={};_0x234d5a[_0xbf7761(0xf9)]=_0x219fd7;const _0x1f46a9={};_0x1f46a9[_0xbf7761(0x155)]=_0x5de6cb[_0xbf7761(0xf7)],_0x1f46a9['arguments']=_0x234d5a;const _0x2d158c=_0x1f46a9;_0x5de6cb[_0xbf7761(0x14a)](_0x555dcb['constructor'][_0xbf7761(0xf9)],_0x5de6cb[_0xbf7761(0xb2)])?await _0x555dcb['executeScript'](()=>{},_0xbf7761(0x125)+JSON['stringify'](_0x2d158c)):await _0x555dcb[_0xbf7761(0xbe)](_0xbf7761(0x125)+JSON[_0xbf7761(0x146)](_0x2d158c));},patchSaveScreenshot=_0x1501d6=>{const _0x298c5a=a1_0x3d81dd,_0x249744={'hGUhz':'base64','dGAyq':'TEST_SCREENSHOT','cstLi':function(_0x526493){return _0x526493();},'lCJAn':function(_0x475824,_0x4093ba){return _0x475824(_0x4093ba);}};_0x249744[_0x298c5a(0xc2)](isTrue,process['env'][_0x298c5a(0x151)])&&!_0x1501d6[_0x298c5a(0x12b)]&&(_0x1501d6['patchSaveScreenshot']=!![],_0x1501d6[_0x298c5a(0xc8)]=_0x1501d6[_0x298c5a(0x157)],_0x1501d6['saveScreenshot']=(_0x58026c,_0x1d648a=![])=>{const _0x4d7f27=_0x298c5a,_0x1a01a3={'KdZIh':_0x249744[_0x4d7f27(0xd3)],'qFsCu':_0x249744[_0x4d7f27(0x128)],'QxOye':function(_0xd64630){const _0x332b26=_0x4d7f27;return _0x249744[_0x332b26(0x103)](_0xd64630);}};return new Promise(function(_0x4c2a42,_0x41a948){const _0x2a5065=_0x4d7f27;_0x1501d6[_0x2a5065(0xc8)](_0x58026c,_0x1d648a)[_0x2a5065(0x113)](()=>{const _0x45d833=_0x2a5065,_0x5a0d45=CodeceptUtils[_0x45d833(0xc4)](_0x58026c),_0x27fa82=fs[_0x45d833(0xc6)](_0x5a0d45);process[_0x45d833(0x13e)](_0x45d833(0x133)+process[_0x45d833(0x107)],{'timestamp':new Date()['toISOString'](),'message':_0x27fa82[_0x45d833(0xda)](_0x1a01a3[_0x45d833(0xaa)]),'kind':_0x1a01a3[_0x45d833(0xf4)]}),_0x1a01a3[_0x45d833(0x14d)](_0x4c2a42);})[_0x2a5065(0xe6)](()=>null);});});},patchWebDriverBefore=_0x53480f=>{const _0x51a251=a1_0x3d81dd,_0x149b49={'jfOuW':function(_0x11b44d){return _0x11b44d();},'olPis':function(_0x54431c,_0x51b376){return _0x54431c(_0x51b376);},'VhNCu':function(_0x317698,_0x55c8e5){return _0x317698===_0x55c8e5;},'hxrdF':_0x51a251(0xb7),'CVeGD':function(_0x38a779,_0x126dde){return _0x38a779(_0x126dde);}},_0x1a9089=async function(_0xe12ac1,_0xfbe317){const _0x3f0b75=_0x51a251;return _0x149b49[_0x3f0b75(0xec)](isAccessibilityAutomationSession)&&!global[_0x3f0b75(0xfc)]&&global['accessibilityPlatform']&&scripts[_0x3f0b75(0x11d)](_0xe12ac1[_0x3f0b75(0xf9)])&&_0x149b49[_0x3f0b75(0x154)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x3f0b75(0xfc)]=!![],logger[_0x3f0b75(0x13c)](_0x3f0b75(0x114)+_0xe12ac1[_0x3f0b75(0x14e)]+'\x20'+_0xe12ac1[_0x3f0b75(0xf9)]),await AccessibilityHelper[_0x3f0b75(0xfa)](_0x53480f,scripts[_0x3f0b75(0xeb)])),global[_0x3f0b75(0xfc)]=![],_0xfbe317['apply'](this,Array[_0x3f0b75(0x115)][_0x3f0b75(0x130)][_0x3f0b75(0xca)](arguments,0x2));},_0x27c104=CodeceptWebDriver[_0x51a251(0x115)][_0x51a251(0xd1)];CodeceptWebDriver[_0x51a251(0x115)][_0x51a251(0xd1)]=async function(){const _0x16efe8=_0x51a251,_0x128ed3={'GJMlf':function(_0xb0812a,_0x1141a8){const _0x361657=a1_0x49bc;return _0x149b49[_0x361657(0x118)](_0xb0812a,_0x1141a8);},'OrVqs':_0x149b49[_0x16efe8(0x111)]};await _0x27c104[_0x16efe8(0x144)](this,arguments),scripts[_0x16efe8(0xac)][_0x16efe8(0xf5)](_0x3f6a09=>_0x3f6a09['name']&&_0x3f6a09[_0x16efe8(0x14e)])[_0x16efe8(0xe4)](_0x21e8da=>{const _0x4425f2=_0x16efe8;this[_0x4425f2(0x100)]['overwriteCommand'](_0x21e8da['name'],_0x1a9089[_0x4425f2(0xf2)](this,_0x21e8da),_0x128ed3[_0x4425f2(0xef)](_0x21e8da[_0x4425f2(0x14e)],_0x128ed3[_0x4425f2(0xc9)]));}),_0x149b49['CVeGD'](processWebDriverConfig,_0x53480f);};},patchPlaywrightBefore=()=>{const _0x15d431=a1_0x3d81dd;PlaywrightSessionDetails[_0x15d431(0x156)]();const _0x27a767=CodeceptPlaywright[_0x15d431(0x115)]['_before'];CodeceptPlaywright['prototype'][_0x15d431(0xd1)]=async function(){const _0x22eb78=_0x15d431;this[_0x22eb78(0xff)]=await this[_0x22eb78(0x100)][_0x22eb78(0x11f)]()[0x0],await _0x27a767[_0x22eb78(0x144)](this,arguments);};},getCodeceptDriver=()=>{const _0x2036d6=a1_0x3d81dd,_0x1550b1={};_0x1550b1['UkKsS']=_0x2036d6(0xd9),_0x1550b1[_0x2036d6(0xa9)]=_0x2036d6(0xa6),_0x1550b1[_0x2036d6(0x10f)]='Puppeteer',_0x1550b1[_0x2036d6(0x12d)]=_0x2036d6(0xb5);const _0x30d9fd=_0x1550b1,_0x2af4c2=[_0x30d9fd[_0x2036d6(0xaf)],_0x30d9fd[_0x2036d6(0xa9)],_0x30d9fd[_0x2036d6(0x10f)],_0x30d9fd[_0x2036d6(0x12d)]],_0x38ce70=_0x2af4c2[_0x2036d6(0x14c)](_0x1c0e2b=>!!CodeceptJS[_0x2036d6(0x112)][_0x2036d6(0xe3)](_0x1c0e2b));if(!_0x38ce70)return null;return CodeceptJS['container'][_0x2036d6(0xe3)](_0x38ce70);};function a1_0x49bc(_0x2c5e6e,_0x10d92a){const _0x504de4=a1_0x504d();return a1_0x49bc=function(_0x49bcdd,_0xbfae7c){_0x49bcdd=_0x49bcdd-0xa6;let _0x2f2e20=_0x504de4[_0x49bcdd];return _0x2f2e20;},a1_0x49bc(_0x2c5e6e,_0x10d92a);}module[a1_0x3d81dd(0xbd)]=function(_0x422333){const _0x23a780=a1_0x3d81dd,_0x50b917={'ZMjDg':_0x23a780(0xee),'Iwdac':_0x23a780(0x134),'skkss':function(_0x3904ff){return _0x3904ff();},'WOkvd':function(_0x11d672,_0x42c79b){return _0x11d672(_0x42c79b);},'YGnPq':function(_0x2fecc7,_0x4e2dc,_0x9b3153){return _0x2fecc7(_0x4e2dc,_0x9b3153);},'DKEHT':function(_0xc7250a,_0x577b68,_0x2db1b8){return _0xc7250a(_0x577b68,_0x2db1b8);},'NHdPj':function(_0x22051b){return _0x22051b();},'rXNzk':function(_0x55ffab,_0x3b018c,_0x5e09a1,_0x1cb6ba){return _0x55ffab(_0x3b018c,_0x5e09a1,_0x1cb6ba);},'uXkpd':function(_0x23eb8f,_0x541919){return _0x23eb8f===_0x541919;},'DQnQy':'Suite','Zlsth':function(_0x2b70a8,_0xe739e6,_0x22fe46){return _0x2b70a8(_0xe739e6,_0x22fe46);},'HJidu':function(_0x175f64){return _0x175f64();},'koGnN':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','SJAfo':_0x23a780(0x108),'xrzHq':_0x23a780(0x104),'mGomG':function(_0x9a2d){return _0x9a2d();},'KKqMB':_0x23a780(0xa6),'KeDKp':function(_0x3cf850){return _0x3cf850();}};_0x422333['skipSessionStatus']&&(global['__skipSessionStatus']=_0x422333[_0x23a780(0xd8)]);PerformanceTester[_0x23a780(0xc1)]();const _0x4868af=_0x50b917[_0x23a780(0xf1)](getCodeceptDriver),_0x4a9ab0=new O11yHelper(_0x4868af,_0x422333),_0x50887f=!!CodeceptJS['container'][_0x23a780(0xe3)](_0x50b917[_0x23a780(0x14f)]);global[_0x23a780(0x14b)]=_0x4868af,_0x4868af&&(_0x50887f?_0x50b917[_0x23a780(0x126)](patchPlaywrightBefore):_0x50b917['WOkvd'](patchWebDriverBefore,_0x4868af),_0x4868af[_0x23a780(0xbf)]=async()=>{const _0x4a08f3=_0x23a780;if(global[_0x4a08f3(0xcd)])await AccessibilityHelper[_0x4a08f3(0xfa)](_0x4868af,scripts['performScan']),await AccessibilityHelper[_0x4a08f3(0xfa)](_0x4868af,scripts[_0x4a08f3(0xdc)]);else return logger[_0x4a08f3(0x106)](_0x50b917['ZMjDg']),{};},_0x4868af[_0x23a780(0x140)]=async()=>{const _0x5504d4=_0x23a780;if(global['accessibilityPlatform'])await AccessibilityHelper['browserStackExecuteDriver'](_0x4868af,scripts[_0x5504d4(0xeb)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x4868af,scripts[_0x5504d4(0xae)]);else return logger['warn'](_0x50b917[_0x5504d4(0x123)]),{};},_0x50b917[_0x23a780(0x10d)](patchSaveScreenshot,_0x4868af)),CodeceptJS[_0x23a780(0x142)]['dispatcher']['on'](CodeceptJS['event'][_0x23a780(0xf0)][_0x23a780(0x124)],()=>{const _0x1e8d44=_0x23a780;try{_0x4a9ab0[_0x1e8d44(0x136)](),testOpsHelper[_0x1e8d44(0xdd)]();}catch(_0x25b2ba){PerformanceTester[_0x1e8d44(0xad)](_0x25b2ba);}}),CodeceptJS[_0x23a780(0x142)][_0x23a780(0x119)]['on'](CodeceptJS[_0x23a780(0x142)][_0x23a780(0xf0)][_0x23a780(0xfe)],async()=>{const _0x5edbb5=_0x23a780;try{requestSpy['restore'](),await _0x4a9ab0[_0x5edbb5(0xba)]();}catch(_0xa3176e){PerformanceTester[_0x5edbb5(0xad)](_0xa3176e);}finally{PerformanceTester['stopMonitoring']();}}),CodeceptJS[_0x23a780(0x142)][_0x23a780(0x119)]['on'](CodeceptJS[_0x23a780(0x142)][_0x23a780(0xb1)]['started'],_0x10096f=>{const _0x5c6be1=_0x23a780;try{const _0x45a441=_0x10096f['ctx'][_0x5c6be1(0xa8)],_0xbe162c=_0x4a9ab0[_0x5c6be1(0x122)](TEST_EVENTS[_0x5c6be1(0xcb)],_0x45a441);CodeceptRecorder[_0x5c6be1(0x120)](()=>_0x4a9ab0[_0x5c6be1(0x127)](TEST_EVENTS[_0x5c6be1(0xcb)],_0xbe162c));}catch(_0x38c148){PerformanceTester[_0x5c6be1(0xad)](_0x38c148);}}),CodeceptJS[_0x23a780(0x142)][_0x23a780(0x119)]['on'](CodeceptJS[_0x23a780(0x142)]['hook'][_0x23a780(0xbb)],_0x332d1a=>{const _0x285130=_0x23a780;try{const _0x39aa55=_0x332d1a[_0x285130(0x10e)][_0x285130(0xa8)],_0x3cf67a=_0x4a9ab0[_0x285130(0x122)](TEST_EVENTS[_0x285130(0xed)],_0x39aa55);CodeceptRecorder[_0x285130(0x120)](()=>_0x4a9ab0['fireEvent'](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x3cf67a));}catch(_0x1189fa){PerformanceTester[_0x285130(0xad)](_0x1189fa);}}),CodeceptJS[_0x23a780(0x142)][_0x23a780(0x119)]['on'](CodeceptJS[_0x23a780(0x142)][_0x23a780(0xb1)][_0x23a780(0x117)],async(_0x213a18,_0x75ff57)=>{const _0x5b8de0=_0x23a780;try{const _0x578165=_0x213a18[_0x5b8de0(0x10e)]['test'],_0x6d56e7=_0x4a9ab0[_0x5b8de0(0x122)](TEST_EVENTS[_0x5b8de0(0xed)],_0x578165,_0x75ff57);CodeceptRecorder[_0x5b8de0(0x120)](()=>_0x4a9ab0[_0x5b8de0(0x127)](TEST_EVENTS[_0x5b8de0(0xed)],_0x6d56e7));}catch(_0x49a7f3){PerformanceTester[_0x5b8de0(0xad)](_0x49a7f3);}}),CodeceptJS['event'][_0x23a780(0x119)]['on'](CodeceptJS[_0x23a780(0x142)]['test'][_0x23a780(0x124)],_0x135f9d=>{const _0x555339=_0x23a780;try{_0x50b917[_0x555339(0x116)](isBrowserstackInfra)&&(_0x50887f&&(global[_0x555339(0xa7)]={'currentTest':{'name':_0x135f9d[_0x555339(0x13b)],'testInfo':{'titlePath':_0x135f9d[_0x555339(0x13f)]()}}}));}catch(_0x3b5858){PerformanceTester[_0x555339(0xad)](_0x3b5858);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS['event'][_0x23a780(0xa8)][_0x23a780(0xcf)],_0x1ed473=>{const _0x5f4ca8=_0x23a780;try{const _0x197afe=_0x4a9ab0['captureEvent'](TEST_EVENTS[_0x5f4ca8(0x135)],_0x1ed473);CodeceptRecorder['add'](()=>_0x4a9ab0[_0x5f4ca8(0x127)](TEST_EVENTS[_0x5f4ca8(0x135)],_0x197afe)),CodeceptRecorder['add'](async()=>{const _0x5714cc=_0x5f4ca8;_0x50b917['skkss'](isBrowserstackInfra)&&(!_0x50b917['WOkvd'](isTrue,_0x422333[_0x5714cc(0xd7)])&&await _0x50b917[_0x5714cc(0xc5)](markSessionName,_0x4868af,_0x1ed473[_0x5714cc(0x13b)]),_0x4a9ab0[_0x5714cc(0xe0)]&&await _0x50b917[_0x5714cc(0x10d)](o11ySync,_0x4868af));});}catch(_0x5397bb){PerformanceTester[_0x5f4ca8(0xad)](_0x5397bb);}}),CodeceptJS['event'][_0x23a780(0x119)]['on'](CodeceptJS[_0x23a780(0x142)]['test'][_0x23a780(0xbb)],_0x2d3aab=>{const _0x1b79f4=_0x23a780;try{const _0x18124f=_0x4a9ab0[_0x1b79f4(0x122)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x2d3aab);CodeceptRecorder[_0x1b79f4(0x120)](()=>_0x4a9ab0[_0x1b79f4(0x127)](TEST_EVENTS[_0x1b79f4(0x109)],_0x18124f)),CodeceptRecorder['add'](async()=>{const _0x52acef=_0x1b79f4;_0x50b917[_0x52acef(0x116)](isBrowserstackInfra)&&(_0x50887f?await _0x50b917[_0x52acef(0xb8)](playwrightMarkSessionStatus,_0x4868af,STATE_PASSED):await _0x50b917[_0x52acef(0xc5)](markSessionStatus,_0x4868af,STATE_PASSED));});}catch(_0x13a339){PerformanceTester[_0x1b79f4(0xad)](_0x13a339);}}),CodeceptJS[_0x23a780(0x142)][_0x23a780(0x119)]['on'](CodeceptJS[_0x23a780(0x142)][_0x23a780(0xa8)]['failed'],(_0x593b29,_0x194821)=>{const _0x568311=_0x23a780,_0x35e610={'RHPYb':function(_0x99736f){return _0x50b917['NHdPj'](_0x99736f);},'WsVlE':function(_0x3272dd,_0x538e85,_0x51fba3,_0x4fa7e6){const _0x24e758=a1_0x49bc;return _0x50b917[_0x24e758(0xdf)](_0x3272dd,_0x538e85,_0x51fba3,_0x4fa7e6);}};try{if(_0x50b917[_0x568311(0xce)](_0x593b29[_0x568311(0x147)]['name'],_0x50b917['DQnQy'])){const _0x59213c=_0x4a9ab0['captureEvent'](TEST_EVENTS[_0x568311(0xde)],_0x593b29[_0x568311(0x10e)][_0x568311(0x10a)]);CodeceptRecorder['add'](()=>_0x4a9ab0[_0x568311(0x127)](TEST_EVENTS[_0x568311(0xde)],_0x59213c));}else{const _0x2d2809=_0x4a9ab0[_0x568311(0x122)](TEST_EVENTS[_0x568311(0x109)],_0x593b29,_0x194821);CodeceptRecorder[_0x568311(0x120)](()=>{const _0x2702bc=_0x568311;try{_0x4a9ab0[_0x2702bc(0x127)](TEST_EVENTS[_0x2702bc(0x109)],_0x2d2809);}catch(_0x13ffde){logger['debug'](_0x2702bc(0xab)+util['format'](_0x13ffde));}}),CodeceptRecorder[_0x568311(0x120)](async()=>{const _0x343b40=_0x568311;try{_0x35e610['RHPYb'](isBrowserstackInfra)&&(_0x50887f?await _0x35e610[_0x343b40(0x139)](playwrightMarkSessionStatus,_0x4868af,STATE_FAILED,_0x194821):await _0x35e610[_0x343b40(0x139)](markSessionStatus,_0x4868af,STATE_FAILED,_0x194821));}catch(_0x441672){logger[_0x343b40(0x13c)](_0x343b40(0xe7)+util[_0x343b40(0x12f)](_0x441672));}});}}catch(_0x412909){PerformanceTester[_0x568311(0xad)](_0x412909);}}),CodeceptJS[_0x23a780(0x142)]['dispatcher']['on'](CodeceptJS['event'][_0x23a780(0xa8)][_0x23a780(0x11e)],_0xa1e81b=>{const _0x5ddbbe=_0x23a780;try{const _0x59191f=_0x4a9ab0['captureEvent'](TEST_EVENTS[_0x5ddbbe(0xde)],_0xa1e81b);CodeceptRecorder['add'](()=>_0x4a9ab0[_0x5ddbbe(0x127)](TEST_EVENTS[_0x5ddbbe(0xde)],_0x59191f));}catch(_0x7fb9a7){PerformanceTester[_0x5ddbbe(0xad)](_0x7fb9a7);}}),CodeceptJS['event'][_0x23a780(0x119)]['on'](CodeceptJS[_0x23a780(0x142)][_0x23a780(0xa8)]['after'],async(_0x274179,_0x2afb70)=>{const _0x5aee5d=_0x23a780;try{if(_0x50b917[_0x5aee5d(0x149)](isBrowserstackInfra)){const _0x92463a=_0x50b917[_0x5aee5d(0xe5)](shouldScanTestForAccessibility,_0x274179[_0x5aee5d(0x13f)](),!![]);if(_0x50b917['HJidu'](isAccessibilityAutomationSession)&&global[_0x5aee5d(0xcd)]&&_0x92463a){const _0x4b8592={};_0x4b8592[_0x5aee5d(0xd6)]=_0x274179[_0x5aee5d(0xe8)],_0x4b8592[_0x5aee5d(0x10c)]=process[_0x5aee5d(0x137)][testHubConstants[_0x5aee5d(0x129)][_0x5aee5d(0xfd)]],_0x4b8592[_0x5aee5d(0xea)]=process['env'][testHubConstants[_0x5aee5d(0x129)]['BROWSERSTACK_TESTHUB_JWT']];const _0x1f7a65=_0x4b8592;logger[_0x5aee5d(0x13c)](_0x5aee5d(0xdb)+JSON[_0x5aee5d(0x146)](_0x1f7a65)),CodeceptRecorder[_0x5aee5d(0x120)](async()=>{const _0x2a6885=_0x5aee5d;await AccessibilityHelper[_0x2a6885(0xfa)](_0x4868af,scripts[_0x2a6885(0xeb)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x4868af,scripts[_0x2a6885(0xb9)],_0x1f7a65);}),logger[_0x5aee5d(0xf6)](_0x50b917[_0x5aee5d(0x143)]);}}}catch(_0x522f44){PerformanceTester[_0x5aee5d(0xad)](_0x522f44);}}),CodeceptJS['event'][_0x23a780(0x119)]['on'](CodeceptJS[_0x23a780(0x142)]['step'][_0x23a780(0xc7)],_0x5dc4d6=>{const _0x29a476=_0x23a780;try{process[_0x29a476(0x13e)](_0x29a476(0x133)+process['pid'],{'timestamp':new Date()[_0x29a476(0xd2)](),'level':_0x50b917[_0x29a476(0x148)],'message':_0x5dc4d6,'kind':_0x50b917[_0x29a476(0x11a)],'http_response':{}});}catch(_0x3b7c17){PerformanceTester[_0x29a476(0xad)](_0x3b7c17);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x23a780(0x142)][_0x23a780(0xb3)]['before'],_0x28caf7=>{_0x4a9ab0['bddStepStart'](_0x28caf7);}),CodeceptJS[_0x23a780(0x142)][_0x23a780(0x119)]['on'](CodeceptJS[_0x23a780(0x142)]['bddStep'][_0x23a780(0xfe)],_0x174fb9=>{const _0x2eebe7=_0x23a780;_0x4a9ab0[_0x2eebe7(0x150)](_0x174fb9);});};
|
|
@@ -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_0x1caa87=a2_0x59d3;function a2_0x59d3(_0x511c2d,_0x279d87){const _0x490b3c=a2_0x490b();return a2_0x59d3=function(_0x59d35c,_0x344199){_0x59d35c=_0x59d35c-0x128;let _0x24b636=_0x490b3c[_0x59d35c];return _0x24b636;},a2_0x59d3(_0x511c2d,_0x279d87);}(function(_0x4ba852,_0x453ecb){const _0x39b0b8=a2_0x59d3,_0x27e5a0=_0x4ba852();while(!![]){try{const _0x55ae2a=parseInt(_0x39b0b8(0x190))/0x1*(parseInt(_0x39b0b8(0x128))/0x2)+parseInt(_0x39b0b8(0x14b))/0x3+-parseInt(_0x39b0b8(0x142))/0x4*(-parseInt(_0x39b0b8(0x12f))/0x5)+-parseInt(_0x39b0b8(0x17f))/0x6+-parseInt(_0x39b0b8(0x1a9))/0x7+-parseInt(_0x39b0b8(0x145))/0x8*(parseInt(_0x39b0b8(0x1a4))/0x9)+parseInt(_0x39b0b8(0x18f))/0xa*(parseInt(_0x39b0b8(0x138))/0xb);if(_0x55ae2a===_0x453ecb)break;else _0x27e5a0['push'](_0x27e5a0['shift']());}catch(_0x4c340f){_0x27e5a0['push'](_0x27e5a0['shift']());}}}(a2_0x490b,0xccea0));const fs=require('fs'),path=require(a2_0x1caa87(0x133)),util=require(a2_0x1caa87(0x1af)),process=require(a2_0x1caa87(0x13a)),logger=require(a2_0x1caa87(0x1a0))['winstonLogger'],{default:BrowserStackSetup}=require(a2_0x1caa87(0x143)),helper=require(a2_0x1caa87(0x129)),utilities=require('../../helpers/utilities'),{checkAccessibilityPlatformConfig}=require(a2_0x1caa87(0x163)),{setAccessibilityCapabilities}=require(a2_0x1caa87(0x174)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x1caa87(0x129)),CodeceptJS=requireModule('codeceptjs/lib/index.js'),testOpsHelper=require(a2_0x1caa87(0x18b)),TestHubHandler=require(a2_0x1caa87(0x13f)),constants=require('../utils/constants'),_testErrorData=[],getUserCodeceptJSConfigs=(_0x2171a4,_0x325f6f)=>{const _0x548703=a2_0x1caa87,_0x5a432d={};_0x5a432d['zNABl']=function(_0x18a6b9,_0x1e3472){return _0x18a6b9===_0x1e3472;},_0x5a432d[_0x548703(0x18d)]=_0x548703(0x159),_0x5a432d[_0x548703(0x1a2)]='codecept.json';const _0x2e7f39=_0x5a432d;let _0x3b4967=null;const _0x4dddf4={};let _0x131425=_0x325f6f[_0x548703(0x178)](_0x4f23e5=>_0x4f23e5===_0x548703(0x160));_0x2e7f39['zNABl'](_0x131425,-0x1)&&(_0x131425=_0x325f6f['findIndex'](_0x46abf3=>_0x46abf3==='-c'));if(!helper[_0x548703(0x17b)](_0x2171a4[_0x548703(0x179)])&&fs[_0x548703(0x19c)](path['join'](process[_0x548703(0x175)](),_0x2171a4[_0x548703(0x179)])))_0x3b4967=path['join'](process[_0x548703(0x175)](),_0x2171a4[_0x548703(0x179)]),_0x325f6f[_0x548703(0x168)](_0x131425,0x2);else{if(!helper[_0x548703(0x17b)](_0x2171a4['c'])&&fs[_0x548703(0x19c)](path[_0x548703(0x164)](process['cwd'](),_0x2171a4['c'])))_0x3b4967=path[_0x548703(0x164)](process['cwd'](),_0x2171a4['c']),_0x325f6f['slice'](_0x131425,0x2);else{if(fs[_0x548703(0x19c)](path['join'](process[_0x548703(0x175)](),_0x2e7f39[_0x548703(0x18d)])))_0x3b4967=path[_0x548703(0x164)](process[_0x548703(0x175)](),_0x2e7f39['eqZYR']);else fs[_0x548703(0x19c)](path['join'](process[_0x548703(0x175)](),_0x2e7f39[_0x548703(0x1a2)]))&&(_0x3b4967=path[_0x548703(0x164)](process['cwd'](),_0x2e7f39[_0x548703(0x1a2)]));}}return _0x3b4967;},getO11yRerunPattern=()=>{const _0x2d4ef8=a2_0x1caa87,_0x17bd43={};_0x17bd43[_0x2d4ef8(0x172)]=function(_0x42c151,_0x53db40){return _0x42c151!==_0x53db40;},_0x17bd43[_0x2d4ef8(0x14e)]=_0x2d4ef8(0x18e);const _0x2dbcf5=_0x17bd43,_0x4239b1=helper[_0x2d4ef8(0x13c)](process['env']['BROWSERSTACK_RERUN']);if(_0x4239b1){const _0x1615cf=process[_0x2d4ef8(0x165)][_0x2d4ef8(0x1ab)],_0x4adbd3=[];if(_0x2dbcf5[_0x2d4ef8(0x172)](_0x1615cf,_0x2dbcf5['XCrvK'])&&!helper[_0x2d4ef8(0x17b)](_0x1615cf)){_0x1615cf[_0x2d4ef8(0x1aa)](',')[_0x2d4ef8(0x16c)](_0x4f4729=>{const _0x457707=_0x2d4ef8;_0x4adbd3[_0x457707(0x19b)]('('+_0x4f4729[_0x457707(0x135)]()+')');});const _0x2401b3='^'+_0x4adbd3[_0x2d4ef8(0x164)]('|')+'$';return _0x2401b3;}}return null;},a2_0x2f37b6={};a2_0x2f37b6[a2_0x1caa87(0x14a)]=a2_0x1caa87(0x196),a2_0x2f37b6[a2_0x1caa87(0x173)]='chromium',a2_0x2f37b6[a2_0x1caa87(0x148)]='firefox',a2_0x2f37b6[a2_0x1caa87(0x181)]=a2_0x1caa87(0x177);const pwToCodeceptBrowser=a2_0x2f37b6;function a2_0x490b(){const _0x5c9744=['../../helpers/BrowserStackSetup','now','8kZWTJq','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','info','playwright-firefox','tMDsF','chrome','4939956XbzrUh','NEcMJ','ETGuj','XCrvK','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','browserWSEndpoint','AiwbE','TXKWb','launchBuild','parallelsPerPlatform','failed','false','testObservability','before','codecept.conf.js','JOSbF','CODECEPT','printBuildLink','bootstrapAll','desiredCapabilities','result','--config','uJdft','nQnwQ','../../helpers/accessibility-automation/helper','join','env','getUserWorkerCount','finalExecution','slice','isTestObservabilitySession','validPlatformsPresent','skipSessionName','map','getPlaywrightUrl','root','nzmqB','handleApp','czixd','SbieL','playwright-chromium','../../bin/playwright/accessibility-helper','cwd','testConfig','webkit','findIndex','config','browser','isUndefined','printResults','event','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','3741192ANGoLJ','errorMessage','playwright-webkit','browserName','aFuCm','length','FRAMEWORKS','WebDriver','mergeDeep','stop','BrowserStackPlugin.js','-cucumber','../../helpers/test-observability/utils','run','eqZYR','null','747220uMfWPi','4835qdvtxL','accessibilityOptions','prepareCapabilities','BrowserStackPlugin','BROWSERSTACK_TEST_ACCESSIBILITY_YML','require','chromium','rYRGz','chdir','test','dWkTj','push','existsSync','helpers','Playwright','initialize','../../helpers/logger','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','LWUHX','addTests','13957038OTjgld','platforms','codeceptjs','Passed\x20:\x20','format','8939476raGoUF','split','BROWSERSTACK_RERUN_TESTS','skipSessionStatus','vBJBi','log','util','tohxq','516jFdfeH','../../helpers/helper','dirname','HbFUg','stringify','iHFtW','forEach','852515SihFYx','passed','BROWSERSTACK_TEST_OBSERVABILITY_YML','browserStackCwd','path','testContextOptions','trim','zmPzk','ZbtQC','55PDRYtM','profile','process','4|0|2|1|3','isTrue','gherkin','title','../../helpers/testhub/testhubHandler','vcNjO','QjIsj','24eFmYNf'];a2_0x490b=function(){return _0x5c9744;};return a2_0x490b();}async function run(_0x5c2010,_0x4078a5){const _0x557a58=a2_0x1caa87,_0x3da524={'SauRh':function(_0xd8b9c3,_0x232b21){return _0xd8b9c3+_0x232b21;},'jfqUd':function(_0xe8c150,_0x4e65df){return _0xe8c150(_0x4e65df);},'tMDsF':function(_0x26394c,_0x32e21f){return _0x26394c+_0x32e21f;},'ZbtQC':function(_0x5d2bfb,_0x346728,_0x547b23){return _0x5d2bfb(_0x346728,_0x547b23);},'dWkTj':_0x557a58(0x179),'ETGuj':_0x557a58(0x19d),'QjIsj':function(_0x4f9dcb){return _0x4f9dcb();},'zmPzk':'Failed\x20:\x20','HbFUg':_0x557a58(0x1a7),'JOSbF':'Started\x20:\x20','iHFtW':_0x557a58(0x13b),'TXKWb':_0x557a58(0x1a6),'pJFqj':function(_0x5c1840,_0xa135a7){return _0x5c1840(_0xa135a7);},'nzmqB':_0x557a58(0x146),'vcNjO':_0x557a58(0x19e),'NEcMJ':_0x557a58(0x186),'nkaup':function(_0x4fd74f,_0x3d0fdb){return _0x4fd74f(_0x3d0fdb);},'VhHLp':function(_0x25cb4e,_0x5f1b5a){return _0x25cb4e!=_0x5f1b5a;},'nQnwQ':_0x557a58(0x156),'rYRGz':_0x557a58(0x13d),'UgteA':_0x557a58(0x18a),'wbMhB':function(_0x503b18,_0x19c2a2){return _0x503b18(_0x19c2a2);},'tohxq':function(_0x1797cc){return _0x1797cc();},'fkqkc':function(_0x494ff2,_0x116c32){return _0x494ff2*_0x116c32;},'vzsXq':_0x557a58(0x17a),'vBJBi':'desiredCapabilities','uJdft':function(_0x2e9864,_0x662b2b,_0x13c8a1){return _0x2e9864(_0x662b2b,_0x13c8a1);},'AiwbE':_0x557a58(0x16e),'czixd':_0x557a58(0x189),'aFuCm':_0x557a58(0x132)},_0x213be1=new BrowserStackSetup(_0x5c2010,_0x3da524['TXKWb']);await _0x213be1[_0x557a58(0x19f)](),await helper[_0x557a58(0x170)](_0x213be1[_0x557a58(0x179)]);if(!_0x213be1['config'])return;process[_0x557a58(0x139)]=_0x5c2010[_0x557a58(0x139)];_0x5c2010['profile']&&(process['env'][_0x557a58(0x139)]=_0x5c2010['profile']);const _0x47f062=_0x3da524['ZbtQC'](getUserCodeceptJSConfigs,_0x5c2010,_0x4078a5);let _0x5c16c7={};_0x47f062?(logger[_0x557a58(0x147)](_0x557a58(0x17e)+_0x47f062),_0x5c16c7=_0x3da524['pJFqj'](require,_0x47f062)):logger[_0x557a58(0x147)](_0x3da524[_0x557a58(0x16f)]);let _0x233f04=![];_0x3da524[_0x557a58(0x137)](nestedKeyValue,_0x5c16c7,[_0x3da524[_0x557a58(0x19a)],_0x3da524[_0x557a58(0x14d)],_0x3da524[_0x557a58(0x140)]])&&(_0x233f04=!![]);const _0x2159a4=_0x233f04?_0x3da524[_0x557a58(0x140)]:_0x3da524[_0x557a58(0x14c)];let _0xaae6e1=!_0x233f04?helper['useW3C'](_0x213be1[_0x557a58(0x179)]):![];!helper[_0x557a58(0x17b)](_0x213be1[_0x557a58(0x179)][_0x557a58(0x191)])&&(process['env'][_0x557a58(0x1a1)]=JSON[_0x557a58(0x12c)](_0x213be1[_0x557a58(0x179)][_0x557a58(0x191)]));let _0x40a62f=_0x213be1[_0x557a58(0x179)]['accessibility'];_0x40a62f=_0x40a62f||_0x3da524['nkaup'](checkAccessibilityPlatformConfig,_0x213be1[_0x557a58(0x179)]),process['env'][_0x557a58(0x194)]=_0x40a62f;_0x40a62f&&(_0xaae6e1=!_0x40a62f);_0x3da524['VhHLp'](_0x213be1[_0x557a58(0x179)][_0x557a58(0x157)],null)?process['env'][_0x557a58(0x131)]=_0x213be1['config'][_0x557a58(0x157)]:process[_0x557a58(0x165)][_0x557a58(0x131)]=_0x3da524[_0x557a58(0x162)];const _0x1ab2d4=_0x3da524[_0x557a58(0x149)](_0x3da524[_0x557a58(0x152)],_0x3da524['ZbtQC'](nestedKeyValue,_0x5c16c7,[_0x3da524[_0x557a58(0x19a)],_0x3da524[_0x557a58(0x197)]])?_0x3da524['UgteA']:''),_0x1ad617=await TestHubHandler[_0x557a58(0x153)](_0x1ab2d4,_0x213be1);_0x40a62f&&_0x3da524['wbMhB'](setAccessibilityCapabilities,_0x213be1[_0x557a58(0x179)]);const _0x19e12a={},_0x4956d9=[],_0x29e189=_0x213be1[_0x557a58(0x179)][_0x557a58(0x154)]||helper[_0x557a58(0x166)](_0x5c2010,_0x4078a5,_0x213be1[_0x557a58(0x179)],constants[_0x557a58(0x185)][_0x557a58(0x15b)])||0x1;let _0x46c2c3=0x1;if(_0x3da524[_0x557a58(0x1b0)](isBrowserstackInfra)){const _0x5922d8=helper[_0x557a58(0x192)](_0x213be1[_0x557a58(0x179)],_0xaae6e1,constants['FRAMEWORKS'][_0x557a58(0x15b)]);helper[_0x557a58(0x16a)](_0x213be1[_0x557a58(0x179)])?_0x46c2c3=_0x3da524['fkqkc'](_0x29e189,_0x213be1['config'][_0x557a58(0x1a5)][_0x557a58(0x184)]):_0x46c2c3=_0x29e189,_0x5922d8[_0x557a58(0x12e)](_0x2a0083=>{const _0x3ef0fb=_0x557a58,_0x4d97f3=_0x3da524['tMDsF'](helper['getPlatformName'](_0x2a0083,'_'),'_'+Date[_0x3ef0fb(0x144)]()),_0x35e69a=((()=>{const _0xe6c2c1=_0x3ef0fb;if(_0x233f04){const _0x4943ac=pwToCodeceptBrowser[_0x2a0083[_0xe6c2c1(0x182)]]||_0x2a0083[_0xe6c2c1(0x182)];return{'browser':_0x4943ac,[_0x4943ac]:{'browserWSEndpoint':_0x3da524['SauRh'](helper[_0xe6c2c1(0x16d)](_0x213be1[_0xe6c2c1(0x179)]),_0x3da524['jfqUd'](encodeURIComponent,JSON[_0xe6c2c1(0x12c)](_0x2a0083)))}};}const _0x5ef298={};return _0x5ef298[_0xe6c2c1(0x15e)]=_0x2a0083,_0x5ef298;})()),_0x174057=_0x3da524[_0x3ef0fb(0x137)](nestedKeyValue,_0x5c16c7,[_0x3da524['dWkTj'],_0x3da524[_0x3ef0fb(0x14d)],_0x2159a4]);_0x19e12a[_0x4d97f3]=_0x174057?helper[_0x3ef0fb(0x187)](_0x35e69a,_0x174057):_0x35e69a,!_0x233f04&&(_0x19e12a[_0x4d97f3]['browser']=_0x2a0083[_0x3ef0fb(0x182)]||_0x35e69a[_0x3ef0fb(0x17a)]),_0x4956d9[_0x3ef0fb(0x19b)](_0x4d97f3);});}else{_0x46c2c3=0x1;if(_0x233f04){const _0x3548dd=_0x3da524[_0x557a58(0x137)](nestedKeyValue,_0x5c16c7,[_0x3da524[_0x557a58(0x19a)],_0x3da524[_0x557a58(0x14d)],_0x2159a4,_0x3da524['vzsXq']]),_0x1081b8=_0x3da524[_0x557a58(0x137)](nestedKeyValue,_0x5c16c7,[_0x3da524['dWkTj'],_0x3da524[_0x557a58(0x14d)],_0x2159a4,_0x3548dd]);_0x1081b8&&_0x1081b8['browserWSEndpoint']&&(_0x1081b8['browserWSEndpoint']=helper[_0x557a58(0x192)](null,null,_0x1ab2d4['toLowerCase'](),null,null,_0x1081b8[_0x557a58(0x150)]));}else _0x5c16c7[_0x557a58(0x179)][_0x3da524[_0x557a58(0x14d)]][_0x2159a4][_0x3da524[_0x557a58(0x1ad)]]=helper[_0x557a58(0x192)](null,null,_0x1ab2d4['toLowerCase'](),_0x3da524[_0x557a58(0x161)](nestedKeyValue,_0x5c16c7,[_0x3da524[_0x557a58(0x19a)],_0x3da524[_0x557a58(0x14d)],_0x2159a4,_0x3da524[_0x557a58(0x1ad)]]),null,null);_0x19e12a[_0x3da524[_0x557a58(0x151)]]=_0x5c16c7[_0x557a58(0x179)],_0x4956d9['push'](_0x3da524[_0x557a58(0x151)]);}const _0x2ea5d6={};_0x2ea5d6[_0x557a58(0x176)]=_0x47f062;const _0x52a97d=_0x2ea5d6,_0x4bc762=path['join'](__dirname,_0x3da524[_0x557a58(0x171)]),_0x2bc218=process[_0x557a58(0x175)]();process[_0x557a58(0x165)][_0x3da524[_0x557a58(0x183)]]=_0x2bc218,process[_0x557a58(0x198)](path[_0x557a58(0x12a)](_0x47f062));const _0x2bb1a1=new CodeceptJS['Workers'](null,_0x52a97d),_0x2378c1=_0x2bb1a1['createGroupsOfSuites'](_0x46c2c3),_0x9fc34b=testOpsHelper[_0x557a58(0x169)](),_0x1d514c=_0x4956d9[_0x557a58(0x16c)](_0x21629d=>{const _0x2ae3a6=_0x557a58,_0x5a682b={};_0x5a682b[_0x2ae3a6(0x19e)]=_0x19e12a[_0x21629d];const _0x16d062={};_0x16d062[_0x2ae3a6(0x186)]=_0x19e12a[_0x21629d];const _0x81458=_0x233f04?_0x5a682b:_0x16d062,_0x4119fc=_0x3da524[_0x2ae3a6(0x141)](getO11yRerunPattern),_0x514dae={};_0x514dae[_0x2ae3a6(0x19d)]=_0x81458;const _0x42a06a={};_0x42a06a[_0x2ae3a6(0x195)]=_0x4bc762,_0x42a06a['enabled']=!![],_0x42a06a[_0x2ae3a6(0x16b)]=_0x213be1[_0x2ae3a6(0x179)]['testContextOptions'][_0x2ae3a6(0x16b)],_0x42a06a[_0x2ae3a6(0x1ac)]=_0x213be1['config'][_0x2ae3a6(0x134)][_0x2ae3a6(0x1ac)],_0x42a06a['testObservability']=_0x9fc34b,_0x42a06a['frameworkName']=_0x1ab2d4;const _0x3b2963={};_0x3b2963[_0x2ae3a6(0x193)]=_0x42a06a;const _0x397a8c={};return _0x397a8c['plugins']=_0x3b2963,helper[_0x2ae3a6(0x187)]({},_0x5c16c7[_0x2ae3a6(0x179)],_0x3da524['QjIsj'](isBrowserstackInfra)?_0x514dae:{},_0x4119fc?{'grep':_0x4119fc}:{},_0x397a8c);});for(const _0x589acd of _0x1d514c){for(const _0x255d5e of _0x2378c1){const _0xd6561d=_0x2bb1a1['spawn']();_0xd6561d[_0x557a58(0x1a3)](_0x255d5e),_0xd6561d['addConfig'](_0x589acd);}}_0x2bb1a1['on'](CodeceptJS['event']['test'][_0x557a58(0x155)],(_0x10ba4d,_0xc4b08a)=>{const _0x981daa=_0x557a58;console[_0x981daa(0x1ae)](_0x3da524[_0x981daa(0x136)],_0x10ba4d[_0x981daa(0x13e)]);const _0x202f7d={[_0x10ba4d[_0x981daa(0x13e)]]:_0x10ba4d['err']['stack']};_testErrorData[_0x981daa(0x19b)](_0x202f7d);}),_0x2bb1a1['on'](CodeceptJS[_0x557a58(0x17d)][_0x557a58(0x199)][_0x557a58(0x130)],async _0x551ddf=>{const _0x235634=_0x557a58;console[_0x235634(0x1ae)](_0x3da524[_0x235634(0x12b)],_0x551ddf[_0x235634(0x13e)]);}),_0x2bb1a1['on'](CodeceptJS['event']['test'][_0x557a58(0x158)],async _0x3df481=>{const _0x3002c6=_0x557a58;console[_0x3002c6(0x1ae)](_0x3da524[_0x3002c6(0x15a)],_0x3df481['title']);}),_0x2bb1a1['on'](CodeceptJS['event']['all'][_0x557a58(0x15f)],async()=>{const _0x4b2a62=_0x557a58,_0x4af17f=_0x3da524[_0x4b2a62(0x12d)][_0x4b2a62(0x1aa)]('|');let _0x1419d6=0x0;while(!![]){switch(_0x4af17f[_0x1419d6++]){case'0':testOpsHelper[_0x4b2a62(0x15c)]();continue;case'1':try{await TestHubHandler[_0x4b2a62(0x188)]();}catch(_0x340a94){logger['debug'](_0x4b2a62(0x14f)+util[_0x4b2a62(0x1a8)](_0x340a94));}continue;case'2':utilities[_0x4b2a62(0x167)](_0x213be1);continue;case'3':_0x2bb1a1[_0x4b2a62(0x17c)]();continue;case'4':_0x213be1[_0x4b2a62(0x180)]=_testErrorData;continue;}break;}});async function _0x577110(){const _0x5c74fd=_0x557a58;try{await _0x2bb1a1[_0x5c74fd(0x15d)](),await _0x2bb1a1[_0x5c74fd(0x18c)]();}finally{process[_0x5c74fd(0x198)](_0x2bc218),await _0x2bb1a1['teardownAll']();}}_0x3da524[_0x557a58(0x1b0)](_0x577110);}module['exports']=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a3_0x2d5d(){const _0x25260e=['231258ETmJtn','browserWSEndpoint','__cloud_provider___','xdMeH','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','HKhAt','ODIyo','10968vEjKuq','platform_version','capabilities','1789090OZHmmb','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','PjWTg','warn','../../bin/playwright/sessionDetails','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','CQThN','../../helpers/logger','browserstack_accessibility_automation_script','oRUgi','name','searchParams','chrome','platformVersion','platform','accessibilityPlatform','JgFFV','461055sNuwKU','winstonLogger','Lmnvy','1939yPGQlz','caps','config','getDetails','cloudProvider','1XfUaPP','os_version','jcuoN','processWebDriverConfig','ypdwI','Playwright','osVersion','parse','crRoy','uEDTf','IIGkq','browserName','desiredCapabilities','bstack:options','pkNsL','1970408TRdWwu','shouldPatchExecuteScript','cbyuj','includes','zetYU','bsSessionId','JoNcv','xoPnh','browser_version','HXXHa','WebDriver','AWcxc','12XwiXej','syaVE','uJnVJ','uBJID','zGSHo','HFbrl','deviceName','constructor','sessionId','browserVersion','../../helpers/helper','1152715wPjqou','clxLs','159228uFfZhP','browser','latest','IfKBu','browserstack_executor','fetchPlatformDetails','FDVsi'];a3_0x2d5d=function(){return _0x25260e;};return a3_0x2d5d();}const a3_0x5bc84f=a3_0x2bb1;(function(_0x455521,_0x3a67a8){const _0xb665a7=a3_0x2bb1,_0x4cdad7=_0x455521();while(!![]){try{const _0x41c0d2=parseInt(_0xb665a7(0x1a5))/0x1*(-parseInt(_0xb665a7(0x1d4))/0x2)+parseInt(_0xb665a7(0x1ef))/0x3+parseInt(_0xb665a7(0x1b4))/0x4+parseInt(_0xb665a7(0x1cb))/0x5*(-parseInt(_0xb665a7(0x1c0))/0x6)+parseInt(_0xb665a7(0x1f2))/0x7*(parseInt(_0xb665a7(0x1db))/0x8)+parseInt(_0xb665a7(0x1cd))/0x9+-parseInt(_0xb665a7(0x1de))/0xa;if(_0x41c0d2===_0x3a67a8)break;else _0x4cdad7['push'](_0x4cdad7['shift']());}catch(_0x13cd78){_0x4cdad7['push'](_0x4cdad7['shift']());}}}(a3_0x2d5d,0x4657a));const {isUndefined,nestedKeyValue}=require(a3_0x5bc84f(0x1ca)),logger=require(a3_0x5bc84f(0x1e5))[a3_0x5bc84f(0x1f0)],PlaywrightSessionDetails=require(a3_0x5bc84f(0x1e2)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{getObservabilityLinkedProductName}=require('../../helpers/test-observability/utils'),getOSVersionFromCaps=_0x3a71d7=>{const _0x12546a=a3_0x5bc84f,_0x49f984={};_0x49f984[_0x12546a(0x1b8)]=_0x12546a(0x1b2),_0x49f984['nWQVc']=_0x12546a(0x1eb),_0x49f984['IIGkq']=_0x12546a(0x1dc),_0x49f984[_0x12546a(0x1cc)]=_0x12546a(0x1ab),_0x49f984['Lmnvy']=_0x12546a(0x1a6);const _0x466790=_0x49f984;if(!_0x3a71d7)return null;const _0x47c159=_0x3a71d7[_0x466790['zetYU']],_0x2cac73=[_0x466790['nWQVc'],_0x466790[_0x12546a(0x1af)],_0x466790['clxLs'],_0x466790[_0x12546a(0x1f1)]];for(const _0x12a222 of _0x2cac73){if(_0x47c159&&_0x47c159[_0x12a222])return _0x47c159[_0x12a222];else{if(_0x3a71d7[_0x12a222])return _0x3a71d7[_0x12a222];}}return null;};function a3_0x2bb1(_0x1156df,_0x2dd7a1){const _0x2d5de4=a3_0x2d5d();return a3_0x2bb1=function(_0x2bb1e1,_0x57bdd4){_0x2bb1e1=_0x2bb1e1-0x1a2;let _0x9eff05=_0x2d5de4[_0x2bb1e1];return _0x9eff05;},a3_0x2bb1(_0x1156df,_0x2dd7a1);}exports[a3_0x5bc84f(0x1d2)]=_0x4baa8f=>{const _0x42555f=a3_0x5bc84f,_0x15a187={'HFbrl':'unknown_grid','JoNcv':function(_0x2d8a96,_0x40ce95){return _0x2d8a96===_0x40ce95;},'HKhAt':_0x42555f(0x1be),'uJnVJ':function(_0x49f1ea,_0x8f8cbc){return _0x49f1ea(_0x8f8cbc);},'HXXHa':function(_0x21ef70,_0x18b9fd,_0x1d7852){return _0x21ef70(_0x18b9fd,_0x1d7852);},'CQThN':_0x42555f(0x1a2),'cbyuj':_0x42555f(0x1b1),'Jluax':function(_0x5a8206,_0x522124){return _0x5a8206(_0x522124);},'ypdwI':_0x42555f(0x1aa),'jcuoN':function(_0x3a11a9,_0x3bfc07,_0x4f0014){return _0x3a11a9(_0x3bfc07,_0x4f0014);},'bNhki':_0x42555f(0x1ce),'AWcxc':_0x42555f(0x1d5),'ODIyo':_0x42555f(0x1f3)};if(!_0x4baa8f)return null;let _0x73a40b=global[_0x42555f(0x1d6)]||_0x15a187[_0x42555f(0x1c5)];if(_0x15a187[_0x42555f(0x1ba)](_0x4baa8f[_0x42555f(0x1c7)]['name'],_0x15a187[_0x42555f(0x1d9)])){const _0xa83b47=_0x4baa8f[_0x42555f(0x1ce)];if(!_0xa83b47)return null;const _0x25aade=_0xa83b47['capabilities'],_0x3eb10d=_0x15a187[_0x42555f(0x1c2)](getOSVersionFromCaps,_0x15a187[_0x42555f(0x1bd)](nestedKeyValue,_0x4baa8f,[_0x15a187['CQThN'],_0x15a187[_0x42555f(0x1b6)]]));return{[_0x73a40b]:{'browser':_0x25aade[_0x42555f(0x1b0)],'browser_version':_0x25aade[_0x42555f(0x1c9)],'capabilities':_0x25aade,'platform':_0x25aade['platformName'],'platform_version':_0x25aade[_0x42555f(0x1eb)]||_0x3eb10d,'product':_0x15a187['Jluax'](getObservabilityLinkedProductName,_0x25aade),'session_id':_0xa83b47[_0x42555f(0x1c8)]}};}else{if(_0x15a187['JoNcv'](_0x4baa8f[_0x42555f(0x1c7)][_0x42555f(0x1e8)],_0x15a187[_0x42555f(0x1a9)])){const _0x5c3ce4=PlaywrightSessionDetails[_0x42555f(0x1a3)]();_0x73a40b=_0x5c3ce4[_0x42555f(0x1a4)]||_0x73a40b;const _0x52e6ba=_0x15a187[_0x42555f(0x1a7)](nestedKeyValue,_0x4baa8f,[_0x15a187[_0x42555f(0x1e4)],_0x15a187['bNhki'],_0x15a187[_0x42555f(0x1bf)]]),_0x3f7474=_0x52e6ba?JSON[_0x42555f(0x1ac)](new URL(_0x52e6ba)[_0x42555f(0x1e9)]['get'](_0x15a187[_0x42555f(0x1da)])):{};return{[_0x73a40b]:{'browser':_0x5c3ce4[_0x42555f(0x1ce)]||_0x3f7474['browserName'],'browser_version':_0x5c3ce4[_0x42555f(0x1bc)]||_0x3f7474['browser_version'],'capabilities':_0x3f7474,'platform':_0x5c3ce4[_0x42555f(0x1ec)],'platform_version':_0x5c3ce4[_0x42555f(0x1dc)],'product':_0x15a187['Jluax'](getObservabilityLinkedProductName,_0x3f7474),'session_id':_0x5c3ce4[_0x42555f(0x1b9)]}};}}},exports[a3_0x5bc84f(0x1a8)]=_0x307247=>{const _0x20b91d=a3_0x5bc84f,_0x16a92f={'xdMeH':function(_0x58b735){return _0x58b735();},'zGSHo':function(_0x22983b,_0x18620b){return _0x22983b===_0x18620b;},'oRUgi':_0x20b91d(0x1cf),'uBJID':function(_0x56ae9b,_0x3cce2b){return _0x56ae9b>_0x3cce2b;},'pkNsL':function(_0x9ef54e,_0x3a0673){return _0x9ef54e(_0x3a0673);},'xoPnh':_0x20b91d(0x1df),'PjWTg':function(_0x2d4747,_0xc3dd51){return _0x2d4747===_0xc3dd51;},'crRoy':_0x20b91d(0x1ea),'FDVsi':'playwright-chromium','IfKBu':_0x20b91d(0x1d8),'JgFFV':function(_0x1877f7,_0x438467){return _0x1877f7(_0x438467);},'ApRzU':_0x20b91d(0x1e3)};if(_0x16a92f[_0x20b91d(0x1d7)](isAccessibilityAutomationSession)){const _0x2fc7ca=_0x307247[_0x20b91d(0x1ce)],_0x351798=_0x2fc7ca[_0x20b91d(0x1dd)];global['accessibilityPlatform']=!![],!(_0x16a92f[_0x20b91d(0x1c4)](_0x351798[_0x20b91d(0x1c9)],_0x16a92f[_0x20b91d(0x1e7)])||_0x16a92f[_0x20b91d(0x1c3)](_0x16a92f[_0x20b91d(0x1b3)](parseInt,_0x351798['browserVersion']),0x5e))&&(logger[_0x20b91d(0x1e1)](_0x16a92f[_0x20b91d(0x1bb)]),global['accessibilityPlatform']=![]),!(_0x16a92f[_0x20b91d(0x1e0)](_0x351798[_0x20b91d(0x1b0)],_0x16a92f[_0x20b91d(0x1ad)])||_0x16a92f[_0x20b91d(0x1c4)](_0x351798[_0x20b91d(0x1b0)],_0x16a92f[_0x20b91d(0x1d3)]))&&(logger[_0x20b91d(0x1e1)](_0x16a92f[_0x20b91d(0x1d0)]),global[_0x20b91d(0x1ed)]=![]),!_0x16a92f[_0x20b91d(0x1ee)](isUndefined,_0x351798[_0x20b91d(0x1c6)])&&(logger['warn'](_0x16a92f['ApRzU']),global[_0x20b91d(0x1ed)]=![]);}},exports[a3_0x5bc84f(0x1b5)]=_0x3d4322=>{const _0xf5615c=a3_0x5bc84f,_0x4de9cb={};_0x4de9cb['uEDTf']=_0xf5615c(0x1d1),_0x4de9cb['syaVE']=_0xf5615c(0x1e6);const _0x362fef=_0x4de9cb;if(!_0x3d4322)return![];return!_0x3d4322[_0xf5615c(0x1b7)](_0x362fef[_0xf5615c(0x1ae)])&&!_0x3d4322['includes'](_0x362fef[_0xf5615c(0x1c1)]);};
|
|
@@ -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
|
+
function a4_0xe5b1(){const _0x1811ca=['TestRunSkipped','markedStatus','started','_testEnv','_afterAll','hookAnalyticsId','kWgGE','currentTest','ZnMgU','HookRunStarted','PLAYWRIGHT_HUB_URL','prototype','initializeBddStep','codeceptjs','join','getHooksForTest','wsEndpoint','failure_reason_expanded','bddSteps','getFailureType','fullTitle','mapTestHooks','body','status','11KVoIPS','jknAh','_afterEach','BMPRI','UfADj','DeYJK','hook_run','exports','statSync','failed','uuid','AjsoM','MDoAn','toString','jzKjS','includes','QRcMP','defineProperty','eILzU','DMWkF','.git','test','TEST_EVENTS','xWXLO','event_type','match','parent','debug','config','prefixTestPath','launch','test_run','Not\x20able\x20to\x20import\x20Browser','GCLjr','../../helpers/testhub/utils.js','../../helpers/test-observability/utils','client','jWzNZ','OqwIg','meta','sendCBTInfo','hook_run_uuid','sep','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','tkpVd','getHierarchy','doVZT','name','dCzGi','gZQgX','5665464KMCkVK','uploadEventData','type','CmysW','IvAqD','Failed\x20to\x20parse\x20wsendpoint\x20','HOOK_RUN_FINISHED','10lFEsbY','path','push','IXdxx','success','25xJnJef','4797042XSSakD','MCofF','../../helpers/helper','msCks','file_name','STATE_FAILED','ftMuy','suites','browserstack','zDgnE','KCZdg','kHxlc','SRjiH','../playwright/sessionDetails','logs','../../helpers/test-observability/constants','SJPfO','finished_at','accessibilityPlatform','retryOf','yeKqI','browserType.js','Bkntx','Kidmz','skipped','hooks','894172xWESFO','TEST_RUN_STARTED','../playwright/accessibility-helper','ApAft','rPDRl','now','TEST_RUN_SKIPPED','forEach','integrations','util','qksEr','PathHelper','currentHook','dirname','pYCJE','text','enabled','shutdown','apply','winstonLogger','frameworkName','stepAnalyticsId','_beforeEach','../mocha/test-observability/mochaUtils','appendTestItemLog','\x20with\x20error\x20:\x20','length','File\x20path\x20could\x20not\x20be\x20found','gFGeu','startedAt','getTime','file','O11yHelper','vLpuq','hook_type','constructor','relative','Playwright','replace','AkxvB','getHookType','LxQyw','concat','pWWyQ','TestRunFinished','hkhdm','keyword','pending','fireEvent','Segwa','KQCQU','hIgGx','removeAllListeners','ctx','start','bddStepFinish','ivwzQ','duration','adjFA','HOOK_RUN_STARTED','1|0|4|3|5|2','connect','getRootParentFile','7LepzAy','getInstance','./helper.js','ZfrMo','split','JHUOZ','ANDZZ','passed','QpaMG','6UaKusY','bs:addLog:','err','_paths','testAnalyticsId','PIKsk','find','IRGiE','obsBrowserTypeMockApplied','backtrace','failure','83855FuAkNl','patchConsoleLogger','driver','jQBlC','hook','message','comment','RCWNE','nymuz','RNGQA','title','ogOUb','bddStepStart','XnNdO','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','FctOa','bind','toISOString','_beforeAll','1486833XjhRaG','test_run_uuid','result','../utils/constants','failure_backtrace','errorsDetailed','pdqsj','KJCDR','lib','tags','groups','findGitConfig','BrowserType','getCBTInfo','bCwio','finished','PDhXN','__platformCaps','10795797ayhuKX','FAqIN','then','__cloud_provider___','CVPvn','pid','failureData','hxDTf','kFuVX','6288636fvnxPN','setupBrowserDetails','toUpperCase','resetSkipTestHooks','XtTrm','LzMfu','pDYOz','nAUnM','TEST_RUN_FINISHED'];a4_0xe5b1=function(){return _0x1811ca;};return a4_0xe5b1();}const a4_0x2472c8=a4_0x38ff;(function(_0x4d0ab7,_0x117493){const _0x517a9a=a4_0x38ff,_0x167e3a=_0x4d0ab7();while(!![]){try{const _0x43e9b9=parseInt(_0x517a9a(0xe4))/0x1+-parseInt(_0x517a9a(0xd9))/0x2*(-parseInt(_0x517a9a(0xf7))/0x3)+parseInt(_0x517a9a(0x18c))/0x4*(parseInt(_0x517a9a(0x171))/0x5)+-parseInt(_0x517a9a(0x172))/0x6*(parseInt(_0x517a9a(0xd0))/0x7)+parseInt(_0x517a9a(0x165))/0x8+parseInt(_0x517a9a(0x109))/0x9*(-parseInt(_0x517a9a(0x16c))/0xa)+-parseInt(_0x517a9a(0x133))/0xb*(parseInt(_0x517a9a(0x112))/0xc);if(_0x43e9b9===_0x117493)break;else _0x167e3a['push'](_0x167e3a['shift']());}catch(_0x5985bb){_0x167e3a['push'](_0x167e3a['shift']());}}}(a4_0xe5b1,0xd5415));const path=require(a4_0x2472c8(0x16d)),fs=require('fs'),{v4:uuidv4}=require(a4_0x2472c8(0x13d)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x2472c8(0x174)),testOpsHelper=require(a4_0x2472c8(0x156)),{getTestEnv}=require(a4_0x2472c8(0xa8)),{FRAMEWORKS}=require(a4_0x2472c8(0x181)),logger=require('../../helpers/logger')[a4_0x2472c8(0x19f)],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),PlaywrightSessionDetails=require(a4_0x2472c8(0x17f)),debug=testOpsHelper[a4_0x2472c8(0x14e)],{processAccessibilityCaps}=require(a4_0x2472c8(0x18e)),Constants=require(a4_0x2472c8(0xfa)),{fetchPlatformDetails}=require(a4_0x2472c8(0xd2)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x2472c8(0x155)),STATE_PASSED=a4_0x2472c8(0xd7),STATE_FAILED=a4_0x2472c8(0x13c),a4_0xb3cea2={};a4_0xb3cea2[a4_0x2472c8(0x18d)]='TestRunStarted',a4_0xb3cea2[a4_0x2472c8(0x11a)]=a4_0x2472c8(0xbd),a4_0xb3cea2[a4_0x2472c8(0x192)]=a4_0x2472c8(0x11b),a4_0xb3cea2[a4_0x2472c8(0xcc)]=a4_0x2472c8(0x124),a4_0xb3cea2[a4_0x2472c8(0x16b)]='HookRunFinished';const TEST_EVENTS=a4_0xb3cea2,parseEvent=_0x3efcf7=>{const _0x5712e6=a4_0x2472c8,_0x89a98={};_0x89a98['AkxvB']=function(_0x10ff1f,_0x560e66){return _0x10ff1f<_0x560e66;},_0x89a98[_0x5712e6(0xad)]=function(_0xc34020,_0x26d21d){return _0xc34020===_0x26d21d;},_0x89a98[_0x5712e6(0xc3)]=_0x5712e6(0x148),_0x89a98[_0x5712e6(0xba)]=function(_0x4277ea,_0x1b9dec){return _0x4277ea===_0x1b9dec;},_0x89a98[_0x5712e6(0x117)]='hook',_0x89a98[_0x5712e6(0x178)]=_0x5712e6(0x18a),_0x89a98[_0x5712e6(0x164)]=function(_0x2de1ed,_0x38db24){return _0x2de1ed===_0x38db24;},_0x89a98[_0x5712e6(0x119)]=_0x5712e6(0x11d),_0x89a98[_0x5712e6(0x110)]=_0x5712e6(0x106);const _0x2064b1=_0x89a98,_0x284073=_0x3efcf7[_0x5712e6(0x14c)](/^(.*)Run(.*)$/);if(!_0x284073)return null;if(_0x2064b1[_0x5712e6(0xb8)](_0x284073['length'],0x3))return null;const _0x16aba0=_0x284073[0x1]['toLowerCase'](),_0x5b625e=_0x284073[0x2]['toLowerCase']();return{'test':_0x2064b1[_0x5712e6(0xad)](_0x16aba0,_0x2064b1[_0x5712e6(0xc3)]),'hook':_0x2064b1[_0x5712e6(0xba)](_0x16aba0,_0x2064b1[_0x5712e6(0x117)]),'skipped':_0x2064b1[_0x5712e6(0xba)](_0x5b625e,_0x2064b1[_0x5712e6(0x178)]),'started':_0x2064b1[_0x5712e6(0x164)](_0x5b625e,_0x2064b1[_0x5712e6(0x119)]),'finished':_0x2064b1[_0x5712e6(0xba)](_0x5b625e,_0x2064b1[_0x5712e6(0x110)])};},mockPWBrowserType=_0x457aab=>{const _0x2b26a4=a4_0x2472c8,_0x5227ba={'msCks':function(_0x554614,_0x15550b){return _0x554614===_0x15550b;},'MDoAn':'string','XnNdO':function(_0x20b98c,_0xb737b,_0xbdc063){return _0x20b98c(_0xb737b,_0xbdc063);},'rPDRl':'wsEndpoint','IXdxx':function(_0x2eff9d,_0x10bedb){return _0x2eff9d(_0x10bedb);},'wbjOj':_0x2b26a4(0x17a),'ZfrMo':_0x2b26a4(0xff),'ivwzQ':_0x2b26a4(0x157),'jQBlC':_0x2b26a4(0x187),'hfJWg':function(_0x45e53b,_0x3ca7c0){return _0x45e53b(_0x3ca7c0);},'mEihg':_0x2b26a4(0x153),'XMgpP':_0x2b26a4(0xce),'jknAh':_0x2b26a4(0x151)},_0x4ee9ab=path[_0x2b26a4(0x129)](_0x5227ba[_0x2b26a4(0xd3)],_0x5227ba[_0x2b26a4(0xc9)],_0x5227ba[_0x2b26a4(0xe7)]),_0x17a71a=_0x5227ba['hfJWg'](importFileFromPWCore,_0x4ee9ab);if(!_0x17a71a){_0x5227ba[_0x2b26a4(0x16f)](debug,_0x5227ba['mEihg']);return;}const _0x39a527=_0x17a71a[_0x2b26a4(0x103)],_0x491b1a=_0x39a527[_0x2b26a4(0x126)];if(_0x491b1a[_0x2b26a4(0xe1)])return;const _0x7d0e63=_0x491b1a[_0x2b26a4(0xce)];Object[_0x2b26a4(0x144)](_0x491b1a,_0x5227ba['XMgpP'],{'get':function(){const _0x15d24d=_0x2b26a4,_0x9123cc={'ApAft':function(_0x5a59e3,_0x1ce94e){const _0x5b9ef9=a4_0x38ff;return _0x5227ba[_0x5b9ef9(0x175)](_0x5a59e3,_0x1ce94e);},'rKcVf':_0x5227ba[_0x15d24d(0x13f)],'BMPRI':function(_0x3275ea,_0x3deabe,_0x40e185){const _0xf9a92a=_0x15d24d;return _0x5227ba[_0xf9a92a(0xf1)](_0x3275ea,_0x3deabe,_0x40e185);},'SJPfO':_0x5227ba[_0x15d24d(0x190)],'pYCJE':function(_0x281f80,_0x423d38){const _0x38efa5=_0x15d24d;return _0x5227ba[_0x38efa5(0x16f)](_0x281f80,_0x423d38);},'jWzNZ':_0x5227ba['wbjOj']};return async function _0x4f49f8(_0xa6ba5f,_0x42e326){const _0x4d3cbe=_0x15d24d,_0x23f326={'PIfCp':function(_0x2fb54f,_0x2752b7){const _0x2d2541=a4_0x38ff;return _0x9123cc[_0x2d2541(0x18f)](_0x2fb54f,_0x2752b7);},'DMWkF':_0x9123cc['rKcVf']},_0xbc29d0=_0x9123cc[_0x4d3cbe(0x136)](nestedKeyValue,_0xa6ba5f,[_0x9123cc[_0x4d3cbe(0x182)]])||_0xa6ba5f;let _0x31cb06=null,_0x989f3e=null;try{[_0x989f3e,_0x31cb06]=_0xbc29d0?_0x9123cc[_0x4d3cbe(0x19a)](parseWSEndpoint,_0xbc29d0):[null,null],global[_0x4d3cbe(0x108)]=_0x31cb06,_0x989f3e[_0x4d3cbe(0x142)](_0x9123cc[_0x4d3cbe(0x158)])&&(global[_0x4d3cbe(0x10c)]=_0x9123cc[_0x4d3cbe(0x158)]);}catch(_0x1730c2){logger['debug'](_0x4d3cbe(0x16a)+_0xbc29d0+'\x20'+_0x1730c2);}_0x9123cc[_0x4d3cbe(0x136)](processAccessibilityCaps,_0x31cb06,_0x989f3e);if(global[_0x4d3cbe(0x184)]){const _0x248e93=await _0x491b1a['connectOverCDP'][_0x4d3cbe(0x19e)](this,[''+Constants[_0x4d3cbe(0x125)]+_0x9123cc['pYCJE'](encodeURIComponent,JSON['stringify'](_0x31cb06))]);return PlaywrightSessionDetails[_0x4d3cbe(0x113)](_0x248e93,_0x457aab,_0xbc29d0),_0x248e93;}return _0x7d0e63[_0x4d3cbe(0x19e)](this,arguments)[_0x4d3cbe(0x10b)](_0x2e4af2=>{const _0x6930c0=_0x4d3cbe;let _0x2ad6f7=_0xa6ba5f[_0x6930c0(0x12b)];return _0x23f326['PIfCp'](typeof _0xa6ba5f,_0x23f326[_0x6930c0(0x146)])&&(_0x2ad6f7=_0xa6ba5f),PlaywrightSessionDetails[_0x6930c0(0x113)](_0x2e4af2,_0x457aab,_0x2ad6f7),_0x2e4af2;});};}});const _0x41fa87=_0x491b1a[_0x2b26a4(0x151)];Object['defineProperty'](_0x491b1a,_0x5227ba[_0x2b26a4(0x134)],{'get':function(){return async function _0x5c6da7(){return _0x41fa87['apply'](this,arguments)['then'](_0x341168=>{const _0x402db6=a4_0x38ff;return PlaywrightSessionDetails[_0x402db6(0x113)](_0x341168,null),_0x341168;});};}});};function a4_0x38ff(_0x3695f4,_0x1a3ea2){const _0xe5b16e=a4_0xe5b1();return a4_0x38ff=function(_0x38ff99,_0x5077c8){_0x38ff99=_0x38ff99-0xa8;let _0x5e18df=_0xe5b16e[_0x38ff99];return _0x5e18df;},a4_0x38ff(_0x3695f4,_0x1a3ea2);}class O11yHelper{['currentTest']=null;[a4_0x2472c8(0x198)]=null;[a4_0x2472c8(0x19c)]=![];[a4_0x2472c8(0x1a0)]=![];constructor(_0x51bce6,_0x51f127){const _0x20004a=a4_0x2472c8,_0x5942c7={'ANDZZ':_0x20004a(0xcd),'PIKsk':function(_0xd95e6f){return _0xd95e6f();},'lMePk':function(_0x457f3d,_0x59a5bc){return _0x457f3d===_0x59a5bc;},'exwyK':_0x20004a(0xb6),'wrOpw':function(_0x37e01b,_0x471f63){return _0x37e01b(_0x471f63);},'hkhdm':function(_0xbcc0ac){return _0xbcc0ac();}},_0x13761e=_0x5942c7[_0x20004a(0xd6)][_0x20004a(0xd4)]('|');let _0x1812a3=0x0;while(!![]){switch(_0x13761e[_0x1812a3++]){case'0':this[_0x20004a(0x1a0)]=_0x51f127[_0x20004a(0x1a0)];continue;case'1':this[_0x20004a(0x19c)]=_0x5942c7[_0x20004a(0xde)](shouldProcessEventForTesthub);continue;case'2':this[_0x20004a(0xe6)]&&_0x5942c7['lMePk'](this[_0x20004a(0xe6)][_0x20004a(0xb4)][_0x20004a(0x162)],_0x5942c7['exwyK'])&&_0x5942c7['wrOpw'](mockPWBrowserType,null);continue;case'3':this[_0x20004a(0x11e)]=_0x5942c7[_0x20004a(0xbe)](getTestEnv);continue;case'4':this[_0x20004a(0xe6)]=_0x51bce6;continue;case'5':this[_0x20004a(0xdc)]=new testOpsHelper[(_0x20004a(0x197))]({'cwd':process['cwd']()},this[_0x20004a(0x11e)]['location_prefix']);continue;}break;}}[a4_0x2472c8(0xc7)](){const _0x206be9=a4_0x2472c8;if(!this['enabled'])return;testOpsHelper[_0x206be9(0xe5)](),process[_0x206be9(0xc5)]('bs:addLog:'+process[_0x206be9(0x10e)]),process['on'](_0x206be9(0xda)+process[_0x206be9(0x10e)],this[_0x206be9(0xa9)][_0x206be9(0xf4)](this));}async['stop'](){const _0x1f899d=a4_0x2472c8;await RequestQueueHandler[_0x1f899d(0xd1)]()[_0x1f899d(0x19d)]();}async['appendTestItemLog'](_0x332d01){const _0x3d59ad=a4_0x2472c8,_0x58866a={'QRcMP':'LogCreated','bCwio':function(_0x1984c4,_0x27848e){return _0x1984c4(_0x27848e);}};try{this[_0x3d59ad(0x198)]&&!this[_0x3d59ad(0x198)][_0x3d59ad(0x11c)]&&(_0x332d01[_0x3d59ad(0x15c)]=this[_0x3d59ad(0x198)][_0x3d59ad(0x120)]);!_0x332d01[_0x3d59ad(0x15c)]&&this['currentTest']&&!this[_0x3d59ad(0x122)]['markedStatus']&&(_0x332d01['test_run_uuid']=this['currentTest'][_0x3d59ad(0xdd)]);if(_0x332d01[_0x3d59ad(0x15c)]||_0x332d01[_0x3d59ad(0xf8)]){const _0x36bc19={};_0x36bc19[_0x3d59ad(0x14b)]=_0x58866a[_0x3d59ad(0x143)],_0x36bc19[_0x3d59ad(0x180)]=[_0x332d01],await SessionHandler['uploadEventData'](_0x36bc19);}}catch(_0x23000c){_0x58866a[_0x3d59ad(0x105)](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x23000c);}}async[a4_0x2472c8(0x15b)](_0xe031ff){const _0x4dc236=a4_0x2472c8,_0xc9f1d8={'rpZLa':'CBTSessionCreated','AjsoM':function(_0x3d7163,_0x5250e6){return _0x3d7163(_0x5250e6);}};if(!this['enabled'])return;const _0x401720=this['getCBTInfo'](this[_0x4dc236(0xe6)]);try{const _0x2d01b1={};_0x2d01b1[_0x4dc236(0x13d)]=_0xe031ff,_0x2d01b1[_0x4dc236(0x194)]=_0x401720;const _0x34b8ed=_0x2d01b1,_0x39d7e4={};_0x39d7e4[_0x4dc236(0x14b)]=_0xc9f1d8['rpZLa'],_0x39d7e4['test_run']=_0x34b8ed,await SessionHandler[_0x4dc236(0x166)](_0x39d7e4);}catch(_0x42a09e){_0xc9f1d8[_0x4dc236(0x13e)](debug,_0x4dc236(0x15e)+_0x42a09e);}}[a4_0x2472c8(0x104)](_0x4418a7){const _0x28e024={'URJjb':function(_0x10d651,_0x1119ab){return _0x10d651(_0x1119ab);}};return _0x28e024['URJjb'](fetchPlatformDetails,_0x4418a7);}[a4_0x2472c8(0x115)]=_0x401f8c=>{const _0x280f96=a4_0x2472c8,_0x126640={};_0x126640[_0x280f96(0x141)]=_0x280f96(0x1a2),_0x126640[_0x280f96(0x17e)]=_0x280f96(0x135);const _0x5120de=_0x126640;if(!_0x401f8c||!_0x401f8c[_0x280f96(0x14d)])return;[_0x5120de[_0x280f96(0x141)],_0x5120de[_0x280f96(0x17e)]][_0x280f96(0x193)](_0x26740d=>{const _0x3805d8=_0x280f96,_0x21fdca=_0x401f8c[_0x3805d8(0x14d)][_0x26740d];_0x21fdca[_0x3805d8(0x193)](_0x4f53cf=>{const _0x3b937c=_0x3805d8;_0x4f53cf['hookAnalyticsId']&&(_0x4f53cf[_0x3b937c(0x120)]=null);});});};[a4_0x2472c8(0x130)](_0x13e675){const _0x8ebbdb=a4_0x2472c8,_0xc27fcc={'OqwIg':_0x8ebbdb(0x128),'JHUOZ':function(_0x598141){return _0x598141();},'CmysW':function(_0x16e4ab,_0x1c5395){return _0x16e4ab===_0x1c5395;},'vLpuq':_0x8ebbdb(0x135),'miKjE':_0x8ebbdb(0xf6),'yeKqI':_0x8ebbdb(0x11f),'IvAqD':_0x8ebbdb(0x1a2)};if(!_0x13e675||!_0x13e675[_0x8ebbdb(0x14d)])return;[_0xc27fcc['miKjE'],_0xc27fcc[_0x8ebbdb(0x186)],_0xc27fcc[_0x8ebbdb(0x169)],_0xc27fcc[_0x8ebbdb(0xb2)]]['forEach'](_0xfdbb67=>{const _0x4cffee=_0x8ebbdb,_0xb18676={'Kidmz':_0xc27fcc[_0x4cffee(0x159)],'KJCDR':function(_0x32bd46){const _0x382237=_0x4cffee;return _0xc27fcc[_0x382237(0xd5)](_0x32bd46);},'KNhoJ':function(_0x496201,_0xe78d6e){const _0x445b35=_0x4cffee;return _0xc27fcc[_0x445b35(0x168)](_0x496201,_0xe78d6e);},'qksEr':_0xc27fcc[_0x4cffee(0xb2)]},_0xaec5f7=_0x13e675['parent'][_0xfdbb67]||[];_0xaec5f7[_0x4cffee(0x193)](_0x4c6f14=>{const _0x4be354=_0x4cffee;if(_0x4c6f14['title'][_0x4be354(0x142)](_0xb18676[_0x4be354(0x189)]))return;if(!_0x4c6f14['hookAnalyticsId'])_0x4c6f14['hookAnalyticsId']=_0xb18676[_0x4be354(0xfe)](uuidv4);else _0x4c6f14[_0x4be354(0x11c)]&&_0xb18676['KNhoJ'](_0xfdbb67,_0xb18676[_0x4be354(0x196)])&&(_0x4c6f14[_0x4be354(0x120)]=_0xb18676[_0x4be354(0xfe)](uuidv4),delete _0x4c6f14[_0x4be354(0x11c)]);});}),this[_0x8ebbdb(0x130)](_0x13e675[_0x8ebbdb(0x14d)]);}[a4_0x2472c8(0x12a)](_0x2992dd){const _0x3e6083=a4_0x2472c8,_0x157e51={};_0x157e51[_0x3e6083(0xe0)]=_0x3e6083(0xf6),_0x157e51['nKeDX']=_0x3e6083(0x11f),_0x157e51[_0x3e6083(0xbc)]=_0x3e6083(0x1a2),_0x157e51['adjFA']=_0x3e6083(0x135);const _0x2d1ee3=_0x157e51;if(!_0x2992dd||!_0x2992dd[_0x3e6083(0x14d)])return[];const _0xa9812b=[];return[_0x2d1ee3[_0x3e6083(0xe0)],_0x2d1ee3['nKeDX'],_0x2d1ee3[_0x3e6083(0xbc)],_0x2d1ee3[_0x3e6083(0xcb)]][_0x3e6083(0x193)](_0x450188=>{const _0x1ab43c=_0x3e6083,_0xfb1ca6=_0x2992dd[_0x1ab43c(0x14d)][_0x450188]||[];_0xfb1ca6[_0x1ab43c(0x193)](_0x359613=>{const _0x2d3f2d=_0x1ab43c;_0x359613[_0x2d3f2d(0x120)]&&_0xa9812b[_0x2d3f2d(0x16e)](_0x359613[_0x2d3f2d(0x120)]);});}),[][_0x3e6083(0xbb)](_0xa9812b,this[_0x3e6083(0x12a)](_0x2992dd[_0x3e6083(0x14d)]));}[a4_0x2472c8(0xb9)](_0x78b367){const _0x2dbe55=a4_0x2472c8,_0x1e478e=/^"(?<hook>.*)" hook:.*$/,_0x23e5b8=_0x78b367[_0x2dbe55(0xee)],_0x50e895=_0x23e5b8['match'](_0x1e478e);if(_0x50e895&&_0x50e895['groups'])return _0x50e895[_0x2dbe55(0x101)][_0x2dbe55(0xe8)][_0x2dbe55(0x114)]()[_0x2dbe55(0xb7)]('\x20','_');return null;}[a4_0x2472c8(0x102)](_0x35ff60){const _0x29af09=a4_0x2472c8,_0x740c35={};_0x740c35[_0x29af09(0x17c)]=function(_0x3d9ab9,_0x5c3871){return _0x3d9ab9===_0x5c3871;},_0x740c35[_0x29af09(0x15f)]=function(_0x3747f6,_0x4c7de4){return _0x3747f6===_0x4c7de4;},_0x740c35['fZiCP']=_0x29af09(0x147),_0x740c35[_0x29af09(0x111)]=_0x29af09(0x14f);const _0x552670=_0x740c35,_0x3bc769=path[_0x29af09(0x15d)];if(_0x552670[_0x29af09(0x17c)](_0x35ff60,null)||_0x552670[_0x29af09(0x15f)](_0x35ff60,'')||_0x552670[_0x29af09(0x17c)](_0x35ff60,_0x3bc769)||_0x552670['tkpVd'](_0x35ff60,path[_0x29af09(0x199)](_0x35ff60)))return null;try{return fs[_0x29af09(0x13b)](path['join'](_0x35ff60,_0x552670['fZiCP'],_0x552670['kFuVX'])),_0x35ff60;}catch(_0x5d0fe5){const _0x8c2449=path['dirname'](_0x35ff60);return this['findGitConfig'](_0x8c2449);}}['getRootParentFile'](_0x34933e){const _0x5dc377=a4_0x2472c8,_0x39b92f={};_0x39b92f[_0x5dc377(0xef)]=function(_0x1355fd,_0xffda0d){return _0x1355fd>_0xffda0d;};const _0x54bb2a=_0x39b92f;if(_0x34933e[_0x5dc377(0xb0)])return _0x34933e[_0x5dc377(0xb0)];if(_0x34933e['ctx']){const _0x3d7db2=_0x34933e[_0x5dc377(0xc6)][_0x5dc377(0x122)]?this[_0x5dc377(0xcf)](_0x34933e[_0x5dc377(0xc6)][_0x5dc377(0x122)]):null;if(_0x3d7db2)return _0x3d7db2;}if(_0x34933e[_0x5dc377(0x14d)]){const _0x1d594b=this['getRootParentFile'](_0x34933e[_0x5dc377(0x14d)])||(_0x34933e[_0x5dc377(0x14d)][_0x5dc377(0xc6)]&&_0x34933e[_0x5dc377(0x14d)][_0x5dc377(0xc6)]['currentTest']?this[_0x5dc377(0xcf)](_0x34933e[_0x5dc377(0x14d)][_0x5dc377(0xc6)]['currentTest']):null);if(_0x1d594b)return _0x1d594b;_0x34933e[_0x5dc377(0x14d)][_0x5dc377(0x179)]&&_0x54bb2a[_0x5dc377(0xef)](_0x34933e[_0x5dc377(0x14d)]['suites'][_0x5dc377(0xab)],0x0)&&_0x34933e[_0x5dc377(0x14d)]['suites'][_0x5dc377(0x193)](_0x454079=>{const _0x163682=_0x5dc377,_0x3b6467=_0x454079['ctx']?this[_0x163682(0xcf)](_0x454079[_0x163682(0xc6)]):null;if(_0x3b6467)return _0x3b6467;});}return null;}['getHierarchy'](_0x4634a0){const _0x382a12=a4_0x2472c8,_0x153e07={};_0x153e07[_0x382a12(0x10d)]=function(_0x151348,_0x10b2ce){return _0x151348!==_0x10b2ce;};const _0x41b930=_0x153e07,_0x1d13d0=[];if(_0x4634a0&&_0x4634a0[_0x382a12(0x14d)]){let _0x3986ad=_0x4634a0[_0x382a12(0x14d)];while(_0x3986ad&&_0x41b930[_0x382a12(0x10d)](_0x3986ad[_0x382a12(0xee)],'')){_0x1d13d0[_0x382a12(0x16e)](_0x3986ad['title']),_0x3986ad=_0x3986ad[_0x382a12(0x14d)];}}return _0x1d13d0;}['captureEvent'](_0x56f7dc,_0x3ecb3e,_0x2f8e40=undefined){const _0x11a4c2=a4_0x2472c8,_0x25aeeb={'RCWNE':function(_0x210a0d,_0x547d13){return _0x210a0d(_0x547d13);},'MCofF':function(_0x146b5f){return _0x146b5f();},'kHxlc':function(_0x75bddf){return _0x75bddf();},'YEUZo':function(_0x175f19,_0x392cc4){return _0x175f19(_0x392cc4);},'eILzU':_0x11a4c2(0x195),'dCzGi':_0x11a4c2(0xdb),'GCLjr':function(_0x59af03,_0x27d0f3){return _0x59af03!==_0x27d0f3;},'RNGQA':function(_0x10b7ad,_0x511b1c){return _0x10b7ad!==_0x511b1c;},'INEYD':_0x11a4c2(0xac),'Segwa':'pending','nymuz':'failed','pdqsj':_0x11a4c2(0xd7),'Bkntx':_0x11a4c2(0x18a),'ZnMgU':'javascript','DOYId':function(_0x1ff8d4,_0x3ef8bc){return _0x1ff8d4-_0x3ef8bc;},'MLkGg':function(_0x172b28,_0x34fc32,_0x201cba,_0x562eae,_0x4f4a0c){return _0x172b28(_0x34fc32,_0x201cba,_0x562eae,_0x4f4a0c);},'PDhXN':'integrations','pDYOz':_0x11a4c2(0x15a),'xWXLO':_0x11a4c2(0xe3),'gBSxY':_0x11a4c2(0xfb),'UfADj':_0x11a4c2(0xe2),'zDgnE':_0x11a4c2(0x12c),'FctOa':'expanded','DeYJK':function(_0x56039c,_0x5e3046){return _0x56039c===_0x5e3046;},'dZjlg':_0x11a4c2(0x139),'RFBPA':_0x11a4c2(0x152)};if(!this[_0x11a4c2(0x19c)])return;try{if(_0x3ecb3e['fn']&&_0x3ecb3e['fn'][_0x11a4c2(0x140)]()[_0x11a4c2(0x14c)](/browserstack internal helper hook/))return;const _0x5ddb73=_0x25aeeb[_0x11a4c2(0xeb)](parseEvent,_0x56f7dc);if(!_0x5ddb73)return;if(_0x5ddb73[_0x11a4c2(0x148)]){this[_0x11a4c2(0x122)]=_0x3ecb3e,this[_0x11a4c2(0x198)]=null;if(_0x5ddb73[_0x11a4c2(0x11d)]||_0x5ddb73[_0x11a4c2(0x18a)]){_0x3ecb3e[_0x11a4c2(0xae)]=new Date(),_0x3ecb3e[_0x11a4c2(0x11c)]=![];if(!_0x3ecb3e['testAnalyticsId'])_0x3ecb3e['testAnalyticsId']=_0x25aeeb[_0x11a4c2(0x173)](uuidv4);else _0x3ecb3e['markedStatus']&&(!_0x3ecb3e['retryOf']&&(_0x3ecb3e[_0x11a4c2(0x185)]=_0x3ecb3e[_0x11a4c2(0xdd)]),_0x3ecb3e[_0x11a4c2(0xdd)]=_0x25aeeb[_0x11a4c2(0x173)](uuidv4));}}else{if(_0x5ddb73[_0x11a4c2(0xe8)]){this[_0x11a4c2(0x198)]=_0x3ecb3e;if(_0x5ddb73[_0x11a4c2(0x11d)]){_0x3ecb3e[_0x11a4c2(0xae)]=new Date(),_0x3ecb3e['markedStatus']=![];if(!_0x3ecb3e[_0x11a4c2(0x120)])_0x3ecb3e['hookAnalyticsId']=_0x25aeeb[_0x11a4c2(0x17d)](uuidv4);else _0x3ecb3e['hookAnalyticsId']&&_0x3ecb3e['markedStatus']&&(_0x3ecb3e[_0x11a4c2(0x120)]=_0x25aeeb['kHxlc'](uuidv4));}}}if(_0x5ddb73['finished']&&_0x3ecb3e['markedStatus'])return;let _0x1c2842;try{_0x1c2842=this[_0x11a4c2(0xcf)](_0x3ecb3e);}catch(_0x4262a8){logger[_0x11a4c2(0x14e)]('failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x4262a8),_0x1c2842=null;}const _0x45444e=_0x25aeeb['YEUZo'](require,_0x25aeeb[_0x11a4c2(0x145)]);let _0x4b9a6e=[];_0x2f8e40&&(_0x4b9a6e=[_0x2f8e40,_0x25aeeb[_0x11a4c2(0x163)]]);const _0x1958dd=_0x25aeeb[_0x11a4c2(0x154)](_0x3ecb3e[_0x11a4c2(0xfc)],undefined)?_0x45444e['inspect'](_0x3ecb3e['errorsDetailed'][0x0]):_0x25aeeb['RNGQA'](_0x2f8e40,undefined)?_0x2f8e40['toString']():undefined,_0x5b8a02=_0x1c2842?this['findGitConfig'](_0x1c2842):null,_0x4a38b8=_0x1c2842?this[_0x11a4c2(0xdc)][_0x11a4c2(0x150)](this[_0x11a4c2(0xcf)](_0x3ecb3e)):_0x25aeeb['INEYD'];let _0x4c7335=_0x25aeeb[_0x11a4c2(0xc2)];const _0x3277f4=!_0x5ddb73[_0x11a4c2(0x11d)]?new Date()['toISOString']():null;if(_0x5ddb73[_0x11a4c2(0x106)])_0x4c7335=_0x2f8e40?_0x25aeeb[_0x11a4c2(0xec)]:_0x25aeeb[_0x11a4c2(0xfd)],_0x3ecb3e[_0x11a4c2(0x11c)]=!![];else _0x5ddb73[_0x11a4c2(0x18a)]&&(_0x4c7335=_0x25aeeb[_0x11a4c2(0x188)],_0x3ecb3e[_0x11a4c2(0x11c)]=!![]);const _0xdf6f0c={'framework':this[_0x11a4c2(0x1a0)],'uuid':_0x3ecb3e['testAnalyticsId']||_0x3ecb3e['hookAnalyticsId'],'name':_0x3ecb3e[_0x11a4c2(0xee)],'body':{'lang':_0x25aeeb[_0x11a4c2(0x123)],'code':_0x3ecb3e[_0x11a4c2(0x131)][_0x11a4c2(0x140)]()},'type':_0x3ecb3e[_0x11a4c2(0x167)],'scope':_0x3ecb3e[_0x11a4c2(0x12f)](),'scopes':this[_0x11a4c2(0x160)](_0x3ecb3e),'file_name':_0x4a38b8,'vc_filepath':_0x5b8a02?path[_0x11a4c2(0xb5)](_0x5b8a02,_0x1c2842):null,'location':_0x4a38b8,'result':_0x4c7335,'failure_reason':_0x1958dd,'duration_in_ms':_0x3ecb3e[_0x11a4c2(0xca)]||(_0x5ddb73[_0x11a4c2(0x106)]||_0x5ddb73[_0x11a4c2(0x18a)])?_0x25aeeb['DOYId'](Date[_0x11a4c2(0x191)](),new Date(_0x3ecb3e[_0x11a4c2(0xae)])[_0x11a4c2(0xaf)]()):null,'started_at':new Date(_0x3ecb3e[_0x11a4c2(0xae)])['toISOString'](),'finished_at':_0x3277f4,'failure':testOpsHelper[_0x11a4c2(0x10f)][_0x11a4c2(0x19e)](null,_0x4b9a6e),'failure_type':!_0x1958dd?null:testOpsHelper[_0x11a4c2(0x12e)](_0x1958dd),'retry_of':_0x3ecb3e[_0x11a4c2(0x185)]||null,'tags':_0x3ecb3e[_0x11a4c2(0x100)]||[],'customRerunParam':{'rerun_name':_0x3ecb3e['fullTitle']()}};_0x25aeeb['MLkGg'](appendTesthubParams,_0xdf6f0c,_0x56f7dc,_0x3ecb3e,FRAMEWORKS['CODECEPT']);if(_0x5ddb73[_0x11a4c2(0xe8)])[_0xdf6f0c[_0x11a4c2(0xb3)],_0xdf6f0c['name']]=[this[_0x11a4c2(0xb9)](_0x3ecb3e),_0x3ecb3e[_0x11a4c2(0xc6)][_0x11a4c2(0x148)][_0x11a4c2(0xee)]],_0x5ddb73['finished']?_0x25aeeb[_0x11a4c2(0xed)](_0xdf6f0c[_0x11a4c2(0xf9)],_0x25aeeb[_0x11a4c2(0xec)])&&(_0xdf6f0c['result']=_0x25aeeb[_0x11a4c2(0xfd)]):_0xdf6f0c[_0x11a4c2(0x131)]={};else _0x5ddb73[_0x11a4c2(0x148)]&&(this[_0x11a4c2(0x130)](_0x3ecb3e),_0x5ddb73['skipped']&&this[_0x11a4c2(0x115)](_0x3ecb3e),(_0x5ddb73[_0x11a4c2(0x106)]||_0x5ddb73['skipped'])&&(_0xdf6f0c[_0x11a4c2(0x18b)]=this[_0x11a4c2(0x12a)](_0x3ecb3e)));this[_0x11a4c2(0xe6)]&&(_0x5ddb73[_0x11a4c2(0x11d)]||_0x5ddb73[_0x11a4c2(0x18a)])&&(_0xdf6f0c[_0x25aeeb[_0x11a4c2(0x107)]]=this[_0x11a4c2(0x104)](this['driver']));_0x5ddb73['test']&&_0x5ddb73['finished']&&_0x3ecb3e[_0x11a4c2(0x12d)]&&(_0xdf6f0c[_0x25aeeb[_0x11a4c2(0x118)]]={'feature':{'name':_0x3ecb3e['parent']['feature'][_0x11a4c2(0x162)],'path':_0xdf6f0c[_0x11a4c2(0x176)],'description':_0x3ecb3e[_0x11a4c2(0x14d)][_0x11a4c2(0xea)]},'scenario':{'name':_0x3ecb3e[_0x11a4c2(0xee)]},'steps':_0x3ecb3e['bddSteps']});const _0x30ed1f=_0xdf6f0c[_0x25aeeb[_0x11a4c2(0x14a)]][0x0];_0x30ed1f&&(_0xdf6f0c[_0x25aeeb['gBSxY']]=_0x30ed1f[_0x25aeeb[_0x11a4c2(0x137)]],_0xdf6f0c[_0x25aeeb[_0x11a4c2(0x17b)]]=_0x30ed1f[_0x25aeeb[_0x11a4c2(0xf3)]]);if(_0x3ecb3e[_0x11a4c2(0x12d)])for(const _0x4a21ae of _0x3ecb3e[_0x11a4c2(0x12d)]){!_0x4a21ae[_0x11a4c2(0x183)]&&(_0x4a21ae[_0x11a4c2(0x183)]=new Date()[_0x11a4c2(0xf5)](),_0x25aeeb[_0x11a4c2(0x138)](_0x4a21ae[_0x11a4c2(0xf9)],_0x25aeeb[_0x11a4c2(0xc2)])&&(_0x30ed1f?(_0x4a21ae['result']=_0x25aeeb[_0x11a4c2(0xec)],_0x4a21ae[_0x11a4c2(0xe3)]=_0x30ed1f[_0x25aeeb[_0x11a4c2(0x137)]][0x0]):_0x4a21ae[_0x11a4c2(0xf9)]=_0x25aeeb['pdqsj']));}const _0xe43d5f={};_0xe43d5f[_0x11a4c2(0x14b)]=_0x5ddb73[_0x11a4c2(0x18a)]?TEST_EVENTS['TEST_RUN_FINISHED']:_0x56f7dc;const _0x2ebfc3=_0xe43d5f;return _0x5ddb73[_0x11a4c2(0xe8)]?_0x2ebfc3[_0x25aeeb['dZjlg']]=_0xdf6f0c:_0x2ebfc3[_0x25aeeb['RFBPA']]=_0xdf6f0c,_0x2ebfc3;}catch(_0x378304){logger[_0x11a4c2(0x14e)](_0x11a4c2(0xf2)+_0x56f7dc+_0x11a4c2(0xaa)+_0x378304);}}async[a4_0x2472c8(0xc1)](_0x2919c1,_0x409245){const _0xfe171e=a4_0x2472c8;if(!this[_0xfe171e(0x19c)]||!_0x409245||!_0x2919c1)return![];try{return await SessionHandler[_0xfe171e(0x166)](_0x409245);}catch(_0x1f6b5f){logger[_0xfe171e(0x14e)]('Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20'+_0x2919c1+'\x20with\x20error\x20:\x20'+_0x1f6b5f);}}['initializeBddStep'](_0x18fc13){const _0x5389da=a4_0x2472c8,_0x5c9b6e={};_0x5c9b6e[_0x5389da(0x116)]=_0x5389da(0xc0);const _0x191681=_0x5c9b6e;return{'id':_0x18fc13[_0x5389da(0x1a1)],'text':_0x18fc13[_0x5389da(0x19b)],'keyword':_0x18fc13[_0x5389da(0xbf)],'started_at':_0x18fc13[_0x5389da(0xae)]['toISOString'](),'result':_0x191681['XtTrm']};}[a4_0x2472c8(0xf0)](_0x288c52){const _0x4adceb=a4_0x2472c8,_0x3c2376={'amYDx':function(_0x5b8431){return _0x5b8431();}};!this[_0x4adceb(0x122)]['bddSteps']&&(this[_0x4adceb(0x122)][_0x4adceb(0x12d)]=[]),!_0x288c52[_0x4adceb(0x1a1)]&&(_0x288c52['stepAnalyticsId']=_0x3c2376['amYDx'](uuidv4),_0x288c52['startedAt']=new Date(),this[_0x4adceb(0x122)]['bddSteps']['push'](this[_0x4adceb(0x127)](_0x288c52)));}[a4_0x2472c8(0xc8)](_0x4fc9b7){const _0x5162fe=a4_0x2472c8,_0x11a7cb={'QpaMG':function(_0xc60f63,_0x3914d8){return _0xc60f63(_0x3914d8);},'doVZT':_0x5162fe(0x170),'FAqIN':_0x5162fe(0xc0),'kWgGE':_0x5162fe(0xd7),'hIgGx':function(_0x56f09b,_0x76bed3){return _0x56f09b-_0x76bed3;}};let _0x4fdeb1=this[_0x5162fe(0x122)][_0x5162fe(0x12d)][_0x5162fe(0xdf)](_0x3236f1=>_0x3236f1['id']===_0x4fc9b7[_0x5162fe(0x1a1)]);_0x11a7cb[_0x5162fe(0xd8)](isUndefined,_0x4fdeb1)&&(_0x4fdeb1=this[_0x5162fe(0x127)](_0x4fc9b7)),_0x4fdeb1[_0x5162fe(0xf9)]=[_0x11a7cb[_0x5162fe(0x161)],_0x11a7cb[_0x5162fe(0x10a)]][_0x5162fe(0x142)](_0x4fc9b7[_0x5162fe(0x132)])?_0x11a7cb[_0x5162fe(0x121)]:_0x4fc9b7[_0x5162fe(0x132)],_0x4fdeb1[_0x5162fe(0x183)]=new Date()[_0x5162fe(0xf5)](),_0x4fdeb1[_0x5162fe(0xca)]=_0x11a7cb[_0x5162fe(0xc4)](Date[_0x5162fe(0x191)](),_0x4fc9b7[_0x5162fe(0xae)][_0x5162fe(0xaf)]()),_0x4fdeb1[_0x5162fe(0xe3)]=_0x4fc9b7['err']?_0x4fc9b7[_0x5162fe(0xdb)][_0x5162fe(0xe9)]:null;}}const a4_0x5c10fa={};a4_0x5c10fa[a4_0x2472c8(0xb1)]=O11yHelper,a4_0x5c10fa['STATE_PASSED']=STATE_PASSED,a4_0x5c10fa[a4_0x2472c8(0x177)]=STATE_FAILED,a4_0x5c10fa[a4_0x2472c8(0x149)]=TEST_EVENTS,module[a4_0x2472c8(0x13a)]=a4_0x5c10fa;
|
|
@@ -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';const a5_0xbb3bbd=a5_0x1495;(function(_0x160f07,_0x47fd9f){const _0x33527a=a5_0x1495,_0x17525b=_0x160f07();while(!![]){try{const _0x21a91f=-parseInt(_0x33527a(0x18f))/0x1+parseInt(_0x33527a(0x135))/0x2+parseInt(_0x33527a(0x160))/0x3*(parseInt(_0x33527a(0x12e))/0x4)+parseInt(_0x33527a(0x18a))/0x5*(parseInt(_0x33527a(0x176))/0x6)+parseInt(_0x33527a(0x132))/0x7*(-parseInt(_0x33527a(0x16c))/0x8)+-parseInt(_0x33527a(0x163))/0x9+-parseInt(_0x33527a(0x18c))/0xa*(parseInt(_0x33527a(0x15d))/0xb);if(_0x21a91f===_0x47fd9f)break;else _0x17525b['push'](_0x17525b['shift']());}catch(_0x5220b8){_0x17525b['push'](_0x17525b['shift']());}}}(a5_0x11f4,0xcf794));function a5_0x11f4(){const _0x4892a9=['join','296ccxyck','finally','../../helpers/helper','cgDan','../../helpers/BrowserStackSetup','chalk','path','GBMGG','CUCUMBER','\x20skipped','6Fjabnp','testContextOptions','\x20failed','fuphT','unlinkSync','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','rmdirSync','\x20passed','then','getTCGConfigFilePaths','launchBuild','mergeOutputFiles','puPba','length','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','khQxm','skipSessionStatus','accessibilityOptions','RAwpG','../utils/constants','7391275CBfHtP','useW3C','10pOFswc','green','handleApp','40853qvaPbU','proxySettings','Generating\x20consolidated\x20report...','stepsPassed','../../helpers/test-observability/utils','turboScaleUrl','rHKhC','getUserWorkerCount','removeDir','kuVmP','printBuildLink','thkvj','log','error\x20removing\x20tcg\x20config\x20file','yellow','createDir','stringify','cucumber-js','stepsUndefined','skipSessionName','prepareCapabilities','msDMI','124UAOfLT','stepsUnknown','getErrorMessageFromResults','GLIHy','103019KCdAGe','red','\x20pending','1908294YsBFFe','exports','eQxRP','ofVVC','false','exitCode','dhdCR','\x20scenarios','isBrowserstackInfra','parseFormatters','Removing\x20tmp\x20directory\x20created\x20for\x20reports','BROWSERSTACK_TEST_OBSERVABILITY_YML','DKwEm','ysaoh','format','bold','finalExecution','setupTCGAuth','FRAMEWORKS','config','stepsFailed','processSuccess','tmp','YJOtt','env','AamYZ','Rkwvb','vWSiH','lYZIR','../../helpers/utilities','splice','forEach','\x20steps','winstonLogger','tpPcW','asFYr','****\x20RESULTS\x20****','stepsSkipped','bgWhite','scenarios','7469110OxVzSS','abHWU','DwTeq','131304eZbRdt','markSDKSetupComplete','push','15075054oArttj','stepsPending','\x20undefined','\x20ambiguous','logLevel','debug','testObservability','argv'];a5_0x11f4=function(){return _0x4892a9;};return a5_0x11f4();}const fs=require('fs'),path=require(a5_0xbb3bbd(0x172)),util=require('util'),logger=require('../../helpers/logger')[a5_0xbb3bbd(0x156)],{default:BrowserStackSetup}=require(a5_0xbb3bbd(0x170)),helper=require(a5_0xbb3bbd(0x16e)),utilities=require(a5_0xbb3bbd(0x152)),constants=require(a5_0xbb3bbd(0x189)),{parallelCucumberRun}=require('../test-runner'),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testOpsHelper=require(a5_0xbb3bbd(0x193)),chalk=require(a5_0xbb3bbd(0x171));function a5_0x1495(_0x10b250,_0x4f82d2){const _0x11f44c=a5_0x11f4();return a5_0x1495=function(_0x14956a,_0x489700){_0x14956a=_0x14956a-0x12c;let _0x21dcec=_0x11f44c[_0x14956a];return _0x21dcec;},a5_0x1495(_0x10b250,_0x4f82d2);}function printCucumberStats(_0x576cff){const _0x128df0=a5_0xbb3bbd,_0xd135d9={};_0xd135d9[_0x128df0(0x150)]=function(_0x4739fe,_0x1f4336){return _0x4739fe>_0x1f4336;},_0xd135d9[_0x128df0(0x141)]=function(_0x4dbba7,_0x3467c7){return _0x4dbba7-_0x3467c7;},_0xd135d9[_0x128df0(0x185)]=function(_0x72b49e,_0x51d787){return _0x72b49e>_0x51d787;},_0xd135d9[_0x128df0(0x182)]=function(_0x3f57cb,_0x276d14){return _0x3f57cb>_0x276d14;},_0xd135d9[_0x128df0(0x15f)]=function(_0x138f7b,_0x521074){return _0x138f7b>_0x521074;},_0xd135d9['rHKhC']=function(_0x5debd1,_0xb5dc75){return _0x5debd1>_0xb5dc75;},_0xd135d9['cgDan']=function(_0x520327,_0x500105){return _0x520327>_0x500105;},_0xd135d9[_0x128df0(0x142)]=function(_0x3a740d,_0x1fda66){return _0x3a740d+_0x1fda66;},_0xd135d9[_0x128df0(0x173)]=function(_0x5ae2dc,_0x1d2aae){return _0x5ae2dc+_0x1d2aae;},_0xd135d9[_0x128df0(0x179)]=function(_0x200056,_0x2dfd6d){return _0x200056+_0x2dfd6d;},_0xd135d9[_0x128df0(0x15e)]=function(_0x4e666d,_0x59522f){return _0x4e666d===_0x59522f;},_0xd135d9[_0x128df0(0x14c)]=function(_0x510645,_0x56ec20){return _0x510645===_0x56ec20;},_0xd135d9[_0x128df0(0x158)]=_0x128df0(0x159);const _0x2a5671=_0xd135d9;let _0x3f0367=0x0;if(_0x2a5671[_0x128df0(0x14c)](_0x576cff[_0x128df0(0x183)],0x0))return _0x3f0367;return console['log'](chalk['bold'][_0x128df0(0x15b)](_0x2a5671[_0x128df0(0x158)])),_0x576cff[_0x128df0(0x154)](_0x18aff3=>{const _0x50a0eb=_0x128df0,_0x4926d4=_0x18aff3[0x0],_0x28cd54=_0x18aff3[0x1];console[_0x50a0eb(0x19b)]('\x0a'+chalk[_0x50a0eb(0x144)]['yellow'](''+helper['getPlatformName'](_0x4926d4)));const _0x2e82d1=_0x28cd54[_0x50a0eb(0x15c)],_0x26b6a3=_0x28cd54['steps'],_0x455d87=_0x28cd54['scenariosFailed'],_0x28da33=_0x28cd54[_0x50a0eb(0x149)],_0x17ef34=_0x28cd54[_0x50a0eb(0x192)],_0x4d41c5=_0x28cd54[_0x50a0eb(0x15a)],_0x143a6e=_0x28cd54[_0x50a0eb(0x164)],_0x356000=_0x28cd54[_0x50a0eb(0x1a1)],_0x25cf48=_0x28cd54[_0x50a0eb(0x12f)],_0x5f5b2e=_0x28cd54['stepsAmbiguous'],_0x4d2069=_0x28cd54[_0x50a0eb(0x14a)];let _0x3e6ae8=_0x2e82d1+_0x50a0eb(0x13c);const _0xbfbbbe=_0x2a5671[_0x50a0eb(0x150)](_0x2a5671[_0x50a0eb(0x141)](_0x2e82d1,_0x455d87),0x0)?_0x2a5671['DKwEm'](_0x2e82d1,_0x455d87):0x0;if(_0x2a5671[_0x50a0eb(0x150)](_0x455d87,0x0)&&_0x2a5671[_0x50a0eb(0x150)](_0xbfbbbe,0x0))_0x3e6ae8+='\x20('+chalk[_0x50a0eb(0x144)][_0x50a0eb(0x133)](_0x455d87+_0x50a0eb(0x178))+',\x20'+chalk[_0x50a0eb(0x144)][_0x50a0eb(0x18d)](_0xbfbbbe+_0x50a0eb(0x17d))+')';else(_0x2a5671[_0x50a0eb(0x185)](_0x455d87,0x0)||_0x2a5671[_0x50a0eb(0x182)](_0xbfbbbe,0x0))&&(_0x3e6ae8+=_0x2a5671['vWSiH'](_0x455d87,0x0)?'\x20('+chalk['bold'][_0x50a0eb(0x133)](_0x455d87+_0x50a0eb(0x178))+')':'\x20('+chalk['bold'][_0x50a0eb(0x18d)](_0xbfbbbe+_0x50a0eb(0x17d))+')');const _0x415828=_0x26b6a3+_0x50a0eb(0x155),_0x108388=[];_0x2a5671[_0x50a0eb(0x15f)](_0x5f5b2e,0x0)&&_0x108388[_0x50a0eb(0x162)](''+chalk['bold']['red'](_0x5f5b2e+_0x50a0eb(0x166)));_0x2a5671[_0x50a0eb(0x185)](_0x28da33,0x0)&&_0x108388['push'](''+chalk['bold'][_0x50a0eb(0x133)](_0x28da33+_0x50a0eb(0x178)));_0x2a5671[_0x50a0eb(0x195)](_0x17ef34,0x0)&&_0x108388[_0x50a0eb(0x162)](''+chalk[_0x50a0eb(0x144)][_0x50a0eb(0x18d)](_0x17ef34+'\x20passed'));_0x2a5671[_0x50a0eb(0x15f)](_0x143a6e,0x0)&&_0x108388[_0x50a0eb(0x162)](''+chalk[_0x50a0eb(0x144)][_0x50a0eb(0x19d)](_0x143a6e+_0x50a0eb(0x134)));_0x2a5671[_0x50a0eb(0x185)](_0x4d41c5,0x0)&&_0x108388[_0x50a0eb(0x162)](''+chalk[_0x50a0eb(0x144)]['cyan'](_0x4d41c5+_0x50a0eb(0x175)));_0x2a5671[_0x50a0eb(0x150)](_0x356000,0x0)&&_0x108388[_0x50a0eb(0x162)](''+chalk[_0x50a0eb(0x144)]['yellow'](_0x356000+_0x50a0eb(0x165)));_0x2a5671[_0x50a0eb(0x16f)](_0x25cf48,0x0)&&_0x108388[_0x50a0eb(0x162)](''+chalk['bold']['yellow'](_0x25cf48+_0x50a0eb(0x175)));const _0x571042=_0x2a5671[_0x50a0eb(0x142)](_0x2a5671[_0x50a0eb(0x173)](_0x2a5671[_0x50a0eb(0x142)](_0x415828,'('),_0x108388['join'](',\x20')),')');console[_0x50a0eb(0x19b)](_0x2a5671[_0x50a0eb(0x173)](_0x2a5671[_0x50a0eb(0x179)](_0x2a5671[_0x50a0eb(0x179)](_0x2a5671[_0x50a0eb(0x173)]('\x0a',_0x3e6ae8),'\x0a'),_0x571042),'\x0a')),_0x2a5671[_0x50a0eb(0x15e)](_0x4d2069,![])&&(_0x3f0367=0x1);}),_0x3f0367;}async function run(_0x36699d,_0x52b51a){const _0x538823=a5_0xbb3bbd,_0x2c70c7={'fecVZ':function(_0x2f9d40,_0x23a655){return _0x2f9d40(_0x23a655);},'msDMI':function(_0x3423e4,_0x4a039a){return _0x3423e4>_0x4a039a;},'Rkwvb':_0x538823(0x191),'ofVVC':_0x538823(0x13f),'RAwpG':'cucumber','eQxRP':_0x538823(0x19c),'dhdCR':_0x538823(0x1a0),'tpPcW':_0x538823(0x14b),'GLIHy':function(_0x2fefb6,_0x8c74b3){return _0x2fefb6-_0x8c74b3;},'thkvj':function(_0x30ba4e,_0x908650){return _0x30ba4e>=_0x908650;},'kuVmP':function(_0x12705,_0x270515){return _0x12705!=_0x270515;},'lYZIR':_0x538823(0x139),'AamYZ':function(_0x288ab0,_0x597404,_0xc77fd0,_0x3925ac,_0xe748e2,_0xe966b8){return _0x288ab0(_0x597404,_0xc77fd0,_0x3925ac,_0xe748e2,_0xe966b8);}},_0x2f4745=new BrowserStackSetup(_0x36699d,_0x2c70c7[_0x538823(0x13b)]);await _0x2f4745['initialize']();!helper[_0x538823(0x13d)]()&&await _0x2f4745[_0x538823(0x146)]();await helper[_0x538823(0x18e)](_0x2f4745['config']);const _0x3a6db7=helper[_0x538823(0x18b)](_0x2f4745[_0x538823(0x148)]),_0x49f3fd=helper[_0x538823(0x12c)](_0x2f4745[_0x538823(0x148)],_0x3a6db7,constants['FRAMEWORKS']['CUCUMBER']);if(!_0x2f4745[_0x538823(0x148)])return;const _0x4f7beb=_0x2f4745['config']['parallelsPerPlatform']||helper[_0x538823(0x196)](_0x36699d,_0x52b51a,_0x2f4745['config'],constants['FRAMEWORKS'][_0x538823(0x174)])||0x1,_0x2fdfb6={'server':helper['getHubUrl'](_0x2f4745[_0x538823(0x148)]),'proxySettings':_0x2f4745['config'][_0x538823(0x190)],'maxWorkers':_0x4f7beb,'browserStackLogLevel':_0x2f4745[_0x538823(0x148)][_0x538823(0x167)],'skipSessionName':_0x2f4745[_0x538823(0x148)][_0x538823(0x177)][_0x538823(0x1a2)],'skipSessionStatus':_0x2f4745[_0x538823(0x148)][_0x538823(0x177)][_0x538823(0x186)],'turboScaleUrl':_0x2f4745[_0x538823(0x148)][_0x538823(0x194)]},_0x2366bb=process[_0x538823(0x16a)],[_0x1872e8,_0x70f252]=helper[_0x538823(0x13e)](_0x2366bb),_0x22e1f8=path[_0x538823(0x16b)](process['cwd'](),_0x2c70c7[_0x538823(0x157)]);if(_0x2c70c7[_0x538823(0x12d)](_0x70f252['length'],0x0)){helper[_0x538823(0x19e)](_0x22e1f8);for(let _0x26df54=_0x2c70c7[_0x538823(0x131)](_0x1872e8[_0x538823(0x183)],0x1);_0x2c70c7[_0x538823(0x19a)](_0x26df54,0x0);_0x26df54--){_0x2366bb[_0x538823(0x153)](_0x1872e8[_0x26df54],0x2);}}!helper['isUndefined'](_0x2f4745['config'][_0x538823(0x187)])&&(process['env'][_0x538823(0x184)]=JSON[_0x538823(0x19f)](_0x2f4745[_0x538823(0x148)][_0x538823(0x187)]));_0x2c70c7[_0x538823(0x198)](_0x2f4745[_0x538823(0x148)][_0x538823(0x169)],null)?process[_0x538823(0x14d)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x2f4745[_0x538823(0x148)][_0x538823(0x169)]:process['env'][_0x538823(0x140)]=_0x2c70c7[_0x538823(0x151)];const _0x52050c=await TestHubHandler[_0x538823(0x180)](constants[_0x538823(0x147)][_0x538823(0x174)],_0x2f4745);helper[_0x538823(0x161)]();let _0x4a2102;_0x2c70c7[_0x538823(0x14e)](parallelCucumberRun,_0x49f3fd,_0x2fdfb6,_0x2f4745[_0x538823(0x148)],_0x2366bb,_0x70f252)[_0x538823(0x17e)](async _0xe27712=>{const _0x21aae1=_0x538823;_0x4a2102=_0xe27712;const _0x446577=_0x2c70c7['fecVZ'](printCucumberStats,_0xe27712);process[_0x21aae1(0x13a)]=_0x446577,_0x2c70c7[_0x21aae1(0x12d)](_0x70f252[_0x21aae1(0x183)],0x0)&&(logger[_0x21aae1(0x168)](_0x2c70c7[_0x21aae1(0x14f)]),helper[_0x21aae1(0x181)](_0x22e1f8,_0x70f252),logger[_0x21aae1(0x168)](_0x2c70c7[_0x21aae1(0x138)]),helper[_0x21aae1(0x197)](_0x22e1f8));})[_0x538823(0x16d)](async()=>{const _0x16ab2d=_0x538823;_0x2f4745['errorMessage']=helper[_0x16ab2d(0x130)](_0x4a2102,_0x2c70c7[_0x16ab2d(0x188)]),testOpsHelper[_0x16ab2d(0x199)]();try{await TestHubHandler['stop']();}catch(_0x5b7369){logger[_0x16ab2d(0x168)](_0x16ab2d(0x17b)+util[_0x16ab2d(0x143)](_0x5b7369));}try{const {browserstackFolderPath:_0x43a60b,tcgConfigPath:_0x47a442}=helper[_0x16ab2d(0x17f)]();fs[_0x16ab2d(0x17a)](_0x47a442),fs[_0x16ab2d(0x17c)](_0x43a60b);}catch(_0x398589){logger['debug'](_0x2c70c7[_0x16ab2d(0x137)],_0x398589);}await utilities[_0x16ab2d(0x145)](_0x2f4745);});}module[a5_0xbb3bbd(0x136)]=run;
|