browserstack-node-sdk 1.53.6 → 1.54.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (193) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +10 -9
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/puppeteer/patches.js +1 -1
  90. package/src/bin/puppeteer/sessionDetails.js +1 -1
  91. package/src/bin/puppeteer/test.setup.js +1 -1
  92. package/src/bin/runner.js +1 -1
  93. package/src/bin/setup.js +1 -1
  94. package/src/bin/test-runner/index.js +1 -1
  95. package/src/bin/test-runner/runTest.js +1 -1
  96. package/src/bin/test-runner/testWorker.js +1 -1
  97. package/src/bin/utils/apiUtilityMethods.js +1 -1
  98. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  99. package/src/bin/utils/constants.js +1 -1
  100. package/src/bin/utils/log4jsAppender.js +1 -1
  101. package/src/bin/utils/logPatcher.js +1 -1
  102. package/src/bin/utils/logReportingAPI.js +1 -1
  103. package/src/bin/utils/playwright-patcher.js +1 -1
  104. package/src/bin/utils/puppeteer-patcher.js +1 -1
  105. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  106. package/src/bin/utils/sharedUtils.js +1 -1
  107. package/src/bin/v2/TestInfo.js +1 -1
  108. package/src/bin/v2/browserstackCLI.js +1 -1
  109. package/src/bin/v2/cliUtils.js +1 -1
  110. package/src/bin/v2/customTagManager.js +1 -1
  111. package/src/bin/v2/eventDispatcher.js +1 -1
  112. package/src/bin/v2/framework/automationFramework.js +1 -1
  113. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  114. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  115. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  116. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  117. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  118. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  119. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  120. package/src/bin/v2/framework/testFramework.js +1 -1
  121. package/src/bin/v2/grpcClient.js +1 -1
  122. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  123. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  124. package/src/bin/v2/instances/trackedContext.js +1 -1
  125. package/src/bin/v2/instances/trackedInstance.js +1 -1
  126. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  127. package/src/bin/v2/modules/baseModule.js +1 -1
  128. package/src/bin/v2/modules/loadTestModule.js +1 -1
  129. package/src/bin/v2/modules/observabilityModule.js +1 -1
  130. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  131. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  132. package/src/bin/v2/modules/testhubModule.js +1 -1
  133. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  134. package/src/bin/v2/state/hookState.js +1 -1
  135. package/src/bin/v2/state/testFrameworkState.js +1 -1
  136. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  137. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  138. package/src/bin/v2/utils/jest-utils.js +1 -1
  139. package/src/bin/vanilla-js/command.js +1 -1
  140. package/src/browserStackSdk.js +1 -1
  141. package/src/helpers/BrowserStackSetup.js +1 -1
  142. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  143. package/src/helpers/accessibility-automation/constants.js +1 -1
  144. package/src/helpers/accessibility-automation/helper.js +1 -1
  145. package/src/helpers/accessibility-automation/scripts.js +1 -1
  146. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  147. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  148. package/src/helpers/ats/constants.js +1 -1
  149. package/src/helpers/ats/helper.js +1 -1
  150. package/src/helpers/capsMapping.js +1 -1
  151. package/src/helpers/central-scanner/constants.js +1 -1
  152. package/src/helpers/central-scanner/helpers.js +1 -1
  153. package/src/helpers/classLogger.js +1 -1
  154. package/src/helpers/globals.js +1 -1
  155. package/src/helpers/helper.js +1 -1
  156. package/src/helpers/logger.js +1 -1
  157. package/src/helpers/metadata.js +1 -1
  158. package/src/helpers/patchHelper.js +1 -1
  159. package/src/helpers/patchHelpers.js +1 -1
  160. package/src/helpers/percy/Percy.js +1 -1
  161. package/src/helpers/percy/PercyBinary.js +1 -1
  162. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  163. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  164. package/src/helpers/percy/PercySDK.js +1 -1
  165. package/src/helpers/percy/index.js +1 -1
  166. package/src/helpers/percy/utils.js +1 -1
  167. package/src/helpers/performance/constants.js +1 -1
  168. package/src/helpers/performance/performance-tester.js +1 -1
  169. package/src/helpers/playwright-helper.js +1 -1
  170. package/src/helpers/processHelper.js +1 -1
  171. package/src/helpers/puppeteer-helper.js +1 -1
  172. package/src/helpers/request-spy.js +1 -1
  173. package/src/helpers/setKeepAlive.js +1 -1
  174. package/src/helpers/test-observability/constants.js +1 -1
  175. package/src/helpers/test-observability/error-handler.js +1 -1
  176. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  177. package/src/helpers/test-observability/sessionHandler.js +1 -1
  178. package/src/helpers/test-observability/utils.js +1 -1
  179. package/src/helpers/test-orchestration/constants.js +1 -1
  180. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  181. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  182. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  183. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  184. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  185. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  186. package/src/helpers/testhub/constants.js +1 -1
  187. package/src/helpers/testhub/testhubHandler.js +1 -1
  188. package/src/helpers/testhub/utils.js +1 -1
  189. package/src/helpers/timeoutPromise.js +1 -1
  190. package/src/helpers/utilities.js +1 -1
  191. package/src/helpers/w3cMapping.js +1 -1
  192. package/src/hubAllocationMethods.js +1 -1
  193. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a75_0x55d67c=a75_0x8b4b;(function(_0x368b0c,_0x46a5f4){const _0x2a63f2=a75_0x8b4b,_0x33872e=_0x368b0c();while(!![]){try{const _0x2bacb1=parseInt(_0x2a63f2(0x13e))/0x1*(-parseInt(_0x2a63f2(0x14c))/0x2)+-parseInt(_0x2a63f2(0x23d))/0x3+-parseInt(_0x2a63f2(0x187))/0x4*(parseInt(_0x2a63f2(0x225))/0x5)+-parseInt(_0x2a63f2(0x25e))/0x6*(parseInt(_0x2a63f2(0x229))/0x7)+parseInt(_0x2a63f2(0x295))/0x8+parseInt(_0x2a63f2(0x293))/0x9+parseInt(_0x2a63f2(0x1e4))/0xa*(parseInt(_0x2a63f2(0x1f0))/0xb);if(_0x2bacb1===_0x46a5f4)break;else _0x33872e['push'](_0x33872e['shift']());}catch(_0xcab053){_0x33872e['push'](_0x33872e['shift']());}}}(a75_0x4182,0x84547));const TestFramework=require(a75_0x55d67c(0x23b)),TestFrameworkState=require(a75_0x55d67c(0x1a9)),HookState=require(a75_0x55d67c(0x189)),{createClassLogger}=require(a75_0x55d67c(0x26f)),TestFrameworkInstance=require(a75_0x55d67c(0x13f)),CLIUtils=require(a75_0x55d67c(0x2a2)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a75_0x55d67c(0x25b)),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),{isInternalHook}=require(a75_0x55d67c(0x27f)),logger=createClassLogger('JestTestFramework'),{v4:uuidv4}=require(a75_0x55d67c(0x215)),util=require(a75_0x55d67c(0x17f)),TestInfo=require(a75_0x55d67c(0x230)),GrpcClient=require('../grpcClient'),stackTrace=require(a75_0x55d67c(0x17d));class JestTestFramework extends TestFramework{constructor(_0x4060dc,_0x18a456,_0x1ea6bb){super(_0x4060dc,_0x18a456,_0x1ea6bb),this['activeHooks']=new Map();}['setActiveHook'](_0x1dc091,_0x244198,_0xebbba8){const _0x2c75cd=a75_0x55d67c,_0x1cab00={};_0x1cab00[_0x2c75cd(0x2ab)]=function(_0x34b2c0,_0x4a9424){return _0x34b2c0||_0x4a9424;};const _0x5cca91=_0x1cab00;if(_0x5cca91[_0x2c75cd(0x2ab)](!_0x1dc091,!_0x244198)){logger[_0x2c75cd(0x19f)](_0x2c75cd(0x272)+_0x1dc091+',\x20hookUUID='+_0x244198);return;}!this['activeHooks'][_0x2c75cd(0x20a)](_0x1dc091)&&this['activeHooks'][_0x2c75cd(0x25d)](_0x1dc091,[]);const _0x4aba17={'hookUUID':_0x244198,'hookType':_0xebbba8,'startedAt':new Date()['toISOString']()};this[_0x2c75cd(0x13a)][_0x2c75cd(0x140)](_0x1dc091)['push'](_0x4aba17),logger[_0x2c75cd(0x1c2)](_0x2c75cd(0x1c4)+_0x1dc091+_0x2c75cd(0x168)+_0x244198+_0x2c75cd(0x138)+_0xebbba8+_0x2c75cd(0x1fe)+this[_0x2c75cd(0x13a)][_0x2c75cd(0x140)](_0x1dc091)[_0x2c75cd(0x160)]);}['removeActiveHook'](_0x4639df,_0x29048f){const _0x204f42=a75_0x55d67c,_0x3d31be={};_0x3d31be[_0x204f42(0x234)]=function(_0x44ecfe,_0x5c4533){return _0x44ecfe||_0x5c4533;},_0x3d31be['hqpsf']=function(_0x4769df,_0x116b58){return _0x4769df!==_0x116b58;},_0x3d31be[_0x204f42(0x2a6)]=function(_0x1f11b0,_0x1aba71){return _0x1f11b0===_0x1aba71;};const _0x2bd8ba=_0x3d31be;if(_0x2bd8ba[_0x204f42(0x234)](!_0x4639df,!_0x29048f)){logger[_0x204f42(0x19f)]('[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier='+_0x4639df+',\x20hookUUID='+_0x29048f);return;}if(this['activeHooks'][_0x204f42(0x20a)](_0x4639df)){const _0xdc21b1=this[_0x204f42(0x13a)][_0x204f42(0x140)](_0x4639df),_0x15d3a9=_0xdc21b1[_0x204f42(0x1e0)](_0x4c5abe=>_0x4c5abe[_0x204f42(0x1f4)]===_0x29048f);_0x2bd8ba['hqpsf'](_0x15d3a9,-0x1)?(_0xdc21b1['splice'](_0x15d3a9,0x1),logger[_0x204f42(0x1c2)]('[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier='+_0x4639df+_0x204f42(0x168)+_0x29048f+_0x204f42(0x241)+_0xdc21b1[_0x204f42(0x160)]),_0x2bd8ba[_0x204f42(0x2a6)](_0xdc21b1[_0x204f42(0x160)],0x0)&&this['activeHooks']['delete'](_0x4639df)):logger[_0x204f42(0x1c2)](_0x204f42(0x149)+_0x4639df+_0x204f42(0x168)+_0x29048f);}}['getActiveHook'](_0x53b61e){const _0x174cc0=a75_0x55d67c,_0x578439={};_0x578439['GARca']=function(_0x1dc913,_0x40bd47){return _0x1dc913>_0x40bd47;},_0x578439[_0x174cc0(0x1c1)]=function(_0x33edf8,_0x2732b1){return _0x33edf8-_0x2732b1;};const _0x58cb95=_0x578439;if(!_0x53b61e)return null;if(this[_0x174cc0(0x13a)][_0x174cc0(0x20a)](_0x53b61e)){const _0x3278cb=this[_0x174cc0(0x13a)][_0x174cc0(0x140)](_0x53b61e);if(_0x58cb95[_0x174cc0(0x1f1)](_0x3278cb[_0x174cc0(0x160)],0x0)){const _0x5ca4db=_0x3278cb[_0x58cb95[_0x174cc0(0x1c1)](_0x3278cb[_0x174cc0(0x160)],0x1)];return logger[_0x174cc0(0x1c2)]('[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier='+_0x53b61e+_0x174cc0(0x168)+_0x5ca4db[_0x174cc0(0x1f4)]+_0x174cc0(0x138)+_0x5ca4db[_0x174cc0(0x24f)]),_0x5ca4db;}}return null;}async[a75_0x55d67c(0x239)](_0x9fe68,_0x59f533,_0x31cdf1={}){const _0x2ae847=a75_0x55d67c,_0x164f4a={};_0x164f4a[_0x2ae847(0x1b5)]='[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found',_0x164f4a[_0x2ae847(0x201)]=function(_0x469a35,_0xf15df4){return _0x469a35===_0xf15df4;},_0x164f4a[_0x2ae847(0x26e)]=function(_0x478c90,_0x645156){return _0x478c90||_0x645156;},_0x164f4a[_0x2ae847(0x206)]='[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND';const _0x49210d=_0x164f4a;logger['debug'](_0x2ae847(0x1c5)+_0x9fe68+',\x20hookState='+_0x59f533+_0x2ae847(0x20c)+Object[_0x2ae847(0x1ce)](_0x31cdf1)[_0x2ae847(0x139)](',')),await super[_0x2ae847(0x239)](_0x9fe68,_0x59f533,_0x31cdf1);const _0x2dd2c8=this['resolveInstance'](_0x9fe68,_0x59f533,_0x31cdf1);if(!_0x2dd2c8){logger[_0x2ae847(0x1c2)](_0x49210d['jvrbw']);return;}try{let _0x5b2dd4,_0x28f434,_0xa8cb02;switch(_0x9fe68){case TestFrameworkState['TEST']:_0x5b2dd4=_0x31cdf1[_0x2ae847(0x2b4)];const _0x32af3b={};_0x32af3b[_0x2ae847(0x195)]=0x2,_0x32af3b['maxArrayLength']=0x3,logger[_0x2ae847(0x1c2)](_0x2ae847(0x18d)+_0x59f533+_0x2ae847(0x280)+util[_0x2ae847(0x1c7)](_0x5b2dd4,_0x32af3b)),_0xa8cb02=this[_0x2ae847(0x292)](_0x5b2dd4),_0x28f434=null,logger[_0x2ae847(0x1c2)](_0x2ae847(0x142)+_0xa8cb02+'\x20(testIdentifier)');if(_0x49210d[_0x2ae847(0x201)](_0x59f533,HookState['PRE'])){logger[_0x2ae847(0x1c2)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20'+_0xa8cb02);const _0x362a63={};_0x362a63['testUUID']=_0x28f434,_0x362a63[_0x2ae847(0x13b)]=_0x5b2dd4,_0x362a63[_0x2ae847(0x13d)]=_0xa8cb02;const _0x295e6f=this[_0x2ae847(0x214)](_0x362a63),_0xe90747={};_0xe90747[_0x2ae847(0x195)]=0x2,_0xe90747[_0x2ae847(0x199)]=0x3,logger['debug']('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20'+util[_0x2ae847(0x1c7)](_0x295e6f,_0xe90747)),_0x2dd2c8[_0x2ae847(0x1d0)](_0x295e6f),logger[_0x2ae847(0x1c2)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20'+_0xa8cb02),await this[_0x2ae847(0x2b2)](_0x2dd2c8,_0xa8cb02);}else{if(_0x49210d[_0x2ae847(0x201)](_0x59f533,HookState[_0x2ae847(0x1cc)])){logger[_0x2ae847(0x1c2)](_0x2ae847(0x20d)+_0xa8cb02);const _0x208552=_0x2dd2c8[_0x2ae847(0x290)]()[_0x2ae847(0x140)](_0xa8cb02);logger[_0x2ae847(0x1c2)](_0x2ae847(0x167)+util[_0x2ae847(0x1c7)](Object[_0x2ae847(0x1ce)](_0x49210d[_0x2ae847(0x26e)](_0x208552,{}))));_0x208552&&_0x208552[TestFrameworkConstants[_0x2ae847(0x14e)]]?logger[_0x2ae847(0x1c2)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20'+Object[_0x2ae847(0x1ce)](_0x208552[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']])[_0x2ae847(0x160)]+'\x20files'):logger[_0x2ae847(0x1c2)](_0x49210d[_0x2ae847(0x206)]);const _0xf374ba=_0x31cdf1[_0x2ae847(0x266)]||null,_0x210e4d={};_0x210e4d['testUUID']=_0x28f434,_0x210e4d['testData']=_0x5b2dd4,_0x210e4d[_0x2ae847(0x13d)]=_0xa8cb02,_0x210e4d[_0x2ae847(0x266)]=_0xf374ba;const _0x5de86f=this[_0x2ae847(0x1bc)](_0x210e4d),_0x549fea={};_0x549fea[_0x2ae847(0x195)]=0x2,_0x549fea[_0x2ae847(0x199)]=0x3,logger[_0x2ae847(0x1c2)](_0x2ae847(0x1b6)+util[_0x2ae847(0x1c7)](_0x5de86f,_0x549fea)),_0x2dd2c8[_0x2ae847(0x1d0)](_0x5de86f),logger['debug'](_0x2ae847(0x277)+_0xa8cb02),await this[_0x2ae847(0x2b2)](_0x2dd2c8,_0xa8cb02);}}break;case TestFrameworkState['LOG_REPORT']:if(_0x49210d[_0x2ae847(0x201)](_0x59f533,HookState[_0x2ae847(0x1cc)])){const _0x1f2dad={};_0x1f2dad[_0x2ae847(0x195)]=0x2,logger[_0x2ae847(0x1c2)](_0x2ae847(0x291)+util[_0x2ae847(0x1c7)](_0x31cdf1,_0x1f2dad)),await this['sendLogCreatedEvent'](_0x2dd2c8,_0x9fe68,_0x31cdf1);}break;default:if(CLIUtils[_0x2ae847(0x2a1)](_0x9fe68[_0x2ae847(0x222)]()[_0x2ae847(0x218)]('.')[0x1])){const _0x5d9537={};_0x5d9537['depth']=0x2,_0x5d9537[_0x2ae847(0x199)]=0x3,logger[_0x2ae847(0x1c2)](_0x2ae847(0x1d3)+_0x9fe68+_0x2ae847(0x156)+_0x59f533+',\x20hookData='+util[_0x2ae847(0x1c7)](_0x31cdf1[_0x2ae847(0x154)],_0x5d9537));const _0x3a2e64=await this[_0x2ae847(0x204)](_0x2dd2c8,_0x9fe68,_0x59f533,_0x31cdf1),_0x53e58b={};_0x53e58b['depth']=0x2,_0x53e58b['maxArrayLength']=0x3,logger[_0x2ae847(0x1c2)](_0x2ae847(0x264)+util[_0x2ae847(0x1c7)](_0x3a2e64,_0x53e58b)),_0x2dd2c8[_0x2ae847(0x1d0)](_0x3a2e64);}else logger['debug'](_0x2ae847(0x227)+_0x9fe68+_0x2ae847(0x1a1)+_0x59f533);break;}logger[_0x2ae847(0x1c2)](_0x2ae847(0x1c0)+_0x9fe68+_0x2ae847(0x156)+_0x59f533);}catch(_0xe166b1){logger['error'](_0x2ae847(0x16c)+_0x9fe68+_0x2ae847(0x156)+_0x59f533+',\x20exception='+util[_0x2ae847(0x198)](_0xe166b1));}_0x31cdf1[_0x2ae847(0x1c8)]=_0x2dd2c8,await this[_0x2ae847(0x29a)](_0x2dd2c8,_0x9fe68,_0x59f533,_0x31cdf1);}['getJestTestIdentifier'](_0x240ce0){const _0x16ea89=a75_0x55d67c,_0x2be1ad={};_0x2be1ad[_0x16ea89(0x274)]=_0x16ea89(0x1ec);const _0x131d44=_0x2be1ad;if(_0x240ce0&&(_0x240ce0['id']||_0x240ce0[_0x16ea89(0x215)])){const _0x53233c=_0x240ce0['id']||_0x240ce0[_0x16ea89(0x215)];return logger[_0x16ea89(0x1c2)](_0x16ea89(0x161)+_0x53233c+'\x22\x20from\x20testData'),_0x53233c;}return logger[_0x16ea89(0x1c2)](_0x131d44[_0x16ea89(0x274)]),process[_0x16ea89(0x1dd)]+_0x16ea89(0x12e);}[a75_0x55d67c(0x208)](_0x48b1ec,_0x3c5270,_0x500d1a={}){const _0x55cdca=a75_0x55d67c;let _0x1a6b8f=null;return _0x1a6b8f=TestFramework[_0x55cdca(0x158)](),!_0x1a6b8f?(logger['debug']('[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state='+_0x48b1ec),this[_0x55cdca(0x14d)](_0x48b1ec,_0x500d1a),_0x1a6b8f=TestFramework[_0x55cdca(0x158)](),logger['debug'](_0x55cdca(0x12d)+!!_0x1a6b8f+_0x55cdca(0x1bb)+_0x1a6b8f?.[_0x55cdca(0x29f)]()?.[_0x55cdca(0x1d4)]())):logger[_0x55cdca(0x1c2)](_0x55cdca(0x133)+_0x1a6b8f[_0x55cdca(0x29f)]()?.[_0x55cdca(0x1d4)]()),_0x1a6b8f;}[a75_0x55d67c(0x14d)](_0xfaba0a,_0x5130ad){const _0x60a7da=a75_0x55d67c,_0x1a2983={};_0x1a2983[_0x60a7da(0x23a)]=_0x60a7da(0x19d);const _0xa4bdb4=_0x1a2983;if(TestFramework[_0x60a7da(0x158)]()){logger[_0x60a7da(0x1c2)](_0xa4bdb4['ZtFbn']);return;}const _0x46e0c1=CLIUtils[_0x60a7da(0x212)](),_0xc8732e=TrackedInstance[_0x60a7da(0x28b)](_0x46e0c1);let _0x28e3a0=null;logger[_0x60a7da(0x1c2)](_0x60a7da(0x2aa)+_0x46e0c1+_0x60a7da(0x21f)+_0xfaba0a),_0x28e3a0=new TestFrameworkInstance(_0xc8732e,this[_0x60a7da(0x1b3)](),this[_0x60a7da(0x176)](),_0xfaba0a,HookState[_0x60a7da(0x170)]),TestFramework[_0x60a7da(0x288)](_0xc8732e,_0x28e3a0),logger[_0x60a7da(0x1c2)](_0x60a7da(0x135)+_0xc8732e[_0x60a7da(0x1d4)]()+_0x60a7da(0x136)+_0x46e0c1+',\x20testFramework='+this[_0x60a7da(0x1b3)]()[0x0]+_0x60a7da(0x12c)+this[_0x60a7da(0x176)]()[this['getTestFrameworks']()[0x0]]);}[a75_0x55d67c(0x214)](_0x1c9885){const _0x1c6f2c=a75_0x55d67c,_0x484322={};_0x484322[_0x1c6f2c(0x19c)]=function(_0x4db05e,_0x2a2e12){return _0x4db05e||_0x2a2e12;},_0x484322[_0x1c6f2c(0x21c)]=_0x1c6f2c(0x1d8);const _0xc8815f=_0x484322,{testUUID:_0x3c904f,testData:_0x5e81ea,testId:_0x40c5bf}=_0x1c9885;if(_0xc8815f[_0x1c6f2c(0x19c)](!_0x5e81ea,!_0x40c5bf))return logger[_0x1c6f2c(0x1c2)](_0xc8815f[_0x1c6f2c(0x21c)]),{};const _0x10f445=this[_0x1c6f2c(0x1b3)]()[0x0],_0x3d8420=this[_0x1c6f2c(0x176)](),_0x33a282={};_0x33a282['depth']=0x2,_0x33a282['maxArrayLength']=0x3,logger[_0x1c6f2c(0x1c2)](_0x1c6f2c(0x1b0)+util['inspect'](_0x5e81ea,_0x33a282));const _0x3e760f=_0x5e81ea?.[_0x1c6f2c(0x247)]||[],_0x4a52ed=this['getJestTestName'](_0x5e81ea),_0x1f7a7b=this['getJestTestFilePath'](_0x5e81ea),_0x4dda0d=_0x5e81ea['fn']?_0x5e81ea['fn'][_0x1c6f2c(0x222)]():_0x5e81ea?.[_0x1c6f2c(0x21b)]?_0x5e81ea[_0x1c6f2c(0x21b)][_0x1c6f2c(0x194)][_0x1c6f2c(0x222)]():null,_0x1f4730=this[_0x1c6f2c(0x18a)](_0x5e81ea),_0x3661bc={[TestFrameworkConstants[_0x1c6f2c(0x1f7)]]:_0x10f445,[TestFrameworkConstants[_0x1c6f2c(0x171)]]:_0x3d8420[_0x10f445],[TestFrameworkConstants[_0x1c6f2c(0x237)]]:[],[TestFrameworkConstants[_0x1c6f2c(0x143)]]:{},[TestFrameworkConstants[_0x1c6f2c(0x28f)]]:{},[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0x1c6f2c(0x1e5)]]:_0x4a52ed,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x1f7a7b,[TestFrameworkConstants['KEY_TEST_ID']]:_0x40c5bf,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x4a52ed,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x1f7a7b,[TestFrameworkConstants['KEY_TEST_CODE']]:_0x4dda0d,[TestFrameworkConstants[_0x1c6f2c(0x27e)]]:_0x1f4730,[TestFrameworkConstants[_0x1c6f2c(0x159)]]:_0x5e81ea[_0x1c6f2c(0x207)]||new Date()[_0x1c6f2c(0x15a)](),[TestFrameworkConstants[_0x1c6f2c(0x1a0)]]:_0x3e760f[0x0]||'',[TestFrameworkConstants[_0x1c6f2c(0x210)]]:_0x3e760f,[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0x4a52ed,[TestFrameworkConstants[_0x1c6f2c(0x19e)]]:{},[TestFrameworkConstants[_0x1c6f2c(0x29e)]]:{}};_0x5e81ea['retryOf']&&(_0x3661bc[TestFrameworkConstants[_0x1c6f2c(0x148)]]=_0x5e81ea[_0x1c6f2c(0x27a)]);logger[_0x1c6f2c(0x1c2)](_0x1c6f2c(0x1b7)+_0x4a52ed+',\x20testId='+_0x40c5bf+_0x1c6f2c(0x169)+JSON[_0x1c6f2c(0x200)](_0x1f4730)+_0x1c6f2c(0x1a4)+util[_0x1c6f2c(0x1c7)](_0x3e760f)+_0x1c6f2c(0x145)+_0x1f7a7b);const _0x4dd8ee={};return _0x4dd8ee[_0x40c5bf]=_0x3661bc,_0x4dd8ee;}[a75_0x55d67c(0x1bc)](_0x74541c){const _0x541c52=a75_0x55d67c,_0xc78e18={'XKuGJ':function(_0x45aa8a,_0x5ba094){return _0x45aa8a===_0x5ba094;},'OwGtW':'afterAll','oxaLS':function(_0x322026,_0xa1fd2e){return _0x322026===_0xa1fd2e;},'gamYb':'beforeAll','ZiSKk':_0x541c52(0x1a8),'ZNCmp':'_ALL','VOFcO':function(_0x486d63,_0x5eb0fc){return _0x486d63||_0x5eb0fc;},'RebCD':_0x541c52(0x2b3),'tlWuk':function(_0x898341,_0x495903){return _0x898341||_0x495903;},'uxsSf':_0x541c52(0x262),'EXiSi':function(_0xd5da0e,_0x28fe1a){return _0xd5da0e>_0x28fe1a;},'MRrJD':'failed','ibVTS':function(_0xcf441d,_0x3601fd){return _0xcf441d===_0x3601fd;},'aKFdA':_0x541c52(0x155),'JsWVj':function(_0x5887d0,_0x242f73){return _0x5887d0===_0x242f73;},'KfoLi':_0x541c52(0x299),'wmXWi':_0x541c52(0x1a3),'wjaSx':function(_0x134ae2,_0x3c0a2e){return _0x134ae2!==_0x3c0a2e;},'syYui':function(_0x344e18,_0x2d7d13,_0x33e039,_0x5f3664){return _0x344e18(_0x2d7d13,_0x33e039,_0x5f3664);},'KtQtz':function(_0x304174,_0x53ab9b){return _0x304174>_0x53ab9b;},'nqdYP':_0x541c52(0x178),'RIKEm':function(_0x51ee63,_0x47aa70){return _0x51ee63>_0x47aa70;},'WeOOo':function(_0x218fde,_0x56afe3){return _0x218fde===_0x56afe3;}},{testUUID:_0x44b6b9,testData:_0x142742,testId:_0x54039e}=_0x74541c;if(_0xc78e18[_0x541c52(0x164)](!_0x142742,!_0x54039e))return logger[_0x541c52(0x1c2)](_0xc78e18[_0x541c52(0x1fb)]),{};const _0x42c765=this['resolveInstance'](TestFrameworkState[_0x541c52(0x144)],HookState[_0x541c52(0x1cc)]),_0x3cfcbf=_0x42c765[_0x541c52(0x290)]()['get'](_0x54039e),_0xb8f02b=_0xc78e18[_0x541c52(0x1db)](_0x3cfcbf,{}),_0x48e76e=_0xb8f02b?_0xb8f02b[TestFrameworkConstants[_0x541c52(0x19e)]]||{}:{},_0x235794=_0xb8f02b[TestFrameworkConstants[_0x541c52(0x14e)]];logger[_0x541c52(0x1c2)](_0x541c52(0x221)+(_0x235794?Object[_0x541c52(0x1ce)](_0x235794)[_0x541c52(0x160)]:0x0)+_0x541c52(0x24a));let _0x39fa29=_0xc78e18[_0x541c52(0x17a)];if(_0x142742['result'])_0x39fa29=_0x142742[_0x541c52(0x296)];else{if(_0x142742[_0x541c52(0x193)]&&_0xc78e18['EXiSi'](_0x142742['errorsDetailed'][_0x541c52(0x160)],0x0))_0x39fa29=_0xc78e18[_0x541c52(0x253)];else _0xc78e18[_0x541c52(0x22d)](_0x142742[_0x541c52(0x20b)],_0xc78e18['aKFdA'])||_0xc78e18[_0x541c52(0x246)](_0x142742[_0x541c52(0x20b)],_0xc78e18[_0x541c52(0x184)])?_0x39fa29=_0xc78e18['KfoLi']:_0x39fa29=_0xc78e18[_0x541c52(0x271)];}const _0x4bb94f={..._0xb8f02b,[TestFrameworkConstants[_0x541c52(0x25a)]]:_0x39fa29,[TestFrameworkConstants[_0x541c52(0x24d)]]:_0x142742['finished_at']||new Date()[_0x541c52(0x15a)](),[TestFrameworkConstants[_0x541c52(0x1be)]]:new Date()[_0x541c52(0x15a)](),[TestFrameworkConstants[_0x541c52(0x19e)]]:_0x48e76e,[TestFrameworkConstants['KEY_LOGS']]:_0xb8f02b[TestFrameworkConstants[_0x541c52(0x15f)]]||[],[TestFrameworkConstants[_0x541c52(0x29e)]]:{}};if(_0xc78e18[_0x541c52(0x209)](_0x39fa29,_0xc78e18[_0x541c52(0x253)])&&_0x142742[_0x541c52(0x193)]){const _0x12bf13=this[_0x541c52(0x27c)](_0x142742),_0x3f6145=this['getJestFailureType'](_0x142742),_0x2d87e8=this['getJestFailureData'](_0x142742);_0x4bb94f[TestFrameworkConstants[_0x541c52(0x20f)]]=_0x3f6145,_0x4bb94f[TestFrameworkConstants[_0x541c52(0x1de)]]=_0x12bf13,_0x4bb94f[TestFrameworkConstants['KEY_TEST_FAILURE']]=_0x2d87e8;}_0xc78e18[_0x541c52(0x283)](_0x142742[_0x541c52(0x153)],undefined)&&(_0x4bb94f[TestFrameworkConstants[_0x541c52(0x279)]]=_0x142742[_0x541c52(0x153)]);_0x142742[_0x541c52(0x27a)]&&(_0x4bb94f[TestFrameworkConstants[_0x541c52(0x148)]]=_0x142742[_0x541c52(0x27a)]);const _0x3bbff7=_0x3cfcbf?_0x3cfcbf[TestFrameworkConstants[_0x541c52(0x14e)]]||{}:{},_0x8a4581=_0x3cfcbf?_0x3cfcbf[TestFrameworkConstants[_0x541c52(0x231)]]:_0x44b6b9,_0x3bf5b4=_0xc78e18[_0x541c52(0x224)](getManualUploadLogs,_0x3bbff7,_0x8a4581,_0x54039e);if(_0xc78e18[_0x541c52(0x16f)](_0x3bf5b4[_0x541c52(0x160)],0x0)){const _0x2d1862=_0x4bb94f[TestFrameworkConstants[_0x541c52(0x15f)]]||[];_0x4bb94f[TestFrameworkConstants[_0x541c52(0x15f)]]=[..._0x2d1862,..._0x3bf5b4];}const _0x5e7963=_0xb8f02b[TestFrameworkConstants['KEY_HOOKS_FINISHED']]||{},_0x45e32c=_0xb8f02b[TestFrameworkConstants[_0x541c52(0x28f)]]||{},_0x87a10={..._0x5e7963},_0x2a1e89=_0x87a10;Object[_0x541c52(0x1ce)](_0x45e32c)[_0x541c52(0x233)](_0x58bf67=>{const _0xf16efe=_0x541c52;!_0x2a1e89[_0x58bf67]&&(_0x2a1e89[_0x58bf67]=[]);const _0x2663fb=new Set((_0x2a1e89[_0x58bf67]||[])[_0xf16efe(0x244)](_0x1d3252=>_0x1d3252[TestFrameworkConstants[_0xf16efe(0x152)]]||_0x1d3252[_0xf16efe(0x2a0)]));(_0x45e32c[_0x58bf67]||[])[_0xf16efe(0x233)](_0x46d064=>{const _0xcb4d52=_0xf16efe,_0x2a508e=_0x46d064[TestFrameworkConstants['KEY_HOOK_ID']]||_0x46d064[_0xcb4d52(0x2a0)];if(!_0x2663fb[_0xcb4d52(0x20a)](_0x2a508e)){const _0x3d1d85={..._0x46d064},_0x3d858f=_0x3d1d85;!_0x3d858f[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]&&!_0x3d858f[_0xcb4d52(0x15b)]&&(_0x3d858f[TestFrameworkConstants[_0xcb4d52(0x147)]]=new Date()[_0xcb4d52(0x15a)]()),!_0x3d858f[TestFrameworkConstants[_0xcb4d52(0x177)]]&&!_0x3d858f[_0xcb4d52(0x1b1)]&&(_0x3d858f[TestFrameworkConstants[_0xcb4d52(0x177)]]=TestFrameworkConstants[_0xcb4d52(0x270)]),_0x2a1e89[_0x58bf67][_0xcb4d52(0x173)](_0x3d858f);}});});if(_0x74541c['originalTest']){this['mapTestHooks'](_0x74541c[_0x541c52(0x266)]);const _0x31cc72=this[_0x541c52(0x1f8)](_0x74541c['originalTest']),_0x405223=this[_0x541c52(0x191)](_0x74541c[_0x541c52(0x266)]);_0x405223[_0x541c52(0x233)](_0x2c5b95=>{const _0x16707e=_0x541c52,_0x2d1f9b=_0x31cc72[_0x16707e(0x140)](_0x2c5b95);if(_0x2d1f9b&&(_0xc78e18[_0x16707e(0x209)](_0x2d1f9b[_0x16707e(0x175)],_0xc78e18['OwGtW'])||_0xc78e18[_0x16707e(0x1e7)](_0x2d1f9b[_0x16707e(0x175)],_0xc78e18[_0x16707e(0x268)]))){const _0x4f7220=_0x2d1f9b[_0x16707e(0x175)]['toUpperCase']()[_0x16707e(0x1da)](_0xc78e18[_0x16707e(0x21a)],_0xc78e18[_0x16707e(0x130)]),_0x9683f1=_0x4f7220;!_0x2a1e89[_0x9683f1]&&(_0x2a1e89[_0x9683f1]=[]);const _0xb6a62c=_0x2a1e89[_0x9683f1][_0x16707e(0x1df)](_0x4a62d9=>(_0x4a62d9[TestFrameworkConstants[_0x16707e(0x152)]]||_0x4a62d9[_0x16707e(0x2a0)])===_0x2c5b95);!_0xb6a62c&&_0x2a1e89[_0x9683f1][_0x16707e(0x173)]({'key':_0x9683f1,[TestFrameworkConstants[_0x16707e(0x152)]]:_0x2c5b95,[TestFrameworkConstants[_0x16707e(0x177)]]:TestFrameworkConstants[_0x16707e(0x270)],[TestFrameworkConstants[_0x16707e(0x1c3)]]:new Date()[_0x16707e(0x15a)](),[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]:new Date()[_0x16707e(0x15a)](),[TestFrameworkConstants[_0x16707e(0x2af)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x2d1f9b[_0x16707e(0x197)]||_0x2d1f9b[_0x16707e(0x175)]+'\x20hook',[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x48e76e});}});}if(_0x142742[_0x541c52(0x18b)]&&_0xc78e18[_0x541c52(0x16f)](_0x142742['hooks'][_0x541c52(0x160)],0x0))_0x4bb94f[TestFrameworkConstants[_0x541c52(0x143)]]=_0x142742[_0x541c52(0x18b)],logger['debug'](_0xc78e18['nqdYP']);else _0xc78e18['RIKEm'](Object[_0x541c52(0x1ce)](_0x2a1e89)[_0x541c52(0x160)],0x0)&&(_0x4bb94f[TestFrameworkConstants[_0x541c52(0x143)]]=_0x2a1e89,logger['debug'](_0x541c52(0x1f6)+Object[_0x541c52(0x1ce)](_0x2a1e89)[_0x541c52(0x139)](',')));const _0x418dae=this[_0x541c52(0x223)](_0x142742);logger[_0x541c52(0x1c2)](_0x541c52(0x285)+_0x418dae+_0x541c52(0x243)+_0x54039e+_0x541c52(0x24c)+_0x39fa29+_0x541c52(0x2a3)+_0x142742[_0x541c52(0x153)]);_0xc78e18['WeOOo'](_0x39fa29,_0xc78e18[_0x541c52(0x253)])&&logger[_0x541c52(0x1c2)](_0x541c52(0x1c6)+_0x54039e+_0x541c52(0x17b)+_0x4bb94f[TestFrameworkConstants[_0x541c52(0x20f)]]+_0x541c52(0x276)+_0x4bb94f[TestFrameworkConstants[_0x541c52(0x1de)]]?.['substring'](0x0,0xc8));const _0x11b672={};return _0x11b672[_0x54039e]=_0x4bb94f,_0x11b672;}[a75_0x55d67c(0x1d5)](_0x4c871a){const _0x402082=a75_0x55d67c,_0x54085c={};_0x54085c['oUoZx']=function(_0x4b0693,_0x563784){return _0x4b0693!==_0x563784;},_0x54085c[_0x402082(0x1ff)]=_0x402082(0x217);const _0x413ee1=_0x54085c,_0x13d660={};_0x13d660[_0x402082(0x195)]=0x2,_0x13d660[_0x402082(0x199)]=0x3,logger[_0x402082(0x1c2)](_0x402082(0x1ca)+util['inspect'](_0x4c871a,_0x13d660));const _0x5b446e=[];if(_0x4c871a&&_0x4c871a[_0x402082(0x297)]){let _0x5a0e93=_0x4c871a[_0x402082(0x297)];while(_0x5a0e93&&_0x5a0e93[_0x402082(0x197)]&&_0x413ee1['oUoZx'](_0x5a0e93['name'],'')&&_0x413ee1['oUoZx'](_0x5a0e93[_0x402082(0x197)],_0x413ee1[_0x402082(0x1ff)])){_0x5b446e['push'](_0x5a0e93['name']),_0x5a0e93=_0x5a0e93['parent'];}}return _0x5b446e[_0x402082(0x179)]();}[a75_0x55d67c(0x223)](_0x5986ae){const _0x2d3f43=a75_0x55d67c,_0x80678b={};_0x80678b[_0x2d3f43(0x151)]=_0x2d3f43(0x248);const _0xb44a72=_0x80678b;if(_0x5986ae[_0x2d3f43(0x197)])return _0x5986ae['name'];if(_0x5986ae['title'])return _0x5986ae[_0x2d3f43(0x2b9)];return _0xb44a72[_0x2d3f43(0x151)];}[a75_0x55d67c(0x18a)](_0x1dd12c){const _0x28beae=a75_0x55d67c,_0x4528e3=[];if(_0x1dd12c[_0x28beae(0x192)]&&Array[_0x28beae(0x216)](_0x1dd12c[_0x28beae(0x192)]))return _0x1dd12c['tags'][_0x28beae(0x244)](_0x2dfedc=>_0x2dfedc[_0x28beae(0x220)]('@')?_0x2dfedc['substr'](0x1):_0x2dfedc);const _0x2eb332=this[_0x28beae(0x223)](_0x1dd12c),_0x58329b=_0x2eb332[_0x28beae(0x166)](/@(\w+)/g);if(_0x58329b)return _0x58329b['map'](_0x882d02=>_0x882d02[_0x28beae(0x1e9)](0x1));return _0x1dd12c['scopes']&&Array[_0x28beae(0x216)](_0x1dd12c[_0x28beae(0x247)])&&_0x1dd12c[_0x28beae(0x247)]['forEach'](_0x1ed9ff=>{const _0x521f71=_0x28beae,_0x142b19=_0x1ed9ff['match'](/@(\w+)/g);_0x142b19&&_0x142b19[_0x521f71(0x233)](_0x9367ad=>{const _0x19b0bb=_0x521f71,_0x258e02=_0x9367ad['slice'](0x1);!_0x4528e3['includes'](_0x258e02)&&_0x4528e3[_0x19b0bb(0x173)](_0x258e02);});}),_0x4528e3;}[a75_0x55d67c(0x22f)](_0x34bb83){const _0x3c5b73=a75_0x55d67c,_0xcdca2={'oYkvC':function(_0x29f1ed,_0x11f788){return _0x29f1ed(_0x11f788);},'DddqG':_0x3c5b73(0x17d)};if(_0x34bb83[_0x3c5b73(0x2a7)])return _0x34bb83['file_name'];if(_0x34bb83['asyncError']){const _0x5d7184=_0xcdca2[_0x3c5b73(0x28d)](require,_0xcdca2[_0x3c5b73(0x132)]);try{const _0x14f2ae=_0x5d7184[_0x3c5b73(0x157)](_0x34bb83[_0x3c5b73(0x14f)]);if(_0x14f2ae[0x0]&&_0x14f2ae[0x0][_0x3c5b73(0x1af)])return _0x14f2ae[0x0]['getFileName']();}catch(_0x5a7abb){logger[_0x3c5b73(0x1c2)](_0x3c5b73(0x26d)+util[_0x3c5b73(0x198)](_0x5a7abb));}}return null;}[a75_0x55d67c(0x27c)](_0xf4c7fd){const _0x2b64aa=a75_0x55d67c,_0x3bc932={};_0x3bc932[_0x2b64aa(0x286)]=function(_0x1954f2,_0x55c26a){return _0x1954f2>_0x55c26a;},_0x3bc932['YpDSq']='Unknown\x20error';const _0x3e2f43=_0x3bc932;if(_0xf4c7fd[_0x2b64aa(0x193)]&&_0x3e2f43[_0x2b64aa(0x286)](_0xf4c7fd[_0x2b64aa(0x193)][_0x2b64aa(0x160)],0x0))return util[_0x2b64aa(0x1c7)](_0xf4c7fd[_0x2b64aa(0x193)][0x0]);if(_0xf4c7fd[_0x2b64aa(0x252)])return _0xf4c7fd[_0x2b64aa(0x252)];return _0x3e2f43['YpDSq'];}['getJestFailureType'](_0x32b166){const _0x2344cd=a75_0x55d67c,_0x44c7a6={};_0x44c7a6[_0x2344cd(0x1e6)]=_0x2344cd(0x1d7),_0x44c7a6[_0x2344cd(0x16e)]=_0x2344cd(0x1d9),_0x44c7a6[_0x2344cd(0x1f2)]=_0x2344cd(0x256);const _0xaff2e4=_0x44c7a6,_0x41472c=this[_0x2344cd(0x27c)](_0x32b166);if(_0x41472c&&_0x41472c[_0x2344cd(0x284)](_0xaff2e4[_0x2344cd(0x1e6)]))return _0xaff2e4[_0x2344cd(0x16e)];return _0xaff2e4[_0x2344cd(0x1f2)];}[a75_0x55d67c(0x185)](_0x5d1107){const _0x4dc5cf=a75_0x55d67c,_0x55a03c={'KRrca':function(_0x89ddc7,_0x46109f){return _0x89ddc7(_0x46109f);},'LCfEf':_0x4dc5cf(0x27f),'kdvEQ':function(_0xd0e390,_0x40b0e8){return _0xd0e390!==_0x40b0e8;},'sGiTZ':_0x4dc5cf(0x2b4)},{failureData:_0x546497}=_0x55a03c['KRrca'](require,_0x55a03c['LCfEf']),_0x324375=[];return _0x55a03c['kdvEQ'](_0x5d1107[_0x4dc5cf(0x193)],undefined)&&_0x324375['push'](_0x5d1107[_0x4dc5cf(0x193)],_0x55a03c['sGiTZ']),_0x546497['apply'](null,_0x324375);}async[a75_0x55d67c(0x204)](_0x4317b0,_0x2b71fe,_0x3cd072,_0x1f527e){const _0x378160=a75_0x55d67c,_0x4a7387={'vphMw':'[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','fGxOn':function(_0x52c621){return _0x52c621();},'qDuKq':function(_0x489ab4,_0x2de591){return _0x489ab4 in _0x2de591;},'bZlAC':function(_0x57500f,_0x1fc53f){return _0x57500f===_0x1fc53f;},'ppFYv':function(_0x1dfb49,_0x5b6305){return _0x1dfb49===_0x5b6305;},'LMzBt':function(_0x24f93e,_0x5b0df8){return _0x24f93e>_0x5b0df8;},'WOEGG':_0x378160(0x202),'QOYMG':_0x378160(0x1a3),'ktxnG':function(_0x538cd4,_0x468834){return _0x538cd4===_0x468834;},'xxMGK':_0x378160(0x255),'NisAJ':function(_0x3ca30b,_0x5a69b2){return _0x3ca30b!==_0x5a69b2;}},{hookData:_0x40bade}=_0x1f527e,_0x11d4c8=_0x3cd072[_0x378160(0x222)](),_0x27e47c=_0x2b71fe[_0x378160(0x222)](),_0x4cb31a={};_0x4cb31a[_0x378160(0x195)]=0x2,_0x4cb31a[_0x378160(0x199)]=0x3,logger['debug'](_0x378160(0x131)+_0x27e47c+_0x378160(0x156)+_0x11d4c8+_0x378160(0x1ea)+util[_0x378160(0x1c7)](_0x40bade,_0x4cb31a));if(!_0x40bade)return logger[_0x378160(0x1c2)](_0x4a7387[_0x378160(0x174)]),{};const _0x15c7e8=_0x40bade[_0x378160(0x215)]||_0x40bade[_0x378160(0x19b)]||_0x4a7387['fGxOn'](uuidv4),_0x57f6f7=_0x40bade['test_run_id']||this[_0x378160(0x292)](_0x40bade),_0x5c2c0f=_0x2b71fe[_0x378160(0x222)]()['split']('.')[0x1],_0x1ab707=_0x4317b0[_0x378160(0x290)]()['get'](_0x57f6f7),_0x12c8d0=_0x1ab707?_0x1ab707[TestFrameworkConstants[_0x378160(0x19e)]]||{}:{};logger[_0x378160(0x1c2)](_0x378160(0x141)+_0x15c7e8+_0x378160(0x243)+_0x57f6f7+_0x378160(0x17e)+_0x5c2c0f+_0x378160(0x156)+_0x11d4c8);if(!_0x1ab707)return logger['debug']('[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20'+_0x57f6f7+',\x20storing\x20as\x20pending\x20hook'),this[_0x378160(0x228)](_0x4317b0,_0x57f6f7,_0x2b71fe,_0x3cd072,_0x1f527e),{};let _0x59d661=_0x1ab707[TestFrameworkConstants[_0x378160(0x28f)]];!_0x59d661&&(_0x59d661={});!_0x4a7387[_0x378160(0x232)](_0x5c2c0f,_0x59d661)&&(_0x59d661[_0x5c2c0f]=[]);let _0x427ae3=_0x1ab707[TestFrameworkConstants[_0x378160(0x143)]];!_0x427ae3&&(_0x427ae3={});!_0x4a7387[_0x378160(0x232)](_0x5c2c0f,_0x427ae3)&&(_0x427ae3[_0x5c2c0f]=[]);const _0x4ef480={[_0x57f6f7]:{[TestFrameworkConstants[_0x378160(0x28f)]]:_0x59d661,[TestFrameworkConstants[_0x378160(0x143)]]:_0x427ae3,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0x378160(0x1b3)]()[0x0]||'',[TestFrameworkConstants[_0x378160(0x171)]]:this['getTestFrameworksVersions']()[this[_0x378160(0x1b3)]()[0x0]]||''}};if(_0x4a7387[_0x378160(0x1ef)](_0x3cd072,HookState[_0x378160(0x22b)])){const _0x100c4c={'key':_0x5c2c0f,[TestFrameworkConstants[_0x378160(0x152)]]:_0x15c7e8,[TestFrameworkConstants[_0x378160(0x177)]]:TestFrameworkConstants[_0x378160(0x270)],[TestFrameworkConstants[_0x378160(0x1c3)]]:_0x40bade[_0x378160(0x207)]||new Date()[_0x378160(0x15a)](),[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x378160(0x28c)]]:_0x40bade[_0x378160(0x197)]||_0x40bade[_0x378160(0x162)]||_0x5c2c0f,[TestFrameworkConstants[_0x378160(0x19e)]]:_0x12c8d0};_0x59d661[_0x5c2c0f]['push'](_0x100c4c),_0x4ef480[_0x57f6f7][TestFrameworkConstants[_0x378160(0x20e)]]=_0x5c2c0f;const _0x2c3662={};_0x2c3662[_0x378160(0x195)]=0x2,logger[_0x378160(0x1c2)](_0x378160(0x22e)+_0x5c2c0f+_0x378160(0x183)+_0x15c7e8+_0x378160(0x243)+_0x57f6f7+',\x20hook='+util['inspect'](_0x100c4c,_0x2c3662));}else{if(_0x4a7387[_0x378160(0x1a6)](_0x3cd072,HookState['POST'])){const _0x5170b1=_0x40bade[_0x378160(0x296)]||(_0x40bade[_0x378160(0x193)]&&_0x4a7387[_0x378160(0x26b)](_0x40bade[_0x378160(0x193)][_0x378160(0x160)],0x0)?_0x4a7387[_0x378160(0x269)]:_0x4a7387[_0x378160(0x2b7)]),_0xafb27e=_0x59d661[_0x5c2c0f]||[];logger[_0x378160(0x1c2)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType='+_0x5c2c0f+_0x378160(0x243)+_0x57f6f7+_0x378160(0x1f9)+_0x5170b1+_0x378160(0x2b8)+_0xafb27e[_0x378160(0x160)]);if(_0x4a7387['ppFYv'](_0xafb27e[_0x378160(0x160)],0x0)&&_0x4a7387[_0x378160(0x21d)](_0x2b71fe,TestFrameworkState[_0x378160(0x18f)]))return logger[_0x378160(0x1c2)](_0x4a7387[_0x378160(0x219)]),this[_0x378160(0x228)](_0x4317b0,_0x57f6f7,_0x2b71fe,_0x3cd072,_0x1f527e),{};if(_0x4a7387[_0x378160(0x26b)](_0xafb27e[_0x378160(0x160)],0x0)){const _0x1dbee1=_0xafb27e[_0x378160(0x242)]();_0x4a7387[_0x378160(0x21d)](_0x5170b1,_0x4a7387[_0x378160(0x269)])&&_0x40bade[_0x378160(0x193)]?(_0x1dbee1[TestFrameworkConstants[_0x378160(0x1f5)]]=this[_0x378160(0x1ae)](_0x40bade),_0x1dbee1[TestFrameworkConstants[_0x378160(0x1b4)]]=this['getJestFailureReason'](_0x40bade),_0x1dbee1[TestFrameworkConstants[_0x378160(0x24b)]]=this[_0x378160(0x185)](_0x40bade),logger[_0x378160(0x1c2)](_0x378160(0x1cb)+_0x5c2c0f+_0x378160(0x17b)+_0x1dbee1[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]+_0x378160(0x276)+_0x1dbee1[TestFrameworkConstants[_0x378160(0x1b4)]]?.[_0x378160(0x29d)](0x0,0xc8))):_0x1dbee1[TestFrameworkConstants[_0x378160(0x177)]]=_0x4a7387['QOYMG'];_0x4a7387[_0x378160(0x261)](_0x5170b1,TestFrameworkConstants[_0x378160(0x270)])&&(_0x1dbee1[TestFrameworkConstants[_0x378160(0x177)]]=_0x5170b1);_0x1dbee1[TestFrameworkConstants[_0x378160(0x147)]]=_0x40bade[_0x378160(0x23c)]||new Date()[_0x378160(0x15a)](),_0x1dbee1[TestFrameworkConstants[_0x378160(0x19e)]]=_0x12c8d0;const _0x70d0e9=_0x1dbee1[TestFrameworkConstants[_0x378160(0x152)]];!_0x427ae3[_0x5c2c0f]&&(_0x427ae3[_0x5c2c0f]=[]);_0x427ae3[_0x5c2c0f][_0x378160(0x173)](_0x1dbee1),_0x4ef480[_0x57f6f7][TestFrameworkConstants[_0x378160(0x1dc)]]=_0x5c2c0f;const _0x36057d={};_0x36057d['depth']=0x2,logger[_0x378160(0x1c2)](_0x378160(0x196)+_0x5c2c0f+_0x378160(0x183)+_0x70d0e9+_0x378160(0x1f9)+_0x5170b1+_0x378160(0x137)+util[_0x378160(0x1c7)](_0x1dbee1,_0x36057d));}}}return _0x4ef480;}['createTestFrameworkEventPayload'](_0x3b41cc){const _0x23e850=a75_0x55d67c,_0xb6aac={};_0xb6aac[_0x23e850(0x1a5)]=_0x23e850(0x1a2);const _0x37484d=_0xb6aac;try{const _0x432bcb=_0x3b41cc[_0x23e850(0x2b4)]?this['getJestTestIdentifier'](_0x3b41cc[_0x23e850(0x2b4)]):_0x3b41cc['hookData'][_0x23e850(0x287)],_0x2fbff0=_0x3b41cc[_0x23e850(0x1c8)],_0x99de5=_0x2fbff0[_0x23e850(0x29f)](),_0xff6a65=_0x2fbff0[_0x23e850(0x290)]()['get'](_0x432bcb);if(!_0xff6a65)return logger[_0x23e850(0x1c2)]('createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x432bcb),{};const {[TestFrameworkConstants[_0x23e850(0x1f7)]]:_0x480ecf=this[_0x23e850(0x1b3)]()[0x0]||'',[TestFrameworkConstants[_0x23e850(0x171)]]:_0x16c12c=this[_0x23e850(0x176)]()[this['getTestFrameworks']()[0x0]]||'',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x3e7d19='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x37d56c=''}=_0xff6a65,_0x33b0dc=_0x2fbff0[_0x23e850(0x278)]()[_0x23e850(0x222)]()[_0x23e850(0x218)]('.')[0x1],_0x54edc2=_0x2fbff0[_0x23e850(0x257)]()[_0x23e850(0x222)]()[_0x23e850(0x218)]('.')[0x1],_0x79c718=global?.[_0x23e850(0x2b5)]?.['workerInfo']?.[_0x23e850(0x1ed)]||global[_0x23e850(0x146)]||0x0,_0x4a8a09=_0x2fbff0[_0x23e850(0x2ad)](),_0x1d410d=Buffer[_0x23e850(0x1b8)](JSON['stringify'](_0xff6a65))[_0x23e850(0x222)](_0x37484d['bvZxf']),_0x568a30={'hash':_0x99de5[_0x23e850(0x1d4)](),'threadId':_0x99de5[_0x23e850(0x250)]()[_0x23e850(0x222)](),'processId':_0x99de5[_0x23e850(0x1b9)]()[_0x23e850(0x222)]()},_0x101746={};_0x101746[_0x23e850(0x15e)]=_0x79c718,_0x101746[_0x23e850(0x289)]=_0x480ecf,_0x101746[_0x23e850(0x213)]=_0x16c12c,_0x101746[_0x23e850(0x298)]=_0x33b0dc,_0x101746[_0x23e850(0x1a7)]=_0x54edc2,_0x101746[_0x23e850(0x1ac)]=_0x3e7d19,_0x101746[_0x23e850(0x265)]=_0x37d56c,_0x101746[_0x23e850(0x215)]=_0x4a8a09,_0x101746[_0x23e850(0x1e8)]=_0x1d410d,_0x101746[_0x23e850(0x163)]=_0x568a30,_0x101746['test_identifier']=_0x432bcb;const _0x29688d=_0x101746;return _0x29688d;}catch(_0x120f20){return logger['error'](_0x23e850(0x1ee)+util[_0x23e850(0x198)](_0x120f20)),{};}}async[a75_0x55d67c(0x260)](_0x33108d,_0x116ef9,_0x2e04a3){const _0x2991dd=a75_0x55d67c,_0x29ad55={'KEtMo':function(_0x5e8cf8,_0x3dfcf4){return _0x5e8cf8+_0x3dfcf4;},'MCXIz':_0x2991dd(0x1fd),'pbiCc':_0x2991dd(0x205),'oJHax':function(_0x3a36e5,_0x3bf7b7){return _0x3a36e5>_0x3bf7b7;},'fEBfY':function(_0x2797c7,_0x28b82c,_0x4473c6,_0x43dffa){return _0x2797c7(_0x28b82c,_0x4473c6,_0x43dffa);},'qDwEF':function(_0x1e836f,_0x27f2f5){return _0x1e836f-_0x27f2f5;},'HwcNr':function(_0x93d583,_0x45cbb0){return _0x93d583===_0x45cbb0;},'ffPEc':function(_0x10bd24,_0x2b1486){return _0x10bd24/_0x2b1486;},'OGLRe':function(_0x3a3789,_0x5c6f05){return _0x3a3789<_0x5c6f05;},'koJeG':function(_0xe8562a,_0x7a928e){return _0xe8562a*_0x7a928e;},'GmGaQ':function(_0x4d66c4,_0x5e710b){return _0x4d66c4+_0x5e710b;},'XqGNK':function(_0x43fd22,_0x3ed683){return _0x43fd22+_0x3ed683;},'OfEPE':function(_0x46d979,_0x4c6217){return _0x46d979+_0x4c6217;},'FcLgz':function(_0x59d3f9,_0x364114){return _0x59d3f9>_0x364114;}};try{const _0x1555b8=_0x2e04a3['testUUID']||_0x2e04a3[_0x2991dd(0x13d)],_0x55d01a=Array[_0x2991dd(0x1b8)](_0x33108d[_0x2991dd(0x290)]()['keys']()),_0x3e62cd=_0x33108d['getAllData']()[_0x2991dd(0x140)](_0x1555b8);if(!_0x3e62cd){logger[_0x2991dd(0x1c2)](_0x2991dd(0x1fc)+_0x1555b8);return;}const {[TestFrameworkConstants[_0x2991dd(0x1f7)]]:_0x1bb1a8='',[TestFrameworkConstants[_0x2991dd(0x171)]]:_0x4e3513=''}=_0x3e62cd;let _0x302845=[];_0x3e62cd&&_0x3e62cd[TestFrameworkConstants[_0x2991dd(0x15f)]]&&Array[_0x2991dd(0x216)](_0x3e62cd[TestFrameworkConstants['KEY_LOGS']])?(_0x302845=_0x3e62cd[TestFrameworkConstants['KEY_LOGS']]||[],logger[_0x2991dd(0x1c2)](_0x2991dd(0x172)+_0x302845['length']+_0x2991dd(0x25c)+_0x1555b8),_0x33108d[_0x2991dd(0x1d0)]({[_0x1555b8]:{[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x2991dd(0x1f7)]]:this['getTestFrameworks']()[0x0]||'',[TestFrameworkConstants[_0x2991dd(0x171)]]:this[_0x2991dd(0x176)]()[this[_0x2991dd(0x1b3)]()[0x0]]||''}}),logger[_0x2991dd(0x1c2)](_0x2991dd(0x226)+_0x1555b8)):logger['debug'](_0x2991dd(0x281)+_0x1555b8);logger[_0x2991dd(0x1c2)](_0x2991dd(0x12f)+_0x302845[_0x2991dd(0x160)]+'\x20for\x20testId:\x20'+_0x1555b8);const _0x4e0bc5=_0x302845['filter'](_0x1d6711=>_0x1d6711[_0x2991dd(0x259)]===_0x2991dd(0x28e));_0x29ad55[_0x2991dd(0x2a9)](_0x4e0bc5[_0x2991dd(0x160)],0x0)&&(logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20'+_0x4e0bc5[_0x2991dd(0x160)]+'\x20screenshot\x20logs\x20for\x20testId:\x20'+_0x1555b8),_0x4e0bc5[_0x2991dd(0x233)]((_0x415dd7,_0x585c6b)=>{const _0x4bf3c3=_0x2991dd;logger[_0x4bf3c3(0x1c2)](_0x4bf3c3(0x2b0)+_0x29ad55[_0x4bf3c3(0x188)](_0x585c6b,0x1)+'/'+_0x4e0bc5[_0x4bf3c3(0x160)]+_0x4bf3c3(0x27d)+(_0x415dd7[_0x4bf3c3(0x165)]||_0x29ad55[_0x4bf3c3(0x180)])+',\x20test_run_uuid='+(_0x415dd7[_0x4bf3c3(0x1d2)]||_0x29ad55['MCXIz'])+_0x4bf3c3(0x1c9)+(_0x415dd7[_0x4bf3c3(0x1e3)]||_0x29ad55[_0x4bf3c3(0x2b6)])+_0x4bf3c3(0x267)+(_0x415dd7['message']?.[_0x4bf3c3(0x160)]||0x0));}));const _0x1d0cb8=_0x3e62cd[TestFrameworkConstants[_0x2991dd(0x14e)]]||{},_0x40c428=_0x29ad55[_0x2991dd(0x18e)](getMediaArtifactsLogs,_0x1d0cb8,null,_0x1555b8),_0x3bb357=(_0x302845||[])[_0x2991dd(0x1bd)](_0x40c428||[]),_0x135408=_0x4e0bc5?.[_0x2991dd(0x160)]||0x0,_0x3a9765=_0x29ad55[_0x2991dd(0x254)](_0x302845?.[_0x2991dd(0x160)]||0x0,_0x135408);logger[_0x2991dd(0x1c2)](_0x2991dd(0x238)+_0x1555b8+',\x20consoleLogs:\x20'+_0x3a9765+',\x20screenshotLogs:\x20'+_0x135408+_0x2991dd(0x1e2)+(_0x40c428?.[_0x2991dd(0x160)]||0x0)+_0x2991dd(0x249)+_0x3bb357['length']);if(!_0x3bb357||_0x29ad55[_0x2991dd(0x1cf)](_0x3bb357[_0x2991dd(0x160)],0x0)){logger[_0x2991dd(0x1c2)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20'+_0x1555b8);return;}const _0x5977a6=0x28,_0x5eeedd=Math[_0x2991dd(0x27b)](_0x29ad55['ffPEc'](_0x3bb357[_0x2991dd(0x160)],_0x5977a6));for(let _0x9e782c=0x0;_0x29ad55['OGLRe'](_0x9e782c,_0x5eeedd);_0x9e782c++){const _0xf47dc7=_0x29ad55[_0x2991dd(0x16a)](_0x9e782c,_0x5977a6),_0x1e4d1a=_0x29ad55[_0x2991dd(0x2a5)](_0xf47dc7,_0x5977a6),_0x5b5d4f=_0x3bb357[_0x2991dd(0x1e9)](_0xf47dc7,_0x1e4d1a),_0x56b7d5=global?.[_0x2991dd(0x16b)]??0x0,_0x265991={'platformIndex':_0x56b7d5,'logs':_0x5b5d4f,'testFrameworkName':_0x1bb1a8,'testFrameworkVersion':_0x4e3513,'testFrameworkState':_0x116ef9[_0x2991dd(0x222)]()[_0x2991dd(0x218)]('.')[0x1]},_0x3f9b46={};_0x3f9b46[_0x2991dd(0x195)]=0x3,_0x3f9b46[_0x2991dd(0x199)]=0x5,logger[_0x2991dd(0x1c2)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20'+_0x29ad55[_0x2991dd(0x263)](_0x9e782c,0x1)+'/'+_0x5eeedd+_0x2991dd(0x23e)+_0x1555b8+',\x20logsInBatch:\x20'+_0x5b5d4f[_0x2991dd(0x160)]+',\x20platformIndex:\x20'+_0x56b7d5+_0x2991dd(0x18c)+util[_0x2991dd(0x1c7)](_0x265991,_0x3f9b46));const _0x292a31=await GrpcClient[_0x2991dd(0x1ab)]()[_0x2991dd(0x2b1)](_0x265991);logger['debug'](_0x2991dd(0x28a)+_0x29ad55[_0x2991dd(0x235)](_0x9e782c,0x1)+'/'+_0x5eeedd+'\x20-\x20testId:\x20'+_0x1555b8+_0x2991dd(0x1cd)+util[_0x2991dd(0x1c7)](_0x292a31));}_0x40c428&&_0x29ad55['FcLgz'](_0x40c428['length'],0x0)&&_0x3e62cd[TestFrameworkConstants[_0x2991dd(0x14e)]]&&_0x33108d[_0x2991dd(0x1d0)]({[_0x1555b8]:{[TestFrameworkConstants[_0x2991dd(0x14e)]]:{},[TestFrameworkConstants[_0x2991dd(0x1f7)]]:this['getTestFrameworks']()[0x0]||'',[TestFrameworkConstants[_0x2991dd(0x171)]]:this['getTestFrameworksVersions']()[this['getTestFrameworks']()[0x0]]||''}}),logger[_0x2991dd(0x1c2)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20'+_0x1555b8+_0x2991dd(0x203)+_0x5eeedd);}catch(_0x415cd5){logger['error'](_0x2991dd(0x1bf)+(_0x2e04a3[_0x2991dd(0x2ae)]||_0x2e04a3[_0x2991dd(0x13d)])+_0x2991dd(0x2a4)+util[_0x2991dd(0x198)](_0x415cd5));}}[a75_0x55d67c(0x228)](_0x3f5caf,_0x1720c6,_0x1d6dea,_0x232518,_0x490c3b){const _0x5a6b79=a75_0x55d67c,_0xaa8986={};_0xaa8986['jnGUo']=function(_0x5c616c,_0x435cf3){return _0x5c616c===_0x435cf3;},_0xaa8986[_0x5a6b79(0x1ad)]='beforeAll';const _0x7135e2=_0xaa8986,{hookData:_0x5781fe}=_0x490c3b,_0x4813dc={'testId':_0x1720c6,'testFrameworkState':_0x1d6dea,'hookState':_0x232518,'args':_0x490c3b,'timestamp':new Date()[_0x5a6b79(0x15a)]()};if(_0x7135e2[_0x5a6b79(0x240)](_0x1d6dea,TestFrameworkState[_0x5a6b79(0x18f)])&&_0x5781fe){const _0x345bfb={};_0x345bfb['filePath']=_0x5781fe['file_name']||_0x5781fe[_0x5a6b79(0x15d)],_0x345bfb[_0x5a6b79(0x2a8)]=_0x5781fe['scope']||_0x5781fe[_0x5a6b79(0x247)]&&_0x5781fe[_0x5a6b79(0x247)][0x0]||'',_0x345bfb[_0x5a6b79(0x24f)]=_0x7135e2[_0x5a6b79(0x1ad)],_0x4813dc[_0x5a6b79(0x21e)]=_0x345bfb,logger[_0x5a6b79(0x1c2)](_0x5a6b79(0x275)+_0x1720c6+_0x5a6b79(0x282)+_0x4813dc['hookMetadata']['filePath']+_0x5a6b79(0x1aa)+_0x4813dc[_0x5a6b79(0x21e)][_0x5a6b79(0x2a8)]);}_0x3f5caf[_0x5a6b79(0x19a)](_0x1720c6,_0x4813dc),logger[_0x5a6b79(0x1c2)]('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x1720c6+_0x5a6b79(0x251)+_0x1d6dea+_0x5a6b79(0x23f)+_0x232518);}async[a75_0x55d67c(0x2b2)](_0x2a66c5,_0x315094){const _0x2b70ec=a75_0x55d67c,_0x35ed6c={};_0x35ed6c[_0x2b70ec(0x182)]=function(_0x4e6374,_0x993b3c){return _0x4e6374>_0x993b3c;},_0x35ed6c['GdZoO']=function(_0x23a321,_0x253e2d){return _0x23a321===_0x253e2d;},_0x35ed6c['FKaMZ']=function(_0x4341d4,_0x3398b1){return _0x4341d4===_0x3398b1;},_0x35ed6c['PpXte']=function(_0x33ebaf,_0x49782){return _0x33ebaf>_0x49782;},_0x35ed6c['KimrB']=_0x2b70ec(0x294);const _0x4808e6=_0x35ed6c;if(_0x2a66c5['hasPendingHooks'](_0x315094)){const _0xc8e83d=_0x2a66c5['getPendingHooks'](_0x315094);logger[_0x2b70ec(0x1c2)](_0x2b70ec(0x25f)+_0xc8e83d[_0x2b70ec(0x160)]+_0x2b70ec(0x1d6)+_0x315094);for(const _0x156c2d of _0xc8e83d){try{const _0x2bbcf1=await this[_0x2b70ec(0x204)](_0x2a66c5,_0x156c2d[_0x2b70ec(0x298)],_0x156c2d[_0x2b70ec(0x1a7)],_0x156c2d['args']);_0x2bbcf1&&_0x4808e6[_0x2b70ec(0x182)](Object[_0x2b70ec(0x1ce)](_0x2bbcf1)[_0x2b70ec(0x160)],0x0)&&_0x2a66c5[_0x2b70ec(0x1d0)](_0x2bbcf1),await this['runHooks'](_0x2a66c5,_0x156c2d['testFrameworkState'],_0x156c2d[_0x2b70ec(0x1a7)],_0x156c2d[_0x2b70ec(0x26c)]);}catch(_0x23b8cc){logger['error']('Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20'+_0x315094+_0x2b70ec(0x2a4)+_0x23b8cc);}}_0x2a66c5[_0x2b70ec(0x1fa)](_0x315094),logger[_0x2b70ec(0x1c2)](_0x2b70ec(0x236)+_0x315094);}const _0x2d8fb8=_0x2a66c5[_0x2b70ec(0x290)]()[_0x2b70ec(0x140)](_0x315094);if(_0x2d8fb8){const _0x24408e=_0x2d8fb8[TestFrameworkConstants[_0x2b70ec(0x29c)]]||_0x2d8fb8[TestFrameworkConstants[_0x2b70ec(0x273)]],_0x351186=_0x2d8fb8[TestFrameworkConstants['KEY_TEST_SCOPE']]||_0x2d8fb8[TestFrameworkConstants[_0x2b70ec(0x210)]]&&_0x2d8fb8[TestFrameworkConstants['KEY_TEST_SCOPES']][0x0]||'';logger[_0x2b70ec(0x1c2)](_0x2b70ec(0x14b)+_0x24408e+_0x2b70ec(0x1aa)+_0x351186);const _0x29f6ea=_0x2a66c5[_0x2b70ec(0x16d)]();for(const _0x885050 of _0x29f6ea){if(_0x4808e6[_0x2b70ec(0x134)](_0x885050,_0x315094))continue;if(_0x2a66c5[_0x2b70ec(0x190)](_0x885050)){const _0x4a777a=_0x2a66c5['getPendingHooks'](_0x885050);for(const _0x3d31dc of _0x4a777a){if(_0x4808e6[_0x2b70ec(0x134)](_0x3d31dc[_0x2b70ec(0x298)],TestFrameworkState[_0x2b70ec(0x18f)])&&_0x3d31dc[_0x2b70ec(0x21e)]){const _0x12a2f8=_0x3d31dc['hookMetadata']['filePath'],_0x562e19=_0x3d31dc[_0x2b70ec(0x21e)][_0x2b70ec(0x2a8)];if(_0x4808e6[_0x2b70ec(0x134)](_0x12a2f8,_0x24408e)&&_0x4808e6[_0x2b70ec(0x2ac)](_0x562e19,_0x351186)){logger[_0x2b70ec(0x1c2)](_0x2b70ec(0x245)+_0x885050+_0x2b70ec(0x1ba)+_0x315094+',\x20filePath:\x20'+_0x12a2f8+_0x2b70ec(0x1aa)+_0x562e19);_0x3d31dc[_0x2b70ec(0x26c)]&&_0x3d31dc[_0x2b70ec(0x26c)][_0x2b70ec(0x154)]&&(_0x3d31dc['args'][_0x2b70ec(0x154)][_0x2b70ec(0x287)]=_0x315094,logger['debug'](_0x2b70ec(0x186)+_0x885050+_0x2b70ec(0x29b)+_0x315094));try{const _0x1ef41e=await this[_0x2b70ec(0x204)](_0x2a66c5,_0x3d31dc[_0x2b70ec(0x298)],_0x3d31dc[_0x2b70ec(0x1a7)],_0x3d31dc[_0x2b70ec(0x26c)]);_0x1ef41e&&_0x4808e6[_0x2b70ec(0x17c)](Object[_0x2b70ec(0x1ce)](_0x1ef41e)[_0x2b70ec(0x160)],0x0)&&_0x2a66c5['addMultipleEntries'](_0x1ef41e);await this[_0x2b70ec(0x29a)](_0x2a66c5,_0x3d31dc[_0x2b70ec(0x298)],_0x3d31dc[_0x2b70ec(0x1a7)],_0x3d31dc[_0x2b70ec(0x26c)]);const _0x468476=_0x2a66c5['getPendingHooks'](_0x885050)['filter'](_0x5534d5=>_0x5534d5!==_0x3d31dc);if(_0x4808e6[_0x2b70ec(0x134)](_0x468476[_0x2b70ec(0x160)],0x0))_0x2a66c5[_0x2b70ec(0x1fa)](_0x885050);else{_0x2a66c5['removePendingHooks'](_0x885050);for(const _0x5ca40e of _0x468476){_0x2a66c5[_0x2b70ec(0x19a)](_0x885050,_0x5ca40e);}}logger['debug'](_0x4808e6[_0x2b70ec(0x14a)]);}catch(_0x39f4bd){logger['error'](_0x2b70ec(0x150)+_0x315094+_0x2b70ec(0x2a4)+_0x39f4bd);}}}}}}}}[a75_0x55d67c(0x1e1)](_0x1a0f95){const _0x3b362b=a75_0x55d67c,_0x307dc0={'YyjPW':function(_0x3d8240){return _0x3d8240();}};if(!_0x1a0f95||!_0x1a0f95[_0x3b362b(0x297)])return;_0x1a0f95[_0x3b362b(0x297)][_0x3b362b(0x18b)]&&Array[_0x3b362b(0x216)](_0x1a0f95[_0x3b362b(0x297)][_0x3b362b(0x18b)])&&_0x1a0f95['parent'][_0x3b362b(0x18b)][_0x3b362b(0x233)](_0x5af5d8=>{const _0x90a168=_0x3b362b;!_0x5af5d8[_0x90a168(0x19b)]&&!_0x5af5d8['hookUUID']&&(_0x5af5d8[_0x90a168(0x19b)]=_0x307dc0['YyjPW'](uuidv4),_0x5af5d8[_0x90a168(0x1f4)]=_0x5af5d8['hookAnalyticsId'],logger[_0x90a168(0x1c2)](_0x90a168(0x1b2)+_0x5af5d8[_0x90a168(0x175)]+',\x20hookUUID='+_0x5af5d8[_0x90a168(0x19b)]));}),this[_0x3b362b(0x1e1)](_0x1a0f95[_0x3b362b(0x297)]);}[a75_0x55d67c(0x191)](_0x4a9710){const _0x294ea4=a75_0x55d67c,_0x5439f0={'jqblj':function(_0x32b147,_0x227185){return _0x32b147(_0x227185);}};if(!_0x4a9710||!_0x4a9710[_0x294ea4(0x297)])return[];const _0x25e4cb=[];return _0x4a9710['parent'][_0x294ea4(0x18b)]&&Array['isArray'](_0x4a9710[_0x294ea4(0x297)][_0x294ea4(0x18b)])&&_0x4a9710[_0x294ea4(0x297)][_0x294ea4(0x18b)]['forEach'](_0x2eb225=>{const _0x2d015c=_0x294ea4,_0xd2aef6=_0x2eb225[_0x2d015c(0x19b)]||_0x2eb225[_0x2d015c(0x1f4)];_0xd2aef6&&!this[_0x2d015c(0x1d1)](_0x2eb225)&&!_0x5439f0[_0x2d015c(0x181)](isInternalHook,_0x2eb225['fn'])&&_0x25e4cb[_0x2d015c(0x173)](_0xd2aef6);}),[..._0x25e4cb,...this[_0x294ea4(0x191)](_0x4a9710[_0x294ea4(0x297)])];}[a75_0x55d67c(0x1f8)](_0x4429e9){const _0x360a33=a75_0x55d67c,_0x5ab5c0={'rHGUb':function(_0x3dff27,_0x227940){return _0x3dff27(_0x227940);},'aemQb':'unknown'},_0x1b6a3c=new Map(),_0x2abe8a=_0x475a43=>{const _0x11d4a4=a75_0x8b4b,_0x4e7815={'ROpWC':function(_0x453f5c,_0xc3585c){const _0x338563=a75_0x8b4b;return _0x5ab5c0[_0x338563(0x211)](_0x453f5c,_0xc3585c);},'BAowf':_0x5ab5c0[_0x11d4a4(0x26a)]};if(!_0x475a43||!_0x475a43[_0x11d4a4(0x297)])return;_0x475a43['parent']['hooks']&&Array['isArray'](_0x475a43['parent']['hooks'])&&_0x475a43[_0x11d4a4(0x297)][_0x11d4a4(0x18b)][_0x11d4a4(0x233)](_0x269088=>{const _0x4e8372=_0x11d4a4,_0x1c0a03=_0x269088['hookAnalyticsId']||_0x269088[_0x4e8372(0x1f4)];if(_0x1c0a03&&!this['isJestInternalHook'](_0x269088)&&!_0x4e7815[_0x4e8372(0x1f3)](isInternalHook,_0x269088['fn'])){const _0xb5e3e1={};_0xb5e3e1[_0x4e8372(0x175)]=_0x269088[_0x4e8372(0x175)]||_0x4e7815['BAowf'],_0xb5e3e1['name']=_0x269088['name']||'\x22'+_0x269088[_0x4e8372(0x175)]+'\x22\x20hook',_0x1b6a3c[_0x4e8372(0x25d)](_0x1c0a03,_0xb5e3e1);}}),_0x5ab5c0['rHGUb'](_0x2abe8a,_0x475a43[_0x11d4a4(0x297)]);};return _0x5ab5c0[_0x360a33(0x211)](_0x2abe8a,_0x4429e9),_0x1b6a3c;}[a75_0x55d67c(0x1d1)](_0xb59ab){const _0x134b59=a75_0x55d67c,_0x1df80e={};_0x1df80e[_0x134b59(0x22a)]=_0x134b59(0x13c),_0x1df80e[_0x134b59(0x258)]=_0x134b59(0x24e);const _0x2e6102=_0x1df80e;try{const _0xe45d4c=this[_0x134b59(0x1eb)](_0xb59ab);return _0xe45d4c&&_0xe45d4c[_0x134b59(0x284)](_0x2e6102['HAkXE']);}catch(_0x412169){logger['debug'](_0x2e6102['xusmP']);}return![];}['getRootParentFile'](_0xb5da45){const _0x554441=a75_0x55d67c;if(_0xb5da45[_0x554441(0x14f)])try{const _0x541a68=stackTrace[_0x554441(0x157)](_0xb5da45[_0x554441(0x14f)]);return _0x541a68[0x0]?_0x541a68[0x0][_0x554441(0x1af)]():null;}catch(_0x3ba1e4){logger[_0x554441(0x1c2)]('[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20'+util['format'](_0x3ba1e4));}if(_0xb5da45['file'])return _0xb5da45[_0x554441(0x22c)];return null;}}function a75_0x4182(){const _0x115e2f=['getTrackedInstance','KEY_TEST_STARTED_AT','toISOString','event_ended_at','exports','location','platformIndex','KEY_LOGS','length','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','hook_type','executionContext','VOFcO','test_identifier','match','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20',',\x20hookUUID=','\x20(testIdentifier),\x20tags=','koJeG','browserstackPlatformIndex','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','getAllPendingHookTestIds','lrHYM','KtQtz','NONE','KEY_TEST_FRAMEWORK_VERSION','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','push','vphMw','type','getTestFrameworksVersions','KEY_HOOK_RESULT','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','reverse','uxsSf',',\x20failureType=','PpXte','stack-trace','\x20(testIdentifier),\x20hookType=','util','MCXIz','jqblj','CBFSi',',\x20hookId=','KfoLi','getJestFailureData','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','12QFWvWT','KEtMo','../state/hookState.js','getJestTestTags','hooks',',\x20payload:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','fEBfY','BEFORE_ALL','hasPendingHooks','getHooksForTest','tags','errorsDetailed','code','depth','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','name','format','maxArrayLength','addPendingHook','hookAnalyticsId','hqdCF','trackJestInstance:\x20instance\x20already\x20exists','KEY_CUSTOM_TAGS','warn','KEY_TEST_SCOPE','\x20&\x20hookState=','base64','passed',',\x20scopes=','bvZxf','ppFYv','hookState','ALL','../state/testFrameworkState.js',',\x20scope:\x20','getInstance','startedAt','BDqqY','getJestFailureType','getFileName','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','hook_result','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','getTestFrameworks','KEY_HOOK_FAILURE_REASON','jvrbw','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','from','getProcessId',',\x20currentTestId:\x20',',\x20contextId=','parseJestTestResult','concat','KEY_TEST_RESULT_AT','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','reKgT','debug','KEY_EVENT_STARTED_AT','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','inspect','instance',',\x20hook_run_uuid=','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','POST',',\x20response=','keys','HwcNr','addMultipleEntries','isJestInternalHook','test_run_uuid','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','getId','getJestTestScopes','\x20pending\x20hooks\x20for\x20testId:\x20','Assert','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','AssertionError','replace','tlWuk','KEY_HOOK_LAST_FINISHED','pid','KEY_TEST_FAILURE_REASON','find','findIndex','mapTestHooks',',\x20attachmentLogs:\x20','hook_run_uuid','40QPttCA','KEY_AUTOMATE_SESSION_NAME','JOfYv','oxaLS','eventJson','slice',',\x20hookData=','getRootParentFile','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','parallelIndex','Error\x20in\x20createTestFrameworkEventPayload:\x20','bZlAC','6132379HmTmXi','GARca','lyEgP','ROpWC','hookUUID','KEY_HOOK_FAILURE_TYPE','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','KEY_TEST_FRAMEWORK_NAME','buildHookMapFromTest',',\x20result=','removePendingHooks','RebCD','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','missing',',\x20totalHooks=','iQred','stringify','OAlTk','failed',',\x20totalBatches:\x20','trackHookEvent','none','BRkZV','started_at','resolveInstance','XKuGJ','has','status',',\x20argsKeys=','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','KEY_HOOK_LAST_STARTED','KEY_TEST_FAILURE_TYPE','KEY_TEST_SCOPES','rHGUb','getCurrentInstanceName','testFrameworkVersion','parseJestTest','uuid','isArray','ROOT_DESCRIBE_BLOCK','split','xxMGK','ZiSKk','body','hpJMf','ktxnG','hookMetadata',',\x20state=','startsWith','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20','toString','getJestTestName','syYui','118375CiBTzz','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','storePendingHook','7tVLGGH','HAkXE','PRE','file','ibVTS','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','getJestTestFilePath','../TestInfo.js','KEY_TEST_UUID','qDuKq','forEach','hhASO','OfEPE','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','KEY_TEST_LOGS','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','trackEvent','ZtFbn','./testFramework','finished_at','1194951emZpxT','\x20-\x20testId:\x20',',\x20hookState:\x20','jnGUo',',\x20remainingHooks=','pop',',\x20testId=','map','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','JsWVj','scopes','Unknown\x20Test',',\x20totalLogs:\x20','\x20attachments','KEY_HOOK_FAILURE','\x20(testIdentifier),\x20result=','KEY_TEST_ENDED_AT','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','hookType','getThreadId',',\x20state:\x20','failure_reason','MRrJD','qDwEF','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20BEFORE_ALL\x20with\x20no\x20matching\x20PRE,\x20storing\x20as\x20pending','UnhandledError','getCurrentHookState','xusmP','kind','KEY_TEST_RESULT','./constants/testFrameworkConstants.js','\x20logs\x20for\x20testId:\x20','set','3458694nGXUOW','Processing\x20','sendLogCreatedEvent','NisAJ','unknown','XqGNK','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','endedAt','originalTest',',\x20messageLength=','gamYb','WOEGG','aemQb','LMzBt','args','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','uidkp','../../../helpers/classLogger.js','DEFAULT_HOOK_RESULT','wmXWi','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','KEY_TEST_LOCATION','xNuiS','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20',',\x20failureReason=','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','getCurrentTestState','KEY_TEST_DURATION','retryOf','ceil','getJestFailureReason','\x20-\x20test_identifier=','KEY_TEST_TAGS','../../../helpers/test-observability/utils',',\x20testData=','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20',',\x20filePath:\x20','wjaSx','includes','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','DhFgu','test_run_id','setTrackedInstance','testFrameworkName','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','createContext','KEY_HOOK_NAME','oYkvC','TEST_SCREENSHOT','KEY_HOOKS_STARTED','getAllData','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','getJestTestIdentifier','102618yyoWbw','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','367528MoowEM','result','parent','testFrameworkState','skipped','runHooks','\x20to\x20','KEY_TEST_FILE_PATH','substring','KEY_TEST_META','getContext','hook_id','matchHookRegex','../cliUtils.js',',\x20duration=',',\x20error:\x20','GmGaQ','RIUWm','file_name','scope','oJHax','trackJestInstance:\x20created\x20instance\x20for\x20target=','itvaZ','FKaMZ','getRef','testUUID','KEY_HOOK_LOGS','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20','logCreatedEvent','processPendingHooks','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','test','__workerDetails','pbiCc','QOYMG',',\x20hooksListLength=','title',',\x20version=','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=',':testAnalyticsId','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','ZNCmp','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','DddqG','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','GdZoO','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=',',\x20target=',',\x20hook=',',\x20hookType=','join','activeHooks','testData','jest-circus','testId','139897kFqOfK','../instances/testFrameworkInstance.js','get','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','KEY_HOOKS_FINISHED','TEST',',\x20filePath=','__bstackPlatformIndex','KEY_EVENT_ENDED_AT','KEY_TEST_RETRY_OF','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','KimrB','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20','10hsLrAG','trackJestInstance','KEY_TEST_ATTACHMENTS','asyncError','[JestTestFramework]\x20processPendingHooks:\x20Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20','Walsb','KEY_HOOK_ID','duration','hookData','skip',',\x20hookState=','parse'];a75_0x4182=function(){return _0x115e2f;};return a75_0x4182();}function a75_0x8b4b(_0x163fa8,_0x2b6882){const _0x4182cd=a75_0x4182();return a75_0x8b4b=function(_0x8b4bfc,_0x56cd92){_0x8b4bfc=_0x8b4bfc-0x12c;let _0x27927a=_0x4182cd[_0x8b4bfc];return _0x27927a;},a75_0x8b4b(_0x163fa8,_0x2b6882);}module[a75_0x55d67c(0x15c)]=JestTestFramework;
1
+ function a75_0x35b7(_0x34f7d0,_0x491bd8){const _0x43c37c=a75_0x43c3();return a75_0x35b7=function(_0x35b73f,_0x4301b3){_0x35b73f=_0x35b73f-0x127;let _0xa0cef6=_0x43c37c[_0x35b73f];return _0xa0cef6;},a75_0x35b7(_0x34f7d0,_0x491bd8);}const a75_0x41ec89=a75_0x35b7;(function(_0x4ef393,_0x50e33a){const _0x3f066f=a75_0x35b7,_0x233aa8=_0x4ef393();while(!![]){try{const _0x9d2785=parseInt(_0x3f066f(0x29a))/0x1*(parseInt(_0x3f066f(0x229))/0x2)+-parseInt(_0x3f066f(0x194))/0x3*(parseInt(_0x3f066f(0x224))/0x4)+-parseInt(_0x3f066f(0x130))/0x5*(parseInt(_0x3f066f(0x184))/0x6)+parseInt(_0x3f066f(0x25a))/0x7*(-parseInt(_0x3f066f(0x186))/0x8)+-parseInt(_0x3f066f(0x17c))/0x9+parseInt(_0x3f066f(0x19a))/0xa+parseInt(_0x3f066f(0x25b))/0xb;if(_0x9d2785===_0x50e33a)break;else _0x233aa8['push'](_0x233aa8['shift']());}catch(_0x5f5309){_0x233aa8['push'](_0x233aa8['shift']());}}}(a75_0x43c3,0x6558b));const TestFramework=require(a75_0x41ec89(0x182)),TestFrameworkState=require(a75_0x41ec89(0x25f)),HookState=require('../state/hookState.js'),{createClassLogger}=require(a75_0x41ec89(0x15b)),TestFrameworkInstance=require(a75_0x41ec89(0x22e)),CLIUtils=require(a75_0x41ec89(0x1d3)),TrackedInstance=require(a75_0x41ec89(0x12f)),TestFrameworkConstants=require(a75_0x41ec89(0x19e)),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),{isInternalHook}=require(a75_0x41ec89(0x1a2)),logger=createClassLogger('JestTestFramework'),{v4:uuidv4}=require(a75_0x41ec89(0x1c7)),util=require(a75_0x41ec89(0x294)),TestInfo=require(a75_0x41ec89(0x137)),GrpcClient=require(a75_0x41ec89(0x20d)),stackTrace=require(a75_0x41ec89(0x18a));class JestTestFramework extends TestFramework{constructor(_0x284659,_0x4b585a,_0x113cc0){const _0x2a2ebe=a75_0x41ec89;super(_0x284659,_0x4b585a,_0x113cc0),this[_0x2a2ebe(0x272)]=new Map();}[a75_0x41ec89(0x29d)](_0x298a15,_0x2c45a2,_0x1f1b00){const _0x28b6f7=a75_0x41ec89,_0x2c7d54={};_0x2c7d54[_0x28b6f7(0x221)]=function(_0xb81fa1,_0x2b1645){return _0xb81fa1||_0x2b1645;};const _0x366216=_0x2c7d54;if(_0x366216[_0x28b6f7(0x221)](!_0x298a15,!_0x2c45a2)){logger[_0x28b6f7(0x299)]('[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier='+_0x298a15+',\x20hookUUID='+_0x2c45a2);return;}!this['activeHooks'][_0x28b6f7(0x187)](_0x298a15)&&this['activeHooks'][_0x28b6f7(0x24b)](_0x298a15,[]);const _0x50c486={'hookUUID':_0x2c45a2,'hookType':_0x1f1b00,'startedAt':new Date()[_0x28b6f7(0x1d8)]()};this[_0x28b6f7(0x272)][_0x28b6f7(0x1a4)](_0x298a15)[_0x28b6f7(0x21e)](_0x50c486),logger[_0x28b6f7(0x297)]('[JestTestFramework]\x20setActiveHook:\x20testIdentifier='+_0x298a15+',\x20hookUUID='+_0x2c45a2+_0x28b6f7(0x213)+_0x1f1b00+_0x28b6f7(0x1dc)+this[_0x28b6f7(0x272)][_0x28b6f7(0x1a4)](_0x298a15)[_0x28b6f7(0x201)]);}[a75_0x41ec89(0x205)](_0x1d35d8,_0x21aed3){const _0x246c79=a75_0x41ec89,_0x9d3a26={};_0x9d3a26[_0x246c79(0x2a0)]=function(_0x1b83d1,_0x13ee96){return _0x1b83d1||_0x13ee96;},_0x9d3a26['HqUHY']=function(_0x40ed94,_0x165440){return _0x40ed94!==_0x165440;},_0x9d3a26[_0x246c79(0x274)]=function(_0x533adc,_0x2a1a85){return _0x533adc===_0x2a1a85;};const _0x4c434d=_0x9d3a26;if(_0x4c434d[_0x246c79(0x2a0)](!_0x1d35d8,!_0x21aed3)){logger[_0x246c79(0x299)](_0x246c79(0x2ae)+_0x1d35d8+_0x246c79(0x1f2)+_0x21aed3);return;}if(this[_0x246c79(0x272)]['has'](_0x1d35d8)){const _0x2b7b95=this[_0x246c79(0x272)][_0x246c79(0x1a4)](_0x1d35d8),_0x3abe61=_0x2b7b95[_0x246c79(0x1d5)](_0x8a3ab6=>_0x8a3ab6[_0x246c79(0x1f3)]===_0x21aed3);_0x4c434d[_0x246c79(0x288)](_0x3abe61,-0x1)?(_0x2b7b95[_0x246c79(0x1f5)](_0x3abe61,0x1),logger[_0x246c79(0x297)]('[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier='+_0x1d35d8+',\x20hookUUID='+_0x21aed3+',\x20remainingHooks='+_0x2b7b95[_0x246c79(0x201)]),_0x4c434d[_0x246c79(0x274)](_0x2b7b95['length'],0x0)&&this[_0x246c79(0x272)][_0x246c79(0x1d2)](_0x1d35d8)):logger[_0x246c79(0x297)](_0x246c79(0x1e0)+_0x1d35d8+_0x246c79(0x1f2)+_0x21aed3);}}['getActiveHook'](_0x4e4189){const _0xcb2bbf=a75_0x41ec89,_0x2cc52b={};_0x2cc52b[_0xcb2bbf(0x12c)]=function(_0x463765,_0x42dcbd){return _0x463765>_0x42dcbd;},_0x2cc52b[_0xcb2bbf(0x177)]=function(_0x2c16b8,_0x2f07b0){return _0x2c16b8-_0x2f07b0;};const _0x5cb316=_0x2cc52b;if(!_0x4e4189)return null;if(this[_0xcb2bbf(0x272)][_0xcb2bbf(0x187)](_0x4e4189)){const _0x5dcb63=this[_0xcb2bbf(0x272)][_0xcb2bbf(0x1a4)](_0x4e4189);if(_0x5cb316[_0xcb2bbf(0x12c)](_0x5dcb63[_0xcb2bbf(0x201)],0x0)){const _0x58c724=_0x5dcb63[_0x5cb316['fBbdV'](_0x5dcb63['length'],0x1)];return logger['debug']('[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier='+_0x4e4189+_0xcb2bbf(0x1f2)+_0x58c724[_0xcb2bbf(0x1f3)]+_0xcb2bbf(0x213)+_0x58c724[_0xcb2bbf(0x23c)]),_0x58c724;}}return null;}async[a75_0x41ec89(0x228)](_0x55099f,_0x437857,_0x21ae0e={}){const _0x1c0b27=a75_0x41ec89,_0x421608={};_0x421608['zWfqB']=_0x1c0b27(0x1d6),_0x421608[_0x1c0b27(0x27e)]=function(_0x289c1f,_0x4ec2dd){return _0x289c1f===_0x4ec2dd;},_0x421608[_0x1c0b27(0x153)]=function(_0x1f2924,_0x24fb0b){return _0x1f2924===_0x24fb0b;},_0x421608[_0x1c0b27(0x1c9)]=function(_0xe083b5,_0x4c37cf){return _0xe083b5||_0x4c37cf;},_0x421608[_0x1c0b27(0x264)]=_0x1c0b27(0x1d7);const _0x13cc1e=_0x421608;logger[_0x1c0b27(0x297)](_0x1c0b27(0x20a)+_0x55099f+_0x1c0b27(0x270)+_0x437857+_0x1c0b27(0x13a)+Object['keys'](_0x21ae0e)[_0x1c0b27(0x178)](',')),await super['trackEvent'](_0x55099f,_0x437857,_0x21ae0e);const _0x57f8d1=this['resolveInstance'](_0x55099f,_0x437857,_0x21ae0e);if(!_0x57f8d1){logger[_0x1c0b27(0x297)](_0x13cc1e[_0x1c0b27(0x22b)]);return;}try{let _0x101487,_0x149f98,_0x2e3d92;switch(_0x55099f){case TestFrameworkState[_0x1c0b27(0x234)]:_0x101487=_0x21ae0e[_0x1c0b27(0x1a0)];const _0x1c9a38={};_0x1c9a38[_0x1c0b27(0x17e)]=0x2,_0x1c9a38[_0x1c0b27(0x135)]=0x3,logger[_0x1c0b27(0x297)](_0x1c0b27(0x20e)+_0x437857+_0x1c0b27(0x163)+util[_0x1c0b27(0x141)](_0x101487,_0x1c9a38)),_0x2e3d92=this[_0x1c0b27(0x273)](_0x101487),_0x149f98=null,logger[_0x1c0b27(0x297)](_0x1c0b27(0x176)+_0x2e3d92+_0x1c0b27(0x210));if(_0x13cc1e[_0x1c0b27(0x27e)](_0x437857,HookState[_0x1c0b27(0x2b0)])){logger[_0x1c0b27(0x297)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20'+_0x2e3d92);const _0x56c578={};_0x56c578[_0x1c0b27(0x266)]=_0x149f98,_0x56c578[_0x1c0b27(0x162)]=_0x101487,_0x56c578[_0x1c0b27(0x1f4)]=_0x2e3d92;const _0x24cdb6=this[_0x1c0b27(0x127)](_0x56c578),_0x18bed9={};_0x18bed9[_0x1c0b27(0x17e)]=0x2,_0x18bed9['maxArrayLength']=0x3,logger[_0x1c0b27(0x297)](_0x1c0b27(0x21c)+util[_0x1c0b27(0x141)](_0x24cdb6,_0x18bed9)),_0x57f8d1[_0x1c0b27(0x1ff)](_0x24cdb6),logger[_0x1c0b27(0x297)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20'+_0x2e3d92),await this[_0x1c0b27(0x16a)](_0x57f8d1,_0x2e3d92);}else{if(_0x13cc1e[_0x1c0b27(0x153)](_0x437857,HookState[_0x1c0b27(0x2b6)])){logger[_0x1c0b27(0x297)](_0x1c0b27(0x1c4)+_0x2e3d92);const _0x30c539=_0x57f8d1['getAllData']()[_0x1c0b27(0x1a4)](_0x2e3d92);logger['debug'](_0x1c0b27(0x1de)+util[_0x1c0b27(0x141)](Object[_0x1c0b27(0x155)](_0x13cc1e[_0x1c0b27(0x1c9)](_0x30c539,{}))));_0x30c539&&_0x30c539[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]?logger[_0x1c0b27(0x297)](_0x1c0b27(0x160)+Object[_0x1c0b27(0x155)](_0x30c539[TestFrameworkConstants[_0x1c0b27(0x2af)]])['length']+_0x1c0b27(0x26f)):logger[_0x1c0b27(0x297)](_0x13cc1e[_0x1c0b27(0x264)]);const _0x250621=_0x21ae0e[_0x1c0b27(0x1f7)]||null,_0x2b3b11={};_0x2b3b11[_0x1c0b27(0x266)]=_0x149f98,_0x2b3b11[_0x1c0b27(0x162)]=_0x101487,_0x2b3b11[_0x1c0b27(0x1f4)]=_0x2e3d92,_0x2b3b11[_0x1c0b27(0x1f7)]=_0x250621;const _0x397a2b=this[_0x1c0b27(0x150)](_0x2b3b11),_0x1efb5b={};_0x1efb5b[_0x1c0b27(0x17e)]=0x2,_0x1efb5b[_0x1c0b27(0x135)]=0x3,logger['debug']('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20'+util['inspect'](_0x397a2b,_0x1efb5b)),_0x57f8d1[_0x1c0b27(0x1ff)](_0x397a2b),logger['debug'](_0x1c0b27(0x23f)+_0x2e3d92),await this['processPendingHooks'](_0x57f8d1,_0x2e3d92);}}break;case TestFrameworkState[_0x1c0b27(0x247)]:if(_0x13cc1e[_0x1c0b27(0x153)](_0x437857,HookState[_0x1c0b27(0x2b6)])){const _0x354a7f={};_0x354a7f['depth']=0x2,logger[_0x1c0b27(0x297)](_0x1c0b27(0x1fe)+util[_0x1c0b27(0x141)](_0x21ae0e,_0x354a7f)),await this[_0x1c0b27(0x1b9)](_0x57f8d1,_0x55099f,_0x21ae0e);}break;default:if(CLIUtils[_0x1c0b27(0x28d)](_0x55099f[_0x1c0b27(0x1b2)]()['split']('.')[0x1])){const _0x3b8f0a={};_0x3b8f0a[_0x1c0b27(0x17e)]=0x2,_0x3b8f0a[_0x1c0b27(0x135)]=0x3,logger[_0x1c0b27(0x297)](_0x1c0b27(0x1fd)+_0x55099f+',\x20hookState='+_0x437857+_0x1c0b27(0x196)+util[_0x1c0b27(0x141)](_0x21ae0e['hookData'],_0x3b8f0a));const _0x55c157=await this[_0x1c0b27(0x1e4)](_0x57f8d1,_0x55099f,_0x437857,_0x21ae0e),_0x4edeeb={};_0x4edeeb[_0x1c0b27(0x17e)]=0x2,_0x4edeeb[_0x1c0b27(0x135)]=0x3,logger[_0x1c0b27(0x297)]('[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20'+util[_0x1c0b27(0x141)](_0x55c157,_0x4edeeb)),_0x57f8d1[_0x1c0b27(0x1ff)](_0x55c157);}else logger['debug'](_0x1c0b27(0x24c)+_0x55099f+'\x20&\x20hookState='+_0x437857);break;}logger[_0x1c0b27(0x297)](_0x1c0b27(0x174)+_0x55099f+',\x20hookState='+_0x437857);}catch(_0x220f83){logger['error'](_0x1c0b27(0x28e)+_0x55099f+_0x1c0b27(0x270)+_0x437857+',\x20exception='+util[_0x1c0b27(0x161)](_0x220f83));}_0x21ae0e[_0x1c0b27(0x232)]=_0x57f8d1,await this['runHooks'](_0x57f8d1,_0x55099f,_0x437857,_0x21ae0e);}[a75_0x41ec89(0x273)](_0xad95bd){const _0x4d4385=a75_0x41ec89,_0x2e5a08={};_0x2e5a08[_0x4d4385(0x1bf)]='[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback';const _0x1198c4=_0x2e5a08;if(_0xad95bd&&(_0xad95bd['id']||_0xad95bd[_0x4d4385(0x1c7)])){const _0x231f61=_0xad95bd['id']||_0xad95bd[_0x4d4385(0x1c7)];return logger['debug'](_0x4d4385(0x204)+_0x231f61+_0x4d4385(0x185)),_0x231f61;}return logger[_0x4d4385(0x297)](_0x1198c4[_0x4d4385(0x1bf)]),process[_0x4d4385(0x188)]+_0x4d4385(0x17b);}[a75_0x41ec89(0x263)](_0x4ea399,_0x3ef3ce,_0x284fdf={}){const _0x11d4d5=a75_0x41ec89;let _0x586c6e=null;return _0x586c6e=TestFramework[_0x11d4d5(0x220)](),!_0x586c6e?(logger['debug']('[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state='+_0x4ea399),this['trackJestInstance'](_0x4ea399,_0x284fdf),_0x586c6e=TestFramework[_0x11d4d5(0x220)](),logger[_0x11d4d5(0x297)](_0x11d4d5(0x256)+!!_0x586c6e+',\x20contextId='+_0x586c6e?.[_0x11d4d5(0x149)]()?.['getId']())):logger[_0x11d4d5(0x297)](_0x11d4d5(0x1dd)+_0x586c6e[_0x11d4d5(0x149)]()?.[_0x11d4d5(0x143)]()),_0x586c6e;}[a75_0x41ec89(0x1c0)](_0x3ff52f,_0x436ca0){const _0x3ac63e=a75_0x41ec89,_0x2b16ff={};_0x2b16ff[_0x3ac63e(0x206)]=_0x3ac63e(0x255);const _0x48ce17=_0x2b16ff;if(TestFramework[_0x3ac63e(0x220)]()){logger[_0x3ac63e(0x297)](_0x48ce17['oKAxp']);return;}const _0x19e3a9=CLIUtils[_0x3ac63e(0x2a5)](),_0x25b86f=TrackedInstance[_0x3ac63e(0x15d)](_0x19e3a9);let _0x59bbc0=null;logger[_0x3ac63e(0x297)](_0x3ac63e(0x238)+_0x19e3a9+_0x3ac63e(0x2a7)+_0x3ff52f),_0x59bbc0=new TestFrameworkInstance(_0x25b86f,this[_0x3ac63e(0x15a)](),this[_0x3ac63e(0x23b)](),_0x3ff52f,HookState[_0x3ac63e(0x296)]),TestFramework[_0x3ac63e(0x225)](_0x25b86f,_0x59bbc0),logger[_0x3ac63e(0x297)]('[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId='+_0x25b86f[_0x3ac63e(0x143)]()+',\x20target='+_0x19e3a9+_0x3ac63e(0x18d)+this[_0x3ac63e(0x15a)]()[0x0]+',\x20version='+this['getTestFrameworksVersions']()[this[_0x3ac63e(0x15a)]()[0x0]]);}[a75_0x41ec89(0x127)](_0x489a3c){const _0x1e06e6=a75_0x41ec89,_0x5d5406={};_0x5d5406['OiYvR']=function(_0x4c9b9c,_0x41df39){return _0x4c9b9c||_0x41df39;},_0x5d5406[_0x1e06e6(0x268)]=_0x1e06e6(0x1e1);const _0x424ad5=_0x5d5406,{testUUID:_0x4a036d,testData:_0x3a2004,testId:_0x297d3a}=_0x489a3c;if(_0x424ad5[_0x1e06e6(0x216)](!_0x3a2004,!_0x297d3a))return logger['debug'](_0x424ad5['DEnAq']),{};const _0x3edec1=this['getTestFrameworks']()[0x0],_0x5ca755=this['getTestFrameworksVersions'](),_0x48638e={};_0x48638e['depth']=0x2,_0x48638e[_0x1e06e6(0x135)]=0x3,logger['debug'](_0x1e06e6(0x279)+util[_0x1e06e6(0x141)](_0x3a2004,_0x48638e));const _0x3633f6=_0x3a2004?.[_0x1e06e6(0x20c)]||[],_0xa10c7e=this[_0x1e06e6(0x1be)](_0x3a2004),_0x4a7e76=this[_0x1e06e6(0x139)](_0x3a2004),_0x432cdc=_0x3a2004['fn']?_0x3a2004['fn'][_0x1e06e6(0x1b2)]():_0x3a2004?.[_0x1e06e6(0x12a)]?_0x3a2004[_0x1e06e6(0x12a)]['code'][_0x1e06e6(0x1b2)]():null,_0x1b5a8a=this['getJestTestTags'](_0x3a2004),_0x56a0de={[TestFrameworkConstants[_0x1e06e6(0x190)]]:_0x3edec1,[TestFrameworkConstants[_0x1e06e6(0x13f)]]:_0x5ca755[_0x3edec1],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants[_0x1e06e6(0x1a9)]]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0xa10c7e,[TestFrameworkConstants[_0x1e06e6(0x1c3)]]:_0x4a7e76,[TestFrameworkConstants[_0x1e06e6(0x2a2)]]:_0x297d3a,[TestFrameworkConstants[_0x1e06e6(0x19d)]]:_0xa10c7e,[TestFrameworkConstants[_0x1e06e6(0x1ac)]]:_0x4a7e76,[TestFrameworkConstants[_0x1e06e6(0x1f0)]]:_0x432cdc,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x1b5a8a,[TestFrameworkConstants[_0x1e06e6(0x258)]]:_0x3a2004[_0x1e06e6(0x164)]||new Date()['toISOString'](),[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x3633f6[0x0]||'',[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x3633f6,[TestFrameworkConstants[_0x1e06e6(0x248)]]:_0xa10c7e,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:{},[TestFrameworkConstants[_0x1e06e6(0x14d)]]:{}};_0x3a2004[_0x1e06e6(0x295)]&&(_0x56a0de[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x3a2004['retryOf']);logger[_0x1e06e6(0x297)](_0x1e06e6(0x23d)+_0xa10c7e+_0x1e06e6(0x1e8)+_0x297d3a+_0x1e06e6(0x2b1)+JSON[_0x1e06e6(0x27c)](_0x1b5a8a)+_0x1e06e6(0x170)+util[_0x1e06e6(0x141)](_0x3633f6)+_0x1e06e6(0x253)+_0x4a7e76);const _0x39b595={};return _0x39b595[_0x297d3a]=_0x56a0de,_0x39b595;}[a75_0x41ec89(0x150)](_0x33618b){const _0x45f474=a75_0x41ec89,_0x5a5cfe={'imhkF':function(_0x5aed4e,_0x148855){return _0x5aed4e===_0x148855;},'HByOp':'afterAll','uSsma':function(_0x36e35a,_0x2df5bd){return _0x36e35a===_0x2df5bd;},'qJDEH':'beforeAll','UejNh':_0x45f474(0x219),'QpSlq':_0x45f474(0x241),'fYrlG':function(_0x126d76,_0x785a3f){return _0x126d76||_0x785a3f;},'sWmBy':_0x45f474(0x22c),'zUiKG':_0x45f474(0x13e),'GQUOS':function(_0x33ccc4,_0x1a4db8){return _0x33ccc4>_0x1a4db8;},'YyMFD':_0x45f474(0x1b1),'MNoLt':function(_0x4fd309,_0x16ea2e){return _0x4fd309===_0x16ea2e;},'vmZOS':_0x45f474(0x191),'pAceN':function(_0x4ab632,_0x14fbb9){return _0x4ab632===_0x14fbb9;},'OBQnf':_0x45f474(0x2a4),'AEGrt':_0x45f474(0x20f),'ocobJ':function(_0x2ff5cf,_0x599968){return _0x2ff5cf===_0x599968;},'KLaJG':function(_0x597262,_0x36467b){return _0x597262!==_0x36467b;},'xfLDO':function(_0x4dc74a,_0x40a587,_0x53eb30,_0x2718c7){return _0x4dc74a(_0x40a587,_0x53eb30,_0x2718c7);},'IFWmU':function(_0x3c728b,_0x4d6fbc){return _0x3c728b>_0x4d6fbc;},'uJAUd':_0x45f474(0x1b8)},{testUUID:_0x730ef9,testData:_0x35a236,testId:_0x377b12}=_0x33618b;if(_0x5a5cfe[_0x45f474(0x254)](!_0x35a236,!_0x377b12))return logger['debug'](_0x5a5cfe['sWmBy']),{};const _0x4852da=this[_0x45f474(0x263)](TestFrameworkState[_0x45f474(0x234)],HookState['POST']),_0x2c55db=_0x4852da['getAllData']()[_0x45f474(0x1a4)](_0x377b12),_0x1903be=_0x5a5cfe[_0x45f474(0x254)](_0x2c55db,{}),_0x2b6a67=_0x1903be?_0x1903be[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{},_0x23f913=_0x1903be[TestFrameworkConstants[_0x45f474(0x2af)]];logger[_0x45f474(0x297)]('[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20'+(_0x23f913?Object['keys'](_0x23f913)[_0x45f474(0x201)]:0x0)+_0x45f474(0x21b));let _0x3e3174=_0x5a5cfe['zUiKG'];if(_0x35a236[_0x45f474(0x1f1)])_0x3e3174=_0x35a236[_0x45f474(0x1f1)];else{if(_0x35a236['errorsDetailed']&&_0x5a5cfe[_0x45f474(0x19b)](_0x35a236[_0x45f474(0x207)][_0x45f474(0x201)],0x0))_0x3e3174=_0x5a5cfe[_0x45f474(0x198)];else _0x5a5cfe['MNoLt'](_0x35a236[_0x45f474(0x133)],_0x5a5cfe[_0x45f474(0x1fa)])||_0x5a5cfe['pAceN'](_0x35a236['status'],_0x5a5cfe['OBQnf'])?_0x3e3174=_0x5a5cfe[_0x45f474(0x286)]:_0x3e3174=_0x5a5cfe['AEGrt'];}const _0x26a6fa={..._0x1903be,[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x3e3174,[TestFrameworkConstants[_0x45f474(0x140)]]:_0x35a236[_0x45f474(0x227)]||new Date()[_0x45f474(0x1d8)](),[TestFrameworkConstants[_0x45f474(0x2a8)]]:new Date()['toISOString'](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x2b6a67,[TestFrameworkConstants[_0x45f474(0x16c)]]:_0x1903be[TestFrameworkConstants[_0x45f474(0x16c)]]||[],[TestFrameworkConstants[_0x45f474(0x14d)]]:{}};if(_0x5a5cfe[_0x45f474(0x169)](_0x3e3174,_0x5a5cfe['YyMFD'])&&_0x35a236[_0x45f474(0x207)]){const _0x4563ac=this[_0x45f474(0x25c)](_0x35a236),_0x45bdf9=this[_0x45f474(0x1e3)](_0x35a236),_0x261f3c=this[_0x45f474(0x276)](_0x35a236);_0x26a6fa[TestFrameworkConstants[_0x45f474(0x1fc)]]=_0x45bdf9,_0x26a6fa[TestFrameworkConstants[_0x45f474(0x1a3)]]=_0x4563ac,_0x26a6fa[TestFrameworkConstants[_0x45f474(0x18c)]]=_0x261f3c;}_0x5a5cfe[_0x45f474(0x1da)](_0x35a236[_0x45f474(0x1e9)],undefined)&&(_0x26a6fa[TestFrameworkConstants[_0x45f474(0x298)]]=_0x35a236['duration']);_0x35a236[_0x45f474(0x295)]&&(_0x26a6fa[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x35a236[_0x45f474(0x295)]);const _0x5bffee=_0x2c55db?_0x2c55db[TestFrameworkConstants[_0x45f474(0x2af)]]||{}:{},_0xccc2a6=_0x2c55db?_0x2c55db[TestFrameworkConstants[_0x45f474(0x158)]]:_0x730ef9,_0x17fca4=_0x5a5cfe['xfLDO'](getManualUploadLogs,_0x5bffee,_0xccc2a6,_0x377b12);if(_0x5a5cfe['GQUOS'](_0x17fca4['length'],0x0)){const _0x3451c6=_0x26a6fa[TestFrameworkConstants['KEY_LOGS']]||[];_0x26a6fa[TestFrameworkConstants['KEY_LOGS']]=[..._0x3451c6,..._0x17fca4];}const _0x2d181b=_0x1903be[TestFrameworkConstants[_0x45f474(0x1eb)]]||{},_0x521b93=_0x1903be[TestFrameworkConstants['KEY_HOOKS_STARTED']]||{},_0x163a06={..._0x2d181b},_0x45de46=_0x163a06;Object[_0x45f474(0x155)](_0x521b93)['forEach'](_0x13f299=>{const _0x1bbd19=_0x45f474;!_0x45de46[_0x13f299]&&(_0x45de46[_0x13f299]=[]);const _0xe07907=new Set((_0x45de46[_0x13f299]||[])['map'](_0x4ab257=>_0x4ab257[TestFrameworkConstants[_0x1bbd19(0x1d9)]]||_0x4ab257['hook_id']));(_0x521b93[_0x13f299]||[])[_0x1bbd19(0x202)](_0x3a8e79=>{const _0x66e495=_0x1bbd19,_0x1d51e7=_0x3a8e79[TestFrameworkConstants[_0x66e495(0x1d9)]]||_0x3a8e79[_0x66e495(0x1a7)];if(!_0xe07907[_0x66e495(0x187)](_0x1d51e7)){const _0xaeb290={..._0x3a8e79},_0x466e39=_0xaeb290;!_0x466e39[TestFrameworkConstants[_0x66e495(0x24d)]]&&!_0x466e39[_0x66e495(0x183)]&&(_0x466e39[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=new Date()[_0x66e495(0x1d8)]()),!_0x466e39[TestFrameworkConstants[_0x66e495(0x136)]]&&!_0x466e39[_0x66e495(0x2a9)]&&(_0x466e39[TestFrameworkConstants[_0x66e495(0x136)]]=TestFrameworkConstants['DEFAULT_HOOK_RESULT']),_0x45de46[_0x13f299][_0x66e495(0x21e)](_0x466e39);}});});if(_0x33618b['originalTest']){this[_0x45f474(0x271)](_0x33618b[_0x45f474(0x1f7)]);const _0x16531a=this[_0x45f474(0x1af)](_0x33618b[_0x45f474(0x1f7)]),_0x519028=this[_0x45f474(0x193)](_0x33618b[_0x45f474(0x1f7)]);_0x519028[_0x45f474(0x202)](_0x23041b=>{const _0x502e1f=_0x45f474,_0x2ac2bd=_0x16531a[_0x502e1f(0x1a4)](_0x23041b);if(_0x2ac2bd&&(_0x5a5cfe['imhkF'](_0x2ac2bd[_0x502e1f(0x200)],_0x5a5cfe['HByOp'])||_0x5a5cfe[_0x502e1f(0x239)](_0x2ac2bd[_0x502e1f(0x200)],_0x5a5cfe['qJDEH']))){const _0x3a3ff2=_0x2ac2bd['type'][_0x502e1f(0x199)]()['replace'](_0x5a5cfe[_0x502e1f(0x17f)],_0x5a5cfe[_0x502e1f(0x285)]),_0x3b144c=_0x3a3ff2;!_0x45de46[_0x3b144c]&&(_0x45de46[_0x3b144c]=[]);const _0x552bad=_0x45de46[_0x3b144c][_0x502e1f(0x265)](_0x3c9980=>(_0x3c9980[TestFrameworkConstants[_0x502e1f(0x1d9)]]||_0x3c9980[_0x502e1f(0x1a7)])===_0x23041b);!_0x552bad&&_0x45de46[_0x3b144c]['push']({'key':_0x3b144c,[TestFrameworkConstants[_0x502e1f(0x1d9)]]:_0x23041b,[TestFrameworkConstants[_0x502e1f(0x136)]]:TestFrameworkConstants[_0x502e1f(0x1c6)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:new Date()[_0x502e1f(0x1d8)](),[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]:new Date()[_0x502e1f(0x1d8)](),[TestFrameworkConstants[_0x502e1f(0x2b8)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x2ac2bd[_0x502e1f(0x250)]||_0x2ac2bd[_0x502e1f(0x200)]+_0x502e1f(0x21a),[TestFrameworkConstants[_0x502e1f(0x281)]]:_0x2b6a67});}});}if(_0x35a236[_0x45f474(0x17a)]&&_0x5a5cfe['IFWmU'](_0x35a236['hooks'][_0x45f474(0x201)],0x0))_0x26a6fa[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x35a236['hooks'],logger[_0x45f474(0x297)](_0x5a5cfe[_0x45f474(0x243)]);else _0x5a5cfe[_0x45f474(0x1ee)](Object[_0x45f474(0x155)](_0x45de46)[_0x45f474(0x201)],0x0)&&(_0x26a6fa[TestFrameworkConstants[_0x45f474(0x1eb)]]=_0x45de46,logger[_0x45f474(0x297)]('[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes='+Object[_0x45f474(0x155)](_0x45de46)['join'](',')));const _0xbc6576=this[_0x45f474(0x1be)](_0x35a236);logger[_0x45f474(0x297)]('[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName='+_0xbc6576+_0x45f474(0x1e8)+_0x377b12+_0x45f474(0x257)+_0x3e3174+_0x45f474(0x1ef)+_0x35a236['duration']);_0x5a5cfe[_0x45f474(0x239)](_0x3e3174,_0x5a5cfe[_0x45f474(0x198)])&&logger[_0x45f474(0x297)]('[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId='+_0x377b12+_0x45f474(0x1ce)+_0x26a6fa[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]+',\x20failureReason='+_0x26a6fa[TestFrameworkConstants[_0x45f474(0x1a3)]]?.[_0x45f474(0x24a)](0x0,0xc8));const _0x1f6c10={};return _0x1f6c10[_0x377b12]=_0x26a6fa,_0x1f6c10;}['getJestTestScopes'](_0x1f3cb7){const _0x4df703=a75_0x41ec89,_0x505c2f={};_0x505c2f[_0x4df703(0x209)]=function(_0x9b5892,_0x244dd7){return _0x9b5892!==_0x244dd7;},_0x505c2f[_0x4df703(0x173)]=function(_0x57b129,_0xa858f0){return _0x57b129!==_0xa858f0;},_0x505c2f[_0x4df703(0x1e6)]='ROOT_DESCRIBE_BLOCK';const _0x1bdfe7=_0x505c2f,_0x6d8182={};_0x6d8182[_0x4df703(0x17e)]=0x2,_0x6d8182['maxArrayLength']=0x3,logger[_0x4df703(0x297)]('[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20'+util[_0x4df703(0x141)](_0x1f3cb7,_0x6d8182));const _0x3283cf=[];if(_0x1f3cb7&&_0x1f3cb7[_0x4df703(0x1cf)]){let _0x2bf856=_0x1f3cb7['parent'];while(_0x2bf856&&_0x2bf856[_0x4df703(0x250)]&&_0x1bdfe7[_0x4df703(0x209)](_0x2bf856[_0x4df703(0x250)],'')&&_0x1bdfe7[_0x4df703(0x173)](_0x2bf856['name'],_0x1bdfe7[_0x4df703(0x1e6)])){_0x3283cf[_0x4df703(0x21e)](_0x2bf856[_0x4df703(0x250)]),_0x2bf856=_0x2bf856[_0x4df703(0x1cf)];}}return _0x3283cf[_0x4df703(0x195)]();}['getJestTestName'](_0x47be88){const _0x1d95b4=a75_0x41ec89,_0xaa85ec={};_0xaa85ec['AOSSF']=_0x1d95b4(0x27f);const _0x4ae754=_0xaa85ec;if(_0x47be88[_0x1d95b4(0x250)])return _0x47be88['name'];if(_0x47be88['title'])return _0x47be88['title'];return _0x4ae754[_0x1d95b4(0x16f)];}[a75_0x41ec89(0x1b5)](_0x42eb04){const _0x5ce9be=a75_0x41ec89,_0x2e9cf5=[];if(_0x42eb04[_0x5ce9be(0x17d)]&&Array[_0x5ce9be(0x278)](_0x42eb04['tags']))return _0x42eb04[_0x5ce9be(0x17d)]['map'](_0x3f0c1f=>_0x3f0c1f[_0x5ce9be(0x1b6)]('@')?_0x3f0c1f[_0x5ce9be(0x1ea)](0x1):_0x3f0c1f);const _0xd20d2d=this[_0x5ce9be(0x1be)](_0x42eb04),_0x49b4f9=_0xd20d2d[_0x5ce9be(0x129)](/@(\w+)/g);if(_0x49b4f9)return _0x49b4f9[_0x5ce9be(0x1cb)](_0x5a4db7=>_0x5a4db7[_0x5ce9be(0x1aa)](0x1));return _0x42eb04[_0x5ce9be(0x20c)]&&Array[_0x5ce9be(0x278)](_0x42eb04[_0x5ce9be(0x20c)])&&_0x42eb04[_0x5ce9be(0x20c)][_0x5ce9be(0x202)](_0x246e72=>{const _0x450be6=_0x5ce9be,_0x2b9840=_0x246e72[_0x450be6(0x129)](/@(\w+)/g);_0x2b9840&&_0x2b9840[_0x450be6(0x202)](_0x2c06b8=>{const _0x28428c=_0x450be6,_0x3f1bec=_0x2c06b8[_0x28428c(0x1aa)](0x1);!_0x2e9cf5[_0x28428c(0x1f9)](_0x3f1bec)&&_0x2e9cf5[_0x28428c(0x21e)](_0x3f1bec);});}),_0x2e9cf5;}[a75_0x41ec89(0x139)](_0x205e01){const _0x422237=a75_0x41ec89,_0x1827cc={'QWmam':function(_0x106fd9,_0xd23e21){return _0x106fd9(_0xd23e21);},'capqc':'stack-trace'};if(_0x205e01[_0x422237(0x28a)])return _0x205e01['file_name'];if(_0x205e01[_0x422237(0x22d)]){const _0x493e72=_0x1827cc['QWmam'](require,_0x1827cc[_0x422237(0x1bd)]);try{const _0x364b97=_0x493e72[_0x422237(0x24e)](_0x205e01[_0x422237(0x22d)]);if(_0x364b97[0x0]&&_0x364b97[0x0]['getFileName'])return _0x364b97[0x0][_0x422237(0x1d0)]();}catch(_0x51be91){logger['debug']('Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20'+util['format'](_0x51be91));}}return null;}[a75_0x41ec89(0x25c)](_0x637273){const _0x68350b=a75_0x41ec89,_0x16c1de={};_0x16c1de[_0x68350b(0x277)]=function(_0x16aabb,_0x50d7a3){return _0x16aabb>_0x50d7a3;},_0x16c1de[_0x68350b(0x260)]=_0x68350b(0x14c);const _0x29fdba=_0x16c1de;if(_0x637273[_0x68350b(0x207)]&&_0x29fdba[_0x68350b(0x277)](_0x637273[_0x68350b(0x207)][_0x68350b(0x201)],0x0))return util['inspect'](_0x637273[_0x68350b(0x207)][0x0]);if(_0x637273[_0x68350b(0x208)])return _0x637273['failure_reason'];return _0x29fdba[_0x68350b(0x260)];}['getJestFailureType'](_0x59029){const _0x1976f9=a75_0x41ec89,_0x5ecad4={};_0x5ecad4[_0x1976f9(0x15f)]=_0x1976f9(0x214),_0x5ecad4[_0x1976f9(0x1ad)]='AssertionError',_0x5ecad4['gtlwa']=_0x1976f9(0x21f);const _0x4307fd=_0x5ecad4,_0x3ea65d=this[_0x1976f9(0x25c)](_0x59029);if(_0x3ea65d&&_0x3ea65d[_0x1976f9(0x1f9)](_0x4307fd[_0x1976f9(0x15f)]))return _0x4307fd['TjRoZ'];return _0x4307fd[_0x1976f9(0x287)];}[a75_0x41ec89(0x276)](_0x42e5c8){const _0x53ae0a=a75_0x41ec89,_0x3c492d={'AhFTA':function(_0x47dc5b,_0x43fc47){return _0x47dc5b(_0x43fc47);},'ZnwTQ':_0x53ae0a(0x1a2),'iVhsO':function(_0x78d4f2,_0x5dd466){return _0x78d4f2!==_0x5dd466;},'UiPwo':_0x53ae0a(0x1a0)},{failureData:_0x433506}=_0x3c492d[_0x53ae0a(0x157)](require,_0x3c492d['ZnwTQ']),_0xc6f497=[];return _0x3c492d[_0x53ae0a(0x1ab)](_0x42e5c8['errorsDetailed'],undefined)&&_0xc6f497['push'](_0x42e5c8[_0x53ae0a(0x207)],_0x3c492d[_0x53ae0a(0x218)]),_0x433506[_0x53ae0a(0x166)](null,_0xc6f497);}async[a75_0x41ec89(0x1e4)](_0x53da8e,_0x186bdc,_0x22bf73,_0x42b298){const _0x465164=a75_0x41ec89,_0x12a86c={'vwRav':_0x465164(0x14a),'CnNJg':function(_0x107c30){return _0x107c30();},'azjDF':function(_0x4b126f,_0x4c7283){return _0x4b126f in _0x4c7283;},'JJmnK':function(_0x2f5a12,_0x24d866){return _0x2f5a12===_0x24d866;},'dsJoS':function(_0x5359ce,_0x1853a9){return _0x5359ce>_0x1853a9;},'AXUqV':_0x465164(0x1b1),'KPYvg':'passed','OMWlt':function(_0x21b0ff,_0x22b55d){return _0x21b0ff===_0x22b55d;},'lqgmx':_0x465164(0x138),'pjAXK':function(_0x2940bd,_0x54a5d3){return _0x2940bd>_0x54a5d3;},'SZqIf':function(_0x3cbaa0,_0x242531){return _0x3cbaa0!==_0x242531;}},{hookData:_0x50621e}=_0x42b298,_0x530faf=_0x22bf73[_0x465164(0x1b2)](),_0x3d3ed1=_0x186bdc[_0x465164(0x1b2)](),_0x4123ac={};_0x4123ac['depth']=0x2,_0x4123ac[_0x465164(0x135)]=0x3,logger[_0x465164(0x297)](_0x465164(0x1e2)+_0x3d3ed1+_0x465164(0x270)+_0x530faf+',\x20hookData='+util[_0x465164(0x141)](_0x50621e,_0x4123ac));if(!_0x50621e)return logger[_0x465164(0x297)](_0x12a86c[_0x465164(0x12b)]),{};const _0x29fd0f=_0x50621e['uuid']||_0x50621e['hookAnalyticsId']||_0x12a86c[_0x465164(0x29e)](uuidv4),_0x979f61=_0x50621e[_0x465164(0x1ba)]||this['getJestTestIdentifier'](_0x50621e),_0x2bbd40=_0x186bdc[_0x465164(0x1b2)]()['split']('.')[0x1],_0x3eaebb=_0x53da8e[_0x465164(0x1df)]()['get'](_0x979f61),_0x142762=_0x3eaebb?_0x3eaebb[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{};logger['debug'](_0x465164(0x217)+_0x29fd0f+_0x465164(0x1e8)+_0x979f61+'\x20(testIdentifier),\x20hookType='+_0x2bbd40+_0x465164(0x270)+_0x530faf);if(!_0x3eaebb)return logger[_0x465164(0x297)](_0x465164(0x246)+_0x979f61+_0x465164(0x181)),this[_0x465164(0x1c2)](_0x53da8e,_0x979f61,_0x186bdc,_0x22bf73,_0x42b298),{};let _0x192df2=_0x3eaebb[TestFrameworkConstants[_0x465164(0x1b3)]];!_0x192df2&&(_0x192df2={});!_0x12a86c[_0x465164(0x26e)](_0x2bbd40,_0x192df2)&&(_0x192df2[_0x2bbd40]=[]);let _0x3a3c4a=_0x3eaebb[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x3a3c4a&&(_0x3a3c4a={});!_0x12a86c[_0x465164(0x26e)](_0x2bbd40,_0x3a3c4a)&&(_0x3a3c4a[_0x2bbd40]=[]);const _0x3848e7={[_0x979f61]:{[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x192df2,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x3a3c4a,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0x465164(0x15a)]()[0x0]||'',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x465164(0x23b)]()[this[_0x465164(0x15a)]()[0x0]]||''}};if(_0x12a86c[_0x465164(0x1d4)](_0x22bf73,HookState[_0x465164(0x2b0)])){const _0x59e5ff={'key':_0x2bbd40,[TestFrameworkConstants[_0x465164(0x1d9)]]:_0x29fd0f,[TestFrameworkConstants[_0x465164(0x136)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x465164(0x1e7)]]:_0x50621e[_0x465164(0x164)]||new Date()[_0x465164(0x1d8)](),[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x50621e[_0x465164(0x250)]||_0x50621e[_0x465164(0x231)]||_0x2bbd40,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x142762};_0x192df2[_0x2bbd40][_0x465164(0x21e)](_0x59e5ff),_0x3848e7[_0x979f61][TestFrameworkConstants[_0x465164(0x2a3)]]=_0x2bbd40;const _0x1dce35={};_0x1dce35[_0x465164(0x17e)]=0x2,logger[_0x465164(0x297)](_0x465164(0x2b2)+_0x2bbd40+_0x465164(0x2a6)+_0x29fd0f+_0x465164(0x1e8)+_0x979f61+_0x465164(0x1ae)+util['inspect'](_0x59e5ff,_0x1dce35));}else{if(_0x12a86c[_0x465164(0x1d4)](_0x22bf73,HookState['POST'])){const _0x301e11=_0x50621e[_0x465164(0x1f1)]||(_0x50621e[_0x465164(0x207)]&&_0x12a86c['dsJoS'](_0x50621e['errorsDetailed'][_0x465164(0x201)],0x0)?_0x12a86c[_0x465164(0x1c1)]:_0x12a86c[_0x465164(0x212)]),_0x24eb46=_0x192df2[_0x2bbd40]||[];logger[_0x465164(0x297)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType='+_0x2bbd40+',\x20testId='+_0x979f61+_0x465164(0x233)+_0x301e11+_0x465164(0x28c)+_0x24eb46[_0x465164(0x201)]);if(_0x12a86c[_0x465164(0x1d4)](_0x24eb46[_0x465164(0x201)],0x0)&&_0x12a86c['OMWlt'](_0x186bdc,TestFrameworkState['BEFORE_ALL']))return logger[_0x465164(0x297)](_0x12a86c[_0x465164(0x1a6)]),this[_0x465164(0x1c2)](_0x53da8e,_0x979f61,_0x186bdc,_0x22bf73,_0x42b298),{};if(_0x12a86c['pjAXK'](_0x24eb46[_0x465164(0x201)],0x0)){const _0x1c0efa=_0x24eb46[_0x465164(0x226)]();_0x12a86c[_0x465164(0x197)](_0x301e11,_0x12a86c['AXUqV'])&&_0x50621e[_0x465164(0x207)]?(_0x1c0efa[TestFrameworkConstants[_0x465164(0x128)]]=this['getJestFailureType'](_0x50621e),_0x1c0efa[TestFrameworkConstants[_0x465164(0x27d)]]=this[_0x465164(0x25c)](_0x50621e),_0x1c0efa[TestFrameworkConstants[_0x465164(0x24f)]]=this[_0x465164(0x276)](_0x50621e),logger[_0x465164(0x297)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType='+_0x2bbd40+',\x20failureType='+_0x1c0efa[TestFrameworkConstants[_0x465164(0x128)]]+_0x465164(0x236)+_0x1c0efa[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]?.[_0x465164(0x24a)](0x0,0xc8))):_0x1c0efa[TestFrameworkConstants[_0x465164(0x136)]]=_0x12a86c[_0x465164(0x212)];_0x12a86c[_0x465164(0x293)](_0x301e11,TestFrameworkConstants[_0x465164(0x1c6)])&&(_0x1c0efa[TestFrameworkConstants[_0x465164(0x136)]]=_0x301e11);_0x1c0efa[TestFrameworkConstants[_0x465164(0x24d)]]=_0x50621e[_0x465164(0x227)]||new Date()[_0x465164(0x1d8)](),_0x1c0efa[TestFrameworkConstants[_0x465164(0x281)]]=_0x142762;const _0x4e3e8c=_0x1c0efa[TestFrameworkConstants['KEY_HOOK_ID']];!_0x3a3c4a[_0x2bbd40]&&(_0x3a3c4a[_0x2bbd40]=[]);_0x3a3c4a[_0x2bbd40][_0x465164(0x21e)](_0x1c0efa),_0x3848e7[_0x979f61][TestFrameworkConstants[_0x465164(0x16b)]]=_0x2bbd40;const _0x1438a0={};_0x1438a0[_0x465164(0x17e)]=0x2,logger[_0x465164(0x297)](_0x465164(0x154)+_0x2bbd40+_0x465164(0x2a6)+_0x4e3e8c+_0x465164(0x233)+_0x301e11+',\x20hook='+util[_0x465164(0x141)](_0x1c0efa,_0x1438a0));}}}return _0x3848e7;}['createTestFrameworkEventPayload'](_0x5c3218){const _0x4805b0=a75_0x41ec89,_0x3da521={};_0x3da521[_0x4805b0(0x245)]=_0x4805b0(0x1d1);const _0x573f55=_0x3da521;try{const _0x57b935=_0x5c3218['test']?this[_0x4805b0(0x273)](_0x5c3218['test']):_0x5c3218['hookData'][_0x4805b0(0x1ba)],_0x17f6f4=_0x5c3218[_0x4805b0(0x232)],_0x770110=_0x17f6f4[_0x4805b0(0x149)](),_0x37d8a7=_0x17f6f4[_0x4805b0(0x1df)]()[_0x4805b0(0x1a4)](_0x57b935);if(!_0x37d8a7)return logger[_0x4805b0(0x297)](_0x4805b0(0x13c)+_0x57b935),{};const {[TestFrameworkConstants[_0x4805b0(0x190)]]:_0x2247c7=this[_0x4805b0(0x15a)]()[0x0]||'',[TestFrameworkConstants[_0x4805b0(0x13f)]]:_0x2571a5=this['getTestFrameworksVersions']()[this[_0x4805b0(0x15a)]()[0x0]]||'',[TestFrameworkConstants[_0x4805b0(0x258)]]:_0x209064='',[TestFrameworkConstants[_0x4805b0(0x140)]]:_0x238525=''}=_0x37d8a7,_0x84d076=_0x17f6f4[_0x4805b0(0x230)]()[_0x4805b0(0x1b2)]()['split']('.')[0x1],_0x1207c8=_0x17f6f4['getCurrentHookState']()['toString']()[_0x4805b0(0x165)]('.')[0x1],_0x31d3d8=global?.[_0x4805b0(0x23e)]?.[_0x4805b0(0x168)]?.[_0x4805b0(0x211)]||global[_0x4805b0(0x192)]||0x0,_0x3449ba=_0x17f6f4['getRef'](),_0x22d415=Buffer[_0x4805b0(0x23a)](JSON[_0x4805b0(0x27c)](_0x37d8a7))[_0x4805b0(0x1b2)](_0x573f55[_0x4805b0(0x245)]),_0x2fef44={'hash':_0x770110['getId'](),'threadId':_0x770110[_0x4805b0(0x2b5)]()['toString'](),'processId':_0x770110['getProcessId']()[_0x4805b0(0x1b2)]()},_0x23599f={};_0x23599f[_0x4805b0(0x237)]=_0x31d3d8,_0x23599f[_0x4805b0(0x259)]=_0x2247c7,_0x23599f[_0x4805b0(0x189)]=_0x2571a5,_0x23599f['testFrameworkState']=_0x84d076,_0x23599f['hookState']=_0x1207c8,_0x23599f[_0x4805b0(0x146)]=_0x209064,_0x23599f['endedAt']=_0x238525,_0x23599f[_0x4805b0(0x1c7)]=_0x3449ba,_0x23599f['eventJson']=_0x22d415,_0x23599f['executionContext']=_0x2fef44,_0x23599f['test_identifier']=_0x57b935;const _0x375108=_0x23599f;return _0x375108;}catch(_0x499444){return logger[_0x4805b0(0x29f)](_0x4805b0(0x26a)+util['format'](_0x499444)),{};}}async[a75_0x41ec89(0x1b9)](_0x58ae09,_0x3091e9,_0x14a03f){const _0x5ba113=a75_0x41ec89,_0x4261ca={'fpxOW':function(_0x11bb20,_0x23e2f9){return _0x11bb20+_0x23e2f9;},'DeGId':_0x5ba113(0x29b),'azbXm':_0x5ba113(0x14e),'QqqyG':function(_0x1841ef,_0x5981ae){return _0x1841ef>_0x5981ae;},'SMJzR':function(_0x2953af,_0x160ff1,_0x4fec40,_0x4ef411){return _0x2953af(_0x160ff1,_0x4fec40,_0x4ef411);},'qMXsQ':function(_0x58d776,_0x28341a){return _0x58d776-_0x28341a;},'RBpvk':function(_0x2363d2,_0x1952f6){return _0x2363d2===_0x1952f6;},'YYMsl':function(_0x164b1e,_0x5b7e74){return _0x164b1e/_0x5b7e74;},'IeDhS':function(_0x49ca5c,_0x27a7a1){return _0x49ca5c<_0x27a7a1;},'PrLwi':function(_0x87d8a2,_0x50bb10){return _0x87d8a2*_0x50bb10;},'ZwsaT':function(_0x12e525,_0x37d6b2){return _0x12e525+_0x37d6b2;},'EjQZo':function(_0x237f54,_0x38aec0){return _0x237f54+_0x38aec0;},'TADsp':function(_0x574346,_0x1ea546){return _0x574346>_0x1ea546;}};try{const _0x14bb80=_0x14a03f[_0x5ba113(0x266)]||_0x14a03f['testId'],_0x746a93=Array[_0x5ba113(0x23a)](_0x58ae09['getAllData']()[_0x5ba113(0x155)]()),_0x289490=_0x58ae09[_0x5ba113(0x1df)]()[_0x5ba113(0x1a4)](_0x14bb80);if(!_0x289490){logger['debug'](_0x5ba113(0x1f6)+_0x14bb80);return;}const {[TestFrameworkConstants[_0x5ba113(0x190)]]:_0x4e058d='',[TestFrameworkConstants[_0x5ba113(0x13f)]]:_0x3654fc=''}=_0x289490;let _0x439158=[];_0x289490&&_0x289490[TestFrameworkConstants[_0x5ba113(0x16c)]]&&Array[_0x5ba113(0x278)](_0x289490[TestFrameworkConstants[_0x5ba113(0x16c)]])?(_0x439158=_0x289490[TestFrameworkConstants[_0x5ba113(0x16c)]]||[],logger[_0x5ba113(0x297)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20'+_0x439158['length']+_0x5ba113(0x1bb)+_0x14bb80),_0x58ae09[_0x5ba113(0x1ff)]({[_0x14bb80]:{[TestFrameworkConstants[_0x5ba113(0x16c)]]:[],[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0x5ba113(0x15a)]()[0x0]||'',[TestFrameworkConstants[_0x5ba113(0x13f)]]:this[_0x5ba113(0x23b)]()[this[_0x5ba113(0x15a)]()[0x0]]||''}}),logger[_0x5ba113(0x297)](_0x5ba113(0x27b)+_0x14bb80)):logger[_0x5ba113(0x297)](_0x5ba113(0x13b)+_0x14bb80);logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20'+_0x439158[_0x5ba113(0x201)]+_0x5ba113(0x14f)+_0x14bb80);const _0x4eff40=_0x439158[_0x5ba113(0x1fb)](_0x9c1707=>_0x9c1707[_0x5ba113(0x267)]===_0x5ba113(0x151));_0x4261ca[_0x5ba113(0x252)](_0x4eff40[_0x5ba113(0x201)],0x0)&&(logger[_0x5ba113(0x297)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20'+_0x4eff40[_0x5ba113(0x201)]+'\x20screenshot\x20logs\x20for\x20testId:\x20'+_0x14bb80),_0x4eff40[_0x5ba113(0x202)]((_0x16569a,_0x4e54d4)=>{const _0x1f3fe8=_0x5ba113;logger[_0x1f3fe8(0x297)](_0x1f3fe8(0x171)+_0x4261ca[_0x1f3fe8(0x262)](_0x4e54d4,0x1)+'/'+_0x4eff40[_0x1f3fe8(0x201)]+_0x1f3fe8(0x2b4)+(_0x16569a[_0x1f3fe8(0x2ac)]||_0x4261ca[_0x1f3fe8(0x284)])+',\x20test_run_uuid='+(_0x16569a[_0x1f3fe8(0x132)]||_0x4261ca[_0x1f3fe8(0x284)])+_0x1f3fe8(0x2b3)+(_0x16569a[_0x1f3fe8(0x282)]||_0x4261ca[_0x1f3fe8(0x28b)])+_0x1f3fe8(0x203)+(_0x16569a[_0x1f3fe8(0x283)]?.['length']||0x0));}));const _0x729057=_0x289490[TestFrameworkConstants[_0x5ba113(0x2af)]]||{},_0x1f4d5c=_0x4261ca[_0x5ba113(0x12d)](getMediaArtifactsLogs,_0x729057,null,_0x14bb80),_0x27bccb=(_0x439158||[])[_0x5ba113(0x25d)](_0x1f4d5c||[]),_0x4ea691=_0x4eff40?.[_0x5ba113(0x201)]||0x0,_0x416afb=_0x4261ca[_0x5ba113(0x251)](_0x439158?.[_0x5ba113(0x201)]||0x0,_0x4ea691);logger[_0x5ba113(0x297)](_0x5ba113(0x1c5)+_0x14bb80+_0x5ba113(0x12e)+_0x416afb+_0x5ba113(0x215)+_0x4ea691+_0x5ba113(0x1a1)+(_0x1f4d5c?.['length']||0x0)+_0x5ba113(0x13d)+_0x27bccb[_0x5ba113(0x201)]);if(!_0x27bccb||_0x4261ca[_0x5ba113(0x269)](_0x27bccb[_0x5ba113(0x201)],0x0)){logger['debug'](_0x5ba113(0x249)+_0x14bb80);return;}const _0x534bf5=0x28,_0x48cd8e=Math[_0x5ba113(0x144)](_0x4261ca[_0x5ba113(0x25e)](_0x27bccb['length'],_0x534bf5));for(let _0x4f835d=0x0;_0x4261ca[_0x5ba113(0x291)](_0x4f835d,_0x48cd8e);_0x4f835d++){const _0x44ffcd=_0x4261ca[_0x5ba113(0x289)](_0x4f835d,_0x534bf5),_0x3ae1b3=_0x4261ca[_0x5ba113(0x262)](_0x44ffcd,_0x534bf5),_0x202937=_0x27bccb['slice'](_0x44ffcd,_0x3ae1b3),_0x20def3=global?.[_0x5ba113(0x179)]??0x0,_0x4d5c39={'platformIndex':_0x20def3,'logs':_0x202937,'testFrameworkName':_0x4e058d,'testFrameworkVersion':_0x3654fc,'testFrameworkState':_0x3091e9[_0x5ba113(0x1b2)]()['split']('.')[0x1]},_0x30f979={};_0x30f979[_0x5ba113(0x17e)]=0x3,_0x30f979[_0x5ba113(0x135)]=0x5,logger[_0x5ba113(0x297)](_0x5ba113(0x244)+_0x4261ca[_0x5ba113(0x240)](_0x4f835d,0x1)+'/'+_0x48cd8e+_0x5ba113(0x21d)+_0x14bb80+_0x5ba113(0x26c)+_0x202937['length']+_0x5ba113(0x15c)+_0x20def3+_0x5ba113(0x159)+util[_0x5ba113(0x141)](_0x4d5c39,_0x30f979));const _0x4d1554=await GrpcClient[_0x5ba113(0x242)]()[_0x5ba113(0x1a8)](_0x4d5c39);logger[_0x5ba113(0x297)](_0x5ba113(0x244)+_0x4261ca['EjQZo'](_0x4f835d,0x1)+'/'+_0x48cd8e+'\x20-\x20testId:\x20'+_0x14bb80+',\x20response='+util[_0x5ba113(0x141)](_0x4d1554));}_0x1f4d5c&&_0x4261ca['TADsp'](_0x1f4d5c['length'],0x0)&&_0x289490[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]&&_0x58ae09['addMultipleEntries']({[_0x14bb80]:{[TestFrameworkConstants[_0x5ba113(0x2af)]]:{},[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0x5ba113(0x15a)]()[0x0]||'',[TestFrameworkConstants[_0x5ba113(0x13f)]]:this[_0x5ba113(0x23b)]()[this[_0x5ba113(0x15a)]()[0x0]]||''}}),logger[_0x5ba113(0x297)](_0x5ba113(0x18b)+_0x14bb80+_0x5ba113(0x134)+_0x48cd8e);}catch(_0x3cf656){logger[_0x5ba113(0x29f)](_0x5ba113(0x147)+(_0x14a03f['testUUID']||_0x14a03f[_0x5ba113(0x1f4)])+_0x5ba113(0x22f)+util[_0x5ba113(0x161)](_0x3cf656));}}['storePendingHook'](_0x168ae7,_0x339205,_0x5d4330,_0x33ca05,_0x4a31a5){const _0x789089=a75_0x41ec89,_0x355c19={};_0x355c19['VpRkK']=function(_0x2d290d,_0x4baa29){return _0x2d290d===_0x4baa29;},_0x355c19[_0x789089(0x15e)]=_0x789089(0x180);const _0x4aa113=_0x355c19,{hookData:_0x1d6c40}=_0x4a31a5,_0x5818eb={'testId':_0x339205,'testFrameworkState':_0x5d4330,'hookState':_0x33ca05,'args':_0x4a31a5,'timestamp':new Date()[_0x789089(0x1d8)]()};if(_0x4aa113['VpRkK'](_0x5d4330,TestFrameworkState[_0x789089(0x222)])&&_0x1d6c40){const _0x5b1227={};_0x5b1227[_0x789089(0x26d)]=_0x1d6c40[_0x789089(0x28a)]||_0x1d6c40[_0x789089(0x1ec)],_0x5b1227[_0x789089(0x235)]=_0x1d6c40['scope']||_0x1d6c40[_0x789089(0x20c)]&&_0x1d6c40[_0x789089(0x20c)][0x0]||'',_0x5b1227['hookType']=_0x4aa113[_0x789089(0x15e)],_0x5818eb['hookMetadata']=_0x5b1227,logger[_0x789089(0x297)](_0x789089(0x131)+_0x339205+_0x789089(0x223)+_0x5818eb[_0x789089(0x27a)][_0x789089(0x26d)]+_0x789089(0x172)+_0x5818eb[_0x789089(0x27a)][_0x789089(0x235)]);}_0x168ae7[_0x789089(0x2ad)](_0x339205,_0x5818eb),logger[_0x789089(0x297)](_0x789089(0x167)+_0x339205+_0x789089(0x1f8)+_0x5d4330+_0x789089(0x2a1)+_0x33ca05);}async[a75_0x41ec89(0x16a)](_0x13f1e9,_0x53c07d){const _0x2c5777=a75_0x41ec89,_0x527554={};_0x527554['Dwqmf']=function(_0x18fd0c,_0x41380b){return _0x18fd0c>_0x41380b;},_0x527554[_0x2c5777(0x152)]=function(_0xde5f91,_0x4e9100){return _0xde5f91===_0x4e9100;},_0x527554['yAlJJ']=function(_0x333df9,_0x59057b){return _0x333df9===_0x59057b;},_0x527554[_0x2c5777(0x1ed)]=function(_0x4a19cf,_0x1b1d33){return _0x4a19cf===_0x1b1d33;},_0x527554['HklaM']='[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook';const _0x5a29a5=_0x527554;if(_0x13f1e9[_0x2c5777(0x1e5)](_0x53c07d)){const _0x1d151d=_0x13f1e9['getPendingHooks'](_0x53c07d);logger[_0x2c5777(0x297)](_0x2c5777(0x14b)+_0x1d151d[_0x2c5777(0x201)]+'\x20pending\x20hooks\x20for\x20testId:\x20'+_0x53c07d);for(const _0x1e7ec2 of _0x1d151d){try{const _0x5380bc=await this[_0x2c5777(0x1e4)](_0x13f1e9,_0x1e7ec2[_0x2c5777(0x1b4)],_0x1e7ec2[_0x2c5777(0x280)],_0x1e7ec2[_0x2c5777(0x2b7)]);_0x5380bc&&_0x5a29a5[_0x2c5777(0x261)](Object[_0x2c5777(0x155)](_0x5380bc)[_0x2c5777(0x201)],0x0)&&_0x13f1e9[_0x2c5777(0x1ff)](_0x5380bc),await this['runHooks'](_0x13f1e9,_0x1e7ec2[_0x2c5777(0x1b4)],_0x1e7ec2[_0x2c5777(0x280)],_0x1e7ec2[_0x2c5777(0x2b7)]);}catch(_0x18a434){logger[_0x2c5777(0x29f)](_0x2c5777(0x28f)+_0x53c07d+',\x20error:\x20'+_0x18a434);}}_0x13f1e9[_0x2c5777(0x1db)](_0x53c07d),logger[_0x2c5777(0x297)](_0x2c5777(0x292)+_0x53c07d);}const _0xc8b4cc=_0x13f1e9[_0x2c5777(0x1df)]()[_0x2c5777(0x1a4)](_0x53c07d);if(_0xc8b4cc){const _0x232ac2=_0xc8b4cc[TestFrameworkConstants[_0x2c5777(0x1c3)]]||_0xc8b4cc[TestFrameworkConstants[_0x2c5777(0x1ac)]],_0x525d74=_0xc8b4cc[TestFrameworkConstants[_0x2c5777(0x2aa)]]||_0xc8b4cc[TestFrameworkConstants[_0x2c5777(0x1ca)]]&&_0xc8b4cc[TestFrameworkConstants[_0x2c5777(0x1ca)]][0x0]||'';logger['debug'](_0x2c5777(0x18f)+_0x232ac2+_0x2c5777(0x172)+_0x525d74);const _0x214ed9=_0x13f1e9[_0x2c5777(0x148)]();for(const _0x1918ef of _0x214ed9){if(_0x5a29a5[_0x2c5777(0x152)](_0x1918ef,_0x53c07d))continue;if(_0x13f1e9[_0x2c5777(0x1e5)](_0x1918ef)){const _0xcf7905=_0x13f1e9[_0x2c5777(0x22a)](_0x1918ef);for(const _0xd661e5 of _0xcf7905){if(_0x5a29a5[_0x2c5777(0x152)](_0xd661e5[_0x2c5777(0x1b4)],TestFrameworkState[_0x2c5777(0x222)])&&_0xd661e5[_0x2c5777(0x27a)]){const _0x1b14af=_0xd661e5[_0x2c5777(0x27a)][_0x2c5777(0x26d)],_0x27a788=_0xd661e5['hookMetadata'][_0x2c5777(0x235)];if(_0x5a29a5[_0x2c5777(0x152)](_0x1b14af,_0x232ac2)&&_0x5a29a5[_0x2c5777(0x19f)](_0x27a788,_0x525d74)){logger[_0x2c5777(0x297)]('[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20'+_0x1918ef+',\x20currentTestId:\x20'+_0x53c07d+_0x2c5777(0x223)+_0x1b14af+_0x2c5777(0x172)+_0x27a788);_0xd661e5[_0x2c5777(0x2b7)]&&_0xd661e5[_0x2c5777(0x2b7)][_0x2c5777(0x275)]&&(_0xd661e5[_0x2c5777(0x2b7)]['hookData'][_0x2c5777(0x1ba)]=_0x53c07d,logger[_0x2c5777(0x297)](_0x2c5777(0x142)+_0x1918ef+_0x2c5777(0x26b)+_0x53c07d));try{const _0x5a2249=await this[_0x2c5777(0x1e4)](_0x13f1e9,_0xd661e5['testFrameworkState'],_0xd661e5[_0x2c5777(0x280)],_0xd661e5['args']);_0x5a2249&&_0x5a29a5[_0x2c5777(0x261)](Object['keys'](_0x5a2249)[_0x2c5777(0x201)],0x0)&&_0x13f1e9[_0x2c5777(0x1ff)](_0x5a2249);await this[_0x2c5777(0x2b9)](_0x13f1e9,_0xd661e5[_0x2c5777(0x1b4)],_0xd661e5[_0x2c5777(0x280)],_0xd661e5[_0x2c5777(0x2b7)]);const _0x5339b2=_0x13f1e9['getPendingHooks'](_0x1918ef)[_0x2c5777(0x1fb)](_0x40996b=>_0x40996b!==_0xd661e5);if(_0x5a29a5['XrOHw'](_0x5339b2[_0x2c5777(0x201)],0x0))_0x13f1e9[_0x2c5777(0x1db)](_0x1918ef);else{_0x13f1e9['removePendingHooks'](_0x1918ef);for(const _0x30873e of _0x5339b2){_0x13f1e9[_0x2c5777(0x2ad)](_0x1918ef,_0x30873e);}}logger[_0x2c5777(0x297)](_0x5a29a5['HklaM']);}catch(_0x1ca1c3){logger['error'](_0x2c5777(0x1a5)+_0x53c07d+',\x20error:\x20'+_0x1ca1c3);}}}}}}}}[a75_0x41ec89(0x271)](_0x671b9a){const _0x18a447=a75_0x41ec89,_0x1be3cc={'Tqxvz':function(_0xccf02e){return _0xccf02e();}};if(!_0x671b9a||!_0x671b9a[_0x18a447(0x1cf)])return;_0x671b9a[_0x18a447(0x1cf)]['hooks']&&Array[_0x18a447(0x278)](_0x671b9a[_0x18a447(0x1cf)][_0x18a447(0x17a)])&&_0x671b9a[_0x18a447(0x1cf)][_0x18a447(0x17a)][_0x18a447(0x202)](_0x374652=>{const _0x5ab401=_0x18a447;!_0x374652['hookAnalyticsId']&&!_0x374652[_0x5ab401(0x1f3)]&&(_0x374652['hookAnalyticsId']=_0x1be3cc[_0x5ab401(0x18e)](uuidv4),_0x374652[_0x5ab401(0x1f3)]=_0x374652[_0x5ab401(0x145)],logger[_0x5ab401(0x297)](_0x5ab401(0x175)+_0x374652[_0x5ab401(0x200)]+',\x20hookUUID='+_0x374652['hookAnalyticsId']));}),this[_0x18a447(0x271)](_0x671b9a[_0x18a447(0x1cf)]);}[a75_0x41ec89(0x193)](_0x334a6a){const _0x12b9a5=a75_0x41ec89,_0x39cd99={'TXgXE':function(_0x3c24bf,_0x147f6c){return _0x3c24bf(_0x147f6c);}};if(!_0x334a6a||!_0x334a6a[_0x12b9a5(0x1cf)])return[];const _0xffa8aa=[];return _0x334a6a[_0x12b9a5(0x1cf)][_0x12b9a5(0x17a)]&&Array['isArray'](_0x334a6a[_0x12b9a5(0x1cf)][_0x12b9a5(0x17a)])&&_0x334a6a[_0x12b9a5(0x1cf)]['hooks'][_0x12b9a5(0x202)](_0x32c6c6=>{const _0x43913b=_0x12b9a5,_0x5ca9bc=_0x32c6c6['hookAnalyticsId']||_0x32c6c6[_0x43913b(0x1f3)];_0x5ca9bc&&!this[_0x43913b(0x2ab)](_0x32c6c6)&&!_0x39cd99['TXgXE'](isInternalHook,_0x32c6c6['fn'])&&_0xffa8aa['push'](_0x5ca9bc);}),[..._0xffa8aa,...this[_0x12b9a5(0x193)](_0x334a6a[_0x12b9a5(0x1cf)])];}[a75_0x41ec89(0x1af)](_0xf22bb8){const _0x1025f6=a75_0x41ec89,_0x318114={'OJCnF':function(_0x104580,_0x322f38){return _0x104580(_0x322f38);},'CZrJX':_0x1025f6(0x13e),'bvMJE':function(_0x5a455a,_0x322651){return _0x5a455a(_0x322651);},'kWwKw':function(_0x1752fa,_0x3f984c){return _0x1752fa(_0x3f984c);}},_0x4f4a17=new Map(),_0x1037ed=_0x57c3db=>{const _0x34daa8=_0x1025f6;if(!_0x57c3db||!_0x57c3db[_0x34daa8(0x1cf)])return;_0x57c3db[_0x34daa8(0x1cf)][_0x34daa8(0x17a)]&&Array[_0x34daa8(0x278)](_0x57c3db[_0x34daa8(0x1cf)][_0x34daa8(0x17a)])&&_0x57c3db[_0x34daa8(0x1cf)][_0x34daa8(0x17a)][_0x34daa8(0x202)](_0x1fc215=>{const _0x13b6e2=_0x34daa8,_0x52835f=_0x1fc215['hookAnalyticsId']||_0x1fc215[_0x13b6e2(0x1f3)];if(_0x52835f&&!this[_0x13b6e2(0x2ab)](_0x1fc215)&&!_0x318114[_0x13b6e2(0x16e)](isInternalHook,_0x1fc215['fn'])){const _0x2b2c6d={};_0x2b2c6d[_0x13b6e2(0x200)]=_0x1fc215[_0x13b6e2(0x200)]||_0x318114[_0x13b6e2(0x29c)],_0x2b2c6d[_0x13b6e2(0x250)]=_0x1fc215[_0x13b6e2(0x250)]||'\x22'+_0x1fc215[_0x13b6e2(0x200)]+_0x13b6e2(0x1b0),_0x4f4a17[_0x13b6e2(0x24b)](_0x52835f,_0x2b2c6d);}}),_0x318114[_0x34daa8(0x1bc)](_0x1037ed,_0x57c3db[_0x34daa8(0x1cf)]);};return _0x318114[_0x1025f6(0x290)](_0x1037ed,_0xf22bb8),_0x4f4a17;}['isJestInternalHook'](_0x3d1f5e){const _0x56ce65=a75_0x41ec89,_0x586f73={};_0x586f73[_0x56ce65(0x19c)]=_0x56ce65(0x20b),_0x586f73[_0x56ce65(0x1c8)]=_0x56ce65(0x156);const _0x271a52=_0x586f73;try{const _0x494785=this[_0x56ce65(0x16d)](_0x3d1f5e);return _0x494785&&_0x494785[_0x56ce65(0x1f9)](_0x271a52['OjdCY']);}catch(_0x3c17d1){logger[_0x56ce65(0x297)](_0x271a52[_0x56ce65(0x1c8)]);}return![];}['getRootParentFile'](_0x10f5be){const _0x321f34=a75_0x41ec89;if(_0x10f5be['asyncError'])try{const _0x1c35b7=stackTrace[_0x321f34(0x24e)](_0x10f5be[_0x321f34(0x22d)]);return _0x1c35b7[0x0]?_0x1c35b7[0x0]['getFileName']():null;}catch(_0x3a9fd){logger['debug'](_0x321f34(0x1cc)+util[_0x321f34(0x161)](_0x3a9fd));}if(_0x10f5be[_0x321f34(0x1b7)])return _0x10f5be[_0x321f34(0x1b7)];return null;}}module[a75_0x41ec89(0x1cd)]=JestTestFramework;function a75_0x43c3(){const _0x190c7f=[',\x20hookState:\x20','KEY_TEST_ID','KEY_HOOK_LAST_STARTED','skipped','getCurrentInstanceName',',\x20hookId=',',\x20state=','KEY_TEST_RESULT_AT','hook_result','KEY_TEST_SCOPE','isJestInternalHook','test_identifier','addPendingHook','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','KEY_TEST_ATTACHMENTS','PRE','\x20(testIdentifier),\x20tags=','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=',',\x20hook_run_uuid=','\x20-\x20test_identifier=','getThreadId','POST','args','KEY_HOOK_LOGS','runHooks','parseJestTest','KEY_HOOK_FAILURE_TYPE','match','body','vwRav','cENkF','SMJzR',',\x20consoleLogs:\x20','../instances/trackedInstance.js','865ZgUCoq','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','test_run_uuid','status',',\x20totalBatches:\x20','maxArrayLength','KEY_HOOK_RESULT','../TestInfo.js','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20BEFORE_ALL\x20with\x20no\x20matching\x20PRE,\x20storing\x20as\x20pending','getJestTestFilePath',',\x20argsKeys=','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20',',\x20totalLogs:\x20','unknown','KEY_TEST_FRAMEWORK_VERSION','KEY_TEST_ENDED_AT','inspect','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','getId','ceil','hookAnalyticsId','startedAt','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','getAllPendingHookTestIds','getContext','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','Processing\x20','Unknown\x20error','KEY_TEST_META','none','\x20for\x20testId:\x20','parseJestTestResult','TEST_SCREENSHOT','QYZgj','tbAUN','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','keys','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','AhFTA','KEY_TEST_UUID',',\x20payload:\x20','getTestFrameworks','../../../helpers/classLogger.js',',\x20platformIndex:\x20','createContext','yeCnY','nfoew','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','format','testData',',\x20testData=','started_at','split','apply','Stored\x20pending\x20hook\x20for\x20testId:\x20','workerInfo','ocobJ','processPendingHooks','KEY_HOOK_LAST_FINISHED','KEY_LOGS','getRootParentFile','OJCnF','AOSSF',',\x20scopes=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20',',\x20scope:\x20','IYIhz','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','fBbdV','join','browserstackPlatformIndex','hooks',':testAnalyticsId','4997691UCOaey','tags','depth','UejNh','beforeAll',',\x20storing\x20as\x20pending\x20hook','./testFramework','event_ended_at','18948TOyaeb','\x22\x20from\x20testData','8gXfKnV','has','pid','testFrameworkVersion','stack-trace','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','KEY_TEST_FAILURE',',\x20testFramework=','Tqxvz','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20','KEY_TEST_FRAMEWORK_NAME','skip','__bstackPlatformIndex','getHooksForTest','9LCGpAU','reverse',',\x20hookData=','OMWlt','YyMFD','toUpperCase','5544760jEeRIi','GQUOS','OjdCY','KEY_TEST_NAME','./constants/testFrameworkConstants.js','yAlJJ','test',',\x20attachmentLogs:\x20','../../../helpers/test-observability/utils','KEY_TEST_FAILURE_REASON','get','[JestTestFramework]\x20processPendingHooks:\x20Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20','lqgmx','hook_id','logCreatedEvent','KEY_TEST_RESULT','slice','iVhsO','KEY_TEST_LOCATION','TjRoZ',',\x20hook=','buildHookMapFromTest','\x22\x20hook','failed','toString','KEY_HOOKS_STARTED','testFrameworkState','getJestTestTags','startsWith','file','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','sendLogCreatedEvent','test_run_id','\x20logs\x20for\x20testId:\x20','bvMJE','capqc','getJestTestName','piBgO','trackJestInstance','AXUqV','storePendingHook','KEY_TEST_FILE_PATH','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','DEFAULT_HOOK_RESULT','uuid','gILvn','BqsMK','KEY_TEST_SCOPES','map','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','exports',',\x20failureType=','parent','getFileName','base64','delete','../cliUtils.js','JJmnK','findIndex','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND','toISOString','KEY_HOOK_ID','KLaJG','removePendingHooks',',\x20totalHooks=','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','getAllData','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','getJestFailureType','trackHookEvent','hasPendingHooks','QzKNI','KEY_EVENT_STARTED_AT',',\x20testId=','duration','substr','KEY_HOOKS_FINISHED','location','XrOHw','IFWmU',',\x20duration=','KEY_TEST_CODE','result',',\x20hookUUID=','hookUUID','testId','splice','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','originalTest',',\x20state:\x20','includes','vmZOS','filter','KEY_TEST_FAILURE_TYPE','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','addMultipleEntries','type','length','forEach',',\x20messageLength=','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','removeActiveHook','oKAxp','errorsDetailed','failure_reason','liMkn','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','jest-circus','scopes','../grpcClient','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','passed','\x20(testIdentifier)','parallelIndex','KPYvg',',\x20hookType=','Assert',',\x20screenshotLogs:\x20','OiYvR','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','UiPwo','ALL','\x20hook','\x20attachments','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','\x20-\x20testId:\x20','push','UnhandledError','getTrackedInstance','sAECI','BEFORE_ALL',',\x20filePath:\x20','756552EEdcuZ','setTrackedInstance','pop','finished_at','trackEvent','2EYnCaG','getPendingHooks','zWfqB','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','asyncError','../instances/testFrameworkInstance.js',',\x20error:\x20','getCurrentTestState','hook_type','instance',',\x20result=','TEST','scope',',\x20failureReason=','platformIndex','trackJestInstance:\x20created\x20instance\x20for\x20target=','uSsma','from','getTestFrameworksVersions','hookType','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','__workerDetails','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','ZwsaT','_ALL','getInstance','uJAUd','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','agzLu','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','LOG_REPORT','KEY_TEST_RERUN_NAME','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','substring','set','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','KEY_EVENT_ENDED_AT','parse','KEY_HOOK_FAILURE','name','qMXsQ','QqqyG',',\x20filePath=','fYrlG','trackJestInstance:\x20instance\x20already\x20exists','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','\x20(testIdentifier),\x20result=','KEY_TEST_STARTED_AT','testFrameworkName','1119314cSGfcS','12650330MpafCv','getJestFailureReason','concat','YYMsl','../state/testFrameworkState.js','SNiBQ','Dwqmf','fpxOW','resolveInstance','sBAhH','find','testUUID','kind','DEnAq','RBpvk','Error\x20in\x20createTestFrameworkEventPayload:\x20','\x20to\x20',',\x20logsInBatch:\x20','filePath','azjDF','\x20files',',\x20hookState=','mapTestHooks','activeHooks','getJestTestIdentifier','kLZhF','hookData','getJestFailureData','FEWeA','isArray','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','hookMetadata','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','stringify','KEY_HOOK_FAILURE_REASON','KWbzJ','Unknown\x20Test','hookState','KEY_CUSTOM_TAGS','hook_run_uuid','message','DeGId','QpSlq','OBQnf','gtlwa','HqUHY','PrLwi','file_name','azbXm',',\x20hooksListLength=','matchHookRegex','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','kWwKw','IeDhS','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','SZqIf','util','retryOf','NONE','debug','KEY_TEST_DURATION','warn','539558PrTqRM','missing','CZrJX','setActiveHook','CnNJg','error','JQOwM'];a75_0x43c3=function(){return _0x190c7f;};return a75_0x43c3();}
@@ -1 +1 @@
1
- const a76_0x3bf7bc=a76_0x4f3c;(function(_0x17aba0,_0x983a03){const _0x1f6380=a76_0x4f3c,_0x2f6499=_0x17aba0();while(!![]){try{const _0x2d9436=-parseInt(_0x1f6380(0xa5))/0x1+-parseInt(_0x1f6380(0xb3))/0x2*(parseInt(_0x1f6380(0x9f))/0x3)+parseInt(_0x1f6380(0xb6))/0x4+parseInt(_0x1f6380(0x9d))/0x5*(-parseInt(_0x1f6380(0xa1))/0x6)+parseInt(_0x1f6380(0xc1))/0x7+-parseInt(_0x1f6380(0xbc))/0x8*(parseInt(_0x1f6380(0xa3))/0x9)+parseInt(_0x1f6380(0xb0))/0xa;if(_0x2d9436===_0x983a03)break;else _0x2f6499['push'](_0x2f6499['shift']());}catch(_0x2b2335){_0x2f6499['push'](_0x2f6499['shift']());}}}(a76_0x29ed,0xcf673));function a76_0x29ed(){const _0x4df4c2=['trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','30573120YkYvWa','getTrackedInstance','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','15242JHwsfh','getId','trackEvent','4643148SGxusC','./automationFramework.js','exports','\x20target=','\x20hookState=','PlaywrightAutomationFramework','3486152kQnJIB','xfOmr','trackEvent:\x20automationFrameworkState=','message','instance','4421179HvYlhT','info','../instances/trackedInstance.js','params','PLAYWRIGHT_DISPATCH','runHooks','32825XmIBLs','../instances/automationFrameworkInstance.js','582jPwnSU','Gcegf','654QShDsi','logger','18cvPJTG','debug','934576vfbuaM','getAutomationFrameworkName','feZhf','../../../helpers/classLogger.js','XbuIe','setTrackedInstance','NONE','resolveInstance','trackPlaywrightInstance','getAutomationFrameworkVersion'];a76_0x29ed=function(){return _0x4df4c2;};return a76_0x29ed();}const AutomationFramework=require(a76_0x3bf7bc(0xb7)),{createClassLogger}=require(a76_0x3bf7bc(0xa8)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a76_0x3bf7bc(0xc3)),AutomationFrameworkInstance=require(a76_0x3bf7bc(0x9e));function a76_0x4f3c(_0x283073,_0x49bb29){const _0x29edd7=a76_0x29ed();return a76_0x4f3c=function(_0x4f3cc4,_0xe79e33){_0x4f3cc4=_0x4f3cc4-0x9d;let _0x4c9abb=_0x29edd7[_0x4f3cc4];return _0x4c9abb;},a76_0x4f3c(_0x283073,_0x49bb29);}class PlaywrightAutomationFramework extends AutomationFramework{['logger']=createClassLogger(a76_0x3bf7bc(0xbb));constructor(_0x40e471,_0x947310){super(_0x40e471,_0x947310);}async['trackEvent'](_0x25788c,_0x4aaf3f,_0x262faa={}){const _0xa04f95=a76_0x3bf7bc,_0x3aa8bf={};_0x3aa8bf[_0xa04f95(0xa7)]=function(_0xba26a2,_0x35ab29){return _0xba26a2===_0x35ab29;};const _0x3a7e43=_0x3aa8bf;this[_0xa04f95(0xa2)][_0xa04f95(0xa4)](_0xa04f95(0xbe)+_0x25788c+_0xa04f95(0xba)+_0x4aaf3f),await super[_0xa04f95(0xb5)](_0x25788c,_0x4aaf3f,_0x262faa);const _0x2afe43=this[_0xa04f95(0xac)](_0x25788c,_0x4aaf3f,_0x262faa);if(_0x3a7e43[_0xa04f95(0xa7)](_0x2afe43,null))return;_0x262faa[_0xa04f95(0xc0)]=_0x2afe43,await this[_0xa04f95(0xc6)](_0x2afe43,_0x25788c,_0x4aaf3f,_0x262faa);}['resolveInstance'](_0x639d41,_0x54569f,_0x36ad6e={}){const _0x30edb6=a76_0x3bf7bc,_0x40879d={};_0x40879d[_0x30edb6(0xa0)]=function(_0x4357ff,_0x48c6dd){return _0x4357ff===_0x48c6dd;},_0x40879d[_0x30edb6(0xbd)]=function(_0x59529d,_0x5e2da9){return _0x59529d===_0x5e2da9;};const _0xe9094d=_0x40879d;let _0x46ea55=null;return(_0xe9094d[_0x30edb6(0xa0)](_0x639d41,AutomationFrameworkState['CREATE'])||_0xe9094d['xfOmr'](_0x639d41,AutomationFrameworkState[_0x30edb6(0xc5)])&&(_0x36ad6e['message']&&_0x36ad6e[_0x30edb6(0xbf)][_0x30edb6(0xc4)]&&_0x36ad6e[_0x30edb6(0xbf)][_0x30edb6(0xc4)]['bsParams'])||_0xe9094d[_0x30edb6(0xa0)](_0x639d41,AutomationFrameworkState[_0x30edb6(0xab)]))&&this[_0x30edb6(0xad)](_0x639d41,_0x36ad6e),_0x46ea55=AutomationFramework[_0x30edb6(0xb1)](),_0x46ea55;}[a76_0x3bf7bc(0xad)](_0x276e6e,_0x39b2e1){const _0x4ceb47=a76_0x3bf7bc,_0x5e9757={};_0x5e9757[_0x4ceb47(0xa9)]='trackPlaywrightInstance:\x20instance\x20already\x20exists';const _0x251c7f=_0x5e9757;if(AutomationFramework['getTrackedInstance']()){this[_0x4ceb47(0xa2)][_0x4ceb47(0xc2)](_0x251c7f[_0x4ceb47(0xa9)]);return;}const _0x3e8fa9=CLIUtils['getCurrentInstanceName'](),_0x2dfd62=TrackedInstance['createContext'](_0x3e8fa9);let _0x526436=null;this[_0x4ceb47(0xa2)][_0x4ceb47(0xc2)](_0x4ceb47(0xaf)+_0x3e8fa9+',\x20state='+_0x276e6e),_0x526436=new AutomationFrameworkInstance(_0x2dfd62,this[_0x4ceb47(0xa6)](),this[_0x4ceb47(0xae)](),_0x276e6e),AutomationFramework[_0x4ceb47(0xaa)](_0x2dfd62,_0x526436),this[_0x4ceb47(0xa2)][_0x4ceb47(0xc2)](_0x4ceb47(0xb2)+_0x2dfd62[_0x4ceb47(0xb4)]()+_0x4ceb47(0xb9)+_0x3e8fa9);}}module[a76_0x3bf7bc(0xb8)]=PlaywrightAutomationFramework;
1
+ const a76_0x4f627b=a76_0x27d3;(function(_0x3a9e7e,_0x481f92){const _0x5c511c=a76_0x27d3,_0x5c8897=_0x3a9e7e();while(!![]){try{const _0x1f425e=parseInt(_0x5c511c(0x1a8))/0x1+-parseInt(_0x5c511c(0x1c0))/0x2*(-parseInt(_0x5c511c(0x1b5))/0x3)+parseInt(_0x5c511c(0x1be))/0x4*(parseInt(_0x5c511c(0x1b3))/0x5)+parseInt(_0x5c511c(0x1b4))/0x6+parseInt(_0x5c511c(0x1aa))/0x7*(-parseInt(_0x5c511c(0x1b2))/0x8)+parseInt(_0x5c511c(0x1c2))/0x9+-parseInt(_0x5c511c(0x1a3))/0xa;if(_0x1f425e===_0x481f92)break;else _0x5c8897['push'](_0x5c8897['shift']());}catch(_0x5ecb5f){_0x5c8897['push'](_0x5c8897['shift']());}}}(a76_0x5690,0x9d7e3));const AutomationFramework=require(a76_0x4f627b(0x1ac)),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFrameworkState=require('../state/automationFrameworkState.js'),CLIUtils=require(a76_0x4f627b(0x1ae)),TrackedInstance=require('../instances/trackedInstance.js'),AutomationFrameworkInstance=require(a76_0x4f627b(0x1bb));function a76_0x27d3(_0x3692bd,_0x3b5bac){const _0x569054=a76_0x5690();return a76_0x27d3=function(_0x27d384,_0x4117fc){_0x27d384=_0x27d384-0x1a3;let _0x14361b=_0x569054[_0x27d384];return _0x14361b;},a76_0x27d3(_0x3692bd,_0x3b5bac);}function a76_0x5690(){const _0x2b4bbb=['DznmK','PlaywrightAutomationFramework','bEvoo','../instances/automationFrameworkInstance.js','getTrackedInstance','trackPlaywrightInstance','12jwpnea','runHooks','141518EWCqzl','trackEvent:\x20automationFrameworkState=','4180779VOmMCV','CREATE','logger','\x20hookState=','getCurrentInstanceName','message',',\x20state=','\x20target=','getId','createContext','instance','trackEvent','11063400HiaTFW','info','PLAYWRIGHT_DISPATCH','trackPlaywrightInstance:\x20instance\x20already\x20exists','NONE','216280OuWdce','resolveInstance','7garkIr','bsParams','./automationFramework.js','exports','../cliUtils.js','params','getAutomationFrameworkName','gusHm','5759032KXLOJt','540395EoyMyL','2004708CLVZBt','48tORcep','uBWsz','debug'];a76_0x5690=function(){return _0x2b4bbb;};return a76_0x5690();}class PlaywrightAutomationFramework extends AutomationFramework{[a76_0x4f627b(0x1c4)]=createClassLogger(a76_0x4f627b(0x1b9));constructor(_0x14a16e,_0x1ca57b){super(_0x14a16e,_0x1ca57b);}async[a76_0x4f627b(0x1cd)](_0x3d7d88,_0x11f205,_0x33aa78={}){const _0x472cb3=a76_0x4f627b,_0x2caf47={};_0x2caf47['DznmK']=function(_0x38fcbf,_0x3a4175){return _0x38fcbf===_0x3a4175;};const _0x2b3f1d=_0x2caf47;this[_0x472cb3(0x1c4)][_0x472cb3(0x1b7)](_0x472cb3(0x1c1)+_0x3d7d88+_0x472cb3(0x1c5)+_0x11f205),await super['trackEvent'](_0x3d7d88,_0x11f205,_0x33aa78);const _0x25ee73=this[_0x472cb3(0x1a9)](_0x3d7d88,_0x11f205,_0x33aa78);if(_0x2b3f1d[_0x472cb3(0x1b8)](_0x25ee73,null))return;_0x33aa78[_0x472cb3(0x1cc)]=_0x25ee73,await this[_0x472cb3(0x1bf)](_0x25ee73,_0x3d7d88,_0x11f205,_0x33aa78);}[a76_0x4f627b(0x1a9)](_0x4fb751,_0x1aa69a,_0x735528={}){const _0x32632c=a76_0x4f627b,_0xb13535={};_0xb13535[_0x32632c(0x1ba)]=function(_0x567c14,_0x3b96ef){return _0x567c14===_0x3b96ef;},_0xb13535[_0x32632c(0x1b6)]=function(_0x57ebdc,_0x218688){return _0x57ebdc===_0x218688;};const _0x13ed60=_0xb13535;let _0x5c4239=null;return(_0x13ed60[_0x32632c(0x1ba)](_0x4fb751,AutomationFrameworkState[_0x32632c(0x1c3)])||_0x13ed60['uBWsz'](_0x4fb751,AutomationFrameworkState[_0x32632c(0x1a5)])&&(_0x735528[_0x32632c(0x1c7)]&&_0x735528[_0x32632c(0x1c7)][_0x32632c(0x1af)]&&_0x735528[_0x32632c(0x1c7)][_0x32632c(0x1af)][_0x32632c(0x1ab)])||_0x13ed60[_0x32632c(0x1b6)](_0x4fb751,AutomationFrameworkState[_0x32632c(0x1a7)]))&&this[_0x32632c(0x1bd)](_0x4fb751,_0x735528),_0x5c4239=AutomationFramework[_0x32632c(0x1bc)](),_0x5c4239;}[a76_0x4f627b(0x1bd)](_0xac0230,_0x3d50ea){const _0x48811c=a76_0x4f627b,_0x57776d={};_0x57776d['gusHm']=_0x48811c(0x1a6);const _0x52a187=_0x57776d;if(AutomationFramework[_0x48811c(0x1bc)]()){this['logger'][_0x48811c(0x1a4)](_0x52a187[_0x48811c(0x1b1)]);return;}const _0x53715f=CLIUtils[_0x48811c(0x1c6)](),_0x3b1a63=TrackedInstance[_0x48811c(0x1cb)](_0x53715f);let _0x4fd5f4=null;this[_0x48811c(0x1c4)][_0x48811c(0x1a4)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x53715f+_0x48811c(0x1c8)+_0xac0230),_0x4fd5f4=new AutomationFrameworkInstance(_0x3b1a63,this[_0x48811c(0x1b0)](),this['getAutomationFrameworkVersion'](),_0xac0230),AutomationFramework['setTrackedInstance'](_0x3b1a63,_0x4fd5f4),this[_0x48811c(0x1c4)]['info']('trackPlaywrightInstance:\x20saved\x20instance\x20contextId='+_0x3b1a63[_0x48811c(0x1ca)]()+_0x48811c(0x1c9)+_0x53715f);}}module[a76_0x4f627b(0x1ad)]=PlaywrightAutomationFramework;
@@ -1 +1 @@
1
- const a77_0x131258=a77_0x5bf9;(function(_0x1ea9ab,_0x11fe94){const _0x17bb3e=a77_0x5bf9,_0x15c581=_0x1ea9ab();while(!![]){try{const _0x2bf6ef=-parseInt(_0x17bb3e(0x17f))/0x1*(parseInt(_0x17bb3e(0x18f))/0x2)+-parseInt(_0x17bb3e(0x1b8))/0x3*(parseInt(_0x17bb3e(0x206))/0x4)+parseInt(_0x17bb3e(0x1fc))/0x5+parseInt(_0x17bb3e(0x1b3))/0x6*(-parseInt(_0x17bb3e(0x216))/0x7)+-parseInt(_0x17bb3e(0x203))/0x8+-parseInt(_0x17bb3e(0x209))/0x9+-parseInt(_0x17bb3e(0x21f))/0xa*(-parseInt(_0x17bb3e(0x182))/0xb);if(_0x2bf6ef===_0x11fe94)break;else _0x15c581['push'](_0x15c581['shift']());}catch(_0x5c0813){_0x15c581['push'](_0x15c581['shift']());}}}(a77_0x4c6e,0xe92ca));const TestFramework=require(a77_0x131258(0x18e)),TestFrameworkState=require(a77_0x131258(0x194)),HookState=require(a77_0x131258(0x235)),{createClassLogger}=require(a77_0x131258(0x171)),TestFrameworkInstance=require(a77_0x131258(0x154)),CLIUtils=require(a77_0x131258(0x20b)),TrackedInstance=require(a77_0x131258(0x15e)),TestFrameworkConstants=require(a77_0x131258(0x15a)),logger=createClassLogger(a77_0x131258(0x1a0)),{v4:uuidv4}=require(a77_0x131258(0x24b)),util=require(a77_0x131258(0x1af)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a77_0x131258(0x16a)),TestInfo=require(a77_0x131258(0x20c)),GrpcClient=require(a77_0x131258(0x1e0)),{removeAnsiColors,getFailureType,failureData}=require('../../../helpers/test-observability/utils'),{getFailureData,getTestTags,getTestRunIdentifier}=require(a77_0x131258(0x217)),{findNestedKey,sendTraceZip,validateFilePath}=require(a77_0x131258(0x217)),path=require(a77_0x131258(0x17b)),fs=require('fs'),helper=require('../../../../src/helpers/helper'),{PLAYWRIGHT_TRACE_LOGS}=require(a77_0x131258(0x198));class PlaywrightTestFramework extends TestFramework{constructor(_0x3a55c0,_0x160f70,_0x467258){super(_0x3a55c0,_0x160f70,_0x467258);}async[a77_0x131258(0x196)](_0x5eb63c,_0xd78de4,_0x4d93e4={}){const _0x388604=a77_0x131258,_0xd40493={'PYFFP':function(_0x2c358d,_0x2b34c2){return _0x2c358d===_0x2b34c2;},'DDFpm':function(_0x5ca117,_0x4771f6){return _0x5ca117===_0x4771f6;},'NoLTP':function(_0x46beff,_0x541db6,_0x4ec4bf){return _0x46beff(_0x541db6,_0x4ec4bf);},'zvfqU':function(_0x2a9399,_0x3b97ab){return _0x2a9399===_0x3b97ab;},'UnVjE':function(_0x5d93e3,_0x379b36,_0x28bfb0){return _0x5d93e3(_0x379b36,_0x28bfb0);},'OIMgB':function(_0x5c92f5,_0x2989f7,_0x29d369,_0x5a89b0){return _0x5c92f5(_0x2989f7,_0x29d369,_0x5a89b0);},'QKXyF':_0x388604(0x1b7),'SNgeh':'trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s'};super[_0x388604(0x196)](_0x5eb63c,_0xd78de4,_0x4d93e4);if(_0xd40493[_0x388604(0x14f)](_0x5eb63c,TestFrameworkState[_0x388604(0x1f9)])){const _0x58e0ea=TestInfo[_0x388604(0x220)](_0x4d93e4[_0x388604(0x1b7)],_0x4d93e4['test'][_0x388604(0x158)]);TestInfo['setTestDetails'](_0x58e0ea,_0x4d93e4[_0x388604(0x1c2)],!![]);}if(_0xd40493[_0x388604(0x14f)](_0x5eb63c,TestFrameworkState[_0x388604(0x251)])){this['trackStepEvent'](_0x5eb63c,_0xd78de4,_0x4d93e4);return;}const _0x7e8787=this[_0x388604(0x17e)](_0x5eb63c,_0xd78de4,_0x4d93e4);if(!_0x7e8787)return;logger[_0x388604(0x225)](_0x388604(0x1ad)+_0x5eb63c+'\x20hookState='+_0xd78de4+_0x388604(0x19c)+_0x7e8787[_0x388604(0x185)]());try{if(_0xd40493['PYFFP'](_0xd78de4,HookState[_0x388604(0x1db)])&&_0xd40493[_0x388604(0x19a)](_0x5eb63c,TestFrameworkState[_0x388604(0x1b1)])){const _0x37dc3c=_0x4d93e4[_0x388604(0x1b7)];logger[_0x388604(0x225)](_0x388604(0x230)+_0x37dc3c['id']+'}');const _0x223d0e=TestInfo['getTestUUID'](_0xd40493[_0x388604(0x1e7)](getTestRunIdentifier,_0x37dc3c,_0x4d93e4[_0x388604(0x1c2)][_0x388604(0x158)]));_0x7e8787[_0x388604(0x1cf)](this[_0x388604(0x175)](_0x223d0e,_0x37dc3c,_0x4d93e4[_0x388604(0x1c2)])),logger[_0x388604(0x225)](_0x388604(0x1aa)+_0x37dc3c['id']+_0x388604(0x1c0)+_0x5eb63c+_0x388604(0x1f4)+_0xd78de4+'\x20instance='+_0x7e8787[_0x388604(0x185)]());}if(_0xd40493[_0x388604(0x19e)](_0xd78de4,HookState['POST'])&&_0xd40493[_0x388604(0x19e)](_0x5eb63c,TestFrameworkState[_0x388604(0x1b1)])){const _0x402ef6=_0x4d93e4['test'],_0x57d5e5=_0x4d93e4[_0x388604(0x1c2)];logger[_0x388604(0x225)](_0x388604(0x1ab)+_0x402ef6['id']);const _0x4f9fcf=_0xd40493[_0x388604(0x1e8)](getTestRunIdentifier,_0x402ef6,_0x57d5e5[_0x388604(0x158)]),_0x5e3aaa=_0x7e8787[_0x388604(0x1d6)]()[_0x388604(0x1cb)](_0x4f9fcf)[TestFrameworkConstants['KEY_TEST_UUID']],{steps:_0x1b0bf0,logs:_0x18df67}=_0xd40493[_0x388604(0x1e2)](getStepsAndLogs,_0x57d5e5['steps'],_0x5e3aaa,_0xd40493[_0x388604(0x186)]);_0x7e8787[_0x388604(0x1cf)](this[_0x388604(0x253)](_0x402ef6['id'],_0x57d5e5,_0x402ef6,_0x1b0bf0)),await this['sendLogCreatedEvent'](_0x7e8787,_0x5eb63c,_0xd78de4,_0xd40493[_0x388604(0x186)],_0x4d93e4,_0x18df67);}if(CLIUtils['matchHookRegex'](_0x5eb63c[_0x388604(0x1dd)]()[_0x388604(0x207)]('.')[0x1])){const _0x1f388c=await this[_0x388604(0x181)](_0x7e8787,_0x5eb63c,_0xd78de4,_0x4d93e4);_0x7e8787[_0x388604(0x1cf)](_0x1f388c);}}catch(_0x1b5dfb){logger[_0x388604(0x1a2)](util[_0x388604(0x1a9)](_0xd40493['SNgeh'],_0x5eb63c,_0xd78de4,_0x4d93e4[_0x388604(0x1ba)],_0x1b5dfb));}_0x4d93e4[_0x388604(0x1fe)]=_0x7e8787,await this[_0x388604(0x17c)](_0x7e8787,_0x5eb63c,_0xd78de4,_0x4d93e4);}['resolveInstance'](_0x38c6f1,_0x242e1a,_0x1c4e50={}){const _0x5b9566=a77_0x131258,_0x434fee={};_0x434fee[_0x5b9566(0x1e3)]=function(_0x1f791b,_0x596a32){return _0x1f791b===_0x596a32;};const _0xbbcf6c=_0x434fee;let _0x509150=null;return(_0xbbcf6c[_0x5b9566(0x1e3)](_0x38c6f1,TestFrameworkState[_0x5b9566(0x22b)])||_0xbbcf6c['tKIBJ'](_0x38c6f1,TestFrameworkState[_0x5b9566(0x224)]))&&this[_0x5b9566(0x22a)](_0x38c6f1,_0x1c4e50),_0x509150=TestFramework[_0x5b9566(0x1ec)](),_0x509150;}[a77_0x131258(0x22a)](_0x3ad7e6,_0xc0b0dc){const _0x23bc03=a77_0x131258,_0x3ec7ca=CLIUtils[_0x23bc03(0x20d)](),_0x30ee96=TrackedInstance[_0x23bc03(0x151)](_0x3ec7ca);let _0x33caf6=null;logger[_0x23bc03(0x208)](_0x23bc03(0x1be)+_0x3ec7ca+_0x23bc03(0x160)+_0x3ad7e6),_0x33caf6=new TestFrameworkInstance(_0x30ee96,this[_0x23bc03(0x239)](),this[_0x23bc03(0x1f3)](),_0x3ad7e6,HookState[_0x23bc03(0x224)]),TestFramework[_0x23bc03(0x1d0)](_0x30ee96,_0x33caf6),logger['info'](_0x23bc03(0x1ee)+_0x30ee96['getId']()+_0x23bc03(0x205)+_0x3ec7ca);}[a77_0x131258(0x175)](_0x3dcefb,_0x3c82ff,_0x39c957){const _0x47b4e4=a77_0x131258,_0x3eb8ab={'soKlz':function(_0x58580c,_0x19c32a){return _0x58580c(_0x19c32a);},'EVeML':function(_0x47de8e,_0x381a37){return _0x47de8e(_0x381a37);},'FSZAW':function(_0x2683d3,_0x4e63f4){return _0x2683d3(_0x4e63f4);},'TllAy':function(_0x5a8798,_0x5d6086){return _0x5a8798(_0x5d6086);},'zrlrm':function(_0x164c98,_0x3ea82a,_0x408055){return _0x164c98(_0x3ea82a,_0x408055);}},_0xe60063=_0x3eb8ab['soKlz'](getPlaywrightTestId,_0x3c82ff),_0x228403=_0x3eb8ab[_0x47b4e4(0x179)](getPlaywrightTestTitle,_0x3c82ff),_0x53e3bc=_0x3eb8ab[_0x47b4e4(0x179)](getTestTags,_0x3c82ff),_0x1b7229=_0x3eb8ab[_0x47b4e4(0x179)](getPlaywrightTestCode,_0x3c82ff),_0x54ac61=_0x3eb8ab[_0x47b4e4(0x179)](getPlaywrightTestFilePath,_0x3c82ff),_0x20ace7=_0x54ac61+':'+_0x3eb8ab[_0x47b4e4(0x19f)](getPlaywrightTestLocation,_0x3c82ff),_0x40e4e0=_0x3eb8ab['FSZAW'](getPlaywrightTestScope,_0x3c82ff),_0x772bec=_0x3eb8ab['soKlz'](getPlaywrightTestScopes,_0x3c82ff),_0x73d406=_0x3eb8ab[_0x47b4e4(0x187)](getPlaywrightSessionName,_0x3c82ff),_0x4268e0=this['getTestFrameworks']()[0x0],_0x2f295c=_0x3eb8ab[_0x47b4e4(0x1cc)](getTestRunIdentifier,_0x3c82ff,_0x39c957[_0x47b4e4(0x158)]),_0x4d360f={[TestFrameworkConstants[_0x47b4e4(0x229)]]:_0x4268e0,[TestFrameworkConstants[_0x47b4e4(0x1c4)]]:this[_0x47b4e4(0x1f3)]()[_0x4268e0],[TestFrameworkConstants[_0x47b4e4(0x222)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0x47b4e4(0x1b6)]]:{},[TestFrameworkConstants[_0x47b4e4(0x18a)]]:_0x3dcefb,[TestFrameworkConstants[_0x47b4e4(0x249)]]:TestFrameworkConstants[_0x47b4e4(0x172)],[TestFrameworkConstants[_0x47b4e4(0x193)]]:_0x73d406,[TestFrameworkConstants[_0x47b4e4(0x1a6)]]:_0x54ac61,[TestFrameworkConstants[_0x47b4e4(0x1ce)]]:_0xe60063,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x228403,[TestFrameworkConstants[_0x47b4e4(0x23a)]]:_0x20ace7,[TestFrameworkConstants['KEY_TEST_CODE']]:_0x1b7229,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x53e3bc,[TestFrameworkConstants[_0x47b4e4(0x215)]]:_0x3c82ff[_0x47b4e4(0x1e5)][0x0][_0x47b4e4(0x1d1)],[TestFrameworkConstants[_0x47b4e4(0x1fd)]]:_0x40e4e0,[TestFrameworkConstants[_0x47b4e4(0x20f)]]:_0x772bec,[TestFrameworkConstants[_0x47b4e4(0x1b4)]]:_0x3eb8ab['TllAy'](getPlaywrightCustomRerunParam,_0x3c82ff)};TestInfo[_0x47b4e4(0x21a)](_0x2f295c,_0x4d360f);const _0x429187={};return _0x429187[_0x2f295c]=_0x4d360f,_0x429187;}['parsePlaywrightTestResult'](_0x54c333,_0x301ab3,_0x3bf4e3,_0x3ae308){const _0x2d1c21=a77_0x131258,_0xb06fa7={'lGHFd':function(_0x358ed9,_0x5ebb51){return _0x358ed9(_0x5ebb51);},'aLOMx':_0x2d1c21(0x244),'zUOXm':function(_0x3cf068,_0x36a080){return _0x3cf068===_0x36a080;},'yCUjZ':function(_0x8f4352,_0x464107){return _0x8f4352===_0x464107;},'RUIAM':'No\x20reason\x20provided','qVivE':'multi_dropdown','CFQgy':function(_0x20141a,_0xb914f4,_0x352954){return _0x20141a(_0xb914f4,_0x352954);},'PFaMa':function(_0x3b61a4,_0x776d27){return _0x3b61a4+_0x776d27;},'nOLLU':'skipped','BRVAd':_0x2d1c21(0x21e),'KUrNl':_0x2d1c21(0x1e9),'ECJBX':function(_0x1e78de,_0xd2ecbb){return _0x1e78de===_0xd2ecbb;},'VaVbh':'timedOut','Xbkad':function(_0x2d0389,_0x5e67cd){return _0x2d0389===_0x5e67cd;},'bRdPq':function(_0x4b8a77,_0x11da73){return _0x4b8a77===_0x11da73;},'ThvtJ':_0x2d1c21(0x1f1),'eMBRd':function(_0x2337f8,_0x2f257e){return _0x2337f8||_0x2f257e;},'mLJcX':function(_0x490d37,_0x560fac){return _0x490d37>_0x560fac;},'YfXDj':function(_0x4edd25,_0x34a9ff){return _0x4edd25-_0x34a9ff;},'EQxRZ':function(_0x3f4839,_0x321418,_0x321d46,_0x5a57f2){return _0x3f4839(_0x321418,_0x321d46,_0x5a57f2);},'WdLhj':'test','gPZlw':function(_0x310f94,_0xd435e2){return _0x310f94===_0xd435e2;},'thZzv':function(_0x174a69,_0x1cf668){return _0x174a69>=_0x1cf668;},'opvgx':function(_0x5520a2,_0x4bdfb0){return _0x5520a2===_0x4bdfb0;},'XQIOr':function(_0x3f86a1,_0x38823a){return _0x3f86a1+_0x38823a;},'yoWeD':_0x2d1c21(0x17b),'ITtQM':function(_0x3ee990,_0x15921,_0x43c687){return _0x3ee990(_0x15921,_0x43c687);},'KeKqE':function(_0x275563,_0xab494b){return _0x275563>_0xab494b;}};logger[_0x2d1c21(0x225)](_0x2d1c21(0x20a)+_0x54c333);const _0x4acfda=_0xb06fa7[_0x2d1c21(0x223)](getTestRunIdentifier,_0x3bf4e3,_0x301ab3['retry']),_0x1a25b3=new Date(_0x301ab3[_0x2d1c21(0x1d1)]),_0x27202b=_0x301ab3['duration'],_0x45c710=new Date(_0xb06fa7[_0x2d1c21(0x20e)](_0x1a25b3[_0x2d1c21(0x1ca)](),_0x27202b)),_0x341c2b=_0x301ab3[_0x2d1c21(0x237)],_0x5c327e=TestInfo[_0x2d1c21(0x195)](_0x4acfda)[TestFrameworkConstants[_0x2d1c21(0x19b)]]||{};let _0x98fdc8=_0x341c2b;if(_0xb06fa7[_0x2d1c21(0x23f)](_0x301ab3['status'],_0x3bf4e3[_0x2d1c21(0x218)]))_0x98fdc8=_0xb06fa7[_0x2d1c21(0x23f)](_0x301ab3['status'],_0xb06fa7[_0x2d1c21(0x243)])?_0xb06fa7['nOLLU']:_0xb06fa7[_0x2d1c21(0x180)];else{(_0xb06fa7[_0x2d1c21(0x238)](_0x98fdc8,_0xb06fa7[_0x2d1c21(0x180)])||_0xb06fa7['zUOXm'](_0x98fdc8,_0xb06fa7[_0x2d1c21(0x22d)])||_0xb06fa7[_0x2d1c21(0x1ff)](_0x98fdc8,_0xb06fa7[_0x2d1c21(0x1df)]))&&(_0x98fdc8=_0xb06fa7['KUrNl']);if(_0xb06fa7[_0x2d1c21(0x15c)](_0x301ab3[_0x2d1c21(0x237)],_0xb06fa7[_0x2d1c21(0x180)])&&_0xb06fa7['bRdPq'](_0x3bf4e3[_0x2d1c21(0x218)],_0xb06fa7[_0x2d1c21(0x22d)])){const _0xfb60d5={};_0xfb60d5[_0x2d1c21(0x204)]=_0xb06fa7[_0x2d1c21(0x167)],_0xfb60d5[_0x2d1c21(0x24e)]=_0xb06fa7['ThvtJ'],_0x301ab3[_0x2d1c21(0x1a2)]=_0xfb60d5,_0x301ab3[_0x2d1c21(0x183)]=[_0x301ab3['error']];}}const {failureData:_0x1d83a4,logs:_0x735f3d}=_0xb06fa7['CFQgy'](getFailureData,_0x301ab3?.[_0x2d1c21(0x183)],{}),_0x4571b6={[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0xb06fa7[_0x2d1c21(0x197)](_0x1d83a4,null),[TestFrameworkConstants[_0x2d1c21(0x1c8)]]:_0x301ab3?.['error']&&_0xb06fa7[_0x2d1c21(0x1a8)](getFailureType,_0x301ab3[_0x2d1c21(0x1a2)][_0x2d1c21(0x204)]),[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]:_0x301ab3?.['error']&&_0xb06fa7['lGHFd'](removeAnsiColors,_0x301ab3['error'][_0x2d1c21(0x204)]),[TestFrameworkConstants[_0x2d1c21(0x173)]]:[],[TestFrameworkConstants[_0x2d1c21(0x249)]]:_0x98fdc8,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x45c710[_0x2d1c21(0x15d)](),[TestFrameworkConstants[_0x2d1c21(0x177)]]:new Date()[_0x2d1c21(0x15d)](),[TestFrameworkConstants[_0x2d1c21(0x19b)]]:_0x5c327e};if(_0x301ab3&&_0xb06fa7[_0x2d1c21(0x165)](_0x301ab3[_0x2d1c21(0x158)],0x0)){const _0xe6103c=TestInfo['getTestUUID'](_0xb06fa7[_0x2d1c21(0x223)](getTestRunIdentifier,_0x3bf4e3,_0xb06fa7[_0x2d1c21(0x16f)](_0x301ab3[_0x2d1c21(0x158)],0x1)));_0x4571b6[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0xe6103c;}const _0x4c07f4={};_0x4c07f4[_0x2d1c21(0x1b7)]=_0x3bf4e3;const _0x317a4a=this[_0x2d1c21(0x17e)](TestFrameworkState[_0x2d1c21(0x1b1)],HookState[_0x2d1c21(0x202)],_0x4c07f4),_0x110cd4=_0x317a4a[_0x2d1c21(0x1d6)]()[_0x2d1c21(0x1cb)](_0x4acfda)[TestFrameworkConstants['KEY_TEST_UUID']],_0x40ebb6=_0x3ae308||_0xb06fa7[_0x2d1c21(0x210)](getStepsAndLogs,_0x301ab3[_0x2d1c21(0x176)],_0x110cd4,_0xb06fa7['WdLhj'])[_0x2d1c21(0x176)],_0x20130d=new Map();let _0x1e7f9c=0x0;const _0x6ab620=[];for(const _0x492fcd of _0x40ebb6||[]){const _0x228392=_0x492fcd[_0x2d1c21(0x159)]||null;let _0x438d12;if(_0xb06fa7['gPZlw'](_0x228392,null)){if(_0xb06fa7[_0x2d1c21(0x1da)](_0x1e7f9c,TestFrameworkConstants[_0x2d1c21(0x247)]))continue;_0x438d12=0x0,_0x1e7f9c++;}else{const _0x12ee74=_0x20130d['get'](_0x228392);if(_0xb06fa7[_0x2d1c21(0x188)](_0x12ee74,undefined))continue;_0x438d12=_0xb06fa7[_0x2d1c21(0x1c5)](_0x12ee74,0x1);if(_0xb06fa7[_0x2d1c21(0x165)](_0x438d12,TestFrameworkConstants['MAX_NESTED_STEP_DEPTH']))continue;}_0x20130d[_0x2d1c21(0x1d9)](_0x492fcd['id'],_0x438d12);const _0x5aca40={};_0x5aca40['id']=_0x492fcd['id'],_0x5aca40[_0x2d1c21(0x159)]=_0x228392,_0x5aca40[_0x2d1c21(0x174)]=_0x492fcd[_0x2d1c21(0x174)],_0x5aca40[_0x2d1c21(0x1d5)]=_0x492fcd[_0x2d1c21(0x1d5)]||null,_0x5aca40[_0x2d1c21(0x22f)]=_0x492fcd['started_at'],_0x5aca40[_0x2d1c21(0x169)]=_0x492fcd[_0x2d1c21(0x169)]??null,_0x5aca40[_0x2d1c21(0x1c2)]=_0x492fcd[_0x2d1c21(0x1c2)],_0x5aca40['failure']=_0x492fcd[_0x2d1c21(0x14d)]||null,_0x5aca40[_0x2d1c21(0x161)]=_0x492fcd[_0x2d1c21(0x161)]||null,_0x6ab620['push'](_0x5aca40);}const _0xa3b960={};_0xa3b960[_0x2d1c21(0x176)]=_0x6ab620,_0x4571b6[TestFrameworkConstants[_0x2d1c21(0x23b)]]=_0xa3b960,logger[_0x2d1c21(0x225)](_0x2d1c21(0x232)+_0x6ab620['length']+_0x2d1c21(0x1de)+_0x54c333);const _0x3b204d=[],_0x2ef225=_0xb06fa7['CFQgy'](findNestedKey,_0x301ab3,_0xb06fa7[_0x2d1c21(0x1a3)]);if(_0x2ef225&&_0xb06fa7['lGHFd'](validateFilePath,_0x2ef225))try{_0x3b204d['push']({'kind':_0xb06fa7[_0x2d1c21(0x14c)],'timestamp':new Date()[_0x2d1c21(0x15d)](),'test_run_uuid':_0x110cd4,'file_name':path[_0x2d1c21(0x1bd)](_0x2ef225),'file_size':fs['statSync'](_0x2ef225)['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x27ee22){logger['error'](_0x2d1c21(0x199)+_0x2ef225+':\x20'+_0x27ee22[_0x2d1c21(0x204)]);}const _0x1b00ab=TestInfo['getTraceFilePaths'](),_0x3c7988=_0x1b00ab[_0x2d1c21(0x24a)](_0x55502f=>_0x55502f[_0x2d1c21(0x212)]===_0x110cd4);_0x3c7988[_0x2d1c21(0x240)](_0x44a101=>{const _0x390a6b=_0x2d1c21;if(_0x44a101[_0x390a6b(0x16c)]&&_0xb06fa7[_0x390a6b(0x1a8)](validateFilePath,_0x44a101[_0x390a6b(0x16c)])&&!_0x3b204d[_0x390a6b(0x155)](_0x481771=>_0x481771[_0x390a6b(0x213)]===path['basename'](_0x44a101['filePath'])))try{_0x3b204d['push']({'kind':_0xb06fa7[_0x390a6b(0x14c)],'timestamp':new Date()[_0x390a6b(0x15d)](),'test_run_uuid':_0x110cd4,'file_name':path[_0x390a6b(0x1bd)](_0x44a101[_0x390a6b(0x16c)]),'file_size':fs[_0x390a6b(0x201)](_0x44a101['filePath'])['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x14d1d7){logger[_0x390a6b(0x1a2)](_0x390a6b(0x233)+_0x44a101[_0x390a6b(0x16c)]+_0x390a6b(0x17d)+_0x14d1d7['message']);}});if(_0xb06fa7[_0x2d1c21(0x165)](_0x3b204d[_0x2d1c21(0x1ba)],0x0)){const _0x1f608a=_0x4571b6[TestFrameworkConstants[_0x2d1c21(0x173)]]||[];_0x4571b6[TestFrameworkConstants[_0x2d1c21(0x173)]]=[..._0x1f608a,..._0x3b204d];}const _0x188441=TestInfo[_0x2d1c21(0x195)](_0x4acfda)[TestFrameworkConstants[_0x2d1c21(0x1e1)]]||{},_0x3af6ce=_0xb06fa7[_0x2d1c21(0x1f0)](getManualUploadLogs,_0x188441,_0x317a4a[_0x2d1c21(0x1d6)]()[_0x2d1c21(0x1cb)](_0x4acfda)[TestFrameworkConstants[_0x2d1c21(0x18a)]]);if(_0xb06fa7[_0x2d1c21(0x1c9)](_0x3af6ce[_0x2d1c21(0x1ba)],0x0)){const _0x3248ae=_0x4571b6[TestFrameworkConstants['KEY_LOGS']]||[];_0x4571b6[TestFrameworkConstants['KEY_LOGS']]=[..._0x3248ae,..._0x3af6ce];}const _0x146acb=_0x3bf4e3[_0x2d1c21(0x1ed)]||[],_0x1f95cf=_0x4571b6[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};_0x146acb[_0x2d1c21(0x240)](_0x3411d2=>{const _0x1484ad=_0x2d1c21,{type:_0x4c18fd}=_0x3411d2;let _0x8ec45=_0x3411d2[_0x1484ad(0x1ea)];if(!_0x4c18fd)return;(_0xb06fa7[_0x1484ad(0x238)](_0x8ec45,undefined)||_0xb06fa7[_0x1484ad(0x23f)](_0x8ec45,null)||_0xb06fa7[_0x1484ad(0x23f)](_0xb06fa7[_0x1484ad(0x1a8)](String,_0x8ec45)[_0x1484ad(0x152)](),''))&&(_0x8ec45=_0xb06fa7[_0x1484ad(0x226)]);if(!_0x1f95cf[_0x4c18fd]){const _0x1bc4bb={};_0x1bc4bb['field_type']=_0xb06fa7['qVivE'],_0x1bc4bb[_0x1484ad(0x246)]=[],_0x1f95cf[_0x4c18fd]=_0x1bc4bb;}else!_0x1f95cf[_0x4c18fd]['field_type']&&(_0x1f95cf[_0x4c18fd]['field_type']=_0xb06fa7['qVivE']),!Array['isArray'](_0x1f95cf[_0x4c18fd][_0x1484ad(0x246)])&&(_0x1f95cf[_0x4c18fd][_0x1484ad(0x246)]=[]);const _0x24199e=_0xb06fa7[_0x1484ad(0x1a8)](String,_0x8ec45)[_0x1484ad(0x207)](',')['map'](_0x170409=>_0x170409['trim']());_0x1f95cf[_0x4c18fd][_0x1484ad(0x246)]=[...new Set([..._0x1f95cf[_0x4c18fd]['values'],..._0x24199e])];}),_0x4571b6[TestFrameworkConstants[_0x2d1c21(0x19b)]]=_0x1f95cf,TestInfo[_0x2d1c21(0x21a)](_0x4acfda,_0x4571b6);const _0x300e28={};return _0x300e28[_0x4acfda]=_0x4571b6,_0x300e28;}[a77_0x131258(0x250)](_0x19fda3,_0x4ce398,_0x15ade6){const _0x5f2740=a77_0x131258,_0x10595b={'BGMPh':function(_0x1ac802,_0x13ff4f){return _0x1ac802||_0x13ff4f;},'hSrif':function(_0x32cbbd,_0x41098e,_0x261bc3){return _0x32cbbd(_0x41098e,_0x261bc3);}};try{const {test:_0x2363ce,result:_0x2c0781,step:_0x2dcf1a}=_0x15ade6;if(_0x10595b[_0x5f2740(0x1bb)](!_0x2363ce,!_0x2dcf1a)||!_0x2c0781)return;const _0x4b7ad5=_0x10595b[_0x5f2740(0x189)](getTestRunIdentifier,_0x2363ce,_0x2c0781[_0x5f2740(0x158)]);logger[_0x5f2740(0x225)]('trackStepEvent:\x20testId='+_0x4b7ad5+_0x5f2740(0x1eb)+_0x4ce398+'\x20step=\x22'+_0x2dcf1a[_0x5f2740(0x17a)]+'\x22');}catch(_0x138a9a){logger[_0x5f2740(0x1a2)](_0x5f2740(0x170)+util[_0x5f2740(0x1a9)](_0x138a9a));}}async[a77_0x131258(0x181)](_0x2f76d5,_0xf18e9c,_0x10c8ac,_0x2a873a){const _0x5e278f=a77_0x131258,_0x3c38bb={'ItoHC':function(_0x4780aa,_0x310e61,_0xc082b2){return _0x4780aa(_0x310e61,_0xc082b2);},'JkPQO':function(_0x4ff982,_0x1a0d8c){return _0x4ff982 in _0x1a0d8c;},'QLhdO':function(_0x1c1608,_0x3edb33){return _0x1c1608(_0x3edb33);},'GHErJ':function(_0x81f24e,_0x3c369c){return _0x81f24e(_0x3c369c);},'eueIg':function(_0x510a3a,_0x4c3fcf){return _0x510a3a===_0x4c3fcf;},'hmIfY':function(_0x114db8){return _0x114db8();},'fgakJ':function(_0x4f9458,_0x3a1ec1){return _0x4f9458>_0x3a1ec1;},'JYeDm':function(_0x3c2854,_0x18d1c7,_0x4a5faf){return _0x3c2854(_0x18d1c7,_0x4a5faf);},'ZVmkT':_0x5e278f(0x16e),'uildJ':function(_0x135b95,_0x4dd5fa){return _0x135b95(_0x4dd5fa);},'ejgTk':function(_0x38564e,_0x311f48){return _0x38564e(_0x311f48);},'NyRLW':'failed','Dnjfm':_0x5e278f(0x21e),'TERjH':function(_0x393e5a,_0x4bcf6b){return _0x393e5a!==_0x4bcf6b;},'psjtK':function(_0x22a730,_0x793c4a){return _0x22a730+_0x793c4a;},'nJVrE':_0x5e278f(0x1a5)},_0x13b724=_0x2a873a[_0x5e278f(0x1b7)],_0x2bf0d2=_0x2a873a[_0x5e278f(0x16b)],_0x2c3585=_0x3c38bb[_0x5e278f(0x18c)](getTestRunIdentifier,_0x13b724,_0x2a873a[_0x5e278f(0x1c2)][_0x5e278f(0x158)]),_0x22de16=_0xf18e9c[_0x5e278f(0x1dd)]()[_0x5e278f(0x207)]('.')[0x1];let _0xf84d28=_0x2f76d5[_0x5e278f(0x1d6)]()[_0x5e278f(0x1cb)](_0x2c3585)[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0xf84d28&&(_0xf84d28={});!_0x3c38bb[_0x5e278f(0x150)](_0x22de16,_0xf84d28)&&(_0xf84d28[_0x22de16]=[]);let _0x2a3a50=_0x2f76d5[_0x5e278f(0x1d6)]()[_0x5e278f(0x1cb)](_0x2c3585)[TestFrameworkConstants[_0x5e278f(0x234)]];!_0x2a3a50&&(_0x2a3a50={});!_0x3c38bb[_0x5e278f(0x150)](_0x22de16,_0x2a3a50)&&(_0x2a3a50[_0x22de16]=[]);const _0x18a022={[TestFrameworkConstants[_0x5e278f(0x1b6)]]:_0xf84d28,[TestFrameworkConstants[_0x5e278f(0x234)]]:_0x2a3a50},_0x4dab07={};_0x4dab07[_0x2c3585]=_0x18a022;const _0x2725e8=_0x4dab07,_0x54aed2=_0x3c38bb[_0x5e278f(0x1d8)](getPlaywrightTestFilePath,_0x13b724),_0x2693ed=_0x54aed2+':'+_0x3c38bb['GHErJ'](getPlaywrightTestLocation,_0x13b724),_0x1efdd8=TestInfo[_0x5e278f(0x195)](_0x2c3585)[TestFrameworkConstants[_0x5e278f(0x19b)]]||{};if(_0x3c38bb[_0x5e278f(0x228)](_0x10c8ac,HookState[_0x5e278f(0x1db)])){const _0x37cd67={'key':_0x22de16,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x3c38bb[_0x5e278f(0x1a1)](uuidv4),[TestFrameworkConstants[_0x5e278f(0x1c1)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x5e278f(0x1d3)]]:_0x2bf0d2[_0x5e278f(0x1d1)],[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x5e278f(0x1a4)]]:_0x2bf0d2[_0x5e278f(0x17a)],[TestFrameworkConstants[_0x5e278f(0x1a6)]]:_0x54aed2,[TestFrameworkConstants[_0x5e278f(0x23a)]]:_0x2693ed,[TestFrameworkConstants[_0x5e278f(0x19b)]]:_0x1efdd8};_0xf84d28[_0x22de16][_0x5e278f(0x1fb)](_0x37cd67),_0x2725e8[_0x2c3585][TestFrameworkConstants[_0x5e278f(0x1bf)]]=_0x22de16,logger['debug']('Hook\x20Started\x20in\x20PRE\x20key\x20=\x20'+_0x22de16+_0x5e278f(0x23c)+_0x37cd67+_0x5e278f(0x1f7)+_0x2a873a);}else{if(_0x3c38bb['eueIg'](_0x10c8ac,HookState['POST'])){const _0x3fe73f=await _0x2a873a[_0x5e278f(0x1c2)],_0x2f09c2=_0xf84d28[_0x22de16]||[],_0x44c83d=_0x2a873a[_0x5e278f(0x16b)];logger[_0x5e278f(0x225)](_0x5e278f(0x156)+_0x2f09c2+_0x5e278f(0x245)+_0x2a873a);if(_0x3c38bb[_0x5e278f(0x1e6)](_0x2f09c2[_0x5e278f(0x1ba)],0x0)){const _0x332d77=_0x2f09c2[_0x5e278f(0x1b9)]();if(_0x44c83d[_0x5e278f(0x1a2)]){const _0xeccf5f=_0x3c38bb['JYeDm'](failureData,_0x44c83d[_0x5e278f(0x1a2)],_0x3c38bb[_0x5e278f(0x14e)]);_0x332d77[TestFrameworkConstants[_0x5e278f(0x236)]]=_0x3c38bb[_0x5e278f(0x1bc)](getFailureType,_0x44c83d?.['error']['message']),_0x332d77[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=_0x3c38bb[_0x5e278f(0x21c)](removeAnsiColors,_0x44c83d?.['error'][_0x5e278f(0x204)]),_0x332d77[TestFrameworkConstants[_0x5e278f(0x1c1)]]=_0x3c38bb[_0x5e278f(0x16d)],_0x332d77[TestFrameworkConstants[_0x5e278f(0x19d)]]=_0xeccf5f;}else _0x332d77[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x3c38bb['Dnjfm'];_0x3c38bb[_0x5e278f(0x1d7)](_0x3fe73f,TestFrameworkConstants[_0x5e278f(0x15f)])&&(_0x332d77[TestFrameworkConstants[_0x5e278f(0x1c1)]]=!_0x44c83d[_0x5e278f(0x1a2)]?_0x3c38bb[_0x5e278f(0x1ae)]:_0x3c38bb[_0x5e278f(0x16d)]);const _0x482eb3=new Date(_0x44c83d[_0x5e278f(0x1d1)]),_0x2c28bb=new Date(_0x3c38bb[_0x5e278f(0x18b)](_0x482eb3[_0x5e278f(0x1ca)](),_0x44c83d[_0x5e278f(0x169)]));_0x332d77[TestFrameworkConstants[_0x5e278f(0x231)]]=_0x2c28bb['toISOString'](),_0x332d77[TestFrameworkConstants[_0x5e278f(0x19b)]]=_0x1efdd8;const _0x295e5b=_0x332d77[TestFrameworkConstants[_0x5e278f(0x24c)]];await this['sendLogCreatedEvent'](_0x2f76d5,_0xf18e9c,_0x295e5b,_0x3c38bb[_0x5e278f(0x178)],_0x2a873a),!_0x2a3a50[_0x22de16]&&(_0x2a3a50[_0x22de16]=[]),_0x2a3a50[_0x22de16][_0x5e278f(0x1fb)](_0x332d77),_0x2725e8[_0x2c3585][TestFrameworkConstants[_0x5e278f(0x22e)]]=_0x22de16;}}}return _0x2725e8;}async[a77_0x131258(0x227)](_0x1efa53,_0x4e2169,_0x287ae6,_0x396d01,_0x39f899,_0x1853c7){const _0x2e932a=a77_0x131258,_0x2ddc9a={'EEmhw':function(_0x220f2b,_0xce21e0){return _0x220f2b===_0xce21e0;},'vutVJ':'test','lMxwe':function(_0x3329c2,_0x20d1d2,_0x20ce7a){return _0x3329c2(_0x20d1d2,_0x20ce7a);},'NIiqB':function(_0x10573e,_0x223074,_0x57bdb3){return _0x10573e(_0x223074,_0x57bdb3);},'ZKpJr':_0x2e932a(0x219),'WIodw':function(_0x4d4813,_0x3cdda9,_0x55b9bc,_0x2c6769){return _0x4d4813(_0x3cdda9,_0x55b9bc,_0x2c6769);},'eUbUy':function(_0x58a5f1,_0x33ded9,_0x13e4d1){return _0x58a5f1(_0x33ded9,_0x13e4d1);},'cNtly':function(_0x3a7123,_0x971ab8){return _0x3a7123/_0x971ab8;},'hAvZf':function(_0x54d30c,_0x1a6184){return _0x54d30c<_0x1a6184;},'SBrOx':function(_0x246453,_0x53327f){return _0x246453*_0x53327f;},'eUDcL':function(_0x183ddc,_0x285e71){return _0x183ddc+_0x285e71;},'IIGkO':function(_0x17b842,_0x1ddd7a,_0x21507a,_0x2ef5da,_0x61127f){return _0x17b842(_0x1ddd7a,_0x21507a,_0x2ef5da,_0x61127f);},'RRnNs':function(_0xf4c231,_0x180d57){return _0xf4c231+_0x180d57;},'vhIbM':function(_0x506936,_0x19bada){return _0x506936+_0x19bada;},'ceJFM':function(_0x5e22a9,_0x3fbd21,_0x54ca0d,_0x158124){return _0x5e22a9(_0x3fbd21,_0x54ca0d,_0x158124);},'KqLPS':'hook','pIvSP':function(_0x27b7c7,_0x2e9aee,_0x1ea702){return _0x27b7c7(_0x2e9aee,_0x1ea702);},'SrFcQ':function(_0x55511d,_0x37aad9,_0x39f106,_0x19f99d,_0x2efc1f){return _0x55511d(_0x37aad9,_0x39f106,_0x19f99d,_0x2efc1f);}};try{if(_0x2ddc9a[_0x2e932a(0x1b5)](_0x396d01,_0x2ddc9a[_0x2e932a(0x192)])){const _0x1e816b=await _0x39f899[_0x2e932a(0x1c2)],_0x399935=_0x2ddc9a[_0x2e932a(0x1ef)](getTestRunIdentifier,_0x39f899['test'],_0x39f899[_0x2e932a(0x1c2)][_0x2e932a(0x158)]),_0x51b034=_0x39f899[_0x2e932a(0x1b7)];logger['debug'](_0x2e932a(0x200)+_0x399935+_0x2e932a(0x221)+util['inspect'](_0x1e816b));const _0xd31a22=_0x1efa53[_0x2e932a(0x1d6)]()['get'](_0x399935)[TestFrameworkConstants[_0x2e932a(0x18a)]];await _0x2ddc9a[_0x2e932a(0x1f8)](sendTraceZip,_0x1e816b,_0xd31a22);const _0x441fac=TestInfo[_0x2e932a(0x195)](_0x399935)[_0x2ddc9a[_0x2e932a(0x1fa)]],_0xcbdb85={};if(_0x441fac){!_0x1e816b[_0x2e932a(0x219)]&&(_0x1e816b[_0x2e932a(0x219)]=[]);_0xcbdb85['attachments']=_0x1e816b['attachments']['concat'](_0x441fac||[]);const _0xe1ebc8=TestInfo[_0x2e932a(0x195)](_0x399935);delete _0xe1ebc8[_0x2ddc9a[_0x2e932a(0x1fa)]],TestInfo[_0x2e932a(0x21a)](_0x399935,_0xe1ebc8);}const _0xe0129a=_0x1853c7||_0x2ddc9a[_0x2e932a(0x1c6)](getStepsAndLogs,_0x1e816b[_0x2e932a(0x176)],_0x1efa53['getAllData']()[_0x2e932a(0x1cb)](_0x399935)[TestFrameworkConstants[_0x2e932a(0x18a)]],_0x2ddc9a['vutVJ'])[_0x2e932a(0x1f6)],_0x48f54b=_0x2ddc9a[_0x2e932a(0x1f8)](getScreenshots,_0xcbdb85,_0x1efa53[_0x2e932a(0x1d6)]()[_0x2e932a(0x1cb)](_0x399935)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x23fe5a=_0x2ddc9a[_0x2e932a(0x1dc)](getVideos,_0x1e816b,_0x1efa53[_0x2e932a(0x1d6)]()[_0x2e932a(0x1cb)](_0x399935)[TestFrameworkConstants[_0x2e932a(0x18a)]]),{_:_0x708f4b,logs:_0x182a04}=_0x2ddc9a[_0x2e932a(0x1ef)](getFailureData,_0x1e816b[_0x2e932a(0x183)],{'test_run_uuid':_0x1efa53[_0x2e932a(0x1d6)]()[_0x2e932a(0x1cb)](_0x399935)[TestFrameworkConstants[_0x2e932a(0x18a)]]}),_0x29ce1e=TestInfo[_0x2e932a(0x195)](_0x399935)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x1f1e11=_0x2ddc9a['NIiqB'](getMediaArtifactsLogs,_0x29ce1e,_0x1efa53['getAllData']()[_0x2e932a(0x1cb)](_0x399935)[TestFrameworkConstants[_0x2e932a(0x18a)]]),_0x1317f7=_0x1efa53['getAllData']()[_0x2e932a(0x1cb)](_0x399935),{[TestFrameworkConstants[_0x2e932a(0x229)]]:_0x2b47bd='',[TestFrameworkConstants[_0x2e932a(0x1c4)]]:_0x206a8f=''}=_0x1317f7,_0x1a3c80=(_0xe0129a||[])[_0x2e932a(0x1c7)](_0x48f54b||[])['concat'](_0x182a04||[])[_0x2e932a(0x1c7)](_0x23fe5a||[])[_0x2e932a(0x1c7)](_0x1f1e11||[]),_0x1d61ae=0x28,_0x1ea69b=Math[_0x2e932a(0x211)](_0x2ddc9a['cNtly'](_0x1a3c80['length'],_0x1d61ae));for(let _0x340b8e=0x0;_0x2ddc9a[_0x2e932a(0x1d2)](_0x340b8e,_0x1ea69b);_0x340b8e++){const _0x34f363=_0x2ddc9a[_0x2e932a(0x214)](_0x340b8e,_0x1d61ae),_0x2c6b9e=_0x2ddc9a['eUDcL'](_0x34f363,_0x1d61ae),_0x3a3608=_0x1a3c80['slice'](_0x34f363,_0x2c6b9e),_0x4baefb={'platformIndex':global?.['browserstackPlatformIndex']??0x0,'logs':_0x3a3608,'testFrameworkName':_0x2b47bd,'testFrameworkVersion':_0x206a8f,'testFrameworkState':_0x4e2169[_0x2e932a(0x1dd)]()[_0x2e932a(0x207)]('.')[0x1]};_0x2ddc9a[_0x2e932a(0x162)](updatePayloadForTraceLogs,_0x4baefb,_0x39f899,_0x399935,_0x1efa53),logger[_0x2e932a(0x225)](_0x2e932a(0x21b)+_0x399935+_0x2e932a(0x190)+_0x2ddc9a[_0x2e932a(0x163)](_0x340b8e,0x1)+'/'+_0x1ea69b+_0x2e932a(0x153)+util[_0x2e932a(0x1f2)](_0x4baefb));const _0x512273=await GrpcClient[_0x2e932a(0x184)]()[_0x2e932a(0x1d4)](_0x4baefb);logger[_0x2e932a(0x225)](_0x2e932a(0x21b)+_0x399935+_0x2e932a(0x190)+_0x2ddc9a[_0x2e932a(0x24f)](_0x340b8e,0x1)+'/'+_0x1ea69b+'\x20response='+util[_0x2e932a(0x1f2)](_0x512273));}}else{const {logs:_0x449350}=_0x2ddc9a[_0x2e932a(0x166)](getStepsAndLogs,_0x39f899['step']['steps'],_0x287ae6,_0x2ddc9a[_0x2e932a(0x1f5)]),_0x1ff3a5=_0x2ddc9a[_0x2e932a(0x22c)](getTestRunIdentifier,_0x39f899[_0x2e932a(0x1b7)],_0x39f899[_0x2e932a(0x1c2)][_0x2e932a(0x158)]);logger[_0x2e932a(0x225)]('sendLogCreatedEvent:\x20testId='+_0x1ff3a5);const _0x1f5e02=_0x1efa53[_0x2e932a(0x1d6)]()['get'](_0x1ff3a5),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x5be43a='',[TestFrameworkConstants[_0x2e932a(0x1c4)]]:_0x188c88=''}=_0x1f5e02,_0x2964c8={'platformIndex':'0','logs':_0x449350,'testFrameworkName':_0x5be43a,'testFrameworkVersion':_0x188c88,'testFrameworkState':_0x4e2169['toString']()[_0x2e932a(0x207)]('.')[0x1]};_0x2ddc9a[_0x2e932a(0x1c3)](updatePayloadForTraceLogs,_0x2964c8,_0x39f899,_0x1ff3a5,_0x1efa53),logger[_0x2e932a(0x225)](_0x2e932a(0x21b)+_0x1ff3a5+_0x2e932a(0x153)+util[_0x2e932a(0x1f2)](_0x2964c8));const _0x350dd7=await GrpcClient[_0x2e932a(0x184)]()[_0x2e932a(0x1d4)](_0x2964c8);}}catch(_0x4dd476){logger[_0x2e932a(0x1a2)]('Error\x20in\x20sendLogCreatedEvent:\x20'+util['format'](_0x4dd476));}}['createTestFrameworkEventPayload'](_0x2382d2){const _0x315e71=a77_0x131258,_0x361989={'fwpbV':function(_0x1e4538,_0x2341df,_0x3c77bd){return _0x1e4538(_0x2341df,_0x3c77bd);},'oaBKt':function(_0x2c5b6e,_0x563ffe){return _0x2c5b6e<_0x563ffe;},'meJJt':_0x315e71(0x1b0)};try{const _0x169569=_0x2382d2[_0x315e71(0x1b7)]['id'],_0x23d362=_0x361989[_0x315e71(0x23e)](getTestRunIdentifier,_0x2382d2[_0x315e71(0x1b7)],_0x2382d2['result'][_0x315e71(0x158)]),_0x238750=_0x2382d2[_0x315e71(0x1fe)],_0xf69a30=_0x238750[_0x315e71(0x191)](),_0x2093d8=_0x238750[_0x315e71(0x1d6)]()[_0x315e71(0x1cb)](_0x23d362);logger['debug'](_0x315e71(0x248)+_0x169569);const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x691330='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x2add6c='',[TestFrameworkConstants[_0x315e71(0x215)]]:_0x3bbae4='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x515be9=''}=_0x2093d8,_0x13edce=_0x238750['getCurrentTestState']()['toString']()[_0x315e71(0x207)]('.')[0x1],_0x3c93f7=_0x238750['getCurrentHookState']()[_0x315e71(0x1dd)]()['split']('.')[0x1],_0x2272b5=_0x361989[_0x315e71(0x1b2)](_0x2382d2?.[_0x315e71(0x1c2)]?.['parallelIndex']??0x0,0x0)?0x0:_0x2382d2?.[_0x315e71(0x1c2)]?.[_0x315e71(0x23d)]??0x0,_0x273616=_0x238750[_0x315e71(0x185)](),_0x3b344b=Buffer['from'](JSON['stringify'](_0x2093d8))['toString'](_0x361989['meJJt']),_0x3b60ef={'hash':_0xf69a30[_0x315e71(0x1ac)](),'threadId':_0xf69a30[_0x315e71(0x252)]()[_0x315e71(0x1dd)](),'processId':_0xf69a30[_0x315e71(0x24d)]()[_0x315e71(0x1dd)]()},_0x4f09b3={};_0x4f09b3['platformIndex']=_0x2272b5,_0x4f09b3[_0x315e71(0x241)]=_0x691330,_0x4f09b3[_0x315e71(0x1a7)]=_0x2add6c,_0x4f09b3[_0x315e71(0x1e4)]=_0x13edce,_0x4f09b3['hookState']=_0x3c93f7,_0x4f09b3[_0x315e71(0x157)]=_0x3bbae4,_0x4f09b3[_0x315e71(0x15b)]=_0x515be9,_0x4f09b3[_0x315e71(0x24b)]=_0x273616,_0x4f09b3[_0x315e71(0x1cd)]=_0x3b344b,_0x4f09b3[_0x315e71(0x21d)]=_0x3b60ef;const _0x11e7a5=_0x4f09b3;return logger[_0x315e71(0x225)]('createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20'+_0x169569+_0x315e71(0x242)+_0x13edce+_0x315e71(0x164)+_0x3c93f7),_0x11e7a5;}catch(_0x593770){return logger[_0x315e71(0x1a2)](_0x315e71(0x168)+util[_0x315e71(0x1a9)](_0x593770)),{};}}}function a77_0x5bf9(_0x43f242,_0xff7a7a){const _0x4c6e80=a77_0x4c6e();return a77_0x5bf9=function(_0x5bf94b,_0x1fc18e){_0x5bf94b=_0x5bf94b-0x14c;let _0x6f1186=_0x4c6e80[_0x5bf94b];return _0x6f1186;},a77_0x5bf9(_0x43f242,_0xff7a7a);}function a77_0x4c6e(){const _0x20bc05=['path','runHooks','\x20from\x20TestDetails:\x20','resolveInstance','158Cfvdsz','BRVAd','trackHookEvent','4724753gGVgwp','errors','getInstance','getRef','QKXyF','TllAy','opvgx','hSrif','KEY_TEST_UUID','psjtK','ItoHC','exports','./testFramework','11534Wdbocm','\x20batch\x20','getContext','vutVJ','KEY_AUTOMATE_SESSION_NAME','../state/testFrameworkState.js','getTestDetails','trackEvent','eMBRd','../../utils/constants','Error\x20processing\x20direct\x20trace\x20file\x20','DDFpm','KEY_CUSTOM_TAGS','\x20instanceId=','KEY_HOOK_FAILURE','zvfqU','EVeML','PlaywrightTestFramework','hmIfY','error','yoWeD','KEY_HOOK_NAME','hook','KEY_TEST_FILE_PATH','testFrameworkVersion','lGHFd','format','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','getId','trackEvent:\x20found\x20instance,\x20testFrameworkState=','Dnjfm','util','base64','TEST','oaBKt','6ESrVlV','KEY_TEST_RERUN_NAME','EEmhw','KEY_HOOKS_STARTED','test','576084xjYkad','pop','length','BGMPh','uildJ','basename','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','KEY_HOOK_LAST_STARTED',',\x20testFrameworkState=','KEY_HOOK_RESULT','result','SrFcQ','KEY_TEST_FRAMEWORK_VERSION','XQIOr','WIodw','concat','KEY_TEST_FAILURE_TYPE','KeKqE','getTime','get','zrlrm','eventJson','KEY_TEST_ID','addMultipleEntries','setTrackedInstance','startTime','hAvZf','KEY_EVENT_STARTED_AT','logCreatedEvent','keyword','getAllData','TERjH','QLhdO','set','thZzv','PRE','eUbUy','toString','\x20steps\x20for\x20testId=','VaVbh','../grpcClient','KEY_TEST_ATTACHMENTS','OIMgB','tKIBJ','testFrameworkState','results','fgakJ','NoLTP','UnVjE','failed','description','\x20hookState=','getTrackedInstance','annotations','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','lMxwe','ITtQM','Expected\x20to\x20fail,\x20but\x20passed.','inspect','getTestFrameworksVersions','\x20testHookState=','KqLPS','logs','\x20\x20and\x20args\x20=\x20','NIiqB','TEST_SCREENSHOT','ZKpJr','push','3340180QwfMcx','KEY_TEST_SCOPE','instance','ECJBX','sendLogCreatedEvent:\x20testId=','statSync','POST','12260144yBpzPW','message','\x20target=','4oyEtOm','split','info','4886847pWAhML','parsePlaywrightTestResult:\x20testId=','../cliUtils.js','../TestInfo.js','getCurrentInstanceName','PFaMa','KEY_TEST_SCOPES','EQxRZ','ceil','testUId','file_name','SBrOx','KEY_TEST_STARTED_AT','11819605wAymsa','../../playwright/reporter/pwUtils','expectedStatus','attachments','setTestDetails','sendLogCreatedEvent\x20for\x20testId:\x20','ejgTk','executionContext','passed','120DFtqBT','getTestIdentifierFromTestInfo','\x20result=','KEY_TEST_LOGS','CFQgy','NONE','debug','RUIAM','sendLogCreatedEvent','eueIg','KEY_TEST_FRAMEWORK_NAME','trackPlaywrightInstance','INIT_TEST','pIvSP','KUrNl','KEY_HOOK_LAST_FINISHED','started_at','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','KEY_EVENT_ENDED_AT','parsePlaywrightTestResult:\x20extracted\x20','Error\x20processing\x20trace\x20file\x20','KEY_HOOKS_FINISHED','../state/hookState.js','KEY_HOOK_FAILURE_TYPE','status','zUOXm','getTestFrameworks','KEY_TEST_LOCATION','KEY_TEST_META','\x20&\x20hook\x20=\x20','parallelIndex','fwpbV','yCUjZ','forEach','testFrameworkName','\x20testState:\x20','nOLLU','TEST_ATTACHMENT','\x20and\x20args\x20=\x20','values','MAX_TOP_LEVEL_STEPS','createTestFrameworkEventPayload\x20testId:\x20','KEY_TEST_RESULT','filter','uuid','KEY_HOOK_ID','getProcessId','stack','vhIbM','trackStepEvent','TEST_STEP','getThreadId','parsePlaywrightTestResult','aLOMx','failure','ZVmkT','PYFFP','JkPQO','createContext','trim','\x20payload=','../instances/testFrameworkInstance.js','some','Hook\x20List\x20in\x20Post\x20','startedAt','retry','parent_id','./constants/testFrameworkConstants.js','endedAt','Xbkad','toISOString','../instances/trackedInstance.js','DEFAULT_HOOK_RESULT',',\x20state=','failure_type','IIGkO','RRnNs','\x20hookState:\x20','mLJcX','ceJFM','ThvtJ','Error\x20in\x20createTestFrameworkEventPayload:\x20','duration','../../../helpers/helper.js','step','filePath','NyRLW','err','YfXDj','trackStepEvent:\x20exception=','../../../helpers/classLogger.js','DEFAULT_TEST_RESULT','KEY_LOGS','text','parsePlaywrightTest','steps','KEY_TEST_RESULT_AT','nJVrE','soKlz','title'];a77_0x4c6e=function(){return _0x20bc05;};return a77_0x4c6e();}module[a77_0x131258(0x18d)]=PlaywrightTestFramework;
1
+ function a77_0x1539(_0x229dff,_0x509408){const _0x2212ad=a77_0x2212();return a77_0x1539=function(_0x1539ed,_0x54f8d5){_0x1539ed=_0x1539ed-0x110;let _0xc093f9=_0x2212ad[_0x1539ed];return _0xc093f9;},a77_0x1539(_0x229dff,_0x509408);}const a77_0x30aa02=a77_0x1539;(function(_0x5a278a,_0x572c4f){const _0x1a1f29=a77_0x1539,_0x28130f=_0x5a278a();while(!![]){try{const _0x1faa44=-parseInt(_0x1a1f29(0x186))/0x1+parseInt(_0x1a1f29(0x1b3))/0x2+parseInt(_0x1a1f29(0x148))/0x3*(parseInt(_0x1a1f29(0x1e5))/0x4)+parseInt(_0x1a1f29(0x133))/0x5*(-parseInt(_0x1a1f29(0x1ab))/0x6)+-parseInt(_0x1a1f29(0x135))/0x7*(parseInt(_0x1a1f29(0x129))/0x8)+parseInt(_0x1a1f29(0x213))/0x9+parseInt(_0x1a1f29(0x1d1))/0xa;if(_0x1faa44===_0x572c4f)break;else _0x28130f['push'](_0x28130f['shift']());}catch(_0x5f0971){_0x28130f['push'](_0x28130f['shift']());}}}(a77_0x2212,0x5904a));function a77_0x2212(){const _0xf0ce8e=['Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','zFIiN',',\x20state=','uuid','xFzjo','QVhXu','QaoJj','getCurrentTestState','MRkSi','matchHookRegex','field_type','filter','TLIET','Error\x20in\x20sendLogCreatedEvent:\x20','KEY_AUTOMATE_SESSION_NAME','TvVFI','../state/testFrameworkState.js','../../../helpers/helper.js','LcPQJ','toString','steps','\x20payload=','JEMMV','KEY_TEST_FAILURE_REASON','INIT_TEST','sefON','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','4401792wSxUwP','DEFAULT_TEST_RESULT','eiXgV','KEY_TEST_FRAMEWORK_NAME','getTestUUID','failed','KEY_TEST_CODE','\x20\x20and\x20args\x20=\x20','KEY_HOOK_NAME','get','testFrameworkVersion','KEY_TEST_LOGS','KEY_HOOK_ID','\x20testHookState=','getInstance','LMYzL','xJexi','KEY_TEST_TAGS','qNBrF','PRE','Error\x20in\x20createTestFrameworkEventPayload:\x20','trackHookEvent','NONE','HhbYR','runHooks','egjky','sgfXi','sqnUe','trackStepEvent','XsGAp','format','step','path','getCurrentHookState','40KJtUiw','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','KEY_TEST_FILE_PATH','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','vakSe','QHqer','executionContext','KEY_TEST_RERUN_NAME','LhHCG','from','2575ilNWJz','err','418075CNTXfm','../../../helpers/test-observability/utils','GJPTg','KBAkO','debug','../instances/trackedInstance.js','timedOut','inspect','WIfbv','KEY_TEST_LOCATION','fHKoi','getTestFrameworks','SiNFo','multi_dropdown','parsePlaywrightTestResult','\x20hookState:\x20','KEY_TEST_ATTACHMENTS','kStlN','parallelIndex','3EnWtLf','ceil','slice','map','forEach','TEST_STEP','dEqGb','skipped','./testFramework','text','createTestFrameworkEventPayload','retry','size','FAmiI','values','DEFAULT_HOOK_RESULT','concat','KEY_EVENT_STARTED_AT','createTestFrameworkEventPayload\x20testId:\x20','VJmjc','\x20from\x20TestDetails:\x20','KEY_HOOK_FAILURE','KZgXX','XMmix','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','getRef','KEY_HOOKS_FINISHED','test','setTestDetails','getTestFrameworksVersions','Expected\x20to\x20fail,\x20but\x20passed.','KEY_TEST_ENDED_AT','vOEyv','sendLogCreatedEvent\x20for\x20testId:\x20','\x20&\x20hook\x20=\x20','getAllData','fWcuL','PaWCS','oKQdS','trackEvent','platformIndex','TEST','KEY_TEST_META','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','started_at','KEY_HOOKS_STARTED','MAX_TOP_LEVEL_STEPS','Error\x20processing\x20direct\x20trace\x20file\x20','getProcessId','KEY_TEST_FRAMEWORK_VERSION','QTNFW','stack','sendLogCreatedEvent','HAnWt','parsePlaywrightTestResult:\x20extracted\x20','YrKbL','message','KEY_TEST_FAILURE','annotations','KEY_HOOK_LAST_FINISHED','logs','FTQyS','594118gJwTPK','./constants/testFrameworkConstants.js','endedAt','KEY_TEST_UUID','\x20step=\x22','../../../helpers/classLogger.js','MPTVb','trackEvent:\x20found\x20instance,\x20testFrameworkState=','testFrameworkState','PlaywrightTestFramework','EvQwW','YXJGV','result','getTraceFilePaths','KEY_TEST_STARTED_AT','passed','length','\x20and\x20args\x20=\x20','error','KEY_CUSTOM_TAGS','\x20result=','Fslhw','push','ljqXR','Hook\x20List\x20in\x20Post\x20','KEY_LOGS','resolveInstance',',\x20testFrameworkState=','status','KEY_TEST_SCOPE','parent_id','WGoPp','testFrameworkName','KEY_HOOK_LAST_STARTED','getTestDetails','ecFdf','EqvJn','6516IXSuji','getTestIdentifierFromTestInfo','ZZHLf','title','zRAHS','logCreatedEvent','vwVfk','axILS','72548VAATQR','\x20instanceId=','\x20hookState=','CxIUe','../grpcClient','\x20target=','info','instance','KEY_HOOK_FAILURE_TYPE','getThreadId','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','QETqU','hookState','duration','dMQCE','eventJson','ivKnm','KEY_TEST_FAILURE_TYPE','KEY_TEST_SCOPES','errors','keyword','startTime','MAX_NESTED_STEP_DEPTH','trackStepEvent:\x20exception=','mrpfZ','No\x20reason\x20provided','getId','KEY_HOOK_LOGS','trackPlaywrightInstance','filePath','8354920NjGDgq','setTrackedInstance','wbnyQ','basename','../../playwright/reporter/pwUtils','KEY_HOOK_RESULT','split','gweMV','fSyBM','browserstackPlatformIndex','../state/hookState.js','DQjIR','cGbeM','\x20instance=','cGyoW','rhxRY','KEY_HOOK_FAILURE_REASON','hook','YZVHr','KEY_TEST_RESULT_AT','1823188mBbnmL','POST','getTime','createContext','toISOString','KEY_TEST_RESULT','../../../../src/helpers/helper','attachments','base64','addMultipleEntries','statSync','expectedStatus','getCurrentInstanceName','getTrackedInstance','trackStepEvent:\x20testId=','TEST_ATTACHMENT','RtTXN','parsePlaywrightTest','\x20response='];a77_0x2212=function(){return _0xf0ce8e;};return a77_0x2212();}const TestFramework=require(a77_0x30aa02(0x150)),TestFrameworkState=require(a77_0x30aa02(0x208)),HookState=require(a77_0x30aa02(0x1db)),{createClassLogger}=require(a77_0x30aa02(0x18b)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a77_0x30aa02(0x13a)),TestFrameworkConstants=require(a77_0x30aa02(0x187)),logger=createClassLogger(a77_0x30aa02(0x18f)),{v4:uuidv4}=require(a77_0x30aa02(0x1fb)),util=require('util'),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a77_0x30aa02(0x209)),TestInfo=require('../TestInfo.js'),GrpcClient=require(a77_0x30aa02(0x1b7)),{removeAnsiColors,getFailureType,failureData}=require(a77_0x30aa02(0x136)),{getFailureData,getTestTags,getTestRunIdentifier}=require('../../playwright/reporter/pwUtils'),{findNestedKey,sendTraceZip,validateFilePath}=require(a77_0x30aa02(0x1d5)),path=require(a77_0x30aa02(0x127)),fs=require('fs'),helper=require(a77_0x30aa02(0x1eb)),{PLAYWRIGHT_TRACE_LOGS}=require('../../utils/constants');class PlaywrightTestFramework extends TestFramework{constructor(_0x4fc1bf,_0x23eda8,_0x212980){super(_0x4fc1bf,_0x23eda8,_0x212980);}async['trackEvent'](_0x7e0db6,_0x402a17,_0x45deaf={}){const _0x519914=a77_0x30aa02,_0x4605e7={'KBAkO':function(_0x4e4e78,_0x3cdb96){return _0x4e4e78===_0x3cdb96;},'oKQdS':function(_0x34b0ab,_0x123f80){return _0x34b0ab===_0x123f80;},'ljqXR':function(_0x3f33d1,_0x5a2e43){return _0x3f33d1===_0x5a2e43;},'qyYhe':function(_0x403fca,_0x52f596,_0x3bd543){return _0x403fca(_0x52f596,_0x3bd543);},'QHqer':function(_0x4d6f10,_0x1606aa){return _0x4d6f10===_0x1606aa;},'YXJGV':function(_0x2b4a40,_0x1833fd){return _0x2b4a40===_0x1833fd;},'QVhXu':function(_0x51a779,_0x3b5576,_0x27abab){return _0x51a779(_0x3b5576,_0x27abab);},'HhbYR':function(_0x130445,_0x20cdc1,_0x469982,_0x2349a0){return _0x130445(_0x20cdc1,_0x469982,_0x2349a0);},'gweMV':'test','axILS':_0x519914(0x12a)};super[_0x519914(0x16f)](_0x7e0db6,_0x402a17,_0x45deaf);if(_0x4605e7[_0x519914(0x138)](_0x7e0db6,TestFrameworkState['TEST_SCREENSHOT'])){const _0x43ba6d=TestInfo[_0x519914(0x1ac)](_0x45deaf[_0x519914(0x163)],_0x45deaf['test'][_0x519914(0x153)]);TestInfo['setTestDetails'](_0x43ba6d,_0x45deaf[_0x519914(0x192)],!![]);}if(_0x4605e7['oKQdS'](_0x7e0db6,TestFrameworkState[_0x519914(0x14d)])){this[_0x519914(0x123)](_0x7e0db6,_0x402a17,_0x45deaf);return;}const _0x4ca11d=this[_0x519914(0x1a0)](_0x7e0db6,_0x402a17,_0x45deaf);if(!_0x4ca11d)return;logger[_0x519914(0x139)](_0x519914(0x18d)+_0x7e0db6+_0x519914(0x1b5)+_0x402a17+_0x519914(0x1b4)+_0x4ca11d[_0x519914(0x161)]());try{if(_0x4605e7[_0x519914(0x19d)](_0x402a17,HookState[_0x519914(0x11a)])&&_0x4605e7[_0x519914(0x16e)](_0x7e0db6,TestFrameworkState[_0x519914(0x171)])){const _0x4cb837=_0x45deaf[_0x519914(0x163)];logger[_0x519914(0x139)](_0x519914(0x160)+_0x4cb837['id']+'}');const _0x3c9102=TestInfo[_0x519914(0x217)](_0x4605e7['qyYhe'](getTestRunIdentifier,_0x4cb837,_0x45deaf[_0x519914(0x192)][_0x519914(0x153)]));_0x4ca11d[_0x519914(0x1ee)](this[_0x519914(0x1f6)](_0x3c9102,_0x4cb837,_0x45deaf[_0x519914(0x192)])),logger[_0x519914(0x139)](_0x519914(0x212)+_0x4cb837['id']+_0x519914(0x1a1)+_0x7e0db6+_0x519914(0x114)+_0x402a17+_0x519914(0x1de)+_0x4ca11d[_0x519914(0x161)]());}if(_0x4605e7[_0x519914(0x12e)](_0x402a17,HookState[_0x519914(0x1e6)])&&_0x4605e7[_0x519914(0x191)](_0x7e0db6,TestFrameworkState[_0x519914(0x171)])){const _0x425d01=_0x45deaf['test'],_0x33b53d=_0x45deaf[_0x519914(0x192)];logger[_0x519914(0x139)]('trackEvent\x20loading\x20testResults\x20for\x20testId:\x20'+_0x425d01['id']);const _0x46d111=_0x4605e7[_0x519914(0x1fd)](getTestRunIdentifier,_0x425d01,_0x33b53d[_0x519914(0x153)]),_0x42cd65=_0x4ca11d[_0x519914(0x16b)]()[_0x519914(0x110)](_0x46d111)[TestFrameworkConstants[_0x519914(0x189)]],{steps:_0x277518,logs:_0x2b034b}=_0x4605e7[_0x519914(0x11e)](getStepsAndLogs,_0x33b53d['steps'],_0x42cd65,_0x4605e7[_0x519914(0x1d8)]);_0x4ca11d[_0x519914(0x1ee)](this[_0x519914(0x143)](_0x425d01['id'],_0x33b53d,_0x425d01,_0x277518)),await this[_0x519914(0x17c)](_0x4ca11d,_0x7e0db6,_0x402a17,_0x4605e7[_0x519914(0x1d8)],_0x45deaf,_0x2b034b);}if(CLIUtils[_0x519914(0x201)](_0x7e0db6[_0x519914(0x20b)]()[_0x519914(0x1d7)]('.')[0x1])){const _0x39977b=await this['trackHookEvent'](_0x4ca11d,_0x7e0db6,_0x402a17,_0x45deaf);_0x4ca11d[_0x519914(0x1ee)](_0x39977b);}}catch(_0x31ab62){logger['error'](util['format'](_0x4605e7[_0x519914(0x1b2)],_0x7e0db6,_0x402a17,_0x45deaf[_0x519914(0x196)],_0x31ab62));}_0x45deaf[_0x519914(0x1ba)]=_0x4ca11d,await this[_0x519914(0x11f)](_0x4ca11d,_0x7e0db6,_0x402a17,_0x45deaf);}[a77_0x30aa02(0x1a0)](_0x39db45,_0x3014fb,_0x168178={}){const _0x26d0b6=a77_0x30aa02,_0x14cbbb={};_0x14cbbb[_0x26d0b6(0x1e3)]=function(_0x44291b,_0xc6ddf1){return _0x44291b===_0xc6ddf1;},_0x14cbbb[_0x26d0b6(0x215)]=function(_0x167c18,_0x357bf9){return _0x167c18===_0x357bf9;};const _0x2fdf9d=_0x14cbbb;let _0x228d56=null;return(_0x2fdf9d[_0x26d0b6(0x1e3)](_0x39db45,TestFrameworkState[_0x26d0b6(0x210)])||_0x2fdf9d[_0x26d0b6(0x215)](_0x39db45,TestFrameworkState[_0x26d0b6(0x11d)]))&&this['trackPlaywrightInstance'](_0x39db45,_0x168178),_0x228d56=TestFramework[_0x26d0b6(0x1f2)](),_0x228d56;}[a77_0x30aa02(0x1cf)](_0xb50915,_0xf4a1a5){const _0x5712c0=a77_0x30aa02,_0x2a0ee2=CLIUtils[_0x5712c0(0x1f1)](),_0x3b7234=TrackedInstance[_0x5712c0(0x1e8)](_0x2a0ee2);let _0x34129e=null;logger['info'](_0x5712c0(0x173)+_0x2a0ee2+_0x5712c0(0x1fa)+_0xb50915),_0x34129e=new TestFrameworkInstance(_0x3b7234,this[_0x5712c0(0x140)](),this[_0x5712c0(0x165)](),_0xb50915,HookState[_0x5712c0(0x11d)]),TestFramework[_0x5712c0(0x1d2)](_0x3b7234,_0x34129e),logger[_0x5712c0(0x1b9)](_0x5712c0(0x12c)+_0x3b7234['getId']()+_0x5712c0(0x1b8)+_0x2a0ee2);}[a77_0x30aa02(0x1f6)](_0x17fb2c,_0x3c16ef,_0x487ad4){const _0x32a601=a77_0x30aa02,_0x491cd5={'zFIiN':function(_0x44a6d3,_0x270c90){return _0x44a6d3(_0x270c90);},'fHKoi':function(_0x4753dc,_0x7337c9){return _0x4753dc(_0x7337c9);},'zKcso':function(_0x29a848,_0x101204){return _0x29a848(_0x101204);},'sefON':function(_0x324fe3,_0x48ea8a,_0x95a0cf){return _0x324fe3(_0x48ea8a,_0x95a0cf);},'sqnUe':function(_0x5771a6,_0x416402){return _0x5771a6(_0x416402);}},_0x57f682=_0x491cd5['zFIiN'](getPlaywrightTestId,_0x3c16ef),_0x4d5841=_0x491cd5[_0x32a601(0x1f9)](getPlaywrightTestTitle,_0x3c16ef),_0x349ce2=_0x491cd5[_0x32a601(0x1f9)](getTestTags,_0x3c16ef),_0xe5207e=_0x491cd5[_0x32a601(0x1f9)](getPlaywrightTestCode,_0x3c16ef),_0x2da36e=_0x491cd5[_0x32a601(0x13f)](getPlaywrightTestFilePath,_0x3c16ef),_0xa14aaa=_0x2da36e,_0x245164=_0x491cd5['fHKoi'](getPlaywrightTestScope,_0x3c16ef),_0x365080=_0x491cd5[_0x32a601(0x13f)](getPlaywrightTestScopes,_0x3c16ef),_0x1c8f2a=_0x491cd5['zKcso'](getPlaywrightSessionName,_0x3c16ef),_0x3a6269=this[_0x32a601(0x140)]()[0x0],_0x141c6a=_0x491cd5[_0x32a601(0x211)](getTestRunIdentifier,_0x3c16ef,_0x487ad4[_0x32a601(0x153)]),_0x986544={[TestFrameworkConstants[_0x32a601(0x216)]]:_0x3a6269,[TestFrameworkConstants[_0x32a601(0x179)]]:this['getTestFrameworksVersions']()[_0x3a6269],[TestFrameworkConstants[_0x32a601(0x112)]]:[],[TestFrameworkConstants[_0x32a601(0x162)]]:{},[TestFrameworkConstants[_0x32a601(0x175)]]:{},[TestFrameworkConstants['KEY_TEST_UUID']]:_0x17fb2c,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x32a601(0x214)],[TestFrameworkConstants[_0x32a601(0x206)]]:_0x1c8f2a,[TestFrameworkConstants[_0x32a601(0x12b)]]:_0x2da36e,[TestFrameworkConstants['KEY_TEST_ID']]:_0x57f682,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x4d5841,[TestFrameworkConstants[_0x32a601(0x13e)]]:_0xa14aaa,[TestFrameworkConstants[_0x32a601(0x219)]]:_0xe5207e,[TestFrameworkConstants[_0x32a601(0x118)]]:_0x349ce2,[TestFrameworkConstants[_0x32a601(0x194)]]:_0x3c16ef['results'][0x0][_0x32a601(0x1c8)],[TestFrameworkConstants[_0x32a601(0x1a3)]]:_0x245164,[TestFrameworkConstants[_0x32a601(0x1c5)]]:_0x365080,[TestFrameworkConstants[_0x32a601(0x130)]]:_0x491cd5[_0x32a601(0x122)](getPlaywrightCustomRerunParam,_0x3c16ef)};TestInfo[_0x32a601(0x164)](_0x141c6a,_0x986544);const _0x29eefb={};return _0x29eefb[_0x141c6a]=_0x986544,_0x29eefb;}[a77_0x30aa02(0x143)](_0x16856d,_0x598f01,_0x17af8d,_0x2c3be5){const _0x269e59=a77_0x30aa02,_0x1583fa={'QETqU':function(_0x52ff11,_0x49722a){return _0x52ff11(_0x49722a);},'WIfbv':_0x269e59(0x1f4),'ivKnm':function(_0x178bd0,_0x3973be){return _0x178bd0===_0x3973be;},'Fslhw':function(_0x3bb371,_0x5ef2d1){return _0x3bb371===_0x5ef2d1;},'vOEyv':function(_0x4014eb,_0x404aa6){return _0x4014eb(_0x404aa6);},'zRAHS':_0x269e59(0x1cc),'kiGdh':_0x269e59(0x142),'vakSe':function(_0xa0c865,_0x5955cd){return _0xa0c865(_0x5955cd);},'hiAmT':function(_0x2bf37f,_0x1c54ef,_0x2f6498){return _0x2bf37f(_0x1c54ef,_0x2f6498);},'SiNFo':function(_0x1e2926,_0x1a3d4a){return _0x1e2926+_0x1a3d4a;},'DQjIR':_0x269e59(0x14f),'kStlN':_0x269e59(0x195),'LMYzL':function(_0x48df92,_0x101f97){return _0x48df92===_0x101f97;},'ecFdf':_0x269e59(0x218),'rtJZy':_0x269e59(0x13b),'rhxRY':_0x269e59(0x166),'HAnWt':function(_0x17297c,_0x434615,_0x374b2c){return _0x17297c(_0x434615,_0x374b2c);},'TLIET':function(_0x150d22,_0x14921d){return _0x150d22||_0x14921d;},'KzvAN':function(_0x24924f,_0x170cc5){return _0x24924f(_0x170cc5);},'EvQwW':function(_0x5045ff,_0x1ccc5c){return _0x5045ff(_0x1ccc5c);},'KZgXX':function(_0x226794,_0x50e685){return _0x226794>_0x50e685;},'LcPQJ':function(_0x44bfd5,_0x49fb9f){return _0x44bfd5-_0x49fb9f;},'yTobQ':function(_0x29cc27,_0x1eaf78,_0x2f4f4e,_0x205b6a){return _0x29cc27(_0x1eaf78,_0x2f4f4e,_0x205b6a);},'vwVfk':_0x269e59(0x163),'JEMMV':function(_0x358829,_0x2a64e7){return _0x358829===_0x2a64e7;},'odign':function(_0x31fdcc,_0x57c9c0){return _0x31fdcc>=_0x57c9c0;},'LhHCG':function(_0x3e33bf,_0x44d801){return _0x3e33bf===_0x44d801;},'qNBrF':function(_0x5c84db,_0x1574d7){return _0x5c84db+_0x1574d7;},'xFzjo':_0x269e59(0x127),'xJexi':function(_0x42c14d,_0x111444){return _0x42c14d(_0x111444);},'EqvJn':function(_0x471e7f,_0x107170){return _0x471e7f>_0x107170;}};logger[_0x269e59(0x139)]('parsePlaywrightTestResult:\x20testId='+_0x16856d);const _0x1d1ce6=_0x1583fa['hiAmT'](getTestRunIdentifier,_0x17af8d,_0x598f01['retry']),_0x4f2281=new Date(_0x598f01[_0x269e59(0x1c8)]),_0x51a1a3=_0x598f01['duration'],_0xc999a5=new Date(_0x1583fa[_0x269e59(0x141)](_0x4f2281['getTime'](),_0x51a1a3)),_0x5c57ff=_0x598f01[_0x269e59(0x1a2)],_0x376847=TestInfo[_0x269e59(0x1a8)](_0x1d1ce6)[TestFrameworkConstants[_0x269e59(0x199)]]||{};let _0x33e0c2=_0x5c57ff;if(_0x1583fa[_0x269e59(0x1c3)](_0x598f01[_0x269e59(0x1a2)],_0x17af8d[_0x269e59(0x1f0)]))_0x33e0c2=_0x1583fa[_0x269e59(0x19b)](_0x598f01[_0x269e59(0x1a2)],_0x1583fa[_0x269e59(0x1dc)])?_0x1583fa['DQjIR']:_0x1583fa['kStlN'];else{(_0x1583fa[_0x269e59(0x116)](_0x33e0c2,_0x1583fa[_0x269e59(0x146)])||_0x1583fa[_0x269e59(0x116)](_0x33e0c2,_0x1583fa[_0x269e59(0x1a9)])||_0x1583fa[_0x269e59(0x1c3)](_0x33e0c2,_0x1583fa['rtJZy']))&&(_0x33e0c2=_0x1583fa['ecFdf']);if(_0x1583fa[_0x269e59(0x1c3)](_0x598f01[_0x269e59(0x1a2)],_0x1583fa[_0x269e59(0x146)])&&_0x1583fa[_0x269e59(0x1c3)](_0x17af8d[_0x269e59(0x1f0)],_0x1583fa[_0x269e59(0x1a9)])){const _0x265036={};_0x265036['message']=_0x1583fa[_0x269e59(0x1e0)],_0x265036[_0x269e59(0x17b)]=_0x1583fa[_0x269e59(0x1e0)],_0x598f01[_0x269e59(0x198)]=_0x265036,_0x598f01[_0x269e59(0x1c6)]=[_0x598f01[_0x269e59(0x198)]];}}const {failureData:_0x420f1d,logs:_0x20e1e7}=_0x1583fa['HAnWt'](getFailureData,_0x598f01?.['errors'],{}),_0x26187a={[TestFrameworkConstants[_0x269e59(0x181)]]:_0x1583fa[_0x269e59(0x204)](_0x420f1d,null),[TestFrameworkConstants[_0x269e59(0x1c4)]]:_0x598f01?.[_0x269e59(0x198)]&&_0x1583fa['KzvAN'](getFailureType,_0x598f01[_0x269e59(0x198)][_0x269e59(0x180)]),[TestFrameworkConstants[_0x269e59(0x20f)]]:_0x598f01?.[_0x269e59(0x198)]&&_0x1583fa[_0x269e59(0x190)](removeAnsiColors,_0x598f01[_0x269e59(0x198)][_0x269e59(0x180)]),[TestFrameworkConstants[_0x269e59(0x19f)]]:[],[TestFrameworkConstants[_0x269e59(0x1ea)]]:_0x33e0c2,[TestFrameworkConstants[_0x269e59(0x167)]]:_0xc999a5['toISOString'](),[TestFrameworkConstants[_0x269e59(0x1e4)]]:new Date()[_0x269e59(0x1e9)](),[TestFrameworkConstants[_0x269e59(0x199)]]:_0x376847};if(_0x598f01&&_0x1583fa[_0x269e59(0x15e)](_0x598f01[_0x269e59(0x153)],0x0)){const _0x379741=TestInfo['getTestUUID'](_0x1583fa[_0x269e59(0x17d)](getTestRunIdentifier,_0x17af8d,_0x1583fa[_0x269e59(0x20a)](_0x598f01[_0x269e59(0x153)],0x1)));_0x26187a[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x379741;}const _0x2a24a7={};_0x2a24a7['test']=_0x17af8d;const _0x37ed48=this[_0x269e59(0x1a0)](TestFrameworkState[_0x269e59(0x171)],HookState[_0x269e59(0x1e6)],_0x2a24a7),_0x200476=_0x37ed48[_0x269e59(0x16b)]()[_0x269e59(0x110)](_0x1d1ce6)[TestFrameworkConstants[_0x269e59(0x189)]],_0xbe985=_0x2c3be5||_0x1583fa['yTobQ'](getStepsAndLogs,_0x598f01[_0x269e59(0x20c)],_0x200476,_0x1583fa[_0x269e59(0x1b1)])[_0x269e59(0x20c)],_0x2d3a10=new Map();let _0x501907=0x0;const _0x1b03e8=[];for(const _0x2a9dd1 of _0xbe985||[]){const _0x4ad195=_0x2a9dd1[_0x269e59(0x1a4)]||null;let _0x463496;if(_0x1583fa[_0x269e59(0x20e)](_0x4ad195,null)){if(_0x1583fa['odign'](_0x501907,TestFrameworkConstants[_0x269e59(0x176)]))continue;_0x463496=0x0,_0x501907++;}else{const _0x4cfea6=_0x2d3a10[_0x269e59(0x110)](_0x4ad195);if(_0x1583fa[_0x269e59(0x131)](_0x4cfea6,undefined))continue;_0x463496=_0x1583fa[_0x269e59(0x119)](_0x4cfea6,0x1);if(_0x1583fa[_0x269e59(0x15e)](_0x463496,TestFrameworkConstants[_0x269e59(0x1c9)]))continue;}_0x2d3a10['set'](_0x2a9dd1['id'],_0x463496);const _0x4bc7ec={};_0x4bc7ec['id']=_0x2a9dd1['id'],_0x4bc7ec['parent_id']=_0x4ad195,_0x4bc7ec[_0x269e59(0x151)]=_0x2a9dd1['text'],_0x4bc7ec[_0x269e59(0x1c7)]=_0x2a9dd1[_0x269e59(0x1c7)]||null,_0x4bc7ec[_0x269e59(0x174)]=_0x2a9dd1['started_at'],_0x4bc7ec[_0x269e59(0x1c0)]=_0x2a9dd1[_0x269e59(0x1c0)]??null,_0x4bc7ec['result']=_0x2a9dd1['result'],_0x4bc7ec['failure']=_0x2a9dd1['failure']||null,_0x4bc7ec['failure_type']=_0x2a9dd1['failure_type']||null,_0x1b03e8[_0x269e59(0x19c)](_0x4bc7ec);}const _0x2b4f41={};_0x2b4f41['steps']=_0x1b03e8,_0x26187a[TestFrameworkConstants[_0x269e59(0x172)]]=_0x2b4f41,logger[_0x269e59(0x139)](_0x269e59(0x17e)+_0x1b03e8[_0x269e59(0x196)]+'\x20steps\x20for\x20testId='+_0x16856d);const _0x5b7206=[],_0x94b245=_0x1583fa[_0x269e59(0x17d)](findNestedKey,_0x598f01,_0x1583fa[_0x269e59(0x1fc)]);if(_0x94b245&&_0x1583fa[_0x269e59(0x117)](validateFilePath,_0x94b245))try{_0x5b7206['push']({'kind':_0x1583fa[_0x269e59(0x13d)],'timestamp':new Date()[_0x269e59(0x1e9)](),'test_run_uuid':_0x200476,'file_name':path[_0x269e59(0x1d4)](_0x94b245),'file_size':fs[_0x269e59(0x1ef)](_0x94b245)[_0x269e59(0x154)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x2133c3){logger[_0x269e59(0x198)](_0x269e59(0x177)+_0x94b245+':\x20'+_0x2133c3[_0x269e59(0x180)]);}const _0x7f5ea5=TestInfo[_0x269e59(0x193)](),_0x24ad56=_0x7f5ea5[_0x269e59(0x203)](_0x3a1831=>_0x3a1831['testUId']===_0x200476);_0x24ad56[_0x269e59(0x14c)](_0x1f2a8c=>{const _0x6c263e=_0x269e59;if(_0x1f2a8c[_0x6c263e(0x1d0)]&&_0x1583fa[_0x6c263e(0x1be)](validateFilePath,_0x1f2a8c[_0x6c263e(0x1d0)])&&!_0x5b7206['some'](_0xf4ce74=>_0xf4ce74['file_name']===path[_0x6c263e(0x1d4)](_0x1f2a8c[_0x6c263e(0x1d0)])))try{_0x5b7206['push']({'kind':_0x1583fa['WIfbv'],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0x200476,'file_name':path['basename'](_0x1f2a8c[_0x6c263e(0x1d0)]),'file_size':fs['statSync'](_0x1f2a8c[_0x6c263e(0x1d0)])[_0x6c263e(0x154)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x29935a){logger[_0x6c263e(0x198)]('Error\x20processing\x20trace\x20file\x20'+_0x1f2a8c[_0x6c263e(0x1d0)]+_0x6c263e(0x15c)+_0x29935a[_0x6c263e(0x180)]);}});if(_0x1583fa[_0x269e59(0x1aa)](_0x5b7206[_0x269e59(0x196)],0x0)){const _0x225a0f=_0x26187a[TestFrameworkConstants[_0x269e59(0x19f)]]||[];_0x26187a[TestFrameworkConstants[_0x269e59(0x19f)]]=[..._0x225a0f,..._0x5b7206];}const _0x2dcc29=TestInfo[_0x269e59(0x1a8)](_0x1d1ce6)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x1deb2f=_0x1583fa[_0x269e59(0x17d)](getManualUploadLogs,_0x2dcc29,_0x37ed48[_0x269e59(0x16b)]()[_0x269e59(0x110)](_0x1d1ce6)[TestFrameworkConstants[_0x269e59(0x189)]]);if(_0x1583fa[_0x269e59(0x15e)](_0x1deb2f[_0x269e59(0x196)],0x0)){const _0x466b3d=_0x26187a[TestFrameworkConstants[_0x269e59(0x19f)]]||[];_0x26187a[TestFrameworkConstants[_0x269e59(0x19f)]]=[..._0x466b3d,..._0x1deb2f];}const _0x7e9519=_0x17af8d[_0x269e59(0x182)]||[],_0x3a6942=_0x26187a[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};_0x7e9519[_0x269e59(0x14c)](_0x2dd7a3=>{const _0x440aa1=_0x269e59,{type:_0x511c6a}=_0x2dd7a3;let _0x53c1d6=_0x2dd7a3['description'];if(!_0x511c6a)return;(_0x1583fa['ivKnm'](_0x53c1d6,undefined)||_0x1583fa['Fslhw'](_0x53c1d6,null)||_0x1583fa[_0x440aa1(0x19b)](_0x1583fa[_0x440aa1(0x168)](String,_0x53c1d6)['trim'](),''))&&(_0x53c1d6=_0x1583fa[_0x440aa1(0x1af)]);if(!_0x3a6942[_0x511c6a]){const _0x2d89aa={};_0x2d89aa[_0x440aa1(0x202)]=_0x1583fa['kiGdh'],_0x2d89aa[_0x440aa1(0x156)]=[],_0x3a6942[_0x511c6a]=_0x2d89aa;}else!_0x3a6942[_0x511c6a][_0x440aa1(0x202)]&&(_0x3a6942[_0x511c6a][_0x440aa1(0x202)]=_0x1583fa['kiGdh']),!Array['isArray'](_0x3a6942[_0x511c6a][_0x440aa1(0x156)])&&(_0x3a6942[_0x511c6a][_0x440aa1(0x156)]=[]);const _0x2718cd=_0x1583fa[_0x440aa1(0x12d)](String,_0x53c1d6)[_0x440aa1(0x1d7)](',')[_0x440aa1(0x14b)](_0x10074c=>_0x10074c['trim']());_0x3a6942[_0x511c6a][_0x440aa1(0x156)]=[...new Set([..._0x3a6942[_0x511c6a][_0x440aa1(0x156)],..._0x2718cd])];}),_0x26187a[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x3a6942,TestInfo[_0x269e59(0x164)](_0x1d1ce6,_0x26187a);const _0x48d70d={};return _0x48d70d[_0x1d1ce6]=_0x26187a,_0x48d70d;}[a77_0x30aa02(0x123)](_0x21c99e,_0x35accc,_0xa79e4c){const _0x2d755a=a77_0x30aa02,_0x324c2c={'TvVFI':function(_0x4b0a1b,_0x546948){return _0x4b0a1b||_0x546948;},'wGJfn':function(_0x4d05a1,_0x3c2885,_0x5d2839){return _0x4d05a1(_0x3c2885,_0x5d2839);}};try{const {test:_0x1fcde7,result:_0x1dca50,step:_0x568e66}=_0xa79e4c;if(_0x324c2c[_0x2d755a(0x207)](!_0x1fcde7,!_0x568e66)||!_0x1dca50)return;const _0x4acd1c=_0x324c2c['wGJfn'](getTestRunIdentifier,_0x1fcde7,_0x1dca50[_0x2d755a(0x153)]);logger[_0x2d755a(0x139)](_0x2d755a(0x1f3)+_0x4acd1c+_0x2d755a(0x1b5)+_0x35accc+_0x2d755a(0x18a)+_0x568e66[_0x2d755a(0x1ae)]+'\x22');}catch(_0x3b7c42){logger[_0x2d755a(0x198)](_0x2d755a(0x1ca)+util['format'](_0x3b7c42));}}async[a77_0x30aa02(0x11c)](_0x47db9c,_0x2afaf4,_0x318dfe,_0x3ed464){const _0x5523e6=a77_0x30aa02,_0x33680f={'PaWCS':function(_0x2f4278,_0x3bafe2,_0x5e4c46){return _0x2f4278(_0x3bafe2,_0x5e4c46);},'cGyoW':function(_0x2cf574,_0x204d3e){return _0x2cf574 in _0x204d3e;},'YrKbL':function(_0x3e499c,_0x4e8126){return _0x3e499c(_0x4e8126);},'dMQCE':function(_0x192364,_0xc19fb6){return _0x192364===_0xc19fb6;},'IyWFX':function(_0x9dfcb5){return _0x9dfcb5();},'ZZHLf':function(_0x279614,_0xcabeb5){return _0x279614>_0xcabeb5;},'HIxmN':function(_0x24840d,_0x1a68ff,_0x429dc2){return _0x24840d(_0x1a68ff,_0x429dc2);},'eghPu':_0x5523e6(0x134),'oIUFu':function(_0x3a6cde,_0x36d81b){return _0x3a6cde(_0x36d81b);},'fSyBM':function(_0x12059b,_0x54ea55){return _0x12059b(_0x54ea55);},'MRkSi':_0x5523e6(0x218),'egjky':_0x5523e6(0x195),'QaoJj':function(_0x795383,_0x2cb642){return _0x795383!==_0x2cb642;},'XsGAp':function(_0x2ad337,_0x257d60){return _0x2ad337+_0x257d60;},'kcbTj':'hook'},_0x284881=_0x3ed464[_0x5523e6(0x163)],_0x5be0bb=_0x3ed464[_0x5523e6(0x126)],_0x5c0601=_0x33680f[_0x5523e6(0x16d)](getTestRunIdentifier,_0x284881,_0x3ed464[_0x5523e6(0x192)]['retry']),_0x45a7ba=_0x2afaf4[_0x5523e6(0x20b)]()[_0x5523e6(0x1d7)]('.')[0x1];let _0x5ce7f3=_0x47db9c['getAllData']()[_0x5523e6(0x110)](_0x5c0601)[TestFrameworkConstants[_0x5523e6(0x175)]];!_0x5ce7f3&&(_0x5ce7f3={});!_0x33680f[_0x5523e6(0x1df)](_0x45a7ba,_0x5ce7f3)&&(_0x5ce7f3[_0x45a7ba]=[]);let _0x26cac0=_0x47db9c[_0x5523e6(0x16b)]()[_0x5523e6(0x110)](_0x5c0601)[TestFrameworkConstants[_0x5523e6(0x162)]];!_0x26cac0&&(_0x26cac0={});!_0x33680f[_0x5523e6(0x1df)](_0x45a7ba,_0x26cac0)&&(_0x26cac0[_0x45a7ba]=[]);const _0x373be1={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x5ce7f3,[TestFrameworkConstants[_0x5523e6(0x162)]]:_0x26cac0},_0x5daa49={};_0x5daa49[_0x5c0601]=_0x373be1;const _0x493870=_0x5daa49,_0x502fe9=_0x33680f[_0x5523e6(0x17f)](getPlaywrightTestFilePath,_0x284881),_0x1a14ba=_0x502fe9,_0x149a9d=TestInfo[_0x5523e6(0x1a8)](_0x5c0601)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};if(_0x33680f[_0x5523e6(0x1c1)](_0x318dfe,HookState[_0x5523e6(0x11a)])){const _0x43092f={'key':_0x45a7ba,[TestFrameworkConstants[_0x5523e6(0x113)]]:_0x33680f['IyWFX'](uuidv4),[TestFrameworkConstants[_0x5523e6(0x1d6)]]:TestFrameworkConstants[_0x5523e6(0x157)],[TestFrameworkConstants[_0x5523e6(0x159)]]:_0x5be0bb[_0x5523e6(0x1c8)],[TestFrameworkConstants[_0x5523e6(0x1ce)]]:[],[TestFrameworkConstants[_0x5523e6(0x21b)]]:_0x5be0bb['title'],[TestFrameworkConstants[_0x5523e6(0x12b)]]:_0x502fe9,[TestFrameworkConstants[_0x5523e6(0x13e)]]:_0x1a14ba,[TestFrameworkConstants[_0x5523e6(0x199)]]:_0x149a9d};_0x5ce7f3[_0x45a7ba]['push'](_0x43092f),_0x493870[_0x5c0601][TestFrameworkConstants[_0x5523e6(0x1a7)]]=_0x45a7ba,logger[_0x5523e6(0x139)](_0x5523e6(0x1f8)+_0x45a7ba+_0x5523e6(0x16a)+_0x43092f+_0x5523e6(0x21a)+_0x3ed464);}else{if(_0x33680f['dMQCE'](_0x318dfe,HookState[_0x5523e6(0x1e6)])){const _0x1fc932=await _0x3ed464['result'],_0x390385=_0x5ce7f3[_0x45a7ba]||[],_0x1774a6=_0x3ed464[_0x5523e6(0x126)];logger['debug'](_0x5523e6(0x19e)+_0x390385+_0x5523e6(0x197)+_0x3ed464);if(_0x33680f[_0x5523e6(0x1ad)](_0x390385[_0x5523e6(0x196)],0x0)){const _0x58b165=_0x390385['pop']();if(_0x1774a6[_0x5523e6(0x198)]){const _0x17e8b3=_0x33680f['HIxmN'](failureData,_0x1774a6[_0x5523e6(0x198)],_0x33680f['eghPu']);_0x58b165[TestFrameworkConstants[_0x5523e6(0x1bb)]]=_0x33680f['oIUFu'](getFailureType,_0x1774a6?.[_0x5523e6(0x198)][_0x5523e6(0x180)]),_0x58b165[TestFrameworkConstants[_0x5523e6(0x1e1)]]=_0x33680f[_0x5523e6(0x1d9)](removeAnsiColors,_0x1774a6?.['error']['message']),_0x58b165[TestFrameworkConstants[_0x5523e6(0x1d6)]]=_0x33680f['MRkSi'],_0x58b165[TestFrameworkConstants[_0x5523e6(0x15d)]]=_0x17e8b3;}else _0x58b165[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x33680f[_0x5523e6(0x120)];_0x33680f[_0x5523e6(0x1fe)](_0x1fc932,TestFrameworkConstants[_0x5523e6(0x157)])&&(_0x58b165[TestFrameworkConstants[_0x5523e6(0x1d6)]]=!_0x1774a6[_0x5523e6(0x198)]?_0x33680f[_0x5523e6(0x120)]:_0x33680f[_0x5523e6(0x200)]);const _0x4f2205=new Date(_0x1774a6[_0x5523e6(0x1c8)]),_0x3afc99=new Date(_0x33680f[_0x5523e6(0x124)](_0x4f2205[_0x5523e6(0x1e7)](),_0x1774a6[_0x5523e6(0x1c0)]));_0x58b165[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x3afc99[_0x5523e6(0x1e9)](),_0x58b165[TestFrameworkConstants[_0x5523e6(0x199)]]=_0x149a9d;const _0x48aab7=_0x58b165[TestFrameworkConstants[_0x5523e6(0x113)]];await this['sendLogCreatedEvent'](_0x47db9c,_0x2afaf4,_0x48aab7,_0x33680f['kcbTj'],_0x3ed464),!_0x26cac0[_0x45a7ba]&&(_0x26cac0[_0x45a7ba]=[]),_0x26cac0[_0x45a7ba]['push'](_0x58b165),_0x493870[_0x5c0601][TestFrameworkConstants[_0x5523e6(0x183)]]=_0x45a7ba;}}}return _0x493870;}async[a77_0x30aa02(0x17c)](_0x174d5b,_0x1171c5,_0x28cfac,_0x2eaf97,_0xe87352,_0x53c4e8){const _0x3354be=a77_0x30aa02,_0x13b17b={'fWcuL':function(_0x59ff11,_0x5b93e9){return _0x59ff11===_0x5b93e9;},'XMmix':'test','MPTVb':function(_0x104517,_0x157990,_0x3852b2){return _0x104517(_0x157990,_0x3852b2);},'FAmiI':_0x3354be(0x1ec),'sgfXi':function(_0x56f852,_0x44e298,_0x2e869e,_0x30ed20){return _0x56f852(_0x44e298,_0x2e869e,_0x30ed20);},'GJPTg':function(_0x279985,_0x4af65f,_0x39487e){return _0x279985(_0x4af65f,_0x39487e);},'dEqGb':function(_0x287676,_0x5b0399){return _0x287676/_0x5b0399;},'FTQyS':function(_0x574cbc,_0x47f0b9){return _0x574cbc<_0x47f0b9;},'QTNFW':function(_0x3125ba,_0xa5c780){return _0x3125ba*_0xa5c780;},'RtTXN':function(_0x4380cf,_0x399f88){return _0x4380cf+_0x399f88;},'cGbeM':function(_0x314dd8,_0x19a407,_0x5f523c,_0x13942f,_0x5972bf){return _0x314dd8(_0x19a407,_0x5f523c,_0x13942f,_0x5972bf);},'IFHow':function(_0x3977d8,_0x26d523){return _0x3977d8+_0x26d523;},'VJmjc':_0x3354be(0x1e2),'WGoPp':function(_0x48f915,_0x147a26,_0x1b4187){return _0x48f915(_0x147a26,_0x1b4187);}};try{if(_0x13b17b[_0x3354be(0x16c)](_0x2eaf97,_0x13b17b[_0x3354be(0x15f)])){const _0x2aa888=await _0xe87352[_0x3354be(0x192)],_0x28828a=_0x13b17b[_0x3354be(0x18c)](getTestRunIdentifier,_0xe87352[_0x3354be(0x163)],_0xe87352[_0x3354be(0x192)][_0x3354be(0x153)]),_0x4651aa=_0xe87352[_0x3354be(0x163)];logger[_0x3354be(0x139)]('sendLogCreatedEvent:\x20testId='+_0x28828a+_0x3354be(0x19a)+util[_0x3354be(0x13c)](_0x2aa888));const _0x4c29b8=_0x174d5b['getAllData']()['get'](_0x28828a)[TestFrameworkConstants['KEY_TEST_UUID']];await _0x13b17b['MPTVb'](sendTraceZip,_0x2aa888,_0x4c29b8);const _0xedadc3=TestInfo[_0x3354be(0x1a8)](_0x28828a)[_0x13b17b['FAmiI']],_0x7f0919={};if(_0xedadc3){!_0x2aa888[_0x3354be(0x1ec)]&&(_0x2aa888['attachments']=[]);_0x7f0919[_0x3354be(0x1ec)]=_0x2aa888[_0x3354be(0x1ec)][_0x3354be(0x158)](_0xedadc3||[]);const _0x2557f5=TestInfo['getTestDetails'](_0x28828a);delete _0x2557f5[_0x13b17b[_0x3354be(0x155)]],TestInfo[_0x3354be(0x164)](_0x28828a,_0x2557f5);}const _0x37f687=_0x53c4e8||_0x13b17b[_0x3354be(0x121)](getStepsAndLogs,_0x2aa888[_0x3354be(0x20c)],_0x174d5b[_0x3354be(0x16b)]()[_0x3354be(0x110)](_0x28828a)[TestFrameworkConstants[_0x3354be(0x189)]],_0x13b17b[_0x3354be(0x15f)])[_0x3354be(0x184)],_0x1c5087=_0x13b17b[_0x3354be(0x18c)](getScreenshots,_0x7f0919,_0x174d5b[_0x3354be(0x16b)]()[_0x3354be(0x110)](_0x28828a)[TestFrameworkConstants[_0x3354be(0x189)]]),_0x41f01b=_0x13b17b[_0x3354be(0x137)](getVideos,_0x2aa888,_0x174d5b[_0x3354be(0x16b)]()['get'](_0x28828a)[TestFrameworkConstants[_0x3354be(0x189)]]),{_:_0xbc0c9a,logs:_0x1fc328}=_0x13b17b[_0x3354be(0x137)](getFailureData,_0x2aa888[_0x3354be(0x1c6)],{'test_run_uuid':_0x174d5b[_0x3354be(0x16b)]()[_0x3354be(0x110)](_0x28828a)[TestFrameworkConstants[_0x3354be(0x189)]]}),_0x4ea664=TestInfo[_0x3354be(0x1a8)](_0x28828a)[TestFrameworkConstants[_0x3354be(0x145)]]||{},_0x51c2f9=_0x13b17b['MPTVb'](getMediaArtifactsLogs,_0x4ea664,_0x174d5b[_0x3354be(0x16b)]()[_0x3354be(0x110)](_0x28828a)[TestFrameworkConstants['KEY_TEST_UUID']]),_0xd9625c=_0x174d5b['getAllData']()[_0x3354be(0x110)](_0x28828a),{[TestFrameworkConstants[_0x3354be(0x216)]]:_0x224bf8='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x18eb56=''}=_0xd9625c,_0x108c9a=(_0x37f687||[])[_0x3354be(0x158)](_0x1c5087||[])[_0x3354be(0x158)](_0x1fc328||[])[_0x3354be(0x158)](_0x41f01b||[])[_0x3354be(0x158)](_0x51c2f9||[]),_0x1f11a4=0x28,_0x25e387=Math[_0x3354be(0x149)](_0x13b17b[_0x3354be(0x14e)](_0x108c9a[_0x3354be(0x196)],_0x1f11a4));for(let _0x4e75b3=0x0;_0x13b17b[_0x3354be(0x185)](_0x4e75b3,_0x25e387);_0x4e75b3++){const _0x57d0f3=_0x13b17b[_0x3354be(0x17a)](_0x4e75b3,_0x1f11a4),_0x3acad8=_0x13b17b['RtTXN'](_0x57d0f3,_0x1f11a4),_0x295393=_0x108c9a[_0x3354be(0x14a)](_0x57d0f3,_0x3acad8),_0x249cb8={'platformIndex':global?.[_0x3354be(0x1da)]??0x0,'logs':_0x295393,'testFrameworkName':_0x224bf8,'testFrameworkVersion':_0x18eb56,'testFrameworkState':_0x1171c5[_0x3354be(0x20b)]()[_0x3354be(0x1d7)]('.')[0x1]};_0x13b17b[_0x3354be(0x1dd)](updatePayloadForTraceLogs,_0x249cb8,_0xe87352,_0x28828a,_0x174d5b),logger['debug']('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x28828a+'\x20batch\x20'+_0x13b17b['IFHow'](_0x4e75b3,0x1)+'/'+_0x25e387+_0x3354be(0x20d)+util[_0x3354be(0x13c)](_0x249cb8));const _0x591b51=await GrpcClient[_0x3354be(0x115)]()[_0x3354be(0x1b0)](_0x249cb8);logger[_0x3354be(0x139)](_0x3354be(0x169)+_0x28828a+'\x20batch\x20'+_0x13b17b[_0x3354be(0x1f5)](_0x4e75b3,0x1)+'/'+_0x25e387+_0x3354be(0x1f7)+util[_0x3354be(0x13c)](_0x591b51));}}else{const {logs:_0x58ca9f}=_0x13b17b[_0x3354be(0x121)](getStepsAndLogs,_0xe87352[_0x3354be(0x126)][_0x3354be(0x20c)],_0x28cfac,_0x13b17b[_0x3354be(0x15b)]),_0x2f7c61=_0x13b17b[_0x3354be(0x1a5)](getTestRunIdentifier,_0xe87352['test'],_0xe87352[_0x3354be(0x192)][_0x3354be(0x153)]);logger[_0x3354be(0x139)]('sendLogCreatedEvent:\x20testId='+_0x2f7c61);const _0x406b09=_0x174d5b[_0x3354be(0x16b)]()[_0x3354be(0x110)](_0x2f7c61),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x625d4f='',[TestFrameworkConstants[_0x3354be(0x179)]]:_0x4435d8=''}=_0x406b09,_0x4b7444={'platformIndex':'0','logs':_0x58ca9f,'testFrameworkName':_0x625d4f,'testFrameworkVersion':_0x4435d8,'testFrameworkState':_0x1171c5['toString']()[_0x3354be(0x1d7)]('.')[0x1]};_0x13b17b[_0x3354be(0x1dd)](updatePayloadForTraceLogs,_0x4b7444,_0xe87352,_0x2f7c61,_0x174d5b),logger[_0x3354be(0x139)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x2f7c61+_0x3354be(0x20d)+util[_0x3354be(0x13c)](_0x4b7444));const _0x21381c=await GrpcClient[_0x3354be(0x115)]()['logCreatedEvent'](_0x4b7444);}}catch(_0x590693){logger['error'](_0x3354be(0x205)+util['format'](_0x590693));}}[a77_0x30aa02(0x152)](_0x468e4c){const _0x4f9bab=a77_0x30aa02,_0x8df23e={'CxIUe':function(_0x395adb,_0x5cf7bd,_0x4dde27){return _0x395adb(_0x5cf7bd,_0x4dde27);},'wbnyQ':function(_0x4b4c1d,_0x3d5073){return _0x4b4c1d<_0x3d5073;},'mrpfZ':_0x4f9bab(0x1ed)};try{const _0x2b90fd=_0x468e4c[_0x4f9bab(0x163)]['id'],_0x127e08=_0x8df23e[_0x4f9bab(0x1b6)](getTestRunIdentifier,_0x468e4c[_0x4f9bab(0x163)],_0x468e4c['result'][_0x4f9bab(0x153)]),_0x5771d0=_0x468e4c[_0x4f9bab(0x1ba)],_0x5c9179=_0x5771d0['getContext'](),_0x196316=_0x5771d0['getAllData']()[_0x4f9bab(0x110)](_0x127e08);logger['debug'](_0x4f9bab(0x15a)+_0x2b90fd);const {[TestFrameworkConstants[_0x4f9bab(0x216)]]:_0x4391c1='',[TestFrameworkConstants[_0x4f9bab(0x179)]]:_0x467fc7='',[TestFrameworkConstants[_0x4f9bab(0x194)]]:_0x4c426a='',[TestFrameworkConstants[_0x4f9bab(0x167)]]:_0x151d97=''}=_0x196316,_0x273a31=_0x5771d0[_0x4f9bab(0x1ff)]()[_0x4f9bab(0x20b)]()[_0x4f9bab(0x1d7)]('.')[0x1],_0x1c3c3a=_0x5771d0[_0x4f9bab(0x128)]()[_0x4f9bab(0x20b)]()['split']('.')[0x1],_0x1146b1=_0x8df23e[_0x4f9bab(0x1d3)](_0x468e4c?.[_0x4f9bab(0x192)]?.[_0x4f9bab(0x147)]??0x0,0x0)?0x0:_0x468e4c?.[_0x4f9bab(0x192)]?.[_0x4f9bab(0x147)]??0x0,_0x1f9817=_0x5771d0[_0x4f9bab(0x161)](),_0x1a36fd=Buffer[_0x4f9bab(0x132)](JSON['stringify'](_0x196316))[_0x4f9bab(0x20b)](_0x8df23e[_0x4f9bab(0x1cb)]),_0xd3ef6e={'hash':_0x5c9179[_0x4f9bab(0x1cd)](),'threadId':_0x5c9179[_0x4f9bab(0x1bc)]()[_0x4f9bab(0x20b)](),'processId':_0x5c9179[_0x4f9bab(0x178)]()[_0x4f9bab(0x20b)]()},_0x42a845={};_0x42a845[_0x4f9bab(0x170)]=_0x1146b1,_0x42a845[_0x4f9bab(0x1a6)]=_0x4391c1,_0x42a845[_0x4f9bab(0x111)]=_0x467fc7,_0x42a845[_0x4f9bab(0x18e)]=_0x273a31,_0x42a845[_0x4f9bab(0x1bf)]=_0x1c3c3a,_0x42a845['startedAt']=_0x4c426a,_0x42a845[_0x4f9bab(0x188)]=_0x151d97,_0x42a845['uuid']=_0x1f9817,_0x42a845[_0x4f9bab(0x1c2)]=_0x1a36fd,_0x42a845[_0x4f9bab(0x12f)]=_0xd3ef6e;const _0x1059d2=_0x42a845;return logger[_0x4f9bab(0x139)](_0x4f9bab(0x1bd)+_0x2b90fd+'\x20testState:\x20'+_0x273a31+_0x4f9bab(0x144)+_0x1c3c3a),_0x1059d2;}catch(_0x3e5d2b){return logger[_0x4f9bab(0x198)](_0x4f9bab(0x11b)+util[_0x4f9bab(0x125)](_0x3e5d2b)),{};}}}module['exports']=PlaywrightTestFramework;
@@ -1 +1 @@
1
- const a78_0x517f81=a78_0x1702;function a78_0x5b2a(){const _0x888e82=['GvVUg','../state/hookState.js','\x20target=','instance','4847210YdLqnp','setTrackedInstance','PuppeteerAutomationFramework','trackEvent:\x20automationFrameworkState=','603HdBwXC','PRE','RUNIm','../instances/trackedInstance.js','trackPuppeteerInstance:\x20instance\x20already\x20exists','../state/automationFrameworkState.js','getAutomationFrameworkName','11881664tAsEWF','771015muyFrv','9813UPwKbh','runHooks','getId','51079138LKKbqC','\x20hookState=','trackPuppeteerInstance:\x20created\x20instance\x20for\x20target=','getAutomationFrameworkVersion','86MDTJyK','resolveInstance','createContext',',\x20state=','uPaXq','trackEvent','logger','debug','54uQTSpa','137330AoAVoH','../../../helpers/classLogger.js','NONE','getTrackedInstance','1108HXVtea','7891eOwJgg','trackPuppeteerInstance:\x20saved\x20instance\x20contextId=','ymlVK','info','trackPuppeteerInstance'];a78_0x5b2a=function(){return _0x888e82;};return a78_0x5b2a();}function a78_0x1702(_0x330851,_0x320602){const _0x5b2ae0=a78_0x5b2a();return a78_0x1702=function(_0x17025b,_0x7d3323){_0x17025b=_0x17025b-0x1f1;let _0x448551=_0x5b2ae0[_0x17025b];return _0x448551;},a78_0x1702(_0x330851,_0x320602);}(function(_0x30a08d,_0xf3e6e6){const _0x38495a=a78_0x1702,_0x529ab6=_0x30a08d();while(!![]){try{const _0x2d609b=-parseInt(_0x38495a(0x208))/0x1*(parseInt(_0x38495a(0x1fa))/0x2)+parseInt(_0x38495a(0x1f3))/0x3*(-parseInt(_0x38495a(0x207))/0x4)+parseInt(_0x38495a(0x211))/0x5+-parseInt(_0x38495a(0x202))/0x6*(parseInt(_0x38495a(0x1f2))/0x7)+-parseInt(_0x38495a(0x1f1))/0x8+parseInt(_0x38495a(0x215))/0x9*(-parseInt(_0x38495a(0x203))/0xa)+parseInt(_0x38495a(0x1f6))/0xb;if(_0x2d609b===_0xf3e6e6)break;else _0x529ab6['push'](_0x529ab6['shift']());}catch(_0x725358){_0x529ab6['push'](_0x529ab6['shift']());}}}(a78_0x5b2a,0xed0f4));const AutomationFramework=require('./automationFramework.js'),{createClassLogger}=require(a78_0x517f81(0x204)),AutomationFrameworkState=require(a78_0x517f81(0x21a)),HookState=require(a78_0x517f81(0x20e)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a78_0x517f81(0x218)),AutomationFrameworkInstance=require('../instances/automationFrameworkInstance.js');class PuppeteerAutomationFramework extends AutomationFramework{[a78_0x517f81(0x200)]=createClassLogger(a78_0x517f81(0x213));constructor(_0x58c659,_0x262dc9){super(_0x58c659,_0x262dc9);}async[a78_0x517f81(0x1ff)](_0x539ca6,_0x3bfb6e,_0x58e25a={}){const _0x5a1024=a78_0x517f81,_0x23ed84={};_0x23ed84[_0x5a1024(0x20a)]=function(_0x3cb046,_0x981478){return _0x3cb046===_0x981478;},_0x23ed84[_0x5a1024(0x1fe)]='trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking';const _0x4d566f=_0x23ed84;this['logger']['debug'](_0x5a1024(0x214)+_0x539ca6+_0x5a1024(0x1f7)+_0x3bfb6e),await super[_0x5a1024(0x1ff)](_0x539ca6,_0x3bfb6e,_0x58e25a);const _0x4fb19f=this[_0x5a1024(0x1fb)](_0x539ca6,_0x3bfb6e,_0x58e25a);if(_0x4d566f['ymlVK'](_0x4fb19f,null)){this['logger'][_0x5a1024(0x201)](_0x4d566f[_0x5a1024(0x1fe)]);return;}_0x58e25a[_0x5a1024(0x210)]=_0x4fb19f,await this[_0x5a1024(0x1f4)](_0x4fb19f,_0x539ca6,_0x3bfb6e,_0x58e25a);}[a78_0x517f81(0x1fb)](_0x1a663c,_0x552777,_0x24d687={}){const _0x488960=a78_0x517f81,_0x114e35={};_0x114e35[_0x488960(0x217)]=function(_0x59c97b,_0xe7536e){return _0x59c97b===_0xe7536e;};const _0x1378f5=_0x114e35;let _0x33d1b2=null;return(_0x1378f5[_0x488960(0x217)](_0x1a663c,AutomationFrameworkState['CREATE'])&&_0x1378f5[_0x488960(0x217)](_0x552777,HookState[_0x488960(0x216)])||_0x1378f5[_0x488960(0x217)](_0x1a663c,AutomationFrameworkState[_0x488960(0x205)]))&&this['trackPuppeteerInstance'](_0x1a663c,_0x24d687),_0x33d1b2=AutomationFramework[_0x488960(0x206)](),_0x33d1b2;}[a78_0x517f81(0x20c)](_0x4520cf,_0x1756dc){const _0x55febb=a78_0x517f81,_0xac090b={};_0xac090b[_0x55febb(0x20d)]=_0x55febb(0x219);const _0x36dd59=_0xac090b;if(AutomationFramework[_0x55febb(0x206)]()){this[_0x55febb(0x200)][_0x55febb(0x20b)](_0x36dd59[_0x55febb(0x20d)]);return;}const _0x4525b0=CLIUtils['getCurrentInstanceName'](),_0x225785=TrackedInstance[_0x55febb(0x1fc)](_0x4525b0);let _0x32cb1b=null;this['logger'][_0x55febb(0x20b)](_0x55febb(0x1f8)+_0x4525b0+_0x55febb(0x1fd)+_0x4520cf),_0x32cb1b=new AutomationFrameworkInstance(_0x225785,this[_0x55febb(0x21b)](),this[_0x55febb(0x1f9)](),_0x4520cf),AutomationFramework[_0x55febb(0x212)](_0x225785,_0x32cb1b),this[_0x55febb(0x200)]['info'](_0x55febb(0x209)+_0x225785[_0x55febb(0x1f5)]()+_0x55febb(0x20f)+_0x4525b0);}}module['exports']=PuppeteerAutomationFramework;
1
+ const a78_0x39e9eb=a78_0x1c5c;function a78_0x1c5c(_0x5b7b4d,_0x418df8){const _0x2cd3bd=a78_0x2cd3();return a78_0x1c5c=function(_0x1c5ce6,_0x5f12be){_0x1c5ce6=_0x1c5ce6-0xb2;let _0x284b3f=_0x2cd3bd[_0x1c5ce6];return _0x284b3f;},a78_0x1c5c(_0x5b7b4d,_0x418df8);}(function(_0x2f55de,_0x33c690){const _0x289f7b=a78_0x1c5c,_0x55d0eb=_0x2f55de();while(!![]){try{const _0x1808bd=-parseInt(_0x289f7b(0xd8))/0x1*(parseInt(_0x289f7b(0xc5))/0x2)+parseInt(_0x289f7b(0xb2))/0x3*(parseInt(_0x289f7b(0xc9))/0x4)+-parseInt(_0x289f7b(0xc2))/0x5*(-parseInt(_0x289f7b(0xd9))/0x6)+parseInt(_0x289f7b(0xb5))/0x7+-parseInt(_0x289f7b(0xda))/0x8*(parseInt(_0x289f7b(0xb4))/0x9)+-parseInt(_0x289f7b(0xcf))/0xa+-parseInt(_0x289f7b(0xd5))/0xb;if(_0x1808bd===_0x33c690)break;else _0x55d0eb['push'](_0x55d0eb['shift']());}catch(_0x1cd19c){_0x55d0eb['push'](_0x55d0eb['shift']());}}}(a78_0x2cd3,0x1d6bd));function a78_0x2cd3(){const _0x7df3a5=['5DGOQzi','getAutomationFrameworkVersion','createContext','994VNxcqI','../../../helpers/classLogger.js','trackEvent:\x20automationFrameworkState=','logger','8bqTncq','resolveInstance','ENXBp','getCurrentInstanceName','../cliUtils.js','trackEvent','1293180bwvkcA',',\x20state=','./automationFramework.js','getAutomationFrameworkName','../state/automationFrameworkState.js','NONE','275143mKanYr','instance','trackPuppeteerInstance:\x20created\x20instance\x20for\x20target=','243KbGeNe','1275582iSwteO','220680HBeAZj','getTrackedInstance','runHooks','\x20hookState=','151428rRWfqu','../instances/automationFrameworkInstance.js','45ISEMja','1539909AINmtN','debug','info','trackPuppeteerInstance','trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking','vLVyp','cuJCq','ngsyF','PuppeteerAutomationFramework','\x20target=','CREATE','setTrackedInstance','HwBDd'];a78_0x2cd3=function(){return _0x7df3a5;};return a78_0x2cd3();}const AutomationFramework=require(a78_0x39e9eb(0xd1)),{createClassLogger}=require(a78_0x39e9eb(0xc6)),AutomationFrameworkState=require(a78_0x39e9eb(0xd3)),HookState=require('../state/hookState.js'),CLIUtils=require(a78_0x39e9eb(0xcd)),TrackedInstance=require('../instances/trackedInstance.js'),AutomationFrameworkInstance=require(a78_0x39e9eb(0xb3));class PuppeteerAutomationFramework extends AutomationFramework{[a78_0x39e9eb(0xc8)]=createClassLogger(a78_0x39e9eb(0xbd));constructor(_0x4ff2ae,_0x485aab){super(_0x4ff2ae,_0x485aab);}async[a78_0x39e9eb(0xce)](_0x4509a9,_0x107d19,_0x3c03a7={}){const _0x14e501=a78_0x39e9eb,_0x536ebd={};_0x536ebd[_0x14e501(0xbb)]=function(_0x28e26c,_0x422f3e){return _0x28e26c===_0x422f3e;},_0x536ebd[_0x14e501(0xbc)]=_0x14e501(0xb9);const _0x453852=_0x536ebd;this[_0x14e501(0xc8)][_0x14e501(0xb6)](_0x14e501(0xc7)+_0x4509a9+_0x14e501(0xdd)+_0x107d19),await super['trackEvent'](_0x4509a9,_0x107d19,_0x3c03a7);const _0x15fd2a=this[_0x14e501(0xca)](_0x4509a9,_0x107d19,_0x3c03a7);if(_0x453852[_0x14e501(0xbb)](_0x15fd2a,null)){this[_0x14e501(0xc8)]['debug'](_0x453852[_0x14e501(0xbc)]);return;}_0x3c03a7[_0x14e501(0xd6)]=_0x15fd2a,await this[_0x14e501(0xdc)](_0x15fd2a,_0x4509a9,_0x107d19,_0x3c03a7);}[a78_0x39e9eb(0xca)](_0x33d2ba,_0x128e67,_0x392d77={}){const _0x363d10=a78_0x39e9eb,_0x46e9e6={};_0x46e9e6['HwBDd']=function(_0xd6e64a,_0x2ef97f){return _0xd6e64a===_0x2ef97f;},_0x46e9e6[_0x363d10(0xcb)]=function(_0x3cef75,_0x531cc6){return _0x3cef75===_0x531cc6;};const _0xd452f1=_0x46e9e6;let _0x34bb9a=null;return(_0xd452f1[_0x363d10(0xc1)](_0x33d2ba,AutomationFrameworkState[_0x363d10(0xbf)])&&_0xd452f1[_0x363d10(0xcb)](_0x128e67,HookState['PRE'])||_0xd452f1[_0x363d10(0xcb)](_0x33d2ba,AutomationFrameworkState[_0x363d10(0xd4)]))&&this[_0x363d10(0xb8)](_0x33d2ba,_0x392d77),_0x34bb9a=AutomationFramework['getTrackedInstance'](),_0x34bb9a;}[a78_0x39e9eb(0xb8)](_0x4143be,_0xd44678){const _0x369c3e=a78_0x39e9eb,_0x495e43={};_0x495e43[_0x369c3e(0xba)]='trackPuppeteerInstance:\x20instance\x20already\x20exists';const _0x2d59ce=_0x495e43;if(AutomationFramework[_0x369c3e(0xdb)]()){this['logger'][_0x369c3e(0xb7)](_0x2d59ce['vLVyp']);return;}const _0x4c1e15=CLIUtils[_0x369c3e(0xcc)](),_0x53978d=TrackedInstance[_0x369c3e(0xc4)](_0x4c1e15);let _0x165bdb=null;this[_0x369c3e(0xc8)][_0x369c3e(0xb7)](_0x369c3e(0xd7)+_0x4c1e15+_0x369c3e(0xd0)+_0x4143be),_0x165bdb=new AutomationFrameworkInstance(_0x53978d,this[_0x369c3e(0xd2)](),this[_0x369c3e(0xc3)](),_0x4143be),AutomationFramework[_0x369c3e(0xc0)](_0x53978d,_0x165bdb),this[_0x369c3e(0xc8)][_0x369c3e(0xb7)]('trackPuppeteerInstance:\x20saved\x20instance\x20contextId='+_0x53978d['getId']()+_0x369c3e(0xbe)+_0x4c1e15);}}module['exports']=PuppeteerAutomationFramework;