browserstack-node-sdk 1.34.5 → 1.34.6
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_0x3725be=a6_0xf7a7;(function(_0x33b3d7,_0x2f4ab8){const _0x569e50=a6_0xf7a7,_0x232b4f=_0x33b3d7();while(!![]){try{const _0x74b920=parseInt(_0x569e50(0x213))/0x1*(parseInt(_0x569e50(0x24a))/0x2)+parseInt(_0x569e50(0x1f7))/0x3*(parseInt(_0x569e50(0x25e))/0x4)+-parseInt(_0x569e50(0x1e9))/0x5*(parseInt(_0x569e50(0x266))/0x6)+-parseInt(_0x569e50(0x1f0))/0x7+-parseInt(_0x569e50(0x240))/0x8+-parseInt(_0x569e50(0x201))/0x9+parseInt(_0x569e50(0x273))/0xa;if(_0x74b920===_0x2f4ab8)break;else _0x232b4f['push'](_0x232b4f['shift']());}catch(_0x440760){_0x232b4f['push'](_0x232b4f['shift']());}}}(a6_0x526e,0xdcc28));function a6_0xf7a7(_0x259530,_0x3d673c){const _0x526eea=a6_0x526e();return a6_0xf7a7=function(_0xf7a7df,_0x3a85ed){_0xf7a7df=_0xf7a7df-0x1e1;let _0x3164c3=_0x526eea[_0xf7a7df];return _0x3164c3;},a6_0xf7a7(_0x259530,_0x3d673c);}const {requireModule,getPlatformName,nestedKeyValue,isUndefined}=require(a6_0x3725be(0x232)),util=require(a6_0x3725be(0x23f)),{Formatter,formatterHelpers,Status}=requireModule(a6_0x3725be(0x245)),TestDetails=require('../../playwright/reporter/test-details.js'),TestObservabilityReporter=require('../test-observability.js'),{o11yClassErrorHandler}=require(a6_0x3725be(0x237)),{shouldProcessEventForTesthub}=require(a6_0x3725be(0x21b)),testObservabilityReporter=new TestObservabilityReporter(),logger=require(a6_0x3725be(0x209))['winstonLogger'],_tests={},_testCasesData={};function a6_0x526e(){const _0x21da54=['gherkinDocument','debug','../../../helpers/testhub/utils.js','includes','background','HookRunStarted','forEach','name','eventDataCollector','cwd','sQFtm','UhYMF','sendHook','failed','onTestRunFinished','wecqy','CFJxD','duration','supportCodeLibrary','map','snJXR','FAILED','__platform','pickleStepId','afterTestCaseHookDefinitions','../../../helpers/helper','line','gherkinDocumentMap','maJnI','nPNKE','../../../helpers/test-observability/error-handler','TestRunFinished','wDCav','testSteps','zMPlz','checkHookURI','getTestUUID','getTestCaseAttempt','util','12716200fSlXGT','result','extractStepContainers','yHlLr','length','@cucumber/cucumber','parseTestCaseAttempt','logTestRunFinished','PENDING','exception','2SZJBvl','scenario','IrpjG','onTestStepFinished','cuGFr','PASSED','oOlCq','testStepStarted','cucumber-js/test.setup.js','UNDEFINED','xsEcr','GMkDv','failureType','onTestCaseStarted','HookRunFinished','qnGBH','rGGtA','stepDefinitionIds','status','children','8SEtHJf','LBszP','actionLocation','sendTestRunEventForCucumber','sourceLocation','kgwHB','toString','keyword','6XFAXNJ','TFpWO','snippetBuilder','testRunStarted','NUEes','envelope','kUdob','pickleId','onTestStepStarted','hMcVX','pickleMap','testCaseFinished','values','53272850TvaXoX','finishedAt','testStepId','BslHg','WtBOK','toISOString','UnhandledError','WrKig','TWlsn','Exception\x20in\x20sending\x20onTestCaseFinished\x20event:\x20\x20','rule','TpiDi','UNKNOWN','toLowerCase','CwIPM','hookId','testRunFinished','push','Exception\x20in\x20onTestStepStarted\x20event:\x20','xmmoh','onTestCaseFinished','testCaseAttempt','xTRso','XMNJM','xxRXU','onTestRunStarted','HvUAr','iJiqT','stepDefinitions','4604995HGETYw','pickle','LxKKW','steps','testCaseStarted','yTTvY','parse','10575166MCBHcs','TestRunStarted','getGherkinStepMap','incrementCounter','testCaseMap','FqETE','yHbUS','668406MqrGsN','Exception\x20in\x20sending\x20onTestCaseStarted:\x20','qVjPK','Exception\x20in\x20onTestStepFinished\x20event:\x20','\x20\x20\x20\x20','testStepResult','testStepFinished','getGherkinDocument','feature','IwWiX','14193477yjfOnF','format','find','text','CONFIG','aUTZa','env','SKIPPED','../../../helpers/logger','testCaseAttemptDataMap','setup','ubtlQ','uri','log','3|4|0|1|2','seconds','XprLU','Kgdtd','729658TOLboB','testCaseId','\x20-\x20','testCaseStartedId','yPvgH','beforeTestCaseHookDefinitions'];a6_0x526e=function(){return _0x21da54;};return a6_0x526e();}class BrowserstackFormatter extends Formatter{constructor(_0x2f0b46){const _0x5030f5=a6_0x3725be,_0xac7222={};_0xac7222[_0x5030f5(0x24e)]=_0x5030f5(0x26b);const _0x454e06=_0xac7222;super(_0x2f0b46),_0x2f0b46['eventBroadcaster']['on'](_0x454e06[_0x5030f5(0x24e)],async _0x54fb6e=>{const _0x200a2d=_0x5030f5;switch(!![]){case!!_0x54fb6e[_0x200a2d(0x269)]:this['onTestRunStarted']();break;case!!_0x54fb6e['testRunFinished']:this[_0x200a2d(0x227)](_0x54fb6e[_0x200a2d(0x283)]);break;case!!_0x54fb6e[_0x200a2d(0x1ed)]:this[_0x200a2d(0x257)](_0x54fb6e['testCaseStarted'],_0x2f0b46,_0x54fb6e);break;case!!_0x54fb6e['testCaseFinished']:this[_0x200a2d(0x287)](_0x54fb6e[_0x200a2d(0x271)],_0x2f0b46,_0x54fb6e);break;case!!_0x54fb6e[_0x200a2d(0x251)]:this[_0x200a2d(0x26e)](_0x54fb6e['testStepStarted'],_0x2f0b46);break;case!!_0x54fb6e[_0x200a2d(0x1fd)]:this['onTestStepFinished'](_0x54fb6e['testStepFinished'],_0x2f0b46);break;}});}['logTestCaseFinished'](_0x1d99ee){const _0x375ff3=a6_0x3725be,_0xc28bb8={'NUEes':function(_0x4af45f,_0x2201b4){return _0x4af45f!==_0x2201b4;},'yPvgH':'bstack','wecqy':function(_0xd4f7f0,_0x2fabf8){return _0xd4f7f0+_0x2fabf8;},'maJnI':function(_0x55417f,_0x5b7ac1){return _0x55417f+_0x5b7ac1;},'CwIPM':function(_0x3261f9,_0x100f1a){return _0x3261f9+_0x100f1a;},'yHlLr':_0x375ff3(0x1fb),'LxKKW':_0x375ff3(0x215),'snJXR':function(_0x327eaf,_0x552399){return _0x327eaf===_0x552399;},'UhYMF':_0x375ff3(0x22e),'FqETE':function(_0x301a52,_0x3b9405,_0x783d80){return _0x301a52(_0x3b9405,_0x783d80);},'ubtlQ':_0x375ff3(0x241),'IwWiX':'message','xTRso':function(_0x57903c,_0x21a8f9){return _0x57903c+_0x21a8f9;},'HvUAr':function(_0x485326,_0x2f66ad){return _0x485326!==_0x2f66ad;},'sQFtm':function(_0x1e17ed,_0x3f9ac3){return _0x1e17ed+_0x3f9ac3;},'zHsPG':function(_0x31eb98,_0x51279c){return _0x31eb98+_0x51279c;},'XprLU':function(_0x370b7e,_0x45f973){return _0x370b7e+_0x45f973;}};_0xc28bb8[_0x375ff3(0x1e6)](global[_0x375ff3(0x22f)],undefined)&&this[_0x375ff3(0x20e)](_0xc28bb8[_0x375ff3(0x223)](_0xc28bb8['zHsPG']('\x0a',global[_0x375ff3(0x22f)]),'\x0a'));const _0x92af8d=this[_0x375ff3(0x221)][_0x375ff3(0x23e)](_0x1d99ee[_0x375ff3(0x216)]);this[_0x375ff3(0x20e)](_0xc28bb8[_0x375ff3(0x211)](_0xc28bb8[_0x375ff3(0x235)](_0xc28bb8[_0x375ff3(0x228)](_0xc28bb8[_0x375ff3(0x281)]('\x20\x20',_0x92af8d[_0x375ff3(0x219)][_0x375ff3(0x1ff)][_0x375ff3(0x220)]),_0xc28bb8[_0x375ff3(0x1eb)]),_0x92af8d[_0x375ff3(0x1ea)]['name']),'\x0a'));const _0x45213b={};_0x45213b[_0x375ff3(0x222)]=this[_0x375ff3(0x222)],_0x45213b[_0x375ff3(0x268)]=this[_0x375ff3(0x268)],_0x45213b[_0x375ff3(0x22b)]=this[_0x375ff3(0x22b)],_0x45213b[_0x375ff3(0x1e1)]=_0x92af8d;const _0x4bc74a=formatterHelpers[_0x375ff3(0x246)](_0x45213b);let _0x59f621=![];_0x4bc74a[_0x375ff3(0x23a)][_0x375ff3(0x21f)](_0x38d8fc=>{const _0x728f6a=_0x375ff3;if(_0xc28bb8[_0x728f6a(0x26a)](_0x38d8fc[_0x728f6a(0x220)],_0xc28bb8[_0x728f6a(0x217)])&&!this['isBstackHook'](_0x38d8fc)){totalTests+=0x1,this[_0x728f6a(0x20e)](_0xc28bb8['wecqy'](_0xc28bb8[_0x728f6a(0x235)](_0xc28bb8[_0x728f6a(0x228)](_0xc28bb8[_0x728f6a(0x281)](_0xc28bb8[_0x728f6a(0x235)](_0xc28bb8[_0x728f6a(0x243)],_0x38d8fc[_0x728f6a(0x265)]),_0x38d8fc[_0x728f6a(0x204)]||''),_0xc28bb8[_0x728f6a(0x1eb)]),Status[_0x38d8fc[_0x728f6a(0x241)][_0x728f6a(0x25c)]]),'\x0a')),this[_0x728f6a(0x1f3)](Status[_0x38d8fc[_0x728f6a(0x241)][_0x728f6a(0x25c)]]);if(_0xc28bb8[_0x728f6a(0x22d)](Status[_0x38d8fc[_0x728f6a(0x241)][_0x728f6a(0x25c)]],_0xc28bb8[_0x728f6a(0x224)])){_0x59f621=!![];const _0x2024ee=_0xc28bb8[_0x728f6a(0x1f5)](nestedKeyValue,_0x38d8fc,[_0xc28bb8[_0x728f6a(0x20c)],_0xc28bb8[_0x728f6a(0x200)]]);_0x2024ee&&(testsErrorMessage[_0xc28bb8[_0x728f6a(0x1e2)](_0xc28bb8['maJnI'](_0x92af8d['gherkinDocument'][_0x728f6a(0x1ff)]['name'],_0xc28bb8['LxKKW']),_0x92af8d[_0x728f6a(0x1ea)][_0x728f6a(0x220)])]=_0x2024ee,this[_0x728f6a(0x20e)](_0xc28bb8[_0x728f6a(0x281)](_0x2024ee,'\x0a')));}}}),_0x59f621&&(testSuitesFailed+=0x1),this[_0x375ff3(0x20e)]('\x0a');}[a6_0x3725be(0x247)](_0x246f77){}['isBstackHook'](_0x1ca6ac){const _0x9c0bfe=a6_0x3725be,_0x4455b9={};_0x4455b9[_0x9c0bfe(0x27a)]=function(_0x1eaee4,_0x449139){return _0x1eaee4!==_0x449139;},_0x4455b9['bSHyK']=_0x9c0bfe(0x252);const _0x2164c8=_0x4455b9;if(_0x2164c8[_0x9c0bfe(0x27a)](_0x1ca6ac[_0x9c0bfe(0x262)],undefined))return![];if(_0x1ca6ac[_0x9c0bfe(0x260)]&&_0x1ca6ac['actionLocation']['uri']['includes'](_0x2164c8['bSHyK']))return!![];return![];}[a6_0x3725be(0x1f3)](_0xfa00c9){const _0x36ab6a=a6_0x3725be,_0x5eafb4={};_0x5eafb4[_0x36ab6a(0x1ee)]=_0x36ab6a(0x22e),_0x5eafb4[_0x36ab6a(0x1f9)]=_0x36ab6a(0x24f),_0x5eafb4[_0x36ab6a(0x27e)]=_0x36ab6a(0x208),_0x5eafb4['GMkDv']=_0x36ab6a(0x248),_0x5eafb4['XqAhm']=_0x36ab6a(0x253),_0x5eafb4[_0x36ab6a(0x27b)]=_0x36ab6a(0x27f),_0x5eafb4['BslHg']='AMBIGUOUS';const _0x1a2e04=_0x5eafb4;switch(_0xfa00c9){case _0x1a2e04[_0x36ab6a(0x1ee)]:testsFailed+=0x1;break;case _0x1a2e04[_0x36ab6a(0x1f9)]:testsPassed+=0x1;break;case _0x1a2e04[_0x36ab6a(0x27e)]:testsSkipped+=0x1;break;case _0x1a2e04[_0x36ab6a(0x255)]:testsPending+=0x1;break;case _0x1a2e04['XqAhm']:testsUndefined+=0x1;break;case _0x1a2e04[_0x36ab6a(0x27b)]:testsUnknown+=0x1;break;case _0x1a2e04[_0x36ab6a(0x276)]:testsAmbiguous+=0x1;break;default:break;}}['onTestRunStarted'](){const _0x53e5e0=a6_0x3725be,_0x1a8525={'nPNKE':function(_0x18ee56,_0x5db24a){return _0x18ee56!==_0x5db24a;},'dZQwT':function(_0x45e079,_0x4ad122){return _0x45e079(_0x4ad122);},'TFpWO':function(_0x209b88,_0x152bc2){return _0x209b88+_0x152bc2;},'qnGBH':function(_0x1fd0d8){return _0x1fd0d8();}};let _0x376499;if(_0x1a8525[_0x53e5e0(0x236)](process[_0x53e5e0(0x207)][_0x53e5e0(0x205)],undefined)){const _0x42b68a=JSON[_0x53e5e0(0x1ef)](process[_0x53e5e0(0x207)][_0x53e5e0(0x205)]);_0x376499=_0x42b68a['capability'];}_0x1a8525[_0x53e5e0(0x236)](_0x376499,undefined)&&(global[_0x53e5e0(0x22f)]=_0x1a8525['dZQwT'](getPlatformName,_0x376499),this[_0x53e5e0(0x20e)](_0x1a8525[_0x53e5e0(0x267)]('Executing\x20tests\x20for\x20'+global[_0x53e5e0(0x22f)],'\x0a'))),_0x1a8525[_0x53e5e0(0x259)](shouldProcessEventForTesthub)&&TestDetails[_0x53e5e0(0x20b)]();}['onTestRunFinished'](_0x1e31b5){this['logTestRunFinished'](_0x1e31b5);}async[a6_0x3725be(0x257)](_0x5ec764,_0x326f17,_0x59fa3c){const _0x907925=a6_0x3725be,_0x206453={'CFJxD':function(_0x577d6d,_0x2f54f2){return _0x577d6d(_0x2f54f2);},'LBszP':_0x907925(0x1f1)};testSuites+=0x1;if(_0x206453[_0x907925(0x229)](shouldProcessEventForTesthub,_0x206453[_0x907925(0x25f)]))try{const _0x573ab8=TestDetails[_0x907925(0x23d)](_0x5ec764['id']),_0x2d381e=_0x5ec764['testCaseId'],_0x30495d=_0x326f17['eventDataCollector']['testCaseMap'][_0x2d381e],_0x25dfe4=_0x30495d[_0x907925(0x26d)],_0x3c556a=_0x326f17[_0x907925(0x221)][_0x907925(0x270)][_0x25dfe4],_0x1fd93c=this[_0x907925(0x1fe)](_0x326f17,_0x3c556a),_0x4ae790={'uuid':_0x573ab8,'startedAt':new Date()[_0x907925(0x278)]()};if(_0x3c556a){const _0x3b1cab={};_0x3b1cab[_0x907925(0x220)]=_0x3c556a['name'],_0x4ae790[_0x907925(0x24b)]=_0x3b1cab;}_tests[_0x2d381e]=_0x4ae790,await testObservabilityReporter['sendTestRunEventForCucumber'](_0x59fa3c,_0x1fd93c,_0x3c556a,_0x206453[_0x907925(0x25f)],_0x4ae790,_0x59fa3c);}catch(_0x80da98){logger[_0x907925(0x21a)](_0x907925(0x1f8)+util[_0x907925(0x202)](_0x80da98)+'\x20');}}async[a6_0x3725be(0x287)](_0x16b638,_0x31fdfd,_0x4185a5){const _0x198571=a6_0x3725be,_0x29ff7e={'xsEcr':function(_0x384fe0,_0x35a3d8){return _0x384fe0(_0x35a3d8);},'iJiqT':_0x198571(0x238)};this['logTestCaseFinished'](_0x16b638);if(_0x29ff7e[_0x198571(0x254)](shouldProcessEventForTesthub,_0x29ff7e[_0x198571(0x1e7)]))try{_testCasesData[_0x4185a5['id']]={..._0x4185a5};const _0x10e3c9=_0x16b638[_0x198571(0x216)],_0x37ac8c=_0x31fdfd[_0x198571(0x221)][_0x198571(0x20a)][_0x10e3c9]['testCaseId'],_0x4528ec=_0x31fdfd['eventDataCollector'][_0x198571(0x1f4)][_0x37ac8c],_0x40343f=_0x4528ec[_0x198571(0x26d)],_0x395c07=_0x31fdfd[_0x198571(0x221)][_0x198571(0x270)][_0x40343f],_0x3c56eb=this[_0x198571(0x1fe)](_0x31fdfd,_0x395c07),_0x36b211=_tests[_0x37ac8c];_0x36b211&&(delete _tests[_0x37ac8c],_0x36b211[_0x198571(0x274)]=new Date()['toISOString']()),await testObservabilityReporter[_0x198571(0x261)](_0x4185a5,_0x3c56eb,_0x395c07,_0x29ff7e[_0x198571(0x1e7)],_0x36b211,_0x4185a5);}catch(_0x554d4f){logger[_0x198571(0x21a)](_0x198571(0x27c)+util[_0x198571(0x202)](_0x554d4f));}}async[a6_0x3725be(0x26e)](_0x18fcf9,_0x3dca3e){const _0x28d216=a6_0x3725be,_0x403170={'HNhXT':function(_0x52e5d3,_0xe96784){return _0x52e5d3(_0xe96784);},'wDCav':_0x28d216(0x21e),'aUTZa':function(_0x5829e3,_0x54e941){return _0x5829e3!==_0x54e941;},'rGGtA':_0x28d216(0x275)};if(_0x403170['HNhXT'](shouldProcessEventForTesthub,_0x403170[_0x28d216(0x239)]))try{const _0x4b4227=_0x18fcf9[_0x28d216(0x216)],_0x5dedec=_0x3dca3e['eventDataCollector'][_0x28d216(0x20a)][_0x4b4227][_0x28d216(0x214)],_0x4a80bd=_0x3dca3e[_0x28d216(0x221)][_0x28d216(0x1f4)]?.[_0x5dedec],_0x1adda8=_0x4a80bd?.[_0x28d216(0x26d)],_0x5b80f9=_0x3dca3e[_0x28d216(0x221)][_0x28d216(0x270)]?.[_0x1adda8],_0x108102=_0x18fcf9?.[_0x28d216(0x275)],_0x468335=_0x4a80bd?.['testSteps'],_0x3d0862=this[_0x28d216(0x221)][_0x28d216(0x23e)](_0x4b4227),_0x425c14=_0x468335[_0x28d216(0x203)](_0x2c0568=>_0x2c0568['id']===_0x108102)[_0x28d216(0x230)],_0x1d155c=_0x5b80f9['steps'][_0x28d216(0x203)](_0x2d1e33=>_0x2d1e33['id']===_0x425c14);if(_0x425c14&&_0x403170[_0x28d216(0x206)](_tests[_0x5dedec]?.[_0x403170['rGGtA']],_0x108102)){_tests[_0x5dedec][_0x403170[_0x28d216(0x25a)]]=_0x108102;const _0x4b9475={};_0x4b9475[_0x28d216(0x1ec)]=[];const _0x285481=_tests[_0x5dedec]||_0x4b9475;_0x285481&&!_0x285481[_0x28d216(0x1ec)]&&(_0x285481['steps']=[]),_0x285481[_0x28d216(0x1ec)]?.[_0x28d216(0x284)]({'id':_0x1d155c['id'],'text':_0x1d155c[_0x28d216(0x204)],'started_at':new Date()[_0x28d216(0x278)]()}),_tests[_0x5dedec]=_0x285481;}const _0x104954=this[_0x28d216(0x23c)](_0x468335[_0x28d216(0x203)](_0x356349=>_0x356349['id']===_0x108102),_0x3d0862[_0x28d216(0x1ea)][_0x28d216(0x20d)]);!_0x104954&&await testObservabilityReporter[_0x28d216(0x225)](_0x3d0862,_0x403170[_0x28d216(0x239)],_tests[_0x5dedec],_0x18fcf9);}catch(_0x16c73c){logger['debug'](_0x28d216(0x285)+util[_0x28d216(0x202)](_0x16c73c));}}async[a6_0x3725be(0x24d)](_0x51105f,_0x534c51){const _0x1648a3=a6_0x3725be,_0x47d1ef={'xmmoh':function(_0x370ecf,_0x11edc9){return _0x370ecf===_0x11edc9;},'kgwHB':_0x1648a3(0x20f),'hMcVX':function(_0xbce34b,_0x24fdcd){return _0xbce34b(_0x24fdcd);},'WtBOK':_0x1648a3(0x258),'Kgdtd':function(_0x4e6ab8,_0x6fd331){return _0x4e6ab8===_0x6fd331;},'xxRXU':_0x1648a3(0x226),'nnSyw':function(_0x1cdd09,_0x441278){return _0x1cdd09===_0x441278;},'FYolX':_0x1648a3(0x279),'kUdob':_0x1648a3(0x275)};if(_0x47d1ef[_0x1648a3(0x26f)](shouldProcessEventForTesthub,_0x47d1ef['WtBOK']))try{const _0x49b70a=_0x51105f[_0x1648a3(0x216)],_0x437120=_0x534c51[_0x1648a3(0x221)]['testCaseAttemptDataMap'][_0x49b70a][_0x1648a3(0x214)],_0x11c3fd=_0x534c51[_0x1648a3(0x221)]['testCaseMap'][_0x437120],_0x37e629=_0x11c3fd[_0x1648a3(0x26d)],_0x414889=_0x534c51[_0x1648a3(0x221)]['pickleMap'][_0x37e629],_0x5880cb=_0x51105f[_0x1648a3(0x275)],_0xdce69a=_0x11c3fd[_0x1648a3(0x23a)],_0x2e9d4a=this[_0x1648a3(0x221)][_0x1648a3(0x23e)](_0x49b70a),_0x1514dd=_0xdce69a[_0x1648a3(0x203)](_0x3f40ff=>_0x3f40ff['id']===_0x5880cb)[_0x1648a3(0x230)];let _0x1b8bb8,_0x4c4bf3;_0x47d1ef[_0x1648a3(0x212)](_0x51105f[_0x1648a3(0x1fc)]?.[_0x1648a3(0x25c)][_0x1648a3(0x264)]()[_0x1648a3(0x280)](),_0x47d1ef[_0x1648a3(0x1e4)])&&(_0x1b8bb8=_0x47d1ef['nnSyw'](_0x51105f[_0x1648a3(0x1fc)]?.[_0x1648a3(0x249)],undefined)?_0x51105f[_0x1648a3(0x1fc)]?.['message']:_0x51105f[_0x1648a3(0x1fc)]?.['exception']?.['message'],_0x4c4bf3=_0x47d1ef[_0x1648a3(0x212)](_0x51105f[_0x1648a3(0x1fc)]?.[_0x1648a3(0x249)],undefined)?_0x47d1ef['FYolX']:_0x51105f[_0x1648a3(0x1fc)]?.['message']);const _0x435f2f=this[_0x1648a3(0x23c)](_0xdce69a[_0x1648a3(0x203)](_0x383850=>_0x383850['id']===_0x5880cb),_0x2e9d4a[_0x1648a3(0x1ea)][_0x1648a3(0x20d)]);!_0x435f2f&&await testObservabilityReporter[_0x1648a3(0x225)](_0x2e9d4a,_0x47d1ef[_0x1648a3(0x277)],_tests[_0x437120],_0x51105f);if(_0x1514dd&&_tests[_0x437120][_0x47d1ef[_0x1648a3(0x26c)]]){const _0x5f3952=_0x414889[_0x1648a3(0x1ec)][_0x1648a3(0x203)](_0x8891cd=>_0x8891cd['id']===_0x1514dd),_0x1389e7={};_0x1389e7[_0x1648a3(0x1ec)]=[];const _0x583681=_tests[_0x437120]||_0x1389e7;!_0x583681[_0x1648a3(0x1ec)]?_0x583681[_0x1648a3(0x1ec)]=[{'id':_0x5f3952['id'],'text':_0x5f3952['text'],'finished_at':new Date()[_0x1648a3(0x278)](),'result':_0x51105f[_0x1648a3(0x1fc)]?.['status'],'duration':_0x51105f[_0x1648a3(0x1fc)]?.[_0x1648a3(0x22a)]?.[_0x1648a3(0x210)],'failure':_0x1b8bb8,'failureType':_0x4c4bf3}]:_0x583681['steps'][_0x1648a3(0x21f)](_0x1f254f=>{const _0x4a09a6=_0x1648a3;if(_0x47d1ef[_0x4a09a6(0x286)](_0x1f254f['id'],_0x5f3952['id'])){const _0x3c27ed=_0x47d1ef[_0x4a09a6(0x263)]['split']('|');let _0x498ece=0x0;while(!![]){switch(_0x3c27ed[_0x498ece++]){case'0':_0x1f254f[_0x4a09a6(0x22a)]=_0x51105f[_0x4a09a6(0x1fc)]?.['duration']?.[_0x4a09a6(0x210)];continue;case'1':_0x1f254f['failure']=_0x1b8bb8;continue;case'2':_0x1f254f[_0x4a09a6(0x256)]=_0x4c4bf3;continue;case'3':_0x1f254f['finished_at']=new Date()['toISOString']();continue;case'4':_0x1f254f[_0x4a09a6(0x241)]=_0x51105f[_0x4a09a6(0x1fc)]?.[_0x4a09a6(0x25c)];continue;}break;}}}),_tests[_0x437120]=_0x583681,delete _tests[_0x437120][_0x47d1ef['kUdob']];}}catch(_0x30b22a){logger[_0x1648a3(0x21a)](_0x1648a3(0x1fa)+util[_0x1648a3(0x202)](_0x30b22a));}}[a6_0x3725be(0x1f2)](_0x4c90e0){const _0x5a2d93=a6_0x3725be,_0x164872={};return _0x4c90e0[_0x5a2d93(0x1ff)][_0x5a2d93(0x25d)][_0x5a2d93(0x22c)](this[_0x5a2d93(0x242)])['flat']()[_0x5a2d93(0x21f)](_0x6068ef=>_0x6068ef[_0x5a2d93(0x1ec)][_0x5a2d93(0x21f)](_0xb1897c=>_0x164872[_0xb1897c['id']]=_0xb1897c)),_0x164872;}['checkHookURI'](_0x77d5ed,_0x537291){const _0x6239f=a6_0x3725be,_0x5118b2={'IrpjG':function(_0x463712,_0x560fda){return _0x463712(_0x560fda);},'zMPlz':function(_0x6603f1,_0x46b4dc){return _0x6603f1(_0x46b4dc);},'AWIfx':function(_0x35851d,_0x53c9e8){return _0x35851d(_0x53c9e8);},'XMNJM':function(_0x23e0f8,_0x2afc54){return _0x23e0f8===_0x2afc54;},'yHbUS':function(_0x1f345b,_0x4a6782){return _0x1f345b!==_0x4a6782;},'JTkZr':'cucumber-js/test.setup.js'};let _0x473248=!![];const _0x5d0f4d={};_0x473248=_0x473248&&!_0x5118b2[_0x6239f(0x24c)](isUndefined,_0x77d5ed[_0x6239f(0x282)]);if(!_0x5118b2[_0x6239f(0x23b)](isUndefined,_0x77d5ed['hookId'])){let _0x74c95;_0x473248?_0x74c95=this[_0x6239f(0x22b)][_0x6239f(0x218)]['find'](_0x5870d5=>_0x5870d5['id']===_0x77d5ed['hookId']):_0x74c95=this[_0x6239f(0x22b)][_0x6239f(0x231)][_0x6239f(0x203)](_0x39a750=>_0x39a750['id']===_0x77d5ed['hookId']);if(_0x74c95){const _0x213146={};_0x213146['uri']=_0x74c95[_0x6239f(0x20d)],_0x213146['line']=_0x74c95['line'],_0x5d0f4d[_0x6239f(0x260)]=_0x213146,_0x5d0f4d[_0x6239f(0x220)]=_0x74c95[_0x6239f(0x220)];}}if(!_0x5118b2['AWIfx'](isUndefined,_0x77d5ed[_0x6239f(0x25b)])&&_0x5118b2[_0x6239f(0x1e3)](_0x77d5ed[_0x6239f(0x25b)][_0x6239f(0x244)],0x1)){const _0x32b4f0=this[_0x6239f(0x22b)][_0x6239f(0x1e8)][_0x6239f(0x203)](_0x5f1413=>_0x5f1413['id']===_0x77d5ed[_0x6239f(0x25b)][0x0]),_0x27fa49={};_0x27fa49[_0x6239f(0x20d)]=_0x32b4f0[_0x6239f(0x20d)],_0x27fa49['line']=_0x32b4f0['line'],_0x5d0f4d[_0x6239f(0x260)]=_0x27fa49;}if(!_0x5118b2[_0x6239f(0x24c)](isUndefined,_0x77d5ed['pickleStepId'])){const _0x36d80f={};_0x36d80f[_0x6239f(0x20d)]=_0x537291,_0x36d80f[_0x6239f(0x233)]='',_0x5d0f4d[_0x6239f(0x262)]=_0x36d80f;}if(_0x5118b2[_0x6239f(0x1f6)](_0x5d0f4d[_0x6239f(0x262)],undefined))return![];if(_0x5d0f4d[_0x6239f(0x260)]&&_0x5d0f4d[_0x6239f(0x260)]['uri'][_0x6239f(0x21c)](_0x5118b2['JTkZr']))return!![];return![];}['extractStepContainers'](_0x416ed5){const _0x28be71=a6_0x3725be,_0x4c936d={'oOlCq':function(_0x409f2f,_0x3b009a){return _0x409f2f(_0x3b009a);}};if(!_0x4c936d[_0x28be71(0x250)](isUndefined,_0x416ed5['background']))return[_0x416ed5[_0x28be71(0x21d)]];else{if(!_0x4c936d[_0x28be71(0x250)](isUndefined,_0x416ed5[_0x28be71(0x27d)]))return _0x416ed5[_0x28be71(0x27d)]['children'][_0x28be71(0x22c)](_0x5f3929=>!isUndefined(_0x5f3929?.[_0x28be71(0x21d)])?_0x5f3929[_0x28be71(0x21d)]:_0x5f3929[_0x28be71(0x24b)]);};return[_0x416ed5[_0x28be71(0x24b)]];}[a6_0x3725be(0x1fe)](_0x201ad2,_0x356dea){const _0x13e376=a6_0x3725be;return Object[_0x13e376(0x272)](_0x201ad2[_0x13e376(0x221)][_0x13e376(0x234)])[_0x13e376(0x203)](_0x113017=>_0x113017[_0x13e376(0x20d)]===_0x356dea[_0x13e376(0x20d)]);}}module['exports']=o11yClassErrorHandler(BrowserstackFormatter,[a6_0x3725be(0x257),a6_0x3725be(0x287),'onTestStepStarted','onTestStepFinished',a6_0x3725be(0x1e5),'onTestRunFinished',a6_0x3725be(0x242),a6_0x3725be(0x1fe),'getGherkinStepMap','checkHookURI']);
|
|
@@ -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_0x3bde6e=a7_0x3fc7;(function(_0x3dae98,_0x26f6de){const _0x5b40d2=a7_0x3fc7,_0x34cfa8=_0x3dae98();while(!![]){try{const _0x3f25ce=parseInt(_0x5b40d2(0xdc))/0x1+parseInt(_0x5b40d2(0xaf))/0x2+parseInt(_0x5b40d2(0xb9))/0x3+parseInt(_0x5b40d2(0xe5))/0x4+-parseInt(_0x5b40d2(0xe7))/0x5+parseInt(_0x5b40d2(0xae))/0x6*(parseInt(_0x5b40d2(0xb0))/0x7)+-parseInt(_0x5b40d2(0xb4))/0x8*(parseInt(_0x5b40d2(0xe4))/0x9);if(_0x3f25ce===_0x26f6de)break;else _0x34cfa8['push'](_0x34cfa8['shift']());}catch(_0x35c2bc){_0x34cfa8['push'](_0x34cfa8['shift']());}}}(a7_0x1a98,0xd81f5));const {requireModule,getPlatformName,nestedKeyValue}=require(a7_0x3bde6e(0xe3)),{Formatter}=requireModule(a7_0x3bde6e(0xbf)),pickleParser=requireModule(a7_0x3bde6e(0xa6));function a7_0x1a98(){const _0x8b19d2=['undefined','gherkinDocument','xydEf','PASSED','rWSvh','length','line','stepResults','includes','ZsCko','logTestCaseFinished','WTZkY','qMLWa','XSBrg','exports','JgbIl','name','zCxQO','PwUOK','wwnbD','kppXA','eventBroadcaster','247461rVYChq','status','JJPUm','xHXJW','\x20\x20\x20\x20AFTER\x20-\x20','PENDING','gvRRE','../../../helpers/helper','9CASOlm','3232112TJavnV','feature','8810625YJLkem','uri','actionLocation','testCase','capability','sourceLocation','LXyGj','efCjx','wmCqe','ildvA','PJZac','FAILED','exception','dfJxd','BwztK','CONFIG','UNKNOWN','vTMXs','dqeVS','JPEoT','steps','BdIDM','YTWUC','AMBIGUOUS','cucumber/lib/formatter/helpers/pickle_parser.js','toUpperCase','__platform','XJqJU','MUZnB','parse','Zckww','env','41988UQbzcH','1590434KdsXIZ','294KeFUrO','getTestCaseAttempt','pickle','log','8482832YyZQwL','eventDataCollector','getTestCaseData','PYmin','ydRHT','4689282hjUHZo','bYPJS','MgdPz','bSInX','jFNKr','result','cucumber','ZtoEz','forEach','test-step-started','test-run-finished','text','UNDEFINED'];a7_0x1a98=function(){return _0x8b19d2;};return a7_0x1a98();}function a7_0x3fc7(_0x4437c3,_0x44ba1d){const _0x1a982c=a7_0x1a98();return a7_0x3fc7=function(_0x3fc735,_0x5f0d30){_0x3fc735=_0x3fc735-0xa2;let _0xed1531=_0x1a982c[_0x3fc735];return _0xed1531;},a7_0x3fc7(_0x4437c3,_0x44ba1d);}class BrowserstackFormatter extends Formatter{constructor(_0x4da173){const _0xfe57e9=a7_0x3bde6e,_0x514893={'Zckww':function(_0x56cc3b,_0x42f99a){return _0x56cc3b!==_0x42f99a;},'vTMXs':function(_0x4fdaf1,_0x36f50b){return _0x4fdaf1(_0x36f50b);},'rWSvh':'test-run-started','ildvA':'test-case-started','WrlFT':'test-case-finished','rMVbX':_0xfe57e9(0xc3),'bSInX':_0xfe57e9(0xc2)};super(_0x4da173),_0x4da173[_0xfe57e9(0xdb)]['on'](_0x514893[_0xfe57e9(0xca)],()=>{const _0x327259=_0xfe57e9;let _0x2059b1;if(_0x514893[_0x327259(0xac)](process[_0x327259(0xad)][_0x327259(0xf6)],undefined)){const _0x4beb5e=JSON[_0x327259(0xab)](process['env'][_0x327259(0xf6)]);_0x2059b1=_0x4beb5e[_0x327259(0xeb)];}_0x514893[_0x327259(0xac)](_0x2059b1,undefined)&&(global[_0x327259(0xa8)]=_0x514893[_0x327259(0xf8)](getPlatformName,_0x2059b1),console[_0x327259(0xb3)]('Executing\x20tests\x20for\x20'+global['__platform']));}),_0x4da173[_0xfe57e9(0xdb)]['on'](_0x514893[_0xfe57e9(0xf0)],()=>{testSuites+=0x1;}),_0x4da173[_0xfe57e9(0xdb)]['on'](_0x514893['WrlFT'],_0x9db392=>{this['logTestCaseFinished'](_0x9db392);}),_0x4da173[_0xfe57e9(0xdb)]['on'](_0x514893['rMVbX'],()=>{totalTests-=0x2;}),_0x4da173['eventBroadcaster']['on'](_0x514893[_0xfe57e9(0xbc)],()=>{totalTests+=0x1;});}[a7_0x3bde6e(0xd0)](_0x5b317e){const _0xb7b329=a7_0x3bde6e,_0x4b9a92={'zCxQO':_0xb7b329(0xf2),'BdIDM':_0xb7b329(0xc9),'dfJxd':'SKIPPED','cSGHL':_0xb7b329(0xe1),'dKGAX':_0xb7b329(0xc5),'MgdPz':_0xb7b329(0xf7),'xydEf':_0xb7b329(0xa5),'YTWUC':function(_0x3e657a,_0x3f392a){return _0x3e657a+_0x3f392a;},'WTZkY':function(_0x36d88c,_0x141759){return _0x36d88c+_0x141759;},'efCjx':function(_0x18d3bc,_0x203e57){return _0x18d3bc+_0x203e57;},'ydRHT':'\x20\x20\x20\x20','wmCqe':'\x20-\x20','LHapn':function(_0x3e4e8b,_0x326490){return _0x3e4e8b(_0x326490);},'LXyGj':'cucumber-js/test_old.setup.js','xEXnx':function(_0x222624,_0x25b371){return _0x222624(_0x25b371);},'BwztK':function(_0x4b5bef,_0x151d83){return _0x4b5bef+_0x151d83;},'gvRRE':_0xb7b329(0xe0),'XSBrg':'\x20\x20\x20\x20BEFORE\x20-\x20','dGzso':function(_0x13d9f0,_0x66de0e){return _0x13d9f0===_0x66de0e;},'JPEoT':function(_0x2eb4ac,_0x51eb6d,_0x4943c9){return _0x2eb4ac(_0x51eb6d,_0x4943c9);},'bYPJS':'result','MUZnB':_0xb7b329(0xf3),'kppXA':'stack','qMLWa':function(_0x395421,_0x1e8ef1){return _0x395421!==_0x1e8ef1;},'dqeVS':function(_0x3d42b7,_0x4df20d){return _0x3d42b7+_0x4df20d;},'HQEsF':_0xb7b329(0xc6),'ZsCko':function(_0x2a896b,_0x31d343){return _0x2a896b+_0x31d343;},'jFNKr':function(_0x3a9618,_0x5c70e7){return _0x3a9618+_0x5c70e7;},'XJqJU':function(_0x1c9d5e,_0x2bcb47){return _0x1c9d5e+_0x2bcb47;},'JJPUm':function(_0x9f027e,_0x22f009){return _0x9f027e<_0x22f009;},'xHXJW':function(_0x1e6aab,_0x3ac9b2){return _0x1e6aab+_0x3ac9b2;},'wwnbD':function(_0xab3f4f,_0x30f0e3){return _0xab3f4f+_0x30f0e3;},'PwUOK':function(_0x31c172,_0x1873cd){return _0x31c172(_0x1873cd);},'PJZac':function(_0x175775,_0x43e53d){return _0x175775+_0x43e53d;},'JgbIl':function(_0x2908e9,_0x4e79cb){return _0x2908e9===_0x4e79cb;},'PYmin':function(_0x313f89,_0x56f25d){return _0x313f89+_0x56f25d;},'ZtoEz':function(_0x1a9a63,_0x10846e){return _0x1a9a63+_0x10846e;}};let _0x32d989=![];function _0x106f89(_0x3e890b){const _0x34fd8f=_0xb7b329;switch(_0x3e890b){case _0x4b9a92[_0x34fd8f(0xd7)]:testsFailed+=0x1;break;case _0x4b9a92[_0x34fd8f(0xa3)]:testsPassed+=0x1;break;case _0x4b9a92[_0x34fd8f(0xf4)]:testsSkipped+=0x1;break;case _0x4b9a92['cSGHL']:testsPending+=0x1;break;case _0x4b9a92['dKGAX']:testsUndefined+=0x1;break;case _0x4b9a92[_0x34fd8f(0xbb)]:testsUnknown+=0x1;break;case _0x4b9a92[_0x34fd8f(0xc8)]:testsAmbiguous+=0x1;break;default:break;}}_0x4b9a92[_0xb7b329(0xd2)](global[_0xb7b329(0xa8)],undefined)&&console[_0xb7b329(0xb3)](_0x4b9a92[_0xb7b329(0xf9)](_0x4b9a92[_0xb7b329(0xa4)]('\x0a',global[_0xb7b329(0xa8)]),'\x0a'));let _0x142ec8=![];if(_0x4b9a92['qMLWa'](typeof this[_0xb7b329(0xb5)][_0xb7b329(0xb6)],_0x4b9a92['HQEsF'])){var _0x216413=this[_0xb7b329(0xb5)][_0xb7b329(0xb6)](_0x5b317e[_0xb7b329(0xec)]),_0x247102=_0x216413[_0xb7b329(0xb2)],_0x3b0987=_0x216413[_0xb7b329(0xea)];console[_0xb7b329(0xb3)](_0x4b9a92[_0xb7b329(0xcf)]('\x20\x20',_0x247102[_0xb7b329(0xd6)]));var _0x158144=(0x0,pickleParser['getStepLineToPickledStepMap'])(_0x247102);_0x3b0987[_0xb7b329(0xa2)][_0xb7b329(0xc1)](function(_0x22b94d){const _0x3fdbbf=_0xb7b329;if(_0x22b94d[_0x3fdbbf(0xe9)]&&_0x22b94d[_0x3fdbbf(0xec)])_0x32d989=!![],console[_0x3fdbbf(0xb3)](_0x4b9a92['YTWUC'](_0x4b9a92[_0x3fdbbf(0xd1)](_0x4b9a92[_0x3fdbbf(0xee)](_0x4b9a92[_0x3fdbbf(0xb8)],_0x158144[_0x22b94d['sourceLocation'][_0x3fdbbf(0xcc)]][_0x3fdbbf(0xc4)]),_0x4b9a92[_0x3fdbbf(0xef)]),_0x22b94d[_0x3fdbbf(0xbe)][_0x3fdbbf(0xdd)][_0x3fdbbf(0xa7)]())),_0x4b9a92['LHapn'](_0x106f89,_0x22b94d[_0x3fdbbf(0xbe)][_0x3fdbbf(0xdd)][_0x3fdbbf(0xa7)]());else _0x22b94d['actionLocation']&&(!_0x22b94d[_0x3fdbbf(0xe9)][_0x3fdbbf(0xe8)][_0x3fdbbf(0xce)](_0x4b9a92[_0x3fdbbf(0xed)])&&(_0x4b9a92['xEXnx'](_0x106f89,_0x22b94d[_0x3fdbbf(0xbe)][_0x3fdbbf(0xdd)][_0x3fdbbf(0xa7)]()),_0x32d989?console['log'](_0x4b9a92[_0x3fdbbf(0xf5)](_0x4b9a92['gvRRE'],_0x22b94d[_0x3fdbbf(0xbe)][_0x3fdbbf(0xdd)][_0x3fdbbf(0xa7)]())):console['log'](_0x4b9a92['WTZkY'](_0x4b9a92['XSBrg'],_0x22b94d[_0x3fdbbf(0xbe)][_0x3fdbbf(0xdd)]['toUpperCase']()))));if(_0x4b9a92['dGzso'](_0x22b94d[_0x3fdbbf(0xbe)][_0x3fdbbf(0xdd)][_0x3fdbbf(0xa7)](),_0x4b9a92[_0x3fdbbf(0xd7)])){const _0x5ec941=_0x4b9a92[_0x3fdbbf(0xfa)](nestedKeyValue,_0x22b94d,[_0x4b9a92[_0x3fdbbf(0xba)],_0x4b9a92['MUZnB'],_0x4b9a92['kppXA']]);_0x5ec941&&(testsErrorMessage[_0x247102[_0x3fdbbf(0xd6)]]=_0x5ec941,console[_0x3fdbbf(0xb3)](_0x4b9a92['YTWUC'](_0x5ec941,'\x0a'))),_0x142ec8=!![];}});}else{const _0x154db6=this[_0xb7b329(0xb5)][_0xb7b329(0xb1)](_0x5b317e);console[_0xb7b329(0xb3)](_0x4b9a92[_0xb7b329(0xbd)](_0x4b9a92[_0xb7b329(0xa9)](_0x4b9a92[_0xb7b329(0xbd)]('\x20\x20',_0x154db6['gherkinDocument'][_0xb7b329(0xe6)]['name']),_0x4b9a92[_0xb7b329(0xef)]),_0x154db6['pickle'][_0xb7b329(0xd6)]));const _0x2ae5af=(0x0,pickleParser['getStepLineToPickledStepMap'])(_0x154db6[_0xb7b329(0xb2)]),_0x4a0452=_0x154db6[_0xb7b329(0xea)][_0xb7b329(0xa2)],_0x49abd5=_0x154db6[_0xb7b329(0xcd)],_0x1f4e18=_0x4a0452[_0xb7b329(0xcb)];for(let _0x316c70=0x0;_0x4b9a92[_0xb7b329(0xde)](_0x316c70,_0x1f4e18);_0x316c70++){const _0x2feb2f=_0x4a0452[_0x316c70];if(_0x2feb2f[_0xb7b329(0xe9)]&&_0x2feb2f[_0xb7b329(0xec)])_0x32d989=!![],console[_0xb7b329(0xb3)](_0x4b9a92[_0xb7b329(0xdf)](_0x4b9a92['WTZkY'](_0x4b9a92[_0xb7b329(0xd9)](_0x4b9a92['ydRHT'],_0x2ae5af[_0x2feb2f[_0xb7b329(0xec)][_0xb7b329(0xcc)]][_0xb7b329(0xc4)]),_0x4b9a92[_0xb7b329(0xef)]),_0x49abd5[_0x316c70]['status'][_0xb7b329(0xa7)]())),_0x4b9a92[_0xb7b329(0xd8)](_0x106f89,_0x49abd5[_0x316c70][_0xb7b329(0xdd)][_0xb7b329(0xa7)]());else _0x2feb2f[_0xb7b329(0xe9)]&&(!_0x2feb2f[_0xb7b329(0xe9)]['uri'][_0xb7b329(0xce)](_0x4b9a92['LXyGj'])&&(_0x4b9a92[_0xb7b329(0xd8)](_0x106f89,_0x49abd5[_0x316c70][_0xb7b329(0xdd)]['toUpperCase']()),_0x32d989?console[_0xb7b329(0xb3)](_0x4b9a92[_0xb7b329(0xcf)](_0x4b9a92[_0xb7b329(0xe2)],_0x49abd5[_0x316c70]['status']['toUpperCase']())):console[_0xb7b329(0xb3)](_0x4b9a92[_0xb7b329(0xf1)](_0x4b9a92[_0xb7b329(0xd3)],_0x49abd5[_0x316c70][_0xb7b329(0xdd)][_0xb7b329(0xa7)]()))));if(_0x4b9a92[_0xb7b329(0xd5)](_0x49abd5[_0x316c70][_0xb7b329(0xdd)][_0xb7b329(0xa7)](),_0x4b9a92[_0xb7b329(0xd7)])){_0x142ec8=!![];const _0x4e717f=_0x4b9a92[_0xb7b329(0xfa)](nestedKeyValue,_0x49abd5[_0x316c70],[_0x4b9a92[_0xb7b329(0xaa)],_0x4b9a92[_0xb7b329(0xda)]]);_0x4e717f&&(testsErrorMessage[_0x4b9a92['PYmin'](_0x4b9a92[_0xb7b329(0xc0)](_0x154db6[_0xb7b329(0xc7)][_0xb7b329(0xe6)][_0xb7b329(0xd6)],_0x4b9a92[_0xb7b329(0xef)]),_0x154db6[_0xb7b329(0xb2)][_0xb7b329(0xd6)])]=_0x4e717f,console[_0xb7b329(0xb3)](_0x4b9a92[_0xb7b329(0xb7)](_0x4e717f,'\x0a')));}}}_0x142ec8&&(testSuitesFailed+=0x1),console[_0xb7b329(0xb3)]('\x0a');}}module[a7_0x3bde6e(0xd4)]=BrowserstackFormatter;
|
|
@@ -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_0x214e23=a8_0xf0f8;(function(_0x3c5f0d,_0x20ae6b){const _0x392b7e=a8_0xf0f8,_0xd9c54=_0x3c5f0d();while(!![]){try{const _0x4d82a9=-parseInt(_0x392b7e(0x182))/0x1+-parseInt(_0x392b7e(0x133))/0x2*(-parseInt(_0x392b7e(0x135))/0x3)+-parseInt(_0x392b7e(0x178))/0x4*(parseInt(_0x392b7e(0x174))/0x5)+parseInt(_0x392b7e(0x141))/0x6+parseInt(_0x392b7e(0x15f))/0x7+parseInt(_0x392b7e(0x12c))/0x8*(parseInt(_0x392b7e(0x14d))/0x9)+-parseInt(_0x392b7e(0x187))/0xa;if(_0x4d82a9===_0x20ae6b)break;else _0xd9c54['push'](_0xd9c54['shift']());}catch(_0x233618){_0xd9c54['push'](_0xd9c54['shift']());}}}(a8_0x4630,0xba27f));function a8_0xf0f8(_0x44e7af,_0x55a89f){const _0x4630cc=a8_0x4630();return a8_0xf0f8=function(_0xf0f8fb,_0x3b2724){_0xf0f8fb=_0xf0f8fb-0x127;let _0xe9f917=_0x4630cc[_0xf0f8fb];return _0xe9f917;},a8_0xf0f8(_0x44e7af,_0x55a89f);}const os=require('os'),path=require(a8_0x214e23(0x14e)),fs=require('fs'),stripAnsi=require(a8_0x214e23(0x170)),{v4:uuidv4}=require(a8_0x214e23(0x18d)),util=require(a8_0x214e23(0x140)),hooksMap={},SessionHandler=require('../../helpers/test-observability/sessionHandler'),testhubUtils=require(a8_0x214e23(0x195)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a8_0x214e23(0x13e)),logger=require(a8_0x214e23(0x168))['winstonLogger'],{o11yClassErrorHandler}=require('../../helpers/test-observability/error-handler'),{FRAMEWORKS}=require('../../helpers/test-observability/constants.js'),TestDetails=require(a8_0x214e23(0x18e));this[a8_0x214e23(0x177)]=![],this[a8_0x214e23(0x1a6)]=null;function a8_0x4630(){const _0x19140e=['result','rule','find','uuid','../playwright/reporter/test-details','failure','every','failed','examples','SKIPPED','LBjjv','../../helpers/testhub/utils','getScenarioExamples','debug','pending','testSteps','tableBody','flatMap','failure_type','skipped','getCucumberHookType','HookRunFinished','root','pickle','SOaKj','zvEmy','message','join','_gitConfigPath','event_type','STHFo','value','test_run','vlXiq','XpXqY','sgjaz','tags','toISOString','5944584BsRjGt','Byftg','KJEBD','sendHook','astNodeIds','name','UEilO','274418RmEFAM','exports','21CCbTEJ','format','cells','test','pUBYh','map','length','push','UnhandledError','../../helpers/helper','javascript','util','7833456HvHAQM','zpyVD','BEFORE_EACH','uploadEventData','exception','sendTestRunEventForCucumber','finished_at','failure_reason','knszj','feature','yoNoH','relative','9QopTNq','path','AFTER_EACH','forEach','YgaAn','TFRSN','scenario','failureData','fVMVH','uri','sreEW','testCaseFinished','KQPmP','CAqWy','pickleStepId','myvEH','CUCUMBER','wBSlz','4397862iAsbhQ','unknown','HOMqv','filter','shyQv','stepResults','WwbdW','toLowerCase','_gitMetadata','../../helpers/logger','includes','failureType','getHookResult','DUMil','passed','testStepId','status','strip-ansi','vVbcl','appendTesthubParams','Bhuqa','5ZggNoc','JBYJE','qfpwK','_gitConfigured','5085196NtywLp','testCase','ZOzPd','aTUsH','failure_data','match','JaUCy','smKZI','configureGit','testCaseStartedId','454340nUpkcm','RiktC','ldSud','children','getHookRunEventData','11492440SZBGjm','APfyh','tagExpression'];a8_0x4630=function(){return _0x19140e;};return a8_0x4630();}class TestObservabilityReporter{async[a8_0x214e23(0x146)](_0x1a82cc,_0x4ccca1,_0x5b8f4c,_0x5e6e15,_0x255aca,_0x57145b={}){const _0x207b42=a8_0x214e23,_0x2cbce4={'cDzwu':function(_0x2ef6d2,_0x34f62d){return _0x2ef6d2===_0x34f62d;},'myvEH':'FAILED','APfyh':_0x207b42(0x191),'vlXiq':function(_0x1ce91a,_0x33c9e8){return _0x1ce91a===_0x33c9e8;},'sreEW':_0x207b42(0x193),'JaUCy':_0x207b42(0x19d),'vVbcl':function(_0x4e934c,_0x477905){return _0x4e934c||_0x477905;},'Bhuqa':function(_0x41cbb6,_0x32a855){return _0x41cbb6+_0x32a855;},'HOMqv':_0x207b42(0x138),'SOaKj':_0x207b42(0x13f),'smKZI':'cucumber','RiktC':_0x207b42(0x198),'sgjaz':_0x207b42(0x16d),'zpyVD':function(_0x5a6898,_0x48f302){return _0x5a6898/_0x48f302;},'RPjuV':function(_0x3bd9b1,_0x2f9aa1){return _0x3bd9b1===_0x2f9aa1;},'ldSud':function(_0x348c4a,_0x1390e8){return _0x348c4a(_0x1390e8);},'wBSlz':_0x207b42(0x160),'JBYJE':'AssertionError','WwbdW':'UnhandledError'},{feature:_0x59b456,scenario:_0x18b030,steps:_0xdaa048,uuid:_0x6d980,startedAt:_0x3a4b38,finishedAt:_0x3b12e6}=_0x2cbce4[_0x207b42(0x171)](_0x255aca,{}),_0x3db32b=this[_0x207b42(0x196)](_0x4ccca1,_0x5b8f4c);await this[_0x207b42(0x180)]();const _0x45f78d=_0x3db32b?_0x2cbce4[_0x207b42(0x173)](_0x2cbce4['Bhuqa'](_0x2cbce4['Bhuqa'](_0x5b8f4c[_0x207b42(0x131)],'\x20('),_0x3db32b[_0x207b42(0x1a5)](',\x20')),')'):_0x5b8f4c[_0x207b42(0x131)],_0x586edd={'uuid':_0x6d980,'started_at':_0x3a4b38,'finished_at':_0x3b12e6,'type':_0x2cbce4[_0x207b42(0x161)],'body':{'lang':_0x2cbce4[_0x207b42(0x1a2)],'code':null},'name':_0x45f78d,'scopes':[_0x59b456?.[_0x207b42(0x131)]||''],'tags':_0x5b8f4c[_0x207b42(0x12a)]?.[_0x207b42(0x13a)](({name:_0x3cf17b})=>_0x3cf17b),'file_name':_0x5b8f4c[_0x207b42(0x156)],'location':_0x5b8f4c[_0x207b42(0x156)],'vc_filepath':this[_0x207b42(0x1a6)]&&_0x5b8f4c['uri']?path[_0x207b42(0x14c)](this[_0x207b42(0x1a6)],_0x5b8f4c[_0x207b42(0x156)]):null,'framework':_0x2cbce4[_0x207b42(0x17f)],'result':_0x2cbce4[_0x207b42(0x183)],'meta':{'feature':_0x59b456,'scenario':_0x18b030,'steps':_0xdaa048,'examples':_0x3db32b},'customRerunParam':{'rerun_name':_0x45f78d}};if(_0x1a82cc[_0x207b42(0x158)]&&_0xdaa048){const _0x3eae0a=_0x1a82cc[_0x207b42(0x158)];let _0x3f6029=_0x2cbce4[_0x207b42(0x129)];_0xdaa048[_0x207b42(0x190)](_0x11deda=>{const _0xf99e6=_0x207b42;if(_0x2cbce4['cDzwu'](_0x11deda[_0xf99e6(0x18a)],_0x2cbce4[_0xf99e6(0x15c)]))return _0x3f6029=_0x2cbce4['APfyh'],_0x3eae0a['failure']=_0x11deda['failure'],_0x3eae0a[_0xf99e6(0x16a)]=_0x11deda[_0xf99e6(0x16a)],![];else{if(_0x2cbce4[_0xf99e6(0x127)](_0x11deda[_0xf99e6(0x18a)],_0x2cbce4[_0xf99e6(0x157)]))return _0x3f6029=_0x2cbce4[_0xf99e6(0x17e)],![];}return!![];}),_0x586edd[_0x207b42(0x147)]=new Date()[_0x207b42(0x12b)](),_0x586edd[_0x207b42(0x18a)]=_0x3f6029,_0x586edd['duration_in_ms']=_0x2cbce4[_0x207b42(0x142)](_0x3eae0a['timestamp']?.['nanos'],0xf4240),_0x2cbce4['RPjuV'](_0x3f6029,_0x2cbce4[_0x207b42(0x188)])&&(_0x586edd[_0x207b42(0x18f)]=[{'backtrace':[_0x3eae0a?.[_0x207b42(0x18f)]?_0x2cbce4[_0x207b42(0x184)](stripAnsi,_0x3eae0a?.[_0x207b42(0x18f)]):_0x2cbce4[_0x207b42(0x15e)]]}],_0x586edd[_0x207b42(0x148)]=_0x3eae0a?.[_0x207b42(0x18f)]?_0x2cbce4[_0x207b42(0x184)](stripAnsi,_0x3eae0a?.[_0x207b42(0x18f)]):_0x3eae0a[_0x207b42(0x1a4)],_0x3eae0a?.[_0x207b42(0x16a)]&&(_0x586edd[_0x207b42(0x19c)]=_0x3eae0a[_0x207b42(0x16a)][_0x207b42(0x17d)](/AssertError/)?_0x2cbce4[_0x207b42(0x175)]:_0x2cbce4[_0x207b42(0x165)]));}testhubUtils[_0x207b42(0x172)](_0x586edd,_0x5e6e15,'',FRAMEWORKS[_0x207b42(0x15d)]);const _0x3822f9={};_0x3822f9[_0x207b42(0x1a7)]=_0x5e6e15,_0x3822f9[_0x207b42(0x1aa)]=_0x586edd;const _0x32be65=_0x3822f9;await SessionHandler[_0x207b42(0x144)](_0x32be65);}[a8_0x214e23(0x186)](_0x14b16e,_0x4f572c,_0x4b5825,_0x7b7478,_0x456ae0,_0x35a0f3){const _0x306fc6=a8_0x214e23,_0x3c84d8={};_0x3c84d8[_0x306fc6(0x15a)]=function(_0x4f49ad,_0x1ce206){return _0x4f49ad===_0x1ce206;},_0x3c84d8[_0x306fc6(0x1a8)]=_0x306fc6(0x19f),_0x3c84d8[_0x306fc6(0x194)]=_0x306fc6(0x198),_0x3c84d8[_0x306fc6(0x12e)]='hook',_0x3c84d8[_0x306fc6(0x151)]=_0x306fc6(0x13f),_0x3c84d8[_0x306fc6(0x163)]='cucumber';const _0x4bf522=_0x3c84d8;if(_0x4bf522[_0x306fc6(0x15a)](_0x4f572c,_0x4bf522[_0x306fc6(0x1a8)])){const _0x4febc3=new Date()[_0x306fc6(0x12b)](),_0x2b9a74=_0x35a0f3['testCaseStartedId'],_0x3e3d91=hooksMap[_0x2b9a74];if(!_0x3e3d91)return;const _0x5d9f98=_0x3e3d91['find'](_0x52ed28=>_0x52ed28['uuid']===_0x4b5825['id']);if(!_0x5d9f98)return;const _0x475ee3=this[_0x306fc6(0x16b)](_0x14b16e,_0x35a0f3);_0x5d9f98[_0x306fc6(0x18a)]=_0x475ee3[_0x306fc6(0x16f)],_0x5d9f98[_0x306fc6(0x147)]=_0x4febc3,_0x5d9f98[_0x306fc6(0x19c)]=_0x475ee3['failureType'];const _0x20e070={};return _0x20e070['backtrace']=_0x475ee3[_0x306fc6(0x154)],_0x5d9f98[_0x306fc6(0x17c)]=[_0x20e070],_0x5d9f98;}const _0x3e2eed=TestDetails['getTestUUID'](_0x35a0f3[_0x306fc6(0x181)]),_0x5dd289=new Date()[_0x306fc6(0x12b)](),_0x3df158=_0x4bf522['LBjjv'],_0x298ba6=_0x4b5825[_0x306fc6(0x189)]?_0x4b5825[_0x306fc6(0x189)]['split']('\x20')[_0x306fc6(0x162)](_0x28961d=>_0x28961d[_0x306fc6(0x169)]('@')):null,_0x53d1b8=_0x14b16e[_0x306fc6(0x1a1)][_0x306fc6(0x156)],_0x4f4b22={'uuid':_0x4b5825['id'],'type':_0x4bf522[_0x306fc6(0x12e)],'hook_type':_0x456ae0,'name':_0x4b5825?.[_0x306fc6(0x131)]||'','body':{'lang':_0x4bf522[_0x306fc6(0x151)],'code':null},'tags':_0x298ba6,'test_run_id':_0x3e2eed,'scopes':[_0x7b7478?.[_0x306fc6(0x14a)]?.[_0x306fc6(0x131)]||''],'file_name':_0x53d1b8,'location':_0x53d1b8,'vc_filepath':this[_0x306fc6(0x167)]&&this[_0x306fc6(0x167)]['root']?path['relative'](this[_0x306fc6(0x167)][_0x306fc6(0x1a0)],_0x14b16e):null,'result':_0x3df158[_0x306fc6(0x16f)],'started_at':_0x5dd289,'framework':_0x4bf522[_0x306fc6(0x163)]};return _0x4f4b22;}async[a8_0x214e23(0x12f)](_0x3f958e,_0x2bb6c4,_0x5a0674,_0x3002a1){const _0xc5bb8=a8_0x214e23,_0x1790e1={};_0x1790e1[_0xc5bb8(0x176)]=function(_0x1e59b0,_0x39c0dd){return _0x1e59b0===_0x39c0dd;},_0x1790e1[_0xc5bb8(0x12d)]='HookRunStarted';const _0x3df307=_0x1790e1;try{const _0x48a684=_0x3f958e[_0xc5bb8(0x179)][_0xc5bb8(0x199)],_0x289a86=_0x48a684[_0xc5bb8(0x18c)](_0x5efc0a=>_0x5efc0a['id']===_0x3002a1[_0xc5bb8(0x16e)]);if(!_0x289a86['hookId'])return;const _0x539b90=_0x3002a1[_0xc5bb8(0x181)],_0x3f7797=this[_0xc5bb8(0x19e)](_0x48a684,_0x289a86),_0x3eb8aa=this['getHookRunEventData'](_0x3f958e,_0x2bb6c4,_0x289a86,_0x5a0674,_0x3f7797,_0x3002a1);if(!_0x3eb8aa)return;_0x3df307[_0xc5bb8(0x176)](_0x2bb6c4,_0x3df307[_0xc5bb8(0x12d)])&&(hooksMap[_0x539b90]?hooksMap[_0x539b90][_0xc5bb8(0x13c)](_0x3eb8aa):hooksMap[_0x539b90]=[_0x3eb8aa]);const _0x230215={};_0x230215[_0xc5bb8(0x1a7)]=_0x2bb6c4,_0x230215['hook_run']=_0x3eb8aa;const _0x40e4a1=_0x230215;await SessionHandler[_0xc5bb8(0x144)](_0x40e4a1);}catch(_0x3bb226){logger[_0xc5bb8(0x197)]('Exception\x20in\x20sending\x20hook\x20events:\x20'+util[_0xc5bb8(0x136)](_0x3bb226));}}[a8_0x214e23(0x16b)](_0x16d84d,_0x59fa9c){const _0x489de0=a8_0x214e23,_0x1714b7={};_0x1714b7[_0x489de0(0x16c)]=function(_0x2a1fba,_0x8002f9){return _0x2a1fba===_0x8002f9;},_0x1714b7['UEilO']=_0x489de0(0x191),_0x1714b7[_0x489de0(0x1a3)]=function(_0x38fa86,_0xbd69ff){return _0x38fa86===_0xbd69ff;},_0x1714b7[_0x489de0(0x149)]=_0x489de0(0x13d),_0x1714b7[_0x489de0(0x155)]='AssertionError',_0x1714b7[_0x489de0(0x14b)]=function(_0x47ea5c,_0x5de3f6){return _0x47ea5c||_0x5de3f6;};const _0x13d33c=_0x1714b7,_0x593c0a=_0x16d84d[_0x489de0(0x164)][_0x59fa9c['testStepId']];let _0x1015a7,_0x2f267f;return _0x13d33c[_0x489de0(0x16c)](_0x593c0a?.[_0x489de0(0x16f)]['toString']()[_0x489de0(0x166)](),_0x13d33c[_0x489de0(0x132)])&&(_0x1015a7=_0x13d33c['zvEmy'](_0x593c0a?.['exception'],undefined)?_0x593c0a?.[_0x489de0(0x1a4)]:_0x593c0a?.['exception']?.[_0x489de0(0x1a4)],_0x2f267f=_0x13d33c[_0x489de0(0x16c)](_0x593c0a?.[_0x489de0(0x145)],undefined)?_0x13d33c[_0x489de0(0x149)]:_0x593c0a?.['message']['match'](/Assert/)?_0x13d33c[_0x489de0(0x155)]:_0x13d33c['knszj']),{'status':_0x593c0a['status']['toLowerCase'](),'failureType':_0x13d33c['yoNoH'](_0x2f267f,null),'failureData':!_0x1015a7?null:[_0x1015a7]};}[a8_0x214e23(0x19e)](_0x2c8f7b,_0x37312b){const _0x1e7c7c=a8_0x214e23,_0x120b1c={};_0x120b1c['ZOzPd']=function(_0x29d456,_0x4288b8){return _0x29d456===_0x4288b8;},_0x120b1c['KQPmP']=_0x1e7c7c(0x14f),_0x120b1c[_0x1e7c7c(0x17b)]=_0x1e7c7c(0x143);const _0x132ca5=_0x120b1c;let _0xc13f40=![];for(const _0x5b9178 of _0x2c8f7b){_0x5b9178[_0x1e7c7c(0x15b)]&&(_0xc13f40=!![]);if(_0x132ca5[_0x1e7c7c(0x17a)](_0x37312b['id'],_0x5b9178['id']))return _0xc13f40?_0x132ca5[_0x1e7c7c(0x159)]:_0x132ca5[_0x1e7c7c(0x17b)];}}[a8_0x214e23(0x196)]=(_0x4b714a,_0x47d9eb)=>{const _0x9ed591=a8_0x214e23,_0x5e6fd6={};_0x5e6fd6['XpXqY']=function(_0x32e590,_0x58b7f0){return _0x32e590===_0x58b7f0;},_0x5e6fd6['UArBP']=function(_0x44871c,_0x1fd0d0){return _0x44871c===_0x1fd0d0;},_0x5e6fd6[_0x9ed591(0x152)]=function(_0x296c15,_0x58101e){return _0x296c15>_0x58101e;};const _0x19b76c=_0x5e6fd6;if(!_0x19b76c[_0x9ed591(0x152)](_0x47d9eb['astNodeIds']?.[_0x9ed591(0x13b)],0x1))return;const _0x4d7ee2=_0x47d9eb[_0x9ed591(0x130)][0x0],_0x361e2f=_0x47d9eb[_0x9ed591(0x130)][0x1],_0x7fb9f3=_0x4b714a[_0x9ed591(0x14a)]?.[_0x9ed591(0x185)];let _0x331ce2=[];_0x7fb9f3?.['forEach'](_0x410cc8=>{const _0x2c08f2=_0x9ed591;if(_0x410cc8[_0x2c08f2(0x18b)])_0x410cc8[_0x2c08f2(0x18b)][_0x2c08f2(0x185)][_0x2c08f2(0x150)](_0x246945=>{const _0x4d5cbc=_0x2c08f2;if(_0x246945[_0x4d5cbc(0x153)]&&_0x19b76c[_0x4d5cbc(0x128)](_0x246945[_0x4d5cbc(0x153)]['id'],_0x4d7ee2)&&_0x246945[_0x4d5cbc(0x153)]['examples']){const _0x3b1244=_0x246945[_0x4d5cbc(0x153)][_0x4d5cbc(0x192)][_0x4d5cbc(0x19b)](_0x46227f=>_0x46227f[_0x4d5cbc(0x19a)])[_0x4d5cbc(0x18c)](_0x1de328=>_0x1de328['id']===_0x361e2f)?.['cells'][_0x4d5cbc(0x13a)](_0x3a6c69=>_0x3a6c69['value']);_0x3b1244&&(_0x331ce2=_0x3b1244);}});else{if(_0x410cc8[_0x2c08f2(0x153)]&&_0x19b76c['UArBP'](_0x410cc8[_0x2c08f2(0x153)]['id'],_0x4d7ee2)&&_0x410cc8[_0x2c08f2(0x153)]['examples']){const _0x5e771b=_0x410cc8[_0x2c08f2(0x153)][_0x2c08f2(0x192)][_0x2c08f2(0x19b)](_0x34dd73=>_0x34dd73[_0x2c08f2(0x19a)])[_0x2c08f2(0x18c)](_0x4a378b=>_0x4a378b['id']===_0x361e2f)?.[_0x2c08f2(0x137)][_0x2c08f2(0x13a)](_0x21393e=>_0x21393e[_0x2c08f2(0x1a9)]);_0x5e771b&&(_0x331ce2=_0x5e771b);}}});if(_0x331ce2[_0x9ed591(0x13b)])return _0x331ce2;return;};async['configureGit'](){const _0x4bd171=a8_0x214e23,_0x3eacec={'pUBYh':function(_0x52e697){return _0x52e697();}};if(this[_0x4bd171(0x177)])return this['_gitConfigPath'];const _0xbf2341=await _0x3eacec[_0x4bd171(0x139)](getGitMetaData);_0xbf2341&&(this[_0x4bd171(0x1a6)]=_0xbf2341['root']),this['_gitConfigured']=!![];}}module[a8_0x214e23(0x134)]=o11yClassErrorHandler(TestObservabilityReporter,[a8_0x214e23(0x180),'getScenarioExamples',a8_0x214e23(0x19e),'getHookResult','sendHook',a8_0x214e23(0x186),a8_0x214e23(0x146)]);
|
|
@@ -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_0x1b097e=a9_0x55ca;(function(_0x192be9,_0x4cbbd3){const _0x2d41b8=a9_0x55ca,_0x1c133c=_0x192be9();while(!![]){try{const _0x3451ea=parseInt(_0x2d41b8(0x11f))/0x1*(parseInt(_0x2d41b8(0x1a6))/0x2)+-parseInt(_0x2d41b8(0x14d))/0x3*(-parseInt(_0x2d41b8(0x1b4))/0x4)+parseInt(_0x2d41b8(0x17b))/0x5*(-parseInt(_0x2d41b8(0x11d))/0x6)+parseInt(_0x2d41b8(0x15a))/0x7+parseInt(_0x2d41b8(0x130))/0x8+parseInt(_0x2d41b8(0x117))/0x9+-parseInt(_0x2d41b8(0x146))/0xa;if(_0x3451ea===_0x4cbbd3)break;else _0x1c133c['push'](_0x1c133c['shift']());}catch(_0x429c4b){_0x1c133c['push'](_0x1c133c['shift']());}}}(a9_0x49e0,0xef277));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra}=require(a9_0x1b097e(0x15b)),setKeepAlive=require(a9_0x1b097e(0x195)),util=require(a9_0x1b097e(0x133)),PerformanceTester=require(a9_0x1b097e(0x136)),{commandRepository}=require(a9_0x1b097e(0x1b5)),cucumberModule=requireModule('@cucumber/cucumber/lib/index.js'),logger=require('../../helpers/logger')[a9_0x1b097e(0x115)],{shouldProcessEventForTesthub}=require(a9_0x1b097e(0x128)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require('../../helpers/test-observability/utils'),TestDetails=require('../playwright/reporter/test-details.js'),RequestQueueHandler=require(a9_0x1b097e(0x12c)),{o11yErrorHandler}=require(a9_0x1b097e(0x1af)),MyReporter=require(a9_0x1b097e(0x15d)),SessionHandler=require('../../helpers/test-observability/sessionHandler'),scripts=require(a9_0x1b097e(0x19d)),globals=require(a9_0x1b097e(0x188)),testHubConstants=require('../../helpers/testhub/constants.js'),{shouldScanTestForAccessibility}=require(a9_0x1b097e(0x12a)),{isUndefined}=require('lodash'),a9_0x19c9ea={};a9_0x19c9ea[a9_0x1b097e(0x13d)]=undefined,a9_0x19c9ea[a9_0x1b097e(0x118)]={},a9_0x19c9ea[a9_0x1b097e(0x196)]=![],a9_0x19c9ea[a9_0x1b097e(0x118)]['id']=undefined,a9_0x19c9ea[a9_0x1b097e(0x118)][a9_0x1b097e(0x142)]=undefined;const workerDetails=a9_0x19c9ea;shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x590431){const _0x3d315d=a9_0x1b097e,_0x2a5e60=workerDetails[_0x3d315d(0x118)]['testInfo'];if(!_0x2a5e60)return;await MyReporter[_0x3d315d(0x177)](_0x2a5e60,_0x590431);}),registerListeners=()=>{const _0x2e3949=a9_0x1b097e,_0x2c05a5={};_0x2c05a5[_0x2e3949(0x1a8)]=_0x2e3949(0x182);const _0x1c892a=_0x2c05a5;logger[_0x2e3949(0x162)](_0x1c892a['wadSs']),process[_0x2e3949(0x17e)](_0x2e3949(0x1bc)+process[_0x2e3949(0x150)]),process['on']('bs:addLog:'+process[_0x2e3949(0x150)],sendTestLog),PerformanceTester[_0x2e3949(0x11b)]();};modifyCommand(),setKeepAlive();const Before=cucumberModule['Before'],After=cucumberModule[a9_0x1b097e(0x15c)],AfterAll=cucumberModule[a9_0x1b097e(0x153)],BeforeAll=cucumberModule[a9_0x1b097e(0x171)],AfterStep=cucumberModule[a9_0x1b097e(0x1a2)],configuration=process['env']['CONFIG'],bstackConfig=process[a9_0x1b097e(0x16c)][a9_0x1b097e(0x13f)];if(configuration!==undefined){const config=JSON[a9_0x1b097e(0x17d)](configuration);isBrowserstackInfra()?(global['__skipSessionName']=isTrue(config[a9_0x1b097e(0x12b)]),global['__skipSessionStatus']=isTrue(config[a9_0x1b097e(0x14a)])):(global['__skipSessionName']=!![],global['__skipSessionStatus']=!![]),shouldProcessEventForTesthub()?require(a9_0x1b097e(0x19b))[a9_0x1b097e(0x1a1)](config,null,!![]):require(a9_0x1b097e(0x19b))['browserstackAgentV2'](config),global[a9_0x1b097e(0x175)]=config['platformCaps']||{};}function a9_0x49e0(){const _0x39d3ea=['driverCleanup','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','AfterAll','error','XRjqh','cZJAo','toString','Dswov','HoNvW','9716014CHQsTj','../../helpers/helper','After','../playwright/reporter/reporter.js','length','YEslv','saveTestResults','kGtzH','debug','EmrOg','format','event_type','CTOod','pickleStep','status','Dqoei','hKfgM','Passed','env','Error:\x20sendPlatformDetails\x20at\x20After:\x20','NfOGp','Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20','setTestNameForHealingContext','BeforeAll','TICTw','__timeout','AfYnZ','__platformCaps','Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20','addTestUIDAndReportLog','stopMonitoring','push','ipiOH','175upoPJj','setDefaultTimeout','parse','removeAllListeners','zHdKk','CBTSessionCreated','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','Inside\x20browserstack\x20registerListeners','OtVLe','text','__error_messages__','finally','result','../../helpers/globals','info','shutdown','ENV_VAR','cucumber-js','message','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','bstackA11yShouldScan','Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20','thTestRunUuid','__skipSessionName','__drivers','setConfig','../../helpers/setKeepAlive','o11ySyncDone','quitCount_','YmREN','ZPJeY','Error:\x20at\x20After\x20Step:\x20','../../index','Error:\x20at\x20After:\x20','../../helpers/accessibility-automation/scripts','AzEXn','shift','pickle','browserstackAgentV2','AfterStep','failed','uCTux','BROWSERSTACK_TESTHUB_JWT','205898RMnGqm','Inside\x20browserstack\x20AfterAll','wadSs','QdmdD','uploadEventData','Failed:\x20','toLowerCase','rTUJo','stringify','../../helpers/test-observability/error-handler','bwvhW','timeout','qKHFW','Passed:\x20','3495036FGBkGy','../../helpers/ai-sdk/autoHealHelper','testCaseStartedId','BROWSERSTACK_TESTHUB_UUID','FyRwT','Inside\x20browserstack\x20Before','suvlP','2|3|0|1|4','bs:addLog:','\x22}}','QVkfS','winstonLogger','pypoj','11905335eTqISr','currentTest','OMHLI','XlVDt','startMonitoring','setFramework','9096xkUBMx','getInstance','5VAsTUe','ZPNbc','split','performScan','passed','executeAsyncScript','getTestUUID','VbjkA','tags','../../helpers/testhub/utils','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','../../helpers/accessibility-automation/helper','skipSessionName','../../helpers/test-observability/requestQueueHandler','setGlobal','__sessionFailed','WERIi','5197760OEbOOv','Inside\x20browserstack\x20BeforeAll','executeScript','util','RzJQG','initQuit','../../helpers/performance-tester','session_','Error:\x20quiting\x20driver\x20at\x20After:\x20','kYemv','Inside\x20browserstack\x20After','kSnGR','test_run','workerInfo','name','BSTACK_CONFIG','Uzjwr','bxzTf','testInfo','uuid','thJwtToken','yTBcm','37164060lzAmyT','join','\x20|\x20','bstack','skipSessionStatus','LeEVd','KwEjv','3izbfSV','Inside\x20browserstack\x20AfterStep','eTfYO','pid'];a9_0x49e0=function(){return _0x39d3ea;};return a9_0x49e0();}if(bstackConfig!==undefined){const browserStackConfig=JSON['parse'](bstackConfig);browserStackConfig&&(commandRepository[a9_0x1b097e(0x194)](browserStackConfig),commandRepository[a9_0x1b097e(0x11c)](a9_0x1b097e(0x18c)));}global[a9_0x1b097e(0x173)]=0x0;const __setDefaultTimeout=cucumberModule[a9_0x1b097e(0x17c)];cucumberModule[a9_0x1b097e(0x17c)]=_0x3ea081=>{const _0x33aad6=a9_0x1b097e,_0xb7ae7d={'AzEXn':function(_0x57ed79,_0x5ae7e7){return _0x57ed79(_0x5ae7e7);}};global[_0x33aad6(0x173)]=_0x3ea081,_0xb7ae7d[_0x33aad6(0x19e)](__setDefaultTimeout,_0x3ea081);};const a9_0x1bf31d={};a9_0x1bf31d['name']='bstack',BeforeAll(a9_0x1bf31d,function(){const _0x3f4df9=a9_0x1b097e,_0x48cea0={'LZMLS':function(_0x58b830,_0x17ef52,_0x5eb467,_0x183acd){return _0x58b830(_0x17ef52,_0x5eb467,_0x183acd);},'qKHFW':_0x3f4df9(0x1a3),'suvlP':_0x3f4df9(0x148),'NdFnP':function(_0xa89496,_0x27963e,_0x198a3d){return _0xa89496(_0x27963e,_0x198a3d);},'QdmdD':_0x3f4df9(0x123),'CTOod':_0x3f4df9(0x131),'BPzAv':function(_0x3f2621){return _0x3f2621();},'NfOGp':function(_0x3a90ee,_0xf59af1){return _0x3a90ee(_0xf59af1);}};PerformanceTester[_0x3f4df9(0x11b)](),logger[_0x3f4df9(0x162)](_0x48cea0[_0x3f4df9(0x166)]),global['__error_messages__']=[],global[_0x3f4df9(0x12e)]=![],_0x48cea0['BPzAv'](shouldProcessEventForTesthub)&&(_0x48cea0['BPzAv'](registerListeners),_0x48cea0[_0x3f4df9(0x16e)](addRequestSpy,![])),global[_0x3f4df9(0x151)]=async()=>{const _0x399a44=_0x3f4df9;let _0x2e94fa=![];try{await global[_0x399a44(0x193)][0x0][_0x399a44(0x137)],_0x2e94fa=!![],global[_0x399a44(0x12e)]?await _0x48cea0['LZMLS'](markSessionStatus,global[_0x399a44(0x193)][0x0],_0x48cea0[_0x399a44(0x1b2)],global[_0x399a44(0x185)][_0x399a44(0x147)](_0x48cea0[_0x399a44(0x1ba)])):await _0x48cea0['NdFnP'](markSessionStatus,global[_0x399a44(0x193)][0x0],_0x48cea0[_0x399a44(0x1a9)]);}catch(_0x1b76e4){logger['debug']('Error:\x20cleaning\x20up\x20driver:\x20'+_0x1b76e4);}global[_0x399a44(0x185)]=[],global[_0x399a44(0x12e)]=![];if(_0x2e94fa)try{await global[_0x399a44(0x193)][0x0][_0x399a44(0x135)]();}catch(_0x3a32ef){logger['debug'](_0x399a44(0x176)+_0x3a32ef);}};});const a9_0x1f298e={};a9_0x1f298e['name']=a9_0x1b097e(0x149),a9_0x1f298e['timeout']=0x2710,Before(a9_0x1f298e,function(_0x197b45,_0x532bc5){const _0x1d6d84=a9_0x1b097e,_0x417bb8={'pypoj':function(_0x4f05d9,_0x7014c4){return _0x4f05d9>_0x7014c4;},'ipiOH':function(_0x34ad53,_0x5e67fd){return _0x34ad53>_0x5e67fd;},'XlVDt':function(_0x3ad759,_0xf86c35){return _0x3ad759(_0xf86c35);},'RzJQG':function(_0x3fc53c,_0x463580,_0x2fa16e,_0x38e8dd){return _0x3fc53c(_0x463580,_0x2fa16e,_0x38e8dd);},'Dswov':_0x1d6d84(0x18f),'XOSaM':function(_0xbc8f5c){return _0xbc8f5c();},'cmfNy':_0x1d6d84(0x1b9)};commandRepository[_0x1d6d84(0x170)](_0x197b45['pickle'][_0x1d6d84(0x13e)]),logger[_0x1d6d84(0x162)](_0x417bb8['cmfNy']),new Promise(async _0x17a7d7=>{const _0x356d06=_0x1d6d84;try{_0x417bb8[_0x356d06(0x116)](global[_0x356d06(0x193)][_0x356d06(0x15e)],0x1)&&(await global[_0x356d06(0x151)](),global[_0x356d06(0x193)][_0x356d06(0x19f)]()),global[_0x356d06(0x193)][0x0][_0x356d06(0x197)]&&_0x417bb8[_0x356d06(0x17a)](global['__drivers'][0x0][_0x356d06(0x197)],0x0)&&await global['driverCleanup']();}catch(_0x59201d){}workerDetails[_0x356d06(0x118)][_0x356d06(0x142)]=_0x197b45['testCaseStartedId'];try{if(!_0x417bb8[_0x356d06(0x11a)](isUndefined,_0x197b45['pickle'][_0x356d06(0x127)])){const _0x18243b=_0x417bb8[_0x356d06(0x134)](shouldScanTestForAccessibility,null,![],_0x197b45[_0x356d06(0x1a0)]['tags']['map'](({name:_0x459796})=>_0x459796));globals[_0x356d06(0x12d)](_0x417bb8[_0x356d06(0x158)],_0x18243b);}}catch(_0x5b530d){logger[_0x356d06(0x162)](_0x356d06(0x190)+util[_0x356d06(0x164)](_0x5b530d));}_0x417bb8['XOSaM'](_0x17a7d7);})[_0x1d6d84(0x186)](_0x532bc5);});const a9_0xe28b04={};function a9_0x55ca(_0x22eb00,_0x45598d){const _0x49e02b=a9_0x49e0();return a9_0x55ca=function(_0x55ca98,_0x153ca1){_0x55ca98=_0x55ca98-0x113;let _0x52bb88=_0x49e02b[_0x55ca98];return _0x52bb88;},a9_0x55ca(_0x22eb00,_0x45598d);}a9_0xe28b04[a9_0x1b097e(0x13e)]=a9_0x1b097e(0x149),a9_0xe28b04[a9_0x1b097e(0x1b1)]=0x2710,After(a9_0xe28b04,function(_0x85be2f,_0x5ee979){const _0x46754a=a9_0x1b097e,_0x1f0e1b={'Dqoei':_0x46754a(0x1bb),'gBqYy':function(_0x3e3a58,_0x40c104){return _0x3e3a58>_0x40c104;},'FyRwT':function(_0x2ca926,_0x2947bf){return _0x2ca926===_0x2947bf;},'ZPNbc':_0x46754a(0x1a3),'hKfgM':function(_0x365a78,_0x409003,_0x235311,_0x1d22c0){return _0x365a78(_0x409003,_0x235311,_0x1d22c0);},'LeEVd':_0x46754a(0x148),'yTBcm':function(_0x1d692b,_0x183eaf,_0x3525a9){return _0x1d692b(_0x183eaf,_0x3525a9);},'VbjkA':'passed','bxzTf':function(_0x5e3ee0){return _0x5e3ee0();},'zHdKk':function(_0x3bb5f7,_0x245114,_0x5584b9,_0x46d779){return _0x3bb5f7(_0x245114,_0x5584b9,_0x46d779);},'AfYnZ':_0x46754a(0x180),'ZPJeY':'isAccessibilityPlatform','uCTux':'bstackA11yShouldScan','XRjqh':_0x46754a(0x152),'ZEtQY':'Performing\x20scan\x20before\x20saving\x20results','luwsh':_0x46754a(0x181),'qSgGm':function(_0x2396eb,_0x509711){return _0x2396eb>_0x509711;},'YmREN':_0x46754a(0x13a)};logger[_0x46754a(0x162)](_0x1f0e1b[_0x46754a(0x198)]),workerDetails[_0x46754a(0x118)][_0x46754a(0x142)]=_0x85be2f[_0x46754a(0x1b6)],new Promise(async _0x3bf176=>{const _0x574d99=_0x46754a;let _0x580870=![];try{const _0x5795be=_0x1f0e1b[_0x574d99(0x169)][_0x574d99(0x121)]('|');let _0x28d681=0x0;while(!![]){switch(_0x5795be[_0x28d681++]){case'0':_0x580870=!![];continue;case'1':!global[_0x574d99(0x192)]&&await global[_0x574d99(0x193)][0x0][_0x574d99(0x132)](_0x574d99(0x18e)+_0x85be2f[_0x574d99(0x1a0)][_0x574d99(0x13e)]+_0x574d99(0x113));continue;case'2':_0x1f0e1b['gBqYy'](global[_0x574d99(0x193)][_0x574d99(0x15e)],0x1)&&(await global['driverCleanup'](),global[_0x574d99(0x193)][_0x574d99(0x19f)](),global[_0x574d99(0x185)]=[],global[_0x574d99(0x12e)]=![]);continue;case'3':await global[_0x574d99(0x193)][0x0]['session_'];continue;case'4':if(_0x1f0e1b[_0x574d99(0x1b8)](_0x85be2f[_0x574d99(0x187)]['status'][_0x574d99(0x157)]()[_0x574d99(0x1ac)](),_0x1f0e1b[_0x574d99(0x120)])||_0x1f0e1b[_0x574d99(0x1b8)](_0x85be2f[_0x574d99(0x187)]['status'][_0x574d99(0x157)]()['toLowerCase'](),'6')){try{global[_0x574d99(0x185)][_0x574d99(0x179)](_0x85be2f[_0x574d99(0x187)]['message']);}catch(_0x1bfb75){logger[_0x574d99(0x162)](_0x574d99(0x16f)+_0x1bfb75);}await _0x1f0e1b[_0x574d99(0x16a)](markSessionStatus,global[_0x574d99(0x193)][0x0],_0x1f0e1b[_0x574d99(0x120)],global[_0x574d99(0x185)][_0x574d99(0x147)](_0x1f0e1b[_0x574d99(0x14b)]));}else await _0x1f0e1b[_0x574d99(0x145)](markSessionStatus,global[_0x574d99(0x193)][0x0],_0x1f0e1b[_0x574d99(0x126)]);continue;}break;}}catch(_0x582f32){logger['debug'](_0x574d99(0x19c)+util['format'](_0x582f32));}try{if(_0x1f0e1b['bxzTf'](shouldProcessEventForTesthub)){const _0x57046f=TestDetails[_0x574d99(0x125)](_0x85be2f[_0x574d99(0x1b6)]),_0x33daaf=await _0x1f0e1b[_0x574d99(0x17f)](sendPlatformDetails,global[_0x574d99(0x193)][0x0],_0x57046f,!![]),_0x42da4f={};_0x42da4f[_0x574d99(0x143)]=_0x57046f,_0x42da4f['integrations']=_0x33daaf;const _0x554836=_0x42da4f,_0x42f035={};_0x42f035[_0x574d99(0x165)]=_0x1f0e1b[_0x574d99(0x174)],_0x42f035[_0x574d99(0x13c)]=_0x554836,await SessionHandler[_0x574d99(0x1aa)](_0x42f035);}}catch(_0x153c78){logger[_0x574d99(0x162)](_0x574d99(0x16d)+util[_0x574d99(0x164)](_0x153c78));}try{if(globals['getGlobal'](_0x1f0e1b[_0x574d99(0x199)])&&globals['getGlobal'](_0x1f0e1b[_0x574d99(0x1a4)])){logger[_0x574d99(0x189)](_0x1f0e1b[_0x574d99(0x155)]);const _0x46d03c=TestDetails[_0x574d99(0x125)](_0x85be2f[_0x574d99(0x1b6)]),_0x4f79c5={};_0x4f79c5[_0x574d99(0x191)]=_0x46d03c,_0x4f79c5['thBuildUuid']=process[_0x574d99(0x16c)][testHubConstants[_0x574d99(0x18b)][_0x574d99(0x1b7)]],_0x4f79c5[_0x574d99(0x144)]=process[_0x574d99(0x16c)][testHubConstants[_0x574d99(0x18b)][_0x574d99(0x1a5)]];const _0x3ae08c=_0x4f79c5;logger[_0x574d99(0x162)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x574d99(0x1ae)](_0x3ae08c)),logger['debug'](_0x1f0e1b['ZEtQY']),logger[_0x574d99(0x162)](util[_0x574d99(0x164)](await global[_0x574d99(0x193)][0x0]['executeAsyncScript'](scripts[_0x574d99(0x122)],{'method':global['browserstackSessionName']}))),await global[_0x574d99(0x193)][0x0][_0x574d99(0x124)](scripts[_0x574d99(0x160)],_0x3ae08c),logger[_0x574d99(0x189)](_0x1f0e1b['luwsh']);}}catch(_0x4094cf){logger[_0x574d99(0x154)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20'+util[_0x574d99(0x164)]);}if(_0x580870)try{global['__drivers'][0x0]&&_0x1f0e1b['qSgGm'](global['__drivers'][0x0]['quitCount_'],0x0)&&await global[_0x574d99(0x193)][0x0][_0x574d99(0x135)]();}catch(_0xbf4009){logger['debug'](_0x574d99(0x138)+_0xbf4009);}_0x1f0e1b[_0x574d99(0x141)](_0x3bf176);})['finally'](()=>_0x5ee979());});const a9_0x6f5b56={};a9_0x6f5b56[a9_0x1b097e(0x13e)]=a9_0x1b097e(0x149),a9_0x6f5b56['timeout']=0x2710,AfterStep(a9_0x6f5b56,function(_0x2e4960,_0xa30461){const _0x5ed70d=a9_0x1b097e,_0x25898e={'OMHLI':function(_0x1fd723,_0x1043d5){return _0x1fd723===_0x1043d5;},'bwvhW':_0x5ed70d(0x1a3),'cZJAo':function(_0x403283,_0x515e09){return _0x403283===_0x515e09;},'QVkfS':function(_0x45a99b,_0x1014b4){return _0x45a99b!==_0x1014b4;},'TICTw':function(_0x347b30,_0x36e310,_0x96159f){return _0x347b30(_0x36e310,_0x96159f);},'HoNvW':function(_0x34f7ef,_0x2d15aa){return _0x34f7ef+_0x2d15aa;},'WERIi':function(_0x58030c,_0x2e241c){return _0x58030c+_0x2e241c;},'EmrOg':_0x5ed70d(0x1ab),'kYemv':'\x0aError:\x20','YEslv':_0x5ed70d(0x154),'rTUJo':function(_0x3482d8,_0x34fb25){return _0x3482d8+_0x34fb25;},'QgMOX':function(_0x42d11e,_0x35e9ab){return _0x42d11e+_0x35e9ab;},'kSnGR':_0x5ed70d(0x1b3),'kGtzH':_0x5ed70d(0x189),'KwEjv':_0x5ed70d(0x16b),'eTfYO':function(_0x423bc7){return _0x423bc7();},'Uzjwr':_0x5ed70d(0x14e)};logger[_0x5ed70d(0x162)](_0x25898e[_0x5ed70d(0x140)]);const _0x48e04f=async(_0x36ce7d,_0x16c708)=>{const _0x2c0217=_0x5ed70d;await global['__drivers'][0x0][_0x2c0217(0x132)](_0x2c0217(0x129)+_0x36ce7d+',\x22level\x22:\x20\x22'+_0x16c708+'\x22}}');};new Promise(async _0x318e3c=>{const _0x3b0914=_0x5ed70d;try{_0x25898e[_0x3b0914(0x119)](_0x2e4960['result'][_0x3b0914(0x168)][_0x3b0914(0x157)]()[_0x3b0914(0x1ac)](),_0x25898e[_0x3b0914(0x1b0)])||_0x25898e[_0x3b0914(0x156)](_0x2e4960['result'][_0x3b0914(0x168)][_0x3b0914(0x157)]()[_0x3b0914(0x1ac)](),'6')?(global['__sessionFailed']=!![],global[_0x3b0914(0x185)][_0x3b0914(0x179)](_0x2e4960[_0x3b0914(0x187)][_0x3b0914(0x18d)]),_0x25898e[_0x3b0914(0x114)](_0x2e4960[_0x3b0914(0x167)],undefined)?await _0x25898e[_0x3b0914(0x172)](_0x48e04f,JSON[_0x3b0914(0x1ae)](_0x25898e['HoNvW'](_0x25898e[_0x3b0914(0x159)](_0x25898e[_0x3b0914(0x12f)](_0x25898e[_0x3b0914(0x163)],'\x22'+_0x2e4960['pickleStep'][_0x3b0914(0x184)]+'\x22\x20'),_0x25898e[_0x3b0914(0x139)]),_0x2e4960[_0x3b0914(0x187)][_0x3b0914(0x18d)])),_0x25898e['YEslv']):await _0x25898e[_0x3b0914(0x172)](_0x48e04f,JSON[_0x3b0914(0x1ae)](_0x25898e[_0x3b0914(0x1ad)](_0x25898e['EmrOg'],_0x2e4960['result'][_0x3b0914(0x18d)])),_0x25898e[_0x3b0914(0x15f)])):_0x25898e[_0x3b0914(0x114)](_0x2e4960[_0x3b0914(0x167)],undefined)?await _0x25898e[_0x3b0914(0x172)](_0x48e04f,JSON[_0x3b0914(0x1ae)](_0x25898e['QgMOX'](_0x25898e[_0x3b0914(0x13b)],'\x22'+_0x2e4960[_0x3b0914(0x167)][_0x3b0914(0x184)]+'\x22')),_0x25898e[_0x3b0914(0x161)]):await _0x25898e[_0x3b0914(0x172)](_0x48e04f,JSON[_0x3b0914(0x1ae)](_0x25898e[_0x3b0914(0x14c)]),_0x25898e[_0x3b0914(0x161)]);}catch(_0x257405){logger['debug'](_0x3b0914(0x19a)+_0x257405);}_0x25898e[_0x3b0914(0x14f)](_0x318e3c);})['finally'](()=>_0xa30461());});const a9_0x4c6990={};a9_0x4c6990['name']=a9_0x1b097e(0x149),a9_0x4c6990[a9_0x1b097e(0x1b1)]=0x7530,AfterAll(a9_0x4c6990,async function(_0x61c0eb,_0x54efc6){const _0x328c0e=a9_0x1b097e,_0x4ecfda={'XQYLM':function(_0x411394){return _0x411394();},'OtVLe':_0x328c0e(0x1a7)};logger['debug'](_0x4ecfda[_0x328c0e(0x183)]),await new Promise(async _0x56a7b5=>{const _0x1d3646=_0x328c0e;await RequestQueueHandler[_0x1d3646(0x11e)]()[_0x1d3646(0x18a)](),PerformanceTester[_0x1d3646(0x178)](),await global[_0x1d3646(0x151)](),_0x4ecfda['XQYLM'](_0x56a7b5);});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a10_0x55d416=a10_0x5bd3;(function(_0x1695a5,_0x35d355){const _0x150666=a10_0x5bd3,_0x23bb2e=_0x1695a5();while(!![]){try{const _0x10fb1f=parseInt(_0x150666(0x132))/0x1*(-parseInt(_0x150666(0x14d))/0x2)+-parseInt(_0x150666(0x126))/0x3+-parseInt(_0x150666(0x127))/0x4+parseInt(_0x150666(0x147))/0x5+parseInt(_0x150666(0x131))/0x6*(parseInt(_0x150666(0x149))/0x7)+parseInt(_0x150666(0x12b))/0x8+parseInt(_0x150666(0x124))/0x9;if(_0x10fb1f===_0x35d355)break;else _0x23bb2e['push'](_0x23bb2e['shift']());}catch(_0x1d9c1c){_0x23bb2e['push'](_0x23bb2e['shift']());}}}(a10_0x961d,0x68479));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a10_0x55d416(0x14f)),setKeepAlive=require(a10_0x55d416(0x139)),cucumberModule=requireModule(a10_0x55d416(0x13f)),logger=require(a10_0x55d416(0x14b))['winstonLogger'];modifyCommand(),setKeepAlive();const Before=cucumberModule[a10_0x55d416(0x142)],After=cucumberModule[a10_0x55d416(0x12d)],configuration=process[a10_0x55d416(0x153)]['CONFIG'];if(configuration!==undefined){const config=JSON['parse'](configuration);isTrue(config['skipSessionName'])&&(global[a10_0x55d416(0x151)]=!![]),global[a10_0x55d416(0x14a)]=isTrue(config[a10_0x55d416(0x143)]),require(a10_0x55d416(0x13d))[a10_0x55d416(0x134)](config),global['__platformCaps']=config[a10_0x55d416(0x13a)]||{};}global[a10_0x55d416(0x123)]=0x0;const __setDefaultTimeout=cucumberModule[a10_0x55d416(0x154)];cucumberModule[a10_0x55d416(0x154)]=_0x14f37a=>{const _0x4a7edf=a10_0x55d416,_0x26adf5={'hfIZN':function(_0x5ca8b1,_0x1e3e88){return _0x5ca8b1(_0x1e3e88);}};global[_0x4a7edf(0x123)]=_0x14f37a,_0x26adf5['hfIZN'](__setDefaultTimeout,_0x14f37a);};const a10_0x5e0169={};a10_0x5e0169[a10_0x55d416(0x145)]=a10_0x55d416(0x125),Before(a10_0x5e0169,function(){const _0x5f54c1=a10_0x55d416,_0x3f7fc3={};_0x3f7fc3[_0x5f54c1(0x138)]=_0x5f54c1(0x150);const _0x2797e3=_0x3f7fc3;logger[_0x5f54c1(0x122)](_0x2797e3['LJJlV']),global[_0x5f54c1(0x13e)]=[];});function a10_0x5bd3(_0x1d93e0,_0x2a203a){const _0x961dea=a10_0x961d();return a10_0x5bd3=function(_0x5bd3e6,_0x39151c){_0x5bd3e6=_0x5bd3e6-0x121;let _0x349550=_0x961dea[_0x5bd3e6];return _0x349550;},a10_0x5bd3(_0x1d93e0,_0x2a203a);}const a10_0x3789f7={};function a10_0x961d(){const _0x119ade=['Vvsuz','timeout','failed','14286DaMSsX','1WGdqtp','wHTam','browserstackAgentV2','executeScript','then','__driver','LJJlV','../../helpers/setKeepAlive','platformCaps','\x22}}','\x20|\x20','../../index','__error_messages__','cucumber/lib/index.js','pickle','tKSeZ','Before','skipSessionStatus','hzQDj','name','status','180275IrjoNG','VKNua','7UOgQfB','__skipSessionStatus','../../helpers/logger','result','1343954nTawjM','Error:\x20quiting\x20at\x20After:\x20','../../helpers/helper','Inside\x20browserstack\x20Before','__skipSessionName','aRPld','env','setDefaultTimeout','EDlBJ','debug','__timeout','14390235Phzzyb','bstack','2555109suACmT','591880ZjTbzA','toLowerCase','initQuit','PkLso','3691424VuKaoj','Inside\x20browserstack\x20After','After'];a10_0x961d=function(){return _0x119ade;};return a10_0x961d();}a10_0x3789f7[a10_0x55d416(0x145)]=a10_0x55d416(0x125),a10_0x3789f7[a10_0x55d416(0x12f)]=0x2710,After(a10_0x3789f7,function(_0x578e89,_0x5ebd14){const _0x326a31=a10_0x55d416,_0x5ec0d8={'aRPld':function(_0x18fd7b,_0x1a5a43){return _0x18fd7b===_0x1a5a43;},'EDlBJ':_0x326a31(0x130),'wHTam':function(_0x1bbc51,_0x316617,_0x242442,_0x26235e){return _0x1bbc51(_0x316617,_0x242442,_0x26235e);},'GVcqb':_0x326a31(0x13c),'PkLso':function(_0xd8b6fe,_0x39d0c0,_0x4f42ec){return _0xd8b6fe(_0x39d0c0,_0x4f42ec);},'VKNua':'passed','SqKbe':function(_0x1b87e2){return _0x1b87e2();},'tKSeZ':function(_0x506b28,_0xa5c8e8){return _0x506b28(_0xa5c8e8);},'Vvsuz':function(_0x54704b){return _0x54704b();},'hzQDj':_0x326a31(0x12c)};logger[_0x326a31(0x122)](_0x5ec0d8[_0x326a31(0x144)]),new Promise(async(_0x194b99,_0x59564b)=>{const _0x233ad=_0x326a31;let _0x4d2f88=![];try{await global[_0x233ad(0x137)]['session_'],_0x4d2f88=!![],!global['__skipSessionName']&&await global['__driver'][_0x233ad(0x135)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22'+_0x578e89[_0x233ad(0x140)][_0x233ad(0x145)]+_0x233ad(0x13b)),_0x5ec0d8[_0x233ad(0x152)](_0x578e89[_0x233ad(0x14c)][_0x233ad(0x146)][_0x233ad(0x128)](),_0x5ec0d8[_0x233ad(0x121)])?await _0x5ec0d8[_0x233ad(0x133)](markSessionStatus,global[_0x233ad(0x137)],_0x5ec0d8[_0x233ad(0x121)],global[_0x233ad(0x13e)]['join'](_0x5ec0d8['GVcqb'])):await _0x5ec0d8[_0x233ad(0x12a)](markSessionStatus,global['__driver'],_0x5ec0d8[_0x233ad(0x148)]);}catch(_0x513bfd){logger[_0x233ad(0x122)]('Error:\x20setting\x20status\x20at\x20After:\x20'+_0x513bfd);}if(_0x4d2f88)try{await global[_0x233ad(0x137)][_0x233ad(0x129)](),_0x5ec0d8['SqKbe'](_0x194b99);}catch(_0x36042f){logger[_0x233ad(0x122)](_0x233ad(0x14e)+_0x36042f),_0x5ec0d8[_0x233ad(0x141)](_0x59564b,_0x36042f);}else _0x5ec0d8[_0x233ad(0x12e)](_0x59564b);})[_0x326a31(0x136)](()=>_0x5ebd14());});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a11_0x487f3c=a11_0x1647;(function(_0x2189bd,_0x8ff3fc){const _0x1cae22=a11_0x1647,_0x37dbe9=_0x2189bd();while(!![]){try{const _0x5ddf67=-parseInt(_0x1cae22(0x19d))/0x1+parseInt(_0x1cae22(0x19a))/0x2+parseInt(_0x1cae22(0x198))/0x3*(parseInt(_0x1cae22(0x19f))/0x4)+-parseInt(_0x1cae22(0x19b))/0x5+-parseInt(_0x1cae22(0x19e))/0x6+-parseInt(_0x1cae22(0x195))/0x7+parseInt(_0x1cae22(0x1a0))/0x8*(parseInt(_0x1cae22(0x197))/0x9);if(_0x5ddf67===_0x8ff3fc)break;else _0x37dbe9['push'](_0x37dbe9['shift']());}catch(_0x51d28f){_0x37dbe9['push'](_0x37dbe9['shift']());}}}(a11_0x4d3d,0x81ed3));function a11_0x4d3d(){const _0x2dc99b=['BSTACK_DELTA','1101308GOLNlK','3838765zQjamC','__timeout','8945VELdGP','871362RGuYvJ','965388DqLwgE','120HcHlfI','setDefaultTimeout','cucumber/lib/index.js','../utils/constants','4307184Kudlsw','../../helpers/helper','766449aXttNZ','3onlurH'];a11_0x4d3d=function(){return _0x2dc99b;};return a11_0x4d3d();}const {requireModule}=require(a11_0x487f3c(0x196)),constants=require(a11_0x487f3c(0x194));;let cucumberModule=null;function a11_0x1647(_0x59dbad,_0x15f200){const _0x4d3df8=a11_0x4d3d();return a11_0x1647=function(_0x164782,_0x213835){_0x164782=_0x164782-0x194;let _0x59e710=_0x4d3df8[_0x164782];return _0x59e710;},a11_0x1647(_0x59dbad,_0x15f200);}try{cucumberModule=requireModule('@cucumber/cucumber/lib/index.js');}catch(a11_0x78e597){cucumberModule=requireModule(a11_0x487f3c(0x1a2));}cucumberModule[a11_0x487f3c(0x1a1)](constants[a11_0x487f3c(0x199)]+global[a11_0x487f3c(0x19c)]*0x1);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a12_0x4b8522=a12_0x5527;(function(_0x583e7e,_0x363d76){const _0x1d3688=a12_0x5527,_0x3471ba=_0x583e7e();while(!![]){try{const _0x10c546=parseInt(_0x1d3688(0x1c5))/0x1*(parseInt(_0x1d3688(0x1c2))/0x2)+parseInt(_0x1d3688(0x1b9))/0x3+parseInt(_0x1d3688(0x1d6))/0x4+-parseInt(_0x1d3688(0x1ba))/0x5*(parseInt(_0x1d3688(0x1ac))/0x6)+parseInt(_0x1d3688(0x1ab))/0x7+parseInt(_0x1d3688(0x1b2))/0x8+-parseInt(_0x1d3688(0x1c0))/0x9;if(_0x10c546===_0x363d76)break;else _0x3471ba['push'](_0x3471ba['shift']());}catch(_0x548821){_0x3471ba['push'](_0x3471ba['shift']());}}}(a12_0x47fe,0xe1ba1));function a12_0x47fe(){const _0x58dff7=['BrowserStack\x20access\x20key\x20missing.','help','missing','FNnIU','root','443','winstonLogger','string','config','../../helpers/logger','undefined','pbavh','886039OgMAay','344958ZxPkIf','map','epilogue','browserstackLocal','jffXs','BDgbw','1341024xECiEI','fUChC','./constants','vgYdp','error','CugoF','connect','1715577DQWZha','35TaLGFD','describe','trim','EKZGP','LSrcS','integrations-repeater','24744933rVuTMu','type','9722gEtiAg','info','replace','311LhtqQv','https:','toString','browserStackLocalOptions','bstack-accesskey','command','every','bstackAccessKey','../../helpers/helper','LMrSF','Integration\x20hosts\x20missing.','bstackAccesskey','Connection\x20established\x20successfully.','invalid','usage','LFFZx','options','6794520sNJNKz','MkHfJ','integrations','split','only','demandOption','join','SuOFm','EXaiY','port','hosts','accessKey','protocol'];a12_0x47fe=function(){return _0x58dff7;};return a12_0x47fe();}function a12_0x5527(_0x7830ed,_0x5030c8){const _0x47fe0a=a12_0x47fe();return a12_0x5527=function(_0x552735,_0x1340ea){_0x552735=_0x552735-0x193;let _0x31b01c=_0x47fe0a[_0x552735];return _0x31b01c;},a12_0x5527(_0x7830ed,_0x5030c8);}const {default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),logger=require(a12_0x4b8522(0x1a8))[a12_0x4b8522(0x1a5)],{URL}=require('url'),helper=require(a12_0x4b8522(0x1cd)),{HELP_MESSAGES,ERROR_MESSAGES}=require(a12_0x4b8522(0x1b4)),validHosts=function(_0x3061de){const _0x2fbd67=a12_0x4b8522;return _0x3061de['split'](',')[_0x2fbd67(0x1cb)](_0x595c77=>{try{new URL(_0x595c77['trim']());}catch(_0x5e0592){return![];}return!![];});},parseOnPremHosts=function(_0x1ea41a){const _0x13708b=a12_0x4b8522,_0x338fc9={};_0x338fc9[_0x13708b(0x1b1)]=function(_0x1fb656,_0x53aa29){return _0x1fb656===_0x53aa29;},_0x338fc9[_0x13708b(0x1b0)]=_0x13708b(0x1c6),_0x338fc9['liHWL']=_0x13708b(0x1a4),_0x338fc9['FNnIU']='https';const _0x44d806=_0x338fc9;return _0x1ea41a[_0x13708b(0x195)](',')[_0x13708b(0x1ad)](_0x12e431=>{const _0x220350=_0x13708b,_0x2c9a38=new URL(_0x12e431[_0x220350(0x1bc)]()),_0x26028b=_0x2c9a38['hostname'],_0x40e077=_0x2c9a38[_0x220350(0x19b)]||(_0x44d806[_0x220350(0x1b1)](_0x2c9a38[_0x220350(0x19e)],_0x44d806[_0x220350(0x1b0)])?_0x44d806['liHWL']:'80'),_0x14ff23=_0x2c9a38[_0x220350(0x19e)][_0x220350(0x1c4)](':',''),_0x188491=_0x44d806[_0x220350(0x1b1)](_0x14ff23,_0x44d806[_0x220350(0x1a2)])?0x1:0x0;return _0x26028b+','+_0x40e077+','+_0x188491;});},connectCommandBuilder=function(_0xeb41){const _0x15d826=a12_0x4b8522,_0x579b46={};_0x579b46[_0x15d826(0x1d4)]=_0x15d826(0x1a6);const _0x41a0ee=_0x579b46,_0x175c2e={};_0x175c2e[_0x15d826(0x1bb)]=HELP_MESSAGES[_0x15d826(0x1d5)]['bstackAccessKey'],_0x175c2e[_0x15d826(0x1c1)]=_0x41a0ee[_0x15d826(0x1d4)];const _0x3921fa={};_0x3921fa[_0x15d826(0x1bb)]=HELP_MESSAGES[_0x15d826(0x1d5)][_0x15d826(0x19c)],_0x3921fa['type']=_0x41a0ee[_0x15d826(0x1d4)],_0x3921fa[_0x15d826(0x197)]=!![];const _0x2ed2d6={};return _0x2ed2d6[_0x15d826(0x1c9)]=_0x175c2e,_0x2ed2d6[_0x15d826(0x19c)]=_0x3921fa,_0xeb41['options'](_0x2ed2d6);},connectCommandHandler=async function(_0x5d3b82){const _0x23bda4=a12_0x4b8522,_0x5f5443={'LSrcS':_0x23bda4(0x194),'ECGAr':function(_0x44ffe4,_0x3f4efa){return _0x44ffe4===_0x3f4efa;},'vgYdp':_0x23bda4(0x1a9),'SuOFm':_0x23bda4(0x19f),'LMrSF':function(_0x2f93df,_0x3d842e){return _0x2f93df===_0x3d842e;},'CugoF':_0x23bda4(0x1cf),'MkHfJ':function(_0x289361,_0x22daa5){return _0x289361(_0x22daa5);},'fUChC':'Hosts\x20not\x20valid','iPKJn':_0x23bda4(0x1bf),'WHegQ':_0x23bda4(0x1d1),'EKZGP':'Failed\x20to\x20establish\x20connection.'};try{const _0x5e4b56=new BrowserStackSetup(_0x5d3b82,_0x5f5443[_0x23bda4(0x1be)]);_0x5d3b82[_0x23bda4(0x1d0)]&&(_0x5e4b56[_0x23bda4(0x1a7)][_0x23bda4(0x19d)]=_0x5d3b82[_0x23bda4(0x1d0)]);if(_0x5f5443['ECGAr'](typeof _0x5e4b56[_0x23bda4(0x1a7)][_0x23bda4(0x19d)],_0x5f5443[_0x23bda4(0x1b5)])){logger[_0x23bda4(0x1b6)](_0x5f5443[_0x23bda4(0x199)]);throw new Error(ERROR_MESSAGES[_0x23bda4(0x1cc)]['missing']);}const _0x2b462f=_0x5d3b82[_0x23bda4(0x19c)];if(_0x5f5443[_0x23bda4(0x1ce)](typeof _0x2b462f,_0x5f5443['vgYdp'])){logger[_0x23bda4(0x1b6)](_0x5f5443[_0x23bda4(0x1b7)]);throw new Error(ERROR_MESSAGES['hosts'][_0x23bda4(0x1a1)]);}if(!_0x5f5443[_0x23bda4(0x193)](validHosts,_0x2b462f)){logger[_0x23bda4(0x1b6)](_0x5f5443[_0x23bda4(0x1b3)]);throw new Error(ERROR_MESSAGES[_0x23bda4(0x19c)][_0x23bda4(0x1d2)]);}const _0x30bb6a=_0x5f5443[_0x23bda4(0x193)](parseOnPremHosts,_0x2b462f);_0x5e4b56[_0x23bda4(0x1a7)][_0x23bda4(0x1af)]=!![],_0x5e4b56['config'][_0x23bda4(0x1c8)]['localIdentifier']=_0x5f5443['iPKJn'],_0x5e4b56[_0x23bda4(0x1a7)]['browserStackLocalOptions'][_0x23bda4(0x196)]=_0x30bb6a[_0x23bda4(0x198)](','),helper['setProxySettings'](_0x5e4b56['config']),await _0x5e4b56['setupBrowserstackLocal'](),logger[_0x23bda4(0x1c3)](_0x5f5443['WHegQ']);}catch(_0x3571a3){logger['error'](_0x5f5443[_0x23bda4(0x1bd)]);throw new Error(_0x3571a3[_0x23bda4(0x1c7)]());}};function run(_0x501824){const _0x38b44f=a12_0x4b8522,_0x401039={};_0x401039['EXaiY']=_0x38b44f(0x1b8),_0x401039['pbavh']='help';const _0x2d7b88=_0x401039;_0x501824[_0x38b44f(0x1d3)](HELP_MESSAGES['command'][_0x38b44f(0x1a3)])[_0x38b44f(0x1ca)](_0x2d7b88[_0x38b44f(0x19a)],HELP_MESSAGES[_0x38b44f(0x1ca)]['connect'],connectCommandBuilder,connectCommandHandler)['demandCommand']()[_0x38b44f(0x1a0)](_0x2d7b88[_0x38b44f(0x1aa)])[_0x38b44f(0x1ae)](HELP_MESSAGES['command']['footer']);}module['exports']=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a13_0x2197f3=a13_0x4267;(function(_0x1c064b,_0x1a25f){var _0x2d4f4c=a13_0x4267,_0x3fcc56=_0x1c064b();while(!![]){try{var _0x582a26=parseInt(_0x2d4f4c(0x142))/0x1*(parseInt(_0x2d4f4c(0x141))/0x2)+parseInt(_0x2d4f4c(0x146))/0x3+parseInt(_0x2d4f4c(0x139))/0x4+-parseInt(_0x2d4f4c(0x13e))/0x5+-parseInt(_0x2d4f4c(0x13b))/0x6+parseInt(_0x2d4f4c(0x138))/0x7+-parseInt(_0x2d4f4c(0x147))/0x8;if(_0x582a26===_0x1a25f)break;else _0x3fcc56['push'](_0x3fcc56['shift']());}catch(_0x61e924){_0x3fcc56['push'](_0x3fcc56['shift']());}}}(a13_0x5c00,0xbee14));var a13_0x3d338f={};function a13_0x4267(_0x10e229,_0x5ee7d6){var _0x5c0086=a13_0x5c00();return a13_0x4267=function(_0x426778,_0x32dd97){_0x426778=_0x426778-0x138;var _0x2fc80e=_0x5c0086[_0x426778];return _0x2fc80e;},a13_0x4267(_0x10e229,_0x5ee7d6);}a13_0x3d338f[a13_0x2197f3(0x140)]=a13_0x2197f3(0x148),a13_0x3d338f[a13_0x2197f3(0x13a)]=a13_0x2197f3(0x14d);var a13_0x2b7918={};a13_0x2b7918[a13_0x2197f3(0x13d)]=a13_0x2197f3(0x14a),a13_0x2b7918[a13_0x2197f3(0x143)]=a13_0x2197f3(0x14b),a13_0x2b7918[a13_0x2197f3(0x14c)]='Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.';var a13_0x47fc97={};a13_0x47fc97[a13_0x2197f3(0x145)]=a13_0x3d338f,a13_0x47fc97[a13_0x2197f3(0x149)]=a13_0x2b7918,exports[a13_0x2197f3(0x14e)]=a13_0x47fc97;var a13_0x3b8082={};a13_0x3b8082['missing']='BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.';var a13_0x5602b0={};a13_0x5602b0[a13_0x2197f3(0x144)]=a13_0x2197f3(0x13f),a13_0x5602b0['invalid']=a13_0x2197f3(0x13c);var a13_0x2f867b={};function a13_0x5c00(){var _0x3ccc20=['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.','root','1120345zKHmUf','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','bstackAccessKey','64oUUeKT','11120vAecWu','connect','missing','options','1077087WxHmVg','10114896KOkLNV','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','command','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','footer','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.','HELP_MESSAGES','ERROR_MESSAGES','6188035hmSFSR','4719948sDpRkg','hosts','3051516lcnJuY'];a13_0x5c00=function(){return _0x3ccc20;};return a13_0x5c00();}a13_0x2f867b[a13_0x2197f3(0x140)]=a13_0x3b8082,a13_0x2f867b['hosts']=a13_0x5602b0,exports[a13_0x2197f3(0x14f)]=a13_0x2f867b;
|