browserstack-node-sdk 1.34.0 → 1.34.2
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 +2 -2
- package/src/ai-sdk-node/bundle.js +1 -0
- package/src/ai-sdk-node/extensions/chrome_extension.crx +0 -0
- 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 -0
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -0
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance-tester.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -0
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a0_0x1f49bf=a0_0x2b5e;(function(_0x40f59e,_0x2db1db){const _0x3a20c3=a0_0x2b5e,_0x176341=_0x40f59e();while(!![]){try{const _0x216add=-parseInt(_0x3a20c3(0x12b))/0x1*(parseInt(_0x3a20c3(0x1af))/0x2)+-parseInt(_0x3a20c3(0x111))/0x3+parseInt(_0x3a20c3(0x18e))/0x4+parseInt(_0x3a20c3(0x13b))/0x5*(-parseInt(_0x3a20c3(0x16e))/0x6)+-parseInt(_0x3a20c3(0x18c))/0x7*(-parseInt(_0x3a20c3(0x1b3))/0x8)+-parseInt(_0x3a20c3(0x140))/0x9+-parseInt(_0x3a20c3(0x191))/0xa*(-parseInt(_0x3a20c3(0x1ac))/0xb);if(_0x216add===_0x2db1db)break;else _0x176341['push'](_0x176341['shift']());}catch(_0x1c9a47){_0x176341['push'](_0x176341['shift']());}}}(a0_0x13f0,0x19ea6));const fs=require('fs'),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require('../../helpers/helper'),logger=require(a0_0x1f49bf(0x1a7))[a0_0x1f49bf(0x137)],testOpsHelper=require('../../helpers/test-observability/utils'),requestSpy=require('../../helpers/request-spy'),PlaywrightSessionDetails=require(a0_0x1f49bf(0x17a)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a0_0x1f49bf(0x1b8)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),AccessibilityHelper=require(a0_0x1f49bf(0x11b)),scripts=require(a0_0x1f49bf(0x130)),PerformanceTester=require('../../helpers/performance-tester'),{processWebDriverConfig,shouldPatchExecuteScript}=require('./helper.js'),testHubConstants=require(a0_0x1f49bf(0x1a3)),CodeceptJS=requireModule('codeceptjs/lib/index.js'),CodeceptUtils=requireModule(a0_0x1f49bf(0x19b)),CodeceptWebDriver=requireModule(a0_0x1f49bf(0x1a4)),CodeceptRecorder=requireModule(a0_0x1f49bf(0x14f)),CodeceptPlaywright=requireModule(a0_0x1f49bf(0x15d)),playwrightMarkSessionStatus=(_0x1139bb,_0x1834aa,_0x67cbee)=>{const _0xa9f6b0=a0_0x1f49bf,_0x2d88b4={'kdCAa':_0xa9f6b0(0x19c),'lgiKM':function(_0x10c4ca,_0x5346f5){return _0x10c4ca(_0x5346f5);}},_0x2ccb81={};_0x2ccb81[_0xa9f6b0(0x195)]=_0x1834aa;const _0x5dc984={};_0x5dc984[_0xa9f6b0(0x156)]=_0x2d88b4['kdCAa'],_0x5dc984[_0xa9f6b0(0x136)]=_0x2ccb81;const _0x4fdb43=_0x5dc984;return!_0x2d88b4[_0xa9f6b0(0x147)](isUndefined,_0x67cbee)&&(_0x4fdb43[_0xa9f6b0(0x136)][_0xa9f6b0(0x146)]=JSON['stringify'](_0x67cbee)),_0x1139bb[_0xa9f6b0(0x12e)](()=>{},'browserstack_executor:\x20'+JSON[_0xa9f6b0(0x18f)](_0x4fdb43));},o11ySync=async _0x4a5ac5=>{const _0xc06a50=a0_0x1f49bf,_0x44d1a6={};_0x44d1a6[_0xc06a50(0x135)]=function(_0x8d464,_0x1556c6){return _0x8d464===_0x1556c6;},_0x44d1a6[_0xc06a50(0x192)]=_0xc06a50(0x183);const _0x1150d5=_0x44d1a6;_0x1150d5['sCPhn'](_0x4a5ac5['constructor']['name'],_0x1150d5['kTloD'])?await _0x4a5ac5[_0xc06a50(0x12e)](_0x4b253b=>{},testOpsHelper[_0xc06a50(0x132)]()):await _0x4a5ac5[_0xc06a50(0x12e)](testOpsHelper[_0xc06a50(0x132)]());},markSessionName=async(_0x1bcae5,_0x206498)=>{const _0x2db26b=a0_0x1f49bf,_0x23d5fd={};_0x23d5fd[_0x2db26b(0x13a)]='setSessionName',_0x23d5fd[_0x2db26b(0x125)]=function(_0x4a0a9e,_0x1dd4a7){return _0x4a0a9e===_0x1dd4a7;},_0x23d5fd[_0x2db26b(0x12c)]=_0x2db26b(0x183);const _0x48860d=_0x23d5fd,_0x28eff7={};_0x28eff7[_0x2db26b(0x18a)]=_0x206498;const _0x1f77d9={};_0x1f77d9[_0x2db26b(0x156)]=_0x48860d[_0x2db26b(0x13a)],_0x1f77d9[_0x2db26b(0x136)]=_0x28eff7;const _0x8f886e=_0x1f77d9;_0x48860d[_0x2db26b(0x125)](_0x1bcae5[_0x2db26b(0x17d)][_0x2db26b(0x18a)],_0x48860d['qaTft'])?await _0x1bcae5[_0x2db26b(0x12e)](()=>{},_0x2db26b(0x14d)+JSON[_0x2db26b(0x18f)](_0x8f886e)):await _0x1bcae5[_0x2db26b(0x12e)]('browserstack_executor:\x20'+JSON[_0x2db26b(0x18f)](_0x8f886e));},patchSaveScreenshot=_0x2e6671=>{const _0x3d6cbe=a0_0x1f49bf,_0x894bb4={'Lzqeq':_0x3d6cbe(0x181),'IsIBo':'TEST_SCREENSHOT','KbMlO':function(_0x3838c6){return _0x3838c6();},'Fafhi':function(_0x265d33,_0x46e2d8){return _0x265d33(_0x46e2d8);}};_0x894bb4[_0x3d6cbe(0x120)](isTrue,process[_0x3d6cbe(0x187)][_0x3d6cbe(0x173)])&&!_0x2e6671[_0x3d6cbe(0x174)]&&(_0x2e6671[_0x3d6cbe(0x174)]=!![],_0x2e6671[_0x3d6cbe(0x194)]=_0x2e6671['saveScreenshot'],_0x2e6671[_0x3d6cbe(0x161)]=(_0x226498,_0x294254=![])=>{const _0x57a3f2=_0x3d6cbe,_0x50efb={'uMTdy':_0x894bb4[_0x57a3f2(0x142)],'LMHgr':_0x894bb4[_0x57a3f2(0x19a)],'eOqLO':function(_0x2bd46b){const _0x1aa6a4=_0x57a3f2;return _0x894bb4[_0x1aa6a4(0x145)](_0x2bd46b);}};return new Promise(function(_0x20aab5,_0x5d8328){const _0x5a931f=_0x57a3f2;_0x2e6671[_0x5a931f(0x194)](_0x226498,_0x294254)[_0x5a931f(0x1ae)](()=>{const _0xa85da2=_0x5a931f,_0x31b36c=CodeceptUtils[_0xa85da2(0x11d)](_0x226498),_0x30f427=fs[_0xa85da2(0x119)](_0x31b36c);process['emit'](_0xa85da2(0x13c)+process[_0xa85da2(0x15c)],{'timestamp':new Date()[_0xa85da2(0x151)](),'message':_0x30f427[_0xa85da2(0x11c)](_0x50efb['uMTdy']),'kind':_0x50efb[_0xa85da2(0x1a0)]}),_0x50efb[_0xa85da2(0x15a)](_0x20aab5);})[_0x5a931f(0x15b)](()=>null);});});},patchWebDriverBefore=_0xac7971=>{const _0x43423d=a0_0x1f49bf,_0x3331fa={'aRfgG':function(_0x427c5d){return _0x427c5d();},'jSgKZ':function(_0x291fb1,_0x2ced16){return _0x291fb1(_0x2ced16);},'cEXYY':function(_0x1bb255,_0xa74ca4){return _0x1bb255===_0xa74ca4;},'pINxa':_0x43423d(0x118)},_0x5bcf40=async function(_0x5d65be,_0xd15d1b){const _0x1b7430=_0x43423d;return _0x3331fa[_0x1b7430(0x14e)](isAccessibilityAutomationSession)&&!global[_0x1b7430(0x114)]&&global[_0x1b7430(0x13e)]&&scripts[_0x1b7430(0x1b1)](_0x5d65be[_0x1b7430(0x18a)])&&_0x3331fa[_0x1b7430(0x1aa)](shouldPatchExecuteScript,arguments[0x2])&&(global['bstackAllyScanning']=!![],logger[_0x1b7430(0x186)](_0x1b7430(0x154)+_0x5d65be[_0x1b7430(0x17b)]+'\x20'+_0x5d65be[_0x1b7430(0x18a)]),await AccessibilityHelper[_0x1b7430(0x1a9)](_0xac7971,scripts[_0x1b7430(0x1a2)])),global[_0x1b7430(0x114)]=![],_0xd15d1b[_0x1b7430(0x112)](this,Array['prototype'][_0x1b7430(0x152)][_0x1b7430(0x188)](arguments,0x2));},_0x15bdd0=CodeceptWebDriver[_0x43423d(0x199)][_0x43423d(0x177)];CodeceptWebDriver[_0x43423d(0x199)][_0x43423d(0x177)]=async function(){const _0x1132c0=_0x43423d;await _0x15bdd0[_0x1132c0(0x112)](this,arguments),scripts[_0x1132c0(0x10e)][_0x1132c0(0x1b4)](_0x339690=>_0x339690[_0x1132c0(0x18a)]&&_0x339690['class'])[_0x1132c0(0x168)](_0x43df2e=>{const _0x4512a9=_0x1132c0;this['browser'][_0x4512a9(0x155)](_0x43df2e[_0x4512a9(0x18a)],_0x5bcf40[_0x4512a9(0x11e)](this,_0x43df2e),_0x3331fa['cEXYY'](_0x43df2e[_0x4512a9(0x17b)],_0x3331fa['pINxa']));}),_0x3331fa[_0x1132c0(0x1aa)](processWebDriverConfig,_0xac7971);};},patchPlaywrightBefore=()=>{const _0x360970=a0_0x1f49bf;PlaywrightSessionDetails[_0x360970(0x10f)]();const _0x2cb8a0=CodeceptPlaywright[_0x360970(0x199)][_0x360970(0x177)];CodeceptPlaywright[_0x360970(0x199)][_0x360970(0x177)]=async function(){const _0x57b9ae=_0x360970;this[_0x57b9ae(0x1a1)]=await this[_0x57b9ae(0x139)][_0x57b9ae(0x164)]()[0x0],await _0x2cb8a0[_0x57b9ae(0x112)](this,arguments);};},getCodeceptDriver=()=>{const _0x5c5a5a=a0_0x1f49bf,_0x187442={};_0x187442[_0x5c5a5a(0x15f)]=_0x5c5a5a(0x1b6),_0x187442['nPGrV']=_0x5c5a5a(0x183),_0x187442['XzlTS']='Puppeteer',_0x187442[_0x5c5a5a(0x165)]=_0x5c5a5a(0x149);const _0x1d2ae9=_0x187442,_0x2fcaa0=[_0x1d2ae9['ltrgd'],_0x1d2ae9[_0x5c5a5a(0x1b7)],_0x1d2ae9[_0x5c5a5a(0x16c)],_0x1d2ae9[_0x5c5a5a(0x165)]],_0x18be66=_0x2fcaa0[_0x5c5a5a(0x13f)](_0x6fbb1e=>!!CodeceptJS[_0x5c5a5a(0x17e)][_0x5c5a5a(0x12d)](_0x6fbb1e));if(!_0x18be66)return null;return CodeceptJS[_0x5c5a5a(0x17e)][_0x5c5a5a(0x12d)](_0x18be66);};module[a0_0x1f49bf(0x1a5)]=function(_0x5f00e5){const _0x197e71=a0_0x1f49bf,_0x382437={'NaILE':_0x197e71(0x1b5),'GJGyV':_0x197e71(0x110),'PUDZm':function(_0x355dbd){return _0x355dbd();},'rrAmv':function(_0x593538){return _0x593538();},'aLhEG':function(_0x285229,_0x36e27e){return _0x285229(_0x36e27e);},'NVoCO':function(_0x2acfbe,_0x1a29e7,_0x3dedb5){return _0x2acfbe(_0x1a29e7,_0x3dedb5);},'GLfxL':function(_0x5acf3b){return _0x5acf3b();},'uWzWa':function(_0x1b23c3,_0xdb14cc,_0x2a72c0){return _0x1b23c3(_0xdb14cc,_0x2a72c0);},'CPHXV':function(_0x3ab41d,_0x268191,_0x4749f7,_0x47b7bb){return _0x3ab41d(_0x268191,_0x4749f7,_0x47b7bb);},'ldzez':function(_0x3366b2,_0x312f86){return _0x3366b2===_0x312f86;},'PEgCT':_0x197e71(0x18d),'JrGzS':function(_0x17e4e0){return _0x17e4e0();},'PYhkh':function(_0x2f0a35,_0x122c3a,_0x213ee2){return _0x2f0a35(_0x122c3a,_0x213ee2);},'KoJbJ':function(_0x44e7c5){return _0x44e7c5();},'qeklz':_0x197e71(0x133),'AxNeF':_0x197e71(0x123),'pTzUJ':_0x197e71(0x163),'KBtoE':function(_0x24c77f){return _0x24c77f();},'SLxPp':_0x197e71(0x183),'bwesX':function(_0x201dea){return _0x201dea();},'ztiYE':function(_0xced33f,_0x396576){return _0xced33f(_0x396576);}};_0x5f00e5[_0x197e71(0x134)]&&(global[_0x197e71(0x126)]=_0x5f00e5[_0x197e71(0x134)]);PerformanceTester[_0x197e71(0x14c)]();const _0x28a69d=_0x382437[_0x197e71(0x198)](getCodeceptDriver),_0x5d5114=new O11yHelper(_0x28a69d,_0x5f00e5),_0xe10578=!!CodeceptJS[_0x197e71(0x17e)][_0x197e71(0x12d)](_0x382437[_0x197e71(0x150)]);global[_0x197e71(0x178)]=_0x28a69d,_0x28a69d&&(_0xe10578?_0x382437[_0x197e71(0x17f)](patchPlaywrightBefore):_0x382437[_0x197e71(0x166)](patchWebDriverBefore,_0x28a69d),_0x28a69d[_0x197e71(0x180)]=async()=>{const _0x31064a=_0x197e71;if(global[_0x31064a(0x13e)])await AccessibilityHelper[_0x31064a(0x1a9)](_0x28a69d,scripts[_0x31064a(0x1a2)]),await AccessibilityHelper[_0x31064a(0x1a9)](_0x28a69d,scripts[_0x31064a(0x184)]);else return logger[_0x31064a(0x19e)](_0x382437[_0x31064a(0x16a)]),{};},_0x28a69d[_0x197e71(0x144)]=async()=>{const _0x301c43=_0x197e71;if(global['accessibilityPlatform'])await AccessibilityHelper['browserStackExecuteDriver'](_0x28a69d,scripts[_0x301c43(0x1a2)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x28a69d,scripts[_0x301c43(0x169)]);else return logger[_0x301c43(0x19e)](_0x382437[_0x301c43(0x19d)]),{};},_0x382437[_0x197e71(0x176)](patchSaveScreenshot,_0x28a69d)),CodeceptJS[_0x197e71(0x1a8)][_0x197e71(0x128)]['on'](CodeceptJS[_0x197e71(0x1a8)][_0x197e71(0x182)]['before'],()=>{const _0x416533=_0x197e71;try{_0x5d5114[_0x416533(0x131)](),testOpsHelper[_0x416533(0x14b)]();}catch(_0x3cdb4f){PerformanceTester[_0x416533(0x15e)](_0x3cdb4f);}}),CodeceptJS[_0x197e71(0x1a8)][_0x197e71(0x128)]['on'](CodeceptJS['event'][_0x197e71(0x182)][_0x197e71(0x158)],async()=>{const _0x4dcb4a=_0x197e71;try{requestSpy[_0x4dcb4a(0x1b2)](),await _0x5d5114['stop']();}catch(_0x19b1e3){PerformanceTester['captureError'](_0x19b1e3);}finally{PerformanceTester[_0x4dcb4a(0x138)]();}}),CodeceptJS[_0x197e71(0x1a8)]['dispatcher']['on'](CodeceptJS[_0x197e71(0x1a8)][_0x197e71(0x179)][_0x197e71(0x193)],_0x5bfcda=>{const _0x19cb78=_0x197e71;try{const _0x134ef6=_0x5bfcda[_0x19cb78(0x157)][_0x19cb78(0x1ad)],_0x4793d8=_0x5d5114[_0x19cb78(0x175)](TEST_EVENTS[_0x19cb78(0x171)],_0x134ef6);CodeceptRecorder[_0x19cb78(0x14a)](()=>_0x5d5114[_0x19cb78(0x153)](TEST_EVENTS[_0x19cb78(0x171)],_0x4793d8));}catch(_0x46f5c1){PerformanceTester[_0x19cb78(0x15e)](_0x46f5c1);}}),CodeceptJS[_0x197e71(0x1a8)][_0x197e71(0x128)]['on'](CodeceptJS[_0x197e71(0x1a8)]['hook'][_0x197e71(0x143)],_0x4b9ffc=>{const _0x570ac2=_0x197e71;try{const _0x5170cd=_0x4b9ffc['ctx']['test'],_0x21ad10=_0x5d5114['captureEvent'](TEST_EVENTS[_0x570ac2(0x16f)],_0x5170cd);CodeceptRecorder[_0x570ac2(0x14a)](()=>_0x5d5114[_0x570ac2(0x153)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x21ad10));}catch(_0x52de27){PerformanceTester[_0x570ac2(0x15e)](_0x52de27);}}),CodeceptJS[_0x197e71(0x1a8)][_0x197e71(0x128)]['on'](CodeceptJS['event']['hook']['failed'],async(_0x1a3d2f,_0x20eca7)=>{const _0x2a35f2=_0x197e71;try{const _0x2ff25e=_0x1a3d2f['ctx'][_0x2a35f2(0x1ad)],_0x312ebb=_0x5d5114['captureEvent'](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x2ff25e,_0x20eca7);CodeceptRecorder['add'](()=>_0x5d5114[_0x2a35f2(0x153)](TEST_EVENTS[_0x2a35f2(0x16f)],_0x312ebb));}catch(_0x4426ee){PerformanceTester[_0x2a35f2(0x15e)](_0x4426ee);}}),CodeceptJS[_0x197e71(0x1a8)][_0x197e71(0x128)]['on'](CodeceptJS[_0x197e71(0x1a8)][_0x197e71(0x1ad)]['before'],_0x218213=>{const _0x4f47ee=_0x197e71;try{_0x382437[_0x4f47ee(0x172)](isBrowserstackInfra)&&(_0xe10578&&(global['__workerDetails']={'currentTest':{'name':_0x218213[_0x4f47ee(0x16d)],'testInfo':{'titlePath':_0x218213[_0x4f47ee(0x170)]()}}}));}catch(_0x4ac66e){PerformanceTester[_0x4f47ee(0x15e)](_0x4ac66e);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x197e71(0x1a8)][_0x197e71(0x1ad)]['started'],_0x3ce200=>{const _0x57bcdb=_0x197e71,_0x44694a={'vFPMW':function(_0x1716e5){const _0x2b8cb9=a0_0x2b5e;return _0x382437[_0x2b8cb9(0x18b)](_0x1716e5);},'XHsGG':function(_0x37ef33,_0x2006bb){return _0x382437['aLhEG'](_0x37ef33,_0x2006bb);},'WzUiT':function(_0x579146,_0x4143f3,_0x185e0c){const _0x55b565=a0_0x2b5e;return _0x382437[_0x55b565(0x1b0)](_0x579146,_0x4143f3,_0x185e0c);}};try{const _0x519622=_0x5d5114[_0x57bcdb(0x175)](TEST_EVENTS[_0x57bcdb(0x1ab)],_0x3ce200);CodeceptRecorder[_0x57bcdb(0x14a)](()=>_0x5d5114[_0x57bcdb(0x153)](TEST_EVENTS['TEST_RUN_STARTED'],_0x519622)),CodeceptRecorder[_0x57bcdb(0x14a)](async()=>{const _0x42f6b0=_0x57bcdb;_0x44694a[_0x42f6b0(0x148)](isBrowserstackInfra)&&(!_0x44694a['XHsGG'](isTrue,_0x5f00e5['skipSessionName'])&&await _0x44694a[_0x42f6b0(0x190)](markSessionName,_0x28a69d,_0x3ce200[_0x42f6b0(0x16d)]),_0x5d5114[_0x42f6b0(0x197)]&&await _0x44694a[_0x42f6b0(0x124)](o11ySync,_0x28a69d));});}catch(_0x47cd22){PerformanceTester[_0x57bcdb(0x15e)](_0x47cd22);}}),CodeceptJS['event'][_0x197e71(0x128)]['on'](CodeceptJS[_0x197e71(0x1a8)]['test'][_0x197e71(0x143)],_0x4319fc=>{const _0x35b0b7=_0x197e71;try{const _0x29147d=_0x5d5114['captureEvent'](TEST_EVENTS['TEST_RUN_FINISHED'],_0x4319fc);CodeceptRecorder[_0x35b0b7(0x14a)](()=>_0x5d5114[_0x35b0b7(0x153)](TEST_EVENTS[_0x35b0b7(0x19f)],_0x29147d)),CodeceptRecorder[_0x35b0b7(0x14a)](async()=>{const _0x203de6=_0x35b0b7;_0x382437[_0x203de6(0x13d)](isBrowserstackInfra)&&(_0xe10578?await _0x382437[_0x203de6(0x185)](playwrightMarkSessionStatus,_0x28a69d,STATE_PASSED):await _0x382437['uWzWa'](markSessionStatus,_0x28a69d,STATE_PASSED));});}catch(_0x377fc9){PerformanceTester[_0x35b0b7(0x15e)](_0x377fc9);}}),CodeceptJS[_0x197e71(0x1a8)][_0x197e71(0x128)]['on'](CodeceptJS['event'][_0x197e71(0x1ad)][_0x197e71(0x160)],(_0x45cdae,_0x357172)=>{const _0x3e5889=_0x197e71;try{if(_0x382437['ldzez'](_0x45cdae['constructor'][_0x3e5889(0x18a)],_0x382437['PEgCT'])){const _0x56d038=_0x5d5114[_0x3e5889(0x175)](TEST_EVENTS[_0x3e5889(0x159)],_0x45cdae[_0x3e5889(0x157)][_0x3e5889(0x129)]);CodeceptRecorder[_0x3e5889(0x14a)](()=>_0x5d5114['fireEvent'](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x56d038));}else{const _0x49223d=_0x5d5114[_0x3e5889(0x175)](TEST_EVENTS[_0x3e5889(0x19f)],_0x45cdae,_0x357172);CodeceptRecorder['add'](()=>_0x5d5114[_0x3e5889(0x153)](TEST_EVENTS[_0x3e5889(0x19f)],_0x49223d)),CodeceptRecorder['add'](async()=>{const _0x16bdf2=_0x3e5889;_0x382437[_0x16bdf2(0x172)](isBrowserstackInfra)&&(_0xe10578?await _0x382437[_0x16bdf2(0x113)](playwrightMarkSessionStatus,_0x28a69d,STATE_FAILED,_0x357172):await _0x382437[_0x16bdf2(0x113)](markSessionStatus,_0x28a69d,STATE_FAILED,_0x357172));});}}catch(_0x572463){PerformanceTester[_0x3e5889(0x15e)](_0x572463);}}),CodeceptJS['event'][_0x197e71(0x128)]['on'](CodeceptJS[_0x197e71(0x1a8)][_0x197e71(0x1ad)][_0x197e71(0x1a6)],_0x15ae28=>{const _0x363cf9=_0x197e71;try{const _0x2c383d=_0x5d5114[_0x363cf9(0x175)](TEST_EVENTS[_0x363cf9(0x159)],_0x15ae28);CodeceptRecorder[_0x363cf9(0x14a)](()=>_0x5d5114['fireEvent'](TEST_EVENTS[_0x363cf9(0x159)],_0x2c383d));}catch(_0x343716){PerformanceTester['captureError'](_0x343716);}}),CodeceptJS[_0x197e71(0x1a8)]['dispatcher']['on'](CodeceptJS[_0x197e71(0x1a8)][_0x197e71(0x1ad)]['after'],async(_0x30b057,_0x280bb1)=>{const _0x1533b8=_0x197e71;try{if(_0x382437[_0x1533b8(0x162)](isBrowserstackInfra)){const _0x5945a0=_0x382437[_0x1533b8(0x117)](shouldScanTestForAccessibility,_0x30b057['titlePath'](),!![]);if(_0x382437[_0x1533b8(0x16b)](isAccessibilityAutomationSession)&&global[_0x1533b8(0x13e)]&&_0x5945a0){const _0x147eb8={};_0x147eb8[_0x1533b8(0x11a)]=_0x30b057[_0x1533b8(0x116)],_0x147eb8['thBuildUuid']=process[_0x1533b8(0x187)][testHubConstants[_0x1533b8(0x167)][_0x1533b8(0x17c)]],_0x147eb8['thJwtToken']=process[_0x1533b8(0x187)][testHubConstants[_0x1533b8(0x167)][_0x1533b8(0x141)]];const _0x146c50=_0x147eb8;logger[_0x1533b8(0x186)](_0x1533b8(0x11f)+JSON['stringify'](_0x146c50)),CodeceptRecorder['add'](async()=>{const _0x169f62=_0x1533b8;await AccessibilityHelper['browserStackExecuteDriver'](_0x28a69d,scripts['performScan']),await AccessibilityHelper[_0x169f62(0x1a9)](_0x28a69d,scripts['saveTestResults'],_0x146c50);}),logger[_0x1533b8(0x122)](_0x382437['qeklz']);}}}catch(_0x35bccc){PerformanceTester[_0x1533b8(0x15e)](_0x35bccc);}}),CodeceptJS['event'][_0x197e71(0x128)]['on'](CodeceptJS[_0x197e71(0x1a8)][_0x197e71(0x189)][_0x197e71(0x115)],_0x3a0e49=>{const _0x5e3a59=_0x197e71;try{process[_0x5e3a59(0x12a)](_0x5e3a59(0x13c)+process[_0x5e3a59(0x15c)],{'timestamp':new Date()['toISOString'](),'level':_0x382437[_0x5e3a59(0x196)],'message':_0x3a0e49,'kind':_0x382437[_0x5e3a59(0x10d)],'http_response':{}});}catch(_0x169478){PerformanceTester['captureError'](_0x169478);}}),CodeceptJS[_0x197e71(0x1a8)][_0x197e71(0x128)]['on'](CodeceptJS[_0x197e71(0x1a8)]['bddStep'][_0x197e71(0x121)],_0x105b41=>{const _0x147370=_0x197e71;_0x5d5114[_0x147370(0x127)](_0x105b41);}),CodeceptJS[_0x197e71(0x1a8)][_0x197e71(0x128)]['on'](CodeceptJS[_0x197e71(0x1a8)]['bddStep'][_0x197e71(0x158)],_0x98efc9=>{const _0x39a4b6=_0x197e71;_0x5d5114[_0x39a4b6(0x12f)](_0x98efc9);});};function a0_0x2b5e(_0x45b6b3,_0x996a55){const _0x13f089=a0_0x13f0();return a0_0x2b5e=function(_0x2b5e8b,_0x44960c){_0x2b5e8b=_0x2b5e8b-0x10d;let _0x1703c2=_0x13f089[_0x2b5e8b];return _0x1703c2;},a0_0x2b5e(_0x45b6b3,_0x996a55);}function a0_0x13f0(){const _0x1c15b8=['class','BROWSERSTACK_TESTHUB_UUID','constructor','container','bwesX','getAccessibilityResultsSummary','base64','all','Playwright','getResultsSummary','uWzWa','debug','env','call','step','name','rrAmv','219947NIxNfw','Suite','605268RevAFK','stringify','WzUiT','10YYZNNJ','kTloD','started','initSaveScreenshot','status','AxNeF','enabled','KBtoE','prototype','IsIBo','codeceptjs/lib/utils.js','setSessionStatus','GJGyV','warn','TEST_RUN_FINISHED','LMHgr','browserContext','performScan','../../helpers/testhub/constants.js','codeceptjs/lib/helper/WebDriver.js','exports','skipped','../../helpers/logger','event','browserStackExecuteDriver','jSgKZ','TEST_RUN_STARTED','4862077qlhEkZ','test','then','1346lTiddf','NVoCO','shouldWrapCommand','restore','24hnZwGM','filter','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','WebDriver','nPGrV','./o11yHelper','pTzUJ','commandsToWrap','patch','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','456312CPYYEm','apply','CPHXV','bstackAllyScanning','comment','testAnalyticsId','PYhkh','Element','readFileSync','thTestRunUuid','../../bin/playwright/accessibility-helper','toString','screenshotOutputFolder','bind','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','Fafhi','before','info','INFO','XHsGG','kiXWb','__skipSessionStatus','bddStepStart','dispatcher','currentTest','emit','194DBFrbO','qaTft','helpers','executeScript','bddStepFinish','../../helpers/accessibility-automation/scripts','start','getSyncScript','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','skipSessionStatus','sCPhn','arguments','winstonLogger','stopMonitoring','browser','YUjGv','254605oFFurC','bs:addLog:','GLfxL','accessibilityPlatform','find','855783JWSDBA','BROWSERSTACK_TESTHUB_JWT','Lzqeq','passed','getAccessibilityResults','KbMlO','reason','lgiKM','vFPMW','TestCafe','add','addRequestSpy','startMonitoring','browserstack_executor:\x20','aRfgG','codeceptjs/lib/recorder.js','SLxPp','toISOString','slice','fireEvent','Performing\x20scan\x20for\x20','overwriteCommand','action','ctx','after','TEST_RUN_SKIPPED','eOqLO','catch','pid','codeceptjs/lib/helper/Playwright.js','captureError','ltrgd','failed','saveScreenshot','JrGzS','TEST_LOG','contexts','NElBh','aLhEG','ENV_VAR','forEach','getResults','NaILE','KoJbJ','XzlTS','title','24eepyxv','HOOK_RUN_FINISHED','titlePath','HOOK_RUN_STARTED','PUDZm','BS_TESTOPS_ALLOW_SCREENSHOTS','patchSaveScreenshot','captureEvent','ztiYE','_before','__driver','hook','../../bin/playwright/sessionDetails'];a0_0x13f0=function(){return _0x1c15b8;};return a0_0x13f0();}
|
|
1
|
+
const a1_0x29e0b6=a1_0x180b;(function(_0x5ec619,_0x54826a){const _0x1bd5df=a1_0x180b,_0x4da282=_0x5ec619();while(!![]){try{const _0x1eaf5d=parseInt(_0x1bd5df(0xbf))/0x1*(-parseInt(_0x1bd5df(0x11f))/0x2)+parseInt(_0x1bd5df(0xc1))/0x3+-parseInt(_0x1bd5df(0xd2))/0x4+parseInt(_0x1bd5df(0x11b))/0x5+-parseInt(_0x1bd5df(0xd8))/0x6*(parseInt(_0x1bd5df(0x13b))/0x7)+parseInt(_0x1bd5df(0xce))/0x8*(-parseInt(_0x1bd5df(0xc9))/0x9)+-parseInt(_0x1bd5df(0x127))/0xa;if(_0x1eaf5d===_0x54826a)break;else _0x4da282['push'](_0x4da282['shift']());}catch(_0x6ff1c7){_0x4da282['push'](_0x4da282['shift']());}}}(a1_0x53d3,0xb9649));const fs=require('fs'),util=require('util'),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x29e0b6(0xd6)),logger=require(a1_0x29e0b6(0x121))[a1_0x29e0b6(0xd0)],testOpsHelper=require('../../helpers/test-observability/utils'),requestSpy=require(a1_0x29e0b6(0x141)),PlaywrightSessionDetails=require(a1_0x29e0b6(0xc6)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x29e0b6(0x126)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),AccessibilityHelper=require(a1_0x29e0b6(0x139)),scripts=require(a1_0x29e0b6(0xed)),PerformanceTester=require(a1_0x29e0b6(0x12a)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x29e0b6(0xeb)),testHubConstants=require(a1_0x29e0b6(0x132)),CodeceptJS=requireModule(a1_0x29e0b6(0x115)),CodeceptUtils=requireModule(a1_0x29e0b6(0xb7)),CodeceptWebDriver=requireModule(a1_0x29e0b6(0xfe)),CodeceptRecorder=requireModule(a1_0x29e0b6(0xba)),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js'),playwrightMarkSessionStatus=(_0x3e05c4,_0x197085,_0x5ce5c5)=>{const _0x2ecf1f=a1_0x29e0b6,_0x54a035={'VdGbF':_0x2ecf1f(0x101),'oStWr':function(_0x27fbc4,_0xcdfdd){return _0x27fbc4(_0xcdfdd);}},_0x27bc39={};_0x27bc39[_0x2ecf1f(0xd9)]=_0x197085;const _0x1f2788={};_0x1f2788['action']=_0x54a035[_0x2ecf1f(0xf8)],_0x1f2788[_0x2ecf1f(0xfa)]=_0x27bc39;const _0x49dcce=_0x1f2788;return!_0x54a035['oStWr'](isUndefined,_0x5ce5c5)&&(_0x49dcce[_0x2ecf1f(0xfa)][_0x2ecf1f(0xf0)]=JSON[_0x2ecf1f(0xc3)](_0x5ce5c5)),_0x3e05c4[_0x2ecf1f(0x108)](()=>{},'browserstack_executor:\x20'+JSON[_0x2ecf1f(0xc3)](_0x49dcce));},o11ySync=async _0x39db00=>{const _0x5edac0=a1_0x29e0b6,_0x5b4534={};_0x5b4534[_0x5edac0(0x12c)]=function(_0x5ab85b,_0x1ab5ec){return _0x5ab85b===_0x1ab5ec;},_0x5b4534[_0x5edac0(0x12f)]=_0x5edac0(0xf4);const _0x5bf12d=_0x5b4534;_0x5bf12d[_0x5edac0(0x12c)](_0x39db00[_0x5edac0(0x12b)][_0x5edac0(0x14a)],_0x5bf12d[_0x5edac0(0x12f)])?await _0x39db00[_0x5edac0(0x108)](_0x491e1b=>{},testOpsHelper[_0x5edac0(0x14c)]()):await _0x39db00[_0x5edac0(0x108)](testOpsHelper[_0x5edac0(0x14c)]());},markSessionName=async(_0x551907,_0x598f8f)=>{const _0x213165=a1_0x29e0b6,_0x1d391b={};_0x1d391b[_0x213165(0x136)]=_0x213165(0xd3),_0x1d391b[_0x213165(0x116)]=function(_0x140f07,_0x2301fa){return _0x140f07===_0x2301fa;},_0x1d391b[_0x213165(0x144)]=_0x213165(0xf4);const _0x3fd1e3=_0x1d391b,_0x2fc216={};_0x2fc216['name']=_0x598f8f;const _0xf89011={};_0xf89011[_0x213165(0x135)]=_0x3fd1e3[_0x213165(0x136)],_0xf89011[_0x213165(0xfa)]=_0x2fc216;const _0x1450b0=_0xf89011;_0x3fd1e3[_0x213165(0x116)](_0x551907[_0x213165(0x12b)][_0x213165(0x14a)],_0x3fd1e3[_0x213165(0x144)])?await _0x551907[_0x213165(0x108)](()=>{},_0x213165(0x147)+JSON[_0x213165(0xc3)](_0x1450b0)):await _0x551907[_0x213165(0x108)]('browserstack_executor:\x20'+JSON['stringify'](_0x1450b0));},patchSaveScreenshot=_0x15191b=>{const _0x2b98d9=a1_0x29e0b6,_0x580c57={'GIegl':_0x2b98d9(0x134),'XCFuY':_0x2b98d9(0xca),'uJLWU':function(_0x2bd422){return _0x2bd422();},'dFwrr':function(_0x536c09,_0x376634){return _0x536c09(_0x376634);}};_0x580c57[_0x2b98d9(0xea)](isTrue,process['env']['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x15191b['patchSaveScreenshot']&&(_0x15191b[_0x2b98d9(0xc2)]=!![],_0x15191b[_0x2b98d9(0xfd)]=_0x15191b[_0x2b98d9(0x15c)],_0x15191b[_0x2b98d9(0x15c)]=(_0x3febd3,_0x6eb570=![])=>{const _0x57accf=_0x2b98d9,_0x3630d4={'sZwBH':_0x580c57[_0x57accf(0xdc)],'ZuTxw':_0x580c57[_0x57accf(0xec)],'qfNMQ':function(_0x132f35){const _0x1079a2=_0x57accf;return _0x580c57[_0x1079a2(0x15f)](_0x132f35);}};return new Promise(function(_0x5504ee,_0x5a01ed){const _0x51d392=_0x57accf;_0x15191b['initSaveScreenshot'](_0x3febd3,_0x6eb570)['then'](()=>{const _0x375de0=a1_0x180b,_0x2c5269=CodeceptUtils[_0x375de0(0xf3)](_0x3febd3),_0x2a974a=fs[_0x375de0(0xcf)](_0x2c5269);process[_0x375de0(0x13d)]('bs:addLog:'+process[_0x375de0(0x128)],{'timestamp':new Date()[_0x375de0(0xee)](),'message':_0x2a974a[_0x375de0(0x158)](_0x3630d4[_0x375de0(0xe8)]),'kind':_0x3630d4[_0x375de0(0x106)]}),_0x3630d4[_0x375de0(0x14b)](_0x5504ee);})[_0x51d392(0x161)](()=>null);});});},patchWebDriverBefore=_0x23013c=>{const _0x3f1135=a1_0x29e0b6,_0x54f088={'cGSML':function(_0x2e25a1){return _0x2e25a1();},'zFAoa':function(_0x23ac4d,_0x5431cd){return _0x23ac4d(_0x5431cd);},'YVHiQ':function(_0x24bd89,_0x325045){return _0x24bd89===_0x325045;},'DTguQ':_0x3f1135(0xe4),'ikRDz':function(_0x5236dc,_0x1f46de){return _0x5236dc(_0x1f46de);}},_0x215eaa=async function(_0x293a15,_0x3a280d){const _0x7774f2=_0x3f1135;return _0x54f088[_0x7774f2(0x13c)](isAccessibilityAutomationSession)&&!global[_0x7774f2(0x10b)]&&global[_0x7774f2(0xdd)]&&scripts[_0x7774f2(0x151)](_0x293a15[_0x7774f2(0x14a)])&&_0x54f088[_0x7774f2(0xb6)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x7774f2(0x10b)]=!![],logger[_0x7774f2(0xf2)](_0x7774f2(0x111)+_0x293a15[_0x7774f2(0xbd)]+'\x20'+_0x293a15[_0x7774f2(0x14a)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x23013c,scripts[_0x7774f2(0x156)])),global['bstackAllyScanning']=![],_0x3a280d[_0x7774f2(0xbe)](this,Array[_0x7774f2(0x100)][_0x7774f2(0x142)][_0x7774f2(0xf1)](arguments,0x2));},_0x4aae5a=CodeceptWebDriver[_0x3f1135(0x100)]['_before'];CodeceptWebDriver[_0x3f1135(0x100)]['_before']=async function(){const _0x3aa6f7=_0x3f1135;await _0x4aae5a['apply'](this,arguments),scripts[_0x3aa6f7(0x11a)][_0x3aa6f7(0x133)](_0x39d6f0=>_0x39d6f0[_0x3aa6f7(0x14a)]&&_0x39d6f0[_0x3aa6f7(0xbd)])[_0x3aa6f7(0x102)](_0x39dcae=>{const _0x259f39=_0x3aa6f7;this[_0x259f39(0xe5)]['overwriteCommand'](_0x39dcae['name'],_0x215eaa[_0x259f39(0x14e)](this,_0x39dcae),_0x54f088[_0x259f39(0x15b)](_0x39dcae['class'],_0x54f088[_0x259f39(0x146)]));}),_0x54f088[_0x3aa6f7(0x10e)](processWebDriverConfig,_0x23013c);};},patchPlaywrightBefore=()=>{const _0x367276=a1_0x29e0b6;PlaywrightSessionDetails['patch']();const _0x177920=CodeceptPlaywright['prototype'][_0x367276(0xf7)];CodeceptPlaywright[_0x367276(0x100)][_0x367276(0xf7)]=async function(){const _0x34fac3=_0x367276;this[_0x34fac3(0x131)]=await this[_0x34fac3(0xe5)][_0x34fac3(0x110)]()[0x0],await _0x177920[_0x34fac3(0xbe)](this,arguments);};},getCodeceptDriver=()=>{const _0x188390=a1_0x29e0b6,_0x2ebe46={};_0x2ebe46['OFBbL']=_0x188390(0xb9),_0x2ebe46[_0x188390(0x15d)]=_0x188390(0xf4),_0x2ebe46[_0x188390(0xbc)]=_0x188390(0x148),_0x2ebe46['WRXXu']=_0x188390(0x15a);const _0xbbc09=_0x2ebe46,_0x3139a1=[_0xbbc09['OFBbL'],_0xbbc09[_0x188390(0x15d)],_0xbbc09['VeSIt'],_0xbbc09[_0x188390(0x109)]],_0x154789=_0x3139a1['find'](_0x52b563=>!!CodeceptJS[_0x188390(0xdb)][_0x188390(0xd7)](_0x52b563));if(!_0x154789)return null;return CodeceptJS[_0x188390(0xdb)][_0x188390(0xd7)](_0x154789);};function a1_0x180b(_0x46b6b2,_0x4b3cfe){const _0x53d336=a1_0x53d3();return a1_0x180b=function(_0x180bf5,_0x23fc5b){_0x180bf5=_0x180bf5-0xb5;let _0x4b9c69=_0x53d336[_0x180bf5];return _0x4b9c69;},a1_0x180b(_0x46b6b2,_0x4b3cfe);}function a1_0x53d3(){const _0x3b82de=['../../helpers/request-spy','slice','eerot','zHqDB','XCZuB','DTguQ','browserstack_executor:\x20','Puppeteer','cdLRK','name','qfNMQ','getSyncScript','auZTe','bind','format','all','shouldWrapCommand','dispatcher','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','CKRoz','CGmQS','performScan','Iihka','toString','ENV_VAR','TestCafe','YVHiQ','saveScreenshot','QUBWF','HOOK_RUN_FINISHED','uJLWU','getResultsSummary','catch','add','zFAoa','codeceptjs/lib/utils.js','papWI','WebDriver','codeceptjs/lib/recorder.js','BahuG','VeSIt','class','apply','6439YpuFMu','bs:addLog:','3687312prmJTu','patchSaveScreenshot','stringify','captureEvent','stop','../../bin/playwright/sessionDetails','fWUKT','izEcf','26370gIjdfZ','TEST_SCREENSHOT','getResults','KnAmU','TEST_RUN_STARTED','264sataoz','readFileSync','winstonLogger','qhWey','3145896vzObbc','setSessionName','INFO','addRequestSpy','../../helpers/helper','helpers','231510kdoMrj','status','after','container','GIegl','accessibilityPlatform','TlJiv','step','titlePath','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','QfLbp','hook','Element','browser','TEST_LOG','title','sZwBH','skipSessionStatus','dFwrr','./helper.js','XCFuY','../../helpers/accessibility-automation/scripts','toISOString','startMonitoring','reason','call','debug','screenshotOutputFolder','Playwright','before','HuYuA','_before','VdGbF','env','arguments','KqOSC','restore','initSaveScreenshot','codeceptjs/lib/helper/WebDriver.js','fireEvent','prototype','setSessionStatus','forEach','__workerDetails','ctx','__skipSessionStatus','ZuTxw','oOuYe','executeScript','WRXXu','__driver','bstackAllyScanning','BROWSERSTACK_TESTHUB_UUID','warn','ikRDz','failed','contexts','Performing\x20scan\x20for\x20','skipSessionName','started','exports','codeceptjs/lib/index.js','xyfbC','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','jYJlw','Cjesi','commandsToWrap','6746145ryJDsm','PrWvZ','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','TEST_RUN_FINISHED','178Kmraja','bddStep','../../helpers/logger','event','stopMonitoring','test','saveTestResults','./o11yHelper','926340ZCuTuF','pid','browserStackExecuteDriver','../../helpers/performance-tester','constructor','LTRZV','TEST_RUN_SKIPPED','BROWSERSTACK_TESTHUB_JWT','JsMkA','comment','browserContext','../../helpers/testhub/constants.js','filter','base64','action','vWjpv','bddStepStart','FMffJ','../../bin/playwright/accessibility-helper','getAccessibilityResultsSummary','49CDEXUQ','cGSML','emit','testAnalyticsId','bddStepFinish','captureError'];a1_0x53d3=function(){return _0x3b82de;};return a1_0x53d3();}module[a1_0x29e0b6(0x114)]=function(_0x50dbbd){const _0x56cce1=a1_0x29e0b6,_0x5ea838={'oOuYe':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','jYJlw':_0x56cce1(0x117),'KnAmU':function(_0x566da7){return _0x566da7();},'Cjesi':function(_0x549f90){return _0x549f90();},'TlJiv':function(_0x4bafa3,_0x40478b){return _0x4bafa3(_0x40478b);},'fWUKT':function(_0x248fe7,_0x4a74f5,_0x1bb48d){return _0x248fe7(_0x4a74f5,_0x1bb48d);},'PrWvZ':function(_0x35ed29){return _0x35ed29();},'HgLzn':function(_0x5efa3d,_0x10f8dd,_0x122e77){return _0x5efa3d(_0x10f8dd,_0x122e77);},'auZTe':function(_0xc990a6,_0x17c41b,_0x33a8e4,_0x426f71){return _0xc990a6(_0x17c41b,_0x33a8e4,_0x426f71);},'papWI':function(_0x132ab3,_0x1847ca,_0x3609a3,_0x3c1fdf){return _0x132ab3(_0x1847ca,_0x3609a3,_0x3c1fdf);},'qhWey':function(_0x561acd,_0x4e4ee9){return _0x561acd===_0x4e4ee9;},'CGmQS':'Suite','QfLbp':function(_0x48356e){return _0x48356e();},'KqOSC':_0x56cce1(0xe1),'FMffJ':_0x56cce1(0xd4),'izlhi':_0x56cce1(0xe6),'YqBkQ':function(_0x34a052){return _0x34a052();},'XCZuB':'Playwright','Iihka':function(_0x384a15){return _0x384a15();},'BahuG':function(_0x31526c,_0x401739){return _0x31526c(_0x401739);}};_0x50dbbd[_0x56cce1(0xe9)]&&(global[_0x56cce1(0x105)]=_0x50dbbd[_0x56cce1(0xe9)]);PerformanceTester[_0x56cce1(0xef)]();const _0x1f0ad5=_0x5ea838['YqBkQ'](getCodeceptDriver),_0x513074=new O11yHelper(_0x1f0ad5,_0x50dbbd),_0x1ebfa2=!!CodeceptJS['container'][_0x56cce1(0xd7)](_0x5ea838[_0x56cce1(0x145)]);global[_0x56cce1(0x10a)]=_0x1f0ad5,_0x1f0ad5&&(_0x1ebfa2?_0x5ea838[_0x56cce1(0x157)](patchPlaywrightBefore):_0x5ea838['BahuG'](patchWebDriverBefore,_0x1f0ad5),_0x1f0ad5[_0x56cce1(0x13a)]=async()=>{const _0x37a1c8=_0x56cce1;if(global['accessibilityPlatform'])await AccessibilityHelper[_0x37a1c8(0x129)](_0x1f0ad5,scripts[_0x37a1c8(0x156)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x1f0ad5,scripts[_0x37a1c8(0x160)]);else return logger[_0x37a1c8(0x10d)](_0x5ea838[_0x37a1c8(0x107)]),{};},_0x1f0ad5['getAccessibilityResults']=async()=>{const _0x23ea7d=_0x56cce1;if(global['accessibilityPlatform'])await AccessibilityHelper[_0x23ea7d(0x129)](_0x1f0ad5,scripts[_0x23ea7d(0x156)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x1f0ad5,scripts[_0x23ea7d(0xcb)]);else return logger[_0x23ea7d(0x10d)](_0x5ea838[_0x23ea7d(0x118)]),{};},_0x5ea838[_0x56cce1(0xbb)](patchSaveScreenshot,_0x1f0ad5)),CodeceptJS[_0x56cce1(0x122)][_0x56cce1(0x152)]['on'](CodeceptJS[_0x56cce1(0x122)][_0x56cce1(0x150)][_0x56cce1(0xf5)],()=>{const _0x276418=_0x56cce1;try{_0x513074['start'](),testOpsHelper[_0x276418(0xd5)]();}catch(_0x59f7de){PerformanceTester[_0x276418(0x140)](_0x59f7de);}}),CodeceptJS[_0x56cce1(0x122)]['dispatcher']['on'](CodeceptJS[_0x56cce1(0x122)]['all']['after'],async()=>{const _0x4388c3=_0x56cce1;try{requestSpy[_0x4388c3(0xfc)](),await _0x513074[_0x4388c3(0xc5)]();}catch(_0x2411f4){PerformanceTester['captureError'](_0x2411f4);}finally{PerformanceTester[_0x4388c3(0x123)]();}}),CodeceptJS['event'][_0x56cce1(0x152)]['on'](CodeceptJS['event'][_0x56cce1(0xe3)][_0x56cce1(0x113)],_0x271a82=>{const _0x28754f=_0x56cce1;try{const _0x1dc503=_0x271a82[_0x28754f(0x104)]['test'],_0x818db5=_0x513074[_0x28754f(0xc4)](TEST_EVENTS['HOOK_RUN_STARTED'],_0x1dc503);CodeceptRecorder['add'](()=>_0x513074['fireEvent'](TEST_EVENTS['HOOK_RUN_STARTED'],_0x818db5));}catch(_0x3a1b1b){PerformanceTester[_0x28754f(0x140)](_0x3a1b1b);}}),CodeceptJS[_0x56cce1(0x122)][_0x56cce1(0x152)]['on'](CodeceptJS[_0x56cce1(0x122)]['hook']['passed'],_0x41e277=>{const _0x47454e=_0x56cce1;try{const _0xeb54cc=_0x41e277[_0x47454e(0x104)][_0x47454e(0x124)],_0x4c1bf3=_0x513074[_0x47454e(0xc4)](TEST_EVENTS[_0x47454e(0x15e)],_0xeb54cc);CodeceptRecorder[_0x47454e(0xb5)](()=>_0x513074[_0x47454e(0xff)](TEST_EVENTS[_0x47454e(0x15e)],_0x4c1bf3));}catch(_0x101b0e){PerformanceTester[_0x47454e(0x140)](_0x101b0e);}}),CodeceptJS[_0x56cce1(0x122)][_0x56cce1(0x152)]['on'](CodeceptJS['event']['hook'][_0x56cce1(0x10f)],async(_0x3009eb,_0x4673ac)=>{const _0x233dd4=_0x56cce1;try{const _0x356a8c=_0x3009eb[_0x233dd4(0x104)][_0x233dd4(0x124)],_0x371ce0=_0x513074[_0x233dd4(0xc4)](TEST_EVENTS[_0x233dd4(0x15e)],_0x356a8c,_0x4673ac);CodeceptRecorder[_0x233dd4(0xb5)](()=>_0x513074[_0x233dd4(0xff)](TEST_EVENTS[_0x233dd4(0x15e)],_0x371ce0));}catch(_0x4b31a2){PerformanceTester[_0x233dd4(0x140)](_0x4b31a2);}}),CodeceptJS[_0x56cce1(0x122)][_0x56cce1(0x152)]['on'](CodeceptJS['event'][_0x56cce1(0x124)][_0x56cce1(0xf5)],_0x78f433=>{const _0x4c3e50=_0x56cce1;try{_0x5ea838[_0x4c3e50(0xcc)](isBrowserstackInfra)&&(_0x1ebfa2&&(global[_0x4c3e50(0x103)]={'currentTest':{'name':_0x78f433[_0x4c3e50(0xe7)],'testInfo':{'titlePath':_0x78f433[_0x4c3e50(0xe0)]()}}}));}catch(_0x54c987){PerformanceTester['captureError'](_0x54c987);}}),CodeceptJS['event'][_0x56cce1(0x152)]['on'](CodeceptJS[_0x56cce1(0x122)][_0x56cce1(0x124)][_0x56cce1(0x113)],_0x57ddac=>{const _0x1ba644=_0x56cce1,_0x1c2ed0={'cdLRK':function(_0x55e88e){return _0x5ea838['Cjesi'](_0x55e88e);},'HuYuA':function(_0x1272c4,_0x182349){const _0x504274=a1_0x180b;return _0x5ea838[_0x504274(0xde)](_0x1272c4,_0x182349);},'izEcf':function(_0x490cd4,_0x5bf17f,_0x57c3d0){const _0x4aae64=a1_0x180b;return _0x5ea838[_0x4aae64(0xc7)](_0x490cd4,_0x5bf17f,_0x57c3d0);},'eerot':function(_0x5e2c8e,_0x5e1af1){const _0x12fef1=a1_0x180b;return _0x5ea838[_0x12fef1(0xde)](_0x5e2c8e,_0x5e1af1);}};try{const _0x20696e=_0x513074[_0x1ba644(0xc4)](TEST_EVENTS[_0x1ba644(0xcd)],_0x57ddac);CodeceptRecorder[_0x1ba644(0xb5)](()=>_0x513074['fireEvent'](TEST_EVENTS[_0x1ba644(0xcd)],_0x20696e)),CodeceptRecorder[_0x1ba644(0xb5)](async()=>{const _0x1383ff=_0x1ba644;_0x1c2ed0[_0x1383ff(0x149)](isBrowserstackInfra)&&(!_0x1c2ed0[_0x1383ff(0xf6)](isTrue,_0x50dbbd[_0x1383ff(0x112)])&&await _0x1c2ed0[_0x1383ff(0xc8)](markSessionName,_0x1f0ad5,_0x57ddac[_0x1383ff(0xe7)]),_0x513074['enabled']&&await _0x1c2ed0[_0x1383ff(0x143)](o11ySync,_0x1f0ad5));});}catch(_0xa2c6ed){PerformanceTester[_0x1ba644(0x140)](_0xa2c6ed);}}),CodeceptJS[_0x56cce1(0x122)][_0x56cce1(0x152)]['on'](CodeceptJS['event'][_0x56cce1(0x124)]['passed'],_0x7290bd=>{const _0x31a8e4=_0x56cce1,_0x37c6d4={'CKRoz':function(_0x4b3a51){const _0x3fcca2=a1_0x180b;return _0x5ea838[_0x3fcca2(0x11c)](_0x4b3a51);},'FlVSZ':function(_0x4876d7,_0x35b176,_0x4f8f99){const _0x9e6c6c=a1_0x180b;return _0x5ea838[_0x9e6c6c(0xc7)](_0x4876d7,_0x35b176,_0x4f8f99);},'EVZgw':function(_0x108591,_0x595523,_0xf1cea7){return _0x5ea838['HgLzn'](_0x108591,_0x595523,_0xf1cea7);}};try{const _0x1634dd=_0x513074[_0x31a8e4(0xc4)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x7290bd);CodeceptRecorder[_0x31a8e4(0xb5)](()=>_0x513074['fireEvent'](TEST_EVENTS[_0x31a8e4(0x11e)],_0x1634dd)),CodeceptRecorder[_0x31a8e4(0xb5)](async()=>{const _0x23eb82=_0x31a8e4;_0x37c6d4[_0x23eb82(0x154)](isBrowserstackInfra)&&(_0x1ebfa2?await _0x37c6d4['FlVSZ'](playwrightMarkSessionStatus,_0x1f0ad5,STATE_PASSED):await _0x37c6d4['EVZgw'](markSessionStatus,_0x1f0ad5,STATE_PASSED));});}catch(_0x43ff1b){PerformanceTester[_0x31a8e4(0x140)](_0x43ff1b);}}),CodeceptJS[_0x56cce1(0x122)][_0x56cce1(0x152)]['on'](CodeceptJS['event'][_0x56cce1(0x124)]['failed'],(_0x9fccf1,_0x11f79a)=>{const _0x44593f=_0x56cce1;try{if(_0x5ea838[_0x44593f(0xd1)](_0x9fccf1[_0x44593f(0x12b)][_0x44593f(0x14a)],_0x5ea838[_0x44593f(0x155)])){const _0x5e6b56=_0x513074[_0x44593f(0xc4)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x9fccf1[_0x44593f(0x104)]['currentTest']);CodeceptRecorder[_0x44593f(0xb5)](()=>_0x513074['fireEvent'](TEST_EVENTS[_0x44593f(0x12d)],_0x5e6b56));}else{const _0x4668d7=_0x513074['captureEvent'](TEST_EVENTS[_0x44593f(0x11e)],_0x9fccf1,_0x11f79a);CodeceptRecorder[_0x44593f(0xb5)](()=>{const _0x4b1f98=_0x44593f;try{_0x513074[_0x4b1f98(0xff)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x4668d7);}catch(_0x4df1b1){logger[_0x4b1f98(0xf2)](_0x4b1f98(0x153)+util[_0x4b1f98(0x14f)](_0x4df1b1));}}),CodeceptRecorder['add'](async()=>{const _0x253d4b=_0x44593f;try{_0x5ea838[_0x253d4b(0x11c)](isBrowserstackInfra)&&(_0x1ebfa2?await _0x5ea838[_0x253d4b(0x14d)](playwrightMarkSessionStatus,_0x1f0ad5,STATE_FAILED,_0x11f79a):await _0x5ea838[_0x253d4b(0xb8)](markSessionStatus,_0x1f0ad5,STATE_FAILED,_0x11f79a));}catch(_0x5644f5){logger[_0x253d4b(0xf2)](_0x253d4b(0x11d)+util[_0x253d4b(0x14f)](_0x5644f5));}});}}catch(_0x55bb45){PerformanceTester[_0x44593f(0x140)](_0x55bb45);}}),CodeceptJS['event'][_0x56cce1(0x152)]['on'](CodeceptJS[_0x56cce1(0x122)]['test']['skipped'],_0x2eed6b=>{const _0x405d1c=_0x56cce1;try{const _0x8c1c2e=_0x513074[_0x405d1c(0xc4)](TEST_EVENTS[_0x405d1c(0x12d)],_0x2eed6b);CodeceptRecorder['add'](()=>_0x513074[_0x405d1c(0xff)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x8c1c2e));}catch(_0x1f6156){PerformanceTester[_0x405d1c(0x140)](_0x1f6156);}}),CodeceptJS[_0x56cce1(0x122)][_0x56cce1(0x152)]['on'](CodeceptJS[_0x56cce1(0x122)]['test'][_0x56cce1(0xda)],async(_0x2f3e14,_0x1b6fd6)=>{const _0xf81a36=_0x56cce1;try{if(_0x5ea838[_0xf81a36(0x119)](isBrowserstackInfra)){const _0x2bd823=_0x5ea838['fWUKT'](shouldScanTestForAccessibility,_0x2f3e14['titlePath'](),!![]);if(_0x5ea838[_0xf81a36(0xe2)](isAccessibilityAutomationSession)&&global[_0xf81a36(0xdd)]&&_0x2bd823){const _0x286bd4={};_0x286bd4['thTestRunUuid']=_0x2f3e14[_0xf81a36(0x13e)],_0x286bd4['thBuildUuid']=process[_0xf81a36(0xf9)][testHubConstants[_0xf81a36(0x159)][_0xf81a36(0x10c)]],_0x286bd4['thJwtToken']=process[_0xf81a36(0xf9)][testHubConstants['ENV_VAR'][_0xf81a36(0x12e)]];const _0x50a05a=_0x286bd4;logger['debug']('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON['stringify'](_0x50a05a)),CodeceptRecorder[_0xf81a36(0xb5)](async()=>{const _0xb2bae1=_0xf81a36;await AccessibilityHelper[_0xb2bae1(0x129)](_0x1f0ad5,scripts[_0xb2bae1(0x156)]),await AccessibilityHelper[_0xb2bae1(0x129)](_0x1f0ad5,scripts[_0xb2bae1(0x125)],_0x50a05a);}),logger['info'](_0x5ea838[_0xf81a36(0xfb)]);}}}catch(_0x55fb64){PerformanceTester[_0xf81a36(0x140)](_0x55fb64);}}),CodeceptJS[_0x56cce1(0x122)][_0x56cce1(0x152)]['on'](CodeceptJS[_0x56cce1(0x122)][_0x56cce1(0xdf)][_0x56cce1(0x130)],_0x340c04=>{const _0x2772c4=_0x56cce1;try{process['emit'](_0x2772c4(0xc0)+process[_0x2772c4(0x128)],{'timestamp':new Date()['toISOString'](),'level':_0x5ea838[_0x2772c4(0x138)],'message':_0x340c04,'kind':_0x5ea838['izlhi'],'http_response':{}});}catch(_0x13982b){PerformanceTester[_0x2772c4(0x140)](_0x13982b);}}),CodeceptJS[_0x56cce1(0x122)][_0x56cce1(0x152)]['on'](CodeceptJS[_0x56cce1(0x122)][_0x56cce1(0x120)][_0x56cce1(0xf5)],_0x13ff59=>{const _0xd79afb=_0x56cce1;_0x513074[_0xd79afb(0x137)](_0x13ff59);}),CodeceptJS[_0x56cce1(0x122)][_0x56cce1(0x152)]['on'](CodeceptJS[_0x56cce1(0x122)][_0x56cce1(0x120)]['after'],_0xb19429=>{const _0x5d7f93=_0x56cce1;_0x513074[_0x5d7f93(0x13f)](_0xb19429);});};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a1_0xd6ede5=a1_0x369b;(function(_0x1ca75e,_0x395c6d){const _0x1055f3=a1_0x369b,_0x136d88=_0x1ca75e();while(!![]){try{const _0xa94cff=parseInt(_0x1055f3(0xec))/0x1+-parseInt(_0x1055f3(0x106))/0x2+parseInt(_0x1055f3(0xf8))/0x3+-parseInt(_0x1055f3(0xeb))/0x4+parseInt(_0x1055f3(0xd8))/0x5*(parseInt(_0x1055f3(0xc9))/0x6)+-parseInt(_0x1055f3(0x103))/0x7+-parseInt(_0x1055f3(0xe3))/0x8*(-parseInt(_0x1055f3(0x110))/0x9);if(_0xa94cff===_0x395c6d)break;else _0x136d88['push'](_0x136d88['shift']());}catch(_0x5464c8){_0x136d88['push'](_0x136d88['shift']());}}}(a1_0x5074,0x186c3));function a1_0x5074(){const _0x84b92e=['63818zCkeGj','npeoR','testObservability','bootstrapAll','browserStackCwd','result','Playwright','finalExecution','before','accessibilityOptions','18cFaEKY','validPlatformsPresent','FRAMEWORKS','env','push','MsrBF','all','process','yfmEe','hcufm','err','UwkXq','child_process','webkit','Passed\x20:\x20','dirname','browser','printResults','WebDriver','slice','BROWSERSTACK_TEST_ACCESSIBILITY_YML','browserName','parallelsPerPlatform','--config','config','addConfig','YvyMo','join','exports','stringify','iFZXn','BROWSERSTACK_RERUN_TESTS','testConfig','title','map','chrome','test','gherkin','BrowserStackPlugin.js','initialize','ZWxUQ','skipSessionStatus','event','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','playwright-webkit','debug','Started\x20:\x20','codeceptjs/lib/index.js','isTrue','DxkKx','errorMessage','jEdVX','cwd','path','info','codecept.json','playwright-chromium','BROWSERSTACK_RERUN','bEYCa','printBuildLink','leXMC','../../helpers/test-observability/utils','aMzrN','eXteM','getUserWorkerCount','mergeDeep','handleApp','accessibility','RSRwA','false','CODECEPT','../../helpers/testhub/testhubHandler','BrowserStackPlugin','require','forEach','length','firefox','DfVQw','browserWSEndpoint','66DcDEou','OJCci','../../helpers/test-observability/sessionHandler','profile','isUndefined','findIndex','spawn','../../helpers/BrowserStackSetup','getPlatformName','now','xpLzi','dCaKk','Failed\x20:\x20','split','../utils/constants','10870cUWlee','chdir','UpZtA','-cucumber','eKyAu','cZDSn','gKkQl','testContextOptions','0|3|2|1|4','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','skipSessionName','1101640VjWqgB','useW3C','FFiIq','format','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','plugins','run','stop','179140xhhSLB','67664aulMEh','yrgot','stack','woDul','winstonLogger','wqZul','../../helpers/helper','chromium','prepareCapabilities','existsSync','enabled','../../helpers/testhub/utils','11532ehjTVe','../../bin/playwright/accessibility-helper','platforms','sCiHf','toLowerCase','log','../../helpers/logger','null','createGroupsOfSuites','fthFd','failed','1358721JdGEOt','fUYkY','isTestObservabilitySession'];a1_0x5074=function(){return _0x84b92e;};return a1_0x5074();}const fs=require('fs'),path=require(a1_0xd6ede5(0xaf)),util=require('util'),{spawn}=require(a1_0xd6ede5(0x86)),process=require(a1_0xd6ede5(0x81)),logger=require(a1_0xd6ede5(0xfe))[a1_0xd6ede5(0xf0)],{default:BrowserStackSetup}=require(a1_0xd6ede5(0xd0)),helper=require(a1_0xd6ede5(0xf2)),{createAccessibilityTestRun,stopAccessibilityTestRun,checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require(a1_0xd6ede5(0xf9)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a1_0xd6ede5(0xf2)),CodeceptJS=requireModule(a1_0xd6ede5(0xa9)),SessionHandler=require(a1_0xd6ede5(0xcb)),testOpsHelper=require(a1_0xd6ede5(0xb7)),{shouldProcessEventForTesthub}=require(a1_0xd6ede5(0xf7)),TestHubHandler=require(a1_0xd6ede5(0xc1)),constants=require(a1_0xd6ede5(0xd7)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x1a3ba4,_0x4f68ae)=>{const _0x34d243=a1_0xd6ede5,_0x1facfc={};_0x1facfc[_0x34d243(0x94)]=function(_0x55b0f5,_0x5b461d){return _0x55b0f5===_0x5b461d;},_0x1facfc['jEdVX']='codecept.conf.js',_0x1facfc[_0x34d243(0x98)]=_0x34d243(0xb1);const _0xefc4fd=_0x1facfc;let _0x19d989=null;const _0x59fbd8={};let _0x2f0510=_0x4f68ae['findIndex'](_0x13d98c=>_0x13d98c===_0x34d243(0x91));_0xefc4fd[_0x34d243(0x94)](_0x2f0510,-0x1)&&(_0x2f0510=_0x4f68ae[_0x34d243(0xce)](_0xb081ed=>_0xb081ed==='-c'));if(!helper[_0x34d243(0xcd)](_0x1a3ba4[_0x34d243(0x92)])&&fs[_0x34d243(0xf5)](path[_0x34d243(0x95)](process[_0x34d243(0xae)](),_0x1a3ba4[_0x34d243(0x92)])))_0x19d989=path[_0x34d243(0x95)](process[_0x34d243(0xae)](),_0x1a3ba4['config']),_0x4f68ae[_0x34d243(0x8d)](_0x2f0510,0x2);else{if(!helper['isUndefined'](_0x1a3ba4['c'])&&fs[_0x34d243(0xf5)](path[_0x34d243(0x95)](process[_0x34d243(0xae)](),_0x1a3ba4['c'])))_0x19d989=path[_0x34d243(0x95)](process[_0x34d243(0xae)](),_0x1a3ba4['c']),_0x4f68ae['slice'](_0x2f0510,0x2);else{if(fs['existsSync'](path['join'](process[_0x34d243(0xae)](),_0xefc4fd[_0x34d243(0xad)])))_0x19d989=path[_0x34d243(0x95)](process['cwd'](),_0xefc4fd[_0x34d243(0xad)]);else fs[_0x34d243(0xf5)](path['join'](process[_0x34d243(0xae)](),_0xefc4fd[_0x34d243(0x98)]))&&(_0x19d989=path[_0x34d243(0x95)](process[_0x34d243(0xae)](),_0xefc4fd['iFZXn']));}}return _0x19d989;},getO11yRerunPattern=()=>{const _0x5001c4=a1_0xd6ede5,_0x46ef23={};_0x46ef23[_0x5001c4(0xca)]=function(_0x2530ec,_0x187424){return _0x2530ec!==_0x187424;},_0x46ef23[_0x5001c4(0x85)]=_0x5001c4(0xff);const _0x39f8cb=_0x46ef23,_0x3176bb=helper[_0x5001c4(0xaa)](process[_0x5001c4(0x7d)][_0x5001c4(0xb3)]);if(_0x3176bb){const _0x4dd82c=process[_0x5001c4(0x7d)][_0x5001c4(0x99)],_0x14a509=[];if(_0x39f8cb[_0x5001c4(0xca)](_0x4dd82c,_0x39f8cb[_0x5001c4(0x85)])&&!helper[_0x5001c4(0xcd)](_0x4dd82c)){_0x4dd82c[_0x5001c4(0xd6)](',')[_0x5001c4(0x9c)](_0x43f5e4=>{const _0x3ad221=_0x5001c4;_0x14a509[_0x3ad221(0x7e)]('('+_0x43f5e4['trim']()+')');});const _0x456f35='^'+_0x14a509[_0x5001c4(0x95)]('|')+'$';return _0x456f35;}}return null;},a1_0x448410={};a1_0x448410[a1_0xd6ede5(0x9d)]=a1_0xd6ede5(0xf3),a1_0x448410[a1_0xd6ede5(0xb2)]=a1_0xd6ede5(0xf3),a1_0x448410['playwright-firefox']=a1_0xd6ede5(0xc6),a1_0x448410[a1_0xd6ede5(0xa6)]=a1_0xd6ede5(0x87);const pwToCodeceptBrowser=a1_0x448410;function a1_0x369b(_0x46d3ad,_0x2b6214){const _0x5074fe=a1_0x5074();return a1_0x369b=function(_0x369b85,_0x2ca0f6){_0x369b85=_0x369b85-0x7b;let _0x542d55=_0x5074fe[_0x369b85];return _0x542d55;},a1_0x369b(_0x46d3ad,_0x2b6214);}async function run(_0x2b4efa,_0x5daf3f){const _0x11fcab=a1_0xd6ede5,_0x314f20={'sCiHf':function(_0x2f4a03,_0x2b5bcf){return _0x2f4a03+_0x2b5bcf;},'DxkKx':function(_0x3f7e3b,_0x4e847c){return _0x3f7e3b(_0x4e847c);},'DfVQw':function(_0x5b4010,_0x987244,_0x5459e7){return _0x5b4010(_0x987244,_0x5459e7);},'woDul':'config','cZDSn':'helpers','FFiIq':function(_0x1d357b){return _0x1d357b();},'ApONK':_0x11fcab(0xd5),'hcufm':_0x11fcab(0x88),'wqZul':_0x11fcab(0xa8),'ZWxUQ':_0x11fcab(0xe0),'fthFd':'codeceptjs','cNHZh':function(_0x525196,_0x110788){return _0x525196(_0x110788);},'yrgot':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','gKkQl':function(_0xed7718,_0x3c1703,_0x291f39){return _0xed7718(_0x3c1703,_0x291f39);},'bEYCa':'Playwright','fUYkY':_0x11fcab(0x8c),'xCyFl':function(_0x2c9a02,_0x204a23){return _0x2c9a02!=_0x204a23;},'leXMC':_0x11fcab(0xbf),'xpLzi':function(_0x103214,_0x5b0795){return _0x103214+_0x5b0795;},'aMzrN':_0x11fcab(0x9f),'dqtkh':_0x11fcab(0xdb),'MsrBF':function(_0x3ec848,_0x407023){return _0x3ec848(_0x407023);},'dCaKk':function(_0x44967e,_0x59bfac){return _0x44967e*_0x59bfac;},'RSRwA':function(_0x40cef6,_0x287b2b,_0x2d76f0){return _0x40cef6(_0x287b2b,_0x2d76f0);},'EgwOL':_0x11fcab(0x8a),'orget':function(_0x2f4021,_0x2af7f4,_0x5445f2){return _0x2f4021(_0x2af7f4,_0x5445f2);},'eXteM':'desiredCapabilities','yfmEe':'root','npeoR':_0x11fcab(0xa0),'vhhHG':_0x11fcab(0x10a),'UpZtA':function(_0xfe4b85){return _0xfe4b85();}},_0x109aae=new BrowserStackSetup(_0x2b4efa,_0x314f20['fthFd']);await _0x109aae[_0x11fcab(0xa1)](),await helper[_0x11fcab(0xbc)](_0x109aae[_0x11fcab(0x92)]);if(!_0x109aae[_0x11fcab(0x92)])return;process[_0x11fcab(0xcc)]=_0x2b4efa[_0x11fcab(0xcc)];_0x2b4efa[_0x11fcab(0xcc)]&&(process[_0x11fcab(0x7d)][_0x11fcab(0xcc)]=_0x2b4efa[_0x11fcab(0xcc)]);const _0x4c94da=_0x314f20[_0x11fcab(0xc7)](getUserCodeceptJSConfigs,_0x2b4efa,_0x5daf3f);let _0x204f1d={};_0x4c94da?(logger[_0x11fcab(0xb0)](_0x11fcab(0xe7)+_0x4c94da),_0x204f1d=_0x314f20['cNHZh'](require,_0x4c94da)):logger['info'](_0x314f20[_0x11fcab(0xed)]);let _0x3335d0=![];_0x314f20['gKkQl'](nestedKeyValue,_0x204f1d,[_0x314f20['woDul'],_0x314f20['cZDSn'],_0x314f20[_0x11fcab(0xb4)]])&&(_0x3335d0=!![]);const _0x235c10=_0x3335d0?_0x314f20[_0x11fcab(0xb4)]:_0x314f20[_0x11fcab(0x104)];let _0x46a64f=!_0x3335d0?helper[_0x11fcab(0xe4)](_0x109aae['config']):![];!helper[_0x11fcab(0xcd)](_0x109aae['config'][_0x11fcab(0x10f)])&&(process[_0x11fcab(0x7d)][_0x11fcab(0xa5)]=JSON['stringify'](_0x109aae['config'][_0x11fcab(0x10f)]));let _0x28e856=_0x109aae[_0x11fcab(0x92)][_0x11fcab(0xbd)];_0x28e856=_0x28e856||_0x314f20[_0x11fcab(0xab)](checkAccessibilityPlatformConfig,_0x109aae[_0x11fcab(0x92)]),process[_0x11fcab(0x7d)][_0x11fcab(0x8e)]=_0x28e856;_0x28e856&&(_0x46a64f=!_0x28e856);_0x314f20['xCyFl'](_0x109aae[_0x11fcab(0x92)][_0x11fcab(0x108)],null)?process[_0x11fcab(0x7d)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x109aae[_0x11fcab(0x92)][_0x11fcab(0x108)]:process[_0x11fcab(0x7d)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x314f20[_0x11fcab(0xb6)];const _0x477d24=_0x314f20[_0x11fcab(0xd3)](_0x314f20[_0x11fcab(0x101)],_0x314f20['DfVQw'](nestedKeyValue,_0x204f1d,[_0x314f20[_0x11fcab(0xef)],_0x314f20[_0x11fcab(0xb8)]])?_0x314f20['dqtkh']:''),_0x545ad6=await TestHubHandler['launchBuild'](_0x477d24,_0x109aae);_0x28e856&&_0x314f20[_0x11fcab(0x7f)](setAccessibilityCapabilities,_0x109aae[_0x11fcab(0x92)]);const _0x11f5ec={},_0x3dcb7b=[],_0xfa0706=_0x109aae[_0x11fcab(0x92)][_0x11fcab(0x90)]||helper[_0x11fcab(0xba)](_0x2b4efa,_0x5daf3f,_0x109aae[_0x11fcab(0x92)],constants[_0x11fcab(0x7c)]['CODECEPT'])||0x1;let _0x216611=0x1;if(_0x314f20[_0x11fcab(0xe5)](isBrowserstackInfra)){const _0x15e4e1=helper[_0x11fcab(0xf4)](_0x109aae[_0x11fcab(0x92)],_0x46a64f,constants['FRAMEWORKS'][_0x11fcab(0xc0)]);helper[_0x11fcab(0x7b)](_0x109aae[_0x11fcab(0x92)])?_0x216611=_0x314f20[_0x11fcab(0xd4)](_0xfa0706,_0x109aae[_0x11fcab(0x92)][_0x11fcab(0xfa)][_0x11fcab(0xc5)]):_0x216611=_0xfa0706,_0x15e4e1[_0x11fcab(0xc4)](_0x42b1be=>{const _0x4e3d43=_0x11fcab,_0xd295c3={'eKyAu':function(_0x54e4f9,_0x332a06){const _0x3e1cea=a1_0x369b;return _0x314f20[_0x3e1cea(0xfb)](_0x54e4f9,_0x332a06);},'PFyfY':function(_0x150e74,_0x20fb8f){const _0x9a12bf=a1_0x369b;return _0x314f20[_0x9a12bf(0xab)](_0x150e74,_0x20fb8f);}},_0x5c389e=_0x314f20['sCiHf'](helper[_0x4e3d43(0xd1)](_0x42b1be,'_'),'_'+Date[_0x4e3d43(0xd2)]()),_0x2d1e28=((()=>{const _0x45e4ba=_0x4e3d43;if(_0x3335d0){const _0x57411c=pwToCodeceptBrowser[_0x42b1be['browserName']]||_0x42b1be[_0x45e4ba(0x8f)];return{'browser':_0x57411c,[_0x57411c]:{'browserWSEndpoint':_0xd295c3[_0x45e4ba(0xdc)](helper['getPlaywrightUrl'](_0x109aae[_0x45e4ba(0x92)]),_0xd295c3['PFyfY'](encodeURIComponent,JSON[_0x45e4ba(0x97)](_0x42b1be)))}};}const _0x5caf32={};return _0x5caf32['desiredCapabilities']=_0x42b1be,_0x5caf32;})()),_0x3be8ed=_0x314f20[_0x4e3d43(0xc7)](nestedKeyValue,_0x204f1d,[_0x314f20[_0x4e3d43(0xef)],_0x314f20[_0x4e3d43(0xdd)],_0x235c10]);_0x11f5ec[_0x5c389e]=_0x3be8ed?helper[_0x4e3d43(0xbb)](_0x2d1e28,_0x3be8ed):_0x2d1e28,!_0x3335d0&&(_0x11f5ec[_0x5c389e][_0x4e3d43(0x8a)]=_0x42b1be[_0x4e3d43(0x8f)]||_0x2d1e28[_0x4e3d43(0x8a)]),_0x3dcb7b[_0x4e3d43(0x7e)](_0x5c389e);});}else{_0x216611=0x1;if(_0x3335d0){const _0x463973=_0x314f20[_0x11fcab(0xbe)](nestedKeyValue,_0x204f1d,[_0x314f20[_0x11fcab(0xef)],_0x314f20['cZDSn'],_0x235c10,_0x314f20['EgwOL']]),_0x218604=_0x314f20['orget'](nestedKeyValue,_0x204f1d,[_0x314f20['woDul'],_0x314f20[_0x11fcab(0xdd)],_0x235c10,_0x463973]);_0x218604&&_0x218604[_0x11fcab(0xc8)]&&(_0x218604[_0x11fcab(0xc8)]=helper[_0x11fcab(0xf4)](null,null,_0x477d24[_0x11fcab(0xfc)](),null,null,_0x218604[_0x11fcab(0xc8)]));}else _0x204f1d[_0x11fcab(0x92)][_0x314f20[_0x11fcab(0xdd)]][_0x235c10][_0x314f20['eXteM']]=helper[_0x11fcab(0xf4)](null,null,_0x477d24[_0x11fcab(0xfc)](),_0x314f20[_0x11fcab(0xde)](nestedKeyValue,_0x204f1d,[_0x314f20[_0x11fcab(0xef)],_0x314f20[_0x11fcab(0xdd)],_0x235c10,_0x314f20[_0x11fcab(0xb9)]]),null,null);_0x11f5ec[_0x314f20[_0x11fcab(0x82)]]=_0x204f1d['config'],_0x3dcb7b['push'](_0x314f20[_0x11fcab(0x82)]);}const _0x367be9={};_0x367be9[_0x11fcab(0x9a)]=_0x4c94da;const _0x2e224d=_0x367be9,_0x59e5fe=path['join'](__dirname,_0x314f20[_0x11fcab(0x107)]),_0x305918=process[_0x11fcab(0xae)]();process[_0x11fcab(0x7d)][_0x314f20['vhhHG']]=_0x305918,process[_0x11fcab(0xd9)](path[_0x11fcab(0x89)](_0x4c94da));const _0x150503=new CodeceptJS['Workers'](null,_0x2e224d),_0x1638d0=_0x150503[_0x11fcab(0x100)](_0x216611),_0x1ab951=testOpsHelper[_0x11fcab(0x105)](),_0xa1b8cc=_0x3dcb7b[_0x11fcab(0x9c)](_0x11185b=>{const _0x1db5a2=_0x11fcab,_0x33f731={};_0x33f731[_0x1db5a2(0x10c)]=_0x11f5ec[_0x11185b];const _0x387b01={};_0x387b01[_0x1db5a2(0x8c)]=_0x11f5ec[_0x11185b];const _0x79a8fe=_0x3335d0?_0x33f731:_0x387b01,_0x3fb442=_0x314f20[_0x1db5a2(0xe5)](getO11yRerunPattern),_0x83afe1={};_0x83afe1['helpers']=_0x79a8fe;const _0x350247={};_0x350247[_0x1db5a2(0xc3)]=_0x59e5fe,_0x350247[_0x1db5a2(0xf6)]=!![],_0x350247['skipSessionName']=_0x109aae[_0x1db5a2(0x92)]['testContextOptions'][_0x1db5a2(0xe2)],_0x350247[_0x1db5a2(0xa3)]=_0x109aae[_0x1db5a2(0x92)][_0x1db5a2(0xdf)]['skipSessionStatus'],_0x350247[_0x1db5a2(0x108)]=_0x1ab951,_0x350247['frameworkName']=_0x477d24;const _0x3e7957={};_0x3e7957[_0x1db5a2(0xc2)]=_0x350247;const _0xfa3d7f={};return _0xfa3d7f[_0x1db5a2(0xe8)]=_0x3e7957,helper[_0x1db5a2(0xbb)]({},_0x204f1d['config'],_0x314f20[_0x1db5a2(0xe5)](isBrowserstackInfra)?_0x83afe1:{},_0x3fb442?{'grep':_0x3fb442}:{},_0xfa3d7f);});for(const _0x2cd121 of _0xa1b8cc){for(const _0x2672ee of _0x1638d0){const _0x48b877=_0x150503[_0x11fcab(0xcf)]();_0x48b877['addTests'](_0x2672ee),_0x48b877[_0x11fcab(0x93)](_0x2cd121);}}_0x150503['on'](CodeceptJS[_0x11fcab(0xa4)]['test'][_0x11fcab(0x102)],(_0xa33df6,_0xd0c6f)=>{const _0x4de0a8=_0x11fcab;console[_0x4de0a8(0xfd)](_0x314f20['ApONK'],_0xa33df6[_0x4de0a8(0x9b)]);const _0x324bfc={[_0xa33df6[_0x4de0a8(0x9b)]]:_0xa33df6[_0x4de0a8(0x84)][_0x4de0a8(0xee)]};_testErrorData['push'](_0x324bfc);}),_0x150503['on'](CodeceptJS[_0x11fcab(0xa4)][_0x11fcab(0x9e)]['passed'],async _0x720d96=>{const _0x68b5b2=_0x11fcab;console['log'](_0x314f20[_0x68b5b2(0x83)],_0x720d96[_0x68b5b2(0x9b)]);}),_0x150503['on'](CodeceptJS[_0x11fcab(0xa4)][_0x11fcab(0x9e)][_0x11fcab(0x10e)],async _0x4e870b=>{const _0x234c86=_0x11fcab;console[_0x234c86(0xfd)](_0x314f20[_0x234c86(0xf1)],_0x4e870b[_0x234c86(0x9b)]);}),_0x150503['on'](CodeceptJS[_0x11fcab(0xa4)][_0x11fcab(0x80)][_0x11fcab(0x10b)],async()=>{const _0x5d4880=_0x11fcab,_0x1f8b26=_0x314f20[_0x5d4880(0xa2)]['split']('|');let _0x2a6270=0x0;while(!![]){switch(_0x1f8b26[_0x2a6270++]){case'0':_0x109aae[_0x5d4880(0xac)]=_testErrorData;continue;case'1':try{await TestHubHandler[_0x5d4880(0xea)]();}catch(_0x3b50fb){logger[_0x5d4880(0xa7)](_0x5d4880(0xe1)+util[_0x5d4880(0xe6)](_0x3b50fb));}continue;case'2':helper[_0x5d4880(0x10d)](_0x109aae);continue;case'3':testOpsHelper[_0x5d4880(0xb5)]();continue;case'4':_0x150503[_0x5d4880(0x8b)]();continue;}break;}});async function _0x213a97(){const _0x385b96=_0x11fcab;try{await _0x150503[_0x385b96(0x109)](),await _0x150503[_0x385b96(0xe9)]();}finally{process[_0x385b96(0xd9)](_0x305918),await _0x150503['teardownAll']();}}_0x314f20[_0x11fcab(0xda)](_0x213a97);}module[a1_0xd6ede5(0x96)]=run;
|
|
2
|
+
'use strict';const a2_0x45ffcb=a2_0x342b;(function(_0x46b1d0,_0x3e1377){const _0x53b7b8=a2_0x342b,_0x5df8ff=_0x46b1d0();while(!![]){try{const _0x3cfcdf=parseInt(_0x53b7b8(0x97))/0x1*(parseInt(_0x53b7b8(0x83))/0x2)+parseInt(_0x53b7b8(0x100))/0x3+parseInt(_0x53b7b8(0x102))/0x4+-parseInt(_0x53b7b8(0xe2))/0x5+-parseInt(_0x53b7b8(0xea))/0x6+parseInt(_0x53b7b8(0xba))/0x7+-parseInt(_0x53b7b8(0x96))/0x8;if(_0x3cfcdf===_0x3e1377)break;else _0x5df8ff['push'](_0x5df8ff['shift']());}catch(_0x1da368){_0x5df8ff['push'](_0x5df8ff['shift']());}}}(a2_0x37f0,0xee765));function a2_0x342b(_0x539057,_0x368671){const _0x37f019=a2_0x37f0();return a2_0x342b=function(_0x342b3c,_0x11273e){_0x342b3c=_0x342b3c-0x83;let _0x512580=_0x37f019[_0x342b3c];return _0x512580;},a2_0x342b(_0x539057,_0x368671);}const fs=require('fs'),path=require('path'),util=require(a2_0x45ffcb(0xb7)),{spawn}=require('child_process'),process=require(a2_0x45ffcb(0xb8)),logger=require(a2_0x45ffcb(0xae))[a2_0x45ffcb(0x115)],{default:BrowserStackSetup}=require(a2_0x45ffcb(0x113)),helper=require(a2_0x45ffcb(0xfc)),{createAccessibilityTestRun,stopAccessibilityTestRun,checkAccessibilityPlatformConfig}=require(a2_0x45ffcb(0x87)),{setAccessibilityCapabilities}=require(a2_0x45ffcb(0x89)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x45ffcb(0xfc)),CodeceptJS=requireModule(a2_0x45ffcb(0xc2)),SessionHandler=require('../../helpers/test-observability/sessionHandler'),testOpsHelper=require(a2_0x45ffcb(0x106)),{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),TestHubHandler=require('../../helpers/testhub/testhubHandler'),constants=require(a2_0x45ffcb(0xc8)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x50672a,_0x384c50)=>{const _0x212a95=a2_0x45ffcb,_0x305924={};_0x305924[_0x212a95(0x8c)]=function(_0x2af34d,_0x43d3fe){return _0x2af34d===_0x43d3fe;},_0x305924[_0x212a95(0xe5)]=_0x212a95(0xd3),_0x305924[_0x212a95(0xd9)]=_0x212a95(0xcd);const _0x48e894=_0x305924;let _0x311903=null;const _0x3bf438={};let _0x5d520a=_0x384c50['findIndex'](_0x426b23=>_0x426b23===_0x212a95(0xc9));_0x48e894['TkPEk'](_0x5d520a,-0x1)&&(_0x5d520a=_0x384c50[_0x212a95(0xa6)](_0x131e2d=>_0x131e2d==='-c'));if(!helper[_0x212a95(0xf4)](_0x50672a[_0x212a95(0x10d)])&&fs[_0x212a95(0x8a)](path[_0x212a95(0xf6)](process[_0x212a95(0xe1)](),_0x50672a[_0x212a95(0x10d)])))_0x311903=path[_0x212a95(0xf6)](process[_0x212a95(0xe1)](),_0x50672a[_0x212a95(0x10d)]),_0x384c50[_0x212a95(0xfd)](_0x5d520a,0x2);else{if(!helper[_0x212a95(0xf4)](_0x50672a['c'])&&fs[_0x212a95(0x8a)](path[_0x212a95(0xf6)](process[_0x212a95(0xe1)](),_0x50672a['c'])))_0x311903=path[_0x212a95(0xf6)](process['cwd'](),_0x50672a['c']),_0x384c50[_0x212a95(0xfd)](_0x5d520a,0x2);else{if(fs[_0x212a95(0x8a)](path['join'](process['cwd'](),_0x48e894[_0x212a95(0xe5)])))_0x311903=path[_0x212a95(0xf6)](process[_0x212a95(0xe1)](),_0x48e894['jMJYM']);else fs[_0x212a95(0x8a)](path[_0x212a95(0xf6)](process[_0x212a95(0xe1)](),_0x48e894[_0x212a95(0xd9)]))&&(_0x311903=path[_0x212a95(0xf6)](process[_0x212a95(0xe1)](),_0x48e894['anQOS']));}}return _0x311903;},getO11yRerunPattern=()=>{const _0x11dfba=a2_0x45ffcb,_0x4d9f1e={};_0x4d9f1e['UHSQK']=function(_0x17f462,_0x211187){return _0x17f462!==_0x211187;},_0x4d9f1e[_0x11dfba(0xce)]=_0x11dfba(0xbc);const _0xf31598=_0x4d9f1e,_0x240839=helper[_0x11dfba(0xbf)](process[_0x11dfba(0xaf)]['BROWSERSTACK_RERUN']);if(_0x240839){const _0x35c2d8=process[_0x11dfba(0xaf)][_0x11dfba(0xc4)],_0x4ba780=[];if(_0xf31598[_0x11dfba(0x85)](_0x35c2d8,_0xf31598[_0x11dfba(0xce)])&&!helper[_0x11dfba(0xf4)](_0x35c2d8)){_0x35c2d8[_0x11dfba(0xa3)](',')['map'](_0x35dcdd=>{const _0x4dc5e5=_0x11dfba;_0x4ba780[_0x4dc5e5(0xd7)]('('+_0x35dcdd['trim']()+')');});const _0x1612e8='^'+_0x4ba780['join']('|')+'$';return _0x1612e8;}}return null;},a2_0x46266b={};a2_0x46266b[a2_0x45ffcb(0x108)]='chromium',a2_0x46266b[a2_0x45ffcb(0x8d)]=a2_0x45ffcb(0xdb),a2_0x46266b['playwright-firefox']=a2_0x45ffcb(0xb5),a2_0x46266b[a2_0x45ffcb(0xc6)]='webkit';const pwToCodeceptBrowser=a2_0x46266b;async function run(_0x6a8821,_0x5a79ca){const _0x48868f=a2_0x45ffcb,_0x29476c={'MUInV':function(_0x53843e,_0x27dacc){return _0x53843e+_0x27dacc;},'YeDcg':function(_0x6f5569,_0x42d53f){return _0x6f5569(_0x42d53f);},'jECbO':function(_0x1d6b61,_0x11e6f7){return _0x1d6b61+_0x11e6f7;},'qzftw':function(_0x3c6d37,_0x2ea7d9,_0x30d16f){return _0x3c6d37(_0x2ea7d9,_0x30d16f);},'HwQJw':'config','TzCBr':_0x48868f(0xb3),'vsUqy':function(_0x3f76f5){return _0x3f76f5();},'rGRgk':_0x48868f(0x112),'pYdpC':_0x48868f(0xe0),'oeIli':'Started\x20:\x20','TCWpk':_0x48868f(0xcb),'fvNWj':_0x48868f(0x8e),'XrEYV':function(_0x55259a,_0x3a3b30,_0x15dec6){return _0x55259a(_0x3a3b30,_0x15dec6);},'fjSfv':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','dpJOm':_0x48868f(0xfe),'agFqW':_0x48868f(0x101),'jDVVf':function(_0x4c5591,_0x221462){return _0x4c5591(_0x221462);},'mFgoj':function(_0x2088e2,_0xbd3dd8){return _0x2088e2!=_0xbd3dd8;},'CrXdI':_0x48868f(0x95),'hWqgw':function(_0x2e544d,_0x2445ff){return _0x2e544d+_0x2445ff;},'RMrDQ':_0x48868f(0xec),'vfrDY':'-cucumber','jAyRW':function(_0x579990){return _0x579990();},'VXRiP':function(_0x483b48,_0x466a3b){return _0x483b48*_0x466a3b;},'otKHg':'browser','jnYFc':function(_0x17f8ac,_0x1c95b1,_0x169972){return _0x17f8ac(_0x1c95b1,_0x169972);},'PdEPR':_0x48868f(0xcf),'bvKeY':function(_0x3ca843,_0x591003,_0x50b395){return _0x3ca843(_0x591003,_0x50b395);},'gbHnu':_0x48868f(0xb6),'HQaJu':_0x48868f(0xa1),'LpiUt':'browserStackCwd','kqfEv':function(_0x5f4c8b){return _0x5f4c8b();}},_0xaca9b8=new BrowserStackSetup(_0x6a8821,_0x29476c[_0x48868f(0x91)]);await _0xaca9b8['initialize'](),await helper[_0x48868f(0x9f)](_0xaca9b8['config']);if(!_0xaca9b8[_0x48868f(0x10d)])return;process['profile']=_0x6a8821[_0x48868f(0xfa)];_0x6a8821[_0x48868f(0xfa)]&&(process[_0x48868f(0xaf)][_0x48868f(0xfa)]=_0x6a8821[_0x48868f(0xfa)]);const _0x3d587a=_0x29476c[_0x48868f(0x116)](getUserCodeceptJSConfigs,_0x6a8821,_0x5a79ca);let _0x3b8cb2={};_0x3d587a?(logger[_0x48868f(0xd5)](_0x48868f(0x104)+_0x3d587a),_0x3b8cb2=_0x29476c[_0x48868f(0xf7)](require,_0x3d587a)):logger[_0x48868f(0xd5)](_0x29476c['fjSfv']);let _0x782cfe=![];_0x29476c[_0x48868f(0xb2)](nestedKeyValue,_0x3b8cb2,[_0x29476c['HwQJw'],_0x29476c[_0x48868f(0xc1)],_0x29476c[_0x48868f(0xd6)]])&&(_0x782cfe=!![]);const _0x2174e1=_0x782cfe?_0x29476c[_0x48868f(0xd6)]:_0x29476c['agFqW'];let _0x31f80e=!_0x782cfe?helper[_0x48868f(0xc0)](_0xaca9b8[_0x48868f(0x10d)]):![];!helper[_0x48868f(0xf4)](_0xaca9b8[_0x48868f(0x10d)][_0x48868f(0x105)])&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x48868f(0xdf)](_0xaca9b8[_0x48868f(0x10d)][_0x48868f(0x105)]));let _0x52fb73=_0xaca9b8[_0x48868f(0x10d)][_0x48868f(0xb9)];_0x52fb73=_0x52fb73||_0x29476c[_0x48868f(0x117)](checkAccessibilityPlatformConfig,_0xaca9b8['config']),process[_0x48868f(0xaf)][_0x48868f(0x9a)]=_0x52fb73;_0x52fb73&&(_0x31f80e=!_0x52fb73);_0x29476c[_0x48868f(0xa7)](_0xaca9b8[_0x48868f(0x10d)][_0x48868f(0x84)],null)?process[_0x48868f(0xaf)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0xaca9b8[_0x48868f(0x10d)][_0x48868f(0x84)]:process[_0x48868f(0xaf)][_0x48868f(0x9d)]=_0x29476c[_0x48868f(0x111)];const _0x4e915d=_0x29476c['hWqgw'](_0x29476c[_0x48868f(0x91)],_0x29476c[_0x48868f(0x116)](nestedKeyValue,_0x3b8cb2,[_0x29476c[_0x48868f(0xeb)],_0x29476c[_0x48868f(0xac)]])?_0x29476c[_0x48868f(0xb0)]:''),_0x4a8f2e=await TestHubHandler['launchBuild'](_0x4e915d,_0xaca9b8);_0x52fb73&&_0x29476c[_0x48868f(0xf7)](setAccessibilityCapabilities,_0xaca9b8[_0x48868f(0x10d)]);const _0x4694a3={},_0x41362f=[],_0x1a4571=_0xaca9b8[_0x48868f(0x10d)][_0x48868f(0xf8)]||helper[_0x48868f(0x92)](_0x6a8821,_0x5a79ca,_0xaca9b8[_0x48868f(0x10d)],constants[_0x48868f(0xc3)]['CODECEPT'])||0x1;let _0x35a91b=0x1;if(_0x29476c[_0x48868f(0xda)](isBrowserstackInfra)){const _0x3c4edb=helper[_0x48868f(0xbd)](_0xaca9b8[_0x48868f(0x10d)],_0x31f80e,constants[_0x48868f(0xc3)][_0x48868f(0x9c)]);helper[_0x48868f(0xee)](_0xaca9b8['config'])?_0x35a91b=_0x29476c[_0x48868f(0xd8)](_0x1a4571,_0xaca9b8['config'][_0x48868f(0xe6)][_0x48868f(0xf5)]):_0x35a91b=_0x1a4571,_0x3c4edb[_0x48868f(0xf2)](_0x297a83=>{const _0x51a51c=_0x48868f,_0x3cff66={'nvyqX':function(_0x2f12f3,_0x422500){const _0x1af69c=a2_0x342b;return _0x29476c[_0x1af69c(0x88)](_0x2f12f3,_0x422500);},'YKEIv':function(_0x320cbe,_0x2b822f){const _0x2e2296=a2_0x342b;return _0x29476c[_0x2e2296(0xf7)](_0x320cbe,_0x2b822f);}},_0x198c9d=_0x29476c['jECbO'](helper[_0x51a51c(0x107)](_0x297a83,'_'),'_'+Date[_0x51a51c(0x10c)]()),_0xa4ed28=((()=>{const _0x1eb34b=_0x51a51c;if(_0x782cfe){const _0x5440ec=pwToCodeceptBrowser[_0x297a83['browserName']]||_0x297a83['browserName'];return{'browser':_0x5440ec,[_0x5440ec]:{'browserWSEndpoint':_0x3cff66[_0x1eb34b(0xe3)](helper[_0x1eb34b(0x98)](_0xaca9b8[_0x1eb34b(0x10d)]),_0x3cff66[_0x1eb34b(0xbb)](encodeURIComponent,JSON[_0x1eb34b(0xdf)](_0x297a83)))}};}const _0x16b6f4={};return _0x16b6f4[_0x1eb34b(0xcf)]=_0x297a83,_0x16b6f4;})()),_0x456741=_0x29476c[_0x51a51c(0xb2)](nestedKeyValue,_0x3b8cb2,[_0x29476c[_0x51a51c(0xeb)],_0x29476c['TzCBr'],_0x2174e1]);_0x4694a3[_0x198c9d]=_0x456741?helper['mergeDeep'](_0xa4ed28,_0x456741):_0xa4ed28,!_0x782cfe&&(_0x4694a3[_0x198c9d][_0x51a51c(0xbe)]=_0x297a83[_0x51a51c(0xf1)]||_0xa4ed28['browser']),_0x41362f[_0x51a51c(0xd7)](_0x198c9d);});}else{_0x35a91b=0x1;if(_0x782cfe){const _0x565e2a=_0x29476c[_0x48868f(0x116)](nestedKeyValue,_0x3b8cb2,[_0x29476c[_0x48868f(0xeb)],_0x29476c[_0x48868f(0xc1)],_0x2174e1,_0x29476c[_0x48868f(0xf0)]]),_0x1e6d16=_0x29476c[_0x48868f(0x103)](nestedKeyValue,_0x3b8cb2,[_0x29476c[_0x48868f(0xeb)],_0x29476c[_0x48868f(0xc1)],_0x2174e1,_0x565e2a]);_0x1e6d16&&_0x1e6d16[_0x48868f(0xdc)]&&(_0x1e6d16[_0x48868f(0xdc)]=helper[_0x48868f(0xbd)](null,null,_0x4e915d[_0x48868f(0xad)](),null,null,_0x1e6d16[_0x48868f(0xdc)]));}else _0x3b8cb2[_0x48868f(0x10d)][_0x29476c['TzCBr']][_0x2174e1][_0x29476c[_0x48868f(0xf3)]]=helper[_0x48868f(0xbd)](null,null,_0x4e915d[_0x48868f(0xad)](),_0x29476c[_0x48868f(0x10f)](nestedKeyValue,_0x3b8cb2,[_0x29476c['HwQJw'],_0x29476c[_0x48868f(0xc1)],_0x2174e1,_0x29476c[_0x48868f(0xf3)]]),null,null);_0x4694a3[_0x29476c[_0x48868f(0x10e)]]=_0x3b8cb2[_0x48868f(0x10d)],_0x41362f[_0x48868f(0xd7)](_0x29476c[_0x48868f(0x10e)]);}const _0x2abfe3={};_0x2abfe3[_0x48868f(0x94)]=_0x3d587a;const _0x3cbaf8=_0x2abfe3,_0x481cff=path['join'](__dirname,_0x29476c[_0x48868f(0xe9)]),_0x6adf73=process['cwd']();process[_0x48868f(0xaf)][_0x29476c[_0x48868f(0x9b)]]=_0x6adf73,process[_0x48868f(0xcc)](path[_0x48868f(0xff)](_0x3d587a));const _0x2c3347=new CodeceptJS['Workers'](null,_0x3cbaf8),_0x3a2e4f=_0x2c3347[_0x48868f(0x10a)](_0x35a91b),_0x2051af=testOpsHelper[_0x48868f(0x8b)](),_0x36affe=_0x41362f[_0x48868f(0xc5)](_0x57dd3f=>{const _0x3ee6ff=_0x48868f,_0xa64f08={};_0xa64f08[_0x3ee6ff(0xfe)]=_0x4694a3[_0x57dd3f];const _0x1d36cd={};_0x1d36cd[_0x3ee6ff(0x101)]=_0x4694a3[_0x57dd3f];const _0x2973ef=_0x782cfe?_0xa64f08:_0x1d36cd,_0x360ce5=_0x29476c[_0x3ee6ff(0xa8)](getO11yRerunPattern),_0x77e54a={};_0x77e54a['helpers']=_0x2973ef;const _0x20ac07={};_0x20ac07[_0x3ee6ff(0xa9)]=_0x481cff,_0x20ac07[_0x3ee6ff(0xe7)]=!![],_0x20ac07[_0x3ee6ff(0xd2)]=_0xaca9b8[_0x3ee6ff(0x10d)][_0x3ee6ff(0xb1)][_0x3ee6ff(0xd2)],_0x20ac07['skipSessionStatus']=_0xaca9b8[_0x3ee6ff(0x10d)][_0x3ee6ff(0xb1)][_0x3ee6ff(0xe8)],_0x20ac07['testObservability']=_0x2051af,_0x20ac07[_0x3ee6ff(0xd4)]=_0x4e915d;const _0x1350f0={};_0x1350f0[_0x3ee6ff(0xa4)]=_0x20ac07;const _0x30d573={};return _0x30d573[_0x3ee6ff(0x90)]=_0x1350f0,helper[_0x3ee6ff(0x114)]({},_0x3b8cb2['config'],_0x29476c[_0x3ee6ff(0xa8)](isBrowserstackInfra)?_0x77e54a:{},_0x360ce5?{'grep':_0x360ce5}:{},_0x30d573);});for(const _0x441091 of _0x36affe){for(const _0x320464 of _0x3a2e4f){const _0x3fa025=_0x2c3347['spawn']();_0x3fa025[_0x48868f(0xde)](_0x320464),_0x3fa025[_0x48868f(0xa2)](_0x441091);}}_0x2c3347['on'](CodeceptJS[_0x48868f(0xa0)]['test'][_0x48868f(0xf9)],(_0xe64e44,_0x3c82e6)=>{const _0x4e8706=_0x48868f;console['log'](_0x29476c[_0x4e8706(0xca)],_0xe64e44[_0x4e8706(0xb4)]);const _0x42629a={[_0xe64e44[_0x4e8706(0xb4)]]:_0xe64e44[_0x4e8706(0x8f)][_0x4e8706(0x93)]};_testErrorData[_0x4e8706(0xd7)](_0x42629a);}),_0x2c3347['on'](CodeceptJS['event']['test'][_0x48868f(0xd0)],async _0x3427e4=>{const _0x198921=_0x48868f;console[_0x198921(0xab)](_0x29476c[_0x198921(0xd1)],_0x3427e4[_0x198921(0xb4)]);}),_0x2c3347['on'](CodeceptJS[_0x48868f(0xa0)]['test'][_0x48868f(0xaa)],async _0x371753=>{const _0x46bc1e=_0x48868f;console[_0x46bc1e(0xab)](_0x29476c[_0x46bc1e(0x110)],_0x371753[_0x46bc1e(0xb4)]);}),_0x2c3347['on'](CodeceptJS[_0x48868f(0xa0)][_0x48868f(0x9e)][_0x48868f(0xed)],async()=>{const _0x2a0592=_0x48868f,_0xf22aa4=_0x29476c[_0x2a0592(0x10b)][_0x2a0592(0xa3)]('|');let _0x25e2a9=0x0;while(!![]){switch(_0xf22aa4[_0x25e2a9++]){case'0':_0x2c3347[_0x2a0592(0xfb)]();continue;case'1':_0xaca9b8['errorMessage']=_testErrorData;continue;case'2':testOpsHelper[_0x2a0592(0xa5)]();continue;case'3':helper['finalExecution'](_0xaca9b8);continue;case'4':try{await TestHubHandler[_0x2a0592(0x109)]();}catch(_0x148bab){logger[_0x2a0592(0x99)](_0x2a0592(0xdd)+util[_0x2a0592(0xe4)](_0x148bab));}continue;}break;}});async function _0xa3331f(){const _0x16dbde=_0x48868f;try{await _0x2c3347[_0x16dbde(0x86)](),await _0x2c3347['run']();}finally{process[_0x16dbde(0xcc)](_0x6adf73),await _0x2c3347[_0x16dbde(0xef)]();}}_0x29476c[_0x48868f(0xc7)](_0xa3331f);}function a2_0x37f0(){const _0x1aeeba=['isUndefined','length','join','YeDcg','parallelsPerPlatform','failed','profile','printResults','../../helpers/helper','slice','Playwright','dirname','4882872PeknrM','WebDriver','6688416qeRySm','jnYFc','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','accessibilityOptions','../../helpers/test-observability/utils','getPlatformName','chrome','stop','createGroupsOfSuites','TCWpk','now','config','gbHnu','bvKeY','oeIli','CrXdI','Failed\x20:\x20','../../helpers/BrowserStackSetup','mergeDeep','winstonLogger','XrEYV','jDVVf','8Pgzdqm','testObservability','UHSQK','bootstrapAll','../../helpers/accessibility-automation/helper','MUInV','../../bin/playwright/accessibility-helper','existsSync','isTestObservabilitySession','TkPEk','playwright-chromium','codeceptjs','err','plugins','fvNWj','getUserWorkerCount','stack','testConfig','false','7108800QaPgAp','181761epTLCn','getPlaywrightUrl','debug','BROWSERSTACK_TEST_ACCESSIBILITY_YML','LpiUt','CODECEPT','BROWSERSTACK_TEST_OBSERVABILITY_YML','all','handleApp','event','BrowserStackPlugin.js','addConfig','split','BrowserStackPlugin','printBuildLink','findIndex','mFgoj','vsUqy','require','before','log','RMrDQ','toLowerCase','../../helpers/logger','env','vfrDY','testContextOptions','qzftw','helpers','title','firefox','root','util','process','accessibility','1295406FfHSRX','YKEIv','null','prepareCapabilities','browser','isTrue','useW3C','TzCBr','codeceptjs/lib/index.js','FRAMEWORKS','BROWSERSTACK_RERUN_TESTS','map','playwright-webkit','kqfEv','../utils/constants','--config','rGRgk','1|2|3|4|0','chdir','codecept.json','GAZhY','desiredCapabilities','passed','pYdpC','skipSessionName','codecept.conf.js','frameworkName','info','dpJOm','push','VXRiP','anQOS','jAyRW','chromium','browserWSEndpoint','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','addTests','stringify','Passed\x20:\x20','cwd','2787090GqZNDI','nvyqX','format','jMJYM','platforms','enabled','skipSessionStatus','HQaJu','10734426OZPMmd','HwQJw','gherkin','result','validPlatformsPresent','teardownAll','otKHg','browserName','forEach','PdEPR'];a2_0x37f0=function(){return _0x1aeeba;};return a2_0x37f0();}module['exports']=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a3_0x276329=a3_0x1264;function a3_0x382e(){const _0x226b1a=['includes','YVZwE','name','rTMsL','accessibilityPlatform','winstonLogger','appium:app','bsSessionId','RgntI','KNdtA','21nPkxPN','kjooz','tsYkC','192yOuerg','987056kOxKBK','MkRsp','WExcS','CAYQm','AbFkN','bstack:options','../../bin/playwright/sessionDetails','browserName','ewmgS','browser_version','ARUwp','qIkGa','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','../../helpers/accessibility-automation/helper','KgKKk','constructor','EBoJk','VeSxK','WebDriver','platform_version','platform','caps','chrome','os_version','HkdSP','config','processWebDriverConfig','capabilities','browserstack_executor','osVersion','platformName','JsNtI','15210sNJKoS','warn','desiredCapabilities','app-automate','parse','12570998aPJhPK','cloudProvider','Fvpdm','CQtxc','../../helpers/logger','PlIgS','shouldPatchExecuteScript','33640zvGcri','SSpKd','browserVersion','browserstack','WUZWe','1197WeFnxj','unknown_grid','JivGP','1558712lkJeUG','3TvQvDg','deviceName','veIkS','Playwright','zrjSa','get','wFIud','YihCN','playwright-chromium','JZGEF','platformVersion','OkKXn','sessionId','../../helpers/helper','580518XQKbtp','739228odmWRO','latest','aqrcO','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','fetchPlatformDetails','__cloud_provider___','browser','browserWSEndpoint','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.'];a3_0x382e=function(){return _0x226b1a;};return a3_0x382e();}(function(_0x621c06,_0x29b1a6){const _0x406952=a3_0x1264,_0x598384=_0x621c06();while(!![]){try{const _0x5b1b2f=parseInt(_0x406952(0x10f))/0x1+-parseInt(_0x406952(0x110))/0x2+parseInt(_0x406952(0x101))/0x3*(parseInt(_0x406952(0x127))/0x4)+parseInt(_0x406952(0xf8))/0x5*(parseInt(_0x406952(0x126))/0x6)+-parseInt(_0x406952(0x123))/0x7*(-parseInt(_0x406952(0x100))/0x8)+-parseInt(_0x406952(0xfd))/0x9*(-parseInt(_0x406952(0xec))/0xa)+-parseInt(_0x406952(0xf1))/0xb;if(_0x5b1b2f===_0x29b1a6)break;else _0x598384['push'](_0x598384['shift']());}catch(_0x6807a8){_0x598384['push'](_0x598384['shift']());}}}(a3_0x382e,0x4d61c));function a3_0x1264(_0x1695ad,_0x3f7211){const _0x382e3b=a3_0x382e();return a3_0x1264=function(_0x1264ae,_0x211861){_0x1264ae=_0x1264ae-0xe5;let _0x5f2aa8=_0x382e3b[_0x1264ae];return _0x5f2aa8;},a3_0x1264(_0x1695ad,_0x3f7211);}const {isUndefined,nestedKeyValue}=require(a3_0x276329(0x10e)),logger=require(a3_0x276329(0xf5))[a3_0x276329(0x11e)],PlaywrightSessionDetails=require(a3_0x276329(0x12d)),{isAccessibilityAutomationSession}=require(a3_0x276329(0x134)),getOSVersionFromCaps=_0x1787d3=>{const _0x5e363e=a3_0x276329,_0x4b0aa1={};_0x4b0aa1[_0x5e363e(0x12b)]=_0x5e363e(0x12c),_0x4b0aa1[_0x5e363e(0x11a)]=_0x5e363e(0x10b),_0x4b0aa1[_0x5e363e(0x132)]=_0x5e363e(0x13a),_0x4b0aa1[_0x5e363e(0x10a)]=_0x5e363e(0xe9),_0x4b0aa1[_0x5e363e(0xf4)]=_0x5e363e(0x13e);const _0x54bd8d=_0x4b0aa1;if(!_0x1787d3)return null;const _0x4e691d=_0x1787d3[_0x54bd8d[_0x5e363e(0x12b)]],_0x5af8a0=[_0x54bd8d[_0x5e363e(0x11a)],_0x54bd8d[_0x5e363e(0x132)],_0x54bd8d[_0x5e363e(0x10a)],_0x54bd8d[_0x5e363e(0xf4)]];for(const _0x48d889 of _0x5af8a0){if(_0x4e691d&&_0x4e691d[_0x48d889])return _0x4e691d[_0x48d889];else{if(_0x1787d3[_0x48d889])return _0x1787d3[_0x48d889];}}return null;};exports[a3_0x276329(0x114)]=_0x8b1595=>{const _0x435791=a3_0x276329,_0x784b80={'YihCN':_0x435791(0xfe),'Fvpdm':function(_0x25481a,_0x1e0594){return _0x25481a===_0x1e0594;},'JivGP':_0x435791(0x139),'wFIud':function(_0x59bdf1,_0x4a3ef3){return _0x59bdf1(_0x4a3ef3);},'RgntI':function(_0x5b07da,_0x5c7b32,_0xd51ae){return _0x5b07da(_0x5c7b32,_0xd51ae);},'JsNtI':_0x435791(0xe5),'SSpKd':_0x435791(0xee),'VeSxK':_0x435791(0xfb),'ewmgS':_0x435791(0x11f),'CAYQm':'app','zrjSa':_0x435791(0xef),'WUZWe':'automate','zZfRT':function(_0x5821e8,_0x282e24){return _0x5821e8===_0x282e24;},'aqrcO':_0x435791(0x104),'rTMsL':function(_0x38600d,_0x8761e,_0x380f6f){return _0x38600d(_0x8761e,_0x380f6f);},'wwiaI':_0x435791(0x116),'veIkS':_0x435791(0x117),'EBoJk':_0x435791(0x13c)};if(!_0x8b1595)return null;let _0x574a3d=global[_0x435791(0x115)]||_0x784b80[_0x435791(0x108)];if(_0x784b80[_0x435791(0xf3)](_0x8b1595[_0x435791(0x136)][_0x435791(0x11b)],_0x784b80[_0x435791(0xff)])){const _0x2d016e=_0x8b1595[_0x435791(0x116)];if(!_0x2d016e)return null;const _0x841af3=_0x2d016e[_0x435791(0xe7)],_0x320f9a=_0x784b80[_0x435791(0x107)](getOSVersionFromCaps,_0x784b80[_0x435791(0x121)](nestedKeyValue,_0x8b1595,[_0x784b80[_0x435791(0xeb)],_0x784b80[_0x435791(0xf9)]]));return{[_0x574a3d]:{'browser':_0x841af3[_0x435791(0x12e)],'browser_version':_0x841af3[_0x435791(0xfa)],'capabilities':_0x841af3,'platform':_0x841af3[_0x435791(0xea)],'platform_version':_0x841af3[_0x435791(0x10b)]||_0x320f9a,'product':_0x784b80['Fvpdm'](global[_0x435791(0x115)],_0x784b80[_0x435791(0x138)])?_0x841af3[_0x784b80['ewmgS']]||_0x841af3[_0x784b80[_0x435791(0x12a)]]?_0x784b80['zrjSa']:_0x784b80[_0x435791(0xfc)]:null,'session_id':_0x2d016e[_0x435791(0x10d)]}};}else{if(_0x784b80['zZfRT'](_0x8b1595['constructor'][_0x435791(0x11b)],_0x784b80[_0x435791(0x112)])){const _0x5c9fbd=PlaywrightSessionDetails['getDetails']();_0x574a3d=_0x5c9fbd[_0x435791(0xf2)]||_0x574a3d;const _0x5ce6e6=_0x784b80[_0x435791(0x11c)](nestedKeyValue,_0x8b1595,[_0x784b80[_0x435791(0xeb)],_0x784b80['wwiaI'],_0x784b80[_0x435791(0x103)]]),_0x59db5f=_0x5ce6e6?JSON[_0x435791(0xf0)](new URL(_0x5ce6e6)['searchParams'][_0x435791(0x106)](_0x784b80[_0x435791(0x137)])):{};return{[_0x574a3d]:{'browser':_0x5c9fbd[_0x435791(0x116)]||_0x59db5f[_0x435791(0x12e)],'browser_version':_0x5c9fbd[_0x435791(0x130)]||_0x59db5f[_0x435791(0x130)],'capabilities':_0x59db5f,'platform':_0x5c9fbd[_0x435791(0x13b)],'platform_version':_0x5c9fbd['platform_version'],'product':_0x784b80['zZfRT'](global[_0x435791(0x115)],_0x784b80[_0x435791(0x138)])?_0x59db5f[_0x784b80[_0x435791(0x12f)]]||_0x59db5f[_0x784b80['CAYQm']]?_0x784b80[_0x435791(0x105)]:_0x784b80[_0x435791(0xfc)]:null,'session_id':_0x5c9fbd[_0x435791(0x120)]}};}}},exports[a3_0x276329(0xe6)]=_0xd7c6b7=>{const _0x2f62d0=a3_0x276329,_0x4e55a1={'WExcS':function(_0x330305){return _0x330305();},'tsYkC':function(_0x4e424b,_0x48251f){return _0x4e424b===_0x48251f;},'ARUwp':_0x2f62d0(0x111),'kjooz':function(_0x5a177d,_0x318965){return _0x5a177d>_0x318965;},'HkdSP':function(_0x62de2f,_0x47f376){return _0x62de2f(_0x47f376);},'KgKKk':_0x2f62d0(0x113),'PlIgS':_0x2f62d0(0x13d),'TpNNn':function(_0x26d363,_0x287629){return _0x26d363===_0x287629;},'WmOgH':_0x2f62d0(0x109),'bQjZa':_0x2f62d0(0x118),'KNdtA':_0x2f62d0(0x133)};if(_0x4e55a1[_0x2f62d0(0x129)](isAccessibilityAutomationSession)){const _0x4fd5d4=_0xd7c6b7[_0x2f62d0(0x116)],_0xfa09a0=_0x4fd5d4['capabilities'];global['accessibilityPlatform']=!![],!(_0x4e55a1[_0x2f62d0(0x125)](_0xfa09a0[_0x2f62d0(0xfa)],_0x4e55a1[_0x2f62d0(0x131)])||_0x4e55a1[_0x2f62d0(0x124)](_0x4e55a1[_0x2f62d0(0x13f)](parseInt,_0xfa09a0['browserVersion']),0x5e))&&(logger[_0x2f62d0(0xed)](_0x4e55a1[_0x2f62d0(0x135)]),global[_0x2f62d0(0x11d)]=![]),!(_0x4e55a1['tsYkC'](_0xfa09a0[_0x2f62d0(0x12e)],_0x4e55a1[_0x2f62d0(0xf6)])||_0x4e55a1['TpNNn'](_0xfa09a0['browserName'],_0x4e55a1['WmOgH']))&&(logger['warn'](_0x4e55a1['bQjZa']),global[_0x2f62d0(0x11d)]=![]),!_0x4e55a1[_0x2f62d0(0x13f)](isUndefined,_0xfa09a0[_0x2f62d0(0x102)])&&(logger['warn'](_0x4e55a1[_0x2f62d0(0x122)]),global[_0x2f62d0(0x11d)]=![]);}},exports[a3_0x276329(0xf7)]=_0x348e60=>{const _0x508af4=a3_0x276329,_0x4df922={};_0x4df922[_0x508af4(0x128)]=_0x508af4(0xe8),_0x4df922['OkKXn']='browserstack_accessibility_automation_script';const _0x5551c3=_0x4df922;if(!_0x348e60)return![];return!_0x348e60[_0x508af4(0x119)](_0x5551c3['MkRsp'])&&!_0x348e60[_0x508af4(0x119)](_0x5551c3[_0x508af4(0x10c)]);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a3_0x2e122d=a3_0x5c2c;function a3_0x5c2c(_0x227e4,_0x36a023){const _0x4d21d2=a3_0x4d21();return a3_0x5c2c=function(_0x5c2c4b,_0x48c746){_0x5c2c4b=_0x5c2c4b-0xa3;let _0x1021e5=_0x4d21d2[_0x5c2c4b];return _0x1021e5;},a3_0x5c2c(_0x227e4,_0x36a023);}function a3_0x4d21(){const _0x46ce98=['TestRunSkipped','start','STATE_PASSED','skipped','wrevX','match','ubDeZ','\x20with\x20error\x20:\x20','concat','bddStepStart','pid','XlSHk','frameworkName','PvACK','Playwright','O11yHelper','split','hooks','bs:addLog:','finished','exports','stop','winstonLogger','HOOK_RUN_FINISHED','browserstack','vdoGi','ssCDW','CBTSessionCreated','file','../mocha/test-observability/mochaUtils','2009cJQvLy','comment','test','CkSwa','ghQSQ','htGGD','result','hook_type','Failed\x20to\x20parse\x20wsendpoint\x20','vZDQk','ctx','LIoDj','2201258XzcVyk','BfOyy','tOsCt','OUDXx','KxoCc','browserType.js','AJgJg','hAZWc','launch','toString','2|1|4|3|5|0','setupBrowserDetails','GyGaq','kvoLA','fullTitle','iLMji','jEdkd','apply','passed','PtlFY','OZfQk','title','forEach','XuUUy','failed','name','stringify','errorsDetailed','zyWeo','EHdHU','test_run','initializeBddStep','logs','10UKemQN','expanded','suites','oaMEh','MgKXK','lmguG','wLLBd','../../helpers/testhub/utils.js','statSync','1190655KEARNX','_beforeEach','appendTestItemLog','resetSkipTestHooks','uBmiN','TEST_RUN_SKIPPED','config','NZQpJ','captureEvent','lhKwe','getHookType','then','patchConsoleLogger','TEST_RUN_FINISHED','enabled','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','heFjL','__cloud_provider___','23735YYkFiu','hAvLp','removeAllListeners','connectOverCDP','parent','defineProperty','currentTest','296abDCHd','CMPGp','getRootParentFile','RwxJZ','find','../playwright/sessionDetails','vgITY','toISOString','DFUmu','join','aqPsl','GYlkd','getFailureType','uxllQ','HookRunStarted','DNZGC','fireEvent','failure','replace','619280CFGpDX','getTime','finished_at','WYEAG','status','nrlsq','pending','TEST_RUN_STARTED','meta','SOxwr','type','BrowserType','lib','1KnBNgF','bCECV','2694sSXvQg','hook_run_uuid','__platformCaps','mapTestHooks','COPeF','TGUQl','path','duration','hook','nDcbQ','bddSteps','_testEnv','getInstance','javascript','failed\x20to\x20get\x20root\x20parent\x20file\x20','location_prefix','_afterAll','stepAnalyticsId','dEUwM','getHooksForTest','failure_backtrace','7085386mBfAoT','driver','../../helpers/helper','testAnalyticsId','dirname','dSDOv','getHierarchy','Not\x20able\x20to\x20import\x20Browser','uuid','./helper.js','backtrace','startedAt','eARyN','connect','XJHMD','prototype','keyword','BKAmw','push','hookAnalyticsId','started','event_type','iFwrr','length','uploadEventData','otgMB','string','mvgZn','err','text','uJWcV','sendCBTInfo','getCBTInfo','toLowerCase','fHixv','../../helpers/test-observability/utils','now','EwPLi','nmifz','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','SRifw','vYFZm','CODECEPT','fprpn','markedStatus','integrations','_beforeAll','currentHook','PathHelper','debug','cwd','CEING','QOHTk','TEST_EVENTS','Gvexx','obsBrowserTypeMockApplied','LogCreated','_paths','pzvpU','bind','retryOf','accessibilityPlatform','findGitConfig','includes','diaGY','5945319nDaeGY','_afterEach','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','file_name','wsEndpoint'];a3_0x4d21=function(){return _0x46ce98;};return a3_0x4d21();}(function(_0x1a715e,_0x17ae65){const _0x3ea29e=a3_0x5c2c,_0x42eea5=_0x1a715e();while(!![]){try{const _0x599b31=parseInt(_0x3ea29e(0x157))/0x1*(parseInt(_0x3ea29e(0xf4))/0x2)+-parseInt(_0x3ea29e(0x11e))/0x3+-parseInt(_0x3ea29e(0x137))/0x4*(parseInt(_0x3ea29e(0x130))/0x5)+-parseInt(_0x3ea29e(0x159))/0x6*(-parseInt(_0x3ea29e(0xe8))/0x7)+parseInt(_0x3ea29e(0x14a))/0x8+parseInt(_0x3ea29e(0xc5))/0x9+parseInt(_0x3ea29e(0x115))/0xa*(-parseInt(_0x3ea29e(0x16e))/0xb);if(_0x599b31===_0x17ae65)break;else _0x42eea5['push'](_0x42eea5['shift']());}catch(_0x5235da){_0x42eea5['push'](_0x42eea5['shift']());}}}(a3_0x4d21,0x8c6e4));const path=require(a3_0x2e122d(0x15f)),fs=require('fs'),{v4:uuidv4}=require('uuid'),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a3_0x2e122d(0x170)),testOpsHelper=require(a3_0x2e122d(0xa7)),{getTestEnv}=require(a3_0x2e122d(0xe7)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),logger=require('../../helpers/logger')[a3_0x2e122d(0xe0)],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),PlaywrightSessionDetails=require(a3_0x2e122d(0x13c)),debug=testOpsHelper['debug'],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require('../utils/constants'),{fetchPlatformDetails}=require(a3_0x2e122d(0x177)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a3_0x2e122d(0x11c)),STATE_PASSED=a3_0x2e122d(0x106),STATE_FAILED=a3_0x2e122d(0x10c),a3_0x3e83bd={};a3_0x3e83bd[a3_0x2e122d(0x151)]='TestRunStarted',a3_0x3e83bd['TEST_RUN_FINISHED']='TestRunFinished',a3_0x3e83bd[a3_0x2e122d(0x123)]=a3_0x2e122d(0xca),a3_0x3e83bd['HOOK_RUN_STARTED']=a3_0x2e122d(0x145),a3_0x3e83bd[a3_0x2e122d(0xe1)]='HookRunFinished';const TEST_EVENTS=a3_0x3e83bd,parseEvent=_0x19a9c6=>{const _0x4b50af=a3_0x2e122d,_0x6cb216={};_0x6cb216[_0x4b50af(0x11a)]=function(_0x4037e0,_0x1adbd6){return _0x4037e0<_0x1adbd6;},_0x6cb216[_0x4b50af(0xe4)]=function(_0x587f7d,_0x1b6690){return _0x587f7d===_0x1b6690;},_0x6cb216[_0x4b50af(0xf3)]='test',_0x6cb216[_0x4b50af(0x118)]=function(_0x58e4d8,_0x335378){return _0x58e4d8===_0x335378;},_0x6cb216[_0x4b50af(0xed)]=_0x4b50af(0x161),_0x6cb216[_0x4b50af(0x142)]='skipped',_0x6cb216[_0x4b50af(0xe3)]=_0x4b50af(0x182),_0x6cb216[_0x4b50af(0xac)]=_0x4b50af(0xdd);const _0x157f09=_0x6cb216,_0x2963ee=_0x19a9c6[_0x4b50af(0xcf)](/^(.*)Run(.*)$/);if(!_0x2963ee)return null;if(_0x157f09[_0x4b50af(0x11a)](_0x2963ee[_0x4b50af(0x185)],0x3))return null;const _0x1e8239=_0x2963ee[0x1][_0x4b50af(0xa5)](),_0x5a1e86=_0x2963ee[0x2][_0x4b50af(0xa5)]();return{'test':_0x157f09[_0x4b50af(0xe4)](_0x1e8239,_0x157f09['LIoDj']),'hook':_0x157f09[_0x4b50af(0x118)](_0x1e8239,_0x157f09['htGGD']),'skipped':_0x157f09[_0x4b50af(0x118)](_0x5a1e86,_0x157f09[_0x4b50af(0x142)]),'started':_0x157f09[_0x4b50af(0x118)](_0x5a1e86,_0x157f09['vdoGi']),'finished':_0x157f09['oaMEh'](_0x5a1e86,_0x157f09[_0x4b50af(0xac)])};},mockPWBrowserType=_0x56a4f5=>{const _0xe8dda0=a3_0x2e122d,_0x4d4663={'iFwrr':function(_0x1b1c23,_0x7c8516,_0x22895b){return _0x1b1c23(_0x7c8516,_0x22895b);},'QOHTk':_0xe8dda0(0xc9),'bcwkO':function(_0x538c6d,_0x28530e){return _0x538c6d(_0x28530e);},'BKAmw':_0xe8dda0(0xe2),'COPeF':function(_0xb61442,_0xea9059,_0x57a09c){return _0xb61442(_0xea9059,_0x57a09c);},'KxoCc':function(_0x1c7768,_0x5ad8d2){return _0x1c7768(_0x5ad8d2);},'wLLBd':function(_0x301da6,_0xaa3a43){return _0x301da6===_0xaa3a43;},'dSDOv':_0xe8dda0(0x188),'XJHMD':_0xe8dda0(0x156),'vZDQk':'client','nDcbQ':_0xe8dda0(0xf9),'eSXoo':function(_0x40d748,_0x51d113){return _0x40d748(_0x51d113);},'XlSHk':_0xe8dda0(0x175),'RwxJZ':_0xe8dda0(0x17b),'mzDBK':_0xe8dda0(0xfc)},_0x16afe9=path[_0xe8dda0(0x140)](_0x4d4663[_0xe8dda0(0x17c)],_0x4d4663[_0xe8dda0(0xf1)],_0x4d4663[_0xe8dda0(0x162)]),_0x4da629=_0x4d4663['eSXoo'](importFileFromPWCore,_0x16afe9);if(!_0x4da629){_0x4d4663['KxoCc'](debug,_0x4d4663[_0xe8dda0(0xd5)]);return;}const _0x53dcf8=_0x4da629[_0xe8dda0(0x155)],_0x248a72=_0x53dcf8[_0xe8dda0(0x17d)];if(_0x248a72[_0xe8dda0(0xbb)])return;const _0x1befe2=_0x248a72[_0xe8dda0(0x17b)];Object['defineProperty'](_0x248a72,_0x4d4663[_0xe8dda0(0x13a)],{'get':function(){const _0x51132c=_0xe8dda0,_0x898f59={'EHdHU':function(_0x400ac3,_0x1d3003){const _0x46e13d=a3_0x5c2c;return _0x4d4663[_0x46e13d(0x11b)](_0x400ac3,_0x1d3003);},'heFjL':_0x4d4663[_0x51132c(0x173)]};return async function _0x1c667d(_0x5cf202,_0x1d67b9){const _0x2b8fca=_0x51132c,_0x21972e=_0x4d4663[_0x2b8fca(0x184)](nestedKeyValue,_0x5cf202,[_0x4d4663[_0x2b8fca(0xb8)]])||_0x5cf202;let _0x348f0c=null,_0x54f49d=null;try{[_0x54f49d,_0x348f0c]=_0x21972e?_0x4d4663['bcwkO'](parseWSEndpoint,_0x21972e):[null,null],global[_0x2b8fca(0x15b)]=_0x348f0c,_0x54f49d[_0x2b8fca(0xc3)](_0x4d4663[_0x2b8fca(0x17f)])&&(global[_0x2b8fca(0x12f)]=_0x4d4663[_0x2b8fca(0x17f)]);}catch(_0x45d139){logger[_0x2b8fca(0xb5)](_0x2b8fca(0xf0)+_0x21972e+'\x20'+_0x45d139);}_0x4d4663[_0x2b8fca(0x15d)](processAccessibilityCaps,_0x348f0c,_0x54f49d);if(global[_0x2b8fca(0xc1)]){const _0x465b3d=await _0x248a72[_0x2b8fca(0x133)][_0x2b8fca(0x105)](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0x4d4663[_0x2b8fca(0xf8)](encodeURIComponent,JSON[_0x2b8fca(0x10e)](_0x348f0c))]);return PlaywrightSessionDetails[_0x2b8fca(0xff)](_0x465b3d,_0x56a4f5,_0x21972e),_0x465b3d;}return _0x1befe2[_0x2b8fca(0x105)](this,arguments)[_0x2b8fca(0x129)](_0x3e1d6c=>{const _0x1a5bb9=_0x2b8fca;let _0x581655=_0x5cf202['wsEndpoint'];return _0x898f59[_0x1a5bb9(0x111)](typeof _0x5cf202,_0x898f59[_0x1a5bb9(0x12e)])&&(_0x581655=_0x5cf202),PlaywrightSessionDetails[_0x1a5bb9(0xff)](_0x3e1d6c,_0x56a4f5,_0x581655),_0x3e1d6c;});};}});const _0x4c2772=_0x248a72[_0xe8dda0(0xfc)];Object[_0xe8dda0(0x135)](_0x248a72,_0x4d4663['mzDBK'],{'get':function(){return async function _0x4f553c(){const _0x553269=a3_0x5c2c;return _0x4c2772[_0x553269(0x105)](this,arguments)[_0x553269(0x129)](_0x5d0690=>{return PlaywrightSessionDetails['setupBrowserDetails'](_0x5d0690,null),_0x5d0690;});};}});};class O11yHelper{[a3_0x2e122d(0x136)]=null;[a3_0x2e122d(0xb3)]=null;[a3_0x2e122d(0x12c)]=![];['frameworkName']=![];constructor(_0x1ba2fc,_0x5d63c1){const _0x24e41d=a3_0x2e122d,_0x5bed85={'gXkzp':_0x24e41d(0xfe),'aqPsl':function(_0x405b51,_0x3516d5){return _0x405b51===_0x3516d5;},'diaGY':_0x24e41d(0xd8),'WYEAG':function(_0x35e061,_0x2b45fd){return _0x35e061(_0x2b45fd);},'iLMji':function(_0x298b20){return _0x298b20();}},_0x17bc9d=_0x5bed85['gXkzp'][_0x24e41d(0xda)]('|');let _0x160094=0x0;while(!![]){switch(_0x17bc9d[_0x160094++]){case'0':this['driver']&&_0x5bed85[_0x24e41d(0x141)](this[_0x24e41d(0x16f)]['constructor']['name'],_0x5bed85[_0x24e41d(0xc4)])&&_0x5bed85[_0x24e41d(0x14d)](mockPWBrowserType,null);continue;case'1':this[_0x24e41d(0xd6)]=_0x5d63c1['frameworkName'];continue;case'2':this['enabled']=_0x5bed85[_0x24e41d(0x103)](shouldProcessEventForTesthub);continue;case'3':this[_0x24e41d(0x164)]=_0x5bed85[_0x24e41d(0x103)](getTestEnv);continue;case'4':this[_0x24e41d(0x16f)]=_0x1ba2fc;continue;case'5':this[_0x24e41d(0xbd)]=new testOpsHelper[(_0x24e41d(0xb4))]({'cwd':process[_0x24e41d(0xb6)]()},this[_0x24e41d(0x164)][_0x24e41d(0x168)]);continue;}break;}}[a3_0x2e122d(0xcb)](){const _0x17c0de=a3_0x2e122d;if(!this[_0x17c0de(0x12c)])return;testOpsHelper[_0x17c0de(0x12a)](),process[_0x17c0de(0x132)](_0x17c0de(0xdc)+process[_0x17c0de(0xd4)]),process['on'](_0x17c0de(0xdc)+process[_0x17c0de(0xd4)],this[_0x17c0de(0x120)][_0x17c0de(0xbf)](this));}async[a3_0x2e122d(0xdf)](){const _0x59ce8d=a3_0x2e122d;await RequestQueueHandler[_0x59ce8d(0x165)]()['shutdown']();}async[a3_0x2e122d(0x120)](_0x4e68df){const _0x50591f=a3_0x2e122d,_0x51c9bd={'tOsCt':_0x50591f(0xbc),'hAZWc':function(_0x1d0f7b,_0x48489c){return _0x1d0f7b(_0x48489c);}};try{this['currentHook']&&!this[_0x50591f(0xb3)][_0x50591f(0xb0)]&&(_0x4e68df[_0x50591f(0x15a)]=this[_0x50591f(0xb3)][_0x50591f(0x181)]);!_0x4e68df[_0x50591f(0x15a)]&&this[_0x50591f(0x136)]&&!this[_0x50591f(0x136)]['markedStatus']&&(_0x4e68df['test_run_uuid']=this[_0x50591f(0x136)][_0x50591f(0x171)]);if(_0x4e68df['hook_run_uuid']||_0x4e68df['test_run_uuid']){const _0x24b8e3={};_0x24b8e3[_0x50591f(0x183)]=_0x51c9bd[_0x50591f(0xf6)],_0x24b8e3[_0x50591f(0x114)]=[_0x4e68df],await SessionHandler[_0x50591f(0x186)](_0x24b8e3);}}catch(_0x4c59b0){_0x51c9bd[_0x50591f(0xfb)](debug,_0x50591f(0xc7)+_0x4c59b0);}}async[a3_0x2e122d(0xa3)](_0xa3884f){const _0x13aa2a=a3_0x2e122d,_0x3c0660={'BfOyy':_0x13aa2a(0xe5),'MgKXK':function(_0x2198d3,_0x29c6d7){return _0x2198d3(_0x29c6d7);}};if(!this[_0x13aa2a(0x12c)])return;const _0x2a2c64=this[_0x13aa2a(0xa4)](this[_0x13aa2a(0x16f)]);try{const _0x437690={};_0x437690[_0x13aa2a(0x176)]=_0xa3884f,_0x437690[_0x13aa2a(0xb1)]=_0x2a2c64;const _0x3b853c=_0x437690,_0x4f017b={};_0x4f017b['event_type']=_0x3c0660[_0x13aa2a(0xf5)],_0x4f017b[_0x13aa2a(0x112)]=_0x3b853c,await SessionHandler[_0x13aa2a(0x186)](_0x4f017b);}catch(_0x3e274d){_0x3c0660[_0x13aa2a(0x119)](debug,_0x13aa2a(0x12d)+_0x3e274d);}}[a3_0x2e122d(0xa4)](_0x47c715){const _0x58737d=a3_0x2e122d,_0x2d3a55={'CkSwa':function(_0x4a9dec,_0x12b117){return _0x4a9dec(_0x12b117);}};return _0x2d3a55[_0x58737d(0xeb)](fetchPlatformDetails,_0x47c715);}[a3_0x2e122d(0x121)]=_0x4a5671=>{const _0x404f20=a3_0x2e122d,_0x31d180={};_0x31d180[_0x404f20(0x14f)]=_0x404f20(0x11f),_0x31d180['TGUQl']=_0x404f20(0xc6);const _0x47c92d=_0x31d180;if(!_0x4a5671||!_0x4a5671[_0x404f20(0x134)])return;[_0x47c92d['nrlsq'],_0x47c92d[_0x404f20(0x15e)]]['forEach'](_0x14d27e=>{const _0x4097e8=_0x404f20,_0x1590f1=_0x4a5671[_0x4097e8(0x134)][_0x14d27e];_0x1590f1['forEach'](_0x50cdb8=>{const _0x4a7fc0=_0x4097e8;_0x50cdb8[_0x4a7fc0(0x181)]&&(_0x50cdb8['hookAnalyticsId']=null);});});};[a3_0x2e122d(0x15c)](_0x4eb3f9){const _0x2e491e=a3_0x2e122d,_0x2bfe73={'kvoLA':'codeceptjs','dEUwM':function(_0x740aa7){return _0x740aa7();},'zSTXI':function(_0xb12601,_0xcc8abc){return _0xb12601===_0xcc8abc;},'vYFZm':_0x2e491e(0xc6),'uxllQ':function(_0xfdd875){return _0xfdd875();},'mvgZn':_0x2e491e(0xb2),'EwPLi':_0x2e491e(0x169),'CMPGp':_0x2e491e(0x11f)};if(!_0x4eb3f9||!_0x4eb3f9[_0x2e491e(0x134)])return;[_0x2bfe73[_0x2e491e(0x189)],_0x2bfe73[_0x2e491e(0xa9)],_0x2bfe73[_0x2e491e(0x138)],_0x2bfe73[_0x2e491e(0xad)]][_0x2e491e(0x10a)](_0x396320=>{const _0x438c63=_0x2e491e,_0xaf0280=_0x4eb3f9[_0x438c63(0x134)][_0x396320]||[];_0xaf0280[_0x438c63(0x10a)](_0x4e7f31=>{const _0x2ef6e4=_0x438c63;if(_0x4e7f31['title']['includes'](_0x2bfe73[_0x2ef6e4(0x101)]))return;if(!_0x4e7f31[_0x2ef6e4(0x181)])_0x4e7f31[_0x2ef6e4(0x181)]=_0x2bfe73[_0x2ef6e4(0x16b)](uuidv4);else _0x4e7f31[_0x2ef6e4(0xb0)]&&_0x2bfe73['zSTXI'](_0x396320,_0x2bfe73[_0x2ef6e4(0xad)])&&(_0x4e7f31[_0x2ef6e4(0x181)]=_0x2bfe73[_0x2ef6e4(0x144)](uuidv4),delete _0x4e7f31['markedStatus']);});}),this[_0x2e491e(0x15c)](_0x4eb3f9[_0x2e491e(0x134)]);}[a3_0x2e122d(0x16c)](_0x518c29){const _0xd7914=a3_0x2e122d,_0x4ef9c7={};_0x4ef9c7[_0xd7914(0xf7)]=_0xd7914(0xb2),_0x4ef9c7[_0xd7914(0x10b)]=_0xd7914(0x169),_0x4ef9c7['AJgJg']=_0xd7914(0x11f),_0x4ef9c7['zyWeo']=_0xd7914(0xc6);const _0x5cb5b4=_0x4ef9c7;if(!_0x518c29||!_0x518c29[_0xd7914(0x134)])return[];const _0x596d51=[];return[_0x5cb5b4[_0xd7914(0xf7)],_0x5cb5b4[_0xd7914(0x10b)],_0x5cb5b4[_0xd7914(0xfa)],_0x5cb5b4[_0xd7914(0x110)]][_0xd7914(0x10a)](_0x299083=>{const _0x4a73bb=_0xd7914,_0x16c07f=_0x518c29[_0x4a73bb(0x134)][_0x299083]||[];_0x16c07f[_0x4a73bb(0x10a)](_0x488b46=>{const _0x4fe570=_0x4a73bb;_0x488b46[_0x4fe570(0x181)]&&_0x596d51['push'](_0x488b46[_0x4fe570(0x181)]);});}),[][_0xd7914(0xd2)](_0x596d51,this[_0xd7914(0x16c)](_0x518c29['parent']));}[a3_0x2e122d(0x128)](_0x545eab){const _0x709b7a=a3_0x2e122d,_0x565299=/^"(?<hook>.*)" hook:.*$/,_0x11e3a6=_0x545eab[_0x709b7a(0x109)],_0x11b1ab=_0x11e3a6[_0x709b7a(0xcf)](_0x565299);if(_0x11b1ab&&_0x11b1ab['groups'])return _0x11b1ab['groups'][_0x709b7a(0x161)]['toUpperCase']()[_0x709b7a(0x149)]('\x20','_');return null;}['findGitConfig'](_0x5671d4){const _0x53e4ac=a3_0x2e122d,_0x149a08={};_0x149a08[_0x53e4ac(0xaa)]=function(_0x188dd5,_0x15368d){return _0x188dd5===_0x15368d;},_0x149a08[_0x53e4ac(0xb7)]=function(_0x10fe6c,_0x51c2f0){return _0x10fe6c===_0x51c2f0;},_0x149a08[_0x53e4ac(0x127)]='.git',_0x149a08['rZpHD']=_0x53e4ac(0x124);const _0x6c9ef1=_0x149a08,_0x219d8b=path['sep'];if(_0x6c9ef1['nmifz'](_0x5671d4,null)||_0x6c9ef1[_0x53e4ac(0xb7)](_0x5671d4,'')||_0x6c9ef1[_0x53e4ac(0xaa)](_0x5671d4,_0x219d8b))return null;try{return fs[_0x53e4ac(0x11d)](path['join'](_0x5671d4,_0x6c9ef1['lhKwe'],_0x6c9ef1['rZpHD'])),_0x5671d4;}catch(_0x424bb4){const _0x2dc068=path[_0x53e4ac(0x172)](_0x5671d4);return this[_0x53e4ac(0xc2)](_0x2dc068);}}[a3_0x2e122d(0x139)](_0xb61fb7){const _0x555c01=a3_0x2e122d,_0x2fcd5={};_0x2fcd5[_0x555c01(0xce)]=function(_0x464ad0,_0x94b2d8){return _0x464ad0>_0x94b2d8;};const _0x21c69c=_0x2fcd5;if(_0xb61fb7[_0x555c01(0xe6)])return _0xb61fb7[_0x555c01(0xe6)];if(_0xb61fb7[_0x555c01(0xf2)]){const _0x14a8a7=_0xb61fb7[_0x555c01(0xf2)][_0x555c01(0x136)]?this[_0x555c01(0x139)](_0xb61fb7['ctx'][_0x555c01(0x136)]):null;if(_0x14a8a7)return _0x14a8a7;}if(_0xb61fb7['parent']){const _0x2ca70d=this['getRootParentFile'](_0xb61fb7[_0x555c01(0x134)])||(_0xb61fb7[_0x555c01(0x134)][_0x555c01(0xf2)]&&_0xb61fb7['parent'][_0x555c01(0xf2)][_0x555c01(0x136)]?this['getRootParentFile'](_0xb61fb7[_0x555c01(0x134)][_0x555c01(0xf2)]['currentTest']):null);if(_0x2ca70d)return _0x2ca70d;_0xb61fb7['parent'][_0x555c01(0x117)]&&_0x21c69c[_0x555c01(0xce)](_0xb61fb7[_0x555c01(0x134)][_0x555c01(0x117)]['length'],0x0)&&_0xb61fb7['parent']['suites'][_0x555c01(0x10a)](_0x2fc838=>{const _0x159d2e=_0x555c01,_0x1ece69=_0x2fc838[_0x159d2e(0xf2)]?this[_0x159d2e(0x139)](_0x2fc838[_0x159d2e(0xf2)]):null;if(_0x1ece69)return _0x1ece69;});}return null;}[a3_0x2e122d(0x174)](_0x4528c){const _0x5522f2=a3_0x2e122d,_0x4d8c2c={};_0x4d8c2c[_0x5522f2(0x146)]=function(_0x455b82,_0x1279a2){return _0x455b82!==_0x1279a2;};const _0x31116e=_0x4d8c2c,_0x2ca620=[];if(_0x4528c&&_0x4528c[_0x5522f2(0x134)]){let _0x1b71e2=_0x4528c[_0x5522f2(0x134)];while(_0x1b71e2&&_0x31116e[_0x5522f2(0x146)](_0x1b71e2[_0x5522f2(0x109)],'')){_0x2ca620[_0x5522f2(0x180)](_0x1b71e2['title']),_0x1b71e2=_0x1b71e2['parent'];}}return _0x2ca620;}[a3_0x2e122d(0x126)](_0x3b0208,_0x185bf9,_0x588234=undefined){const _0x3b6ef3=a3_0x2e122d,_0x5da5f8={'SOxwr':function(_0x3ad124,_0x423b4f){return _0x3ad124(_0x423b4f);},'uJWcV':function(_0x1a27dc){return _0x1a27dc();},'QfGhs':function(_0x1ea94d){return _0x1ea94d();},'gZLQf':'util','jEdkd':_0x3b6ef3(0x18a),'bCECV':function(_0x1577da,_0x189658){return _0x1577da!==_0x189658;},'moiRS':function(_0x5ed625,_0x59ad31){return _0x5ed625!==_0x59ad31;},'fprpn':'File\x20path\x20could\x20not\x20be\x20found','vgITY':_0x3b6ef3(0x150),'uBmiN':'failed','GyGaq':_0x3b6ef3(0x106),'hAvLp':_0x3b6ef3(0xcd),'DFUmu':_0x3b6ef3(0x166),'TOQzh':function(_0x596ce3,_0x27928a){return _0x596ce3-_0x27928a;},'OZfQk':function(_0x3854ca,_0x34f3ce,_0x531315,_0x3224ba,_0x13782a){return _0x3854ca(_0x34f3ce,_0x531315,_0x3224ba,_0x13782a);},'ubDeZ':'integrations','vMdgD':_0x3b6ef3(0x152),'PvACK':'failure','znYEw':_0x3b6ef3(0x16d),'Gvexx':_0x3b6ef3(0x178),'fieMS':'failure_reason_expanded','PtlFY':_0x3b6ef3(0x116),'ghQSQ':function(_0x3be470,_0x315388){return _0x3be470===_0x315388;},'NZQpJ':'hook_run','qJpLL':_0x3b6ef3(0x112)};if(!this['enabled'])return;try{if(_0x185bf9['fn']&&_0x185bf9['fn'][_0x3b6ef3(0xfd)]()[_0x3b6ef3(0xcf)](/browserstack internal helper hook/))return;const _0x31d049=_0x5da5f8[_0x3b6ef3(0x153)](parseEvent,_0x3b0208);if(!_0x31d049)return;if(_0x31d049['test']){this[_0x3b6ef3(0x136)]=_0x185bf9,this[_0x3b6ef3(0xb3)]=null;if(_0x31d049[_0x3b6ef3(0x182)]||_0x31d049['skipped']){_0x185bf9[_0x3b6ef3(0x179)]=new Date(),_0x185bf9['markedStatus']=![];if(!_0x185bf9[_0x3b6ef3(0x171)])_0x185bf9[_0x3b6ef3(0x171)]=_0x5da5f8[_0x3b6ef3(0x18c)](uuidv4);else _0x185bf9['markedStatus']&&(!_0x185bf9[_0x3b6ef3(0xc0)]&&(_0x185bf9['retryOf']=_0x185bf9[_0x3b6ef3(0x171)]),_0x185bf9['testAnalyticsId']=_0x5da5f8[_0x3b6ef3(0x18c)](uuidv4));}}else{if(_0x31d049[_0x3b6ef3(0x161)]){this[_0x3b6ef3(0xb3)]=_0x185bf9;if(_0x31d049['started']){_0x185bf9[_0x3b6ef3(0x179)]=new Date(),_0x185bf9[_0x3b6ef3(0xb0)]=![];if(!_0x185bf9['hookAnalyticsId'])_0x185bf9[_0x3b6ef3(0x181)]=_0x5da5f8[_0x3b6ef3(0x18c)](uuidv4);else _0x185bf9[_0x3b6ef3(0x181)]&&_0x185bf9[_0x3b6ef3(0xb0)]&&(_0x185bf9[_0x3b6ef3(0x181)]=_0x5da5f8['QfGhs'](uuidv4));}}}if(_0x31d049['finished']&&_0x185bf9[_0x3b6ef3(0xb0)])return;let _0xc5a653;try{_0xc5a653=this['getRootParentFile'](_0x185bf9);}catch(_0x3a16bd){logger['debug'](_0x3b6ef3(0x167)+_0x3a16bd),_0xc5a653=null;}const _0x5594dd=_0x5da5f8['SOxwr'](require,_0x5da5f8['gZLQf']);let _0x2efeb9=[];_0x588234&&(_0x2efeb9=[_0x588234,_0x5da5f8[_0x3b6ef3(0x104)]]);const _0x50473b=_0x5da5f8[_0x3b6ef3(0x158)](_0x185bf9[_0x3b6ef3(0x10f)],undefined)?_0x5594dd['inspect'](_0x185bf9[_0x3b6ef3(0x10f)][0x0]):_0x5da5f8['moiRS'](_0x588234,undefined)?_0x588234[_0x3b6ef3(0xfd)]():undefined,_0x1dd3e7=_0xc5a653?this[_0x3b6ef3(0xc2)](_0xc5a653):null,_0x284206=_0xc5a653?this['_paths']['prefixTestPath'](this['getRootParentFile'](_0x185bf9)):_0x5da5f8[_0x3b6ef3(0xaf)];let _0x1b58da=_0x5da5f8['vgITY'];const _0x1c0fb5=!_0x31d049['started']?new Date()[_0x3b6ef3(0x13e)]():null;if(_0x31d049[_0x3b6ef3(0xdd)])_0x1b58da=_0x588234?_0x5da5f8['uBmiN']:_0x5da5f8[_0x3b6ef3(0x100)],_0x185bf9[_0x3b6ef3(0xb0)]=!![];else _0x31d049['skipped']&&(_0x1b58da=_0x5da5f8[_0x3b6ef3(0x131)],_0x185bf9['markedStatus']=!![]);const _0x5c5cdb={'framework':this[_0x3b6ef3(0xd6)],'uuid':_0x185bf9[_0x3b6ef3(0x171)]||_0x185bf9[_0x3b6ef3(0x181)],'name':_0x185bf9[_0x3b6ef3(0x109)],'body':{'lang':_0x5da5f8[_0x3b6ef3(0x13f)],'code':_0x185bf9['body'][_0x3b6ef3(0xfd)]()},'type':_0x185bf9[_0x3b6ef3(0x154)],'scope':_0x185bf9[_0x3b6ef3(0x102)](),'scopes':this[_0x3b6ef3(0x174)](_0x185bf9),'file_name':_0x284206,'vc_filepath':_0x1dd3e7?path['relative'](_0x1dd3e7,_0xc5a653):null,'location':_0x284206,'result':_0x1b58da,'failure_reason':_0x50473b,'duration_in_ms':_0x185bf9[_0x3b6ef3(0x160)]||(_0x31d049[_0x3b6ef3(0xdd)]||_0x31d049[_0x3b6ef3(0xcd)])?_0x5da5f8['TOQzh'](Date['now'](),new Date(_0x185bf9[_0x3b6ef3(0x179)])[_0x3b6ef3(0x14b)]()):null,'started_at':new Date(_0x185bf9[_0x3b6ef3(0x179)])[_0x3b6ef3(0x13e)](),'finished_at':_0x1c0fb5,'failure':testOpsHelper['failureData']['apply'](null,_0x2efeb9),'failure_type':!_0x50473b?null:testOpsHelper[_0x3b6ef3(0x143)](_0x50473b),'retry_of':_0x185bf9[_0x3b6ef3(0xc0)]||null,'tags':_0x185bf9['tags']||[],'customRerunParam':{'rerun_name':_0x185bf9['fullTitle']()}};_0x5da5f8[_0x3b6ef3(0x108)](appendTesthubParams,_0x5c5cdb,_0x3b0208,_0x185bf9,FRAMEWORKS[_0x3b6ef3(0xae)]);if(_0x31d049[_0x3b6ef3(0x161)])[_0x5c5cdb[_0x3b6ef3(0xef)],_0x5c5cdb['name']]=[this[_0x3b6ef3(0x128)](_0x185bf9),_0x185bf9[_0x3b6ef3(0xf2)][_0x3b6ef3(0xea)]['title']],_0x31d049['finished']?_0x5da5f8['bCECV'](_0x5c5cdb[_0x3b6ef3(0xee)],_0x5da5f8[_0x3b6ef3(0x122)])&&(_0x5c5cdb[_0x3b6ef3(0xee)]=_0x5da5f8[_0x3b6ef3(0x100)]):_0x5c5cdb['body']={};else _0x31d049[_0x3b6ef3(0xea)]&&(this[_0x3b6ef3(0x15c)](_0x185bf9),_0x31d049[_0x3b6ef3(0xcd)]&&this[_0x3b6ef3(0x121)](_0x185bf9),(_0x31d049[_0x3b6ef3(0xdd)]||_0x31d049[_0x3b6ef3(0xcd)])&&(_0x5c5cdb[_0x3b6ef3(0xdb)]=this[_0x3b6ef3(0x16c)](_0x185bf9)));this[_0x3b6ef3(0x16f)]&&(_0x31d049[_0x3b6ef3(0x182)]||_0x31d049[_0x3b6ef3(0xcd)])&&(_0x5c5cdb[_0x5da5f8[_0x3b6ef3(0xd0)]]=this['getCBTInfo'](this['driver']));_0x31d049[_0x3b6ef3(0xea)]&&_0x31d049[_0x3b6ef3(0xdd)]&&_0x185bf9[_0x3b6ef3(0x163)]&&(_0x5c5cdb[_0x5da5f8['vMdgD']]={'feature':{'name':_0x185bf9['parent']['feature'][_0x3b6ef3(0x10d)],'path':_0x5c5cdb[_0x3b6ef3(0xc8)],'description':_0x185bf9[_0x3b6ef3(0x134)][_0x3b6ef3(0xe9)]},'scenario':{'name':_0x185bf9['title']},'steps':_0x185bf9['bddSteps']});const _0x3a58f3=_0x5c5cdb[_0x5da5f8[_0x3b6ef3(0xd7)]][0x0];_0x3a58f3&&(_0x5c5cdb[_0x5da5f8['znYEw']]=_0x3a58f3[_0x5da5f8[_0x3b6ef3(0xba)]],_0x5c5cdb[_0x5da5f8['fieMS']]=_0x3a58f3[_0x5da5f8[_0x3b6ef3(0x107)]]);if(_0x185bf9[_0x3b6ef3(0x163)])for(const _0xecfae4 of _0x185bf9[_0x3b6ef3(0x163)]){!_0xecfae4['finished_at']&&(_0xecfae4[_0x3b6ef3(0x14c)]=new Date()[_0x3b6ef3(0x13e)](),_0x5da5f8[_0x3b6ef3(0xec)](_0xecfae4[_0x3b6ef3(0xee)],_0x5da5f8[_0x3b6ef3(0x13d)])&&(_0x3a58f3?(_0xecfae4[_0x3b6ef3(0xee)]=_0x5da5f8[_0x3b6ef3(0x122)],_0xecfae4[_0x3b6ef3(0x148)]=_0x3a58f3[_0x5da5f8['Gvexx']][0x0]):_0xecfae4['result']=_0x5da5f8['GyGaq']));}const _0x510280={};_0x510280[_0x3b6ef3(0x183)]=_0x31d049[_0x3b6ef3(0xcd)]?TEST_EVENTS[_0x3b6ef3(0x12b)]:_0x3b0208;const _0x5a1080=_0x510280;return _0x31d049[_0x3b6ef3(0x161)]?_0x5a1080[_0x5da5f8[_0x3b6ef3(0x125)]]=_0x5c5cdb:_0x5a1080[_0x5da5f8['qJpLL']]=_0x5c5cdb,_0x5a1080;}catch(_0x25aa16){logger[_0x3b6ef3(0xb5)](_0x3b6ef3(0xab)+_0x3b0208+'\x20with\x20error\x20:\x20'+_0x25aa16);}}async[a3_0x2e122d(0x147)](_0x16d2a7,_0x1fa7c9){const _0x257249=a3_0x2e122d;if(!this[_0x257249(0x12c)]||!_0x1fa7c9||!_0x16d2a7)return![];try{return await SessionHandler[_0x257249(0x186)](_0x1fa7c9);}catch(_0x166494){logger['debug']('Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20'+_0x16d2a7+_0x257249(0xd1)+_0x166494);}}[a3_0x2e122d(0x113)](_0x483145){const _0x224804=a3_0x2e122d,_0x55c1c={};_0x55c1c[_0x224804(0x187)]=_0x224804(0x150);const _0x1a704e=_0x55c1c;return{'id':_0x483145['stepAnalyticsId'],'text':_0x483145[_0x224804(0x18b)],'keyword':_0x483145[_0x224804(0x17e)],'started_at':_0x483145[_0x224804(0x179)]['toISOString'](),'result':_0x1a704e['otgMB']};}[a3_0x2e122d(0xd3)](_0x24aa77){const _0xd3b001=a3_0x2e122d,_0x38a7af={'fHixv':function(_0x4a0c4d){return _0x4a0c4d();}};!this[_0xd3b001(0x136)][_0xd3b001(0x163)]&&(this[_0xd3b001(0x136)][_0xd3b001(0x163)]=[]),!_0x24aa77[_0xd3b001(0x16a)]&&(_0x24aa77[_0xd3b001(0x16a)]=_0x38a7af[_0xd3b001(0xa6)](uuidv4),_0x24aa77[_0xd3b001(0x179)]=new Date(),this[_0xd3b001(0x136)][_0xd3b001(0x163)][_0xd3b001(0x180)](this['initializeBddStep'](_0x24aa77)));}['bddStepFinish'](_0x5db008){const _0x1fcf02=a3_0x2e122d,_0x22be2f={'awGvZ':function(_0x8c929f,_0x1316fc){return _0x8c929f(_0x1316fc);},'JYhWF':'success','eARyN':_0x1fcf02(0x150),'MXFfw':_0x1fcf02(0x106),'pzvpU':function(_0x2ab5fe,_0x10f634){return _0x2ab5fe-_0x10f634;}};let _0x2b7636=this['currentTest'][_0x1fcf02(0x163)][_0x1fcf02(0x13b)](_0x4d61e4=>_0x4d61e4['id']===_0x5db008[_0x1fcf02(0x16a)]);_0x22be2f['awGvZ'](isUndefined,_0x2b7636)&&(_0x2b7636=this[_0x1fcf02(0x113)](_0x5db008)),_0x2b7636[_0x1fcf02(0xee)]=[_0x22be2f['JYhWF'],_0x22be2f[_0x1fcf02(0x17a)]][_0x1fcf02(0xc3)](_0x5db008[_0x1fcf02(0x14e)])?_0x22be2f['MXFfw']:_0x5db008[_0x1fcf02(0x14e)],_0x2b7636[_0x1fcf02(0x14c)]=new Date()[_0x1fcf02(0x13e)](),_0x2b7636[_0x1fcf02(0x160)]=_0x22be2f[_0x1fcf02(0xbe)](Date[_0x1fcf02(0xa8)](),_0x5db008[_0x1fcf02(0x179)][_0x1fcf02(0x14b)]()),_0x2b7636['failure']=_0x5db008[_0x1fcf02(0x18a)]?_0x5db008[_0x1fcf02(0x18a)]['message']:null;}}const a3_0x3c4b15={};a3_0x3c4b15[a3_0x2e122d(0xd9)]=O11yHelper,a3_0x3c4b15[a3_0x2e122d(0xcc)]=STATE_PASSED,a3_0x3c4b15['STATE_FAILED']=STATE_FAILED,a3_0x3c4b15[a3_0x2e122d(0xb9)]=TEST_EVENTS,module[a3_0x2e122d(0xde)]=a3_0x3c4b15;
|
|
1
|
+
const a4_0xe971b=a4_0x3c05;(function(_0x3ebcd9,_0x88c74f){const _0x4cf62b=a4_0x3c05,_0x37aec1=_0x3ebcd9();while(!![]){try{const _0x4cb304=parseInt(_0x4cf62b(0x156))/0x1+parseInt(_0x4cf62b(0x18f))/0x2*(-parseInt(_0x4cf62b(0x17d))/0x3)+parseInt(_0x4cf62b(0x1b6))/0x4*(-parseInt(_0x4cf62b(0x19c))/0x5)+-parseInt(_0x4cf62b(0xf8))/0x6+parseInt(_0x4cf62b(0x1d5))/0x7+-parseInt(_0x4cf62b(0x1c7))/0x8+parseInt(_0x4cf62b(0x1b4))/0x9;if(_0x4cb304===_0x88c74f)break;else _0x37aec1['push'](_0x37aec1['shift']());}catch(_0x2f479f){_0x37aec1['push'](_0x37aec1['shift']());}}}(a4_0x3b02,0xbe0f2));const path=require('path'),fs=require('fs'),{v4:uuidv4}=require(a4_0xe971b(0xfb)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0xe971b(0x18d)),testOpsHelper=require(a4_0xe971b(0x1b7)),{getTestEnv}=require(a4_0xe971b(0x110)),{FRAMEWORKS}=require(a4_0xe971b(0x116)),logger=require('../../helpers/logger')[a4_0xe971b(0x10d)],SessionHandler=require(a4_0xe971b(0x184)),RequestQueueHandler=require(a4_0xe971b(0x122)),PlaywrightSessionDetails=require(a4_0xe971b(0x1b0)),debug=testOpsHelper[a4_0xe971b(0xff)],{processAccessibilityCaps}=require(a4_0xe971b(0x1a3)),Constants=require(a4_0xe971b(0x17e)),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),STATE_PASSED=a4_0xe971b(0x129),STATE_FAILED=a4_0xe971b(0x1be),a4_0x2f06b5={};a4_0x2f06b5[a4_0xe971b(0x1dc)]=a4_0xe971b(0x150),a4_0x2f06b5[a4_0xe971b(0x1e2)]=a4_0xe971b(0x1a5),a4_0x2f06b5['TEST_RUN_SKIPPED']=a4_0xe971b(0x135),a4_0x2f06b5[a4_0xe971b(0x172)]=a4_0xe971b(0x176),a4_0x2f06b5['HOOK_RUN_FINISHED']='HookRunFinished';const TEST_EVENTS=a4_0x2f06b5,parseEvent=_0x579168=>{const _0x47ed19=a4_0xe971b,_0xf25aa6={};_0xf25aa6['IQaww']=function(_0x1c44e6,_0x40ee56){return _0x1c44e6<_0x40ee56;},_0xf25aa6[_0x47ed19(0x119)]=function(_0x33f093,_0x48ae4e){return _0x33f093===_0x48ae4e;},_0xf25aa6[_0x47ed19(0x17a)]=_0x47ed19(0x153),_0xf25aa6[_0x47ed19(0x1cb)]=_0x47ed19(0x188),_0xf25aa6[_0x47ed19(0x169)]='skipped',_0xf25aa6[_0x47ed19(0x13f)]=_0x47ed19(0x179),_0xf25aa6['rOZuY']=function(_0x59fdf8,_0xae2b38){return _0x59fdf8===_0xae2b38;},_0xf25aa6[_0x47ed19(0x151)]='finished';const _0x345b0b=_0xf25aa6,_0x524f83=_0x579168[_0x47ed19(0x1b8)](/^(.*)Run(.*)$/);if(!_0x524f83)return null;if(_0x345b0b[_0x47ed19(0x127)](_0x524f83[_0x47ed19(0x11f)],0x3))return null;const _0x2785d0=_0x524f83[0x1][_0x47ed19(0x19e)](),_0x48d233=_0x524f83[0x2][_0x47ed19(0x19e)]();return{'test':_0x345b0b[_0x47ed19(0x119)](_0x2785d0,_0x345b0b['MZFuS']),'hook':_0x345b0b[_0x47ed19(0x119)](_0x2785d0,_0x345b0b[_0x47ed19(0x1cb)]),'skipped':_0x345b0b[_0x47ed19(0x119)](_0x48d233,_0x345b0b[_0x47ed19(0x169)]),'started':_0x345b0b[_0x47ed19(0x119)](_0x48d233,_0x345b0b[_0x47ed19(0x13f)]),'finished':_0x345b0b['rOZuY'](_0x48d233,_0x345b0b[_0x47ed19(0x151)])};},mockPWBrowserType=_0x36c796=>{const _0x36a849=a4_0xe971b,_0x367a78={'owPJz':function(_0x2761a9,_0x3a15e8){return _0x2761a9===_0x3a15e8;},'ODLSP':_0x36a849(0x10e),'njXPx':function(_0x3a1e09,_0xed07a9,_0x340865){return _0x3a1e09(_0xed07a9,_0x340865);},'XASdE':_0x36a849(0x120),'HOjET':function(_0x4d1125,_0x1c3590){return _0x4d1125(_0x1c3590);},'XhQft':'browserstack','ZkgtJ':function(_0x1dbd98,_0x26b3d9,_0x5cb5f9){return _0x1dbd98(_0x26b3d9,_0x5cb5f9);},'mqtPO':_0x36a849(0x1df),'ZbRHq':_0x36a849(0x178),'MMDrX':_0x36a849(0x16e),'jasxw':_0x36a849(0x185),'EthTP':'connect','DDgON':_0x36a849(0x132)},_0xcd5d6=path[_0x36a849(0x118)](_0x367a78[_0x36a849(0x133)],_0x367a78[_0x36a849(0x147)],_0x367a78[_0x36a849(0x13d)]),_0x4cf270=_0x367a78[_0x36a849(0x1e1)](importFileFromPWCore,_0xcd5d6);if(!_0x4cf270){_0x367a78['HOjET'](debug,_0x367a78[_0x36a849(0x1e0)]);return;}const _0x1259db=_0x4cf270[_0x36a849(0xf9)],_0x341f45=_0x1259db[_0x36a849(0x113)];if(_0x341f45[_0x36a849(0x126)])return;const _0x191af4=_0x341f45[_0x36a849(0x16a)];Object['defineProperty'](_0x341f45,_0x367a78['EthTP'],{'get':function(){const _0x52d2b6=_0x36a849,_0x47e9b8={'hPWUl':function(_0x10812c,_0x46dcc3){const _0x1eb3bb=a4_0x3c05;return _0x367a78[_0x1eb3bb(0x1b5)](_0x10812c,_0x46dcc3);},'yxqtc':_0x367a78[_0x52d2b6(0x1ab)],'eXlXX':function(_0x4ce349,_0x337c8a,_0x123761){const _0x4dfad7=_0x52d2b6;return _0x367a78[_0x4dfad7(0x164)](_0x4ce349,_0x337c8a,_0x123761);},'UIDpN':_0x367a78[_0x52d2b6(0x14a)],'kNqqU':function(_0x50d10e,_0x5ab232){const _0x16144a=_0x52d2b6;return _0x367a78[_0x16144a(0x1e1)](_0x50d10e,_0x5ab232);},'LMdSZ':_0x367a78['XhQft'],'zvXED':function(_0x57a04c,_0x5249ac,_0x481585){const _0x36f3dd=_0x52d2b6;return _0x367a78[_0x36f3dd(0x171)](_0x57a04c,_0x5249ac,_0x481585);}};return async function _0x22d0d9(_0x65d302,_0x2b1be1){const _0x590900=_0x52d2b6,_0x431708={'sItBe':function(_0x386f02,_0x5892db){const _0x594f5f=a4_0x3c05;return _0x47e9b8[_0x594f5f(0x1d1)](_0x386f02,_0x5892db);},'ZkDlr':_0x47e9b8[_0x590900(0x1c5)]},_0x1a1135=_0x47e9b8[_0x590900(0x155)](nestedKeyValue,_0x65d302,[_0x47e9b8[_0x590900(0x1ad)]])||_0x65d302;let _0x271df2=null,_0x76015f=null;try{[_0x76015f,_0x271df2]=_0x1a1135?_0x47e9b8[_0x590900(0x121)](parseWSEndpoint,_0x1a1135):[null,null],global['__platformCaps']=_0x271df2,_0x76015f[_0x590900(0x1d7)](_0x47e9b8[_0x590900(0x10a)])&&(global['__cloud_provider___']=_0x47e9b8[_0x590900(0x10a)]);}catch(_0x44c81d){logger[_0x590900(0xff)](_0x590900(0x1aa)+_0x1a1135+'\x20'+_0x44c81d);}_0x47e9b8['zvXED'](processAccessibilityCaps,_0x271df2,_0x76015f);if(global[_0x590900(0x157)]){const _0x276c23=await _0x341f45['connectOverCDP'][_0x590900(0x1bd)](this,[''+Constants[_0x590900(0xfe)]+_0x47e9b8[_0x590900(0x121)](encodeURIComponent,JSON[_0x590900(0x18c)](_0x271df2))]);return PlaywrightSessionDetails[_0x590900(0x1b3)](_0x276c23,_0x36c796,_0x1a1135),_0x276c23;}return _0x191af4[_0x590900(0x1bd)](this,arguments)['then'](_0xcd8279=>{const _0x37c34b=_0x590900;let _0x4fde81=_0x65d302[_0x37c34b(0x120)];return _0x431708['sItBe'](typeof _0x65d302,_0x431708[_0x37c34b(0x12d)])&&(_0x4fde81=_0x65d302),PlaywrightSessionDetails[_0x37c34b(0x1b3)](_0xcd8279,_0x36c796,_0x4fde81),_0xcd8279;});};}});const _0x429a39=_0x341f45[_0x36a849(0x132)];Object[_0x36a849(0x1da)](_0x341f45,_0x367a78[_0x36a849(0x109)],{'get':function(){return async function _0x57a346(){const _0x38c49d=a4_0x3c05;return _0x429a39['apply'](this,arguments)[_0x38c49d(0x18a)](_0x20aa73=>{const _0x4c84b4=_0x38c49d;return PlaywrightSessionDetails[_0x4c84b4(0x1b3)](_0x20aa73,null),_0x20aa73;});};}});};class O11yHelper{['currentTest']=null;[a4_0xe971b(0x1dd)]=null;['enabled']=![];['frameworkName']=![];constructor(_0x74e6b3,_0x3d2b40){const _0x507186=a4_0xe971b,_0x2e02ee={'knWdU':_0x507186(0x1bb),'pLFPt':function(_0xa011c){return _0xa011c();},'jTTSZ':function(_0x4f0180,_0x351439){return _0x4f0180===_0x351439;},'ejxfd':_0x507186(0x1ba),'ZnNMV':function(_0x60bb4b,_0x4f665f){return _0x60bb4b(_0x4f665f);}},_0xe64fc=_0x2e02ee[_0x507186(0x1bc)]['split']('|');let _0x38acb2=0x0;while(!![]){switch(_0xe64fc[_0x38acb2++]){case'0':this[_0x507186(0x103)]=_0x2e02ee[_0x507186(0x108)](getTestEnv);continue;case'1':this['_paths']=new testOpsHelper[(_0x507186(0x14f))]({'cwd':process[_0x507186(0x158)]()},this['_testEnv'][_0x507186(0x19a)]);continue;case'2':this[_0x507186(0x134)]=_0x3d2b40[_0x507186(0x134)];continue;case'3':this[_0x507186(0x1b9)]&&_0x2e02ee['jTTSZ'](this['driver']['constructor'][_0x507186(0x1c2)],_0x2e02ee['ejxfd'])&&_0x2e02ee['ZnNMV'](mockPWBrowserType,null);continue;case'4':this[_0x507186(0x175)]=_0x2e02ee[_0x507186(0x108)](shouldProcessEventForTesthub);continue;case'5':this[_0x507186(0x1b9)]=_0x74e6b3;continue;}break;}}['start'](){const _0x1e7c0a=a4_0xe971b;if(!this[_0x1e7c0a(0x175)])return;testOpsHelper['patchConsoleLogger'](),process[_0x1e7c0a(0x195)]('bs:addLog:'+process['pid']),process['on'](_0x1e7c0a(0x14c)+process[_0x1e7c0a(0x1d6)],this[_0x1e7c0a(0x115)][_0x1e7c0a(0xf7)](this));}async[a4_0xe971b(0x1a0)](){const _0x5573e8=a4_0xe971b;await RequestQueueHandler[_0x5573e8(0x196)]()[_0x5573e8(0x13b)]();}async[a4_0xe971b(0x115)](_0x2c99ae){const _0x3efb9a=a4_0xe971b,_0x36029d={'kKbpg':_0x3efb9a(0x19f),'JGuCv':function(_0x4c6dfb,_0xb69d88){return _0x4c6dfb(_0xb69d88);}};try{this['currentHook']&&!this[_0x3efb9a(0x1dd)]['markedStatus']&&(_0x2c99ae[_0x3efb9a(0x148)]=this[_0x3efb9a(0x1dd)][_0x3efb9a(0x10f)]);!_0x2c99ae[_0x3efb9a(0x148)]&&this[_0x3efb9a(0x13c)]&&!this[_0x3efb9a(0x13c)][_0x3efb9a(0xfc)]&&(_0x2c99ae[_0x3efb9a(0x1e3)]=this[_0x3efb9a(0x13c)]['testAnalyticsId']);if(_0x2c99ae[_0x3efb9a(0x148)]||_0x2c99ae[_0x3efb9a(0x1e3)]){const _0x57c6c3={};_0x57c6c3[_0x3efb9a(0x190)]=_0x36029d[_0x3efb9a(0x1c0)],_0x57c6c3[_0x3efb9a(0x181)]=[_0x2c99ae],await SessionHandler['uploadEventData'](_0x57c6c3);}}catch(_0x2ec46c){_0x36029d[_0x3efb9a(0x139)](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x2ec46c);}}async[a4_0xe971b(0x198)](_0x2d384f){const _0x2ba663=a4_0xe971b,_0x3eb0f6={'vqmRc':_0x2ba663(0x114),'AMuwd':function(_0x5ef9ab,_0x337836){return _0x5ef9ab(_0x337836);}};if(!this[_0x2ba663(0x175)])return;const _0xb79f5c=this[_0x2ba663(0x124)](this[_0x2ba663(0x1b9)]);try{const _0x387013={};_0x387013['uuid']=_0x2d384f,_0x387013['integrations']=_0xb79f5c;const _0xe6caeb=_0x387013,_0x3c2308={};_0x3c2308[_0x2ba663(0x190)]=_0x3eb0f6[_0x2ba663(0x1d8)],_0x3c2308[_0x2ba663(0x191)]=_0xe6caeb,await SessionHandler['uploadEventData'](_0x3c2308);}catch(_0x20deba){_0x3eb0f6[_0x2ba663(0x140)](debug,_0x2ba663(0x100)+_0x20deba);}}[a4_0xe971b(0x124)](_0xa79628){const _0x19d2e2=a4_0xe971b,_0x3e1d12={'kNEpS':function(_0x5ba059,_0x63a67b){return _0x5ba059(_0x63a67b);}};return _0x3e1d12[_0x19d2e2(0x1a9)](fetchPlatformDetails,_0xa79628);}[a4_0xe971b(0x18e)]=_0x4abc28=>{const _0x57d158=a4_0xe971b,_0x4b70a4={};_0x4b70a4['BtKqb']=_0x57d158(0x1e5),_0x4b70a4[_0x57d158(0x1b1)]=_0x57d158(0x1c9);const _0x4e0056=_0x4b70a4;if(!_0x4abc28||!_0x4abc28[_0x57d158(0x131)])return;[_0x4e0056[_0x57d158(0x1a8)],_0x4e0056['EBfAH']][_0x57d158(0x1ae)](_0x4b4020=>{const _0x47be75=_0x57d158,_0x5e539a=_0x4abc28['parent'][_0x4b4020];_0x5e539a[_0x47be75(0x1ae)](_0x10b375=>{const _0x37a76b=_0x47be75;_0x10b375['hookAnalyticsId']&&(_0x10b375[_0x37a76b(0x10f)]=null);});});};[a4_0xe971b(0x159)](_0x218af3){const _0x5f3350=a4_0xe971b,_0x3a0079={'ZOFjE':_0x5f3350(0x1c3),'SLupi':function(_0x44dd08){return _0x44dd08();},'uAEzJ':function(_0x5bdf69,_0x114520){return _0x5bdf69===_0x114520;},'YggjU':_0x5f3350(0x1c9),'OFsdx':_0x5f3350(0x142),'KyYiu':_0x5f3350(0x14e),'yiMau':'_beforeEach'};if(!_0x218af3||!_0x218af3[_0x5f3350(0x131)])return;[_0x3a0079[_0x5f3350(0x166)],_0x3a0079['KyYiu'],_0x3a0079[_0x5f3350(0x104)],_0x3a0079[_0x5f3350(0x112)]]['forEach'](_0x20c99b=>{const _0x2500a5=_0x5f3350,_0x430803=_0x218af3[_0x2500a5(0x131)][_0x20c99b]||[];_0x430803[_0x2500a5(0x1ae)](_0x1cb4ba=>{const _0x1af67a=_0x2500a5;if(_0x1cb4ba[_0x1af67a(0x128)][_0x1af67a(0x1d7)](_0x3a0079[_0x1af67a(0x102)]))return;if(!_0x1cb4ba[_0x1af67a(0x10f)])_0x1cb4ba[_0x1af67a(0x10f)]=_0x3a0079['SLupi'](uuidv4);else _0x1cb4ba[_0x1af67a(0xfc)]&&_0x3a0079[_0x1af67a(0x138)](_0x20c99b,_0x3a0079[_0x1af67a(0x112)])&&(_0x1cb4ba[_0x1af67a(0x10f)]=_0x3a0079['SLupi'](uuidv4),delete _0x1cb4ba[_0x1af67a(0xfc)]);});}),this[_0x5f3350(0x159)](_0x218af3[_0x5f3350(0x131)]);}[a4_0xe971b(0x1cc)](_0xb5d408){const _0x273e13=a4_0xe971b,_0x2d76c7={};_0x2d76c7[_0x273e13(0x192)]=_0x273e13(0x142),_0x2d76c7['lzYzw']=_0x273e13(0x14e),_0x2d76c7['nIgDd']=_0x273e13(0x1e5),_0x2d76c7[_0x273e13(0x16c)]=_0x273e13(0x1c9);const _0x260909=_0x2d76c7;if(!_0xb5d408||!_0xb5d408['parent'])return[];const _0x31a38d=[];return[_0x260909[_0x273e13(0x192)],_0x260909[_0x273e13(0x19b)],_0x260909[_0x273e13(0x1de)],_0x260909[_0x273e13(0x16c)]][_0x273e13(0x1ae)](_0x1cd53b=>{const _0x49cbee=_0x273e13,_0x369594=_0xb5d408[_0x49cbee(0x131)][_0x1cd53b]||[];_0x369594[_0x49cbee(0x1ae)](_0x162ffb=>{const _0x4f114b=_0x49cbee;_0x162ffb[_0x4f114b(0x10f)]&&_0x31a38d['push'](_0x162ffb[_0x4f114b(0x10f)]);});}),[][_0x273e13(0x130)](_0x31a38d,this[_0x273e13(0x1cc)](_0xb5d408['parent']));}[a4_0xe971b(0x173)](_0x497ead){const _0x5d8709=a4_0xe971b,_0x2d5d5e=/^"(?<hook>.*)" hook:.*$/,_0x41590c=_0x497ead['title'],_0x24d30a=_0x41590c['match'](_0x2d5d5e);if(_0x24d30a&&_0x24d30a[_0x5d8709(0x101)])return _0x24d30a[_0x5d8709(0x101)][_0x5d8709(0x188)][_0x5d8709(0x13a)]()[_0x5d8709(0x154)]('\x20','_');return null;}[a4_0xe971b(0x1a6)](_0x3d6670){const _0x116ac3=a4_0xe971b,_0x1052d9={};_0x1052d9['tXsZh']=function(_0x1b24bf,_0x54a8a1){return _0x1b24bf===_0x54a8a1;},_0x1052d9[_0x116ac3(0x17c)]=_0x116ac3(0x111),_0x1052d9[_0x116ac3(0x1ce)]='config';const _0x2ec71a=_0x1052d9,_0x1c56fe=path[_0x116ac3(0x106)];if(_0x2ec71a[_0x116ac3(0x125)](_0x3d6670,null)||_0x2ec71a[_0x116ac3(0x125)](_0x3d6670,'')||_0x2ec71a[_0x116ac3(0x125)](_0x3d6670,_0x1c56fe))return null;try{return fs[_0x116ac3(0x1a2)](path[_0x116ac3(0x118)](_0x3d6670,_0x2ec71a[_0x116ac3(0x17c)],_0x2ec71a[_0x116ac3(0x1ce)])),_0x3d6670;}catch(_0xa88f70){const _0x110c92=path[_0x116ac3(0x1a7)](_0x3d6670);return this['findGitConfig'](_0x110c92);}}[a4_0xe971b(0x187)](_0x37687b){const _0x4161e7=a4_0xe971b,_0x4d8f7c={};_0x4d8f7c[_0x4161e7(0x1ca)]=function(_0x2056ca,_0xad015d){return _0x2056ca>_0xad015d;};const _0x20a320=_0x4d8f7c;if(_0x37687b[_0x4161e7(0x136)])return _0x37687b[_0x4161e7(0x136)];if(_0x37687b[_0x4161e7(0x11a)]){const _0xa8af2=_0x37687b[_0x4161e7(0x11a)][_0x4161e7(0x13c)]?this[_0x4161e7(0x187)](_0x37687b[_0x4161e7(0x11a)][_0x4161e7(0x13c)]):null;if(_0xa8af2)return _0xa8af2;}if(_0x37687b[_0x4161e7(0x131)]){const _0x54afb8=this[_0x4161e7(0x187)](_0x37687b['parent'])||(_0x37687b[_0x4161e7(0x131)][_0x4161e7(0x11a)]&&_0x37687b[_0x4161e7(0x131)][_0x4161e7(0x11a)][_0x4161e7(0x13c)]?this[_0x4161e7(0x187)](_0x37687b[_0x4161e7(0x131)][_0x4161e7(0x11a)][_0x4161e7(0x13c)]):null);if(_0x54afb8)return _0x54afb8;_0x37687b[_0x4161e7(0x131)][_0x4161e7(0x12e)]&&_0x20a320[_0x4161e7(0x1ca)](_0x37687b[_0x4161e7(0x131)][_0x4161e7(0x12e)][_0x4161e7(0x11f)],0x0)&&_0x37687b[_0x4161e7(0x131)][_0x4161e7(0x12e)][_0x4161e7(0x1ae)](_0x5642e3=>{const _0x5ef80e=_0x4161e7,_0x50dbf3=_0x5642e3[_0x5ef80e(0x11a)]?this[_0x5ef80e(0x187)](_0x5642e3['ctx']):null;if(_0x50dbf3)return _0x50dbf3;});}return null;}[a4_0xe971b(0x180)](_0x2b34ff){const _0x54a166=a4_0xe971b,_0x4242fa={};_0x4242fa[_0x54a166(0x10c)]=function(_0x18914b,_0x5623e1){return _0x18914b!==_0x5623e1;};const _0x4e1c3c=_0x4242fa,_0x23882c=[];if(_0x2b34ff&&_0x2b34ff[_0x54a166(0x131)]){let _0x269f2a=_0x2b34ff[_0x54a166(0x131)];while(_0x269f2a&&_0x4e1c3c[_0x54a166(0x10c)](_0x269f2a[_0x54a166(0x128)],'')){_0x23882c['push'](_0x269f2a[_0x54a166(0x128)]),_0x269f2a=_0x269f2a[_0x54a166(0x131)];}}return _0x23882c;}[a4_0xe971b(0x193)](_0x1ca5e3,_0x48b5b0,_0x2318f0=undefined){const _0x679283=a4_0xe971b,_0x54bd8c={'jKmxf':function(_0x287fbb,_0x5dc86a){return _0x287fbb(_0x5dc86a);},'aCsTS':function(_0x4a4ee3){return _0x4a4ee3();},'ATCEn':function(_0x5e71ee){return _0x5e71ee();},'XxUzu':_0x679283(0x137),'lgqWP':'err','tjsFL':function(_0x8218d2,_0x29448f){return _0x8218d2!==_0x29448f;},'MjaZZ':'File\x20path\x20could\x20not\x20be\x20found','mNIGs':_0x679283(0x186),'lpcYM':_0x679283(0x1be),'fvZar':'passed','zczID':_0x679283(0x17f),'qCtKI':_0x679283(0xf5),'QJbXz':function(_0x3b60af,_0x21bcc2){return _0x3b60af-_0x21bcc2;},'EbLIa':function(_0xf9a4b7,_0xf7a7f3,_0x379155,_0x1308c1,_0x1b6274){return _0xf9a4b7(_0xf7a7f3,_0x379155,_0x1308c1,_0x1b6274);},'TmeDN':function(_0x272e6a,_0x5a988f){return _0x272e6a!==_0x5a988f;},'zabld':'integrations','lnnEn':_0x679283(0x1c6),'KldJw':_0x679283(0x11b),'omLCs':_0x679283(0x144),'WhNfX':'backtrace','TDMHH':_0x679283(0x165),'RwHjC':_0x679283(0x1a4),'HkiYj':function(_0x2ae6a1,_0x177ad8){return _0x2ae6a1===_0x177ad8;},'jAfat':_0x679283(0x11d),'UyaCU':'test_run'};if(!this['enabled'])return;try{if(_0x48b5b0['fn']&&_0x48b5b0['fn'][_0x679283(0x174)]()['match'](/browserstack internal helper hook/))return;const _0x49bf4c=_0x54bd8c[_0x679283(0x1cf)](parseEvent,_0x1ca5e3);if(!_0x49bf4c)return;if(_0x49bf4c['test']){this[_0x679283(0x13c)]=_0x48b5b0,this[_0x679283(0x1dd)]=null;if(_0x49bf4c[_0x679283(0x179)]||_0x49bf4c[_0x679283(0x17f)]){_0x48b5b0[_0x679283(0x161)]=new Date(),_0x48b5b0[_0x679283(0xfc)]=![];if(!_0x48b5b0[_0x679283(0x1d0)])_0x48b5b0[_0x679283(0x1d0)]=_0x54bd8c[_0x679283(0x19d)](uuidv4);else _0x48b5b0[_0x679283(0xfc)]&&(!_0x48b5b0[_0x679283(0x1c4)]&&(_0x48b5b0[_0x679283(0x1c4)]=_0x48b5b0[_0x679283(0x1d0)]),_0x48b5b0[_0x679283(0x1d0)]=_0x54bd8c[_0x679283(0x19d)](uuidv4));}}else{if(_0x49bf4c[_0x679283(0x188)]){this[_0x679283(0x1dd)]=_0x48b5b0;if(_0x49bf4c[_0x679283(0x179)]){_0x48b5b0[_0x679283(0x161)]=new Date(),_0x48b5b0[_0x679283(0xfc)]=![];if(!_0x48b5b0[_0x679283(0x10f)])_0x48b5b0['hookAnalyticsId']=_0x54bd8c[_0x679283(0x1cd)](uuidv4);else _0x48b5b0['hookAnalyticsId']&&_0x48b5b0[_0x679283(0xfc)]&&(_0x48b5b0[_0x679283(0x10f)]=_0x54bd8c[_0x679283(0x19d)](uuidv4));}}}if(_0x49bf4c[_0x679283(0x183)]&&_0x48b5b0[_0x679283(0xfc)])return;let _0x2f5388;try{_0x2f5388=this[_0x679283(0x187)](_0x48b5b0);}catch(_0x37136a){logger[_0x679283(0xff)](_0x679283(0x160)+_0x37136a),_0x2f5388=null;}const _0x46a45d=_0x54bd8c[_0x679283(0x1cf)](require,_0x54bd8c[_0x679283(0x182)]);let _0x283736=[];_0x2318f0&&(_0x283736=[_0x2318f0,_0x54bd8c[_0x679283(0x199)]]);const _0x51765b=_0x54bd8c[_0x679283(0x1d9)](_0x48b5b0[_0x679283(0x17b)],undefined)?_0x46a45d['inspect'](_0x48b5b0[_0x679283(0x17b)][0x0]):_0x54bd8c['tjsFL'](_0x2318f0,undefined)?_0x2318f0['toString']():undefined,_0x44071b=_0x2f5388?this[_0x679283(0x1a6)](_0x2f5388):null,_0x4beea6=_0x2f5388?this[_0x679283(0x16f)]['prefixTestPath'](this['getRootParentFile'](_0x48b5b0)):_0x54bd8c[_0x679283(0x14d)];let _0x324fdf=_0x54bd8c[_0x679283(0xf6)];const _0x1f3670=!_0x49bf4c[_0x679283(0x179)]?new Date()[_0x679283(0x18b)]():null;if(_0x49bf4c[_0x679283(0x183)])_0x324fdf=_0x2318f0?_0x54bd8c[_0x679283(0x143)]:_0x54bd8c[_0x679283(0x1a1)],_0x48b5b0['markedStatus']=!![];else _0x49bf4c['skipped']&&(_0x324fdf=_0x54bd8c[_0x679283(0x1db)],_0x48b5b0[_0x679283(0xfc)]=!![]);const _0x389cf1={'framework':this[_0x679283(0x134)],'uuid':_0x48b5b0['testAnalyticsId']||_0x48b5b0['hookAnalyticsId'],'name':_0x48b5b0[_0x679283(0x128)],'body':{'lang':_0x54bd8c[_0x679283(0x16d)],'code':_0x48b5b0[_0x679283(0x10b)][_0x679283(0x174)]()},'type':_0x48b5b0['type'],'scope':_0x48b5b0[_0x679283(0xfa)](),'scopes':this[_0x679283(0x180)](_0x48b5b0),'file_name':_0x4beea6,'vc_filepath':_0x44071b?path[_0x679283(0x1b2)](_0x44071b,_0x2f5388):null,'location':_0x4beea6,'result':_0x324fdf,'failure_reason':_0x51765b,'duration_in_ms':_0x48b5b0[_0x679283(0x1c8)]||(_0x49bf4c['finished']||_0x49bf4c[_0x679283(0x17f)])?_0x54bd8c[_0x679283(0x12f)](Date['now'](),new Date(_0x48b5b0[_0x679283(0x161)])[_0x679283(0x1d2)]()):null,'started_at':new Date(_0x48b5b0[_0x679283(0x161)])[_0x679283(0x18b)](),'finished_at':_0x1f3670,'failure':testOpsHelper[_0x679283(0x1bf)][_0x679283(0x1bd)](null,_0x283736),'failure_type':!_0x51765b?null:testOpsHelper['getFailureType'](_0x51765b),'retry_of':_0x48b5b0[_0x679283(0x1c4)]||null,'tags':_0x48b5b0[_0x679283(0x146)]||[],'customRerunParam':{'rerun_name':_0x48b5b0[_0x679283(0xfa)]()}};_0x54bd8c[_0x679283(0x105)](appendTesthubParams,_0x389cf1,_0x1ca5e3,_0x48b5b0,FRAMEWORKS[_0x679283(0x11e)]);if(_0x49bf4c[_0x679283(0x188)])[_0x389cf1['hook_type'],_0x389cf1[_0x679283(0x1c2)]]=[this[_0x679283(0x173)](_0x48b5b0),_0x48b5b0[_0x679283(0x11a)][_0x679283(0x153)][_0x679283(0x128)]],_0x49bf4c[_0x679283(0x183)]?_0x54bd8c[_0x679283(0x15c)](_0x389cf1['result'],_0x54bd8c[_0x679283(0x143)])&&(_0x389cf1[_0x679283(0x177)]=_0x54bd8c[_0x679283(0x1a1)]):_0x389cf1[_0x679283(0x10b)]={};else _0x49bf4c[_0x679283(0x153)]&&(this['mapTestHooks'](_0x48b5b0),_0x49bf4c['skipped']&&this[_0x679283(0x18e)](_0x48b5b0),(_0x49bf4c[_0x679283(0x183)]||_0x49bf4c[_0x679283(0x17f)])&&(_0x389cf1[_0x679283(0x152)]=this[_0x679283(0x1cc)](_0x48b5b0)));this[_0x679283(0x1b9)]&&(_0x49bf4c[_0x679283(0x179)]||_0x49bf4c['skipped'])&&(_0x389cf1[_0x54bd8c[_0x679283(0x117)]]=this[_0x679283(0x124)](this['driver']));_0x49bf4c[_0x679283(0x153)]&&_0x49bf4c[_0x679283(0x183)]&&_0x48b5b0[_0x679283(0x12a)]&&(_0x389cf1[_0x54bd8c['lnnEn']]={'feature':{'name':_0x48b5b0[_0x679283(0x131)]['feature'][_0x679283(0x1c2)],'path':_0x389cf1['file_name'],'description':_0x48b5b0[_0x679283(0x131)][_0x679283(0x163)]},'scenario':{'name':_0x48b5b0[_0x679283(0x128)]},'steps':_0x48b5b0[_0x679283(0x12a)]});const _0x238c55=_0x389cf1[_0x54bd8c[_0x679283(0x189)]][0x0];_0x238c55&&(_0x389cf1[_0x54bd8c['omLCs']]=_0x238c55[_0x54bd8c[_0x679283(0xfd)]],_0x389cf1[_0x54bd8c['TDMHH']]=_0x238c55[_0x54bd8c[_0x679283(0x1af)]]);if(_0x48b5b0[_0x679283(0x12a)])for(const _0x289175 of _0x48b5b0[_0x679283(0x12a)]){!_0x289175[_0x679283(0x167)]&&(_0x289175[_0x679283(0x167)]=new Date()[_0x679283(0x18b)](),_0x54bd8c[_0x679283(0x15e)](_0x289175[_0x679283(0x177)],_0x54bd8c[_0x679283(0xf6)])&&(_0x238c55?(_0x289175[_0x679283(0x177)]=_0x54bd8c[_0x679283(0x143)],_0x289175[_0x679283(0x11b)]=_0x238c55[_0x54bd8c[_0x679283(0xfd)]][0x0]):_0x289175[_0x679283(0x177)]=_0x54bd8c['fvZar']));}const _0x3f103f={};_0x3f103f[_0x679283(0x190)]=_0x49bf4c['skipped']?TEST_EVENTS['TEST_RUN_FINISHED']:_0x1ca5e3;const _0x269e04=_0x3f103f;return _0x49bf4c[_0x679283(0x188)]?_0x269e04[_0x54bd8c['jAfat']]=_0x389cf1:_0x269e04[_0x54bd8c['UyaCU']]=_0x389cf1,_0x269e04;}catch(_0x4f4459){logger[_0x679283(0xff)]('Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x1ca5e3+_0x679283(0x13e)+_0x4f4459);}}async[a4_0xe971b(0x197)](_0x4bc9af,_0xe68811){const _0xb7de21=a4_0xe971b;if(!this[_0xb7de21(0x175)]||!_0xe68811||!_0x4bc9af)return![];try{return await SessionHandler[_0xb7de21(0x162)](_0xe68811);}catch(_0x27668a){logger[_0xb7de21(0xff)]('Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20'+_0x4bc9af+'\x20with\x20error\x20:\x20'+_0x27668a);}}[a4_0xe971b(0x15b)](_0x15d893){const _0x3f0dfd=a4_0xe971b,_0x3ebd11={};_0x3ebd11[_0x3f0dfd(0x16b)]=_0x3f0dfd(0x186);const _0x403d08=_0x3ebd11;return{'id':_0x15d893[_0x3f0dfd(0x15a)],'text':_0x15d893['text'],'keyword':_0x15d893[_0x3f0dfd(0x1ac)],'started_at':_0x15d893[_0x3f0dfd(0x161)]['toISOString'](),'result':_0x403d08['DAAow']};}[a4_0xe971b(0x12c)](_0x50d814){const _0x217bf7=a4_0xe971b,_0x44bc64={'bHScB':function(_0x4221b3){return _0x4221b3();}};!this[_0x217bf7(0x13c)][_0x217bf7(0x12a)]&&(this[_0x217bf7(0x13c)][_0x217bf7(0x12a)]=[]),!_0x50d814[_0x217bf7(0x15a)]&&(_0x50d814[_0x217bf7(0x15a)]=_0x44bc64[_0x217bf7(0x141)](uuidv4),_0x50d814[_0x217bf7(0x161)]=new Date(),this[_0x217bf7(0x13c)][_0x217bf7(0x12a)][_0x217bf7(0x15f)](this[_0x217bf7(0x15b)](_0x50d814)));}[a4_0xe971b(0x123)](_0x3d84c8){const _0x519f33=a4_0xe971b,_0xb85f7b={'zGAEC':function(_0x30190d,_0x14b2fe){return _0x30190d(_0x14b2fe);},'npETv':_0x519f33(0x1c1),'alKpF':_0x519f33(0x186),'hPVlx':_0x519f33(0x129),'OmzlU':function(_0xa27427,_0x36c8f1){return _0xa27427-_0x36c8f1;}};let _0x2ddb44=this[_0x519f33(0x13c)][_0x519f33(0x12a)][_0x519f33(0x149)](_0x5ab02c=>_0x5ab02c['id']===_0x3d84c8[_0x519f33(0x15a)]);_0xb85f7b[_0x519f33(0x1d4)](isUndefined,_0x2ddb44)&&(_0x2ddb44=this[_0x519f33(0x15b)](_0x3d84c8)),_0x2ddb44[_0x519f33(0x177)]=[_0xb85f7b[_0x519f33(0x107)],_0xb85f7b[_0x519f33(0x194)]][_0x519f33(0x1d7)](_0x3d84c8[_0x519f33(0x14b)])?_0xb85f7b['hPVlx']:_0x3d84c8['status'],_0x2ddb44['finished_at']=new Date()[_0x519f33(0x18b)](),_0x2ddb44[_0x519f33(0x1c8)]=_0xb85f7b[_0x519f33(0x168)](Date[_0x519f33(0x11c)](),_0x3d84c8['startedAt'][_0x519f33(0x1d2)]()),_0x2ddb44[_0x519f33(0x11b)]=_0x3d84c8['err']?_0x3d84c8[_0x519f33(0x170)]['message']:null;}}const a4_0x27d842={};a4_0x27d842[a4_0xe971b(0x145)]=O11yHelper,a4_0x27d842[a4_0xe971b(0x1e4)]=STATE_PASSED,a4_0x27d842[a4_0xe971b(0x15d)]=STATE_FAILED,a4_0x27d842[a4_0xe971b(0x1d3)]=TEST_EVENTS,module[a4_0xe971b(0x12b)]=a4_0x27d842;function a4_0x3c05(_0x4e9296,_0x26f239){const _0x3b0239=a4_0x3b02();return a4_0x3c05=function(_0x3c05a3,_0x34b485){_0x3c05a3=_0x3c05a3-0xf5;let _0x348ec4=_0x3b0239[_0x3c05a3];return _0x348ec4;},a4_0x3c05(_0x4e9296,_0x26f239);}function a4_0x3b02(){const _0x3cd733=['hWpuP','captureEvent','alKpF','removeAllListeners','getInstance','fireEvent','sendCBTInfo','lgqWP','location_prefix','lzYzw','25PnXHfT','aCsTS','toLowerCase','LogCreated','stop','fvZar','statSync','../playwright/accessibility-helper','expanded','TestRunFinished','findGitConfig','dirname','BtKqb','kNEpS','Failed\x20to\x20parse\x20wsendpoint\x20','ODLSP','keyword','UIDpN','forEach','RwHjC','../playwright/sessionDetails','EBfAH','relative','setupBrowserDetails','22684797ixdhOf','owPJz','993724KDRjry','../../helpers/test-observability/utils','match','driver','Playwright','4|2|5|0|1|3','knWdU','apply','failed','failureData','kKbpg','success','name','codeceptjs','retryOf','yxqtc','meta','2549976sgsfJp','duration','_afterEach','DCizP','VfQUc','getHooksForTest','ATCEn','ZsUJm','jKmxf','testAnalyticsId','hPWUl','getTime','TEST_EVENTS','zGAEC','1758897qkPiJt','pid','includes','vqmRc','tjsFL','defineProperty','zczID','TEST_RUN_STARTED','currentHook','nIgDd','lib','jasxw','HOjET','TEST_RUN_FINISHED','test_run_uuid','STATE_PASSED','_beforeEach','javascript','mNIGs','bind','7403400cZvcWW','BrowserType','fullTitle','uuid','markedStatus','WhNfX','PLAYWRIGHT_HUB_URL','debug','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','groups','ZOFjE','_testEnv','yiMau','EbLIa','sep','npETv','pLFPt','DDgON','LMdSZ','body','GCHDd','winstonLogger','string','hookAnalyticsId','../mocha/test-observability/mochaUtils','.git','YggjU','prototype','CBTSessionCreated','appendTestItemLog','../../helpers/test-observability/constants','zabld','join','NNvzz','ctx','failure','now','hook_run','CODECEPT','length','wsEndpoint','kNqqU','../../helpers/test-observability/requestQueueHandler','bddStepFinish','getCBTInfo','tXsZh','obsBrowserTypeMockApplied','IQaww','title','passed','bddSteps','exports','bddStepStart','ZkDlr','suites','QJbXz','concat','parent','launch','mqtPO','frameworkName','TestRunSkipped','file','util','uAEzJ','JGuCv','toUpperCase','shutdown','currentTest','MMDrX','\x20with\x20error\x20:\x20','OigBK','AMuwd','bHScB','_beforeAll','lpcYM','failure_backtrace','O11yHelper','tags','ZbRHq','hook_run_uuid','find','XASdE','status','bs:addLog:','MjaZZ','_afterAll','PathHelper','TestRunStarted','aCueN','hooks','test','replace','eXlXX','890661NLRADj','accessibilityPlatform','cwd','mapTestHooks','stepAnalyticsId','initializeBddStep','TmeDN','STATE_FAILED','HkiYj','push','failed\x20to\x20get\x20root\x20parent\x20file\x20','startedAt','uploadEventData','comment','njXPx','failure_reason_expanded','OFsdx','finished_at','OmzlU','fzWZZ','connect','DAAow','QUrWX','qCtKI','browserType.js','_paths','err','ZkgtJ','HOOK_RUN_STARTED','getHookType','toString','enabled','HookRunStarted','result','client','started','MZFuS','errorsDetailed','UTLsN','9pEzzbg','../utils/constants','skipped','getHierarchy','logs','XxUzu','finished','../../helpers/test-observability/sessionHandler','Not\x20able\x20to\x20import\x20Browser','pending','getRootParentFile','hook','KldJw','then','toISOString','stringify','../../helpers/helper','resetSkipTestHooks','59454xMyjhb','event_type','test_run'];a4_0x3b02=function(){return _0x3cd733;};return a4_0x3b02();}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a4_0x24ae61=a4_0x4561;(function(_0x36794b,_0x553a07){const _0x264811=a4_0x4561,_0xbf6b84=_0x36794b();while(!![]){try{const _0x348edf=parseInt(_0x264811(0xba))/0x1+parseInt(_0x264811(0x12b))/0x2+-parseInt(_0x264811(0xdb))/0x3+parseInt(_0x264811(0xf2))/0x4*(-parseInt(_0x264811(0xd6))/0x5)+-parseInt(_0x264811(0xfd))/0x6+parseInt(_0x264811(0xbb))/0x7*(parseInt(_0x264811(0xcb))/0x8)+parseInt(_0x264811(0x12c))/0x9;if(_0x348edf===_0x553a07)break;else _0xbf6b84['push'](_0xbf6b84['shift']());}catch(_0x44ecf6){_0xbf6b84['push'](_0xbf6b84['shift']());}}}(a4_0x1ec9,0x82e0b));function a4_0x1ec9(){const _0x29d30e=['push','JToLW','cucumber','proxySettings','yellow','testContextOptions','HslOC','red','OMVBd','\x20skipped','\x20ambiguous','\x20steps','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','stepsSkipped','initialize','processSuccess','CUCUMBER','stepsPending','stepsPassed','lfSJT','stop','stepsUnknown','nbgUS','TINVk','../../helpers/helper','JcAWM','log','steps','RTIKU','parallelsPerPlatform','223346tjaOCr','1174428sfqMJX','mergeOutputFiles','848176QvbIsK','7dpFRQG','launchBuild','handleApp','\x20pending','markSDKSetupComplete','Removing\x20tmp\x20directory\x20created\x20for\x20reports','argv','false','parseFormatters','splice','Owbwg','stepsFailed','printBuildLink','oJhrX','finally','debug','4554896BvsRUF','ENEQn','HLCXa','bgWhite','green','forEach','cpprR','stepsAmbiguous','\x20failed','createDir','testObservability','5WqUryv','../../helpers/test-observability/utils','DIgVN','exports','winstonLogger','614862eGXUrP','hEKjb','wgvqZ','cucumber-js','stepsUndefined','format','lnoHI','FRAMEWORKS','tmp','isUndefined','cBkGW','VWuQT','VTADY','exitCode','config','path','****\x20RESULTS\x20****','hilGM','then','removeDir','../../helpers/BrowserStackSetup','getPlatformName','LJZsP','2949784XuMAKr','skipSessionStatus','BROWSERSTACK_TEST_OBSERVABILITY_YML','accessibilityOptions','prepareCapabilities','errorMessage','util','join','env','qAfiu','\x20passed','1087368siuRFZ','useW3C','cwd','../../helpers/testhub/testhubHandler','stringify','scenariosFailed','../../helpers/logger','length','lzDFv','cyan','Generating\x20consolidated\x20report...','logLevel','usXDq','getUserWorkerCount','bold','IwjCN'];a4_0x1ec9=function(){return _0x29d30e;};return a4_0x1ec9();}const fs=require('fs'),path=require(a4_0x24ae61(0xea)),util=require(a4_0x24ae61(0xf8)),logger=require(a4_0x24ae61(0x103))[a4_0x24ae61(0xda)],{default:BrowserStackSetup}=require(a4_0x24ae61(0xef)),helper=require(a4_0x24ae61(0x125)),constants=require('../utils/constants'),{parallelCucumberRun}=require('../test-runner'),TestHubHandler=require(a4_0x24ae61(0x100)),testOpsHelper=require(a4_0x24ae61(0xd7)),chalk=require('chalk');function printCucumberStats(_0x184bac){const _0x136969=a4_0x24ae61,_0xac97d5={};_0xac97d5['lzDFv']=function(_0x7d0a40,_0x263781){return _0x7d0a40>_0x263781;},_0xac97d5[_0x136969(0xec)]=function(_0x34ceb2,_0x48acac){return _0x34ceb2-_0x48acac;},_0xac97d5['lnoHI']=function(_0x40af6c,_0x5523b6){return _0x40af6c-_0x5523b6;},_0xac97d5[_0x136969(0xc8)]=function(_0x40a49c,_0x305aff){return _0x40a49c>_0x305aff;},_0xac97d5['ENEQn']=function(_0xfcff1e,_0x1e0ffb){return _0xfcff1e>_0x1e0ffb;},_0xac97d5[_0x136969(0xe5)]=function(_0x3fb4ee,_0x26707d){return _0x3fb4ee>_0x26707d;},_0xac97d5[_0x136969(0xe7)]=function(_0x1fd850,_0x30d844){return _0x1fd850>_0x30d844;},_0xac97d5[_0x136969(0x10e)]=function(_0x2281d6,_0x15d717){return _0x2281d6>_0x15d717;},_0xac97d5[_0x136969(0xd8)]=function(_0x1f1778,_0x2d70c2){return _0x1f1778+_0x2d70c2;},_0xac97d5[_0x136969(0x126)]=function(_0x17b9f3,_0x4587f5){return _0x17b9f3+_0x4587f5;},_0xac97d5[_0x136969(0x115)]=function(_0x31dd23,_0x285526){return _0x31dd23+_0x285526;},_0xac97d5[_0x136969(0xdd)]=function(_0x31d761,_0x4b1d74){return _0x31d761+_0x4b1d74;},_0xac97d5[_0x136969(0xc5)]=function(_0x6f3a4e,_0x11dba3){return _0x6f3a4e===_0x11dba3;},_0xac97d5[_0x136969(0xdc)]=function(_0x543519,_0xf14f56){return _0x543519===_0xf14f56;},_0xac97d5[_0x136969(0xd1)]=_0x136969(0xeb);const _0x536849=_0xac97d5;let _0x37d996=0x0;if(_0x536849[_0x136969(0xdc)](_0x184bac[_0x136969(0x104)],0x0))return _0x37d996;return console[_0x136969(0x127)](chalk[_0x136969(0x10b)][_0x136969(0xce)](_0x536849['cpprR'])),_0x184bac[_0x136969(0xd0)](_0x1722ec=>{const _0x3b1b3c=_0x136969,_0x425aaf=_0x1722ec[0x0],_0x148375=_0x1722ec[0x1];console[_0x3b1b3c(0x127)]('\x0a'+chalk[_0x3b1b3c(0x10b)][_0x3b1b3c(0x111)](''+helper[_0x3b1b3c(0xf0)](_0x425aaf)));const _0x39a9fb=_0x148375['scenarios'],_0x5ed668=_0x148375[_0x3b1b3c(0x128)],_0xd59a2c=_0x148375[_0x3b1b3c(0x102)],_0x301fb2=_0x148375[_0x3b1b3c(0xc6)],_0x13b58b=_0x148375[_0x3b1b3c(0x11f)],_0x3f1f7f=_0x148375[_0x3b1b3c(0x11a)],_0x5fe41a=_0x148375[_0x3b1b3c(0x11e)],_0xd40a2=_0x148375[_0x3b1b3c(0xdf)],_0x404360=_0x148375[_0x3b1b3c(0x122)],_0x398c7b=_0x148375[_0x3b1b3c(0xd2)],_0x3287a2=_0x148375[_0x3b1b3c(0x11c)];let _0x42dd4b=_0x39a9fb+'\x20scenarios';const _0x7eb86c=_0x536849[_0x3b1b3c(0x105)](_0x536849[_0x3b1b3c(0xec)](_0x39a9fb,_0xd59a2c),0x0)?_0x536849[_0x3b1b3c(0xe1)](_0x39a9fb,_0xd59a2c):0x0;if(_0x536849[_0x3b1b3c(0x105)](_0xd59a2c,0x0)&&_0x536849[_0x3b1b3c(0x105)](_0x7eb86c,0x0))_0x42dd4b+='\x20('+chalk[_0x3b1b3c(0x10b)]['red'](_0xd59a2c+'\x20failed')+',\x20'+chalk[_0x3b1b3c(0x10b)][_0x3b1b3c(0xcf)](_0x7eb86c+_0x3b1b3c(0xfc))+')';else(_0x536849[_0x3b1b3c(0xc8)](_0xd59a2c,0x0)||_0x536849[_0x3b1b3c(0x105)](_0x7eb86c,0x0))&&(_0x42dd4b+=_0x536849[_0x3b1b3c(0xcc)](_0xd59a2c,0x0)?'\x20('+chalk['bold'][_0x3b1b3c(0x114)](_0xd59a2c+_0x3b1b3c(0xd3))+')':'\x20('+chalk[_0x3b1b3c(0x10b)][_0x3b1b3c(0xcf)](_0x7eb86c+_0x3b1b3c(0xfc))+')');const _0x3b2ee3=_0x5ed668+_0x3b1b3c(0x118),_0x368e8e=[];_0x536849[_0x3b1b3c(0xe5)](_0x398c7b,0x0)&&_0x368e8e[_0x3b1b3c(0x10d)](''+chalk[_0x3b1b3c(0x10b)]['red'](_0x398c7b+_0x3b1b3c(0x117)));_0x536849['ENEQn'](_0x301fb2,0x0)&&_0x368e8e['push'](''+chalk[_0x3b1b3c(0x10b)][_0x3b1b3c(0x114)](_0x301fb2+'\x20failed'));_0x536849[_0x3b1b3c(0xc8)](_0x13b58b,0x0)&&_0x368e8e[_0x3b1b3c(0x10d)](''+chalk['bold'][_0x3b1b3c(0xcf)](_0x13b58b+_0x3b1b3c(0xfc)));_0x536849[_0x3b1b3c(0xe7)](_0x5fe41a,0x0)&&_0x368e8e[_0x3b1b3c(0x10d)](''+chalk[_0x3b1b3c(0x10b)][_0x3b1b3c(0x111)](_0x5fe41a+_0x3b1b3c(0xbe)));_0x536849['VTADY'](_0x3f1f7f,0x0)&&_0x368e8e[_0x3b1b3c(0x10d)](''+chalk[_0x3b1b3c(0x10b)][_0x3b1b3c(0x106)](_0x3f1f7f+'\x20skipped'));_0x536849[_0x3b1b3c(0x10e)](_0xd40a2,0x0)&&_0x368e8e[_0x3b1b3c(0x10d)](''+chalk[_0x3b1b3c(0x10b)][_0x3b1b3c(0x111)](_0xd40a2+'\x20undefined'));_0x536849[_0x3b1b3c(0xe5)](_0x404360,0x0)&&_0x368e8e[_0x3b1b3c(0x10d)](''+chalk[_0x3b1b3c(0x10b)][_0x3b1b3c(0x111)](_0x404360+_0x3b1b3c(0x116)));const _0x17cd77=_0x536849[_0x3b1b3c(0xd8)](_0x536849['DIgVN'](_0x536849[_0x3b1b3c(0xd8)](_0x3b2ee3,'('),_0x368e8e[_0x3b1b3c(0xf9)](',\x20')),')');console[_0x3b1b3c(0x127)](_0x536849['JcAWM'](_0x536849[_0x3b1b3c(0x115)](_0x536849[_0x3b1b3c(0xdd)](_0x536849[_0x3b1b3c(0xdd)]('\x0a',_0x42dd4b),'\x0a'),_0x17cd77),'\x0a')),_0x536849[_0x3b1b3c(0xc5)](_0x3287a2,![])&&(_0x37d996=0x1);}),_0x37d996;}async function run(_0x2e0a4d,_0x1f46b5){const _0x5994e3=a4_0x24ae61,_0x256663={'HLCXa':function(_0x58bd1d,_0x21494b){return _0x58bd1d(_0x21494b);},'LJZsP':function(_0x168ee5,_0x11dcb7){return _0x168ee5>_0x11dcb7;},'lfSJT':_0x5994e3(0x107),'nbgUS':_0x5994e3(0xc0),'HslOC':_0x5994e3(0x10f),'VWuQT':_0x5994e3(0xde),'qAfiu':_0x5994e3(0xe3),'IwjCN':function(_0x520772,_0x31b588){return _0x520772>_0x31b588;},'KtzXG':function(_0x1d1f95,_0x5dedbc){return _0x1d1f95-_0x5dedbc;},'usXDq':function(_0xbc7cb7,_0x10618d){return _0xbc7cb7>=_0x10618d;},'RTIKU':function(_0x5ed933,_0x506ab7){return _0x5ed933!=_0x506ab7;},'TINVk':_0x5994e3(0xc2),'KneIK':function(_0xd90891,_0x118b98,_0x4bea4f,_0x45c675,_0x167353,_0x2b804b){return _0xd90891(_0x118b98,_0x4bea4f,_0x45c675,_0x167353,_0x2b804b);}},_0x14117a=new BrowserStackSetup(_0x2e0a4d,_0x256663[_0x5994e3(0xe6)]);await _0x14117a[_0x5994e3(0x11b)](),await helper[_0x5994e3(0xbd)](_0x14117a[_0x5994e3(0xe9)]);const _0x3c5e3a=helper[_0x5994e3(0xfe)](_0x14117a['config']),_0x160a7c=helper[_0x5994e3(0xf6)](_0x14117a['config'],_0x3c5e3a,constants[_0x5994e3(0xe2)][_0x5994e3(0x11d)]);if(!_0x14117a['config'])return;const _0x3c2512=_0x14117a[_0x5994e3(0xe9)][_0x5994e3(0x12a)]||helper[_0x5994e3(0x10a)](_0x2e0a4d,_0x1f46b5,_0x14117a['config'],constants[_0x5994e3(0xe2)][_0x5994e3(0x11d)])||0x1,_0xb8df02={'server':helper['getHubUrl'](_0x14117a['config']),'proxySettings':_0x14117a[_0x5994e3(0xe9)][_0x5994e3(0x110)],'maxWorkers':_0x3c2512,'browserStackLogLevel':_0x14117a[_0x5994e3(0xe9)][_0x5994e3(0x108)],'skipSessionName':_0x14117a[_0x5994e3(0xe9)]['testContextOptions']['skipSessionName'],'skipSessionStatus':_0x14117a[_0x5994e3(0xe9)][_0x5994e3(0x112)][_0x5994e3(0xf3)],'turboScaleUrl':_0x14117a[_0x5994e3(0xe9)]['turboScaleUrl']},_0x51b229=process[_0x5994e3(0xc1)],[_0x370d01,_0x570f8c]=helper[_0x5994e3(0xc3)](_0x51b229),_0x54e748=path[_0x5994e3(0xf9)](process[_0x5994e3(0xff)](),_0x256663[_0x5994e3(0xfb)]);if(_0x256663[_0x5994e3(0x10c)](_0x570f8c[_0x5994e3(0x104)],0x0)){helper[_0x5994e3(0xd4)](_0x54e748);for(let _0x5c2967=_0x256663['KtzXG'](_0x370d01['length'],0x1);_0x256663[_0x5994e3(0x109)](_0x5c2967,0x0);_0x5c2967--){_0x51b229[_0x5994e3(0xc4)](_0x370d01[_0x5c2967],0x2);}}!helper[_0x5994e3(0xe4)](_0x14117a[_0x5994e3(0xe9)][_0x5994e3(0xf5)])&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x5994e3(0x101)](_0x14117a[_0x5994e3(0xe9)]['accessibilityOptions']));_0x256663[_0x5994e3(0x129)](_0x14117a['config'][_0x5994e3(0xd5)],null)?process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x14117a['config'][_0x5994e3(0xd5)]:process[_0x5994e3(0xfa)][_0x5994e3(0xf4)]=_0x256663[_0x5994e3(0x124)];const _0x4483f5=await TestHubHandler[_0x5994e3(0xbc)](constants[_0x5994e3(0xe2)][_0x5994e3(0x11d)],_0x14117a);helper[_0x5994e3(0xbf)]();let _0x121f5a;_0x256663['KneIK'](parallelCucumberRun,_0x160a7c,_0xb8df02,_0x14117a[_0x5994e3(0xe9)],_0x51b229,_0x570f8c)[_0x5994e3(0xed)](async _0x3347ea=>{const _0x5dfc0c=_0x5994e3;_0x121f5a=_0x3347ea;const _0x55ce4c=_0x256663[_0x5dfc0c(0xcd)](printCucumberStats,_0x3347ea);process[_0x5dfc0c(0xe8)]=_0x55ce4c,_0x256663[_0x5dfc0c(0xf1)](_0x570f8c[_0x5dfc0c(0x104)],0x0)&&(logger[_0x5dfc0c(0xca)](_0x256663[_0x5dfc0c(0x120)]),helper[_0x5dfc0c(0xb9)](_0x54e748,_0x570f8c),logger['debug'](_0x256663[_0x5dfc0c(0x123)]),helper[_0x5dfc0c(0xee)](_0x54e748));})[_0x5994e3(0xc9)](async()=>{const _0x5d15a1=_0x5994e3;_0x14117a[_0x5d15a1(0xf7)]=helper['getErrorMessageFromResults'](_0x121f5a,_0x256663[_0x5d15a1(0x113)]),testOpsHelper[_0x5d15a1(0xc7)]();try{await TestHubHandler[_0x5d15a1(0x121)]();}catch(_0x2edb2a){logger[_0x5d15a1(0xca)](_0x5d15a1(0x119)+util[_0x5d15a1(0xe0)](_0x2edb2a));}await helper['finalExecution'](_0x14117a);});}function a4_0x4561(_0x435459,_0xe5487b){const _0x1ec9bc=a4_0x1ec9();return a4_0x4561=function(_0x4561cd,_0x582147){_0x4561cd=_0x4561cd-0xb9;let _0x201b4b=_0x1ec9bc[_0x4561cd];return _0x201b4b;},a4_0x4561(_0x435459,_0xe5487b);}module[a4_0x24ae61(0xd9)]=run;
|
|
2
|
+
'use strict';function a5_0x5357(){const _0x43c172=['stepsPassed','Removing\x20tmp\x20directory\x20created\x20for\x20reports','cucumber-js','stepsPending','nJfNt','format','LxMUk','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','EjzLX','971037dDMkzz','join','initialize','996382rSUzVv','markSDKSetupComplete','length','testObservability','steps','scenarios','UYxWS','prepareCapabilities','VWnzi','path','getHubUrl','removeDir','UfGcH','CUCUMBER','../utils/constants','ZtsDv','MIccv','bgWhite','XZEBr','bUevZ','gCCAB','mergeOutputFiles','getErrorMessageFromResults','cyan','accessibilityOptions','printBuildLink','ccpvE','fOaqj','exports','push','****\x20RESULTS\x20****','\x20scenarios','testContextOptions','green','errorMessage','logLevel','\x20failed','parallelsPerPlatform','uZbkC','turboScaleUrl','splice','stringify','exitCode','finalExecution','processSuccess','\x20skipped','yellow','error\x20removing\x20tcg\x20config\x20file','../test-runner','skipSessionStatus','stepsFailed','scenariosFailed','isBrowserstackInfra','255iOuCIx','CKfSn','getUserWorkerCount','GyueY','util','352zcOMUT','config','1305Fxpeeu','forEach','stepsUndefined','stepsAmbiguous','red','89820CfQdRB','../../helpers/test-observability/utils','debug','\x20pending','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','20258tkBOsC','dGwnp','\x20steps','../../helpers/helper','unlinkSync','env','BROWSERSTACK_TEST_OBSERVABILITY_YML','getPlatformName','bold','WXTAD','createDir','handleApp','FRAMEWORKS','cwd','6031416raPmEk','launchBuild','getTCGConfigFilePaths','cucumber','../../helpers/BrowserStackSetup','setupTCGAuth','then','SGjlo','isUndefined','stop','stepsUnknown','argv','yINHd','31610QWmdXk','../../helpers/testhub/testhubHandler','rmdirSync','Generating\x20consolidated\x20report...','cndSN','1179420ZoWBaT','log','\x20passed'];a5_0x5357=function(){return _0x43c172;};return a5_0x5357();}const a5_0x2bdbf4=a5_0x3e6e;(function(_0x14b20f,_0x29837d){const _0x5d3a0a=a5_0x3e6e,_0x5128d4=_0x14b20f();while(!![]){try{const _0x14be6f=parseInt(_0x5d3a0a(0x19c))/0x1+-parseInt(_0x5d3a0a(0x1ab))/0x2+-parseInt(_0x5d3a0a(0x1a8))/0x3+parseInt(_0x5d3a0a(0x18a))/0x4+parseInt(_0x5d3a0a(0x1e0))/0x5*(-parseInt(_0x5d3a0a(0x177))/0x6)+parseInt(_0x5d3a0a(0x17c))/0x7*(parseInt(_0x5d3a0a(0x1e5))/0x8)+-parseInt(_0x5d3a0a(0x1e7))/0x9*(parseInt(_0x5d3a0a(0x197))/0xa);if(_0x14be6f===_0x29837d)break;else _0x5128d4['push'](_0x5128d4['shift']());}catch(_0x578fae){_0x5128d4['push'](_0x5128d4['shift']());}}}(a5_0x5357,0xbc36d));const fs=require('fs'),path=require(a5_0x2bdbf4(0x1b4)),util=require(a5_0x2bdbf4(0x1e4)),logger=require('../../helpers/logger')['winstonLogger'],{default:BrowserStackSetup}=require(a5_0x2bdbf4(0x18e)),helper=require(a5_0x2bdbf4(0x17f)),constants=require(a5_0x2bdbf4(0x1b9)),{parallelCucumberRun}=require(a5_0x2bdbf4(0x1db)),TestHubHandler=require(a5_0x2bdbf4(0x198)),testOpsHelper=require(a5_0x2bdbf4(0x178)),chalk=require('chalk');function a5_0x3e6e(_0x580af0,_0x46e048){const _0x5357b7=a5_0x5357();return a5_0x3e6e=function(_0x3e6e96,_0x1f3162){_0x3e6e96=_0x3e6e96-0x177;let _0x260c68=_0x5357b7[_0x3e6e96];return _0x260c68;},a5_0x3e6e(_0x580af0,_0x46e048);}function printCucumberStats(_0x5d449f){const _0x4e0c54=a5_0x2bdbf4,_0x1e69ec={};_0x1e69ec[_0x4e0c54(0x1bb)]=function(_0x2fc641,_0x3e3554){return _0x2fc641>_0x3e3554;},_0x1e69ec[_0x4e0c54(0x1c5)]=function(_0x487e7c,_0x41aded){return _0x487e7c-_0x41aded;},_0x1e69ec['ZtsDv']=function(_0x3eaf0e,_0x24eef8){return _0x3eaf0e-_0x24eef8;},_0x1e69ec[_0x4e0c54(0x1b1)]=function(_0x1b1376,_0x4e1341){return _0x1b1376>_0x4e1341;},_0x1e69ec[_0x4e0c54(0x1e3)]=function(_0x54e497,_0x5590b0){return _0x54e497>_0x5590b0;},_0x1e69ec[_0x4e0c54(0x17d)]=function(_0x1da588,_0x5604b1){return _0x1da588>_0x5604b1;},_0x1e69ec[_0x4e0c54(0x1be)]=function(_0x3cedc9,_0x4bd08f){return _0x3cedc9>_0x4bd08f;},_0x1e69ec[_0x4e0c54(0x19b)]=function(_0x27c038,_0x12e2ee){return _0x27c038+_0x12e2ee;},_0x1e69ec['ZVstN']=function(_0x49a65b,_0x129eb5){return _0x49a65b+_0x129eb5;},_0x1e69ec[_0x4e0c54(0x1a3)]=function(_0x224f93,_0x2bee84){return _0x224f93+_0x2bee84;},_0x1e69ec[_0x4e0c54(0x196)]=function(_0x509c51,_0x19c5ea){return _0x509c51===_0x19c5ea;},_0x1e69ec[_0x4e0c54(0x185)]=function(_0x1422a0,_0x2eeb3a){return _0x1422a0===_0x2eeb3a;},_0x1e69ec[_0x4e0c54(0x1bd)]=_0x4e0c54(0x1c9);const _0x123042=_0x1e69ec;let _0x4a8da7=0x0;if(_0x123042[_0x4e0c54(0x185)](_0x5d449f[_0x4e0c54(0x1ad)],0x0))return _0x4a8da7;return console['log'](chalk[_0x4e0c54(0x184)][_0x4e0c54(0x1bc)](_0x123042[_0x4e0c54(0x1bd)])),_0x5d449f[_0x4e0c54(0x1e8)](_0x5f3414=>{const _0x22f650=_0x4e0c54,_0x1391a1=_0x5f3414[0x0],_0x582770=_0x5f3414[0x1];console['log']('\x0a'+chalk[_0x22f650(0x184)][_0x22f650(0x1d9)](''+helper[_0x22f650(0x183)](_0x1391a1)));const _0x200967=_0x582770[_0x22f650(0x1b0)],_0x51a388=_0x582770[_0x22f650(0x1af)],_0x4499a0=_0x582770[_0x22f650(0x1de)],_0xa32335=_0x582770[_0x22f650(0x1dd)],_0x37774a=_0x582770[_0x22f650(0x19f)],_0x4dcdc6=_0x582770['stepsSkipped'],_0x183740=_0x582770[_0x22f650(0x1a2)],_0x4116ac=_0x582770[_0x22f650(0x1e9)],_0x184d95=_0x582770[_0x22f650(0x194)],_0x5ad0ef=_0x582770[_0x22f650(0x1ea)],_0x5acc41=_0x582770[_0x22f650(0x1d7)];let _0x290f91=_0x200967+_0x22f650(0x1ca);const _0x35db7c=_0x123042[_0x22f650(0x1bb)](_0x123042[_0x22f650(0x1c5)](_0x200967,_0x4499a0),0x0)?_0x123042[_0x22f650(0x1ba)](_0x200967,_0x4499a0):0x0;if(_0x123042[_0x22f650(0x1bb)](_0x4499a0,0x0)&&_0x123042[_0x22f650(0x1bb)](_0x35db7c,0x0))_0x290f91+='\x20('+chalk[_0x22f650(0x184)][_0x22f650(0x1eb)](_0x4499a0+_0x22f650(0x1cf))+',\x20'+chalk[_0x22f650(0x184)][_0x22f650(0x1cc)](_0x35db7c+_0x22f650(0x19e))+')';else(_0x123042[_0x22f650(0x1bb)](_0x4499a0,0x0)||_0x123042[_0x22f650(0x1bb)](_0x35db7c,0x0))&&(_0x290f91+=_0x123042[_0x22f650(0x1b1)](_0x4499a0,0x0)?'\x20('+chalk['bold'][_0x22f650(0x1eb)](_0x4499a0+_0x22f650(0x1cf))+')':'\x20('+chalk[_0x22f650(0x184)]['green'](_0x35db7c+_0x22f650(0x19e))+')');const _0x56a2ff=_0x51a388+_0x22f650(0x17e),_0x2c1b08=[];_0x123042['GyueY'](_0x5ad0ef,0x0)&&_0x2c1b08[_0x22f650(0x1c8)](''+chalk[_0x22f650(0x184)][_0x22f650(0x1eb)](_0x5ad0ef+'\x20ambiguous'));_0x123042[_0x22f650(0x1b1)](_0xa32335,0x0)&&_0x2c1b08[_0x22f650(0x1c8)](''+chalk[_0x22f650(0x184)][_0x22f650(0x1eb)](_0xa32335+_0x22f650(0x1cf)));_0x123042['MIccv'](_0x37774a,0x0)&&_0x2c1b08[_0x22f650(0x1c8)](''+chalk['bold']['green'](_0x37774a+_0x22f650(0x19e)));_0x123042['GyueY'](_0x183740,0x0)&&_0x2c1b08[_0x22f650(0x1c8)](''+chalk[_0x22f650(0x184)]['yellow'](_0x183740+_0x22f650(0x17a)));_0x123042[_0x22f650(0x17d)](_0x4dcdc6,0x0)&&_0x2c1b08[_0x22f650(0x1c8)](''+chalk['bold'][_0x22f650(0x1c2)](_0x4dcdc6+_0x22f650(0x1d8)));_0x123042[_0x22f650(0x1e3)](_0x4116ac,0x0)&&_0x2c1b08[_0x22f650(0x1c8)](''+chalk[_0x22f650(0x184)][_0x22f650(0x1d9)](_0x4116ac+'\x20undefined'));_0x123042[_0x22f650(0x1be)](_0x184d95,0x0)&&_0x2c1b08[_0x22f650(0x1c8)](''+chalk[_0x22f650(0x184)][_0x22f650(0x1d9)](_0x184d95+_0x22f650(0x1d8)));const _0x49497d=_0x123042[_0x22f650(0x19b)](_0x123042[_0x22f650(0x19b)](_0x123042['cndSN'](_0x56a2ff,'('),_0x2c1b08[_0x22f650(0x1a9)](',\x20')),')');console[_0x22f650(0x19d)](_0x123042['ZVstN'](_0x123042['nJfNt'](_0x123042[_0x22f650(0x19b)](_0x123042['cndSN']('\x0a',_0x290f91),'\x0a'),_0x49497d),'\x0a')),_0x123042[_0x22f650(0x196)](_0x5acc41,![])&&(_0x4a8da7=0x1);}),_0x4a8da7;}async function run(_0x16324a,_0x665e01){const _0x2a67ce=a5_0x2bdbf4,_0x84928={'uZbkC':function(_0x4566ab,_0x2cb30b){return _0x4566ab(_0x2cb30b);},'fOaqj':function(_0xbf04f8,_0x38fd1f){return _0xbf04f8>_0x38fd1f;},'jePyX':_0x2a67ce(0x19a),'VWnzi':_0x2a67ce(0x1a0),'oAlbi':_0x2a67ce(0x18d),'LxMUk':_0x2a67ce(0x1da),'TQwHk':_0x2a67ce(0x1a1),'YQwao':'tmp','SGjlo':function(_0x293f32,_0x37f564){return _0x293f32-_0x37f564;},'UfGcH':function(_0x22c9f0,_0x494d66){return _0x22c9f0>=_0x494d66;},'CKfSn':function(_0x2a0238,_0x493974){return _0x2a0238!=_0x493974;},'gCCAB':'false','EjzLX':function(_0x166dc1,_0x5d8d2f,_0x172b8b,_0x45315c,_0x5a0e39,_0x2fc54b){return _0x166dc1(_0x5d8d2f,_0x172b8b,_0x45315c,_0x5a0e39,_0x2fc54b);}},_0x438d35=new BrowserStackSetup(_0x16324a,_0x84928['TQwHk']);await _0x438d35[_0x2a67ce(0x1aa)]();!helper[_0x2a67ce(0x1df)]()&&await _0x438d35[_0x2a67ce(0x18f)]();await helper[_0x2a67ce(0x187)](_0x438d35[_0x2a67ce(0x1e6)]);const _0x4cb1c7=helper['useW3C'](_0x438d35[_0x2a67ce(0x1e6)]),_0x1e6cc5=helper[_0x2a67ce(0x1b2)](_0x438d35[_0x2a67ce(0x1e6)],_0x4cb1c7,constants[_0x2a67ce(0x188)][_0x2a67ce(0x1b8)]);if(!_0x438d35[_0x2a67ce(0x1e6)])return;const _0x1cc2db=_0x438d35[_0x2a67ce(0x1e6)][_0x2a67ce(0x1d0)]||helper[_0x2a67ce(0x1e2)](_0x16324a,_0x665e01,_0x438d35[_0x2a67ce(0x1e6)],constants['FRAMEWORKS']['CUCUMBER'])||0x1,_0x23615a={'server':helper[_0x2a67ce(0x1b5)](_0x438d35[_0x2a67ce(0x1e6)]),'proxySettings':_0x438d35[_0x2a67ce(0x1e6)]['proxySettings'],'maxWorkers':_0x1cc2db,'browserStackLogLevel':_0x438d35[_0x2a67ce(0x1e6)][_0x2a67ce(0x1ce)],'skipSessionName':_0x438d35[_0x2a67ce(0x1e6)]['testContextOptions']['skipSessionName'],'skipSessionStatus':_0x438d35[_0x2a67ce(0x1e6)][_0x2a67ce(0x1cb)][_0x2a67ce(0x1dc)],'turboScaleUrl':_0x438d35[_0x2a67ce(0x1e6)][_0x2a67ce(0x1d2)]},_0x4f5564=process[_0x2a67ce(0x195)],[_0x4002f9,_0x5f5508]=helper['parseFormatters'](_0x4f5564),_0xeff23=path[_0x2a67ce(0x1a9)](process[_0x2a67ce(0x189)](),_0x84928['YQwao']);if(_0x84928['fOaqj'](_0x5f5508['length'],0x0)){helper[_0x2a67ce(0x186)](_0xeff23);for(let _0x3c2bd4=_0x84928[_0x2a67ce(0x191)](_0x4002f9[_0x2a67ce(0x1ad)],0x1);_0x84928[_0x2a67ce(0x1b7)](_0x3c2bd4,0x0);_0x3c2bd4--){_0x4f5564[_0x2a67ce(0x1d3)](_0x4002f9[_0x3c2bd4],0x2);}}!helper[_0x2a67ce(0x192)](_0x438d35[_0x2a67ce(0x1e6)]['accessibilityOptions'])&&(process[_0x2a67ce(0x181)][_0x2a67ce(0x17b)]=JSON[_0x2a67ce(0x1d4)](_0x438d35[_0x2a67ce(0x1e6)][_0x2a67ce(0x1c3)]));_0x84928[_0x2a67ce(0x1e1)](_0x438d35[_0x2a67ce(0x1e6)][_0x2a67ce(0x1ae)],null)?process[_0x2a67ce(0x181)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x438d35[_0x2a67ce(0x1e6)][_0x2a67ce(0x1ae)]:process[_0x2a67ce(0x181)][_0x2a67ce(0x182)]=_0x84928[_0x2a67ce(0x1bf)];const _0x2cb850=await TestHubHandler[_0x2a67ce(0x18b)](constants['FRAMEWORKS']['CUCUMBER'],_0x438d35);helper[_0x2a67ce(0x1ac)]();let _0x37b6fd;_0x84928[_0x2a67ce(0x1a7)](parallelCucumberRun,_0x1e6cc5,_0x23615a,_0x438d35[_0x2a67ce(0x1e6)],_0x4f5564,_0x5f5508)[_0x2a67ce(0x190)](async _0x2152aa=>{const _0xa36049=_0x2a67ce;_0x37b6fd=_0x2152aa;const _0x2e14c6=_0x84928[_0xa36049(0x1d1)](printCucumberStats,_0x2152aa);process[_0xa36049(0x1d5)]=_0x2e14c6,_0x84928[_0xa36049(0x1c6)](_0x5f5508['length'],0x0)&&(logger[_0xa36049(0x179)](_0x84928['jePyX']),helper[_0xa36049(0x1c0)](_0xeff23,_0x5f5508),logger[_0xa36049(0x179)](_0x84928[_0xa36049(0x1b3)]),helper[_0xa36049(0x1b6)](_0xeff23));})['finally'](async()=>{const _0x1c22bd=_0x2a67ce;_0x438d35[_0x1c22bd(0x1cd)]=helper[_0x1c22bd(0x1c1)](_0x37b6fd,_0x84928['oAlbi']),testOpsHelper[_0x1c22bd(0x1c4)]();try{await TestHubHandler[_0x1c22bd(0x193)]();}catch(_0x2f563b){logger[_0x1c22bd(0x179)](_0x1c22bd(0x1a6)+util[_0x1c22bd(0x1a4)](_0x2f563b));}try{const {browserstackFolderPath:_0x15c489,tcgConfigPath:_0x506aa6}=helper[_0x1c22bd(0x18c)]();fs[_0x1c22bd(0x180)](_0x506aa6),fs[_0x1c22bd(0x199)](_0x15c489);}catch(_0x3ba2fe){logger[_0x1c22bd(0x179)](_0x84928[_0x1c22bd(0x1a5)],_0x3ba2fe);}await helper[_0x1c22bd(0x1d6)](_0x438d35);});}module[a5_0x2bdbf4(0x1c7)]=run;
|