browserstack-node-sdk 1.50.4 → 1.50.6

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.
Files changed (186) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +2 -2
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/runner.js +1 -1
  90. package/src/bin/setup.js +1 -1
  91. package/src/bin/test-runner/index.js +1 -1
  92. package/src/bin/test-runner/runTest.js +1 -1
  93. package/src/bin/test-runner/testWorker.js +1 -1
  94. package/src/bin/utils/apiUtilityMethods.js +1 -1
  95. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  96. package/src/bin/utils/constants.js +1 -1
  97. package/src/bin/utils/log4jsAppender.js +1 -1
  98. package/src/bin/utils/logPatcher.js +1 -1
  99. package/src/bin/utils/logReportingAPI.js +1 -1
  100. package/src/bin/utils/playwright-patcher.js +1 -1
  101. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  102. package/src/bin/utils/sharedUtils.js +1 -1
  103. package/src/bin/v2/TestInfo.js +1 -1
  104. package/src/bin/v2/browserstackCLI.js +1 -1
  105. package/src/bin/v2/cliUtils.js +1 -1
  106. package/src/bin/v2/customTagManager.js +1 -1
  107. package/src/bin/v2/eventDispatcher.js +1 -1
  108. package/src/bin/v2/framework/automationFramework.js +1 -1
  109. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  110. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  111. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  112. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  113. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  114. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  115. package/src/bin/v2/framework/testFramework.js +1 -1
  116. package/src/bin/v2/grpcClient.js +1 -1
  117. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  118. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  119. package/src/bin/v2/instances/trackedContext.js +1 -1
  120. package/src/bin/v2/instances/trackedInstance.js +1 -1
  121. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  122. package/src/bin/v2/modules/baseModule.js +1 -1
  123. package/src/bin/v2/modules/loadTestModule.js +1 -1
  124. package/src/bin/v2/modules/observabilityModule.js +1 -1
  125. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  126. package/src/bin/v2/modules/testhubModule.js +1 -1
  127. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  128. package/src/bin/v2/state/hookState.js +1 -1
  129. package/src/bin/v2/state/testFrameworkState.js +1 -1
  130. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  131. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  132. package/src/bin/v2/utils/jest-utils.js +1 -1
  133. package/src/bin/vanilla-js/command.js +1 -1
  134. package/src/browserStackSdk.js +1 -1
  135. package/src/helpers/BrowserStackSetup.js +1 -1
  136. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  137. package/src/helpers/accessibility-automation/constants.js +1 -1
  138. package/src/helpers/accessibility-automation/helper.js +1 -1
  139. package/src/helpers/accessibility-automation/scripts.js +1 -1
  140. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  141. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  142. package/src/helpers/ats/constants.js +1 -1
  143. package/src/helpers/ats/helper.js +1 -1
  144. package/src/helpers/capsMapping.js +1 -1
  145. package/src/helpers/central-scanner/constants.js +1 -1
  146. package/src/helpers/central-scanner/helpers.js +1 -1
  147. package/src/helpers/classLogger.js +1 -1
  148. package/src/helpers/globals.js +1 -1
  149. package/src/helpers/helper.js +1 -1
  150. package/src/helpers/logger.js +1 -1
  151. package/src/helpers/metadata.js +1 -1
  152. package/src/helpers/patchHelper.js +1 -1
  153. package/src/helpers/patchHelpers.js +1 -1
  154. package/src/helpers/percy/Percy.js +1 -1
  155. package/src/helpers/percy/PercyBinary.js +1 -1
  156. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  157. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  158. package/src/helpers/percy/PercySDK.js +1 -1
  159. package/src/helpers/percy/index.js +1 -1
  160. package/src/helpers/percy/utils.js +1 -1
  161. package/src/helpers/performance/constants.js +1 -1
  162. package/src/helpers/performance/performance-tester.js +1 -1
  163. package/src/helpers/playwright-helper.js +1 -1
  164. package/src/helpers/processHelper.js +1 -1
  165. package/src/helpers/request-spy.js +1 -1
  166. package/src/helpers/setKeepAlive.js +1 -1
  167. package/src/helpers/test-observability/constants.js +1 -1
  168. package/src/helpers/test-observability/error-handler.js +1 -1
  169. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  170. package/src/helpers/test-observability/sessionHandler.js +1 -1
  171. package/src/helpers/test-observability/utils.js +1 -1
  172. package/src/helpers/test-orchestration/constants.js +1 -1
  173. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  174. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  175. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  176. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  177. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  178. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  179. package/src/helpers/testhub/constants.js +1 -1
  180. package/src/helpers/testhub/testhubHandler.js +1 -1
  181. package/src/helpers/testhub/utils.js +1 -1
  182. package/src/helpers/timeoutPromise.js +1 -1
  183. package/src/helpers/utilities.js +1 -1
  184. package/src/helpers/w3cMapping.js +1 -1
  185. package/src/hubAllocationMethods.js +1 -1
  186. package/src/index.js +1 -1
