browserstack-node-sdk 1.50.3 → 1.50.4
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/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.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/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.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/customSequencer.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.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.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/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.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/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.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/accessibilityRetryHelper.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/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.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/metadata.js +1 -1
- package/src/helpers/patchHelper.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/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.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/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.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
|
-
'use strict';const
|
|
1
|
+
'use strict';const a65_0x5d7e21=a65_0x5cc0;(function(_0x57bb2a,_0x3bdf02){const _0x4ccebe=a65_0x5cc0,_0x1acb2f=_0x57bb2a();while(!![]){try{const _0x4ca1b1=-parseInt(_0x4ccebe(0x1d3))/0x1+-parseInt(_0x4ccebe(0x1dc))/0x2+-parseInt(_0x4ccebe(0x1ba))/0x3+-parseInt(_0x4ccebe(0x1e0))/0x4*(-parseInt(_0x4ccebe(0x1a0))/0x5)+-parseInt(_0x4ccebe(0x1ea))/0x6+-parseInt(_0x4ccebe(0x1a3))/0x7*(parseInt(_0x4ccebe(0x1df))/0x8)+parseInt(_0x4ccebe(0x1b0))/0x9;if(_0x4ca1b1===_0x3bdf02)break;else _0x1acb2f['push'](_0x1acb2f['shift']());}catch(_0x30ddf7){_0x1acb2f['push'](_0x1acb2f['shift']());}}}(a65_0x40fe,0xd1294));function a65_0x5cc0(_0x39a2e5,_0xbf3764){const _0x40fe1b=a65_0x40fe();return a65_0x5cc0=function(_0x5cc048,_0x1ef24e){_0x5cc048=_0x5cc048-0x19e;let _0x4fbb52=_0x40fe1b[_0x5cc048];return _0x4fbb52;},a65_0x5cc0(_0x39a2e5,_0xbf3764);}const BrowserstackCLI=require(a65_0x5d7e21(0x1f3)),helper=require(a65_0x5d7e21(0x1cb)),AutomationFramework=require(a65_0x5d7e21(0x1e6)),TestFrameworkConstants=require(a65_0x5d7e21(0x1ca)),PlaywrightDriverModule=require(a65_0x5d7e21(0x1b3)),TestInfo=require(a65_0x5d7e21(0x19f)),TestHubModule=require('./modules/testhubModule'),{createClassLogger}=require(a65_0x5d7e21(0x1d2)),logger=createClassLogger(a65_0x5d7e21(0x1bf));function a65_0x40fe(){const _0xa4210f=['1109004nlBpaZ','CustomTagManager.setCustomTags:\x20Instance\x20not\x20available\x20for\x20Jest+Playwright','./cliUtils','QJzND','multi_dropdown','CustomTagManager','CustomTagManager.setCustomTags:\x20No\x20testIdentifier\x20found\x20for\x20Jest+Playwright.\x20This\x20may\x20occur\x20if\x20setCustomTags\x20is\x20called\x20outside\x20test\x20context.','field_type','setTestDetails','FtyCp','resolveInstance','getTestLevelTags','getAllData',',\x20key=','CustomTagManager.setCustomTags\x20:\x20Error\x20detecting\x20Jest+Playwright:\x20','__workerDetails','./framework/constants/testFrameworkConstants','../../helpers/helper','wwrod','Custom\x20tag\x20key\x20cannot\x20be\x20empty','exports','getInstance','modules','Custom\x20tag\x20value\x20must\x20be\x20a\x20string','../../helpers/classLogger','129958EFOfXN','setCustomTags','aayKQ','clearTags',',\x20existingTags=','KEY_TEST_ID','getTestFrameworkDetail','testInfo','stringify','982720uYRRqC','string','KEY_CUSTOM_TAGS','8KFCdke','24NMurKQ','[CustomTagManager]\x20setCustomTags:\x20Updated\x20existing\x20tag\x20key=','name','MODULE_NAME','[CustomTagManager]\x20setCustomTags:\x20Jest+Playwright\x20-\x20testIdentifier=','getTestIdentifierFromTestInfo','./framework/automationFramework','Custom\x20tag\x20value\x20cannot\x20be\x20empty','getTestDetails','LwLta','7816110DPnjkf','addMultipleEntries','TEST','NWKeU','testLevelTags','includes','debug','isRunning','iwuZm','./browserstackCLI','UlZJE','jest','GlExg','EdnzO','./TestInfo','878595WxpqEw','XtqHf','CustomTagManager.setCustomTags:\x20TestFramework\x20not\x20available\x20for\x20Jest+Playwright','4628701GlZFZy','values',',\x20finalTags=','[CustomTagManager]\x20setCustomTags:\x20Stored\x20customTags\x20in\x20instance\x20memory\x20for\x20testIdentifier=','buildLevelTags','./state/testFrameworkState','WNkVi','HCdpf','./state/hookState','Custom\x20tag\x20key\x20must\x20be\x20a\x20string','getState','getBuildLevelTags','trim','24815916kPbXPd',',\x20values=','KsKok','./modules/playwrightDriverModule','getTrackedInstance','__jestCurrentTestIdentifier','buildHashedId','YfdFO','testhubConfig','parseCommaSeparatedValues'];a65_0x40fe=function(){return _0xa4210f;};return a65_0x40fe();}class CustomTagManager{static [a65_0x5d7e21(0x1a7)]={};static ['testLevelTags']={};static[a65_0x5d7e21(0x1d4)](_0x4c9e96,_0x152cd7,_0x319405=![]){const _0x262112=a65_0x5d7e21,_0x3a6f37={'iwuZm':function(_0x301e1b,_0x25c986){return _0x301e1b!==_0x25c986;},'aayKQ':_0x262112(0x1dd),'QJzND':_0x262112(0x1ac),'EdnzO':_0x262112(0x1d1),'WNkVi':function(_0x261002,_0x134dcc){return _0x261002===_0x134dcc;},'fQSJV':_0x262112(0x1cd),'XtqHf':_0x262112(0x1e7),'NWKeU':_0x262112(0x1be),'GlExg':':jest-','LwLta':function(_0x42fb39,_0x24737d){return _0x42fb39(_0x24737d);},'FtyCp':_0x262112(0x1bc),'KsKok':function(_0x5dc977,_0x463328){return _0x5dc977===_0x463328;},'UlZJE':_0x262112(0x1f5),'HCdpf':_0x262112(0x1c0),'uKmCR':_0x262112(0x1a2),'YfdFO':_0x262112(0x1a8),'wwrod':_0x262112(0x1ab),'SkveB':_0x262112(0x1bb)};if(_0x3a6f37[_0x262112(0x1f2)](typeof _0x4c9e96,_0x3a6f37['aayKQ']))throw new Error(_0x3a6f37[_0x262112(0x1bd)]);if(_0x3a6f37[_0x262112(0x1f2)](typeof _0x152cd7,_0x3a6f37[_0x262112(0x1d5)]))throw new Error(_0x3a6f37[_0x262112(0x19e)]);if(_0x3a6f37[_0x262112(0x1a9)](_0x4c9e96[_0x262112(0x1af)](),''))throw new Error(_0x3a6f37['fQSJV']);if(_0x3a6f37[_0x262112(0x1a9)](_0x152cd7[_0x262112(0x1af)](),''))throw new Error(_0x3a6f37[_0x262112(0x1a1)]);const _0x422d58=helper[_0x262112(0x1b9)](_0x152cd7);if(_0x319405){const _0x59f002=BrowserstackCLI[_0x262112(0x1cf)]()[_0x262112(0x1d0)][TestHubModule[_0x262112(0x1e3)]];if(_0x59f002){const _0xd5c2dc=_0x59f002?.[_0x262112(0x1b8)]?.['toObject']()?.[_0x262112(0x1b6)];TestInfo['getTestUUID'](_0xd5c2dc);const _0x415263=TestInfo[_0x262112(0x1e8)](_0xd5c2dc),_0x547843=_0x415263[TestFrameworkConstants[_0x262112(0x1de)]]||{};if(!_0x547843[_0x4c9e96]){const _0x37bcbe={};_0x37bcbe[_0x262112(0x1c1)]=_0x3a6f37[_0x262112(0x1ed)],_0x37bcbe[_0x262112(0x1a4)]=[..._0x422d58],_0x547843[_0x4c9e96]=_0x37bcbe;}else _0x547843[_0x4c9e96][_0x262112(0x1a4)]=[..._0x422d58];_0x415263[TestFrameworkConstants[_0x262112(0x1de)]]=_0x547843,TestInfo[_0x262112(0x1c2)](_0xd5c2dc,_0x415263),!this[_0x262112(0x1a7)][_0xd5c2dc]&&(this[_0x262112(0x1a7)][_0xd5c2dc]={}),this[_0x262112(0x1a7)][_0xd5c2dc][_0x4c9e96]=[..._0x422d58];}}else{let _0x575ba3;const _0x304bbc=global[_0x262112(0x1b5)];let _0x2acfa1=![];if(_0x304bbc&&_0x304bbc[_0x262112(0x1ef)](_0x3a6f37[_0x262112(0x1f6)]))_0x2acfa1=!![],_0x575ba3=_0x304bbc;else try{const _0x9dc7a6=_0x3a6f37[_0x262112(0x1e9)](require,_0x3a6f37[_0x262112(0x1c3)]);if(BrowserstackCLI[_0x262112(0x1cf)]()[_0x262112(0x1f1)]()){const _0x52b041=_0x9dc7a6[_0x262112(0x1d9)]();if(_0x3a6f37[_0x262112(0x1b2)](_0x52b041?.[_0x262112(0x1e2)]?.['toLowerCase'](),_0x3a6f37[_0x262112(0x1f4)])){const _0x1aa547=AutomationFramework[_0x262112(0x1b4)]();_0x575ba3=AutomationFramework[_0x262112(0x1ad)](_0x1aa547,PlaywrightDriverModule[_0x262112(0x1d8)],''),_0x575ba3&&_0x575ba3[_0x262112(0x1ef)](_0x3a6f37['GlExg'])&&(_0x2acfa1=!![]);}}}catch(_0x560172){logger[_0x262112(0x1f0)](_0x262112(0x1c8)+_0x560172);}if(_0x2acfa1){if(!_0x575ba3)throw new Error(_0x3a6f37[_0x262112(0x1aa)]);const _0x45b195=BrowserstackCLI[_0x262112(0x1cf)]()['getTestFramework']();if(!_0x45b195)throw new Error(_0x3a6f37['uKmCR']);const _0x4d701a=_0x3a6f37[_0x262112(0x1e9)](require,_0x3a6f37[_0x262112(0x1b7)]),_0x3ffeed=_0x3a6f37[_0x262112(0x1e9)](require,_0x3a6f37[_0x262112(0x1cc)]),_0x3e8013=_0x45b195[_0x262112(0x1c4)](_0x4d701a[_0x262112(0x1ec)],_0x3ffeed['POST']);if(!_0x3e8013)throw new Error(_0x3a6f37['SkveB']);const _0x3011dd=_0x3e8013[_0x262112(0x1c6)]()['get'](_0x575ba3)||{},_0xfc7356=_0x3011dd[TestFrameworkConstants[_0x262112(0x1de)]]||{};logger[_0x262112(0x1f0)](_0x262112(0x1e4)+_0x575ba3+_0x262112(0x1c7)+_0x4c9e96+_0x262112(0x1b1)+JSON[_0x262112(0x1db)](_0x422d58)+_0x262112(0x1d7)+JSON[_0x262112(0x1db)](_0xfc7356));if(!_0xfc7356[_0x4c9e96]){const _0x1571c4={};_0x1571c4['field_type']=_0x3a6f37[_0x262112(0x1ed)],_0x1571c4['values']=[..._0x422d58],_0xfc7356[_0x4c9e96]=_0x1571c4,logger[_0x262112(0x1f0)]('[CustomTagManager]\x20setCustomTags:\x20Created\x20new\x20tag\x20key='+_0x4c9e96+'\x20with\x20values='+JSON[_0x262112(0x1db)](_0x422d58));}else _0xfc7356[_0x4c9e96][_0x262112(0x1a4)]=[..._0x422d58],logger[_0x262112(0x1f0)](_0x262112(0x1e1)+_0x4c9e96+'\x20with\x20new\x20values='+JSON['stringify'](_0x422d58));const _0x5eb99a={[TestFrameworkConstants[_0x262112(0x1de)]]:_0xfc7356},_0x327057={};_0x327057[_0x575ba3]=_0x5eb99a,_0x3e8013[_0x262112(0x1eb)](_0x327057),logger['debug'](_0x262112(0x1a6)+_0x575ba3+_0x262112(0x1a5)+JSON['stringify'](_0xfc7356)),!this[_0x262112(0x1ee)][_0x575ba3]&&(this[_0x262112(0x1ee)][_0x575ba3]={}),this['testLevelTags'][_0x575ba3][_0x4c9e96]=[..._0x422d58];}else{const _0x208446=global[_0x262112(0x1c9)]?.['currentTest']?.[_0x262112(0x1da)];if(!_0x208446){const _0x762d87=AutomationFramework[_0x262112(0x1b4)]();_0x575ba3=AutomationFramework[_0x262112(0x1ad)](_0x762d87,PlaywrightDriverModule['KEY_TEST_ID'],'');}else _0x575ba3=TestInfo[_0x262112(0x1e5)](_0x208446,_0x208446['retry']);const _0x28717e=TestInfo[_0x262112(0x1e8)](_0x575ba3),_0x5d288a=_0x28717e[TestFrameworkConstants[_0x262112(0x1de)]]||{};if(!_0x5d288a[_0x4c9e96]){const _0xcf107e={};_0xcf107e[_0x262112(0x1c1)]=_0x3a6f37[_0x262112(0x1ed)],_0xcf107e['values']=[..._0x422d58],_0x5d288a[_0x4c9e96]=_0xcf107e;}else _0x5d288a[_0x4c9e96][_0x262112(0x1a4)]=[..._0x422d58];_0x28717e[TestFrameworkConstants[_0x262112(0x1de)]]=_0x5d288a,TestInfo['setTestDetails'](_0x575ba3,_0x28717e),!this[_0x262112(0x1ee)][_0x575ba3]&&(this['testLevelTags'][_0x575ba3]={}),this[_0x262112(0x1ee)][_0x575ba3][_0x4c9e96]=[..._0x422d58];}}}static[a65_0x5d7e21(0x1ae)](){const _0x15a182=a65_0x5d7e21,_0x2b9d5a={...this[_0x15a182(0x1a7)]};return _0x2b9d5a;}static[a65_0x5d7e21(0x1c5)](){const _0x310654=a65_0x5d7e21,_0x43d2f2={...this[_0x310654(0x1ee)]};return _0x43d2f2;}static[a65_0x5d7e21(0x1d6)](){const _0x390745=a65_0x5d7e21;this[_0x390745(0x1a7)]={},this[_0x390745(0x1ee)]={};}}module[a65_0x5d7e21(0x1ce)]=CustomTagManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a66_0x4957da=a66_0x273d;(function(_0x445ae7,_0x48e30c){const _0x530757=a66_0x273d,_0x561aeb=_0x445ae7();while(!![]){try{const _0x48140f=parseInt(_0x530757(0x1ce))/0x1+parseInt(_0x530757(0x1c3))/0x2*(-parseInt(_0x530757(0x1cb))/0x3)+parseInt(_0x530757(0x1d3))/0x4*(parseInt(_0x530757(0x1ca))/0x5)+-parseInt(_0x530757(0x1d4))/0x6+-parseInt(_0x530757(0x1d1))/0x7*(parseInt(_0x530757(0x1c6))/0x8)+parseInt(_0x530757(0x1cf))/0x9+parseInt(_0x530757(0x1d2))/0xa;if(_0x48140f===_0x48e30c)break;else _0x561aeb['push'](_0x561aeb['shift']());}catch(_0x2f84d3){_0x561aeb['push'](_0x561aeb['shift']());}}}(a66_0x1986,0xdc119));const {createClassLogger}=require(a66_0x4957da(0x1cc));class EventDispatcher{static #instance=null;constructor(){this['observers']={};}static[a66_0x4957da(0x1d0)](){return!EventDispatcher.#instance&&(EventDispatcher.#instance=new EventDispatcher()),EventDispatcher.#instance;}[a66_0x4957da(0x1c8)](_0x3ba51d,_0x147bee){const _0x41f16f=a66_0x4957da;!this[_0x41f16f(0x1c4)][_0x3ba51d]&&(this[_0x41f16f(0x1c4)][_0x3ba51d]=[]),this[_0x41f16f(0x1c4)][_0x3ba51d][_0x41f16f(0x1c7)](_0x147bee);}async[a66_0x4957da(0x1c9)](_0x5786b3,_0x43b3e3){const _0x25daa5=a66_0x4957da,_0x46c58c={'ldMWj':function(_0x450e90,_0xe56731){return _0x450e90(_0xe56731);}};if(this[_0x25daa5(0x1c4)][_0x5786b3]){for(const _0x5a09b9 of this[_0x25daa5(0x1c4)][_0x5786b3]){await _0x46c58c[_0x25daa5(0x1cd)](_0x5a09b9,_0x43b3e3);}return;}}}function a66_0x273d(_0x17890c,_0x5b2499){const _0x1986e8=a66_0x1986();return a66_0x273d=function(_0x273dba,_0x426155){_0x273dba=_0x273dba-0x1c3;let _0x3053bf=_0x1986e8[_0x273dba];return _0x3053bf;},a66_0x273d(_0x17890c,_0x5b2499);}const eventDispatcher=EventDispatcher[a66_0x4957da(0x1d0)]();Object[a66_0x4957da(0x1c5)](eventDispatcher),module[a66_0x4957da(0x1d5)]=eventDispatcher;function a66_0x1986(){const _0x8f2919=['getInstance','4371598LvnWSF','9554800XYuenN','16kgpkFR','6799806MLNkhF','exports','2gjmJLB','observers','freeze','16tTFLgi','push','registerObserver','notifyObserver','1115125fagAgr','1247871FIstkB','../../helpers/classLogger.js','ldMWj','858591fjnGtT','8941644IPZiYF'];a66_0x1986=function(){return _0x8f2919;};return a66_0x1986();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a67_0x17ba43=a67_0x5871;(function(_0x4620c7,_0x52b390){const _0x57c813=a67_0x5871,_0x2e6324=_0x4620c7();while(!![]){try{const _0x1c1238=-parseInt(_0x57c813(0x161))/0x1+-parseInt(_0x57c813(0x15f))/0x2*(-parseInt(_0x57c813(0x16c))/0x3)+-parseInt(_0x57c813(0x176))/0x4*(-parseInt(_0x57c813(0x16f))/0x5)+parseInt(_0x57c813(0x167))/0x6+-parseInt(_0x57c813(0x16a))/0x7+-parseInt(_0x57c813(0x168))/0x8*(-parseInt(_0x57c813(0x170))/0x9)+-parseInt(_0x57c813(0x15a))/0xa*(parseInt(_0x57c813(0x156))/0xb);if(_0x1c1238===_0x52b390)break;else _0x2e6324['push'](_0x2e6324['shift']());}catch(_0x3a11ac){_0x2e6324['push'](_0x2e6324['shift']());}}}(a67_0x3d47,0xe2407));const {createClassLogger}=require(a67_0x17ba43(0x175)),util=require(a67_0x17ba43(0x16d)),eventDispatcher=require(a67_0x17ba43(0x15d)),CLIUtils=require(a67_0x17ba43(0x160)),TrackedInstance=require(a67_0x17ba43(0x166)),logger=createClassLogger(a67_0x17ba43(0x177));function a67_0x3d47(){const _0x112a2e=['6964736cjUGNb','AutomationFramework','KEY_NON_BROWSERSTACK_AUTOMATION_SESSIONS','\x20hookState=','getHookRegistryKey','11xasPDM','setTrackedInstance','non_browserstack_automation_sessions','getAllData','9731230yBVLOn','trackEvent','getId','../eventDispatcher.js','createContext','355802iZAFyt','../cliUtils.js','1201821QhkHSH','notifyObserver','automation_sessions','getCurrentInstanceName','instances','../instances/trackedInstance.js','8578698CDAvro','48wQkzEh','registerObserver','9977198DjFfIx','automationFrameworkVersion','18gpExkJ','util','runHooks','5QkEHmW','432918bGLFFZ','setState','automationFrameworkName','getTrackedInstance','set','../../../helpers/classLogger.js'];a67_0x3d47=function(){return _0x112a2e;};return a67_0x3d47();}class AutomationFramework{static [a67_0x17ba43(0x165)]=new Map();static ['KEY_AUTOMATION_SESSIONS']=a67_0x17ba43(0x163);static [a67_0x17ba43(0x178)]=a67_0x17ba43(0x158);constructor(_0x3ae58e,_0xad23d1){this['automationFrameworkName']=_0x3ae58e,this['automationFrameworkVersion']=_0xad23d1;}['getAutomationFrameworkName'](){const _0xe53514=a67_0x17ba43;return this[_0xe53514(0x172)];}['getAutomationFrameworkVersion'](){const _0x357740=a67_0x17ba43;return this[_0x357740(0x16b)];}async[a67_0x17ba43(0x15b)](_0x2f0d9b,_0x199e28,_0x19344d={}){const _0x4aaf98=a67_0x17ba43;logger['debug']('trackEvent:\x20automationFrameworkState='+_0x2f0d9b+_0x4aaf98(0x179)+_0x199e28);}async[a67_0x17ba43(0x16e)](_0x4b3f5b,_0x3da285,_0x3c2f53,_0x1ad72c={}){const _0x54a4eb=a67_0x17ba43,_0x3dcd85=CLIUtils[_0x54a4eb(0x17a)](_0x3da285,_0x3c2f53);_0x4b3f5b&&_0x4b3f5b[_0x54a4eb(0x171)](_0x3da285),await eventDispatcher[_0x54a4eb(0x162)](_0x3dcd85,_0x1ad72c);}static[a67_0x17ba43(0x169)](_0x186d15,_0x19b1ce,_0x56404e){const _0xf50c60=a67_0x17ba43;eventDispatcher['registerObserver'](CLIUtils[_0xf50c60(0x17a)](_0x186d15,_0x19b1ce),_0x56404e);}static[a67_0x17ba43(0x157)](_0x1bf274,_0x370a94){const _0x15c571=a67_0x17ba43;AutomationFramework[_0x15c571(0x165)][_0x15c571(0x174)](_0x1bf274[_0x15c571(0x15c)](),_0x370a94);}static[a67_0x17ba43(0x173)](){const _0x5db3dc=a67_0x17ba43,_0x1464e6=TrackedInstance[_0x5db3dc(0x15e)](CLIUtils[_0x5db3dc(0x164)]());return AutomationFramework[_0x5db3dc(0x165)]['get'](_0x1464e6[_0x5db3dc(0x15c)]());}static[a67_0x17ba43(0x171)](_0x33ecb2,_0x37c02d,_0x206766){const _0x1a6c5c=a67_0x17ba43;_0x33ecb2[_0x1a6c5c(0x159)]()['set'](_0x37c02d,_0x206766);}static['getState'](_0x11f3a8,_0x3cbef0){const _0x194067=a67_0x17ba43;return _0x11f3a8[_0x194067(0x159)]()['get'](_0x3cbef0);}}function a67_0x5871(_0x51698b,_0x28d0f5){const _0x3d473a=a67_0x3d47();return a67_0x5871=function(_0x587182,_0x257322){_0x587182=_0x587182-0x156;let _0xaa3cb4=_0x3d473a[_0x587182];return _0xaa3cb4;},a67_0x5871(_0x51698b,_0x28d0f5);}module['exports']=AutomationFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a68_0x319f4f=a68_0x1f65;(function(_0x56d03e,_0x66849a){const _0x4d9843=a68_0x1f65,_0x516ea8=_0x56d03e();while(!![]){try{const _0x4f2bd7=-parseInt(_0x4d9843(0x213))/0x1*(parseInt(_0x4d9843(0x21c))/0x2)+-parseInt(_0x4d9843(0x205))/0x3*(-parseInt(_0x4d9843(0x215))/0x4)+parseInt(_0x4d9843(0x20e))/0x5*(-parseInt(_0x4d9843(0x208))/0x6)+parseInt(_0x4d9843(0x1f9))/0x7+-parseInt(_0x4d9843(0x1f4))/0x8*(-parseInt(_0x4d9843(0x207))/0x9)+parseInt(_0x4d9843(0x203))/0xa*(-parseInt(_0x4d9843(0x1fe))/0xb)+parseInt(_0x4d9843(0x21a))/0xc*(parseInt(_0x4d9843(0x20c))/0xd);if(_0x4f2bd7===_0x66849a)break;else _0x516ea8['push'](_0x516ea8['shift']());}catch(_0x3bb147){_0x516ea8['push'](_0x516ea8['shift']());}}}(a68_0x51b8,0xf1dbc));const a68_0x40f451={};a68_0x40f451[a68_0x319f4f(0x20d)]=a68_0x319f4f(0x204),a68_0x40f451[a68_0x319f4f(0x214)]=a68_0x319f4f(0x20b),a68_0x40f451[a68_0x319f4f(0x202)]=a68_0x319f4f(0x1f8),a68_0x40f451[a68_0x319f4f(0x212)]='input_capabilities',a68_0x40f451[a68_0x319f4f(0x20f)]=a68_0x319f4f(0x21b),a68_0x40f451[a68_0x319f4f(0x1fa)]=a68_0x319f4f(0x218),a68_0x40f451[a68_0x319f4f(0x201)]=a68_0x319f4f(0x216),a68_0x40f451[a68_0x319f4f(0x1fc)]=a68_0x319f4f(0x211),a68_0x40f451[a68_0x319f4f(0x210)]=a68_0x319f4f(0x1f7),a68_0x40f451[a68_0x319f4f(0x21d)]=a68_0x319f4f(0x1fb),a68_0x40f451[a68_0x319f4f(0x1f6)]=a68_0x319f4f(0x206),a68_0x40f451[a68_0x319f4f(0x209)]=a68_0x319f4f(0x217),a68_0x40f451[a68_0x319f4f(0x219)]=a68_0x319f4f(0x1fd),a68_0x40f451[a68_0x319f4f(0x200)]=a68_0x319f4f(0x1f5),a68_0x40f451[a68_0x319f4f(0x20a)]='quit';function a68_0x1f65(_0x1abe73,_0x157979){const _0x51b8d6=a68_0x51b8();return a68_0x1f65=function(_0x1f6543,_0x513c88){_0x1f6543=_0x1f6543-0x1f4;let _0x3b2759=_0x51b8d6[_0x1f6543];return _0x3b2759;},a68_0x1f65(_0x1abe73,_0x157979);}const AutomationFrameworkConstants=a68_0x40f451;module[a68_0x319f4f(0x1ff)]=AutomationFrameworkConstants;function a68_0x51b8(){const _0x1858d7=['screenshot','is_browserstack_hub','COMMAND_W3C_EXECUTE_SCRIPT','12552vhEfvi','capabilities','2selokT','COMMAND_NEW_SESSION','864sePANA','w3cexecutescriptasync','COMMAND_GET','platform_index','framework_session_id','7418355OvrDwj','KEY_IS_BROWSERSTACK_HUB','newsession','KEY_ENDED_AT','w3cexecutescript','11uvrkKd','exports','COMMAND_W3C_EXECUTE_SCRIPT_ASYNC','KEY_STARTED_AT','KEY_FRAMEWORK_SESSION_ID','17604790iPJJjX','BROWSERSTACK_PLATFORM_INDEX','3FZOIMH','get','93798ACLoUe','9628722LJpMLM','COMMAND_SCREENSHOT','COMMAND_QUIT','hub_url','45565MKsYdk','ENV_BROWSERSTACK_PLATFORM_INDEX','5fWXIGg','KEY_CAPABILITIES','KEY_PLATFORM_INDEX','ended_at','KEY_INPUT_CAPABILITIES','1849676AAvKsw','KEY_HUB_URL','1416092TjBJzS','started_at'];a68_0x51b8=function(){return _0x1858d7;};return a68_0x51b8();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a69_0x5da6(_0x16ac75,_0x304b9f){const _0x21442a=a69_0x2144();return a69_0x5da6=function(_0x5da6ec,_0x20e932){_0x5da6ec=_0x5da6ec-0x10b;let _0x3d5322=_0x21442a[_0x5da6ec];return _0x3d5322;},a69_0x5da6(_0x16ac75,_0x304b9f);}function a69_0x2144(){const _0x379567=['20ZcgBxy','KEY_TEST_FRAMEWORK_VERSION','KEY_SESSION_NAME','KEY_TEST_RETRY_OF','KEY_TEST_NAME','file_size','296OlUpDK','KEY_TEST_SCOPE','test_result_at','test_session_name','hook_failure_reason','HOOK_REGEX','12GZToBB','test_hooks_finished','hook_failure','KEY_HOOK_ID','102832DWNkxs','KEY_TEST_LOGS','KEY_AUTOMATE_SESSION_REASON','KIND_SCREENSHOT','945168YpExWM','KEY_HOOK_FAILURE_TYPE','event_ended_at','KEY_TEST_FILE_PATH','851911ejWsOU','KEY_FILE_SIZE','test_hook_last_started','file_name','hook_failure_type','automate_session_reason','file_path','KEY_TEST_RERUN_NAME','KEY_CUSTOM_TAGS','test_failure_reason','test_code','KEY_HOOKS_STARTED','KEY_TEST_LOCATION','test_meta','KEY_HOOK_LOGS','test_logs','test_ended_at','1701783YaZcNT','test_scopes','KEY_HOOKS_FINISHED','KEY_EVENT_ENDED_AT','KEY_TEST_FAILURE','KEY_TEST_FAILURE_TYPE','pending','KEY_TEST_UUID','exports','2FHLjfV','DEFAULT_HOOK_RESULT','KEY_FILE_NAME','test_failure','custom_metadata','KEY_HOOK_LAST_STARTED','KEY_TEST_ATTACHMENTS','KEY_AUTOMATE_SESSION_NAME','test_tags','logs','test_framework_version','47026yGFkoq','hook_logs','KEY_HOOK_RESULT','test_rerun_name','KEY_HOOK_LAST_FINISHED','DEFAULT_TEST_RESULT','KEY_LOGS','KEY_PLATFORM_INDEX','TEST_SCREENSHOT','KEY_HOOK_FAILURE','KEY_HOOK_FAILURE_REASON','KEY_TEST_FRAMEWORK_NAME','event_started_at','TEST_LOG','KEY_HOOK_NAME','test_id','hook_name','KEY_AUTOMATE_SESSION_STATUS','hook_result','test_attachments','KEY_TEST_ID','retry_of','test_hook_last_finished','2526280rRBKbE','KEY_TEST_ENDED_AT','test_started_at','KEY_TEST_STARTED_AT','9655316hsUFaj','automate_session_name','platform_index'];a69_0x2144=function(){return _0x379567;};return a69_0x2144();}const a69_0x47e1c9=a69_0x5da6;(function(_0x33ebb6,_0x4b587a){const _0x28dc45=a69_0x5da6,_0x5bd5a7=_0x33ebb6();while(!![]){try{const _0x2178a3=parseInt(_0x28dc45(0x13a))/0x1*(parseInt(_0x28dc45(0x154))/0x2)+parseInt(_0x28dc45(0x12e))/0x3*(parseInt(_0x28dc45(0x132))/0x4)+-parseInt(_0x28dc45(0x122))/0x5*(-parseInt(_0x28dc45(0x136))/0x6)+parseInt(_0x28dc45(0x15f))/0x7*(-parseInt(_0x28dc45(0x128))/0x8)+-parseInt(_0x28dc45(0x14b))/0x9+parseInt(_0x28dc45(0x11b))/0xa+-parseInt(_0x28dc45(0x11f))/0xb;if(_0x2178a3===_0x4b587a)break;else _0x5bd5a7['push'](_0x5bd5a7['shift']());}catch(_0x5610a3){_0x5bd5a7['push'](_0x5bd5a7['shift']());}}}(a69_0x2144,0x7f75a));const a69_0x3e251c={};a69_0x3e251c[a69_0x47e1c9(0x152)]='test_uuid',a69_0x3e251c[a69_0x47e1c9(0x118)]=a69_0x47e1c9(0x113),a69_0x3e251c[a69_0x47e1c9(0x126)]='test_name',a69_0x3e251c[a69_0x47e1c9(0x139)]='test_file_path',a69_0x3e251c['KEY_TEST_TAGS']=a69_0x47e1c9(0x15c),a69_0x3e251c['KEY_TEST_RESULT']='test_result',a69_0x3e251c['KEY_TEST_RESULT_AT']=a69_0x47e1c9(0x12a),a69_0x3e251c[a69_0x47e1c9(0x11e)]=a69_0x47e1c9(0x11d),a69_0x3e251c[a69_0x47e1c9(0x11c)]=a69_0x47e1c9(0x14a),a69_0x3e251c[a69_0x47e1c9(0x146)]='test_location',a69_0x3e251c[a69_0x47e1c9(0x129)]='test_scope',a69_0x3e251c['KEY_TEST_SCOPES']=a69_0x47e1c9(0x14c),a69_0x3e251c[a69_0x47e1c9(0x10f)]='test_framework_name',a69_0x3e251c[a69_0x47e1c9(0x123)]=a69_0x47e1c9(0x15e),a69_0x3e251c['KEY_TEST_CODE']=a69_0x47e1c9(0x144),a69_0x3e251c[a69_0x47e1c9(0x141)]=a69_0x47e1c9(0x162),a69_0x3e251c[a69_0x47e1c9(0x125)]=a69_0x47e1c9(0x119),a69_0x3e251c[a69_0x47e1c9(0x10b)]=a69_0x47e1c9(0x121),a69_0x3e251c[a69_0x47e1c9(0x14f)]=a69_0x47e1c9(0x157),a69_0x3e251c[a69_0x47e1c9(0x150)]='test_failure_type',a69_0x3e251c['KEY_TEST_FAILURE_REASON']=a69_0x47e1c9(0x143),a69_0x3e251c[a69_0x47e1c9(0x133)]=a69_0x47e1c9(0x149),a69_0x3e251c['KEY_TEST_META']=a69_0x47e1c9(0x147),a69_0x3e251c[a69_0x47e1c9(0x124)]=a69_0x47e1c9(0x12b),a69_0x3e251c[a69_0x47e1c9(0x15b)]=a69_0x47e1c9(0x120),a69_0x3e251c[a69_0x47e1c9(0x115)]='automate_session_status',a69_0x3e251c[a69_0x47e1c9(0x134)]=a69_0x47e1c9(0x13f),a69_0x3e251c['KEY_EVENT_STARTED_AT']=a69_0x47e1c9(0x110),a69_0x3e251c[a69_0x47e1c9(0x14e)]=a69_0x47e1c9(0x138),a69_0x3e251c[a69_0x47e1c9(0x131)]='hook_id',a69_0x3e251c[a69_0x47e1c9(0x161)]=a69_0x47e1c9(0x116),a69_0x3e251c[a69_0x47e1c9(0x137)]=a69_0x47e1c9(0x13e),a69_0x3e251c[a69_0x47e1c9(0x10e)]=a69_0x47e1c9(0x12c),a69_0x3e251c[a69_0x47e1c9(0x10d)]=a69_0x47e1c9(0x130),a69_0x3e251c[a69_0x47e1c9(0x148)]=a69_0x47e1c9(0x160),a69_0x3e251c[a69_0x47e1c9(0x112)]=a69_0x47e1c9(0x114),a69_0x3e251c[a69_0x47e1c9(0x164)]=a69_0x47e1c9(0x151),a69_0x3e251c[a69_0x47e1c9(0x155)]=a69_0x47e1c9(0x151),a69_0x3e251c[a69_0x47e1c9(0x135)]=a69_0x47e1c9(0x10c),a69_0x3e251c['KIND_LOG']=a69_0x47e1c9(0x111),a69_0x3e251c[a69_0x47e1c9(0x12d)]='^(BEFORE_|AFTER_)',a69_0x3e251c[a69_0x47e1c9(0x145)]='test_hooks_started',a69_0x3e251c[a69_0x47e1c9(0x14d)]=a69_0x47e1c9(0x12f),a69_0x3e251c[a69_0x47e1c9(0x159)]=a69_0x47e1c9(0x13c),a69_0x3e251c[a69_0x47e1c9(0x163)]=a69_0x47e1c9(0x11a),a69_0x3e251c[a69_0x47e1c9(0x165)]=a69_0x47e1c9(0x15d),a69_0x3e251c[a69_0x47e1c9(0x142)]=a69_0x47e1c9(0x158),a69_0x3e251c[a69_0x47e1c9(0x15a)]=a69_0x47e1c9(0x117),a69_0x3e251c[a69_0x47e1c9(0x13b)]=a69_0x47e1c9(0x127),a69_0x3e251c[a69_0x47e1c9(0x156)]=a69_0x47e1c9(0x13d),a69_0x3e251c['KEY_FILE_PATH']=a69_0x47e1c9(0x140),a69_0x3e251c['KEY_FILE_LEVEL']='file_level';const TestFrameworkConstants=a69_0x3e251c;module[a69_0x47e1c9(0x153)]=TestFrameworkConstants;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a70_0x500105=a70_0x1152;function a70_0x1152(_0x27b8ba,_0x4c0ade){const _0x3f0eb5=a70_0x3f0e();return a70_0x1152=function(_0x115236,_0x135d09){_0x115236=_0x115236-0x1cb;let _0x1fa6aa=_0x3f0eb5[_0x115236];return _0x1fa6aa;},a70_0x1152(_0x27b8ba,_0x4c0ade);}(function(_0x1007f6,_0x15c4ad){const _0x454aeb=a70_0x1152,_0x43cf6d=_0x1007f6();while(!![]){try{const _0x4ae6e9=parseInt(_0x454aeb(0x265))/0x1*(parseInt(_0x454aeb(0x293))/0x2)+-parseInt(_0x454aeb(0x24d))/0x3+-parseInt(_0x454aeb(0x243))/0x4+-parseInt(_0x454aeb(0x209))/0x5*(parseInt(_0x454aeb(0x244))/0x6)+-parseInt(_0x454aeb(0x1e6))/0x7+-parseInt(_0x454aeb(0x24f))/0x8+-parseInt(_0x454aeb(0x236))/0x9*(-parseInt(_0x454aeb(0x1ee))/0xa);if(_0x4ae6e9===_0x15c4ad)break;else _0x43cf6d['push'](_0x43cf6d['shift']());}catch(_0x36f2ce){_0x43cf6d['push'](_0x43cf6d['shift']());}}}(a70_0x3f0e,0xdde2f));function a70_0x3f0e(){const _0x4e53cd=['addPendingHook','\x20batch\x20','VsWQQ','wdqNX','getProcessId','parseCucumberTest',',\x20state=','KEY_TEST_META','zbIpf','LmzEU','failure_data','length','WPurH','removePendingHooks','meta','\x20with\x20result:\x20','failure_type','USVrV','location','bKvbz','Error\x20in\x20createTestFrameworkEventPayload:\x20','zxkbB','zNRvD','45NKzLBI','passed','KEY_HOOK_ID','executionContext','getTestDetails','addMultipleEntries','eventJson','push','BFpXW','TEST','trackEvent','processPendingHooks','unknown','552912xdMpEo','2320122tYZWTk','POST','\x20testState:\x20','KEY_LOGS','\x20response=','\x20target=','parseCucumberTestResult','UoxRp','CucumberTestFramework','2222079DikwDr','KEY_TEST_TAGS','1814520DgWoBS','zdGex','failure','KEY_TEST_NAME','code','getRef','QlJsa','KEY_EVENT_ENDED_AT','setTestDetails','getThreadId','../state/testFrameworkState.js','runHooks','KEY_HOOK_FAILURE_REASON','KEY_AUTOMATE_SESSION_NAME','KEY_HOOKS_STARTED','testUUID','trackHookEvent','startedAt','../grpcClient','test_run_id','KEY_TEST_SCOPES','\x20and\x20args\x20=\x20','13gCpUMe','UnhandledError','createTestFrameworkEventPayload','trackCucumberInstance:\x20saved\x20instance\x20contextId=','KEY_EVENT_STARTED_AT','../cliUtils.js','customRerunParam','result','Stored\x20pending\x20hook\x20for\x20testId:\x20','readLogObjects','sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','exports','error','KEY_TEST_RESULT','XzIEr','oxdYs','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','./constants/testFrameworkConstants.js','kCajw','hookData','matchHookRegex','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','KEY_TEST_FRAMEWORK_VERSION','pRbNg','util','testFrameworkName','stringify','sendLogCreatedEvent:\x20for\x20testId:\x20','sendLogCreatedEvent','getId','split','KEY_TEST_ID','uuid','createTestFrameworkEventPayload\x20testId:\x20','KEY_TEST_ATTACHMENTS','GWyiV','KEY_HOOKS_FINISHED','setTrackedInstance','failed','trackEvent\x20loading\x20testData\x20for\x20testId:\x20',',\x20error:\x20','\x20for\x20test:\x20','toString','getCurrentHookState','args','KEY_HOOK_NAME','49710viakFB','instance','getInstance','trackCucumberInstance','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','debug','ceil','keys','workerInfo','KEY_HOOK_RESULT','storePendingHook','toISOString','../../../helpers/classLogger.js','KEY_CUSTOM_TAGS','\x20with\x20id\x20','scopes','Tracked\x20cucumber\x20hook\x20event:\x20','format','KEY_TEST_FILE_PATH','gPmGN','KEY_TEST_SCOPE','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','../instances/testFrameworkInstance.js','\x20pending\x20hooks\x20for\x20testId:\x20','KEY_TEST_FRAMEWORK_NAME','\x20payload=','test','JvtLf','\x20&\x20hookState=','getTestFrameworksVersions','QHuOK','dZRNA','sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20','name','__workerDetails','KEY_TEST_UUID','KEY_TEST_RESULT_AT','failure_reason','9977380TrwNov','createContext','KEY_HOOK_FAILURE_TYPE','logCreatedEvent','file_name','slice','DEFAULT_HOOK_RESULT','resolveInstance','7006990jneCac','hooks','testData','body','ZEPuu','No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','../state/hookState.js','get','trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20','getAllData','hook_type','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','DEFAULT_TEST_RESULT','trackEvent:\x20unsupported\x20testFrameworkState=','PRE','NONE','rDWlA','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','endedAt','jaUSf','KEY_TEST_FAILURE','Processing\x20','HrtHx','No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','getPendingHooks','LOG_REPORT','INIT_TEST','5xVVUxj','KEY_TEST_STARTED_AT','getContext','sNrID','KEY_TEST_FAILURE_TYPE','getTestFrameworks','finished_at','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','Updated\x20cucumber\x20test\x20result:\x20','rerun_name','parallelIndex','tags','pjQNj','key','testFrameworkState',',\x20storing\x20as\x20pending\x20hook','getTestUUID','PyWYf','KEY_TEST_ENDED_AT','legta','\x20&\x20hook\x20=\x20','getCurrentTestState'];a70_0x3f0e=function(){return _0x4e53cd;};return a70_0x3f0e();}const TestFramework=require('./testFramework'),TestFrameworkState=require(a70_0x500105(0x259)),HookState=require(a70_0x500105(0x1f4)),{createClassLogger}=require(a70_0x500105(0x1cc)),TestFrameworkInstance=require(a70_0x500105(0x1d6)),CLIUtils=require(a70_0x500105(0x26a)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a70_0x500105(0x276)),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),logger=createClassLogger(a70_0x500105(0x24c)),{v4:uuidv4}=require(a70_0x500105(0x285)),util=require(a70_0x500105(0x27d)),TestInfo=require('../TestInfo.js'),GrpcClient=require(a70_0x500105(0x261));class CucumberTestFramework extends TestFramework{constructor(_0x444a4a,_0x4ebc6e,_0x64f0b4){super(_0x444a4a,_0x4ebc6e,_0x64f0b4);}async[a70_0x500105(0x240)](_0x2ec81a,_0x58b76b,_0x5b7d6d={}){const _0x1106dc=a70_0x500105,_0x8cbb21={};_0x8cbb21[_0x1106dc(0x235)]='trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found',_0x8cbb21[_0x1106dc(0x1d3)]=function(_0x1182d1,_0x3b970d){return _0x1182d1===_0x3b970d;},_0x8cbb21['kBwle']=function(_0x100dd4,_0x27c896){return _0x100dd4===_0x27c896;},_0x8cbb21[_0x1106dc(0x230)]=function(_0x30ff9a,_0x3a3226){return _0x30ff9a===_0x3a3226;},_0x8cbb21[_0x1106dc(0x24b)]=_0x1106dc(0x27a);const _0x230877=_0x8cbb21;await super[_0x1106dc(0x240)](_0x2ec81a,_0x58b76b,_0x5b7d6d);const _0x1beca0=this[_0x1106dc(0x1ed)](_0x2ec81a,_0x58b76b,_0x5b7d6d);if(!_0x1beca0){logger[_0x1106dc(0x298)](_0x230877['zNRvD']);return;}try{let _0x27cfd5,_0x3baeb7;switch(_0x2ec81a){case TestFrameworkState[_0x1106dc(0x23f)]:_0x27cfd5=_0x5b7d6d[_0x1106dc(0x1da)],_0x3baeb7=TestInfo[_0x1106dc(0x219)](_0x27cfd5['id']);if(_0x230877[_0x1106dc(0x1d3)](_0x58b76b,HookState[_0x1106dc(0x1fc)])){logger[_0x1106dc(0x298)](_0x1106dc(0x28c)+_0x27cfd5['id']);const _0x1dc04a={};_0x1dc04a['testUUID']=_0x3baeb7,_0x1dc04a[_0x1106dc(0x1f0)]=_0x27cfd5,_0x1beca0['addMultipleEntries'](this[_0x1106dc(0x224)](_0x1dc04a)),logger[_0x1106dc(0x298)](_0x1106dc(0x1d5)+_0x27cfd5['id']),await this['processPendingHooks'](_0x1beca0,_0x27cfd5['id']);}else{if(_0x230877['kBwle'](_0x58b76b,HookState[_0x1106dc(0x245)])){const _0x458b9a={};_0x458b9a[_0x1106dc(0x25e)]=_0x3baeb7,_0x458b9a[_0x1106dc(0x1f0)]=_0x27cfd5,_0x1beca0['addMultipleEntries'](this[_0x1106dc(0x24a)](_0x458b9a)),await this[_0x1106dc(0x241)](_0x1beca0,_0x27cfd5['id']);}}break;case TestFrameworkState[_0x1106dc(0x207)]:_0x230877[_0x1106dc(0x230)](_0x58b76b,HookState[_0x1106dc(0x245)])&&await this[_0x1106dc(0x281)](_0x1beca0,_0x2ec81a,_0x5b7d6d);break;default:if(CLIUtils[_0x1106dc(0x279)](_0x2ec81a[_0x1106dc(0x28f)]()['split']('.')[0x1])){const _0x459352=await this[_0x1106dc(0x25f)](_0x1beca0,_0x2ec81a,_0x58b76b,_0x5b7d6d);_0x1beca0[_0x1106dc(0x23b)](_0x459352);}else logger[_0x1106dc(0x298)](_0x1106dc(0x1fb)+_0x2ec81a+_0x1106dc(0x1dc)+_0x58b76b);break;}}catch(_0x1ffa6c){logger[_0x1106dc(0x271)](util[_0x1106dc(0x1d1)](_0x230877[_0x1106dc(0x24b)],_0x2ec81a,_0x58b76b,_0x5b7d6d[_0x1106dc(0x22a)],_0x1ffa6c));}_0x5b7d6d[_0x1106dc(0x294)]=_0x1beca0,await this['runHooks'](_0x1beca0,_0x2ec81a,_0x58b76b,_0x5b7d6d);}['resolveInstance'](_0x280e9d,_0x2aa28a,_0xd079ae={}){const _0x3b2552=a70_0x500105,_0x5092eb={};_0x5092eb[_0x3b2552(0x273)]=function(_0x51e60d,_0x4c6d46){return _0x51e60d===_0x4c6d46;};const _0x2bcd78=_0x5092eb;let _0x6549fd=null;return(_0x2bcd78[_0x3b2552(0x273)](_0x280e9d,TestFrameworkState[_0x3b2552(0x208)])||_0x2bcd78[_0x3b2552(0x273)](_0x280e9d,TestFrameworkState[_0x3b2552(0x1fd)]))&&this[_0x3b2552(0x296)](_0x280e9d,_0xd079ae),_0x6549fd=TestFramework['getTrackedInstance'](),_0x6549fd;}['trackCucumberInstance'](_0x299de9,_0x527f73){const _0x3db632=a70_0x500105,_0x5b8c8e=CLIUtils['getCurrentInstanceName'](),_0x185748=TrackedInstance[_0x3db632(0x1e7)](_0x5b8c8e);let _0x54c808=null;logger[_0x3db632(0x298)]('trackCucumberInstance:\x20created\x20instance\x20for\x20target='+_0x5b8c8e+_0x3db632(0x225)+_0x299de9),_0x54c808=new TestFrameworkInstance(_0x185748,this[_0x3db632(0x20e)](),this['getTestFrameworksVersions'](),_0x299de9,HookState[_0x3db632(0x1fd)]),TestFramework[_0x3db632(0x28a)](_0x185748,_0x54c808),logger[_0x3db632(0x298)](_0x3db632(0x268)+_0x185748['getId']()+_0x3db632(0x249)+_0x5b8c8e);}[a70_0x500105(0x224)](_0x5e5e40){const _0x5ba291=a70_0x500105,_0x11cd09={};_0x11cd09[_0x5ba291(0x1f2)]='No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test';const _0x11777b=_0x11cd09,{testUUID:_0x1b7093,testData:_0x58c127}=_0x5e5e40;if(!_0x58c127||!_0x58c127[_0x5ba291(0x285)])return logger[_0x5ba291(0x298)](_0x11777b[_0x5ba291(0x1f2)]),{};const _0x33b00d=_0x1b7093,_0x326391=_0x58c127[_0x5ba291(0x285)],_0x3c2859=this[_0x5ba291(0x20e)]()[0x0],_0x46ca22=this[_0x5ba291(0x1dd)](),_0x3023ef={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x3c2859,[TestFrameworkConstants[_0x5ba291(0x27b)]]:_0x46ca22[_0x3c2859],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0x5ba291(0x289)]]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants[_0x5ba291(0x1e3)]]:_0x33b00d,[TestFrameworkConstants[_0x5ba291(0x272)]]:TestFrameworkConstants[_0x5ba291(0x1fa)],[TestFrameworkConstants[_0x5ba291(0x25c)]]:_0x58c127[_0x5ba291(0x1e1)]||'',[TestFrameworkConstants[_0x5ba291(0x1d2)]]:_0x58c127[_0x5ba291(0x1ea)]||'',[TestFrameworkConstants[_0x5ba291(0x284)]]:_0x326391,[TestFrameworkConstants[_0x5ba291(0x252)]]:_0x58c127[_0x5ba291(0x1e1)]||'',[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x58c127[_0x5ba291(0x231)]||'',[TestFrameworkConstants['KEY_TEST_CODE']]:_0x58c127[_0x5ba291(0x1f1)]?.[_0x5ba291(0x253)]||null,[TestFrameworkConstants[_0x5ba291(0x24e)]]:_0x58c127[_0x5ba291(0x214)]||[],[TestFrameworkConstants[_0x5ba291(0x20a)]]:_0x58c127[_0x5ba291(0x260)]||new Date()[_0x5ba291(0x1cb)](),[TestFrameworkConstants[_0x5ba291(0x1d4)]]:_0x58c127[_0x5ba291(0x1cf)]?.[0x0]||'',[TestFrameworkConstants[_0x5ba291(0x263)]]:_0x58c127[_0x5ba291(0x1cf)]||[],[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0x58c127[_0x5ba291(0x26b)]?.[_0x5ba291(0x212)]||_0x58c127['name']||'',[TestFrameworkConstants[_0x5ba291(0x1cd)]]:{},[TestFrameworkConstants[_0x5ba291(0x226)]]:_0x58c127[_0x5ba291(0x22d)]||{}};TestInfo[_0x5ba291(0x257)](_0x326391,_0x3023ef),logger['debug']('Parsed\x20cucumber\x20test:\x20'+_0x58c127[_0x5ba291(0x1e1)]+'\x20with\x20UUID:\x20'+_0x33b00d);const _0x248249={};return _0x248249[_0x326391]=_0x3023ef,_0x248249;}['parseCucumberTestResult'](_0x57be8a){const _0x34aeb6=a70_0x500105,_0xf799a6={'vVfZm':_0x34aeb6(0x1f9),'tzLeM':_0x34aeb6(0x242),'JvtLf':function(_0x4c8e39,_0x413d4b){return _0x4c8e39===_0x413d4b;},'PyWYf':_0x34aeb6(0x28b),'legta':_0x34aeb6(0x266),'pRbNg':function(_0xa46c9c,_0x1be5be,_0x334229){return _0xa46c9c(_0x1be5be,_0x334229);},'LmzEU':function(_0x4a900e,_0x57017c){return _0x4a900e>_0x57017c;},'HrtHx':function(_0x5caf7b,_0x585686){return _0x5caf7b>_0x585686;}},{testUUID:_0x548e85,testData:_0x278d17}=_0x57be8a;if(!_0x278d17||!_0x278d17[_0x34aeb6(0x285)])return logger[_0x34aeb6(0x298)](_0xf799a6['vVfZm']),{};const _0x2cff83=this[_0x34aeb6(0x1ed)](TestFrameworkState['TEST'],HookState['POST']),_0xa65258=_0x278d17[_0x34aeb6(0x285)],_0x5d3641=TestInfo[_0x34aeb6(0x23a)](_0xa65258)||{},_0x2565f8=_0x5d3641?_0x5d3641[TestFrameworkConstants[_0x34aeb6(0x1cd)]]||{}:{},_0x1f329a={..._0x5d3641,[TestFrameworkConstants[_0x34aeb6(0x272)]]:_0x278d17[_0x34aeb6(0x26c)]||_0xf799a6['tzLeM'],[TestFrameworkConstants[_0x34aeb6(0x21b)]]:_0x278d17['finishedAt']||new Date()['toISOString'](),[TestFrameworkConstants[_0x34aeb6(0x1e4)]]:new Date()[_0x34aeb6(0x1cb)](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x2565f8,[TestFrameworkConstants[_0x34aeb6(0x247)]]:[],[TestFrameworkConstants[_0x34aeb6(0x226)]]:_0x278d17[_0x34aeb6(0x22d)]||{}};_0xf799a6[_0x34aeb6(0x1db)](_0x278d17[_0x34aeb6(0x26c)],_0xf799a6[_0x34aeb6(0x21a)])&&_0x278d17[_0x34aeb6(0x251)]&&(_0x1f329a[TestFrameworkConstants[_0x34aeb6(0x20d)]]=_0x278d17[_0x34aeb6(0x22f)]||_0xf799a6[_0x34aeb6(0x21c)],_0x1f329a[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]=_0x278d17[_0x34aeb6(0x1e5)]||'',_0x1f329a[TestFrameworkConstants[_0x34aeb6(0x202)]]=_0x278d17[_0x34aeb6(0x251)]);const _0x4c3bc9=TestInfo[_0x34aeb6(0x23a)](_0xa65258)[TestFrameworkConstants[_0x34aeb6(0x287)]]||{},_0x34b95c=_0xf799a6[_0x34aeb6(0x27c)](getManualUploadLogs,_0x4c3bc9,_0x2cff83['getAllData']()[_0x34aeb6(0x1f5)](_0xa65258)[TestFrameworkConstants[_0x34aeb6(0x1e3)]]);if(_0xf799a6[_0x34aeb6(0x228)](_0x34b95c[_0x34aeb6(0x22a)],0x0)){const _0x2dbfa6=_0x1f329a[TestFrameworkConstants[_0x34aeb6(0x247)]]||[];_0x1f329a[TestFrameworkConstants[_0x34aeb6(0x247)]]=[..._0x2dbfa6,..._0x34b95c];}_0x278d17[_0x34aeb6(0x1ef)]&&_0xf799a6[_0x34aeb6(0x204)](_0x278d17[_0x34aeb6(0x1ef)][_0x34aeb6(0x22a)],0x0)&&(_0x1f329a[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x278d17[_0x34aeb6(0x1ef)]);TestInfo[_0x34aeb6(0x257)](_0xa65258,_0x1f329a),logger[_0x34aeb6(0x298)](_0x34aeb6(0x211)+_0x278d17['name']+_0x34aeb6(0x22e)+_0x278d17[_0x34aeb6(0x26c)]);const _0x18cdc5={};return _0x18cdc5[_0xa65258]=_0x1f329a,_0x18cdc5;}async[a70_0x500105(0x25f)](_0x2ec1c6,_0x186039,_0x533930,_0x15ba04){const _0x445c86=a70_0x500105,_0x363223={'BFpXW':_0x445c86(0x1f3),'kCajw':function(_0x1c9008){return _0x1c9008();},'WPurH':function(_0x34fda6,_0x1eb6a5){return _0x34fda6 in _0x1eb6a5;},'sNrID':function(_0x4c5732,_0x5ee495){return _0x4c5732 in _0x5ee495;},'GWyiV':function(_0xc88092,_0x233be2){return _0xc88092===_0x233be2;},'wdqNX':function(_0x3e8aab,_0x57b4b2){return _0x3e8aab>_0x57b4b2;},'VxWel':_0x445c86(0x28b),'zbIpf':_0x445c86(0x266),'QHuOK':_0x445c86(0x237),'QiAVS':function(_0x562896,_0x28f7b1){return _0x562896!==_0x28f7b1;}},{hookData:_0x2eef6b}=_0x15ba04;if(!_0x2eef6b)return logger[_0x445c86(0x298)](_0x363223[_0x445c86(0x23e)]),{};const _0x4b41aa=_0x2eef6b['uuid']||_0x363223[_0x445c86(0x277)](uuidv4),_0x2b8a93=_0x2eef6b[_0x445c86(0x262)],_0x2f2629=_0x186039[_0x445c86(0x28f)]()[_0x445c86(0x283)]('.')[0x1],_0x4deda8=TestInfo['getTestDetails'](_0x2b8a93)[TestFrameworkConstants[_0x445c86(0x1cd)]]||{},_0x462ba0=_0x2ec1c6[_0x445c86(0x1f7)]()['get'](_0x2b8a93);if(!_0x462ba0)return logger[_0x445c86(0x298)](_0x445c86(0x205)+_0x2b8a93+_0x445c86(0x218)),this[_0x445c86(0x29d)](_0x2ec1c6,_0x2b8a93,_0x186039,_0x533930,_0x15ba04),{};let _0x44265e=_0x462ba0[TestFrameworkConstants[_0x445c86(0x25d)]];!_0x44265e&&(_0x44265e={});!_0x363223[_0x445c86(0x22b)](_0x2f2629,_0x44265e)&&(_0x44265e[_0x2f2629]=[]);let _0x14ed95=_0x462ba0[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x14ed95&&(_0x14ed95={});!_0x363223[_0x445c86(0x20c)](_0x2f2629,_0x14ed95)&&(_0x14ed95[_0x2f2629]=[]);const _0x3fdd75={[TestFrameworkConstants[_0x445c86(0x25d)]]:_0x44265e,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x14ed95},_0x13e3c3={};_0x13e3c3[_0x2b8a93]=_0x3fdd75;const _0x2079c3=_0x13e3c3;if(_0x363223[_0x445c86(0x288)](_0x533930,HookState[_0x445c86(0x1fc)])){const _0x1d67a4={[TestFrameworkConstants['KEY_HOOK_ID']]:_0x4b41aa,[TestFrameworkConstants[_0x445c86(0x29c)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x445c86(0x269)]]:_0x2eef6b['started_at'],[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x445c86(0x292)]]:_0x2eef6b[_0x445c86(0x1f8)],[TestFrameworkConstants[_0x445c86(0x1cd)]]:_0x4deda8};_0x1d67a4[_0x445c86(0x216)]=_0x2f2629;const _0x566f35=_0x1d67a4;_0x44265e[_0x2f2629][_0x445c86(0x23d)](_0x566f35),_0x2079c3[_0x2b8a93][TestFrameworkConstants['KEY_HOOK_LAST_STARTED']]=_0x2f2629,logger[_0x445c86(0x298)](_0x445c86(0x297)+_0x2f2629+_0x445c86(0x21d)+_0x566f35+'\x20\x20and\x20args\x20=\x20'+_0x15ba04);}else{if(_0x363223[_0x445c86(0x288)](_0x533930,HookState[_0x445c86(0x245)])){const _0x1aa720=_0x2eef6b['result'],_0x394e8f=_0x44265e[_0x2f2629]||[];logger[_0x445c86(0x298)](_0x445c86(0x1f6)+_0x394e8f+_0x445c86(0x264)+_0x15ba04);if(_0x363223[_0x445c86(0x222)](_0x394e8f[_0x445c86(0x22a)],0x0)){const _0x5e2ec3=_0x394e8f['pop']();_0x363223[_0x445c86(0x288)](_0x2eef6b['result'],_0x363223['VxWel'])&&_0x2eef6b[_0x445c86(0x229)]?(_0x5e2ec3[TestFrameworkConstants[_0x445c86(0x1e8)]]=_0x2eef6b['failure_type']||_0x363223[_0x445c86(0x227)],_0x5e2ec3[TestFrameworkConstants[_0x445c86(0x25b)]]=_0x2eef6b[_0x445c86(0x1e5)]||'',_0x5e2ec3[TestFrameworkConstants['KEY_HOOK_FAILURE']]=_0x2eef6b[_0x445c86(0x229)]):_0x5e2ec3[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x363223[_0x445c86(0x1de)];_0x363223['QiAVS'](_0x1aa720,TestFrameworkConstants[_0x445c86(0x1ec)])&&(_0x5e2ec3[TestFrameworkConstants[_0x445c86(0x29c)]]=_0x1aa720);_0x5e2ec3[TestFrameworkConstants[_0x445c86(0x256)]]=_0x2eef6b[_0x445c86(0x20f)]||new Date()[_0x445c86(0x1cb)](),_0x5e2ec3[TestFrameworkConstants[_0x445c86(0x1cd)]]=_0x4deda8;const _0x30c548=_0x5e2ec3[TestFrameworkConstants[_0x445c86(0x238)]];!_0x14ed95[_0x2f2629]&&(_0x14ed95[_0x2f2629]=[]),_0x14ed95[_0x2f2629]['push'](_0x5e2ec3),_0x2079c3[_0x2b8a93][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x2f2629;}}}return logger[_0x445c86(0x298)](_0x445c86(0x1d0)+_0x2eef6b[_0x445c86(0x1f8)]+_0x445c86(0x1ce)+_0x4b41aa+_0x445c86(0x28e)+_0x2b8a93),_0x2079c3;}[a70_0x500105(0x267)](_0x2d6029){const _0x253b83=a70_0x500105,_0x2713b2={};_0x2713b2['VsWQQ']='base64';const _0x3680af=_0x2713b2;try{const _0x2e1cc0=_0x2d6029[_0x253b83(0x1da)]?_0x2d6029[_0x253b83(0x1da)]['id']:_0x2d6029[_0x253b83(0x278)]['test_run_id'],_0x39675f=_0x2d6029['instance'],_0x1fffcc=_0x39675f[_0x253b83(0x20b)](),_0x2aa46a=_0x39675f[_0x253b83(0x1f7)]()[_0x253b83(0x1f5)](_0x2e1cc0);if(!_0x2aa46a)return logger[_0x253b83(0x298)]('createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x2e1cc0),{};logger[_0x253b83(0x298)](_0x253b83(0x286)+_0x2e1cc0);const {[TestFrameworkConstants[_0x253b83(0x1d8)]]:_0xe16abc='',[TestFrameworkConstants[_0x253b83(0x27b)]]:_0x2e1162='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x2af9d0='',[TestFrameworkConstants[_0x253b83(0x21b)]]:_0x5437e9=''}=_0x2aa46a,_0xab50c9=_0x39675f[_0x253b83(0x21e)]()['toString']()['split']('.')[0x1],_0x26708a=_0x39675f[_0x253b83(0x290)]()[_0x253b83(0x28f)]()['split']('.')[0x1],_0x119e42=global?.[_0x253b83(0x1e2)]?.[_0x253b83(0x29b)]?.[_0x253b83(0x213)],_0x333d45=_0x39675f[_0x253b83(0x254)](),_0x7347d=Buffer['from'](JSON[_0x253b83(0x27f)](_0x2aa46a))[_0x253b83(0x28f)](_0x3680af[_0x253b83(0x221)]),_0x3cfa50={'hash':_0x1fffcc[_0x253b83(0x282)](),'threadId':_0x1fffcc[_0x253b83(0x258)]()[_0x253b83(0x28f)](),'processId':_0x1fffcc[_0x253b83(0x223)]()['toString']()},_0x594aa3={};_0x594aa3['platformIndex']=_0x119e42,_0x594aa3[_0x253b83(0x27e)]=_0xe16abc,_0x594aa3['testFrameworkVersion']=_0x2e1162,_0x594aa3[_0x253b83(0x217)]=_0xab50c9,_0x594aa3['hookState']=_0x26708a,_0x594aa3[_0x253b83(0x260)]=_0x2af9d0,_0x594aa3[_0x253b83(0x200)]=_0x5437e9,_0x594aa3[_0x253b83(0x285)]=_0x333d45,_0x594aa3[_0x253b83(0x23c)]=_0x7347d,_0x594aa3[_0x253b83(0x239)]=_0x3cfa50;const _0x3c94db=_0x594aa3;return logger[_0x253b83(0x298)](_0x253b83(0x210)+_0x2e1cc0+_0x253b83(0x246)+_0xab50c9+'\x20hookState:\x20'+_0x26708a),_0x3c94db;}catch(_0x544446){return logger['error'](_0x253b83(0x233)+util['format'](_0x544446)),{};}}async[a70_0x500105(0x281)](_0x52b907,_0x4b5e0b,_0x4fe048){const _0x1ad1a2=a70_0x500105,_0x31e19f={'dZRNA':function(_0x4d54e1,_0x391050,_0x34c7c8){return _0x4d54e1(_0x391050,_0x34c7c8);},'oxdYs':function(_0x2a13ba,_0x3323b1){return _0x2a13ba===_0x3323b1;},'jaUSf':_0x1ad1a2(0x26f),'bKvbz':function(_0x4c8f74,_0x409037){return _0x4c8f74/_0x409037;},'rDWlA':function(_0x2aaa10,_0x35d55a){return _0x2aaa10<_0x35d55a;},'pjQNj':function(_0x522e5a,_0x4d24df){return _0x522e5a*_0x4d24df;},'QlJsa':function(_0x14dcc5,_0x3481d9){return _0x14dcc5+_0x3481d9;},'zxkbB':'Cucumber\x20log\x20created\x20event'};try{const _0x3abfda=_0x4fe048['testUUID'],_0x1f5217=_0x52b907[_0x1ad1a2(0x1f7)]()['get'](_0x3abfda),{[TestFrameworkConstants[_0x1ad1a2(0x1d8)]]:_0xdf4c56='',[TestFrameworkConstants[_0x1ad1a2(0x27b)]]:_0x365454=''}=_0x1f5217,_0x1845b7=TestInfo[_0x1ad1a2(0x26e)](_0x3abfda),_0x1fbb16=TestInfo['getTestDetails'](_0x3abfda)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x1e4ea2=_0x31e19f[_0x1ad1a2(0x1df)](getMediaArtifactsLogs,_0x1fbb16,_0x52b907[_0x1ad1a2(0x1f7)]()['get'](_0x3abfda)[TestFrameworkConstants[_0x1ad1a2(0x1e3)]]),_0x5289c5=(_0x1845b7||[])['concat'](_0x1e4ea2||[]);if(!_0x5289c5||_0x31e19f[_0x1ad1a2(0x274)](_0x5289c5[_0x1ad1a2(0x22a)],0x0)){logger[_0x1ad1a2(0x298)](_0x31e19f[_0x1ad1a2(0x201)]);return;}const _0x1aaaba=0x28,_0x5ca499=Math[_0x1ad1a2(0x299)](_0x31e19f[_0x1ad1a2(0x232)](_0x5289c5[_0x1ad1a2(0x22a)],_0x1aaaba));for(let _0x331507=0x0;_0x31e19f[_0x1ad1a2(0x1fe)](_0x331507,_0x5ca499);_0x331507++){const _0x482965=_0x31e19f[_0x1ad1a2(0x215)](_0x331507,_0x1aaaba),_0x3b41cd=_0x31e19f[_0x1ad1a2(0x255)](_0x482965,_0x1aaaba),_0x722bba=_0x5289c5[_0x1ad1a2(0x1eb)](_0x482965,_0x3b41cd),_0x595e03={'platformIndex':'0','logs':_0x722bba,'testFrameworkName':_0xdf4c56,'testFrameworkVersion':_0x365454,'testFrameworkState':_0x4b5e0b[_0x1ad1a2(0x28f)]()[_0x1ad1a2(0x283)]('.')[0x1]};logger[_0x1ad1a2(0x298)]('sendLogCreatedEvent:\x20for\x20testId:\x20'+_0x3abfda+_0x1ad1a2(0x220)+_0x31e19f['QlJsa'](_0x331507,0x1)+'/'+_0x5ca499+_0x1ad1a2(0x1d9)+util['inspect'](_0x595e03));const _0x411270=await GrpcClient[_0x1ad1a2(0x295)]()[_0x1ad1a2(0x1e9)](_0x595e03);logger[_0x1ad1a2(0x298)](_0x1ad1a2(0x280)+_0x3abfda+_0x1ad1a2(0x220)+_0x31e19f['QlJsa'](_0x331507,0x1)+'/'+_0x5ca499+_0x1ad1a2(0x248)+util['inspect'](_0x411270));}}catch(_0x2d44b6){logger[_0x1ad1a2(0x271)](_0x1ad1a2(0x1e0)+util[_0x1ad1a2(0x1d1)](_0x2d44b6));}logger['debug'](_0x31e19f[_0x1ad1a2(0x234)]);}[a70_0x500105(0x29d)](_0xcedbf8,_0x15c378,_0x32dc41,_0x295fb4,_0x4ac174){const _0x537c3d=a70_0x500105,_0x3641a7={'testId':_0x15c378,'testFrameworkState':_0x32dc41,'hookState':_0x295fb4,'args':_0x4ac174,'timestamp':new Date()[_0x537c3d(0x1cb)]()};_0xcedbf8[_0x537c3d(0x21f)](_0x15c378,_0x3641a7),logger[_0x537c3d(0x298)](_0x537c3d(0x26d)+_0x15c378+',\x20state:\x20'+_0x32dc41+',\x20hookState:\x20'+_0x295fb4);}async[a70_0x500105(0x241)](_0x5652cf,_0xdfa90){const _0x4ad851=a70_0x500105,_0x3803a7={};_0x3803a7['zdGex']=function(_0x5bc14b,_0x58bb68){return _0x5bc14b>_0x58bb68;};const _0x267f9b=_0x3803a7;if(!_0x5652cf['hasPendingHooks'](_0xdfa90))return;const _0x5819d5=_0x5652cf[_0x4ad851(0x206)](_0xdfa90);logger[_0x4ad851(0x298)](_0x4ad851(0x203)+_0x5819d5[_0x4ad851(0x22a)]+_0x4ad851(0x1d7)+_0xdfa90);for(const _0x26bcdb of _0x5819d5){try{const _0x5a60a9=await this[_0x4ad851(0x25f)](_0x5652cf,_0x26bcdb[_0x4ad851(0x217)],_0x26bcdb['hookState'],_0x26bcdb['args']);_0x5a60a9&&_0x267f9b[_0x4ad851(0x250)](Object[_0x4ad851(0x29a)](_0x5a60a9)['length'],0x0)&&_0x5652cf['addMultipleEntries'](_0x5a60a9),await this[_0x4ad851(0x25a)](_0x5652cf,_0x26bcdb[_0x4ad851(0x217)],_0x26bcdb['hookState'],_0x26bcdb[_0x4ad851(0x291)]);}catch(_0x4df8ac){logger[_0x4ad851(0x271)](_0x4ad851(0x1ff)+_0xdfa90+_0x4ad851(0x28d)+_0x4df8ac);}}_0x5652cf[_0x4ad851(0x22c)](_0xdfa90),logger['debug'](_0x4ad851(0x275)+_0xdfa90);}}module[a70_0x500105(0x270)]=CucumberTestFramework;
|
|
1
|
+
function a70_0x2087(_0x3cb2a7,_0x3ff7b4){const _0x5e3542=a70_0x5e35();return a70_0x2087=function(_0x2087a5,_0x920d1a){_0x2087a5=_0x2087a5-0x19b;let _0x5849eb=_0x5e3542[_0x2087a5];return _0x5849eb;},a70_0x2087(_0x3cb2a7,_0x3ff7b4);}function a70_0x5e35(){const _0x43a888=['KEY_TEST_ENDED_AT','KEY_HOOK_LAST_STARTED','../TestInfo.js','split','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test','concat','trackCucumberInstance:\x20created\x20instance\x20for\x20target=','HueTw','../state/hookState.js','KEY_HOOK_ID','result','Tracked\x20cucumber\x20hook\x20event:\x20','../../../helpers/helper.js','test','PudLy','createTestFrameworkEventPayload','KEY_TEST_FAILURE','sendLogCreatedEvent:\x20for\x20testId:\x20','trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20','endedAt','KEY_TEST_LOCATION','instance','\x20for\x20test:\x20','code','KEY_CUSTOM_TAGS','toISOString',',\x20storing\x20as\x20pending\x20hook','uWqop','failure_data','get','trackEvent','KEY_HOOK_LOGS','KUpNp','./testFramework','KEY_LOGS','KEY_HOOKS_FINISHED','getThreadId','parseCucumberTest','tags','Xbbgy','workerInfo','WmVJk','../instances/trackedInstance.js','testUUID','sendLogCreatedEvent','\x20and\x20args\x20=\x20','KEY_HOOK_LAST_FINISHED','KEY_HOOK_FAILURE_TYPE','../instances/testFrameworkInstance.js','uuid','\x20pending\x20hooks\x20for\x20testId:\x20','3331064vXkqvn','PRE','WwTHf','getInstance','format','../../../helpers/classLogger.js','KEY_HOOK_RESULT','KlnUx','resolveInstance','\x20&\x20hookState=','KEY_TEST_META','KEY_EVENT_STARTED_AT','storePendingHook','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','lFNaZ','KEY_TEST_RERUN_NAME','addPendingHook','DEFAULT_HOOK_RESULT','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','hooks','debug','args','getProcessId','hookData','setTrackedInstance','../cliUtils.js','testData','\x20with\x20id\x20','VEaqB','\x20&\x20hook\x20=\x20','KEY_HOOK_FAILURE','UnhandledError','from','getCurrentInstanceName','geMuX','1045794tPDhcg','gaNyh','executionContext','failed','POST','KEY_TEST_LOGS','Updated\x20cucumber\x20test\x20result:\x20','KEY_TEST_ATTACHMENTS','QWMUj','failure_type','\x20hookState:\x20',',\x20error:\x20','../grpcClient','addMultipleEntries','\x20\x20and\x20args\x20=\x20','getCurrentTestState','inspect','getAllData','Error\x20in\x20createTestFrameworkEventPayload:\x20','LOG_REPORT','KEY_AUTOMATE_SESSION_NAME','udhMY','sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','KEY_TEST_SCOPE','PuXeO','\x20payload=','getId','failure_reason','LxWvC','./constants/testFrameworkConstants.js','uRReP','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','KEY_TEST_FAILURE_REASON','KEY_HOOKS_STARTED','6121458UiHGRV','trackCucumberInstance','matchHookRegex','VSTZN','3512zlBAGB','606CBCTkP','parseCucumberTestResult','KEY_TEST_FAILURE_TYPE','keys','failure','CtJXg','hook_type','KEY_TEST_ID','file_name','KEY_TEST_FRAMEWORK_VERSION','No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','scopes','exports','stringify','eventJson','KuUTD','CucumberTestFramework','\x20testState:\x20','AJRMu','KEY_TEST_FRAMEWORK_NAME','\x20batch\x20','getTestDetails','getPendingHooks','removePendingHooks','push','length','createTestFrameworkEventPayload\x20testId:\x20','TbZol','LBNKC','KEY_TEST_NAME','meta','459280phDsuH','ceil','AMJbU','util','PiKGF','setTestDetails','KEY_TEST_CODE','rerun_name','runHooks','KEY_TEST_STARTED_AT','KEY_HOOK_NAME','VTiSE','processPendingHooks','getTrackedInstance','finished_at',',\x20state=','KEY_TEST_UUID','parallelIndex','umGNl','error','DEFAULT_TEST_RESULT','slice','INIT_TEST','testFrameworkState','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','TEST','passed','tkBuH','KEY_TEST_SCOPES','name','base64','startedAt','trackHookEvent','toString','getTestFrameworksVersions','pop','test_run_id','hookState','31618lgFItQ','logCreatedEvent','otAmB','KEY_EVENT_ENDED_AT','KEY_TEST_RESULT_AT','testFrameworkVersion','408715OFbPzY','KEY_HOOK_FAILURE_REASON'];a70_0x5e35=function(){return _0x43a888;};return a70_0x5e35();}const a70_0x9eb2bc=a70_0x2087;(function(_0x50e9b3,_0x1aef4a){const _0x5f34fd=a70_0x2087,_0x574b81=_0x50e9b3();while(!![]){try{const _0x1d250a=parseInt(_0x5f34fd(0x1b6))/0x1+parseInt(_0x5f34fd(0x1b0))/0x2+parseInt(_0x5f34fd(0x237))/0x3*(-parseInt(_0x5f34fd(0x236))/0x4)+-parseInt(_0x5f34fd(0x256))/0x5+-parseInt(_0x5f34fd(0x20f))/0x6+parseInt(_0x5f34fd(0x232))/0x7+-parseInt(_0x5f34fd(0x1eb))/0x8;if(_0x1d250a===_0x1aef4a)break;else _0x574b81['push'](_0x574b81['shift']());}catch(_0x4e29f2){_0x574b81['push'](_0x574b81['shift']());}}}(a70_0x5e35,0x6b354));const TestFramework=require(a70_0x9eb2bc(0x1d9)),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a70_0x9eb2bc(0x1c0)),{createClassLogger}=require(a70_0x9eb2bc(0x1f0)),TestFrameworkInstance=require(a70_0x9eb2bc(0x1e8)),CLIUtils=require(a70_0x9eb2bc(0x205)),TrackedInstance=require(a70_0x9eb2bc(0x1e2)),TestFrameworkConstants=require(a70_0x9eb2bc(0x22d)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a70_0x9eb2bc(0x1c4)),logger=createClassLogger(a70_0x9eb2bc(0x247)),{v4:uuidv4}=require(a70_0x9eb2bc(0x1e9)),util=require(a70_0x9eb2bc(0x259)),TestInfo=require(a70_0x9eb2bc(0x1ba)),GrpcClient=require(a70_0x9eb2bc(0x21b));class CucumberTestFramework extends TestFramework{constructor(_0x2523b6,_0x5cb290,_0x1e0c79){super(_0x2523b6,_0x5cb290,_0x1e0c79);}async[a70_0x9eb2bc(0x1d6)](_0x5386f5,_0x18ccee,_0x457717={}){const _0x36ce3d=a70_0x9eb2bc,_0x1df791={};_0x1df791[_0x36ce3d(0x1d8)]='trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found',_0x1df791[_0x36ce3d(0x1d3)]=function(_0x1af92b,_0xc37a41){return _0x1af92b===_0xc37a41;},_0x1df791[_0x36ce3d(0x20e)]=function(_0x2db4dc,_0x153ca4){return _0x2db4dc===_0x153ca4;},_0x1df791[_0x36ce3d(0x1bf)]=function(_0x506cef,_0x4948c6){return _0x506cef===_0x4948c6;},_0x1df791['gaNyh']='trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s';const _0x13d799=_0x1df791;await super[_0x36ce3d(0x1d6)](_0x5386f5,_0x18ccee,_0x457717);const _0x1e8d38=this['resolveInstance'](_0x5386f5,_0x18ccee,_0x457717);if(!_0x1e8d38){logger['debug'](_0x13d799['KUpNp']);return;}try{let _0x390bcc,_0x1f1af5;switch(_0x5386f5){case TestFrameworkState[_0x36ce3d(0x1a3)]:_0x390bcc=_0x457717[_0x36ce3d(0x1c5)],_0x1f1af5=TestInfo['getTestUUID'](_0x390bcc['id']);if(_0x13d799[_0x36ce3d(0x1d3)](_0x18ccee,HookState[_0x36ce3d(0x1ec)])){logger['debug'](_0x36ce3d(0x1f9)+_0x390bcc['id']);const _0x3b2bbc={};_0x3b2bbc[_0x36ce3d(0x1e3)]=_0x1f1af5,_0x3b2bbc[_0x36ce3d(0x206)]=_0x390bcc,_0x1e8d38[_0x36ce3d(0x21c)](this[_0x36ce3d(0x1dd)](_0x3b2bbc)),logger[_0x36ce3d(0x200)](_0x36ce3d(0x1a2)+_0x390bcc['id']),await this[_0x36ce3d(0x262)](_0x1e8d38,_0x390bcc['id']);}else{if(_0x13d799['geMuX'](_0x18ccee,HookState[_0x36ce3d(0x213)])){const _0x2f6942={};_0x2f6942[_0x36ce3d(0x1e3)]=_0x1f1af5,_0x2f6942[_0x36ce3d(0x206)]=_0x390bcc,_0x1e8d38['addMultipleEntries'](this[_0x36ce3d(0x238)](_0x2f6942)),await this['processPendingHooks'](_0x1e8d38,_0x390bcc['id']);}}break;case TestFrameworkState[_0x36ce3d(0x222)]:_0x13d799[_0x36ce3d(0x1bf)](_0x18ccee,HookState['POST'])&&await this[_0x36ce3d(0x1e4)](_0x1e8d38,_0x5386f5,_0x457717);break;default:if(CLIUtils[_0x36ce3d(0x234)](_0x5386f5[_0x36ce3d(0x1ab)]()[_0x36ce3d(0x1bb)]('.')[0x1])){const _0x5cf52f=await this[_0x36ce3d(0x1aa)](_0x1e8d38,_0x5386f5,_0x18ccee,_0x457717);_0x1e8d38[_0x36ce3d(0x21c)](_0x5cf52f);}else logger[_0x36ce3d(0x200)]('trackEvent:\x20unsupported\x20testFrameworkState='+_0x5386f5+_0x36ce3d(0x1f4)+_0x18ccee);break;}}catch(_0x1290cd){logger[_0x36ce3d(0x19d)](util[_0x36ce3d(0x1ef)](_0x13d799[_0x36ce3d(0x210)],_0x5386f5,_0x18ccee,_0x457717[_0x36ce3d(0x250)],_0x1290cd));}_0x457717[_0x36ce3d(0x1cd)]=_0x1e8d38,await this[_0x36ce3d(0x25e)](_0x1e8d38,_0x5386f5,_0x18ccee,_0x457717);}[a70_0x9eb2bc(0x1f3)](_0x439cfb,_0x179bb7,_0x33d25a={}){const _0x249965=a70_0x9eb2bc,_0x5cafb6={};_0x5cafb6[_0x249965(0x1a5)]=function(_0x438175,_0x5f4e91){return _0x438175===_0x5f4e91;};const _0x39a62c=_0x5cafb6;let _0x4dce53=null;return(_0x39a62c[_0x249965(0x1a5)](_0x439cfb,TestFrameworkState[_0x249965(0x1a0)])||_0x39a62c[_0x249965(0x1a5)](_0x439cfb,TestFrameworkState['NONE']))&&this[_0x249965(0x233)](_0x439cfb,_0x33d25a),_0x4dce53=TestFramework[_0x249965(0x263)](),_0x4dce53;}[a70_0x9eb2bc(0x233)](_0xe73f21,_0x4f820a){const _0x1ddd19=a70_0x9eb2bc,_0x1d6a92=CLIUtils[_0x1ddd19(0x20d)](),_0x461254=TrackedInstance['createContext'](_0x1d6a92);let _0x5839c4=null;logger[_0x1ddd19(0x200)](_0x1ddd19(0x1be)+_0x1d6a92+_0x1ddd19(0x265)+_0xe73f21),_0x5839c4=new TestFrameworkInstance(_0x461254,this['getTestFrameworks'](),this[_0x1ddd19(0x1ac)](),_0xe73f21,HookState['NONE']),TestFramework[_0x1ddd19(0x204)](_0x461254,_0x5839c4),logger['debug']('trackCucumberInstance:\x20saved\x20instance\x20contextId='+_0x461254['getId']()+'\x20target='+_0x1d6a92);}[a70_0x9eb2bc(0x1dd)](_0x4fcc2e){const _0x41bfcd=a70_0x9eb2bc,_0x4a9665={};_0x4a9665[_0x41bfcd(0x249)]=_0x41bfcd(0x1bc);const _0x5950ab=_0x4a9665,{testUUID:_0x91485d,testData:_0x4b8e58}=_0x4fcc2e;if(!_0x4b8e58||!_0x4b8e58[_0x41bfcd(0x1e9)])return logger[_0x41bfcd(0x200)](_0x5950ab['AJRMu']),{};const _0x26cbf=_0x91485d,_0x49b681=_0x4b8e58[_0x41bfcd(0x1e9)],_0x47b730=this['getTestFrameworks']()[0x0],_0xba85a6=this[_0x41bfcd(0x1ac)](),_0x152137={[TestFrameworkConstants[_0x41bfcd(0x24a)]]:_0x47b730,[TestFrameworkConstants[_0x41bfcd(0x240)]]:_0xba85a6[_0x47b730],[TestFrameworkConstants[_0x41bfcd(0x214)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0x41bfcd(0x231)]]:{},[TestFrameworkConstants[_0x41bfcd(0x266)]]:_0x26cbf,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x41bfcd(0x19e)],[TestFrameworkConstants[_0x41bfcd(0x223)]]:_0x4b8e58[_0x41bfcd(0x1a7)]||'',[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x4b8e58[_0x41bfcd(0x23f)]||'',[TestFrameworkConstants[_0x41bfcd(0x23e)]]:_0x49b681,[TestFrameworkConstants[_0x41bfcd(0x254)]]:_0x4b8e58[_0x41bfcd(0x1a7)]||'',[TestFrameworkConstants[_0x41bfcd(0x1cc)]]:_0x4b8e58['location']||'',[TestFrameworkConstants[_0x41bfcd(0x25c)]]:_0x4b8e58['body']?.[_0x41bfcd(0x1cf)]||null,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x4b8e58[_0x41bfcd(0x1de)]||[],[TestFrameworkConstants[_0x41bfcd(0x25f)]]:_0x4b8e58['startedAt']||new Date()['toISOString'](),[TestFrameworkConstants[_0x41bfcd(0x227)]]:_0x4b8e58[_0x41bfcd(0x242)]?.[0x0]||'',[TestFrameworkConstants[_0x41bfcd(0x1a6)]]:_0x4b8e58['scopes']||[],[TestFrameworkConstants[_0x41bfcd(0x1fb)]]:_0x4b8e58['customRerunParam']?.[_0x41bfcd(0x25d)]||_0x4b8e58[_0x41bfcd(0x1a7)]||'',[TestFrameworkConstants[_0x41bfcd(0x1d0)]]:{},[TestFrameworkConstants[_0x41bfcd(0x1f5)]]:_0x4b8e58['meta']||{}};TestInfo[_0x41bfcd(0x25b)](_0x49b681,_0x152137),logger[_0x41bfcd(0x200)]('Parsed\x20cucumber\x20test:\x20'+_0x4b8e58[_0x41bfcd(0x1a7)]+'\x20with\x20UUID:\x20'+_0x26cbf);const _0x10a536={};return _0x10a536[_0x49b681]=_0x152137,_0x10a536;}[a70_0x9eb2bc(0x238)](_0x14e403){const _0x2c243c=a70_0x9eb2bc,_0x497141={'lFNaZ':_0x2c243c(0x1f8),'PiKGF':'unknown','PuXeO':function(_0x10796d,_0x3d8150){return _0x10796d===_0x3d8150;},'bTLiT':_0x2c243c(0x212),'uRReP':'UnhandledError','PudLy':function(_0x59c9d7,_0x2578ae,_0x158d72){return _0x59c9d7(_0x2578ae,_0x158d72);},'KwGyN':function(_0x558bde,_0x1691b4){return _0x558bde>_0x1691b4;}},{testUUID:_0x3e89c8,testData:_0x343440}=_0x14e403;if(!_0x343440||!_0x343440[_0x2c243c(0x1e9)])return logger[_0x2c243c(0x200)](_0x497141[_0x2c243c(0x1fa)]),{};const _0x3789ff=this[_0x2c243c(0x1f3)](TestFrameworkState[_0x2c243c(0x1a3)],HookState[_0x2c243c(0x213)]),_0x247ad0=_0x343440[_0x2c243c(0x1e9)],_0x57959b=TestInfo['getTestDetails'](_0x247ad0)||{},_0x40c1d8=_0x57959b?_0x57959b[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{},_0x2ef76b={..._0x57959b,[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x343440[_0x2c243c(0x1c2)]||_0x497141[_0x2c243c(0x25a)],[TestFrameworkConstants[_0x2c243c(0x1b8)]]:_0x343440['finishedAt']||new Date()[_0x2c243c(0x1d1)](),[TestFrameworkConstants[_0x2c243c(0x1b4)]]:new Date()[_0x2c243c(0x1d1)](),[TestFrameworkConstants[_0x2c243c(0x1d0)]]:_0x40c1d8,[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants['KEY_TEST_META']]:_0x343440[_0x2c243c(0x255)]||{}};_0x497141[_0x2c243c(0x228)](_0x343440[_0x2c243c(0x1c2)],_0x497141['bTLiT'])&&_0x343440['failure']&&(_0x2ef76b[TestFrameworkConstants[_0x2c243c(0x239)]]=_0x343440[_0x2c243c(0x218)]||_0x497141[_0x2c243c(0x22e)],_0x2ef76b[TestFrameworkConstants[_0x2c243c(0x230)]]=_0x343440[_0x2c243c(0x22b)]||'',_0x2ef76b[TestFrameworkConstants[_0x2c243c(0x1c8)]]=_0x343440[_0x2c243c(0x23b)]);const _0x6c43db=TestInfo[_0x2c243c(0x24c)](_0x247ad0)[TestFrameworkConstants[_0x2c243c(0x216)]]||{},_0x211a3c=_0x497141[_0x2c243c(0x1c6)](getManualUploadLogs,_0x6c43db,_0x3789ff['getAllData']()['get'](_0x247ad0)[TestFrameworkConstants[_0x2c243c(0x266)]]);if(_0x497141['KwGyN'](_0x211a3c[_0x2c243c(0x250)],0x0)){const _0x55280a=_0x2ef76b[TestFrameworkConstants[_0x2c243c(0x1da)]]||[];_0x2ef76b[TestFrameworkConstants[_0x2c243c(0x1da)]]=[..._0x55280a,..._0x211a3c];}_0x343440[_0x2c243c(0x1ff)]&&_0x497141['KwGyN'](_0x343440[_0x2c243c(0x1ff)][_0x2c243c(0x250)],0x0)&&(_0x2ef76b[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x343440['hooks']);TestInfo[_0x2c243c(0x25b)](_0x247ad0,_0x2ef76b),logger[_0x2c243c(0x200)](_0x2c243c(0x215)+_0x343440[_0x2c243c(0x1a7)]+'\x20with\x20result:\x20'+_0x343440[_0x2c243c(0x1c2)]);const _0xbb43bc={};return _0xbb43bc[_0x247ad0]=_0x2ef76b,_0xbb43bc;}async[a70_0x9eb2bc(0x1aa)](_0x969e4c,_0x49f646,_0x4b0498,_0x5e8f81){const _0x4e3402=a70_0x9eb2bc,_0x4b8c19={'udhMY':'No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','VSTZN':function(_0x2a83ed){return _0x2a83ed();},'CtJXg':function(_0x3ef5b4,_0x59183f){return _0x3ef5b4 in _0x59183f;},'KlnUx':function(_0xaa338c,_0x4191df){return _0xaa338c in _0x4191df;},'WmVJk':function(_0x5286f4,_0x430a14){return _0x5286f4===_0x430a14;},'umGNl':function(_0x2fe71f,_0x92a8e5){return _0x2fe71f===_0x92a8e5;},'ScjmC':function(_0x227b8f,_0x29441d){return _0x227b8f>_0x29441d;},'LxWvC':function(_0x2bbea6,_0x2bf463){return _0x2bbea6===_0x2bf463;},'uLOGV':'failed','NgoKw':_0x4e3402(0x20b),'VTiSE':_0x4e3402(0x1a4),'ZtQfW':function(_0x38579d,_0x1fe455){return _0x38579d!==_0x1fe455;}},{hookData:_0x3f3a11}=_0x5e8f81;if(!_0x3f3a11)return logger[_0x4e3402(0x200)](_0x4b8c19[_0x4e3402(0x224)]),{};const _0xc6a94d=_0x3f3a11[_0x4e3402(0x1e9)]||_0x4b8c19[_0x4e3402(0x235)](uuidv4),_0x243122=_0x3f3a11['test_run_id'],_0x1b5760=_0x49f646[_0x4e3402(0x1ab)]()[_0x4e3402(0x1bb)]('.')[0x1],_0x16d206=TestInfo['getTestDetails'](_0x243122)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{},_0x1df85a=_0x969e4c[_0x4e3402(0x220)]()[_0x4e3402(0x1d5)](_0x243122);if(!_0x1df85a)return logger[_0x4e3402(0x200)](_0x4e3402(0x241)+_0x243122+_0x4e3402(0x1d2)),this['storePendingHook'](_0x969e4c,_0x243122,_0x49f646,_0x4b0498,_0x5e8f81),{};let _0x5a32dd=_0x1df85a[TestFrameworkConstants[_0x4e3402(0x231)]];!_0x5a32dd&&(_0x5a32dd={});!_0x4b8c19[_0x4e3402(0x23c)](_0x1b5760,_0x5a32dd)&&(_0x5a32dd[_0x1b5760]=[]);let _0x4d4b35=_0x1df85a[TestFrameworkConstants[_0x4e3402(0x1db)]];!_0x4d4b35&&(_0x4d4b35={});!_0x4b8c19[_0x4e3402(0x1f2)](_0x1b5760,_0x4d4b35)&&(_0x4d4b35[_0x1b5760]=[]);const _0x235d3e={[TestFrameworkConstants[_0x4e3402(0x231)]]:_0x5a32dd,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x4d4b35},_0x75adb7={};_0x75adb7[_0x243122]=_0x235d3e;const _0x5b518d=_0x75adb7;if(_0x4b8c19[_0x4e3402(0x1e1)](_0x4b0498,HookState['PRE'])){const _0x49ee24={[TestFrameworkConstants['KEY_HOOK_ID']]:_0xc6a94d,[TestFrameworkConstants[_0x4e3402(0x1f1)]]:TestFrameworkConstants[_0x4e3402(0x1fd)],[TestFrameworkConstants[_0x4e3402(0x1f6)]]:_0x3f3a11['started_at'],[TestFrameworkConstants[_0x4e3402(0x1d7)]]:[],[TestFrameworkConstants[_0x4e3402(0x260)]]:_0x3f3a11[_0x4e3402(0x23d)],[TestFrameworkConstants[_0x4e3402(0x1d0)]]:_0x16d206};_0x49ee24['key']=_0x1b5760;const _0x4d046e=_0x49ee24;_0x5a32dd[_0x1b5760][_0x4e3402(0x24f)](_0x4d046e),_0x5b518d[_0x243122][TestFrameworkConstants[_0x4e3402(0x1b9)]]=_0x1b5760,logger[_0x4e3402(0x200)](_0x4e3402(0x22f)+_0x1b5760+_0x4e3402(0x209)+_0x4d046e+_0x4e3402(0x21d)+_0x5e8f81);}else{if(_0x4b8c19[_0x4e3402(0x19c)](_0x4b0498,HookState[_0x4e3402(0x213)])){const _0x1209ee=_0x3f3a11[_0x4e3402(0x1c2)],_0x10aeb3=_0x5a32dd[_0x1b5760]||[];logger[_0x4e3402(0x200)](_0x4e3402(0x1ca)+_0x10aeb3+_0x4e3402(0x1e5)+_0x5e8f81);if(_0x4b8c19['ScjmC'](_0x10aeb3['length'],0x0)){const _0x57eb83=_0x10aeb3[_0x4e3402(0x1ad)]();_0x4b8c19[_0x4e3402(0x22c)](_0x3f3a11[_0x4e3402(0x1c2)],_0x4b8c19['uLOGV'])&&_0x3f3a11[_0x4e3402(0x1d4)]?(_0x57eb83[TestFrameworkConstants[_0x4e3402(0x1e7)]]=_0x3f3a11[_0x4e3402(0x218)]||_0x4b8c19['NgoKw'],_0x57eb83[TestFrameworkConstants[_0x4e3402(0x1b7)]]=_0x3f3a11[_0x4e3402(0x22b)]||'',_0x57eb83[TestFrameworkConstants[_0x4e3402(0x20a)]]=_0x3f3a11[_0x4e3402(0x1d4)]):_0x57eb83[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x4b8c19[_0x4e3402(0x261)];_0x4b8c19['ZtQfW'](_0x1209ee,TestFrameworkConstants[_0x4e3402(0x1fd)])&&(_0x57eb83[TestFrameworkConstants[_0x4e3402(0x1f1)]]=_0x1209ee);_0x57eb83[TestFrameworkConstants[_0x4e3402(0x1b3)]]=_0x3f3a11[_0x4e3402(0x264)]||new Date()['toISOString'](),_0x57eb83[TestFrameworkConstants[_0x4e3402(0x1d0)]]=_0x16d206;const _0x5db5eb=_0x57eb83[TestFrameworkConstants[_0x4e3402(0x1c1)]];!_0x4d4b35[_0x1b5760]&&(_0x4d4b35[_0x1b5760]=[]),_0x4d4b35[_0x1b5760][_0x4e3402(0x24f)](_0x57eb83),_0x5b518d[_0x243122][TestFrameworkConstants[_0x4e3402(0x1e6)]]=_0x1b5760;}}}return logger['debug'](_0x4e3402(0x1c3)+_0x3f3a11[_0x4e3402(0x23d)]+_0x4e3402(0x207)+_0xc6a94d+_0x4e3402(0x1ce)+_0x243122),_0x5b518d;}[a70_0x9eb2bc(0x1c7)](_0x4a76ba){const _0x4e1cf7=a70_0x9eb2bc,_0x3578be={};_0x3578be[_0x4e1cf7(0x208)]=_0x4e1cf7(0x1a8);const _0x1fed17=_0x3578be;try{const _0x50dc81=_0x4a76ba[_0x4e1cf7(0x1c5)]?_0x4a76ba[_0x4e1cf7(0x1c5)]['id']:_0x4a76ba[_0x4e1cf7(0x203)][_0x4e1cf7(0x1ae)],_0x359a17=_0x4a76ba['instance'],_0x37d8b3=_0x359a17['getContext'](),_0x3eeb0f=_0x359a17[_0x4e1cf7(0x220)]()[_0x4e1cf7(0x1d5)](_0x50dc81);if(!_0x3eeb0f)return logger[_0x4e1cf7(0x200)]('createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x50dc81),{};logger['debug'](_0x4e1cf7(0x251)+_0x50dc81);const {[TestFrameworkConstants[_0x4e1cf7(0x24a)]]:_0x49900e='',[TestFrameworkConstants[_0x4e1cf7(0x240)]]:_0x4aaa0f='',[TestFrameworkConstants[_0x4e1cf7(0x25f)]]:_0x47c6dc='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x34c257=''}=_0x3eeb0f,_0x4f1050=_0x359a17[_0x4e1cf7(0x21e)]()[_0x4e1cf7(0x1ab)]()[_0x4e1cf7(0x1bb)]('.')[0x1],_0x9b8944=_0x359a17['getCurrentHookState']()['toString']()['split']('.')[0x1],_0x9dfcf=global?.['__workerDetails']?.[_0x4e1cf7(0x1e0)]?.[_0x4e1cf7(0x19b)],_0xc76b3d=_0x359a17['getRef'](),_0x2b86cc=Buffer[_0x4e1cf7(0x20c)](JSON[_0x4e1cf7(0x244)](_0x3eeb0f))['toString'](_0x1fed17[_0x4e1cf7(0x208)]),_0x35d81a={'hash':_0x37d8b3[_0x4e1cf7(0x22a)](),'threadId':_0x37d8b3[_0x4e1cf7(0x1dc)]()['toString'](),'processId':_0x37d8b3[_0x4e1cf7(0x202)]()['toString']()},_0x5400e9={};_0x5400e9['platformIndex']=_0x9dfcf,_0x5400e9['testFrameworkName']=_0x49900e,_0x5400e9[_0x4e1cf7(0x1b5)]=_0x4aaa0f,_0x5400e9[_0x4e1cf7(0x1a1)]=_0x4f1050,_0x5400e9[_0x4e1cf7(0x1af)]=_0x9b8944,_0x5400e9[_0x4e1cf7(0x1a9)]=_0x47c6dc,_0x5400e9[_0x4e1cf7(0x1cb)]=_0x34c257,_0x5400e9[_0x4e1cf7(0x1e9)]=_0xc76b3d,_0x5400e9[_0x4e1cf7(0x245)]=_0x2b86cc,_0x5400e9[_0x4e1cf7(0x211)]=_0x35d81a;const _0x3254bc=_0x5400e9;return logger[_0x4e1cf7(0x200)]('createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20'+_0x50dc81+_0x4e1cf7(0x248)+_0x4f1050+_0x4e1cf7(0x219)+_0x9b8944),_0x3254bc;}catch(_0x3e59f8){return logger[_0x4e1cf7(0x19d)](_0x4e1cf7(0x221)+util['format'](_0x3e59f8)),{};}}async['sendLogCreatedEvent'](_0x416326,_0x2f8047,_0x1e6c6e){const _0x44f139=a70_0x9eb2bc,_0x1d1eb7={'AMJbU':function(_0x566717,_0x28ce13,_0x57b72b){return _0x566717(_0x28ce13,_0x57b72b);},'WwTHf':function(_0x18716c,_0x1a4075){return _0x18716c===_0x1a4075;},'KuUTD':'sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','TbZol':function(_0x3c1f90,_0x4a7b3f){return _0x3c1f90/_0x4a7b3f;},'Xbbgy':function(_0x41e877,_0x17d560){return _0x41e877<_0x17d560;},'oiBTW':function(_0x328ba4,_0x1362b6){return _0x328ba4*_0x1362b6;},'LBNKC':function(_0x14e63d,_0x4e9b06){return _0x14e63d+_0x4e9b06;},'otAmB':function(_0xfe294c,_0x173b22){return _0xfe294c+_0x173b22;},'NCwXW':function(_0x564f6d,_0xbe4c83){return _0x564f6d+_0xbe4c83;},'GvMVq':'Cucumber\x20log\x20created\x20event'};try{const _0x1b7808=_0x1e6c6e[_0x44f139(0x1e3)],_0x29b23f=_0x416326[_0x44f139(0x220)]()['get'](_0x1b7808),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x35a9d5='',[TestFrameworkConstants[_0x44f139(0x240)]]:_0xb27f54=''}=_0x29b23f,_0x9bcd70=TestInfo['readLogObjects'](_0x1b7808),_0x168111=TestInfo[_0x44f139(0x24c)](_0x1b7808)[TestFrameworkConstants[_0x44f139(0x216)]]||{},_0x11c098=_0x1d1eb7[_0x44f139(0x258)](getMediaArtifactsLogs,_0x168111,_0x416326['getAllData']()[_0x44f139(0x1d5)](_0x1b7808)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x4d3016=(_0x9bcd70||[])[_0x44f139(0x1bd)](_0x11c098||[]);if(!_0x4d3016||_0x1d1eb7[_0x44f139(0x1ed)](_0x4d3016[_0x44f139(0x250)],0x0)){logger['debug'](_0x1d1eb7[_0x44f139(0x246)]);return;}const _0x2cc329=0x28,_0x116724=Math[_0x44f139(0x257)](_0x1d1eb7[_0x44f139(0x252)](_0x4d3016['length'],_0x2cc329));for(let _0xd5132e=0x0;_0x1d1eb7[_0x44f139(0x1df)](_0xd5132e,_0x116724);_0xd5132e++){const _0x40fd69=_0x1d1eb7['oiBTW'](_0xd5132e,_0x2cc329),_0x3c8786=_0x1d1eb7[_0x44f139(0x253)](_0x40fd69,_0x2cc329),_0x22a033=_0x4d3016[_0x44f139(0x19f)](_0x40fd69,_0x3c8786),_0x32b231={'platformIndex':'0','logs':_0x22a033,'testFrameworkName':_0x35a9d5,'testFrameworkVersion':_0xb27f54,'testFrameworkState':_0x2f8047[_0x44f139(0x1ab)]()[_0x44f139(0x1bb)]('.')[0x1]};logger[_0x44f139(0x200)](_0x44f139(0x1c9)+_0x1b7808+'\x20batch\x20'+_0x1d1eb7[_0x44f139(0x1b2)](_0xd5132e,0x1)+'/'+_0x116724+_0x44f139(0x229)+util[_0x44f139(0x21f)](_0x32b231));const _0x5472b5=await GrpcClient[_0x44f139(0x1ee)]()[_0x44f139(0x1b1)](_0x32b231);logger['debug']('sendLogCreatedEvent:\x20for\x20testId:\x20'+_0x1b7808+_0x44f139(0x24b)+_0x1d1eb7['NCwXW'](_0xd5132e,0x1)+'/'+_0x116724+'\x20response='+util[_0x44f139(0x21f)](_0x5472b5));}}catch(_0x3b4b31){logger[_0x44f139(0x19d)](_0x44f139(0x225)+util['format'](_0x3b4b31));}logger[_0x44f139(0x200)](_0x1d1eb7['GvMVq']);}[a70_0x9eb2bc(0x1f7)](_0x58af30,_0xb30e40,_0x33bcb1,_0x441966,_0x5a127b){const _0x5c4bda=a70_0x9eb2bc,_0x9785f7={'testId':_0xb30e40,'testFrameworkState':_0x33bcb1,'hookState':_0x441966,'args':_0x5a127b,'timestamp':new Date()[_0x5c4bda(0x1d1)]()};_0x58af30[_0x5c4bda(0x1fc)](_0xb30e40,_0x9785f7),logger[_0x5c4bda(0x200)]('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0xb30e40+',\x20state:\x20'+_0x33bcb1+',\x20hookState:\x20'+_0x441966);}async[a70_0x9eb2bc(0x262)](_0x21a137,_0x147284){const _0xa98d86=a70_0x9eb2bc,_0x123769={};_0x123769[_0xa98d86(0x217)]=function(_0x400f2e,_0x11affa){return _0x400f2e>_0x11affa;};const _0x4989da=_0x123769;if(!_0x21a137['hasPendingHooks'](_0x147284))return;const _0x4b36b0=_0x21a137[_0xa98d86(0x24d)](_0x147284);logger['debug']('Processing\x20'+_0x4b36b0[_0xa98d86(0x250)]+_0xa98d86(0x1ea)+_0x147284);for(const _0x1ada94 of _0x4b36b0){try{const _0x1bb830=await this['trackHookEvent'](_0x21a137,_0x1ada94[_0xa98d86(0x1a1)],_0x1ada94[_0xa98d86(0x1af)],_0x1ada94[_0xa98d86(0x201)]);_0x1bb830&&_0x4989da[_0xa98d86(0x217)](Object[_0xa98d86(0x23a)](_0x1bb830)[_0xa98d86(0x250)],0x0)&&_0x21a137[_0xa98d86(0x21c)](_0x1bb830),await this['runHooks'](_0x21a137,_0x1ada94[_0xa98d86(0x1a1)],_0x1ada94[_0xa98d86(0x1af)],_0x1ada94[_0xa98d86(0x201)]);}catch(_0x42648e){logger[_0xa98d86(0x19d)](_0xa98d86(0x226)+_0x147284+_0xa98d86(0x21a)+_0x42648e);}}_0x21a137[_0xa98d86(0x24e)](_0x147284),logger[_0xa98d86(0x200)](_0xa98d86(0x1fe)+_0x147284);}}module[a70_0x9eb2bc(0x243)]=CucumberTestFramework;
|