browserstack-node-sdk 1.34.4 → 1.34.5
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
|
-
const a6_0x4aca4f=a6_0x2696;(function(_0x1944f2,_0x2df7ae){const _0x337957=a6_0x2696,_0x5a736c=_0x1944f2();while(!![]){try{const _0x2aa559=-parseInt(_0x337957(0x1d4))/0x1*(-parseInt(_0x337957(0x1f8))/0x2)+-parseInt(_0x337957(0x1c7))/0x3+parseInt(_0x337957(0x1f4))/0x4*(parseInt(_0x337957(0x178))/0x5)+parseInt(_0x337957(0x1ef))/0x6+-parseInt(_0x337957(0x204))/0x7+parseInt(_0x337957(0x196))/0x8+-parseInt(_0x337957(0x1b4))/0x9*(parseInt(_0x337957(0x16f))/0xa);if(_0x2aa559===_0x2df7ae)break;else _0x5a736c['push'](_0x5a736c['shift']());}catch(_0x1b99ec){_0x5a736c['push'](_0x5a736c['shift']());}}}(a6_0x4287,0xd588e));function a6_0x2696(_0x576bad,_0x5d561b){const _0x428710=a6_0x4287();return a6_0x2696=function(_0x269638,_0x57aecf){_0x269638=_0x269638-0x16a;let _0x33062a=_0x428710[_0x269638];return _0x33062a;},a6_0x2696(_0x576bad,_0x5d561b);}const {requireModule,getPlatformName,nestedKeyValue,isUndefined}=require(a6_0x4aca4f(0x189)),util=require(a6_0x4aca4f(0x17a)),{Formatter,formatterHelpers,Status}=requireModule(a6_0x4aca4f(0x1bd)),TestDetails=require(a6_0x4aca4f(0x1dc)),TestObservabilityReporter=require('../test-observability.js'),{o11yClassErrorHandler}=require(a6_0x4aca4f(0x1cf)),{shouldProcessEventForTesthub}=require(a6_0x4aca4f(0x1e4)),testObservabilityReporter=new TestObservabilityReporter(),logger=require(a6_0x4aca4f(0x16d))[a6_0x4aca4f(0x1d0)],_tests={},_testCasesData={};function a6_0x4287(){const _0xd5b015=['capability','SKIPPED','jzJhw','1301118KxhcTe','testCaseStarted','kFpfN','log','QBuJu','BbEfw','tWRiP','exports','hVbpg','bvLWS','DxVLt','pickle','steps','FAILED','bAcPp','onTestRunFinished','testCaseAttemptDataMap','checkHookURI','push','../../../helpers/logger','toISOString','2390LwovKN','sourceLocation','children','onTestCaseStarted','onTestStepStarted','Zqylk','afterTestCaseHookDefinitions','testCaseId','CONFIG','3435GbSpTn','stepDefinitionIds','util','getGherkinStepMap','rjkON','iVtJf','ZdJcv','result','message','OdCYY','testRunStarted','Hidln','onTestCaseFinished','onTestRunStarted','incrementCounter','uri','setup','../../../helpers/helper','parseTestCaseAttempt','\x20-\x20','UDWLx','scenario','JFlxB','includes','HookRunStarted','seconds','envelope','eventBroadcaster','line','status','1597304vehTrO','Exception\x20in\x20onTestStepStarted\x20event:\x20','text','gherkinDocument','parse','logTestRunFinished','testCaseAttempt','flat','ETBpE','forEach','JjukE','testCaseStartedId','KHzPv','PASSED','KVGnY','bstack','hookId','debug','stepDefinitions','testStepResult','__platform','name','jNNvI','feature','background','Executing\x20tests\x20for\x20','format','IfrkK','ZwQWH','MdXfs','56277sHqEoL','pickleMap','getTestCaseAttempt','gherkinDocumentMap','failure','ASzqA','failed','lnHNU','FNvap','@cucumber/cucumber','uSCSS','cucumber-js/test.setup.js','DYeWI','length','wNuOB','Exception\x20in\x20sending\x20onTestCaseFinished\x20event:\x20\x20','sendTestRunEventForCucumber','VsUoM','env','3195219gKbzyw','pickleId','RAjoq','supportCodeLibrary','map','finished_at','fWCtQ','rule','../../../helpers/test-observability/error-handler','winstonLogger','eOLGX','ciQqW','TestRunStarted','1291PRMymc','find','testStepId','sendHook','split','tlQYE','cwd','testCaseFinished','../../playwright/reporter/test-details.js','UNDEFINED','tpAvy','exception','duration','testCaseMap','extractStepContainers','eventDataCollector','../../../helpers/testhub/utils.js','PENDING','testSteps','fupZq','isBstackHook','values','logTestCaseFinished','GPEFZ','failureType','UnhandledError','VdJzY','8380422UFVqnL','pickleStepId','YqkTN','Exception\x20in\x20onTestStepFinished\x20event:\x20','onTestStepFinished','5476uNJTxO','FxrEg','TestRunFinished','GMeRs','1678dXLhfa','getGherkinDocument','giuzn','UNKNOWN','testStepStarted','actionLocation','Exception\x20in\x20sending\x20onTestCaseStarted:\x20','luUQc','snippetBuilder'];a6_0x4287=function(){return _0xd5b015;};return a6_0x4287();}class BrowserstackFormatter extends Formatter{constructor(_0xd65360){const _0x22dfc8=a6_0x4aca4f,_0x369157={};_0x369157[_0x22dfc8(0x1ee)]=_0x22dfc8(0x192);const _0x1e83b5=_0x369157;super(_0xd65360),_0xd65360[_0x22dfc8(0x193)]['on'](_0x1e83b5[_0x22dfc8(0x1ee)],async _0x3e081f=>{const _0xaa737b=_0x22dfc8;switch(!![]){case!!_0x3e081f[_0xaa737b(0x182)]:this[_0xaa737b(0x185)]();break;case!!_0x3e081f['testRunFinished']:this[_0xaa737b(0x213)](_0x3e081f['testRunFinished']);break;case!!_0x3e081f[_0xaa737b(0x205)]:this[_0xaa737b(0x172)](_0x3e081f[_0xaa737b(0x205)],_0xd65360,_0x3e081f);break;case!!_0x3e081f[_0xaa737b(0x1db)]:this['onTestCaseFinished'](_0x3e081f[_0xaa737b(0x1db)],_0xd65360,_0x3e081f);break;case!!_0x3e081f[_0xaa737b(0x1fc)]:this[_0xaa737b(0x173)](_0x3e081f[_0xaa737b(0x1fc)],_0xd65360);break;case!!_0x3e081f['testStepFinished']:this[_0xaa737b(0x1f3)](_0x3e081f['testStepFinished'],_0xd65360);break;}});}[a6_0x4aca4f(0x1ea)](_0x186e5e){const _0x40b9b6=a6_0x4aca4f,_0x58f113={'YqkTN':function(_0x2ee2dd,_0x3e652f){return _0x2ee2dd!==_0x3e652f;},'Tuwoi':_0x40b9b6(0x1a5),'Hidln':function(_0x298996,_0x998465){return _0x298996+_0x998465;},'FNvap':function(_0x2b4356,_0x390128){return _0x2b4356+_0x390128;},'IfrkK':function(_0x31c2f0,_0x2c54b2){return _0x31c2f0+_0x2c54b2;},'ZdJcv':function(_0x47437b,_0x39fba8){return _0x47437b+_0x39fba8;},'Zqylk':'\x20\x20\x20\x20','MdXfs':_0x40b9b6(0x18b),'iVtJf':function(_0x587448,_0xb875a4){return _0x587448===_0xb875a4;},'cTJiS':'FAILED','xTRmX':function(_0x24ad8a,_0x2171fd,_0x48b242){return _0x24ad8a(_0x2171fd,_0x48b242);},'GMeRs':_0x40b9b6(0x17f),'lerKc':_0x40b9b6(0x180),'tWRiP':function(_0x36b727,_0x46e6f6){return _0x36b727+_0x46e6f6;},'GPEFZ':function(_0x28858d,_0x1362f5){return _0x28858d+_0x1362f5;},'VsUoM':function(_0x2a2292,_0x519208){return _0x2a2292+_0x519208;},'hVbpg':function(_0x4fcb69,_0x1ca66f){return _0x4fcb69+_0x1ca66f;},'fupZq':function(_0x2a3770,_0x328591){return _0x2a3770+_0x328591;},'kFpfN':function(_0x552c27,_0x5fff2e){return _0x552c27+_0x5fff2e;},'upOMM':function(_0x13bb68,_0x5e2882){return _0x13bb68+_0x5e2882;},'KLybv':function(_0x5d9be4,_0x26386b){return _0x5d9be4+_0x26386b;}};_0x58f113[_0x40b9b6(0x1f1)](global[_0x40b9b6(0x1aa)],undefined)&&this[_0x40b9b6(0x207)](_0x58f113[_0x40b9b6(0x1c5)](_0x58f113[_0x40b9b6(0x20c)]('\x0a',global['__platform']),'\x0a'));const _0x5c17aa=this['eventDataCollector'][_0x40b9b6(0x1b6)](_0x186e5e[_0x40b9b6(0x1a1)]);this[_0x40b9b6(0x207)](_0x58f113[_0x40b9b6(0x1e7)](_0x58f113[_0x40b9b6(0x206)](_0x58f113['upOMM'](_0x58f113['KLybv']('\x20\x20',_0x5c17aa[_0x40b9b6(0x199)][_0x40b9b6(0x1ad)][_0x40b9b6(0x1ab)]),_0x58f113[_0x40b9b6(0x1b3)]),_0x5c17aa[_0x40b9b6(0x20f)][_0x40b9b6(0x1ab)]),'\x0a'));const _0x166d65={};_0x166d65[_0x40b9b6(0x1da)]=this['cwd'],_0x166d65['snippetBuilder']=this[_0x40b9b6(0x200)],_0x166d65[_0x40b9b6(0x1ca)]=this['supportCodeLibrary'],_0x166d65[_0x40b9b6(0x19c)]=_0x5c17aa;const _0x101212=formatterHelpers[_0x40b9b6(0x18a)](_0x166d65);let _0x292477=![];_0x101212['testSteps'][_0x40b9b6(0x19f)](_0x375e0c=>{const _0x23f611=_0x40b9b6;if(_0x58f113[_0x23f611(0x1f1)](_0x375e0c['name'],_0x58f113['Tuwoi'])&&!this[_0x23f611(0x1e8)](_0x375e0c)){totalTests+=0x1,this[_0x23f611(0x207)](_0x58f113[_0x23f611(0x183)](_0x58f113[_0x23f611(0x1bc)](_0x58f113['FNvap'](_0x58f113[_0x23f611(0x1b1)](_0x58f113[_0x23f611(0x17e)](_0x58f113[_0x23f611(0x174)],_0x375e0c['keyword']),_0x375e0c['text']||''),_0x58f113[_0x23f611(0x1b3)]),Status[_0x375e0c[_0x23f611(0x17f)][_0x23f611(0x195)]]),'\x0a')),this[_0x23f611(0x186)](Status[_0x375e0c[_0x23f611(0x17f)][_0x23f611(0x195)]]);if(_0x58f113[_0x23f611(0x17d)](Status[_0x375e0c['result'][_0x23f611(0x195)]],_0x58f113['cTJiS'])){_0x292477=!![];const _0x1f95c5=_0x58f113['xTRmX'](nestedKeyValue,_0x375e0c,[_0x58f113[_0x23f611(0x1f7)],_0x58f113['lerKc']]);_0x1f95c5&&(testsErrorMessage[_0x58f113[_0x23f611(0x20a)](_0x58f113[_0x23f611(0x1bc)](_0x5c17aa['gherkinDocument'][_0x23f611(0x1ad)][_0x23f611(0x1ab)],_0x58f113[_0x23f611(0x1b3)]),_0x5c17aa[_0x23f611(0x20f)]['name'])]=_0x1f95c5,this['log'](_0x58f113[_0x23f611(0x1eb)](_0x1f95c5,'\x0a')));}}}),_0x292477&&(testSuitesFailed+=0x1),this[_0x40b9b6(0x207)]('\x0a');}[a6_0x4aca4f(0x19b)](_0x4bb6ce){}['isBstackHook'](_0x1ea898){const _0x3396e6=a6_0x4aca4f,_0x277b70={};_0x277b70[_0x3396e6(0x209)]=function(_0x58ea94,_0x1d2abc){return _0x58ea94!==_0x1d2abc;},_0x277b70[_0x3396e6(0x212)]='cucumber-js/test.setup.js';const _0x1b31f1=_0x277b70;if(_0x1b31f1[_0x3396e6(0x209)](_0x1ea898[_0x3396e6(0x170)],undefined))return![];if(_0x1ea898[_0x3396e6(0x1fd)]&&_0x1ea898['actionLocation'][_0x3396e6(0x187)][_0x3396e6(0x18f)](_0x1b31f1['bAcPp']))return!![];return![];}[a6_0x4aca4f(0x186)](_0x1a5dab){const _0xf70cfe=a6_0x4aca4f,_0x3b590c={};_0x3b590c[_0xf70cfe(0x18e)]=_0xf70cfe(0x211),_0x3b590c['XcRSS']=_0xf70cfe(0x1a3),_0x3b590c[_0xf70cfe(0x20d)]=_0xf70cfe(0x202),_0x3b590c['DYeWI']=_0xf70cfe(0x1e5),_0x3b590c[_0xf70cfe(0x1a0)]=_0xf70cfe(0x1dd),_0x3b590c[_0xf70cfe(0x1cd)]=_0xf70cfe(0x1fb),_0x3b590c[_0xf70cfe(0x18c)]='AMBIGUOUS';const _0x448100=_0x3b590c;switch(_0x1a5dab){case _0x448100[_0xf70cfe(0x18e)]:testsFailed+=0x1;break;case _0x448100['XcRSS']:testsPassed+=0x1;break;case _0x448100['bvLWS']:testsSkipped+=0x1;break;case _0x448100[_0xf70cfe(0x1c0)]:testsPending+=0x1;break;case _0x448100[_0xf70cfe(0x1a0)]:testsUndefined+=0x1;break;case _0x448100[_0xf70cfe(0x1cd)]:testsUnknown+=0x1;break;case _0x448100[_0xf70cfe(0x18c)]:testsAmbiguous+=0x1;break;default:break;}}[a6_0x4aca4f(0x185)](){const _0x41434f=a6_0x4aca4f,_0x34644d={'QBuJu':function(_0x5990d9,_0xbf8885){return _0x5990d9!==_0xbf8885;},'KHzPv':function(_0x4d4a9c,_0x308bed){return _0x4d4a9c(_0x308bed);},'giuzn':function(_0x493e38,_0x17fd4c){return _0x493e38+_0x17fd4c;},'OdCYY':function(_0x225014){return _0x225014();}};let _0x235577;if(_0x34644d[_0x41434f(0x208)](process[_0x41434f(0x1c6)][_0x41434f(0x177)],undefined)){const _0x4bdd1a=JSON[_0x41434f(0x19a)](process[_0x41434f(0x1c6)]['CONFIG']);_0x235577=_0x4bdd1a[_0x41434f(0x201)];}_0x34644d['QBuJu'](_0x235577,undefined)&&(global['__platform']=_0x34644d[_0x41434f(0x1a2)](getPlatformName,_0x235577),this[_0x41434f(0x207)](_0x34644d[_0x41434f(0x1fa)](_0x41434f(0x1af)+global[_0x41434f(0x1aa)],'\x0a'))),_0x34644d[_0x41434f(0x181)](shouldProcessEventForTesthub)&&TestDetails[_0x41434f(0x188)]();}[a6_0x4aca4f(0x213)](_0x5e6e83){this['logTestRunFinished'](_0x5e6e83);}async[a6_0x4aca4f(0x172)](_0x768d82,_0x3eafa8,_0x53bdda){const _0xa6e219=a6_0x4aca4f,_0x470557={'jzJhw':function(_0x43a52f,_0x2eeb8e){return _0x43a52f(_0x2eeb8e);},'ASzqA':_0xa6e219(0x1d3)};testSuites+=0x1;if(_0x470557[_0xa6e219(0x203)](shouldProcessEventForTesthub,_0x470557[_0xa6e219(0x1b9)]))try{const _0x38e910=TestDetails['getTestUUID'](_0x768d82['id']),_0x4c199f=_0x768d82[_0xa6e219(0x176)],_0x39ef7c=_0x3eafa8[_0xa6e219(0x1e3)]['testCaseMap'][_0x4c199f],_0x5076f9=_0x39ef7c[_0xa6e219(0x1c8)],_0x41190c=_0x3eafa8['eventDataCollector'][_0xa6e219(0x1b5)][_0x5076f9],_0x84ff43=this[_0xa6e219(0x1f9)](_0x3eafa8,_0x41190c),_0x192867={'uuid':_0x38e910,'startedAt':new Date()[_0xa6e219(0x16e)]()};if(_0x41190c){const _0x2d5e63={};_0x2d5e63[_0xa6e219(0x1ab)]=_0x41190c[_0xa6e219(0x1ab)],_0x192867['scenario']=_0x2d5e63;}_tests[_0x4c199f]=_0x192867,await testObservabilityReporter['sendTestRunEventForCucumber'](_0x53bdda,_0x84ff43,_0x41190c,_0x470557[_0xa6e219(0x1b9)],_0x192867,_0x53bdda);}catch(_0xdd5ef7){logger[_0xa6e219(0x1a7)](_0xa6e219(0x1fe)+util[_0xa6e219(0x1b0)](_0xdd5ef7)+'\x20');}}async[a6_0x4aca4f(0x184)](_0x3e918e,_0x2d8bf1,_0x40b8da){const _0x1f8a7f=a6_0x4aca4f,_0x2475bc={'tpAvy':function(_0x28916c,_0x1be097){return _0x28916c(_0x1be097);},'luUQc':_0x1f8a7f(0x1f6)};this[_0x1f8a7f(0x1ea)](_0x3e918e);if(_0x2475bc[_0x1f8a7f(0x1de)](shouldProcessEventForTesthub,_0x2475bc[_0x1f8a7f(0x1ff)]))try{_testCasesData[_0x40b8da['id']]={..._0x40b8da};const _0x4edd47=_0x3e918e['testCaseStartedId'],_0x5f2515=_0x2d8bf1[_0x1f8a7f(0x1e3)][_0x1f8a7f(0x16a)][_0x4edd47]['testCaseId'],_0x558858=_0x2d8bf1[_0x1f8a7f(0x1e3)][_0x1f8a7f(0x1e1)][_0x5f2515],_0x1f56e6=_0x558858[_0x1f8a7f(0x1c8)],_0x74ceab=_0x2d8bf1[_0x1f8a7f(0x1e3)][_0x1f8a7f(0x1b5)][_0x1f56e6],_0xd7282c=this[_0x1f8a7f(0x1f9)](_0x2d8bf1,_0x74ceab),_0x35f4ca=_tests[_0x5f2515];_0x35f4ca&&(delete _tests[_0x5f2515],_0x35f4ca['finishedAt']=new Date()[_0x1f8a7f(0x16e)]()),await testObservabilityReporter[_0x1f8a7f(0x1c4)](_0x40b8da,_0xd7282c,_0x74ceab,_0x2475bc['luUQc'],_0x35f4ca,_0x40b8da);}catch(_0x1574b6){logger[_0x1f8a7f(0x1a7)](_0x1f8a7f(0x1c3)+util['format'](_0x1574b6));}}async[a6_0x4aca4f(0x173)](_0x4a5ab9,_0x468bc0){const _0x526754=a6_0x4aca4f,_0x1ba839={'TjZay':function(_0xa54160,_0x3fddf2){return _0xa54160(_0x3fddf2);},'RAjoq':_0x526754(0x190),'wNuOB':function(_0xdb0791,_0x22ec17){return _0xdb0791!==_0x22ec17;},'uSCSS':_0x526754(0x1d6)};if(_0x1ba839['TjZay'](shouldProcessEventForTesthub,_0x1ba839['RAjoq']))try{const _0x40e696=_0x4a5ab9[_0x526754(0x1a1)],_0x3df563=_0x468bc0['eventDataCollector'][_0x526754(0x16a)][_0x40e696][_0x526754(0x176)],_0x40b65a=_0x468bc0[_0x526754(0x1e3)][_0x526754(0x1e1)]?.[_0x3df563],_0x149545=_0x40b65a?.[_0x526754(0x1c8)],_0x36367=_0x468bc0[_0x526754(0x1e3)][_0x526754(0x1b5)]?.[_0x149545],_0x1a8eef=_0x4a5ab9?.['testStepId'],_0x58be30=_0x40b65a?.[_0x526754(0x1e6)],_0xb51b18=this[_0x526754(0x1e3)]['getTestCaseAttempt'](_0x40e696),_0x567a2d=_0x58be30[_0x526754(0x1d5)](_0x10e175=>_0x10e175['id']===_0x1a8eef)[_0x526754(0x1f0)],_0x361ea7=_0x36367['steps']['find'](_0x1853e2=>_0x1853e2['id']===_0x567a2d);if(_0x567a2d&&_0x1ba839[_0x526754(0x1c2)](_tests[_0x3df563]?.[_0x1ba839[_0x526754(0x1be)]],_0x1a8eef)){_tests[_0x3df563][_0x1ba839[_0x526754(0x1be)]]=_0x1a8eef;const _0x48fcfe={};_0x48fcfe[_0x526754(0x210)]=[];const _0x888b8c=_tests[_0x3df563]||_0x48fcfe;_0x888b8c&&!_0x888b8c[_0x526754(0x210)]&&(_0x888b8c['steps']=[]),_0x888b8c[_0x526754(0x210)]?.[_0x526754(0x16c)]({'id':_0x361ea7['id'],'text':_0x361ea7[_0x526754(0x198)],'started_at':new Date()[_0x526754(0x16e)]()}),_tests[_0x3df563]=_0x888b8c;}const _0xafeb0b=this['checkHookURI'](_0x58be30[_0x526754(0x1d5)](_0x1eda20=>_0x1eda20['id']===_0x1a8eef),_0xb51b18[_0x526754(0x20f)][_0x526754(0x187)]);!_0xafeb0b&&await testObservabilityReporter['sendHook'](_0xb51b18,_0x1ba839[_0x526754(0x1c9)],_tests[_0x3df563],_0x4a5ab9);}catch(_0x3eab87){logger['debug'](_0x526754(0x197)+util[_0x526754(0x1b0)](_0x3eab87));}}async['onTestStepFinished'](_0x1fad5c,_0x3e6132){const _0x369bef=a6_0x4aca4f,_0x7fead3={'ciQqW':function(_0x28044a,_0x523ead){return _0x28044a===_0x523ead;},'lnHNU':'1|0|3|2|4','uSGyT':function(_0x227e99,_0x122a08){return _0x227e99(_0x122a08);},'ZwQWH':'HookRunFinished','ETBpE':_0x369bef(0x1ba),'DxVLt':function(_0x5eaf6d,_0x821e82){return _0x5eaf6d===_0x821e82;},'DiPbU':_0x369bef(0x1ed),'KVGnY':_0x369bef(0x1d6)};if(_0x7fead3['uSGyT'](shouldProcessEventForTesthub,_0x7fead3['ZwQWH']))try{const _0x4a7d92=_0x1fad5c['testCaseStartedId'],_0x44f924=_0x3e6132[_0x369bef(0x1e3)]['testCaseAttemptDataMap'][_0x4a7d92][_0x369bef(0x176)],_0x1f3d07=_0x3e6132[_0x369bef(0x1e3)]['testCaseMap'][_0x44f924],_0x40ebe8=_0x1f3d07[_0x369bef(0x1c8)],_0x55de02=_0x3e6132[_0x369bef(0x1e3)]['pickleMap'][_0x40ebe8],_0x3a0507=_0x1fad5c['testStepId'],_0x51e079=_0x1f3d07[_0x369bef(0x1e6)],_0x3c7070=this[_0x369bef(0x1e3)][_0x369bef(0x1b6)](_0x4a7d92),_0x4f8586=_0x51e079[_0x369bef(0x1d5)](_0x24d6ea=>_0x24d6ea['id']===_0x3a0507)[_0x369bef(0x1f0)];let _0x84dcd4,_0x2cc451;_0x7fead3[_0x369bef(0x1d2)](_0x1fad5c['testStepResult']?.['status']['toString']()['toLowerCase'](),_0x7fead3[_0x369bef(0x19e)])&&(_0x84dcd4=_0x7fead3[_0x369bef(0x20e)](_0x1fad5c[_0x369bef(0x1a9)]?.['exception'],undefined)?_0x1fad5c[_0x369bef(0x1a9)]?.[_0x369bef(0x180)]:_0x1fad5c[_0x369bef(0x1a9)]?.[_0x369bef(0x1df)]?.['message'],_0x2cc451=_0x7fead3['DxVLt'](_0x1fad5c[_0x369bef(0x1a9)]?.[_0x369bef(0x1df)],undefined)?_0x7fead3['DiPbU']:_0x1fad5c[_0x369bef(0x1a9)]?.[_0x369bef(0x180)]);const _0x4cd17d=this[_0x369bef(0x16b)](_0x51e079[_0x369bef(0x1d5)](_0x5e074a=>_0x5e074a['id']===_0x3a0507),_0x3c7070[_0x369bef(0x20f)][_0x369bef(0x187)]);!_0x4cd17d&&await testObservabilityReporter[_0x369bef(0x1d7)](_0x3c7070,_0x7fead3[_0x369bef(0x1b2)],_tests[_0x44f924],_0x1fad5c);if(_0x4f8586&&_tests[_0x44f924][_0x7fead3[_0x369bef(0x1a4)]]){const _0x5b2d55=_0x55de02[_0x369bef(0x210)][_0x369bef(0x1d5)](_0x5c160c=>_0x5c160c['id']===_0x4f8586),_0x496094={};_0x496094[_0x369bef(0x210)]=[];const _0x3508fb=_tests[_0x44f924]||_0x496094;!_0x3508fb['steps']?_0x3508fb[_0x369bef(0x210)]=[{'id':_0x5b2d55['id'],'text':_0x5b2d55['text'],'finished_at':new Date()[_0x369bef(0x16e)](),'result':_0x1fad5c[_0x369bef(0x1a9)]?.['status'],'duration':_0x1fad5c[_0x369bef(0x1a9)]?.[_0x369bef(0x1e0)]?.['seconds'],'failure':_0x84dcd4,'failureType':_0x2cc451}]:_0x3508fb[_0x369bef(0x210)]['forEach'](_0x574e9c=>{const _0xa6e456=_0x369bef;if(_0x7fead3[_0xa6e456(0x1d2)](_0x574e9c['id'],_0x5b2d55['id'])){const _0x5ddb1b=_0x7fead3[_0xa6e456(0x1bb)][_0xa6e456(0x1d8)]('|');let _0x54d5e9=0x0;while(!![]){switch(_0x5ddb1b[_0x54d5e9++]){case'0':_0x574e9c[_0xa6e456(0x17f)]=_0x1fad5c['testStepResult']?.['status'];continue;case'1':_0x574e9c[_0xa6e456(0x1cc)]=new Date()[_0xa6e456(0x16e)]();continue;case'2':_0x574e9c[_0xa6e456(0x1b8)]=_0x84dcd4;continue;case'3':_0x574e9c['duration']=_0x1fad5c[_0xa6e456(0x1a9)]?.[_0xa6e456(0x1e0)]?.[_0xa6e456(0x191)];continue;case'4':_0x574e9c[_0xa6e456(0x1ec)]=_0x2cc451;continue;}break;}}}),_tests[_0x44f924]=_0x3508fb,delete _tests[_0x44f924][_0x7fead3[_0x369bef(0x1a4)]];}}catch(_0x137147){logger['debug'](_0x369bef(0x1f2)+util[_0x369bef(0x1b0)](_0x137147));}}[a6_0x4aca4f(0x17b)](_0x37dae0){const _0x16a6dc=a6_0x4aca4f,_0x677ced={};return _0x37dae0[_0x16a6dc(0x1ad)][_0x16a6dc(0x171)][_0x16a6dc(0x1cb)](this[_0x16a6dc(0x1e2)])[_0x16a6dc(0x19d)]()['forEach'](_0x2f6550=>_0x2f6550['steps'][_0x16a6dc(0x19f)](_0x1c0be2=>_0x677ced[_0x1c0be2['id']]=_0x1c0be2)),_0x677ced;}[a6_0x4aca4f(0x16b)](_0x342ffc,_0x1861c7){const _0x370b77=a6_0x4aca4f,_0x363af9={'tlQYE':function(_0x1f53c6,_0x242574){return _0x1f53c6(_0x242574);},'jNNvI':function(_0x1658cf,_0x1fecb6){return _0x1658cf(_0x1fecb6);},'eOLGX':function(_0x3fcbb2,_0x97a6a4){return _0x3fcbb2===_0x97a6a4;},'QdgzF':function(_0x299df3,_0x292f30){return _0x299df3!==_0x292f30;},'rjkON':_0x370b77(0x1bf)};let _0x2213e6=!![];const _0x58aed7={};_0x2213e6=_0x2213e6&&!_0x363af9['tlQYE'](isUndefined,_0x342ffc[_0x370b77(0x1a6)]);if(!_0x363af9['jNNvI'](isUndefined,_0x342ffc['hookId'])){let _0x36ccab;_0x2213e6?_0x36ccab=this[_0x370b77(0x1ca)]['beforeTestCaseHookDefinitions'][_0x370b77(0x1d5)](_0xf63de2=>_0xf63de2['id']===_0x342ffc['hookId']):_0x36ccab=this[_0x370b77(0x1ca)][_0x370b77(0x175)]['find'](_0xc2cd9=>_0xc2cd9['id']===_0x342ffc[_0x370b77(0x1a6)]);if(_0x36ccab){const _0x440ec3={};_0x440ec3['uri']=_0x36ccab[_0x370b77(0x187)],_0x440ec3[_0x370b77(0x194)]=_0x36ccab[_0x370b77(0x194)],_0x58aed7['actionLocation']=_0x440ec3,_0x58aed7[_0x370b77(0x1ab)]=_0x36ccab[_0x370b77(0x1ab)];}}if(!_0x363af9[_0x370b77(0x1d9)](isUndefined,_0x342ffc['stepDefinitionIds'])&&_0x363af9[_0x370b77(0x1d1)](_0x342ffc[_0x370b77(0x179)][_0x370b77(0x1c1)],0x1)){const _0x39ddc4=this['supportCodeLibrary'][_0x370b77(0x1a8)]['find'](_0x5f3e4d=>_0x5f3e4d['id']===_0x342ffc[_0x370b77(0x179)][0x0]),_0x213f89={};_0x213f89[_0x370b77(0x187)]=_0x39ddc4['uri'],_0x213f89['line']=_0x39ddc4[_0x370b77(0x194)],_0x58aed7[_0x370b77(0x1fd)]=_0x213f89;}if(!_0x363af9[_0x370b77(0x1ac)](isUndefined,_0x342ffc[_0x370b77(0x1f0)])){const _0x32ebba={};_0x32ebba['uri']=_0x1861c7,_0x32ebba[_0x370b77(0x194)]='',_0x58aed7[_0x370b77(0x170)]=_0x32ebba;}if(_0x363af9['QdgzF'](_0x58aed7[_0x370b77(0x170)],undefined))return![];if(_0x58aed7[_0x370b77(0x1fd)]&&_0x58aed7[_0x370b77(0x1fd)]['uri'][_0x370b77(0x18f)](_0x363af9[_0x370b77(0x17c)]))return!![];return![];}[a6_0x4aca4f(0x1e2)](_0x40758a){const _0xfa2d9b=a6_0x4aca4f,_0x26bb54={'FxrEg':function(_0x2ad938,_0x51ae73){return _0x2ad938(_0x51ae73);}};if(!_0x26bb54[_0xfa2d9b(0x1f5)](isUndefined,_0x40758a[_0xfa2d9b(0x1ae)]))return[_0x40758a[_0xfa2d9b(0x1ae)]];else{if(!_0x26bb54[_0xfa2d9b(0x1f5)](isUndefined,_0x40758a[_0xfa2d9b(0x1ce)]))return _0x40758a[_0xfa2d9b(0x1ce)][_0xfa2d9b(0x171)][_0xfa2d9b(0x1cb)](_0x1d3269=>!isUndefined(_0x1d3269?.[_0xfa2d9b(0x1ae)])?_0x1d3269['background']:_0x1d3269['scenario']);};return[_0x40758a[_0xfa2d9b(0x18d)]];}[a6_0x4aca4f(0x1f9)](_0x3b16b9,_0x1cf713){const _0x5d8cc8=a6_0x4aca4f;return Object[_0x5d8cc8(0x1e9)](_0x3b16b9['eventDataCollector'][_0x5d8cc8(0x1b7)])['find'](_0x412e97=>_0x412e97['uri']===_0x1cf713[_0x5d8cc8(0x187)]);}}module[a6_0x4aca4f(0x20b)]=o11yClassErrorHandler(BrowserstackFormatter,['onTestCaseStarted',a6_0x4aca4f(0x184),a6_0x4aca4f(0x173),a6_0x4aca4f(0x1f3),a6_0x4aca4f(0x185),a6_0x4aca4f(0x213),a6_0x4aca4f(0x1e2),a6_0x4aca4f(0x1f9),a6_0x4aca4f(0x17b),'checkHookURI']);
|
|
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 +1 @@
|
|
|
1
|
-
const a7_0x3d7138=a7_0x14b8;function a7_0x5b37(){const _0x495dc7=['\x20\x20\x20\x20','pmYsQ','toUpperCase','test-case-started','MSEzu','pickle','IiXqH','cucumber','dPEMM','undefined','getTestCaseAttempt','iAXIo','SJWzm','line','1685314xMaNZy','uri','bmpAe','UzVER','__platform','rafqQ','670512UuTXHJ','HQArs','includes','testCase','gqNYJ','kdDWJ','result','pMlqR','status','cPpWq','OKyXD','jxVTO','31986BvvPSq','\x20-\x20','OYjXE','qxqJY','zJCaP','env','mzPBT','actionLocation','steps','test-run-finished','9073341VtLQIS','exports','19523770BBlhJL','getTestCaseData','gherkinDocument','name','9415552iXZyxT','CKgIw','1MDzhSl','cucumber/lib/formatter/helpers/pickle_parser.js','beYsi','stepResults','AvwVA','ndOZm','qWvFH','eventDataCollector','exception','log','getStepLineToPickledStepMap','dLyDi','oSuQR','CawvB','xeXRW','Executing\x20tests\x20for\x20','CONFIG','532540Mmgllr','sourceLocation','FrCPB','OunOx','forEach','CkONr','UtdVU','length','KKxgN','text','logTestCaseFinished','test-step-started','SXAYd','FAILED','335zoRzcB','test-case-finished','PASSED','7YSgOyv','UNDEFINED','eventBroadcaster'];a7_0x5b37=function(){return _0x495dc7;};return a7_0x5b37();}function a7_0x14b8(_0x11a1d1,_0x3c9fae){const _0x5b3709=a7_0x5b37();return a7_0x14b8=function(_0x14b81e,_0x46dba8){_0x14b81e=_0x14b81e-0x7d;let _0x13976c=_0x5b3709[_0x14b81e];return _0x13976c;},a7_0x14b8(_0x11a1d1,_0x3c9fae);}(function(_0x35b885,_0x3e3aee){const _0x4119c7=a7_0x14b8,_0x227588=_0x35b885();while(!![]){try{const _0x4f50c4=-parseInt(_0x4119c7(0xa2))/0x1*(parseInt(_0x4119c7(0x7e))/0x2)+parseInt(_0x4119c7(0x84))/0x3+parseInt(_0x4119c7(0xb3))/0x4+-parseInt(_0x4119c7(0xc1))/0x5*(parseInt(_0x4119c7(0x90))/0x6)+parseInt(_0x4119c7(0xc4))/0x7*(-parseInt(_0x4119c7(0xa0))/0x8)+parseInt(_0x4119c7(0x9a))/0x9+parseInt(_0x4119c7(0x9c))/0xa;if(_0x4f50c4===_0x3e3aee)break;else _0x227588['push'](_0x227588['shift']());}catch(_0x1cb6c3){_0x227588['push'](_0x227588['shift']());}}}(a7_0x5b37,0xe5963));const {requireModule,getPlatformName,nestedKeyValue}=require('../../../helpers/helper'),{Formatter}=requireModule(a7_0x3d7138(0xce)),pickleParser=requireModule(a7_0x3d7138(0xa3));class BrowserstackFormatter extends Formatter{constructor(_0x17105c){const _0x4d44e6=a7_0x3d7138,_0x50a911={'OYjXE':function(_0x3c7cf5,_0x141d86){return _0x3c7cf5!==_0x141d86;},'UtdVU':function(_0xdf20cd,_0x16da96){return _0xdf20cd!==_0x16da96;},'KKxgN':function(_0x487d70,_0x16e593){return _0x487d70(_0x16e593);},'kdDWJ':'test-run-started','aFHye':_0x4d44e6(0xca),'CkONr':_0x4d44e6(0xc2),'iAXIo':_0x4d44e6(0x99),'ndOZm':_0x4d44e6(0xbe)};super(_0x17105c),_0x17105c[_0x4d44e6(0xc6)]['on'](_0x50a911[_0x4d44e6(0x89)],()=>{const _0x2e0357=_0x4d44e6;let _0x59dde2;if(_0x50a911[_0x2e0357(0x92)](process['env']['CONFIG'],undefined)){const _0x3c18fd=JSON['parse'](process[_0x2e0357(0x95)][_0x2e0357(0xb2)]);_0x59dde2=_0x3c18fd['capability'];}_0x50a911[_0x2e0357(0xb9)](_0x59dde2,undefined)&&(global[_0x2e0357(0x82)]=_0x50a911[_0x2e0357(0xbb)](getPlatformName,_0x59dde2),console[_0x2e0357(0xab)](_0x2e0357(0xb1)+global[_0x2e0357(0x82)]));}),_0x17105c[_0x4d44e6(0xc6)]['on'](_0x50a911['aFHye'],()=>{testSuites+=0x1;}),_0x17105c[_0x4d44e6(0xc6)]['on'](_0x50a911[_0x4d44e6(0xb8)],_0x233f15=>{const _0x2a5d39=_0x4d44e6;this[_0x2a5d39(0xbd)](_0x233f15);}),_0x17105c[_0x4d44e6(0xc6)]['on'](_0x50a911[_0x4d44e6(0xd2)],()=>{totalTests-=0x2;}),_0x17105c['eventBroadcaster']['on'](_0x50a911[_0x4d44e6(0xa7)],()=>{totalTests+=0x1;});}[a7_0x3d7138(0xbd)](_0x190241){const _0x973b06=a7_0x3d7138,_0x4f4cdc={'OKyXD':_0x973b06(0xc0),'beYsi':_0x973b06(0xc3),'yjBYz':'SKIPPED','qxqJY':'PENDING','SXAYd':_0x973b06(0xc5),'dLyDi':'UNKNOWN','EnVYW':'AMBIGUOUS','xeXRW':function(_0x24e159,_0x431a74){return _0x24e159+_0x431a74;},'CawvB':_0x973b06(0xc7),'bmpAe':_0x973b06(0x91),'AvwVA':function(_0x1688a8,_0x5e8ab8){return _0x1688a8(_0x5e8ab8);},'HQArs':'cucumber-js/test_old.setup.js','IiXqH':function(_0x16e459,_0x51774f){return _0x16e459+_0x51774f;},'qWvFH':'\x20\x20\x20\x20AFTER\x20-\x20','cPpWq':'\x20\x20\x20\x20BEFORE\x20-\x20','zJCaP':function(_0x3a61a0,_0xe46048){return _0x3a61a0===_0xe46048;},'dPEMM':function(_0x573a02,_0x38b1a4,_0x3be512){return _0x573a02(_0x38b1a4,_0x3be512);},'gqNYJ':_0x973b06(0x8a),'CKgIw':_0x973b06(0xaa),'pMlqR':'stack','pmYsQ':function(_0x5489f9,_0x213da3){return _0x5489f9+_0x213da3;},'MSEzu':function(_0x3fb763,_0x185263){return _0x3fb763!==_0x185263;},'VTqdb':function(_0x498daa,_0x561d82){return _0x498daa+_0x561d82;},'BKPgk':function(_0x319c5a,_0x39f65f){return _0x319c5a!==_0x39f65f;},'mzPBT':_0x973b06(0xd0),'OunOx':function(_0x14f159,_0x3edeb8){return _0x14f159+_0x3edeb8;},'PRxgx':function(_0x4b6db8,_0x44ceef){return _0x4b6db8+_0x44ceef;},'kCMtO':function(_0x1061cb,_0x1b70e1){return _0x1061cb<_0x1b70e1;},'UzVER':function(_0x4ee4ea,_0x590746){return _0x4ee4ea+_0x590746;},'oSuQR':function(_0x459969,_0x2edf48){return _0x459969+_0x2edf48;},'jxVTO':function(_0x88ed21,_0x15f58f){return _0x88ed21(_0x15f58f);},'rafqQ':function(_0x105b74,_0x32f701){return _0x105b74+_0x32f701;},'FrCPB':function(_0x1ec5cb,_0x239bfa){return _0x1ec5cb===_0x239bfa;},'DNmPE':function(_0x333905,_0x43fbff){return _0x333905+_0x43fbff;},'jLuLU':function(_0x4d49fc,_0x298440){return _0x4d49fc+_0x298440;},'SJWzm':function(_0x36f216,_0xe8e2e4){return _0x36f216+_0xe8e2e4;}};let _0xbf25a1=![];function _0x2f5bfe(_0x5890e7){const _0x11fd59=_0x973b06;switch(_0x5890e7){case _0x4f4cdc[_0x11fd59(0x8e)]:testsFailed+=0x1;break;case _0x4f4cdc[_0x11fd59(0xa4)]:testsPassed+=0x1;break;case _0x4f4cdc['yjBYz']:testsSkipped+=0x1;break;case _0x4f4cdc[_0x11fd59(0x93)]:testsPending+=0x1;break;case _0x4f4cdc[_0x11fd59(0xbf)]:testsUndefined+=0x1;break;case _0x4f4cdc[_0x11fd59(0xad)]:testsUnknown+=0x1;break;case _0x4f4cdc['EnVYW']:testsAmbiguous+=0x1;break;default:break;}}_0x4f4cdc[_0x973b06(0xcb)](global[_0x973b06(0x82)],undefined)&&console[_0x973b06(0xab)](_0x4f4cdc['VTqdb'](_0x4f4cdc[_0x973b06(0xb0)]('\x0a',global[_0x973b06(0x82)]),'\x0a'));let _0x5af404=![];if(_0x4f4cdc['BKPgk'](typeof this[_0x973b06(0xa9)][_0x973b06(0x9d)],_0x4f4cdc[_0x973b06(0x96)])){var _0x1bd181=this[_0x973b06(0xa9)][_0x973b06(0x9d)](_0x190241[_0x973b06(0xb4)]),_0x2ad41e=_0x1bd181[_0x973b06(0xcc)],_0x513212=_0x1bd181[_0x973b06(0x87)];console[_0x973b06(0xab)](_0x4f4cdc[_0x973b06(0xb0)]('\x20\x20',_0x2ad41e[_0x973b06(0x9f)]));var _0x3de0c6=(0x0,pickleParser[_0x973b06(0xac)])(_0x2ad41e);_0x513212[_0x973b06(0x98)][_0x973b06(0xb7)](function(_0x99cc2f){const _0x12967a=_0x973b06;if(_0x99cc2f['actionLocation']&&_0x99cc2f[_0x12967a(0xb4)])_0xbf25a1=!![],console['log'](_0x4f4cdc[_0x12967a(0xb0)](_0x4f4cdc[_0x12967a(0xb0)](_0x4f4cdc['xeXRW'](_0x4f4cdc[_0x12967a(0xaf)],_0x3de0c6[_0x99cc2f['sourceLocation'][_0x12967a(0x7d)]][_0x12967a(0xbc)]),_0x4f4cdc[_0x12967a(0x80)]),_0x99cc2f['result'][_0x12967a(0x8c)][_0x12967a(0xc9)]())),_0x4f4cdc[_0x12967a(0xa6)](_0x2f5bfe,_0x99cc2f[_0x12967a(0x8a)][_0x12967a(0x8c)][_0x12967a(0xc9)]());else _0x99cc2f[_0x12967a(0x97)]&&(!_0x99cc2f['actionLocation'][_0x12967a(0x7f)][_0x12967a(0x86)](_0x4f4cdc['HQArs'])&&(_0x4f4cdc[_0x12967a(0xa6)](_0x2f5bfe,_0x99cc2f['result'][_0x12967a(0x8c)][_0x12967a(0xc9)]()),_0xbf25a1?console[_0x12967a(0xab)](_0x4f4cdc[_0x12967a(0xcd)](_0x4f4cdc[_0x12967a(0xa8)],_0x99cc2f[_0x12967a(0x8a)][_0x12967a(0x8c)]['toUpperCase']())):console[_0x12967a(0xab)](_0x4f4cdc[_0x12967a(0xcd)](_0x4f4cdc[_0x12967a(0x8d)],_0x99cc2f['result'][_0x12967a(0x8c)][_0x12967a(0xc9)]()))));if(_0x4f4cdc[_0x12967a(0x94)](_0x99cc2f[_0x12967a(0x8a)][_0x12967a(0x8c)]['toUpperCase'](),_0x4f4cdc[_0x12967a(0x8e)])){const _0x365690=_0x4f4cdc[_0x12967a(0xcf)](nestedKeyValue,_0x99cc2f,[_0x4f4cdc[_0x12967a(0x88)],_0x4f4cdc[_0x12967a(0xa1)],_0x4f4cdc[_0x12967a(0x8b)]]);_0x365690&&(testsErrorMessage[_0x2ad41e[_0x12967a(0x9f)]]=_0x365690,console[_0x12967a(0xab)](_0x4f4cdc[_0x12967a(0xc8)](_0x365690,'\x0a'))),_0x5af404=!![];}});}else{const _0x45f9db=this['eventDataCollector'][_0x973b06(0xd1)](_0x190241);console[_0x973b06(0xab)](_0x4f4cdc[_0x973b06(0xb6)](_0x4f4cdc['OunOx'](_0x4f4cdc['PRxgx']('\x20\x20',_0x45f9db[_0x973b06(0x9e)]['feature'][_0x973b06(0x9f)]),_0x4f4cdc['bmpAe']),_0x45f9db[_0x973b06(0xcc)][_0x973b06(0x9f)]));const _0x2c95cd=(0x0,pickleParser['getStepLineToPickledStepMap'])(_0x45f9db[_0x973b06(0xcc)]),_0x531738=_0x45f9db[_0x973b06(0x87)][_0x973b06(0x98)],_0x23918d=_0x45f9db[_0x973b06(0xa5)],_0x26425d=_0x531738[_0x973b06(0xba)];for(let _0x346129=0x0;_0x4f4cdc['kCMtO'](_0x346129,_0x26425d);_0x346129++){const _0x27ae01=_0x531738[_0x346129];if(_0x27ae01[_0x973b06(0x97)]&&_0x27ae01[_0x973b06(0xb4)])_0xbf25a1=!![],console['log'](_0x4f4cdc[_0x973b06(0x81)](_0x4f4cdc[_0x973b06(0xae)](_0x4f4cdc[_0x973b06(0xcd)](_0x4f4cdc['CawvB'],_0x2c95cd[_0x27ae01['sourceLocation'][_0x973b06(0x7d)]][_0x973b06(0xbc)]),_0x4f4cdc[_0x973b06(0x80)]),_0x23918d[_0x346129][_0x973b06(0x8c)][_0x973b06(0xc9)]())),_0x4f4cdc[_0x973b06(0xa6)](_0x2f5bfe,_0x23918d[_0x346129][_0x973b06(0x8c)][_0x973b06(0xc9)]());else _0x27ae01['actionLocation']&&(!_0x27ae01[_0x973b06(0x97)][_0x973b06(0x7f)]['includes'](_0x4f4cdc[_0x973b06(0x85)])&&(_0x4f4cdc[_0x973b06(0x8f)](_0x2f5bfe,_0x23918d[_0x346129]['status']['toUpperCase']()),_0xbf25a1?console['log'](_0x4f4cdc[_0x973b06(0x83)](_0x4f4cdc['qWvFH'],_0x23918d[_0x346129][_0x973b06(0x8c)][_0x973b06(0xc9)]())):console['log'](_0x4f4cdc['rafqQ'](_0x4f4cdc['cPpWq'],_0x23918d[_0x346129][_0x973b06(0x8c)][_0x973b06(0xc9)]()))));if(_0x4f4cdc[_0x973b06(0xb5)](_0x23918d[_0x346129][_0x973b06(0x8c)][_0x973b06(0xc9)](),_0x4f4cdc[_0x973b06(0x8e)])){_0x5af404=!![];const _0x4a10d0=_0x4f4cdc[_0x973b06(0xcf)](nestedKeyValue,_0x23918d[_0x346129],[_0x4f4cdc['CKgIw'],_0x4f4cdc[_0x973b06(0x8b)]]);_0x4a10d0&&(testsErrorMessage[_0x4f4cdc['DNmPE'](_0x4f4cdc['jLuLU'](_0x45f9db[_0x973b06(0x9e)]['feature']['name'],_0x4f4cdc[_0x973b06(0x80)]),_0x45f9db[_0x973b06(0xcc)]['name'])]=_0x4a10d0,console[_0x973b06(0xab)](_0x4f4cdc[_0x973b06(0xd3)](_0x4a10d0,'\x0a')));}}}_0x5af404&&(testSuitesFailed+=0x1),console[_0x973b06(0xab)]('\x0a');}}module[a7_0x3d7138(0x9b)]=BrowserstackFormatter;
|
|
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 +1 @@
|
|
|
1
|
-
const a8_0x39a2c7=a8_0x21d2;function a8_0x21d2(_0x575288,_0x17fd33){const _0x4e8dcc=a8_0x4e8d();return a8_0x21d2=function(_0x21d2ef,_0x4e6119){_0x21d2ef=_0x21d2ef-0x9b;let _0x5ebb30=_0x4e8dcc[_0x21d2ef];return _0x5ebb30;},a8_0x21d2(_0x575288,_0x17fd33);}(function(_0x5f0f92,_0x5b34a6){const _0x3b1a41=a8_0x21d2,_0x1d9b71=_0x5f0f92();while(!![]){try{const _0x4566d0=-parseInt(_0x3b1a41(0xb8))/0x1+parseInt(_0x3b1a41(0xdc))/0x2*(-parseInt(_0x3b1a41(0xe4))/0x3)+-parseInt(_0x3b1a41(0xe0))/0x4*(-parseInt(_0x3b1a41(0x105))/0x5)+-parseInt(_0x3b1a41(0xe9))/0x6*(-parseInt(_0x3b1a41(0xea))/0x7)+parseInt(_0x3b1a41(0xae))/0x8*(parseInt(_0x3b1a41(0xe3))/0x9)+parseInt(_0x3b1a41(0xb2))/0xa*(-parseInt(_0x3b1a41(0x119))/0xb)+parseInt(_0x3b1a41(0xe2))/0xc;if(_0x4566d0===_0x5b34a6)break;else _0x1d9b71['push'](_0x1d9b71['shift']());}catch(_0x547159){_0x1d9b71['push'](_0x1d9b71['shift']());}}}(a8_0x4e8d,0x763b0));const os=require('os'),path=require(a8_0x39a2c7(0x11a)),fs=require('fs'),stripAnsi=require('strip-ansi'),{v4:uuidv4}=require('uuid'),util=require(a8_0x39a2c7(0xfd)),hooksMap={},SessionHandler=require(a8_0x39a2c7(0xf5)),testhubUtils=require(a8_0x39a2c7(0x11b)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a8_0x39a2c7(0xbe)),logger=require('../../helpers/logger')['winstonLogger'],{o11yClassErrorHandler}=require(a8_0x39a2c7(0xff)),{FRAMEWORKS}=require(a8_0x39a2c7(0xc8)),TestDetails=require(a8_0x39a2c7(0xe5));function a8_0x4e8d(){const _0x4591dc=['cMPwu','hauky','uri','CUCUMBER','find','../../helpers/helper','examples','wNrnn','sendTestRunEventForCucumber','testCase','NhgKX','BaRYs','failureData','getTestUUID','Exception\x20in\x20sending\x20hook\x20events:\x20','../../helpers/test-observability/constants.js','result','hookId','children','failed','astNodeIds','lRBxD','join','uploadEventData','_gitConfigured','vlAYF','Lxlvh','AssertionError','testStepId','status','flatMap','length','scenario','test_run','name','396696QJxltv','getHookRunEventData','TQtza','VzwTb','2386952Xregcw','failure_type','993312jTMtIK','189FFwpLQ','3EhPChk','../playwright/reporter/test-details','pMnPM','_gitConfigPath','failure','6vasExR','4586701pbfvdo','configureGit','Momkc','szfhr','tableBody','getScenarioExamples','testCaseStartedId','DMzWM','uJilm','testCaseFinished','finished_at','../../helpers/test-observability/sessionHandler','rZHIe','value','ejPIb','EvQMT','getCucumberHookType','forEach','pickle','util','UnhandledError','../../helpers/test-observability/error-handler','includes','cells','aTgWR','lmLbM','hook_run','5vVkgDS','pending','format','debug','gIHho','toISOString','gttFm','HvkvV','rule','hook','testSteps','nanos','unknown','Xknis','push','root','skipped','tagExpression','_gitMetadata','HookRunStarted','6413MwsgSE','path','../../helpers/testhub/utils','anIwy','hQILn','appendTesthubParams','backtrace','failure_reason','BEFORE_EACH','toString','EcvSF','failureType','jqVPT','toLowerCase','map','every','iwJAO','exception','lHHdk','event_type','message','uuid','ltVZc','HookRunFinished','feature','passed','match','sendHook','99432wWPxso','relative','cucumber','javascript','13300aGeKEL','duration_in_ms','vxEbd','ZHhkp','getHookResult','jAxAW','137756kefGhJ'];a8_0x4e8d=function(){return _0x4591dc;};return a8_0x4e8d();}this['_gitConfigured']=![],this[a8_0x39a2c7(0xe7)]=null;class TestObservabilityReporter{async[a8_0x39a2c7(0xc1)](_0x2a52aa,_0x3adc27,_0x56d1ea,_0x13fc80,_0x521c8c,_0x2b8af8={}){const _0x5138cd=a8_0x39a2c7,_0x4c46c0={'BaRYs':function(_0x13e37d,_0x5c4d6d){return _0x13e37d===_0x5c4d6d;},'uJilm':'FAILED','ltVZc':_0x5138cd(0xcc),'EcvSF':function(_0x3e1e78,_0x460a8d){return _0x3e1e78===_0x460a8d;},'cpKLX':'SKIPPED','nOEbT':_0x5138cd(0x115),'gttFm':function(_0x3f581b,_0x4ff931){return _0x3f581b||_0x4ff931;},'GoEeM':function(_0x281b6e,_0x18f189){return _0x281b6e+_0x18f189;},'HvkvV':function(_0x353455,_0xcad78c){return _0x353455+_0xcad78c;},'pHKMJ':'test','iwJAO':_0x5138cd(0xb1),'rhaXP':'cucumber','cMPwu':_0x5138cd(0x106),'ZHhkp':_0x5138cd(0xab),'lHHdk':function(_0x59293c,_0x2a9335){return _0x59293c/_0x2a9335;},'jAxAW':function(_0x238fac,_0x47fe19){return _0x238fac===_0x47fe19;},'pRtby':function(_0x5f7e33,_0x3e87cd){return _0x5f7e33(_0x3e87cd);},'pMnPM':_0x5138cd(0x111),'aTgWR':'AssertionError','szfhr':_0x5138cd(0xfe)},{feature:_0x3d732f,scenario:_0x2395d5,steps:_0x204326,uuid:_0x581c9f,startedAt:_0x3882cd,finishedAt:_0x3d3dfd}=_0x4c46c0[_0x5138cd(0x10b)](_0x521c8c,{}),_0x3ad575=this[_0x5138cd(0xef)](_0x3adc27,_0x56d1ea);await this[_0x5138cd(0xeb)]();const _0x44958e=_0x3ad575?_0x4c46c0['GoEeM'](_0x4c46c0[_0x5138cd(0x10c)](_0x4c46c0[_0x5138cd(0x10c)](_0x56d1ea[_0x5138cd(0xdb)],'\x20('),_0x3ad575[_0x5138cd(0xcf)](',\x20')),')'):_0x56d1ea['name'],_0x2bba01={'uuid':_0x581c9f,'started_at':_0x3882cd,'finished_at':_0x3d3dfd,'type':_0x4c46c0['pHKMJ'],'body':{'lang':_0x4c46c0[_0x5138cd(0xa2)],'code':null},'name':_0x44958e,'scopes':[_0x3d732f?.['name']||''],'tags':_0x56d1ea['tags']?.[_0x5138cd(0xa0)](({name:_0x1df09a})=>_0x1df09a),'file_name':_0x56d1ea[_0x5138cd(0xbb)],'location':_0x56d1ea[_0x5138cd(0xbb)],'vc_filepath':this[_0x5138cd(0xe7)]&&_0x56d1ea[_0x5138cd(0xbb)]?path['relative'](this[_0x5138cd(0xe7)],_0x56d1ea['uri']):null,'framework':_0x4c46c0['rhaXP'],'result':_0x4c46c0[_0x5138cd(0xb9)],'meta':{'feature':_0x3d732f,'scenario':_0x2395d5,'steps':_0x204326,'examples':_0x3ad575},'customRerunParam':{'rerun_name':_0x44958e}};if(_0x2a52aa[_0x5138cd(0xf3)]&&_0x204326){const _0x37cd82=_0x2a52aa['testCaseFinished'];let _0x46f2ee=_0x4c46c0[_0x5138cd(0xb5)];_0x204326[_0x5138cd(0xa1)](_0x49525b=>{const _0x231bed=_0x5138cd;if(_0x4c46c0[_0x231bed(0xc4)](_0x49525b[_0x231bed(0xc9)],_0x4c46c0[_0x231bed(0xf2)]))return _0x46f2ee=_0x4c46c0[_0x231bed(0xa8)],_0x37cd82[_0x231bed(0xe8)]=_0x49525b['failure'],_0x37cd82[_0x231bed(0x9d)]=_0x49525b[_0x231bed(0x9d)],![];else{if(_0x4c46c0[_0x231bed(0x9c)](_0x49525b[_0x231bed(0xc9)],_0x4c46c0['cpKLX']))return _0x46f2ee=_0x4c46c0['nOEbT'],![];}return!![];}),_0x2bba01[_0x5138cd(0xf4)]=new Date()['toISOString'](),_0x2bba01[_0x5138cd(0xc9)]=_0x46f2ee,_0x2bba01[_0x5138cd(0xb3)]=_0x4c46c0[_0x5138cd(0xa4)](_0x37cd82['timestamp']?.[_0x5138cd(0x110)],0xf4240),_0x4c46c0[_0x5138cd(0xb7)](_0x46f2ee,_0x4c46c0[_0x5138cd(0xa8)])&&(_0x2bba01['failure']=[{'backtrace':[_0x37cd82?.[_0x5138cd(0xe8)]?_0x4c46c0['pRtby'](stripAnsi,_0x37cd82?.[_0x5138cd(0xe8)]):_0x4c46c0[_0x5138cd(0xe6)]]}],_0x2bba01[_0x5138cd(0x120)]=_0x37cd82?.[_0x5138cd(0xe8)]?_0x4c46c0['pRtby'](stripAnsi,_0x37cd82?.[_0x5138cd(0xe8)]):_0x37cd82['message'],_0x37cd82?.[_0x5138cd(0x9d)]&&(_0x2bba01[_0x5138cd(0xe1)]=_0x37cd82[_0x5138cd(0x9d)][_0x5138cd(0xac)](/AssertError/)?_0x4c46c0[_0x5138cd(0x102)]:_0x4c46c0[_0x5138cd(0xed)]));}testhubUtils[_0x5138cd(0x11e)](_0x2bba01,_0x13fc80,'',FRAMEWORKS[_0x5138cd(0xbc)]);const _0x474114={};_0x474114[_0x5138cd(0xa5)]=_0x13fc80,_0x474114[_0x5138cd(0xda)]=_0x2bba01;const _0x51577f=_0x474114;await SessionHandler['uploadEventData'](_0x51577f);}['getHookRunEventData'](_0x1611ee,_0x4ac0ff,_0x5cc9b5,_0x77dd21,_0x134725,_0x62e0ac){const _0x528edf=a8_0x39a2c7,_0x119c6d={};_0x119c6d[_0x528edf(0xf9)]=function(_0x38ed51,_0x655dea){return _0x38ed51===_0x655dea;},_0x119c6d[_0x528edf(0x109)]=_0x528edf(0xa9),_0x119c6d[_0x528edf(0xec)]=_0x528edf(0x106),_0x119c6d['hQILn']=_0x528edf(0x10e),_0x119c6d[_0x528edf(0x112)]=_0x528edf(0xb1),_0x119c6d['ieEcI']=_0x528edf(0xb0);const _0x20748d=_0x119c6d;if(_0x20748d[_0x528edf(0xf9)](_0x4ac0ff,_0x20748d[_0x528edf(0x109)])){const _0x4aac56=new Date()[_0x528edf(0x10a)](),_0x55e485=_0x62e0ac['testCaseStartedId'],_0x5cd6f7=hooksMap[_0x55e485];if(!_0x5cd6f7)return;const _0x55a808=_0x5cd6f7[_0x528edf(0xbd)](_0x1a13c5=>_0x1a13c5[_0x528edf(0xa7)]===_0x5cc9b5['id']);if(!_0x55a808)return;const _0x4427cc=this['getHookResult'](_0x1611ee,_0x62e0ac);_0x55a808[_0x528edf(0xc9)]=_0x4427cc[_0x528edf(0xd6)],_0x55a808[_0x528edf(0xf4)]=_0x4aac56,_0x55a808['failure_type']=_0x4427cc[_0x528edf(0x9d)];const _0x78008a={};return _0x78008a[_0x528edf(0x11f)]=_0x4427cc[_0x528edf(0xc5)],_0x55a808['failure_data']=[_0x78008a],_0x55a808;}const _0x3a2699=TestDetails[_0x528edf(0xc6)](_0x62e0ac[_0x528edf(0xf0)]),_0x547a08=new Date()[_0x528edf(0x10a)](),_0x38c1c4=_0x20748d[_0x528edf(0xec)],_0x1287b0=_0x5cc9b5['tagExpression']?_0x5cc9b5[_0x528edf(0x116)]['split']('\x20')['filter'](_0x52f9e2=>_0x52f9e2[_0x528edf(0x100)]('@')):null,_0x2e6b98=_0x1611ee[_0x528edf(0xfc)][_0x528edf(0xbb)],_0x548732={'uuid':_0x5cc9b5['id'],'type':_0x20748d[_0x528edf(0x11d)],'hook_type':_0x134725,'name':_0x5cc9b5?.[_0x528edf(0xdb)]||'','body':{'lang':_0x20748d['Xknis'],'code':null},'tags':_0x1287b0,'test_run_id':_0x3a2699,'scopes':[_0x77dd21?.[_0x528edf(0xaa)]?.['name']||''],'file_name':_0x2e6b98,'location':_0x2e6b98,'vc_filepath':this[_0x528edf(0x117)]&&this[_0x528edf(0x117)][_0x528edf(0x114)]?path[_0x528edf(0xaf)](this['_gitMetadata'][_0x528edf(0x114)],_0x1611ee):null,'result':_0x38c1c4[_0x528edf(0xd6)],'started_at':_0x547a08,'framework':_0x20748d['ieEcI']};return _0x548732;}async['sendHook'](_0x28c5c4,_0x37e03d,_0x5c0771,_0x3f6d63){const _0x597e00=a8_0x39a2c7,_0x2150da={};_0x2150da['vlAYF']=function(_0x56f964,_0x555efc){return _0x56f964===_0x555efc;},_0x2150da[_0x597e00(0xf8)]=_0x597e00(0x118);const _0x15f2a5=_0x2150da;try{const _0x308906=_0x28c5c4[_0x597e00(0xc2)][_0x597e00(0x10f)],_0x1b3926=_0x308906[_0x597e00(0xbd)](_0x25397a=>_0x25397a['id']===_0x3f6d63[_0x597e00(0xd5)]);if(!_0x1b3926[_0x597e00(0xca)])return;const _0x4bbb55=_0x3f6d63[_0x597e00(0xf0)],_0x4dc2e7=this[_0x597e00(0xfa)](_0x308906,_0x1b3926),_0x2e5b59=this[_0x597e00(0xdd)](_0x28c5c4,_0x37e03d,_0x1b3926,_0x5c0771,_0x4dc2e7,_0x3f6d63);if(!_0x2e5b59)return;_0x15f2a5[_0x597e00(0xd2)](_0x37e03d,_0x15f2a5[_0x597e00(0xf8)])&&(hooksMap[_0x4bbb55]?hooksMap[_0x4bbb55][_0x597e00(0x113)](_0x2e5b59):hooksMap[_0x4bbb55]=[_0x2e5b59]);const _0x26374e={};_0x26374e[_0x597e00(0xa5)]=_0x37e03d,_0x26374e[_0x597e00(0x104)]=_0x2e5b59;const _0xffc8bc=_0x26374e;await SessionHandler[_0x597e00(0xd0)](_0xffc8bc);}catch(_0x36ace9){logger[_0x597e00(0x108)](_0x597e00(0xc7)+util[_0x597e00(0x107)](_0x36ace9));}}['getHookResult'](_0x234975,_0x1f6b8b){const _0x1befa0=a8_0x39a2c7,_0x39b7f8={};_0x39b7f8['rZHIe']=function(_0x5768bf,_0x520539){return _0x5768bf===_0x520539;},_0x39b7f8[_0x1befa0(0xce)]=_0x1befa0(0xcc),_0x39b7f8[_0x1befa0(0xde)]=function(_0x5b02ce,_0xa4e3f7){return _0x5b02ce===_0xa4e3f7;},_0x39b7f8['VzwTb']=function(_0x98de85,_0x2dcdac){return _0x98de85===_0x2dcdac;},_0x39b7f8['hauky']=_0x1befa0(0xfe),_0x39b7f8[_0x1befa0(0xc0)]=_0x1befa0(0xd4),_0x39b7f8[_0x1befa0(0xc3)]=function(_0xce48b8,_0x356703){return _0xce48b8||_0x356703;};const _0x3d37ea=_0x39b7f8,_0x554191=_0x234975['stepResults'][_0x1f6b8b[_0x1befa0(0xd5)]];let _0x5deb99,_0x4485ef;return _0x3d37ea[_0x1befa0(0xf6)](_0x554191?.[_0x1befa0(0xd6)][_0x1befa0(0x9b)]()[_0x1befa0(0x9f)](),_0x3d37ea['lRBxD'])&&(_0x5deb99=_0x3d37ea[_0x1befa0(0xde)](_0x554191?.['exception'],undefined)?_0x554191?.[_0x1befa0(0xa6)]:_0x554191?.[_0x1befa0(0xa3)]?.[_0x1befa0(0xa6)],_0x4485ef=_0x3d37ea[_0x1befa0(0xdf)](_0x554191?.[_0x1befa0(0xa3)],undefined)?_0x3d37ea['hauky']:_0x554191?.['message'][_0x1befa0(0xac)](/Assert/)?_0x3d37ea[_0x1befa0(0xc0)]:_0x3d37ea[_0x1befa0(0xba)]),{'status':_0x554191[_0x1befa0(0xd6)][_0x1befa0(0x9f)](),'failureType':_0x3d37ea[_0x1befa0(0xc3)](_0x4485ef,null),'failureData':!_0x5deb99?null:[_0x5deb99]};}[a8_0x39a2c7(0xfa)](_0x2e1725,_0x532c4d){const _0x41d6a7=a8_0x39a2c7,_0x3cdd32={};_0x3cdd32[_0x41d6a7(0xf1)]=function(_0x4f32fb,_0x55ba90){return _0x4f32fb===_0x55ba90;},_0x3cdd32['lmLbM']='AFTER_EACH',_0x3cdd32['ygspT']=_0x41d6a7(0x121);const _0x3c68c3=_0x3cdd32;let _0x54e0fd=![];for(const _0x405381 of _0x2e1725){_0x405381['pickleStepId']&&(_0x54e0fd=!![]);if(_0x3c68c3[_0x41d6a7(0xf1)](_0x532c4d['id'],_0x405381['id']))return _0x54e0fd?_0x3c68c3[_0x41d6a7(0x103)]:_0x3c68c3['ygspT'];}}[a8_0x39a2c7(0xef)]=(_0x4fbdd8,_0x442147)=>{const _0x29cd84=a8_0x39a2c7,_0x123ecf={};_0x123ecf[_0x29cd84(0x11c)]=function(_0x4e8470,_0x140595){return _0x4e8470===_0x140595;},_0x123ecf[_0x29cd84(0xb4)]=function(_0x194166,_0x164f60){return _0x194166>_0x164f60;};const _0x5c1e2c=_0x123ecf;if(!_0x5c1e2c['vxEbd'](_0x442147[_0x29cd84(0xcd)]?.[_0x29cd84(0xd8)],0x1))return;const _0x3b75f0=_0x442147['astNodeIds'][0x0],_0x220500=_0x442147['astNodeIds'][0x1],_0x2d3b76=_0x4fbdd8['feature']?.['children'];let _0x58ee3f=[];_0x2d3b76?.['forEach'](_0x303a3e=>{const _0x49363f=_0x29cd84,_0x9c164b={'Lxlvh':function(_0x5f57b4,_0x1d7fb9){const _0x17274b=a8_0x21d2;return _0x5c1e2c[_0x17274b(0x11c)](_0x5f57b4,_0x1d7fb9);}};if(_0x303a3e['rule'])_0x303a3e[_0x49363f(0x10d)][_0x49363f(0xcb)][_0x49363f(0xfb)](_0x5d197f=>{const _0x461f6d=_0x49363f;if(_0x5d197f[_0x461f6d(0xd9)]&&_0x9c164b[_0x461f6d(0xd3)](_0x5d197f[_0x461f6d(0xd9)]['id'],_0x3b75f0)&&_0x5d197f[_0x461f6d(0xd9)][_0x461f6d(0xbf)]){const _0x3b5583=_0x5d197f[_0x461f6d(0xd9)][_0x461f6d(0xbf)][_0x461f6d(0xd7)](_0x249354=>_0x249354[_0x461f6d(0xee)])[_0x461f6d(0xbd)](_0x4868ea=>_0x4868ea['id']===_0x220500)?.[_0x461f6d(0x101)]['map'](_0x23375c=>_0x23375c['value']);_0x3b5583&&(_0x58ee3f=_0x3b5583);}});else{if(_0x303a3e[_0x49363f(0xd9)]&&_0x5c1e2c[_0x49363f(0x11c)](_0x303a3e[_0x49363f(0xd9)]['id'],_0x3b75f0)&&_0x303a3e[_0x49363f(0xd9)][_0x49363f(0xbf)]){const _0x1ab03b=_0x303a3e['scenario'][_0x49363f(0xbf)][_0x49363f(0xd7)](_0xc60821=>_0xc60821[_0x49363f(0xee)])['find'](_0x1c4860=>_0x1c4860['id']===_0x220500)?.[_0x49363f(0x101)][_0x49363f(0xa0)](_0x128e2f=>_0x128e2f[_0x49363f(0xf7)]);_0x1ab03b&&(_0x58ee3f=_0x1ab03b);}}});if(_0x58ee3f[_0x29cd84(0xd8)])return _0x58ee3f;return;};async[a8_0x39a2c7(0xeb)](){const _0xebf43a=a8_0x39a2c7,_0x2d0651={'jqVPT':function(_0x3ddf90){return _0x3ddf90();}};if(this['_gitConfigured'])return this[_0xebf43a(0xe7)];const _0xaa1858=await _0x2d0651[_0xebf43a(0x9e)](getGitMetaData);_0xaa1858&&(this[_0xebf43a(0xe7)]=_0xaa1858['root']),this[_0xebf43a(0xd1)]=!![];}}module['exports']=o11yClassErrorHandler(TestObservabilityReporter,['configureGit',a8_0x39a2c7(0xef),a8_0x39a2c7(0xfa),a8_0x39a2c7(0xb6),a8_0x39a2c7(0xad),a8_0x39a2c7(0xdd),a8_0x39a2c7(0xc1)]);
|
|
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 +1 @@
|
|
|
1
|
-
const a9_0x45aa57=a9_0x58d7;(function(_0x57bb2c,_0x5a261b){const _0x38d4cb=a9_0x58d7,_0x1ae6c1=_0x57bb2c();while(!![]){try{const _0x41bfad=-parseInt(_0x38d4cb(0x27c))/0x1+parseInt(_0x38d4cb(0x231))/0x2+-parseInt(_0x38d4cb(0x24b))/0x3+parseInt(_0x38d4cb(0x226))/0x4*(-parseInt(_0x38d4cb(0x218))/0x5)+parseInt(_0x38d4cb(0x1f1))/0x6+-parseInt(_0x38d4cb(0x28d))/0x7+parseInt(_0x38d4cb(0x233))/0x8*(parseInt(_0x38d4cb(0x206))/0x9);if(_0x41bfad===_0x5a261b)break;else _0x1ae6c1['push'](_0x1ae6c1['shift']());}catch(_0x47afc2){_0x1ae6c1['push'](_0x1ae6c1['shift']());}}}(a9_0x18ec,0xb8796));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra}=require(a9_0x45aa57(0x295)),setKeepAlive=require(a9_0x45aa57(0x202)),util=require(a9_0x45aa57(0x25b)),PerformanceTester=require(a9_0x45aa57(0x20b)),{commandRepository}=require(a9_0x45aa57(0x24f)),cucumberModule=requireModule(a9_0x45aa57(0x256)),logger=require(a9_0x45aa57(0x274))[a9_0x45aa57(0x25f)],{shouldProcessEventForTesthub}=require(a9_0x45aa57(0x20e)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a9_0x45aa57(0x211)),TestDetails=require(a9_0x45aa57(0x238)),RequestQueueHandler=require(a9_0x45aa57(0x236)),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),MyReporter=require(a9_0x45aa57(0x25d)),SessionHandler=require(a9_0x45aa57(0x27b)),scripts=require('../../helpers/accessibility-automation/scripts'),globals=require(a9_0x45aa57(0x281)),testHubConstants=require(a9_0x45aa57(0x252)),{shouldScanTestForAccessibility}=require(a9_0x45aa57(0x286)),{isUndefined}=require('lodash'),a9_0x4376d8={};a9_0x4376d8[a9_0x45aa57(0x222)]=undefined,a9_0x4376d8[a9_0x45aa57(0x1f0)]={},a9_0x4376d8[a9_0x45aa57(0x1f8)]=![],a9_0x4376d8[a9_0x45aa57(0x1f0)]['id']=undefined,a9_0x4376d8[a9_0x45aa57(0x1f0)][a9_0x45aa57(0x239)]=undefined;const workerDetails=a9_0x4376d8;function a9_0x58d7(_0x429a70,_0x27cfe2){const _0x18ec47=a9_0x18ec();return a9_0x58d7=function(_0x58d73a,_0x4ec0ef){_0x58d73a=_0x58d73a-0x1e2;let _0x58b285=_0x18ec47[_0x58d73a];return _0x58b285;},a9_0x58d7(_0x429a70,_0x27cfe2);}function a9_0x18ec(){const _0x266dc7=['Pndks','1909674RNklpP','rSYJO','8NtJqZq','removeAllListeners','__timeout','../../helpers/test-observability/requestQueueHandler','XVrUk','../playwright/reporter/test-details.js','testInfo','join','kVkri','Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20','setDefaultTimeout','whklC','AAlMF','AfterStep','__platformCaps','QOEHc','push','shift','timeout','BROWSERSTACK_TESTHUB_UUID','pickle','setGlobal','platformCaps','driverCleanup','1859601OtEpoo','stringify','CPPcx','toLowerCase','../../helpers/ai-sdk/autoHealHelper','bMuCw','addTestUIDAndReportLog','../../helpers/testhub/constants.js','AdcvT','pickleStep','performScan','@cucumber/cucumber/lib/index.js','jLApi','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','test_run','getGlobal','util','parse','../playwright/reporter/reporter.js','txzCm','winstonLogger','CONFIG','status','ApTSE','Inside\x20browserstack\x20AfterAll','message','quitCount_','setConfig','__error_messages__','ENV_VAR','gwaTT','toString','AfterAll','session_','failed','pid','Inside\x20browserstack\x20AfterStep','Error:\x20quiting\x20driver\x20at\x20After:\x20','format','integrations','startMonitoring','../../helpers/logger','Inside\x20browserstack\x20registerListeners','skipSessionStatus','Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20','event_type','KzBqd','TcyqZ','../../helpers/test-observability/sessionHandler','482356UbGHKK','tags','browserstackAgentV2','GHbjd','WeIlD','../../helpers/globals','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20','qwRjT','__drivers','NBHpX','../../helpers/accessibility-automation/helper','vHlvg','wYtNg','QDsXV','result','UdhdD','map','7818699eHTbdr','zytPI','WFIcl','saveTestResults',',\x22level\x22:\x20\x22','\x0aError:\x20','sOzpE','usTnk','../../helpers/helper','env','gCXjI','uhjRX','pIgbG','bstackA11yShouldScan','setFramework','info','BeforeAll','split','dFHvu','bstack','Inside\x20browserstack\x20After','\x20|\x20','debug','LeeLl','Error:\x20at\x20After\x20Step:\x20','currentTest','2182350XimlDw','qowXx','GhBGq','Performing\x20scan\x20before\x20saving\x20results','executeScript','__sessionFailed','Failed:\x20','o11ySyncDone','XKtTZ','getInstance','Error:\x20sendPlatformDetails\x20at\x20After:\x20','length','HJyBX','Error:\x20cleaning\x20up\x20driver:\x20','getTestUUID','Error:\x20at\x20After:\x20','Passed:\x20','../../helpers/setKeepAlive','initQuit','__skipSessionName','zFhnR','21859830BvdCbc','testCaseStartedId','uploadEventData','uuid','FzTLy','../../helpers/performance-tester','thJwtToken','\x22}}','../../helpers/testhub/utils','__skipSessionStatus','Pgjui','../../helpers/test-observability/utils','../../index','IDCyS','1|0|3|2|4','ZmcIY','Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20','DFDFQ','8015rCazbU','skipSessionName','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','browserstackSessionName','Inside\x20browserstack\x20BeforeAll','isAccessibilityPlatform','name','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','thTestRunUuid','workerInfo','error','text','executeAsyncScript','1928LDMiPE','finally','BSTACK_CONFIG','passed','thBuildUuid','hNnXJ','rTnNQ','shutdown','bs:addLog:','stopMonitoring'];a9_0x18ec=function(){return _0x266dc7;};return a9_0x18ec();}shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x509018){const _0x1017d8=a9_0x45aa57,_0x2a1166=workerDetails['currentTest'][_0x1017d8(0x239)];if(!_0x2a1166)return;await MyReporter[_0x1017d8(0x251)](_0x2a1166,_0x509018);}),registerListeners=()=>{const _0x551005=a9_0x45aa57,_0x341216={};_0x341216[_0x551005(0x283)]=_0x551005(0x275);const _0x9cb11=_0x341216;logger[_0x551005(0x1ed)](_0x9cb11[_0x551005(0x283)]),process[_0x551005(0x234)](_0x551005(0x22e)+process[_0x551005(0x26e)]),process['on'](_0x551005(0x22e)+process[_0x551005(0x26e)],sendTestLog),PerformanceTester[_0x551005(0x273)]();};modifyCommand(),setKeepAlive();const Before=cucumberModule['Before'],After=cucumberModule['After'],AfterAll=cucumberModule[a9_0x45aa57(0x26b)],BeforeAll=cucumberModule[a9_0x45aa57(0x1e7)],AfterStep=cucumberModule[a9_0x45aa57(0x240)],configuration=process[a9_0x45aa57(0x296)][a9_0x45aa57(0x260)],bstackConfig=process[a9_0x45aa57(0x296)][a9_0x45aa57(0x228)];if(configuration!==undefined){const config=JSON[a9_0x45aa57(0x25c)](configuration);isBrowserstackInfra()?(global[a9_0x45aa57(0x204)]=isTrue(config[a9_0x45aa57(0x219)]),global[a9_0x45aa57(0x20f)]=isTrue(config[a9_0x45aa57(0x276)])):(global[a9_0x45aa57(0x204)]=!![],global[a9_0x45aa57(0x20f)]=!![]),shouldProcessEventForTesthub()?require(a9_0x45aa57(0x212))[a9_0x45aa57(0x27e)](config,null,!![]):require(a9_0x45aa57(0x212))['browserstackAgentV2'](config),global[a9_0x45aa57(0x241)]=config[a9_0x45aa57(0x249)]||{};}if(bstackConfig!==undefined){const browserStackConfig=JSON['parse'](bstackConfig);browserStackConfig&&(commandRepository[a9_0x45aa57(0x266)](browserStackConfig),commandRepository[a9_0x45aa57(0x1e5)]('cucumber-js'));}global[a9_0x45aa57(0x235)]=0x0;const __setDefaultTimeout=cucumberModule[a9_0x45aa57(0x23d)];cucumberModule[a9_0x45aa57(0x23d)]=_0x579864=>{const _0x36f94c=a9_0x45aa57,_0x20f324={'IDNRT':function(_0x4471c8,_0x15ad61){return _0x4471c8(_0x15ad61);}};global[_0x36f94c(0x235)]=_0x579864,_0x20f324['IDNRT'](__setDefaultTimeout,_0x579864);};const a9_0x577ae4={};a9_0x577ae4[a9_0x45aa57(0x21f)]=a9_0x45aa57(0x1ea),BeforeAll(a9_0x577ae4,function(){const _0x45fb6d=a9_0x45aa57,_0x5e253a={'WeIlD':function(_0xd91ff3,_0xad62e9,_0x52ee96,_0x16e7bb){return _0xd91ff3(_0xad62e9,_0x52ee96,_0x16e7bb);},'YyCwD':_0x45fb6d(0x26d),'QOEHc':_0x45fb6d(0x1ec),'ApTSE':function(_0x19d00d,_0x227fd1,_0x496278){return _0x19d00d(_0x227fd1,_0x496278);},'WFIcl':_0x45fb6d(0x229),'kVkri':_0x45fb6d(0x21d),'qowXx':function(_0x2784da){return _0x2784da();},'AAlMF':function(_0xc9a0b1){return _0xc9a0b1();},'UdhdD':function(_0x3f276d,_0x47cbae){return _0x3f276d(_0x47cbae);}};PerformanceTester[_0x45fb6d(0x273)](),logger[_0x45fb6d(0x1ed)](_0x5e253a[_0x45fb6d(0x23b)]),global['__error_messages__']=[],global[_0x45fb6d(0x1f6)]=![],_0x5e253a[_0x45fb6d(0x1f2)](shouldProcessEventForTesthub)&&(_0x5e253a[_0x45fb6d(0x23f)](registerListeners),_0x5e253a[_0x45fb6d(0x28b)](addRequestSpy,![])),global[_0x45fb6d(0x24a)]=async()=>{const _0x1951aa=_0x45fb6d;let _0x5c6658=![];try{await global[_0x1951aa(0x284)][0x0][_0x1951aa(0x26c)],_0x5c6658=!![],global[_0x1951aa(0x1f6)]?await _0x5e253a[_0x1951aa(0x280)](markSessionStatus,global[_0x1951aa(0x284)][0x0],_0x5e253a['YyCwD'],global[_0x1951aa(0x267)][_0x1951aa(0x23a)](_0x5e253a[_0x1951aa(0x242)])):await _0x5e253a[_0x1951aa(0x262)](markSessionStatus,global['__drivers'][0x0],_0x5e253a[_0x1951aa(0x28f)]);}catch(_0xbdc585){logger[_0x1951aa(0x1ed)](_0x1951aa(0x1fe)+_0xbdc585);}global[_0x1951aa(0x267)]=[],global[_0x1951aa(0x1f6)]=![];if(_0x5c6658)try{await global[_0x1951aa(0x284)][0x0][_0x1951aa(0x203)]();}catch(_0xe9e63f){logger['debug'](_0x1951aa(0x277)+_0xe9e63f);}};});const a9_0x2a06d5={};a9_0x2a06d5[a9_0x45aa57(0x21f)]='bstack',a9_0x2a06d5[a9_0x45aa57(0x245)]=0x2710,Before(a9_0x2a06d5,function(_0x1cdb6a,_0x302d29){const _0x273ee7=a9_0x45aa57,_0x58178f={'IDCyS':function(_0x370057,_0x15a4a8){return _0x370057>_0x15a4a8;},'LeeLl':function(_0x32d9f9,_0x222d08){return _0x32d9f9>_0x222d08;},'WCMrK':function(_0x3627c3,_0x8d8eba){return _0x3627c3(_0x8d8eba);},'Pndks':function(_0x3ad69e,_0xb1772,_0x4b04f8,_0x5a0bee){return _0x3ad69e(_0xb1772,_0x4b04f8,_0x5a0bee);},'DFDFQ':_0x273ee7(0x1e4),'FzTLy':function(_0x5b6e4f){return _0x5b6e4f();},'usTnk':'Inside\x20browserstack\x20Before'};commandRepository['setTestNameForHealingContext'](_0x1cdb6a['pickle']['name']),logger[_0x273ee7(0x1ed)](_0x58178f[_0x273ee7(0x294)]),new Promise(async _0x4c198e=>{const _0x5bfb2c=_0x273ee7;try{_0x58178f[_0x5bfb2c(0x213)](global[_0x5bfb2c(0x284)][_0x5bfb2c(0x1fc)],0x1)&&(await global[_0x5bfb2c(0x24a)](),global[_0x5bfb2c(0x284)][_0x5bfb2c(0x244)]()),global[_0x5bfb2c(0x284)][0x0][_0x5bfb2c(0x265)]&&_0x58178f[_0x5bfb2c(0x1ee)](global[_0x5bfb2c(0x284)][0x0][_0x5bfb2c(0x265)],0x0)&&await global['driverCleanup']();}catch(_0x39b769){}workerDetails['currentTest'][_0x5bfb2c(0x239)]=_0x1cdb6a[_0x5bfb2c(0x207)];try{if(!_0x58178f['WCMrK'](isUndefined,_0x1cdb6a[_0x5bfb2c(0x247)]['tags'])){const _0x526847=_0x58178f[_0x5bfb2c(0x230)](shouldScanTestForAccessibility,null,![],_0x1cdb6a['pickle'][_0x5bfb2c(0x27d)][_0x5bfb2c(0x28c)](({name:_0x4fa6ed})=>_0x4fa6ed));globals[_0x5bfb2c(0x248)](_0x58178f[_0x5bfb2c(0x217)],_0x526847);}}catch(_0x3a53db){logger[_0x5bfb2c(0x1ed)](_0x5bfb2c(0x23c)+util[_0x5bfb2c(0x271)](_0x3a53db));}_0x58178f[_0x5bfb2c(0x20a)](_0x4c198e);})[_0x273ee7(0x227)](_0x302d29);});const a9_0x4aec7c={};a9_0x4aec7c[a9_0x45aa57(0x21f)]=a9_0x45aa57(0x1ea),a9_0x4aec7c[a9_0x45aa57(0x245)]=0x2710,After(a9_0x4aec7c,function(_0x27c3c0,_0xcee693){const _0x39bbd1=a9_0x45aa57,_0x1ee895={'sOzpE':_0x39bbd1(0x214),'HJyBX':function(_0x1c2435,_0x565543){return _0x1c2435>_0x565543;},'NBHpX':function(_0x152ae6,_0x59d34a){return _0x152ae6===_0x59d34a;},'dFHvu':'failed','rSYJO':function(_0x6edb4e,_0x3a5b7a,_0x379b50,_0x5be0a3){return _0x6edb4e(_0x3a5b7a,_0x379b50,_0x5be0a3);},'jyfyE':'\x20|\x20','CPPcx':function(_0xf3403c,_0x36ae31,_0x54b24e){return _0xf3403c(_0x36ae31,_0x54b24e);},'uhjRX':_0x39bbd1(0x229),'QDsXV':function(_0x214dc8){return _0x214dc8();},'zFhnR':'CBTSessionCreated','whklC':_0x39bbd1(0x21e),'vUqCR':'bstackA11yShouldScan','HhvOv':_0x39bbd1(0x21b),'OwuCr':_0x39bbd1(0x1f4),'BMuFG':_0x39bbd1(0x21a),'txzCm':function(_0x1e5a81,_0x268438){return _0x1e5a81>_0x268438;},'XVrUk':_0x39bbd1(0x1eb)};logger['debug'](_0x1ee895[_0x39bbd1(0x237)]),workerDetails[_0x39bbd1(0x1f0)][_0x39bbd1(0x239)]=_0x27c3c0[_0x39bbd1(0x207)],new Promise(async _0x1d75ba=>{const _0x28e8ab=_0x39bbd1;let _0x105959=![];try{const _0x9110ae=_0x1ee895[_0x28e8ab(0x293)][_0x28e8ab(0x1e8)]('|');let _0xefd489=0x0;while(!![]){switch(_0x9110ae[_0xefd489++]){case'0':await global[_0x28e8ab(0x284)][0x0][_0x28e8ab(0x26c)];continue;case'1':_0x1ee895[_0x28e8ab(0x1fd)](global[_0x28e8ab(0x284)][_0x28e8ab(0x1fc)],0x1)&&(await global[_0x28e8ab(0x24a)](),global[_0x28e8ab(0x284)][_0x28e8ab(0x244)](),global[_0x28e8ab(0x267)]=[],global[_0x28e8ab(0x1f6)]=![]);continue;case'2':!global['__skipSessionName']&&await global[_0x28e8ab(0x284)][0x0][_0x28e8ab(0x1f5)](_0x28e8ab(0x258)+_0x27c3c0[_0x28e8ab(0x247)]['name']+_0x28e8ab(0x20d));continue;case'3':_0x105959=!![];continue;case'4':if(_0x1ee895[_0x28e8ab(0x285)](_0x27c3c0[_0x28e8ab(0x28a)]['status'][_0x28e8ab(0x26a)]()[_0x28e8ab(0x24e)](),_0x1ee895[_0x28e8ab(0x1e9)])||_0x1ee895[_0x28e8ab(0x285)](_0x27c3c0['result'][_0x28e8ab(0x261)][_0x28e8ab(0x26a)]()[_0x28e8ab(0x24e)](),'6')){try{global['__error_messages__'][_0x28e8ab(0x243)](_0x27c3c0[_0x28e8ab(0x28a)][_0x28e8ab(0x264)]);}catch(_0x423dcd){logger['debug'](_0x28e8ab(0x216)+_0x423dcd);}await _0x1ee895[_0x28e8ab(0x232)](markSessionStatus,global[_0x28e8ab(0x284)][0x0],_0x1ee895[_0x28e8ab(0x1e9)],global['__error_messages__'][_0x28e8ab(0x23a)](_0x1ee895['jyfyE']));}else await _0x1ee895[_0x28e8ab(0x24d)](markSessionStatus,global[_0x28e8ab(0x284)][0x0],_0x1ee895[_0x28e8ab(0x1e2)]);continue;}break;}}catch(_0x1d64e0){logger[_0x28e8ab(0x1ed)](_0x28e8ab(0x200)+util['format'](_0x1d64e0));}try{if(_0x1ee895['QDsXV'](shouldProcessEventForTesthub)){const _0x4362d1=TestDetails[_0x28e8ab(0x1ff)](_0x27c3c0['testCaseStartedId']),_0x1fbdf1=await _0x1ee895['rSYJO'](sendPlatformDetails,global[_0x28e8ab(0x284)][0x0],_0x4362d1,!![]),_0x506d5d={};_0x506d5d[_0x28e8ab(0x209)]=_0x4362d1,_0x506d5d[_0x28e8ab(0x272)]=_0x1fbdf1;const _0x2744ae=_0x506d5d,_0x1f93bf={};_0x1f93bf[_0x28e8ab(0x278)]=_0x1ee895[_0x28e8ab(0x205)],_0x1f93bf[_0x28e8ab(0x259)]=_0x2744ae,await SessionHandler[_0x28e8ab(0x208)](_0x1f93bf);}}catch(_0x3cb464){logger[_0x28e8ab(0x1ed)](_0x28e8ab(0x1fb)+util[_0x28e8ab(0x271)](_0x3cb464));}try{if(globals[_0x28e8ab(0x25a)](_0x1ee895[_0x28e8ab(0x23e)])&&globals['getGlobal'](_0x1ee895['vUqCR'])){logger[_0x28e8ab(0x1e6)](_0x1ee895['HhvOv']);const _0x5c9866=TestDetails[_0x28e8ab(0x1ff)](_0x27c3c0[_0x28e8ab(0x207)]),_0x2d1406={};_0x2d1406[_0x28e8ab(0x221)]=_0x5c9866,_0x2d1406[_0x28e8ab(0x22a)]=process[_0x28e8ab(0x296)][testHubConstants['ENV_VAR'][_0x28e8ab(0x246)]],_0x2d1406[_0x28e8ab(0x20c)]=process['env'][testHubConstants[_0x28e8ab(0x268)]['BROWSERSTACK_TESTHUB_JWT']];const _0x1b2dee=_0x2d1406;logger[_0x28e8ab(0x1ed)](_0x28e8ab(0x220)+JSON[_0x28e8ab(0x24c)](_0x1b2dee)),logger[_0x28e8ab(0x1ed)](_0x1ee895['OwuCr']),logger['debug'](util[_0x28e8ab(0x271)](await global['__drivers'][0x0][_0x28e8ab(0x225)](scripts[_0x28e8ab(0x255)],{'method':global[_0x28e8ab(0x21c)]}))),await global[_0x28e8ab(0x284)][0x0][_0x28e8ab(0x225)](scripts[_0x28e8ab(0x290)],_0x1b2dee),logger[_0x28e8ab(0x1e6)](_0x1ee895['BMuFG']);}}catch(_0x70dc10){logger[_0x28e8ab(0x223)](_0x28e8ab(0x282)+util[_0x28e8ab(0x271)]);}if(_0x105959)try{global[_0x28e8ab(0x284)][0x0]&&_0x1ee895[_0x28e8ab(0x25e)](global[_0x28e8ab(0x284)][0x0]['quitCount_'],0x0)&&await global[_0x28e8ab(0x284)][0x0][_0x28e8ab(0x203)]();}catch(_0x320e22){logger[_0x28e8ab(0x1ed)](_0x28e8ab(0x270)+_0x320e22);}_0x1ee895[_0x28e8ab(0x289)](_0x1d75ba);})[_0x39bbd1(0x227)](()=>_0xcee693());});const a9_0x3ed050={};a9_0x3ed050[a9_0x45aa57(0x21f)]=a9_0x45aa57(0x1ea),a9_0x3ed050[a9_0x45aa57(0x245)]=0x2710,AfterStep(a9_0x3ed050,function(_0x4efe84,_0x52db65){const _0x2cabcf=a9_0x45aa57,_0x2f38ca={'GhBGq':function(_0x27c39c,_0x16a3b1){return _0x27c39c===_0x16a3b1;},'jLApi':_0x2cabcf(0x26d),'KzBqd':function(_0x3da7b0,_0x4f653a){return _0x3da7b0!==_0x4f653a;},'pIgbG':function(_0x34d853,_0x229446,_0x2ecad8){return _0x34d853(_0x229446,_0x2ecad8);},'XKtTZ':function(_0x29328a,_0x30dd40){return _0x29328a+_0x30dd40;},'wYtNg':function(_0x375de1,_0x3c2a90){return _0x375de1+_0x3c2a90;},'vHlvg':_0x2cabcf(0x1f7),'AdcvT':_0x2cabcf(0x292),'gCXjI':'error','hNnXJ':function(_0x3a4e0f,_0x357eed,_0x455c51){return _0x3a4e0f(_0x357eed,_0x455c51);},'GHbjd':function(_0x5c7539,_0x54425c){return _0x5c7539+_0x54425c;},'WqAJD':function(_0x3be4a3,_0x1f10f4){return _0x3be4a3!==_0x1f10f4;},'ZmcIY':function(_0x51242a,_0x5217cc,_0x2cdb53){return _0x51242a(_0x5217cc,_0x2cdb53);},'zytPI':_0x2cabcf(0x201),'TcyqZ':'info','Pgjui':function(_0x441645,_0x2ef8b6,_0x3fd7f6){return _0x441645(_0x2ef8b6,_0x3fd7f6);},'XMyVb':'Passed','bMuCw':function(_0x31223e){return _0x31223e();},'gwaTT':_0x2cabcf(0x26f)};logger[_0x2cabcf(0x1ed)](_0x2f38ca[_0x2cabcf(0x269)]);const _0x1d85df=async(_0x5793b0,_0x37efb9)=>{const _0x43f9cf=_0x2cabcf;await global[_0x43f9cf(0x284)][0x0][_0x43f9cf(0x1f5)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x5793b0+_0x43f9cf(0x291)+_0x37efb9+'\x22}}');};new Promise(async _0x51391b=>{const _0x2fd121=_0x2cabcf;try{_0x2f38ca[_0x2fd121(0x1f3)](_0x4efe84[_0x2fd121(0x28a)]['status']['toString']()[_0x2fd121(0x24e)](),_0x2f38ca[_0x2fd121(0x257)])||_0x2f38ca[_0x2fd121(0x1f3)](_0x4efe84[_0x2fd121(0x28a)][_0x2fd121(0x261)]['toString']()[_0x2fd121(0x24e)](),'6')?(global['__sessionFailed']=!![],global[_0x2fd121(0x267)][_0x2fd121(0x243)](_0x4efe84['result'][_0x2fd121(0x264)]),_0x2f38ca[_0x2fd121(0x279)](_0x4efe84[_0x2fd121(0x254)],undefined)?await _0x2f38ca[_0x2fd121(0x1e3)](_0x1d85df,JSON[_0x2fd121(0x24c)](_0x2f38ca[_0x2fd121(0x1f9)](_0x2f38ca['XKtTZ'](_0x2f38ca[_0x2fd121(0x288)](_0x2f38ca[_0x2fd121(0x287)],'\x22'+_0x4efe84['pickleStep'][_0x2fd121(0x224)]+'\x22\x20'),_0x2f38ca[_0x2fd121(0x253)]),_0x4efe84[_0x2fd121(0x28a)][_0x2fd121(0x264)])),_0x2f38ca[_0x2fd121(0x297)]):await _0x2f38ca[_0x2fd121(0x22b)](_0x1d85df,JSON[_0x2fd121(0x24c)](_0x2f38ca[_0x2fd121(0x27f)](_0x2f38ca['vHlvg'],_0x4efe84[_0x2fd121(0x28a)][_0x2fd121(0x264)])),_0x2f38ca['gCXjI'])):_0x2f38ca['WqAJD'](_0x4efe84['pickleStep'],undefined)?await _0x2f38ca[_0x2fd121(0x215)](_0x1d85df,JSON[_0x2fd121(0x24c)](_0x2f38ca[_0x2fd121(0x288)](_0x2f38ca[_0x2fd121(0x28e)],'\x22'+_0x4efe84['pickleStep']['text']+'\x22')),_0x2f38ca['TcyqZ']):await _0x2f38ca[_0x2fd121(0x210)](_0x1d85df,JSON[_0x2fd121(0x24c)](_0x2f38ca['XMyVb']),_0x2f38ca[_0x2fd121(0x27a)]);}catch(_0x4c75bd){logger[_0x2fd121(0x1ed)](_0x2fd121(0x1ef)+_0x4c75bd);}_0x2f38ca[_0x2fd121(0x250)](_0x51391b);})[_0x2cabcf(0x227)](()=>_0x52db65());});const a9_0x58b82a={};a9_0x58b82a['name']=a9_0x45aa57(0x1ea),a9_0x58b82a[a9_0x45aa57(0x245)]=0x7530,AfterAll(a9_0x58b82a,async function(_0x2c075d,_0x51bd70){const _0x29c394=a9_0x45aa57,_0x2636fb={'DyfxO':function(_0x243acb){return _0x243acb();},'rTnNQ':_0x29c394(0x263)};logger[_0x29c394(0x1ed)](_0x2636fb[_0x29c394(0x22c)]),await new Promise(async _0x5e6e1d=>{const _0x53ef23=_0x29c394;await RequestQueueHandler[_0x53ef23(0x1fa)]()[_0x53ef23(0x22d)](),PerformanceTester[_0x53ef23(0x22f)](),await global[_0x53ef23(0x24a)](),_0x2636fb['DyfxO'](_0x5e6e1d);});});
|
|
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 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a10_0x50b813=a10_0x55c4;(function(_0x48bf39,_0xc30a68){const _0x28cc5f=a10_0x55c4,_0x16022f=_0x48bf39();while(!![]){try{const _0x1f2633=parseInt(_0x28cc5f(0x8c))/0x1*(parseInt(_0x28cc5f(0xb1))/0x2)+parseInt(_0x28cc5f(0x91))/0x3*(parseInt(_0x28cc5f(0x8e))/0x4)+-parseInt(_0x28cc5f(0x90))/0x5+-parseInt(_0x28cc5f(0x82))/0x6+parseInt(_0x28cc5f(0x8a))/0x7+parseInt(_0x28cc5f(0x88))/0x8+-parseInt(_0x28cc5f(0xa6))/0x9*(parseInt(_0x28cc5f(0xaf))/0xa);if(_0x1f2633===_0xc30a68)break;else _0x16022f['push'](_0x16022f['shift']());}catch(_0x4ffe0b){_0x16022f['push'](_0x16022f['shift']());}}}(a10_0x3468,0x3a708));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a10_0x50b813(0x8d)),setKeepAlive=require(a10_0x50b813(0xae)),cucumberModule=requireModule(a10_0x50b813(0x86)),logger=require(a10_0x50b813(0x85))['winstonLogger'];modifyCommand(),setKeepAlive();const Before=cucumberModule['Before'],After=cucumberModule[a10_0x50b813(0x98)],configuration=process[a10_0x50b813(0x96)][a10_0x50b813(0x81)];if(configuration!==undefined){const config=JSON[a10_0x50b813(0x9e)](configuration);isTrue(config[a10_0x50b813(0x7f)])&&(global[a10_0x50b813(0xa7)]=!![]),global[a10_0x50b813(0x89)]=isTrue(config['skipSessionStatus']),require('../../index')[a10_0x50b813(0x8b)](config),global[a10_0x50b813(0xa8)]=config['platformCaps']||{};}global['__timeout']=0x0;const __setDefaultTimeout=cucumberModule[a10_0x50b813(0x97)];cucumberModule[a10_0x50b813(0x97)]=_0xf47fee=>{const _0x5f44b3=a10_0x50b813,_0x58bcbf={'cdaFm':function(_0x3d7051,_0x16f274){return _0x3d7051(_0x16f274);}};global['__timeout']=_0xf47fee,_0x58bcbf[_0x5f44b3(0x9a)](__setDefaultTimeout,_0xf47fee);};const a10_0x233e93={};function a10_0x55c4(_0x1995dd,_0x473114){const _0x3468da=a10_0x3468();return a10_0x55c4=function(_0x55c4fc,_0x109c06){_0x55c4fc=_0x55c4fc-0x7c;let _0x4feb08=_0x3468da[_0x55c4fc];return _0x4feb08;},a10_0x55c4(_0x1995dd,_0x473114);}a10_0x233e93['name']=a10_0x50b813(0x94),Before(a10_0x233e93,function(){const _0x352053=a10_0x50b813,_0x5d053a={};_0x5d053a[_0x352053(0x99)]=_0x352053(0xab);const _0x3f5881=_0x5d053a;logger[_0x352053(0x9f)](_0x3f5881[_0x352053(0x99)]),global[_0x352053(0xad)]=[];});const a10_0x2dec58={};function a10_0x3468(){const _0x5904c7=['cdaFm','failed','executeScript','session_','parse','debug','RnWaJ','oqjfU','Inside\x20browserstack\x20After','__driver','result','\x20|\x20','9PVpXRH','__skipSessionName','__platformCaps','Error:\x20setting\x20status\x20at\x20After:\x20','passed','Inside\x20browserstack\x20Before','ioRDa','__error_messages__','../../helpers/setKeepAlive','3252980llJgkN','\x22}}','10bwbzoC','cMvpi','status','LUHzT','join','skipSessionName','lpUlW','CONFIG','143430zEYdyi','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','initQuit','../../helpers/logger','cucumber/lib/index.js','toLowerCase','519112HhtEIX','__skipSessionStatus','952371obXPki','browserstackAgentV2','42026cGkNdy','../../helpers/helper','964siVtys','VSRlh','806735zuIDls','4218MlPznx','timeout','then','bstack','name','env','setDefaultTimeout','After','unUjw'];a10_0x3468=function(){return _0x5904c7;};return a10_0x3468();}a10_0x2dec58[a10_0x50b813(0x95)]=a10_0x50b813(0x94),a10_0x2dec58[a10_0x50b813(0x92)]=0x2710,After(a10_0x2dec58,function(_0x2cd332,_0x3bd4b1){const _0xa9c65c=a10_0x50b813,_0x4163d0={'NNtui':function(_0x5e994b,_0x26b692){return _0x5e994b===_0x26b692;},'oqjfU':_0xa9c65c(0x9b),'lpUlW':function(_0x33c4fa,_0x7357fa,_0x22e1ce,_0x681858){return _0x33c4fa(_0x7357fa,_0x22e1ce,_0x681858);},'RnWaJ':_0xa9c65c(0xa5),'LUHzT':function(_0x55beb9,_0x2da694,_0x26954d){return _0x55beb9(_0x2da694,_0x26954d);},'WEPoz':_0xa9c65c(0xaa),'ioRDa':function(_0x52f915){return _0x52f915();},'hMiqb':function(_0x265e5e,_0xaac675){return _0x265e5e(_0xaac675);},'cMvpi':function(_0x1752d2){return _0x1752d2();},'VSRlh':_0xa9c65c(0xa2)};logger[_0xa9c65c(0x9f)](_0x4163d0[_0xa9c65c(0x8f)]),new Promise(async(_0x3995da,_0xec4f4a)=>{const _0x30ac7b=_0xa9c65c;let _0x5ca95e=![];try{await global[_0x30ac7b(0xa3)][_0x30ac7b(0x9d)],_0x5ca95e=!![],!global[_0x30ac7b(0xa7)]&&await global['__driver'][_0x30ac7b(0x9c)](_0x30ac7b(0x83)+_0x2cd332['pickle'][_0x30ac7b(0x95)]+_0x30ac7b(0xb0)),_0x4163d0['NNtui'](_0x2cd332[_0x30ac7b(0xa4)][_0x30ac7b(0x7c)][_0x30ac7b(0x87)](),_0x4163d0['oqjfU'])?await _0x4163d0[_0x30ac7b(0x80)](markSessionStatus,global[_0x30ac7b(0xa3)],_0x4163d0[_0x30ac7b(0xa1)],global['__error_messages__'][_0x30ac7b(0x7e)](_0x4163d0[_0x30ac7b(0xa0)])):await _0x4163d0[_0x30ac7b(0x7d)](markSessionStatus,global[_0x30ac7b(0xa3)],_0x4163d0['WEPoz']);}catch(_0xfcb057){logger['debug'](_0x30ac7b(0xa9)+_0xfcb057);}if(_0x5ca95e)try{await global[_0x30ac7b(0xa3)][_0x30ac7b(0x84)](),_0x4163d0[_0x30ac7b(0xac)](_0x3995da);}catch(_0x5b27f8){logger['debug']('Error:\x20quiting\x20at\x20After:\x20'+_0x5b27f8),_0x4163d0['hMiqb'](_0xec4f4a,_0x5b27f8);}else _0x4163d0[_0x30ac7b(0xb2)](_0xec4f4a);})[_0xa9c65c(0x93)](()=>_0x3bd4b1());});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a11_0x5cbb(_0x198f95,_0x21126e){const _0x3848be=a11_0x3848();return a11_0x5cbb=function(_0x5cbbbf,_0x4085b9){_0x5cbbbf=_0x5cbbbf-0x18a;let _0x5a14bc=_0x3848be[_0x5cbbbf];return _0x5a14bc;},a11_0x5cbb(_0x198f95,_0x21126e);}const a11_0x1fc057=a11_0x5cbb;(function(_0x331ba5,_0x49966e){const _0x5a1c46=a11_0x5cbb,_0x15911f=_0x331ba5();while(!![]){try{const _0x1887c8=parseInt(_0x5a1c46(0x197))/0x1+parseInt(_0x5a1c46(0x18e))/0x2*(parseInt(_0x5a1c46(0x18b))/0x3)+parseInt(_0x5a1c46(0x18a))/0x4+parseInt(_0x5a1c46(0x18d))/0x5+parseInt(_0x5a1c46(0x198))/0x6*(-parseInt(_0x5a1c46(0x191))/0x7)+parseInt(_0x5a1c46(0x18c))/0x8*(-parseInt(_0x5a1c46(0x18f))/0x9)+-parseInt(_0x5a1c46(0x195))/0xa*(parseInt(_0x5a1c46(0x196))/0xb);if(_0x1887c8===_0x49966e)break;else _0x15911f['push'](_0x15911f['shift']());}catch(_0x1baf11){_0x15911f['push'](_0x15911f['shift']());}}}(a11_0x3848,0x46fce));const {requireModule}=require(a11_0x1fc057(0x193)),constants=require('../utils/constants');;function a11_0x3848(){const _0x3d82c8=['2784175BZfChg','1724meClDl','1807614CZcveO','cucumber/lib/index.js','7oURYWM','__timeout','../../helpers/helper','setDefaultTimeout','50720IszwZL','2167idjQBD','304553zNEiWt','876120ujcUqB','@cucumber/cucumber/lib/index.js','2325912bNbkuJ','1374dzOuED','16zHvIAr'];a11_0x3848=function(){return _0x3d82c8;};return a11_0x3848();}let cucumberModule=null;try{cucumberModule=requireModule(a11_0x1fc057(0x199));}catch(a11_0x5b109c){cucumberModule=requireModule(a11_0x1fc057(0x190));}cucumberModule[a11_0x1fc057(0x194)](constants['BSTACK_DELTA']+global[a11_0x1fc057(0x192)]*0x1);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a12_0x34bbd0=a12_0x222c;function a12_0x222c(_0x3031c8,_0x1e494b){const _0x405b3f=a12_0x405b();return a12_0x222c=function(_0x222c85,_0xa29d51){_0x222c85=_0x222c85-0x66;let _0x4c0c4e=_0x405b3f[_0x222c85];return _0x4c0c4e;},a12_0x222c(_0x3031c8,_0x1e494b);}(function(_0x43cdd7,_0x52725d){const _0x3ceddf=a12_0x222c,_0x1850cd=_0x43cdd7();while(!![]){try{const _0x490bbd=-parseInt(_0x3ceddf(0x74))/0x1*(parseInt(_0x3ceddf(0x9f))/0x2)+-parseInt(_0x3ceddf(0xa1))/0x3*(-parseInt(_0x3ceddf(0x6b))/0x4)+-parseInt(_0x3ceddf(0x66))/0x5+-parseInt(_0x3ceddf(0x7f))/0x6+parseInt(_0x3ceddf(0x7d))/0x7+-parseInt(_0x3ceddf(0x9d))/0x8+parseInt(_0x3ceddf(0x9c))/0x9*(parseInt(_0x3ceddf(0x75))/0xa);if(_0x490bbd===_0x52725d)break;else _0x1850cd['push'](_0x1850cd['shift']());}catch(_0x2a65a1){_0x1850cd['push'](_0x1850cd['shift']());}}}(a12_0x405b,0xdaefe));const {default:BrowserStackSetup}=require(a12_0x34bbd0(0x9a)),logger=require(a12_0x34bbd0(0xa6))[a12_0x34bbd0(0x6a)],{URL}=require(a12_0x34bbd0(0x6d)),helper=require(a12_0x34bbd0(0x81)),{HELP_MESSAGES,ERROR_MESSAGES}=require('./constants'),validHosts=function(_0x54a4a5){return _0x54a4a5['split'](',')['every'](_0x46a696=>{const _0x326f65=a12_0x222c;try{new URL(_0x46a696[_0x326f65(0xab)]());}catch(_0x25fca7){return![];}return!![];});},parseOnPremHosts=function(_0x4c2808){const _0x4c3657=a12_0x34bbd0,_0x1ca83f={};_0x1ca83f[_0x4c3657(0x8b)]=function(_0x5c587c,_0x2c52f0){return _0x5c587c===_0x2c52f0;},_0x1ca83f[_0x4c3657(0x80)]='https:',_0x1ca83f['KBmpc']=_0x4c3657(0x7c),_0x1ca83f[_0x4c3657(0x99)]=_0x4c3657(0xa4);const _0xbaabaa=_0x1ca83f;return _0x4c2808[_0x4c3657(0x73)](',')['map'](_0x42084e=>{const _0x133e10=_0x4c3657,_0x36c4aa=new URL(_0x42084e[_0x133e10(0xab)]()),_0x2e87ca=_0x36c4aa[_0x133e10(0x86)],_0x3ae9b7=_0x36c4aa[_0x133e10(0x69)]||(_0xbaabaa[_0x133e10(0x8b)](_0x36c4aa[_0x133e10(0x76)],_0xbaabaa['Zwkyv'])?_0xbaabaa[_0x133e10(0x6c)]:'80'),_0x397322=_0x36c4aa[_0x133e10(0x76)]['replace'](':',''),_0x355c74=_0xbaabaa[_0x133e10(0x8b)](_0x397322,_0xbaabaa[_0x133e10(0x99)])?0x1:0x0;return _0x2e87ca+','+_0x3ae9b7+','+_0x355c74;});},connectCommandBuilder=function(_0x67aa3a){const _0x594e0c=a12_0x34bbd0,_0x396a73={};_0x396a73[_0x594e0c(0x94)]=_0x594e0c(0x8a);const _0x26104c=_0x396a73,_0x5c6607={};_0x5c6607['describe']=HELP_MESSAGES[_0x594e0c(0xae)][_0x594e0c(0x96)],_0x5c6607[_0x594e0c(0x7e)]=_0x26104c[_0x594e0c(0x94)];const _0x261b08={};_0x261b08[_0x594e0c(0x8c)]=HELP_MESSAGES[_0x594e0c(0xae)]['hosts'],_0x261b08[_0x594e0c(0x7e)]=_0x26104c['gTMZi'],_0x261b08[_0x594e0c(0x98)]=!![];const _0x38cfc9={};return _0x38cfc9[_0x594e0c(0x90)]=_0x5c6607,_0x38cfc9['hosts']=_0x261b08,_0x67aa3a[_0x594e0c(0xae)](_0x38cfc9);},connectCommandHandler=async function(_0x3aa8af){const _0x262f58=a12_0x34bbd0,_0x4eb42a={'hLXFP':_0x262f58(0x95),'MsxUo':function(_0x1e97fc,_0x14d9c5){return _0x1e97fc===_0x14d9c5;},'rEMzw':_0x262f58(0x91),'wGlQZ':_0x262f58(0x85),'AtduV':function(_0x46f97f,_0x814450){return _0x46f97f===_0x814450;},'VESNj':_0x262f58(0x83),'YjWeD':function(_0x387714,_0x359528){return _0x387714(_0x359528);},'TpeRM':_0x262f58(0xb0),'FbRhQ':function(_0x4e1dbc,_0x5185b2){return _0x4e1dbc(_0x5185b2);},'UDbse':_0x262f58(0xaa),'NrkxS':_0x262f58(0x70),'zbXrn':_0x262f58(0x71)};try{const _0x17473e=new BrowserStackSetup(_0x3aa8af,_0x4eb42a[_0x262f58(0x77)]);_0x3aa8af[_0x262f58(0x8e)]&&(_0x17473e[_0x262f58(0x67)][_0x262f58(0x79)]=_0x3aa8af['bstackAccesskey']);if(_0x4eb42a['MsxUo'](typeof _0x17473e[_0x262f58(0x67)][_0x262f58(0x79)],_0x4eb42a[_0x262f58(0x9e)])){logger['error'](_0x4eb42a[_0x262f58(0x8f)]);throw new Error(ERROR_MESSAGES[_0x262f58(0x96)][_0x262f58(0x97)]);}const _0x3c765a=_0x3aa8af[_0x262f58(0x88)];if(_0x4eb42a[_0x262f58(0x7a)](typeof _0x3c765a,_0x4eb42a['rEMzw'])){logger[_0x262f58(0x93)](_0x4eb42a[_0x262f58(0x84)]);throw new Error(ERROR_MESSAGES[_0x262f58(0x88)][_0x262f58(0x97)]);}if(!_0x4eb42a[_0x262f58(0x9b)](validHosts,_0x3c765a)){logger[_0x262f58(0x93)](_0x4eb42a[_0x262f58(0x72)]);throw new Error(ERROR_MESSAGES['hosts']['invalid']);}const _0xe607b2=_0x4eb42a[_0x262f58(0xa2)](parseOnPremHosts,_0x3c765a);_0x17473e[_0x262f58(0x67)]['browserstackLocal']=!![],_0x17473e[_0x262f58(0x67)][_0x262f58(0xad)][_0x262f58(0x89)]=_0x4eb42a[_0x262f58(0x78)],_0x17473e[_0x262f58(0x67)][_0x262f58(0xad)]['only']=_0xe607b2['join'](','),helper[_0x262f58(0x7b)](_0x17473e['config']),await _0x17473e[_0x262f58(0xa9)](),logger[_0x262f58(0x92)](_0x4eb42a[_0x262f58(0xac)]);}catch(_0x2829c5){logger[_0x262f58(0x93)](_0x4eb42a[_0x262f58(0xaf)]);throw new Error(_0x2829c5[_0x262f58(0xa0)]());}};function run(_0x44fb7e){const _0x454060=a12_0x34bbd0,_0x1f045c={};_0x1f045c[_0x454060(0x6e)]=_0x454060(0x82),_0x1f045c[_0x454060(0x68)]=_0x454060(0x6f);const _0x293c14=_0x1f045c;_0x44fb7e['usage'](HELP_MESSAGES[_0x454060(0x8d)][_0x454060(0xa8)])['command'](_0x293c14[_0x454060(0x6e)],HELP_MESSAGES[_0x454060(0x8d)][_0x454060(0x82)],connectCommandBuilder,connectCommandHandler)[_0x454060(0xa3)]()[_0x454060(0x6f)](_0x293c14[_0x454060(0x68)])[_0x454060(0x87)](HELP_MESSAGES[_0x454060(0x8d)][_0x454060(0xa5)]);}module[a12_0x34bbd0(0xa7)]=run;function a12_0x405b(){const _0x515ab9=['Hosts\x20not\x20valid','8286370AMMNFb','config','pmGbu','port','winstonLogger','20AiZgTl','KBmpc','url','LRIHQ','help','Connection\x20established\x20successfully.','Failed\x20to\x20establish\x20connection.','TpeRM','split','179wkipVb','6997690iyimXz','protocol','hLXFP','UDbse','accessKey','AtduV','setProxySettings','443','7533470LVRXdp','type','5756184oJEoTt','Zwkyv','../../helpers/helper','connect','Integration\x20hosts\x20missing.','VESNj','BrowserStack\x20access\x20key\x20missing.','hostname','epilogue','hosts','localIdentifier','string','aODSQ','describe','command','bstackAccesskey','wGlQZ','bstack-accesskey','undefined','info','error','gTMZi','integrations','bstackAccessKey','missing','demandOption','EQifh','../../helpers/BrowserStackSetup','YjWeD','36aMdVol','9946408ZdqVFr','rEMzw','178JEWvHs','toString','538410eItSYR','FbRhQ','demandCommand','https','footer','../../helpers/logger','exports','root','setupBrowserstackLocal','integrations-repeater','trim','NrkxS','browserStackLocalOptions','options','zbXrn'];a12_0x405b=function(){return _0x515ab9;};return a12_0x405b();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a13_0x35cb46=a13_0x196b;(function(_0x4d42fc,_0x24cbe9){var _0xb9e03d=a13_0x196b,_0x695e61=_0x4d42fc();while(!![]){try{var _0x4d7cee=parseInt(_0xb9e03d(0x193))/0x1+-parseInt(_0xb9e03d(0x1a3))/0x2+parseInt(_0xb9e03d(0x1a6))/0x3+parseInt(_0xb9e03d(0x1a4))/0x4+parseInt(_0xb9e03d(0x19d))/0x5*(parseInt(_0xb9e03d(0x18f))/0x6)+parseInt(_0xb9e03d(0x197))/0x7+parseInt(_0xb9e03d(0x19c))/0x8*(-parseInt(_0xb9e03d(0x196))/0x9);if(_0x4d7cee===_0x24cbe9)break;else _0x695e61['push'](_0x695e61['shift']());}catch(_0x31e8d1){_0x695e61['push'](_0x695e61['shift']());}}}(a13_0x5951,0x77464));var a13_0x52c517={};a13_0x52c517[a13_0x35cb46(0x191)]=a13_0x35cb46(0x1a5),a13_0x52c517[a13_0x35cb46(0x19b)]='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.';var a13_0x521ca2={};a13_0x521ca2[a13_0x35cb46(0x19f)]=a13_0x35cb46(0x1a2),a13_0x521ca2[a13_0x35cb46(0x195)]=a13_0x35cb46(0x1a1),a13_0x521ca2[a13_0x35cb46(0x18e)]='Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.';var a13_0x56bcd7={};a13_0x56bcd7[a13_0x35cb46(0x1a0)]=a13_0x52c517,a13_0x56bcd7[a13_0x35cb46(0x192)]=a13_0x521ca2,exports[a13_0x35cb46(0x190)]=a13_0x56bcd7;function a13_0x196b(_0x295f41,_0x2071ce){var _0x5951c8=a13_0x5951();return a13_0x196b=function(_0x196b84,_0x324af0){_0x196b84=_0x196b84-0x18e;var _0x551ca1=_0x5951c8[_0x196b84];return _0x551ca1;},a13_0x196b(_0x295f41,_0x2071ce);}var a13_0x3556ff={};a13_0x3556ff[a13_0x35cb46(0x19e)]=a13_0x35cb46(0x198);function a13_0x5951(){var _0x524278=['12455304pNGdFF','30DjjYhw','missing','root','options','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','1224762imTcOs','1674256EadsdQ','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','1659777pQMJYG','footer','506922YgJJiL','HELP_MESSAGES','bstackAccessKey','command','608480fggrWj','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','connect','9yBCEyN','3994319gUXydd','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','ERROR_MESSAGES','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.','hosts'];a13_0x5951=function(){return _0x524278;};return a13_0x5951();}var a13_0x565c10={};a13_0x565c10[a13_0x35cb46(0x19e)]=a13_0x35cb46(0x194),a13_0x565c10['invalid']=a13_0x35cb46(0x19a);var a13_0x5acf63={};a13_0x5acf63[a13_0x35cb46(0x191)]=a13_0x3556ff,a13_0x5acf63[a13_0x35cb46(0x19b)]=a13_0x565c10,exports[a13_0x35cb46(0x199)]=a13_0x5acf63;
|