browserstack-node-sdk 1.34.27 → 1.34.28
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/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance-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_0x2854(){const _0x26f753=['browserStackExecuteDriver','startMonitoring','xAyKg','Puppeteer','catch','screenshotOutputFolder','../../helpers/performance-tester','wXZgK','titlePath','env','sZlqP','pid','restore','../../helpers/logger','ENV_VAR','step','aQtyV','sGdcH','toISOString','XKXfV','VRPPB','unpvF','readFileSync','codeceptjs','CQKXc','arguments','initSaveScreenshot','../../helpers/request-spy','saveScreenshot','qCPPe','_before','emit','find','TEST_RUN_SKIPPED','codeceptjs/lib/index.js','testAnalyticsId','event','getAccessibilityResultsSummary','kSiTf','codeceptjs/lib/utils.js','LHMoK','call','BROWSERSTACK_TESTHUB_JWT','after','TEST_RUN_FINISHED','format','filter','291114sQDvVX','SURIq','passed','getSyncScript','BROWSERSTACK_TESTHUB_UUID','RxakK','contexts','63PyRyEO','skipped','Element','UfLnw','helpers','bs:addLog:','__driver','browserstack_executor:\x20','patchSaveScreenshot','accessibilityPlatform','tBdkD','debug','111693dpfVVJ','winstonLogger','shouldWrapCommand','HOOK_RUN_FINISHED','test','constructor','bhvAJ','../../helpers/accessibility-automation/scripts','7822881hHbqlz','name','performScan','bddStep','TestCafe','hook','bstackAllyScanning','bddStepStart','action','thBuildUuid','started','yVDFz','AvmLd','2895450vSyZJW','2szxwex','WebDriver','TEST_RUN_STARTED','before','__skipSessionStatus','ZYynX','73364CvQwhn','then','Playwright','INFO','__workerDetails','dMQNI','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','setSessionStatus','add','TgJNh','enabled','captureEvent','hVAuY','../../helpers/helper','toBDf','2218464WthNeN','dispatcher','comment','2302880FHcvIk','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','warn','HOOK_RUN_STARTED','ctx','apply','WXpXd','hdZQp','getResults','stringify','BS_TESTOPS_ALLOW_SCREENSHOTS','kZcLj','bddStepFinish','thTestRunUuid','all','fEDTD','codeceptjs/lib/helper/WebDriver.js','Performing\x20scan\x20for\x20','mGaEx','saveTestResults','patch','../../bin/playwright/accessibility-helper','prototype','base64','setSessionName','executeScript','fireEvent','browser','failed','start','captureError','TEST_SCREENSHOT','status','holze','TEST_LOG','xSDVr','UOdab','./o11yHelper','info','overwriteCommand'];a1_0x2854=function(){return _0x26f753;};return a1_0x2854();}const a1_0x559d5d=a1_0x50fb;function a1_0x50fb(_0x3ec983,_0x4141d2){const _0x2854cc=a1_0x2854();return a1_0x50fb=function(_0x50fbf0,_0xf7b811){_0x50fbf0=_0x50fbf0-0x12c;let _0xb5d3b9=_0x2854cc[_0x50fbf0];return _0xb5d3b9;},a1_0x50fb(_0x3ec983,_0x4141d2);}(function(_0x2d6349,_0x3d8c70){const _0x257244=a1_0x50fb,_0x1d1ca8=_0x2d6349();while(!![]){try{const _0x359959=-parseInt(_0x257244(0x1b8))/0x1*(parseInt(_0x257244(0x1be))/0x2)+parseInt(_0x257244(0x1a2))/0x3+parseInt(_0x257244(0x138))/0x4+parseInt(_0x257244(0x1b7))/0x5+parseInt(_0x257244(0x18f))/0x6*(parseInt(_0x257244(0x196))/0x7)+-parseInt(_0x257244(0x135))/0x8+-parseInt(_0x257244(0x1aa))/0x9;if(_0x359959===_0x3d8c70)break;else _0x1d1ca8['push'](_0x1d1ca8['shift']());}catch(_0x834dda){_0x1d1ca8['push'](_0x1d1ca8['shift']());}}}(a1_0x2854,0x63cff));const fs=require('fs'),util=require('util'),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x559d5d(0x133)),logger=require(a1_0x559d5d(0x16d))[a1_0x559d5d(0x1a3)],testOpsHelper=require('../../helpers/test-observability/utils'),requestSpy=require(a1_0x559d5d(0x17b)),PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x559d5d(0x15d)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),AccessibilityHelper=require(a1_0x559d5d(0x14d)),scripts=require(a1_0x559d5d(0x1a9)),PerformanceTester=require(a1_0x559d5d(0x166)),{processWebDriverConfig,shouldPatchExecuteScript}=require('./helper.js'),testHubConstants=require('../../helpers/testhub/constants.js'),CodeceptJS=requireModule(a1_0x559d5d(0x182),a1_0x559d5d(0x177)),CodeceptUtils=requireModule(a1_0x559d5d(0x187),a1_0x559d5d(0x177)),CodeceptWebDriver=requireModule(a1_0x559d5d(0x148),a1_0x559d5d(0x177)),CodeceptRecorder=requireModule('codeceptjs/lib/recorder.js',a1_0x559d5d(0x177)),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js',a1_0x559d5d(0x177)),playwrightMarkSessionStatus=(_0x552c30,_0x34a424,_0x1e206f)=>{const _0x1e0774=a1_0x559d5d,_0x9323e5={'TCVwx':_0x1e0774(0x12d),'xSDVr':function(_0x3b8eb8,_0x59f055){return _0x3b8eb8(_0x59f055);}},_0x3f2a17={};_0x3f2a17[_0x1e0774(0x158)]=_0x34a424;const _0x23cf28={};_0x23cf28['action']=_0x9323e5['TCVwx'],_0x23cf28['arguments']=_0x3f2a17;const _0x251704=_0x23cf28;return!_0x9323e5[_0x1e0774(0x15b)](isUndefined,_0x1e206f)&&(_0x251704[_0x1e0774(0x179)]['reason']=JSON[_0x1e0774(0x141)](_0x1e206f)),_0x552c30[_0x1e0774(0x151)](()=>{},_0x1e0774(0x19d)+JSON[_0x1e0774(0x141)](_0x251704));},o11ySync=async _0x5708ab=>{const _0x25c991=a1_0x559d5d,_0x495b23={};_0x495b23[_0x25c991(0x175)]=function(_0x24cacb,_0x2a13fa){return _0x24cacb===_0x2a13fa;},_0x495b23[_0x25c991(0x162)]='Playwright';const _0x5596c4=_0x495b23;_0x5596c4[_0x25c991(0x175)](_0x5708ab[_0x25c991(0x1a7)]['name'],_0x5596c4[_0x25c991(0x162)])?await _0x5708ab[_0x25c991(0x151)](_0x15ec39=>{},testOpsHelper['getSyncScript']()):await _0x5708ab[_0x25c991(0x151)](testOpsHelper[_0x25c991(0x192)]());},markSessionName=async(_0x5368a2,_0x56abbb)=>{const _0x372aca=a1_0x559d5d,_0x4c0502={};_0x4c0502[_0x372aca(0x1bd)]=_0x372aca(0x150),_0x4c0502['gXEBx']=function(_0x178e2b,_0x442e64){return _0x178e2b===_0x442e64;},_0x4c0502['hVAuY']=_0x372aca(0x1c0);const _0x535973=_0x4c0502,_0x46fb41={};_0x46fb41[_0x372aca(0x1ab)]=_0x56abbb;const _0xe14b40={};_0xe14b40[_0x372aca(0x1b2)]=_0x535973[_0x372aca(0x1bd)],_0xe14b40[_0x372aca(0x179)]=_0x46fb41;const _0x598883=_0xe14b40;_0x535973['gXEBx'](_0x5368a2[_0x372aca(0x1a7)][_0x372aca(0x1ab)],_0x535973[_0x372aca(0x132)])?await _0x5368a2['executeScript'](()=>{},_0x372aca(0x19d)+JSON['stringify'](_0x598883)):await _0x5368a2[_0x372aca(0x151)](_0x372aca(0x19d)+JSON['stringify'](_0x598883));},patchSaveScreenshot=_0x3a6039=>{const _0x4a95bd=a1_0x559d5d,_0x3c31f3={'tBdkD':_0x4a95bd(0x14f),'dMQNI':_0x4a95bd(0x157),'HSxhB':function(_0x406474){return _0x406474();},'bhvAJ':function(_0x4aeabb,_0x3df127){return _0x4aeabb(_0x3df127);}};_0x3c31f3[_0x4a95bd(0x1a8)](isTrue,process[_0x4a95bd(0x169)][_0x4a95bd(0x142)])&&!_0x3a6039[_0x4a95bd(0x19e)]&&(_0x3a6039[_0x4a95bd(0x19e)]=!![],_0x3a6039[_0x4a95bd(0x17a)]=_0x3a6039[_0x4a95bd(0x17c)],_0x3a6039[_0x4a95bd(0x17c)]=(_0x2bb45c,_0x8f8523=![])=>{return new Promise(function(_0x54fe9f,_0x5c9d1e){const _0xda595b=a1_0x50fb,_0x58d94d={'LHMoK':_0x3c31f3[_0xda595b(0x1a0)],'wXZgK':_0x3c31f3[_0xda595b(0x1c3)],'toBDf':function(_0x1cf920){return _0x3c31f3['HSxhB'](_0x1cf920);}};_0x3a6039[_0xda595b(0x17a)](_0x2bb45c,_0x8f8523)[_0xda595b(0x1bf)](()=>{const _0x31be5a=_0xda595b,_0x1b2d0e=CodeceptUtils[_0x31be5a(0x165)](_0x2bb45c),_0x12dc9c=fs[_0x31be5a(0x176)](_0x1b2d0e);process[_0x31be5a(0x17f)](_0x31be5a(0x19b)+process[_0x31be5a(0x16b)],{'timestamp':new Date()[_0x31be5a(0x172)](),'message':_0x12dc9c['toString'](_0x58d94d[_0x31be5a(0x188)]),'kind':_0x58d94d[_0x31be5a(0x167)]}),_0x58d94d[_0x31be5a(0x134)](_0x54fe9f);})[_0xda595b(0x164)](()=>null);});});},patchWebDriverBefore=_0x17d9e2=>{const _0x4fcc07=a1_0x559d5d,_0x4cb203={'ZFTbM':function(_0x33c4a5){return _0x33c4a5();},'sGdcH':function(_0x501de3,_0x507bbb){return _0x501de3(_0x507bbb);},'CQKXc':function(_0x1b20c6,_0x3a05b8){return _0x1b20c6===_0x3a05b8;},'Pucfr':_0x4fcc07(0x198),'MbnYY':function(_0x19be68,_0x4cc861){return _0x19be68(_0x4cc861);}},_0x292084=async function(_0x59297a,_0x3bb055){const _0x4536e2=_0x4fcc07;return _0x4cb203['ZFTbM'](isAccessibilityAutomationSession)&&!global[_0x4536e2(0x1b0)]&&global['accessibilityPlatform']&&scripts[_0x4536e2(0x1a4)](_0x59297a[_0x4536e2(0x1ab)])&&_0x4cb203[_0x4536e2(0x171)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x4536e2(0x1b0)]=!![],logger[_0x4536e2(0x1a1)](_0x4536e2(0x149)+_0x59297a['class']+'\x20'+_0x59297a[_0x4536e2(0x1ab)]),await AccessibilityHelper[_0x4536e2(0x160)](_0x17d9e2,scripts[_0x4536e2(0x1ac)])),global[_0x4536e2(0x1b0)]=![],_0x3bb055[_0x4536e2(0x13d)](this,Array[_0x4536e2(0x14e)]['slice'][_0x4536e2(0x189)](arguments,0x2));},_0x3d1cdd=CodeceptWebDriver[_0x4fcc07(0x14e)]['_before'];CodeceptWebDriver[_0x4fcc07(0x14e)][_0x4fcc07(0x17e)]=async function(){const _0x432b17=_0x4fcc07;await _0x3d1cdd[_0x432b17(0x13d)](this,arguments),scripts['commandsToWrap'][_0x432b17(0x18e)](_0x343a76=>_0x343a76['name']&&_0x343a76['class'])['forEach'](_0x301a83=>{const _0x296d9e=_0x432b17;this[_0x296d9e(0x153)][_0x296d9e(0x15f)](_0x301a83[_0x296d9e(0x1ab)],_0x292084['bind'](this,_0x301a83),_0x4cb203[_0x296d9e(0x178)](_0x301a83['class'],_0x4cb203['Pucfr']));}),_0x4cb203['MbnYY'](processWebDriverConfig,_0x17d9e2);};},patchPlaywrightBefore=()=>{const _0x385c99=a1_0x559d5d;PlaywrightSessionDetails[_0x385c99(0x14c)]();const _0x70214e=CodeceptPlaywright[_0x385c99(0x14e)][_0x385c99(0x17e)];CodeceptPlaywright[_0x385c99(0x14e)]['_before']=async function(){const _0x32ebbc=_0x385c99;this['browserContext']=await this[_0x32ebbc(0x153)][_0x32ebbc(0x195)]()[0x0],await _0x70214e[_0x32ebbc(0x13d)](this,arguments);};},getCodeceptDriver=()=>{const _0x355b33=a1_0x559d5d,_0x14f550={};_0x14f550[_0x355b33(0x186)]=_0x355b33(0x1b9),_0x14f550[_0x355b33(0x15c)]=_0x355b33(0x1c0),_0x14f550[_0x355b33(0x16a)]=_0x355b33(0x163),_0x14f550['TgJNh']=_0x355b33(0x1ae);const _0x1305a0=_0x14f550,_0x422783=[_0x1305a0['kSiTf'],_0x1305a0[_0x355b33(0x15c)],_0x1305a0[_0x355b33(0x16a)],_0x1305a0[_0x355b33(0x12f)]],_0x1080d5=_0x422783[_0x355b33(0x180)](_0x4f7460=>!!CodeceptJS['container'][_0x355b33(0x19a)](_0x4f7460));if(!_0x1080d5)return null;return CodeceptJS['container']['helpers'](_0x1080d5);};module['exports']=function(_0x37efce){const _0x109354=a1_0x559d5d,_0x3fd3b5={'LBegC':_0x109354(0x12c),'mGaEx':_0x109354(0x139),'VRPPB':function(_0xd23c64){return _0xd23c64();},'fEDTD':function(_0x2a8384,_0x3bcd02){return _0x2a8384(_0x3bcd02);},'yVDFz':function(_0x2602f5,_0x2a92a1,_0xb1bce3){return _0x2602f5(_0x2a92a1,_0xb1bce3);},'UfLnw':function(_0x638c1d,_0x1e68af,_0x1c986e){return _0x638c1d(_0x1e68af,_0x1c986e);},'WXpXd':function(_0x2ca985,_0x481eac,_0x228ba1,_0x573774){return _0x2ca985(_0x481eac,_0x228ba1,_0x573774);},'holze':function(_0xafe1c,_0x45db43){return _0xafe1c===_0x45db43;},'ZWyXq':'Suite','XKXfV':function(_0x5d10ff){return _0x5d10ff();},'oiLMM':function(_0x19ff04,_0x486c7b,_0x2e6619){return _0x19ff04(_0x486c7b,_0x2e6619);},'RxakK':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','kZcLj':_0x109354(0x1c1),'qCPPe':_0x109354(0x15a),'aquGI':_0x109354(0x1c0),'AvmLd':function(_0x532fae){return _0x532fae();},'xcLBE':function(_0x59097a,_0xb5dab9){return _0x59097a(_0xb5dab9);}};_0x37efce['skipSessionStatus']&&(global[_0x109354(0x1bc)]=_0x37efce['skipSessionStatus']);PerformanceTester[_0x109354(0x161)]();const _0x307638=_0x3fd3b5[_0x109354(0x173)](getCodeceptDriver),_0x8e6edb=new O11yHelper(_0x307638,_0x37efce),_0x4d662a=!!CodeceptJS['container']['helpers'](_0x3fd3b5['aquGI']);global[_0x109354(0x19c)]=_0x307638,_0x307638&&(_0x4d662a?_0x3fd3b5[_0x109354(0x1b6)](patchPlaywrightBefore):_0x3fd3b5[_0x109354(0x147)](patchWebDriverBefore,_0x307638),_0x307638[_0x109354(0x185)]=async()=>{const _0x361189=_0x109354;if(global[_0x361189(0x19f)])await AccessibilityHelper['browserStackExecuteDriver'](_0x307638,scripts[_0x361189(0x1ac)]),await AccessibilityHelper[_0x361189(0x160)](_0x307638,scripts['getResultsSummary']);else return logger[_0x361189(0x13a)](_0x3fd3b5['LBegC']),{};},_0x307638['getAccessibilityResults']=async()=>{const _0x35631a=_0x109354;if(global[_0x35631a(0x19f)])await AccessibilityHelper[_0x35631a(0x160)](_0x307638,scripts[_0x35631a(0x1ac)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x307638,scripts[_0x35631a(0x140)]);else return logger[_0x35631a(0x13a)](_0x3fd3b5[_0x35631a(0x14a)]),{};},_0x3fd3b5['xcLBE'](patchSaveScreenshot,_0x307638)),CodeceptJS[_0x109354(0x184)][_0x109354(0x136)]['on'](CodeceptJS[_0x109354(0x184)][_0x109354(0x146)]['before'],()=>{const _0x23ff4e=_0x109354;try{_0x8e6edb[_0x23ff4e(0x155)](),testOpsHelper['addRequestSpy']();}catch(_0xe90e0e){PerformanceTester[_0x23ff4e(0x156)](_0xe90e0e);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS['event'][_0x109354(0x146)][_0x109354(0x18b)],async()=>{const _0x1072e0=_0x109354;try{requestSpy[_0x1072e0(0x16c)](),await _0x8e6edb['stop']();}catch(_0x5c67df){PerformanceTester['captureError'](_0x5c67df);}finally{PerformanceTester['stopMonitoring']();}}),CodeceptJS['event'][_0x109354(0x136)]['on'](CodeceptJS[_0x109354(0x184)]['hook'][_0x109354(0x1b4)],_0x4383a3=>{const _0x198d20=_0x109354;try{const _0x45004f=_0x4383a3['ctx'][_0x198d20(0x1a6)],_0x36aa06=_0x8e6edb['captureEvent'](TEST_EVENTS[_0x198d20(0x13b)],_0x45004f);CodeceptRecorder[_0x198d20(0x12e)](()=>_0x8e6edb[_0x198d20(0x152)](TEST_EVENTS[_0x198d20(0x13b)],_0x36aa06));}catch(_0x40ca14){PerformanceTester[_0x198d20(0x156)](_0x40ca14);}}),CodeceptJS[_0x109354(0x184)][_0x109354(0x136)]['on'](CodeceptJS[_0x109354(0x184)][_0x109354(0x1af)]['passed'],_0x4121e4=>{const _0x2bc336=_0x109354;try{const _0x80b90d=_0x4121e4[_0x2bc336(0x13c)][_0x2bc336(0x1a6)],_0x5ad7f9=_0x8e6edb[_0x2bc336(0x131)](TEST_EVENTS[_0x2bc336(0x1a5)],_0x80b90d);CodeceptRecorder[_0x2bc336(0x12e)](()=>_0x8e6edb[_0x2bc336(0x152)](TEST_EVENTS[_0x2bc336(0x1a5)],_0x5ad7f9));}catch(_0x5e7be0){PerformanceTester[_0x2bc336(0x156)](_0x5e7be0);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x109354(0x184)][_0x109354(0x1af)][_0x109354(0x154)],async(_0x5953e8,_0x5e0b4b)=>{const _0x52a16d=_0x109354;try{const _0x5c0654=_0x5953e8[_0x52a16d(0x13c)][_0x52a16d(0x1a6)],_0x31bae5=_0x8e6edb['captureEvent'](TEST_EVENTS[_0x52a16d(0x1a5)],_0x5c0654,_0x5e0b4b);CodeceptRecorder['add'](()=>_0x8e6edb[_0x52a16d(0x152)](TEST_EVENTS[_0x52a16d(0x1a5)],_0x31bae5));}catch(_0x589114){PerformanceTester[_0x52a16d(0x156)](_0x589114);}}),CodeceptJS[_0x109354(0x184)][_0x109354(0x136)]['on'](CodeceptJS[_0x109354(0x184)][_0x109354(0x1a6)][_0x109354(0x1bb)],_0x38efd3=>{const _0xbe722b=_0x109354;try{_0x3fd3b5[_0xbe722b(0x174)](isBrowserstackInfra)&&(_0x4d662a&&(global[_0xbe722b(0x1c2)]={'currentTest':{'name':_0x38efd3['title'],'testInfo':{'titlePath':_0x38efd3[_0xbe722b(0x168)]()}}}));}catch(_0x41ca5f){PerformanceTester[_0xbe722b(0x156)](_0x41ca5f);}}),CodeceptJS['event'][_0x109354(0x136)]['on'](CodeceptJS[_0x109354(0x184)][_0x109354(0x1a6)][_0x109354(0x1b4)],_0x4e9bb2=>{const _0x1f3b2e=_0x109354;try{const _0x1428eb=_0x8e6edb[_0x1f3b2e(0x131)](TEST_EVENTS[_0x1f3b2e(0x1ba)],_0x4e9bb2);CodeceptRecorder[_0x1f3b2e(0x12e)](()=>_0x8e6edb[_0x1f3b2e(0x152)](TEST_EVENTS[_0x1f3b2e(0x1ba)],_0x1428eb)),CodeceptRecorder[_0x1f3b2e(0x12e)](async()=>{const _0x1cfe40=_0x1f3b2e;_0x3fd3b5[_0x1cfe40(0x174)](isBrowserstackInfra)&&(!_0x3fd3b5[_0x1cfe40(0x147)](isTrue,_0x37efce['skipSessionName'])&&await _0x3fd3b5['yVDFz'](markSessionName,_0x307638,_0x4e9bb2['title']),_0x8e6edb[_0x1cfe40(0x130)]&&await _0x3fd3b5[_0x1cfe40(0x147)](o11ySync,_0x307638));});}catch(_0xb912e9){PerformanceTester[_0x1f3b2e(0x156)](_0xb912e9);}}),CodeceptJS[_0x109354(0x184)]['dispatcher']['on'](CodeceptJS[_0x109354(0x184)][_0x109354(0x1a6)][_0x109354(0x191)],_0x8d3338=>{const _0x53d407=_0x109354,_0x544521={'SURIq':function(_0x123c34){const _0x283d9d=a1_0x50fb;return _0x3fd3b5[_0x283d9d(0x174)](_0x123c34);},'aQtyV':function(_0x4073ba,_0x59cdeb,_0x262a26){const _0x43876e=a1_0x50fb;return _0x3fd3b5[_0x43876e(0x199)](_0x4073ba,_0x59cdeb,_0x262a26);},'hdZQp':function(_0x4d4bf5,_0x58365f,_0x3c57e0){const _0x5aaf14=a1_0x50fb;return _0x3fd3b5[_0x5aaf14(0x1b5)](_0x4d4bf5,_0x58365f,_0x3c57e0);}};try{const _0x526bb4=_0x8e6edb['captureEvent'](TEST_EVENTS['TEST_RUN_FINISHED'],_0x8d3338);CodeceptRecorder[_0x53d407(0x12e)](()=>_0x8e6edb[_0x53d407(0x152)](TEST_EVENTS[_0x53d407(0x18c)],_0x526bb4)),CodeceptRecorder['add'](async()=>{const _0x2b37a1=_0x53d407;_0x544521[_0x2b37a1(0x190)](isBrowserstackInfra)&&(_0x4d662a?await _0x544521[_0x2b37a1(0x170)](playwrightMarkSessionStatus,_0x307638,STATE_PASSED):await _0x544521[_0x2b37a1(0x13f)](markSessionStatus,_0x307638,STATE_PASSED));});}catch(_0x217eb9){PerformanceTester[_0x53d407(0x156)](_0x217eb9);}}),CodeceptJS[_0x109354(0x184)]['dispatcher']['on'](CodeceptJS[_0x109354(0x184)][_0x109354(0x1a6)][_0x109354(0x154)],(_0x116db9,_0x5f3190)=>{const _0x41affe=_0x109354;try{if(_0x3fd3b5[_0x41affe(0x159)](_0x116db9['constructor']['name'],_0x3fd3b5['ZWyXq'])){const _0x98b5d2=_0x8e6edb[_0x41affe(0x131)](TEST_EVENTS[_0x41affe(0x181)],_0x116db9['ctx']['currentTest']);CodeceptRecorder[_0x41affe(0x12e)](()=>_0x8e6edb[_0x41affe(0x152)](TEST_EVENTS[_0x41affe(0x181)],_0x98b5d2));}else{const _0x21a264=_0x8e6edb['captureEvent'](TEST_EVENTS[_0x41affe(0x18c)],_0x116db9,_0x5f3190);CodeceptRecorder[_0x41affe(0x12e)](()=>{const _0x450113=_0x41affe;try{_0x8e6edb[_0x450113(0x152)](TEST_EVENTS[_0x450113(0x18c)],_0x21a264);}catch(_0x558c17){logger['debug']('Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20'+util[_0x450113(0x18d)](_0x558c17));}}),CodeceptRecorder['add'](async()=>{const _0x38ba49=_0x41affe;try{_0x3fd3b5['VRPPB'](isBrowserstackInfra)&&(_0x4d662a?await _0x3fd3b5['WXpXd'](playwrightMarkSessionStatus,_0x307638,STATE_FAILED,_0x5f3190):await _0x3fd3b5[_0x38ba49(0x13e)](markSessionStatus,_0x307638,STATE_FAILED,_0x5f3190));}catch(_0x3baf85){logger[_0x38ba49(0x1a1)]('Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20'+util[_0x38ba49(0x18d)](_0x3baf85));}});}}catch(_0xdcaccb){PerformanceTester[_0x41affe(0x156)](_0xdcaccb);}}),CodeceptJS['event'][_0x109354(0x136)]['on'](CodeceptJS[_0x109354(0x184)][_0x109354(0x1a6)][_0x109354(0x197)],_0x328efc=>{const _0x333865=_0x109354;try{const _0x4f50fd=_0x8e6edb[_0x333865(0x131)](TEST_EVENTS[_0x333865(0x181)],_0x328efc);CodeceptRecorder[_0x333865(0x12e)](()=>_0x8e6edb[_0x333865(0x152)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x4f50fd));}catch(_0x5efaa4){PerformanceTester[_0x333865(0x156)](_0x5efaa4);}}),CodeceptJS[_0x109354(0x184)][_0x109354(0x136)]['on'](CodeceptJS['event']['test'][_0x109354(0x18b)],async(_0x2a353e,_0x1b3bba)=>{const _0x503c81=_0x109354;try{if(_0x3fd3b5[_0x503c81(0x173)](isBrowserstackInfra)){const _0x547ce7=_0x3fd3b5['oiLMM'](shouldScanTestForAccessibility,_0x2a353e[_0x503c81(0x168)](),!![]);if(_0x3fd3b5[_0x503c81(0x174)](isAccessibilityAutomationSession)&&global[_0x503c81(0x19f)]&&_0x547ce7){const _0x362d1a={};_0x362d1a[_0x503c81(0x145)]=_0x2a353e[_0x503c81(0x183)],_0x362d1a[_0x503c81(0x1b3)]=process[_0x503c81(0x169)][testHubConstants[_0x503c81(0x16e)][_0x503c81(0x193)]],_0x362d1a['thJwtToken']=process[_0x503c81(0x169)][testHubConstants[_0x503c81(0x16e)][_0x503c81(0x18a)]];const _0x1067f0=_0x362d1a;logger[_0x503c81(0x1a1)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x503c81(0x141)](_0x1067f0)),CodeceptRecorder['add'](async()=>{const _0x505752=_0x503c81;await AccessibilityHelper[_0x505752(0x160)](_0x307638,scripts[_0x505752(0x1ac)]),await AccessibilityHelper[_0x505752(0x160)](_0x307638,scripts[_0x505752(0x14b)],_0x1067f0);}),logger[_0x503c81(0x15e)](_0x3fd3b5[_0x503c81(0x194)]);}}}catch(_0x18855f){PerformanceTester[_0x503c81(0x156)](_0x18855f);}}),CodeceptJS[_0x109354(0x184)][_0x109354(0x136)]['on'](CodeceptJS[_0x109354(0x184)][_0x109354(0x16f)][_0x109354(0x137)],_0x5a710b=>{const _0xecc0ca=_0x109354;try{process[_0xecc0ca(0x17f)]('bs:addLog:'+process[_0xecc0ca(0x16b)],{'timestamp':new Date()[_0xecc0ca(0x172)](),'level':_0x3fd3b5[_0xecc0ca(0x143)],'message':_0x5a710b,'kind':_0x3fd3b5[_0xecc0ca(0x17d)],'http_response':{}});}catch(_0x4102b4){PerformanceTester[_0xecc0ca(0x156)](_0x4102b4);}}),CodeceptJS[_0x109354(0x184)][_0x109354(0x136)]['on'](CodeceptJS[_0x109354(0x184)][_0x109354(0x1ad)]['before'],_0x419c18=>{const _0x40106b=_0x109354;_0x8e6edb[_0x40106b(0x1b1)](_0x419c18);}),CodeceptJS['event'][_0x109354(0x136)]['on'](CodeceptJS[_0x109354(0x184)][_0x109354(0x1ad)][_0x109354(0x18b)],_0x3e9a0c=>{const _0x4a6d79=_0x109354;_0x8e6edb[_0x4a6d79(0x144)](_0x3e9a0c);});};
|
|
1
|
+
function a1_0x4fb1(_0xeed4aa,_0x123056){const _0x12c659=a1_0x12c6();return a1_0x4fb1=function(_0x4fb1eb,_0x7342d7){_0x4fb1eb=_0x4fb1eb-0x172;let _0x126f98=_0x12c659[_0x4fb1eb];return _0x126f98;},a1_0x4fb1(_0xeed4aa,_0x123056);}const a1_0x3ba33f=a1_0x4fb1;(function(_0xcdd7e6,_0x28cdf2){const _0x2f3c64=a1_0x4fb1,_0x4ddfef=_0xcdd7e6();while(!![]){try{const _0x1fd1ed=-parseInt(_0x2f3c64(0x1d5))/0x1+-parseInt(_0x2f3c64(0x195))/0x2+-parseInt(_0x2f3c64(0x1c1))/0x3*(parseInt(_0x2f3c64(0x212))/0x4)+parseInt(_0x2f3c64(0x1eb))/0x5*(parseInt(_0x2f3c64(0x1cd))/0x6)+parseInt(_0x2f3c64(0x1e0))/0x7*(parseInt(_0x2f3c64(0x1db))/0x8)+parseInt(_0x2f3c64(0x1b4))/0x9+parseInt(_0x2f3c64(0x1d7))/0xa*(parseInt(_0x2f3c64(0x18b))/0xb);if(_0x1fd1ed===_0x28cdf2)break;else _0x4ddfef['push'](_0x4ddfef['shift']());}catch(_0x342f86){_0x4ddfef['push'](_0x4ddfef['shift']());}}}(a1_0x12c6,0x55cb8));const fs=require('fs'),util=require(a1_0x3ba33f(0x218)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require('../../helpers/helper'),logger=require(a1_0x3ba33f(0x1bd))[a1_0x3ba33f(0x1d9)],testOpsHelper=require('../../helpers/test-observability/utils'),requestSpy=require(a1_0x3ba33f(0x1dd)),PlaywrightSessionDetails=require(a1_0x3ba33f(0x213)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x3ba33f(0x216)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x3ba33f(0x1df)),AccessibilityHelper=require(a1_0x3ba33f(0x1a0)),scripts=require(a1_0x3ba33f(0x1b9)),PerformanceTester=require(a1_0x3ba33f(0x193)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x3ba33f(0x18f)),testHubConstants=require(a1_0x3ba33f(0x1a1)),CodeceptJS=requireModule(a1_0x3ba33f(0x19f),'codeceptjs'),CodeceptUtils=requireModule(a1_0x3ba33f(0x191),a1_0x3ba33f(0x1bf)),CodeceptWebDriver=requireModule(a1_0x3ba33f(0x19c),a1_0x3ba33f(0x1bf)),CodeceptRecorder=requireModule(a1_0x3ba33f(0x1bb),a1_0x3ba33f(0x1bf)),CodeceptPlaywright=requireModule(a1_0x3ba33f(0x211),'codeceptjs'),playwrightMarkSessionStatus=(_0x1c9762,_0x267335,_0xfd7f60)=>{const _0x28a517=a1_0x3ba33f,_0x284db5={'ZFutF':_0x28a517(0x17e),'mhCeH':function(_0x4099a2,_0x33a9d8){return _0x4099a2(_0x33a9d8);}},_0x3730e8={};_0x3730e8[_0x28a517(0x1f4)]=_0x267335;const _0x3068d9={};_0x3068d9[_0x28a517(0x1be)]=_0x284db5['ZFutF'],_0x3068d9[_0x28a517(0x1a3)]=_0x3730e8;const _0x3b4159=_0x3068d9;return!_0x284db5[_0x28a517(0x188)](isUndefined,_0xfd7f60)&&(_0x3b4159[_0x28a517(0x1a3)][_0x28a517(0x194)]=JSON[_0x28a517(0x1ec)](_0xfd7f60)),_0x1c9762[_0x28a517(0x1b5)](()=>{},_0x28a517(0x183)+JSON[_0x28a517(0x1ec)](_0x3b4159));},o11ySync=async _0x59affc=>{const _0x49c4c0=a1_0x3ba33f,_0xbf1110={};_0xbf1110[_0x49c4c0(0x181)]=function(_0x116060,_0x6bf076){return _0x116060===_0x6bf076;},_0xbf1110[_0x49c4c0(0x1b7)]='Playwright';const _0x414598=_0xbf1110;_0x414598[_0x49c4c0(0x181)](_0x59affc[_0x49c4c0(0x1cc)][_0x49c4c0(0x1a5)],_0x414598[_0x49c4c0(0x1b7)])?await _0x59affc[_0x49c4c0(0x1b5)](_0x13542f=>{},testOpsHelper['getSyncScript']()):await _0x59affc[_0x49c4c0(0x1b5)](testOpsHelper[_0x49c4c0(0x18d)]());},markSessionName=async(_0x3c8524,_0x42f2d5)=>{const _0x148475=a1_0x3ba33f,_0x24d5e1={};_0x24d5e1[_0x148475(0x1f1)]=_0x148475(0x184),_0x24d5e1['xYDRB']=function(_0x9e4a3c,_0x164ec3){return _0x9e4a3c===_0x164ec3;},_0x24d5e1['YjrPW']=_0x148475(0x1a7);const _0x3d1098=_0x24d5e1,_0x478934={};_0x478934['name']=_0x42f2d5;const _0x449867={};_0x449867[_0x148475(0x1be)]=_0x3d1098['tYXxI'],_0x449867[_0x148475(0x1a3)]=_0x478934;const _0x25fc83=_0x449867;_0x3d1098[_0x148475(0x1ce)](_0x3c8524[_0x148475(0x1cc)][_0x148475(0x1a5)],_0x3d1098[_0x148475(0x20c)])?await _0x3c8524[_0x148475(0x1b5)](()=>{},'browserstack_executor:\x20'+JSON[_0x148475(0x1ec)](_0x25fc83)):await _0x3c8524[_0x148475(0x1b5)](_0x148475(0x183)+JSON[_0x148475(0x1ec)](_0x25fc83));},patchSaveScreenshot=_0x53ed16=>{const _0x558228=a1_0x3ba33f,_0x21948e={'vEXZI':'base64','OpoGD':_0x558228(0x1e1),'AcLAz':function(_0x3dcc02){return _0x3dcc02();},'mTZSb':function(_0x4993c0,_0x58ee6b){return _0x4993c0(_0x58ee6b);}};_0x21948e[_0x558228(0x1d3)](isTrue,process[_0x558228(0x1da)][_0x558228(0x1d8)])&&!_0x53ed16[_0x558228(0x200)]&&(_0x53ed16[_0x558228(0x200)]=!![],_0x53ed16[_0x558228(0x178)]=_0x53ed16[_0x558228(0x1b0)],_0x53ed16[_0x558228(0x1b0)]=(_0x49264f,_0x70656d=![])=>{const _0x205d60=_0x558228,_0x5501ef={'IHfGO':_0x21948e[_0x205d60(0x1cb)],'PMkSO':_0x21948e[_0x205d60(0x190)],'ILNCF':function(_0x1ba6a5){return _0x21948e['AcLAz'](_0x1ba6a5);}};return new Promise(function(_0x1a1f67,_0x167ffe){const _0x46ea94=_0x205d60;_0x53ed16[_0x46ea94(0x178)](_0x49264f,_0x70656d)[_0x46ea94(0x17a)](()=>{const _0x186b85=_0x46ea94,_0x39b5a7=CodeceptUtils[_0x186b85(0x1ab)](_0x49264f),_0x9365ac=fs['readFileSync'](_0x39b5a7);process[_0x186b85(0x175)]('bs:addLog:'+process['pid'],{'timestamp':new Date()[_0x186b85(0x1fd)](),'message':_0x9365ac[_0x186b85(0x1f5)](_0x5501ef[_0x186b85(0x1e2)]),'kind':_0x5501ef['PMkSO']}),_0x5501ef[_0x186b85(0x1c3)](_0x1a1f67);})[_0x46ea94(0x1bc)](()=>null);});});},patchWebDriverBefore=_0x30ab37=>{const _0x4b6c2b=a1_0x3ba33f,_0x4f9342={'RIWDk':function(_0x239014){return _0x239014();},'ZXPof':function(_0x1ca9f6,_0x32d235){return _0x1ca9f6(_0x32d235);},'HxBUg':function(_0xd40fdb,_0x1a0391){return _0xd40fdb===_0x1a0391;},'Dpymx':_0x4b6c2b(0x1f8),'ovMtZ':function(_0x344d9a,_0x1199fb){return _0x344d9a(_0x1199fb);}},_0x4ca71d=async function(_0x37d5d7,_0x1aeecb){const _0x3945e0=_0x4b6c2b;return _0x4f9342[_0x3945e0(0x1f3)](isAccessibilityAutomationSession)&&!global[_0x3945e0(0x1aa)]&&global['accessibilityPlatform']&&scripts[_0x3945e0(0x19b)](_0x37d5d7[_0x3945e0(0x1a5)])&&_0x4f9342['ZXPof'](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x3945e0(0x1aa)]=!![],logger['debug'](_0x3945e0(0x1f9)+_0x37d5d7[_0x3945e0(0x1a8)]+'\x20'+_0x37d5d7[_0x3945e0(0x1a5)]),await AccessibilityHelper[_0x3945e0(0x19e)](_0x30ab37,scripts['performScan'])),global[_0x3945e0(0x1aa)]=![],_0x1aeecb[_0x3945e0(0x215)](this,Array[_0x3945e0(0x172)][_0x3945e0(0x214)][_0x3945e0(0x1ff)](arguments,0x2));},_0x4b0ecf=CodeceptWebDriver[_0x4b6c2b(0x172)][_0x4b6c2b(0x17c)];CodeceptWebDriver['prototype'][_0x4b6c2b(0x17c)]=async function(){const _0x14b295=_0x4b6c2b;await _0x4b0ecf[_0x14b295(0x215)](this,arguments),scripts['commandsToWrap']['filter'](_0x5934e3=>_0x5934e3[_0x14b295(0x1a5)]&&_0x5934e3[_0x14b295(0x1a8)])[_0x14b295(0x196)](_0x18d982=>{const _0x286333=_0x14b295;this[_0x286333(0x1d2)]['overwriteCommand'](_0x18d982[_0x286333(0x1a5)],_0x4ca71d[_0x286333(0x1fb)](this,_0x18d982),_0x4f9342['HxBUg'](_0x18d982[_0x286333(0x1a8)],_0x4f9342[_0x286333(0x1c6)]));}),_0x4f9342[_0x14b295(0x177)](processWebDriverConfig,_0x30ab37);};},patchPlaywrightBefore=()=>{const _0x4494ee=a1_0x3ba33f;PlaywrightSessionDetails['patch']();const _0x67adb8=CodeceptPlaywright['prototype']['_before'];CodeceptPlaywright[_0x4494ee(0x172)][_0x4494ee(0x17c)]=async function(){const _0x445e52=_0x4494ee;this[_0x445e52(0x1b8)]=await this[_0x445e52(0x1d2)][_0x445e52(0x1a2)]()[0x0],await _0x67adb8['apply'](this,arguments);};},getCodeceptDriver=()=>{const _0x1ec604=a1_0x3ba33f,_0x70affc={};_0x70affc[_0x1ec604(0x1fe)]=_0x1ec604(0x1c5),_0x70affc[_0x1ec604(0x1de)]='Playwright',_0x70affc[_0x1ec604(0x1d6)]='Puppeteer',_0x70affc[_0x1ec604(0x1a6)]=_0x1ec604(0x187);const _0x17c0ad=_0x70affc,_0x244b0b=[_0x17c0ad[_0x1ec604(0x1fe)],_0x17c0ad[_0x1ec604(0x1de)],_0x17c0ad[_0x1ec604(0x1d6)],_0x17c0ad['rYJzL']],_0x4c0ea6=_0x244b0b[_0x1ec604(0x185)](_0x13c207=>!!CodeceptJS[_0x1ec604(0x1f6)][_0x1ec604(0x201)](_0x13c207));if(!_0x4c0ea6)return null;return CodeceptJS['container'][_0x1ec604(0x201)](_0x4c0ea6);};module[a1_0x3ba33f(0x19d)]=function(_0x34dca7){const _0x2c54d8=a1_0x3ba33f,_0x5a5f60={'suBwl':_0x2c54d8(0x1ef),'tqtnp':_0x2c54d8(0x1fa),'CzelK':function(_0xd7bcb6){return _0xd7bcb6();},'yFDiD':function(_0x42fc91,_0x9162c4){return _0x42fc91(_0x9162c4);},'kAQSb':function(_0xef88d,_0x5b291e,_0x5fddb){return _0xef88d(_0x5b291e,_0x5fddb);},'PIiZP':function(_0x3aea12,_0x5d925e,_0x1b2c2e){return _0x3aea12(_0x5d925e,_0x1b2c2e);},'kYgbd':function(_0x4b5e03,_0x3a99bc,_0x57a0b7){return _0x4b5e03(_0x3a99bc,_0x57a0b7);},'RWOiC':function(_0x3dad31,_0x122f8b,_0x2f18b7,_0x2d27cf){return _0x3dad31(_0x122f8b,_0x2f18b7,_0x2d27cf);},'uhUvk':function(_0x7deaab,_0x45ed3f){return _0x7deaab===_0x45ed3f;},'TkhBm':'Suite','EroDo':function(_0x499ee2){return _0x499ee2();},'kvZnL':_0x2c54d8(0x1e5),'zaAqs':_0x2c54d8(0x206),'bchCM':_0x2c54d8(0x20a),'RSzYu':_0x2c54d8(0x1a7),'BUCWe':function(_0x594388){return _0x594388();},'twPyV':function(_0x19a53b,_0x3d0262){return _0x19a53b(_0x3d0262);}};_0x34dca7[_0x2c54d8(0x205)]&&(global[_0x2c54d8(0x20d)]=_0x34dca7[_0x2c54d8(0x205)]);PerformanceTester[_0x2c54d8(0x18a)]();const _0x2dcf4b=_0x5a5f60[_0x2c54d8(0x1b2)](getCodeceptDriver),_0x532719=new O11yHelper(_0x2dcf4b,_0x34dca7),_0x49b0d3=!!CodeceptJS[_0x2c54d8(0x1f6)]['helpers'](_0x5a5f60[_0x2c54d8(0x186)]);global[_0x2c54d8(0x1b6)]=_0x2dcf4b,_0x2dcf4b&&(_0x49b0d3?_0x5a5f60[_0x2c54d8(0x1ee)](patchPlaywrightBefore):_0x5a5f60[_0x2c54d8(0x20f)](patchWebDriverBefore,_0x2dcf4b),_0x2dcf4b[_0x2c54d8(0x198)]=async()=>{const _0x485746=_0x2c54d8;if(global[_0x485746(0x1b3)])await AccessibilityHelper[_0x485746(0x19e)](_0x2dcf4b,scripts[_0x485746(0x1e6)]),await AccessibilityHelper[_0x485746(0x19e)](_0x2dcf4b,scripts[_0x485746(0x1ad)]);else return logger[_0x485746(0x1c2)](_0x5a5f60[_0x485746(0x199)]),{};},_0x2dcf4b['getAccessibilityResults']=async()=>{const _0x552698=_0x2c54d8;if(global['accessibilityPlatform'])await AccessibilityHelper['browserStackExecuteDriver'](_0x2dcf4b,scripts['performScan']),await AccessibilityHelper[_0x552698(0x19e)](_0x2dcf4b,scripts[_0x552698(0x207)]);else return logger[_0x552698(0x1c2)](_0x5a5f60[_0x552698(0x1c8)]),{};},_0x5a5f60[_0x2c54d8(0x21a)](patchSaveScreenshot,_0x2dcf4b)),CodeceptJS['event']['dispatcher']['on'](CodeceptJS['event'][_0x2c54d8(0x1ed)][_0x2c54d8(0x202)],()=>{const _0x4766d4=_0x2c54d8;try{_0x532719[_0x4766d4(0x1ae)](),testOpsHelper[_0x4766d4(0x1a9)]();}catch(_0x192c14){PerformanceTester[_0x4766d4(0x20b)](_0x192c14);}}),CodeceptJS[_0x2c54d8(0x1c9)][_0x2c54d8(0x1dc)]['on'](CodeceptJS[_0x2c54d8(0x1c9)][_0x2c54d8(0x1ed)]['after'],async()=>{const _0x523f68=_0x2c54d8;try{requestSpy[_0x523f68(0x1ac)](),await _0x532719['stop']();}catch(_0x5f05f1){PerformanceTester[_0x523f68(0x20b)](_0x5f05f1);}finally{PerformanceTester['stopMonitoring']();}}),CodeceptJS[_0x2c54d8(0x1c9)][_0x2c54d8(0x1dc)]['on'](CodeceptJS[_0x2c54d8(0x1c9)][_0x2c54d8(0x1e4)]['started'],_0x97be48=>{const _0x5c10c8=_0x2c54d8;try{const _0x1680eb=_0x97be48[_0x5c10c8(0x1f2)][_0x5c10c8(0x179)],_0x375dde=_0x532719[_0x5c10c8(0x1d1)](TEST_EVENTS[_0x5c10c8(0x180)],_0x1680eb);CodeceptRecorder[_0x5c10c8(0x219)](()=>_0x532719[_0x5c10c8(0x1ea)](TEST_EVENTS['HOOK_RUN_STARTED'],_0x375dde));}catch(_0x352ae){PerformanceTester[_0x5c10c8(0x20b)](_0x352ae);}}),CodeceptJS[_0x2c54d8(0x1c9)][_0x2c54d8(0x1dc)]['on'](CodeceptJS[_0x2c54d8(0x1c9)][_0x2c54d8(0x1e4)][_0x2c54d8(0x1e7)],_0x3a5ae5=>{const _0x222451=_0x2c54d8;try{const _0x75fb61=_0x3a5ae5[_0x222451(0x1f2)][_0x222451(0x179)],_0x193b87=_0x532719[_0x222451(0x1d1)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x75fb61);CodeceptRecorder[_0x222451(0x219)](()=>_0x532719[_0x222451(0x1ea)](TEST_EVENTS[_0x222451(0x1e8)],_0x193b87));}catch(_0x2ce8d9){PerformanceTester[_0x222451(0x20b)](_0x2ce8d9);}}),CodeceptJS[_0x2c54d8(0x1c9)]['dispatcher']['on'](CodeceptJS['event'][_0x2c54d8(0x1e4)][_0x2c54d8(0x1fc)],async(_0x36f716,_0x2b12f8)=>{const _0x32fee5=_0x2c54d8;try{const _0x58859b=_0x36f716['ctx'][_0x32fee5(0x179)],_0x4b96b6=_0x532719[_0x32fee5(0x1d1)](TEST_EVENTS[_0x32fee5(0x1e8)],_0x58859b,_0x2b12f8);CodeceptRecorder[_0x32fee5(0x219)](()=>_0x532719[_0x32fee5(0x1ea)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x4b96b6));}catch(_0x2aa437){PerformanceTester[_0x32fee5(0x20b)](_0x2aa437);}}),CodeceptJS[_0x2c54d8(0x1c9)][_0x2c54d8(0x1dc)]['on'](CodeceptJS['event']['test'][_0x2c54d8(0x202)],_0x42a489=>{const _0x2f6e39=_0x2c54d8;try{_0x5a5f60[_0x2f6e39(0x1b2)](isBrowserstackInfra)&&(_0x49b0d3&&(global['__workerDetails']={'currentTest':{'name':_0x42a489[_0x2f6e39(0x217)],'testInfo':{'titlePath':_0x42a489['titlePath']()}}}));}catch(_0x52e1e8){PerformanceTester['captureError'](_0x52e1e8);}}),CodeceptJS[_0x2c54d8(0x1c9)][_0x2c54d8(0x1dc)]['on'](CodeceptJS['event'][_0x2c54d8(0x179)]['started'],_0x3cc29d=>{const _0x3da8db=_0x2c54d8;try{const _0x4c62b3=_0x532719[_0x3da8db(0x1d1)](TEST_EVENTS[_0x3da8db(0x1c0)],_0x3cc29d);CodeceptRecorder[_0x3da8db(0x219)](()=>_0x532719[_0x3da8db(0x1ea)](TEST_EVENTS[_0x3da8db(0x1c0)],_0x4c62b3)),CodeceptRecorder[_0x3da8db(0x219)](async()=>{const _0xca66d3=_0x3da8db;_0x5a5f60['CzelK'](isBrowserstackInfra)&&(!_0x5a5f60[_0xca66d3(0x20f)](isTrue,_0x34dca7[_0xca66d3(0x17f)])&&await _0x5a5f60[_0xca66d3(0x1f0)](markSessionName,_0x2dcf4b,_0x3cc29d['title']),_0x532719['enabled']&&await _0x5a5f60['yFDiD'](o11ySync,_0x2dcf4b));});}catch(_0x19faf0){PerformanceTester[_0x3da8db(0x20b)](_0x19faf0);}}),CodeceptJS['event'][_0x2c54d8(0x1dc)]['on'](CodeceptJS[_0x2c54d8(0x1c9)][_0x2c54d8(0x179)][_0x2c54d8(0x1e7)],_0x30ff22=>{const _0x2202d4=_0x2c54d8,_0x47846c={'dCCLu':function(_0x25a80a){const _0x24fbe5=a1_0x4fb1;return _0x5a5f60[_0x24fbe5(0x1b2)](_0x25a80a);},'FAAfd':function(_0x5d3eed,_0x16f56e,_0xc0f3a1){const _0x349ab1=a1_0x4fb1;return _0x5a5f60[_0x349ab1(0x176)](_0x5d3eed,_0x16f56e,_0xc0f3a1);},'uoudT':function(_0x518152,_0x3900a1,_0x5fbd20){const _0x239d44=a1_0x4fb1;return _0x5a5f60[_0x239d44(0x1cf)](_0x518152,_0x3900a1,_0x5fbd20);}};try{const _0x4949ee=_0x532719[_0x2202d4(0x1d1)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x30ff22);CodeceptRecorder['add'](()=>_0x532719[_0x2202d4(0x1ea)](TEST_EVENTS[_0x2202d4(0x1ca)],_0x4949ee)),CodeceptRecorder['add'](async()=>{const _0x3a2581=_0x2202d4;_0x47846c[_0x3a2581(0x1e3)](isBrowserstackInfra)&&(_0x49b0d3?await _0x47846c['FAAfd'](playwrightMarkSessionStatus,_0x2dcf4b,STATE_PASSED):await _0x47846c[_0x3a2581(0x204)](markSessionStatus,_0x2dcf4b,STATE_PASSED));});}catch(_0x460278){PerformanceTester[_0x2202d4(0x20b)](_0x460278);}}),CodeceptJS[_0x2c54d8(0x1c9)]['dispatcher']['on'](CodeceptJS['event'][_0x2c54d8(0x179)][_0x2c54d8(0x1fc)],(_0x59b1e5,_0x3b5f2)=>{const _0x298247=_0x2c54d8,_0x2a496d={'Wuhlj':function(_0x2cc113){const _0x3a3a42=a1_0x4fb1;return _0x5a5f60[_0x3a3a42(0x1b2)](_0x2cc113);},'jjaJD':function(_0x534b34,_0x444a4f,_0x4924ce,_0x317cae){return _0x5a5f60['RWOiC'](_0x534b34,_0x444a4f,_0x4924ce,_0x317cae);}};try{if(_0x5a5f60[_0x298247(0x209)](_0x59b1e5['constructor'][_0x298247(0x1a5)],_0x5a5f60[_0x298247(0x18e)])){const _0xba854d=_0x532719['captureEvent'](TEST_EVENTS[_0x298247(0x17b)],_0x59b1e5[_0x298247(0x1f2)][_0x298247(0x210)]);CodeceptRecorder[_0x298247(0x219)](()=>_0x532719['fireEvent'](TEST_EVENTS['TEST_RUN_SKIPPED'],_0xba854d));}else{const _0x4f4187=_0x532719['captureEvent'](TEST_EVENTS[_0x298247(0x1ca)],_0x59b1e5,_0x3b5f2);CodeceptRecorder[_0x298247(0x219)](()=>{const _0x4979df=_0x298247;try{_0x532719[_0x4979df(0x1ea)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x4f4187);}catch(_0x552717){logger[_0x4979df(0x197)](_0x4979df(0x208)+util[_0x4979df(0x192)](_0x552717));}}),CodeceptRecorder[_0x298247(0x219)](async()=>{const _0xc4c499=_0x298247;try{_0x2a496d[_0xc4c499(0x1e9)](isBrowserstackInfra)&&(_0x49b0d3?await _0x2a496d[_0xc4c499(0x1c7)](playwrightMarkSessionStatus,_0x2dcf4b,STATE_FAILED,_0x3b5f2):await _0x2a496d[_0xc4c499(0x1c7)](markSessionStatus,_0x2dcf4b,STATE_FAILED,_0x3b5f2));}catch(_0x14d962){logger[_0xc4c499(0x197)](_0xc4c499(0x1c4)+util['format'](_0x14d962));}});}}catch(_0x177516){PerformanceTester[_0x298247(0x20b)](_0x177516);}}),CodeceptJS[_0x2c54d8(0x1c9)]['dispatcher']['on'](CodeceptJS[_0x2c54d8(0x1c9)]['test']['skipped'],_0x102d4c=>{const _0x972a1e=_0x2c54d8;try{const _0x140601=_0x532719[_0x972a1e(0x1d1)](TEST_EVENTS[_0x972a1e(0x17b)],_0x102d4c);CodeceptRecorder['add'](()=>_0x532719[_0x972a1e(0x1ea)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x140601));}catch(_0x439029){PerformanceTester[_0x972a1e(0x20b)](_0x439029);}}),CodeceptJS['event'][_0x2c54d8(0x1dc)]['on'](CodeceptJS[_0x2c54d8(0x1c9)][_0x2c54d8(0x179)]['after'],async(_0x29e045,_0xf35c7d)=>{const _0x3c83e3=_0x2c54d8;try{if(_0x5a5f60[_0x3c83e3(0x1b2)](isBrowserstackInfra)){const _0x290c65=_0x5a5f60[_0x3c83e3(0x1cf)](shouldScanTestForAccessibility,_0x29e045[_0x3c83e3(0x19a)](),!![]);if(_0x5a5f60[_0x3c83e3(0x1ba)](isAccessibilityAutomationSession)&&global['accessibilityPlatform']&&_0x290c65){const _0x1b21aa={};_0x1b21aa['thTestRunUuid']=_0x29e045['testAnalyticsId'],_0x1b21aa[_0x3c83e3(0x20e)]=process[_0x3c83e3(0x1da)][testHubConstants[_0x3c83e3(0x1a4)][_0x3c83e3(0x1af)]],_0x1b21aa[_0x3c83e3(0x182)]=process[_0x3c83e3(0x1da)][testHubConstants[_0x3c83e3(0x1a4)]['BROWSERSTACK_TESTHUB_JWT']];const _0x4dd3f8=_0x1b21aa;logger[_0x3c83e3(0x197)](_0x3c83e3(0x18c)+JSON['stringify'](_0x4dd3f8)),CodeceptRecorder[_0x3c83e3(0x219)](async()=>{const _0x54138c=_0x3c83e3;await AccessibilityHelper[_0x54138c(0x19e)](_0x2dcf4b,scripts[_0x54138c(0x1e6)]),await AccessibilityHelper[_0x54138c(0x19e)](_0x2dcf4b,scripts['saveTestResults'],_0x4dd3f8);}),logger['info'](_0x5a5f60[_0x3c83e3(0x203)]);}}}catch(_0x2cc3df){PerformanceTester[_0x3c83e3(0x20b)](_0x2cc3df);}}),CodeceptJS[_0x2c54d8(0x1c9)][_0x2c54d8(0x1dc)]['on'](CodeceptJS[_0x2c54d8(0x1c9)][_0x2c54d8(0x17d)][_0x2c54d8(0x173)],_0x23e266=>{const _0x472b49=_0x2c54d8;try{process[_0x472b49(0x175)](_0x472b49(0x174)+process[_0x472b49(0x1d4)],{'timestamp':new Date()[_0x472b49(0x1fd)](),'level':_0x5a5f60['zaAqs'],'message':_0x23e266,'kind':_0x5a5f60['bchCM'],'http_response':{}});}catch(_0x853e9){PerformanceTester[_0x472b49(0x20b)](_0x853e9);}}),CodeceptJS[_0x2c54d8(0x1c9)][_0x2c54d8(0x1dc)]['on'](CodeceptJS[_0x2c54d8(0x1c9)][_0x2c54d8(0x189)][_0x2c54d8(0x202)],_0x4f33bb=>{const _0x1e862b=_0x2c54d8;_0x532719[_0x1e862b(0x1f7)](_0x4f33bb);}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS['event'][_0x2c54d8(0x189)][_0x2c54d8(0x1d0)],_0x4939ef=>{const _0x1832f8=_0x2c54d8;_0x532719[_0x1832f8(0x1b1)](_0x4939ef);});};function a1_0x12c6(){const _0x17338c=['codeceptjs/lib/index.js','../../bin/playwright/accessibility-helper','../../helpers/testhub/constants.js','contexts','arguments','ENV_VAR','name','rYJzL','Playwright','class','addRequestSpy','bstackAllyScanning','screenshotOutputFolder','restore','getResultsSummary','start','BROWSERSTACK_TESTHUB_UUID','saveScreenshot','bddStepFinish','CzelK','accessibilityPlatform','801900hCmzHi','executeScript','__driver','vhOcR','browserContext','../../helpers/accessibility-automation/scripts','EroDo','codeceptjs/lib/recorder.js','catch','../../helpers/logger','action','codeceptjs','TEST_RUN_STARTED','3MxCoAh','warn','ILNCF','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','WebDriver','Dpymx','jjaJD','tqtnp','event','TEST_RUN_FINISHED','vEXZI','constructor','504jbSmKR','xYDRB','kYgbd','after','captureEvent','browser','mTZSb','pid','618413SSyyFb','fbJGb','50QLQXak','BS_TESTOPS_ALLOW_SCREENSHOTS','winstonLogger','env','32GUoHPl','dispatcher','../../helpers/request-spy','OZVYs','../../helpers/accessibility-automation/helper','313761LboOMD','TEST_SCREENSHOT','IHfGO','dCCLu','hook','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','performScan','passed','HOOK_RUN_FINISHED','Wuhlj','fireEvent','40485Rbituh','stringify','all','BUCWe','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','kAQSb','tYXxI','ctx','RIWDk','status','toString','container','bddStepStart','Element','Performing\x20scan\x20for\x20','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','bind','failed','toISOString','Hgort','call','patchSaveScreenshot','helpers','before','kvZnL','uoudT','skipSessionStatus','INFO','getResults','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','uhUvk','TEST_LOG','captureError','YjrPW','__skipSessionStatus','thBuildUuid','yFDiD','currentTest','codeceptjs/lib/helper/Playwright.js','892996PPpvnJ','../../bin/playwright/sessionDetails','slice','apply','./o11yHelper','title','util','add','twPyV','prototype','comment','bs:addLog:','emit','PIiZP','ovMtZ','initSaveScreenshot','test','then','TEST_RUN_SKIPPED','_before','step','setSessionStatus','skipSessionName','HOOK_RUN_STARTED','AbcST','thJwtToken','browserstack_executor:\x20','setSessionName','find','RSzYu','TestCafe','mhCeH','bddStep','startMonitoring','1867657LWKTSi','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','getSyncScript','TkhBm','./helper.js','OpoGD','codeceptjs/lib/utils.js','format','../../helpers/performance-tester','reason','1208794EKuwFY','forEach','debug','getAccessibilityResultsSummary','suBwl','titlePath','shouldWrapCommand','codeceptjs/lib/helper/WebDriver.js','exports','browserStackExecuteDriver'];a1_0x12c6=function(){return _0x17338c;};return a1_0x12c6();}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a2_0xee45(){const _0x56121d=['err','errorMessage','WebDriver','info','hadCM','root','laqAt','playwright-chromium','run','../../bin/playwright/accessibility-helper','stringify','BROWSERSTACK_TEST_ACCESSIBILITY_YML','path','660678QHxSaU','4185ajyfnW','FRAMEWORKS','getPlaywrightUrl','failed','skipSessionName','uJCPO','handleApp','join','../../helpers/helper','vucbY','../../helpers/BrowserStackSetup','accessibilityOptions','TvlsO','printBuildLink','lcAwF','IFubX','desiredCapabilities','-cucumber','spawn','XlaPT','format','1|4|2|0|3','profile','JVJwJ','skipSessionStatus','UJeol','accessibility','useW3C','GzVgA','browserWSEndpoint','6717354yXptwR','BrowserStackPlugin.js','null','1392430jvJdnD','cwd','lgClV','Started\x20:\x20','result','yDncr','codeceptjs','platforms','isUndefined','mergeDeep','77836HqNsED','require','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','plugins','enabled','config','dirname','testObservability','title','mfEyr','juFMr','chromium','hLZzX','all','bootstrapAll','push','ZuMci','stack','CODECEPT','exports','EBLlc','addTests','Playwright','--config','codeceptjs/lib/index.js','trim','NLJdL','chdir','browser','Passed\x20:\x20','test','BROWSERSTACK_RERUN','testConfig','BROWSERSTACK_TEST_OBSERVABILITY_YML','log','prepareCapabilities','event','load','slice','getPlatformName','22624tLlrod','forEach','launchBuild','toLowerCase','printResults','teardownAll','6RPPyuz','../utils/constants','parallelsPerPlatform','zeSEN','QoDKV','lIRXU','browserName','existsSync','createGroupsOfSuites','HJJZP','findIndex','map','EErPw','PaWem','length','1381828UROclV','playwright-webkit','rMkwo','Workers','testContextOptions','helpers','opWmZ','SnMls','577396MFGLsu','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','env','split','before','isTestObservabilitySession','QqnvZ','getUserWorkerCount','codecept.json'];a2_0xee45=function(){return _0x56121d;};return a2_0xee45();}const a2_0x34161c=a2_0x5864;(function(_0x527585,_0x5de74c){const _0x2a503c=a2_0x5864,_0x253a1f=_0x527585();while(!![]){try{const _0x12ec70=-parseInt(_0x2a503c(0x109))/0x1+-parseInt(_0x2a503c(0x101))/0x2+-parseInt(_0x2a503c(0x11f))/0x3+parseInt(_0x2a503c(0x14b))/0x4+-parseInt(_0x2a503c(0x141))/0x5+-parseInt(_0x2a503c(0x179))/0x6*(-parseInt(_0x2a503c(0x13e))/0x7)+-parseInt(_0x2a503c(0x173))/0x8*(-parseInt(_0x2a503c(0x120))/0x9);if(_0x12ec70===_0x5de74c)break;else _0x253a1f['push'](_0x253a1f['shift']());}catch(_0x31d9fe){_0x253a1f['push'](_0x253a1f['shift']());}}}(a2_0xee45,0x80ae7));function a2_0x5864(_0x2cb031,_0x29d575){const _0xee456f=a2_0xee45();return a2_0x5864=function(_0x58648a,_0x5b9d3d){_0x58648a=_0x58648a-0xfe;let _0x3d53cd=_0xee456f[_0x58648a];return _0x3d53cd;},a2_0x5864(_0x2cb031,_0x29d575);}const fs=require('fs'),path=require(a2_0x34161c(0x11e)),util=require('util'),process=require('process'),logger=require('../../helpers/logger')['winstonLogger'],{default:BrowserStackSetup}=require(a2_0x34161c(0x12a)),helper=require(a2_0x34161c(0x128)),utilities=require('../../helpers/utilities'),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require(a2_0x34161c(0x11b)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x34161c(0x128)),CodeceptJS=requireModule(a2_0x34161c(0x163),'codeceptjs'),testOpsHelper=require('../../helpers/test-observability/utils'),TestHubHandler=require('../../helpers/testhub/testhubHandler'),constants=require(a2_0x34161c(0x17a)),_testErrorData=[],getUserCodeceptJSConfigs=(_0xc0c4d3,_0x2c1b91)=>{const _0x2117cd=a2_0x34161c,_0x210b11={};_0x210b11['GJOuw']=function(_0xafa0ef,_0x2594c0){return _0xafa0ef===_0x2594c0;},_0x210b11[_0x2117cd(0x154)]='codecept.conf.js',_0x210b11[_0x2117cd(0x129)]=_0x2117cd(0x111);const _0x18c344=_0x210b11;let _0x45dadb=null;const _0x5e7e0d={};let _0x4fddb2=_0x2c1b91['findIndex'](_0x11015e=>_0x11015e===_0x2117cd(0x162));_0x18c344['GJOuw'](_0x4fddb2,-0x1)&&(_0x4fddb2=_0x2c1b91[_0x2117cd(0x183)](_0x36e50f=>_0x36e50f==='-c'));if(!helper[_0x2117cd(0x149)](_0xc0c4d3[_0x2117cd(0x150)])&&fs[_0x2117cd(0x180)](path['join'](process[_0x2117cd(0x142)](),_0xc0c4d3['config'])))_0x45dadb=path[_0x2117cd(0x127)](process[_0x2117cd(0x142)](),_0xc0c4d3[_0x2117cd(0x150)]),_0x2c1b91['slice'](_0x4fddb2,0x2);else{if(!helper[_0x2117cd(0x149)](_0xc0c4d3['c'])&&fs['existsSync'](path[_0x2117cd(0x127)](process['cwd'](),_0xc0c4d3['c'])))_0x45dadb=path[_0x2117cd(0x127)](process['cwd'](),_0xc0c4d3['c']),_0x2c1b91[_0x2117cd(0x171)](_0x4fddb2,0x2);else{if(fs[_0x2117cd(0x180)](path[_0x2117cd(0x127)](process[_0x2117cd(0x142)](),_0x18c344[_0x2117cd(0x154)])))_0x45dadb=path['join'](process[_0x2117cd(0x142)](),_0x18c344[_0x2117cd(0x154)]);else fs['existsSync'](path[_0x2117cd(0x127)](process[_0x2117cd(0x142)](),_0x18c344['vucbY']))&&(_0x45dadb=path[_0x2117cd(0x127)](process[_0x2117cd(0x142)](),_0x18c344[_0x2117cd(0x129)]));}}return _0x45dadb;},getO11yRerunPattern=()=>{const _0x3351e5=a2_0x34161c,_0x49350a={};_0x49350a[_0x3351e5(0x182)]=function(_0x38788a,_0x2613ef){return _0x38788a!==_0x2613ef;},_0x49350a[_0x3351e5(0x157)]=_0x3351e5(0x140);const _0x188b1e=_0x49350a,_0x1bfcce=helper['isTrue'](process[_0x3351e5(0x10b)][_0x3351e5(0x16a)]);if(_0x1bfcce){const _0x597320=process['env']['BROWSERSTACK_RERUN_TESTS'],_0x5d8751=[];if(_0x188b1e['HJJZP'](_0x597320,_0x188b1e['hLZzX'])&&!helper[_0x3351e5(0x149)](_0x597320)){_0x597320[_0x3351e5(0x10c)](',')[_0x3351e5(0x184)](_0x11febe=>{const _0x59ab60=_0x3351e5;_0x5d8751[_0x59ab60(0x15a)]('('+_0x11febe[_0x59ab60(0x164)]()+')');});const _0xf8c1ba='^'+_0x5d8751[_0x3351e5(0x127)]('|')+'$';return _0xf8c1ba;}}return null;},a2_0x43989c={};a2_0x43989c['chrome']=a2_0x34161c(0x156),a2_0x43989c[a2_0x34161c(0x119)]=a2_0x34161c(0x156),a2_0x43989c['playwright-firefox']='firefox',a2_0x43989c[a2_0x34161c(0x102)]='webkit';const pwToCodeceptBrowser=a2_0x43989c;async function run(_0xf592b,_0x4bcf5f){const _0x2c6d1f=a2_0x34161c,_0x3fca00={'GzVgA':function(_0x5c19cf,_0x7e6202){return _0x5c19cf+_0x7e6202;},'lIRXU':function(_0x18b0a3,_0x39dfa9){return _0x18b0a3(_0x39dfa9);},'hadCM':function(_0x102c04,_0x5e15ab){return _0x102c04+_0x5e15ab;},'juFMr':function(_0x531bfe,_0x29665b,_0x4aa36b){return _0x531bfe(_0x29665b,_0x4aa36b);},'QqnvZ':_0x2c6d1f(0x106),'laqAt':function(_0x3f48a6){return _0x3f48a6();},'zRDOp':'Failed\x20:\x20','ZuMci':_0x2c6d1f(0x168),'EErPw':_0x2c6d1f(0x144),'IFubX':_0x2c6d1f(0x135),'QoDKV':_0x2c6d1f(0x147),'zeSEN':_0x2c6d1f(0x14d),'JVJwJ':_0x2c6d1f(0x161),'yDncr':_0x2c6d1f(0x114),'XlaPT':function(_0x1b6799,_0x56b5d7){return _0x1b6799(_0x56b5d7);},'KIGPx':function(_0x19a2ac,_0x259373){return _0x19a2ac!=_0x259373;},'SnMls':function(_0x182215,_0x5215b0){return _0x182215===_0x5215b0;},'TvlsO':function(_0x2d456f,_0x4e4ccc){return _0x2d456f+_0x4e4ccc;},'nulDN':function(_0x3af83a,_0x1dd9fa,_0x235b07){return _0x3af83a(_0x1dd9fa,_0x235b07);},'uJCPO':'gherkin','PaWem':_0x2c6d1f(0x131),'UJeol':function(_0x196a75,_0x29cece){return _0x196a75*_0x29cece;},'opWmZ':function(_0x5602e7,_0x8cf2ff,_0x177859){return _0x5602e7(_0x8cf2ff,_0x177859);},'NLJdL':_0x2c6d1f(0x167),'lcAwF':'desiredCapabilities','rMkwo':_0x2c6d1f(0x117),'lgClV':_0x2c6d1f(0x13f),'EBLlc':'browserStackCwd'},_0x28f23b=new BrowserStackSetup(_0xf592b,_0x3fca00[_0x2c6d1f(0x17d)]);await _0x28f23b['initialize'](),await helper[_0x2c6d1f(0x126)](_0x28f23b[_0x2c6d1f(0x150)]);if(!_0x28f23b['config'])return;process['profile']=_0xf592b['profile'];_0xf592b[_0x2c6d1f(0x136)]&&(process[_0x2c6d1f(0x10b)][_0x2c6d1f(0x136)]=_0xf592b['profile']);const _0x32ce7e=_0x3fca00['juFMr'](getUserCodeceptJSConfigs,_0xf592b,_0x4bcf5f);let _0x46646a={};_0x32ce7e?(logger[_0x2c6d1f(0x115)]('Getting\x20your\x20codeceptjs\x20configs\x20from\x20'+_0x32ce7e),_0x46646a=CodeceptJS[_0x2c6d1f(0x150)][_0x2c6d1f(0x170)](_0x32ce7e)):logger[_0x2c6d1f(0x115)](_0x3fca00[_0x2c6d1f(0x17c)]);let _0x34d36a=![];_0x3fca00[_0x2c6d1f(0x155)](nestedKeyValue,_0x46646a,[_0x3fca00[_0x2c6d1f(0x10f)],_0x3fca00[_0x2c6d1f(0x137)]])&&(_0x34d36a=!![]);const _0x33f323=_0x34d36a?_0x3fca00['JVJwJ']:_0x3fca00[_0x2c6d1f(0x146)];let _0x15a4e0=!_0x34d36a?helper[_0x2c6d1f(0x13b)](_0x28f23b['config']):![];!helper['isUndefined'](_0x28f23b[_0x2c6d1f(0x150)][_0x2c6d1f(0x12b)])&&(process[_0x2c6d1f(0x10b)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x2c6d1f(0x11c)](_0x28f23b['config'][_0x2c6d1f(0x12b)]));let _0x33d7be=_0x28f23b[_0x2c6d1f(0x150)][_0x2c6d1f(0x13a)];_0x33d7be=_0x33d7be||_0x3fca00[_0x2c6d1f(0x133)](checkAccessibilityPlatformConfig,_0x28f23b[_0x2c6d1f(0x150)]),process[_0x2c6d1f(0x10b)][_0x2c6d1f(0x11d)]=_0x33d7be;_0x33d7be&&(_0x15a4e0=!_0x33d7be);_0x3fca00['KIGPx'](_0x28f23b['config'][_0x2c6d1f(0x152)],null)?process[_0x2c6d1f(0x10b)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x28f23b[_0x2c6d1f(0x150)][_0x2c6d1f(0x152)]:process[_0x2c6d1f(0x10b)][_0x2c6d1f(0x16c)]=_0x3fca00[_0x2c6d1f(0x108)](_0x33f323,_0x3fca00[_0x2c6d1f(0x137)]);const _0x512783=_0x3fca00[_0x2c6d1f(0x12c)](_0x3fca00['QoDKV'],_0x3fca00['nulDN'](nestedKeyValue,_0x46646a,[_0x3fca00[_0x2c6d1f(0x125)]])?_0x3fca00[_0x2c6d1f(0xff)]:''),_0x2763b7=await TestHubHandler[_0x2c6d1f(0x175)](_0x512783,_0x28f23b);_0x33d7be&&_0x3fca00[_0x2c6d1f(0x17e)](setAccessibilityCapabilities,_0x28f23b[_0x2c6d1f(0x150)]);const _0x385c83={},_0x153e67=[],_0x122e2a=_0x28f23b[_0x2c6d1f(0x150)][_0x2c6d1f(0x17b)]||helper[_0x2c6d1f(0x110)](_0xf592b,_0x4bcf5f,_0x28f23b['config'],constants[_0x2c6d1f(0x121)][_0x2c6d1f(0x15d)])||0x1;let _0x4dab06=0x1;if(_0x3fca00[_0x2c6d1f(0x118)](isBrowserstackInfra)){const _0x4abae7=helper[_0x2c6d1f(0x16e)](_0x28f23b['config'],_0x15a4e0,constants[_0x2c6d1f(0x121)][_0x2c6d1f(0x15d)]);_0x4abae7['forEach'](_0x2f426f=>{helper['setAdditionalCapabilities'](_0x2f426f);}),helper['validPlatformsPresent'](_0x28f23b[_0x2c6d1f(0x150)])?_0x4dab06=_0x3fca00[_0x2c6d1f(0x139)](_0x122e2a,_0x28f23b[_0x2c6d1f(0x150)][_0x2c6d1f(0x148)][_0x2c6d1f(0x100)]):_0x4dab06=_0x122e2a,_0x4abae7[_0x2c6d1f(0x174)](_0x420cf9=>{const _0x1470f0=_0x2c6d1f,_0x57dc30=_0x3fca00[_0x1470f0(0x116)](helper[_0x1470f0(0x172)](_0x420cf9,'_'),'_'+Date['now']()),_0x473650=((()=>{const _0x3b9a98=_0x1470f0;if(_0x34d36a){const _0x1c5539=pwToCodeceptBrowser[_0x420cf9['browserName']]||_0x420cf9[_0x3b9a98(0x17f)];return{'browser':_0x1c5539,[_0x1c5539]:{'browserWSEndpoint':_0x3fca00[_0x3b9a98(0x13c)](helper[_0x3b9a98(0x122)](_0x28f23b[_0x3b9a98(0x150)]),_0x3fca00[_0x3b9a98(0x17e)](encodeURIComponent,JSON[_0x3b9a98(0x11c)](_0x420cf9)))}};}const _0x32831a={};return _0x32831a[_0x3b9a98(0x130)]=_0x420cf9,_0x32831a;})()),_0x4729f4=_0x3fca00[_0x1470f0(0x155)](nestedKeyValue,_0x46646a,[_0x3fca00[_0x1470f0(0x10f)],_0x33f323]);_0x385c83[_0x57dc30]=_0x4729f4?helper[_0x1470f0(0x14a)](_0x473650,_0x4729f4):_0x473650,!_0x34d36a&&(_0x385c83[_0x57dc30][_0x1470f0(0x167)]=_0x420cf9[_0x1470f0(0x17f)]||_0x473650[_0x1470f0(0x167)]),_0x153e67['push'](_0x57dc30);});}else{_0x4dab06=0x1;if(_0x34d36a){const _0x15dc9d=_0x3fca00['opWmZ'](nestedKeyValue,_0x46646a,[_0x3fca00[_0x2c6d1f(0x10f)],_0x33f323,_0x3fca00[_0x2c6d1f(0x165)]]),_0x36f0e4=_0x3fca00[_0x2c6d1f(0x155)](nestedKeyValue,_0x46646a,[_0x3fca00[_0x2c6d1f(0x10f)],_0x33f323,_0x15dc9d]);_0x36f0e4&&_0x36f0e4[_0x2c6d1f(0x13d)]&&(_0x36f0e4['browserWSEndpoint']=helper[_0x2c6d1f(0x16e)](null,null,_0x512783[_0x2c6d1f(0x176)](),null,null,_0x36f0e4[_0x2c6d1f(0x13d)]));}else _0x46646a[_0x3fca00[_0x2c6d1f(0x10f)]][_0x33f323][_0x3fca00[_0x2c6d1f(0x12e)]]=helper[_0x2c6d1f(0x16e)](null,null,_0x512783[_0x2c6d1f(0x176)](),_0x3fca00[_0x2c6d1f(0x107)](nestedKeyValue,_0x46646a,[_0x3fca00[_0x2c6d1f(0x10f)],_0x33f323,_0x3fca00[_0x2c6d1f(0x12e)]]),null,null);_0x385c83[_0x3fca00['rMkwo']]=_0x46646a,_0x153e67[_0x2c6d1f(0x15a)](_0x3fca00[_0x2c6d1f(0x103)]);}const _0x1212b7={};_0x1212b7[_0x2c6d1f(0x16b)]=_0x32ce7e;const _0x55e326=_0x1212b7,_0x5b37b9=path['join'](__dirname,_0x3fca00[_0x2c6d1f(0x143)]),_0x291d9b=process[_0x2c6d1f(0x142)]();process[_0x2c6d1f(0x10b)][_0x3fca00[_0x2c6d1f(0x15f)]]=_0x291d9b,process[_0x2c6d1f(0x166)](path[_0x2c6d1f(0x151)](_0x32ce7e));const _0x116660=new CodeceptJS[(_0x2c6d1f(0x104))](null,_0x55e326),_0x37a87c=_0x116660[_0x2c6d1f(0x181)](_0x4dab06),_0x3159b3=testOpsHelper[_0x2c6d1f(0x10e)](),_0x43d613=_0x153e67[_0x2c6d1f(0x184)](_0x3e6786=>{const _0x405d41=_0x2c6d1f,_0xfddc6d={};_0xfddc6d[_0x405d41(0x161)]=_0x385c83[_0x3e6786];const _0x4a5c36={};_0x4a5c36[_0x405d41(0x114)]=_0x385c83[_0x3e6786];const _0x43ec25=_0x34d36a?_0xfddc6d:_0x4a5c36,_0x5e523a=_0x3fca00['laqAt'](getO11yRerunPattern),_0x1894b2={};_0x1894b2['helpers']=_0x43ec25;const _0x3faeb1={};_0x3faeb1[_0x405d41(0x14c)]=_0x5b37b9,_0x3faeb1[_0x405d41(0x14f)]=!![],_0x3faeb1[_0x405d41(0x124)]=_0x28f23b[_0x405d41(0x150)][_0x405d41(0x105)]['skipSessionName'],_0x3faeb1[_0x405d41(0x138)]=_0x28f23b['config'][_0x405d41(0x105)]['skipSessionStatus'],_0x3faeb1[_0x405d41(0x152)]=_0x3159b3,_0x3faeb1['frameworkName']=_0x512783;const _0x2b245a={};_0x2b245a['BrowserStackPlugin']=_0x3faeb1;const _0x1ce009={};return _0x1ce009[_0x405d41(0x14e)]=_0x2b245a,helper['mergeDeep']({},_0x46646a,_0x3fca00[_0x405d41(0x118)](isBrowserstackInfra)?_0x1894b2:{},_0x5e523a?{'grep':_0x5e523a}:{},_0x1ce009);});for(const _0x2ba27d of _0x43d613){for(const _0x2c80a2 of _0x37a87c){const _0x48e1b6=_0x116660[_0x2c6d1f(0x132)]();_0x48e1b6[_0x2c6d1f(0x160)](_0x2c80a2),_0x48e1b6['addConfig'](_0x2ba27d);}}_0x116660['on'](CodeceptJS[_0x2c6d1f(0x16f)][_0x2c6d1f(0x169)][_0x2c6d1f(0x123)],(_0x30fb5d,_0x1d9b83)=>{const _0x157874=_0x2c6d1f;console[_0x157874(0x16d)](_0x3fca00['zRDOp'],_0x30fb5d[_0x157874(0x153)]);const _0x179612={[_0x30fb5d[_0x157874(0x153)]]:_0x30fb5d[_0x157874(0x112)][_0x157874(0x15c)]};_testErrorData['push'](_0x179612);}),_0x116660['on'](CodeceptJS['event']['test']['passed'],async _0x443ed9=>{const _0xac93f8=_0x2c6d1f;console[_0xac93f8(0x16d)](_0x3fca00[_0xac93f8(0x15b)],_0x443ed9['title']);}),_0x116660['on'](CodeceptJS['event'][_0x2c6d1f(0x169)][_0x2c6d1f(0x10d)],async _0x15c4a6=>{const _0x401198=_0x2c6d1f;console[_0x401198(0x16d)](_0x3fca00[_0x401198(0xfe)],_0x15c4a6[_0x401198(0x153)]);}),_0x116660['on'](CodeceptJS['event'][_0x2c6d1f(0x158)][_0x2c6d1f(0x145)],async()=>{const _0x5518b4=_0x2c6d1f,_0x2247d7=_0x3fca00[_0x5518b4(0x12f)][_0x5518b4(0x10c)]('|');let _0x5abc51=0x0;while(!![]){switch(_0x2247d7[_0x5abc51++]){case'0':try{await TestHubHandler['stop']();}catch(_0x319753){logger['debug'](_0x5518b4(0x10a)+util[_0x5518b4(0x134)](_0x319753));}continue;case'1':_0x28f23b[_0x5518b4(0x113)]=_testErrorData;continue;case'2':utilities['finalExecution'](_0x28f23b);continue;case'3':_0x116660[_0x5518b4(0x177)]();continue;case'4':testOpsHelper[_0x5518b4(0x12d)]();continue;}break;}});async function _0xd026a2(){const _0x1182e6=_0x2c6d1f;try{await _0x116660[_0x1182e6(0x159)](),await _0x116660[_0x1182e6(0x11a)]();}finally{process[_0x1182e6(0x166)](_0x291d9b),await _0x116660[_0x1182e6(0x178)]();}}_0x3fca00['laqAt'](_0xd026a2);}module[a2_0x34161c(0x15e)]=run;
|
|
2
|
+
'use strict';const a2_0x4cac70=a2_0x5d8e;(function(_0x1752ab,_0x11f184){const _0x136fac=a2_0x5d8e,_0x375e4a=_0x1752ab();while(!![]){try{const _0x596746=-parseInt(_0x136fac(0xed))/0x1+parseInt(_0x136fac(0x139))/0x2*(-parseInt(_0x136fac(0xe6))/0x3)+parseInt(_0x136fac(0x116))/0x4+-parseInt(_0x136fac(0xd8))/0x5*(parseInt(_0x136fac(0xd1))/0x6)+-parseInt(_0x136fac(0xc5))/0x7+-parseInt(_0x136fac(0x10d))/0x8*(-parseInt(_0x136fac(0xf8))/0x9)+parseInt(_0x136fac(0x12b))/0xa*(parseInt(_0x136fac(0xe7))/0xb);if(_0x596746===_0x11f184)break;else _0x375e4a['push'](_0x375e4a['shift']());}catch(_0x5525a7){_0x375e4a['push'](_0x375e4a['shift']());}}}(a2_0x56c8,0x89e16));function a2_0x5d8e(_0x7c2bab,_0x21ec3f){const _0x56c846=a2_0x56c8();return a2_0x5d8e=function(_0x5d8e69,_0x1138cb){_0x5d8e69=_0x5d8e69-0xb5;let _0x120b4e=_0x56c846[_0x5d8e69];return _0x120b4e;},a2_0x5d8e(_0x7c2bab,_0x21ec3f);}const fs=require('fs'),path=require('path'),util=require(a2_0x4cac70(0x13e)),process=require(a2_0x4cac70(0xc6)),logger=require('../../helpers/logger')[a2_0x4cac70(0xfc)],{default:BrowserStackSetup}=require(a2_0x4cac70(0x11f)),helper=require('../../helpers/helper'),utilities=require(a2_0x4cac70(0x135)),{checkAccessibilityPlatformConfig}=require(a2_0x4cac70(0x11c)),{setAccessibilityCapabilities}=require('../../bin/playwright/accessibility-helper'),{requireModule,nestedKeyValue,isBrowserstackInfra}=require('../../helpers/helper'),CodeceptJS=requireModule(a2_0x4cac70(0x13b),a2_0x4cac70(0xe9)),testOpsHelper=require(a2_0x4cac70(0xe3)),TestHubHandler=require(a2_0x4cac70(0x12e)),constants=require('../utils/constants'),_testErrorData=[],getUserCodeceptJSConfigs=(_0x5a325f,_0xf0330b)=>{const _0x463f15=a2_0x4cac70,_0x5b70e2={};_0x5b70e2[_0x463f15(0x122)]=function(_0x52ff92,_0x3f220e){return _0x52ff92===_0x3f220e;},_0x5b70e2[_0x463f15(0xea)]='codecept.conf.js',_0x5b70e2[_0x463f15(0x12f)]=_0x463f15(0xc2);const _0x3a82ad=_0x5b70e2;let _0x18df36=null;const _0x82c3eb={};let _0x4197d6=_0xf0330b['findIndex'](_0x331794=>_0x331794===_0x463f15(0xeb));_0x3a82ad[_0x463f15(0x122)](_0x4197d6,-0x1)&&(_0x4197d6=_0xf0330b[_0x463f15(0xc3)](_0xead472=>_0xead472==='-c'));if(!helper[_0x463f15(0x131)](_0x5a325f[_0x463f15(0xba)])&&fs['existsSync'](path[_0x463f15(0x10c)](process['cwd'](),_0x5a325f['config'])))_0x18df36=path[_0x463f15(0x10c)](process[_0x463f15(0xf7)](),_0x5a325f[_0x463f15(0xba)]),_0xf0330b[_0x463f15(0x121)](_0x4197d6,0x2);else{if(!helper[_0x463f15(0x131)](_0x5a325f['c'])&&fs[_0x463f15(0x105)](path[_0x463f15(0x10c)](process['cwd'](),_0x5a325f['c'])))_0x18df36=path[_0x463f15(0x10c)](process[_0x463f15(0xf7)](),_0x5a325f['c']),_0xf0330b[_0x463f15(0x121)](_0x4197d6,0x2);else{if(fs['existsSync'](path[_0x463f15(0x10c)](process[_0x463f15(0xf7)](),_0x3a82ad[_0x463f15(0xea)])))_0x18df36=path[_0x463f15(0x10c)](process['cwd'](),_0x3a82ad[_0x463f15(0xea)]);else fs['existsSync'](path['join'](process[_0x463f15(0xf7)](),_0x3a82ad['XFCUA']))&&(_0x18df36=path['join'](process[_0x463f15(0xf7)](),_0x3a82ad[_0x463f15(0x12f)]));}}return _0x18df36;},getO11yRerunPattern=()=>{const _0x468a41=a2_0x4cac70,_0x206b78={};_0x206b78[_0x468a41(0x11a)]=function(_0x47e6c0,_0x5b3954){return _0x47e6c0!==_0x5b3954;},_0x206b78[_0x468a41(0xcf)]='null';const _0x298618=_0x206b78,_0x4102a1=helper[_0x468a41(0x132)](process[_0x468a41(0x113)][_0x468a41(0xbb)]);if(_0x4102a1){const _0x52d545=process['env'][_0x468a41(0xf9)],_0x2dc8f9=[];if(_0x298618[_0x468a41(0x11a)](_0x52d545,_0x298618['GuOel'])&&!helper['isUndefined'](_0x52d545)){_0x52d545[_0x468a41(0x101)](',')['map'](_0x73d549=>{const _0x4ca6fb=_0x468a41;_0x2dc8f9[_0x4ca6fb(0x117)]('('+_0x73d549['trim']()+')');});const _0x1cf0de='^'+_0x2dc8f9['join']('|')+'$';return _0x1cf0de;}}return null;},a2_0x3f7d88={};a2_0x3f7d88[a2_0x4cac70(0x10e)]=a2_0x4cac70(0x10f),a2_0x3f7d88[a2_0x4cac70(0xb6)]='chromium',a2_0x3f7d88[a2_0x4cac70(0x133)]=a2_0x4cac70(0x109),a2_0x3f7d88['playwright-webkit']=a2_0x4cac70(0x126);const pwToCodeceptBrowser=a2_0x3f7d88;async function run(_0x45d735,_0x3098d4){const _0x3dfad8=a2_0x4cac70,_0x643f4d={'lOaBm':function(_0x2e3a7f,_0x2ec5c2){return _0x2e3a7f+_0x2ec5c2;},'yybFo':function(_0x5d7fa3,_0x3345c1){return _0x5d7fa3(_0x3345c1);},'awAMq':function(_0x1b132f,_0x176523,_0xa98baf){return _0x1b132f(_0x176523,_0xa98baf);},'LQdYy':_0x3dfad8(0x11b),'Amfkx':function(_0x333559){return _0x333559();},'wwdUj':'Failed\x20:\x20','Mcihj':_0x3dfad8(0x136),'JOTgh':_0x3dfad8(0x129),'iiaNt':_0x3dfad8(0xfa),'jcWds':_0x3dfad8(0xe9),'oENhS':function(_0x27bbc9,_0x4c6750,_0x3c8b16){return _0x27bbc9(_0x4c6750,_0x3c8b16);},'Mldjs':_0x3dfad8(0xd3),'raeeK':function(_0x21549e,_0x4cffc8,_0x27621b){return _0x21549e(_0x4cffc8,_0x27621b);},'hUQBj':_0x3dfad8(0xb8),'THAyv':'WebDriver','oynws':function(_0x2e0b9f,_0x4aac7b){return _0x2e0b9f(_0x4aac7b);},'TCqiV':function(_0xe7890,_0x3be763){return _0xe7890!=_0x3be763;},'DPlRv':function(_0x323d3d,_0x265b9a){return _0x323d3d===_0x265b9a;},'iPJuK':function(_0x173679,_0x4703ac){return _0x173679+_0x4703ac;},'qELpB':function(_0x46b711,_0x25b22b,_0x4c0ed2){return _0x46b711(_0x25b22b,_0x4c0ed2);},'fJRNr':_0x3dfad8(0x118),'FNPJj':_0x3dfad8(0x138),'rPbWr':function(_0x3c398f,_0xfba09d){return _0x3c398f*_0xfba09d;},'nxIrS':_0x3dfad8(0xf0),'ipIrQ':function(_0x5a5fb3,_0x55f1cf,_0x2d36cf){return _0x5a5fb3(_0x55f1cf,_0x2d36cf);},'eLMAi':_0x3dfad8(0xee),'sVdTn':'root','HQaOh':_0x3dfad8(0xdf),'dbIdG':_0x3dfad8(0xda),'VWfIW':function(_0x45c0ab){return _0x45c0ab();}},_0x50d243=new BrowserStackSetup(_0x45d735,_0x643f4d['jcWds']);await _0x50d243[_0x3dfad8(0x108)](),await helper[_0x3dfad8(0x110)](_0x50d243[_0x3dfad8(0xba)]);if(!_0x50d243['config'])return;process[_0x3dfad8(0x13a)]=_0x45d735[_0x3dfad8(0x13a)];_0x45d735[_0x3dfad8(0x13a)]&&(process[_0x3dfad8(0x113)][_0x3dfad8(0x13a)]=_0x45d735[_0x3dfad8(0x13a)]);const _0x3b1f6d=_0x643f4d['oENhS'](getUserCodeceptJSConfigs,_0x45d735,_0x3098d4);let _0x3268b2={};_0x3b1f6d?(logger[_0x3dfad8(0xde)](_0x3dfad8(0xcb)+_0x3b1f6d),_0x3268b2=CodeceptJS[_0x3dfad8(0xba)][_0x3dfad8(0xd2)](_0x3b1f6d)):logger[_0x3dfad8(0xde)](_0x643f4d[_0x3dfad8(0xdd)]);let _0x2e6609=![];_0x643f4d['raeeK'](nestedKeyValue,_0x3268b2,[_0x643f4d[_0x3dfad8(0x12d)],_0x643f4d['hUQBj']])&&(_0x2e6609=!![]);const _0x448ef6=_0x2e6609?_0x643f4d[_0x3dfad8(0x112)]:_0x643f4d[_0x3dfad8(0x106)];let _0x44e903=!_0x2e6609?helper[_0x3dfad8(0x10b)](_0x50d243[_0x3dfad8(0xba)]):![];!helper[_0x3dfad8(0x131)](_0x50d243[_0x3dfad8(0xba)][_0x3dfad8(0x127)])&&(process[_0x3dfad8(0x113)][_0x3dfad8(0xf4)]=JSON[_0x3dfad8(0xff)](_0x50d243['config'][_0x3dfad8(0x127)]));let _0x5c0fa0=_0x50d243[_0x3dfad8(0xba)]['accessibility'];_0x5c0fa0=_0x5c0fa0||_0x643f4d[_0x3dfad8(0x10a)](checkAccessibilityPlatformConfig,_0x50d243[_0x3dfad8(0xba)]),process[_0x3dfad8(0x113)][_0x3dfad8(0x111)]=_0x5c0fa0;_0x5c0fa0&&(_0x44e903=!_0x5c0fa0);_0x643f4d[_0x3dfad8(0xfb)](_0x50d243[_0x3dfad8(0xba)][_0x3dfad8(0x145)],null)?process[_0x3dfad8(0x113)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x50d243['config'][_0x3dfad8(0x145)]:process[_0x3dfad8(0x113)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x643f4d[_0x3dfad8(0xe1)](_0x448ef6,_0x643f4d[_0x3dfad8(0x112)]);const _0x1f09ed=_0x643f4d[_0x3dfad8(0xe2)](_0x643f4d[_0x3dfad8(0x143)],_0x643f4d[_0x3dfad8(0xb5)](nestedKeyValue,_0x3268b2,[_0x643f4d[_0x3dfad8(0x102)]])?_0x643f4d[_0x3dfad8(0xe5)]:''),_0x686a30=await TestHubHandler[_0x3dfad8(0xd5)](_0x1f09ed,_0x50d243);_0x5c0fa0&&_0x643f4d[_0x3dfad8(0xdb)](setAccessibilityCapabilities,_0x50d243[_0x3dfad8(0xba)]);const _0x7d8a55={},_0x190bdf=[],_0x5b49bf=_0x50d243[_0x3dfad8(0xba)]['parallelsPerPlatform']||helper['getUserWorkerCount'](_0x45d735,_0x3098d4,_0x50d243['config'],constants['FRAMEWORKS'][_0x3dfad8(0x147)])||0x1;let _0x8f3df7=0x1;if(_0x643f4d['Amfkx'](isBrowserstackInfra)){const _0x32db4f=helper[_0x3dfad8(0xca)](_0x50d243[_0x3dfad8(0xba)],_0x44e903,constants[_0x3dfad8(0x120)]['CODECEPT']);_0x32db4f[_0x3dfad8(0xec)](_0x12e705=>{const _0xec39f3=_0x3dfad8;helper[_0xec39f3(0xce)](_0x12e705);}),helper['validPlatformsPresent'](_0x50d243[_0x3dfad8(0xba)])?_0x8f3df7=_0x643f4d[_0x3dfad8(0xc4)](_0x5b49bf,_0x50d243[_0x3dfad8(0xba)]['platforms'][_0x3dfad8(0x114)]):_0x8f3df7=_0x5b49bf,_0x32db4f[_0x3dfad8(0xec)](_0x44a569=>{const _0x22396e=_0x3dfad8,_0x284030=_0x643f4d[_0x22396e(0x123)](helper[_0x22396e(0x11d)](_0x44a569,'_'),'_'+Date[_0x22396e(0x103)]()),_0x394ee9=((()=>{const _0x1437df=_0x22396e;if(_0x2e6609){const _0x347726=pwToCodeceptBrowser[_0x44a569['browserName']]||_0x44a569[_0x1437df(0x128)];return{'browser':_0x347726,[_0x347726]:{'browserWSEndpoint':_0x643f4d[_0x1437df(0x123)](helper[_0x1437df(0x115)](_0x50d243[_0x1437df(0xba)]),_0x643f4d[_0x1437df(0xdb)](encodeURIComponent,JSON[_0x1437df(0xff)](_0x44a569)))}};}const _0x2478b7={};return _0x2478b7[_0x1437df(0xee)]=_0x44a569,_0x2478b7;})()),_0x41020c=_0x643f4d['awAMq'](nestedKeyValue,_0x3268b2,[_0x643f4d[_0x22396e(0x12d)],_0x448ef6]);_0x7d8a55[_0x284030]=_0x41020c?helper['mergeDeep'](_0x394ee9,_0x41020c):_0x394ee9,!_0x2e6609&&(_0x7d8a55[_0x284030][_0x22396e(0xf0)]=_0x44a569[_0x22396e(0x128)]||_0x394ee9[_0x22396e(0xf0)]),_0x190bdf['push'](_0x284030);});}else{_0x8f3df7=0x1;if(_0x2e6609){const _0xfe78c2=_0x643f4d[_0x3dfad8(0xb5)](nestedKeyValue,_0x3268b2,[_0x643f4d['LQdYy'],_0x448ef6,_0x643f4d[_0x3dfad8(0xbd)]]),_0x3e5590=_0x643f4d[_0x3dfad8(0x13f)](nestedKeyValue,_0x3268b2,[_0x643f4d[_0x3dfad8(0x12d)],_0x448ef6,_0xfe78c2]);_0x3e5590&&_0x3e5590[_0x3dfad8(0xc1)]&&(_0x3e5590['browserWSEndpoint']=helper[_0x3dfad8(0xca)](null,null,_0x1f09ed[_0x3dfad8(0xf5)](),null,null,_0x3e5590['browserWSEndpoint']));}else _0x3268b2[_0x643f4d[_0x3dfad8(0x12d)]][_0x448ef6][_0x643f4d[_0x3dfad8(0xd7)]]=helper['prepareCapabilities'](null,null,_0x1f09ed[_0x3dfad8(0xf5)](),_0x643f4d[_0x3dfad8(0xbf)](nestedKeyValue,_0x3268b2,[_0x643f4d[_0x3dfad8(0x12d)],_0x448ef6,_0x643f4d[_0x3dfad8(0xd7)]]),null,null);_0x7d8a55[_0x643f4d['sVdTn']]=_0x3268b2,_0x190bdf[_0x3dfad8(0x117)](_0x643f4d[_0x3dfad8(0x13d)]);}const _0x53cbd5={};_0x53cbd5[_0x3dfad8(0x100)]=_0x3b1f6d;const _0x2098e4=_0x53cbd5,_0x115287=path['join'](__dirname,_0x643f4d['HQaOh']),_0x3bdc92=process[_0x3dfad8(0xf7)]();process[_0x3dfad8(0x113)][_0x643f4d[_0x3dfad8(0xfd)]]=_0x3bdc92,process[_0x3dfad8(0x130)](path[_0x3dfad8(0xf2)](_0x3b1f6d));const _0x1b6459=new CodeceptJS['Workers'](null,_0x2098e4),_0xb6959d=_0x1b6459[_0x3dfad8(0xb7)](_0x8f3df7),_0x2f1aec=testOpsHelper[_0x3dfad8(0x12c)](),_0x30c886=_0x190bdf[_0x3dfad8(0xf3)](_0x2fc644=>{const _0xf5bb71=_0x3dfad8,_0x4b2751={};_0x4b2751[_0xf5bb71(0xb8)]=_0x7d8a55[_0x2fc644];const _0x49ff1f={};_0x49ff1f[_0xf5bb71(0x11e)]=_0x7d8a55[_0x2fc644];const _0x37fa5c=_0x2e6609?_0x4b2751:_0x49ff1f,_0x17f32b=_0x643f4d[_0xf5bb71(0x141)](getO11yRerunPattern),_0xc77a44={};_0xc77a44[_0xf5bb71(0x11b)]=_0x37fa5c;const _0x4a1a82={};_0x4a1a82[_0xf5bb71(0x13c)]=_0x115287,_0x4a1a82['enabled']=!![],_0x4a1a82[_0xf5bb71(0x144)]=_0x50d243['config'][_0xf5bb71(0xef)][_0xf5bb71(0x144)],_0x4a1a82[_0xf5bb71(0x104)]=_0x50d243[_0xf5bb71(0xba)][_0xf5bb71(0xef)][_0xf5bb71(0x104)],_0x4a1a82[_0xf5bb71(0x145)]=_0x2f1aec,_0x4a1a82[_0xf5bb71(0xe0)]=_0x1f09ed;const _0x28680f={};_0x28680f[_0xf5bb71(0x107)]=_0x4a1a82;const _0x5d5b1f={};return _0x5d5b1f[_0xf5bb71(0xc8)]=_0x28680f,helper[_0xf5bb71(0x134)]({},_0x3268b2,_0x643f4d[_0xf5bb71(0x141)](isBrowserstackInfra)?_0xc77a44:{},_0x17f32b?{'grep':_0x17f32b}:{},_0x5d5b1f);});for(const _0x39e325 of _0x30c886){for(const _0x379b98 of _0xb6959d){const _0x2492cf=_0x1b6459[_0x3dfad8(0xe8)]();_0x2492cf[_0x3dfad8(0x12a)](_0x379b98),_0x2492cf[_0x3dfad8(0xf6)](_0x39e325);}}_0x1b6459['on'](CodeceptJS[_0x3dfad8(0xdc)][_0x3dfad8(0x140)][_0x3dfad8(0x137)],(_0x2e9ce9,_0x4c13d1)=>{const _0x3eb7d8=_0x3dfad8;console[_0x3eb7d8(0xf1)](_0x643f4d[_0x3eb7d8(0x125)],_0x2e9ce9['title']);const _0x1c21e8={[_0x2e9ce9['title']]:_0x2e9ce9[_0x3eb7d8(0xd6)][_0x3eb7d8(0xcd)]};_testErrorData[_0x3eb7d8(0x117)](_0x1c21e8);}),_0x1b6459['on'](CodeceptJS[_0x3dfad8(0xdc)]['test'][_0x3dfad8(0x124)],async _0x467467=>{const _0x1b03b7=_0x3dfad8;console[_0x1b03b7(0xf1)](_0x643f4d[_0x1b03b7(0x142)],_0x467467['title']);}),_0x1b6459['on'](CodeceptJS['event']['test'][_0x3dfad8(0xe4)],async _0x20ec4a=>{const _0x25879b=_0x3dfad8;console['log'](_0x643f4d['JOTgh'],_0x20ec4a[_0x25879b(0xd4)]);}),_0x1b6459['on'](CodeceptJS[_0x3dfad8(0xdc)][_0x3dfad8(0x146)][_0x3dfad8(0xc7)],async()=>{const _0x44c018=_0x3dfad8,_0x4abe49=_0x643f4d[_0x44c018(0xc0)][_0x44c018(0x101)]('|');let _0x38ca98=0x0;while(!![]){switch(_0x4abe49[_0x38ca98++]){case'0':utilities[_0x44c018(0xd9)](_0x50d243);continue;case'1':testOpsHelper['printBuildLink']();continue;case'2':_0x1b6459[_0x44c018(0x119)]();continue;case'3':try{await TestHubHandler[_0x44c018(0xb9)]();}catch(_0x411ee6){logger['debug'](_0x44c018(0xfe)+util[_0x44c018(0xc9)](_0x411ee6));}continue;case'4':_0x50d243['errorMessage']=_testErrorData;continue;}break;}});async function _0x4839de(){const _0x16f90e=_0x3dfad8;try{await _0x1b6459[_0x16f90e(0xd0)](),await _0x1b6459[_0x16f90e(0xbc)]();}finally{process['chdir'](_0x3bdc92),await _0x1b6459[_0x16f90e(0xbe)]();}}_0x643f4d['VWfIW'](_0x4839de);}module[a2_0x4cac70(0xcc)]=run;function a2_0x56c8(){const _0x221cae=['browserWSEndpoint','codecept.json','findIndex','rPbWr','3605028AwqZkB','process','result','plugins','format','prepareCapabilities','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','exports','stack','setAdditionalCapabilities','GuOel','bootstrapAll','1026552dCzMxA','load','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','title','launchBuild','err','eLMAi','5RyrAwu','finalExecution','browserStackCwd','yybFo','event','Mldjs','info','BrowserStackPlugin.js','frameworkName','DPlRv','iPJuK','../../helpers/test-observability/utils','before','FNPJj','591555fFObxc','77XUAuaP','spawn','codeceptjs','IWNYY','--config','forEach','620595knUhUH','desiredCapabilities','testContextOptions','browser','log','dirname','map','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','toLowerCase','addConfig','cwd','3682593HXqlfz','BROWSERSTACK_RERUN_TESTS','4|1|0|3|2','TCqiV','winstonLogger','dbIdG','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','stringify','testConfig','split','fJRNr','now','skipSessionStatus','existsSync','THAyv','BrowserStackPlugin','initialize','firefox','oynws','useW3C','join','16hezERg','chrome','chromium','handleApp','BROWSERSTACK_TEST_ACCESSIBILITY_YML','hUQBj','env','length','getPlaywrightUrl','1694924ztrHPV','push','gherkin','printResults','LNwfC','helpers','../../helpers/accessibility-automation/helper','getPlatformName','WebDriver','../../helpers/BrowserStackSetup','FRAMEWORKS','slice','qKTEt','lOaBm','passed','wwdUj','webkit','accessibilityOptions','browserName','Started\x20:\x20','addTests','1744170yqOrtH','isTestObservabilitySession','LQdYy','../../helpers/testhub/testhubHandler','XFCUA','chdir','isUndefined','isTrue','playwright-firefox','mergeDeep','../../helpers/utilities','Passed\x20:\x20','failed','-cucumber','6huWmQG','profile','codeceptjs/lib/index.js','require','sVdTn','util','ipIrQ','test','Amfkx','Mcihj','jcWds','skipSessionName','testObservability','all','CODECEPT','qELpB','playwright-chromium','createGroupsOfSuites','Playwright','stop','config','BROWSERSTACK_RERUN','run','nxIrS','teardownAll','raeeK','iiaNt'];a2_0x56c8=function(){return _0x221cae;};return a2_0x56c8();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a3_0x49e8(){const _0x3bb6ad=['constructor','171038aNszGt','Slnlu','../../helpers/logger','parse','10sfWgBw','zFtQB','3102690VcMNNr','682674VqvYcV','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','browser_version','YmVNW','name','platform','browser','GqwUr','VWvaD','yJtiH','Playwright','rVUTX','uQcBy','1602mPeWUC','get','../../helpers/accessibility-automation/helper','os_version','bLOkX','browserVersion','capabilities','cloudProvider','42417bwBZjC','ECDGZ','browserstack_accessibility_automation_script','platformName','config','iiJoC','VKeKs','KwlPR','32jsLRgV','TCgSI','../../bin/playwright/sessionDetails','43672GDFRYe','DvdKQ','IkTET','desiredCapabilities','11IOuQRf','20912DlRWCc','zsyln','uHYAz','warn','COUEO','processWebDriverConfig','RSIiC','111NHteGW','platformVersion','browserstack_executor','rmkJA','accessibilityPlatform','sessionId','winstonLogger','WebDriver','vhUKx','caps','browserName','../../helpers/helper','deviceName','bstack:options','includes','latest','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','dBxtz','mcZgF','getDetails','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','bsSessionId','cBdPu','__cloud_provider___','oiypt','../../helpers/test-observability/utils','gGBxR','platform_version'];a3_0x49e8=function(){return _0x3bb6ad;};return a3_0x49e8();}const a3_0x38034d=a3_0x3c70;(function(_0x17f1eb,_0x5ea489){const _0x55bd9d=a3_0x3c70,_0x40957b=_0x17f1eb();while(!![]){try{const _0x27a2c2=parseInt(_0x55bd9d(0xec))/0x1+-parseInt(_0x55bd9d(0xf7))/0x2+-parseInt(_0x55bd9d(0x103))/0x3*(-parseInt(_0x55bd9d(0xfc))/0x4)+-parseInt(_0x55bd9d(0xd4))/0x5*(-parseInt(_0x55bd9d(0xd7))/0x6)+parseInt(_0x55bd9d(0x120))/0x7+parseInt(_0x55bd9d(0xf4))/0x8*(-parseInt(_0x55bd9d(0xe4))/0x9)+-parseInt(_0x55bd9d(0xd6))/0xa*(parseInt(_0x55bd9d(0xfb))/0xb);if(_0x27a2c2===_0x5ea489)break;else _0x40957b['push'](_0x40957b['shift']());}catch(_0x1278d2){_0x40957b['push'](_0x40957b['shift']());}}}(a3_0x49e8,0x25d94));function a3_0x3c70(_0x23713b,_0xd3ab5d){const _0x49e83a=a3_0x49e8();return a3_0x3c70=function(_0x3c70a1,_0x2816fb){_0x3c70a1=_0x3c70a1-0xd2;let _0x5e4c0c=_0x49e83a[_0x3c70a1];return _0x5e4c0c;},a3_0x3c70(_0x23713b,_0xd3ab5d);}const {isUndefined,nestedKeyValue}=require(a3_0x38034d(0x10e)),logger=require(a3_0x38034d(0xd2))[a3_0x38034d(0x109)],PlaywrightSessionDetails=require(a3_0x38034d(0xf6)),{isAccessibilityAutomationSession}=require(a3_0x38034d(0xe6)),{getObservabilityLinkedProductName}=require(a3_0x38034d(0x11c)),getOSVersionFromCaps=_0x37ffa9=>{const _0x39b8d4=a3_0x38034d,_0x3f0ccb={};_0x3f0ccb['bLOkX']=_0x39b8d4(0x110),_0x3f0ccb[_0x39b8d4(0xf5)]=_0x39b8d4(0x104),_0x3f0ccb[_0x39b8d4(0x11d)]='platform_version',_0x3f0ccb[_0x39b8d4(0x115)]='osVersion',_0x3f0ccb[_0x39b8d4(0x100)]=_0x39b8d4(0xe7);const _0x1266d8=_0x3f0ccb;if(!_0x37ffa9)return null;const _0x89943a=_0x37ffa9[_0x1266d8[_0x39b8d4(0xe8)]],_0x53e77b=[_0x1266d8[_0x39b8d4(0xf5)],_0x1266d8[_0x39b8d4(0x11d)],_0x1266d8[_0x39b8d4(0x115)],_0x1266d8[_0x39b8d4(0x100)]];for(const _0x1f66af of _0x53e77b){if(_0x89943a&&_0x89943a[_0x1f66af])return _0x89943a[_0x1f66af];else{if(_0x37ffa9[_0x1f66af])return _0x37ffa9[_0x1f66af];}}return null;};exports['fetchPlatformDetails']=_0x326bd1=>{const _0x3fd286=a3_0x38034d,_0xfc1689={'uHYAz':'unknown_grid','oiypt':function(_0x3b962d,_0x359297){return _0x3b962d===_0x359297;},'khhCr':_0x3fd286(0x10a),'TNupF':function(_0x3ce4b5,_0x49627a){return _0x3ce4b5(_0x49627a);},'IkTET':function(_0x113fc3,_0xf7c3f0,_0x30b820){return _0x113fc3(_0xf7c3f0,_0x30b820);},'Slnlu':_0x3fd286(0xf0),'eZddo':_0x3fd286(0xfa),'rVUTX':function(_0xa55b91,_0x2881a9){return _0xa55b91(_0x2881a9);},'uQcBy':function(_0x390e04,_0x4f17f1){return _0x390e04===_0x4f17f1;},'GqwUr':_0x3fd286(0xe1),'RSIiC':function(_0x19ed05,_0x29a019,_0x296e76){return _0x19ed05(_0x29a019,_0x296e76);},'BpLze':_0x3fd286(0xdd),'vhUKx':'browserWSEndpoint','yJtiH':_0x3fd286(0x10c),'DvdKQ':function(_0x21849b,_0x533730){return _0x21849b(_0x533730);}};if(!_0x326bd1)return null;let _0x415011=global[_0x3fd286(0x11a)]||_0xfc1689[_0x3fd286(0xfe)];if(_0xfc1689[_0x3fd286(0x11b)](_0x326bd1[_0x3fd286(0x11f)][_0x3fd286(0xdb)],_0xfc1689['khhCr'])){const _0x4a7680=_0x326bd1['browser'];if(!_0x4a7680)return null;const _0x4f1424=_0x4a7680[_0x3fd286(0xea)],_0x3cbcf6=_0xfc1689['TNupF'](getOSVersionFromCaps,_0xfc1689[_0x3fd286(0xf9)](nestedKeyValue,_0x326bd1,[_0xfc1689[_0x3fd286(0x121)],_0xfc1689['eZddo']]));return{[_0x415011]:{'browser':_0x4f1424[_0x3fd286(0x10d)],'browser_version':_0x4f1424[_0x3fd286(0xe9)],'capabilities':_0x4f1424,'platform':_0x4f1424[_0x3fd286(0xef)],'platform_version':_0x4f1424[_0x3fd286(0x104)]||_0x3cbcf6,'product':_0xfc1689[_0x3fd286(0xe2)](getObservabilityLinkedProductName,_0x4f1424),'session_id':_0x4a7680[_0x3fd286(0x108)]}};}else{if(_0xfc1689[_0x3fd286(0xe3)](_0x326bd1[_0x3fd286(0x11f)][_0x3fd286(0xdb)],_0xfc1689[_0x3fd286(0xde)])){const _0x218ca2=PlaywrightSessionDetails[_0x3fd286(0x116)]();_0x415011=_0x218ca2[_0x3fd286(0xeb)]||_0x415011;const _0x530a6a=_0xfc1689[_0x3fd286(0x102)](nestedKeyValue,_0x326bd1,[_0xfc1689[_0x3fd286(0x121)],_0xfc1689['BpLze'],_0xfc1689[_0x3fd286(0x10b)]]),_0xfa1a0c=_0x530a6a?JSON[_0x3fd286(0xd3)](new URL(_0x530a6a)['searchParams'][_0x3fd286(0xe5)](_0xfc1689[_0x3fd286(0xe0)])):{};return{[_0x415011]:{'browser':_0x218ca2[_0x3fd286(0xdd)]||_0xfa1a0c[_0x3fd286(0x10d)],'browser_version':_0x218ca2[_0x3fd286(0xd9)]||_0xfa1a0c['browser_version'],'capabilities':_0xfa1a0c,'platform':_0x218ca2[_0x3fd286(0xdc)],'platform_version':_0x218ca2[_0x3fd286(0x11e)],'product':_0xfc1689[_0x3fd286(0xf8)](getObservabilityLinkedProductName,_0xfa1a0c),'session_id':_0x218ca2[_0x3fd286(0x118)]}};}}},exports[a3_0x38034d(0x101)]=_0x2c53d9=>{const _0x2f28db=a3_0x38034d,_0x4662d8={'VWvaD':function(_0x5e9c11){return _0x5e9c11();},'ECDGZ':function(_0x222180,_0x4a3e24){return _0x222180===_0x4a3e24;},'EsZsn':_0x2f28db(0x112),'rmkJA':function(_0x1ed263,_0x49ae7b){return _0x1ed263>_0x49ae7b;},'cBdPu':function(_0x2f34bb,_0x191836){return _0x2f34bb(_0x191836);},'dBxtz':_0x2f28db(0x113),'NyuSb':function(_0xee0893,_0x3ca078){return _0xee0893===_0x3ca078;},'zFtQB':'chrome','YmVNW':'playwright-chromium','zsyln':_0x2f28db(0x117),'VKeKs':_0x2f28db(0xd8)};if(_0x4662d8[_0x2f28db(0xdf)](isAccessibilityAutomationSession)){const _0x542cbb=_0x2c53d9['browser'],_0x42bda4=_0x542cbb[_0x2f28db(0xea)];global['accessibilityPlatform']=!![],!(_0x4662d8[_0x2f28db(0xed)](_0x42bda4[_0x2f28db(0xe9)],_0x4662d8['EsZsn'])||_0x4662d8[_0x2f28db(0x106)](_0x4662d8[_0x2f28db(0x119)](parseInt,_0x42bda4['browserVersion']),0x5e))&&(logger['warn'](_0x4662d8[_0x2f28db(0x114)]),global[_0x2f28db(0x107)]=![]),!(_0x4662d8['NyuSb'](_0x42bda4[_0x2f28db(0x10d)],_0x4662d8[_0x2f28db(0xd5)])||_0x4662d8[_0x2f28db(0xed)](_0x42bda4[_0x2f28db(0x10d)],_0x4662d8[_0x2f28db(0xda)]))&&(logger['warn'](_0x4662d8[_0x2f28db(0xfd)]),global[_0x2f28db(0x107)]=![]),!_0x4662d8[_0x2f28db(0x119)](isUndefined,_0x42bda4[_0x2f28db(0x10f)])&&(logger[_0x2f28db(0xff)](_0x4662d8[_0x2f28db(0xf2)]),global['accessibilityPlatform']=![]);}},exports['shouldPatchExecuteScript']=_0x25bebd=>{const _0x508a3d=a3_0x38034d,_0x9e101e={};_0x9e101e[_0x508a3d(0xf1)]=_0x508a3d(0x105),_0x9e101e[_0x508a3d(0xf3)]=_0x508a3d(0xee);const _0x4a2f89=_0x9e101e;if(!_0x25bebd)return![];return!_0x25bebd[_0x508a3d(0x111)](_0x4a2f89[_0x508a3d(0xf1)])&&!_0x25bebd['includes'](_0x4a2f89['KwlPR']);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a4_0x32b7f0=a4_0x1aee;(function(_0x9d7282,_0x319f6a){const _0x1c55ff=a4_0x1aee,_0xe66ec8=_0x9d7282();while(!![]){try{const _0x47a372=parseInt(_0x1c55ff(0x163))/0x1*(parseInt(_0x1c55ff(0x17f))/0x2)+parseInt(_0x1c55ff(0x129))/0x3*(-parseInt(_0x1c55ff(0x16f))/0x4)+parseInt(_0x1c55ff(0x1be))/0x5*(-parseInt(_0x1c55ff(0x108))/0x6)+-parseInt(_0x1c55ff(0x183))/0x7+-parseInt(_0x1c55ff(0x102))/0x8+parseInt(_0x1c55ff(0x157))/0x9*(parseInt(_0x1c55ff(0x179))/0xa)+parseInt(_0x1c55ff(0x1a2))/0xb*(parseInt(_0x1c55ff(0x195))/0xc);if(_0x47a372===_0x319f6a)break;else _0xe66ec8['push'](_0xe66ec8['shift']());}catch(_0x3b0e32){_0xe66ec8['push'](_0xe66ec8['shift']());}}}(a4_0x30d0,0xa346f));const path=require('path'),fs=require('fs'),{v4:uuidv4}=require(a4_0x32b7f0(0x1c9)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require('../../helpers/helper'),testOpsHelper=require('../../helpers/test-observability/utils'),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require(a4_0x32b7f0(0x146)),logger=require(a4_0x32b7f0(0x132))['winstonLogger'],SessionHandler=require(a4_0x32b7f0(0x11b)),RequestQueueHandler=require(a4_0x32b7f0(0x151)),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper[a4_0x32b7f0(0x113)],{processAccessibilityCaps}=require(a4_0x32b7f0(0x13f)),Constants=require(a4_0x32b7f0(0xfb)),{fetchPlatformDetails}=require(a4_0x32b7f0(0x199)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x32b7f0(0x1c7)),STATE_PASSED='passed',STATE_FAILED='failed',a4_0x417cb7={};a4_0x417cb7[a4_0x32b7f0(0x145)]=a4_0x32b7f0(0x171),a4_0x417cb7[a4_0x32b7f0(0x188)]=a4_0x32b7f0(0x140),a4_0x417cb7[a4_0x32b7f0(0x10e)]=a4_0x32b7f0(0x160),a4_0x417cb7[a4_0x32b7f0(0x13a)]='HookRunStarted',a4_0x417cb7[a4_0x32b7f0(0x1aa)]=a4_0x32b7f0(0x114);function a4_0x30d0(){const _0x520a5c=['_beforeEach','test_run','MlFNC','_beforeAll','mkeKD','QWkrK','stepAnalyticsId','60LSNxUG','test','sDXYv','bddSteps','./helper.js','HCeVH','__platformCaps','ihKZw','launch','nBDeJ','Not\x20able\x20to\x20import\x20Browser','foJwt','Failed\x20to\x20parse\x20wsendpoint\x20','10017843wZndLU','length','YhPhR','keyword','getRootParentFile','relative','GbNje','findGitConfig','HOOK_RUN_FINISHED','kcEyw','passed','NqpMh','obsBrowserTypeMockApplied','lEfgX','expanded','Gxhuq','file','currentHook','sendCBTInfo','apply','toString','getHookType','vFrlp','err','tKyem','ctx','getInstance','VUcPw','610nGtWVZ','errorsDetailed','codeceptjs','LVtEs','HFdeJ','pyIGZ','statSync','unzZa','YftfT','../../helpers/testhub/utils.js','constructor','uuid','toUpperCase','zoZvx','duration','match','kbIgS','mdKti','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','FdLdj','test_run_uuid','groups','.git','uPHzi','success','split','getHooksForTest','HwBzC','start','CybIe','finished','IxiZS','comment','ErBCv','browserstack','failure_reason_expanded','_testEnv','IlSys','includes','text','_afterAll','../utils/constants','pending','pbOtN','CYriD','File\x20path\x20could\x20not\x20be\x20found','enabled','\x20with\x20error\x20:\x20','10333176irROnN','GDbod','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','QSznK','NGUmc','BvVHH','51582JgKtcz','uploadEventData','tLdEZ','hooks','mNbdY','JekOz','TEST_RUN_SKIPPED','result','finished_at','USdDG','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','debug','HookRunFinished','qpKzO','stringify','string','patchConsoleLogger','retryOf','push','../../helpers/test-observability/sessionHandler','tags','type','dirname','hookAnalyticsId','bddStepStart','WoSyw','mapTestHooks','forEach','title','yXYlH','prefixTestPath','started','_afterEach','1259820EPzxNz','status','connect','message','MNlim','getCBTInfo','IQief','event_type','then','../../helpers/logger','UyXhk','YNfUQ','skipped','UDYlB','meta','exports','dybXj','HOOK_RUN_STARTED','accessibilityPlatform','now','_paths','sPuIQ','../playwright/accessibility-helper','TestRunFinished','getTime','initializeBddStep','join','startedAt','TEST_RUN_STARTED','../../helpers/test-observability/constants','__cloud_provider___','body','concat','hook_run_uuid','connectOverCDP','failure_backtrace','cEQkN','VLZkk','rwYBZ','name','../../helpers/test-observability/requestQueueHandler','cwd','bind','parent','frameworkName','replace','7533uwvCpH','hook','FvuwD','xXJpp','IpexA','VpbiZ','removeAllListeners','wsEndpoint','PLAYWRIGHT_HUB_URL','TestRunSkipped','eWWWZ','pdZew','67621RwGIBR','resetSkipTestHooks','prototype','gzcVr','IEhbW','setupBrowserDetails','CODECEPT','ewrxE','appendTestItemLog','toISOString','testAnalyticsId','hook_run','12cfxeMu','integrations','TestRunStarted','esMqG','failure','IKAfm','TsNax','markedStatus','BpXrW','failed','4690CjTwAN','bnvXj','CBTSessionCreated','WJnmp','QEdZC','driver','16rYCihf','QBduW','Playwright','toLowerCase','8526014JGKgUw','currentTest','backtrace','defineProperty','fullTitle','TEST_RUN_FINISHED','DmEnY','EHQDW','bs:addLog:','inspect','suites'];a4_0x30d0=function(){return _0x520a5c;};return a4_0x30d0();}const TEST_EVENTS=a4_0x417cb7,parseEvent=_0x1ae2c6=>{const _0x2ef341=a4_0x32b7f0,_0x239d82={};_0x239d82['HwBzC']=function(_0x3331ca,_0xfc424b){return _0x3331ca<_0xfc424b;},_0x239d82[_0x2ef341(0xf7)]=function(_0x560aae,_0x5cd38c){return _0x560aae===_0x5cd38c;},_0x239d82[_0x2ef341(0x1b8)]=_0x2ef341(0x196),_0x239d82[_0x2ef341(0x15b)]=function(_0x5d44bf,_0x3ba071){return _0x5d44bf===_0x3ba071;},_0x239d82[_0x2ef341(0x193)]=_0x2ef341(0x158),_0x239d82[_0x2ef341(0x115)]='skipped',_0x239d82[_0x2ef341(0x19a)]=function(_0x2a1228,_0x23a83c){return _0x2a1228===_0x23a83c;},_0x239d82[_0x2ef341(0x180)]=_0x2ef341(0x127),_0x239d82['esMqG']=function(_0xa27db1,_0x4eb9cb){return _0xa27db1===_0x4eb9cb;},_0x239d82['YNfUQ']=_0x2ef341(0xf0);const _0x205a80=_0x239d82,_0x583426=_0x1ae2c6[_0x2ef341(0x1cd)](/^(.*)Run(.*)$/);if(!_0x583426)return null;if(_0x205a80[_0x2ef341(0xed)](_0x583426[_0x2ef341(0x1a3)],0x3))return null;const _0x17986c=_0x583426[0x1][_0x2ef341(0x182)](),_0x4ccd4f=_0x583426[0x2][_0x2ef341(0x182)]();return{'test':_0x205a80[_0x2ef341(0xf7)](_0x17986c,_0x205a80[_0x2ef341(0x1b8)]),'hook':_0x205a80[_0x2ef341(0x15b)](_0x17986c,_0x205a80[_0x2ef341(0x193)]),'skipped':_0x205a80[_0x2ef341(0xf7)](_0x4ccd4f,_0x205a80[_0x2ef341(0x115)]),'started':_0x205a80[_0x2ef341(0x19a)](_0x4ccd4f,_0x205a80['QBduW']),'finished':_0x205a80[_0x2ef341(0x172)](_0x4ccd4f,_0x205a80[_0x2ef341(0x134)])};},mockPWBrowserType=_0x34e821=>{const _0x5b64bd=a4_0x32b7f0,_0x1ebdab={'NqpMh':function(_0x2ad8cd,_0x23d5e7,_0x3946bf){return _0x2ad8cd(_0x23d5e7,_0x3946bf);},'MhtRn':_0x5b64bd(0x15e),'BpXrW':function(_0xf2a71c,_0x500439){return _0xf2a71c(_0x500439);},'cEQkN':_0x5b64bd(0xf4),'cghMN':function(_0x402b19,_0x16d752){return _0x402b19(_0x16d752);},'FvuwD':function(_0x59383e,_0xbd13d6){return _0x59383e===_0xbd13d6;},'Gxhuq':_0x5b64bd(0x117),'MNlim':'lib','mdKti':'client','eWWWZ':'browserType.js','QAAmC':function(_0x3138b6,_0x44e646){return _0x3138b6(_0x44e646);},'VUcPw':_0x5b64bd(0x19f),'GbNje':_0x5b64bd(0x12b),'yXYlH':'launch'},_0x2fdca8=path[_0x5b64bd(0x143)](_0x1ebdab[_0x5b64bd(0x12d)],_0x1ebdab[_0x5b64bd(0xe3)],_0x1ebdab[_0x5b64bd(0x161)]),_0x1dadc4=_0x1ebdab['QAAmC'](importFileFromPWCore,_0x2fdca8);if(!_0x1dadc4){_0x1ebdab['QAAmC'](debug,_0x1ebdab[_0x5b64bd(0x1bd)]);return;}const _0x1710eb=_0x1dadc4['BrowserType'],_0x4e74b5=_0x1710eb[_0x5b64bd(0x165)];if(_0x4e74b5[_0x5b64bd(0x1ae)])return;const _0x42faa9=_0x4e74b5[_0x5b64bd(0x12b)];Object[_0x5b64bd(0x186)](_0x4e74b5,_0x1ebdab[_0x5b64bd(0x1a8)],{'get':function(){const _0xc68c10=_0x5b64bd,_0x180eea={'WJnmp':function(_0x536bdb,_0x1e1959){const _0x592bc2=a4_0x1aee;return _0x1ebdab[_0x592bc2(0x159)](_0x536bdb,_0x1e1959);},'IxiZS':_0x1ebdab[_0xc68c10(0x1b1)]};return async function _0x4a01e7(_0x3397ed,_0x3e38d6){const _0x4a0974=_0xc68c10,_0x17494d=_0x1ebdab[_0x4a0974(0x1ad)](nestedKeyValue,_0x3397ed,[_0x1ebdab['MhtRn']])||_0x3397ed;let _0xab9e6a=null,_0x4325a9=null;try{[_0x4325a9,_0xab9e6a]=_0x17494d?_0x1ebdab[_0x4a0974(0x177)](parseWSEndpoint,_0x17494d):[null,null],global[_0x4a0974(0x19b)]=_0xab9e6a,_0x4325a9[_0x4a0974(0xf8)](_0x1ebdab['cEQkN'])&&(global[_0x4a0974(0x147)]=_0x1ebdab[_0x4a0974(0x14d)]);}catch(_0x4a6f54){logger[_0x4a0974(0x113)](_0x4a0974(0x1a1)+_0x17494d+'\x20'+_0x4a6f54);}_0x1ebdab[_0x4a0974(0x1ad)](processAccessibilityCaps,_0xab9e6a,_0x4325a9);if(global[_0x4a0974(0x13b)]){const _0xe310eb=await _0x4e74b5[_0x4a0974(0x14b)]['apply'](this,[''+Constants[_0x4a0974(0x15f)]+_0x1ebdab['cghMN'](encodeURIComponent,JSON[_0x4a0974(0x116)](_0xab9e6a))]);return PlaywrightSessionDetails['setupBrowserDetails'](_0xe310eb,_0x34e821,_0x17494d),_0xe310eb;}return _0x42faa9[_0x4a0974(0x1b5)](this,arguments)[_0x4a0974(0x131)](_0x468349=>{const _0x486044=_0x4a0974;let _0x5892b7=_0x3397ed[_0x486044(0x15e)];return _0x180eea[_0x486044(0x17c)](typeof _0x3397ed,_0x180eea[_0x486044(0xf1)])&&(_0x5892b7=_0x3397ed),PlaywrightSessionDetails[_0x486044(0x168)](_0x468349,_0x34e821,_0x5892b7),_0x468349;});};}});const _0x1364dc=_0x4e74b5[_0x5b64bd(0x19d)];Object[_0x5b64bd(0x186)](_0x4e74b5,_0x1ebdab[_0x5b64bd(0x125)],{'get':function(){return async function _0x38efd2(){const _0x1d243a=a4_0x1aee;return _0x1364dc[_0x1d243a(0x1b5)](this,arguments)[_0x1d243a(0x131)](_0x57e93a=>{const _0x4ee04e=_0x1d243a;return PlaywrightSessionDetails[_0x4ee04e(0x168)](_0x57e93a,null),_0x57e93a;});};}});};class O11yHelper{[a4_0x32b7f0(0x184)]=null;[a4_0x32b7f0(0x1b3)]=null;[a4_0x32b7f0(0x100)]=![];['frameworkName']=![];constructor(_0x26c15d,_0x39f042){const _0x1271a7=a4_0x32b7f0,_0x531275={'mxRiK':'1|3|4|5|0|2','LVjLW':function(_0xe6006c){return _0xe6006c();},'unzZa':function(_0xc8c71d,_0x36bca0){return _0xc8c71d===_0x36bca0;},'CYriD':_0x1271a7(0x181),'pbOtN':function(_0xae010c,_0x9d73bd){return _0xae010c(_0x9d73bd);},'pyIGZ':function(_0x190837){return _0x190837();}},_0x2c13b6=_0x531275['mxRiK'][_0x1271a7(0xeb)]('|');let _0x247d1b=0x0;while(!![]){switch(_0x2c13b6[_0x247d1b++]){case'0':this[_0x1271a7(0x13d)]=new testOpsHelper['PathHelper']({'cwd':process[_0x1271a7(0x152)]()},this[_0x1271a7(0xf6)]['location_prefix']);continue;case'1':this[_0x1271a7(0x100)]=_0x531275['LVjLW'](shouldProcessEventForTesthub);continue;case'2':this[_0x1271a7(0x17e)]&&_0x531275[_0x1271a7(0x1c5)](this[_0x1271a7(0x17e)][_0x1271a7(0x1c8)][_0x1271a7(0x150)],_0x531275[_0x1271a7(0xfe)])&&_0x531275[_0x1271a7(0xfd)](mockPWBrowserType,null);continue;case'3':this[_0x1271a7(0x155)]=_0x39f042[_0x1271a7(0x155)];continue;case'4':this[_0x1271a7(0x17e)]=_0x26c15d;continue;case'5':this['_testEnv']=_0x531275[_0x1271a7(0x1c3)](getTestEnv);continue;}break;}}[a4_0x32b7f0(0xee)](){const _0x43c86a=a4_0x32b7f0;if(!this['enabled'])return;testOpsHelper[_0x43c86a(0x118)](),process[_0x43c86a(0x15d)](_0x43c86a(0x18b)+process['pid']),process['on'](_0x43c86a(0x18b)+process['pid'],this[_0x43c86a(0x16b)][_0x43c86a(0x153)](this));}async['stop'](){const _0x162b53=a4_0x32b7f0;await RequestQueueHandler[_0x162b53(0x1bc)]()['shutdown']();}async[a4_0x32b7f0(0x16b)](_0x1a3929){const _0x1f8678=a4_0x32b7f0,_0xbd6dac={'sPuIQ':'LogCreated','zoZvx':function(_0x33b1d0,_0x21d634){return _0x33b1d0(_0x21d634);}};try{this[_0x1f8678(0x1b3)]&&!this[_0x1f8678(0x1b3)]['markedStatus']&&(_0x1a3929[_0x1f8678(0x14a)]=this[_0x1f8678(0x1b3)][_0x1f8678(0x11f)]);!_0x1a3929[_0x1f8678(0x14a)]&&this[_0x1f8678(0x184)]&&!this['currentTest'][_0x1f8678(0x176)]&&(_0x1a3929[_0x1f8678(0xe6)]=this[_0x1f8678(0x184)]['testAnalyticsId']);if(_0x1a3929[_0x1f8678(0x14a)]||_0x1a3929['test_run_uuid']){const _0x5695f4={};_0x5695f4[_0x1f8678(0x130)]=_0xbd6dac[_0x1f8678(0x13e)],_0x5695f4['logs']=[_0x1a3929],await SessionHandler[_0x1f8678(0x109)](_0x5695f4);}}catch(_0x51fe4b){_0xbd6dac[_0x1f8678(0x1cb)](debug,_0x1f8678(0x112)+_0x51fe4b);}}async[a4_0x32b7f0(0x1b4)](_0x2dd5d9){const _0x5321c0=a4_0x32b7f0,_0x4a1297={'GjLnb':_0x5321c0(0x17b),'VCkUO':function(_0x3f2337,_0x14afe7){return _0x3f2337(_0x14afe7);}};if(!this[_0x5321c0(0x100)])return;const _0x5db3ef=this[_0x5321c0(0x12e)](this[_0x5321c0(0x17e)]);try{const _0xc906c2={};_0xc906c2[_0x5321c0(0x1c9)]=_0x2dd5d9,_0xc906c2['integrations']=_0x5db3ef;const _0x4e2309=_0xc906c2,_0x36609c={};_0x36609c[_0x5321c0(0x130)]=_0x4a1297['GjLnb'],_0x36609c[_0x5321c0(0x18f)]=_0x4e2309,await SessionHandler[_0x5321c0(0x109)](_0x36609c);}catch(_0x816cdb){_0x4a1297['VCkUO'](debug,_0x5321c0(0xe4)+_0x816cdb);}}[a4_0x32b7f0(0x12e)](_0x260aa5){const _0x49898d=a4_0x32b7f0,_0x5f3180={'VLZkk':function(_0x13c117,_0x380f87){return _0x13c117(_0x380f87);}};return _0x5f3180[_0x49898d(0x14e)](fetchPlatformDetails,_0x260aa5);}[a4_0x32b7f0(0x164)]=_0x2593b8=>{const _0x3cb69f=a4_0x32b7f0,_0x2e433b={};_0x2e433b[_0x3cb69f(0x1c6)]='_beforeEach',_0x2e433b[_0x3cb69f(0x10d)]='_afterEach';const _0x2a6fc2=_0x2e433b;if(!_0x2593b8||!_0x2593b8['parent'])return;[_0x2a6fc2[_0x3cb69f(0x1c6)],_0x2a6fc2['JekOz']][_0x3cb69f(0x123)](_0x3962c6=>{const _0xa45df7=_0x3cb69f,_0x1adc0c=_0x2593b8[_0xa45df7(0x154)][_0x3962c6];_0x1adc0c['forEach'](_0x57ffec=>{_0x57ffec['hookAnalyticsId']&&(_0x57ffec['hookAnalyticsId']=null);});});};[a4_0x32b7f0(0x122)](_0x78e6e7){const _0x504254=a4_0x32b7f0,_0xa8327d={'YhPhR':_0x504254(0x1c0),'xXJpp':function(_0x17502b){return _0x17502b();},'mkeKD':function(_0x30cb01,_0x3869f2){return _0x30cb01===_0x3869f2;},'bnvXj':'_afterEach','MAXzA':'_beforeAll','MlFNC':_0x504254(0xfa),'foJwt':_0x504254(0x18e)};if(!_0x78e6e7||!_0x78e6e7[_0x504254(0x154)])return;[_0xa8327d['MAXzA'],_0xa8327d[_0x504254(0x190)],_0xa8327d[_0x504254(0x1a0)],_0xa8327d[_0x504254(0x17a)]][_0x504254(0x123)](_0x1088c8=>{const _0x5400a1=_0x504254,_0x9e8e54=_0x78e6e7['parent'][_0x1088c8]||[];_0x9e8e54[_0x5400a1(0x123)](_0x1b9c81=>{const _0x439c62=_0x5400a1;if(_0x1b9c81[_0x439c62(0x124)][_0x439c62(0xf8)](_0xa8327d[_0x439c62(0x1a4)]))return;if(!_0x1b9c81[_0x439c62(0x11f)])_0x1b9c81['hookAnalyticsId']=_0xa8327d[_0x439c62(0x15a)](uuidv4);else _0x1b9c81[_0x439c62(0x176)]&&_0xa8327d[_0x439c62(0x192)](_0x1088c8,_0xa8327d['bnvXj'])&&(_0x1b9c81[_0x439c62(0x11f)]=_0xa8327d[_0x439c62(0x15a)](uuidv4),delete _0x1b9c81[_0x439c62(0x176)]);});}),this[_0x504254(0x122)](_0x78e6e7[_0x504254(0x154)]);}[a4_0x32b7f0(0xec)](_0x596149){const _0x48a312=a4_0x32b7f0,_0x25048b={};_0x25048b['UyXhk']=_0x48a312(0x191),_0x25048b[_0x48a312(0x121)]=_0x48a312(0xfa),_0x25048b[_0x48a312(0x167)]=_0x48a312(0x18e),_0x25048b[_0x48a312(0x17d)]=_0x48a312(0x128);const _0x57046a=_0x25048b;if(!_0x596149||!_0x596149[_0x48a312(0x154)])return[];const _0x229500=[];return[_0x57046a[_0x48a312(0x133)],_0x57046a['WoSyw'],_0x57046a[_0x48a312(0x167)],_0x57046a[_0x48a312(0x17d)]][_0x48a312(0x123)](_0x1d53a9=>{const _0x5e5319=_0x48a312,_0x5b979a=_0x596149[_0x5e5319(0x154)][_0x1d53a9]||[];_0x5b979a[_0x5e5319(0x123)](_0xe040bb=>{const _0x3e501f=_0x5e5319;_0xe040bb[_0x3e501f(0x11f)]&&_0x229500[_0x3e501f(0x11a)](_0xe040bb['hookAnalyticsId']);});}),[][_0x48a312(0x149)](_0x229500,this[_0x48a312(0xec)](_0x596149[_0x48a312(0x154)]));}[a4_0x32b7f0(0x1b7)](_0x16b72b){const _0x4a4723=a4_0x32b7f0,_0x492406=/^"(?<hook>.*)" hook:.*$/,_0x9374ec=_0x16b72b[_0x4a4723(0x124)],_0x38cb8e=_0x9374ec[_0x4a4723(0x1cd)](_0x492406);if(_0x38cb8e&&_0x38cb8e[_0x4a4723(0xe7)])return _0x38cb8e['groups'][_0x4a4723(0x158)][_0x4a4723(0x1ca)]()[_0x4a4723(0x156)]('\x20','_');return null;}[a4_0x32b7f0(0x1a9)](_0x421b6c){const _0x5609dc=a4_0x32b7f0,_0x8ae6e3={};_0x8ae6e3[_0x5609dc(0x105)]=function(_0x5ea545,_0x292e19){return _0x5ea545===_0x292e19;},_0x8ae6e3['gzcVr']=function(_0xad47a9,_0x4a5a06){return _0xad47a9===_0x4a5a06;},_0x8ae6e3[_0x5609dc(0x15c)]=_0x5609dc(0xe8),_0x8ae6e3[_0x5609dc(0x111)]='config';const _0x1aa73d=_0x8ae6e3,_0xa8eea7=path['sep'];if(_0x1aa73d['QSznK'](_0x421b6c,null)||_0x1aa73d[_0x5609dc(0x166)](_0x421b6c,'')||_0x1aa73d[_0x5609dc(0x166)](_0x421b6c,_0xa8eea7)||_0x1aa73d['QSznK'](_0x421b6c,path[_0x5609dc(0x11e)](_0x421b6c)))return null;try{return fs[_0x5609dc(0x1c4)](path[_0x5609dc(0x143)](_0x421b6c,_0x1aa73d[_0x5609dc(0x15c)],_0x1aa73d[_0x5609dc(0x111)])),_0x421b6c;}catch(_0x5384c7){const _0x32e0ca=path[_0x5609dc(0x11e)](_0x421b6c);return this['findGitConfig'](_0x32e0ca);}}[a4_0x32b7f0(0x1a6)](_0xb37ee7){const _0x4b0ff5=a4_0x32b7f0,_0x12042c={};_0x12042c[_0x4b0ff5(0xf3)]=function(_0x45e862,_0x41ab52){return _0x45e862>_0x41ab52;};const _0x4e56d6=_0x12042c;if(_0xb37ee7[_0x4b0ff5(0x1b2)])return _0xb37ee7[_0x4b0ff5(0x1b2)];if(_0xb37ee7[_0x4b0ff5(0x1bb)]){const _0x4bd437=_0xb37ee7['ctx'][_0x4b0ff5(0x184)]?this['getRootParentFile'](_0xb37ee7[_0x4b0ff5(0x1bb)][_0x4b0ff5(0x184)]):null;if(_0x4bd437)return _0x4bd437;}if(_0xb37ee7[_0x4b0ff5(0x154)]){const _0x9d0812=this[_0x4b0ff5(0x1a6)](_0xb37ee7[_0x4b0ff5(0x154)])||(_0xb37ee7[_0x4b0ff5(0x154)][_0x4b0ff5(0x1bb)]&&_0xb37ee7[_0x4b0ff5(0x154)][_0x4b0ff5(0x1bb)][_0x4b0ff5(0x184)]?this['getRootParentFile'](_0xb37ee7[_0x4b0ff5(0x154)][_0x4b0ff5(0x1bb)][_0x4b0ff5(0x184)]):null);if(_0x9d0812)return _0x9d0812;_0xb37ee7[_0x4b0ff5(0x154)][_0x4b0ff5(0x18d)]&&_0x4e56d6['ErBCv'](_0xb37ee7['parent'][_0x4b0ff5(0x18d)][_0x4b0ff5(0x1a3)],0x0)&&_0xb37ee7[_0x4b0ff5(0x154)][_0x4b0ff5(0x18d)][_0x4b0ff5(0x123)](_0x3b7c98=>{const _0x2e1447=_0x4b0ff5,_0x4ee468=_0x3b7c98[_0x2e1447(0x1bb)]?this['getRootParentFile'](_0x3b7c98['ctx']):null;if(_0x4ee468)return _0x4ee468;});}return null;}['getHierarchy'](_0x2813ad){const _0xaf683a=a4_0x32b7f0,_0xc7e18d={};_0xc7e18d[_0xaf683a(0x1af)]=function(_0x5a1e56,_0xf13c4b){return _0x5a1e56!==_0xf13c4b;};const _0x8e0c9a=_0xc7e18d,_0xa931bc=[];if(_0x2813ad&&_0x2813ad[_0xaf683a(0x154)]){let _0x2679f3=_0x2813ad[_0xaf683a(0x154)];while(_0x2679f3&&_0x8e0c9a['lEfgX'](_0x2679f3[_0xaf683a(0x124)],'')){_0xa931bc['push'](_0x2679f3['title']),_0x2679f3=_0x2679f3['parent'];}}return _0xa931bc;}['captureEvent'](_0x3ee95a,_0x328861,_0x4478d0=undefined){const _0x111634=a4_0x32b7f0,_0x50c61c={'tKyem':function(_0x1ae33,_0x5f1b95){return _0x1ae33(_0x5f1b95);},'ihKZw':function(_0x1e14d8){return _0x1e14d8();},'IKAfm':function(_0x3e5205){return _0x3e5205();},'tLdEZ':function(_0x546e59){return _0x546e59();},'dybXj':'util','kbIgS':_0x111634(0x1b9),'gzmXP':function(_0x3bde2a,_0x5c9dd7){return _0x3bde2a!==_0x5c9dd7;},'uPHzi':_0x111634(0xff),'EHQDW':_0x111634(0xfc),'TsNax':_0x111634(0x178),'nBDeJ':_0x111634(0x1ac),'sDXYv':'skipped','wHuoh':'javascript','UDYlB':function(_0x2f0c11,_0x53c56c){return _0x2f0c11-_0x53c56c;},'yNSIf':function(_0x1122c7,_0x132f16,_0x405e30,_0x1f4e50,_0x18f8f1){return _0x1122c7(_0x132f16,_0x405e30,_0x1f4e50,_0x18f8f1);},'LrSVz':function(_0x5d2ea2,_0x2a5dbc){return _0x5d2ea2!==_0x2a5dbc;},'GDbod':_0x111634(0x170),'kcEyw':_0x111634(0x137),'FdLdj':_0x111634(0x173),'NGUmc':_0x111634(0x14c),'DmEnY':_0x111634(0x185),'LVtEs':_0x111634(0xf5),'IQief':_0x111634(0x1b0),'mNbdY':function(_0x5cbb56,_0x29e8ee){return _0x5cbb56===_0x29e8ee;},'NTDKK':_0x111634(0x16e),'cbGIy':_0x111634(0x18f)};if(!this[_0x111634(0x100)])return;try{if(_0x328861['fn']&&_0x328861['fn'][_0x111634(0x1b6)]()['match'](/browserstack internal helper hook/))return;const _0x1cc769=_0x50c61c[_0x111634(0x1ba)](parseEvent,_0x3ee95a);if(!_0x1cc769)return;if(_0x1cc769[_0x111634(0x196)]){this['currentTest']=_0x328861,this[_0x111634(0x1b3)]=null;if(_0x1cc769[_0x111634(0x127)]||_0x1cc769[_0x111634(0x135)]){_0x328861[_0x111634(0x144)]=new Date(),_0x328861['markedStatus']=![];if(!_0x328861['testAnalyticsId'])_0x328861[_0x111634(0x16d)]=_0x50c61c[_0x111634(0x19c)](uuidv4);else _0x328861[_0x111634(0x176)]&&(!_0x328861[_0x111634(0x119)]&&(_0x328861[_0x111634(0x119)]=_0x328861[_0x111634(0x16d)]),_0x328861[_0x111634(0x16d)]=_0x50c61c[_0x111634(0x174)](uuidv4));}}else{if(_0x1cc769[_0x111634(0x158)]){this[_0x111634(0x1b3)]=_0x328861;if(_0x1cc769['started']){_0x328861[_0x111634(0x144)]=new Date(),_0x328861[_0x111634(0x176)]=![];if(!_0x328861[_0x111634(0x11f)])_0x328861['hookAnalyticsId']=_0x50c61c[_0x111634(0x19c)](uuidv4);else _0x328861[_0x111634(0x11f)]&&_0x328861['markedStatus']&&(_0x328861['hookAnalyticsId']=_0x50c61c[_0x111634(0x10a)](uuidv4));}}}if(_0x1cc769[_0x111634(0xf0)]&&_0x328861[_0x111634(0x176)])return;let _0x34f558;try{_0x34f558=this[_0x111634(0x1a6)](_0x328861);}catch(_0x33e8c2){logger['debug']('failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x33e8c2),_0x34f558=null;}const _0x5b70b3=_0x50c61c[_0x111634(0x1ba)](require,_0x50c61c[_0x111634(0x139)]);let _0x56e120=[];_0x4478d0&&(_0x56e120=[_0x4478d0,_0x50c61c[_0x111634(0x1ce)]]);const _0x12690a=_0x50c61c['gzmXP'](_0x328861[_0x111634(0x1bf)],undefined)?_0x5b70b3[_0x111634(0x18c)](_0x328861[_0x111634(0x1bf)][0x0]):_0x50c61c['gzmXP'](_0x4478d0,undefined)?_0x4478d0[_0x111634(0x1b6)]():undefined,_0x4b4e7e=_0x34f558?this['findGitConfig'](_0x34f558):null,_0x17c49e=_0x34f558?this[_0x111634(0x13d)][_0x111634(0x126)](this[_0x111634(0x1a6)](_0x328861)):_0x50c61c[_0x111634(0xe9)];let _0x493e87=_0x50c61c[_0x111634(0x18a)];const _0x4bee23=!_0x1cc769[_0x111634(0x127)]?new Date()[_0x111634(0x16c)]():null;if(_0x1cc769[_0x111634(0xf0)])_0x493e87=_0x4478d0?_0x50c61c['TsNax']:_0x50c61c['nBDeJ'],_0x328861[_0x111634(0x176)]=!![];else _0x1cc769[_0x111634(0x135)]&&(_0x493e87=_0x50c61c[_0x111634(0x197)],_0x328861[_0x111634(0x176)]=!![]);const _0x28819a={'framework':this[_0x111634(0x155)],'uuid':_0x328861[_0x111634(0x16d)]||_0x328861[_0x111634(0x11f)],'name':_0x328861[_0x111634(0x124)],'body':{'lang':_0x50c61c['wHuoh'],'code':_0x328861[_0x111634(0x148)]['toString']()},'type':_0x328861[_0x111634(0x11d)],'scope':_0x328861[_0x111634(0x187)](),'scopes':this['getHierarchy'](_0x328861),'file_name':_0x17c49e,'vc_filepath':_0x4b4e7e?path[_0x111634(0x1a7)](_0x4b4e7e,_0x34f558):null,'location':_0x17c49e,'result':_0x493e87,'failure_reason':_0x12690a,'duration_in_ms':_0x328861['duration']||(_0x1cc769[_0x111634(0xf0)]||_0x1cc769[_0x111634(0x135)])?_0x50c61c[_0x111634(0x136)](Date[_0x111634(0x13c)](),new Date(_0x328861['startedAt'])[_0x111634(0x141)]()):null,'started_at':new Date(_0x328861[_0x111634(0x144)])[_0x111634(0x16c)](),'finished_at':_0x4bee23,'failure':testOpsHelper['failureData'][_0x111634(0x1b5)](null,_0x56e120),'failure_type':!_0x12690a?null:testOpsHelper['getFailureType'](_0x12690a),'retry_of':_0x328861[_0x111634(0x119)]||null,'tags':_0x328861[_0x111634(0x11c)]||[],'customRerunParam':{'rerun_name':_0x328861[_0x111634(0x187)]()}};_0x50c61c['yNSIf'](appendTesthubParams,_0x28819a,_0x3ee95a,_0x328861,FRAMEWORKS[_0x111634(0x169)]);if(_0x1cc769[_0x111634(0x158)])[_0x28819a['hook_type'],_0x28819a['name']]=[this[_0x111634(0x1b7)](_0x328861),_0x328861[_0x111634(0x1bb)]['test'][_0x111634(0x124)]],_0x1cc769[_0x111634(0xf0)]?_0x50c61c['LrSVz'](_0x28819a[_0x111634(0x10f)],_0x50c61c[_0x111634(0x175)])&&(_0x28819a['result']=_0x50c61c['nBDeJ']):_0x28819a['body']={};else _0x1cc769[_0x111634(0x196)]&&(this[_0x111634(0x122)](_0x328861),_0x1cc769[_0x111634(0x135)]&&this[_0x111634(0x164)](_0x328861),(_0x1cc769[_0x111634(0xf0)]||_0x1cc769[_0x111634(0x135)])&&(_0x28819a[_0x111634(0x10b)]=this[_0x111634(0xec)](_0x328861)));this[_0x111634(0x17e)]&&(_0x1cc769[_0x111634(0x127)]||_0x1cc769['skipped'])&&(_0x28819a[_0x50c61c[_0x111634(0x103)]]=this[_0x111634(0x12e)](this[_0x111634(0x17e)]));_0x1cc769[_0x111634(0x196)]&&_0x1cc769[_0x111634(0xf0)]&&_0x328861[_0x111634(0x198)]&&(_0x28819a[_0x50c61c[_0x111634(0x1ab)]]={'feature':{'name':_0x328861[_0x111634(0x154)]['feature'][_0x111634(0x150)],'path':_0x28819a['file_name'],'description':_0x328861['parent'][_0x111634(0xf2)]},'scenario':{'name':_0x328861[_0x111634(0x124)]},'steps':_0x328861[_0x111634(0x198)]});const _0x192959=_0x28819a[_0x50c61c[_0x111634(0xe5)]][0x0];_0x192959&&(_0x28819a[_0x50c61c[_0x111634(0x106)]]=_0x192959[_0x50c61c[_0x111634(0x189)]],_0x28819a[_0x50c61c[_0x111634(0x1c1)]]=_0x192959[_0x50c61c[_0x111634(0x12f)]]);if(_0x328861[_0x111634(0x198)])for(const _0x4e23ed of _0x328861[_0x111634(0x198)]){!_0x4e23ed[_0x111634(0x110)]&&(_0x4e23ed[_0x111634(0x110)]=new Date()[_0x111634(0x16c)](),_0x50c61c[_0x111634(0x10c)](_0x4e23ed['result'],_0x50c61c['EHQDW'])&&(_0x192959?(_0x4e23ed[_0x111634(0x10f)]=_0x50c61c[_0x111634(0x175)],_0x4e23ed[_0x111634(0x173)]=_0x192959[_0x50c61c[_0x111634(0x189)]][0x0]):_0x4e23ed[_0x111634(0x10f)]=_0x50c61c[_0x111634(0x19e)]));}const _0x539149={};_0x539149[_0x111634(0x130)]=_0x1cc769[_0x111634(0x135)]?TEST_EVENTS[_0x111634(0x188)]:_0x3ee95a;const _0x37b5ca=_0x539149;return _0x1cc769[_0x111634(0x158)]?_0x37b5ca[_0x50c61c['NTDKK']]=_0x28819a:_0x37b5ca[_0x50c61c['cbGIy']]=_0x28819a,_0x37b5ca;}catch(_0x183dee){logger[_0x111634(0x113)]('Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x3ee95a+_0x111634(0x101)+_0x183dee);}}async['fireEvent'](_0x1ee280,_0x2057bb){const _0x356817=a4_0x32b7f0;if(!this[_0x356817(0x100)]||!_0x2057bb||!_0x1ee280)return![];try{return await SessionHandler['uploadEventData'](_0x2057bb);}catch(_0x1d6192){logger[_0x356817(0x113)](_0x356817(0x104)+_0x1ee280+_0x356817(0x101)+_0x1d6192);}}[a4_0x32b7f0(0x142)](_0x2c6b01){const _0x199ffa=a4_0x32b7f0,_0x5713cd={};_0x5713cd['rwYBZ']='pending';const _0x28878b=_0x5713cd;return{'id':_0x2c6b01[_0x199ffa(0x194)],'text':_0x2c6b01[_0x199ffa(0xf9)],'keyword':_0x2c6b01[_0x199ffa(0x1a5)],'started_at':_0x2c6b01[_0x199ffa(0x144)][_0x199ffa(0x16c)](),'result':_0x28878b[_0x199ffa(0x14f)]};}[a4_0x32b7f0(0x120)](_0x39364d){const _0x27b8c3=a4_0x32b7f0,_0x357ca8={'HFdeJ':function(_0x2874ea){return _0x2874ea();}};!this[_0x27b8c3(0x184)][_0x27b8c3(0x198)]&&(this[_0x27b8c3(0x184)][_0x27b8c3(0x198)]=[]),!_0x39364d[_0x27b8c3(0x194)]&&(_0x39364d[_0x27b8c3(0x194)]=_0x357ca8[_0x27b8c3(0x1c2)](uuidv4),_0x39364d[_0x27b8c3(0x144)]=new Date(),this[_0x27b8c3(0x184)][_0x27b8c3(0x198)][_0x27b8c3(0x11a)](this[_0x27b8c3(0x142)](_0x39364d)));}['bddStepFinish'](_0x2acfb1){const _0x4a86a4=a4_0x32b7f0,_0x397245={'CybIe':function(_0x33b8e0,_0x3e0225){return _0x33b8e0(_0x3e0225);},'kWvJS':_0x4a86a4(0xea),'pdZew':_0x4a86a4(0xfc),'BvVHH':_0x4a86a4(0x1ac),'ewrxE':function(_0x252f1c,_0x4708be){return _0x252f1c-_0x4708be;}};let _0x52b776=this[_0x4a86a4(0x184)][_0x4a86a4(0x198)]['find'](_0xffe40b=>_0xffe40b['id']===_0x2acfb1['stepAnalyticsId']);_0x397245[_0x4a86a4(0xef)](isUndefined,_0x52b776)&&(_0x52b776=this[_0x4a86a4(0x142)](_0x2acfb1)),_0x52b776[_0x4a86a4(0x10f)]=[_0x397245['kWvJS'],_0x397245[_0x4a86a4(0x162)]][_0x4a86a4(0xf8)](_0x2acfb1[_0x4a86a4(0x12a)])?_0x397245[_0x4a86a4(0x107)]:_0x2acfb1[_0x4a86a4(0x12a)],_0x52b776[_0x4a86a4(0x110)]=new Date()['toISOString'](),_0x52b776[_0x4a86a4(0x1cc)]=_0x397245[_0x4a86a4(0x16a)](Date[_0x4a86a4(0x13c)](),_0x2acfb1['startedAt'][_0x4a86a4(0x141)]()),_0x52b776[_0x4a86a4(0x173)]=_0x2acfb1[_0x4a86a4(0x1b9)]?_0x2acfb1[_0x4a86a4(0x1b9)][_0x4a86a4(0x12c)]:null;}}const a4_0x5ddbef={};function a4_0x1aee(_0x8b04a4,_0x511f0d){const _0x30d028=a4_0x30d0();return a4_0x1aee=function(_0x1aee4f,_0xeb2da2){_0x1aee4f=_0x1aee4f-0xe3;let _0x361ce3=_0x30d028[_0x1aee4f];return _0x361ce3;},a4_0x1aee(_0x8b04a4,_0x511f0d);}a4_0x5ddbef['O11yHelper']=O11yHelper,a4_0x5ddbef['STATE_PASSED']=STATE_PASSED,a4_0x5ddbef['STATE_FAILED']=STATE_FAILED,a4_0x5ddbef['TEST_EVENTS']=TEST_EVENTS,module[a4_0x32b7f0(0x138)]=a4_0x5ddbef;
|
|
1
|
+
const a4_0x1565aa=a4_0x44db;(function(_0x482583,_0x3c6d99){const _0x57a4ce=a4_0x44db,_0x109164=_0x482583();while(!![]){try{const _0x2f500d=parseInt(_0x57a4ce(0x1d1))/0x1+parseInt(_0x57a4ce(0x1ce))/0x2+parseInt(_0x57a4ce(0x205))/0x3+parseInt(_0x57a4ce(0x217))/0x4*(parseInt(_0x57a4ce(0x207))/0x5)+parseInt(_0x57a4ce(0x15d))/0x6*(-parseInt(_0x57a4ce(0x239))/0x7)+parseInt(_0x57a4ce(0x23c))/0x8+-parseInt(_0x57a4ce(0x23b))/0x9;if(_0x2f500d===_0x3c6d99)break;else _0x109164['push'](_0x109164['shift']());}catch(_0x12792f){_0x109164['push'](_0x109164['shift']());}}}(a4_0x49b1,0x34261));function a4_0x44db(_0x77707,_0x57f927){const _0x49b1ec=a4_0x49b1();return a4_0x44db=function(_0x44db64,_0xdb9fcf){_0x44db64=_0x44db64-0x147;let _0xa94773=_0x49b1ec[_0x44db64];return _0xa94773;},a4_0x44db(_0x77707,_0x57f927);}function a4_0x49b1(){const _0x2277ca=['hJpCa','SQEQC','skipped','mGEbV','__cloud_provider___','ZGhBv','PLAYWRIGHT_HUB_URL','162696xVQWvI','browserType.js','removeAllListeners','prototype','event_type','tags','getCBTInfo','_paths','defineProperty','config','hook','enabled','SSxgV','frameworkName','rpNSd','wsEndpoint','getHierarchy','HOOK_RUN_STARTED','_beforeEach','sendCBTInfo','expanded','dCcec','Elffg','VyEYw','setupBrowserDetails','WAxZj','getHooksForTest','toString','getTime','getRootParentFile','debug','exports','qjhic','nQBrl','dirname','file_name','VDDkZ','uuid','statSync','text','test_run','passed','connectOverCDP','JhiAq','backtrace','SjjcT','upXYW','OdxQV','now','xtBDJ','inspect','forEach','push','message','dToBy','IZBYi','foyWY','HPuYR','bddStepStart','gSZaZ','match','lib','driver','../mocha/test-observability/mochaUtils','HOOK_RUN_FINISHED','HookRunStarted','currentHook','hook_type','mqClb','STATE_PASSED','relative','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','File\x20path\x20could\x20not\x20be\x20found','failureData','TzepG','mNfOD','failure','location_prefix','tYMnG','__platformCaps','sDTyJ','AqjfU','keyword','concat','ofcNx','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','AKxmD','codeceptjs','sep','wNhjj','status','cvsIk','stringify','../../helpers/test-observability/requestQueueHandler','bddSteps','PlIwU','join','mapTestHooks','finished_at','MqhsY','getHookType','accessibilityPlatform','type','markedStatus','name','TgEbe','failed','ISTpv','toUpperCase','ctx','IAgGA','findGitConfig','../../helpers/testhub/utils.js','391060igxhNn','TEST_RUN_STARTED','RbUIA','317392FcdQkh','NVNgO','Wouwr','xCKBO','getInstance','groups','cwd','TEST_EVENTS','../utils/constants','../../helpers/helper','hiHqO','puNrX','GApIb','oqhBp','obsBrowserTypeMockApplied','PjuZa','apply','comment','ToNBm','file','err','errorsDetailed','fullTitle','kPzim','test','getFailureType','XEDye','DmtKk','testAnalyticsId','constructor','../../helpers/test-observability/utils','iOxLt','pid','KSZVU','winstonLogger','browserstack','wmaQd','logs','pOkSW','\x20with\x20error\x20:\x20','qGIUn','TddYM','appendTestItemLog','PSHUb','UgRIF','currentTest','integrations','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','uploadEventData','nsboX','failed\x20to\x20get\x20root\x20parent\x20file\x20','../playwright/accessibility-helper','449916HTlSqE','GeYFR','20lUEYTJ','_testEnv','parent','hookAnalyticsId','FTXXu','replace','DVcBu','bind','title','bddStepFinish','bkBmn','launch','pNEqp','KpOIA','retryOf','kpuPr','324124hNAVTP','suites','O11yHelper','find','finished','lhdGY','failure_reason_expanded','TestRunSkipped','yTkRa','pending','fhqKX','result','resetSkipTestHooks','CBTSessionCreated','../../helpers/test-observability/sessionHandler','body','TestRunFinished','HookRunFinished','XHmTm','initializeBddStep','./helper.js','started','TEST_RUN_SKIPPED','stepAnalyticsId','toISOString','path','FMDtt','hook_run_uuid','VrgAv','test_run_uuid','fireEvent','eXqPH','connect','gFakg','56wGVAUD','lOaWA','8581545zsQfgC','3176128wSYgLi','gBOdT','javascript','split','fwzFL','string','prefixTestPath','WHllX','UoVYI','meta','then','failure_backtrace','cqlbG','includes','STATE_FAILED','_afterEach','length','startedAt','gxPUe','ZGAWp'];a4_0x49b1=function(){return _0x2277ca;};return a4_0x49b1();}const path=require(a4_0x1565aa(0x230)),fs=require('fs'),{v4:uuidv4}=require(a4_0x1565aa(0x182)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x1565aa(0x1da)),testOpsHelper=require(a4_0x1565aa(0x1ef)),{getTestEnv}=require(a4_0x1565aa(0x19c)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),logger=require('../../helpers/logger')[a4_0x1565aa(0x1f3)],SessionHandler=require(a4_0x1565aa(0x225)),RequestQueueHandler=require(a4_0x1565aa(0x1ba)),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper[a4_0x1565aa(0x17b)],{processAccessibilityCaps}=require(a4_0x1565aa(0x204)),Constants=require(a4_0x1565aa(0x1d9)),{fetchPlatformDetails}=require(a4_0x1565aa(0x22b)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x1565aa(0x1cd)),STATE_PASSED=a4_0x1565aa(0x186),STATE_FAILED='failed',a4_0x176321={};a4_0x176321[a4_0x1565aa(0x1cf)]='TestRunStarted',a4_0x176321['TEST_RUN_FINISHED']=a4_0x1565aa(0x227),a4_0x176321[a4_0x1565aa(0x22d)]=a4_0x1565aa(0x21e),a4_0x176321[a4_0x1565aa(0x16e)]=a4_0x1565aa(0x19e),a4_0x176321[a4_0x1565aa(0x19d)]=a4_0x1565aa(0x228);const TEST_EVENTS=a4_0x176321,parseEvent=_0x24ed5b=>{const _0x112535=a4_0x1565aa,_0x3ec37f={};_0x3ec37f[_0x112535(0x154)]=function(_0x27ac8c,_0x4c9c9f){return _0x27ac8c<_0x4c9c9f;},_0x3ec37f[_0x112535(0x16b)]=function(_0x2e0667,_0x3e67d9){return _0x2e0667===_0x3e67d9;},_0x3ec37f[_0x112535(0x23d)]=_0x112535(0x1e9),_0x3ec37f[_0x112535(0x213)]=function(_0x52890e,_0x420e99){return _0x52890e===_0x420e99;},_0x3ec37f[_0x112535(0x1e3)]=_0x112535(0x167),_0x3ec37f[_0x112535(0x1d3)]=function(_0x420e2d,_0x56e52d){return _0x420e2d===_0x56e52d;},_0x3ec37f[_0x112535(0x240)]=_0x112535(0x158),_0x3ec37f[_0x112535(0x211)]=function(_0x33c7b0,_0x421f33){return _0x33c7b0===_0x421f33;},_0x3ec37f[_0x112535(0x1db)]='started',_0x3ec37f[_0x112535(0x1a7)]=_0x112535(0x21b);const _0x2bb3c3=_0x3ec37f,_0x2c26fc=_0x24ed5b[_0x112535(0x199)](/^(.*)Run(.*)$/);if(!_0x2c26fc)return null;if(_0x2bb3c3[_0x112535(0x154)](_0x2c26fc[_0x112535(0x152)],0x3))return null;const _0x4dd316=_0x2c26fc[0x1]['toLowerCase'](),_0x5a1cbc=_0x2c26fc[0x2]['toLowerCase']();return{'test':_0x2bb3c3[_0x112535(0x16b)](_0x4dd316,_0x2bb3c3[_0x112535(0x23d)]),'hook':_0x2bb3c3['pNEqp'](_0x4dd316,_0x2bb3c3['ToNBm']),'skipped':_0x2bb3c3[_0x112535(0x1d3)](_0x5a1cbc,_0x2bb3c3[_0x112535(0x240)]),'started':_0x2bb3c3[_0x112535(0x211)](_0x5a1cbc,_0x2bb3c3[_0x112535(0x1db)]),'finished':_0x2bb3c3[_0x112535(0x213)](_0x5a1cbc,_0x2bb3c3[_0x112535(0x1a7)])};},mockPWBrowserType=_0x4b8c64=>{const _0x4de3e6=a4_0x1565aa,_0x1be4c3={'dToBy':function(_0x558ed1,_0x5daed2){return _0x558ed1===_0x5daed2;},'FTXXu':_0x4de3e6(0x147),'dCcec':function(_0x252c9d,_0x3e9672,_0x44c7ad){return _0x252c9d(_0x3e9672,_0x44c7ad);},'FMDtt':_0x4de3e6(0x16c),'SSxgV':function(_0x16dce0,_0x2462ab){return _0x16dce0(_0x2462ab);},'mNfOD':_0x4de3e6(0x1f4),'kbhGz':function(_0x50105d,_0x397ac4,_0x4067eb){return _0x50105d(_0x397ac4,_0x4067eb);},'wmaQd':function(_0x664730,_0x2a2a0a){return _0x664730(_0x2a2a0a);},'TddYM':_0x4de3e6(0x19a),'QuEtC':'client','TgEbe':_0x4de3e6(0x15e),'cvsIk':function(_0x21ef4e,_0x23bd76){return _0x21ef4e(_0x23bd76);},'DVcBu':'Not\x20able\x20to\x20import\x20Browser','nQBrl':_0x4de3e6(0x237),'kpuPr':_0x4de3e6(0x212)},_0x26b2ad=path[_0x4de3e6(0x1bd)](_0x1be4c3[_0x4de3e6(0x1fa)],_0x1be4c3['QuEtC'],_0x1be4c3[_0x4de3e6(0x1c6)]),_0x454d7f=_0x1be4c3[_0x4de3e6(0x169)](importFileFromPWCore,_0x26b2ad);if(!_0x454d7f){_0x1be4c3[_0x4de3e6(0x1b8)](debug,_0x1be4c3[_0x4de3e6(0x20d)]);return;}const _0x352ccc=_0x454d7f['BrowserType'],_0x59123e=_0x352ccc[_0x4de3e6(0x160)];if(_0x59123e[_0x4de3e6(0x1df)])return;const _0x2de918=_0x59123e[_0x4de3e6(0x237)];Object[_0x4de3e6(0x165)](_0x59123e,_0x1be4c3[_0x4de3e6(0x17e)],{'get':function(){const _0x5326aa=_0x4de3e6,_0x2fe4b7={'Elffg':function(_0x5665db,_0x59154a){const _0x413d16=a4_0x44db;return _0x1be4c3[_0x413d16(0x193)](_0x5665db,_0x59154a);},'kPzim':_0x1be4c3[_0x5326aa(0x20b)],'VDDkZ':function(_0x544d87,_0x59430d,_0x2b5f17){const _0x5508ec=_0x5326aa;return _0x1be4c3[_0x5508ec(0x172)](_0x544d87,_0x59430d,_0x2b5f17);},'OdxQV':_0x1be4c3[_0x5326aa(0x231)],'ZGhBv':function(_0x331ea9,_0x54348b){return _0x1be4c3['SSxgV'](_0x331ea9,_0x54348b);},'davJf':_0x1be4c3[_0x5326aa(0x1a8)],'mqEZR':function(_0x403282,_0xf0f9cd,_0x232c53){return _0x1be4c3['kbhGz'](_0x403282,_0xf0f9cd,_0x232c53);},'SQEQC':function(_0x1e8d9b,_0x1f3b81){const _0x25290f=_0x5326aa;return _0x1be4c3[_0x25290f(0x1f5)](_0x1e8d9b,_0x1f3b81);}};return async function _0x37858e(_0xda7a14,_0x28111e){const _0x4245cb=_0x5326aa,_0x2fdad2={'gSZaZ':function(_0xe03bdf,_0x29516e){const _0x535fd0=a4_0x44db;return _0x2fe4b7[_0x535fd0(0x173)](_0xe03bdf,_0x29516e);},'UgRIF':_0x2fe4b7[_0x4245cb(0x1e8)]},_0x17777f=_0x2fe4b7[_0x4245cb(0x181)](nestedKeyValue,_0xda7a14,[_0x2fe4b7[_0x4245cb(0x18c)]])||_0xda7a14;let _0x2a5d55=null,_0x37cf8a=null;try{[_0x37cf8a,_0x2a5d55]=_0x17777f?_0x2fe4b7[_0x4245cb(0x15b)](parseWSEndpoint,_0x17777f):[null,null],global[_0x4245cb(0x1ac)]=_0x2a5d55,_0x37cf8a['includes'](_0x2fe4b7['davJf'])&&(global[_0x4245cb(0x15a)]=_0x2fe4b7['davJf']);}catch(_0x40d9ec){logger[_0x4245cb(0x17b)]('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x17777f+'\x20'+_0x40d9ec);}_0x2fe4b7['mqEZR'](processAccessibilityCaps,_0x2a5d55,_0x37cf8a);if(global[_0x4245cb(0x1c2)]){const _0x35d677=await _0x59123e[_0x4245cb(0x187)]['apply'](this,[''+Constants[_0x4245cb(0x15c)]+_0x2fe4b7[_0x4245cb(0x157)](encodeURIComponent,JSON[_0x4245cb(0x1b9)](_0x2a5d55))]);return PlaywrightSessionDetails[_0x4245cb(0x175)](_0x35d677,_0x4b8c64,_0x17777f),_0x35d677;}return _0x2de918[_0x4245cb(0x1e1)](this,arguments)[_0x4245cb(0x14c)](_0x553636=>{const _0x1d65c0=_0x4245cb;let _0x55fca7=_0xda7a14['wsEndpoint'];return _0x2fdad2[_0x1d65c0(0x198)](typeof _0xda7a14,_0x2fdad2[_0x1d65c0(0x1fd)])&&(_0x55fca7=_0xda7a14),PlaywrightSessionDetails[_0x1d65c0(0x175)](_0x553636,_0x4b8c64,_0x55fca7),_0x553636;});};}});const _0x15c62f=_0x59123e[_0x4de3e6(0x212)];Object[_0x4de3e6(0x165)](_0x59123e,_0x1be4c3[_0x4de3e6(0x216)],{'get':function(){return async function _0x3acc55(){return _0x15c62f['apply'](this,arguments)['then'](_0x30ee15=>{const _0x47ea3f=a4_0x44db;return PlaywrightSessionDetails[_0x47ea3f(0x175)](_0x30ee15,null),_0x30ee15;});};}});};class O11yHelper{[a4_0x1565aa(0x1fe)]=null;[a4_0x1565aa(0x19f)]=null;[a4_0x1565aa(0x168)]=![];['frameworkName']=![];constructor(_0x43cf7a,_0x5e76f1){const _0x374643=a4_0x1565aa,_0x585270={'WAxZj':'3|1|5|4|2|0','GeYFR':function(_0xb90eb,_0x36cd4e){return _0xb90eb===_0x36cd4e;},'PSHUb':'Playwright','JhiAq':function(_0x505404,_0x218fbf){return _0x505404(_0x218fbf);},'wNhjj':function(_0x3e146c){return _0x3e146c();},'eBvlb':function(_0x4c878a){return _0x4c878a();}},_0x17539f=_0x585270[_0x374643(0x176)][_0x374643(0x23f)]('|');let _0x4b25ec=0x0;while(!![]){switch(_0x17539f[_0x4b25ec++]){case'0':this['driver']&&_0x585270[_0x374643(0x206)](this[_0x374643(0x19b)][_0x374643(0x1ee)][_0x374643(0x1c5)],_0x585270[_0x374643(0x1fc)])&&_0x585270[_0x374643(0x188)](mockPWBrowserType,null);continue;case'1':this[_0x374643(0x16a)]=_0x5e76f1[_0x374643(0x16a)];continue;case'2':this[_0x374643(0x164)]=new testOpsHelper['PathHelper']({'cwd':process[_0x374643(0x1d7)]()},this[_0x374643(0x208)][_0x374643(0x1aa)]);continue;case'3':this[_0x374643(0x168)]=_0x585270[_0x374643(0x1b6)](shouldProcessEventForTesthub);continue;case'4':this[_0x374643(0x208)]=_0x585270['eBvlb'](getTestEnv);continue;case'5':this[_0x374643(0x19b)]=_0x43cf7a;continue;}break;}}['start'](){const _0x547e5=a4_0x1565aa;if(!this[_0x547e5(0x168)])return;testOpsHelper['patchConsoleLogger'](),process[_0x547e5(0x15f)]('bs:addLog:'+process[_0x547e5(0x1f1)]),process['on']('bs:addLog:'+process[_0x547e5(0x1f1)],this[_0x547e5(0x1fb)][_0x547e5(0x20e)](this));}async['stop'](){const _0x2d693e=a4_0x1565aa;await RequestQueueHandler[_0x2d693e(0x1d5)]()['shutdown']();}async[a4_0x1565aa(0x1fb)](_0x8e6247){const _0x238159=a4_0x1565aa,_0x7c7512={'SgUlR':'LogCreated','AqjfU':function(_0x34c2bb,_0x2c53c9){return _0x34c2bb(_0x2c53c9);}};try{this[_0x238159(0x19f)]&&!this['currentHook']['markedStatus']&&(_0x8e6247[_0x238159(0x232)]=this[_0x238159(0x19f)][_0x238159(0x20a)]);!_0x8e6247[_0x238159(0x232)]&&this['currentTest']&&!this[_0x238159(0x1fe)][_0x238159(0x1c4)]&&(_0x8e6247['test_run_uuid']=this['currentTest']['testAnalyticsId']);if(_0x8e6247[_0x238159(0x232)]||_0x8e6247[_0x238159(0x234)]){const _0xfefeef={};_0xfefeef[_0x238159(0x161)]=_0x7c7512['SgUlR'],_0xfefeef[_0x238159(0x1f6)]=[_0x8e6247],await SessionHandler[_0x238159(0x201)](_0xfefeef);}}catch(_0x52db8b){_0x7c7512[_0x238159(0x1ae)](debug,_0x238159(0x200)+_0x52db8b);}}async[a4_0x1565aa(0x170)](_0x305b6){const _0x28cd97=a4_0x1565aa,_0x23a6be={'gVZij':_0x28cd97(0x224),'cqlbG':function(_0x218330,_0x592aa1){return _0x218330(_0x592aa1);}};if(!this[_0x28cd97(0x168)])return;const _0x14e7ae=this[_0x28cd97(0x163)](this[_0x28cd97(0x19b)]);try{const _0x384d41={};_0x384d41[_0x28cd97(0x182)]=_0x305b6,_0x384d41['integrations']=_0x14e7ae;const _0x3d2338=_0x384d41,_0x363420={};_0x363420[_0x28cd97(0x161)]=_0x23a6be['gVZij'],_0x363420[_0x28cd97(0x185)]=_0x3d2338,await SessionHandler['uploadEventData'](_0x363420);}catch(_0x1f100c){_0x23a6be[_0x28cd97(0x14e)](debug,_0x28cd97(0x1a4)+_0x1f100c);}}[a4_0x1565aa(0x163)](_0x2b27fd){const _0x4878aa=a4_0x1565aa,_0x367aea={'upXYW':function(_0x507812,_0x7ef520){return _0x507812(_0x7ef520);}};return _0x367aea[_0x4878aa(0x18b)](fetchPlatformDetails,_0x2b27fd);}['resetSkipTestHooks']=_0x27093b=>{const _0x56c2c7=a4_0x1565aa,_0x298559={};_0x298559['VyEYw']=_0x56c2c7(0x16f),_0x298559['xtBDJ']='_afterEach';const _0x14d9bc=_0x298559;if(!_0x27093b||!_0x27093b[_0x56c2c7(0x209)])return;[_0x14d9bc[_0x56c2c7(0x174)],_0x14d9bc[_0x56c2c7(0x18e)]][_0x56c2c7(0x190)](_0x125ec6=>{const _0xd3b6b1=_0x27093b['parent'][_0x125ec6];_0xd3b6b1['forEach'](_0x51d117=>{const _0x3e8c11=a4_0x44db;_0x51d117[_0x3e8c11(0x20a)]&&(_0x51d117[_0x3e8c11(0x20a)]=null);});});};['mapTestHooks'](_0x3359ed){const _0x47d43d=a4_0x1565aa,_0x1c198c={'foyWY':_0x47d43d(0x1b4),'XEDye':function(_0x3cdc83){return _0x3cdc83();},'sDTyJ':function(_0x48e7f4,_0x3b468c){return _0x48e7f4===_0x3b468c;},'qjhic':_0x47d43d(0x151),'PjuZa':'_beforeAll','MqhsY':'_afterAll','gFakg':_0x47d43d(0x16f)};if(!_0x3359ed||!_0x3359ed['parent'])return;[_0x1c198c[_0x47d43d(0x1e0)],_0x1c198c[_0x47d43d(0x1c0)],_0x1c198c[_0x47d43d(0x238)],_0x1c198c[_0x47d43d(0x17d)]][_0x47d43d(0x190)](_0x13e6e2=>{const _0x56096b=_0x47d43d,_0x319aa6=_0x3359ed['parent'][_0x13e6e2]||[];_0x319aa6[_0x56096b(0x190)](_0x45e0a0=>{const _0x294f7f=_0x56096b;if(_0x45e0a0[_0x294f7f(0x20f)][_0x294f7f(0x14f)](_0x1c198c[_0x294f7f(0x195)]))return;if(!_0x45e0a0['hookAnalyticsId'])_0x45e0a0['hookAnalyticsId']=_0x1c198c[_0x294f7f(0x1eb)](uuidv4);else _0x45e0a0[_0x294f7f(0x1c4)]&&_0x1c198c[_0x294f7f(0x1ad)](_0x13e6e2,_0x1c198c[_0x294f7f(0x17d)])&&(_0x45e0a0[_0x294f7f(0x20a)]=_0x1c198c[_0x294f7f(0x1eb)](uuidv4),delete _0x45e0a0[_0x294f7f(0x1c4)]);});}),this[_0x47d43d(0x1be)](_0x3359ed['parent']);}[a4_0x1565aa(0x177)](_0x5a58e6){const _0x52855c=a4_0x1565aa,_0x20d9fb={};_0x20d9fb[_0x52855c(0x149)]='_beforeAll',_0x20d9fb[_0x52855c(0x1b3)]='_afterAll',_0x20d9fb[_0x52855c(0x1f7)]=_0x52855c(0x16f),_0x20d9fb[_0x52855c(0x1de)]=_0x52855c(0x151);const _0x27d555=_0x20d9fb;if(!_0x5a58e6||!_0x5a58e6[_0x52855c(0x209)])return[];const _0x12c861=[];return[_0x27d555[_0x52855c(0x149)],_0x27d555['AKxmD'],_0x27d555[_0x52855c(0x1f7)],_0x27d555[_0x52855c(0x1de)]][_0x52855c(0x190)](_0x4ee832=>{const _0x3d889b=_0x52855c,_0x52a829=_0x5a58e6[_0x3d889b(0x209)][_0x4ee832]||[];_0x52a829[_0x3d889b(0x190)](_0x38776d=>{const _0x5b885c=_0x3d889b;_0x38776d[_0x5b885c(0x20a)]&&_0x12c861[_0x5b885c(0x191)](_0x38776d['hookAnalyticsId']);});}),[][_0x52855c(0x1b0)](_0x12c861,this[_0x52855c(0x177)](_0x5a58e6['parent']));}[a4_0x1565aa(0x1c1)](_0x443947){const _0x2bd93e=a4_0x1565aa,_0x4c8f4f=/^"(?<hook>.*)" hook:.*$/,_0x11d7d5=_0x443947[_0x2bd93e(0x20f)],_0x3e6cb8=_0x11d7d5[_0x2bd93e(0x199)](_0x4c8f4f);if(_0x3e6cb8&&_0x3e6cb8[_0x2bd93e(0x1d6)])return _0x3e6cb8[_0x2bd93e(0x1d6)]['hook'][_0x2bd93e(0x1c9)]()[_0x2bd93e(0x20c)]('\x20','_');return null;}['findGitConfig'](_0x2606dc){const _0x2ffcef=a4_0x1565aa,_0x1209e7={};_0x1209e7[_0x2ffcef(0x1bc)]=function(_0x4f5f2f,_0x20e686){return _0x4f5f2f===_0x20e686;},_0x1209e7[_0x2ffcef(0x202)]=function(_0x22efbd,_0x497286){return _0x22efbd===_0x497286;},_0x1209e7[_0x2ffcef(0x21f)]='.git',_0x1209e7[_0x2ffcef(0x1dd)]=_0x2ffcef(0x166);const _0x402220=_0x1209e7,_0x3b6a10=path[_0x2ffcef(0x1b5)];if(_0x402220[_0x2ffcef(0x1bc)](_0x2606dc,null)||_0x402220[_0x2ffcef(0x1bc)](_0x2606dc,'')||_0x402220['PlIwU'](_0x2606dc,_0x3b6a10)||_0x402220['nsboX'](_0x2606dc,path[_0x2ffcef(0x17f)](_0x2606dc)))return null;try{return fs[_0x2ffcef(0x183)](path[_0x2ffcef(0x1bd)](_0x2606dc,_0x402220['yTkRa'],_0x402220[_0x2ffcef(0x1dd)])),_0x2606dc;}catch(_0x21f363){const _0x30dde0=path[_0x2ffcef(0x17f)](_0x2606dc);return this['findGitConfig'](_0x30dde0);}}['getRootParentFile'](_0x149561){const _0x321602=a4_0x1565aa,_0x5e645f={};_0x5e645f[_0x321602(0x1b1)]=function(_0x47e0c0,_0x2f0fad){return _0x47e0c0>_0x2f0fad;};const _0x1c0cbd=_0x5e645f;if(_0x149561[_0x321602(0x1e4)])return _0x149561['file'];if(_0x149561[_0x321602(0x1ca)]){const _0x4d3250=_0x149561['ctx'][_0x321602(0x1fe)]?this['getRootParentFile'](_0x149561['ctx'][_0x321602(0x1fe)]):null;if(_0x4d3250)return _0x4d3250;}if(_0x149561[_0x321602(0x209)]){const _0x16ba23=this['getRootParentFile'](_0x149561[_0x321602(0x209)])||(_0x149561[_0x321602(0x209)][_0x321602(0x1ca)]&&_0x149561[_0x321602(0x209)]['ctx']['currentTest']?this[_0x321602(0x17a)](_0x149561[_0x321602(0x209)][_0x321602(0x1ca)]['currentTest']):null);if(_0x16ba23)return _0x16ba23;_0x149561['parent'][_0x321602(0x218)]&&_0x1c0cbd[_0x321602(0x1b1)](_0x149561['parent']['suites']['length'],0x0)&&_0x149561[_0x321602(0x209)][_0x321602(0x218)][_0x321602(0x190)](_0x2f7ca7=>{const _0x21d316=_0x321602,_0x2753e4=_0x2f7ca7[_0x21d316(0x1ca)]?this['getRootParentFile'](_0x2f7ca7[_0x21d316(0x1ca)]):null;if(_0x2753e4)return _0x2753e4;});}return null;}[a4_0x1565aa(0x16d)](_0x1b8812){const _0xe4d7dc=a4_0x1565aa,_0x37a2a3={};_0x37a2a3[_0xe4d7dc(0x23a)]=function(_0x3f8393,_0x38fafb){return _0x3f8393!==_0x38fafb;};const _0x42bd4b=_0x37a2a3,_0x35b700=[];if(_0x1b8812&&_0x1b8812[_0xe4d7dc(0x209)]){let _0x3cea54=_0x1b8812[_0xe4d7dc(0x209)];while(_0x3cea54&&_0x42bd4b[_0xe4d7dc(0x23a)](_0x3cea54[_0xe4d7dc(0x20f)],'')){_0x35b700[_0xe4d7dc(0x191)](_0x3cea54[_0xe4d7dc(0x20f)]),_0x3cea54=_0x3cea54[_0xe4d7dc(0x209)];}}return _0x35b700;}['captureEvent'](_0x7f6390,_0x45ca20,_0x137b35=undefined){const _0x151bb0=a4_0x1565aa,_0x3e33c7={'qGIUn':function(_0x2660bc,_0x34153e){return _0x2660bc(_0x34153e);},'IZBYi':function(_0x88f6d0){return _0x88f6d0();},'XHmTm':function(_0x4d7ce2){return _0x4d7ce2();},'nMsFR':function(_0x505612){return _0x505612();},'HPuYR':'util','aNCat':_0x151bb0(0x1e5),'mGEbV':function(_0x55c721,_0x2f1b39){return _0x55c721!==_0x2f1b39;},'VrgAv':function(_0x111093,_0x3b2d67){return _0x111093!==_0x3b2d67;},'rztFc':_0x151bb0(0x1a5),'mqClb':_0x151bb0(0x220),'SjjcT':_0x151bb0(0x1c7),'Iomnb':_0x151bb0(0x186),'xCKBO':_0x151bb0(0x158),'UoVYI':_0x151bb0(0x23e),'RbUIA':function(_0x45ed2d,_0x3dcdd0){return _0x45ed2d-_0x3dcdd0;},'ZGAWp':function(_0x3fd0d9,_0x3cf30b,_0x28f660,_0x36dd1b,_0x132c32){return _0x3fd0d9(_0x3cf30b,_0x28f660,_0x36dd1b,_0x132c32);},'FRfYO':_0x151bb0(0x1ff),'IAgGA':_0x151bb0(0x14b),'KpOIA':_0x151bb0(0x1a9),'edzAr':_0x151bb0(0x14d),'puNrX':_0x151bb0(0x189),'KSZVU':_0x151bb0(0x21d),'hJpCa':_0x151bb0(0x171),'ISTpv':function(_0x2eec3c,_0xf17a96){return _0x2eec3c===_0xf17a96;},'TRNzx':'hook_run','NVNgO':_0x151bb0(0x185)};if(!this[_0x151bb0(0x168)])return;try{if(_0x45ca20['fn']&&_0x45ca20['fn'][_0x151bb0(0x178)]()[_0x151bb0(0x199)](/browserstack internal helper hook/))return;const _0x40d621=_0x3e33c7[_0x151bb0(0x1f9)](parseEvent,_0x7f6390);if(!_0x40d621)return;if(_0x40d621[_0x151bb0(0x1e9)]){this[_0x151bb0(0x1fe)]=_0x45ca20,this[_0x151bb0(0x19f)]=null;if(_0x40d621[_0x151bb0(0x22c)]||_0x40d621['skipped']){_0x45ca20[_0x151bb0(0x153)]=new Date(),_0x45ca20[_0x151bb0(0x1c4)]=![];if(!_0x45ca20[_0x151bb0(0x1ed)])_0x45ca20[_0x151bb0(0x1ed)]=_0x3e33c7[_0x151bb0(0x194)](uuidv4);else _0x45ca20['markedStatus']&&(!_0x45ca20[_0x151bb0(0x215)]&&(_0x45ca20['retryOf']=_0x45ca20[_0x151bb0(0x1ed)]),_0x45ca20[_0x151bb0(0x1ed)]=_0x3e33c7[_0x151bb0(0x229)](uuidv4));}}else{if(_0x40d621[_0x151bb0(0x167)]){this[_0x151bb0(0x19f)]=_0x45ca20;if(_0x40d621['started']){_0x45ca20[_0x151bb0(0x153)]=new Date(),_0x45ca20[_0x151bb0(0x1c4)]=![];if(!_0x45ca20[_0x151bb0(0x20a)])_0x45ca20['hookAnalyticsId']=_0x3e33c7['IZBYi'](uuidv4);else _0x45ca20[_0x151bb0(0x20a)]&&_0x45ca20['markedStatus']&&(_0x45ca20[_0x151bb0(0x20a)]=_0x3e33c7['nMsFR'](uuidv4));}}}if(_0x40d621[_0x151bb0(0x21b)]&&_0x45ca20[_0x151bb0(0x1c4)])return;let _0x32bed2;try{_0x32bed2=this[_0x151bb0(0x17a)](_0x45ca20);}catch(_0x25a462){logger['debug'](_0x151bb0(0x203)+_0x25a462),_0x32bed2=null;}const _0x155976=_0x3e33c7[_0x151bb0(0x1f9)](require,_0x3e33c7[_0x151bb0(0x196)]);let _0x193aa3=[];_0x137b35&&(_0x193aa3=[_0x137b35,_0x3e33c7['aNCat']]);const _0x51742e=_0x3e33c7[_0x151bb0(0x159)](_0x45ca20[_0x151bb0(0x1e6)],undefined)?_0x155976[_0x151bb0(0x18f)](_0x45ca20['errorsDetailed'][0x0]):_0x3e33c7[_0x151bb0(0x233)](_0x137b35,undefined)?_0x137b35[_0x151bb0(0x178)]():undefined,_0x2ee913=_0x32bed2?this[_0x151bb0(0x1cc)](_0x32bed2):null,_0x18b49d=_0x32bed2?this[_0x151bb0(0x164)][_0x151bb0(0x148)](this['getRootParentFile'](_0x45ca20)):_0x3e33c7['rztFc'];let _0xcc2450=_0x3e33c7[_0x151bb0(0x1a1)];const _0xe087b4=!_0x40d621['started']?new Date()[_0x151bb0(0x22f)]():null;if(_0x40d621[_0x151bb0(0x21b)])_0xcc2450=_0x137b35?_0x3e33c7['SjjcT']:_0x3e33c7['Iomnb'],_0x45ca20[_0x151bb0(0x1c4)]=!![];else _0x40d621[_0x151bb0(0x158)]&&(_0xcc2450=_0x3e33c7[_0x151bb0(0x1d4)],_0x45ca20[_0x151bb0(0x1c4)]=!![]);const _0x54266e={'framework':this[_0x151bb0(0x16a)],'uuid':_0x45ca20[_0x151bb0(0x1ed)]||_0x45ca20['hookAnalyticsId'],'name':_0x45ca20[_0x151bb0(0x20f)],'body':{'lang':_0x3e33c7[_0x151bb0(0x14a)],'code':_0x45ca20[_0x151bb0(0x226)]['toString']()},'type':_0x45ca20[_0x151bb0(0x1c3)],'scope':_0x45ca20[_0x151bb0(0x1e7)](),'scopes':this[_0x151bb0(0x16d)](_0x45ca20),'file_name':_0x18b49d,'vc_filepath':_0x2ee913?path[_0x151bb0(0x1a3)](_0x2ee913,_0x32bed2):null,'location':_0x18b49d,'result':_0xcc2450,'failure_reason':_0x51742e,'duration_in_ms':_0x45ca20['duration']||(_0x40d621[_0x151bb0(0x21b)]||_0x40d621[_0x151bb0(0x158)])?_0x3e33c7[_0x151bb0(0x1d0)](Date[_0x151bb0(0x18d)](),new Date(_0x45ca20[_0x151bb0(0x153)])['getTime']()):null,'started_at':new Date(_0x45ca20[_0x151bb0(0x153)])['toISOString'](),'finished_at':_0xe087b4,'failure':testOpsHelper[_0x151bb0(0x1a6)][_0x151bb0(0x1e1)](null,_0x193aa3),'failure_type':!_0x51742e?null:testOpsHelper[_0x151bb0(0x1ea)](_0x51742e),'retry_of':_0x45ca20[_0x151bb0(0x215)]||null,'tags':_0x45ca20[_0x151bb0(0x162)]||[],'customRerunParam':{'rerun_name':_0x45ca20['fullTitle']()}};_0x3e33c7[_0x151bb0(0x155)](appendTesthubParams,_0x54266e,_0x7f6390,_0x45ca20,FRAMEWORKS['CODECEPT']);if(_0x40d621[_0x151bb0(0x167)])[_0x54266e[_0x151bb0(0x1a0)],_0x54266e['name']]=[this[_0x151bb0(0x1c1)](_0x45ca20),_0x45ca20[_0x151bb0(0x1ca)][_0x151bb0(0x1e9)][_0x151bb0(0x20f)]],_0x40d621[_0x151bb0(0x21b)]?_0x3e33c7[_0x151bb0(0x233)](_0x54266e['result'],_0x3e33c7[_0x151bb0(0x18a)])&&(_0x54266e['result']=_0x3e33c7['Iomnb']):_0x54266e[_0x151bb0(0x226)]={};else _0x40d621['test']&&(this['mapTestHooks'](_0x45ca20),_0x40d621['skipped']&&this[_0x151bb0(0x223)](_0x45ca20),(_0x40d621[_0x151bb0(0x21b)]||_0x40d621[_0x151bb0(0x158)])&&(_0x54266e['hooks']=this['getHooksForTest'](_0x45ca20)));this[_0x151bb0(0x19b)]&&(_0x40d621[_0x151bb0(0x22c)]||_0x40d621[_0x151bb0(0x158)])&&(_0x54266e[_0x3e33c7['FRfYO']]=this['getCBTInfo'](this[_0x151bb0(0x19b)]));_0x40d621[_0x151bb0(0x1e9)]&&_0x40d621['finished']&&_0x45ca20[_0x151bb0(0x1bb)]&&(_0x54266e[_0x3e33c7[_0x151bb0(0x1cb)]]={'feature':{'name':_0x45ca20[_0x151bb0(0x209)]['feature']['name'],'path':_0x54266e[_0x151bb0(0x180)],'description':_0x45ca20[_0x151bb0(0x209)][_0x151bb0(0x1e2)]},'scenario':{'name':_0x45ca20['title']},'steps':_0x45ca20[_0x151bb0(0x1bb)]});const _0x2be202=_0x54266e[_0x3e33c7[_0x151bb0(0x214)]][0x0];_0x2be202&&(_0x54266e[_0x3e33c7['edzAr']]=_0x2be202[_0x3e33c7[_0x151bb0(0x1dc)]],_0x54266e[_0x3e33c7[_0x151bb0(0x1f2)]]=_0x2be202[_0x3e33c7[_0x151bb0(0x156)]]);if(_0x45ca20[_0x151bb0(0x1bb)])for(const _0x184a76 of _0x45ca20[_0x151bb0(0x1bb)]){!_0x184a76[_0x151bb0(0x1bf)]&&(_0x184a76['finished_at']=new Date()['toISOString'](),_0x3e33c7[_0x151bb0(0x1c8)](_0x184a76[_0x151bb0(0x222)],_0x3e33c7['mqClb'])&&(_0x2be202?(_0x184a76[_0x151bb0(0x222)]=_0x3e33c7['SjjcT'],_0x184a76[_0x151bb0(0x1a9)]=_0x2be202[_0x3e33c7[_0x151bb0(0x1dc)]][0x0]):_0x184a76[_0x151bb0(0x222)]=_0x3e33c7['Iomnb']));}const _0x4e95ee={};_0x4e95ee[_0x151bb0(0x161)]=_0x40d621[_0x151bb0(0x158)]?TEST_EVENTS['TEST_RUN_FINISHED']:_0x7f6390;const _0x4869bc=_0x4e95ee;return _0x40d621[_0x151bb0(0x167)]?_0x4869bc[_0x3e33c7['TRNzx']]=_0x54266e:_0x4869bc[_0x3e33c7[_0x151bb0(0x1d2)]]=_0x54266e,_0x4869bc;}catch(_0x4c69a0){logger[_0x151bb0(0x17b)](_0x151bb0(0x1b2)+_0x7f6390+_0x151bb0(0x1f8)+_0x4c69a0);}}async[a4_0x1565aa(0x235)](_0x438210,_0x275ee4){const _0x48a2ba=a4_0x1565aa;if(!this['enabled']||!_0x275ee4||!_0x438210)return![];try{return await SessionHandler['uploadEventData'](_0x275ee4);}catch(_0x5019c1){logger[_0x48a2ba(0x17b)]('Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20'+_0x438210+'\x20with\x20error\x20:\x20'+_0x5019c1);}}[a4_0x1565aa(0x22a)](_0xc97c9f){const _0x3d1b74=a4_0x1565aa,_0x171b47={};_0x171b47[_0x3d1b74(0x1ab)]=_0x3d1b74(0x220);const _0x332c06=_0x171b47;return{'id':_0xc97c9f[_0x3d1b74(0x22e)],'text':_0xc97c9f[_0x3d1b74(0x184)],'keyword':_0xc97c9f[_0x3d1b74(0x1af)],'started_at':_0xc97c9f[_0x3d1b74(0x153)][_0x3d1b74(0x22f)](),'result':_0x332c06[_0x3d1b74(0x1ab)]};}[a4_0x1565aa(0x197)](_0x176b1d){const _0x107361=a4_0x1565aa,_0x4465b5={'IQeQB':function(_0x3940e8){return _0x3940e8();}};!this[_0x107361(0x1fe)][_0x107361(0x1bb)]&&(this['currentTest'][_0x107361(0x1bb)]=[]),!_0x176b1d[_0x107361(0x22e)]&&(_0x176b1d[_0x107361(0x22e)]=_0x4465b5['IQeQB'](uuidv4),_0x176b1d['startedAt']=new Date(),this[_0x107361(0x1fe)][_0x107361(0x1bb)][_0x107361(0x191)](this[_0x107361(0x22a)](_0x176b1d)));}[a4_0x1565aa(0x210)](_0x8933b5){const _0x9c8c37=a4_0x1565aa,_0x4e42dd={'eXqPH':function(_0x2a58ea,_0xa79dd9){return _0x2a58ea(_0xa79dd9);},'fhqKX':'success','iOxLt':_0x9c8c37(0x220),'DmtKk':_0x9c8c37(0x186),'lhdGY':function(_0x244603,_0x2e0120){return _0x244603-_0x2e0120;}};let _0x523304=this[_0x9c8c37(0x1fe)][_0x9c8c37(0x1bb)][_0x9c8c37(0x21a)](_0x45c5ca=>_0x45c5ca['id']===_0x8933b5[_0x9c8c37(0x22e)]);_0x4e42dd[_0x9c8c37(0x236)](isUndefined,_0x523304)&&(_0x523304=this[_0x9c8c37(0x22a)](_0x8933b5)),_0x523304['result']=[_0x4e42dd[_0x9c8c37(0x221)],_0x4e42dd[_0x9c8c37(0x1f0)]][_0x9c8c37(0x14f)](_0x8933b5[_0x9c8c37(0x1b7)])?_0x4e42dd[_0x9c8c37(0x1ec)]:_0x8933b5[_0x9c8c37(0x1b7)],_0x523304['finished_at']=new Date()[_0x9c8c37(0x22f)](),_0x523304['duration']=_0x4e42dd[_0x9c8c37(0x21c)](Date[_0x9c8c37(0x18d)](),_0x8933b5[_0x9c8c37(0x153)][_0x9c8c37(0x179)]()),_0x523304[_0x9c8c37(0x1a9)]=_0x8933b5[_0x9c8c37(0x1e5)]?_0x8933b5['err'][_0x9c8c37(0x192)]:null;}}const a4_0x315b7a={};a4_0x315b7a[a4_0x1565aa(0x219)]=O11yHelper,a4_0x315b7a[a4_0x1565aa(0x1a2)]=STATE_PASSED,a4_0x315b7a[a4_0x1565aa(0x150)]=STATE_FAILED,a4_0x315b7a[a4_0x1565aa(0x1d8)]=TEST_EVENTS,module[a4_0x1565aa(0x17c)]=a4_0x315b7a;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a5_0x4a2abd=a5_0x434e;(function(_0x35316b,_0x2b41f7){const _0x209b21=a5_0x434e,_0x299f01=_0x35316b();while(!![]){try{const _0x1904eb=-parseInt(_0x209b21(0xfa))/0x1*(parseInt(_0x209b21(0xdf))/0x2)+-parseInt(_0x209b21(0xe5))/0x3+-parseInt(_0x209b21(0xf1))/0x4*(-parseInt(_0x209b21(0xe1))/0x5)+parseInt(_0x209b21(0xe2))/0x6+parseInt(_0x209b21(0xbc))/0x7+-parseInt(_0x209b21(0x10a))/0x8+-parseInt(_0x209b21(0xea))/0x9;if(_0x1904eb===_0x2b41f7)break;else _0x299f01['push'](_0x299f01['shift']());}catch(_0x5d4611){_0x299f01['push'](_0x299f01['shift']());}}}(a5_0x5e68,0x301f5));function a5_0x434e(_0x266597,_0x23cc88){const _0x5e6854=a5_0x5e68();return a5_0x434e=function(_0x434eef,_0x298e2e){_0x434eef=_0x434eef-0xaa;let _0x4dd597=_0x5e6854[_0x434eef];return _0x4dd597;},a5_0x434e(_0x266597,_0x23cc88);}function a5_0x5e68(){const _0x3c4dbc=['szFPQ','yellow','meXbN','stepsFailed','splice','cucumber-js','ERQAC','log','logLevel','Removing\x20tmp\x20directory\x20created\x20for\x20reports','steps','scenariosFailed','bold','BFmzP','true','getUserWorkerCount','green','JITnK','\x20scenarios','../../helpers/utilities','chalk','skipSessionName','push','red','1696198ZTordA','winstonLogger','dgcGm','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','../test-runner','turboScaleUrl','finalExecution','accessibilityOptions','finally','CUCUMBER','cyan','rmdirSync','ClOIW','prepareCapabilities','mergeOutputFiles','\x20ambiguous','useW3C','JnUOg','stringify','Tmpfs','aoHFB','GmXeL','bIJZe','exitCode','length','proxySettings','getHubUrl','../../helpers/logger','mzheE','util','setupTCGAuth','../../helpers/test-observability/utils','unlinkSync','\x20undefined','QBEKW','145258eDEJRe','acuee','3455CZHFAA','1615248avTauh','skipSessionStatus','getErrorMessageFromResults','189633SXoTTF','parseFormatters','HwchG','markSDKSetupComplete','testContextOptions','2911230QEhLVb','cwd','\x20failed','then','isUndefined','forEach','****\x20RESULTS\x20****','1576dIBRtW','cucumber','mLwoJ','dojbh','launchBuild','printBuildLink','errorMessage','isAAj','\x20steps','2hFdVcL','getPlatformName','mFevi','fpSHd','\x20skipped','env','debug','Generating\x20consolidated\x20report...','bnpAo','iHQpI','config','testObservability','stepsUnknown','format','../../helpers/BrowserStackSetup','removeDir','437824vgGgPV','getTCGConfigFilePaths','\x20passed','join','argv'];a5_0x5e68=function(){return _0x3c4dbc;};return a5_0x5e68();}const fs=require('fs'),path=require('path'),util=require(a5_0x4a2abd(0xd9)),logger=require(a5_0x4a2abd(0xd7))[a5_0x4a2abd(0xbd)],{default:BrowserStackSetup}=require(a5_0x4a2abd(0x108)),helper=require('../../helpers/helper'),utilities=require(a5_0x4a2abd(0xb7)),constants=require('../utils/constants'),{parallelCucumberRun}=require(a5_0x4a2abd(0xc0)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testOpsHelper=require(a5_0x4a2abd(0xdb)),chalk=require(a5_0x4a2abd(0xb8));function printCucumberStats(_0xde6eef){const _0x18b1cc=a5_0x4a2abd,_0x208435={};_0x208435[_0x18b1cc(0xfc)]=function(_0x1e8779,_0x1e5b92){return _0x1e8779>_0x1e5b92;},_0x208435[_0x18b1cc(0xde)]=function(_0x49cecf,_0x3186c2){return _0x49cecf-_0x3186c2;},_0x208435[_0x18b1cc(0xf3)]=function(_0x492178,_0x3da362){return _0x492178-_0x3da362;},_0x208435[_0x18b1cc(0xcf)]=function(_0x11378f,_0x434d50){return _0x11378f>_0x434d50;},_0x208435[_0x18b1cc(0x103)]=function(_0xfede0d,_0x3c6f37){return _0xfede0d>_0x3c6f37;},_0x208435[_0x18b1cc(0xb1)]=function(_0x415a7f,_0x33032c){return _0x415a7f>_0x33032c;},_0x208435[_0x18b1cc(0xc8)]=function(_0x198dd5,_0x4fb819){return _0x198dd5>_0x4fb819;},_0x208435[_0x18b1cc(0x102)]=function(_0x52c802,_0x4b1dcc){return _0x52c802>_0x4b1dcc;},_0x208435[_0x18b1cc(0xfd)]=function(_0x313849,_0x56f78b){return _0x313849+_0x56f78b;},_0x208435[_0x18b1cc(0xe0)]=function(_0x5bf6c2,_0xb98f9b){return _0x5bf6c2+_0xb98f9b;},_0x208435[_0x18b1cc(0xd0)]=function(_0x3ebe46,_0x539885){return _0x3ebe46===_0x539885;},_0x208435[_0x18b1cc(0xaa)]=function(_0x4e40ad,_0x9c3389){return _0x4e40ad===_0x9c3389;},_0x208435[_0x18b1cc(0xe7)]=_0x18b1cc(0xf0);const _0x1d2042=_0x208435;let _0x2b3fc1=0x0;if(_0x1d2042[_0x18b1cc(0xaa)](_0xde6eef[_0x18b1cc(0xd4)],0x0))return _0x2b3fc1;return console[_0x18b1cc(0xab)](chalk[_0x18b1cc(0xb0)]['bgWhite'](_0x1d2042[_0x18b1cc(0xe7)])),_0xde6eef[_0x18b1cc(0xef)](_0x26bd15=>{const _0x55a75d=_0x18b1cc,_0x11b321=_0x26bd15[0x0],_0x2b7d33=_0x26bd15[0x1];console[_0x55a75d(0xab)]('\x0a'+chalk[_0x55a75d(0xb0)][_0x55a75d(0x110)](''+helper[_0x55a75d(0xfb)](_0x11b321)));const _0x2151d4=_0x2b7d33['scenarios'],_0xd95e3d=_0x2b7d33[_0x55a75d(0xae)],_0x4474d2=_0x2b7d33[_0x55a75d(0xaf)],_0x68fefd=_0x2b7d33[_0x55a75d(0x112)],_0x485fca=_0x2b7d33['stepsPassed'],_0x279a0a=_0x2b7d33['stepsSkipped'],_0x2893eb=_0x2b7d33['stepsPending'],_0x30bdf4=_0x2b7d33['stepsUndefined'],_0x308461=_0x2b7d33[_0x55a75d(0x106)],_0x5717ec=_0x2b7d33['stepsAmbiguous'],_0x4e0e07=_0x2b7d33['processSuccess'];let _0x3f9b7d=_0x2151d4+_0x55a75d(0xb6);const _0x14e1c4=_0x1d2042[_0x55a75d(0xfc)](_0x1d2042[_0x55a75d(0xde)](_0x2151d4,_0x4474d2),0x0)?_0x1d2042['mLwoJ'](_0x2151d4,_0x4474d2):0x0;if(_0x1d2042['Tmpfs'](_0x4474d2,0x0)&&_0x1d2042[_0x55a75d(0x103)](_0x14e1c4,0x0))_0x3f9b7d+='\x20('+chalk[_0x55a75d(0xb0)][_0x55a75d(0xbb)](_0x4474d2+_0x55a75d(0xec))+',\x20'+chalk[_0x55a75d(0xb0)][_0x55a75d(0xb4)](_0x14e1c4+_0x55a75d(0x10c))+')';else(_0x1d2042['iHQpI'](_0x4474d2,0x0)||_0x1d2042[_0x55a75d(0xb1)](_0x14e1c4,0x0))&&(_0x3f9b7d+=_0x1d2042['iHQpI'](_0x4474d2,0x0)?'\x20('+chalk['bold']['red'](_0x4474d2+_0x55a75d(0xec))+')':'\x20('+chalk[_0x55a75d(0xb0)][_0x55a75d(0xb4)](_0x14e1c4+'\x20passed')+')');const _0x5f4813=_0xd95e3d+_0x55a75d(0xf9),_0x3818a8=[];_0x1d2042['mFevi'](_0x5717ec,0x0)&&_0x3818a8[_0x55a75d(0xba)](''+chalk[_0x55a75d(0xb0)][_0x55a75d(0xbb)](_0x5717ec+_0x55a75d(0xcb)));_0x1d2042[_0x55a75d(0x103)](_0x68fefd,0x0)&&_0x3818a8[_0x55a75d(0xba)](''+chalk[_0x55a75d(0xb0)]['red'](_0x68fefd+_0x55a75d(0xec)));_0x1d2042[_0x55a75d(0xc8)](_0x485fca,0x0)&&_0x3818a8['push'](''+chalk[_0x55a75d(0xb0)]['green'](_0x485fca+'\x20passed'));_0x1d2042[_0x55a75d(0x103)](_0x2893eb,0x0)&&_0x3818a8[_0x55a75d(0xba)](''+chalk[_0x55a75d(0xb0)][_0x55a75d(0x110)](_0x2893eb+'\x20pending'));_0x1d2042['bnpAo'](_0x279a0a,0x0)&&_0x3818a8[_0x55a75d(0xba)](''+chalk[_0x55a75d(0xb0)][_0x55a75d(0xc6)](_0x279a0a+_0x55a75d(0xfe)));_0x1d2042[_0x55a75d(0xb1)](_0x30bdf4,0x0)&&_0x3818a8[_0x55a75d(0xba)](''+chalk[_0x55a75d(0xb0)][_0x55a75d(0x110)](_0x30bdf4+_0x55a75d(0xdd)));_0x1d2042['BFmzP'](_0x308461,0x0)&&_0x3818a8[_0x55a75d(0xba)](''+chalk['bold'][_0x55a75d(0x110)](_0x308461+'\x20skipped'));const _0x203e1a=_0x1d2042[_0x55a75d(0xfd)](_0x1d2042[_0x55a75d(0xe0)](_0x1d2042[_0x55a75d(0xfd)](_0x5f4813,'('),_0x3818a8[_0x55a75d(0x10d)](',\x20')),')');console['log'](_0x1d2042[_0x55a75d(0xfd)](_0x1d2042[_0x55a75d(0xfd)](_0x1d2042[_0x55a75d(0xe0)](_0x1d2042['acuee']('\x0a',_0x3f9b7d),'\x0a'),_0x203e1a),'\x0a')),_0x1d2042[_0x55a75d(0xd0)](_0x4e0e07,![])&&(_0x2b3fc1=0x1);}),_0x2b3fc1;}async function run(_0x2c1b86,_0x365203){const _0x264e11=a5_0x4a2abd,_0x20c553={'meXbN':function(_0x2fd81e,_0x61dc1){return _0x2fd81e(_0x61dc1);},'szFPQ':function(_0x58efd2,_0x3b88c6){return _0x58efd2>_0x3b88c6;},'GmXeL':_0x264e11(0x101),'dojbh':_0x264e11(0xad),'Geuhj':_0x264e11(0xf2),'dgcGm':'error\x20removing\x20tcg\x20config\x20file','mzheE':_0x264e11(0x114),'JnUOg':'tmp','uqIiS':function(_0x2f4789,_0x17d5d2){return _0x2f4789-_0x17d5d2;},'FBCBb':function(_0x50f984,_0x25b7f5){return _0x50f984>=_0x25b7f5;},'isAAj':function(_0x435a26,_0x423fea){return _0x435a26!=_0x423fea;},'bIJZe':_0x264e11(0xb2),'JITnK':function(_0x1d2639,_0x24e453,_0x4aabb2,_0x38bd05,_0x2baee0,_0x1a34a1){return _0x1d2639(_0x24e453,_0x4aabb2,_0x38bd05,_0x2baee0,_0x1a34a1);}},_0x294cec=new BrowserStackSetup(_0x2c1b86,_0x20c553[_0x264e11(0xd8)]);await _0x294cec['initialize']();!helper['isBrowserstackInfra']()&&await _0x294cec[_0x264e11(0xda)]();await helper['handleApp'](_0x294cec[_0x264e11(0x104)]);const _0x52ac6a=helper[_0x264e11(0xcc)](_0x294cec['config']),_0x5e1b62=helper[_0x264e11(0xc9)](_0x294cec['config'],_0x52ac6a,constants['FRAMEWORKS'][_0x264e11(0xc5)]);if(!_0x294cec[_0x264e11(0x104)])return;const _0x7cc355=_0x294cec[_0x264e11(0x104)]['parallelsPerPlatform']||helper[_0x264e11(0xb3)](_0x2c1b86,_0x365203,_0x294cec[_0x264e11(0x104)],constants['FRAMEWORKS'][_0x264e11(0xc5)])||0x1,_0x46865b={'server':helper[_0x264e11(0xd6)](_0x294cec[_0x264e11(0x104)]),'proxySettings':_0x294cec['config'][_0x264e11(0xd5)],'maxWorkers':_0x7cc355,'browserStackLogLevel':_0x294cec[_0x264e11(0x104)][_0x264e11(0xac)],'skipSessionName':_0x294cec[_0x264e11(0x104)][_0x264e11(0xe9)][_0x264e11(0xb9)],'skipSessionStatus':_0x294cec[_0x264e11(0x104)]['testContextOptions'][_0x264e11(0xe3)],'turboScaleUrl':_0x294cec[_0x264e11(0x104)][_0x264e11(0xc1)]},_0x2c4682=process[_0x264e11(0x10e)],[_0x222781,_0x5bbae3]=helper[_0x264e11(0xe6)](_0x2c4682),_0x2a603e=path[_0x264e11(0x10d)](process[_0x264e11(0xeb)](),_0x20c553[_0x264e11(0xcd)]);if(_0x20c553[_0x264e11(0x10f)](_0x5bbae3[_0x264e11(0xd4)],0x0)){helper['createDir'](_0x2a603e);for(let _0x2f84fc=_0x20c553['uqIiS'](_0x222781['length'],0x1);_0x20c553['FBCBb'](_0x2f84fc,0x0);_0x2f84fc--){_0x2c4682[_0x264e11(0x113)](_0x222781[_0x2f84fc],0x2);}}!helper[_0x264e11(0xee)](_0x294cec['config'][_0x264e11(0xc3)])&&(process[_0x264e11(0xff)][_0x264e11(0xbf)]=JSON[_0x264e11(0xce)](_0x294cec[_0x264e11(0x104)][_0x264e11(0xc3)]));_0x20c553[_0x264e11(0xf8)](_0x294cec['config'][_0x264e11(0x105)],null)?process[_0x264e11(0xff)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x294cec[_0x264e11(0x104)][_0x264e11(0x105)]:process[_0x264e11(0xff)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x20c553[_0x264e11(0xd2)];const _0x2ef52c=await TestHubHandler[_0x264e11(0xf5)](constants['FRAMEWORKS']['CUCUMBER'],_0x294cec);helper[_0x264e11(0xe8)]();let _0x69342c;_0x20c553[_0x264e11(0xb5)](parallelCucumberRun,_0x5e1b62,_0x46865b,_0x294cec[_0x264e11(0x104)],_0x2c4682,_0x5bbae3)[_0x264e11(0xed)](async _0x35a6e1=>{const _0x3c9647=_0x264e11;_0x69342c=_0x35a6e1;const _0x28ef78=_0x20c553[_0x3c9647(0x111)](printCucumberStats,_0x35a6e1);process[_0x3c9647(0xd3)]=_0x28ef78,_0x20c553[_0x3c9647(0x10f)](_0x5bbae3['length'],0x0)&&(logger[_0x3c9647(0x100)](_0x20c553[_0x3c9647(0xd1)]),helper[_0x3c9647(0xca)](_0x2a603e,_0x5bbae3),logger[_0x3c9647(0x100)](_0x20c553[_0x3c9647(0xf4)]),helper[_0x3c9647(0x109)](_0x2a603e));})[_0x264e11(0xc4)](async()=>{const _0x59322b=_0x264e11;_0x294cec[_0x59322b(0xf7)]=helper[_0x59322b(0xe4)](_0x69342c,_0x20c553['Geuhj']),testOpsHelper[_0x59322b(0xf6)]();try{await TestHubHandler['stop']();}catch(_0x1b6f6e){logger[_0x59322b(0x100)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x59322b(0x107)](_0x1b6f6e));}try{const {browserstackFolderPath:_0x8ccb01,tcgConfigPath:_0x93a082}=helper[_0x59322b(0x10b)]();fs[_0x59322b(0xdc)](_0x93a082),fs[_0x59322b(0xc7)](_0x8ccb01);}catch(_0x14a1cf){logger[_0x59322b(0x100)](_0x20c553[_0x59322b(0xbe)],_0x14a1cf);}await utilities[_0x59322b(0xc2)](_0x294cec);});}module['exports']=run;
|
|
2
|
+
'use strict';const a5_0x24e388=a5_0x2c09;(function(_0x2cca72,_0xe05106){const _0x2e8100=a5_0x2c09,_0x2e7aa7=_0x2cca72();while(!![]){try{const _0x57ca01=-parseInt(_0x2e8100(0xc6))/0x1*(-parseInt(_0x2e8100(0x91))/0x2)+parseInt(_0x2e8100(0xd4))/0x3*(-parseInt(_0x2e8100(0xa8))/0x4)+parseInt(_0x2e8100(0x90))/0x5*(-parseInt(_0x2e8100(0xb3))/0x6)+parseInt(_0x2e8100(0x7c))/0x7+-parseInt(_0x2e8100(0x71))/0x8*(parseInt(_0x2e8100(0x80))/0x9)+parseInt(_0x2e8100(0xc0))/0xa*(-parseInt(_0x2e8100(0xb4))/0xb)+parseInt(_0x2e8100(0x97))/0xc*(parseInt(_0x2e8100(0xb0))/0xd);if(_0x57ca01===_0xe05106)break;else _0x2e7aa7['push'](_0x2e7aa7['shift']());}catch(_0xaf52cd){_0x2e7aa7['push'](_0x2e7aa7['shift']());}}}(a5_0x9a18,0x8a1d3));function a5_0x2c09(_0x282e33,_0x3cf889){const _0x9a1805=a5_0x9a18();return a5_0x2c09=function(_0x2c09d6,_0x5e920d){_0x2c09d6=_0x2c09d6-0x6e;let _0xbb5fde=_0x9a1805[_0x2c09d6];return _0xbb5fde;},a5_0x2c09(_0x282e33,_0x3cf889);}function a5_0x9a18(){const _0xc88041=['utmVw','\x20undefined','red','1289634XjrmQp','config','log','path','errorMessage','qstLl','getTCGConfigFilePaths','removeDir','HWYaT','turboScaleUrl','\x20pending','pYQOd','712HbWqZp','stepsUndefined','gQUQi','../test-runner','setupTCGAuth','util','hYJgz','VzxtH','stepsUnknown','FRAMEWORKS','prepareCapabilities','5052971SreMaC','getHubUrl','isBrowserstackInfra','initialize','23679BXXGmx','IVFFT','mnSUd','stepsPassed','green','push','BROWSERSTACK_TEST_OBSERVABILITY_YML','handleApp','getPlatformName','\x20passed','../../helpers/logger','processSuccess','getErrorMessageFromResults','\x20failed','getUserWorkerCount','format','22515usAcdJ','190544XWXGKx','scenarios','accessibilityOptions','true','length','\x20skipped','18624KznizS','wMrVB','skipSessionStatus','cucumber','useW3C','KgtaE','finalExecution','env','bold','debug','bgWhite','****\x20RESULTS\x20****','testContextOptions','unlinkSync','skipSessionName','drbPi','stepsSkipped','4jRLdAx','vxZmF','yDKiI','stepsPending','launchBuild','isUndefined','exports','Htyvu','14755xkQypE','ItRaJ','iQmRV','750KmaWKi','55CIFPmj','tmp','createDir','../../helpers/helper','yellow','Generating\x20consolidated\x20report...','stepsFailed','logLevel','yQwrE','parseFormatters','testObservability','miACo','1762580wOEzFO','../../helpers/BrowserStackSetup','parallelsPerPlatform','MzxmJ','winstonLogger','then','2nsEfPg','../../helpers/testhub/testhubHandler','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','lYmNA','QKjjS','join','vuHSZ','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','CUCUMBER','MJyva','markSDKSetupComplete'];a5_0x9a18=function(){return _0xc88041;};return a5_0x9a18();}const fs=require('fs'),path=require(a5_0x24e388(0xd7)),util=require(a5_0x24e388(0x76)),logger=require(a5_0x24e388(0x8a))[a5_0x24e388(0xc4)],{default:BrowserStackSetup}=require(a5_0x24e388(0xc1)),helper=require(a5_0x24e388(0xb7)),utilities=require('../../helpers/utilities'),constants=require('../utils/constants'),{parallelCucumberRun}=require(a5_0x24e388(0x74)),TestHubHandler=require(a5_0x24e388(0xc7)),testOpsHelper=require('../../helpers/test-observability/utils'),chalk=require('chalk');function printCucumberStats(_0x41aa85){const _0x4cbad3=a5_0x24e388,_0x4bad8d={};_0x4bad8d[_0x4cbad3(0xc3)]=function(_0x5ac030,_0x181e1a){return _0x5ac030>_0x181e1a;},_0x4bad8d[_0x4cbad3(0xb1)]=function(_0x1715b6,_0x40c66c){return _0x1715b6-_0x40c66c;},_0x4bad8d[_0x4cbad3(0xbf)]=function(_0x162e46,_0x33db91){return _0x162e46-_0x33db91;},_0x4bad8d[_0x4cbad3(0x82)]=function(_0x16e6ac,_0x23e16d){return _0x16e6ac>_0x23e16d;},_0x4bad8d[_0x4cbad3(0xa9)]=function(_0x57e891,_0x132caa){return _0x57e891>_0x132caa;},_0x4bad8d[_0x4cbad3(0xaa)]=function(_0x1033b7,_0x1bb00a){return _0x1033b7>_0x1bb00a;},_0x4bad8d[_0x4cbad3(0x73)]=function(_0x1d737e,_0x144025){return _0x1d737e>_0x144025;},_0x4bad8d['wMrVB']=function(_0x1c60c5,_0xdf40aa){return _0x1c60c5>_0xdf40aa;},_0x4bad8d['MJyva']=function(_0x190b62,_0x463970){return _0x190b62+_0x463970;},_0x4bad8d['lYmNA']=function(_0x3dac37,_0x518f3f){return _0x3dac37+_0x518f3f;},_0x4bad8d[_0x4cbad3(0x70)]=function(_0xc96a4e,_0x221a35){return _0xc96a4e+_0x221a35;},_0x4bad8d[_0x4cbad3(0x9c)]=function(_0x2a26b9,_0x43dd7e){return _0x2a26b9+_0x43dd7e;},_0x4bad8d['GVugH']=function(_0x1a6f63,_0x2b47d2){return _0x1a6f63+_0x2b47d2;},_0x4bad8d[_0x4cbad3(0x77)]=function(_0x43a56d,_0x4acd07){return _0x43a56d===_0x4acd07;},_0x4bad8d[_0x4cbad3(0xb2)]=_0x4cbad3(0xa2);const _0x4b01b9=_0x4bad8d;let _0x32ebe0=0x0;if(_0x4b01b9['hYJgz'](_0x41aa85[_0x4cbad3(0x95)],0x0))return _0x32ebe0;return console[_0x4cbad3(0xd6)](chalk[_0x4cbad3(0x9f)][_0x4cbad3(0xa1)](_0x4b01b9[_0x4cbad3(0xb2)])),_0x41aa85['forEach'](_0x551717=>{const _0x31e64f=_0x4cbad3,_0x59368=_0x551717[0x0],_0x39dddf=_0x551717[0x1];console[_0x31e64f(0xd6)]('\x0a'+chalk[_0x31e64f(0x9f)]['yellow'](''+helper[_0x31e64f(0x88)](_0x59368)));const _0x366013=_0x39dddf[_0x31e64f(0x92)],_0x2a9a26=_0x39dddf['steps'],_0x17a038=_0x39dddf['scenariosFailed'],_0x3074d6=_0x39dddf[_0x31e64f(0xba)],_0x9c2991=_0x39dddf[_0x31e64f(0x83)],_0xd1d091=_0x39dddf[_0x31e64f(0xa7)],_0x29ee45=_0x39dddf[_0x31e64f(0xab)],_0xc9d1e2=_0x39dddf[_0x31e64f(0x72)],_0x53f4a8=_0x39dddf[_0x31e64f(0x79)],_0x306488=_0x39dddf['stepsAmbiguous'],_0x3adcd3=_0x39dddf[_0x31e64f(0x8b)];let _0x3c3ae3=_0x366013+'\x20scenarios';const _0x1c5c1e=_0x4b01b9[_0x31e64f(0xc3)](_0x4b01b9['ItRaJ'](_0x366013,_0x17a038),0x0)?_0x4b01b9[_0x31e64f(0xbf)](_0x366013,_0x17a038):0x0;if(_0x4b01b9[_0x31e64f(0xc3)](_0x17a038,0x0)&&_0x4b01b9[_0x31e64f(0x82)](_0x1c5c1e,0x0))_0x3c3ae3+='\x20('+chalk[_0x31e64f(0x9f)][_0x31e64f(0xd3)](_0x17a038+'\x20failed')+',\x20'+chalk[_0x31e64f(0x9f)]['green'](_0x1c5c1e+_0x31e64f(0x89))+')';else(_0x4b01b9['vxZmF'](_0x17a038,0x0)||_0x4b01b9[_0x31e64f(0xaa)](_0x1c5c1e,0x0))&&(_0x3c3ae3+=_0x4b01b9[_0x31e64f(0x82)](_0x17a038,0x0)?'\x20('+chalk['bold']['red'](_0x17a038+_0x31e64f(0x8d))+')':'\x20('+chalk['bold']['green'](_0x1c5c1e+_0x31e64f(0x89))+')');const _0x28c2e3=_0x2a9a26+'\x20steps',_0x1ab7b3=[];_0x4b01b9[_0x31e64f(0x73)](_0x306488,0x0)&&_0x1ab7b3['push'](''+chalk['bold'][_0x31e64f(0xd3)](_0x306488+'\x20ambiguous'));_0x4b01b9[_0x31e64f(0x73)](_0x3074d6,0x0)&&_0x1ab7b3['push'](''+chalk[_0x31e64f(0x9f)][_0x31e64f(0xd3)](_0x3074d6+'\x20failed'));_0x4b01b9[_0x31e64f(0xc3)](_0x9c2991,0x0)&&_0x1ab7b3['push'](''+chalk[_0x31e64f(0x9f)][_0x31e64f(0x84)](_0x9c2991+'\x20passed'));_0x4b01b9[_0x31e64f(0xc3)](_0x29ee45,0x0)&&_0x1ab7b3[_0x31e64f(0x85)](''+chalk[_0x31e64f(0x9f)][_0x31e64f(0xb8)](_0x29ee45+_0x31e64f(0x6f)));_0x4b01b9[_0x31e64f(0x73)](_0xd1d091,0x0)&&_0x1ab7b3[_0x31e64f(0x85)](''+chalk[_0x31e64f(0x9f)]['cyan'](_0xd1d091+_0x31e64f(0x96)));_0x4b01b9[_0x31e64f(0xc3)](_0xc9d1e2,0x0)&&_0x1ab7b3[_0x31e64f(0x85)](''+chalk[_0x31e64f(0x9f)][_0x31e64f(0xb8)](_0xc9d1e2+_0x31e64f(0xd2)));_0x4b01b9[_0x31e64f(0x98)](_0x53f4a8,0x0)&&_0x1ab7b3[_0x31e64f(0x85)](''+chalk['bold']['yellow'](_0x53f4a8+_0x31e64f(0x96)));const _0x598043=_0x4b01b9['MJyva'](_0x4b01b9[_0x31e64f(0xcf)](_0x4b01b9[_0x31e64f(0xc9)](_0x28c2e3,'('),_0x1ab7b3[_0x31e64f(0xcb)](',\x20')),')');console[_0x31e64f(0xd6)](_0x4b01b9[_0x31e64f(0xcf)](_0x4b01b9[_0x31e64f(0x70)](_0x4b01b9['KgtaE'](_0x4b01b9['GVugH']('\x0a',_0x3c3ae3),'\x0a'),_0x598043),'\x0a')),_0x4b01b9[_0x31e64f(0x77)](_0x3adcd3,![])&&(_0x32ebe0=0x1);}),_0x32ebe0;}async function run(_0x5cd018,_0x45b765){const _0x102fa0=a5_0x24e388,_0x5867c5={'IVFFT':function(_0x280228,_0x4e3c54){return _0x280228(_0x4e3c54);},'vuHSZ':function(_0x4d1377,_0x5a7235){return _0x4d1377>_0x5a7235;},'VjkVc':_0x102fa0(0xb9),'qstLl':'Removing\x20tmp\x20directory\x20created\x20for\x20reports','qetzl':_0x102fa0(0x9a),'WKbGb':'error\x20removing\x20tcg\x20config\x20file','HWYaT':'cucumber-js','OSKXQ':_0x102fa0(0xb5),'Htyvu':function(_0x1231b1,_0x101cf3){return _0x1231b1>_0x101cf3;},'drbPi':function(_0x5c01a0,_0x36b3f4){return _0x5c01a0-_0x36b3f4;},'QKjjS':function(_0x3b2fa4,_0x9a4ba3){return _0x3b2fa4>=_0x9a4ba3;},'yQwrE':function(_0x571772,_0x26230d){return _0x571772!=_0x26230d;},'utmVw':_0x102fa0(0x94),'VzxtH':function(_0x2cdf03,_0x2bc1cd,_0x300fe0,_0x5ce698,_0x891f63,_0x1c69d7){return _0x2cdf03(_0x2bc1cd,_0x300fe0,_0x5ce698,_0x891f63,_0x1c69d7);}},_0x28e4c4=new BrowserStackSetup(_0x5cd018,_0x5867c5[_0x102fa0(0xdc)]);await _0x28e4c4[_0x102fa0(0x7f)]();!helper[_0x102fa0(0x7e)]()&&await _0x28e4c4[_0x102fa0(0x75)]();await helper[_0x102fa0(0x87)](_0x28e4c4['config']);const _0x2569cd=helper[_0x102fa0(0x9b)](_0x28e4c4[_0x102fa0(0xd5)]),_0x3a2d9c=helper[_0x102fa0(0x7b)](_0x28e4c4[_0x102fa0(0xd5)],_0x2569cd,constants[_0x102fa0(0x7a)][_0x102fa0(0xce)]);if(!_0x28e4c4['config'])return;const _0x1360eb=_0x28e4c4[_0x102fa0(0xd5)][_0x102fa0(0xc2)]||helper[_0x102fa0(0x8e)](_0x5cd018,_0x45b765,_0x28e4c4['config'],constants[_0x102fa0(0x7a)][_0x102fa0(0xce)])||0x1,_0x2a5459={'server':helper[_0x102fa0(0x7d)](_0x28e4c4[_0x102fa0(0xd5)]),'proxySettings':_0x28e4c4['config']['proxySettings'],'maxWorkers':_0x1360eb,'browserStackLogLevel':_0x28e4c4[_0x102fa0(0xd5)][_0x102fa0(0xbb)],'skipSessionName':_0x28e4c4[_0x102fa0(0xd5)][_0x102fa0(0xa3)][_0x102fa0(0xa5)],'skipSessionStatus':_0x28e4c4[_0x102fa0(0xd5)][_0x102fa0(0xa3)][_0x102fa0(0x99)],'turboScaleUrl':_0x28e4c4['config'][_0x102fa0(0x6e)]},_0x5b276d=process['argv'],[_0x3c1c47,_0x49fe1a]=helper[_0x102fa0(0xbd)](_0x5b276d),_0x3628eb=path['join'](process['cwd'](),_0x5867c5['OSKXQ']);if(_0x5867c5[_0x102fa0(0xaf)](_0x49fe1a[_0x102fa0(0x95)],0x0)){helper[_0x102fa0(0xb6)](_0x3628eb);for(let _0x543f92=_0x5867c5[_0x102fa0(0xa6)](_0x3c1c47[_0x102fa0(0x95)],0x1);_0x5867c5[_0x102fa0(0xca)](_0x543f92,0x0);_0x543f92--){_0x5b276d['splice'](_0x3c1c47[_0x543f92],0x2);}}!helper[_0x102fa0(0xad)](_0x28e4c4[_0x102fa0(0xd5)][_0x102fa0(0x93)])&&(process['env'][_0x102fa0(0xcd)]=JSON['stringify'](_0x28e4c4[_0x102fa0(0xd5)]['accessibilityOptions']));_0x5867c5[_0x102fa0(0xbc)](_0x28e4c4[_0x102fa0(0xd5)][_0x102fa0(0xbe)],null)?process['env'][_0x102fa0(0x86)]=_0x28e4c4[_0x102fa0(0xd5)]['testObservability']:process[_0x102fa0(0x9e)][_0x102fa0(0x86)]=_0x5867c5[_0x102fa0(0xd1)];const _0x3b9660=await TestHubHandler[_0x102fa0(0xac)](constants['FRAMEWORKS'][_0x102fa0(0xce)],_0x28e4c4);helper[_0x102fa0(0xd0)]();let _0x31c581;_0x5867c5[_0x102fa0(0x78)](parallelCucumberRun,_0x3a2d9c,_0x2a5459,_0x28e4c4[_0x102fa0(0xd5)],_0x5b276d,_0x49fe1a)[_0x102fa0(0xc5)](async _0x4a38b1=>{const _0x3e2954=_0x102fa0;_0x31c581=_0x4a38b1;const _0x3e6d20=_0x5867c5[_0x3e2954(0x81)](printCucumberStats,_0x4a38b1);process['exitCode']=_0x3e6d20,_0x5867c5[_0x3e2954(0xcc)](_0x49fe1a[_0x3e2954(0x95)],0x0)&&(logger['debug'](_0x5867c5['VjkVc']),helper['mergeOutputFiles'](_0x3628eb,_0x49fe1a),logger[_0x3e2954(0xa0)](_0x5867c5[_0x3e2954(0xd9)]),helper[_0x3e2954(0xdb)](_0x3628eb));})['finally'](async()=>{const _0x7f1ef6=_0x102fa0;_0x28e4c4[_0x7f1ef6(0xd8)]=helper[_0x7f1ef6(0x8c)](_0x31c581,_0x5867c5['qetzl']),testOpsHelper['printBuildLink']();try{await TestHubHandler['stop']();}catch(_0x5111b4){logger['debug'](_0x7f1ef6(0xc8)+util[_0x7f1ef6(0x8f)](_0x5111b4));}try{const {browserstackFolderPath:_0x1563b4,tcgConfigPath:_0x24b239}=helper[_0x7f1ef6(0xda)]();fs[_0x7f1ef6(0xa4)](_0x24b239),fs['rmdirSync'](_0x1563b4);}catch(_0x5025a7){logger[_0x7f1ef6(0xa0)](_0x5867c5['WKbGb'],_0x5025a7);}await utilities[_0x7f1ef6(0x9d)](_0x28e4c4);});}module[a5_0x24e388(0xae)]=run;
|