browserstack-node-sdk 1.46.7 → 1.47.0

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 (187) 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/generated/sdk-messages_pb.d.ts +18 -0
  41. package/generated/sdk-messages_pb.js +147 -3
  42. package/package.json +1 -1
  43. package/src/ai-sdk-node/bundle.js +1 -1
  44. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  45. package/src/bin/codeceptjs/command.js +1 -1
  46. package/src/bin/codeceptjs/helper.js +1 -1
  47. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  48. package/src/bin/cucumber-js/command.js +1 -1
  49. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  50. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  51. package/src/bin/cucumber-js/test-observability.js +1 -1
  52. package/src/bin/cucumber-js/test.setup.js +1 -1
  53. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  54. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  55. package/src/bin/integrations/command.js +1 -1
  56. package/src/bin/integrations/constants.js +1 -1
  57. package/src/bin/jest/command.js +1 -1
  58. package/src/bin/jest/customImplements/customCircus.js +1 -1
  59. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  60. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  61. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  62. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  63. package/src/bin/jest/jest.setup.js +1 -1
  64. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  65. package/src/bin/jest/test-observability/helper.js +1 -1
  66. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  67. package/src/bin/jest/test-observability/test-details.js +1 -1
  68. package/src/bin/jest/test.setup.js +1 -1
  69. package/src/bin/jest/test_before.setup.js +1 -1
  70. package/src/bin/launcher/launcher.js +1 -1
  71. package/src/bin/load/index.js +1 -1
  72. package/src/bin/load/loadUtils.js +1 -1
  73. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  74. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  75. package/src/bin/mocha/command.js +1 -1
  76. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  77. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  78. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  79. package/src/bin/mocha/test.setup.js +1 -1
  80. package/src/bin/nightwatch/command.js +1 -1
  81. package/src/bin/playwright/accessibility-helper.js +1 -1
  82. package/src/bin/playwright/command.js +1 -1
  83. package/src/bin/playwright/globalSetup.js +1 -1
  84. package/src/bin/playwright/mock-process.js +1 -1
  85. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  86. package/src/bin/playwright/patches.js +1 -1
  87. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  88. package/src/bin/playwright/reporter/reporter.js +1 -1
  89. package/src/bin/playwright/reporter/test-details.js +1 -1
  90. package/src/bin/playwright/sessionDetails.js +1 -1
  91. package/src/bin/runner.js +1 -1
  92. package/src/bin/setup.js +1 -1
  93. package/src/bin/test-runner/index.js +1 -1
  94. package/src/bin/test-runner/runTest.js +1 -1
  95. package/src/bin/test-runner/testWorker.js +1 -1
  96. package/src/bin/utils/apiUtilityMethods.js +1 -1
  97. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  98. package/src/bin/utils/constants.js +1 -1
  99. package/src/bin/utils/log4jsAppender.js +1 -1
  100. package/src/bin/utils/logPatcher.js +1 -1
  101. package/src/bin/utils/logReportingAPI.js +1 -1
  102. package/src/bin/utils/playwright-patcher.js +1 -1
  103. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  104. package/src/bin/utils/sharedUtils.js +1 -1
  105. package/src/bin/v2/TestInfo.js +1 -1
  106. package/src/bin/v2/browserstackCLI.js +1 -1
  107. package/src/bin/v2/cliUtils.js +1 -1
  108. package/src/bin/v2/customTagManager.js +1 -1
  109. package/src/bin/v2/eventDispatcher.js +1 -1
  110. package/src/bin/v2/framework/automationFramework.js +1 -1
  111. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  112. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  113. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  114. package/src/bin/v2/framework/jestTestFramework.js +1 -0
  115. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  116. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  117. package/src/bin/v2/framework/testFramework.js +1 -1
  118. package/src/bin/v2/grpcClient.js +1 -1
  119. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  120. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  121. package/src/bin/v2/instances/trackedContext.js +1 -1
  122. package/src/bin/v2/instances/trackedInstance.js +1 -1
  123. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  124. package/src/bin/v2/modules/baseModule.js +1 -1
  125. package/src/bin/v2/modules/observabilityModule.js +1 -1
  126. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  127. package/src/bin/v2/modules/testhubModule.js +1 -1
  128. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  129. package/src/bin/v2/state/hookState.js +1 -1
  130. package/src/bin/v2/state/testFrameworkState.js +1 -1
  131. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  132. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  133. package/src/bin/v2/utils/jest-utils.js +1 -0
  134. package/src/bin/vanilla-js/command.js +1 -1
  135. package/src/browserStackSdk.js +1 -1
  136. package/src/helpers/BrowserStackSetup.js +1 -1
  137. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  138. package/src/helpers/accessibility-automation/constants.js +1 -1
  139. package/src/helpers/accessibility-automation/helper.js +1 -1
  140. package/src/helpers/accessibility-automation/scripts.js +1 -1
  141. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  142. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  143. package/src/helpers/ats/constants.js +1 -1
  144. package/src/helpers/ats/helper.js +1 -1
  145. package/src/helpers/capsMapping.js +1 -1
  146. package/src/helpers/central-scanner/constants.js +1 -1
  147. package/src/helpers/central-scanner/helpers.js +1 -1
  148. package/src/helpers/classLogger.js +1 -1
  149. package/src/helpers/globals.js +1 -1
  150. package/src/helpers/helper.js +1 -1
  151. package/src/helpers/logger.js +1 -1
  152. package/src/helpers/metadata.js +1 -1
  153. package/src/helpers/patchHelper.js +1 -1
  154. package/src/helpers/patchHelpers.js +1 -1
  155. package/src/helpers/percy/Percy.js +1 -1
  156. package/src/helpers/percy/PercyBinary.js +1 -1
  157. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  158. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  159. package/src/helpers/percy/PercySDK.js +1 -1
  160. package/src/helpers/percy/index.js +1 -1
  161. package/src/helpers/percy/utils.js +1 -1
  162. package/src/helpers/performance/constants.js +1 -1
  163. package/src/helpers/performance/performance-tester.js +1 -1
  164. package/src/helpers/playwright-helper.js +1 -1
  165. package/src/helpers/processHelper.js +1 -1
  166. package/src/helpers/request-spy.js +1 -1
  167. package/src/helpers/setKeepAlive.js +1 -1
  168. package/src/helpers/test-observability/constants.js +1 -1
  169. package/src/helpers/test-observability/error-handler.js +1 -1
  170. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  171. package/src/helpers/test-observability/sessionHandler.js +1 -1
  172. package/src/helpers/test-observability/utils.js +1 -1
  173. package/src/helpers/test-orchestration/constants.js +1 -1
  174. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  175. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  176. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  177. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  178. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  179. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  180. package/src/helpers/testhub/constants.js +1 -1
  181. package/src/helpers/testhub/testhubHandler.js +1 -1
  182. package/src/helpers/testhub/utils.js +1 -1
  183. package/src/helpers/timeoutPromise.js +1 -1
  184. package/src/helpers/utilities.js +1 -1
  185. package/src/helpers/w3cMapping.js +1 -1
  186. package/src/hubAllocationMethods.js +1 -1
  187. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a70_0x405067=a70_0x35f5;(function(_0x4792b8,_0x5f23b4){const _0x5cad7f=a70_0x35f5,_0x533c22=_0x4792b8();while(!![]){try{const _0x3bbdfe=-parseInt(_0x5cad7f(0x162))/0x1*(parseInt(_0x5cad7f(0x14c))/0x2)+parseInt(_0x5cad7f(0x172))/0x3*(-parseInt(_0x5cad7f(0x14a))/0x4)+parseInt(_0x5cad7f(0x145))/0x5*(parseInt(_0x5cad7f(0x140))/0x6)+parseInt(_0x5cad7f(0x158))/0x7+parseInt(_0x5cad7f(0x161))/0x8+parseInt(_0x5cad7f(0x15c))/0x9*(parseInt(_0x5cad7f(0x12b))/0xa)+parseInt(_0x5cad7f(0x168))/0xb;if(_0x3bbdfe===_0x5f23b4)break;else _0x533c22['push'](_0x533c22['shift']());}catch(_0x2fde00){_0x533c22['push'](_0x533c22['shift']());}}}(a70_0x162e,0x7becc));function a70_0x35f5(_0x43237f,_0x333f45){const _0x162e5d=a70_0x162e();return a70_0x35f5=function(_0x35f54e,_0x3a67b9){_0x35f54e=_0x35f54e-0xd7;let _0x474c77=_0x162e5d[_0x35f54e];return _0x474c77;},a70_0x35f5(_0x43237f,_0x333f45);}const TestFramework=require(a70_0x405067(0x157)),TestFrameworkState=require(a70_0x405067(0x193)),HookState=require(a70_0x405067(0x14e)),{createClassLogger}=require(a70_0x405067(0x18a)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a70_0x405067(0xfc)),TrackedInstance=require(a70_0x405067(0x154)),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),{getManualUploadLogs,getMediaArtifactsLogs}=require(a70_0x405067(0x11d)),logger=createClassLogger(a70_0x405067(0x146)),{v4:uuidv4}=require(a70_0x405067(0x1a3)),util=require(a70_0x405067(0xf7)),TestInfo=require(a70_0x405067(0x10c)),GrpcClient=require(a70_0x405067(0x134));class CucumberTestFramework extends TestFramework{constructor(_0x547f74,_0x16d302,_0xb63663){super(_0x547f74,_0x16d302,_0xb63663);}async[a70_0x405067(0x127)](_0xb80b81,_0x42a70b,_0x4468a0={}){const _0x125904=a70_0x405067,_0x133107={};_0x133107[_0x125904(0x16e)]=_0x125904(0x1a4),_0x133107[_0x125904(0x186)]=function(_0x5393f3,_0x4fecd6){return _0x5393f3===_0x4fecd6;},_0x133107[_0x125904(0x185)]=function(_0xb99f8d,_0x705e30){return _0xb99f8d===_0x705e30;},_0x133107[_0x125904(0x13f)]=_0x125904(0x178);const _0x34f3a6=_0x133107;await super['trackEvent'](_0xb80b81,_0x42a70b,_0x4468a0);const _0x33447c=this[_0x125904(0xdf)](_0xb80b81,_0x42a70b,_0x4468a0);if(!_0x33447c){logger[_0x125904(0x139)](_0x34f3a6[_0x125904(0x16e)]);return;}try{let _0x31bb03,_0x1da63f;switch(_0xb80b81){case TestFrameworkState[_0x125904(0x176)]:_0x31bb03=_0x4468a0[_0x125904(0x114)],_0x1da63f=TestInfo[_0x125904(0x147)](_0x31bb03['id']);if(_0x34f3a6[_0x125904(0x186)](_0x42a70b,HookState['PRE'])){logger[_0x125904(0x139)](_0x125904(0xda)+_0x31bb03['id']);const _0x277873={};_0x277873[_0x125904(0x144)]=_0x1da63f,_0x277873[_0x125904(0x12f)]=_0x31bb03,_0x33447c['addMultipleEntries'](this[_0x125904(0x130)](_0x277873)),logger[_0x125904(0x139)](_0x125904(0x179)+_0x31bb03['id']),await this[_0x125904(0x121)](_0x33447c,_0x31bb03['id']);}else{if(_0x34f3a6[_0x125904(0x186)](_0x42a70b,HookState[_0x125904(0x126)])){const _0x5777a4={};_0x5777a4[_0x125904(0x144)]=_0x1da63f,_0x5777a4[_0x125904(0x12f)]=_0x31bb03,_0x33447c[_0x125904(0x15b)](this[_0x125904(0x123)](_0x5777a4)),await this['processPendingHooks'](_0x33447c,_0x31bb03['id']);}}break;case TestFrameworkState['LOG_REPORT']:_0x34f3a6[_0x125904(0x185)](_0x42a70b,HookState[_0x125904(0x126)])&&await this[_0x125904(0x155)](_0x33447c,_0xb80b81,_0x4468a0);break;default:if(CLIUtils['matchHookRegex'](_0xb80b81[_0x125904(0x170)]()[_0x125904(0x180)]('.')[0x1])){const _0x4eb6c5=await this[_0x125904(0x17b)](_0x33447c,_0xb80b81,_0x42a70b,_0x4468a0);_0x33447c[_0x125904(0x15b)](_0x4eb6c5);}else logger[_0x125904(0x139)](_0x125904(0x10d)+_0xb80b81+'\x20&\x20hookState='+_0x42a70b);break;}}catch(_0xd1be4b){logger[_0x125904(0xe6)](util['format'](_0x34f3a6['EWUJb'],_0xb80b81,_0x42a70b,_0x4468a0[_0x125904(0xd9)],_0xd1be4b));}_0x4468a0[_0x125904(0xd8)]=_0x33447c,await this[_0x125904(0x129)](_0x33447c,_0xb80b81,_0x42a70b,_0x4468a0);}[a70_0x405067(0xdf)](_0x400557,_0x5b18c8,_0x383cb8={}){const _0x59862b=a70_0x405067,_0x5e09ae={};_0x5e09ae[_0x59862b(0xde)]=function(_0x14a747,_0x40c464){return _0x14a747===_0x40c464;},_0x5e09ae['kfhcb']=function(_0x5a48a6,_0xfb8923){return _0x5a48a6===_0xfb8923;};const _0x40aef4=_0x5e09ae;let _0x26b525=null;return(_0x40aef4[_0x59862b(0xde)](_0x400557,TestFrameworkState['INIT_TEST'])||_0x40aef4[_0x59862b(0x19a)](_0x400557,TestFrameworkState[_0x59862b(0x10f)]))&&this[_0x59862b(0x13d)](_0x400557,_0x383cb8),_0x26b525=TestFramework[_0x59862b(0x188)](),_0x26b525;}[a70_0x405067(0x13d)](_0x571645,_0x5a19ea){const _0x251902=a70_0x405067,_0x17d31e=CLIUtils[_0x251902(0x153)](),_0x41a518=TrackedInstance[_0x251902(0x15e)](_0x17d31e);let _0x9a849a=null;logger[_0x251902(0x139)]('trackCucumberInstance:\x20created\x20instance\x20for\x20target='+_0x17d31e+_0x251902(0xf1)+_0x571645),_0x9a849a=new TestFrameworkInstance(_0x41a518,this['getTestFrameworks'](),this[_0x251902(0x10a)](),_0x571645,HookState[_0x251902(0x10f)]),TestFramework[_0x251902(0x11f)](_0x41a518,_0x9a849a),logger[_0x251902(0x139)](_0x251902(0xf5)+_0x41a518['getId']()+_0x251902(0x115)+_0x17d31e);}[a70_0x405067(0x130)](_0x7b8a88){const _0x246c60=a70_0x405067,_0x197d5b={};_0x197d5b[_0x246c60(0xf6)]=_0x246c60(0x15a);const _0x1f7b15=_0x197d5b,{testUUID:_0x5c3d99,testData:_0x412d5a}=_0x7b8a88;if(!_0x412d5a||!_0x412d5a[_0x246c60(0x1a3)])return logger['debug'](_0x1f7b15[_0x246c60(0xf6)]),{};const _0x48193c=_0x412d5a['uuid'],_0x44633e=_0x412d5a[_0x246c60(0x1a3)],_0x594a3c=this[_0x246c60(0x190)]()[0x0],_0xc493e7=this['getTestFrameworksVersions'](),_0x1fa990={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x594a3c,[TestFrameworkConstants[_0x246c60(0xf0)]]:_0xc493e7[_0x594a3c],[TestFrameworkConstants[_0x246c60(0x184)]]:[],[TestFrameworkConstants[_0x246c60(0x116)]]:{},[TestFrameworkConstants[_0x246c60(0x165)]]:{},[TestFrameworkConstants[_0x246c60(0x16f)]]:_0x48193c,[TestFrameworkConstants[_0x246c60(0x14f)]]:TestFrameworkConstants[_0x246c60(0x141)],[TestFrameworkConstants[_0x246c60(0x16c)]]:_0x412d5a[_0x246c60(0xdb)]||'',[TestFrameworkConstants[_0x246c60(0xf3)]]:_0x412d5a[_0x246c60(0x12c)]||'',[TestFrameworkConstants[_0x246c60(0x197)]]:_0x44633e,[TestFrameworkConstants[_0x246c60(0x19e)]]:_0x412d5a[_0x246c60(0xdb)]||'',[TestFrameworkConstants[_0x246c60(0x159)]]:_0x412d5a[_0x246c60(0x102)]||'',[TestFrameworkConstants[_0x246c60(0xdd)]]:_0x412d5a['body']?.[_0x246c60(0xe8)]||null,[TestFrameworkConstants[_0x246c60(0x192)]]:_0x412d5a[_0x246c60(0xec)]||[],[TestFrameworkConstants[_0x246c60(0x11c)]]:_0x412d5a[_0x246c60(0x17c)]||new Date()[_0x246c60(0x177)](),[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x412d5a[_0x246c60(0xf8)]?.[0x0]||'',[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x412d5a[_0x246c60(0xf8)]||[],[TestFrameworkConstants[_0x246c60(0xfb)]]:_0x412d5a['customRerunParam']?.[_0x246c60(0x17d)]||_0x412d5a[_0x246c60(0xdb)]||'',[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:{},[TestFrameworkConstants[_0x246c60(0x151)]]:_0x412d5a[_0x246c60(0x103)]||{}};TestInfo[_0x246c60(0xe7)](_0x44633e,_0x1fa990),logger[_0x246c60(0x139)]('Parsed\x20cucumber\x20test:\x20'+_0x412d5a['name']+_0x246c60(0x111)+_0x48193c);const _0x366980={};return _0x366980[_0x44633e]=_0x1fa990,_0x366980;}[a70_0x405067(0x123)](_0x12484f){const _0x5d568c=a70_0x405067,_0x1fe342={'aoUMf':_0x5d568c(0xe3),'KOLeb':'unknown','ySQzS':function(_0x1169c6,_0xaefb28){return _0x1169c6===_0xaefb28;},'wPrlh':_0x5d568c(0x136),'fJTBW':_0x5d568c(0x135),'zStiO':function(_0x31bee8,_0x3f46e0,_0x34dfac){return _0x31bee8(_0x3f46e0,_0x34dfac);},'dPFan':function(_0x20aaf9,_0x30975e){return _0x20aaf9>_0x30975e;},'kJpvd':function(_0x2a0a2b,_0x41d06d){return _0x2a0a2b>_0x41d06d;}},{testUUID:_0x3cd173,testData:_0xcd92a4}=_0x12484f;if(!_0xcd92a4||!_0xcd92a4[_0x5d568c(0x1a3)])return logger[_0x5d568c(0x139)](_0x1fe342[_0x5d568c(0x183)]),{};const _0x4f9f44=this[_0x5d568c(0xdf)](TestFrameworkState[_0x5d568c(0x176)],HookState['POST']),_0x233fc3=_0xcd92a4[_0x5d568c(0x1a3)],_0x30c34c=TestInfo[_0x5d568c(0x125)](_0x233fc3)||{},_0x5b9d23=_0x30c34c?_0x30c34c[TestFrameworkConstants[_0x5d568c(0x112)]]||{}:{},_0x53243f={..._0x30c34c,[TestFrameworkConstants['KEY_TEST_RESULT']]:_0xcd92a4[_0x5d568c(0x150)]||_0x1fe342[_0x5d568c(0x109)],[TestFrameworkConstants[_0x5d568c(0x189)]]:_0xcd92a4[_0x5d568c(0x16a)]||new Date()[_0x5d568c(0x177)](),[TestFrameworkConstants[_0x5d568c(0x120)]]:new Date()[_0x5d568c(0x177)](),[TestFrameworkConstants[_0x5d568c(0x112)]]:_0x5b9d23,[TestFrameworkConstants[_0x5d568c(0x1a5)]]:[],[TestFrameworkConstants[_0x5d568c(0x151)]]:_0xcd92a4[_0x5d568c(0x103)]||{}};_0x1fe342[_0x5d568c(0x174)](_0xcd92a4[_0x5d568c(0x150)],_0x1fe342['wPrlh'])&&_0xcd92a4[_0x5d568c(0xed)]&&(_0x53243f[TestFrameworkConstants[_0x5d568c(0x195)]]=_0xcd92a4[_0x5d568c(0x12d)]||_0x1fe342['fJTBW'],_0x53243f[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]=_0xcd92a4[_0x5d568c(0x19b)]||'',_0x53243f[TestFrameworkConstants[_0x5d568c(0xeb)]]=_0xcd92a4[_0x5d568c(0xed)]);const _0x4ad983=TestInfo[_0x5d568c(0x125)](_0x233fc3)[TestFrameworkConstants[_0x5d568c(0x194)]]||{},_0x59f91b=_0x1fe342[_0x5d568c(0x118)](getManualUploadLogs,_0x4ad983,_0x4f9f44[_0x5d568c(0xe9)]()[_0x5d568c(0x164)](_0x233fc3)[TestFrameworkConstants[_0x5d568c(0x16f)]]);if(_0x1fe342[_0x5d568c(0x100)](_0x59f91b[_0x5d568c(0xd9)],0x0)){const _0x4b7efe=_0x53243f[TestFrameworkConstants[_0x5d568c(0x1a5)]]||[];_0x53243f[TestFrameworkConstants[_0x5d568c(0x1a5)]]=[..._0x4b7efe,..._0x59f91b];}_0xcd92a4[_0x5d568c(0x113)]&&_0x1fe342[_0x5d568c(0x107)](_0xcd92a4['hooks'][_0x5d568c(0xd9)],0x0)&&(_0x53243f[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0xcd92a4[_0x5d568c(0x113)]);TestInfo['setTestDetails'](_0x233fc3,_0x53243f),logger[_0x5d568c(0x139)](_0x5d568c(0x181)+_0xcd92a4[_0x5d568c(0xdb)]+_0x5d568c(0x148)+_0xcd92a4[_0x5d568c(0x150)]);const _0xc3d526={};return _0xc3d526[_0x233fc3]=_0x53243f,_0xc3d526;}async[a70_0x405067(0x17b)](_0x132e8c,_0x3ffe39,_0x384a27,_0x523f06){const _0x242db0=a70_0x405067,_0x45d408={'PPcRe':'No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','VpJqU':function(_0x52ff5d){return _0x52ff5d();},'dWWyY':function(_0x5f5d73,_0x4220bb){return _0x5f5d73 in _0x4220bb;},'HSLKA':function(_0x1ebb5d,_0x18588b){return _0x1ebb5d===_0x18588b;},'TsVZI':function(_0x3e9dbf,_0x14b8dd){return _0x3e9dbf>_0x14b8dd;},'EQphO':function(_0x2e2436,_0x339b73){return _0x2e2436===_0x339b73;},'TRZhg':_0x242db0(0x136),'eXIca':_0x242db0(0x135),'qwJpO':_0x242db0(0x101),'bxODj':function(_0x5abbf9,_0x43a40e){return _0x5abbf9!==_0x43a40e;}},{hookData:_0x5ecb47}=_0x523f06;if(!_0x5ecb47)return logger[_0x242db0(0x139)](_0x45d408['PPcRe']),{};const _0x17556a=_0x5ecb47[_0x242db0(0x1a3)]||_0x45d408['VpJqU'](uuidv4),_0x396437=_0x5ecb47[_0x242db0(0x13b)],_0x54f182=_0x3ffe39[_0x242db0(0x170)]()['split']('.')[0x1],_0x2e2833=TestInfo[_0x242db0(0x125)](_0x396437)[TestFrameworkConstants[_0x242db0(0x112)]]||{},_0x5c2452=_0x132e8c[_0x242db0(0xe9)]()[_0x242db0(0x164)](_0x396437);if(!_0x5c2452)return logger[_0x242db0(0x139)]('No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x396437+',\x20storing\x20as\x20pending\x20hook'),this[_0x242db0(0xee)](_0x132e8c,_0x396437,_0x3ffe39,_0x384a27,_0x523f06),{};let _0x23d6ff=_0x5c2452[TestFrameworkConstants[_0x242db0(0x165)]];!_0x23d6ff&&(_0x23d6ff={});!_0x45d408[_0x242db0(0xe4)](_0x54f182,_0x23d6ff)&&(_0x23d6ff[_0x54f182]=[]);let _0x5d8690=_0x5c2452[TestFrameworkConstants[_0x242db0(0x116)]];!_0x5d8690&&(_0x5d8690={});!_0x45d408[_0x242db0(0xe4)](_0x54f182,_0x5d8690)&&(_0x5d8690[_0x54f182]=[]);const _0x458118={[TestFrameworkConstants[_0x242db0(0x165)]]:_0x23d6ff,[TestFrameworkConstants[_0x242db0(0x116)]]:_0x5d8690},_0x48deb4={};_0x48deb4[_0x396437]=_0x458118;const _0x56a223=_0x48deb4;if(_0x45d408['HSLKA'](_0x384a27,HookState[_0x242db0(0x117)])){const _0x2bed48={[TestFrameworkConstants['KEY_HOOK_ID']]:_0x17556a,[TestFrameworkConstants[_0x242db0(0xe0)]]:TestFrameworkConstants[_0x242db0(0x17f)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x5ecb47[_0x242db0(0x19d)],[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x5ecb47['hook_type'],[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x2e2833};_0x2bed48['key']=_0x54f182;const _0x4eefae=_0x2bed48;_0x23d6ff[_0x54f182][_0x242db0(0x13c)](_0x4eefae),_0x56a223[_0x396437][TestFrameworkConstants[_0x242db0(0x16d)]]=_0x54f182,logger[_0x242db0(0x139)]('trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20'+_0x54f182+_0x242db0(0xfe)+_0x4eefae+_0x242db0(0x128)+_0x523f06);}else{if(_0x45d408[_0x242db0(0xf2)](_0x384a27,HookState[_0x242db0(0x126)])){const _0x3ad0b1=_0x5ecb47[_0x242db0(0x150)],_0x787271=_0x23d6ff[_0x54f182]||[];logger[_0x242db0(0x139)]('trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20'+_0x787271+_0x242db0(0xfd)+_0x523f06);if(_0x45d408[_0x242db0(0x14b)](_0x787271[_0x242db0(0xd9)],0x0)){const _0x11e0be=_0x787271[_0x242db0(0x12e)]();_0x45d408[_0x242db0(0x11e)](_0x5ecb47[_0x242db0(0x150)],_0x45d408[_0x242db0(0x17a)])&&_0x5ecb47['failure_data']?(_0x11e0be[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=_0x5ecb47[_0x242db0(0x12d)]||_0x45d408[_0x242db0(0xe2)],_0x11e0be[TestFrameworkConstants[_0x242db0(0x137)]]=_0x5ecb47[_0x242db0(0x19b)]||'',_0x11e0be[TestFrameworkConstants[_0x242db0(0x131)]]=_0x5ecb47[_0x242db0(0x143)]):_0x11e0be[TestFrameworkConstants[_0x242db0(0xe0)]]=_0x45d408[_0x242db0(0x14d)];_0x45d408[_0x242db0(0x196)](_0x3ad0b1,TestFrameworkConstants[_0x242db0(0x17f)])&&(_0x11e0be[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x3ad0b1);_0x11e0be[TestFrameworkConstants[_0x242db0(0x156)]]=_0x5ecb47['finished_at']||new Date()[_0x242db0(0x177)](),_0x11e0be[TestFrameworkConstants[_0x242db0(0x112)]]=_0x2e2833;const _0x42eb15=_0x11e0be[TestFrameworkConstants[_0x242db0(0x160)]];!_0x5d8690[_0x54f182]&&(_0x5d8690[_0x54f182]=[]),_0x5d8690[_0x54f182][_0x242db0(0x13c)](_0x11e0be),_0x56a223[_0x396437][TestFrameworkConstants[_0x242db0(0x149)]]=_0x54f182;}}}return logger[_0x242db0(0x139)](_0x242db0(0xfa)+_0x5ecb47[_0x242db0(0x167)]+_0x242db0(0x1a2)+_0x17556a+_0x242db0(0x124)+_0x396437),_0x56a223;}[a70_0x405067(0x18d)](_0x1c8069){const _0x4f6c6c=a70_0x405067,_0x23a237={};_0x23a237[_0x4f6c6c(0xea)]=_0x4f6c6c(0xdc);const _0x7548c1=_0x23a237;try{const _0x3981a8=_0x1c8069[_0x4f6c6c(0x114)]?_0x1c8069[_0x4f6c6c(0x114)]['id']:_0x1c8069[_0x4f6c6c(0x142)][_0x4f6c6c(0x13b)],_0x1a1b6e=_0x1c8069[_0x4f6c6c(0xd8)],_0x50b50c=_0x1a1b6e[_0x4f6c6c(0x13e)](),_0x3c7925=_0x1a1b6e[_0x4f6c6c(0xe9)]()[_0x4f6c6c(0x164)](_0x3981a8);if(!_0x3c7925)return logger[_0x4f6c6c(0x139)](_0x4f6c6c(0x18c)+_0x3981a8),{};logger[_0x4f6c6c(0x139)](_0x4f6c6c(0x11b)+_0x3981a8);const {[TestFrameworkConstants[_0x4f6c6c(0x17e)]]:_0x37d619='',[TestFrameworkConstants[_0x4f6c6c(0xf0)]]:_0x1f8b72='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x5670c0='',[TestFrameworkConstants[_0x4f6c6c(0x189)]]:_0x451efc=''}=_0x3c7925,_0x354483=_0x1a1b6e[_0x4f6c6c(0x15f)]()[_0x4f6c6c(0x170)]()[_0x4f6c6c(0x180)]('.')[0x1],_0x3bbdd7=_0x1a1b6e['getCurrentHookState']()[_0x4f6c6c(0x170)]()[_0x4f6c6c(0x180)]('.')[0x1],_0x2ee6ef=global?.[_0x4f6c6c(0x163)]?.['workerInfo']?.[_0x4f6c6c(0x182)],_0x44ffb6=_0x1a1b6e[_0x4f6c6c(0xe1)](),_0x335613=Buffer[_0x4f6c6c(0x19c)](JSON[_0x4f6c6c(0x133)](_0x3c7925))[_0x4f6c6c(0x170)](_0x7548c1[_0x4f6c6c(0xea)]),_0x23b86d={'hash':_0x50b50c['getId'](),'threadId':_0x50b50c[_0x4f6c6c(0x11a)]()['toString'](),'processId':_0x50b50c[_0x4f6c6c(0x13a)]()[_0x4f6c6c(0x170)]()},_0x260889={};_0x260889['platformIndex']=_0x2ee6ef,_0x260889['testFrameworkName']=_0x37d619,_0x260889[_0x4f6c6c(0x105)]=_0x1f8b72,_0x260889['testFrameworkState']=_0x354483,_0x260889[_0x4f6c6c(0x110)]=_0x3bbdd7,_0x260889[_0x4f6c6c(0x17c)]=_0x5670c0,_0x260889[_0x4f6c6c(0x10b)]=_0x451efc,_0x260889[_0x4f6c6c(0x1a3)]=_0x44ffb6,_0x260889[_0x4f6c6c(0x106)]=_0x335613,_0x260889['executionContext']=_0x23b86d;const _0x5e3010=_0x260889;return logger['debug']('createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20'+_0x3981a8+_0x4f6c6c(0x15d)+_0x354483+'\x20hookState:\x20'+_0x3bbdd7),_0x5e3010;}catch(_0x20728f){return logger[_0x4f6c6c(0xe6)]('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util[_0x4f6c6c(0xf4)](_0x20728f)),{};}}async['sendLogCreatedEvent'](_0x18c72f,_0xe0bb16,_0x450c0a){const _0x50470c=a70_0x405067,_0x2a8981={'htkpk':function(_0x281415,_0x151af3,_0x2ed934){return _0x281415(_0x151af3,_0x2ed934);},'wVOGK':function(_0x3b3245,_0x571880){return _0x3b3245===_0x571880;},'gwPQW':_0x50470c(0x19f),'NwRkS':function(_0x1a522a,_0x2e7781){return _0x1a522a/_0x2e7781;},'Tmugz':function(_0x4a47c6,_0x390845){return _0x4a47c6<_0x390845;},'PxSUI':function(_0x1fed20,_0xff560b){return _0x1fed20*_0xff560b;},'LzFRS':function(_0x4a3d84,_0x1a2fa6){return _0x4a3d84+_0x1a2fa6;},'NEsTd':function(_0x1cd124,_0x2d2624){return _0x1cd124+_0x2d2624;},'XbNDM':function(_0x64c485,_0x252eea){return _0x64c485+_0x252eea;},'EFYef':'Cucumber\x20log\x20created\x20event'};try{const _0x33b36f=_0x450c0a['testUUID'],_0x343227=_0x18c72f[_0x50470c(0xe9)]()['get'](_0x33b36f),{[TestFrameworkConstants[_0x50470c(0x17e)]]:_0x235252='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x40ad86=''}=_0x343227,_0x14e763=TestInfo[_0x50470c(0x18f)](_0x33b36f),_0x5d54d3=TestInfo[_0x50470c(0x125)](_0x33b36f)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x582e00=_0x2a8981[_0x50470c(0x16b)](getMediaArtifactsLogs,_0x5d54d3,_0x18c72f[_0x50470c(0xe9)]()[_0x50470c(0x164)](_0x33b36f)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x91d998=(_0x14e763||[])[_0x50470c(0x138)](_0x582e00||[]);if(!_0x91d998||_0x2a8981[_0x50470c(0x104)](_0x91d998[_0x50470c(0xd9)],0x0)){logger[_0x50470c(0x139)](_0x2a8981[_0x50470c(0x119)]);return;}const _0x28885f=0x28,_0x4c1d6d=Math['ceil'](_0x2a8981[_0x50470c(0xef)](_0x91d998[_0x50470c(0xd9)],_0x28885f));for(let _0x15d415=0x0;_0x2a8981[_0x50470c(0x169)](_0x15d415,_0x4c1d6d);_0x15d415++){const _0x580e6d=_0x2a8981['PxSUI'](_0x15d415,_0x28885f),_0x16b665=_0x2a8981[_0x50470c(0x198)](_0x580e6d,_0x28885f),_0xd14588=_0x91d998[_0x50470c(0x108)](_0x580e6d,_0x16b665),_0x48eaae={'platformIndex':'0','logs':_0xd14588,'testFrameworkName':_0x235252,'testFrameworkVersion':_0x40ad86,'testFrameworkState':_0xe0bb16[_0x50470c(0x170)]()[_0x50470c(0x180)]('.')[0x1]};logger['debug'](_0x50470c(0xff)+_0x33b36f+_0x50470c(0x18e)+_0x2a8981[_0x50470c(0x1a1)](_0x15d415,0x1)+'/'+_0x4c1d6d+_0x50470c(0x171)+util[_0x50470c(0x187)](_0x48eaae));const _0x5a53bf=await GrpcClient[_0x50470c(0x10e)]()['logCreatedEvent'](_0x48eaae);logger['debug'](_0x50470c(0xff)+_0x33b36f+_0x50470c(0x18e)+_0x2a8981[_0x50470c(0x173)](_0x15d415,0x1)+'/'+_0x4c1d6d+_0x50470c(0x1a0)+util[_0x50470c(0x187)](_0x5a53bf));}}catch(_0x148ad5){logger[_0x50470c(0xe6)](_0x50470c(0x199)+util[_0x50470c(0xf4)](_0x148ad5));}logger['debug'](_0x2a8981['EFYef']);}['storePendingHook'](_0x3b8dcd,_0x41a143,_0x2182f9,_0x3d6c87,_0x2bd789){const _0x385e80=a70_0x405067,_0x196a2a={'testId':_0x41a143,'testFrameworkState':_0x2182f9,'hookState':_0x3d6c87,'args':_0x2bd789,'timestamp':new Date()[_0x385e80(0x177)]()};_0x3b8dcd[_0x385e80(0x18b)](_0x41a143,_0x196a2a),logger[_0x385e80(0x139)]('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x41a143+_0x385e80(0xf9)+_0x2182f9+_0x385e80(0x152)+_0x3d6c87);}async['processPendingHooks'](_0x1c3ba7,_0x1c3a2a){const _0xc2c4ab=a70_0x405067,_0x36cbf0={};_0x36cbf0[_0xc2c4ab(0x166)]=function(_0x3bbeae,_0x5a72a7){return _0x3bbeae>_0x5a72a7;};const _0x33d5d0=_0x36cbf0;if(!_0x1c3ba7[_0xc2c4ab(0x122)](_0x1c3a2a))return;const _0x59827f=_0x1c3ba7['getPendingHooks'](_0x1c3a2a);logger[_0xc2c4ab(0x139)](_0xc2c4ab(0xd7)+_0x59827f[_0xc2c4ab(0xd9)]+_0xc2c4ab(0xe5)+_0x1c3a2a);for(const _0x57cbb8 of _0x59827f){try{const _0x57cf02=await this[_0xc2c4ab(0x17b)](_0x1c3ba7,_0x57cbb8[_0xc2c4ab(0x191)],_0x57cbb8[_0xc2c4ab(0x110)],_0x57cbb8[_0xc2c4ab(0x12a)]);_0x57cf02&&_0x33d5d0[_0xc2c4ab(0x166)](Object[_0xc2c4ab(0x132)](_0x57cf02)[_0xc2c4ab(0xd9)],0x0)&&_0x1c3ba7['addMultipleEntries'](_0x57cf02),await this[_0xc2c4ab(0x129)](_0x1c3ba7,_0x57cbb8[_0xc2c4ab(0x191)],_0x57cbb8[_0xc2c4ab(0x110)],_0x57cbb8[_0xc2c4ab(0x12a)]);}catch(_0x59babd){logger['error']('Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20'+_0x1c3a2a+',\x20error:\x20'+_0x59babd);}}_0x1c3ba7['removePendingHooks'](_0x1c3a2a),logger['debug'](_0xc2c4ab(0x175)+_0x1c3a2a);}}function a70_0x162e(){const _0x276519=['getTrackedInstance','KEY_TEST_ENDED_AT','../../../helpers/classLogger.js','addPendingHook','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','createTestFrameworkEventPayload','\x20batch\x20','readLogObjects','getTestFrameworks','testFrameworkState','KEY_TEST_TAGS','../state/testFrameworkState.js','KEY_TEST_ATTACHMENTS','KEY_TEST_FAILURE_TYPE','bxODj','KEY_TEST_ID','LzFRS','sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20','kfhcb','failure_reason','from','started_at','KEY_TEST_NAME','sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','\x20response=','NEsTd','\x20with\x20id\x20','uuid','trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','KEY_LOGS','Processing\x20','instance','length','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','name','base64','KEY_TEST_CODE','dLWmB','resolveInstance','KEY_HOOK_RESULT','getRef','eXIca','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','dWWyY','\x20pending\x20hooks\x20for\x20testId:\x20','error','setTestDetails','code','getAllData','rlWjB','KEY_TEST_FAILURE','tags','failure','storePendingHook','NwRkS','KEY_TEST_FRAMEWORK_VERSION',',\x20state=','HSLKA','KEY_TEST_FILE_PATH','format','trackCucumberInstance:\x20saved\x20instance\x20contextId=','wHksK','util','scopes',',\x20state:\x20','Tracked\x20cucumber\x20hook\x20event:\x20','KEY_TEST_RERUN_NAME','../cliUtils.js','\x20and\x20args\x20=\x20','\x20&\x20hook\x20=\x20','sendLogCreatedEvent:\x20for\x20testId:\x20','dPFan','passed','location','meta','wVOGK','testFrameworkVersion','eventJson','kJpvd','slice','KOLeb','getTestFrameworksVersions','endedAt','../TestInfo.js','trackEvent:\x20unsupported\x20testFrameworkState=','getInstance','NONE','hookState','\x20with\x20UUID:\x20','KEY_CUSTOM_TAGS','hooks','test','\x20target=','KEY_HOOKS_FINISHED','PRE','zStiO','gwPQW','getThreadId','createTestFrameworkEventPayload\x20testId:\x20','KEY_TEST_STARTED_AT','../../../helpers/helper.js','EQphO','setTrackedInstance','KEY_TEST_RESULT_AT','processPendingHooks','hasPendingHooks','parseCucumberTestResult','\x20for\x20test:\x20','getTestDetails','POST','trackEvent','\x20\x20and\x20args\x20=\x20','runHooks','args','950lLkgEA','file_name','failure_type','pop','testData','parseCucumberTest','KEY_HOOK_FAILURE','keys','stringify','../grpcClient','UnhandledError','failed','KEY_HOOK_FAILURE_REASON','concat','debug','getProcessId','test_run_id','push','trackCucumberInstance','getContext','EWUJb','1233618GUxGyS','DEFAULT_TEST_RESULT','hookData','failure_data','testUUID','5cCiDwa','CucumberTestFramework','getTestUUID','\x20with\x20result:\x20','KEY_HOOK_LAST_FINISHED','4XIwtPT','TsVZI','2PFSkTr','qwJpO','../state/hookState.js','KEY_TEST_RESULT','result','KEY_TEST_META',',\x20hookState:\x20','getCurrentInstanceName','../instances/trackedInstance.js','sendLogCreatedEvent','KEY_EVENT_ENDED_AT','./testFramework','4877971BVDdbv','KEY_TEST_LOCATION','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test','addMultipleEntries','8523QyKhpq','\x20testState:\x20','createContext','getCurrentTestState','KEY_HOOK_ID','4933680xzTjoW','694987ooGnlC','__workerDetails','get','KEY_HOOKS_STARTED','CQAwD','hook_type','2971265LaJsxp','Tmugz','finishedAt','htkpk','KEY_AUTOMATE_SESSION_NAME','KEY_HOOK_LAST_STARTED','KKiwS','KEY_TEST_UUID','toString','\x20payload=','2029989wsHSmW','XbNDM','ySQzS','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','TEST','toISOString','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','TRZhg','trackHookEvent','startedAt','rerun_name','KEY_TEST_FRAMEWORK_NAME','DEFAULT_HOOK_RESULT','split','Updated\x20cucumber\x20test\x20result:\x20','parallelIndex','aoUMf','KEY_TEST_LOGS','dWMIj','ETRzY','inspect'];a70_0x162e=function(){return _0x276519;};return a70_0x162e();}module['exports']=CucumberTestFramework;
1
+ function a70_0xfb1d(_0x3c8941,_0x3dcfd7){const _0x577a98=a70_0x577a();return a70_0xfb1d=function(_0xfb1dcf,_0x1abf07){_0xfb1dcf=_0xfb1dcf-0x1e0;let _0x491645=_0x577a98[_0xfb1dcf];return _0x491645;},a70_0xfb1d(_0x3c8941,_0x3dcfd7);}const a70_0x2d3f0c=a70_0xfb1d;(function(_0x25ccf9,_0x2a835f){const _0x1706c4=a70_0xfb1d,_0x166bd4=_0x25ccf9();while(!![]){try{const _0xed8b2b=parseInt(_0x1706c4(0x1e0))/0x1+-parseInt(_0x1706c4(0x27b))/0x2+parseInt(_0x1706c4(0x242))/0x3*(parseInt(_0x1706c4(0x221))/0x4)+-parseInt(_0x1706c4(0x2af))/0x5*(-parseInt(_0x1706c4(0x1f0))/0x6)+-parseInt(_0x1706c4(0x294))/0x7+-parseInt(_0x1706c4(0x210))/0x8*(parseInt(_0x1706c4(0x202))/0x9)+parseInt(_0x1706c4(0x270))/0xa*(parseInt(_0x1706c4(0x1f8))/0xb);if(_0xed8b2b===_0x2a835f)break;else _0x166bd4['push'](_0x166bd4['shift']());}catch(_0x4ae9b0){_0x166bd4['push'](_0x166bd4['shift']());}}}(a70_0x577a,0x815c5));const TestFramework=require(a70_0x2d3f0c(0x225)),TestFrameworkState=require(a70_0x2d3f0c(0x290)),HookState=require('../state/hookState.js'),{createClassLogger}=require(a70_0x2d3f0c(0x1eb)),TestFrameworkInstance=require(a70_0x2d3f0c(0x2b2)),CLIUtils=require(a70_0x2d3f0c(0x1e4)),TrackedInstance=require(a70_0x2d3f0c(0x23c)),TestFrameworkConstants=require(a70_0x2d3f0c(0x26d)),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),logger=createClassLogger(a70_0x2d3f0c(0x2a6)),{v4:uuidv4}=require(a70_0x2d3f0c(0x1ef)),util=require(a70_0x2d3f0c(0x271)),TestInfo=require(a70_0x2d3f0c(0x24e)),GrpcClient=require('../grpcClient');class CucumberTestFramework extends TestFramework{constructor(_0x51e408,_0x4065ec,_0x2b97ac){super(_0x51e408,_0x4065ec,_0x2b97ac);}async[a70_0x2d3f0c(0x1fb)](_0x376702,_0x168e33,_0x1a6300={}){const _0x437377=a70_0x2d3f0c,_0x37c9b7={};_0x37c9b7[_0x437377(0x23a)]='trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found',_0x37c9b7[_0x437377(0x285)]=function(_0x2940f2,_0x248325){return _0x2940f2===_0x248325;},_0x37c9b7[_0x437377(0x21b)]=_0x437377(0x283);const _0x560b4b=_0x37c9b7;await super[_0x437377(0x1fb)](_0x376702,_0x168e33,_0x1a6300);const _0x19d87c=this[_0x437377(0x22e)](_0x376702,_0x168e33,_0x1a6300);if(!_0x19d87c){logger['debug'](_0x560b4b['cWmQL']);return;}try{let _0x28ad3d,_0x1a6819;switch(_0x376702){case TestFrameworkState[_0x437377(0x24a)]:_0x28ad3d=_0x1a6300[_0x437377(0x258)],_0x1a6819=TestInfo[_0x437377(0x22c)](_0x28ad3d['id']);if(_0x560b4b[_0x437377(0x285)](_0x168e33,HookState[_0x437377(0x201)])){logger[_0x437377(0x240)](_0x437377(0x2ae)+_0x28ad3d['id']);const _0x257071={};_0x257071[_0x437377(0x241)]=_0x1a6819,_0x257071[_0x437377(0x216)]=_0x28ad3d,_0x19d87c[_0x437377(0x260)](this[_0x437377(0x269)](_0x257071)),logger[_0x437377(0x240)](_0x437377(0x2b3)+_0x28ad3d['id']),await this[_0x437377(0x23f)](_0x19d87c,_0x28ad3d['id']);}else{if(_0x560b4b[_0x437377(0x285)](_0x168e33,HookState['POST'])){const _0x416f85={};_0x416f85[_0x437377(0x241)]=_0x1a6819,_0x416f85[_0x437377(0x216)]=_0x28ad3d,_0x19d87c[_0x437377(0x260)](this[_0x437377(0x274)](_0x416f85)),await this['processPendingHooks'](_0x19d87c,_0x28ad3d['id']);}}break;case TestFrameworkState[_0x437377(0x272)]:_0x560b4b['QGDtV'](_0x168e33,HookState['POST'])&&await this[_0x437377(0x25c)](_0x19d87c,_0x376702,_0x1a6300);break;default:if(CLIUtils[_0x437377(0x25e)](_0x376702[_0x437377(0x28e)]()['split']('.')[0x1])){const _0x48ad61=await this[_0x437377(0x21d)](_0x19d87c,_0x376702,_0x168e33,_0x1a6300);_0x19d87c[_0x437377(0x260)](_0x48ad61);}else logger['debug'](_0x437377(0x23e)+_0x376702+_0x437377(0x261)+_0x168e33);break;}}catch(_0x3dd222){logger[_0x437377(0x217)](util[_0x437377(0x236)](_0x560b4b['OULca'],_0x376702,_0x168e33,_0x1a6300[_0x437377(0x22f)],_0x3dd222));}_0x1a6300['instance']=_0x19d87c,await this['runHooks'](_0x19d87c,_0x376702,_0x168e33,_0x1a6300);}[a70_0x2d3f0c(0x22e)](_0x31e62e,_0xfc7ff0,_0xc2e20b={}){const _0x310c97=a70_0x2d3f0c,_0x3df898={};_0x3df898[_0x310c97(0x1f2)]=function(_0x49a480,_0x116218){return _0x49a480===_0x116218;};const _0xac80c7=_0x3df898;let _0x260935=null;return(_0xac80c7[_0x310c97(0x1f2)](_0x31e62e,TestFrameworkState[_0x310c97(0x1fe)])||_0xac80c7[_0x310c97(0x1f2)](_0x31e62e,TestFrameworkState['NONE']))&&this[_0x310c97(0x20e)](_0x31e62e,_0xc2e20b),_0x260935=TestFramework[_0x310c97(0x1e6)](),_0x260935;}[a70_0x2d3f0c(0x20e)](_0x3d28e2,_0x3cd26a){const _0x4d36fd=a70_0x2d3f0c,_0x3ba8cc=CLIUtils[_0x4d36fd(0x22b)](),_0x199b8a=TrackedInstance[_0x4d36fd(0x2a8)](_0x3ba8cc);let _0x1eb22f=null;logger[_0x4d36fd(0x240)](_0x4d36fd(0x20b)+_0x3ba8cc+_0x4d36fd(0x26a)+_0x3d28e2),_0x1eb22f=new TestFrameworkInstance(_0x199b8a,this['getTestFrameworks'](),this['getTestFrameworksVersions'](),_0x3d28e2,HookState[_0x4d36fd(0x278)]),TestFramework[_0x4d36fd(0x24b)](_0x199b8a,_0x1eb22f),logger['debug'](_0x4d36fd(0x205)+_0x199b8a[_0x4d36fd(0x2a3)]()+_0x4d36fd(0x284)+_0x3ba8cc);}[a70_0x2d3f0c(0x269)](_0x17495f){const _0x9d15f0=a70_0x2d3f0c,_0x3bb0f9={};_0x3bb0f9[_0x9d15f0(0x237)]=_0x9d15f0(0x252);const _0x5bfb99=_0x3bb0f9,{testUUID:_0x48fd57,testData:_0x402180}=_0x17495f;if(!_0x402180||!_0x402180[_0x9d15f0(0x1ef)])return logger['debug'](_0x5bfb99[_0x9d15f0(0x237)]),{};const _0xfb2a79=_0x402180['uuid'],_0x13d16a=_0x402180[_0x9d15f0(0x1ef)],_0x56da3d=this[_0x9d15f0(0x26c)]()[0x0],_0x5e601a=this[_0x9d15f0(0x247)](),_0x16bf7f={[TestFrameworkConstants[_0x9d15f0(0x2a7)]]:_0x56da3d,[TestFrameworkConstants[_0x9d15f0(0x222)]]:_0x5e601a[_0x56da3d],[TestFrameworkConstants[_0x9d15f0(0x235)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0x9d15f0(0x1ff)]]:{},[TestFrameworkConstants[_0x9d15f0(0x28b)]]:_0xfb2a79,[TestFrameworkConstants[_0x9d15f0(0x1f1)]]:TestFrameworkConstants[_0x9d15f0(0x1fa)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x402180[_0x9d15f0(0x299)]||'',[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x402180['file_name']||'',[TestFrameworkConstants[_0x9d15f0(0x24d)]]:_0x13d16a,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x402180[_0x9d15f0(0x299)]||'',[TestFrameworkConstants[_0x9d15f0(0x2aa)]]:_0x402180['location']||'',[TestFrameworkConstants[_0x9d15f0(0x296)]]:_0x402180['body']?.['code']||null,[TestFrameworkConstants[_0x9d15f0(0x211)]]:_0x402180[_0x9d15f0(0x275)]||[],[TestFrameworkConstants[_0x9d15f0(0x262)]]:_0x402180['startedAt']||new Date()[_0x9d15f0(0x263)](),[TestFrameworkConstants[_0x9d15f0(0x246)]]:_0x402180['scopes']?.[0x0]||'',[TestFrameworkConstants[_0x9d15f0(0x213)]]:_0x402180[_0x9d15f0(0x248)]||[],[TestFrameworkConstants[_0x9d15f0(0x231)]]:_0x402180[_0x9d15f0(0x255)]?.[_0x9d15f0(0x25d)]||_0x402180[_0x9d15f0(0x299)]||'',[TestFrameworkConstants[_0x9d15f0(0x238)]]:{},[TestFrameworkConstants['KEY_TEST_META']]:_0x402180[_0x9d15f0(0x257)]||{}};TestInfo['setTestDetails'](_0x13d16a,_0x16bf7f),logger[_0x9d15f0(0x240)](_0x9d15f0(0x21f)+_0x402180['name']+'\x20with\x20UUID:\x20'+_0xfb2a79);const _0x5d1e99={};return _0x5d1e99[_0x13d16a]=_0x16bf7f,_0x5d1e99;}[a70_0x2d3f0c(0x274)](_0x30823f){const _0x555bd1=a70_0x2d3f0c,_0x10e2d1={'FZNFG':_0x555bd1(0x267),'HFjoz':_0x555bd1(0x223),'yTxeY':function(_0x4f2989,_0x358532){return _0x4f2989===_0x358532;},'TGezb':_0x555bd1(0x293),'vLZPi':_0x555bd1(0x20c),'gWNUT':function(_0x5165dc,_0x38dfbc,_0x39726a){return _0x5165dc(_0x38dfbc,_0x39726a);},'PDaUF':function(_0x145696,_0x2ac76d){return _0x145696>_0x2ac76d;},'oMotx':function(_0x469c9,_0x172799){return _0x469c9>_0x172799;}},{testUUID:_0x1ff73f,testData:_0x523d13}=_0x30823f;if(!_0x523d13||!_0x523d13[_0x555bd1(0x1ef)])return logger['debug'](_0x10e2d1['FZNFG']),{};const _0x489095=this['resolveInstance'](TestFrameworkState[_0x555bd1(0x24a)],HookState[_0x555bd1(0x1f6)]),_0x32ee50=_0x523d13[_0x555bd1(0x1ef)],_0x51c669=TestInfo[_0x555bd1(0x1fc)](_0x32ee50)||{},_0x3bd7c2=_0x51c669?_0x51c669[TestFrameworkConstants[_0x555bd1(0x238)]]||{}:{},_0xd8881={..._0x51c669,[TestFrameworkConstants[_0x555bd1(0x1f1)]]:_0x523d13[_0x555bd1(0x203)]||_0x10e2d1['HFjoz'],[TestFrameworkConstants[_0x555bd1(0x1ec)]]:_0x523d13['finishedAt']||new Date()[_0x555bd1(0x263)](),[TestFrameworkConstants[_0x555bd1(0x268)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x555bd1(0x238)]]:_0x3bd7c2,[TestFrameworkConstants[_0x555bd1(0x27d)]]:[],[TestFrameworkConstants[_0x555bd1(0x230)]]:_0x523d13[_0x555bd1(0x257)]||{}};_0x10e2d1[_0x555bd1(0x277)](_0x523d13[_0x555bd1(0x203)],_0x10e2d1[_0x555bd1(0x228)])&&_0x523d13['failure']&&(_0xd8881[TestFrameworkConstants[_0x555bd1(0x291)]]=_0x523d13['failure_type']||_0x10e2d1[_0x555bd1(0x206)],_0xd8881[TestFrameworkConstants[_0x555bd1(0x212)]]=_0x523d13['failure_reason']||'',_0xd8881[TestFrameworkConstants[_0x555bd1(0x250)]]=_0x523d13[_0x555bd1(0x298)]);const _0x538af4=TestInfo[_0x555bd1(0x1fc)](_0x32ee50)[TestFrameworkConstants[_0x555bd1(0x219)]]||{},_0x13faa7=_0x10e2d1[_0x555bd1(0x295)](getManualUploadLogs,_0x538af4,_0x489095[_0x555bd1(0x2a5)]()[_0x555bd1(0x2ab)](_0x32ee50)[TestFrameworkConstants[_0x555bd1(0x28b)]]);if(_0x10e2d1['PDaUF'](_0x13faa7[_0x555bd1(0x22f)],0x0)){const _0x3893f0=_0xd8881[TestFrameworkConstants[_0x555bd1(0x27d)]]||[];_0xd8881[TestFrameworkConstants['KEY_LOGS']]=[..._0x3893f0,..._0x13faa7];}_0x523d13['hooks']&&_0x10e2d1[_0x555bd1(0x21c)](_0x523d13[_0x555bd1(0x23d)][_0x555bd1(0x22f)],0x0)&&(_0xd8881[TestFrameworkConstants[_0x555bd1(0x259)]]=_0x523d13[_0x555bd1(0x23d)]);TestInfo['setTestDetails'](_0x32ee50,_0xd8881),logger[_0x555bd1(0x240)](_0x555bd1(0x249)+_0x523d13[_0x555bd1(0x299)]+'\x20with\x20result:\x20'+_0x523d13[_0x555bd1(0x203)]);const _0x19a72e={};return _0x19a72e[_0x32ee50]=_0xd8881,_0x19a72e;}async[a70_0x2d3f0c(0x21d)](_0x5825dc,_0x5267d9,_0x568c33,_0x1c0e12){const _0x115c24=a70_0x2d3f0c,_0x142368={'mCgXS':_0x115c24(0x25a),'IxpFF':function(_0x59eb55){return _0x59eb55();},'gWESg':function(_0x5e839d,_0xc4fc71){return _0x5e839d in _0xc4fc71;},'xjKef':function(_0x13a00e,_0x24c568){return _0x13a00e in _0x24c568;},'fJVXx':function(_0x3bbd9c,_0x432963){return _0x3bbd9c===_0x432963;},'Usszt':function(_0x3197c0,_0x4e0ef0){return _0x3197c0===_0x4e0ef0;},'BJsBn':function(_0x2e2087,_0x46e4d3){return _0x2e2087>_0x46e4d3;},'XytNB':_0x115c24(0x293),'mfBHb':'UnhandledError','UCVoU':_0x115c24(0x1e2),'CPbXZ':function(_0xcbe6e8,_0x11290e){return _0xcbe6e8!==_0x11290e;}},{hookData:_0x515d5a}=_0x1c0e12;if(!_0x515d5a)return logger[_0x115c24(0x240)](_0x142368[_0x115c24(0x1ee)]),{};const _0x3227c2=_0x515d5a[_0x115c24(0x1ef)]||_0x142368[_0x115c24(0x288)](uuidv4),_0x4c8343=_0x515d5a[_0x115c24(0x2a9)],_0x4f64c2=_0x5267d9[_0x115c24(0x28e)]()[_0x115c24(0x273)]('.')[0x1],_0xf27aa6=TestInfo[_0x115c24(0x1fc)](_0x4c8343)[TestFrameworkConstants[_0x115c24(0x238)]]||{},_0x20f683=_0x5825dc[_0x115c24(0x2a5)]()['get'](_0x4c8343);if(!_0x20f683)return logger[_0x115c24(0x240)](_0x115c24(0x27c)+_0x4c8343+_0x115c24(0x27f)),this[_0x115c24(0x1f3)](_0x5825dc,_0x4c8343,_0x5267d9,_0x568c33,_0x1c0e12),{};let _0x381179=_0x20f683[TestFrameworkConstants[_0x115c24(0x1ff)]];!_0x381179&&(_0x381179={});!_0x142368[_0x115c24(0x297)](_0x4f64c2,_0x381179)&&(_0x381179[_0x4f64c2]=[]);let _0x6bc648=_0x20f683[TestFrameworkConstants[_0x115c24(0x259)]];!_0x6bc648&&(_0x6bc648={});!_0x142368[_0x115c24(0x2b1)](_0x4f64c2,_0x6bc648)&&(_0x6bc648[_0x4f64c2]=[]);const _0xecbe2={[TestFrameworkConstants[_0x115c24(0x1ff)]]:_0x381179,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x6bc648},_0x1bd6d2={};_0x1bd6d2[_0x4c8343]=_0xecbe2;const _0x1f0406=_0x1bd6d2;if(_0x142368[_0x115c24(0x22a)](_0x568c33,HookState[_0x115c24(0x201)])){const _0x1caef3={[TestFrameworkConstants[_0x115c24(0x2a0)]]:_0x3227c2,[TestFrameworkConstants[_0x115c24(0x28f)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x115c24(0x2a2)]]:_0x515d5a[_0x115c24(0x287)],[TestFrameworkConstants[_0x115c24(0x20f)]]:[],[TestFrameworkConstants[_0x115c24(0x215)]]:_0x515d5a[_0x115c24(0x289)],[TestFrameworkConstants[_0x115c24(0x238)]]:_0xf27aa6};_0x1caef3[_0x115c24(0x243)]=_0x4f64c2;const _0x3aa6e8=_0x1caef3;_0x381179[_0x4f64c2][_0x115c24(0x24c)](_0x3aa6e8),_0x1f0406[_0x4c8343][TestFrameworkConstants['KEY_HOOK_LAST_STARTED']]=_0x4f64c2,logger['debug'](_0x115c24(0x204)+_0x4f64c2+'\x20&\x20hook\x20=\x20'+_0x3aa6e8+'\x20\x20and\x20args\x20=\x20'+_0x1c0e12);}else{if(_0x142368[_0x115c24(0x27a)](_0x568c33,HookState['POST'])){const _0xa52502=_0x515d5a[_0x115c24(0x203)],_0x4eacb7=_0x381179[_0x4f64c2]||[];logger['debug'](_0x115c24(0x244)+_0x4eacb7+_0x115c24(0x208)+_0x1c0e12);if(_0x142368[_0x115c24(0x26b)](_0x4eacb7[_0x115c24(0x22f)],0x0)){const _0x4af5e5=_0x4eacb7['pop']();_0x142368[_0x115c24(0x27a)](_0x515d5a[_0x115c24(0x203)],_0x142368[_0x115c24(0x1f4)])&&_0x515d5a['failure_data']?(_0x4af5e5[TestFrameworkConstants[_0x115c24(0x29d)]]=_0x515d5a['failure_type']||_0x142368[_0x115c24(0x254)],_0x4af5e5[TestFrameworkConstants[_0x115c24(0x29a)]]=_0x515d5a[_0x115c24(0x220)]||'',_0x4af5e5[TestFrameworkConstants[_0x115c24(0x1ed)]]=_0x515d5a['failure_data']):_0x4af5e5[TestFrameworkConstants[_0x115c24(0x28f)]]=_0x142368[_0x115c24(0x276)];_0x142368[_0x115c24(0x2a1)](_0xa52502,TestFrameworkConstants[_0x115c24(0x22d)])&&(_0x4af5e5[TestFrameworkConstants[_0x115c24(0x28f)]]=_0xa52502);_0x4af5e5[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x515d5a['finished_at']||new Date()[_0x115c24(0x263)](),_0x4af5e5[TestFrameworkConstants[_0x115c24(0x238)]]=_0xf27aa6;const _0x3340c2=_0x4af5e5[TestFrameworkConstants[_0x115c24(0x2a0)]];!_0x6bc648[_0x4f64c2]&&(_0x6bc648[_0x4f64c2]=[]),_0x6bc648[_0x4f64c2]['push'](_0x4af5e5),_0x1f0406[_0x4c8343][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x4f64c2;}}}return logger['debug'](_0x115c24(0x251)+_0x515d5a[_0x115c24(0x289)]+'\x20with\x20id\x20'+_0x3227c2+_0x115c24(0x1e8)+_0x4c8343),_0x1f0406;}[a70_0x2d3f0c(0x292)](_0x1d5c03){const _0x1f60de=a70_0x2d3f0c,_0x423b1d={};_0x423b1d[_0x1f60de(0x233)]=_0x1f60de(0x29b);const _0x20483d=_0x423b1d;try{const _0x371583=_0x1d5c03['test']?_0x1d5c03['test']['id']:_0x1d5c03[_0x1f60de(0x29f)][_0x1f60de(0x2a9)],_0x4e8599=_0x1d5c03[_0x1f60de(0x227)],_0x103fb3=_0x4e8599['getContext'](),_0x584891=_0x4e8599[_0x1f60de(0x2a5)]()[_0x1f60de(0x2ab)](_0x371583);if(!_0x584891)return logger[_0x1f60de(0x240)](_0x1f60de(0x1ea)+_0x371583),{};logger['debug'](_0x1f60de(0x1e7)+_0x371583);const {[TestFrameworkConstants[_0x1f60de(0x2a7)]]:_0x25bf81='',[TestFrameworkConstants[_0x1f60de(0x222)]]:_0x596f18='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x2a6a0a='',[TestFrameworkConstants[_0x1f60de(0x1ec)]]:_0x1ccafc=''}=_0x584891,_0x2c984c=_0x4e8599['getCurrentTestState']()[_0x1f60de(0x28e)]()[_0x1f60de(0x273)]('.')[0x1],_0x4a6edd=_0x4e8599['getCurrentHookState']()[_0x1f60de(0x28e)]()[_0x1f60de(0x273)]('.')[0x1],_0x42ebd4=global?.[_0x1f60de(0x29c)]?.['workerInfo']?.[_0x1f60de(0x28d)],_0x2c6c2b=_0x4e8599[_0x1f60de(0x239)](),_0x4d903e=Buffer['from'](JSON[_0x1f60de(0x1e1)](_0x584891))[_0x1f60de(0x28e)](_0x20483d[_0x1f60de(0x233)]),_0x605e8d={'hash':_0x103fb3[_0x1f60de(0x2a3)](),'threadId':_0x103fb3[_0x1f60de(0x281)]()[_0x1f60de(0x28e)](),'processId':_0x103fb3[_0x1f60de(0x232)]()[_0x1f60de(0x28e)]()},_0x34e70b={};_0x34e70b[_0x1f60de(0x265)]=_0x42ebd4,_0x34e70b['testFrameworkName']=_0x25bf81,_0x34e70b['testFrameworkVersion']=_0x596f18,_0x34e70b[_0x1f60de(0x2ad)]=_0x2c984c,_0x34e70b[_0x1f60de(0x207)]=_0x4a6edd,_0x34e70b[_0x1f60de(0x214)]=_0x2a6a0a,_0x34e70b[_0x1f60de(0x25f)]=_0x1ccafc,_0x34e70b[_0x1f60de(0x1ef)]=_0x2c6c2b,_0x34e70b[_0x1f60de(0x1e9)]=_0x4d903e,_0x34e70b[_0x1f60de(0x2a4)]=_0x605e8d;const _0x46053d=_0x34e70b;return logger[_0x1f60de(0x240)](_0x1f60de(0x209)+_0x371583+_0x1f60de(0x286)+_0x2c984c+_0x1f60de(0x200)+_0x4a6edd),_0x46053d;}catch(_0x3b2186){return logger['error'](_0x1f60de(0x256)+util[_0x1f60de(0x236)](_0x3b2186)),{};}}async[a70_0x2d3f0c(0x25c)](_0x5d13d0,_0x572ebf,_0x53477c){const _0x4d0883=a70_0x2d3f0c,_0x13ab45={'HjZDO':function(_0x186612,_0x596013,_0x473969){return _0x186612(_0x596013,_0x473969);},'CONEx':function(_0x40602c,_0x447fb7){return _0x40602c===_0x447fb7;},'bcqEE':'sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','OOvrh':function(_0x59aa74,_0x5ec7cc){return _0x59aa74/_0x5ec7cc;},'QxegQ':function(_0x1b8643,_0x2eab38){return _0x1b8643<_0x2eab38;},'fqQjj':function(_0x2cd79c,_0x399763){return _0x2cd79c*_0x399763;},'xbklr':function(_0x430d3f,_0x46a580){return _0x430d3f+_0x46a580;},'Cuhbu':function(_0x521543,_0x7ebaf4){return _0x521543+_0x7ebaf4;},'tMPkc':function(_0xd62478,_0x14b6a0){return _0xd62478+_0x14b6a0;},'FqdFv':_0x4d0883(0x28c)};try{const _0x39ad61=_0x53477c[_0x4d0883(0x241)],_0xdee447=_0x5d13d0[_0x4d0883(0x2a5)]()[_0x4d0883(0x2ab)](_0x39ad61),{[TestFrameworkConstants[_0x4d0883(0x2a7)]]:_0x27216a='',[TestFrameworkConstants[_0x4d0883(0x222)]]:_0x3c3bfa=''}=_0xdee447,_0x9dc3c7=TestInfo[_0x4d0883(0x1f7)](_0x39ad61),_0x3ed814=TestInfo[_0x4d0883(0x1fc)](_0x39ad61)[TestFrameworkConstants[_0x4d0883(0x219)]]||{},_0x5e1747=_0x13ab45[_0x4d0883(0x279)](getMediaArtifactsLogs,_0x3ed814,_0x5d13d0[_0x4d0883(0x2a5)]()[_0x4d0883(0x2ab)](_0x39ad61)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x2f1c91=(_0x9dc3c7||[])[_0x4d0883(0x224)](_0x5e1747||[]);if(!_0x2f1c91||_0x13ab45['CONEx'](_0x2f1c91[_0x4d0883(0x22f)],0x0)){logger[_0x4d0883(0x240)](_0x13ab45['bcqEE']);return;}const _0x5c805a=0x28,_0x134761=Math[_0x4d0883(0x2b0)](_0x13ab45[_0x4d0883(0x24f)](_0x2f1c91[_0x4d0883(0x22f)],_0x5c805a));for(let _0xf6f972=0x0;_0x13ab45[_0x4d0883(0x29e)](_0xf6f972,_0x134761);_0xf6f972++){const _0x30c807=_0x13ab45[_0x4d0883(0x23b)](_0xf6f972,_0x5c805a),_0x3c8da3=_0x13ab45[_0x4d0883(0x264)](_0x30c807,_0x5c805a),_0x15ce28=_0x2f1c91[_0x4d0883(0x20d)](_0x30c807,_0x3c8da3),_0x283562={'platformIndex':'0','logs':_0x15ce28,'testFrameworkName':_0x27216a,'testFrameworkVersion':_0x3c3bfa,'testFrameworkState':_0x572ebf[_0x4d0883(0x28e)]()[_0x4d0883(0x273)]('.')[0x1]};logger[_0x4d0883(0x240)]('sendLogCreatedEvent:\x20for\x20testId:\x20'+_0x39ad61+_0x4d0883(0x1f5)+_0x13ab45['Cuhbu'](_0xf6f972,0x1)+'/'+_0x134761+_0x4d0883(0x26f)+util[_0x4d0883(0x2ac)](_0x283562));const _0x6ea951=await GrpcClient['getInstance']()[_0x4d0883(0x218)](_0x283562);logger[_0x4d0883(0x240)](_0x4d0883(0x1e3)+_0x39ad61+_0x4d0883(0x1f5)+_0x13ab45[_0x4d0883(0x229)](_0xf6f972,0x1)+'/'+_0x134761+_0x4d0883(0x234)+util[_0x4d0883(0x2ac)](_0x6ea951));}}catch(_0x2e9d24){logger[_0x4d0883(0x217)](_0x4d0883(0x25b)+util[_0x4d0883(0x236)](_0x2e9d24));}logger['debug'](_0x13ab45[_0x4d0883(0x1e5)]);}[a70_0x2d3f0c(0x1f3)](_0x473b4f,_0x3ba47f,_0x5b0007,_0x52b847,_0x2402e5){const _0x4f7f7a=a70_0x2d3f0c,_0x1a6095={'testId':_0x3ba47f,'testFrameworkState':_0x5b0007,'hookState':_0x52b847,'args':_0x2402e5,'timestamp':new Date()[_0x4f7f7a(0x263)]()};_0x473b4f[_0x4f7f7a(0x266)](_0x3ba47f,_0x1a6095),logger[_0x4f7f7a(0x240)](_0x4f7f7a(0x1fd)+_0x3ba47f+_0x4f7f7a(0x1f9)+_0x5b0007+_0x4f7f7a(0x245)+_0x52b847);}async[a70_0x2d3f0c(0x23f)](_0x12c042,_0x5af60f){const _0x3eec9b=a70_0x2d3f0c,_0x27a444={};_0x27a444[_0x3eec9b(0x26e)]=function(_0x454f23,_0x216a05){return _0x454f23>_0x216a05;};const _0x526c4b=_0x27a444;if(!_0x12c042[_0x3eec9b(0x226)](_0x5af60f))return;const _0x42da9e=_0x12c042[_0x3eec9b(0x21a)](_0x5af60f);logger['debug']('Processing\x20'+_0x42da9e['length']+_0x3eec9b(0x27e)+_0x5af60f);for(const _0x7fb744 of _0x42da9e){try{const _0xcdafd=await this[_0x3eec9b(0x21d)](_0x12c042,_0x7fb744[_0x3eec9b(0x2ad)],_0x7fb744[_0x3eec9b(0x207)],_0x7fb744[_0x3eec9b(0x253)]);_0xcdafd&&_0x526c4b[_0x3eec9b(0x26e)](Object[_0x3eec9b(0x280)](_0xcdafd)[_0x3eec9b(0x22f)],0x0)&&_0x12c042[_0x3eec9b(0x260)](_0xcdafd),await this[_0x3eec9b(0x21e)](_0x12c042,_0x7fb744[_0x3eec9b(0x2ad)],_0x7fb744[_0x3eec9b(0x207)],_0x7fb744[_0x3eec9b(0x253)]);}catch(_0x4b3b25){logger['error']('Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20'+_0x5af60f+',\x20error:\x20'+_0x4b3b25);}}_0x12c042[_0x3eec9b(0x282)](_0x5af60f),logger['debug'](_0x3eec9b(0x28a)+_0x5af60f);}}function a70_0x577a(){const _0x1d5c8b=['KEY_TEST_STARTED_AT','toISOString','xbklr','platformIndex','addPendingHook','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','KEY_TEST_RESULT_AT','parseCucumberTest',',\x20state=','BJsBn','getTestFrameworks','./constants/testFrameworkConstants.js','IfzVB','\x20payload=','2446390cBYUna','util','LOG_REPORT','split','parseCucumberTestResult','tags','UCVoU','yTxeY','NONE','HjZDO','Usszt','1584936olXWWt','No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','KEY_LOGS','\x20pending\x20hooks\x20for\x20testId:\x20',',\x20storing\x20as\x20pending\x20hook','keys','getThreadId','removePendingHooks','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','\x20target=','QGDtV','\x20testState:\x20','started_at','IxpFF','hook_type','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','KEY_TEST_UUID','Cucumber\x20log\x20created\x20event','parallelIndex','toString','KEY_HOOK_RESULT','../state/testFrameworkState.js','KEY_TEST_FAILURE_TYPE','createTestFrameworkEventPayload','failed','689913HajrjY','gWNUT','KEY_TEST_CODE','gWESg','failure','name','KEY_HOOK_FAILURE_REASON','base64','__workerDetails','KEY_HOOK_FAILURE_TYPE','QxegQ','hookData','KEY_HOOK_ID','CPbXZ','KEY_EVENT_STARTED_AT','getId','executionContext','getAllData','CucumberTestFramework','KEY_TEST_FRAMEWORK_NAME','createContext','test_run_id','KEY_TEST_LOCATION','get','inspect','testFrameworkState','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','14305NXYOas','ceil','xjKef','../instances/testFrameworkInstance.js','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','812465HbwQXE','stringify','passed','sendLogCreatedEvent:\x20for\x20testId:\x20','../cliUtils.js','FqdFv','getTrackedInstance','createTestFrameworkEventPayload\x20testId:\x20','\x20for\x20test:\x20','eventJson','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','../../../helpers/classLogger.js','KEY_TEST_ENDED_AT','KEY_HOOK_FAILURE','mCgXS','uuid','1194wbGslS','KEY_TEST_RESULT','VEdwY','storePendingHook','XytNB','\x20batch\x20','POST','readLogObjects','22Uifqzb',',\x20state:\x20','DEFAULT_TEST_RESULT','trackEvent','getTestDetails','Stored\x20pending\x20hook\x20for\x20testId:\x20','INIT_TEST','KEY_HOOKS_STARTED','\x20hookState:\x20','PRE','7867953zXdway','result','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','trackCucumberInstance:\x20saved\x20instance\x20contextId=','vLZPi','hookState','\x20and\x20args\x20=\x20','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','exports','trackCucumberInstance:\x20created\x20instance\x20for\x20target=','UnhandledError','slice','trackCucumberInstance','KEY_HOOK_LOGS','8oBbRsz','KEY_TEST_TAGS','KEY_TEST_FAILURE_REASON','KEY_TEST_SCOPES','startedAt','KEY_HOOK_NAME','testData','error','logCreatedEvent','KEY_TEST_ATTACHMENTS','getPendingHooks','OULca','oMotx','trackHookEvent','runHooks','Parsed\x20cucumber\x20test:\x20','failure_reason','4ofQROI','KEY_TEST_FRAMEWORK_VERSION','unknown','concat','./testFramework','hasPendingHooks','instance','TGezb','tMPkc','fJVXx','getCurrentInstanceName','getTestUUID','DEFAULT_HOOK_RESULT','resolveInstance','length','KEY_TEST_META','KEY_TEST_RERUN_NAME','getProcessId','KHYyX','\x20response=','KEY_TEST_LOGS','format','sGgdR','KEY_CUSTOM_TAGS','getRef','cWmQL','fqQjj','../instances/trackedInstance.js','hooks','trackEvent:\x20unsupported\x20testFrameworkState=','processPendingHooks','debug','testUUID','1272069SUAzEh','key','trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20',',\x20hookState:\x20','KEY_TEST_SCOPE','getTestFrameworksVersions','scopes','Updated\x20cucumber\x20test\x20result:\x20','TEST','setTrackedInstance','push','KEY_TEST_ID','../TestInfo.js','OOvrh','KEY_TEST_FAILURE','Tracked\x20cucumber\x20hook\x20event:\x20','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test','args','mfBHb','customRerunParam','Error\x20in\x20createTestFrameworkEventPayload:\x20','meta','test','KEY_HOOKS_FINISHED','No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20','sendLogCreatedEvent','rerun_name','matchHookRegex','endedAt','addMultipleEntries','\x20&\x20hookState='];a70_0x577a=function(){return _0x1d5c8b;};return a70_0x577a();}module[a70_0x2d3f0c(0x20a)]=CucumberTestFramework;
@@ -0,0 +1 @@
1
+ function a71_0xca50(_0x46f187,_0x26d1fd){const _0x14f36a=a71_0x14f3();return a71_0xca50=function(_0xca50c8,_0x104cac){_0xca50c8=_0xca50c8-0x1a3;let _0x535444=_0x14f36a[_0xca50c8];return _0x535444;},a71_0xca50(_0x46f187,_0x26d1fd);}const a71_0x5b644d=a71_0xca50;function a71_0x14f3(){const _0x34aac1=['yKVkH','hookData','259784euSjqz','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','AssertionError','push','ceil','eHLPt',',\x20testId=','\x20&\x20hookState=','getJestTestName','95331GJqDwP','DWqyJ','map','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=',',\x20platformIndex:\x20','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','PRE','duration','KEY_TEST_RESULT','UimRY','EMznc','getTrackedInstance','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20',',\x20error:\x20','base64','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','get','KEY_EVENT_STARTED_AT','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','KEY_HOOK_NAME','setActiveHook','processPendingHooks','OKvLX','EcwaV','POST','KEY_TEST_TAGS','QGnkY','KEY_TEST_META','eventJson','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','KEY_AUTOMATE_SESSION_NAME','fPrva','parallelIndex','createTestFrameworkEventPayload','removePendingHooks','dyNUr','KEY_HOOK_FAILURE_REASON','mMVZZ','\x20files','getCurrentTestState','findIndex','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','RtguX','grofj','testId','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','passed','blgPJ','22365250KpTCvu','tatYG','DMGuB','beforeAll','QoEVq','concat','KEY_HOOKS_FINISHED','debug',',\x20testFramework=','type','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=',',\x20consoleLogs:\x20','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20',',\x20hooksListLength=',',\x20payload:\x20','KEY_TEST_FAILURE_TYPE',',\x20updates=','HVQMy','IvFZo','1083835pfLsGY','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','KEY_HOOK_FAILURE_TYPE','status','vTtEp','BDWbk','workerInfo','util','KEY_TEST_FILE_PATH','addMultipleEntries','__workerDetails','runHooks','KEY_TEST_RETRY_OF',',\x20storing\x20as\x20pending\x20hook','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20','DEFAULT_HOOK_RESULT','../instances/testFrameworkInstance.js','KEY_TEST_UUID','YMzqS','360275sKeCZL','hookType','hook_result','substring','split','message','getRef','anvbl','dMtoZ','buildHookMapFromTest','result','trackJestInstance','getAllData','ALL','KEY_HOOK_RESULT','mapTestHooks','\x22\x20from\x20testData','KEY_HOOK_ID','has','KEY_HOOK_FAILURE','toISOString','hookMetadata','KBWeX','\x22\x20hook','\x20(testIdentifier),\x20result=','qPJLm','wzzhA','test_identifier','getJestTestIdentifier','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20${testId},\x20error:\x20${error}','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','error','maxArrayLength','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','exports','ROOT_DESCRIBE_BLOCK','Unknown\x20error','splice',':testAnalyticsId','trackHookEvent','8zFSQvb','102AUXiVy','\x20pending\x20hooks\x20for\x20testId:\x20','getJestFailureData','kind','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=','../TestInfo.js','lHnOp',',\x20totalBatches:\x20','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','jseOV','\x20attachments','pop','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','getTestFrameworksVersions','[JestTestFramework]\x20trackHookEvent:\x20SUCCESS\x20-\x20hookType=','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','addPendingHook','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=',',\x20duration=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','getActiveHook','vNMAe','KEY_TEST_CODE','scopes','\x20hook','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=',',\x20scope:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','iaDte','KEY_TEST_LOCATION','toUpperCase','sBDAj','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','warn',',\x20testData=','isArray','matchHookRegex','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','depth','resolveInstance','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','94ZCDpxM','startedAt','location','getJestFailureType','dbjzA','KiJdv',',\x20exception=','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=',',\x20contextId=','\x20screenshot\x20logs\x20for\x20testId:\x20','KEY_LOGS','../../../helpers/test-observability/utils','includes',',\x20remainingHooks=','irnMk','cKGFB','hookState','find','filter','name','XiuDV',',\x20totalLogs:\x20','testUUID','getContext','getFileName','../cliUtils.js','getJestFailureReason','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','gAjTC','UnhandledError','KEY_HOOK_LOGS','skip','2424488hKpqVZ','LTeZn','none','event_ended_at','rxsaV',',\x20currentTestId:\x20','\x20logs\x20for\x20testId:\x20','gFmbv','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','reverse','parent','sendLogCreatedEvent','KEY_TEST_STARTED_AT','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','getId','SIyQI','scope','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=',',\x20response=','KEY_EVENT_ENDED_AT','originalTest','rxOAZ','tLsaA','../state/hookState.js','xEFOX','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','filePath','KEY_TEST_ENDED_AT','FNRMv','errorsDetailed','pid','getJestTestFilePath','KEY_HOOK_LAST_FINISHED','from','testData','getTestFrameworks','getCurrentInstanceName',',\x20hookState=','file_name','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=',',\x20failureType=','getThreadId','NONE','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','hasPendingHooks','length','\x20(testIdentifier),\x20hookType=','getPendingHooks','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','parse','../grpcClient',',\x20failureReason=','uZiyY','DEFAULT_TEST_RESULT','title','RGZmc','stringify','11521116EKEZfW','parseJestTestResult','KEY_CUSTOM_TAGS','forEach',',\x20version=','Yibac','Error\x20in\x20createTestFrameworkEventPayload:\x20','xmUGd','hook_id','activeHooks','COIyF','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','parseJestTest','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','hooks','LzZvH','format','EjmAH','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20',',\x20result=','fzhjn','DCsuP','KEY_HOOK_LAST_STARTED','eQIoK','\x20(testIdentifier),\x20scopes=','nDKNr','\x20for\x20testId:\x20','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','storePendingHook','trackJestInstance:\x20created\x20instance\x20for\x20target=','retryOf','createContext',',\x20state=','\x20-\x20test_identifier=','vPkOy','_ALL','JMCmV','join','hookAnalyticsId','file','nCNMo','QlSHv','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','args','trackEvent','KEY_HOOKS_STARTED','KEY_TEST_FRAMEWORK_VERSION','UrBdb','KEY_TEST_FRAMEWORK_NAME','PWSGS','Stored\x20pending\x20hook\x20for\x20testId:\x20','KEY_TEST_FAILURE_REASON','test','gQdRc','testFrameworkState','../../../helpers/helper.js','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20${testFilePath},\x20scope:\x20${testScope}','KEY_TEST_SCOPE','keys','slice','qLWhm','logCreatedEvent','executionContext','jCHMk','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','PPmgl',',\x20hookUUID=','getProcessId','apply','testFrameworkName','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','failure_reason','replace','wfoWn','BusdW','MuxQS','EgOFd','getJestTestScopes',',\x20state:\x20','getHooksForTest','endedAt','uuid','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','inspect','QJhSj',',\x20filePath:\x20','KqCgj',',\x20filePath=','asyncError','started_at','stack-trace','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20',',\x20hookData=','test_run_id','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','KEY_TEST_ATTACHMENTS','isJestInternalHook',',\x20hook=','failed','KEY_TEST_SCOPES','toString','KEY_TEST_NAME','BEFORE_ALL','TEST','cASZg','\x20-\x20testId:\x20',',\x20hookId=','EfYew','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','Unknown\x20Test','../instances/trackedInstance.js','hookUUID','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','rfJDl','jcLFT','KEY_TEST_LOGS','KEY_TEST_ID','yIEgP'];a71_0x14f3=function(){return _0x34aac1;};return a71_0x14f3();}(function(_0x47f5a4,_0x36f305){const _0xe0aba9=a71_0xca50,_0x2209a4=_0x47f5a4();while(!![]){try{const _0x201a1f=parseInt(_0xe0aba9(0x315))/0x1+parseInt(_0xe0aba9(0x1f3))/0x2*(parseInt(_0xe0aba9(0x2d1))/0x3)+parseInt(_0xe0aba9(0x213))/0x4+-parseInt(_0xe0aba9(0x328))/0x5*(-parseInt(_0xe0aba9(0x1c8))/0x6)+parseInt(_0xe0aba9(0x2c8))/0x7*(-parseInt(_0xe0aba9(0x1c7))/0x8)+-parseInt(_0xe0aba9(0x24c))/0x9+-parseInt(_0xe0aba9(0x302))/0xa;if(_0x201a1f===_0x36f305)break;else _0x2209a4['push'](_0x2209a4['shift']());}catch(_0x41b36e){_0x2209a4['push'](_0x2209a4['shift']());}}}(a71_0x14f3,0xd0a7a));const TestFramework=require('./testFramework'),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a71_0x5b644d(0x22a)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a71_0x5b644d(0x325)),CLIUtils=require(a71_0x5b644d(0x20c)),TrackedInstance=require(a71_0x5b644d(0x2be)),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),{getManualUploadLogs,getMediaArtifactsLogs}=require(a71_0x5b644d(0x286)),{isInternalHook}=require(a71_0x5b644d(0x1fe)),logger=createClassLogger('JestTestFramework'),{v4:uuidv4}=require(a71_0x5b644d(0x2a0)),util=require(a71_0x5b644d(0x31c)),TestInfo=require(a71_0x5b644d(0x1cd)),GrpcClient=require(a71_0x5b644d(0x245)),stackTrace=require('stack-trace');class JestTestFramework extends TestFramework{constructor(_0x5a2744,_0x1e5707,_0x5e95cb){const _0x396db9=a71_0x5b644d;super(_0x5a2744,_0x1e5707,_0x5e95cb),this[_0x396db9(0x255)]=new Map();}[a71_0x5b644d(0x2e5)](_0x311fa7,_0x45cd10,_0x357bb6){const _0x1f825f=a71_0x5b644d,_0x3671f2={};_0x3671f2[_0x1f825f(0x228)]=function(_0x8a38be,_0x193c73){return _0x8a38be||_0x193c73;};const _0x1d8b7a=_0x3671f2;if(_0x1d8b7a[_0x1f825f(0x228)](!_0x311fa7,!_0x45cd10)){logger[_0x1f825f(0x1eb)](_0x1f825f(0x30c)+_0x311fa7+_0x1f825f(0x291)+_0x45cd10);return;}!this[_0x1f825f(0x255)]['has'](_0x311fa7)&&this['activeHooks']['set'](_0x311fa7,[]);const _0x2ee6e4={'hookUUID':_0x45cd10,'hookType':_0x357bb6,'startedAt':new Date()[_0x1f825f(0x1b2)]()};this[_0x1f825f(0x255)][_0x1f825f(0x2e1)](_0x311fa7)[_0x1f825f(0x2cb)](_0x2ee6e4),logger[_0x1f825f(0x309)](_0x1f825f(0x1d5)+_0x311fa7+_0x1f825f(0x291)+_0x45cd10+',\x20hookType='+_0x357bb6+',\x20totalHooks='+this[_0x1f825f(0x255)][_0x1f825f(0x2e1)](_0x311fa7)[_0x1f825f(0x240)]);}['removeActiveHook'](_0x1cda1f,_0x310450){const _0x1d49f8=a71_0x5b644d,_0x3efc2d={};_0x3efc2d[_0x1d49f8(0x2c1)]=function(_0x4e1ab3,_0x2ca71b){return _0x4e1ab3||_0x2ca71b;},_0x3efc2d[_0x1d49f8(0x1b4)]=function(_0x2d2f09,_0x4b128e){return _0x2d2f09!==_0x4b128e;},_0x3efc2d[_0x1d49f8(0x202)]=function(_0x50bde9,_0x3449d9){return _0x50bde9===_0x3449d9;};const _0x4d3873=_0x3efc2d;if(_0x4d3873['rfJDl'](!_0x1cda1f,!_0x310450)){logger[_0x1d49f8(0x1eb)](_0x1d49f8(0x1d1)+_0x1cda1f+_0x1d49f8(0x291)+_0x310450);return;}if(this['activeHooks'][_0x1d49f8(0x1b0)](_0x1cda1f)){const _0x5af104=this[_0x1d49f8(0x255)][_0x1d49f8(0x2e1)](_0x1cda1f),_0xcad32d=_0x5af104[_0x1d49f8(0x2fa)](_0x292930=>_0x292930[_0x1d49f8(0x2bf)]===_0x310450);_0x4d3873[_0x1d49f8(0x1b4)](_0xcad32d,-0x1)?(_0x5af104[_0x1d49f8(0x1c4)](_0xcad32d,0x1),logger[_0x1d49f8(0x309)](_0x1d49f8(0x28f)+_0x1cda1f+_0x1d49f8(0x291)+_0x310450+_0x1d49f8(0x200)+_0x5af104[_0x1d49f8(0x240)]),_0x4d3873[_0x1d49f8(0x202)](_0x5af104[_0x1d49f8(0x240)],0x0)&&this[_0x1d49f8(0x255)]['delete'](_0x1cda1f)):logger[_0x1d49f8(0x309)]('[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier='+_0x1cda1f+_0x1d49f8(0x291)+_0x310450);}}[a71_0x5b644d(0x1de)](_0x305c93){const _0x4fac7f=a71_0x5b644d,_0x324b74={};_0x324b74[_0x4fac7f(0x24a)]=function(_0x3c06b8,_0x4632bc){return _0x3c06b8>_0x4632bc;},_0x324b74['DCsuP']=function(_0x228620,_0x2f3492){return _0x228620-_0x2f3492;};const _0x2dbd3f=_0x324b74;if(!_0x305c93)return null;if(this['activeHooks'][_0x4fac7f(0x1b0)](_0x305c93)){const _0x390e64=this[_0x4fac7f(0x255)][_0x4fac7f(0x2e1)](_0x305c93);if(_0x2dbd3f['RGZmc'](_0x390e64[_0x4fac7f(0x240)],0x0)){const _0x41533c=_0x390e64[_0x2dbd3f[_0x4fac7f(0x263)](_0x390e64[_0x4fac7f(0x240)],0x1)];return logger[_0x4fac7f(0x309)]('[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier='+_0x305c93+_0x4fac7f(0x291)+_0x41533c['hookUUID']+',\x20hookType='+_0x41533c[_0x4fac7f(0x329)]),_0x41533c;}}return null;}async[a71_0x5b644d(0x27b)](_0x32d347,_0x5bdea4,_0xf33817={}){const _0xb899b8=a71_0x5b644d,_0x5278c6={};_0x5278c6['lHnOp']=_0xb899b8(0x2e0),_0x5278c6['XiuDV']=function(_0x2a9bec,_0x2ca992){return _0x2a9bec===_0x2ca992;},_0x5278c6[_0xb899b8(0x2e7)]=function(_0x26947c,_0x4e6fd5){return _0x26947c||_0x4e6fd5;},_0x5278c6[_0xb899b8(0x290)]=_0xb899b8(0x2ee),_0x5278c6[_0xb899b8(0x28e)]=function(_0x18b5c,_0x13e197){return _0x18b5c===_0x13e197;};const _0x1244e8=_0x5278c6;logger[_0xb899b8(0x309)]('[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState='+_0x32d347+_0xb899b8(0x238)+_0x5bdea4+',\x20argsKeys='+Object[_0xb899b8(0x289)](_0xf33817)[_0xb899b8(0x273)](',')),await super[_0xb899b8(0x27b)](_0x32d347,_0x5bdea4,_0xf33817);const _0x5f10aa=this[_0xb899b8(0x1f1)](_0x32d347,_0x5bdea4,_0xf33817);if(!_0x5f10aa){logger[_0xb899b8(0x309)](_0x1244e8[_0xb899b8(0x1ce)]);return;}try{let _0x28ace7,_0x509807,_0x1c6c03;switch(_0x32d347){case TestFrameworkState[_0xb899b8(0x2b7)]:_0x28ace7=_0xf33817[_0xb899b8(0x283)];const _0x391992={};_0x391992[_0xb899b8(0x1f0)]=0x2,_0x391992[_0xb899b8(0x1bf)]=0x3,logger[_0xb899b8(0x309)](_0xb899b8(0x2fb)+_0x5bdea4+_0xb899b8(0x1ec)+util[_0xb899b8(0x2a3)](_0x28ace7,_0x391992)),_0x1c6c03=this[_0xb899b8(0x1ba)](_0x28ace7),_0x509807=null,logger['debug'](_0xb899b8(0x257)+_0x1c6c03+'\x20(testIdentifier)');if(_0x1244e8['XiuDV'](_0x5bdea4,HookState[_0xb899b8(0x2d7)])){logger[_0xb899b8(0x309)](_0xb899b8(0x260)+_0x1c6c03);const _0x334a2e={};_0x334a2e[_0xb899b8(0x209)]=_0x509807,_0x334a2e[_0xb899b8(0x235)]=_0x28ace7,_0x334a2e[_0xb899b8(0x2fe)]=_0x1c6c03;const _0x91bc9c=this[_0xb899b8(0x259)](_0x334a2e),_0x8a3a96={};_0x8a3a96['depth']=0x2,_0x8a3a96['maxArrayLength']=0x3,logger[_0xb899b8(0x309)](_0xb899b8(0x22c)+util['inspect'](_0x91bc9c,_0x8a3a96)),_0x5f10aa[_0xb899b8(0x31e)](_0x91bc9c),logger['debug'](_0xb899b8(0x1e5)+_0x1c6c03),await this['processPendingHooks'](_0x5f10aa,_0x1c6c03);}else{if(_0x1244e8[_0xb899b8(0x207)](_0x5bdea4,HookState[_0xb899b8(0x2e9)])){logger[_0xb899b8(0x309)](_0xb899b8(0x316)+_0x1c6c03);const _0x1f668b=_0x5f10aa['getAllData']()[_0xb899b8(0x2e1)](_0x1c6c03);logger[_0xb899b8(0x309)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20'+util[_0xb899b8(0x2a3)](Object[_0xb899b8(0x289)](_0x1244e8['OKvLX'](_0x1f668b,{}))));_0x1f668b&&_0x1f668b[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]?logger[_0xb899b8(0x309)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20'+Object[_0xb899b8(0x289)](_0x1f668b[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']])[_0xb899b8(0x240)]+_0xb899b8(0x2f8)):logger[_0xb899b8(0x309)](_0x1244e8[_0xb899b8(0x290)]);const _0x5396a5=_0xf33817[_0xb899b8(0x227)]||null,_0x309657={};_0x309657['testUUID']=_0x509807,_0x309657['testData']=_0x28ace7,_0x309657['testId']=_0x1c6c03,_0x309657[_0xb899b8(0x227)]=_0x5396a5;const _0x3e2dae=this[_0xb899b8(0x24d)](_0x309657),_0x1b5862={};_0x1b5862[_0xb899b8(0x1f0)]=0x2,_0x1b5862[_0xb899b8(0x1bf)]=0x3,logger[_0xb899b8(0x309)](_0xb899b8(0x2ff)+util[_0xb899b8(0x2a3)](_0x3e2dae,_0x1b5862)),_0x5f10aa[_0xb899b8(0x31e)](_0x3e2dae),logger[_0xb899b8(0x309)](_0xb899b8(0x23e)+_0x1c6c03),await this[_0xb899b8(0x2e6)](_0x5f10aa,_0x1c6c03);}}break;case TestFrameworkState['LOG_REPORT']:if(_0x1244e8[_0xb899b8(0x28e)](_0x5bdea4,HookState[_0xb899b8(0x2e9)])){const _0x2f2e5b={};_0x2f2e5b[_0xb899b8(0x1f0)]=0x2,logger[_0xb899b8(0x309)](_0xb899b8(0x2e3)+util[_0xb899b8(0x2a3)](_0xf33817,_0x2f2e5b)),await this[_0xb899b8(0x21e)](_0x5f10aa,_0x32d347,_0xf33817);}break;default:if(CLIUtils[_0xb899b8(0x1ee)](_0x32d347[_0xb899b8(0x2b4)]()[_0xb899b8(0x32c)]('.')[0x1])){const _0x112729={};_0x112729[_0xb899b8(0x1f0)]=0x2,_0x112729['maxArrayLength']=0x3,logger['debug'](_0xb899b8(0x2d4)+_0x32d347+',\x20hookState='+_0x5bdea4+_0xb899b8(0x2ac)+util[_0xb899b8(0x2a3)](_0xf33817[_0xb899b8(0x2c7)],_0x112729));const _0x38e6fa=await this['trackHookEvent'](_0x5f10aa,_0x32d347,_0x5bdea4,_0xf33817),_0x2acb0e={};_0x2acb0e[_0xb899b8(0x1f0)]=0x2,_0x2acb0e[_0xb899b8(0x1bf)]=0x3,logger[_0xb899b8(0x309)]('[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20'+util['inspect'](_0x38e6fa,_0x2acb0e)),_0x5f10aa['addMultipleEntries'](_0x38e6fa);}else logger[_0xb899b8(0x309)](_0xb899b8(0x2c0)+_0x32d347+_0xb899b8(0x2cf)+_0x5bdea4);break;}logger[_0xb899b8(0x309)](_0xb899b8(0x25f)+_0x32d347+_0xb899b8(0x238)+_0x5bdea4);}catch(_0x3e8b7f){logger[_0xb899b8(0x1be)]('[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState='+_0x32d347+',\x20hookState='+_0x5bdea4+_0xb899b8(0x1f9)+util[_0xb899b8(0x25d)](_0x3e8b7f));}_0xf33817['instance']=_0x5f10aa,await this[_0xb899b8(0x320)](_0x5f10aa,_0x32d347,_0x5bdea4,_0xf33817);}['getJestTestIdentifier'](_0x53671b){const _0x2fb462=a71_0x5b644d,_0x2ee9a1={};_0x2ee9a1[_0x2fb462(0x276)]=_0x2fb462(0x295);const _0x22f24d=_0x2ee9a1;if(_0x53671b&&(_0x53671b['id']||_0x53671b[_0x2fb462(0x2a0)])){const _0x35f6a2=_0x53671b['id']||_0x53671b[_0x2fb462(0x2a0)];return logger['debug'](_0x2fb462(0x1ef)+_0x35f6a2+_0x2fb462(0x1ae)),_0x35f6a2;}return logger[_0x2fb462(0x309)](_0x22f24d['nCNMo']),process[_0x2fb462(0x231)]+_0x2fb462(0x1c5);}[a71_0x5b644d(0x1f1)](_0x55af38,_0x4e0c58,_0x204a52={}){const _0x25110b=a71_0x5b644d;let _0x1e3cc8=null;return _0x1e3cc8=TestFramework[_0x25110b(0x2dc)](),!_0x1e3cc8?(logger[_0x25110b(0x309)](_0x25110b(0x1cc)+_0x55af38),this[_0x25110b(0x1a9)](_0x55af38,_0x204a52),_0x1e3cc8=TestFramework[_0x25110b(0x2dc)](),logger[_0x25110b(0x309)]('[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists='+!!_0x1e3cc8+_0x25110b(0x1fb)+_0x1e3cc8?.[_0x25110b(0x20a)]()?.[_0x25110b(0x221)]())):logger[_0x25110b(0x309)]('[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId='+_0x1e3cc8[_0x25110b(0x20a)]()?.['getId']()),_0x1e3cc8;}['trackJestInstance'](_0x2aa334,_0x335a6f){const _0x4d1527=a71_0x5b644d,_0x1b1430={};_0x1b1430[_0x4d1527(0x2db)]='trackJestInstance:\x20instance\x20already\x20exists';const _0xd42eca=_0x1b1430;if(TestFramework[_0x4d1527(0x2dc)]()){logger[_0x4d1527(0x309)](_0xd42eca[_0x4d1527(0x2db)]);return;}const _0x1066c5=CLIUtils[_0x4d1527(0x237)](),_0x4551a6=TrackedInstance[_0x4d1527(0x26d)](_0x1066c5);let _0x6825d8=null;logger[_0x4d1527(0x309)](_0x4d1527(0x26b)+_0x1066c5+_0x4d1527(0x26e)+_0x2aa334),_0x6825d8=new TestFrameworkInstance(_0x4551a6,this[_0x4d1527(0x236)](),this[_0x4d1527(0x1d6)](),_0x2aa334,HookState[_0x4d1527(0x23d)]),TestFramework['setTrackedInstance'](_0x4551a6,_0x6825d8),logger[_0x4d1527(0x309)](_0x4d1527(0x243)+_0x4551a6[_0x4d1527(0x221)]()+',\x20target='+_0x1066c5+_0x4d1527(0x30a)+this[_0x4d1527(0x236)]()[0x0]+_0x4d1527(0x250)+this[_0x4d1527(0x1d6)]()[this['getTestFrameworks']()[0x0]]);}[a71_0x5b644d(0x259)](_0x38cd14){const _0xc21793=a71_0x5b644d,_0x130a5d={};_0x130a5d[_0xc21793(0x2b8)]=function(_0x11225d,_0x9bbe57){return _0x11225d||_0x9bbe57;},_0x130a5d[_0xc21793(0x2c5)]=_0xc21793(0x279);const _0x57175a=_0x130a5d,{testUUID:_0x4be4cb,testData:_0x822d66,testId:_0x4afb33}=_0x38cd14;if(_0x57175a[_0xc21793(0x2b8)](!_0x822d66,!_0x4afb33))return logger[_0xc21793(0x309)](_0x57175a['yIEgP']),{};const _0x4ae8ec=this[_0xc21793(0x236)]()[0x0],_0x3a0574=this['getTestFrameworksVersions'](),_0xf5359={};_0xf5359[_0xc21793(0x1f0)]=0x2,_0xf5359['maxArrayLength']=0x3,logger[_0xc21793(0x309)](_0xc21793(0x21b)+util[_0xc21793(0x2a3)](_0x822d66,_0xf5359));const _0x1f9385=_0x822d66?.[_0xc21793(0x1e1)]||[],_0x4ba3e0=this[_0xc21793(0x2d0)](_0x822d66),_0xfd0a27=this[_0xc21793(0x232)](_0x822d66),_0x2d8029=_0x822d66['fn']?_0x822d66['fn']['toString']():null,_0x3e2334={[TestFrameworkConstants[_0xc21793(0x27f)]]:_0x4ae8ec,[TestFrameworkConstants[_0xc21793(0x27d)]]:_0x3a0574[_0x4ae8ec],[TestFrameworkConstants[_0xc21793(0x2c3)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0xc21793(0x27c)]]:{},[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0xc21793(0x248)],[TestFrameworkConstants[_0xc21793(0x2f0)]]:_0x4ba3e0,[TestFrameworkConstants[_0xc21793(0x31d)]]:_0xfd0a27,[TestFrameworkConstants[_0xc21793(0x2c4)]]:_0x4afb33,[TestFrameworkConstants[_0xc21793(0x2b5)]]:_0x4ba3e0,[TestFrameworkConstants[_0xc21793(0x1e7)]]:_0xfd0a27,[TestFrameworkConstants[_0xc21793(0x1e0)]]:_0x2d8029,[TestFrameworkConstants[_0xc21793(0x2ea)]]:[],[TestFrameworkConstants[_0xc21793(0x21f)]]:_0x822d66[_0xc21793(0x2a9)]||new Date()[_0xc21793(0x1b2)](),[TestFrameworkConstants[_0xc21793(0x288)]]:_0x1f9385[0x0]||'',[TestFrameworkConstants[_0xc21793(0x2b3)]]:_0x1f9385,[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0x4ba3e0,[TestFrameworkConstants[_0xc21793(0x24e)]]:{},[TestFrameworkConstants['KEY_TEST_META']]:{}};_0x822d66['retryOf']&&(_0x3e2334[TestFrameworkConstants[_0xc21793(0x321)]]=_0x822d66[_0xc21793(0x26c)]);logger[_0xc21793(0x309)](_0xc21793(0x2bc)+_0x4ba3e0+',\x20testId='+_0x4afb33+_0xc21793(0x266)+util['inspect'](_0x1f9385)+_0xc21793(0x2a7)+_0xfd0a27);const _0x1c62df={};return _0x1c62df[_0x4afb33]=_0x3e2334,_0x1c62df;}['parseJestTestResult'](_0x303183){const _0x3b5ab7=a71_0x5b644d,_0x5c759a={'iaDte':function(_0x2f399b,_0x41795e){return _0x2f399b===_0x41795e;},'xEFOX':'afterAll','EfYew':_0x3b5ab7(0x305),'tatYG':_0x3b5ab7(0x1ab),'wfoWn':_0x3b5ab7(0x271),'KiJdv':function(_0x1f13c4,_0x44ab0b){return _0x1f13c4||_0x44ab0b;},'pRhOC':_0x3b5ab7(0x1bb),'DMGuB':'unknown','sBDAj':function(_0x12336e,_0x18499c){return _0x12336e>_0x18499c;},'RtguX':'failed','rxsaV':function(_0x11edb4,_0x88b9d0){return _0x11edb4===_0x88b9d0;},'eHLPt':_0x3b5ab7(0x212),'HVQMy':'skipped','irnMk':_0x3b5ab7(0x300),'anvbl':function(_0x14ddbe,_0x1d7b94){return _0x14ddbe===_0x1d7b94;},'QGnkY':function(_0x487daa,_0x299326){return _0x487daa!==_0x299326;},'MuxQS':function(_0x4b8f47,_0x189cf4,_0x103f6a,_0x4df6f1){return _0x4b8f47(_0x189cf4,_0x103f6a,_0x4df6f1);},'EcwaV':function(_0x36fc39,_0x581493){return _0x36fc39>_0x581493;},'yKVkH':_0x3b5ab7(0x2d6)},{testUUID:_0x45df6d,testData:_0x2eefd6,testId:_0x26fb73}=_0x303183;if(_0x5c759a[_0x3b5ab7(0x1f8)](!_0x2eefd6,!_0x26fb73))return logger[_0x3b5ab7(0x309)](_0x5c759a['pRhOC']),{};const _0x48df49=this[_0x3b5ab7(0x1f1)](TestFrameworkState[_0x3b5ab7(0x2b7)],HookState[_0x3b5ab7(0x2e9)]),_0x5a59b7=_0x48df49['getAllData']()[_0x3b5ab7(0x2e1)](_0x26fb73),_0x17fcdf=_0x5c759a['KiJdv'](_0x5a59b7,{}),_0x22e767=_0x17fcdf?_0x17fcdf[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{},_0x34816f=_0x17fcdf[TestFrameworkConstants[_0x3b5ab7(0x2af)]];logger[_0x3b5ab7(0x309)]('[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20'+(_0x34816f?Object[_0x3b5ab7(0x289)](_0x34816f)[_0x3b5ab7(0x240)]:0x0)+_0x3b5ab7(0x1d3));let _0x10e5f0=_0x5c759a[_0x3b5ab7(0x304)];if(_0x2eefd6['result'])_0x10e5f0=_0x2eefd6[_0x3b5ab7(0x1a8)];else{if(_0x2eefd6[_0x3b5ab7(0x230)]&&_0x5c759a[_0x3b5ab7(0x1e9)](_0x2eefd6['errorsDetailed']['length'],0x0))_0x10e5f0=_0x5c759a['RtguX'];else _0x5c759a[_0x3b5ab7(0x217)](_0x2eefd6['status'],_0x5c759a[_0x3b5ab7(0x2cd)])||_0x5c759a[_0x3b5ab7(0x1e6)](_0x2eefd6[_0x3b5ab7(0x318)],_0x5c759a[_0x3b5ab7(0x313)])?_0x10e5f0=_0x5c759a[_0x3b5ab7(0x313)]:_0x10e5f0=_0x5c759a[_0x3b5ab7(0x201)];}const _0x1523ff={..._0x17fcdf,[TestFrameworkConstants[_0x3b5ab7(0x2d9)]]:_0x10e5f0,[TestFrameworkConstants[_0x3b5ab7(0x22e)]]:_0x2eefd6['finished_at']||new Date()['toISOString'](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()['toISOString'](),[TestFrameworkConstants[_0x3b5ab7(0x24e)]]:_0x22e767,[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x3b5ab7(0x2ec)]]:{}};if(_0x5c759a[_0x3b5ab7(0x1a5)](_0x10e5f0,_0x5c759a[_0x3b5ab7(0x2fc)])&&_0x2eefd6[_0x3b5ab7(0x230)]){const _0x22b859=this[_0x3b5ab7(0x20d)](_0x2eefd6),_0x5315f8=this[_0x3b5ab7(0x1f6)](_0x2eefd6),_0x7afcf2=this[_0x3b5ab7(0x1ca)](_0x2eefd6);_0x1523ff[TestFrameworkConstants[_0x3b5ab7(0x311)]]=_0x5315f8,_0x1523ff[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]=_0x22b859,_0x1523ff[TestFrameworkConstants['KEY_TEST_FAILURE']]=_0x7afcf2;}_0x5c759a[_0x3b5ab7(0x2eb)](_0x2eefd6['duration'],undefined)&&(_0x1523ff[TestFrameworkConstants['KEY_TEST_DURATION']]=_0x2eefd6['duration']);_0x2eefd6['retryOf']&&(_0x1523ff[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x2eefd6[_0x3b5ab7(0x26c)]);const _0x1daa51=_0x5a59b7?_0x5a59b7[TestFrameworkConstants[_0x3b5ab7(0x2af)]]||{}:{},_0x377cdd=_0x5a59b7?_0x5a59b7[TestFrameworkConstants[_0x3b5ab7(0x326)]]:_0x45df6d,_0x4b52d8=_0x5c759a[_0x3b5ab7(0x29a)](getManualUploadLogs,_0x1daa51,_0x377cdd,_0x26fb73);if(_0x5c759a[_0x3b5ab7(0x2e8)](_0x4b52d8[_0x3b5ab7(0x240)],0x0)){const _0x379e58=_0x1523ff[TestFrameworkConstants[_0x3b5ab7(0x1fd)]]||[];_0x1523ff[TestFrameworkConstants['KEY_LOGS']]=[..._0x379e58,..._0x4b52d8];}const _0xea47db=_0x17fcdf[TestFrameworkConstants[_0x3b5ab7(0x308)]]||{},_0x1c1c4c=_0x17fcdf[TestFrameworkConstants['KEY_HOOKS_STARTED']]||{},_0x3f1d24={..._0xea47db},_0x21b33c=_0x3f1d24;Object[_0x3b5ab7(0x289)](_0x1c1c4c)[_0x3b5ab7(0x24f)](_0x3f8866=>{const _0x5f05d3=_0x3b5ab7;!_0x21b33c[_0x3f8866]&&(_0x21b33c[_0x3f8866]=[]);const _0x19764d=new Set((_0x21b33c[_0x3f8866]||[])[_0x5f05d3(0x2d3)](_0x502115=>_0x502115[TestFrameworkConstants[_0x5f05d3(0x1af)]]||_0x502115[_0x5f05d3(0x254)]));(_0x1c1c4c[_0x3f8866]||[])[_0x5f05d3(0x24f)](_0x1384e3=>{const _0x48a48e=_0x5f05d3,_0x3618f1=_0x1384e3[TestFrameworkConstants['KEY_HOOK_ID']]||_0x1384e3[_0x48a48e(0x254)];if(!_0x19764d[_0x48a48e(0x1b0)](_0x3618f1)){const _0x19b690={..._0x1384e3},_0x355cdb=_0x19b690;!_0x355cdb[TestFrameworkConstants[_0x48a48e(0x226)]]&&!_0x355cdb[_0x48a48e(0x216)]&&(_0x355cdb[TestFrameworkConstants[_0x48a48e(0x226)]]=new Date()[_0x48a48e(0x1b2)]()),!_0x355cdb[TestFrameworkConstants['KEY_HOOK_RESULT']]&&!_0x355cdb[_0x48a48e(0x32a)]&&(_0x355cdb[TestFrameworkConstants[_0x48a48e(0x1ac)]]=TestFrameworkConstants['DEFAULT_HOOK_RESULT']),_0x21b33c[_0x3f8866][_0x48a48e(0x2cb)](_0x355cdb);}});});if(_0x303183['originalTest']){this[_0x3b5ab7(0x1ad)](_0x303183[_0x3b5ab7(0x227)]);const _0x3bff7e=this['buildHookMapFromTest'](_0x303183[_0x3b5ab7(0x227)]),_0x1a82d2=this[_0x3b5ab7(0x29e)](_0x303183[_0x3b5ab7(0x227)]);_0x1a82d2[_0x3b5ab7(0x24f)](_0xa14904=>{const _0x374c0f=_0x3b5ab7,_0x5952e5=_0x3bff7e[_0x374c0f(0x2e1)](_0xa14904);if(_0x5952e5&&(_0x5c759a[_0x374c0f(0x1e6)](_0x5952e5[_0x374c0f(0x30b)],_0x5c759a[_0x374c0f(0x22b)])||_0x5c759a[_0x374c0f(0x1e6)](_0x5952e5[_0x374c0f(0x30b)],_0x5c759a[_0x374c0f(0x2bb)]))){const _0x276b60=_0x5952e5[_0x374c0f(0x30b)][_0x374c0f(0x1e8)]()[_0x374c0f(0x297)](_0x5c759a[_0x374c0f(0x303)],_0x5c759a[_0x374c0f(0x298)]),_0x251074=_0x276b60;!_0x21b33c[_0x251074]&&(_0x21b33c[_0x251074]=[]);const _0x4f4fa3=_0x21b33c[_0x251074][_0x374c0f(0x204)](_0x40e96e=>(_0x40e96e[TestFrameworkConstants[_0x374c0f(0x1af)]]||_0x40e96e[_0x374c0f(0x254)])===_0xa14904);!_0x4f4fa3&&_0x21b33c[_0x251074][_0x374c0f(0x2cb)]({'key':_0x251074,[TestFrameworkConstants[_0x374c0f(0x1af)]]:_0xa14904,[TestFrameworkConstants[_0x374c0f(0x1ac)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:new Date()[_0x374c0f(0x1b2)](),[TestFrameworkConstants[_0x374c0f(0x226)]]:new Date()[_0x374c0f(0x1b2)](),[TestFrameworkConstants[_0x374c0f(0x211)]]:[],[TestFrameworkConstants[_0x374c0f(0x2e4)]]:_0x5952e5['name']||_0x5952e5[_0x374c0f(0x30b)]+_0x374c0f(0x1e2),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x22e767});}});}if(_0x2eefd6[_0x3b5ab7(0x25b)]&&_0x5c759a[_0x3b5ab7(0x1e9)](_0x2eefd6[_0x3b5ab7(0x25b)][_0x3b5ab7(0x240)],0x0))_0x1523ff[TestFrameworkConstants[_0x3b5ab7(0x308)]]=_0x2eefd6[_0x3b5ab7(0x25b)],logger['debug'](_0x5c759a[_0x3b5ab7(0x2c6)]);else _0x5c759a['EcwaV'](Object[_0x3b5ab7(0x289)](_0x21b33c)[_0x3b5ab7(0x240)],0x0)&&(_0x1523ff[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x21b33c,logger[_0x3b5ab7(0x309)](_0x3b5ab7(0x1fa)+Object[_0x3b5ab7(0x289)](_0x21b33c)['join'](',')));const _0x6f109f=this['getJestTestName'](_0x2eefd6);logger[_0x3b5ab7(0x309)](_0x3b5ab7(0x2ae)+_0x6f109f+_0x3b5ab7(0x2ce)+_0x26fb73+_0x3b5ab7(0x1b6)+_0x10e5f0+_0x3b5ab7(0x1dc)+_0x2eefd6[_0x3b5ab7(0x2d8)]);_0x5c759a[_0x3b5ab7(0x1e6)](_0x10e5f0,_0x5c759a[_0x3b5ab7(0x2fc)])&&logger[_0x3b5ab7(0x309)](_0x3b5ab7(0x23a)+_0x26fb73+',\x20failureType='+_0x1523ff[TestFrameworkConstants[_0x3b5ab7(0x311)]]+_0x3b5ab7(0x246)+_0x1523ff[TestFrameworkConstants[_0x3b5ab7(0x282)]]?.[_0x3b5ab7(0x32b)](0x0,0xc8));const _0x23dc1d={};return _0x23dc1d[_0x26fb73]=_0x1523ff,_0x23dc1d;}[a71_0x5b644d(0x29c)](_0x585b3c){const _0x216d3f=a71_0x5b644d,_0x2e53a9={};_0x2e53a9[_0x216d3f(0x327)]=function(_0x52550c,_0x31ef79){return _0x52550c!==_0x31ef79;},_0x2e53a9[_0x216d3f(0x1df)]=_0x216d3f(0x1c2);const _0x46fac1=_0x2e53a9,_0x2f7b62={};_0x2f7b62[_0x216d3f(0x1f0)]=0x2,_0x2f7b62[_0x216d3f(0x1bf)]=0x3,logger[_0x216d3f(0x309)]('[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20'+util[_0x216d3f(0x2a3)](_0x585b3c,_0x2f7b62));const _0x2468ec=[];if(_0x585b3c&&_0x585b3c[_0x216d3f(0x21d)]){let _0x1afeed=_0x585b3c[_0x216d3f(0x21d)];while(_0x1afeed&&_0x1afeed[_0x216d3f(0x206)]&&_0x46fac1['YMzqS'](_0x1afeed[_0x216d3f(0x206)],'')&&_0x46fac1[_0x216d3f(0x327)](_0x1afeed[_0x216d3f(0x206)],_0x46fac1[_0x216d3f(0x1df)])){_0x2468ec[_0x216d3f(0x2cb)](_0x1afeed['name']),_0x1afeed=_0x1afeed[_0x216d3f(0x21d)];}}return _0x2468ec[_0x216d3f(0x21c)]();}[a71_0x5b644d(0x2d0)](_0x7b601c){const _0x310d9c=a71_0x5b644d,_0x271db3={};_0x271db3[_0x310d9c(0x277)]=_0x310d9c(0x2bd);const _0x355c8d=_0x271db3;if(_0x7b601c[_0x310d9c(0x206)])return _0x7b601c[_0x310d9c(0x206)];if(_0x7b601c[_0x310d9c(0x249)])return _0x7b601c['title'];return _0x355c8d['QlSHv'];}[a71_0x5b644d(0x232)](_0x51d548){const _0x3d1e0e=a71_0x5b644d,_0x17b528={'fzhjn':function(_0x6297ad,_0x50b6ac){return _0x6297ad(_0x50b6ac);},'QJhSj':_0x3d1e0e(0x2aa)};if(_0x51d548[_0x3d1e0e(0x239)])return _0x51d548[_0x3d1e0e(0x239)];if(_0x51d548['asyncError']){const _0x14b4dc=_0x17b528[_0x3d1e0e(0x262)](require,_0x17b528[_0x3d1e0e(0x2a4)]);try{const _0x256972=_0x14b4dc[_0x3d1e0e(0x244)](_0x51d548[_0x3d1e0e(0x2a8)]);if(_0x256972[0x0]&&_0x256972[0x0][_0x3d1e0e(0x20b)])return _0x256972[0x0][_0x3d1e0e(0x20b)]();}catch(_0xb68ddf){logger['debug']('Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20'+util[_0x3d1e0e(0x25d)](_0xb68ddf));}}return null;}['getJestFailureReason'](_0x396527){const _0x3a36ff=a71_0x5b644d,_0x1d2031={};_0x1d2031[_0x3a36ff(0x2da)]=function(_0x177514,_0x15a5d4){return _0x177514>_0x15a5d4;},_0x1d2031['fwUVz']=_0x3a36ff(0x1c3);const _0x45ccee=_0x1d2031;if(_0x396527['errorsDetailed']&&_0x45ccee[_0x3a36ff(0x2da)](_0x396527[_0x3a36ff(0x230)][_0x3a36ff(0x240)],0x0))return util[_0x3a36ff(0x2a3)](_0x396527[_0x3a36ff(0x230)][0x0]);if(_0x396527[_0x3a36ff(0x296)])return _0x396527[_0x3a36ff(0x296)];return _0x45ccee['fwUVz'];}['getJestFailureType'](_0xcf9bf4){const _0x4654d6=a71_0x5b644d,_0x47c223={};_0x47c223[_0x4654d6(0x25e)]='Assert',_0x47c223['mMVZZ']=_0x4654d6(0x2ca),_0x47c223[_0x4654d6(0x25c)]=_0x4654d6(0x210);const _0xb5fde9=_0x47c223,_0x539512=this[_0x4654d6(0x20d)](_0xcf9bf4);if(_0x539512&&_0x539512[_0x4654d6(0x1ff)](_0xb5fde9[_0x4654d6(0x25e)]))return _0xb5fde9[_0x4654d6(0x2f7)];return _0xb5fde9[_0x4654d6(0x25c)];}[a71_0x5b644d(0x1ca)](_0x51db89){const _0x57a432=a71_0x5b644d,_0x76ffef={'SIyQI':function(_0x411f93,_0x2a47b3){return _0x411f93(_0x2a47b3);},'EgOFd':_0x57a432(0x1fe),'COIyF':function(_0x4d1e66,_0x5796f3){return _0x4d1e66!==_0x5796f3;},'qPJLm':_0x57a432(0x283)},{failureData:_0x379342}=_0x76ffef[_0x57a432(0x222)](require,_0x76ffef[_0x57a432(0x29b)]),_0x2494e2=[];return _0x76ffef[_0x57a432(0x256)](_0x51db89['errorsDetailed'],undefined)&&_0x2494e2[_0x57a432(0x2cb)](_0x51db89[_0x57a432(0x230)],_0x76ffef[_0x57a432(0x1b7)]),_0x379342[_0x57a432(0x293)](null,_0x2494e2);}async['trackHookEvent'](_0x2e208d,_0x3f3d6f,_0x67fa58,_0x1f0a62){const _0x531ba3=a71_0x5b644d,_0x4cd894={'jFYRj':_0x531ba3(0x2ef),'LTeZn':function(_0x110b62){return _0x110b62();},'vPkOy':function(_0x3de4f3,_0x2e1019){return _0x3de4f3 in _0x2e1019;},'dMtoZ':function(_0x1d039b,_0x1063c6){return _0x1d039b in _0x1063c6;},'KqCgj':function(_0x527d1e,_0x53cd84){return _0x527d1e===_0x53cd84;},'tLsaA':function(_0x5aed1f,_0x1f2c11){return _0x5aed1f>_0x1f2c11;},'PWSGS':_0x531ba3(0x2b2),'uZiyY':_0x531ba3(0x300),'eQIoK':function(_0x1fa2f,_0x2699c2){return _0x1fa2f>_0x2699c2;},'BusdW':function(_0x53c091,_0xf8a45b){return _0x53c091===_0xf8a45b;},'qLWhm':function(_0x1568f9,_0x5ad71b){return _0x1568f9!==_0x5ad71b;}},{hookData:_0x12e786}=_0x1f0a62,_0x4e0942=_0x67fa58['toString'](),_0x174c48=_0x3f3d6f['toString'](),_0x2a2ce2={};_0x2a2ce2[_0x531ba3(0x1f0)]=0x2,_0x2a2ce2[_0x531ba3(0x1bf)]=0x3,logger[_0x531ba3(0x309)](_0x531ba3(0x1d0)+_0x174c48+_0x531ba3(0x238)+_0x4e0942+_0x531ba3(0x2ac)+util[_0x531ba3(0x2a3)](_0x12e786,_0x2a2ce2));if(!_0x12e786)return logger['debug'](_0x4cd894['jFYRj']),{};const _0x374fc7=_0x12e786['uuid']||_0x12e786[_0x531ba3(0x274)]||_0x4cd894[_0x531ba3(0x214)](uuidv4),_0x451d13=_0x12e786[_0x531ba3(0x2ad)]||this['getJestTestIdentifier'](_0x12e786),_0xe95041=_0x3f3d6f[_0x531ba3(0x2b4)]()[_0x531ba3(0x32c)]('.')[0x1],_0x4bc28b=_0x2e208d[_0x531ba3(0x1aa)]()[_0x531ba3(0x2e1)](_0x451d13),_0x9c980f=_0x4bc28b?_0x4bc28b[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{};logger[_0x531ba3(0x309)]('[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId='+_0x374fc7+_0x531ba3(0x2ce)+_0x451d13+_0x531ba3(0x241)+_0xe95041+_0x531ba3(0x238)+_0x4e0942);if(!_0x4bc28b)return logger[_0x531ba3(0x309)](_0x531ba3(0x258)+_0x451d13+_0x531ba3(0x322)),this['storePendingHook'](_0x2e208d,_0x451d13,_0x3f3d6f,_0x67fa58,_0x1f0a62),{};let _0x5cd4a8=_0x4bc28b[TestFrameworkConstants[_0x531ba3(0x27c)]];!_0x5cd4a8&&(_0x5cd4a8={});!_0x4cd894[_0x531ba3(0x270)](_0xe95041,_0x5cd4a8)&&(_0x5cd4a8[_0xe95041]=[]);let _0x3380f9=_0x4bc28b[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x3380f9&&(_0x3380f9={});!_0x4cd894[_0x531ba3(0x1a6)](_0xe95041,_0x3380f9)&&(_0x3380f9[_0xe95041]=[]);const _0x48514e={[TestFrameworkConstants[_0x531ba3(0x27c)]]:_0x5cd4a8,[TestFrameworkConstants[_0x531ba3(0x308)]]:_0x3380f9},_0x460599={};_0x460599[_0x451d13]=_0x48514e;const _0x1096bf=_0x460599;if(_0x4cd894[_0x531ba3(0x2a6)](_0x67fa58,HookState['PRE'])){const _0x3d7c02={'key':_0xe95041,[TestFrameworkConstants[_0x531ba3(0x1af)]]:_0x374fc7,[TestFrameworkConstants[_0x531ba3(0x1ac)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x531ba3(0x2e2)]]:_0x12e786[_0x531ba3(0x2a9)]||new Date()[_0x531ba3(0x1b2)](),[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x531ba3(0x2e4)]]:_0x12e786[_0x531ba3(0x206)]||_0x12e786['hook_type']||_0xe95041,[TestFrameworkConstants[_0x531ba3(0x24e)]]:_0x9c980f};_0x5cd4a8[_0xe95041]['push'](_0x3d7c02),_0x1096bf[_0x451d13][TestFrameworkConstants[_0x531ba3(0x264)]]=_0xe95041;const _0x1cde2f={};_0x1cde2f[_0x531ba3(0x1f0)]=0x2,logger['debug'](_0x531ba3(0x1db)+_0xe95041+_0x531ba3(0x2ba)+_0x374fc7+_0x531ba3(0x2ce)+_0x451d13+_0x531ba3(0x2b1)+util[_0x531ba3(0x2a3)](_0x3d7c02,_0x1cde2f));}else{if(_0x4cd894['KqCgj'](_0x67fa58,HookState[_0x531ba3(0x2e9)])){const _0x3b64d5=_0x12e786[_0x531ba3(0x1a8)]||(_0x12e786['errorsDetailed']&&_0x4cd894[_0x531ba3(0x229)](_0x12e786[_0x531ba3(0x230)][_0x531ba3(0x240)],0x0)?_0x4cd894[_0x531ba3(0x280)]:_0x4cd894[_0x531ba3(0x247)]),_0x38d181=_0x5cd4a8[_0xe95041]||[];logger[_0x531ba3(0x309)](_0x531ba3(0x1e3)+_0xe95041+',\x20testId='+_0x451d13+_0x531ba3(0x261)+_0x3b64d5+_0x531ba3(0x30f)+_0x38d181[_0x531ba3(0x240)]);if(_0x4cd894[_0x531ba3(0x265)](_0x38d181[_0x531ba3(0x240)],0x0)){const _0x1b4301=_0x38d181[_0x531ba3(0x1d4)]();_0x4cd894[_0x531ba3(0x299)](_0x3b64d5,_0x4cd894[_0x531ba3(0x280)])&&_0x12e786[_0x531ba3(0x230)]?(_0x1b4301[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=this[_0x531ba3(0x1f6)](_0x12e786),_0x1b4301[TestFrameworkConstants[_0x531ba3(0x2f6)]]=this[_0x531ba3(0x20d)](_0x12e786),_0x1b4301[TestFrameworkConstants[_0x531ba3(0x1b1)]]=this[_0x531ba3(0x1ca)](_0x12e786),logger[_0x531ba3(0x309)](_0x531ba3(0x269)+_0xe95041+_0x531ba3(0x23b)+_0x1b4301[TestFrameworkConstants[_0x531ba3(0x317)]]+_0x531ba3(0x246)+_0x1b4301[TestFrameworkConstants[_0x531ba3(0x2f6)]]?.[_0x531ba3(0x32b)](0x0,0xc8))):_0x1b4301[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x4cd894[_0x531ba3(0x247)];_0x4cd894[_0x531ba3(0x28b)](_0x3b64d5,TestFrameworkConstants[_0x531ba3(0x324)])&&(_0x1b4301[TestFrameworkConstants[_0x531ba3(0x1ac)]]=_0x3b64d5);_0x1b4301[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x12e786['finished_at']||new Date()[_0x531ba3(0x1b2)](),_0x1b4301[TestFrameworkConstants[_0x531ba3(0x24e)]]=_0x9c980f;const _0x269ddb=_0x1b4301[TestFrameworkConstants['KEY_HOOK_ID']];!_0x3380f9[_0xe95041]&&(_0x3380f9[_0xe95041]=[]);_0x3380f9[_0xe95041]['push'](_0x1b4301),_0x1096bf[_0x451d13][TestFrameworkConstants[_0x531ba3(0x233)]]=_0xe95041;const _0x1df74f={};_0x1df74f['depth']=0x2,logger['debug'](_0x531ba3(0x224)+_0xe95041+',\x20hookId='+_0x269ddb+_0x531ba3(0x261)+_0x3b64d5+_0x531ba3(0x2b1)+util[_0x531ba3(0x2a3)](_0x1b4301,_0x1df74f));}}}const _0x122b45={};return _0x122b45['depth']=0x2,_0x122b45[_0x531ba3(0x1bf)]=0x3,logger['debug'](_0x531ba3(0x1d7)+(_0x12e786['hook_type']||_0xe95041)+',\x20hookId='+_0x374fc7+_0x531ba3(0x2ce)+_0x451d13+_0x531ba3(0x312)+util[_0x531ba3(0x2a3)](_0x1096bf,_0x122b45)),_0x1096bf;}[a71_0x5b644d(0x2f3)](_0x32c0d4){const _0x1ddda8=a71_0x5b644d,_0x30baff={};_0x30baff['gFmbv']=_0x1ddda8(0x2df);const _0x880cbd=_0x30baff;try{const _0x3666c4=_0x32c0d4['test']?this[_0x1ddda8(0x1ba)](_0x32c0d4[_0x1ddda8(0x283)]):_0x32c0d4[_0x1ddda8(0x2c7)][_0x1ddda8(0x2ad)],_0x51f2c9=_0x32c0d4['instance'],_0x493729=_0x51f2c9[_0x1ddda8(0x20a)](),_0x4d3056=_0x51f2c9['getAllData']()[_0x1ddda8(0x2e1)](_0x3666c4);if(!_0x4d3056)return logger['debug'](_0x1ddda8(0x1ea)+_0x3666c4),{};const {[TestFrameworkConstants[_0x1ddda8(0x27f)]]:_0x8d50a5='',[TestFrameworkConstants[_0x1ddda8(0x27d)]]:_0x3e38e2='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x5ea375='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x3196de=''}=_0x4d3056,_0x30d4fb=_0x51f2c9[_0x1ddda8(0x2f9)]()[_0x1ddda8(0x2b4)]()[_0x1ddda8(0x32c)]('.')[0x1],_0x4fbc32=_0x51f2c9['getCurrentHookState']()[_0x1ddda8(0x2b4)]()[_0x1ddda8(0x32c)]('.')[0x1],_0x374b6e=global?.[_0x1ddda8(0x31f)]?.['workerInfo']?.['parallelIndex'],_0x436a39=_0x51f2c9[_0x1ddda8(0x1a4)](),_0x5b9157=Buffer[_0x1ddda8(0x234)](JSON[_0x1ddda8(0x24b)](_0x4d3056))[_0x1ddda8(0x2b4)](_0x880cbd[_0x1ddda8(0x21a)]),_0xa8896a={'hash':_0x493729[_0x1ddda8(0x221)](),'threadId':_0x493729[_0x1ddda8(0x23c)]()[_0x1ddda8(0x2b4)](),'processId':_0x493729[_0x1ddda8(0x292)]()[_0x1ddda8(0x2b4)]()},_0x302559={};_0x302559['platformIndex']=_0x374b6e,_0x302559[_0x1ddda8(0x294)]=_0x8d50a5,_0x302559['testFrameworkVersion']=_0x3e38e2,_0x302559[_0x1ddda8(0x285)]=_0x30d4fb,_0x302559[_0x1ddda8(0x203)]=_0x4fbc32,_0x302559[_0x1ddda8(0x1f4)]=_0x5ea375,_0x302559[_0x1ddda8(0x29f)]=_0x3196de,_0x302559[_0x1ddda8(0x2a0)]=_0x436a39,_0x302559[_0x1ddda8(0x2ed)]=_0x5b9157,_0x302559[_0x1ddda8(0x28d)]=_0xa8896a,_0x302559[_0x1ddda8(0x1b9)]=_0x3666c4;const _0x4783ac=_0x302559;return _0x4783ac;}catch(_0x2984b9){return logger[_0x1ddda8(0x1be)](_0x1ddda8(0x252)+util['format'](_0x2984b9)),{};}}async['sendLogCreatedEvent'](_0x3d83ae,_0x35fed1,_0x3b2f7f){const _0x537e1a=a71_0x5b644d,_0x6eabad={'JMCmV':function(_0x539c66,_0x982854){return _0x539c66+_0x982854;},'FNRMv':'missing','IvFZo':_0x537e1a(0x215),'BDWbk':function(_0x53971d,_0x100f57){return _0x53971d>_0x100f57;},'gQdRc':function(_0x280a1f,_0x3a6ba3,_0x56f957,_0x4cdc8e){return _0x280a1f(_0x3a6ba3,_0x56f957,_0x4cdc8e);},'nDKNr':function(_0x1ad1a0,_0x20cb2e){return _0x1ad1a0-_0x20cb2e;},'dbjzA':function(_0x161e75,_0x11f070){return _0x161e75===_0x11f070;},'ILMUP':function(_0x7c61a3,_0x33ae4b){return _0x7c61a3/_0x33ae4b;},'dyNUr':function(_0x14368a,_0x2124d2){return _0x14368a<_0x2124d2;},'blgPJ':function(_0x1eb2c5,_0xb652ac){return _0x1eb2c5*_0xb652ac;}};try{const _0x5c6b7b=_0x3b2f7f[_0x537e1a(0x209)]||_0x3b2f7f[_0x537e1a(0x2fe)],_0x5159d6=Array[_0x537e1a(0x234)](_0x3d83ae[_0x537e1a(0x1aa)]()[_0x537e1a(0x289)]()),_0x175319=_0x3d83ae['getAllData']()[_0x537e1a(0x2e1)](_0x5c6b7b);if(!_0x175319){logger[_0x537e1a(0x309)](_0x537e1a(0x1d9)+_0x5c6b7b);return;}const {[TestFrameworkConstants[_0x537e1a(0x27f)]]:_0x388f91='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x284245=''}=_0x175319;let _0x36cb0a=[];if(_0x175319&&_0x175319[TestFrameworkConstants[_0x537e1a(0x1fd)]]&&Array[_0x537e1a(0x1ed)](_0x175319[TestFrameworkConstants[_0x537e1a(0x1fd)]])){_0x36cb0a=_0x175319[TestFrameworkConstants[_0x537e1a(0x1fd)]]||[],logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20'+_0x36cb0a[_0x537e1a(0x240)]+_0x537e1a(0x219)+_0x5c6b7b);const _0x1c676b={[TestFrameworkConstants[_0x537e1a(0x1fd)]]:[]},_0x2f3d71={};_0x2f3d71[_0x5c6b7b]=_0x1c676b,_0x3d83ae[_0x537e1a(0x31e)](_0x2f3d71),logger[_0x537e1a(0x309)](_0x537e1a(0x2ab)+_0x5c6b7b);}else logger[_0x537e1a(0x309)](_0x537e1a(0x1bd)+_0x5c6b7b);logger[_0x537e1a(0x309)](_0x537e1a(0x20e)+_0x36cb0a[_0x537e1a(0x240)]+_0x537e1a(0x268)+_0x5c6b7b);const _0x4949f6=_0x36cb0a[_0x537e1a(0x205)](_0xd85355=>_0xd85355[_0x537e1a(0x1cb)]==='TEST_SCREENSHOT');_0x6eabad['BDWbk'](_0x4949f6[_0x537e1a(0x240)],0x0)&&(logger[_0x537e1a(0x309)](_0x537e1a(0x220)+_0x4949f6[_0x537e1a(0x240)]+_0x537e1a(0x1fc)+_0x5c6b7b),_0x4949f6[_0x537e1a(0x24f)]((_0x7a1507,_0x11fa6d)=>{const _0x58d0d8=_0x537e1a;logger[_0x58d0d8(0x309)](_0x58d0d8(0x323)+_0x6eabad[_0x58d0d8(0x272)](_0x11fa6d,0x1)+'/'+_0x4949f6['length']+_0x58d0d8(0x26f)+(_0x7a1507[_0x58d0d8(0x1b9)]||_0x6eabad[_0x58d0d8(0x22f)])+',\x20test_run_uuid='+(_0x7a1507['test_run_uuid']||_0x6eabad[_0x58d0d8(0x22f)])+',\x20hook_run_uuid='+(_0x7a1507['hook_run_uuid']||_0x6eabad[_0x58d0d8(0x314)])+',\x20messageLength='+(_0x7a1507[_0x58d0d8(0x1a3)]?.['length']||0x0));}));const _0x21b855=_0x175319[TestFrameworkConstants[_0x537e1a(0x2af)]]||{},_0x29262f=_0x6eabad[_0x537e1a(0x284)](getMediaArtifactsLogs,_0x21b855,null,_0x5c6b7b),_0x171ff4=(_0x36cb0a||[])[_0x537e1a(0x307)](_0x29262f||[]),_0x536d41=_0x4949f6?.[_0x537e1a(0x240)]||0x0,_0x487bb9=_0x6eabad[_0x537e1a(0x267)](_0x36cb0a?.[_0x537e1a(0x240)]||0x0,_0x536d41);logger['debug'](_0x537e1a(0x1dd)+_0x5c6b7b+_0x537e1a(0x30d)+_0x487bb9+',\x20screenshotLogs:\x20'+_0x536d41+',\x20attachmentLogs:\x20'+(_0x29262f?.[_0x537e1a(0x240)]||0x0)+_0x537e1a(0x208)+_0x171ff4[_0x537e1a(0x240)]);if(!_0x171ff4||_0x6eabad[_0x537e1a(0x1f7)](_0x171ff4[_0x537e1a(0x240)],0x0)){logger['debug'](_0x537e1a(0x1d8)+_0x5c6b7b);return;}const _0x287d73=0x28,_0x5da380=Math[_0x537e1a(0x2cc)](_0x6eabad['ILMUP'](_0x171ff4[_0x537e1a(0x240)],_0x287d73));for(let _0x51a9d2=0x0;_0x6eabad[_0x537e1a(0x2f5)](_0x51a9d2,_0x5da380);_0x51a9d2++){const _0xe95811=_0x6eabad[_0x537e1a(0x301)](_0x51a9d2,_0x287d73),_0x40299d=_0x6eabad['JMCmV'](_0xe95811,_0x287d73),_0x5da54e=_0x171ff4[_0x537e1a(0x28a)](_0xe95811,_0x40299d),_0x5ae094=global?.[_0x537e1a(0x31f)]?.[_0x537e1a(0x31b)]?.[_0x537e1a(0x2f2)]||0x0,_0x4b9b61={'platformIndex':_0x5ae094,'logs':_0x5da54e,'testFrameworkName':_0x388f91,'testFrameworkVersion':_0x284245,'testFrameworkState':_0x35fed1[_0x537e1a(0x2b4)]()[_0x537e1a(0x32c)]('.')[0x1]},_0x40852b={};_0x40852b[_0x537e1a(0x1f0)]=0x3,_0x40852b[_0x537e1a(0x1bf)]=0x5,logger[_0x537e1a(0x309)](_0x537e1a(0x2dd)+_0x6eabad[_0x537e1a(0x272)](_0x51a9d2,0x1)+'/'+_0x5da380+_0x537e1a(0x2b9)+_0x5c6b7b+',\x20logsInBatch:\x20'+_0x5da54e[_0x537e1a(0x240)]+_0x537e1a(0x2d5)+_0x5ae094+_0x537e1a(0x310)+util[_0x537e1a(0x2a3)](_0x4b9b61,_0x40852b));const _0x216770=await GrpcClient['getInstance']()[_0x537e1a(0x28c)](_0x4b9b61);logger[_0x537e1a(0x309)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20'+_0x6eabad['JMCmV'](_0x51a9d2,0x1)+'/'+_0x5da380+'\x20-\x20testId:\x20'+_0x5c6b7b+_0x537e1a(0x225)+util[_0x537e1a(0x2a3)](_0x216770));}if(_0x29262f&&_0x6eabad[_0x537e1a(0x31a)](_0x29262f[_0x537e1a(0x240)],0x0)&&_0x175319[TestFrameworkConstants[_0x537e1a(0x2af)]]){const _0x284a64={[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]:{}},_0x389582={};_0x389582[_0x5c6b7b]=_0x284a64,_0x3d83ae[_0x537e1a(0x31e)](_0x389582);}logger[_0x537e1a(0x309)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20'+_0x5c6b7b+_0x537e1a(0x1cf)+_0x5da380);}catch(_0x5daada){logger['error'](_0x537e1a(0x2c9)+(_0x3b2f7f['testUUID']||_0x3b2f7f[_0x537e1a(0x2fe)])+_0x537e1a(0x2de)+util[_0x537e1a(0x25d)](_0x5daada));}}[a71_0x5b644d(0x26a)](_0x436ce3,_0x34c031,_0x4ed8e9,_0x1d6625,_0x33a647){const _0xf53c19=a71_0x5b644d,_0x463eda={};_0x463eda['QILPV']=function(_0x5c91be,_0xde6c37){return _0x5c91be===_0xde6c37;},_0x463eda[_0xf53c19(0x2f1)]=_0xf53c19(0x305);const _0x48023d=_0x463eda,{hookData:_0x231a86}=_0x33a647,_0xf903b9={'testId':_0x34c031,'testFrameworkState':_0x4ed8e9,'hookState':_0x1d6625,'args':_0x33a647,'timestamp':new Date()['toISOString']()};if(_0x48023d['QILPV'](_0x4ed8e9,TestFrameworkState['BEFORE_ALL'])&&_0x231a86){const _0x569d22={};_0x569d22[_0xf53c19(0x22d)]=_0x231a86[_0xf53c19(0x239)]||_0x231a86[_0xf53c19(0x1f5)],_0x569d22[_0xf53c19(0x223)]=_0x231a86['scope']||_0x231a86[_0xf53c19(0x1e1)]&&_0x231a86[_0xf53c19(0x1e1)][0x0]||'',_0x569d22[_0xf53c19(0x329)]=_0x48023d[_0xf53c19(0x2f1)],_0xf903b9[_0xf53c19(0x1b3)]=_0x569d22,logger[_0xf53c19(0x309)](_0xf53c19(0x278)+_0x34c031+_0xf53c19(0x2a5)+_0xf903b9[_0xf53c19(0x1b3)][_0xf53c19(0x22d)]+_0xf53c19(0x1e4)+_0xf903b9['hookMetadata'][_0xf53c19(0x223)]);}_0x436ce3[_0xf53c19(0x1da)](_0x34c031,_0xf903b9),logger[_0xf53c19(0x309)](_0xf53c19(0x281)+_0x34c031+_0xf53c19(0x29d)+_0x4ed8e9+',\x20hookState:\x20'+_0x1d6625);}async[a71_0x5b644d(0x2e6)](_0x328292,_0x21c56e){const _0x3d2280=a71_0x5b644d,_0x3a8911={};_0x3a8911['vTtEp']=function(_0x9cd78d,_0x831fd0){return _0x9cd78d>_0x831fd0;},_0x3a8911[_0x3d2280(0x251)]=_0x3d2280(0x287),_0x3a8911[_0x3d2280(0x306)]=function(_0x428b17,_0x2a52ad){return _0x428b17===_0x2a52ad;},_0x3a8911['DWqyJ']=function(_0x23a067,_0x226e14){return _0x23a067===_0x226e14;},_0x3a8911[_0x3d2280(0x253)]=function(_0x47eb2f,_0x21779a){return _0x47eb2f===_0x21779a;},_0x3a8911[_0x3d2280(0x27e)]='[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook',_0x3a8911['gAjTC']=_0x3d2280(0x1bc);const _0xf3b50=_0x3a8911;if(_0x328292[_0x3d2280(0x23f)](_0x21c56e)){const _0x1230da=_0x328292[_0x3d2280(0x242)](_0x21c56e);logger['debug']('Processing\x20'+_0x1230da[_0x3d2280(0x240)]+_0x3d2280(0x1c9)+_0x21c56e);for(const _0x42ac69 of _0x1230da){try{const _0x25ef03=await this['trackHookEvent'](_0x328292,_0x42ac69[_0x3d2280(0x285)],_0x42ac69[_0x3d2280(0x203)],_0x42ac69['args']);_0x25ef03&&_0xf3b50['vTtEp'](Object[_0x3d2280(0x289)](_0x25ef03)[_0x3d2280(0x240)],0x0)&&_0x328292['addMultipleEntries'](_0x25ef03),await this[_0x3d2280(0x320)](_0x328292,_0x42ac69[_0x3d2280(0x285)],_0x42ac69[_0x3d2280(0x203)],_0x42ac69['args']);}catch(_0x279b42){logger[_0x3d2280(0x1be)](_0x3d2280(0x25a)+_0x21c56e+_0x3d2280(0x2de)+_0x279b42);}}_0x328292[_0x3d2280(0x2f4)](_0x21c56e),logger[_0x3d2280(0x309)](_0x3d2280(0x2a2)+_0x21c56e);}const _0x216214=_0x328292['getAllData']()[_0x3d2280(0x2e1)](_0x21c56e);if(_0x216214){const _0x5f28fe=_0x216214[TestFrameworkConstants[_0x3d2280(0x31d)]]||_0x216214[TestFrameworkConstants[_0x3d2280(0x1e7)]],_0x5708a0=_0x216214[TestFrameworkConstants['KEY_TEST_SCOPE']]||_0x216214[TestFrameworkConstants[_0x3d2280(0x2b3)]]&&_0x216214[TestFrameworkConstants[_0x3d2280(0x2b3)]][0x0]||'';logger['debug'](_0xf3b50[_0x3d2280(0x251)]);const _0x4c7952=_0x328292['getAllPendingHookTestIds']();for(const _0x53bbac of _0x4c7952){if(_0xf3b50[_0x3d2280(0x306)](_0x53bbac,_0x21c56e))continue;if(_0x328292[_0x3d2280(0x23f)](_0x53bbac)){const _0x3ec485=_0x328292[_0x3d2280(0x242)](_0x53bbac);for(const _0x5802d3 of _0x3ec485){if(_0xf3b50['QoEVq'](_0x5802d3[_0x3d2280(0x285)],TestFrameworkState[_0x3d2280(0x2b6)])&&_0x5802d3[_0x3d2280(0x1b3)]){const _0x5431dd=_0x5802d3[_0x3d2280(0x1b3)][_0x3d2280(0x22d)],_0x392e2d=_0x5802d3[_0x3d2280(0x1b3)][_0x3d2280(0x223)];if(_0xf3b50[_0x3d2280(0x2d2)](_0x5431dd,_0x5f28fe)&&_0xf3b50[_0x3d2280(0x253)](_0x392e2d,_0x5708a0)){logger['debug'](_0x3d2280(0x30e)+_0x53bbac+_0x3d2280(0x218)+_0x21c56e+_0x3d2280(0x2a5)+_0x5431dd+_0x3d2280(0x1e4)+_0x392e2d);_0x5802d3['args']&&_0x5802d3[_0x3d2280(0x27a)]['hookData']&&(_0x5802d3[_0x3d2280(0x27a)][_0x3d2280(0x2c7)][_0x3d2280(0x2ad)]=_0x21c56e,logger[_0x3d2280(0x309)](_0x3d2280(0x1c0)+_0x53bbac+'\x20to\x20'+_0x21c56e));try{const _0x58520d=await this[_0x3d2280(0x1c6)](_0x328292,_0x5802d3[_0x3d2280(0x285)],_0x5802d3['hookState'],_0x5802d3[_0x3d2280(0x27a)]);_0x58520d&&_0xf3b50[_0x3d2280(0x319)](Object[_0x3d2280(0x289)](_0x58520d)[_0x3d2280(0x240)],0x0)&&_0x328292[_0x3d2280(0x31e)](_0x58520d);await this[_0x3d2280(0x320)](_0x328292,_0x5802d3[_0x3d2280(0x285)],_0x5802d3[_0x3d2280(0x203)],_0x5802d3[_0x3d2280(0x27a)]);const _0x5942a5=_0x328292[_0x3d2280(0x242)](_0x53bbac)[_0x3d2280(0x205)](_0x63e53c=>_0x63e53c!==_0x5802d3);if(_0xf3b50[_0x3d2280(0x306)](_0x5942a5[_0x3d2280(0x240)],0x0))_0x328292['removePendingHooks'](_0x53bbac);else{_0x328292[_0x3d2280(0x2f4)](_0x53bbac);for(const _0x4446cc of _0x5942a5){_0x328292[_0x3d2280(0x1da)](_0x53bbac,_0x4446cc);}}logger[_0x3d2280(0x309)](_0xf3b50['UrBdb']);}catch(_0x5bec5c){logger[_0x3d2280(0x1be)](_0xf3b50[_0x3d2280(0x20f)]);}}}}}}}}[a71_0x5b644d(0x1ad)](_0x590b22){const _0x42ecb8=a71_0x5b644d,_0x58cbbc={'QjkoZ':function(_0x1928ec){return _0x1928ec();}};if(!_0x590b22||!_0x590b22[_0x42ecb8(0x21d)])return;_0x590b22['parent'][_0x42ecb8(0x25b)]&&Array[_0x42ecb8(0x1ed)](_0x590b22[_0x42ecb8(0x21d)][_0x42ecb8(0x25b)])&&_0x590b22[_0x42ecb8(0x21d)][_0x42ecb8(0x25b)][_0x42ecb8(0x24f)](_0x43801f=>{const _0x91f375=_0x42ecb8;!_0x43801f[_0x91f375(0x274)]&&!_0x43801f[_0x91f375(0x2bf)]&&(_0x43801f['hookAnalyticsId']=_0x58cbbc['QjkoZ'](uuidv4),_0x43801f['hookUUID']=_0x43801f[_0x91f375(0x274)],logger[_0x91f375(0x309)](_0x91f375(0x2a1)+_0x43801f[_0x91f375(0x30b)]+_0x91f375(0x291)+_0x43801f[_0x91f375(0x274)]));}),this[_0x42ecb8(0x1ad)](_0x590b22[_0x42ecb8(0x21d)]);}[a71_0x5b644d(0x29e)](_0x32474f){const _0x42a288=a71_0x5b644d,_0x30df54={'jcLFT':function(_0x2c720f,_0x39623e){return _0x2c720f(_0x39623e);}};if(!_0x32474f||!_0x32474f['parent'])return[];const _0x356529=[];return _0x32474f['parent'][_0x42a288(0x25b)]&&Array['isArray'](_0x32474f['parent']['hooks'])&&_0x32474f[_0x42a288(0x21d)][_0x42a288(0x25b)][_0x42a288(0x24f)](_0x4e2f56=>{const _0x42cdb4=_0x42a288,_0x55ffdb=_0x4e2f56[_0x42cdb4(0x274)]||_0x4e2f56[_0x42cdb4(0x2bf)];_0x55ffdb&&!this[_0x42cdb4(0x2b0)](_0x4e2f56)&&!_0x30df54[_0x42cdb4(0x2c2)](isInternalHook,_0x4e2f56['fn'])&&_0x356529[_0x42cdb4(0x2cb)](_0x55ffdb);}),[..._0x356529,...this[_0x42a288(0x29e)](_0x32474f[_0x42a288(0x21d)])];}[a71_0x5b644d(0x1a7)](_0xd7d62d){const _0x14b042=a71_0x5b644d,_0x53db76={'XeuUE':function(_0x1b04a0,_0x531ca0){return _0x1b04a0(_0x531ca0);},'jseOV':'unknown','grofj':function(_0x2fb8e3,_0x93c40d){return _0x2fb8e3(_0x93c40d);}},_0x1af66e=new Map(),_0x1212c1=_0x530c5c=>{const _0x511e6b=a71_0xca50;if(!_0x530c5c||!_0x530c5c[_0x511e6b(0x21d)])return;_0x530c5c[_0x511e6b(0x21d)][_0x511e6b(0x25b)]&&Array[_0x511e6b(0x1ed)](_0x530c5c[_0x511e6b(0x21d)]['hooks'])&&_0x530c5c[_0x511e6b(0x21d)][_0x511e6b(0x25b)][_0x511e6b(0x24f)](_0x175df9=>{const _0x250252=_0x511e6b,_0x2c4574=_0x175df9[_0x250252(0x274)]||_0x175df9[_0x250252(0x2bf)];if(_0x2c4574&&!this['isJestInternalHook'](_0x175df9)&&!_0x53db76['XeuUE'](isInternalHook,_0x175df9['fn'])){const _0x29de6a={};_0x29de6a[_0x250252(0x30b)]=_0x175df9[_0x250252(0x30b)]||_0x53db76[_0x250252(0x1d2)],_0x29de6a[_0x250252(0x206)]=_0x175df9[_0x250252(0x206)]||'\x22'+_0x175df9[_0x250252(0x30b)]+_0x250252(0x1b5),_0x1af66e['set'](_0x2c4574,_0x29de6a);}}),_0x53db76[_0x511e6b(0x2fd)](_0x1212c1,_0x530c5c['parent']);};return _0x53db76[_0x14b042(0x2fd)](_0x1212c1,_0xd7d62d),_0x1af66e;}['isJestInternalHook'](_0x254487){const _0x3e3c81=a71_0x5b644d,_0x21d64e={};_0x21d64e[_0x3e3c81(0x1b8)]='jest-circus',_0x21d64e['IxCyd']=_0x3e3c81(0x1f2);const _0x4e2341=_0x21d64e;try{const _0x4270d4=this['getRootParentFile'](_0x254487);return _0x4270d4&&_0x4270d4[_0x3e3c81(0x1ff)](_0x4e2341[_0x3e3c81(0x1b8)]);}catch(_0x175a0f){logger[_0x3e3c81(0x309)](_0x4e2341['IxCyd']);}return![];}['getRootParentFile'](_0x51ca5a){const _0x49edb4=a71_0x5b644d;if(_0x51ca5a[_0x49edb4(0x2a8)])try{const _0x3ebd40=stackTrace[_0x49edb4(0x244)](_0x51ca5a[_0x49edb4(0x2a8)]);return _0x3ebd40[0x0]?_0x3ebd40[0x0][_0x49edb4(0x20b)]():null;}catch(_0x24b541){logger[_0x49edb4(0x309)]('[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20'+util[_0x49edb4(0x25d)](_0x24b541));}if(_0x51ca5a[_0x49edb4(0x275)])return _0x51ca5a['file'];return null;}}module[a71_0x5b644d(0x1c1)]=JestTestFramework;
@@ -1 +1 @@
1
- function a71_0x8485(_0x3ada39,_0x18d7db){const _0x21a6a2=a71_0x21a6();return a71_0x8485=function(_0x848568,_0x2df6c7){_0x848568=_0x848568-0x17d;let _0x520d2f=_0x21a6a2[_0x848568];return _0x520d2f;},a71_0x8485(_0x3ada39,_0x18d7db);}const a71_0x5a4df4=a71_0x8485;(function(_0x3b8f5e,_0x13a5c1){const _0x5be448=a71_0x8485,_0x4d85de=_0x3b8f5e();while(!![]){try{const _0x26a4ae=-parseInt(_0x5be448(0x19f))/0x1*(parseInt(_0x5be448(0x19a))/0x2)+parseInt(_0x5be448(0x1a5))/0x3*(-parseInt(_0x5be448(0x19e))/0x4)+-parseInt(_0x5be448(0x18d))/0x5*(-parseInt(_0x5be448(0x184))/0x6)+-parseInt(_0x5be448(0x1a3))/0x7*(parseInt(_0x5be448(0x199))/0x8)+parseInt(_0x5be448(0x180))/0x9+-parseInt(_0x5be448(0x1a7))/0xa*(-parseInt(_0x5be448(0x1a8))/0xb)+parseInt(_0x5be448(0x1ac))/0xc;if(_0x26a4ae===_0x13a5c1)break;else _0x4d85de['push'](_0x4d85de['shift']());}catch(_0x4b5d1a){_0x4d85de['push'](_0x4d85de['shift']());}}}(a71_0x21a6,0xb028a));const AutomationFramework=require(a71_0x5a4df4(0x17e)),{createClassLogger}=require(a71_0x5a4df4(0x18b)),AutomationFrameworkState=require(a71_0x5a4df4(0x191)),CLIUtils=require(a71_0x5a4df4(0x1a4)),TrackedInstance=require(a71_0x5a4df4(0x196)),AutomationFrameworkInstance=require(a71_0x5a4df4(0x18e));class PlaywrightAutomationFramework extends AutomationFramework{[a71_0x5a4df4(0x198)]=createClassLogger(a71_0x5a4df4(0x17d));constructor(_0x2255ee,_0x749675){super(_0x2255ee,_0x749675);}async['trackEvent'](_0x17a5d7,_0xffd85f,_0x39ec66={}){const _0x54018c=a71_0x5a4df4,_0x19e6ff={};_0x19e6ff[_0x54018c(0x189)]=function(_0x2c2dde,_0x4601ad){return _0x2c2dde===_0x4601ad;};const _0x4bfedb=_0x19e6ff;this['logger'][_0x54018c(0x1a9)](_0x54018c(0x18f)+_0x17a5d7+_0x54018c(0x1a0)+_0xffd85f),await super[_0x54018c(0x192)](_0x17a5d7,_0xffd85f,_0x39ec66);const _0x3ab015=this[_0x54018c(0x194)](_0x17a5d7,_0xffd85f,_0x39ec66);if(_0x4bfedb[_0x54018c(0x189)](_0x3ab015,null))return;_0x39ec66['instance']=_0x3ab015,await this[_0x54018c(0x1ab)](_0x3ab015,_0x17a5d7,_0xffd85f,_0x39ec66);}[a71_0x5a4df4(0x194)](_0x77b38a,_0x13c09b,_0x3c317e={}){const _0x580120=a71_0x5a4df4,_0x3d2d1b={};_0x3d2d1b['bvQrH']=function(_0xf20acb,_0x227619){return _0xf20acb===_0x227619;},_0x3d2d1b[_0x580120(0x187)]=function(_0x10efa6,_0x4b182a){return _0x10efa6===_0x4b182a;};const _0x46f0c8=_0x3d2d1b;let _0x3db737=null;return(_0x46f0c8[_0x580120(0x1a6)](_0x77b38a,AutomationFrameworkState[_0x580120(0x17f)])||_0x46f0c8[_0x580120(0x1a6)](_0x77b38a,AutomationFrameworkState[_0x580120(0x195)])&&(_0x3c317e[_0x580120(0x186)]&&_0x3c317e[_0x580120(0x186)]['params']&&_0x3c317e['message'][_0x580120(0x185)][_0x580120(0x19b)])||_0x46f0c8['aqqeu'](_0x77b38a,AutomationFrameworkState['NONE']))&&this[_0x580120(0x1a2)](_0x77b38a,_0x3c317e),_0x3db737=AutomationFramework[_0x580120(0x19c)](),_0x3db737;}[a71_0x5a4df4(0x1a2)](_0x1fdcde,_0x504a11){const _0x4f07f0=a71_0x5a4df4,_0x3b2e80={};_0x3b2e80[_0x4f07f0(0x197)]=_0x4f07f0(0x1aa);const _0x3140bd=_0x3b2e80;if(AutomationFramework[_0x4f07f0(0x19c)]()){this[_0x4f07f0(0x198)][_0x4f07f0(0x188)](_0x3140bd[_0x4f07f0(0x197)]);return;}const _0x1c032a=CLIUtils[_0x4f07f0(0x18c)](),_0xde2ce5=TrackedInstance[_0x4f07f0(0x1a1)](_0x1c032a);let _0x39cf2e=null;this[_0x4f07f0(0x198)][_0x4f07f0(0x188)](_0x4f07f0(0x18a)+_0x1c032a+_0x4f07f0(0x182)+_0x1fdcde),_0x39cf2e=new AutomationFrameworkInstance(_0xde2ce5,this[_0x4f07f0(0x183)](),this[_0x4f07f0(0x19d)](),_0x1fdcde),AutomationFramework['setTrackedInstance'](_0xde2ce5,_0x39cf2e),this[_0x4f07f0(0x198)][_0x4f07f0(0x188)]('trackPlaywrightInstance:\x20saved\x20instance\x20contextId='+_0xde2ce5[_0x4f07f0(0x190)]()+_0x4f07f0(0x181)+_0x1c032a);}}module[a71_0x5a4df4(0x193)]=PlaywrightAutomationFramework;function a71_0x21a6(){const _0x210828=['7KsXkOY','../cliUtils.js','75021oIpwPw','bvQrH','258730ResDfP','88gwFRVC','debug','trackPlaywrightInstance:\x20instance\x20already\x20exists','runHooks','20693796eadsNq','PlaywrightAutomationFramework','./automationFramework.js','CREATE','9028926oqiHPM','\x20target=',',\x20state=','getAutomationFrameworkName','630ImVRZg','params','message','aqqeu','info','FRGNn','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','../../../helpers/classLogger.js','getCurrentInstanceName','30670aLLRYg','../instances/automationFrameworkInstance.js','trackEvent:\x20automationFrameworkState=','getId','../state/automationFrameworkState.js','trackEvent','exports','resolveInstance','PLAYWRIGHT_DISPATCH','../instances/trackedInstance.js','snBJw','logger','6258640MSumPr','2OHwqxG','bsParams','getTrackedInstance','getAutomationFrameworkVersion','136cNTRAr','1224637WjtxkE','\x20hookState=','createContext','trackPlaywrightInstance'];a71_0x21a6=function(){return _0x210828;};return a71_0x21a6();}
1
+ const a72_0x295b64=a72_0x2412;function a72_0x2412(_0x2fdd46,_0x5b66e3){const _0x1ed447=a72_0x1ed4();return a72_0x2412=function(_0x241248,_0xa8b590){_0x241248=_0x241248-0x74;let _0x49ea96=_0x1ed447[_0x241248];return _0x49ea96;},a72_0x2412(_0x2fdd46,_0x5b66e3);}function a72_0x1ed4(){const _0x5c2f9c=['message','2428050VuXIPS','6926647nDxXhZ','trackPlaywrightInstance:\x20instance\x20already\x20exists','trackEvent','CREATE','debug','../state/automationFrameworkState.js','params','runHooks','559266LGxpRb','NONE','PLAYWRIGHT_DISPATCH','../../../helpers/classLogger.js','info','218478rIYAiT','lXnMV','1818572svIZHw','155996CegEJv','createContext','logger','../instances/trackedInstance.js','getAutomationFrameworkVersion','ypWxn','\x20hookState=','1433075ZonpIB','getAutomationFrameworkName','setTrackedInstance','exports','LCITc','getTrackedInstance','getId','PlaywrightAutomationFramework','trackPlaywrightInstance','../cliUtils.js','WQDwb','resolveInstance'];a72_0x1ed4=function(){return _0x5c2f9c;};return a72_0x1ed4();}(function(_0x3308b6,_0xbbafe9){const _0x54284a=a72_0x2412,_0x5efb61=_0x3308b6();while(!![]){try{const _0x46eeaf=-parseInt(_0x54284a(0x95))/0x1+-parseInt(_0x54284a(0x8d))/0x2+-parseInt(_0x54284a(0x92))/0x3+parseInt(_0x54284a(0x94))/0x4+-parseInt(_0x54284a(0x77))/0x5+-parseInt(_0x54284a(0x84))/0x6+parseInt(_0x54284a(0x85))/0x7;if(_0x46eeaf===_0xbbafe9)break;else _0x5efb61['push'](_0x5efb61['shift']());}catch(_0x382fb6){_0x5efb61['push'](_0x5efb61['shift']());}}}(a72_0x1ed4,0x3bac3));const AutomationFramework=require('./automationFramework.js'),{createClassLogger}=require(a72_0x295b64(0x90)),AutomationFrameworkState=require(a72_0x295b64(0x8a)),CLIUtils=require(a72_0x295b64(0x80)),TrackedInstance=require(a72_0x295b64(0x98)),AutomationFrameworkInstance=require('../instances/automationFrameworkInstance.js');class PlaywrightAutomationFramework extends AutomationFramework{['logger']=createClassLogger(a72_0x295b64(0x7e));constructor(_0xf74e59,_0x1e3f08){super(_0xf74e59,_0x1e3f08);}async[a72_0x295b64(0x87)](_0x9ab706,_0x12dcd5,_0x57e0c3={}){const _0x323ecb=a72_0x295b64,_0x388433={};_0x388433[_0x323ecb(0x7b)]=function(_0xc93af7,_0x212034){return _0xc93af7===_0x212034;};const _0x2ad527=_0x388433;this[_0x323ecb(0x97)][_0x323ecb(0x89)]('trackEvent:\x20automationFrameworkState='+_0x9ab706+_0x323ecb(0x76)+_0x12dcd5),await super[_0x323ecb(0x87)](_0x9ab706,_0x12dcd5,_0x57e0c3);const _0x239b5a=this[_0x323ecb(0x82)](_0x9ab706,_0x12dcd5,_0x57e0c3);if(_0x2ad527['LCITc'](_0x239b5a,null))return;_0x57e0c3['instance']=_0x239b5a,await this[_0x323ecb(0x8c)](_0x239b5a,_0x9ab706,_0x12dcd5,_0x57e0c3);}[a72_0x295b64(0x82)](_0x3f2bed,_0x4a5213,_0xb57dec={}){const _0x39c457=a72_0x295b64,_0x1935bd={};_0x1935bd[_0x39c457(0x75)]=function(_0x438732,_0x40ab71){return _0x438732===_0x40ab71;},_0x1935bd[_0x39c457(0x81)]=function(_0x4032c1,_0x1c6197){return _0x4032c1===_0x1c6197;};const _0x19798c=_0x1935bd;let _0x5cd377=null;return(_0x19798c[_0x39c457(0x75)](_0x3f2bed,AutomationFrameworkState[_0x39c457(0x88)])||_0x19798c[_0x39c457(0x75)](_0x3f2bed,AutomationFrameworkState[_0x39c457(0x8f)])&&(_0xb57dec['message']&&_0xb57dec[_0x39c457(0x83)]['params']&&_0xb57dec[_0x39c457(0x83)][_0x39c457(0x8b)]['bsParams'])||_0x19798c[_0x39c457(0x81)](_0x3f2bed,AutomationFrameworkState[_0x39c457(0x8e)]))&&this[_0x39c457(0x7f)](_0x3f2bed,_0xb57dec),_0x5cd377=AutomationFramework[_0x39c457(0x7c)](),_0x5cd377;}[a72_0x295b64(0x7f)](_0x20683d,_0x30a029){const _0x21d4f4=a72_0x295b64,_0x104f8e={};_0x104f8e[_0x21d4f4(0x93)]=_0x21d4f4(0x86);const _0x14548a=_0x104f8e;if(AutomationFramework[_0x21d4f4(0x7c)]()){this[_0x21d4f4(0x97)][_0x21d4f4(0x91)](_0x14548a['lXnMV']);return;}const _0x5caed9=CLIUtils['getCurrentInstanceName'](),_0x3b3a6d=TrackedInstance[_0x21d4f4(0x96)](_0x5caed9);let _0x4319a5=null;this[_0x21d4f4(0x97)][_0x21d4f4(0x91)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x5caed9+',\x20state='+_0x20683d),_0x4319a5=new AutomationFrameworkInstance(_0x3b3a6d,this[_0x21d4f4(0x78)](),this[_0x21d4f4(0x74)](),_0x20683d),AutomationFramework[_0x21d4f4(0x79)](_0x3b3a6d,_0x4319a5),this[_0x21d4f4(0x97)][_0x21d4f4(0x91)]('trackPlaywrightInstance:\x20saved\x20instance\x20contextId='+_0x3b3a6d[_0x21d4f4(0x7d)]()+'\x20target='+_0x5caed9);}}module[a72_0x295b64(0x7a)]=PlaywrightAutomationFramework;
@@ -1 +1 @@
1
- function a72_0x138d(_0x280110,_0x2f658e){const _0x245e45=a72_0x245e();return a72_0x138d=function(_0x138d68,_0x4d9d4f){_0x138d68=_0x138d68-0x69;let _0x2d5cff=_0x245e45[_0x138d68];return _0x2d5cff;},a72_0x138d(_0x280110,_0x2f658e);}function a72_0x245e(){const _0x152d3e=['trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','getAllData','3267464MbbITQ','SwMpi','ZAZyr','getTestUUID','9131530QWOIje','platformIndex','getThreadId','path','hook','retry','../../../helpers/test-observability/utils','LPzoC','getCurrentTestState','executionContext','KEY_HOOK_FAILURE','POST','instance','\x20instance=','trackEvent:\x20found\x20instance,\x20testFrameworkState=','\x20payload=','toString','JUFig','\x20testHookState=','\x20\x20and\x20args\x20=\x20','toISOString','KUDsK','Error\x20in\x20sendLogCreatedEvent:\x20','push','values','KEY_LOGS','../instances/trackedInstance.js','MSaUX','KEY_TEST_FRAMEWORK_NAME','status','get','UAPIS','DEFAULT_TEST_RESULT','KEY_EVENT_ENDED_AT','getCurrentInstanceName','logCreatedEvent','MouPc','KEY_TEST_ID','KEY_TEST_FAILURE_TYPE','gRbkW','startTime','field_type','FrqDE','KEY_HOOK_LOGS','mlHYU','hookState','\x20testState:\x20','title','resolveInstance','KEY_TEST_SCOPE','frgwa','step','KEY_HOOK_FAILURE_REASON','FQHki','CrZsS','slice','KEY_TEST_RESULT','./testFramework','errors','TEST','KEY_TEST_ENDED_AT','6VpVVWv','createContext','length','3GLxCle','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','tmKxZ','__workerDetails','parsePlaywrightTestResult','matchHookRegex','KEY_TEST_FRAMEWORK_VERSION','bIsXn','NONE','OebtS','parsePlaywrightTest','Expected\x20to\x20fail,\x20but\x20passed.','TEST_ATTACHMENT','test','KEY_AUTOMATE_SESSION_NAME','zPmXq','info','hLBey','KEY_TEST_LOGS','KEY_HOOKS_FINISHED','size','Dbujg','MFZJc','uuid','YJPxX','aamVk','../TestInfo.js','KEY_TEST_LOCATION','No\x20reason\x20provided','\x20response=','pHqmC','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','\x20and\x20args\x20=\x20','WAoKI','getTime','KEY_HOOK_LAST_FINISHED','Hook\x20List\x20in\x20Post\x20','split','qZvcY','duration','sendLogCreatedEvent\x20for\x20testId:\x20','stringify','xbvwM','../../playwright/reporter/pwUtils','trim','inspect','getProcessId','KEY_HOOKS_STARTED','sTdCJ','startedAt','expectedStatus','sendLogCreatedEvent','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','xKJdo','Error\x20in\x20createTestFrameworkEventPayload:\x20','DEFAULT_HOOK_RESULT','KEY_TEST_SCOPES','parallelIndex','description','dMXTR','trackEvent','sendLogCreatedEvent:\x20testId=','1192265wpXYFe','KEY_TEST_UUID','qyqvZ','vxCYM','INIT_TEST','\x20target=','GFBKZ','../../../helpers/helper.js','mksRI','setTrackedInstance','fgGnP','DEakq','KEY_EVENT_STARTED_AT','Error\x20processing\x20trace\x20file\x20','getCurrentHookState','KEY_TEST_RERUN_NAME','base64','../grpcClient','DKjry','getId','EpOMw','4908924foJaoK','getInstance','FvkVO','\x20hookState:\x20','tczLe','passed','annotations','ZVILz','982982EPXIMm','file_name','15316giNdBT','KEY_TEST_RETRY_OF','trackHookEvent','getRef','SHFOv','debug','KEY_HOOK_RESULT','csNtO','attachments','steps','KEY_CUSTOM_TAGS','filter','nkhqH','RRUML','KEY_HOOK_NAME','testFrameworkName','getTestFrameworks','\x20batch\x20','\x20instanceId=','runHooks','FfrYE','testFrameworkState','CCktW','failed','statSync','KEY_HOOK_FAILURE_TYPE','\x20from\x20TestDetails:\x20','../instances/testFrameworkInstance.js','exports','KEY_TEST_FAILURE','GrJEj','stack','Error\x20processing\x20direct\x20trace\x20file\x20','getTrackedInstance','workerInfo','util','err','endedAt','forEach',',\x20testFrameworkState=','error','TEST_SCREENSHOT','isArray','KEY_TEST_FILE_PATH','KEY_HOOK_ID','PRE','GUYIP','UGeoH','testUId','setTestDetails','WvDQk','message','KEY_TEST_FAILURE_REASON','AaPgZ','eXXpG','filePath','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','skipped','KEY_TEST_ATTACHMENTS','getTestDetails','vAUYg','trackPlaywrightInstance','basename','concat','format','481616UjgFRM','iRRRq','62gxaeCr','pop','timedOut','KEY_TEST_TAGS','FCmTZ','result','OgcMy','toXEz','parsePlaywrightTestResult:\x20testId=','addMultipleEntries','JDzBY','eventJson'];a72_0x245e=function(){return _0x152d3e;};return a72_0x245e();}const a72_0x2ad3a2=a72_0x138d;(function(_0xc184b1,_0x25994d){const _0x31c312=a72_0x138d,_0x18f1a9=_0xc184b1();while(!![]){try{const _0xfb7577=-parseInt(_0x31c312(0x133))/0x1*(parseInt(_0x31c312(0x84))/0x2)+-parseInt(_0x31c312(0xd6))/0x3*(parseInt(_0x31c312(0x92))/0x4)+parseInt(_0x31c312(0x114))/0x5+parseInt(_0x31c312(0xd3))/0x6*(parseInt(_0x31c312(0x131))/0x7)+-parseInt(_0x31c312(0x82))/0x8+parseInt(_0x31c312(0x129))/0x9+parseInt(_0x31c312(0x96))/0xa;if(_0xfb7577===_0x25994d)break;else _0x18f1a9['push'](_0x18f1a9['shift']());}catch(_0x4ac835){_0x18f1a9['push'](_0x18f1a9['shift']());}}}(a72_0x245e,0x768e4));const TestFramework=require(a72_0x2ad3a2(0xcf)),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require('../state/hookState.js'),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a72_0x2ad3a2(0x14e)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a72_0x2ad3a2(0xb0)),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),logger=createClassLogger('PlaywrightTestFramework'),{v4:uuidv4}=require('uuid'),util=require(a72_0x2ad3a2(0x156)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a72_0x2ad3a2(0x11b)),TestInfo=require(a72_0x2ad3a2(0xf0)),GrpcClient=require(a72_0x2ad3a2(0x125)),{removeAnsiColors,getFailureType,failureData}=require(a72_0x2ad3a2(0x9c)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a72_0x2ad3a2(0x101)),{findNestedKey,sendTraceZip,validateFilePath}=require(a72_0x2ad3a2(0x101)),path=require(a72_0x2ad3a2(0x99)),fs=require('fs'),helper=require('../../../../src/helpers/helper'),{PLAYWRIGHT_TRACE_LOGS}=require('../../utils/constants');class PlaywrightTestFramework extends TestFramework{constructor(_0x2d1cdd,_0x2a3d9f,_0x11ed21){super(_0x2d1cdd,_0x2a3d9f,_0x11ed21);}async[a72_0x2ad3a2(0x112)](_0x525c54,_0x466fb6,_0x1af4ac={}){const _0x232960=a72_0x2ad3a2,_0x5077fd={'eXXpG':function(_0x2a5c4f,_0x267565){return _0x2a5c4f===_0x267565;},'GZEyI':function(_0x453880,_0x3551e7,_0x4ad4fb){return _0x453880(_0x3551e7,_0x4ad4fb);},'iganM':_0x232960(0xe3),'MxuuZ':_0x232960(0x10a)};super['trackEvent'](_0x525c54,_0x466fb6,_0x1af4ac);if(_0x5077fd[_0x232960(0x77)](_0x525c54,TestFrameworkState[_0x232960(0x6a)])){const _0x37c595=TestInfo['getTestIdentifierFromTestInfo'](_0x1af4ac['test'],_0x1af4ac[_0x232960(0xe3)][_0x232960(0x9b)]);TestInfo[_0x232960(0x72)](_0x37c595,_0x1af4ac[_0x232960(0x89)],!![]);}const _0x12f95f=this[_0x232960(0xc6)](_0x525c54,_0x466fb6,_0x1af4ac);if(!_0x12f95f)return;logger[_0x232960(0x138)](_0x232960(0xa4)+_0x525c54+'\x20hookState='+_0x466fb6+_0x232960(0x145)+_0x12f95f['getRef']());try{if(_0x5077fd[_0x232960(0x77)](_0x466fb6,HookState[_0x232960(0x6e)])&&_0x5077fd[_0x232960(0x77)](_0x525c54,TestFrameworkState[_0x232960(0xd1)])){const _0x526505=_0x1af4ac['test'];logger[_0x232960(0x138)]('trackEvent\x20loading\x20testData\x20for\x20testId:\x20'+_0x526505['id']+'}');const _0x12464f=TestInfo['getTestUUID'](_0x5077fd['GZEyI'](getTestRunIdentifier,_0x526505,_0x1af4ac[_0x232960(0x89)][_0x232960(0x9b)]));_0x12f95f['addMultipleEntries'](this['parsePlaywrightTest'](_0x12464f,_0x526505,_0x1af4ac[_0x232960(0x89)])),logger[_0x232960(0x138)](_0x232960(0xd7)+_0x526505['id']+_0x232960(0x15a)+_0x525c54+_0x232960(0xa8)+_0x466fb6+_0x232960(0xa3)+_0x12f95f[_0x232960(0x136)]());}if(_0x5077fd[_0x232960(0x77)](_0x466fb6,HookState[_0x232960(0xa1)])&&_0x5077fd[_0x232960(0x77)](_0x525c54,TestFrameworkState[_0x232960(0xd1)])){const _0x5e1816=_0x1af4ac[_0x232960(0xe3)],_0x45b2f7=_0x1af4ac[_0x232960(0x89)];logger['debug'](_0x232960(0x79)+_0x5e1816['id']),_0x12f95f[_0x232960(0x8d)](this[_0x232960(0xda)](_0x5e1816['id'],_0x45b2f7,_0x5e1816)),await this['sendLogCreatedEvent'](_0x12f95f,_0x525c54,_0x466fb6,_0x5077fd['iganM'],_0x1af4ac);}if(CLIUtils[_0x232960(0xdb)](_0x525c54['toString']()[_0x232960(0xfb)]('.')[0x1])){const _0x3a7f5f=await this[_0x232960(0x135)](_0x12f95f,_0x525c54,_0x466fb6,_0x1af4ac);_0x12f95f[_0x232960(0x8d)](_0x3a7f5f);}}catch(_0x24fc2b){logger['error'](util[_0x232960(0x81)](_0x5077fd['MxuuZ'],_0x525c54,_0x466fb6,_0x1af4ac[_0x232960(0xd5)],_0x24fc2b));}_0x1af4ac[_0x232960(0xa2)]=_0x12f95f,await this[_0x232960(0x146)](_0x12f95f,_0x525c54,_0x466fb6,_0x1af4ac);}['resolveInstance'](_0x4bc693,_0x33b5f8,_0x40c813={}){const _0x55ca22=a72_0x2ad3a2,_0x5d5cfa={};_0x5d5cfa[_0x55ca22(0xec)]=function(_0x324ca7,_0x4b64dd){return _0x324ca7===_0x4b64dd;};const _0x56cad3=_0x5d5cfa;let _0x29c07e=null;return(_0x56cad3[_0x55ca22(0xec)](_0x4bc693,TestFrameworkState[_0x55ca22(0x118)])||_0x56cad3[_0x55ca22(0xec)](_0x4bc693,TestFrameworkState[_0x55ca22(0xde)]))&&this['trackPlaywrightInstance'](_0x4bc693,_0x40c813),_0x29c07e=TestFramework[_0x55ca22(0x154)](),_0x29c07e;}[a72_0x2ad3a2(0x7e)](_0x267170,_0x1bc3eb){const _0x137db9=a72_0x2ad3a2,_0x2da1ec=CLIUtils[_0x137db9(0xb8)](),_0x246a71=TrackedInstance[_0x137db9(0xd4)](_0x2da1ec);let _0x2538dd=null;logger[_0x137db9(0xe6)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x2da1ec+',\x20state='+_0x267170),_0x2538dd=new TestFrameworkInstance(_0x246a71,this[_0x137db9(0x143)](),this['getTestFrameworksVersions'](),_0x267170,HookState[_0x137db9(0xde)]),TestFramework[_0x137db9(0x11d)](_0x246a71,_0x2538dd),logger[_0x137db9(0xe6)](_0x137db9(0x90)+_0x246a71[_0x137db9(0x127)]()+_0x137db9(0x119)+_0x2da1ec);}[a72_0x2ad3a2(0xe0)](_0x112ce3,_0x10a767,_0x11daf9){const _0x11bc0c=a72_0x2ad3a2,_0x18ee43={'iRRRq':function(_0x2ae49a,_0x5cb4bc){return _0x2ae49a(_0x5cb4bc);},'GUYIP':function(_0x1afc53,_0x210c1a){return _0x1afc53(_0x210c1a);},'vtBlf':function(_0x2746f3,_0x45bc8f){return _0x2746f3(_0x45bc8f);},'gRbkW':function(_0x2c71d3,_0x57d2a2){return _0x2c71d3(_0x57d2a2);},'UAPIS':function(_0x9ca6c,_0x2a96a1){return _0x9ca6c(_0x2a96a1);},'qZvcY':function(_0x5afcc3,_0x29a268,_0x598fa8){return _0x5afcc3(_0x29a268,_0x598fa8);}},_0x3c4965=_0x18ee43[_0x11bc0c(0x83)](getPlaywrightTestId,_0x10a767),_0x56934d=_0x18ee43[_0x11bc0c(0x83)](getPlaywrightTestTitle,_0x10a767),_0x5b099d=_0x18ee43[_0x11bc0c(0x6f)](getTestTags,_0x10a767),_0xcf1d00=_0x18ee43['vtBlf'](getPlaywrightTestCode,_0x10a767),_0x5d5449=_0x18ee43['gRbkW'](getPlaywrightTestFilePath,_0x10a767),_0x150605=_0x5d5449+':'+_0x18ee43['GUYIP'](getPlaywrightTestLocation,_0x10a767),_0x3c34ff=_0x18ee43[_0x11bc0c(0xb5)](getPlaywrightTestScope,_0x10a767),_0x1db13c=_0x18ee43[_0x11bc0c(0xbd)](getPlaywrightTestScopes,_0x10a767),_0x2aef7c=_0x18ee43[_0x11bc0c(0x6f)](getPlaywrightSessionName,_0x10a767),_0x3575f1=this['getTestFrameworks']()[0x0],_0x48e47b=_0x18ee43[_0x11bc0c(0xfc)](getTestRunIdentifier,_0x10a767,_0x11daf9[_0x11bc0c(0x9b)]),_0x5b9e0c={[TestFrameworkConstants[_0x11bc0c(0xb2)]]:_0x3575f1,[TestFrameworkConstants[_0x11bc0c(0xdc)]]:this['getTestFrameworksVersions']()[_0x3575f1],[TestFrameworkConstants[_0x11bc0c(0xe8)]]:[],[TestFrameworkConstants[_0x11bc0c(0xe9)]]:{},[TestFrameworkConstants[_0x11bc0c(0x105)]]:{},[TestFrameworkConstants[_0x11bc0c(0x115)]]:_0x112ce3,[TestFrameworkConstants[_0x11bc0c(0xce)]]:TestFrameworkConstants[_0x11bc0c(0xb6)],[TestFrameworkConstants[_0x11bc0c(0xe4)]]:_0x2aef7c,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x5d5449,[TestFrameworkConstants[_0x11bc0c(0xbb)]]:_0x3c4965,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x56934d,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x150605,[TestFrameworkConstants['KEY_TEST_CODE']]:_0xcf1d00,[TestFrameworkConstants[_0x11bc0c(0x87)]]:_0x5b099d,[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x10a767['results'][0x0][_0x11bc0c(0xbe)],[TestFrameworkConstants[_0x11bc0c(0xc7)]]:_0x3c34ff,[TestFrameworkConstants[_0x11bc0c(0x10e)]]:_0x1db13c,[TestFrameworkConstants[_0x11bc0c(0x123)]]:_0x18ee43[_0x11bc0c(0xbd)](getPlaywrightCustomRerunParam,_0x10a767)};TestInfo['setTestDetails'](_0x48e47b,_0x5b9e0c);const _0x36cc9d={};return _0x36cc9d[_0x48e47b]=_0x5b9e0c,_0x36cc9d;}[a72_0x2ad3a2(0xda)](_0x1e29ab,_0x353034,_0x37d86e){const _0xaeac9f=a72_0x2ad3a2,_0x2e68cb={'aRoJu':function(_0x402c9e,_0x57a917){return _0x402c9e(_0x57a917);},'RRUML':_0xaeac9f(0xe2),'mksRI':function(_0x2106db,_0x354364){return _0x2106db===_0x354364;},'FrqDE':function(_0x3d05c1,_0xbac27e){return _0x3d05c1===_0xbac27e;},'FCmTZ':function(_0xd624fe,_0x3b045c){return _0xd624fe(_0x3b045c);},'YJPxX':_0xaeac9f(0xf2),'DEakq':'multi_dropdown','ZAZyr':function(_0x50ecac,_0x33c109){return _0x50ecac(_0x33c109);},'aamVk':function(_0x4ab8f6,_0x5798eb,_0x23e4b0){return _0x4ab8f6(_0x5798eb,_0x23e4b0);},'DKjry':function(_0x1be61c,_0x59ace5){return _0x1be61c+_0x59ace5;},'CrZsS':function(_0x2ed11a,_0x41b191){return _0x2ed11a===_0x41b191;},'OgcMy':function(_0x54149a,_0x1a4848){return _0x54149a===_0x1a4848;},'AaPgZ':_0xaeac9f(0x7a),'UGeoH':_0xaeac9f(0x12e),'xKJdo':function(_0x3cf4f5,_0x3d19d5){return _0x3cf4f5===_0x3d19d5;},'KUDsK':function(_0x243a5b,_0x3612d3){return _0x243a5b===_0x3612d3;},'mlHYU':'failed','CCktW':_0xaeac9f(0x86),'zPmXq':function(_0x4182f0,_0x1788e5){return _0x4182f0===_0x1788e5;},'pHqmC':_0xaeac9f(0xe1),'WvDQk':function(_0x385b31,_0x4216de,_0x3469d0){return _0x385b31(_0x4216de,_0x3469d0);},'PcqWo':function(_0x33bd3e,_0x104d33){return _0x33bd3e||_0x104d33;},'JDzBY':function(_0x3a1049,_0x5dcd2b){return _0x3a1049>_0x5dcd2b;},'qyqvZ':function(_0x2f7c3c,_0x4f2001){return _0x2f7c3c-_0x4f2001;},'WAoKI':function(_0x254087,_0x5d4a04,_0x325151){return _0x254087(_0x5d4a04,_0x325151);},'dMXTR':_0xaeac9f(0x99),'OebtS':function(_0x25e249,_0x5932f1){return _0x25e249(_0x5932f1);},'vxCYM':function(_0x28ae95,_0x29564c){return _0x28ae95>_0x29564c;}};logger[_0xaeac9f(0x138)](_0xaeac9f(0x8c)+_0x1e29ab);const _0x18d512=_0x2e68cb[_0xaeac9f(0xef)](getTestRunIdentifier,_0x37d86e,_0x353034['retry']),_0x1d1fd0=new Date(_0x353034['startTime']),_0x278573=_0x353034[_0xaeac9f(0xfd)],_0x2dd424=new Date(_0x2e68cb[_0xaeac9f(0x126)](_0x1d1fd0[_0xaeac9f(0xf8)](),_0x278573)),_0x666ae2=_0x353034[_0xaeac9f(0xb3)],_0x1232de=TestInfo['getTestDetails'](_0x18d512)[TestFrameworkConstants[_0xaeac9f(0x13d)]]||{};let _0x21cf12=_0x666ae2;if(_0x2e68cb[_0xaeac9f(0xcc)](_0x353034[_0xaeac9f(0xb3)],_0x37d86e[_0xaeac9f(0x108)]))_0x21cf12=_0x2e68cb[_0xaeac9f(0x8a)](_0x353034[_0xaeac9f(0xb3)],_0x2e68cb[_0xaeac9f(0x76)])?_0x2e68cb[_0xaeac9f(0x76)]:_0x2e68cb[_0xaeac9f(0x70)];else{(_0x2e68cb[_0xaeac9f(0x10b)](_0x21cf12,_0x2e68cb[_0xaeac9f(0x70)])||_0x2e68cb[_0xaeac9f(0xab)](_0x21cf12,_0x2e68cb[_0xaeac9f(0xc2)])||_0x2e68cb[_0xaeac9f(0x10b)](_0x21cf12,_0x2e68cb[_0xaeac9f(0x149)]))&&(_0x21cf12=_0x2e68cb[_0xaeac9f(0xc2)]);if(_0x2e68cb[_0xaeac9f(0x11c)](_0x353034[_0xaeac9f(0xb3)],_0x2e68cb[_0xaeac9f(0x70)])&&_0x2e68cb[_0xaeac9f(0xe5)](_0x37d86e[_0xaeac9f(0x108)],_0x2e68cb[_0xaeac9f(0xc2)])){const _0x47920f={};_0x47920f['message']=_0x2e68cb[_0xaeac9f(0xf4)],_0x47920f[_0xaeac9f(0x152)]=_0x2e68cb['pHqmC'],_0x353034[_0xaeac9f(0x69)]=_0x47920f,_0x353034['errors']=[_0x353034[_0xaeac9f(0x69)]];}}const {failureData:_0x411b2d,logs:_0x84ec83}=_0x2e68cb['WvDQk'](getFailureData,_0x353034?.[_0xaeac9f(0xd0)],{}),_0x21416d={[TestFrameworkConstants[_0xaeac9f(0x150)]]:_0x2e68cb['PcqWo'](_0x411b2d,null),[TestFrameworkConstants[_0xaeac9f(0xbc)]]:_0x353034?.[_0xaeac9f(0x69)]&&_0x2e68cb['ZAZyr'](getFailureType,_0x353034[_0xaeac9f(0x69)][_0xaeac9f(0x74)]),[TestFrameworkConstants[_0xaeac9f(0x75)]]:_0x353034?.[_0xaeac9f(0x69)]&&_0x2e68cb[_0xaeac9f(0x88)](removeAnsiColors,_0x353034['error'][_0xaeac9f(0x74)]),[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x21cf12,[TestFrameworkConstants[_0xaeac9f(0xd2)]]:_0x2dd424[_0xaeac9f(0xaa)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()['toISOString'](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x1232de};if(_0x353034&&_0x2e68cb[_0xaeac9f(0x8e)](_0x353034[_0xaeac9f(0x9b)],0x0)){const _0x46f5f5=TestInfo[_0xaeac9f(0x95)](_0x2e68cb[_0xaeac9f(0x73)](getTestRunIdentifier,_0x37d86e,_0x2e68cb[_0xaeac9f(0x116)](_0x353034[_0xaeac9f(0x9b)],0x1)));_0x21416d[TestFrameworkConstants[_0xaeac9f(0x134)]]=_0x46f5f5;}const _0x2cc2a4={};_0x2cc2a4[_0xaeac9f(0xe3)]=_0x37d86e;const _0x1e2879=this['resolveInstance'](TestFrameworkState[_0xaeac9f(0xd1)],HookState[_0xaeac9f(0xa1)],_0x2cc2a4),_0x372b0b=_0x1e2879[_0xaeac9f(0x91)]()[_0xaeac9f(0xb4)](_0x18d512)[TestFrameworkConstants[_0xaeac9f(0x115)]],_0x94d1ec=[],_0x1a53e6=_0x2e68cb[_0xaeac9f(0xf7)](findNestedKey,_0x353034,_0x2e68cb[_0xaeac9f(0x111)]);if(_0x1a53e6&&_0x2e68cb[_0xaeac9f(0xdf)](validateFilePath,_0x1a53e6))try{_0x94d1ec[_0xaeac9f(0xad)]({'kind':_0x2e68cb[_0xaeac9f(0x140)],'timestamp':new Date()[_0xaeac9f(0xaa)](),'test_run_uuid':_0x372b0b,'file_name':path[_0xaeac9f(0x7f)](_0x1a53e6),'file_size':fs[_0xaeac9f(0x14b)](_0x1a53e6)[_0xaeac9f(0xea)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x46f9c8){logger[_0xaeac9f(0x69)](_0xaeac9f(0x153)+_0x1a53e6+':\x20'+_0x46f9c8['message']);}const _0x151f05=TestInfo['getTraceFilePaths'](),_0x3b3df5=_0x151f05[_0xaeac9f(0x13e)](_0x1e44d5=>_0x1e44d5[_0xaeac9f(0x71)]===_0x372b0b);_0x3b3df5[_0xaeac9f(0x159)](_0x4a1d6f=>{const _0x12f8b2=_0xaeac9f;if(_0x4a1d6f[_0x12f8b2(0x78)]&&_0x2e68cb['aRoJu'](validateFilePath,_0x4a1d6f[_0x12f8b2(0x78)])&&!_0x94d1ec['some'](_0x2480c3=>_0x2480c3[_0x12f8b2(0x132)]===path[_0x12f8b2(0x7f)](_0x4a1d6f[_0x12f8b2(0x78)])))try{_0x94d1ec['push']({'kind':_0x2e68cb[_0x12f8b2(0x140)],'timestamp':new Date()[_0x12f8b2(0xaa)](),'test_run_uuid':_0x372b0b,'file_name':path[_0x12f8b2(0x7f)](_0x4a1d6f[_0x12f8b2(0x78)]),'file_size':fs[_0x12f8b2(0x14b)](_0x4a1d6f[_0x12f8b2(0x78)])[_0x12f8b2(0xea)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x583505){logger[_0x12f8b2(0x69)](_0x12f8b2(0x121)+_0x4a1d6f['filePath']+_0x12f8b2(0x14d)+_0x583505['message']);}});if(_0x2e68cb[_0xaeac9f(0x117)](_0x94d1ec[_0xaeac9f(0xd5)],0x0)){const _0x111886=_0x21416d[TestFrameworkConstants[_0xaeac9f(0xaf)]]||[];_0x21416d[TestFrameworkConstants[_0xaeac9f(0xaf)]]=[..._0x111886,..._0x94d1ec];}const _0x3ba324=TestInfo[_0xaeac9f(0x7c)](_0x18d512)[TestFrameworkConstants[_0xaeac9f(0x7b)]]||{},_0x25b7fe=_0x2e68cb[_0xaeac9f(0xf7)](getManualUploadLogs,_0x3ba324,_0x1e2879[_0xaeac9f(0x91)]()[_0xaeac9f(0xb4)](_0x18d512)[TestFrameworkConstants[_0xaeac9f(0x115)]]);if(_0x2e68cb['JDzBY'](_0x25b7fe['length'],0x0)){const _0x2e776c=_0x21416d[TestFrameworkConstants[_0xaeac9f(0xaf)]]||[];_0x21416d[TestFrameworkConstants[_0xaeac9f(0xaf)]]=[..._0x2e776c,..._0x25b7fe];}const _0x1a2266=_0x37d86e[_0xaeac9f(0x12f)]||[],_0x1533fc=_0x21416d[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};_0x1a2266[_0xaeac9f(0x159)](_0x1dda78=>{const _0x599a86=_0xaeac9f,{type:_0x44ec67}=_0x1dda78;let _0x56e8b1=_0x1dda78[_0x599a86(0x110)];if(!_0x44ec67)return;(_0x2e68cb[_0x599a86(0x11c)](_0x56e8b1,undefined)||_0x2e68cb[_0x599a86(0xc0)](_0x56e8b1,null)||_0x2e68cb[_0x599a86(0xc0)](_0x2e68cb[_0x599a86(0x88)](String,_0x56e8b1)[_0x599a86(0x102)](),''))&&(_0x56e8b1=_0x2e68cb[_0x599a86(0xee)]);if(!_0x1533fc[_0x44ec67]){const _0x5a9320={};_0x5a9320[_0x599a86(0xbf)]=_0x2e68cb[_0x599a86(0x11f)],_0x5a9320[_0x599a86(0xae)]=[],_0x1533fc[_0x44ec67]=_0x5a9320;}else!_0x1533fc[_0x44ec67][_0x599a86(0xbf)]&&(_0x1533fc[_0x44ec67][_0x599a86(0xbf)]=_0x2e68cb[_0x599a86(0x11f)]),!Array[_0x599a86(0x6b)](_0x1533fc[_0x44ec67][_0x599a86(0xae)])&&(_0x1533fc[_0x44ec67][_0x599a86(0xae)]=[]);const _0x2d31b8=_0x2e68cb[_0x599a86(0x94)](String,_0x56e8b1)[_0x599a86(0xfb)](',')['map'](_0x1baa35=>_0x1baa35[_0x599a86(0x102)]());_0x1533fc[_0x44ec67][_0x599a86(0xae)]=[...new Set([..._0x1533fc[_0x44ec67][_0x599a86(0xae)],..._0x2d31b8])];}),_0x21416d[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x1533fc,TestInfo['setTestDetails'](_0x18d512,_0x21416d);const _0xb55527={};return _0xb55527[_0x18d512]=_0x21416d,_0xb55527;}async[a72_0x2ad3a2(0x135)](_0x2639d0,_0x5e3103,_0x2795f5,_0x1b9532){const _0x373336=a72_0x2ad3a2,_0x585367={'frgwa':function(_0x364f42,_0x39e1ee,_0x51d1ea){return _0x364f42(_0x39e1ee,_0x51d1ea);},'ZVILz':function(_0x4c2639,_0x23c0df){return _0x4c2639 in _0x23c0df;},'fgGnP':function(_0x46d0b7,_0x1780e7){return _0x46d0b7(_0x1780e7);},'FQHki':function(_0x313eb6,_0x4e56a4){return _0x313eb6(_0x4e56a4);},'GALHz':function(_0x1e45c4,_0x5b21a7){return _0x1e45c4===_0x5b21a7;},'bIsXn':function(_0x1c6e3b){return _0x1c6e3b();},'xbvwM':function(_0x1888a4,_0x3bf792){return _0x1888a4===_0x3bf792;},'TlXYU':function(_0x809017,_0x6f7c78){return _0x809017>_0x6f7c78;},'SwMpi':_0x373336(0x157),'EpOMw':function(_0x4e2728,_0x48c836){return _0x4e2728(_0x48c836);},'tmKxZ':_0x373336(0x14a),'toXEz':_0x373336(0x12e),'DCzwQ':function(_0x1c6aaf,_0x52366c){return _0x1c6aaf!==_0x52366c;},'JUFig':function(_0x379e20,_0x4f9ade){return _0x379e20+_0x4f9ade;},'GFBKZ':_0x373336(0x9a)},_0x5d1242=_0x1b9532[_0x373336(0xe3)],_0x4362f2=_0x1b9532[_0x373336(0xc9)],_0x38e855=_0x585367[_0x373336(0xc8)](getTestRunIdentifier,_0x5d1242,_0x1b9532[_0x373336(0x89)][_0x373336(0x9b)]),_0x5d5d04=_0x5e3103[_0x373336(0xa6)]()['split']('.')[0x1];let _0x356fa3=_0x2639d0['getAllData']()[_0x373336(0xb4)](_0x38e855)[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x356fa3&&(_0x356fa3={});!_0x585367[_0x373336(0x130)](_0x5d5d04,_0x356fa3)&&(_0x356fa3[_0x5d5d04]=[]);let _0x76dbd8=_0x2639d0['getAllData']()['get'](_0x38e855)[TestFrameworkConstants[_0x373336(0xe9)]];!_0x76dbd8&&(_0x76dbd8={});!_0x585367['ZVILz'](_0x5d5d04,_0x76dbd8)&&(_0x76dbd8[_0x5d5d04]=[]);const _0x4614c5={[TestFrameworkConstants[_0x373336(0x105)]]:_0x356fa3,[TestFrameworkConstants[_0x373336(0xe9)]]:_0x76dbd8},_0x14178f={};_0x14178f[_0x38e855]=_0x4614c5;const _0x4778a6=_0x14178f,_0x3357b7=_0x585367[_0x373336(0x11e)](getPlaywrightTestFilePath,_0x5d1242),_0x13175a=_0x3357b7+':'+_0x585367[_0x373336(0xcb)](getPlaywrightTestLocation,_0x5d1242),_0x319c2c=TestInfo[_0x373336(0x7c)](_0x38e855)[TestFrameworkConstants[_0x373336(0x13d)]]||{};if(_0x585367['GALHz'](_0x2795f5,HookState[_0x373336(0x6e)])){const _0x1a5bf0={'key':_0x5d5d04,[TestFrameworkConstants[_0x373336(0x6d)]]:_0x585367[_0x373336(0xdd)](uuidv4),[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x373336(0x10d)],[TestFrameworkConstants[_0x373336(0x120)]]:_0x4362f2[_0x373336(0xbe)],[TestFrameworkConstants[_0x373336(0xc1)]]:[],[TestFrameworkConstants[_0x373336(0x141)]]:_0x4362f2[_0x373336(0xc5)],[TestFrameworkConstants[_0x373336(0x6c)]]:_0x3357b7,[TestFrameworkConstants[_0x373336(0xf1)]]:_0x13175a,[TestFrameworkConstants[_0x373336(0x13d)]]:_0x319c2c};_0x356fa3[_0x5d5d04][_0x373336(0xad)](_0x1a5bf0),_0x4778a6[_0x38e855][TestFrameworkConstants['KEY_HOOK_LAST_STARTED']]=_0x5d5d04,logger[_0x373336(0x138)](_0x373336(0xf5)+_0x5d5d04+'\x20&\x20hook\x20=\x20'+_0x1a5bf0+_0x373336(0xa9)+_0x1b9532);}else{if(_0x585367[_0x373336(0x100)](_0x2795f5,HookState[_0x373336(0xa1)])){const _0x393f2f=await _0x1b9532[_0x373336(0x89)],_0x46c8c6=_0x356fa3[_0x5d5d04]||[],_0x1fd44e=_0x1b9532[_0x373336(0xc9)];logger[_0x373336(0x138)](_0x373336(0xfa)+_0x46c8c6+_0x373336(0xf6)+_0x1b9532);if(_0x585367['TlXYU'](_0x46c8c6[_0x373336(0xd5)],0x0)){const _0x37e6b3=_0x46c8c6[_0x373336(0x85)]();if(_0x1fd44e[_0x373336(0x69)]){const _0x33a704=_0x585367['frgwa'](failureData,_0x1fd44e['error'],_0x585367[_0x373336(0x93)]);_0x37e6b3[TestFrameworkConstants[_0x373336(0x14c)]]=_0x585367[_0x373336(0xcb)](getFailureType,_0x1fd44e?.['error'][_0x373336(0x74)]),_0x37e6b3[TestFrameworkConstants[_0x373336(0xca)]]=_0x585367[_0x373336(0x128)](removeAnsiColors,_0x1fd44e?.[_0x373336(0x69)][_0x373336(0x74)]),_0x37e6b3[TestFrameworkConstants[_0x373336(0x139)]]=_0x585367[_0x373336(0xd8)],_0x37e6b3[TestFrameworkConstants[_0x373336(0xa0)]]=_0x33a704;}else _0x37e6b3[TestFrameworkConstants[_0x373336(0x139)]]=_0x585367[_0x373336(0x8b)];_0x585367['DCzwQ'](_0x393f2f,TestFrameworkConstants[_0x373336(0x10d)])&&(_0x37e6b3[TestFrameworkConstants[_0x373336(0x139)]]=!_0x1fd44e['error']?_0x585367['toXEz']:_0x585367['tmKxZ']);const _0x362e6d=new Date(_0x1fd44e[_0x373336(0xbe)]),_0x59888c=new Date(_0x585367[_0x373336(0xa7)](_0x362e6d['getTime'](),_0x1fd44e[_0x373336(0xfd)]));_0x37e6b3[TestFrameworkConstants[_0x373336(0xb7)]]=_0x59888c['toISOString'](),_0x37e6b3[TestFrameworkConstants[_0x373336(0x13d)]]=_0x319c2c;const _0xb78b54=_0x37e6b3[TestFrameworkConstants[_0x373336(0x6d)]];await this[_0x373336(0x109)](_0x2639d0,_0x5e3103,_0xb78b54,_0x585367[_0x373336(0x11a)],_0x1b9532),!_0x76dbd8[_0x5d5d04]&&(_0x76dbd8[_0x5d5d04]=[]),_0x76dbd8[_0x5d5d04][_0x373336(0xad)](_0x37e6b3),_0x4778a6[_0x38e855][TestFrameworkConstants[_0x373336(0xf9)]]=_0x5d5d04;}}}return _0x4778a6;}async[a72_0x2ad3a2(0x109)](_0x442dd2,_0x51d4fe,_0x349fe1,_0x3f6d43,_0x5d9e8d){const _0x107aec=a72_0x2ad3a2,_0x201d4c={'MSaUX':function(_0x10aed9,_0x547722){return _0x10aed9===_0x547722;},'FvkVO':_0x107aec(0xe3),'IeTrD':function(_0x47c9fd,_0x11e90b,_0x1fe24b){return _0x47c9fd(_0x11e90b,_0x1fe24b);},'FfrYE':function(_0x9fd2ca,_0x475c16,_0x2a0f60){return _0x9fd2ca(_0x475c16,_0x2a0f60);},'vAUYg':'attachments','nkhqH':function(_0x2e72cf,_0x1b3ddb,_0x3d7874,_0x514444){return _0x2e72cf(_0x1b3ddb,_0x3d7874,_0x514444);},'csNtO':function(_0x3c03d9,_0x849dd,_0x290c1f){return _0x3c03d9(_0x849dd,_0x290c1f);},'LPzoC':function(_0x499ca7,_0x1e966d,_0x4cb02f){return _0x499ca7(_0x1e966d,_0x4cb02f);},'hLBey':function(_0x1baf4a,_0x59d95e){return _0x1baf4a/_0x59d95e;},'LKBCW':function(_0x47c4d8,_0xb5baa5){return _0x47c4d8<_0xb5baa5;},'SHFOv':function(_0x11cfe4,_0x13a48b){return _0x11cfe4*_0x13a48b;},'tczLe':function(_0xee91b5,_0x27daa7){return _0xee91b5+_0x27daa7;},'MouPc':function(_0x75a4ed,_0x18d52b,_0x12ae4b,_0x33d1cc,_0x4ade27){return _0x75a4ed(_0x18d52b,_0x12ae4b,_0x33d1cc,_0x4ade27);},'GkqkV':function(_0x52c2c6,_0x254870){return _0x52c2c6+_0x254870;},'sTdCJ':function(_0x44b944,_0x57b369){return _0x44b944+_0x57b369;},'AZhhj':function(_0x26b03f,_0x309e98,_0x5904fe,_0x252579){return _0x26b03f(_0x309e98,_0x5904fe,_0x252579);},'GrJEj':_0x107aec(0x9a)};try{if(_0x201d4c[_0x107aec(0xb1)](_0x3f6d43,_0x201d4c[_0x107aec(0x12b)])){const _0x387cd5=await _0x5d9e8d['result'],_0x4f1eb1=_0x201d4c['IeTrD'](getTestRunIdentifier,_0x5d9e8d[_0x107aec(0xe3)],_0x5d9e8d[_0x107aec(0x89)][_0x107aec(0x9b)]),_0x1a50b6=_0x5d9e8d[_0x107aec(0xe3)];logger[_0x107aec(0x138)](_0x107aec(0x113)+_0x4f1eb1+'\x20result='+util[_0x107aec(0x103)](_0x387cd5));const _0x559432=_0x442dd2[_0x107aec(0x91)]()[_0x107aec(0xb4)](_0x4f1eb1)[TestFrameworkConstants[_0x107aec(0x115)]];await _0x201d4c[_0x107aec(0x147)](sendTraceZip,_0x387cd5,_0x559432);const _0x698111=TestInfo['getTestDetails'](_0x4f1eb1)[_0x201d4c[_0x107aec(0x7d)]],_0x434def={};if(_0x698111){!_0x387cd5[_0x107aec(0x13b)]&&(_0x387cd5[_0x107aec(0x13b)]=[]);_0x434def[_0x107aec(0x13b)]=_0x387cd5['attachments'][_0x107aec(0x80)](_0x698111||[]);const _0x3dbc57=TestInfo[_0x107aec(0x7c)](_0x4f1eb1);delete _0x3dbc57[_0x201d4c[_0x107aec(0x7d)]],TestInfo['setTestDetails'](_0x4f1eb1,_0x3dbc57);}const {steps:_0x5dc84b,logs:_0xe28592}=_0x201d4c[_0x107aec(0x13f)](getStepsAndLogs,_0x387cd5[_0x107aec(0x13c)],_0x442dd2['getAllData']()[_0x107aec(0xb4)](_0x4f1eb1)[TestFrameworkConstants[_0x107aec(0x115)]],_0x201d4c['FvkVO']),_0x34d8cb=_0x201d4c[_0x107aec(0x13a)](getScreenshots,_0x434def,_0x442dd2['getAllData']()[_0x107aec(0xb4)](_0x4f1eb1)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x37a13e=_0x201d4c[_0x107aec(0x13a)](getVideos,_0x387cd5,_0x442dd2[_0x107aec(0x91)]()['get'](_0x4f1eb1)[TestFrameworkConstants['KEY_TEST_UUID']]),{_:_0x5cbc32,logs:_0x5a73dd}=_0x201d4c[_0x107aec(0x13a)](getFailureData,_0x387cd5[_0x107aec(0xd0)],{'test_run_uuid':_0x442dd2[_0x107aec(0x91)]()['get'](_0x4f1eb1)[TestFrameworkConstants[_0x107aec(0x115)]]}),_0x2ac771=TestInfo[_0x107aec(0x7c)](_0x4f1eb1)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x52fa60=_0x201d4c['LPzoC'](getMediaArtifactsLogs,_0x2ac771,_0x442dd2[_0x107aec(0x91)]()['get'](_0x4f1eb1)[TestFrameworkConstants[_0x107aec(0x115)]]),_0x55f362=_0x442dd2[_0x107aec(0x91)]()[_0x107aec(0xb4)](_0x4f1eb1),{[TestFrameworkConstants[_0x107aec(0xb2)]]:_0xc0697d='',[TestFrameworkConstants[_0x107aec(0xdc)]]:_0x5149e8=''}=_0x55f362,_0x1931a1=(_0xe28592||[])[_0x107aec(0x80)](_0x34d8cb||[])[_0x107aec(0x80)](_0x5a73dd||[])[_0x107aec(0x80)](_0x37a13e||[])[_0x107aec(0x80)](_0x52fa60||[]),_0x532dd5=0x28,_0xb8f5ce=Math['ceil'](_0x201d4c[_0x107aec(0xe7)](_0x1931a1['length'],_0x532dd5));for(let _0x10b3a8=0x0;_0x201d4c['LKBCW'](_0x10b3a8,_0xb8f5ce);_0x10b3a8++){const _0x560d61=_0x201d4c[_0x107aec(0x137)](_0x10b3a8,_0x532dd5),_0xa44ca8=_0x201d4c[_0x107aec(0x12d)](_0x560d61,_0x532dd5),_0x525ce2=_0x1931a1[_0x107aec(0xcd)](_0x560d61,_0xa44ca8),_0x5b4ded={'platformIndex':'0','logs':_0x525ce2,'testFrameworkName':_0xc0697d,'testFrameworkVersion':_0x5149e8,'testFrameworkState':_0x51d4fe[_0x107aec(0xa6)]()[_0x107aec(0xfb)]('.')[0x1]};_0x201d4c[_0x107aec(0xba)](updatePayloadForTraceLogs,_0x5b4ded,_0x5d9e8d,_0x4f1eb1,_0x442dd2),logger[_0x107aec(0x138)](_0x107aec(0xfe)+_0x4f1eb1+_0x107aec(0x144)+_0x201d4c['GkqkV'](_0x10b3a8,0x1)+'/'+_0xb8f5ce+_0x107aec(0xa5)+util[_0x107aec(0x103)](_0x5b4ded));const _0x55f961=await GrpcClient[_0x107aec(0x12a)]()[_0x107aec(0xb9)](_0x5b4ded);logger[_0x107aec(0x138)](_0x107aec(0xfe)+_0x4f1eb1+_0x107aec(0x144)+_0x201d4c[_0x107aec(0x106)](_0x10b3a8,0x1)+'/'+_0xb8f5ce+_0x107aec(0xf3)+util[_0x107aec(0x103)](_0x55f961));}}else{const {steps:_0x185c60,logs:_0x2921a4}=_0x201d4c['AZhhj'](getStepsAndLogs,_0x5d9e8d['step'][_0x107aec(0x13c)],_0x349fe1,_0x201d4c[_0x107aec(0x151)]),_0x469a69=_0x201d4c[_0x107aec(0x9d)](getTestRunIdentifier,_0x5d9e8d[_0x107aec(0xe3)],_0x5d9e8d[_0x107aec(0x89)]['retry']);logger['debug'](_0x107aec(0x113)+_0x469a69);const _0x397d0a=_0x442dd2[_0x107aec(0x91)]()[_0x107aec(0xb4)](_0x469a69),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x2fb9d0='',[TestFrameworkConstants[_0x107aec(0xdc)]]:_0x4016da=''}=_0x397d0a,_0x3fe11b={'platformIndex':'0','logs':_0x2921a4,'testFrameworkName':_0x2fb9d0,'testFrameworkVersion':_0x4016da,'testFrameworkState':_0x51d4fe[_0x107aec(0xa6)]()['split']('.')[0x1]};_0x201d4c[_0x107aec(0xba)](updatePayloadForTraceLogs,_0x3fe11b,_0x5d9e8d,_0x469a69,_0x442dd2),logger['debug'](_0x107aec(0xfe)+_0x469a69+_0x107aec(0xa5)+util[_0x107aec(0x103)](_0x3fe11b));const _0xb7cfda=await GrpcClient['getInstance']()['logCreatedEvent'](_0x3fe11b);}}catch(_0x57a936){logger[_0x107aec(0x69)](_0x107aec(0xac)+util[_0x107aec(0x81)](_0x57a936));}}['createTestFrameworkEventPayload'](_0x32d99b){const _0x10e9fb=a72_0x2ad3a2,_0x291cc6={'pMeoR':function(_0x47ca99,_0x1d61b9,_0x5d2578){return _0x47ca99(_0x1d61b9,_0x5d2578);},'Dbujg':_0x10e9fb(0x124)};try{const _0x468c99=_0x32d99b[_0x10e9fb(0xe3)]['id'],_0x1c020b=_0x291cc6['pMeoR'](getTestRunIdentifier,_0x32d99b[_0x10e9fb(0xe3)],_0x32d99b[_0x10e9fb(0x89)]['retry']),_0x52f045=_0x32d99b['instance'],_0x1cfd97=_0x52f045['getContext'](),_0x4e5f84=_0x52f045[_0x10e9fb(0x91)]()[_0x10e9fb(0xb4)](_0x1c020b);logger[_0x10e9fb(0x138)]('createTestFrameworkEventPayload\x20testId:\x20'+_0x468c99);const {[TestFrameworkConstants[_0x10e9fb(0xb2)]]:_0x4d3cb3='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x24b779='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x4c1896='',[TestFrameworkConstants[_0x10e9fb(0xd2)]]:_0x4f5ce0=''}=_0x4e5f84,_0x3945d4=_0x52f045[_0x10e9fb(0x9e)]()[_0x10e9fb(0xa6)]()['split']('.')[0x1],_0x182e6c=_0x52f045[_0x10e9fb(0x122)]()['toString']()[_0x10e9fb(0xfb)]('.')[0x1],_0x5b60a9=global?.[_0x10e9fb(0xd9)]?.[_0x10e9fb(0x155)]?.[_0x10e9fb(0x10f)],_0x1c0bf6=_0x52f045[_0x10e9fb(0x136)](),_0x4c54=Buffer['from'](JSON[_0x10e9fb(0xff)](_0x4e5f84))[_0x10e9fb(0xa6)](_0x291cc6[_0x10e9fb(0xeb)]),_0x3828e2={'hash':_0x1cfd97[_0x10e9fb(0x127)](),'threadId':_0x1cfd97[_0x10e9fb(0x98)]()[_0x10e9fb(0xa6)](),'processId':_0x1cfd97[_0x10e9fb(0x104)]()['toString']()},_0x21134f={};_0x21134f[_0x10e9fb(0x97)]=_0x5b60a9,_0x21134f[_0x10e9fb(0x142)]=_0x4d3cb3,_0x21134f['testFrameworkVersion']=_0x24b779,_0x21134f[_0x10e9fb(0x148)]=_0x3945d4,_0x21134f[_0x10e9fb(0xc3)]=_0x182e6c,_0x21134f[_0x10e9fb(0x107)]=_0x4c1896,_0x21134f[_0x10e9fb(0x158)]=_0x4f5ce0,_0x21134f[_0x10e9fb(0xed)]=_0x1c0bf6,_0x21134f[_0x10e9fb(0x8f)]=_0x4c54,_0x21134f[_0x10e9fb(0x9f)]=_0x3828e2;const _0x29d31c=_0x21134f;return logger[_0x10e9fb(0x138)]('createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20'+_0x468c99+_0x10e9fb(0xc4)+_0x3945d4+_0x10e9fb(0x12c)+_0x182e6c),_0x29d31c;}catch(_0x136708){return logger[_0x10e9fb(0x69)](_0x10e9fb(0x10c)+util[_0x10e9fb(0x81)](_0x136708)),{};}}}module[a72_0x2ad3a2(0x14f)]=PlaywrightTestFramework;
1
+ function a73_0x354f(){const _0x426093=['result','KEY_EVENT_ENDED_AT','getRef','concat','kVYZj','stack','getThreadId','basename','retry','errors','21LUijEC','KEY_HOOK_FAILURE_REASON','matchHookRegex','getTestFrameworks',',\x20testFrameworkState=','vIGeN','getTestDetails','sPvzR','createTestFrameworkEventPayload\x20testId:\x20','\x20&\x20hook\x20=\x20','KEY_TEST_ATTACHMENTS','346956xLmBuQ','annotations','DEFAULT_HOOK_RESULT','3260bHeNLv','couYp','../../playwright/reporter/pwUtils','TEST','message','duration','qiUHz','JPeZQ','getTestIdentifierFromTestInfo','filePath','fwSNv','KEY_HOOK_LAST_STARTED','getTestUUID','workerInfo','uSzwd','KEY_HOOKS_FINISHED','../TestInfo.js','executionContext','Error\x20processing\x20trace\x20file\x20','LrVAc','resolveInstance','McXgI','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','yEjSL','parsePlaywrightTestResult','KEY_HOOK_RESULT','uuid','testUId','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','nTCeZ','KEY_HOOK_FAILURE','status','mxjxf','attachments','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','zKFpW','size','filter','from','KEY_TEST_TAGS','path','QmCyh','hook','eSMzo','CAKdH','1912808IFkFDI','util','lZzjU','KEY_TEST_STARTED_AT','KEY_TEST_FAILURE_TYPE','trackEvent','sendLogCreatedEvent\x20for\x20testId:\x20','iDpOE','KEY_TEST_SCOPES','KEY_TEST_LOGS','KEY_HOOK_NAME','../../../helpers/helper.js','KEY_TEST_LOCATION','ePVMw','parsePlaywrightTest','getCurrentInstanceName','GQWuY','2376935PbJmvA','results','\x20from\x20TestDetails:\x20','map','KEY_EVENT_STARTED_AT','../../utils/constants','sendLogCreatedEvent','./testFramework','KEY_TEST_SCOPE','expectedStatus','../grpcClient','YBsck','getCurrentHookState','KEY_TEST_ENDED_AT','Udxxd','KEY_TEST_RETRY_OF','ceil','startedAt','file_name','./constants/testFrameworkConstants.js','bayzi','../cliUtils.js','tOCLY','getContext','toISOString','getCurrentTestState','error','TDHIY','trim','HNJjA','KEY_HOOK_ID','failed','field_type','step','44442TxRPMQ','title','KEY_TEST_RESULT_AT','forEach',',\x20state=','SWNPI','\x20result=','instance','CPqBx','err','zSSIR','XIZoM','../instances/trackedInstance.js','\x20instance=','KEY_TEST_FRAMEWORK_NAME','Expected\x20to\x20fail,\x20but\x20passed.','PRE','\x20payload=','TYBOz','isArray','testFrameworkState','description','stringify','Error\x20in\x20sendLogCreatedEvent:\x20','trackHookEvent','PlaywrightTestFramework','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','ToSlb','KEY_TEST_FILE_PATH','split','length','dSWYw','timZl','KEY_TEST_UUID','../../../helpers/test-observability/utils','endedAt','info','getTrackedInstance','KWIMW','logCreatedEvent','passed','trackEvent:\x20found\x20instance,\x20testFrameworkState=','getTestFrameworksVersions','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','../state/testFrameworkState.js','setTrackedInstance','format','76730zxONBY','\x20batch\x20','KEY_TEST_ID','4531086BlXpzu','test','icXAH','KEY_TEST_FAILURE_REASON','\x20\x20and\x20args\x20=\x20','KEY_HOOK_LOGS','hookState','Error\x20processing\x20direct\x20trace\x20file\x20','slice','../state/hookState.js','No\x20reason\x20provided','pCEzd','startTime','get','KEY_TEST_RESULT','KEY_HOOKS_STARTED','timedOut','addMultipleEntries','Error\x20in\x20createTestFrameworkEventPayload:\x20','Igbqz','values','testFrameworkVersion','toString','whWkz','pop','DEFAULT_TEST_RESULT','statSync','testFrameworkName','VlZJs','KEY_HOOK_FAILURE_TYPE','IZvqs','steps','debug','TEST_ATTACHMENT','KEY_TEST_RERUN_NAME','6224463WxJWPP','MiXPx','multi_dropdown','uHWSh','NONE','skipped','some','KIUgk','\x20instanceId=','getAllData','getTraceFilePaths','trackPlaywrightInstance','inspect','Rnpma','KEY_TEST_FRAMEWORK_VERSION','okUyi','KEY_TEST_NAME','../../../../src/helpers/helper','VrMGg','sendLogCreatedEvent:\x20testId=','KPdra','6BUVOHj','push','MaevD','KEY_HOOK_LAST_FINISHED','arcYs','KAVnV','KEY_CUSTOM_TAGS','getTime','hmPgC','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','KEY_LOGS','setTestDetails','POST','rouTG','HtwYL','\x20target=','\x20testState:\x20','pEYvS','rRwQj','jyuIj','KEY_TEST_CODE','IMgfi'];a73_0x354f=function(){return _0x426093;};return a73_0x354f();}const a73_0x3381f8=a73_0x3f4a;(function(_0x4b1150,_0x231f9c){const _0x25e616=a73_0x3f4a,_0x3cb2d3=_0x4b1150();while(!![]){try{const _0x446b63=-parseInt(_0x25e616(0x1c7))/0x1*(-parseInt(_0x25e616(0x202))/0x2)+parseInt(_0x25e616(0x12a))/0x3*(parseInt(_0x25e616(0x135))/0x4)+-parseInt(_0x25e616(0x176))/0x5+parseInt(_0x25e616(0x1ca))/0x6+parseInt(_0x25e616(0x1ed))/0x7+parseInt(_0x25e616(0x165))/0x8+-parseInt(_0x25e616(0x198))/0x9*(parseInt(_0x25e616(0x138))/0xa);if(_0x446b63===_0x231f9c)break;else _0x3cb2d3['push'](_0x3cb2d3['shift']());}catch(_0x303593){_0x3cb2d3['push'](_0x3cb2d3['shift']());}}}(a73_0x354f,0x9b31f));const TestFramework=require(a73_0x3381f8(0x17d)),TestFrameworkState=require(a73_0x3381f8(0x1c4)),HookState=require(a73_0x3381f8(0x1d3)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a73_0x3381f8(0x18b)),TrackedInstance=require(a73_0x3381f8(0x1a4)),TestFrameworkConstants=require(a73_0x3381f8(0x189)),logger=createClassLogger(a73_0x3381f8(0x1b1)),{v4:uuidv4}=require(a73_0x3381f8(0x152)),util=require(a73_0x3381f8(0x166)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a73_0x3381f8(0x170)),TestInfo=require(a73_0x3381f8(0x148)),GrpcClient=require(a73_0x3381f8(0x180)),{removeAnsiColors,getFailureType,failureData}=require(a73_0x3381f8(0x1ba)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a73_0x3381f8(0x13a)),{findNestedKey,sendTraceZip,validateFilePath}=require(a73_0x3381f8(0x13a)),path=require('path'),fs=require('fs'),helper=require(a73_0x3381f8(0x1fe)),{PLAYWRIGHT_TRACE_LOGS}=require(a73_0x3381f8(0x17b));class PlaywrightTestFramework extends TestFramework{constructor(_0x52cfca,_0x22919b,_0x225028){super(_0x52cfca,_0x22919b,_0x225028);}async['trackEvent'](_0x715011,_0x2367f9,_0x184752={}){const _0x4d354e=a73_0x3381f8,_0x2bf2ac={'SWNPI':function(_0x51815f,_0x4e6049){return _0x51815f===_0x4e6049;},'uSzwd':function(_0x3a5089,_0x31aa8e,_0x54f7d2){return _0x3a5089(_0x31aa8e,_0x54f7d2);},'LrVAc':function(_0x1b6734,_0x407651){return _0x1b6734===_0x407651;},'okUyi':_0x4d354e(0x1cb),'VTizQ':'trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s'};super[_0x4d354e(0x16a)](_0x715011,_0x2367f9,_0x184752);if(_0x2bf2ac['SWNPI'](_0x715011,TestFrameworkState['TEST_SCREENSHOT'])){const _0x5bf33f=TestInfo[_0x4d354e(0x140)](_0x184752[_0x4d354e(0x1cb)],_0x184752['test'][_0x4d354e(0x220)]);TestInfo['setTestDetails'](_0x5bf33f,_0x184752['result'],!![]);}const _0x1e180b=this[_0x4d354e(0x14c)](_0x715011,_0x2367f9,_0x184752);if(!_0x1e180b)return;logger[_0x4d354e(0x1ea)](_0x4d354e(0x1c1)+_0x715011+'\x20hookState='+_0x2367f9+_0x4d354e(0x1f5)+_0x1e180b[_0x4d354e(0x21a)]());try{if(_0x2bf2ac['SWNPI'](_0x2367f9,HookState[_0x4d354e(0x1a8)])&&_0x2bf2ac[_0x4d354e(0x19d)](_0x715011,TestFrameworkState['TEST'])){const _0x18d7c2=_0x184752[_0x4d354e(0x1cb)];logger[_0x4d354e(0x1ea)](_0x4d354e(0x1b2)+_0x18d7c2['id']+'}');const _0x2a8094=TestInfo[_0x4d354e(0x144)](_0x2bf2ac[_0x4d354e(0x146)](getTestRunIdentifier,_0x18d7c2,_0x184752['result'][_0x4d354e(0x220)]));_0x1e180b[_0x4d354e(0x1db)](this[_0x4d354e(0x173)](_0x2a8094,_0x18d7c2,_0x184752[_0x4d354e(0x218)])),logger[_0x4d354e(0x1ea)](_0x4d354e(0x1c3)+_0x18d7c2['id']+_0x4d354e(0x12e)+_0x715011+'\x20testHookState='+_0x2367f9+_0x4d354e(0x1a5)+_0x1e180b['getRef']());}if(_0x2bf2ac[_0x4d354e(0x19d)](_0x2367f9,HookState[_0x4d354e(0x20e)])&&_0x2bf2ac[_0x4d354e(0x14b)](_0x715011,TestFrameworkState[_0x4d354e(0x13b)])){const _0x26caeb=_0x184752[_0x4d354e(0x1cb)],_0x37599d=_0x184752[_0x4d354e(0x218)];logger[_0x4d354e(0x1ea)](_0x4d354e(0x15a)+_0x26caeb['id']),_0x1e180b['addMultipleEntries'](this[_0x4d354e(0x150)](_0x26caeb['id'],_0x37599d,_0x26caeb)),await this['sendLogCreatedEvent'](_0x1e180b,_0x715011,_0x2367f9,_0x2bf2ac[_0x4d354e(0x1fc)],_0x184752);}if(CLIUtils[_0x4d354e(0x12c)](_0x715011[_0x4d354e(0x1e0)]()['split']('.')[0x1])){const _0x9f1975=await this[_0x4d354e(0x1b0)](_0x1e180b,_0x715011,_0x2367f9,_0x184752);_0x1e180b[_0x4d354e(0x1db)](_0x9f1975);}}catch(_0x143dbc){logger['error'](util[_0x4d354e(0x1c6)](_0x2bf2ac['VTizQ'],_0x715011,_0x2367f9,_0x184752[_0x4d354e(0x1b6)],_0x143dbc));}_0x184752['instance']=_0x1e180b,await this['runHooks'](_0x1e180b,_0x715011,_0x2367f9,_0x184752);}['resolveInstance'](_0x3f37af,_0x1c3894,_0x1d9d10={}){const _0x4d6317=a73_0x3381f8,_0x4b44aa={};_0x4b44aa[_0x4d6317(0x201)]=function(_0x31ffab,_0x2985db){return _0x31ffab===_0x2985db;};const _0x29b63b=_0x4b44aa;let _0x4d69a2=null;return(_0x29b63b[_0x4d6317(0x201)](_0x3f37af,TestFrameworkState['INIT_TEST'])||_0x29b63b[_0x4d6317(0x201)](_0x3f37af,TestFrameworkState[_0x4d6317(0x1f1)]))&&this[_0x4d6317(0x1f8)](_0x3f37af,_0x1d9d10),_0x4d69a2=TestFramework[_0x4d6317(0x1bd)](),_0x4d69a2;}[a73_0x3381f8(0x1f8)](_0x5f674b,_0x3db8b1){const _0x342056=a73_0x3381f8,_0xdbaaa7=CLIUtils[_0x342056(0x174)](),_0x4d5b78=TrackedInstance['createContext'](_0xdbaaa7);let _0x10863c=null;logger[_0x342056(0x1bc)](_0x342056(0x14e)+_0xdbaaa7+_0x342056(0x19c)+_0x5f674b),_0x10863c=new TestFrameworkInstance(_0x4d5b78,this[_0x342056(0x12d)](),this[_0x342056(0x1c2)](),_0x5f674b,HookState[_0x342056(0x1f1)]),TestFramework[_0x342056(0x1c5)](_0x4d5b78,_0x10863c),logger['info'](_0x342056(0x20b)+_0x4d5b78['getId']()+_0x342056(0x211)+_0xdbaaa7);}['parsePlaywrightTest'](_0x3c9e0f,_0x26eefa,_0x592c7b){const _0x3049cf=a73_0x3381f8,_0xc62b32={'vIGeN':function(_0x2f086f,_0x458824){return _0x2f086f(_0x458824);},'TDHIY':function(_0xf6a742,_0x22803d){return _0xf6a742(_0x22803d);},'uHWSh':function(_0x2062bc,_0x45e41f){return _0x2062bc(_0x45e41f);},'mWMQn':function(_0x2307d5,_0x3d83e8){return _0x2307d5(_0x3d83e8);},'VlZJs':function(_0x17c07c,_0x130514){return _0x17c07c(_0x130514);},'jyuIj':function(_0x2d8f71,_0x55e5a2,_0x418552){return _0x2d8f71(_0x55e5a2,_0x418552);},'XuVKT':function(_0x453a19,_0x3b0d46){return _0x453a19(_0x3b0d46);}},_0x3b6adf=_0xc62b32['vIGeN'](getPlaywrightTestId,_0x26eefa),_0x4d4cd3=_0xc62b32[_0x3049cf(0x12f)](getPlaywrightTestTitle,_0x26eefa),_0x10b4a5=_0xc62b32['TDHIY'](getTestTags,_0x26eefa),_0x47ba81=_0xc62b32[_0x3049cf(0x12f)](getPlaywrightTestCode,_0x26eefa),_0x46d862=_0xc62b32[_0x3049cf(0x1f0)](getPlaywrightTestFilePath,_0x26eefa),_0x729ba3=_0x46d862+':'+_0xc62b32['mWMQn'](getPlaywrightTestLocation,_0x26eefa),_0x4bdd0c=_0xc62b32[_0x3049cf(0x191)](getPlaywrightTestScope,_0x26eefa),_0x222125=_0xc62b32[_0x3049cf(0x1e6)](getPlaywrightTestScopes,_0x26eefa),_0x3cc298=_0xc62b32[_0x3049cf(0x1f0)](getPlaywrightSessionName,_0x26eefa),_0x30e6da=this[_0x3049cf(0x12d)]()[0x0],_0x3a00ec=_0xc62b32[_0x3049cf(0x215)](getTestRunIdentifier,_0x26eefa,_0x592c7b['retry']),_0x169209={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x30e6da,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x3049cf(0x1c2)]()[_0x30e6da],[TestFrameworkConstants[_0x3049cf(0x16e)]]:[],[TestFrameworkConstants[_0x3049cf(0x147)]]:{},[TestFrameworkConstants[_0x3049cf(0x1d9)]]:{},[TestFrameworkConstants[_0x3049cf(0x1b9)]]:_0x3c9e0f,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x3049cf(0x1e3)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x3cc298,[TestFrameworkConstants[_0x3049cf(0x1b4)]]:_0x46d862,[TestFrameworkConstants[_0x3049cf(0x1c9)]]:_0x3b6adf,[TestFrameworkConstants[_0x3049cf(0x1fd)]]:_0x4d4cd3,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x729ba3,[TestFrameworkConstants[_0x3049cf(0x216)]]:_0x47ba81,[TestFrameworkConstants[_0x3049cf(0x15f)]]:_0x10b4a5,[TestFrameworkConstants[_0x3049cf(0x168)]]:_0x26eefa[_0x3049cf(0x177)][0x0][_0x3049cf(0x1d6)],[TestFrameworkConstants[_0x3049cf(0x17e)]]:_0x4bdd0c,[TestFrameworkConstants[_0x3049cf(0x16d)]]:_0x222125,[TestFrameworkConstants[_0x3049cf(0x1ec)]]:_0xc62b32['XuVKT'](getPlaywrightCustomRerunParam,_0x26eefa)};TestInfo[_0x3049cf(0x20d)](_0x3a00ec,_0x169209);const _0x2cb4a8={};return _0x2cb4a8[_0x3a00ec]=_0x169209,_0x2cb4a8;}[a73_0x3381f8(0x150)](_0x1398e5,_0x3229ef,_0x44fccc){const _0x27798=a73_0x3381f8,_0x2d1fab={'JPeZQ':function(_0x28fc97,_0x41738a){return _0x28fc97(_0x41738a);},'ToSlb':_0x27798(0x1eb),'IZvqs':function(_0xb7aa23,_0x244600){return _0xb7aa23===_0x244600;},'hmPgC':function(_0x26bb6f,_0x6b87c1){return _0x26bb6f===_0x6b87c1;},'UQLEG':function(_0x43769e,_0x3da411){return _0x43769e(_0x3da411);},'QmCyh':_0x27798(0x1d4),'VrMGg':_0x27798(0x1ef),'upsEv':function(_0x4719fb,_0xdcb8e0){return _0x4719fb(_0xdcb8e0);},'pEYvS':function(_0x4f20ba,_0xd40365,_0x55af04){return _0x4f20ba(_0xd40365,_0x55af04);},'zKFpW':function(_0x6bc00c,_0xa880e0){return _0x6bc00c+_0xa880e0;},'HNJjA':function(_0x2e6353,_0x1cb1e5){return _0x2e6353===_0x1cb1e5;},'couYp':_0x27798(0x1f2),'KAVnV':_0x27798(0x1c0),'YBsck':function(_0x2d1003,_0x1cf41d){return _0x2d1003===_0x1cf41d;},'KIUgk':function(_0x49f1f1,_0x5278af){return _0x49f1f1===_0x5278af;},'ePVMw':'failed','IMgfi':function(_0x224bba,_0x5187c6){return _0x224bba===_0x5187c6;},'Igbqz':_0x27798(0x1da),'zSSIR':function(_0x91a815,_0x30f077){return _0x91a815===_0x30f077;},'MaevD':_0x27798(0x1a7),'whWkz':function(_0x595444,_0x48daf4){return _0x595444||_0x48daf4;},'Rnpma':function(_0x3a707c,_0x464d47){return _0x3a707c>_0x464d47;},'TYBOz':function(_0x37d95c,_0x27f4be,_0x2fd220){return _0x37d95c(_0x27f4be,_0x2fd220);},'iDpOE':function(_0x5627db,_0x4d476e){return _0x5627db-_0x4d476e;},'pCEzd':function(_0x31dc2e,_0xcf523f,_0x188d4e){return _0x31dc2e(_0xcf523f,_0x188d4e);},'tOCLY':_0x27798(0x160),'vaJxc':function(_0x13ad88,_0x2d4ceb){return _0x13ad88(_0x2d4ceb);}};logger[_0x27798(0x1ea)]('parsePlaywrightTestResult:\x20testId='+_0x1398e5);const _0x28a612=_0x2d1fab[_0x27798(0x213)](getTestRunIdentifier,_0x44fccc,_0x3229ef['retry']),_0x4f8849=new Date(_0x3229ef[_0x27798(0x1d6)]),_0x267c76=_0x3229ef[_0x27798(0x13d)],_0x4225e7=new Date(_0x2d1fab[_0x27798(0x15b)](_0x4f8849[_0x27798(0x209)](),_0x267c76)),_0x22fe78=_0x3229ef[_0x27798(0x157)],_0x50e64e=TestInfo['getTestDetails'](_0x28a612)[TestFrameworkConstants[_0x27798(0x208)]]||{};let _0x1539da=_0x22fe78;if(_0x2d1fab[_0x27798(0x193)](_0x3229ef[_0x27798(0x157)],_0x44fccc[_0x27798(0x17f)]))_0x1539da=_0x2d1fab[_0x27798(0x193)](_0x3229ef['status'],_0x2d1fab['couYp'])?_0x2d1fab[_0x27798(0x139)]:_0x2d1fab[_0x27798(0x207)];else{(_0x2d1fab[_0x27798(0x181)](_0x1539da,_0x2d1fab['KAVnV'])||_0x2d1fab[_0x27798(0x1f4)](_0x1539da,_0x2d1fab[_0x27798(0x172)])||_0x2d1fab[_0x27798(0x217)](_0x1539da,_0x2d1fab[_0x27798(0x1dd)]))&&(_0x1539da=_0x2d1fab[_0x27798(0x172)]);if(_0x2d1fab[_0x27798(0x20a)](_0x3229ef['status'],_0x2d1fab[_0x27798(0x207)])&&_0x2d1fab[_0x27798(0x1a2)](_0x44fccc['expectedStatus'],_0x2d1fab[_0x27798(0x172)])){const _0x262743={};_0x262743[_0x27798(0x13c)]=_0x2d1fab[_0x27798(0x204)],_0x262743[_0x27798(0x21d)]=_0x2d1fab[_0x27798(0x204)],_0x3229ef[_0x27798(0x190)]=_0x262743,_0x3229ef[_0x27798(0x129)]=[_0x3229ef[_0x27798(0x190)]];}}const {failureData:_0x24528c,logs:_0x13da64}=_0x2d1fab[_0x27798(0x213)](getFailureData,_0x3229ef?.[_0x27798(0x129)],{}),_0x521b2f={[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x2d1fab[_0x27798(0x1e1)](_0x24528c,null),[TestFrameworkConstants[_0x27798(0x169)]]:_0x3229ef?.[_0x27798(0x190)]&&_0x2d1fab['UQLEG'](getFailureType,_0x3229ef['error'][_0x27798(0x13c)]),[TestFrameworkConstants[_0x27798(0x1cd)]]:_0x3229ef?.[_0x27798(0x190)]&&_0x2d1fab[_0x27798(0x13f)](removeAnsiColors,_0x3229ef[_0x27798(0x190)][_0x27798(0x13c)]),[TestFrameworkConstants[_0x27798(0x20c)]]:[],[TestFrameworkConstants[_0x27798(0x1d8)]]:_0x1539da,[TestFrameworkConstants[_0x27798(0x183)]]:_0x4225e7[_0x27798(0x18e)](),[TestFrameworkConstants[_0x27798(0x19a)]]:new Date()[_0x27798(0x18e)](),[TestFrameworkConstants[_0x27798(0x208)]]:_0x50e64e};if(_0x3229ef&&_0x2d1fab[_0x27798(0x1fa)](_0x3229ef[_0x27798(0x220)],0x0)){const _0x15fe65=TestInfo['getTestUUID'](_0x2d1fab[_0x27798(0x1aa)](getTestRunIdentifier,_0x44fccc,_0x2d1fab[_0x27798(0x16c)](_0x3229ef[_0x27798(0x220)],0x1)));_0x521b2f[TestFrameworkConstants[_0x27798(0x185)]]=_0x15fe65;}const _0x520442={};_0x520442[_0x27798(0x1cb)]=_0x44fccc;const _0x2fe8f6=this[_0x27798(0x14c)](TestFrameworkState['TEST'],HookState[_0x27798(0x20e)],_0x520442),_0xbac840=_0x2fe8f6[_0x27798(0x1f6)]()[_0x27798(0x1d7)](_0x28a612)[TestFrameworkConstants[_0x27798(0x1b9)]],_0x4f0d20=[],_0x577481=_0x2d1fab[_0x27798(0x1d5)](findNestedKey,_0x3229ef,_0x2d1fab[_0x27798(0x18c)]);if(_0x577481&&_0x2d1fab['vaJxc'](validateFilePath,_0x577481))try{_0x4f0d20[_0x27798(0x203)]({'kind':_0x2d1fab[_0x27798(0x1b3)],'timestamp':new Date()[_0x27798(0x18e)](),'test_run_uuid':_0xbac840,'file_name':path[_0x27798(0x21f)](_0x577481),'file_size':fs['statSync'](_0x577481)['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x51dd70){logger[_0x27798(0x190)](_0x27798(0x1d1)+_0x577481+':\x20'+_0x51dd70[_0x27798(0x13c)]);}const _0x32afdc=TestInfo[_0x27798(0x1f7)](),_0x5bf167=_0x32afdc[_0x27798(0x15d)](_0xa1aaf6=>_0xa1aaf6[_0x27798(0x153)]===_0xbac840);_0x5bf167[_0x27798(0x19b)](_0x5bb28e=>{const _0x48dfb5=_0x27798;if(_0x5bb28e[_0x48dfb5(0x141)]&&_0x2d1fab[_0x48dfb5(0x13f)](validateFilePath,_0x5bb28e[_0x48dfb5(0x141)])&&!_0x4f0d20[_0x48dfb5(0x1f3)](_0x2fa761=>_0x2fa761[_0x48dfb5(0x188)]===path[_0x48dfb5(0x21f)](_0x5bb28e[_0x48dfb5(0x141)])))try{_0x4f0d20[_0x48dfb5(0x203)]({'kind':_0x2d1fab[_0x48dfb5(0x1b3)],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0xbac840,'file_name':path[_0x48dfb5(0x21f)](_0x5bb28e[_0x48dfb5(0x141)]),'file_size':fs[_0x48dfb5(0x1e4)](_0x5bb28e[_0x48dfb5(0x141)])[_0x48dfb5(0x15c)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x203a03){logger[_0x48dfb5(0x190)](_0x48dfb5(0x14a)+_0x5bb28e[_0x48dfb5(0x141)]+_0x48dfb5(0x178)+_0x203a03[_0x48dfb5(0x13c)]);}});if(_0x2d1fab[_0x27798(0x1fa)](_0x4f0d20[_0x27798(0x1b6)],0x0)){const _0x2c3984=_0x521b2f[TestFrameworkConstants['KEY_LOGS']]||[];_0x521b2f[TestFrameworkConstants[_0x27798(0x20c)]]=[..._0x2c3984,..._0x4f0d20];}const _0x351431=TestInfo[_0x27798(0x130)](_0x28a612)[TestFrameworkConstants[_0x27798(0x134)]]||{},_0xa27f93=_0x2d1fab[_0x27798(0x213)](getManualUploadLogs,_0x351431,_0x2fe8f6[_0x27798(0x1f6)]()[_0x27798(0x1d7)](_0x28a612)[TestFrameworkConstants[_0x27798(0x1b9)]]);if(_0x2d1fab['Rnpma'](_0xa27f93[_0x27798(0x1b6)],0x0)){const _0x5e3dea=_0x521b2f[TestFrameworkConstants[_0x27798(0x20c)]]||[];_0x521b2f[TestFrameworkConstants['KEY_LOGS']]=[..._0x5e3dea,..._0xa27f93];}const _0x122113=_0x44fccc[_0x27798(0x136)]||[],_0x59367b=_0x521b2f[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};_0x122113[_0x27798(0x19b)](_0x47ba9b=>{const _0x15eeae=_0x27798,{type:_0x56d70e}=_0x47ba9b;let _0x2cb749=_0x47ba9b[_0x15eeae(0x1ad)];if(!_0x56d70e)return;(_0x2d1fab[_0x15eeae(0x1e8)](_0x2cb749,undefined)||_0x2d1fab[_0x15eeae(0x1e8)](_0x2cb749,null)||_0x2d1fab[_0x15eeae(0x20a)](_0x2d1fab['UQLEG'](String,_0x2cb749)[_0x15eeae(0x192)](),''))&&(_0x2cb749=_0x2d1fab[_0x15eeae(0x161)]);if(!_0x59367b[_0x56d70e]){const _0x438242={};_0x438242[_0x15eeae(0x196)]=_0x2d1fab[_0x15eeae(0x1ff)],_0x438242[_0x15eeae(0x1de)]=[],_0x59367b[_0x56d70e]=_0x438242;}else!_0x59367b[_0x56d70e]['field_type']&&(_0x59367b[_0x56d70e]['field_type']=_0x2d1fab[_0x15eeae(0x1ff)]),!Array[_0x15eeae(0x1ab)](_0x59367b[_0x56d70e][_0x15eeae(0x1de)])&&(_0x59367b[_0x56d70e][_0x15eeae(0x1de)]=[]);const _0x58abaf=_0x2d1fab['upsEv'](String,_0x2cb749)[_0x15eeae(0x1b5)](',')[_0x15eeae(0x179)](_0xe83935=>_0xe83935['trim']());_0x59367b[_0x56d70e][_0x15eeae(0x1de)]=[...new Set([..._0x59367b[_0x56d70e][_0x15eeae(0x1de)],..._0x58abaf])];}),_0x521b2f[TestFrameworkConstants[_0x27798(0x208)]]=_0x59367b,TestInfo[_0x27798(0x20d)](_0x28a612,_0x521b2f);const _0x583400={};return _0x583400[_0x28a612]=_0x521b2f,_0x583400;}async['trackHookEvent'](_0x3e254c,_0x565798,_0xdaca00,_0x220b6e){const _0x2ab796=a73_0x3381f8,_0x1403b3={'eSMzo':function(_0x3fb398,_0x32028b,_0x511283){return _0x3fb398(_0x32028b,_0x511283);},'KWIMW':function(_0x5002d9,_0x21524a){return _0x5002d9 in _0x21524a;},'arcYs':function(_0x5995da,_0x3825a8){return _0x5995da(_0x3825a8);},'rouTG':function(_0x3989ea,_0x33955c){return _0x3989ea===_0x33955c;},'lZzjU':function(_0x17c2c6){return _0x17c2c6();},'HtwYL':function(_0x1cdafb,_0x3dad1f){return _0x1cdafb>_0x3dad1f;},'mxjxf':_0x2ab796(0x1a1),'kVYZj':_0x2ab796(0x195),'GQWuY':_0x2ab796(0x1c0),'qiUHz':function(_0xdd6230,_0x354cf8){return _0xdd6230!==_0x354cf8;},'MiXPx':function(_0xae17aa,_0x11a1cb){return _0xae17aa+_0x11a1cb;},'bayzi':_0x2ab796(0x162)},_0x3c85f9=_0x220b6e[_0x2ab796(0x1cb)],_0x7ef2ba=_0x220b6e[_0x2ab796(0x197)],_0x5c02fa=_0x1403b3[_0x2ab796(0x163)](getTestRunIdentifier,_0x3c85f9,_0x220b6e[_0x2ab796(0x218)][_0x2ab796(0x220)]),_0x466d00=_0x565798[_0x2ab796(0x1e0)]()['split']('.')[0x1];let _0x12373b=_0x3e254c[_0x2ab796(0x1f6)]()[_0x2ab796(0x1d7)](_0x5c02fa)[TestFrameworkConstants[_0x2ab796(0x1d9)]];!_0x12373b&&(_0x12373b={});!_0x1403b3[_0x2ab796(0x1be)](_0x466d00,_0x12373b)&&(_0x12373b[_0x466d00]=[]);let _0x3c5a49=_0x3e254c['getAllData']()['get'](_0x5c02fa)[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x3c5a49&&(_0x3c5a49={});!_0x1403b3[_0x2ab796(0x1be)](_0x466d00,_0x3c5a49)&&(_0x3c5a49[_0x466d00]=[]);const _0x51a355={[TestFrameworkConstants[_0x2ab796(0x1d9)]]:_0x12373b,[TestFrameworkConstants[_0x2ab796(0x147)]]:_0x3c5a49},_0x2d027c={};_0x2d027c[_0x5c02fa]=_0x51a355;const _0x9afdb0=_0x2d027c,_0x44e9e5=_0x1403b3['arcYs'](getPlaywrightTestFilePath,_0x3c85f9),_0x3ecef0=_0x44e9e5+':'+_0x1403b3['arcYs'](getPlaywrightTestLocation,_0x3c85f9),_0x100f9c=TestInfo[_0x2ab796(0x130)](_0x5c02fa)[TestFrameworkConstants[_0x2ab796(0x208)]]||{};if(_0x1403b3['rouTG'](_0xdaca00,HookState[_0x2ab796(0x1a8)])){const _0xfbe6db={'key':_0x466d00,[TestFrameworkConstants[_0x2ab796(0x194)]]:_0x1403b3[_0x2ab796(0x167)](uuidv4),[TestFrameworkConstants[_0x2ab796(0x151)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x2ab796(0x17a)]]:_0x7ef2ba['startTime'],[TestFrameworkConstants[_0x2ab796(0x1cf)]]:[],[TestFrameworkConstants[_0x2ab796(0x16f)]]:_0x7ef2ba[_0x2ab796(0x199)],[TestFrameworkConstants[_0x2ab796(0x1b4)]]:_0x44e9e5,[TestFrameworkConstants[_0x2ab796(0x171)]]:_0x3ecef0,[TestFrameworkConstants[_0x2ab796(0x208)]]:_0x100f9c};_0x12373b[_0x466d00][_0x2ab796(0x203)](_0xfbe6db),_0x9afdb0[_0x5c02fa][TestFrameworkConstants[_0x2ab796(0x143)]]=_0x466d00,logger[_0x2ab796(0x1ea)](_0x2ab796(0x154)+_0x466d00+_0x2ab796(0x133)+_0xfbe6db+_0x2ab796(0x1ce)+_0x220b6e);}else{if(_0x1403b3[_0x2ab796(0x20f)](_0xdaca00,HookState['POST'])){const _0x517ecc=await _0x220b6e[_0x2ab796(0x218)],_0x49f7a1=_0x12373b[_0x466d00]||[],_0x37d22e=_0x220b6e[_0x2ab796(0x197)];logger[_0x2ab796(0x1ea)]('Hook\x20List\x20in\x20Post\x20'+_0x49f7a1+'\x20and\x20args\x20=\x20'+_0x220b6e);if(_0x1403b3[_0x2ab796(0x210)](_0x49f7a1[_0x2ab796(0x1b6)],0x0)){const _0x5940a9=_0x49f7a1[_0x2ab796(0x1e2)]();if(_0x37d22e['error']){const _0x574912=_0x1403b3['eSMzo'](failureData,_0x37d22e[_0x2ab796(0x190)],_0x1403b3[_0x2ab796(0x158)]);_0x5940a9[TestFrameworkConstants[_0x2ab796(0x1e7)]]=_0x1403b3[_0x2ab796(0x206)](getFailureType,_0x37d22e?.['error'][_0x2ab796(0x13c)]),_0x5940a9[TestFrameworkConstants[_0x2ab796(0x12b)]]=_0x1403b3[_0x2ab796(0x206)](removeAnsiColors,_0x37d22e?.['error'][_0x2ab796(0x13c)]),_0x5940a9[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x1403b3[_0x2ab796(0x21c)],_0x5940a9[TestFrameworkConstants[_0x2ab796(0x156)]]=_0x574912;}else _0x5940a9[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x1403b3['GQWuY'];_0x1403b3[_0x2ab796(0x13e)](_0x517ecc,TestFrameworkConstants[_0x2ab796(0x137)])&&(_0x5940a9[TestFrameworkConstants[_0x2ab796(0x151)]]=!_0x37d22e[_0x2ab796(0x190)]?_0x1403b3[_0x2ab796(0x175)]:_0x1403b3[_0x2ab796(0x21c)]);const _0x7472fc=new Date(_0x37d22e['startTime']),_0x66ce3a=new Date(_0x1403b3[_0x2ab796(0x1ee)](_0x7472fc[_0x2ab796(0x209)](),_0x37d22e['duration']));_0x5940a9[TestFrameworkConstants[_0x2ab796(0x219)]]=_0x66ce3a[_0x2ab796(0x18e)](),_0x5940a9[TestFrameworkConstants[_0x2ab796(0x208)]]=_0x100f9c;const _0x26c4ee=_0x5940a9[TestFrameworkConstants['KEY_HOOK_ID']];await this[_0x2ab796(0x17c)](_0x3e254c,_0x565798,_0x26c4ee,_0x1403b3[_0x2ab796(0x18a)],_0x220b6e),!_0x3c5a49[_0x466d00]&&(_0x3c5a49[_0x466d00]=[]),_0x3c5a49[_0x466d00][_0x2ab796(0x203)](_0x5940a9),_0x9afdb0[_0x5c02fa][TestFrameworkConstants[_0x2ab796(0x205)]]=_0x466d00;}}}return _0x9afdb0;}async['sendLogCreatedEvent'](_0x2a55c7,_0x461b7c,_0xa5ecc1,_0x3f0bd5,_0x183052){const _0x60de80=a73_0x3381f8,_0x2d97ed={'QFKIX':function(_0xac9bc2,_0x2223a0){return _0xac9bc2===_0x2223a0;},'yEjSL':_0x60de80(0x1cb),'CPqBx':function(_0x288981,_0x36ee51,_0x1c188d){return _0x288981(_0x36ee51,_0x1c188d);},'sPvzR':function(_0x462307,_0xd3a19a,_0x3d27f7){return _0x462307(_0xd3a19a,_0x3d27f7);},'dSWYw':'attachments','dklmY':function(_0x154f31,_0x36f991,_0x1741fd,_0x1057be){return _0x154f31(_0x36f991,_0x1741fd,_0x1057be);},'CAKdH':function(_0x40accf,_0x5a3bc8,_0x30e6c9){return _0x40accf(_0x5a3bc8,_0x30e6c9);},'EKAKD':function(_0x6be662,_0x4d9ace,_0x5a44b3){return _0x6be662(_0x4d9ace,_0x5a44b3);},'nTCeZ':function(_0x221cea,_0x4e9a3b){return _0x221cea/_0x4e9a3b;},'McXgI':function(_0x2e5c37,_0x3ca3c6){return _0x2e5c37<_0x3ca3c6;},'PyudC':function(_0x343088,_0x3f199f){return _0x343088*_0x3f199f;},'icXAH':function(_0x59f397,_0x49c093){return _0x59f397+_0x49c093;},'rRwQj':function(_0x2a2660,_0x59e0a0,_0x234249,_0x5389f0,_0x442f6e){return _0x2a2660(_0x59e0a0,_0x234249,_0x5389f0,_0x442f6e);},'fwSNv':function(_0x116477,_0xded60b){return _0x116477+_0xded60b;},'Udxxd':'hook','sZUsj':function(_0x32bbf3,_0x3bb931,_0x190977,_0x890003,_0x1bfa36){return _0x32bbf3(_0x3bb931,_0x190977,_0x890003,_0x1bfa36);}};try{if(_0x2d97ed['QFKIX'](_0x3f0bd5,_0x2d97ed[_0x60de80(0x14f)])){const _0x3bd5b4=await _0x183052['result'],_0x350383=_0x2d97ed[_0x60de80(0x1a0)](getTestRunIdentifier,_0x183052[_0x60de80(0x1cb)],_0x183052[_0x60de80(0x218)][_0x60de80(0x220)]),_0x276ad9=_0x183052['test'];logger['debug']('sendLogCreatedEvent:\x20testId='+_0x350383+_0x60de80(0x19e)+util[_0x60de80(0x1f9)](_0x3bd5b4));const _0x578799=_0x2a55c7[_0x60de80(0x1f6)]()[_0x60de80(0x1d7)](_0x350383)[TestFrameworkConstants['KEY_TEST_UUID']];await _0x2d97ed['sPvzR'](sendTraceZip,_0x3bd5b4,_0x578799);const _0x4ae701=TestInfo[_0x60de80(0x130)](_0x350383)[_0x2d97ed['dSWYw']],_0x1a8b4e={};if(_0x4ae701){!_0x3bd5b4[_0x60de80(0x159)]&&(_0x3bd5b4[_0x60de80(0x159)]=[]);_0x1a8b4e[_0x60de80(0x159)]=_0x3bd5b4[_0x60de80(0x159)]['concat'](_0x4ae701||[]);const _0x1fa0a0=TestInfo['getTestDetails'](_0x350383);delete _0x1fa0a0[_0x2d97ed[_0x60de80(0x1b7)]],TestInfo[_0x60de80(0x20d)](_0x350383,_0x1fa0a0);}const {steps:_0x4ee3b5,logs:_0x1ebcd1}=_0x2d97ed['dklmY'](getStepsAndLogs,_0x3bd5b4[_0x60de80(0x1e9)],_0x2a55c7[_0x60de80(0x1f6)]()[_0x60de80(0x1d7)](_0x350383)[TestFrameworkConstants[_0x60de80(0x1b9)]],_0x2d97ed['yEjSL']),_0x363dfb=_0x2d97ed[_0x60de80(0x131)](getScreenshots,_0x1a8b4e,_0x2a55c7[_0x60de80(0x1f6)]()[_0x60de80(0x1d7)](_0x350383)[TestFrameworkConstants[_0x60de80(0x1b9)]]),_0x348cf8=_0x2d97ed[_0x60de80(0x164)](getVideos,_0x3bd5b4,_0x2a55c7[_0x60de80(0x1f6)]()['get'](_0x350383)[TestFrameworkConstants['KEY_TEST_UUID']]),{_:_0x29ecb8,logs:_0x45d82f}=_0x2d97ed[_0x60de80(0x131)](getFailureData,_0x3bd5b4['errors'],{'test_run_uuid':_0x2a55c7[_0x60de80(0x1f6)]()[_0x60de80(0x1d7)](_0x350383)[TestFrameworkConstants[_0x60de80(0x1b9)]]}),_0x353a1e=TestInfo[_0x60de80(0x130)](_0x350383)[TestFrameworkConstants[_0x60de80(0x134)]]||{},_0x196b37=_0x2d97ed['EKAKD'](getMediaArtifactsLogs,_0x353a1e,_0x2a55c7[_0x60de80(0x1f6)]()[_0x60de80(0x1d7)](_0x350383)[TestFrameworkConstants[_0x60de80(0x1b9)]]),_0x3f9fdb=_0x2a55c7[_0x60de80(0x1f6)]()[_0x60de80(0x1d7)](_0x350383),{[TestFrameworkConstants[_0x60de80(0x1a6)]]:_0x2dfd21='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0xb1695f=''}=_0x3f9fdb,_0x16bebe=(_0x1ebcd1||[])['concat'](_0x363dfb||[])[_0x60de80(0x21b)](_0x45d82f||[])[_0x60de80(0x21b)](_0x348cf8||[])['concat'](_0x196b37||[]),_0x3314bc=0x28,_0x1f211e=Math[_0x60de80(0x186)](_0x2d97ed[_0x60de80(0x155)](_0x16bebe['length'],_0x3314bc));for(let _0x4768bb=0x0;_0x2d97ed[_0x60de80(0x14d)](_0x4768bb,_0x1f211e);_0x4768bb++){const _0x388420=_0x2d97ed['PyudC'](_0x4768bb,_0x3314bc),_0x13f05b=_0x2d97ed[_0x60de80(0x1cc)](_0x388420,_0x3314bc),_0x3e883b=_0x16bebe[_0x60de80(0x1d2)](_0x388420,_0x13f05b),_0x39af94={'platformIndex':'0','logs':_0x3e883b,'testFrameworkName':_0x2dfd21,'testFrameworkVersion':_0xb1695f,'testFrameworkState':_0x461b7c[_0x60de80(0x1e0)]()[_0x60de80(0x1b5)]('.')[0x1]};_0x2d97ed[_0x60de80(0x214)](updatePayloadForTraceLogs,_0x39af94,_0x183052,_0x350383,_0x2a55c7),logger[_0x60de80(0x1ea)](_0x60de80(0x16b)+_0x350383+_0x60de80(0x1c8)+_0x2d97ed[_0x60de80(0x142)](_0x4768bb,0x1)+'/'+_0x1f211e+_0x60de80(0x1a9)+util[_0x60de80(0x1f9)](_0x39af94));const _0x206236=await GrpcClient['getInstance']()[_0x60de80(0x1bf)](_0x39af94);logger[_0x60de80(0x1ea)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x350383+'\x20batch\x20'+_0x2d97ed[_0x60de80(0x142)](_0x4768bb,0x1)+'/'+_0x1f211e+'\x20response='+util[_0x60de80(0x1f9)](_0x206236));}}else{const {steps:_0x5f160a,logs:_0xaa354e}=_0x2d97ed['dklmY'](getStepsAndLogs,_0x183052[_0x60de80(0x197)][_0x60de80(0x1e9)],_0xa5ecc1,_0x2d97ed[_0x60de80(0x184)]),_0x8c938c=_0x2d97ed[_0x60de80(0x1a0)](getTestRunIdentifier,_0x183052[_0x60de80(0x1cb)],_0x183052[_0x60de80(0x218)][_0x60de80(0x220)]);logger[_0x60de80(0x1ea)](_0x60de80(0x200)+_0x8c938c);const _0x3f037c=_0x2a55c7['getAllData']()[_0x60de80(0x1d7)](_0x8c938c),{[TestFrameworkConstants[_0x60de80(0x1a6)]]:_0x49f8e5='',[TestFrameworkConstants[_0x60de80(0x1fb)]]:_0x5e1597=''}=_0x3f037c,_0x47108c={'platformIndex':'0','logs':_0xaa354e,'testFrameworkName':_0x49f8e5,'testFrameworkVersion':_0x5e1597,'testFrameworkState':_0x461b7c[_0x60de80(0x1e0)]()[_0x60de80(0x1b5)]('.')[0x1]};_0x2d97ed['sZUsj'](updatePayloadForTraceLogs,_0x47108c,_0x183052,_0x8c938c,_0x2a55c7),logger[_0x60de80(0x1ea)](_0x60de80(0x16b)+_0x8c938c+_0x60de80(0x1a9)+util[_0x60de80(0x1f9)](_0x47108c));const _0x25d8cc=await GrpcClient['getInstance']()[_0x60de80(0x1bf)](_0x47108c);}}catch(_0x4e3ba1){logger[_0x60de80(0x190)](_0x60de80(0x1af)+util[_0x60de80(0x1c6)](_0x4e3ba1));}}['createTestFrameworkEventPayload'](_0x4c3fc2){const _0x30d8d2=a73_0x3381f8,_0x269ada={'XIZoM':function(_0x4cbead,_0x22aa2b,_0x3db184){return _0x4cbead(_0x22aa2b,_0x3db184);},'timZl':'base64'};try{const _0x546810=_0x4c3fc2['test']['id'],_0x1b38f0=_0x269ada[_0x30d8d2(0x1a3)](getTestRunIdentifier,_0x4c3fc2[_0x30d8d2(0x1cb)],_0x4c3fc2[_0x30d8d2(0x218)][_0x30d8d2(0x220)]),_0x18f4d1=_0x4c3fc2[_0x30d8d2(0x19f)],_0x3f0060=_0x18f4d1[_0x30d8d2(0x18d)](),_0x4d45e7=_0x18f4d1[_0x30d8d2(0x1f6)]()[_0x30d8d2(0x1d7)](_0x1b38f0);logger[_0x30d8d2(0x1ea)](_0x30d8d2(0x132)+_0x546810);const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x5a5fc7='',[TestFrameworkConstants[_0x30d8d2(0x1fb)]]:_0xad0c4f='',[TestFrameworkConstants[_0x30d8d2(0x168)]]:_0x3a526b='',[TestFrameworkConstants[_0x30d8d2(0x183)]]:_0xc34bf4=''}=_0x4d45e7,_0x54fec7=_0x18f4d1[_0x30d8d2(0x18f)]()[_0x30d8d2(0x1e0)]()['split']('.')[0x1],_0x4bb95a=_0x18f4d1[_0x30d8d2(0x182)]()[_0x30d8d2(0x1e0)]()[_0x30d8d2(0x1b5)]('.')[0x1],_0x247641=global?.['__workerDetails']?.[_0x30d8d2(0x145)]?.['parallelIndex'],_0x5fb8b7=_0x18f4d1[_0x30d8d2(0x21a)](),_0x34da99=Buffer[_0x30d8d2(0x15e)](JSON[_0x30d8d2(0x1ae)](_0x4d45e7))['toString'](_0x269ada[_0x30d8d2(0x1b8)]),_0x30b33b={'hash':_0x3f0060['getId'](),'threadId':_0x3f0060[_0x30d8d2(0x21e)]()['toString'](),'processId':_0x3f0060['getProcessId']()['toString']()},_0x34de66={};_0x34de66['platformIndex']=_0x247641,_0x34de66[_0x30d8d2(0x1e5)]=_0x5a5fc7,_0x34de66[_0x30d8d2(0x1df)]=_0xad0c4f,_0x34de66[_0x30d8d2(0x1ac)]=_0x54fec7,_0x34de66[_0x30d8d2(0x1d0)]=_0x4bb95a,_0x34de66[_0x30d8d2(0x187)]=_0x3a526b,_0x34de66[_0x30d8d2(0x1bb)]=_0xc34bf4,_0x34de66[_0x30d8d2(0x152)]=_0x5fb8b7,_0x34de66['eventJson']=_0x34da99,_0x34de66[_0x30d8d2(0x149)]=_0x30b33b;const _0x425703=_0x34de66;return logger[_0x30d8d2(0x1ea)]('createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20'+_0x546810+_0x30d8d2(0x212)+_0x54fec7+'\x20hookState:\x20'+_0x4bb95a),_0x425703;}catch(_0x52b8b8){return logger[_0x30d8d2(0x190)](_0x30d8d2(0x1dc)+util['format'](_0x52b8b8)),{};}}}function a73_0x3f4a(_0x2e76ef,_0x578e0d){const _0x354f8c=a73_0x354f();return a73_0x3f4a=function(_0x3f4ae2,_0x5ee4a9){_0x3f4ae2=_0x3f4ae2-0x129;let _0xb1ccfc=_0x354f8c[_0x3f4ae2];return _0xb1ccfc;},a73_0x3f4a(_0x2e76ef,_0x578e0d);}module['exports']=PlaywrightTestFramework;
@@ -1 +1 @@
1
- const a73_0xf56f23=a73_0x2af7;(function(_0x5091f0,_0x5aaff5){const _0x207f34=a73_0x2af7,_0x3e5c29=_0x5091f0();while(!![]){try{const _0x4e5ff7=parseInt(_0x207f34(0xa2))/0x1*(parseInt(_0x207f34(0x90))/0x2)+-parseInt(_0x207f34(0x9e))/0x3+-parseInt(_0x207f34(0xac))/0x4*(parseInt(_0x207f34(0xa4))/0x5)+-parseInt(_0x207f34(0x93))/0x6*(-parseInt(_0x207f34(0x9c))/0x7)+-parseInt(_0x207f34(0x92))/0x8+-parseInt(_0x207f34(0x8e))/0x9+parseInt(_0x207f34(0xad))/0xa*(parseInt(_0x207f34(0x9d))/0xb);if(_0x4e5ff7===_0x5aaff5)break;else _0x3e5c29['push'](_0x3e5c29['shift']());}catch(_0x5c9f40){_0x3e5c29['push'](_0x3e5c29['shift']());}}}(a73_0x498e,0x5cdee));const CLIUtils=require(a73_0xf56f23(0x9a)),eventDispatcher=require(a73_0xf56f23(0x9b)),TestFrameworkInstance=require(a73_0xf56f23(0x97)),TrackedContext=require(a73_0xf56f23(0x86)),TestFrameworkState=require(a73_0xf56f23(0x85)),HookState=require(a73_0xf56f23(0x87)),{createClassLogger}=require('../../../helpers/classLogger'),TrackedInstance=require(a73_0xf56f23(0xa0)),logger=createClassLogger(a73_0xf56f23(0x8b));function a73_0x498e(){const _0x106792=['../instances/testFrameworkInstance','getInstances','getState','../cliUtils','../eventDispatcher','14avAhZL','1407967dGVHvp','2194944siLrYX','createContext','../instances/trackedInstance','getAllData','417wyWrMO','setCurrentTestState','21150CGCDQw','has','instances','trackEvent','exports','getCurrentInstanceName','setState','hasState','632EwkXhi','190kuOjyk','getTestFrameworks','getTrackedInstance','set','testFrameworks','../state/testFrameworkState','../instances/trackedContext','../state/hookState','get','notifyObserver','binSessionId','TestFramework','testFrameworkVersions','getHookRegistryKey','676971MmAWlR','getId','648VJXeAK','getTestFrameworksVersions','5854944hufqUR','61266eTPaCv','registerObserver',';\x20hookState=','setTrackedInstance'];a73_0x498e=function(){return _0x106792;};return a73_0x498e();}class TestFramework{static [a73_0xf56f23(0xa6)]=new Map();['testFrameworks']=[];[a73_0xf56f23(0x8c)]={};[a73_0xf56f23(0x8a)]=null;constructor(_0x49f8d5,_0x239dca,_0x4faffa){const _0x4be26f=a73_0xf56f23;this[_0x4be26f(0x84)]=_0x49f8d5,this[_0x4be26f(0x8c)]=_0x239dca,this[_0x4be26f(0x8a)]=_0x4faffa;}[a73_0xf56f23(0x98)](){return TestFramework['instances'];}['setInstance'](_0xa6e01a,_0x4e3cba){const _0x321434=a73_0xf56f23;TestFramework[_0x321434(0xa6)][_0x321434(0x83)](_0xa6e01a[_0x321434(0x8f)],_0x4e3cba);}static[a73_0xf56f23(0xaf)](){const _0x47aa8e=a73_0xf56f23,_0xc6de28=TrackedInstance[_0x47aa8e(0x9f)](CLIUtils[_0x47aa8e(0xa9)]());return TestFramework[_0x47aa8e(0xa6)][_0x47aa8e(0x88)](_0xc6de28[_0x47aa8e(0x8f)]());}static[a73_0xf56f23(0x96)](_0x5ddc5f,_0x46b455){const _0xa6eb2e=a73_0xf56f23;TestFramework['instances'][_0xa6eb2e(0x83)](_0x5ddc5f[_0xa6eb2e(0x8f)](),_0x46b455);}[a73_0xf56f23(0x91)](){const _0x3d5e8c=a73_0xf56f23;return this[_0x3d5e8c(0x8c)];}[a73_0xf56f23(0xae)](){const _0x3b8b7b=a73_0xf56f23;return this[_0x3b8b7b(0x84)];}[a73_0xf56f23(0xa7)](_0x2658ca,_0x696343,_0x24e7a7={}){const _0x262720=a73_0xf56f23;logger['debug']('trackEvent:\x20testFrameworkState='+_0x2658ca+_0x262720(0x95)+_0x696343);}async['runHooks'](_0x30d5d4,_0x85bcf1,_0x32307e,_0x2ef5fc={}){const _0x5aae62=a73_0xf56f23,_0x1d7215=CLIUtils[_0x5aae62(0x8d)](_0x85bcf1,_0x32307e);_0x30d5d4[_0x5aae62(0xa3)](_0x85bcf1),_0x30d5d4['setCurrentHookState'](_0x32307e),await eventDispatcher[_0x5aae62(0x89)](_0x1d7215,_0x2ef5fc);}static[a73_0xf56f23(0x94)](_0x43f8a0,_0x7a4266,_0x24c169){const _0x5befe7=a73_0xf56f23;eventDispatcher['registerObserver'](CLIUtils[_0x5befe7(0x8d)](_0x43f8a0,_0x7a4266),_0x24c169);}static[a73_0xf56f23(0x99)](_0x3d44e8,_0x131837){const _0x225f25=a73_0xf56f23;return _0x3d44e8[_0x225f25(0xa1)]()[_0x225f25(0x88)](_0x131837);}static[a73_0xf56f23(0xaa)](_0x22848,_0x2723ed,_0x639bac){const _0x85566b=a73_0xf56f23;_0x22848[_0x85566b(0xa1)]()[_0x85566b(0x83)](_0x2723ed,_0x639bac);}static[a73_0xf56f23(0xab)](_0x22c436,_0x5b4211){const _0x5c0aef=a73_0xf56f23;return _0x22c436['getAllData']()[_0x5c0aef(0xa5)](_0x5b4211);}}function a73_0x2af7(_0x24b093,_0xa8cde5){const _0x498e07=a73_0x498e();return a73_0x2af7=function(_0x2af76a,_0x55a052){_0x2af76a=_0x2af76a-0x83;let _0x1d8d54=_0x498e07[_0x2af76a];return _0x1d8d54;},a73_0x2af7(_0x24b093,_0xa8cde5);}module[a73_0xf56f23(0xa8)]=TestFramework;
1
+ function a74_0x211f(){const _0x2467e8=['../../../helpers/classLogger','8006010mWlvHK','debug','TestFramework','366561RohSjl','exports','1059024aoJvtU','trackEvent:\x20testFrameworkState=','get','setCurrentTestState','hasState','getInstances','../eventDispatcher','getTrackedInstance','binSessionId','has','set','24TJDwQo','testFrameworkVersions','testFrameworks','getHookRegistryKey','getState','getAllData','notifyObserver','instances','1132845jLgNWI','18iyzqbM','createContext','getCurrentInstanceName','setTrackedInstance','../instances/testFrameworkInstance','trackEvent','3866312lyRBYf','getId','setInstance','registerObserver','44709kedmry','setState','../instances/trackedContext','3785019BhAOjB','runHooks','setCurrentHookState','__bstack_test_framework_instances__','../cliUtils','getTestFrameworksVersions'];a74_0x211f=function(){return _0x2467e8;};return a74_0x211f();}const a74_0x5955e5=a74_0x5f53;(function(_0x5cfa32,_0x19a285){const _0x1f7399=a74_0x5f53,_0x56a60f=_0x5cfa32();while(!![]){try{const _0x24d0f7=parseInt(_0x1f7399(0xdc))/0x1*(-parseInt(_0x1f7399(0xc9))/0x2)+-parseInt(_0x1f7399(0xe9))/0x3+parseInt(_0x1f7399(0xeb))/0x4+parseInt(_0x1f7399(0xd1))/0x5+parseInt(_0x1f7399(0xe6))/0x6+parseInt(_0x1f7399(0xdf))/0x7+parseInt(_0x1f7399(0xd8))/0x8*(-parseInt(_0x1f7399(0xd2))/0x9);if(_0x24d0f7===_0x19a285)break;else _0x56a60f['push'](_0x56a60f['shift']());}catch(_0x4d06f8){_0x56a60f['push'](_0x56a60f['shift']());}}}(a74_0x211f,0xb4ef0));const CLIUtils=require(a74_0x5955e5(0xe3)),eventDispatcher=require(a74_0x5955e5(0xc4)),TestFrameworkInstance=require(a74_0x5955e5(0xd6)),TrackedContext=require(a74_0x5955e5(0xde)),TestFrameworkState=require('../state/testFrameworkState'),HookState=require('../state/hookState'),{createClassLogger}=require(a74_0x5955e5(0xe5)),TrackedInstance=require('../instances/trackedInstance'),logger=createClassLogger(a74_0x5955e5(0xe8));!global[a74_0x5955e5(0xe2)]&&(global['__bstack_test_framework_instances__']=new Map());class TestFramework{static get['instances'](){const _0x857641=a74_0x5955e5;return global[_0x857641(0xe2)];}[a74_0x5955e5(0xcb)]=[];['testFrameworkVersions']={};['binSessionId']=null;constructor(_0x21f53c,_0x4c3382,_0x584a64){const _0x55eeec=a74_0x5955e5;this[_0x55eeec(0xcb)]=_0x21f53c,this[_0x55eeec(0xca)]=_0x4c3382,this[_0x55eeec(0xc6)]=_0x584a64;}[a74_0x5955e5(0xc3)](){return TestFramework['instances'];}[a74_0x5955e5(0xda)](_0x15e1fe,_0xdd4324){const _0x4fea40=a74_0x5955e5;TestFramework['instances']['set'](_0x15e1fe[_0x4fea40(0xd9)],_0xdd4324);}static[a74_0x5955e5(0xc5)](){const _0x33535b=a74_0x5955e5,_0x3ca1c4=TrackedInstance[_0x33535b(0xd3)](CLIUtils[_0x33535b(0xd4)]());return TestFramework['instances'][_0x33535b(0xed)](_0x3ca1c4[_0x33535b(0xd9)]());}static[a74_0x5955e5(0xd5)](_0x1c90fb,_0x585797){const _0x293a4f=a74_0x5955e5;TestFramework[_0x293a4f(0xd0)][_0x293a4f(0xc8)](_0x1c90fb[_0x293a4f(0xd9)](),_0x585797);}[a74_0x5955e5(0xe4)](){const _0x1765e4=a74_0x5955e5;return this[_0x1765e4(0xca)];}['getTestFrameworks'](){const _0x4d5d04=a74_0x5955e5;return this[_0x4d5d04(0xcb)];}[a74_0x5955e5(0xd7)](_0x9eeb0d,_0x53285b,_0x423781={}){const _0x357657=a74_0x5955e5;logger[_0x357657(0xe7)](_0x357657(0xec)+_0x9eeb0d+';\x20hookState='+_0x53285b);}async[a74_0x5955e5(0xe0)](_0x32292b,_0x4fe887,_0x49a5b2,_0x4cbf17={}){const _0x16ad23=a74_0x5955e5,_0x542f4d=CLIUtils[_0x16ad23(0xcc)](_0x4fe887,_0x49a5b2);_0x32292b[_0x16ad23(0xee)](_0x4fe887),_0x32292b[_0x16ad23(0xe1)](_0x49a5b2),await eventDispatcher[_0x16ad23(0xcf)](_0x542f4d,_0x4cbf17);}static[a74_0x5955e5(0xdb)](_0x172b7a,_0x27e8c2,_0x513f7a){const _0x2992cb=a74_0x5955e5;eventDispatcher[_0x2992cb(0xdb)](CLIUtils['getHookRegistryKey'](_0x172b7a,_0x27e8c2),_0x513f7a);}static[a74_0x5955e5(0xcd)](_0x18147f,_0x495034){const _0x2aca88=a74_0x5955e5;return _0x18147f['getAllData']()[_0x2aca88(0xed)](_0x495034);}static[a74_0x5955e5(0xdd)](_0xdb416a,_0x196578,_0x1bbbca){const _0x3e5924=a74_0x5955e5;_0xdb416a[_0x3e5924(0xce)]()[_0x3e5924(0xc8)](_0x196578,_0x1bbbca);}static[a74_0x5955e5(0xef)](_0x5856b7,_0x321cd4){const _0x371a6c=a74_0x5955e5;return _0x5856b7[_0x371a6c(0xce)]()[_0x371a6c(0xc7)](_0x321cd4);}}function a74_0x5f53(_0x1382ae,_0x19d72f){const _0x211fe0=a74_0x211f();return a74_0x5f53=function(_0x5f5362,_0x4b566d){_0x5f5362=_0x5f5362-0xc3;let _0x39efca=_0x211fe0[_0x5f5362];return _0x39efca;},a74_0x5f53(_0x1382ae,_0x19d72f);}module[a74_0x5955e5(0xea)]=TestFramework;