browserstack-node-sdk 1.34.6 → 1.34.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance-tester.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a6_0x3725be=a6_0xf7a7;(function(_0x33b3d7,_0x2f4ab8){const _0x569e50=a6_0xf7a7,_0x232b4f=_0x33b3d7();while(!![]){try{const _0x74b920=parseInt(_0x569e50(0x213))/0x1*(parseInt(_0x569e50(0x24a))/0x2)+parseInt(_0x569e50(0x1f7))/0x3*(parseInt(_0x569e50(0x25e))/0x4)+-parseInt(_0x569e50(0x1e9))/0x5*(parseInt(_0x569e50(0x266))/0x6)+-parseInt(_0x569e50(0x1f0))/0x7+-parseInt(_0x569e50(0x240))/0x8+-parseInt(_0x569e50(0x201))/0x9+parseInt(_0x569e50(0x273))/0xa;if(_0x74b920===_0x2f4ab8)break;else _0x232b4f['push'](_0x232b4f['shift']());}catch(_0x440760){_0x232b4f['push'](_0x232b4f['shift']());}}}(a6_0x526e,0xdcc28));function a6_0xf7a7(_0x259530,_0x3d673c){const _0x526eea=a6_0x526e();return a6_0xf7a7=function(_0xf7a7df,_0x3a85ed){_0xf7a7df=_0xf7a7df-0x1e1;let _0x3164c3=_0x526eea[_0xf7a7df];return _0x3164c3;},a6_0xf7a7(_0x259530,_0x3d673c);}const {requireModule,getPlatformName,nestedKeyValue,isUndefined}=require(a6_0x3725be(0x232)),util=require(a6_0x3725be(0x23f)),{Formatter,formatterHelpers,Status}=requireModule(a6_0x3725be(0x245)),TestDetails=require('../../playwright/reporter/test-details.js'),TestObservabilityReporter=require('../test-observability.js'),{o11yClassErrorHandler}=require(a6_0x3725be(0x237)),{shouldProcessEventForTesthub}=require(a6_0x3725be(0x21b)),testObservabilityReporter=new TestObservabilityReporter(),logger=require(a6_0x3725be(0x209))['winstonLogger'],_tests={},_testCasesData={};function a6_0x526e(){const _0x21da54=['gherkinDocument','debug','../../../helpers/testhub/utils.js','includes','background','HookRunStarted','forEach','name','eventDataCollector','cwd','sQFtm','UhYMF','sendHook','failed','onTestRunFinished','wecqy','CFJxD','duration','supportCodeLibrary','map','snJXR','FAILED','__platform','pickleStepId','afterTestCaseHookDefinitions','../../../helpers/helper','line','gherkinDocumentMap','maJnI','nPNKE','../../../helpers/test-observability/error-handler','TestRunFinished','wDCav','testSteps','zMPlz','checkHookURI','getTestUUID','getTestCaseAttempt','util','12716200fSlXGT','result','extractStepContainers','yHlLr','length','@cucumber/cucumber','parseTestCaseAttempt','logTestRunFinished','PENDING','exception','2SZJBvl','scenario','IrpjG','onTestStepFinished','cuGFr','PASSED','oOlCq','testStepStarted','cucumber-js/test.setup.js','UNDEFINED','xsEcr','GMkDv','failureType','onTestCaseStarted','HookRunFinished','qnGBH','rGGtA','stepDefinitionIds','status','children','8SEtHJf','LBszP','actionLocation','sendTestRunEventForCucumber','sourceLocation','kgwHB','toString','keyword','6XFAXNJ','TFpWO','snippetBuilder','testRunStarted','NUEes','envelope','kUdob','pickleId','onTestStepStarted','hMcVX','pickleMap','testCaseFinished','values','53272850TvaXoX','finishedAt','testStepId','BslHg','WtBOK','toISOString','UnhandledError','WrKig','TWlsn','Exception\x20in\x20sending\x20onTestCaseFinished\x20event:\x20\x20','rule','TpiDi','UNKNOWN','toLowerCase','CwIPM','hookId','testRunFinished','push','Exception\x20in\x20onTestStepStarted\x20event:\x20','xmmoh','onTestCaseFinished','testCaseAttempt','xTRso','XMNJM','xxRXU','onTestRunStarted','HvUAr','iJiqT','stepDefinitions','4604995HGETYw','pickle','LxKKW','steps','testCaseStarted','yTTvY','parse','10575166MCBHcs','TestRunStarted','getGherkinStepMap','incrementCounter','testCaseMap','FqETE','yHbUS','668406MqrGsN','Exception\x20in\x20sending\x20onTestCaseStarted:\x20','qVjPK','Exception\x20in\x20onTestStepFinished\x20event:\x20','\x20\x20\x20\x20','testStepResult','testStepFinished','getGherkinDocument','feature','IwWiX','14193477yjfOnF','format','find','text','CONFIG','aUTZa','env','SKIPPED','../../../helpers/logger','testCaseAttemptDataMap','setup','ubtlQ','uri','log','3|4|0|1|2','seconds','XprLU','Kgdtd','729658TOLboB','testCaseId','\x20-\x20','testCaseStartedId','yPvgH','beforeTestCaseHookDefinitions'];a6_0x526e=function(){return _0x21da54;};return a6_0x526e();}class BrowserstackFormatter extends Formatter{constructor(_0x2f0b46){const _0x5030f5=a6_0x3725be,_0xac7222={};_0xac7222[_0x5030f5(0x24e)]=_0x5030f5(0x26b);const _0x454e06=_0xac7222;super(_0x2f0b46),_0x2f0b46['eventBroadcaster']['on'](_0x454e06[_0x5030f5(0x24e)],async _0x54fb6e=>{const _0x200a2d=_0x5030f5;switch(!![]){case!!_0x54fb6e[_0x200a2d(0x269)]:this['onTestRunStarted']();break;case!!_0x54fb6e['testRunFinished']:this[_0x200a2d(0x227)](_0x54fb6e[_0x200a2d(0x283)]);break;case!!_0x54fb6e[_0x200a2d(0x1ed)]:this[_0x200a2d(0x257)](_0x54fb6e['testCaseStarted'],_0x2f0b46,_0x54fb6e);break;case!!_0x54fb6e['testCaseFinished']:this[_0x200a2d(0x287)](_0x54fb6e[_0x200a2d(0x271)],_0x2f0b46,_0x54fb6e);break;case!!_0x54fb6e[_0x200a2d(0x251)]:this[_0x200a2d(0x26e)](_0x54fb6e['testStepStarted'],_0x2f0b46);break;case!!_0x54fb6e[_0x200a2d(0x1fd)]:this['onTestStepFinished'](_0x54fb6e['testStepFinished'],_0x2f0b46);break;}});}['logTestCaseFinished'](_0x1d99ee){const _0x375ff3=a6_0x3725be,_0xc28bb8={'NUEes':function(_0x4af45f,_0x2201b4){return _0x4af45f!==_0x2201b4;},'yPvgH':'bstack','wecqy':function(_0xd4f7f0,_0x2fabf8){return _0xd4f7f0+_0x2fabf8;},'maJnI':function(_0x55417f,_0x5b7ac1){return _0x55417f+_0x5b7ac1;},'CwIPM':function(_0x3261f9,_0x100f1a){return _0x3261f9+_0x100f1a;},'yHlLr':_0x375ff3(0x1fb),'LxKKW':_0x375ff3(0x215),'snJXR':function(_0x327eaf,_0x552399){return _0x327eaf===_0x552399;},'UhYMF':_0x375ff3(0x22e),'FqETE':function(_0x301a52,_0x3b9405,_0x783d80){return _0x301a52(_0x3b9405,_0x783d80);},'ubtlQ':_0x375ff3(0x241),'IwWiX':'message','xTRso':function(_0x57903c,_0x21a8f9){return _0x57903c+_0x21a8f9;},'HvUAr':function(_0x485326,_0x2f66ad){return _0x485326!==_0x2f66ad;},'sQFtm':function(_0x1e17ed,_0x3f9ac3){return _0x1e17ed+_0x3f9ac3;},'zHsPG':function(_0x31eb98,_0x51279c){return _0x31eb98+_0x51279c;},'XprLU':function(_0x370b7e,_0x45f973){return _0x370b7e+_0x45f973;}};_0xc28bb8[_0x375ff3(0x1e6)](global[_0x375ff3(0x22f)],undefined)&&this[_0x375ff3(0x20e)](_0xc28bb8[_0x375ff3(0x223)](_0xc28bb8['zHsPG']('\x0a',global[_0x375ff3(0x22f)]),'\x0a'));const _0x92af8d=this[_0x375ff3(0x221)][_0x375ff3(0x23e)](_0x1d99ee[_0x375ff3(0x216)]);this[_0x375ff3(0x20e)](_0xc28bb8[_0x375ff3(0x211)](_0xc28bb8[_0x375ff3(0x235)](_0xc28bb8[_0x375ff3(0x228)](_0xc28bb8[_0x375ff3(0x281)]('\x20\x20',_0x92af8d[_0x375ff3(0x219)][_0x375ff3(0x1ff)][_0x375ff3(0x220)]),_0xc28bb8[_0x375ff3(0x1eb)]),_0x92af8d[_0x375ff3(0x1ea)]['name']),'\x0a'));const _0x45213b={};_0x45213b[_0x375ff3(0x222)]=this[_0x375ff3(0x222)],_0x45213b[_0x375ff3(0x268)]=this[_0x375ff3(0x268)],_0x45213b[_0x375ff3(0x22b)]=this[_0x375ff3(0x22b)],_0x45213b[_0x375ff3(0x1e1)]=_0x92af8d;const _0x4bc74a=formatterHelpers[_0x375ff3(0x246)](_0x45213b);let _0x59f621=![];_0x4bc74a[_0x375ff3(0x23a)][_0x375ff3(0x21f)](_0x38d8fc=>{const _0x728f6a=_0x375ff3;if(_0xc28bb8[_0x728f6a(0x26a)](_0x38d8fc[_0x728f6a(0x220)],_0xc28bb8[_0x728f6a(0x217)])&&!this['isBstackHook'](_0x38d8fc)){totalTests+=0x1,this[_0x728f6a(0x20e)](_0xc28bb8['wecqy'](_0xc28bb8[_0x728f6a(0x235)](_0xc28bb8[_0x728f6a(0x228)](_0xc28bb8[_0x728f6a(0x281)](_0xc28bb8[_0x728f6a(0x235)](_0xc28bb8[_0x728f6a(0x243)],_0x38d8fc[_0x728f6a(0x265)]),_0x38d8fc[_0x728f6a(0x204)]||''),_0xc28bb8[_0x728f6a(0x1eb)]),Status[_0x38d8fc[_0x728f6a(0x241)][_0x728f6a(0x25c)]]),'\x0a')),this[_0x728f6a(0x1f3)](Status[_0x38d8fc[_0x728f6a(0x241)][_0x728f6a(0x25c)]]);if(_0xc28bb8[_0x728f6a(0x22d)](Status[_0x38d8fc[_0x728f6a(0x241)][_0x728f6a(0x25c)]],_0xc28bb8[_0x728f6a(0x224)])){_0x59f621=!![];const _0x2024ee=_0xc28bb8[_0x728f6a(0x1f5)](nestedKeyValue,_0x38d8fc,[_0xc28bb8[_0x728f6a(0x20c)],_0xc28bb8[_0x728f6a(0x200)]]);_0x2024ee&&(testsErrorMessage[_0xc28bb8[_0x728f6a(0x1e2)](_0xc28bb8['maJnI'](_0x92af8d['gherkinDocument'][_0x728f6a(0x1ff)]['name'],_0xc28bb8['LxKKW']),_0x92af8d[_0x728f6a(0x1ea)][_0x728f6a(0x220)])]=_0x2024ee,this[_0x728f6a(0x20e)](_0xc28bb8[_0x728f6a(0x281)](_0x2024ee,'\x0a')));}}}),_0x59f621&&(testSuitesFailed+=0x1),this[_0x375ff3(0x20e)]('\x0a');}[a6_0x3725be(0x247)](_0x246f77){}['isBstackHook'](_0x1ca6ac){const _0x9c0bfe=a6_0x3725be,_0x4455b9={};_0x4455b9[_0x9c0bfe(0x27a)]=function(_0x1eaee4,_0x449139){return _0x1eaee4!==_0x449139;},_0x4455b9['bSHyK']=_0x9c0bfe(0x252);const _0x2164c8=_0x4455b9;if(_0x2164c8[_0x9c0bfe(0x27a)](_0x1ca6ac[_0x9c0bfe(0x262)],undefined))return![];if(_0x1ca6ac[_0x9c0bfe(0x260)]&&_0x1ca6ac['actionLocation']['uri']['includes'](_0x2164c8['bSHyK']))return!![];return![];}[a6_0x3725be(0x1f3)](_0xfa00c9){const _0x36ab6a=a6_0x3725be,_0x5eafb4={};_0x5eafb4[_0x36ab6a(0x1ee)]=_0x36ab6a(0x22e),_0x5eafb4[_0x36ab6a(0x1f9)]=_0x36ab6a(0x24f),_0x5eafb4[_0x36ab6a(0x27e)]=_0x36ab6a(0x208),_0x5eafb4['GMkDv']=_0x36ab6a(0x248),_0x5eafb4['XqAhm']=_0x36ab6a(0x253),_0x5eafb4[_0x36ab6a(0x27b)]=_0x36ab6a(0x27f),_0x5eafb4['BslHg']='AMBIGUOUS';const _0x1a2e04=_0x5eafb4;switch(_0xfa00c9){case _0x1a2e04[_0x36ab6a(0x1ee)]:testsFailed+=0x1;break;case _0x1a2e04[_0x36ab6a(0x1f9)]:testsPassed+=0x1;break;case _0x1a2e04[_0x36ab6a(0x27e)]:testsSkipped+=0x1;break;case _0x1a2e04[_0x36ab6a(0x255)]:testsPending+=0x1;break;case _0x1a2e04['XqAhm']:testsUndefined+=0x1;break;case _0x1a2e04[_0x36ab6a(0x27b)]:testsUnknown+=0x1;break;case _0x1a2e04[_0x36ab6a(0x276)]:testsAmbiguous+=0x1;break;default:break;}}['onTestRunStarted'](){const _0x53e5e0=a6_0x3725be,_0x1a8525={'nPNKE':function(_0x18ee56,_0x5db24a){return _0x18ee56!==_0x5db24a;},'dZQwT':function(_0x45e079,_0x4ad122){return _0x45e079(_0x4ad122);},'TFpWO':function(_0x209b88,_0x152bc2){return _0x209b88+_0x152bc2;},'qnGBH':function(_0x1fd0d8){return _0x1fd0d8();}};let _0x376499;if(_0x1a8525[_0x53e5e0(0x236)](process[_0x53e5e0(0x207)][_0x53e5e0(0x205)],undefined)){const _0x42b68a=JSON[_0x53e5e0(0x1ef)](process[_0x53e5e0(0x207)][_0x53e5e0(0x205)]);_0x376499=_0x42b68a['capability'];}_0x1a8525[_0x53e5e0(0x236)](_0x376499,undefined)&&(global[_0x53e5e0(0x22f)]=_0x1a8525['dZQwT'](getPlatformName,_0x376499),this[_0x53e5e0(0x20e)](_0x1a8525[_0x53e5e0(0x267)]('Executing\x20tests\x20for\x20'+global[_0x53e5e0(0x22f)],'\x0a'))),_0x1a8525[_0x53e5e0(0x259)](shouldProcessEventForTesthub)&&TestDetails[_0x53e5e0(0x20b)]();}['onTestRunFinished'](_0x1e31b5){this['logTestRunFinished'](_0x1e31b5);}async[a6_0x3725be(0x257)](_0x5ec764,_0x326f17,_0x59fa3c){const _0x907925=a6_0x3725be,_0x206453={'CFJxD':function(_0x577d6d,_0x2f54f2){return _0x577d6d(_0x2f54f2);},'LBszP':_0x907925(0x1f1)};testSuites+=0x1;if(_0x206453[_0x907925(0x229)](shouldProcessEventForTesthub,_0x206453[_0x907925(0x25f)]))try{const _0x573ab8=TestDetails[_0x907925(0x23d)](_0x5ec764['id']),_0x2d381e=_0x5ec764['testCaseId'],_0x30495d=_0x326f17['eventDataCollector']['testCaseMap'][_0x2d381e],_0x25dfe4=_0x30495d[_0x907925(0x26d)],_0x3c556a=_0x326f17[_0x907925(0x221)][_0x907925(0x270)][_0x25dfe4],_0x1fd93c=this[_0x907925(0x1fe)](_0x326f17,_0x3c556a),_0x4ae790={'uuid':_0x573ab8,'startedAt':new Date()[_0x907925(0x278)]()};if(_0x3c556a){const _0x3b1cab={};_0x3b1cab[_0x907925(0x220)]=_0x3c556a['name'],_0x4ae790[_0x907925(0x24b)]=_0x3b1cab;}_tests[_0x2d381e]=_0x4ae790,await testObservabilityReporter['sendTestRunEventForCucumber'](_0x59fa3c,_0x1fd93c,_0x3c556a,_0x206453[_0x907925(0x25f)],_0x4ae790,_0x59fa3c);}catch(_0x80da98){logger[_0x907925(0x21a)](_0x907925(0x1f8)+util[_0x907925(0x202)](_0x80da98)+'\x20');}}async[a6_0x3725be(0x287)](_0x16b638,_0x31fdfd,_0x4185a5){const _0x198571=a6_0x3725be,_0x29ff7e={'xsEcr':function(_0x384fe0,_0x35a3d8){return _0x384fe0(_0x35a3d8);},'iJiqT':_0x198571(0x238)};this['logTestCaseFinished'](_0x16b638);if(_0x29ff7e[_0x198571(0x254)](shouldProcessEventForTesthub,_0x29ff7e[_0x198571(0x1e7)]))try{_testCasesData[_0x4185a5['id']]={..._0x4185a5};const _0x10e3c9=_0x16b638[_0x198571(0x216)],_0x37ac8c=_0x31fdfd[_0x198571(0x221)][_0x198571(0x20a)][_0x10e3c9]['testCaseId'],_0x4528ec=_0x31fdfd['eventDataCollector'][_0x198571(0x1f4)][_0x37ac8c],_0x40343f=_0x4528ec[_0x198571(0x26d)],_0x395c07=_0x31fdfd[_0x198571(0x221)][_0x198571(0x270)][_0x40343f],_0x3c56eb=this[_0x198571(0x1fe)](_0x31fdfd,_0x395c07),_0x36b211=_tests[_0x37ac8c];_0x36b211&&(delete _tests[_0x37ac8c],_0x36b211[_0x198571(0x274)]=new Date()['toISOString']()),await testObservabilityReporter[_0x198571(0x261)](_0x4185a5,_0x3c56eb,_0x395c07,_0x29ff7e[_0x198571(0x1e7)],_0x36b211,_0x4185a5);}catch(_0x554d4f){logger[_0x198571(0x21a)](_0x198571(0x27c)+util[_0x198571(0x202)](_0x554d4f));}}async[a6_0x3725be(0x26e)](_0x18fcf9,_0x3dca3e){const _0x28d216=a6_0x3725be,_0x403170={'HNhXT':function(_0x52e5d3,_0xe96784){return _0x52e5d3(_0xe96784);},'wDCav':_0x28d216(0x21e),'aUTZa':function(_0x5829e3,_0x54e941){return _0x5829e3!==_0x54e941;},'rGGtA':_0x28d216(0x275)};if(_0x403170['HNhXT'](shouldProcessEventForTesthub,_0x403170[_0x28d216(0x239)]))try{const _0x4b4227=_0x18fcf9[_0x28d216(0x216)],_0x5dedec=_0x3dca3e['eventDataCollector'][_0x28d216(0x20a)][_0x4b4227][_0x28d216(0x214)],_0x4a80bd=_0x3dca3e[_0x28d216(0x221)][_0x28d216(0x1f4)]?.[_0x5dedec],_0x1adda8=_0x4a80bd?.[_0x28d216(0x26d)],_0x5b80f9=_0x3dca3e[_0x28d216(0x221)][_0x28d216(0x270)]?.[_0x1adda8],_0x108102=_0x18fcf9?.[_0x28d216(0x275)],_0x468335=_0x4a80bd?.['testSteps'],_0x3d0862=this[_0x28d216(0x221)][_0x28d216(0x23e)](_0x4b4227),_0x425c14=_0x468335[_0x28d216(0x203)](_0x2c0568=>_0x2c0568['id']===_0x108102)[_0x28d216(0x230)],_0x1d155c=_0x5b80f9['steps'][_0x28d216(0x203)](_0x2d1e33=>_0x2d1e33['id']===_0x425c14);if(_0x425c14&&_0x403170[_0x28d216(0x206)](_tests[_0x5dedec]?.[_0x403170['rGGtA']],_0x108102)){_tests[_0x5dedec][_0x403170[_0x28d216(0x25a)]]=_0x108102;const _0x4b9475={};_0x4b9475[_0x28d216(0x1ec)]=[];const _0x285481=_tests[_0x5dedec]||_0x4b9475;_0x285481&&!_0x285481[_0x28d216(0x1ec)]&&(_0x285481['steps']=[]),_0x285481[_0x28d216(0x1ec)]?.[_0x28d216(0x284)]({'id':_0x1d155c['id'],'text':_0x1d155c[_0x28d216(0x204)],'started_at':new Date()[_0x28d216(0x278)]()}),_tests[_0x5dedec]=_0x285481;}const _0x104954=this[_0x28d216(0x23c)](_0x468335[_0x28d216(0x203)](_0x356349=>_0x356349['id']===_0x108102),_0x3d0862[_0x28d216(0x1ea)][_0x28d216(0x20d)]);!_0x104954&&await testObservabilityReporter[_0x28d216(0x225)](_0x3d0862,_0x403170[_0x28d216(0x239)],_tests[_0x5dedec],_0x18fcf9);}catch(_0x16c73c){logger['debug'](_0x28d216(0x285)+util[_0x28d216(0x202)](_0x16c73c));}}async[a6_0x3725be(0x24d)](_0x51105f,_0x534c51){const _0x1648a3=a6_0x3725be,_0x47d1ef={'xmmoh':function(_0x370ecf,_0x11edc9){return _0x370ecf===_0x11edc9;},'kgwHB':_0x1648a3(0x20f),'hMcVX':function(_0xbce34b,_0x24fdcd){return _0xbce34b(_0x24fdcd);},'WtBOK':_0x1648a3(0x258),'Kgdtd':function(_0x4e6ab8,_0x6fd331){return _0x4e6ab8===_0x6fd331;},'xxRXU':_0x1648a3(0x226),'nnSyw':function(_0x1cdd09,_0x441278){return _0x1cdd09===_0x441278;},'FYolX':_0x1648a3(0x279),'kUdob':_0x1648a3(0x275)};if(_0x47d1ef[_0x1648a3(0x26f)](shouldProcessEventForTesthub,_0x47d1ef['WtBOK']))try{const _0x49b70a=_0x51105f[_0x1648a3(0x216)],_0x437120=_0x534c51[_0x1648a3(0x221)]['testCaseAttemptDataMap'][_0x49b70a][_0x1648a3(0x214)],_0x11c3fd=_0x534c51[_0x1648a3(0x221)]['testCaseMap'][_0x437120],_0x37e629=_0x11c3fd[_0x1648a3(0x26d)],_0x414889=_0x534c51[_0x1648a3(0x221)]['pickleMap'][_0x37e629],_0x5880cb=_0x51105f[_0x1648a3(0x275)],_0xdce69a=_0x11c3fd[_0x1648a3(0x23a)],_0x2e9d4a=this[_0x1648a3(0x221)][_0x1648a3(0x23e)](_0x49b70a),_0x1514dd=_0xdce69a[_0x1648a3(0x203)](_0x3f40ff=>_0x3f40ff['id']===_0x5880cb)[_0x1648a3(0x230)];let _0x1b8bb8,_0x4c4bf3;_0x47d1ef[_0x1648a3(0x212)](_0x51105f[_0x1648a3(0x1fc)]?.[_0x1648a3(0x25c)][_0x1648a3(0x264)]()[_0x1648a3(0x280)](),_0x47d1ef[_0x1648a3(0x1e4)])&&(_0x1b8bb8=_0x47d1ef['nnSyw'](_0x51105f[_0x1648a3(0x1fc)]?.[_0x1648a3(0x249)],undefined)?_0x51105f[_0x1648a3(0x1fc)]?.['message']:_0x51105f[_0x1648a3(0x1fc)]?.['exception']?.['message'],_0x4c4bf3=_0x47d1ef[_0x1648a3(0x212)](_0x51105f[_0x1648a3(0x1fc)]?.[_0x1648a3(0x249)],undefined)?_0x47d1ef['FYolX']:_0x51105f[_0x1648a3(0x1fc)]?.['message']);const _0x435f2f=this[_0x1648a3(0x23c)](_0xdce69a[_0x1648a3(0x203)](_0x383850=>_0x383850['id']===_0x5880cb),_0x2e9d4a[_0x1648a3(0x1ea)][_0x1648a3(0x20d)]);!_0x435f2f&&await testObservabilityReporter[_0x1648a3(0x225)](_0x2e9d4a,_0x47d1ef[_0x1648a3(0x277)],_tests[_0x437120],_0x51105f);if(_0x1514dd&&_tests[_0x437120][_0x47d1ef[_0x1648a3(0x26c)]]){const _0x5f3952=_0x414889[_0x1648a3(0x1ec)][_0x1648a3(0x203)](_0x8891cd=>_0x8891cd['id']===_0x1514dd),_0x1389e7={};_0x1389e7[_0x1648a3(0x1ec)]=[];const _0x583681=_tests[_0x437120]||_0x1389e7;!_0x583681[_0x1648a3(0x1ec)]?_0x583681[_0x1648a3(0x1ec)]=[{'id':_0x5f3952['id'],'text':_0x5f3952['text'],'finished_at':new Date()[_0x1648a3(0x278)](),'result':_0x51105f[_0x1648a3(0x1fc)]?.['status'],'duration':_0x51105f[_0x1648a3(0x1fc)]?.[_0x1648a3(0x22a)]?.[_0x1648a3(0x210)],'failure':_0x1b8bb8,'failureType':_0x4c4bf3}]:_0x583681['steps'][_0x1648a3(0x21f)](_0x1f254f=>{const _0x4a09a6=_0x1648a3;if(_0x47d1ef[_0x4a09a6(0x286)](_0x1f254f['id'],_0x5f3952['id'])){const _0x3c27ed=_0x47d1ef[_0x4a09a6(0x263)]['split']('|');let _0x498ece=0x0;while(!![]){switch(_0x3c27ed[_0x498ece++]){case'0':_0x1f254f[_0x4a09a6(0x22a)]=_0x51105f[_0x4a09a6(0x1fc)]?.['duration']?.[_0x4a09a6(0x210)];continue;case'1':_0x1f254f['failure']=_0x1b8bb8;continue;case'2':_0x1f254f[_0x4a09a6(0x256)]=_0x4c4bf3;continue;case'3':_0x1f254f['finished_at']=new Date()['toISOString']();continue;case'4':_0x1f254f[_0x4a09a6(0x241)]=_0x51105f[_0x4a09a6(0x1fc)]?.[_0x4a09a6(0x25c)];continue;}break;}}}),_tests[_0x437120]=_0x583681,delete _tests[_0x437120][_0x47d1ef['kUdob']];}}catch(_0x30b22a){logger[_0x1648a3(0x21a)](_0x1648a3(0x1fa)+util[_0x1648a3(0x202)](_0x30b22a));}}[a6_0x3725be(0x1f2)](_0x4c90e0){const _0x5a2d93=a6_0x3725be,_0x164872={};return _0x4c90e0[_0x5a2d93(0x1ff)][_0x5a2d93(0x25d)][_0x5a2d93(0x22c)](this[_0x5a2d93(0x242)])['flat']()[_0x5a2d93(0x21f)](_0x6068ef=>_0x6068ef[_0x5a2d93(0x1ec)][_0x5a2d93(0x21f)](_0xb1897c=>_0x164872[_0xb1897c['id']]=_0xb1897c)),_0x164872;}['checkHookURI'](_0x77d5ed,_0x537291){const _0x6239f=a6_0x3725be,_0x5118b2={'IrpjG':function(_0x463712,_0x560fda){return _0x463712(_0x560fda);},'zMPlz':function(_0x6603f1,_0x46b4dc){return _0x6603f1(_0x46b4dc);},'AWIfx':function(_0x35851d,_0x53c9e8){return _0x35851d(_0x53c9e8);},'XMNJM':function(_0x23e0f8,_0x2afc54){return _0x23e0f8===_0x2afc54;},'yHbUS':function(_0x1f345b,_0x4a6782){return _0x1f345b!==_0x4a6782;},'JTkZr':'cucumber-js/test.setup.js'};let _0x473248=!![];const _0x5d0f4d={};_0x473248=_0x473248&&!_0x5118b2[_0x6239f(0x24c)](isUndefined,_0x77d5ed[_0x6239f(0x282)]);if(!_0x5118b2[_0x6239f(0x23b)](isUndefined,_0x77d5ed['hookId'])){let _0x74c95;_0x473248?_0x74c95=this[_0x6239f(0x22b)][_0x6239f(0x218)]['find'](_0x5870d5=>_0x5870d5['id']===_0x77d5ed['hookId']):_0x74c95=this[_0x6239f(0x22b)][_0x6239f(0x231)][_0x6239f(0x203)](_0x39a750=>_0x39a750['id']===_0x77d5ed['hookId']);if(_0x74c95){const _0x213146={};_0x213146['uri']=_0x74c95[_0x6239f(0x20d)],_0x213146['line']=_0x74c95['line'],_0x5d0f4d[_0x6239f(0x260)]=_0x213146,_0x5d0f4d[_0x6239f(0x220)]=_0x74c95[_0x6239f(0x220)];}}if(!_0x5118b2['AWIfx'](isUndefined,_0x77d5ed[_0x6239f(0x25b)])&&_0x5118b2[_0x6239f(0x1e3)](_0x77d5ed[_0x6239f(0x25b)][_0x6239f(0x244)],0x1)){const _0x32b4f0=this[_0x6239f(0x22b)][_0x6239f(0x1e8)][_0x6239f(0x203)](_0x5f1413=>_0x5f1413['id']===_0x77d5ed[_0x6239f(0x25b)][0x0]),_0x27fa49={};_0x27fa49[_0x6239f(0x20d)]=_0x32b4f0[_0x6239f(0x20d)],_0x27fa49['line']=_0x32b4f0['line'],_0x5d0f4d[_0x6239f(0x260)]=_0x27fa49;}if(!_0x5118b2[_0x6239f(0x24c)](isUndefined,_0x77d5ed['pickleStepId'])){const _0x36d80f={};_0x36d80f[_0x6239f(0x20d)]=_0x537291,_0x36d80f[_0x6239f(0x233)]='',_0x5d0f4d[_0x6239f(0x262)]=_0x36d80f;}if(_0x5118b2[_0x6239f(0x1f6)](_0x5d0f4d[_0x6239f(0x262)],undefined))return![];if(_0x5d0f4d[_0x6239f(0x260)]&&_0x5d0f4d[_0x6239f(0x260)]['uri'][_0x6239f(0x21c)](_0x5118b2['JTkZr']))return!![];return![];}['extractStepContainers'](_0x416ed5){const _0x28be71=a6_0x3725be,_0x4c936d={'oOlCq':function(_0x409f2f,_0x3b009a){return _0x409f2f(_0x3b009a);}};if(!_0x4c936d[_0x28be71(0x250)](isUndefined,_0x416ed5['background']))return[_0x416ed5[_0x28be71(0x21d)]];else{if(!_0x4c936d[_0x28be71(0x250)](isUndefined,_0x416ed5[_0x28be71(0x27d)]))return _0x416ed5[_0x28be71(0x27d)]['children'][_0x28be71(0x22c)](_0x5f3929=>!isUndefined(_0x5f3929?.[_0x28be71(0x21d)])?_0x5f3929[_0x28be71(0x21d)]:_0x5f3929[_0x28be71(0x24b)]);};return[_0x416ed5[_0x28be71(0x24b)]];}[a6_0x3725be(0x1fe)](_0x201ad2,_0x356dea){const _0x13e376=a6_0x3725be;return Object[_0x13e376(0x272)](_0x201ad2[_0x13e376(0x221)][_0x13e376(0x234)])[_0x13e376(0x203)](_0x113017=>_0x113017[_0x13e376(0x20d)]===_0x356dea[_0x13e376(0x20d)]);}}module['exports']=o11yClassErrorHandler(BrowserstackFormatter,[a6_0x3725be(0x257),a6_0x3725be(0x287),'onTestStepStarted','onTestStepFinished',a6_0x3725be(0x1e5),'onTestRunFinished',a6_0x3725be(0x242),a6_0x3725be(0x1fe),'getGherkinStepMap','checkHookURI']);
|
|
1
|
+
const a6_0x18c6c0=a6_0x57b1;(function(_0x1859a2,_0x22c914){const _0x4422a6=a6_0x57b1,_0x4c1551=_0x1859a2();while(!![]){try{const _0x568ca7=-parseInt(_0x4422a6(0x1e6))/0x1*(parseInt(_0x4422a6(0x1c2))/0x2)+parseInt(_0x4422a6(0x1d0))/0x3*(parseInt(_0x4422a6(0x164))/0x4)+parseInt(_0x4422a6(0x1aa))/0x5+parseInt(_0x4422a6(0x1af))/0x6*(parseInt(_0x4422a6(0x1a2))/0x7)+parseInt(_0x4422a6(0x17b))/0x8*(-parseInt(_0x4422a6(0x1a1))/0x9)+parseInt(_0x4422a6(0x1c4))/0xa*(-parseInt(_0x4422a6(0x1ea))/0xb)+parseInt(_0x4422a6(0x196))/0xc;if(_0x568ca7===_0x22c914)break;else _0x4c1551['push'](_0x4c1551['shift']());}catch(_0x345634){_0x4c1551['push'](_0x4c1551['shift']());}}}(a6_0x5c20,0xc9ae9));const {requireModule,getPlatformName,nestedKeyValue,isUndefined}=require(a6_0x18c6c0(0x18c)),util=require('util'),{Formatter,formatterHelpers,Status}=requireModule(a6_0x18c6c0(0x174)),TestDetails=require('../../playwright/reporter/test-details.js'),TestObservabilityReporter=require('../test-observability.js'),{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler'),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils.js'),testObservabilityReporter=new TestObservabilityReporter(),logger=require(a6_0x18c6c0(0x19b))[a6_0x18c6c0(0x1d4)],_tests={},_testCasesData={};function a6_0x57b1(_0x308f9f,_0x7c2f38){const _0x5c2099=a6_0x5c20();return a6_0x57b1=function(_0x57b1a0,_0x533654){_0x57b1a0=_0x57b1a0-0x146;let _0x561911=_0x5c2099[_0x57b1a0];return _0x561911;},a6_0x57b1(_0x308f9f,_0x7c2f38);}class BrowserstackFormatter extends Formatter{constructor(_0x1ae622){const _0x583643=a6_0x18c6c0,_0x3a4208={};_0x3a4208[_0x583643(0x16a)]=_0x583643(0x1ad);const _0x334c62=_0x3a4208;super(_0x1ae622),_0x1ae622['eventBroadcaster']['on'](_0x334c62[_0x583643(0x16a)],async _0x2f35ec=>{const _0x29e3ec=_0x583643;switch(!![]){case!!_0x2f35ec[_0x29e3ec(0x18d)]:this[_0x29e3ec(0x1b6)]();break;case!!_0x2f35ec['testRunFinished']:this[_0x29e3ec(0x1a9)](_0x2f35ec[_0x29e3ec(0x1c9)]);break;case!!_0x2f35ec[_0x29e3ec(0x15f)]:this[_0x29e3ec(0x1a3)](_0x2f35ec[_0x29e3ec(0x15f)],_0x1ae622,_0x2f35ec);break;case!!_0x2f35ec[_0x29e3ec(0x154)]:this['onTestCaseFinished'](_0x2f35ec[_0x29e3ec(0x154)],_0x1ae622,_0x2f35ec);break;case!!_0x2f35ec[_0x29e3ec(0x1da)]:this[_0x29e3ec(0x1b3)](_0x2f35ec[_0x29e3ec(0x1da)],_0x1ae622);break;case!!_0x2f35ec[_0x29e3ec(0x1cb)]:this[_0x29e3ec(0x1e8)](_0x2f35ec[_0x29e3ec(0x1cb)],_0x1ae622);break;}});}[a6_0x18c6c0(0x17e)](_0x49d9ef){const _0x43e814=a6_0x18c6c0,_0x4b040a={'hOrST':function(_0x4551db,_0x1aa8cf){return _0x4551db!==_0x1aa8cf;},'BeDGe':_0x43e814(0x1d5),'OxkIi':function(_0x58318a,_0x3cdfb2){return _0x58318a+_0x3cdfb2;},'bZdii':function(_0x2b03f8,_0x5a0e8d){return _0x2b03f8+_0x5a0e8d;},'xbjZX':_0x43e814(0x14d),'mJyGO':_0x43e814(0x18a),'bKnOD':function(_0x518bc4,_0x59418d){return _0x518bc4===_0x59418d;},'sGwbA':_0x43e814(0x148),'IaqNM':function(_0x12cc31,_0x5d3fc1,_0x18c98f){return _0x12cc31(_0x5d3fc1,_0x18c98f);},'MHpnf':_0x43e814(0x1b9),'mqtgl':_0x43e814(0x1c5),'PEzDf':function(_0x2657a7,_0x84e492){return _0x2657a7+_0x84e492;},'NbiAb':function(_0x20bd29,_0x505afa){return _0x20bd29+_0x505afa;},'qOKPn':function(_0x1d19d8,_0x2d0106){return _0x1d19d8+_0x2d0106;},'ZJKaM':function(_0x6fde8a,_0x5b9966){return _0x6fde8a+_0x5b9966;}};_0x4b040a[_0x43e814(0x193)](global[_0x43e814(0x19d)],undefined)&&this[_0x43e814(0x17d)](_0x4b040a['NbiAb'](_0x4b040a[_0x43e814(0x181)]('\x0a',global[_0x43e814(0x19d)]),'\x0a'));const _0x288911=this[_0x43e814(0x162)][_0x43e814(0x1c8)](_0x49d9ef[_0x43e814(0x152)]);this[_0x43e814(0x17d)](_0x4b040a[_0x43e814(0x18e)](_0x4b040a[_0x43e814(0x1ba)](_0x4b040a[_0x43e814(0x15e)](_0x4b040a['NbiAb']('\x20\x20',_0x288911[_0x43e814(0x19e)][_0x43e814(0x151)][_0x43e814(0x1a4)]),_0x4b040a[_0x43e814(0x178)]),_0x288911[_0x43e814(0x1d1)][_0x43e814(0x1a4)]),'\x0a'));const _0x231fef={};_0x231fef['cwd']=this[_0x43e814(0x1b5)],_0x231fef[_0x43e814(0x166)]=this[_0x43e814(0x166)],_0x231fef[_0x43e814(0x1ec)]=this[_0x43e814(0x1ec)],_0x231fef[_0x43e814(0x1a7)]=_0x288911;const _0x4dc9af=formatterHelpers[_0x43e814(0x1ac)](_0x231fef);let _0x369eee=![];_0x4dc9af[_0x43e814(0x1c3)][_0x43e814(0x180)](_0x4e078a=>{const _0x51a6e1=_0x43e814;if(_0x4b040a[_0x51a6e1(0x193)](_0x4e078a['name'],_0x4b040a[_0x51a6e1(0x1e3)])&&!this[_0x51a6e1(0x190)](_0x4e078a)){totalTests+=0x1,this[_0x51a6e1(0x17d)](_0x4b040a[_0x51a6e1(0x1ba)](_0x4b040a[_0x51a6e1(0x1e0)](_0x4b040a[_0x51a6e1(0x1ba)](_0x4b040a[_0x51a6e1(0x1ba)](_0x4b040a[_0x51a6e1(0x1e0)](_0x4b040a[_0x51a6e1(0x16b)],_0x4e078a['keyword']),_0x4e078a['text']||''),_0x4b040a['mJyGO']),Status[_0x4e078a[_0x51a6e1(0x1b9)][_0x51a6e1(0x19c)]]),'\x0a')),this[_0x51a6e1(0x167)](Status[_0x4e078a[_0x51a6e1(0x1b9)]['status']]);if(_0x4b040a[_0x51a6e1(0x1ee)](Status[_0x4e078a[_0x51a6e1(0x1b9)]['status']],_0x4b040a[_0x51a6e1(0x169)])){_0x369eee=!![];const _0x29f271=_0x4b040a['IaqNM'](nestedKeyValue,_0x4e078a,[_0x4b040a['MHpnf'],_0x4b040a['mqtgl']]);_0x29f271&&(testsErrorMessage[_0x4b040a['OxkIi'](_0x4b040a[_0x51a6e1(0x1e0)](_0x288911[_0x51a6e1(0x19e)][_0x51a6e1(0x151)]['name'],_0x4b040a[_0x51a6e1(0x178)]),_0x288911[_0x51a6e1(0x1d1)][_0x51a6e1(0x1a4)])]=_0x29f271,this['log'](_0x4b040a['PEzDf'](_0x29f271,'\x0a')));}}}),_0x369eee&&(testSuitesFailed+=0x1),this[_0x43e814(0x17d)]('\x0a');}[a6_0x18c6c0(0x17a)](_0x2c6d24){}[a6_0x18c6c0(0x190)](_0x4fe1d6){const _0xb095fe=a6_0x18c6c0,_0x1f1954={};_0x1f1954['AoJga']=function(_0x1e9459,_0x224975){return _0x1e9459!==_0x224975;},_0x1f1954['HaCQT']=_0xb095fe(0x17f);const _0x36073d=_0x1f1954;if(_0x36073d['AoJga'](_0x4fe1d6[_0xb095fe(0x186)],undefined))return![];if(_0x4fe1d6['actionLocation']&&_0x4fe1d6[_0xb095fe(0x1be)]['uri'][_0xb095fe(0x176)](_0x36073d[_0xb095fe(0x1bd)]))return!![];return![];}['incrementCounter'](_0x1b86f8){const _0x25ae19=a6_0x18c6c0,_0x17967b={};_0x17967b[_0x25ae19(0x1e7)]=_0x25ae19(0x148),_0x17967b[_0x25ae19(0x187)]=_0x25ae19(0x1d7),_0x17967b[_0x25ae19(0x1eb)]=_0x25ae19(0x1b2),_0x17967b[_0x25ae19(0x160)]='PENDING',_0x17967b[_0x25ae19(0x1b4)]=_0x25ae19(0x157),_0x17967b[_0x25ae19(0x149)]=_0x25ae19(0x16e),_0x17967b[_0x25ae19(0x159)]='AMBIGUOUS';const _0x2248cd=_0x17967b;switch(_0x1b86f8){case _0x2248cd['WOavA']:testsFailed+=0x1;break;case _0x2248cd['tBeLx']:testsPassed+=0x1;break;case _0x2248cd[_0x25ae19(0x1eb)]:testsSkipped+=0x1;break;case _0x2248cd[_0x25ae19(0x160)]:testsPending+=0x1;break;case _0x2248cd[_0x25ae19(0x1b4)]:testsUndefined+=0x1;break;case _0x2248cd[_0x25ae19(0x149)]:testsUnknown+=0x1;break;case _0x2248cd['yJepY']:testsAmbiguous+=0x1;break;default:break;}}[a6_0x18c6c0(0x1b6)](){const _0xb4e522=a6_0x18c6c0,_0x3ef982={'qLExS':function(_0x2e978c,_0x65d8b7){return _0x2e978c!==_0x65d8b7;},'fThIn':function(_0xfc9f92,_0x5169b6){return _0xfc9f92!==_0x5169b6;},'fIOWS':function(_0x178e27,_0x51c3b5){return _0x178e27(_0x51c3b5);},'kfESx':function(_0x498608,_0x4b2a90){return _0x498608+_0x4b2a90;},'jVoJn':function(_0x176bb6){return _0x176bb6();}};let _0x5dc7af;if(_0x3ef982[_0xb4e522(0x155)](process[_0xb4e522(0x15c)][_0xb4e522(0x17c)],undefined)){const _0x388672=JSON[_0xb4e522(0x1dc)](process[_0xb4e522(0x15c)][_0xb4e522(0x17c)]);_0x5dc7af=_0x388672[_0xb4e522(0x1ce)];}_0x3ef982[_0xb4e522(0x1db)](_0x5dc7af,undefined)&&(global[_0xb4e522(0x19d)]=_0x3ef982['fIOWS'](getPlatformName,_0x5dc7af),this[_0xb4e522(0x17d)](_0x3ef982[_0xb4e522(0x168)](_0xb4e522(0x1c7)+global['__platform'],'\x0a'))),_0x3ef982[_0xb4e522(0x188)](shouldProcessEventForTesthub)&&TestDetails[_0xb4e522(0x16d)]();}['onTestRunFinished'](_0x2cdaaf){const _0x2b74f4=a6_0x18c6c0;this[_0x2b74f4(0x17a)](_0x2cdaaf);}async['onTestCaseStarted'](_0x4a59b7,_0x3972a4,_0x85dccf){const _0x5b33ea=a6_0x18c6c0,_0x2bf4dd={'JUcmv':function(_0x3c9c23,_0x438cc3){return _0x3c9c23(_0x438cc3);},'eKeHJ':'TestRunStarted'};testSuites+=0x1;if(_0x2bf4dd[_0x5b33ea(0x16f)](shouldProcessEventForTesthub,_0x2bf4dd[_0x5b33ea(0x1ed)]))try{const _0x2a77a3=TestDetails[_0x5b33ea(0x194)](_0x4a59b7['id']),_0x1c001f=_0x4a59b7[_0x5b33ea(0x192)],_0x9549f0=_0x3972a4[_0x5b33ea(0x162)][_0x5b33ea(0x15b)][_0x1c001f],_0x2eba08=_0x9549f0['pickleId'],_0xc2df5d=_0x3972a4[_0x5b33ea(0x162)][_0x5b33ea(0x1cd)][_0x2eba08],_0xdade77=this[_0x5b33ea(0x1d9)](_0x3972a4,_0xc2df5d),_0x1606ff={'uuid':_0x2a77a3,'startedAt':new Date()[_0x5b33ea(0x183)]()};if(_0xc2df5d){const _0x4914d9={};_0x4914d9[_0x5b33ea(0x1a4)]=_0xc2df5d[_0x5b33ea(0x1a4)],_0x1606ff['scenario']=_0x4914d9;}_tests[_0x1c001f]=_0x1606ff,await testObservabilityReporter[_0x5b33ea(0x1df)](_0x85dccf,_0xdade77,_0xc2df5d,_0x2bf4dd[_0x5b33ea(0x1ed)],_0x1606ff,_0x85dccf);}catch(_0x3508fc){logger['debug']('Exception\x20in\x20sending\x20onTestCaseStarted:\x20'+util['format'](_0x3508fc)+'\x20');}}async[a6_0x18c6c0(0x1c6)](_0x8e6194,_0x58db8c,_0x17aaf3){const _0x333959=a6_0x18c6c0,_0x51cb8d={'zzicS':function(_0x2003c0,_0x27b8cc){return _0x2003c0(_0x27b8cc);},'KYwXW':_0x333959(0x1ab)};this[_0x333959(0x17e)](_0x8e6194);if(_0x51cb8d[_0x333959(0x19f)](shouldProcessEventForTesthub,_0x51cb8d[_0x333959(0x191)]))try{_testCasesData[_0x17aaf3['id']]={..._0x17aaf3};const _0x4e918c=_0x8e6194['testCaseStartedId'],_0x14d9e2=_0x58db8c['eventDataCollector'][_0x333959(0x14c)][_0x4e918c][_0x333959(0x192)],_0x5bd6ea=_0x58db8c[_0x333959(0x162)]['testCaseMap'][_0x14d9e2],_0x417b9e=_0x5bd6ea[_0x333959(0x172)],_0x4c1787=_0x58db8c[_0x333959(0x162)][_0x333959(0x1cd)][_0x417b9e],_0x49641d=this[_0x333959(0x1d9)](_0x58db8c,_0x4c1787),_0x2322ea=_tests[_0x14d9e2];_0x2322ea&&(delete _tests[_0x14d9e2],_0x2322ea[_0x333959(0x1d8)]=new Date()[_0x333959(0x183)]()),await testObservabilityReporter[_0x333959(0x1df)](_0x17aaf3,_0x49641d,_0x4c1787,_0x51cb8d[_0x333959(0x191)],_0x2322ea,_0x17aaf3);}catch(_0x50ec62){logger[_0x333959(0x1bb)](_0x333959(0x1de)+util[_0x333959(0x1b7)](_0x50ec62));}}async['onTestStepStarted'](_0x20e11c,_0x5067e5){const _0x1ff7f2=a6_0x18c6c0,_0x4a821a={'HbYbR':function(_0x1adee1,_0x52d707){return _0x1adee1(_0x52d707);},'LYTSp':_0x1ff7f2(0x1e1),'RZWhB':function(_0x53f0f3,_0x3f3009){return _0x53f0f3!==_0x3f3009;},'JuAAh':'testStepId'};if(_0x4a821a[_0x1ff7f2(0x18f)](shouldProcessEventForTesthub,_0x4a821a['LYTSp']))try{const _0x54fc3a=_0x20e11c[_0x1ff7f2(0x152)],_0x284e60=_0x5067e5[_0x1ff7f2(0x162)][_0x1ff7f2(0x14c)][_0x54fc3a][_0x1ff7f2(0x192)],_0x2b1d5f=_0x5067e5[_0x1ff7f2(0x162)][_0x1ff7f2(0x15b)]?.[_0x284e60],_0x10228c=_0x2b1d5f?.[_0x1ff7f2(0x172)],_0x52f8a7=_0x5067e5[_0x1ff7f2(0x162)][_0x1ff7f2(0x1cd)]?.[_0x10228c],_0x112649=_0x20e11c?.[_0x1ff7f2(0x171)],_0x20acb1=_0x2b1d5f?.[_0x1ff7f2(0x1c3)],_0x5a3aea=this[_0x1ff7f2(0x162)][_0x1ff7f2(0x1c8)](_0x54fc3a),_0x84f324=_0x20acb1[_0x1ff7f2(0x1e2)](_0x33f28d=>_0x33f28d['id']===_0x112649)[_0x1ff7f2(0x158)],_0x5caeb0=_0x52f8a7['steps']['find'](_0x37b173=>_0x37b173['id']===_0x84f324);if(_0x84f324&&_0x4a821a[_0x1ff7f2(0x161)](_tests[_0x284e60]?.[_0x4a821a[_0x1ff7f2(0x1bf)]],_0x112649)){_tests[_0x284e60][_0x4a821a[_0x1ff7f2(0x1bf)]]=_0x112649;const _0x1fd116={};_0x1fd116[_0x1ff7f2(0x18b)]=[];const _0x347cc0=_tests[_0x284e60]||_0x1fd116;_0x347cc0&&!_0x347cc0[_0x1ff7f2(0x18b)]&&(_0x347cc0['steps']=[]),_0x347cc0[_0x1ff7f2(0x18b)]?.['push']({'id':_0x5caeb0['id'],'text':_0x5caeb0[_0x1ff7f2(0x156)],'started_at':new Date()[_0x1ff7f2(0x183)]()}),_tests[_0x284e60]=_0x347cc0;}const _0x4c9781=this['checkHookURI'](_0x20acb1[_0x1ff7f2(0x1e2)](_0x578588=>_0x578588['id']===_0x112649),_0x5a3aea['pickle']['uri']);!_0x4c9781&&await testObservabilityReporter[_0x1ff7f2(0x150)](_0x5a3aea,_0x4a821a[_0x1ff7f2(0x1e9)],_tests[_0x284e60],_0x20e11c);}catch(_0x5325ce){logger['debug']('Exception\x20in\x20onTestStepStarted\x20event:\x20'+util[_0x1ff7f2(0x1b7)](_0x5325ce));}}async[a6_0x18c6c0(0x1e8)](_0x354d14,_0x11430e){const _0x467b17=a6_0x18c6c0,_0x1e07ad={'PQbpa':function(_0x46646a,_0xb626a2){return _0x46646a===_0xb626a2;},'dyViW':_0x467b17(0x1c0),'DeJkP':function(_0x48dbdc,_0x13e41a){return _0x48dbdc(_0x13e41a);},'ewgpl':'HookRunFinished','BVCoT':function(_0xa6a5cd,_0x298aa4){return _0xa6a5cd===_0x298aa4;},'PUMjw':_0x467b17(0x199),'jWdsv':function(_0x31890d,_0x4e2675){return _0x31890d===_0x4e2675;},'EFIOC':_0x467b17(0x182),'pffyg':_0x467b17(0x171)};if(_0x1e07ad[_0x467b17(0x1a0)](shouldProcessEventForTesthub,_0x1e07ad[_0x467b17(0x15a)]))try{const _0x4046a7=_0x354d14[_0x467b17(0x152)],_0x2f6160=_0x11430e[_0x467b17(0x162)][_0x467b17(0x14c)][_0x4046a7][_0x467b17(0x192)],_0xeb17b7=_0x11430e[_0x467b17(0x162)][_0x467b17(0x15b)][_0x2f6160],_0x116a0e=_0xeb17b7[_0x467b17(0x172)],_0x25ef0b=_0x11430e[_0x467b17(0x162)]['pickleMap'][_0x116a0e],_0x18a6cb=_0x354d14[_0x467b17(0x171)],_0xd0428f=_0xeb17b7[_0x467b17(0x1c3)],_0x50868d=this[_0x467b17(0x162)][_0x467b17(0x1c8)](_0x4046a7),_0x155117=_0xd0428f[_0x467b17(0x1e2)](_0x272ee9=>_0x272ee9['id']===_0x18a6cb)[_0x467b17(0x158)];let _0x5346fe,_0x468017;_0x1e07ad['BVCoT'](_0x354d14[_0x467b17(0x1e5)]?.[_0x467b17(0x19c)][_0x467b17(0x15d)]()[_0x467b17(0x1cc)](),_0x1e07ad['PUMjw'])&&(_0x5346fe=_0x1e07ad['BVCoT'](_0x354d14[_0x467b17(0x1e5)]?.['exception'],undefined)?_0x354d14[_0x467b17(0x1e5)]?.[_0x467b17(0x1c5)]:_0x354d14['testStepResult']?.[_0x467b17(0x198)]?.['message'],_0x468017=_0x1e07ad[_0x467b17(0x177)](_0x354d14[_0x467b17(0x1e5)]?.[_0x467b17(0x198)],undefined)?_0x1e07ad[_0x467b17(0x1b0)]:_0x354d14['testStepResult']?.[_0x467b17(0x1c5)]);const _0x3cb5ed=this[_0x467b17(0x173)](_0xd0428f[_0x467b17(0x1e2)](_0xbbe495=>_0xbbe495['id']===_0x18a6cb),_0x50868d[_0x467b17(0x1d1)][_0x467b17(0x179)]);!_0x3cb5ed&&await testObservabilityReporter[_0x467b17(0x150)](_0x50868d,_0x1e07ad[_0x467b17(0x15a)],_tests[_0x2f6160],_0x354d14);if(_0x155117&&_tests[_0x2f6160][_0x1e07ad[_0x467b17(0x146)]]){const _0x5e7b9f=_0x25ef0b[_0x467b17(0x18b)]['find'](_0x30f915=>_0x30f915['id']===_0x155117),_0x2e197d={};_0x2e197d[_0x467b17(0x18b)]=[];const _0x2a9f63=_tests[_0x2f6160]||_0x2e197d;!_0x2a9f63[_0x467b17(0x18b)]?_0x2a9f63['steps']=[{'id':_0x5e7b9f['id'],'text':_0x5e7b9f[_0x467b17(0x156)],'finished_at':new Date()[_0x467b17(0x183)](),'result':_0x354d14['testStepResult']?.[_0x467b17(0x19c)],'duration':_0x354d14[_0x467b17(0x1e5)]?.[_0x467b17(0x163)]?.[_0x467b17(0x1d3)],'failure':_0x5346fe,'failureType':_0x468017}]:_0x2a9f63[_0x467b17(0x18b)][_0x467b17(0x180)](_0x252ef1=>{const _0x52d3ca=_0x467b17;if(_0x1e07ad[_0x52d3ca(0x170)](_0x252ef1['id'],_0x5e7b9f['id'])){const _0x1d46b5=_0x1e07ad[_0x52d3ca(0x1d6)][_0x52d3ca(0x184)]('|');let _0x356d7d=0x0;while(!![]){switch(_0x1d46b5[_0x356d7d++]){case'0':_0x252ef1[_0x52d3ca(0x1b9)]=_0x354d14[_0x52d3ca(0x1e5)]?.['status'];continue;case'1':_0x252ef1[_0x52d3ca(0x185)]=new Date()[_0x52d3ca(0x183)]();continue;case'2':_0x252ef1[_0x52d3ca(0x1a5)]=_0x468017;continue;case'3':_0x252ef1[_0x52d3ca(0x163)]=_0x354d14[_0x52d3ca(0x1e5)]?.['duration']?.[_0x52d3ca(0x1d3)];continue;case'4':_0x252ef1['failure']=_0x5346fe;continue;}break;}}}),_tests[_0x2f6160]=_0x2a9f63,delete _tests[_0x2f6160][_0x1e07ad[_0x467b17(0x146)]];}}catch(_0x254f4b){logger['debug'](_0x467b17(0x147)+util[_0x467b17(0x1b7)](_0x254f4b));}}[a6_0x18c6c0(0x1ca)](_0x37d93f){const _0x36f871=a6_0x18c6c0,_0x8bddb={};return _0x37d93f[_0x36f871(0x151)][_0x36f871(0x14b)][_0x36f871(0x1c1)](this[_0x36f871(0x197)])[_0x36f871(0x16c)]()['forEach'](_0x2cd393=>_0x2cd393[_0x36f871(0x18b)]['forEach'](_0x578132=>_0x8bddb[_0x578132['id']]=_0x578132)),_0x8bddb;}[a6_0x18c6c0(0x173)](_0x23dee9,_0x68d124){const _0x55fda3=a6_0x18c6c0,_0x187bea={'zJgCM':function(_0x3cf6ff,_0x5cdabe){return _0x3cf6ff(_0x5cdabe);},'xROCh':function(_0x3d3db1,_0x43af31){return _0x3d3db1(_0x43af31);},'Yzien':function(_0x256d68,_0x41c837){return _0x256d68===_0x41c837;},'wvUHw':function(_0xcdf9fe,_0x246fe9){return _0xcdf9fe(_0x246fe9);},'hxxks':function(_0x54b16d,_0x32f4d1){return _0x54b16d!==_0x32f4d1;},'bWXTA':'cucumber-js/test.setup.js'};let _0x17c285=!![];const _0x445c9d={};_0x17c285=_0x17c285&&!_0x187bea[_0x55fda3(0x189)](isUndefined,_0x23dee9[_0x55fda3(0x1a6)]);if(!_0x187bea[_0x55fda3(0x189)](isUndefined,_0x23dee9[_0x55fda3(0x1a6)])){let _0x1a894b;_0x17c285?_0x1a894b=this[_0x55fda3(0x1ec)][_0x55fda3(0x1e4)][_0x55fda3(0x1e2)](_0x424984=>_0x424984['id']===_0x23dee9[_0x55fda3(0x1a6)]):_0x1a894b=this['supportCodeLibrary'][_0x55fda3(0x153)][_0x55fda3(0x1e2)](_0x377772=>_0x377772['id']===_0x23dee9[_0x55fda3(0x1a6)]);if(_0x1a894b){const _0x570b59={};_0x570b59[_0x55fda3(0x179)]=_0x1a894b[_0x55fda3(0x179)],_0x570b59[_0x55fda3(0x1bc)]=_0x1a894b[_0x55fda3(0x1bc)],_0x445c9d['actionLocation']=_0x570b59,_0x445c9d[_0x55fda3(0x1a4)]=_0x1a894b[_0x55fda3(0x1a4)];}}if(!_0x187bea[_0x55fda3(0x195)](isUndefined,_0x23dee9[_0x55fda3(0x1b1)])&&_0x187bea['Yzien'](_0x23dee9['stepDefinitionIds'][_0x55fda3(0x1dd)],0x1)){const _0x382e68=this[_0x55fda3(0x1ec)]['stepDefinitions'][_0x55fda3(0x1e2)](_0xa5c7c4=>_0xa5c7c4['id']===_0x23dee9['stepDefinitionIds'][0x0]),_0x46a3b4={};_0x46a3b4['uri']=_0x382e68[_0x55fda3(0x179)],_0x46a3b4[_0x55fda3(0x1bc)]=_0x382e68[_0x55fda3(0x1bc)],_0x445c9d['actionLocation']=_0x46a3b4;}if(!_0x187bea[_0x55fda3(0x1b8)](isUndefined,_0x23dee9[_0x55fda3(0x158)])){const _0x46a800={};_0x46a800[_0x55fda3(0x179)]=_0x68d124,_0x46a800[_0x55fda3(0x1bc)]='',_0x445c9d[_0x55fda3(0x186)]=_0x46a800;}if(_0x187bea[_0x55fda3(0x14a)](_0x445c9d[_0x55fda3(0x186)],undefined))return![];if(_0x445c9d[_0x55fda3(0x1be)]&&_0x445c9d['actionLocation'][_0x55fda3(0x179)][_0x55fda3(0x176)](_0x187bea[_0x55fda3(0x14f)]))return!![];return![];}[a6_0x18c6c0(0x197)](_0x123f09){const _0x2df879=a6_0x18c6c0,_0x45fcd0={'chjDW':function(_0x769ac4,_0x5bc0da){return _0x769ac4(_0x5bc0da);},'IGyJg':function(_0x39e886,_0x197a9d){return _0x39e886(_0x197a9d);}};if(!_0x45fcd0[_0x2df879(0x14e)](isUndefined,_0x123f09[_0x2df879(0x1a8)]))return[_0x123f09[_0x2df879(0x1a8)]];else{if(!_0x45fcd0[_0x2df879(0x175)](isUndefined,_0x123f09['rule']))return _0x123f09[_0x2df879(0x165)][_0x2df879(0x14b)][_0x2df879(0x1c1)](_0x4582fe=>!isUndefined(_0x4582fe?.[_0x2df879(0x1a8)])?_0x4582fe[_0x2df879(0x1a8)]:_0x4582fe[_0x2df879(0x1cf)]);};return[_0x123f09[_0x2df879(0x1cf)]];}[a6_0x18c6c0(0x1d9)](_0x3828ef,_0x317ec9){const _0x468d34=a6_0x18c6c0;return Object[_0x468d34(0x1d2)](_0x3828ef[_0x468d34(0x162)][_0x468d34(0x1ae)])[_0x468d34(0x1e2)](_0x1d51b7=>_0x1d51b7[_0x468d34(0x179)]===_0x317ec9['uri']);}}module[a6_0x18c6c0(0x19a)]=o11yClassErrorHandler(BrowserstackFormatter,['onTestCaseStarted',a6_0x18c6c0(0x1c6),a6_0x18c6c0(0x1b3),a6_0x18c6c0(0x1e8),a6_0x18c6c0(0x1b6),a6_0x18c6c0(0x1a9),a6_0x18c6c0(0x197),a6_0x18c6c0(0x1d9),a6_0x18c6c0(0x1ca),a6_0x18c6c0(0x173)]);function a6_0x5c20(){const _0x28e4b0=['incrementCounter','kfESx','sGwbA','NbkcN','xbjZX','flat','setup','UNKNOWN','JUcmv','PQbpa','testStepId','pickleId','checkHookURI','@cucumber/cucumber','IGyJg','includes','jWdsv','mJyGO','uri','logTestRunFinished','288272VPJiYd','CONFIG','log','logTestCaseFinished','cucumber-js/test.setup.js','forEach','PEzDf','UnhandledError','toISOString','split','finished_at','sourceLocation','tBeLx','jVoJn','zJgCM','\x20-\x20','steps','../../../helpers/helper','testRunStarted','qOKPn','HbYbR','isBstackHook','KYwXW','testCaseId','hOrST','getTestUUID','xROCh','16946628cZqZnB','extractStepContainers','exception','failed','exports','../../../helpers/logger','status','__platform','gherkinDocument','zzicS','DeJkP','369liSRyZ','7gwbnJI','onTestCaseStarted','name','failureType','hookId','testCaseAttempt','background','onTestRunFinished','6082700WXXkwI','TestRunFinished','parseTestCaseAttempt','envelope','gherkinDocumentMap','1697214WNSRSl','EFIOC','stepDefinitionIds','SKIPPED','onTestStepStarted','JskDC','cwd','onTestRunStarted','format','wvUHw','result','OxkIi','debug','line','HaCQT','actionLocation','JuAAh','1|0|3|4|2','map','34ZWLfDv','testSteps','10LXWLrh','message','onTestCaseFinished','Executing\x20tests\x20for\x20','getTestCaseAttempt','testRunFinished','getGherkinStepMap','testStepFinished','toLowerCase','pickleMap','capability','scenario','3MbrKKk','pickle','values','seconds','winstonLogger','bstack','dyViW','PASSED','finishedAt','getGherkinDocument','testStepStarted','fThIn','parse','length','Exception\x20in\x20sending\x20onTestCaseFinished\x20event:\x20\x20','sendTestRunEventForCucumber','bZdii','HookRunStarted','find','BeDGe','beforeTestCaseHookDefinitions','testStepResult','31633XXiYBZ','WOavA','onTestStepFinished','LYTSp','12705649PZDxVP','Fbvng','supportCodeLibrary','eKeHJ','bKnOD','pffyg','Exception\x20in\x20onTestStepFinished\x20event:\x20','FAILED','hnZun','hxxks','children','testCaseAttemptDataMap','\x20\x20\x20\x20','chjDW','bWXTA','sendHook','feature','testCaseStartedId','afterTestCaseHookDefinitions','testCaseFinished','qLExS','text','UNDEFINED','pickleStepId','yJepY','ewgpl','testCaseMap','env','toString','ZJKaM','testCaseStarted','YtPFT','RZWhB','eventDataCollector','duration','4338700dZGADT','rule','snippetBuilder'];a6_0x5c20=function(){return _0x28e4b0;};return a6_0x5c20();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a7_0x3bde6e=a7_0x3fc7;(function(_0x3dae98,_0x26f6de){const _0x5b40d2=a7_0x3fc7,_0x34cfa8=_0x3dae98();while(!![]){try{const _0x3f25ce=parseInt(_0x5b40d2(0xdc))/0x1+parseInt(_0x5b40d2(0xaf))/0x2+parseInt(_0x5b40d2(0xb9))/0x3+parseInt(_0x5b40d2(0xe5))/0x4+-parseInt(_0x5b40d2(0xe7))/0x5+parseInt(_0x5b40d2(0xae))/0x6*(parseInt(_0x5b40d2(0xb0))/0x7)+-parseInt(_0x5b40d2(0xb4))/0x8*(parseInt(_0x5b40d2(0xe4))/0x9);if(_0x3f25ce===_0x26f6de)break;else _0x34cfa8['push'](_0x34cfa8['shift']());}catch(_0x35c2bc){_0x34cfa8['push'](_0x34cfa8['shift']());}}}(a7_0x1a98,0xd81f5));const {requireModule,getPlatformName,nestedKeyValue}=require(a7_0x3bde6e(0xe3)),{Formatter}=requireModule(a7_0x3bde6e(0xbf)),pickleParser=requireModule(a7_0x3bde6e(0xa6));function a7_0x1a98(){const _0x8b19d2=['undefined','gherkinDocument','xydEf','PASSED','rWSvh','length','line','stepResults','includes','ZsCko','logTestCaseFinished','WTZkY','qMLWa','XSBrg','exports','JgbIl','name','zCxQO','PwUOK','wwnbD','kppXA','eventBroadcaster','247461rVYChq','status','JJPUm','xHXJW','\x20\x20\x20\x20AFTER\x20-\x20','PENDING','gvRRE','../../../helpers/helper','9CASOlm','3232112TJavnV','feature','8810625YJLkem','uri','actionLocation','testCase','capability','sourceLocation','LXyGj','efCjx','wmCqe','ildvA','PJZac','FAILED','exception','dfJxd','BwztK','CONFIG','UNKNOWN','vTMXs','dqeVS','JPEoT','steps','BdIDM','YTWUC','AMBIGUOUS','cucumber/lib/formatter/helpers/pickle_parser.js','toUpperCase','__platform','XJqJU','MUZnB','parse','Zckww','env','41988UQbzcH','1590434KdsXIZ','294KeFUrO','getTestCaseAttempt','pickle','log','8482832YyZQwL','eventDataCollector','getTestCaseData','PYmin','ydRHT','4689282hjUHZo','bYPJS','MgdPz','bSInX','jFNKr','result','cucumber','ZtoEz','forEach','test-step-started','test-run-finished','text','UNDEFINED'];a7_0x1a98=function(){return _0x8b19d2;};return a7_0x1a98();}function a7_0x3fc7(_0x4437c3,_0x44ba1d){const _0x1a982c=a7_0x1a98();return a7_0x3fc7=function(_0x3fc735,_0x5f0d30){_0x3fc735=_0x3fc735-0xa2;let _0xed1531=_0x1a982c[_0x3fc735];return _0xed1531;},a7_0x3fc7(_0x4437c3,_0x44ba1d);}class BrowserstackFormatter extends Formatter{constructor(_0x4da173){const _0xfe57e9=a7_0x3bde6e,_0x514893={'Zckww':function(_0x56cc3b,_0x42f99a){return _0x56cc3b!==_0x42f99a;},'vTMXs':function(_0x4fdaf1,_0x36f50b){return _0x4fdaf1(_0x36f50b);},'rWSvh':'test-run-started','ildvA':'test-case-started','WrlFT':'test-case-finished','rMVbX':_0xfe57e9(0xc3),'bSInX':_0xfe57e9(0xc2)};super(_0x4da173),_0x4da173[_0xfe57e9(0xdb)]['on'](_0x514893[_0xfe57e9(0xca)],()=>{const _0x327259=_0xfe57e9;let _0x2059b1;if(_0x514893[_0x327259(0xac)](process[_0x327259(0xad)][_0x327259(0xf6)],undefined)){const _0x4beb5e=JSON[_0x327259(0xab)](process['env'][_0x327259(0xf6)]);_0x2059b1=_0x4beb5e[_0x327259(0xeb)];}_0x514893[_0x327259(0xac)](_0x2059b1,undefined)&&(global[_0x327259(0xa8)]=_0x514893[_0x327259(0xf8)](getPlatformName,_0x2059b1),console[_0x327259(0xb3)]('Executing\x20tests\x20for\x20'+global['__platform']));}),_0x4da173[_0xfe57e9(0xdb)]['on'](_0x514893[_0xfe57e9(0xf0)],()=>{testSuites+=0x1;}),_0x4da173[_0xfe57e9(0xdb)]['on'](_0x514893['WrlFT'],_0x9db392=>{this['logTestCaseFinished'](_0x9db392);}),_0x4da173[_0xfe57e9(0xdb)]['on'](_0x514893['rMVbX'],()=>{totalTests-=0x2;}),_0x4da173['eventBroadcaster']['on'](_0x514893[_0xfe57e9(0xbc)],()=>{totalTests+=0x1;});}[a7_0x3bde6e(0xd0)](_0x5b317e){const _0xb7b329=a7_0x3bde6e,_0x4b9a92={'zCxQO':_0xb7b329(0xf2),'BdIDM':_0xb7b329(0xc9),'dfJxd':'SKIPPED','cSGHL':_0xb7b329(0xe1),'dKGAX':_0xb7b329(0xc5),'MgdPz':_0xb7b329(0xf7),'xydEf':_0xb7b329(0xa5),'YTWUC':function(_0x3e657a,_0x3f392a){return _0x3e657a+_0x3f392a;},'WTZkY':function(_0x36d88c,_0x141759){return _0x36d88c+_0x141759;},'efCjx':function(_0x18d3bc,_0x203e57){return _0x18d3bc+_0x203e57;},'ydRHT':'\x20\x20\x20\x20','wmCqe':'\x20-\x20','LHapn':function(_0x3e4e8b,_0x326490){return _0x3e4e8b(_0x326490);},'LXyGj':'cucumber-js/test_old.setup.js','xEXnx':function(_0x222624,_0x25b371){return _0x222624(_0x25b371);},'BwztK':function(_0x4b5bef,_0x151d83){return _0x4b5bef+_0x151d83;},'gvRRE':_0xb7b329(0xe0),'XSBrg':'\x20\x20\x20\x20BEFORE\x20-\x20','dGzso':function(_0x13d9f0,_0x66de0e){return _0x13d9f0===_0x66de0e;},'JPEoT':function(_0x2eb4ac,_0x51eb6d,_0x4943c9){return _0x2eb4ac(_0x51eb6d,_0x4943c9);},'bYPJS':'result','MUZnB':_0xb7b329(0xf3),'kppXA':'stack','qMLWa':function(_0x395421,_0x1e8ef1){return _0x395421!==_0x1e8ef1;},'dqeVS':function(_0x3d42b7,_0x4df20d){return _0x3d42b7+_0x4df20d;},'HQEsF':_0xb7b329(0xc6),'ZsCko':function(_0x2a896b,_0x31d343){return _0x2a896b+_0x31d343;},'jFNKr':function(_0x3a9618,_0x5c70e7){return _0x3a9618+_0x5c70e7;},'XJqJU':function(_0x1c9d5e,_0x2bcb47){return _0x1c9d5e+_0x2bcb47;},'JJPUm':function(_0x9f027e,_0x22f009){return _0x9f027e<_0x22f009;},'xHXJW':function(_0x1e6aab,_0x3ac9b2){return _0x1e6aab+_0x3ac9b2;},'wwnbD':function(_0xab3f4f,_0x30f0e3){return _0xab3f4f+_0x30f0e3;},'PwUOK':function(_0x31c172,_0x1873cd){return _0x31c172(_0x1873cd);},'PJZac':function(_0x175775,_0x43e53d){return _0x175775+_0x43e53d;},'JgbIl':function(_0x2908e9,_0x4e79cb){return _0x2908e9===_0x4e79cb;},'PYmin':function(_0x313f89,_0x56f25d){return _0x313f89+_0x56f25d;},'ZtoEz':function(_0x1a9a63,_0x10846e){return _0x1a9a63+_0x10846e;}};let _0x32d989=![];function _0x106f89(_0x3e890b){const _0x34fd8f=_0xb7b329;switch(_0x3e890b){case _0x4b9a92[_0x34fd8f(0xd7)]:testsFailed+=0x1;break;case _0x4b9a92[_0x34fd8f(0xa3)]:testsPassed+=0x1;break;case _0x4b9a92[_0x34fd8f(0xf4)]:testsSkipped+=0x1;break;case _0x4b9a92['cSGHL']:testsPending+=0x1;break;case _0x4b9a92['dKGAX']:testsUndefined+=0x1;break;case _0x4b9a92[_0x34fd8f(0xbb)]:testsUnknown+=0x1;break;case _0x4b9a92[_0x34fd8f(0xc8)]:testsAmbiguous+=0x1;break;default:break;}}_0x4b9a92[_0xb7b329(0xd2)](global[_0xb7b329(0xa8)],undefined)&&console[_0xb7b329(0xb3)](_0x4b9a92[_0xb7b329(0xf9)](_0x4b9a92[_0xb7b329(0xa4)]('\x0a',global[_0xb7b329(0xa8)]),'\x0a'));let _0x142ec8=![];if(_0x4b9a92['qMLWa'](typeof this[_0xb7b329(0xb5)][_0xb7b329(0xb6)],_0x4b9a92['HQEsF'])){var _0x216413=this[_0xb7b329(0xb5)][_0xb7b329(0xb6)](_0x5b317e[_0xb7b329(0xec)]),_0x247102=_0x216413[_0xb7b329(0xb2)],_0x3b0987=_0x216413[_0xb7b329(0xea)];console[_0xb7b329(0xb3)](_0x4b9a92[_0xb7b329(0xcf)]('\x20\x20',_0x247102[_0xb7b329(0xd6)]));var _0x158144=(0x0,pickleParser['getStepLineToPickledStepMap'])(_0x247102);_0x3b0987[_0xb7b329(0xa2)][_0xb7b329(0xc1)](function(_0x22b94d){const _0x3fdbbf=_0xb7b329;if(_0x22b94d[_0x3fdbbf(0xe9)]&&_0x22b94d[_0x3fdbbf(0xec)])_0x32d989=!![],console[_0x3fdbbf(0xb3)](_0x4b9a92['YTWUC'](_0x4b9a92[_0x3fdbbf(0xd1)](_0x4b9a92[_0x3fdbbf(0xee)](_0x4b9a92[_0x3fdbbf(0xb8)],_0x158144[_0x22b94d['sourceLocation'][_0x3fdbbf(0xcc)]][_0x3fdbbf(0xc4)]),_0x4b9a92[_0x3fdbbf(0xef)]),_0x22b94d[_0x3fdbbf(0xbe)][_0x3fdbbf(0xdd)][_0x3fdbbf(0xa7)]())),_0x4b9a92['LHapn'](_0x106f89,_0x22b94d[_0x3fdbbf(0xbe)][_0x3fdbbf(0xdd)][_0x3fdbbf(0xa7)]());else _0x22b94d['actionLocation']&&(!_0x22b94d[_0x3fdbbf(0xe9)][_0x3fdbbf(0xe8)][_0x3fdbbf(0xce)](_0x4b9a92[_0x3fdbbf(0xed)])&&(_0x4b9a92['xEXnx'](_0x106f89,_0x22b94d[_0x3fdbbf(0xbe)][_0x3fdbbf(0xdd)][_0x3fdbbf(0xa7)]()),_0x32d989?console['log'](_0x4b9a92[_0x3fdbbf(0xf5)](_0x4b9a92['gvRRE'],_0x22b94d[_0x3fdbbf(0xbe)][_0x3fdbbf(0xdd)][_0x3fdbbf(0xa7)]())):console['log'](_0x4b9a92['WTZkY'](_0x4b9a92['XSBrg'],_0x22b94d[_0x3fdbbf(0xbe)][_0x3fdbbf(0xdd)]['toUpperCase']()))));if(_0x4b9a92['dGzso'](_0x22b94d[_0x3fdbbf(0xbe)][_0x3fdbbf(0xdd)][_0x3fdbbf(0xa7)](),_0x4b9a92[_0x3fdbbf(0xd7)])){const _0x5ec941=_0x4b9a92[_0x3fdbbf(0xfa)](nestedKeyValue,_0x22b94d,[_0x4b9a92[_0x3fdbbf(0xba)],_0x4b9a92['MUZnB'],_0x4b9a92['kppXA']]);_0x5ec941&&(testsErrorMessage[_0x247102[_0x3fdbbf(0xd6)]]=_0x5ec941,console[_0x3fdbbf(0xb3)](_0x4b9a92['YTWUC'](_0x5ec941,'\x0a'))),_0x142ec8=!![];}});}else{const _0x154db6=this[_0xb7b329(0xb5)][_0xb7b329(0xb1)](_0x5b317e);console[_0xb7b329(0xb3)](_0x4b9a92[_0xb7b329(0xbd)](_0x4b9a92[_0xb7b329(0xa9)](_0x4b9a92[_0xb7b329(0xbd)]('\x20\x20',_0x154db6['gherkinDocument'][_0xb7b329(0xe6)]['name']),_0x4b9a92[_0xb7b329(0xef)]),_0x154db6['pickle'][_0xb7b329(0xd6)]));const _0x2ae5af=(0x0,pickleParser['getStepLineToPickledStepMap'])(_0x154db6[_0xb7b329(0xb2)]),_0x4a0452=_0x154db6[_0xb7b329(0xea)][_0xb7b329(0xa2)],_0x49abd5=_0x154db6[_0xb7b329(0xcd)],_0x1f4e18=_0x4a0452[_0xb7b329(0xcb)];for(let _0x316c70=0x0;_0x4b9a92[_0xb7b329(0xde)](_0x316c70,_0x1f4e18);_0x316c70++){const _0x2feb2f=_0x4a0452[_0x316c70];if(_0x2feb2f[_0xb7b329(0xe9)]&&_0x2feb2f[_0xb7b329(0xec)])_0x32d989=!![],console[_0xb7b329(0xb3)](_0x4b9a92[_0xb7b329(0xdf)](_0x4b9a92['WTZkY'](_0x4b9a92[_0xb7b329(0xd9)](_0x4b9a92['ydRHT'],_0x2ae5af[_0x2feb2f[_0xb7b329(0xec)][_0xb7b329(0xcc)]][_0xb7b329(0xc4)]),_0x4b9a92[_0xb7b329(0xef)]),_0x49abd5[_0x316c70]['status'][_0xb7b329(0xa7)]())),_0x4b9a92[_0xb7b329(0xd8)](_0x106f89,_0x49abd5[_0x316c70][_0xb7b329(0xdd)][_0xb7b329(0xa7)]());else _0x2feb2f[_0xb7b329(0xe9)]&&(!_0x2feb2f[_0xb7b329(0xe9)]['uri'][_0xb7b329(0xce)](_0x4b9a92['LXyGj'])&&(_0x4b9a92[_0xb7b329(0xd8)](_0x106f89,_0x49abd5[_0x316c70][_0xb7b329(0xdd)]['toUpperCase']()),_0x32d989?console[_0xb7b329(0xb3)](_0x4b9a92[_0xb7b329(0xcf)](_0x4b9a92[_0xb7b329(0xe2)],_0x49abd5[_0x316c70]['status']['toUpperCase']())):console[_0xb7b329(0xb3)](_0x4b9a92[_0xb7b329(0xf1)](_0x4b9a92[_0xb7b329(0xd3)],_0x49abd5[_0x316c70][_0xb7b329(0xdd)][_0xb7b329(0xa7)]()))));if(_0x4b9a92[_0xb7b329(0xd5)](_0x49abd5[_0x316c70][_0xb7b329(0xdd)][_0xb7b329(0xa7)](),_0x4b9a92[_0xb7b329(0xd7)])){_0x142ec8=!![];const _0x4e717f=_0x4b9a92[_0xb7b329(0xfa)](nestedKeyValue,_0x49abd5[_0x316c70],[_0x4b9a92[_0xb7b329(0xaa)],_0x4b9a92[_0xb7b329(0xda)]]);_0x4e717f&&(testsErrorMessage[_0x4b9a92['PYmin'](_0x4b9a92[_0xb7b329(0xc0)](_0x154db6[_0xb7b329(0xc7)][_0xb7b329(0xe6)][_0xb7b329(0xd6)],_0x4b9a92[_0xb7b329(0xef)]),_0x154db6[_0xb7b329(0xb2)][_0xb7b329(0xd6)])]=_0x4e717f,console[_0xb7b329(0xb3)](_0x4b9a92[_0xb7b329(0xb7)](_0x4e717f,'\x0a')));}}}_0x142ec8&&(testSuitesFailed+=0x1),console[_0xb7b329(0xb3)]('\x0a');}}module[a7_0x3bde6e(0xd4)]=BrowserstackFormatter;
|
|
1
|
+
const a7_0x188dde=a7_0xc50b;(function(_0x5afc77,_0x3c8c52){const _0x4e99ff=a7_0xc50b,_0x4af156=_0x5afc77();while(!![]){try{const _0x1f8c6d=-parseInt(_0x4e99ff(0x112))/0x1+-parseInt(_0x4e99ff(0x125))/0x2+-parseInt(_0x4e99ff(0x10e))/0x3*(-parseInt(_0x4e99ff(0x141))/0x4)+-parseInt(_0x4e99ff(0x140))/0x5+parseInt(_0x4e99ff(0x13c))/0x6+parseInt(_0x4e99ff(0x114))/0x7+parseInt(_0x4e99ff(0x122))/0x8;if(_0x1f8c6d===_0x3c8c52)break;else _0x4af156['push'](_0x4af156['shift']());}catch(_0x1faa83){_0x4af156['push'](_0x4af156['shift']());}}}(a7_0x1d67,0xed59f));const {requireModule,getPlatformName,nestedKeyValue}=require('../../../helpers/helper'),{Formatter}=requireModule(a7_0x188dde(0x104)),pickleParser=requireModule('cucumber/lib/formatter/helpers/pickle_parser.js');class BrowserstackFormatter extends Formatter{constructor(_0x4757c8){const _0x47754f=a7_0x188dde,_0x48080a={'WppjI':function(_0x38ef3b,_0x3f9b15){return _0x38ef3b!==_0x3f9b15;},'HyUIK':function(_0x582049,_0x320f30){return _0x582049!==_0x320f30;},'EJGYz':function(_0x347f82,_0x3e8a9c){return _0x347f82(_0x3e8a9c);},'dNdGO':'test-run-started','yWsVq':_0x47754f(0x134),'Yusjx':'test-case-finished','EGXSr':_0x47754f(0x10c),'IuUMJ':'test-step-started'};super(_0x4757c8),_0x4757c8[_0x47754f(0x149)]['on'](_0x48080a['dNdGO'],()=>{const _0x15576d=_0x47754f;let _0x425f24;if(_0x48080a['WppjI'](process[_0x15576d(0x10b)][_0x15576d(0x100)],undefined)){const _0x487973=JSON[_0x15576d(0x10a)](process[_0x15576d(0x10b)][_0x15576d(0x100)]);_0x425f24=_0x487973['capability'];}_0x48080a['HyUIK'](_0x425f24,undefined)&&(global['__platform']=_0x48080a['EJGYz'](getPlatformName,_0x425f24),console[_0x15576d(0x11e)]('Executing\x20tests\x20for\x20'+global[_0x15576d(0x131)]));}),_0x4757c8[_0x47754f(0x149)]['on'](_0x48080a[_0x47754f(0x147)],()=>{testSuites+=0x1;}),_0x4757c8[_0x47754f(0x149)]['on'](_0x48080a['Yusjx'],_0x2f936c=>{this['logTestCaseFinished'](_0x2f936c);}),_0x4757c8[_0x47754f(0x149)]['on'](_0x48080a[_0x47754f(0x142)],()=>{totalTests-=0x2;}),_0x4757c8[_0x47754f(0x149)]['on'](_0x48080a[_0x47754f(0x124)],()=>{totalTests+=0x1;});}[a7_0x188dde(0x14e)](_0xb92b02){const _0x416224=a7_0x188dde,_0x1ba2bb={'chjkj':_0x416224(0xff),'zbFJZ':_0x416224(0x103),'AvGIa':_0x416224(0x13e),'CFvwA':_0x416224(0x12a),'xUEtn':_0x416224(0xf8),'UhDlr':_0x416224(0x135),'YpBfx':_0x416224(0x12e),'IuXpg':function(_0x5904af,_0x56e10c){return _0x5904af+_0x56e10c;},'WCmeT':function(_0x1b4b72,_0xb13174){return _0x1b4b72+_0xb13174;},'vBFRe':_0x416224(0x138),'eclpN':_0x416224(0x129),'RbAWP':function(_0x5427ae,_0x195014){return _0x5427ae(_0x195014);},'PLjpa':_0x416224(0x127),'GBxGl':function(_0x5a4260,_0x4959fd){return _0x5a4260(_0x4959fd);},'yhzbd':function(_0x2d38ca,_0x2ce148){return _0x2d38ca+_0x2ce148;},'DDOcH':'\x20\x20\x20\x20AFTER\x20-\x20','MyBYm':_0x416224(0xf9),'uIfmg':function(_0x2505d3,_0x213d9f){return _0x2505d3===_0x213d9f;},'wAWlk':function(_0x189048,_0x312840,_0x225f52){return _0x189048(_0x312840,_0x225f52);},'vXQYv':_0x416224(0x143),'qUoVl':_0x416224(0x120),'HlEUc':_0x416224(0x13d),'oQGsd':function(_0x5a319e,_0x4f1f57){return _0x5a319e!==_0x4f1f57;},'kkVxI':function(_0x396d0a,_0x2ca37d){return _0x396d0a+_0x2ca37d;},'JjQeu':function(_0x43fd50,_0x2fedd5){return _0x43fd50!==_0x2fedd5;},'fAsXm':_0x416224(0x117),'TgsKu':function(_0xf9df64,_0x2c4ade){return _0xf9df64+_0x2c4ade;},'seetR':function(_0x354ba9,_0x1d3427){return _0x354ba9+_0x1d3427;},'NXmfU':function(_0x1c473e,_0x28ab4c){return _0x1c473e+_0x28ab4c;},'vayXz':function(_0x551ade,_0x456dd7){return _0x551ade<_0x456dd7;},'oKifW':function(_0x4d631a,_0x171fab){return _0x4d631a(_0x171fab);},'DSDLz':function(_0x11cfac,_0x156bac){return _0x11cfac+_0x156bac;},'LPYEh':function(_0x31707e,_0x29439f){return _0x31707e+_0x29439f;},'sSRLl':function(_0x414f8d,_0x44b884){return _0x414f8d===_0x44b884;},'uSKui':function(_0xcabcd4,_0x39ec6c,_0x11d813){return _0xcabcd4(_0x39ec6c,_0x11d813);},'GCJur':function(_0x3f9198,_0x23061a){return _0x3f9198+_0x23061a;}};let _0x4af855=![];function _0x5adce7(_0x15c087){const _0x1de289=_0x416224;switch(_0x15c087){case _0x1ba2bb[_0x1de289(0x132)]:testsFailed+=0x1;break;case _0x1ba2bb[_0x1de289(0x10d)]:testsPassed+=0x1;break;case _0x1ba2bb[_0x1de289(0x130)]:testsSkipped+=0x1;break;case _0x1ba2bb[_0x1de289(0x133)]:testsPending+=0x1;break;case _0x1ba2bb[_0x1de289(0xfc)]:testsUndefined+=0x1;break;case _0x1ba2bb[_0x1de289(0x116)]:testsUnknown+=0x1;break;case _0x1ba2bb[_0x1de289(0x14b)]:testsAmbiguous+=0x1;break;default:break;}}_0x1ba2bb[_0x416224(0x11c)](global[_0x416224(0x131)],undefined)&&console[_0x416224(0x11e)](_0x1ba2bb[_0x416224(0x144)](_0x1ba2bb[_0x416224(0x145)]('\x0a',global[_0x416224(0x131)]),'\x0a'));let _0x4a196a=![];if(_0x1ba2bb[_0x416224(0x14c)](typeof this['eventDataCollector'][_0x416224(0x11a)],_0x1ba2bb[_0x416224(0x146)])){var _0x6e721f=this[_0x416224(0x101)][_0x416224(0x11a)](_0xb92b02[_0x416224(0x11b)]),_0x54995a=_0x6e721f[_0x416224(0x14d)],_0x166ecc=_0x6e721f[_0x416224(0x118)];console[_0x416224(0x11e)](_0x1ba2bb['TgsKu']('\x20\x20',_0x54995a[_0x416224(0x111)]));var _0x58c394=(0x0,pickleParser['getStepLineToPickledStepMap'])(_0x54995a);_0x166ecc[_0x416224(0x126)]['forEach'](function(_0x1aaa1f){const _0x107d69=_0x416224;if(_0x1aaa1f[_0x107d69(0x109)]&&_0x1aaa1f[_0x107d69(0x11b)])_0x4af855=!![],console[_0x107d69(0x11e)](_0x1ba2bb[_0x107d69(0x137)](_0x1ba2bb[_0x107d69(0x144)](_0x1ba2bb[_0x107d69(0x144)](_0x1ba2bb[_0x107d69(0xf7)],_0x58c394[_0x1aaa1f[_0x107d69(0x11b)]['line']]['text']),_0x1ba2bb[_0x107d69(0x136)]),_0x1aaa1f[_0x107d69(0x143)][_0x107d69(0xf6)][_0x107d69(0x121)]())),_0x1ba2bb[_0x107d69(0x12b)](_0x5adce7,_0x1aaa1f[_0x107d69(0x143)][_0x107d69(0xf6)]['toUpperCase']());else _0x1aaa1f[_0x107d69(0x109)]&&(!_0x1aaa1f[_0x107d69(0x109)][_0x107d69(0xfa)]['includes'](_0x1ba2bb['PLjpa'])&&(_0x1ba2bb[_0x107d69(0x13f)](_0x5adce7,_0x1aaa1f[_0x107d69(0x143)]['status'][_0x107d69(0x121)]()),_0x4af855?console['log'](_0x1ba2bb[_0x107d69(0x108)](_0x1ba2bb[_0x107d69(0x13a)],_0x1aaa1f[_0x107d69(0x143)][_0x107d69(0xf6)][_0x107d69(0x121)]())):console[_0x107d69(0x11e)](_0x1ba2bb['IuXpg'](_0x1ba2bb['MyBYm'],_0x1aaa1f[_0x107d69(0x143)]['status'][_0x107d69(0x121)]()))));if(_0x1ba2bb[_0x107d69(0x110)](_0x1aaa1f[_0x107d69(0x143)][_0x107d69(0xf6)][_0x107d69(0x121)](),_0x1ba2bb[_0x107d69(0x132)])){const _0xf13e1d=_0x1ba2bb[_0x107d69(0x119)](nestedKeyValue,_0x1aaa1f,[_0x1ba2bb[_0x107d69(0x13b)],_0x1ba2bb[_0x107d69(0x128)],_0x1ba2bb[_0x107d69(0x106)]]);_0xf13e1d&&(testsErrorMessage[_0x54995a[_0x107d69(0x111)]]=_0xf13e1d,console['log'](_0x1ba2bb[_0x107d69(0x108)](_0xf13e1d,'\x0a'))),_0x4a196a=!![];}});}else{const _0x3ea002=this[_0x416224(0x101)][_0x416224(0x10f)](_0xb92b02);console[_0x416224(0x11e)](_0x1ba2bb[_0x416224(0x108)](_0x1ba2bb[_0x416224(0xfe)](_0x1ba2bb[_0x416224(0x11f)]('\x20\x20',_0x3ea002[_0x416224(0x102)][_0x416224(0xf5)][_0x416224(0x111)]),_0x1ba2bb['eclpN']),_0x3ea002[_0x416224(0x14d)][_0x416224(0x111)]));const _0x14fdff=(0x0,pickleParser[_0x416224(0x115)])(_0x3ea002['pickle']),_0x34e61a=_0x3ea002[_0x416224(0x118)][_0x416224(0x126)],_0x472eda=_0x3ea002[_0x416224(0x11d)],_0x30db05=_0x34e61a[_0x416224(0x123)];for(let _0x2e25a8=0x0;_0x1ba2bb[_0x416224(0xf3)](_0x2e25a8,_0x30db05);_0x2e25a8++){const _0x37e245=_0x34e61a[_0x2e25a8];if(_0x37e245[_0x416224(0x109)]&&_0x37e245[_0x416224(0x11b)])_0x4af855=!![],console['log'](_0x1ba2bb[_0x416224(0xfb)](_0x1ba2bb[_0x416224(0x137)](_0x1ba2bb[_0x416224(0x144)](_0x1ba2bb[_0x416224(0xf7)],_0x14fdff[_0x37e245['sourceLocation'][_0x416224(0xfd)]][_0x416224(0xf4)]),_0x1ba2bb[_0x416224(0x136)]),_0x472eda[_0x2e25a8][_0x416224(0xf6)][_0x416224(0x121)]())),_0x1ba2bb[_0x416224(0x105)](_0x5adce7,_0x472eda[_0x2e25a8]['status'][_0x416224(0x121)]());else _0x37e245[_0x416224(0x109)]&&(!_0x37e245[_0x416224(0x109)]['uri'][_0x416224(0x12d)](_0x1ba2bb[_0x416224(0x12f)])&&(_0x1ba2bb[_0x416224(0x105)](_0x5adce7,_0x472eda[_0x2e25a8][_0x416224(0xf6)][_0x416224(0x121)]()),_0x4af855?console[_0x416224(0x11e)](_0x1ba2bb[_0x416224(0x107)](_0x1ba2bb[_0x416224(0x13a)],_0x472eda[_0x2e25a8]['status'][_0x416224(0x121)]())):console[_0x416224(0x11e)](_0x1ba2bb[_0x416224(0x148)](_0x1ba2bb['MyBYm'],_0x472eda[_0x2e25a8]['status'][_0x416224(0x121)]()))));if(_0x1ba2bb[_0x416224(0x113)](_0x472eda[_0x2e25a8][_0x416224(0xf6)]['toUpperCase'](),_0x1ba2bb[_0x416224(0x132)])){_0x4a196a=!![];const _0x48b42f=_0x1ba2bb[_0x416224(0x12c)](nestedKeyValue,_0x472eda[_0x2e25a8],[_0x1ba2bb['qUoVl'],_0x1ba2bb[_0x416224(0x106)]]);_0x48b42f&&(testsErrorMessage[_0x1ba2bb[_0x416224(0x14a)](_0x1ba2bb[_0x416224(0x108)](_0x3ea002[_0x416224(0x102)][_0x416224(0xf5)][_0x416224(0x111)],_0x1ba2bb['eclpN']),_0x3ea002[_0x416224(0x14d)]['name'])]=_0x48b42f,console[_0x416224(0x11e)](_0x1ba2bb[_0x416224(0x145)](_0x48b42f,'\x0a')));}}}_0x4a196a&&(testSuitesFailed+=0x1),console['log']('\x0a');}}function a7_0xc50b(_0x2fd9f8,_0x136223){const _0x1d6768=a7_0x1d67();return a7_0xc50b=function(_0xc50bb5,_0x4b5715){_0xc50bb5=_0xc50bb5-0xf3;let _0x49228e=_0x1d6768[_0xc50bb5];return _0x49228e;},a7_0xc50b(_0x2fd9f8,_0x136223);}module[a7_0x188dde(0x139)]=BrowserstackFormatter;function a7_0x1d67(){const _0x1c10a5=['wAWlk','getTestCaseData','sourceLocation','oQGsd','stepResults','log','NXmfU','exception','toUpperCase','900632JNSEfb','length','IuUMJ','1356990CfAQHC','steps','cucumber-js/test_old.setup.js','qUoVl','\x20-\x20','PENDING','RbAWP','uSKui','includes','AMBIGUOUS','PLjpa','AvGIa','__platform','chjkj','CFvwA','test-case-started','UNKNOWN','eclpN','IuXpg','\x20\x20\x20\x20','exports','DDOcH','vXQYv','3227538lhQujw','stack','SKIPPED','GBxGl','1768345abbZyw','3342004JXrIsK','EGXSr','result','WCmeT','kkVxI','fAsXm','yWsVq','LPYEh','eventBroadcaster','GCJur','YpBfx','JjQeu','pickle','logTestCaseFinished','vayXz','text','feature','status','vBFRe','UNDEFINED','\x20\x20\x20\x20BEFORE\x20-\x20','uri','TgsKu','xUEtn','line','seetR','FAILED','CONFIG','eventDataCollector','gherkinDocument','PASSED','cucumber','oKifW','HlEUc','DSDLz','yhzbd','actionLocation','parse','env','test-run-finished','zbFJZ','6Zvvvno','getTestCaseAttempt','uIfmg','name','1385513RKDkOO','sSRLl','7478548wsTbfW','getStepLineToPickledStepMap','UhDlr','undefined','testCase'];a7_0x1d67=function(){return _0x1c10a5;};return a7_0x1d67();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a8_0x214e23=a8_0xf0f8;(function(_0x3c5f0d,_0x20ae6b){const _0x392b7e=a8_0xf0f8,_0xd9c54=_0x3c5f0d();while(!![]){try{const _0x4d82a9=-parseInt(_0x392b7e(0x182))/0x1+-parseInt(_0x392b7e(0x133))/0x2*(-parseInt(_0x392b7e(0x135))/0x3)+-parseInt(_0x392b7e(0x178))/0x4*(parseInt(_0x392b7e(0x174))/0x5)+parseInt(_0x392b7e(0x141))/0x6+parseInt(_0x392b7e(0x15f))/0x7+parseInt(_0x392b7e(0x12c))/0x8*(parseInt(_0x392b7e(0x14d))/0x9)+-parseInt(_0x392b7e(0x187))/0xa;if(_0x4d82a9===_0x20ae6b)break;else _0xd9c54['push'](_0xd9c54['shift']());}catch(_0x233618){_0xd9c54['push'](_0xd9c54['shift']());}}}(a8_0x4630,0xba27f));function a8_0xf0f8(_0x44e7af,_0x55a89f){const _0x4630cc=a8_0x4630();return a8_0xf0f8=function(_0xf0f8fb,_0x3b2724){_0xf0f8fb=_0xf0f8fb-0x127;let _0xe9f917=_0x4630cc[_0xf0f8fb];return _0xe9f917;},a8_0xf0f8(_0x44e7af,_0x55a89f);}const os=require('os'),path=require(a8_0x214e23(0x14e)),fs=require('fs'),stripAnsi=require(a8_0x214e23(0x170)),{v4:uuidv4}=require(a8_0x214e23(0x18d)),util=require(a8_0x214e23(0x140)),hooksMap={},SessionHandler=require('../../helpers/test-observability/sessionHandler'),testhubUtils=require(a8_0x214e23(0x195)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a8_0x214e23(0x13e)),logger=require(a8_0x214e23(0x168))['winstonLogger'],{o11yClassErrorHandler}=require('../../helpers/test-observability/error-handler'),{FRAMEWORKS}=require('../../helpers/test-observability/constants.js'),TestDetails=require(a8_0x214e23(0x18e));this[a8_0x214e23(0x177)]=![],this[a8_0x214e23(0x1a6)]=null;function a8_0x4630(){const _0x19140e=['result','rule','find','uuid','../playwright/reporter/test-details','failure','every','failed','examples','SKIPPED','LBjjv','../../helpers/testhub/utils','getScenarioExamples','debug','pending','testSteps','tableBody','flatMap','failure_type','skipped','getCucumberHookType','HookRunFinished','root','pickle','SOaKj','zvEmy','message','join','_gitConfigPath','event_type','STHFo','value','test_run','vlXiq','XpXqY','sgjaz','tags','toISOString','5944584BsRjGt','Byftg','KJEBD','sendHook','astNodeIds','name','UEilO','274418RmEFAM','exports','21CCbTEJ','format','cells','test','pUBYh','map','length','push','UnhandledError','../../helpers/helper','javascript','util','7833456HvHAQM','zpyVD','BEFORE_EACH','uploadEventData','exception','sendTestRunEventForCucumber','finished_at','failure_reason','knszj','feature','yoNoH','relative','9QopTNq','path','AFTER_EACH','forEach','YgaAn','TFRSN','scenario','failureData','fVMVH','uri','sreEW','testCaseFinished','KQPmP','CAqWy','pickleStepId','myvEH','CUCUMBER','wBSlz','4397862iAsbhQ','unknown','HOMqv','filter','shyQv','stepResults','WwbdW','toLowerCase','_gitMetadata','../../helpers/logger','includes','failureType','getHookResult','DUMil','passed','testStepId','status','strip-ansi','vVbcl','appendTesthubParams','Bhuqa','5ZggNoc','JBYJE','qfpwK','_gitConfigured','5085196NtywLp','testCase','ZOzPd','aTUsH','failure_data','match','JaUCy','smKZI','configureGit','testCaseStartedId','454340nUpkcm','RiktC','ldSud','children','getHookRunEventData','11492440SZBGjm','APfyh','tagExpression'];a8_0x4630=function(){return _0x19140e;};return a8_0x4630();}class TestObservabilityReporter{async[a8_0x214e23(0x146)](_0x1a82cc,_0x4ccca1,_0x5b8f4c,_0x5e6e15,_0x255aca,_0x57145b={}){const _0x207b42=a8_0x214e23,_0x2cbce4={'cDzwu':function(_0x2ef6d2,_0x34f62d){return _0x2ef6d2===_0x34f62d;},'myvEH':'FAILED','APfyh':_0x207b42(0x191),'vlXiq':function(_0x1ce91a,_0x33c9e8){return _0x1ce91a===_0x33c9e8;},'sreEW':_0x207b42(0x193),'JaUCy':_0x207b42(0x19d),'vVbcl':function(_0x4e934c,_0x477905){return _0x4e934c||_0x477905;},'Bhuqa':function(_0x41cbb6,_0x32a855){return _0x41cbb6+_0x32a855;},'HOMqv':_0x207b42(0x138),'SOaKj':_0x207b42(0x13f),'smKZI':'cucumber','RiktC':_0x207b42(0x198),'sgjaz':_0x207b42(0x16d),'zpyVD':function(_0x5a6898,_0x48f302){return _0x5a6898/_0x48f302;},'RPjuV':function(_0x3bd9b1,_0x2f9aa1){return _0x3bd9b1===_0x2f9aa1;},'ldSud':function(_0x348c4a,_0x1390e8){return _0x348c4a(_0x1390e8);},'wBSlz':_0x207b42(0x160),'JBYJE':'AssertionError','WwbdW':'UnhandledError'},{feature:_0x59b456,scenario:_0x18b030,steps:_0xdaa048,uuid:_0x6d980,startedAt:_0x3a4b38,finishedAt:_0x3b12e6}=_0x2cbce4[_0x207b42(0x171)](_0x255aca,{}),_0x3db32b=this[_0x207b42(0x196)](_0x4ccca1,_0x5b8f4c);await this[_0x207b42(0x180)]();const _0x45f78d=_0x3db32b?_0x2cbce4[_0x207b42(0x173)](_0x2cbce4['Bhuqa'](_0x2cbce4['Bhuqa'](_0x5b8f4c[_0x207b42(0x131)],'\x20('),_0x3db32b[_0x207b42(0x1a5)](',\x20')),')'):_0x5b8f4c[_0x207b42(0x131)],_0x586edd={'uuid':_0x6d980,'started_at':_0x3a4b38,'finished_at':_0x3b12e6,'type':_0x2cbce4[_0x207b42(0x161)],'body':{'lang':_0x2cbce4[_0x207b42(0x1a2)],'code':null},'name':_0x45f78d,'scopes':[_0x59b456?.[_0x207b42(0x131)]||''],'tags':_0x5b8f4c[_0x207b42(0x12a)]?.[_0x207b42(0x13a)](({name:_0x3cf17b})=>_0x3cf17b),'file_name':_0x5b8f4c[_0x207b42(0x156)],'location':_0x5b8f4c[_0x207b42(0x156)],'vc_filepath':this[_0x207b42(0x1a6)]&&_0x5b8f4c['uri']?path[_0x207b42(0x14c)](this[_0x207b42(0x1a6)],_0x5b8f4c[_0x207b42(0x156)]):null,'framework':_0x2cbce4[_0x207b42(0x17f)],'result':_0x2cbce4[_0x207b42(0x183)],'meta':{'feature':_0x59b456,'scenario':_0x18b030,'steps':_0xdaa048,'examples':_0x3db32b},'customRerunParam':{'rerun_name':_0x45f78d}};if(_0x1a82cc[_0x207b42(0x158)]&&_0xdaa048){const _0x3eae0a=_0x1a82cc[_0x207b42(0x158)];let _0x3f6029=_0x2cbce4[_0x207b42(0x129)];_0xdaa048[_0x207b42(0x190)](_0x11deda=>{const _0xf99e6=_0x207b42;if(_0x2cbce4['cDzwu'](_0x11deda[_0xf99e6(0x18a)],_0x2cbce4[_0xf99e6(0x15c)]))return _0x3f6029=_0x2cbce4['APfyh'],_0x3eae0a['failure']=_0x11deda['failure'],_0x3eae0a[_0xf99e6(0x16a)]=_0x11deda[_0xf99e6(0x16a)],![];else{if(_0x2cbce4[_0xf99e6(0x127)](_0x11deda[_0xf99e6(0x18a)],_0x2cbce4[_0xf99e6(0x157)]))return _0x3f6029=_0x2cbce4[_0xf99e6(0x17e)],![];}return!![];}),_0x586edd[_0x207b42(0x147)]=new Date()[_0x207b42(0x12b)](),_0x586edd[_0x207b42(0x18a)]=_0x3f6029,_0x586edd['duration_in_ms']=_0x2cbce4[_0x207b42(0x142)](_0x3eae0a['timestamp']?.['nanos'],0xf4240),_0x2cbce4['RPjuV'](_0x3f6029,_0x2cbce4[_0x207b42(0x188)])&&(_0x586edd[_0x207b42(0x18f)]=[{'backtrace':[_0x3eae0a?.[_0x207b42(0x18f)]?_0x2cbce4[_0x207b42(0x184)](stripAnsi,_0x3eae0a?.[_0x207b42(0x18f)]):_0x2cbce4[_0x207b42(0x15e)]]}],_0x586edd[_0x207b42(0x148)]=_0x3eae0a?.[_0x207b42(0x18f)]?_0x2cbce4[_0x207b42(0x184)](stripAnsi,_0x3eae0a?.[_0x207b42(0x18f)]):_0x3eae0a[_0x207b42(0x1a4)],_0x3eae0a?.[_0x207b42(0x16a)]&&(_0x586edd[_0x207b42(0x19c)]=_0x3eae0a[_0x207b42(0x16a)][_0x207b42(0x17d)](/AssertError/)?_0x2cbce4[_0x207b42(0x175)]:_0x2cbce4[_0x207b42(0x165)]));}testhubUtils[_0x207b42(0x172)](_0x586edd,_0x5e6e15,'',FRAMEWORKS[_0x207b42(0x15d)]);const _0x3822f9={};_0x3822f9[_0x207b42(0x1a7)]=_0x5e6e15,_0x3822f9[_0x207b42(0x1aa)]=_0x586edd;const _0x32be65=_0x3822f9;await SessionHandler[_0x207b42(0x144)](_0x32be65);}[a8_0x214e23(0x186)](_0x14b16e,_0x4f572c,_0x4b5825,_0x7b7478,_0x456ae0,_0x35a0f3){const _0x306fc6=a8_0x214e23,_0x3c84d8={};_0x3c84d8[_0x306fc6(0x15a)]=function(_0x4f49ad,_0x1ce206){return _0x4f49ad===_0x1ce206;},_0x3c84d8[_0x306fc6(0x1a8)]=_0x306fc6(0x19f),_0x3c84d8[_0x306fc6(0x194)]=_0x306fc6(0x198),_0x3c84d8[_0x306fc6(0x12e)]='hook',_0x3c84d8[_0x306fc6(0x151)]=_0x306fc6(0x13f),_0x3c84d8[_0x306fc6(0x163)]='cucumber';const _0x4bf522=_0x3c84d8;if(_0x4bf522[_0x306fc6(0x15a)](_0x4f572c,_0x4bf522[_0x306fc6(0x1a8)])){const _0x4febc3=new Date()[_0x306fc6(0x12b)](),_0x2b9a74=_0x35a0f3['testCaseStartedId'],_0x3e3d91=hooksMap[_0x2b9a74];if(!_0x3e3d91)return;const _0x5d9f98=_0x3e3d91['find'](_0x52ed28=>_0x52ed28['uuid']===_0x4b5825['id']);if(!_0x5d9f98)return;const _0x475ee3=this[_0x306fc6(0x16b)](_0x14b16e,_0x35a0f3);_0x5d9f98[_0x306fc6(0x18a)]=_0x475ee3[_0x306fc6(0x16f)],_0x5d9f98[_0x306fc6(0x147)]=_0x4febc3,_0x5d9f98[_0x306fc6(0x19c)]=_0x475ee3['failureType'];const _0x20e070={};return _0x20e070['backtrace']=_0x475ee3[_0x306fc6(0x154)],_0x5d9f98[_0x306fc6(0x17c)]=[_0x20e070],_0x5d9f98;}const _0x3e2eed=TestDetails['getTestUUID'](_0x35a0f3[_0x306fc6(0x181)]),_0x5dd289=new Date()[_0x306fc6(0x12b)](),_0x3df158=_0x4bf522['LBjjv'],_0x298ba6=_0x4b5825[_0x306fc6(0x189)]?_0x4b5825[_0x306fc6(0x189)]['split']('\x20')[_0x306fc6(0x162)](_0x28961d=>_0x28961d[_0x306fc6(0x169)]('@')):null,_0x53d1b8=_0x14b16e[_0x306fc6(0x1a1)][_0x306fc6(0x156)],_0x4f4b22={'uuid':_0x4b5825['id'],'type':_0x4bf522[_0x306fc6(0x12e)],'hook_type':_0x456ae0,'name':_0x4b5825?.[_0x306fc6(0x131)]||'','body':{'lang':_0x4bf522[_0x306fc6(0x151)],'code':null},'tags':_0x298ba6,'test_run_id':_0x3e2eed,'scopes':[_0x7b7478?.[_0x306fc6(0x14a)]?.[_0x306fc6(0x131)]||''],'file_name':_0x53d1b8,'location':_0x53d1b8,'vc_filepath':this[_0x306fc6(0x167)]&&this[_0x306fc6(0x167)]['root']?path['relative'](this[_0x306fc6(0x167)][_0x306fc6(0x1a0)],_0x14b16e):null,'result':_0x3df158[_0x306fc6(0x16f)],'started_at':_0x5dd289,'framework':_0x4bf522[_0x306fc6(0x163)]};return _0x4f4b22;}async[a8_0x214e23(0x12f)](_0x3f958e,_0x2bb6c4,_0x5a0674,_0x3002a1){const _0xc5bb8=a8_0x214e23,_0x1790e1={};_0x1790e1[_0xc5bb8(0x176)]=function(_0x1e59b0,_0x39c0dd){return _0x1e59b0===_0x39c0dd;},_0x1790e1[_0xc5bb8(0x12d)]='HookRunStarted';const _0x3df307=_0x1790e1;try{const _0x48a684=_0x3f958e[_0xc5bb8(0x179)][_0xc5bb8(0x199)],_0x289a86=_0x48a684[_0xc5bb8(0x18c)](_0x5efc0a=>_0x5efc0a['id']===_0x3002a1[_0xc5bb8(0x16e)]);if(!_0x289a86['hookId'])return;const _0x539b90=_0x3002a1[_0xc5bb8(0x181)],_0x3f7797=this[_0xc5bb8(0x19e)](_0x48a684,_0x289a86),_0x3eb8aa=this['getHookRunEventData'](_0x3f958e,_0x2bb6c4,_0x289a86,_0x5a0674,_0x3f7797,_0x3002a1);if(!_0x3eb8aa)return;_0x3df307[_0xc5bb8(0x176)](_0x2bb6c4,_0x3df307[_0xc5bb8(0x12d)])&&(hooksMap[_0x539b90]?hooksMap[_0x539b90][_0xc5bb8(0x13c)](_0x3eb8aa):hooksMap[_0x539b90]=[_0x3eb8aa]);const _0x230215={};_0x230215[_0xc5bb8(0x1a7)]=_0x2bb6c4,_0x230215['hook_run']=_0x3eb8aa;const _0x40e4a1=_0x230215;await SessionHandler[_0xc5bb8(0x144)](_0x40e4a1);}catch(_0x3bb226){logger[_0xc5bb8(0x197)]('Exception\x20in\x20sending\x20hook\x20events:\x20'+util[_0xc5bb8(0x136)](_0x3bb226));}}[a8_0x214e23(0x16b)](_0x16d84d,_0x59fa9c){const _0x489de0=a8_0x214e23,_0x1714b7={};_0x1714b7[_0x489de0(0x16c)]=function(_0x2a1fba,_0x8002f9){return _0x2a1fba===_0x8002f9;},_0x1714b7['UEilO']=_0x489de0(0x191),_0x1714b7[_0x489de0(0x1a3)]=function(_0x38fa86,_0xbd69ff){return _0x38fa86===_0xbd69ff;},_0x1714b7[_0x489de0(0x149)]=_0x489de0(0x13d),_0x1714b7[_0x489de0(0x155)]='AssertionError',_0x1714b7[_0x489de0(0x14b)]=function(_0x47ea5c,_0x5de3f6){return _0x47ea5c||_0x5de3f6;};const _0x13d33c=_0x1714b7,_0x593c0a=_0x16d84d[_0x489de0(0x164)][_0x59fa9c['testStepId']];let _0x1015a7,_0x2f267f;return _0x13d33c[_0x489de0(0x16c)](_0x593c0a?.[_0x489de0(0x16f)]['toString']()[_0x489de0(0x166)](),_0x13d33c[_0x489de0(0x132)])&&(_0x1015a7=_0x13d33c['zvEmy'](_0x593c0a?.['exception'],undefined)?_0x593c0a?.[_0x489de0(0x1a4)]:_0x593c0a?.['exception']?.[_0x489de0(0x1a4)],_0x2f267f=_0x13d33c[_0x489de0(0x16c)](_0x593c0a?.[_0x489de0(0x145)],undefined)?_0x13d33c[_0x489de0(0x149)]:_0x593c0a?.['message']['match'](/Assert/)?_0x13d33c[_0x489de0(0x155)]:_0x13d33c['knszj']),{'status':_0x593c0a['status']['toLowerCase'](),'failureType':_0x13d33c['yoNoH'](_0x2f267f,null),'failureData':!_0x1015a7?null:[_0x1015a7]};}[a8_0x214e23(0x19e)](_0x2c8f7b,_0x37312b){const _0x1e7c7c=a8_0x214e23,_0x120b1c={};_0x120b1c['ZOzPd']=function(_0x29d456,_0x4288b8){return _0x29d456===_0x4288b8;},_0x120b1c['KQPmP']=_0x1e7c7c(0x14f),_0x120b1c[_0x1e7c7c(0x17b)]=_0x1e7c7c(0x143);const _0x132ca5=_0x120b1c;let _0xc13f40=![];for(const _0x5b9178 of _0x2c8f7b){_0x5b9178[_0x1e7c7c(0x15b)]&&(_0xc13f40=!![]);if(_0x132ca5[_0x1e7c7c(0x17a)](_0x37312b['id'],_0x5b9178['id']))return _0xc13f40?_0x132ca5[_0x1e7c7c(0x159)]:_0x132ca5[_0x1e7c7c(0x17b)];}}[a8_0x214e23(0x196)]=(_0x4b714a,_0x47d9eb)=>{const _0x9ed591=a8_0x214e23,_0x5e6fd6={};_0x5e6fd6['XpXqY']=function(_0x32e590,_0x58b7f0){return _0x32e590===_0x58b7f0;},_0x5e6fd6['UArBP']=function(_0x44871c,_0x1fd0d0){return _0x44871c===_0x1fd0d0;},_0x5e6fd6[_0x9ed591(0x152)]=function(_0x296c15,_0x58101e){return _0x296c15>_0x58101e;};const _0x19b76c=_0x5e6fd6;if(!_0x19b76c[_0x9ed591(0x152)](_0x47d9eb['astNodeIds']?.[_0x9ed591(0x13b)],0x1))return;const _0x4d7ee2=_0x47d9eb[_0x9ed591(0x130)][0x0],_0x361e2f=_0x47d9eb[_0x9ed591(0x130)][0x1],_0x7fb9f3=_0x4b714a[_0x9ed591(0x14a)]?.[_0x9ed591(0x185)];let _0x331ce2=[];_0x7fb9f3?.['forEach'](_0x410cc8=>{const _0x2c08f2=_0x9ed591;if(_0x410cc8[_0x2c08f2(0x18b)])_0x410cc8[_0x2c08f2(0x18b)][_0x2c08f2(0x185)][_0x2c08f2(0x150)](_0x246945=>{const _0x4d5cbc=_0x2c08f2;if(_0x246945[_0x4d5cbc(0x153)]&&_0x19b76c[_0x4d5cbc(0x128)](_0x246945[_0x4d5cbc(0x153)]['id'],_0x4d7ee2)&&_0x246945[_0x4d5cbc(0x153)]['examples']){const _0x3b1244=_0x246945[_0x4d5cbc(0x153)][_0x4d5cbc(0x192)][_0x4d5cbc(0x19b)](_0x46227f=>_0x46227f[_0x4d5cbc(0x19a)])[_0x4d5cbc(0x18c)](_0x1de328=>_0x1de328['id']===_0x361e2f)?.['cells'][_0x4d5cbc(0x13a)](_0x3a6c69=>_0x3a6c69['value']);_0x3b1244&&(_0x331ce2=_0x3b1244);}});else{if(_0x410cc8[_0x2c08f2(0x153)]&&_0x19b76c['UArBP'](_0x410cc8[_0x2c08f2(0x153)]['id'],_0x4d7ee2)&&_0x410cc8[_0x2c08f2(0x153)]['examples']){const _0x5e771b=_0x410cc8[_0x2c08f2(0x153)][_0x2c08f2(0x192)][_0x2c08f2(0x19b)](_0x34dd73=>_0x34dd73[_0x2c08f2(0x19a)])[_0x2c08f2(0x18c)](_0x4a378b=>_0x4a378b['id']===_0x361e2f)?.[_0x2c08f2(0x137)][_0x2c08f2(0x13a)](_0x21393e=>_0x21393e[_0x2c08f2(0x1a9)]);_0x5e771b&&(_0x331ce2=_0x5e771b);}}});if(_0x331ce2[_0x9ed591(0x13b)])return _0x331ce2;return;};async['configureGit'](){const _0x4bd171=a8_0x214e23,_0x3eacec={'pUBYh':function(_0x52e697){return _0x52e697();}};if(this[_0x4bd171(0x177)])return this['_gitConfigPath'];const _0xbf2341=await _0x3eacec[_0x4bd171(0x139)](getGitMetaData);_0xbf2341&&(this[_0x4bd171(0x1a6)]=_0xbf2341['root']),this['_gitConfigured']=!![];}}module[a8_0x214e23(0x134)]=o11yClassErrorHandler(TestObservabilityReporter,[a8_0x214e23(0x180),'getScenarioExamples',a8_0x214e23(0x19e),'getHookResult','sendHook',a8_0x214e23(0x186),a8_0x214e23(0x146)]);
|
|
1
|
+
const a8_0x37e491=a8_0x56d9;function a8_0x56d9(_0x2debb9,_0x11fd4b){const _0x4462a0=a8_0x4462();return a8_0x56d9=function(_0x56d91c,_0x4d36de){_0x56d91c=_0x56d91c-0x132;let _0x351d51=_0x4462a0[_0x56d91c];return _0x351d51;},a8_0x56d9(_0x2debb9,_0x11fd4b);}(function(_0x3fd5a4,_0x4f876e){const _0x179fec=a8_0x56d9,_0x41054e=_0x3fd5a4();while(!![]){try{const _0x170bf8=-parseInt(_0x179fec(0x1b1))/0x1+-parseInt(_0x179fec(0x147))/0x2+parseInt(_0x179fec(0x192))/0x3+-parseInt(_0x179fec(0x199))/0x4*(-parseInt(_0x179fec(0x191))/0x5)+parseInt(_0x179fec(0x17a))/0x6+parseInt(_0x179fec(0x1a6))/0x7+parseInt(_0x179fec(0x1bd))/0x8*(-parseInt(_0x179fec(0x16e))/0x9);if(_0x170bf8===_0x4f876e)break;else _0x41054e['push'](_0x41054e['shift']());}catch(_0x4edf8f){_0x41054e['push'](_0x41054e['shift']());}}}(a8_0x4462,0x99f86));const os=require('os'),path=require(a8_0x37e491(0x179)),fs=require('fs'),stripAnsi=require(a8_0x37e491(0x1b8)),{v4:uuidv4}=require(a8_0x37e491(0x198)),util=require(a8_0x37e491(0x1b3)),hooksMap={},SessionHandler=require(a8_0x37e491(0x1a7)),testhubUtils=require(a8_0x37e491(0x14b)),{getGitMetaData,isUndefined,nestedKeyValue}=require('../../helpers/helper'),logger=require(a8_0x37e491(0x160))[a8_0x37e491(0x180)],{o11yClassErrorHandler}=require(a8_0x37e491(0x1b4)),{FRAMEWORKS}=require(a8_0x37e491(0x14a)),TestDetails=require(a8_0x37e491(0x15c));this['_gitConfigured']=![],this[a8_0x37e491(0x1a2)]=null;class TestObservabilityReporter{async[a8_0x37e491(0x1b2)](_0x1df579,_0x439b01,_0x1d2f55,_0x417bcc,_0x1c4022,_0x1751d1={}){const _0x43bbfd=a8_0x37e491,_0x2f1c81={'xBjCV':function(_0x344b2f,_0x13ba54){return _0x344b2f===_0x13ba54;},'BvsWE':_0x43bbfd(0x18b),'BrkPz':_0x43bbfd(0x164),'FOCJc':_0x43bbfd(0x186),'NWHYM':'skipped','Mseqy':function(_0x52908f,_0x133c6b){return _0x52908f||_0x133c6b;},'cPUZR':function(_0x41cd94,_0xc246f6){return _0x41cd94+_0xc246f6;},'AGEUj':function(_0x3d8c8d,_0x49051a){return _0x3d8c8d+_0x49051a;},'AhAVV':_0x43bbfd(0x18a),'WsUFH':_0x43bbfd(0x163),'Rbemj':_0x43bbfd(0x181),'laWem':_0x43bbfd(0x1a3),'ulHmK':'passed','DYSoD':function(_0x4f3f79,_0x41bfca){return _0x4f3f79/_0x41bfca;},'tePMf':function(_0x894e80,_0x40db4e){return _0x894e80(_0x40db4e);},'cwLRC':_0x43bbfd(0x175),'NRmbV':_0x43bbfd(0x1bc),'xXTht':_0x43bbfd(0x176)},{feature:_0x4b2fac,scenario:_0x1811ac,steps:_0x6341ee,uuid:_0x349610,startedAt:_0x3c4068,finishedAt:_0x17a7ce}=_0x2f1c81[_0x43bbfd(0x1b5)](_0x1c4022,{}),_0x562543=this['getScenarioExamples'](_0x439b01,_0x1d2f55);await this[_0x43bbfd(0x185)]();const _0x21ab1e=_0x562543?_0x2f1c81['cPUZR'](_0x2f1c81[_0x43bbfd(0x14c)](_0x2f1c81[_0x43bbfd(0x149)](_0x1d2f55[_0x43bbfd(0x168)],'\x20('),_0x562543[_0x43bbfd(0x190)](',\x20')),')'):_0x1d2f55[_0x43bbfd(0x168)],_0x5eae9d={'uuid':_0x349610,'started_at':_0x3c4068,'finished_at':_0x17a7ce,'type':_0x2f1c81[_0x43bbfd(0x13e)],'body':{'lang':_0x2f1c81[_0x43bbfd(0x15a)],'code':null},'name':_0x21ab1e,'scopes':[_0x4b2fac?.['name']||''],'tags':_0x1d2f55[_0x43bbfd(0x1a5)]?.[_0x43bbfd(0x150)](({name:_0x1df49d})=>_0x1df49d),'file_name':_0x1d2f55[_0x43bbfd(0x173)],'location':_0x1d2f55['uri'],'vc_filepath':this[_0x43bbfd(0x1a2)]&&_0x1d2f55['uri']?path[_0x43bbfd(0x157)](this[_0x43bbfd(0x1a2)],_0x1d2f55[_0x43bbfd(0x173)]):null,'framework':_0x2f1c81['Rbemj'],'result':_0x2f1c81[_0x43bbfd(0x143)],'meta':{'feature':_0x4b2fac,'scenario':_0x1811ac,'steps':_0x6341ee,'examples':_0x562543},'customRerunParam':{'rerun_name':_0x21ab1e}};if(_0x1df579[_0x43bbfd(0x15d)]&&_0x6341ee){const _0x597182=_0x1df579[_0x43bbfd(0x15d)];let _0x37e037=_0x2f1c81[_0x43bbfd(0x1ab)];_0x6341ee['every'](_0x5dea7d=>{const _0x36f0b2=_0x43bbfd;if(_0x2f1c81[_0x36f0b2(0x13c)](_0x5dea7d[_0x36f0b2(0x16b)],_0x2f1c81[_0x36f0b2(0x153)]))return _0x37e037=_0x2f1c81['BrkPz'],_0x597182[_0x36f0b2(0x1b0)]=_0x5dea7d['failure'],_0x597182[_0x36f0b2(0x1af)]=_0x5dea7d[_0x36f0b2(0x1af)],![];else{if(_0x2f1c81[_0x36f0b2(0x13c)](_0x5dea7d[_0x36f0b2(0x16b)],_0x2f1c81[_0x36f0b2(0x17b)]))return _0x37e037=_0x2f1c81[_0x36f0b2(0x16d)],![];}return!![];}),_0x5eae9d[_0x43bbfd(0x1ae)]=new Date()[_0x43bbfd(0x144)](),_0x5eae9d['result']=_0x37e037,_0x5eae9d['duration_in_ms']=_0x2f1c81[_0x43bbfd(0x159)](_0x597182[_0x43bbfd(0x170)]?.[_0x43bbfd(0x134)],0xf4240),_0x2f1c81['xBjCV'](_0x37e037,_0x2f1c81['BrkPz'])&&(_0x5eae9d[_0x43bbfd(0x1b0)]=[{'backtrace':[_0x597182?.['failure']?_0x2f1c81[_0x43bbfd(0x1a1)](stripAnsi,_0x597182?.[_0x43bbfd(0x1b0)]):_0x2f1c81[_0x43bbfd(0x13f)]]}],_0x5eae9d[_0x43bbfd(0x152)]=_0x597182?.[_0x43bbfd(0x1b0)]?_0x2f1c81['tePMf'](stripAnsi,_0x597182?.[_0x43bbfd(0x1b0)]):_0x597182[_0x43bbfd(0x141)],_0x597182?.['failureType']&&(_0x5eae9d[_0x43bbfd(0x183)]=_0x597182[_0x43bbfd(0x1af)][_0x43bbfd(0x197)](/AssertError/)?_0x2f1c81[_0x43bbfd(0x135)]:_0x2f1c81[_0x43bbfd(0x195)]));}testhubUtils[_0x43bbfd(0x1ba)](_0x5eae9d,_0x417bcc,'',FRAMEWORKS[_0x43bbfd(0x196)]);const _0x86ace={};_0x86ace[_0x43bbfd(0x187)]=_0x417bcc,_0x86ace['test_run']=_0x5eae9d;const _0x49c8f4=_0x86ace;await SessionHandler[_0x43bbfd(0x148)](_0x49c8f4);}[a8_0x37e491(0x17d)](_0x1ebd29,_0xf3322,_0x377d4e,_0x449baf,_0x27a18b,_0x29f169){const _0x3ea3c4=a8_0x37e491,_0x21fcac={};_0x21fcac[_0x3ea3c4(0x142)]=function(_0x35d58a,_0x13bbfd){return _0x35d58a===_0x13bbfd;},_0x21fcac[_0x3ea3c4(0x182)]=_0x3ea3c4(0x1a0),_0x21fcac[_0x3ea3c4(0x19c)]=_0x3ea3c4(0x1a3),_0x21fcac[_0x3ea3c4(0x15b)]=_0x3ea3c4(0x1aa),_0x21fcac['gUCDN']='javascript',_0x21fcac[_0x3ea3c4(0x194)]=_0x3ea3c4(0x181);const _0x3ff4f3=_0x21fcac;if(_0x3ff4f3[_0x3ea3c4(0x142)](_0xf3322,_0x3ff4f3[_0x3ea3c4(0x182)])){const _0x189568=new Date()[_0x3ea3c4(0x144)](),_0x3b48d8=_0x29f169[_0x3ea3c4(0x1b9)],_0xefd564=hooksMap[_0x3b48d8];if(!_0xefd564)return;const _0x42ff82=_0xefd564['find'](_0x42b1c8=>_0x42b1c8[_0x3ea3c4(0x198)]===_0x377d4e['id']);if(!_0x42ff82)return;const _0x3515b3=this[_0x3ea3c4(0x167)](_0x1ebd29,_0x29f169);_0x42ff82[_0x3ea3c4(0x16b)]=_0x3515b3[_0x3ea3c4(0x1a4)],_0x42ff82['finished_at']=_0x189568,_0x42ff82[_0x3ea3c4(0x183)]=_0x3515b3[_0x3ea3c4(0x1af)];const _0x4b0350={};return _0x4b0350['backtrace']=_0x3515b3[_0x3ea3c4(0x166)],_0x42ff82[_0x3ea3c4(0x137)]=[_0x4b0350],_0x42ff82;}const _0x3726ee=TestDetails['getTestUUID'](_0x29f169[_0x3ea3c4(0x1b9)]),_0x4ee9c7=new Date()['toISOString'](),_0x1b6266=_0x3ff4f3[_0x3ea3c4(0x19c)],_0x12ccd3=_0x377d4e[_0x3ea3c4(0x17f)]?_0x377d4e[_0x3ea3c4(0x17f)][_0x3ea3c4(0x171)]('\x20')[_0x3ea3c4(0x17e)](_0x6ffcf5=>_0x6ffcf5[_0x3ea3c4(0x16c)]('@')):null,_0x24f5f1=_0x1ebd29[_0x3ea3c4(0x18c)][_0x3ea3c4(0x173)],_0x4e0678={'uuid':_0x377d4e['id'],'type':_0x3ff4f3['hiFIN'],'hook_type':_0x27a18b,'name':_0x377d4e?.[_0x3ea3c4(0x168)]||'','body':{'lang':_0x3ff4f3[_0x3ea3c4(0x1ac)],'code':null},'tags':_0x12ccd3,'test_run_id':_0x3726ee,'scopes':[_0x449baf?.[_0x3ea3c4(0x18f)]?.['name']||''],'file_name':_0x24f5f1,'location':_0x24f5f1,'vc_filepath':this['_gitMetadata']&&this[_0x3ea3c4(0x16a)]['root']?path[_0x3ea3c4(0x157)](this[_0x3ea3c4(0x16a)][_0x3ea3c4(0x132)],_0x1ebd29):null,'result':_0x1b6266[_0x3ea3c4(0x1a4)],'started_at':_0x4ee9c7,'framework':_0x3ff4f3[_0x3ea3c4(0x194)]};return _0x4e0678;}async[a8_0x37e491(0x178)](_0x431d6c,_0x112bcf,_0x24384e,_0x1304a4){const _0x4ca8a9=a8_0x37e491,_0x26f63e={};_0x26f63e[_0x4ca8a9(0x140)]=function(_0x292d54,_0x49982e){return _0x292d54===_0x49982e;},_0x26f63e[_0x4ca8a9(0x156)]=_0x4ca8a9(0x188);const _0x29cb0c=_0x26f63e;try{const _0x59e44c=_0x431d6c[_0x4ca8a9(0x139)][_0x4ca8a9(0x146)],_0x26f4c9=_0x59e44c[_0x4ca8a9(0x1b6)](_0x43c37a=>_0x43c37a['id']===_0x1304a4[_0x4ca8a9(0x19d)]);if(!_0x26f4c9[_0x4ca8a9(0x16f)])return;const _0x5f3aeb=_0x1304a4[_0x4ca8a9(0x1b9)],_0x1e1dbb=this[_0x4ca8a9(0x1a8)](_0x59e44c,_0x26f4c9),_0x102c0a=this['getHookRunEventData'](_0x431d6c,_0x112bcf,_0x26f4c9,_0x24384e,_0x1e1dbb,_0x1304a4);if(!_0x102c0a)return;_0x29cb0c[_0x4ca8a9(0x140)](_0x112bcf,_0x29cb0c['MbDOD'])&&(hooksMap[_0x5f3aeb]?hooksMap[_0x5f3aeb][_0x4ca8a9(0x151)](_0x102c0a):hooksMap[_0x5f3aeb]=[_0x102c0a]);const _0x5376c2={};_0x5376c2['event_type']=_0x112bcf,_0x5376c2[_0x4ca8a9(0x14e)]=_0x102c0a;const _0x169fa8=_0x5376c2;await SessionHandler[_0x4ca8a9(0x148)](_0x169fa8);}catch(_0x2ae4a2){logger[_0x4ca8a9(0x189)](_0x4ca8a9(0x13b)+util[_0x4ca8a9(0x19b)](_0x2ae4a2));}}[a8_0x37e491(0x167)](_0x4cea47,_0x339e51){const _0x59061f=a8_0x37e491,_0x2f04d0={};_0x2f04d0[_0x59061f(0x15e)]=function(_0x51aab8,_0x592ce2){return _0x51aab8===_0x592ce2;},_0x2f04d0[_0x59061f(0x155)]=_0x59061f(0x164),_0x2f04d0[_0x59061f(0x19f)]=function(_0x47231c,_0x5170f1){return _0x47231c===_0x5170f1;},_0x2f04d0[_0x59061f(0x1ad)]=_0x59061f(0x176),_0x2f04d0['PRdxW']='AssertionError',_0x2f04d0[_0x59061f(0x1bb)]=function(_0x1adc4a,_0x24fb1b){return _0x1adc4a||_0x24fb1b;};const _0x4f9dca=_0x2f04d0,_0x5076ac=_0x4cea47[_0x59061f(0x165)][_0x339e51[_0x59061f(0x19d)]];let _0x5c997f,_0x58929f;return _0x4f9dca[_0x59061f(0x15e)](_0x5076ac?.['status'][_0x59061f(0x145)]()['toLowerCase'](),_0x4f9dca['jYsjF'])&&(_0x5c997f=_0x4f9dca[_0x59061f(0x19f)](_0x5076ac?.['exception'],undefined)?_0x5076ac?.[_0x59061f(0x141)]:_0x5076ac?.[_0x59061f(0x14d)]?.['message'],_0x58929f=_0x4f9dca[_0x59061f(0x19f)](_0x5076ac?.[_0x59061f(0x14d)],undefined)?_0x4f9dca['cnrWY']:_0x5076ac?.[_0x59061f(0x141)][_0x59061f(0x197)](/Assert/)?_0x4f9dca['PRdxW']:_0x4f9dca['cnrWY']),{'status':_0x5076ac[_0x59061f(0x1a4)][_0x59061f(0x18e)](),'failureType':_0x4f9dca[_0x59061f(0x1bb)](_0x58929f,null),'failureData':!_0x5c997f?null:[_0x5c997f]};}['getCucumberHookType'](_0x2108e5,_0x7b23f1){const _0x2ffe87=a8_0x37e491,_0x58a6be={};_0x58a6be['yKZac']=function(_0x4be10d,_0x15f0c2){return _0x4be10d===_0x15f0c2;},_0x58a6be[_0x2ffe87(0x177)]=_0x2ffe87(0x13a),_0x58a6be[_0x2ffe87(0x184)]=_0x2ffe87(0x169);const _0x42f6e9=_0x58a6be;let _0x572f7a=![];for(const _0x2bcfa3 of _0x2108e5){_0x2bcfa3[_0x2ffe87(0x133)]&&(_0x572f7a=!![]);if(_0x42f6e9[_0x2ffe87(0x162)](_0x7b23f1['id'],_0x2bcfa3['id']))return _0x572f7a?_0x42f6e9[_0x2ffe87(0x177)]:_0x42f6e9[_0x2ffe87(0x184)];}}[a8_0x37e491(0x136)]=(_0x539f35,_0x5a4098)=>{const _0x1bb847=a8_0x37e491,_0x49dc6c={};_0x49dc6c[_0x1bb847(0x138)]=function(_0x150077,_0x1abdda){return _0x150077===_0x1abdda;},_0x49dc6c[_0x1bb847(0x1a9)]=function(_0x2c94e3,_0x182259){return _0x2c94e3>_0x182259;};const _0x38d713=_0x49dc6c;if(!_0x38d713[_0x1bb847(0x1a9)](_0x5a4098[_0x1bb847(0x161)]?.['length'],0x1))return;const _0x30e90c=_0x5a4098['astNodeIds'][0x0],_0x405efa=_0x5a4098[_0x1bb847(0x161)][0x1],_0x4ef769=_0x539f35[_0x1bb847(0x18f)]?.[_0x1bb847(0x193)];let _0x4551cb=[];_0x4ef769?.[_0x1bb847(0x18d)](_0x59d968=>{const _0x6e24d4=_0x1bb847,_0xf219b={'tLbhe':function(_0xaa99ae,_0x52bb88){const _0x3e73c2=a8_0x56d9;return _0x38d713[_0x3e73c2(0x138)](_0xaa99ae,_0x52bb88);}};if(_0x59d968[_0x6e24d4(0x17c)])_0x59d968[_0x6e24d4(0x17c)][_0x6e24d4(0x193)][_0x6e24d4(0x18d)](_0x4188f3=>{const _0x3a5d8d=_0x6e24d4;if(_0x4188f3[_0x3a5d8d(0x1b7)]&&_0xf219b['tLbhe'](_0x4188f3['scenario']['id'],_0x30e90c)&&_0x4188f3[_0x3a5d8d(0x1b7)][_0x3a5d8d(0x19a)]){const _0x433560=_0x4188f3[_0x3a5d8d(0x1b7)][_0x3a5d8d(0x19a)][_0x3a5d8d(0x14f)](_0x376dde=>_0x376dde[_0x3a5d8d(0x15f)])[_0x3a5d8d(0x1b6)](_0x6f29b0=>_0x6f29b0['id']===_0x405efa)?.['cells'][_0x3a5d8d(0x150)](_0x206070=>_0x206070[_0x3a5d8d(0x158)]);_0x433560&&(_0x4551cb=_0x433560);}});else{if(_0x59d968[_0x6e24d4(0x1b7)]&&_0x38d713['ZmUjA'](_0x59d968[_0x6e24d4(0x1b7)]['id'],_0x30e90c)&&_0x59d968[_0x6e24d4(0x1b7)][_0x6e24d4(0x19a)]){const _0x3e087e=_0x59d968['scenario'][_0x6e24d4(0x19a)][_0x6e24d4(0x14f)](_0x34aaf0=>_0x34aaf0[_0x6e24d4(0x15f)])[_0x6e24d4(0x1b6)](_0x2ad200=>_0x2ad200['id']===_0x405efa)?.[_0x6e24d4(0x13d)][_0x6e24d4(0x150)](_0x1fa232=>_0x1fa232[_0x6e24d4(0x158)]);_0x3e087e&&(_0x4551cb=_0x3e087e);}}});if(_0x4551cb[_0x1bb847(0x154)])return _0x4551cb;return;};async[a8_0x37e491(0x185)](){const _0x25593f=a8_0x37e491,_0x3f6cf5={'TiNzQ':function(_0x23b4f8){return _0x23b4f8();}};if(this[_0x25593f(0x174)])return this['_gitConfigPath'];const _0x4f5298=await _0x3f6cf5[_0x25593f(0x19e)](getGitMetaData);_0x4f5298&&(this[_0x25593f(0x1a2)]=_0x4f5298[_0x25593f(0x132)]),this[_0x25593f(0x174)]=!![];}}module[a8_0x37e491(0x172)]=o11yClassErrorHandler(TestObservabilityReporter,[a8_0x37e491(0x185),a8_0x37e491(0x136),a8_0x37e491(0x1a8),a8_0x37e491(0x167),a8_0x37e491(0x178),'getHookRunEventData',a8_0x37e491(0x1b2)]);function a8_0x4462(){const _0x565d45=['value','DYSoD','WsUFH','hiFIN','../playwright/reporter/test-details','testCaseFinished','ztLdA','tableBody','../../helpers/logger','astNodeIds','yKZac','javascript','failed','stepResults','failureData','getHookResult','name','BEFORE_EACH','_gitMetadata','result','includes','NWHYM','5774202RvdMOd','hookId','timestamp','split','exports','uri','_gitConfigured','unknown','UnhandledError','hgMDm','sendHook','path','6207048AekHlF','FOCJc','rule','getHookRunEventData','filter','tagExpression','winstonLogger','cucumber','Kggsq','failure_type','KASSq','configureGit','SKIPPED','event_type','HookRunStarted','debug','test','FAILED','pickle','forEach','toLowerCase','feature','join','160DQXVvb','839781ehHnyC','children','OzpGZ','xXTht','CUCUMBER','match','uuid','89828EdULGX','examples','format','YyrGf','testStepId','TiNzQ','wZtPH','HookRunFinished','tePMf','_gitConfigPath','pending','status','tags','6666912jwsrWn','../../helpers/test-observability/sessionHandler','getCucumberHookType','FoKgP','hook','ulHmK','gUCDN','cnrWY','finished_at','failureType','failure','536242DsurAY','sendTestRunEventForCucumber','util','../../helpers/test-observability/error-handler','Mseqy','find','scenario','strip-ansi','testCaseStartedId','appendTesthubParams','JMYlL','AssertionError','16AjydWr','root','pickleStepId','nanos','NRmbV','getScenarioExamples','failure_data','ZmUjA','testCase','AFTER_EACH','Exception\x20in\x20sending\x20hook\x20events:\x20','xBjCV','cells','AhAVV','cwLRC','SiEHI','message','lbYIt','laWem','toISOString','toString','testSteps','1070830rScSTj','uploadEventData','AGEUj','../../helpers/test-observability/constants.js','../../helpers/testhub/utils','cPUZR','exception','hook_run','flatMap','map','push','failure_reason','BvsWE','length','jYsjF','MbDOD','relative'];a8_0x4462=function(){return _0x565d45;};return a8_0x4462();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a9_0x1b097e=a9_0x55ca;(function(_0x192be9,_0x4cbbd3){const _0x2d41b8=a9_0x55ca,_0x1c133c=_0x192be9();while(!![]){try{const _0x3451ea=parseInt(_0x2d41b8(0x11f))/0x1*(parseInt(_0x2d41b8(0x1a6))/0x2)+-parseInt(_0x2d41b8(0x14d))/0x3*(-parseInt(_0x2d41b8(0x1b4))/0x4)+parseInt(_0x2d41b8(0x17b))/0x5*(-parseInt(_0x2d41b8(0x11d))/0x6)+parseInt(_0x2d41b8(0x15a))/0x7+parseInt(_0x2d41b8(0x130))/0x8+parseInt(_0x2d41b8(0x117))/0x9+-parseInt(_0x2d41b8(0x146))/0xa;if(_0x3451ea===_0x4cbbd3)break;else _0x1c133c['push'](_0x1c133c['shift']());}catch(_0x429c4b){_0x1c133c['push'](_0x1c133c['shift']());}}}(a9_0x49e0,0xef277));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra}=require(a9_0x1b097e(0x15b)),setKeepAlive=require(a9_0x1b097e(0x195)),util=require(a9_0x1b097e(0x133)),PerformanceTester=require(a9_0x1b097e(0x136)),{commandRepository}=require(a9_0x1b097e(0x1b5)),cucumberModule=requireModule('@cucumber/cucumber/lib/index.js'),logger=require('../../helpers/logger')[a9_0x1b097e(0x115)],{shouldProcessEventForTesthub}=require(a9_0x1b097e(0x128)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require('../../helpers/test-observability/utils'),TestDetails=require('../playwright/reporter/test-details.js'),RequestQueueHandler=require(a9_0x1b097e(0x12c)),{o11yErrorHandler}=require(a9_0x1b097e(0x1af)),MyReporter=require(a9_0x1b097e(0x15d)),SessionHandler=require('../../helpers/test-observability/sessionHandler'),scripts=require(a9_0x1b097e(0x19d)),globals=require(a9_0x1b097e(0x188)),testHubConstants=require('../../helpers/testhub/constants.js'),{shouldScanTestForAccessibility}=require(a9_0x1b097e(0x12a)),{isUndefined}=require('lodash'),a9_0x19c9ea={};a9_0x19c9ea[a9_0x1b097e(0x13d)]=undefined,a9_0x19c9ea[a9_0x1b097e(0x118)]={},a9_0x19c9ea[a9_0x1b097e(0x196)]=![],a9_0x19c9ea[a9_0x1b097e(0x118)]['id']=undefined,a9_0x19c9ea[a9_0x1b097e(0x118)][a9_0x1b097e(0x142)]=undefined;const workerDetails=a9_0x19c9ea;shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x590431){const _0x3d315d=a9_0x1b097e,_0x2a5e60=workerDetails[_0x3d315d(0x118)]['testInfo'];if(!_0x2a5e60)return;await MyReporter[_0x3d315d(0x177)](_0x2a5e60,_0x590431);}),registerListeners=()=>{const _0x2e3949=a9_0x1b097e,_0x2c05a5={};_0x2c05a5[_0x2e3949(0x1a8)]=_0x2e3949(0x182);const _0x1c892a=_0x2c05a5;logger[_0x2e3949(0x162)](_0x1c892a['wadSs']),process[_0x2e3949(0x17e)](_0x2e3949(0x1bc)+process[_0x2e3949(0x150)]),process['on']('bs:addLog:'+process[_0x2e3949(0x150)],sendTestLog),PerformanceTester[_0x2e3949(0x11b)]();};modifyCommand(),setKeepAlive();const Before=cucumberModule['Before'],After=cucumberModule[a9_0x1b097e(0x15c)],AfterAll=cucumberModule[a9_0x1b097e(0x153)],BeforeAll=cucumberModule[a9_0x1b097e(0x171)],AfterStep=cucumberModule[a9_0x1b097e(0x1a2)],configuration=process['env']['CONFIG'],bstackConfig=process[a9_0x1b097e(0x16c)][a9_0x1b097e(0x13f)];if(configuration!==undefined){const config=JSON[a9_0x1b097e(0x17d)](configuration);isBrowserstackInfra()?(global['__skipSessionName']=isTrue(config[a9_0x1b097e(0x12b)]),global['__skipSessionStatus']=isTrue(config[a9_0x1b097e(0x14a)])):(global['__skipSessionName']=!![],global['__skipSessionStatus']=!![]),shouldProcessEventForTesthub()?require(a9_0x1b097e(0x19b))[a9_0x1b097e(0x1a1)](config,null,!![]):require(a9_0x1b097e(0x19b))['browserstackAgentV2'](config),global[a9_0x1b097e(0x175)]=config['platformCaps']||{};}function a9_0x49e0(){const _0x39d3ea=['driverCleanup','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','AfterAll','error','XRjqh','cZJAo','toString','Dswov','HoNvW','9716014CHQsTj','../../helpers/helper','After','../playwright/reporter/reporter.js','length','YEslv','saveTestResults','kGtzH','debug','EmrOg','format','event_type','CTOod','pickleStep','status','Dqoei','hKfgM','Passed','env','Error:\x20sendPlatformDetails\x20at\x20After:\x20','NfOGp','Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20','setTestNameForHealingContext','BeforeAll','TICTw','__timeout','AfYnZ','__platformCaps','Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20','addTestUIDAndReportLog','stopMonitoring','push','ipiOH','175upoPJj','setDefaultTimeout','parse','removeAllListeners','zHdKk','CBTSessionCreated','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','Inside\x20browserstack\x20registerListeners','OtVLe','text','__error_messages__','finally','result','../../helpers/globals','info','shutdown','ENV_VAR','cucumber-js','message','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','bstackA11yShouldScan','Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20','thTestRunUuid','__skipSessionName','__drivers','setConfig','../../helpers/setKeepAlive','o11ySyncDone','quitCount_','YmREN','ZPJeY','Error:\x20at\x20After\x20Step:\x20','../../index','Error:\x20at\x20After:\x20','../../helpers/accessibility-automation/scripts','AzEXn','shift','pickle','browserstackAgentV2','AfterStep','failed','uCTux','BROWSERSTACK_TESTHUB_JWT','205898RMnGqm','Inside\x20browserstack\x20AfterAll','wadSs','QdmdD','uploadEventData','Failed:\x20','toLowerCase','rTUJo','stringify','../../helpers/test-observability/error-handler','bwvhW','timeout','qKHFW','Passed:\x20','3495036FGBkGy','../../helpers/ai-sdk/autoHealHelper','testCaseStartedId','BROWSERSTACK_TESTHUB_UUID','FyRwT','Inside\x20browserstack\x20Before','suvlP','2|3|0|1|4','bs:addLog:','\x22}}','QVkfS','winstonLogger','pypoj','11905335eTqISr','currentTest','OMHLI','XlVDt','startMonitoring','setFramework','9096xkUBMx','getInstance','5VAsTUe','ZPNbc','split','performScan','passed','executeAsyncScript','getTestUUID','VbjkA','tags','../../helpers/testhub/utils','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','../../helpers/accessibility-automation/helper','skipSessionName','../../helpers/test-observability/requestQueueHandler','setGlobal','__sessionFailed','WERIi','5197760OEbOOv','Inside\x20browserstack\x20BeforeAll','executeScript','util','RzJQG','initQuit','../../helpers/performance-tester','session_','Error:\x20quiting\x20driver\x20at\x20After:\x20','kYemv','Inside\x20browserstack\x20After','kSnGR','test_run','workerInfo','name','BSTACK_CONFIG','Uzjwr','bxzTf','testInfo','uuid','thJwtToken','yTBcm','37164060lzAmyT','join','\x20|\x20','bstack','skipSessionStatus','LeEVd','KwEjv','3izbfSV','Inside\x20browserstack\x20AfterStep','eTfYO','pid'];a9_0x49e0=function(){return _0x39d3ea;};return a9_0x49e0();}if(bstackConfig!==undefined){const browserStackConfig=JSON['parse'](bstackConfig);browserStackConfig&&(commandRepository[a9_0x1b097e(0x194)](browserStackConfig),commandRepository[a9_0x1b097e(0x11c)](a9_0x1b097e(0x18c)));}global[a9_0x1b097e(0x173)]=0x0;const __setDefaultTimeout=cucumberModule[a9_0x1b097e(0x17c)];cucumberModule[a9_0x1b097e(0x17c)]=_0x3ea081=>{const _0x33aad6=a9_0x1b097e,_0xb7ae7d={'AzEXn':function(_0x57ed79,_0x5ae7e7){return _0x57ed79(_0x5ae7e7);}};global[_0x33aad6(0x173)]=_0x3ea081,_0xb7ae7d[_0x33aad6(0x19e)](__setDefaultTimeout,_0x3ea081);};const a9_0x1bf31d={};a9_0x1bf31d['name']='bstack',BeforeAll(a9_0x1bf31d,function(){const _0x3f4df9=a9_0x1b097e,_0x48cea0={'LZMLS':function(_0x58b830,_0x17ef52,_0x5eb467,_0x183acd){return _0x58b830(_0x17ef52,_0x5eb467,_0x183acd);},'qKHFW':_0x3f4df9(0x1a3),'suvlP':_0x3f4df9(0x148),'NdFnP':function(_0xa89496,_0x27963e,_0x198a3d){return _0xa89496(_0x27963e,_0x198a3d);},'QdmdD':_0x3f4df9(0x123),'CTOod':_0x3f4df9(0x131),'BPzAv':function(_0x3f2621){return _0x3f2621();},'NfOGp':function(_0x3a90ee,_0xf59af1){return _0x3a90ee(_0xf59af1);}};PerformanceTester[_0x3f4df9(0x11b)](),logger[_0x3f4df9(0x162)](_0x48cea0[_0x3f4df9(0x166)]),global['__error_messages__']=[],global[_0x3f4df9(0x12e)]=![],_0x48cea0['BPzAv'](shouldProcessEventForTesthub)&&(_0x48cea0['BPzAv'](registerListeners),_0x48cea0[_0x3f4df9(0x16e)](addRequestSpy,![])),global[_0x3f4df9(0x151)]=async()=>{const _0x399a44=_0x3f4df9;let _0x2e94fa=![];try{await global[_0x399a44(0x193)][0x0][_0x399a44(0x137)],_0x2e94fa=!![],global[_0x399a44(0x12e)]?await _0x48cea0['LZMLS'](markSessionStatus,global[_0x399a44(0x193)][0x0],_0x48cea0[_0x399a44(0x1b2)],global[_0x399a44(0x185)][_0x399a44(0x147)](_0x48cea0[_0x399a44(0x1ba)])):await _0x48cea0['NdFnP'](markSessionStatus,global[_0x399a44(0x193)][0x0],_0x48cea0[_0x399a44(0x1a9)]);}catch(_0x1b76e4){logger['debug']('Error:\x20cleaning\x20up\x20driver:\x20'+_0x1b76e4);}global[_0x399a44(0x185)]=[],global[_0x399a44(0x12e)]=![];if(_0x2e94fa)try{await global[_0x399a44(0x193)][0x0][_0x399a44(0x135)]();}catch(_0x3a32ef){logger['debug'](_0x399a44(0x176)+_0x3a32ef);}};});const a9_0x1f298e={};a9_0x1f298e['name']=a9_0x1b097e(0x149),a9_0x1f298e['timeout']=0x2710,Before(a9_0x1f298e,function(_0x197b45,_0x532bc5){const _0x1d6d84=a9_0x1b097e,_0x417bb8={'pypoj':function(_0x4f05d9,_0x7014c4){return _0x4f05d9>_0x7014c4;},'ipiOH':function(_0x34ad53,_0x5e67fd){return _0x34ad53>_0x5e67fd;},'XlVDt':function(_0x3ad759,_0xf86c35){return _0x3ad759(_0xf86c35);},'RzJQG':function(_0x3fc53c,_0x463580,_0x2fa16e,_0x38e8dd){return _0x3fc53c(_0x463580,_0x2fa16e,_0x38e8dd);},'Dswov':_0x1d6d84(0x18f),'XOSaM':function(_0xbc8f5c){return _0xbc8f5c();},'cmfNy':_0x1d6d84(0x1b9)};commandRepository[_0x1d6d84(0x170)](_0x197b45['pickle'][_0x1d6d84(0x13e)]),logger[_0x1d6d84(0x162)](_0x417bb8['cmfNy']),new Promise(async _0x17a7d7=>{const _0x356d06=_0x1d6d84;try{_0x417bb8[_0x356d06(0x116)](global[_0x356d06(0x193)][_0x356d06(0x15e)],0x1)&&(await global[_0x356d06(0x151)](),global[_0x356d06(0x193)][_0x356d06(0x19f)]()),global[_0x356d06(0x193)][0x0][_0x356d06(0x197)]&&_0x417bb8[_0x356d06(0x17a)](global['__drivers'][0x0][_0x356d06(0x197)],0x0)&&await global['driverCleanup']();}catch(_0x59201d){}workerDetails[_0x356d06(0x118)][_0x356d06(0x142)]=_0x197b45['testCaseStartedId'];try{if(!_0x417bb8[_0x356d06(0x11a)](isUndefined,_0x197b45['pickle'][_0x356d06(0x127)])){const _0x18243b=_0x417bb8[_0x356d06(0x134)](shouldScanTestForAccessibility,null,![],_0x197b45[_0x356d06(0x1a0)]['tags']['map'](({name:_0x459796})=>_0x459796));globals[_0x356d06(0x12d)](_0x417bb8[_0x356d06(0x158)],_0x18243b);}}catch(_0x5b530d){logger[_0x356d06(0x162)](_0x356d06(0x190)+util[_0x356d06(0x164)](_0x5b530d));}_0x417bb8['XOSaM'](_0x17a7d7);})[_0x1d6d84(0x186)](_0x532bc5);});const a9_0xe28b04={};function a9_0x55ca(_0x22eb00,_0x45598d){const _0x49e02b=a9_0x49e0();return a9_0x55ca=function(_0x55ca98,_0x153ca1){_0x55ca98=_0x55ca98-0x113;let _0x52bb88=_0x49e02b[_0x55ca98];return _0x52bb88;},a9_0x55ca(_0x22eb00,_0x45598d);}a9_0xe28b04[a9_0x1b097e(0x13e)]=a9_0x1b097e(0x149),a9_0xe28b04[a9_0x1b097e(0x1b1)]=0x2710,After(a9_0xe28b04,function(_0x85be2f,_0x5ee979){const _0x46754a=a9_0x1b097e,_0x1f0e1b={'Dqoei':_0x46754a(0x1bb),'gBqYy':function(_0x3e3a58,_0x40c104){return _0x3e3a58>_0x40c104;},'FyRwT':function(_0x2ca926,_0x2947bf){return _0x2ca926===_0x2947bf;},'ZPNbc':_0x46754a(0x1a3),'hKfgM':function(_0x365a78,_0x409003,_0x235311,_0x1d22c0){return _0x365a78(_0x409003,_0x235311,_0x1d22c0);},'LeEVd':_0x46754a(0x148),'yTBcm':function(_0x1d692b,_0x183eaf,_0x3525a9){return _0x1d692b(_0x183eaf,_0x3525a9);},'VbjkA':'passed','bxzTf':function(_0x5e3ee0){return _0x5e3ee0();},'zHdKk':function(_0x3bb5f7,_0x245114,_0x5584b9,_0x46d779){return _0x3bb5f7(_0x245114,_0x5584b9,_0x46d779);},'AfYnZ':_0x46754a(0x180),'ZPJeY':'isAccessibilityPlatform','uCTux':'bstackA11yShouldScan','XRjqh':_0x46754a(0x152),'ZEtQY':'Performing\x20scan\x20before\x20saving\x20results','luwsh':_0x46754a(0x181),'qSgGm':function(_0x2396eb,_0x509711){return _0x2396eb>_0x509711;},'YmREN':_0x46754a(0x13a)};logger[_0x46754a(0x162)](_0x1f0e1b[_0x46754a(0x198)]),workerDetails[_0x46754a(0x118)][_0x46754a(0x142)]=_0x85be2f[_0x46754a(0x1b6)],new Promise(async _0x3bf176=>{const _0x574d99=_0x46754a;let _0x580870=![];try{const _0x5795be=_0x1f0e1b[_0x574d99(0x169)][_0x574d99(0x121)]('|');let _0x28d681=0x0;while(!![]){switch(_0x5795be[_0x28d681++]){case'0':_0x580870=!![];continue;case'1':!global[_0x574d99(0x192)]&&await global[_0x574d99(0x193)][0x0][_0x574d99(0x132)](_0x574d99(0x18e)+_0x85be2f[_0x574d99(0x1a0)][_0x574d99(0x13e)]+_0x574d99(0x113));continue;case'2':_0x1f0e1b['gBqYy'](global[_0x574d99(0x193)][_0x574d99(0x15e)],0x1)&&(await global['driverCleanup'](),global[_0x574d99(0x193)][_0x574d99(0x19f)](),global[_0x574d99(0x185)]=[],global[_0x574d99(0x12e)]=![]);continue;case'3':await global[_0x574d99(0x193)][0x0]['session_'];continue;case'4':if(_0x1f0e1b[_0x574d99(0x1b8)](_0x85be2f[_0x574d99(0x187)]['status'][_0x574d99(0x157)]()[_0x574d99(0x1ac)](),_0x1f0e1b[_0x574d99(0x120)])||_0x1f0e1b[_0x574d99(0x1b8)](_0x85be2f[_0x574d99(0x187)]['status'][_0x574d99(0x157)]()['toLowerCase'](),'6')){try{global[_0x574d99(0x185)][_0x574d99(0x179)](_0x85be2f[_0x574d99(0x187)]['message']);}catch(_0x1bfb75){logger[_0x574d99(0x162)](_0x574d99(0x16f)+_0x1bfb75);}await _0x1f0e1b[_0x574d99(0x16a)](markSessionStatus,global[_0x574d99(0x193)][0x0],_0x1f0e1b[_0x574d99(0x120)],global[_0x574d99(0x185)][_0x574d99(0x147)](_0x1f0e1b[_0x574d99(0x14b)]));}else await _0x1f0e1b[_0x574d99(0x145)](markSessionStatus,global[_0x574d99(0x193)][0x0],_0x1f0e1b[_0x574d99(0x126)]);continue;}break;}}catch(_0x582f32){logger['debug'](_0x574d99(0x19c)+util['format'](_0x582f32));}try{if(_0x1f0e1b['bxzTf'](shouldProcessEventForTesthub)){const _0x57046f=TestDetails[_0x574d99(0x125)](_0x85be2f[_0x574d99(0x1b6)]),_0x33daaf=await _0x1f0e1b[_0x574d99(0x17f)](sendPlatformDetails,global[_0x574d99(0x193)][0x0],_0x57046f,!![]),_0x42da4f={};_0x42da4f[_0x574d99(0x143)]=_0x57046f,_0x42da4f['integrations']=_0x33daaf;const _0x554836=_0x42da4f,_0x42f035={};_0x42f035[_0x574d99(0x165)]=_0x1f0e1b[_0x574d99(0x174)],_0x42f035[_0x574d99(0x13c)]=_0x554836,await SessionHandler[_0x574d99(0x1aa)](_0x42f035);}}catch(_0x153c78){logger[_0x574d99(0x162)](_0x574d99(0x16d)+util[_0x574d99(0x164)](_0x153c78));}try{if(globals['getGlobal'](_0x1f0e1b[_0x574d99(0x199)])&&globals['getGlobal'](_0x1f0e1b[_0x574d99(0x1a4)])){logger[_0x574d99(0x189)](_0x1f0e1b[_0x574d99(0x155)]);const _0x46d03c=TestDetails[_0x574d99(0x125)](_0x85be2f[_0x574d99(0x1b6)]),_0x4f79c5={};_0x4f79c5[_0x574d99(0x191)]=_0x46d03c,_0x4f79c5['thBuildUuid']=process[_0x574d99(0x16c)][testHubConstants[_0x574d99(0x18b)][_0x574d99(0x1b7)]],_0x4f79c5[_0x574d99(0x144)]=process[_0x574d99(0x16c)][testHubConstants[_0x574d99(0x18b)][_0x574d99(0x1a5)]];const _0x3ae08c=_0x4f79c5;logger[_0x574d99(0x162)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x574d99(0x1ae)](_0x3ae08c)),logger['debug'](_0x1f0e1b['ZEtQY']),logger[_0x574d99(0x162)](util[_0x574d99(0x164)](await global[_0x574d99(0x193)][0x0]['executeAsyncScript'](scripts[_0x574d99(0x122)],{'method':global['browserstackSessionName']}))),await global[_0x574d99(0x193)][0x0][_0x574d99(0x124)](scripts[_0x574d99(0x160)],_0x3ae08c),logger[_0x574d99(0x189)](_0x1f0e1b['luwsh']);}}catch(_0x4094cf){logger[_0x574d99(0x154)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20'+util[_0x574d99(0x164)]);}if(_0x580870)try{global['__drivers'][0x0]&&_0x1f0e1b['qSgGm'](global['__drivers'][0x0]['quitCount_'],0x0)&&await global[_0x574d99(0x193)][0x0][_0x574d99(0x135)]();}catch(_0xbf4009){logger['debug'](_0x574d99(0x138)+_0xbf4009);}_0x1f0e1b[_0x574d99(0x141)](_0x3bf176);})['finally'](()=>_0x5ee979());});const a9_0x6f5b56={};a9_0x6f5b56[a9_0x1b097e(0x13e)]=a9_0x1b097e(0x149),a9_0x6f5b56['timeout']=0x2710,AfterStep(a9_0x6f5b56,function(_0x2e4960,_0xa30461){const _0x5ed70d=a9_0x1b097e,_0x25898e={'OMHLI':function(_0x1fd723,_0x1043d5){return _0x1fd723===_0x1043d5;},'bwvhW':_0x5ed70d(0x1a3),'cZJAo':function(_0x403283,_0x515e09){return _0x403283===_0x515e09;},'QVkfS':function(_0x45a99b,_0x1014b4){return _0x45a99b!==_0x1014b4;},'TICTw':function(_0x347b30,_0x36e310,_0x96159f){return _0x347b30(_0x36e310,_0x96159f);},'HoNvW':function(_0x34f7ef,_0x2d15aa){return _0x34f7ef+_0x2d15aa;},'WERIi':function(_0x58030c,_0x2e241c){return _0x58030c+_0x2e241c;},'EmrOg':_0x5ed70d(0x1ab),'kYemv':'\x0aError:\x20','YEslv':_0x5ed70d(0x154),'rTUJo':function(_0x3482d8,_0x34fb25){return _0x3482d8+_0x34fb25;},'QgMOX':function(_0x42d11e,_0x35e9ab){return _0x42d11e+_0x35e9ab;},'kSnGR':_0x5ed70d(0x1b3),'kGtzH':_0x5ed70d(0x189),'KwEjv':_0x5ed70d(0x16b),'eTfYO':function(_0x423bc7){return _0x423bc7();},'Uzjwr':_0x5ed70d(0x14e)};logger[_0x5ed70d(0x162)](_0x25898e[_0x5ed70d(0x140)]);const _0x48e04f=async(_0x36ce7d,_0x16c708)=>{const _0x2c0217=_0x5ed70d;await global['__drivers'][0x0][_0x2c0217(0x132)](_0x2c0217(0x129)+_0x36ce7d+',\x22level\x22:\x20\x22'+_0x16c708+'\x22}}');};new Promise(async _0x318e3c=>{const _0x3b0914=_0x5ed70d;try{_0x25898e[_0x3b0914(0x119)](_0x2e4960['result'][_0x3b0914(0x168)][_0x3b0914(0x157)]()[_0x3b0914(0x1ac)](),_0x25898e[_0x3b0914(0x1b0)])||_0x25898e[_0x3b0914(0x156)](_0x2e4960['result'][_0x3b0914(0x168)][_0x3b0914(0x157)]()[_0x3b0914(0x1ac)](),'6')?(global['__sessionFailed']=!![],global[_0x3b0914(0x185)][_0x3b0914(0x179)](_0x2e4960[_0x3b0914(0x187)][_0x3b0914(0x18d)]),_0x25898e[_0x3b0914(0x114)](_0x2e4960[_0x3b0914(0x167)],undefined)?await _0x25898e[_0x3b0914(0x172)](_0x48e04f,JSON[_0x3b0914(0x1ae)](_0x25898e['HoNvW'](_0x25898e[_0x3b0914(0x159)](_0x25898e[_0x3b0914(0x12f)](_0x25898e[_0x3b0914(0x163)],'\x22'+_0x2e4960['pickleStep'][_0x3b0914(0x184)]+'\x22\x20'),_0x25898e[_0x3b0914(0x139)]),_0x2e4960[_0x3b0914(0x187)][_0x3b0914(0x18d)])),_0x25898e['YEslv']):await _0x25898e[_0x3b0914(0x172)](_0x48e04f,JSON[_0x3b0914(0x1ae)](_0x25898e[_0x3b0914(0x1ad)](_0x25898e['EmrOg'],_0x2e4960['result'][_0x3b0914(0x18d)])),_0x25898e[_0x3b0914(0x15f)])):_0x25898e[_0x3b0914(0x114)](_0x2e4960[_0x3b0914(0x167)],undefined)?await _0x25898e[_0x3b0914(0x172)](_0x48e04f,JSON[_0x3b0914(0x1ae)](_0x25898e['QgMOX'](_0x25898e[_0x3b0914(0x13b)],'\x22'+_0x2e4960[_0x3b0914(0x167)][_0x3b0914(0x184)]+'\x22')),_0x25898e[_0x3b0914(0x161)]):await _0x25898e[_0x3b0914(0x172)](_0x48e04f,JSON[_0x3b0914(0x1ae)](_0x25898e[_0x3b0914(0x14c)]),_0x25898e[_0x3b0914(0x161)]);}catch(_0x257405){logger['debug'](_0x3b0914(0x19a)+_0x257405);}_0x25898e[_0x3b0914(0x14f)](_0x318e3c);})['finally'](()=>_0xa30461());});const a9_0x4c6990={};a9_0x4c6990['name']=a9_0x1b097e(0x149),a9_0x4c6990[a9_0x1b097e(0x1b1)]=0x7530,AfterAll(a9_0x4c6990,async function(_0x61c0eb,_0x54efc6){const _0x328c0e=a9_0x1b097e,_0x4ecfda={'XQYLM':function(_0x411394){return _0x411394();},'OtVLe':_0x328c0e(0x1a7)};logger['debug'](_0x4ecfda[_0x328c0e(0x183)]),await new Promise(async _0x56a7b5=>{const _0x1d3646=_0x328c0e;await RequestQueueHandler[_0x1d3646(0x11e)]()[_0x1d3646(0x18a)](),PerformanceTester[_0x1d3646(0x178)](),await global[_0x1d3646(0x151)](),_0x4ecfda['XQYLM'](_0x56a7b5);});});
|
|
1
|
+
const a9_0x37ad67=a9_0x4d0a;function a9_0x2626(){const _0x58f784=['Inside\x20browserstack\x20BeforeAll','fRROf','../../helpers/test-observability/requestQueueHandler','28CGDagF','byLAa','WCumt','driverCleanup','passed','session_','name','setTestNameForHealingContext','env','@cucumber/cucumber/lib/index.js','1532568vORbGJ','join','__skipSessionStatus','bstack','plTbN','AAnSx','Passed:\x20','opAZI','gtUnb','511692OMAdam','AfterAll','executeScript','2653125QtazuJ','text','12762351HNwEpI','browserstackAgentV2','doVat','executeAsyncScript','ATuQs','lUTTh','parse','setConfig','fxKWN','../playwright/reporter/test-details.js','setDefaultTimeout','CBTSessionCreated','\x20|\x20','quDLG','tNkuX','\x22}}','Error:\x20at\x20After:\x20','twzPg','eYklC','finally','startMonitoring','727790AaYFdg','format','../../helpers/test-observability/sessionHandler','Fmmsb','dMThH','AILSs','__platformCaps','getTestUUID','1304723gRGQSr','MCAYb','getGlobal','Error:\x20at\x20After\x20Step:\x20','split','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20','pqXdO','../../helpers/test-observability/error-handler','debug','ckIfl','pid','dwxiO','pickle','toLowerCase','initQuit','skipSessionName','SMSLD','BAlDt','failed','Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20','Inside\x20browserstack\x20AfterStep','../../helpers/performance-tester','WXDXb','push','__error_messages__','../../helpers/setKeepAlive','Inside\x20browserstack\x20Before','thTestRunUuid','setFramework','Performing\x20scan\x20before\x20saving\x20results','gUORn','YAGDL','status','cucumber-js','error','bstackA11yShouldScan','../../index','iawpr','__timeout','KJGmw','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','o11ySyncDone','__drivers','llfAd','ENV_VAR','map','GkQhH','thJwtToken','saveTestResults','Inside\x20browserstack\x20registerListeners','removeAllListeners','platformCaps','wTWCP','Inside\x20browserstack\x20After','\x0aError:\x20','Error:\x20cleaning\x20up\x20driver:\x20','thBuildUuid','Inside\x20browserstack\x20AfterAll','performScan','9Qwnean','timeout','skipSessionStatus','pickleStep','lodash','testCaseStartedId','Error:\x20sendPlatformDetails\x20at\x20After:\x20','Njuvz','setGlobal',',\x22level\x22:\x20\x22','SnHok','info','eteNY','testInfo','NerAK','AfterStep','../../helpers/accessibility-automation/scripts','length','stringify','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','isAccessibilityPlatform','test_run','browserstackSessionName','../../helpers/test-observability/utils','CONFIG','toString','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','tags','result','Failed:\x20','__sessionFailed','qjzsS','3001992pppNjI','wOpqc','rLaGJ','BSTACK_CONFIG','BeforeAll','Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20','__skipSessionName','message','../../helpers/ai-sdk/autoHealHelper','currentTest','../../helpers/helper','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','RcWNn','xUwWT','yonVV','Error:\x20quiting\x20driver\x20at\x20After:\x20','getInstance','Passed','addTestUIDAndReportLog','BROWSERSTACK_TESTHUB_UUID'];a9_0x2626=function(){return _0x58f784;};return a9_0x2626();}(function(_0x2538e6,_0x3fe458){const _0x26820f=a9_0x4d0a,_0x4fba92=_0x2538e6();while(!![]){try{const _0x53b65e=parseInt(_0x26820f(0x1f5))/0x1+parseInt(_0x26820f(0x1ed))/0x2+parseInt(_0x26820f(0x230))/0x3*(parseInt(_0x26820f(0x1ca))/0x4)+-parseInt(_0x26820f(0x1d6))/0x5+parseInt(_0x26820f(0x1d3))/0x6*(-parseInt(_0x26820f(0x1c0))/0x7)+parseInt(_0x26820f(0x250))/0x8+-parseInt(_0x26820f(0x1d8))/0x9;if(_0x53b65e===_0x3fe458)break;else _0x4fba92['push'](_0x4fba92['shift']());}catch(_0x4e2f12){_0x4fba92['push'](_0x4fba92['shift']());}}}(a9_0x2626,0xdc94d));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra}=require(a9_0x37ad67(0x1b3)),setKeepAlive=require(a9_0x37ad67(0x20e)),util=require('util'),PerformanceTester=require(a9_0x37ad67(0x20a)),{commandRepository}=require(a9_0x37ad67(0x1b1)),cucumberModule=requireModule(a9_0x37ad67(0x1c9)),logger=require('../../helpers/logger')['winstonLogger'],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a9_0x37ad67(0x247)),TestDetails=require(a9_0x37ad67(0x1e1)),RequestQueueHandler=require(a9_0x37ad67(0x1bf)),{o11yErrorHandler}=require(a9_0x37ad67(0x1fc)),MyReporter=require('../playwright/reporter/reporter.js'),SessionHandler=require(a9_0x37ad67(0x1ef)),scripts=require(a9_0x37ad67(0x240)),globals=require('../../helpers/globals'),testHubConstants=require('../../helpers/testhub/constants.js'),{shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{isUndefined}=require(a9_0x37ad67(0x234)),a9_0x3811c0={};a9_0x3811c0['workerInfo']=undefined,a9_0x3811c0[a9_0x37ad67(0x1b2)]={},a9_0x3811c0[a9_0x37ad67(0x21e)]=![],a9_0x3811c0[a9_0x37ad67(0x1b2)]['id']=undefined,a9_0x3811c0[a9_0x37ad67(0x1b2)][a9_0x37ad67(0x23d)]=undefined;const workerDetails=a9_0x3811c0;function a9_0x4d0a(_0x262073,_0x2d2036){const _0x26265e=a9_0x2626();return a9_0x4d0a=function(_0x4d0abf,_0x1db24c){_0x4d0abf=_0x4d0abf-0x1b1;let _0x28f183=_0x26265e[_0x4d0abf];return _0x28f183;},a9_0x4d0a(_0x262073,_0x2d2036);}shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x3ae5aa){const _0x1e8545=a9_0x37ad67,_0x27daa0=workerDetails['currentTest'][_0x1e8545(0x23d)];if(!_0x27daa0)return;await MyReporter[_0x1e8545(0x1bb)](_0x27daa0,_0x3ae5aa);}),registerListeners=()=>{const _0x4cf21a=a9_0x37ad67,_0x570d6a={};_0x570d6a[_0x4cf21a(0x1e6)]=_0x4cf21a(0x226);const _0x10f9b6=_0x570d6a;logger['debug'](_0x10f9b6[_0x4cf21a(0x1e6)]),process[_0x4cf21a(0x227)]('bs:addLog:'+process[_0x4cf21a(0x1ff)]),process['on']('bs:addLog:'+process['pid'],sendTestLog),PerformanceTester['startMonitoring']();};modifyCommand(),setKeepAlive();const Before=cucumberModule['Before'],After=cucumberModule['After'],AfterAll=cucumberModule[a9_0x37ad67(0x1d4)],BeforeAll=cucumberModule[a9_0x37ad67(0x254)],AfterStep=cucumberModule[a9_0x37ad67(0x23f)],configuration=process[a9_0x37ad67(0x1c8)][a9_0x37ad67(0x248)],bstackConfig=process['env'][a9_0x37ad67(0x253)];if(configuration!==undefined){const config=JSON[a9_0x37ad67(0x1de)](configuration);isBrowserstackInfra()?(global[a9_0x37ad67(0x256)]=isTrue(config[a9_0x37ad67(0x204)]),global[a9_0x37ad67(0x1cc)]=isTrue(config[a9_0x37ad67(0x232)])):(global['__skipSessionName']=!![],global[a9_0x37ad67(0x1cc)]=!![]),shouldProcessEventForTesthub()?require(a9_0x37ad67(0x219))[a9_0x37ad67(0x1d9)](config,null,!![]):require(a9_0x37ad67(0x219))[a9_0x37ad67(0x1d9)](config),global[a9_0x37ad67(0x1f3)]=config[a9_0x37ad67(0x228)]||{};}if(bstackConfig!==undefined){const browserStackConfig=JSON[a9_0x37ad67(0x1de)](bstackConfig);browserStackConfig&&(commandRepository[a9_0x37ad67(0x1df)](browserStackConfig),commandRepository[a9_0x37ad67(0x211)](a9_0x37ad67(0x216)));}global['__timeout']=0x0;const __setDefaultTimeout=cucumberModule['setDefaultTimeout'];cucumberModule[a9_0x37ad67(0x1e2)]=_0x28f181=>{const _0x90dd3f=a9_0x37ad67,_0x39a652={'llfAd':function(_0x1db8ec,_0xc2bee6){return _0x1db8ec(_0xc2bee6);}};global[_0x90dd3f(0x21b)]=_0x28f181,_0x39a652[_0x90dd3f(0x220)](__setDefaultTimeout,_0x28f181);};const a9_0x145b91={};a9_0x145b91[a9_0x37ad67(0x1c6)]=a9_0x37ad67(0x1cd),BeforeAll(a9_0x145b91,function(){const _0x4bb880=a9_0x37ad67,_0x485be8={'AILSs':function(_0x28bac6,_0x57e7fc,_0xce16ab,_0x5f1134){return _0x28bac6(_0x57e7fc,_0xce16ab,_0x5f1134);},'sWDBF':_0x4bb880(0x207),'wTWCP':_0x4bb880(0x1e4),'eteNY':function(_0x47654d,_0x4a98be,_0x13481a){return _0x47654d(_0x4a98be,_0x13481a);},'ATuQs':_0x4bb880(0x1c4),'JNAPO':_0x4bb880(0x1bd),'iawpr':function(_0x22d992){return _0x22d992();},'AAnSx':function(_0x273bf7){return _0x273bf7();},'ckIfl':function(_0x54a2aa,_0x47385f){return _0x54a2aa(_0x47385f);}};PerformanceTester[_0x4bb880(0x1ec)](),logger[_0x4bb880(0x1fd)](_0x485be8['JNAPO']),global[_0x4bb880(0x20d)]=[],global[_0x4bb880(0x24e)]=![],_0x485be8[_0x4bb880(0x21a)](shouldProcessEventForTesthub)&&(_0x485be8[_0x4bb880(0x1cf)](registerListeners),_0x485be8[_0x4bb880(0x1fe)](addRequestSpy,![])),global[_0x4bb880(0x1c3)]=async()=>{const _0x18ff2c=_0x4bb880;let _0x180bce=![];try{await global['__drivers'][0x0][_0x18ff2c(0x1c5)],_0x180bce=!![],global[_0x18ff2c(0x24e)]?await _0x485be8[_0x18ff2c(0x1f2)](markSessionStatus,global[_0x18ff2c(0x21f)][0x0],_0x485be8['sWDBF'],global['__error_messages__'][_0x18ff2c(0x1cb)](_0x485be8[_0x18ff2c(0x229)])):await _0x485be8[_0x18ff2c(0x23c)](markSessionStatus,global[_0x18ff2c(0x21f)][0x0],_0x485be8[_0x18ff2c(0x1dc)]);}catch(_0x49a350){logger[_0x18ff2c(0x1fd)](_0x18ff2c(0x22c)+_0x49a350);}global[_0x18ff2c(0x20d)]=[],global[_0x18ff2c(0x24e)]=![];if(_0x180bce)try{await global[_0x18ff2c(0x21f)][0x0][_0x18ff2c(0x203)]();}catch(_0x58108f){logger[_0x18ff2c(0x1fd)](_0x18ff2c(0x208)+_0x58108f);}};});const a9_0x32fae4={};a9_0x32fae4['name']=a9_0x37ad67(0x1cd),a9_0x32fae4[a9_0x37ad67(0x231)]=0x2710,Before(a9_0x32fae4,function(_0x4c1574,_0x574331){const _0x4fa15c=a9_0x37ad67,_0x463897={'gtUnb':function(_0x317499,_0x42905b){return _0x317499>_0x42905b;},'Njuvz':function(_0x57ef45,_0x190c28){return _0x57ef45(_0x190c28);},'WXDXb':function(_0x37dc93,_0x27cd58,_0x88c494,_0x40f3ab){return _0x37dc93(_0x27cd58,_0x88c494,_0x40f3ab);},'JDVvE':_0x4fa15c(0x218),'XpXhu':function(_0x142cc9){return _0x142cc9();},'YVViK':_0x4fa15c(0x20f)};commandRepository[_0x4fa15c(0x1c7)](_0x4c1574[_0x4fa15c(0x201)]['name']),logger[_0x4fa15c(0x1fd)](_0x463897['YVViK']),new Promise(async _0x781bc7=>{const _0x453d18=_0x4fa15c;try{_0x463897[_0x453d18(0x1d2)](global[_0x453d18(0x21f)]['length'],0x1)&&(await global[_0x453d18(0x1c3)](),global[_0x453d18(0x21f)]['shift']()),global[_0x453d18(0x21f)][0x0]['quitCount_']&&_0x463897[_0x453d18(0x1d2)](global[_0x453d18(0x21f)][0x0]['quitCount_'],0x0)&&await global[_0x453d18(0x1c3)]();}catch(_0x437a3c){}workerDetails[_0x453d18(0x1b2)][_0x453d18(0x23d)]=_0x4c1574[_0x453d18(0x235)];try{if(!_0x463897[_0x453d18(0x237)](isUndefined,_0x4c1574[_0x453d18(0x201)][_0x453d18(0x24b)])){const _0x17b67d=_0x463897[_0x453d18(0x20b)](shouldScanTestForAccessibility,null,![],_0x4c1574[_0x453d18(0x201)]['tags'][_0x453d18(0x222)](({name:_0x189620})=>_0x189620));globals[_0x453d18(0x238)](_0x463897['JDVvE'],_0x17b67d);}}catch(_0xcf830d){logger[_0x453d18(0x1fd)](_0x453d18(0x255)+util['format'](_0xcf830d));}_0x463897['XpXhu'](_0x781bc7);})[_0x4fa15c(0x1eb)](_0x574331);});const a9_0x46efc8={};a9_0x46efc8[a9_0x37ad67(0x1c6)]=a9_0x37ad67(0x1cd),a9_0x46efc8[a9_0x37ad67(0x231)]=0x2710,After(a9_0x46efc8,function(_0x2b8100,_0x106aff){const _0x38862b=a9_0x37ad67,_0x5d31f4={'byLAa':'2|3|1|0|4','RcWNn':function(_0x413a1e,_0x40cc0a){return _0x413a1e>_0x40cc0a;},'lUTTh':function(_0xd6359,_0x8a82e8){return _0xd6359===_0x8a82e8;},'SnHok':_0x38862b(0x207),'eYklC':function(_0xd3aced,_0x5adc29,_0x4a7663,_0x447c64){return _0xd3aced(_0x5adc29,_0x4a7663,_0x447c64);},'twzPg':_0x38862b(0x1e4),'xUwWT':function(_0x44331a,_0x546e3c,_0x132b4d){return _0x44331a(_0x546e3c,_0x132b4d);},'dMThH':_0x38862b(0x1c4),'cCwVk':function(_0x1961eb){return _0x1961eb();},'XqPSU':function(_0x343de5,_0x584f22,_0x42ed00,_0x594baf){return _0x343de5(_0x584f22,_0x42ed00,_0x594baf);},'wxDYI':_0x38862b(0x1e3),'MCAYb':_0x38862b(0x244),'bCTQF':_0x38862b(0x218),'Fmmsb':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','fxKWN':_0x38862b(0x212),'wOpqc':_0x38862b(0x1b4),'YAYXR':_0x38862b(0x22a)};logger[_0x38862b(0x1fd)](_0x5d31f4['YAYXR']),workerDetails['currentTest'][_0x38862b(0x23d)]=_0x2b8100[_0x38862b(0x235)],new Promise(async _0x57c1b1=>{const _0x2710d3=_0x38862b;let _0x132b16=![];try{const _0xfd9877=_0x5d31f4[_0x2710d3(0x1c1)][_0x2710d3(0x1f9)]('|');let _0x20fa1a=0x0;while(!![]){switch(_0xfd9877[_0x20fa1a++]){case'0':!global[_0x2710d3(0x256)]&&await global[_0x2710d3(0x21f)][0x0]['executeScript'](_0x2710d3(0x243)+_0x2b8100[_0x2710d3(0x201)][_0x2710d3(0x1c6)]+_0x2710d3(0x1e7));continue;case'1':_0x132b16=!![];continue;case'2':_0x5d31f4[_0x2710d3(0x1b5)](global['__drivers'][_0x2710d3(0x241)],0x1)&&(await global[_0x2710d3(0x1c3)](),global[_0x2710d3(0x21f)]['shift'](),global[_0x2710d3(0x20d)]=[],global[_0x2710d3(0x24e)]=![]);continue;case'3':await global[_0x2710d3(0x21f)][0x0][_0x2710d3(0x1c5)];continue;case'4':if(_0x5d31f4[_0x2710d3(0x1dd)](_0x2b8100[_0x2710d3(0x24c)]['status']['toString']()[_0x2710d3(0x202)](),_0x5d31f4[_0x2710d3(0x23a)])||_0x5d31f4[_0x2710d3(0x1dd)](_0x2b8100[_0x2710d3(0x24c)][_0x2710d3(0x215)][_0x2710d3(0x249)]()['toLowerCase'](),'6')){try{global[_0x2710d3(0x20d)][_0x2710d3(0x20c)](_0x2b8100[_0x2710d3(0x24c)][_0x2710d3(0x257)]);}catch(_0x2c4e50){logger[_0x2710d3(0x1fd)]('Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20'+_0x2c4e50);}await _0x5d31f4[_0x2710d3(0x1ea)](markSessionStatus,global[_0x2710d3(0x21f)][0x0],_0x5d31f4['SnHok'],global['__error_messages__'][_0x2710d3(0x1cb)](_0x5d31f4[_0x2710d3(0x1e9)]));}else await _0x5d31f4[_0x2710d3(0x1b6)](markSessionStatus,global[_0x2710d3(0x21f)][0x0],_0x5d31f4[_0x2710d3(0x1f1)]);continue;}break;}}catch(_0x5a2001){logger[_0x2710d3(0x1fd)](_0x2710d3(0x1e8)+util[_0x2710d3(0x1ee)](_0x5a2001));}try{if(_0x5d31f4['cCwVk'](shouldProcessEventForTesthub)){const _0x96df13=TestDetails[_0x2710d3(0x1f4)](_0x2b8100['testCaseStartedId']),_0x292813=await _0x5d31f4['XqPSU'](sendPlatformDetails,global[_0x2710d3(0x21f)][0x0],_0x96df13,!![]),_0xb6b4b6={};_0xb6b4b6['uuid']=_0x96df13,_0xb6b4b6['integrations']=_0x292813;const _0x307421=_0xb6b4b6,_0x268849={};_0x268849['event_type']=_0x5d31f4['wxDYI'],_0x268849[_0x2710d3(0x245)]=_0x307421,await SessionHandler['uploadEventData'](_0x268849);}}catch(_0x552d52){logger[_0x2710d3(0x1fd)](_0x2710d3(0x236)+util['format'](_0x552d52));}try{if(globals['getGlobal'](_0x5d31f4[_0x2710d3(0x1f6)])&&globals[_0x2710d3(0x1f7)](_0x5d31f4['bCTQF'])){logger[_0x2710d3(0x23b)](_0x5d31f4[_0x2710d3(0x1f0)]);const _0x59985b=TestDetails[_0x2710d3(0x1f4)](_0x2b8100['testCaseStartedId']),_0x3ff3c1={};_0x3ff3c1[_0x2710d3(0x210)]=_0x59985b,_0x3ff3c1[_0x2710d3(0x22d)]=process['env'][testHubConstants[_0x2710d3(0x221)][_0x2710d3(0x1bc)]],_0x3ff3c1[_0x2710d3(0x224)]=process[_0x2710d3(0x1c8)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_JWT']];const _0x874447=_0x3ff3c1;logger[_0x2710d3(0x1fd)](_0x2710d3(0x24a)+JSON[_0x2710d3(0x242)](_0x874447)),logger[_0x2710d3(0x1fd)](_0x5d31f4[_0x2710d3(0x1e0)]),logger[_0x2710d3(0x1fd)](util[_0x2710d3(0x1ee)](await global[_0x2710d3(0x21f)][0x0]['executeAsyncScript'](scripts[_0x2710d3(0x22f)],{'method':global[_0x2710d3(0x246)]}))),await global[_0x2710d3(0x21f)][0x0][_0x2710d3(0x1db)](scripts[_0x2710d3(0x225)],_0x874447),logger['info'](_0x5d31f4[_0x2710d3(0x251)]);}}catch(_0xcb8bc2){logger[_0x2710d3(0x217)](_0x2710d3(0x1fa)+util[_0x2710d3(0x1ee)]);}if(_0x132b16)try{global[_0x2710d3(0x21f)][0x0]&&_0x5d31f4[_0x2710d3(0x1b5)](global[_0x2710d3(0x21f)][0x0]['quitCount_'],0x0)&&await global['__drivers'][0x0][_0x2710d3(0x203)]();}catch(_0x2f8fb3){logger[_0x2710d3(0x1fd)](_0x2710d3(0x1b8)+_0x2f8fb3);}_0x5d31f4['cCwVk'](_0x57c1b1);})[_0x38862b(0x1eb)](()=>_0x106aff());});const a9_0x2ce75e={};a9_0x2ce75e[a9_0x37ad67(0x1c6)]=a9_0x37ad67(0x1cd),a9_0x2ce75e[a9_0x37ad67(0x231)]=0x2710,AfterStep(a9_0x2ce75e,function(_0x11b42c,_0x5daa33){const _0x9b3a68=a9_0x37ad67,_0x28e0b2={'SMSLD':function(_0x2f4a83,_0x4aba3c){return _0x2f4a83===_0x4aba3c;},'KJGmw':_0x9b3a68(0x207),'kSGCk':function(_0x56b916,_0x36baa2){return _0x56b916===_0x36baa2;},'qjzsS':function(_0x9bbb59,_0x13ab00){return _0x9bbb59!==_0x13ab00;},'gUORn':function(_0x59cf7e,_0x3f4668,_0x1f88ce){return _0x59cf7e(_0x3f4668,_0x1f88ce);},'quDLG':function(_0x5e4870,_0x1383b1){return _0x5e4870+_0x1383b1;},'YAGDL':_0x9b3a68(0x24d),'opAZI':_0x9b3a68(0x22b),'GkQhH':_0x9b3a68(0x217),'yonVV':function(_0x53918b,_0x1bec6b,_0x156dec){return _0x53918b(_0x1bec6b,_0x156dec);},'WCumt':function(_0x267002,_0x1a042e){return _0x267002+_0x1a042e;},'rLaGJ':function(_0x377639,_0x3c128e){return _0x377639!==_0x3c128e;},'doVat':_0x9b3a68(0x1d0),'BAlDt':_0x9b3a68(0x23b),'pqXdO':_0x9b3a68(0x1ba),'dwxiO':function(_0x1db808){return _0x1db808();},'NerAK':_0x9b3a68(0x209)};logger['debug'](_0x28e0b2[_0x9b3a68(0x23e)]);const _0x4ecf41=async(_0x4d3ca3,_0x4e7212)=>{const _0x1acc86=_0x9b3a68;await global[_0x1acc86(0x21f)][0x0][_0x1acc86(0x1d5)](_0x1acc86(0x21d)+_0x4d3ca3+_0x1acc86(0x239)+_0x4e7212+_0x1acc86(0x1e7));};new Promise(async _0x40c06c=>{const _0x514e10=_0x9b3a68;try{_0x28e0b2[_0x514e10(0x205)](_0x11b42c[_0x514e10(0x24c)][_0x514e10(0x215)]['toString']()[_0x514e10(0x202)](),_0x28e0b2[_0x514e10(0x21c)])||_0x28e0b2['kSGCk'](_0x11b42c[_0x514e10(0x24c)][_0x514e10(0x215)][_0x514e10(0x249)]()[_0x514e10(0x202)](),'6')?(global[_0x514e10(0x24e)]=!![],global['__error_messages__'][_0x514e10(0x20c)](_0x11b42c['result'][_0x514e10(0x257)]),_0x28e0b2[_0x514e10(0x24f)](_0x11b42c['pickleStep'],undefined)?await _0x28e0b2[_0x514e10(0x213)](_0x4ecf41,JSON['stringify'](_0x28e0b2[_0x514e10(0x1e5)](_0x28e0b2[_0x514e10(0x1e5)](_0x28e0b2['quDLG'](_0x28e0b2[_0x514e10(0x214)],'\x22'+_0x11b42c[_0x514e10(0x233)][_0x514e10(0x1d7)]+'\x22\x20'),_0x28e0b2[_0x514e10(0x1d1)]),_0x11b42c[_0x514e10(0x24c)][_0x514e10(0x257)])),_0x28e0b2[_0x514e10(0x223)]):await _0x28e0b2[_0x514e10(0x1b7)](_0x4ecf41,JSON[_0x514e10(0x242)](_0x28e0b2[_0x514e10(0x1c2)](_0x28e0b2[_0x514e10(0x214)],_0x11b42c[_0x514e10(0x24c)][_0x514e10(0x257)])),_0x28e0b2['GkQhH'])):_0x28e0b2[_0x514e10(0x252)](_0x11b42c[_0x514e10(0x233)],undefined)?await _0x28e0b2[_0x514e10(0x1b7)](_0x4ecf41,JSON[_0x514e10(0x242)](_0x28e0b2[_0x514e10(0x1c2)](_0x28e0b2[_0x514e10(0x1da)],'\x22'+_0x11b42c['pickleStep'][_0x514e10(0x1d7)]+'\x22')),_0x28e0b2[_0x514e10(0x206)]):await _0x28e0b2[_0x514e10(0x1b7)](_0x4ecf41,JSON['stringify'](_0x28e0b2[_0x514e10(0x1fb)]),_0x28e0b2[_0x514e10(0x206)]);}catch(_0x460988){logger[_0x514e10(0x1fd)](_0x514e10(0x1f8)+_0x460988);}_0x28e0b2[_0x514e10(0x200)](_0x40c06c);})[_0x9b3a68(0x1eb)](()=>_0x5daa33());});const a9_0x213cca={};a9_0x213cca[a9_0x37ad67(0x1c6)]=a9_0x37ad67(0x1cd),a9_0x213cca['timeout']=0x7530,AfterAll(a9_0x213cca,async function(_0x43cdb6,_0x2073c4){const _0x5cb3c7=a9_0x37ad67,_0xb16561={'plTbN':function(_0x3c346e){return _0x3c346e();},'fRROf':_0x5cb3c7(0x22e)};logger[_0x5cb3c7(0x1fd)](_0xb16561[_0x5cb3c7(0x1be)]),await new Promise(async _0x1b01d4=>{const _0x480e08=_0x5cb3c7;await RequestQueueHandler[_0x480e08(0x1b9)]()['shutdown'](),PerformanceTester['stopMonitoring'](),await global[_0x480e08(0x1c3)](),_0xb16561[_0x480e08(0x1ce)](_0x1b01d4);});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a10_0x1427da=a10_0x2983;(function(_0xc9242b,_0x1d149f){const _0x59b268=a10_0x2983,_0x4ae109=_0xc9242b();while(!![]){try{const _0x5ebd3a=parseInt(_0x59b268(0xa6))/0x1*(-parseInt(_0x59b268(0x92))/0x2)+parseInt(_0x59b268(0xa8))/0x3+parseInt(_0x59b268(0x93))/0x4+-parseInt(_0x59b268(0x91))/0x5+parseInt(_0x59b268(0x95))/0x6+-parseInt(_0x59b268(0x7d))/0x7+parseInt(_0x59b268(0x8f))/0x8;if(_0x5ebd3a===_0x1d149f)break;else _0x4ae109['push'](_0x4ae109['shift']());}catch(_0x3878ff){_0x4ae109['push'](_0x4ae109['shift']());}}}(a10_0x4474,0x890c8));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require('../../helpers/helper'),setKeepAlive=require(a10_0x1427da(0xa7)),cucumberModule=requireModule('cucumber/lib/index.js'),logger=require(a10_0x1427da(0x81))[a10_0x1427da(0x94)];modifyCommand(),setKeepAlive();function a10_0x2983(_0x2991e3,_0x2fea45){const _0x4474a4=a10_0x4474();return a10_0x2983=function(_0x2983b6,_0x1f3a9c){_0x2983b6=_0x2983b6-0x75;let _0x2ae20e=_0x4474a4[_0x2983b6];return _0x2ae20e;},a10_0x2983(_0x2991e3,_0x2fea45);}const Before=cucumberModule[a10_0x1427da(0x99)],After=cucumberModule[a10_0x1427da(0x76)],configuration=process[a10_0x1427da(0x82)][a10_0x1427da(0x9f)];if(configuration!==undefined){const config=JSON[a10_0x1427da(0x8a)](configuration);isTrue(config['skipSessionName'])&&(global[a10_0x1427da(0x87)]=!![]),global['__skipSessionStatus']=isTrue(config[a10_0x1427da(0xa1)]),require(a10_0x1427da(0x7e))[a10_0x1427da(0x9e)](config),global[a10_0x1427da(0x9d)]=config[a10_0x1427da(0x88)]||{};}global[a10_0x1427da(0x85)]=0x0;const __setDefaultTimeout=cucumberModule[a10_0x1427da(0x97)];function a10_0x4474(){const _0x1d3c5e=['GgSBC','setDefaultTimeout','HTeyk','Before','\x22}}','AbdOb','Inside\x20browserstack\x20Before','__platformCaps','browserstackAgentV2','CONFIG','timeout','skipSessionStatus','nTNGG','toLowerCase','yQgpv','name','19163ykIlsu','../../helpers/setKeepAlive','1462563nxKiSy','WXUgk','After','debug','fgjJC','KzRFu','bstack','pickle','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','6071513MTZdHN','../../index','session_','\x20|\x20','../../helpers/logger','env','Error:\x20setting\x20status\x20at\x20After:\x20','executeScript','__timeout','ddoiz','__skipSessionName','platformCaps','__error_messages__','parse','Error:\x20quiting\x20at\x20After:\x20','Inside\x20browserstack\x20After','rSlXD','failed','3807608jYCbih','__driver','2194370DZaTfS','98QhfXhN','3358188sNckuh','winstonLogger','6021318LBhsut'];a10_0x4474=function(){return _0x1d3c5e;};return a10_0x4474();}cucumberModule['setDefaultTimeout']=_0x299c87=>{const _0x40014e=a10_0x1427da,_0x290083={'ddoiz':function(_0x53779a,_0xac8694){return _0x53779a(_0xac8694);}};global[_0x40014e(0x85)]=_0x299c87,_0x290083[_0x40014e(0x86)](__setDefaultTimeout,_0x299c87);};const a10_0x11bbea={};a10_0x11bbea[a10_0x1427da(0xa5)]=a10_0x1427da(0x7a),Before(a10_0x11bbea,function(){const _0xaa1541=a10_0x1427da,_0x51e608={};_0x51e608[_0xaa1541(0xa2)]=_0xaa1541(0x9c);const _0x1ea11c=_0x51e608;logger[_0xaa1541(0x77)](_0x1ea11c['nTNGG']),global[_0xaa1541(0x89)]=[];});const a10_0x16b4f6={};a10_0x16b4f6[a10_0x1427da(0xa5)]='bstack',a10_0x16b4f6[a10_0x1427da(0xa0)]=0x2710,After(a10_0x16b4f6,function(_0x33d101,_0x1c67a1){const _0x100c75=a10_0x1427da,_0x219c13={'HTeyk':function(_0x17c08f,_0x11e8a3){return _0x17c08f===_0x11e8a3;},'fgjJC':_0x100c75(0x8e),'AbdOb':function(_0x1fecd5,_0x4b7dc4,_0x2634a9,_0xc3c8c){return _0x1fecd5(_0x4b7dc4,_0x2634a9,_0xc3c8c);},'rSlXD':_0x100c75(0x80),'yQgpv':function(_0x21f792,_0x4519cc,_0x44ab3f){return _0x21f792(_0x4519cc,_0x44ab3f);},'NQusd':'passed','WXUgk':function(_0x3e13e2){return _0x3e13e2();},'KzRFu':function(_0x559a1a,_0x526aac){return _0x559a1a(_0x526aac);},'GgSBC':function(_0x222be7){return _0x222be7();},'dJeLd':_0x100c75(0x8c)};logger[_0x100c75(0x77)](_0x219c13['dJeLd']),new Promise(async(_0x4eb8c5,_0x52ea30)=>{const _0x7072c0=_0x100c75;let _0x35aa89=![];try{await global[_0x7072c0(0x90)][_0x7072c0(0x7f)],_0x35aa89=!![],!global[_0x7072c0(0x87)]&&await global['__driver'][_0x7072c0(0x84)](_0x7072c0(0x7c)+_0x33d101[_0x7072c0(0x7b)][_0x7072c0(0xa5)]+_0x7072c0(0x9a)),_0x219c13[_0x7072c0(0x98)](_0x33d101['result']['status'][_0x7072c0(0xa3)](),_0x219c13[_0x7072c0(0x78)])?await _0x219c13[_0x7072c0(0x9b)](markSessionStatus,global[_0x7072c0(0x90)],_0x219c13[_0x7072c0(0x78)],global[_0x7072c0(0x89)]['join'](_0x219c13[_0x7072c0(0x8d)])):await _0x219c13[_0x7072c0(0xa4)](markSessionStatus,global[_0x7072c0(0x90)],_0x219c13['NQusd']);}catch(_0x215fa9){logger[_0x7072c0(0x77)](_0x7072c0(0x83)+_0x215fa9);}if(_0x35aa89)try{await global[_0x7072c0(0x90)]['initQuit'](),_0x219c13[_0x7072c0(0x75)](_0x4eb8c5);}catch(_0x2e3c83){logger[_0x7072c0(0x77)](_0x7072c0(0x8b)+_0x2e3c83),_0x219c13[_0x7072c0(0x79)](_0x52ea30,_0x2e3c83);}else _0x219c13[_0x7072c0(0x96)](_0x52ea30);})['then'](()=>_0x1c67a1());});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a11_0xec998=a11_0x23a5;(function(_0xc69443,_0x2c0024){const _0x55e40d=a11_0x23a5,_0x27e3b3=_0xc69443();while(!![]){try{const _0x2a00da=-parseInt(_0x55e40d(0x15b))/0x1*(parseInt(_0x55e40d(0x157))/0x2)+parseInt(_0x55e40d(0x15c))/0x3*(-parseInt(_0x55e40d(0x161))/0x4)+parseInt(_0x55e40d(0x156))/0x5+parseInt(_0x55e40d(0x15d))/0x6*(parseInt(_0x55e40d(0x159))/0x7)+parseInt(_0x55e40d(0x15a))/0x8+parseInt(_0x55e40d(0x166))/0x9*(-parseInt(_0x55e40d(0x165))/0xa)+parseInt(_0x55e40d(0x158))/0xb*(parseInt(_0x55e40d(0x163))/0xc);if(_0x2a00da===_0x2c0024)break;else _0x27e3b3['push'](_0x27e3b3['shift']());}catch(_0x12fd39){_0x27e3b3['push'](_0x27e3b3['shift']());}}}(a11_0x3bf5,0xba457));function a11_0x3bf5(){const _0x25e53b=['1816970bvPOhd','27yJBotK','4404220kXVOXe','1404418pmyeVF','2277803DnBfcQ','9533657MDaehi','3615608hOVPbI','2jKULYW','9399faXNxm','6WIlnds','setDefaultTimeout','BSTACK_DELTA','cucumber/lib/index.js','1828mnJFsk','../utils/constants','84ohOLki','@cucumber/cucumber/lib/index.js'];a11_0x3bf5=function(){return _0x25e53b;};return a11_0x3bf5();}const {requireModule}=require('../../helpers/helper'),constants=require(a11_0xec998(0x162));;function a11_0x23a5(_0x306470,_0x17ccab){const _0x3bf57f=a11_0x3bf5();return a11_0x23a5=function(_0x23a560,_0x10d3f0){_0x23a560=_0x23a560-0x156;let _0x355012=_0x3bf57f[_0x23a560];return _0x355012;},a11_0x23a5(_0x306470,_0x17ccab);}let cucumberModule=null;try{cucumberModule=requireModule(a11_0xec998(0x164));}catch(a11_0x104f2b){cucumberModule=requireModule(a11_0xec998(0x160));}cucumberModule[a11_0xec998(0x15e)](constants[a11_0xec998(0x15f)]+global['__timeout']*0x1);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';function a12_0x347b(_0x35d541,_0x10658e){const _0x46118b=a12_0x4611();return a12_0x347b=function(_0x347bc3,_0xf5439b){_0x347bc3=_0x347bc3-0xf0;let _0x2ce6e5=_0x46118b[_0x347bc3];return _0x2ce6e5;},a12_0x347b(_0x35d541,_0x10658e);}const a12_0x589e77=a12_0x347b;(function(_0x47d7dc,_0x4d8f8d){const _0x8b01e4=a12_0x347b,_0x2d0995=_0x47d7dc();while(!![]){try{const _0x3a9769=parseInt(_0x8b01e4(0x108))/0x1+-parseInt(_0x8b01e4(0x131))/0x2*(-parseInt(_0x8b01e4(0xff))/0x3)+parseInt(_0x8b01e4(0x107))/0x4*(-parseInt(_0x8b01e4(0x12b))/0x5)+parseInt(_0x8b01e4(0x118))/0x6*(parseInt(_0x8b01e4(0xfd))/0x7)+parseInt(_0x8b01e4(0x10c))/0x8*(-parseInt(_0x8b01e4(0x116))/0x9)+parseInt(_0x8b01e4(0x115))/0xa*(parseInt(_0x8b01e4(0x110))/0xb)+-parseInt(_0x8b01e4(0x11b))/0xc*(parseInt(_0x8b01e4(0x112))/0xd);if(_0x3a9769===_0x4d8f8d)break;else _0x2d0995['push'](_0x2d0995['shift']());}catch(_0x306577){_0x2d0995['push'](_0x2d0995['shift']());}}}(a12_0x4611,0xb414b));const {default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),logger=require('../../helpers/logger')[a12_0x589e77(0xf5)],{URL}=require(a12_0x589e77(0x11a)),helper=require('../../helpers/helper'),{HELP_MESSAGES,ERROR_MESSAGES}=require(a12_0x589e77(0x100)),validHosts=function(_0x1be9c0){const _0x34f713=a12_0x589e77;return _0x1be9c0['split'](',')[_0x34f713(0xfb)](_0x363653=>{const _0x590e0a=_0x34f713;try{new URL(_0x363653[_0x590e0a(0xfc)]());}catch(_0x1f1a05){return![];}return!![];});},parseOnPremHosts=function(_0x12a58f){const _0x3087de=a12_0x589e77,_0x17fe5f={};_0x17fe5f[_0x3087de(0x121)]=function(_0x1f7561,_0x161165){return _0x1f7561===_0x161165;},_0x17fe5f[_0x3087de(0x10b)]='https:',_0x17fe5f[_0x3087de(0x104)]='443',_0x17fe5f['zsLGD']=function(_0x585f28,_0x45beb2){return _0x585f28===_0x45beb2;},_0x17fe5f[_0x3087de(0x124)]=_0x3087de(0x12d);const _0x263a7e=_0x17fe5f;return _0x12a58f[_0x3087de(0x105)](',')['map'](_0x6db520=>{const _0x458d83=_0x3087de,_0x59fe39=new URL(_0x6db520[_0x458d83(0xfc)]()),_0x4e7077=_0x59fe39['hostname'],_0x407193=_0x59fe39['port']||(_0x263a7e[_0x458d83(0x121)](_0x59fe39[_0x458d83(0x130)],_0x263a7e[_0x458d83(0x10b)])?_0x263a7e['SPmmE']:'80'),_0x15caa4=_0x59fe39[_0x458d83(0x130)][_0x458d83(0x11f)](':',''),_0x5ce40f=_0x263a7e[_0x458d83(0x12a)](_0x15caa4,_0x263a7e[_0x458d83(0x124)])?0x1:0x0;return _0x4e7077+','+_0x407193+','+_0x5ce40f;});},connectCommandBuilder=function(_0x3a4f9b){const _0xe95721=a12_0x589e77,_0x506db3={};_0x506db3[_0xe95721(0xf3)]='string';const _0x246bae=_0x506db3,_0x5525cb={};_0x5525cb[_0xe95721(0x120)]=HELP_MESSAGES[_0xe95721(0x111)]['bstackAccessKey'],_0x5525cb[_0xe95721(0xf0)]=_0x246bae[_0xe95721(0xf3)];const _0x5e5b63={};_0x5e5b63[_0xe95721(0x120)]=HELP_MESSAGES['options']['hosts'],_0x5e5b63[_0xe95721(0xf0)]=_0x246bae[_0xe95721(0xf3)],_0x5e5b63['demandOption']=!![];const _0x4180e8={};return _0x4180e8['bstack-accesskey']=_0x5525cb,_0x4180e8[_0xe95721(0x114)]=_0x5e5b63,_0x3a4f9b[_0xe95721(0x111)](_0x4180e8);},connectCommandHandler=async function(_0x4c204a){const _0x1f072f=a12_0x589e77,_0x28fbd3={'Bwcii':'integrations','wsPdI':function(_0xb85e,_0x4a6849){return _0xb85e===_0x4a6849;},'ehtVd':'undefined','PIIhw':_0x1f072f(0xf7),'lMNfy':'Integration\x20hosts\x20missing.','wxslN':function(_0x21079a,_0x590351){return _0x21079a(_0x590351);},'JIJjo':_0x1f072f(0x123),'hALum':_0x1f072f(0x10e),'tVWJd':'Connection\x20established\x20successfully.','yuogF':'Failed\x20to\x20establish\x20connection.'};try{const _0x5e3400=new BrowserStackSetup(_0x4c204a,_0x28fbd3[_0x1f072f(0x10a)]);_0x4c204a['bstackAccesskey']&&(_0x5e3400[_0x1f072f(0x12e)][_0x1f072f(0x128)]=_0x4c204a[_0x1f072f(0x11d)]);if(_0x28fbd3[_0x1f072f(0x117)](typeof _0x5e3400[_0x1f072f(0x12e)]['accessKey'],_0x28fbd3[_0x1f072f(0x11e)])){logger['error'](_0x28fbd3[_0x1f072f(0x103)]);throw new Error(ERROR_MESSAGES[_0x1f072f(0xf9)][_0x1f072f(0xf2)]);}const _0x51ffef=_0x4c204a['hosts'];if(_0x28fbd3[_0x1f072f(0x117)](typeof _0x51ffef,_0x28fbd3[_0x1f072f(0x11e)])){logger['error'](_0x28fbd3['lMNfy']);throw new Error(ERROR_MESSAGES[_0x1f072f(0x114)][_0x1f072f(0xf2)]);}if(!_0x28fbd3[_0x1f072f(0x127)](validHosts,_0x51ffef)){logger[_0x1f072f(0x129)](_0x28fbd3[_0x1f072f(0x119)]);throw new Error(ERROR_MESSAGES[_0x1f072f(0x114)][_0x1f072f(0xf6)]);}const _0x409e52=_0x28fbd3[_0x1f072f(0x127)](parseOnPremHosts,_0x51ffef);_0x5e3400['config']['browserstackLocal']=!![],_0x5e3400[_0x1f072f(0x12e)][_0x1f072f(0x12c)][_0x1f072f(0x113)]=_0x28fbd3[_0x1f072f(0x109)],_0x5e3400[_0x1f072f(0x12e)]['browserStackLocalOptions'][_0x1f072f(0x106)]=_0x409e52[_0x1f072f(0x125)](','),helper[_0x1f072f(0x11c)](_0x5e3400['config']),await _0x5e3400[_0x1f072f(0xfa)](),logger[_0x1f072f(0x101)](_0x28fbd3['tVWJd']);}catch(_0x2cbccc){logger['error'](_0x28fbd3[_0x1f072f(0xf1)]);throw new Error(_0x2cbccc[_0x1f072f(0x10d)]());}};function run(_0x29bd2f){const _0x4525a5=a12_0x589e77,_0x5ca273={};_0x5ca273[_0x4525a5(0xf8)]='connect',_0x5ca273[_0x4525a5(0xf4)]='help';const _0xe29e52=_0x5ca273;_0x29bd2f['usage'](HELP_MESSAGES[_0x4525a5(0xfe)][_0x4525a5(0x102)])[_0x4525a5(0xfe)](_0xe29e52[_0x4525a5(0xf8)],HELP_MESSAGES[_0x4525a5(0xfe)][_0x4525a5(0x10f)],connectCommandBuilder,connectCommandHandler)['demandCommand']()[_0x4525a5(0x12f)](_0xe29e52[_0x4525a5(0xf4)])[_0x4525a5(0x122)](HELP_MESSAGES['command'][_0x4525a5(0x132)]);}function a12_0x4611(){const _0x55f342=['236220naHlJA','4579371BjDbEN','wsPdI','12BhFKSi','JIJjo','url','96CbiKak','setProxySettings','bstackAccesskey','ehtVd','replace','describe','UlRZh','epilogue','Hosts\x20not\x20valid','shASJ','join','exports','wxslN','accessKey','error','zsLGD','6332745LkUxBE','browserStackLocalOptions','https','config','help','protocol','10agpHKT','footer','type','yuogF','missing','pKJxP','Btjey','winstonLogger','invalid','BrowserStack\x20access\x20key\x20missing.','MIrtM','bstackAccessKey','setupBrowserstackLocal','every','trim','3668861oJzjOU','command','417435vVGrsL','./constants','info','root','PIIhw','SPmmE','split','only','4ZOVDrd','1071076pRQFDb','hALum','Bwcii','BtZtl','8IdsQNi','toString','integrations-repeater','connect','22gEeblA','options','567632SuuSsu','localIdentifier','hosts'];a12_0x4611=function(){return _0x55f342;};return a12_0x4611();}module[a12_0x589e77(0x126)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
function a13_0x9510(){var _0x1a9c21=['15CAgvxi','4557098NLlxiB','119976qmgVgi','Integration\x20hosts\x20are\x20not\x20in\x20the\x20right\x20format.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','ERROR_MESSAGES','options','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','hosts','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','missing','205150ScueTJ','bstackAccessKey','17036iTGcnj','HELP_MESSAGES','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','121PLxrXD','142356pIfKkd','connect','This\x20option\x20allows\x20you\x20to\x20provide\x20additional\x20configuration\x20specific\x20to\x20your\x20environment.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','130404CRMImc','38zopJNP','162SinDrt','root','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','363954mhqLav'];a13_0x9510=function(){return _0x1a9c21;};return a13_0x9510();}var a13_0x200ea8=a13_0x20a1;(function(_0x565f1e,_0x4b1c87){var _0x2e3edf=a13_0x20a1,_0x575705=_0x565f1e();while(!![]){try{var _0xcd6bdf=parseInt(_0x2e3edf(0x95))/0x1*(-parseInt(_0x2e3edf(0xa7))/0x2)+-parseInt(_0x2e3edf(0x94))/0x3+parseInt(_0x2e3edf(0x91))/0x4+parseInt(_0x2e3edf(0x9a))/0x5*(parseInt(_0x2e3edf(0x99))/0x6)+parseInt(_0x2e3edf(0x9b))/0x7+parseInt(_0x2e3edf(0x9c))/0x8*(parseInt(_0x2e3edf(0x96))/0x9)+parseInt(_0x2e3edf(0xa5))/0xa*(-parseInt(_0x2e3edf(0x90))/0xb);if(_0xcd6bdf===_0x4b1c87)break;else _0x575705['push'](_0x575705['shift']());}catch(_0x27d4f9){_0x575705['push'](_0x575705['shift']());}}}(a13_0x9510,0x853ad));var a13_0x27e068={};a13_0x27e068[a13_0x200ea8(0xa6)]=a13_0x200ea8(0x98),a13_0x27e068[a13_0x200ea8(0xa2)]=a13_0x200ea8(0x93);var a13_0x37d780={};a13_0x37d780[a13_0x200ea8(0x97)]='Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.',a13_0x37d780[a13_0x200ea8(0x92)]=a13_0x200ea8(0xa1),a13_0x37d780['footer']=a13_0x200ea8(0xa3);var a13_0x149c33={};a13_0x149c33[a13_0x200ea8(0xa0)]=a13_0x27e068,a13_0x149c33['command']=a13_0x37d780,exports[a13_0x200ea8(0xa8)]=a13_0x149c33;var a13_0x47d707={};a13_0x47d707[a13_0x200ea8(0xa4)]=a13_0x200ea8(0x9e);var a13_0x5bf221={};a13_0x5bf221[a13_0x200ea8(0xa4)]=a13_0x200ea8(0xa9),a13_0x5bf221['invalid']=a13_0x200ea8(0x9d);var a13_0x5ee0b6={};function a13_0x20a1(_0x10b7ff,_0x3d7417){var _0x95108d=a13_0x9510();return a13_0x20a1=function(_0x20a12a,_0x1aa1e1){_0x20a12a=_0x20a12a-0x90;var _0x253eb4=_0x95108d[_0x20a12a];return _0x253eb4;},a13_0x20a1(_0x10b7ff,_0x3d7417);}a13_0x5ee0b6[a13_0x200ea8(0xa6)]=a13_0x47d707,a13_0x5ee0b6[a13_0x200ea8(0xa2)]=a13_0x5bf221,exports[a13_0x200ea8(0x9f)]=a13_0x5ee0b6;
|