browserstack-node-sdk 1.52.1 → 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 -3
  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_0x5e4bdc=a69_0x49ef;(function(_0x56449a,_0x4ab5e6){const _0x5b0770=a69_0x49ef,_0x19b50f=_0x56449a();while(!![]){try{const _0x26b4f9=parseInt(_0x5b0770(0x165))/0x1+-parseInt(_0x5b0770(0x190))/0x2+-parseInt(_0x5b0770(0x170))/0x3*(parseInt(_0x5b0770(0x18d))/0x4)+-parseInt(_0x5b0770(0x15f))/0x5+-parseInt(_0x5b0770(0x1a7))/0x6+parseInt(_0x5b0770(0x179))/0x7+-parseInt(_0x5b0770(0x197))/0x8*(-parseInt(_0x5b0770(0x186))/0x9);if(_0x26b4f9===_0x4ab5e6)break;else _0x19b50f['push'](_0x19b50f['shift']());}catch(_0x141ccb){_0x19b50f['push'](_0x19b50f['shift']());}}}(a69_0x3c56,0xa92de));function a69_0x49ef(_0x43ed27,_0x3e0d76){const _0x3c5664=a69_0x3c56();return a69_0x49ef=function(_0x49ef6f,_0x2dff7f){_0x49ef6f=_0x49ef6f-0x157;let _0x8e608a=_0x3c5664[_0x49ef6f];return _0x8e608a;},a69_0x49ef(_0x43ed27,_0x3e0d76);}const BrowserstackCLI=require(a69_0x5e4bdc(0x15a)),helper=require(a69_0x5e4bdc(0x167)),AutomationFramework=require('./framework/automationFramework'),TestFrameworkConstants=require(a69_0x5e4bdc(0x187)),PlaywrightDriverModule=require('./modules/playwrightDriverModule'),TestInfo=require(a69_0x5e4bdc(0x168)),TestHubModule=require(a69_0x5e4bdc(0x15b)),{createClassLogger}=require(a69_0x5e4bdc(0x176)),logger=createClassLogger('CustomTagManager');function a69_0x3c56(){const _0x40f2ee=[',\x20existingTags=','7477736PLmbmS','mnHrr','\x20with\x20new\x20values=','xpBWS','\x20with\x20values=','lpkvw','stringify','TqaOI',',\x20values=','multi_dropdown','get','getTestUUID','TEST','18621hOxVUz','./framework/constants/testFrameworkConstants','jest','getTestFrameworkDetail','includes','QzSHx','[CustomTagManager]\x20setCustomTags:\x20Created\x20new\x20tag\x20key=','1740MxvJYn','Custom\x20tag\x20value\x20cannot\x20be\x20empty','getState','1092450DOdkpF','OHBtF','AgcVG','setTestDetails','CustomTagManager.setCustomTags\x20:\x20Error\x20detecting\x20Jest+Playwright:\x20','./state/testFrameworkState','retry','2024toLSxi','isRunning','addMultipleEntries','KEY_CUSTOM_TAGS','testInfo','mkoZg','./cliUtils','toLowerCase','values','./state/hookState','getAllData','POST','tFVUo','CustomTagManager.setCustomTags:\x20TestFramework\x20not\x20available\x20for\x20Jest+Playwright','jaNoj','exports','2525814ekTqJt',',\x20finalTags=','MODULE_NAME','[CustomTagManager]\x20setCustomTags:\x20Stored\x20customTags\x20in\x20instance\x20memory\x20for\x20testIdentifier=','toObject','[CustomTagManager]\x20setCustomTags:\x20Updated\x20existing\x20tag\x20key=','clearTags',',\x20key=','./browserstackCLI','./modules/testhubModule','trim','testLevelTags','__workerDetails','3131650OiBIoY','KJRqp','testhubConfig','string','getTestDetails','getBuildLevelTags','1083667aSlYpl','rIOtW','../../helpers/helper','./TestInfo','setCustomTags','buildLevelTags','knmMP',':jest-','debug','CustomTagManager.setCustomTags:\x20Instance\x20not\x20available\x20for\x20Jest+Playwright','getTrackedInstance','2682AEhNuH','resolveInstance','KEY_TEST_ID','getInstance','Custom\x20tag\x20value\x20must\x20be\x20a\x20string','ZYvsZ','../../helpers/classLogger','vRLOX'];a69_0x3c56=function(){return _0x40f2ee;};return a69_0x3c56();}class CustomTagManager{static [a69_0x5e4bdc(0x16a)]={};static [a69_0x5e4bdc(0x15d)]={};static[a69_0x5e4bdc(0x169)](_0x32af5b,_0x5c3dd9,_0x3a894c=![]){const _0x5f1990=a69_0x5e4bdc,_0x343319={'ZYvsZ':function(_0x4742f5,_0x5792ad){return _0x4742f5!==_0x5792ad;},'rIOtW':_0x5f1990(0x162),'xpBWS':'Custom\x20tag\x20key\x20must\x20be\x20a\x20string','lpkvw':function(_0x47bce9,_0x111d19){return _0x47bce9!==_0x111d19;},'PFSBK':_0x5f1990(0x174),'AgcVG':function(_0x4eb634,_0x4aa699){return _0x4eb634===_0x4aa699;},'hSXee':'Custom\x20tag\x20key\x20cannot\x20be\x20empty','KJRqp':function(_0x3b0472,_0xceddd9){return _0x3b0472===_0xceddd9;},'JTooX':_0x5f1990(0x18e),'QzSHx':_0x5f1990(0x182),'VmPnU':_0x5f1990(0x16c),'GJDzo':function(_0x22ff7f,_0x4264f4){return _0x22ff7f(_0x4264f4);},'TqaOI':_0x5f1990(0x19d),'knmMP':_0x5f1990(0x188),'mnHrr':'CustomTagManager.setCustomTags:\x20No\x20testIdentifier\x20found\x20for\x20Jest+Playwright.\x20This\x20may\x20occur\x20if\x20setCustomTags\x20is\x20called\x20outside\x20test\x20context.','jaNoj':_0x5f1990(0x1a4),'tFVUo':function(_0x3955f9,_0xce1679){return _0x3955f9(_0xce1679);},'mkoZg':_0x5f1990(0x195),'qRVVo':function(_0x336407,_0x183e4c){return _0x336407(_0x183e4c);},'OHBtF':_0x5f1990(0x1a0),'vRLOX':_0x5f1990(0x16e)};if(_0x343319[_0x5f1990(0x175)](typeof _0x32af5b,_0x343319[_0x5f1990(0x166)]))throw new Error(_0x343319[_0x5f1990(0x17c)]);if(_0x343319[_0x5f1990(0x17e)](typeof _0x5c3dd9,_0x343319['rIOtW']))throw new Error(_0x343319['PFSBK']);if(_0x343319[_0x5f1990(0x192)](_0x32af5b[_0x5f1990(0x15c)](),''))throw new Error(_0x343319['hSXee']);if(_0x343319[_0x5f1990(0x160)](_0x5c3dd9[_0x5f1990(0x15c)](),''))throw new Error(_0x343319['JTooX']);const _0x15f76d=helper['parseCommaSeparatedValues'](_0x5c3dd9);if(_0x3a894c){const _0x1a8d7b=BrowserstackCLI[_0x5f1990(0x173)]()['modules'][TestHubModule[_0x5f1990(0x1a9)]];if(_0x1a8d7b){const _0x2c59fb=_0x1a8d7b?.[_0x5f1990(0x161)]?.[_0x5f1990(0x1ab)]()?.['buildHashedId'];TestInfo[_0x5f1990(0x184)](_0x2c59fb);const _0x270d35=TestInfo[_0x5f1990(0x163)](_0x2c59fb),_0x16ee56=_0x270d35[TestFrameworkConstants[_0x5f1990(0x19a)]]||{};if(!_0x16ee56[_0x32af5b]){const _0x531dd3={};_0x531dd3['field_type']=_0x343319[_0x5f1990(0x18b)],_0x531dd3['values']=[..._0x15f76d],_0x16ee56[_0x32af5b]=_0x531dd3;}else _0x16ee56[_0x32af5b]['values']=[..._0x15f76d];_0x270d35[TestFrameworkConstants[_0x5f1990(0x19a)]]=_0x16ee56,TestInfo[_0x5f1990(0x193)](_0x2c59fb,_0x270d35),!this[_0x5f1990(0x16a)][_0x2c59fb]&&(this[_0x5f1990(0x16a)][_0x2c59fb]={}),this[_0x5f1990(0x16a)][_0x2c59fb][_0x32af5b]=[..._0x15f76d];}}else{let _0x1c480a;const _0x3ae167=global['__jestCurrentTestIdentifier'];let _0xf27840=![];if(_0x3ae167&&_0x3ae167[_0x5f1990(0x18a)](_0x343319['VmPnU']))_0xf27840=!![],_0x1c480a=_0x3ae167;else try{const _0x4b460d=_0x343319['GJDzo'](require,_0x343319[_0x5f1990(0x180)]);if(BrowserstackCLI[_0x5f1990(0x173)]()[_0x5f1990(0x198)]()){const _0x53615f=_0x4b460d[_0x5f1990(0x189)]();if(_0x343319['KJRqp'](_0x53615f?.['name']?.[_0x5f1990(0x19e)](),_0x343319[_0x5f1990(0x16b)])){const _0x3ae7e7=AutomationFramework[_0x5f1990(0x16f)]();_0x1c480a=AutomationFramework[_0x5f1990(0x18f)](_0x3ae7e7,PlaywrightDriverModule[_0x5f1990(0x172)],''),_0x1c480a&&_0x1c480a['includes'](_0x343319['VmPnU'])&&(_0xf27840=!![]);}}}catch(_0xa44356){logger['debug'](_0x5f1990(0x194)+_0xa44356);}if(_0xf27840){if(!_0x1c480a)throw new Error(_0x343319[_0x5f1990(0x17a)]);const _0x56ef17=BrowserstackCLI[_0x5f1990(0x173)]()['getTestFramework']();if(!_0x56ef17)throw new Error(_0x343319[_0x5f1990(0x1a5)]);const _0x44178c=_0x343319[_0x5f1990(0x1a3)](require,_0x343319[_0x5f1990(0x19c)]),_0x8d2bdd=_0x343319['qRVVo'](require,_0x343319[_0x5f1990(0x191)]),_0x217aca=_0x56ef17[_0x5f1990(0x171)](_0x44178c[_0x5f1990(0x185)],_0x8d2bdd[_0x5f1990(0x1a2)]);if(!_0x217aca)throw new Error(_0x343319[_0x5f1990(0x177)]);const _0x997068=_0x217aca[_0x5f1990(0x1a1)]()[_0x5f1990(0x183)](_0x1c480a)||{},_0x474a2b=_0x997068[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};logger[_0x5f1990(0x16d)]('[CustomTagManager]\x20setCustomTags:\x20Jest+Playwright\x20-\x20testIdentifier='+_0x1c480a+_0x5f1990(0x159)+_0x32af5b+_0x5f1990(0x181)+JSON[_0x5f1990(0x17f)](_0x15f76d)+_0x5f1990(0x178)+JSON['stringify'](_0x474a2b));if(!_0x474a2b[_0x32af5b]){const _0x3cb787={};_0x3cb787['field_type']=_0x343319[_0x5f1990(0x18b)],_0x3cb787[_0x5f1990(0x19f)]=[..._0x15f76d],_0x474a2b[_0x32af5b]=_0x3cb787,logger[_0x5f1990(0x16d)](_0x5f1990(0x18c)+_0x32af5b+_0x5f1990(0x17d)+JSON[_0x5f1990(0x17f)](_0x15f76d));}else _0x474a2b[_0x32af5b][_0x5f1990(0x19f)]=[..._0x15f76d],logger[_0x5f1990(0x16d)](_0x5f1990(0x157)+_0x32af5b+_0x5f1990(0x17b)+JSON[_0x5f1990(0x17f)](_0x15f76d));const _0x3f63b8={[TestFrameworkConstants[_0x5f1990(0x19a)]]:_0x474a2b},_0x470629={};_0x470629[_0x1c480a]=_0x3f63b8,_0x217aca[_0x5f1990(0x199)](_0x470629),logger[_0x5f1990(0x16d)](_0x5f1990(0x1aa)+_0x1c480a+_0x5f1990(0x1a8)+JSON[_0x5f1990(0x17f)](_0x474a2b)),!this[_0x5f1990(0x15d)][_0x1c480a]&&(this['testLevelTags'][_0x1c480a]={}),this[_0x5f1990(0x15d)][_0x1c480a][_0x32af5b]=[..._0x15f76d];}else{const _0x3ac110=global[_0x5f1990(0x15e)]?.['currentTest']?.[_0x5f1990(0x19b)];if(!_0x3ac110){const _0x46fab2=AutomationFramework[_0x5f1990(0x16f)]();_0x1c480a=AutomationFramework[_0x5f1990(0x18f)](_0x46fab2,PlaywrightDriverModule[_0x5f1990(0x172)],'');}else _0x1c480a=TestInfo['getTestIdentifierFromTestInfo'](_0x3ac110,_0x3ac110[_0x5f1990(0x196)]);const _0x186e9a=TestInfo['getTestDetails'](_0x1c480a),_0x1eb923=_0x186e9a[TestFrameworkConstants[_0x5f1990(0x19a)]]||{};if(!_0x1eb923[_0x32af5b]){const _0x2bf94f={};_0x2bf94f['field_type']=_0x343319[_0x5f1990(0x18b)],_0x2bf94f[_0x5f1990(0x19f)]=[..._0x15f76d],_0x1eb923[_0x32af5b]=_0x2bf94f;}else _0x1eb923[_0x32af5b][_0x5f1990(0x19f)]=[..._0x15f76d];_0x186e9a[TestFrameworkConstants[_0x5f1990(0x19a)]]=_0x1eb923,TestInfo[_0x5f1990(0x193)](_0x1c480a,_0x186e9a),!this[_0x5f1990(0x15d)][_0x1c480a]&&(this['testLevelTags'][_0x1c480a]={}),this[_0x5f1990(0x15d)][_0x1c480a][_0x32af5b]=[..._0x15f76d];}}}static[a69_0x5e4bdc(0x164)](){const _0x51e8d4={...this['buildLevelTags']};return _0x51e8d4;}static['getTestLevelTags'](){const _0x2a6a91=a69_0x5e4bdc,_0x4cb1eb={...this[_0x2a6a91(0x15d)]};return _0x4cb1eb;}static[a69_0x5e4bdc(0x158)](){const _0x10ef4b=a69_0x5e4bdc;this[_0x10ef4b(0x16a)]={},this[_0x10ef4b(0x15d)]={};}}module[a69_0x5e4bdc(0x1a6)]=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
