browserstack-node-sdk 1.50.9 → 1.50.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (186) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/runner.js +1 -1
  90. package/src/bin/setup.js +1 -1
  91. package/src/bin/test-runner/index.js +1 -1
  92. package/src/bin/test-runner/runTest.js +1 -1
  93. package/src/bin/test-runner/testWorker.js +1 -1
  94. package/src/bin/utils/apiUtilityMethods.js +1 -1
  95. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  96. package/src/bin/utils/constants.js +1 -1
  97. package/src/bin/utils/log4jsAppender.js +1 -1
  98. package/src/bin/utils/logPatcher.js +1 -1
  99. package/src/bin/utils/logReportingAPI.js +1 -1
  100. package/src/bin/utils/playwright-patcher.js +1 -1
  101. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  102. package/src/bin/utils/sharedUtils.js +1 -1
  103. package/src/bin/v2/TestInfo.js +1 -1
  104. package/src/bin/v2/browserstackCLI.js +1 -1
  105. package/src/bin/v2/cliUtils.js +1 -1
  106. package/src/bin/v2/customTagManager.js +1 -1
  107. package/src/bin/v2/eventDispatcher.js +1 -1
  108. package/src/bin/v2/framework/automationFramework.js +1 -1
  109. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  110. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  111. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  112. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  113. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  114. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  115. package/src/bin/v2/framework/testFramework.js +1 -1
  116. package/src/bin/v2/grpcClient.js +1 -1
  117. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  118. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  119. package/src/bin/v2/instances/trackedContext.js +1 -1
  120. package/src/bin/v2/instances/trackedInstance.js +1 -1
  121. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  122. package/src/bin/v2/modules/baseModule.js +1 -1
  123. package/src/bin/v2/modules/loadTestModule.js +1 -1
  124. package/src/bin/v2/modules/observabilityModule.js +1 -1
  125. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  126. package/src/bin/v2/modules/testhubModule.js +1 -1
  127. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  128. package/src/bin/v2/state/hookState.js +1 -1
  129. package/src/bin/v2/state/testFrameworkState.js +1 -1
  130. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  131. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  132. package/src/bin/v2/utils/jest-utils.js +1 -1
  133. package/src/bin/vanilla-js/command.js +1 -1
  134. package/src/browserStackSdk.js +1 -1
  135. package/src/helpers/BrowserStackSetup.js +1 -1
  136. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  137. package/src/helpers/accessibility-automation/constants.js +1 -1
  138. package/src/helpers/accessibility-automation/helper.js +1 -1
  139. package/src/helpers/accessibility-automation/scripts.js +1 -1
  140. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  141. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  142. package/src/helpers/ats/constants.js +1 -1
  143. package/src/helpers/ats/helper.js +1 -1
  144. package/src/helpers/capsMapping.js +1 -1
  145. package/src/helpers/central-scanner/constants.js +1 -1
  146. package/src/helpers/central-scanner/helpers.js +1 -1
  147. package/src/helpers/classLogger.js +1 -1
  148. package/src/helpers/globals.js +1 -1
  149. package/src/helpers/helper.js +1 -1
  150. package/src/helpers/logger.js +1 -1
  151. package/src/helpers/metadata.js +1 -1
  152. package/src/helpers/patchHelper.js +1 -1
  153. package/src/helpers/patchHelpers.js +1 -1
  154. package/src/helpers/percy/Percy.js +1 -1
  155. package/src/helpers/percy/PercyBinary.js +1 -1
  156. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  157. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  158. package/src/helpers/percy/PercySDK.js +1 -1
  159. package/src/helpers/percy/index.js +1 -1
  160. package/src/helpers/percy/utils.js +1 -1
  161. package/src/helpers/performance/constants.js +1 -1
  162. package/src/helpers/performance/performance-tester.js +1 -1
  163. package/src/helpers/playwright-helper.js +1 -1
  164. package/src/helpers/processHelper.js +1 -1
  165. package/src/helpers/request-spy.js +1 -1
  166. package/src/helpers/setKeepAlive.js +1 -1
  167. package/src/helpers/test-observability/constants.js +1 -1
  168. package/src/helpers/test-observability/error-handler.js +1 -1
  169. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  170. package/src/helpers/test-observability/sessionHandler.js +1 -1
  171. package/src/helpers/test-observability/utils.js +1 -1
  172. package/src/helpers/test-orchestration/constants.js +1 -1
  173. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  174. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  175. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  176. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  177. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  178. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  179. package/src/helpers/testhub/constants.js +1 -1
  180. package/src/helpers/testhub/testhubHandler.js +1 -1
  181. package/src/helpers/testhub/utils.js +1 -1
  182. package/src/helpers/timeoutPromise.js +1 -1
  183. package/src/helpers/utilities.js +1 -1
  184. package/src/helpers/w3cMapping.js +1 -1
  185. package/src/hubAllocationMethods.js +1 -1
  186. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a69_0x635a3c=a69_0x5de6;(function(_0x56b9e5,_0xf15025){const _0x59afdb=a69_0x5de6,_0x31d996=_0x56b9e5();while(!![]){try{const _0x441a37=-parseInt(_0x59afdb(0xb7))/0x1+parseInt(_0x59afdb(0xcc))/0x2*(-parseInt(_0x59afdb(0xed))/0x3)+-parseInt(_0x59afdb(0xa8))/0x4*(parseInt(_0x59afdb(0xe0))/0x5)+parseInt(_0x59afdb(0xcf))/0x6*(parseInt(_0x59afdb(0xf4))/0x7)+parseInt(_0x59afdb(0xd2))/0x8+-parseInt(_0x59afdb(0xf3))/0x9+parseInt(_0x59afdb(0xae))/0xa*(parseInt(_0x59afdb(0xb3))/0xb);if(_0x441a37===_0xf15025)break;else _0x31d996['push'](_0x31d996['shift']());}catch(_0x23fb17){_0x31d996['push'](_0x31d996['shift']());}}}(a69_0x4621,0xbf66e));function a69_0x5de6(_0x429d22,_0x1e347e){const _0x462123=a69_0x4621();return a69_0x5de6=function(_0x5de671,_0x4352b8){_0x5de671=_0x5de671-0x9c;let _0x169970=_0x462123[_0x5de671];return _0x169970;},a69_0x5de6(_0x429d22,_0x1e347e);}function a69_0x4621(){const _0x1d7422=['KEY_TEST_SCOPE','KEY_TEST_RESULT_AT','hook_failure_reason','1231208CbForv','KEY_TEST_FAILURE','KEY_HOOKS_FINISHED','KEY_TEST_UUID','KEY_HOOK_FAILURE_REASON','KEY_TEST_CODE','288730daPxGP','KEY_HOOK_NAME','test_code','KEY_TEST_FAILURE_REASON','hook_name','1474Dwcoov','test_failure','KIND_SCREENSHOT','KEY_TEST_TAGS','842955Wrqooz','custom_metadata','KEY_CUSTOM_TAGS','hook_id','hook_failure_type','KEY_TEST_ID','test_attachments','platform_index','retry_of','TEST_LOG','KEY_SESSION_NAME','test_rerun_name','automate_session_status','logs','KEY_EVENT_STARTED_AT','KEY_AUTOMATE_SESSION_STATUS','KEY_FILE_SIZE','KEY_TEST_LOGS','KEY_TEST_META','test_started_at','test_name','184tKjZpg','test_logs','test_location','192wxKFfi','KEY_EVENT_ENDED_AT','test_failure_reason','8102728SZXSUd','KEY_LOGS','DEFAULT_HOOK_RESULT','KEY_TEST_FAILURE_TYPE','hook_failure','KEY_HOOK_LAST_STARTED','KEY_TEST_FILE_PATH','KEY_FILE_PATH','test_hook_last_started','KEY_AUTOMATE_SESSION_REASON','test_meta','KEY_TEST_RETRY_OF','test_result','KEY_AUTOMATE_SESSION_NAME','20kiNisD','automate_session_name','KEY_HOOKS_STARTED','test_session_name','file_level','KEY_TEST_FRAMEWORK_NAME','KEY_HOOK_LAST_FINISHED','KEY_PLATFORM_INDEX','KEY_TEST_NAME','test_hooks_finished','test_id','test_hooks_started','KEY_TEST_ENDED_AT','44208QgZMHq','KEY_HOOK_FAILURE_TYPE','hook_logs','test_uuid','hook_result','KEY_HOOK_ID','7752366iPJaNG','42308aRKDPx','test_framework_version','KEY_TEST_STARTED_AT','test_failure_type','KEY_HOOK_FAILURE','file_name','TEST_SCREENSHOT','KEY_TEST_FRAMEWORK_VERSION','test_file_path','file_path','pending'];a69_0x4621=function(){return _0x1d7422;};return a69_0x4621();}const a69_0x3bd934={};a69_0x3bd934[a69_0x635a3c(0xab)]=a69_0x635a3c(0xf0),a69_0x3bd934[a69_0x635a3c(0xbc)]=a69_0x635a3c(0xea),a69_0x3bd934[a69_0x635a3c(0xe8)]=a69_0x635a3c(0xcb),a69_0x3bd934[a69_0x635a3c(0xd8)]=a69_0x635a3c(0xa2),a69_0x3bd934[a69_0x635a3c(0xb6)]='test_tags',a69_0x3bd934['KEY_TEST_RESULT']=a69_0x635a3c(0xde),a69_0x3bd934[a69_0x635a3c(0xa6)]='test_result_at',a69_0x3bd934[a69_0x635a3c(0x9c)]=a69_0x635a3c(0xca),a69_0x3bd934[a69_0x635a3c(0xec)]='test_ended_at',a69_0x3bd934['KEY_TEST_LOCATION']=a69_0x635a3c(0xce),a69_0x3bd934[a69_0x635a3c(0xa5)]='test_scope',a69_0x3bd934['KEY_TEST_SCOPES']='test_scopes',a69_0x3bd934[a69_0x635a3c(0xe5)]='test_framework_name',a69_0x3bd934[a69_0x635a3c(0xa1)]=a69_0x635a3c(0xf5),a69_0x3bd934[a69_0x635a3c(0xad)]=a69_0x635a3c(0xb0),a69_0x3bd934['KEY_TEST_RERUN_NAME']=a69_0x635a3c(0xc2),a69_0x3bd934[a69_0x635a3c(0xdd)]=a69_0x635a3c(0xbf),a69_0x3bd934[a69_0x635a3c(0xe7)]=a69_0x635a3c(0xbe),a69_0x3bd934[a69_0x635a3c(0xa9)]=a69_0x635a3c(0xb4),a69_0x3bd934[a69_0x635a3c(0xd5)]=a69_0x635a3c(0x9d),a69_0x3bd934[a69_0x635a3c(0xb1)]=a69_0x635a3c(0xd1),a69_0x3bd934[a69_0x635a3c(0xc8)]=a69_0x635a3c(0xcd),a69_0x3bd934[a69_0x635a3c(0xc9)]=a69_0x635a3c(0xdc),a69_0x3bd934[a69_0x635a3c(0xc1)]=a69_0x635a3c(0xe3),a69_0x3bd934[a69_0x635a3c(0xdf)]=a69_0x635a3c(0xe1),a69_0x3bd934[a69_0x635a3c(0xc6)]=a69_0x635a3c(0xc3),a69_0x3bd934[a69_0x635a3c(0xdb)]='automate_session_reason',a69_0x3bd934[a69_0x635a3c(0xc5)]='event_started_at',a69_0x3bd934[a69_0x635a3c(0xd0)]='event_ended_at',a69_0x3bd934[a69_0x635a3c(0xf2)]=a69_0x635a3c(0xba),a69_0x3bd934['KEY_HOOK_RESULT']=a69_0x635a3c(0xf1),a69_0x3bd934[a69_0x635a3c(0xee)]=a69_0x635a3c(0xbb),a69_0x3bd934[a69_0x635a3c(0xac)]=a69_0x635a3c(0xa7),a69_0x3bd934[a69_0x635a3c(0x9e)]=a69_0x635a3c(0xd6),a69_0x3bd934['KEY_HOOK_LOGS']=a69_0x635a3c(0xef),a69_0x3bd934[a69_0x635a3c(0xaf)]=a69_0x635a3c(0xb2),a69_0x3bd934['DEFAULT_TEST_RESULT']='pending',a69_0x3bd934[a69_0x635a3c(0xd4)]=a69_0x635a3c(0xa4),a69_0x3bd934[a69_0x635a3c(0xb5)]=a69_0x635a3c(0xa0),a69_0x3bd934['KIND_LOG']=a69_0x635a3c(0xc0),a69_0x3bd934['HOOK_REGEX']='^(BEFORE_|AFTER_)',a69_0x3bd934[a69_0x635a3c(0xe2)]=a69_0x635a3c(0xeb),a69_0x3bd934[a69_0x635a3c(0xaa)]=a69_0x635a3c(0xe9),a69_0x3bd934[a69_0x635a3c(0xd7)]=a69_0x635a3c(0xda),a69_0x3bd934[a69_0x635a3c(0xe6)]='test_hook_last_finished',a69_0x3bd934[a69_0x635a3c(0xd3)]=a69_0x635a3c(0xc4),a69_0x3bd934[a69_0x635a3c(0xb9)]=a69_0x635a3c(0xb8),a69_0x3bd934['KEY_TEST_ATTACHMENTS']=a69_0x635a3c(0xbd),a69_0x3bd934[a69_0x635a3c(0xc7)]='file_size',a69_0x3bd934['KEY_FILE_NAME']=a69_0x635a3c(0x9f),a69_0x3bd934[a69_0x635a3c(0xd9)]=a69_0x635a3c(0xa3),a69_0x3bd934['KEY_FILE_LEVEL']=a69_0x635a3c(0xe4);const TestFrameworkConstants=a69_0x3bd934;module['exports']=TestFrameworkConstants;
