browserstack-node-sdk 1.50.2 → 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
|
-
|
|
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
|
-
const
|
|
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
|
-
function
|
|
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_0x33e8ae=a70_0x1b75;(function(_0x4d52d2,_0x2b8939){const _0x11c047=a70_0x1b75,_0x1f5395=_0x4d52d2();while(!![]){try{const _0x37f690=-parseInt(_0x11c047(0xa1))/0x1+parseInt(_0x11c047(0x93))/0x2*(-parseInt(_0x11c047(0xbe))/0x3)+parseInt(_0x11c047(0xf1))/0x4*(-parseInt(_0x11c047(0xa4))/0x5)+-parseInt(_0x11c047(0xd0))/0x6+parseInt(_0x11c047(0x8c))/0x7*(parseInt(_0x11c047(0x150))/0x8)+parseInt(_0x11c047(0x10b))/0x9*(parseInt(_0x11c047(0x147))/0xa)+parseInt(_0x11c047(0x102))/0xb;if(_0x37f690===_0x2b8939)break;else _0x1f5395['push'](_0x1f5395['shift']());}catch(_0x56767b){_0x1f5395['push'](_0x1f5395['shift']());}}}(a70_0x2697,0xb88fe));const TestFramework=require('./testFramework'),TestFrameworkState=require(a70_0x33e8ae(0xe8)),HookState=require('../state/hookState.js'),{createClassLogger}=require(a70_0x33e8ae(0x81)),TestFrameworkInstance=require(a70_0x33e8ae(0x80)),CLIUtils=require(a70_0x33e8ae(0xa9)),TrackedInstance=require(a70_0x33e8ae(0xb0)),TestFrameworkConstants=require(a70_0x33e8ae(0x9c)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a70_0x33e8ae(0xf7)),logger=createClassLogger(a70_0x33e8ae(0xe0)),{v4:uuidv4}=require(a70_0x33e8ae(0xbd)),util=require('util'),TestInfo=require(a70_0x33e8ae(0x89)),GrpcClient=require(a70_0x33e8ae(0xc0));class CucumberTestFramework extends TestFramework{constructor(_0x31b77e,_0x57f2b4,_0x49b966){super(_0x31b77e,_0x57f2b4,_0x49b966);}async[a70_0x33e8ae(0x9e)](_0x25a718,_0x333079,_0x5f4ebb={}){const _0x408d8c=a70_0x33e8ae,_0x56ca5d={};_0x56ca5d[_0x408d8c(0x82)]='trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found',_0x56ca5d[_0x408d8c(0x98)]=function(_0x171984,_0x691eab){return _0x171984===_0x691eab;},_0x56ca5d[_0x408d8c(0x103)]=_0x408d8c(0xce);const _0x32e4ab=_0x56ca5d;await super[_0x408d8c(0x9e)](_0x25a718,_0x333079,_0x5f4ebb);const _0x5d10d0=this[_0x408d8c(0x13a)](_0x25a718,_0x333079,_0x5f4ebb);if(!_0x5d10d0){logger['debug'](_0x32e4ab[_0x408d8c(0x82)]);return;}try{let _0x1de961,_0x582eae;switch(_0x25a718){case TestFrameworkState[_0x408d8c(0xf0)]:_0x1de961=_0x5f4ebb['test'],_0x582eae=TestInfo[_0x408d8c(0xc8)](_0x1de961['id']);if(_0x32e4ab[_0x408d8c(0x98)](_0x333079,HookState[_0x408d8c(0x13c)])){logger['debug'](_0x408d8c(0x149)+_0x1de961['id']);const _0x1e623d={};_0x1e623d[_0x408d8c(0xc2)]=_0x582eae,_0x1e623d[_0x408d8c(0x12e)]=_0x1de961,_0x5d10d0[_0x408d8c(0xc4)](this[_0x408d8c(0x11b)](_0x1e623d)),logger[_0x408d8c(0x124)](_0x408d8c(0xd1)+_0x1de961['id']),await this[_0x408d8c(0x14c)](_0x5d10d0,_0x1de961['id']);}else{if(_0x32e4ab[_0x408d8c(0x98)](_0x333079,HookState['POST'])){const _0x237349={};_0x237349[_0x408d8c(0xc2)]=_0x582eae,_0x237349[_0x408d8c(0x12e)]=_0x1de961,_0x5d10d0[_0x408d8c(0xc4)](this[_0x408d8c(0xb5)](_0x237349)),await this['processPendingHooks'](_0x5d10d0,_0x1de961['id']);}}break;case TestFrameworkState[_0x408d8c(0x141)]:_0x32e4ab[_0x408d8c(0x98)](_0x333079,HookState[_0x408d8c(0x99)])&&await this['sendLogCreatedEvent'](_0x5d10d0,_0x25a718,_0x5f4ebb);break;default:if(CLIUtils['matchHookRegex'](_0x25a718[_0x408d8c(0x151)]()[_0x408d8c(0x84)]('.')[0x1])){const _0x2a143c=await this[_0x408d8c(0x12d)](_0x5d10d0,_0x25a718,_0x333079,_0x5f4ebb);_0x5d10d0[_0x408d8c(0xc4)](_0x2a143c);}else logger[_0x408d8c(0x124)](_0x408d8c(0x119)+_0x25a718+_0x408d8c(0x9a)+_0x333079);break;}}catch(_0x303e7c){logger[_0x408d8c(0x139)](util['format'](_0x32e4ab[_0x408d8c(0x103)],_0x25a718,_0x333079,_0x5f4ebb['length'],_0x303e7c));}_0x5f4ebb['instance']=_0x5d10d0,await this[_0x408d8c(0xea)](_0x5d10d0,_0x25a718,_0x333079,_0x5f4ebb);}[a70_0x33e8ae(0x13a)](_0x12e2d8,_0x57b6b5,_0x56cd95={}){const _0x1b9f70=a70_0x33e8ae,_0x55f014={};_0x55f014['LvUHl']=function(_0x1e8847,_0x6bc0b3){return _0x1e8847===_0x6bc0b3;},_0x55f014['aWxqa']=function(_0x4d0321,_0x5c2535){return _0x4d0321===_0x5c2535;};const _0x1a73af=_0x55f014;let _0xb58558=null;return(_0x1a73af[_0x1b9f70(0x14f)](_0x12e2d8,TestFrameworkState[_0x1b9f70(0xde)])||_0x1a73af[_0x1b9f70(0xf3)](_0x12e2d8,TestFrameworkState[_0x1b9f70(0x109)]))&&this[_0x1b9f70(0xd5)](_0x12e2d8,_0x56cd95),_0xb58558=TestFramework[_0x1b9f70(0x9f)](),_0xb58558;}[a70_0x33e8ae(0xd5)](_0x48244e,_0x189623){const _0x1d3f7f=a70_0x33e8ae,_0x3904fe=CLIUtils['getCurrentInstanceName'](),_0x58f72c=TrackedInstance['createContext'](_0x3904fe);let _0x42f30a=null;logger[_0x1d3f7f(0x124)]('trackCucumberInstance:\x20created\x20instance\x20for\x20target='+_0x3904fe+_0x1d3f7f(0x129)+_0x48244e),_0x42f30a=new TestFrameworkInstance(_0x58f72c,this[_0x1d3f7f(0x121)](),this['getTestFrameworksVersions'](),_0x48244e,HookState['NONE']),TestFramework[_0x1d3f7f(0xb8)](_0x58f72c,_0x42f30a),logger['debug'](_0x1d3f7f(0x14b)+_0x58f72c[_0x1d3f7f(0x132)]()+_0x1d3f7f(0x90)+_0x3904fe);}[a70_0x33e8ae(0x11b)](_0x318000){const _0x2ccc94=a70_0x33e8ae,_0x48d489={};_0x48d489['nhKdL']=_0x2ccc94(0x138);const _0xcef6d=_0x48d489,{testUUID:_0x55ffbd,testData:_0x85c219}=_0x318000;if(!_0x85c219||!_0x85c219['uuid'])return logger[_0x2ccc94(0x124)](_0xcef6d[_0x2ccc94(0xeb)]),{};const _0x20e2b1=_0x55ffbd,_0x4eef19=_0x85c219[_0x2ccc94(0xbd)],_0x188e58=this['getTestFrameworks']()[0x0],_0x27b7e5=this['getTestFrameworksVersions'](),_0x101562={[TestFrameworkConstants[_0x2ccc94(0xa8)]]:_0x188e58,[TestFrameworkConstants[_0x2ccc94(0xd7)]]:_0x27b7e5[_0x188e58],[TestFrameworkConstants[_0x2ccc94(0xa7)]]:[],[TestFrameworkConstants[_0x2ccc94(0x8b)]]:{},[TestFrameworkConstants[_0x2ccc94(0x122)]]:{},[TestFrameworkConstants[_0x2ccc94(0xec)]]:_0x20e2b1,[TestFrameworkConstants[_0x2ccc94(0xfe)]]:TestFrameworkConstants[_0x2ccc94(0x12f)],[TestFrameworkConstants[_0x2ccc94(0x134)]]:_0x85c219['name']||'',[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x85c219[_0x2ccc94(0xb1)]||'',[TestFrameworkConstants[_0x2ccc94(0x13f)]]:_0x4eef19,[TestFrameworkConstants[_0x2ccc94(0x106)]]:_0x85c219[_0x2ccc94(0xed)]||'',[TestFrameworkConstants[_0x2ccc94(0xd3)]]:_0x85c219[_0x2ccc94(0x131)]||'',[TestFrameworkConstants[_0x2ccc94(0x10d)]]:_0x85c219[_0x2ccc94(0xff)]?.[_0x2ccc94(0x7e)]||null,[TestFrameworkConstants[_0x2ccc94(0xf8)]]:_0x85c219[_0x2ccc94(0x13b)]||[],[TestFrameworkConstants[_0x2ccc94(0xf5)]]:_0x85c219[_0x2ccc94(0x111)]||new Date()['toISOString'](),[TestFrameworkConstants[_0x2ccc94(0xdc)]]:_0x85c219[_0x2ccc94(0x11f)]?.[0x0]||'',[TestFrameworkConstants[_0x2ccc94(0xcc)]]:_0x85c219[_0x2ccc94(0x11f)]||[],[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0x85c219['customRerunParam']?.[_0x2ccc94(0xd8)]||_0x85c219[_0x2ccc94(0xed)]||'',[TestFrameworkConstants[_0x2ccc94(0x7f)]]:{},[TestFrameworkConstants[_0x2ccc94(0x126)]]:_0x85c219[_0x2ccc94(0xe2)]||{}};TestInfo[_0x2ccc94(0x107)](_0x4eef19,_0x101562),logger['debug'](_0x2ccc94(0x144)+_0x85c219[_0x2ccc94(0xed)]+_0x2ccc94(0xa3)+_0x20e2b1);const _0x11f31d={};return _0x11f31d[_0x4eef19]=_0x101562,_0x11f31d;}[a70_0x33e8ae(0xb5)](_0x68a7b3){const _0x32e341=a70_0x33e8ae,_0x1c6dd6={'LNWxK':_0x32e341(0x87),'ONSfS':_0x32e341(0xaa),'vBgAA':function(_0x3346eb,_0x4f3e0a){return _0x3346eb===_0x4f3e0a;},'oXRco':_0x32e341(0x125),'BGJkM':'UnhandledError','QgUKM':function(_0x5223db,_0x1207cf,_0x57977d){return _0x5223db(_0x1207cf,_0x57977d);},'JtQaB':function(_0x40a05a,_0x4e9918){return _0x40a05a>_0x4e9918;}},{testUUID:_0x795081,testData:_0x1d5251}=_0x68a7b3;if(!_0x1d5251||!_0x1d5251['uuid'])return logger['debug'](_0x1c6dd6[_0x32e341(0x118)]),{};const _0x17d8e3=this[_0x32e341(0x13a)](TestFrameworkState[_0x32e341(0xf0)],HookState['POST']),_0x5206cb=_0x1d5251[_0x32e341(0xbd)],_0x1e9746=TestInfo[_0x32e341(0xd4)](_0x5206cb)||{},_0x57c48d=_0x1e9746?_0x1e9746[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{},_0x508bb1={..._0x1e9746,[TestFrameworkConstants[_0x32e341(0xfe)]]:_0x1d5251[_0x32e341(0xfb)]||_0x1c6dd6[_0x32e341(0x86)],[TestFrameworkConstants[_0x32e341(0xc9)]]:_0x1d5251[_0x32e341(0x105)]||new Date()[_0x32e341(0xc1)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0x32e341(0xc1)](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x57c48d,[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x32e341(0x126)]]:_0x1d5251['meta']||{}};_0x1c6dd6[_0x32e341(0xee)](_0x1d5251['result'],_0x1c6dd6['oXRco'])&&_0x1d5251['failure']&&(_0x508bb1[TestFrameworkConstants[_0x32e341(0xcf)]]=_0x1d5251['failure_type']||_0x1c6dd6[_0x32e341(0xfa)],_0x508bb1[TestFrameworkConstants[_0x32e341(0x143)]]=_0x1d5251['failure_reason']||'',_0x508bb1[TestFrameworkConstants[_0x32e341(0x91)]]=_0x1d5251[_0x32e341(0x130)]);const _0x5d0734=TestInfo[_0x32e341(0xd4)](_0x5206cb)[TestFrameworkConstants[_0x32e341(0x100)]]||{},_0x2efe71=_0x1c6dd6[_0x32e341(0x8a)](getManualUploadLogs,_0x5d0734,_0x17d8e3[_0x32e341(0x8f)]()[_0x32e341(0xca)](_0x5206cb)[TestFrameworkConstants[_0x32e341(0xec)]]);if(_0x1c6dd6[_0x32e341(0xba)](_0x2efe71[_0x32e341(0xe7)],0x0)){const _0x5567ca=_0x508bb1[TestFrameworkConstants[_0x32e341(0xa5)]]||[];_0x508bb1[TestFrameworkConstants['KEY_LOGS']]=[..._0x5567ca,..._0x2efe71];}_0x1d5251[_0x32e341(0x85)]&&_0x1c6dd6['JtQaB'](_0x1d5251[_0x32e341(0x85)]['length'],0x0)&&(_0x508bb1[TestFrameworkConstants[_0x32e341(0x8b)]]=_0x1d5251[_0x32e341(0x85)]);TestInfo[_0x32e341(0x107)](_0x5206cb,_0x508bb1),logger['debug'](_0x32e341(0xc5)+_0x1d5251[_0x32e341(0xed)]+_0x32e341(0x135)+_0x1d5251[_0x32e341(0xfb)]);const _0x520d69={};return _0x520d69[_0x5206cb]=_0x508bb1,_0x520d69;}async[a70_0x33e8ae(0x12d)](_0x3755ab,_0x27c913,_0x25ac5e,_0x1f27cc){const _0xb7484d=a70_0x33e8ae,_0x527236={'avosB':_0xb7484d(0xe6),'UXSvy':function(_0x21479b){return _0x21479b();},'wotyX':function(_0x247895,_0x216ef0){return _0x247895 in _0x216ef0;},'TbcbJ':function(_0xa5381d,_0x5bb23b){return _0xa5381d===_0x5bb23b;},'AjGAp':function(_0x134961,_0x5c0411){return _0x134961===_0x5c0411;},'YqeYr':function(_0x157962,_0x2d94bc){return _0x157962>_0x2d94bc;},'SiiJz':function(_0x494826,_0x20f69e){return _0x494826===_0x20f69e;},'Wxgkv':'failed','DruJc':_0xb7484d(0xa0),'ZyyZc':'passed','vEJbt':function(_0x16f50b,_0x71b428){return _0x16f50b!==_0x71b428;}},{hookData:_0x50547d}=_0x1f27cc;if(!_0x50547d)return logger[_0xb7484d(0x124)](_0x527236['avosB']),{};const _0x4067e5=_0x50547d[_0xb7484d(0xbd)]||_0x527236[_0xb7484d(0x92)](uuidv4),_0x358ce2=_0x50547d[_0xb7484d(0x10c)],_0x25c141=_0x27c913['toString']()[_0xb7484d(0x84)]('.')[0x1],_0xd0c3f2=TestInfo['getTestDetails'](_0x358ce2)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{},_0x3fcd7b=_0x3755ab[_0xb7484d(0x8f)]()[_0xb7484d(0xca)](_0x358ce2);if(!_0x3fcd7b)return logger['debug'](_0xb7484d(0xaf)+_0x358ce2+',\x20storing\x20as\x20pending\x20hook'),this['storePendingHook'](_0x3755ab,_0x358ce2,_0x27c913,_0x25ac5e,_0x1f27cc),{};let _0x50f5f0=_0x3fcd7b[TestFrameworkConstants[_0xb7484d(0x122)]];!_0x50f5f0&&(_0x50f5f0={});!_0x527236[_0xb7484d(0x7d)](_0x25c141,_0x50f5f0)&&(_0x50f5f0[_0x25c141]=[]);let _0x5ba20e=_0x3fcd7b[TestFrameworkConstants[_0xb7484d(0x8b)]];!_0x5ba20e&&(_0x5ba20e={});!_0x527236[_0xb7484d(0x7d)](_0x25c141,_0x5ba20e)&&(_0x5ba20e[_0x25c141]=[]);const _0x46d649={[TestFrameworkConstants[_0xb7484d(0x122)]]:_0x50f5f0,[TestFrameworkConstants[_0xb7484d(0x8b)]]:_0x5ba20e},_0x3c3edf={};_0x3c3edf[_0x358ce2]=_0x46d649;const _0x5d1fea=_0x3c3edf;if(_0x527236[_0xb7484d(0x128)](_0x25ac5e,HookState['PRE'])){const _0x402734={[TestFrameworkConstants[_0xb7484d(0x94)]]:_0x4067e5,[TestFrameworkConstants[_0xb7484d(0xac)]]:TestFrameworkConstants[_0xb7484d(0xdd)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x50547d['started_at'],[TestFrameworkConstants[_0xb7484d(0xb3)]]:[],[TestFrameworkConstants[_0xb7484d(0x7b)]]:_0x50547d[_0xb7484d(0x7c)],[TestFrameworkConstants[_0xb7484d(0x7f)]]:_0xd0c3f2};_0x402734[_0xb7484d(0xb9)]=_0x25c141;const _0x598dc4=_0x402734;_0x50f5f0[_0x25c141][_0xb7484d(0x123)](_0x598dc4),_0x5d1fea[_0x358ce2][TestFrameworkConstants['KEY_HOOK_LAST_STARTED']]=_0x25c141,logger[_0xb7484d(0x124)](_0xb7484d(0xd9)+_0x25c141+_0xb7484d(0xcb)+_0x598dc4+_0xb7484d(0xdb)+_0x1f27cc);}else{if(_0x527236['AjGAp'](_0x25ac5e,HookState['POST'])){const _0x5ec482=_0x50547d[_0xb7484d(0xfb)],_0x2dabfa=_0x50f5f0[_0x25c141]||[];logger[_0xb7484d(0x124)](_0xb7484d(0x8d)+_0x2dabfa+_0xb7484d(0x11e)+_0x1f27cc);if(_0x527236[_0xb7484d(0xbb)](_0x2dabfa[_0xb7484d(0xe7)],0x0)){const _0x4409dd=_0x2dabfa[_0xb7484d(0xe1)]();_0x527236[_0xb7484d(0x101)](_0x50547d['result'],_0x527236['Wxgkv'])&&_0x50547d[_0xb7484d(0xf6)]?(_0x4409dd[TestFrameworkConstants[_0xb7484d(0x145)]]=_0x50547d[_0xb7484d(0x10f)]||_0x527236[_0xb7484d(0x9b)],_0x4409dd[TestFrameworkConstants[_0xb7484d(0xb7)]]=_0x50547d[_0xb7484d(0x11c)]||'',_0x4409dd[TestFrameworkConstants[_0xb7484d(0xef)]]=_0x50547d[_0xb7484d(0xf6)]):_0x4409dd[TestFrameworkConstants[_0xb7484d(0xac)]]=_0x527236[_0xb7484d(0x117)];_0x527236[_0xb7484d(0x13d)](_0x5ec482,TestFrameworkConstants[_0xb7484d(0xdd)])&&(_0x4409dd[TestFrameworkConstants[_0xb7484d(0xac)]]=_0x5ec482);_0x4409dd[TestFrameworkConstants[_0xb7484d(0x142)]]=_0x50547d[_0xb7484d(0x12c)]||new Date()[_0xb7484d(0xc1)](),_0x4409dd[TestFrameworkConstants[_0xb7484d(0x7f)]]=_0xd0c3f2;const _0x6dfd4a=_0x4409dd[TestFrameworkConstants[_0xb7484d(0x94)]];!_0x5ba20e[_0x25c141]&&(_0x5ba20e[_0x25c141]=[]),_0x5ba20e[_0x25c141][_0xb7484d(0x123)](_0x4409dd),_0x5d1fea[_0x358ce2][TestFrameworkConstants[_0xb7484d(0xe9)]]=_0x25c141;}}}return logger[_0xb7484d(0x124)](_0xb7484d(0xae)+_0x50547d[_0xb7484d(0x7c)]+_0xb7484d(0x136)+_0x4067e5+_0xb7484d(0x96)+_0x358ce2),_0x5d1fea;}[a70_0x33e8ae(0x14a)](_0x1b59ae){const _0x4c6883=a70_0x33e8ae,_0x5818c9={};_0x5818c9[_0x4c6883(0x113)]='base64';const _0x486e99=_0x5818c9;try{const _0x411c37=_0x1b59ae[_0x4c6883(0x12a)]?_0x1b59ae['test']['id']:_0x1b59ae[_0x4c6883(0xf9)][_0x4c6883(0x10c)],_0x7205ed=_0x1b59ae['instance'],_0x498e5c=_0x7205ed['getContext'](),_0x2c1f63=_0x7205ed[_0x4c6883(0x8f)]()[_0x4c6883(0xca)](_0x411c37);if(!_0x2c1f63)return logger[_0x4c6883(0x124)](_0x4c6883(0x137)+_0x411c37),{};logger[_0x4c6883(0x124)]('createTestFrameworkEventPayload\x20testId:\x20'+_0x411c37);const {[TestFrameworkConstants[_0x4c6883(0xa8)]]:_0x359f34='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x333180='',[TestFrameworkConstants[_0x4c6883(0xf5)]]:_0x5a279b='',[TestFrameworkConstants[_0x4c6883(0xc9)]]:_0x20fb20=''}=_0x2c1f63,_0x40edb8=_0x7205ed[_0x4c6883(0xfd)]()['toString']()[_0x4c6883(0x84)]('.')[0x1],_0x1d086a=_0x7205ed['getCurrentHookState']()[_0x4c6883(0x151)]()[_0x4c6883(0x84)]('.')[0x1],_0x4f4a72=global?.['__workerDetails']?.[_0x4c6883(0x9d)]?.[_0x4c6883(0x11d)],_0x445982=_0x7205ed[_0x4c6883(0x14e)](),_0x3ff77a=Buffer[_0x4c6883(0x11a)](JSON[_0x4c6883(0xb4)](_0x2c1f63))[_0x4c6883(0x151)](_0x486e99[_0x4c6883(0x113)]),_0x2acbd0={'hash':_0x498e5c['getId'](),'threadId':_0x498e5c[_0x4c6883(0x13e)]()['toString'](),'processId':_0x498e5c[_0x4c6883(0xe4)]()[_0x4c6883(0x151)]()},_0x262db5={};_0x262db5[_0x4c6883(0x10a)]=_0x4f4a72,_0x262db5[_0x4c6883(0xd6)]=_0x359f34,_0x262db5[_0x4c6883(0xc3)]=_0x333180,_0x262db5[_0x4c6883(0xd2)]=_0x40edb8,_0x262db5[_0x4c6883(0xb2)]=_0x1d086a,_0x262db5[_0x4c6883(0x111)]=_0x5a279b,_0x262db5[_0x4c6883(0xbc)]=_0x20fb20,_0x262db5[_0x4c6883(0xbd)]=_0x445982,_0x262db5[_0x4c6883(0x120)]=_0x3ff77a,_0x262db5[_0x4c6883(0x108)]=_0x2acbd0;const _0x2d10a7=_0x262db5;return logger[_0x4c6883(0x124)](_0x4c6883(0x83)+_0x411c37+_0x4c6883(0x110)+_0x40edb8+_0x4c6883(0x104)+_0x1d086a),_0x2d10a7;}catch(_0x6123d4){return logger[_0x4c6883(0x139)]('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util[_0x4c6883(0x14d)](_0x6123d4)),{};}}async[a70_0x33e8ae(0xa2)](_0x18bd00,_0x215910,_0x552019){const _0x273742=a70_0x33e8ae,_0x876adb={'iusvo':function(_0x52d2ce,_0x42165c,_0x4a07d4){return _0x52d2ce(_0x42165c,_0x4a07d4);},'oMScY':function(_0x495ec4,_0x3466dc){return _0x495ec4===_0x3466dc;},'dUSqz':_0x273742(0xcd),'vzpkP':function(_0x144971,_0x3e8a49){return _0x144971/_0x3e8a49;},'FRRpL':function(_0x47a33d,_0x4ccb02){return _0x47a33d<_0x4ccb02;},'DFSmE':function(_0x5582c4,_0x19291f){return _0x5582c4*_0x19291f;},'gHSAY':function(_0x118e62,_0x535e68){return _0x118e62+_0x535e68;},'TjzPj':function(_0x3a4ab3,_0x627994){return _0x3a4ab3+_0x627994;},'TFHFL':'Cucumber\x20log\x20created\x20event'};try{const _0x11fc0=_0x552019[_0x273742(0xc2)],_0x37e8cd=_0x18bd00[_0x273742(0x8f)]()['get'](_0x11fc0),{[TestFrameworkConstants[_0x273742(0xa8)]]:_0x54149d='',[TestFrameworkConstants[_0x273742(0xd7)]]:_0x109d4a=''}=_0x37e8cd,_0x4ee869=TestInfo[_0x273742(0xe5)](_0x11fc0),_0x5bde7c=TestInfo[_0x273742(0xd4)](_0x11fc0)[TestFrameworkConstants[_0x273742(0x100)]]||{},_0x52a86d=_0x876adb[_0x273742(0xab)](getMediaArtifactsLogs,_0x5bde7c,_0x18bd00['getAllData']()[_0x273742(0xca)](_0x11fc0)[TestFrameworkConstants[_0x273742(0xec)]]),_0x256547=(_0x4ee869||[])[_0x273742(0xda)](_0x52a86d||[]);if(!_0x256547||_0x876adb['oMScY'](_0x256547[_0x273742(0xe7)],0x0)){logger[_0x273742(0x124)](_0x876adb[_0x273742(0x116)]);return;}const _0x23c94d=0x28,_0x4ec84b=Math[_0x273742(0x8e)](_0x876adb[_0x273742(0xc7)](_0x256547[_0x273742(0xe7)],_0x23c94d));for(let _0x2952ac=0x0;_0x876adb[_0x273742(0x10e)](_0x2952ac,_0x4ec84b);_0x2952ac++){const _0x6a6cb0=_0x876adb[_0x273742(0xdf)](_0x2952ac,_0x23c94d),_0x1d37fd=_0x876adb['gHSAY'](_0x6a6cb0,_0x23c94d),_0x3167e2=_0x256547['slice'](_0x6a6cb0,_0x1d37fd),_0x4b80eb={'platformIndex':'0','logs':_0x3167e2,'testFrameworkName':_0x54149d,'testFrameworkVersion':_0x109d4a,'testFrameworkState':_0x215910[_0x273742(0x151)]()[_0x273742(0x84)]('.')[0x1]};logger[_0x273742(0x124)]('sendLogCreatedEvent:\x20for\x20testId:\x20'+_0x11fc0+'\x20batch\x20'+_0x876adb['gHSAY'](_0x2952ac,0x1)+'/'+_0x4ec84b+_0x273742(0xf4)+util[_0x273742(0x88)](_0x4b80eb));const _0x1f19be=await GrpcClient[_0x273742(0xc6)]()[_0x273742(0xad)](_0x4b80eb);logger[_0x273742(0x124)](_0x273742(0x114)+_0x11fc0+'\x20batch\x20'+_0x876adb[_0x273742(0xfc)](_0x2952ac,0x1)+'/'+_0x4ec84b+_0x273742(0x115)+util[_0x273742(0x88)](_0x1f19be));}}catch(_0x443ed6){logger['error'](_0x273742(0x133)+util[_0x273742(0x14d)](_0x443ed6));}logger[_0x273742(0x124)](_0x876adb[_0x273742(0xbf)]);}[a70_0x33e8ae(0xf2)](_0x29e6b3,_0xa0246d,_0x3d9d7a,_0x52cd14,_0x551d06){const _0x1a1e68=a70_0x33e8ae,_0x56bcf8={'testId':_0xa0246d,'testFrameworkState':_0x3d9d7a,'hookState':_0x52cd14,'args':_0x551d06,'timestamp':new Date()[_0x1a1e68(0xc1)]()};_0x29e6b3['addPendingHook'](_0xa0246d,_0x56bcf8),logger[_0x1a1e68(0x124)](_0x1a1e68(0xb6)+_0xa0246d+_0x1a1e68(0x112)+_0x3d9d7a+_0x1a1e68(0x12b)+_0x52cd14);}async[a70_0x33e8ae(0x14c)](_0x447bde,_0xef2c27){const _0x4ef64b=a70_0x33e8ae,_0x356f7f={};_0x356f7f[_0x4ef64b(0x95)]=function(_0x133a9f,_0x2742b9){return _0x133a9f>_0x2742b9;};const _0x1c6b4f=_0x356f7f;if(!_0x447bde[_0x4ef64b(0x140)](_0xef2c27))return;const _0x5cb0cb=_0x447bde['getPendingHooks'](_0xef2c27);logger[_0x4ef64b(0x124)]('Processing\x20'+_0x5cb0cb['length']+_0x4ef64b(0xe3)+_0xef2c27);for(const _0x4a472f of _0x5cb0cb){try{const _0x1093f4=await this[_0x4ef64b(0x12d)](_0x447bde,_0x4a472f[_0x4ef64b(0xd2)],_0x4a472f[_0x4ef64b(0xb2)],_0x4a472f['args']);_0x1093f4&&_0x1c6b4f[_0x4ef64b(0x95)](Object['keys'](_0x1093f4)[_0x4ef64b(0xe7)],0x0)&&_0x447bde[_0x4ef64b(0xc4)](_0x1093f4),await this[_0x4ef64b(0xea)](_0x447bde,_0x4a472f[_0x4ef64b(0xd2)],_0x4a472f['hookState'],_0x4a472f[_0x4ef64b(0x127)]);}catch(_0x726ee7){logger[_0x4ef64b(0x139)](_0x4ef64b(0x97)+_0xef2c27+',\x20error:\x20'+_0x726ee7);}}_0x447bde[_0x4ef64b(0xa6)](_0xef2c27),logger[_0x4ef64b(0x124)](_0x4ef64b(0x148)+_0xef2c27);}}function a70_0x1b75(_0x3246f1,_0x5c3f54){const _0x269776=a70_0x2697();return a70_0x1b75=function(_0x1b75a8,_0x33353e){_0x1b75a8=_0x1b75a8-0x7b;let _0x1f1bf5=_0x269776[_0x1b75a8];return _0x1f1bf5;},a70_0x1b75(_0x3246f1,_0x5c3f54);}module[a70_0x33e8ae(0x146)]=CucumberTestFramework;function a70_0x2697(){const _0x551165=['KEY_TEST_FAILURE','UXSvy','3762nCufsL','KEY_HOOK_ID','jnwHb','\x20for\x20test:\x20','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','AFtcU','POST','\x20&\x20hookState=','DruJc','./constants/testFrameworkConstants.js','workerInfo','trackEvent','getTrackedInstance','UnhandledError','125661KxAXUW','sendLogCreatedEvent','\x20with\x20UUID:\x20','7486755GLDpta','KEY_LOGS','removePendingHooks','KEY_TEST_LOGS','KEY_TEST_FRAMEWORK_NAME','../cliUtils.js','unknown','iusvo','KEY_HOOK_RESULT','logCreatedEvent','Tracked\x20cucumber\x20hook\x20event:\x20','No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','../instances/trackedInstance.js','file_name','hookState','KEY_HOOK_LOGS','stringify','parseCucumberTestResult','Stored\x20pending\x20hook\x20for\x20testId:\x20','KEY_HOOK_FAILURE_REASON','setTrackedInstance','key','JtQaB','YqeYr','endedAt','uuid','426nbjIen','TFHFL','../grpcClient','toISOString','testUUID','testFrameworkVersion','addMultipleEntries','Updated\x20cucumber\x20test\x20result:\x20','getInstance','vzpkP','getTestUUID','KEY_TEST_ENDED_AT','get','\x20&\x20hook\x20=\x20','KEY_TEST_SCOPES','sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','KEY_TEST_FAILURE_TYPE','8383854lPVSps','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','testFrameworkState','KEY_TEST_LOCATION','getTestDetails','trackCucumberInstance','testFrameworkName','KEY_TEST_FRAMEWORK_VERSION','rerun_name','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','concat','\x20\x20and\x20args\x20=\x20','KEY_TEST_SCOPE','DEFAULT_HOOK_RESULT','INIT_TEST','DFSmE','CucumberTestFramework','pop','meta','\x20pending\x20hooks\x20for\x20testId:\x20','getProcessId','readLogObjects','No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','length','../state/testFrameworkState.js','KEY_HOOK_LAST_FINISHED','runHooks','nhKdL','KEY_TEST_UUID','name','vBgAA','KEY_HOOK_FAILURE','TEST','4peaIwW','storePendingHook','aWxqa','\x20payload=','KEY_TEST_STARTED_AT','failure_data','../../../helpers/helper.js','KEY_TEST_TAGS','hookData','BGJkM','result','TjzPj','getCurrentTestState','KEY_TEST_RESULT','body','KEY_TEST_ATTACHMENTS','SiiJz','23413225zHsMEb','oxZgd','\x20hookState:\x20','finishedAt','KEY_TEST_NAME','setTestDetails','executionContext','NONE','platformIndex','1233MqqjSY','test_run_id','KEY_TEST_CODE','FRRpL','failure_type','\x20testState:\x20','startedAt',',\x20state:\x20','uFwWE','sendLogCreatedEvent:\x20for\x20testId:\x20','\x20response=','dUSqz','ZyyZc','LNWxK','trackEvent:\x20unsupported\x20testFrameworkState=','from','parseCucumberTest','failure_reason','parallelIndex','\x20and\x20args\x20=\x20','scopes','eventJson','getTestFrameworks','KEY_HOOKS_STARTED','push','debug','failed','KEY_TEST_META','args','TbcbJ',',\x20state=','test',',\x20hookState:\x20','finished_at','trackHookEvent','testData','DEFAULT_TEST_RESULT','failure','location','getId','sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20','KEY_AUTOMATE_SESSION_NAME','\x20with\x20result:\x20','\x20with\x20id\x20','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test','error','resolveInstance','tags','PRE','vEJbt','getThreadId','KEY_TEST_ID','hasPendingHooks','LOG_REPORT','KEY_EVENT_ENDED_AT','KEY_TEST_FAILURE_REASON','Parsed\x20cucumber\x20test:\x20','KEY_HOOK_FAILURE_TYPE','exports','31660HIucLt','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','createTestFrameworkEventPayload','trackCucumberInstance:\x20saved\x20instance\x20contextId=','processPendingHooks','format','getRef','LvUHl','24oqZvkZ','toString','KEY_HOOK_NAME','hook_type','wotyX','code','KEY_CUSTOM_TAGS','../instances/testFrameworkInstance.js','../../../helpers/classLogger.js','zkMGf','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','split','hooks','ONSfS','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','inspect','../TestInfo.js','QgUKM','KEY_HOOKS_FINISHED','3456068pkwxiI','trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20','ceil','getAllData','\x20target='];a70_0x2697=function(){return _0x551165;};return a70_0x2697();}
|
|
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;
|