@@ -1 +1 @@
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
+ 'use strict';const a65_0x4fa783=a65_0xef38;function a65_0x58b8(){const _0x4e34ef=['../../helpers/classLogger','../../helpers/helper','getTestFramework','KMMxq','\x20with\x20new\x20values=','getTrackedInstance','jest','string','__workerDetails','11316390LyXPoO','get','81ZzHEPf','71046DjmyDh','zQYuo','getTestLevelTags','includes','./browserstackCLI','multi_dropdown','KEY_TEST_ID','setTestDetails','POST',',\x20finalTags=','KEY_CUSTOM_TAGS','./state/hookState','pVMPX','77tiqYyM','exports','CustomTagManager.setCustomTags:\x20TestFramework\x20not\x20available\x20for\x20Jest+Playwright','addMultipleEntries','testLevelTags','Custom\x20tag\x20value\x20must\x20be\x20a\x20string','clearTags','field_type','./cliUtils','currentTest','[CustomTagManager]\x20setCustomTags:\x20Jest+Playwright\x20-\x20testIdentifier=','hMGYh',',\x20existingTags=','487772wFmhyu','CustomTagManager.setCustomTags:\x20Instance\x20not\x20available\x20for\x20Jest+Playwright','./state/testFrameworkState','debug','getState','[CustomTagManager]\x20setCustomTags:\x20Created\x20new\x20tag\x20key=',',\x20values=','tBryv','WBkMI','955DainuJ','values','RmbOK','2203224GrAWFo','24jhQMnp','buildLevelTags','rDUEr','oEIlP','27942OSfSlT','toObject','name','stringify',',\x20key=','[CustomTagManager]\x20setCustomTags:\x20Updated\x20existing\x20tag\x20key=','./framework/constants/testFrameworkConstants','CustomTagManager.setCustomTags\x20:\x20Error\x20detecting\x20Jest+Playwright:\x20','testhubConfig','toLowerCase','Custom\x20tag\x20key\x20must\x20be\x20a\x20string','CustomTagManager.setCustomTags:\x20No\x20testIdentifier\x20found\x20for\x20Jest+Playwright.\x20This\x20may\x20occur\x20if\x20setCustomTags\x20is\x20called\x20outside\x20test\x20context.','\x20with\x20values=','3709760xqIKlr','NxSUE','lPftI','getInstance','ctZxP','MnLal','getTestDetails','14fGGEbq','getTestFrameworkDetail','trim','YrnHi','JuIyo','FovdZ','MODULE_NAME','getBuildLevelTags','retry','./TestInfo','./modules/testhubModule','42162fmAfKU','parseCommaSeparatedValues','CustomTagManager','hAxcX','buildHashedId','modules','fxyoV','setCustomTags','getTestIdentifierFromTestInfo'];a65_0x58b8=function(){return _0x4e34ef;};return a65_0x58b8();}(function(_0xac5e1f,_0x5c5eb3){const _0x23d1cc=a65_0xef38,_0x1d896f=_0xac5e1f();while(!![]){try{const _0x1e8048=parseInt(_0x23d1cc(0x200))/0x1*(parseInt(_0x23d1cc(0x1ec))/0x2)+parseInt(_0x23d1cc(0x228))/0x3*(-parseInt(_0x23d1cc(0x21b))/0x4)+-parseInt(_0x23d1cc(0x224))/0x5*(-parseInt(_0x23d1cc(0x22c))/0x6)+parseInt(_0x23d1cc(0x1e1))/0x7*(-parseInt(_0x23d1cc(0x1da))/0x8)+parseInt(_0x23d1cc(0x201))/0x9+-parseInt(_0x23d1cc(0x1fe))/0xa+-parseInt(_0x23d1cc(0x20e))/0xb*(-parseInt(_0x23d1cc(0x227))/0xc);if(_0x1e8048===_0x5c5eb3)break;else _0x1d896f['push'](_0x1d896f['shift']());}catch(_0x2e546c){_0x1d896f['push'](_0x1d896f['shift']());}}}(a65_0x58b8,0xd0ded));function a65_0xef38(_0x329df4,_0x1efc1c){const _0x58b813=a65_0x58b8();return a65_0xef38=function(_0xef38ca,_0x2f7c91){_0xef38ca=_0xef38ca-0x1da;let _0x3f0875=_0x58b813[_0xef38ca];return _0x3f0875;},a65_0xef38(_0x329df4,_0x1efc1c);}const BrowserstackCLI=require(a65_0x4fa783(0x205)),helper=require(a65_0x4fa783(0x1f6)),AutomationFramework=require('./framework/automationFramework'),TestFrameworkConstants=require(a65_0x4fa783(0x232)),PlaywrightDriverModule=require('./modules/playwrightDriverModule'),TestInfo=require(a65_0x4fa783(0x1ea)),TestHubModule=require(a65_0x4fa783(0x1eb)),{createClassLogger}=require(a65_0x4fa783(0x1f5)),logger=createClassLogger(a65_0x4fa783(0x1ee));class CustomTagManager{static ['buildLevelTags']={};static [a65_0x4fa783(0x212)]={};static[a65_0x4fa783(0x1f3)](_0x471532,_0x5f1398,_0x4d7e05=![]){const _0x3624a6=a65_0x4fa783,_0x47ecdb={'tBryv':function(_0x344b17,_0x34195e){return _0x344b17!==_0x34195e;},'hMGYh':_0x3624a6(0x1fc),'MnLal':_0x3624a6(0x236),'rDUEr':function(_0x28a7fa,_0x1cd586){return _0x28a7fa!==_0x1cd586;},'lPftI':_0x3624a6(0x213),'NxSUE':function(_0x56d288,_0x223166){return _0x56d288===_0x223166;},'hAxcX':'Custom\x20tag\x20key\x20cannot\x20be\x20empty','pVMPX':function(_0x4ca9b7,_0x1630b9){return _0x4ca9b7===_0x1630b9;},'WBkMI':'Custom\x20tag\x20value\x20cannot\x20be\x20empty','oEIlP':_0x3624a6(0x206),'FovdZ':':jest-','RmbOK':function(_0x50a33b,_0x50d2a1){return _0x50a33b(_0x50d2a1);},'uzvfh':_0x3624a6(0x216),'fxyoV':_0x3624a6(0x1fb),'ctZxP':_0x3624a6(0x237),'afECy':_0x3624a6(0x210),'JuIyo':function(_0x41fa58,_0x5687d6){return _0x41fa58(_0x5687d6);},'KMMxq':_0x3624a6(0x21d),'YrnHi':_0x3624a6(0x20c),'zQYuo':_0x3624a6(0x21c)};if(_0x47ecdb[_0x3624a6(0x222)](typeof _0x471532,_0x47ecdb[_0x3624a6(0x219)]))throw new Error(_0x47ecdb[_0x3624a6(0x1df)]);if(_0x47ecdb[_0x3624a6(0x22a)](typeof _0x5f1398,_0x47ecdb['hMGYh']))throw new Error(_0x47ecdb[_0x3624a6(0x1dc)]);if(_0x47ecdb[_0x3624a6(0x1db)](_0x471532['trim'](),''))throw new Error(_0x47ecdb[_0x3624a6(0x1ef)]);if(_0x47ecdb[_0x3624a6(0x20d)](_0x5f1398[_0x3624a6(0x1e3)](),''))throw new Error(_0x47ecdb[_0x3624a6(0x223)]);const _0x30a460=helper[_0x3624a6(0x1ed)](_0x5f1398);if(_0x4d7e05){const _0x5b7877=BrowserstackCLI[_0x3624a6(0x1dd)]()[_0x3624a6(0x1f1)][TestHubModule[_0x3624a6(0x1e7)]];if(_0x5b7877){const _0x5778e8=_0x5b7877?.[_0x3624a6(0x234)]?.[_0x3624a6(0x22d)]()?.[_0x3624a6(0x1f0)];TestInfo['getTestUUID'](_0x5778e8);const _0x580451=TestInfo[_0x3624a6(0x1e0)](_0x5778e8),_0x5ebfe8=_0x580451[TestFrameworkConstants[_0x3624a6(0x20b)]]||{};if(!_0x5ebfe8[_0x471532]){const _0x59a404={};_0x59a404[_0x3624a6(0x215)]=_0x47ecdb[_0x3624a6(0x22b)],_0x59a404[_0x3624a6(0x225)]=[..._0x30a460],_0x5ebfe8[_0x471532]=_0x59a404;}else _0x5ebfe8[_0x471532]['values']=[..._0x30a460];_0x580451[TestFrameworkConstants[_0x3624a6(0x20b)]]=_0x5ebfe8,TestInfo[_0x3624a6(0x208)](_0x5778e8,_0x580451),!this['buildLevelTags'][_0x5778e8]&&(this[_0x3624a6(0x229)][_0x5778e8]={}),this[_0x3624a6(0x229)][_0x5778e8][_0x471532]=[..._0x30a460];}}else{let _0x3bd38f;const _0x57f9e1=global['__jestCurrentTestIdentifier'];let _0x456b74=![];if(_0x57f9e1&&_0x57f9e1[_0x3624a6(0x204)](_0x47ecdb['FovdZ']))_0x456b74=!![],_0x3bd38f=_0x57f9e1;else try{const _0x686ce6=_0x47ecdb[_0x3624a6(0x226)](require,_0x47ecdb['uzvfh']);if(BrowserstackCLI[_0x3624a6(0x1dd)]()['isRunning']()){const _0x5870ed=_0x686ce6[_0x3624a6(0x1e2)]();if(_0x47ecdb[_0x3624a6(0x1db)](_0x5870ed?.[_0x3624a6(0x22e)]?.[_0x3624a6(0x235)](),_0x47ecdb[_0x3624a6(0x1f2)])){const _0x136b15=AutomationFramework[_0x3624a6(0x1fa)]();_0x3bd38f=AutomationFramework[_0x3624a6(0x21f)](_0x136b15,PlaywrightDriverModule[_0x3624a6(0x207)],''),_0x3bd38f&&_0x3bd38f['includes'](_0x47ecdb[_0x3624a6(0x1e6)])&&(_0x456b74=!![]);}}}catch(_0x37a566){logger[_0x3624a6(0x21e)](_0x3624a6(0x233)+_0x37a566);}if(_0x456b74){if(!_0x3bd38f)throw new Error(_0x47ecdb[_0x3624a6(0x1de)]);const _0x17c97e=BrowserstackCLI[_0x3624a6(0x1dd)]()[_0x3624a6(0x1f7)]();if(!_0x17c97e)throw new Error(_0x47ecdb['afECy']);const _0x23d49f=_0x47ecdb[_0x3624a6(0x1e5)](require,_0x47ecdb[_0x3624a6(0x1f8)]),_0x510a7c=_0x47ecdb[_0x3624a6(0x1e5)](require,_0x47ecdb[_0x3624a6(0x1e4)]),_0x5c790f=_0x17c97e['resolveInstance'](_0x23d49f['TEST'],_0x510a7c[_0x3624a6(0x209)]);if(!_0x5c790f)throw new Error(_0x47ecdb[_0x3624a6(0x202)]);const _0x3dd398=_0x5c790f['getAllData']()[_0x3624a6(0x1ff)](_0x3bd38f)||{},_0x3effa2=_0x3dd398[TestFrameworkConstants[_0x3624a6(0x20b)]]||{};logger[_0x3624a6(0x21e)](_0x3624a6(0x218)+_0x3bd38f+_0x3624a6(0x230)+_0x471532+_0x3624a6(0x221)+JSON['stringify'](_0x30a460)+_0x3624a6(0x21a)+JSON[_0x3624a6(0x22f)](_0x3effa2));if(!_0x3effa2[_0x471532]){const _0x211585={};_0x211585[_0x3624a6(0x215)]=_0x47ecdb[_0x3624a6(0x22b)],_0x211585[_0x3624a6(0x225)]=[..._0x30a460],_0x3effa2[_0x471532]=_0x211585,logger[_0x3624a6(0x21e)](_0x3624a6(0x220)+_0x471532+_0x3624a6(0x238)+JSON[_0x3624a6(0x22f)](_0x30a460));}else _0x3effa2[_0x471532][_0x3624a6(0x225)]=[..._0x30a460],logger[_0x3624a6(0x21e)](_0x3624a6(0x231)+_0x471532+_0x3624a6(0x1f9)+JSON['stringify'](_0x30a460));const _0x2e9c2d={[TestFrameworkConstants[_0x3624a6(0x20b)]]:_0x3effa2},_0x39756={};_0x39756[_0x3bd38f]=_0x2e9c2d,_0x5c790f[_0x3624a6(0x211)](_0x39756),logger[_0x3624a6(0x21e)]('[CustomTagManager]\x20setCustomTags:\x20Stored\x20customTags\x20in\x20instance\x20memory\x20for\x20testIdentifier='+_0x3bd38f+_0x3624a6(0x20a)+JSON[_0x3624a6(0x22f)](_0x3effa2)),!this[_0x3624a6(0x212)][_0x3bd38f]&&(this[_0x3624a6(0x212)][_0x3bd38f]={}),this[_0x3624a6(0x212)][_0x3bd38f][_0x471532]=[..._0x30a460];}else{const _0x548909=global[_0x3624a6(0x1fd)]?.[_0x3624a6(0x217)]?.['testInfo'];if(!_0x548909){const _0x55265f=AutomationFramework[_0x3624a6(0x1fa)]();_0x3bd38f=AutomationFramework[_0x3624a6(0x21f)](_0x55265f,PlaywrightDriverModule[_0x3624a6(0x207)],'');}else _0x3bd38f=TestInfo[_0x3624a6(0x1f4)](_0x548909,_0x548909[_0x3624a6(0x1e9)]);const _0x2f06ae=TestInfo['getTestDetails'](_0x3bd38f),_0x352488=_0x2f06ae[TestFrameworkConstants[_0x3624a6(0x20b)]]||{};if(!_0x352488[_0x471532]){const _0x21d540={};_0x21d540[_0x3624a6(0x215)]=_0x47ecdb[_0x3624a6(0x22b)],_0x21d540[_0x3624a6(0x225)]=[..._0x30a460],_0x352488[_0x471532]=_0x21d540;}else _0x352488[_0x471532]['values']=[..._0x30a460];_0x2f06ae[TestFrameworkConstants[_0x3624a6(0x20b)]]=_0x352488,TestInfo['setTestDetails'](_0x3bd38f,_0x2f06ae),!this[_0x3624a6(0x212)][_0x3bd38f]&&(this['testLevelTags'][_0x3bd38f]={}),this[_0x3624a6(0x212)][_0x3bd38f][_0x471532]=[..._0x30a460];}}}static[a65_0x4fa783(0x1e8)](){const _0x2240fb=a65_0x4fa783,_0x176f9f={...this[_0x2240fb(0x229)]};return _0x176f9f;}static[a65_0x4fa783(0x203)](){const _0x50ab7f=a65_0x4fa783,_0x568ae9={...this[_0x50ab7f(0x212)]};return _0x568ae9;}static[a65_0x4fa783(0x214)](){const _0x16762e=a65_0x4fa783;this['buildLevelTags']={},this[_0x16762e(0x212)]={};}}module[a65_0x4fa783(0x20f)]=CustomTagManager;
@@ -1 +1 @@
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
+ const a66_0x2e3499=a66_0x408b;(function(_0xd18132,_0x4b75c8){const _0x58f89a=a66_0x408b,_0x57fd92=_0xd18132();while(!![]){try{const _0x1297aa=parseInt(_0x58f89a(0xa3))/0x1+parseInt(_0x58f89a(0xa7))/0x2*(-parseInt(_0x58f89a(0xa9))/0x3)+-parseInt(_0x58f89a(0xab))/0x4+-parseInt(_0x58f89a(0xa4))/0x5*(-parseInt(_0x58f89a(0xa6))/0x6)+parseInt(_0x58f89a(0xaf))/0x7+-parseInt(_0x58f89a(0xa5))/0x8+-parseInt(_0x58f89a(0xae))/0x9*(-parseInt(_0x58f89a(0xac))/0xa);if(_0x1297aa===_0x4b75c8)break;else _0x57fd92['push'](_0x57fd92['shift']());}catch(_0x3f654e){_0x57fd92['push'](_0x57fd92['shift']());}}}(a66_0x3690,0x2e214));const {createClassLogger}=require(a66_0x2e3499(0xa2));function a66_0x408b(_0x2b0d35,_0x497e0e){const _0x36903b=a66_0x3690();return a66_0x408b=function(_0x408ba9,_0x361e62){_0x408ba9=_0x408ba9-0xa2;let _0x299f53=_0x36903b[_0x408ba9];return _0x299f53;},a66_0x408b(_0x2b0d35,_0x497e0e);}class EventDispatcher{static #instance=null;constructor(){const _0x14429a=a66_0x2e3499;this[_0x14429a(0xb0)]={};}static['getInstance'](){return!EventDispatcher.#instance&&(EventDispatcher.#instance=new EventDispatcher()),EventDispatcher.#instance;}[a66_0x2e3499(0xb2)](_0x4d61d4,_0x319f41){const _0x5340a4=a66_0x2e3499;!this[_0x5340a4(0xb0)][_0x4d61d4]&&(this[_0x5340a4(0xb0)][_0x4d61d4]=[]),this['observers'][_0x4d61d4][_0x5340a4(0xa8)](_0x319f41);}async[a66_0x2e3499(0xaa)](_0x340b1d,_0x28f231){const _0x50097f=a66_0x2e3499,_0xf3eeda={'cUZQR':function(_0x32d226,_0x1c3e63){return _0x32d226(_0x1c3e63);}};if(this[_0x50097f(0xb0)][_0x340b1d]){for(const _0x2dba6f of this[_0x50097f(0xb0)][_0x340b1d]){await _0xf3eeda[_0x50097f(0xb3)](_0x2dba6f,_0x28f231);}return;}}}function a66_0x3690(){const _0x2a0f70=['registerObserver','cUZQR','getInstance','../../helpers/classLogger.js','80132AceOCR','18325gufFrp','1656016qZUggO','438OxZhTr','1564ZMuamk','push','1425NUaWrd','notifyObserver','526980pusNMT','30820FMPcWA','freeze','1035KKKoNs','1379266WxsOkp','observers','exports'];a66_0x3690=function(){return _0x2a0f70;};return a66_0x3690();}const eventDispatcher=EventDispatcher[a66_0x2e3499(0xb4)]();Object[a66_0x2e3499(0xad)](eventDispatcher),module[a66_0x2e3499(0xb1)]=eventDispatcher;
@@ -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
+ const a67_0x16aaf1=a67_0x7383;(function(_0x47ed82,_0x4ababa){const _0x169756=a67_0x7383,_0x553993=_0x47ed82();while(!![]){try{const _0x55c1cb=-parseInt(_0x169756(0x118))/0x1+parseInt(_0x169756(0x12b))/0x2*(-parseInt(_0x169756(0x130))/0x3)+parseInt(_0x169756(0x11f))/0x4+parseInt(_0x169756(0x113))/0x5+-parseInt(_0x169756(0x11d))/0x6*(-parseInt(_0x169756(0x10e))/0x7)+parseInt(_0x169756(0x132))/0x8+parseInt(_0x169756(0x127))/0x9*(-parseInt(_0x169756(0x117))/0xa);if(_0x55c1cb===_0x4ababa)break;else _0x553993['push'](_0x553993['shift']());}catch(_0x556aaf){_0x553993['push'](_0x553993['shift']());}}}(a67_0x4ad4,0x9b8df));function a67_0x4ad4(){const _0x1c0326=['636440XFQSzM','automation_sessions','getId','trackEvent','../instances/trackedInstance.js','KEY_NON_BROWSERSTACK_AUTOMATION_SESSIONS','trackEvent:\x20automationFrameworkState=','util','53433GAzDcX','getAllData','instances','../eventDispatcher.js','2fuIGKk','../cliUtils.js','runHooks','exports','non_browserstack_automation_sessions','897813BhqiHC','getCurrentInstanceName','5039960APahWm','getHookRegistryKey','35eUrWKn','automationFrameworkName','getAutomationFrameworkVersion','automationFrameworkVersion','debug','4999755BRNAYc','notifyObserver','set','setState','2940tWjFgq','344826zcCRqO','get','createContext','../../../helpers/classLogger.js','getAutomationFrameworkName','1485204SHYTFF','getTrackedInstance'];a67_0x4ad4=function(){return _0x1c0326;};return a67_0x4ad4();}const {createClassLogger}=require(a67_0x16aaf1(0x11b)),util=require(a67_0x16aaf1(0x126)),eventDispatcher=require(a67_0x16aaf1(0x12a)),CLIUtils=require(a67_0x16aaf1(0x12c)),TrackedInstance=require(a67_0x16aaf1(0x123)),logger=createClassLogger('AutomationFramework');class AutomationFramework{static ['instances']=new Map();static ['KEY_AUTOMATION_SESSIONS']=a67_0x16aaf1(0x120);static [a67_0x16aaf1(0x124)]=a67_0x16aaf1(0x12f);constructor(_0xb089c5,_0x500d35){const _0x5dc393=a67_0x16aaf1;this[_0x5dc393(0x10f)]=_0xb089c5,this[_0x5dc393(0x111)]=_0x500d35;}[a67_0x16aaf1(0x11c)](){const _0x3754f8=a67_0x16aaf1;return this[_0x3754f8(0x10f)];}[a67_0x16aaf1(0x110)](){const _0x1a26fe=a67_0x16aaf1;return this[_0x1a26fe(0x111)];}async[a67_0x16aaf1(0x122)](_0x2fbf7c,_0x3626ab,_0x3b48c0={}){const _0x4ff1ae=a67_0x16aaf1;logger[_0x4ff1ae(0x112)](_0x4ff1ae(0x125)+_0x2fbf7c+'\x20hookState='+_0x3626ab);}async[a67_0x16aaf1(0x12d)](_0x46ff52,_0x37b6dd,_0x1433b6,_0x49557d={}){const _0x5e5edb=a67_0x16aaf1,_0x32c92a=CLIUtils[_0x5e5edb(0x10d)](_0x37b6dd,_0x1433b6);_0x46ff52&&_0x46ff52[_0x5e5edb(0x116)](_0x37b6dd),await eventDispatcher[_0x5e5edb(0x114)](_0x32c92a,_0x49557d);}static['registerObserver'](_0x3dbfdb,_0xc5b7e8,_0x1f0b55){const _0x22dc6f=a67_0x16aaf1;eventDispatcher['registerObserver'](CLIUtils[_0x22dc6f(0x10d)](_0x3dbfdb,_0xc5b7e8),_0x1f0b55);}static['setTrackedInstance'](_0x5beb49,_0x1f9875){const _0x37b758=a67_0x16aaf1;AutomationFramework['instances'][_0x37b758(0x115)](_0x5beb49[_0x37b758(0x121)](),_0x1f9875);}static[a67_0x16aaf1(0x11e)](){const _0x522761=a67_0x16aaf1,_0x4d887c=TrackedInstance[_0x522761(0x11a)](CLIUtils[_0x522761(0x131)]());return AutomationFramework[_0x522761(0x129)][_0x522761(0x119)](_0x4d887c[_0x522761(0x121)]());}static['setState'](_0x175cca,_0x22043a,_0x2a812a){_0x175cca['getAllData']()['set'](_0x22043a,_0x2a812a);}static['getState'](_0x334b85,_0x4aef2){const _0x22e732=a67_0x16aaf1;return _0x334b85[_0x22e732(0x128)]()[_0x22e732(0x119)](_0x4aef2);}}function a67_0x7383(_0x4051d1,_0xb5f22f){const _0x4ad466=a67_0x4ad4();return a67_0x7383=function(_0x73834c,_0x25fcbc){_0x73834c=_0x73834c-0x10d;let _0x106c8c=_0x4ad466[_0x73834c];return _0x106c8c;},a67_0x7383(_0x4051d1,_0xb5f22f);}module[a67_0x16aaf1(0x12e)]=AutomationFramework;
@@ -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
+ const a68_0x4d965e=a68_0x3c1f;(function(_0x5d6420,_0x5f1aab){const _0x1be666=a68_0x3c1f,_0x1031c6=_0x5d6420();while(!![]){try{const _0x1a6de1=-parseInt(_0x1be666(0x11d))/0x1*(-parseInt(_0x1be666(0x11e))/0x2)+-parseInt(_0x1be666(0x109))/0x3+parseInt(_0x1be666(0x106))/0x4+-parseInt(_0x1be666(0x113))/0x5*(parseInt(_0x1be666(0x105))/0x6)+parseInt(_0x1be666(0x10c))/0x7+parseInt(_0x1be666(0x111))/0x8*(-parseInt(_0x1be666(0x10b))/0x9)+parseInt(_0x1be666(0x115))/0xa;if(_0x1a6de1===_0x5f1aab)break;else _0x1031c6['push'](_0x1031c6['shift']());}catch(_0x5c8063){_0x1031c6['push'](_0x1031c6['shift']());}}}(a68_0x3be1,0x67420));const a68_0x35a90d={};a68_0x35a90d[a68_0x4d965e(0x119)]='BROWSERSTACK_PLATFORM_INDEX',a68_0x35a90d[a68_0x4d965e(0x114)]=a68_0x4d965e(0x107),a68_0x35a90d['KEY_FRAMEWORK_SESSION_ID']='framework_session_id',a68_0x35a90d[a68_0x4d965e(0x10f)]=a68_0x4d965e(0x110),a68_0x35a90d['KEY_CAPABILITIES']=a68_0x4d965e(0x104),a68_0x35a90d[a68_0x4d965e(0x116)]=a68_0x4d965e(0x118),a68_0x35a90d[a68_0x4d965e(0x112)]='started_at',a68_0x35a90d[a68_0x4d965e(0x10e)]='ended_at',a68_0x35a90d[a68_0x4d965e(0x11c)]=a68_0x4d965e(0x11b),a68_0x35a90d[a68_0x4d965e(0x117)]=a68_0x4d965e(0x108),a68_0x35a90d[a68_0x4d965e(0x103)]='get',a68_0x35a90d['COMMAND_SCREENSHOT']='screenshot',a68_0x35a90d['COMMAND_W3C_EXECUTE_SCRIPT']=a68_0x4d965e(0x11f),a68_0x35a90d['COMMAND_W3C_EXECUTE_SCRIPT_ASYNC']=a68_0x4d965e(0x10d),a68_0x35a90d[a68_0x4d965e(0x102)]=a68_0x4d965e(0x10a);function a68_0x3c1f(_0xdddfe6,_0x4fe3f0){const _0x3be161=a68_0x3be1();return a68_0x3c1f=function(_0x3c1f8b,_0x4518ae){_0x3c1f8b=_0x3c1f8b-0x102;let _0x4fe43f=_0x3be161[_0x3c1f8b];return _0x4fe43f;},a68_0x3c1f(_0xdddfe6,_0x4fe3f0);}const AutomationFrameworkConstants=a68_0x35a90d;module[a68_0x4d965e(0x11a)]=AutomationFrameworkConstants;function a68_0x3be1(){const _0x2e0b84=['input_capabilities','1096tFHyae','KEY_STARTED_AT','5IVScqy','KEY_HUB_URL','3167830ygBGkQ','KEY_IS_BROWSERSTACK_HUB','COMMAND_NEW_SESSION','is_browserstack_hub','ENV_BROWSERSTACK_PLATFORM_INDEX','exports','platform_index','KEY_PLATFORM_INDEX','1txyEob','1000266ZfnjQv','w3cexecutescript','COMMAND_QUIT','COMMAND_GET','capabilities','3526158FsORRp','2791260rLkeni','hub_url','newsession','159654BxweoR','quit','47178qnvfsZ','1870946xgRzlY','w3cexecutescriptasync','KEY_ENDED_AT','KEY_INPUT_CAPABILITIES'];a68_0x3be1=function(){return _0x2e0b84;};return a68_0x3be1();}
@@ -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
+ function a69_0xda2b(){const _0x17748f=['369oAOuYU','19868QSfVkU','test_name','KEY_FILE_LEVEL','TEST_LOG','KEY_HOOK_FAILURE_TYPE','hook_failure_reason','DEFAULT_TEST_RESULT','custom_metadata','KEY_TEST_LOCATION','KEY_TEST_SCOPE','13473vdDvQK','KEY_HOOKS_STARTED','KEY_TEST_UUID','KEY_HOOK_LAST_STARTED','automate_session_name','KEY_TEST_SCOPES','automate_session_reason','KIND_LOG','KEY_TEST_FAILURE_TYPE','KEY_HOOK_ID','KEY_FILE_PATH','test_hook_last_finished','test_framework_name','KEY_HOOK_NAME','KEY_TEST_FILE_PATH','test_scopes','test_framework_version','hook_failure_type','KEY_SESSION_NAME','KEY_AUTOMATE_SESSION_REASON','test_result','KEY_HOOK_FAILURE','logs','KEY_AUTOMATE_SESSION_STATUS','TEST_SCREENSHOT','test_location','KEY_HOOK_RESULT','hook_logs','KEY_AUTOMATE_SESSION_NAME','hook_id','167838XFPBWG','3186ZfDbTK','KEY_TEST_RESULT_AT','test_meta','3168112SuqTBv','KEY_HOOKS_FINISHED','KEY_TEST_RERUN_NAME','KEY_LOGS','KEY_HOOK_FAILURE_REASON','^(BEFORE_|AFTER_)','KEY_TEST_RETRY_OF','KIND_SCREENSHOT','1515vapNnd','test_tags','test_result_at','KEY_TEST_FRAMEWORK_VERSION','18339fHqzHR','510dPWscY','hook_failure','test_logs','test_started_at','KEY_FILE_NAME','test_rerun_name','2797473GUkgJi','KEY_TEST_FAILURE_REASON','event_started_at','KEY_CUSTOM_TAGS','file_name','retry_of','pending','HOOK_REGEX','test_scope','platform_index','KEY_TEST_NAME','46skzCRE','KEY_TEST_TAGS','test_code','KEY_TEST_ENDED_AT','test_hooks_started','file_path','KEY_FILE_SIZE','KEY_TEST_META','automate_session_status','336WUfNIw','test_session_name','hook_name','KEY_HOOK_LAST_FINISHED','KEY_HOOK_LOGS'];a69_0xda2b=function(){return _0x17748f;};return a69_0xda2b();}const a69_0x73e46b=a69_0x2f1d;(function(_0x8f1ee5,_0x391438){const _0x2a408a=a69_0x2f1d,_0x4e7899=_0x8f1ee5();while(!![]){try{const _0x5438a1=-parseInt(_0x2a408a(0x175))/0x1*(-parseInt(_0x2a408a(0x187))/0x2)+-parseInt(_0x2a408a(0x13c))/0x3*(parseInt(_0x2a408a(0x13d))/0x4)+parseInt(_0x2a408a(0x171))/0x5*(parseInt(_0x2a408a(0x166))/0x6)+-parseInt(_0x2a408a(0x17c))/0x7+parseInt(_0x2a408a(0x169))/0x8+-parseInt(_0x2a408a(0x147))/0x9*(parseInt(_0x2a408a(0x176))/0xa)+parseInt(_0x2a408a(0x165))/0xb*(parseInt(_0x2a408a(0x190))/0xc);if(_0x5438a1===_0x391438)break;else _0x4e7899['push'](_0x4e7899['shift']());}catch(_0x3cd66c){_0x4e7899['push'](_0x4e7899['shift']());}}}(a69_0xda2b,0x4de19));const a69_0xb41f8c={};function a69_0x2f1d(_0x33f3a4,_0x521e86){const _0xda2b8a=a69_0xda2b();return a69_0x2f1d=function(_0x2f1d4c,_0x4965f1){_0x2f1d4c=_0x2f1d4c-0x139;let _0x1d13c6=_0xda2b8a[_0x2f1d4c];return _0x1d13c6;},a69_0x2f1d(_0x33f3a4,_0x521e86);}a69_0xb41f8c[a69_0x73e46b(0x149)]='test_uuid',a69_0xb41f8c['KEY_TEST_ID']='test_id',a69_0xb41f8c[a69_0x73e46b(0x186)]=a69_0x73e46b(0x13e),a69_0xb41f8c[a69_0x73e46b(0x155)]='test_file_path',a69_0xb41f8c[a69_0x73e46b(0x188)]=a69_0x73e46b(0x172),a69_0xb41f8c['KEY_TEST_RESULT']=a69_0x73e46b(0x15b),a69_0xb41f8c[a69_0x73e46b(0x167)]=a69_0x73e46b(0x173),a69_0xb41f8c['KEY_TEST_STARTED_AT']=a69_0x73e46b(0x179),a69_0xb41f8c[a69_0x73e46b(0x18a)]='test_ended_at',a69_0xb41f8c[a69_0x73e46b(0x145)]=a69_0x73e46b(0x160),a69_0xb41f8c[a69_0x73e46b(0x146)]=a69_0x73e46b(0x184),a69_0xb41f8c[a69_0x73e46b(0x14c)]=a69_0x73e46b(0x156),a69_0xb41f8c['KEY_TEST_FRAMEWORK_NAME']=a69_0x73e46b(0x153),a69_0xb41f8c[a69_0x73e46b(0x174)]=a69_0x73e46b(0x157),a69_0xb41f8c['KEY_TEST_CODE']=a69_0x73e46b(0x189),a69_0xb41f8c[a69_0x73e46b(0x16b)]=a69_0x73e46b(0x17b),a69_0xb41f8c[a69_0x73e46b(0x16f)]=a69_0x73e46b(0x181),a69_0xb41f8c['KEY_PLATFORM_INDEX']=a69_0x73e46b(0x185),a69_0xb41f8c['KEY_TEST_FAILURE']='test_failure',a69_0xb41f8c[a69_0x73e46b(0x14f)]='test_failure_type',a69_0xb41f8c[a69_0x73e46b(0x17d)]='test_failure_reason',a69_0xb41f8c['KEY_TEST_LOGS']=a69_0x73e46b(0x178),a69_0xb41f8c[a69_0x73e46b(0x18e)]=a69_0x73e46b(0x168),a69_0xb41f8c[a69_0x73e46b(0x159)]=a69_0x73e46b(0x191),a69_0xb41f8c[a69_0x73e46b(0x163)]=a69_0x73e46b(0x14b),a69_0xb41f8c[a69_0x73e46b(0x15e)]=a69_0x73e46b(0x18f),a69_0xb41f8c[a69_0x73e46b(0x15a)]=a69_0x73e46b(0x14d),a69_0xb41f8c['KEY_EVENT_STARTED_AT']=a69_0x73e46b(0x17e),a69_0xb41f8c['KEY_EVENT_ENDED_AT']='event_ended_at',a69_0xb41f8c[a69_0x73e46b(0x150)]=a69_0x73e46b(0x164),a69_0xb41f8c[a69_0x73e46b(0x161)]='hook_result',a69_0xb41f8c[a69_0x73e46b(0x141)]=a69_0x73e46b(0x158),a69_0xb41f8c[a69_0x73e46b(0x16d)]=a69_0x73e46b(0x142),a69_0xb41f8c[a69_0x73e46b(0x15c)]=a69_0x73e46b(0x177),a69_0xb41f8c[a69_0x73e46b(0x13b)]=a69_0x73e46b(0x162),a69_0xb41f8c[a69_0x73e46b(0x154)]=a69_0x73e46b(0x139),a69_0xb41f8c[a69_0x73e46b(0x143)]=a69_0x73e46b(0x182),a69_0xb41f8c['DEFAULT_HOOK_RESULT']=a69_0x73e46b(0x182),a69_0xb41f8c[a69_0x73e46b(0x170)]=a69_0x73e46b(0x15f),a69_0xb41f8c[a69_0x73e46b(0x14e)]=a69_0x73e46b(0x140),a69_0xb41f8c[a69_0x73e46b(0x183)]=a69_0x73e46b(0x16e),a69_0xb41f8c[a69_0x73e46b(0x148)]=a69_0x73e46b(0x18b),a69_0xb41f8c[a69_0x73e46b(0x16a)]='test_hooks_finished',a69_0xb41f8c[a69_0x73e46b(0x14a)]='test_hook_last_started',a69_0xb41f8c[a69_0x73e46b(0x13a)]=a69_0x73e46b(0x152),a69_0xb41f8c[a69_0x73e46b(0x16c)]=a69_0x73e46b(0x15d),a69_0xb41f8c[a69_0x73e46b(0x17f)]=a69_0x73e46b(0x144),a69_0xb41f8c['KEY_TEST_ATTACHMENTS']='test_attachments',a69_0xb41f8c[a69_0x73e46b(0x18d)]='file_size',a69_0xb41f8c[a69_0x73e46b(0x17a)]=a69_0x73e46b(0x180),a69_0xb41f8c[a69_0x73e46b(0x151)]=a69_0x73e46b(0x18c),a69_0xb41f8c[a69_0x73e46b(0x13f)]='file_level';const TestFrameworkConstants=a69_0xb41f8c;module['exports']=TestFrameworkConstants;
@@ -1 +1 @@
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;
1
+ function a70_0x27d9(){const _0x584511=['key','NMQPX','DEFAULT_HOOK_RESULT','executionContext','VZjtF','KEY_HOOK_RESULT','KzjPP','failure_type','LPYdj','KEY_TEST_SCOPES','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','testFrameworkName','700pkjHpa','processPendingHooks','Tracked\x20cucumber\x20hook\x20event:\x20','length','INwIg','./testFramework','962533RsDwMa','passed','../TestInfo.js','NCerr','stringify','\x20pending\x20hooks\x20for\x20testId:\x20','hook_type','BUmzS','dlMkA','12459150vkvHEg','No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','./constants/testFrameworkConstants.js','rerun_name','getId','KEY_HOOK_FAILURE_REASON','resolveInstance','HtTzQ','trackEvent','exports','getInstance','instance','TEST','getTrackedInstance','meta','../state/testFrameworkState.js','../../../helpers/helper.js','failure','trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','getTestUUID','eventJson','KEY_TEST_CODE',',\x20error:\x20','KEY_TEST_RERUN_NAME','test','getAllData','startedAt','../grpcClient','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','failure_data','KEY_HOOK_FAILURE_TYPE','KEY_HOOKS_FINISHED','testFrameworkState','TeqeY','toString','\x20&\x20hook\x20=\x20','NONE','started_at','finished_at','Cucumber\x20log\x20created\x20event','platformIndex','sendLogCreatedEvent','IIreY','getCurrentInstanceName','21594SYmxAn','AuRrh','failure_reason','KEY_CUSTOM_TAGS','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','testUUID','KEY_HOOK_ID','\x20testState:\x20','MJekR','getTestFrameworks','getRef','args','uuid','\x20and\x20args\x20=\x20','mFtAV','storePendingHook','TtbNL','name','failed','body','pdtpb','\x20&\x20hookState=','KEY_EVENT_STARTED_AT','__workerDetails','\x20response=','INIT_TEST','getContext','trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20','customRerunParam','parseCucumberTest','parseCucumberTestResult','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','hasPendingHooks','workerInfo','\x20for\x20test:\x20','KEY_TEST_STARTED_AT','KEY_TEST_FRAMEWORK_NAME','tags','ceil','KEY_TEST_META','KEY_HOOK_NAME','trackEvent:\x20unsupported\x20testFrameworkState=','pop','hookState',',\x20state:\x20','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','from','KEY_HOOKS_STARTED','file_name','base64','189BYmbsK','scopes','KEY_LOGS','debug','sendLogCreatedEvent:\x20for\x20testId:\x20','../state/hookState.js','No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','\x20hookState:\x20','getTestDetails','wnwqb','PRE','push','util','\x20target=',',\x20storing\x20as\x20pending\x20hook','KEY_TEST_RESULT_AT','error','KEY_TEST_TAGS','iGhmF','code','trackCucumberInstance','getProcessId','KEY_TEST_UUID','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test','fCMTF','xCNda','yxOJZ','finishedAt','KEY_TEST_FRAMEWORK_VERSION','../../../helpers/classLogger.js','createTestFrameworkEventPayload\x20testId:\x20','UnhandledError','2314100ifwCWA','HHFgy','KEY_TEST_RESULT','getCurrentTestState','testData','4387432LNmfRS','FvNhj','KEY_TEST_FAILURE_REASON','Updated\x20cucumber\x20test\x20result:\x20',',\x20hookState:\x20','slice','cWjud','test_run_id','readLogObjects','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','qdoVq','\x20batch\x20','runHooks','DEFAULT_TEST_RESULT','getTestFrameworksVersions','KEY_TEST_LOGS','KEY_TEST_LOCATION','addMultipleEntries','UQHeh','Xlkam','createContext','Parsed\x20cucumber\x20test:\x20','toISOString','KEY_TEST_SCOPE','keys','KEY_AUTOMATE_SESSION_NAME','format','KEY_TEST_FAILURE','location','logCreatedEvent','POST','../instances/trackedInstance.js',',\x20state=','testFrameworkVersion','../instances/testFrameworkInstance.js','split','trackHookEvent','KEY_TEST_FILE_PATH','\x20with\x20result:\x20','endedAt','KEY_TEST_NAME','153534riTlEC','hooks','sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','inspect','KEY_TEST_ATTACHMENTS','1368620WZjuev','concat','KEY_HOOK_LOGS','get','setTestDetails','result'];a70_0x27d9=function(){return _0x584511;};return a70_0x27d9();}const a70_0x14d1a4=a70_0x2433;(function(_0x2d1936,_0x582cc6){const _0x127492=a70_0x2433,_0x1f8049=_0x2d1936();while(!![]){try{const _0x125a06=parseInt(_0x127492(0x1e1))/0x1+-parseInt(_0x127492(0x196))/0x2+-parseInt(_0x127492(0x216))/0x3*(-parseInt(_0x127492(0x1db))/0x4)+-parseInt(_0x127492(0x1c9))/0x5+parseInt(_0x127492(0x1c4))/0x6*(parseInt(_0x127492(0x176))/0x7)+parseInt(_0x127492(0x19b))/0x8+-parseInt(_0x127492(0x1ea))/0x9;if(_0x125a06===_0x582cc6)break;else _0x1f8049['push'](_0x1f8049['shift']());}catch(_0x1850a){_0x1f8049['push'](_0x1f8049['shift']());}}}(a70_0x27d9,0x9dcf7));const TestFramework=require(a70_0x14d1a4(0x1e0)),TestFrameworkState=require(a70_0x14d1a4(0x1f9)),HookState=require(a70_0x14d1a4(0x17b)),{createClassLogger}=require(a70_0x14d1a4(0x193)),TestFrameworkInstance=require(a70_0x14d1a4(0x1bd)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a70_0x14d1a4(0x1ba)),TestFrameworkConstants=require(a70_0x14d1a4(0x1ec)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a70_0x14d1a4(0x1fa)),logger=createClassLogger('CucumberTestFramework'),{v4:uuidv4}=require(a70_0x14d1a4(0x222)),util=require(a70_0x14d1a4(0x182)),TestInfo=require(a70_0x14d1a4(0x1e3)),GrpcClient=require(a70_0x14d1a4(0x205));class CucumberTestFramework extends TestFramework{constructor(_0x22e24d,_0x478694,_0x3ca611){super(_0x22e24d,_0x478694,_0x3ca611);}async[a70_0x14d1a4(0x1f2)](_0x371c26,_0x23dc27,_0x59c4e5={}){const _0x31f6ea=a70_0x14d1a4,_0x46ebc5={};_0x46ebc5[_0x31f6ea(0x188)]=_0x31f6ea(0x1fc),_0x46ebc5['FvNhj']=function(_0x3aa130,_0x19576d){return _0x3aa130===_0x19576d;},_0x46ebc5[_0x31f6ea(0x226)]=function(_0x5b4820,_0x33e60a){return _0x5b4820===_0x33e60a;},_0x46ebc5['INwIg']='trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s';const _0x5216fb=_0x46ebc5;await super[_0x31f6ea(0x1f2)](_0x371c26,_0x23dc27,_0x59c4e5);const _0x14d418=this[_0x31f6ea(0x1f0)](_0x371c26,_0x23dc27,_0x59c4e5);if(!_0x14d418){logger[_0x31f6ea(0x179)](_0x5216fb[_0x31f6ea(0x188)]);return;}try{let _0x5631c4,_0x22282b;switch(_0x371c26){case TestFrameworkState['TEST']:_0x5631c4=_0x59c4e5[_0x31f6ea(0x202)],_0x22282b=TestInfo[_0x31f6ea(0x1fd)](_0x5631c4['id']);if(_0x5216fb[_0x31f6ea(0x19c)](_0x23dc27,HookState[_0x31f6ea(0x180)])){logger[_0x31f6ea(0x179)](_0x31f6ea(0x163)+_0x5631c4['id']);const _0x20cabb={};_0x20cabb[_0x31f6ea(0x21b)]=_0x22282b,_0x20cabb['testData']=_0x5631c4,_0x14d418['addMultipleEntries'](this[_0x31f6ea(0x161)](_0x20cabb)),logger[_0x31f6ea(0x179)](_0x31f6ea(0x171)+_0x5631c4['id']),await this[_0x31f6ea(0x1dc)](_0x14d418,_0x5631c4['id']);}else{if(_0x5216fb[_0x31f6ea(0x19c)](_0x23dc27,HookState[_0x31f6ea(0x1b9)])){const _0x230255={};_0x230255[_0x31f6ea(0x21b)]=_0x22282b,_0x230255[_0x31f6ea(0x19a)]=_0x5631c4,_0x14d418['addMultipleEntries'](this[_0x31f6ea(0x162)](_0x230255)),await this[_0x31f6ea(0x1dc)](_0x14d418,_0x5631c4['id']);}}break;case TestFrameworkState['LOG_REPORT']:_0x5216fb[_0x31f6ea(0x226)](_0x23dc27,HookState[_0x31f6ea(0x1b9)])&&await this[_0x31f6ea(0x213)](_0x14d418,_0x371c26,_0x59c4e5);break;default:if(CLIUtils['matchHookRegex'](_0x371c26[_0x31f6ea(0x20c)]()[_0x31f6ea(0x1be)]('.')[0x1])){const _0x4801b5=await this['trackHookEvent'](_0x14d418,_0x371c26,_0x23dc27,_0x59c4e5);_0x14d418[_0x31f6ea(0x1ac)](_0x4801b5);}else logger[_0x31f6ea(0x179)](_0x31f6ea(0x16d)+_0x371c26+_0x31f6ea(0x159)+_0x23dc27);break;}}catch(_0xd1fe6d){logger['error'](util[_0x31f6ea(0x1b5)](_0x5216fb[_0x31f6ea(0x1df)],_0x371c26,_0x23dc27,_0x59c4e5[_0x31f6ea(0x1de)],_0xd1fe6d));}_0x59c4e5['instance']=_0x14d418,await this[_0x31f6ea(0x1a7)](_0x14d418,_0x371c26,_0x23dc27,_0x59c4e5);}[a70_0x14d1a4(0x1f0)](_0x1b95ce,_0x2a990c,_0x28acc4={}){const _0x3e8ad4=a70_0x14d1a4,_0x530198={};_0x530198[_0x3e8ad4(0x1ae)]=function(_0xb7bb52,_0x5c41a1){return _0xb7bb52===_0x5c41a1;};const _0x445316=_0x530198;let _0x35ea95=null;return(_0x445316[_0x3e8ad4(0x1ae)](_0x1b95ce,TestFrameworkState[_0x3e8ad4(0x15d)])||_0x445316['Xlkam'](_0x1b95ce,TestFrameworkState[_0x3e8ad4(0x20e)]))&&this[_0x3e8ad4(0x18a)](_0x1b95ce,_0x28acc4),_0x35ea95=TestFramework[_0x3e8ad4(0x1f7)](),_0x35ea95;}[a70_0x14d1a4(0x18a)](_0x3b35c5,_0x113843){const _0x453f34=a70_0x14d1a4,_0x1c7c3a=CLIUtils[_0x453f34(0x215)](),_0x59437b=TrackedInstance[_0x453f34(0x1af)](_0x1c7c3a);let _0x17ff7a=null;logger['debug']('trackCucumberInstance:\x20created\x20instance\x20for\x20target='+_0x1c7c3a+_0x453f34(0x1bb)+_0x3b35c5),_0x17ff7a=new TestFrameworkInstance(_0x59437b,this[_0x453f34(0x21f)](),this['getTestFrameworksVersions'](),_0x3b35c5,HookState[_0x453f34(0x20e)]),TestFramework['setTrackedInstance'](_0x59437b,_0x17ff7a),logger[_0x453f34(0x179)]('trackCucumberInstance:\x20saved\x20instance\x20contextId='+_0x59437b[_0x453f34(0x1ee)]()+_0x453f34(0x183)+_0x1c7c3a);}[a70_0x14d1a4(0x161)](_0x84cf11){const _0x5c6e48=a70_0x14d1a4,_0x1444af={};_0x1444af[_0x5c6e48(0x217)]=_0x5c6e48(0x18d);const _0x210ef7=_0x1444af,{testUUID:_0x143441,testData:_0x10d0d3}=_0x84cf11;if(!_0x10d0d3||!_0x10d0d3[_0x5c6e48(0x222)])return logger[_0x5c6e48(0x179)](_0x210ef7['AuRrh']),{};const _0x2b79cf=_0x143441,_0x3eab6b=_0x10d0d3[_0x5c6e48(0x222)],_0x5ad117=this[_0x5c6e48(0x21f)]()[0x0],_0x209fb0=this[_0x5c6e48(0x1a9)](),_0x53cd6d={[TestFrameworkConstants[_0x5c6e48(0x168)]]:_0x5ad117,[TestFrameworkConstants[_0x5c6e48(0x192)]]:_0x209fb0[_0x5ad117],[TestFrameworkConstants[_0x5c6e48(0x1aa)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants['KEY_TEST_UUID']]:_0x2b79cf,[TestFrameworkConstants[_0x5c6e48(0x198)]]:TestFrameworkConstants[_0x5c6e48(0x1a8)],[TestFrameworkConstants[_0x5c6e48(0x1b4)]]:_0x10d0d3['name']||'',[TestFrameworkConstants[_0x5c6e48(0x1c0)]]:_0x10d0d3[_0x5c6e48(0x174)]||'',[TestFrameworkConstants['KEY_TEST_ID']]:_0x3eab6b,[TestFrameworkConstants[_0x5c6e48(0x1c3)]]:_0x10d0d3['name']||'',[TestFrameworkConstants[_0x5c6e48(0x1ab)]]:_0x10d0d3[_0x5c6e48(0x1b7)]||'',[TestFrameworkConstants[_0x5c6e48(0x1ff)]]:_0x10d0d3[_0x5c6e48(0x157)]?.[_0x5c6e48(0x189)]||null,[TestFrameworkConstants[_0x5c6e48(0x187)]]:_0x10d0d3[_0x5c6e48(0x169)]||[],[TestFrameworkConstants[_0x5c6e48(0x167)]]:_0x10d0d3[_0x5c6e48(0x204)]||new Date()['toISOString'](),[TestFrameworkConstants[_0x5c6e48(0x1b2)]]:_0x10d0d3['scopes']?.[0x0]||'',[TestFrameworkConstants[_0x5c6e48(0x1d8)]]:_0x10d0d3[_0x5c6e48(0x177)]||[],[TestFrameworkConstants[_0x5c6e48(0x201)]]:_0x10d0d3[_0x5c6e48(0x160)]?.[_0x5c6e48(0x1ed)]||_0x10d0d3[_0x5c6e48(0x227)]||'',[TestFrameworkConstants[_0x5c6e48(0x219)]]:{},[TestFrameworkConstants['KEY_TEST_META']]:_0x10d0d3[_0x5c6e48(0x1f8)]||{}};TestInfo[_0x5c6e48(0x1cd)](_0x3eab6b,_0x53cd6d),logger[_0x5c6e48(0x179)](_0x5c6e48(0x1b0)+_0x10d0d3[_0x5c6e48(0x227)]+'\x20with\x20UUID:\x20'+_0x2b79cf);const _0x311835={};return _0x311835[_0x3eab6b]=_0x53cd6d,_0x311835;}[a70_0x14d1a4(0x162)](_0x239bfd){const _0x15f830=a70_0x14d1a4,_0x47eba0={'wnwqb':'No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','xxDOs':'unknown','HHFgy':function(_0x311123,_0x3fbb38){return _0x311123===_0x3fbb38;},'pdtpb':'failed','NCerr':'UnhandledError','UQHeh':function(_0x580038,_0x5f087e,_0x3f0a33){return _0x580038(_0x5f087e,_0x3f0a33);},'qdoVq':function(_0x51e8fa,_0x5b6fbc){return _0x51e8fa>_0x5b6fbc;},'eywgl':function(_0x359cf8,_0x3d826e){return _0x359cf8>_0x3d826e;}},{testUUID:_0x33ef08,testData:_0x6feb79}=_0x239bfd;if(!_0x6feb79||!_0x6feb79['uuid'])return logger[_0x15f830(0x179)](_0x47eba0[_0x15f830(0x17f)]),{};const _0x2f2fb7=this['resolveInstance'](TestFrameworkState[_0x15f830(0x1f6)],HookState[_0x15f830(0x1b9)]),_0x300022=_0x6feb79[_0x15f830(0x222)],_0xdabba5=TestInfo[_0x15f830(0x17e)](_0x300022)||{},_0x13548e=_0xdabba5?_0xdabba5[TestFrameworkConstants[_0x15f830(0x219)]]||{}:{},_0x27ddd8={..._0xdabba5,[TestFrameworkConstants[_0x15f830(0x198)]]:_0x6feb79['result']||_0x47eba0['xxDOs'],[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x6feb79[_0x15f830(0x191)]||new Date()['toISOString'](),[TestFrameworkConstants[_0x15f830(0x185)]]:new Date()[_0x15f830(0x1b1)](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x13548e,[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x15f830(0x16b)]]:_0x6feb79[_0x15f830(0x1f8)]||{}};_0x47eba0[_0x15f830(0x197)](_0x6feb79['result'],_0x47eba0[_0x15f830(0x158)])&&_0x6feb79[_0x15f830(0x1fb)]&&(_0x27ddd8[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]=_0x6feb79[_0x15f830(0x1d6)]||_0x47eba0[_0x15f830(0x1e4)],_0x27ddd8[TestFrameworkConstants[_0x15f830(0x19d)]]=_0x6feb79['failure_reason']||'',_0x27ddd8[TestFrameworkConstants[_0x15f830(0x1b6)]]=_0x6feb79[_0x15f830(0x1fb)]);const _0x34dcd4=TestInfo[_0x15f830(0x17e)](_0x300022)[TestFrameworkConstants[_0x15f830(0x1c8)]]||{},_0x2379e4=_0x47eba0[_0x15f830(0x1ad)](getManualUploadLogs,_0x34dcd4,_0x2f2fb7['getAllData']()['get'](_0x300022)[TestFrameworkConstants[_0x15f830(0x18c)]]);if(_0x47eba0[_0x15f830(0x1a5)](_0x2379e4[_0x15f830(0x1de)],0x0)){const _0x22e9de=_0x27ddd8[TestFrameworkConstants[_0x15f830(0x178)]]||[];_0x27ddd8[TestFrameworkConstants[_0x15f830(0x178)]]=[..._0x22e9de,..._0x2379e4];}_0x6feb79[_0x15f830(0x1c5)]&&_0x47eba0['eywgl'](_0x6feb79[_0x15f830(0x1c5)][_0x15f830(0x1de)],0x0)&&(_0x27ddd8[TestFrameworkConstants[_0x15f830(0x209)]]=_0x6feb79[_0x15f830(0x1c5)]);TestInfo[_0x15f830(0x1cd)](_0x300022,_0x27ddd8),logger['debug'](_0x15f830(0x19e)+_0x6feb79[_0x15f830(0x227)]+_0x15f830(0x1c1)+_0x6feb79[_0x15f830(0x1ce)]);const _0x13e090={};return _0x13e090[_0x300022]=_0x27ddd8,_0x13e090;}async[a70_0x14d1a4(0x1bf)](_0x1b6e7a,_0x30c778,_0x5e26c2,_0x52be58){const _0x174484=a70_0x14d1a4,_0x34c2c2={'xCNda':_0x174484(0x1eb),'fCMTF':function(_0x58d2a9){return _0x58d2a9();},'zklXk':function(_0x4c3796,_0x328599){return _0x4c3796 in _0x328599;},'MJekR':function(_0x1294ee,_0x4130a9){return _0x1294ee in _0x4130a9;},'KzjPP':function(_0x3622e4,_0x4c9f53){return _0x3622e4===_0x4c9f53;},'LPYdj':function(_0x204cca,_0x582a06){return _0x204cca>_0x582a06;},'tHrBM':function(_0x238e13,_0x534b40){return _0x238e13===_0x534b40;},'WrjRp':_0x174484(0x228),'atyFM':_0x174484(0x195),'dlMkA':_0x174484(0x1e2),'IIreY':function(_0xcea5ae,_0x32a34a){return _0xcea5ae!==_0x32a34a;}},{hookData:_0x5da11b}=_0x52be58;if(!_0x5da11b)return logger[_0x174484(0x179)](_0x34c2c2[_0x174484(0x18f)]),{};const _0x475e37=_0x5da11b[_0x174484(0x222)]||_0x34c2c2[_0x174484(0x18e)](uuidv4),_0x17f275=_0x5da11b['test_run_id'],_0x2ab090=_0x30c778[_0x174484(0x20c)]()['split']('.')[0x1],_0x46f1f3=TestInfo[_0x174484(0x17e)](_0x17f275)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{},_0x99ffe7=_0x1b6e7a['getAllData']()['get'](_0x17f275);if(!_0x99ffe7)return logger['debug'](_0x174484(0x17c)+_0x17f275+_0x174484(0x184)),this[_0x174484(0x225)](_0x1b6e7a,_0x17f275,_0x30c778,_0x5e26c2,_0x52be58),{};let _0xe962dc=_0x99ffe7[TestFrameworkConstants[_0x174484(0x173)]];!_0xe962dc&&(_0xe962dc={});!_0x34c2c2['zklXk'](_0x2ab090,_0xe962dc)&&(_0xe962dc[_0x2ab090]=[]);let _0x43e5be=_0x99ffe7[TestFrameworkConstants[_0x174484(0x209)]];!_0x43e5be&&(_0x43e5be={});!_0x34c2c2[_0x174484(0x21e)](_0x2ab090,_0x43e5be)&&(_0x43e5be[_0x2ab090]=[]);const _0x147bb2={[TestFrameworkConstants[_0x174484(0x173)]]:_0xe962dc,[TestFrameworkConstants[_0x174484(0x209)]]:_0x43e5be},_0x37282f={};_0x37282f[_0x17f275]=_0x147bb2;const _0x3682c8=_0x37282f;if(_0x34c2c2[_0x174484(0x1d5)](_0x5e26c2,HookState[_0x174484(0x180)])){const _0x2cf489={[TestFrameworkConstants[_0x174484(0x21c)]]:_0x475e37,[TestFrameworkConstants[_0x174484(0x1d4)]]:TestFrameworkConstants[_0x174484(0x1d1)],[TestFrameworkConstants[_0x174484(0x15a)]]:_0x5da11b[_0x174484(0x20f)],[TestFrameworkConstants[_0x174484(0x1cb)]]:[],[TestFrameworkConstants[_0x174484(0x16c)]]:_0x5da11b['hook_type'],[TestFrameworkConstants[_0x174484(0x219)]]:_0x46f1f3};_0x2cf489[_0x174484(0x1cf)]=_0x2ab090;const _0x478a6f=_0x2cf489;_0xe962dc[_0x2ab090][_0x174484(0x181)](_0x478a6f),_0x3682c8[_0x17f275][TestFrameworkConstants['KEY_HOOK_LAST_STARTED']]=_0x2ab090,logger[_0x174484(0x179)]('trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20'+_0x2ab090+_0x174484(0x20d)+_0x478a6f+'\x20\x20and\x20args\x20=\x20'+_0x52be58);}else{if(_0x34c2c2[_0x174484(0x1d5)](_0x5e26c2,HookState['POST'])){const _0x4d760a=_0x5da11b[_0x174484(0x1ce)],_0x1ce371=_0xe962dc[_0x2ab090]||[];logger[_0x174484(0x179)](_0x174484(0x15f)+_0x1ce371+_0x174484(0x223)+_0x52be58);if(_0x34c2c2[_0x174484(0x1d7)](_0x1ce371[_0x174484(0x1de)],0x0)){const _0x2294fe=_0x1ce371[_0x174484(0x16e)]();_0x34c2c2['tHrBM'](_0x5da11b[_0x174484(0x1ce)],_0x34c2c2['WrjRp'])&&_0x5da11b[_0x174484(0x207)]?(_0x2294fe[TestFrameworkConstants[_0x174484(0x208)]]=_0x5da11b['failure_type']||_0x34c2c2['atyFM'],_0x2294fe[TestFrameworkConstants[_0x174484(0x1ef)]]=_0x5da11b[_0x174484(0x218)]||'',_0x2294fe[TestFrameworkConstants['KEY_HOOK_FAILURE']]=_0x5da11b[_0x174484(0x207)]):_0x2294fe[TestFrameworkConstants[_0x174484(0x1d4)]]=_0x34c2c2[_0x174484(0x1e9)];_0x34c2c2[_0x174484(0x214)](_0x4d760a,TestFrameworkConstants[_0x174484(0x1d1)])&&(_0x2294fe[TestFrameworkConstants[_0x174484(0x1d4)]]=_0x4d760a);_0x2294fe[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x5da11b[_0x174484(0x210)]||new Date()[_0x174484(0x1b1)](),_0x2294fe[TestFrameworkConstants[_0x174484(0x219)]]=_0x46f1f3;const _0x3d9f41=_0x2294fe[TestFrameworkConstants[_0x174484(0x21c)]];!_0x43e5be[_0x2ab090]&&(_0x43e5be[_0x2ab090]=[]),_0x43e5be[_0x2ab090][_0x174484(0x181)](_0x2294fe),_0x3682c8[_0x17f275][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x2ab090;}}}return logger['debug'](_0x174484(0x1dd)+_0x5da11b[_0x174484(0x1e7)]+'\x20with\x20id\x20'+_0x475e37+_0x174484(0x166)+_0x17f275),_0x3682c8;}['createTestFrameworkEventPayload'](_0x254fa2){const _0x1113ad=a70_0x14d1a4,_0x17d091={};_0x17d091[_0x1113ad(0x1d0)]=_0x1113ad(0x175);const _0x3df845=_0x17d091;try{const _0x5c13db=_0x254fa2[_0x1113ad(0x202)]?_0x254fa2[_0x1113ad(0x202)]['id']:_0x254fa2['hookData'][_0x1113ad(0x1a2)],_0x29f167=_0x254fa2[_0x1113ad(0x1f5)],_0x8fdd7d=_0x29f167[_0x1113ad(0x15e)](),_0x51ffaa=_0x29f167[_0x1113ad(0x203)]()[_0x1113ad(0x1cc)](_0x5c13db);if(!_0x51ffaa)return logger[_0x1113ad(0x179)](_0x1113ad(0x21a)+_0x5c13db),{};logger['debug'](_0x1113ad(0x194)+_0x5c13db);const {[TestFrameworkConstants[_0x1113ad(0x168)]]:_0x3cc851='',[TestFrameworkConstants[_0x1113ad(0x192)]]:_0x4f3666='',[TestFrameworkConstants[_0x1113ad(0x167)]]:_0xc94a82='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x12c7b1=''}=_0x51ffaa,_0x34e047=_0x29f167[_0x1113ad(0x199)]()['toString']()[_0x1113ad(0x1be)]('.')[0x1],_0x4b7453=_0x29f167['getCurrentHookState']()[_0x1113ad(0x20c)]()[_0x1113ad(0x1be)]('.')[0x1],_0x17d8b0=global?.[_0x1113ad(0x15b)]?.[_0x1113ad(0x165)]?.['parallelIndex'],_0x1c47e3=_0x29f167[_0x1113ad(0x220)](),_0x3e31e3=Buffer[_0x1113ad(0x172)](JSON[_0x1113ad(0x1e5)](_0x51ffaa))[_0x1113ad(0x20c)](_0x3df845['NMQPX']),_0x11ab7a={'hash':_0x8fdd7d[_0x1113ad(0x1ee)](),'threadId':_0x8fdd7d['getThreadId']()[_0x1113ad(0x20c)](),'processId':_0x8fdd7d[_0x1113ad(0x18b)]()['toString']()},_0x1465fa={};_0x1465fa[_0x1113ad(0x212)]=_0x17d8b0,_0x1465fa[_0x1113ad(0x1da)]=_0x3cc851,_0x1465fa[_0x1113ad(0x1bc)]=_0x4f3666,_0x1465fa[_0x1113ad(0x20a)]=_0x34e047,_0x1465fa[_0x1113ad(0x16f)]=_0x4b7453,_0x1465fa['startedAt']=_0xc94a82,_0x1465fa[_0x1113ad(0x1c2)]=_0x12c7b1,_0x1465fa[_0x1113ad(0x222)]=_0x1c47e3,_0x1465fa[_0x1113ad(0x1fe)]=_0x3e31e3,_0x1465fa[_0x1113ad(0x1d2)]=_0x11ab7a;const _0x131481=_0x1465fa;return logger[_0x1113ad(0x179)](_0x1113ad(0x1d9)+_0x5c13db+_0x1113ad(0x21d)+_0x34e047+_0x1113ad(0x17d)+_0x4b7453),_0x131481;}catch(_0x1adca0){return logger['error']('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util[_0x1113ad(0x1b5)](_0x1adca0)),{};}}async['sendLogCreatedEvent'](_0x463b85,_0x99e394,_0x3bf789){const _0x510e4f=a70_0x14d1a4,_0x3d4065={'mFtAV':function(_0x54174b,_0x24e311,_0x3d6733){return _0x54174b(_0x24e311,_0x3d6733);},'cWjud':function(_0x28f831,_0x4b043f){return _0x28f831===_0x4b043f;},'FAhpc':_0x510e4f(0x1c6),'yxOJZ':function(_0x445abe,_0x42d70f){return _0x445abe/_0x42d70f;},'wZdNq':function(_0x4c3240,_0x31f55b){return _0x4c3240<_0x31f55b;},'TeqeY':function(_0x465e7d,_0x5589a2){return _0x465e7d*_0x5589a2;},'BUmzS':function(_0x412a60,_0x14e33b){return _0x412a60+_0x14e33b;},'VZjtF':_0x510e4f(0x211)};try{const _0x24f1af=_0x3bf789['testUUID'],_0x3f0d7d=_0x463b85[_0x510e4f(0x203)]()[_0x510e4f(0x1cc)](_0x24f1af),{[TestFrameworkConstants[_0x510e4f(0x168)]]:_0x236f53='',[TestFrameworkConstants[_0x510e4f(0x192)]]:_0x48a0ad=''}=_0x3f0d7d,_0x28fb45=TestInfo[_0x510e4f(0x1a3)](_0x24f1af),_0x563023=TestInfo[_0x510e4f(0x17e)](_0x24f1af)[TestFrameworkConstants[_0x510e4f(0x1c8)]]||{},_0x5f1576=_0x3d4065[_0x510e4f(0x224)](getMediaArtifactsLogs,_0x563023,_0x463b85[_0x510e4f(0x203)]()[_0x510e4f(0x1cc)](_0x24f1af)[TestFrameworkConstants[_0x510e4f(0x18c)]]),_0x527a7f=(_0x28fb45||[])[_0x510e4f(0x1ca)](_0x5f1576||[]);if(!_0x527a7f||_0x3d4065[_0x510e4f(0x1a1)](_0x527a7f[_0x510e4f(0x1de)],0x0)){logger['debug'](_0x3d4065['FAhpc']);return;}const _0x47f7e5=0x28,_0x210092=Math[_0x510e4f(0x16a)](_0x3d4065[_0x510e4f(0x190)](_0x527a7f[_0x510e4f(0x1de)],_0x47f7e5));for(let _0x1c9413=0x0;_0x3d4065['wZdNq'](_0x1c9413,_0x210092);_0x1c9413++){const _0x12015f=_0x3d4065[_0x510e4f(0x20b)](_0x1c9413,_0x47f7e5),_0x462693=_0x3d4065[_0x510e4f(0x1e8)](_0x12015f,_0x47f7e5),_0x431ce9=_0x527a7f[_0x510e4f(0x1a0)](_0x12015f,_0x462693),_0xeea2ca={'platformIndex':'0','logs':_0x431ce9,'testFrameworkName':_0x236f53,'testFrameworkVersion':_0x48a0ad,'testFrameworkState':_0x99e394[_0x510e4f(0x20c)]()[_0x510e4f(0x1be)]('.')[0x1]};logger[_0x510e4f(0x179)]('sendLogCreatedEvent:\x20for\x20testId:\x20'+_0x24f1af+_0x510e4f(0x1a6)+_0x3d4065[_0x510e4f(0x1e8)](_0x1c9413,0x1)+'/'+_0x210092+'\x20payload='+util[_0x510e4f(0x1c7)](_0xeea2ca));const _0x460e71=await GrpcClient[_0x510e4f(0x1f4)]()[_0x510e4f(0x1b8)](_0xeea2ca);logger[_0x510e4f(0x179)](_0x510e4f(0x17a)+_0x24f1af+_0x510e4f(0x1a6)+_0x3d4065[_0x510e4f(0x1e8)](_0x1c9413,0x1)+'/'+_0x210092+_0x510e4f(0x15c)+util['inspect'](_0x460e71));}}catch(_0x46589e){logger[_0x510e4f(0x186)]('sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20'+util['format'](_0x46589e));}logger[_0x510e4f(0x179)](_0x3d4065[_0x510e4f(0x1d3)]);}[a70_0x14d1a4(0x225)](_0xf3ac46,_0x4fb95d,_0xf1455a,_0x4b6ad5,_0x5573a2){const _0xe0fc33=a70_0x14d1a4,_0x516b6e={'testId':_0x4fb95d,'testFrameworkState':_0xf1455a,'hookState':_0x4b6ad5,'args':_0x5573a2,'timestamp':new Date()[_0xe0fc33(0x1b1)]()};_0xf3ac46['addPendingHook'](_0x4fb95d,_0x516b6e),logger[_0xe0fc33(0x179)]('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x4fb95d+_0xe0fc33(0x170)+_0xf1455a+_0xe0fc33(0x19f)+_0x4b6ad5);}async[a70_0x14d1a4(0x1dc)](_0x449755,_0x1e9221){const _0x3ed962=a70_0x14d1a4,_0x597e31={};_0x597e31[_0x3ed962(0x1f1)]=function(_0x46fa96,_0x236395){return _0x46fa96>_0x236395;};const _0x2a0c3a=_0x597e31;if(!_0x449755[_0x3ed962(0x164)](_0x1e9221))return;const _0x3fef20=_0x449755['getPendingHooks'](_0x1e9221);logger['debug']('Processing\x20'+_0x3fef20[_0x3ed962(0x1de)]+_0x3ed962(0x1e6)+_0x1e9221);for(const _0x4c7ec5 of _0x3fef20){try{const _0x528bae=await this['trackHookEvent'](_0x449755,_0x4c7ec5['testFrameworkState'],_0x4c7ec5['hookState'],_0x4c7ec5[_0x3ed962(0x221)]);_0x528bae&&_0x2a0c3a[_0x3ed962(0x1f1)](Object[_0x3ed962(0x1b3)](_0x528bae)[_0x3ed962(0x1de)],0x0)&&_0x449755['addMultipleEntries'](_0x528bae),await this['runHooks'](_0x449755,_0x4c7ec5[_0x3ed962(0x20a)],_0x4c7ec5[_0x3ed962(0x16f)],_0x4c7ec5[_0x3ed962(0x221)]);}catch(_0x13407c){logger[_0x3ed962(0x186)](_0x3ed962(0x1a4)+_0x1e9221+_0x3ed962(0x200)+_0x13407c);}}_0x449755['removePendingHooks'](_0x1e9221),logger[_0x3ed962(0x179)](_0x3ed962(0x206)+_0x1e9221);}}function a70_0x2433(_0x5be377,_0x5a44c2){const _0x27d923=a70_0x27d9();return a70_0x2433=function(_0x243382,_0x46dc93){_0x243382=_0x243382-0x157;let _0x364a38=_0x27d923[_0x243382];return _0x364a38;},a70_0x2433(_0x5be377,_0x5a44c2);}module[a70_0x14d1a4(0x1f3)]=CucumberTestFramework;