browserstack-node-sdk 1.34.7 → 1.34.9
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_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
|
+
const a6_0x3d309d=a6_0x4bff;function a6_0x4bff(_0x4daa3b,_0x1a0159){const _0x3dcdf3=a6_0x3dcd();return a6_0x4bff=function(_0x4bff25,_0x682f2d){_0x4bff25=_0x4bff25-0xf2;let _0x48d5bb=_0x3dcdf3[_0x4bff25];return _0x48d5bb;},a6_0x4bff(_0x4daa3b,_0x1a0159);}function a6_0x3dcd(){const _0xd9e418=['onTestRunFinished','scenario','6XbTPJx','exports','ItLsL','../../../helpers/testhub/utils.js','isBstackHook','lpfjZ','CPLZk','testCaseAttemptDataMap','4456050bWDxhx','gxfrq','finished_at','VwyiY','duration','feature','HookRunStarted','6752515UcoTjN','split','onHook','actionLocation','mbEIl','eventDataCollector','text','logTestCaseFinished','fKJIa','Exception\x20in\x20sending\x20onTestCaseFinished\x20event:\x20\x20','qVNpO','testCaseMap','TestRunStarted','onTestCase','bUNHw','FAILED','status','find','gherkinDocument','HookRunFinished','incrementCounter','18Malcge','1FzbJCv','MJYRJ','../../../helpers/logger','Qpozm','MpyKe','toISOString','testCase','kGkpX','BTtHc','winstonLogger','PtUlu','pickleId','testRunFinished','BiiIk','VINbp','testStepStarted','pickle','../../../helpers/test-observability/error-handler','bbZRR','getGherkinStepMap','gherkinDocumentMap','1148858RMPoEK','PENDING','onTestStepStarted','UNKNOWN','../test-observability.js','AMBIGUOUS','report','QxhNW','exception','CONFIG','2|0|1|4|3','children','result','Zgqme','onTestCaseStarted','hook','eCRIJ','onGherkinDocument','testStepId','format','testCases','testCaseStarted','eventBroadcaster','12DoQTZC','1650265sOmlFu','pickleStepId','EOiDq','VJOIi','11qxLaIn','Exception\x20in\x20sending\x20onTestCaseStarted:\x20','gQuQr','flat','Exception\x20in\x20onTestStepStarted\x20event:\x20','onPickle','setup','3137912enYehB','PuZzY','sendHook','XigHd','testRunStarted','PsKaj','stepDefinition','toLowerCase','JkrhK','DfVaT','Exception\x20in\x20onTestStepFinished\x20event:\x20','bstack','testCaseId','logTestRunFinished','assign','seconds','name','source','rdChd','MsxcY','Mamtk','LwniX','ZODDz','jAyTA','HBBxe','includes','onTestStepFinished','onStepDefinition','UNDEFINED','UkmIi','forEach','snippetBuilder','log','Wiaun','sendTestRunEventForCucumber','testStepFinished','onTestCaseFinished','PASSED','description','envelope','testSteps','capability','KxoJY','25909308UIpVMy','895044wdPuYl','push','__platform','message','getGherkinDocument','extractStepContainers','path','../../playwright/reporter/test-details.js','rule','getTestCaseAttempt','PLjVZ','KmQSe','Executing\x20tests\x20for\x20','testStepResult','supportCodeLibrary','xNKwy','hooks','onSource','testCaseFinished','toString','testCaseStartedId','naDAv','uri','cwd','parse','onTestRunStarted','WSDNO','bNJuI','debug','ZVkPk','rFgef','background','@cucumber/cucumber','steps'];a6_0x3dcd=function(){return _0xd9e418;};return a6_0x3dcd();}(function(_0x2ff95d,_0x27307f){const _0x2d17bd=a6_0x4bff,_0x642bf7=_0x2ff95d();while(!![]){try{const _0x36d8cf=parseInt(_0x2d17bd(0x130))/0x1*(-parseInt(_0x2d17bd(0x145))/0x2)+parseInt(_0x2d17bd(0x10b))/0x3*(parseInt(_0x2d17bd(0x194))/0x4)+parseInt(_0x2d17bd(0x15d))/0x5*(parseInt(_0x2d17bd(0x15c))/0x6)+parseInt(_0x2d17bd(0x11a))/0x7+parseInt(_0x2d17bd(0x168))/0x8*(parseInt(_0x2d17bd(0x12f))/0x9)+-parseInt(_0x2d17bd(0x113))/0xa*(-parseInt(_0x2d17bd(0x161))/0xb)+-parseInt(_0x2d17bd(0x193))/0xc;if(_0x36d8cf===_0x27307f)break;else _0x642bf7['push'](_0x642bf7['shift']());}catch(_0x47ae42){_0x642bf7['push'](_0x642bf7['shift']());}}}(a6_0x3dcd,0x8adf2));const {requireModule,getPlatformName,nestedKeyValue,isUndefined}=require('../../../helpers/helper'),util=require('util'),{Formatter,formatterHelpers,Status}=requireModule(a6_0x3d309d(0x107)),TestDetails=require(a6_0x3d309d(0x19b)),TestObservabilityReporter=require(a6_0x3d309d(0x149)),{o11yClassErrorHandler}=require(a6_0x3d309d(0x141)),{shouldProcessEventForTesthub}=require(a6_0x3d309d(0x10e)),testObservabilityReporter=new TestObservabilityReporter(),logger=require(a6_0x3d309d(0x132))[a6_0x3d309d(0x139)],_tests={},_testCasesData={};class BrowserstackFormatter extends Formatter{constructor(_0x3daca6){const _0x5d9343=a6_0x3d309d,_0x370a53={};_0x370a53[_0x5d9343(0x17a)]=_0x5d9343(0x18f);const _0x566210=_0x370a53;super(_0x3daca6),this[_0x5d9343(0x14b)]={},_0x3daca6[_0x5d9343(0x15b)]['on'](_0x566210[_0x5d9343(0x17a)],async _0x79a42b=>{const _0x3830d8=_0x5d9343;switch(!![]){case!!_0x79a42b[_0x3830d8(0x16c)]:this[_0x3830d8(0x100)](_0x79a42b[_0x3830d8(0x16c)]);break;case!!_0x79a42b[_0x3830d8(0x13c)]:this[_0x3830d8(0x109)](_0x79a42b[_0x3830d8(0x13c)]);break;case!!_0x79a42b[_0x3830d8(0x15a)]:this[_0x3830d8(0x153)](_0x79a42b[_0x3830d8(0x15a)],_0x3daca6,_0x79a42b);break;case!!_0x79a42b[_0x3830d8(0xf9)]:this['onTestCaseFinished'](_0x79a42b[_0x3830d8(0xf9)],_0x3daca6,_0x79a42b);break;case!!_0x79a42b[_0x3830d8(0x13f)]:this[_0x3830d8(0x147)](_0x79a42b[_0x3830d8(0x13f)],_0x3daca6);break;case!!_0x79a42b[_0x3830d8(0x18b)]:this[_0x3830d8(0x182)](_0x79a42b[_0x3830d8(0x18b)],_0x3daca6);break;case!!_0x79a42b[_0x3830d8(0x154)]:this[_0x3830d8(0x11c)](_0x79a42b[_0x3830d8(0x154)]);break;case!!_0x79a42b[_0x3830d8(0x136)]:this['onTestCase'](_0x79a42b[_0x3830d8(0x136)]);break;case!!_0x79a42b['pickle']:this[_0x3830d8(0x166)](_0x79a42b[_0x3830d8(0x140)]);break;case!!_0x79a42b[_0x3830d8(0x12c)]:this[_0x3830d8(0x156)](_0x79a42b[_0x3830d8(0x12c)]);break;}});}[a6_0x3d309d(0x11c)](_0x11d585){const _0x3a6fb4=a6_0x3d309d;this[_0x3a6fb4(0x14b)]['hooks']=Object[_0x3a6fb4(0x176)]([],this[_0x3a6fb4(0x14b)][_0x3a6fb4(0xf7)]||[]),this[_0x3a6fb4(0x14b)]['hooks'][_0x3a6fb4(0x195)](_0x11d585);}[a6_0x3d309d(0x166)](_0x412300){const _0x67cf2b=a6_0x3d309d;this['report'][_0x67cf2b(0x140)]=Object[_0x67cf2b(0x176)]([],this[_0x67cf2b(0x14b)][_0x67cf2b(0x140)]||[],[_0x412300]),this[_0x67cf2b(0x14b)][_0x67cf2b(0x140)][_0x67cf2b(0x195)](_0x412300);}[a6_0x3d309d(0x156)](_0x526663){const _0x996c7d=a6_0x3d309d;this[_0x996c7d(0x14b)][_0x996c7d(0x12c)]=Object[_0x996c7d(0x176)]([],this[_0x996c7d(0x14b)][_0x996c7d(0x12c)]||[],[_0x526663]),this[_0x996c7d(0x14b)][_0x996c7d(0x12c)][_0x996c7d(0x195)](_0x526663);}[a6_0x3d309d(0xf8)](_0x57035b){const _0x458394=a6_0x3d309d;this[_0x458394(0x14b)][_0x458394(0x179)]=_0x57035b;}[a6_0x3d309d(0x183)](_0x4d9c8f){const _0x4a47db=a6_0x3d309d;this[_0x4a47db(0x14b)][_0x4a47db(0x16e)]=Object[_0x4a47db(0x176)]([],this[_0x4a47db(0x14b)][_0x4a47db(0x16e)]||[],[_0x4d9c8f]),this[_0x4a47db(0x14b)][_0x4a47db(0x16e)][_0x4a47db(0x195)](_0x4d9c8f);}[a6_0x3d309d(0x127)](_0x226fc7){const _0x580bf7=a6_0x3d309d;this[_0x580bf7(0x14b)][_0x580bf7(0x159)]=Object[_0x580bf7(0x176)]([],this['report'][_0x580bf7(0x159)]||[],[_0x226fc7]),this['report'][_0x580bf7(0x159)][_0x580bf7(0x195)](_0x226fc7);}[a6_0x3d309d(0x121)](_0x2fbd67){const _0xde2eeb=a6_0x3d309d,_0xe6639b={'PLjVZ':function(_0x482256,_0x11be86){return _0x482256!==_0x11be86;},'lpfjZ':_0xde2eeb(0x173),'VINbp':function(_0x5095da,_0x4bf353){return _0x5095da+_0x4bf353;},'VwyiY':function(_0x253241,_0x5276f0){return _0x253241+_0x5276f0;},'JkrhK':function(_0xde2a4d,_0x122b82){return _0xde2a4d+_0x122b82;},'bUNHw':'\x20\x20\x20\x20','bbZRR':'\x20-\x20','LwniX':function(_0x143b0f,_0x412f0e){return _0x143b0f===_0x412f0e;},'gxfrq':_0xde2eeb(0x129),'MJYRJ':function(_0x577a64,_0x4c07a8,_0x2d2db7){return _0x577a64(_0x4c07a8,_0x2d2db7);},'PtUlu':_0xde2eeb(0x151),'UkmIi':_0xde2eeb(0x197),'Mamtk':function(_0x96aa6f,_0x5a96da){return _0x96aa6f+_0x5a96da;},'ItLsL':function(_0x39eebe,_0x4b100d){return _0x39eebe+_0x4b100d;},'WSDNO':function(_0x4247cf,_0x2b6e37){return _0x4247cf+_0x2b6e37;},'HBBxe':function(_0x3a0b57,_0x20776b){return _0x3a0b57+_0x20776b;},'BTtHc':function(_0x27f14a,_0x1fe6cf){return _0x27f14a+_0x1fe6cf;},'PsKaj':function(_0x122c06,_0x18e2f7){return _0x122c06+_0x18e2f7;},'MpyKe':function(_0x506bdc,_0x2686f0){return _0x506bdc+_0x2686f0;}};_0xe6639b[_0xde2eeb(0x19e)](global[_0xde2eeb(0x196)],undefined)&&this[_0xde2eeb(0x188)](_0xe6639b[_0xde2eeb(0x180)](_0xe6639b[_0xde2eeb(0x116)]('\x0a',global[_0xde2eeb(0x196)]),'\x0a'));const _0x4ed0da=this['eventDataCollector'][_0xde2eeb(0x19d)](_0x2fbd67[_0xde2eeb(0xfb)]);this[_0xde2eeb(0x188)](_0xe6639b[_0xde2eeb(0x138)](_0xe6639b[_0xde2eeb(0x170)](_0xe6639b[_0xde2eeb(0x16d)](_0xe6639b[_0xde2eeb(0x134)]('\x20\x20',_0x4ed0da[_0xde2eeb(0x12c)][_0xde2eeb(0x118)][_0xde2eeb(0x178)]),_0xe6639b['bbZRR']),_0x4ed0da[_0xde2eeb(0x140)][_0xde2eeb(0x178)]),'\x0a'));const _0x382f50={};_0x382f50['cwd']=this[_0xde2eeb(0xfe)],_0x382f50['snippetBuilder']=this[_0xde2eeb(0x187)],_0x382f50[_0xde2eeb(0xf5)]=this[_0xde2eeb(0xf5)],_0x382f50['testCaseAttempt']=_0x4ed0da;const _0xa768df=formatterHelpers['parseTestCaseAttempt'](_0x382f50);let _0x2b156d=![];_0xa768df[_0xde2eeb(0x190)][_0xde2eeb(0x186)](_0x76d2a6=>{const _0x48e586=_0xde2eeb;if(_0xe6639b[_0x48e586(0x19e)](_0x76d2a6['name'],_0xe6639b[_0x48e586(0x110)])&&!this[_0x48e586(0x10f)](_0x76d2a6)){totalTests+=0x1,this[_0x48e586(0x188)](_0xe6639b[_0x48e586(0x13e)](_0xe6639b['VINbp'](_0xe6639b[_0x48e586(0x116)](_0xe6639b[_0x48e586(0x116)](_0xe6639b[_0x48e586(0x170)](_0xe6639b[_0x48e586(0x128)],_0x76d2a6['keyword']),_0x76d2a6[_0x48e586(0x120)]||''),_0xe6639b[_0x48e586(0x142)]),Status[_0x76d2a6[_0x48e586(0x151)][_0x48e586(0x12a)]]),'\x0a')),this[_0x48e586(0x12e)](Status[_0x76d2a6['result'][_0x48e586(0x12a)]]);if(_0xe6639b[_0x48e586(0x17d)](Status[_0x76d2a6['result']['status']],_0xe6639b[_0x48e586(0x114)])){_0x2b156d=!![];const _0x45679e=_0xe6639b[_0x48e586(0x131)](nestedKeyValue,_0x76d2a6,[_0xe6639b[_0x48e586(0x13a)],_0xe6639b[_0x48e586(0x185)]]);_0x45679e&&(testsErrorMessage[_0xe6639b[_0x48e586(0x17c)](_0xe6639b[_0x48e586(0x10d)](_0x4ed0da[_0x48e586(0x12c)][_0x48e586(0x118)][_0x48e586(0x178)],_0xe6639b[_0x48e586(0x142)]),_0x4ed0da[_0x48e586(0x140)][_0x48e586(0x178)])]=_0x45679e,this[_0x48e586(0x188)](_0xe6639b[_0x48e586(0x101)](_0x45679e,'\x0a')));}}}),_0x2b156d&&(testSuitesFailed+=0x1),this[_0xde2eeb(0x188)]('\x0a');}[a6_0x3d309d(0x175)](_0x1a2ebe){}[a6_0x3d309d(0x10f)](_0x58a2e7){const _0x26581d=a6_0x3d309d,_0x145d97={};_0x145d97[_0x26581d(0xf2)]=function(_0x543584,_0x239ed6){return _0x543584!==_0x239ed6;},_0x145d97[_0x26581d(0x104)]='cucumber-js/test.setup.js';const _0x5a68f1=_0x145d97;if(_0x5a68f1[_0x26581d(0xf2)](_0x58a2e7['sourceLocation'],undefined))return![];if(_0x58a2e7[_0x26581d(0x11d)]&&_0x58a2e7[_0x26581d(0x11d)]['uri'][_0x26581d(0x181)](_0x5a68f1[_0x26581d(0x104)]))return!![];return![];}[a6_0x3d309d(0x12e)](_0xbbcea6){const _0x25eca4=a6_0x3d309d,_0x553697={};_0x553697['XigHd']=_0x25eca4(0x129),_0x553697['eCRIJ']=_0x25eca4(0x18d),_0x553697[_0x25eca4(0x152)]='SKIPPED',_0x553697['KxoJY']=_0x25eca4(0x146),_0x553697[_0x25eca4(0x102)]=_0x25eca4(0x184),_0x553697[_0x25eca4(0x14c)]=_0x25eca4(0x148),_0x553697['Qpozm']=_0x25eca4(0x14a);const _0x513a69=_0x553697;switch(_0xbbcea6){case _0x513a69[_0x25eca4(0x16b)]:testsFailed+=0x1;break;case _0x513a69[_0x25eca4(0x155)]:testsPassed+=0x1;break;case _0x513a69[_0x25eca4(0x152)]:testsSkipped+=0x1;break;case _0x513a69[_0x25eca4(0x192)]:testsPending+=0x1;break;case _0x513a69['bNJuI']:testsUndefined+=0x1;break;case _0x513a69[_0x25eca4(0x14c)]:testsUnknown+=0x1;break;case _0x513a69[_0x25eca4(0x133)]:testsAmbiguous+=0x1;break;default:break;}}[a6_0x3d309d(0x100)](_0x4a79bc){const _0x44255f=a6_0x3d309d,_0x2e4623={'qVNpO':function(_0x3efc56,_0x227636){return _0x3efc56!==_0x227636;},'gQuQr':function(_0x63b5d2,_0x150ff1){return _0x63b5d2!==_0x150ff1;},'oNTnl':function(_0x562f0c,_0x3b5524){return _0x562f0c(_0x3b5524);},'UACmD':function(_0x48e15d,_0x1afc2b){return _0x48e15d+_0x1afc2b;},'WokxY':function(_0x363acd){return _0x363acd();}};let _0x39a80e;if(_0x2e4623[_0x44255f(0x124)](process['env'][_0x44255f(0x14e)],undefined)){const _0x401e47=JSON[_0x44255f(0xff)](process['env'][_0x44255f(0x14e)]);_0x39a80e=_0x401e47[_0x44255f(0x191)];}_0x2e4623[_0x44255f(0x163)](_0x39a80e,undefined)&&(global[_0x44255f(0x196)]=_0x2e4623['oNTnl'](getPlatformName,_0x39a80e),this['log'](_0x2e4623['UACmD'](_0x44255f(0xf3)+global[_0x44255f(0x196)],'\x0a'))),_0x2e4623['WokxY'](shouldProcessEventForTesthub)&&(TestDetails[_0x44255f(0x167)](),this[_0x44255f(0x14b)][_0x44255f(0x16c)]=_0x4a79bc);}[a6_0x3d309d(0x109)](_0x145ba0){const _0x4c4247=a6_0x3d309d;this[_0x4c4247(0x14b)][_0x4c4247(0x13c)]=_0x145ba0,this[_0x4c4247(0x175)](_0x145ba0);}async[a6_0x3d309d(0x153)](_0x566683,_0x4008f2,_0xd491ed){const _0x30416c=a6_0x3d309d,_0x258a06={'mbEIl':function(_0x4dc50a,_0x2a73e6){return _0x4dc50a(_0x2a73e6);},'PuZzY':_0x30416c(0x126),'Wiaun':function(_0xc07104,_0x46ce1a){return _0xc07104&&_0x46ce1a;}};testSuites+=0x1;if(_0x258a06[_0x30416c(0x11e)](shouldProcessEventForTesthub,_0x258a06[_0x30416c(0x169)]))try{this[_0x30416c(0x14b)]['testCaseStarted']=this[_0x30416c(0x14b)][_0x30416c(0x15a)]||{},this[_0x30416c(0x14b)][_0x30416c(0x15a)][_0x566683['id']]=_0x566683;const _0xa55307=TestDetails['getTestUUID'](_0x566683['id']);_testCasesData[_0x566683['id']]=Object['assign']({},_0xd491ed);const _0x18f333=this[_0x30416c(0x14b)],_0x3c7f99=_0x566683[_0x30416c(0x174)],_0x5cd2a8=_0x18f333[_0x30416c(0x159)][_0x30416c(0x12b)](_0x4f3487=>_0x4f3487['id']===_0x3c7f99)[_0x30416c(0x13b)],_0x46d85c=_0x18f333[_0x30416c(0x140)][_0x30416c(0x12b)](_0x11ad21=>_0x11ad21['id']===_0x5cd2a8),_0x53d84a=_0x18f333[_0x30416c(0x12c)][_0x30416c(0x12b)](_0x2d86a2=>_0x2d86a2[_0x30416c(0xfd)]===_0x46d85c['uri']),_0x1bfd32=_0x53d84a['feature'],_0x1ee6a4={'uuid':_0xa55307,'startedAt':new Date()['toISOString']()};if(_0x46d85c){const _0x568519={};_0x568519[_0x30416c(0x178)]=_0x46d85c['name'],_0x1ee6a4[_0x30416c(0x10a)]=_0x568519;}if(_0x258a06[_0x30416c(0x189)](_0x53d84a,_0x1bfd32)){const _0x2e2376={};_0x2e2376[_0x30416c(0x19a)]=_0x53d84a[_0x30416c(0xfd)],_0x2e2376[_0x30416c(0x178)]=_0x1bfd32['name'],_0x2e2376['description']=_0x1bfd32[_0x30416c(0x18e)],_0x1ee6a4[_0x30416c(0x118)]=_0x2e2376;}_tests[_0x3c7f99]=_0x1ee6a4,await testObservabilityReporter[_0x30416c(0x18a)](_0xd491ed,_0x53d84a,_0x46d85c,_0x258a06[_0x30416c(0x169)],_0x1ee6a4);}catch(_0x94a3e7){logger['debug'](_0x30416c(0x162)+util[_0x30416c(0x158)](_0x94a3e7)+'\x20');}}async['onTestCaseFinished'](_0x141200,_0x134c05,_0x28ffbe){const _0x3e56c8=a6_0x3d309d,_0x920578={'BrCaf':function(_0x2146fa,_0x495053){return _0x2146fa(_0x495053);},'naDAv':'TestRunFinished'};this[_0x3e56c8(0x121)](_0x141200);if(_0x920578['BrCaf'](shouldProcessEventForTesthub,_0x920578[_0x3e56c8(0xfc)]))try{this[_0x3e56c8(0x14b)][_0x3e56c8(0xf9)]=this[_0x3e56c8(0x14b)][_0x3e56c8(0xf9)]||{},this[_0x3e56c8(0x14b)][_0x3e56c8(0xf9)][_0x141200[_0x3e56c8(0xfb)]]=_0x141200,_testCasesData[_0x28ffbe['id']]=Object[_0x3e56c8(0x176)]({},_0x28ffbe);const _0xd29f6a=_0x141200[_0x3e56c8(0xfb)],_0x3729c2=_0x134c05['eventDataCollector'][_0x3e56c8(0x112)][_0xd29f6a][_0x3e56c8(0x174)],_0x354742=_0x134c05[_0x3e56c8(0x11f)][_0x3e56c8(0x125)][_0x3729c2],_0x2fd1e3=_0x354742['pickleId'],_0x32e332=_0x134c05[_0x3e56c8(0x11f)]['pickleMap'][_0x2fd1e3],_0x233905=this['getGherkinDocument'](_0x134c05,_0x32e332),_0x19b67b=_tests[_0x3729c2];_0x19b67b&&(delete _tests[_0x3729c2],_0x19b67b['finishedAt']=new Date()[_0x3e56c8(0x135)]()),await testObservabilityReporter[_0x3e56c8(0x18a)](_0x28ffbe,_0x233905,_0x32e332,_0x920578[_0x3e56c8(0xfc)],_0x19b67b);}catch(_0x33effb){logger[_0x3e56c8(0x103)](_0x3e56c8(0x123)+util['format'](_0x33effb));}}async[a6_0x3d309d(0x147)](_0x1afe40,_0x111ec7){const _0x2cfee7=a6_0x3d309d,_0x4d0522={'BiiIk':function(_0x9ddad0,_0x4c8862){return _0x9ddad0(_0x4c8862);},'MsxcY':_0x2cfee7(0x119),'fKJIa':function(_0x3a472b,_0x437907){return _0x3a472b!==_0x437907;},'CPLZk':_0x2cfee7(0x157)};if(_0x4d0522[_0x2cfee7(0x13d)](shouldProcessEventForTesthub,_0x4d0522[_0x2cfee7(0x17b)]))try{this['report'][_0x2cfee7(0x13f)]=this[_0x2cfee7(0x14b)]['testStepStarted']||{},this[_0x2cfee7(0x14b)][_0x2cfee7(0x13f)][_0x1afe40[_0x2cfee7(0xfb)]]=_0x1afe40;const _0x3d977e=_0x1afe40[_0x2cfee7(0xfb)],_0x5cbd52=_0x111ec7[_0x2cfee7(0x11f)][_0x2cfee7(0x112)][_0x3d977e][_0x2cfee7(0x174)],_0x23459f=this[_0x2cfee7(0x14b)]['testCases'][_0x2cfee7(0x12b)](_0x187fea=>_0x187fea['id']===_0x5cbd52)[_0x2cfee7(0x13b)],_0x3789fa=this['report'][_0x2cfee7(0x140)]['find'](_0x325e19=>_0x325e19['id']===_0x23459f),_0x4e9033=this['report']['testCases'][_0x2cfee7(0x12b)](_0x400708=>_0x400708['id']===_0x5cbd52)[_0x2cfee7(0x190)],_0xe4f233=this['report'][_0x2cfee7(0x13f)][_0x3d977e][_0x2cfee7(0x157)],_0x4e8667=_0x4e9033[_0x2cfee7(0x12b)](_0x2cda0b=>_0x2cda0b['id']===_0xe4f233)[_0x2cfee7(0x15e)],_0x29dc5=_0x3789fa[_0x2cfee7(0x108)][_0x2cfee7(0x12b)](_0x347f13=>_0x347f13['id']===_0x4e8667);if(_0x4e8667&&_tests[_0x5cbd52]&&_0x4d0522[_0x2cfee7(0x122)](_tests[_0x5cbd52][_0x4d0522[_0x2cfee7(0x111)]],_0xe4f233)){_tests[_0x5cbd52][_0x4d0522[_0x2cfee7(0x111)]]=_0xe4f233;const _0x15e23d={};_0x15e23d[_0x2cfee7(0x108)]=[];const _0x809e83=_tests[_0x5cbd52]||_0x15e23d;_0x809e83&&!_0x809e83[_0x2cfee7(0x108)]&&(_0x809e83['steps']=[]),_0x809e83[_0x2cfee7(0x108)][_0x2cfee7(0x195)]({'id':_0x29dc5['id'],'text':_0x29dc5[_0x2cfee7(0x120)],'started_at':new Date()[_0x2cfee7(0x135)]()}),_tests[_0x5cbd52]=_0x809e83;}await testObservabilityReporter[_0x2cfee7(0x16a)](this[_0x2cfee7(0x14b)],_0x3d977e,_0x4d0522[_0x2cfee7(0x17b)],_0x4e9033,_0xe4f233,_tests[_0x5cbd52]);}catch(_0x4a0dc5){logger[_0x2cfee7(0x103)](_0x2cfee7(0x165)+util[_0x2cfee7(0x158)](_0x4a0dc5));}}async[a6_0x3d309d(0x182)](_0x57576c,_0xe6b0f3){const _0x23aa38=a6_0x3d309d,_0x25c6ea={'DfVaT':function(_0x2212a0,_0x284cc0){return _0x2212a0===_0x284cc0;},'xNKwy':_0x23aa38(0x14f),'VJOIi':function(_0x25167f,_0x3ba8b1){return _0x25167f(_0x3ba8b1);},'rFgef':_0x23aa38(0x12d),'kGkpX':'failed','EOiDq':'UnhandledError','ZODDz':_0x23aa38(0x157)};this[_0x23aa38(0x14b)]['testStepFinished']=this[_0x23aa38(0x14b)][_0x23aa38(0x18b)]||{},this[_0x23aa38(0x14b)][_0x23aa38(0x18b)][_0x57576c['testCaseStartedId']]=_0x57576c;if(_0x25c6ea[_0x23aa38(0x160)](shouldProcessEventForTesthub,_0x25c6ea[_0x23aa38(0x105)]))try{const _0x3775b5=_0x57576c['testCaseStartedId'],_0x46a5bd=_0xe6b0f3['eventDataCollector'][_0x23aa38(0x112)][_0x3775b5]['testCaseId'],_0x3d79e3=_0xe6b0f3['eventDataCollector'][_0x23aa38(0x125)][_0x46a5bd],_0x1210cf=_0x3d79e3[_0x23aa38(0x13b)],_0x6966d4=_0xe6b0f3[_0x23aa38(0x11f)]['pickleMap'][_0x1210cf],_0x3402ce=_0x57576c[_0x23aa38(0x157)],_0x53d62d=_0x3d79e3[_0x23aa38(0x190)],_0x307620=this[_0x23aa38(0x11f)]['getTestCaseAttempt'](_0x3775b5),_0x3d9d88=_0x53d62d['find'](_0x5a4868=>_0x5a4868['id']===_0x3402ce)[_0x23aa38(0x15e)];let _0x2b78d5,_0xb5740b;_0x57576c[_0x23aa38(0xf4)]&&_0x25c6ea[_0x23aa38(0x171)](_0x57576c['testStepResult'][_0x23aa38(0x12a)][_0x23aa38(0xfa)]()[_0x23aa38(0x16f)](),_0x25c6ea[_0x23aa38(0x137)])&&(_0x2b78d5=_0x25c6ea[_0x23aa38(0x171)](_0x57576c[_0x23aa38(0xf4)]['exception'],undefined)?_0x57576c[_0x23aa38(0xf4)]['message']:_0x57576c[_0x23aa38(0xf4)][_0x23aa38(0x14d)][_0x23aa38(0x197)],_0xb5740b=_0x25c6ea[_0x23aa38(0x171)](_0x57576c['testStepResult'][_0x23aa38(0x14d)],undefined)?_0x25c6ea[_0x23aa38(0x15f)]:_0x57576c[_0x23aa38(0xf4)]['message']);await testObservabilityReporter[_0x23aa38(0x16a)](this[_0x23aa38(0x14b)],_0x3775b5,_0x25c6ea[_0x23aa38(0x105)],_0x53d62d,_0x3402ce,_tests[_0x46a5bd]);if(_0x3d9d88&&_tests[_0x46a5bd][_0x25c6ea[_0x23aa38(0x17e)]]){const _0x15f5e7=_0x6966d4[_0x23aa38(0x108)][_0x23aa38(0x12b)](_0x482e61=>_0x482e61['id']===_0x3d9d88),_0x3dbc86={};_0x3dbc86['steps']=[];const _0x2df6a1=_tests[_0x46a5bd]||_0x3dbc86;!_0x2df6a1[_0x23aa38(0x108)]?_0x2df6a1[_0x23aa38(0x108)]=[{'id':_0x15f5e7['id'],'text':_0x15f5e7['text'],'finished_at':new Date()[_0x23aa38(0x135)](),'result':_0x57576c['testStepResult'][_0x23aa38(0x12a)],'duration':_0x57576c[_0x23aa38(0xf4)][_0x23aa38(0x117)][_0x23aa38(0x177)],'failure':_0x2b78d5,'failureType':_0xb5740b}]:_0x2df6a1[_0x23aa38(0x108)][_0x23aa38(0x186)](_0x4cc95b=>{const _0x10344c=_0x23aa38;if(_0x25c6ea[_0x10344c(0x171)](_0x4cc95b['id'],_0x15f5e7['id'])){const _0x23be49=_0x25c6ea[_0x10344c(0xf6)][_0x10344c(0x11b)]('|');let _0x484ac1=0x0;while(!![]){switch(_0x23be49[_0x484ac1++]){case'0':_0x4cc95b['result']=_0x57576c[_0x10344c(0xf4)]['status'];continue;case'1':_0x4cc95b[_0x10344c(0x117)]=_0x57576c[_0x10344c(0xf4)][_0x10344c(0x117)]['seconds'];continue;case'2':_0x4cc95b[_0x10344c(0x115)]=new Date()[_0x10344c(0x135)]();continue;case'3':_0x4cc95b['failureType']=_0xb5740b;continue;case'4':_0x4cc95b['failure']=_0x2b78d5;continue;}break;}}}),_tests[_0x46a5bd]=_0x2df6a1,delete _tests[_0x46a5bd][_0x25c6ea['ZODDz']];}}catch(_0x351f1d){logger[_0x23aa38(0x103)](_0x23aa38(0x172)+util['format'](_0x351f1d));}}['getGherkinStepMap'](_0x2cdfd7){const _0x362c99=a6_0x3d309d,_0x5c5d57={};return _0x2cdfd7[_0x362c99(0x118)][_0x362c99(0x150)]['map'](this[_0x362c99(0x199)])[_0x362c99(0x164)]()[_0x362c99(0x186)](_0x45b058=>_0x45b058[_0x362c99(0x108)][_0x362c99(0x186)](_0x15ad11=>_0x5c5d57[_0x15ad11['id']]=_0x15ad11)),_0x5c5d57;}['extractStepContainers'](_0x25bad7){const _0x140b62=a6_0x3d309d,_0x5bc850={'jAyTA':function(_0x42f1e3,_0x4dc0a9){return _0x42f1e3(_0x4dc0a9);}};if(!_0x5bc850['jAyTA'](isUndefined,_0x25bad7[_0x140b62(0x106)]))return[_0x25bad7['background']];else{if(!_0x5bc850[_0x140b62(0x17f)](isUndefined,_0x25bad7[_0x140b62(0x19c)]))return _0x25bad7[_0x140b62(0x19c)][_0x140b62(0x150)]['map'](_0x4814ca=>!isUndefined(_0x4814ca[_0x140b62(0x106)])?_0x4814ca[_0x140b62(0x106)]:_0x4814ca[_0x140b62(0x10a)]);};return[_0x25bad7[_0x140b62(0x10a)]];}[a6_0x3d309d(0x198)](_0x428704,_0xb181a4){const _0x1fdef7=a6_0x3d309d;return Object['values'](_0x428704['eventDataCollector'][_0x1fdef7(0x144)])[_0x1fdef7(0x12b)](_0x3f2261=>_0x3f2261[_0x1fdef7(0xfd)]===_0xb181a4[_0x1fdef7(0xfd)]);}}module[a6_0x3d309d(0x10c)]=o11yClassErrorHandler(BrowserstackFormatter,['onTestCaseStarted',a6_0x3d309d(0x18c),'onTestStepStarted',a6_0x3d309d(0x182),a6_0x3d309d(0x100),'onTestRunFinished',a6_0x3d309d(0x199),a6_0x3d309d(0x198),a6_0x3d309d(0x143)]);
|
|
@@ -1 +1 @@
|
|
|
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
|
+
const a7_0x511a7b=a7_0xb10b;(function(_0x726595,_0x57748a){const _0xabc72c=a7_0xb10b,_0x1b9a76=_0x726595();while(!![]){try{const _0x57f580=-parseInt(_0xabc72c(0x20c))/0x1*(-parseInt(_0xabc72c(0x21a))/0x2)+-parseInt(_0xabc72c(0x208))/0x3*(parseInt(_0xabc72c(0x1f4))/0x4)+parseInt(_0xabc72c(0x240))/0x5+-parseInt(_0xabc72c(0x212))/0x6*(parseInt(_0xabc72c(0x22e))/0x7)+parseInt(_0xabc72c(0x21b))/0x8*(-parseInt(_0xabc72c(0x200))/0x9)+parseInt(_0xabc72c(0x1f6))/0xa*(parseInt(_0xabc72c(0x210))/0xb)+parseInt(_0xabc72c(0x20e))/0xc*(parseInt(_0xabc72c(0x249))/0xd);if(_0x57f580===_0x57748a)break;else _0x1b9a76['push'](_0x1b9a76['shift']());}catch(_0x2ff051){_0x1b9a76['push'](_0x1b9a76['shift']());}}}(a7_0x3544,0xbee24));const {requireModule,getPlatformName,nestedKeyValue}=require(a7_0x511a7b(0x217)),{Formatter}=requireModule(a7_0x511a7b(0x1f9)),pickleParser=requireModule(a7_0x511a7b(0x23b));function a7_0x3544(){const _0x211d35=['stepResults','testCase','IuqUi','42991jaoMdk','ENVJQ','eSKFb','eventDataCollector','exception','gherkinDocument','gPlOC','XKpAK','status','test-run-started','hiOPU','92GocRjv','cxdNx','1570QLvvAm','UNDEFINED','zjGgf','cucumber','env','uZZyk','exports','eventBroadcaster','name','mfMjT','12105ltqeUD','fAQKT','result','uXqlb','test-case-finished','prDqC','jzLTY','AMBIGUOUS','125211KLWEIi','CONFIG','log','UNKNOWN','16QzasXo','UySqL','1956lRvGba','PENDING','93797fkkDtW','bzYgQ','30lNdvgI','srtRk','line','XRilS','PJJKb','../../../helpers/helper','cucumber-js/test_old.setup.js','pickle','127778IQuZCh','408qyxIGw','iwQmt','NLAfP','__platform','getStepLineToPickledStepMap','NLCLZ','YWsdB','noimm','vwPot','capability','\x20-\x20','shLZC','xihHR','MIune','gvEmx','stack','GmBjw','steps','\x20\x20\x20\x20BEFORE\x20-\x20','1983709Iuwmip','text','OxOsa','uri','undefined','ktsKK','sourceLocation','feature','test-run-finished','parse','\x20\x20\x20\x20','actionLocation','WxrBH','cucumber/lib/formatter/helpers/pickle_parser.js','toUpperCase','PuyAk','\x20\x20\x20\x20AFTER\x20-\x20','NPpxw','1636685FrlUlu','includes','UQchq','MhpWi','getTestCaseData','SKIPPED'];a7_0x3544=function(){return _0x211d35;};return a7_0x3544();}class BrowserstackFormatter extends Formatter{constructor(_0x5cbe7b){const _0x1d02a1=a7_0x511a7b,_0x187758={'uXqlb':function(_0x28e5f3,_0x193ae9){return _0x28e5f3!==_0x193ae9;},'OUCtX':function(_0x1656d1,_0x5d96c2){return _0x1656d1(_0x5d96c2);},'gvEmx':_0x1d02a1(0x1f2),'MhpWi':'test-case-started','jJRTN':_0x1d02a1(0x204),'jzLTY':_0x1d02a1(0x236),'XKpAK':'test-step-started'};super(_0x5cbe7b),_0x5cbe7b[_0x1d02a1(0x1fd)]['on'](_0x187758[_0x1d02a1(0x229)],()=>{const _0x1945b0=_0x1d02a1;let _0x16e6ce;if(_0x187758['uXqlb'](process[_0x1945b0(0x1fa)][_0x1945b0(0x209)],undefined)){const _0x407644=JSON[_0x1945b0(0x237)](process[_0x1945b0(0x1fa)][_0x1945b0(0x209)]);_0x16e6ce=_0x407644[_0x1945b0(0x224)];}_0x187758[_0x1945b0(0x203)](_0x16e6ce,undefined)&&(global[_0x1945b0(0x21e)]=_0x187758['OUCtX'](getPlatformName,_0x16e6ce),console[_0x1945b0(0x20a)]('Executing\x20tests\x20for\x20'+global[_0x1945b0(0x21e)]));}),_0x5cbe7b[_0x1d02a1(0x1fd)]['on'](_0x187758[_0x1d02a1(0x243)],()=>{testSuites+=0x1;}),_0x5cbe7b[_0x1d02a1(0x1fd)]['on'](_0x187758['jJRTN'],_0x346da2=>{this['logTestCaseFinished'](_0x346da2);}),_0x5cbe7b['eventBroadcaster']['on'](_0x187758[_0x1d02a1(0x206)],()=>{totalTests-=0x2;}),_0x5cbe7b[_0x1d02a1(0x1fd)]['on'](_0x187758[_0x1d02a1(0x1f0)],()=>{totalTests+=0x1;});}['logTestCaseFinished'](_0x34867c){const _0x5b9f7f=a7_0x511a7b,_0x3028bd={'cxdNx':'FAILED','GmBjw':'PASSED','srtRk':_0x5b9f7f(0x245),'mfMjT':_0x5b9f7f(0x20f),'PJJKb':_0x5b9f7f(0x1f7),'NLCLZ':_0x5b9f7f(0x20b),'eSKFb':_0x5b9f7f(0x207),'gPlOC':function(_0x8fac71,_0x44fc3d){return _0x8fac71+_0x44fc3d;},'zjGgf':_0x5b9f7f(0x238),'WxrBH':_0x5b9f7f(0x225),'UQchq':function(_0x173e21,_0x193a10){return _0x173e21(_0x193a10);},'ENVJQ':_0x5b9f7f(0x218),'xihHR':function(_0x457fc8,_0x5c594f){return _0x457fc8+_0x5c594f;},'fAQKT':_0x5b9f7f(0x23e),'bzYgQ':_0x5b9f7f(0x22d),'PuyAk':function(_0x316bb1,_0xed02ae){return _0x316bb1===_0xed02ae;},'XRilS':function(_0x1a20cf,_0x4cbd93,_0x8b7ea8){return _0x1a20cf(_0x4cbd93,_0x8b7ea8);},'UySqL':_0x5b9f7f(0x202),'NPpxw':_0x5b9f7f(0x1ed),'prDqC':_0x5b9f7f(0x22a),'YWsdB':function(_0x3e276b,_0x2c5600){return _0x3e276b+_0x2c5600;},'iwQmt':function(_0xc00d90,_0x323307){return _0xc00d90!==_0x323307;},'MIune':function(_0x44ba10,_0x1f3b37){return _0x44ba10+_0x1f3b37;},'noimm':function(_0x2ce632,_0x8ad57b){return _0x2ce632!==_0x8ad57b;},'OxOsa':_0x5b9f7f(0x232),'vwPot':function(_0x32394d,_0x16a9ae){return _0x32394d+_0x16a9ae;},'shLZC':function(_0x19aae5,_0x411bb8){return _0x19aae5<_0x411bb8;},'hiOPU':function(_0x26a27e,_0x28e7ff){return _0x26a27e+_0x28e7ff;},'NLAfP':function(_0x500e44,_0x1c57f3){return _0x500e44(_0x1c57f3);},'ktsKK':function(_0x595c32,_0x52f798){return _0x595c32+_0x52f798;},'IuqUi':function(_0x29c3b6,_0x55b2f0,_0x219968){return _0x29c3b6(_0x55b2f0,_0x219968);},'xErLg':function(_0x39fb17,_0x44e33b){return _0x39fb17+_0x44e33b;},'uZZyk':function(_0x5bf54d,_0x2f761e){return _0x5bf54d+_0x2f761e;},'PwxIj':function(_0x144163,_0x34e3cf){return _0x144163+_0x34e3cf;}};let _0x5b6c6a=![];function _0x8d4f5b(_0x16859c){const _0x6f9e4a=_0x5b9f7f;switch(_0x16859c){case _0x3028bd['cxdNx']:testsFailed+=0x1;break;case _0x3028bd[_0x6f9e4a(0x22b)]:testsPassed+=0x1;break;case _0x3028bd[_0x6f9e4a(0x213)]:testsSkipped+=0x1;break;case _0x3028bd[_0x6f9e4a(0x1ff)]:testsPending+=0x1;break;case _0x3028bd[_0x6f9e4a(0x216)]:testsUndefined+=0x1;break;case _0x3028bd[_0x6f9e4a(0x220)]:testsUnknown+=0x1;break;case _0x3028bd[_0x6f9e4a(0x24b)]:testsAmbiguous+=0x1;break;default:break;}}_0x3028bd[_0x5b9f7f(0x21c)](global[_0x5b9f7f(0x21e)],undefined)&&console['log'](_0x3028bd[_0x5b9f7f(0x1ef)](_0x3028bd[_0x5b9f7f(0x228)]('\x0a',global[_0x5b9f7f(0x21e)]),'\x0a'));let _0x16413a=![];if(_0x3028bd[_0x5b9f7f(0x222)](typeof this['eventDataCollector'][_0x5b9f7f(0x244)],_0x3028bd[_0x5b9f7f(0x230)])){var _0x558d8d=this[_0x5b9f7f(0x1ec)]['getTestCaseData'](_0x34867c['sourceLocation']),_0x212aaa=_0x558d8d['pickle'],_0x5d3a09=_0x558d8d[_0x5b9f7f(0x247)];console[_0x5b9f7f(0x20a)](_0x3028bd[_0x5b9f7f(0x1ef)]('\x20\x20',_0x212aaa[_0x5b9f7f(0x1fe)]));var _0x13b559=(0x0,pickleParser[_0x5b9f7f(0x21f)])(_0x212aaa);_0x5d3a09['steps']['forEach'](function(_0x47edba){const _0xe2f714=_0x5b9f7f;if(_0x47edba[_0xe2f714(0x239)]&&_0x47edba[_0xe2f714(0x234)])_0x5b6c6a=!![],console[_0xe2f714(0x20a)](_0x3028bd['gPlOC'](_0x3028bd[_0xe2f714(0x1ef)](_0x3028bd['gPlOC'](_0x3028bd[_0xe2f714(0x1f8)],_0x13b559[_0x47edba['sourceLocation']['line']][_0xe2f714(0x22f)]),_0x3028bd[_0xe2f714(0x23a)]),_0x47edba[_0xe2f714(0x202)][_0xe2f714(0x1f1)][_0xe2f714(0x23c)]())),_0x3028bd['UQchq'](_0x8d4f5b,_0x47edba[_0xe2f714(0x202)][_0xe2f714(0x1f1)][_0xe2f714(0x23c)]());else _0x47edba[_0xe2f714(0x239)]&&(!_0x47edba[_0xe2f714(0x239)][_0xe2f714(0x231)][_0xe2f714(0x241)](_0x3028bd[_0xe2f714(0x24a)])&&(_0x3028bd[_0xe2f714(0x242)](_0x8d4f5b,_0x47edba['result']['status'][_0xe2f714(0x23c)]()),_0x5b6c6a?console[_0xe2f714(0x20a)](_0x3028bd[_0xe2f714(0x227)](_0x3028bd[_0xe2f714(0x201)],_0x47edba[_0xe2f714(0x202)]['status'][_0xe2f714(0x23c)]())):console[_0xe2f714(0x20a)](_0x3028bd['gPlOC'](_0x3028bd[_0xe2f714(0x211)],_0x47edba[_0xe2f714(0x202)][_0xe2f714(0x1f1)]['toUpperCase']()))));if(_0x3028bd[_0xe2f714(0x23d)](_0x47edba[_0xe2f714(0x202)]['status'][_0xe2f714(0x23c)](),_0x3028bd[_0xe2f714(0x1f5)])){const _0xf1c1a4=_0x3028bd[_0xe2f714(0x215)](nestedKeyValue,_0x47edba,[_0x3028bd[_0xe2f714(0x20d)],_0x3028bd[_0xe2f714(0x23f)],_0x3028bd[_0xe2f714(0x205)]]);_0xf1c1a4&&(testsErrorMessage[_0x212aaa[_0xe2f714(0x1fe)]]=_0xf1c1a4,console['log'](_0x3028bd[_0xe2f714(0x221)](_0xf1c1a4,'\x0a'))),_0x16413a=!![];}});}else{const _0x487d79=this[_0x5b9f7f(0x1ec)]['getTestCaseAttempt'](_0x34867c);console[_0x5b9f7f(0x20a)](_0x3028bd[_0x5b9f7f(0x223)](_0x3028bd[_0x5b9f7f(0x1ef)](_0x3028bd['xihHR']('\x20\x20',_0x487d79['gherkinDocument'][_0x5b9f7f(0x235)][_0x5b9f7f(0x1fe)]),_0x3028bd[_0x5b9f7f(0x23a)]),_0x487d79[_0x5b9f7f(0x219)][_0x5b9f7f(0x1fe)]));const _0x148e72=(0x0,pickleParser[_0x5b9f7f(0x21f)])(_0x487d79[_0x5b9f7f(0x219)]),_0x2c1ce3=_0x487d79['testCase'][_0x5b9f7f(0x22c)],_0x45fb83=_0x487d79[_0x5b9f7f(0x246)],_0x2fe819=_0x2c1ce3['length'];for(let _0x2429eb=0x0;_0x3028bd[_0x5b9f7f(0x226)](_0x2429eb,_0x2fe819);_0x2429eb++){const _0x46e2c4=_0x2c1ce3[_0x2429eb];if(_0x46e2c4[_0x5b9f7f(0x239)]&&_0x46e2c4[_0x5b9f7f(0x234)])_0x5b6c6a=!![],console[_0x5b9f7f(0x20a)](_0x3028bd[_0x5b9f7f(0x1f3)](_0x3028bd[_0x5b9f7f(0x223)](_0x3028bd['YWsdB'](_0x3028bd[_0x5b9f7f(0x1f8)],_0x148e72[_0x46e2c4[_0x5b9f7f(0x234)][_0x5b9f7f(0x214)]][_0x5b9f7f(0x22f)]),_0x3028bd['WxrBH']),_0x45fb83[_0x2429eb][_0x5b9f7f(0x1f1)][_0x5b9f7f(0x23c)]())),_0x3028bd[_0x5b9f7f(0x242)](_0x8d4f5b,_0x45fb83[_0x2429eb]['status'][_0x5b9f7f(0x23c)]());else _0x46e2c4[_0x5b9f7f(0x239)]&&(!_0x46e2c4['actionLocation'][_0x5b9f7f(0x231)]['includes'](_0x3028bd[_0x5b9f7f(0x24a)])&&(_0x3028bd[_0x5b9f7f(0x21d)](_0x8d4f5b,_0x45fb83[_0x2429eb][_0x5b9f7f(0x1f1)][_0x5b9f7f(0x23c)]()),_0x5b6c6a?console['log'](_0x3028bd[_0x5b9f7f(0x227)](_0x3028bd[_0x5b9f7f(0x201)],_0x45fb83[_0x2429eb][_0x5b9f7f(0x1f1)][_0x5b9f7f(0x23c)]())):console[_0x5b9f7f(0x20a)](_0x3028bd[_0x5b9f7f(0x233)](_0x3028bd['bzYgQ'],_0x45fb83[_0x2429eb][_0x5b9f7f(0x1f1)][_0x5b9f7f(0x23c)]()))));if(_0x3028bd['PuyAk'](_0x45fb83[_0x2429eb][_0x5b9f7f(0x1f1)][_0x5b9f7f(0x23c)](),_0x3028bd[_0x5b9f7f(0x1f5)])){_0x16413a=!![];const _0x19de79=_0x3028bd[_0x5b9f7f(0x248)](nestedKeyValue,_0x45fb83[_0x2429eb],[_0x3028bd[_0x5b9f7f(0x23f)],_0x3028bd[_0x5b9f7f(0x205)]]);_0x19de79&&(testsErrorMessage[_0x3028bd['xErLg'](_0x3028bd[_0x5b9f7f(0x1fb)](_0x487d79[_0x5b9f7f(0x1ee)][_0x5b9f7f(0x235)][_0x5b9f7f(0x1fe)],_0x3028bd[_0x5b9f7f(0x23a)]),_0x487d79[_0x5b9f7f(0x219)][_0x5b9f7f(0x1fe)])]=_0x19de79,console[_0x5b9f7f(0x20a)](_0x3028bd['PwxIj'](_0x19de79,'\x0a')));}}}_0x16413a&&(testSuitesFailed+=0x1),console[_0x5b9f7f(0x20a)]('\x0a');}}function a7_0xb10b(_0x42cf94,_0x2c3a7b){const _0x354499=a7_0x3544();return a7_0xb10b=function(_0xb10bef,_0x1197f1){_0xb10bef=_0xb10bef-0x1ec;let _0x596d0a=_0x354499[_0xb10bef];return _0x596d0a;},a7_0xb10b(_0x42cf94,_0x2c3a7b);}module[a7_0x511a7b(0x1fc)]=BrowserstackFormatter;
|
|
@@ -1 +1 @@
|
|
|
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
|
+
const a8_0x4624d6=a8_0x392e;function a8_0x392e(_0x6a59e2,_0x4c54c5){const _0x4c8348=a8_0x4c83();return a8_0x392e=function(_0x392eda,_0x1a090e){_0x392eda=_0x392eda-0x1de;let _0x442ee3=_0x4c8348[_0x392eda];return _0x442ee3;},a8_0x392e(_0x6a59e2,_0x4c54c5);}(function(_0x5e8a5b,_0x2aba29){const _0x9fea78=a8_0x392e,_0x4f42ce=_0x5e8a5b();while(!![]){try{const _0x5a184e=parseInt(_0x9fea78(0x1e3))/0x1*(-parseInt(_0x9fea78(0x250))/0x2)+-parseInt(_0x9fea78(0x26b))/0x3*(-parseInt(_0x9fea78(0x1f0))/0x4)+-parseInt(_0x9fea78(0x259))/0x5*(parseInt(_0x9fea78(0x233))/0x6)+parseInt(_0x9fea78(0x21d))/0x7+parseInt(_0x9fea78(0x1ee))/0x8*(parseInt(_0x9fea78(0x1eb))/0x9)+-parseInt(_0x9fea78(0x26e))/0xa+parseInt(_0x9fea78(0x212))/0xb;if(_0x5a184e===_0x2aba29)break;else _0x4f42ce['push'](_0x4f42ce['shift']());}catch(_0x5caa65){_0x4f42ce['push'](_0x4f42ce['shift']());}}}(a8_0x4c83,0x70eb2));const path=require(a8_0x4624d6(0x202)),stripAnsi=require(a8_0x4624d6(0x1ed)),util=require(a8_0x4624d6(0x238)),hooksMap={},SessionHandler=require(a8_0x4624d6(0x1f6)),testhubUtils=require(a8_0x4624d6(0x1fe)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a8_0x4624d6(0x268)),logger=require(a8_0x4624d6(0x22a))[a8_0x4624d6(0x253)],{o11yClassErrorHandler}=require('../../helpers/test-observability/error-handler'),{FRAMEWORKS}=require(a8_0x4624d6(0x269)),TestDetails=require('../playwright/reporter/test-details');this[a8_0x4624d6(0x256)]=![],this[a8_0x4624d6(0x211)]=null;function a8_0x4c83(){const _0x49af8c=['path','xncwn','XQeMt','examples','failureData','tagExpression','YumQr','UnhandledError','children','join','pLNCb','sendTestRunEventForCucumber','message','TnkFG','EanUV','_gitConfigPath','5473677WpNdZe','test','tBmSt','astNodeIds','failure','split','Exception\x20in\x20sendHook:\x20','forEach','includes','zUSMu','uhPVc','1486569dpjhvV','updateTestStatus','getCucumberHookType','value','pysjy','status','LbKJD','timestamp','sendHook','dhEON','VHahy','RfSjY','name','../../helpers/logger','length','test_run','testCaseFinished','map','flatMap','skipped','scenario','root','78TSitbU','VofHk','relative','fByDf','hookId','util','format','find','EUoye','VJJRf','UHDYu','getScenarioExamples','HookRunFinished','tssaT','ZUZji','0|1|2|3|4','dEEjx','tkmrt','event_type','toISOString','failure_type','hook_run','testCaseStartedId','zYZxh','filter','getHookRunEventData','hooks','feature','GzNPl','847718dZOkcw','toLowerCase','aZBgo','winstonLogger','pending','Xvjcl','_gitConfigured','uuid','Uvrcv','196865VadquX','getHookResult','tableBody','appendTesthubParams','umHfQ','HookRunStarted','cucumber','failureType','MfUSe','match','SKIPPED','uri','mZOBS','tags','exception','../../helpers/helper','../../helpers/test-observability/constants.js','failure_reason','771OCzfxs','javascript','toString','2447870bfwKbz','passed','failure_data','rule','WGdYz','configureGit','tjXeB','ULNpv','QFWWw','debug','eGsmm','sourceReference','1JqGlkE','finished_at','IGlsS','TestRunFinished','UOMiL','NYELl','result','AssertionError','9aEapEw','getHooksListForTest','strip-ansi','3821048Cbgzuk','YyONu','7088KgFqcL','push','failed','uploadEventData','HlmEl','ZtuKf','../../helpers/test-observability/sessionHandler','nanos','unknown','duration_in_ms','xxvNM','otgfS','hook','eNCMD','../../helpers/testhub/utils','FAILED','cells','TsBMa'];a8_0x4c83=function(){return _0x49af8c;};return a8_0x4c83();}class TestObservabilityReporter{async[a8_0x4624d6(0x20d)](_0x52dd3f,_0x29e5bf,_0x2d4d4a,_0x193f43,_0x1cd308){const _0x11f410=a8_0x4624d6,_0x39cec6={'AyvZk':function(_0x5c3136,_0x45525a){return _0x5c3136===_0x45525a;},'eNCMD':_0x11f410(0x1ff),'YyONu':_0x11f410(0x1f2),'VofHk':function(_0x44a642,_0x159631){return _0x44a642===_0x159631;},'TsBMa':_0x11f410(0x263),'ZCQbL':_0x11f410(0x230),'LMTcK':function(_0x5a4b3a,_0x5454a7){return _0x5a4b3a||_0x5454a7;},'pLNCb':function(_0x54ff33,_0xc63e1e){return _0x54ff33+_0xc63e1e;},'gglAL':_0x11f410(0x213),'UHDYu':_0x11f410(0x26c),'ULNpv':_0x11f410(0x25f),'Uvrcv':_0x11f410(0x254),'xncwn':_0x11f410(0x26f),'HlmEl':function(_0x16687f,_0x27e9ad){return _0x16687f!==_0x27e9ad;},'WngAs':function(_0x2683f9,_0x260df7){return _0x2683f9/_0x260df7;},'tBmSt':function(_0x483832,_0x3575c2){return _0x483832===_0x3575c2;},'VJJRf':function(_0x5ad248,_0x13a1ef){return _0x5ad248(_0x13a1ef);},'LbKJD':_0x11f410(0x1f8),'EUoye':_0x11f410(0x1ea),'pysjy':'UnhandledError','VHahy':_0x11f410(0x1e6),'eGsmm':function(_0x4a7fcf,_0x56cc1b){return _0x4a7fcf>_0x56cc1b;}},{feature:_0x174ebe,scenario:_0x1f15f4,steps:_0x1a6018,uuid:_0x29a530,startedAt:_0x53c3ad,finishedAt:_0x1af52a}=_0x39cec6['LMTcK'](_0x1cd308,{}),_0x5dd9a9=this['getScenarioExamples'](_0x29e5bf,_0x2d4d4a);await this['configureGit']();const _0x29e61a=_0x5dd9a9?_0x39cec6[_0x11f410(0x20c)](_0x39cec6[_0x11f410(0x20c)](_0x39cec6[_0x11f410(0x20c)](_0x2d4d4a[_0x11f410(0x229)],'\x20('),_0x5dd9a9[_0x11f410(0x20b)](',\x20')),')'):_0x2d4d4a[_0x11f410(0x229)],_0x4b8d8e={'uuid':_0x29a530,'started_at':_0x53c3ad,'finished_at':_0x1af52a,'type':_0x39cec6['gglAL'],'body':{'lang':_0x39cec6[_0x11f410(0x23d)],'code':null},'name':_0x29e61a,'scopes':[_0x174ebe&&_0x174ebe[_0x11f410(0x229)]?_0x174ebe[_0x11f410(0x229)]:''],'tags':_0x2d4d4a['tags']?_0x2d4d4a[_0x11f410(0x266)][_0x11f410(0x22e)](({name:_0x46326b})=>_0x46326b):[],'file_name':_0x2d4d4a['uri'],'location':_0x2d4d4a[_0x11f410(0x264)],'vc_filepath':this[_0x11f410(0x211)]&&_0x2d4d4a[_0x11f410(0x264)]?path[_0x11f410(0x235)](this[_0x11f410(0x211)],_0x2d4d4a[_0x11f410(0x264)]):null,'framework':_0x39cec6[_0x11f410(0x1de)],'result':_0x39cec6[_0x11f410(0x258)],'meta':{'feature':_0x174ebe,'scenario':_0x1f15f4,'steps':_0x1a6018,'examples':_0x5dd9a9},'customRerunParam':{'rerun_name':_0x29e61a}};if(_0x52dd3f[_0x11f410(0x22d)]&&_0x1a6018){const _0x54513f=_0x52dd3f[_0x11f410(0x22d)];let _0x1803d3=_0x39cec6[_0x11f410(0x203)];_0x1a6018['every'](_0x48c13f=>{const _0x2ce788=_0x11f410;if(_0x39cec6['AyvZk'](_0x48c13f['result'],_0x39cec6[_0x2ce788(0x1fd)]))return _0x1803d3=_0x39cec6[_0x2ce788(0x1ef)],_0x54513f[_0x2ce788(0x216)]=_0x48c13f[_0x2ce788(0x216)],_0x54513f['failureType']=_0x48c13f[_0x2ce788(0x260)],![];else{if(_0x39cec6[_0x2ce788(0x234)](_0x48c13f[_0x2ce788(0x1e9)],_0x39cec6[_0x2ce788(0x201)]))return _0x1803d3=_0x39cec6['ZCQbL'],![];}return!![];}),_0x4b8d8e[_0x11f410(0x1e4)]=new Date()['toISOString'](),_0x4b8d8e[_0x11f410(0x1e9)]=_0x1803d3,_0x54513f[_0x11f410(0x224)]&&_0x39cec6[_0x11f410(0x1f4)](_0x54513f[_0x11f410(0x224)][_0x11f410(0x1f7)],undefined)?_0x4b8d8e[_0x11f410(0x1f9)]=_0x39cec6['WngAs'](_0x54513f[_0x11f410(0x224)][_0x11f410(0x1f7)],0xf4240):_0x4b8d8e[_0x11f410(0x1f9)]=undefined,_0x39cec6[_0x11f410(0x214)](_0x1803d3,_0x39cec6['YyONu'])&&(_0x4b8d8e[_0x11f410(0x216)]=[{'backtrace':[_0x54513f[_0x11f410(0x216)]?_0x39cec6[_0x11f410(0x23c)](stripAnsi,_0x54513f[_0x11f410(0x216)]):_0x39cec6[_0x11f410(0x223)]]}],_0x4b8d8e[_0x11f410(0x26a)]=_0x54513f[_0x11f410(0x216)]?_0x39cec6[_0x11f410(0x23c)](stripAnsi,_0x54513f[_0x11f410(0x216)]):_0x54513f[_0x11f410(0x20e)],_0x54513f[_0x11f410(0x260)]&&(_0x4b8d8e[_0x11f410(0x247)]=_0x54513f[_0x11f410(0x260)][_0x11f410(0x262)](/AssertError/)?_0x39cec6[_0x11f410(0x23b)]:_0x39cec6[_0x11f410(0x221)]));}if(_0x39cec6[_0x11f410(0x214)](_0x193f43,_0x39cec6[_0x11f410(0x227)])){const _0x1eeb25=this[_0x11f410(0x1ec)](_0x52dd3f[_0x11f410(0x22d)][_0x11f410(0x249)]);_0x1eeb25&&_0x39cec6[_0x11f410(0x1e1)](_0x1eeb25[_0x11f410(0x22b)],0x0)&&(_0x4b8d8e['hooks']=_0x1eeb25,this[_0x11f410(0x21e)](_0x52dd3f[_0x11f410(0x22d)][_0x11f410(0x249)],_0x4b8d8e));}testhubUtils[_0x11f410(0x25c)](_0x4b8d8e,_0x193f43,'',FRAMEWORKS['CUCUMBER']);const _0xad9952={};_0xad9952[_0x11f410(0x245)]=_0x193f43,_0xad9952[_0x11f410(0x22c)]=_0x4b8d8e;const _0x1b2eac=_0xad9952;await SessionHandler[_0x11f410(0x1f3)](_0x1b2eac);}[a8_0x4624d6(0x21e)](_0x5d03fd,_0x5c1ab4){const _0x52d99b=a8_0x4624d6,_0x3b363c={};_0x3b363c[_0x52d99b(0x204)]=function(_0x499c13,_0x3da6a5){return _0x499c13 instanceof _0x3da6a5;},_0x3b363c[_0x52d99b(0x1f5)]=function(_0x818819,_0x3fe2f3){return _0x818819===_0x3fe2f3;},_0x3b363c['ZUZji']=_0x52d99b(0x1f2),_0x3b363c[_0x52d99b(0x236)]=_0x52d99b(0x242),_0x3b363c[_0x52d99b(0x25d)]=function(_0x447026,_0x3784e8){return _0x447026 instanceof _0x3784e8;};const _0x1771e8=_0x3b363c,_0x615261=hooksMap[_0x5d03fd];if(_0x1771e8[_0x52d99b(0x204)](_0x615261,Array))for(const _0x42217b of _0x615261){if(_0x1771e8[_0x52d99b(0x1f5)](_0x42217b[_0x52d99b(0x1e9)],_0x1771e8[_0x52d99b(0x241)])){const _0x1fa16a=_0x1771e8[_0x52d99b(0x236)][_0x52d99b(0x217)]('|');let _0x516765=0x0;while(!![]){switch(_0x1fa16a[_0x516765++]){case'0':_0x5c1ab4[_0x52d99b(0x1e9)]=_0x42217b[_0x52d99b(0x1e9)];continue;case'1':_0x5c1ab4[_0x52d99b(0x216)]=_0x42217b[_0x52d99b(0x270)];continue;case'2':_0x5c1ab4[_0x52d99b(0x26a)]=_0x1771e8[_0x52d99b(0x25d)](_0x42217b[_0x52d99b(0x270)],Array)?_0x42217b[_0x52d99b(0x270)][0x0]['backtrace'][_0x52d99b(0x20b)]('\x0a'):'';continue;case'3':_0x5c1ab4[_0x52d99b(0x247)]=_0x42217b[_0x52d99b(0x247)];continue;case'4':return _0x5c1ab4;}break;}}};}[a8_0x4624d6(0x1ec)](_0x9fcaa4){const _0x3ba629=a8_0x4624d6;if(hooksMap[_0x9fcaa4])return hooksMap[_0x9fcaa4][_0x3ba629(0x22e)](_0x94b0b2=>_0x94b0b2['uuid']);return[];}['getHookRunEventData'](_0x4dc054,_0x1e36f5,_0x53ca5a,_0x374960,_0x147147,_0x34547b){const _0x24c7c0=a8_0x4624d6,_0x51912d={'lDxjF':function(_0x104e7e,_0x10bfa9){return _0x104e7e===_0x10bfa9;},'dEEjx':_0x24c7c0(0x23f),'dhEON':function(_0x588e3b,_0x3df194,_0x31c8c0){return _0x588e3b(_0x3df194,_0x31c8c0);},'mZOBS':_0x24c7c0(0x1e2),'QFWWw':'uri','zUSMu':_0x24c7c0(0x254),'MurzE':_0x24c7c0(0x1fc),'mGusU':_0x24c7c0(0x26c),'LFZzG':function(_0xc276f5,_0x3283c3,_0x57a800){return _0xc276f5(_0x3283c3,_0x57a800);},'TnkFG':_0x24c7c0(0x24e),'uhPVc':_0x24c7c0(0x229),'RfSjY':_0x24c7c0(0x25f)};try{if(_0x51912d['lDxjF'](_0x53ca5a,_0x51912d[_0x24c7c0(0x243)])){const _0x2c1600=new Date()['toISOString'](),_0x54fe31=hooksMap[_0x1e36f5];if(!_0x54fe31)return;const _0x4cb151=_0x54fe31[_0x24c7c0(0x23a)](_0xc58e8f=>_0xc58e8f[_0x24c7c0(0x257)]===_0x374960['id']);if(!_0x4cb151)return;const _0x4474e2=this[_0x24c7c0(0x25a)](_0x4dc054,_0x1e36f5);_0x4cb151['result']=_0x4474e2[_0x24c7c0(0x222)],_0x4cb151[_0x24c7c0(0x1e4)]=_0x2c1600,_0x4cb151[_0x24c7c0(0x247)]=_0x4474e2[_0x24c7c0(0x260)];const _0x4ca54b={};return _0x4ca54b['backtrace']=_0x4474e2[_0x24c7c0(0x206)],_0x4cb151[_0x24c7c0(0x270)]=[_0x4ca54b],_0x4cb151;}const _0x2a1372=TestDetails['getTestUUID'](_0x1e36f5),_0x179cc9=_0x4dc054[_0x24c7c0(0x24d)]['find'](_0xed2a3d=>_0xed2a3d['id']===_0x374960[_0x24c7c0(0x237)]),_0xf7d1=_0x51912d[_0x24c7c0(0x226)](nestedKeyValue,_0x179cc9,[_0x51912d[_0x24c7c0(0x265)],_0x51912d[_0x24c7c0(0x1df)]]),_0x4f71d9=new Date()[_0x24c7c0(0x246)](),_0x46bf33=_0x51912d[_0x24c7c0(0x21b)],_0x3f7c7a=_0x179cc9[_0x24c7c0(0x207)]?_0x179cc9['tagExpression'][_0x24c7c0(0x217)]('\x20')[_0x24c7c0(0x24b)](_0x2df3ab=>_0x2df3ab[_0x24c7c0(0x21a)]('@')):[],_0x2bdc93={'uuid':_0x374960['id'],'type':_0x51912d['MurzE'],'hook_type':_0x34547b,'name':_0x179cc9[_0x24c7c0(0x229)],'body':{'lang':_0x51912d['mGusU'],'code':null},'tags':_0x3f7c7a,'test_run_id':_0x2a1372,'scope':_0x51912d['LFZzG'](nestedKeyValue,_0x147147,[_0x51912d[_0x24c7c0(0x20f)],_0x51912d[_0x24c7c0(0x21c)]]),'scopes':[_0x51912d[_0x24c7c0(0x226)](nestedKeyValue,_0x147147,[_0x51912d['TnkFG'],_0x51912d['uhPVc']])||''],'file_name':_0xf7d1,'location':_0xf7d1,'vc_filepath':this['_gitConfigPath']?path[_0x24c7c0(0x235)](this[_0x24c7c0(0x211)],_0xf7d1):null,'result':_0x46bf33,'started_at':_0x4f71d9,'framework':_0x51912d[_0x24c7c0(0x228)]};return _0x2bdc93;}catch(_0x3e427b){logger['debug']('Exception\x20in\x20getHookRunEventData:\x20'+util[_0x24c7c0(0x239)](_0x3e427b)+'\x20');}}async['sendHook'](_0x51898e,_0x2e4813,_0x4071d5,_0x13ea42,_0x467ea6,_0x5463c2){const _0x3aec3b=a8_0x4624d6,_0x598ba1={'WGdYz':function(_0x2adb26,_0x2ad37a){return _0x2adb26===_0x2ad37a;},'AcEuj':_0x3aec3b(0x25e),'otgfS':function(_0x229d29,_0x24cd2b,_0x47570a){return _0x229d29(_0x24cd2b,_0x47570a);},'EanUV':_0x3aec3b(0x1e2),'xfemu':_0x3aec3b(0x264),'MfUSe':'browserstack-node-agent/src/bin/cucumber-js/test.setup.js'};try{const _0x5a78bc=_0x13ea42['find'](_0x364eb4=>_0x364eb4['id']===_0x467ea6);if(!_0x5a78bc['hookId'])return;const _0x27d7eb=this['getCucumberHookType'](_0x13ea42,_0x5a78bc),_0x2350dd=this[_0x3aec3b(0x24c)](_0x51898e,_0x2e4813,_0x4071d5,_0x5a78bc,_0x5463c2,_0x27d7eb);if(!_0x2350dd)return;_0x598ba1[_0x3aec3b(0x272)](_0x4071d5,_0x598ba1['AcEuj'])&&(hooksMap[_0x2e4813]?hooksMap[_0x2e4813][_0x3aec3b(0x1f1)](_0x2350dd):hooksMap[_0x2e4813]=[_0x2350dd]);const _0x39e2ff=_0x51898e[_0x3aec3b(0x24d)]['find'](_0x49779e=>_0x49779e['id']===_0x5a78bc[_0x3aec3b(0x237)]),_0x17a6cd=_0x598ba1[_0x3aec3b(0x1fb)](nestedKeyValue,_0x39e2ff,[_0x598ba1[_0x3aec3b(0x210)],_0x598ba1['xfemu']]);if(!_0x17a6cd)return;else{if(_0x17a6cd[_0x3aec3b(0x21a)](_0x598ba1[_0x3aec3b(0x261)]))return;}const _0x203516={};_0x203516[_0x3aec3b(0x245)]=_0x4071d5,_0x203516[_0x3aec3b(0x248)]=_0x2350dd;const _0x2c19ed=_0x203516;await SessionHandler[_0x3aec3b(0x1f3)](_0x2c19ed);}catch(_0x9f586c){logger[_0x3aec3b(0x1e0)](_0x3aec3b(0x218)+util['format'](_0x9f586c)+'\x20');}}['getHookResult'](_0x326565,_0x2775f1){const _0x1de7b6=a8_0x4624d6,_0x4717f0={};_0x4717f0[_0x1de7b6(0x24f)]=function(_0x5912ab,_0x3762c9){return _0x5912ab===_0x3762c9;},_0x4717f0[_0x1de7b6(0x1e7)]=_0x1de7b6(0x1f2),_0x4717f0[_0x1de7b6(0x1e5)]=function(_0x5fc340,_0x44cf77){return _0x5fc340===_0x44cf77;},_0x4717f0['tjXeB']=_0x1de7b6(0x209),_0x4717f0[_0x1de7b6(0x1fa)]=_0x1de7b6(0x1ea),_0x4717f0['zYZxh']=function(_0x458424,_0xff216f){return _0x458424||_0xff216f;};const _0x13eb6e=_0x4717f0,_0x5913ee=_0x326565['testStepFinished'][_0x2775f1]['testStepResult'];let _0x5c7955,_0x35cf91;return _0x5913ee&&_0x13eb6e['GzNPl'](_0x5913ee[_0x1de7b6(0x222)][_0x1de7b6(0x26d)]()[_0x1de7b6(0x251)](),_0x13eb6e['UOMiL'])&&(_0x5c7955=_0x13eb6e[_0x1de7b6(0x1e5)](_0x5913ee['exception'],undefined)?_0x5913ee['message']:_0x5913ee[_0x1de7b6(0x267)][_0x1de7b6(0x20e)],_0x35cf91=_0x13eb6e['GzNPl'](_0x5913ee[_0x1de7b6(0x267)],undefined)?_0x13eb6e[_0x1de7b6(0x274)]:_0x5913ee[_0x1de7b6(0x20e)][_0x1de7b6(0x262)](/Assert/)?_0x13eb6e[_0x1de7b6(0x1fa)]:_0x13eb6e[_0x1de7b6(0x274)]),{'status':_0x5913ee[_0x1de7b6(0x222)][_0x1de7b6(0x251)](),'failureType':_0x13eb6e[_0x1de7b6(0x24a)](_0x35cf91,null),'failureData':!_0x5c7955?null:[_0x5c7955]};}[a8_0x4624d6(0x21f)](_0x1b8956,_0x3b8d2e){const _0x25f320=a8_0x4624d6,_0x5cfb1b={};_0x5cfb1b[_0x25f320(0x208)]=function(_0x6f5a32,_0x5cd3e0){return _0x6f5a32===_0x5cd3e0;},_0x5cfb1b['tssaT']='AFTER_EACH',_0x5cfb1b['NYELl']='BEFORE_EACH';const _0x54fe34=_0x5cfb1b;let _0x539a4a=![];for(const _0x291a95 of _0x1b8956){_0x291a95['pickleStepId']&&(_0x539a4a=!![]);if(_0x54fe34[_0x25f320(0x208)](_0x3b8d2e['id'],_0x291a95['id']))return _0x539a4a?_0x54fe34[_0x25f320(0x240)]:_0x54fe34[_0x25f320(0x1e8)];}}[a8_0x4624d6(0x23e)]=(_0x1ac03d,_0x299467)=>{const _0x3cf059=a8_0x4624d6,_0x42e8e={};_0x42e8e[_0x3cf059(0x255)]=function(_0x1fe685,_0x17ef60){return _0x1fe685===_0x17ef60;},_0x42e8e['lCcwS']=function(_0x25b25f,_0x1360d0){return _0x25b25f===_0x1360d0;},_0x42e8e[_0x3cf059(0x252)]=function(_0x5951b1,_0x24bafd){return _0x5951b1>_0x24bafd;};const _0x9c6c10=_0x42e8e;if(!(_0x299467['astNodeIds']&&_0x9c6c10[_0x3cf059(0x252)](_0x299467[_0x3cf059(0x215)]['length'],0x1)))return;const _0x532bfb=_0x299467['astNodeIds'][0x0],_0x593f8e=_0x299467[_0x3cf059(0x215)][0x1],_0x5053e4=_0x1ac03d['feature']&&_0x1ac03d['feature']['children']?_0x1ac03d[_0x3cf059(0x24e)][_0x3cf059(0x20a)]:undefined;let _0x5bc42c=[];_0x5053e4&&_0x5053e4['forEach'](_0x29e61f=>{const _0x456c37=_0x3cf059;if(_0x29e61f['rule'])_0x29e61f[_0x456c37(0x271)][_0x456c37(0x20a)][_0x456c37(0x219)](_0x1e6642=>{const _0x2bc01c=_0x456c37;if(_0x1e6642['scenario']&&_0x9c6c10['Xvjcl'](_0x1e6642[_0x2bc01c(0x231)]['id'],_0x532bfb)&&_0x1e6642[_0x2bc01c(0x231)][_0x2bc01c(0x205)]){const _0x3c1d78=_0x1e6642[_0x2bc01c(0x231)][_0x2bc01c(0x205)][_0x2bc01c(0x22f)](_0x33ba10=>_0x33ba10[_0x2bc01c(0x25b)])[_0x2bc01c(0x23a)](_0x8d2b41=>_0x8d2b41['id']===_0x593f8e);let _0x22d6fd;_0x3c1d78&&_0x3c1d78[_0x2bc01c(0x200)]?_0x22d6fd=_0x3c1d78[_0x2bc01c(0x200)][_0x2bc01c(0x22e)](_0x535ec1=>_0x535ec1[_0x2bc01c(0x220)]):_0x22d6fd=[],_0x22d6fd&&(_0x5bc42c=_0x22d6fd);}});else{if(_0x29e61f[_0x456c37(0x231)]&&_0x9c6c10['lCcwS'](_0x29e61f[_0x456c37(0x231)]['id'],_0x532bfb)&&_0x29e61f[_0x456c37(0x231)][_0x456c37(0x205)]){const _0xd21f28=_0x29e61f[_0x456c37(0x231)][_0x456c37(0x205)][_0x456c37(0x22f)](_0x4bbc26=>_0x4bbc26[_0x456c37(0x25b)])[_0x456c37(0x23a)](_0x4cf25c=>_0x4cf25c['id']===_0x593f8e);let _0x5af924;_0xd21f28&&_0xd21f28['cells']?_0x5af924=_0xd21f28['cells']['map'](_0x1cb4b0=>_0x1cb4b0[_0x456c37(0x220)]):_0x5af924=[],_0x5af924&&(_0x5bc42c=_0x5af924);}}});if(_0x5bc42c[_0x3cf059(0x22b)])return _0x5bc42c;return;};async[a8_0x4624d6(0x273)](){const _0x22c251=a8_0x4624d6,_0x30e9bd={'tkmrt':function(_0x43357c){return _0x43357c();}};if(this['_gitConfigured'])return this[_0x22c251(0x211)];const _0x191316=await _0x30e9bd[_0x22c251(0x244)](getGitMetaData);_0x191316&&(this[_0x22c251(0x211)]=_0x191316[_0x22c251(0x232)]),this['_gitConfigured']=!![];}}module['exports']=o11yClassErrorHandler(TestObservabilityReporter,[a8_0x4624d6(0x273),'getScenarioExamples',a8_0x4624d6(0x21f),a8_0x4624d6(0x25a),a8_0x4624d6(0x225),a8_0x4624d6(0x24c),a8_0x4624d6(0x20d)]);
|
|
@@ -1 +1 @@
|
|
|
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
|
+
const a9_0x3514c9=a9_0x5cb1;(function(_0x4a9bea,_0x169c56){const _0x49ae2f=a9_0x5cb1,_0x10e8a4=_0x4a9bea();while(!![]){try{const _0x1fcbbc=-parseInt(_0x49ae2f(0x157))/0x1*(-parseInt(_0x49ae2f(0x14d))/0x2)+parseInt(_0x49ae2f(0x16a))/0x3*(parseInt(_0x49ae2f(0x177))/0x4)+-parseInt(_0x49ae2f(0xec))/0x5+parseInt(_0x49ae2f(0x152))/0x6+parseInt(_0x49ae2f(0xef))/0x7+parseInt(_0x49ae2f(0x143))/0x8+-parseInt(_0x49ae2f(0x161))/0x9;if(_0x1fcbbc===_0x169c56)break;else _0x10e8a4['push'](_0x10e8a4['shift']());}catch(_0x32a719){_0x10e8a4['push'](_0x10e8a4['shift']());}}}(a9_0x3415,0x332b8));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra}=require('../../helpers/helper'),setKeepAlive=require('../../helpers/setKeepAlive'),util=require(a9_0x3514c9(0xea)),PerformanceTester=require('../../helpers/performance-tester'),{commandRepository}=require(a9_0x3514c9(0x118)),cucumberModule=requireModule('@cucumber/cucumber/lib/index.js'),logger=require(a9_0x3514c9(0x12a))[a9_0x3514c9(0xf2)],{shouldProcessEventForTesthub}=require(a9_0x3514c9(0x137)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require('../../helpers/test-observability/utils'),TestDetails=require(a9_0x3514c9(0x133)),RequestQueueHandler=require(a9_0x3514c9(0x15f)),{o11yErrorHandler}=require(a9_0x3514c9(0x14f)),MyReporter=require(a9_0x3514c9(0x128)),SessionHandler=require(a9_0x3514c9(0x102)),scripts=require(a9_0x3514c9(0x125)),globals=require(a9_0x3514c9(0x130)),testHubConstants=require(a9_0x3514c9(0x13b)),{shouldScanTestForAccessibility}=require(a9_0x3514c9(0xe9)),{isUndefined}=require(a9_0x3514c9(0x150)),a9_0x5d19a1={};a9_0x5d19a1[a9_0x3514c9(0x127)]=undefined,a9_0x5d19a1[a9_0x3514c9(0xe1)]={},a9_0x5d19a1['o11ySyncDone']=![],a9_0x5d19a1[a9_0x3514c9(0xe1)]['id']=undefined,a9_0x5d19a1[a9_0x3514c9(0xe1)][a9_0x3514c9(0x15b)]=undefined;const workerDetails=a9_0x5d19a1;shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x1fd284){const _0xd405cb=a9_0x3514c9,_0x5845fc=workerDetails[_0xd405cb(0xe1)]['testInfo'];if(!_0x5845fc)return;await MyReporter['addTestUIDAndReportLog'](_0x5845fc,_0x1fd284);}),registerListeners=()=>{const _0x582342=a9_0x3514c9,_0x41db76={};_0x41db76['ejcmO']='Inside\x20browserstack\x20registerListeners';const _0x103cdd=_0x41db76;logger['debug'](_0x103cdd['ejcmO']),process[_0x582342(0x122)](_0x582342(0x142)+process[_0x582342(0x16c)]),process['on']('bs:addLog:'+process[_0x582342(0x16c)],sendTestLog),PerformanceTester['startMonitoring']();};modifyCommand(),setKeepAlive();const Before=cucumberModule[a9_0x3514c9(0x12d)],After=cucumberModule['After'],AfterAll=cucumberModule[a9_0x3514c9(0xdf)],BeforeAll=cucumberModule[a9_0x3514c9(0x151)],AfterStep=cucumberModule[a9_0x3514c9(0x14b)],configuration=process[a9_0x3514c9(0x10b)][a9_0x3514c9(0x112)],bstackConfig=process[a9_0x3514c9(0x10b)][a9_0x3514c9(0x168)];if(configuration!==undefined){const config=JSON[a9_0x3514c9(0xee)](configuration);isBrowserstackInfra()?(global['__skipSessionName']=isTrue(config[a9_0x3514c9(0x14a)]),global[a9_0x3514c9(0x144)]=isTrue(config[a9_0x3514c9(0x136)])):(global[a9_0x3514c9(0x167)]=!![],global[a9_0x3514c9(0x144)]=!![]),shouldProcessEventForTesthub()?require(a9_0x3514c9(0x176))[a9_0x3514c9(0x148)](config,null,!![]):require('../../index')[a9_0x3514c9(0x148)](config),global[a9_0x3514c9(0x146)]=config[a9_0x3514c9(0x12b)]||{};}if(bstackConfig!==undefined){const browserStackConfig=JSON[a9_0x3514c9(0xee)](bstackConfig);browserStackConfig&&(commandRepository[a9_0x3514c9(0x17d)](browserStackConfig),commandRepository['setFramework'](a9_0x3514c9(0x120)));}function a9_0x3415(){const _0x5b6aba=['Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20','../../helpers/logger','platformCaps',',\x22level\x22:\x20\x22','Before','bstack','glWgG','../../helpers/globals','getTestUUID','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','../playwright/reporter/test-details.js','lBItb','saveTestResults','skipSessionStatus','../../helpers/testhub/utils','push','UNBfe','XnUgV','../../helpers/testhub/constants.js','Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','name','wlUnn','testCaseStartedId','hrELW','bs:addLog:','9272SBofRZ','__skipSessionStatus','WfaNd','__platformCaps','zrGSu','browserstackAgentV2','startMonitoring','skipSessionName','AfterStep','pickleStep','2hypKIW','oIFeM','../../helpers/test-observability/error-handler','lodash','BeforeAll','1308762DCKBPN','bstackA11yShouldScan','__timeout','AatIi','isAccessibilityPlatform','281927rVsxkV','getGlobal','error','Error:\x20at\x20After:\x20','testInfo','text','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','iVgId','../../helpers/test-observability/requestQueueHandler','Inside\x20browserstack\x20BeforeAll','6311754vBVYmI','toLowerCase','hdfLE','result','PsUII','Error:\x20at\x20After\x20Step:\x20','__skipSessionName','BSTACK_CONFIG','pickle','24VoENkc','stringify','pid','session_','info','thJwtToken','qxsrn','\x0aError:\x20','orwSw','iWQsP','initQuit','hDrHk','../../index','91748OMFZRh','Failed:\x20','quitCount_','Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20','length','JqygV','setConfig','__sessionFailed','timeout','rBulf','__drivers','pYHSB','Performing\x20scan\x20before\x20saving\x20results','map','LpkVy','AfterAll','setDefaultTimeout','currentTest','Error:\x20sendPlatformDetails\x20at\x20After:\x20','3|2|1|4|0','CBTSessionCreated','shift','ENV_VAR','\x20|\x20','executeScript','../../helpers/accessibility-automation/helper','util','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','66285BCabnN','debug','parse','1676122uEQRlO','aMdjt','nNfUH','winstonLogger','split','driverCleanup','jcMnR','uuid','event_type','VYvJs','eQBwM','BysyS','Inside\x20browserstack\x20Before','HTjXu','__error_messages__','IoOmW','tEQvG','GluRA','message','../../helpers/test-observability/sessionHandler','pzCSJ','executeAsyncScript','izVhv','tags','SrQFI','Inside\x20browserstack\x20AfterStep','tooyp','Error:\x20cleaning\x20up\x20driver:\x20','env','TcuNj','bKNGz','PrsQV','UNjkH','getInstance','LpUlf','CONFIG','test_run','hnnKx','join','finally','format','../../helpers/ai-sdk/autoHealHelper','toString','Passed','integrations','stopMonitoring','\x22}}','KfXzd','failed','cucumber-js','QnRFP','removeAllListeners','status','thTestRunUuid','../../helpers/accessibility-automation/scripts','Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20','workerInfo','../playwright/reporter/reporter.js'];a9_0x3415=function(){return _0x5b6aba;};return a9_0x3415();}global[a9_0x3514c9(0x154)]=0x0;const __setDefaultTimeout=cucumberModule['setDefaultTimeout'];cucumberModule[a9_0x3514c9(0xe0)]=_0x29f60f=>{const _0x1f611e=a9_0x3514c9,_0x1dd071={'XnUgV':function(_0x55ee4b,_0x225777){return _0x55ee4b(_0x225777);}};global[_0x1f611e(0x154)]=_0x29f60f,_0x1dd071[_0x1f611e(0x13a)](__setDefaultTimeout,_0x29f60f);};const a9_0x4755db={};a9_0x4755db[a9_0x3514c9(0x13e)]=a9_0x3514c9(0x12e),BeforeAll(a9_0x4755db,function(){const _0x2d0fc4=a9_0x3514c9,_0x1c5b26={'qxsrn':function(_0x2bf44b,_0x4b0e7d,_0x2fdbc0,_0x334a57){return _0x2bf44b(_0x4b0e7d,_0x2fdbc0,_0x334a57);},'qHLLz':_0x2d0fc4(0x11f),'UNjkH':_0x2d0fc4(0xe7),'izVhv':function(_0x468aa9,_0x2dd2e2,_0x4adcfa){return _0x468aa9(_0x2dd2e2,_0x4adcfa);},'glWgG':'passed','iWQsP':_0x2d0fc4(0x160),'orwSw':function(_0x39fdd){return _0x39fdd();},'jcMnR':function(_0x30a781,_0xc6cbad){return _0x30a781(_0xc6cbad);}};PerformanceTester[_0x2d0fc4(0x149)](),logger[_0x2d0fc4(0xed)](_0x1c5b26[_0x2d0fc4(0x173)]),global[_0x2d0fc4(0xfd)]=[],global[_0x2d0fc4(0x17e)]=![],_0x1c5b26[_0x2d0fc4(0x172)](shouldProcessEventForTesthub)&&(_0x1c5b26[_0x2d0fc4(0x172)](registerListeners),_0x1c5b26[_0x2d0fc4(0xf5)](addRequestSpy,![])),global[_0x2d0fc4(0xf4)]=async()=>{const _0x54864d=_0x2d0fc4;let _0x5c7a30=![];try{await global[_0x54864d(0x181)][0x0][_0x54864d(0x16d)],_0x5c7a30=!![],global[_0x54864d(0x17e)]?await _0x1c5b26[_0x54864d(0x170)](markSessionStatus,global['__drivers'][0x0],_0x1c5b26['qHLLz'],global['__error_messages__']['join'](_0x1c5b26[_0x54864d(0x10f)])):await _0x1c5b26[_0x54864d(0x105)](markSessionStatus,global['__drivers'][0x0],_0x1c5b26[_0x54864d(0x12f)]);}catch(_0x2492f9){logger[_0x54864d(0xed)](_0x54864d(0x10a)+_0x2492f9);}global[_0x54864d(0xfd)]=[],global[_0x54864d(0x17e)]=![];if(_0x5c7a30)try{await global[_0x54864d(0x181)][0x0][_0x54864d(0x174)]();}catch(_0x553c3b){logger['debug'](_0x54864d(0x126)+_0x553c3b);}};});const a9_0x2e5e7a={};a9_0x2e5e7a[a9_0x3514c9(0x13e)]=a9_0x3514c9(0x12e),a9_0x2e5e7a['timeout']=0x2710,Before(a9_0x2e5e7a,function(_0x2783fb,_0x2cc0f7){const _0x402b7c=a9_0x3514c9,_0x45d041={'LpUlf':function(_0x3849b2,_0x585a32){return _0x3849b2>_0x585a32;},'bKNGz':function(_0x35c249,_0x3bd5aa){return _0x35c249(_0x3bd5aa);},'lBItb':function(_0x486d9b,_0x5cccd2,_0x19e16c,_0x2e0975){return _0x486d9b(_0x5cccd2,_0x19e16c,_0x2e0975);},'dwhHf':_0x402b7c(0x153),'pzCSJ':function(_0x4fbe39){return _0x4fbe39();},'eQBwM':_0x402b7c(0xfb)};commandRepository['setTestNameForHealingContext'](_0x2783fb['pickle'][_0x402b7c(0x13e)]),logger['debug'](_0x45d041[_0x402b7c(0xf9)]),new Promise(async _0x4ae565=>{const _0x52ec97=_0x402b7c;try{_0x45d041['LpUlf'](global[_0x52ec97(0x181)][_0x52ec97(0x17b)],0x1)&&(await global[_0x52ec97(0xf4)](),global[_0x52ec97(0x181)][_0x52ec97(0xe5)]()),global['__drivers'][0x0]['quitCount_']&&_0x45d041[_0x52ec97(0x111)](global[_0x52ec97(0x181)][0x0][_0x52ec97(0x179)],0x0)&&await global[_0x52ec97(0xf4)]();}catch(_0x56581b){}workerDetails['currentTest'][_0x52ec97(0x15b)]=_0x2783fb[_0x52ec97(0x140)];try{if(!_0x45d041[_0x52ec97(0x10d)](isUndefined,_0x2783fb[_0x52ec97(0x169)][_0x52ec97(0x106)])){const _0xea8fa9=_0x45d041[_0x52ec97(0x134)](shouldScanTestForAccessibility,null,![],_0x2783fb['pickle'][_0x52ec97(0x106)][_0x52ec97(0xdd)](({name:_0x57f2c4})=>_0x57f2c4));globals['setGlobal'](_0x45d041['dwhHf'],_0xea8fa9);}}catch(_0x119a04){logger[_0x52ec97(0xed)](_0x52ec97(0x13c)+util[_0x52ec97(0x117)](_0x119a04));}_0x45d041[_0x52ec97(0x103)](_0x4ae565);})['finally'](_0x2cc0f7);});function a9_0x5cb1(_0x254a84,_0x38e683){const _0x3415e1=a9_0x3415();return a9_0x5cb1=function(_0x5cb181,_0x2206e6){_0x5cb181=_0x5cb181-0xdd;let _0x5c3466=_0x3415e1[_0x5cb181];return _0x5c3466;},a9_0x5cb1(_0x254a84,_0x38e683);}const a9_0x411a09={};a9_0x411a09['name']='bstack',a9_0x411a09[a9_0x3514c9(0x17f)]=0x2710,After(a9_0x411a09,function(_0x4fec01,_0x19acc6){const _0x343c25=a9_0x3514c9,_0x424597={'tooyp':_0x343c25(0xe3),'UNBfe':function(_0x103807,_0x280cd3){return _0x103807===_0x280cd3;},'WfaNd':_0x343c25(0x11f),'esrxT':function(_0xd21bb5,_0x14a8ba){return _0xd21bb5===_0x14a8ba;},'qKEdj':function(_0xfd7800,_0x551fcb,_0x39074f,_0xbbfde1){return _0xfd7800(_0x551fcb,_0x39074f,_0xbbfde1);},'rBulf':_0x343c25(0xe7),'LpkVy':function(_0x487423,_0x5a3060,_0x286d47){return _0x487423(_0x5a3060,_0x286d47);},'PsUII':'passed','mMciC':function(_0x4bb399,_0x2ec910){return _0x4bb399>_0x2ec910;},'HTjXu':function(_0x2dc784){return _0x2dc784();},'wNQoQ':function(_0xb52c24,_0x3b3d05,_0x5af6a3,_0x4eae8d){return _0xb52c24(_0x3b3d05,_0x5af6a3,_0x4eae8d);},'zrGSu':_0x343c25(0xe4),'hrELW':_0x343c25(0x156),'SrQFI':_0x343c25(0x153),'PvYCY':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','nMDGK':_0x343c25(0x183),'tEQvG':_0x343c25(0xeb),'iVgId':function(_0x12f70f,_0x2ffaba){return _0x12f70f>_0x2ffaba;},'KfXzd':function(_0xf084b8){return _0xf084b8();},'neXlq':'Inside\x20browserstack\x20After'};logger[_0x343c25(0xed)](_0x424597['neXlq']),workerDetails[_0x343c25(0xe1)]['testInfo']=_0x4fec01[_0x343c25(0x140)],new Promise(async _0x7cdb0a=>{const _0x2e752f=_0x343c25;let _0x4512e1=![];try{const _0x11aa17=_0x424597[_0x2e752f(0x109)][_0x2e752f(0xf3)]('|');let _0x23213c=0x0;while(!![]){switch(_0x11aa17[_0x23213c++]){case'0':if(_0x424597[_0x2e752f(0x139)](_0x4fec01[_0x2e752f(0x164)][_0x2e752f(0x123)][_0x2e752f(0x119)]()[_0x2e752f(0x162)](),_0x424597['WfaNd'])||_0x424597['esrxT'](_0x4fec01[_0x2e752f(0x164)][_0x2e752f(0x123)][_0x2e752f(0x119)]()[_0x2e752f(0x162)](),'6')){try{global[_0x2e752f(0xfd)][_0x2e752f(0x138)](_0x4fec01[_0x2e752f(0x164)]['message']);}catch(_0x5d2a6f){logger[_0x2e752f(0xed)](_0x2e752f(0x17a)+_0x5d2a6f);}await _0x424597['qKEdj'](markSessionStatus,global[_0x2e752f(0x181)][0x0],_0x424597[_0x2e752f(0x145)],global['__error_messages__'][_0x2e752f(0x115)](_0x424597[_0x2e752f(0x180)]));}else await _0x424597[_0x2e752f(0xde)](markSessionStatus,global[_0x2e752f(0x181)][0x0],_0x424597[_0x2e752f(0x165)]);continue;case'1':_0x4512e1=!![];continue;case'2':await global[_0x2e752f(0x181)][0x0][_0x2e752f(0x16d)];continue;case'3':_0x424597['mMciC'](global[_0x2e752f(0x181)][_0x2e752f(0x17b)],0x1)&&(await global[_0x2e752f(0xf4)](),global['__drivers'][_0x2e752f(0xe5)](),global['__error_messages__']=[],global['__sessionFailed']=![]);continue;case'4':!global['__skipSessionName']&&await global[_0x2e752f(0x181)][0x0][_0x2e752f(0xe8)](_0x2e752f(0x15d)+_0x4fec01[_0x2e752f(0x169)][_0x2e752f(0x13e)]+_0x2e752f(0x11d));continue;}break;}}catch(_0x5af2ff){logger[_0x2e752f(0xed)](_0x2e752f(0x15a)+util[_0x2e752f(0x117)](_0x5af2ff));}try{if(_0x424597[_0x2e752f(0xfc)](shouldProcessEventForTesthub)){const _0x4fad83=TestDetails[_0x2e752f(0x131)](_0x4fec01[_0x2e752f(0x140)]),_0x3ad510=await _0x424597['wNQoQ'](sendPlatformDetails,global[_0x2e752f(0x181)][0x0],_0x4fad83,!![]),_0x581d4e={};_0x581d4e[_0x2e752f(0xf6)]=_0x4fad83,_0x581d4e[_0x2e752f(0x11b)]=_0x3ad510;const _0x9292c2=_0x581d4e,_0x44a121={};_0x44a121[_0x2e752f(0xf7)]=_0x424597[_0x2e752f(0x147)],_0x44a121[_0x2e752f(0x113)]=_0x9292c2,await SessionHandler['uploadEventData'](_0x44a121);}}catch(_0x59f324){logger['debug'](_0x2e752f(0xe2)+util['format'](_0x59f324));}try{if(globals[_0x2e752f(0x158)](_0x424597[_0x2e752f(0x141)])&&globals[_0x2e752f(0x158)](_0x424597[_0x2e752f(0x107)])){logger[_0x2e752f(0x16e)](_0x424597['PvYCY']);const _0xf2d5e8=TestDetails[_0x2e752f(0x131)](_0x4fec01[_0x2e752f(0x140)]),_0x53834f={};_0x53834f[_0x2e752f(0x124)]=_0xf2d5e8,_0x53834f['thBuildUuid']=process[_0x2e752f(0x10b)][testHubConstants[_0x2e752f(0xe6)]['BROWSERSTACK_TESTHUB_UUID']],_0x53834f[_0x2e752f(0x16f)]=process[_0x2e752f(0x10b)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_JWT']];const _0xc65bf2=_0x53834f;logger[_0x2e752f(0xed)](_0x2e752f(0x132)+JSON[_0x2e752f(0x16b)](_0xc65bf2)),logger[_0x2e752f(0xed)](_0x424597['nMDGK']),logger[_0x2e752f(0xed)](util[_0x2e752f(0x117)](await global[_0x2e752f(0x181)][0x0][_0x2e752f(0x104)](scripts['performScan'],{'method':global['browserstackSessionName']}))),await global['__drivers'][0x0][_0x2e752f(0x104)](scripts[_0x2e752f(0x135)],_0xc65bf2),logger[_0x2e752f(0x16e)](_0x424597[_0x2e752f(0xff)]);}}catch(_0x4e8c89){logger[_0x2e752f(0x159)](_0x2e752f(0x129)+util['format']);}if(_0x4512e1)try{global[_0x2e752f(0x181)][0x0]&&_0x424597[_0x2e752f(0x15e)](global[_0x2e752f(0x181)][0x0][_0x2e752f(0x179)],0x0)&&await global[_0x2e752f(0x181)][0x0]['initQuit']();}catch(_0x2732fa){logger[_0x2e752f(0xed)]('Error:\x20quiting\x20driver\x20at\x20After:\x20'+_0x2732fa);}_0x424597[_0x2e752f(0x11e)](_0x7cdb0a);})[_0x343c25(0x116)](()=>_0x19acc6());});const a9_0x41c771={};a9_0x41c771[a9_0x3514c9(0x13e)]=a9_0x3514c9(0x12e),a9_0x41c771[a9_0x3514c9(0x17f)]=0x2710,AfterStep(a9_0x41c771,function(_0x35d7e4,_0x3a987a){const _0x265533=a9_0x3514c9,_0x26cd47={'iUaCO':function(_0x272491,_0x4d11b6){return _0x272491===_0x4d11b6;},'pYHSB':_0x265533(0x11f),'uksLL':function(_0x3d5bac,_0x5ec237){return _0x3d5bac===_0x5ec237;},'wlUnn':function(_0x54f99e,_0x52dfa5){return _0x54f99e!==_0x52dfa5;},'nNfUH':function(_0x18ccaf,_0x8896e5,_0x2de643){return _0x18ccaf(_0x8896e5,_0x2de643);},'TcuNj':function(_0x8acb98,_0x70a13b){return _0x8acb98+_0x70a13b;},'ZVyUl':function(_0x5ba22f,_0x1a25bc){return _0x5ba22f+_0x1a25bc;},'PrsQV':function(_0x23720a,_0x2ce35c){return _0x23720a+_0x2ce35c;},'JqygV':_0x265533(0x178),'hnnKx':_0x265533(0x171),'IoOmW':_0x265533(0x159),'hDrHk':function(_0x431df3,_0x3d4929){return _0x431df3!==_0x3d4929;},'oIFeM':function(_0x320497,_0x4c4b81,_0x16ab57){return _0x320497(_0x4c4b81,_0x16ab57);},'gvfCw':function(_0x535c2c,_0x1201b2){return _0x535c2c+_0x1201b2;},'AatIi':'Passed:\x20','VYvJs':'info','GluRA':function(_0x278d7c,_0x21bc26,_0x16d25a){return _0x278d7c(_0x21bc26,_0x16d25a);},'BysyS':_0x265533(0x11a),'QnRFP':function(_0x3758f8){return _0x3758f8();},'hdfLE':_0x265533(0x108)};logger[_0x265533(0xed)](_0x26cd47[_0x265533(0x163)]);const _0x594193=async(_0x65d337,_0x1f05a7)=>{const _0x15e2a1=_0x265533;await global[_0x15e2a1(0x181)][0x0][_0x15e2a1(0xe8)](_0x15e2a1(0x13d)+_0x65d337+_0x15e2a1(0x12c)+_0x1f05a7+_0x15e2a1(0x11d));};new Promise(async _0x3ee048=>{const _0x10154d=_0x265533;try{_0x26cd47['iUaCO'](_0x35d7e4['result'][_0x10154d(0x123)]['toString']()[_0x10154d(0x162)](),_0x26cd47[_0x10154d(0x182)])||_0x26cd47['uksLL'](_0x35d7e4[_0x10154d(0x164)]['status']['toString']()[_0x10154d(0x162)](),'6')?(global[_0x10154d(0x17e)]=!![],global[_0x10154d(0xfd)][_0x10154d(0x138)](_0x35d7e4[_0x10154d(0x164)][_0x10154d(0x101)]),_0x26cd47[_0x10154d(0x13f)](_0x35d7e4[_0x10154d(0x14c)],undefined)?await _0x26cd47[_0x10154d(0xf1)](_0x594193,JSON['stringify'](_0x26cd47[_0x10154d(0x10c)](_0x26cd47['ZVyUl'](_0x26cd47[_0x10154d(0x10e)](_0x26cd47[_0x10154d(0x17c)],'\x22'+_0x35d7e4[_0x10154d(0x14c)][_0x10154d(0x15c)]+'\x22\x20'),_0x26cd47[_0x10154d(0x114)]),_0x35d7e4[_0x10154d(0x164)][_0x10154d(0x101)])),_0x26cd47[_0x10154d(0xfe)]):await _0x26cd47['nNfUH'](_0x594193,JSON[_0x10154d(0x16b)](_0x26cd47[_0x10154d(0x10e)](_0x26cd47[_0x10154d(0x17c)],_0x35d7e4[_0x10154d(0x164)]['message'])),_0x26cd47[_0x10154d(0xfe)])):_0x26cd47[_0x10154d(0x175)](_0x35d7e4[_0x10154d(0x14c)],undefined)?await _0x26cd47[_0x10154d(0x14e)](_0x594193,JSON[_0x10154d(0x16b)](_0x26cd47['gvfCw'](_0x26cd47[_0x10154d(0x155)],'\x22'+_0x35d7e4[_0x10154d(0x14c)][_0x10154d(0x15c)]+'\x22')),_0x26cd47[_0x10154d(0xf8)]):await _0x26cd47[_0x10154d(0x100)](_0x594193,JSON[_0x10154d(0x16b)](_0x26cd47[_0x10154d(0xfa)]),_0x26cd47[_0x10154d(0xf8)]);}catch(_0x20c32d){logger['debug'](_0x10154d(0x166)+_0x20c32d);}_0x26cd47[_0x10154d(0x121)](_0x3ee048);})[_0x265533(0x116)](()=>_0x3a987a());});const a9_0x576e51={};a9_0x576e51[a9_0x3514c9(0x13e)]='bstack',a9_0x576e51[a9_0x3514c9(0x17f)]=0x7530,AfterAll(a9_0x576e51,async function(_0x5b46e9,_0xdd1cc7){const _0x2e4c7c=a9_0x3514c9,_0x4522d3={'aMdjt':function(_0x19b041){return _0x19b041();},'tXVYu':'Inside\x20browserstack\x20AfterAll'};logger[_0x2e4c7c(0xed)](_0x4522d3['tXVYu']),await new Promise(async _0x2672e2=>{const _0x59ce06=_0x2e4c7c;await RequestQueueHandler[_0x59ce06(0x110)]()['shutdown'](),PerformanceTester[_0x59ce06(0x11c)](),await global[_0x59ce06(0xf4)](),_0x4522d3[_0x59ce06(0xf0)](_0x2672e2);});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a10_0x437802=a10_0x2750;(function(_0x433721,_0x3b6aa5){const _0x1db965=a10_0x2750,_0x998c78=_0x433721();while(!![]){try{const _0x422c05=-parseInt(_0x1db965(0x1f8))/0x1*(-parseInt(_0x1db965(0x1cf))/0x2)+-parseInt(_0x1db965(0x1df))/0x3*(-parseInt(_0x1db965(0x1ef))/0x4)+parseInt(_0x1db965(0x1d5))/0x5*(-parseInt(_0x1db965(0x1ce))/0x6)+-parseInt(_0x1db965(0x1e2))/0x7*(-parseInt(_0x1db965(0x203))/0x8)+parseInt(_0x1db965(0x1f3))/0x9*(-parseInt(_0x1db965(0x1e0))/0xa)+parseInt(_0x1db965(0x201))/0xb*(parseInt(_0x1db965(0x1f7))/0xc)+-parseInt(_0x1db965(0x204))/0xd;if(_0x422c05===_0x3b6aa5)break;else _0x998c78['push'](_0x998c78['shift']());}catch(_0x477799){_0x998c78['push'](_0x998c78['shift']());}}}(a10_0x456c,0x19110));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a10_0x437802(0x1e6)),setKeepAlive=require('../../helpers/setKeepAlive'),cucumberModule=requireModule('cucumber/lib/index.js'),logger=require('../../helpers/logger')[a10_0x437802(0x1f0)];function a10_0x456c(){const _0x2900e2=['__skipSessionStatus','../../helpers/helper','DUjMj','nWawQ','status','CONFIG','env','session_','Inside\x20browserstack\x20Before','After','8724HLIMnI','winstonLogger','timeout','skipSessionStatus','9mocbrs','__platformCaps','../../index','__error_messages__','24JQxGEw','33959zzwKpw','Inside\x20browserstack\x20After','result','abAsP','__skipSessionName','\x20|\x20','iYkah','browserstackAgentV2','__timeout','12980GwhAbe','__driver','10824LDoqhH','1123707NHOifF','Before','WyUfy','debug','450tLLRZh','6PtRQDM','xcvgp','join','bstack','passed','then','1190qKqxhy','Error:\x20quiting\x20at\x20After:\x20','pickle','platformCaps','sZWjx','setDefaultTimeout','name','HfMdm','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','\x22}}','111YPcWqw','1511570AQOEuV','mOFnJ','896afnEkD','Error:\x20setting\x20status\x20at\x20After:\x20','BUPwV'];a10_0x456c=function(){return _0x2900e2;};return a10_0x456c();}modifyCommand(),setKeepAlive();function a10_0x2750(_0x33abf2,_0x208e44){const _0x456cb2=a10_0x456c();return a10_0x2750=function(_0x275053,_0x2ac86e){_0x275053=_0x275053-0x1cd;let _0x48918a=_0x456cb2[_0x275053];return _0x48918a;},a10_0x2750(_0x33abf2,_0x208e44);}const Before=cucumberModule[a10_0x437802(0x205)],After=cucumberModule[a10_0x437802(0x1ee)],configuration=process[a10_0x437802(0x1eb)][a10_0x437802(0x1ea)];if(configuration!==undefined){const config=JSON['parse'](configuration);isTrue(config['skipSessionName'])&&(global[a10_0x437802(0x1fc)]=!![]),global[a10_0x437802(0x1e5)]=isTrue(config[a10_0x437802(0x1f2)]),require(a10_0x437802(0x1f5))[a10_0x437802(0x1ff)](config),global[a10_0x437802(0x1f4)]=config[a10_0x437802(0x1d8)]||{};}global['__timeout']=0x0;const __setDefaultTimeout=cucumberModule[a10_0x437802(0x1da)];cucumberModule[a10_0x437802(0x1da)]=_0x1e06d6=>{const _0x370038=a10_0x437802,_0x541874={'BUPwV':function(_0x367f75,_0xc500ce){return _0x367f75(_0xc500ce);}};global[_0x370038(0x200)]=_0x1e06d6,_0x541874[_0x370038(0x1e4)](__setDefaultTimeout,_0x1e06d6);};const a10_0x1368d1={};a10_0x1368d1[a10_0x437802(0x1db)]=a10_0x437802(0x1d2),Before(a10_0x1368d1,function(){const _0x5ec324=a10_0x437802,_0x269cbf={};_0x269cbf[_0x5ec324(0x1fe)]=_0x5ec324(0x1ed);const _0x2c1aa6=_0x269cbf;logger[_0x5ec324(0x1cd)](_0x2c1aa6[_0x5ec324(0x1fe)]),global[_0x5ec324(0x1f6)]=[];});const a10_0x86afa5={};a10_0x86afa5['name']='bstack',a10_0x86afa5[a10_0x437802(0x1f1)]=0x2710,After(a10_0x86afa5,function(_0x101e33,_0x457a2a){const _0x15246f=a10_0x437802,_0x5a8298={'WyUfy':function(_0x218c51,_0x4a8284){return _0x218c51===_0x4a8284;},'abAsP':'failed','DUjMj':function(_0x5b91ea,_0xe40710,_0x1ed7df,_0x4b5bc8){return _0x5b91ea(_0xe40710,_0x1ed7df,_0x4b5bc8);},'HfMdm':_0x15246f(0x1fd),'OeAez':function(_0x583287,_0x1246ed,_0x4ff529){return _0x583287(_0x1246ed,_0x4ff529);},'sZWjx':_0x15246f(0x1d3),'mOFnJ':function(_0x5ee01f){return _0x5ee01f();},'xcvgp':function(_0x251a86,_0xfe76b1){return _0x251a86(_0xfe76b1);},'nWawQ':_0x15246f(0x1f9)};logger[_0x15246f(0x1cd)](_0x5a8298[_0x15246f(0x1e8)]),new Promise(async(_0x7b5256,_0x296874)=>{const _0x44d7f7=_0x15246f;let _0x12eb8e=![];try{await global[_0x44d7f7(0x202)][_0x44d7f7(0x1ec)],_0x12eb8e=!![],!global['__skipSessionName']&&await global[_0x44d7f7(0x202)]['executeScript'](_0x44d7f7(0x1dd)+_0x101e33[_0x44d7f7(0x1d7)][_0x44d7f7(0x1db)]+_0x44d7f7(0x1de)),_0x5a8298[_0x44d7f7(0x206)](_0x101e33[_0x44d7f7(0x1fa)][_0x44d7f7(0x1e9)]['toLowerCase'](),_0x5a8298[_0x44d7f7(0x1fb)])?await _0x5a8298[_0x44d7f7(0x1e7)](markSessionStatus,global[_0x44d7f7(0x202)],_0x5a8298['abAsP'],global[_0x44d7f7(0x1f6)][_0x44d7f7(0x1d1)](_0x5a8298[_0x44d7f7(0x1dc)])):await _0x5a8298['OeAez'](markSessionStatus,global[_0x44d7f7(0x202)],_0x5a8298[_0x44d7f7(0x1d9)]);}catch(_0x834e50){logger[_0x44d7f7(0x1cd)](_0x44d7f7(0x1e3)+_0x834e50);}if(_0x12eb8e)try{await global[_0x44d7f7(0x202)]['initQuit'](),_0x5a8298[_0x44d7f7(0x1e1)](_0x7b5256);}catch(_0x2246bd){logger[_0x44d7f7(0x1cd)](_0x44d7f7(0x1d6)+_0x2246bd),_0x5a8298[_0x44d7f7(0x1d0)](_0x296874,_0x2246bd);}else _0x5a8298[_0x44d7f7(0x1e1)](_0x296874);})[_0x15246f(0x1d4)](()=>_0x457a2a());});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a11_0x2c66(_0x2c1e5b,_0x1ab199){const _0x41d2bb=a11_0x41d2();return a11_0x2c66=function(_0x2c6641,_0x422ac5){_0x2c6641=_0x2c6641-0x8f;let _0x21f287=_0x41d2bb[_0x2c6641];return _0x21f287;},a11_0x2c66(_0x2c1e5b,_0x1ab199);}const a11_0x5c37f8=a11_0x2c66;(function(_0x45fa72,_0x31f714){const _0x4ea348=a11_0x2c66,_0x4d3929=_0x45fa72();while(!![]){try{const _0x137021=-parseInt(_0x4ea348(0x9d))/0x1*(-parseInt(_0x4ea348(0x9b))/0x2)+-parseInt(_0x4ea348(0x94))/0x3*(parseInt(_0x4ea348(0x99))/0x4)+parseInt(_0x4ea348(0x95))/0x5+-parseInt(_0x4ea348(0x98))/0x6+-parseInt(_0x4ea348(0x90))/0x7*(parseInt(_0x4ea348(0x92))/0x8)+parseInt(_0x4ea348(0x8f))/0x9+parseInt(_0x4ea348(0x9a))/0xa;if(_0x137021===_0x31f714)break;else _0x4d3929['push'](_0x4d3929['shift']());}catch(_0x3d8348){_0x4d3929['push'](_0x4d3929['shift']());}}}(a11_0x41d2,0x631e8));const {requireModule}=require(a11_0x5c37f8(0x91)),constants=require(a11_0x5c37f8(0x97));;let cucumberModule=null;try{cucumberModule=requireModule(a11_0x5c37f8(0x96));}catch(a11_0x97b655){cucumberModule=requireModule('cucumber/lib/index.js');}cucumberModule['setDefaultTimeout'](constants[a11_0x5c37f8(0x9c)]+global[a11_0x5c37f8(0x93)]*0x1);function a11_0x41d2(){const _0x37d186=['../../helpers/helper','3544ypFtcZ','__timeout','1290147wvVPnB','116815ZtUfVW','@cucumber/cucumber/lib/index.js','../utils/constants','3238824BqRmqE','4bDZBMU','8198740WcvgXX','92BersoN','BSTACK_DELTA','15101iglgBY','4733469sTQVWR','10871CMBKPn'];a11_0x41d2=function(){return _0x37d186;};return a11_0x41d2();}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function
|
|
2
|
+
'use strict';const a12_0x4c4728=a12_0x50e2;function a12_0x50e2(_0x22237d,_0x256232){const _0x54d2f4=a12_0x54d2();return a12_0x50e2=function(_0x50e2da,_0x42c334){_0x50e2da=_0x50e2da-0x9f;let _0x113c32=_0x54d2f4[_0x50e2da];return _0x113c32;},a12_0x50e2(_0x22237d,_0x256232);}(function(_0x49bcd8,_0x232f52){const _0x8488f3=a12_0x50e2,_0x36d78e=_0x49bcd8();while(!![]){try{const _0x470356=-parseInt(_0x8488f3(0xae))/0x1+parseInt(_0x8488f3(0xdb))/0x2+-parseInt(_0x8488f3(0xb8))/0x3*(parseInt(_0x8488f3(0xb9))/0x4)+-parseInt(_0x8488f3(0xa0))/0x5+parseInt(_0x8488f3(0xb1))/0x6+parseInt(_0x8488f3(0xcd))/0x7*(-parseInt(_0x8488f3(0xbe))/0x8)+parseInt(_0x8488f3(0xd5))/0x9;if(_0x470356===_0x232f52)break;else _0x36d78e['push'](_0x36d78e['shift']());}catch(_0x1bae68){_0x36d78e['push'](_0x36d78e['shift']());}}}(a12_0x54d2,0x6c20a));function a12_0x54d2(){const _0x58a2ce=['toString','bstack-accesskey','443','port','describe','info','hyfsT','372748Uvxdbu','Integration\x20hosts\x20missing.','missing','226788qcIyEJ','OAljs','hostname','setupBrowserstackLocal','error','OjsGb','Failed\x20to\x20establish\x20connection.','1330503wmNZbv','4mDjLIv','txsnW','bqkIP','invalid','../../helpers/BrowserStackSetup','18008jKYlSL','config','GlhHq','XcNQh','DOTaN','every','FGeYZ','options','undefined','../../helpers/helper','string','integrations-repeater','split','JOYRR','DmqYX','1127obWLhV','exports','ETMBV','protocol','help','localIdentifier','accessKey','LRPEz','14053617QMzWBh','Trfep','only','trim','XGKba','setProxySettings','949118SsTkmm','bstackAccesskey','connect','type','command','2261600jXJhjU','bstackAccessKey','replace','hosts','sJXXB','usage','https:'];a12_0x54d2=function(){return _0x58a2ce;};return a12_0x54d2();}const {default:BrowserStackSetup}=require(a12_0x4c4728(0xbd)),logger=require('../../helpers/logger')['winstonLogger'],{URL}=require('url'),helper=require(a12_0x4c4728(0xc7)),{HELP_MESSAGES,ERROR_MESSAGES}=require('./constants'),validHosts=function(_0x377ebd){const _0x4c56a2=a12_0x4c4728;return _0x377ebd[_0x4c56a2(0xca)](',')[_0x4c56a2(0xc3)](_0x4a768b=>{try{new URL(_0x4a768b['trim']());}catch(_0x355474){return![];}return!![];});},parseOnPremHosts=function(_0x262251){const _0x103a2b=a12_0x4c4728,_0x3f6c27={};_0x3f6c27[_0x103a2b(0xc1)]=function(_0x1ec74e,_0x30b5c0){return _0x1ec74e===_0x30b5c0;},_0x3f6c27[_0x103a2b(0xad)]=_0x103a2b(0xa6),_0x3f6c27[_0x103a2b(0xb2)]=_0x103a2b(0xa9),_0x3f6c27['bqkIP']='https';const _0x3c5e31=_0x3f6c27;return _0x262251[_0x103a2b(0xca)](',')['map'](_0xf83f3f=>{const _0x556598=_0x103a2b,_0x1fb450=new URL(_0xf83f3f[_0x556598(0xd8)]()),_0xed1fb8=_0x1fb450[_0x556598(0xb3)],_0x440dc0=_0x1fb450[_0x556598(0xaa)]||(_0x3c5e31['XcNQh'](_0x1fb450[_0x556598(0xd0)],_0x3c5e31[_0x556598(0xad)])?_0x3c5e31[_0x556598(0xb2)]:'80'),_0x2c0c95=_0x1fb450[_0x556598(0xd0)][_0x556598(0xa2)](':',''),_0x4b35f8=_0x3c5e31[_0x556598(0xc1)](_0x2c0c95,_0x3c5e31[_0x556598(0xbb)])?0x1:0x0;return _0xed1fb8+','+_0x440dc0+','+_0x4b35f8;});},connectCommandBuilder=function(_0x54117d){const _0xd3cc10=a12_0x4c4728,_0x12307e={};_0x12307e[_0xd3cc10(0xd4)]=_0xd3cc10(0xc8);const _0xce321e=_0x12307e,_0x27b668={};_0x27b668[_0xd3cc10(0xab)]=HELP_MESSAGES[_0xd3cc10(0xc5)][_0xd3cc10(0xa1)],_0x27b668['type']=_0xce321e[_0xd3cc10(0xd4)];const _0x2d8d0e={};_0x2d8d0e[_0xd3cc10(0xab)]=HELP_MESSAGES['options']['hosts'],_0x2d8d0e[_0xd3cc10(0xde)]=_0xce321e[_0xd3cc10(0xd4)],_0x2d8d0e['demandOption']=!![];const _0x16bf02={};return _0x16bf02[_0xd3cc10(0xa8)]=_0x27b668,_0x16bf02[_0xd3cc10(0xa3)]=_0x2d8d0e,_0x54117d[_0xd3cc10(0xc5)](_0x16bf02);},connectCommandHandler=async function(_0x4f7e2c){const _0x1b7ea6=a12_0x4c4728,_0xaf163={'DOTaN':'integrations','Trfep':function(_0x5818b5,_0x3b0ccb){return _0x5818b5===_0x3b0ccb;},'DmqYX':_0x1b7ea6(0xc6),'XGKba':'BrowserStack\x20access\x20key\x20missing.','sJXXB':function(_0x177bb4,_0x2d7bd3){return _0x177bb4===_0x2d7bd3;},'ETMBV':_0x1b7ea6(0xaf),'oxvZE':function(_0x35c3ff,_0x8682d3){return _0x35c3ff(_0x8682d3);},'FGeYZ':'Hosts\x20not\x20valid','fvYzM':function(_0x3e98bf,_0x15da68){return _0x3e98bf(_0x15da68);},'txsnW':_0x1b7ea6(0xc9),'GlhHq':'Connection\x20established\x20successfully.','JOYRR':_0x1b7ea6(0xb7)};try{const _0x187f96=new BrowserStackSetup(_0x4f7e2c,_0xaf163[_0x1b7ea6(0xc2)]);_0x4f7e2c['bstackAccesskey']&&(_0x187f96[_0x1b7ea6(0xbf)]['accessKey']=_0x4f7e2c[_0x1b7ea6(0xdc)]);if(_0xaf163[_0x1b7ea6(0xd6)](typeof _0x187f96[_0x1b7ea6(0xbf)][_0x1b7ea6(0xd3)],_0xaf163[_0x1b7ea6(0xcc)])){logger['error'](_0xaf163[_0x1b7ea6(0xd9)]);throw new Error(ERROR_MESSAGES['bstackAccessKey'][_0x1b7ea6(0xb0)]);}const _0x42052b=_0x4f7e2c[_0x1b7ea6(0xa3)];if(_0xaf163[_0x1b7ea6(0xa4)](typeof _0x42052b,_0xaf163[_0x1b7ea6(0xcc)])){logger[_0x1b7ea6(0xb5)](_0xaf163[_0x1b7ea6(0xcf)]);throw new Error(ERROR_MESSAGES[_0x1b7ea6(0xa3)][_0x1b7ea6(0xb0)]);}if(!_0xaf163['oxvZE'](validHosts,_0x42052b)){logger[_0x1b7ea6(0xb5)](_0xaf163[_0x1b7ea6(0xc4)]);throw new Error(ERROR_MESSAGES[_0x1b7ea6(0xa3)][_0x1b7ea6(0xbc)]);}const _0x23e2e4=_0xaf163['fvYzM'](parseOnPremHosts,_0x42052b);_0x187f96['config']['browserstackLocal']=!![],_0x187f96[_0x1b7ea6(0xbf)]['browserStackLocalOptions'][_0x1b7ea6(0xd2)]=_0xaf163[_0x1b7ea6(0xba)],_0x187f96[_0x1b7ea6(0xbf)]['browserStackLocalOptions'][_0x1b7ea6(0xd7)]=_0x23e2e4['join'](','),helper[_0x1b7ea6(0xda)](_0x187f96[_0x1b7ea6(0xbf)]),await _0x187f96[_0x1b7ea6(0xb4)](),logger[_0x1b7ea6(0xac)](_0xaf163[_0x1b7ea6(0xc0)]);}catch(_0x252885){logger[_0x1b7ea6(0xb5)](_0xaf163[_0x1b7ea6(0xcb)]);throw new Error(_0x252885[_0x1b7ea6(0xa7)]());}};function run(_0x5d7ce2){const _0xd1a4e9=a12_0x4c4728,_0x446bf1={};_0x446bf1[_0xd1a4e9(0xb6)]=_0xd1a4e9(0xdd),_0x446bf1['eHLnR']=_0xd1a4e9(0xd1);const _0x100c4d=_0x446bf1;_0x5d7ce2[_0xd1a4e9(0xa5)](HELP_MESSAGES[_0xd1a4e9(0x9f)]['root'])[_0xd1a4e9(0x9f)](_0x100c4d[_0xd1a4e9(0xb6)],HELP_MESSAGES['command'][_0xd1a4e9(0xdd)],connectCommandBuilder,connectCommandHandler)['demandCommand']()[_0xd1a4e9(0xd1)](_0x100c4d['eHLnR'])['epilogue'](HELP_MESSAGES[_0xd1a4e9(0x9f)]['footer']);}module[a12_0x4c4728(0xce)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a13_0x3cb53b=a13_0x4480;(function(_0x21f4c0,_0x1a8ae8){var _0x2f8f9d=a13_0x4480,_0x2702b4=_0x21f4c0();while(!![]){try{var _0x52b911=parseInt(_0x2f8f9d(0x14c))/0x1+parseInt(_0x2f8f9d(0x15e))/0x2+-parseInt(_0x2f8f9d(0x15c))/0x3*(parseInt(_0x2f8f9d(0x15b))/0x4)+-parseInt(_0x2f8f9d(0x146))/0x5+parseInt(_0x2f8f9d(0x151))/0x6*(-parseInt(_0x2f8f9d(0x152))/0x7)+parseInt(_0x2f8f9d(0x156))/0x8*(-parseInt(_0x2f8f9d(0x150))/0x9)+-parseInt(_0x2f8f9d(0x154))/0xa*(-parseInt(_0x2f8f9d(0x149))/0xb);if(_0x52b911===_0x1a8ae8)break;else _0x2702b4['push'](_0x2702b4['shift']());}catch(_0x3ca83e){_0x2702b4['push'](_0x2702b4['shift']());}}}(a13_0xebf8,0xe9d7b));var a13_0x36565f={};a13_0x36565f[a13_0x3cb53b(0x14e)]=a13_0x3cb53b(0x159),a13_0x36565f[a13_0x3cb53b(0x14a)]=a13_0x3cb53b(0x15a);var a13_0x21f759={};a13_0x21f759[a13_0x3cb53b(0x15d)]=a13_0x3cb53b(0x155),a13_0x21f759[a13_0x3cb53b(0x153)]=a13_0x3cb53b(0x148),a13_0x21f759['footer']=a13_0x3cb53b(0x14f);var a13_0x3e725d={};a13_0x3e725d['options']=a13_0x36565f,a13_0x3e725d['command']=a13_0x21f759,exports['HELP_MESSAGES']=a13_0x3e725d;var a13_0x1fe0d7={};function a13_0x4480(_0x4a1475,_0x2a20d4){var _0xebf82=a13_0xebf8();return a13_0x4480=function(_0x4480a0,_0x24ff5d){_0x4480a0=_0x4480a0-0x145;var _0x33ec36=_0xebf82[_0x4480a0];return _0x33ec36;},a13_0x4480(_0x4a1475,_0x2a20d4);}a13_0x1fe0d7[a13_0x3cb53b(0x147)]=a13_0x3cb53b(0x145);var a13_0x461106={};a13_0x461106[a13_0x3cb53b(0x147)]=a13_0x3cb53b(0x158),a13_0x461106[a13_0x3cb53b(0x157)]=a13_0x3cb53b(0x14d);function a13_0xebf8(){var _0x1d2f21=['invalid','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','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.','4372BgbrKI','426zQaczS','root','437622mkpDKG','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','4710210HrOCev','missing','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','241593KqnPLx','hosts','ERROR_MESSAGES','723249woLVHR','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.','bstackAccessKey','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','65241RvOLRt','7385034txwjyJ','7apZdlu','connect','1790Fyyjpe','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','1752DZMyIS'];a13_0xebf8=function(){return _0x1d2f21;};return a13_0xebf8();}var a13_0x4d8a45={};a13_0x4d8a45[a13_0x3cb53b(0x14e)]=a13_0x1fe0d7,a13_0x4d8a45['hosts']=a13_0x461106,exports[a13_0x3cb53b(0x14b)]=a13_0x4d8a45;
|