browserstack-node-sdk 1.58.0 → 1.59.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 (216) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  56. package/src/bin/jasmine/command.js +1 -1
  57. package/src/bin/jasmine/test.setup.js +1 -1
  58. package/src/bin/jasmine/testRunMap.js +1 -1
  59. package/src/bin/jest/command.js +1 -1
  60. package/src/bin/jest/customImplements/customCircus.js +1 -1
  61. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  62. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  63. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  64. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  65. package/src/bin/jest/jest.setup.js +1 -1
  66. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  67. package/src/bin/jest/test-observability/helper.js +1 -1
  68. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  69. package/src/bin/jest/test-observability/test-details.js +1 -1
  70. package/src/bin/jest/test.setup.js +1 -1
  71. package/src/bin/jest/test_before.setup.js +1 -1
  72. package/src/bin/launcher/launcher.js +1 -1
  73. package/src/bin/load/index.js +1 -1
  74. package/src/bin/load/loadUtils.js +1 -1
  75. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  76. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  77. package/src/bin/mocha/command.js +1 -1
  78. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  79. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  80. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  81. package/src/bin/mocha/test.setup.js +1 -1
  82. package/src/bin/newman/command.js +1 -1
  83. package/src/bin/newman/helper.js +1 -1
  84. package/src/bin/newman/reporter/index.js +1 -1
  85. package/src/bin/newman/scriptRunner.js +1 -1
  86. package/src/bin/nightwatch/command.js +1 -1
  87. package/src/bin/playwright/accessibility-helper.js +1 -1
  88. package/src/bin/playwright/command.js +1 -1
  89. package/src/bin/playwright/globalSetup.js +1 -1
  90. package/src/bin/playwright/mock-process.js +1 -1
  91. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  92. package/src/bin/playwright/patches.js +1 -1
  93. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  94. package/src/bin/playwright/reporter/reporter.js +1 -1
  95. package/src/bin/playwright/reporter/test-details.js +1 -1
  96. package/src/bin/playwright/sessionDetails.js +1 -1
  97. package/src/bin/puppeteer/patches.js +1 -1
  98. package/src/bin/puppeteer/sessionDetails.js +1 -1
  99. package/src/bin/puppeteer/test.setup.js +1 -1
  100. package/src/bin/runner.js +1 -1
  101. package/src/bin/setup.js +1 -1
  102. package/src/bin/test-runner/index.js +1 -1
  103. package/src/bin/test-runner/runTest.js +1 -1
  104. package/src/bin/test-runner/testWorker.js +1 -1
  105. package/src/bin/testcafe/a11y-runner.js +1 -1
  106. package/src/bin/testcafe/command.js +1 -1
  107. package/src/bin/testcafe/reporter/index.js +1 -1
  108. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  109. package/src/bin/testcafe/session-registry.js +1 -1
  110. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  111. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  112. package/src/bin/testcafe/w3c-driver.js +1 -1
  113. package/src/bin/utils/apiUtilityMethods.js +1 -1
  114. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  115. package/src/bin/utils/constants.js +1 -1
  116. package/src/bin/utils/log4jsAppender.js +1 -1
  117. package/src/bin/utils/logPatcher.js +1 -1
  118. package/src/bin/utils/logReportingAPI.js +1 -1
  119. package/src/bin/utils/playwright-patcher.js +1 -1
  120. package/src/bin/utils/puppeteer-patcher.js +1 -1
  121. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  122. package/src/bin/utils/sharedUtils.js +1 -1
  123. package/src/bin/v2/TestInfo.js +1 -1
  124. package/src/bin/v2/browserstackCLI.js +1 -1
  125. package/src/bin/v2/cliUtils.js +1 -1
  126. package/src/bin/v2/customTagManager.js +1 -1
  127. package/src/bin/v2/eventDispatcher.js +1 -1
  128. package/src/bin/v2/framework/automationFramework.js +1 -1
  129. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  130. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  131. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  132. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  133. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  134. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  135. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  136. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  137. package/src/bin/v2/framework/testFramework.js +1 -1
  138. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  139. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  140. package/src/bin/v2/grpcClient.js +1 -1
  141. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  142. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  143. package/src/bin/v2/instances/trackedContext.js +1 -1
  144. package/src/bin/v2/instances/trackedInstance.js +1 -1
  145. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  146. package/src/bin/v2/modules/baseModule.js +1 -1
  147. package/src/bin/v2/modules/loadTestModule.js +1 -1
  148. package/src/bin/v2/modules/observabilityModule.js +1 -1
  149. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  150. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  151. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  152. package/src/bin/v2/modules/testhubModule.js +1 -1
  153. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  154. package/src/bin/v2/state/hookState.js +1 -1
  155. package/src/bin/v2/state/testFrameworkState.js +1 -1
  156. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  157. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  158. package/src/bin/v2/utils/jest-utils.js +1 -1
  159. package/src/bin/vanilla-js/command.js +1 -1
  160. package/src/browserStackSdk.js +1 -1
  161. package/src/helpers/BrowserStackSetup.js +1 -1
  162. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  163. package/src/helpers/accessibility-automation/constants.js +1 -1
  164. package/src/helpers/accessibility-automation/helper.js +1 -1
  165. package/src/helpers/accessibility-automation/scripts.js +1 -1
  166. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  167. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  168. package/src/helpers/ats/constants.js +1 -1
  169. package/src/helpers/ats/helper.js +1 -1
  170. package/src/helpers/caCertHelper.js +1 -1
  171. package/src/helpers/capsMapping.js +1 -1
  172. package/src/helpers/central-scanner/constants.js +1 -1
  173. package/src/helpers/central-scanner/helpers.js +1 -1
  174. package/src/helpers/classLogger.js +1 -1
  175. package/src/helpers/driverInitErrorReporter.js +1 -1
  176. package/src/helpers/globals.js +1 -1
  177. package/src/helpers/helper.js +1 -1
  178. package/src/helpers/logger.js +1 -1
  179. package/src/helpers/metadata.js +1 -1
  180. package/src/helpers/patchHelper.js +1 -1
  181. package/src/helpers/patchHelpers.js +1 -1
  182. package/src/helpers/percy/Percy.js +1 -1
  183. package/src/helpers/percy/PercyBinary.js +1 -1
  184. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  185. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  186. package/src/helpers/percy/PercySDK.js +1 -1
  187. package/src/helpers/percy/index.js +1 -1
  188. package/src/helpers/percy/utils.js +1 -1
  189. package/src/helpers/performance/constants.js +1 -1
  190. package/src/helpers/performance/performance-tester.js +1 -1
  191. package/src/helpers/playwright-helper.js +1 -1
  192. package/src/helpers/processHelper.js +1 -1
  193. package/src/helpers/puppeteer-helper.js +1 -1
  194. package/src/helpers/request-spy.js +1 -1
  195. package/src/helpers/setKeepAlive.js +1 -1
  196. package/src/helpers/stackFrameUtils.js +1 -1
  197. package/src/helpers/test-observability/constants.js +1 -1
  198. package/src/helpers/test-observability/error-handler.js +1 -1
  199. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  200. package/src/helpers/test-observability/sessionHandler.js +1 -1
  201. package/src/helpers/test-observability/utils.js +1 -1
  202. package/src/helpers/test-orchestration/constants.js +1 -1
  203. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  204. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  205. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  206. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  207. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  208. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  209. package/src/helpers/testhub/constants.js +1 -1
  210. package/src/helpers/testhub/testhubHandler.js +1 -1
  211. package/src/helpers/testhub/utils.js +1 -1
  212. package/src/helpers/timeoutPromise.js +1 -1
  213. package/src/helpers/utilities.js +1 -1
  214. package/src/helpers/w3cMapping.js +1 -1
  215. package/src/hubAllocationMethods.js +1 -1
  216. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a94_0x132f99=a94_0x4756;(function(_0x1a72d1,_0x2dcb2f){const _0x52cfaf=a94_0x4756,_0x45b88e=_0x1a72d1();while(!![]){try{const _0x377d12=-parseInt(_0x52cfaf(0x202))/0x1*(parseInt(_0x52cfaf(0x239))/0x2)+-parseInt(_0x52cfaf(0x2b3))/0x3+parseInt(_0x52cfaf(0x2bb))/0x4*(-parseInt(_0x52cfaf(0x2c5))/0x5)+parseInt(_0x52cfaf(0x241))/0x6*(-parseInt(_0x52cfaf(0x2db))/0x7)+parseInt(_0x52cfaf(0x2f0))/0x8+parseInt(_0x52cfaf(0x2b6))/0x9*(-parseInt(_0x52cfaf(0x298))/0xa)+parseInt(_0x52cfaf(0x21c))/0xb;if(_0x377d12===_0x2dcb2f)break;else _0x45b88e['push'](_0x45b88e['shift']());}catch(_0xaf65b6){_0x45b88e['push'](_0x45b88e['shift']());}}}(a94_0x4e60,0xb1894));const TestFramework=require(a94_0x132f99(0x2d4)),TestFrameworkState=require(a94_0x132f99(0x25a)),HookState=require('../state/hookState.js'),{createClassLogger}=require(a94_0x132f99(0x260)),TestFrameworkInstance=require(a94_0x132f99(0x24d)),CLIUtils=require(a94_0x132f99(0x29f)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),logger=createClassLogger('PlaywrightTestFramework'),{v4:uuidv4}=require(a94_0x132f99(0x25b)),util=require(a94_0x132f99(0x23a)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require('../../../helpers/helper.js'),TestInfo=require(a94_0x132f99(0x280)),GrpcClient=require(a94_0x132f99(0x22d)),{removeAnsiColors,getFailureType,failureData}=require('../../../helpers/test-observability/utils'),{getFailureData,getTestTags,getTestRunIdentifier}=require(a94_0x132f99(0x278)),{findNestedKey,sendTraceZip,validateFilePath}=require(a94_0x132f99(0x278)),path=require(a94_0x132f99(0x282)),fs=require('fs'),helper=require(a94_0x132f99(0x204)),{PLAYWRIGHT_TRACE_LOGS}=require(a94_0x132f99(0x1f5)),PLAYWRIGHT_BUILTIN_ANNOTATIONS=new Set(['skip','fixme',a94_0x132f99(0x29b),a94_0x132f99(0x2ac)]);class PlaywrightTestFramework extends TestFramework{constructor(_0x56bec1,_0x2f35c0,_0x1957e6){super(_0x56bec1,_0x2f35c0,_0x1957e6);}async[a94_0x132f99(0x21e)](_0x32bbe3,_0x211204,_0x2f9116={}){const _0x5c255f=a94_0x132f99,_0x37e1f8={'sxjqq':function(_0x1678c0,_0x5ee8a6){return _0x1678c0===_0x5ee8a6;},'UzzYi':function(_0x410551,_0x585f6e){return _0x410551===_0x585f6e;},'TjIHt':function(_0x6bd688,_0xee0f7f){return _0x6bd688===_0xee0f7f;},'gPutC':function(_0x4abfd8,_0x35869b,_0x3c3c23){return _0x4abfd8(_0x35869b,_0x3c3c23);},'VhhPR':function(_0x13eed6,_0x304ee2){return _0x13eed6===_0x304ee2;},'zPfXh':function(_0x2f8f09,_0x47bd44){return _0x2f8f09===_0x47bd44;},'ELlUj':function(_0x359895,_0x7fb62,_0x52bed4){return _0x359895(_0x7fb62,_0x52bed4);},'iobQX':function(_0x5a6fd0,_0x3f4ca7,_0xbf72e7,_0x3dc924){return _0x5a6fd0(_0x3f4ca7,_0xbf72e7,_0x3dc924);},'JXggA':_0x5c255f(0x263),'PdYqN':_0x5c255f(0x288)};super[_0x5c255f(0x21e)](_0x32bbe3,_0x211204,_0x2f9116);if(_0x37e1f8[_0x5c255f(0x1f7)](_0x32bbe3,TestFrameworkState[_0x5c255f(0x2f4)])){const _0x5ec8a4=TestInfo[_0x5c255f(0x2ad)](_0x2f9116[_0x5c255f(0x263)],_0x2f9116[_0x5c255f(0x263)]['retry']);TestInfo[_0x5c255f(0x2d6)](_0x5ec8a4,_0x2f9116[_0x5c255f(0x217)],!![]);}if(_0x37e1f8[_0x5c255f(0x1f7)](_0x32bbe3,TestFrameworkState['TEST_STEP'])){this['trackStepEvent'](_0x32bbe3,_0x211204,_0x2f9116);return;}const _0xcaaabb=this[_0x5c255f(0x230)](_0x32bbe3,_0x211204,_0x2f9116);if(!_0xcaaabb)return;logger[_0x5c255f(0x283)](_0x5c255f(0x26f)+_0x32bbe3+'\x20hookState='+_0x211204+'\x20instanceId='+_0xcaaabb['getRef']());try{if(_0x37e1f8[_0x5c255f(0x2b2)](_0x211204,HookState[_0x5c255f(0x20b)])&&_0x37e1f8[_0x5c255f(0x272)](_0x32bbe3,TestFrameworkState[_0x5c255f(0x23d)])){const _0x5cf5ca=_0x2f9116[_0x5c255f(0x263)];logger[_0x5c255f(0x283)](_0x5c255f(0x253)+_0x5cf5ca['id']+'}');const _0x39d919=TestInfo[_0x5c255f(0x2fb)](_0x37e1f8[_0x5c255f(0x20a)](getTestRunIdentifier,_0x5cf5ca,_0x2f9116[_0x5c255f(0x217)][_0x5c255f(0x2d5)]));_0xcaaabb[_0x5c255f(0x29d)](this['parsePlaywrightTest'](_0x39d919,_0x5cf5ca,_0x2f9116[_0x5c255f(0x217)])),logger[_0x5c255f(0x283)](_0x5c255f(0x256)+_0x5cf5ca['id']+_0x5c255f(0x294)+_0x32bbe3+_0x5c255f(0x22b)+_0x211204+_0x5c255f(0x2a5)+_0xcaaabb[_0x5c255f(0x2aa)]());}if(_0x37e1f8[_0x5c255f(0x290)](_0x211204,HookState[_0x5c255f(0x2eb)])&&_0x37e1f8[_0x5c255f(0x213)](_0x32bbe3,TestFrameworkState[_0x5c255f(0x23d)])){const _0x5ae5e1=_0x2f9116[_0x5c255f(0x263)],_0x4f1d35=_0x2f9116['result'];logger['debug'](_0x5c255f(0x2c9)+_0x5ae5e1['id']);const _0x2ff037=_0x37e1f8[_0x5c255f(0x258)](getTestRunIdentifier,_0x5ae5e1,_0x4f1d35[_0x5c255f(0x2d5)]),_0x24eae1=_0xcaaabb[_0x5c255f(0x2e7)]()[_0x5c255f(0x28a)](_0x2ff037)[TestFrameworkConstants[_0x5c255f(0x2e0)]],{steps:_0x3309ed,logs:_0x2919b0}=_0x37e1f8['iobQX'](getStepsAndLogs,_0x4f1d35[_0x5c255f(0x261)],_0x24eae1,_0x37e1f8['JXggA']);_0xcaaabb[_0x5c255f(0x29d)](this[_0x5c255f(0x2d7)](_0x5ae5e1['id'],_0x4f1d35,_0x5ae5e1,_0x3309ed)),await this[_0x5c255f(0x297)](_0xcaaabb,_0x32bbe3,_0x211204,_0x37e1f8[_0x5c255f(0x248)],_0x2f9116,_0x2919b0);}if(CLIUtils[_0x5c255f(0x276)](_0x32bbe3[_0x5c255f(0x232)]()['split']('.')[0x1])){const _0x21c7be=await this[_0x5c255f(0x234)](_0xcaaabb,_0x32bbe3,_0x211204,_0x2f9116);_0xcaaabb['addMultipleEntries'](_0x21c7be);}}catch(_0x21b555){logger[_0x5c255f(0x2f2)](util[_0x5c255f(0x215)](_0x37e1f8['PdYqN'],_0x32bbe3,_0x211204,_0x2f9116[_0x5c255f(0x291)],_0x21b555));}_0x2f9116[_0x5c255f(0x275)]=_0xcaaabb,await this[_0x5c255f(0x240)](_0xcaaabb,_0x32bbe3,_0x211204,_0x2f9116);}[a94_0x132f99(0x230)](_0x5329dd,_0x24e51f,_0x19a4bb={}){const _0x4c37ca=a94_0x132f99,_0x59c79b={};_0x59c79b[_0x4c37ca(0x229)]=function(_0x59765d,_0xa4a9e){return _0x59765d===_0xa4a9e;};const _0x14aa26=_0x59c79b;let _0x3f172c=null;return(_0x14aa26[_0x4c37ca(0x229)](_0x5329dd,TestFrameworkState['INIT_TEST'])||_0x14aa26[_0x4c37ca(0x229)](_0x5329dd,TestFrameworkState[_0x4c37ca(0x2c8)]))&&this[_0x4c37ca(0x1f6)](_0x5329dd,_0x19a4bb),_0x3f172c=TestFramework['getTrackedInstance'](),_0x3f172c;}[a94_0x132f99(0x1f6)](_0x28cb00,_0x1fa664){const _0x5a6069=a94_0x132f99,_0x243967=CLIUtils[_0x5a6069(0x2f7)](),_0x2be755=TrackedInstance['createContext'](_0x243967);let _0x6bdf36=null;logger['info'](_0x5a6069(0x2fc)+_0x243967+',\x20state='+_0x28cb00),_0x6bdf36=new TestFrameworkInstance(_0x2be755,this[_0x5a6069(0x243)](),this['getTestFrameworksVersions'](),_0x28cb00,HookState[_0x5a6069(0x2c8)]),TestFramework[_0x5a6069(0x2ed)](_0x2be755,_0x6bdf36),logger[_0x5a6069(0x2bc)](_0x5a6069(0x286)+_0x2be755[_0x5a6069(0x2e5)]()+'\x20target='+_0x243967);}[a94_0x132f99(0x2be)](_0xbd42d0,_0x1b52ff,_0x16daf6){const _0x1e89e9=a94_0x132f99,_0x57c7fd={'bSWdu':function(_0x2bcd09,_0xd0e8e4){return _0x2bcd09(_0xd0e8e4);},'MrHnx':function(_0x24ce3a,_0x594521){return _0x24ce3a(_0x594521);},'DkNEw':function(_0x1532e9,_0x161fd2){return _0x1532e9(_0x161fd2);},'PudQL':function(_0x1bcd6e,_0x418692,_0x592ce7){return _0x1bcd6e(_0x418692,_0x592ce7);},'lsymg':function(_0x13ac53,_0x2c08e6){return _0x13ac53(_0x2c08e6);}},_0x509ad9=_0x57c7fd['bSWdu'](getPlaywrightTestId,_0x1b52ff),_0x147cd9=_0x57c7fd[_0x1e89e9(0x24f)](getPlaywrightTestTitle,_0x1b52ff),_0x5a77d1=_0x57c7fd['bSWdu'](getTestTags,_0x1b52ff),_0x145e7b=_0x57c7fd['bSWdu'](getPlaywrightTestCode,_0x1b52ff),_0x32f993=_0x57c7fd[_0x1e89e9(0x2a0)](getPlaywrightTestFilePath,_0x1b52ff),_0x2c8e9d=_0x32f993,_0x2f2055=_0x57c7fd[_0x1e89e9(0x24f)](getPlaywrightTestScope,_0x1b52ff),_0x287121=_0x57c7fd[_0x1e89e9(0x2a0)](getPlaywrightTestScopes,_0x1b52ff),_0x4a4351=_0x57c7fd[_0x1e89e9(0x24f)](getPlaywrightSessionName,_0x1b52ff),_0x127c60=this[_0x1e89e9(0x243)]()[0x0],_0x371c45=_0x57c7fd[_0x1e89e9(0x2e2)](getTestRunIdentifier,_0x1b52ff,_0x16daf6['retry']),_0x1012a3={[TestFrameworkConstants[_0x1e89e9(0x27d)]]:_0x127c60,[TestFrameworkConstants[_0x1e89e9(0x2ce)]]:this[_0x1e89e9(0x25c)]()[_0x127c60],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0x1e89e9(0x285)]]:{},[TestFrameworkConstants[_0x1e89e9(0x2fa)]]:{},[TestFrameworkConstants[_0x1e89e9(0x2e0)]]:_0xbd42d0,[TestFrameworkConstants[_0x1e89e9(0x205)]]:TestFrameworkConstants[_0x1e89e9(0x2c2)],[TestFrameworkConstants[_0x1e89e9(0x2b1)]]:_0x4a4351,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x32f993,[TestFrameworkConstants[_0x1e89e9(0x222)]]:_0x509ad9,[TestFrameworkConstants[_0x1e89e9(0x269)]]:_0x147cd9,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x2c8e9d,[TestFrameworkConstants['KEY_TEST_CODE']]:_0x145e7b,[TestFrameworkConstants[_0x1e89e9(0x2c4)]]:_0x5a77d1,[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x1b52ff[_0x1e89e9(0x2e6)][0x0]['startTime'],[TestFrameworkConstants[_0x1e89e9(0x231)]]:_0x2f2055,[TestFrameworkConstants[_0x1e89e9(0x225)]]:_0x287121,[TestFrameworkConstants[_0x1e89e9(0x284)]]:_0x57c7fd[_0x1e89e9(0x2a2)](getPlaywrightCustomRerunParam,_0x1b52ff)};TestInfo[_0x1e89e9(0x2d6)](_0x371c45,_0x1012a3);const _0x202b29={};return _0x202b29[_0x371c45]=_0x1012a3,_0x202b29;}[a94_0x132f99(0x2d7)](_0x43a17b,_0x437c34,_0x14e982,_0x4a6bbe){const _0x406e78=a94_0x132f99,_0x58ed1e={'Okkcg':function(_0x32cb75,_0xcd577d){return _0x32cb75(_0xcd577d);},'jdSiq':'TEST_ATTACHMENT','PfnQw':function(_0x26e53a,_0x4708ae){return _0x26e53a===_0x4708ae;},'pesHi':function(_0x1787d1,_0x2daa51){return _0x1787d1===_0x2daa51;},'aHLBu':function(_0xdfcb30,_0x4fe756){return _0xdfcb30===_0x4fe756;},'NcXTT':_0x406e78(0x23b),'cEPUw':function(_0x4bf29c,_0x18c150){return _0x4bf29c(_0x18c150);},'iXKdz':function(_0x4b56f1,_0x1d4fcd,_0xc9cb8f){return _0x4b56f1(_0x1d4fcd,_0xc9cb8f);},'pWcUZ':function(_0x13e6b9,_0x3b56bf){return _0x13e6b9===_0x3b56bf;},'ZiQXS':_0x406e78(0x266),'jpUfu':'passed','tFqzv':function(_0x4be431,_0x1be6e0){return _0x4be431===_0x1be6e0;},'TYXWb':_0x406e78(0x255),'MJJfw':_0x406e78(0x218),'PKzCK':_0x406e78(0x299),'lcGwd':function(_0x186481,_0x3b0cc0,_0x217d21){return _0x186481(_0x3b0cc0,_0x217d21);},'dgAqb':function(_0x33541d,_0x45f457){return _0x33541d||_0x45f457;},'OLnOD':function(_0x51abd6,_0x3675d9){return _0x51abd6(_0x3675d9);},'LivWH':function(_0x49c461,_0x269261){return _0x49c461(_0x269261);},'ykIuY':function(_0x5aaacc,_0x1b3a10){return _0x5aaacc>_0x1b3a10;},'McMBW':function(_0x2e4f59,_0x286ea7,_0x11eea6){return _0x2e4f59(_0x286ea7,_0x11eea6);},'pcRmr':function(_0x2ecc09,_0x1a75fb){return _0x2ecc09-_0x1a75fb;},'QAfCB':function(_0x42e95c,_0x50562f,_0x22bb8d,_0x580a7a){return _0x42e95c(_0x50562f,_0x22bb8d,_0x580a7a);},'yDdrJ':_0x406e78(0x263),'imTYC':function(_0x107f38,_0x39aa1b){return _0x107f38===_0x39aa1b;},'sxYoR':function(_0x276951,_0x1e30d9){return _0x276951>=_0x1e30d9;},'SEjlc':function(_0x348477,_0x4a9950){return _0x348477===_0x4a9950;},'KOmnk':function(_0x5863d3,_0x29d89b){return _0x5863d3+_0x29d89b;},'fehBZ':function(_0x3fb814,_0x1f6016){return _0x3fb814>_0x1f6016;},'qJErU':function(_0xfdc0ed,_0x1ab957,_0x2de98b){return _0xfdc0ed(_0x1ab957,_0x2de98b);},'NdRSJ':'path','EmCDX':function(_0x1379d1,_0xb7491b){return _0x1379d1(_0xb7491b);},'ZhRBS':_0x406e78(0x2cc)};logger[_0x406e78(0x283)](_0x406e78(0x24c)+_0x43a17b);const _0xf7e3b8=_0x58ed1e[_0x406e78(0x2d2)](getTestRunIdentifier,_0x14e982,_0x437c34['retry']),_0x527bea=new Date(),_0x4eddff=_0x437c34[_0x406e78(0x207)],_0x15e1f8=TestInfo[_0x406e78(0x259)](_0xf7e3b8)[TestFrameworkConstants[_0x406e78(0x270)]]||{};let _0x492895=_0x4eddff;if(_0x58ed1e[_0x406e78(0x2d8)](_0x437c34['status'],_0x14e982[_0x406e78(0x2e3)]))_0x492895=_0x58ed1e[_0x406e78(0x244)](_0x437c34[_0x406e78(0x207)],_0x58ed1e[_0x406e78(0x2e9)])?_0x58ed1e[_0x406e78(0x2e9)]:_0x58ed1e['jpUfu'];else{(_0x58ed1e[_0x406e78(0x244)](_0x492895,_0x58ed1e['jpUfu'])||_0x58ed1e[_0x406e78(0x2e8)](_0x492895,_0x58ed1e[_0x406e78(0x2c6)])||_0x58ed1e[_0x406e78(0x22c)](_0x492895,_0x58ed1e['MJJfw']))&&(_0x492895=_0x58ed1e[_0x406e78(0x2c6)]);if(_0x58ed1e[_0x406e78(0x28c)](_0x437c34['status'],_0x58ed1e['jpUfu'])&&_0x58ed1e['tFqzv'](_0x14e982[_0x406e78(0x2e3)],_0x58ed1e[_0x406e78(0x2c6)])){const _0x27782a={};_0x27782a[_0x406e78(0x28e)]=_0x58ed1e['PKzCK'],_0x27782a['stack']=_0x58ed1e[_0x406e78(0x2f9)],_0x437c34[_0x406e78(0x2f2)]=_0x27782a,_0x437c34[_0x406e78(0x2d3)]=[_0x437c34[_0x406e78(0x2f2)]];}}const {failureData:_0x137e8b,logs:_0x27dadc}=_0x58ed1e[_0x406e78(0x220)](getFailureData,_0x437c34?.[_0x406e78(0x2d3)],{}),_0x5be35a={[TestFrameworkConstants[_0x406e78(0x242)]]:_0x58ed1e[_0x406e78(0x245)](_0x137e8b,null),[TestFrameworkConstants[_0x406e78(0x254)]]:_0x437c34?.[_0x406e78(0x2f2)]&&_0x58ed1e[_0x406e78(0x238)](getFailureType,_0x437c34[_0x406e78(0x2f2)][_0x406e78(0x28e)]),[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]:_0x437c34?.[_0x406e78(0x2f2)]&&_0x58ed1e[_0x406e78(0x223)](removeAnsiColors,_0x437c34['error']['message']),[TestFrameworkConstants[_0x406e78(0x209)]]:[],[TestFrameworkConstants[_0x406e78(0x205)]]:_0x492895,[TestFrameworkConstants[_0x406e78(0x2da)]]:_0x527bea[_0x406e78(0x210)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0x406e78(0x210)](),[TestFrameworkConstants[_0x406e78(0x270)]]:_0x15e1f8};if(_0x437c34&&_0x58ed1e[_0x406e78(0x22a)](_0x437c34[_0x406e78(0x2d5)],0x0)){const _0x14fc9c=TestInfo[_0x406e78(0x2fb)](_0x58ed1e[_0x406e78(0x2b5)](getTestRunIdentifier,_0x14e982,_0x58ed1e[_0x406e78(0x271)](_0x437c34[_0x406e78(0x2d5)],0x1)));_0x5be35a[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x14fc9c;}const _0x2005e2={};_0x2005e2[_0x406e78(0x263)]=_0x14e982;const _0x195180=this[_0x406e78(0x230)](TestFrameworkState[_0x406e78(0x23d)],HookState[_0x406e78(0x2eb)],_0x2005e2),_0x15898b=_0x195180['getAllData']()[_0x406e78(0x28a)](_0xf7e3b8)[TestFrameworkConstants[_0x406e78(0x2e0)]],_0x840699=_0x4a6bbe||_0x58ed1e['QAfCB'](getStepsAndLogs,_0x437c34['steps'],_0x15898b,_0x58ed1e[_0x406e78(0x233)])[_0x406e78(0x261)],_0x2a368d=new Map(),_0x18afb4=new Map();let _0xa41453=0x0;const _0x4cede3=[];for(const _0x16ebfa of _0x840699||[]){const _0x509bae=_0x16ebfa['parent_id']||null;let _0x528797;if(_0x58ed1e[_0x406e78(0x21b)](_0x509bae,null)){if(_0x58ed1e[_0x406e78(0x25d)](_0xa41453,TestFrameworkConstants['MAX_TOP_LEVEL_STEPS']))continue;_0x528797=0x0,_0xa41453++;}else{const _0x11bcf2=_0x2a368d['get'](_0x509bae);if(_0x58ed1e[_0x406e78(0x227)](_0x11bcf2,undefined))continue;_0x528797=_0x58ed1e[_0x406e78(0x2ec)](_0x11bcf2,0x1);if(_0x58ed1e[_0x406e78(0x287)](_0x528797,TestFrameworkConstants[_0x406e78(0x1f9)]))continue;}_0x2a368d[_0x406e78(0x2ea)](_0x16ebfa['id'],_0x528797),_0x18afb4['set'](_0x16ebfa['id'],_0x16ebfa['text']),_0x4cede3[_0x406e78(0x2ae)]({'id':_0x16ebfa['id'],'parent_id':_0x509bae,'parent_text':_0x509bae?_0x18afb4[_0x406e78(0x28a)](_0x509bae)||'':'','text':_0x16ebfa[_0x406e78(0x249)],'keyword':_0x16ebfa[_0x406e78(0x2a4)]||null,'started_at':_0x16ebfa[_0x406e78(0x252)],'duration':_0x16ebfa[_0x406e78(0x1ff)]??null,'result':_0x16ebfa[_0x406e78(0x217)],'failure':_0x16ebfa[_0x406e78(0x21d)]||null,'failure_type':_0x16ebfa[_0x406e78(0x2c0)]||null});}const _0x19c2e7={};_0x19c2e7[_0x406e78(0x261)]=_0x4cede3,_0x5be35a[TestFrameworkConstants[_0x406e78(0x212)]]=_0x19c2e7,logger[_0x406e78(0x283)](_0x406e78(0x26c)+_0x4cede3[_0x406e78(0x291)]+_0x406e78(0x247)+_0x43a17b);const _0x495173=[],_0x46b6dd=_0x58ed1e['qJErU'](findNestedKey,_0x437c34,_0x58ed1e[_0x406e78(0x214)]);if(_0x46b6dd&&_0x58ed1e['cEPUw'](validateFilePath,_0x46b6dd))try{_0x495173[_0x406e78(0x2ae)]({'kind':_0x58ed1e[_0x406e78(0x28b)],'timestamp':new Date()[_0x406e78(0x210)](),'test_run_uuid':_0x15898b,'file_name':path[_0x406e78(0x2ba)](_0x46b6dd),'file_size':fs['statSync'](_0x46b6dd)[_0x406e78(0x27c)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x5f1b19){logger[_0x406e78(0x2f2)](_0x406e78(0x20e)+_0x46b6dd+':\x20'+_0x5f1b19[_0x406e78(0x28e)]);}const _0x1ad0e9=TestInfo[_0x406e78(0x24a)](),_0x3c680c=_0x1ad0e9[_0x406e78(0x2cf)](_0xeef036=>_0xeef036[_0x406e78(0x2dc)]===_0x15898b);_0x3c680c['forEach'](_0x21ba22=>{const _0x5dbee2=_0x406e78;if(_0x21ba22[_0x5dbee2(0x2b0)]&&_0x58ed1e[_0x5dbee2(0x2df)](validateFilePath,_0x21ba22[_0x5dbee2(0x2b0)])&&!_0x495173[_0x5dbee2(0x2f8)](_0xacc859=>_0xacc859[_0x5dbee2(0x23c)]===path[_0x5dbee2(0x2ba)](_0x21ba22[_0x5dbee2(0x2b0)])))try{_0x495173[_0x5dbee2(0x2ae)]({'kind':_0x58ed1e[_0x5dbee2(0x28b)],'timestamp':new Date()[_0x5dbee2(0x210)](),'test_run_uuid':_0x15898b,'file_name':path[_0x5dbee2(0x2ba)](_0x21ba22[_0x5dbee2(0x2b0)]),'file_size':fs[_0x5dbee2(0x251)](_0x21ba22[_0x5dbee2(0x2b0)])[_0x5dbee2(0x27c)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x356d7a){logger[_0x5dbee2(0x2f2)](_0x5dbee2(0x26e)+_0x21ba22['filePath']+_0x5dbee2(0x1fc)+_0x356d7a[_0x5dbee2(0x28e)]);}});if(_0x58ed1e[_0x406e78(0x287)](_0x495173['length'],0x0)){const _0x49ff01=_0x5be35a[TestFrameworkConstants['KEY_LOGS']]||[];_0x5be35a[TestFrameworkConstants[_0x406e78(0x209)]]=[..._0x49ff01,..._0x495173];}const _0x5a1fd0=TestInfo[_0x406e78(0x259)](_0xf7e3b8)[TestFrameworkConstants[_0x406e78(0x28f)]]||{},_0x25d12d=_0x58ed1e[_0x406e78(0x220)](getManualUploadLogs,_0x5a1fd0,_0x195180[_0x406e78(0x2e7)]()['get'](_0xf7e3b8)[TestFrameworkConstants[_0x406e78(0x2e0)]]);if(_0x58ed1e[_0x406e78(0x287)](_0x25d12d[_0x406e78(0x291)],0x0)){const _0xe50f26=_0x5be35a[TestFrameworkConstants[_0x406e78(0x209)]]||[];_0x5be35a[TestFrameworkConstants[_0x406e78(0x209)]]=[..._0xe50f26,..._0x25d12d];}const _0x83e708=_0x14e982[_0x406e78(0x2e1)]||[],_0xed9ed=_0x5be35a[TestFrameworkConstants[_0x406e78(0x270)]]||{},_0x930788=_0x58ed1e[_0x406e78(0x221)](require,_0x58ed1e[_0x406e78(0x296)]);_0x83e708[_0x406e78(0x2c7)](_0x44ea18=>{const _0x347b6e=_0x406e78,{type:_0x332f1c}=_0x44ea18;let _0x483159=_0x44ea18['description'];if(!_0x332f1c)return;if(PLAYWRIGHT_BUILTIN_ANNOTATIONS[_0x347b6e(0x206)](_0x332f1c))return;(_0x58ed1e[_0x347b6e(0x28c)](_0x483159,undefined)||_0x58ed1e['pesHi'](_0x483159,null)||_0x58ed1e['aHLBu'](_0x58ed1e[_0x347b6e(0x2df)](String,_0x483159)[_0x347b6e(0x2b7)](),''))&&(_0x483159=_0x58ed1e[_0x347b6e(0x2f5)]);const _0x63f76b=helper[_0x347b6e(0x2d0)](_0x58ed1e[_0x347b6e(0x21a)](String,_0x483159));_0x930788[_0x347b6e(0x201)](_0xed9ed,_0x332f1c,_0x63f76b);}),_0x5be35a[TestFrameworkConstants[_0x406e78(0x270)]]=_0xed9ed,TestInfo[_0x406e78(0x2d6)](_0xf7e3b8,_0x5be35a);const _0x7ce5cd={};return _0x7ce5cd[_0xf7e3b8]=_0x5be35a,_0x7ce5cd;}[a94_0x132f99(0x208)](_0x8c883f,_0x1ef358,_0x41cc8a){const _0x329d35=a94_0x132f99,_0x417c5f={'zavNG':function(_0x5e15b,_0x42438a){return _0x5e15b||_0x42438a;},'RvSqZ':function(_0x54664b,_0x273f10,_0x28c1d0){return _0x54664b(_0x273f10,_0x28c1d0);}};try{const {test:_0x13f225,result:_0x2ba75e,step:_0x4ce0b1}=_0x41cc8a;if(_0x417c5f[_0x329d35(0x25f)](!_0x13f225,!_0x4ce0b1)||!_0x2ba75e)return;const _0x2cb446=_0x417c5f[_0x329d35(0x27a)](getTestRunIdentifier,_0x13f225,_0x2ba75e[_0x329d35(0x2d5)]);logger[_0x329d35(0x283)](_0x329d35(0x20d)+_0x2cb446+'\x20hookState='+_0x1ef358+_0x329d35(0x27b)+_0x4ce0b1['title']+'\x22');}catch(_0x5efd12){logger['error']('trackStepEvent:\x20exception='+util[_0x329d35(0x215)](_0x5efd12));}}async['trackHookEvent'](_0x2ee568,_0x3eb1b9,_0x3ba141,_0x32f00d){const _0x405e09=a94_0x132f99,_0x87d2ee={'DvJIt':function(_0x2b3a01,_0x433960,_0x415360){return _0x2b3a01(_0x433960,_0x415360);},'mCneo':function(_0x473a6b,_0x89da9c){return _0x473a6b in _0x89da9c;},'lFbKr':function(_0x49ba13,_0x425598){return _0x49ba13(_0x425598);},'nfBYG':function(_0x17d21c,_0x100030){return _0x17d21c===_0x100030;},'KmorP':function(_0x66f083){return _0x66f083();},'VPogp':function(_0x4acf5e,_0x9adea3){return _0x4acf5e>_0x9adea3;},'QRKnf':function(_0x338fc4,_0x19ff0b,_0x44498b){return _0x338fc4(_0x19ff0b,_0x44498b);},'qehep':'err','fwYie':function(_0x4e3da0,_0x44a718){return _0x4e3da0(_0x44a718);},'AmZLC':'failed','yfeWx':'passed','EUDju':function(_0x28bdd8,_0x363fd2){return _0x28bdd8!==_0x363fd2;},'YiLzS':function(_0x9cb79f,_0x5dcef8){return _0x9cb79f+_0x5dcef8;},'bsVxZ':'hook'},_0x410f6b=_0x32f00d['test'],_0x4eb34f=_0x32f00d['step'],_0x9e6126=_0x87d2ee[_0x405e09(0x29a)](getTestRunIdentifier,_0x410f6b,_0x32f00d['result'][_0x405e09(0x2d5)]),_0x1180fd=_0x3eb1b9[_0x405e09(0x232)]()[_0x405e09(0x235)]('.')[0x1];let _0x1b33e5=_0x2ee568[_0x405e09(0x2e7)]()[_0x405e09(0x28a)](_0x9e6126)[TestFrameworkConstants[_0x405e09(0x2fa)]];!_0x1b33e5&&(_0x1b33e5={});!_0x87d2ee[_0x405e09(0x26b)](_0x1180fd,_0x1b33e5)&&(_0x1b33e5[_0x1180fd]=[]);let _0x1cac79=_0x2ee568[_0x405e09(0x2e7)]()[_0x405e09(0x28a)](_0x9e6126)[TestFrameworkConstants[_0x405e09(0x285)]];!_0x1cac79&&(_0x1cac79={});!_0x87d2ee[_0x405e09(0x26b)](_0x1180fd,_0x1cac79)&&(_0x1cac79[_0x1180fd]=[]);const _0x3cb1ae={[TestFrameworkConstants[_0x405e09(0x2fa)]]:_0x1b33e5,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x1cac79},_0x59c907={};_0x59c907[_0x9e6126]=_0x3cb1ae;const _0x56c80e=_0x59c907,_0x57568b=_0x87d2ee['lFbKr'](getPlaywrightTestFilePath,_0x410f6b),_0x187858=_0x57568b,_0x99bb25=TestInfo[_0x405e09(0x259)](_0x9e6126)[TestFrameworkConstants[_0x405e09(0x270)]]||{};if(_0x87d2ee['nfBYG'](_0x3ba141,HookState[_0x405e09(0x20b)])){const _0x150897={'key':_0x1180fd,[TestFrameworkConstants[_0x405e09(0x226)]]:_0x87d2ee['KmorP'](uuidv4),[TestFrameworkConstants[_0x405e09(0x250)]]:TestFrameworkConstants[_0x405e09(0x2ab)],[TestFrameworkConstants[_0x405e09(0x22f)]]:_0x4eb34f[_0x405e09(0x2d9)],[TestFrameworkConstants[_0x405e09(0x273)]]:[],[TestFrameworkConstants[_0x405e09(0x26d)]]:_0x4eb34f['title'],[TestFrameworkConstants[_0x405e09(0x2a7)]]:_0x57568b,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x187858,[TestFrameworkConstants[_0x405e09(0x270)]]:_0x99bb25};_0x1b33e5[_0x1180fd]['push'](_0x150897),_0x56c80e[_0x9e6126][TestFrameworkConstants[_0x405e09(0x28d)]]=_0x1180fd,logger['debug'](_0x405e09(0x2e4)+_0x1180fd+_0x405e09(0x2ef)+_0x150897+_0x405e09(0x281)+_0x32f00d);}else{if(_0x87d2ee['nfBYG'](_0x3ba141,HookState[_0x405e09(0x2eb)])){const _0x4e2d5c=await _0x32f00d[_0x405e09(0x217)],_0x3d1a00=_0x1b33e5[_0x1180fd]||[],_0x578759=_0x32f00d[_0x405e09(0x200)];logger[_0x405e09(0x283)](_0x405e09(0x20c)+_0x3d1a00+'\x20and\x20args\x20=\x20'+_0x32f00d);if(_0x87d2ee[_0x405e09(0x265)](_0x3d1a00[_0x405e09(0x291)],0x0)){const _0x277883=_0x3d1a00[_0x405e09(0x2a9)]();if(_0x578759['error']){const _0xc2164f=_0x87d2ee[_0x405e09(0x20f)](failureData,_0x578759[_0x405e09(0x2f2)],_0x87d2ee[_0x405e09(0x29e)]);_0x277883[TestFrameworkConstants[_0x405e09(0x27e)]]=_0x87d2ee[_0x405e09(0x2b4)](getFailureType,_0x578759?.[_0x405e09(0x2f2)][_0x405e09(0x28e)]),_0x277883[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=_0x87d2ee['lFbKr'](removeAnsiColors,_0x578759?.[_0x405e09(0x2f2)][_0x405e09(0x28e)]),_0x277883[TestFrameworkConstants[_0x405e09(0x250)]]=_0x87d2ee[_0x405e09(0x267)],_0x277883[TestFrameworkConstants[_0x405e09(0x293)]]=_0xc2164f;}else _0x277883[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x87d2ee[_0x405e09(0x24e)];_0x87d2ee[_0x405e09(0x2dd)](_0x4e2d5c,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0x277883[TestFrameworkConstants[_0x405e09(0x250)]]=!_0x578759[_0x405e09(0x2f2)]?_0x87d2ee[_0x405e09(0x24e)]:_0x87d2ee['AmZLC']);const _0xeda28a=new Date(_0x578759['startTime']),_0x2e6769=new Date(_0x87d2ee[_0x405e09(0x211)](_0xeda28a[_0x405e09(0x1f8)](),_0x578759[_0x405e09(0x1ff)]));_0x277883[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x2e6769[_0x405e09(0x210)](),_0x277883[TestFrameworkConstants[_0x405e09(0x270)]]=_0x99bb25;const _0x432797=_0x277883[TestFrameworkConstants[_0x405e09(0x226)]];await this['sendLogCreatedEvent'](_0x2ee568,_0x3eb1b9,_0x432797,_0x87d2ee[_0x405e09(0x219)],_0x32f00d),!_0x1cac79[_0x1180fd]&&(_0x1cac79[_0x1180fd]=[]),_0x1cac79[_0x1180fd][_0x405e09(0x2ae)](_0x277883),_0x56c80e[_0x9e6126][TestFrameworkConstants[_0x405e09(0x268)]]=_0x1180fd;}}}return _0x56c80e;}async[a94_0x132f99(0x297)](_0x36d754,_0x1954e5,_0x1d0c2c,_0x554f10,_0x3e3dd1,_0x1fe263){const _0x108089=a94_0x132f99,_0x2ddec7={'OYplB':function(_0xe69cd0,_0x11a028){return _0xe69cd0===_0x11a028;},'XIZNX':_0x108089(0x263),'VBRbb':function(_0x33efd2,_0x1d51ae,_0x24b8ec){return _0x33efd2(_0x1d51ae,_0x24b8ec);},'iKzHD':_0x108089(0x26a),'JtwXI':function(_0x46a57c,_0x1abd90,_0x919fc3,_0xf4e75b){return _0x46a57c(_0x1abd90,_0x919fc3,_0xf4e75b);},'senyR':function(_0x1a5789,_0x3d5d6c,_0x136c03){return _0x1a5789(_0x3d5d6c,_0x136c03);},'jNWAO':function(_0xe05e9,_0x196804,_0x157b62){return _0xe05e9(_0x196804,_0x157b62);},'uFbMM':function(_0x506ce7,_0x490b99,_0x2a4cfd){return _0x506ce7(_0x490b99,_0x2a4cfd);},'VNulq':function(_0x6f6a16,_0x58b8d3){return _0x6f6a16/_0x58b8d3;},'Zifls':function(_0x427466,_0x3c86ca){return _0x427466<_0x3c86ca;},'FisXn':function(_0x39c18b,_0x7e76cc){return _0x39c18b*_0x7e76cc;},'iEBDb':function(_0x468574,_0x34dbad){return _0x468574+_0x34dbad;},'MzPRR':function(_0x596c3c,_0x22df8f,_0x59d609,_0x264f9c,_0x4d7a2a){return _0x596c3c(_0x22df8f,_0x59d609,_0x264f9c,_0x4d7a2a);},'aHPhg':function(_0x284e09,_0x4f9500){return _0x284e09+_0x4f9500;},'YqRZz':'hook','cgszv':function(_0x1707c3,_0x4da675,_0x1f53b1,_0x3fb067,_0x5761c4){return _0x1707c3(_0x4da675,_0x1f53b1,_0x3fb067,_0x5761c4);}};try{if(_0x2ddec7[_0x108089(0x228)](_0x554f10,_0x2ddec7[_0x108089(0x2c3)])){const _0x3d7812=await _0x3e3dd1['result'],_0x357a87=_0x2ddec7['VBRbb'](getTestRunIdentifier,_0x3e3dd1[_0x108089(0x263)],_0x3e3dd1[_0x108089(0x217)][_0x108089(0x2d5)]),_0x2e9e78=_0x3e3dd1[_0x108089(0x263)];logger[_0x108089(0x283)](_0x108089(0x22e)+_0x357a87+'\x20result='+util[_0x108089(0x295)](_0x3d7812));const _0x38fe23=_0x36d754[_0x108089(0x2e7)]()[_0x108089(0x28a)](_0x357a87)[TestFrameworkConstants[_0x108089(0x2e0)]];await _0x2ddec7['VBRbb'](sendTraceZip,_0x3d7812,_0x38fe23);const _0x481450=TestInfo['getTestDetails'](_0x357a87)[_0x2ddec7[_0x108089(0x2de)]],_0x4538be={};if(_0x481450){!_0x3d7812['attachments']&&(_0x3d7812[_0x108089(0x26a)]=[]);_0x4538be['attachments']=_0x3d7812['attachments']['concat'](_0x481450||[]);const _0x824e6b=TestInfo[_0x108089(0x259)](_0x357a87);delete _0x824e6b[_0x2ddec7[_0x108089(0x2de)]],TestInfo['setTestDetails'](_0x357a87,_0x824e6b);}const _0x64d2d4=_0x1fe263||_0x2ddec7[_0x108089(0x2a6)](getStepsAndLogs,_0x3d7812[_0x108089(0x261)],_0x36d754[_0x108089(0x2e7)]()['get'](_0x357a87)[TestFrameworkConstants['KEY_TEST_UUID']],_0x2ddec7[_0x108089(0x2c3)])['logs'],_0x52c77b=_0x2ddec7[_0x108089(0x23f)](getScreenshots,_0x4538be,_0x36d754['getAllData']()[_0x108089(0x28a)](_0x357a87)[TestFrameworkConstants[_0x108089(0x2e0)]]),_0x424494=_0x2ddec7[_0x108089(0x1fa)](getVideos,_0x3d7812,_0x36d754['getAllData']()[_0x108089(0x28a)](_0x357a87)[TestFrameworkConstants[_0x108089(0x2e0)]]),{_:_0x1f905b,logs:_0x52cf00}=_0x2ddec7[_0x108089(0x2b9)](getFailureData,_0x3d7812[_0x108089(0x2d3)],{'test_run_uuid':_0x36d754['getAllData']()[_0x108089(0x28a)](_0x357a87)[TestFrameworkConstants[_0x108089(0x2e0)]]}),_0x1a0afb=TestInfo[_0x108089(0x259)](_0x357a87)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0xa5aa2a=_0x2ddec7['uFbMM'](getMediaArtifactsLogs,_0x1a0afb,_0x36d754[_0x108089(0x2e7)]()[_0x108089(0x28a)](_0x357a87)[TestFrameworkConstants[_0x108089(0x2e0)]]),_0x2212e7=_0x36d754[_0x108089(0x2e7)]()[_0x108089(0x28a)](_0x357a87),{[TestFrameworkConstants[_0x108089(0x27d)]]:_0x4642f0='',[TestFrameworkConstants[_0x108089(0x2ce)]]:_0x570f51=''}=_0x2212e7,_0x25ae20=(_0x64d2d4||[])[_0x108089(0x224)](_0x52c77b||[])[_0x108089(0x224)](_0x52cf00||[])[_0x108089(0x224)](_0x424494||[])[_0x108089(0x224)](_0xa5aa2a||[]),_0x42340c=0x28,_0x377e38=Math[_0x108089(0x236)](_0x2ddec7[_0x108089(0x2a3)](_0x25ae20['length'],_0x42340c));for(let _0x4704b6=0x0;_0x2ddec7[_0x108089(0x2a8)](_0x4704b6,_0x377e38);_0x4704b6++){const _0x47d4ed=_0x2ddec7[_0x108089(0x2af)](_0x4704b6,_0x42340c),_0x854e29=_0x2ddec7[_0x108089(0x21f)](_0x47d4ed,_0x42340c),_0x37f84f=_0x25ae20[_0x108089(0x262)](_0x47d4ed,_0x854e29),_0x3a5a7b={'platformIndex':global?.['browserstackPlatformIndex']??0x0,'logs':_0x37f84f,'testFrameworkName':_0x4642f0,'testFrameworkVersion':_0x570f51,'testFrameworkState':_0x1954e5[_0x108089(0x232)]()[_0x108089(0x235)]('.')[0x1]};_0x2ddec7['MzPRR'](updatePayloadForTraceLogs,_0x3a5a7b,_0x3e3dd1,_0x357a87,_0x36d754),logger[_0x108089(0x283)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x357a87+_0x108089(0x25e)+_0x2ddec7[_0x108089(0x246)](_0x4704b6,0x1)+'/'+_0x377e38+_0x108089(0x2ca)+util[_0x108089(0x295)](_0x3a5a7b));const _0x112882=await GrpcClient[_0x108089(0x1fb)]()[_0x108089(0x1fe)](_0x3a5a7b);logger[_0x108089(0x283)](_0x108089(0x2cb)+_0x357a87+_0x108089(0x25e)+_0x2ddec7[_0x108089(0x21f)](_0x4704b6,0x1)+'/'+_0x377e38+_0x108089(0x2b8)+util[_0x108089(0x295)](_0x112882));}}else{const {logs:_0x774161}=_0x2ddec7['JtwXI'](getStepsAndLogs,_0x3e3dd1[_0x108089(0x200)][_0x108089(0x261)],_0x1d0c2c,_0x2ddec7[_0x108089(0x2bf)]),_0x55d7ee=_0x2ddec7['VBRbb'](getTestRunIdentifier,_0x3e3dd1[_0x108089(0x263)],_0x3e3dd1[_0x108089(0x217)][_0x108089(0x2d5)]);logger[_0x108089(0x283)](_0x108089(0x22e)+_0x55d7ee);const _0x30b830=_0x36d754[_0x108089(0x2e7)]()[_0x108089(0x28a)](_0x55d7ee),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x2510ea='',[TestFrameworkConstants[_0x108089(0x2ce)]]:_0x23a60a=''}=_0x30b830,_0x4d91b3={'platformIndex':'0','logs':_0x774161,'testFrameworkName':_0x2510ea,'testFrameworkVersion':_0x23a60a,'testFrameworkState':_0x1954e5[_0x108089(0x232)]()[_0x108089(0x235)]('.')[0x1]};_0x2ddec7['cgszv'](updatePayloadForTraceLogs,_0x4d91b3,_0x3e3dd1,_0x55d7ee,_0x36d754),logger[_0x108089(0x283)](_0x108089(0x2cb)+_0x55d7ee+_0x108089(0x2ca)+util[_0x108089(0x295)](_0x4d91b3));const _0x275a71=await GrpcClient['getInstance']()[_0x108089(0x1fe)](_0x4d91b3);}}catch(_0x4b16fc){logger[_0x108089(0x2f2)]('Error\x20in\x20sendLogCreatedEvent:\x20'+util['format'](_0x4b16fc));}}[a94_0x132f99(0x1fd)](_0x35c982){const _0x23451e=a94_0x132f99,_0x425eae={'MfPqX':function(_0x3b1bc2,_0x25d2ce,_0x416298){return _0x3b1bc2(_0x25d2ce,_0x416298);},'avygn':function(_0x12e5bd,_0x4a6a2b){return _0x12e5bd<_0x4a6a2b;},'KYjNF':_0x23451e(0x277)};try{const _0x5cc40a=_0x35c982[_0x23451e(0x263)]['id'],_0x9f401c=_0x425eae['MfPqX'](getTestRunIdentifier,_0x35c982[_0x23451e(0x263)],_0x35c982[_0x23451e(0x217)][_0x23451e(0x2d5)]),_0x1e1ca4=_0x35c982[_0x23451e(0x275)],_0x55dc5f=_0x1e1ca4[_0x23451e(0x2d1)](),_0x3f2487=_0x1e1ca4['getAllData']()['get'](_0x9f401c);logger[_0x23451e(0x283)](_0x23451e(0x2bd)+_0x5cc40a);const {[TestFrameworkConstants[_0x23451e(0x27d)]]:_0xc33750='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x39a30e='',[TestFrameworkConstants[_0x23451e(0x279)]]:_0xd38cc0='',[TestFrameworkConstants[_0x23451e(0x2da)]]:_0x475ad8=''}=_0x3f2487,_0xf36e72=_0x1e1ca4[_0x23451e(0x1f4)]()[_0x23451e(0x232)]()[_0x23451e(0x235)]('.')[0x1],_0x5be3a8=_0x1e1ca4[_0x23451e(0x264)]()[_0x23451e(0x232)]()[_0x23451e(0x235)]('.')[0x1],_0x32658f=_0x425eae[_0x23451e(0x2a1)](_0x35c982?.[_0x23451e(0x217)]?.[_0x23451e(0x292)]??0x0,0x0)?0x0:_0x35c982?.[_0x23451e(0x217)]?.[_0x23451e(0x292)]??0x0,_0x1dcb5b=_0x1e1ca4[_0x23451e(0x2aa)](),_0x1a86c3=Buffer[_0x23451e(0x237)](JSON[_0x23451e(0x2cd)](_0x3f2487))[_0x23451e(0x232)](_0x425eae['KYjNF']),_0x199b26={'hash':_0x55dc5f['getId'](),'threadId':_0x55dc5f[_0x23451e(0x289)]()['toString'](),'processId':_0x55dc5f[_0x23451e(0x2c1)]()[_0x23451e(0x232)]()},_0xc6d9e={};_0xc6d9e[_0x23451e(0x203)]=_0x32658f,_0xc6d9e[_0x23451e(0x216)]=_0xc33750,_0xc6d9e[_0x23451e(0x27f)]=_0x39a30e,_0xc6d9e[_0x23451e(0x29c)]=_0xf36e72,_0xc6d9e[_0x23451e(0x23e)]=_0x5be3a8,_0xc6d9e[_0x23451e(0x274)]=_0xd38cc0,_0xc6d9e[_0x23451e(0x2f6)]=_0x475ad8,_0xc6d9e[_0x23451e(0x25b)]=_0x1dcb5b,_0xc6d9e['eventJson']=_0x1a86c3,_0xc6d9e[_0x23451e(0x2f3)]=_0x199b26;const _0x2bf77d=_0xc6d9e;return logger[_0x23451e(0x283)](_0x23451e(0x24b)+_0x5cc40a+_0x23451e(0x2f1)+_0xf36e72+_0x23451e(0x257)+_0x5be3a8),_0x2bf77d;}catch(_0x289900){return logger[_0x23451e(0x2f2)](_0x23451e(0x2ee)+util[_0x23451e(0x215)](_0x289900)),{};}}}function a94_0x4756(_0x23420e,_0x46f683){const _0x4e6091=a94_0x4e60();return a94_0x4756=function(_0x475613,_0x326821){_0x475613=_0x475613-0x1f4;let _0x477ce1=_0x4e6091[_0x475613];return _0x477ce1;},a94_0x4756(_0x23420e,_0x46f683);}function a94_0x4e60(){const _0xe6fe75=[',\x20testFrameworkState=','inspect','ZhRBS','sendLogCreatedEvent','4522010OwskOA','Expected\x20to\x20fail,\x20but\x20passed.','DvJIt','slow','testFrameworkState','addMultipleEntries','qehep','../cliUtils.js','DkNEw','avygn','lsymg','VNulq','keyword','\x20instance=','JtwXI','KEY_TEST_FILE_PATH','Zifls','pop','getRef','DEFAULT_HOOK_RESULT','fail','getTestIdentifierFromTestInfo','push','FisXn','filePath','KEY_AUTOMATE_SESSION_NAME','UzzYi','3120264itIIzZ','fwYie','McMBW','27mWZdwl','trim','\x20response=','jNWAO','basename','3748ZitBhU','info','createTestFrameworkEventPayload\x20testId:\x20','parsePlaywrightTest','YqRZz','failure_type','getProcessId','DEFAULT_TEST_RESULT','XIZNX','KEY_TEST_TAGS','4675dyOGli','TYXWb','forEach','NONE','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','\x20payload=','sendLogCreatedEvent\x20for\x20testId:\x20','../customTagManager','stringify','KEY_TEST_FRAMEWORK_VERSION','filter','parseCommaSeparatedValues','getContext','iXKdz','errors','./testFramework','retry','setTestDetails','parsePlaywrightTestResult','pWcUZ','startTime','KEY_TEST_ENDED_AT','9744987OnZGbs','testUId','EUDju','iKzHD','Okkcg','KEY_TEST_UUID','annotations','PudQL','expectedStatus','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','getId','results','getAllData','tFqzv','ZiQXS','set','POST','KOmnk','setTrackedInstance','Error\x20in\x20createTestFrameworkEventPayload:\x20','\x20&\x20hook\x20=\x20','9919192syaKFc','\x20testState:\x20','error','executionContext','TEST_SCREENSHOT','NcXTT','endedAt','getCurrentInstanceName','some','PKzCK','KEY_HOOKS_STARTED','getTestUUID','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','getCurrentTestState','../../utils/constants','trackPlaywrightInstance','sxjqq','getTime','MAX_NESTED_STEP_DEPTH','VBRbb','getInstance','\x20from\x20TestDetails:\x20','createTestFrameworkEventPayload','logCreatedEvent','duration','step','mergeIntoTags','307ZrplBL','platformIndex','../../../../src/helpers/helper','KEY_TEST_RESULT','has','status','trackStepEvent','KEY_LOGS','gPutC','PRE','Hook\x20List\x20in\x20Post\x20','trackStepEvent:\x20testId=','Error\x20processing\x20direct\x20trace\x20file\x20','QRKnf','toISOString','YiLzS','KEY_TEST_META','zPfXh','NdRSJ','format','testFrameworkName','result','timedOut','bsVxZ','cEPUw','imTYC','54950995WonTll','failure','trackEvent','iEBDb','lcGwd','EmCDX','KEY_TEST_ID','LivWH','concat','KEY_TEST_SCOPES','KEY_HOOK_ID','SEjlc','OYplB','zuhRj','ykIuY','\x20testHookState=','pesHi','../grpcClient','sendLogCreatedEvent:\x20testId=','KEY_EVENT_STARTED_AT','resolveInstance','KEY_TEST_SCOPE','toString','yDdrJ','trackHookEvent','split','ceil','from','OLnOD','5494eXbqoK','util','No\x20reason\x20provided','file_name','TEST','hookState','senyR','runHooks','6ztDasf','KEY_TEST_FAILURE','getTestFrameworks','aHLBu','dgAqb','aHPhg','\x20steps\x20for\x20testId=','JXggA','text','getTraceFilePaths','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','parsePlaywrightTestResult:\x20testId=','../instances/testFrameworkInstance.js','yfeWx','MrHnx','KEY_HOOK_RESULT','statSync','started_at','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','KEY_TEST_FAILURE_TYPE','failed','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','\x20hookState:\x20','ELlUj','getTestDetails','../state/testFrameworkState.js','uuid','getTestFrameworksVersions','sxYoR','\x20batch\x20','zavNG','../../../helpers/classLogger.js','steps','slice','test','getCurrentHookState','VPogp','skipped','AmZLC','KEY_HOOK_LAST_FINISHED','KEY_TEST_NAME','attachments','mCneo','parsePlaywrightTestResult:\x20extracted\x20','KEY_HOOK_NAME','Error\x20processing\x20trace\x20file\x20','trackEvent:\x20found\x20instance,\x20testFrameworkState=','KEY_CUSTOM_TAGS','pcRmr','TjIHt','KEY_HOOK_LOGS','startedAt','instance','matchHookRegex','base64','../../playwright/reporter/pwUtils','KEY_TEST_STARTED_AT','RvSqZ','\x20step=\x22','size','KEY_TEST_FRAMEWORK_NAME','KEY_HOOK_FAILURE_TYPE','testFrameworkVersion','../TestInfo.js','\x20\x20and\x20args\x20=\x20','path','debug','KEY_TEST_RERUN_NAME','KEY_HOOKS_FINISHED','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','fehBZ','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','getThreadId','get','jdSiq','PfnQw','KEY_HOOK_LAST_STARTED','message','KEY_TEST_ATTACHMENTS','VhhPR','length','parallelIndex','KEY_HOOK_FAILURE'];a94_0x4e60=function(){return _0xe6fe75;};return a94_0x4e60();}module['exports']=PlaywrightTestFramework;
1
+ const a94_0x30d89a=a94_0x58d8;function a94_0x7c01(){const _0x403f86=['results','instance','EIxVK','HkJlo','parsePlaywrightTestResult','KEY_HOOKS_STARTED','uosRb','IPEpV','../../playwright/reporter/pwUtils','createTestFrameworkEventPayload','KEY_HOOK_RESULT','Wnjyz','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','get','../instances/trackedInstance.js','path','GXVni','EmLnU','trackHookEvent','INIT_TEST','MDiTg','WFbqv','KEY_TEST_FRAMEWORK_NAME','matchHookRegex','skip','fixme','TcNAT','\x20testHookState=','dZata','set','trackPlaywrightInstance','getContext','exports','testUId','err','startedAt','startTime','some','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','platformIndex','ZXcnk','trackStepEvent','\x20instanceId=','ZMaTn','parallelIndex','XIyLG','KEY_TEST_CODE','info','eventJson','text','inspect','NSTpi','parsePlaywrightTestResult:\x20extracted\x20','Ocmod','KEY_TEST_ATTACHMENTS','KEY_AUTOMATE_SESSION_NAME','runHooks','KEY_HOOK_LAST_STARTED','SPDhA','sendLogCreatedEvent','CbsJn','\x20target=','browserstackPlatformIndex','KEY_HOOK_LOGS','KEY_EVENT_ENDED_AT','addMultipleEntries','ceil','getCurrentTestState','KEY_TEST_ID','yeJAD','62snVNhw','LTBrj','TEST','3874mFlgfd','KEY_TEST_LOCATION','KEY_TEST_FRAMEWORK_VERSION','6991128OLQvdf','\x20\x20and\x20args\x20=\x20','NBpIP','RZpRY','PRE','2037xjxPUb','timedOut','trim','KEY_HOOKS_FINISHED','errors','getTestIdentifierFromTestInfo','TYfqh','getCurrentHookState','../state/hookState.js','debug','KEY_TEST_TAGS','getCurrentInstanceName','310grLvjz','DEFAULT_HOOK_RESULT','getAllData','steps','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','./testFramework','../TestInfo.js','XHPsg','mergeIntoTags','ZizLq','trackStepEvent:\x20exception=','viXqX','KEY_HOOK_FAILURE','../customTagManager','has','../grpcClient','parsePlaywrightTestResult:\x20testId=','KEY_HOOK_ID','KEY_CUSTOM_TAGS','KEY_LOGS','Error\x20in\x20sendLogCreatedEvent:\x20','TLfAj','CpqWk','zSGJP','getRef','\x20hookState=','KEY_TEST_LOGS','format','trackEvent:\x20found\x20instance,\x20testFrameworkState=','setTestDetails','zgHId','step','wiaxz','KEY_TEST_FAILURE_REASON','stack','parseCommaSeparatedValues','\x20testState:\x20','\x20result=','PlaywrightTestFramework','pgEus','test','../instances/testFrameworkInstance.js','AhBFE','fail','trackEvent','LVSon','KEY_TEST_RESULT','getTestUUID','getProcessId','4577645EhSpXn','7854795KCJCPZ','KEY_TEST_STARTED_AT','status','resolveInstance','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','concat','grTEY','getTime','from','testFrameworkState','failure','../../../../src/helpers/helper','VzdTO','hWouI','\x20and\x20args\x20=\x20','trackStepEvent:\x20testId=','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','TEST_ATTACHMENT','cZxwK','../../../helpers/test-observability/utils','178232Ezdyhd','KEY_TEST_RETRY_OF','\x20instance=','failed','sendLogCreatedEvent\x20for\x20testId:\x20','duration','XBkAE','file_name','\x20batch\x20','retry','qCPej','annotations','getTrackedInstance','error','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','forEach','TEST_SCREENSHOT','\x20steps\x20for\x20testId=','getTraceFilePaths','./constants/testFrameworkConstants.js','sendLogCreatedEvent:\x20testId=','471746enCrrz','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','KEY_TEST_ENDED_AT','setTrackedInstance','No\x20reason\x20provided','KEY_TEST_FAILURE_TYPE','pop','amxhe','\x20response=','BqAdK','getInstance','getTestDetails','getTestFrameworksVersions','KEY_TEST_SCOPE','toISOString','NONE','jGAPJ','skipped','logCreatedEvent','MAX_TOP_LEVEL_STEPS','TEST_STEP','uGNOM','ZKjge','ZdHQI','keyword','KEY_HOOK_FAILURE_REASON','toString','testFrameworkVersion','parsePlaywrightTest','BcwuR','passed','wYLRn','length','Error\x20in\x20createTestFrameworkEventPayload:\x20','result','POST','jdejY','../../utils/constants','filter','slice','12lWZhUe','uzWni','HxrXz','getId','createTestFrameworkEventPayload\x20testId:\x20','yjKQo','util','push','title','\x20from\x20TestDetails:\x20','Expected\x20to\x20fail,\x20but\x20passed.','parent_id','\x20step=\x22','KEY_HOOK_LAST_FINISHED','uuid','basename','Rowgj','dfWNn','yGDAf',',\x20state=','sbhIm','KEY_EVENT_STARTED_AT','description','KEY_TEST_RESULT_AT','createContext','expectedStatus','JohWR','ZBhBg','XhPMf','message','14214YkBNtl','getTestFrameworks','ULIOb','IbeAm','attachments','slow','../../../helpers/classLogger.js','filePath','DEFAULT_TEST_RESULT','zUwDf','Error\x20processing\x20trace\x20file\x20',',\x20testFrameworkState=','split','testFrameworkName','VgDej','KEY_TEST_UUID','KEY_TEST_FILE_PATH','../state/testFrameworkState.js','TVXfc','Error\x20processing\x20direct\x20trace\x20file\x20'];a94_0x7c01=function(){return _0x403f86;};return a94_0x7c01();}function a94_0x58d8(_0x569651,_0x1772f3){const _0x7c014d=a94_0x7c01();return a94_0x58d8=function(_0x58d802,_0x5020c9){_0x58d802=_0x58d802-0x1f4;let _0x5ee415=_0x7c014d[_0x58d802];return _0x5ee415;},a94_0x58d8(_0x569651,_0x1772f3);}(function(_0x2edc82,_0x1fc3d5){const _0x3b7d4a=a94_0x58d8,_0x1d9f2c=_0x2edc82();while(!![]){try{const _0x5e13ac=-parseInt(_0x3b7d4a(0x2ea))/0x1*(-parseInt(_0x3b7d4a(0x2e7))/0x2)+parseInt(_0x3b7d4a(0x26f))/0x3*(parseInt(_0x3b7d4a(0x232))/0x4)+parseInt(_0x3b7d4a(0x21d))/0x5+-parseInt(_0x3b7d4a(0x28d))/0x6*(-parseInt(_0x3b7d4a(0x2f2))/0x7)+-parseInt(_0x3b7d4a(0x2ed))/0x8+parseInt(_0x3b7d4a(0x21e))/0x9+parseInt(_0x3b7d4a(0x2fe))/0xa*(-parseInt(_0x3b7d4a(0x247))/0xb);if(_0x5e13ac===_0x1fc3d5)break;else _0x1d9f2c['push'](_0x1d9f2c['shift']());}catch(_0x1ec7db){_0x1d9f2c['push'](_0x1d9f2c['shift']());}}}(a94_0x7c01,0x8bcd8));const TestFramework=require(a94_0x30d89a(0x303)),TestFrameworkState=require(a94_0x30d89a(0x29e)),HookState=require(a94_0x30d89a(0x2fa)),{createClassLogger}=require(a94_0x30d89a(0x293)),TestFrameworkInstance=require(a94_0x30d89a(0x215)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a94_0x30d89a(0x2af)),TestFrameworkConstants=require(a94_0x30d89a(0x245)),logger=createClassLogger(a94_0x30d89a(0x212)),{v4:uuidv4}=require(a94_0x30d89a(0x27d)),util=require(a94_0x30d89a(0x275)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require('../../../helpers/helper.js'),TestInfo=require(a94_0x30d89a(0x304)),GrpcClient=require(a94_0x30d89a(0x1fb)),{removeAnsiColors,getFailureType,failureData}=require(a94_0x30d89a(0x231)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a94_0x30d89a(0x2a9)),{findNestedKey,sendTraceZip,validateFilePath}=require('../../playwright/reporter/pwUtils'),path=require('path'),fs=require('fs'),helper=require(a94_0x30d89a(0x229)),{PLAYWRIGHT_TRACE_LOGS}=require(a94_0x30d89a(0x26c)),PLAYWRIGHT_BUILTIN_ANNOTATIONS=new Set([a94_0x30d89a(0x2b9),a94_0x30d89a(0x2ba),a94_0x30d89a(0x292),a94_0x30d89a(0x217)]);class PlaywrightTestFramework extends TestFramework{constructor(_0x4a3923,_0x45c93f,_0x21e32f){super(_0x4a3923,_0x45c93f,_0x21e32f);}async[a94_0x30d89a(0x218)](_0x6ea42f,_0x48caf2,_0x228f9c={}){const _0x478c06=a94_0x30d89a,_0x28cce9={'GXVni':function(_0x48f689,_0x56a5fe){return _0x48f689===_0x56a5fe;},'TVXfc':function(_0x22a149,_0x6f72a2){return _0x22a149===_0x6f72a2;},'Rowgj':function(_0x40456e,_0x45b97a){return _0x40456e===_0x45b97a;},'ZBhBg':function(_0x524ce8,_0x14af2c,_0x59e6b5){return _0x524ce8(_0x14af2c,_0x59e6b5);},'cAHZF':function(_0x117d2a,_0x285317){return _0x117d2a===_0x285317;},'eoLPb':function(_0x434e67,_0x272712){return _0x434e67===_0x272712;},'AhBFE':function(_0x5bda2e,_0x24aeb2,_0x374ac0,_0xbb0f03){return _0x5bda2e(_0x24aeb2,_0x374ac0,_0xbb0f03);},'juXVo':_0x478c06(0x214),'ClGxo':_0x478c06(0x222)};super[_0x478c06(0x218)](_0x6ea42f,_0x48caf2,_0x228f9c);if(_0x28cce9['GXVni'](_0x6ea42f,TestFrameworkState[_0x478c06(0x242)])){const _0x46e79f=TestInfo[_0x478c06(0x2f7)](_0x228f9c[_0x478c06(0x214)],_0x228f9c['test']['retry']);TestInfo[_0x478c06(0x209)](_0x46e79f,_0x228f9c[_0x478c06(0x269)],!![]);}if(_0x28cce9[_0x478c06(0x29f)](_0x6ea42f,TestFrameworkState[_0x478c06(0x25b)])){this[_0x478c06(0x2ca)](_0x6ea42f,_0x48caf2,_0x228f9c);return;}const _0x1ba1e8=this[_0x478c06(0x221)](_0x6ea42f,_0x48caf2,_0x228f9c);if(!_0x1ba1e8)return;logger['debug'](_0x478c06(0x208)+_0x6ea42f+_0x478c06(0x205)+_0x48caf2+_0x478c06(0x2cb)+_0x1ba1e8[_0x478c06(0x204)]());try{if(_0x28cce9[_0x478c06(0x2b1)](_0x48caf2,HookState['PRE'])&&_0x28cce9[_0x478c06(0x27f)](_0x6ea42f,TestFrameworkState['TEST'])){const _0x8f9376=_0x228f9c['test'];logger[_0x478c06(0x2fb)](_0x478c06(0x240)+_0x8f9376['id']+'}');const _0xa0b5b7=TestInfo[_0x478c06(0x21b)](_0x28cce9[_0x478c06(0x28a)](getTestRunIdentifier,_0x8f9376,_0x228f9c['result'][_0x478c06(0x23b)]));_0x1ba1e8[_0x478c06(0x2e2)](this['parsePlaywrightTest'](_0xa0b5b7,_0x8f9376,_0x228f9c[_0x478c06(0x269)])),logger[_0x478c06(0x2fb)](_0x478c06(0x2ad)+_0x8f9376['id']+_0x478c06(0x298)+_0x6ea42f+_0x478c06(0x2bc)+_0x48caf2+_0x478c06(0x234)+_0x1ba1e8[_0x478c06(0x204)]());}if(_0x28cce9['cAHZF'](_0x48caf2,HookState[_0x478c06(0x26a)])&&_0x28cce9['eoLPb'](_0x6ea42f,TestFrameworkState[_0x478c06(0x2e9)])){const _0x518e6b=_0x228f9c[_0x478c06(0x214)],_0x1ab6ca=_0x228f9c[_0x478c06(0x269)];logger[_0x478c06(0x2fb)](_0x478c06(0x2c7)+_0x518e6b['id']);const _0x44e05f=_0x28cce9[_0x478c06(0x28a)](getTestRunIdentifier,_0x518e6b,_0x1ab6ca[_0x478c06(0x23b)]),_0x19a28c=_0x1ba1e8[_0x478c06(0x300)]()[_0x478c06(0x2ae)](_0x44e05f)[TestFrameworkConstants[_0x478c06(0x29c)]],{steps:_0xb83a28,logs:_0x2a988c}=_0x28cce9[_0x478c06(0x216)](getStepsAndLogs,_0x1ab6ca[_0x478c06(0x301)],_0x19a28c,_0x28cce9['juXVo']);_0x1ba1e8[_0x478c06(0x2e2)](this['parsePlaywrightTestResult'](_0x518e6b['id'],_0x1ab6ca,_0x518e6b,_0xb83a28)),await this[_0x478c06(0x2dc)](_0x1ba1e8,_0x6ea42f,_0x48caf2,_0x28cce9['juXVo'],_0x228f9c,_0x2a988c);}if(CLIUtils[_0x478c06(0x2b8)](_0x6ea42f[_0x478c06(0x261)]()[_0x478c06(0x299)]('.')[0x1])){const _0x3c2582=await this[_0x478c06(0x2b3)](_0x1ba1e8,_0x6ea42f,_0x48caf2,_0x228f9c);_0x1ba1e8[_0x478c06(0x2e2)](_0x3c2582);}}catch(_0x55f9e4){logger[_0x478c06(0x23f)](util[_0x478c06(0x207)](_0x28cce9['ClGxo'],_0x6ea42f,_0x48caf2,_0x228f9c['length'],_0x55f9e4));}_0x228f9c[_0x478c06(0x2a2)]=_0x1ba1e8,await this[_0x478c06(0x2d9)](_0x1ba1e8,_0x6ea42f,_0x48caf2,_0x228f9c);}[a94_0x30d89a(0x221)](_0x2e78c8,_0x54d66c,_0x58a7c3={}){const _0x3f20ce=a94_0x30d89a,_0x166ce3={};_0x166ce3[_0x3f20ce(0x305)]=function(_0x2ac9ec,_0x43e48d){return _0x2ac9ec===_0x43e48d;},_0x166ce3[_0x3f20ce(0x2ac)]=function(_0x2a21c7,_0x38fa4c){return _0x2a21c7===_0x38fa4c;};const _0x5a7a82=_0x166ce3;let _0x356c7b=null;return(_0x5a7a82[_0x3f20ce(0x305)](_0x2e78c8,TestFrameworkState[_0x3f20ce(0x2b4)])||_0x5a7a82['Wnjyz'](_0x2e78c8,TestFrameworkState[_0x3f20ce(0x256)]))&&this['trackPlaywrightInstance'](_0x2e78c8,_0x58a7c3),_0x356c7b=TestFramework[_0x3f20ce(0x23e)](),_0x356c7b;}[a94_0x30d89a(0x2bf)](_0x169e90,_0x1853d3){const _0x23600e=a94_0x30d89a,_0x53284a=CLIUtils[_0x23600e(0x2fd)](),_0x34cae1=TrackedInstance[_0x23600e(0x287)](_0x53284a);let _0x2bb6fe=null;logger[_0x23600e(0x2d0)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x53284a+_0x23600e(0x282)+_0x169e90),_0x2bb6fe=new TestFrameworkInstance(_0x34cae1,this[_0x23600e(0x28e)](),this[_0x23600e(0x253)](),_0x169e90,HookState[_0x23600e(0x256)]),TestFramework[_0x23600e(0x24a)](_0x34cae1,_0x2bb6fe),logger[_0x23600e(0x2d0)](_0x23600e(0x248)+_0x34cae1[_0x23600e(0x272)]()+_0x23600e(0x2de)+_0x53284a);}[a94_0x30d89a(0x263)](_0x5b5c57,_0x5f4021,_0x1332bc){const _0x52debd=a94_0x30d89a,_0x5c1340={'XBkAE':function(_0x864046,_0xc18e92){return _0x864046(_0xc18e92);},'zSGJP':function(_0x312b3f,_0x4af409){return _0x312b3f(_0x4af409);},'BqAdK':function(_0x5904b9,_0x38f513){return _0x5904b9(_0x38f513);},'BcwuR':function(_0x355dbc,_0x570f61){return _0x355dbc(_0x570f61);},'zUwDf':function(_0x252298,_0x4920d8){return _0x252298(_0x4920d8);},'hWouI':function(_0x18a40f,_0x2dcbb7,_0x2925b3){return _0x18a40f(_0x2dcbb7,_0x2925b3);}},_0x51d0ad=_0x5c1340[_0x52debd(0x238)](getPlaywrightTestId,_0x5f4021),_0x1aab35=_0x5c1340[_0x52debd(0x203)](getPlaywrightTestTitle,_0x5f4021),_0x55608e=_0x5c1340[_0x52debd(0x238)](getTestTags,_0x5f4021),_0x22d0ea=_0x5c1340['zSGJP'](getPlaywrightTestCode,_0x5f4021),_0x5ecf95=_0x5c1340[_0x52debd(0x250)](getPlaywrightTestFilePath,_0x5f4021),_0x1d8753=_0x5ecf95,_0x5a7b07=_0x5c1340[_0x52debd(0x264)](getPlaywrightTestScope,_0x5f4021),_0x554c8b=_0x5c1340[_0x52debd(0x296)](getPlaywrightTestScopes,_0x5f4021),_0x1971fd=_0x5c1340[_0x52debd(0x264)](getPlaywrightSessionName,_0x5f4021),_0x168b87=this[_0x52debd(0x28e)]()[0x0],_0x274257=_0x5c1340[_0x52debd(0x22b)](getTestRunIdentifier,_0x5f4021,_0x1332bc[_0x52debd(0x23b)]),_0x118299={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x168b87,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x52debd(0x253)]()[_0x168b87],[TestFrameworkConstants[_0x52debd(0x206)]]:[],[TestFrameworkConstants[_0x52debd(0x2f5)]]:{},[TestFrameworkConstants[_0x52debd(0x2a6)]]:{},[TestFrameworkConstants[_0x52debd(0x29c)]]:_0x5b5c57,[TestFrameworkConstants[_0x52debd(0x21a)]]:TestFrameworkConstants[_0x52debd(0x295)],[TestFrameworkConstants[_0x52debd(0x2d8)]]:_0x1971fd,[TestFrameworkConstants[_0x52debd(0x29d)]]:_0x5ecf95,[TestFrameworkConstants[_0x52debd(0x2e5)]]:_0x51d0ad,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x1aab35,[TestFrameworkConstants[_0x52debd(0x2eb)]]:_0x1d8753,[TestFrameworkConstants[_0x52debd(0x2cf)]]:_0x22d0ea,[TestFrameworkConstants[_0x52debd(0x2fc)]]:_0x55608e,[TestFrameworkConstants[_0x52debd(0x21f)]]:_0x5f4021[_0x52debd(0x2a1)][0x0]['startTime'],[TestFrameworkConstants[_0x52debd(0x254)]]:_0x5a7b07,[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x554c8b,[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0x5c1340[_0x52debd(0x250)](getPlaywrightCustomRerunParam,_0x5f4021)};TestInfo['setTestDetails'](_0x274257,_0x118299);const _0x3b1297={};return _0x3b1297[_0x274257]=_0x118299,_0x3b1297;}[a94_0x30d89a(0x2a5)](_0x4e2ba1,_0x16a6aa,_0x3c6d5b,_0x55b094){const _0x4c39c5=a94_0x30d89a,_0x4c6a2a={'HxrXz':function(_0x4a310e,_0x3eaa12){return _0x4a310e(_0x3eaa12);},'DCmWf':_0x4c39c5(0x22f),'ZKjge':function(_0x38a1ae,_0x38a72a){return _0x38a1ae===_0x38a72a;},'ULIOb':_0x4c39c5(0x24b),'zgHId':function(_0x5524c4,_0x36747e,_0xeaa3bb){return _0x5524c4(_0x36747e,_0xeaa3bb);},'EmLnU':_0x4c39c5(0x258),'uosRb':_0x4c39c5(0x265),'jGAPJ':function(_0x30cebb,_0x4158dd){return _0x30cebb===_0x4158dd;},'amxhe':_0x4c39c5(0x235),'dZata':function(_0x3a24f6,_0x1c1335){return _0x3a24f6===_0x1c1335;},'NBpIP':_0x4c39c5(0x2f3),'jdejY':function(_0x1c1d91,_0x126f7a){return _0x1c1d91===_0x126f7a;},'WFbqv':function(_0x4d2562,_0x365391){return _0x4d2562===_0x365391;},'viXqX':_0x4c39c5(0x279),'IbeAm':function(_0x3f232b,_0x27885c){return _0x3f232b||_0x27885c;},'HkJlo':function(_0x12111f,_0x32ef6){return _0x12111f(_0x32ef6);},'MDiTg':function(_0x22f990,_0x3e6d4a){return _0x22f990>_0x3e6d4a;},'EIxVK':function(_0x4eec55,_0x3a8dc3){return _0x4eec55-_0x3a8dc3;},'NSTpi':function(_0x3097f4,_0x270223,_0x452c44,_0x58f3f9){return _0x3097f4(_0x270223,_0x452c44,_0x58f3f9);},'yeJAD':_0x4c39c5(0x214),'ZXcnk':function(_0x2426da,_0x3d1636){return _0x2426da>=_0x3d1636;},'RjJKp':function(_0x18a05a,_0x443e4a){return _0x18a05a+_0x443e4a;},'VwNfe':function(_0x21412b,_0x235ea5,_0x46e15d){return _0x21412b(_0x235ea5,_0x46e15d);},'SPDhA':_0x4c39c5(0x2b0),'PepCR':function(_0x1e3db8,_0x5ea394){return _0x1e3db8>_0x5ea394;},'CKCGl':function(_0x271ec1,_0x2e51d3,_0x5c55a3){return _0x271ec1(_0x2e51d3,_0x5c55a3);},'wYLRn':_0x4c39c5(0x1f9)};logger[_0x4c39c5(0x2fb)](_0x4c39c5(0x1fc)+_0x4e2ba1);const _0x4a1d89=_0x4c6a2a[_0x4c39c5(0x20a)](getTestRunIdentifier,_0x3c6d5b,_0x16a6aa['retry']),_0x1d019c=new Date(),_0x240ef7=_0x16a6aa['status'],_0x35985a=TestInfo[_0x4c39c5(0x252)](_0x4a1d89)[TestFrameworkConstants[_0x4c39c5(0x1fe)]]||{};let _0x54f911=_0x240ef7;if(_0x4c6a2a[_0x4c39c5(0x25d)](_0x16a6aa['status'],_0x3c6d5b[_0x4c39c5(0x288)]))_0x54f911=_0x4c6a2a[_0x4c39c5(0x25d)](_0x16a6aa[_0x4c39c5(0x220)],_0x4c6a2a[_0x4c39c5(0x2b2)])?_0x4c6a2a[_0x4c39c5(0x2b2)]:_0x4c6a2a[_0x4c39c5(0x2a7)];else{(_0x4c6a2a[_0x4c39c5(0x257)](_0x54f911,_0x4c6a2a['uosRb'])||_0x4c6a2a['jGAPJ'](_0x54f911,_0x4c6a2a[_0x4c39c5(0x24e)])||_0x4c6a2a[_0x4c39c5(0x2bd)](_0x54f911,_0x4c6a2a[_0x4c39c5(0x2ef)]))&&(_0x54f911=_0x4c6a2a['amxhe']);if(_0x4c6a2a[_0x4c39c5(0x26b)](_0x16a6aa[_0x4c39c5(0x220)],_0x4c6a2a['uosRb'])&&_0x4c6a2a[_0x4c39c5(0x2b6)](_0x3c6d5b[_0x4c39c5(0x288)],_0x4c6a2a[_0x4c39c5(0x24e)])){const _0x54b894={};_0x54b894[_0x4c39c5(0x28c)]=_0x4c6a2a['viXqX'],_0x54b894[_0x4c39c5(0x20e)]=_0x4c6a2a[_0x4c39c5(0x1f7)],_0x16a6aa[_0x4c39c5(0x23f)]=_0x54b894,_0x16a6aa['errors']=[_0x16a6aa[_0x4c39c5(0x23f)]];}}const {failureData:_0x493126,logs:_0x3d9ef7}=_0x4c6a2a[_0x4c39c5(0x20a)](getFailureData,_0x16a6aa?.[_0x4c39c5(0x2f6)],{}),_0x345392={[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x4c6a2a[_0x4c39c5(0x290)](_0x493126,null),[TestFrameworkConstants[_0x4c39c5(0x24c)]]:_0x16a6aa?.['error']&&_0x4c6a2a[_0x4c39c5(0x2a4)](getFailureType,_0x16a6aa[_0x4c39c5(0x23f)][_0x4c39c5(0x28c)]),[TestFrameworkConstants[_0x4c39c5(0x20d)]]:_0x16a6aa?.[_0x4c39c5(0x23f)]&&_0x4c6a2a[_0x4c39c5(0x2a4)](removeAnsiColors,_0x16a6aa[_0x4c39c5(0x23f)][_0x4c39c5(0x28c)]),[TestFrameworkConstants[_0x4c39c5(0x1ff)]]:[],[TestFrameworkConstants[_0x4c39c5(0x21a)]]:_0x54f911,[TestFrameworkConstants[_0x4c39c5(0x249)]]:_0x1d019c[_0x4c39c5(0x255)](),[TestFrameworkConstants[_0x4c39c5(0x286)]]:new Date()[_0x4c39c5(0x255)](),[TestFrameworkConstants[_0x4c39c5(0x1fe)]]:_0x35985a};if(_0x16a6aa&&_0x4c6a2a[_0x4c39c5(0x2b5)](_0x16a6aa[_0x4c39c5(0x23b)],0x0)){const _0x2ec88d=TestInfo[_0x4c39c5(0x21b)](_0x4c6a2a[_0x4c39c5(0x20a)](getTestRunIdentifier,_0x3c6d5b,_0x4c6a2a[_0x4c39c5(0x2a3)](_0x16a6aa['retry'],0x1)));_0x345392[TestFrameworkConstants[_0x4c39c5(0x233)]]=_0x2ec88d;}const _0x57bb82={};_0x57bb82['test']=_0x3c6d5b;const _0x3fd3b3=this['resolveInstance'](TestFrameworkState[_0x4c39c5(0x2e9)],HookState[_0x4c39c5(0x26a)],_0x57bb82),_0x17cc40=_0x3fd3b3[_0x4c39c5(0x300)]()[_0x4c39c5(0x2ae)](_0x4a1d89)[TestFrameworkConstants['KEY_TEST_UUID']],_0x593399=_0x55b094||_0x4c6a2a[_0x4c39c5(0x2d4)](getStepsAndLogs,_0x16a6aa['steps'],_0x17cc40,_0x4c6a2a[_0x4c39c5(0x2e6)])['steps'],_0x449ff2=new Map(),_0x3ebb1f=new Map();let _0x58a12c=0x0;const _0x5f4582=[];for(const _0x18e6f2 of _0x593399||[]){const _0x499f13=_0x18e6f2[_0x4c39c5(0x27a)]||null;let _0x17ebfb;if(_0x4c6a2a[_0x4c39c5(0x257)](_0x499f13,null)){if(_0x4c6a2a[_0x4c39c5(0x2c9)](_0x58a12c,TestFrameworkConstants[_0x4c39c5(0x25a)]))continue;_0x17ebfb=0x0,_0x58a12c++;}else{const _0x5a81f4=_0x449ff2[_0x4c39c5(0x2ae)](_0x499f13);if(_0x4c6a2a[_0x4c39c5(0x26b)](_0x5a81f4,undefined))continue;_0x17ebfb=_0x4c6a2a['RjJKp'](_0x5a81f4,0x1);if(_0x4c6a2a[_0x4c39c5(0x2b5)](_0x17ebfb,TestFrameworkConstants['MAX_NESTED_STEP_DEPTH']))continue;}_0x449ff2[_0x4c39c5(0x2be)](_0x18e6f2['id'],_0x17ebfb),_0x3ebb1f[_0x4c39c5(0x2be)](_0x18e6f2['id'],_0x18e6f2[_0x4c39c5(0x2d2)]),_0x5f4582[_0x4c39c5(0x276)]({'id':_0x18e6f2['id'],'parent_id':_0x499f13,'parent_text':_0x499f13?_0x3ebb1f[_0x4c39c5(0x2ae)](_0x499f13)||'':'','text':_0x18e6f2[_0x4c39c5(0x2d2)],'keyword':_0x18e6f2[_0x4c39c5(0x25f)]||null,'started_at':_0x18e6f2['started_at'],'duration':_0x18e6f2[_0x4c39c5(0x237)]??null,'result':_0x18e6f2[_0x4c39c5(0x269)],'failure':_0x18e6f2[_0x4c39c5(0x228)]||null,'failure_type':_0x18e6f2['failure_type']||null});}const _0x5645bc={};_0x5645bc['steps']=_0x5f4582,_0x345392[TestFrameworkConstants['KEY_TEST_META']]=_0x5645bc,logger[_0x4c39c5(0x2fb)](_0x4c39c5(0x2d5)+_0x5f4582[_0x4c39c5(0x267)]+_0x4c39c5(0x243)+_0x4e2ba1);const _0x4d3ea5=[],_0x48f87d=_0x4c6a2a['VwNfe'](findNestedKey,_0x16a6aa,_0x4c6a2a[_0x4c39c5(0x2db)]);if(_0x48f87d&&_0x4c6a2a[_0x4c39c5(0x2a4)](validateFilePath,_0x48f87d))try{_0x4d3ea5[_0x4c39c5(0x276)]({'kind':_0x4c6a2a['DCmWf'],'timestamp':new Date()[_0x4c39c5(0x255)](),'test_run_uuid':_0x17cc40,'file_name':path[_0x4c39c5(0x27e)](_0x48f87d),'file_size':fs['statSync'](_0x48f87d)['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0xcbe042){logger[_0x4c39c5(0x23f)](_0x4c39c5(0x2a0)+_0x48f87d+':\x20'+_0xcbe042['message']);}const _0x5d7393=TestInfo[_0x4c39c5(0x244)](),_0x3ef869=_0x5d7393[_0x4c39c5(0x26d)](_0x330ad5=>_0x330ad5[_0x4c39c5(0x2c2)]===_0x17cc40);_0x3ef869[_0x4c39c5(0x241)](_0x2d151c=>{const _0x4f8867=_0x4c39c5;if(_0x2d151c[_0x4f8867(0x294)]&&_0x4c6a2a[_0x4f8867(0x271)](validateFilePath,_0x2d151c[_0x4f8867(0x294)])&&!_0x4d3ea5[_0x4f8867(0x2c6)](_0x4e3c98=>_0x4e3c98[_0x4f8867(0x239)]===path[_0x4f8867(0x27e)](_0x2d151c[_0x4f8867(0x294)])))try{_0x4d3ea5['push']({'kind':_0x4c6a2a['DCmWf'],'timestamp':new Date()[_0x4f8867(0x255)](),'test_run_uuid':_0x17cc40,'file_name':path[_0x4f8867(0x27e)](_0x2d151c[_0x4f8867(0x294)]),'file_size':fs['statSync'](_0x2d151c[_0x4f8867(0x294)])['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x4899f4){logger[_0x4f8867(0x23f)](_0x4f8867(0x297)+_0x2d151c[_0x4f8867(0x294)]+_0x4f8867(0x278)+_0x4899f4['message']);}});if(_0x4c6a2a['PepCR'](_0x4d3ea5[_0x4c39c5(0x267)],0x0)){const _0x4d91bf=_0x345392[TestFrameworkConstants[_0x4c39c5(0x1ff)]]||[];_0x345392[TestFrameworkConstants[_0x4c39c5(0x1ff)]]=[..._0x4d91bf,..._0x4d3ea5];}const _0x54bad1=TestInfo[_0x4c39c5(0x252)](_0x4a1d89)[TestFrameworkConstants[_0x4c39c5(0x2d7)]]||{},_0x114a7f=_0x4c6a2a['CKCGl'](getManualUploadLogs,_0x54bad1,_0x3fd3b3[_0x4c39c5(0x300)]()[_0x4c39c5(0x2ae)](_0x4a1d89)[TestFrameworkConstants[_0x4c39c5(0x29c)]]);if(_0x4c6a2a[_0x4c39c5(0x2b5)](_0x114a7f[_0x4c39c5(0x267)],0x0)){const _0x584cbf=_0x345392[TestFrameworkConstants[_0x4c39c5(0x1ff)]]||[];_0x345392[TestFrameworkConstants[_0x4c39c5(0x1ff)]]=[..._0x584cbf,..._0x114a7f];}const _0xd3b2e=_0x3c6d5b[_0x4c39c5(0x23d)]||[],_0x269db1=_0x345392[TestFrameworkConstants[_0x4c39c5(0x1fe)]]||{},_0x2014dc=_0x4c6a2a[_0x4c39c5(0x271)](require,_0x4c6a2a[_0x4c39c5(0x266)]);_0xd3b2e[_0x4c39c5(0x241)](_0x326f7b=>{const _0x4bdfd1=_0x4c39c5,{type:_0x156419}=_0x326f7b;let _0x4c743b=_0x326f7b[_0x4bdfd1(0x285)];if(!_0x156419)return;if(PLAYWRIGHT_BUILTIN_ANNOTATIONS[_0x4bdfd1(0x1fa)](_0x156419))return;(_0x4c6a2a[_0x4bdfd1(0x25d)](_0x4c743b,undefined)||_0x4c6a2a[_0x4bdfd1(0x25d)](_0x4c743b,null)||_0x4c6a2a['ZKjge'](_0x4c6a2a[_0x4bdfd1(0x271)](String,_0x4c743b)[_0x4bdfd1(0x2f4)](),''))&&(_0x4c743b=_0x4c6a2a[_0x4bdfd1(0x28f)]);const _0x5787b5=helper[_0x4bdfd1(0x20f)](_0x4c6a2a[_0x4bdfd1(0x271)](String,_0x4c743b));_0x2014dc[_0x4bdfd1(0x1f4)](_0x269db1,_0x156419,_0x5787b5);}),_0x345392[TestFrameworkConstants[_0x4c39c5(0x1fe)]]=_0x269db1,TestInfo[_0x4c39c5(0x209)](_0x4a1d89,_0x345392);const _0x39756f={};return _0x39756f[_0x4a1d89]=_0x345392,_0x39756f;}[a94_0x30d89a(0x2ca)](_0x19b489,_0x4bbc63,_0x11c9de){const _0x277b4f=a94_0x30d89a,_0xfa1b28={'IPEpV':function(_0x35248b,_0x3c08ac){return _0x35248b||_0x3c08ac;},'CpqWk':function(_0x13ccf1,_0x1012f9,_0x2874db){return _0x13ccf1(_0x1012f9,_0x2874db);}};try{const {test:_0x2d6409,result:_0x52a1a7,step:_0x94040d}=_0x11c9de;if(_0xfa1b28[_0x277b4f(0x2a8)](!_0x2d6409,!_0x94040d)||!_0x52a1a7)return;const _0x3aedfd=_0xfa1b28[_0x277b4f(0x202)](getTestRunIdentifier,_0x2d6409,_0x52a1a7[_0x277b4f(0x23b)]);logger[_0x277b4f(0x2fb)](_0x277b4f(0x22d)+_0x3aedfd+_0x277b4f(0x205)+_0x4bbc63+_0x277b4f(0x27b)+_0x94040d['title']+'\x22');}catch(_0x2d3729){logger[_0x277b4f(0x23f)](_0x277b4f(0x1f6)+util[_0x277b4f(0x207)](_0x2d3729));}}async[a94_0x30d89a(0x2b3)](_0x57dfec,_0x21d946,_0xe3393,_0x506cb1){const _0x3bb43e=a94_0x30d89a,_0x3674b5={'LVSon':function(_0x1d1b43,_0x295cad,_0x1e07ae){return _0x1d1b43(_0x295cad,_0x1e07ae);},'TLfAj':function(_0x58b800,_0x188d9f){return _0x58b800 in _0x188d9f;},'NehzR':function(_0x3425e8,_0x2a952e){return _0x3425e8 in _0x2a952e;},'ZizLq':function(_0x2afd38,_0x56856d){return _0x2afd38(_0x56856d);},'XIyLG':function(_0xbb4532,_0xf7a759){return _0xbb4532===_0xf7a759;},'ZdHQI':function(_0x48ab84){return _0x48ab84();},'wiaxz':function(_0x11aa97,_0x160214){return _0x11aa97>_0x160214;},'yribm':_0x3bb43e(0x2c3),'XhPMf':function(_0x38fd8e,_0x4223ce){return _0x38fd8e(_0x4223ce);},'pgEus':function(_0x3bd88d,_0x9ae525){return _0x3bd88d(_0x9ae525);},'sbhIm':_0x3bb43e(0x235),'ZMaTn':_0x3bb43e(0x265),'LTBrj':function(_0x123cf8,_0xde1c66){return _0x123cf8!==_0xde1c66;},'cZxwK':function(_0x246a17,_0x429b1d){return _0x246a17+_0x429b1d;},'wXfUq':'hook'},_0x3e0834=_0x506cb1[_0x3bb43e(0x214)],_0x154f92=_0x506cb1[_0x3bb43e(0x20b)],_0x366693=_0x3674b5[_0x3bb43e(0x219)](getTestRunIdentifier,_0x3e0834,_0x506cb1['result']['retry']),_0x1ec4e1=_0x21d946[_0x3bb43e(0x261)]()[_0x3bb43e(0x299)]('.')[0x1];let _0x4a17eb=_0x57dfec[_0x3bb43e(0x300)]()[_0x3bb43e(0x2ae)](_0x366693)[TestFrameworkConstants[_0x3bb43e(0x2a6)]];!_0x4a17eb&&(_0x4a17eb={});!_0x3674b5[_0x3bb43e(0x201)](_0x1ec4e1,_0x4a17eb)&&(_0x4a17eb[_0x1ec4e1]=[]);let _0x258130=_0x57dfec[_0x3bb43e(0x300)]()[_0x3bb43e(0x2ae)](_0x366693)[TestFrameworkConstants[_0x3bb43e(0x2f5)]];!_0x258130&&(_0x258130={});!_0x3674b5['NehzR'](_0x1ec4e1,_0x258130)&&(_0x258130[_0x1ec4e1]=[]);const _0x5cf030={[TestFrameworkConstants[_0x3bb43e(0x2a6)]]:_0x4a17eb,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x258130},_0x3436db={};_0x3436db[_0x366693]=_0x5cf030;const _0x17d538=_0x3436db,_0x5441f8=_0x3674b5[_0x3bb43e(0x1f5)](getPlaywrightTestFilePath,_0x3e0834),_0x33d291=_0x5441f8,_0x465b0f=TestInfo[_0x3bb43e(0x252)](_0x366693)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};if(_0x3674b5['XIyLG'](_0xe3393,HookState[_0x3bb43e(0x2f1)])){const _0x5c04c1={'key':_0x1ec4e1,[TestFrameworkConstants[_0x3bb43e(0x1fd)]]:_0x3674b5[_0x3bb43e(0x25e)](uuidv4),[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x3bb43e(0x284)]]:_0x154f92[_0x3bb43e(0x2c5)],[TestFrameworkConstants[_0x3bb43e(0x2e0)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x154f92[_0x3bb43e(0x277)],[TestFrameworkConstants[_0x3bb43e(0x29d)]]:_0x5441f8,[TestFrameworkConstants[_0x3bb43e(0x2eb)]]:_0x33d291,[TestFrameworkConstants[_0x3bb43e(0x1fe)]]:_0x465b0f};_0x4a17eb[_0x1ec4e1][_0x3bb43e(0x276)](_0x5c04c1),_0x17d538[_0x366693][TestFrameworkConstants[_0x3bb43e(0x2da)]]=_0x1ec4e1,logger[_0x3bb43e(0x2fb)](_0x3bb43e(0x302)+_0x1ec4e1+'\x20&\x20hook\x20=\x20'+_0x5c04c1+_0x3bb43e(0x2ee)+_0x506cb1);}else{if(_0x3674b5[_0x3bb43e(0x2ce)](_0xe3393,HookState[_0x3bb43e(0x26a)])){const _0x4fb35a=await _0x506cb1[_0x3bb43e(0x269)],_0x4dc008=_0x4a17eb[_0x1ec4e1]||[],_0x1ba5da=_0x506cb1[_0x3bb43e(0x20b)];logger[_0x3bb43e(0x2fb)]('Hook\x20List\x20in\x20Post\x20'+_0x4dc008+_0x3bb43e(0x22c)+_0x506cb1);if(_0x3674b5[_0x3bb43e(0x20c)](_0x4dc008[_0x3bb43e(0x267)],0x0)){const _0x4aa042=_0x4dc008[_0x3bb43e(0x24d)]();if(_0x1ba5da['error']){const _0x4fd3f1=_0x3674b5[_0x3bb43e(0x219)](failureData,_0x1ba5da[_0x3bb43e(0x23f)],_0x3674b5['yribm']);_0x4aa042[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=_0x3674b5[_0x3bb43e(0x28b)](getFailureType,_0x1ba5da?.[_0x3bb43e(0x23f)][_0x3bb43e(0x28c)]),_0x4aa042[TestFrameworkConstants[_0x3bb43e(0x260)]]=_0x3674b5[_0x3bb43e(0x213)](removeAnsiColors,_0x1ba5da?.['error'][_0x3bb43e(0x28c)]),_0x4aa042[TestFrameworkConstants[_0x3bb43e(0x2ab)]]=_0x3674b5[_0x3bb43e(0x283)],_0x4aa042[TestFrameworkConstants[_0x3bb43e(0x1f8)]]=_0x4fd3f1;}else _0x4aa042[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x3674b5[_0x3bb43e(0x2cc)];_0x3674b5[_0x3bb43e(0x2e8)](_0x4fb35a,TestFrameworkConstants[_0x3bb43e(0x2ff)])&&(_0x4aa042[TestFrameworkConstants['KEY_HOOK_RESULT']]=!_0x1ba5da[_0x3bb43e(0x23f)]?_0x3674b5[_0x3bb43e(0x2cc)]:_0x3674b5[_0x3bb43e(0x283)]);const _0x49e997=new Date(_0x1ba5da['startTime']),_0x51dcc2=new Date(_0x3674b5[_0x3bb43e(0x230)](_0x49e997[_0x3bb43e(0x225)](),_0x1ba5da[_0x3bb43e(0x237)]));_0x4aa042[TestFrameworkConstants[_0x3bb43e(0x2e1)]]=_0x51dcc2[_0x3bb43e(0x255)](),_0x4aa042[TestFrameworkConstants[_0x3bb43e(0x1fe)]]=_0x465b0f;const _0x1e47af=_0x4aa042[TestFrameworkConstants[_0x3bb43e(0x1fd)]];await this[_0x3bb43e(0x2dc)](_0x57dfec,_0x21d946,_0x1e47af,_0x3674b5['wXfUq'],_0x506cb1),!_0x258130[_0x1ec4e1]&&(_0x258130[_0x1ec4e1]=[]),_0x258130[_0x1ec4e1][_0x3bb43e(0x276)](_0x4aa042),_0x17d538[_0x366693][TestFrameworkConstants[_0x3bb43e(0x27c)]]=_0x1ec4e1;}}}return _0x17d538;}async[a94_0x30d89a(0x2dc)](_0xbd08c5,_0x25a62d,_0x204ad0,_0x5732d0,_0x3a5542,_0x44d596){const _0x47a96e=a94_0x30d89a,_0x41e661={'uGNOM':function(_0x531fb9,_0x1ee274){return _0x531fb9===_0x1ee274;},'TYfqh':_0x47a96e(0x214),'CmouH':function(_0x109069,_0x1b2cb0,_0x564d96){return _0x109069(_0x1b2cb0,_0x564d96);},'qCPej':function(_0x267d87,_0x280d35,_0xb8a98d){return _0x267d87(_0x280d35,_0xb8a98d);},'Ocmod':_0x47a96e(0x291),'TcNAT':function(_0x644094,_0x5b47ee,_0x348cac,_0x1379e5){return _0x644094(_0x5b47ee,_0x348cac,_0x1379e5);},'TlnnN':function(_0x358d69,_0x23931d,_0x444e4c){return _0x358d69(_0x23931d,_0x444e4c);},'vbWMH':function(_0x45f0fb,_0xe8cd0b,_0x4792a6){return _0x45f0fb(_0xe8cd0b,_0x4792a6);},'RZpRY':function(_0x31c0f3,_0x1b7535,_0x32d0b9){return _0x31c0f3(_0x1b7535,_0x32d0b9);},'VzdTO':function(_0x331e31,_0xe37b22,_0x484513){return _0x331e31(_0xe37b22,_0x484513);},'VgDej':function(_0x3f625b,_0x2505ad){return _0x3f625b/_0x2505ad;},'yGDAf':function(_0x2285c0,_0x3d327f){return _0x2285c0<_0x3d327f;},'tTluO':function(_0x534525,_0x469f3b){return _0x534525*_0x469f3b;},'yjKQo':function(_0x443c64,_0x33fe11){return _0x443c64+_0x33fe11;},'dfWNn':function(_0x1cbcae,_0x5e9760,_0x1e6571,_0x253725,_0x40f5e9){return _0x1cbcae(_0x5e9760,_0x1e6571,_0x253725,_0x40f5e9);},'grTEY':function(_0x251c0f,_0x3996a1,_0x527203,_0x375d7e){return _0x251c0f(_0x3996a1,_0x527203,_0x375d7e);},'CbsJn':'hook','JohWR':function(_0x42ebf8,_0x5d3ce2,_0x5800fc,_0x29b779,_0x3e5019){return _0x42ebf8(_0x5d3ce2,_0x5800fc,_0x29b779,_0x3e5019);}};try{if(_0x41e661[_0x47a96e(0x25c)](_0x5732d0,_0x41e661[_0x47a96e(0x2f8)])){const _0x1f40bc=await _0x3a5542[_0x47a96e(0x269)],_0x346946=_0x41e661['CmouH'](getTestRunIdentifier,_0x3a5542['test'],_0x3a5542['result'][_0x47a96e(0x23b)]),_0xf11b2=_0x3a5542[_0x47a96e(0x214)];logger[_0x47a96e(0x2fb)](_0x47a96e(0x246)+_0x346946+_0x47a96e(0x211)+util[_0x47a96e(0x2d3)](_0x1f40bc));const _0x520fbb=_0xbd08c5[_0x47a96e(0x300)]()[_0x47a96e(0x2ae)](_0x346946)[TestFrameworkConstants[_0x47a96e(0x29c)]];await _0x41e661[_0x47a96e(0x23c)](sendTraceZip,_0x1f40bc,_0x520fbb);const _0x56e5be=TestInfo[_0x47a96e(0x252)](_0x346946)[_0x41e661['Ocmod']],_0x3f5920={};if(_0x56e5be){!_0x1f40bc['attachments']&&(_0x1f40bc[_0x47a96e(0x291)]=[]);_0x3f5920[_0x47a96e(0x291)]=_0x1f40bc['attachments'][_0x47a96e(0x223)](_0x56e5be||[]);const _0x1e9fa6=TestInfo[_0x47a96e(0x252)](_0x346946);delete _0x1e9fa6[_0x41e661[_0x47a96e(0x2d6)]],TestInfo[_0x47a96e(0x209)](_0x346946,_0x1e9fa6);}const _0x3e4cf1=_0x44d596||_0x41e661[_0x47a96e(0x2bb)](getStepsAndLogs,_0x1f40bc[_0x47a96e(0x301)],_0xbd08c5['getAllData']()[_0x47a96e(0x2ae)](_0x346946)[TestFrameworkConstants[_0x47a96e(0x29c)]],_0x41e661[_0x47a96e(0x2f8)])['logs'],_0x5754dd=_0x41e661['TlnnN'](getScreenshots,_0x3f5920,_0xbd08c5['getAllData']()[_0x47a96e(0x2ae)](_0x346946)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x49106d=_0x41e661['vbWMH'](getVideos,_0x1f40bc,_0xbd08c5[_0x47a96e(0x300)]()['get'](_0x346946)[TestFrameworkConstants[_0x47a96e(0x29c)]]),{_:_0x113121,logs:_0x136169}=_0x41e661[_0x47a96e(0x2f0)](getFailureData,_0x1f40bc[_0x47a96e(0x2f6)],{'test_run_uuid':_0xbd08c5[_0x47a96e(0x300)]()[_0x47a96e(0x2ae)](_0x346946)[TestFrameworkConstants[_0x47a96e(0x29c)]]}),_0xe76e95=TestInfo[_0x47a96e(0x252)](_0x346946)[TestFrameworkConstants[_0x47a96e(0x2d7)]]||{},_0x38a86b=_0x41e661[_0x47a96e(0x22a)](getMediaArtifactsLogs,_0xe76e95,_0xbd08c5[_0x47a96e(0x300)]()[_0x47a96e(0x2ae)](_0x346946)[TestFrameworkConstants[_0x47a96e(0x29c)]]),_0x5ad3ac=_0xbd08c5[_0x47a96e(0x300)]()[_0x47a96e(0x2ae)](_0x346946),{[TestFrameworkConstants[_0x47a96e(0x2b7)]]:_0x2ff399='',[TestFrameworkConstants[_0x47a96e(0x2ec)]]:_0x405f14=''}=_0x5ad3ac,_0x461cae=(_0x3e4cf1||[])[_0x47a96e(0x223)](_0x5754dd||[])[_0x47a96e(0x223)](_0x136169||[])[_0x47a96e(0x223)](_0x49106d||[])[_0x47a96e(0x223)](_0x38a86b||[]),_0x42c0c3=0x28,_0x5316ec=Math[_0x47a96e(0x2e3)](_0x41e661[_0x47a96e(0x29b)](_0x461cae[_0x47a96e(0x267)],_0x42c0c3));for(let _0x5400b3=0x0;_0x41e661[_0x47a96e(0x281)](_0x5400b3,_0x5316ec);_0x5400b3++){const _0x297904=_0x41e661['tTluO'](_0x5400b3,_0x42c0c3),_0x166e15=_0x41e661[_0x47a96e(0x274)](_0x297904,_0x42c0c3),_0x1e42aa=_0x461cae[_0x47a96e(0x26e)](_0x297904,_0x166e15),_0x4720df={'platformIndex':global?.[_0x47a96e(0x2df)]??0x0,'logs':_0x1e42aa,'testFrameworkName':_0x2ff399,'testFrameworkVersion':_0x405f14,'testFrameworkState':_0x25a62d[_0x47a96e(0x261)]()[_0x47a96e(0x299)]('.')[0x1]};_0x41e661[_0x47a96e(0x280)](updatePayloadForTraceLogs,_0x4720df,_0x3a5542,_0x346946,_0xbd08c5),logger['debug'](_0x47a96e(0x236)+_0x346946+_0x47a96e(0x23a)+_0x41e661['yjKQo'](_0x5400b3,0x1)+'/'+_0x5316ec+'\x20payload='+util[_0x47a96e(0x2d3)](_0x4720df));const _0x1e43b4=await GrpcClient[_0x47a96e(0x251)]()['logCreatedEvent'](_0x4720df);logger[_0x47a96e(0x2fb)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x346946+'\x20batch\x20'+_0x41e661[_0x47a96e(0x274)](_0x5400b3,0x1)+'/'+_0x5316ec+_0x47a96e(0x24f)+util['inspect'](_0x1e43b4));}}else{const {logs:_0x3f9b3e}=_0x41e661[_0x47a96e(0x224)](getStepsAndLogs,_0x3a5542[_0x47a96e(0x20b)][_0x47a96e(0x301)],_0x204ad0,_0x41e661[_0x47a96e(0x2dd)]),_0x177dab=_0x41e661[_0x47a96e(0x22a)](getTestRunIdentifier,_0x3a5542[_0x47a96e(0x214)],_0x3a5542[_0x47a96e(0x269)]['retry']);logger[_0x47a96e(0x2fb)]('sendLogCreatedEvent:\x20testId='+_0x177dab);const _0x169a2a=_0xbd08c5[_0x47a96e(0x300)]()[_0x47a96e(0x2ae)](_0x177dab),{[TestFrameworkConstants[_0x47a96e(0x2b7)]]:_0x1cc36c='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x52a3a9=''}=_0x169a2a,_0x1446bd={'platformIndex':'0','logs':_0x3f9b3e,'testFrameworkName':_0x1cc36c,'testFrameworkVersion':_0x52a3a9,'testFrameworkState':_0x25a62d[_0x47a96e(0x261)]()[_0x47a96e(0x299)]('.')[0x1]};_0x41e661[_0x47a96e(0x289)](updatePayloadForTraceLogs,_0x1446bd,_0x3a5542,_0x177dab,_0xbd08c5),logger[_0x47a96e(0x2fb)](_0x47a96e(0x236)+_0x177dab+'\x20payload='+util[_0x47a96e(0x2d3)](_0x1446bd));const _0x585fe6=await GrpcClient[_0x47a96e(0x251)]()[_0x47a96e(0x259)](_0x1446bd);}}catch(_0x2c9638){logger[_0x47a96e(0x23f)](_0x47a96e(0x200)+util[_0x47a96e(0x207)](_0x2c9638));}}[a94_0x30d89a(0x2aa)](_0x7d5c72){const _0xc6b6f4=a94_0x30d89a,_0x863c9c={'IRySo':function(_0x1bd5f1,_0x27ed96,_0x43ce2e){return _0x1bd5f1(_0x27ed96,_0x43ce2e);},'mokWb':function(_0x51daae,_0x19073c){return _0x51daae<_0x19073c;},'uzWni':'base64'};try{const _0x1933f9=_0x7d5c72[_0xc6b6f4(0x214)]['id'],_0x4f1a91=_0x863c9c['IRySo'](getTestRunIdentifier,_0x7d5c72['test'],_0x7d5c72[_0xc6b6f4(0x269)][_0xc6b6f4(0x23b)]),_0x29b70d=_0x7d5c72[_0xc6b6f4(0x2a2)],_0xf260c0=_0x29b70d[_0xc6b6f4(0x2c0)](),_0x3fb680=_0x29b70d[_0xc6b6f4(0x300)]()['get'](_0x4f1a91);logger['debug'](_0xc6b6f4(0x273)+_0x1933f9);const {[TestFrameworkConstants[_0xc6b6f4(0x2b7)]]:_0x5524ea='',[TestFrameworkConstants[_0xc6b6f4(0x2ec)]]:_0x15b47d='',[TestFrameworkConstants[_0xc6b6f4(0x21f)]]:_0x4c6226='',[TestFrameworkConstants[_0xc6b6f4(0x249)]]:_0x4115c8=''}=_0x3fb680,_0x233076=_0x29b70d[_0xc6b6f4(0x2e4)]()[_0xc6b6f4(0x261)]()[_0xc6b6f4(0x299)]('.')[0x1],_0xbbabe6=_0x29b70d[_0xc6b6f4(0x2f9)]()[_0xc6b6f4(0x261)]()[_0xc6b6f4(0x299)]('.')[0x1],_0x3ff1db=_0x863c9c['mokWb'](_0x7d5c72?.['result']?.[_0xc6b6f4(0x2cd)]??0x0,0x0)?0x0:_0x7d5c72?.[_0xc6b6f4(0x269)]?.['parallelIndex']??0x0,_0x42f3cd=_0x29b70d[_0xc6b6f4(0x204)](),_0x2ed6e0=Buffer[_0xc6b6f4(0x226)](JSON['stringify'](_0x3fb680))['toString'](_0x863c9c[_0xc6b6f4(0x270)]),_0x49ac87={'hash':_0xf260c0[_0xc6b6f4(0x272)](),'threadId':_0xf260c0['getThreadId']()['toString'](),'processId':_0xf260c0[_0xc6b6f4(0x21c)]()['toString']()},_0x4a8bd5={};_0x4a8bd5[_0xc6b6f4(0x2c8)]=_0x3ff1db,_0x4a8bd5[_0xc6b6f4(0x29a)]=_0x5524ea,_0x4a8bd5[_0xc6b6f4(0x262)]=_0x15b47d,_0x4a8bd5[_0xc6b6f4(0x227)]=_0x233076,_0x4a8bd5['hookState']=_0xbbabe6,_0x4a8bd5[_0xc6b6f4(0x2c4)]=_0x4c6226,_0x4a8bd5['endedAt']=_0x4115c8,_0x4a8bd5[_0xc6b6f4(0x27d)]=_0x42f3cd,_0x4a8bd5[_0xc6b6f4(0x2d1)]=_0x2ed6e0,_0x4a8bd5['executionContext']=_0x49ac87;const _0x443a92=_0x4a8bd5;return logger[_0xc6b6f4(0x2fb)](_0xc6b6f4(0x22e)+_0x1933f9+_0xc6b6f4(0x210)+_0x233076+'\x20hookState:\x20'+_0xbbabe6),_0x443a92;}catch(_0x5910e2){return logger[_0xc6b6f4(0x23f)](_0xc6b6f4(0x268)+util[_0xc6b6f4(0x207)](_0x5910e2)),{};}}}module[a94_0x30d89a(0x2c1)]=PlaywrightTestFramework;
@@ -1 +1 @@
1
- const a95_0xfbe8c1=a95_0x32c0;(function(_0x56de81,_0x54ca60){const _0x3af472=a95_0x32c0,_0x4cf026=_0x56de81();while(!![]){try{const _0x48c6fd=-parseInt(_0x3af472(0xd3))/0x1+-parseInt(_0x3af472(0xd5))/0x2*(-parseInt(_0x3af472(0xdf))/0x3)+parseInt(_0x3af472(0xf2))/0x4*(parseInt(_0x3af472(0xd7))/0x5)+-parseInt(_0x3af472(0xf1))/0x6+parseInt(_0x3af472(0xee))/0x7*(-parseInt(_0x3af472(0xd0))/0x8)+parseInt(_0x3af472(0xef))/0x9+parseInt(_0x3af472(0xf4))/0xa;if(_0x48c6fd===_0x54ca60)break;else _0x4cf026['push'](_0x4cf026['shift']());}catch(_0x7e5de1){_0x4cf026['push'](_0x4cf026['shift']());}}}(a95_0x7167,0xe9c3c));function a95_0x32c0(_0x26d923,_0x1184f3){const _0x71670c=a95_0x7167();return a95_0x32c0=function(_0x32c0d1,_0x18b5f8){_0x32c0d1=_0x32c0d1-0xcf;let _0x5d248d=_0x71670c[_0x32c0d1];return _0x5d248d;},a95_0x32c0(_0x26d923,_0x1184f3);}const AutomationFramework=require(a95_0xfbe8c1(0xda)),{createClassLogger}=require(a95_0xfbe8c1(0xe8)),AutomationFrameworkState=require(a95_0xfbe8c1(0xd2)),HookState=require(a95_0xfbe8c1(0xe2)),CLIUtils=require(a95_0xfbe8c1(0xd8)),TrackedInstance=require('../instances/trackedInstance.js'),AutomationFrameworkInstance=require(a95_0xfbe8c1(0xed));class PuppeteerAutomationFramework extends AutomationFramework{[a95_0xfbe8c1(0xe4)]=createClassLogger(a95_0xfbe8c1(0xea));constructor(_0x4a36f3,_0x5baa5f){super(_0x4a36f3,_0x5baa5f);}async[a95_0xfbe8c1(0xe0)](_0x3b13ca,_0x59c75a,_0x272926={}){const _0xf4de57=a95_0xfbe8c1,_0xd5bd31={};_0xd5bd31[_0xf4de57(0xe5)]=function(_0x1f0881,_0x5be67a){return _0x1f0881===_0x5be67a;},_0xd5bd31[_0xf4de57(0xe1)]=_0xf4de57(0xf7);const _0x1a3c8b=_0xd5bd31;this[_0xf4de57(0xe4)]['debug']('trackEvent:\x20automationFrameworkState='+_0x3b13ca+_0xf4de57(0xde)+_0x59c75a),await super[_0xf4de57(0xe0)](_0x3b13ca,_0x59c75a,_0x272926);const _0x1d49e6=this[_0xf4de57(0xec)](_0x3b13ca,_0x59c75a,_0x272926);if(_0x1a3c8b[_0xf4de57(0xe5)](_0x1d49e6,null)){this['logger']['debug'](_0x1a3c8b['ZgXgn']);return;}_0x272926['instance']=_0x1d49e6,await this[_0xf4de57(0xf5)](_0x1d49e6,_0x3b13ca,_0x59c75a,_0x272926);}['resolveInstance'](_0x13e764,_0x5093d9,_0x369d26={}){const _0x15efc3=a95_0xfbe8c1,_0x15ad93={};_0x15ad93['xjRAy']=function(_0x19ebc1,_0x7fcafe){return _0x19ebc1===_0x7fcafe;},_0x15ad93['TDycj']=function(_0x27bf48,_0x15cb7d){return _0x27bf48===_0x15cb7d;},_0x15ad93[_0x15efc3(0xdc)]=function(_0x5509a1,_0x25a77b){return _0x5509a1===_0x25a77b;};const _0x5bbbe2=_0x15ad93;let _0x364a5b=null;return(_0x5bbbe2['xjRAy'](_0x13e764,AutomationFrameworkState['CREATE'])&&_0x5bbbe2[_0x15efc3(0xd6)](_0x5093d9,HookState[_0x15efc3(0xcf)])||_0x5bbbe2['uanwm'](_0x13e764,AutomationFrameworkState[_0x15efc3(0xdd)]))&&this['trackPuppeteerInstance'](_0x13e764,_0x369d26),_0x364a5b=AutomationFramework[_0x15efc3(0xe9)](),_0x364a5b;}['trackPuppeteerInstance'](_0x46b1e4,_0x201760){const _0x442273=a95_0xfbe8c1,_0x1d1a00={};_0x1d1a00[_0x442273(0xe6)]=_0x442273(0xf0);const _0x8a701b=_0x1d1a00;if(AutomationFramework[_0x442273(0xe9)]()){this['logger'][_0x442273(0xdb)](_0x8a701b[_0x442273(0xe6)]);return;}const _0x30449a=CLIUtils[_0x442273(0xd1)](),_0xb00ae0=TrackedInstance['createContext'](_0x30449a);let _0x62b748=null;this['logger'][_0x442273(0xdb)](_0x442273(0xf3)+_0x30449a+',\x20state='+_0x46b1e4),_0x62b748=new AutomationFrameworkInstance(_0xb00ae0,this['getAutomationFrameworkName'](),this[_0x442273(0xe3)](),_0x46b1e4),AutomationFramework[_0x442273(0xe7)](_0xb00ae0,_0x62b748),this['logger'][_0x442273(0xdb)](_0x442273(0xeb)+_0xb00ae0[_0x442273(0xf6)]()+_0x442273(0xd4)+_0x30449a);}}module[a95_0xfbe8c1(0xd9)]=PuppeteerAutomationFramework;function a95_0x7167(){const _0x2edd7b=['ZgXgn','../state/hookState.js','getAutomationFrameworkVersion','logger','fDMhJ','bRcIS','setTrackedInstance','../../../helpers/classLogger.js','getTrackedInstance','PuppeteerAutomationFramework','trackPuppeteerInstance:\x20saved\x20instance\x20contextId=','resolveInstance','../instances/automationFrameworkInstance.js','255122pYDomm','7434324owNHVc','trackPuppeteerInstance:\x20instance\x20already\x20exists','9733860MdVjVP','16ttdEaw','trackPuppeteerInstance:\x20created\x20instance\x20for\x20target=','14377940wSysle','runHooks','getId','trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking','PRE','360kRznJn','getCurrentInstanceName','../state/automationFrameworkState.js','42393IceMIa','\x20target=','10JKtNzZ','TDycj','418985RcrScS','../cliUtils.js','exports','./automationFramework.js','info','uanwm','NONE','\x20hookState=','997953aRqYRW','trackEvent'];a95_0x7167=function(){return _0x2edd7b;};return a95_0x7167();}
1
+ function a95_0x2ac6(){const _0x35c0f4=['15YjbqAn','15dUQgDa','8dqPvZQ','PRE','../state/hookState.js','logger','../instances/trackedInstance.js','aiiWD','1412922VtVvJV','setTrackedInstance','instance','../cliUtils.js','getCurrentInstanceName','531316gjAQYT','getTrackedInstance','NONE','createContext','772051ZvwvbA','runHooks','trackPuppeteerInstance','816282XxkTkO','lCcvZ','getAutomationFrameworkVersion','../state/automationFrameworkState.js','8933850nsNDda','fFVdS',',\x20state=','getAutomationFrameworkName','trackPuppeteerInstance:\x20saved\x20instance\x20contextId=','aQNsr','info','exports','getId','../instances/automationFrameworkInstance.js','45451jggnZK','CREATE','82244bSnQzo','\x20target=','trackPuppeteerInstance:\x20instance\x20already\x20exists','trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking','trackEvent','resolveInstance','debug','\x20hookState='];a95_0x2ac6=function(){return _0x35c0f4;};return a95_0x2ac6();}function a95_0x335a(_0x17ed34,_0x3adc30){const _0x2ac6d7=a95_0x2ac6();return a95_0x335a=function(_0x335ac1,_0x87245c){_0x335ac1=_0x335ac1-0xb7;let _0xf3f8db=_0x2ac6d7[_0x335ac1];return _0xf3f8db;},a95_0x335a(_0x17ed34,_0x3adc30);}const a95_0x263504=a95_0x335a;(function(_0x5be3f0,_0x5bedcf){const _0x2426e0=a95_0x335a,_0x4129ed=_0x5be3f0();while(!![]){try{const _0x5c6c29=-parseInt(_0x2426e0(0xde))/0x1+-parseInt(_0x2426e0(0xc5))/0x2*(-parseInt(_0x2426e0(0xcd))/0x3)+parseInt(_0x2426e0(0xda))/0x4*(parseInt(_0x2426e0(0xce))/0x5)+-parseInt(_0x2426e0(0xd5))/0x6+-parseInt(_0x2426e0(0xc3))/0x7+parseInt(_0x2426e0(0xcf))/0x8*(-parseInt(_0x2426e0(0xe1))/0x9)+parseInt(_0x2426e0(0xb9))/0xa;if(_0x5c6c29===_0x5bedcf)break;else _0x4129ed['push'](_0x4129ed['shift']());}catch(_0x49fe49){_0x4129ed['push'](_0x4129ed['shift']());}}}(a95_0x2ac6,0x5fe31));const AutomationFramework=require('./automationFramework.js'),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFrameworkState=require(a95_0x263504(0xb8)),HookState=require(a95_0x263504(0xd1)),CLIUtils=require(a95_0x263504(0xd8)),TrackedInstance=require(a95_0x263504(0xd3)),AutomationFrameworkInstance=require(a95_0x263504(0xc2));class PuppeteerAutomationFramework extends AutomationFramework{['logger']=createClassLogger('PuppeteerAutomationFramework');constructor(_0x23024b,_0x42d513){super(_0x23024b,_0x42d513);}async[a95_0x263504(0xc9)](_0x226984,_0x216bdf,_0x21b222={}){const _0x1c8819=a95_0x263504,_0x355682={};_0x355682[_0x1c8819(0xe2)]=function(_0x526faa,_0x38bbf7){return _0x526faa===_0x38bbf7;},_0x355682[_0x1c8819(0xba)]=_0x1c8819(0xc8);const _0x5916f0=_0x355682;this['logger'][_0x1c8819(0xcb)]('trackEvent:\x20automationFrameworkState='+_0x226984+_0x1c8819(0xcc)+_0x216bdf),await super[_0x1c8819(0xc9)](_0x226984,_0x216bdf,_0x21b222);const _0x51f9ec=this['resolveInstance'](_0x226984,_0x216bdf,_0x21b222);if(_0x5916f0[_0x1c8819(0xe2)](_0x51f9ec,null)){this['logger'][_0x1c8819(0xcb)](_0x5916f0[_0x1c8819(0xba)]);return;}_0x21b222[_0x1c8819(0xd7)]=_0x51f9ec,await this[_0x1c8819(0xdf)](_0x51f9ec,_0x226984,_0x216bdf,_0x21b222);}[a95_0x263504(0xca)](_0x127053,_0x1006d5,_0x37e3f2={}){const _0x11102d=a95_0x263504,_0x41cb8b={};_0x41cb8b[_0x11102d(0xbe)]=function(_0x1fcd33,_0x39c87a){return _0x1fcd33===_0x39c87a;};const _0x4a7dca=_0x41cb8b;let _0x38d908=null;return(_0x4a7dca[_0x11102d(0xbe)](_0x127053,AutomationFrameworkState[_0x11102d(0xc4)])&&_0x4a7dca[_0x11102d(0xbe)](_0x1006d5,HookState[_0x11102d(0xd0)])||_0x4a7dca['aQNsr'](_0x127053,AutomationFrameworkState[_0x11102d(0xdc)]))&&this[_0x11102d(0xe0)](_0x127053,_0x37e3f2),_0x38d908=AutomationFramework[_0x11102d(0xdb)](),_0x38d908;}['trackPuppeteerInstance'](_0x2e80b0,_0x329d86){const _0x2ae114=a95_0x263504,_0x3169c2={};_0x3169c2['aiiWD']=_0x2ae114(0xc7);const _0x241112=_0x3169c2;if(AutomationFramework['getTrackedInstance']()){this[_0x2ae114(0xd2)]['info'](_0x241112[_0x2ae114(0xd4)]);return;}const _0x31d7a6=CLIUtils[_0x2ae114(0xd9)](),_0x5455c2=TrackedInstance[_0x2ae114(0xdd)](_0x31d7a6);let _0x3f1974=null;this[_0x2ae114(0xd2)]['info']('trackPuppeteerInstance:\x20created\x20instance\x20for\x20target='+_0x31d7a6+_0x2ae114(0xbb)+_0x2e80b0),_0x3f1974=new AutomationFrameworkInstance(_0x5455c2,this[_0x2ae114(0xbc)](),this[_0x2ae114(0xb7)](),_0x2e80b0),AutomationFramework[_0x2ae114(0xd6)](_0x5455c2,_0x3f1974),this['logger'][_0x2ae114(0xbf)](_0x2ae114(0xbd)+_0x5455c2[_0x2ae114(0xc1)]()+_0x2ae114(0xc6)+_0x31d7a6);}}module[a95_0x263504(0xc0)]=PuppeteerAutomationFramework;
@@ -1 +1 @@
1
- function a96_0x50f8(_0x279d0c,_0x1fd337){const _0x239213=a96_0x2392();return a96_0x50f8=function(_0x50f851,_0x57c169){_0x50f851=_0x50f851-0x155;let _0x2d4815=_0x239213[_0x50f851];return _0x2d4815;},a96_0x50f8(_0x279d0c,_0x1fd337);}const a96_0x1e5e48=a96_0x50f8;(function(_0xf8aa29,_0x4356ad){const _0x2faf5f=a96_0x50f8,_0x43ccdf=_0xf8aa29();while(!![]){try{const _0x4623ab=parseInt(_0x2faf5f(0x17b))/0x1*(-parseInt(_0x2faf5f(0x177))/0x2)+parseInt(_0x2faf5f(0x16e))/0x3*(-parseInt(_0x2faf5f(0x173))/0x4)+-parseInt(_0x2faf5f(0x170))/0x5+parseInt(_0x2faf5f(0x162))/0x6+parseInt(_0x2faf5f(0x15f))/0x7+parseInt(_0x2faf5f(0x157))/0x8+-parseInt(_0x2faf5f(0x15b))/0x9*(-parseInt(_0x2faf5f(0x176))/0xa);if(_0x4623ab===_0x4356ad)break;else _0x43ccdf['push'](_0x43ccdf['shift']());}catch(_0x3d82c4){_0x43ccdf['push'](_0x43ccdf['shift']());}}}(a96_0x2392,0x593b1));function a96_0x2392(){const _0x1e7661=['exports','setState','3404418SkiBkX','../../../helpers/classLogger','setInstance','trackEvent','trackEvent:\x20testFrameworkState=','../instances/trackedInstance',';\x20hookState=','setCurrentHookState','getAllData','get','../state/hookState','../eventDispatcher','36258WqozqL','../instances/testFrameworkInstance','1473290bZTseY','set','getState','48YjNwXD','__bstack_test_framework_instances__','registerObserver','1472270nZwqWk','68024rcHKcz','getInstances','instances','has','19vfoIdY','../cliUtils','runHooks','testFrameworks','binSessionId','getCurrentInstanceName','getTestFrameworks','setCurrentTestState','1891568gzbgKl','TestFramework','hasState','getHookRegistryKey','9ESTcsT','notifyObserver','getId','getTrackedInstance','3502317QOwqgW'];a96_0x2392=function(){return _0x1e7661;};return a96_0x2392();}const CLIUtils=require(a96_0x1e5e48(0x17c)),eventDispatcher=require(a96_0x1e5e48(0x16d)),TestFrameworkInstance=require(a96_0x1e5e48(0x16f)),TrackedContext=require('../instances/trackedContext'),TestFrameworkState=require('../state/testFrameworkState'),HookState=require(a96_0x1e5e48(0x16c)),{createClassLogger}=require(a96_0x1e5e48(0x163)),TrackedInstance=require(a96_0x1e5e48(0x167)),logger=createClassLogger(a96_0x1e5e48(0x158));!global[a96_0x1e5e48(0x174)]&&(global[a96_0x1e5e48(0x174)]=new Map());class TestFramework{static get[a96_0x1e5e48(0x179)](){const _0xaa898d=a96_0x1e5e48;return global[_0xaa898d(0x174)];}['testFrameworks']=[];['testFrameworkVersions']={};[a96_0x1e5e48(0x17f)]=null;constructor(_0x502c4d,_0x35d983,_0x41f0b2){const _0x360cfa=a96_0x1e5e48;this[_0x360cfa(0x17e)]=_0x502c4d,this['testFrameworkVersions']=_0x35d983,this[_0x360cfa(0x17f)]=_0x41f0b2;}[a96_0x1e5e48(0x178)](){return TestFramework['instances'];}[a96_0x1e5e48(0x164)](_0x2cf3a0,_0x154255){const _0x471185=a96_0x1e5e48;TestFramework[_0x471185(0x179)][_0x471185(0x171)](_0x2cf3a0['getId'],_0x154255);}static[a96_0x1e5e48(0x15e)](){const _0x43b5e1=a96_0x1e5e48,_0x4a72e4=TrackedInstance['createContext'](CLIUtils[_0x43b5e1(0x180)]());return TestFramework[_0x43b5e1(0x179)][_0x43b5e1(0x16b)](_0x4a72e4[_0x43b5e1(0x15d)]());}static['setTrackedInstance'](_0x143e2f,_0x1f9411){const _0x3c9f5c=a96_0x1e5e48;TestFramework[_0x3c9f5c(0x179)][_0x3c9f5c(0x171)](_0x143e2f[_0x3c9f5c(0x15d)](),_0x1f9411);}['getTestFrameworksVersions'](){return this['testFrameworkVersions'];}[a96_0x1e5e48(0x155)](){const _0x1e49a9=a96_0x1e5e48;return this[_0x1e49a9(0x17e)];}[a96_0x1e5e48(0x165)](_0x2ec44a,_0xa349fc,_0x345106={}){const _0x5edc15=a96_0x1e5e48;logger['debug'](_0x5edc15(0x166)+_0x2ec44a+_0x5edc15(0x168)+_0xa349fc);}async[a96_0x1e5e48(0x17d)](_0x5157df,_0x1393e6,_0x3e2d95,_0x3a6e88={}){const _0x37322c=a96_0x1e5e48,_0x492501=CLIUtils[_0x37322c(0x15a)](_0x1393e6,_0x3e2d95);_0x5157df[_0x37322c(0x156)](_0x1393e6),_0x5157df[_0x37322c(0x169)](_0x3e2d95),await eventDispatcher[_0x37322c(0x15c)](_0x492501,_0x3a6e88);}static[a96_0x1e5e48(0x175)](_0x2b779e,_0x5e8d82,_0x3f1e32){eventDispatcher['registerObserver'](CLIUtils['getHookRegistryKey'](_0x2b779e,_0x5e8d82),_0x3f1e32);}static[a96_0x1e5e48(0x172)](_0x610ae8,_0x1b65ca){const _0x374a85=a96_0x1e5e48;return _0x610ae8[_0x374a85(0x16a)]()[_0x374a85(0x16b)](_0x1b65ca);}static[a96_0x1e5e48(0x161)](_0x2fe99a,_0xaf659f,_0x35b260){const _0x13f424=a96_0x1e5e48;_0x2fe99a[_0x13f424(0x16a)]()['set'](_0xaf659f,_0x35b260);}static[a96_0x1e5e48(0x159)](_0x20076a,_0x2438d6){const _0x3e4284=a96_0x1e5e48;return _0x20076a[_0x3e4284(0x16a)]()[_0x3e4284(0x17a)](_0x2438d6);}}module[a96_0x1e5e48(0x160)]=TestFramework;
1
+ function a96_0x9b6b(_0x18cb68,_0x1719f5){const _0x28e07b=a96_0x28e0();return a96_0x9b6b=function(_0x9b6b34,_0x7bf421){_0x9b6b34=_0x9b6b34-0xa0;let _0x20cfc9=_0x28e07b[_0x9b6b34];return _0x20cfc9;},a96_0x9b6b(_0x18cb68,_0x1719f5);}const a96_0x22daa6=a96_0x9b6b;(function(_0x40052f,_0xca7591){const _0x970cfa=a96_0x9b6b,_0x570c83=_0x40052f();while(!![]){try{const _0xcae3ec=parseInt(_0x970cfa(0xa2))/0x1+parseInt(_0x970cfa(0xbf))/0x2*(parseInt(_0x970cfa(0xa0))/0x3)+-parseInt(_0x970cfa(0xc7))/0x4+-parseInt(_0x970cfa(0xa5))/0x5*(parseInt(_0x970cfa(0xc9))/0x6)+parseInt(_0x970cfa(0xbd))/0x7+parseInt(_0x970cfa(0xa6))/0x8+-parseInt(_0x970cfa(0xaa))/0x9;if(_0xcae3ec===_0xca7591)break;else _0x570c83['push'](_0x570c83['shift']());}catch(_0x51d1e8){_0x570c83['push'](_0x570c83['shift']());}}}(a96_0x28e0,0xd35e6));const CLIUtils=require(a96_0x22daa6(0xc0)),eventDispatcher=require(a96_0x22daa6(0xbc)),TestFrameworkInstance=require('../instances/testFrameworkInstance'),TrackedContext=require(a96_0x22daa6(0xae)),TestFrameworkState=require(a96_0x22daa6(0xb2)),HookState=require(a96_0x22daa6(0xb5)),{createClassLogger}=require(a96_0x22daa6(0xa8)),TrackedInstance=require('../instances/trackedInstance'),logger=createClassLogger(a96_0x22daa6(0xb0));!global[a96_0x22daa6(0xab)]&&(global[a96_0x22daa6(0xab)]=new Map());class TestFramework{static get['instances'](){const _0x280795=a96_0x22daa6;return global[_0x280795(0xab)];}[a96_0x22daa6(0xb6)]=[];[a96_0x22daa6(0xa3)]={};['binSessionId']=null;constructor(_0x33fdfc,_0x1eea9f,_0x4c7050){const _0x12bbe9=a96_0x22daa6;this['testFrameworks']=_0x33fdfc,this[_0x12bbe9(0xa3)]=_0x1eea9f,this[_0x12bbe9(0xaf)]=_0x4c7050;}[a96_0x22daa6(0xa9)](){const _0x405c4b=a96_0x22daa6;return TestFramework[_0x405c4b(0xc3)];}['setInstance'](_0x19f7ce,_0x1e503b){const _0x72c528=a96_0x22daa6;TestFramework[_0x72c528(0xc3)][_0x72c528(0xc8)](_0x19f7ce[_0x72c528(0xc2)],_0x1e503b);}static[a96_0x22daa6(0xac)](){const _0x3127fc=a96_0x22daa6,_0x26e33f=TrackedInstance[_0x3127fc(0xad)](CLIUtils[_0x3127fc(0xbb)]());return TestFramework[_0x3127fc(0xc3)][_0x3127fc(0xa1)](_0x26e33f[_0x3127fc(0xc2)]());}static[a96_0x22daa6(0xc4)](_0x1c695b,_0x55ddf8){const _0x7648d7=a96_0x22daa6;TestFramework[_0x7648d7(0xc3)][_0x7648d7(0xc8)](_0x1c695b[_0x7648d7(0xc2)](),_0x55ddf8);}[a96_0x22daa6(0xc1)](){const _0x11a1f7=a96_0x22daa6;return this[_0x11a1f7(0xa3)];}['getTestFrameworks'](){const _0x3b20d7=a96_0x22daa6;return this[_0x3b20d7(0xb6)];}['trackEvent'](_0x2b6696,_0x155883,_0x44ed22={}){const _0x3b8519=a96_0x22daa6;logger[_0x3b8519(0xbe)](_0x3b8519(0xb8)+_0x2b6696+_0x3b8519(0xba)+_0x155883);}async['runHooks'](_0x48a94e,_0x3b035a,_0x3c43d6,_0x2af84e={}){const _0x5a096c=a96_0x22daa6,_0x378cbc=CLIUtils[_0x5a096c(0xb1)](_0x3b035a,_0x3c43d6);_0x48a94e['setCurrentTestState'](_0x3b035a),_0x48a94e[_0x5a096c(0xb4)](_0x3c43d6),await eventDispatcher[_0x5a096c(0xb7)](_0x378cbc,_0x2af84e);}static[a96_0x22daa6(0xa4)](_0x4bc5a7,_0x572791,_0x29e0d9){const _0x493860=a96_0x22daa6;eventDispatcher[_0x493860(0xa4)](CLIUtils[_0x493860(0xb1)](_0x4bc5a7,_0x572791),_0x29e0d9);}static['getState'](_0x40b02d,_0x2a7109){const _0x578a30=a96_0x22daa6;return _0x40b02d[_0x578a30(0xb3)]()['get'](_0x2a7109);}static[a96_0x22daa6(0xc6)](_0x258827,_0x7aa254,_0x3d52cd){const _0x3c1803=a96_0x22daa6;_0x258827['getAllData']()[_0x3c1803(0xc8)](_0x7aa254,_0x3d52cd);}static[a96_0x22daa6(0xb9)](_0x10ff23,_0x4ec17a){const _0x56158d=a96_0x22daa6;return _0x10ff23[_0x56158d(0xb3)]()[_0x56158d(0xc5)](_0x4ec17a);}}function a96_0x28e0(){const _0x23fbec=['binSessionId','TestFramework','getHookRegistryKey','../state/testFrameworkState','getAllData','setCurrentHookState','../state/hookState','testFrameworks','notifyObserver','trackEvent:\x20testFrameworkState=','hasState',';\x20hookState=','getCurrentInstanceName','../eventDispatcher','11594128ouOAcy','debug','1357162MiSLFV','../cliUtils','getTestFrameworksVersions','getId','instances','setTrackedInstance','has','setState','35912UsOzXC','set','6KvlKMM','3FmAxOw','get','219250RXODmX','testFrameworkVersions','registerObserver','199210PyBwqB','705360BqLrjB','exports','../../../helpers/classLogger','getInstances','15549471MAUVou','__bstack_test_framework_instances__','getTrackedInstance','createContext','../instances/trackedContext'];a96_0x28e0=function(){return _0x23fbec;};return a96_0x28e0();}module[a96_0x22daa6(0xa7)]=TestFramework;
@@ -1 +1 @@
1
- 'use strict';function a97_0x4ea3(_0xa22dce,_0x5ea871){const _0x1e40db=a97_0x1e40();return a97_0x4ea3=function(_0x4ea326,_0x498d7a){_0x4ea326=_0x4ea326-0xd0;let _0x413dce=_0x1e40db[_0x4ea326];return _0x413dce;},a97_0x4ea3(_0xa22dce,_0x5ea871);}const a97_0x45587d=a97_0x4ea3;(function(_0x15cd27,_0x2c877a){const _0x48ecd6=a97_0x4ea3,_0x4d1241=_0x15cd27();while(!![]){try{const _0x1ec8e8=parseInt(_0x48ecd6(0xf2))/0x1+parseInt(_0x48ecd6(0xf5))/0x2*(-parseInt(_0x48ecd6(0xff))/0x3)+-parseInt(_0x48ecd6(0xe9))/0x4+parseInt(_0x48ecd6(0xf7))/0x5+parseInt(_0x48ecd6(0xe0))/0x6*(parseInt(_0x48ecd6(0xdf))/0x7)+-parseInt(_0x48ecd6(0xd3))/0x8*(parseInt(_0x48ecd6(0xda))/0x9)+-parseInt(_0x48ecd6(0xd1))/0xa*(-parseInt(_0x48ecd6(0x101))/0xb);if(_0x1ec8e8===_0x2c877a)break;else _0x4d1241['push'](_0x4d1241['shift']());}catch(_0x204078){_0x4d1241['push'](_0x4d1241['shift']());}}}(a97_0x1e40,0xd201e));const AutomationFramework=require('./automationFramework.js'),AutomationFrameworkInstance=require(a97_0x45587d(0x104)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),TrackedInstance=require(a97_0x45587d(0x100)),{createClassLogger}=require(a97_0x45587d(0xfb)),logger=createClassLogger(a97_0x45587d(0xf4));class TestCafeAutomationFramework extends AutomationFramework{constructor(_0x4c4530,_0x5cfa34){super(_0x4c4530,_0x5cfa34);}async['trackEvent'](_0x2f43f0,_0x565072,_0xbf5819={}){const _0x5d0071=a97_0x45587d;await super['trackEvent'](_0x2f43f0,_0x565072,_0xbf5819);const _0x4fe3ba=this[_0x5d0071(0xd5)](_0x2f43f0,_0x565072,_0xbf5819);if(!_0x4fe3ba){logger[_0x5d0071(0xfe)](_0x5d0071(0xed)+_0x2f43f0+_0x5d0071(0xdc)+_0x565072);return;}_0xbf5819['instance']=_0x4fe3ba,await this['runHooks'](_0x4fe3ba,_0x2f43f0,_0x565072,_0xbf5819);}[a97_0x45587d(0xd5)](_0xdf761b,_0x1a7b12,_0x10b815={}){const _0x86ba4=a97_0x45587d,_0x547020={};_0x547020['YCvrB']=_0x86ba4(0xf9),_0x547020['wWOLy']=function(_0x28d7fd,_0xb0acce){return _0x28d7fd===_0xb0acce;},_0x547020[_0x86ba4(0xee)]=function(_0x3c5568,_0x48ad9d){return _0x3c5568===_0x48ad9d;},_0x547020['sfJMk']=function(_0x40a2c5,_0x3a7737){return _0x40a2c5||_0x3a7737;};const _0x15048c=_0x547020,_0x4f5ff7=_0x10b815['userAgent']||null;if(!_0x4f5ff7)return logger[_0x86ba4(0xe5)](_0x15048c[_0x86ba4(0xf0)]),AutomationFramework[_0x86ba4(0xf1)]();const _0x21a748=Number[_0x86ba4(0xfc)](_0x10b815[_0x86ba4(0x102)])?_0x10b815[_0x86ba4(0x102)]:0x0,_0x11f5af='testcafe:'+_0x4f5ff7+'#'+_0x21a748;let _0xe7a452=AutomationFramework['instances'][_0x86ba4(0xd8)](_0x11f5af);if(!_0xe7a452&&(_0x15048c[_0x86ba4(0xfd)](_0xdf761b,AutomationFrameworkState[_0x86ba4(0xfa)])||_0x15048c['mdIiA'](_0xdf761b,AutomationFrameworkState[_0x86ba4(0xe4)]))){const _0x520417=TrackedInstance[_0x86ba4(0xf6)](_0x11f5af);_0xe7a452=new AutomationFrameworkInstance(_0x520417,this[_0x86ba4(0xea)](),this[_0x86ba4(0xd0)](),_0xdf761b),AutomationFramework[_0x86ba4(0x103)][_0x86ba4(0xf3)](_0x11f5af,_0xe7a452),logger[_0x86ba4(0xe3)]('resolveInstance:\x20created\x20instance\x20for\x20userAgent=\x22'+_0x4f5ff7+_0x86ba4(0xd6)+_0x21a748+_0x86ba4(0xe6)+_0x11f5af);}return _0x15048c[_0x86ba4(0xdd)](_0xe7a452,null);}static[a97_0x45587d(0xe2)](_0x5a3231,_0x40e0af=0x0){const _0x30c2c1=a97_0x45587d,_0x4bf332='testcafe:'+_0x5a3231+'#'+_0x40e0af;return AutomationFramework[_0x30c2c1(0x103)]['delete'](_0x4bf332);}static[a97_0x45587d(0xef)](_0x59f41e,_0x23211a=0x0){const _0x4bc7f9=a97_0x45587d;return AutomationFramework['instances'][_0x4bc7f9(0xd8)](_0x4bc7f9(0xeb)+_0x59f41e+'#'+_0x23211a)||null;}static*[a97_0x45587d(0xe8)](){const _0x3f704d=a97_0x45587d,_0x51da35={};_0x51da35[_0x3f704d(0xe1)]=function(_0x5a220d,_0x5a214a){return _0x5a220d===_0x5a214a;},_0x51da35[_0x3f704d(0xf8)]=_0x3f704d(0xd9),_0x51da35[_0x3f704d(0xd2)]=_0x3f704d(0xeb),_0x51da35[_0x3f704d(0xd4)]=function(_0x2b96ee,_0x2ed08c){return _0x2b96ee===_0x2ed08c;},_0x51da35[_0x3f704d(0xec)]=function(_0x26416a,_0x4bd7c4){return _0x26416a+_0x4bd7c4;};const _0x3025e5=_0x51da35;for(const [_0x8f5d36,_0x2c579c]of AutomationFramework[_0x3f704d(0x103)][_0x3f704d(0xdb)]()){if(_0x3025e5[_0x3f704d(0xe1)](typeof _0x8f5d36,_0x3025e5[_0x3f704d(0xf8)])&&_0x8f5d36['startsWith'](_0x3025e5[_0x3f704d(0xd2)])){const _0x13cca5=_0x8f5d36[_0x3f704d(0xd7)](_0x3025e5['FTDNC'][_0x3f704d(0x106)]),_0x13349d=_0x13cca5[_0x3f704d(0xe7)]('#');if(_0x3025e5['uGVqu'](_0x13349d,-0x1)){const _0x5e2346={};_0x5e2346['userAgent']=_0x13cca5,_0x5e2346[_0x3f704d(0x102)]=0x0,_0x5e2346[_0x3f704d(0x105)]=_0x2c579c,yield _0x5e2346;}else{const _0x3d5ab5=_0x13cca5[_0x3f704d(0xd7)](0x0,_0x13349d),_0x44c77e=Number['parseInt'](_0x13cca5[_0x3f704d(0xd7)](_0x3025e5['SfYtb'](_0x13349d,0x1)),0xa)||0x0,_0x223d3e={};_0x223d3e[_0x3f704d(0xde)]=_0x3d5ab5,_0x223d3e[_0x3f704d(0x102)]=_0x44c77e,_0x223d3e[_0x3f704d(0x105)]=_0x2c579c,yield _0x223d3e;}}}}}module['exports']=TestCafeAutomationFramework;function a97_0x1e40(){const _0x171510=['resolveInstance','\x22\x20platformIndex=','slice','get','string','18GUiPzd','entries','\x20hookState=','sfJMk','userAgent','7bOOSzS','3958602HNVygz','pnVJH','removeInstance','info','NONE','warn','\x20→\x20','lastIndexOf','iterAllInstances','6107544BNdWoW','getAutomationFrameworkName','testcafe:','SfYtb','trackEvent:\x20no\x20instance\x20for\x20state=','mdIiA','getInstanceByUserAgent','YCvrB','getTrackedInstance','1017146hXZhbK','set','TestCafeAutomationFramework','10NZrNiP','createContext','6787955nsXZAq','WSgIt','resolveInstance:\x20no\x20userAgent\x20in\x20args;\x20falling\x20back\x20to\x20default\x20tracked\x20instance','CREATE','../../../helpers/classLogger.js','isInteger','wWOLy','debug','395580IAFzpY','../instances/trackedInstance.js','11jNmNwN','platformIndex','instances','../instances/automationFrameworkInstance.js','instance','length','getAutomationFrameworkVersion','9219740OtqzaX','FTDNC','3640408NkwsKw','uGVqu'];a97_0x1e40=function(){return _0x171510;};return a97_0x1e40();}
1
+ 'use strict';const a97_0x442eec=a97_0x3382;(function(_0x508f62,_0x44d516){const _0x55e9c4=a97_0x3382,_0x2c35b6=_0x508f62();while(!![]){try{const _0x2c9c15=parseInt(_0x55e9c4(0x10d))/0x1*(parseInt(_0x55e9c4(0x10f))/0x2)+parseInt(_0x55e9c4(0x11d))/0x3+-parseInt(_0x55e9c4(0x128))/0x4*(-parseInt(_0x55e9c4(0x12d))/0x5)+-parseInt(_0x55e9c4(0x120))/0x6+parseInt(_0x55e9c4(0x10c))/0x7*(-parseInt(_0x55e9c4(0x127))/0x8)+parseInt(_0x55e9c4(0x104))/0x9+-parseInt(_0x55e9c4(0xfe))/0xa*(parseInt(_0x55e9c4(0x12c))/0xb);if(_0x2c9c15===_0x44d516)break;else _0x2c35b6['push'](_0x2c35b6['shift']());}catch(_0x1fd6e4){_0x2c35b6['push'](_0x2c35b6['shift']());}}}(a97_0xcf74,0xb3ff2));const AutomationFramework=require(a97_0x442eec(0x123)),AutomationFrameworkInstance=require(a97_0x442eec(0x121)),AutomationFrameworkState=require(a97_0x442eec(0x106)),TrackedInstance=require(a97_0x442eec(0x12e)),{createClassLogger}=require('../../../helpers/classLogger.js'),logger=createClassLogger(a97_0x442eec(0x10b));class TestCafeAutomationFramework extends AutomationFramework{constructor(_0x3f5329,_0x205e67){super(_0x3f5329,_0x205e67);}async[a97_0x442eec(0x100)](_0x1f9bec,_0x35a24d,_0x5f3feb={}){const _0x445c15=a97_0x442eec;await super[_0x445c15(0x100)](_0x1f9bec,_0x35a24d,_0x5f3feb);const _0x3f5e54=this[_0x445c15(0x115)](_0x1f9bec,_0x35a24d,_0x5f3feb);if(!_0x3f5e54){logger[_0x445c15(0x107)](_0x445c15(0x10a)+_0x1f9bec+_0x445c15(0x119)+_0x35a24d);return;}_0x5f3feb['instance']=_0x3f5e54,await this[_0x445c15(0x11b)](_0x3f5e54,_0x1f9bec,_0x35a24d,_0x5f3feb);}['resolveInstance'](_0x20bba8,_0x562081,_0x265148={}){const _0x413c44=a97_0x442eec,_0x26e890={};_0x26e890['RUQmP']=_0x413c44(0x112),_0x26e890[_0x413c44(0x116)]=function(_0x5a8c73,_0x489eaa){return _0x5a8c73===_0x489eaa;},_0x26e890[_0x413c44(0x126)]=function(_0x27ee8e,_0x49bb8c){return _0x27ee8e||_0x49bb8c;};const _0x288f5f=_0x26e890,_0x5ef103=_0x265148['userAgent']||null;if(!_0x5ef103)return logger[_0x413c44(0x12b)](_0x288f5f[_0x413c44(0x11a)]),AutomationFramework['getTrackedInstance']();const _0x24bf0d=Number['isInteger'](_0x265148[_0x413c44(0x101)])?_0x265148[_0x413c44(0x101)]:0x0,_0x83f927=_0x413c44(0x118)+_0x5ef103+'#'+_0x24bf0d;let _0x242c1c=AutomationFramework[_0x413c44(0x113)][_0x413c44(0x111)](_0x83f927);if(!_0x242c1c&&(_0x288f5f[_0x413c44(0x116)](_0x20bba8,AutomationFrameworkState[_0x413c44(0x114)])||_0x288f5f['SKhzR'](_0x20bba8,AutomationFrameworkState[_0x413c44(0x130)]))){const _0x591408=TrackedInstance[_0x413c44(0x12a)](_0x83f927);_0x242c1c=new AutomationFrameworkInstance(_0x591408,this[_0x413c44(0x11c)](),this['getAutomationFrameworkVersion'](),_0x20bba8),AutomationFramework[_0x413c44(0x113)][_0x413c44(0x131)](_0x83f927,_0x242c1c),logger[_0x413c44(0x11e)](_0x413c44(0x10e)+_0x5ef103+'\x22\x20platformIndex='+_0x24bf0d+_0x413c44(0x12f)+_0x83f927);}return _0x288f5f[_0x413c44(0x126)](_0x242c1c,null);}static[a97_0x442eec(0x102)](_0x1d5ad8,_0x13f1f6=0x0){const _0x42e3e4=a97_0x442eec,_0x3f1400=_0x42e3e4(0x118)+_0x1d5ad8+'#'+_0x13f1f6;return AutomationFramework[_0x42e3e4(0x113)][_0x42e3e4(0x133)](_0x3f1400);}static[a97_0x442eec(0x125)](_0x32aa1d,_0x1e1cbb=0x0){const _0x2d00e5=a97_0x442eec;return AutomationFramework[_0x2d00e5(0x113)][_0x2d00e5(0x111)](_0x2d00e5(0x118)+_0x32aa1d+'#'+_0x1e1cbb)||null;}static*[a97_0x442eec(0x105)](){const _0x9707fa=a97_0x442eec,_0x4db5a9={};_0x4db5a9[_0x9707fa(0x117)]=function(_0x196f04,_0xda81c0){return _0x196f04===_0xda81c0;},_0x4db5a9[_0x9707fa(0xff)]=_0x9707fa(0x11f),_0x4db5a9[_0x9707fa(0x109)]='testcafe:',_0x4db5a9[_0x9707fa(0x108)]=function(_0x4a1580,_0x784db6){return _0x4a1580+_0x784db6;};const _0x48e322=_0x4db5a9;for(const [_0x1a1594,_0x12f6ee]of AutomationFramework[_0x9707fa(0x113)]['entries']()){if(_0x48e322[_0x9707fa(0x117)](typeof _0x1a1594,_0x48e322[_0x9707fa(0xff)])&&_0x1a1594[_0x9707fa(0x124)](_0x48e322[_0x9707fa(0x109)])){const _0x80f5ce=_0x1a1594[_0x9707fa(0x129)](_0x48e322['EmfJT'][_0x9707fa(0x103)]),_0x46de4c=_0x80f5ce[_0x9707fa(0xfd)]('#');if(_0x48e322[_0x9707fa(0x117)](_0x46de4c,-0x1)){const _0x48e49f={};_0x48e49f['userAgent']=_0x80f5ce,_0x48e49f[_0x9707fa(0x101)]=0x0,_0x48e49f[_0x9707fa(0x132)]=_0x12f6ee,yield _0x48e49f;}else{const _0xcaf059=_0x80f5ce[_0x9707fa(0x129)](0x0,_0x46de4c),_0x1f067d=Number[_0x9707fa(0x110)](_0x80f5ce[_0x9707fa(0x129)](_0x48e322['QZnZk'](_0x46de4c,0x1)),0xa)||0x0,_0x878227={};_0x878227['userAgent']=_0xcaf059,_0x878227['platformIndex']=_0x1f067d,_0x878227[_0x9707fa(0x132)]=_0x12f6ee,yield _0x878227;}}}}}function a97_0x3382(_0x912fe4,_0x4a67d6){const _0xcf74b6=a97_0xcf74();return a97_0x3382=function(_0x338245,_0x587b60){_0x338245=_0x338245-0xfd;let _0x22802b=_0xcf74b6[_0x338245];return _0x22802b;},a97_0x3382(_0x912fe4,_0x4a67d6);}module[a97_0x442eec(0x122)]=TestCafeAutomationFramework;function a97_0xcf74(){const _0x3ed7a9=['iterAllInstances','../state/automationFrameworkState.js','debug','QZnZk','EmfJT','trackEvent:\x20no\x20instance\x20for\x20state=','TestCafeAutomationFramework','7LLwleR','214399MFdVCZ','resolveInstance:\x20created\x20instance\x20for\x20userAgent=\x22','2rQEibq','parseInt','get','resolveInstance:\x20no\x20userAgent\x20in\x20args;\x20falling\x20back\x20to\x20default\x20tracked\x20instance','instances','CREATE','resolveInstance','SKhzR','ytFCN','testcafe:','\x20hookState=','RUQmP','runHooks','getAutomationFrameworkName','2784927XmMTCP','info','string','177504pPClaA','../instances/automationFrameworkInstance.js','exports','./automationFramework.js','startsWith','getInstanceByUserAgent','VXwQZ','9833336qRHCvN','1500776FGlKVL','slice','createContext','warn','73073QlzNpl','10pvDfSw','../instances/trackedInstance.js','\x20→\x20','NONE','set','instance','delete','lastIndexOf','80cAVnzM','ClJVm','trackEvent','platformIndex','removeInstance','length','1404585gwZGxQ'];a97_0xcf74=function(){return _0x3ed7a9;};return a97_0xcf74();}