browserstack-node-sdk 1.52.0 → 1.52.2

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 (193) 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/puppeteer/patches.js +1 -1
  90. package/src/bin/puppeteer/sessionDetails.js +1 -1
  91. package/src/bin/puppeteer/test.setup.js +1 -1
  92. package/src/bin/runner.js +1 -1
  93. package/src/bin/setup.js +1 -1
  94. package/src/bin/test-runner/index.js +1 -1
  95. package/src/bin/test-runner/runTest.js +1 -1
  96. package/src/bin/test-runner/testWorker.js +1 -1
  97. package/src/bin/utils/apiUtilityMethods.js +1 -1
  98. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  99. package/src/bin/utils/constants.js +1 -1
  100. package/src/bin/utils/log4jsAppender.js +1 -1
  101. package/src/bin/utils/logPatcher.js +1 -1
  102. package/src/bin/utils/logReportingAPI.js +1 -1
  103. package/src/bin/utils/playwright-patcher.js +1 -1
  104. package/src/bin/utils/puppeteer-patcher.js +1 -1
  105. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  106. package/src/bin/utils/sharedUtils.js +1 -1
  107. package/src/bin/v2/TestInfo.js +1 -1
  108. package/src/bin/v2/browserstackCLI.js +1 -1
  109. package/src/bin/v2/cliUtils.js +1 -1
  110. package/src/bin/v2/customTagManager.js +1 -1
  111. package/src/bin/v2/eventDispatcher.js +1 -1
  112. package/src/bin/v2/framework/automationFramework.js +1 -1
  113. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  114. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  115. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  116. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  117. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  118. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  119. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  120. package/src/bin/v2/framework/testFramework.js +1 -1
  121. package/src/bin/v2/grpcClient.js +1 -1
  122. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  123. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  124. package/src/bin/v2/instances/trackedContext.js +1 -1
  125. package/src/bin/v2/instances/trackedInstance.js +1 -1
  126. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  127. package/src/bin/v2/modules/baseModule.js +1 -1
  128. package/src/bin/v2/modules/loadTestModule.js +1 -1
  129. package/src/bin/v2/modules/observabilityModule.js +1 -1
  130. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  131. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  132. package/src/bin/v2/modules/testhubModule.js +1 -1
  133. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  134. package/src/bin/v2/state/hookState.js +1 -1
  135. package/src/bin/v2/state/testFrameworkState.js +1 -1
  136. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  137. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  138. package/src/bin/v2/utils/jest-utils.js +1 -1
  139. package/src/bin/vanilla-js/command.js +1 -1
  140. package/src/browserStackSdk.js +1 -1
  141. package/src/helpers/BrowserStackSetup.js +1 -1
  142. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  143. package/src/helpers/accessibility-automation/constants.js +1 -1
  144. package/src/helpers/accessibility-automation/helper.js +1 -1
  145. package/src/helpers/accessibility-automation/scripts.js +1 -1
  146. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  147. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  148. package/src/helpers/ats/constants.js +1 -1
  149. package/src/helpers/ats/helper.js +1 -1
  150. package/src/helpers/capsMapping.js +1 -1
  151. package/src/helpers/central-scanner/constants.js +1 -1
  152. package/src/helpers/central-scanner/helpers.js +1 -1
  153. package/src/helpers/classLogger.js +1 -1
  154. package/src/helpers/globals.js +1 -1
  155. package/src/helpers/helper.js +1 -1
  156. package/src/helpers/logger.js +1 -1
  157. package/src/helpers/metadata.js +1 -1
  158. package/src/helpers/patchHelper.js +1 -1
  159. package/src/helpers/patchHelpers.js +1 -1
  160. package/src/helpers/percy/Percy.js +1 -1
  161. package/src/helpers/percy/PercyBinary.js +1 -1
  162. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  163. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  164. package/src/helpers/percy/PercySDK.js +1 -1
  165. package/src/helpers/percy/index.js +1 -1
  166. package/src/helpers/percy/utils.js +1 -1
  167. package/src/helpers/performance/constants.js +1 -1
  168. package/src/helpers/performance/performance-tester.js +1 -1
  169. package/src/helpers/playwright-helper.js +1 -1
  170. package/src/helpers/processHelper.js +1 -1
  171. package/src/helpers/puppeteer-helper.js +1 -1
  172. package/src/helpers/request-spy.js +1 -1
  173. package/src/helpers/setKeepAlive.js +1 -1
  174. package/src/helpers/test-observability/constants.js +1 -1
  175. package/src/helpers/test-observability/error-handler.js +1 -1
  176. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  177. package/src/helpers/test-observability/sessionHandler.js +1 -1
  178. package/src/helpers/test-observability/utils.js +1 -1
  179. package/src/helpers/test-orchestration/constants.js +1 -1
  180. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  181. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  182. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  183. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  184. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  185. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  186. package/src/helpers/testhub/constants.js +1 -1
  187. package/src/helpers/testhub/testhubHandler.js +1 -1
  188. package/src/helpers/testhub/utils.js +1 -1
  189. package/src/helpers/timeoutPromise.js +1 -1
  190. package/src/helpers/utilities.js +1 -1
  191. package/src/helpers/w3cMapping.js +1 -1
  192. package/src/hubAllocationMethods.js +1 -1
  193. package/src/index.js +1 -1