- const a70_0x3309f3=a70_0x18fc;(function(_0x10c965,_0x9982fc){const _0xdcf4fb=a70_0x18fc,_0x2b8ea0=_0x10c965();while(!![]){try{const _0x34f953=-parseInt(_0xdcf4fb(0xff))/0x1+-parseInt(_0xdcf4fb(0x104))/0x2*(parseInt(_0xdcf4fb(0xf9))/0x3)+parseInt(_0xdcf4fb(0x105))/0x4+-parseInt(_0xdcf4fb(0xfe))/0x5*(-parseInt(_0xdcf4fb(0xf8))/0x6)+-parseInt(_0xdcf4fb(0x107))/0x7*(parseInt(_0xdcf4fb(0xfb))/0x8)+-parseInt(_0xdcf4fb(0xfc))/0x9+-parseInt(_0xdcf4fb(0x101))/0xa*(-parseInt(_0xdcf4fb(0x103))/0xb);if(_0x34f953===_0x9982fc)break;else _0x2b8ea0['push'](_0x2b8ea0['shift']());}catch(_0x580f94){_0x2b8ea0['push'](_0x2b8ea0['shift']());}}}(a70_0x2bcd,0xaa9ef));const {createClassLogger}=require(a70_0x3309f3(0xf7));class EventDispatcher{static #instance=null;constructor(){const _0x408cd9=a70_0x3309f3;this[_0x408cd9(0x106)]={};}static['getInstance'](){return!EventDispatcher.#instance&&(EventDispatcher.#instance=new EventDispatcher()),EventDispatcher.#instance;}[a70_0x3309f3(0xfd)](_0x3692a0,_0x5de2fe){const _0x48eb92=a70_0x3309f3;!this[_0x48eb92(0x106)][_0x3692a0]&&(this[_0x48eb92(0x106)][_0x3692a0]=[]),this[_0x48eb92(0x106)][_0x3692a0]['push'](_0x5de2fe);}async['notifyObserver'](_0x167095,_0x21edb0){const _0x25a5df=a70_0x3309f3,_0x4b17ab={'zJagS':function(_0x59a984,_0x3a0fd7){return _0x59a984(_0x3a0fd7);}};if(this[_0x25a5df(0x106)][_0x167095]){for(const _0x102c5c of this[_0x25a5df(0x106)][_0x167095]){await _0x4b17ab[_0x25a5df(0xfa)](_0x102c5c,_0x21edb0);}return;}}}const eventDispatcher=EventDispatcher[a70_0x3309f3(0xf6)]();Object[a70_0x3309f3(0x102)](eventDispatcher),module[a70_0x3309f3(0x100)]=eventDispatcher;function a70_0x18fc(_0x4afb42,_0xbf1a92){const _0x2bcde8=a70_0x2bcd();return a70_0x18fc=function(_0x18fc40,_0x395482){_0x18fc40=_0x18fc40-0xf6;let _0xe55b65=_0x2bcde8[_0x18fc40];return _0xe55b65;},a70_0x18fc(_0x4afb42,_0xbf1a92);}function a70_0x2bcd(){const _0x5de5aa=['833OBROBX','getInstance','../../helpers/classLogger.js','748338PxaIZv','4127361OcNStn','zJagS','79864JhGZbM','1450998uUdlQw','registerObserver','50gBvQqL','161311TWqUDJ','exports','48470ZbnFZr','freeze','3531gmCXOv','2GahPNq','3128172ALXuFq','observers'];a70_0x2bcd=function(){return _0x5de5aa;};return a70_0x2bcd();}
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_0x27b423=a71_0x396a;function a71_0x396a(_0x9ae0b4,_0x3d0b39){const _0x5daf4c=a71_0x5daf();return a71_0x396a=function(_0x396a3e,_0x3360eb){_0x396a3e=_0x396a3e-0x17f;let _0x20f537=_0x5daf4c[_0x396a3e];return _0x20f537;},a71_0x396a(_0x9ae0b4,_0x3d0b39);}(function(_0x1a9dae,_0xc3aef4){const _0x47d9f2=a71_0x396a,_0x15a5bf=_0x1a9dae();while(!![]){try{const _0x20fae1=parseInt(_0x47d9f2(0x181))/0x1*(-parseInt(_0x47d9f2(0x197))/0x2)+parseInt(_0x47d9f2(0x19b))/0x3+parseInt(_0x47d9f2(0x19f))/0x4*(-parseInt(_0x47d9f2(0x199))/0x5)+-parseInt(_0x47d9f2(0x187))/0x6*(parseInt(_0x47d9f2(0x188))/0x7)+-parseInt(_0x47d9f2(0x1a0))/0x8*(-parseInt(_0x47d9f2(0x195))/0x9)+-parseInt(_0x47d9f2(0x19c))/0xa*(parseInt(_0x47d9f2(0x193))/0xb)+parseInt(_0x47d9f2(0x18a))/0xc*(parseInt(_0x47d9f2(0x192))/0xd);if(_0x20fae1===_0xc3aef4)break;else _0x15a5bf['push'](_0x15a5bf['shift']());}catch(_0x27ef23){_0x15a5bf['push'](_0x15a5bf['shift']());}}}(a71_0x5daf,0x4b5c0));function a71_0x5daf(){const _0x255d02=['KEY_NON_BROWSERSTACK_AUTOMATION_SESSIONS','../eventDispatcher.js','../cliUtils.js','1983444GkoNbM','7nURkDc','getAutomationFrameworkName','72NhtcWv','getAutomationFrameworkVersion','getAllData','\x20hookState=','instances','getTrackedInstance','createContext','registerObserver','2487056tgVMyI','77zgnKlC','set','909mwWLgz','getHookRegistryKey','184714ioFZWG','util','15KAfMYY','setTrackedInstance','4848hcuhog','189970vLkJkc','getId','automationFrameworkVersion','656076pqerXl','16408riKLXK','setState','getState','KEY_AUTOMATION_SESSIONS','trackEvent:\x20automationFrameworkState=','automationFrameworkName','../../../helpers/classLogger.js','runHooks','1IuYEKK','debug','get'];a71_0x5daf=function(){return _0x255d02;};return a71_0x5daf();}const {createClassLogger}=require(a71_0x27b423(0x17f)),util=require(a71_0x27b423(0x198)),eventDispatcher=require(a71_0x27b423(0x185)),CLIUtils=require(a71_0x27b423(0x186)),TrackedInstance=require('../instances/trackedInstance.js'),logger=createClassLogger('AutomationFramework');class AutomationFramework{static ['instances']=new Map();static [a71_0x27b423(0x1a3)]='automation_sessions';static [a71_0x27b423(0x184)]='non_browserstack_automation_sessions';constructor(_0x29f6bd,_0x3a36af){const _0x4bd4c4=a71_0x27b423;this[_0x4bd4c4(0x1a5)]=_0x29f6bd,this[_0x4bd4c4(0x19e)]=_0x3a36af;}[a71_0x27b423(0x189)](){const _0x54c58a=a71_0x27b423;return this[_0x54c58a(0x1a5)];}[a71_0x27b423(0x18b)](){return this['automationFrameworkVersion'];}async['trackEvent'](_0xc409bf,_0x44a980,_0x3af7dc={}){const _0x2683c1=a71_0x27b423;logger[_0x2683c1(0x182)](_0x2683c1(0x1a4)+_0xc409bf+_0x2683c1(0x18d)+_0x44a980);}async[a71_0x27b423(0x180)](_0x1fe1da,_0x8ed627,_0x4f5edd,_0x29baca={}){const _0x282614=a71_0x27b423,_0x2cf749=CLIUtils[_0x282614(0x196)](_0x8ed627,_0x4f5edd);_0x1fe1da&&_0x1fe1da[_0x282614(0x1a1)](_0x8ed627),await eventDispatcher['notifyObserver'](_0x2cf749,_0x29baca);}static['registerObserver'](_0x342ad4,_0x1e6d98,_0x48b0bc){const _0x1f57dc=a71_0x27b423;eventDispatcher[_0x1f57dc(0x191)](CLIUtils[_0x1f57dc(0x196)](_0x342ad4,_0x1e6d98),_0x48b0bc);}static[a71_0x27b423(0x19a)](_0x3662f5,_0x30d905){const _0x50cb14=a71_0x27b423;AutomationFramework[_0x50cb14(0x18e)][_0x50cb14(0x194)](_0x3662f5[_0x50cb14(0x19d)](),_0x30d905);}static[a71_0x27b423(0x18f)](){const _0x536dc1=a71_0x27b423,_0x4d1f77=TrackedInstance[_0x536dc1(0x190)](CLIUtils['getCurrentInstanceName']());return AutomationFramework[_0x536dc1(0x18e)]['get'](_0x4d1f77[_0x536dc1(0x19d)]());}static['setState'](_0x19519b,_0x30f96d,_0x21c11b){const _0x529100=a71_0x27b423;_0x19519b['getAllData']()[_0x529100(0x194)](_0x30f96d,_0x21c11b);}static[a71_0x27b423(0x1a2)](_0x32ad12,_0x20f8bd){const _0x1bc4f8=a71_0x27b423;return _0x32ad12[_0x1bc4f8(0x18c)]()[_0x1bc4f8(0x183)](_0x20f8bd);}}module['exports']=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
- function a72_0x3f53(_0x4252c6,_0x5ef858){const _0x3e3c46=a72_0x3e3c();return a72_0x3f53=function(_0x3f536d,_0xd8158f){_0x3f536d=_0x3f536d-0x1c9;let _0x41ac0c=_0x3e3c46[_0x3f536d];return _0x41ac0c;},a72_0x3f53(_0x4252c6,_0x5ef858);}function a72_0x3e3c(){const _0x34b9f3=['capabilities','2195699GdQRza','50708KbzLdn','KEY_STARTED_AT','framework_session_id','ended_at','exports','KEY_HUB_URL','ENV_BROWSERSTACK_PLATFORM_INDEX','30PZPtmH','KEY_ENDED_AT','KEY_INPUT_CAPABILITIES','6940rQTenn','COMMAND_QUIT','KEY_FRAMEWORK_SESSION_ID','636IjzlUP','KEY_PLATFORM_INDEX','75uMQqMp','24YbKNWi','screenshot','COMMAND_NEW_SESSION','get','KEY_IS_BROWSERSTACK_HUB','COMMAND_GET','quit','KEY_CAPABILITIES','COMMAND_W3C_EXECUTE_SCRIPT_ASYNC','BROWSERSTACK_PLATFORM_INDEX','is_browserstack_hub','newsession','platform_index','540576OXXRUQ','input_capabilities','152042oASIDF','136VgqBtA','COMMAND_W3C_EXECUTE_SCRIPT','w3cexecutescriptasync','442584aesOng'];a72_0x3e3c=function(){return _0x34b9f3;};return a72_0x3e3c();}const a72_0x4eb1b3=a72_0x3f53;(function(_0xa7489,_0x5754bb){const _0x4b6edd=a72_0x3f53,_0x2b1067=_0xa7489();while(!![]){try{const _0x2b5f50=parseInt(_0x4b6edd(0x1d7))/0x1+-parseInt(_0x4b6edd(0x1e8))/0x2*(-parseInt(_0x4b6edd(0x1ee))/0x3)+parseInt(_0x4b6edd(0x1eb))/0x4*(-parseInt(_0x4b6edd(0x1ed))/0x5)+parseInt(_0x4b6edd(0x1db))/0x6+parseInt(_0x4b6edd(0x1de))/0x7*(-parseInt(_0x4b6edd(0x1d8))/0x8)+-parseInt(_0x4b6edd(0x1d5))/0x9*(-parseInt(_0x4b6edd(0x1e5))/0xa)+-parseInt(_0x4b6edd(0x1dd))/0xb;if(_0x2b5f50===_0x5754bb)break;else _0x2b1067['push'](_0x2b1067['shift']());}catch(_0xd8a5cf){_0x2b1067['push'](_0x2b1067['shift']());}}}(a72_0x3e3c,0x1a848));const a72_0x1a9ecd={};a72_0x1a9ecd[a72_0x4eb1b3(0x1e4)]=a72_0x4eb1b3(0x1d1),a72_0x1a9ecd[a72_0x4eb1b3(0x1e3)]='hub_url',a72_0x1a9ecd[a72_0x4eb1b3(0x1ea)]=a72_0x4eb1b3(0x1e0),a72_0x1a9ecd[a72_0x4eb1b3(0x1e7)]=a72_0x4eb1b3(0x1d6),a72_0x1a9ecd[a72_0x4eb1b3(0x1cf)]=a72_0x4eb1b3(0x1dc),a72_0x1a9ecd[a72_0x4eb1b3(0x1cc)]=a72_0x4eb1b3(0x1d2),a72_0x1a9ecd[a72_0x4eb1b3(0x1df)]='started_at',a72_0x1a9ecd[a72_0x4eb1b3(0x1e6)]=a72_0x4eb1b3(0x1e1),a72_0x1a9ecd[a72_0x4eb1b3(0x1ec)]=a72_0x4eb1b3(0x1d4),a72_0x1a9ecd[a72_0x4eb1b3(0x1ca)]=a72_0x4eb1b3(0x1d3),a72_0x1a9ecd[a72_0x4eb1b3(0x1cd)]=a72_0x4eb1b3(0x1cb),a72_0x1a9ecd['COMMAND_SCREENSHOT']=a72_0x4eb1b3(0x1c9),a72_0x1a9ecd[a72_0x4eb1b3(0x1d9)]='w3cexecutescript',a72_0x1a9ecd[a72_0x4eb1b3(0x1d0)]=a72_0x4eb1b3(0x1da),a72_0x1a9ecd[a72_0x4eb1b3(0x1e9)]=a72_0x4eb1b3(0x1ce);const AutomationFrameworkConstants=a72_0x1a9ecd;module[a72_0x4eb1b3(0x1e2)]=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_0x241e98=a73_0x35fa;(function(_0x19d4d9,_0x487d7a){const _0x570c2c=a73_0x35fa,_0xc92410=_0x19d4d9();while(!![]){try{const _0x5b300c=parseInt(_0x570c2c(0xe5))/0x1+-parseInt(_0x570c2c(0xc9))/0x2+parseInt(_0x570c2c(0xcc))/0x3*(-parseInt(_0x570c2c(0xcf))/0x4)+parseInt(_0x570c2c(0x103))/0x5+parseInt(_0x570c2c(0xdb))/0x6*(-parseInt(_0x570c2c(0x105))/0x7)+-parseInt(_0x570c2c(0xe4))/0x8+-parseInt(_0x570c2c(0xf9))/0x9*(-parseInt(_0x570c2c(0x107))/0xa);if(_0x5b300c===_0x487d7a)break;else _0xc92410['push'](_0xc92410['shift']());}catch(_0x307d23){_0xc92410['push'](_0xc92410['shift']());}}}(a73_0x4a54,0xe7241));const a73_0x36dae2={};a73_0x36dae2['KEY_TEST_UUID']=a73_0x241e98(0x10b),a73_0x36dae2[a73_0x241e98(0x108)]=a73_0x241e98(0xe0),a73_0x36dae2[a73_0x241e98(0xd0)]='test_name',a73_0x36dae2[a73_0x241e98(0xd2)]=a73_0x241e98(0xcb),a73_0x36dae2['KEY_TEST_TAGS']=a73_0x241e98(0xfd),a73_0x36dae2['KEY_TEST_RESULT']=a73_0x241e98(0xb9),a73_0x36dae2[a73_0x241e98(0xca)]='test_result_at',a73_0x36dae2[a73_0x241e98(0xf7)]='test_started_at',a73_0x36dae2[a73_0x241e98(0xfa)]='test_ended_at',a73_0x36dae2[a73_0x241e98(0xdc)]=a73_0x241e98(0x104),a73_0x36dae2[a73_0x241e98(0xfe)]='test_duration',a73_0x36dae2[a73_0x241e98(0xfb)]='test_scope',a73_0x36dae2['KEY_TEST_SCOPES']=a73_0x241e98(0xf5),a73_0x36dae2[a73_0x241e98(0xd9)]=a73_0x241e98(0xf8),a73_0x36dae2[a73_0x241e98(0xf1)]=a73_0x241e98(0xd6),a73_0x36dae2[a73_0x241e98(0xbe)]='test_code',a73_0x36dae2['KEY_TEST_RERUN_NAME']=a73_0x241e98(0xd3),a73_0x36dae2[a73_0x241e98(0xbf)]=a73_0x241e98(0xba),a73_0x36dae2['KEY_PLATFORM_INDEX']='platform_index',a73_0x36dae2[a73_0x241e98(0xe2)]=a73_0x241e98(0xe9),a73_0x36dae2[a73_0x241e98(0xbb)]=a73_0x241e98(0xe7),a73_0x36dae2['KEY_TEST_FAILURE_REASON']=a73_0x241e98(0xfc),a73_0x36dae2[a73_0x241e98(0xda)]=a73_0x241e98(0xec),a73_0x36dae2[a73_0x241e98(0xe8)]=a73_0x241e98(0xe3),a73_0x36dae2[a73_0x241e98(0xc5)]='test_session_name',a73_0x36dae2[a73_0x241e98(0xd1)]='automate_session_name',a73_0x36dae2[a73_0x241e98(0xd4)]=a73_0x241e98(0xc8),a73_0x36dae2['KEY_AUTOMATE_SESSION_REASON']=a73_0x241e98(0xd8),a73_0x36dae2[a73_0x241e98(0xeb)]='event_started_at',a73_0x36dae2[a73_0x241e98(0xc4)]=a73_0x241e98(0xf3),a73_0x36dae2[a73_0x241e98(0xea)]=a73_0x241e98(0xe6),a73_0x36dae2['KEY_HOOK_RESULT']='hook_result',a73_0x36dae2[a73_0x241e98(0xdd)]=a73_0x241e98(0xbd),a73_0x36dae2['KEY_HOOK_FAILURE_REASON']='hook_failure_reason',a73_0x36dae2[a73_0x241e98(0xde)]=a73_0x241e98(0xf0),a73_0x36dae2[a73_0x241e98(0xf4)]=a73_0x241e98(0xf6),a73_0x36dae2[a73_0x241e98(0x102)]=a73_0x241e98(0xc3),a73_0x36dae2[a73_0x241e98(0x100)]='pending',a73_0x36dae2[a73_0x241e98(0x101)]=a73_0x241e98(0xef),a73_0x36dae2[a73_0x241e98(0xb8)]=a73_0x241e98(0xcd),a73_0x36dae2['KIND_LOG']='TEST_LOG',a73_0x36dae2[a73_0x241e98(0xdf)]=a73_0x241e98(0x10a),a73_0x36dae2[a73_0x241e98(0x109)]='test_hooks_started',a73_0x36dae2[a73_0x241e98(0xc1)]=a73_0x241e98(0xf2),a73_0x36dae2[a73_0x241e98(0xee)]=a73_0x241e98(0xbc),a73_0x36dae2[a73_0x241e98(0xd7)]=a73_0x241e98(0xff),a73_0x36dae2[a73_0x241e98(0xb6)]=a73_0x241e98(0x106),a73_0x36dae2[a73_0x241e98(0xb5)]=a73_0x241e98(0xc2),a73_0x36dae2[a73_0x241e98(0xe1)]=a73_0x241e98(0xd5),a73_0x36dae2[a73_0x241e98(0xed)]='file_size',a73_0x36dae2[a73_0x241e98(0xc7)]=a73_0x241e98(0xb7),a73_0x36dae2[a73_0x241e98(0xce)]=a73_0x241e98(0x10c),a73_0x36dae2[a73_0x241e98(0xc6)]=a73_0x241e98(0xc0);function a73_0x35fa(_0x512ded,_0x2fb608){const _0x4a540b=a73_0x4a54();return a73_0x35fa=function(_0x35fa63,_0x56b2b8){_0x35fa63=_0x35fa63-0xb5;let _0x3a4eb7=_0x4a540b[_0x35fa63];return _0x3a4eb7;},a73_0x35fa(_0x512ded,_0x2fb608);}const TestFrameworkConstants=a73_0x36dae2;function a73_0x4a54(){const _0xdb572a=['KEY_EVENT_ENDED_AT','KEY_SESSION_NAME','KEY_FILE_LEVEL','KEY_FILE_NAME','automate_session_status','857042OUHdUu','KEY_TEST_RESULT_AT','test_file_path','3YJXzoI','TEST_SCREENSHOT','KEY_FILE_PATH','3593192gtXfii','KEY_TEST_NAME','KEY_AUTOMATE_SESSION_NAME','KEY_TEST_FILE_PATH','test_rerun_name','KEY_AUTOMATE_SESSION_STATUS','test_attachments','test_framework_version','KEY_HOOK_LAST_FINISHED','automate_session_reason','KEY_TEST_FRAMEWORK_NAME','KEY_TEST_LOGS','569676NnYtdZ','KEY_TEST_LOCATION','KEY_HOOK_FAILURE_TYPE','KEY_HOOK_FAILURE','HOOK_REGEX','test_id','KEY_TEST_ATTACHMENTS','KEY_TEST_FAILURE','test_meta','3415208WcYCij','222239wbimUT','hook_id','test_failure_type','KEY_TEST_META','test_failure','KEY_HOOK_ID','KEY_EVENT_STARTED_AT','test_logs','KEY_FILE_SIZE','KEY_HOOK_LAST_STARTED','pending','hook_failure','KEY_TEST_FRAMEWORK_VERSION','test_hooks_finished','event_ended_at','KEY_HOOK_LOGS','test_scopes','hook_logs','KEY_TEST_STARTED_AT','test_framework_name','549oiKMcp','KEY_TEST_ENDED_AT','KEY_TEST_SCOPE','test_failure_reason','test_tags','KEY_TEST_DURATION','test_hook_last_finished','DEFAULT_TEST_RESULT','DEFAULT_HOOK_RESULT','KEY_HOOK_NAME','414405xSaLNi','test_location','70twLOtW','logs','548330zwUywp','KEY_TEST_ID','KEY_HOOKS_STARTED','^(BEFORE_|AFTER_)','test_uuid','file_path','KEY_CUSTOM_TAGS','KEY_LOGS','file_name','KIND_SCREENSHOT','test_result','retry_of','KEY_TEST_FAILURE_TYPE','test_hook_last_started','hook_failure_type','KEY_TEST_CODE','KEY_TEST_RETRY_OF','file_level','KEY_HOOKS_FINISHED','custom_metadata','hook_name'];a73_0x4a54=function(){return _0xdb572a;};return a73_0x4a54();}module['exports']=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
- function a74_0x18b9(){const _0x4ed99e=['KEY_AUTOMATE_SESSION_NAME','PfKFm','getId','KEY_HOOK_FAILURE_TYPE','FpWiL','ijTAY','KEY_TEST_SCOPES','hookState','getPendingHooks','KEY_CUSTOM_TAGS','split','getAllData','inspect','addMultipleEntries','\x20pending\x20hooks\x20for\x20testId:\x20','result','KEY_TEST_LOGS','\x20\x20and\x20args\x20=\x20','KEY_HOOKS_FINISHED','args','endedAt','mDeqi','10ClEPki','sGpki','GmyAD','location','INIT_TEST','1281056mFfCPJ','scopes','SOgkp','LFeVH','failure_type','parseCucumberTestResult','UyJTM','KEY_TEST_NAME',',\x20state=','hooks','platformIndex','stringify','getTestUUID','KEY_HOOK_LAST_FINISHED','zuefr','\x20&\x20hook\x20=\x20','processPendingHooks','29981886TWyLAY','failure','KEY_TEST_SCOPE','addPendingHook','file_name','length','unknown','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','resolveInstance','NURmo','setTestDetails','1548340DCVXBh','\x20&\x20hookState=','started_at','trackHookEvent','trackCucumberInstance','KEY_TEST_FRAMEWORK_VERSION','push','./testFramework','No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','433832LPVQit','testData','KEY_HOOK_ID','hasPendingHooks','browserstackPlatformIndex','ReSwQ','../grpcClient',',\x20storing\x20as\x20pending\x20hook','\x20with\x20result:\x20','KEY_TEST_FRAMEWORK_NAME','from','POST','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','matchHookRegex','VxrRj','Cucumber\x20log\x20created\x20event','passed','getRef','../TestInfo.js','hook_type','getThreadId','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','nQgpY',',\x20hookState:\x20','trackCucumberInstance:\x20created\x20instance\x20for\x20target=','KEY_LOGS','wHRFT','Stored\x20pending\x20hook\x20for\x20testId:\x20','Parsed\x20cucumber\x20test:\x20','HmvIp','failure_reason','TXpTT','KEY_TEST_FAILURE_REASON','createTestFrameworkEventPayload','testFrameworkVersion','KEY_TEST_FAILURE','5191374xVyqWC','NONE','failed','TEST','getContext','3400GBNNzS','FINXM','createContext','../cliUtils.js','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','body','NalVc','getTrackedInstance','BtjRZ','\x20with\x20UUID:\x20','slice','\x20response=','sendLogCreatedEvent:\x20for\x20testId:\x20','getTestFrameworks','getCurrentHookState','KEY_TEST_FILE_PATH','setTrackedInstance','code','../state/testFrameworkState.js','toString','OOmzi','executionContext','KEY_TEST_LOCATION','7tOaLwU','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test','KEY_HOOK_LAST_STARTED','Error\x20in\x20createTestFrameworkEventPayload:\x20','mMvwd','meta','eventJson','GqvyK','KEY_TEST_RESULT','test_run_id','trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','KEY_TEST_ENDED_AT','jckOp','UnhandledError','sXniI','base64','getCurrentInstanceName','startedAt','KEY_HOOK_FAILURE','runHooks','ceil','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','../instances/testFrameworkInstance.js','logCreatedEvent','\x20and\x20args\x20=\x20','vWgdT','getTestFrameworksVersions','get','udCSa','testUUID','yjTJQ','error','finishedAt','sendLogCreatedEvent','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','KEY_HOOKS_STARTED','DEFAULT_HOOK_RESULT','debug','YXleE','KEY_TEST_CODE','toISOString','readLogObjects','concat','KEY_TEST_META','No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','removePendingHooks','sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20','KEY_TEST_RERUN_NAME','name','KEY_TEST_TAGS','PRE','instance','Tracked\x20cucumber\x20hook\x20event:\x20','KrxYI','KEY_TEST_STARTED_AT','\x20testState:\x20','\x20target=','trackEvent','KEY_EVENT_ENDED_AT','createTestFrameworkEventPayload\x20testId:\x20','ZvabK','testFrameworkState','failure_data','parseCucumberTest','trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20','../../../helpers/classLogger.js','test','uuid','storePendingHook','tags','keys','KEY_EVENT_STARTED_AT','CucumberTestFramework','sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','trackCucumberInstance:\x20saved\x20instance\x20contextId=','getTestDetails','3IeWaMm','customRerunParam','\x20batch\x20','KEY_HOOK_RESULT','JBWYR','1477094JUmYZQ','37845NOVGcu','KEY_TEST_UUID','format'];a74_0x18b9=function(){return _0x4ed99e;};return a74_0x18b9();}const a74_0x3d9ad3=a74_0x5442;function a74_0x5442(_0x26baef,_0x1edd42){const _0x18b9d1=a74_0x18b9();return a74_0x5442=function(_0x5442ff,_0x81cd07){_0x5442ff=_0x5442ff-0x68;let _0x666d0b=_0x18b9d1[_0x5442ff];return _0x666d0b;},a74_0x5442(_0x26baef,_0x1edd42);}(function(_0x14d0fc,_0x30a767){const _0x3c7b8a=a74_0x5442,_0x2d475e=_0x14d0fc();while(!![]){try{const _0x13bdfc=parseInt(_0x3c7b8a(0xbe))/0x1+-parseInt(_0x3c7b8a(0x79))/0x2*(parseInt(_0x3c7b8a(0x74))/0x3)+parseInt(_0x3c7b8a(0xb5))/0x4*(parseInt(_0x3c7b8a(0x93))/0x5)+-parseInt(_0x3c7b8a(0xe2))/0x6*(parseInt(_0x3c7b8a(0xfe))/0x7)+-parseInt(_0x3c7b8a(0x98))/0x8+-parseInt(_0x3c7b8a(0x7a))/0x9*(parseInt(_0x3c7b8a(0xe7))/0xa)+parseInt(_0x3c7b8a(0xa9))/0xb;if(_0x13bdfc===_0x30a767)break;else _0x2d475e['push'](_0x2d475e['shift']());}catch(_0x1484c1){_0x2d475e['push'](_0x2d475e['shift']());}}}(a74_0x18b9,0xb4ab4));const TestFramework=require(a74_0x3d9ad3(0xbc)),TestFrameworkState=require(a74_0x3d9ad3(0xf9)),HookState=require('../state/hookState.js'),{createClassLogger}=require(a74_0x3d9ad3(0x69)),TestFrameworkInstance=require(a74_0x3d9ad3(0x114)),CLIUtils=require(a74_0x3d9ad3(0xea)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),logger=createClassLogger(a74_0x3d9ad3(0x70)),{v4:uuidv4}=require(a74_0x3d9ad3(0x6b)),util=require('util'),TestInfo=require(a74_0x3d9ad3(0xd0)),GrpcClient=require(a74_0x3d9ad3(0xc4));class CucumberTestFramework extends TestFramework{constructor(_0x4c98ff,_0x1fa9cc,_0x259ce8){super(_0x4c98ff,_0x1fa9cc,_0x259ce8);}async[a74_0x3d9ad3(0x137)](_0xf2ccf9,_0x1fd886,_0x4be7e1={}){const _0x14a123=a74_0x3d9ad3,_0xef3312={};_0xef3312[_0x14a123(0x9b)]=_0x14a123(0x108),_0xef3312[_0x14a123(0x92)]=function(_0x3d8df2,_0x2b993f){return _0x3d8df2===_0x2b993f;},_0xef3312[_0x14a123(0x7e)]=function(_0x35d850,_0x5bb9b7){return _0x35d850===_0x5bb9b7;},_0xef3312[_0x14a123(0xef)]=function(_0x417161,_0x2f18a0){return _0x417161===_0x2f18a0;},_0xef3312['NURmo']=_0x14a123(0xd3);const _0x321d7d=_0xef3312;await super[_0x14a123(0x137)](_0xf2ccf9,_0x1fd886,_0x4be7e1);const _0x161f4c=this[_0x14a123(0xb2)](_0xf2ccf9,_0x1fd886,_0x4be7e1);if(!_0x161f4c){logger[_0x14a123(0x123)](_0x321d7d['LFeVH']);return;}try{let _0x493179,_0x446555;switch(_0xf2ccf9){case TestFrameworkState[_0x14a123(0xe5)]:_0x493179=_0x4be7e1['test'],_0x446555=TestInfo[_0x14a123(0xa4)](_0x493179['id']);if(_0x321d7d[_0x14a123(0x92)](_0x1fd886,HookState[_0x14a123(0x130)])){logger[_0x14a123(0x123)](_0x14a123(0xb1)+_0x493179['id']);const _0x353f52={};_0x353f52['testUUID']=_0x446555,_0x353f52['testData']=_0x493179,_0x161f4c[_0x14a123(0x8a)](this[_0x14a123(0x13d)](_0x353f52)),logger[_0x14a123(0x123)](_0x14a123(0xeb)+_0x493179['id']),await this['processPendingHooks'](_0x161f4c,_0x493179['id']);}else{if(_0x321d7d['PfKFm'](_0x1fd886,HookState[_0x14a123(0xc9)])){const _0x4854d4={};_0x4854d4[_0x14a123(0x11b)]=_0x446555,_0x4854d4[_0x14a123(0xbf)]=_0x493179,_0x161f4c[_0x14a123(0x8a)](this[_0x14a123(0x9d)](_0x4854d4)),await this[_0x14a123(0xa8)](_0x161f4c,_0x493179['id']);}}break;case TestFrameworkState['LOG_REPORT']:_0x321d7d[_0x14a123(0xef)](_0x1fd886,HookState[_0x14a123(0xc9)])&&await this[_0x14a123(0x11f)](_0x161f4c,_0xf2ccf9,_0x4be7e1);break;default:if(CLIUtils[_0x14a123(0xcb)](_0xf2ccf9[_0x14a123(0xfa)]()['split']('.')[0x1])){const _0x34d126=await this[_0x14a123(0xb8)](_0x161f4c,_0xf2ccf9,_0x1fd886,_0x4be7e1);_0x161f4c['addMultipleEntries'](_0x34d126);}else logger[_0x14a123(0x123)]('trackEvent:\x20unsupported\x20testFrameworkState='+_0xf2ccf9+_0x14a123(0xb6)+_0x1fd886);break;}}catch(_0x174451){logger['error'](util[_0x14a123(0x7c)](_0x321d7d[_0x14a123(0xb3)],_0xf2ccf9,_0x1fd886,_0x4be7e1[_0x14a123(0xae)],_0x174451));}_0x4be7e1['instance']=_0x161f4c,await this['runHooks'](_0x161f4c,_0xf2ccf9,_0x1fd886,_0x4be7e1);}['resolveInstance'](_0x146751,_0x2f2094,_0x5f1d37={}){const _0x4b2bca=a74_0x3d9ad3,_0x369b68={};_0x369b68[_0x4b2bca(0x13a)]=function(_0x3cbc2b,_0xfd9d03){return _0x3cbc2b===_0xfd9d03;};const _0x245621=_0x369b68;let _0x5397a5=null;return(_0x245621[_0x4b2bca(0x13a)](_0x146751,TestFrameworkState[_0x4b2bca(0x97)])||_0x245621['ZvabK'](_0x146751,TestFrameworkState[_0x4b2bca(0xe3)]))&&this[_0x4b2bca(0xb9)](_0x146751,_0x5f1d37),_0x5397a5=TestFramework[_0x4b2bca(0xee)](),_0x5397a5;}['trackCucumberInstance'](_0xb8e515,_0x57da30){const _0x22e759=a74_0x3d9ad3,_0x2d40fb=CLIUtils[_0x22e759(0x10e)](),_0x27f16b=TrackedInstance[_0x22e759(0xe9)](_0x2d40fb);let _0x3cac0f=null;logger['debug'](_0x22e759(0xd6)+_0x2d40fb+_0x22e759(0xa0)+_0xb8e515),_0x3cac0f=new TestFrameworkInstance(_0x27f16b,this[_0x22e759(0xf4)](),this['getTestFrameworksVersions'](),_0xb8e515,HookState['NONE']),TestFramework[_0x22e759(0xf7)](_0x27f16b,_0x3cac0f),logger[_0x22e759(0x123)](_0x22e759(0x72)+_0x27f16b['getId']()+_0x22e759(0x136)+_0x2d40fb);}[a74_0x3d9ad3(0x13d)](_0x4c9008){const _0x6895fd=a74_0x3d9ad3,_0x8ade1f={};_0x8ade1f[_0x6895fd(0xc3)]=_0x6895fd(0xff);const _0x37d999=_0x8ade1f,{testUUID:_0x12bda9,testData:_0x3c5776}=_0x4c9008;if(!_0x3c5776||!_0x3c5776['uuid'])return logger[_0x6895fd(0x123)](_0x37d999[_0x6895fd(0xc3)]),{};const _0x18b2ca=_0x12bda9,_0x1f781c=_0x3c5776[_0x6895fd(0x6b)],_0x197a59=this[_0x6895fd(0xf4)]()[0x0],_0x264458=this[_0x6895fd(0x118)](),_0x11946b={[TestFrameworkConstants[_0x6895fd(0xc7)]]:_0x197a59,[TestFrameworkConstants[_0x6895fd(0xba)]]:_0x264458[_0x197a59],[TestFrameworkConstants[_0x6895fd(0x8d)]]:[],[TestFrameworkConstants[_0x6895fd(0x8f)]]:{},[TestFrameworkConstants[_0x6895fd(0x121)]]:{},[TestFrameworkConstants[_0x6895fd(0x7b)]]:_0x18b2ca,[TestFrameworkConstants[_0x6895fd(0x106)]]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0x6895fd(0x7d)]]:_0x3c5776[_0x6895fd(0x12e)]||'',[TestFrameworkConstants[_0x6895fd(0xf6)]]:_0x3c5776[_0x6895fd(0xad)]||'',[TestFrameworkConstants['KEY_TEST_ID']]:_0x1f781c,[TestFrameworkConstants[_0x6895fd(0x9f)]]:_0x3c5776['name']||'',[TestFrameworkConstants[_0x6895fd(0xfd)]]:_0x3c5776[_0x6895fd(0x96)]||'',[TestFrameworkConstants[_0x6895fd(0x125)]]:_0x3c5776[_0x6895fd(0xec)]?.[_0x6895fd(0xf8)]||null,[TestFrameworkConstants[_0x6895fd(0x12f)]]:_0x3c5776[_0x6895fd(0x6d)]||[],[TestFrameworkConstants[_0x6895fd(0x134)]]:_0x3c5776[_0x6895fd(0x10f)]||new Date()[_0x6895fd(0x126)](),[TestFrameworkConstants[_0x6895fd(0xab)]]:_0x3c5776[_0x6895fd(0x99)]?.[0x0]||'',[TestFrameworkConstants[_0x6895fd(0x83)]]:_0x3c5776[_0x6895fd(0x99)]||[],[TestFrameworkConstants[_0x6895fd(0x12d)]]:_0x3c5776[_0x6895fd(0x75)]?.['rerun_name']||_0x3c5776[_0x6895fd(0x12e)]||'',[TestFrameworkConstants[_0x6895fd(0x86)]]:{},[TestFrameworkConstants[_0x6895fd(0x129)]]:_0x3c5776['meta']||{}};TestInfo['setTestDetails'](_0x1f781c,_0x11946b),logger[_0x6895fd(0x123)](_0x6895fd(0xda)+_0x3c5776['name']+_0x6895fd(0xf0)+_0x18b2ca);const _0x283593={};return _0x283593[_0x1f781c]=_0x11946b,_0x283593;}[a74_0x3d9ad3(0x9d)](_0x17767f){const _0x2cc3aa=a74_0x3d9ad3,_0x179727={'KrxYI':_0x2cc3aa(0xca),'mMvwd':_0x2cc3aa(0xaf),'NalVc':function(_0x27977c,_0x43db2f){return _0x27977c===_0x43db2f;},'yjTJQ':_0x2cc3aa(0xe4),'sXniI':_0x2cc3aa(0x10b),'UyJTM':function(_0xa3fb82,_0x84d081,_0x1f7f95){return _0xa3fb82(_0x84d081,_0x1f7f95);},'FINXM':function(_0x378838,_0x3a6148){return _0x378838>_0x3a6148;}},{testUUID:_0x5c6ca1,testData:_0x964eb1}=_0x17767f;if(!_0x964eb1||!_0x964eb1[_0x2cc3aa(0x6b)])return logger[_0x2cc3aa(0x123)](_0x179727[_0x2cc3aa(0x133)]),{};const _0x50e38f=this[_0x2cc3aa(0xb2)](TestFrameworkState[_0x2cc3aa(0xe5)],HookState[_0x2cc3aa(0xc9)]),_0x23d216=_0x964eb1[_0x2cc3aa(0x6b)],_0x527ac3=TestInfo['getTestDetails'](_0x23d216)||{},_0x5bb988=_0x527ac3?_0x527ac3[TestFrameworkConstants[_0x2cc3aa(0x86)]]||{}:{},_0x55e746={..._0x527ac3,[TestFrameworkConstants[_0x2cc3aa(0x106)]]:_0x964eb1[_0x2cc3aa(0x8c)]||_0x179727[_0x2cc3aa(0x102)],[TestFrameworkConstants[_0x2cc3aa(0x109)]]:_0x964eb1[_0x2cc3aa(0x11e)]||new Date()['toISOString'](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0x2cc3aa(0x126)](),[TestFrameworkConstants[_0x2cc3aa(0x86)]]:_0x5bb988,[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x2cc3aa(0x129)]]:_0x964eb1[_0x2cc3aa(0x103)]||{}};_0x179727[_0x2cc3aa(0xed)](_0x964eb1[_0x2cc3aa(0x8c)],_0x179727[_0x2cc3aa(0x11c)])&&_0x964eb1[_0x2cc3aa(0xaa)]&&(_0x55e746[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]=_0x964eb1[_0x2cc3aa(0x9c)]||_0x179727[_0x2cc3aa(0x10c)],_0x55e746[TestFrameworkConstants[_0x2cc3aa(0xde)]]=_0x964eb1[_0x2cc3aa(0xdc)]||'',_0x55e746[TestFrameworkConstants[_0x2cc3aa(0xe1)]]=_0x964eb1[_0x2cc3aa(0xaa)]);const _0x11fd4d=TestInfo[_0x2cc3aa(0x73)](_0x23d216)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x75e9f6=_0x179727[_0x2cc3aa(0x9e)](getManualUploadLogs,_0x11fd4d,_0x50e38f[_0x2cc3aa(0x88)]()[_0x2cc3aa(0x119)](_0x23d216)[TestFrameworkConstants[_0x2cc3aa(0x7b)]]);if(_0x179727[_0x2cc3aa(0xe8)](_0x75e9f6[_0x2cc3aa(0xae)],0x0)){const _0x10fe2e=_0x55e746[TestFrameworkConstants[_0x2cc3aa(0xd7)]]||[];_0x55e746[TestFrameworkConstants[_0x2cc3aa(0xd7)]]=[..._0x10fe2e,..._0x75e9f6];}_0x964eb1[_0x2cc3aa(0xa1)]&&_0x179727[_0x2cc3aa(0xe8)](_0x964eb1[_0x2cc3aa(0xa1)]['length'],0x0)&&(_0x55e746[TestFrameworkConstants[_0x2cc3aa(0x8f)]]=_0x964eb1[_0x2cc3aa(0xa1)]);TestInfo[_0x2cc3aa(0xb4)](_0x23d216,_0x55e746),logger[_0x2cc3aa(0x123)]('Updated\x20cucumber\x20test\x20result:\x20'+_0x964eb1[_0x2cc3aa(0x12e)]+_0x2cc3aa(0xc6)+_0x964eb1[_0x2cc3aa(0x8c)]);const _0x2fa879={};return _0x2fa879[_0x23d216]=_0x55e746,_0x2fa879;}async['trackHookEvent'](_0x3659fa,_0x49e89e,_0xbaf3d1,_0x4d54c0){const _0x519fe5=a74_0x3d9ad3,_0x2f9fa2={'ijTAY':_0x519fe5(0x12a),'zuefr':function(_0x29c3e6){return _0x29c3e6();},'jckOp':function(_0xe918a4,_0x3ced2a){return _0xe918a4 in _0x3ced2a;},'GqvyK':function(_0x3fadd6,_0x45d2b2){return _0x3fadd6 in _0x45d2b2;},'GmyAD':function(_0x4ce6ff,_0x344260){return _0x4ce6ff===_0x344260;},'JBWYR':function(_0x37ed8b,_0x253f2f){return _0x37ed8b>_0x253f2f;},'RQUAU':function(_0x170fff,_0xafb0bb){return _0x170fff===_0xafb0bb;},'YXleE':_0x519fe5(0xe4),'VxrRj':_0x519fe5(0x10b),'dSgFB':_0x519fe5(0xce),'OOmzi':function(_0x129a7e,_0x3eee91){return _0x129a7e!==_0x3eee91;}},{hookData:_0x2c170e}=_0x4d54c0;if(!_0x2c170e)return logger[_0x519fe5(0x123)](_0x2f9fa2[_0x519fe5(0x82)]),{};const _0x9a49a2=_0x2c170e[_0x519fe5(0x6b)]||_0x2f9fa2[_0x519fe5(0xa6)](uuidv4),_0x1ab39b=_0x2c170e[_0x519fe5(0x107)],_0x249c3d=_0x49e89e[_0x519fe5(0xfa)]()['split']('.')[0x1],_0x41100d=TestInfo['getTestDetails'](_0x1ab39b)[TestFrameworkConstants[_0x519fe5(0x86)]]||{},_0x512e49=_0x3659fa['getAllData']()[_0x519fe5(0x119)](_0x1ab39b);if(!_0x512e49)return logger[_0x519fe5(0x123)](_0x519fe5(0xbd)+_0x1ab39b+_0x519fe5(0xc5)),this[_0x519fe5(0x6c)](_0x3659fa,_0x1ab39b,_0x49e89e,_0xbaf3d1,_0x4d54c0),{};let _0x15be68=_0x512e49[TestFrameworkConstants[_0x519fe5(0x121)]];!_0x15be68&&(_0x15be68={});!_0x2f9fa2[_0x519fe5(0x10a)](_0x249c3d,_0x15be68)&&(_0x15be68[_0x249c3d]=[]);let _0x3362ae=_0x512e49[TestFrameworkConstants[_0x519fe5(0x8f)]];!_0x3362ae&&(_0x3362ae={});!_0x2f9fa2[_0x519fe5(0x105)](_0x249c3d,_0x3362ae)&&(_0x3362ae[_0x249c3d]=[]);const _0x3c29d1={[TestFrameworkConstants[_0x519fe5(0x121)]]:_0x15be68,[TestFrameworkConstants[_0x519fe5(0x8f)]]:_0x3362ae},_0x3419e1={};_0x3419e1[_0x1ab39b]=_0x3c29d1;const _0x346adc=_0x3419e1;if(_0x2f9fa2[_0x519fe5(0x95)](_0xbaf3d1,HookState['PRE'])){const _0x5956f9={[TestFrameworkConstants['KEY_HOOK_ID']]:_0x9a49a2,[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x519fe5(0x122)],[TestFrameworkConstants[_0x519fe5(0x6f)]]:_0x2c170e[_0x519fe5(0xb7)],[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x2c170e[_0x519fe5(0xd1)],[TestFrameworkConstants[_0x519fe5(0x86)]]:_0x41100d};_0x5956f9['key']=_0x249c3d;const _0x35c0b1=_0x5956f9;_0x15be68[_0x249c3d][_0x519fe5(0xbb)](_0x35c0b1),_0x346adc[_0x1ab39b][TestFrameworkConstants[_0x519fe5(0x100)]]=_0x249c3d,logger[_0x519fe5(0x123)]('trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20'+_0x249c3d+_0x519fe5(0xa7)+_0x35c0b1+_0x519fe5(0x8e)+_0x4d54c0);}else{if(_0x2f9fa2[_0x519fe5(0x95)](_0xbaf3d1,HookState[_0x519fe5(0xc9)])){const _0x101978=_0x2c170e[_0x519fe5(0x8c)],_0x5ef282=_0x15be68[_0x249c3d]||[];logger[_0x519fe5(0x123)](_0x519fe5(0x68)+_0x5ef282+_0x519fe5(0x116)+_0x4d54c0);if(_0x2f9fa2[_0x519fe5(0x78)](_0x5ef282[_0x519fe5(0xae)],0x0)){const _0x6d984b=_0x5ef282['pop']();_0x2f9fa2['RQUAU'](_0x2c170e['result'],_0x2f9fa2[_0x519fe5(0x124)])&&_0x2c170e[_0x519fe5(0x13c)]?(_0x6d984b[TestFrameworkConstants[_0x519fe5(0x80)]]=_0x2c170e[_0x519fe5(0x9c)]||_0x2f9fa2[_0x519fe5(0xcc)],_0x6d984b[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=_0x2c170e[_0x519fe5(0xdc)]||'',_0x6d984b[TestFrameworkConstants[_0x519fe5(0x110)]]=_0x2c170e['failure_data']):_0x6d984b[TestFrameworkConstants[_0x519fe5(0x77)]]=_0x2f9fa2['dSgFB'];_0x2f9fa2[_0x519fe5(0xfb)](_0x101978,TestFrameworkConstants[_0x519fe5(0x122)])&&(_0x6d984b[TestFrameworkConstants[_0x519fe5(0x77)]]=_0x101978);_0x6d984b[TestFrameworkConstants[_0x519fe5(0x138)]]=_0x2c170e['finished_at']||new Date()[_0x519fe5(0x126)](),_0x6d984b[TestFrameworkConstants[_0x519fe5(0x86)]]=_0x41100d;const _0x105991=_0x6d984b[TestFrameworkConstants[_0x519fe5(0xc0)]];!_0x3362ae[_0x249c3d]&&(_0x3362ae[_0x249c3d]=[]),_0x3362ae[_0x249c3d]['push'](_0x6d984b),_0x346adc[_0x1ab39b][TestFrameworkConstants[_0x519fe5(0xa5)]]=_0x249c3d;}}}return logger[_0x519fe5(0x123)](_0x519fe5(0x132)+_0x2c170e[_0x519fe5(0xd1)]+'\x20with\x20id\x20'+_0x9a49a2+'\x20for\x20test:\x20'+_0x1ab39b),_0x346adc;}[a74_0x3d9ad3(0xdf)](_0x410f68){const _0xd1d832=a74_0x3d9ad3,_0x537101={};_0x537101[_0xd1d832(0x117)]=_0xd1d832(0x10d);const _0x4f8d10=_0x537101;try{const _0x11e096=_0x410f68['test']?_0x410f68[_0xd1d832(0x6a)]['id']:_0x410f68['hookData']['test_run_id'],_0x5c3985=_0x410f68[_0xd1d832(0x131)],_0x55472b=_0x5c3985[_0xd1d832(0xe6)](),_0x3eb5ed=_0x5c3985[_0xd1d832(0x88)]()[_0xd1d832(0x119)](_0x11e096);if(!_0x3eb5ed)return logger[_0xd1d832(0x123)](_0xd1d832(0xb0)+_0x11e096),{};logger['debug'](_0xd1d832(0x139)+_0x11e096);const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x38bcc8='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x39d58d='',[TestFrameworkConstants[_0xd1d832(0x134)]]:_0xe4e546='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x418128=''}=_0x3eb5ed,_0x92eeeb=_0x5c3985['getCurrentTestState']()[_0xd1d832(0xfa)]()['split']('.')[0x1],_0x22751b=_0x5c3985[_0xd1d832(0xf5)]()[_0xd1d832(0xfa)]()[_0xd1d832(0x87)]('.')[0x1],_0x54ffcb=global?.[_0xd1d832(0xc2)]??0x0,_0xe5dacb=_0x5c3985[_0xd1d832(0xcf)](),_0x55931c=Buffer[_0xd1d832(0xc8)](JSON[_0xd1d832(0xa3)](_0x3eb5ed))[_0xd1d832(0xfa)](_0x4f8d10[_0xd1d832(0x117)]),_0x65d5d8={'hash':_0x55472b[_0xd1d832(0x7f)](),'threadId':_0x55472b[_0xd1d832(0xd2)]()[_0xd1d832(0xfa)](),'processId':_0x55472b['getProcessId']()[_0xd1d832(0xfa)]()},_0x1fbe8a={};_0x1fbe8a[_0xd1d832(0xa2)]=_0x54ffcb,_0x1fbe8a['testFrameworkName']=_0x38bcc8,_0x1fbe8a[_0xd1d832(0xe0)]=_0x39d58d,_0x1fbe8a[_0xd1d832(0x13b)]=_0x92eeeb,_0x1fbe8a[_0xd1d832(0x84)]=_0x22751b,_0x1fbe8a[_0xd1d832(0x10f)]=_0xe4e546,_0x1fbe8a[_0xd1d832(0x91)]=_0x418128,_0x1fbe8a[_0xd1d832(0x6b)]=_0xe5dacb,_0x1fbe8a[_0xd1d832(0x104)]=_0x55931c,_0x1fbe8a[_0xd1d832(0xfc)]=_0x65d5d8;const _0x2a88b1=_0x1fbe8a;return logger[_0xd1d832(0x123)](_0xd1d832(0x120)+_0x11e096+_0xd1d832(0x135)+_0x92eeeb+'\x20hookState:\x20'+_0x22751b),_0x2a88b1;}catch(_0x12783c){return logger[_0xd1d832(0x11d)](_0xd1d832(0x101)+util[_0xd1d832(0x7c)](_0x12783c)),{};}}async[a74_0x3d9ad3(0x11f)](_0x4a861a,_0x2183da,_0x47eafe){const _0x5929f7=a74_0x3d9ad3,_0x20d325={'sGpki':function(_0x4c0b32,_0x559d22,_0x58b299){return _0x4c0b32(_0x559d22,_0x58b299);},'uXUPr':function(_0x3d1aae,_0x15b14d){return _0x3d1aae===_0x15b14d;},'HmvIp':_0x5929f7(0x71),'TXpTT':function(_0x44dfaf,_0x20a2a8){return _0x44dfaf/_0x20a2a8;},'udCSa':function(_0x4adf27,_0x58fc8d){return _0x4adf27<_0x58fc8d;},'FpWiL':function(_0x2dab5b,_0x4803a0){return _0x2dab5b*_0x4803a0;},'wHRFT':function(_0x11e3f2,_0x5d40a3){return _0x11e3f2+_0x5d40a3;},'nQgpY':_0x5929f7(0xcd)};try{const _0x290a43=_0x47eafe['testUUID'],_0x29791b=_0x4a861a[_0x5929f7(0x88)]()[_0x5929f7(0x119)](_0x290a43),{[TestFrameworkConstants[_0x5929f7(0xc7)]]:_0x43ee88='',[TestFrameworkConstants[_0x5929f7(0xba)]]:_0x1a22e0=''}=_0x29791b,_0x464100=TestInfo[_0x5929f7(0x127)](_0x290a43),_0x37340c=TestInfo['getTestDetails'](_0x290a43)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x57c3f8=_0x20d325[_0x5929f7(0x94)](getMediaArtifactsLogs,_0x37340c,_0x4a861a[_0x5929f7(0x88)]()[_0x5929f7(0x119)](_0x290a43)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x56692c=(_0x464100||[])[_0x5929f7(0x128)](_0x57c3f8||[]);if(!_0x56692c||_0x20d325['uXUPr'](_0x56692c['length'],0x0)){logger[_0x5929f7(0x123)](_0x20d325[_0x5929f7(0xdb)]);return;}const _0x1d0b3f=0x28,_0x3a7acf=Math[_0x5929f7(0x112)](_0x20d325[_0x5929f7(0xdd)](_0x56692c[_0x5929f7(0xae)],_0x1d0b3f));for(let _0x10049e=0x0;_0x20d325[_0x5929f7(0x11a)](_0x10049e,_0x3a7acf);_0x10049e++){const _0x441226=_0x20d325[_0x5929f7(0x81)](_0x10049e,_0x1d0b3f),_0x298640=_0x20d325['wHRFT'](_0x441226,_0x1d0b3f),_0x4a822e=_0x56692c[_0x5929f7(0xf1)](_0x441226,_0x298640),_0x2c0910={'platformIndex':global?.[_0x5929f7(0xc2)]??0x0,'logs':_0x4a822e,'testFrameworkName':_0x43ee88,'testFrameworkVersion':_0x1a22e0,'testFrameworkState':_0x2183da[_0x5929f7(0xfa)]()[_0x5929f7(0x87)]('.')[0x1]};logger[_0x5929f7(0x123)](_0x5929f7(0xf3)+_0x290a43+'\x20batch\x20'+_0x20d325[_0x5929f7(0xd8)](_0x10049e,0x1)+'/'+_0x3a7acf+'\x20payload='+util[_0x5929f7(0x89)](_0x2c0910));const _0x56be8d=await GrpcClient['getInstance']()[_0x5929f7(0x115)](_0x2c0910);logger[_0x5929f7(0x123)](_0x5929f7(0xf3)+_0x290a43+_0x5929f7(0x76)+_0x20d325[_0x5929f7(0xd8)](_0x10049e,0x1)+'/'+_0x3a7acf+_0x5929f7(0xf2)+util[_0x5929f7(0x89)](_0x56be8d));}}catch(_0x9825a6){logger[_0x5929f7(0x11d)](_0x5929f7(0x12c)+util[_0x5929f7(0x7c)](_0x9825a6));}logger[_0x5929f7(0x123)](_0x20d325[_0x5929f7(0xd4)]);}[a74_0x3d9ad3(0x6c)](_0x1a5b48,_0x296dec,_0x596435,_0x3d5aba,_0x10070c){const _0x56faef=a74_0x3d9ad3,_0x126c8f={'testId':_0x296dec,'testFrameworkState':_0x596435,'hookState':_0x3d5aba,'args':_0x10070c,'timestamp':new Date()[_0x56faef(0x126)]()};_0x1a5b48[_0x56faef(0xac)](_0x296dec,_0x126c8f),logger['debug'](_0x56faef(0xd9)+_0x296dec+',\x20state:\x20'+_0x596435+_0x56faef(0xd5)+_0x3d5aba);}async['processPendingHooks'](_0x2da29a,_0x2f2a3f){const _0x27e3c5=a74_0x3d9ad3,_0x135652={};_0x135652[_0x27e3c5(0x9a)]=function(_0x4c81ff,_0x368baf){return _0x4c81ff>_0x368baf;};const _0x4cc231=_0x135652;if(!_0x2da29a[_0x27e3c5(0xc1)](_0x2f2a3f))return;const _0x44564b=_0x2da29a[_0x27e3c5(0x85)](_0x2f2a3f);logger[_0x27e3c5(0x123)]('Processing\x20'+_0x44564b[_0x27e3c5(0xae)]+_0x27e3c5(0x8b)+_0x2f2a3f);for(const _0x4ff625 of _0x44564b){try{const _0x32c872=await this[_0x27e3c5(0xb8)](_0x2da29a,_0x4ff625[_0x27e3c5(0x13b)],_0x4ff625[_0x27e3c5(0x84)],_0x4ff625[_0x27e3c5(0x90)]);_0x32c872&&_0x4cc231[_0x27e3c5(0x9a)](Object[_0x27e3c5(0x6e)](_0x32c872)[_0x27e3c5(0xae)],0x0)&&_0x2da29a[_0x27e3c5(0x8a)](_0x32c872),await this[_0x27e3c5(0x111)](_0x2da29a,_0x4ff625[_0x27e3c5(0x13b)],_0x4ff625[_0x27e3c5(0x84)],_0x4ff625[_0x27e3c5(0x90)]);}catch(_0x125e24){logger['error'](_0x27e3c5(0x113)+_0x2f2a3f+',\x20error:\x20'+_0x125e24);}}_0x2da29a[_0x27e3c5(0x12b)](_0x2f2a3f),logger[_0x27e3c5(0x123)]('Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20'+_0x2f2a3f);}}module['exports']=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;