browserstack-node-sdk 1.34.5 → 1.34.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance-tester.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function a6_0x258c(_0x1936f1,_0xd31218){const _0x4b94c2=a6_0x4b94();return a6_0x258c=function(_0x258cce,_0x4033e4){_0x258cce=_0x258cce-0xc0;let _0x14782d=_0x4b94c2[_0x258cce];return _0x14782d;},a6_0x258c(_0x1936f1,_0xd31218);}const a6_0x26e6ce=a6_0x258c;(function(_0x4ba3f8,_0x1781bf){const _0x89afb0=a6_0x258c,_0x2d157c=_0x4ba3f8();while(!![]){try{const _0x2b866f=-parseInt(_0x89afb0(0xd7))/0x1+-parseInt(_0x89afb0(0xed))/0x2+-parseInt(_0x89afb0(0xf8))/0x3*(-parseInt(_0x89afb0(0xec))/0x4)+parseInt(_0x89afb0(0x12c))/0x5*(-parseInt(_0x89afb0(0x150))/0x6)+parseInt(_0x89afb0(0x148))/0x7*(-parseInt(_0x89afb0(0x164))/0x8)+-parseInt(_0x89afb0(0xea))/0x9*(parseInt(_0x89afb0(0x143))/0xa)+parseInt(_0x89afb0(0x139))/0xb*(parseInt(_0x89afb0(0x12a))/0xc);if(_0x2b866f===_0x1781bf)break;else _0x2d157c['push'](_0x2d157c['shift']());}catch(_0x39e7da){_0x2d157c['push'](_0x2d157c['shift']());}}}(a6_0x4b94,0xa4749));const {requireModule,getPlatformName,nestedKeyValue,isUndefined}=require(a6_0x26e6ce(0x113)),util=require('util'),{Formatter,formatterHelpers,Status}=requireModule('@cucumber/cucumber'),TestDetails=require('../../playwright/reporter/test-details.js'),TestObservabilityReporter=require(a6_0x26e6ce(0x11d)),{o11yClassErrorHandler}=require(a6_0x26e6ce(0x13b)),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils.js'),testObservabilityReporter=new TestObservabilityReporter(),logger=require('../../../helpers/logger')[a6_0x26e6ce(0x126)],_tests={},_testCasesData={};function a6_0x4b94(){const _0x522a9c=['onTestStepStarted','tPlnE','14318381PAZraX','testCaseAttempt','../../../helpers/test-observability/error-handler','testStepId','rxnMv','cwd','testCaseStartedId','cTuDh','snippetBuilder','background','22190uxKyom','qIaqt','toString','testCaseId','incrementCounter','61187GOZLaf','pWUZn','log','gherkinDocument','UNKNOWN','SUQOQ','map','sourceLocation','5340UsdYPe','checkHookURI','children','gYStd','onTestStepFinished','TestRunStarted','Exception\x20in\x20onTestStepStarted\x20event:\x20','stepDefinitionIds','TXebF','QVoVM','actionLocation','onTestCaseStarted','seconds','text','parse','testStepFinished','onTestRunStarted','testSteps','Exception\x20in\x20sending\x20onTestCaseFinished\x20event:\x20\x20','envmJ','104wYyJGl','Exception\x20in\x20onTestStepFinished\x20event:\x20','DnNXg','AEheJ','cwyAw','pickleStepId','xfeFt','testCaseStarted','Executing\x20tests\x20for\x20','getGherkinDocument','steps','pickle','includes','UOSKy','gherkinDocumentMap','pickleMap','uZdtd','cucumber-js/test.setup.js','WJQQx','testCaseMap','__platform','FAILED','message','sendTestRunEventForCucumber','tpcnA','553921mCoQxx','debug','jgfOh','SMXGz','pickleId','cUNZo','exception','rule','wZJYe','testCaseFinished','UNDEFINED','BxEXh','lEgcU','getTestCaseAttempt','extractStepContainers','toLowerCase','\x20\x20\x20\x20','envelope','values','1476CBCszl','SKIPPED','40uNdErj','649184EKPjPx','GmSZc','finishedAt','THNsx','BLRjn','FtLNj','HookRunStarted','GZkgR','KOqpn','failed','toISOString','224274cuhaNg','split','isBstackHook','stepDefinitions','line','INRis','name','status','flat','kWTij','duration','\x20-\x20','tfNpo','supportCodeLibrary','UnhandledError','setup','4|1|0|2|3','TestRunFinished','sendHook','logTestRunFinished','feature','push','forEach','bstack','vmmQX','testStepStarted','uri','../../../helpers/helper','onTestRunFinished','Koaew','Tspbf','syvcw','testStepResult','testCaseAttemptDataMap','getGherkinStepMap','find','testRunFinished','../test-observability.js','uIwNN','finished_at','AMBIGUOUS','eventDataCollector','Ekwdc','keyword','logTestCaseFinished','xdmfg','winstonLogger','onTestCaseFinished','Exception\x20in\x20sending\x20onTestCaseStarted:\x20','hookId','12PDkPKY','format','110LXoHkL','scenario','result','failureType','afterTestCaseHookDefinitions','SIWHo','rmLdd','CONFIG','env','TZTwv','CeeUi'];a6_0x4b94=function(){return _0x522a9c;};return a6_0x4b94();}class BrowserstackFormatter extends Formatter{constructor(_0x32c880){const _0x3a3051=a6_0x26e6ce,_0x512eb9={};_0x512eb9['oAjdZ']=_0x3a3051(0xe8);const _0x5434bf=_0x512eb9;super(_0x32c880),_0x32c880['eventBroadcaster']['on'](_0x5434bf['oAjdZ'],async _0x427783=>{const _0x11a91a=_0x3a3051;switch(!![]){case!!_0x427783['testRunStarted']:this['onTestRunStarted']();break;case!!_0x427783[_0x11a91a(0x11c)]:this[_0x11a91a(0x114)](_0x427783[_0x11a91a(0x11c)]);break;case!!_0x427783[_0x11a91a(0xc5)]:this[_0x11a91a(0x15b)](_0x427783['testCaseStarted'],_0x32c880,_0x427783);break;case!!_0x427783[_0x11a91a(0xe0)]:this[_0x11a91a(0x127)](_0x427783['testCaseFinished'],_0x32c880,_0x427783);break;case!!_0x427783[_0x11a91a(0x111)]:this['onTestStepStarted'](_0x427783[_0x11a91a(0x111)],_0x32c880);break;case!!_0x427783[_0x11a91a(0x15f)]:this[_0x11a91a(0x154)](_0x427783[_0x11a91a(0x15f)],_0x32c880);break;}});}[a6_0x26e6ce(0x124)](_0xb72409){const _0x3d1b23=a6_0x26e6ce,_0x158737={'WJQQx':function(_0x55fd39,_0xb9ca86){return _0x55fd39!==_0xb9ca86;},'SIWHo':_0x3d1b23(0x10f),'tPlnE':function(_0x256da5,_0x2e55bf){return _0x256da5+_0x2e55bf;},'envmJ':function(_0xbdfbdb,_0x5f3ec6){return _0xbdfbdb+_0x5f3ec6;},'Tspbf':_0x3d1b23(0xe7),'CeeUi':_0x3d1b23(0x103),'pWUZn':function(_0x486632,_0xaaf8cd){return _0x486632===_0xaaf8cd;},'cUNZo':_0x3d1b23(0xd3),'THNsx':function(_0x4a247b,_0x5df927,_0x393f22){return _0x4a247b(_0x5df927,_0x393f22);},'SMXGz':_0x3d1b23(0x12e),'SUQOQ':_0x3d1b23(0xd4),'xfeFt':function(_0x6bf32d,_0x5b08aa){return _0x6bf32d+_0x5b08aa;},'pyfgL':function(_0x22653b,_0x1d598b){return _0x22653b+_0x1d598b;},'BLRjn':function(_0x238458,_0x1089b7){return _0x238458+_0x1089b7;},'lyATN':function(_0x2cf978,_0x560ab9){return _0x2cf978+_0x560ab9;},'gYStd':function(_0x2fabbb,_0xac7769){return _0x2fabbb+_0xac7769;},'TXebF':function(_0x45a52d,_0x7721be){return _0x45a52d+_0x7721be;}};_0x158737['WJQQx'](global[_0x3d1b23(0xd2)],undefined)&&this['log'](_0x158737[_0x3d1b23(0xf1)](_0x158737['BLRjn']('\x0a',global['__platform']),'\x0a'));const _0x37cb4d=this[_0x3d1b23(0x121)][_0x3d1b23(0xe4)](_0xb72409[_0x3d1b23(0x13f)]);this['log'](_0x158737['tPlnE'](_0x158737['lyATN'](_0x158737[_0x3d1b23(0x153)](_0x158737[_0x3d1b23(0x158)]('\x20\x20',_0x37cb4d[_0x3d1b23(0x14b)]['feature']['name']),_0x158737[_0x3d1b23(0x136)]),_0x37cb4d[_0x3d1b23(0xc9)][_0x3d1b23(0xfe)]),'\x0a'));const _0x1a159c={};_0x1a159c[_0x3d1b23(0x13e)]=this[_0x3d1b23(0x13e)],_0x1a159c[_0x3d1b23(0x141)]=this['snippetBuilder'],_0x1a159c[_0x3d1b23(0x105)]=this[_0x3d1b23(0x105)],_0x1a159c[_0x3d1b23(0x13a)]=_0x37cb4d;const _0x15010d=formatterHelpers['parseTestCaseAttempt'](_0x1a159c);let _0x31017c=![];_0x15010d[_0x3d1b23(0x161)][_0x3d1b23(0x10e)](_0x307ab3=>{const _0x3df12c=_0x3d1b23;if(_0x158737[_0x3df12c(0xd0)](_0x307ab3[_0x3df12c(0xfe)],_0x158737[_0x3df12c(0x131)])&&!this[_0x3df12c(0xfa)](_0x307ab3)){totalTests+=0x1,this['log'](_0x158737['tPlnE'](_0x158737[_0x3df12c(0x138)](_0x158737[_0x3df12c(0x138)](_0x158737[_0x3df12c(0x163)](_0x158737[_0x3df12c(0x138)](_0x158737[_0x3df12c(0x116)],_0x307ab3[_0x3df12c(0x123)]),_0x307ab3['text']||''),_0x158737[_0x3df12c(0x136)]),Status[_0x307ab3[_0x3df12c(0x12e)]['status']]),'\x0a')),this[_0x3df12c(0x147)](Status[_0x307ab3[_0x3df12c(0x12e)][_0x3df12c(0xff)]]);if(_0x158737[_0x3df12c(0x149)](Status[_0x307ab3[_0x3df12c(0x12e)][_0x3df12c(0xff)]],_0x158737[_0x3df12c(0xdc)])){_0x31017c=!![];const _0x5624a0=_0x158737[_0x3df12c(0xf0)](nestedKeyValue,_0x307ab3,[_0x158737[_0x3df12c(0xda)],_0x158737[_0x3df12c(0x14d)]]);_0x5624a0&&(testsErrorMessage[_0x158737[_0x3df12c(0x163)](_0x158737[_0x3df12c(0xc4)](_0x37cb4d['gherkinDocument'][_0x3df12c(0x10c)]['name'],_0x158737[_0x3df12c(0x136)]),_0x37cb4d[_0x3df12c(0xc9)][_0x3df12c(0xfe)])]=_0x5624a0,this[_0x3df12c(0x14a)](_0x158737['pyfgL'](_0x5624a0,'\x0a')));}}}),_0x31017c&&(testSuitesFailed+=0x1),this[_0x3d1b23(0x14a)]('\x0a');}[a6_0x26e6ce(0x10b)](_0x2d9c0d){}[a6_0x26e6ce(0xfa)](_0x49f66a){const _0x391947=a6_0x26e6ce,_0x18e3df={};_0x18e3df[_0x391947(0xcb)]=function(_0x4c9675,_0x203599){return _0x4c9675!==_0x203599;},_0x18e3df[_0x391947(0x13d)]=_0x391947(0xcf);const _0x7d243c=_0x18e3df;if(_0x7d243c['UOSKy'](_0x49f66a[_0x391947(0x14f)],undefined))return![];if(_0x49f66a[_0x391947(0x15a)]&&_0x49f66a['actionLocation']['uri']['includes'](_0x7d243c[_0x391947(0x13d)]))return!![];return![];}['incrementCounter'](_0x4a5d12){const _0x4a0fd7=a6_0x26e6ce,_0x5f9810={};_0x5f9810[_0x4a0fd7(0x132)]=_0x4a0fd7(0xd3),_0x5f9810['kBvNZ']='PASSED',_0x5f9810[_0x4a0fd7(0xd6)]=_0x4a0fd7(0xeb),_0x5f9810[_0x4a0fd7(0x11e)]='PENDING',_0x5f9810['syvcw']=_0x4a0fd7(0xe1),_0x5f9810[_0x4a0fd7(0xe3)]=_0x4a0fd7(0x14c),_0x5f9810['NLETn']=_0x4a0fd7(0x120);const _0x3def8d=_0x5f9810;switch(_0x4a5d12){case _0x3def8d[_0x4a0fd7(0x132)]:testsFailed+=0x1;break;case _0x3def8d['kBvNZ']:testsPassed+=0x1;break;case _0x3def8d[_0x4a0fd7(0xd6)]:testsSkipped+=0x1;break;case _0x3def8d[_0x4a0fd7(0x11e)]:testsPending+=0x1;break;case _0x3def8d[_0x4a0fd7(0x117)]:testsUndefined+=0x1;break;case _0x3def8d[_0x4a0fd7(0xe3)]:testsUnknown+=0x1;break;case _0x3def8d['NLETn']:testsAmbiguous+=0x1;break;default:break;}}['onTestRunStarted'](){const _0x1b3052=a6_0x26e6ce,_0xe38322={'KkMEH':function(_0x583112,_0x5ac9ec){return _0x583112!==_0x5ac9ec;},'Koaew':function(_0x2d2549,_0x1f3bca){return _0x2d2549!==_0x1f3bca;},'DnNXg':function(_0x1c5656,_0xb53802){return _0x1c5656(_0xb53802);},'zABzN':function(_0x3df0c7,_0xb8d94b){return _0x3df0c7+_0xb8d94b;},'GZkgR':function(_0x55991a){return _0x55991a();}};let _0x5742ef;if(_0xe38322['KkMEH'](process['env'][_0x1b3052(0x133)],undefined)){const _0x3127aa=JSON[_0x1b3052(0x15e)](process[_0x1b3052(0x134)][_0x1b3052(0x133)]);_0x5742ef=_0x3127aa['capability'];}_0xe38322[_0x1b3052(0x115)](_0x5742ef,undefined)&&(global[_0x1b3052(0xd2)]=_0xe38322[_0x1b3052(0xc0)](getPlatformName,_0x5742ef),this[_0x1b3052(0x14a)](_0xe38322['zABzN'](_0x1b3052(0xc6)+global[_0x1b3052(0xd2)],'\x0a'))),_0xe38322[_0x1b3052(0xf4)](shouldProcessEventForTesthub)&&TestDetails[_0x1b3052(0x107)]();}['onTestRunFinished'](_0x4d48e5){const _0x2e4f7e=a6_0x26e6ce;this[_0x2e4f7e(0x10b)](_0x4d48e5);}async['onTestCaseStarted'](_0x1efefb,_0x3caea7,_0x1582d2){const _0x2025bf=a6_0x26e6ce,_0x593071={'AAWRj':function(_0x2dd80b,_0x687eb9){return _0x2dd80b(_0x687eb9);},'eCBhe':_0x2025bf(0x155)};testSuites+=0x1;if(_0x593071['AAWRj'](shouldProcessEventForTesthub,_0x593071['eCBhe']))try{const _0xbd56b0=TestDetails['getTestUUID'](_0x1efefb['id']),_0x3cd602=_0x1efefb['testCaseId'],_0xdcc9ed=_0x3caea7[_0x2025bf(0x121)][_0x2025bf(0xd1)][_0x3cd602],_0xc23703=_0xdcc9ed[_0x2025bf(0xdb)],_0x6157ba=_0x3caea7[_0x2025bf(0x121)][_0x2025bf(0xcd)][_0xc23703],_0x4ec19d=this[_0x2025bf(0xc7)](_0x3caea7,_0x6157ba),_0x45bb97={'uuid':_0xbd56b0,'startedAt':new Date()[_0x2025bf(0xf7)]()};if(_0x6157ba){const _0x1074cd={};_0x1074cd[_0x2025bf(0xfe)]=_0x6157ba[_0x2025bf(0xfe)],_0x45bb97['scenario']=_0x1074cd;}_tests[_0x3cd602]=_0x45bb97,await testObservabilityReporter[_0x2025bf(0xd5)](_0x1582d2,_0x4ec19d,_0x6157ba,_0x593071['eCBhe'],_0x45bb97,_0x1582d2);}catch(_0x1549f5){logger['debug'](_0x2025bf(0x128)+util[_0x2025bf(0x12b)](_0x1549f5)+'\x20');}}async[a6_0x26e6ce(0x127)](_0x49298d,_0x431b5a,_0x5681b3){const _0x6af071=a6_0x26e6ce,_0x210583={'Ekwdc':function(_0x4ca055,_0x4538e5){return _0x4ca055(_0x4538e5);},'xdmfg':_0x6af071(0x109)};this['logTestCaseFinished'](_0x49298d);if(_0x210583[_0x6af071(0x122)](shouldProcessEventForTesthub,_0x210583[_0x6af071(0x125)]))try{_testCasesData[_0x5681b3['id']]={..._0x5681b3};const _0x526249=_0x49298d['testCaseStartedId'],_0x36e233=_0x431b5a['eventDataCollector'][_0x6af071(0x119)][_0x526249][_0x6af071(0x146)],_0x19f701=_0x431b5a[_0x6af071(0x121)][_0x6af071(0xd1)][_0x36e233],_0x157fc8=_0x19f701[_0x6af071(0xdb)],_0xb6efab=_0x431b5a['eventDataCollector'][_0x6af071(0xcd)][_0x157fc8],_0x22d24f=this[_0x6af071(0xc7)](_0x431b5a,_0xb6efab),_0x5e4f95=_tests[_0x36e233];_0x5e4f95&&(delete _tests[_0x36e233],_0x5e4f95[_0x6af071(0xef)]=new Date()[_0x6af071(0xf7)]()),await testObservabilityReporter['sendTestRunEventForCucumber'](_0x5681b3,_0x22d24f,_0xb6efab,_0x210583[_0x6af071(0x125)],_0x5e4f95,_0x5681b3);}catch(_0x50cf1f){logger[_0x6af071(0xd8)](_0x6af071(0x162)+util[_0x6af071(0x12b)](_0x50cf1f));}}async[a6_0x26e6ce(0x137)](_0x3e3930,_0x34f209){const _0x1fd20f=a6_0x26e6ce,_0x131f06={'jgfOh':function(_0x143368,_0x4d86ab){return _0x143368(_0x4d86ab);},'cwyAw':_0x1fd20f(0xf3),'QVoVM':function(_0x296119,_0x1f9e2c){return _0x296119!==_0x1f9e2c;},'wZJYe':_0x1fd20f(0x13c)};if(_0x131f06[_0x1fd20f(0xd9)](shouldProcessEventForTesthub,_0x131f06[_0x1fd20f(0xc2)]))try{const _0x17ced0=_0x3e3930[_0x1fd20f(0x13f)],_0x578767=_0x34f209[_0x1fd20f(0x121)][_0x1fd20f(0x119)][_0x17ced0][_0x1fd20f(0x146)],_0x44fc41=_0x34f209[_0x1fd20f(0x121)][_0x1fd20f(0xd1)]?.[_0x578767],_0x464372=_0x44fc41?.['pickleId'],_0x17885b=_0x34f209[_0x1fd20f(0x121)][_0x1fd20f(0xcd)]?.[_0x464372],_0xe667c4=_0x3e3930?.[_0x1fd20f(0x13c)],_0x16f1d3=_0x44fc41?.[_0x1fd20f(0x161)],_0x55804a=this['eventDataCollector'][_0x1fd20f(0xe4)](_0x17ced0),_0x5ed545=_0x16f1d3[_0x1fd20f(0x11b)](_0xdf2fb5=>_0xdf2fb5['id']===_0xe667c4)[_0x1fd20f(0xc3)],_0x272bfc=_0x17885b[_0x1fd20f(0xc8)]['find'](_0x503076=>_0x503076['id']===_0x5ed545);if(_0x5ed545&&_0x131f06[_0x1fd20f(0x159)](_tests[_0x578767]?.[_0x131f06[_0x1fd20f(0xdf)]],_0xe667c4)){_tests[_0x578767][_0x131f06[_0x1fd20f(0xdf)]]=_0xe667c4;const _0x324255={};_0x324255[_0x1fd20f(0xc8)]=[];const _0x35b2ad=_tests[_0x578767]||_0x324255;_0x35b2ad&&!_0x35b2ad[_0x1fd20f(0xc8)]&&(_0x35b2ad[_0x1fd20f(0xc8)]=[]),_0x35b2ad[_0x1fd20f(0xc8)]?.[_0x1fd20f(0x10d)]({'id':_0x272bfc['id'],'text':_0x272bfc[_0x1fd20f(0x15d)],'started_at':new Date()[_0x1fd20f(0xf7)]()}),_tests[_0x578767]=_0x35b2ad;}const _0x2a7e71=this[_0x1fd20f(0x151)](_0x16f1d3[_0x1fd20f(0x11b)](_0x10410e=>_0x10410e['id']===_0xe667c4),_0x55804a[_0x1fd20f(0xc9)][_0x1fd20f(0x112)]);!_0x2a7e71&&await testObservabilityReporter[_0x1fd20f(0x10a)](_0x55804a,_0x131f06['cwyAw'],_tests[_0x578767],_0x3e3930);}catch(_0x3e2048){logger['debug'](_0x1fd20f(0x156)+util['format'](_0x3e2048));}}async['onTestStepFinished'](_0x366e71,_0x3799da){const _0x4feff0=a6_0x26e6ce,_0x2ea9b8={'TZTwv':function(_0x2ce0c8,_0x2894bc){return _0x2ce0c8===_0x2894bc;},'KOqpn':_0x4feff0(0x108),'FtLNj':function(_0x4e5338,_0x4b0f26){return _0x4e5338(_0x4b0f26);},'AEheJ':'HookRunFinished','uZdtd':function(_0x35d6cd,_0x21fa4b){return _0x35d6cd===_0x21fa4b;},'kWTij':_0x4feff0(0xf6),'tfNpo':_0x4feff0(0x106),'qIaqt':_0x4feff0(0x13c)};if(_0x2ea9b8[_0x4feff0(0xf2)](shouldProcessEventForTesthub,_0x2ea9b8[_0x4feff0(0xc1)]))try{const _0x2e5fd8=_0x366e71[_0x4feff0(0x13f)],_0x5eeeef=_0x3799da[_0x4feff0(0x121)][_0x4feff0(0x119)][_0x2e5fd8][_0x4feff0(0x146)],_0x2e8ea3=_0x3799da[_0x4feff0(0x121)][_0x4feff0(0xd1)][_0x5eeeef],_0x34c684=_0x2e8ea3[_0x4feff0(0xdb)],_0x44c2d2=_0x3799da[_0x4feff0(0x121)]['pickleMap'][_0x34c684],_0x422d0e=_0x366e71['testStepId'],_0x464682=_0x2e8ea3[_0x4feff0(0x161)],_0x23fbb4=this[_0x4feff0(0x121)][_0x4feff0(0xe4)](_0x2e5fd8),_0x569d59=_0x464682[_0x4feff0(0x11b)](_0x3c4076=>_0x3c4076['id']===_0x422d0e)[_0x4feff0(0xc3)];let _0x2a7e96,_0x27a01a;_0x2ea9b8[_0x4feff0(0xce)](_0x366e71[_0x4feff0(0x118)]?.[_0x4feff0(0xff)][_0x4feff0(0x145)]()[_0x4feff0(0xe6)](),_0x2ea9b8[_0x4feff0(0x101)])&&(_0x2a7e96=_0x2ea9b8['uZdtd'](_0x366e71[_0x4feff0(0x118)]?.[_0x4feff0(0xdd)],undefined)?_0x366e71[_0x4feff0(0x118)]?.['message']:_0x366e71[_0x4feff0(0x118)]?.[_0x4feff0(0xdd)]?.[_0x4feff0(0xd4)],_0x27a01a=_0x2ea9b8['TZTwv'](_0x366e71[_0x4feff0(0x118)]?.['exception'],undefined)?_0x2ea9b8[_0x4feff0(0x104)]:_0x366e71['testStepResult']?.[_0x4feff0(0xd4)]);const _0x2a2edb=this[_0x4feff0(0x151)](_0x464682[_0x4feff0(0x11b)](_0x23bc52=>_0x23bc52['id']===_0x422d0e),_0x23fbb4[_0x4feff0(0xc9)][_0x4feff0(0x112)]);!_0x2a2edb&&await testObservabilityReporter[_0x4feff0(0x10a)](_0x23fbb4,_0x2ea9b8['AEheJ'],_tests[_0x5eeeef],_0x366e71);if(_0x569d59&&_tests[_0x5eeeef][_0x2ea9b8[_0x4feff0(0x144)]]){const _0x1d96ee=_0x44c2d2[_0x4feff0(0xc8)][_0x4feff0(0x11b)](_0xf57772=>_0xf57772['id']===_0x569d59),_0x531f4c={};_0x531f4c[_0x4feff0(0xc8)]=[];const _0x2ab0df=_tests[_0x5eeeef]||_0x531f4c;!_0x2ab0df[_0x4feff0(0xc8)]?_0x2ab0df['steps']=[{'id':_0x1d96ee['id'],'text':_0x1d96ee['text'],'finished_at':new Date()[_0x4feff0(0xf7)](),'result':_0x366e71[_0x4feff0(0x118)]?.['status'],'duration':_0x366e71[_0x4feff0(0x118)]?.[_0x4feff0(0x102)]?.[_0x4feff0(0x15c)],'failure':_0x2a7e96,'failureType':_0x27a01a}]:_0x2ab0df['steps']['forEach'](_0xbec855=>{const _0x3f05f3=_0x4feff0;if(_0x2ea9b8[_0x3f05f3(0x135)](_0xbec855['id'],_0x1d96ee['id'])){const _0x134c8d=_0x2ea9b8[_0x3f05f3(0xf5)][_0x3f05f3(0xf9)]('|');let _0x22214c=0x0;while(!![]){switch(_0x134c8d[_0x22214c++]){case'0':_0xbec855['duration']=_0x366e71[_0x3f05f3(0x118)]?.['duration']?.[_0x3f05f3(0x15c)];continue;case'1':_0xbec855[_0x3f05f3(0x12e)]=_0x366e71['testStepResult']?.[_0x3f05f3(0xff)];continue;case'2':_0xbec855['failure']=_0x2a7e96;continue;case'3':_0xbec855[_0x3f05f3(0x12f)]=_0x27a01a;continue;case'4':_0xbec855[_0x3f05f3(0x11f)]=new Date()[_0x3f05f3(0xf7)]();continue;}break;}}}),_tests[_0x5eeeef]=_0x2ab0df,delete _tests[_0x5eeeef][_0x2ea9b8['qIaqt']];}}catch(_0x29a915){logger[_0x4feff0(0xd8)](_0x4feff0(0x165)+util[_0x4feff0(0x12b)](_0x29a915));}}[a6_0x26e6ce(0x11a)](_0x5e5e89){const _0x545aa4=a6_0x26e6ce,_0x375d27={};return _0x5e5e89[_0x545aa4(0x10c)][_0x545aa4(0x152)]['map'](this[_0x545aa4(0xe5)])[_0x545aa4(0x100)]()[_0x545aa4(0x10e)](_0x1bd038=>_0x1bd038[_0x545aa4(0xc8)][_0x545aa4(0x10e)](_0x46f80d=>_0x375d27[_0x46f80d['id']]=_0x46f80d)),_0x375d27;}[a6_0x26e6ce(0x151)](_0x3d3bda,_0x373668){const _0x5aed21=a6_0x26e6ce,_0x1f6c91={'GmSZc':function(_0x420342,_0x51c98e){return _0x420342(_0x51c98e);},'cTuDh':function(_0x2bfff9,_0xd902f3){return _0x2bfff9(_0xd902f3);},'cQxGB':function(_0x5dfb7a,_0x208c39){return _0x5dfb7a(_0x208c39);},'QMWPh':function(_0x33b57e,_0x160243){return _0x33b57e===_0x160243;},'INRis':function(_0xa7ebdc,_0x377691){return _0xa7ebdc(_0x377691);},'BxEXh':function(_0x3d6673,_0x247462){return _0x3d6673!==_0x247462;},'dZutd':_0x5aed21(0xcf)};let _0xa1c050=!![];const _0x5014cf={};_0xa1c050=_0xa1c050&&!_0x1f6c91[_0x5aed21(0xee)](isUndefined,_0x3d3bda[_0x5aed21(0x129)]);if(!_0x1f6c91[_0x5aed21(0x140)](isUndefined,_0x3d3bda[_0x5aed21(0x129)])){let _0x364afa;_0xa1c050?_0x364afa=this[_0x5aed21(0x105)]['beforeTestCaseHookDefinitions'][_0x5aed21(0x11b)](_0xecbc24=>_0xecbc24['id']===_0x3d3bda[_0x5aed21(0x129)]):_0x364afa=this[_0x5aed21(0x105)][_0x5aed21(0x130)][_0x5aed21(0x11b)](_0xd65953=>_0xd65953['id']===_0x3d3bda[_0x5aed21(0x129)]);if(_0x364afa){const _0x4cb50f={};_0x4cb50f[_0x5aed21(0x112)]=_0x364afa[_0x5aed21(0x112)],_0x4cb50f[_0x5aed21(0xfc)]=_0x364afa['line'],_0x5014cf[_0x5aed21(0x15a)]=_0x4cb50f,_0x5014cf['name']=_0x364afa['name'];}}if(!_0x1f6c91['cQxGB'](isUndefined,_0x3d3bda[_0x5aed21(0x157)])&&_0x1f6c91['QMWPh'](_0x3d3bda['stepDefinitionIds']['length'],0x1)){const _0xa3a43c=this['supportCodeLibrary'][_0x5aed21(0xfb)]['find'](_0x37d985=>_0x37d985['id']===_0x3d3bda[_0x5aed21(0x157)][0x0]),_0x37d1ac={};_0x37d1ac['uri']=_0xa3a43c['uri'],_0x37d1ac['line']=_0xa3a43c['line'],_0x5014cf[_0x5aed21(0x15a)]=_0x37d1ac;}if(!_0x1f6c91[_0x5aed21(0xfd)](isUndefined,_0x3d3bda[_0x5aed21(0xc3)])){const _0x2ac223={};_0x2ac223['uri']=_0x373668,_0x2ac223[_0x5aed21(0xfc)]='',_0x5014cf[_0x5aed21(0x14f)]=_0x2ac223;}if(_0x1f6c91[_0x5aed21(0xe2)](_0x5014cf[_0x5aed21(0x14f)],undefined))return![];if(_0x5014cf[_0x5aed21(0x15a)]&&_0x5014cf[_0x5aed21(0x15a)][_0x5aed21(0x112)][_0x5aed21(0xca)](_0x1f6c91['dZutd']))return!![];return![];}[a6_0x26e6ce(0xe5)](_0x1eaa16){const _0x2acefc=a6_0x26e6ce,_0x3efbc2={'vmmQX':function(_0x3fdc86,_0x636b62){return _0x3fdc86(_0x636b62);}};if(!_0x3efbc2[_0x2acefc(0x110)](isUndefined,_0x1eaa16[_0x2acefc(0x142)]))return[_0x1eaa16[_0x2acefc(0x142)]];else{if(!_0x3efbc2[_0x2acefc(0x110)](isUndefined,_0x1eaa16['rule']))return _0x1eaa16[_0x2acefc(0xde)][_0x2acefc(0x152)][_0x2acefc(0x14e)](_0x4b5410=>!isUndefined(_0x4b5410?.[_0x2acefc(0x142)])?_0x4b5410[_0x2acefc(0x142)]:_0x4b5410[_0x2acefc(0x12d)]);};return[_0x1eaa16['scenario']];}['getGherkinDocument'](_0x622e5b,_0x2bd6b0){const _0x339758=a6_0x26e6ce;return Object[_0x339758(0xe9)](_0x622e5b[_0x339758(0x121)][_0x339758(0xcc)])[_0x339758(0x11b)](_0x54142b=>_0x54142b['uri']===_0x2bd6b0[_0x339758(0x112)]);}}module['exports']=o11yClassErrorHandler(BrowserstackFormatter,[a6_0x26e6ce(0x15b),'onTestCaseFinished',a6_0x26e6ce(0x137),a6_0x26e6ce(0x154),a6_0x26e6ce(0x160),a6_0x26e6ce(0x114),a6_0x26e6ce(0xe5),'getGherkinDocument','getGherkinStepMap',a6_0x26e6ce(0x151)]);
|
|
1
|
+
const a6_0x18c6c0=a6_0x57b1;(function(_0x1859a2,_0x22c914){const _0x4422a6=a6_0x57b1,_0x4c1551=_0x1859a2();while(!![]){try{const _0x568ca7=-parseInt(_0x4422a6(0x1e6))/0x1*(parseInt(_0x4422a6(0x1c2))/0x2)+parseInt(_0x4422a6(0x1d0))/0x3*(parseInt(_0x4422a6(0x164))/0x4)+parseInt(_0x4422a6(0x1aa))/0x5+parseInt(_0x4422a6(0x1af))/0x6*(parseInt(_0x4422a6(0x1a2))/0x7)+parseInt(_0x4422a6(0x17b))/0x8*(-parseInt(_0x4422a6(0x1a1))/0x9)+parseInt(_0x4422a6(0x1c4))/0xa*(-parseInt(_0x4422a6(0x1ea))/0xb)+parseInt(_0x4422a6(0x196))/0xc;if(_0x568ca7===_0x22c914)break;else _0x4c1551['push'](_0x4c1551['shift']());}catch(_0x345634){_0x4c1551['push'](_0x4c1551['shift']());}}}(a6_0x5c20,0xc9ae9));const {requireModule,getPlatformName,nestedKeyValue,isUndefined}=require(a6_0x18c6c0(0x18c)),util=require('util'),{Formatter,formatterHelpers,Status}=requireModule(a6_0x18c6c0(0x174)),TestDetails=require('../../playwright/reporter/test-details.js'),TestObservabilityReporter=require('../test-observability.js'),{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler'),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils.js'),testObservabilityReporter=new TestObservabilityReporter(),logger=require(a6_0x18c6c0(0x19b))[a6_0x18c6c0(0x1d4)],_tests={},_testCasesData={};function a6_0x57b1(_0x308f9f,_0x7c2f38){const _0x5c2099=a6_0x5c20();return a6_0x57b1=function(_0x57b1a0,_0x533654){_0x57b1a0=_0x57b1a0-0x146;let _0x561911=_0x5c2099[_0x57b1a0];return _0x561911;},a6_0x57b1(_0x308f9f,_0x7c2f38);}class BrowserstackFormatter extends Formatter{constructor(_0x1ae622){const _0x583643=a6_0x18c6c0,_0x3a4208={};_0x3a4208[_0x583643(0x16a)]=_0x583643(0x1ad);const _0x334c62=_0x3a4208;super(_0x1ae622),_0x1ae622['eventBroadcaster']['on'](_0x334c62[_0x583643(0x16a)],async _0x2f35ec=>{const _0x29e3ec=_0x583643;switch(!![]){case!!_0x2f35ec[_0x29e3ec(0x18d)]:this[_0x29e3ec(0x1b6)]();break;case!!_0x2f35ec['testRunFinished']:this[_0x29e3ec(0x1a9)](_0x2f35ec[_0x29e3ec(0x1c9)]);break;case!!_0x2f35ec[_0x29e3ec(0x15f)]:this[_0x29e3ec(0x1a3)](_0x2f35ec[_0x29e3ec(0x15f)],_0x1ae622,_0x2f35ec);break;case!!_0x2f35ec[_0x29e3ec(0x154)]:this['onTestCaseFinished'](_0x2f35ec[_0x29e3ec(0x154)],_0x1ae622,_0x2f35ec);break;case!!_0x2f35ec[_0x29e3ec(0x1da)]:this[_0x29e3ec(0x1b3)](_0x2f35ec[_0x29e3ec(0x1da)],_0x1ae622);break;case!!_0x2f35ec[_0x29e3ec(0x1cb)]:this[_0x29e3ec(0x1e8)](_0x2f35ec[_0x29e3ec(0x1cb)],_0x1ae622);break;}});}[a6_0x18c6c0(0x17e)](_0x49d9ef){const _0x43e814=a6_0x18c6c0,_0x4b040a={'hOrST':function(_0x4551db,_0x1aa8cf){return _0x4551db!==_0x1aa8cf;},'BeDGe':_0x43e814(0x1d5),'OxkIi':function(_0x58318a,_0x3cdfb2){return _0x58318a+_0x3cdfb2;},'bZdii':function(_0x2b03f8,_0x5a0e8d){return _0x2b03f8+_0x5a0e8d;},'xbjZX':_0x43e814(0x14d),'mJyGO':_0x43e814(0x18a),'bKnOD':function(_0x518bc4,_0x59418d){return _0x518bc4===_0x59418d;},'sGwbA':_0x43e814(0x148),'IaqNM':function(_0x12cc31,_0x5d3fc1,_0x18c98f){return _0x12cc31(_0x5d3fc1,_0x18c98f);},'MHpnf':_0x43e814(0x1b9),'mqtgl':_0x43e814(0x1c5),'PEzDf':function(_0x2657a7,_0x84e492){return _0x2657a7+_0x84e492;},'NbiAb':function(_0x20bd29,_0x505afa){return _0x20bd29+_0x505afa;},'qOKPn':function(_0x1d19d8,_0x2d0106){return _0x1d19d8+_0x2d0106;},'ZJKaM':function(_0x6fde8a,_0x5b9966){return _0x6fde8a+_0x5b9966;}};_0x4b040a[_0x43e814(0x193)](global[_0x43e814(0x19d)],undefined)&&this[_0x43e814(0x17d)](_0x4b040a['NbiAb'](_0x4b040a[_0x43e814(0x181)]('\x0a',global[_0x43e814(0x19d)]),'\x0a'));const _0x288911=this[_0x43e814(0x162)][_0x43e814(0x1c8)](_0x49d9ef[_0x43e814(0x152)]);this[_0x43e814(0x17d)](_0x4b040a[_0x43e814(0x18e)](_0x4b040a[_0x43e814(0x1ba)](_0x4b040a[_0x43e814(0x15e)](_0x4b040a['NbiAb']('\x20\x20',_0x288911[_0x43e814(0x19e)][_0x43e814(0x151)][_0x43e814(0x1a4)]),_0x4b040a[_0x43e814(0x178)]),_0x288911[_0x43e814(0x1d1)][_0x43e814(0x1a4)]),'\x0a'));const _0x231fef={};_0x231fef['cwd']=this[_0x43e814(0x1b5)],_0x231fef[_0x43e814(0x166)]=this[_0x43e814(0x166)],_0x231fef[_0x43e814(0x1ec)]=this[_0x43e814(0x1ec)],_0x231fef[_0x43e814(0x1a7)]=_0x288911;const _0x4dc9af=formatterHelpers[_0x43e814(0x1ac)](_0x231fef);let _0x369eee=![];_0x4dc9af[_0x43e814(0x1c3)][_0x43e814(0x180)](_0x4e078a=>{const _0x51a6e1=_0x43e814;if(_0x4b040a[_0x51a6e1(0x193)](_0x4e078a['name'],_0x4b040a[_0x51a6e1(0x1e3)])&&!this[_0x51a6e1(0x190)](_0x4e078a)){totalTests+=0x1,this[_0x51a6e1(0x17d)](_0x4b040a[_0x51a6e1(0x1ba)](_0x4b040a[_0x51a6e1(0x1e0)](_0x4b040a[_0x51a6e1(0x1ba)](_0x4b040a[_0x51a6e1(0x1ba)](_0x4b040a[_0x51a6e1(0x1e0)](_0x4b040a[_0x51a6e1(0x16b)],_0x4e078a['keyword']),_0x4e078a['text']||''),_0x4b040a['mJyGO']),Status[_0x4e078a[_0x51a6e1(0x1b9)][_0x51a6e1(0x19c)]]),'\x0a')),this[_0x51a6e1(0x167)](Status[_0x4e078a[_0x51a6e1(0x1b9)]['status']]);if(_0x4b040a[_0x51a6e1(0x1ee)](Status[_0x4e078a[_0x51a6e1(0x1b9)]['status']],_0x4b040a[_0x51a6e1(0x169)])){_0x369eee=!![];const _0x29f271=_0x4b040a['IaqNM'](nestedKeyValue,_0x4e078a,[_0x4b040a['MHpnf'],_0x4b040a['mqtgl']]);_0x29f271&&(testsErrorMessage[_0x4b040a['OxkIi'](_0x4b040a[_0x51a6e1(0x1e0)](_0x288911[_0x51a6e1(0x19e)][_0x51a6e1(0x151)]['name'],_0x4b040a[_0x51a6e1(0x178)]),_0x288911[_0x51a6e1(0x1d1)][_0x51a6e1(0x1a4)])]=_0x29f271,this['log'](_0x4b040a['PEzDf'](_0x29f271,'\x0a')));}}}),_0x369eee&&(testSuitesFailed+=0x1),this[_0x43e814(0x17d)]('\x0a');}[a6_0x18c6c0(0x17a)](_0x2c6d24){}[a6_0x18c6c0(0x190)](_0x4fe1d6){const _0xb095fe=a6_0x18c6c0,_0x1f1954={};_0x1f1954['AoJga']=function(_0x1e9459,_0x224975){return _0x1e9459!==_0x224975;},_0x1f1954['HaCQT']=_0xb095fe(0x17f);const _0x36073d=_0x1f1954;if(_0x36073d['AoJga'](_0x4fe1d6[_0xb095fe(0x186)],undefined))return![];if(_0x4fe1d6['actionLocation']&&_0x4fe1d6[_0xb095fe(0x1be)]['uri'][_0xb095fe(0x176)](_0x36073d[_0xb095fe(0x1bd)]))return!![];return![];}['incrementCounter'](_0x1b86f8){const _0x25ae19=a6_0x18c6c0,_0x17967b={};_0x17967b[_0x25ae19(0x1e7)]=_0x25ae19(0x148),_0x17967b[_0x25ae19(0x187)]=_0x25ae19(0x1d7),_0x17967b[_0x25ae19(0x1eb)]=_0x25ae19(0x1b2),_0x17967b[_0x25ae19(0x160)]='PENDING',_0x17967b[_0x25ae19(0x1b4)]=_0x25ae19(0x157),_0x17967b[_0x25ae19(0x149)]=_0x25ae19(0x16e),_0x17967b[_0x25ae19(0x159)]='AMBIGUOUS';const _0x2248cd=_0x17967b;switch(_0x1b86f8){case _0x2248cd['WOavA']:testsFailed+=0x1;break;case _0x2248cd['tBeLx']:testsPassed+=0x1;break;case _0x2248cd[_0x25ae19(0x1eb)]:testsSkipped+=0x1;break;case _0x2248cd[_0x25ae19(0x160)]:testsPending+=0x1;break;case _0x2248cd[_0x25ae19(0x1b4)]:testsUndefined+=0x1;break;case _0x2248cd[_0x25ae19(0x149)]:testsUnknown+=0x1;break;case _0x2248cd['yJepY']:testsAmbiguous+=0x1;break;default:break;}}[a6_0x18c6c0(0x1b6)](){const _0xb4e522=a6_0x18c6c0,_0x3ef982={'qLExS':function(_0x2e978c,_0x65d8b7){return _0x2e978c!==_0x65d8b7;},'fThIn':function(_0xfc9f92,_0x5169b6){return _0xfc9f92!==_0x5169b6;},'fIOWS':function(_0x178e27,_0x51c3b5){return _0x178e27(_0x51c3b5);},'kfESx':function(_0x498608,_0x4b2a90){return _0x498608+_0x4b2a90;},'jVoJn':function(_0x176bb6){return _0x176bb6();}};let _0x5dc7af;if(_0x3ef982[_0xb4e522(0x155)](process[_0xb4e522(0x15c)][_0xb4e522(0x17c)],undefined)){const _0x388672=JSON[_0xb4e522(0x1dc)](process[_0xb4e522(0x15c)][_0xb4e522(0x17c)]);_0x5dc7af=_0x388672[_0xb4e522(0x1ce)];}_0x3ef982[_0xb4e522(0x1db)](_0x5dc7af,undefined)&&(global[_0xb4e522(0x19d)]=_0x3ef982['fIOWS'](getPlatformName,_0x5dc7af),this[_0xb4e522(0x17d)](_0x3ef982[_0xb4e522(0x168)](_0xb4e522(0x1c7)+global['__platform'],'\x0a'))),_0x3ef982[_0xb4e522(0x188)](shouldProcessEventForTesthub)&&TestDetails[_0xb4e522(0x16d)]();}['onTestRunFinished'](_0x2cdaaf){const _0x2b74f4=a6_0x18c6c0;this[_0x2b74f4(0x17a)](_0x2cdaaf);}async['onTestCaseStarted'](_0x4a59b7,_0x3972a4,_0x85dccf){const _0x5b33ea=a6_0x18c6c0,_0x2bf4dd={'JUcmv':function(_0x3c9c23,_0x438cc3){return _0x3c9c23(_0x438cc3);},'eKeHJ':'TestRunStarted'};testSuites+=0x1;if(_0x2bf4dd[_0x5b33ea(0x16f)](shouldProcessEventForTesthub,_0x2bf4dd[_0x5b33ea(0x1ed)]))try{const _0x2a77a3=TestDetails[_0x5b33ea(0x194)](_0x4a59b7['id']),_0x1c001f=_0x4a59b7[_0x5b33ea(0x192)],_0x9549f0=_0x3972a4[_0x5b33ea(0x162)][_0x5b33ea(0x15b)][_0x1c001f],_0x2eba08=_0x9549f0['pickleId'],_0xc2df5d=_0x3972a4[_0x5b33ea(0x162)][_0x5b33ea(0x1cd)][_0x2eba08],_0xdade77=this[_0x5b33ea(0x1d9)](_0x3972a4,_0xc2df5d),_0x1606ff={'uuid':_0x2a77a3,'startedAt':new Date()[_0x5b33ea(0x183)]()};if(_0xc2df5d){const _0x4914d9={};_0x4914d9[_0x5b33ea(0x1a4)]=_0xc2df5d[_0x5b33ea(0x1a4)],_0x1606ff['scenario']=_0x4914d9;}_tests[_0x1c001f]=_0x1606ff,await testObservabilityReporter[_0x5b33ea(0x1df)](_0x85dccf,_0xdade77,_0xc2df5d,_0x2bf4dd[_0x5b33ea(0x1ed)],_0x1606ff,_0x85dccf);}catch(_0x3508fc){logger['debug']('Exception\x20in\x20sending\x20onTestCaseStarted:\x20'+util['format'](_0x3508fc)+'\x20');}}async[a6_0x18c6c0(0x1c6)](_0x8e6194,_0x58db8c,_0x17aaf3){const _0x333959=a6_0x18c6c0,_0x51cb8d={'zzicS':function(_0x2003c0,_0x27b8cc){return _0x2003c0(_0x27b8cc);},'KYwXW':_0x333959(0x1ab)};this[_0x333959(0x17e)](_0x8e6194);if(_0x51cb8d[_0x333959(0x19f)](shouldProcessEventForTesthub,_0x51cb8d[_0x333959(0x191)]))try{_testCasesData[_0x17aaf3['id']]={..._0x17aaf3};const _0x4e918c=_0x8e6194['testCaseStartedId'],_0x14d9e2=_0x58db8c['eventDataCollector'][_0x333959(0x14c)][_0x4e918c][_0x333959(0x192)],_0x5bd6ea=_0x58db8c[_0x333959(0x162)]['testCaseMap'][_0x14d9e2],_0x417b9e=_0x5bd6ea[_0x333959(0x172)],_0x4c1787=_0x58db8c[_0x333959(0x162)][_0x333959(0x1cd)][_0x417b9e],_0x49641d=this[_0x333959(0x1d9)](_0x58db8c,_0x4c1787),_0x2322ea=_tests[_0x14d9e2];_0x2322ea&&(delete _tests[_0x14d9e2],_0x2322ea[_0x333959(0x1d8)]=new Date()[_0x333959(0x183)]()),await testObservabilityReporter[_0x333959(0x1df)](_0x17aaf3,_0x49641d,_0x4c1787,_0x51cb8d[_0x333959(0x191)],_0x2322ea,_0x17aaf3);}catch(_0x50ec62){logger[_0x333959(0x1bb)](_0x333959(0x1de)+util[_0x333959(0x1b7)](_0x50ec62));}}async['onTestStepStarted'](_0x20e11c,_0x5067e5){const _0x1ff7f2=a6_0x18c6c0,_0x4a821a={'HbYbR':function(_0x1adee1,_0x52d707){return _0x1adee1(_0x52d707);},'LYTSp':_0x1ff7f2(0x1e1),'RZWhB':function(_0x53f0f3,_0x3f3009){return _0x53f0f3!==_0x3f3009;},'JuAAh':'testStepId'};if(_0x4a821a[_0x1ff7f2(0x18f)](shouldProcessEventForTesthub,_0x4a821a['LYTSp']))try{const _0x54fc3a=_0x20e11c[_0x1ff7f2(0x152)],_0x284e60=_0x5067e5[_0x1ff7f2(0x162)][_0x1ff7f2(0x14c)][_0x54fc3a][_0x1ff7f2(0x192)],_0x2b1d5f=_0x5067e5[_0x1ff7f2(0x162)][_0x1ff7f2(0x15b)]?.[_0x284e60],_0x10228c=_0x2b1d5f?.[_0x1ff7f2(0x172)],_0x52f8a7=_0x5067e5[_0x1ff7f2(0x162)][_0x1ff7f2(0x1cd)]?.[_0x10228c],_0x112649=_0x20e11c?.[_0x1ff7f2(0x171)],_0x20acb1=_0x2b1d5f?.[_0x1ff7f2(0x1c3)],_0x5a3aea=this[_0x1ff7f2(0x162)][_0x1ff7f2(0x1c8)](_0x54fc3a),_0x84f324=_0x20acb1[_0x1ff7f2(0x1e2)](_0x33f28d=>_0x33f28d['id']===_0x112649)[_0x1ff7f2(0x158)],_0x5caeb0=_0x52f8a7['steps']['find'](_0x37b173=>_0x37b173['id']===_0x84f324);if(_0x84f324&&_0x4a821a[_0x1ff7f2(0x161)](_tests[_0x284e60]?.[_0x4a821a[_0x1ff7f2(0x1bf)]],_0x112649)){_tests[_0x284e60][_0x4a821a[_0x1ff7f2(0x1bf)]]=_0x112649;const _0x1fd116={};_0x1fd116[_0x1ff7f2(0x18b)]=[];const _0x347cc0=_tests[_0x284e60]||_0x1fd116;_0x347cc0&&!_0x347cc0[_0x1ff7f2(0x18b)]&&(_0x347cc0['steps']=[]),_0x347cc0[_0x1ff7f2(0x18b)]?.['push']({'id':_0x5caeb0['id'],'text':_0x5caeb0[_0x1ff7f2(0x156)],'started_at':new Date()[_0x1ff7f2(0x183)]()}),_tests[_0x284e60]=_0x347cc0;}const _0x4c9781=this['checkHookURI'](_0x20acb1[_0x1ff7f2(0x1e2)](_0x578588=>_0x578588['id']===_0x112649),_0x5a3aea['pickle']['uri']);!_0x4c9781&&await testObservabilityReporter[_0x1ff7f2(0x150)](_0x5a3aea,_0x4a821a[_0x1ff7f2(0x1e9)],_tests[_0x284e60],_0x20e11c);}catch(_0x5325ce){logger['debug']('Exception\x20in\x20onTestStepStarted\x20event:\x20'+util[_0x1ff7f2(0x1b7)](_0x5325ce));}}async[a6_0x18c6c0(0x1e8)](_0x354d14,_0x11430e){const _0x467b17=a6_0x18c6c0,_0x1e07ad={'PQbpa':function(_0x46646a,_0xb626a2){return _0x46646a===_0xb626a2;},'dyViW':_0x467b17(0x1c0),'DeJkP':function(_0x48dbdc,_0x13e41a){return _0x48dbdc(_0x13e41a);},'ewgpl':'HookRunFinished','BVCoT':function(_0xa6a5cd,_0x298aa4){return _0xa6a5cd===_0x298aa4;},'PUMjw':_0x467b17(0x199),'jWdsv':function(_0x31890d,_0x4e2675){return _0x31890d===_0x4e2675;},'EFIOC':_0x467b17(0x182),'pffyg':_0x467b17(0x171)};if(_0x1e07ad[_0x467b17(0x1a0)](shouldProcessEventForTesthub,_0x1e07ad[_0x467b17(0x15a)]))try{const _0x4046a7=_0x354d14[_0x467b17(0x152)],_0x2f6160=_0x11430e[_0x467b17(0x162)][_0x467b17(0x14c)][_0x4046a7][_0x467b17(0x192)],_0xeb17b7=_0x11430e[_0x467b17(0x162)][_0x467b17(0x15b)][_0x2f6160],_0x116a0e=_0xeb17b7[_0x467b17(0x172)],_0x25ef0b=_0x11430e[_0x467b17(0x162)]['pickleMap'][_0x116a0e],_0x18a6cb=_0x354d14[_0x467b17(0x171)],_0xd0428f=_0xeb17b7[_0x467b17(0x1c3)],_0x50868d=this[_0x467b17(0x162)][_0x467b17(0x1c8)](_0x4046a7),_0x155117=_0xd0428f[_0x467b17(0x1e2)](_0x272ee9=>_0x272ee9['id']===_0x18a6cb)[_0x467b17(0x158)];let _0x5346fe,_0x468017;_0x1e07ad['BVCoT'](_0x354d14[_0x467b17(0x1e5)]?.[_0x467b17(0x19c)][_0x467b17(0x15d)]()[_0x467b17(0x1cc)](),_0x1e07ad['PUMjw'])&&(_0x5346fe=_0x1e07ad['BVCoT'](_0x354d14[_0x467b17(0x1e5)]?.['exception'],undefined)?_0x354d14[_0x467b17(0x1e5)]?.[_0x467b17(0x1c5)]:_0x354d14['testStepResult']?.[_0x467b17(0x198)]?.['message'],_0x468017=_0x1e07ad[_0x467b17(0x177)](_0x354d14[_0x467b17(0x1e5)]?.[_0x467b17(0x198)],undefined)?_0x1e07ad[_0x467b17(0x1b0)]:_0x354d14['testStepResult']?.[_0x467b17(0x1c5)]);const _0x3cb5ed=this[_0x467b17(0x173)](_0xd0428f[_0x467b17(0x1e2)](_0xbbe495=>_0xbbe495['id']===_0x18a6cb),_0x50868d[_0x467b17(0x1d1)][_0x467b17(0x179)]);!_0x3cb5ed&&await testObservabilityReporter[_0x467b17(0x150)](_0x50868d,_0x1e07ad[_0x467b17(0x15a)],_tests[_0x2f6160],_0x354d14);if(_0x155117&&_tests[_0x2f6160][_0x1e07ad[_0x467b17(0x146)]]){const _0x5e7b9f=_0x25ef0b[_0x467b17(0x18b)]['find'](_0x30f915=>_0x30f915['id']===_0x155117),_0x2e197d={};_0x2e197d[_0x467b17(0x18b)]=[];const _0x2a9f63=_tests[_0x2f6160]||_0x2e197d;!_0x2a9f63[_0x467b17(0x18b)]?_0x2a9f63['steps']=[{'id':_0x5e7b9f['id'],'text':_0x5e7b9f[_0x467b17(0x156)],'finished_at':new Date()[_0x467b17(0x183)](),'result':_0x354d14['testStepResult']?.[_0x467b17(0x19c)],'duration':_0x354d14[_0x467b17(0x1e5)]?.[_0x467b17(0x163)]?.[_0x467b17(0x1d3)],'failure':_0x5346fe,'failureType':_0x468017}]:_0x2a9f63[_0x467b17(0x18b)][_0x467b17(0x180)](_0x252ef1=>{const _0x52d3ca=_0x467b17;if(_0x1e07ad[_0x52d3ca(0x170)](_0x252ef1['id'],_0x5e7b9f['id'])){const _0x1d46b5=_0x1e07ad[_0x52d3ca(0x1d6)][_0x52d3ca(0x184)]('|');let _0x356d7d=0x0;while(!![]){switch(_0x1d46b5[_0x356d7d++]){case'0':_0x252ef1[_0x52d3ca(0x1b9)]=_0x354d14[_0x52d3ca(0x1e5)]?.['status'];continue;case'1':_0x252ef1[_0x52d3ca(0x185)]=new Date()[_0x52d3ca(0x183)]();continue;case'2':_0x252ef1[_0x52d3ca(0x1a5)]=_0x468017;continue;case'3':_0x252ef1[_0x52d3ca(0x163)]=_0x354d14[_0x52d3ca(0x1e5)]?.['duration']?.[_0x52d3ca(0x1d3)];continue;case'4':_0x252ef1['failure']=_0x5346fe;continue;}break;}}}),_tests[_0x2f6160]=_0x2a9f63,delete _tests[_0x2f6160][_0x1e07ad[_0x467b17(0x146)]];}}catch(_0x254f4b){logger['debug'](_0x467b17(0x147)+util[_0x467b17(0x1b7)](_0x254f4b));}}[a6_0x18c6c0(0x1ca)](_0x37d93f){const _0x36f871=a6_0x18c6c0,_0x8bddb={};return _0x37d93f[_0x36f871(0x151)][_0x36f871(0x14b)][_0x36f871(0x1c1)](this[_0x36f871(0x197)])[_0x36f871(0x16c)]()['forEach'](_0x2cd393=>_0x2cd393[_0x36f871(0x18b)]['forEach'](_0x578132=>_0x8bddb[_0x578132['id']]=_0x578132)),_0x8bddb;}[a6_0x18c6c0(0x173)](_0x23dee9,_0x68d124){const _0x55fda3=a6_0x18c6c0,_0x187bea={'zJgCM':function(_0x3cf6ff,_0x5cdabe){return _0x3cf6ff(_0x5cdabe);},'xROCh':function(_0x3d3db1,_0x43af31){return _0x3d3db1(_0x43af31);},'Yzien':function(_0x256d68,_0x41c837){return _0x256d68===_0x41c837;},'wvUHw':function(_0xcdf9fe,_0x246fe9){return _0xcdf9fe(_0x246fe9);},'hxxks':function(_0x54b16d,_0x32f4d1){return _0x54b16d!==_0x32f4d1;},'bWXTA':'cucumber-js/test.setup.js'};let _0x17c285=!![];const _0x445c9d={};_0x17c285=_0x17c285&&!_0x187bea[_0x55fda3(0x189)](isUndefined,_0x23dee9[_0x55fda3(0x1a6)]);if(!_0x187bea[_0x55fda3(0x189)](isUndefined,_0x23dee9[_0x55fda3(0x1a6)])){let _0x1a894b;_0x17c285?_0x1a894b=this[_0x55fda3(0x1ec)][_0x55fda3(0x1e4)][_0x55fda3(0x1e2)](_0x424984=>_0x424984['id']===_0x23dee9[_0x55fda3(0x1a6)]):_0x1a894b=this['supportCodeLibrary'][_0x55fda3(0x153)][_0x55fda3(0x1e2)](_0x377772=>_0x377772['id']===_0x23dee9[_0x55fda3(0x1a6)]);if(_0x1a894b){const _0x570b59={};_0x570b59[_0x55fda3(0x179)]=_0x1a894b[_0x55fda3(0x179)],_0x570b59[_0x55fda3(0x1bc)]=_0x1a894b[_0x55fda3(0x1bc)],_0x445c9d['actionLocation']=_0x570b59,_0x445c9d[_0x55fda3(0x1a4)]=_0x1a894b[_0x55fda3(0x1a4)];}}if(!_0x187bea[_0x55fda3(0x195)](isUndefined,_0x23dee9[_0x55fda3(0x1b1)])&&_0x187bea['Yzien'](_0x23dee9['stepDefinitionIds'][_0x55fda3(0x1dd)],0x1)){const _0x382e68=this[_0x55fda3(0x1ec)]['stepDefinitions'][_0x55fda3(0x1e2)](_0xa5c7c4=>_0xa5c7c4['id']===_0x23dee9['stepDefinitionIds'][0x0]),_0x46a3b4={};_0x46a3b4['uri']=_0x382e68[_0x55fda3(0x179)],_0x46a3b4[_0x55fda3(0x1bc)]=_0x382e68[_0x55fda3(0x1bc)],_0x445c9d['actionLocation']=_0x46a3b4;}if(!_0x187bea[_0x55fda3(0x1b8)](isUndefined,_0x23dee9[_0x55fda3(0x158)])){const _0x46a800={};_0x46a800[_0x55fda3(0x179)]=_0x68d124,_0x46a800[_0x55fda3(0x1bc)]='',_0x445c9d[_0x55fda3(0x186)]=_0x46a800;}if(_0x187bea[_0x55fda3(0x14a)](_0x445c9d[_0x55fda3(0x186)],undefined))return![];if(_0x445c9d[_0x55fda3(0x1be)]&&_0x445c9d['actionLocation'][_0x55fda3(0x179)][_0x55fda3(0x176)](_0x187bea[_0x55fda3(0x14f)]))return!![];return![];}[a6_0x18c6c0(0x197)](_0x123f09){const _0x2df879=a6_0x18c6c0,_0x45fcd0={'chjDW':function(_0x769ac4,_0x5bc0da){return _0x769ac4(_0x5bc0da);},'IGyJg':function(_0x39e886,_0x197a9d){return _0x39e886(_0x197a9d);}};if(!_0x45fcd0[_0x2df879(0x14e)](isUndefined,_0x123f09[_0x2df879(0x1a8)]))return[_0x123f09[_0x2df879(0x1a8)]];else{if(!_0x45fcd0[_0x2df879(0x175)](isUndefined,_0x123f09['rule']))return _0x123f09[_0x2df879(0x165)][_0x2df879(0x14b)][_0x2df879(0x1c1)](_0x4582fe=>!isUndefined(_0x4582fe?.[_0x2df879(0x1a8)])?_0x4582fe[_0x2df879(0x1a8)]:_0x4582fe[_0x2df879(0x1cf)]);};return[_0x123f09[_0x2df879(0x1cf)]];}[a6_0x18c6c0(0x1d9)](_0x3828ef,_0x317ec9){const _0x468d34=a6_0x18c6c0;return Object[_0x468d34(0x1d2)](_0x3828ef[_0x468d34(0x162)][_0x468d34(0x1ae)])[_0x468d34(0x1e2)](_0x1d51b7=>_0x1d51b7[_0x468d34(0x179)]===_0x317ec9['uri']);}}module[a6_0x18c6c0(0x19a)]=o11yClassErrorHandler(BrowserstackFormatter,['onTestCaseStarted',a6_0x18c6c0(0x1c6),a6_0x18c6c0(0x1b3),a6_0x18c6c0(0x1e8),a6_0x18c6c0(0x1b6),a6_0x18c6c0(0x1a9),a6_0x18c6c0(0x197),a6_0x18c6c0(0x1d9),a6_0x18c6c0(0x1ca),a6_0x18c6c0(0x173)]);function a6_0x5c20(){const _0x28e4b0=['incrementCounter','kfESx','sGwbA','NbkcN','xbjZX','flat','setup','UNKNOWN','JUcmv','PQbpa','testStepId','pickleId','checkHookURI','@cucumber/cucumber','IGyJg','includes','jWdsv','mJyGO','uri','logTestRunFinished','288272VPJiYd','CONFIG','log','logTestCaseFinished','cucumber-js/test.setup.js','forEach','PEzDf','UnhandledError','toISOString','split','finished_at','sourceLocation','tBeLx','jVoJn','zJgCM','\x20-\x20','steps','../../../helpers/helper','testRunStarted','qOKPn','HbYbR','isBstackHook','KYwXW','testCaseId','hOrST','getTestUUID','xROCh','16946628cZqZnB','extractStepContainers','exception','failed','exports','../../../helpers/logger','status','__platform','gherkinDocument','zzicS','DeJkP','369liSRyZ','7gwbnJI','onTestCaseStarted','name','failureType','hookId','testCaseAttempt','background','onTestRunFinished','6082700WXXkwI','TestRunFinished','parseTestCaseAttempt','envelope','gherkinDocumentMap','1697214WNSRSl','EFIOC','stepDefinitionIds','SKIPPED','onTestStepStarted','JskDC','cwd','onTestRunStarted','format','wvUHw','result','OxkIi','debug','line','HaCQT','actionLocation','JuAAh','1|0|3|4|2','map','34ZWLfDv','testSteps','10LXWLrh','message','onTestCaseFinished','Executing\x20tests\x20for\x20','getTestCaseAttempt','testRunFinished','getGherkinStepMap','testStepFinished','toLowerCase','pickleMap','capability','scenario','3MbrKKk','pickle','values','seconds','winstonLogger','bstack','dyViW','PASSED','finishedAt','getGherkinDocument','testStepStarted','fThIn','parse','length','Exception\x20in\x20sending\x20onTestCaseFinished\x20event:\x20\x20','sendTestRunEventForCucumber','bZdii','HookRunStarted','find','BeDGe','beforeTestCaseHookDefinitions','testStepResult','31633XXiYBZ','WOavA','onTestStepFinished','LYTSp','12705649PZDxVP','Fbvng','supportCodeLibrary','eKeHJ','bKnOD','pffyg','Exception\x20in\x20onTestStepFinished\x20event:\x20','FAILED','hnZun','hxxks','children','testCaseAttemptDataMap','\x20\x20\x20\x20','chjDW','bWXTA','sendHook','feature','testCaseStartedId','afterTestCaseHookDefinitions','testCaseFinished','qLExS','text','UNDEFINED','pickleStepId','yJepY','ewgpl','testCaseMap','env','toString','ZJKaM','testCaseStarted','YtPFT','RZWhB','eventDataCollector','duration','4338700dZGADT','rule','snippetBuilder'];a6_0x5c20=function(){return _0x28e4b0;};return a6_0x5c20();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a7_0x4d1c(_0x481542,_0x1c960a){const _0x3e73d6=a7_0x3e73();return a7_0x4d1c=function(_0x4d1c8b,_0x4ce029){_0x4d1c8b=_0x4d1c8b-0x73;let _0x2c98d5=_0x3e73d6[_0x4d1c8b];return _0x2c98d5;},a7_0x4d1c(_0x481542,_0x1c960a);}const a7_0xb0f2d=a7_0x4d1c;(function(_0x4b35a3,_0x295e39){const _0x5a4d99=a7_0x4d1c,_0x58d948=_0x4b35a3();while(!![]){try{const _0x5578da=-parseInt(_0x5a4d99(0xb6))/0x1+parseInt(_0x5a4d99(0x79))/0x2*(parseInt(_0x5a4d99(0x8f))/0x3)+-parseInt(_0x5a4d99(0xac))/0x4+-parseInt(_0x5a4d99(0xb9))/0x5*(parseInt(_0x5a4d99(0x98))/0x6)+parseInt(_0x5a4d99(0xaa))/0x7+-parseInt(_0x5a4d99(0xb3))/0x8+parseInt(_0x5a4d99(0x96))/0x9*(parseInt(_0x5a4d99(0x81))/0xa);if(_0x5578da===_0x295e39)break;else _0x58d948['push'](_0x58d948['shift']());}catch(_0x1453ac){_0x58d948['push'](_0x58d948['shift']());}}}(a7_0x3e73,0x9cee1));function a7_0x3e73(){const _0x13d8a0=['63171YPwBUa','log','zOSgy','cucumber','SKIPPED','UNDEFINED','../../../helpers/helper','355833SRdrfz','test-run-started','552912HemhOe','pickle','LqAtS','ECqST','cucumber-js/test_old.setup.js','feature','PIBBP','NensP','text','bBcPA','\x20-\x20','XjMVe','testCase','\x20\x20\x20\x20','eLSVX','KYamz','stack','OoMCU','7954674YHOfvp','getStepLineToPickledStepMap','4627276pvgVNs','bZnLr','LsbSf','getTestCaseAttempt','status','undefined','parse','7899072MhaXJN','yquxa','TMUpU','161233MsGHip','actionLocation','SGogQ','10TlBuwK','KHhaK','KSlgG','VJGDZ','stepResults','eventDataCollector','TwUnv','\x20\x20\x20\x20AFTER\x20-\x20','toUpperCase','xsjuW','Executing\x20tests\x20for\x20','test-run-finished','NLZew','wfEIM','HugEH','eventBroadcaster','test-step-started','__platform','bbCMv','test-case-started','rLnVM','jCQAq','cucumber/lib/formatter/helpers/pickle_parser.js','capability','QTaRZ','NhlvB','uOPFD','122leiaSq','PENDING','akjmV','uri','wDype','test-case-finished','length','name','180JUSnLp','FAILED','PASSED','line','sourceLocation','env','ixyXv','result','includes','aVpiZ','bGPyd','getTestCaseData','CONFIG','gherkinDocument'];a7_0x3e73=function(){return _0x13d8a0;};return a7_0x3e73();}const {requireModule,getPlatformName,nestedKeyValue}=require(a7_0xb0f2d(0x95)),{Formatter}=requireModule(a7_0xb0f2d(0x92)),pickleParser=requireModule(a7_0xb0f2d(0x74));class BrowserstackFormatter extends Formatter{constructor(_0xfe7f3c){const _0x3c889b=a7_0xb0f2d,_0x59f926={'yquxa':function(_0x344def,_0x2dfef4){return _0x344def!==_0x2dfef4;},'LqAtS':function(_0x28435e,_0x24fcf4){return _0x28435e(_0x24fcf4);},'NLZew':_0x3c889b(0x97),'qyhrI':_0x3c889b(0xcc),'jCQAq':_0x3c889b(0x7e),'EdeMF':_0x3c889b(0xc4),'wfEIM':_0x3c889b(0xc9)};super(_0xfe7f3c),_0xfe7f3c[_0x3c889b(0xc8)]['on'](_0x59f926[_0x3c889b(0xc5)],()=>{const _0x1efb6b=_0x3c889b;let _0x33ed2d;if(_0x59f926[_0x1efb6b(0xb4)](process['env'][_0x1efb6b(0x8d)],undefined)){const _0x5eab05=JSON[_0x1efb6b(0xb2)](process[_0x1efb6b(0x86)][_0x1efb6b(0x8d)]);_0x33ed2d=_0x5eab05[_0x1efb6b(0x75)];}_0x59f926[_0x1efb6b(0xb4)](_0x33ed2d,undefined)&&(global['__platform']=_0x59f926[_0x1efb6b(0x9a)](getPlatformName,_0x33ed2d),console[_0x1efb6b(0x90)](_0x1efb6b(0xc3)+global[_0x1efb6b(0xca)]));}),_0xfe7f3c[_0x3c889b(0xc8)]['on'](_0x59f926['qyhrI'],()=>{testSuites+=0x1;}),_0xfe7f3c[_0x3c889b(0xc8)]['on'](_0x59f926[_0x3c889b(0x73)],_0xce0e44=>{this['logTestCaseFinished'](_0xce0e44);}),_0xfe7f3c[_0x3c889b(0xc8)]['on'](_0x59f926['EdeMF'],()=>{totalTests-=0x2;}),_0xfe7f3c[_0x3c889b(0xc8)]['on'](_0x59f926[_0x3c889b(0xc6)],()=>{totalTests+=0x1;});}['logTestCaseFinished'](_0x20a813){const _0x205db7=a7_0xb0f2d,_0x2f83a8={'eLSVX':_0x205db7(0x82),'BfsmM':_0x205db7(0x83),'uOPFD':_0x205db7(0x93),'DCDUn':_0x205db7(0x7a),'KSlgG':_0x205db7(0x94),'NensP':'UNKNOWN','VveuJ':'AMBIGUOUS','ECqST':function(_0x8d2fd0,_0x5cb865){return _0x8d2fd0+_0x5cb865;},'bGPyd':function(_0x4ee878,_0x30f49e){return _0x4ee878+_0x30f49e;},'TwUnv':_0x205db7(0xa5),'TMUpU':_0x205db7(0xa2),'NhlvB':function(_0x15a6c4,_0x4ad5e6){return _0x15a6c4(_0x4ad5e6);},'KYamz':_0x205db7(0x9c),'SGogQ':function(_0x113470,_0x132158){return _0x113470+_0x132158;},'qArpM':_0x205db7(0xc0),'wDype':function(_0x38c9cf,_0x12594c){return _0x38c9cf+_0x12594c;},'ixyXv':'\x20\x20\x20\x20BEFORE\x20-\x20','KHhaK':function(_0x131bef,_0x2d0f53){return _0x131bef===_0x2d0f53;},'bBcPA':function(_0x25000b,_0x5b1c6b,_0x4b8613){return _0x25000b(_0x5b1c6b,_0x4b8613);},'OoMCU':_0x205db7(0x88),'DToBp':'exception','zOSgy':_0x205db7(0xa8),'XjMVe':function(_0x30ee77,_0x25a200){return _0x30ee77!==_0x25a200;},'hUESW':function(_0x302035,_0x4a5f6d){return _0x302035+_0x4a5f6d;},'QTaRZ':function(_0x2426a6,_0x4211a8){return _0x2426a6+_0x4211a8;},'vhfKb':function(_0x17badb,_0x2da4ca){return _0x17badb!==_0x2da4ca;},'xsjuW':_0x205db7(0xb1),'aVpiZ':function(_0x5a9a61,_0x2d2ae5){return _0x5a9a61+_0x2d2ae5;},'HugEH':function(_0x4e50c3,_0x334c39){return _0x4e50c3+_0x334c39;},'PIBBP':function(_0xe1bff0,_0x110641){return _0xe1bff0<_0x110641;},'LsbSf':function(_0x44fde5,_0x13b85d){return _0x44fde5+_0x13b85d;},'bZnLr':function(_0x5494aa,_0x1dbc99){return _0x5494aa+_0x1dbc99;},'VJGDZ':function(_0x5d0c5e,_0x3f7ef3){return _0x5d0c5e+_0x3f7ef3;},'OjgWc':function(_0x22607,_0x4ea395){return _0x22607(_0x4ea395);},'akjmV':function(_0x2c9e4d,_0x36c056){return _0x2c9e4d+_0x36c056;},'bbCMv':function(_0x546503,_0x62e9e7,_0x471134){return _0x546503(_0x62e9e7,_0x471134);},'rLnVM':function(_0x4fbbd6,_0x3782d1){return _0x4fbbd6+_0x3782d1;}};let _0x38f682=![];function _0x399199(_0x1bde84){const _0xd3a242=_0x205db7;switch(_0x1bde84){case _0x2f83a8[_0xd3a242(0xa6)]:testsFailed+=0x1;break;case _0x2f83a8['BfsmM']:testsPassed+=0x1;break;case _0x2f83a8[_0xd3a242(0x78)]:testsSkipped+=0x1;break;case _0x2f83a8['DCDUn']:testsPending+=0x1;break;case _0x2f83a8[_0xd3a242(0xbb)]:testsUndefined+=0x1;break;case _0x2f83a8[_0xd3a242(0x9f)]:testsUnknown+=0x1;break;case _0x2f83a8['VveuJ']:testsAmbiguous+=0x1;break;default:break;}}_0x2f83a8[_0x205db7(0xa3)](global[_0x205db7(0xca)],undefined)&&console['log'](_0x2f83a8['hUESW'](_0x2f83a8[_0x205db7(0x76)]('\x0a',global[_0x205db7(0xca)]),'\x0a'));let _0xb304ba=![];if(_0x2f83a8['vhfKb'](typeof this[_0x205db7(0xbe)]['getTestCaseData'],_0x2f83a8[_0x205db7(0xc2)])){var _0x3e4f16=this[_0x205db7(0xbe)][_0x205db7(0x8c)](_0x20a813[_0x205db7(0x85)]),_0x5b28ba=_0x3e4f16[_0x205db7(0x99)],_0x580dd3=_0x3e4f16[_0x205db7(0xa4)];console[_0x205db7(0x90)](_0x2f83a8['QTaRZ']('\x20\x20',_0x5b28ba[_0x205db7(0x80)]));var _0x1688ac=(0x0,pickleParser[_0x205db7(0xab)])(_0x5b28ba);_0x580dd3['steps']['forEach'](function(_0x86b138){const _0x327b91=_0x205db7;if(_0x86b138[_0x327b91(0xb7)]&&_0x86b138[_0x327b91(0x85)])_0x38f682=!![],console[_0x327b91(0x90)](_0x2f83a8[_0x327b91(0x9b)](_0x2f83a8[_0x327b91(0x9b)](_0x2f83a8[_0x327b91(0x8b)](_0x2f83a8[_0x327b91(0xbf)],_0x1688ac[_0x86b138[_0x327b91(0x85)]['line']]['text']),_0x2f83a8[_0x327b91(0xb5)]),_0x86b138[_0x327b91(0x88)][_0x327b91(0xb0)]['toUpperCase']())),_0x2f83a8[_0x327b91(0x77)](_0x399199,_0x86b138[_0x327b91(0x88)][_0x327b91(0xb0)]['toUpperCase']());else _0x86b138[_0x327b91(0xb7)]&&(!_0x86b138[_0x327b91(0xb7)][_0x327b91(0x7c)]['includes'](_0x2f83a8[_0x327b91(0xa7)])&&(_0x2f83a8[_0x327b91(0x77)](_0x399199,_0x86b138[_0x327b91(0x88)][_0x327b91(0xb0)][_0x327b91(0xc1)]()),_0x38f682?console['log'](_0x2f83a8[_0x327b91(0xb8)](_0x2f83a8['qArpM'],_0x86b138[_0x327b91(0x88)]['status'][_0x327b91(0xc1)]())):console['log'](_0x2f83a8[_0x327b91(0x7d)](_0x2f83a8[_0x327b91(0x87)],_0x86b138[_0x327b91(0x88)][_0x327b91(0xb0)][_0x327b91(0xc1)]()))));if(_0x2f83a8[_0x327b91(0xba)](_0x86b138['result'][_0x327b91(0xb0)][_0x327b91(0xc1)](),_0x2f83a8[_0x327b91(0xa6)])){const _0x23560f=_0x2f83a8[_0x327b91(0xa1)](nestedKeyValue,_0x86b138,[_0x2f83a8[_0x327b91(0xa9)],_0x2f83a8['DToBp'],_0x2f83a8['zOSgy']]);_0x23560f&&(testsErrorMessage[_0x5b28ba[_0x327b91(0x80)]]=_0x23560f,console[_0x327b91(0x90)](_0x2f83a8[_0x327b91(0x8b)](_0x23560f,'\x0a'))),_0xb304ba=!![];}});}else{const _0x15a5ff=this[_0x205db7(0xbe)][_0x205db7(0xaf)](_0x20a813);console[_0x205db7(0x90)](_0x2f83a8['ECqST'](_0x2f83a8['aVpiZ'](_0x2f83a8[_0x205db7(0xc7)]('\x20\x20',_0x15a5ff[_0x205db7(0x8e)][_0x205db7(0x9d)][_0x205db7(0x80)]),_0x2f83a8[_0x205db7(0xb5)]),_0x15a5ff['pickle'][_0x205db7(0x80)]));const _0x5b8b61=(0x0,pickleParser['getStepLineToPickledStepMap'])(_0x15a5ff[_0x205db7(0x99)]),_0x202c93=_0x15a5ff[_0x205db7(0xa4)]['steps'],_0x50f831=_0x15a5ff[_0x205db7(0xbd)],_0x166862=_0x202c93[_0x205db7(0x7f)];for(let _0x2fcb54=0x0;_0x2f83a8[_0x205db7(0x9e)](_0x2fcb54,_0x166862);_0x2fcb54++){const _0x3c06a9=_0x202c93[_0x2fcb54];if(_0x3c06a9[_0x205db7(0xb7)]&&_0x3c06a9[_0x205db7(0x85)])_0x38f682=!![],console['log'](_0x2f83a8[_0x205db7(0xae)](_0x2f83a8[_0x205db7(0xad)](_0x2f83a8[_0x205db7(0xbc)](_0x2f83a8['TwUnv'],_0x5b8b61[_0x3c06a9['sourceLocation'][_0x205db7(0x84)]][_0x205db7(0xa0)]),_0x2f83a8['TMUpU']),_0x50f831[_0x2fcb54][_0x205db7(0xb0)][_0x205db7(0xc1)]())),_0x2f83a8[_0x205db7(0x77)](_0x399199,_0x50f831[_0x2fcb54][_0x205db7(0xb0)][_0x205db7(0xc1)]());else _0x3c06a9[_0x205db7(0xb7)]&&(!_0x3c06a9[_0x205db7(0xb7)][_0x205db7(0x7c)][_0x205db7(0x89)](_0x2f83a8['KYamz'])&&(_0x2f83a8['OjgWc'](_0x399199,_0x50f831[_0x2fcb54]['status'][_0x205db7(0xc1)]()),_0x38f682?console['log'](_0x2f83a8['ECqST'](_0x2f83a8['qArpM'],_0x50f831[_0x2fcb54][_0x205db7(0xb0)][_0x205db7(0xc1)]())):console[_0x205db7(0x90)](_0x2f83a8[_0x205db7(0x7b)](_0x2f83a8[_0x205db7(0x87)],_0x50f831[_0x2fcb54][_0x205db7(0xb0)][_0x205db7(0xc1)]()))));if(_0x2f83a8[_0x205db7(0xba)](_0x50f831[_0x2fcb54][_0x205db7(0xb0)][_0x205db7(0xc1)](),_0x2f83a8['eLSVX'])){_0xb304ba=!![];const _0x9c00ff=_0x2f83a8[_0x205db7(0xcb)](nestedKeyValue,_0x50f831[_0x2fcb54],[_0x2f83a8['DToBp'],_0x2f83a8[_0x205db7(0x91)]]);_0x9c00ff&&(testsErrorMessage[_0x2f83a8[_0x205db7(0xcd)](_0x2f83a8['rLnVM'](_0x15a5ff['gherkinDocument'][_0x205db7(0x9d)]['name'],_0x2f83a8['TMUpU']),_0x15a5ff[_0x205db7(0x99)][_0x205db7(0x80)])]=_0x9c00ff,console['log'](_0x2f83a8[_0x205db7(0x8a)](_0x9c00ff,'\x0a')));}}}_0xb304ba&&(testSuitesFailed+=0x1),console[_0x205db7(0x90)]('\x0a');}}module['exports']=BrowserstackFormatter;
|
|
1
|
+
const a7_0x188dde=a7_0xc50b;(function(_0x5afc77,_0x3c8c52){const _0x4e99ff=a7_0xc50b,_0x4af156=_0x5afc77();while(!![]){try{const _0x1f8c6d=-parseInt(_0x4e99ff(0x112))/0x1+-parseInt(_0x4e99ff(0x125))/0x2+-parseInt(_0x4e99ff(0x10e))/0x3*(-parseInt(_0x4e99ff(0x141))/0x4)+-parseInt(_0x4e99ff(0x140))/0x5+parseInt(_0x4e99ff(0x13c))/0x6+parseInt(_0x4e99ff(0x114))/0x7+parseInt(_0x4e99ff(0x122))/0x8;if(_0x1f8c6d===_0x3c8c52)break;else _0x4af156['push'](_0x4af156['shift']());}catch(_0x1faa83){_0x4af156['push'](_0x4af156['shift']());}}}(a7_0x1d67,0xed59f));const {requireModule,getPlatformName,nestedKeyValue}=require('../../../helpers/helper'),{Formatter}=requireModule(a7_0x188dde(0x104)),pickleParser=requireModule('cucumber/lib/formatter/helpers/pickle_parser.js');class BrowserstackFormatter extends Formatter{constructor(_0x4757c8){const _0x47754f=a7_0x188dde,_0x48080a={'WppjI':function(_0x38ef3b,_0x3f9b15){return _0x38ef3b!==_0x3f9b15;},'HyUIK':function(_0x582049,_0x320f30){return _0x582049!==_0x320f30;},'EJGYz':function(_0x347f82,_0x3e8a9c){return _0x347f82(_0x3e8a9c);},'dNdGO':'test-run-started','yWsVq':_0x47754f(0x134),'Yusjx':'test-case-finished','EGXSr':_0x47754f(0x10c),'IuUMJ':'test-step-started'};super(_0x4757c8),_0x4757c8[_0x47754f(0x149)]['on'](_0x48080a['dNdGO'],()=>{const _0x15576d=_0x47754f;let _0x425f24;if(_0x48080a['WppjI'](process[_0x15576d(0x10b)][_0x15576d(0x100)],undefined)){const _0x487973=JSON[_0x15576d(0x10a)](process[_0x15576d(0x10b)][_0x15576d(0x100)]);_0x425f24=_0x487973['capability'];}_0x48080a['HyUIK'](_0x425f24,undefined)&&(global['__platform']=_0x48080a['EJGYz'](getPlatformName,_0x425f24),console[_0x15576d(0x11e)]('Executing\x20tests\x20for\x20'+global[_0x15576d(0x131)]));}),_0x4757c8[_0x47754f(0x149)]['on'](_0x48080a[_0x47754f(0x147)],()=>{testSuites+=0x1;}),_0x4757c8[_0x47754f(0x149)]['on'](_0x48080a['Yusjx'],_0x2f936c=>{this['logTestCaseFinished'](_0x2f936c);}),_0x4757c8[_0x47754f(0x149)]['on'](_0x48080a[_0x47754f(0x142)],()=>{totalTests-=0x2;}),_0x4757c8[_0x47754f(0x149)]['on'](_0x48080a[_0x47754f(0x124)],()=>{totalTests+=0x1;});}[a7_0x188dde(0x14e)](_0xb92b02){const _0x416224=a7_0x188dde,_0x1ba2bb={'chjkj':_0x416224(0xff),'zbFJZ':_0x416224(0x103),'AvGIa':_0x416224(0x13e),'CFvwA':_0x416224(0x12a),'xUEtn':_0x416224(0xf8),'UhDlr':_0x416224(0x135),'YpBfx':_0x416224(0x12e),'IuXpg':function(_0x5904af,_0x56e10c){return _0x5904af+_0x56e10c;},'WCmeT':function(_0x1b4b72,_0xb13174){return _0x1b4b72+_0xb13174;},'vBFRe':_0x416224(0x138),'eclpN':_0x416224(0x129),'RbAWP':function(_0x5427ae,_0x195014){return _0x5427ae(_0x195014);},'PLjpa':_0x416224(0x127),'GBxGl':function(_0x5a4260,_0x4959fd){return _0x5a4260(_0x4959fd);},'yhzbd':function(_0x2d38ca,_0x2ce148){return _0x2d38ca+_0x2ce148;},'DDOcH':'\x20\x20\x20\x20AFTER\x20-\x20','MyBYm':_0x416224(0xf9),'uIfmg':function(_0x2505d3,_0x213d9f){return _0x2505d3===_0x213d9f;},'wAWlk':function(_0x189048,_0x312840,_0x225f52){return _0x189048(_0x312840,_0x225f52);},'vXQYv':_0x416224(0x143),'qUoVl':_0x416224(0x120),'HlEUc':_0x416224(0x13d),'oQGsd':function(_0x5a319e,_0x4f1f57){return _0x5a319e!==_0x4f1f57;},'kkVxI':function(_0x396d0a,_0x2ca37d){return _0x396d0a+_0x2ca37d;},'JjQeu':function(_0x43fd50,_0x2fedd5){return _0x43fd50!==_0x2fedd5;},'fAsXm':_0x416224(0x117),'TgsKu':function(_0xf9df64,_0x2c4ade){return _0xf9df64+_0x2c4ade;},'seetR':function(_0x354ba9,_0x1d3427){return _0x354ba9+_0x1d3427;},'NXmfU':function(_0x1c473e,_0x28ab4c){return _0x1c473e+_0x28ab4c;},'vayXz':function(_0x551ade,_0x456dd7){return _0x551ade<_0x456dd7;},'oKifW':function(_0x4d631a,_0x171fab){return _0x4d631a(_0x171fab);},'DSDLz':function(_0x11cfac,_0x156bac){return _0x11cfac+_0x156bac;},'LPYEh':function(_0x31707e,_0x29439f){return _0x31707e+_0x29439f;},'sSRLl':function(_0x414f8d,_0x44b884){return _0x414f8d===_0x44b884;},'uSKui':function(_0xcabcd4,_0x39ec6c,_0x11d813){return _0xcabcd4(_0x39ec6c,_0x11d813);},'GCJur':function(_0x3f9198,_0x23061a){return _0x3f9198+_0x23061a;}};let _0x4af855=![];function _0x5adce7(_0x15c087){const _0x1de289=_0x416224;switch(_0x15c087){case _0x1ba2bb[_0x1de289(0x132)]:testsFailed+=0x1;break;case _0x1ba2bb[_0x1de289(0x10d)]:testsPassed+=0x1;break;case _0x1ba2bb[_0x1de289(0x130)]:testsSkipped+=0x1;break;case _0x1ba2bb[_0x1de289(0x133)]:testsPending+=0x1;break;case _0x1ba2bb[_0x1de289(0xfc)]:testsUndefined+=0x1;break;case _0x1ba2bb[_0x1de289(0x116)]:testsUnknown+=0x1;break;case _0x1ba2bb[_0x1de289(0x14b)]:testsAmbiguous+=0x1;break;default:break;}}_0x1ba2bb[_0x416224(0x11c)](global[_0x416224(0x131)],undefined)&&console[_0x416224(0x11e)](_0x1ba2bb[_0x416224(0x144)](_0x1ba2bb[_0x416224(0x145)]('\x0a',global[_0x416224(0x131)]),'\x0a'));let _0x4a196a=![];if(_0x1ba2bb[_0x416224(0x14c)](typeof this['eventDataCollector'][_0x416224(0x11a)],_0x1ba2bb[_0x416224(0x146)])){var _0x6e721f=this[_0x416224(0x101)][_0x416224(0x11a)](_0xb92b02[_0x416224(0x11b)]),_0x54995a=_0x6e721f[_0x416224(0x14d)],_0x166ecc=_0x6e721f[_0x416224(0x118)];console[_0x416224(0x11e)](_0x1ba2bb['TgsKu']('\x20\x20',_0x54995a[_0x416224(0x111)]));var _0x58c394=(0x0,pickleParser['getStepLineToPickledStepMap'])(_0x54995a);_0x166ecc[_0x416224(0x126)]['forEach'](function(_0x1aaa1f){const _0x107d69=_0x416224;if(_0x1aaa1f[_0x107d69(0x109)]&&_0x1aaa1f[_0x107d69(0x11b)])_0x4af855=!![],console[_0x107d69(0x11e)](_0x1ba2bb[_0x107d69(0x137)](_0x1ba2bb[_0x107d69(0x144)](_0x1ba2bb[_0x107d69(0x144)](_0x1ba2bb[_0x107d69(0xf7)],_0x58c394[_0x1aaa1f[_0x107d69(0x11b)]['line']]['text']),_0x1ba2bb[_0x107d69(0x136)]),_0x1aaa1f[_0x107d69(0x143)][_0x107d69(0xf6)][_0x107d69(0x121)]())),_0x1ba2bb[_0x107d69(0x12b)](_0x5adce7,_0x1aaa1f[_0x107d69(0x143)][_0x107d69(0xf6)]['toUpperCase']());else _0x1aaa1f[_0x107d69(0x109)]&&(!_0x1aaa1f[_0x107d69(0x109)][_0x107d69(0xfa)]['includes'](_0x1ba2bb['PLjpa'])&&(_0x1ba2bb[_0x107d69(0x13f)](_0x5adce7,_0x1aaa1f[_0x107d69(0x143)]['status'][_0x107d69(0x121)]()),_0x4af855?console['log'](_0x1ba2bb[_0x107d69(0x108)](_0x1ba2bb[_0x107d69(0x13a)],_0x1aaa1f[_0x107d69(0x143)][_0x107d69(0xf6)][_0x107d69(0x121)]())):console[_0x107d69(0x11e)](_0x1ba2bb['IuXpg'](_0x1ba2bb['MyBYm'],_0x1aaa1f[_0x107d69(0x143)]['status'][_0x107d69(0x121)]()))));if(_0x1ba2bb[_0x107d69(0x110)](_0x1aaa1f[_0x107d69(0x143)][_0x107d69(0xf6)][_0x107d69(0x121)](),_0x1ba2bb[_0x107d69(0x132)])){const _0xf13e1d=_0x1ba2bb[_0x107d69(0x119)](nestedKeyValue,_0x1aaa1f,[_0x1ba2bb[_0x107d69(0x13b)],_0x1ba2bb[_0x107d69(0x128)],_0x1ba2bb[_0x107d69(0x106)]]);_0xf13e1d&&(testsErrorMessage[_0x54995a[_0x107d69(0x111)]]=_0xf13e1d,console['log'](_0x1ba2bb[_0x107d69(0x108)](_0xf13e1d,'\x0a'))),_0x4a196a=!![];}});}else{const _0x3ea002=this[_0x416224(0x101)][_0x416224(0x10f)](_0xb92b02);console[_0x416224(0x11e)](_0x1ba2bb[_0x416224(0x108)](_0x1ba2bb[_0x416224(0xfe)](_0x1ba2bb[_0x416224(0x11f)]('\x20\x20',_0x3ea002[_0x416224(0x102)][_0x416224(0xf5)][_0x416224(0x111)]),_0x1ba2bb['eclpN']),_0x3ea002[_0x416224(0x14d)][_0x416224(0x111)]));const _0x14fdff=(0x0,pickleParser[_0x416224(0x115)])(_0x3ea002['pickle']),_0x34e61a=_0x3ea002[_0x416224(0x118)][_0x416224(0x126)],_0x472eda=_0x3ea002[_0x416224(0x11d)],_0x30db05=_0x34e61a[_0x416224(0x123)];for(let _0x2e25a8=0x0;_0x1ba2bb[_0x416224(0xf3)](_0x2e25a8,_0x30db05);_0x2e25a8++){const _0x37e245=_0x34e61a[_0x2e25a8];if(_0x37e245[_0x416224(0x109)]&&_0x37e245[_0x416224(0x11b)])_0x4af855=!![],console['log'](_0x1ba2bb[_0x416224(0xfb)](_0x1ba2bb[_0x416224(0x137)](_0x1ba2bb[_0x416224(0x144)](_0x1ba2bb[_0x416224(0xf7)],_0x14fdff[_0x37e245['sourceLocation'][_0x416224(0xfd)]][_0x416224(0xf4)]),_0x1ba2bb[_0x416224(0x136)]),_0x472eda[_0x2e25a8][_0x416224(0xf6)][_0x416224(0x121)]())),_0x1ba2bb[_0x416224(0x105)](_0x5adce7,_0x472eda[_0x2e25a8]['status'][_0x416224(0x121)]());else _0x37e245[_0x416224(0x109)]&&(!_0x37e245[_0x416224(0x109)]['uri'][_0x416224(0x12d)](_0x1ba2bb[_0x416224(0x12f)])&&(_0x1ba2bb[_0x416224(0x105)](_0x5adce7,_0x472eda[_0x2e25a8][_0x416224(0xf6)][_0x416224(0x121)]()),_0x4af855?console[_0x416224(0x11e)](_0x1ba2bb[_0x416224(0x107)](_0x1ba2bb[_0x416224(0x13a)],_0x472eda[_0x2e25a8]['status'][_0x416224(0x121)]())):console[_0x416224(0x11e)](_0x1ba2bb[_0x416224(0x148)](_0x1ba2bb['MyBYm'],_0x472eda[_0x2e25a8]['status'][_0x416224(0x121)]()))));if(_0x1ba2bb[_0x416224(0x113)](_0x472eda[_0x2e25a8][_0x416224(0xf6)]['toUpperCase'](),_0x1ba2bb[_0x416224(0x132)])){_0x4a196a=!![];const _0x48b42f=_0x1ba2bb[_0x416224(0x12c)](nestedKeyValue,_0x472eda[_0x2e25a8],[_0x1ba2bb['qUoVl'],_0x1ba2bb[_0x416224(0x106)]]);_0x48b42f&&(testsErrorMessage[_0x1ba2bb[_0x416224(0x14a)](_0x1ba2bb[_0x416224(0x108)](_0x3ea002[_0x416224(0x102)][_0x416224(0xf5)][_0x416224(0x111)],_0x1ba2bb['eclpN']),_0x3ea002[_0x416224(0x14d)]['name'])]=_0x48b42f,console[_0x416224(0x11e)](_0x1ba2bb[_0x416224(0x145)](_0x48b42f,'\x0a')));}}}_0x4a196a&&(testSuitesFailed+=0x1),console['log']('\x0a');}}function a7_0xc50b(_0x2fd9f8,_0x136223){const _0x1d6768=a7_0x1d67();return a7_0xc50b=function(_0xc50bb5,_0x4b5715){_0xc50bb5=_0xc50bb5-0xf3;let _0x49228e=_0x1d6768[_0xc50bb5];return _0x49228e;},a7_0xc50b(_0x2fd9f8,_0x136223);}module[a7_0x188dde(0x139)]=BrowserstackFormatter;function a7_0x1d67(){const _0x1c10a5=['wAWlk','getTestCaseData','sourceLocation','oQGsd','stepResults','log','NXmfU','exception','toUpperCase','900632JNSEfb','length','IuUMJ','1356990CfAQHC','steps','cucumber-js/test_old.setup.js','qUoVl','\x20-\x20','PENDING','RbAWP','uSKui','includes','AMBIGUOUS','PLjpa','AvGIa','__platform','chjkj','CFvwA','test-case-started','UNKNOWN','eclpN','IuXpg','\x20\x20\x20\x20','exports','DDOcH','vXQYv','3227538lhQujw','stack','SKIPPED','GBxGl','1768345abbZyw','3342004JXrIsK','EGXSr','result','WCmeT','kkVxI','fAsXm','yWsVq','LPYEh','eventBroadcaster','GCJur','YpBfx','JjQeu','pickle','logTestCaseFinished','vayXz','text','feature','status','vBFRe','UNDEFINED','\x20\x20\x20\x20BEFORE\x20-\x20','uri','TgsKu','xUEtn','line','seetR','FAILED','CONFIG','eventDataCollector','gherkinDocument','PASSED','cucumber','oKifW','HlEUc','DSDLz','yhzbd','actionLocation','parse','env','test-run-finished','zbFJZ','6Zvvvno','getTestCaseAttempt','uIfmg','name','1385513RKDkOO','sSRLl','7478548wsTbfW','getStepLineToPickledStepMap','UhDlr','undefined','testCase'];a7_0x1d67=function(){return _0x1c10a5;};return a7_0x1d67();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a8_0x46f47c=a8_0x2a85;function a8_0x2a85(_0x4debf2,_0x730dae){const _0x91da14=a8_0x91da();return a8_0x2a85=function(_0x2a85c6,_0x2df91b){_0x2a85c6=_0x2a85c6-0x141;let _0x1d9a52=_0x91da14[_0x2a85c6];return _0x1d9a52;},a8_0x2a85(_0x4debf2,_0x730dae);}(function(_0x1af712,_0x559d40){const _0x246e5f=a8_0x2a85,_0x1777ec=_0x1af712();while(!![]){try{const _0x299cf2=parseInt(_0x246e5f(0x1ba))/0x1+parseInt(_0x246e5f(0x14d))/0x2+parseInt(_0x246e5f(0x156))/0x3*(-parseInt(_0x246e5f(0x160))/0x4)+parseInt(_0x246e5f(0x1c4))/0x5*(parseInt(_0x246e5f(0x1b3))/0x6)+-parseInt(_0x246e5f(0x17e))/0x7*(-parseInt(_0x246e5f(0x15f))/0x8)+-parseInt(_0x246e5f(0x15e))/0x9+-parseInt(_0x246e5f(0x18c))/0xa;if(_0x299cf2===_0x559d40)break;else _0x1777ec['push'](_0x1777ec['shift']());}catch(_0x184b4d){_0x1777ec['push'](_0x1777ec['shift']());}}}(a8_0x91da,0xd170c));const os=require('os'),path=require(a8_0x46f47c(0x15c)),fs=require('fs'),stripAnsi=require(a8_0x46f47c(0x1b8)),{v4:uuidv4}=require('uuid'),util=require('util'),hooksMap={},SessionHandler=require('../../helpers/test-observability/sessionHandler'),testhubUtils=require(a8_0x46f47c(0x1c2)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a8_0x46f47c(0x1a0)),logger=require(a8_0x46f47c(0x185))['winstonLogger'],{o11yClassErrorHandler}=require(a8_0x46f47c(0x19b)),{FRAMEWORKS}=require('../../helpers/test-observability/constants.js'),TestDetails=require('../playwright/reporter/test-details');this[a8_0x46f47c(0x194)]=![],this['_gitConfigPath']=null;function a8_0x91da(){const _0x589d4e=['map','CNghr','failed','hookId','ekOFa','GtqUW','OzNAy','sendHook','IWooz','774228WvvHyC','exports','pqkso','pending','hook_run','testSteps','UnhandledError','../../helpers/logger','gWDrJ','fQKze','test','SKIPPED','stepResults','flatMap','5439450juROUG','scenario','name','failure_type','testCase','join','apsLS','rule','_gitConfigured','length','appendTesthubParams','tagExpression','_gitConfigPath','HXQCP','debug','../../helpers/test-observability/error-handler','toString','cBaOx','status','testCaseFinished','../../helpers/helper','cells','children','QLOtu','aswwh','getHookResult','forEach','hoShj','lhzwz','Kqmqq','failure_reason','wykrH','mjTvP','Exception\x20in\x20sending\x20hook\x20events:\x20','testStepId','root','relative','toISOString','WmeDb','4463580VCVsSD','match','CUCUMBER','BaaxI','uuid','strip-ansi','uri','808158ghQDiv','failure_data','MTCPr','nanos','AloTi','pickleStepId','event_type','message','../../helpers/testhub/utils','every','10DBMFNZ','astNodeIds','getHookRunEventData','sendTestRunEventForCucumber','_gitMetadata','failureType','qalNf','cucumber','testCaseStartedId','pickle','ucJqp','HookRunStarted','result','435938NtsqOe','format','EGULU','getTestUUID','exception','includes','JKmsY','failure','failureData','3NpLUsY','timestamp','iaTYv','tableBody','configureGit','value','path','OqbQn','9497763SyccPI','64gUOVNx','3766796YNExZL','zhbLj','RGvjx','iLXQU','rIoMZ','test_run','passed','getCucumberHookType','javascript','fCCnd','duration_in_ms','filter','examples','split','getScenarioExamples','finished_at','AssertionError','backtrace','find','toLowerCase','LThEA'];a8_0x91da=function(){return _0x589d4e;};return a8_0x91da();}class TestObservabilityReporter{async[a8_0x46f47c(0x143)](_0x15d1fb,_0xdf570b,_0x5d94f6,_0x5c4f76,_0x45619b,_0x53aa03={}){const _0x43d682=a8_0x46f47c,_0x368426={'lhzwz':function(_0x14658d,_0x1fd95b){return _0x14658d===_0x1fd95b;},'wykrH':'FAILED','tDdAX':_0x43d682(0x177),'AloTi':_0x43d682(0x189),'zhbLj':'skipped','nvjvM':function(_0xaa450f,_0xd2da8b){return _0xaa450f||_0xd2da8b;},'QLOtu':function(_0x665a00,_0x3f926e){return _0x665a00+_0x3f926e;},'apsLS':function(_0x44ccb9,_0xb8b902){return _0x44ccb9+_0xb8b902;},'SbqMX':function(_0x74cbb8,_0x34445a){return _0x74cbb8+_0x34445a;},'WOaOk':_0x43d682(0x188),'fCCnd':_0x43d682(0x168),'BaaxI':'cucumber','TLpnH':_0x43d682(0x181),'fQKze':_0x43d682(0x166),'gWDrJ':function(_0x5ca10a,_0x2e123b){return _0x5ca10a/_0x2e123b;},'iLXQU':function(_0x1561e7,_0x4cc57a){return _0x1561e7===_0x4cc57a;},'qalNf':function(_0x17a19d,_0x15d9a0){return _0x17a19d(_0x15d9a0);},'IWooz':'unknown','MTCPr':function(_0x14ddf8,_0x38fe72){return _0x14ddf8(_0x38fe72);},'OqbQn':_0x43d682(0x170),'WozpO':_0x43d682(0x184)},{feature:_0x5e5867,scenario:_0x73b409,steps:_0x30aa0e,uuid:_0x242007,startedAt:_0x26db7,finishedAt:_0x32e248}=_0x368426['nvjvM'](_0x45619b,{}),_0x2f294d=this[_0x43d682(0x16e)](_0xdf570b,_0x5d94f6);await this['configureGit']();const _0x34ca82=_0x2f294d?_0x368426[_0x43d682(0x1a3)](_0x368426[_0x43d682(0x192)](_0x368426['SbqMX'](_0x5d94f6[_0x43d682(0x18e)],'\x20('),_0x2f294d[_0x43d682(0x191)](',\x20')),')'):_0x5d94f6[_0x43d682(0x18e)],_0x298306={'uuid':_0x242007,'started_at':_0x26db7,'finished_at':_0x32e248,'type':_0x368426['WOaOk'],'body':{'lang':_0x368426[_0x43d682(0x169)],'code':null},'name':_0x34ca82,'scopes':[_0x5e5867?.[_0x43d682(0x18e)]||''],'tags':_0x5d94f6['tags']?.[_0x43d682(0x175)](({name:_0x34b014})=>_0x34b014),'file_name':_0x5d94f6[_0x43d682(0x1b9)],'location':_0x5d94f6[_0x43d682(0x1b9)],'vc_filepath':this[_0x43d682(0x198)]&&_0x5d94f6[_0x43d682(0x1b9)]?path[_0x43d682(0x1b0)](this[_0x43d682(0x198)],_0x5d94f6['uri']):null,'framework':_0x368426[_0x43d682(0x1b6)],'result':_0x368426['TLpnH'],'meta':{'feature':_0x5e5867,'scenario':_0x73b409,'steps':_0x30aa0e,'examples':_0x2f294d},'customRerunParam':{'rerun_name':_0x34ca82}};if(_0x15d1fb[_0x43d682(0x19f)]&&_0x30aa0e){const _0x42d81f=_0x15d1fb[_0x43d682(0x19f)];let _0x3c8173=_0x368426[_0x43d682(0x187)];_0x30aa0e[_0x43d682(0x1c3)](_0xa46046=>{const _0x56e960=_0x43d682;if(_0x368426['lhzwz'](_0xa46046[_0x56e960(0x14c)],_0x368426[_0x56e960(0x1ab)]))return _0x3c8173=_0x368426['tDdAX'],_0x42d81f[_0x56e960(0x154)]=_0xa46046[_0x56e960(0x154)],_0x42d81f[_0x56e960(0x145)]=_0xa46046[_0x56e960(0x145)],![];else{if(_0x368426[_0x56e960(0x1a8)](_0xa46046[_0x56e960(0x14c)],_0x368426[_0x56e960(0x1be)]))return _0x3c8173=_0x368426[_0x56e960(0x161)],![];}return!![];}),_0x298306[_0x43d682(0x16f)]=new Date()[_0x43d682(0x1b1)](),_0x298306[_0x43d682(0x14c)]=_0x3c8173,_0x298306[_0x43d682(0x16a)]=_0x368426[_0x43d682(0x186)](_0x42d81f[_0x43d682(0x157)]?.[_0x43d682(0x1bd)],0xf4240),_0x368426[_0x43d682(0x163)](_0x3c8173,_0x368426['tDdAX'])&&(_0x298306[_0x43d682(0x154)]=[{'backtrace':[_0x42d81f?.[_0x43d682(0x154)]?_0x368426[_0x43d682(0x146)](stripAnsi,_0x42d81f?.[_0x43d682(0x154)]):_0x368426[_0x43d682(0x17d)]]}],_0x298306[_0x43d682(0x1aa)]=_0x42d81f?.[_0x43d682(0x154)]?_0x368426[_0x43d682(0x1bc)](stripAnsi,_0x42d81f?.[_0x43d682(0x154)]):_0x42d81f[_0x43d682(0x1c1)],_0x42d81f?.['failureType']&&(_0x298306[_0x43d682(0x18f)]=_0x42d81f['failureType'][_0x43d682(0x1b4)](/AssertError/)?_0x368426[_0x43d682(0x15d)]:_0x368426['WozpO']));}testhubUtils[_0x43d682(0x196)](_0x298306,_0x5c4f76,'',FRAMEWORKS[_0x43d682(0x1b5)]);const _0x3573c0={};_0x3573c0[_0x43d682(0x1c0)]=_0x5c4f76,_0x3573c0[_0x43d682(0x165)]=_0x298306;const _0x1e51ba=_0x3573c0;await SessionHandler['uploadEventData'](_0x1e51ba);}[a8_0x46f47c(0x142)](_0x2b7462,_0x5955ee,_0x8cfe76,_0x2aea31,_0x211c3b,_0x31726e){const _0x246fcc=a8_0x46f47c,_0x14ba7d={};_0x14ba7d[_0x246fcc(0x174)]=function(_0x5cfe1c,_0x3812b8){return _0x5cfe1c===_0x3812b8;},_0x14ba7d[_0x246fcc(0x162)]='HookRunFinished',_0x14ba7d['NnShL']=_0x246fcc(0x181),_0x14ba7d[_0x246fcc(0x164)]='hook',_0x14ba7d['OzNAy']=_0x246fcc(0x168),_0x14ba7d[_0x246fcc(0x14f)]=_0x246fcc(0x147);const _0x4ba610=_0x14ba7d;if(_0x4ba610[_0x246fcc(0x174)](_0x5955ee,_0x4ba610[_0x246fcc(0x162)])){const _0x43ca20=new Date()[_0x246fcc(0x1b1)](),_0x459e0f=_0x31726e[_0x246fcc(0x148)],_0x104abc=hooksMap[_0x459e0f];if(!_0x104abc)return;const _0x329513=_0x104abc['find'](_0x39c765=>_0x39c765[_0x246fcc(0x1b7)]===_0x8cfe76['id']);if(!_0x329513)return;const _0x33e32c=this['getHookResult'](_0x2b7462,_0x31726e);_0x329513[_0x246fcc(0x14c)]=_0x33e32c[_0x246fcc(0x19e)],_0x329513[_0x246fcc(0x16f)]=_0x43ca20,_0x329513[_0x246fcc(0x18f)]=_0x33e32c['failureType'];const _0x2bea78={};return _0x2bea78[_0x246fcc(0x171)]=_0x33e32c[_0x246fcc(0x155)],_0x329513[_0x246fcc(0x1bb)]=[_0x2bea78],_0x329513;}const _0x41ef91=TestDetails[_0x246fcc(0x150)](_0x31726e[_0x246fcc(0x148)]),_0x3e36d7=new Date()[_0x246fcc(0x1b1)](),_0x2c63a1=_0x4ba610['NnShL'],_0x5ef375=_0x8cfe76[_0x246fcc(0x197)]?_0x8cfe76['tagExpression'][_0x246fcc(0x16d)]('\x20')[_0x246fcc(0x16b)](_0x8972fb=>_0x8972fb[_0x246fcc(0x152)]('@')):null,_0x5540dc=_0x2b7462[_0x246fcc(0x149)][_0x246fcc(0x1b9)],_0x7857d={'uuid':_0x8cfe76['id'],'type':_0x4ba610[_0x246fcc(0x164)],'hook_type':_0x211c3b,'name':_0x8cfe76?.[_0x246fcc(0x18e)]||'','body':{'lang':_0x4ba610[_0x246fcc(0x17b)],'code':null},'tags':_0x5ef375,'test_run_id':_0x41ef91,'scopes':[_0x2aea31?.['feature']?.[_0x246fcc(0x18e)]||''],'file_name':_0x5540dc,'location':_0x5540dc,'vc_filepath':this[_0x246fcc(0x144)]&&this[_0x246fcc(0x144)][_0x246fcc(0x1af)]?path[_0x246fcc(0x1b0)](this['_gitMetadata'][_0x246fcc(0x1af)],_0x2b7462):null,'result':_0x2c63a1[_0x246fcc(0x19e)],'started_at':_0x3e36d7,'framework':_0x4ba610[_0x246fcc(0x14f)]};return _0x7857d;}async['sendHook'](_0x2cbc34,_0x55ed5d,_0x18b85d,_0x6a171){const _0x37a962=a8_0x46f47c,_0x2ad18c={};_0x2ad18c['ucJqp']=function(_0x21d893,_0x5c552f){return _0x21d893===_0x5c552f;},_0x2ad18c[_0x37a962(0x1ac)]=_0x37a962(0x14b);const _0xc5f7c4=_0x2ad18c;try{const _0x5263d0=_0x2cbc34[_0x37a962(0x190)][_0x37a962(0x183)],_0x343c44=_0x5263d0['find'](_0x4b526d=>_0x4b526d['id']===_0x6a171['testStepId']);if(!_0x343c44[_0x37a962(0x178)])return;const _0x3fad0d=_0x6a171[_0x37a962(0x148)],_0x1d85dd=this['getCucumberHookType'](_0x5263d0,_0x343c44),_0x4e5e1c=this['getHookRunEventData'](_0x2cbc34,_0x55ed5d,_0x343c44,_0x18b85d,_0x1d85dd,_0x6a171);if(!_0x4e5e1c)return;_0xc5f7c4[_0x37a962(0x14a)](_0x55ed5d,_0xc5f7c4[_0x37a962(0x1ac)])&&(hooksMap[_0x3fad0d]?hooksMap[_0x3fad0d]['push'](_0x4e5e1c):hooksMap[_0x3fad0d]=[_0x4e5e1c]);const _0x2ac07f={};_0x2ac07f[_0x37a962(0x1c0)]=_0x55ed5d,_0x2ac07f[_0x37a962(0x182)]=_0x4e5e1c;const _0x14f4d4=_0x2ac07f;await SessionHandler['uploadEventData'](_0x14f4d4);}catch(_0x86da8b){logger[_0x37a962(0x19a)](_0x37a962(0x1ad)+util[_0x37a962(0x14e)](_0x86da8b));}}[a8_0x46f47c(0x1a5)](_0x24afae,_0x1d725d){const _0x3ef765=a8_0x46f47c,_0xded17={};_0xded17[_0x3ef765(0x179)]=function(_0x46cb35,_0x310790){return _0x46cb35===_0x310790;},_0xded17[_0x3ef765(0x1a4)]=_0x3ef765(0x177),_0xded17[_0x3ef765(0x199)]=function(_0x9e8aa5,_0x5723e4){return _0x9e8aa5===_0x5723e4;},_0xded17[_0x3ef765(0x17a)]=function(_0x51c3b9,_0x3baaf9){return _0x51c3b9===_0x3baaf9;},_0xded17[_0x3ef765(0x176)]=_0x3ef765(0x184),_0xded17['OGlok']=_0x3ef765(0x170),_0xded17[_0x3ef765(0x1a9)]=function(_0x5d305e,_0x4642ec){return _0x5d305e||_0x4642ec;};const _0xfd511c=_0xded17,_0x1cc163=_0x24afae[_0x3ef765(0x18a)][_0x1d725d[_0x3ef765(0x1ae)]];let _0x2449cc,_0x1a69ef;return _0xfd511c[_0x3ef765(0x179)](_0x1cc163?.[_0x3ef765(0x19e)][_0x3ef765(0x19c)]()['toLowerCase'](),_0xfd511c[_0x3ef765(0x1a4)])&&(_0x2449cc=_0xfd511c[_0x3ef765(0x199)](_0x1cc163?.[_0x3ef765(0x151)],undefined)?_0x1cc163?.[_0x3ef765(0x1c1)]:_0x1cc163?.[_0x3ef765(0x151)]?.[_0x3ef765(0x1c1)],_0x1a69ef=_0xfd511c[_0x3ef765(0x17a)](_0x1cc163?.[_0x3ef765(0x151)],undefined)?_0xfd511c[_0x3ef765(0x176)]:_0x1cc163?.['message'][_0x3ef765(0x1b4)](/Assert/)?_0xfd511c['OGlok']:_0xfd511c[_0x3ef765(0x176)]),{'status':_0x1cc163[_0x3ef765(0x19e)][_0x3ef765(0x173)](),'failureType':_0xfd511c['Kqmqq'](_0x1a69ef,null),'failureData':!_0x2449cc?null:[_0x2449cc]};}[a8_0x46f47c(0x167)](_0x3ef8af,_0x4c735e){const _0x2712bc=a8_0x46f47c,_0xf6a784={};_0xf6a784[_0x2712bc(0x158)]=function(_0x37c424,_0x1c8219){return _0x37c424===_0x1c8219;},_0xf6a784[_0x2712bc(0x19d)]='AFTER_EACH',_0xf6a784[_0x2712bc(0x180)]='BEFORE_EACH';const _0x4b363f=_0xf6a784;let _0x2cb1a7=![];for(const _0x6885cb of _0x3ef8af){_0x6885cb[_0x2712bc(0x1bf)]&&(_0x2cb1a7=!![]);if(_0x4b363f[_0x2712bc(0x158)](_0x4c735e['id'],_0x6885cb['id']))return _0x2cb1a7?_0x4b363f[_0x2712bc(0x19d)]:_0x4b363f[_0x2712bc(0x180)];}}[a8_0x46f47c(0x16e)]=(_0x2c013b,_0x2fb5c3)=>{const _0x32dd6b=a8_0x46f47c,_0x7a0a7d={};_0x7a0a7d[_0x32dd6b(0x1a7)]=function(_0x105750,_0x21ba60){return _0x105750===_0x21ba60;},_0x7a0a7d[_0x32dd6b(0x153)]=function(_0x19c3e4,_0x331a72){return _0x19c3e4>_0x331a72;};const _0x30aa3d=_0x7a0a7d;if(!_0x30aa3d['JKmsY'](_0x2fb5c3[_0x32dd6b(0x141)]?.[_0x32dd6b(0x195)],0x1))return;const _0x29d62f=_0x2fb5c3[_0x32dd6b(0x141)][0x0],_0x502194=_0x2fb5c3[_0x32dd6b(0x141)][0x1],_0x4aa37e=_0x2c013b['feature']?.[_0x32dd6b(0x1a2)];let _0x1a2785=[];_0x4aa37e?.['forEach'](_0x4a525c=>{const _0x5e3c8d=_0x32dd6b;if(_0x4a525c[_0x5e3c8d(0x193)])_0x4a525c[_0x5e3c8d(0x193)][_0x5e3c8d(0x1a2)][_0x5e3c8d(0x1a6)](_0xdbca1e=>{const _0x3f90c8=_0x5e3c8d;if(_0xdbca1e[_0x3f90c8(0x18d)]&&_0x30aa3d[_0x3f90c8(0x1a7)](_0xdbca1e['scenario']['id'],_0x29d62f)&&_0xdbca1e[_0x3f90c8(0x18d)][_0x3f90c8(0x16c)]){const _0x5dc1b2=_0xdbca1e[_0x3f90c8(0x18d)][_0x3f90c8(0x16c)][_0x3f90c8(0x18b)](_0x51509e=>_0x51509e[_0x3f90c8(0x159)])['find'](_0x1270a2=>_0x1270a2['id']===_0x502194)?.[_0x3f90c8(0x1a1)][_0x3f90c8(0x175)](_0x24bef1=>_0x24bef1[_0x3f90c8(0x15b)]);_0x5dc1b2&&(_0x1a2785=_0x5dc1b2);}});else{if(_0x4a525c[_0x5e3c8d(0x18d)]&&_0x30aa3d[_0x5e3c8d(0x1a7)](_0x4a525c[_0x5e3c8d(0x18d)]['id'],_0x29d62f)&&_0x4a525c['scenario'][_0x5e3c8d(0x16c)]){const _0x329301=_0x4a525c[_0x5e3c8d(0x18d)][_0x5e3c8d(0x16c)][_0x5e3c8d(0x18b)](_0x269217=>_0x269217[_0x5e3c8d(0x159)])[_0x5e3c8d(0x172)](_0x2874f9=>_0x2874f9['id']===_0x502194)?.[_0x5e3c8d(0x1a1)]['map'](_0xc87c10=>_0xc87c10[_0x5e3c8d(0x15b)]);_0x329301&&(_0x1a2785=_0x329301);}}});if(_0x1a2785[_0x32dd6b(0x195)])return _0x1a2785;return;};async[a8_0x46f47c(0x15a)](){const _0x3a2cab=a8_0x46f47c,_0x3d515a={'WmeDb':function(_0x2c6cbf){return _0x2c6cbf();}};if(this[_0x3a2cab(0x194)])return this[_0x3a2cab(0x198)];const _0x9dca58=await _0x3d515a[_0x3a2cab(0x1b2)](getGitMetaData);_0x9dca58&&(this[_0x3a2cab(0x198)]=_0x9dca58['root']),this[_0x3a2cab(0x194)]=!![];}}module[a8_0x46f47c(0x17f)]=o11yClassErrorHandler(TestObservabilityReporter,[a8_0x46f47c(0x15a),a8_0x46f47c(0x16e),'getCucumberHookType',a8_0x46f47c(0x1a5),a8_0x46f47c(0x17c),a8_0x46f47c(0x142),'sendTestRunEventForCucumber']);
|
|
1
|
+
const a8_0x37e491=a8_0x56d9;function a8_0x56d9(_0x2debb9,_0x11fd4b){const _0x4462a0=a8_0x4462();return a8_0x56d9=function(_0x56d91c,_0x4d36de){_0x56d91c=_0x56d91c-0x132;let _0x351d51=_0x4462a0[_0x56d91c];return _0x351d51;},a8_0x56d9(_0x2debb9,_0x11fd4b);}(function(_0x3fd5a4,_0x4f876e){const _0x179fec=a8_0x56d9,_0x41054e=_0x3fd5a4();while(!![]){try{const _0x170bf8=-parseInt(_0x179fec(0x1b1))/0x1+-parseInt(_0x179fec(0x147))/0x2+parseInt(_0x179fec(0x192))/0x3+-parseInt(_0x179fec(0x199))/0x4*(-parseInt(_0x179fec(0x191))/0x5)+parseInt(_0x179fec(0x17a))/0x6+parseInt(_0x179fec(0x1a6))/0x7+parseInt(_0x179fec(0x1bd))/0x8*(-parseInt(_0x179fec(0x16e))/0x9);if(_0x170bf8===_0x4f876e)break;else _0x41054e['push'](_0x41054e['shift']());}catch(_0x4edf8f){_0x41054e['push'](_0x41054e['shift']());}}}(a8_0x4462,0x99f86));const os=require('os'),path=require(a8_0x37e491(0x179)),fs=require('fs'),stripAnsi=require(a8_0x37e491(0x1b8)),{v4:uuidv4}=require(a8_0x37e491(0x198)),util=require(a8_0x37e491(0x1b3)),hooksMap={},SessionHandler=require(a8_0x37e491(0x1a7)),testhubUtils=require(a8_0x37e491(0x14b)),{getGitMetaData,isUndefined,nestedKeyValue}=require('../../helpers/helper'),logger=require(a8_0x37e491(0x160))[a8_0x37e491(0x180)],{o11yClassErrorHandler}=require(a8_0x37e491(0x1b4)),{FRAMEWORKS}=require(a8_0x37e491(0x14a)),TestDetails=require(a8_0x37e491(0x15c));this['_gitConfigured']=![],this[a8_0x37e491(0x1a2)]=null;class TestObservabilityReporter{async[a8_0x37e491(0x1b2)](_0x1df579,_0x439b01,_0x1d2f55,_0x417bcc,_0x1c4022,_0x1751d1={}){const _0x43bbfd=a8_0x37e491,_0x2f1c81={'xBjCV':function(_0x344b2f,_0x13ba54){return _0x344b2f===_0x13ba54;},'BvsWE':_0x43bbfd(0x18b),'BrkPz':_0x43bbfd(0x164),'FOCJc':_0x43bbfd(0x186),'NWHYM':'skipped','Mseqy':function(_0x52908f,_0x133c6b){return _0x52908f||_0x133c6b;},'cPUZR':function(_0x41cd94,_0xc246f6){return _0x41cd94+_0xc246f6;},'AGEUj':function(_0x3d8c8d,_0x49051a){return _0x3d8c8d+_0x49051a;},'AhAVV':_0x43bbfd(0x18a),'WsUFH':_0x43bbfd(0x163),'Rbemj':_0x43bbfd(0x181),'laWem':_0x43bbfd(0x1a3),'ulHmK':'passed','DYSoD':function(_0x4f3f79,_0x41bfca){return _0x4f3f79/_0x41bfca;},'tePMf':function(_0x894e80,_0x40db4e){return _0x894e80(_0x40db4e);},'cwLRC':_0x43bbfd(0x175),'NRmbV':_0x43bbfd(0x1bc),'xXTht':_0x43bbfd(0x176)},{feature:_0x4b2fac,scenario:_0x1811ac,steps:_0x6341ee,uuid:_0x349610,startedAt:_0x3c4068,finishedAt:_0x17a7ce}=_0x2f1c81[_0x43bbfd(0x1b5)](_0x1c4022,{}),_0x562543=this['getScenarioExamples'](_0x439b01,_0x1d2f55);await this[_0x43bbfd(0x185)]();const _0x21ab1e=_0x562543?_0x2f1c81['cPUZR'](_0x2f1c81[_0x43bbfd(0x14c)](_0x2f1c81[_0x43bbfd(0x149)](_0x1d2f55[_0x43bbfd(0x168)],'\x20('),_0x562543[_0x43bbfd(0x190)](',\x20')),')'):_0x1d2f55[_0x43bbfd(0x168)],_0x5eae9d={'uuid':_0x349610,'started_at':_0x3c4068,'finished_at':_0x17a7ce,'type':_0x2f1c81[_0x43bbfd(0x13e)],'body':{'lang':_0x2f1c81[_0x43bbfd(0x15a)],'code':null},'name':_0x21ab1e,'scopes':[_0x4b2fac?.['name']||''],'tags':_0x1d2f55[_0x43bbfd(0x1a5)]?.[_0x43bbfd(0x150)](({name:_0x1df49d})=>_0x1df49d),'file_name':_0x1d2f55[_0x43bbfd(0x173)],'location':_0x1d2f55['uri'],'vc_filepath':this[_0x43bbfd(0x1a2)]&&_0x1d2f55['uri']?path[_0x43bbfd(0x157)](this[_0x43bbfd(0x1a2)],_0x1d2f55[_0x43bbfd(0x173)]):null,'framework':_0x2f1c81['Rbemj'],'result':_0x2f1c81[_0x43bbfd(0x143)],'meta':{'feature':_0x4b2fac,'scenario':_0x1811ac,'steps':_0x6341ee,'examples':_0x562543},'customRerunParam':{'rerun_name':_0x21ab1e}};if(_0x1df579[_0x43bbfd(0x15d)]&&_0x6341ee){const _0x597182=_0x1df579[_0x43bbfd(0x15d)];let _0x37e037=_0x2f1c81[_0x43bbfd(0x1ab)];_0x6341ee['every'](_0x5dea7d=>{const _0x36f0b2=_0x43bbfd;if(_0x2f1c81[_0x36f0b2(0x13c)](_0x5dea7d[_0x36f0b2(0x16b)],_0x2f1c81[_0x36f0b2(0x153)]))return _0x37e037=_0x2f1c81['BrkPz'],_0x597182[_0x36f0b2(0x1b0)]=_0x5dea7d['failure'],_0x597182[_0x36f0b2(0x1af)]=_0x5dea7d[_0x36f0b2(0x1af)],![];else{if(_0x2f1c81[_0x36f0b2(0x13c)](_0x5dea7d[_0x36f0b2(0x16b)],_0x2f1c81[_0x36f0b2(0x17b)]))return _0x37e037=_0x2f1c81[_0x36f0b2(0x16d)],![];}return!![];}),_0x5eae9d[_0x43bbfd(0x1ae)]=new Date()[_0x43bbfd(0x144)](),_0x5eae9d['result']=_0x37e037,_0x5eae9d['duration_in_ms']=_0x2f1c81[_0x43bbfd(0x159)](_0x597182[_0x43bbfd(0x170)]?.[_0x43bbfd(0x134)],0xf4240),_0x2f1c81['xBjCV'](_0x37e037,_0x2f1c81['BrkPz'])&&(_0x5eae9d[_0x43bbfd(0x1b0)]=[{'backtrace':[_0x597182?.['failure']?_0x2f1c81[_0x43bbfd(0x1a1)](stripAnsi,_0x597182?.[_0x43bbfd(0x1b0)]):_0x2f1c81[_0x43bbfd(0x13f)]]}],_0x5eae9d[_0x43bbfd(0x152)]=_0x597182?.[_0x43bbfd(0x1b0)]?_0x2f1c81['tePMf'](stripAnsi,_0x597182?.[_0x43bbfd(0x1b0)]):_0x597182[_0x43bbfd(0x141)],_0x597182?.['failureType']&&(_0x5eae9d[_0x43bbfd(0x183)]=_0x597182[_0x43bbfd(0x1af)][_0x43bbfd(0x197)](/AssertError/)?_0x2f1c81[_0x43bbfd(0x135)]:_0x2f1c81[_0x43bbfd(0x195)]));}testhubUtils[_0x43bbfd(0x1ba)](_0x5eae9d,_0x417bcc,'',FRAMEWORKS[_0x43bbfd(0x196)]);const _0x86ace={};_0x86ace[_0x43bbfd(0x187)]=_0x417bcc,_0x86ace['test_run']=_0x5eae9d;const _0x49c8f4=_0x86ace;await SessionHandler[_0x43bbfd(0x148)](_0x49c8f4);}[a8_0x37e491(0x17d)](_0x1ebd29,_0xf3322,_0x377d4e,_0x449baf,_0x27a18b,_0x29f169){const _0x3ea3c4=a8_0x37e491,_0x21fcac={};_0x21fcac[_0x3ea3c4(0x142)]=function(_0x35d58a,_0x13bbfd){return _0x35d58a===_0x13bbfd;},_0x21fcac[_0x3ea3c4(0x182)]=_0x3ea3c4(0x1a0),_0x21fcac[_0x3ea3c4(0x19c)]=_0x3ea3c4(0x1a3),_0x21fcac[_0x3ea3c4(0x15b)]=_0x3ea3c4(0x1aa),_0x21fcac['gUCDN']='javascript',_0x21fcac[_0x3ea3c4(0x194)]=_0x3ea3c4(0x181);const _0x3ff4f3=_0x21fcac;if(_0x3ff4f3[_0x3ea3c4(0x142)](_0xf3322,_0x3ff4f3[_0x3ea3c4(0x182)])){const _0x189568=new Date()[_0x3ea3c4(0x144)](),_0x3b48d8=_0x29f169[_0x3ea3c4(0x1b9)],_0xefd564=hooksMap[_0x3b48d8];if(!_0xefd564)return;const _0x42ff82=_0xefd564['find'](_0x42b1c8=>_0x42b1c8[_0x3ea3c4(0x198)]===_0x377d4e['id']);if(!_0x42ff82)return;const _0x3515b3=this[_0x3ea3c4(0x167)](_0x1ebd29,_0x29f169);_0x42ff82[_0x3ea3c4(0x16b)]=_0x3515b3[_0x3ea3c4(0x1a4)],_0x42ff82['finished_at']=_0x189568,_0x42ff82[_0x3ea3c4(0x183)]=_0x3515b3[_0x3ea3c4(0x1af)];const _0x4b0350={};return _0x4b0350['backtrace']=_0x3515b3[_0x3ea3c4(0x166)],_0x42ff82[_0x3ea3c4(0x137)]=[_0x4b0350],_0x42ff82;}const _0x3726ee=TestDetails['getTestUUID'](_0x29f169[_0x3ea3c4(0x1b9)]),_0x4ee9c7=new Date()['toISOString'](),_0x1b6266=_0x3ff4f3[_0x3ea3c4(0x19c)],_0x12ccd3=_0x377d4e[_0x3ea3c4(0x17f)]?_0x377d4e[_0x3ea3c4(0x17f)][_0x3ea3c4(0x171)]('\x20')[_0x3ea3c4(0x17e)](_0x6ffcf5=>_0x6ffcf5[_0x3ea3c4(0x16c)]('@')):null,_0x24f5f1=_0x1ebd29[_0x3ea3c4(0x18c)][_0x3ea3c4(0x173)],_0x4e0678={'uuid':_0x377d4e['id'],'type':_0x3ff4f3['hiFIN'],'hook_type':_0x27a18b,'name':_0x377d4e?.[_0x3ea3c4(0x168)]||'','body':{'lang':_0x3ff4f3[_0x3ea3c4(0x1ac)],'code':null},'tags':_0x12ccd3,'test_run_id':_0x3726ee,'scopes':[_0x449baf?.[_0x3ea3c4(0x18f)]?.['name']||''],'file_name':_0x24f5f1,'location':_0x24f5f1,'vc_filepath':this['_gitMetadata']&&this[_0x3ea3c4(0x16a)]['root']?path[_0x3ea3c4(0x157)](this[_0x3ea3c4(0x16a)][_0x3ea3c4(0x132)],_0x1ebd29):null,'result':_0x1b6266[_0x3ea3c4(0x1a4)],'started_at':_0x4ee9c7,'framework':_0x3ff4f3[_0x3ea3c4(0x194)]};return _0x4e0678;}async[a8_0x37e491(0x178)](_0x431d6c,_0x112bcf,_0x24384e,_0x1304a4){const _0x4ca8a9=a8_0x37e491,_0x26f63e={};_0x26f63e[_0x4ca8a9(0x140)]=function(_0x292d54,_0x49982e){return _0x292d54===_0x49982e;},_0x26f63e[_0x4ca8a9(0x156)]=_0x4ca8a9(0x188);const _0x29cb0c=_0x26f63e;try{const _0x59e44c=_0x431d6c[_0x4ca8a9(0x139)][_0x4ca8a9(0x146)],_0x26f4c9=_0x59e44c[_0x4ca8a9(0x1b6)](_0x43c37a=>_0x43c37a['id']===_0x1304a4[_0x4ca8a9(0x19d)]);if(!_0x26f4c9[_0x4ca8a9(0x16f)])return;const _0x5f3aeb=_0x1304a4[_0x4ca8a9(0x1b9)],_0x1e1dbb=this[_0x4ca8a9(0x1a8)](_0x59e44c,_0x26f4c9),_0x102c0a=this['getHookRunEventData'](_0x431d6c,_0x112bcf,_0x26f4c9,_0x24384e,_0x1e1dbb,_0x1304a4);if(!_0x102c0a)return;_0x29cb0c[_0x4ca8a9(0x140)](_0x112bcf,_0x29cb0c['MbDOD'])&&(hooksMap[_0x5f3aeb]?hooksMap[_0x5f3aeb][_0x4ca8a9(0x151)](_0x102c0a):hooksMap[_0x5f3aeb]=[_0x102c0a]);const _0x5376c2={};_0x5376c2['event_type']=_0x112bcf,_0x5376c2[_0x4ca8a9(0x14e)]=_0x102c0a;const _0x169fa8=_0x5376c2;await SessionHandler[_0x4ca8a9(0x148)](_0x169fa8);}catch(_0x2ae4a2){logger[_0x4ca8a9(0x189)](_0x4ca8a9(0x13b)+util[_0x4ca8a9(0x19b)](_0x2ae4a2));}}[a8_0x37e491(0x167)](_0x4cea47,_0x339e51){const _0x59061f=a8_0x37e491,_0x2f04d0={};_0x2f04d0[_0x59061f(0x15e)]=function(_0x51aab8,_0x592ce2){return _0x51aab8===_0x592ce2;},_0x2f04d0[_0x59061f(0x155)]=_0x59061f(0x164),_0x2f04d0[_0x59061f(0x19f)]=function(_0x47231c,_0x5170f1){return _0x47231c===_0x5170f1;},_0x2f04d0[_0x59061f(0x1ad)]=_0x59061f(0x176),_0x2f04d0['PRdxW']='AssertionError',_0x2f04d0[_0x59061f(0x1bb)]=function(_0x1adc4a,_0x24fb1b){return _0x1adc4a||_0x24fb1b;};const _0x4f9dca=_0x2f04d0,_0x5076ac=_0x4cea47[_0x59061f(0x165)][_0x339e51[_0x59061f(0x19d)]];let _0x5c997f,_0x58929f;return _0x4f9dca[_0x59061f(0x15e)](_0x5076ac?.['status'][_0x59061f(0x145)]()['toLowerCase'](),_0x4f9dca['jYsjF'])&&(_0x5c997f=_0x4f9dca[_0x59061f(0x19f)](_0x5076ac?.['exception'],undefined)?_0x5076ac?.[_0x59061f(0x141)]:_0x5076ac?.[_0x59061f(0x14d)]?.['message'],_0x58929f=_0x4f9dca[_0x59061f(0x19f)](_0x5076ac?.[_0x59061f(0x14d)],undefined)?_0x4f9dca['cnrWY']:_0x5076ac?.[_0x59061f(0x141)][_0x59061f(0x197)](/Assert/)?_0x4f9dca['PRdxW']:_0x4f9dca['cnrWY']),{'status':_0x5076ac[_0x59061f(0x1a4)][_0x59061f(0x18e)](),'failureType':_0x4f9dca[_0x59061f(0x1bb)](_0x58929f,null),'failureData':!_0x5c997f?null:[_0x5c997f]};}['getCucumberHookType'](_0x2108e5,_0x7b23f1){const _0x2ffe87=a8_0x37e491,_0x58a6be={};_0x58a6be['yKZac']=function(_0x4be10d,_0x15f0c2){return _0x4be10d===_0x15f0c2;},_0x58a6be[_0x2ffe87(0x177)]=_0x2ffe87(0x13a),_0x58a6be[_0x2ffe87(0x184)]=_0x2ffe87(0x169);const _0x42f6e9=_0x58a6be;let _0x572f7a=![];for(const _0x2bcfa3 of _0x2108e5){_0x2bcfa3[_0x2ffe87(0x133)]&&(_0x572f7a=!![]);if(_0x42f6e9[_0x2ffe87(0x162)](_0x7b23f1['id'],_0x2bcfa3['id']))return _0x572f7a?_0x42f6e9[_0x2ffe87(0x177)]:_0x42f6e9[_0x2ffe87(0x184)];}}[a8_0x37e491(0x136)]=(_0x539f35,_0x5a4098)=>{const _0x1bb847=a8_0x37e491,_0x49dc6c={};_0x49dc6c[_0x1bb847(0x138)]=function(_0x150077,_0x1abdda){return _0x150077===_0x1abdda;},_0x49dc6c[_0x1bb847(0x1a9)]=function(_0x2c94e3,_0x182259){return _0x2c94e3>_0x182259;};const _0x38d713=_0x49dc6c;if(!_0x38d713[_0x1bb847(0x1a9)](_0x5a4098[_0x1bb847(0x161)]?.['length'],0x1))return;const _0x30e90c=_0x5a4098['astNodeIds'][0x0],_0x405efa=_0x5a4098[_0x1bb847(0x161)][0x1],_0x4ef769=_0x539f35[_0x1bb847(0x18f)]?.[_0x1bb847(0x193)];let _0x4551cb=[];_0x4ef769?.[_0x1bb847(0x18d)](_0x59d968=>{const _0x6e24d4=_0x1bb847,_0xf219b={'tLbhe':function(_0xaa99ae,_0x52bb88){const _0x3e73c2=a8_0x56d9;return _0x38d713[_0x3e73c2(0x138)](_0xaa99ae,_0x52bb88);}};if(_0x59d968[_0x6e24d4(0x17c)])_0x59d968[_0x6e24d4(0x17c)][_0x6e24d4(0x193)][_0x6e24d4(0x18d)](_0x4188f3=>{const _0x3a5d8d=_0x6e24d4;if(_0x4188f3[_0x3a5d8d(0x1b7)]&&_0xf219b['tLbhe'](_0x4188f3['scenario']['id'],_0x30e90c)&&_0x4188f3[_0x3a5d8d(0x1b7)][_0x3a5d8d(0x19a)]){const _0x433560=_0x4188f3[_0x3a5d8d(0x1b7)][_0x3a5d8d(0x19a)][_0x3a5d8d(0x14f)](_0x376dde=>_0x376dde[_0x3a5d8d(0x15f)])[_0x3a5d8d(0x1b6)](_0x6f29b0=>_0x6f29b0['id']===_0x405efa)?.['cells'][_0x3a5d8d(0x150)](_0x206070=>_0x206070[_0x3a5d8d(0x158)]);_0x433560&&(_0x4551cb=_0x433560);}});else{if(_0x59d968[_0x6e24d4(0x1b7)]&&_0x38d713['ZmUjA'](_0x59d968[_0x6e24d4(0x1b7)]['id'],_0x30e90c)&&_0x59d968[_0x6e24d4(0x1b7)][_0x6e24d4(0x19a)]){const _0x3e087e=_0x59d968['scenario'][_0x6e24d4(0x19a)][_0x6e24d4(0x14f)](_0x34aaf0=>_0x34aaf0[_0x6e24d4(0x15f)])[_0x6e24d4(0x1b6)](_0x2ad200=>_0x2ad200['id']===_0x405efa)?.[_0x6e24d4(0x13d)][_0x6e24d4(0x150)](_0x1fa232=>_0x1fa232[_0x6e24d4(0x158)]);_0x3e087e&&(_0x4551cb=_0x3e087e);}}});if(_0x4551cb[_0x1bb847(0x154)])return _0x4551cb;return;};async[a8_0x37e491(0x185)](){const _0x25593f=a8_0x37e491,_0x3f6cf5={'TiNzQ':function(_0x23b4f8){return _0x23b4f8();}};if(this[_0x25593f(0x174)])return this['_gitConfigPath'];const _0x4f5298=await _0x3f6cf5[_0x25593f(0x19e)](getGitMetaData);_0x4f5298&&(this[_0x25593f(0x1a2)]=_0x4f5298[_0x25593f(0x132)]),this[_0x25593f(0x174)]=!![];}}module[a8_0x37e491(0x172)]=o11yClassErrorHandler(TestObservabilityReporter,[a8_0x37e491(0x185),a8_0x37e491(0x136),a8_0x37e491(0x1a8),a8_0x37e491(0x167),a8_0x37e491(0x178),'getHookRunEventData',a8_0x37e491(0x1b2)]);function a8_0x4462(){const _0x565d45=['value','DYSoD','WsUFH','hiFIN','../playwright/reporter/test-details','testCaseFinished','ztLdA','tableBody','../../helpers/logger','astNodeIds','yKZac','javascript','failed','stepResults','failureData','getHookResult','name','BEFORE_EACH','_gitMetadata','result','includes','NWHYM','5774202RvdMOd','hookId','timestamp','split','exports','uri','_gitConfigured','unknown','UnhandledError','hgMDm','sendHook','path','6207048AekHlF','FOCJc','rule','getHookRunEventData','filter','tagExpression','winstonLogger','cucumber','Kggsq','failure_type','KASSq','configureGit','SKIPPED','event_type','HookRunStarted','debug','test','FAILED','pickle','forEach','toLowerCase','feature','join','160DQXVvb','839781ehHnyC','children','OzpGZ','xXTht','CUCUMBER','match','uuid','89828EdULGX','examples','format','YyrGf','testStepId','TiNzQ','wZtPH','HookRunFinished','tePMf','_gitConfigPath','pending','status','tags','6666912jwsrWn','../../helpers/test-observability/sessionHandler','getCucumberHookType','FoKgP','hook','ulHmK','gUCDN','cnrWY','finished_at','failureType','failure','536242DsurAY','sendTestRunEventForCucumber','util','../../helpers/test-observability/error-handler','Mseqy','find','scenario','strip-ansi','testCaseStartedId','appendTesthubParams','JMYlL','AssertionError','16AjydWr','root','pickleStepId','nanos','NRmbV','getScenarioExamples','failure_data','ZmUjA','testCase','AFTER_EACH','Exception\x20in\x20sending\x20hook\x20events:\x20','xBjCV','cells','AhAVV','cwLRC','SiEHI','message','lbYIt','laWem','toISOString','toString','testSteps','1070830rScSTj','uploadEventData','AGEUj','../../helpers/test-observability/constants.js','../../helpers/testhub/utils','cPUZR','exception','hook_run','flatMap','map','push','failure_reason','BvsWE','length','jYsjF','MbDOD','relative'];a8_0x4462=function(){return _0x565d45;};return a8_0x4462();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a9_0x3abeb1=a9_0x1736;(function(_0x7d8eba,_0x4f22f3){const _0x2af0ca=a9_0x1736,_0x2aca66=_0x7d8eba();while(!![]){try{const _0x71ca3a=-parseInt(_0x2af0ca(0xc8))/0x1*(parseInt(_0x2af0ca(0x100))/0x2)+-parseInt(_0x2af0ca(0x73))/0x3+-parseInt(_0x2af0ca(0x108))/0x4*(-parseInt(_0x2af0ca(0xd2))/0x5)+-parseInt(_0x2af0ca(0x90))/0x6+parseInt(_0x2af0ca(0xe7))/0x7+-parseInt(_0x2af0ca(0xce))/0x8+-parseInt(_0x2af0ca(0xa3))/0x9*(-parseInt(_0x2af0ca(0x114))/0xa);if(_0x71ca3a===_0x4f22f3)break;else _0x2aca66['push'](_0x2aca66['shift']());}catch(_0x5737a5){_0x2aca66['push'](_0x2aca66['shift']());}}}(a9_0x3a72,0xd6d01));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra}=require('../../helpers/helper'),setKeepAlive=require(a9_0x3abeb1(0xdd)),util=require(a9_0x3abeb1(0xef)),PerformanceTester=require(a9_0x3abeb1(0xfa)),{commandRepository}=require(a9_0x3abeb1(0xaf)),cucumberModule=requireModule(a9_0x3abeb1(0x101)),logger=require(a9_0x3abeb1(0x6f))[a9_0x3abeb1(0x10e)],{shouldProcessEventForTesthub}=require(a9_0x3abeb1(0x86)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a9_0x3abeb1(0x10a)),TestDetails=require(a9_0x3abeb1(0x7a)),RequestQueueHandler=require(a9_0x3abeb1(0x107)),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),MyReporter=require('../playwright/reporter/reporter.js'),SessionHandler=require(a9_0x3abeb1(0xf2)),scripts=require(a9_0x3abeb1(0x109)),globals=require(a9_0x3abeb1(0xf4)),testHubConstants=require('../../helpers/testhub/constants.js'),{shouldScanTestForAccessibility}=require(a9_0x3abeb1(0xc9)),{isUndefined}=require(a9_0x3abeb1(0xba)),a9_0x17659f={};a9_0x17659f['workerInfo']=undefined,a9_0x17659f[a9_0x3abeb1(0xa9)]={},a9_0x17659f[a9_0x3abeb1(0xd0)]=![],a9_0x17659f[a9_0x3abeb1(0xa9)]['id']=undefined,a9_0x17659f[a9_0x3abeb1(0xa9)][a9_0x3abeb1(0xfd)]=undefined;const workerDetails=a9_0x17659f;shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x1f76a6){const _0x51bd5c=a9_0x3abeb1,_0x47e9bb=workerDetails['currentTest'][_0x51bd5c(0xfd)];if(!_0x47e9bb)return;await MyReporter[_0x51bd5c(0xe6)](_0x47e9bb,_0x1f76a6);}),registerListeners=()=>{const _0x5cfaeb=a9_0x3abeb1,_0x3a6fa2={};_0x3a6fa2[_0x5cfaeb(0xe2)]='Inside\x20browserstack\x20registerListeners';const _0x2f214e=_0x3a6fa2;logger[_0x5cfaeb(0xa2)](_0x2f214e[_0x5cfaeb(0xe2)]),process[_0x5cfaeb(0xa5)]('bs:addLog:'+process['pid']),process['on'](_0x5cfaeb(0x8b)+process['pid'],sendTestLog),PerformanceTester[_0x5cfaeb(0xc2)]();};modifyCommand(),setKeepAlive();const Before=cucumberModule[a9_0x3abeb1(0xb8)],After=cucumberModule['After'],AfterAll=cucumberModule[a9_0x3abeb1(0xd5)],BeforeAll=cucumberModule[a9_0x3abeb1(0x9e)],AfterStep=cucumberModule[a9_0x3abeb1(0x96)],configuration=process['env'][a9_0x3abeb1(0xfc)],bstackConfig=process[a9_0x3abeb1(0xe3)]['BSTACK_CONFIG'];function a9_0x1736(_0xfba35e,_0x314ca7){const _0x3a72c1=a9_0x3a72();return a9_0x1736=function(_0x17364e,_0x278489){_0x17364e=_0x17364e-0x69;let _0x11ab7d=_0x3a72c1[_0x17364e];return _0x11ab7d;},a9_0x1736(_0xfba35e,_0x314ca7);}if(configuration!==undefined){const config=JSON[a9_0x3abeb1(0xde)](configuration);isBrowserstackInfra()?(global['__skipSessionName']=isTrue(config[a9_0x3abeb1(0x74)]),global[a9_0x3abeb1(0xb2)]=isTrue(config[a9_0x3abeb1(0xc7)])):(global[a9_0x3abeb1(0x9b)]=!![],global[a9_0x3abeb1(0xb2)]=!![]),shouldProcessEventForTesthub()?require(a9_0x3abeb1(0x110))['browserstackAgentV2'](config,null,!![]):require('../../index')[a9_0x3abeb1(0xb1)](config),global['__platformCaps']=config[a9_0x3abeb1(0x76)]||{};}if(bstackConfig!==undefined){const browserStackConfig=JSON['parse'](bstackConfig);browserStackConfig&&(commandRepository['setConfig'](browserStackConfig),commandRepository[a9_0x3abeb1(0xa0)]('cucumber-js'));}global['__timeout']=0x0;const __setDefaultTimeout=cucumberModule[a9_0x3abeb1(0x95)];cucumberModule['setDefaultTimeout']=_0x162437=>{const _0x19a148=a9_0x3abeb1,_0x369e9b={'gToNe':function(_0x56183c,_0x3e6b98){return _0x56183c(_0x3e6b98);}};global[_0x19a148(0xc4)]=_0x162437,_0x369e9b[_0x19a148(0xa7)](__setDefaultTimeout,_0x162437);};const a9_0xa35746={};a9_0xa35746[a9_0x3abeb1(0x70)]=a9_0x3abeb1(0x112),BeforeAll(a9_0xa35746,function(){const _0x54448e=a9_0x3abeb1,_0x960c94={'FGmsh':function(_0x330576,_0x27b974,_0x243f28,_0x7e7e4a){return _0x330576(_0x27b974,_0x243f28,_0x7e7e4a);},'tmZMn':'failed','BhQAf':_0x54448e(0xcf),'jwnXs':function(_0x4bb311,_0x6e11c9,_0xe66374){return _0x4bb311(_0x6e11c9,_0xe66374);},'viyul':_0x54448e(0xa6),'iUihv':_0x54448e(0xd4),'yAEQP':function(_0x368f4c){return _0x368f4c();},'HUyrT':function(_0x71fa07){return _0x71fa07();},'csCyE':function(_0x433475,_0x4944d5){return _0x433475(_0x4944d5);}};PerformanceTester[_0x54448e(0xc2)](),logger[_0x54448e(0xa2)](_0x960c94[_0x54448e(0x6a)]),global[_0x54448e(0x9f)]=[],global[_0x54448e(0x8a)]=![],_0x960c94[_0x54448e(0xfe)](shouldProcessEventForTesthub)&&(_0x960c94[_0x54448e(0xf8)](registerListeners),_0x960c94['csCyE'](addRequestSpy,![])),global['driverCleanup']=async()=>{const _0x29bb7b=_0x54448e;let _0x4e0bdf=![];try{await global[_0x29bb7b(0xb9)][0x0]['session_'],_0x4e0bdf=!![],global[_0x29bb7b(0x8a)]?await _0x960c94['FGmsh'](markSessionStatus,global[_0x29bb7b(0xb9)][0x0],_0x960c94[_0x29bb7b(0xb4)],global[_0x29bb7b(0x9f)][_0x29bb7b(0xd9)](_0x960c94[_0x29bb7b(0x99)])):await _0x960c94[_0x29bb7b(0x113)](markSessionStatus,global[_0x29bb7b(0xb9)][0x0],_0x960c94[_0x29bb7b(0xf6)]);}catch(_0x546ca0){logger[_0x29bb7b(0xa2)]('Error:\x20cleaning\x20up\x20driver:\x20'+_0x546ca0);}global[_0x29bb7b(0x9f)]=[],global['__sessionFailed']=![];if(_0x4e0bdf)try{await global[_0x29bb7b(0xb9)][0x0]['initQuit']();}catch(_0x5be1dc){logger[_0x29bb7b(0xa2)](_0x29bb7b(0xc0)+_0x5be1dc);}};});const a9_0x2714b2={};a9_0x2714b2[a9_0x3abeb1(0x70)]='bstack',a9_0x2714b2[a9_0x3abeb1(0xd6)]=0x2710,Before(a9_0x2714b2,function(_0x9ba78d,_0x53e737){const _0x17872d=a9_0x3abeb1,_0x197741={'OMBbg':function(_0x49dd2b,_0x149f71){return _0x49dd2b>_0x149f71;},'SbCIy':function(_0xa1d3de,_0x23ea56){return _0xa1d3de>_0x23ea56;},'STwVj':function(_0xfe9878,_0x1c5ef8){return _0xfe9878(_0x1c5ef8);},'quowE':function(_0x1bc564,_0xf1b868,_0x5806ce,_0x4b6c21){return _0x1bc564(_0xf1b868,_0x5806ce,_0x4b6c21);},'Nkkow':_0x17872d(0x98),'MnBci':function(_0x2bb177){return _0x2bb177();},'CpJaT':_0x17872d(0xec)};commandRepository['setTestNameForHealingContext'](_0x9ba78d[_0x17872d(0xae)]['name']),logger[_0x17872d(0xa2)](_0x197741['CpJaT']),new Promise(async _0x3333c1=>{const _0x41fc6c=_0x17872d;try{_0x197741['OMBbg'](global[_0x41fc6c(0xb9)][_0x41fc6c(0x92)],0x1)&&(await global[_0x41fc6c(0x93)](),global[_0x41fc6c(0xb9)][_0x41fc6c(0x6b)]()),global['__drivers'][0x0][_0x41fc6c(0x104)]&&_0x197741[_0x41fc6c(0xb0)](global[_0x41fc6c(0xb9)][0x0][_0x41fc6c(0x104)],0x0)&&await global[_0x41fc6c(0x93)]();}catch(_0x333d7c){}workerDetails['currentTest'][_0x41fc6c(0xfd)]=_0x9ba78d[_0x41fc6c(0xd1)];try{if(!_0x197741[_0x41fc6c(0xc6)](isUndefined,_0x9ba78d[_0x41fc6c(0xae)][_0x41fc6c(0x9c)])){const _0x37065b=_0x197741[_0x41fc6c(0x111)](shouldScanTestForAccessibility,null,![],_0x9ba78d[_0x41fc6c(0xae)][_0x41fc6c(0x9c)][_0x41fc6c(0x6c)](({name:_0x4cce05})=>_0x4cce05));globals[_0x41fc6c(0xea)](_0x197741['Nkkow'],_0x37065b);}}catch(_0x4ef756){logger['debug'](_0x41fc6c(0x9a)+util[_0x41fc6c(0x10d)](_0x4ef756));}_0x197741[_0x41fc6c(0x9d)](_0x3333c1);})['finally'](_0x53e737);});const a9_0x2e80c2={};a9_0x2e80c2[a9_0x3abeb1(0x70)]=a9_0x3abeb1(0x112),a9_0x2e80c2['timeout']=0x2710,After(a9_0x2e80c2,function(_0x7c0b90,_0x14dd8f){const _0x415969=a9_0x3abeb1,_0x14da37={'lBFTD':'1|0|2|4|3','wjXMx':function(_0x4df865,_0x23f513){return _0x4df865>_0x23f513;},'qhVCY':function(_0x39bcf5,_0x57276e){return _0x39bcf5===_0x57276e;},'nbqDi':_0x415969(0x83),'ekSiT':function(_0x25f301,_0x305b20){return _0x25f301===_0x305b20;},'cIPVq':function(_0x14a3bf,_0x1db1b5,_0x41868e,_0x30ddc9){return _0x14a3bf(_0x1db1b5,_0x41868e,_0x30ddc9);},'HTsqI':_0x415969(0xcf),'XfZMd':function(_0x5160e1,_0x380b7e,_0x4fd4b6){return _0x5160e1(_0x380b7e,_0x4fd4b6);},'fYWcQ':_0x415969(0xa6),'cOPqN':function(_0x520a55){return _0x520a55();},'aMJGy':function(_0x187da8,_0x4c2fe6,_0x4c74e8,_0x150eba){return _0x187da8(_0x4c2fe6,_0x4c74e8,_0x150eba);},'Kuprd':_0x415969(0xb6),'UXdqF':_0x415969(0xbf),'VQLfC':_0x415969(0x98),'kcwEa':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','RjSpq':_0x415969(0xf1),'aHRft':_0x415969(0x71),'UjfWL':function(_0x460098){return _0x460098();},'CDdZz':_0x415969(0xf9)};logger[_0x415969(0xa2)](_0x14da37[_0x415969(0xda)]),workerDetails[_0x415969(0xa9)]['testInfo']=_0x7c0b90[_0x415969(0xd1)],new Promise(async _0x374674=>{const _0x173c13=_0x415969;let _0x1033d5=![];try{const _0x3b8e52=_0x14da37['lBFTD'][_0x173c13(0xe8)]('|');let _0x48c8d6=0x0;while(!![]){switch(_0x3b8e52[_0x48c8d6++]){case'0':await global[_0x173c13(0xb9)][0x0][_0x173c13(0x106)];continue;case'1':_0x14da37['wjXMx'](global[_0x173c13(0xb9)][_0x173c13(0x92)],0x1)&&(await global['driverCleanup'](),global[_0x173c13(0xb9)][_0x173c13(0x6b)](),global[_0x173c13(0x9f)]=[],global[_0x173c13(0x8a)]=![]);continue;case'2':_0x1033d5=!![];continue;case'3':if(_0x14da37[_0x173c13(0xd8)](_0x7c0b90[_0x173c13(0xb7)][_0x173c13(0x81)][_0x173c13(0xdb)]()[_0x173c13(0xad)](),_0x14da37[_0x173c13(0x8e)])||_0x14da37[_0x173c13(0x88)](_0x7c0b90[_0x173c13(0xb7)][_0x173c13(0x81)][_0x173c13(0xdb)]()[_0x173c13(0xad)](),'6')){try{global['__error_messages__'][_0x173c13(0xcc)](_0x7c0b90[_0x173c13(0xb7)][_0x173c13(0x7b)]);}catch(_0x22d693){logger[_0x173c13(0xa2)](_0x173c13(0xee)+_0x22d693);}await _0x14da37['cIPVq'](markSessionStatus,global[_0x173c13(0xb9)][0x0],_0x14da37[_0x173c13(0x8e)],global[_0x173c13(0x9f)]['join'](_0x14da37[_0x173c13(0xe9)]));}else await _0x14da37[_0x173c13(0x87)](markSessionStatus,global[_0x173c13(0xb9)][0x0],_0x14da37[_0x173c13(0xdc)]);continue;case'4':!global['__skipSessionName']&&await global[_0x173c13(0xb9)][0x0][_0x173c13(0xdf)](_0x173c13(0xb3)+_0x7c0b90[_0x173c13(0xae)][_0x173c13(0x70)]+'\x22}}');continue;}break;}}catch(_0x3d0e3a){logger['debug']('Error:\x20at\x20After:\x20'+util[_0x173c13(0x10d)](_0x3d0e3a));}try{if(_0x14da37[_0x173c13(0x77)](shouldProcessEventForTesthub)){const _0x15543e=TestDetails[_0x173c13(0x84)](_0x7c0b90[_0x173c13(0xd1)]),_0x24c1f8=await _0x14da37[_0x173c13(0xa4)](sendPlatformDetails,global[_0x173c13(0xb9)][0x0],_0x15543e,!![]),_0x1cc7aa={};_0x1cc7aa[_0x173c13(0xfb)]=_0x15543e,_0x1cc7aa[_0x173c13(0xc3)]=_0x24c1f8;const _0x3a16af=_0x1cc7aa,_0x1ca0f8={};_0x1ca0f8['event_type']=_0x14da37[_0x173c13(0xca)],_0x1ca0f8['test_run']=_0x3a16af,await SessionHandler['uploadEventData'](_0x1ca0f8);}}catch(_0xd1e039){logger[_0x173c13(0xa2)](_0x173c13(0xa8)+util[_0x173c13(0x10d)](_0xd1e039));}try{if(globals['getGlobal'](_0x14da37[_0x173c13(0x115)])&&globals[_0x173c13(0xab)](_0x14da37[_0x173c13(0x10c)])){logger[_0x173c13(0x7e)](_0x14da37[_0x173c13(0x80)]);const _0x13001f=TestDetails[_0x173c13(0x84)](_0x7c0b90['testCaseStartedId']),_0x28411c={};_0x28411c[_0x173c13(0x89)]=_0x13001f,_0x28411c[_0x173c13(0xd3)]=process[_0x173c13(0xe3)][testHubConstants['ENV_VAR'][_0x173c13(0x8d)]],_0x28411c[_0x173c13(0x7c)]=process[_0x173c13(0xe3)][testHubConstants['ENV_VAR'][_0x173c13(0x103)]];const _0x4b3fc7=_0x28411c;logger['debug'](_0x173c13(0x105)+JSON[_0x173c13(0xcb)](_0x4b3fc7)),logger['debug'](_0x14da37[_0x173c13(0x10f)]),logger[_0x173c13(0xa2)](util[_0x173c13(0x10d)](await global[_0x173c13(0xb9)][0x0][_0x173c13(0x10b)](scripts[_0x173c13(0xd7)],{'method':global[_0x173c13(0x102)]}))),await global[_0x173c13(0xb9)][0x0][_0x173c13(0x10b)](scripts[_0x173c13(0xf3)],_0x4b3fc7),logger['info'](_0x14da37[_0x173c13(0xf5)]);}}catch(_0x58a983){logger[_0x173c13(0x72)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20'+util[_0x173c13(0x10d)]);}if(_0x1033d5)try{global[_0x173c13(0xb9)][0x0]&&_0x14da37[_0x173c13(0xbc)](global[_0x173c13(0xb9)][0x0]['quitCount_'],0x0)&&await global[_0x173c13(0xb9)][0x0]['initQuit']();}catch(_0x15d523){logger[_0x173c13(0xa2)](_0x173c13(0xe4)+_0x15d523);}_0x14da37[_0x173c13(0x78)](_0x374674);})[_0x415969(0x94)](()=>_0x14dd8f());});function a9_0x3a72(){const _0x489be7=['170GclNOh','UXdqF',',\x22level\x22:\x20\x22','iUihv','shift','map','aeUHx','pRBJo','../../helpers/logger','name','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','error','2450877pttbqo','skipSessionName','vlUso','platformCaps','cOPqN','UjfWL','shutdown','../playwright/reporter/test-details.js','message','thJwtToken','wPgTD','info','Error:\x20at\x20After\x20Step:\x20','kcwEa','status','\x0aError:\x20','failed','getTestUUID','xoTgM','../../helpers/testhub/utils','XfZMd','ekSiT','thTestRunUuid','__sessionFailed','bs:addLog:','mgZXI','BROWSERSTACK_TESTHUB_UUID','nbqDi','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','6648948qrLIdB','uPGQy','length','driverCleanup','finally','setDefaultTimeout','AfterStep','qthsV','bstackA11yShouldScan','BhQAf','Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20','__skipSessionName','tags','MnBci','BeforeAll','__error_messages__','setFramework','XQSyS','debug','476559GBpyUg','aMJGy','removeAllListeners','passed','gToNe','Error:\x20sendPlatformDetails\x20at\x20After:\x20','currentTest','hCoGv','getGlobal','text','toLowerCase','pickle','../../helpers/ai-sdk/autoHealHelper','SbCIy','browserstackAgentV2','__skipSessionStatus','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','tmZMn','\x22}}','CBTSessionCreated','result','Before','__drivers','lodash','ayUuZ','wjXMx','pickleStep','Bikla','isAccessibilityPlatform','Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20','stopMonitoring','startMonitoring','integrations','__timeout','Passed','STwVj','skipSessionStatus','13377GNVVSJ','../../helpers/accessibility-automation/helper','Kuprd','stringify','push','Failed:\x20','1091064xOCkQM','\x20|\x20','o11ySyncDone','testCaseStartedId','5uLqTof','thBuildUuid','Inside\x20browserstack\x20BeforeAll','AfterAll','timeout','performScan','qhVCY','join','CDdZz','toString','fYWcQ','../../helpers/setKeepAlive','parse','executeScript','lvpxe','HwJQU','yOlBJ','env','Error:\x20quiting\x20driver\x20at\x20After:\x20','Passed:\x20','addTestUIDAndReportLog','9613247JwzhXr','split','HTsqI','setGlobal','getInstance','Inside\x20browserstack\x20Before','ntmQy','Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20','util','yWgYD','Performing\x20scan\x20before\x20saving\x20results','../../helpers/test-observability/sessionHandler','saveTestResults','../../helpers/globals','aHRft','viyul','zfDIp','HUyrT','Inside\x20browserstack\x20After','../../helpers/performance-tester','uuid','CONFIG','testInfo','yAEQP','UaWQn','104cgXmIS','@cucumber/cucumber/lib/index.js','browserstackSessionName','BROWSERSTACK_TESTHUB_JWT','quitCount_','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','session_','../../helpers/test-observability/requestQueueHandler','5453956BwlLtG','../../helpers/accessibility-automation/scripts','../../helpers/test-observability/utils','executeAsyncScript','VQLfC','format','winstonLogger','RjSpq','../../index','quowE','bstack','jwnXs'];a9_0x3a72=function(){return _0x489be7;};return a9_0x3a72();}const a9_0x2e7932={};a9_0x2e7932[a9_0x3abeb1(0x70)]='bstack',a9_0x2e7932[a9_0x3abeb1(0xd6)]=0x2710,AfterStep(a9_0x2e7932,function(_0x168726,_0x4fd3d7){const _0x1c2366=a9_0x3abeb1,_0x4ed514={'hCoGv':function(_0xba42e,_0x399571){return _0xba42e===_0x399571;},'lvpxe':'failed','ayUuZ':function(_0x283011,_0x19144f){return _0x283011===_0x19144f;},'qcRdG':function(_0x4e4f2a,_0x25ec39){return _0x4e4f2a!==_0x25ec39;},'aeUHx':function(_0x5128dd,_0x2e09ee,_0x555d9a){return _0x5128dd(_0x2e09ee,_0x555d9a);},'xoTgM':function(_0x296f4c,_0x282521){return _0x296f4c+_0x282521;},'vlUso':function(_0x16d47b,_0x547580){return _0x16d47b+_0x547580;},'qthsV':_0x1c2366(0xcd),'mgZXI':_0x1c2366(0x82),'UaWQn':_0x1c2366(0x72),'uPGQy':function(_0x37c2f6,_0x6bd0b9){return _0x37c2f6+_0x6bd0b9;},'yWgYD':function(_0x30aeb9,_0x4e4fa3){return _0x30aeb9!==_0x4e4fa3;},'ntmQy':_0x1c2366(0xe5),'XQSyS':_0x1c2366(0x7e),'Bikla':_0x1c2366(0xc5),'pRBJo':function(_0x3a2d85){return _0x3a2d85();},'wPgTD':'Inside\x20browserstack\x20AfterStep'};logger[_0x1c2366(0xa2)](_0x4ed514[_0x1c2366(0x7d)]);const _0x30df08=async(_0x53050f,_0x433602)=>{const _0x5c45af=_0x1c2366;await global[_0x5c45af(0xb9)][0x0][_0x5c45af(0xdf)](_0x5c45af(0x8f)+_0x53050f+_0x5c45af(0x69)+_0x433602+_0x5c45af(0xb5));};new Promise(async _0x458ad0=>{const _0x277027=_0x1c2366;try{_0x4ed514[_0x277027(0xaa)](_0x168726[_0x277027(0xb7)][_0x277027(0x81)][_0x277027(0xdb)]()[_0x277027(0xad)](),_0x4ed514[_0x277027(0xe0)])||_0x4ed514[_0x277027(0xbb)](_0x168726[_0x277027(0xb7)][_0x277027(0x81)][_0x277027(0xdb)]()[_0x277027(0xad)](),'6')?(global[_0x277027(0x8a)]=!![],global[_0x277027(0x9f)][_0x277027(0xcc)](_0x168726[_0x277027(0xb7)][_0x277027(0x7b)]),_0x4ed514['qcRdG'](_0x168726[_0x277027(0xbd)],undefined)?await _0x4ed514[_0x277027(0x6d)](_0x30df08,JSON[_0x277027(0xcb)](_0x4ed514[_0x277027(0x85)](_0x4ed514[_0x277027(0x75)](_0x4ed514[_0x277027(0x85)](_0x4ed514[_0x277027(0x97)],'\x22'+_0x168726[_0x277027(0xbd)][_0x277027(0xac)]+'\x22\x20'),_0x4ed514[_0x277027(0x8c)]),_0x168726[_0x277027(0xb7)][_0x277027(0x7b)])),_0x4ed514[_0x277027(0xff)]):await _0x4ed514[_0x277027(0x6d)](_0x30df08,JSON['stringify'](_0x4ed514[_0x277027(0x91)](_0x4ed514['qthsV'],_0x168726[_0x277027(0xb7)][_0x277027(0x7b)])),_0x4ed514['UaWQn'])):_0x4ed514[_0x277027(0xf0)](_0x168726[_0x277027(0xbd)],undefined)?await _0x4ed514[_0x277027(0x6d)](_0x30df08,JSON['stringify'](_0x4ed514['xoTgM'](_0x4ed514[_0x277027(0xed)],'\x22'+_0x168726[_0x277027(0xbd)]['text']+'\x22')),_0x4ed514[_0x277027(0xa1)]):await _0x4ed514['aeUHx'](_0x30df08,JSON[_0x277027(0xcb)](_0x4ed514[_0x277027(0xbe)]),_0x4ed514[_0x277027(0xa1)]);}catch(_0x5de54c){logger[_0x277027(0xa2)](_0x277027(0x7f)+_0x5de54c);}_0x4ed514[_0x277027(0x6e)](_0x458ad0);})[_0x1c2366(0x94)](()=>_0x4fd3d7());});const a9_0x186b72={};a9_0x186b72['name']=a9_0x3abeb1(0x112),a9_0x186b72[a9_0x3abeb1(0xd6)]=0x7530,AfterAll(a9_0x186b72,async function(_0x1ba02f,_0x3aa243){const _0xf7ede2=a9_0x3abeb1,_0x50115d={'zfDIp':function(_0x4d3207){return _0x4d3207();},'HwJQU':'Inside\x20browserstack\x20AfterAll'};logger[_0xf7ede2(0xa2)](_0x50115d[_0xf7ede2(0xe1)]),await new Promise(async _0x1cee3b=>{const _0x213856=_0xf7ede2;await RequestQueueHandler[_0x213856(0xeb)]()[_0x213856(0x79)](),PerformanceTester[_0x213856(0xc1)](),await global[_0x213856(0x93)](),_0x50115d[_0x213856(0xf7)](_0x1cee3b);});});
|
|
1
|
+
const a9_0x37ad67=a9_0x4d0a;function a9_0x2626(){const _0x58f784=['Inside\x20browserstack\x20BeforeAll','fRROf','../../helpers/test-observability/requestQueueHandler','28CGDagF','byLAa','WCumt','driverCleanup','passed','session_','name','setTestNameForHealingContext','env','@cucumber/cucumber/lib/index.js','1532568vORbGJ','join','__skipSessionStatus','bstack','plTbN','AAnSx','Passed:\x20','opAZI','gtUnb','511692OMAdam','AfterAll','executeScript','2653125QtazuJ','text','12762351HNwEpI','browserstackAgentV2','doVat','executeAsyncScript','ATuQs','lUTTh','parse','setConfig','fxKWN','../playwright/reporter/test-details.js','setDefaultTimeout','CBTSessionCreated','\x20|\x20','quDLG','tNkuX','\x22}}','Error:\x20at\x20After:\x20','twzPg','eYklC','finally','startMonitoring','727790AaYFdg','format','../../helpers/test-observability/sessionHandler','Fmmsb','dMThH','AILSs','__platformCaps','getTestUUID','1304723gRGQSr','MCAYb','getGlobal','Error:\x20at\x20After\x20Step:\x20','split','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20','pqXdO','../../helpers/test-observability/error-handler','debug','ckIfl','pid','dwxiO','pickle','toLowerCase','initQuit','skipSessionName','SMSLD','BAlDt','failed','Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20','Inside\x20browserstack\x20AfterStep','../../helpers/performance-tester','WXDXb','push','__error_messages__','../../helpers/setKeepAlive','Inside\x20browserstack\x20Before','thTestRunUuid','setFramework','Performing\x20scan\x20before\x20saving\x20results','gUORn','YAGDL','status','cucumber-js','error','bstackA11yShouldScan','../../index','iawpr','__timeout','KJGmw','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','o11ySyncDone','__drivers','llfAd','ENV_VAR','map','GkQhH','thJwtToken','saveTestResults','Inside\x20browserstack\x20registerListeners','removeAllListeners','platformCaps','wTWCP','Inside\x20browserstack\x20After','\x0aError:\x20','Error:\x20cleaning\x20up\x20driver:\x20','thBuildUuid','Inside\x20browserstack\x20AfterAll','performScan','9Qwnean','timeout','skipSessionStatus','pickleStep','lodash','testCaseStartedId','Error:\x20sendPlatformDetails\x20at\x20After:\x20','Njuvz','setGlobal',',\x22level\x22:\x20\x22','SnHok','info','eteNY','testInfo','NerAK','AfterStep','../../helpers/accessibility-automation/scripts','length','stringify','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','isAccessibilityPlatform','test_run','browserstackSessionName','../../helpers/test-observability/utils','CONFIG','toString','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','tags','result','Failed:\x20','__sessionFailed','qjzsS','3001992pppNjI','wOpqc','rLaGJ','BSTACK_CONFIG','BeforeAll','Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20','__skipSessionName','message','../../helpers/ai-sdk/autoHealHelper','currentTest','../../helpers/helper','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','RcWNn','xUwWT','yonVV','Error:\x20quiting\x20driver\x20at\x20After:\x20','getInstance','Passed','addTestUIDAndReportLog','BROWSERSTACK_TESTHUB_UUID'];a9_0x2626=function(){return _0x58f784;};return a9_0x2626();}(function(_0x2538e6,_0x3fe458){const _0x26820f=a9_0x4d0a,_0x4fba92=_0x2538e6();while(!![]){try{const _0x53b65e=parseInt(_0x26820f(0x1f5))/0x1+parseInt(_0x26820f(0x1ed))/0x2+parseInt(_0x26820f(0x230))/0x3*(parseInt(_0x26820f(0x1ca))/0x4)+-parseInt(_0x26820f(0x1d6))/0x5+parseInt(_0x26820f(0x1d3))/0x6*(-parseInt(_0x26820f(0x1c0))/0x7)+parseInt(_0x26820f(0x250))/0x8+-parseInt(_0x26820f(0x1d8))/0x9;if(_0x53b65e===_0x3fe458)break;else _0x4fba92['push'](_0x4fba92['shift']());}catch(_0x4e2f12){_0x4fba92['push'](_0x4fba92['shift']());}}}(a9_0x2626,0xdc94d));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra}=require(a9_0x37ad67(0x1b3)),setKeepAlive=require(a9_0x37ad67(0x20e)),util=require('util'),PerformanceTester=require(a9_0x37ad67(0x20a)),{commandRepository}=require(a9_0x37ad67(0x1b1)),cucumberModule=requireModule(a9_0x37ad67(0x1c9)),logger=require('../../helpers/logger')['winstonLogger'],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a9_0x37ad67(0x247)),TestDetails=require(a9_0x37ad67(0x1e1)),RequestQueueHandler=require(a9_0x37ad67(0x1bf)),{o11yErrorHandler}=require(a9_0x37ad67(0x1fc)),MyReporter=require('../playwright/reporter/reporter.js'),SessionHandler=require(a9_0x37ad67(0x1ef)),scripts=require(a9_0x37ad67(0x240)),globals=require('../../helpers/globals'),testHubConstants=require('../../helpers/testhub/constants.js'),{shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{isUndefined}=require(a9_0x37ad67(0x234)),a9_0x3811c0={};a9_0x3811c0['workerInfo']=undefined,a9_0x3811c0[a9_0x37ad67(0x1b2)]={},a9_0x3811c0[a9_0x37ad67(0x21e)]=![],a9_0x3811c0[a9_0x37ad67(0x1b2)]['id']=undefined,a9_0x3811c0[a9_0x37ad67(0x1b2)][a9_0x37ad67(0x23d)]=undefined;const workerDetails=a9_0x3811c0;function a9_0x4d0a(_0x262073,_0x2d2036){const _0x26265e=a9_0x2626();return a9_0x4d0a=function(_0x4d0abf,_0x1db24c){_0x4d0abf=_0x4d0abf-0x1b1;let _0x28f183=_0x26265e[_0x4d0abf];return _0x28f183;},a9_0x4d0a(_0x262073,_0x2d2036);}shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x3ae5aa){const _0x1e8545=a9_0x37ad67,_0x27daa0=workerDetails['currentTest'][_0x1e8545(0x23d)];if(!_0x27daa0)return;await MyReporter[_0x1e8545(0x1bb)](_0x27daa0,_0x3ae5aa);}),registerListeners=()=>{const _0x4cf21a=a9_0x37ad67,_0x570d6a={};_0x570d6a[_0x4cf21a(0x1e6)]=_0x4cf21a(0x226);const _0x10f9b6=_0x570d6a;logger['debug'](_0x10f9b6[_0x4cf21a(0x1e6)]),process[_0x4cf21a(0x227)]('bs:addLog:'+process[_0x4cf21a(0x1ff)]),process['on']('bs:addLog:'+process['pid'],sendTestLog),PerformanceTester['startMonitoring']();};modifyCommand(),setKeepAlive();const Before=cucumberModule['Before'],After=cucumberModule['After'],AfterAll=cucumberModule[a9_0x37ad67(0x1d4)],BeforeAll=cucumberModule[a9_0x37ad67(0x254)],AfterStep=cucumberModule[a9_0x37ad67(0x23f)],configuration=process[a9_0x37ad67(0x1c8)][a9_0x37ad67(0x248)],bstackConfig=process['env'][a9_0x37ad67(0x253)];if(configuration!==undefined){const config=JSON[a9_0x37ad67(0x1de)](configuration);isBrowserstackInfra()?(global[a9_0x37ad67(0x256)]=isTrue(config[a9_0x37ad67(0x204)]),global[a9_0x37ad67(0x1cc)]=isTrue(config[a9_0x37ad67(0x232)])):(global['__skipSessionName']=!![],global[a9_0x37ad67(0x1cc)]=!![]),shouldProcessEventForTesthub()?require(a9_0x37ad67(0x219))[a9_0x37ad67(0x1d9)](config,null,!![]):require(a9_0x37ad67(0x219))[a9_0x37ad67(0x1d9)](config),global[a9_0x37ad67(0x1f3)]=config[a9_0x37ad67(0x228)]||{};}if(bstackConfig!==undefined){const browserStackConfig=JSON[a9_0x37ad67(0x1de)](bstackConfig);browserStackConfig&&(commandRepository[a9_0x37ad67(0x1df)](browserStackConfig),commandRepository[a9_0x37ad67(0x211)](a9_0x37ad67(0x216)));}global['__timeout']=0x0;const __setDefaultTimeout=cucumberModule['setDefaultTimeout'];cucumberModule[a9_0x37ad67(0x1e2)]=_0x28f181=>{const _0x90dd3f=a9_0x37ad67,_0x39a652={'llfAd':function(_0x1db8ec,_0xc2bee6){return _0x1db8ec(_0xc2bee6);}};global[_0x90dd3f(0x21b)]=_0x28f181,_0x39a652[_0x90dd3f(0x220)](__setDefaultTimeout,_0x28f181);};const a9_0x145b91={};a9_0x145b91[a9_0x37ad67(0x1c6)]=a9_0x37ad67(0x1cd),BeforeAll(a9_0x145b91,function(){const _0x4bb880=a9_0x37ad67,_0x485be8={'AILSs':function(_0x28bac6,_0x57e7fc,_0xce16ab,_0x5f1134){return _0x28bac6(_0x57e7fc,_0xce16ab,_0x5f1134);},'sWDBF':_0x4bb880(0x207),'wTWCP':_0x4bb880(0x1e4),'eteNY':function(_0x47654d,_0x4a98be,_0x13481a){return _0x47654d(_0x4a98be,_0x13481a);},'ATuQs':_0x4bb880(0x1c4),'JNAPO':_0x4bb880(0x1bd),'iawpr':function(_0x22d992){return _0x22d992();},'AAnSx':function(_0x273bf7){return _0x273bf7();},'ckIfl':function(_0x54a2aa,_0x47385f){return _0x54a2aa(_0x47385f);}};PerformanceTester[_0x4bb880(0x1ec)](),logger[_0x4bb880(0x1fd)](_0x485be8['JNAPO']),global[_0x4bb880(0x20d)]=[],global[_0x4bb880(0x24e)]=![],_0x485be8[_0x4bb880(0x21a)](shouldProcessEventForTesthub)&&(_0x485be8[_0x4bb880(0x1cf)](registerListeners),_0x485be8[_0x4bb880(0x1fe)](addRequestSpy,![])),global[_0x4bb880(0x1c3)]=async()=>{const _0x18ff2c=_0x4bb880;let _0x180bce=![];try{await global['__drivers'][0x0][_0x18ff2c(0x1c5)],_0x180bce=!![],global[_0x18ff2c(0x24e)]?await _0x485be8[_0x18ff2c(0x1f2)](markSessionStatus,global[_0x18ff2c(0x21f)][0x0],_0x485be8['sWDBF'],global['__error_messages__'][_0x18ff2c(0x1cb)](_0x485be8[_0x18ff2c(0x229)])):await _0x485be8[_0x18ff2c(0x23c)](markSessionStatus,global[_0x18ff2c(0x21f)][0x0],_0x485be8[_0x18ff2c(0x1dc)]);}catch(_0x49a350){logger[_0x18ff2c(0x1fd)](_0x18ff2c(0x22c)+_0x49a350);}global[_0x18ff2c(0x20d)]=[],global[_0x18ff2c(0x24e)]=![];if(_0x180bce)try{await global[_0x18ff2c(0x21f)][0x0][_0x18ff2c(0x203)]();}catch(_0x58108f){logger[_0x18ff2c(0x1fd)](_0x18ff2c(0x208)+_0x58108f);}};});const a9_0x32fae4={};a9_0x32fae4['name']=a9_0x37ad67(0x1cd),a9_0x32fae4[a9_0x37ad67(0x231)]=0x2710,Before(a9_0x32fae4,function(_0x4c1574,_0x574331){const _0x4fa15c=a9_0x37ad67,_0x463897={'gtUnb':function(_0x317499,_0x42905b){return _0x317499>_0x42905b;},'Njuvz':function(_0x57ef45,_0x190c28){return _0x57ef45(_0x190c28);},'WXDXb':function(_0x37dc93,_0x27cd58,_0x88c494,_0x40f3ab){return _0x37dc93(_0x27cd58,_0x88c494,_0x40f3ab);},'JDVvE':_0x4fa15c(0x218),'XpXhu':function(_0x142cc9){return _0x142cc9();},'YVViK':_0x4fa15c(0x20f)};commandRepository[_0x4fa15c(0x1c7)](_0x4c1574[_0x4fa15c(0x201)]['name']),logger[_0x4fa15c(0x1fd)](_0x463897['YVViK']),new Promise(async _0x781bc7=>{const _0x453d18=_0x4fa15c;try{_0x463897[_0x453d18(0x1d2)](global[_0x453d18(0x21f)]['length'],0x1)&&(await global[_0x453d18(0x1c3)](),global[_0x453d18(0x21f)]['shift']()),global[_0x453d18(0x21f)][0x0]['quitCount_']&&_0x463897[_0x453d18(0x1d2)](global[_0x453d18(0x21f)][0x0]['quitCount_'],0x0)&&await global[_0x453d18(0x1c3)]();}catch(_0x437a3c){}workerDetails[_0x453d18(0x1b2)][_0x453d18(0x23d)]=_0x4c1574[_0x453d18(0x235)];try{if(!_0x463897[_0x453d18(0x237)](isUndefined,_0x4c1574[_0x453d18(0x201)][_0x453d18(0x24b)])){const _0x17b67d=_0x463897[_0x453d18(0x20b)](shouldScanTestForAccessibility,null,![],_0x4c1574[_0x453d18(0x201)]['tags'][_0x453d18(0x222)](({name:_0x189620})=>_0x189620));globals[_0x453d18(0x238)](_0x463897['JDVvE'],_0x17b67d);}}catch(_0xcf830d){logger[_0x453d18(0x1fd)](_0x453d18(0x255)+util['format'](_0xcf830d));}_0x463897['XpXhu'](_0x781bc7);})[_0x4fa15c(0x1eb)](_0x574331);});const a9_0x46efc8={};a9_0x46efc8[a9_0x37ad67(0x1c6)]=a9_0x37ad67(0x1cd),a9_0x46efc8[a9_0x37ad67(0x231)]=0x2710,After(a9_0x46efc8,function(_0x2b8100,_0x106aff){const _0x38862b=a9_0x37ad67,_0x5d31f4={'byLAa':'2|3|1|0|4','RcWNn':function(_0x413a1e,_0x40cc0a){return _0x413a1e>_0x40cc0a;},'lUTTh':function(_0xd6359,_0x8a82e8){return _0xd6359===_0x8a82e8;},'SnHok':_0x38862b(0x207),'eYklC':function(_0xd3aced,_0x5adc29,_0x4a7663,_0x447c64){return _0xd3aced(_0x5adc29,_0x4a7663,_0x447c64);},'twzPg':_0x38862b(0x1e4),'xUwWT':function(_0x44331a,_0x546e3c,_0x132b4d){return _0x44331a(_0x546e3c,_0x132b4d);},'dMThH':_0x38862b(0x1c4),'cCwVk':function(_0x1961eb){return _0x1961eb();},'XqPSU':function(_0x343de5,_0x584f22,_0x42ed00,_0x594baf){return _0x343de5(_0x584f22,_0x42ed00,_0x594baf);},'wxDYI':_0x38862b(0x1e3),'MCAYb':_0x38862b(0x244),'bCTQF':_0x38862b(0x218),'Fmmsb':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','fxKWN':_0x38862b(0x212),'wOpqc':_0x38862b(0x1b4),'YAYXR':_0x38862b(0x22a)};logger[_0x38862b(0x1fd)](_0x5d31f4['YAYXR']),workerDetails['currentTest'][_0x38862b(0x23d)]=_0x2b8100[_0x38862b(0x235)],new Promise(async _0x57c1b1=>{const _0x2710d3=_0x38862b;let _0x132b16=![];try{const _0xfd9877=_0x5d31f4[_0x2710d3(0x1c1)][_0x2710d3(0x1f9)]('|');let _0x20fa1a=0x0;while(!![]){switch(_0xfd9877[_0x20fa1a++]){case'0':!global[_0x2710d3(0x256)]&&await global[_0x2710d3(0x21f)][0x0]['executeScript'](_0x2710d3(0x243)+_0x2b8100[_0x2710d3(0x201)][_0x2710d3(0x1c6)]+_0x2710d3(0x1e7));continue;case'1':_0x132b16=!![];continue;case'2':_0x5d31f4[_0x2710d3(0x1b5)](global['__drivers'][_0x2710d3(0x241)],0x1)&&(await global[_0x2710d3(0x1c3)](),global[_0x2710d3(0x21f)]['shift'](),global[_0x2710d3(0x20d)]=[],global[_0x2710d3(0x24e)]=![]);continue;case'3':await global[_0x2710d3(0x21f)][0x0][_0x2710d3(0x1c5)];continue;case'4':if(_0x5d31f4[_0x2710d3(0x1dd)](_0x2b8100[_0x2710d3(0x24c)]['status']['toString']()[_0x2710d3(0x202)](),_0x5d31f4[_0x2710d3(0x23a)])||_0x5d31f4[_0x2710d3(0x1dd)](_0x2b8100[_0x2710d3(0x24c)][_0x2710d3(0x215)][_0x2710d3(0x249)]()['toLowerCase'](),'6')){try{global[_0x2710d3(0x20d)][_0x2710d3(0x20c)](_0x2b8100[_0x2710d3(0x24c)][_0x2710d3(0x257)]);}catch(_0x2c4e50){logger[_0x2710d3(0x1fd)]('Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20'+_0x2c4e50);}await _0x5d31f4[_0x2710d3(0x1ea)](markSessionStatus,global[_0x2710d3(0x21f)][0x0],_0x5d31f4['SnHok'],global['__error_messages__'][_0x2710d3(0x1cb)](_0x5d31f4[_0x2710d3(0x1e9)]));}else await _0x5d31f4[_0x2710d3(0x1b6)](markSessionStatus,global[_0x2710d3(0x21f)][0x0],_0x5d31f4[_0x2710d3(0x1f1)]);continue;}break;}}catch(_0x5a2001){logger[_0x2710d3(0x1fd)](_0x2710d3(0x1e8)+util[_0x2710d3(0x1ee)](_0x5a2001));}try{if(_0x5d31f4['cCwVk'](shouldProcessEventForTesthub)){const _0x96df13=TestDetails[_0x2710d3(0x1f4)](_0x2b8100['testCaseStartedId']),_0x292813=await _0x5d31f4['XqPSU'](sendPlatformDetails,global[_0x2710d3(0x21f)][0x0],_0x96df13,!![]),_0xb6b4b6={};_0xb6b4b6['uuid']=_0x96df13,_0xb6b4b6['integrations']=_0x292813;const _0x307421=_0xb6b4b6,_0x268849={};_0x268849['event_type']=_0x5d31f4['wxDYI'],_0x268849[_0x2710d3(0x245)]=_0x307421,await SessionHandler['uploadEventData'](_0x268849);}}catch(_0x552d52){logger[_0x2710d3(0x1fd)](_0x2710d3(0x236)+util['format'](_0x552d52));}try{if(globals['getGlobal'](_0x5d31f4[_0x2710d3(0x1f6)])&&globals[_0x2710d3(0x1f7)](_0x5d31f4['bCTQF'])){logger[_0x2710d3(0x23b)](_0x5d31f4[_0x2710d3(0x1f0)]);const _0x59985b=TestDetails[_0x2710d3(0x1f4)](_0x2b8100['testCaseStartedId']),_0x3ff3c1={};_0x3ff3c1[_0x2710d3(0x210)]=_0x59985b,_0x3ff3c1[_0x2710d3(0x22d)]=process['env'][testHubConstants[_0x2710d3(0x221)][_0x2710d3(0x1bc)]],_0x3ff3c1[_0x2710d3(0x224)]=process[_0x2710d3(0x1c8)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_JWT']];const _0x874447=_0x3ff3c1;logger[_0x2710d3(0x1fd)](_0x2710d3(0x24a)+JSON[_0x2710d3(0x242)](_0x874447)),logger[_0x2710d3(0x1fd)](_0x5d31f4[_0x2710d3(0x1e0)]),logger[_0x2710d3(0x1fd)](util[_0x2710d3(0x1ee)](await global[_0x2710d3(0x21f)][0x0]['executeAsyncScript'](scripts[_0x2710d3(0x22f)],{'method':global[_0x2710d3(0x246)]}))),await global[_0x2710d3(0x21f)][0x0][_0x2710d3(0x1db)](scripts[_0x2710d3(0x225)],_0x874447),logger['info'](_0x5d31f4[_0x2710d3(0x251)]);}}catch(_0xcb8bc2){logger[_0x2710d3(0x217)](_0x2710d3(0x1fa)+util[_0x2710d3(0x1ee)]);}if(_0x132b16)try{global[_0x2710d3(0x21f)][0x0]&&_0x5d31f4[_0x2710d3(0x1b5)](global[_0x2710d3(0x21f)][0x0]['quitCount_'],0x0)&&await global['__drivers'][0x0][_0x2710d3(0x203)]();}catch(_0x2f8fb3){logger[_0x2710d3(0x1fd)](_0x2710d3(0x1b8)+_0x2f8fb3);}_0x5d31f4['cCwVk'](_0x57c1b1);})[_0x38862b(0x1eb)](()=>_0x106aff());});const a9_0x2ce75e={};a9_0x2ce75e[a9_0x37ad67(0x1c6)]=a9_0x37ad67(0x1cd),a9_0x2ce75e[a9_0x37ad67(0x231)]=0x2710,AfterStep(a9_0x2ce75e,function(_0x11b42c,_0x5daa33){const _0x9b3a68=a9_0x37ad67,_0x28e0b2={'SMSLD':function(_0x2f4a83,_0x4aba3c){return _0x2f4a83===_0x4aba3c;},'KJGmw':_0x9b3a68(0x207),'kSGCk':function(_0x56b916,_0x36baa2){return _0x56b916===_0x36baa2;},'qjzsS':function(_0x9bbb59,_0x13ab00){return _0x9bbb59!==_0x13ab00;},'gUORn':function(_0x59cf7e,_0x3f4668,_0x1f88ce){return _0x59cf7e(_0x3f4668,_0x1f88ce);},'quDLG':function(_0x5e4870,_0x1383b1){return _0x5e4870+_0x1383b1;},'YAGDL':_0x9b3a68(0x24d),'opAZI':_0x9b3a68(0x22b),'GkQhH':_0x9b3a68(0x217),'yonVV':function(_0x53918b,_0x1bec6b,_0x156dec){return _0x53918b(_0x1bec6b,_0x156dec);},'WCumt':function(_0x267002,_0x1a042e){return _0x267002+_0x1a042e;},'rLaGJ':function(_0x377639,_0x3c128e){return _0x377639!==_0x3c128e;},'doVat':_0x9b3a68(0x1d0),'BAlDt':_0x9b3a68(0x23b),'pqXdO':_0x9b3a68(0x1ba),'dwxiO':function(_0x1db808){return _0x1db808();},'NerAK':_0x9b3a68(0x209)};logger['debug'](_0x28e0b2[_0x9b3a68(0x23e)]);const _0x4ecf41=async(_0x4d3ca3,_0x4e7212)=>{const _0x1acc86=_0x9b3a68;await global[_0x1acc86(0x21f)][0x0][_0x1acc86(0x1d5)](_0x1acc86(0x21d)+_0x4d3ca3+_0x1acc86(0x239)+_0x4e7212+_0x1acc86(0x1e7));};new Promise(async _0x40c06c=>{const _0x514e10=_0x9b3a68;try{_0x28e0b2[_0x514e10(0x205)](_0x11b42c[_0x514e10(0x24c)][_0x514e10(0x215)]['toString']()[_0x514e10(0x202)](),_0x28e0b2[_0x514e10(0x21c)])||_0x28e0b2['kSGCk'](_0x11b42c[_0x514e10(0x24c)][_0x514e10(0x215)][_0x514e10(0x249)]()[_0x514e10(0x202)](),'6')?(global[_0x514e10(0x24e)]=!![],global['__error_messages__'][_0x514e10(0x20c)](_0x11b42c['result'][_0x514e10(0x257)]),_0x28e0b2[_0x514e10(0x24f)](_0x11b42c['pickleStep'],undefined)?await _0x28e0b2[_0x514e10(0x213)](_0x4ecf41,JSON['stringify'](_0x28e0b2[_0x514e10(0x1e5)](_0x28e0b2[_0x514e10(0x1e5)](_0x28e0b2['quDLG'](_0x28e0b2[_0x514e10(0x214)],'\x22'+_0x11b42c[_0x514e10(0x233)][_0x514e10(0x1d7)]+'\x22\x20'),_0x28e0b2[_0x514e10(0x1d1)]),_0x11b42c[_0x514e10(0x24c)][_0x514e10(0x257)])),_0x28e0b2[_0x514e10(0x223)]):await _0x28e0b2[_0x514e10(0x1b7)](_0x4ecf41,JSON[_0x514e10(0x242)](_0x28e0b2[_0x514e10(0x1c2)](_0x28e0b2[_0x514e10(0x214)],_0x11b42c[_0x514e10(0x24c)][_0x514e10(0x257)])),_0x28e0b2['GkQhH'])):_0x28e0b2[_0x514e10(0x252)](_0x11b42c[_0x514e10(0x233)],undefined)?await _0x28e0b2[_0x514e10(0x1b7)](_0x4ecf41,JSON[_0x514e10(0x242)](_0x28e0b2[_0x514e10(0x1c2)](_0x28e0b2[_0x514e10(0x1da)],'\x22'+_0x11b42c['pickleStep'][_0x514e10(0x1d7)]+'\x22')),_0x28e0b2[_0x514e10(0x206)]):await _0x28e0b2[_0x514e10(0x1b7)](_0x4ecf41,JSON['stringify'](_0x28e0b2[_0x514e10(0x1fb)]),_0x28e0b2[_0x514e10(0x206)]);}catch(_0x460988){logger[_0x514e10(0x1fd)](_0x514e10(0x1f8)+_0x460988);}_0x28e0b2[_0x514e10(0x200)](_0x40c06c);})[_0x9b3a68(0x1eb)](()=>_0x5daa33());});const a9_0x213cca={};a9_0x213cca[a9_0x37ad67(0x1c6)]=a9_0x37ad67(0x1cd),a9_0x213cca['timeout']=0x7530,AfterAll(a9_0x213cca,async function(_0x43cdb6,_0x2073c4){const _0x5cb3c7=a9_0x37ad67,_0xb16561={'plTbN':function(_0x3c346e){return _0x3c346e();},'fRROf':_0x5cb3c7(0x22e)};logger[_0x5cb3c7(0x1fd)](_0xb16561[_0x5cb3c7(0x1be)]),await new Promise(async _0x1b01d4=>{const _0x480e08=_0x5cb3c7;await RequestQueueHandler[_0x480e08(0x1b9)]()['shutdown'](),PerformanceTester['stopMonitoring'](),await global[_0x480e08(0x1c3)](),_0xb16561[_0x480e08(0x1ce)](_0x1b01d4);});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a10_0x1427da=a10_0x2983;(function(_0xc9242b,_0x1d149f){const _0x59b268=a10_0x2983,_0x4ae109=_0xc9242b();while(!![]){try{const _0x5ebd3a=parseInt(_0x59b268(0xa6))/0x1*(-parseInt(_0x59b268(0x92))/0x2)+parseInt(_0x59b268(0xa8))/0x3+parseInt(_0x59b268(0x93))/0x4+-parseInt(_0x59b268(0x91))/0x5+parseInt(_0x59b268(0x95))/0x6+-parseInt(_0x59b268(0x7d))/0x7+parseInt(_0x59b268(0x8f))/0x8;if(_0x5ebd3a===_0x1d149f)break;else _0x4ae109['push'](_0x4ae109['shift']());}catch(_0x3878ff){_0x4ae109['push'](_0x4ae109['shift']());}}}(a10_0x4474,0x890c8));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require('../../helpers/helper'),setKeepAlive=require(a10_0x1427da(0xa7)),cucumberModule=requireModule('cucumber/lib/index.js'),logger=require(a10_0x1427da(0x81))[a10_0x1427da(0x94)];modifyCommand(),setKeepAlive();function a10_0x2983(_0x2991e3,_0x2fea45){const _0x4474a4=a10_0x4474();return a10_0x2983=function(_0x2983b6,_0x1f3a9c){_0x2983b6=_0x2983b6-0x75;let _0x2ae20e=_0x4474a4[_0x2983b6];return _0x2ae20e;},a10_0x2983(_0x2991e3,_0x2fea45);}const Before=cucumberModule[a10_0x1427da(0x99)],After=cucumberModule[a10_0x1427da(0x76)],configuration=process[a10_0x1427da(0x82)][a10_0x1427da(0x9f)];if(configuration!==undefined){const config=JSON[a10_0x1427da(0x8a)](configuration);isTrue(config['skipSessionName'])&&(global[a10_0x1427da(0x87)]=!![]),global['__skipSessionStatus']=isTrue(config[a10_0x1427da(0xa1)]),require(a10_0x1427da(0x7e))[a10_0x1427da(0x9e)](config),global[a10_0x1427da(0x9d)]=config[a10_0x1427da(0x88)]||{};}global[a10_0x1427da(0x85)]=0x0;const __setDefaultTimeout=cucumberModule[a10_0x1427da(0x97)];function a10_0x4474(){const _0x1d3c5e=['GgSBC','setDefaultTimeout','HTeyk','Before','\x22}}','AbdOb','Inside\x20browserstack\x20Before','__platformCaps','browserstackAgentV2','CONFIG','timeout','skipSessionStatus','nTNGG','toLowerCase','yQgpv','name','19163ykIlsu','../../helpers/setKeepAlive','1462563nxKiSy','WXUgk','After','debug','fgjJC','KzRFu','bstack','pickle','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','6071513MTZdHN','../../index','session_','\x20|\x20','../../helpers/logger','env','Error:\x20setting\x20status\x20at\x20After:\x20','executeScript','__timeout','ddoiz','__skipSessionName','platformCaps','__error_messages__','parse','Error:\x20quiting\x20at\x20After:\x20','Inside\x20browserstack\x20After','rSlXD','failed','3807608jYCbih','__driver','2194370DZaTfS','98QhfXhN','3358188sNckuh','winstonLogger','6021318LBhsut'];a10_0x4474=function(){return _0x1d3c5e;};return a10_0x4474();}cucumberModule['setDefaultTimeout']=_0x299c87=>{const _0x40014e=a10_0x1427da,_0x290083={'ddoiz':function(_0x53779a,_0xac8694){return _0x53779a(_0xac8694);}};global[_0x40014e(0x85)]=_0x299c87,_0x290083[_0x40014e(0x86)](__setDefaultTimeout,_0x299c87);};const a10_0x11bbea={};a10_0x11bbea[a10_0x1427da(0xa5)]=a10_0x1427da(0x7a),Before(a10_0x11bbea,function(){const _0xaa1541=a10_0x1427da,_0x51e608={};_0x51e608[_0xaa1541(0xa2)]=_0xaa1541(0x9c);const _0x1ea11c=_0x51e608;logger[_0xaa1541(0x77)](_0x1ea11c['nTNGG']),global[_0xaa1541(0x89)]=[];});const a10_0x16b4f6={};a10_0x16b4f6[a10_0x1427da(0xa5)]='bstack',a10_0x16b4f6[a10_0x1427da(0xa0)]=0x2710,After(a10_0x16b4f6,function(_0x33d101,_0x1c67a1){const _0x100c75=a10_0x1427da,_0x219c13={'HTeyk':function(_0x17c08f,_0x11e8a3){return _0x17c08f===_0x11e8a3;},'fgjJC':_0x100c75(0x8e),'AbdOb':function(_0x1fecd5,_0x4b7dc4,_0x2634a9,_0xc3c8c){return _0x1fecd5(_0x4b7dc4,_0x2634a9,_0xc3c8c);},'rSlXD':_0x100c75(0x80),'yQgpv':function(_0x21f792,_0x4519cc,_0x44ab3f){return _0x21f792(_0x4519cc,_0x44ab3f);},'NQusd':'passed','WXUgk':function(_0x3e13e2){return _0x3e13e2();},'KzRFu':function(_0x559a1a,_0x526aac){return _0x559a1a(_0x526aac);},'GgSBC':function(_0x222be7){return _0x222be7();},'dJeLd':_0x100c75(0x8c)};logger[_0x100c75(0x77)](_0x219c13['dJeLd']),new Promise(async(_0x4eb8c5,_0x52ea30)=>{const _0x7072c0=_0x100c75;let _0x35aa89=![];try{await global[_0x7072c0(0x90)][_0x7072c0(0x7f)],_0x35aa89=!![],!global[_0x7072c0(0x87)]&&await global['__driver'][_0x7072c0(0x84)](_0x7072c0(0x7c)+_0x33d101[_0x7072c0(0x7b)][_0x7072c0(0xa5)]+_0x7072c0(0x9a)),_0x219c13[_0x7072c0(0x98)](_0x33d101['result']['status'][_0x7072c0(0xa3)](),_0x219c13[_0x7072c0(0x78)])?await _0x219c13[_0x7072c0(0x9b)](markSessionStatus,global[_0x7072c0(0x90)],_0x219c13[_0x7072c0(0x78)],global[_0x7072c0(0x89)]['join'](_0x219c13[_0x7072c0(0x8d)])):await _0x219c13[_0x7072c0(0xa4)](markSessionStatus,global[_0x7072c0(0x90)],_0x219c13['NQusd']);}catch(_0x215fa9){logger[_0x7072c0(0x77)](_0x7072c0(0x83)+_0x215fa9);}if(_0x35aa89)try{await global[_0x7072c0(0x90)]['initQuit'](),_0x219c13[_0x7072c0(0x75)](_0x4eb8c5);}catch(_0x2e3c83){logger[_0x7072c0(0x77)](_0x7072c0(0x8b)+_0x2e3c83),_0x219c13[_0x7072c0(0x79)](_0x52ea30,_0x2e3c83);}else _0x219c13[_0x7072c0(0x96)](_0x52ea30);})['then'](()=>_0x1c67a1());});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a11_0xec998=a11_0x23a5;(function(_0xc69443,_0x2c0024){const _0x55e40d=a11_0x23a5,_0x27e3b3=_0xc69443();while(!![]){try{const _0x2a00da=-parseInt(_0x55e40d(0x15b))/0x1*(parseInt(_0x55e40d(0x157))/0x2)+parseInt(_0x55e40d(0x15c))/0x3*(-parseInt(_0x55e40d(0x161))/0x4)+parseInt(_0x55e40d(0x156))/0x5+parseInt(_0x55e40d(0x15d))/0x6*(parseInt(_0x55e40d(0x159))/0x7)+parseInt(_0x55e40d(0x15a))/0x8+parseInt(_0x55e40d(0x166))/0x9*(-parseInt(_0x55e40d(0x165))/0xa)+parseInt(_0x55e40d(0x158))/0xb*(parseInt(_0x55e40d(0x163))/0xc);if(_0x2a00da===_0x2c0024)break;else _0x27e3b3['push'](_0x27e3b3['shift']());}catch(_0x12fd39){_0x27e3b3['push'](_0x27e3b3['shift']());}}}(a11_0x3bf5,0xba457));function a11_0x3bf5(){const _0x25e53b=['1816970bvPOhd','27yJBotK','4404220kXVOXe','1404418pmyeVF','2277803DnBfcQ','9533657MDaehi','3615608hOVPbI','2jKULYW','9399faXNxm','6WIlnds','setDefaultTimeout','BSTACK_DELTA','cucumber/lib/index.js','1828mnJFsk','../utils/constants','84ohOLki','@cucumber/cucumber/lib/index.js'];a11_0x3bf5=function(){return _0x25e53b;};return a11_0x3bf5();}const {requireModule}=require('../../helpers/helper'),constants=require(a11_0xec998(0x162));;function a11_0x23a5(_0x306470,_0x17ccab){const _0x3bf57f=a11_0x3bf5();return a11_0x23a5=function(_0x23a560,_0x10d3f0){_0x23a560=_0x23a560-0x156;let _0x355012=_0x3bf57f[_0x23a560];return _0x355012;},a11_0x23a5(_0x306470,_0x17ccab);}let cucumberModule=null;try{cucumberModule=requireModule(a11_0xec998(0x164));}catch(a11_0x104f2b){cucumberModule=requireModule(a11_0xec998(0x160));}cucumberModule[a11_0xec998(0x15e)](constants[a11_0xec998(0x15f)]+global['__timeout']*0x1);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';
|
|
2
|
+
'use strict';function a12_0x347b(_0x35d541,_0x10658e){const _0x46118b=a12_0x4611();return a12_0x347b=function(_0x347bc3,_0xf5439b){_0x347bc3=_0x347bc3-0xf0;let _0x2ce6e5=_0x46118b[_0x347bc3];return _0x2ce6e5;},a12_0x347b(_0x35d541,_0x10658e);}const a12_0x589e77=a12_0x347b;(function(_0x47d7dc,_0x4d8f8d){const _0x8b01e4=a12_0x347b,_0x2d0995=_0x47d7dc();while(!![]){try{const _0x3a9769=parseInt(_0x8b01e4(0x108))/0x1+-parseInt(_0x8b01e4(0x131))/0x2*(-parseInt(_0x8b01e4(0xff))/0x3)+parseInt(_0x8b01e4(0x107))/0x4*(-parseInt(_0x8b01e4(0x12b))/0x5)+parseInt(_0x8b01e4(0x118))/0x6*(parseInt(_0x8b01e4(0xfd))/0x7)+parseInt(_0x8b01e4(0x10c))/0x8*(-parseInt(_0x8b01e4(0x116))/0x9)+parseInt(_0x8b01e4(0x115))/0xa*(parseInt(_0x8b01e4(0x110))/0xb)+-parseInt(_0x8b01e4(0x11b))/0xc*(parseInt(_0x8b01e4(0x112))/0xd);if(_0x3a9769===_0x4d8f8d)break;else _0x2d0995['push'](_0x2d0995['shift']());}catch(_0x306577){_0x2d0995['push'](_0x2d0995['shift']());}}}(a12_0x4611,0xb414b));const {default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),logger=require('../../helpers/logger')[a12_0x589e77(0xf5)],{URL}=require(a12_0x589e77(0x11a)),helper=require('../../helpers/helper'),{HELP_MESSAGES,ERROR_MESSAGES}=require(a12_0x589e77(0x100)),validHosts=function(_0x1be9c0){const _0x34f713=a12_0x589e77;return _0x1be9c0['split'](',')[_0x34f713(0xfb)](_0x363653=>{const _0x590e0a=_0x34f713;try{new URL(_0x363653[_0x590e0a(0xfc)]());}catch(_0x1f1a05){return![];}return!![];});},parseOnPremHosts=function(_0x12a58f){const _0x3087de=a12_0x589e77,_0x17fe5f={};_0x17fe5f[_0x3087de(0x121)]=function(_0x1f7561,_0x161165){return _0x1f7561===_0x161165;},_0x17fe5f[_0x3087de(0x10b)]='https:',_0x17fe5f[_0x3087de(0x104)]='443',_0x17fe5f['zsLGD']=function(_0x585f28,_0x45beb2){return _0x585f28===_0x45beb2;},_0x17fe5f[_0x3087de(0x124)]=_0x3087de(0x12d);const _0x263a7e=_0x17fe5f;return _0x12a58f[_0x3087de(0x105)](',')['map'](_0x6db520=>{const _0x458d83=_0x3087de,_0x59fe39=new URL(_0x6db520[_0x458d83(0xfc)]()),_0x4e7077=_0x59fe39['hostname'],_0x407193=_0x59fe39['port']||(_0x263a7e[_0x458d83(0x121)](_0x59fe39[_0x458d83(0x130)],_0x263a7e[_0x458d83(0x10b)])?_0x263a7e['SPmmE']:'80'),_0x15caa4=_0x59fe39[_0x458d83(0x130)][_0x458d83(0x11f)](':',''),_0x5ce40f=_0x263a7e[_0x458d83(0x12a)](_0x15caa4,_0x263a7e[_0x458d83(0x124)])?0x1:0x0;return _0x4e7077+','+_0x407193+','+_0x5ce40f;});},connectCommandBuilder=function(_0x3a4f9b){const _0xe95721=a12_0x589e77,_0x506db3={};_0x506db3[_0xe95721(0xf3)]='string';const _0x246bae=_0x506db3,_0x5525cb={};_0x5525cb[_0xe95721(0x120)]=HELP_MESSAGES[_0xe95721(0x111)]['bstackAccessKey'],_0x5525cb[_0xe95721(0xf0)]=_0x246bae[_0xe95721(0xf3)];const _0x5e5b63={};_0x5e5b63[_0xe95721(0x120)]=HELP_MESSAGES['options']['hosts'],_0x5e5b63[_0xe95721(0xf0)]=_0x246bae[_0xe95721(0xf3)],_0x5e5b63['demandOption']=!![];const _0x4180e8={};return _0x4180e8['bstack-accesskey']=_0x5525cb,_0x4180e8[_0xe95721(0x114)]=_0x5e5b63,_0x3a4f9b[_0xe95721(0x111)](_0x4180e8);},connectCommandHandler=async function(_0x4c204a){const _0x1f072f=a12_0x589e77,_0x28fbd3={'Bwcii':'integrations','wsPdI':function(_0xb85e,_0x4a6849){return _0xb85e===_0x4a6849;},'ehtVd':'undefined','PIIhw':_0x1f072f(0xf7),'lMNfy':'Integration\x20hosts\x20missing.','wxslN':function(_0x21079a,_0x590351){return _0x21079a(_0x590351);},'JIJjo':_0x1f072f(0x123),'hALum':_0x1f072f(0x10e),'tVWJd':'Connection\x20established\x20successfully.','yuogF':'Failed\x20to\x20establish\x20connection.'};try{const _0x5e3400=new BrowserStackSetup(_0x4c204a,_0x28fbd3[_0x1f072f(0x10a)]);_0x4c204a['bstackAccesskey']&&(_0x5e3400[_0x1f072f(0x12e)][_0x1f072f(0x128)]=_0x4c204a[_0x1f072f(0x11d)]);if(_0x28fbd3[_0x1f072f(0x117)](typeof _0x5e3400[_0x1f072f(0x12e)]['accessKey'],_0x28fbd3[_0x1f072f(0x11e)])){logger['error'](_0x28fbd3[_0x1f072f(0x103)]);throw new Error(ERROR_MESSAGES[_0x1f072f(0xf9)][_0x1f072f(0xf2)]);}const _0x51ffef=_0x4c204a['hosts'];if(_0x28fbd3[_0x1f072f(0x117)](typeof _0x51ffef,_0x28fbd3[_0x1f072f(0x11e)])){logger['error'](_0x28fbd3['lMNfy']);throw new Error(ERROR_MESSAGES[_0x1f072f(0x114)][_0x1f072f(0xf2)]);}if(!_0x28fbd3[_0x1f072f(0x127)](validHosts,_0x51ffef)){logger[_0x1f072f(0x129)](_0x28fbd3[_0x1f072f(0x119)]);throw new Error(ERROR_MESSAGES[_0x1f072f(0x114)][_0x1f072f(0xf6)]);}const _0x409e52=_0x28fbd3[_0x1f072f(0x127)](parseOnPremHosts,_0x51ffef);_0x5e3400['config']['browserstackLocal']=!![],_0x5e3400[_0x1f072f(0x12e)][_0x1f072f(0x12c)][_0x1f072f(0x113)]=_0x28fbd3[_0x1f072f(0x109)],_0x5e3400[_0x1f072f(0x12e)]['browserStackLocalOptions'][_0x1f072f(0x106)]=_0x409e52[_0x1f072f(0x125)](','),helper[_0x1f072f(0x11c)](_0x5e3400['config']),await _0x5e3400[_0x1f072f(0xfa)](),logger[_0x1f072f(0x101)](_0x28fbd3['tVWJd']);}catch(_0x2cbccc){logger['error'](_0x28fbd3[_0x1f072f(0xf1)]);throw new Error(_0x2cbccc[_0x1f072f(0x10d)]());}};function run(_0x29bd2f){const _0x4525a5=a12_0x589e77,_0x5ca273={};_0x5ca273[_0x4525a5(0xf8)]='connect',_0x5ca273[_0x4525a5(0xf4)]='help';const _0xe29e52=_0x5ca273;_0x29bd2f['usage'](HELP_MESSAGES[_0x4525a5(0xfe)][_0x4525a5(0x102)])[_0x4525a5(0xfe)](_0xe29e52[_0x4525a5(0xf8)],HELP_MESSAGES[_0x4525a5(0xfe)][_0x4525a5(0x10f)],connectCommandBuilder,connectCommandHandler)['demandCommand']()[_0x4525a5(0x12f)](_0xe29e52[_0x4525a5(0xf4)])[_0x4525a5(0x122)](HELP_MESSAGES['command'][_0x4525a5(0x132)]);}function a12_0x4611(){const _0x55f342=['236220naHlJA','4579371BjDbEN','wsPdI','12BhFKSi','JIJjo','url','96CbiKak','setProxySettings','bstackAccesskey','ehtVd','replace','describe','UlRZh','epilogue','Hosts\x20not\x20valid','shASJ','join','exports','wxslN','accessKey','error','zsLGD','6332745LkUxBE','browserStackLocalOptions','https','config','help','protocol','10agpHKT','footer','type','yuogF','missing','pKJxP','Btjey','winstonLogger','invalid','BrowserStack\x20access\x20key\x20missing.','MIrtM','bstackAccessKey','setupBrowserstackLocal','every','trim','3668861oJzjOU','command','417435vVGrsL','./constants','info','root','PIIhw','SPmmE','split','only','4ZOVDrd','1071076pRQFDb','hALum','Bwcii','BtZtl','8IdsQNi','toString','integrations-repeater','connect','22gEeblA','options','567632SuuSsu','localIdentifier','hosts'];a12_0x4611=function(){return _0x55f342;};return a12_0x4611();}module[a12_0x589e77(0x126)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a13_0x9510(){var _0x1a9c21=['15CAgvxi','4557098NLlxiB','119976qmgVgi','Integration\x20hosts\x20are\x20not\x20in\x20the\x20right\x20format.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','ERROR_MESSAGES','options','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','hosts','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','missing','205150ScueTJ','bstackAccessKey','17036iTGcnj','HELP_MESSAGES','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','121PLxrXD','142356pIfKkd','connect','This\x20option\x20allows\x20you\x20to\x20provide\x20additional\x20configuration\x20specific\x20to\x20your\x20environment.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','130404CRMImc','38zopJNP','162SinDrt','root','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','363954mhqLav'];a13_0x9510=function(){return _0x1a9c21;};return a13_0x9510();}var a13_0x200ea8=a13_0x20a1;(function(_0x565f1e,_0x4b1c87){var _0x2e3edf=a13_0x20a1,_0x575705=_0x565f1e();while(!![]){try{var _0xcd6bdf=parseInt(_0x2e3edf(0x95))/0x1*(-parseInt(_0x2e3edf(0xa7))/0x2)+-parseInt(_0x2e3edf(0x94))/0x3+parseInt(_0x2e3edf(0x91))/0x4+parseInt(_0x2e3edf(0x9a))/0x5*(parseInt(_0x2e3edf(0x99))/0x6)+parseInt(_0x2e3edf(0x9b))/0x7+parseInt(_0x2e3edf(0x9c))/0x8*(parseInt(_0x2e3edf(0x96))/0x9)+parseInt(_0x2e3edf(0xa5))/0xa*(-parseInt(_0x2e3edf(0x90))/0xb);if(_0xcd6bdf===_0x4b1c87)break;else _0x575705['push'](_0x575705['shift']());}catch(_0x27d4f9){_0x575705['push'](_0x575705['shift']());}}}(a13_0x9510,0x853ad));var a13_0x27e068={};a13_0x27e068[a13_0x200ea8(0xa6)]=a13_0x200ea8(0x98),a13_0x27e068[a13_0x200ea8(0xa2)]=a13_0x200ea8(0x93);var a13_0x37d780={};a13_0x37d780[a13_0x200ea8(0x97)]='Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.',a13_0x37d780[a13_0x200ea8(0x92)]=a13_0x200ea8(0xa1),a13_0x37d780['footer']=a13_0x200ea8(0xa3);var a13_0x149c33={};a13_0x149c33[a13_0x200ea8(0xa0)]=a13_0x27e068,a13_0x149c33['command']=a13_0x37d780,exports[a13_0x200ea8(0xa8)]=a13_0x149c33;var a13_0x47d707={};a13_0x47d707[a13_0x200ea8(0xa4)]=a13_0x200ea8(0x9e);var a13_0x5bf221={};a13_0x5bf221[a13_0x200ea8(0xa4)]=a13_0x200ea8(0xa9),a13_0x5bf221['invalid']=a13_0x200ea8(0x9d);var a13_0x5ee0b6={};function a13_0x20a1(_0x10b7ff,_0x3d7417){var _0x95108d=a13_0x9510();return a13_0x20a1=function(_0x20a12a,_0x1aa1e1){_0x20a12a=_0x20a12a-0x90;var _0x253eb4=_0x95108d[_0x20a12a];return _0x253eb4;},a13_0x20a1(_0x10b7ff,_0x3d7417);}a13_0x5ee0b6[a13_0x200ea8(0xa6)]=a13_0x47d707,a13_0x5ee0b6[a13_0x200ea8(0xa2)]=a13_0x5bf221,exports[a13_0x200ea8(0x9f)]=a13_0x5ee0b6;
|