1
+ const a69_0x1ea77d=a69_0x7bf0;(function(_0x4b4810,_0x170977){const _0x2d8a5b=a69_0x7bf0,_0x4eb989=_0x4b4810();while(!![]){try{const _0xb45c7a=parseInt(_0x2d8a5b(0x132))/0x1*(-parseInt(_0x2d8a5b(0x12a))/0x2)+-parseInt(_0x2d8a5b(0x117))/0x3+-parseInt(_0x2d8a5b(0xec))/0x4*(-parseInt(_0x2d8a5b(0xfc))/0x5)+parseInt(_0x2d8a5b(0xfd))/0x6+parseInt(_0x2d8a5b(0x10b))/0x7*(parseInt(_0x2d8a5b(0xf1))/0x8)+-parseInt(_0x2d8a5b(0x109))/0x9+-parseInt(_0x2d8a5b(0x129))/0xa*(-parseInt(_0x2d8a5b(0x12b))/0xb);if(_0xb45c7a===_0x170977)break;else _0x4eb989['push'](_0x4eb989['shift']());}catch(_0x1a3625){_0x4eb989['push'](_0x4eb989['shift']());}}}(a69_0x5c83,0x763aa));const a69_0x2fdd84={};function a69_0x7bf0(_0x490e60,_0x9cd653){const _0x5c83e2=a69_0x5c83();return a69_0x7bf0=function(_0x7bf041,_0x2d80f6){_0x7bf041=_0x7bf041-0xe0;let _0x289e26=_0x5c83e2[_0x7bf041];return _0x289e26;},a69_0x7bf0(_0x490e60,_0x9cd653);}function a69_0x5c83(){const _0x2dcedc=['test_framework_name','test_ended_at','KEY_CUSTOM_TAGS','2348PPlYKX','KEY_TEST_META','test_failure','test_name','KEY_HOOK_LAST_STARTED','automate_session_status','KEY_TEST_RESULT','logs','KEY_HOOK_LAST_FINISHED','test_result_at','KEY_HOOK_FAILURE_TYPE','KEY_TEST_CODE','hook_id','^(BEFORE_|AFTER_)','file_size','KEY_HOOK_LOGS','KEY_FILE_LEVEL','KEY_TEST_FAILURE_REASON','test_uuid','KIND_LOG','KEY_TEST_RERUN_NAME','452SDoQBq','platform_index','hook_result','KEY_LOGS','KEY_TEST_LOCATION','16ugFvoo','exports','test_hook_last_finished','KEY_AUTOMATE_SESSION_STATUS','KEY_EVENT_ENDED_AT','test_session_name','test_scopes','KEY_HOOKS_FINISHED','KEY_TEST_RESULT_AT','test_logs','hook_failure_reason','1835LmKnyn','1106370NIuJpk','custom_metadata','test_meta','KEY_TEST_FAILURE','hook_logs','pending','hook_failure','test_rerun_name','KIND_SCREENSHOT','KEY_TEST_ID','KEY_HOOK_RESULT','KEY_EVENT_STARTED_AT','7324713IKQRIC','test_framework_version','1518503XTapSC','file_path','KEY_TEST_UUID','KEY_TEST_FRAMEWORK_VERSION','test_result','KEY_TEST_SCOPES','automate_session_name','DEFAULT_TEST_RESULT','KEY_FILE_SIZE','hook_failure_type','test_location','KEY_TEST_SCOPE','795240ipMXYS','hook_name','test_hook_last_started','KEY_HOOK_FAILURE','KEY_SESSION_NAME','event_ended_at','KEY_TEST_RETRY_OF','KEY_HOOK_NAME','KEY_HOOKS_STARTED','KEY_PLATFORM_INDEX','KEY_AUTOMATE_SESSION_REASON','KEY_FILE_NAME','KEY_TEST_STARTED_AT','KEY_TEST_FILE_PATH','DEFAULT_HOOK_RESULT','retry_of','file_level','KEY_TEST_FAILURE_TYPE','30GHEWmJ','766qrnUIB','6610131zXVMdM','KEY_FILE_PATH','test_tags','KEY_HOOK_ID'];a69_0x5c83=function(){return _0x2dcedc;};return a69_0x5c83();}a69_0x2fdd84[a69_0x1ea77d(0x10d)]=a69_0x1ea77d(0xe9),a69_0x2fdd84[a69_0x1ea77d(0x106)]='test_id',a69_0x2fdd84['KEY_TEST_NAME']=a69_0x1ea77d(0x135),a69_0x2fdd84[a69_0x1ea77d(0x124)]='test_file_path',a69_0x2fdd84['KEY_TEST_TAGS']=a69_0x1ea77d(0x12d),a69_0x2fdd84[a69_0x1ea77d(0x138)]=a69_0x1ea77d(0x10f),a69_0x2fdd84[a69_0x1ea77d(0xf9)]=a69_0x1ea77d(0xe0),a69_0x2fdd84[a69_0x1ea77d(0x123)]='test_started_at',a69_0x2fdd84['KEY_TEST_ENDED_AT']=a69_0x1ea77d(0x130),a69_0x2fdd84[a69_0x1ea77d(0xf0)]=a69_0x1ea77d(0x115),a69_0x2fdd84[a69_0x1ea77d(0x116)]='test_scope',a69_0x2fdd84[a69_0x1ea77d(0x110)]=a69_0x1ea77d(0xf7),a69_0x2fdd84['KEY_TEST_FRAMEWORK_NAME']=a69_0x1ea77d(0x12f),a69_0x2fdd84[a69_0x1ea77d(0x10e)]=a69_0x1ea77d(0x10a),a69_0x2fdd84[a69_0x1ea77d(0xe2)]='test_code',a69_0x2fdd84[a69_0x1ea77d(0xeb)]=a69_0x1ea77d(0x104),a69_0x2fdd84[a69_0x1ea77d(0x11d)]=a69_0x1ea77d(0x126),a69_0x2fdd84[a69_0x1ea77d(0x120)]=a69_0x1ea77d(0xed),a69_0x2fdd84[a69_0x1ea77d(0x100)]=a69_0x1ea77d(0x134),a69_0x2fdd84[a69_0x1ea77d(0x128)]='test_failure_type',a69_0x2fdd84[a69_0x1ea77d(0xe8)]='test_failure_reason',a69_0x2fdd84['KEY_TEST_LOGS']=a69_0x1ea77d(0xfa),a69_0x2fdd84[a69_0x1ea77d(0x133)]=a69_0x1ea77d(0xff),a69_0x2fdd84[a69_0x1ea77d(0x11b)]=a69_0x1ea77d(0xf6),a69_0x2fdd84['KEY_AUTOMATE_SESSION_NAME']=a69_0x1ea77d(0x111),a69_0x2fdd84[a69_0x1ea77d(0xf4)]=a69_0x1ea77d(0x137),a69_0x2fdd84[a69_0x1ea77d(0x121)]='automate_session_reason',a69_0x2fdd84[a69_0x1ea77d(0x108)]='event_started_at',a69_0x2fdd84[a69_0x1ea77d(0xf5)]=a69_0x1ea77d(0x11c),a69_0x2fdd84[a69_0x1ea77d(0x12e)]=a69_0x1ea77d(0xe3),a69_0x2fdd84[a69_0x1ea77d(0x107)]=a69_0x1ea77d(0xee),a69_0x2fdd84[a69_0x1ea77d(0xe1)]=a69_0x1ea77d(0x114),a69_0x2fdd84['KEY_HOOK_FAILURE_REASON']=a69_0x1ea77d(0xfb),a69_0x2fdd84[a69_0x1ea77d(0x11a)]=a69_0x1ea77d(0x103),a69_0x2fdd84[a69_0x1ea77d(0xe6)]=a69_0x1ea77d(0x101),a69_0x2fdd84[a69_0x1ea77d(0x11e)]=a69_0x1ea77d(0x118),a69_0x2fdd84[a69_0x1ea77d(0x112)]=a69_0x1ea77d(0x102),a69_0x2fdd84[a69_0x1ea77d(0x125)]=a69_0x1ea77d(0x102),a69_0x2fdd84[a69_0x1ea77d(0x105)]='TEST_SCREENSHOT',a69_0x2fdd84[a69_0x1ea77d(0xea)]='TEST_LOG',a69_0x2fdd84['HOOK_REGEX']=a69_0x1ea77d(0xe4),a69_0x2fdd84[a69_0x1ea77d(0x11f)]='test_hooks_started',a69_0x2fdd84[a69_0x1ea77d(0xf8)]='test_hooks_finished',a69_0x2fdd84[a69_0x1ea77d(0x136)]=a69_0x1ea77d(0x119),a69_0x2fdd84[a69_0x1ea77d(0x13a)]=a69_0x1ea77d(0xf3),a69_0x2fdd84[a69_0x1ea77d(0xef)]=a69_0x1ea77d(0x139),a69_0x2fdd84[a69_0x1ea77d(0x131)]=a69_0x1ea77d(0xfe),a69_0x2fdd84['KEY_TEST_ATTACHMENTS']='test_attachments',a69_0x2fdd84[a69_0x1ea77d(0x113)]=a69_0x1ea77d(0xe5),a69_0x2fdd84[a69_0x1ea77d(0x122)]='file_name',a69_0x2fdd84[a69_0x1ea77d(0x12c)]=a69_0x1ea77d(0x10c),a69_0x2fdd84[a69_0x1ea77d(0xe7)]=a69_0x1ea77d(0x127);const TestFrameworkConstants=a69_0x2fdd84;module[a69_0x1ea77d(0xf2)]=TestFrameworkConstants;
@@ -1 +1 @@
1
- const a70_0x47f1fa=a70_0x57ce;(function(_0xf0e14d,_0x3e6165){const _0x35d2ab=a70_0x57ce,_0x33c4ea=_0xf0e14d();while(!![]){try{const _0x50ee43=parseInt(_0x35d2ab(0x158))/0x1*(-parseInt(_0x35d2ab(0xe2))/0x2)+-parseInt(_0x35d2ab(0x103))/0x3*(-parseInt(_0x35d2ab(0x12a))/0x4)+-parseInt(_0x35d2ab(0x108))/0x5*(-parseInt(_0x35d2ab(0x163))/0x6)+-parseInt(_0x35d2ab(0x13f))/0x7*(-parseInt(_0x35d2ab(0x17d))/0x8)+-parseInt(_0x35d2ab(0x150))/0x9+-parseInt(_0x35d2ab(0x13b))/0xa*(parseInt(_0x35d2ab(0x15e))/0xb)+-parseInt(_0x35d2ab(0x16e))/0xc*(-parseInt(_0x35d2ab(0x15a))/0xd);if(_0x50ee43===_0x3e6165)break;else _0x33c4ea['push'](_0x33c4ea['shift']());}catch(_0x24a2ac){_0x33c4ea['push'](_0x33c4ea['shift']());}}}(a70_0x25a8,0xda25e));const TestFramework=require('./testFramework'),TestFrameworkState=require(a70_0x47f1fa(0x131)),HookState=require(a70_0x47f1fa(0xf3)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a70_0x47f1fa(0x110)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a70_0x47f1fa(0x144)),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),logger=createClassLogger(a70_0x47f1fa(0xcd)),{v4:uuidv4}=require(a70_0x47f1fa(0x183)),util=require('util'),TestInfo=require(a70_0x47f1fa(0xc5)),GrpcClient=require(a70_0x47f1fa(0x155));class CucumberTestFramework extends TestFramework{constructor(_0x3446a1,_0x23dd73,_0x421b08){super(_0x3446a1,_0x23dd73,_0x421b08);}async['trackEvent'](_0xd6d040,_0x809493,_0x101afd={}){const _0x52425f=a70_0x47f1fa,_0x1f65d2={};_0x1f65d2['qyDKS']='trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found',_0x1f65d2[_0x52425f(0xf9)]=function(_0x4e330d,_0x5e94b9){return _0x4e330d===_0x5e94b9;},_0x1f65d2[_0x52425f(0x11f)]=function(_0x299213,_0x33f80e){return _0x299213===_0x33f80e;},_0x1f65d2[_0x52425f(0x134)]=_0x52425f(0x18e);const _0x20e5f7=_0x1f65d2;await super[_0x52425f(0x173)](_0xd6d040,_0x809493,_0x101afd);const _0x3ebcfc=this[_0x52425f(0xd1)](_0xd6d040,_0x809493,_0x101afd);if(!_0x3ebcfc){logger[_0x52425f(0x14f)](_0x20e5f7['qyDKS']);return;}try{let _0x24b066,_0x53d25c;switch(_0xd6d040){case TestFrameworkState[_0x52425f(0xf2)]:_0x24b066=_0x101afd[_0x52425f(0xfa)],_0x53d25c=TestInfo[_0x52425f(0xcf)](_0x24b066['id']);if(_0x20e5f7[_0x52425f(0xf9)](_0x809493,HookState['PRE'])){logger[_0x52425f(0x14f)](_0x52425f(0xdd)+_0x24b066['id']);const _0x1b45bd={};_0x1b45bd['testUUID']=_0x53d25c,_0x1b45bd[_0x52425f(0x12c)]=_0x24b066,_0x3ebcfc['addMultipleEntries'](this[_0x52425f(0x115)](_0x1b45bd)),logger[_0x52425f(0x14f)](_0x52425f(0x175)+_0x24b066['id']),await this[_0x52425f(0xc9)](_0x3ebcfc,_0x24b066['id']);}else{if(_0x20e5f7[_0x52425f(0xf9)](_0x809493,HookState[_0x52425f(0x187)])){const _0xe19a8a={};_0xe19a8a[_0x52425f(0x102)]=_0x53d25c,_0xe19a8a[_0x52425f(0x12c)]=_0x24b066,_0x3ebcfc[_0x52425f(0xfc)](this[_0x52425f(0x15b)](_0xe19a8a)),await this[_0x52425f(0xc9)](_0x3ebcfc,_0x24b066['id']);}}break;case TestFrameworkState[_0x52425f(0x14b)]:_0x20e5f7[_0x52425f(0x11f)](_0x809493,HookState[_0x52425f(0x187)])&&await this[_0x52425f(0x114)](_0x3ebcfc,_0xd6d040,_0x101afd);break;default:if(CLIUtils[_0x52425f(0x194)](_0xd6d040[_0x52425f(0x10e)]()[_0x52425f(0xd0)]('.')[0x1])){const _0xbe4a9f=await this['trackHookEvent'](_0x3ebcfc,_0xd6d040,_0x809493,_0x101afd);_0x3ebcfc[_0x52425f(0xfc)](_0xbe4a9f);}else logger[_0x52425f(0x14f)](_0x52425f(0x17e)+_0xd6d040+_0x52425f(0x18b)+_0x809493);break;}}catch(_0x12b774){logger[_0x52425f(0xce)](util[_0x52425f(0x128)](_0x20e5f7[_0x52425f(0x134)],_0xd6d040,_0x809493,_0x101afd['length'],_0x12b774));}_0x101afd[_0x52425f(0xe3)]=_0x3ebcfc,await this[_0x52425f(0x17b)](_0x3ebcfc,_0xd6d040,_0x809493,_0x101afd);}[a70_0x47f1fa(0xd1)](_0x213dbf,_0x17698e,_0x32a73b={}){const _0x1ad91f=a70_0x47f1fa,_0x151bef={};_0x151bef['EgAkF']=function(_0x2a96c4,_0x17593e){return _0x2a96c4===_0x17593e;},_0x151bef[_0x1ad91f(0x17c)]=function(_0x5a75cc,_0x1ca1cf){return _0x5a75cc===_0x1ca1cf;};const _0x3f02d6=_0x151bef;let _0x44ed20=null;return(_0x3f02d6[_0x1ad91f(0xdc)](_0x213dbf,TestFrameworkState[_0x1ad91f(0x14d)])||_0x3f02d6['VEUVC'](_0x213dbf,TestFrameworkState[_0x1ad91f(0xd4)]))&&this[_0x1ad91f(0x185)](_0x213dbf,_0x32a73b),_0x44ed20=TestFramework['getTrackedInstance'](),_0x44ed20;}['trackCucumberInstance'](_0x50b555,_0x5ca16c){const _0x3b5ec6=a70_0x47f1fa,_0x3fbfe6=CLIUtils['getCurrentInstanceName'](),_0x2d849d=TrackedInstance[_0x3b5ec6(0x120)](_0x3fbfe6);let _0x3c2433=null;logger['debug'](_0x3b5ec6(0xe0)+_0x3fbfe6+_0x3b5ec6(0x182)+_0x50b555),_0x3c2433=new TestFrameworkInstance(_0x2d849d,this['getTestFrameworks'](),this['getTestFrameworksVersions'](),_0x50b555,HookState[_0x3b5ec6(0xd4)]),TestFramework[_0x3b5ec6(0x135)](_0x2d849d,_0x3c2433),logger[_0x3b5ec6(0x14f)]('trackCucumberInstance:\x20saved\x20instance\x20contextId='+_0x2d849d[_0x3b5ec6(0x13c)]()+_0x3b5ec6(0xd5)+_0x3fbfe6);}[a70_0x47f1fa(0x115)](_0x41efe0){const _0x237066=a70_0x47f1fa,_0x5787d5={};_0x5787d5[_0x237066(0xf1)]=_0x237066(0x172);const _0x37d628=_0x5787d5,{testUUID:_0x3fb670,testData:_0x221b70}=_0x41efe0;if(!_0x221b70||!_0x221b70[_0x237066(0x183)])return logger['debug'](_0x37d628[_0x237066(0xf1)]),{};const _0x381ccf=_0x3fb670,_0x46a8b8=_0x221b70[_0x237066(0x183)],_0x66819f=this[_0x237066(0x107)]()[0x0],_0x28430f=this[_0x237066(0xd2)](),_0x103e4c={[TestFrameworkConstants[_0x237066(0xf8)]]:_0x66819f,[TestFrameworkConstants[_0x237066(0xc4)]]:_0x28430f[_0x66819f],[TestFrameworkConstants[_0x237066(0x123)]]:[],[TestFrameworkConstants[_0x237066(0x16a)]]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants[_0x237066(0x11a)]]:_0x381ccf,[TestFrameworkConstants[_0x237066(0x136)]]:TestFrameworkConstants[_0x237066(0xdf)],[TestFrameworkConstants[_0x237066(0x105)]]:_0x221b70['name']||'',[TestFrameworkConstants[_0x237066(0x127)]]:_0x221b70['file_name']||'',[TestFrameworkConstants['KEY_TEST_ID']]:_0x46a8b8,[TestFrameworkConstants[_0x237066(0x197)]]:_0x221b70[_0x237066(0x15f)]||'',[TestFrameworkConstants[_0x237066(0x121)]]:_0x221b70[_0x237066(0x178)]||'',[TestFrameworkConstants[_0x237066(0x130)]]:_0x221b70[_0x237066(0x161)]?.[_0x237066(0x189)]||null,[TestFrameworkConstants[_0x237066(0x119)]]:_0x221b70[_0x237066(0x140)]||[],[TestFrameworkConstants[_0x237066(0x177)]]:_0x221b70[_0x237066(0xf7)]||new Date()['toISOString'](),[TestFrameworkConstants[_0x237066(0xea)]]:_0x221b70[_0x237066(0x14a)]?.[0x0]||'',[TestFrameworkConstants[_0x237066(0x137)]]:_0x221b70[_0x237066(0x14a)]||[],[TestFrameworkConstants[_0x237066(0xc2)]]:_0x221b70['customRerunParam']?.['rerun_name']||_0x221b70['name']||'',[TestFrameworkConstants[_0x237066(0x198)]]:{},[TestFrameworkConstants['KEY_TEST_META']]:_0x221b70[_0x237066(0x166)]||{}};TestInfo['setTestDetails'](_0x46a8b8,_0x103e4c),logger[_0x237066(0x14f)]('Parsed\x20cucumber\x20test:\x20'+_0x221b70[_0x237066(0x15f)]+_0x237066(0xfb)+_0x381ccf);const _0xe967c6={};return _0xe967c6[_0x46a8b8]=_0x103e4c,_0xe967c6;}[a70_0x47f1fa(0x15b)](_0x5dea46){const _0x471100=a70_0x47f1fa,_0x377dd3={'wPscO':_0x471100(0x168),'egTmV':'unknown','QcHiy':function(_0x4d2444,_0x10c150){return _0x4d2444===_0x10c150;},'VqtjM':_0x471100(0x112),'DpWls':_0x471100(0x16f),'VbifW':function(_0x125af3,_0x2fcfa1,_0x36ff48){return _0x125af3(_0x2fcfa1,_0x36ff48);},'rqnYr':function(_0x355ea0,_0x261b28){return _0x355ea0>_0x261b28;},'qNeZm':function(_0x14dcde,_0x56e36c){return _0x14dcde>_0x56e36c;}},{testUUID:_0x2cf2f0,testData:_0x24e9c9}=_0x5dea46;if(!_0x24e9c9||!_0x24e9c9['uuid'])return logger[_0x471100(0x14f)](_0x377dd3['wPscO']),{};const _0x2e7194=this['resolveInstance'](TestFrameworkState['TEST'],HookState['POST']),_0x1f5f95=_0x24e9c9[_0x471100(0x183)],_0x17c05b=TestInfo[_0x471100(0x18f)](_0x1f5f95)||{},_0x127123=_0x17c05b?_0x17c05b[TestFrameworkConstants[_0x471100(0x198)]]||{}:{},_0x17db41={..._0x17c05b,[TestFrameworkConstants[_0x471100(0x136)]]:_0x24e9c9[_0x471100(0x13a)]||_0x377dd3[_0x471100(0x10f)],[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x24e9c9[_0x471100(0x18c)]||new Date()[_0x471100(0x145)](),[TestFrameworkConstants[_0x471100(0xda)]]:new Date()[_0x471100(0x145)](),[TestFrameworkConstants[_0x471100(0x198)]]:_0x127123,[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x471100(0x196)]]:_0x24e9c9[_0x471100(0x166)]||{}};_0x377dd3['QcHiy'](_0x24e9c9['result'],_0x377dd3[_0x471100(0x146)])&&_0x24e9c9[_0x471100(0x10a)]&&(_0x17db41[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]=_0x24e9c9[_0x471100(0x174)]||_0x377dd3[_0x471100(0x14e)],_0x17db41[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]=_0x24e9c9[_0x471100(0x167)]||'',_0x17db41[TestFrameworkConstants[_0x471100(0x18a)]]=_0x24e9c9['failure']);const _0xe57020=TestInfo[_0x471100(0x18f)](_0x1f5f95)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x265292=_0x377dd3[_0x471100(0x142)](getManualUploadLogs,_0xe57020,_0x2e7194[_0x471100(0xd8)]()[_0x471100(0x179)](_0x1f5f95)[TestFrameworkConstants[_0x471100(0x11a)]]);if(_0x377dd3['rqnYr'](_0x265292['length'],0x0)){const _0x280c02=_0x17db41[TestFrameworkConstants[_0x471100(0xed)]]||[];_0x17db41[TestFrameworkConstants[_0x471100(0xed)]]=[..._0x280c02,..._0x265292];}_0x24e9c9[_0x471100(0x116)]&&_0x377dd3[_0x471100(0xd9)](_0x24e9c9[_0x471100(0x116)][_0x471100(0x157)],0x0)&&(_0x17db41[TestFrameworkConstants[_0x471100(0x16a)]]=_0x24e9c9[_0x471100(0x116)]);TestInfo[_0x471100(0x16b)](_0x1f5f95,_0x17db41),logger[_0x471100(0x14f)](_0x471100(0x143)+_0x24e9c9['name']+'\x20with\x20result:\x20'+_0x24e9c9[_0x471100(0x13a)]);const _0x141b11={};return _0x141b11[_0x1f5f95]=_0x17db41,_0x141b11;}async[a70_0x47f1fa(0x17a)](_0x35c154,_0x23b97d,_0x11f4a5,_0x36181e){const _0x13b80b=a70_0x47f1fa,_0x2cda1e={'VVlZs':_0x13b80b(0x180),'EQLbz':function(_0x4fef5b){return _0x4fef5b();},'nbttS':function(_0x3bf9e5,_0x497e0a){return _0x3bf9e5 in _0x497e0a;},'lkAKV':function(_0x27da72,_0x1c8cb2){return _0x27da72 in _0x1c8cb2;},'hFOWS':function(_0x36f79f,_0x3d191a){return _0x36f79f===_0x3d191a;},'xEWDi':function(_0x28a645,_0x150f98){return _0x28a645>_0x150f98;},'TlhFu':_0x13b80b(0x112),'GTYIN':_0x13b80b(0x16f),'xZmUN':_0x13b80b(0x13e),'yDVza':function(_0x2e849b,_0x1f6da5){return _0x2e849b!==_0x1f6da5;}},{hookData:_0x2dc0dc}=_0x36181e;if(!_0x2dc0dc)return logger[_0x13b80b(0x14f)](_0x2cda1e[_0x13b80b(0x170)]),{};const _0x1ea3f8=_0x2dc0dc[_0x13b80b(0x183)]||_0x2cda1e['EQLbz'](uuidv4),_0x3e20c4=_0x2dc0dc['test_run_id'],_0x1852b2=_0x23b97d['toString']()[_0x13b80b(0xd0)]('.')[0x1],_0x4cce82=TestInfo['getTestDetails'](_0x3e20c4)[TestFrameworkConstants[_0x13b80b(0x198)]]||{},_0x49d1a9=_0x35c154[_0x13b80b(0xd8)]()['get'](_0x3e20c4);if(!_0x49d1a9)return logger['debug']('No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x3e20c4+_0x13b80b(0x184)),this[_0x13b80b(0x10b)](_0x35c154,_0x3e20c4,_0x23b97d,_0x11f4a5,_0x36181e),{};let _0x12aeac=_0x49d1a9[TestFrameworkConstants[_0x13b80b(0xd7)]];!_0x12aeac&&(_0x12aeac={});!_0x2cda1e[_0x13b80b(0xff)](_0x1852b2,_0x12aeac)&&(_0x12aeac[_0x1852b2]=[]);let _0x25599c=_0x49d1a9[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x25599c&&(_0x25599c={});!_0x2cda1e[_0x13b80b(0x12f)](_0x1852b2,_0x25599c)&&(_0x25599c[_0x1852b2]=[]);const _0x233fca={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x12aeac,[TestFrameworkConstants[_0x13b80b(0x16a)]]:_0x25599c},_0x2ec838={};_0x2ec838[_0x3e20c4]=_0x233fca;const _0x5e4799=_0x2ec838;if(_0x2cda1e[_0x13b80b(0x171)](_0x11f4a5,HookState['PRE'])){const _0x430cde={[TestFrameworkConstants['KEY_HOOK_ID']]:_0x1ea3f8,[TestFrameworkConstants[_0x13b80b(0x188)]]:TestFrameworkConstants[_0x13b80b(0x129)],[TestFrameworkConstants[_0x13b80b(0xe9)]]:_0x2dc0dc[_0x13b80b(0x13d)],[TestFrameworkConstants[_0x13b80b(0x104)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x2dc0dc[_0x13b80b(0x164)],[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x4cce82};_0x430cde[_0x13b80b(0xe6)]=_0x1852b2;const _0x637547=_0x430cde;_0x12aeac[_0x1852b2][_0x13b80b(0x149)](_0x637547),_0x5e4799[_0x3e20c4][TestFrameworkConstants[_0x13b80b(0xf4)]]=_0x1852b2,logger[_0x13b80b(0x14f)](_0x13b80b(0x154)+_0x1852b2+_0x13b80b(0x160)+_0x637547+'\x20\x20and\x20args\x20=\x20'+_0x36181e);}else{if(_0x2cda1e[_0x13b80b(0x171)](_0x11f4a5,HookState[_0x13b80b(0x187)])){const _0x385772=_0x2dc0dc[_0x13b80b(0x13a)],_0x158cce=_0x12aeac[_0x1852b2]||[];logger[_0x13b80b(0x14f)](_0x13b80b(0x126)+_0x158cce+_0x13b80b(0xd3)+_0x36181e);if(_0x2cda1e[_0x13b80b(0x193)](_0x158cce[_0x13b80b(0x157)],0x0)){const _0x1887c9=_0x158cce[_0x13b80b(0x10d)]();_0x2cda1e[_0x13b80b(0x171)](_0x2dc0dc[_0x13b80b(0x13a)],_0x2cda1e[_0x13b80b(0x16d)])&&_0x2dc0dc[_0x13b80b(0x148)]?(_0x1887c9[TestFrameworkConstants[_0x13b80b(0x141)]]=_0x2dc0dc[_0x13b80b(0x174)]||_0x2cda1e[_0x13b80b(0x195)],_0x1887c9[TestFrameworkConstants[_0x13b80b(0xec)]]=_0x2dc0dc[_0x13b80b(0x167)]||'',_0x1887c9[TestFrameworkConstants[_0x13b80b(0xe8)]]=_0x2dc0dc[_0x13b80b(0x148)]):_0x1887c9[TestFrameworkConstants[_0x13b80b(0x188)]]=_0x2cda1e[_0x13b80b(0x133)];_0x2cda1e[_0x13b80b(0x15d)](_0x385772,TestFrameworkConstants[_0x13b80b(0x129)])&&(_0x1887c9[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x385772);_0x1887c9[TestFrameworkConstants[_0x13b80b(0x17f)]]=_0x2dc0dc[_0x13b80b(0x14c)]||new Date()['toISOString'](),_0x1887c9[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x4cce82;const _0x2a6c7a=_0x1887c9[TestFrameworkConstants[_0x13b80b(0x139)]];!_0x25599c[_0x1852b2]&&(_0x25599c[_0x1852b2]=[]),_0x25599c[_0x1852b2]['push'](_0x1887c9),_0x5e4799[_0x3e20c4][TestFrameworkConstants[_0x13b80b(0x11b)]]=_0x1852b2;}}}return logger[_0x13b80b(0x14f)](_0x13b80b(0x186)+_0x2dc0dc['hook_type']+_0x13b80b(0xc8)+_0x1ea3f8+_0x13b80b(0xc3)+_0x3e20c4),_0x5e4799;}[a70_0x47f1fa(0x191)](_0x50d725){const _0x2fe77b=a70_0x47f1fa,_0x5a1664={};_0x5a1664['ZWXSy']=_0x2fe77b(0x118);const _0x4cf521=_0x5a1664;try{const _0x9def35=_0x50d725[_0x2fe77b(0xfa)]?_0x50d725[_0x2fe77b(0xfa)]['id']:_0x50d725[_0x2fe77b(0xe5)][_0x2fe77b(0xde)],_0x570822=_0x50d725[_0x2fe77b(0xe3)],_0x378a68=_0x570822[_0x2fe77b(0x122)](),_0x479e5b=_0x570822[_0x2fe77b(0xd8)]()[_0x2fe77b(0x179)](_0x9def35);if(!_0x479e5b)return logger[_0x2fe77b(0x14f)](_0x2fe77b(0x15c)+_0x9def35),{};logger[_0x2fe77b(0x14f)]('createTestFrameworkEventPayload\x20testId:\x20'+_0x9def35);const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x497859='',[TestFrameworkConstants[_0x2fe77b(0xc4)]]:_0x544fef='',[TestFrameworkConstants[_0x2fe77b(0x177)]]:_0x5d8476='',[TestFrameworkConstants[_0x2fe77b(0x169)]]:_0x2c1a29=''}=_0x479e5b,_0x58b139=_0x570822[_0x2fe77b(0xf0)]()[_0x2fe77b(0x10e)]()[_0x2fe77b(0xd0)]('.')[0x1],_0x2a2805=_0x570822[_0x2fe77b(0xfd)]()['toString']()[_0x2fe77b(0xd0)]('.')[0x1],_0x5254ac=global?.['__workerDetails']?.[_0x2fe77b(0x147)]?.[_0x2fe77b(0x132)],_0x5ccdd4=_0x570822[_0x2fe77b(0x101)](),_0x4dee29=Buffer['from'](JSON['stringify'](_0x479e5b))[_0x2fe77b(0x10e)](_0x4cf521[_0x2fe77b(0x11e)]),_0x488e5f={'hash':_0x378a68[_0x2fe77b(0x13c)](),'threadId':_0x378a68[_0x2fe77b(0x176)]()[_0x2fe77b(0x10e)](),'processId':_0x378a68[_0x2fe77b(0x159)]()[_0x2fe77b(0x10e)]()},_0x173fad={};_0x173fad['platformIndex']=_0x5254ac,_0x173fad[_0x2fe77b(0xf6)]=_0x497859,_0x173fad[_0x2fe77b(0xf5)]=_0x544fef,_0x173fad[_0x2fe77b(0xe7)]=_0x58b139,_0x173fad[_0x2fe77b(0x192)]=_0x2a2805,_0x173fad['startedAt']=_0x5d8476,_0x173fad[_0x2fe77b(0x113)]=_0x2c1a29,_0x173fad[_0x2fe77b(0x183)]=_0x5ccdd4,_0x173fad[_0x2fe77b(0x125)]=_0x4dee29,_0x173fad['executionContext']=_0x488e5f;const _0x2a8e67=_0x173fad;return logger[_0x2fe77b(0x14f)](_0x2fe77b(0xe1)+_0x9def35+_0x2fe77b(0xe4)+_0x58b139+_0x2fe77b(0xc6)+_0x2a2805),_0x2a8e67;}catch(_0x209e7d){return logger[_0x2fe77b(0xce)](_0x2fe77b(0x109)+util['format'](_0x209e7d)),{};}}async[a70_0x47f1fa(0x114)](_0x529f15,_0x18b413,_0x3d7b03){const _0xbc7fbe=a70_0x47f1fa,_0x5f11ea={'SjQBZ':function(_0x391c8f,_0x312a89,_0xb1713e){return _0x391c8f(_0x312a89,_0xb1713e);},'ivDNj':function(_0x42c9fd,_0x3ec7bf){return _0x42c9fd===_0x3ec7bf;},'nHMEu':_0xbc7fbe(0xca),'fQEip':function(_0x39caf7,_0xc3d687){return _0x39caf7/_0xc3d687;},'wVirb':function(_0x4c9653,_0xc613a5){return _0x4c9653<_0xc613a5;},'VYINu':function(_0x232b2e,_0x2235cd){return _0x232b2e*_0x2235cd;},'SvVCF':function(_0x6adced,_0x7c1cb3){return _0x6adced+_0x7c1cb3;},'sMnCU':function(_0x1cd3df,_0x142c5c){return _0x1cd3df+_0x142c5c;},'elAsX':_0xbc7fbe(0xc7)};try{const _0x1536a0=_0x3d7b03[_0xbc7fbe(0x102)],_0x2f9de7=_0x529f15[_0xbc7fbe(0xd8)]()[_0xbc7fbe(0x179)](_0x1536a0),{[TestFrameworkConstants[_0xbc7fbe(0xf8)]]:_0x4158b0='',[TestFrameworkConstants[_0xbc7fbe(0xc4)]]:_0x4c2a8a=''}=_0x2f9de7,_0x318a9f=TestInfo[_0xbc7fbe(0x165)](_0x1536a0),_0x434eef=TestInfo[_0xbc7fbe(0x18f)](_0x1536a0)[TestFrameworkConstants[_0xbc7fbe(0x190)]]||{},_0x40c03a=_0x5f11ea[_0xbc7fbe(0x153)](getMediaArtifactsLogs,_0x434eef,_0x529f15[_0xbc7fbe(0xd8)]()[_0xbc7fbe(0x179)](_0x1536a0)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x5ed259=(_0x318a9f||[])[_0xbc7fbe(0x11d)](_0x40c03a||[]);if(!_0x5ed259||_0x5f11ea[_0xbc7fbe(0xd6)](_0x5ed259['length'],0x0)){logger[_0xbc7fbe(0x14f)](_0x5f11ea[_0xbc7fbe(0x152)]);return;}const _0x2a161b=0x28,_0x1f42d1=Math['ceil'](_0x5f11ea[_0xbc7fbe(0xcc)](_0x5ed259[_0xbc7fbe(0x157)],_0x2a161b));for(let _0x4f666e=0x0;_0x5f11ea['wVirb'](_0x4f666e,_0x1f42d1);_0x4f666e++){const _0x10a578=_0x5f11ea['VYINu'](_0x4f666e,_0x2a161b),_0x11f214=_0x5f11ea[_0xbc7fbe(0x156)](_0x10a578,_0x2a161b),_0x2b78bd=_0x5ed259[_0xbc7fbe(0x124)](_0x10a578,_0x11f214),_0x2ad841={'platformIndex':'0','logs':_0x2b78bd,'testFrameworkName':_0x4158b0,'testFrameworkVersion':_0x4c2a8a,'testFrameworkState':_0x18b413[_0xbc7fbe(0x10e)]()[_0xbc7fbe(0xd0)]('.')[0x1]};logger[_0xbc7fbe(0x14f)](_0xbc7fbe(0xee)+_0x1536a0+_0xbc7fbe(0xeb)+_0x5f11ea[_0xbc7fbe(0x156)](_0x4f666e,0x1)+'/'+_0x1f42d1+_0xbc7fbe(0x100)+util[_0xbc7fbe(0x16c)](_0x2ad841));const _0x5afa73=await GrpcClient[_0xbc7fbe(0x12b)]()[_0xbc7fbe(0x18d)](_0x2ad841);logger['debug'](_0xbc7fbe(0xee)+_0x1536a0+_0xbc7fbe(0xeb)+_0x5f11ea[_0xbc7fbe(0x151)](_0x4f666e,0x1)+'/'+_0x1f42d1+_0xbc7fbe(0x111)+util['inspect'](_0x5afa73));}}catch(_0x18a4e8){logger[_0xbc7fbe(0xce)](_0xbc7fbe(0x117)+util[_0xbc7fbe(0x128)](_0x18a4e8));}logger[_0xbc7fbe(0x14f)](_0x5f11ea[_0xbc7fbe(0xfe)]);}[a70_0x47f1fa(0x10b)](_0x28d810,_0x569500,_0x1a3c02,_0x86d4e8,_0x5ba5df){const _0x10fa89=a70_0x47f1fa,_0x4cb7a4={'testId':_0x569500,'testFrameworkState':_0x1a3c02,'hookState':_0x86d4e8,'args':_0x5ba5df,'timestamp':new Date()[_0x10fa89(0x145)]()};_0x28d810[_0x10fa89(0x162)](_0x569500,_0x4cb7a4),logger[_0x10fa89(0x14f)](_0x10fa89(0x106)+_0x569500+',\x20state:\x20'+_0x1a3c02+_0x10fa89(0x12d)+_0x86d4e8);}async['processPendingHooks'](_0x504955,_0x41eb11){const _0x1f22d9=a70_0x47f1fa,_0x28587b={};_0x28587b[_0x1f22d9(0x10c)]=function(_0x9eca38,_0x4c93da){return _0x9eca38>_0x4c93da;};const _0x5d78be=_0x28587b;if(!_0x504955['hasPendingHooks'](_0x41eb11))return;const _0x3611f5=_0x504955[_0x1f22d9(0x181)](_0x41eb11);logger['debug'](_0x1f22d9(0x11c)+_0x3611f5[_0x1f22d9(0x157)]+_0x1f22d9(0xcb)+_0x41eb11);for(const _0xbb10aa of _0x3611f5){try{const _0x247866=await this[_0x1f22d9(0x17a)](_0x504955,_0xbb10aa['testFrameworkState'],_0xbb10aa[_0x1f22d9(0x192)],_0xbb10aa['args']);_0x247866&&_0x5d78be[_0x1f22d9(0x10c)](Object[_0x1f22d9(0xdb)](_0x247866)['length'],0x0)&&_0x504955[_0x1f22d9(0xfc)](_0x247866),await this[_0x1f22d9(0x17b)](_0x504955,_0xbb10aa[_0x1f22d9(0xe7)],_0xbb10aa[_0x1f22d9(0x192)],_0xbb10aa['args']);}catch(_0x4037dc){logger[_0x1f22d9(0xce)](_0x1f22d9(0x138)+_0x41eb11+_0x1f22d9(0x12e)+_0x4037dc);}}_0x504955['removePendingHooks'](_0x41eb11),logger['debug']('Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20'+_0x41eb11);}}function a70_0x25a8(){const _0x1daf41=['exports','getCurrentTestState','HtCTT','TEST','../state/hookState.js','KEY_HOOK_LAST_STARTED','testFrameworkVersion','testFrameworkName','startedAt','KEY_TEST_FRAMEWORK_NAME','gJffM','test','\x20with\x20UUID:\x20','addMultipleEntries','getCurrentHookState','elAsX','nbttS','\x20payload=','getRef','testUUID','682356HDGKHA','KEY_HOOK_LOGS','KEY_AUTOMATE_SESSION_NAME','Stored\x20pending\x20hook\x20for\x20testId:\x20','getTestFrameworks','40gkrZJI','Error\x20in\x20createTestFrameworkEventPayload:\x20','failure','storePendingHook','ATxXm','pop','toString','egTmV','../instances/testFrameworkInstance.js','\x20response=','failed','endedAt','sendLogCreatedEvent','parseCucumberTest','hooks','sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20','base64','KEY_TEST_TAGS','KEY_TEST_UUID','KEY_HOOK_LAST_FINISHED','Processing\x20','concat','ZWXSy','LhwAb','createContext','KEY_TEST_LOCATION','getContext','KEY_TEST_LOGS','slice','eventJson','trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20','KEY_TEST_FILE_PATH','format','DEFAULT_HOOK_RESULT','4qtYXKr','getInstance','testData',',\x20hookState:\x20',',\x20error:\x20','lkAKV','KEY_TEST_CODE','../state/testFrameworkState.js','parallelIndex','xZmUN','VItri','setTrackedInstance','KEY_TEST_RESULT','KEY_TEST_SCOPES','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','KEY_HOOK_ID','result','109730HdZOmW','getId','started_at','passed','9072259AAWaMi','tags','KEY_HOOK_FAILURE_TYPE','VbifW','Updated\x20cucumber\x20test\x20result:\x20','./constants/testFrameworkConstants.js','toISOString','VqtjM','workerInfo','failure_data','push','scopes','LOG_REPORT','finished_at','INIT_TEST','DpWls','debug','4607370OwAvRH','sMnCU','nHMEu','SjQBZ','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','../grpcClient','SvVCF','length','1kQLrFu','getProcessId','208mCHQUw','parseCucumberTestResult','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','yDVza','473ElPLet','name','\x20&\x20hook\x20=\x20','body','addPendingHook','1005588PrpcvW','hook_type','readLogObjects','meta','failure_reason','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','KEY_TEST_ENDED_AT','KEY_HOOKS_FINISHED','setTestDetails','inspect','TlhFu','186780dWmDmw','UnhandledError','VVlZs','hFOWS','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test','trackEvent','failure_type','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','getThreadId','KEY_TEST_STARTED_AT','location','get','trackHookEvent','runHooks','VEUVC','8TemSRX','trackEvent:\x20unsupported\x20testFrameworkState=','KEY_EVENT_ENDED_AT','No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','getPendingHooks',',\x20state=','uuid',',\x20storing\x20as\x20pending\x20hook','trackCucumberInstance','Tracked\x20cucumber\x20hook\x20event:\x20','POST','KEY_HOOK_RESULT','code','KEY_TEST_FAILURE','\x20&\x20hookState=','finishedAt','logCreatedEvent','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','getTestDetails','KEY_TEST_ATTACHMENTS','createTestFrameworkEventPayload','hookState','xEWDi','matchHookRegex','GTYIN','KEY_TEST_META','KEY_TEST_NAME','KEY_CUSTOM_TAGS','KEY_TEST_RERUN_NAME','\x20for\x20test:\x20','KEY_TEST_FRAMEWORK_VERSION','../TestInfo.js','\x20hookState:\x20','Cucumber\x20log\x20created\x20event','\x20with\x20id\x20','processPendingHooks','sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','\x20pending\x20hooks\x20for\x20testId:\x20','fQEip','CucumberTestFramework','error','getTestUUID','split','resolveInstance','getTestFrameworksVersions','\x20and\x20args\x20=\x20','NONE','\x20target=','ivDNj','KEY_HOOKS_STARTED','getAllData','qNeZm','KEY_TEST_RESULT_AT','keys','EgAkF','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','test_run_id','DEFAULT_TEST_RESULT','trackCucumberInstance:\x20created\x20instance\x20for\x20target=','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','2472020wEBioa','instance','\x20testState:\x20','hookData','key','testFrameworkState','KEY_HOOK_FAILURE','KEY_EVENT_STARTED_AT','KEY_TEST_SCOPE','\x20batch\x20','KEY_HOOK_FAILURE_REASON','KEY_LOGS','sendLogCreatedEvent:\x20for\x20testId:\x20'];a70_0x25a8=function(){return _0x1daf41;};return a70_0x25a8();}function a70_0x57ce(_0x2cace2,_0x9ffaf9){const _0x25a8a0=a70_0x25a8();return a70_0x57ce=function(_0x57cef2,_0x54f4bf){_0x57cef2=_0x57cef2-0xc2;let _0x2a7731=_0x25a8a0[_0x57cef2];return _0x2a7731;},a70_0x57ce(_0x2cace2,_0x9ffaf9);}module[a70_0x47f1fa(0xef)]=CucumberTestFramework;
1
+ function a70_0x3781(_0x200f52,_0x48921c){const _0x162f82=a70_0x162f();return a70_0x3781=function(_0x378160,_0x59717c){_0x378160=_0x378160-0x162;let _0x524cd9=_0x162f82[_0x378160];return _0x524cd9;},a70_0x3781(_0x200f52,_0x48921c);}const a70_0x2c28ae=a70_0x3781;(function(_0x2d406f,_0x3ec87d){const _0xe8e858=a70_0x3781,_0x8a4cf7=_0x2d406f();while(!![]){try{const _0x4f4932=parseInt(_0xe8e858(0x1a3))/0x1+-parseInt(_0xe8e858(0x1f9))/0x2*(parseInt(_0xe8e858(0x213))/0x3)+parseInt(_0xe8e858(0x16f))/0x4+-parseInt(_0xe8e858(0x19a))/0x5*(-parseInt(_0xe8e858(0x197))/0x6)+-parseInt(_0xe8e858(0x169))/0x7*(-parseInt(_0xe8e858(0x171))/0x8)+parseInt(_0xe8e858(0x22e))/0x9*(-parseInt(_0xe8e858(0x21f))/0xa)+-parseInt(_0xe8e858(0x1cb))/0xb;if(_0x4f4932===_0x3ec87d)break;else _0x8a4cf7['push'](_0x8a4cf7['shift']());}catch(_0x1aed14){_0x8a4cf7['push'](_0x8a4cf7['shift']());}}}(a70_0x162f,0xb1f3f));const TestFramework=require('./testFramework'),TestFrameworkState=require(a70_0x2c28ae(0x1a5)),HookState=require('../state/hookState.js'),{createClassLogger}=require(a70_0x2c28ae(0x194)),TestFrameworkInstance=require(a70_0x2c28ae(0x1eb)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a70_0x2c28ae(0x210)),TestFrameworkConstants=require(a70_0x2c28ae(0x1f2)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a70_0x2c28ae(0x215)),logger=createClassLogger('CucumberTestFramework'),{v4:uuidv4}=require(a70_0x2c28ae(0x184)),util=require(a70_0x2c28ae(0x205)),TestInfo=require(a70_0x2c28ae(0x168)),GrpcClient=require(a70_0x2c28ae(0x1c1));class CucumberTestFramework extends TestFramework{constructor(_0x6caaed,_0x742a5e,_0x2a367d){super(_0x6caaed,_0x742a5e,_0x2a367d);}async[a70_0x2c28ae(0x186)](_0x81a2ac,_0x101d2f,_0x15a986={}){const _0x4a8bbd=a70_0x2c28ae,_0x94e16e={};_0x94e16e['mgzgw']=_0x4a8bbd(0x1e7),_0x94e16e[_0x4a8bbd(0x21b)]=function(_0x51cd75,_0x16f7f9){return _0x51cd75===_0x16f7f9;},_0x94e16e[_0x4a8bbd(0x22c)]=function(_0x1095aa,_0x5c184a){return _0x1095aa===_0x5c184a;},_0x94e16e[_0x4a8bbd(0x173)]='trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s';const _0x216c4a=_0x94e16e;await super[_0x4a8bbd(0x186)](_0x81a2ac,_0x101d2f,_0x15a986);const _0x286a2d=this[_0x4a8bbd(0x19b)](_0x81a2ac,_0x101d2f,_0x15a986);if(!_0x286a2d){logger[_0x4a8bbd(0x17a)](_0x216c4a[_0x4a8bbd(0x1bd)]);return;}try{let _0x20f794,_0x4126bf;switch(_0x81a2ac){case TestFrameworkState[_0x4a8bbd(0x183)]:_0x20f794=_0x15a986[_0x4a8bbd(0x1f7)],_0x4126bf=TestInfo[_0x4a8bbd(0x1f6)](_0x20f794['id']);if(_0x216c4a['VdKZm'](_0x101d2f,HookState[_0x4a8bbd(0x1d0)])){logger[_0x4a8bbd(0x17a)](_0x4a8bbd(0x19c)+_0x20f794['id']);const _0x437a52={};_0x437a52[_0x4a8bbd(0x1d8)]=_0x4126bf,_0x437a52[_0x4a8bbd(0x1c9)]=_0x20f794,_0x286a2d['addMultipleEntries'](this[_0x4a8bbd(0x1c2)](_0x437a52)),logger['debug'](_0x4a8bbd(0x224)+_0x20f794['id']),await this['processPendingHooks'](_0x286a2d,_0x20f794['id']);}else{if(_0x216c4a[_0x4a8bbd(0x21b)](_0x101d2f,HookState[_0x4a8bbd(0x196)])){const _0x496a28={};_0x496a28['testUUID']=_0x4126bf,_0x496a28[_0x4a8bbd(0x1c9)]=_0x20f794,_0x286a2d[_0x4a8bbd(0x162)](this[_0x4a8bbd(0x17b)](_0x496a28)),await this[_0x4a8bbd(0x1a9)](_0x286a2d,_0x20f794['id']);}}break;case TestFrameworkState['LOG_REPORT']:_0x216c4a[_0x4a8bbd(0x22c)](_0x101d2f,HookState['POST'])&&await this['sendLogCreatedEvent'](_0x286a2d,_0x81a2ac,_0x15a986);break;default:if(CLIUtils[_0x4a8bbd(0x225)](_0x81a2ac['toString']()[_0x4a8bbd(0x199)]('.')[0x1])){const _0xf75a0d=await this[_0x4a8bbd(0x1b7)](_0x286a2d,_0x81a2ac,_0x101d2f,_0x15a986);_0x286a2d[_0x4a8bbd(0x162)](_0xf75a0d);}else logger[_0x4a8bbd(0x17a)](_0x4a8bbd(0x1b9)+_0x81a2ac+_0x4a8bbd(0x1f8)+_0x101d2f);break;}}catch(_0x4ebbfb){logger[_0x4a8bbd(0x16c)](util[_0x4a8bbd(0x1a1)](_0x216c4a['kLOng'],_0x81a2ac,_0x101d2f,_0x15a986[_0x4a8bbd(0x20f)],_0x4ebbfb));}_0x15a986[_0x4a8bbd(0x1c8)]=_0x286a2d,await this['runHooks'](_0x286a2d,_0x81a2ac,_0x101d2f,_0x15a986);}['resolveInstance'](_0x2b8b6f,_0x462753,_0x13bb47={}){const _0x17c37a=a70_0x2c28ae,_0x1859e3={};_0x1859e3[_0x17c37a(0x1ff)]=function(_0x28c120,_0x531ed6){return _0x28c120===_0x531ed6;};const _0x3aac68=_0x1859e3;let _0x526f9a=null;return(_0x3aac68['SbOEe'](_0x2b8b6f,TestFrameworkState['INIT_TEST'])||_0x3aac68[_0x17c37a(0x1ff)](_0x2b8b6f,TestFrameworkState[_0x17c37a(0x1da)]))&&this[_0x17c37a(0x170)](_0x2b8b6f,_0x13bb47),_0x526f9a=TestFramework[_0x17c37a(0x191)](),_0x526f9a;}[a70_0x2c28ae(0x170)](_0xa3437c,_0x37fbde){const _0x1b588b=a70_0x2c28ae,_0x391778=CLIUtils[_0x1b588b(0x1bb)](),_0x2cfd16=TrackedInstance[_0x1b588b(0x1ac)](_0x391778);let _0x5734d6=null;logger[_0x1b588b(0x17a)](_0x1b588b(0x201)+_0x391778+_0x1b588b(0x1a7)+_0xa3437c),_0x5734d6=new TestFrameworkInstance(_0x2cfd16,this['getTestFrameworks'](),this[_0x1b588b(0x1de)](),_0xa3437c,HookState['NONE']),TestFramework[_0x1b588b(0x1d1)](_0x2cfd16,_0x5734d6),logger['debug'](_0x1b588b(0x1d6)+_0x2cfd16[_0x1b588b(0x20c)]()+_0x1b588b(0x176)+_0x391778);}[a70_0x2c28ae(0x1c2)](_0xd080b7){const _0x4b3969=a70_0x2c28ae,_0x149851={};_0x149851['QosPf']=_0x4b3969(0x190);const _0x1663d3=_0x149851,{testUUID:_0x203532,testData:_0x1e0bee}=_0xd080b7;if(!_0x1e0bee||!_0x1e0bee[_0x4b3969(0x184)])return logger[_0x4b3969(0x17a)](_0x1663d3[_0x4b3969(0x1a8)]),{};const _0x206107=_0x203532,_0xcee16a=_0x1e0bee[_0x4b3969(0x184)],_0x1436c5=this[_0x4b3969(0x1fc)]()[0x0],_0x1897f4=this[_0x4b3969(0x1de)](),_0x302f43={[TestFrameworkConstants[_0x4b3969(0x1e4)]]:_0x1436c5,[TestFrameworkConstants[_0x4b3969(0x209)]]:_0x1897f4[_0x1436c5],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0x4b3969(0x1f0)]]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants[_0x4b3969(0x1e5)]]:_0x206107,[TestFrameworkConstants[_0x4b3969(0x200)]]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0x4b3969(0x163)]]:_0x1e0bee[_0x4b3969(0x195)]||'',[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x1e0bee[_0x4b3969(0x228)]||'',[TestFrameworkConstants[_0x4b3969(0x1fa)]]:_0xcee16a,[TestFrameworkConstants[_0x4b3969(0x179)]]:_0x1e0bee[_0x4b3969(0x195)]||'',[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x1e0bee[_0x4b3969(0x202)]||'',[TestFrameworkConstants[_0x4b3969(0x1ad)]]:_0x1e0bee[_0x4b3969(0x22b)]?.['code']||null,[TestFrameworkConstants[_0x4b3969(0x1ba)]]:_0x1e0bee[_0x4b3969(0x18b)]||[],[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x1e0bee[_0x4b3969(0x1c5)]||new Date()[_0x4b3969(0x1e2)](),[TestFrameworkConstants[_0x4b3969(0x180)]]:_0x1e0bee[_0x4b3969(0x1bf)]?.[0x0]||'',[TestFrameworkConstants[_0x4b3969(0x1c0)]]:_0x1e0bee[_0x4b3969(0x1bf)]||[],[TestFrameworkConstants[_0x4b3969(0x1dd)]]:_0x1e0bee[_0x4b3969(0x229)]?.[_0x4b3969(0x1b2)]||_0x1e0bee[_0x4b3969(0x195)]||'',[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:{},[TestFrameworkConstants[_0x4b3969(0x1f5)]]:_0x1e0bee['meta']||{}};TestInfo[_0x4b3969(0x1af)](_0xcee16a,_0x302f43),logger[_0x4b3969(0x17a)](_0x4b3969(0x164)+_0x1e0bee['name']+_0x4b3969(0x1ec)+_0x206107);const _0x1b79e7={};return _0x1b79e7[_0xcee16a]=_0x302f43,_0x1b79e7;}[a70_0x2c28ae(0x17b)](_0x8f8f38){const _0x25fd1f=a70_0x2c28ae,_0x54ff86={'DdjHi':_0x25fd1f(0x214),'dVBOy':_0x25fd1f(0x1ab),'uiBMr':function(_0x18da80,_0x29dcde){return _0x18da80===_0x29dcde;},'MaQhu':_0x25fd1f(0x206),'ySfmW':_0x25fd1f(0x20b),'poKda':function(_0x422c6f,_0x16a701,_0x2d8511){return _0x422c6f(_0x16a701,_0x2d8511);},'aBwQA':function(_0x1eaa63,_0x5dc35f){return _0x1eaa63>_0x5dc35f;}},{testUUID:_0x48542b,testData:_0x51bd2b}=_0x8f8f38;if(!_0x51bd2b||!_0x51bd2b[_0x25fd1f(0x184)])return logger[_0x25fd1f(0x17a)](_0x54ff86[_0x25fd1f(0x1dc)]),{};const _0x4b1364=this[_0x25fd1f(0x19b)](TestFrameworkState['TEST'],HookState[_0x25fd1f(0x196)]),_0x2d5ffc=_0x51bd2b['uuid'],_0x4919a9=TestInfo['getTestDetails'](_0x2d5ffc)||{},_0x4286d6=_0x4919a9?_0x4919a9[TestFrameworkConstants[_0x25fd1f(0x20a)]]||{}:{},_0x8555e8={..._0x4919a9,[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x51bd2b[_0x25fd1f(0x178)]||_0x54ff86['dVBOy'],[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x51bd2b['finishedAt']||new Date()['toISOString'](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0x25fd1f(0x1e2)](),[TestFrameworkConstants[_0x25fd1f(0x20a)]]:_0x4286d6,[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x25fd1f(0x1f5)]]:_0x51bd2b['meta']||{}};_0x54ff86[_0x25fd1f(0x22f)](_0x51bd2b[_0x25fd1f(0x178)],_0x54ff86[_0x25fd1f(0x1d9)])&&_0x51bd2b[_0x25fd1f(0x1d3)]&&(_0x8555e8[TestFrameworkConstants[_0x25fd1f(0x226)]]=_0x51bd2b[_0x25fd1f(0x222)]||_0x54ff86[_0x25fd1f(0x17e)],_0x8555e8[TestFrameworkConstants[_0x25fd1f(0x21d)]]=_0x51bd2b['failure_reason']||'',_0x8555e8[TestFrameworkConstants['KEY_TEST_FAILURE']]=_0x51bd2b[_0x25fd1f(0x1d3)]);const _0x23c686=TestInfo[_0x25fd1f(0x223)](_0x2d5ffc)[TestFrameworkConstants[_0x25fd1f(0x18d)]]||{},_0x43680e=_0x54ff86[_0x25fd1f(0x17f)](getManualUploadLogs,_0x23c686,_0x4b1364[_0x25fd1f(0x1e1)]()[_0x25fd1f(0x165)](_0x2d5ffc)[TestFrameworkConstants[_0x25fd1f(0x1e5)]]);if(_0x54ff86[_0x25fd1f(0x1be)](_0x43680e[_0x25fd1f(0x20f)],0x0)){const _0xf4088a=_0x8555e8[TestFrameworkConstants[_0x25fd1f(0x1df)]]||[];_0x8555e8[TestFrameworkConstants['KEY_LOGS']]=[..._0xf4088a,..._0x43680e];}_0x51bd2b[_0x25fd1f(0x1d4)]&&_0x54ff86[_0x25fd1f(0x1be)](_0x51bd2b[_0x25fd1f(0x1d4)]['length'],0x0)&&(_0x8555e8[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x51bd2b[_0x25fd1f(0x1d4)]);TestInfo[_0x25fd1f(0x1af)](_0x2d5ffc,_0x8555e8),logger[_0x25fd1f(0x17a)](_0x25fd1f(0x1ae)+_0x51bd2b[_0x25fd1f(0x195)]+_0x25fd1f(0x21e)+_0x51bd2b[_0x25fd1f(0x178)]);const _0xe32048={};return _0xe32048[_0x2d5ffc]=_0x8555e8,_0xe32048;}async['trackHookEvent'](_0x5f2c98,_0x56fe2e,_0x4ef6b5,_0x2b37a7){const _0x55f5dd=a70_0x2c28ae,_0x3c533c={'ZtkBg':_0x55f5dd(0x16d),'TJNdv':function(_0x310ab4){return _0x310ab4();},'zIlhW':function(_0x5ca287,_0x1efb81){return _0x5ca287 in _0x1efb81;},'QQjxN':function(_0x59d889,_0x3b4966){return _0x59d889 in _0x3b4966;},'yGZTL':function(_0x357c14,_0x442fd3){return _0x357c14===_0x442fd3;},'Eoqdb':function(_0x561860,_0x59b882){return _0x561860===_0x59b882;},'yskzb':function(_0x330308,_0x201a12){return _0x330308>_0x201a12;},'IToqe':function(_0x277761,_0x455502){return _0x277761===_0x455502;},'AOfJo':'failed','zuTbL':'UnhandledError','CmbMy':_0x55f5dd(0x203),'HXfFU':function(_0x3496a3,_0x21737a){return _0x3496a3!==_0x21737a;}},{hookData:_0x592f5f}=_0x2b37a7;if(!_0x592f5f)return logger['debug'](_0x3c533c[_0x55f5dd(0x207)]),{};const _0x2c0565=_0x592f5f[_0x55f5dd(0x184)]||_0x3c533c['TJNdv'](uuidv4),_0x43e0a9=_0x592f5f[_0x55f5dd(0x1d2)],_0x5bc2b0=_0x56fe2e[_0x55f5dd(0x1e0)]()[_0x55f5dd(0x199)]('.')[0x1],_0x4ca6d3=TestInfo[_0x55f5dd(0x223)](_0x43e0a9)[TestFrameworkConstants[_0x55f5dd(0x20a)]]||{},_0x2eab8e=_0x5f2c98[_0x55f5dd(0x1e1)]()[_0x55f5dd(0x165)](_0x43e0a9);if(!_0x2eab8e)return logger['debug'](_0x55f5dd(0x1cc)+_0x43e0a9+_0x55f5dd(0x189)),this[_0x55f5dd(0x16e)](_0x5f2c98,_0x43e0a9,_0x56fe2e,_0x4ef6b5,_0x2b37a7),{};let _0x27b20a=_0x2eab8e[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x27b20a&&(_0x27b20a={});!_0x3c533c['zIlhW'](_0x5bc2b0,_0x27b20a)&&(_0x27b20a[_0x5bc2b0]=[]);let _0xcfe56e=_0x2eab8e[TestFrameworkConstants[_0x55f5dd(0x1f0)]];!_0xcfe56e&&(_0xcfe56e={});!_0x3c533c[_0x55f5dd(0x1cd)](_0x5bc2b0,_0xcfe56e)&&(_0xcfe56e[_0x5bc2b0]=[]);const _0x36c11c={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x27b20a,[TestFrameworkConstants[_0x55f5dd(0x1f0)]]:_0xcfe56e},_0x516e9f={};_0x516e9f[_0x43e0a9]=_0x36c11c;const _0x3edbfe=_0x516e9f;if(_0x3c533c[_0x55f5dd(0x217)](_0x4ef6b5,HookState[_0x55f5dd(0x1d0)])){const _0x6d75f2={[TestFrameworkConstants['KEY_HOOK_ID']]:_0x2c0565,[TestFrameworkConstants[_0x55f5dd(0x1ef)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x55f5dd(0x172)]]:_0x592f5f[_0x55f5dd(0x174)],[TestFrameworkConstants[_0x55f5dd(0x221)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x592f5f[_0x55f5dd(0x193)],[TestFrameworkConstants[_0x55f5dd(0x20a)]]:_0x4ca6d3};_0x6d75f2[_0x55f5dd(0x18f)]=_0x5bc2b0;const _0x50b65e=_0x6d75f2;_0x27b20a[_0x5bc2b0]['push'](_0x50b65e),_0x3edbfe[_0x43e0a9][TestFrameworkConstants[_0x55f5dd(0x1f1)]]=_0x5bc2b0,logger[_0x55f5dd(0x17a)](_0x55f5dd(0x20e)+_0x5bc2b0+_0x55f5dd(0x188)+_0x50b65e+'\x20\x20and\x20args\x20=\x20'+_0x2b37a7);}else{if(_0x3c533c[_0x55f5dd(0x1ea)](_0x4ef6b5,HookState[_0x55f5dd(0x196)])){const _0x103b38=_0x592f5f[_0x55f5dd(0x178)],_0x39ab92=_0x27b20a[_0x5bc2b0]||[];logger[_0x55f5dd(0x17a)](_0x55f5dd(0x216)+_0x39ab92+_0x55f5dd(0x177)+_0x2b37a7);if(_0x3c533c[_0x55f5dd(0x192)](_0x39ab92['length'],0x0)){const _0x17d32c=_0x39ab92['pop']();_0x3c533c[_0x55f5dd(0x1e8)](_0x592f5f['result'],_0x3c533c[_0x55f5dd(0x22d)])&&_0x592f5f['failure_data']?(_0x17d32c[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=_0x592f5f[_0x55f5dd(0x222)]||_0x3c533c[_0x55f5dd(0x1b5)],_0x17d32c[TestFrameworkConstants[_0x55f5dd(0x20d)]]=_0x592f5f[_0x55f5dd(0x1b6)]||'',_0x17d32c[TestFrameworkConstants[_0x55f5dd(0x212)]]=_0x592f5f[_0x55f5dd(0x1c6)]):_0x17d32c[TestFrameworkConstants[_0x55f5dd(0x1ef)]]=_0x3c533c[_0x55f5dd(0x1e6)];_0x3c533c[_0x55f5dd(0x22a)](_0x103b38,TestFrameworkConstants[_0x55f5dd(0x1b4)])&&(_0x17d32c[TestFrameworkConstants[_0x55f5dd(0x1ef)]]=_0x103b38);_0x17d32c[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x592f5f[_0x55f5dd(0x187)]||new Date()[_0x55f5dd(0x1e2)](),_0x17d32c[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x4ca6d3;const _0x14b06c=_0x17d32c[TestFrameworkConstants['KEY_HOOK_ID']];!_0xcfe56e[_0x5bc2b0]&&(_0xcfe56e[_0x5bc2b0]=[]),_0xcfe56e[_0x5bc2b0][_0x55f5dd(0x18e)](_0x17d32c),_0x3edbfe[_0x43e0a9][TestFrameworkConstants[_0x55f5dd(0x227)]]=_0x5bc2b0;}}}return logger[_0x55f5dd(0x17a)]('Tracked\x20cucumber\x20hook\x20event:\x20'+_0x592f5f[_0x55f5dd(0x193)]+_0x55f5dd(0x1b1)+_0x2c0565+'\x20for\x20test:\x20'+_0x43e0a9),_0x3edbfe;}[a70_0x2c28ae(0x1f4)](_0x42ce36){const _0x27344c=a70_0x2c28ae,_0x4f08e2={};_0x4f08e2[_0x27344c(0x204)]=_0x27344c(0x1c3);const _0xa7dc71=_0x4f08e2;try{const _0x21b95e=_0x42ce36[_0x27344c(0x1f7)]?_0x42ce36[_0x27344c(0x1f7)]['id']:_0x42ce36[_0x27344c(0x18a)][_0x27344c(0x1d2)],_0x120fc1=_0x42ce36['instance'],_0x55a4f8=_0x120fc1[_0x27344c(0x1e9)](),_0x18bf62=_0x120fc1['getAllData']()[_0x27344c(0x165)](_0x21b95e);if(!_0x18bf62)return logger[_0x27344c(0x17a)](_0x27344c(0x185)+_0x21b95e),{};logger['debug']('createTestFrameworkEventPayload\x20testId:\x20'+_0x21b95e);const {[TestFrameworkConstants[_0x27344c(0x1e4)]]:_0x5db6ed='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0xac8029='',[TestFrameworkConstants[_0x27344c(0x208)]]:_0x3919b6='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x4c6351=''}=_0x18bf62,_0x531e53=_0x120fc1[_0x27344c(0x1a2)]()[_0x27344c(0x1e0)]()[_0x27344c(0x199)]('.')[0x1],_0x1cf70a=_0x120fc1[_0x27344c(0x220)]()[_0x27344c(0x1e0)]()[_0x27344c(0x199)]('.')[0x1],_0x14fb3c=global?.[_0x27344c(0x1ed)]?.[_0x27344c(0x1bc)]?.[_0x27344c(0x198)],_0x148957=_0x120fc1['getRef'](),_0x4cf799=Buffer['from'](JSON[_0x27344c(0x16b)](_0x18bf62))[_0x27344c(0x1e0)](_0xa7dc71[_0x27344c(0x204)]),_0x5b33fc={'hash':_0x55a4f8['getId'](),'threadId':_0x55a4f8['getThreadId']()[_0x27344c(0x1e0)](),'processId':_0x55a4f8[_0x27344c(0x175)]()[_0x27344c(0x1e0)]()},_0x3fb054={};_0x3fb054['platformIndex']=_0x14fb3c,_0x3fb054['testFrameworkName']=_0x5db6ed,_0x3fb054[_0x27344c(0x1d7)]=_0xac8029,_0x3fb054[_0x27344c(0x1d5)]=_0x531e53,_0x3fb054[_0x27344c(0x19f)]=_0x1cf70a,_0x3fb054['startedAt']=_0x3919b6,_0x3fb054[_0x27344c(0x1aa)]=_0x4c6351,_0x3fb054['uuid']=_0x148957,_0x3fb054['eventJson']=_0x4cf799,_0x3fb054['executionContext']=_0x5b33fc;const _0x10b67f=_0x3fb054;return logger[_0x27344c(0x17a)]('createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20'+_0x21b95e+_0x27344c(0x1db)+_0x531e53+_0x27344c(0x1fd)+_0x1cf70a),_0x10b67f;}catch(_0xe49f68){return logger['error'](_0x27344c(0x182)+util[_0x27344c(0x1a1)](_0xe49f68)),{};}}async[a70_0x2c28ae(0x19e)](_0x3f3706,_0x2e2301,_0x503bc6){const _0x472236=a70_0x2c28ae,_0x29c249={'ezciE':function(_0x7dd07c,_0x3082b7,_0x2a60a7){return _0x7dd07c(_0x3082b7,_0x2a60a7);},'imTHg':function(_0x5721d6,_0x18ee34){return _0x5721d6===_0x18ee34;},'hqcwP':'sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','icWaG':function(_0x117844,_0x36a26){return _0x117844/_0x36a26;},'XJiuU':function(_0x243f5d,_0x550a71){return _0x243f5d<_0x550a71;},'ILZvi':function(_0x4e8d64,_0x55d2ae){return _0x4e8d64*_0x55d2ae;},'IQDuP':function(_0x378abb,_0x379a70){return _0x378abb+_0x379a70;},'VITqc':function(_0x3a695e,_0x1a8bc6){return _0x3a695e+_0x1a8bc6;},'UDrnJ':'Cucumber\x20log\x20created\x20event'};try{const _0x3326a0=_0x503bc6[_0x472236(0x1d8)],_0x376a71=_0x3f3706['getAllData']()[_0x472236(0x165)](_0x3326a0),{[TestFrameworkConstants[_0x472236(0x1e4)]]:_0x4ece55='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x2fc139=''}=_0x376a71,_0x3ebb31=TestInfo[_0x472236(0x1e3)](_0x3326a0),_0x5411c7=TestInfo[_0x472236(0x223)](_0x3326a0)[TestFrameworkConstants[_0x472236(0x18d)]]||{},_0x20bec5=_0x29c249[_0x472236(0x1b3)](getMediaArtifactsLogs,_0x5411c7,_0x3f3706[_0x472236(0x1e1)]()[_0x472236(0x165)](_0x3326a0)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x17fc06=(_0x3ebb31||[])[_0x472236(0x219)](_0x20bec5||[]);if(!_0x17fc06||_0x29c249[_0x472236(0x1cf)](_0x17fc06['length'],0x0)){logger[_0x472236(0x17a)](_0x29c249[_0x472236(0x21a)]);return;}const _0x56969a=0x28,_0x57e422=Math[_0x472236(0x1a4)](_0x29c249[_0x472236(0x18c)](_0x17fc06[_0x472236(0x20f)],_0x56969a));for(let _0x1738f7=0x0;_0x29c249[_0x472236(0x1fe)](_0x1738f7,_0x57e422);_0x1738f7++){const _0x1e63fc=_0x29c249[_0x472236(0x218)](_0x1738f7,_0x56969a),_0x3343e0=_0x29c249['IQDuP'](_0x1e63fc,_0x56969a),_0x5138ac=_0x17fc06[_0x472236(0x19d)](_0x1e63fc,_0x3343e0),_0x45a6e7={'platformIndex':'0','logs':_0x5138ac,'testFrameworkName':_0x4ece55,'testFrameworkVersion':_0x2fc139,'testFrameworkState':_0x2e2301['toString']()['split']('.')[0x1]};logger[_0x472236(0x17a)]('sendLogCreatedEvent:\x20for\x20testId:\x20'+_0x3326a0+'\x20batch\x20'+_0x29c249[_0x472236(0x1a6)](_0x1738f7,0x1)+'/'+_0x57e422+'\x20payload='+util[_0x472236(0x17d)](_0x45a6e7));const _0x19652b=await GrpcClient[_0x472236(0x1ca)]()['logCreatedEvent'](_0x45a6e7);logger['debug'](_0x472236(0x16a)+_0x3326a0+_0x472236(0x1b0)+_0x29c249['IQDuP'](_0x1738f7,0x1)+'/'+_0x57e422+'\x20response='+util[_0x472236(0x17d)](_0x19652b));}}catch(_0x37ca7e){logger[_0x472236(0x16c)](_0x472236(0x1fb)+util['format'](_0x37ca7e));}logger[_0x472236(0x17a)](_0x29c249['UDrnJ']);}[a70_0x2c28ae(0x16e)](_0x2a0721,_0x4f01dc,_0x48ec41,_0x505f25,_0x307aac){const _0x162e8f=a70_0x2c28ae,_0x4460f1={'testId':_0x4f01dc,'testFrameworkState':_0x48ec41,'hookState':_0x505f25,'args':_0x307aac,'timestamp':new Date()[_0x162e8f(0x1e2)]()};_0x2a0721['addPendingHook'](_0x4f01dc,_0x4460f1),logger[_0x162e8f(0x17a)]('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x4f01dc+_0x162e8f(0x17c)+_0x48ec41+_0x162e8f(0x1f3)+_0x505f25);}async[a70_0x2c28ae(0x1a9)](_0x20f497,_0x3ce0ca){const _0x422d71=a70_0x2c28ae,_0xe6bcaa={};_0xe6bcaa[_0x422d71(0x167)]=function(_0x40ef91,_0x1a1825){return _0x40ef91>_0x1a1825;};const _0x428e26=_0xe6bcaa;if(!_0x20f497[_0x422d71(0x1c7)](_0x3ce0ca))return;const _0x4c739b=_0x20f497[_0x422d71(0x1b8)](_0x3ce0ca);logger[_0x422d71(0x17a)](_0x422d71(0x181)+_0x4c739b['length']+_0x422d71(0x21c)+_0x3ce0ca);for(const _0x4c5dd3 of _0x4c739b){try{const _0x84ddfd=await this[_0x422d71(0x1b7)](_0x20f497,_0x4c5dd3[_0x422d71(0x1d5)],_0x4c5dd3[_0x422d71(0x19f)],_0x4c5dd3[_0x422d71(0x211)]);_0x84ddfd&&_0x428e26[_0x422d71(0x167)](Object[_0x422d71(0x166)](_0x84ddfd)[_0x422d71(0x20f)],0x0)&&_0x20f497[_0x422d71(0x162)](_0x84ddfd),await this[_0x422d71(0x1a0)](_0x20f497,_0x4c5dd3['testFrameworkState'],_0x4c5dd3['hookState'],_0x4c5dd3[_0x422d71(0x211)]);}catch(_0x42d167){logger['error']('Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20'+_0x3ce0ca+',\x20error:\x20'+_0x42d167);}}_0x20f497[_0x422d71(0x1ce)](_0x3ce0ca),logger[_0x422d71(0x17a)](_0x422d71(0x1c4)+_0x3ce0ca);}}module[a70_0x2c28ae(0x1ee)]=CucumberTestFramework;function a70_0x162f(){const _0x5350b7=['getCurrentInstanceName','workerInfo','mgzgw','aBwQA','scopes','KEY_TEST_SCOPES','../grpcClient','parseCucumberTest','base64','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','startedAt','failure_data','hasPendingHooks','instance','testData','getInstance','17370815mreQHh','No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','QQjxN','removePendingHooks','imTHg','PRE','setTrackedInstance','test_run_id','failure','hooks','testFrameworkState','trackCucumberInstance:\x20saved\x20instance\x20contextId=','testFrameworkVersion','testUUID','MaQhu','NONE','\x20testState:\x20','DdjHi','KEY_TEST_RERUN_NAME','getTestFrameworksVersions','KEY_LOGS','toString','getAllData','toISOString','readLogObjects','KEY_TEST_FRAMEWORK_NAME','KEY_TEST_UUID','CmbMy','trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','IToqe','getContext','Eoqdb','../instances/testFrameworkInstance.js','\x20with\x20UUID:\x20','__workerDetails','exports','KEY_HOOK_RESULT','KEY_HOOKS_FINISHED','KEY_HOOK_LAST_STARTED','./constants/testFrameworkConstants.js',',\x20hookState:\x20','createTestFrameworkEventPayload','KEY_TEST_META','getTestUUID','test','\x20&\x20hookState=','180266XUqviZ','KEY_TEST_ID','sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20','getTestFrameworks','\x20hookState:\x20','XJiuU','SbOEe','KEY_TEST_RESULT','trackCucumberInstance:\x20created\x20instance\x20for\x20target=','location','passed','kMUro','util','failed','ZtkBg','KEY_TEST_STARTED_AT','KEY_TEST_FRAMEWORK_VERSION','KEY_CUSTOM_TAGS','UnhandledError','getId','KEY_HOOK_FAILURE_REASON','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','length','../instances/trackedInstance.js','args','KEY_HOOK_FAILURE','12wlKJXS','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','../../../helpers/helper.js','trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20','yGZTL','ILZvi','concat','hqcwP','VdKZm','\x20pending\x20hooks\x20for\x20testId:\x20','KEY_TEST_FAILURE_REASON','\x20with\x20result:\x20','7360NOzzCl','getCurrentHookState','KEY_HOOK_LOGS','failure_type','getTestDetails','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','matchHookRegex','KEY_TEST_FAILURE_TYPE','KEY_HOOK_LAST_FINISHED','file_name','customRerunParam','HXfFU','body','HmqIU','AOfJo','12231yPNsiw','uiBMr','addMultipleEntries','KEY_AUTOMATE_SESSION_NAME','Parsed\x20cucumber\x20test:\x20','get','keys','BynRU','../TestInfo.js','84525sWfbMA','sendLogCreatedEvent:\x20for\x20testId:\x20','stringify','error','No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','storePendingHook','5730280QcxAgJ','trackCucumberInstance','472XFicAc','KEY_EVENT_STARTED_AT','kLOng','started_at','getProcessId','\x20target=','\x20and\x20args\x20=\x20','result','KEY_TEST_NAME','debug','parseCucumberTestResult',',\x20state:\x20','inspect','ySfmW','poKda','KEY_TEST_SCOPE','Processing\x20','Error\x20in\x20createTestFrameworkEventPayload:\x20','TEST','uuid','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','trackEvent','finished_at','\x20&\x20hook\x20=\x20',',\x20storing\x20as\x20pending\x20hook','hookData','tags','icWaG','KEY_TEST_ATTACHMENTS','push','key','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test','getTrackedInstance','yskzb','hook_type','../../../helpers/classLogger.js','name','POST','6MyYPcj','parallelIndex','split','2198255pKugZY','resolveInstance','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','slice','sendLogCreatedEvent','hookState','runHooks','format','getCurrentTestState','1084170CrBGhD','ceil','../state/testFrameworkState.js','VITqc',',\x20state=','QosPf','processPendingHooks','endedAt','unknown','createContext','KEY_TEST_CODE','Updated\x20cucumber\x20test\x20result:\x20','setTestDetails','\x20batch\x20','\x20with\x20id\x20','rerun_name','ezciE','DEFAULT_HOOK_RESULT','zuTbL','failure_reason','trackHookEvent','getPendingHooks','trackEvent:\x20unsupported\x20testFrameworkState=','KEY_TEST_TAGS'];a70_0x162f=function(){return _0x5350b7;};return a70_0x162f();}
@@ -1 +1 @@
1
- const a71_0x481087=a71_0x4644;function a71_0x5a5e(){const _0x16139a=['name',',\x20testFramework=','match','test_run_id','getActiveHook','getTestFrameworks','15ilPQjm','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20',',\x20testId=','stringify','Zqpcy','getJestTestName',',\x20messageLength=','\x20attachments','file_name','substring','instance','keys','\x20&\x20hookState=','KEY_TEST_FRAMEWORK_VERSION','oROzx','hookType','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','maxArrayLength','test',',\x20payload:\x20','passed','KEY_HOOK_FAILURE_REASON','CoAMn','location','map','7294912pnsheS','70LRNcjn','\x20(testIdentifier),\x20tags=','tekFg','GLcFY','set',',\x20currentTestId:\x20','qmyst','ROOT_DESCRIBE_BLOCK',',\x20filePath:\x20',',\x20error:\x20','trackEvent','sIDXT','workerInfo','zNHPZ','KEY_TEST_SCOPES','JxACR','debug','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','kdNeC','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','./testFramework','gAFqG','470102WBjNTR','hook_type','exports','../state/testFrameworkState.js','KEY_TEST_FAILURE_REASON',',\x20response=','\x20-\x20test_identifier=','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','LjzBP','event_ended_at','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','TEST','KEY_HOOK_LAST_FINISHED','\x20files','689751ZyMSoJ','testFrameworkName','KEY_TEST_STARTED_AT','failure_reason','has',',\x20hooksListLength=','LOG_REPORT','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','trackJestInstance','RRyOd','delete','KEY_EVENT_ENDED_AT','GoIKZ','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','test_run_uuid',',\x20scope:\x20','getRootParentFile',',\x20hookUUID=','file','getTestFrameworksVersions','toString','KEY_HOOK_FAILURE_TYPE','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','aPvCI',',\x20failureReason=',',\x20contextId=','hook_result','../grpcClient','status','4447340rjEovU','getRef','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','testId','trackHookEvent','Processing\x20','LmGiy','KEY_TEST_CODE','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','POST','qoffE','CUEbN','scope','createContext',',\x20state=','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','UnhandledError','buildHookMapFromTest','testData','aMFMS','eLdPP','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','missing',',\x20consoleLogs:\x20','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','uuid','KEY_HOOK_LAST_STARTED','pop','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','unoin','jfhrY','flKzC','oDiGt','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','EyuML','KEY_LOGS','getPendingHooks','NONE','warn',',\x20attachmentLogs:\x20','KEY_TEST_RESULT','SXjqW','KEY_HOOK_NAME','HfmLb','getId','KEY_TEST_FILE_PATH','getCurrentHookState','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','getJestFailureType','test_identifier','WRHTh','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','parallelIndex',',\x20storing\x20as\x20pending\x20hook','hookData','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','KEY_TEST_RERUN_NAME','nXAKK','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND','isArray','hook_run_uuid',',\x20remainingHooks=','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','bcnbe','includes','mapTestHooks',',\x20scopes=','\x20hook','\x20pending\x20hooks\x20for\x20testId:\x20','apply','getJestFailureData','zzYkH','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20','createTestFrameworkEventPayload','getFileName','gQYuV','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','../cliUtils.js','../../../helpers/helper.js',',\x20hookState:\x20','hookState','liTFC','setActiveHook','8805511GtzaYJ',',\x20failureType=','DEFAULT_HOOK_RESULT','../instances/testFrameworkInstance.js','LLKYT','KEY_CUSTOM_TAGS','tMTwp','find','filePath','efmVh','parseJestTestResult','TEST_SCREENSHOT','903540iKIFzZ','hookUUID','tags','KEY_TEST_FAILURE_TYPE','removePendingHooks','error','resolveInstance','toISOString',',\x20testData=','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','TcboX','getAllData','MvghU','wdzrU','getJestFailureReason','KEY_TEST_RESULT_AT','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20${testFilePath},\x20scope:\x20${testScope}',',\x20hookId=','../state/hookState.js','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','parent','GxVDR','KEY_TEST_META','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','findIndex','addMultipleEntries','LpPvJ',',\x20screenshotLogs:\x20','scopes','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','KEY_TEST_NAME','splice','../instances/trackedInstance.js','get','pUzjd','parse','ABtSF','KEY_TEST_DURATION','foGlQ','aRQbG','GsqtT','dYWpE','type','args','klouf','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','base64','KEY_TEST_ID','IKUGJ','retryOf','WLEzn','KEY_TEST_LOCATION',',\x20argsKeys=','[JestTestFramework]\x20trackHookEvent:\x20SUCCESS\x20-\x20hookType=','KEY_TEST_LOGS','zriKk','KEY_HOOK_LOGS','KEY_TEST_TAGS','SkGEd','\x22\x20hook','isJestInternalHook','unknown','KEY_TEST_RETRY_OF','from','removeActiveHook','FVnCw','title','hiNks','BEFORE_ALL','ykDtD','finished_at',',\x20platformIndex:\x20','getHooksForTest','ALL',',\x20totalBatches:\x20','KEY_HOOKS_FINISHED','trackJestInstance:\x20instance\x20already\x20exists','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','getTrackedInstance','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=',',\x20totalHooks=','wYOVz',',\x20filePath=','push','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','getJestTestTags','KEY_HOOK_ID','slice','kXgGT',',\x20result=','result','storePendingHook',',\x20hookType=','UARAp',',\x20hookData=','swfkV','BWIAI','processPendingHooks','\x20for\x20testId:\x20','failed',',\x20updates=',',\x20hook=','getAllPendingHookTestIds','cuwpU','wLUGA','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','PVkIN','hook_id','kind','LIWkJ','originalTest','hooks','NEYgi','addPendingHook','length','runHooks','getCurrentTestState','KEY_TEST_SCOPE','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','\x20-\x20testId:\x20','ljwRv','RUVrV','getCurrentInstanceName','_ALL','split','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','seMNH','OruNf','TydDJ',',\x20exception=','eventJson','../../../helpers/test-observability/utils','7950QkpoGn','skipped','./constants/testFrameworkConstants.js','tkgGa','\x22\x20from\x20testData','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20${testId},\x20error:\x20${error}','parseJestTest','filter','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','KEY_AUTOMATE_SESSION_NAME','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=',',\x20duration=','started_at','beforeAll','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','skip','hookAnalyticsId','ZKpFQ','sendLogCreatedEvent','format','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','KEY_HOOK_FAILURE','PRE','qQLkn','pid','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','XqHHC','getJestTestIdentifier','tIudY','message','forEach','zOmuK','AssertionError','znqQB','getThreadId','QduqF','WjoNy','depth','FYNgd',',\x20test_run_uuid=','\x20logs\x20for\x20testId:\x20','getContext','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','getJestTestScopes','activeHooks','toUpperCase','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','JestTestFramework','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','setTrackedInstance','KEY_HOOK_RESULT','Unknown\x20error','endedAt','testUUID','duration',',\x20hook_run_uuid=','logCreatedEvent','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','platformIndex','util','KEY_HOOKS_STARTED','hookMetadata','ceil','asyncError','../../../helpers/classLogger.js','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=',',\x20hookState=','KEY_TEST_ENDED_AT','KWxjR',',\x20totalLogs:\x20','12HakNar',',\x20target=','Fickg','18fEtGjN','AgnKz','testFrameworkState','KEY_TEST_ATTACHMENTS','errorsDetailed','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','startedAt','KEY_TEST_UUID','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','KEY_EVENT_STARTED_AT','inspect','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20',',\x20logsInBatch:\x20'];a71_0x5a5e=function(){return _0x16139a;};return a71_0x5a5e();}(function(_0x4734cf,_0xb80857){const _0x31c02d=a71_0x4644,_0x32efba=_0x4734cf();while(!![]){try{const _0x148d8e=-parseInt(_0x31c02d(0x213))/0x1+parseInt(_0x31c02d(0x205))/0x2*(parseInt(_0x31c02d(0x1be))/0x3)+parseInt(_0x31c02d(0x28f))/0x4*(-parseInt(_0x31c02d(0x1d5))/0x5)+-parseInt(_0x31c02d(0x174))/0x6*(-parseInt(_0x31c02d(0x1ef))/0x7)+parseInt(_0x31c02d(0x1ee))/0x8+-parseInt(_0x31c02d(0x1c1))/0x9*(-parseInt(_0x31c02d(0x230))/0xa)+-parseInt(_0x31c02d(0x283))/0xb;if(_0x148d8e===_0xb80857)break;else _0x32efba['push'](_0x32efba['shift']());}catch(_0x5a7d6c){_0x32efba['push'](_0x32efba['shift']());}}}(a71_0x5a5e,0x8f47f));function a71_0x4644(_0x1d9871,_0x4c1a0b){const _0x5a5e25=a71_0x5a5e();return a71_0x4644=function(_0x46445d,_0x5a7b9e){_0x46445d=_0x46445d-0x116;let _0x52d1ba=_0x5a5e25[_0x46445d];return _0x52d1ba;},a71_0x4644(_0x1d9871,_0x4c1a0b);}const TestFramework=require(a71_0x481087(0x203)),TestFrameworkState=require(a71_0x481087(0x208)),HookState=require(a71_0x481087(0x2a1)),{createClassLogger}=require(a71_0x481087(0x1b8)),TestFrameworkInstance=require(a71_0x481087(0x286)),CLIUtils=require(a71_0x481087(0x27d)),TrackedInstance=require(a71_0x481087(0x2b0)),TestFrameworkConstants=require(a71_0x481087(0x176)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a71_0x481087(0x27e)),{isInternalHook}=require(a71_0x481087(0x173)),logger=createClassLogger(a71_0x481087(0x1a6)),{v4:uuidv4}=require(a71_0x481087(0x249)),util=require(a71_0x481087(0x1b3)),TestInfo=require('../TestInfo.js'),GrpcClient=require(a71_0x481087(0x22e)),stackTrace=require('stack-trace');class JestTestFramework extends TestFramework{constructor(_0x2c5eaa,_0x50fe0c,_0x197073){const _0x24b114=a71_0x481087;super(_0x2c5eaa,_0x50fe0c,_0x197073),this[_0x24b114(0x1a3)]=new Map();}[a71_0x481087(0x282)](_0x41ef45,_0x212b54,_0x505650){const _0x140f8c=a71_0x481087,_0x41747b={};_0x41747b['WjoNy']=function(_0x11d693,_0x551cc2){return _0x11d693||_0x551cc2;};const _0x322aa8=_0x41747b;if(_0x322aa8[_0x140f8c(0x19b)](!_0x41ef45,!_0x212b54)){logger[_0x140f8c(0x256)](_0x140f8c(0x25f)+_0x41ef45+_0x140f8c(0x224)+_0x212b54);return;}!this[_0x140f8c(0x1a3)][_0x140f8c(0x217)](_0x41ef45)&&this[_0x140f8c(0x1a3)][_0x140f8c(0x1f3)](_0x41ef45,[]);const _0x3197bf={'hookUUID':_0x212b54,'hookType':_0x505650,'startedAt':new Date()['toISOString']()};this['activeHooks'][_0x140f8c(0x2b1)](_0x41ef45)['push'](_0x3197bf),logger[_0x140f8c(0x1ff)](_0x140f8c(0x248)+_0x41ef45+_0x140f8c(0x224)+_0x212b54+_0x140f8c(0x14c)+_0x505650+_0x140f8c(0x140)+this[_0x140f8c(0x1a3)][_0x140f8c(0x2b1)](_0x41ef45)[_0x140f8c(0x162)]);}[a71_0x481087(0x130)](_0x5b5daa,_0x4dc984){const _0x1f5381=a71_0x481087,_0x8bb473={};_0x8bb473[_0x1f5381(0x281)]=function(_0x40ede2,_0x418479){return _0x40ede2||_0x418479;},_0x8bb473[_0x1f5381(0x244)]=function(_0x46bccd,_0x259233){return _0x46bccd!==_0x259233;},_0x8bb473[_0x1f5381(0x29b)]=function(_0x40fb7f,_0x40acf8){return _0x40fb7f===_0x40acf8;};const _0x537056=_0x8bb473;if(_0x537056[_0x1f5381(0x281)](!_0x5b5daa,!_0x4dc984)){logger['warn'](_0x1f5381(0x251)+_0x5b5daa+_0x1f5381(0x224)+_0x4dc984);return;}if(this[_0x1f5381(0x1a3)][_0x1f5381(0x217)](_0x5b5daa)){const _0x2a4d22=this[_0x1f5381(0x1a3)][_0x1f5381(0x2b1)](_0x5b5daa),_0x57b061=_0x2a4d22[_0x1f5381(0x2a8)](_0x5d986d=>_0x5d986d['hookUUID']===_0x4dc984);_0x537056['eLdPP'](_0x57b061,-0x1)?(_0x2a4d22[_0x1f5381(0x2af)](_0x57b061,0x1),logger['debug'](_0x1f5381(0x24c)+_0x5b5daa+_0x1f5381(0x224)+_0x4dc984+_0x1f5381(0x26d)+_0x2a4d22[_0x1f5381(0x162)]),_0x537056[_0x1f5381(0x29b)](_0x2a4d22[_0x1f5381(0x162)],0x0)&&this[_0x1f5381(0x1a3)][_0x1f5381(0x21d)](_0x5b5daa)):logger['debug'](_0x1f5381(0x26e)+_0x5b5daa+_0x1f5381(0x224)+_0x4dc984);}}[a71_0x481087(0x1d3)](_0x56fcbd){const _0x3516b2=a71_0x481087,_0x4af4bc={};_0x4af4bc[_0x3516b2(0x287)]=function(_0x138d78,_0x1ea532){return _0x138d78>_0x1ea532;},_0x4af4bc[_0x3516b2(0x24e)]=function(_0x588de5,_0x3c1fa9){return _0x588de5-_0x3c1fa9;};const _0x181e31=_0x4af4bc;if(!_0x56fcbd)return null;if(this['activeHooks'][_0x3516b2(0x217)](_0x56fcbd)){const _0x95ef18=this[_0x3516b2(0x1a3)][_0x3516b2(0x2b1)](_0x56fcbd);if(_0x181e31[_0x3516b2(0x287)](_0x95ef18[_0x3516b2(0x162)],0x0)){const _0x3b960e=_0x95ef18[_0x181e31['jfhrY'](_0x95ef18[_0x3516b2(0x162)],0x1)];return logger[_0x3516b2(0x1ff)](_0x3516b2(0x229)+_0x56fcbd+_0x3516b2(0x224)+_0x3b960e[_0x3516b2(0x290)]+_0x3516b2(0x14c)+_0x3b960e[_0x3516b2(0x1e4)]),_0x3b960e;}}return null;}async['trackEvent'](_0x2c3cf6,_0x4749ab,_0x938948={}){const _0x187894=a71_0x481087,_0x4a1488={};_0x4a1488[_0x187894(0x269)]=_0x187894(0x1ca),_0x4a1488[_0x187894(0x1bc)]=function(_0x30d51e,_0x4810c1){return _0x30d51e===_0x4810c1;},_0x4a1488['ABtSF']=function(_0x2e6850,_0x2e17c3){return _0x2e6850===_0x2e17c3;},_0x4a1488[_0x187894(0x135)]=function(_0xc2f2ef,_0xdf7052){return _0xc2f2ef||_0xdf7052;},_0x4a1488[_0x187894(0x158)]=_0x187894(0x26a),_0x4a1488[_0x187894(0x1c0)]=function(_0x1463ff,_0x199ae4){return _0x1463ff===_0x199ae4;};const _0x13fdfa=_0x4a1488;logger['debug'](_0x187894(0x166)+_0x2c3cf6+_0x187894(0x1ba)+_0x4749ab+_0x187894(0x124)+Object[_0x187894(0x1e0)](_0x938948)['join'](',')),await super[_0x187894(0x1f9)](_0x2c3cf6,_0x4749ab,_0x938948);const _0x7cb96b=this[_0x187894(0x295)](_0x2c3cf6,_0x4749ab,_0x938948);if(!_0x7cb96b){logger[_0x187894(0x1ff)](_0x13fdfa[_0x187894(0x269)]);return;}try{let _0x27258e,_0x1f3f7f,_0xfb7c71;switch(_0x2c3cf6){case TestFrameworkState[_0x187894(0x210)]:_0x27258e=_0x938948[_0x187894(0x1e7)];const _0x58e1d3={};_0x58e1d3[_0x187894(0x19c)]=0x2,_0x58e1d3[_0x187894(0x1e6)]=0x3,logger['debug'](_0x187894(0x1b9)+_0x4749ab+_0x187894(0x297)+util['inspect'](_0x27258e,_0x58e1d3)),_0xfb7c71=this[_0x187894(0x192)](_0x27258e),_0x1f3f7f=null,logger[_0x187894(0x1ff)](_0x187894(0x263)+_0xfb7c71+'\x20(testIdentifier)');if(_0x13fdfa[_0x187894(0x1bc)](_0x4749ab,HookState[_0x187894(0x18d)])){logger['debug']('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20'+_0xfb7c71);const _0x3c826a={};_0x3c826a[_0x187894(0x1ad)]=_0x1f3f7f,_0x3c826a['testData']=_0x27258e,_0x3c826a[_0x187894(0x233)]=_0xfb7c71;const _0x21e8b3=this['parseJestTest'](_0x3c826a),_0x35f442={};_0x35f442[_0x187894(0x19c)]=0x2,_0x35f442[_0x187894(0x1e6)]=0x3,logger[_0x187894(0x1ff)](_0x187894(0x190)+util[_0x187894(0x1cc)](_0x21e8b3,_0x35f442)),_0x7cb96b[_0x187894(0x2a9)](_0x21e8b3),logger[_0x187894(0x1ff)](_0x187894(0x27c)+_0xfb7c71),await this[_0x187894(0x151)](_0x7cb96b,_0xfb7c71);}else{if(_0x13fdfa[_0x187894(0x2b4)](_0x4749ab,HookState[_0x187894(0x239)])){logger['debug'](_0x187894(0x20f)+_0xfb7c71);const _0x32d3ae=_0x7cb96b['getAllData']()[_0x187894(0x2b1)](_0xfb7c71);logger[_0x187894(0x1ff)](_0x187894(0x202)+util['inspect'](Object[_0x187894(0x1e0)](_0x13fdfa[_0x187894(0x135)](_0x32d3ae,{}))));_0x32d3ae&&_0x32d3ae[TestFrameworkConstants[_0x187894(0x1c4)]]?logger[_0x187894(0x1ff)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20'+Object[_0x187894(0x1e0)](_0x32d3ae[TestFrameworkConstants[_0x187894(0x1c4)]])['length']+_0x187894(0x212)):logger[_0x187894(0x1ff)](_0x13fdfa[_0x187894(0x158)]);const _0x127cd5=_0x938948[_0x187894(0x15e)]||null,_0x53cce6={};_0x53cce6['testUUID']=_0x1f3f7f,_0x53cce6[_0x187894(0x242)]=_0x27258e,_0x53cce6[_0x187894(0x233)]=_0xfb7c71,_0x53cce6['originalTest']=_0x127cd5;const _0x3c2a1d=this['parseJestTestResult'](_0x53cce6),_0xbf4f32={};_0xbf4f32[_0x187894(0x19c)]=0x2,_0xbf4f32['maxArrayLength']=0x3,logger[_0x187894(0x1ff)](_0x187894(0x1e5)+util[_0x187894(0x1cc)](_0x3c2a1d,_0xbf4f32)),_0x7cb96b[_0x187894(0x2a9)](_0x3c2a1d),logger[_0x187894(0x1ff)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20'+_0xfb7c71),await this[_0x187894(0x151)](_0x7cb96b,_0xfb7c71);}}break;case TestFrameworkState[_0x187894(0x219)]:if(_0x13fdfa[_0x187894(0x1c0)](_0x4749ab,HookState[_0x187894(0x239)])){const _0x49b219={};_0x49b219[_0x187894(0x19c)]=0x2,logger[_0x187894(0x1ff)](_0x187894(0x1a1)+util[_0x187894(0x1cc)](_0x938948,_0x49b219)),await this[_0x187894(0x189)](_0x7cb96b,_0x2c3cf6,_0x938948);}break;default:if(CLIUtils['matchHookRegex'](_0x2c3cf6['toString']()[_0x187894(0x16c)]('.')[0x1])){const _0x471822={};_0x471822['depth']=0x2,_0x471822['maxArrayLength']=0x3,logger[_0x187894(0x1ff)]('[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState='+_0x2c3cf6+_0x187894(0x1ba)+_0x4749ab+_0x187894(0x14e)+util[_0x187894(0x1cc)](_0x938948[_0x187894(0x266)],_0x471822));const _0x5d8ea1=await this[_0x187894(0x234)](_0x7cb96b,_0x2c3cf6,_0x4749ab,_0x938948),_0x15eb21={};_0x15eb21['depth']=0x2,_0x15eb21[_0x187894(0x1e6)]=0x3,logger[_0x187894(0x1ff)](_0x187894(0x2a2)+util['inspect'](_0x5d8ea1,_0x15eb21)),_0x7cb96b[_0x187894(0x2a9)](_0x5d8ea1);}else logger[_0x187894(0x1ff)]('[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState='+_0x2c3cf6+_0x187894(0x1e1)+_0x4749ab);break;}logger[_0x187894(0x1ff)](_0x187894(0x1a8)+_0x2c3cf6+_0x187894(0x1ba)+_0x4749ab);}catch(_0x1ba640){logger[_0x187894(0x294)](_0x187894(0x18b)+_0x2c3cf6+_0x187894(0x1ba)+_0x4749ab+_0x187894(0x171)+util[_0x187894(0x18a)](_0x1ba640));}_0x938948[_0x187894(0x1df)]=_0x7cb96b,await this[_0x187894(0x163)](_0x7cb96b,_0x2c3cf6,_0x4749ab,_0x938948);}['getJestTestIdentifier'](_0x2aca7a){const _0x3e7b90=a71_0x481087,_0x243523={};_0x243523[_0x3e7b90(0x170)]=_0x3e7b90(0x1a7);const _0x52c967=_0x243523;if(_0x2aca7a&&(_0x2aca7a['id']||_0x2aca7a['uuid'])){const _0x4b1012=_0x2aca7a['id']||_0x2aca7a[_0x3e7b90(0x249)];return logger[_0x3e7b90(0x1ff)]('[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22'+_0x4b1012+_0x3e7b90(0x178)),_0x4b1012;}return logger['debug'](_0x52c967[_0x3e7b90(0x170)]),process[_0x3e7b90(0x18f)]+':testAnalyticsId';}[a71_0x481087(0x295)](_0x350999,_0x461158,_0x5ec813={}){const _0x33f018=a71_0x481087;let _0x56d701=null;return _0x56d701=TestFramework[_0x33f018(0x13e)](),!_0x56d701?(logger[_0x33f018(0x1ff)](_0x33f018(0x181)+_0x350999),this[_0x33f018(0x21b)](_0x350999,_0x5ec813),_0x56d701=TestFramework[_0x33f018(0x13e)](),logger['debug'](_0x33f018(0x17d)+!!_0x56d701+_0x33f018(0x22c)+_0x56d701?.[_0x33f018(0x1a0)]()?.[_0x33f018(0x25c)]())):logger['debug'](_0x33f018(0x13f)+_0x56d701['getContext']()?.[_0x33f018(0x25c)]()),_0x56d701;}[a71_0x481087(0x21b)](_0x178457,_0x160f8f){const _0x1306ba=a71_0x481087,_0x27e45a={};_0x27e45a[_0x1306ba(0x236)]=_0x1306ba(0x13c);const _0x56721e=_0x27e45a;if(TestFramework[_0x1306ba(0x13e)]()){logger[_0x1306ba(0x1ff)](_0x56721e[_0x1306ba(0x236)]);return;}const _0x22d2a0=CLIUtils[_0x1306ba(0x16a)](),_0x545f87=TrackedInstance[_0x1306ba(0x23d)](_0x22d2a0);let _0x198b84=null;logger['debug']('trackJestInstance:\x20created\x20instance\x20for\x20target='+_0x22d2a0+_0x1306ba(0x23e)+_0x178457),_0x198b84=new TestFrameworkInstance(_0x545f87,this[_0x1306ba(0x1d4)](),this[_0x1306ba(0x226)](),_0x178457,HookState[_0x1306ba(0x255)]),TestFramework[_0x1306ba(0x1a9)](_0x545f87,_0x198b84),logger['debug'](_0x1306ba(0x200)+_0x545f87[_0x1306ba(0x25c)]()+_0x1306ba(0x1bf)+_0x22d2a0+_0x1306ba(0x1d0)+this[_0x1306ba(0x1d4)]()[0x0]+',\x20version='+this[_0x1306ba(0x226)]()[this[_0x1306ba(0x1d4)]()[0x0]]);}[a71_0x481087(0x17b)](_0x381e56){const _0x5cbe38=a71_0x481087,_0x96b45a={};_0x96b45a[_0x5cbe38(0x1fe)]=function(_0x4723fd,_0x44037f){return _0x4723fd||_0x44037f;},_0x96b45a[_0x5cbe38(0x117)]=_0x5cbe38(0x1b1);const _0x3c8f11=_0x96b45a,{testUUID:_0x2ec840,testData:_0x28a0e4,testId:_0x19a43a}=_0x381e56;if(_0x3c8f11[_0x5cbe38(0x1fe)](!_0x28a0e4,!_0x19a43a))return logger[_0x5cbe38(0x1ff)](_0x3c8f11[_0x5cbe38(0x117)]),{};const _0x3a0c7c=this[_0x5cbe38(0x1d4)]()[0x0],_0x35f2b2=this[_0x5cbe38(0x226)](),_0x1e130f={};_0x1e130f[_0x5cbe38(0x19c)]=0x2,_0x1e130f[_0x5cbe38(0x1e6)]=0x3,logger[_0x5cbe38(0x1ff)](_0x5cbe38(0x11d)+util['inspect'](_0x28a0e4,_0x1e130f));const _0x59dde0=_0x28a0e4?.['scopes']||[],_0x126f0c=this[_0x5cbe38(0x1da)](_0x28a0e4),_0x458a00=this['getJestTestFilePath'](_0x28a0e4),_0x4ff5b0=_0x28a0e4['fn']?_0x28a0e4['fn'][_0x5cbe38(0x227)]():null,_0xff34bd=this[_0x5cbe38(0x145)](_0x28a0e4),_0x32f21c={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x3a0c7c,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x35f2b2[_0x3a0c7c],[TestFrameworkConstants[_0x5cbe38(0x126)]]:[],[TestFrameworkConstants[_0x5cbe38(0x13b)]]:{},[TestFrameworkConstants[_0x5cbe38(0x1b4)]]:{},[TestFrameworkConstants[_0x5cbe38(0x258)]]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0x5cbe38(0x17f)]]:_0x126f0c,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x458a00,[TestFrameworkConstants[_0x5cbe38(0x11f)]]:_0x19a43a,[TestFrameworkConstants[_0x5cbe38(0x2ae)]]:_0x126f0c,[TestFrameworkConstants[_0x5cbe38(0x123)]]:_0x458a00,[TestFrameworkConstants[_0x5cbe38(0x237)]]:_0x4ff5b0,[TestFrameworkConstants[_0x5cbe38(0x129)]]:_0xff34bd,[TestFrameworkConstants[_0x5cbe38(0x215)]]:_0x28a0e4['started_at']||new Date()[_0x5cbe38(0x296)](),[TestFrameworkConstants[_0x5cbe38(0x165)]]:_0x59dde0[0x0]||'',[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x59dde0,[TestFrameworkConstants[_0x5cbe38(0x268)]]:_0x126f0c,[TestFrameworkConstants[_0x5cbe38(0x288)]]:{},[TestFrameworkConstants[_0x5cbe38(0x2a5)]]:{}};_0x28a0e4['retryOf']&&(_0x32f21c[TestFrameworkConstants[_0x5cbe38(0x12e)]]=_0x28a0e4['retryOf']);logger[_0x5cbe38(0x1ff)](_0x5cbe38(0x245)+_0x126f0c+_0x5cbe38(0x1d7)+_0x19a43a+_0x5cbe38(0x1f0)+JSON[_0x5cbe38(0x1d8)](_0xff34bd)+_0x5cbe38(0x272)+util[_0x5cbe38(0x1cc)](_0x59dde0)+_0x5cbe38(0x142)+_0x458a00);const _0x5d82d1={};return _0x5d82d1[_0x19a43a]=_0x32f21c,_0x5d82d1;}[a71_0x481087(0x28d)](_0x377fe4){const _0x27964d=a71_0x481087,_0x4ea8e2={'aPvCI':function(_0x3c1059,_0xe5723){return _0x3c1059===_0xe5723;},'zriKk':'afterAll','zNHPZ':function(_0x3af01c,_0x553269){return _0x3af01c===_0x553269;},'dYWpE':_0x27964d(0x184),'qoffE':_0x27964d(0x139),'hiNks':_0x27964d(0x16b),'PVkIN':function(_0x1084f4,_0x107145){return _0x1084f4||_0x107145;},'kmLkk':'No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','SXjqW':function(_0xa9d29a,_0x945d0f){return _0xa9d29a||_0x945d0f;},'nJIlt':_0x27964d(0x12d),'WLEzn':function(_0x9b5b35,_0x3007ec){return _0x9b5b35>_0x3007ec;},'klouf':_0x27964d(0x153),'UARAp':function(_0x24e440,_0x2a4edb){return _0x24e440===_0x2a4edb;},'FYNgd':_0x27964d(0x186),'LjzBP':function(_0x2544c8,_0x54c5fe){return _0x2544c8===_0x54c5fe;},'swfkV':_0x27964d(0x175),'gAFqG':_0x27964d(0x1e9),'QduqF':function(_0x32bb34,_0x560a35){return _0x32bb34===_0x560a35;},'znqQB':function(_0x4387cd,_0x352c1d){return _0x4387cd!==_0x352c1d;},'LIWkJ':function(_0x12916a,_0x4ca289,_0x11009f,_0x3e5f17){return _0x12916a(_0x4ca289,_0x11009f,_0x3e5f17);},'XqHHC':function(_0x3fe3d1,_0x59b6eb){return _0x3fe3d1>_0x59b6eb;},'TcboX':'[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','ZKpFQ':function(_0x2055fb,_0x242a67){return _0x2055fb===_0x242a67;}},{testUUID:_0xc9970d,testData:_0x250caa,testId:_0x38199e}=_0x377fe4;if(_0x4ea8e2[_0x27964d(0x15a)](!_0x250caa,!_0x38199e))return logger[_0x27964d(0x1ff)](_0x4ea8e2['kmLkk']),{};const _0x2ab3b7=this[_0x27964d(0x295)](TestFrameworkState[_0x27964d(0x210)],HookState[_0x27964d(0x239)]),_0x4df9cd=_0x2ab3b7[_0x27964d(0x29a)]()[_0x27964d(0x2b1)](_0x38199e),_0x57cf27=_0x4ea8e2[_0x27964d(0x259)](_0x4df9cd,{}),_0x2e9a91=_0x57cf27?_0x57cf27[TestFrameworkConstants[_0x27964d(0x288)]]||{}:{},_0x26b589=_0x57cf27[TestFrameworkConstants[_0x27964d(0x1c4)]];logger[_0x27964d(0x1ff)](_0x27964d(0x278)+(_0x26b589?Object[_0x27964d(0x1e0)](_0x26b589)['length']:0x0)+_0x27964d(0x1dc));let _0x462b9e=_0x4ea8e2['nJIlt'];if(_0x250caa[_0x27964d(0x14a)])_0x462b9e=_0x250caa[_0x27964d(0x14a)];else{if(_0x250caa['errorsDetailed']&&_0x4ea8e2[_0x27964d(0x122)](_0x250caa['errorsDetailed']['length'],0x0))_0x462b9e=_0x4ea8e2[_0x27964d(0x11c)];else _0x4ea8e2[_0x27964d(0x14d)](_0x250caa[_0x27964d(0x22f)],_0x4ea8e2[_0x27964d(0x19d)])||_0x4ea8e2[_0x27964d(0x20d)](_0x250caa['status'],_0x4ea8e2[_0x27964d(0x14f)])?_0x462b9e=_0x4ea8e2[_0x27964d(0x14f)]:_0x462b9e=_0x4ea8e2[_0x27964d(0x204)];}const _0xfd52ec={..._0x57cf27,[TestFrameworkConstants[_0x27964d(0x258)]]:_0x462b9e,[TestFrameworkConstants[_0x27964d(0x1bb)]]:_0x250caa[_0x27964d(0x136)]||new Date()['toISOString'](),[TestFrameworkConstants[_0x27964d(0x29e)]]:new Date()[_0x27964d(0x296)](),[TestFrameworkConstants[_0x27964d(0x288)]]:_0x2e9a91,[TestFrameworkConstants[_0x27964d(0x253)]]:[],[TestFrameworkConstants[_0x27964d(0x2a5)]]:{}};if(_0x4ea8e2[_0x27964d(0x19a)](_0x462b9e,_0x4ea8e2[_0x27964d(0x11c)])&&_0x250caa['errorsDetailed']){const _0x3e6377=this[_0x27964d(0x29d)](_0x250caa),_0x352124=this[_0x27964d(0x260)](_0x250caa),_0xcb49df=this[_0x27964d(0x276)](_0x250caa);_0xfd52ec[TestFrameworkConstants[_0x27964d(0x292)]]=_0x352124,_0xfd52ec[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]=_0x3e6377,_0xfd52ec[TestFrameworkConstants['KEY_TEST_FAILURE']]=_0xcb49df;}_0x4ea8e2[_0x27964d(0x198)](_0x250caa[_0x27964d(0x1ae)],undefined)&&(_0xfd52ec[TestFrameworkConstants[_0x27964d(0x2b5)]]=_0x250caa['duration']);_0x250caa[_0x27964d(0x121)]&&(_0xfd52ec[TestFrameworkConstants[_0x27964d(0x12e)]]=_0x250caa['retryOf']);const _0x41b37f=_0x4df9cd?_0x4df9cd[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{}:{},_0x5b5771=_0x4df9cd?_0x4df9cd[TestFrameworkConstants[_0x27964d(0x1c8)]]:_0xc9970d,_0x3b4093=_0x4ea8e2[_0x27964d(0x15d)](getManualUploadLogs,_0x41b37f,_0x5b5771,_0x38199e);if(_0x4ea8e2[_0x27964d(0x191)](_0x3b4093[_0x27964d(0x162)],0x0)){const _0x38249d=_0xfd52ec[TestFrameworkConstants[_0x27964d(0x253)]]||[];_0xfd52ec[TestFrameworkConstants[_0x27964d(0x253)]]=[..._0x38249d,..._0x3b4093];}const _0x1374f4=_0x57cf27[TestFrameworkConstants[_0x27964d(0x13b)]]||{},_0x43ecaf=_0x57cf27[TestFrameworkConstants['KEY_HOOKS_STARTED']]||{},_0x3484ff={..._0x1374f4},_0x561a68=_0x3484ff;Object[_0x27964d(0x1e0)](_0x43ecaf)[_0x27964d(0x195)](_0x62ee68=>{const _0x4d5f28=_0x27964d;!_0x561a68[_0x62ee68]&&(_0x561a68[_0x62ee68]=[]);const _0x5ed162=new Set((_0x561a68[_0x62ee68]||[])[_0x4d5f28(0x1ed)](_0x557a84=>_0x557a84[TestFrameworkConstants[_0x4d5f28(0x146)]]||_0x557a84['hook_id']));(_0x43ecaf[_0x62ee68]||[])[_0x4d5f28(0x195)](_0x2b7d10=>{const _0x3d1631=_0x4d5f28,_0xc79c21=_0x2b7d10[TestFrameworkConstants['KEY_HOOK_ID']]||_0x2b7d10['hook_id'];if(!_0x5ed162[_0x3d1631(0x217)](_0xc79c21)){const _0x243d41={..._0x2b7d10},_0x45e54c=_0x243d41;!_0x45e54c[TestFrameworkConstants[_0x3d1631(0x21e)]]&&!_0x45e54c[_0x3d1631(0x20e)]&&(_0x45e54c[TestFrameworkConstants[_0x3d1631(0x21e)]]=new Date()[_0x3d1631(0x296)]()),!_0x45e54c[TestFrameworkConstants[_0x3d1631(0x1aa)]]&&!_0x45e54c[_0x3d1631(0x22d)]&&(_0x45e54c[TestFrameworkConstants['KEY_HOOK_RESULT']]=TestFrameworkConstants[_0x3d1631(0x285)]),_0x561a68[_0x62ee68][_0x3d1631(0x143)](_0x45e54c);}});});if(_0x377fe4[_0x27964d(0x15e)]){this['mapTestHooks'](_0x377fe4[_0x27964d(0x15e)]);const _0x4e4c2c=this[_0x27964d(0x241)](_0x377fe4[_0x27964d(0x15e)]),_0x27ea44=this['getHooksForTest'](_0x377fe4[_0x27964d(0x15e)]);_0x27ea44['forEach'](_0x4537f1=>{const _0x5ad53d=_0x27964d,_0x1f4c67=_0x4e4c2c['get'](_0x4537f1);if(_0x1f4c67&&(_0x4ea8e2[_0x5ad53d(0x22a)](_0x1f4c67[_0x5ad53d(0x11a)],_0x4ea8e2[_0x5ad53d(0x127)])||_0x4ea8e2[_0x5ad53d(0x1fc)](_0x1f4c67[_0x5ad53d(0x11a)],_0x4ea8e2[_0x5ad53d(0x119)]))){const _0x59c2fe=_0x1f4c67[_0x5ad53d(0x11a)][_0x5ad53d(0x1a4)]()['replace'](_0x4ea8e2[_0x5ad53d(0x23a)],_0x4ea8e2[_0x5ad53d(0x133)]),_0x354fc4=_0x59c2fe;!_0x561a68[_0x354fc4]&&(_0x561a68[_0x354fc4]=[]);const _0x36e36e=_0x561a68[_0x354fc4][_0x5ad53d(0x28a)](_0x5cf125=>(_0x5cf125[TestFrameworkConstants[_0x5ad53d(0x146)]]||_0x5cf125[_0x5ad53d(0x15b)])===_0x4537f1);!_0x36e36e&&_0x561a68[_0x354fc4][_0x5ad53d(0x143)]({'key':_0x354fc4,[TestFrameworkConstants[_0x5ad53d(0x146)]]:_0x4537f1,[TestFrameworkConstants[_0x5ad53d(0x1aa)]]:TestFrameworkConstants[_0x5ad53d(0x285)],[TestFrameworkConstants[_0x5ad53d(0x1cb)]]:new Date()[_0x5ad53d(0x296)](),[TestFrameworkConstants[_0x5ad53d(0x21e)]]:new Date()[_0x5ad53d(0x296)](),[TestFrameworkConstants[_0x5ad53d(0x128)]]:[],[TestFrameworkConstants[_0x5ad53d(0x25a)]]:_0x1f4c67[_0x5ad53d(0x1cf)]||_0x1f4c67[_0x5ad53d(0x11a)]+_0x5ad53d(0x273),[TestFrameworkConstants[_0x5ad53d(0x288)]]:_0x2e9a91});}});}if(_0x250caa['hooks']&&_0x4ea8e2[_0x27964d(0x191)](_0x250caa['hooks'][_0x27964d(0x162)],0x0))_0xfd52ec[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x250caa[_0x27964d(0x15f)],logger[_0x27964d(0x1ff)](_0x4ea8e2[_0x27964d(0x299)]);else _0x4ea8e2[_0x27964d(0x122)](Object[_0x27964d(0x1e0)](_0x561a68)[_0x27964d(0x162)],0x0)&&(_0xfd52ec[TestFrameworkConstants[_0x27964d(0x13b)]]=_0x561a68,logger['debug'](_0x27964d(0x298)+Object[_0x27964d(0x1e0)](_0x561a68)['join'](',')));const _0x3e91e9=this[_0x27964d(0x1da)](_0x250caa);logger[_0x27964d(0x1ff)](_0x27964d(0x23f)+_0x3e91e9+_0x27964d(0x1d7)+_0x38199e+'\x20(testIdentifier),\x20result='+_0x462b9e+_0x27964d(0x182)+_0x250caa[_0x27964d(0x1ae)]);_0x4ea8e2[_0x27964d(0x188)](_0x462b9e,_0x4ea8e2[_0x27964d(0x11c)])&&logger[_0x27964d(0x1ff)]('[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId='+_0x38199e+_0x27964d(0x284)+_0xfd52ec[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]+_0x27964d(0x22b)+_0xfd52ec[TestFrameworkConstants[_0x27964d(0x209)]]?.[_0x27964d(0x1de)](0x0,0xc8));const _0x238577={};return _0x238577[_0x38199e]=_0xfd52ec,_0x238577;}[a71_0x481087(0x1a2)](_0x88eac3){const _0x577e3a=a71_0x481087,_0x43a366={};_0x43a366[_0x577e3a(0x160)]=function(_0x56d045,_0x292355){return _0x56d045!==_0x292355;},_0x43a366['OruNf']=_0x577e3a(0x1f6);const _0x5b3949=_0x43a366,_0x51a426={};_0x51a426[_0x577e3a(0x19c)]=0x2,_0x51a426[_0x577e3a(0x1e6)]=0x3,logger['debug']('[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20'+util[_0x577e3a(0x1cc)](_0x88eac3,_0x51a426));const _0x3e8066=[];if(_0x88eac3&&_0x88eac3[_0x577e3a(0x2a3)]){let _0x415686=_0x88eac3[_0x577e3a(0x2a3)];while(_0x415686&&_0x415686[_0x577e3a(0x1cf)]&&_0x5b3949[_0x577e3a(0x160)](_0x415686[_0x577e3a(0x1cf)],'')&&_0x5b3949[_0x577e3a(0x160)](_0x415686[_0x577e3a(0x1cf)],_0x5b3949[_0x577e3a(0x16f)])){_0x3e8066[_0x577e3a(0x143)](_0x415686['name']),_0x415686=_0x415686[_0x577e3a(0x2a3)];}}return _0x3e8066['reverse']();}[a71_0x481087(0x1da)](_0x23e1cd){const _0x3658d7=a71_0x481087,_0x42487b={};_0x42487b[_0x3658d7(0x21c)]='Unknown\x20Test';const _0x6e4a09=_0x42487b;if(_0x23e1cd['name'])return _0x23e1cd[_0x3658d7(0x1cf)];if(_0x23e1cd[_0x3658d7(0x132)])return _0x23e1cd[_0x3658d7(0x132)];return _0x6e4a09[_0x3658d7(0x21c)];}[a71_0x481087(0x145)](_0x325d54){const _0x8dce9c=a71_0x481087,_0x43fda3=[];if(_0x325d54[_0x8dce9c(0x291)]&&Array['isArray'](_0x325d54[_0x8dce9c(0x291)]))return _0x325d54[_0x8dce9c(0x291)]['map'](_0x5d4552=>_0x5d4552['startsWith']('@')?_0x5d4552['substr'](0x1):_0x5d4552);const _0xf64795=this[_0x8dce9c(0x1da)](_0x325d54),_0x20ba8b=_0xf64795[_0x8dce9c(0x1d1)](/@(\w+)/g);if(_0x20ba8b)return _0x20ba8b['map'](_0x36b8ee=>_0x36b8ee[_0x8dce9c(0x147)](0x1));return _0x325d54[_0x8dce9c(0x2ac)]&&Array[_0x8dce9c(0x26b)](_0x325d54['scopes'])&&_0x325d54[_0x8dce9c(0x2ac)][_0x8dce9c(0x195)](_0x704b54=>{const _0x10fc76=_0x8dce9c,_0x3b05f0=_0x704b54[_0x10fc76(0x1d1)](/@(\w+)/g);_0x3b05f0&&_0x3b05f0[_0x10fc76(0x195)](_0x4c683d=>{const _0x32effe=_0x10fc76,_0x14e064=_0x4c683d[_0x32effe(0x147)](0x1);!_0x43fda3[_0x32effe(0x270)](_0x14e064)&&_0x43fda3[_0x32effe(0x143)](_0x14e064);});}),_0x43fda3;}['getJestTestFilePath'](_0x72c7fb){const _0x6f9a98=a71_0x481087,_0x106f57={'shJVu':function(_0x1b415b,_0x2823a5){return _0x1b415b(_0x2823a5);},'RUVrV':'stack-trace'};if(_0x72c7fb[_0x6f9a98(0x1dd)])return _0x72c7fb['file_name'];if(_0x72c7fb[_0x6f9a98(0x1b7)]){const _0x45ae4e=_0x106f57['shJVu'](require,_0x106f57[_0x6f9a98(0x169)]);try{const _0x3e4f19=_0x45ae4e[_0x6f9a98(0x2b3)](_0x72c7fb[_0x6f9a98(0x1b7)]);if(_0x3e4f19[0x0]&&_0x3e4f19[0x0][_0x6f9a98(0x27a)])return _0x3e4f19[0x0][_0x6f9a98(0x27a)]();}catch(_0x35b34a){logger[_0x6f9a98(0x1ff)](_0x6f9a98(0x2ad)+util[_0x6f9a98(0x18a)](_0x35b34a));}}return null;}[a71_0x481087(0x29d)](_0x390c31){const _0x25720b=a71_0x481087,_0x216823={};_0x216823['eYZov']=function(_0x505a8f,_0x39d960){return _0x505a8f>_0x39d960;},_0x216823[_0x25720b(0x196)]=_0x25720b(0x1ab);const _0x1707f3=_0x216823;if(_0x390c31[_0x25720b(0x1c5)]&&_0x1707f3['eYZov'](_0x390c31[_0x25720b(0x1c5)][_0x25720b(0x162)],0x0))return util[_0x25720b(0x1cc)](_0x390c31[_0x25720b(0x1c5)][0x0]);if(_0x390c31[_0x25720b(0x216)])return _0x390c31[_0x25720b(0x216)];return _0x1707f3[_0x25720b(0x196)];}[a71_0x481087(0x260)](_0x4f614b){const _0x57986a=a71_0x481087,_0x4b852f={};_0x4b852f[_0x57986a(0x252)]='Assert',_0x4b852f[_0x57986a(0x177)]=_0x57986a(0x197),_0x4b852f[_0x57986a(0x1d9)]=_0x57986a(0x240);const _0x3099d7=_0x4b852f,_0x10bab5=this[_0x57986a(0x29d)](_0x4f614b);if(_0x10bab5&&_0x10bab5[_0x57986a(0x270)](_0x3099d7[_0x57986a(0x252)]))return _0x3099d7[_0x57986a(0x177)];return _0x3099d7['Zqpcy'];}[a71_0x481087(0x276)](_0x3f5d21){const _0x2e9585=a71_0x481087,_0x2983c9={'GLcFY':function(_0x4b742e,_0x1af912){return _0x4b742e(_0x1af912);},'oROzx':_0x2e9585(0x173),'qmyst':function(_0x2e7c5d,_0x2ed908){return _0x2e7c5d!==_0x2ed908;},'SkGEd':_0x2e9585(0x1e7)},{failureData:_0x4c6f19}=_0x2983c9[_0x2e9585(0x1f2)](require,_0x2983c9[_0x2e9585(0x1e3)]),_0x301db0=[];return _0x2983c9[_0x2e9585(0x1f5)](_0x3f5d21[_0x2e9585(0x1c5)],undefined)&&_0x301db0['push'](_0x3f5d21[_0x2e9585(0x1c5)],_0x2983c9[_0x2e9585(0x12a)]),_0x4c6f19[_0x2e9585(0x275)](null,_0x301db0);}async['trackHookEvent'](_0x4a5bed,_0x3e8698,_0x80d46f,_0x328274){const _0x407300=a71_0x481087,_0x10163d={'rTsEK':'[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','wYOVz':function(_0x109c59){return _0x109c59();},'tMTwp':function(_0x47a72d,_0x40703c){return _0x47a72d in _0x40703c;},'IKUGJ':function(_0x5dc8a4,_0x466366){return _0x5dc8a4===_0x466366;},'pUzjd':function(_0x521553,_0x4258cb){return _0x521553===_0x4258cb;},'kdNeC':function(_0x2791df,_0x61f244){return _0x2791df>_0x61f244;},'GoIKZ':_0x407300(0x153),'GsqtT':_0x407300(0x1e9),'efmVh':function(_0x2a1fe2,_0x16d594){return _0x2a1fe2!==_0x16d594;}},{hookData:_0x3bbafb}=_0x328274,_0x54e95a=_0x80d46f[_0x407300(0x227)](),_0x491a33=_0x3e8698[_0x407300(0x227)](),_0x2984f2={};_0x2984f2[_0x407300(0x19c)]=0x2,_0x2984f2['maxArrayLength']=0x3,logger[_0x407300(0x1ff)](_0x407300(0x144)+_0x491a33+_0x407300(0x1ba)+_0x54e95a+_0x407300(0x14e)+util[_0x407300(0x1cc)](_0x3bbafb,_0x2984f2));if(!_0x3bbafb)return logger[_0x407300(0x1ff)](_0x10163d['rTsEK']),{};const _0x288c19=_0x3bbafb[_0x407300(0x249)]||_0x3bbafb['hookAnalyticsId']||_0x10163d[_0x407300(0x141)](uuidv4),_0xc4a24d=_0x3bbafb['test_run_id']||this[_0x407300(0x192)](_0x3bbafb),_0x15172e=_0x3e8698[_0x407300(0x227)]()[_0x407300(0x16c)]('.')[0x1],_0x1f6c7b=_0x4a5bed[_0x407300(0x29a)]()[_0x407300(0x2b1)](_0xc4a24d),_0x282466=_0x1f6c7b?_0x1f6c7b[TestFrameworkConstants[_0x407300(0x288)]]||{}:{};logger[_0x407300(0x1ff)]('[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId='+_0x288c19+_0x407300(0x1d7)+_0xc4a24d+'\x20(testIdentifier),\x20hookType='+_0x15172e+_0x407300(0x1ba)+_0x54e95a);if(!_0x1f6c7b)return logger[_0x407300(0x1ff)](_0x407300(0x1d6)+_0xc4a24d+_0x407300(0x265)),this[_0x407300(0x14b)](_0x4a5bed,_0xc4a24d,_0x3e8698,_0x80d46f,_0x328274),{};let _0x104ed4=_0x1f6c7b[TestFrameworkConstants[_0x407300(0x1b4)]];!_0x104ed4&&(_0x104ed4={});!_0x10163d[_0x407300(0x289)](_0x15172e,_0x104ed4)&&(_0x104ed4[_0x15172e]=[]);let _0x2961c7=_0x1f6c7b[TestFrameworkConstants[_0x407300(0x13b)]];!_0x2961c7&&(_0x2961c7={});!_0x10163d[_0x407300(0x289)](_0x15172e,_0x2961c7)&&(_0x2961c7[_0x15172e]=[]);const _0x224663={[TestFrameworkConstants[_0x407300(0x1b4)]]:_0x104ed4,[TestFrameworkConstants[_0x407300(0x13b)]]:_0x2961c7},_0x398c2d={};_0x398c2d[_0xc4a24d]=_0x224663;const _0x5803f8=_0x398c2d;if(_0x10163d[_0x407300(0x120)](_0x80d46f,HookState['PRE'])){const _0x46535a={'key':_0x15172e,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x288c19,[TestFrameworkConstants[_0x407300(0x1aa)]]:TestFrameworkConstants[_0x407300(0x285)],[TestFrameworkConstants[_0x407300(0x1cb)]]:_0x3bbafb[_0x407300(0x183)]||new Date()[_0x407300(0x296)](),[TestFrameworkConstants[_0x407300(0x128)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x3bbafb[_0x407300(0x1cf)]||_0x3bbafb['hook_type']||_0x15172e,[TestFrameworkConstants[_0x407300(0x288)]]:_0x282466};_0x104ed4[_0x15172e][_0x407300(0x143)](_0x46535a),_0x5803f8[_0xc4a24d][TestFrameworkConstants[_0x407300(0x24a)]]=_0x15172e;const _0x175884={};_0x175884['depth']=0x2,logger[_0x407300(0x1ff)](_0x407300(0x17e)+_0x15172e+_0x407300(0x2a0)+_0x288c19+',\x20testId='+_0xc4a24d+_0x407300(0x155)+util[_0x407300(0x1cc)](_0x46535a,_0x175884));}else{if(_0x10163d[_0x407300(0x2b2)](_0x80d46f,HookState[_0x407300(0x239)])){const _0x2e8b32=_0x3bbafb[_0x407300(0x14a)]||(_0x3bbafb[_0x407300(0x1c5)]&&_0x10163d[_0x407300(0x201)](_0x3bbafb[_0x407300(0x1c5)][_0x407300(0x162)],0x0)?_0x10163d[_0x407300(0x21f)]:_0x10163d[_0x407300(0x118)]),_0x2333b3=_0x104ed4[_0x15172e]||[];logger[_0x407300(0x1ff)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType='+_0x15172e+',\x20testId='+_0xc4a24d+',\x20result='+_0x2e8b32+_0x407300(0x218)+_0x2333b3[_0x407300(0x162)]);if(_0x10163d[_0x407300(0x201)](_0x2333b3[_0x407300(0x162)],0x0)){const _0xaca59e=_0x2333b3[_0x407300(0x24b)]();_0x10163d[_0x407300(0x120)](_0x2e8b32,_0x10163d[_0x407300(0x21f)])&&_0x3bbafb[_0x407300(0x1c5)]?(_0xaca59e[TestFrameworkConstants[_0x407300(0x228)]]=this[_0x407300(0x260)](_0x3bbafb),_0xaca59e[TestFrameworkConstants[_0x407300(0x1ea)]]=this[_0x407300(0x29d)](_0x3bbafb),_0xaca59e[TestFrameworkConstants[_0x407300(0x18c)]]=this[_0x407300(0x276)](_0x3bbafb),logger[_0x407300(0x1ff)](_0x407300(0x2a7)+_0x15172e+_0x407300(0x284)+_0xaca59e[TestFrameworkConstants[_0x407300(0x228)]]+',\x20failureReason='+_0xaca59e[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]?.[_0x407300(0x1de)](0x0,0xc8))):_0xaca59e[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x10163d[_0x407300(0x118)];_0x10163d[_0x407300(0x28c)](_0x2e8b32,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0xaca59e[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x2e8b32);_0xaca59e[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x3bbafb['finished_at']||new Date()[_0x407300(0x296)](),_0xaca59e[TestFrameworkConstants[_0x407300(0x288)]]=_0x282466;const _0x2b6863=_0xaca59e[TestFrameworkConstants[_0x407300(0x146)]];!_0x2961c7[_0x15172e]&&(_0x2961c7[_0x15172e]=[]);_0x2961c7[_0x15172e]['push'](_0xaca59e),_0x5803f8[_0xc4a24d][TestFrameworkConstants[_0x407300(0x211)]]=_0x15172e;const _0x484db7={};_0x484db7['depth']=0x2,logger[_0x407300(0x1ff)](_0x407300(0x16d)+_0x15172e+_0x407300(0x2a0)+_0x2b6863+_0x407300(0x149)+_0x2e8b32+_0x407300(0x155)+util['inspect'](_0xaca59e,_0x484db7));}}}const _0x5e1c28={};return _0x5e1c28['depth']=0x2,_0x5e1c28[_0x407300(0x1e6)]=0x3,logger[_0x407300(0x1ff)](_0x407300(0x125)+(_0x3bbafb[_0x407300(0x206)]||_0x15172e)+_0x407300(0x2a0)+_0x288c19+_0x407300(0x1d7)+_0xc4a24d+_0x407300(0x154)+util['inspect'](_0x5803f8,_0x5e1c28)),_0x5803f8;}[a71_0x481087(0x279)](_0x385bba){const _0x54dce=a71_0x481087,_0x81d924={};_0x81d924[_0x54dce(0x193)]=_0x54dce(0x11e);const _0x22955f=_0x81d924;try{const _0xee40c5=_0x385bba[_0x54dce(0x1e7)]?this[_0x54dce(0x192)](_0x385bba[_0x54dce(0x1e7)]):_0x385bba['hookData']['test_run_id'],_0x22e3a0=_0x385bba['instance'],_0x59cdbe=_0x22e3a0[_0x54dce(0x1a0)](),_0x3d93a1=_0x22e3a0[_0x54dce(0x29a)]()['get'](_0xee40c5);if(!_0x3d93a1)return logger[_0x54dce(0x1ff)](_0x54dce(0x13d)+_0xee40c5),{};const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x1c35a3='',[TestFrameworkConstants[_0x54dce(0x1e2)]]:_0x1d4a7f='',[TestFrameworkConstants[_0x54dce(0x215)]]:_0x636266='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0xb8d4d5=''}=_0x3d93a1,_0x6a1db=_0x22e3a0[_0x54dce(0x164)]()[_0x54dce(0x227)]()[_0x54dce(0x16c)]('.')[0x1],_0x5917c4=_0x22e3a0[_0x54dce(0x25e)]()[_0x54dce(0x227)]()[_0x54dce(0x16c)]('.')[0x1],_0x5bad76=global?.['__workerDetails']?.['workerInfo']?.[_0x54dce(0x264)],_0x2d86e5=_0x22e3a0[_0x54dce(0x231)](),_0xbcc980=Buffer[_0x54dce(0x12f)](JSON[_0x54dce(0x1d8)](_0x3d93a1))['toString'](_0x22955f[_0x54dce(0x193)]),_0x43f8e2={'hash':_0x59cdbe['getId'](),'threadId':_0x59cdbe[_0x54dce(0x199)]()[_0x54dce(0x227)](),'processId':_0x59cdbe['getProcessId']()['toString']()},_0x2139f6={};_0x2139f6[_0x54dce(0x1b2)]=_0x5bad76,_0x2139f6[_0x54dce(0x214)]=_0x1c35a3,_0x2139f6['testFrameworkVersion']=_0x1d4a7f,_0x2139f6[_0x54dce(0x1c3)]=_0x6a1db,_0x2139f6[_0x54dce(0x280)]=_0x5917c4,_0x2139f6[_0x54dce(0x1c7)]=_0x636266,_0x2139f6[_0x54dce(0x1ac)]=_0xb8d4d5,_0x2139f6['uuid']=_0x2d86e5,_0x2139f6[_0x54dce(0x172)]=_0xbcc980,_0x2139f6['executionContext']=_0x43f8e2,_0x2139f6[_0x54dce(0x261)]=_0xee40c5;const _0x3d6461=_0x2139f6;return _0x3d6461;}catch(_0x10e4c6){return logger[_0x54dce(0x294)]('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util[_0x54dce(0x18a)](_0x10e4c6)),{};}}async['sendLogCreatedEvent'](_0x28c38e,_0x11976f,_0x39ecda){const _0x76f1ba=a71_0x481087,_0x53b59d={'CUEbN':function(_0x707a89,_0x4c4f92){return _0x707a89+_0x4c4f92;},'WRHTh':_0x76f1ba(0x246),'wdzrU':'none','zzYkH':function(_0x34333c,_0x2190e5){return _0x34333c>_0x2190e5;},'dXjmv':function(_0x572bac,_0x186ed9,_0x2ed0c8,_0x51f6b9){return _0x572bac(_0x186ed9,_0x2ed0c8,_0x51f6b9);},'CoAMn':function(_0x21affa,_0x203628){return _0x21affa-_0x203628;},'oDiGt':function(_0x346dd4,_0x4f6da5){return _0x346dd4===_0x4f6da5;},'HfmLb':function(_0x794fc3,_0x503b36){return _0x794fc3/_0x503b36;},'bcnbe':function(_0x33e303,_0x333a64){return _0x33e303<_0x333a64;},'aMFMS':function(_0x488823,_0x577a28){return _0x488823*_0x577a28;},'foGlQ':function(_0x169566,_0x420571){return _0x169566+_0x420571;},'qQLkn':function(_0x14cd8c,_0x306bdc){return _0x14cd8c+_0x306bdc;},'oHmzJ':function(_0x2d79c1,_0x60aad6){return _0x2d79c1+_0x60aad6;}};try{const _0x5242ed=_0x39ecda['testUUID']||_0x39ecda[_0x76f1ba(0x233)],_0x352d81=Array[_0x76f1ba(0x12f)](_0x28c38e['getAllData']()[_0x76f1ba(0x1e0)]()),_0x466371=_0x28c38e['getAllData']()['get'](_0x5242ed);if(!_0x466371){logger[_0x76f1ba(0x1ff)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x5242ed);return;}const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x5a654d='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x4f2585=''}=_0x466371;let _0x2e6daf=[];if(_0x466371&&_0x466371[TestFrameworkConstants[_0x76f1ba(0x253)]]&&Array[_0x76f1ba(0x26b)](_0x466371[TestFrameworkConstants['KEY_LOGS']])){_0x2e6daf=_0x466371[TestFrameworkConstants['KEY_LOGS']]||[],logger[_0x76f1ba(0x1ff)](_0x76f1ba(0x179)+_0x2e6daf[_0x76f1ba(0x162)]+_0x76f1ba(0x19f)+_0x5242ed);const _0x43a320={[TestFrameworkConstants[_0x76f1ba(0x253)]]:[]},_0x518ebf={};_0x518ebf[_0x5242ed]=_0x43a320,_0x28c38e[_0x76f1ba(0x2a9)](_0x518ebf),logger['debug'](_0x76f1ba(0x267)+_0x5242ed);}else logger[_0x76f1ba(0x1ff)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0x5242ed);logger[_0x76f1ba(0x1ff)](_0x76f1ba(0x1a5)+_0x2e6daf['length']+_0x76f1ba(0x152)+_0x5242ed);const _0x408b37=_0x2e6daf[_0x76f1ba(0x17c)](_0x20f785=>_0x20f785[_0x76f1ba(0x15c)]===_0x76f1ba(0x28e));_0x53b59d[_0x76f1ba(0x277)](_0x408b37[_0x76f1ba(0x162)],0x0)&&(logger[_0x76f1ba(0x1ff)](_0x76f1ba(0x1c6)+_0x408b37['length']+'\x20screenshot\x20logs\x20for\x20testId:\x20'+_0x5242ed),_0x408b37[_0x76f1ba(0x195)]((_0x420283,_0x3f5cb4)=>{const _0x59450f=_0x76f1ba;logger[_0x59450f(0x1ff)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20'+_0x53b59d[_0x59450f(0x23b)](_0x3f5cb4,0x1)+'/'+_0x408b37[_0x59450f(0x162)]+_0x59450f(0x20b)+(_0x420283['test_identifier']||_0x53b59d['WRHTh'])+_0x59450f(0x19e)+(_0x420283[_0x59450f(0x221)]||_0x53b59d[_0x59450f(0x262)])+_0x59450f(0x1af)+(_0x420283[_0x59450f(0x26c)]||_0x53b59d[_0x59450f(0x29c)])+_0x59450f(0x1db)+(_0x420283[_0x59450f(0x194)]?.[_0x59450f(0x162)]||0x0));}));const _0x4322ad=_0x466371[TestFrameworkConstants[_0x76f1ba(0x1c4)]]||{},_0x26475f=_0x53b59d['dXjmv'](getMediaArtifactsLogs,_0x4322ad,null,_0x5242ed),_0x4ba17f=(_0x2e6daf||[])['concat'](_0x26475f||[]),_0x27bfd7=_0x408b37?.[_0x76f1ba(0x162)]||0x0,_0x499867=_0x53b59d[_0x76f1ba(0x1eb)](_0x2e6daf?.[_0x76f1ba(0x162)]||0x0,_0x27bfd7);logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20'+_0x5242ed+_0x76f1ba(0x247)+_0x499867+_0x76f1ba(0x2ab)+_0x27bfd7+_0x76f1ba(0x257)+(_0x26475f?.[_0x76f1ba(0x162)]||0x0)+_0x76f1ba(0x1bd)+_0x4ba17f[_0x76f1ba(0x162)]);if(!_0x4ba17f||_0x53b59d[_0x76f1ba(0x250)](_0x4ba17f['length'],0x0)){logger[_0x76f1ba(0x1ff)](_0x76f1ba(0x238)+_0x5242ed);return;}const _0xf0134f=0x28,_0x16fdd6=Math[_0x76f1ba(0x1b6)](_0x53b59d[_0x76f1ba(0x25b)](_0x4ba17f[_0x76f1ba(0x162)],_0xf0134f));for(let _0x4d5121=0x0;_0x53b59d[_0x76f1ba(0x26f)](_0x4d5121,_0x16fdd6);_0x4d5121++){const _0x578e9e=_0x53b59d[_0x76f1ba(0x243)](_0x4d5121,_0xf0134f),_0x5a2f8d=_0x53b59d[_0x76f1ba(0x116)](_0x578e9e,_0xf0134f),_0x2d8f38=_0x4ba17f[_0x76f1ba(0x147)](_0x578e9e,_0x5a2f8d),_0x4eda8a=global?.['__workerDetails']?.[_0x76f1ba(0x1fb)]?.[_0x76f1ba(0x264)]||0x0,_0x2ca175={'platformIndex':_0x4eda8a,'logs':_0x2d8f38,'testFrameworkName':_0x5a654d,'testFrameworkVersion':_0x4f2585,'testFrameworkState':_0x11976f[_0x76f1ba(0x227)]()['split']('.')[0x1]},_0x2454d5={};_0x2454d5['depth']=0x3,_0x2454d5['maxArrayLength']=0x5,logger[_0x76f1ba(0x1ff)](_0x76f1ba(0x159)+_0x53b59d[_0x76f1ba(0x18e)](_0x4d5121,0x1)+'/'+_0x16fdd6+_0x76f1ba(0x167)+_0x5242ed+_0x76f1ba(0x1ce)+_0x2d8f38[_0x76f1ba(0x162)]+_0x76f1ba(0x137)+_0x4eda8a+_0x76f1ba(0x1e8)+util[_0x76f1ba(0x1cc)](_0x2ca175,_0x2454d5));const _0x56cfe5=await GrpcClient['getInstance']()[_0x76f1ba(0x1b0)](_0x2ca175);logger[_0x76f1ba(0x1ff)](_0x76f1ba(0x159)+_0x53b59d['oHmzJ'](_0x4d5121,0x1)+'/'+_0x16fdd6+'\x20-\x20testId:\x20'+_0x5242ed+_0x76f1ba(0x20a)+util[_0x76f1ba(0x1cc)](_0x56cfe5));}if(_0x26475f&&_0x53b59d[_0x76f1ba(0x277)](_0x26475f[_0x76f1ba(0x162)],0x0)&&_0x466371[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]){const _0x145a28={[TestFrameworkConstants[_0x76f1ba(0x1c4)]]:{}},_0x300874={};_0x300874[_0x5242ed]=_0x145a28,_0x28c38e['addMultipleEntries'](_0x300874);}logger[_0x76f1ba(0x1ff)](_0x76f1ba(0x1cd)+_0x5242ed+_0x76f1ba(0x13a)+_0x16fdd6);}catch(_0xeb5b76){logger[_0x76f1ba(0x294)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20'+(_0x39ecda[_0x76f1ba(0x1ad)]||_0x39ecda[_0x76f1ba(0x233)])+',\x20error:\x20'+util['format'](_0xeb5b76));}}[a71_0x481087(0x14b)](_0x2f411f,_0x50d94d,_0x44b2b7,_0x373d06,_0x392360){const _0x2bf4b3=a71_0x481087,_0x375c86={};_0x375c86[_0x2bf4b3(0x2aa)]=function(_0x57dcad,_0x234e2a){return _0x57dcad===_0x234e2a;},_0x375c86[_0x2bf4b3(0x24d)]=_0x2bf4b3(0x184);const _0x36856b=_0x375c86,{hookData:_0x1f69f0}=_0x392360,_0x1ec96a={'testId':_0x50d94d,'testFrameworkState':_0x44b2b7,'hookState':_0x373d06,'args':_0x392360,'timestamp':new Date()[_0x2bf4b3(0x296)]()};if(_0x36856b[_0x2bf4b3(0x2aa)](_0x44b2b7,TestFrameworkState[_0x2bf4b3(0x134)])&&_0x1f69f0){const _0x342961={};_0x342961['filePath']=_0x1f69f0[_0x2bf4b3(0x1dd)]||_0x1f69f0[_0x2bf4b3(0x1ec)],_0x342961[_0x2bf4b3(0x23c)]=_0x1f69f0[_0x2bf4b3(0x23c)]||_0x1f69f0[_0x2bf4b3(0x2ac)]&&_0x1f69f0[_0x2bf4b3(0x2ac)][0x0]||'',_0x342961['hookType']=_0x36856b['unoin'],_0x1ec96a[_0x2bf4b3(0x1b5)]=_0x342961,logger['debug'](_0x2bf4b3(0x1c9)+_0x50d94d+_0x2bf4b3(0x1f7)+_0x1ec96a[_0x2bf4b3(0x1b5)][_0x2bf4b3(0x28b)]+_0x2bf4b3(0x222)+_0x1ec96a['hookMetadata'][_0x2bf4b3(0x23c)]);}_0x2f411f[_0x2bf4b3(0x161)](_0x50d94d,_0x1ec96a),logger[_0x2bf4b3(0x1ff)]('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x50d94d+',\x20state:\x20'+_0x44b2b7+_0x2bf4b3(0x27f)+_0x373d06);}async[a71_0x481087(0x151)](_0x4834e6,_0x8627ac){const _0x43f0c8=a71_0x481087,_0x5a98be={};_0x5a98be[_0x43f0c8(0x131)]=function(_0x42a0c3,_0x5bb0af){return _0x42a0c3>_0x5bb0af;},_0x5a98be['BWIAI']=_0x43f0c8(0x29f),_0x5a98be[_0x43f0c8(0x1c2)]=function(_0x561fc3,_0x34a910){return _0x561fc3===_0x34a910;},_0x5a98be[_0x43f0c8(0x27b)]=function(_0x1cdcfc,_0x112a9f){return _0x1cdcfc===_0x112a9f;},_0x5a98be['HoxKf']=function(_0x22c0f2,_0x4cb708){return _0x22c0f2===_0x4cb708;},_0x5a98be[_0x43f0c8(0x24f)]=_0x43f0c8(0x220),_0x5a98be[_0x43f0c8(0x16e)]=_0x43f0c8(0x17a);const _0x59f94d=_0x5a98be;if(_0x4834e6['hasPendingHooks'](_0x8627ac)){const _0x19e203=_0x4834e6[_0x43f0c8(0x254)](_0x8627ac);logger[_0x43f0c8(0x1ff)](_0x43f0c8(0x235)+_0x19e203[_0x43f0c8(0x162)]+_0x43f0c8(0x274)+_0x8627ac);for(const _0x4b463b of _0x19e203){try{const _0x245435=await this['trackHookEvent'](_0x4834e6,_0x4b463b['testFrameworkState'],_0x4b463b['hookState'],_0x4b463b[_0x43f0c8(0x11b)]);_0x245435&&_0x59f94d['FVnCw'](Object[_0x43f0c8(0x1e0)](_0x245435)['length'],0x0)&&_0x4834e6[_0x43f0c8(0x2a9)](_0x245435),await this['runHooks'](_0x4834e6,_0x4b463b[_0x43f0c8(0x1c3)],_0x4b463b['hookState'],_0x4b463b[_0x43f0c8(0x11b)]);}catch(_0x51689a){logger[_0x43f0c8(0x294)](_0x43f0c8(0x21a)+_0x8627ac+_0x43f0c8(0x1f8)+_0x51689a);}}_0x4834e6[_0x43f0c8(0x293)](_0x8627ac),logger[_0x43f0c8(0x1ff)]('Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20'+_0x8627ac);}const _0x4c8381=_0x4834e6[_0x43f0c8(0x29a)]()[_0x43f0c8(0x2b1)](_0x8627ac);if(_0x4c8381){const _0x771adb=_0x4c8381[TestFrameworkConstants[_0x43f0c8(0x25d)]]||_0x4c8381[TestFrameworkConstants[_0x43f0c8(0x123)]],_0x156372=_0x4c8381[TestFrameworkConstants['KEY_TEST_SCOPE']]||_0x4c8381[TestFrameworkConstants[_0x43f0c8(0x1fd)]]&&_0x4c8381[TestFrameworkConstants[_0x43f0c8(0x1fd)]][0x0]||'';logger[_0x43f0c8(0x1ff)](_0x59f94d[_0x43f0c8(0x150)]);const _0x19b83c=_0x4834e6[_0x43f0c8(0x156)]();for(const _0x565b4e of _0x19b83c){if(_0x59f94d[_0x43f0c8(0x1c2)](_0x565b4e,_0x8627ac))continue;if(_0x4834e6['hasPendingHooks'](_0x565b4e)){const _0x1a98a7=_0x4834e6[_0x43f0c8(0x254)](_0x565b4e);for(const _0xfbcf06 of _0x1a98a7){if(_0x59f94d[_0x43f0c8(0x1c2)](_0xfbcf06[_0x43f0c8(0x1c3)],TestFrameworkState[_0x43f0c8(0x134)])&&_0xfbcf06[_0x43f0c8(0x1b5)]){const _0x265086=_0xfbcf06[_0x43f0c8(0x1b5)]['filePath'],_0x4e96b5=_0xfbcf06[_0x43f0c8(0x1b5)][_0x43f0c8(0x23c)];if(_0x59f94d['AgnKz'](_0x265086,_0x771adb)&&_0x59f94d[_0x43f0c8(0x27b)](_0x4e96b5,_0x156372)){logger['debug'](_0x43f0c8(0x180)+_0x565b4e+_0x43f0c8(0x1f4)+_0x8627ac+',\x20filePath:\x20'+_0x265086+_0x43f0c8(0x222)+_0x4e96b5);_0xfbcf06[_0x43f0c8(0x11b)]&&_0xfbcf06[_0x43f0c8(0x11b)]['hookData']&&(_0xfbcf06[_0x43f0c8(0x11b)][_0x43f0c8(0x266)][_0x43f0c8(0x1d2)]=_0x8627ac,logger[_0x43f0c8(0x1ff)](_0x43f0c8(0x2a6)+_0x565b4e+'\x20to\x20'+_0x8627ac));try{const _0x58d8cb=await this[_0x43f0c8(0x234)](_0x4834e6,_0xfbcf06[_0x43f0c8(0x1c3)],_0xfbcf06[_0x43f0c8(0x280)],_0xfbcf06[_0x43f0c8(0x11b)]);_0x58d8cb&&_0x59f94d['FVnCw'](Object[_0x43f0c8(0x1e0)](_0x58d8cb)[_0x43f0c8(0x162)],0x0)&&_0x4834e6[_0x43f0c8(0x2a9)](_0x58d8cb);await this[_0x43f0c8(0x163)](_0x4834e6,_0xfbcf06[_0x43f0c8(0x1c3)],_0xfbcf06[_0x43f0c8(0x280)],_0xfbcf06['args']);const _0x177452=_0x4834e6[_0x43f0c8(0x254)](_0x565b4e)[_0x43f0c8(0x17c)](_0x8b2849=>_0x8b2849!==_0xfbcf06);if(_0x59f94d['HoxKf'](_0x177452[_0x43f0c8(0x162)],0x0))_0x4834e6[_0x43f0c8(0x293)](_0x565b4e);else{_0x4834e6[_0x43f0c8(0x293)](_0x565b4e);for(const _0x550f83 of _0x177452){_0x4834e6[_0x43f0c8(0x161)](_0x565b4e,_0x550f83);}}logger[_0x43f0c8(0x1ff)](_0x59f94d[_0x43f0c8(0x24f)]);}catch(_0x2c7576){logger['error'](_0x59f94d['seMNH']);}}}}}}}}['mapTestHooks'](_0x16087a){const _0x3d8362=a71_0x481087,_0xa0b576={'sIDXT':function(_0x4f78d1){return _0x4f78d1();}};if(!_0x16087a||!_0x16087a[_0x3d8362(0x2a3)])return;_0x16087a[_0x3d8362(0x2a3)][_0x3d8362(0x15f)]&&Array[_0x3d8362(0x26b)](_0x16087a['parent'][_0x3d8362(0x15f)])&&_0x16087a[_0x3d8362(0x2a3)]['hooks'][_0x3d8362(0x195)](_0x220d16=>{const _0x2bef44=_0x3d8362;!_0x220d16['hookAnalyticsId']&&!_0x220d16[_0x2bef44(0x290)]&&(_0x220d16[_0x2bef44(0x187)]=_0xa0b576[_0x2bef44(0x1fa)](uuidv4),_0x220d16[_0x2bef44(0x290)]=_0x220d16['hookAnalyticsId'],logger['debug'](_0x2bef44(0x20c)+_0x220d16['type']+_0x2bef44(0x224)+_0x220d16[_0x2bef44(0x187)]));}),this[_0x3d8362(0x271)](_0x16087a['parent']);}[a71_0x481087(0x138)](_0x5ca1f8){const _0x2b86b5=a71_0x481087,_0x4eef6c={'tekFg':function(_0x143929,_0x2bdc8c){return _0x143929(_0x2bdc8c);}};if(!_0x5ca1f8||!_0x5ca1f8[_0x2b86b5(0x2a3)])return[];const _0x211cc7=[];return _0x5ca1f8[_0x2b86b5(0x2a3)][_0x2b86b5(0x15f)]&&Array[_0x2b86b5(0x26b)](_0x5ca1f8[_0x2b86b5(0x2a3)][_0x2b86b5(0x15f)])&&_0x5ca1f8[_0x2b86b5(0x2a3)][_0x2b86b5(0x15f)][_0x2b86b5(0x195)](_0x2f6902=>{const _0x3090fc=_0x2b86b5,_0x41779f=_0x2f6902[_0x3090fc(0x187)]||_0x2f6902[_0x3090fc(0x290)];_0x41779f&&!this['isJestInternalHook'](_0x2f6902)&&!_0x4eef6c[_0x3090fc(0x1f1)](isInternalHook,_0x2f6902['fn'])&&_0x211cc7['push'](_0x41779f);}),[..._0x211cc7,...this[_0x2b86b5(0x138)](_0x5ca1f8['parent'])];}['buildHookMapFromTest'](_0x282c9c){const _0xb91681=a71_0x481087,_0x2b850d={'cuwpU':function(_0x2c1c76,_0xc817af){return _0x2c1c76(_0xc817af);},'GxVDR':_0xb91681(0x12d),'jDMTc':function(_0x23368e,_0x2e67c0){return _0x23368e(_0x2e67c0);}},_0x41cc3e=new Map(),_0x40a122=_0x4b165e=>{const _0x4c9c90=_0xb91681,_0x5ce862={'ljwRv':function(_0x1572d2,_0x5c346f){return _0x2b850d['cuwpU'](_0x1572d2,_0x5c346f);},'MJKIb':_0x2b850d[_0x4c9c90(0x2a4)]};if(!_0x4b165e||!_0x4b165e[_0x4c9c90(0x2a3)])return;_0x4b165e[_0x4c9c90(0x2a3)][_0x4c9c90(0x15f)]&&Array['isArray'](_0x4b165e[_0x4c9c90(0x2a3)][_0x4c9c90(0x15f)])&&_0x4b165e[_0x4c9c90(0x2a3)]['hooks'][_0x4c9c90(0x195)](_0x271b2b=>{const _0x2a039f=_0x4c9c90,_0x890438=_0x271b2b['hookAnalyticsId']||_0x271b2b[_0x2a039f(0x290)];if(_0x890438&&!this['isJestInternalHook'](_0x271b2b)&&!_0x5ce862[_0x2a039f(0x168)](isInternalHook,_0x271b2b['fn'])){const _0x374a0b={};_0x374a0b['type']=_0x271b2b[_0x2a039f(0x11a)]||_0x5ce862['MJKIb'],_0x374a0b[_0x2a039f(0x1cf)]=_0x271b2b['name']||'\x22'+_0x271b2b['type']+_0x2a039f(0x12b),_0x41cc3e[_0x2a039f(0x1f3)](_0x890438,_0x374a0b);}}),_0x2b850d['jDMTc'](_0x40a122,_0x4b165e[_0x4c9c90(0x2a3)]);};return _0x2b850d[_0xb91681(0x157)](_0x40a122,_0x282c9c),_0x41cc3e;}[a71_0x481087(0x12c)](_0x550c98){const _0x16165b=a71_0x481087,_0x5c125d={};_0x5c125d[_0x16165b(0x148)]='jest-circus',_0x5c125d['skKWq']=_0x16165b(0x232);const _0x559e48=_0x5c125d;try{const _0x1f5591=this['getRootParentFile'](_0x550c98);return _0x1f5591&&_0x1f5591['includes'](_0x559e48[_0x16165b(0x148)]);}catch(_0x2b0cde){logger[_0x16165b(0x1ff)](_0x559e48['skKWq']);}return![];}[a71_0x481087(0x223)](_0x425f06){const _0x3182a1=a71_0x481087;if(_0x425f06[_0x3182a1(0x1b7)])try{const _0x216190=stackTrace[_0x3182a1(0x2b3)](_0x425f06[_0x3182a1(0x1b7)]);return _0x216190[0x0]?_0x216190[0x0][_0x3182a1(0x27a)]():null;}catch(_0x41a1fd){logger[_0x3182a1(0x1ff)](_0x3182a1(0x185)+util['format'](_0x41a1fd));}if(_0x425f06[_0x3182a1(0x225)])return _0x425f06[_0x3182a1(0x225)];return null;}}module[a71_0x481087(0x207)]=JestTestFramework;
1
+ const a71_0x2f4828=a71_0x218f;(function(_0x533a09,_0x5d60aa){const _0x4efb38=a71_0x218f,_0xeb4b9=_0x533a09();while(!![]){try{const _0x2eb69f=parseInt(_0x4efb38(0x1c9))/0x1*(parseInt(_0x4efb38(0x187))/0x2)+-parseInt(_0x4efb38(0x236))/0x3+-parseInt(_0x4efb38(0x1e7))/0x4+parseInt(_0x4efb38(0x1e3))/0x5+parseInt(_0x4efb38(0x119))/0x6+-parseInt(_0x4efb38(0x169))/0x7*(parseInt(_0x4efb38(0x111))/0x8)+parseInt(_0x4efb38(0x1eb))/0x9;if(_0x2eb69f===_0x5d60aa)break;else _0xeb4b9['push'](_0xeb4b9['shift']());}catch(_0x59daad){_0xeb4b9['push'](_0xeb4b9['shift']());}}}(a71_0x5189,0x3af54));function a71_0x5189(){const _0x270230=['push','\x20-\x20testId:\x20',',\x20remainingHooks=','UnhandledError','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','eQRdT',',\x20scope:\x20','toString','getHooksForTest','hookAnalyticsId','test','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','RrJvm','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','setTrackedInstance',',\x20updates=','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','testUUID','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','QCXMH','base64','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=',',\x20hook_run_uuid=',',\x20payload:\x20','SSEqv','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22',',\x20duration=','DEFAULT_TEST_RESULT','hookUUID','WqLIQ','getInstance','getPendingHooks','warn','error','KEY_TEST_FAILURE_TYPE','wqklS',',\x20test_run_uuid=','KEY_HOOK_RESULT','ScCke','title','KEY_TEST_FILE_PATH','trackJestInstance','getJestTestTags','getFileName','./constants/testFrameworkConstants.js','TwLNp','eIEYC','HOjeZ','11boXcJN','apply','duration','hooks','map','trackHookEvent','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','./testFramework',',\x20result=','Stored\x20pending\x20hook\x20for\x20testId:\x20','asyncError','failed','replace','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','BoiLy','LXdRB','KEY_HOOK_LAST_STARTED',',\x20filePath:\x20','event_ended_at','aiXot','DiDgD','../../../helpers/test-observability/utils','trackJestInstance:\x20instance\x20already\x20exists',',\x20screenshotLogs:\x20','POST','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','529170nwOfsO','qbXtG','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20${testFilePath},\x20scope:\x20${testScope}','getRootParentFile','1330884jGesdn','get','XTaaF','getJestTestScopes','4511619HuJStG','parseJestTest','MJyJW','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND','filePath','xHVlC','substr','parse','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','getRef','pid','[JestTestFramework]\x20trackHookEvent:\x20SUCCESS\x20-\x20hookType=',',\x20error:\x20','Processing\x20','startedAt','file_name','EPbAD','hook_id','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','util','gHsyW','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','hookType',',\x20hook=','hook_result','getCurrentTestState','KEY_CUSTOM_TAGS','testFrameworkState','message','length','getAllData','RNFVM','storePendingHook',':testAnalyticsId','buildHookMapFromTest','VqPDa','removePendingHooks','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20','kind','BEFORE_ALL','test_run_uuid','haFZU','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','addPendingHook','getJestFailureType','slice','NrgdX',',\x20exception=','KEY_TEST_META','IYkLn',',\x20hookState:\x20','SnsfC','hookMetadata','format','JihTG','Unknown\x20Test','stringify','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','JUNGd','xIvzt','KEY_HOOK_LAST_FINISHED','KEY_HOOK_FAILURE_REASON','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','toISOString',',\x20argsKeys=','KEY_TEST_STARTED_AT','instance','substring','maxArrayLength','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','351051XmEaPb','hSAgh','KEY_TEST_LOCATION','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=',',\x20storing\x20as\x20pending\x20hook','KEY_HOOKS_FINISHED',',\x20consoleLogs:\x20','../../../helpers/helper.js','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','keys','uiWLZ',',\x20hookData=',',\x20state:\x20','lQFFa','name',',\x20scopes=','\x20files','JestTestFramework','\x20(testIdentifier),\x20result=','mapTestHooks','endedAt','originalTest','createContext','getProcessId','KEY_TEST_FAILURE_REASON','KEY_TEST_FRAMEWORK_VERSION',',\x20totalHooks=','logCreatedEvent','TEoWU','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','AGcJY','../../../helpers/classLogger.js','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=',',\x20testFramework=','dddJY','finished_at','skipped','dSjiG','ATpMl','uyCXd','missing','KEY_TEST_FAILURE','NXPFz','DyEHL','LhjKC','isArray',',\x20target=',',\x20contextId=','testFrameworkVersion','\x20pending\x20hooks\x20for\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','splice','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','KEY_TEST_RERUN_NAME','Assert','MpCXL','scopes','processPendingHooks','trackJestInstance:\x20created\x20instance\x20for\x20target=','result','_ALL','KEY_HOOK_FAILURE_TYPE','../state/hookState.js','KEY_TEST_LOGS','cdNLO','getJestFailureReason',',\x20failureReason=','getTestFrameworks','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','addMultipleEntries','activeHooks','OBeic','skip','gXiTn','DEFAULT_HOOK_RESULT','getJestTestIdentifier','includes','KEY_TEST_FRAMEWORK_NAME','ALL','__workerDetails','test_run_id','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','kEPFW','wwSxx','hook_run_uuid','Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20${testId},\x20error:\x20${error}','TLwZc','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','errorsDetailed','failure_reason','KEY_TEST_ID','KEY_TEST_RETRY_OF','hasPendingHooks','ceil','AmfSp','KEY_HOOK_ID','hookData','depth','\x20(testIdentifier),\x20tags=','KEY_HOOK_FAILURE','KEY_TEST_SCOPE','reverse','1075240IVEZWG','trackEvent','\x20(testIdentifier),\x20hookType=','KEY_LOGS',',\x20response=','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','getActiveHook','KEY_HOOKS_STARTED','1537062mAtyVr',',\x20failureType=','getAllPendingHookTestIds','\x20logs\x20for\x20testId:\x20','NKdHw','fmFKC',',\x20hookId=','RQSFo','\x20attachments','getId',',\x20testId=','jest-circus','KEY_TEST_RESULT_AT','KEY_AUTOMATE_SESSION_NAME','otrwy','DoOHt','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','type','TEST','KEY_TEST_RESULT','getCurrentHookState','getJestTestName','Wumnu','psnmf','workerInfo','beforeAll','unknown','getTestFrameworksVersions','lJCph','scope','getThreadId','xNSUh','parent','GiGMz','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','Unknown\x20error','tags','parallelIndex','debug','forEach','createTestFrameworkEventPayload','EcMRb','KEY_TEST_ATTACHMENTS','hook_type','../state/testFrameworkState.js','join','args','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','set','retryOf','AZGVw','\x20to\x20','KEY_TEST_SCOPES','vtxGn','getJestFailureData','ehrYs',',\x20state=','concat','isJestInternalHook','hrbBl','has',',\x20hookUUID=','\x20-\x20test_identifier=',',\x20hookType=','\x20hook','HcEGg','\x22\x20from\x20testData','PRE','KEY_EVENT_ENDED_AT','JeJtf','uEkwd','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','KEY_TEST_UUID','file','parseJestTestResult','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','split',',\x20hookState=','UWJIz','21YEanjr','delete','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','LcOEu','runHooks','findIndex','stack-trace','pop','removeActiveHook','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','hookState','resolveInstance','fmmwr','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','filter','testId','uuid','getJestTestFilePath','inspect','jXLSz','Ffxdr','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','setActiveHook','MUsBL','getTrackedInstance','AssertionError','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','afterAll','../instances/trackedInstance.js','KEY_HOOK_LOGS','42026ImdGwe','QUtfu','testData','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','KEY_TEST_NAME','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','Lckty','started_at','lIAqg','Error\x20in\x20createTestFrameworkEventPayload:\x20','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20',',\x20version=','qGurq','\x20&\x20hookState=','toUpperCase','KEY_TEST_TAGS','TXIgD','passed'];a71_0x5189=function(){return _0x270230;};return a71_0x5189();}const TestFramework=require(a71_0x2f4828(0x1d0)),TestFrameworkState=require(a71_0x2f4828(0x145)),HookState=require(a71_0x2f4828(0xe9)),{createClassLogger}=require(a71_0x2f4828(0xc8)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a71_0x2f4828(0x185)),TestFrameworkConstants=require(a71_0x2f4828(0x1c5)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a71_0x2f4828(0x23d)),{isInternalHook}=require(a71_0x2f4828(0x1de)),logger=createClassLogger(a71_0x2f4828(0x247)),{v4:uuidv4}=require(a71_0x2f4828(0x179)),util=require(a71_0x2f4828(0x200)),TestInfo=require('../TestInfo.js'),GrpcClient=require('../grpcClient'),stackTrace=require(a71_0x2f4828(0x16f));class JestTestFramework extends TestFramework{constructor(_0x1a4f50,_0x34d7a6,_0x2bae92){const _0x1f7da7=a71_0x2f4828;super(_0x1a4f50,_0x34d7a6,_0x2bae92),this[_0x1f7da7(0xf1)]=new Map();}[a71_0x2f4828(0x17f)](_0x7ce72,_0x4d1054,_0x1fe79e){const _0x5627e4=a71_0x2f4828,_0x5d3694={};_0x5d3694[_0x5627e4(0x197)]=function(_0x483367,_0x79653a){return _0x483367||_0x79653a;};const _0x33a56c=_0x5d3694;if(_0x33a56c['TXIgD'](!_0x7ce72,!_0x4d1054)){logger[_0x5627e4(0x1b9)](_0x5627e4(0x1ff)+_0x7ce72+_0x5627e4(0x157)+_0x4d1054);return;}!this['activeHooks'][_0x5627e4(0x156)](_0x7ce72)&&this[_0x5627e4(0xf1)][_0x5627e4(0x14a)](_0x7ce72,[]);const _0x3448a3={'hookUUID':_0x4d1054,'hookType':_0x1fe79e,'startedAt':new Date()[_0x5627e4(0x22e)]()};this[_0x5627e4(0xf1)][_0x5627e4(0x1e8)](_0x7ce72)[_0x5627e4(0x199)](_0x3448a3),logger[_0x5627e4(0x13f)](_0x5627e4(0x165)+_0x7ce72+_0x5627e4(0x157)+_0x4d1054+_0x5627e4(0x159)+_0x1fe79e+_0x5627e4(0xc3)+this[_0x5627e4(0xf1)]['get'](_0x7ce72)[_0x5627e4(0x20a)]);}[a71_0x2f4828(0x171)](_0x80a62e,_0xefb5f4){const _0x337929=a71_0x2f4828,_0x3f1f26={};_0x3f1f26[_0x337929(0x11e)]=function(_0x3d5e76,_0xba2289){return _0x3d5e76||_0xba2289;},_0x3f1f26[_0x337929(0x1a5)]=function(_0x57987e,_0x307a9e){return _0x57987e!==_0x307a9e;},_0x3f1f26[_0x337929(0xd3)]=function(_0x31c7b1,_0x134f30){return _0x31c7b1===_0x134f30;};const _0xf7cc30=_0x3f1f26;if(_0xf7cc30[_0x337929(0x11e)](!_0x80a62e,!_0xefb5f4)){logger['warn']('[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier='+_0x80a62e+_0x337929(0x157)+_0xefb5f4);return;}if(this['activeHooks'][_0x337929(0x156)](_0x80a62e)){const _0x4fb017=this[_0x337929(0xf1)][_0x337929(0x1e8)](_0x80a62e),_0x458e94=_0x4fb017[_0x337929(0x16e)](_0x33ef67=>_0x33ef67[_0x337929(0x1b5)]===_0xefb5f4);_0xf7cc30['RrJvm'](_0x458e94,-0x1)?(_0x4fb017[_0x337929(0xdd)](_0x458e94,0x1),logger[_0x337929(0x13f)]('[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier='+_0x80a62e+_0x337929(0x157)+_0xefb5f4+_0x337929(0x19b)+_0x4fb017[_0x337929(0x20a)]),_0xf7cc30['NXPFz'](_0x4fb017[_0x337929(0x20a)],0x0)&&this[_0x337929(0xf1)][_0x337929(0x16a)](_0x80a62e)):logger['debug'](_0x337929(0x234)+_0x80a62e+',\x20hookUUID='+_0xefb5f4);}}[a71_0x2f4828(0x117)](_0x406352){const _0x52f5f2=a71_0x2f4828,_0x4353c6={};_0x4353c6[_0x52f5f2(0xe2)]=function(_0x183687,_0x44cb7d){return _0x183687>_0x44cb7d;},_0x4353c6['JQzoc']=function(_0x3f20a3,_0x198b18){return _0x3f20a3-_0x198b18;};const _0x4f8706=_0x4353c6;if(!_0x406352)return null;if(this[_0x52f5f2(0xf1)]['has'](_0x406352)){const _0x1bcd76=this['activeHooks'][_0x52f5f2(0x1e8)](_0x406352);if(_0x4f8706[_0x52f5f2(0xe2)](_0x1bcd76[_0x52f5f2(0x20a)],0x0)){const _0x238538=_0x1bcd76[_0x4f8706['JQzoc'](_0x1bcd76['length'],0x1)];return logger[_0x52f5f2(0x13f)](_0x52f5f2(0xc9)+_0x406352+_0x52f5f2(0x157)+_0x238538[_0x52f5f2(0x1b5)]+',\x20hookType='+_0x238538[_0x52f5f2(0x203)]),_0x238538;}}return null;}async[a71_0x2f4828(0x112)](_0x48d50e,_0x1684f5,_0x223a21={}){const _0x999d7c=a71_0x2f4828,_0x1128d3={};_0x1128d3['lIAqg']=_0x999d7c(0x1ee),_0x1128d3[_0x999d7c(0x1fc)]=function(_0x3ba869,_0x89051a){return _0x3ba869===_0x89051a;},_0x1128d3[_0x999d7c(0x130)]=function(_0x5754aa,_0x3791c0){return _0x5754aa||_0x3791c0;},_0x1128d3[_0x999d7c(0x1e4)]=_0x999d7c(0x1ef);const _0x5a5ebb=_0x1128d3;logger[_0x999d7c(0x13f)]('[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState='+_0x48d50e+_0x999d7c(0x167)+_0x1684f5+_0x999d7c(0x22f)+Object[_0x999d7c(0x23f)](_0x223a21)['join'](',')),await super[_0x999d7c(0x112)](_0x48d50e,_0x1684f5,_0x223a21);const _0x4ad7f8=this[_0x999d7c(0x174)](_0x48d50e,_0x1684f5,_0x223a21);if(!_0x4ad7f8){logger['debug'](_0x5a5ebb[_0x999d7c(0x18f)]);return;}try{let _0x2e017e,_0x5b17e1,_0x31a286;switch(_0x48d50e){case TestFrameworkState[_0x999d7c(0x12b)]:_0x2e017e=_0x223a21[_0x999d7c(0x1a3)];const _0x575c98={};_0x575c98[_0x999d7c(0x10c)]=0x2,_0x575c98['maxArrayLength']=0x3,logger['debug'](_0x999d7c(0x22d)+_0x1684f5+',\x20testData='+util[_0x999d7c(0x17b)](_0x2e017e,_0x575c98)),_0x31a286=this[_0x999d7c(0xf6)](_0x2e017e),_0x5b17e1=null,logger[_0x999d7c(0x13f)](_0x999d7c(0x1ae)+_0x31a286+'\x20(testIdentifier)');if(_0x5a5ebb[_0x999d7c(0x1fc)](_0x1684f5,HookState['PRE'])){logger['debug'](_0x999d7c(0xdb)+_0x31a286);const _0xb1ef8b={};_0xb1ef8b[_0x999d7c(0x1aa)]=_0x5b17e1,_0xb1ef8b[_0x999d7c(0x189)]=_0x2e017e,_0xb1ef8b[_0x999d7c(0x178)]=_0x31a286;const _0x1f4690=this[_0x999d7c(0x1ec)](_0xb1ef8b),_0x1b0b7c={};_0x1b0b7c['depth']=0x2,_0x1b0b7c[_0x999d7c(0x233)]=0x3,logger[_0x999d7c(0x13f)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20'+util[_0x999d7c(0x17b)](_0x1f4690,_0x1b0b7c)),_0x4ad7f8[_0x999d7c(0xf0)](_0x1f4690),logger['debug'](_0x999d7c(0xef)+_0x31a286),await this[_0x999d7c(0xe4)](_0x4ad7f8,_0x31a286);}else{if(_0x5a5ebb['EPbAD'](_0x1684f5,HookState[_0x999d7c(0x1e1)])){logger[_0x999d7c(0x13f)](_0x999d7c(0x148)+_0x31a286);const _0x19c80a=_0x4ad7f8[_0x999d7c(0x20b)]()[_0x999d7c(0x1e8)](_0x31a286);logger[_0x999d7c(0x13f)](_0x999d7c(0x227)+util[_0x999d7c(0x17b)](Object[_0x999d7c(0x23f)](_0x5a5ebb['psnmf'](_0x19c80a,{}))));_0x19c80a&&_0x19c80a[TestFrameworkConstants[_0x999d7c(0x143)]]?logger['debug']('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20'+Object['keys'](_0x19c80a[TestFrameworkConstants[_0x999d7c(0x143)]])[_0x999d7c(0x20a)]+_0x999d7c(0x246)):logger['debug'](_0x5a5ebb[_0x999d7c(0x1e4)]);const _0x5b960a=_0x223a21['originalTest']||null,_0x40ca30={};_0x40ca30[_0x999d7c(0x1aa)]=_0x5b17e1,_0x40ca30[_0x999d7c(0x189)]=_0x2e017e,_0x40ca30[_0x999d7c(0x178)]=_0x31a286,_0x40ca30[_0x999d7c(0x24b)]=_0x5b960a;const _0x1c4f80=this['parseJestTestResult'](_0x40ca30),_0x1b9eda={};_0x1b9eda[_0x999d7c(0x10c)]=0x2,_0x1b9eda['maxArrayLength']=0x3,logger[_0x999d7c(0x13f)](_0x999d7c(0x183)+util[_0x999d7c(0x17b)](_0x1c4f80,_0x1b9eda)),_0x4ad7f8['addMultipleEntries'](_0x1c4f80),logger[_0x999d7c(0x13f)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20'+_0x31a286),await this['processPendingHooks'](_0x4ad7f8,_0x31a286);}}break;case TestFrameworkState['LOG_REPORT']:if(_0x5a5ebb['EPbAD'](_0x1684f5,HookState[_0x999d7c(0x1e1)])){const _0x4b1a52={};_0x4b1a52[_0x999d7c(0x10c)]=0x2,logger[_0x999d7c(0x13f)](_0x999d7c(0x17e)+util[_0x999d7c(0x17b)](_0x223a21,_0x4b1a52)),await this['sendLogCreatedEvent'](_0x4ad7f8,_0x48d50e,_0x223a21);}break;default:if(CLIUtils['matchHookRegex'](_0x48d50e[_0x999d7c(0x1a0)]()['split']('.')[0x1])){const _0x1c0124={};_0x1c0124[_0x999d7c(0x10c)]=0x2,_0x1c0124['maxArrayLength']=0x3,logger[_0x999d7c(0x13f)](_0x999d7c(0x102)+_0x48d50e+',\x20hookState='+_0x1684f5+_0x999d7c(0x241)+util['inspect'](_0x223a21[_0x999d7c(0x10b)],_0x1c0124));const _0x5a131a=await this[_0x999d7c(0x1ce)](_0x4ad7f8,_0x48d50e,_0x1684f5,_0x223a21),_0x4107c8={};_0x4107c8[_0x999d7c(0x10c)]=0x2,_0x4107c8[_0x999d7c(0x233)]=0x3,logger[_0x999d7c(0x13f)]('[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20'+util[_0x999d7c(0x17b)](_0x5a131a,_0x4107c8)),_0x4ad7f8[_0x999d7c(0xf0)](_0x5a131a);}else logger[_0x999d7c(0x13f)](_0x999d7c(0x19d)+_0x48d50e+_0x999d7c(0x194)+_0x1684f5);break;}logger['debug'](_0x999d7c(0x129)+_0x48d50e+_0x999d7c(0x167)+_0x1684f5);}catch(_0x2786b6){logger[_0x999d7c(0x1ba)](_0x999d7c(0x18a)+_0x48d50e+_0x999d7c(0x167)+_0x1684f5+_0x999d7c(0x21d)+util['format'](_0x2786b6));}_0x223a21[_0x999d7c(0x231)]=_0x4ad7f8,await this[_0x999d7c(0x16d)](_0x4ad7f8,_0x48d50e,_0x1684f5,_0x223a21);}[a71_0x2f4828(0xf6)](_0x3efd7b){const _0xdf8cad=a71_0x2f4828,_0xf9443={};_0xf9443[_0xdf8cad(0xce)]=_0xdf8cad(0x1ab);const _0x496ad0=_0xf9443;if(_0x3efd7b&&(_0x3efd7b['id']||_0x3efd7b[_0xdf8cad(0x179)])){const _0x30701d=_0x3efd7b['id']||_0x3efd7b['uuid'];return logger[_0xdf8cad(0x13f)](_0xdf8cad(0x1b2)+_0x30701d+_0xdf8cad(0x15c)),_0x30701d;}return logger[_0xdf8cad(0x13f)](_0x496ad0[_0xdf8cad(0xce)]),process[_0xdf8cad(0x1f6)]+_0xdf8cad(0x20e);}['resolveInstance'](_0x451a29,_0x10411b,_0x21eb7e={}){const _0x1a59c4=a71_0x2f4828;let _0x31dac5=null;return _0x31dac5=TestFramework['getTrackedInstance'](),!_0x31dac5?(logger[_0x1a59c4(0x13f)]('[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state='+_0x451a29),this['trackJestInstance'](_0x451a29,_0x21eb7e),_0x31dac5=TestFramework['getTrackedInstance'](),logger[_0x1a59c4(0x13f)]('[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists='+!!_0x31dac5+_0x1a59c4(0xd8)+_0x31dac5?.['getContext']()?.['getId']())):logger[_0x1a59c4(0x13f)]('[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId='+_0x31dac5['getContext']()?.[_0x1a59c4(0x122)]()),_0x31dac5;}[a71_0x2f4828(0x1c2)](_0x152941,_0x5813e3){const _0x5839b1=a71_0x2f4828,_0x5eb071={};_0x5eb071[_0x5839b1(0x1c6)]=_0x5839b1(0x1df);const _0x1fbb77=_0x5eb071;if(TestFramework[_0x5839b1(0x181)]()){logger[_0x5839b1(0x13f)](_0x1fbb77[_0x5839b1(0x1c6)]);return;}const _0x4a3c07=CLIUtils['getCurrentInstanceName'](),_0x7d0886=TrackedInstance[_0x5839b1(0x24c)](_0x4a3c07);let _0x947ed3=null;logger[_0x5839b1(0x13f)](_0x5839b1(0xe5)+_0x4a3c07+_0x5839b1(0x152)+_0x152941),_0x947ed3=new TestFrameworkInstance(_0x7d0886,this[_0x5839b1(0xee)](),this[_0x5839b1(0x134)](),_0x152941,HookState['NONE']),TestFramework[_0x5839b1(0x1a7)](_0x7d0886,_0x947ed3),logger[_0x5839b1(0x13f)](_0x5839b1(0x239)+_0x7d0886['getId']()+_0x5839b1(0xd7)+_0x4a3c07+_0x5839b1(0xca)+this['getTestFrameworks']()[0x0]+_0x5839b1(0x192)+this[_0x5839b1(0x134)]()[this[_0x5839b1(0xee)]()[0x0]]);}[a71_0x2f4828(0x1ec)](_0x278de8){const _0x418e20=a71_0x2f4828,_0x1605c2={};_0x1605c2['wqpdI']=function(_0x2895be,_0x3958d5){return _0x2895be||_0x3958d5;},_0x1605c2[_0x418e20(0x1e9)]=_0x418e20(0x1a4);const _0x558712=_0x1605c2,{testUUID:_0x4c4b4e,testData:_0x56b41f,testId:_0x12c5ec}=_0x278de8;if(_0x558712['wqpdI'](!_0x56b41f,!_0x12c5ec))return logger[_0x418e20(0x13f)](_0x558712[_0x418e20(0x1e9)]),{};const _0x5e0c51=this[_0x418e20(0xee)]()[0x0],_0x2b5cfd=this['getTestFrameworksVersions'](),_0x4f57f6={};_0x4f57f6['depth']=0x2,_0x4f57f6[_0x418e20(0x233)]=0x3,logger[_0x418e20(0x13f)](_0x418e20(0x116)+util['inspect'](_0x56b41f,_0x4f57f6));const _0x432938=_0x56b41f?.[_0x418e20(0xe3)]||[],_0x39c0e8=this[_0x418e20(0x12e)](_0x56b41f),_0x4f68fc=this[_0x418e20(0x17a)](_0x56b41f),_0x2dc45f=_0x56b41f['fn']?_0x56b41f['fn'][_0x418e20(0x1a0)]():null,_0x2482b4=this[_0x418e20(0x1c3)](_0x56b41f),_0x1343a5={[TestFrameworkConstants[_0x418e20(0xf8)]]:_0x5e0c51,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x2b5cfd[_0x5e0c51],[TestFrameworkConstants[_0x418e20(0xea)]]:[],[TestFrameworkConstants[_0x418e20(0x23b)]]:{},[TestFrameworkConstants[_0x418e20(0x118)]]:{},[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x418e20(0x1b4)],[TestFrameworkConstants[_0x418e20(0x126)]]:_0x39c0e8,[TestFrameworkConstants[_0x418e20(0x1c1)]]:_0x4f68fc,[TestFrameworkConstants[_0x418e20(0x105)]]:_0x12c5ec,[TestFrameworkConstants[_0x418e20(0x18b)]]:_0x39c0e8,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x4f68fc,[TestFrameworkConstants['KEY_TEST_CODE']]:_0x2dc45f,[TestFrameworkConstants[_0x418e20(0x196)]]:_0x2482b4,[TestFrameworkConstants[_0x418e20(0x230)]]:_0x56b41f[_0x418e20(0x18e)]||new Date()['toISOString'](),[TestFrameworkConstants[_0x418e20(0x10f)]]:_0x432938[0x0]||'',[TestFrameworkConstants[_0x418e20(0x14e)]]:_0x432938,[TestFrameworkConstants[_0x418e20(0xe0)]]:_0x39c0e8,[TestFrameworkConstants[_0x418e20(0x207)]]:{},[TestFrameworkConstants[_0x418e20(0x21e)]]:{}};_0x56b41f[_0x418e20(0x14b)]&&(_0x1343a5[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x56b41f[_0x418e20(0x14b)]);logger[_0x418e20(0x13f)](_0x418e20(0xde)+_0x39c0e8+_0x418e20(0x123)+_0x12c5ec+_0x418e20(0x10d)+JSON[_0x418e20(0x226)](_0x2482b4)+_0x418e20(0x245)+util[_0x418e20(0x17b)](_0x432938)+',\x20filePath='+_0x4f68fc);const _0x721128={};return _0x721128[_0x12c5ec]=_0x1343a5,_0x721128;}[a71_0x2f4828(0x164)](_0x5e9efb){const _0x1bb91d=a71_0x2f4828,_0xbc35b0={'TEoWU':function(_0x2b4967,_0x1f4584){return _0x2b4967===_0x1f4584;},'ScCke':_0x1bb91d(0x184),'MJyJW':_0x1bb91d(0x132),'lJCph':_0x1bb91d(0xf9),'Wumnu':_0x1bb91d(0xe7),'xNSUh':function(_0x115c11,_0x7424b5){return _0x115c11||_0x7424b5;},'VqPDa':'No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','AGcJY':function(_0x28b301,_0x36c8a7){return _0x28b301||_0x36c8a7;},'DiDgD':_0x1bb91d(0x133),'NKdHw':function(_0x5649eb,_0x104d75){return _0x5649eb>_0x104d75;},'HOjeZ':_0x1bb91d(0x1d4),'hSAgh':function(_0x40f947,_0x3a4061){return _0x40f947===_0x3a4061;},'iQBcs':_0x1bb91d(0xf3),'UWJIz':_0x1bb91d(0xcd),'NaxPU':_0x1bb91d(0x198),'wqklS':function(_0x2991de,_0x1f5247){return _0x2991de===_0x1f5247;},'BoiLy':function(_0xbd9c37,_0x334209){return _0xbd9c37!==_0x334209;},'uEkwd':function(_0x301e95,_0x37042a,_0x2eca4d,_0x1fb7e3){return _0x301e95(_0x37042a,_0x2eca4d,_0x1fb7e3);},'kEPFW':_0x1bb91d(0x149)},{testUUID:_0x1c36f3,testData:_0x5bd5f,testId:_0x1ab80a}=_0x5e9efb;if(_0xbc35b0[_0x1bb91d(0x138)](!_0x5bd5f,!_0x1ab80a))return logger[_0x1bb91d(0x13f)](_0xbc35b0[_0x1bb91d(0x210)]),{};const _0x596b82=this[_0x1bb91d(0x174)](TestFrameworkState[_0x1bb91d(0x12b)],HookState['POST']),_0x1f5bc7=_0x596b82[_0x1bb91d(0x20b)]()[_0x1bb91d(0x1e8)](_0x1ab80a),_0xff6cb7=_0xbc35b0[_0x1bb91d(0xc7)](_0x1f5bc7,{}),_0x481f23=_0xff6cb7?_0xff6cb7[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{},_0x37c156=_0xff6cb7[TestFrameworkConstants[_0x1bb91d(0x143)]];logger[_0x1bb91d(0x13f)](_0x1bb91d(0x191)+(_0x37c156?Object['keys'](_0x37c156)['length']:0x0)+_0x1bb91d(0x121));let _0x1a06c2=_0xbc35b0[_0x1bb91d(0x1dd)];if(_0x5bd5f[_0x1bb91d(0xe6)])_0x1a06c2=_0x5bd5f[_0x1bb91d(0xe6)];else{if(_0x5bd5f[_0x1bb91d(0x103)]&&_0xbc35b0[_0x1bb91d(0x11d)](_0x5bd5f['errorsDetailed'][_0x1bb91d(0x20a)],0x0))_0x1a06c2=_0xbc35b0['HOjeZ'];else _0xbc35b0[_0x1bb91d(0x237)](_0x5bd5f['status'],_0xbc35b0['iQBcs'])||_0xbc35b0[_0x1bb91d(0xc5)](_0x5bd5f['status'],_0xbc35b0[_0x1bb91d(0x168)])?_0x1a06c2=_0xbc35b0[_0x1bb91d(0x168)]:_0x1a06c2=_0xbc35b0['NaxPU'];}const _0x221248={..._0xff6cb7,[TestFrameworkConstants[_0x1bb91d(0x12c)]]:_0x1a06c2,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x5bd5f['finished_at']||new Date()[_0x1bb91d(0x22e)](),[TestFrameworkConstants[_0x1bb91d(0x125)]]:new Date()[_0x1bb91d(0x22e)](),[TestFrameworkConstants[_0x1bb91d(0x207)]]:_0x481f23,[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x1bb91d(0x21e)]]:{}};if(_0xbc35b0[_0x1bb91d(0x1bc)](_0x1a06c2,_0xbc35b0[_0x1bb91d(0x1c8)])&&_0x5bd5f[_0x1bb91d(0x103)]){const _0x477244=this[_0x1bb91d(0xec)](_0x5bd5f),_0x4c154a=this[_0x1bb91d(0x21a)](_0x5bd5f),_0x208c22=this[_0x1bb91d(0x150)](_0x5bd5f);_0x221248[TestFrameworkConstants[_0x1bb91d(0x1bb)]]=_0x4c154a,_0x221248[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]=_0x477244,_0x221248[TestFrameworkConstants[_0x1bb91d(0xd2)]]=_0x208c22;}_0xbc35b0[_0x1bb91d(0x1d7)](_0x5bd5f[_0x1bb91d(0x1cb)],undefined)&&(_0x221248[TestFrameworkConstants['KEY_TEST_DURATION']]=_0x5bd5f[_0x1bb91d(0x1cb)]);_0x5bd5f['retryOf']&&(_0x221248[TestFrameworkConstants[_0x1bb91d(0x106)]]=_0x5bd5f['retryOf']);const _0x515d60=_0x1f5bc7?_0x1f5bc7[TestFrameworkConstants[_0x1bb91d(0x143)]]||{}:{},_0x1afc4c=_0x1f5bc7?_0x1f5bc7[TestFrameworkConstants[_0x1bb91d(0x162)]]:_0x1c36f3,_0xc9c230=_0xbc35b0[_0x1bb91d(0x160)](getManualUploadLogs,_0x515d60,_0x1afc4c,_0x1ab80a);if(_0xbc35b0['NKdHw'](_0xc9c230['length'],0x0)){const _0x577d0e=_0x221248[TestFrameworkConstants[_0x1bb91d(0x114)]]||[];_0x221248[TestFrameworkConstants[_0x1bb91d(0x114)]]=[..._0x577d0e,..._0xc9c230];}const _0x160e0e=_0xff6cb7[TestFrameworkConstants['KEY_HOOKS_FINISHED']]||{},_0x32bd7b=_0xff6cb7[TestFrameworkConstants[_0x1bb91d(0x118)]]||{},_0xc4f7e5={..._0x160e0e},_0x8bdc47=_0xc4f7e5;Object['keys'](_0x32bd7b)[_0x1bb91d(0x140)](_0x46c8f1=>{const _0x31bf46=_0x1bb91d;!_0x8bdc47[_0x46c8f1]&&(_0x8bdc47[_0x46c8f1]=[]);const _0x214898=new Set((_0x8bdc47[_0x46c8f1]||[])['map'](_0xc4c0e9=>_0xc4c0e9[TestFrameworkConstants[_0x31bf46(0x10a)]]||_0xc4c0e9[_0x31bf46(0x1fd)]));(_0x32bd7b[_0x46c8f1]||[])['forEach'](_0x58a69f=>{const _0x1b8d06=_0x31bf46,_0x340ae5=_0x58a69f[TestFrameworkConstants[_0x1b8d06(0x10a)]]||_0x58a69f['hook_id'];if(!_0x214898[_0x1b8d06(0x156)](_0x340ae5)){const _0x4ec7e1={..._0x58a69f},_0x4823e4=_0x4ec7e1;!_0x4823e4[TestFrameworkConstants[_0x1b8d06(0x15e)]]&&!_0x4823e4[_0x1b8d06(0x1db)]&&(_0x4823e4[TestFrameworkConstants[_0x1b8d06(0x15e)]]=new Date()[_0x1b8d06(0x22e)]()),!_0x4823e4[TestFrameworkConstants[_0x1b8d06(0x1be)]]&&!_0x4823e4[_0x1b8d06(0x205)]&&(_0x4823e4[TestFrameworkConstants[_0x1b8d06(0x1be)]]=TestFrameworkConstants[_0x1b8d06(0xf5)]),_0x8bdc47[_0x46c8f1][_0x1b8d06(0x199)](_0x4823e4);}});});if(_0x5e9efb['originalTest']){this[_0x1bb91d(0x249)](_0x5e9efb['originalTest']);const _0x1eb357=this[_0x1bb91d(0x20f)](_0x5e9efb[_0x1bb91d(0x24b)]),_0x3f8cef=this[_0x1bb91d(0x1a1)](_0x5e9efb[_0x1bb91d(0x24b)]);_0x3f8cef[_0x1bb91d(0x140)](_0x44c92c=>{const _0x3efc9b=_0x1bb91d,_0x3424aa=_0x1eb357[_0x3efc9b(0x1e8)](_0x44c92c);if(_0x3424aa&&(_0xbc35b0['TEoWU'](_0x3424aa[_0x3efc9b(0x12a)],_0xbc35b0[_0x3efc9b(0x1bf)])||_0xbc35b0['TEoWU'](_0x3424aa[_0x3efc9b(0x12a)],_0xbc35b0[_0x3efc9b(0x1ed)]))){const _0x4e2485=_0x3424aa['type'][_0x3efc9b(0x195)]()[_0x3efc9b(0x1d5)](_0xbc35b0[_0x3efc9b(0x135)],_0xbc35b0[_0x3efc9b(0x12f)]),_0xe34cb8=_0x4e2485;!_0x8bdc47[_0xe34cb8]&&(_0x8bdc47[_0xe34cb8]=[]);const _0x1588a0=_0x8bdc47[_0xe34cb8]['find'](_0x1b65c5=>(_0x1b65c5[TestFrameworkConstants[_0x3efc9b(0x10a)]]||_0x1b65c5[_0x3efc9b(0x1fd)])===_0x44c92c);!_0x1588a0&&_0x8bdc47[_0xe34cb8][_0x3efc9b(0x199)]({'key':_0xe34cb8,[TestFrameworkConstants[_0x3efc9b(0x10a)]]:_0x44c92c,[TestFrameworkConstants[_0x3efc9b(0x1be)]]:TestFrameworkConstants[_0x3efc9b(0xf5)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:new Date()[_0x3efc9b(0x22e)](),[TestFrameworkConstants[_0x3efc9b(0x15e)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x3efc9b(0x186)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x3424aa[_0x3efc9b(0x244)]||_0x3424aa['type']+_0x3efc9b(0x15a),[TestFrameworkConstants[_0x3efc9b(0x207)]]:_0x481f23});}});}if(_0x5bd5f[_0x1bb91d(0x1cc)]&&_0xbc35b0[_0x1bb91d(0x11d)](_0x5bd5f['hooks']['length'],0x0))_0x221248[TestFrameworkConstants[_0x1bb91d(0x23b)]]=_0x5bd5f[_0x1bb91d(0x1cc)],logger[_0x1bb91d(0x13f)](_0xbc35b0[_0x1bb91d(0xfd)]);else _0xbc35b0['NKdHw'](Object[_0x1bb91d(0x23f)](_0x8bdc47)['length'],0x0)&&(_0x221248[TestFrameworkConstants[_0x1bb91d(0x23b)]]=_0x8bdc47,logger['debug'](_0x1bb91d(0xc6)+Object[_0x1bb91d(0x23f)](_0x8bdc47)[_0x1bb91d(0x146)](',')));const _0x4d31d9=this[_0x1bb91d(0x12e)](_0x5bd5f);logger[_0x1bb91d(0x13f)]('[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName='+_0x4d31d9+_0x1bb91d(0x123)+_0x1ab80a+_0x1bb91d(0x248)+_0x1a06c2+_0x1bb91d(0x1b3)+_0x5bd5f[_0x1bb91d(0x1cb)]);_0xbc35b0[_0x1bb91d(0x237)](_0x1a06c2,_0xbc35b0['HOjeZ'])&&logger['debug'](_0x1bb91d(0x172)+_0x1ab80a+_0x1bb91d(0x11a)+_0x221248[TestFrameworkConstants[_0x1bb91d(0x1bb)]]+_0x1bb91d(0xed)+_0x221248[TestFrameworkConstants[_0x1bb91d(0xc1)]]?.[_0x1bb91d(0x232)](0x0,0xc8));const _0x4f19c9={};return _0x4f19c9[_0x1ab80a]=_0x221248,_0x4f19c9;}[a71_0x2f4828(0x1ea)](_0x110bcf){const _0x58cad3=a71_0x2f4828,_0x5b36df={};_0x5b36df[_0x58cad3(0xcb)]=function(_0x53561f,_0x314914){return _0x53561f!==_0x314914;},_0x5b36df[_0x58cad3(0x120)]='ROOT_DESCRIBE_BLOCK';const _0x46710a=_0x5b36df,_0x2cf122={};_0x2cf122[_0x58cad3(0x10c)]=0x2,_0x2cf122[_0x58cad3(0x233)]=0x3,logger[_0x58cad3(0x13f)](_0x58cad3(0x1a6)+util[_0x58cad3(0x17b)](_0x110bcf,_0x2cf122));const _0x6d9e30=[];if(_0x110bcf&&_0x110bcf[_0x58cad3(0x139)]){let _0x218c3a=_0x110bcf[_0x58cad3(0x139)];while(_0x218c3a&&_0x218c3a['name']&&_0x46710a['dddJY'](_0x218c3a[_0x58cad3(0x244)],'')&&_0x46710a[_0x58cad3(0xcb)](_0x218c3a[_0x58cad3(0x244)],_0x46710a['RQSFo'])){_0x6d9e30[_0x58cad3(0x199)](_0x218c3a[_0x58cad3(0x244)]),_0x218c3a=_0x218c3a[_0x58cad3(0x139)];}}return _0x6d9e30[_0x58cad3(0x110)]();}['getJestTestName'](_0x732bc0){const _0x93be90=a71_0x2f4828,_0x497596={};_0x497596['AZGVw']=_0x93be90(0x225);const _0x166b9a=_0x497596;if(_0x732bc0['name'])return _0x732bc0['name'];if(_0x732bc0[_0x93be90(0x1c0)])return _0x732bc0[_0x93be90(0x1c0)];return _0x166b9a[_0x93be90(0x14c)];}['getJestTestTags'](_0x21c00e){const _0x2a0b5b=a71_0x2f4828,_0x56eb8d=[];if(_0x21c00e[_0x2a0b5b(0x13d)]&&Array['isArray'](_0x21c00e[_0x2a0b5b(0x13d)]))return _0x21c00e[_0x2a0b5b(0x13d)]['map'](_0x161b18=>_0x161b18['startsWith']('@')?_0x161b18[_0x2a0b5b(0x1f2)](0x1):_0x161b18);const _0x554961=this[_0x2a0b5b(0x12e)](_0x21c00e),_0x50dc63=_0x554961['match'](/@(\w+)/g);if(_0x50dc63)return _0x50dc63[_0x2a0b5b(0x1cd)](_0xa7ba3=>_0xa7ba3[_0x2a0b5b(0x21b)](0x1));return _0x21c00e[_0x2a0b5b(0xe3)]&&Array[_0x2a0b5b(0xd6)](_0x21c00e[_0x2a0b5b(0xe3)])&&_0x21c00e[_0x2a0b5b(0xe3)]['forEach'](_0x1ee964=>{const _0x2451e2=_0x2a0b5b,_0x41b5f2=_0x1ee964['match'](/@(\w+)/g);_0x41b5f2&&_0x41b5f2[_0x2451e2(0x140)](_0xccffff=>{const _0x330de9=_0x2451e2,_0xa69b52=_0xccffff[_0x330de9(0x21b)](0x1);!_0x56eb8d['includes'](_0xa69b52)&&_0x56eb8d[_0x330de9(0x199)](_0xa69b52);});}),_0x56eb8d;}['getJestTestFilePath'](_0x4bb0dd){const _0x3819af=a71_0x2f4828,_0x33479d={'SSEqv':function(_0x68a51,_0x37de5c){return _0x68a51(_0x37de5c);},'LXdRB':_0x3819af(0x16f)};if(_0x4bb0dd['file_name'])return _0x4bb0dd[_0x3819af(0x1fb)];if(_0x4bb0dd[_0x3819af(0x1d3)]){const _0x43fd61=_0x33479d[_0x3819af(0x1b1)](require,_0x33479d[_0x3819af(0x1d8)]);try{const _0x25559e=_0x43fd61[_0x3819af(0x1f3)](_0x4bb0dd[_0x3819af(0x1d3)]);if(_0x25559e[0x0]&&_0x25559e[0x0][_0x3819af(0x1c4)])return _0x25559e[0x0]['getFileName']();}catch(_0x4a4d9a){logger[_0x3819af(0x13f)](_0x3819af(0x228)+util[_0x3819af(0x223)](_0x4a4d9a));}}return null;}['getJestFailureReason'](_0x2daf26){const _0xae431a=a71_0x2f4828,_0x2f70a8={};_0x2f70a8[_0xae431a(0x151)]=function(_0x40ba69,_0x15ac67){return _0x40ba69>_0x15ac67;},_0x2f70a8[_0xae431a(0x128)]=_0xae431a(0x13c);const _0x395882=_0x2f70a8;if(_0x2daf26[_0xae431a(0x103)]&&_0x395882[_0xae431a(0x151)](_0x2daf26[_0xae431a(0x103)][_0xae431a(0x20a)],0x0))return util[_0xae431a(0x17b)](_0x2daf26[_0xae431a(0x103)][0x0]);if(_0x2daf26[_0xae431a(0x104)])return _0x2daf26[_0xae431a(0x104)];return _0x395882[_0xae431a(0x128)];}['getJestFailureType'](_0x35d8a7){const _0x5e73f5=a71_0x2f4828,_0x58b13e={};_0x58b13e[_0x5e73f5(0x101)]=_0x5e73f5(0xe1),_0x58b13e[_0x5e73f5(0x180)]=_0x5e73f5(0x182),_0x58b13e[_0x5e73f5(0x18d)]=_0x5e73f5(0x19c);const _0x23bfaa=_0x58b13e,_0x2155c5=this[_0x5e73f5(0xec)](_0x35d8a7);if(_0x2155c5&&_0x2155c5[_0x5e73f5(0xf7)](_0x23bfaa['TLwZc']))return _0x23bfaa[_0x5e73f5(0x180)];return _0x23bfaa['Lckty'];}[a71_0x2f4828(0x150)](_0x5474e9){const _0x1b71bb=a71_0x2f4828,_0x2e3e01={'AmfSp':function(_0x39b3e3,_0x51679e){return _0x39b3e3(_0x51679e);},'nvXod':'../../../helpers/test-observability/utils','haFZU':function(_0x542802,_0x25a03e){return _0x542802!==_0x25a03e;},'JeJtf':_0x1b71bb(0x1a3)},{failureData:_0xb6b180}=_0x2e3e01[_0x1b71bb(0x109)](require,_0x2e3e01['nvXod']),_0x5eb069=[];return _0x2e3e01[_0x1b71bb(0x217)](_0x5474e9[_0x1b71bb(0x103)],undefined)&&_0x5eb069[_0x1b71bb(0x199)](_0x5474e9[_0x1b71bb(0x103)],_0x2e3e01[_0x1b71bb(0x15f)]),_0xb6b180[_0x1b71bb(0x1ca)](null,_0x5eb069);}async['trackHookEvent'](_0xb4bc4f,_0x3cc64c,_0x58a6c3,_0x1efe5f){const _0x2f1101=a71_0x2f4828,_0x18c232={'jXLSz':_0x2f1101(0x202),'clePI':function(_0x61c407){return _0x61c407();},'HcEGg':function(_0x413563,_0x2faeaa){return _0x413563 in _0x2faeaa;},'JUNGd':function(_0xd5d205,_0x47b583){return _0xd5d205===_0x47b583;},'uiWLZ':function(_0x4f2924,_0x17f039){return _0x4f2924>_0x17f039;},'hrbBl':_0x2f1101(0x1d4),'LhjKC':_0x2f1101(0x198),'DyEHL':function(_0x570146,_0x915dc3){return _0x570146===_0x915dc3;},'gKtMU':function(_0x3f2f6e,_0xe01608){return _0x3f2f6e!==_0xe01608;}},{hookData:_0x4476bb}=_0x1efe5f,_0x3b8447=_0x58a6c3['toString'](),_0x4d5a68=_0x3cc64c[_0x2f1101(0x1a0)](),_0x1fd7d5={};_0x1fd7d5[_0x2f1101(0x10c)]=0x2,_0x1fd7d5[_0x2f1101(0x233)]=0x3,logger[_0x2f1101(0x13f)]('[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState='+_0x4d5a68+_0x2f1101(0x167)+_0x3b8447+_0x2f1101(0x241)+util[_0x2f1101(0x17b)](_0x4476bb,_0x1fd7d5));if(!_0x4476bb)return logger[_0x2f1101(0x13f)](_0x18c232[_0x2f1101(0x17c)]),{};const _0xd307e5=_0x4476bb[_0x2f1101(0x179)]||_0x4476bb['hookAnalyticsId']||_0x18c232['clePI'](uuidv4),_0x1235b3=_0x4476bb[_0x2f1101(0xfb)]||this['getJestTestIdentifier'](_0x4476bb),_0x5b842a=_0x3cc64c[_0x2f1101(0x1a0)]()[_0x2f1101(0x166)]('.')[0x1],_0x4698aa=_0xb4bc4f['getAllData']()[_0x2f1101(0x1e8)](_0x1235b3),_0x16db35=_0x4698aa?_0x4698aa[TestFrameworkConstants[_0x2f1101(0x207)]]||{}:{};logger['debug']('[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId='+_0xd307e5+_0x2f1101(0x123)+_0x1235b3+_0x2f1101(0x113)+_0x5b842a+',\x20hookState='+_0x3b8447);if(!_0x4698aa)return logger[_0x2f1101(0x13f)]('[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20'+_0x1235b3+_0x2f1101(0x23a)),this[_0x2f1101(0x20d)](_0xb4bc4f,_0x1235b3,_0x3cc64c,_0x58a6c3,_0x1efe5f),{};let _0x367061=_0x4698aa[TestFrameworkConstants[_0x2f1101(0x118)]];!_0x367061&&(_0x367061={});!_0x18c232[_0x2f1101(0x15b)](_0x5b842a,_0x367061)&&(_0x367061[_0x5b842a]=[]);let _0x3195f8=_0x4698aa[TestFrameworkConstants[_0x2f1101(0x23b)]];!_0x3195f8&&(_0x3195f8={});!_0x18c232['HcEGg'](_0x5b842a,_0x3195f8)&&(_0x3195f8[_0x5b842a]=[]);const _0x51c319={[TestFrameworkConstants[_0x2f1101(0x118)]]:_0x367061,[TestFrameworkConstants[_0x2f1101(0x23b)]]:_0x3195f8},_0x3f3485={};_0x3f3485[_0x1235b3]=_0x51c319;const _0xabc694=_0x3f3485;if(_0x18c232[_0x2f1101(0x229)](_0x58a6c3,HookState[_0x2f1101(0x15d)])){const _0x407fb8={'key':_0x5b842a,[TestFrameworkConstants[_0x2f1101(0x10a)]]:_0xd307e5,[TestFrameworkConstants[_0x2f1101(0x1be)]]:TestFrameworkConstants[_0x2f1101(0xf5)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x4476bb[_0x2f1101(0x18e)]||new Date()[_0x2f1101(0x22e)](),[TestFrameworkConstants[_0x2f1101(0x186)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x4476bb['name']||_0x4476bb[_0x2f1101(0x144)]||_0x5b842a,[TestFrameworkConstants[_0x2f1101(0x207)]]:_0x16db35};_0x367061[_0x5b842a][_0x2f1101(0x199)](_0x407fb8),_0xabc694[_0x1235b3][TestFrameworkConstants[_0x2f1101(0x1d9)]]=_0x5b842a;const _0x3e6d3c={};_0x3e6d3c[_0x2f1101(0x10c)]=0x2,logger[_0x2f1101(0x13f)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType='+_0x5b842a+_0x2f1101(0x11f)+_0xd307e5+',\x20testId='+_0x1235b3+_0x2f1101(0x204)+util[_0x2f1101(0x17b)](_0x407fb8,_0x3e6d3c));}else{if(_0x18c232[_0x2f1101(0x229)](_0x58a6c3,HookState[_0x2f1101(0x1e1)])){const _0x35ad66=_0x4476bb[_0x2f1101(0xe6)]||(_0x4476bb[_0x2f1101(0x103)]&&_0x18c232[_0x2f1101(0x240)](_0x4476bb[_0x2f1101(0x103)][_0x2f1101(0x20a)],0x0)?_0x18c232['hrbBl']:_0x18c232[_0x2f1101(0xd5)]),_0xcbf1d2=_0x367061[_0x5b842a]||[];logger[_0x2f1101(0x13f)](_0x2f1101(0x1fe)+_0x5b842a+',\x20testId='+_0x1235b3+',\x20result='+_0x35ad66+',\x20hooksListLength='+_0xcbf1d2[_0x2f1101(0x20a)]);if(_0x18c232['uiWLZ'](_0xcbf1d2[_0x2f1101(0x20a)],0x0)){const _0x49b91a=_0xcbf1d2[_0x2f1101(0x170)]();_0x18c232[_0x2f1101(0xd4)](_0x35ad66,_0x18c232[_0x2f1101(0x155)])&&_0x4476bb[_0x2f1101(0x103)]?(_0x49b91a[TestFrameworkConstants[_0x2f1101(0xe8)]]=this['getJestFailureType'](_0x4476bb),_0x49b91a[TestFrameworkConstants[_0x2f1101(0x22c)]]=this[_0x2f1101(0xec)](_0x4476bb),_0x49b91a[TestFrameworkConstants[_0x2f1101(0x10e)]]=this[_0x2f1101(0x150)](_0x4476bb),logger[_0x2f1101(0x13f)](_0x2f1101(0x16b)+_0x5b842a+_0x2f1101(0x11a)+_0x49b91a[TestFrameworkConstants[_0x2f1101(0xe8)]]+',\x20failureReason='+_0x49b91a[TestFrameworkConstants[_0x2f1101(0x22c)]]?.[_0x2f1101(0x232)](0x0,0xc8))):_0x49b91a[TestFrameworkConstants[_0x2f1101(0x1be)]]=_0x18c232[_0x2f1101(0xd5)];_0x18c232['gKtMU'](_0x35ad66,TestFrameworkConstants[_0x2f1101(0xf5)])&&(_0x49b91a[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x35ad66);_0x49b91a[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x4476bb[_0x2f1101(0xcc)]||new Date()['toISOString'](),_0x49b91a[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x16db35;const _0x347575=_0x49b91a[TestFrameworkConstants[_0x2f1101(0x10a)]];!_0x3195f8[_0x5b842a]&&(_0x3195f8[_0x5b842a]=[]);_0x3195f8[_0x5b842a][_0x2f1101(0x199)](_0x49b91a),_0xabc694[_0x1235b3][TestFrameworkConstants[_0x2f1101(0x22b)]]=_0x5b842a;const _0x321b13={};_0x321b13[_0x2f1101(0x10c)]=0x2,logger[_0x2f1101(0x13f)](_0x2f1101(0xdc)+_0x5b842a+_0x2f1101(0x11f)+_0x347575+_0x2f1101(0x1d1)+_0x35ad66+_0x2f1101(0x204)+util[_0x2f1101(0x17b)](_0x49b91a,_0x321b13));}}}const _0x23a7f5={};return _0x23a7f5['depth']=0x2,_0x23a7f5[_0x2f1101(0x233)]=0x3,logger[_0x2f1101(0x13f)](_0x2f1101(0x1f7)+(_0x4476bb['hook_type']||_0x5b842a)+',\x20hookId='+_0xd307e5+',\x20testId='+_0x1235b3+_0x2f1101(0x1a8)+util[_0x2f1101(0x17b)](_0xabc694,_0x23a7f5)),_0xabc694;}[a71_0x2f4828(0x141)](_0x42b6b6){const _0x24ed93=a71_0x2f4828,_0x7fbc1b={};_0x7fbc1b[_0x24ed93(0x14f)]=_0x24ed93(0x1ad);const _0x52b288=_0x7fbc1b;try{const _0x2ea109=_0x42b6b6[_0x24ed93(0x1a3)]?this[_0x24ed93(0xf6)](_0x42b6b6['test']):_0x42b6b6[_0x24ed93(0x10b)][_0x24ed93(0xfb)],_0x4ca1f3=_0x42b6b6[_0x24ed93(0x231)],_0x3773ba=_0x4ca1f3['getContext'](),_0x1554b4=_0x4ca1f3['getAllData']()[_0x24ed93(0x1e8)](_0x2ea109);if(!_0x1554b4)return logger['debug'](_0x24ed93(0x235)+_0x2ea109),{};const {[TestFrameworkConstants[_0x24ed93(0xf8)]]:_0x25863b='',[TestFrameworkConstants[_0x24ed93(0xc2)]]:_0x277e1d='',[TestFrameworkConstants[_0x24ed93(0x230)]]:_0x5df8ba='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x1aad29=''}=_0x1554b4,_0x53b921=_0x4ca1f3[_0x24ed93(0x206)]()[_0x24ed93(0x1a0)]()[_0x24ed93(0x166)]('.')[0x1],_0x106cad=_0x4ca1f3[_0x24ed93(0x12d)]()[_0x24ed93(0x1a0)]()[_0x24ed93(0x166)]('.')[0x1],_0x23d99f=global?.['__workerDetails']?.['workerInfo']?.[_0x24ed93(0x13e)],_0x753a3b=_0x4ca1f3[_0x24ed93(0x1f5)](),_0x2234c3=Buffer['from'](JSON[_0x24ed93(0x226)](_0x1554b4))[_0x24ed93(0x1a0)](_0x52b288[_0x24ed93(0x14f)]),_0x38b131={'hash':_0x3773ba[_0x24ed93(0x122)](),'threadId':_0x3773ba[_0x24ed93(0x137)]()[_0x24ed93(0x1a0)](),'processId':_0x3773ba[_0x24ed93(0x24d)]()['toString']()},_0x4a855a={};_0x4a855a['platformIndex']=_0x23d99f,_0x4a855a['testFrameworkName']=_0x25863b,_0x4a855a[_0x24ed93(0xd9)]=_0x277e1d,_0x4a855a[_0x24ed93(0x208)]=_0x53b921,_0x4a855a[_0x24ed93(0x173)]=_0x106cad,_0x4a855a[_0x24ed93(0x1fa)]=_0x5df8ba,_0x4a855a[_0x24ed93(0x24a)]=_0x1aad29,_0x4a855a[_0x24ed93(0x179)]=_0x753a3b,_0x4a855a['eventJson']=_0x2234c3,_0x4a855a['executionContext']=_0x38b131,_0x4a855a['test_identifier']=_0x2ea109;const _0xdb67a1=_0x4a855a;return _0xdb67a1;}catch(_0x1dcf9d){return logger[_0x24ed93(0x1ba)](_0x24ed93(0x190)+util['format'](_0x1dcf9d)),{};}}async['sendLogCreatedEvent'](_0x554126,_0x271a74,_0x235e00){const _0x33f1e3=a71_0x2f4828,_0x3c317b={'Ffxdr':function(_0x5343bf,_0x33bda7){return _0x5343bf+_0x33bda7;},'QCXMH':_0x33f1e3(0xd1),'uyCXd':'none','otrwy':function(_0x15f8ab,_0x558af7){return _0x15f8ab>_0x558af7;},'qGurq':function(_0x5cecaf,_0x369a55,_0x2bceae,_0x35594f){return _0x5cecaf(_0x369a55,_0x2bceae,_0x35594f);},'xHVlC':function(_0x3eda55,_0x4c4387){return _0x3eda55-_0x4c4387;},'gXiTn':function(_0x154c5a,_0x1e1323){return _0x154c5a===_0x1e1323;},'GiGMz':function(_0x4d0891,_0x22f217){return _0x4d0891/_0x22f217;},'aiXot':function(_0xc8eb75,_0x2861a1){return _0xc8eb75<_0x2861a1;},'eQRdT':function(_0x5c36e4,_0x1e39b2){return _0x5c36e4*_0x1e39b2;},'LcOEu':function(_0xa34127,_0x51dfc4){return _0xa34127+_0x51dfc4;},'WqLIQ':function(_0x5845a0,_0x2dc4a4){return _0x5845a0+_0x2dc4a4;},'SAXrX':function(_0x4a1632,_0x2fcd07){return _0x4a1632+_0x2fcd07;}};try{const _0x36f800=_0x235e00[_0x33f1e3(0x1aa)]||_0x235e00[_0x33f1e3(0x178)],_0x44de00=Array['from'](_0x554126[_0x33f1e3(0x20b)]()[_0x33f1e3(0x23f)]()),_0x364b7a=_0x554126[_0x33f1e3(0x20b)]()[_0x33f1e3(0x1e8)](_0x36f800);if(!_0x364b7a){logger[_0x33f1e3(0x13f)](_0x33f1e3(0x161)+_0x36f800);return;}const {[TestFrameworkConstants[_0x33f1e3(0xf8)]]:_0x80d4a3='',[TestFrameworkConstants[_0x33f1e3(0xc2)]]:_0x1196f4=''}=_0x364b7a;let _0x56efb3=[];if(_0x364b7a&&_0x364b7a[TestFrameworkConstants['KEY_LOGS']]&&Array[_0x33f1e3(0xd6)](_0x364b7a[TestFrameworkConstants[_0x33f1e3(0x114)]])){_0x56efb3=_0x364b7a[TestFrameworkConstants['KEY_LOGS']]||[],logger[_0x33f1e3(0x13f)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20'+_0x56efb3[_0x33f1e3(0x20a)]+_0x33f1e3(0x11c)+_0x36f800);const _0x2b0edc={[TestFrameworkConstants[_0x33f1e3(0x114)]]:[]},_0x54a405={};_0x54a405[_0x36f800]=_0x2b0edc,_0x554126[_0x33f1e3(0xf0)](_0x54a405),logger[_0x33f1e3(0x13f)](_0x33f1e3(0xdf)+_0x36f800);}else logger[_0x33f1e3(0x13f)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0x36f800);logger['debug'](_0x33f1e3(0x176)+_0x56efb3[_0x33f1e3(0x20a)]+'\x20for\x20testId:\x20'+_0x36f800);const _0x43fcbc=_0x56efb3[_0x33f1e3(0x177)](_0x5a9b14=>_0x5a9b14[_0x33f1e3(0x214)]==='TEST_SCREENSHOT');_0x3c317b['otrwy'](_0x43fcbc['length'],0x0)&&(logger['debug'](_0x33f1e3(0x23e)+_0x43fcbc[_0x33f1e3(0x20a)]+'\x20screenshot\x20logs\x20for\x20testId:\x20'+_0x36f800),_0x43fcbc[_0x33f1e3(0x140)]((_0x416afe,_0x37e8c7)=>{const _0x28593c=_0x33f1e3;logger[_0x28593c(0x13f)](_0x28593c(0x213)+_0x3c317b[_0x28593c(0x17d)](_0x37e8c7,0x1)+'/'+_0x43fcbc[_0x28593c(0x20a)]+_0x28593c(0x158)+(_0x416afe['test_identifier']||_0x3c317b[_0x28593c(0x1ac)])+_0x28593c(0x1bd)+(_0x416afe[_0x28593c(0x216)]||_0x3c317b[_0x28593c(0x1ac)])+_0x28593c(0x1af)+(_0x416afe[_0x28593c(0xff)]||_0x3c317b[_0x28593c(0xd0)])+',\x20messageLength='+(_0x416afe[_0x28593c(0x209)]?.[_0x28593c(0x20a)]||0x0));}));const _0x331fb5=_0x364b7a[TestFrameworkConstants[_0x33f1e3(0x143)]]||{},_0x1e2de6=_0x3c317b[_0x33f1e3(0x193)](getMediaArtifactsLogs,_0x331fb5,null,_0x36f800),_0x369e20=(_0x56efb3||[])[_0x33f1e3(0x153)](_0x1e2de6||[]),_0x528a96=_0x43fcbc?.[_0x33f1e3(0x20a)]||0x0,_0x51d927=_0x3c317b[_0x33f1e3(0x1f1)](_0x56efb3?.[_0x33f1e3(0x20a)]||0x0,_0x528a96);logger[_0x33f1e3(0x13f)](_0x33f1e3(0x1d6)+_0x36f800+_0x33f1e3(0x23c)+_0x51d927+_0x33f1e3(0x1e0)+_0x528a96+',\x20attachmentLogs:\x20'+(_0x1e2de6?.['length']||0x0)+',\x20totalLogs:\x20'+_0x369e20['length']);if(!_0x369e20||_0x3c317b[_0x33f1e3(0xf4)](_0x369e20['length'],0x0)){logger[_0x33f1e3(0x13f)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20'+_0x36f800);return;}const _0x2f2a2c=0x28,_0x1822ae=Math[_0x33f1e3(0x108)](_0x3c317b[_0x33f1e3(0x13a)](_0x369e20['length'],_0x2f2a2c));for(let _0x4eea8a=0x0;_0x3c317b[_0x33f1e3(0x1dc)](_0x4eea8a,_0x1822ae);_0x4eea8a++){const _0x57ae45=_0x3c317b[_0x33f1e3(0x19e)](_0x4eea8a,_0x2f2a2c),_0x43112c=_0x3c317b[_0x33f1e3(0x16c)](_0x57ae45,_0x2f2a2c),_0x495ff0=_0x369e20[_0x33f1e3(0x21b)](_0x57ae45,_0x43112c),_0xb533fe=global?.[_0x33f1e3(0xfa)]?.[_0x33f1e3(0x131)]?.[_0x33f1e3(0x13e)]||0x0,_0x473bdb={'platformIndex':_0xb533fe,'logs':_0x495ff0,'testFrameworkName':_0x80d4a3,'testFrameworkVersion':_0x1196f4,'testFrameworkState':_0x271a74[_0x33f1e3(0x1a0)]()['split']('.')[0x1]},_0x139d7b={};_0x139d7b[_0x33f1e3(0x10c)]=0x3,_0x139d7b['maxArrayLength']=0x5,logger[_0x33f1e3(0x13f)](_0x33f1e3(0x212)+_0x3c317b[_0x33f1e3(0x1b6)](_0x4eea8a,0x1)+'/'+_0x1822ae+_0x33f1e3(0x19a)+_0x36f800+',\x20logsInBatch:\x20'+_0x495ff0['length']+',\x20platformIndex:\x20'+_0xb533fe+_0x33f1e3(0x1b0)+util[_0x33f1e3(0x17b)](_0x473bdb,_0x139d7b));const _0x4f5388=await GrpcClient[_0x33f1e3(0x1b7)]()[_0x33f1e3(0xc4)](_0x473bdb);logger[_0x33f1e3(0x13f)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20'+_0x3c317b['SAXrX'](_0x4eea8a,0x1)+'/'+_0x1822ae+_0x33f1e3(0x19a)+_0x36f800+_0x33f1e3(0x115)+util['inspect'](_0x4f5388));}if(_0x1e2de6&&_0x3c317b[_0x33f1e3(0x127)](_0x1e2de6['length'],0x0)&&_0x364b7a[TestFrameworkConstants[_0x33f1e3(0x143)]]){const _0x50c13d={[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]:{}},_0x252189={};_0x252189[_0x36f800]=_0x50c13d,_0x554126[_0x33f1e3(0xf0)](_0x252189);}logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20'+_0x36f800+',\x20totalBatches:\x20'+_0x1822ae);}catch(_0x54394d){logger['error'](_0x33f1e3(0x13b)+(_0x235e00[_0x33f1e3(0x1aa)]||_0x235e00['testId'])+_0x33f1e3(0x1f8)+util[_0x33f1e3(0x223)](_0x54394d));}}[a71_0x2f4828(0x20d)](_0x3a3c84,_0x5efefd,_0x51cb07,_0x364a56,_0x5f09f3){const _0x334c55=a71_0x2f4828,_0x5e7ca0={};_0x5e7ca0[_0x334c55(0x21f)]=function(_0x29c3c2,_0x3fedf1){return _0x29c3c2===_0x3fedf1;},_0x5e7ca0[_0x334c55(0x243)]='beforeAll';const _0x44993b=_0x5e7ca0,{hookData:_0x444a00}=_0x5f09f3,_0x213fe3={'testId':_0x5efefd,'testFrameworkState':_0x51cb07,'hookState':_0x364a56,'args':_0x5f09f3,'timestamp':new Date()[_0x334c55(0x22e)]()};if(_0x44993b['IYkLn'](_0x51cb07,TestFrameworkState[_0x334c55(0x215)])&&_0x444a00){const _0x113669={};_0x113669[_0x334c55(0x1f0)]=_0x444a00[_0x334c55(0x1fb)]||_0x444a00['location'],_0x113669[_0x334c55(0x136)]=_0x444a00['scope']||_0x444a00['scopes']&&_0x444a00[_0x334c55(0xe3)][0x0]||'',_0x113669[_0x334c55(0x203)]=_0x44993b[_0x334c55(0x243)],_0x213fe3['hookMetadata']=_0x113669,logger[_0x334c55(0x13f)](_0x334c55(0xfc)+_0x5efefd+_0x334c55(0x1da)+_0x213fe3[_0x334c55(0x222)][_0x334c55(0x1f0)]+_0x334c55(0x19f)+_0x213fe3[_0x334c55(0x222)][_0x334c55(0x136)]);}_0x3a3c84['addPendingHook'](_0x5efefd,_0x213fe3),logger[_0x334c55(0x13f)](_0x334c55(0x1d2)+_0x5efefd+_0x334c55(0x242)+_0x51cb07+_0x334c55(0x220)+_0x364a56);}async[a71_0x2f4828(0xe4)](_0x5b1ee5,_0x2f0fe8){const _0x52b684=a71_0x2f4828,_0x3898ba={};_0x3898ba[_0x52b684(0x224)]=function(_0x3e7b7c,_0x2d96b6){return _0x3e7b7c>_0x2d96b6;},_0x3898ba[_0x52b684(0x21c)]=_0x52b684(0x1e5),_0x3898ba[_0x52b684(0xeb)]=function(_0x184ad5,_0x3a9476){return _0x184ad5===_0x3a9476;},_0x3898ba[_0x52b684(0x175)]=function(_0x4017e3,_0x1aeb5c){return _0x4017e3===_0x1aeb5c;},_0x3898ba[_0x52b684(0x201)]=function(_0x226e3e,_0x33a484){return _0x226e3e===_0x33a484;},_0x3898ba[_0x52b684(0x20c)]=_0x52b684(0x1cf),_0x3898ba['eIEYC']=_0x52b684(0x100);const _0xd25bf7=_0x3898ba;if(_0x5b1ee5[_0x52b684(0x107)](_0x2f0fe8)){const _0x176ea9=_0x5b1ee5['getPendingHooks'](_0x2f0fe8);logger[_0x52b684(0x13f)](_0x52b684(0x1f9)+_0x176ea9[_0x52b684(0x20a)]+_0x52b684(0xda)+_0x2f0fe8);for(const _0x5ef9ad of _0x176ea9){try{const _0x406163=await this[_0x52b684(0x1ce)](_0x5b1ee5,_0x5ef9ad[_0x52b684(0x208)],_0x5ef9ad[_0x52b684(0x173)],_0x5ef9ad['args']);_0x406163&&_0xd25bf7['JihTG'](Object[_0x52b684(0x23f)](_0x406163)[_0x52b684(0x20a)],0x0)&&_0x5b1ee5['addMultipleEntries'](_0x406163),await this['runHooks'](_0x5b1ee5,_0x5ef9ad[_0x52b684(0x208)],_0x5ef9ad['hookState'],_0x5ef9ad[_0x52b684(0x147)]);}catch(_0x5120ad){logger['error'](_0x52b684(0x18c)+_0x2f0fe8+_0x52b684(0x1f8)+_0x5120ad);}}_0x5b1ee5[_0x52b684(0x211)](_0x2f0fe8),logger[_0x52b684(0x13f)]('Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20'+_0x2f0fe8);}const _0x45b8f2=_0x5b1ee5[_0x52b684(0x20b)]()[_0x52b684(0x1e8)](_0x2f0fe8);if(_0x45b8f2){const _0x41de7f=_0x45b8f2[TestFrameworkConstants['KEY_TEST_FILE_PATH']]||_0x45b8f2[TestFrameworkConstants[_0x52b684(0x238)]],_0x32b5c0=_0x45b8f2[TestFrameworkConstants[_0x52b684(0x10f)]]||_0x45b8f2[TestFrameworkConstants[_0x52b684(0x14e)]]&&_0x45b8f2[TestFrameworkConstants['KEY_TEST_SCOPES']][0x0]||'';logger['debug'](_0xd25bf7[_0x52b684(0x21c)]);const _0x5cc76b=_0x5b1ee5[_0x52b684(0x11b)]();for(const _0x424429 of _0x5cc76b){if(_0xd25bf7[_0x52b684(0xeb)](_0x424429,_0x2f0fe8))continue;if(_0x5b1ee5['hasPendingHooks'](_0x424429)){const _0x38e797=_0x5b1ee5[_0x52b684(0x1b8)](_0x424429);for(const _0x436d60 of _0x38e797){if(_0xd25bf7[_0x52b684(0xeb)](_0x436d60['testFrameworkState'],TestFrameworkState['BEFORE_ALL'])&&_0x436d60['hookMetadata']){const _0x15f6ee=_0x436d60[_0x52b684(0x222)][_0x52b684(0x1f0)],_0x1b763a=_0x436d60['hookMetadata'][_0x52b684(0x136)];if(_0xd25bf7['fmmwr'](_0x15f6ee,_0x41de7f)&&_0xd25bf7[_0x52b684(0x175)](_0x1b763a,_0x32b5c0)){logger[_0x52b684(0x13f)](_0x52b684(0x1a9)+_0x424429+',\x20currentTestId:\x20'+_0x2f0fe8+',\x20filePath:\x20'+_0x15f6ee+_0x52b684(0x19f)+_0x1b763a);_0x436d60[_0x52b684(0x147)]&&_0x436d60[_0x52b684(0x147)][_0x52b684(0x10b)]&&(_0x436d60[_0x52b684(0x147)]['hookData'][_0x52b684(0xfb)]=_0x2f0fe8,logger[_0x52b684(0x13f)](_0x52b684(0x1f4)+_0x424429+_0x52b684(0x14d)+_0x2f0fe8));try{const _0x467c52=await this['trackHookEvent'](_0x5b1ee5,_0x436d60['testFrameworkState'],_0x436d60[_0x52b684(0x173)],_0x436d60[_0x52b684(0x147)]);_0x467c52&&_0xd25bf7['JihTG'](Object[_0x52b684(0x23f)](_0x467c52)['length'],0x0)&&_0x5b1ee5[_0x52b684(0xf0)](_0x467c52);await this[_0x52b684(0x16d)](_0x5b1ee5,_0x436d60['testFrameworkState'],_0x436d60[_0x52b684(0x173)],_0x436d60[_0x52b684(0x147)]);const _0x51cb34=_0x5b1ee5[_0x52b684(0x1b8)](_0x424429)[_0x52b684(0x177)](_0x429fbf=>_0x429fbf!==_0x436d60);if(_0xd25bf7['gHsyW'](_0x51cb34[_0x52b684(0x20a)],0x0))_0x5b1ee5[_0x52b684(0x211)](_0x424429);else{_0x5b1ee5['removePendingHooks'](_0x424429);for(const _0x36c231 of _0x51cb34){_0x5b1ee5[_0x52b684(0x219)](_0x424429,_0x36c231);}}logger['debug'](_0xd25bf7['RNFVM']);}catch(_0x2ca9cf){logger[_0x52b684(0x1ba)](_0xd25bf7[_0x52b684(0x1c7)]);}}}}}}}}[a71_0x2f4828(0x249)](_0x714f89){const _0x107bf8=a71_0x2f4828,_0x34f9f5={'QUtfu':function(_0x18dfc2){return _0x18dfc2();}};if(!_0x714f89||!_0x714f89[_0x107bf8(0x139)])return;_0x714f89[_0x107bf8(0x139)][_0x107bf8(0x1cc)]&&Array[_0x107bf8(0xd6)](_0x714f89['parent'][_0x107bf8(0x1cc)])&&_0x714f89[_0x107bf8(0x139)]['hooks'][_0x107bf8(0x140)](_0x247df9=>{const _0x5b0ea9=_0x107bf8;!_0x247df9[_0x5b0ea9(0x1a2)]&&!_0x247df9['hookUUID']&&(_0x247df9[_0x5b0ea9(0x1a2)]=_0x34f9f5[_0x5b0ea9(0x188)](uuidv4),_0x247df9[_0x5b0ea9(0x1b5)]=_0x247df9[_0x5b0ea9(0x1a2)],logger['debug'](_0x5b0ea9(0x1e2)+_0x247df9['type']+',\x20hookUUID='+_0x247df9[_0x5b0ea9(0x1a2)]));}),this[_0x107bf8(0x249)](_0x714f89[_0x107bf8(0x139)]);}[a71_0x2f4828(0x1a1)](_0x4d8bc5){const _0x4bf85d=a71_0x2f4828,_0x47f9cd={'xIvzt':function(_0x4b2fd2,_0x43695d){return _0x4b2fd2(_0x43695d);}};if(!_0x4d8bc5||!_0x4d8bc5[_0x4bf85d(0x139)])return[];const _0x56fda3=[];return _0x4d8bc5[_0x4bf85d(0x139)][_0x4bf85d(0x1cc)]&&Array[_0x4bf85d(0xd6)](_0x4d8bc5[_0x4bf85d(0x139)][_0x4bf85d(0x1cc)])&&_0x4d8bc5['parent']['hooks'][_0x4bf85d(0x140)](_0xe8409f=>{const _0x16b55b=_0x4bf85d,_0x12cc4b=_0xe8409f[_0x16b55b(0x1a2)]||_0xe8409f['hookUUID'];_0x12cc4b&&!this[_0x16b55b(0x154)](_0xe8409f)&&!_0x47f9cd[_0x16b55b(0x22a)](isInternalHook,_0xe8409f['fn'])&&_0x56fda3['push'](_0x12cc4b);}),[..._0x56fda3,...this[_0x4bf85d(0x1a1)](_0x4d8bc5['parent'])];}[a71_0x2f4828(0x20f)](_0xd41428){const _0x320711=a71_0x2f4828,_0x23e9ee={'ATpMl':function(_0x314e80,_0x257730){return _0x314e80(_0x257730);},'ylGMN':_0x320711(0x133),'EcMRb':function(_0x123e33,_0x15ec6c){return _0x123e33(_0x15ec6c);},'OBeic':function(_0xf84b38,_0x8f9b26){return _0xf84b38(_0x8f9b26);}},_0x13dc89=new Map(),_0x502e29=_0x15ba51=>{const _0x37cef=_0x320711;if(!_0x15ba51||!_0x15ba51[_0x37cef(0x139)])return;_0x15ba51[_0x37cef(0x139)][_0x37cef(0x1cc)]&&Array[_0x37cef(0xd6)](_0x15ba51[_0x37cef(0x139)]['hooks'])&&_0x15ba51[_0x37cef(0x139)][_0x37cef(0x1cc)][_0x37cef(0x140)](_0x37c463=>{const _0x1c5511=_0x37cef,_0x2f18a2=_0x37c463[_0x1c5511(0x1a2)]||_0x37c463[_0x1c5511(0x1b5)];if(_0x2f18a2&&!this[_0x1c5511(0x154)](_0x37c463)&&!_0x23e9ee[_0x1c5511(0xcf)](isInternalHook,_0x37c463['fn'])){const _0x2021e3={};_0x2021e3[_0x1c5511(0x12a)]=_0x37c463[_0x1c5511(0x12a)]||_0x23e9ee['ylGMN'],_0x2021e3['name']=_0x37c463[_0x1c5511(0x244)]||'\x22'+_0x37c463[_0x1c5511(0x12a)]+'\x22\x20hook',_0x13dc89[_0x1c5511(0x14a)](_0x2f18a2,_0x2021e3);}}),_0x23e9ee[_0x37cef(0x142)](_0x502e29,_0x15ba51['parent']);};return _0x23e9ee[_0x320711(0xf2)](_0x502e29,_0xd41428),_0x13dc89;}[a71_0x2f4828(0x154)](_0x55736a){const _0x58a450=a71_0x2f4828,_0x5170d6={};_0x5170d6[_0x58a450(0xfe)]=_0x58a450(0x124),_0x5170d6['SnsfC']=_0x58a450(0x218);const _0x325db1=_0x5170d6;try{const _0x5996e9=this[_0x58a450(0x1e6)](_0x55736a);return _0x5996e9&&_0x5996e9['includes'](_0x325db1[_0x58a450(0xfe)]);}catch(_0x4e5d7c){logger['debug'](_0x325db1[_0x58a450(0x221)]);}return![];}[a71_0x2f4828(0x1e6)](_0x4353e8){const _0x468b5c=a71_0x2f4828;if(_0x4353e8[_0x468b5c(0x1d3)])try{const _0x45d94d=stackTrace[_0x468b5c(0x1f3)](_0x4353e8[_0x468b5c(0x1d3)]);return _0x45d94d[0x0]?_0x45d94d[0x0][_0x468b5c(0x1c4)]():null;}catch(_0x30e787){logger[_0x468b5c(0x13f)]('[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20'+util[_0x468b5c(0x223)](_0x30e787));}if(_0x4353e8[_0x468b5c(0x163)])return _0x4353e8[_0x468b5c(0x163)];return null;}}function a71_0x218f(_0x39f307,_0xe7affc){const _0x518903=a71_0x5189();return a71_0x218f=function(_0x218f1f,_0x4f052b){_0x218f1f=_0x218f1f-0xc1;let _0x3d5710=_0x518903[_0x218f1f];return _0x3d5710;},a71_0x218f(_0x39f307,_0xe7affc);}module['exports']=JestTestFramework;
@@ -1 +1 @@
1
- const a72_0x14d94b=a72_0x1489;function a72_0x4429(){const _0x559125=['../../../helpers/classLogger.js','getAutomationFrameworkVersion','../instances/trackedInstance.js','\x20hookState=','DKKPW','151932scWolE','setTrackedInstance','BoUZM','trackPlaywrightInstance:\x20instance\x20already\x20exists','params','./automationFramework.js','PLAYWRIGHT_DISPATCH','144gdCnlE','../state/automationFrameworkState.js','getId','2336796hRUBVP','getCurrentInstanceName','message','../cliUtils.js','\x20target=','2447030mtDGBF','debug','247900sNyIja','SRuGz','2RLYAkc','1802508ouAPij','trackPlaywrightInstance','runHooks','PlaywrightAutomationFramework','NONE',',\x20state=','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','exports','getTrackedInstance','logger','trackEvent','bjjHH','../instances/automationFrameworkInstance.js','ksbwb','766881ywDKEG','trackEvent:\x20automationFrameworkState=','resolveInstance','bsParams','instance','info','1692741QletiY'];a72_0x4429=function(){return _0x559125;};return a72_0x4429();}function a72_0x1489(_0x9302f8,_0x3763c1){const _0x44292b=a72_0x4429();return a72_0x1489=function(_0x148905,_0x570f84){_0x148905=_0x148905-0x9a;let _0x1145c7=_0x44292b[_0x148905];return _0x1145c7;},a72_0x1489(_0x9302f8,_0x3763c1);}(function(_0x4db8d9,_0x46f7ca){const _0x435ff9=a72_0x1489,_0x473e74=_0x4db8d9();while(!![]){try{const _0x861ef=-parseInt(_0x435ff9(0xba))/0x1+parseInt(_0x435ff9(0x9f))/0x2*(-parseInt(_0x435ff9(0xb4))/0x3)+-parseInt(_0x435ff9(0x9d))/0x4+-parseInt(_0x435ff9(0x9b))/0x5+-parseInt(_0x435ff9(0xa0))/0x6+parseInt(_0x435ff9(0xc4))/0x7+-parseInt(_0x435ff9(0xc1))/0x8*(-parseInt(_0x435ff9(0xae))/0x9);if(_0x861ef===_0x46f7ca)break;else _0x473e74['push'](_0x473e74['shift']());}catch(_0x4dd2cd){_0x473e74['push'](_0x473e74['shift']());}}}(a72_0x4429,0x4925c));const AutomationFramework=require(a72_0x14d94b(0xbf)),{createClassLogger}=require(a72_0x14d94b(0xb5)),AutomationFrameworkState=require(a72_0x14d94b(0xc2)),CLIUtils=require(a72_0x14d94b(0xc7)),TrackedInstance=require(a72_0x14d94b(0xb7)),AutomationFrameworkInstance=require(a72_0x14d94b(0xac));class PlaywrightAutomationFramework extends AutomationFramework{['logger']=createClassLogger(a72_0x14d94b(0xa3));constructor(_0x52ba80,_0x4eb47c){super(_0x52ba80,_0x4eb47c);}async[a72_0x14d94b(0xaa)](_0x5ed244,_0x582fd9,_0x52cbba={}){const _0x29752b=a72_0x14d94b,_0x525558={};_0x525558[_0x29752b(0xad)]=function(_0x1cf53d,_0x2905af){return _0x1cf53d===_0x2905af;};const _0x454eac=_0x525558;this[_0x29752b(0xa9)][_0x29752b(0x9c)](_0x29752b(0xaf)+_0x5ed244+_0x29752b(0xb8)+_0x582fd9),await super[_0x29752b(0xaa)](_0x5ed244,_0x582fd9,_0x52cbba);const _0x6d5823=this[_0x29752b(0xb0)](_0x5ed244,_0x582fd9,_0x52cbba);if(_0x454eac[_0x29752b(0xad)](_0x6d5823,null))return;_0x52cbba[_0x29752b(0xb2)]=_0x6d5823,await this[_0x29752b(0xa2)](_0x6d5823,_0x5ed244,_0x582fd9,_0x52cbba);}['resolveInstance'](_0x21bf7b,_0x5d424f,_0x4030d8={}){const _0x106a48=a72_0x14d94b,_0x329272={};_0x329272[_0x106a48(0xab)]=function(_0x4404e6,_0x259f52){return _0x4404e6===_0x259f52;},_0x329272[_0x106a48(0x9e)]=function(_0x3d87ef,_0x18f885){return _0x3d87ef===_0x18f885;},_0x329272[_0x106a48(0xbc)]=function(_0x39f5fa,_0x1ac090){return _0x39f5fa===_0x1ac090;};const _0xf8929d=_0x329272;let _0x5e9b99=null;return(_0xf8929d[_0x106a48(0xab)](_0x21bf7b,AutomationFrameworkState['CREATE'])||_0xf8929d[_0x106a48(0x9e)](_0x21bf7b,AutomationFrameworkState[_0x106a48(0xc0)])&&(_0x4030d8[_0x106a48(0xc6)]&&_0x4030d8[_0x106a48(0xc6)][_0x106a48(0xbe)]&&_0x4030d8[_0x106a48(0xc6)]['params'][_0x106a48(0xb1)])||_0xf8929d[_0x106a48(0xbc)](_0x21bf7b,AutomationFrameworkState[_0x106a48(0xa4)]))&&this[_0x106a48(0xa1)](_0x21bf7b,_0x4030d8),_0x5e9b99=AutomationFramework['getTrackedInstance'](),_0x5e9b99;}[a72_0x14d94b(0xa1)](_0x518d5b,_0xbc758f){const _0x58e8a9=a72_0x14d94b,_0x1d32b0={};_0x1d32b0[_0x58e8a9(0xb9)]=_0x58e8a9(0xbd);const _0x6c196=_0x1d32b0;if(AutomationFramework[_0x58e8a9(0xa8)]()){this[_0x58e8a9(0xa9)]['info'](_0x6c196['DKKPW']);return;}const _0x593b62=CLIUtils[_0x58e8a9(0xc5)](),_0x599ef6=TrackedInstance['createContext'](_0x593b62);let _0x936f93=null;this[_0x58e8a9(0xa9)][_0x58e8a9(0xb3)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x593b62+_0x58e8a9(0xa5)+_0x518d5b),_0x936f93=new AutomationFrameworkInstance(_0x599ef6,this['getAutomationFrameworkName'](),this[_0x58e8a9(0xb6)](),_0x518d5b),AutomationFramework[_0x58e8a9(0xbb)](_0x599ef6,_0x936f93),this[_0x58e8a9(0xa9)][_0x58e8a9(0xb3)](_0x58e8a9(0xa6)+_0x599ef6[_0x58e8a9(0xc3)]()+_0x58e8a9(0x9a)+_0x593b62);}}module[a72_0x14d94b(0xa7)]=PlaywrightAutomationFramework;
1
+ const a72_0x198967=a72_0x5f4c;function a72_0x5f4c(_0x1c3439,_0x3b1b69){const _0x34b897=a72_0x34b8();return a72_0x5f4c=function(_0x5f4c05,_0x196626){_0x5f4c05=_0x5f4c05-0xdb;let _0x217951=_0x34b897[_0x5f4c05];return _0x217951;},a72_0x5f4c(_0x1c3439,_0x3b1b69);}(function(_0x8cca2,_0x415d90){const _0x57ab75=a72_0x5f4c,_0x33f4a7=_0x8cca2();while(!![]){try{const _0x52124b=parseInt(_0x57ab75(0xf4))/0x1+-parseInt(_0x57ab75(0xeb))/0x2*(-parseInt(_0x57ab75(0xf1))/0x3)+parseInt(_0x57ab75(0xfe))/0x4+parseInt(_0x57ab75(0x101))/0x5+parseInt(_0x57ab75(0xf9))/0x6*(-parseInt(_0x57ab75(0xe3))/0x7)+-parseInt(_0x57ab75(0xe6))/0x8*(parseInt(_0x57ab75(0x105))/0x9)+parseInt(_0x57ab75(0x107))/0xa;if(_0x52124b===_0x415d90)break;else _0x33f4a7['push'](_0x33f4a7['shift']());}catch(_0x2291fc){_0x33f4a7['push'](_0x33f4a7['shift']());}}}(a72_0x34b8,0x65361));function a72_0x34b8(){const _0x35ffd0=['trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','../instances/automationFrameworkInstance.js','618hFMHyg','message','NONE','bsParams','trackEvent:\x20automationFrameworkState=','955856JZUsGB','eIDaw','../cliUtils.js','694955vDTvtt','getId','PlaywrightAutomationFramework',',\x20state=','54TLGVJl','../instances/trackedInstance.js','2990030SBlleV','../state/automationFrameworkState.js','logger','./automationFramework.js','setTrackedInstance','gFvjx','getAutomationFrameworkName','createContext','PLAYWRIGHT_DISPATCH','43939DtRymm','exports','info','936848UCnwht','resolveInstance','lqcdn','trackPlaywrightInstance','getAutomationFrameworkVersion','747226QKvRVk','params','\x20target=','gFbDz','getTrackedInstance','debug','3eNXTYe','trackEvent','../../../helpers/classLogger.js','713157AhUHlc','hZnnF','\x20hookState='];a72_0x34b8=function(){return _0x35ffd0;};return a72_0x34b8();}const AutomationFramework=require(a72_0x198967(0xdd)),{createClassLogger}=require(a72_0x198967(0xf3)),AutomationFrameworkState=require(a72_0x198967(0xdb)),CLIUtils=require(a72_0x198967(0x100)),TrackedInstance=require(a72_0x198967(0x106)),AutomationFrameworkInstance=require(a72_0x198967(0xf8));class PlaywrightAutomationFramework extends AutomationFramework{[a72_0x198967(0xdc)]=createClassLogger(a72_0x198967(0x103));constructor(_0x3a7c09,_0x514ee3){super(_0x3a7c09,_0x514ee3);}async['trackEvent'](_0x505ed2,_0x4c9dea,_0x409ac1={}){const _0x344bd2=a72_0x198967,_0x21cdda={};_0x21cdda[_0x344bd2(0xe8)]=function(_0xa1e9bd,_0x56a9eb){return _0xa1e9bd===_0x56a9eb;};const _0x3c49cc=_0x21cdda;this['logger'][_0x344bd2(0xf0)](_0x344bd2(0xfd)+_0x505ed2+_0x344bd2(0xf6)+_0x4c9dea),await super[_0x344bd2(0xf2)](_0x505ed2,_0x4c9dea,_0x409ac1);const _0x446488=this[_0x344bd2(0xe7)](_0x505ed2,_0x4c9dea,_0x409ac1);if(_0x3c49cc[_0x344bd2(0xe8)](_0x446488,null))return;_0x409ac1['instance']=_0x446488,await this['runHooks'](_0x446488,_0x505ed2,_0x4c9dea,_0x409ac1);}[a72_0x198967(0xe7)](_0x11bee3,_0x49dd35,_0x1e70a4={}){const _0x488c9c=a72_0x198967,_0x9fcf15={};_0x9fcf15[_0x488c9c(0xff)]=function(_0x3e7926,_0x203a14){return _0x3e7926===_0x203a14;},_0x9fcf15[_0x488c9c(0xf5)]=function(_0xb9d3d9,_0x5ddb00){return _0xb9d3d9===_0x5ddb00;},_0x9fcf15[_0x488c9c(0xdf)]=function(_0xc14d18,_0x2491e6){return _0xc14d18===_0x2491e6;};const _0xf8637d=_0x9fcf15;let _0x1fe4b2=null;return(_0xf8637d['eIDaw'](_0x11bee3,AutomationFrameworkState['CREATE'])||_0xf8637d[_0x488c9c(0xf5)](_0x11bee3,AutomationFrameworkState[_0x488c9c(0xe2)])&&(_0x1e70a4[_0x488c9c(0xfa)]&&_0x1e70a4[_0x488c9c(0xfa)][_0x488c9c(0xec)]&&_0x1e70a4[_0x488c9c(0xfa)]['params'][_0x488c9c(0xfc)])||_0xf8637d[_0x488c9c(0xdf)](_0x11bee3,AutomationFrameworkState[_0x488c9c(0xfb)]))&&this[_0x488c9c(0xe9)](_0x11bee3,_0x1e70a4),_0x1fe4b2=AutomationFramework['getTrackedInstance'](),_0x1fe4b2;}[a72_0x198967(0xe9)](_0x448305,_0x12db58){const _0x96a92a=a72_0x198967,_0x1ebcc3={};_0x1ebcc3[_0x96a92a(0xee)]='trackPlaywrightInstance:\x20instance\x20already\x20exists';const _0xb4f446=_0x1ebcc3;if(AutomationFramework[_0x96a92a(0xef)]()){this[_0x96a92a(0xdc)][_0x96a92a(0xe5)](_0xb4f446['gFbDz']);return;}const _0x11d2c0=CLIUtils['getCurrentInstanceName'](),_0x597ea9=TrackedInstance[_0x96a92a(0xe1)](_0x11d2c0);let _0x1ae0b6=null;this['logger'][_0x96a92a(0xe5)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x11d2c0+_0x96a92a(0x104)+_0x448305),_0x1ae0b6=new AutomationFrameworkInstance(_0x597ea9,this[_0x96a92a(0xe0)](),this[_0x96a92a(0xea)](),_0x448305),AutomationFramework[_0x96a92a(0xde)](_0x597ea9,_0x1ae0b6),this['logger'][_0x96a92a(0xe5)](_0x96a92a(0xf7)+_0x597ea9[_0x96a92a(0x102)]()+_0x96a92a(0xed)+_0x11d2c0);}}module[a72_0x198967(0xe4)]=PlaywrightAutomationFramework;