@@ -1 +1 @@
1
- 'use strict';const a69_0x709d1b=a69_0x73de;(function(_0x167bd7,_0x237015){const _0x4ca2c5=a69_0x73de,_0x1225f6=_0x167bd7();while(!![]){try{const _0x339dc4=parseInt(_0x4ca2c5(0x1f7))/0x1*(parseInt(_0x4ca2c5(0x21e))/0x2)+parseInt(_0x4ca2c5(0x1fb))/0x3*(-parseInt(_0x4ca2c5(0x1ee))/0x4)+-parseInt(_0x4ca2c5(0x229))/0x5*(-parseInt(_0x4ca2c5(0x226))/0x6)+parseInt(_0x4ca2c5(0x1f1))/0x7*(parseInt(_0x4ca2c5(0x1e5))/0x8)+-parseInt(_0x4ca2c5(0x1f2))/0x9+-parseInt(_0x4ca2c5(0x1e7))/0xa+-parseInt(_0x4ca2c5(0x1fa))/0xb*(-parseInt(_0x4ca2c5(0x1ea))/0xc);if(_0x339dc4===_0x237015)break;else _0x1225f6['push'](_0x1225f6['shift']());}catch(_0x3fb3ef){_0x1225f6['push'](_0x1225f6['shift']());}}}(a69_0x145f,0xa57af));const BrowserstackCLI=require(a69_0x709d1b(0x21f)),helper=require(a69_0x709d1b(0x1f3)),AutomationFramework=require(a69_0x709d1b(0x207)),TestFrameworkConstants=require('./framework/constants/testFrameworkConstants'),PlaywrightDriverModule=require(a69_0x709d1b(0x20b)),TestInfo=require('./TestInfo'),TestHubModule=require('./modules/testhubModule'),{createClassLogger}=require('../../helpers/classLogger'),logger=createClassLogger(a69_0x709d1b(0x216));class CustomTagManager{static ['buildLevelTags']={};static [a69_0x709d1b(0x20f)]={};static['setCustomTags'](_0x115fbe,_0x2721c7,_0x24bd54=![]){const _0xf2af9f=a69_0x709d1b,_0x2fd1b0={'lyFsM':function(_0x46be7c,_0x2dd27e){return _0x46be7c!==_0x2dd27e;},'QcPNl':_0xf2af9f(0x219),'rgodz':_0xf2af9f(0x20a),'RTeGW':function(_0x9d22e7,_0x497aa9){return _0x9d22e7!==_0x497aa9;},'iJwSN':_0xf2af9f(0x214),'BtMJC':function(_0x78a2c4,_0x1e8b23){return _0x78a2c4===_0x1e8b23;},'PCLPu':_0xf2af9f(0x1f6),'InESd':function(_0x415c38,_0x34a437){return _0x415c38===_0x34a437;},'HmgcH':_0xf2af9f(0x1ec),'InaRm':_0xf2af9f(0x1ff),'JmaXA':':jest-','LWsbU':function(_0x4e9be6,_0x404100){return _0x4e9be6(_0x404100);},'qNaHi':'./cliUtils','cWsPg':'jest','wMlqn':_0xf2af9f(0x1f4),'VSvxi':'CustomTagManager.setCustomTags:\x20TestFramework\x20not\x20available\x20for\x20Jest+Playwright','slCFf':function(_0x52f388,_0x16aa44){return _0x52f388(_0x16aa44);},'lCvBa':_0xf2af9f(0x1e8),'lxIGC':function(_0x4919e3,_0x137576){return _0x4919e3(_0x137576);},'rZZrQ':_0xf2af9f(0x1e3),'IGQol':_0xf2af9f(0x1f0)};if(_0x2fd1b0[_0xf2af9f(0x1e1)](typeof _0x115fbe,_0x2fd1b0[_0xf2af9f(0x228)]))throw new Error(_0x2fd1b0['rgodz']);if(_0x2fd1b0['RTeGW'](typeof _0x2721c7,_0x2fd1b0[_0xf2af9f(0x228)]))throw new Error(_0x2fd1b0[_0xf2af9f(0x1d9)]);if(_0x2fd1b0['BtMJC'](_0x115fbe[_0xf2af9f(0x1e0)](),''))throw new Error(_0x2fd1b0[_0xf2af9f(0x1ef)]);if(_0x2fd1b0['InESd'](_0x2721c7['trim'](),''))throw new Error(_0x2fd1b0[_0xf2af9f(0x1fc)]);const _0x41b921=helper[_0xf2af9f(0x1df)](_0x2721c7);if(_0x24bd54){const _0x3d05d1=BrowserstackCLI[_0xf2af9f(0x221)]()['modules'][TestHubModule['MODULE_NAME']];if(_0x3d05d1){const _0x2bcb6a=_0x3d05d1?.[_0xf2af9f(0x225)]?.['toObject']()?.[_0xf2af9f(0x206)];TestInfo[_0xf2af9f(0x202)](_0x2bcb6a);const _0x2ecbf2=TestInfo[_0xf2af9f(0x20c)](_0x2bcb6a),_0x56364e=_0x2ecbf2[TestFrameworkConstants[_0xf2af9f(0x217)]]||{};if(!_0x56364e[_0x115fbe]){const _0x516279={};_0x516279[_0xf2af9f(0x1e2)]=_0x2fd1b0[_0xf2af9f(0x210)],_0x516279[_0xf2af9f(0x203)]=[..._0x41b921],_0x56364e[_0x115fbe]=_0x516279;}else _0x56364e[_0x115fbe][_0xf2af9f(0x203)]=[..._0x41b921];_0x2ecbf2[TestFrameworkConstants[_0xf2af9f(0x217)]]=_0x56364e,TestInfo[_0xf2af9f(0x21d)](_0x2bcb6a,_0x2ecbf2),!this[_0xf2af9f(0x1eb)][_0x2bcb6a]&&(this[_0xf2af9f(0x1eb)][_0x2bcb6a]={}),this['buildLevelTags'][_0x2bcb6a][_0x115fbe]=[..._0x41b921];}}else{let _0x8e2ba8;const _0x3ef3b3=global[_0xf2af9f(0x1f8)];let _0x5aa4d6=![];if(_0x3ef3b3&&_0x3ef3b3[_0xf2af9f(0x1d8)](_0x2fd1b0[_0xf2af9f(0x20d)]))_0x5aa4d6=!![],_0x8e2ba8=_0x3ef3b3;else try{const _0x354a1b=_0x2fd1b0[_0xf2af9f(0x220)](require,_0x2fd1b0[_0xf2af9f(0x224)]);if(BrowserstackCLI[_0xf2af9f(0x221)]()[_0xf2af9f(0x21b)]()){const _0x2f8789=_0x354a1b['getTestFrameworkDetail']();if(_0x2fd1b0[_0xf2af9f(0x227)](_0x2f8789?.[_0xf2af9f(0x209)]?.[_0xf2af9f(0x218)](),_0x2fd1b0[_0xf2af9f(0x222)])){const _0x1aefa9=AutomationFramework[_0xf2af9f(0x1db)]();_0x8e2ba8=AutomationFramework[_0xf2af9f(0x1dd)](_0x1aefa9,PlaywrightDriverModule[_0xf2af9f(0x200)],''),_0x8e2ba8&&_0x8e2ba8[_0xf2af9f(0x1d8)](_0x2fd1b0[_0xf2af9f(0x20d)])&&(_0x5aa4d6=!![]);}}}catch(_0x110e5c){logger[_0xf2af9f(0x212)](_0xf2af9f(0x22a)+_0x110e5c);}if(_0x5aa4d6){if(!_0x8e2ba8)throw new Error(_0x2fd1b0['wMlqn']);const _0x2504a7=BrowserstackCLI['getInstance']()[_0xf2af9f(0x1e6)]();if(!_0x2504a7)throw new Error(_0x2fd1b0[_0xf2af9f(0x201)]);const _0x3b5567=_0x2fd1b0['slCFf'](require,_0x2fd1b0[_0xf2af9f(0x21a)]),_0x21668e=_0x2fd1b0[_0xf2af9f(0x211)](require,_0x2fd1b0[_0xf2af9f(0x1f9)]),_0x296b90=_0x2504a7[_0xf2af9f(0x205)](_0x3b5567[_0xf2af9f(0x1e4)],_0x21668e[_0xf2af9f(0x208)]);if(!_0x296b90)throw new Error(_0x2fd1b0['IGQol']);const _0x5b8511=_0x296b90[_0xf2af9f(0x215)]()[_0xf2af9f(0x1fd)](_0x8e2ba8)||{},_0x25158f=_0x5b8511[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};logger[_0xf2af9f(0x212)]('[CustomTagManager]\x20setCustomTags:\x20Jest+Playwright\x20-\x20testIdentifier='+_0x8e2ba8+_0xf2af9f(0x1e9)+_0x115fbe+_0xf2af9f(0x1da)+JSON['stringify'](_0x41b921)+_0xf2af9f(0x1dc)+JSON[_0xf2af9f(0x1ed)](_0x25158f));if(!_0x25158f[_0x115fbe]){const _0x1593a2={};_0x1593a2[_0xf2af9f(0x1e2)]=_0x2fd1b0[_0xf2af9f(0x210)],_0x1593a2['values']=[..._0x41b921],_0x25158f[_0x115fbe]=_0x1593a2,logger[_0xf2af9f(0x212)](_0xf2af9f(0x1f5)+_0x115fbe+_0xf2af9f(0x204)+JSON[_0xf2af9f(0x1ed)](_0x41b921));}else _0x25158f[_0x115fbe][_0xf2af9f(0x203)]=[..._0x41b921],logger[_0xf2af9f(0x212)]('[CustomTagManager]\x20setCustomTags:\x20Updated\x20existing\x20tag\x20key='+_0x115fbe+_0xf2af9f(0x213)+JSON[_0xf2af9f(0x1ed)](_0x41b921));const _0x3ad3cb={[TestFrameworkConstants[_0xf2af9f(0x217)]]:_0x25158f},_0x10659d={};_0x10659d[_0x8e2ba8]=_0x3ad3cb,_0x296b90['addMultipleEntries'](_0x10659d),logger[_0xf2af9f(0x212)]('[CustomTagManager]\x20setCustomTags:\x20Stored\x20customTags\x20in\x20instance\x20memory\x20for\x20testIdentifier='+_0x8e2ba8+',\x20finalTags='+JSON[_0xf2af9f(0x1ed)](_0x25158f)),!this['testLevelTags'][_0x8e2ba8]&&(this[_0xf2af9f(0x20f)][_0x8e2ba8]={}),this[_0xf2af9f(0x20f)][_0x8e2ba8][_0x115fbe]=[..._0x41b921];}else{const _0x11002c=global[_0xf2af9f(0x223)]?.['currentTest']?.[_0xf2af9f(0x1fe)];if(!_0x11002c){const _0x229908=AutomationFramework[_0xf2af9f(0x1db)]();_0x8e2ba8=AutomationFramework['getState'](_0x229908,PlaywrightDriverModule['KEY_TEST_ID'],'');}else _0x8e2ba8=TestInfo[_0xf2af9f(0x1de)](_0x11002c,_0x11002c['retry']);const _0x917f2b=TestInfo[_0xf2af9f(0x20c)](_0x8e2ba8),_0x114a20=_0x917f2b[TestFrameworkConstants[_0xf2af9f(0x217)]]||{};if(!_0x114a20[_0x115fbe]){const _0x5359ec={};_0x5359ec['field_type']=_0x2fd1b0['InaRm'],_0x5359ec[_0xf2af9f(0x203)]=[..._0x41b921],_0x114a20[_0x115fbe]=_0x5359ec;}else _0x114a20[_0x115fbe][_0xf2af9f(0x203)]=[..._0x41b921];_0x917f2b[TestFrameworkConstants[_0xf2af9f(0x217)]]=_0x114a20,TestInfo[_0xf2af9f(0x21d)](_0x8e2ba8,_0x917f2b),!this[_0xf2af9f(0x20f)][_0x8e2ba8]&&(this[_0xf2af9f(0x20f)][_0x8e2ba8]={}),this[_0xf2af9f(0x20f)][_0x8e2ba8][_0x115fbe]=[..._0x41b921];}}}static['getBuildLevelTags'](){const _0x4e99ba=a69_0x709d1b,_0x3f0ff9={...this[_0x4e99ba(0x1eb)]};return _0x3f0ff9;}static[a69_0x709d1b(0x20e)](){const _0x6df836=a69_0x709d1b,_0xce268a={...this[_0x6df836(0x20f)]};return _0xce268a;}static[a69_0x709d1b(0x21c)](){const _0xc407de=a69_0x709d1b;this['buildLevelTags']={},this[_0xc407de(0x20f)]={};}}function a69_0x73de(_0x1d8fa6,_0x1c1bbe){const _0x145f14=a69_0x145f();return a69_0x73de=function(_0x73dec,_0x756675){_0x73dec=_0x73dec-0x1d8;let _0x21d214=_0x145f14[_0x73dec];return _0x21d214;},a69_0x73de(_0x1d8fa6,_0x1c1bbe);}function a69_0x145f(){const _0x4deb6d=['304OkCoEB','PCLPu','CustomTagManager.setCustomTags:\x20Instance\x20not\x20available\x20for\x20Jest+Playwright','5102867oxrOSw','3507876CViWLn','../../helpers/helper','CustomTagManager.setCustomTags:\x20No\x20testIdentifier\x20found\x20for\x20Jest+Playwright.\x20This\x20may\x20occur\x20if\x20setCustomTags\x20is\x20called\x20outside\x20test\x20context.','[CustomTagManager]\x20setCustomTags:\x20Created\x20new\x20tag\x20key=','Custom\x20tag\x20key\x20cannot\x20be\x20empty','2xbKeyG','__jestCurrentTestIdentifier','rZZrQ','11RKjxbK','31497TWaLvd','HmgcH','get','testInfo','multi_dropdown','KEY_TEST_ID','VSvxi','getTestUUID','values','\x20with\x20values=','resolveInstance','buildHashedId','./framework/automationFramework','POST','name','Custom\x20tag\x20key\x20must\x20be\x20a\x20string','./modules/playwrightDriverModule','getTestDetails','JmaXA','getTestLevelTags','testLevelTags','InaRm','lxIGC','debug','\x20with\x20new\x20values=','Custom\x20tag\x20value\x20must\x20be\x20a\x20string','getAllData','CustomTagManager','KEY_CUSTOM_TAGS','toLowerCase','string','lCvBa','isRunning','clearTags','setTestDetails','867994bKOPUi','./browserstackCLI','LWsbU','getInstance','cWsPg','__workerDetails','qNaHi','testhubConfig','42ldffpo','BtMJC','QcPNl','160330gkLPDk','CustomTagManager.setCustomTags\x20:\x20Error\x20detecting\x20Jest+Playwright:\x20','includes','iJwSN',',\x20values=','getTrackedInstance',',\x20existingTags=','getState','getTestIdentifierFromTestInfo','parseCommaSeparatedValues','trim','lyFsM','field_type','./state/hookState','TEST','8DWLgkK','getTestFramework','8248730LlauTh','./state/testFrameworkState',',\x20key=','10427172idBnxv','buildLevelTags','Custom\x20tag\x20value\x20cannot\x20be\x20empty','stringify'];a69_0x145f=function(){return _0x4deb6d;};return a69_0x145f();}module['exports']=CustomTagManager;
1
+ 'use strict';const a69_0x10b447=a69_0xd57f;(function(_0x1c14bb,_0x3ef8e9){const _0x45e249=a69_0xd57f,_0x1f4d01=_0x1c14bb();while(!![]){try{const _0x1581ed=parseInt(_0x45e249(0x1d1))/0x1*(parseInt(_0x45e249(0x20c))/0x2)+parseInt(_0x45e249(0x20a))/0x3*(parseInt(_0x45e249(0x1f2))/0x4)+-parseInt(_0x45e249(0x20b))/0x5*(parseInt(_0x45e249(0x1f7))/0x6)+parseInt(_0x45e249(0x1be))/0x7*(-parseInt(_0x45e249(0x1e8))/0x8)+-parseInt(_0x45e249(0x20e))/0x9+parseInt(_0x45e249(0x1f9))/0xa+parseInt(_0x45e249(0x1f8))/0xb*(parseInt(_0x45e249(0x1df))/0xc);if(_0x1581ed===_0x3ef8e9)break;else _0x1f4d01['push'](_0x1f4d01['shift']());}catch(_0x434e7e){_0x1f4d01['push'](_0x1f4d01['shift']());}}}(a69_0x2e88,0x265c5));const BrowserstackCLI=require(a69_0x10b447(0x206)),helper=require(a69_0x10b447(0x1d8)),AutomationFramework=require(a69_0x10b447(0x1c0)),TestFrameworkConstants=require(a69_0x10b447(0x1dc)),PlaywrightDriverModule=require(a69_0x10b447(0x1cf)),TestInfo=require('./TestInfo'),TestHubModule=require(a69_0x10b447(0x1e0)),{createClassLogger}=require(a69_0x10b447(0x1c7)),logger=createClassLogger(a69_0x10b447(0x1de));function a69_0xd57f(_0x179021,_0x282fc3){const _0x2e880b=a69_0x2e88();return a69_0xd57f=function(_0xd57f2d,_0x1f65c9){_0xd57f2d=_0xd57f2d-0x1b4;let _0x145d68=_0x2e880b[_0xd57f2d];return _0x145d68;},a69_0xd57f(_0x179021,_0x282fc3);}function a69_0x2e88(){const _0x2a42a0=['PrSTB','eBACT','KEY_CUSTOM_TAGS','getBuildLevelTags','KEY_TEST_ID','RMeHK','[CustomTagManager]\x20setCustomTags:\x20Jest+Playwright\x20-\x20testIdentifier=','./browserstackCLI','stringify','TEST','FsMUt','1191wraZXb','5bcdKYm','120112oWAvnZ','getInstance','408717HgNIDm','getTestIdentifierFromTestInfo','DSKic','setTestDetails',':jest-','jSwkI','buildLevelTags','wyVJM','resolveInstance','./cliUtils','testInfo','546xUUZyE','ayWzW','./framework/automationFramework','clearTags','__jestCurrentTestIdentifier','UHhuj','get','Custom\x20tag\x20key\x20cannot\x20be\x20empty','getAllData','../../helpers/classLogger','DMnva','CustomTagManager.setCustomTags:\x20No\x20testIdentifier\x20found\x20for\x20Jest+Playwright.\x20This\x20may\x20occur\x20if\x20setCustomTags\x20is\x20called\x20outside\x20test\x20context.','currentTest','getTrackedInstance','CustomTagManager.setCustomTags:\x20TestFramework\x20not\x20available\x20for\x20Jest+Playwright','testLevelTags','hFhDo','./modules/playwrightDriverModule','addMultipleEntries','1YmvQDU','jest','hZZKv','trim','BPmHX','Custom\x20tag\x20value\x20cannot\x20be\x20empty',',\x20values=','../../helpers/helper','WTTte','CustomTagManager.setCustomTags\x20:\x20Error\x20detecting\x20Jest+Playwright:\x20',',\x20key=','./framework/constants/testFrameworkConstants','__workerDetails','CustomTagManager','24780OuBlZM','./modules/testhubModule','string','values','getTestLevelTags','\x20with\x20new\x20values=','[CustomTagManager]\x20setCustomTags:\x20Created\x20new\x20tag\x20key=','multi_dropdown','MXRTY','26184dmUSSZ','Pgnlq','IHPvk','MODULE_NAME','setCustomTags','rXKDq','CustomTagManager.setCustomTags:\x20Instance\x20not\x20available\x20for\x20Jest+Playwright','[CustomTagManager]\x20setCustomTags:\x20Updated\x20existing\x20tag\x20key=','retry','parseCommaSeparatedValues','344CSSdFq','name','getState','getTestDetails','field_type','260238ecOqvj','1969EvlORj','373720hXsSxq','buildHashedId','debug','modules','includes','exports'];a69_0x2e88=function(){return _0x2a42a0;};return a69_0x2e88();}class CustomTagManager{static [a69_0x10b447(0x1b9)]={};static ['testLevelTags']={};static[a69_0x10b447(0x1ec)](_0x1b2322,_0x5cd43b,_0x12f906=![]){const _0x486979=a69_0x10b447,_0x181283={'bNCKH':function(_0x1db4f4,_0x236b52){return _0x1db4f4!==_0x236b52;},'DMnva':_0x486979(0x1e1),'BPmHX':'Custom\x20tag\x20key\x20must\x20be\x20a\x20string','wyVJM':function(_0x57c0a6,_0x5bc8fb){return _0x57c0a6!==_0x5bc8fb;},'RMeHK':'Custom\x20tag\x20value\x20must\x20be\x20a\x20string','PrSTB':function(_0x3308cd,_0x5956d1){return _0x3308cd===_0x5956d1;},'DSKic':_0x486979(0x1c5),'eBACT':function(_0x1bb7ff,_0x51925f){return _0x1bb7ff===_0x51925f;},'ayWzW':_0x486979(0x1d6),'hFhDo':_0x486979(0x1e6),'Pgnlq':_0x486979(0x1b7),'jSwkI':function(_0x1bcac8,_0x532b24){return _0x1bcac8(_0x532b24);},'rXKDq':_0x486979(0x1bc),'FsMUt':function(_0x1e8c27,_0x51f99c){return _0x1e8c27===_0x51f99c;},'IHPvk':_0x486979(0x1d2),'hZZKv':_0x486979(0x1c9),'BoYrO':_0x486979(0x1cc),'UHhuj':function(_0x314bbf,_0x2da2b2){return _0x314bbf(_0x2da2b2);},'WTTte':'./state/testFrameworkState','MXRTY':'./state/hookState','ssTbS':_0x486979(0x1ee)};if(_0x181283['bNCKH'](typeof _0x1b2322,_0x181283[_0x486979(0x1c8)]))throw new Error(_0x181283[_0x486979(0x1d5)]);if(_0x181283[_0x486979(0x1ba)](typeof _0x5cd43b,_0x181283['DMnva']))throw new Error(_0x181283[_0x486979(0x204)]);if(_0x181283[_0x486979(0x1ff)](_0x1b2322[_0x486979(0x1d4)](),''))throw new Error(_0x181283[_0x486979(0x1b5)]);if(_0x181283[_0x486979(0x200)](_0x5cd43b[_0x486979(0x1d4)](),''))throw new Error(_0x181283[_0x486979(0x1bf)]);const _0xf7a8c0=helper[_0x486979(0x1f1)](_0x5cd43b);if(_0x12f906){const _0x4b0168=BrowserstackCLI[_0x486979(0x20d)]()[_0x486979(0x1fc)][TestHubModule[_0x486979(0x1eb)]];if(_0x4b0168){const _0x598059=_0x4b0168?.['testhubConfig']?.['toObject']()?.[_0x486979(0x1fa)];TestInfo['getTestUUID'](_0x598059);const _0x4ec968=TestInfo[_0x486979(0x1f5)](_0x598059),_0x31db7b=_0x4ec968[TestFrameworkConstants[_0x486979(0x201)]]||{};if(!_0x31db7b[_0x1b2322]){const _0x3e752d={};_0x3e752d[_0x486979(0x1f6)]=_0x181283[_0x486979(0x1ce)],_0x3e752d[_0x486979(0x1e2)]=[..._0xf7a8c0],_0x31db7b[_0x1b2322]=_0x3e752d;}else _0x31db7b[_0x1b2322]['values']=[..._0xf7a8c0];_0x4ec968[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x31db7b,TestInfo[_0x486979(0x1b6)](_0x598059,_0x4ec968),!this['buildLevelTags'][_0x598059]&&(this[_0x486979(0x1b9)][_0x598059]={}),this[_0x486979(0x1b9)][_0x598059][_0x1b2322]=[..._0xf7a8c0];}}else{let _0x21920b;const _0x348f81=global[_0x486979(0x1c2)];let _0x428b5e=![];if(_0x348f81&&_0x348f81['includes'](_0x181283[_0x486979(0x1e9)]))_0x428b5e=!![],_0x21920b=_0x348f81;else try{const _0x37a996=_0x181283[_0x486979(0x1b8)](require,_0x181283[_0x486979(0x1ed)]);if(BrowserstackCLI[_0x486979(0x20d)]()['isRunning']()){const _0x1073ad=_0x37a996['getTestFrameworkDetail']();if(_0x181283[_0x486979(0x209)](_0x1073ad?.[_0x486979(0x1f3)]?.['toLowerCase'](),_0x181283[_0x486979(0x1ea)])){const _0x4fe149=AutomationFramework[_0x486979(0x1cb)]();_0x21920b=AutomationFramework[_0x486979(0x1f4)](_0x4fe149,PlaywrightDriverModule[_0x486979(0x203)],''),_0x21920b&&_0x21920b[_0x486979(0x1fd)](_0x181283['Pgnlq'])&&(_0x428b5e=!![]);}}}catch(_0x27b95b){logger[_0x486979(0x1fb)](_0x486979(0x1da)+_0x27b95b);}if(_0x428b5e){if(!_0x21920b)throw new Error(_0x181283[_0x486979(0x1d3)]);const _0x5d9a85=BrowserstackCLI['getInstance']()['getTestFramework']();if(!_0x5d9a85)throw new Error(_0x181283['BoYrO']);const _0x246543=_0x181283[_0x486979(0x1c3)](require,_0x181283[_0x486979(0x1d9)]),_0xa85035=_0x181283[_0x486979(0x1b8)](require,_0x181283[_0x486979(0x1e7)]),_0x5337ef=_0x5d9a85[_0x486979(0x1bb)](_0x246543[_0x486979(0x208)],_0xa85035['POST']);if(!_0x5337ef)throw new Error(_0x181283['ssTbS']);const _0x4cc02e=_0x5337ef[_0x486979(0x1c6)]()[_0x486979(0x1c4)](_0x21920b)||{},_0x2f06c9=_0x4cc02e[TestFrameworkConstants[_0x486979(0x201)]]||{};logger[_0x486979(0x1fb)](_0x486979(0x205)+_0x21920b+_0x486979(0x1db)+_0x1b2322+_0x486979(0x1d7)+JSON[_0x486979(0x207)](_0xf7a8c0)+',\x20existingTags='+JSON[_0x486979(0x207)](_0x2f06c9));if(!_0x2f06c9[_0x1b2322]){const _0x29d233={};_0x29d233[_0x486979(0x1f6)]=_0x181283[_0x486979(0x1ce)],_0x29d233[_0x486979(0x1e2)]=[..._0xf7a8c0],_0x2f06c9[_0x1b2322]=_0x29d233,logger[_0x486979(0x1fb)](_0x486979(0x1e5)+_0x1b2322+'\x20with\x20values='+JSON[_0x486979(0x207)](_0xf7a8c0));}else _0x2f06c9[_0x1b2322]['values']=[..._0xf7a8c0],logger['debug'](_0x486979(0x1ef)+_0x1b2322+_0x486979(0x1e4)+JSON[_0x486979(0x207)](_0xf7a8c0));const _0x1c5179={[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x2f06c9},_0x5960cd={};_0x5960cd[_0x21920b]=_0x1c5179,_0x5337ef[_0x486979(0x1d0)](_0x5960cd),logger['debug']('[CustomTagManager]\x20setCustomTags:\x20Stored\x20customTags\x20in\x20instance\x20memory\x20for\x20testIdentifier='+_0x21920b+',\x20finalTags='+JSON[_0x486979(0x207)](_0x2f06c9)),!this[_0x486979(0x1cd)][_0x21920b]&&(this[_0x486979(0x1cd)][_0x21920b]={}),this['testLevelTags'][_0x21920b][_0x1b2322]=[..._0xf7a8c0];}else{const _0x3f58e7=global[_0x486979(0x1dd)]?.[_0x486979(0x1ca)]?.[_0x486979(0x1bd)];if(!_0x3f58e7){const _0x1b7be5=AutomationFramework[_0x486979(0x1cb)]();_0x21920b=AutomationFramework[_0x486979(0x1f4)](_0x1b7be5,PlaywrightDriverModule[_0x486979(0x203)],'');}else _0x21920b=TestInfo[_0x486979(0x1b4)](_0x3f58e7,_0x3f58e7[_0x486979(0x1f0)]);const _0x2ae54a=TestInfo[_0x486979(0x1f5)](_0x21920b),_0x12f975=_0x2ae54a[TestFrameworkConstants[_0x486979(0x201)]]||{};if(!_0x12f975[_0x1b2322]){const _0x51ac83={};_0x51ac83[_0x486979(0x1f6)]=_0x181283[_0x486979(0x1ce)],_0x51ac83[_0x486979(0x1e2)]=[..._0xf7a8c0],_0x12f975[_0x1b2322]=_0x51ac83;}else _0x12f975[_0x1b2322][_0x486979(0x1e2)]=[..._0xf7a8c0];_0x2ae54a[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x12f975,TestInfo[_0x486979(0x1b6)](_0x21920b,_0x2ae54a),!this[_0x486979(0x1cd)][_0x21920b]&&(this['testLevelTags'][_0x21920b]={}),this['testLevelTags'][_0x21920b][_0x1b2322]=[..._0xf7a8c0];}}}static[a69_0x10b447(0x202)](){const _0x48d0e2={...this['buildLevelTags']};return _0x48d0e2;}static[a69_0x10b447(0x1e3)](){const _0x448dea=a69_0x10b447,_0x30e19b={...this[_0x448dea(0x1cd)]};return _0x30e19b;}static[a69_0x10b447(0x1c1)](){const _0x46c606=a69_0x10b447;this[_0x46c606(0x1b9)]={},this[_0x46c606(0x1cd)]={};}}module[a69_0x10b447(0x1fe)]=CustomTagManager;
@@ -1 +1 @@
1
- function a70_0x1758(_0x93b52f,_0x55dd9e){const _0x1935c5=a70_0x1935();return a70_0x1758=function(_0x175810,_0x2f178c){_0x175810=_0x175810-0x171;let _0x2e3614=_0x1935c5[_0x175810];return _0x2e3614;},a70_0x1758(_0x93b52f,_0x55dd9e);}const a70_0x17eaff=a70_0x1758;(function(_0x46bc19,_0x1c45d2){const _0x1ee5e6=a70_0x1758,_0x2a3e26=_0x46bc19();while(!![]){try{const _0x325332=-parseInt(_0x1ee5e6(0x182))/0x1+-parseInt(_0x1ee5e6(0x175))/0x2*(-parseInt(_0x1ee5e6(0x181))/0x3)+-parseInt(_0x1ee5e6(0x17a))/0x4+parseInt(_0x1ee5e6(0x171))/0x5*(-parseInt(_0x1ee5e6(0x183))/0x6)+parseInt(_0x1ee5e6(0x173))/0x7*(-parseInt(_0x1ee5e6(0x176))/0x8)+-parseInt(_0x1ee5e6(0x179))/0x9+parseInt(_0x1ee5e6(0x172))/0xa;if(_0x325332===_0x1c45d2)break;else _0x2a3e26['push'](_0x2a3e26['shift']());}catch(_0x5447b0){_0x2a3e26['push'](_0x2a3e26['shift']());}}}(a70_0x1935,0x71935));function a70_0x1935(){const _0x49de97=['54NBbpxW','118535UPdtWj','11367610ZsoPzg','2250017nnPKvm','getInstance','34zxXOpI','8JJSyIx','notifyObserver','push','1112463cqCBQP','1093256hXNvXs','observers','freeze','IxJaq','../../helpers/classLogger.js','registerObserver','exports','123153xTwTVz','437708QaRAas'];a70_0x1935=function(){return _0x49de97;};return a70_0x1935();}const {createClassLogger}=require(a70_0x17eaff(0x17e));class EventDispatcher{static #instance=null;constructor(){const _0x59ac92=a70_0x17eaff;this[_0x59ac92(0x17b)]={};}static[a70_0x17eaff(0x174)](){return!EventDispatcher.#instance&&(EventDispatcher.#instance=new EventDispatcher()),EventDispatcher.#instance;}[a70_0x17eaff(0x17f)](_0x4895dc,_0x42d064){const _0x18699d=a70_0x17eaff;!this[_0x18699d(0x17b)][_0x4895dc]&&(this[_0x18699d(0x17b)][_0x4895dc]=[]),this['observers'][_0x4895dc][_0x18699d(0x178)](_0x42d064);}async[a70_0x17eaff(0x177)](_0x473b1,_0x3663da){const _0x436811=a70_0x17eaff,_0x507b51={'IxJaq':function(_0x50499f,_0xbad642){return _0x50499f(_0xbad642);}};if(this['observers'][_0x473b1]){for(const _0x185611 of this[_0x436811(0x17b)][_0x473b1]){await _0x507b51[_0x436811(0x17d)](_0x185611,_0x3663da);}return;}}}const eventDispatcher=EventDispatcher['getInstance']();Object[a70_0x17eaff(0x17c)](eventDispatcher),module[a70_0x17eaff(0x180)]=eventDispatcher;
1
+ const a70_0x4e5fe9=a70_0x40be;(function(_0x52368b,_0x133dc6){const _0x43b433=a70_0x40be,_0x1057bd=_0x52368b();while(!![]){try{const _0x236b10=-parseInt(_0x43b433(0xcf))/0x1*(parseInt(_0x43b433(0xd0))/0x2)+-parseInt(_0x43b433(0xc1))/0x3+-parseInt(_0x43b433(0xc7))/0x4+-parseInt(_0x43b433(0xc9))/0x5*(parseInt(_0x43b433(0xcd))/0x6)+parseInt(_0x43b433(0xc6))/0x7*(parseInt(_0x43b433(0xc3))/0x8)+-parseInt(_0x43b433(0xca))/0x9*(parseInt(_0x43b433(0xc8))/0xa)+parseInt(_0x43b433(0xcc))/0xb;if(_0x236b10===_0x133dc6)break;else _0x1057bd['push'](_0x1057bd['shift']());}catch(_0x415dbc){_0x1057bd['push'](_0x1057bd['shift']());}}}(a70_0x4785,0x6b3c7));const {createClassLogger}=require(a70_0x4e5fe9(0xc4));class EventDispatcher{static #instance=null;constructor(){const _0x2dc066=a70_0x4e5fe9;this[_0x2dc066(0xc2)]={};}static['getInstance'](){return!EventDispatcher.#instance&&(EventDispatcher.#instance=new EventDispatcher()),EventDispatcher.#instance;}['registerObserver'](_0x5ef816,_0x41354a){const _0x3f32b4=a70_0x4e5fe9;!this[_0x3f32b4(0xc2)][_0x5ef816]&&(this[_0x3f32b4(0xc2)][_0x5ef816]=[]),this[_0x3f32b4(0xc2)][_0x5ef816][_0x3f32b4(0xc5)](_0x41354a);}async['notifyObserver'](_0x1bee9a,_0x285d8b){const _0x493a17=a70_0x4e5fe9,_0x4fe0d6={'JzilR':function(_0x3da958,_0x1bd62a){return _0x3da958(_0x1bd62a);}};if(this['observers'][_0x1bee9a]){for(const _0x463d0f of this['observers'][_0x1bee9a]){await _0x4fe0d6[_0x493a17(0xcb)](_0x463d0f,_0x285d8b);}return;}}}function a70_0x40be(_0x1b7822,_0x1be4b8){const _0x478561=a70_0x4785();return a70_0x40be=function(_0x40bec3,_0xe9316e){_0x40bec3=_0x40bec3-0xc0;let _0x282639=_0x478561[_0x40bec3];return _0x282639;},a70_0x40be(_0x1b7822,_0x1be4b8);}function a70_0x4785(){const _0x535501=['2579892hffPuM','2951120cabLvP','470XlDGvN','2670RMSwEP','94806twnYOz','JzilR','27734828lxxibF','9726THCQuu','freeze','737PscTAH','506MMhqaq','exports','1602804fmQqpa','observers','16HXBaHR','../../helpers/classLogger.js','push'];a70_0x4785=function(){return _0x535501;};return a70_0x4785();}const eventDispatcher=EventDispatcher['getInstance']();Object[a70_0x4e5fe9(0xce)](eventDispatcher),module[a70_0x4e5fe9(0xc0)]=eventDispatcher;
@@ -1 +1 @@
1
- const a71_0xff60aa=a71_0x1747;(function(_0x434478,_0x181ab4){const _0x39efa4=a71_0x1747,_0x4dbc2f=_0x434478();while(!![]){try{const _0x7da61e=parseInt(_0x39efa4(0x105))/0x1*(-parseInt(_0x39efa4(0x118))/0x2)+-parseInt(_0x39efa4(0x11b))/0x3+parseInt(_0x39efa4(0x109))/0x4*(-parseInt(_0x39efa4(0x102))/0x5)+parseInt(_0x39efa4(0x126))/0x6*(parseInt(_0x39efa4(0x111))/0x7)+-parseInt(_0x39efa4(0x125))/0x8+parseInt(_0x39efa4(0x10f))/0x9+parseInt(_0x39efa4(0x129))/0xa*(parseInt(_0x39efa4(0x103))/0xb);if(_0x7da61e===_0x181ab4)break;else _0x4dbc2f['push'](_0x4dbc2f['shift']());}catch(_0x592a48){_0x4dbc2f['push'](_0x4dbc2f['shift']());}}}(a71_0x2737,0xaddb2));const {createClassLogger}=require(a71_0xff60aa(0x117)),util=require(a71_0xff60aa(0x10d)),eventDispatcher=require(a71_0xff60aa(0x107)),CLIUtils=require(a71_0xff60aa(0x106)),TrackedInstance=require(a71_0xff60aa(0x113)),logger=createClassLogger(a71_0xff60aa(0x123));class AutomationFramework{static [a71_0xff60aa(0x121)]=new Map();static ['KEY_AUTOMATION_SESSIONS']=a71_0xff60aa(0x112);static [a71_0xff60aa(0x116)]=a71_0xff60aa(0x10b);constructor(_0xc7437a,_0x4d20d2){const _0x427ff0=a71_0xff60aa;this[_0x427ff0(0x127)]=_0xc7437a,this[_0x427ff0(0x110)]=_0x4d20d2;}[a71_0xff60aa(0x11f)](){return this['automationFrameworkName'];}[a71_0xff60aa(0x10c)](){return this['automationFrameworkVersion'];}async['trackEvent'](_0x3e6036,_0x30af69,_0x2cd949={}){const _0x1c6265=a71_0xff60aa;logger['debug'](_0x1c6265(0x119)+_0x3e6036+_0x1c6265(0x124)+_0x30af69);}async[a71_0xff60aa(0x12a)](_0x4eaa84,_0x5ce8ee,_0x383ebb,_0x1f2e4c={}){const _0x4c5871=a71_0xff60aa,_0x3c8378=CLIUtils[_0x4c5871(0x115)](_0x5ce8ee,_0x383ebb);_0x4eaa84&&_0x4eaa84[_0x4c5871(0x114)](_0x5ce8ee),await eventDispatcher[_0x4c5871(0x11a)](_0x3c8378,_0x1f2e4c);}static[a71_0xff60aa(0x11d)](_0x57368f,_0x65856f,_0x1bdfb1){const _0x3298cd=a71_0xff60aa;eventDispatcher[_0x3298cd(0x11d)](CLIUtils['getHookRegistryKey'](_0x57368f,_0x65856f),_0x1bdfb1);}static['setTrackedInstance'](_0xa558c,_0x2bf271){const _0x59fb7a=a71_0xff60aa;AutomationFramework[_0x59fb7a(0x121)]['set'](_0xa558c[_0x59fb7a(0x108)](),_0x2bf271);}static[a71_0xff60aa(0x11c)](){const _0x24752f=a71_0xff60aa,_0x20f5d1=TrackedInstance[_0x24752f(0x122)](CLIUtils[_0x24752f(0x10a)]());return AutomationFramework[_0x24752f(0x121)][_0x24752f(0x128)](_0x20f5d1['getId']());}static[a71_0xff60aa(0x114)](_0x4913ad,_0x1681a9,_0x220395){const _0x3b2db9=a71_0xff60aa;_0x4913ad['getAllData']()[_0x3b2db9(0x120)](_0x1681a9,_0x220395);}static[a71_0xff60aa(0x11e)](_0x5545c6,_0x37445d){const _0x1e6199=a71_0xff60aa;return _0x5545c6[_0x1e6199(0x104)]()[_0x1e6199(0x128)](_0x37445d);}}function a71_0x2737(){const _0x300794=['5GXJhQn','44BhOyMo','getAllData','547273GwnQJM','../cliUtils.js','../eventDispatcher.js','getId','2148248Lwnzuj','getCurrentInstanceName','non_browserstack_automation_sessions','getAutomationFrameworkVersion','util','exports','9046431ADoceg','automationFrameworkVersion','14omqMxj','automation_sessions','../instances/trackedInstance.js','setState','getHookRegistryKey','KEY_NON_BROWSERSTACK_AUTOMATION_SESSIONS','../../../helpers/classLogger.js','2hrmQOx','trackEvent:\x20automationFrameworkState=','notifyObserver','2417109mvrBMr','getTrackedInstance','registerObserver','getState','getAutomationFrameworkName','set','instances','createContext','AutomationFramework','\x20hookState=','340776ecXlvD','3580818iCtTVt','automationFrameworkName','get','1114960BDscjv','runHooks'];a71_0x2737=function(){return _0x300794;};return a71_0x2737();}function a71_0x1747(_0x12c82b,_0x38f6e2){const _0x2737fa=a71_0x2737();return a71_0x1747=function(_0x17470c,_0x385350){_0x17470c=_0x17470c-0x102;let _0x475382=_0x2737fa[_0x17470c];return _0x475382;},a71_0x1747(_0x12c82b,_0x38f6e2);}module[a71_0xff60aa(0x10e)]=AutomationFramework;
1
+ function a71_0x16da(_0x48db48,_0x1684c5){const _0x37928a=a71_0x3792();return a71_0x16da=function(_0x16da74,_0x41bb32){_0x16da74=_0x16da74-0xb0;let _0x1d3d17=_0x37928a[_0x16da74];return _0x1d3d17;},a71_0x16da(_0x48db48,_0x1684c5);}const a71_0x45af02=a71_0x16da;(function(_0x52ace3,_0x206613){const _0x217a28=a71_0x16da,_0x203ba8=_0x52ace3();while(!![]){try{const _0x15352c=-parseInt(_0x217a28(0xbf))/0x1+-parseInt(_0x217a28(0xbd))/0x2*(-parseInt(_0x217a28(0xc6))/0x3)+parseInt(_0x217a28(0xb4))/0x4*(parseInt(_0x217a28(0xd5))/0x5)+parseInt(_0x217a28(0xd1))/0x6*(parseInt(_0x217a28(0xb8))/0x7)+parseInt(_0x217a28(0xcb))/0x8*(parseInt(_0x217a28(0xcc))/0x9)+-parseInt(_0x217a28(0xd0))/0xa+parseInt(_0x217a28(0xcd))/0xb*(-parseInt(_0x217a28(0xc2))/0xc);if(_0x15352c===_0x206613)break;else _0x203ba8['push'](_0x203ba8['shift']());}catch(_0x5786fc){_0x203ba8['push'](_0x203ba8['shift']());}}}(a71_0x3792,0x9244a));const {createClassLogger}=require('../../../helpers/classLogger.js'),util=require(a71_0x45af02(0xd3)),eventDispatcher=require(a71_0x45af02(0xd4)),CLIUtils=require(a71_0x45af02(0xc0)),TrackedInstance=require('../instances/trackedInstance.js'),logger=createClassLogger(a71_0x45af02(0xb0));class AutomationFramework{static ['instances']=new Map();static [a71_0x45af02(0xb1)]=a71_0x45af02(0xc7);static [a71_0x45af02(0xd7)]=a71_0x45af02(0xbe);constructor(_0x53b983,_0x52b742){const _0x7a7ec8=a71_0x45af02;this[_0x7a7ec8(0xd2)]=_0x53b983,this[_0x7a7ec8(0xbb)]=_0x52b742;}['getAutomationFrameworkName'](){const _0x5405a0=a71_0x45af02;return this[_0x5405a0(0xd2)];}[a71_0x45af02(0xba)](){const _0x3ef9a3=a71_0x45af02;return this[_0x3ef9a3(0xbb)];}async['trackEvent'](_0xdd4a56,_0x293789,_0x26baf7={}){const _0x1632ae=a71_0x45af02;logger[_0x1632ae(0xb7)]('trackEvent:\x20automationFrameworkState='+_0xdd4a56+_0x1632ae(0xc1)+_0x293789);}async[a71_0x45af02(0xb9)](_0x4e99f5,_0x503e95,_0x190b10,_0x4669bb={}){const _0x1c67d1=a71_0x45af02,_0x2860b4=CLIUtils[_0x1c67d1(0xca)](_0x503e95,_0x190b10);_0x4e99f5&&_0x4e99f5[_0x1c67d1(0xb3)](_0x503e95),await eventDispatcher[_0x1c67d1(0xbc)](_0x2860b4,_0x4669bb);}static[a71_0x45af02(0xc5)](_0x52d9bc,_0x140b34,_0x469891){const _0x3ac9eb=a71_0x45af02;eventDispatcher[_0x3ac9eb(0xc5)](CLIUtils['getHookRegistryKey'](_0x52d9bc,_0x140b34),_0x469891);}static[a71_0x45af02(0xc4)](_0x3828ca,_0x55aa80){const _0x51d94e=a71_0x45af02;AutomationFramework[_0x51d94e(0xb6)][_0x51d94e(0xce)](_0x3828ca['getId'](),_0x55aa80);}static[a71_0x45af02(0xc9)](){const _0x531667=a71_0x45af02,_0x4406ba=TrackedInstance[_0x531667(0xb5)](CLIUtils[_0x531667(0xb2)]());return AutomationFramework[_0x531667(0xb6)][_0x531667(0xc8)](_0x4406ba[_0x531667(0xcf)]());}static[a71_0x45af02(0xb3)](_0x2d7555,_0x1206ec,_0x3b2d02){const _0x16a479=a71_0x45af02;_0x2d7555[_0x16a479(0xd6)]()[_0x16a479(0xce)](_0x1206ec,_0x3b2d02);}static[a71_0x45af02(0xc3)](_0x2711a0,_0x29ab8b){const _0x2dfff4=a71_0x45af02;return _0x2711a0[_0x2dfff4(0xd6)]()[_0x2dfff4(0xc8)](_0x29ab8b);}}module['exports']=AutomationFramework;function a71_0x3792(){const _0x208604=['1158601NHbbmC','../cliUtils.js','\x20hookState=','264eJzcMA','getState','setTrackedInstance','registerObserver','2733543dpzZsb','automation_sessions','get','getTrackedInstance','getHookRegistryKey','3647864yCjQPj','9yxGoVJ','313907ZrpEJM','set','getId','2887390ERxPta','650910zixLaM','automationFrameworkName','util','../eventDispatcher.js','4135VJPaWr','getAllData','KEY_NON_BROWSERSTACK_AUTOMATION_SESSIONS','AutomationFramework','KEY_AUTOMATION_SESSIONS','getCurrentInstanceName','setState','4748sbNfVp','createContext','instances','debug','21crUlXp','runHooks','getAutomationFrameworkVersion','automationFrameworkVersion','notifyObserver','2uZUaou','non_browserstack_automation_sessions'];a71_0x3792=function(){return _0x208604;};return a71_0x3792();}
@@ -1 +1 @@
1
- const a72_0x20cfb4=a72_0x31e4;(function(_0x45ff90,_0x2745d8){const _0x15e368=a72_0x31e4,_0x13a017=_0x45ff90();while(!![]){try{const _0x531b8c=parseInt(_0x15e368(0xf1))/0x1*(parseInt(_0x15e368(0xe5))/0x2)+parseInt(_0x15e368(0xda))/0x3*(-parseInt(_0x15e368(0xd8))/0x4)+parseInt(_0x15e368(0xdc))/0x5+-parseInt(_0x15e368(0xeb))/0x6*(-parseInt(_0x15e368(0xd4))/0x7)+parseInt(_0x15e368(0xea))/0x8+parseInt(_0x15e368(0xdf))/0x9+-parseInt(_0x15e368(0xe2))/0xa;if(_0x531b8c===_0x2745d8)break;else _0x13a017['push'](_0x13a017['shift']());}catch(_0xa6fb53){_0x13a017['push'](_0x13a017['shift']());}}}(a72_0x5e5a,0xa7e62));const a72_0x6d662e={};function a72_0x31e4(_0xadf841,_0x24c0cd){const _0x5e5a06=a72_0x5e5a();return a72_0x31e4=function(_0x31e4e1,_0x375f9b){_0x31e4e1=_0x31e4e1-0xd1;let _0x5a4f22=_0x5e5a06[_0x31e4e1];return _0x5a4f22;},a72_0x31e4(_0xadf841,_0x24c0cd);}a72_0x6d662e[a72_0x20cfb4(0xe0)]=a72_0x20cfb4(0xec),a72_0x6d662e[a72_0x20cfb4(0xd9)]=a72_0x20cfb4(0xe6),a72_0x6d662e['KEY_FRAMEWORK_SESSION_ID']=a72_0x20cfb4(0xd3),a72_0x6d662e[a72_0x20cfb4(0xdd)]='input_capabilities',a72_0x6d662e[a72_0x20cfb4(0xef)]=a72_0x20cfb4(0xd5),a72_0x6d662e['KEY_IS_BROWSERSTACK_HUB']=a72_0x20cfb4(0xee),a72_0x6d662e['KEY_STARTED_AT']=a72_0x20cfb4(0xdb),a72_0x6d662e['KEY_ENDED_AT']=a72_0x20cfb4(0xd2),a72_0x6d662e['KEY_PLATFORM_INDEX']=a72_0x20cfb4(0xed),a72_0x6d662e[a72_0x20cfb4(0xe8)]=a72_0x20cfb4(0xe3),a72_0x6d662e[a72_0x20cfb4(0xd1)]=a72_0x20cfb4(0xde),a72_0x6d662e[a72_0x20cfb4(0xe7)]=a72_0x20cfb4(0xd7),a72_0x6d662e[a72_0x20cfb4(0xe9)]='w3cexecutescript',a72_0x6d662e[a72_0x20cfb4(0xe1)]=a72_0x20cfb4(0xe4),a72_0x6d662e[a72_0x20cfb4(0xd6)]='quit';function a72_0x5e5a(){const _0x441c7c=['KEY_INPUT_CAPABILITIES','get','5424489jcELNC','ENV_BROWSERSTACK_PLATFORM_INDEX','COMMAND_W3C_EXECUTE_SCRIPT_ASYNC','5515620jkbNQt','newsession','w3cexecutescriptasync','4pIXgWE','hub_url','COMMAND_SCREENSHOT','COMMAND_NEW_SESSION','COMMAND_W3C_EXECUTE_SCRIPT','1181152YhStFB','54TSdxNM','BROWSERSTACK_PLATFORM_INDEX','platform_index','is_browserstack_hub','KEY_CAPABILITIES','exports','168244kERVcl','COMMAND_GET','ended_at','framework_session_id','893305CwamIK','capabilities','COMMAND_QUIT','screenshot','4ccoVdz','KEY_HUB_URL','3512448kWIkRq','started_at','873520IheKmo'];a72_0x5e5a=function(){return _0x441c7c;};return a72_0x5e5a();}const AutomationFrameworkConstants=a72_0x6d662e;module[a72_0x20cfb4(0xf0)]=AutomationFrameworkConstants;
1
+ function a72_0x3569(_0x51fbf9,_0x1f10ca){const _0x543293=a72_0x5432();return a72_0x3569=function(_0x356949,_0x304111){_0x356949=_0x356949-0x98;let _0xcd3e3d=_0x543293[_0x356949];return _0xcd3e3d;},a72_0x3569(_0x51fbf9,_0x1f10ca);}const a72_0x10804f=a72_0x3569;(function(_0x48442e,_0x536889){const _0x39f11b=a72_0x3569,_0x4e401c=_0x48442e();while(!![]){try{const _0x7ac57d=-parseInt(_0x39f11b(0x9c))/0x1+-parseInt(_0x39f11b(0x9d))/0x2*(-parseInt(_0x39f11b(0x9a))/0x3)+parseInt(_0x39f11b(0xb4))/0x4+-parseInt(_0x39f11b(0xa0))/0x5+parseInt(_0x39f11b(0x9b))/0x6*(-parseInt(_0x39f11b(0xb5))/0x7)+parseInt(_0x39f11b(0xa3))/0x8+parseInt(_0x39f11b(0xab))/0x9*(parseInt(_0x39f11b(0xb8))/0xa);if(_0x7ac57d===_0x536889)break;else _0x4e401c['push'](_0x4e401c['shift']());}catch(_0x28a0c4){_0x4e401c['push'](_0x4e401c['shift']());}}}(a72_0x5432,0x21f3f));const a72_0x5844e2={};a72_0x5844e2['ENV_BROWSERSTACK_PLATFORM_INDEX']=a72_0x10804f(0xac),a72_0x5844e2[a72_0x10804f(0xa8)]=a72_0x10804f(0xb2),a72_0x5844e2[a72_0x10804f(0xa9)]=a72_0x10804f(0x98),a72_0x5844e2[a72_0x10804f(0x99)]=a72_0x10804f(0xb6),a72_0x5844e2['KEY_CAPABILITIES']='capabilities',a72_0x5844e2['KEY_IS_BROWSERSTACK_HUB']=a72_0x10804f(0xad),a72_0x5844e2[a72_0x10804f(0xae)]=a72_0x10804f(0xa7),a72_0x5844e2[a72_0x10804f(0x9e)]=a72_0x10804f(0xa2),a72_0x5844e2['KEY_PLATFORM_INDEX']=a72_0x10804f(0xa5),a72_0x5844e2[a72_0x10804f(0xa1)]=a72_0x10804f(0xaa),a72_0x5844e2[a72_0x10804f(0x9f)]='get',a72_0x5844e2[a72_0x10804f(0xb3)]=a72_0x10804f(0xb7),a72_0x5844e2['COMMAND_W3C_EXECUTE_SCRIPT']=a72_0x10804f(0xb0),a72_0x5844e2[a72_0x10804f(0xaf)]='w3cexecutescriptasync',a72_0x5844e2[a72_0x10804f(0xa4)]=a72_0x10804f(0xb1);function a72_0x5432(){const _0x44ca45=['COMMAND_NEW_SESSION','ended_at','1344176dLAIBC','COMMAND_QUIT','platform_index','exports','started_at','KEY_HUB_URL','KEY_FRAMEWORK_SESSION_ID','newsession','1123029FFDbQl','BROWSERSTACK_PLATFORM_INDEX','is_browserstack_hub','KEY_STARTED_AT','COMMAND_W3C_EXECUTE_SCRIPT_ASYNC','w3cexecutescript','quit','hub_url','COMMAND_SCREENSHOT','403428InQnLh','226926rzmxlz','input_capabilities','screenshot','10MPOCJu','framework_session_id','KEY_INPUT_CAPABILITIES','3broLQP','6CFIeRq','9304IFtBFK','94622diltYm','KEY_ENDED_AT','COMMAND_GET','1300890ksbgOU'];a72_0x5432=function(){return _0x44ca45;};return a72_0x5432();}const AutomationFrameworkConstants=a72_0x5844e2;module[a72_0x10804f(0xa6)]=AutomationFrameworkConstants;
@@ -1 +1 @@
1
- const a73_0x49f799=a73_0x314a;(function(_0x456ce5,_0x3faf12){const _0x11295d=a73_0x314a,_0x595cfe=_0x456ce5();while(!![]){try{const _0x5a284f=-parseInt(_0x11295d(0x173))/0x1+parseInt(_0x11295d(0x180))/0x2+-parseInt(_0x11295d(0x188))/0x3*(-parseInt(_0x11295d(0x19d))/0x4)+-parseInt(_0x11295d(0x171))/0x5+parseInt(_0x11295d(0x16b))/0x6*(-parseInt(_0x11295d(0x1a9))/0x7)+parseInt(_0x11295d(0x153))/0x8+-parseInt(_0x11295d(0x15b))/0x9*(-parseInt(_0x11295d(0x16e))/0xa);if(_0x5a284f===_0x3faf12)break;else _0x595cfe['push'](_0x595cfe['shift']());}catch(_0x256c75){_0x595cfe['push'](_0x595cfe['shift']());}}}(a73_0x3fc9,0xd1937));function a73_0x314a(_0x156703,_0x4b30a6){const _0x3fc926=a73_0x3fc9();return a73_0x314a=function(_0x314ac2,_0x3b7aa5){_0x314ac2=_0x314ac2-0x152;let _0x473398=_0x3fc926[_0x314ac2];return _0x473398;},a73_0x314a(_0x156703,_0x4b30a6);}const a73_0x5e9a3e={};function a73_0x3fc9(){const _0x34c18e=['KEY_TEST_FAILURE_REASON','event_ended_at','hook_name','KEY_AUTOMATE_SESSION_REASON','KEY_TEST_TAGS','KEY_TEST_RETRY_OF','retry_of','^(BEFORE_|AFTER_)','hook_failure_reason','3677212fQVeRD','test_result','11055376dxjUFe','test_scope','event_started_at','test_started_at','test_uuid','custom_metadata','KEY_LOGS','KEY_FILE_LEVEL','9VsjVtc','KEY_TEST_SCOPE','KEY_TEST_RERUN_NAME','TEST_SCREENSHOT','automate_session_name','test_failure_type','test_hooks_started','test_code','test_rerun_name','automate_session_reason','KEY_HOOK_FAILURE_TYPE','KEY_HOOKS_STARTED','KEY_TEST_RESULT','hook_id','hook_failure_type','test_logs','12SkTgBP','KEY_PLATFORM_INDEX','KEY_FILE_NAME','3238190FKNtZQ','KEY_TEST_NAME','KEY_TEST_FILE_PATH','7008690dyZahT','test_meta','519735BaXSSB','KEY_HOOK_ID','KEY_SESSION_NAME','hook_result','KEY_TEST_DURATION','test_hook_last_started','KEY_TEST_ATTACHMENTS','test_framework_name','test_hooks_finished','file_name','test_location','KEY_FILE_SIZE','DEFAULT_TEST_RESULT','2303390PFBFGJ','KEY_HOOK_NAME','platform_index','test_id','test_hook_last_finished','test_tags','KEY_EVENT_ENDED_AT','test_attachments','35172pqWemN','KEY_TEST_ID','KEY_TEST_LOCATION','KIND_SCREENSHOT','exports','test_scopes','KEY_HOOK_LAST_STARTED','DEFAULT_HOOK_RESULT','KEY_TEST_META','hook_logs','KEY_AUTOMATE_SESSION_NAME','hook_failure','test_duration','TEST_LOG','KEY_EVENT_STARTED_AT','KEY_FILE_PATH','KEY_TEST_RESULT_AT','pending','KEY_TEST_FAILURE','test_name','KEY_TEST_STARTED_AT','332EqoHMy','file_level','KIND_LOG'];a73_0x3fc9=function(){return _0x34c18e;};return a73_0x3fc9();}a73_0x5e9a3e['KEY_TEST_UUID']=a73_0x49f799(0x157),a73_0x5e9a3e[a73_0x49f799(0x189)]=a73_0x49f799(0x183),a73_0x5e9a3e[a73_0x49f799(0x16f)]=a73_0x49f799(0x19b),a73_0x5e9a3e[a73_0x49f799(0x170)]='test_file_path',a73_0x5e9a3e[a73_0x49f799(0x1a4)]=a73_0x49f799(0x185),a73_0x5e9a3e[a73_0x49f799(0x167)]=a73_0x49f799(0x152),a73_0x5e9a3e[a73_0x49f799(0x198)]='test_result_at',a73_0x5e9a3e[a73_0x49f799(0x19c)]=a73_0x49f799(0x156),a73_0x5e9a3e['KEY_TEST_ENDED_AT']='test_ended_at',a73_0x5e9a3e[a73_0x49f799(0x18a)]=a73_0x49f799(0x17d),a73_0x5e9a3e[a73_0x49f799(0x177)]=a73_0x49f799(0x194),a73_0x5e9a3e[a73_0x49f799(0x15c)]=a73_0x49f799(0x154),a73_0x5e9a3e['KEY_TEST_SCOPES']=a73_0x49f799(0x18d),a73_0x5e9a3e['KEY_TEST_FRAMEWORK_NAME']=a73_0x49f799(0x17a),a73_0x5e9a3e['KEY_TEST_FRAMEWORK_VERSION']='test_framework_version',a73_0x5e9a3e['KEY_TEST_CODE']=a73_0x49f799(0x162),a73_0x5e9a3e[a73_0x49f799(0x15d)]=a73_0x49f799(0x163),a73_0x5e9a3e[a73_0x49f799(0x1a5)]=a73_0x49f799(0x1a6),a73_0x5e9a3e[a73_0x49f799(0x16c)]=a73_0x49f799(0x182),a73_0x5e9a3e[a73_0x49f799(0x19a)]='test_failure',a73_0x5e9a3e['KEY_TEST_FAILURE_TYPE']=a73_0x49f799(0x160),a73_0x5e9a3e[a73_0x49f799(0x1a0)]='test_failure_reason',a73_0x5e9a3e['KEY_TEST_LOGS']=a73_0x49f799(0x16a),a73_0x5e9a3e[a73_0x49f799(0x190)]=a73_0x49f799(0x172),a73_0x5e9a3e[a73_0x49f799(0x175)]='test_session_name',a73_0x5e9a3e[a73_0x49f799(0x192)]=a73_0x49f799(0x15f),a73_0x5e9a3e['KEY_AUTOMATE_SESSION_STATUS']='automate_session_status',a73_0x5e9a3e[a73_0x49f799(0x1a3)]=a73_0x49f799(0x164),a73_0x5e9a3e[a73_0x49f799(0x196)]=a73_0x49f799(0x155),a73_0x5e9a3e[a73_0x49f799(0x186)]=a73_0x49f799(0x1a1),a73_0x5e9a3e[a73_0x49f799(0x174)]=a73_0x49f799(0x168),a73_0x5e9a3e['KEY_HOOK_RESULT']=a73_0x49f799(0x176),a73_0x5e9a3e[a73_0x49f799(0x165)]=a73_0x49f799(0x169),a73_0x5e9a3e['KEY_HOOK_FAILURE_REASON']=a73_0x49f799(0x1a8),a73_0x5e9a3e['KEY_HOOK_FAILURE']=a73_0x49f799(0x193),a73_0x5e9a3e['KEY_HOOK_LOGS']=a73_0x49f799(0x191),a73_0x5e9a3e[a73_0x49f799(0x181)]=a73_0x49f799(0x1a2),a73_0x5e9a3e[a73_0x49f799(0x17f)]=a73_0x49f799(0x199),a73_0x5e9a3e[a73_0x49f799(0x18f)]=a73_0x49f799(0x199),a73_0x5e9a3e[a73_0x49f799(0x18b)]=a73_0x49f799(0x15e),a73_0x5e9a3e[a73_0x49f799(0x19f)]=a73_0x49f799(0x195),a73_0x5e9a3e['HOOK_REGEX']=a73_0x49f799(0x1a7),a73_0x5e9a3e[a73_0x49f799(0x166)]=a73_0x49f799(0x161),a73_0x5e9a3e['KEY_HOOKS_FINISHED']=a73_0x49f799(0x17b),a73_0x5e9a3e[a73_0x49f799(0x18e)]=a73_0x49f799(0x178),a73_0x5e9a3e['KEY_HOOK_LAST_FINISHED']=a73_0x49f799(0x184),a73_0x5e9a3e[a73_0x49f799(0x159)]='logs',a73_0x5e9a3e['KEY_CUSTOM_TAGS']=a73_0x49f799(0x158),a73_0x5e9a3e[a73_0x49f799(0x179)]=a73_0x49f799(0x187),a73_0x5e9a3e[a73_0x49f799(0x17e)]='file_size',a73_0x5e9a3e[a73_0x49f799(0x16d)]=a73_0x49f799(0x17c),a73_0x5e9a3e[a73_0x49f799(0x197)]='file_path',a73_0x5e9a3e[a73_0x49f799(0x15a)]=a73_0x49f799(0x19e);const TestFrameworkConstants=a73_0x5e9a3e;module[a73_0x49f799(0x18c)]=TestFrameworkConstants;
1
+ const a73_0x30daac=a73_0x1dd7;(function(_0x258427,_0x5ea72c){const _0x2b3933=a73_0x1dd7,_0x55e2dd=_0x258427();while(!![]){try{const _0x25556e=-parseInt(_0x2b3933(0x20f))/0x1*(parseInt(_0x2b3933(0x1d3))/0x2)+parseInt(_0x2b3933(0x1ef))/0x3+-parseInt(_0x2b3933(0x1df))/0x4*(-parseInt(_0x2b3933(0x1e2))/0x5)+-parseInt(_0x2b3933(0x20b))/0x6+-parseInt(_0x2b3933(0x1c9))/0x7*(-parseInt(_0x2b3933(0x200))/0x8)+-parseInt(_0x2b3933(0x1c6))/0x9*(-parseInt(_0x2b3933(0x1cb))/0xa)+-parseInt(_0x2b3933(0x20c))/0xb*(parseInt(_0x2b3933(0x1e0))/0xc);if(_0x25556e===_0x5ea72c)break;else _0x55e2dd['push'](_0x55e2dd['shift']());}catch(_0xb9df0b){_0x55e2dd['push'](_0x55e2dd['shift']());}}}(a73_0x440a,0x9eea2));const a73_0x4482db={};a73_0x4482db[a73_0x30daac(0x1f8)]=a73_0x30daac(0x1f0),a73_0x4482db['KEY_TEST_ID']=a73_0x30daac(0x203),a73_0x4482db[a73_0x30daac(0x201)]=a73_0x30daac(0x1d7),a73_0x4482db[a73_0x30daac(0x202)]=a73_0x30daac(0x1ed),a73_0x4482db[a73_0x30daac(0x215)]=a73_0x30daac(0x1ec),a73_0x4482db[a73_0x30daac(0x1d6)]='test_result',a73_0x4482db[a73_0x30daac(0x1c3)]='test_result_at',a73_0x4482db[a73_0x30daac(0x1e1)]='test_started_at',a73_0x4482db[a73_0x30daac(0x1c1)]=a73_0x30daac(0x1fe),a73_0x4482db['KEY_TEST_LOCATION']=a73_0x30daac(0x210),a73_0x4482db[a73_0x30daac(0x1f4)]=a73_0x30daac(0x1f6),a73_0x4482db[a73_0x30daac(0x1f7)]='test_scope',a73_0x4482db[a73_0x30daac(0x1d1)]=a73_0x30daac(0x1d2),a73_0x4482db[a73_0x30daac(0x1e7)]=a73_0x30daac(0x1cc),a73_0x4482db[a73_0x30daac(0x1de)]=a73_0x30daac(0x1d8),a73_0x4482db[a73_0x30daac(0x214)]=a73_0x30daac(0x1f3),a73_0x4482db['KEY_TEST_RERUN_NAME']='test_rerun_name',a73_0x4482db['KEY_TEST_RETRY_OF']='retry_of',a73_0x4482db[a73_0x30daac(0x1ce)]=a73_0x30daac(0x20a),a73_0x4482db['KEY_TEST_FAILURE']=a73_0x30daac(0x1c8),a73_0x4482db['KEY_TEST_FAILURE_TYPE']=a73_0x30daac(0x208),a73_0x4482db[a73_0x30daac(0x1fc)]=a73_0x30daac(0x1f1),a73_0x4482db[a73_0x30daac(0x1d4)]=a73_0x30daac(0x1ff),a73_0x4482db['KEY_TEST_META']=a73_0x30daac(0x1e8),a73_0x4482db[a73_0x30daac(0x212)]='test_session_name',a73_0x4482db['KEY_AUTOMATE_SESSION_NAME']=a73_0x30daac(0x1d0),a73_0x4482db[a73_0x30daac(0x1f2)]=a73_0x30daac(0x1e9),a73_0x4482db['KEY_AUTOMATE_SESSION_REASON']=a73_0x30daac(0x207),a73_0x4482db[a73_0x30daac(0x20d)]='event_started_at',a73_0x4482db['KEY_EVENT_ENDED_AT']=a73_0x30daac(0x1fd),a73_0x4482db['KEY_HOOK_ID']=a73_0x30daac(0x1da),a73_0x4482db[a73_0x30daac(0x1dd)]=a73_0x30daac(0x1ea),a73_0x4482db['KEY_HOOK_FAILURE_TYPE']=a73_0x30daac(0x1d5),a73_0x4482db[a73_0x30daac(0x20e)]='hook_failure_reason',a73_0x4482db['KEY_HOOK_FAILURE']=a73_0x30daac(0x1d9),a73_0x4482db[a73_0x30daac(0x1e3)]=a73_0x30daac(0x204),a73_0x4482db[a73_0x30daac(0x1c2)]=a73_0x30daac(0x1c5),a73_0x4482db[a73_0x30daac(0x1dc)]=a73_0x30daac(0x1f9),a73_0x4482db['DEFAULT_HOOK_RESULT']=a73_0x30daac(0x1f9),a73_0x4482db[a73_0x30daac(0x1cd)]=a73_0x30daac(0x1e5),a73_0x4482db[a73_0x30daac(0x206)]=a73_0x30daac(0x1fb),a73_0x4482db[a73_0x30daac(0x1ca)]=a73_0x30daac(0x1c4),a73_0x4482db[a73_0x30daac(0x1fa)]='test_hooks_started',a73_0x4482db[a73_0x30daac(0x1e6)]=a73_0x30daac(0x1cf),a73_0x4482db[a73_0x30daac(0x1db)]=a73_0x30daac(0x213),a73_0x4482db['KEY_HOOK_LAST_FINISHED']='test_hook_last_finished',a73_0x4482db['KEY_LOGS']=a73_0x30daac(0x205),a73_0x4482db['KEY_CUSTOM_TAGS']=a73_0x30daac(0x216),a73_0x4482db['KEY_TEST_ATTACHMENTS']=a73_0x30daac(0x1f5),a73_0x4482db[a73_0x30daac(0x1eb)]=a73_0x30daac(0x1ee),a73_0x4482db[a73_0x30daac(0x1e4)]=a73_0x30daac(0x211),a73_0x4482db['KEY_FILE_PATH']='file_path',a73_0x4482db['KEY_FILE_LEVEL']=a73_0x30daac(0x209);function a73_0x1dd7(_0x4cbe36,_0x2cff83){const _0x440ac0=a73_0x440a();return a73_0x1dd7=function(_0x1dd73e,_0x554cc6){_0x1dd73e=_0x1dd73e-0x1c1;let _0x484c47=_0x440ac0[_0x1dd73e];return _0x484c47;},a73_0x1dd7(_0x4cbe36,_0x2cff83);}const TestFrameworkConstants=a73_0x4482db;function a73_0x440a(){const _0x8b1fa4=['platform_index','5191404xtipLJ','99847KqJRxA','KEY_EVENT_STARTED_AT','KEY_HOOK_FAILURE_REASON','49081bMZigS','test_location','file_name','KEY_SESSION_NAME','test_hook_last_started','KEY_TEST_CODE','KEY_TEST_TAGS','custom_metadata','KEY_TEST_ENDED_AT','KEY_HOOK_NAME','KEY_TEST_RESULT_AT','^(BEFORE_|AFTER_)','hook_name','45zzdCYV','exports','test_failure','217TZBfln','HOOK_REGEX','736940LBSDIv','test_framework_name','KIND_SCREENSHOT','KEY_PLATFORM_INDEX','test_hooks_finished','automate_session_name','KEY_TEST_SCOPES','test_scopes','34YqgiIO','KEY_TEST_LOGS','hook_failure_type','KEY_TEST_RESULT','test_name','test_framework_version','hook_failure','hook_id','KEY_HOOK_LAST_STARTED','DEFAULT_TEST_RESULT','KEY_HOOK_RESULT','KEY_TEST_FRAMEWORK_VERSION','104352cFJMfb','612yvrZwz','KEY_TEST_STARTED_AT','100XQjHDM','KEY_HOOK_LOGS','KEY_FILE_NAME','TEST_SCREENSHOT','KEY_HOOKS_FINISHED','KEY_TEST_FRAMEWORK_NAME','test_meta','automate_session_status','hook_result','KEY_FILE_SIZE','test_tags','test_file_path','file_size','2733123JGIUqN','test_uuid','test_failure_reason','KEY_AUTOMATE_SESSION_STATUS','test_code','KEY_TEST_DURATION','test_attachments','test_duration','KEY_TEST_SCOPE','KEY_TEST_UUID','pending','KEY_HOOKS_STARTED','TEST_LOG','KEY_TEST_FAILURE_REASON','event_ended_at','test_ended_at','test_logs','261208xTPPHQ','KEY_TEST_NAME','KEY_TEST_FILE_PATH','test_id','hook_logs','logs','KIND_LOG','automate_session_reason','test_failure_type','file_level'];a73_0x440a=function(){return _0x8b1fa4;};return a73_0x440a();}module[a73_0x30daac(0x1c7)]=TestFrameworkConstants;
@@ -1 +1 @@
1
- const a74_0x4dc9b0=a74_0x240c;(function(_0xf597d5,_0x4638cc){const _0x441a78=a74_0x240c,_0xece406=_0xf597d5();while(!![]){try{const _0x20bcab=-parseInt(_0x441a78(0xaf))/0x1+-parseInt(_0x441a78(0x126))/0x2+parseInt(_0x441a78(0x167))/0x3+parseInt(_0x441a78(0x12d))/0x4+-parseInt(_0x441a78(0xed))/0x5*(parseInt(_0x441a78(0xf9))/0x6)+-parseInt(_0x441a78(0xbd))/0x7*(parseInt(_0x441a78(0xf8))/0x8)+parseInt(_0x441a78(0xde))/0x9*(parseInt(_0x441a78(0x166))/0xa);if(_0x20bcab===_0x4638cc)break;else _0xece406['push'](_0xece406['shift']());}catch(_0x105161){_0xece406['push'](_0xece406['shift']());}}}(a74_0x242b,0x681c9));function a74_0x242b(){const _0x5c1b63=['714661hkAIRs','getTestFrameworksVersions','../state/testFrameworkState.js','resolveInstance','startedAt','started_at','getInstance','getAllData','../../../helpers/classLogger.js','setTestDetails','slice','addMultipleEntries','qeoYO','\x20and\x20args\x20=\x20','112zhBcZJ','\x20for\x20test:\x20','KEY_HOOKS_FINISHED','sendLogCreatedEvent:\x20for\x20testId:\x20','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','KEY_LOGS','dBRYW','failure_type','hooks','KEY_AUTOMATE_SESSION_NAME',',\x20state:\x20','AuWLx','KEY_TEST_ENDED_AT','\x20&\x20hook\x20=\x20','get','KEY_TEST_NAME','ZRWWP','\x20with\x20result:\x20','PRE','addPendingHook','parseCucumberTestResult','getCurrentHookState',',\x20storing\x20as\x20pending\x20hook','createTestFrameworkEventPayload','endedAt','KEY_TEST_FAILURE_TYPE','\x20&\x20hookState=','../instances/trackedInstance.js','sendLogCreatedEvent','createTestFrameworkEventPayload\x20testId:\x20','trackCucumberInstance:\x20saved\x20instance\x20contextId=','KEY_HOOK_RESULT','KEY_HOOK_LOGS','27sQSosU','wCXBR','DEFAULT_HOOK_RESULT','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','JoMSI','testUUID','KEY_HOOK_LAST_STARTED','ShCpn','KEY_EVENT_ENDED_AT','LOG_REPORT','KEY_TEST_FRAMEWORK_VERSION','KgeOU','base64','testFrameworkState','KEY_HOOK_ID','740rFnbOL','failed','XLqfR','KEY_EVENT_STARTED_AT','../state/hookState.js','ceil','\x20pending\x20hooks\x20for\x20testId:\x20','matchHookRegex','scopes','failure_data','test_run_id','381896FfURgo','25062syrwEM','runHooks','trackEvent','../TestInfo.js','KEY_TEST_CODE','name','KEY_TEST_FAILURE','Tracked\x20cucumber\x20hook\x20event:\x20','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','lFvrf','code','\x20with\x20id\x20','KEY_HOOK_LAST_FINISHED','storePendingHook','failure','debug','trackCucumberInstance:\x20created\x20instance\x20for\x20target=','LOsNG','hLnDr','executionContext','jZIjk','FysSY','sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','UnhandledError',',\x20error:\x20','KEY_HOOK_FAILURE_TYPE','format','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','hook_type','key','testData','../instances/testFrameworkInstance.js','trackHookEvent','\x20testState:\x20','readLogObjects','stringify','toISOString','uuid','push','KEY_TEST_FRAMEWORK_NAME','split','KEY_TEST_LOCATION','getTestUUID','passed','getThreadId','1131988SOvixw','KEY_HOOK_FAILURE','test','error','KEY_TEST_SCOPES','instance','\x20with\x20UUID:\x20','420088WvNmAb','MerRV','Zfzye','sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20','createContext','KEY_CUSTOM_TAGS','trackEvent:\x20unsupported\x20testFrameworkState=','KEY_HOOK_FAILURE_REASON','logCreatedEvent','getProcessId','EkPwd','No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','finishedAt','SUsav','inspect','MZwli','TEST','INIT_TEST','failure_reason','../../../helpers/helper.js','fYefV','exports','\x20batch\x20','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','length','meta','tags','removePendingHooks','trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20','\x20payload=','file_name','setTrackedInstance','getId','trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','browserstackPlatformIndex','Parsed\x20cucumber\x20test:\x20','LuNRK','POST','Processing\x20','NONE','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','processPendingHooks',',\x20state=','KEY_TEST_UUID','result','trackCucumberInstance','Updated\x20cucumber\x20test\x20result:\x20','getTestDetails','KEY_TEST_LOGS','CucumberTestFramework','EGXCr','XqNcc','sjkJL','finished_at','Error\x20in\x20createTestFrameworkEventPayload:\x20','../grpcClient','\x20response=','9929280EWzumP','15834JiewzP','KEY_HOOKS_STARTED','hasPendingHooks','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','kDOkl','Cucumber\x20log\x20created\x20event','parseCucumberTest','getRef','KEY_TEST_SCOPE','KEY_TEST_FAILURE_REASON','KEY_TEST_ATTACHMENTS','toString','KEY_TEST_STARTED_AT','hookState','unknown','args','KEY_TEST_META','getTestFrameworks','KEY_HOOK_NAME','getContext','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','hWVUq','./testFramework'];a74_0x242b=function(){return _0x5c1b63;};return a74_0x242b();}const TestFramework=require(a74_0x4dc9b0(0xae)),TestFrameworkState=require(a74_0x4dc9b0(0xb1)),HookState=require(a74_0x4dc9b0(0xf1)),{createClassLogger}=require(a74_0x4dc9b0(0xb7)),TestFrameworkInstance=require(a74_0x4dc9b0(0x118)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a74_0x4dc9b0(0xd8)),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),{getManualUploadLogs,getMediaArtifactsLogs}=require(a74_0x4dc9b0(0x140)),logger=createClassLogger(a74_0x4dc9b0(0x15e)),{v4:uuidv4}=require(a74_0x4dc9b0(0x11e)),util=require('util'),TestInfo=require(a74_0x4dc9b0(0xfc)),GrpcClient=require(a74_0x4dc9b0(0x164));class CucumberTestFramework extends TestFramework{constructor(_0x27ed6f,_0x34b83f,_0x4affa4){super(_0x27ed6f,_0x34b83f,_0x4affa4);}async[a74_0x4dc9b0(0xfb)](_0x1485b8,_0xe0ea13,_0x3feaaf={}){const _0x90acac=a74_0x4dc9b0,_0x378ec3={};_0x378ec3[_0x90acac(0xe2)]=_0x90acac(0x14e),_0x378ec3['bnAEQ']=function(_0x4dd6fc,_0x24c89a){return _0x4dd6fc===_0x24c89a;},_0x378ec3[_0x90acac(0x13a)]=function(_0x4dc2b8,_0x17466c){return _0x4dc2b8===_0x17466c;},_0x378ec3[_0x90acac(0xcd)]=_0x90acac(0x114);const _0x31d090=_0x378ec3;await super[_0x90acac(0xfb)](_0x1485b8,_0xe0ea13,_0x3feaaf);const _0x4ad83c=this['resolveInstance'](_0x1485b8,_0xe0ea13,_0x3feaaf);if(!_0x4ad83c){logger[_0x90acac(0x108)](_0x31d090[_0x90acac(0xe2)]);return;}try{let _0xff77de,_0x26fc96;switch(_0x1485b8){case TestFrameworkState['TEST']:_0xff77de=_0x3feaaf[_0x90acac(0x128)],_0x26fc96=TestInfo[_0x90acac(0x123)](_0xff77de['id']);if(_0x31d090['bnAEQ'](_0xe0ea13,HookState['PRE'])){logger['debug'](_0x90acac(0x144)+_0xff77de['id']);const _0x5b2e17={};_0x5b2e17[_0x90acac(0xe3)]=_0x26fc96,_0x5b2e17[_0x90acac(0x117)]=_0xff77de,_0x4ad83c[_0x90acac(0xba)](this['parseCucumberTest'](_0x5b2e17)),logger[_0x90acac(0x108)](_0x90acac(0x155)+_0xff77de['id']),await this[_0x90acac(0x156)](_0x4ad83c,_0xff77de['id']);}else{if(_0x31d090['SUsav'](_0xe0ea13,HookState[_0x90acac(0x152)])){const _0x489498={};_0x489498['testUUID']=_0x26fc96,_0x489498[_0x90acac(0x117)]=_0xff77de,_0x4ad83c['addMultipleEntries'](this[_0x90acac(0xd1)](_0x489498)),await this[_0x90acac(0x156)](_0x4ad83c,_0xff77de['id']);}}break;case TestFrameworkState[_0x90acac(0xe7)]:_0x31d090['SUsav'](_0xe0ea13,HookState[_0x90acac(0x152)])&&await this[_0x90acac(0xd9)](_0x4ad83c,_0x1485b8,_0x3feaaf);break;default:if(CLIUtils[_0x90acac(0xf4)](_0x1485b8[_0x90acac(0x173)]()[_0x90acac(0x121)]('.')[0x1])){const _0x4ead3f=await this[_0x90acac(0x119)](_0x4ad83c,_0x1485b8,_0xe0ea13,_0x3feaaf);_0x4ad83c[_0x90acac(0xba)](_0x4ead3f);}else logger['debug'](_0x90acac(0x133)+_0x1485b8+_0x90acac(0xd7)+_0xe0ea13);break;}}catch(_0x4da094){logger['error'](util[_0x90acac(0x113)](_0x31d090['ZRWWP'],_0x1485b8,_0xe0ea13,_0x3feaaf[_0x90acac(0x145)],_0x4da094));}_0x3feaaf[_0x90acac(0x12b)]=_0x4ad83c,await this[_0x90acac(0xfa)](_0x4ad83c,_0x1485b8,_0xe0ea13,_0x3feaaf);}[a74_0x4dc9b0(0xb2)](_0x1731c8,_0x28e21a,_0x23bca5={}){const _0x50ebb2=a74_0x4dc9b0,_0x27d08d={};_0x27d08d[_0x50ebb2(0x10e)]=function(_0x27770d,_0x387ec8){return _0x27770d===_0x387ec8;};const _0x1ace27=_0x27d08d;let _0x5a6926=null;return(_0x1ace27[_0x50ebb2(0x10e)](_0x1731c8,TestFrameworkState[_0x50ebb2(0x13e)])||_0x1ace27[_0x50ebb2(0x10e)](_0x1731c8,TestFrameworkState[_0x50ebb2(0x154)]))&&this[_0x50ebb2(0x15a)](_0x1731c8,_0x23bca5),_0x5a6926=TestFramework['getTrackedInstance'](),_0x5a6926;}[a74_0x4dc9b0(0x15a)](_0x48ae1b,_0x56400a){const _0x1e6d54=a74_0x4dc9b0,_0x4004d5=CLIUtils['getCurrentInstanceName'](),_0x218ecc=TrackedInstance[_0x1e6d54(0x131)](_0x4004d5);let _0x3dbe48=null;logger[_0x1e6d54(0x108)](_0x1e6d54(0x109)+_0x4004d5+_0x1e6d54(0x157)+_0x48ae1b),_0x3dbe48=new TestFrameworkInstance(_0x218ecc,this[_0x1e6d54(0xa9)](),this[_0x1e6d54(0xb0)](),_0x48ae1b,HookState[_0x1e6d54(0x154)]),TestFramework[_0x1e6d54(0x14c)](_0x218ecc,_0x3dbe48),logger[_0x1e6d54(0x108)](_0x1e6d54(0xdb)+_0x218ecc['getId']()+'\x20target='+_0x4004d5);}[a74_0x4dc9b0(0x16e)](_0x225353){const _0x415b2c=a74_0x4dc9b0,_0x223faa={};_0x223faa[_0x415b2c(0xe5)]='No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test';const _0x56f7b5=_0x223faa,{testUUID:_0x4adef3,testData:_0x1017a2}=_0x225353;if(!_0x1017a2||!_0x1017a2[_0x415b2c(0x11e)])return logger[_0x415b2c(0x108)](_0x56f7b5[_0x415b2c(0xe5)]),{};const _0x31cce1=_0x4adef3,_0x31f551=_0x1017a2[_0x415b2c(0x11e)],_0x3d3ff0=this['getTestFrameworks']()[0x0],_0x1fac73=this[_0x415b2c(0xb0)](),_0x272c17={[TestFrameworkConstants[_0x415b2c(0x120)]]:_0x3d3ff0,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x1fac73[_0x3d3ff0],[TestFrameworkConstants[_0x415b2c(0x15d)]]:[],[TestFrameworkConstants[_0x415b2c(0xbf)]]:{},[TestFrameworkConstants[_0x415b2c(0x168)]]:{},[TestFrameworkConstants[_0x415b2c(0x158)]]:_0x31cce1,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0x415b2c(0xc6)]]:_0x1017a2[_0x415b2c(0xfe)]||'',[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x1017a2[_0x415b2c(0x14b)]||'',[TestFrameworkConstants['KEY_TEST_ID']]:_0x31f551,[TestFrameworkConstants[_0x415b2c(0xcc)]]:_0x1017a2[_0x415b2c(0xfe)]||'',[TestFrameworkConstants[_0x415b2c(0x122)]]:_0x1017a2['location']||'',[TestFrameworkConstants[_0x415b2c(0xfd)]]:_0x1017a2['body']?.[_0x415b2c(0x103)]||null,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x1017a2[_0x415b2c(0x147)]||[],[TestFrameworkConstants[_0x415b2c(0x174)]]:_0x1017a2[_0x415b2c(0xb3)]||new Date()[_0x415b2c(0x11d)](),[TestFrameworkConstants[_0x415b2c(0x170)]]:_0x1017a2[_0x415b2c(0xf5)]?.[0x0]||'',[TestFrameworkConstants[_0x415b2c(0x12a)]]:_0x1017a2[_0x415b2c(0xf5)]||[],[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0x1017a2['customRerunParam']?.['rerun_name']||_0x1017a2[_0x415b2c(0xfe)]||'',[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:{},[TestFrameworkConstants[_0x415b2c(0xa8)]]:_0x1017a2[_0x415b2c(0x146)]||{}};TestInfo[_0x415b2c(0xb8)](_0x31f551,_0x272c17),logger[_0x415b2c(0x108)](_0x415b2c(0x150)+_0x1017a2[_0x415b2c(0xfe)]+_0x415b2c(0x12c)+_0x31cce1);const _0x5acb21={};return _0x5acb21[_0x31f551]=_0x272c17,_0x5acb21;}[a74_0x4dc9b0(0xd1)](_0x29e78f){const _0x16febb=a74_0x4dc9b0,_0x4f45a1={'iQHZm':_0x16febb(0x16b),'LuNRK':_0x16febb(0x176),'MerRV':function(_0x1b3170,_0x3fc1e9){return _0x1b3170===_0x3fc1e9;},'dBRYW':'failed','CsWkB':_0x16febb(0x110),'MZwli':function(_0x25126f,_0xc5ee8e,_0x2d7b6f){return _0x25126f(_0xc5ee8e,_0x2d7b6f);},'KgeOU':function(_0x1c7e97,_0x2285e8){return _0x1c7e97>_0x2285e8;}},{testUUID:_0x1329e7,testData:_0xf218df}=_0x29e78f;if(!_0xf218df||!_0xf218df['uuid'])return logger[_0x16febb(0x108)](_0x4f45a1['iQHZm']),{};const _0xb891f1=this[_0x16febb(0xb2)](TestFrameworkState[_0x16febb(0x13d)],HookState[_0x16febb(0x152)]),_0x3c66d9=_0xf218df[_0x16febb(0x11e)],_0x49eef3=TestInfo[_0x16febb(0x15c)](_0x3c66d9)||{},_0x5afd85=_0x49eef3?_0x49eef3[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{},_0x31427e={..._0x49eef3,[TestFrameworkConstants['KEY_TEST_RESULT']]:_0xf218df[_0x16febb(0x159)]||_0x4f45a1[_0x16febb(0x151)],[TestFrameworkConstants[_0x16febb(0xc9)]]:_0xf218df[_0x16febb(0x139)]||new Date()['toISOString'](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0x16febb(0x11d)](),[TestFrameworkConstants[_0x16febb(0x132)]]:_0x5afd85,[TestFrameworkConstants[_0x16febb(0xc2)]]:[],[TestFrameworkConstants[_0x16febb(0xa8)]]:_0xf218df[_0x16febb(0x146)]||{}};_0x4f45a1[_0x16febb(0x12e)](_0xf218df[_0x16febb(0x159)],_0x4f45a1[_0x16febb(0xc3)])&&_0xf218df[_0x16febb(0x107)]&&(_0x31427e[TestFrameworkConstants[_0x16febb(0xd6)]]=_0xf218df['failure_type']||_0x4f45a1['CsWkB'],_0x31427e[TestFrameworkConstants[_0x16febb(0x171)]]=_0xf218df[_0x16febb(0x13f)]||'',_0x31427e[TestFrameworkConstants[_0x16febb(0xff)]]=_0xf218df[_0x16febb(0x107)]);const _0x245ed5=TestInfo['getTestDetails'](_0x3c66d9)[TestFrameworkConstants[_0x16febb(0x172)]]||{},_0xd75932=_0x4f45a1[_0x16febb(0x13c)](getManualUploadLogs,_0x245ed5,_0xb891f1[_0x16febb(0xb6)]()['get'](_0x3c66d9)[TestFrameworkConstants[_0x16febb(0x158)]]);if(_0x4f45a1[_0x16febb(0xe9)](_0xd75932['length'],0x0)){const _0x4e27bd=_0x31427e[TestFrameworkConstants[_0x16febb(0xc2)]]||[];_0x31427e[TestFrameworkConstants['KEY_LOGS']]=[..._0x4e27bd,..._0xd75932];}_0xf218df[_0x16febb(0xc5)]&&_0x4f45a1[_0x16febb(0xe9)](_0xf218df[_0x16febb(0xc5)][_0x16febb(0x145)],0x0)&&(_0x31427e[TestFrameworkConstants[_0x16febb(0xbf)]]=_0xf218df[_0x16febb(0xc5)]);TestInfo[_0x16febb(0xb8)](_0x3c66d9,_0x31427e),logger['debug'](_0x16febb(0x15b)+_0xf218df[_0x16febb(0xfe)]+_0x16febb(0xce)+_0xf218df[_0x16febb(0x159)]);const _0x20a37f={};return _0x20a37f[_0x3c66d9]=_0x31427e,_0x20a37f;}async[a74_0x4dc9b0(0x119)](_0x37d159,_0x4ad532,_0x4e55a9,_0x48e7b7){const _0x44617a=a74_0x4dc9b0,_0x206e19={'ETQSd':_0x44617a(0x138),'LOsNG':function(_0x1f7824){return _0x1f7824();},'hLnDr':function(_0x596d80,_0x5e2281){return _0x596d80 in _0x5e2281;},'jZIjk':function(_0x5b7766,_0x2a9c83){return _0x5b7766===_0x2a9c83;},'hWVUq':function(_0xf90b99,_0x4e9d05){return _0xf90b99>_0x4e9d05;},'fYefV':function(_0x3251ab,_0x20e3b3){return _0x3251ab===_0x20e3b3;},'qeoYO':_0x44617a(0xee),'mtmkx':_0x44617a(0x110),'XqNcc':_0x44617a(0x124),'kAxEt':function(_0x26eaa1,_0x49fa7b){return _0x26eaa1!==_0x49fa7b;}},{hookData:_0x5c18be}=_0x48e7b7;if(!_0x5c18be)return logger[_0x44617a(0x108)](_0x206e19['ETQSd']),{};const _0x1ff23b=_0x5c18be['uuid']||_0x206e19[_0x44617a(0x10a)](uuidv4),_0x23f535=_0x5c18be[_0x44617a(0xf7)],_0x3f6afd=_0x4ad532['toString']()[_0x44617a(0x121)]('.')[0x1],_0x620740=TestInfo['getTestDetails'](_0x23f535)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{},_0xd8de47=_0x37d159['getAllData']()[_0x44617a(0xcb)](_0x23f535);if(!_0xd8de47)return logger['debug']('No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x23f535+_0x44617a(0xd3)),this[_0x44617a(0x106)](_0x37d159,_0x23f535,_0x4ad532,_0x4e55a9,_0x48e7b7),{};let _0xab3d16=_0xd8de47[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0xab3d16&&(_0xab3d16={});!_0x206e19[_0x44617a(0x10b)](_0x3f6afd,_0xab3d16)&&(_0xab3d16[_0x3f6afd]=[]);let _0x1cb6f9=_0xd8de47[TestFrameworkConstants[_0x44617a(0xbf)]];!_0x1cb6f9&&(_0x1cb6f9={});!_0x206e19['hLnDr'](_0x3f6afd,_0x1cb6f9)&&(_0x1cb6f9[_0x3f6afd]=[]);const _0x144444={[TestFrameworkConstants[_0x44617a(0x168)]]:_0xab3d16,[TestFrameworkConstants[_0x44617a(0xbf)]]:_0x1cb6f9},_0x34e063={};_0x34e063[_0x23f535]=_0x144444;const _0x3be7b1=_0x34e063;if(_0x206e19[_0x44617a(0x10d)](_0x4e55a9,HookState[_0x44617a(0xcf)])){const _0x5d0398={[TestFrameworkConstants[_0x44617a(0xec)]]:_0x1ff23b,[TestFrameworkConstants[_0x44617a(0xdc)]]:TestFrameworkConstants[_0x44617a(0xe0)],[TestFrameworkConstants[_0x44617a(0xf0)]]:_0x5c18be[_0x44617a(0xb4)],[TestFrameworkConstants[_0x44617a(0xdd)]]:[],[TestFrameworkConstants[_0x44617a(0xaa)]]:_0x5c18be[_0x44617a(0x115)],[TestFrameworkConstants[_0x44617a(0x132)]]:_0x620740};_0x5d0398[_0x44617a(0x116)]=_0x3f6afd;const _0x9107bb=_0x5d0398;_0xab3d16[_0x3f6afd][_0x44617a(0x11f)](_0x9107bb),_0x3be7b1[_0x23f535][TestFrameworkConstants[_0x44617a(0xe4)]]=_0x3f6afd,logger[_0x44617a(0x108)](_0x44617a(0x16a)+_0x3f6afd+_0x44617a(0xca)+_0x9107bb+'\x20\x20and\x20args\x20=\x20'+_0x48e7b7);}else{if(_0x206e19[_0x44617a(0x10d)](_0x4e55a9,HookState[_0x44617a(0x152)])){const _0x3e59af=_0x5c18be['result'],_0x1c2507=_0xab3d16[_0x3f6afd]||[];logger['debug'](_0x44617a(0x149)+_0x1c2507+_0x44617a(0xbc)+_0x48e7b7);if(_0x206e19[_0x44617a(0xad)](_0x1c2507['length'],0x0)){const _0x44cd93=_0x1c2507['pop']();_0x206e19[_0x44617a(0x141)](_0x5c18be[_0x44617a(0x159)],_0x206e19[_0x44617a(0xbb)])&&_0x5c18be[_0x44617a(0xf6)]?(_0x44cd93[TestFrameworkConstants[_0x44617a(0x112)]]=_0x5c18be[_0x44617a(0xc4)]||_0x206e19['mtmkx'],_0x44cd93[TestFrameworkConstants[_0x44617a(0x134)]]=_0x5c18be[_0x44617a(0x13f)]||'',_0x44cd93[TestFrameworkConstants[_0x44617a(0x127)]]=_0x5c18be['failure_data']):_0x44cd93[TestFrameworkConstants[_0x44617a(0xdc)]]=_0x206e19[_0x44617a(0x160)];_0x206e19['kAxEt'](_0x3e59af,TestFrameworkConstants[_0x44617a(0xe0)])&&(_0x44cd93[TestFrameworkConstants[_0x44617a(0xdc)]]=_0x3e59af);_0x44cd93[TestFrameworkConstants[_0x44617a(0xe6)]]=_0x5c18be[_0x44617a(0x162)]||new Date()[_0x44617a(0x11d)](),_0x44cd93[TestFrameworkConstants[_0x44617a(0x132)]]=_0x620740;const _0x184df1=_0x44cd93[TestFrameworkConstants['KEY_HOOK_ID']];!_0x1cb6f9[_0x3f6afd]&&(_0x1cb6f9[_0x3f6afd]=[]),_0x1cb6f9[_0x3f6afd][_0x44617a(0x11f)](_0x44cd93),_0x3be7b1[_0x23f535][TestFrameworkConstants[_0x44617a(0x105)]]=_0x3f6afd;}}}return logger[_0x44617a(0x108)](_0x44617a(0x100)+_0x5c18be[_0x44617a(0x115)]+_0x44617a(0x104)+_0x1ff23b+_0x44617a(0xbe)+_0x23f535),_0x3be7b1;}[a74_0x4dc9b0(0xd4)](_0x1b3f86){const _0x507d3a=a74_0x4dc9b0,_0x2232db={};_0x2232db[_0x507d3a(0xc8)]=_0x507d3a(0xea);const _0x376d60=_0x2232db;try{const _0x497b9a=_0x1b3f86[_0x507d3a(0x128)]?_0x1b3f86[_0x507d3a(0x128)]['id']:_0x1b3f86['hookData'][_0x507d3a(0xf7)],_0x1a4930=_0x1b3f86[_0x507d3a(0x12b)],_0x5c6fbb=_0x1a4930[_0x507d3a(0xab)](),_0x225b5f=_0x1a4930[_0x507d3a(0xb6)]()[_0x507d3a(0xcb)](_0x497b9a);if(!_0x225b5f)return logger['debug'](_0x507d3a(0xc1)+_0x497b9a),{};logger[_0x507d3a(0x108)](_0x507d3a(0xda)+_0x497b9a);const {[TestFrameworkConstants[_0x507d3a(0x120)]]:_0x5a8a05='',[TestFrameworkConstants[_0x507d3a(0xe8)]]:_0x5e5518='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x3b8e86='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x26906d=''}=_0x225b5f,_0x56c3d4=_0x1a4930['getCurrentTestState']()[_0x507d3a(0x173)]()['split']('.')[0x1],_0x4bc5d7=_0x1a4930[_0x507d3a(0xd2)]()[_0x507d3a(0x173)]()[_0x507d3a(0x121)]('.')[0x1],_0x46dfbc=global?.[_0x507d3a(0x14f)]??0x0,_0x4f4f05=_0x1a4930[_0x507d3a(0x16f)](),_0x1fdf8c=Buffer['from'](JSON[_0x507d3a(0x11c)](_0x225b5f))[_0x507d3a(0x173)](_0x376d60[_0x507d3a(0xc8)]),_0x4d0b4f={'hash':_0x5c6fbb[_0x507d3a(0x14d)](),'threadId':_0x5c6fbb[_0x507d3a(0x125)]()['toString'](),'processId':_0x5c6fbb[_0x507d3a(0x136)]()[_0x507d3a(0x173)]()},_0x35d6f6={};_0x35d6f6['platformIndex']=_0x46dfbc,_0x35d6f6['testFrameworkName']=_0x5a8a05,_0x35d6f6['testFrameworkVersion']=_0x5e5518,_0x35d6f6[_0x507d3a(0xeb)]=_0x56c3d4,_0x35d6f6[_0x507d3a(0x175)]=_0x4bc5d7,_0x35d6f6[_0x507d3a(0xb3)]=_0x3b8e86,_0x35d6f6[_0x507d3a(0xd5)]=_0x26906d,_0x35d6f6[_0x507d3a(0x11e)]=_0x4f4f05,_0x35d6f6['eventJson']=_0x1fdf8c,_0x35d6f6[_0x507d3a(0x10c)]=_0x4d0b4f;const _0x43a3c4=_0x35d6f6;return logger[_0x507d3a(0x108)](_0x507d3a(0xe1)+_0x497b9a+_0x507d3a(0x11a)+_0x56c3d4+'\x20hookState:\x20'+_0x4bc5d7),_0x43a3c4;}catch(_0x4b5ae6){return logger['error'](_0x507d3a(0x163)+util['format'](_0x4b5ae6)),{};}}async['sendLogCreatedEvent'](_0x494445,_0x401c70,_0x3624eb){const _0x256c8a=a74_0x4dc9b0,_0x4ca8f7={'EkPwd':function(_0x27ed1e,_0x27e5e9,_0x5814b8){return _0x27ed1e(_0x27e5e9,_0x5814b8);},'taXAk':function(_0x201e6f,_0x4b78a4){return _0x201e6f===_0x4b78a4;},'lFvrf':_0x256c8a(0x10f),'wCXBR':function(_0x36cded,_0x58e96b){return _0x36cded/_0x58e96b;},'sjkJL':function(_0xb58686,_0x107ef1){return _0xb58686<_0x107ef1;},'XLqfR':function(_0x4570b9,_0x24b6af){return _0x4570b9*_0x24b6af;},'EGXCr':function(_0x418d61,_0x8ce134){return _0x418d61+_0x8ce134;},'niuFe':function(_0x1052e2,_0x2c5cb5){return _0x1052e2+_0x2c5cb5;},'Zfzye':_0x256c8a(0x16d)};try{const _0x3ce755=_0x3624eb['testUUID'],_0x357d94=_0x494445['getAllData']()[_0x256c8a(0xcb)](_0x3ce755),{[TestFrameworkConstants[_0x256c8a(0x120)]]:_0x784a48='',[TestFrameworkConstants[_0x256c8a(0xe8)]]:_0x593485=''}=_0x357d94,_0x95f41=TestInfo[_0x256c8a(0x11b)](_0x3ce755),_0x34159b=TestInfo[_0x256c8a(0x15c)](_0x3ce755)[TestFrameworkConstants[_0x256c8a(0x172)]]||{},_0x1d0326=_0x4ca8f7[_0x256c8a(0x137)](getMediaArtifactsLogs,_0x34159b,_0x494445['getAllData']()[_0x256c8a(0xcb)](_0x3ce755)[TestFrameworkConstants[_0x256c8a(0x158)]]),_0x3ef83e=(_0x95f41||[])['concat'](_0x1d0326||[]);if(!_0x3ef83e||_0x4ca8f7['taXAk'](_0x3ef83e[_0x256c8a(0x145)],0x0)){logger[_0x256c8a(0x108)](_0x4ca8f7[_0x256c8a(0x102)]);return;}const _0x3e5154=0x28,_0x52a2da=Math[_0x256c8a(0xf2)](_0x4ca8f7[_0x256c8a(0xdf)](_0x3ef83e[_0x256c8a(0x145)],_0x3e5154));for(let _0x4ad51d=0x0;_0x4ca8f7[_0x256c8a(0x161)](_0x4ad51d,_0x52a2da);_0x4ad51d++){const _0x1819bc=_0x4ca8f7[_0x256c8a(0xef)](_0x4ad51d,_0x3e5154),_0x1ec81b=_0x4ca8f7[_0x256c8a(0x15f)](_0x1819bc,_0x3e5154),_0x3a70cb=_0x3ef83e[_0x256c8a(0xb9)](_0x1819bc,_0x1ec81b),_0x4bdc98={'platformIndex':global?.[_0x256c8a(0x14f)]??0x0,'logs':_0x3a70cb,'testFrameworkName':_0x784a48,'testFrameworkVersion':_0x593485,'testFrameworkState':_0x401c70['toString']()[_0x256c8a(0x121)]('.')[0x1]};logger['debug'](_0x256c8a(0xc0)+_0x3ce755+_0x256c8a(0x143)+_0x4ca8f7['niuFe'](_0x4ad51d,0x1)+'/'+_0x52a2da+_0x256c8a(0x14a)+util[_0x256c8a(0x13b)](_0x4bdc98));const _0x1a3b0b=await GrpcClient[_0x256c8a(0xb5)]()[_0x256c8a(0x135)](_0x4bdc98);logger[_0x256c8a(0x108)](_0x256c8a(0xc0)+_0x3ce755+'\x20batch\x20'+_0x4ca8f7[_0x256c8a(0x15f)](_0x4ad51d,0x1)+'/'+_0x52a2da+_0x256c8a(0x165)+util[_0x256c8a(0x13b)](_0x1a3b0b));}}catch(_0x4a1de0){logger['error'](_0x256c8a(0x130)+util[_0x256c8a(0x113)](_0x4a1de0));}logger[_0x256c8a(0x108)](_0x4ca8f7[_0x256c8a(0x12f)]);}[a74_0x4dc9b0(0x106)](_0x58fe2c,_0x2f4ea5,_0x54d665,_0x4abf8c,_0x4f522b){const _0x2fe1be=a74_0x4dc9b0,_0x44a52a={'testId':_0x2f4ea5,'testFrameworkState':_0x54d665,'hookState':_0x4abf8c,'args':_0x4f522b,'timestamp':new Date()[_0x2fe1be(0x11d)]()};_0x58fe2c[_0x2fe1be(0xd0)](_0x2f4ea5,_0x44a52a),logger[_0x2fe1be(0x108)]('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x2f4ea5+_0x2fe1be(0xc7)+_0x54d665+',\x20hookState:\x20'+_0x4abf8c);}async[a74_0x4dc9b0(0x156)](_0x500aad,_0x4b1a03){const _0x5b3903=a74_0x4dc9b0,_0x567153={};_0x567153[_0x5b3903(0x16c)]=function(_0x27e730,_0x483187){return _0x27e730>_0x483187;};const _0x194723=_0x567153;if(!_0x500aad[_0x5b3903(0x169)](_0x4b1a03))return;const _0x26e57f=_0x500aad['getPendingHooks'](_0x4b1a03);logger['debug'](_0x5b3903(0x153)+_0x26e57f[_0x5b3903(0x145)]+_0x5b3903(0xf3)+_0x4b1a03);for(const _0x16d170 of _0x26e57f){try{const _0x45f3b9=await this[_0x5b3903(0x119)](_0x500aad,_0x16d170['testFrameworkState'],_0x16d170[_0x5b3903(0x175)],_0x16d170[_0x5b3903(0xa7)]);_0x45f3b9&&_0x194723[_0x5b3903(0x16c)](Object['keys'](_0x45f3b9)[_0x5b3903(0x145)],0x0)&&_0x500aad[_0x5b3903(0xba)](_0x45f3b9),await this[_0x5b3903(0xfa)](_0x500aad,_0x16d170[_0x5b3903(0xeb)],_0x16d170[_0x5b3903(0x175)],_0x16d170[_0x5b3903(0xa7)]);}catch(_0x4a3dc0){logger[_0x5b3903(0x129)](_0x5b3903(0x101)+_0x4b1a03+_0x5b3903(0x111)+_0x4a3dc0);}}_0x500aad[_0x5b3903(0x148)](_0x4b1a03),logger[_0x5b3903(0x108)](_0x5b3903(0xac)+_0x4b1a03);}}function a74_0x240c(_0x117091,_0x28f0d1){const _0x242bc2=a74_0x242b();return a74_0x240c=function(_0x240c10,_0x1e6978){_0x240c10=_0x240c10-0xa7;let _0x399e28=_0x242bc2[_0x240c10];return _0x399e28;},a74_0x240c(_0x117091,_0x28f0d1);}module[a74_0x4dc9b0(0x142)]=CucumberTestFramework;
1
+ const a74_0x40720f=a74_0x394b;(function(_0x448111,_0x5d4958){const _0xc605ca=a74_0x394b,_0x2b13ff=_0x448111();while(!![]){try{const _0x11ecfc=-parseInt(_0xc605ca(0x8e))/0x1+-parseInt(_0xc605ca(0x114))/0x2*(parseInt(_0xc605ca(0x99))/0x3)+-parseInt(_0xc605ca(0x75))/0x4+parseInt(_0xc605ca(0x88))/0x5+parseInt(_0xc605ca(0xab))/0x6+parseInt(_0xc605ca(0xaf))/0x7*(-parseInt(_0xc605ca(0x118))/0x8)+-parseInt(_0xc605ca(0x12b))/0x9*(-parseInt(_0xc605ca(0x90))/0xa);if(_0x11ecfc===_0x5d4958)break;else _0x2b13ff['push'](_0x2b13ff['shift']());}catch(_0x50f290){_0x2b13ff['push'](_0x2b13ff['shift']());}}}(a74_0x16b8,0xd1cc4));function a74_0x394b(_0x1f42cc,_0x1b99fb){const _0x16b8ad=a74_0x16b8();return a74_0x394b=function(_0x394b05,_0x576ee2){_0x394b05=_0x394b05-0x6f;let _0x5df0e2=_0x16b8ad[_0x394b05];return _0x5df0e2;},a74_0x394b(_0x1f42cc,_0x1b99fb);}function a74_0x16b8(){const _0x5e3e9c=['instance','KEY_TEST_FRAMEWORK_VERSION','../grpcClient','getProcessId','jYiTw','debug','trackCucumberInstance:\x20created\x20instance\x20for\x20target=','endedAt','setTrackedInstance','JGRYE','FIQyE','startedAt','failed','UnhandledError','NPKOW','\x20and\x20args\x20=\x20','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','KEY_TEST_SCOPE','Updated\x20cucumber\x20test\x20result:\x20',',\x20state=','cJUWs','rerun_name','\x20with\x20UUID:\x20',',\x20hookState:\x20','Processing\x20','NONE','stringify','addMultipleEntries','KEY_HOOK_RESULT','key','VdmdF','INIT_TEST','testUUID','ZXwnf','gyYgS','getTestFrameworks','getRef','KEY_TEST_FAILURE_TYPE','testFrameworkState','testData','hook_type','sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','uuid','ZdGwN','\x20testState:\x20','DEFAULT_HOOK_RESULT','setTestDetails','iYrWc','logCreatedEvent','KEY_TEST_NAME','result','hasPendingHooks','KEY_EVENT_STARTED_AT','622QvFmvU','trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20','xRqQP','NXhsa','144RJxEJQ','KEY_TEST_STARTED_AT','push','error','hookState','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','BAHYc','format','getPendingHooks','file_name','createTestFrameworkEventPayload\x20testId:\x20','pABSn','MYuWJ','scopes','No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','KEY_HOOK_LAST_STARTED','createContext','failure_type','failure_reason','19296hULoxx','get','KEY_CUSTOM_TAGS','from','\x20pending\x20hooks\x20for\x20testId:\x20','args','hooks','code','KEY_TEST_LOCATION','\x20batch\x20','Error\x20in\x20createTestFrameworkEventPayload:\x20','KEY_TEST_ID','pZMoJ','KEY_HOOK_FAILURE','lnFtg','KEY_TEST_SCOPES','KEY_TEST_RERUN_NAME','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','KEY_TEST_META','processPendingHooks','../state/testFrameworkState.js','\x20target=','Cucumber\x20log\x20created\x20event','addPendingHook','4523352UhbSrz','platformIndex','getAllData','executionContext','getId','KEY_HOOK_LOGS','KEY_TEST_FAILURE_REASON','runHooks','KEY_HOOKS_FINISHED','KEY_TEST_ATTACHMENTS','HfYXw','../../../helpers/classLogger.js','getThreadId','../instances/trackedInstance.js','getInstance','\x20\x20and\x20args\x20=\x20','getTestDetails','keys','getCurrentTestState','4191995VGoQVg',',\x20storing\x20as\x20pending\x20hook','WNYqH','HjJUZ','sendLogCreatedEvent','started_at','397167dUEAFE','EcKuY','11210YpEiRZ','USEGR','PfmrE','base64','SyUXG',',\x20state:\x20','Tracked\x20cucumber\x20hook\x20event:\x20','trackEvent:\x20unsupported\x20testFrameworkState=','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test','501VujBhk','test_run_id','unknown','testFrameworkName','POST','split','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','resolveInstance','parseCucumberTestResult','browserstackPlatformIndex','\x20&\x20hook\x20=\x20','failure_data','KEY_TEST_FRAMEWORK_NAME','ZJjjl','concat','getCurrentInstanceName','KEY_TEST_ENDED_AT','ceil','821010LbsrRw','KEY_TEST_UUID','../../../helpers/helper.js','hookData','365316mKmitx','toString','mvOKU','util','trackCucumberInstance','getTrackedInstance','storePendingHook','KEY_HOOK_ID','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','jwBvl','HMYHU','readLogObjects','failure','KEY_TEST_FILE_PATH','trackEvent','finishedAt','sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20','sendLogCreatedEvent:\x20for\x20testId:\x20','oiLXG','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','IcvhY','../cliUtils.js','createTestFrameworkEventPayload','KEY_TEST_RESULT_AT','trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','MHWOV','KEY_TEST_FAILURE','KEY_LOGS','length','test','trackHookEvent','toISOString','DEFAULT_TEST_RESULT','./constants/testFrameworkConstants.js','PRE','KEY_TEST_RESULT','KEY_AUTOMATE_SESSION_NAME','KEY_HOOKS_STARTED','name','matchHookRegex','KEY_TEST_TAGS','getTestFrameworksVersions','No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','KpeAr','./testFramework','getContext','\x20for\x20test:\x20'];a74_0x16b8=function(){return _0x5e3e9c;};return a74_0x16b8();}const TestFramework=require(a74_0x40720f(0xdc)),TestFrameworkState=require(a74_0x40720f(0x71)),HookState=require('../state/hookState.js'),{createClassLogger}=require(a74_0x40720f(0x80)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a74_0x40720f(0xc5)),TrackedInstance=require(a74_0x40720f(0x82)),TestFrameworkConstants=require(a74_0x40720f(0xd1)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a74_0x40720f(0xad)),logger=createClassLogger('CucumberTestFramework'),{v4:uuidv4}=require(a74_0x40720f(0x109)),util=require(a74_0x40720f(0xb2)),TestInfo=require('../TestInfo.js'),GrpcClient=require(a74_0x40720f(0xe1));class CucumberTestFramework extends TestFramework{constructor(_0x371524,_0x1a4a2d,_0x58f3a9){super(_0x371524,_0x1a4a2d,_0x58f3a9);}async[a74_0x40720f(0xbe)](_0x53796a,_0x28b531,_0x3859e7={}){const _0x73089e=a74_0x40720f,_0x15f1b2={};_0x15f1b2[_0x73089e(0xb1)]=_0x73089e(0xc8),_0x15f1b2[_0x73089e(0x137)]=function(_0x2c29a8,_0xf904a5){return _0x2c29a8===_0xf904a5;},_0x15f1b2[_0x73089e(0x123)]=function(_0x2f8865,_0x191169){return _0x2f8865===_0x191169;},_0x15f1b2[_0x73089e(0x100)]=_0x73089e(0xef);const _0x24afc3=_0x15f1b2;await super[_0x73089e(0xbe)](_0x53796a,_0x28b531,_0x3859e7);const _0x1e352f=this['resolveInstance'](_0x53796a,_0x28b531,_0x3859e7);if(!_0x1e352f){logger[_0x73089e(0xe4)](_0x24afc3['mvOKU']);return;}try{let _0x51c3e5,_0x1d0932;switch(_0x53796a){case TestFrameworkState['TEST']:_0x51c3e5=_0x3859e7['test'],_0x1d0932=TestInfo['getTestUUID'](_0x51c3e5['id']);if(_0x24afc3['pZMoJ'](_0x28b531,HookState['PRE'])){logger[_0x73089e(0xe4)]('trackEvent\x20loading\x20testData\x20for\x20testId:\x20'+_0x51c3e5['id']);const _0x4d87e8={};_0x4d87e8[_0x73089e(0xff)]=_0x1d0932,_0x4d87e8[_0x73089e(0x106)]=_0x51c3e5,_0x1e352f[_0x73089e(0xfa)](this['parseCucumberTest'](_0x4d87e8)),logger[_0x73089e(0xe4)](_0x73089e(0xb7)+_0x51c3e5['id']),await this[_0x73089e(0x70)](_0x1e352f,_0x51c3e5['id']);}else{if(_0x24afc3['pZMoJ'](_0x28b531,HookState[_0x73089e(0x9d)])){const _0x4aad3c={};_0x4aad3c[_0x73089e(0xff)]=_0x1d0932,_0x4aad3c[_0x73089e(0x106)]=_0x51c3e5,_0x1e352f[_0x73089e(0xfa)](this[_0x73089e(0xa1)](_0x4aad3c)),await this['processPendingHooks'](_0x1e352f,_0x51c3e5['id']);}}break;case TestFrameworkState['LOG_REPORT']:_0x24afc3[_0x73089e(0x123)](_0x28b531,HookState[_0x73089e(0x9d)])&&await this[_0x73089e(0x8c)](_0x1e352f,_0x53796a,_0x3859e7);break;default:if(CLIUtils[_0x73089e(0xd7)](_0x53796a['toString']()['split']('.')[0x1])){const _0x125fea=await this[_0x73089e(0xce)](_0x1e352f,_0x53796a,_0x28b531,_0x3859e7);_0x1e352f['addMultipleEntries'](_0x125fea);}else logger[_0x73089e(0xe4)](_0x73089e(0x97)+_0x53796a+'\x20&\x20hookState='+_0x28b531);break;}}catch(_0x47b88b){logger[_0x73089e(0x11b)](util[_0x73089e(0x11f)](_0x24afc3['ZXwnf'],_0x53796a,_0x28b531,_0x3859e7[_0x73089e(0xcc)],_0x47b88b));}_0x3859e7[_0x73089e(0xdf)]=_0x1e352f,await this[_0x73089e(0x7c)](_0x1e352f,_0x53796a,_0x28b531,_0x3859e7);}[a74_0x40720f(0xa0)](_0x176053,_0x5af519,_0x21ba68={}){const _0x277301=a74_0x40720f,_0x4fc4f1={};_0x4fc4f1['HjJUZ']=function(_0x36daa9,_0x15232e){return _0x36daa9===_0x15232e;},_0x4fc4f1[_0x277301(0x101)]=function(_0xf9c213,_0x535436){return _0xf9c213===_0x535436;};const _0x12618f=_0x4fc4f1;let _0x3d3f16=null;return(_0x12618f[_0x277301(0x8b)](_0x176053,TestFrameworkState[_0x277301(0xfe)])||_0x12618f[_0x277301(0x101)](_0x176053,TestFrameworkState[_0x277301(0xf8)]))&&this[_0x277301(0xb3)](_0x176053,_0x21ba68),_0x3d3f16=TestFramework[_0x277301(0xb4)](),_0x3d3f16;}[a74_0x40720f(0xb3)](_0x44f1f6,_0x26c601){const _0x35554d=a74_0x40720f,_0x4e039f=CLIUtils[_0x35554d(0xa8)](),_0x328c88=TrackedInstance[_0x35554d(0x128)](_0x4e039f);let _0x606eb6=null;logger[_0x35554d(0xe4)](_0x35554d(0xe5)+_0x4e039f+_0x35554d(0xf2)+_0x44f1f6),_0x606eb6=new TestFrameworkInstance(_0x328c88,this[_0x35554d(0x102)](),this[_0x35554d(0xd9)](),_0x44f1f6,HookState[_0x35554d(0xf8)]),TestFramework[_0x35554d(0xe7)](_0x328c88,_0x606eb6),logger['debug']('trackCucumberInstance:\x20saved\x20instance\x20contextId='+_0x328c88[_0x35554d(0x79)]()+_0x35554d(0x72)+_0x4e039f);}['parseCucumberTest'](_0x4feb3d){const _0x22f5ed=a74_0x40720f,_0x26e2ec={};_0x26e2ec[_0x22f5ed(0xed)]=_0x22f5ed(0x98);const _0x1d312c=_0x26e2ec,{testUUID:_0x4be8db,testData:_0x36ba32}=_0x4feb3d;if(!_0x36ba32||!_0x36ba32[_0x22f5ed(0x109)])return logger['debug'](_0x1d312c[_0x22f5ed(0xed)]),{};const _0x190194=_0x4be8db,_0x1c1309=_0x36ba32['uuid'],_0x179a4e=this['getTestFrameworks']()[0x0],_0x175906=this[_0x22f5ed(0xd9)](),_0x1e0907={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x179a4e,[TestFrameworkConstants[_0x22f5ed(0xe0)]]:_0x175906[_0x179a4e],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0x22f5ed(0x7d)]]:{},[TestFrameworkConstants[_0x22f5ed(0xd5)]]:{},[TestFrameworkConstants['KEY_TEST_UUID']]:_0x190194,[TestFrameworkConstants[_0x22f5ed(0xd3)]]:TestFrameworkConstants[_0x22f5ed(0xd0)],[TestFrameworkConstants[_0x22f5ed(0xd4)]]:_0x36ba32[_0x22f5ed(0xd6)]||'',[TestFrameworkConstants[_0x22f5ed(0xbd)]]:_0x36ba32[_0x22f5ed(0x121)]||'',[TestFrameworkConstants[_0x22f5ed(0x136)]]:_0x1c1309,[TestFrameworkConstants[_0x22f5ed(0x110)]]:_0x36ba32[_0x22f5ed(0xd6)]||'',[TestFrameworkConstants[_0x22f5ed(0x133)]]:_0x36ba32['location']||'',[TestFrameworkConstants['KEY_TEST_CODE']]:_0x36ba32['body']?.[_0x22f5ed(0x132)]||null,[TestFrameworkConstants[_0x22f5ed(0xd8)]]:_0x36ba32['tags']||[],[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x36ba32[_0x22f5ed(0xea)]||new Date()['toISOString'](),[TestFrameworkConstants[_0x22f5ed(0xf0)]]:_0x36ba32['scopes']?.[0x0]||'',[TestFrameworkConstants[_0x22f5ed(0x13a)]]:_0x36ba32[_0x22f5ed(0x125)]||[],[TestFrameworkConstants[_0x22f5ed(0x13b)]]:_0x36ba32['customRerunParam']?.[_0x22f5ed(0xf4)]||_0x36ba32[_0x22f5ed(0xd6)]||'',[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:{},[TestFrameworkConstants[_0x22f5ed(0x6f)]]:_0x36ba32['meta']||{}};TestInfo[_0x22f5ed(0x10d)](_0x1c1309,_0x1e0907),logger[_0x22f5ed(0xe4)]('Parsed\x20cucumber\x20test:\x20'+_0x36ba32[_0x22f5ed(0xd6)]+_0x22f5ed(0xf5)+_0x190194);const _0x4bd49d={};return _0x4bd49d[_0x1c1309]=_0x1e0907,_0x4bd49d;}[a74_0x40720f(0xa1)](_0x3b9b2f){const _0x187334=a74_0x40720f,_0x5cf5be={'KpeAr':_0x187334(0xc3),'Gxnub':_0x187334(0x9b),'lnFtg':function(_0x45d8c9,_0x251098){return _0x45d8c9===_0x251098;},'HMYHU':_0x187334(0xeb),'BAHYc':_0x187334(0xec),'HfYXw':function(_0x5d853e,_0x56800b,_0x3bdb56){return _0x5d853e(_0x56800b,_0x3bdb56);},'jYiTw':function(_0x2d3d87,_0x107cd9){return _0x2d3d87>_0x107cd9;}},{testUUID:_0x3bc0c9,testData:_0x1f07ea}=_0x3b9b2f;if(!_0x1f07ea||!_0x1f07ea[_0x187334(0x109)])return logger[_0x187334(0xe4)](_0x5cf5be[_0x187334(0xdb)]),{};const _0x347884=this[_0x187334(0xa0)](TestFrameworkState['TEST'],HookState[_0x187334(0x9d)]),_0x5ecb9e=_0x1f07ea[_0x187334(0x109)],_0x246d63=TestInfo['getTestDetails'](_0x5ecb9e)||{},_0x668e07=_0x246d63?_0x246d63[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{},_0x4e933e={..._0x246d63,[TestFrameworkConstants[_0x187334(0xd3)]]:_0x1f07ea[_0x187334(0x111)]||_0x5cf5be['Gxnub'],[TestFrameworkConstants[_0x187334(0xa9)]]:_0x1f07ea[_0x187334(0xbf)]||new Date()[_0x187334(0xcf)](),[TestFrameworkConstants[_0x187334(0xc7)]]:new Date()[_0x187334(0xcf)](),[TestFrameworkConstants[_0x187334(0x12d)]]:_0x668e07,[TestFrameworkConstants[_0x187334(0xcb)]]:[],[TestFrameworkConstants['KEY_TEST_META']]:_0x1f07ea['meta']||{}};_0x5cf5be[_0x187334(0x139)](_0x1f07ea[_0x187334(0x111)],_0x5cf5be[_0x187334(0xba)])&&_0x1f07ea[_0x187334(0xbc)]&&(_0x4e933e[TestFrameworkConstants[_0x187334(0x104)]]=_0x1f07ea['failure_type']||_0x5cf5be[_0x187334(0x11e)],_0x4e933e[TestFrameworkConstants[_0x187334(0x7b)]]=_0x1f07ea[_0x187334(0x12a)]||'',_0x4e933e[TestFrameworkConstants[_0x187334(0xca)]]=_0x1f07ea['failure']);const _0x6f9bfb=TestInfo[_0x187334(0x85)](_0x5ecb9e)[TestFrameworkConstants[_0x187334(0x7e)]]||{},_0x3d0fac=_0x5cf5be[_0x187334(0x7f)](getManualUploadLogs,_0x6f9bfb,_0x347884[_0x187334(0x77)]()[_0x187334(0x12c)](_0x5ecb9e)[TestFrameworkConstants[_0x187334(0xac)]]);if(_0x5cf5be['jYiTw'](_0x3d0fac[_0x187334(0xcc)],0x0)){const _0x13d41b=_0x4e933e[TestFrameworkConstants[_0x187334(0xcb)]]||[];_0x4e933e[TestFrameworkConstants[_0x187334(0xcb)]]=[..._0x13d41b,..._0x3d0fac];}_0x1f07ea['hooks']&&_0x5cf5be[_0x187334(0xe3)](_0x1f07ea[_0x187334(0x131)]['length'],0x0)&&(_0x4e933e[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x1f07ea[_0x187334(0x131)]);TestInfo['setTestDetails'](_0x5ecb9e,_0x4e933e),logger[_0x187334(0xe4)](_0x187334(0xf1)+_0x1f07ea[_0x187334(0xd6)]+'\x20with\x20result:\x20'+_0x1f07ea[_0x187334(0x111)]);const _0x2c1712={};return _0x2c1712[_0x5ecb9e]=_0x4e933e,_0x2c1712;}async['trackHookEvent'](_0x5cc2bc,_0x44445a,_0x4c446d,_0x2a6765){const _0xa64986=a74_0x40720f,_0x13376b={'MYuWJ':_0xa64986(0x126),'fXzRo':function(_0x404fb4){return _0x404fb4();},'WNYqH':function(_0xa94cc9,_0x340cf2){return _0xa94cc9 in _0x340cf2;},'nAkBO':function(_0x2a67de,_0x3bfc80){return _0x2a67de in _0x3bfc80;},'ZJjjl':function(_0xf1a873,_0x5ae4b8){return _0xf1a873===_0x5ae4b8;},'IcvhY':function(_0x2fd36c,_0x2731fa){return _0x2fd36c>_0x2731fa;},'USEGR':'failed','NXhsa':'UnhandledError','cJUWs':'passed','MHWOV':function(_0x347cd4,_0xf3b77){return _0x347cd4!==_0xf3b77;}},{hookData:_0x21e08d}=_0x2a6765;if(!_0x21e08d)return logger['debug'](_0x13376b[_0xa64986(0x124)]),{};const _0x329098=_0x21e08d[_0xa64986(0x109)]||_0x13376b['fXzRo'](uuidv4),_0x441c7f=_0x21e08d[_0xa64986(0x9a)],_0x5b404f=_0x44445a[_0xa64986(0xb0)]()[_0xa64986(0x9e)]('.')[0x1],_0x220bb0=TestInfo[_0xa64986(0x85)](_0x441c7f)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{},_0x4ebcaa=_0x5cc2bc['getAllData']()[_0xa64986(0x12c)](_0x441c7f);if(!_0x4ebcaa)return logger[_0xa64986(0xe4)](_0xa64986(0xda)+_0x441c7f+_0xa64986(0x89)),this[_0xa64986(0xb5)](_0x5cc2bc,_0x441c7f,_0x44445a,_0x4c446d,_0x2a6765),{};let _0x466fac=_0x4ebcaa[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x466fac&&(_0x466fac={});!_0x13376b[_0xa64986(0x8a)](_0x5b404f,_0x466fac)&&(_0x466fac[_0x5b404f]=[]);let _0x414de2=_0x4ebcaa[TestFrameworkConstants[_0xa64986(0x7d)]];!_0x414de2&&(_0x414de2={});!_0x13376b['nAkBO'](_0x5b404f,_0x414de2)&&(_0x414de2[_0x5b404f]=[]);const _0xc2de05={[TestFrameworkConstants[_0xa64986(0xd5)]]:_0x466fac,[TestFrameworkConstants[_0xa64986(0x7d)]]:_0x414de2},_0x42568c={};_0x42568c[_0x441c7f]=_0xc2de05;const _0x46c8ff=_0x42568c;if(_0x13376b[_0xa64986(0xa6)](_0x4c446d,HookState[_0xa64986(0xd2)])){const _0x2b7a6c={[TestFrameworkConstants[_0xa64986(0xb6)]]:_0x329098,[TestFrameworkConstants[_0xa64986(0xfb)]]:TestFrameworkConstants[_0xa64986(0x10c)],[TestFrameworkConstants[_0xa64986(0x113)]]:_0x21e08d[_0xa64986(0x8d)],[TestFrameworkConstants[_0xa64986(0x7a)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x21e08d[_0xa64986(0x107)],[TestFrameworkConstants[_0xa64986(0x12d)]]:_0x220bb0};_0x2b7a6c[_0xa64986(0xfc)]=_0x5b404f;const _0x3ced58=_0x2b7a6c;_0x466fac[_0x5b404f][_0xa64986(0x11a)](_0x3ced58),_0x46c8ff[_0x441c7f][TestFrameworkConstants[_0xa64986(0x127)]]=_0x5b404f,logger[_0xa64986(0xe4)](_0xa64986(0xb8)+_0x5b404f+_0xa64986(0xa3)+_0x3ced58+_0xa64986(0x84)+_0x2a6765);}else{if(_0x13376b[_0xa64986(0xa6)](_0x4c446d,HookState[_0xa64986(0x9d)])){const _0x4b8bac=_0x21e08d[_0xa64986(0x111)],_0x59a2ff=_0x466fac[_0x5b404f]||[];logger[_0xa64986(0xe4)](_0xa64986(0x115)+_0x59a2ff+_0xa64986(0xee)+_0x2a6765);if(_0x13376b[_0xa64986(0xc4)](_0x59a2ff[_0xa64986(0xcc)],0x0)){const _0x33c4dc=_0x59a2ff['pop']();_0x13376b[_0xa64986(0xa6)](_0x21e08d[_0xa64986(0x111)],_0x13376b[_0xa64986(0x91)])&&_0x21e08d[_0xa64986(0xa4)]?(_0x33c4dc[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=_0x21e08d[_0xa64986(0x129)]||_0x13376b[_0xa64986(0x117)],_0x33c4dc[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=_0x21e08d[_0xa64986(0x12a)]||'',_0x33c4dc[TestFrameworkConstants[_0xa64986(0x138)]]=_0x21e08d[_0xa64986(0xa4)]):_0x33c4dc[TestFrameworkConstants[_0xa64986(0xfb)]]=_0x13376b[_0xa64986(0xf3)];_0x13376b[_0xa64986(0xc9)](_0x4b8bac,TestFrameworkConstants[_0xa64986(0x10c)])&&(_0x33c4dc[TestFrameworkConstants[_0xa64986(0xfb)]]=_0x4b8bac);_0x33c4dc[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x21e08d['finished_at']||new Date()[_0xa64986(0xcf)](),_0x33c4dc[TestFrameworkConstants[_0xa64986(0x12d)]]=_0x220bb0;const _0x778fa9=_0x33c4dc[TestFrameworkConstants['KEY_HOOK_ID']];!_0x414de2[_0x5b404f]&&(_0x414de2[_0x5b404f]=[]),_0x414de2[_0x5b404f][_0xa64986(0x11a)](_0x33c4dc),_0x46c8ff[_0x441c7f][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x5b404f;}}}return logger[_0xa64986(0xe4)](_0xa64986(0x96)+_0x21e08d[_0xa64986(0x107)]+'\x20with\x20id\x20'+_0x329098+_0xa64986(0xde)+_0x441c7f),_0x46c8ff;}[a74_0x40720f(0xc6)](_0x5532e8){const _0x4e12d8=a74_0x40720f,_0x3a7db0={};_0x3a7db0[_0x4e12d8(0x10e)]=_0x4e12d8(0x93);const _0x3034bb=_0x3a7db0;try{const _0x5dcf78=_0x5532e8[_0x4e12d8(0xcd)]?_0x5532e8['test']['id']:_0x5532e8[_0x4e12d8(0xae)]['test_run_id'],_0x4cf124=_0x5532e8[_0x4e12d8(0xdf)],_0xdc1b6f=_0x4cf124[_0x4e12d8(0xdd)](),_0xd608ed=_0x4cf124['getAllData']()['get'](_0x5dcf78);if(!_0xd608ed)return logger['debug'](_0x4e12d8(0x13c)+_0x5dcf78),{};logger[_0x4e12d8(0xe4)](_0x4e12d8(0x122)+_0x5dcf78);const {[TestFrameworkConstants[_0x4e12d8(0xa5)]]:_0x59171d='',[TestFrameworkConstants[_0x4e12d8(0xe0)]]:_0x7773e0='',[TestFrameworkConstants[_0x4e12d8(0x119)]]:_0x36443d='',[TestFrameworkConstants[_0x4e12d8(0xa9)]]:_0x1a9a8c=''}=_0xd608ed,_0x1924af=_0x4cf124[_0x4e12d8(0x87)]()[_0x4e12d8(0xb0)]()['split']('.')[0x1],_0x17b531=_0x4cf124['getCurrentHookState']()['toString']()['split']('.')[0x1],_0x4d5925=global?.[_0x4e12d8(0xa2)]??0x0,_0x1433d1=_0x4cf124[_0x4e12d8(0x103)](),_0x60a381=Buffer[_0x4e12d8(0x12e)](JSON[_0x4e12d8(0xf9)](_0xd608ed))[_0x4e12d8(0xb0)](_0x3034bb[_0x4e12d8(0x10e)]),_0x3ee7ed={'hash':_0xdc1b6f['getId'](),'threadId':_0xdc1b6f[_0x4e12d8(0x81)]()[_0x4e12d8(0xb0)](),'processId':_0xdc1b6f[_0x4e12d8(0xe2)]()[_0x4e12d8(0xb0)]()},_0x7619eb={};_0x7619eb[_0x4e12d8(0x76)]=_0x4d5925,_0x7619eb[_0x4e12d8(0x9c)]=_0x59171d,_0x7619eb['testFrameworkVersion']=_0x7773e0,_0x7619eb[_0x4e12d8(0x105)]=_0x1924af,_0x7619eb['hookState']=_0x17b531,_0x7619eb['startedAt']=_0x36443d,_0x7619eb[_0x4e12d8(0xe6)]=_0x1a9a8c,_0x7619eb['uuid']=_0x1433d1,_0x7619eb['eventJson']=_0x60a381,_0x7619eb[_0x4e12d8(0x78)]=_0x3ee7ed;const _0x2bd13b=_0x7619eb;return logger[_0x4e12d8(0xe4)](_0x4e12d8(0x11d)+_0x5dcf78+_0x4e12d8(0x10b)+_0x1924af+'\x20hookState:\x20'+_0x17b531),_0x2bd13b;}catch(_0x32aef3){return logger[_0x4e12d8(0x11b)](_0x4e12d8(0x135)+util[_0x4e12d8(0x11f)](_0x32aef3)),{};}}async[a74_0x40720f(0x8c)](_0x192a36,_0x5c25fe,_0x5c9501){const _0x17ad08=a74_0x40720f,_0x3c2668={'oiLXG':function(_0x5c8013,_0x2978be,_0x58cf42){return _0x5c8013(_0x2978be,_0x58cf42);},'VdmdF':function(_0x381140,_0x2a05ef){return _0x381140===_0x2a05ef;},'FIQyE':_0x17ad08(0x108),'xRqQP':function(_0x5b07c5,_0x277e02){return _0x5b07c5/_0x277e02;},'EcKuY':function(_0x2bfa8c,_0x5cee1a){return _0x2bfa8c<_0x5cee1a;},'jwBvl':function(_0x2c800e,_0x14507c){return _0x2c800e*_0x14507c;},'JGRYE':function(_0x5e8538,_0x256eee){return _0x5e8538+_0x256eee;},'JoSXX':function(_0x169ef6,_0xf701e0){return _0x169ef6+_0xf701e0;},'SyUXG':function(_0x26c8cc,_0x3d75e8){return _0x26c8cc+_0x3d75e8;},'ZdGwN':_0x17ad08(0x73)};try{const _0x32ed1d=_0x5c9501['testUUID'],_0x595630=_0x192a36[_0x17ad08(0x77)]()[_0x17ad08(0x12c)](_0x32ed1d),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x1b3dc6='',[TestFrameworkConstants[_0x17ad08(0xe0)]]:_0x504cf9=''}=_0x595630,_0x39c8b8=TestInfo[_0x17ad08(0xbb)](_0x32ed1d),_0x2eb81a=TestInfo['getTestDetails'](_0x32ed1d)[TestFrameworkConstants[_0x17ad08(0x7e)]]||{},_0x195f46=_0x3c2668[_0x17ad08(0xc2)](getMediaArtifactsLogs,_0x2eb81a,_0x192a36['getAllData']()[_0x17ad08(0x12c)](_0x32ed1d)[TestFrameworkConstants[_0x17ad08(0xac)]]),_0x50f4e7=(_0x39c8b8||[])[_0x17ad08(0xa7)](_0x195f46||[]);if(!_0x50f4e7||_0x3c2668[_0x17ad08(0xfd)](_0x50f4e7[_0x17ad08(0xcc)],0x0)){logger[_0x17ad08(0xe4)](_0x3c2668[_0x17ad08(0xe9)]);return;}const _0x198687=0x28,_0x314ef6=Math[_0x17ad08(0xaa)](_0x3c2668[_0x17ad08(0x116)](_0x50f4e7['length'],_0x198687));for(let _0x297e53=0x0;_0x3c2668[_0x17ad08(0x8f)](_0x297e53,_0x314ef6);_0x297e53++){const _0x2916e1=_0x3c2668[_0x17ad08(0xb9)](_0x297e53,_0x198687),_0x55e50a=_0x3c2668[_0x17ad08(0xe8)](_0x2916e1,_0x198687),_0x35aba2=_0x50f4e7['slice'](_0x2916e1,_0x55e50a),_0x320d4a={'platformIndex':global?.[_0x17ad08(0xa2)]??0x0,'logs':_0x35aba2,'testFrameworkName':_0x1b3dc6,'testFrameworkVersion':_0x504cf9,'testFrameworkState':_0x5c25fe[_0x17ad08(0xb0)]()[_0x17ad08(0x9e)]('.')[0x1]};logger[_0x17ad08(0xe4)]('sendLogCreatedEvent:\x20for\x20testId:\x20'+_0x32ed1d+_0x17ad08(0x134)+_0x3c2668['JoSXX'](_0x297e53,0x1)+'/'+_0x314ef6+'\x20payload='+util['inspect'](_0x320d4a));const _0x197d93=await GrpcClient[_0x17ad08(0x83)]()[_0x17ad08(0x10f)](_0x320d4a);logger[_0x17ad08(0xe4)](_0x17ad08(0xc1)+_0x32ed1d+'\x20batch\x20'+_0x3c2668[_0x17ad08(0x94)](_0x297e53,0x1)+'/'+_0x314ef6+'\x20response='+util['inspect'](_0x197d93));}}catch(_0x1ff162){logger[_0x17ad08(0x11b)](_0x17ad08(0xc0)+util[_0x17ad08(0x11f)](_0x1ff162));}logger[_0x17ad08(0xe4)](_0x3c2668[_0x17ad08(0x10a)]);}[a74_0x40720f(0xb5)](_0x10ffa1,_0x4f563e,_0x4104b3,_0x10578f,_0x154880){const _0x5bf03d=a74_0x40720f,_0x27e5a5={'testId':_0x4f563e,'testFrameworkState':_0x4104b3,'hookState':_0x10578f,'args':_0x154880,'timestamp':new Date()[_0x5bf03d(0xcf)]()};_0x10ffa1[_0x5bf03d(0x74)](_0x4f563e,_0x27e5a5),logger[_0x5bf03d(0xe4)]('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x4f563e+_0x5bf03d(0x95)+_0x4104b3+_0x5bf03d(0xf6)+_0x10578f);}async[a74_0x40720f(0x70)](_0xb6eca7,_0x400a9e){const _0x36b1cb=a74_0x40720f,_0x9fd760={};_0x9fd760[_0x36b1cb(0x92)]=function(_0x2a86ec,_0x1198eb){return _0x2a86ec>_0x1198eb;};const _0x452c51=_0x9fd760;if(!_0xb6eca7[_0x36b1cb(0x112)](_0x400a9e))return;const _0x4d13a8=_0xb6eca7[_0x36b1cb(0x120)](_0x400a9e);logger['debug'](_0x36b1cb(0xf7)+_0x4d13a8[_0x36b1cb(0xcc)]+_0x36b1cb(0x12f)+_0x400a9e);for(const _0x61d75e of _0x4d13a8){try{const _0x33e55a=await this[_0x36b1cb(0xce)](_0xb6eca7,_0x61d75e[_0x36b1cb(0x105)],_0x61d75e[_0x36b1cb(0x11c)],_0x61d75e[_0x36b1cb(0x130)]);_0x33e55a&&_0x452c51[_0x36b1cb(0x92)](Object[_0x36b1cb(0x86)](_0x33e55a)[_0x36b1cb(0xcc)],0x0)&&_0xb6eca7[_0x36b1cb(0xfa)](_0x33e55a),await this[_0x36b1cb(0x7c)](_0xb6eca7,_0x61d75e['testFrameworkState'],_0x61d75e[_0x36b1cb(0x11c)],_0x61d75e['args']);}catch(_0x28326e){logger[_0x36b1cb(0x11b)]('Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20'+_0x400a9e+',\x20error:\x20'+_0x28326e);}}_0xb6eca7['removePendingHooks'](_0x400a9e),logger[_0x36b1cb(0xe4)](_0x36b1cb(0x9f)+_0x400a9e);}}module['exports']=CucumberTestFramework;