browserstack-node-sdk 1.65.0 → 1.65.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  42. package/src/bin/codeceptjs/command.js +1 -1
  43. package/src/bin/codeceptjs/helper.js +1 -1
  44. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  45. package/src/bin/cucumber-js/command.js +1 -1
  46. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  48. package/src/bin/cucumber-js/test-observability.js +1 -1
  49. package/src/bin/cucumber-js/test.setup.js +1 -1
  50. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  51. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  52. package/src/bin/integrations/command.js +1 -1
  53. package/src/bin/integrations/constants.js +1 -1
  54. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  55. package/src/bin/jasmine/command.js +1 -1
  56. package/src/bin/jasmine/test.setup.js +1 -1
  57. package/src/bin/jasmine/testRunMap.js +1 -1
  58. package/src/bin/jest/command.js +1 -1
  59. package/src/bin/jest/customImplements/customCircus.js +1 -1
  60. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  61. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  62. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  63. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  64. package/src/bin/jest/jest.setup.js +1 -1
  65. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  66. package/src/bin/jest/test-observability/helper.js +1 -1
  67. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  68. package/src/bin/jest/test-observability/test-details.js +1 -1
  69. package/src/bin/jest/test.setup.js +1 -1
  70. package/src/bin/jest/test_before.setup.js +1 -1
  71. package/src/bin/launcher/launcher.js +1 -1
  72. package/src/bin/load/index.js +1 -1
  73. package/src/bin/load/loadErrors.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/data-hooks.js +1 -1
  79. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  80. package/src/bin/mocha/test.setup.js +1 -1
  81. package/src/bin/newman/command.js +1 -1
  82. package/src/bin/newman/helper.js +1 -1
  83. package/src/bin/newman/reporter/index.js +1 -1
  84. package/src/bin/newman/scriptRunner.js +1 -1
  85. package/src/bin/nightwatch/command.js +1 -1
  86. package/src/bin/node-generic/client.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/reporterArgs.js +1 -0
  97. package/src/bin/playwright/sessionDetails.js +1 -1
  98. package/src/bin/puppeteer/patches.js +1 -1
  99. package/src/bin/puppeteer/sessionDetails.js +1 -1
  100. package/src/bin/puppeteer/test.setup.js +1 -1
  101. package/src/bin/runner.js +1 -1
  102. package/src/bin/setup.js +1 -1
  103. package/src/bin/test-runner/index.js +1 -1
  104. package/src/bin/test-runner/runTest.js +1 -1
  105. package/src/bin/test-runner/testWorker.js +1 -1
  106. package/src/bin/testcafe/a11y-runner.js +1 -1
  107. package/src/bin/testcafe/command.js +1 -1
  108. package/src/bin/testcafe/reporter/index.js +1 -1
  109. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  110. package/src/bin/testcafe/session-registry.js +1 -1
  111. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  112. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  113. package/src/bin/testcafe/w3c-driver.js +1 -1
  114. package/src/bin/utils/apiUtilityMethods.js +1 -1
  115. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  116. package/src/bin/utils/constants.js +1 -1
  117. package/src/bin/utils/log4jsAppender.js +1 -1
  118. package/src/bin/utils/logPatcher.js +1 -1
  119. package/src/bin/utils/logReportingAPI.js +1 -1
  120. package/src/bin/utils/playwright-patcher.js +1 -1
  121. package/src/bin/utils/puppeteer-patcher.js +1 -1
  122. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  123. package/src/bin/utils/sharedUtils.js +1 -1
  124. package/src/bin/v2/TestInfo.js +1 -1
  125. package/src/bin/v2/browserstackCLI.js +1 -1
  126. package/src/bin/v2/cliUtils.js +1 -1
  127. package/src/bin/v2/customTagManager.js +1 -1
  128. package/src/bin/v2/eventDispatcher.js +1 -1
  129. package/src/bin/v2/framework/automationFramework.js +1 -1
  130. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  131. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  132. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  133. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  134. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  135. package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
  136. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  137. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  138. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  139. package/src/bin/v2/framework/testFramework.js +1 -1
  140. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  141. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  142. package/src/bin/v2/grpcClient.js +1 -1
  143. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  144. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  145. package/src/bin/v2/instances/trackedContext.js +1 -1
  146. package/src/bin/v2/instances/trackedInstance.js +1 -1
  147. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  148. package/src/bin/v2/modules/baseModule.js +1 -1
  149. package/src/bin/v2/modules/loadTestModule.js +1 -1
  150. package/src/bin/v2/modules/observabilityModule.js +1 -1
  151. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  152. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  153. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  154. package/src/bin/v2/modules/testhubModule.js +1 -1
  155. package/src/bin/v2/sdkErrorHandler.js +1 -1
  156. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  157. package/src/bin/v2/state/hookState.js +1 -1
  158. package/src/bin/v2/state/testFrameworkState.js +1 -1
  159. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  160. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  161. package/src/bin/v2/utils/jest-utils.js +1 -1
  162. package/src/bin/vanilla-js/command.js +1 -1
  163. package/src/browserStackSdk.js +1 -1
  164. package/src/helpers/BrowserStackSetup.js +1 -1
  165. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  166. package/src/helpers/accessibility-automation/constants.js +1 -1
  167. package/src/helpers/accessibility-automation/helper.js +1 -1
  168. package/src/helpers/accessibility-automation/scripts.js +1 -1
  169. package/src/helpers/ats/constants.js +1 -1
  170. package/src/helpers/ats/helper.js +1 -1
  171. package/src/helpers/caCertHelper.js +1 -1
  172. package/src/helpers/capsMapping.js +1 -1
  173. package/src/helpers/central-scanner/constants.js +1 -1
  174. package/src/helpers/central-scanner/helpers.js +1 -1
  175. package/src/helpers/classLogger.js +1 -1
  176. package/src/helpers/driverInitErrorReporter.js +1 -1
  177. package/src/helpers/globals.js +1 -1
  178. package/src/helpers/helper.js +1 -1
  179. package/src/helpers/logger.js +1 -1
  180. package/src/helpers/metadata.js +1 -1
  181. package/src/helpers/patchHelper.js +1 -1
  182. package/src/helpers/patchHelpers.js +1 -1
  183. package/src/helpers/percy/Percy.js +1 -1
  184. package/src/helpers/percy/PercyBinary.js +1 -1
  185. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  186. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  187. package/src/helpers/percy/PercySDK.js +1 -1
  188. package/src/helpers/percy/index.js +1 -1
  189. package/src/helpers/percy/utils.js +1 -1
  190. package/src/helpers/performance/constants.js +1 -1
  191. package/src/helpers/performance/performance-tester.js +1 -1
  192. package/src/helpers/playwright-helper.js +1 -1
  193. package/src/helpers/processHelper.js +1 -1
  194. package/src/helpers/puppeteer-helper.js +1 -1
  195. package/src/helpers/request-spy.js +1 -1
  196. package/src/helpers/setKeepAlive.js +1 -1
  197. package/src/helpers/stackFrameUtils.js +1 -1
  198. package/src/helpers/test-observability/constants.js +1 -1
  199. package/src/helpers/test-observability/error-handler.js +1 -1
  200. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  201. package/src/helpers/test-observability/sessionHandler.js +1 -1
  202. package/src/helpers/test-observability/utils.js +1 -1
  203. package/src/helpers/test-orchestration/constants.js +1 -1
  204. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  205. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  206. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  207. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  208. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  209. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  210. package/src/helpers/testhub/constants.js +1 -1
  211. package/src/helpers/testhub/testhubHandler.js +1 -1
  212. package/src/helpers/testhub/utils.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
- function a95_0x54d5(_0x359c11,_0x20f752){const _0x4c8d14=a95_0x4c8d();return a95_0x54d5=function(_0x54d55e,_0x496141){_0x54d55e=_0x54d55e-0x116;let _0x113492=_0x4c8d14[_0x54d55e];return _0x113492;},a95_0x54d5(_0x359c11,_0x20f752);}const a95_0x554583=a95_0x54d5;(function(_0x3f40fc,_0x475a1a){const _0x3d9d2f=a95_0x54d5,_0x36b2a1=_0x3f40fc();while(!![]){try{const _0x33d911=parseInt(_0x3d9d2f(0x216))/0x1*(parseInt(_0x3d9d2f(0x1c5))/0x2)+-parseInt(_0x3d9d2f(0x163))/0x3*(-parseInt(_0x3d9d2f(0x184))/0x4)+-parseInt(_0x3d9d2f(0x1da))/0x5+-parseInt(_0x3d9d2f(0x1ee))/0x6*(parseInt(_0x3d9d2f(0x132))/0x7)+-parseInt(_0x3d9d2f(0x1ac))/0x8+-parseInt(_0x3d9d2f(0x13e))/0x9+parseInt(_0x3d9d2f(0x13b))/0xa;if(_0x33d911===_0x475a1a)break;else _0x36b2a1['push'](_0x36b2a1['shift']());}catch(_0x3e6ecd){_0x36b2a1['push'](_0x36b2a1['shift']());}}}(a95_0x4c8d,0x685e3));const TestFramework=require(a95_0x554583(0x1a7)),TestFrameworkState=require(a95_0x554583(0x195)),HookState=require(a95_0x554583(0x13a)),{createClassLogger}=require(a95_0x554583(0x153)),TestFrameworkInstance=require(a95_0x554583(0x1ea)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a95_0x554583(0x12b)),TestFrameworkConstants=require(a95_0x554583(0x159)),logger=createClassLogger(a95_0x554583(0x16a)),{v4:uuidv4}=require(a95_0x554583(0x1aa)),util=require('util'),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require('../../../helpers/helper.js'),TestInfo=require(a95_0x554583(0x1d9)),GrpcClient=require(a95_0x554583(0x161)),{removeAnsiColors,getFailureType,failureData}=require('../../../helpers/test-observability/utils'),{getFailureData,getTestTags,getTestRunIdentifier}=require(a95_0x554583(0x218)),{findNestedKey,sendTraceZip,validateFilePath}=require(a95_0x554583(0x218)),path=require(a95_0x554583(0x118)),fs=require('fs'),helper=require('../../../../src/helpers/helper'),{PLAYWRIGHT_TRACE_LOGS}=require(a95_0x554583(0x186)),PLAYWRIGHT_BUILTIN_ANNOTATIONS=new Set([a95_0x554583(0x17a),a95_0x554583(0x155),a95_0x554583(0x1bc),a95_0x554583(0x1cd)]);class PlaywrightTestFramework extends TestFramework{constructor(_0x28fb0e,_0x418aa,_0x34ad0d){super(_0x28fb0e,_0x418aa,_0x34ad0d);}async['trackEvent'](_0x5056a1,_0xfd8885,_0x40c0c0={}){const _0x3449af=a95_0x554583,_0x6265c5={'KPbXK':function(_0x5c84e2,_0x1d13e){return _0x5c84e2===_0x1d13e;},'oylWu':function(_0x18760d,_0x463bd7){return _0x18760d===_0x463bd7;},'MFAFk':function(_0x5b5496,_0x603d75,_0xf5b603){return _0x5b5496(_0x603d75,_0xf5b603);},'IwiKG':function(_0x4ddb29,_0x3a43e6,_0x3f4147){return _0x4ddb29(_0x3a43e6,_0x3f4147);},'oMBqi':function(_0x42a2be,_0x4dd13a,_0x59138c,_0x240a4a){return _0x42a2be(_0x4dd13a,_0x59138c,_0x240a4a);},'CXLop':_0x3449af(0x168),'XOHtt':'trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s'};super[_0x3449af(0x203)](_0x5056a1,_0xfd8885,_0x40c0c0);if(_0x6265c5['KPbXK'](_0x5056a1,TestFrameworkState[_0x3449af(0x19e)])){const _0x59dc98=TestInfo[_0x3449af(0x14c)](_0x40c0c0['test'],_0x40c0c0[_0x3449af(0x168)][_0x3449af(0x18f)]);TestInfo[_0x3449af(0x18b)](_0x59dc98,_0x40c0c0[_0x3449af(0x1c2)],!![]);}if(_0x6265c5[_0x3449af(0x1f4)](_0x5056a1,TestFrameworkState[_0x3449af(0x138)])){this[_0x3449af(0x18e)](_0x5056a1,_0xfd8885,_0x40c0c0);return;}const _0x2091ba=this[_0x3449af(0x133)](_0x5056a1,_0xfd8885,_0x40c0c0);if(!_0x2091ba)return;logger[_0x3449af(0x1e4)](_0x3449af(0x167)+_0x5056a1+_0x3449af(0x165)+_0xfd8885+_0x3449af(0x213)+_0x2091ba[_0x3449af(0x15f)]());try{if(_0x6265c5[_0x3449af(0x1f4)](_0xfd8885,HookState[_0x3449af(0x189)])&&_0x6265c5[_0x3449af(0x1ed)](_0x5056a1,TestFrameworkState[_0x3449af(0x11e)])){const _0x14cb83=_0x40c0c0[_0x3449af(0x168)];logger[_0x3449af(0x1e4)](_0x3449af(0x19c)+_0x14cb83['id']+'}');const _0x36d3a5=TestInfo['getTestUUID'](_0x6265c5['MFAFk'](getTestRunIdentifier,_0x14cb83,_0x40c0c0[_0x3449af(0x1c2)][_0x3449af(0x18f)]));_0x2091ba[_0x3449af(0x1af)](this[_0x3449af(0x1f5)](_0x36d3a5,_0x14cb83,_0x40c0c0[_0x3449af(0x1c2)])),logger[_0x3449af(0x1e4)](_0x3449af(0x19f)+_0x14cb83['id']+_0x3449af(0x172)+_0x5056a1+'\x20testHookState='+_0xfd8885+_0x3449af(0x1b3)+_0x2091ba[_0x3449af(0x15f)]());}if(_0x6265c5[_0x3449af(0x1ed)](_0xfd8885,HookState[_0x3449af(0x1c3)])&&_0x6265c5[_0x3449af(0x1ed)](_0x5056a1,TestFrameworkState[_0x3449af(0x11e)])){const _0x25dc95=_0x40c0c0[_0x3449af(0x168)],_0x39cabd=_0x40c0c0['result'];logger['debug'](_0x3449af(0x1f0)+_0x25dc95['id']);const _0x33e162=_0x6265c5[_0x3449af(0x1dd)](getTestRunIdentifier,_0x25dc95,_0x39cabd['retry']),_0x3ec0a4=_0x2091ba[_0x3449af(0x160)]()[_0x3449af(0x1f3)](_0x33e162)[TestFrameworkConstants[_0x3449af(0x1c7)]],{steps:_0x25c3ed,logs:_0xe97083}=_0x6265c5[_0x3449af(0x190)](getStepsAndLogs,_0x39cabd['steps'],_0x3ec0a4,_0x6265c5['CXLop']);_0x2091ba[_0x3449af(0x1af)](this[_0x3449af(0x1be)](_0x25dc95['id'],_0x39cabd,_0x25dc95,_0x25c3ed)),await this[_0x3449af(0x17b)](_0x2091ba,_0x5056a1,_0xfd8885,_0x6265c5['CXLop'],_0x40c0c0,_0xe97083);}if(CLIUtils[_0x3449af(0x206)](_0x5056a1[_0x3449af(0x1e2)]()[_0x3449af(0x181)]('.')[0x1])){const _0x3d976d=await this[_0x3449af(0x123)](_0x2091ba,_0x5056a1,_0xfd8885,_0x40c0c0);_0x2091ba[_0x3449af(0x1af)](_0x3d976d);}}catch(_0x1ec162){logger['error'](util[_0x3449af(0x196)](_0x6265c5[_0x3449af(0x169)],_0x5056a1,_0xfd8885,_0x40c0c0[_0x3449af(0x1c4)],_0x1ec162));}_0x40c0c0[_0x3449af(0x205)]=_0x2091ba,await this[_0x3449af(0x1b1)](_0x2091ba,_0x5056a1,_0xfd8885,_0x40c0c0);}[a95_0x554583(0x133)](_0x4d944f,_0x11983c,_0xe11817={}){const _0x1ec1e1=a95_0x554583,_0x1ba51e={};_0x1ba51e[_0x1ec1e1(0x1d2)]=function(_0x3f5883,_0x3365fe){return _0x3f5883===_0x3365fe;};const _0x22592c=_0x1ba51e;let _0x298f28=null;return(_0x22592c['hTwqS'](_0x4d944f,TestFrameworkState[_0x1ec1e1(0x1e6)])||_0x22592c[_0x1ec1e1(0x1d2)](_0x4d944f,TestFrameworkState[_0x1ec1e1(0x1bd)]))&&this[_0x1ec1e1(0x1d0)](_0x4d944f,_0xe11817),_0x298f28=TestFramework[_0x1ec1e1(0x207)](),_0x298f28;}[a95_0x554583(0x1d0)](_0x10f4e9,_0x1289a0){const _0x1ad566=a95_0x554583,_0x16080f=CLIUtils[_0x1ad566(0x15b)](),_0x456d7c=TrackedInstance[_0x1ad566(0x1ca)](_0x16080f);let _0x428079=null;logger[_0x1ad566(0x1b5)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x16080f+_0x1ad566(0x12d)+_0x10f4e9),_0x428079=new TestFrameworkInstance(_0x456d7c,this['getTestFrameworks'](),this['getTestFrameworksVersions'](),_0x10f4e9,HookState[_0x1ad566(0x1bd)]),TestFramework[_0x1ad566(0x11d)](_0x456d7c,_0x428079),logger[_0x1ad566(0x1b5)](_0x1ad566(0x178)+_0x456d7c[_0x1ad566(0x15a)]()+_0x1ad566(0x17e)+_0x16080f);}[a95_0x554583(0x1f5)](_0xe135c6,_0x419ec6,_0xd0d360){const _0x528cae=a95_0x554583,_0x4a408e={'fLJCr':function(_0x4f5ddb,_0x126332){return _0x4f5ddb(_0x126332);},'JeBLJ':function(_0x33f839,_0x3ac8f0){return _0x33f839(_0x3ac8f0);},'QLlud':function(_0x1f18d,_0x1637d3){return _0x1f18d(_0x1637d3);},'SrZFZ':function(_0x469197,_0x214fed){return _0x469197(_0x214fed);},'uvgul':function(_0x2f9e86,_0x502a7e,_0x4ae776){return _0x2f9e86(_0x502a7e,_0x4ae776);}},_0x740d87=_0x4a408e[_0x528cae(0x1c8)](getPlaywrightTestId,_0x419ec6),_0x385837=_0x4a408e[_0x528cae(0x1c8)](getPlaywrightTestTitle,_0x419ec6),_0xa4109=_0x4a408e[_0x528cae(0x1c8)](getTestTags,_0x419ec6),_0x1ace7d=_0x4a408e[_0x528cae(0x1c9)](getPlaywrightTestCode,_0x419ec6),_0x47b19e=_0x4a408e['JeBLJ'](getPlaywrightTestFilePath,_0x419ec6),_0x446937=_0x47b19e,_0x141090=_0x4a408e['fLJCr'](getPlaywrightTestScope,_0x419ec6),_0x4a3afe=_0x4a408e['QLlud'](getPlaywrightTestScopes,_0x419ec6),_0x425e65=_0x4a408e['SrZFZ'](getPlaywrightSessionName,_0x419ec6),_0x4ca7e1=this['getTestFrameworks']()[0x0],_0x4e58f3=_0x4a408e['uvgul'](getTestRunIdentifier,_0x419ec6,_0xd0d360[_0x528cae(0x18f)]),_0x31d798={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x4ca7e1,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this['getTestFrameworksVersions']()[_0x4ca7e1],[TestFrameworkConstants[_0x528cae(0x15d)]]:[],[TestFrameworkConstants[_0x528cae(0x20a)]]:{},[TestFrameworkConstants[_0x528cae(0x1b4)]]:{},[TestFrameworkConstants[_0x528cae(0x1c7)]]:_0xe135c6,[TestFrameworkConstants[_0x528cae(0x13c)]]:TestFrameworkConstants[_0x528cae(0x1bf)],[TestFrameworkConstants[_0x528cae(0x208)]]:_0x425e65,[TestFrameworkConstants[_0x528cae(0x1c6)]]:_0x47b19e,[TestFrameworkConstants[_0x528cae(0x16c)]]:_0x740d87,[TestFrameworkConstants[_0x528cae(0x134)]]:_0x385837,[TestFrameworkConstants[_0x528cae(0x128)]]:_0x446937,[TestFrameworkConstants['KEY_TEST_CODE']]:_0x1ace7d,[TestFrameworkConstants[_0x528cae(0x1df)]]:_0xa4109,[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x419ec6[_0x528cae(0x199)][0x0][_0x528cae(0x210)],[TestFrameworkConstants[_0x528cae(0x136)]]:_0x141090,[TestFrameworkConstants[_0x528cae(0x1a6)]]:_0x4a3afe,[TestFrameworkConstants[_0x528cae(0x142)]]:_0x4a408e['fLJCr'](getPlaywrightCustomRerunParam,_0x419ec6)};TestInfo[_0x528cae(0x18b)](_0x4e58f3,_0x31d798);const _0x424288={};return _0x424288[_0x4e58f3]=_0x31d798,_0x424288;}[a95_0x554583(0x1be)](_0x16a636,_0x5ebdd5,_0x54f2bb,_0x5a82c8){const _0x45750f=a95_0x554583,_0xb27f19={'bwkEd':function(_0x78cbc3,_0x43029a){return _0x78cbc3(_0x43029a);},'cAnHm':_0x45750f(0x1cb),'CpkAh':function(_0x488c50,_0x40b8dd){return _0x488c50===_0x40b8dd;},'JqnEA':function(_0x3c19b1,_0x41d383){return _0x3c19b1===_0x41d383;},'AkDUS':function(_0x517c49,_0x3e8e41){return _0x517c49(_0x3e8e41);},'ZYLIv':_0x45750f(0x175),'xAenR':function(_0x27eeb6,_0x529d48){return _0x27eeb6(_0x529d48);},'aMJCU':function(_0x4a52f9,_0xc8e666,_0x145789){return _0x4a52f9(_0xc8e666,_0x145789);},'MQKiS':function(_0x15e859,_0x1983ca){return _0x15e859===_0x1983ca;},'DScnW':_0x45750f(0x120),'gOKXq':'passed','cEUjm':_0x45750f(0x211),'BVySj':'timedOut','QLfqT':function(_0x9df9,_0x19c310){return _0x9df9===_0x19c310;},'gRBNe':function(_0x8dc6e2,_0x346bd8){return _0x8dc6e2===_0x346bd8;},'WJyaF':'Expected\x20to\x20fail,\x20but\x20passed.','HqMrq':function(_0x4c196e,_0x21a1c9,_0xfc5496){return _0x4c196e(_0x21a1c9,_0xfc5496);},'rpygy':function(_0x536cc4,_0x423aa5){return _0x536cc4||_0x423aa5;},'VYNlf':function(_0x32dc38,_0x1bf191){return _0x32dc38>_0x1bf191;},'eknVS':function(_0x55e46b,_0x513fb7,_0x4b21ad){return _0x55e46b(_0x513fb7,_0x4b21ad);},'Gbmjv':function(_0x25c4cb,_0x1c9829){return _0x25c4cb-_0x1c9829;},'duhuQ':function(_0x53e34e,_0x2c3411,_0x52faa0,_0x113e9c){return _0x53e34e(_0x2c3411,_0x52faa0,_0x113e9c);},'zjJED':_0x45750f(0x168),'YsQQo':function(_0xab7f7,_0x4076e8){return _0xab7f7>=_0x4076e8;},'tmXtk':function(_0x1eba40,_0x12641e){return _0x1eba40+_0x12641e;},'vEplF':function(_0x2f2999,_0x15578f){return _0x2f2999>_0x15578f;},'xMlgs':'path','YwbcE':function(_0x48db48,_0x59da26){return _0x48db48>_0x59da26;},'XDVie':_0x45750f(0x1ab)};logger[_0x45750f(0x1e4)](_0x45750f(0x1fa)+_0x16a636);const _0x2ce13=_0xb27f19['aMJCU'](getTestRunIdentifier,_0x54f2bb,_0x5ebdd5[_0x45750f(0x18f)]),_0x2d9efb=new Date(),_0x49477a=_0x5ebdd5['status'],_0x3fbfe0=TestInfo[_0x45750f(0x193)](_0x2ce13)[TestFrameworkConstants[_0x45750f(0x150)]]||{};let _0x5473da=_0x49477a;if(_0xb27f19[_0x45750f(0x1a0)](_0x5ebdd5['status'],_0x54f2bb[_0x45750f(0x18c)]))_0x5473da=_0xb27f19['MQKiS'](_0x5ebdd5[_0x45750f(0x19a)],_0xb27f19['DScnW'])?_0xb27f19['DScnW']:_0xb27f19[_0x45750f(0x1ad)];else{(_0xb27f19[_0x45750f(0x1a0)](_0x5473da,_0xb27f19['gOKXq'])||_0xb27f19['MQKiS'](_0x5473da,_0xb27f19[_0x45750f(0x11b)])||_0xb27f19[_0x45750f(0x1a0)](_0x5473da,_0xb27f19[_0x45750f(0x1a2)]))&&(_0x5473da=_0xb27f19['cEUjm']);if(_0xb27f19[_0x45750f(0x1b7)](_0x5ebdd5[_0x45750f(0x19a)],_0xb27f19[_0x45750f(0x1ad)])&&_0xb27f19['gRBNe'](_0x54f2bb['expectedStatus'],_0xb27f19[_0x45750f(0x11b)])){const _0x925e99={};_0x925e99[_0x45750f(0x162)]=_0xb27f19[_0x45750f(0x137)],_0x925e99['stack']=_0xb27f19[_0x45750f(0x137)],_0x5ebdd5[_0x45750f(0x17c)]=_0x925e99,_0x5ebdd5[_0x45750f(0x125)]=[_0x5ebdd5[_0x45750f(0x17c)]];}}const {failureData:_0x2bf054,logs:_0x1830fc}=_0xb27f19['HqMrq'](getFailureData,_0x5ebdd5?.['errors'],{}),_0x338c47={[TestFrameworkConstants[_0x45750f(0x14a)]]:_0xb27f19[_0x45750f(0x1e3)](_0x2bf054,null),[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]:_0x5ebdd5?.[_0x45750f(0x17c)]&&_0xb27f19[_0x45750f(0x154)](getFailureType,_0x5ebdd5[_0x45750f(0x17c)][_0x45750f(0x162)]),[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]:_0x5ebdd5?.[_0x45750f(0x17c)]&&_0xb27f19[_0x45750f(0x154)](removeAnsiColors,_0x5ebdd5[_0x45750f(0x17c)][_0x45750f(0x162)]),[TestFrameworkConstants[_0x45750f(0x1a9)]]:[],[TestFrameworkConstants[_0x45750f(0x13c)]]:_0x5473da,[TestFrameworkConstants[_0x45750f(0x16d)]]:_0x2d9efb[_0x45750f(0x1e0)](),[TestFrameworkConstants[_0x45750f(0x156)]]:new Date()[_0x45750f(0x1e0)](),[TestFrameworkConstants[_0x45750f(0x150)]]:_0x3fbfe0};if(_0x5ebdd5&&_0xb27f19[_0x45750f(0x1e9)](_0x5ebdd5['retry'],0x0)){const _0xd20b76=TestInfo[_0x45750f(0x16b)](_0xb27f19[_0x45750f(0x187)](getTestRunIdentifier,_0x54f2bb,_0xb27f19[_0x45750f(0x12c)](_0x5ebdd5[_0x45750f(0x18f)],0x1)));_0x338c47[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0xd20b76;}const _0x2baf1={};_0x2baf1[_0x45750f(0x168)]=_0x54f2bb;const _0x1a41ca=this['resolveInstance'](TestFrameworkState[_0x45750f(0x11e)],HookState['POST'],_0x2baf1),_0x5793f0=_0x1a41ca['getAllData']()[_0x45750f(0x1f3)](_0x2ce13)[TestFrameworkConstants[_0x45750f(0x1c7)]],_0x24d124=_0x5a82c8||_0xb27f19[_0x45750f(0x1fb)](getStepsAndLogs,_0x5ebdd5[_0x45750f(0x14f)],_0x5793f0,_0xb27f19[_0x45750f(0x131)])['steps'],_0x24616e=new Map(),_0xa11acf=new Map();let _0x2fc9c2=0x0;const _0x3bf204=[];for(const _0x3f01a1 of _0x24d124||[]){const _0x261a4a=_0x3f01a1[_0x45750f(0x202)]||null;let _0x494c09;if(_0xb27f19[_0x45750f(0x144)](_0x261a4a,null)){if(_0xb27f19[_0x45750f(0x129)](_0x2fc9c2,TestFrameworkConstants[_0x45750f(0x1f2)]))continue;_0x494c09=0x0,_0x2fc9c2++;}else{const _0x5089c7=_0x24616e[_0x45750f(0x1f3)](_0x261a4a);if(_0xb27f19[_0x45750f(0x194)](_0x5089c7,undefined))continue;_0x494c09=_0xb27f19[_0x45750f(0x1ae)](_0x5089c7,0x1);if(_0xb27f19[_0x45750f(0x16f)](_0x494c09,TestFrameworkConstants[_0x45750f(0x117)]))continue;}_0x24616e[_0x45750f(0x1cc)](_0x3f01a1['id'],_0x494c09),_0xa11acf[_0x45750f(0x1cc)](_0x3f01a1['id'],_0x3f01a1['text']),_0x3bf204['push']({'id':_0x3f01a1['id'],'parent_id':_0x261a4a,'parent_text':_0x261a4a?_0xa11acf[_0x45750f(0x1f3)](_0x261a4a)||'':'','text':_0x3f01a1[_0x45750f(0x1fe)],'keyword':_0x3f01a1['keyword']||null,'started_at':_0x3f01a1[_0x45750f(0x121)],'duration':_0x3f01a1[_0x45750f(0x19b)]??null,'result':_0x3f01a1[_0x45750f(0x1c2)],'failure':_0x3f01a1[_0x45750f(0x14e)]||null,'failure_type':_0x3f01a1['failure_type']||null});}const _0x2625ab={};_0x2625ab[_0x45750f(0x14f)]=_0x3bf204,_0x338c47[TestFrameworkConstants[_0x45750f(0x19d)]]=_0x2625ab,logger[_0x45750f(0x1e4)]('parsePlaywrightTestResult:\x20extracted\x20'+_0x3bf204[_0x45750f(0x1c4)]+_0x45750f(0x171)+_0x16a636);const _0x339d63=[],_0x56387f=_0xb27f19[_0x45750f(0x1cf)](findNestedKey,_0x5ebdd5,_0xb27f19[_0x45750f(0x1b0)]);if(_0x56387f&&_0xb27f19['bwkEd'](validateFilePath,_0x56387f))try{_0x339d63[_0x45750f(0x12f)]({'kind':_0xb27f19[_0x45750f(0x158)],'timestamp':new Date()[_0x45750f(0x1e0)](),'test_run_uuid':_0x5793f0,'file_name':path['basename'](_0x56387f),'file_size':fs[_0x45750f(0x1c1)](_0x56387f)[_0x45750f(0x200)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x279ed8){logger[_0x45750f(0x17c)](_0x45750f(0x1ba)+_0x56387f+':\x20'+_0x279ed8['message']);}const _0x4acbea=TestInfo[_0x45750f(0x201)](),_0x73248a=_0x4acbea[_0x45750f(0x191)](_0x8fda0c=>_0x8fda0c[_0x45750f(0x16e)]===_0x5793f0);_0x73248a[_0x45750f(0x148)](_0x15aef5=>{const _0x32e902=_0x45750f;if(_0x15aef5[_0x32e902(0x1fd)]&&_0xb27f19[_0x32e902(0x15c)](validateFilePath,_0x15aef5[_0x32e902(0x1fd)])&&!_0x339d63[_0x32e902(0x140)](_0x205770=>_0x205770[_0x32e902(0x18a)]===path[_0x32e902(0x183)](_0x15aef5[_0x32e902(0x1fd)])))try{_0x339d63[_0x32e902(0x12f)]({'kind':_0xb27f19[_0x32e902(0x158)],'timestamp':new Date()[_0x32e902(0x1e0)](),'test_run_uuid':_0x5793f0,'file_name':path[_0x32e902(0x183)](_0x15aef5[_0x32e902(0x1fd)]),'file_size':fs['statSync'](_0x15aef5[_0x32e902(0x1fd)])[_0x32e902(0x200)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x455bfc){logger[_0x32e902(0x17c)](_0x32e902(0x1b6)+_0x15aef5[_0x32e902(0x1fd)]+'\x20from\x20TestDetails:\x20'+_0x455bfc['message']);}});if(_0xb27f19[_0x45750f(0x214)](_0x339d63['length'],0x0)){const _0x4ab30d=_0x338c47[TestFrameworkConstants[_0x45750f(0x1a9)]]||[];_0x338c47[TestFrameworkConstants[_0x45750f(0x1a9)]]=[..._0x4ab30d,..._0x339d63];}const _0x86f4c1=TestInfo[_0x45750f(0x193)](_0x2ce13)[TestFrameworkConstants[_0x45750f(0x1e5)]]||{},_0x253665=_0xb27f19['aMJCU'](getManualUploadLogs,_0x86f4c1,_0x1a41ca['getAllData']()[_0x45750f(0x1f3)](_0x2ce13)[TestFrameworkConstants[_0x45750f(0x1c7)]]);if(_0xb27f19[_0x45750f(0x214)](_0x253665['length'],0x0)){const _0x4f3311=_0x338c47[TestFrameworkConstants[_0x45750f(0x1a9)]]||[];_0x338c47[TestFrameworkConstants[_0x45750f(0x1a9)]]=[..._0x4f3311,..._0x253665];}const _0x319bf1=_0x54f2bb[_0x45750f(0x198)]||[],_0x1b4f0b=_0x338c47[TestFrameworkConstants[_0x45750f(0x150)]]||{},_0x2d4534=_0xb27f19[_0x45750f(0x1c0)](require,_0xb27f19['XDVie']);_0x319bf1[_0x45750f(0x148)](_0x47d0b5=>{const _0x508892=_0x45750f,{type:_0x5e0bcc}=_0x47d0b5;let _0xf197a9=_0x47d0b5['description'];if(!_0x5e0bcc)return;if(PLAYWRIGHT_BUILTIN_ANNOTATIONS[_0x508892(0x12a)](_0x5e0bcc))return;(_0xb27f19[_0x508892(0x1e8)](_0xf197a9,undefined)||_0xb27f19[_0x508892(0x1a0)](_0xf197a9,null)||_0xb27f19[_0x508892(0x1e8)](_0xb27f19[_0x508892(0x154)](String,_0xf197a9)[_0x508892(0x14b)](),''))&&(_0xf197a9=_0xb27f19['ZYLIv']);const _0x54f16c=helper['parseCommaSeparatedValues'](_0xb27f19[_0x508892(0x1c0)](String,_0xf197a9));_0x2d4534[_0x508892(0x127)](_0x1b4f0b,_0x5e0bcc,_0x54f16c);}),_0x338c47[TestFrameworkConstants[_0x45750f(0x150)]]=_0x1b4f0b,TestInfo[_0x45750f(0x18b)](_0x2ce13,_0x338c47);const _0x26b04b={};return _0x26b04b[_0x2ce13]=_0x338c47,_0x26b04b;}[a95_0x554583(0x18e)](_0x34671d,_0x11efeb,_0x129442){const _0x5cc022=a95_0x554583,_0x22ad7d={'EFeUT':function(_0x513e00,_0x1d8978){return _0x513e00||_0x1d8978;},'yKxLL':function(_0xead066,_0x38e8df,_0xb303e9){return _0xead066(_0x38e8df,_0xb303e9);}};try{const {test:_0x57aec2,result:_0x4e46fe,step:_0x9462c3}=_0x129442;if(_0x22ad7d[_0x5cc022(0x1b2)](!_0x57aec2,!_0x9462c3)||!_0x4e46fe)return;const _0x4981de=_0x22ad7d['yKxLL'](getTestRunIdentifier,_0x57aec2,_0x4e46fe[_0x5cc022(0x18f)]);logger[_0x5cc022(0x1e4)]('trackStepEvent:\x20testId='+_0x4981de+_0x5cc022(0x165)+_0x11efeb+_0x5cc022(0x20b)+_0x9462c3[_0x5cc022(0x176)]+'\x22');}catch(_0x5cdb84){logger[_0x5cc022(0x17c)](_0x5cc022(0x1f7)+util['format'](_0x5cdb84));}}async[a95_0x554583(0x123)](_0x1c0efc,_0x3388b8,_0x581033,_0x1bf09e){const _0x18014c=a95_0x554583,_0x36552b={'TiEuc':function(_0x31fbf9,_0x18a9a5,_0x4263ba){return _0x31fbf9(_0x18a9a5,_0x4263ba);},'QbPdc':function(_0x52e259,_0x10edc1){return _0x52e259 in _0x10edc1;},'vFklb':function(_0x236481,_0x227f97){return _0x236481 in _0x227f97;},'hgRaD':function(_0x1c7595,_0x5bd345){return _0x1c7595(_0x5bd345);},'OPQRo':function(_0x1acd32,_0x4bb912){return _0x1acd32===_0x4bb912;},'ylizh':function(_0x505285){return _0x505285();},'GvFsX':function(_0x7e882b,_0x1a641){return _0x7e882b>_0x1a641;},'Qecwy':'err','esOYR':_0x18014c(0x211),'fTqHL':_0x18014c(0x149),'XIfDa':function(_0x5a79ad,_0x5cb3c6){return _0x5a79ad!==_0x5cb3c6;},'gSmpu':function(_0x3388ad,_0x34a0d2){return _0x3388ad+_0x34a0d2;},'MUZql':_0x18014c(0x197)},_0x2557ef=_0x1bf09e['test'],_0x48ac4d=_0x1bf09e['step'],_0x1355ae=_0x36552b[_0x18014c(0x1f6)](getTestRunIdentifier,_0x2557ef,_0x1bf09e[_0x18014c(0x1c2)][_0x18014c(0x18f)]),_0x2a026b=_0x3388b8[_0x18014c(0x1e2)]()[_0x18014c(0x181)]('.')[0x1];let _0x3ed2b6=_0x1c0efc['getAllData']()[_0x18014c(0x1f3)](_0x1355ae)[TestFrameworkConstants[_0x18014c(0x1b4)]];!_0x3ed2b6&&(_0x3ed2b6={});!_0x36552b['QbPdc'](_0x2a026b,_0x3ed2b6)&&(_0x3ed2b6[_0x2a026b]=[]);let _0x351f24=_0x1c0efc['getAllData']()[_0x18014c(0x1f3)](_0x1355ae)[TestFrameworkConstants[_0x18014c(0x20a)]];!_0x351f24&&(_0x351f24={});!_0x36552b['vFklb'](_0x2a026b,_0x351f24)&&(_0x351f24[_0x2a026b]=[]);const _0x42d440={[TestFrameworkConstants[_0x18014c(0x1b4)]]:_0x3ed2b6,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x351f24},_0x8a7f04={};_0x8a7f04[_0x1355ae]=_0x42d440;const _0x2bfd52=_0x8a7f04,_0x457d54=_0x36552b['hgRaD'](getPlaywrightTestFilePath,_0x2557ef),_0x49b418=_0x457d54,_0x14d46c=TestInfo[_0x18014c(0x193)](_0x1355ae)[TestFrameworkConstants[_0x18014c(0x150)]]||{};if(_0x36552b[_0x18014c(0x1ff)](_0x581033,HookState['PRE'])){const _0x14759b={'key':_0x2a026b,[TestFrameworkConstants[_0x18014c(0x20e)]]:_0x36552b[_0x18014c(0x1de)](uuidv4),[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x18014c(0x151)],[TestFrameworkConstants[_0x18014c(0x1bb)]]:_0x48ac4d['startTime'],[TestFrameworkConstants[_0x18014c(0x192)]]:[],[TestFrameworkConstants[_0x18014c(0x1ce)]]:_0x48ac4d['title'],[TestFrameworkConstants[_0x18014c(0x1c6)]]:_0x457d54,[TestFrameworkConstants[_0x18014c(0x128)]]:_0x49b418,[TestFrameworkConstants[_0x18014c(0x150)]]:_0x14d46c};_0x3ed2b6[_0x2a026b][_0x18014c(0x12f)](_0x14759b),_0x2bfd52[_0x1355ae][TestFrameworkConstants['KEY_HOOK_LAST_STARTED']]=_0x2a026b,logger[_0x18014c(0x1e4)](_0x18014c(0x1e1)+_0x2a026b+_0x18014c(0x18d)+_0x14759b+_0x18014c(0x12e)+_0x1bf09e);}else{if(_0x36552b['OPQRo'](_0x581033,HookState[_0x18014c(0x1c3)])){const _0x40941a=await _0x1bf09e[_0x18014c(0x1c2)],_0x351c6f=_0x3ed2b6[_0x2a026b]||[],_0x31f883=_0x1bf09e[_0x18014c(0x146)];logger[_0x18014c(0x1e4)](_0x18014c(0x217)+_0x351c6f+'\x20and\x20args\x20=\x20'+_0x1bf09e);if(_0x36552b[_0x18014c(0x126)](_0x351c6f[_0x18014c(0x1c4)],0x0)){const _0x3bb2f4=_0x351c6f[_0x18014c(0x204)]();if(_0x31f883['error']){const _0x331f20=_0x36552b['TiEuc'](failureData,_0x31f883[_0x18014c(0x17c)],_0x36552b[_0x18014c(0x124)]);_0x3bb2f4[TestFrameworkConstants[_0x18014c(0x17f)]]=_0x36552b[_0x18014c(0x1d3)](getFailureType,_0x31f883?.[_0x18014c(0x17c)][_0x18014c(0x162)]),_0x3bb2f4[TestFrameworkConstants[_0x18014c(0x1a5)]]=_0x36552b[_0x18014c(0x1d3)](removeAnsiColors,_0x31f883?.['error']['message']),_0x3bb2f4[TestFrameworkConstants[_0x18014c(0x1b8)]]=_0x36552b[_0x18014c(0x1a4)],_0x3bb2f4[TestFrameworkConstants[_0x18014c(0x1a1)]]=_0x331f20;}else _0x3bb2f4[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x36552b[_0x18014c(0x122)];_0x36552b[_0x18014c(0x179)](_0x40941a,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0x3bb2f4[TestFrameworkConstants[_0x18014c(0x1b8)]]=!_0x31f883['error']?_0x36552b[_0x18014c(0x122)]:_0x36552b[_0x18014c(0x1a4)]);const _0x498812=new Date(_0x31f883[_0x18014c(0x210)]),_0x1a18c0=new Date(_0x36552b[_0x18014c(0x1d5)](_0x498812[_0x18014c(0x1dc)](),_0x31f883[_0x18014c(0x19b)]));_0x3bb2f4[TestFrameworkConstants[_0x18014c(0x1a8)]]=_0x1a18c0[_0x18014c(0x1e0)](),_0x3bb2f4[TestFrameworkConstants[_0x18014c(0x150)]]=_0x14d46c;const _0x434b15=_0x3bb2f4[TestFrameworkConstants[_0x18014c(0x20e)]];await this['sendLogCreatedEvent'](_0x1c0efc,_0x3388b8,_0x434b15,_0x36552b[_0x18014c(0x177)],_0x1bf09e),!_0x351f24[_0x2a026b]&&(_0x351f24[_0x2a026b]=[]),_0x351f24[_0x2a026b][_0x18014c(0x12f)](_0x3bb2f4),_0x2bfd52[_0x1355ae][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x2a026b;}}}return _0x2bfd52;}async[a95_0x554583(0x17b)](_0xe8a724,_0xab70d8,_0x168845,_0x5447a2,_0x1b5413,_0x4d8753){const _0x454392=a95_0x554583,_0x316ba9={'YsjUk':function(_0x21dc1a,_0x5c098f){return _0x21dc1a===_0x5c098f;},'Gpthk':_0x454392(0x168),'GxQld':function(_0x48a7bb,_0x5cd2e5,_0x174e7e){return _0x48a7bb(_0x5cd2e5,_0x174e7e);},'HXHoY':_0x454392(0x170),'uQCQT':function(_0x471c05,_0x5c0041,_0x1d7894,_0x23eda6){return _0x471c05(_0x5c0041,_0x1d7894,_0x23eda6);},'wSZIq':function(_0x42a2d4,_0x542aee){return _0x42a2d4/_0x542aee;},'HpJQP':function(_0x18a9b0,_0x2e5105){return _0x18a9b0<_0x2e5105;},'Zqopf':function(_0xa6b535,_0x321a88){return _0xa6b535*_0x321a88;},'cvwZn':function(_0x4211c6,_0x4c27a1){return _0x4211c6+_0x4c27a1;},'ZFeuB':function(_0x133176,_0x27840e,_0x21c705,_0xa7e3d3,_0xdbad02){return _0x133176(_0x27840e,_0x21c705,_0xa7e3d3,_0xdbad02);},'UjSmr':function(_0x556d93,_0x1bfdd1){return _0x556d93+_0x1bfdd1;},'AjJGe':function(_0x28b6e6,_0x16b242){return _0x28b6e6+_0x16b242;},'gzelI':function(_0x12887a,_0x261742,_0x48fc0e,_0x3698a6){return _0x12887a(_0x261742,_0x48fc0e,_0x3698a6);},'dSmLW':_0x454392(0x197)};try{if(_0x316ba9[_0x454392(0x209)](_0x5447a2,_0x316ba9['Gpthk'])){const _0x212542=await _0x1b5413['result'],_0x4152d7=_0x316ba9[_0x454392(0x212)](getTestRunIdentifier,_0x1b5413['test'],_0x1b5413[_0x454392(0x1c2)][_0x454392(0x18f)]),_0x5baba5=_0x1b5413[_0x454392(0x168)];logger[_0x454392(0x1e4)]('sendLogCreatedEvent:\x20testId='+_0x4152d7+'\x20result='+util['inspect'](_0x212542));const _0x4fcc94=_0xe8a724[_0x454392(0x160)]()['get'](_0x4152d7)[TestFrameworkConstants[_0x454392(0x1c7)]];await _0x316ba9[_0x454392(0x212)](sendTraceZip,_0x212542,_0x4fcc94);const _0x5cd31a=TestInfo[_0x454392(0x193)](_0x4152d7)[_0x316ba9[_0x454392(0x145)]],_0x2ca8a7={};if(_0x5cd31a){!_0x212542[_0x454392(0x170)]&&(_0x212542[_0x454392(0x170)]=[]);_0x2ca8a7['attachments']=_0x212542[_0x454392(0x170)][_0x454392(0x11c)](_0x5cd31a||[]);const _0x1b6eb9=TestInfo[_0x454392(0x193)](_0x4152d7);delete _0x1b6eb9[_0x316ba9[_0x454392(0x145)]],TestInfo[_0x454392(0x18b)](_0x4152d7,_0x1b6eb9);}const _0x37a005=_0x4d8753||_0x316ba9['uQCQT'](getStepsAndLogs,_0x212542[_0x454392(0x14f)],_0xe8a724['getAllData']()[_0x454392(0x1f3)](_0x4152d7)[TestFrameworkConstants[_0x454392(0x1c7)]],_0x316ba9[_0x454392(0x1f1)])[_0x454392(0x1d8)],_0x277533=_0x316ba9[_0x454392(0x212)](getScreenshots,_0x2ca8a7,_0xe8a724[_0x454392(0x160)]()[_0x454392(0x1f3)](_0x4152d7)[TestFrameworkConstants[_0x454392(0x1c7)]]),_0x342f51=_0x316ba9[_0x454392(0x212)](getVideos,_0x212542,_0xe8a724['getAllData']()['get'](_0x4152d7)[TestFrameworkConstants[_0x454392(0x1c7)]]),{_:_0x37dbfc,logs:_0x677f68}=_0x316ba9[_0x454392(0x212)](getFailureData,_0x212542['errors'],{'test_run_uuid':_0xe8a724[_0x454392(0x160)]()[_0x454392(0x1f3)](_0x4152d7)[TestFrameworkConstants[_0x454392(0x1c7)]]}),_0x38e2ec=TestInfo[_0x454392(0x193)](_0x4152d7)[TestFrameworkConstants[_0x454392(0x1e5)]]||{},_0x420c1e=_0x316ba9['GxQld'](getMediaArtifactsLogs,_0x38e2ec,_0xe8a724['getAllData']()[_0x454392(0x1f3)](_0x4152d7)[TestFrameworkConstants[_0x454392(0x1c7)]]),_0x3d803d=_0xe8a724[_0x454392(0x160)]()[_0x454392(0x1f3)](_0x4152d7),{[TestFrameworkConstants[_0x454392(0x1e7)]]:_0x10d8e7='',[TestFrameworkConstants[_0x454392(0x20f)]]:_0x1e4233=''}=_0x3d803d,_0x541e06=(_0x37a005||[])[_0x454392(0x11c)](_0x277533||[])[_0x454392(0x11c)](_0x677f68||[])[_0x454392(0x11c)](_0x342f51||[])['concat'](_0x420c1e||[]),_0x1caa75=0x28,_0x500179=Math['ceil'](_0x316ba9[_0x454392(0x17d)](_0x541e06[_0x454392(0x1c4)],_0x1caa75));for(let _0x476b0a=0x0;_0x316ba9['HpJQP'](_0x476b0a,_0x500179);_0x476b0a++){const _0x2ac79d=_0x316ba9[_0x454392(0x20d)](_0x476b0a,_0x1caa75),_0x948183=_0x316ba9[_0x454392(0x119)](_0x2ac79d,_0x1caa75),_0x1add48=_0x541e06[_0x454392(0x1b9)](_0x2ac79d,_0x948183),_0x42ab85={'platformIndex':global?.[_0x454392(0x13f)]??0x0,'logs':_0x1add48,'testFrameworkName':_0x10d8e7,'testFrameworkVersion':_0x1e4233,'testFrameworkState':_0xab70d8[_0x454392(0x1e2)]()[_0x454392(0x181)]('.')[0x1]};_0x316ba9['ZFeuB'](updatePayloadForTraceLogs,_0x42ab85,_0x1b5413,_0x4152d7,_0xe8a724),logger[_0x454392(0x1e4)](_0x454392(0x13d)+_0x4152d7+_0x454392(0x135)+_0x316ba9[_0x454392(0x157)](_0x476b0a,0x1)+'/'+_0x500179+_0x454392(0x1a3)+util[_0x454392(0x173)](_0x42ab85));const _0x52228b=await GrpcClient[_0x454392(0x1fc)]()[_0x454392(0x1d4)](_0x42ab85);logger['debug'](_0x454392(0x13d)+_0x4152d7+_0x454392(0x135)+_0x316ba9['AjJGe'](_0x476b0a,0x1)+'/'+_0x500179+_0x454392(0x11f)+util['inspect'](_0x52228b));}}else{const {logs:_0x1a879a}=_0x316ba9[_0x454392(0x188)](getStepsAndLogs,_0x1b5413['step'][_0x454392(0x14f)],_0x168845,_0x316ba9[_0x454392(0x15e)]),_0x40e818=_0x316ba9[_0x454392(0x212)](getTestRunIdentifier,_0x1b5413['test'],_0x1b5413[_0x454392(0x1c2)][_0x454392(0x18f)]);logger['debug'](_0x454392(0x152)+_0x40e818);const _0x5b4b88=_0xe8a724[_0x454392(0x160)]()['get'](_0x40e818),{[TestFrameworkConstants[_0x454392(0x1e7)]]:_0x47824e='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x47cd5a=''}=_0x5b4b88,_0x5cd2ec={'platformIndex':'0','logs':_0x1a879a,'testFrameworkName':_0x47824e,'testFrameworkVersion':_0x47cd5a,'testFrameworkState':_0xab70d8[_0x454392(0x1e2)]()[_0x454392(0x181)]('.')[0x1]};_0x316ba9[_0x454392(0x1ef)](updatePayloadForTraceLogs,_0x5cd2ec,_0x1b5413,_0x40e818,_0xe8a724),logger[_0x454392(0x1e4)](_0x454392(0x13d)+_0x40e818+'\x20payload='+util[_0x454392(0x173)](_0x5cd2ec));const _0x2c5fc3=await GrpcClient['getInstance']()[_0x454392(0x1d4)](_0x5cd2ec);}}catch(_0x11b99e){logger[_0x454392(0x17c)](_0x454392(0x14d)+util[_0x454392(0x196)](_0x11b99e));}}[a95_0x554583(0x11a)](_0x44ad8d){const _0x4eb68e=a95_0x554583,_0x538821={'vOZlB':function(_0x1a258e,_0x3481b8,_0x56f968){return _0x1a258e(_0x3481b8,_0x56f968);},'fEPSW':function(_0x559e16,_0x24556f){return _0x559e16<_0x24556f;},'NpGcV':'base64'};try{const _0x4b2970=_0x44ad8d[_0x4eb68e(0x168)]['id'],_0x4b1b91=_0x538821['vOZlB'](getTestRunIdentifier,_0x44ad8d[_0x4eb68e(0x168)],_0x44ad8d[_0x4eb68e(0x1c2)][_0x4eb68e(0x18f)]),_0x398597=_0x44ad8d[_0x4eb68e(0x205)],_0x3a5361=_0x398597[_0x4eb68e(0x164)](),_0x491077=_0x398597[_0x4eb68e(0x160)]()['get'](_0x4b1b91);logger[_0x4eb68e(0x1e4)](_0x4eb68e(0x1ec)+_0x4b2970);const {[TestFrameworkConstants[_0x4eb68e(0x1e7)]]:_0x58b1e3='',[TestFrameworkConstants[_0x4eb68e(0x20f)]]:_0x40f858='',[TestFrameworkConstants[_0x4eb68e(0x147)]]:_0x52f247='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x505cc1=''}=_0x491077,_0x53a7a9=_0x398597[_0x4eb68e(0x180)]()['toString']()[_0x4eb68e(0x181)]('.')[0x1],_0x3c3283=_0x398597[_0x4eb68e(0x1db)]()[_0x4eb68e(0x1e2)]()[_0x4eb68e(0x181)]('.')[0x1],_0x5ae9e9=_0x538821['fEPSW'](_0x44ad8d?.[_0x4eb68e(0x1c2)]?.[_0x4eb68e(0x143)]??0x0,0x0)?0x0:_0x44ad8d?.[_0x4eb68e(0x1c2)]?.[_0x4eb68e(0x143)]??0x0,_0x255036=_0x398597['getRef'](),_0x51a2fa=Buffer[_0x4eb68e(0x1d7)](JSON[_0x4eb68e(0x139)](_0x491077))[_0x4eb68e(0x1e2)](_0x538821['NpGcV']),_0x327133={'hash':_0x3a5361[_0x4eb68e(0x15a)](),'threadId':_0x3a5361[_0x4eb68e(0x1f8)]()[_0x4eb68e(0x1e2)](),'processId':_0x3a5361['getProcessId']()['toString']()},_0x198f43={};_0x198f43[_0x4eb68e(0x185)]=_0x5ae9e9,_0x198f43[_0x4eb68e(0x116)]=_0x58b1e3,_0x198f43[_0x4eb68e(0x1f9)]=_0x40f858,_0x198f43[_0x4eb68e(0x1d1)]=_0x53a7a9,_0x198f43[_0x4eb68e(0x141)]=_0x3c3283,_0x198f43[_0x4eb68e(0x166)]=_0x52f247,_0x198f43[_0x4eb68e(0x1eb)]=_0x505cc1,_0x198f43['uuid']=_0x255036,_0x198f43[_0x4eb68e(0x1d6)]=_0x51a2fa,_0x198f43[_0x4eb68e(0x130)]=_0x327133;const _0x1f8dbf=_0x198f43;return logger[_0x4eb68e(0x1e4)](_0x4eb68e(0x174)+_0x4b2970+_0x4eb68e(0x182)+_0x53a7a9+_0x4eb68e(0x20c)+_0x3c3283),_0x1f8dbf;}catch(_0x49a655){return logger[_0x4eb68e(0x17c)](_0x4eb68e(0x215)+util['format'](_0x49a655)),{};}}}module['exports']=PlaywrightTestFramework;function a95_0x4c8d(){const _0x2b92e7=['6Yqpbod','ZFeuB','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','Gpthk','MAX_TOP_LEVEL_STEPS','get','KPbXK','parsePlaywrightTest','TiEuc','trackStepEvent:\x20exception=','getThreadId','testFrameworkVersion','parsePlaywrightTestResult:\x20testId=','duhuQ','getInstance','filePath','text','OPQRo','size','getTraceFilePaths','parent_id','trackEvent','pop','instance','matchHookRegex','getTrackedInstance','KEY_AUTOMATE_SESSION_NAME','YsjUk','KEY_HOOKS_FINISHED','\x20step=\x22','\x20hookState:\x20','Zqopf','KEY_HOOK_ID','KEY_TEST_FRAMEWORK_VERSION','startTime','failed','GxQld','\x20instanceId=','YwbcE','Error\x20in\x20createTestFrameworkEventPayload:\x20','1bHauCE','Hook\x20List\x20in\x20Post\x20','../../playwright/reporter/pwUtils','testFrameworkName','MAX_NESTED_STEP_DEPTH','path','cvwZn','createTestFrameworkEventPayload','cEUjm','concat','setTrackedInstance','TEST','\x20response=','skipped','started_at','fTqHL','trackHookEvent','Qecwy','errors','GvFsX','mergeIntoTags','KEY_TEST_LOCATION','YsQQo','has','../instances/trackedInstance.js','Gbmjv',',\x20state=','\x20\x20and\x20args\x20=\x20','push','executionContext','zjJED','5553751bnUiJS','resolveInstance','KEY_TEST_NAME','\x20batch\x20','KEY_TEST_SCOPE','WJyaF','TEST_STEP','stringify','../state/hookState.js','7195840eOrITB','KEY_TEST_RESULT','sendLogCreatedEvent\x20for\x20testId:\x20','1523493bFzHYV','browserstackPlatformIndex','some','hookState','KEY_TEST_RERUN_NAME','parallelIndex','gRBNe','HXHoY','step','KEY_TEST_STARTED_AT','forEach','passed','KEY_TEST_FAILURE','trim','getTestIdentifierFromTestInfo','Error\x20in\x20sendLogCreatedEvent:\x20','failure','steps','KEY_CUSTOM_TAGS','DEFAULT_HOOK_RESULT','sendLogCreatedEvent:\x20testId=','../../../helpers/classLogger.js','AkDUS','fixme','KEY_TEST_RESULT_AT','UjSmr','cAnHm','./constants/testFrameworkConstants.js','getId','getCurrentInstanceName','bwkEd','KEY_TEST_LOGS','dSmLW','getRef','getAllData','../grpcClient','message','24zWKFTr','getContext','\x20hookState=','startedAt','trackEvent:\x20found\x20instance,\x20testFrameworkState=','test','XOHtt','PlaywrightTestFramework','getTestUUID','KEY_TEST_ID','KEY_TEST_ENDED_AT','testUId','vEplF','attachments','\x20steps\x20for\x20testId=',',\x20testFrameworkState=','inspect','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','No\x20reason\x20provided','title','MUZql','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','XIfDa','skip','sendLogCreatedEvent','error','wSZIq','\x20target=','KEY_HOOK_FAILURE_TYPE','getCurrentTestState','split','\x20testState:\x20','basename','384548IWFKRv','platformIndex','../../utils/constants','eknVS','gzelI','PRE','file_name','setTestDetails','expectedStatus','\x20&\x20hook\x20=\x20','trackStepEvent','retry','oMBqi','filter','KEY_HOOK_LOGS','getTestDetails','MQKiS','../state/testFrameworkState.js','format','hook','annotations','results','status','duration','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','KEY_TEST_META','TEST_SCREENSHOT','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','JqnEA','KEY_HOOK_FAILURE','BVySj','\x20payload=','esOYR','KEY_HOOK_FAILURE_REASON','KEY_TEST_SCOPES','./testFramework','KEY_EVENT_ENDED_AT','KEY_LOGS','uuid','../customTagManager','3814880FjHeqM','gOKXq','tmXtk','addMultipleEntries','xMlgs','runHooks','EFeUT','\x20instance=','KEY_HOOKS_STARTED','info','Error\x20processing\x20trace\x20file\x20','QLfqT','KEY_HOOK_RESULT','slice','Error\x20processing\x20direct\x20trace\x20file\x20','KEY_EVENT_STARTED_AT','slow','NONE','parsePlaywrightTestResult','DEFAULT_TEST_RESULT','xAenR','statSync','result','POST','length','1638110cumons','KEY_TEST_FILE_PATH','KEY_TEST_UUID','fLJCr','JeBLJ','createContext','TEST_ATTACHMENT','set','fail','KEY_HOOK_NAME','HqMrq','trackPlaywrightInstance','testFrameworkState','hTwqS','hgRaD','logCreatedEvent','gSmpu','eventJson','from','logs','../TestInfo.js','2203570dNZoHL','getCurrentHookState','getTime','IwiKG','ylizh','KEY_TEST_TAGS','toISOString','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','toString','rpygy','debug','KEY_TEST_ATTACHMENTS','INIT_TEST','KEY_TEST_FRAMEWORK_NAME','CpkAh','VYNlf','../instances/testFrameworkInstance.js','endedAt','createTestFrameworkEventPayload\x20testId:\x20','oylWu'];a95_0x4c8d=function(){return _0x2b92e7;};return a95_0x4c8d();}
1
+ const a96_0x503acb=a96_0xd98b;(function(_0x208e7f,_0x18e9a0){const _0x3fcfb9=a96_0xd98b,_0x206f63=_0x208e7f();while(!![]){try{const _0x416489=-parseInt(_0x3fcfb9(0xb5))/0x1*(-parseInt(_0x3fcfb9(0x18f))/0x2)+-parseInt(_0x3fcfb9(0x16e))/0x3*(-parseInt(_0x3fcfb9(0x117))/0x4)+parseInt(_0x3fcfb9(0x13a))/0x5*(parseInt(_0x3fcfb9(0x18e))/0x6)+-parseInt(_0x3fcfb9(0x135))/0x7+-parseInt(_0x3fcfb9(0xd9))/0x8*(-parseInt(_0x3fcfb9(0x10e))/0x9)+-parseInt(_0x3fcfb9(0xfd))/0xa*(-parseInt(_0x3fcfb9(0x170))/0xb)+-parseInt(_0x3fcfb9(0x154))/0xc;if(_0x416489===_0x18e9a0)break;else _0x206f63['push'](_0x206f63['shift']());}catch(_0x5437d1){_0x206f63['push'](_0x206f63['shift']());}}}(a96_0x3471,0xe172c));const TestFramework=require(a96_0x503acb(0xfc)),TestFrameworkState=require(a96_0x503acb(0x171)),HookState=require(a96_0x503acb(0x140)),{createClassLogger}=require(a96_0x503acb(0xc5)),TestFrameworkInstance=require(a96_0x503acb(0x19d)),CLIUtils=require(a96_0x503acb(0x12f)),TrackedInstance=require(a96_0x503acb(0x153)),TestFrameworkConstants=require(a96_0x503acb(0x139)),logger=createClassLogger(a96_0x503acb(0xaa)),{v4:uuidv4}=require(a96_0x503acb(0x1a2)),util=require(a96_0x503acb(0xe9)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require('../../../helpers/helper.js'),TestInfo=require('../TestInfo.js'),GrpcClient=require(a96_0x503acb(0x159)),{removeAnsiColors,getFailureType,failureData}=require(a96_0x503acb(0xea)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a96_0x503acb(0x1ae)),{findNestedKey,sendTraceZip,validateFilePath}=require(a96_0x503acb(0x1ae)),path=require(a96_0x503acb(0x107)),fs=require('fs'),helper=require(a96_0x503acb(0x16f)),{PLAYWRIGHT_TRACE_LOGS}=require(a96_0x503acb(0x19c)),PLAYWRIGHT_BUILTIN_ANNOTATIONS=new Set([a96_0x503acb(0xcf),a96_0x503acb(0x11b),'slow',a96_0x503acb(0x15c)]);function a96_0xd98b(_0x5371f5,_0x115726){const _0x3471f4=a96_0x3471();return a96_0xd98b=function(_0xd98bf2,_0x345bb0){_0xd98bf2=_0xd98bf2-0xa2;let _0x45f5c4=_0x3471f4[_0xd98bf2];return _0x45f5c4;},a96_0xd98b(_0x5371f5,_0x115726);}function a96_0x3471(){const _0x197632=['file_name','startedAt','\x20instanceId=','ViKmT','424cooZFk','addMultipleEntries','KEY_TEST_FRAMEWORK_VERSION','getCurrentTestState','fixme','vIVzI','toString','KEY_TEST_RESULT','filePath','statSync','vnPlp','USsZy','\x20testState:\x20','parsePlaywrightTestResult:\x20extracted\x20','FeKcv','SSGtp','result','ygigB','KEY_HOOK_RESULT','instance','getTestDetails','stringify','resolveInstance','slice','../cliUtils.js','bJmAl','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','KEY_EVENT_ENDED_AT','khCMt','8402912RAzsMm','parsePlaywrightTestResult','getAllData','KEY_TEST_RESULT_AT','./constants/testFrameworkConstants.js','95VePSYX','debug','KEY_TEST_FILE_PATH','\x20result=','IuxjL','parent_id','../state/hookState.js','logCreatedEvent','tcTTV','getContext','KEY_TEST_UUID','KEY_AUTOMATE_SESSION_NAME','aIzzm','VWRjF','passed','lrvyn','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','pbDsS','set','DEFAULT_HOOK_RESULT','text','TEST','annotations','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','trackEvent','../instances/trackedInstance.js','11167560JKEhsq','tNaFw','get','KEY_TEST_LOCATION','started_at','../grpcClient','\x20hookState=','\x20response=','fail','size','KEY_TEST_META','toISOString','description','\x20target=','getCurrentInstanceName','KEY_HOOK_FAILURE_TYPE','vFeMI','../customTagManager','KEY_CUSTOM_TAGS','startTime','error','basename','KEY_HOOK_ID','getTestIdentifierFromTestInfo','steps','FzSLk','6492SyfwWP','../../../../src/helpers/helper','11dKdpaM','../state/testFrameworkState.js','GfeDx','Isuny','VvvLz','duration','GqrjL','Elcnz','\x20from\x20TestDetails:\x20','runHooks','MzlMI','TEST_SCREENSHOT','base64','hookState','getCurrentHookState','timedOut','nhaAO','KEY_HOOK_FAILURE','status','attachments','nthem','\x20and\x20args\x20=\x20','iydjW','failed','KEY_TEST_NAME','length','getTestFrameworksVersions','keyword','KEY_TEST_FRAMEWORK_NAME','Wvaqk','258270iQLpkq','14324qZlHJB','\x20steps\x20for\x20testId=','IxBbP','from','getTestUUID','hPqcM','sAhmC','KAYZR',',\x20state=','getRef','dbGTT','vzTAu','platformIndex','../../utils/constants','../instances/testFrameworkInstance.js','wKXwd','INIT_TEST','setTrackedInstance','testUId','uuid','retry','test','matchHookRegex','KEY_HOOK_NAME','nuXmv','WQMqq','No\x20reason\x20provided','trackStepEvent','JeyyZ','getTestFrameworks','Aeftv','../../playwright/reporter/pwUtils','has','cWVlz','VqBXy','getThreadId','MAX_NESTED_STEP_DEPTH','MUjkC','ceil','getProcessId','KEY_HOOK_FAILURE_REASON','trackPlaywrightInstance','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','PlaywrightTestFramework','testFrameworkVersion','hook','err','rAhLJ','HGiFC','expectedStatus','KEY_EVENT_STARTED_AT','Error\x20processing\x20trace\x20file\x20','qlNpA','KEY_TEST_ATTACHMENTS','8DSrcEo','errors','cfZoq','trackStepEvent:\x20testId=','KEY_TEST_TAGS','KEY_TEST_ID','KEY_HOOKS_STARTED','\x20hookState:\x20','trackStepEvent:\x20exception=','format','message','Tmabo','KEY_TEST_CODE','qzewR','failure_type','Error\x20in\x20sendLogCreatedEvent:\x20','../../../helpers/classLogger.js','sendLogCreatedEvent','forEach','parallelIndex','QWUWe','ZwdCO','UbaIQ','KEY_HOOK_LAST_STARTED','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','NONE','skip','vgvXL','lrcgz','getId','POST','nrgEO','KEY_TEST_FAILURE','push','sendLogCreatedEvent:\x20testId=','KEY_LOGS','207088TRXUyv','KEY_TEST_SCOPES','step','gmGGt','BMhBK','endedAt','\x20step=\x22','KEY_HOOKS_FINISHED','info','\x20instance=','Hook\x20List\x20in\x20Post\x20','KEY_TEST_STARTED_AT','eventJson','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','Error\x20processing\x20direct\x20trace\x20file\x20','NrNuj','util','../../../helpers/test-observability/utils','inspect','split','jULCl','KEY_TEST_ENDED_AT','sHhIv','getTraceFilePaths','gndea','parsePlaywrightTest','sendLogCreatedEvent\x20for\x20testId:\x20','stack','title','Expected\x20to\x20fail,\x20but\x20passed.','KEY_TEST_LOGS','KEY_TEST_RETRY_OF','\x20batch\x20','parseCommaSeparatedValues','oBbSs','./testFramework','13804550AyQrHf','IkAyB','trim','qiIqU','zFjMl','KEY_HOOK_LAST_FINISHED','createTestFrameworkEventPayload','SSNgu','EpFfO','cVpzo','path','setTestDetails','failure','logs','trackEvent:\x20found\x20instance,\x20testFrameworkState=','\x20payload=','executionContext','198ujZoev','KEY_TEST_FAILURE_REASON','PRE','nAOUY','concat'];a96_0x3471=function(){return _0x197632;};return a96_0x3471();}class PlaywrightTestFramework extends TestFramework{constructor(_0x26053d,_0x247db4,_0x26a081){super(_0x26053d,_0x247db4,_0x26a081);}async[a96_0x503acb(0x152)](_0x424927,_0x41ddaf,_0x5d4e0a={}){const _0x3c66eb=a96_0x503acb,_0x2fb12e={'BMhBK':function(_0x328807,_0x1c6d0f){return _0x328807===_0x1c6d0f;},'KAYZR':function(_0x11a8c5,_0x13e8ce){return _0x11a8c5===_0x13e8ce;},'SSNgu':function(_0x270c65,_0x45125a){return _0x270c65===_0x45125a;},'nuXmv':function(_0x56eb89,_0xaf5d71,_0xfc36b5){return _0x56eb89(_0xaf5d71,_0xfc36b5);},'hcjfE':function(_0x4ced48,_0x23bc96,_0x78a0b7){return _0x4ced48(_0x23bc96,_0x78a0b7);},'ZyJhP':function(_0x356d02,_0x31b36c,_0x7427e0,_0x1e2c6f){return _0x356d02(_0x31b36c,_0x7427e0,_0x1e2c6f);},'wKXwd':_0x3c66eb(0x1a4),'wkkqd':_0x3c66eb(0xcd)};super[_0x3c66eb(0x152)](_0x424927,_0x41ddaf,_0x5d4e0a);if(_0x2fb12e[_0x3c66eb(0xdd)](_0x424927,TestFrameworkState[_0x3c66eb(0x17b)])){const _0x50a91c=TestInfo[_0x3c66eb(0x16b)](_0x5d4e0a['test'],_0x5d4e0a['test'][_0x3c66eb(0x1a3)]);TestInfo[_0x3c66eb(0x108)](_0x50a91c,_0x5d4e0a['result'],!![]);}if(_0x2fb12e[_0x3c66eb(0x196)](_0x424927,TestFrameworkState['TEST_STEP'])){this[_0x3c66eb(0x1aa)](_0x424927,_0x41ddaf,_0x5d4e0a);return;}const _0x341e86=this[_0x3c66eb(0x12d)](_0x424927,_0x41ddaf,_0x5d4e0a);if(!_0x341e86)return;logger[_0x3c66eb(0x13b)](_0x3c66eb(0x10b)+_0x424927+_0x3c66eb(0x15a)+_0x41ddaf+_0x3c66eb(0x115)+_0x341e86[_0x3c66eb(0x198)]());try{if(_0x2fb12e['KAYZR'](_0x41ddaf,HookState[_0x3c66eb(0x110)])&&_0x2fb12e[_0x3c66eb(0x104)](_0x424927,TestFrameworkState[_0x3c66eb(0x14f)])){const _0x139514=_0x5d4e0a[_0x3c66eb(0x1a4)];logger[_0x3c66eb(0x13b)](_0x3c66eb(0x151)+_0x139514['id']+'}');const _0x5656e1=TestInfo['getTestUUID'](_0x2fb12e[_0x3c66eb(0x1a7)](getTestRunIdentifier,_0x139514,_0x5d4e0a[_0x3c66eb(0x127)][_0x3c66eb(0x1a3)]));_0x341e86['addMultipleEntries'](this[_0x3c66eb(0xf2)](_0x5656e1,_0x139514,_0x5d4e0a[_0x3c66eb(0x127)])),logger['debug'](_0x3c66eb(0xa9)+_0x139514['id']+',\x20testFrameworkState='+_0x424927+'\x20testHookState='+_0x41ddaf+_0x3c66eb(0xe2)+_0x341e86[_0x3c66eb(0x198)]());}if(_0x2fb12e[_0x3c66eb(0xdd)](_0x41ddaf,HookState[_0x3c66eb(0xd3)])&&_0x2fb12e['BMhBK'](_0x424927,TestFrameworkState['TEST'])){const _0x4399bb=_0x5d4e0a[_0x3c66eb(0x1a4)],_0x332649=_0x5d4e0a[_0x3c66eb(0x127)];logger[_0x3c66eb(0x13b)](_0x3c66eb(0x131)+_0x4399bb['id']);const _0x5b5ef7=_0x2fb12e['hcjfE'](getTestRunIdentifier,_0x4399bb,_0x332649[_0x3c66eb(0x1a3)]),_0x28dd55=_0x341e86[_0x3c66eb(0x137)]()[_0x3c66eb(0x156)](_0x5b5ef7)[TestFrameworkConstants[_0x3c66eb(0x144)]],{steps:_0x2e1249,logs:_0x976f2c}=_0x2fb12e['ZyJhP'](getStepsAndLogs,_0x332649[_0x3c66eb(0x16c)],_0x28dd55,_0x2fb12e[_0x3c66eb(0x19e)]);_0x341e86[_0x3c66eb(0x118)](this[_0x3c66eb(0x136)](_0x4399bb['id'],_0x332649,_0x4399bb,_0x2e1249)),await this[_0x3c66eb(0xc6)](_0x341e86,_0x424927,_0x41ddaf,_0x2fb12e[_0x3c66eb(0x19e)],_0x5d4e0a,_0x976f2c);}if(CLIUtils[_0x3c66eb(0x1a5)](_0x424927[_0x3c66eb(0x11d)]()[_0x3c66eb(0xec)]('.')[0x1])){const _0x152c04=await this['trackHookEvent'](_0x341e86,_0x424927,_0x41ddaf,_0x5d4e0a);_0x341e86[_0x3c66eb(0x118)](_0x152c04);}}catch(_0x3146ec){logger['error'](util[_0x3c66eb(0xbe)](_0x2fb12e['wkkqd'],_0x424927,_0x41ddaf,_0x5d4e0a['length'],_0x3146ec));}_0x5d4e0a[_0x3c66eb(0x12a)]=_0x341e86,await this[_0x3c66eb(0x179)](_0x341e86,_0x424927,_0x41ddaf,_0x5d4e0a);}[a96_0x503acb(0x12d)](_0x2d896d,_0x17abe0,_0x156264={}){const _0x2c499f=a96_0x503acb,_0xf5cb22={};_0xf5cb22[_0x2c499f(0x155)]=function(_0x2bc3ca,_0x2fff56){return _0x2bc3ca===_0x2fff56;},_0xf5cb22['dbGTT']=function(_0x1aa3d8,_0x21ddc9){return _0x1aa3d8===_0x21ddc9;};const _0x2695c8=_0xf5cb22;let _0x1f38c0=null;return(_0x2695c8['tNaFw'](_0x2d896d,TestFrameworkState[_0x2c499f(0x19f)])||_0x2695c8[_0x2c499f(0x199)](_0x2d896d,TestFrameworkState[_0x2c499f(0xce)]))&&this['trackPlaywrightInstance'](_0x2d896d,_0x156264),_0x1f38c0=TestFramework['getTrackedInstance'](),_0x1f38c0;}[a96_0x503acb(0xa8)](_0x26d3cf,_0x53e2d9){const _0x12d472=a96_0x503acb,_0x5e440e=CLIUtils[_0x12d472(0x162)](),_0xb0d125=TrackedInstance['createContext'](_0x5e440e);let _0x4d6235=null;logger[_0x12d472(0xe1)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x5e440e+_0x12d472(0x197)+_0x26d3cf),_0x4d6235=new TestFrameworkInstance(_0xb0d125,this[_0x12d472(0x1ac)](),this[_0x12d472(0x18a)](),_0x26d3cf,HookState[_0x12d472(0xce)]),TestFramework[_0x12d472(0x1a0)](_0xb0d125,_0x4d6235),logger['info'](_0x12d472(0x132)+_0xb0d125['getId']()+_0x12d472(0x161)+_0x5e440e);}['parsePlaywrightTest'](_0x479220,_0x1116bb,_0x5d9f32){const _0xd47dd7=a96_0x503acb,_0x53afa3={'oBbSs':function(_0x3a7704,_0x517ba1){return _0x3a7704(_0x517ba1);},'bJmAl':function(_0x485ac8,_0x2fc0df){return _0x485ac8(_0x2fc0df);},'Wvaqk':function(_0x3070e5,_0x192f12){return _0x3070e5(_0x192f12);},'nhaAO':function(_0xe20963,_0x337bd2){return _0xe20963(_0x337bd2);},'rJNvh':function(_0x4e5d71,_0x1fb765){return _0x4e5d71(_0x1fb765);},'EpFfO':function(_0x1b343e,_0x2c50df){return _0x1b343e(_0x2c50df);},'xaVkB':function(_0x23ed9c,_0x41ff17){return _0x23ed9c(_0x41ff17);},'aIzzm':function(_0x14186d,_0x56a6b0,_0x351d71){return _0x14186d(_0x56a6b0,_0x351d71);}},_0x1358ab=_0x53afa3[_0xd47dd7(0xfb)](getPlaywrightTestId,_0x1116bb),_0x26253d=_0x53afa3['bJmAl'](getPlaywrightTestTitle,_0x1116bb),_0x196458=_0x53afa3[_0xd47dd7(0x18d)](getTestTags,_0x1116bb),_0x9aeba8=_0x53afa3[_0xd47dd7(0x180)](getPlaywrightTestCode,_0x1116bb),_0xd08a5b=_0x53afa3['rJNvh'](getPlaywrightTestFilePath,_0x1116bb),_0x5d8c90=_0xd08a5b,_0x345b22=_0x53afa3[_0xd47dd7(0x105)](getPlaywrightTestScope,_0x1116bb),_0x1a5832=_0x53afa3['EpFfO'](getPlaywrightTestScopes,_0x1116bb),_0x24e521=_0x53afa3['xaVkB'](getPlaywrightSessionName,_0x1116bb),_0x4cec3d=this['getTestFrameworks']()[0x0],_0x376a57=_0x53afa3[_0xd47dd7(0x146)](getTestRunIdentifier,_0x1116bb,_0x5d9f32[_0xd47dd7(0x1a3)]),_0x188c6b={[TestFrameworkConstants[_0xd47dd7(0x18c)]]:_0x4cec3d,[TestFrameworkConstants[_0xd47dd7(0x119)]]:this[_0xd47dd7(0x18a)]()[_0x4cec3d],[TestFrameworkConstants[_0xd47dd7(0xf7)]]:[],[TestFrameworkConstants[_0xd47dd7(0xe0)]]:{},[TestFrameworkConstants[_0xd47dd7(0xbb)]]:{},[TestFrameworkConstants[_0xd47dd7(0x144)]]:_0x479220,[TestFrameworkConstants[_0xd47dd7(0x11e)]]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0xd47dd7(0x145)]]:_0x24e521,[TestFrameworkConstants[_0xd47dd7(0x13c)]]:_0xd08a5b,[TestFrameworkConstants[_0xd47dd7(0xba)]]:_0x1358ab,[TestFrameworkConstants[_0xd47dd7(0x188)]]:_0x26253d,[TestFrameworkConstants[_0xd47dd7(0x157)]]:_0x5d8c90,[TestFrameworkConstants[_0xd47dd7(0xc1)]]:_0x9aeba8,[TestFrameworkConstants[_0xd47dd7(0xb9)]]:_0x196458,[TestFrameworkConstants[_0xd47dd7(0xe4)]]:_0x1116bb['results'][0x0][_0xd47dd7(0x167)],[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x345b22,[TestFrameworkConstants[_0xd47dd7(0xda)]]:_0x1a5832,[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0x53afa3[_0xd47dd7(0x130)](getPlaywrightCustomRerunParam,_0x1116bb)};TestInfo[_0xd47dd7(0x108)](_0x376a57,_0x188c6b);const _0x5c0746={};return _0x5c0746[_0x376a57]=_0x188c6b,_0x5c0746;}[a96_0x503acb(0x136)](_0x593a0a,_0x53bd79,_0x310ba8,_0x320f6a){const _0x480ef1=a96_0x503acb,_0xa87e68={'ZwdCO':function(_0x1b6ed5,_0x25cd4a){return _0x1b6ed5(_0x25cd4a);},'gmGGt':'TEST_ATTACHMENT','vgvXL':function(_0x209ed6,_0x640b75){return _0x209ed6===_0x640b75;},'Aeftv':function(_0x463af0,_0x2693e3){return _0x463af0===_0x2693e3;},'cVpzo':_0x480ef1(0x1a9),'nrgEO':function(_0x432b12,_0x14d9d6,_0x201e46){return _0x432b12(_0x14d9d6,_0x201e46);},'sHhIv':function(_0x1d230e,_0x13989d){return _0x1d230e===_0x13989d;},'BiJwg':function(_0x231f13,_0xd8d115){return _0x231f13===_0xd8d115;},'HGiFC':'skipped','GfeDx':_0x480ef1(0x148),'SSGtp':_0x480ef1(0x187),'MzlMI':function(_0x5364b0,_0x1a73d2){return _0x5364b0===_0x1a73d2;},'lrcgz':_0x480ef1(0x17f),'utmWH':function(_0x461f2b,_0x1180b1){return _0x461f2b===_0x1180b1;},'jULCl':_0x480ef1(0xf6),'VWRjF':function(_0x4096e4,_0x35111b){return _0x4096e4||_0x35111b;},'MUjkC':function(_0xe08956,_0x378229){return _0xe08956(_0x378229);},'nthem':function(_0x45231f,_0x25e45a){return _0x45231f>_0x25e45a;},'bWAtr':function(_0x38613b,_0x33ecd7,_0x28b719){return _0x38613b(_0x33ecd7,_0x28b719);},'knAoi':function(_0x592b93,_0x384ea9){return _0x592b93-_0x384ea9;},'FeKcv':function(_0x85c241,_0x5d08f0,_0x4220e4,_0x44daf8){return _0x85c241(_0x5d08f0,_0x4220e4,_0x44daf8);},'VqBXy':_0x480ef1(0x1a4),'nAOUY':function(_0x5f233d,_0xda8f89){return _0x5f233d>=_0xda8f89;},'GFKNG':function(_0x1a8f60,_0x638967){return _0x1a8f60===_0x638967;},'gndea':function(_0x3512d3,_0x519ba4){return _0x3512d3+_0x519ba4;},'IuxjL':function(_0x46cf0b,_0x3a1863){return _0x46cf0b>_0x3a1863;},'lrvyn':_0x480ef1(0x107),'VvvLz':function(_0x370b7d,_0x1e700b){return _0x370b7d(_0x1e700b);},'ViKmT':function(_0xf7597b,_0x3e0318){return _0xf7597b>_0x3e0318;},'LCFUc':function(_0x307eb9,_0x4e5ed5,_0x1324ea){return _0x307eb9(_0x4e5ed5,_0x1324ea);},'XMmur':_0x480ef1(0x165)};logger[_0x480ef1(0x13b)]('parsePlaywrightTestResult:\x20testId='+_0x593a0a);const _0x4e805a=_0xa87e68[_0x480ef1(0xd4)](getTestRunIdentifier,_0x310ba8,_0x53bd79[_0x480ef1(0x1a3)]),_0x216c1c=new Date(),_0x21e36e=_0x53bd79[_0x480ef1(0x182)],_0xb0d284=TestInfo[_0x480ef1(0x12b)](_0x4e805a)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};let _0xe363ce=_0x21e36e;if(_0xa87e68[_0x480ef1(0xef)](_0x53bd79['status'],_0x310ba8['expectedStatus']))_0xe363ce=_0xa87e68['BiJwg'](_0x53bd79['status'],_0xa87e68[_0x480ef1(0xaf)])?_0xa87e68[_0x480ef1(0xaf)]:_0xa87e68[_0x480ef1(0x172)];else{(_0xa87e68[_0x480ef1(0x1ad)](_0xe363ce,_0xa87e68[_0x480ef1(0x172)])||_0xa87e68['vgvXL'](_0xe363ce,_0xa87e68[_0x480ef1(0x126)])||_0xa87e68[_0x480ef1(0x17a)](_0xe363ce,_0xa87e68[_0x480ef1(0xd1)]))&&(_0xe363ce=_0xa87e68[_0x480ef1(0x126)]);if(_0xa87e68['utmWH'](_0x53bd79[_0x480ef1(0x182)],_0xa87e68[_0x480ef1(0x172)])&&_0xa87e68[_0x480ef1(0xef)](_0x310ba8[_0x480ef1(0xb0)],_0xa87e68[_0x480ef1(0x126)])){const _0xc816cf={};_0xc816cf['message']=_0xa87e68['jULCl'],_0xc816cf[_0x480ef1(0xf4)]=_0xa87e68[_0x480ef1(0xed)],_0x53bd79['error']=_0xc816cf,_0x53bd79['errors']=[_0x53bd79[_0x480ef1(0x168)]];}}const {failureData:_0x1c7715,logs:_0x47141d}=_0xa87e68[_0x480ef1(0xd4)](getFailureData,_0x53bd79?.[_0x480ef1(0xb6)],{}),_0x1d8921={[TestFrameworkConstants[_0x480ef1(0xd5)]]:_0xa87e68[_0x480ef1(0x147)](_0x1c7715,null),[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]:_0x53bd79?.['error']&&_0xa87e68[_0x480ef1(0xa4)](getFailureType,_0x53bd79['error'][_0x480ef1(0xbf)]),[TestFrameworkConstants[_0x480ef1(0x10f)]]:_0x53bd79?.['error']&&_0xa87e68[_0x480ef1(0xca)](removeAnsiColors,_0x53bd79['error'][_0x480ef1(0xbf)]),[TestFrameworkConstants[_0x480ef1(0xd8)]]:[],[TestFrameworkConstants[_0x480ef1(0x11e)]]:_0xe363ce,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x216c1c[_0x480ef1(0x15f)](),[TestFrameworkConstants[_0x480ef1(0x138)]]:new Date()[_0x480ef1(0x15f)](),[TestFrameworkConstants[_0x480ef1(0x166)]]:_0xb0d284};if(_0x53bd79&&_0xa87e68[_0x480ef1(0x184)](_0x53bd79[_0x480ef1(0x1a3)],0x0)){const _0x4f88a0=TestInfo[_0x480ef1(0x193)](_0xa87e68['bWAtr'](getTestRunIdentifier,_0x310ba8,_0xa87e68['knAoi'](_0x53bd79[_0x480ef1(0x1a3)],0x1)));_0x1d8921[TestFrameworkConstants[_0x480ef1(0xf8)]]=_0x4f88a0;}const _0xc64db7={};_0xc64db7[_0x480ef1(0x1a4)]=_0x310ba8;const _0x54d4c4=this[_0x480ef1(0x12d)](TestFrameworkState['TEST'],HookState[_0x480ef1(0xd3)],_0xc64db7),_0x4df488=_0x54d4c4[_0x480ef1(0x137)]()[_0x480ef1(0x156)](_0x4e805a)[TestFrameworkConstants[_0x480ef1(0x144)]],_0x348ec3=_0x320f6a||_0xa87e68[_0x480ef1(0x125)](getStepsAndLogs,_0x53bd79[_0x480ef1(0x16c)],_0x4df488,_0xa87e68[_0x480ef1(0x1b1)])[_0x480ef1(0x16c)],_0x5133d9=new Map(),_0x41a6fb=new Map();let _0xf4cd45=0x0;const _0x2be96c=[];for(const _0x2cdc7a of _0x348ec3||[]){const _0x4e0fd1=_0x2cdc7a[_0x480ef1(0x13f)]||null;let _0xc09d6;if(_0xa87e68['sHhIv'](_0x4e0fd1,null)){if(_0xa87e68[_0x480ef1(0x111)](_0xf4cd45,TestFrameworkConstants['MAX_TOP_LEVEL_STEPS']))continue;_0xc09d6=0x0,_0xf4cd45++;}else{const _0x466da4=_0x5133d9[_0x480ef1(0x156)](_0x4e0fd1);if(_0xa87e68['GFKNG'](_0x466da4,undefined))continue;_0xc09d6=_0xa87e68[_0x480ef1(0xf1)](_0x466da4,0x1);if(_0xa87e68[_0x480ef1(0x13e)](_0xc09d6,TestFrameworkConstants[_0x480ef1(0xa3)]))continue;}_0x5133d9[_0x480ef1(0x14c)](_0x2cdc7a['id'],_0xc09d6),_0x41a6fb[_0x480ef1(0x14c)](_0x2cdc7a['id'],_0x2cdc7a[_0x480ef1(0x14e)]),_0x2be96c[_0x480ef1(0xd6)]({'id':_0x2cdc7a['id'],'parent_id':_0x4e0fd1,'parent_text':_0x4e0fd1?_0x41a6fb['get'](_0x4e0fd1)||'':'','text':_0x2cdc7a['text'],'keyword':_0x2cdc7a[_0x480ef1(0x18b)]||null,'started_at':_0x2cdc7a[_0x480ef1(0x158)],'duration':_0x2cdc7a[_0x480ef1(0x175)]??null,'result':_0x2cdc7a['result'],'failure':_0x2cdc7a[_0x480ef1(0x109)]||null,'failure_type':_0x2cdc7a[_0x480ef1(0xc3)]||null});}const _0x41ff0f={};_0x41ff0f[_0x480ef1(0x16c)]=_0x2be96c,_0x1d8921[TestFrameworkConstants[_0x480ef1(0x15e)]]=_0x41ff0f,logger['debug'](_0x480ef1(0x124)+_0x2be96c['length']+_0x480ef1(0x190)+_0x593a0a);const _0x482c09=[],_0x125adb=_0xa87e68['bWAtr'](findNestedKey,_0x53bd79,_0xa87e68[_0x480ef1(0x149)]);if(_0x125adb&&_0xa87e68[_0x480ef1(0x174)](validateFilePath,_0x125adb))try{_0x482c09[_0x480ef1(0xd6)]({'kind':_0xa87e68[_0x480ef1(0xdc)],'timestamp':new Date()[_0x480ef1(0x15f)](),'test_run_uuid':_0x4df488,'file_name':path[_0x480ef1(0x169)](_0x125adb),'file_size':fs[_0x480ef1(0x120)](_0x125adb)[_0x480ef1(0x15d)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x458b49){logger[_0x480ef1(0x168)](_0x480ef1(0xe7)+_0x125adb+':\x20'+_0x458b49[_0x480ef1(0xbf)]);}const _0xc1f33c=TestInfo[_0x480ef1(0xf0)](),_0x590605=_0xc1f33c['filter'](_0x46de1e=>_0x46de1e[_0x480ef1(0x1a1)]===_0x4df488);_0x590605[_0x480ef1(0xc7)](_0x263e07=>{const _0xb37082=_0x480ef1;if(_0x263e07['filePath']&&_0xa87e68[_0xb37082(0xca)](validateFilePath,_0x263e07[_0xb37082(0x11f)])&&!_0x482c09['some'](_0x3986a7=>_0x3986a7[_0xb37082(0x113)]===path[_0xb37082(0x169)](_0x263e07[_0xb37082(0x11f)])))try{_0x482c09['push']({'kind':_0xa87e68[_0xb37082(0xdc)],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0x4df488,'file_name':path[_0xb37082(0x169)](_0x263e07[_0xb37082(0x11f)]),'file_size':fs[_0xb37082(0x120)](_0x263e07[_0xb37082(0x11f)])[_0xb37082(0x15d)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x20a8f9){logger[_0xb37082(0x168)](_0xb37082(0xb2)+_0x263e07[_0xb37082(0x11f)]+_0xb37082(0x178)+_0x20a8f9[_0xb37082(0xbf)]);}});if(_0xa87e68[_0x480ef1(0x116)](_0x482c09[_0x480ef1(0x189)],0x0)){const _0x12f9fe=_0x1d8921[TestFrameworkConstants[_0x480ef1(0xd8)]]||[];_0x1d8921[TestFrameworkConstants[_0x480ef1(0xd8)]]=[..._0x12f9fe,..._0x482c09];}const _0xcac3d=TestInfo[_0x480ef1(0x12b)](_0x4e805a)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x3f3e32=_0xa87e68['LCFUc'](getManualUploadLogs,_0xcac3d,_0x54d4c4[_0x480ef1(0x137)]()[_0x480ef1(0x156)](_0x4e805a)[TestFrameworkConstants[_0x480ef1(0x144)]]);if(_0xa87e68[_0x480ef1(0x116)](_0x3f3e32[_0x480ef1(0x189)],0x0)){const _0x52e4cc=_0x1d8921[TestFrameworkConstants[_0x480ef1(0xd8)]]||[];_0x1d8921[TestFrameworkConstants[_0x480ef1(0xd8)]]=[..._0x52e4cc,..._0x3f3e32];}const _0x15531b=_0x310ba8[_0x480ef1(0x150)]||[],_0x1dda33=_0x1d8921[TestFrameworkConstants[_0x480ef1(0x166)]]||{},_0x31beef=_0xa87e68['ZwdCO'](require,_0xa87e68['XMmur']);_0x15531b['forEach'](_0x4b9511=>{const _0x3737f9=_0x480ef1,{type:_0x1c569d}=_0x4b9511;let _0x1d4aca=_0x4b9511[_0x3737f9(0x160)];if(!_0x1c569d)return;if(PLAYWRIGHT_BUILTIN_ANNOTATIONS[_0x3737f9(0x1af)](_0x1c569d))return;(_0xa87e68['vgvXL'](_0x1d4aca,undefined)||_0xa87e68[_0x3737f9(0x1ad)](_0x1d4aca,null)||_0xa87e68[_0x3737f9(0xd0)](_0xa87e68[_0x3737f9(0xca)](String,_0x1d4aca)[_0x3737f9(0xff)](),''))&&(_0x1d4aca=_0xa87e68[_0x3737f9(0x106)]);const _0x98e0e0=helper[_0x3737f9(0xfa)](_0xa87e68[_0x3737f9(0xca)](String,_0x1d4aca));_0x31beef['mergeIntoTags'](_0x1dda33,_0x1c569d,_0x98e0e0);}),_0x1d8921[TestFrameworkConstants[_0x480ef1(0x166)]]=_0x1dda33,TestInfo[_0x480ef1(0x108)](_0x4e805a,_0x1d8921);const _0x3bab87={};return _0x3bab87[_0x4e805a]=_0x1d8921,_0x3bab87;}[a96_0x503acb(0x1aa)](_0x203085,_0x1f1e7f,_0x293c38){const _0x5f4ad2=a96_0x503acb,_0x14db1b={'tcTTV':function(_0xe64f61,_0x533d0f){return _0xe64f61||_0x533d0f;},'vzTAu':function(_0x39ef9a,_0x59c1ab,_0x579f01){return _0x39ef9a(_0x59c1ab,_0x579f01);}};try{const {test:_0x17cae2,result:_0x46de34,step:_0x4d3b9a}=_0x293c38;if(_0x14db1b[_0x5f4ad2(0x142)](!_0x17cae2,!_0x4d3b9a)||!_0x46de34)return;const _0x455268=_0x14db1b[_0x5f4ad2(0x19a)](getTestRunIdentifier,_0x17cae2,_0x46de34['retry']);logger[_0x5f4ad2(0x13b)](_0x5f4ad2(0xb8)+_0x455268+'\x20hookState='+_0x1f1e7f+_0x5f4ad2(0xdf)+_0x4d3b9a[_0x5f4ad2(0xf5)]+'\x22');}catch(_0x1dc1b9){logger[_0x5f4ad2(0x168)](_0x5f4ad2(0xbd)+util['format'](_0x1dc1b9));}}async['trackHookEvent'](_0x34abba,_0x33430c,_0x3acf7a,_0x47fc84){const _0x1fe89a=a96_0x503acb,_0x24d065={'cWVlz':function(_0x5b1a60,_0x4c568b,_0x4bd20e){return _0x5b1a60(_0x4c568b,_0x4bd20e);},'IyJUa':function(_0x5c0500,_0x31b4a6){return _0x5c0500 in _0x31b4a6;},'WQMqq':function(_0x27d2da,_0x47cbf2){return _0x27d2da(_0x47cbf2);},'uANlz':function(_0x37aa87,_0x2ff91e){return _0x37aa87===_0x2ff91e;},'JeyyZ':function(_0x50a0a3){return _0x50a0a3();},'zFjMl':function(_0x332c39,_0x58c277){return _0x332c39===_0x58c277;},'IkAyB':function(_0x2d4537,_0x46e2ad){return _0x2d4537>_0x46e2ad;},'USsZy':function(_0x5a2490,_0x5f7d9c,_0x48136b){return _0x5a2490(_0x5f7d9c,_0x48136b);},'vnPlp':_0x1fe89a(0xad),'Isuny':function(_0x108574,_0x3871fd){return _0x108574(_0x3871fd);},'IxBbP':_0x1fe89a(0x187),'vIVzI':_0x1fe89a(0x148),'bCWjq':function(_0x1f4f17,_0x2cfe12){return _0x1f4f17!==_0x2cfe12;},'sAhmC':function(_0x416e50,_0x2a5aaf){return _0x416e50+_0x2a5aaf;},'NrNuj':'hook'},_0x1d5aec=_0x47fc84[_0x1fe89a(0x1a4)],_0x178f52=_0x47fc84['step'],_0x201fb7=_0x24d065[_0x1fe89a(0x1b0)](getTestRunIdentifier,_0x1d5aec,_0x47fc84[_0x1fe89a(0x127)][_0x1fe89a(0x1a3)]),_0x476fef=_0x33430c[_0x1fe89a(0x11d)]()[_0x1fe89a(0xec)]('.')[0x1];let _0x23c118=_0x34abba[_0x1fe89a(0x137)]()[_0x1fe89a(0x156)](_0x201fb7)[TestFrameworkConstants[_0x1fe89a(0xbb)]];!_0x23c118&&(_0x23c118={});!_0x24d065['IyJUa'](_0x476fef,_0x23c118)&&(_0x23c118[_0x476fef]=[]);let _0x5c0b2c=_0x34abba[_0x1fe89a(0x137)]()[_0x1fe89a(0x156)](_0x201fb7)[TestFrameworkConstants[_0x1fe89a(0xe0)]];!_0x5c0b2c&&(_0x5c0b2c={});!_0x24d065['IyJUa'](_0x476fef,_0x5c0b2c)&&(_0x5c0b2c[_0x476fef]=[]);const _0x594a7b={[TestFrameworkConstants[_0x1fe89a(0xbb)]]:_0x23c118,[TestFrameworkConstants[_0x1fe89a(0xe0)]]:_0x5c0b2c},_0x14092a={};_0x14092a[_0x201fb7]=_0x594a7b;const _0x1d3f68=_0x14092a,_0x463c7b=_0x24d065[_0x1fe89a(0x1a8)](getPlaywrightTestFilePath,_0x1d5aec),_0x5e549a=_0x463c7b,_0x46aaac=TestInfo[_0x1fe89a(0x12b)](_0x201fb7)[TestFrameworkConstants[_0x1fe89a(0x166)]]||{};if(_0x24d065['uANlz'](_0x3acf7a,HookState['PRE'])){const _0x282190={'key':_0x476fef,[TestFrameworkConstants[_0x1fe89a(0x16a)]]:_0x24d065[_0x1fe89a(0x1ab)](uuidv4),[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x1fe89a(0x14d)],[TestFrameworkConstants[_0x1fe89a(0xb1)]]:_0x178f52[_0x1fe89a(0x167)],[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x1fe89a(0x1a6)]]:_0x178f52[_0x1fe89a(0xf5)],[TestFrameworkConstants[_0x1fe89a(0x13c)]]:_0x463c7b,[TestFrameworkConstants[_0x1fe89a(0x157)]]:_0x5e549a,[TestFrameworkConstants[_0x1fe89a(0x166)]]:_0x46aaac};_0x23c118[_0x476fef][_0x1fe89a(0xd6)](_0x282190),_0x1d3f68[_0x201fb7][TestFrameworkConstants[_0x1fe89a(0xcc)]]=_0x476fef,logger[_0x1fe89a(0x13b)](_0x1fe89a(0x14a)+_0x476fef+'\x20&\x20hook\x20=\x20'+_0x282190+'\x20\x20and\x20args\x20=\x20'+_0x47fc84);}else{if(_0x24d065[_0x1fe89a(0x101)](_0x3acf7a,HookState[_0x1fe89a(0xd3)])){const _0x5e20e7=await _0x47fc84[_0x1fe89a(0x127)],_0x664ed3=_0x23c118[_0x476fef]||[],_0x5e5fa2=_0x47fc84['step'];logger['debug'](_0x1fe89a(0xe3)+_0x664ed3+_0x1fe89a(0x185)+_0x47fc84);if(_0x24d065[_0x1fe89a(0xfe)](_0x664ed3[_0x1fe89a(0x189)],0x0)){const _0x3eb5aa=_0x664ed3['pop']();if(_0x5e5fa2[_0x1fe89a(0x168)]){const _0x4633cf=_0x24d065[_0x1fe89a(0x122)](failureData,_0x5e5fa2['error'],_0x24d065[_0x1fe89a(0x121)]);_0x3eb5aa[TestFrameworkConstants[_0x1fe89a(0x163)]]=_0x24d065[_0x1fe89a(0x1a8)](getFailureType,_0x5e5fa2?.['error'][_0x1fe89a(0xbf)]),_0x3eb5aa[TestFrameworkConstants[_0x1fe89a(0xa7)]]=_0x24d065[_0x1fe89a(0x173)](removeAnsiColors,_0x5e5fa2?.[_0x1fe89a(0x168)][_0x1fe89a(0xbf)]),_0x3eb5aa[TestFrameworkConstants[_0x1fe89a(0x129)]]=_0x24d065['IxBbP'],_0x3eb5aa[TestFrameworkConstants[_0x1fe89a(0x181)]]=_0x4633cf;}else _0x3eb5aa[TestFrameworkConstants[_0x1fe89a(0x129)]]=_0x24d065[_0x1fe89a(0x11c)];_0x24d065['bCWjq'](_0x5e20e7,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0x3eb5aa[TestFrameworkConstants[_0x1fe89a(0x129)]]=!_0x5e5fa2[_0x1fe89a(0x168)]?_0x24d065[_0x1fe89a(0x11c)]:_0x24d065[_0x1fe89a(0x191)]);const _0x59b47b=new Date(_0x5e5fa2[_0x1fe89a(0x167)]),_0xca6bd2=new Date(_0x24d065[_0x1fe89a(0x195)](_0x59b47b['getTime'](),_0x5e5fa2['duration']));_0x3eb5aa[TestFrameworkConstants[_0x1fe89a(0x133)]]=_0xca6bd2[_0x1fe89a(0x15f)](),_0x3eb5aa[TestFrameworkConstants[_0x1fe89a(0x166)]]=_0x46aaac;const _0x314f11=_0x3eb5aa[TestFrameworkConstants[_0x1fe89a(0x16a)]];await this['sendLogCreatedEvent'](_0x34abba,_0x33430c,_0x314f11,_0x24d065[_0x1fe89a(0xe8)],_0x47fc84),!_0x5c0b2c[_0x476fef]&&(_0x5c0b2c[_0x476fef]=[]),_0x5c0b2c[_0x476fef]['push'](_0x3eb5aa),_0x1d3f68[_0x201fb7][TestFrameworkConstants[_0x1fe89a(0x102)]]=_0x476fef;}}}return _0x1d3f68;}async[a96_0x503acb(0xc6)](_0x34e7a9,_0x39ff6f,_0xe425a4,_0x1d5a22,_0x512f2c,_0x423ced){const _0x5d1066=a96_0x503acb,_0x272610={'GqrjL':function(_0x238ca5,_0x21b6ba){return _0x238ca5===_0x21b6ba;},'vFeMI':_0x5d1066(0x1a4),'pbDsS':function(_0x26bde6,_0x27a18b,_0x388653){return _0x26bde6(_0x27a18b,_0x388653);},'qiIqU':function(_0x53bd77,_0x49513c,_0x20f496){return _0x53bd77(_0x49513c,_0x20f496);},'QWUWe':_0x5d1066(0x183),'rAhLJ':function(_0x2093b4,_0x3bfdf7,_0xd75eea,_0x9fbbc8){return _0x2093b4(_0x3bfdf7,_0xd75eea,_0x9fbbc8);},'Elcnz':function(_0x140113,_0x192f2d,_0x3d5014){return _0x140113(_0x192f2d,_0x3d5014);},'UbaIQ':function(_0x5cf270,_0x153aef){return _0x5cf270/_0x153aef;},'FzSLk':function(_0x4b4f9e,_0x76ebfc){return _0x4b4f9e<_0x76ebfc;},'khCMt':function(_0x49f41f,_0xb58315){return _0x49f41f*_0xb58315;},'iydjW':function(_0x4ad8c2,_0xa2eb5c){return _0x4ad8c2+_0xa2eb5c;},'qlNpA':function(_0x440444,_0x2d11f,_0x55e348,_0x762dac,_0x58bc14){return _0x440444(_0x2d11f,_0x55e348,_0x762dac,_0x58bc14);},'Tmabo':function(_0x1cc2b0,_0x1c6329,_0x121c40,_0x553c1e){return _0x1cc2b0(_0x1c6329,_0x121c40,_0x553c1e);},'hPqcM':_0x5d1066(0xac),'TOiqr':function(_0x518773,_0x11bb5b,_0x5b969f){return _0x518773(_0x11bb5b,_0x5b969f);}};try{if(_0x272610[_0x5d1066(0x176)](_0x1d5a22,_0x272610[_0x5d1066(0x164)])){const _0x9f451a=await _0x512f2c[_0x5d1066(0x127)],_0x271afa=_0x272610[_0x5d1066(0x14b)](getTestRunIdentifier,_0x512f2c[_0x5d1066(0x1a4)],_0x512f2c[_0x5d1066(0x127)][_0x5d1066(0x1a3)]),_0x277eda=_0x512f2c[_0x5d1066(0x1a4)];logger[_0x5d1066(0x13b)](_0x5d1066(0xd7)+_0x271afa+_0x5d1066(0x13d)+util[_0x5d1066(0xeb)](_0x9f451a));const _0x1f29cc=_0x34e7a9[_0x5d1066(0x137)]()[_0x5d1066(0x156)](_0x271afa)[TestFrameworkConstants[_0x5d1066(0x144)]];await _0x272610[_0x5d1066(0x100)](sendTraceZip,_0x9f451a,_0x1f29cc);const _0x488da3=TestInfo[_0x5d1066(0x12b)](_0x271afa)[_0x272610[_0x5d1066(0xc9)]],_0x3ac947={};if(_0x488da3){!_0x9f451a[_0x5d1066(0x183)]&&(_0x9f451a['attachments']=[]);_0x3ac947['attachments']=_0x9f451a[_0x5d1066(0x183)]['concat'](_0x488da3||[]);const _0x157edd=TestInfo[_0x5d1066(0x12b)](_0x271afa);delete _0x157edd[_0x272610['QWUWe']],TestInfo[_0x5d1066(0x108)](_0x271afa,_0x157edd);}const _0x2ae552=_0x423ced||_0x272610[_0x5d1066(0xae)](getStepsAndLogs,_0x9f451a[_0x5d1066(0x16c)],_0x34e7a9[_0x5d1066(0x137)]()['get'](_0x271afa)[TestFrameworkConstants[_0x5d1066(0x144)]],_0x272610[_0x5d1066(0x164)])[_0x5d1066(0x10a)],_0x49dd19=_0x272610[_0x5d1066(0x14b)](getScreenshots,_0x3ac947,_0x34e7a9[_0x5d1066(0x137)]()[_0x5d1066(0x156)](_0x271afa)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x421a48=_0x272610[_0x5d1066(0x14b)](getVideos,_0x9f451a,_0x34e7a9['getAllData']()[_0x5d1066(0x156)](_0x271afa)[TestFrameworkConstants[_0x5d1066(0x144)]]),{_:_0x2e5848,logs:_0x49971f}=_0x272610['Elcnz'](getFailureData,_0x9f451a[_0x5d1066(0xb6)],{'test_run_uuid':_0x34e7a9[_0x5d1066(0x137)]()['get'](_0x271afa)[TestFrameworkConstants[_0x5d1066(0x144)]]}),_0x4b8b39=TestInfo['getTestDetails'](_0x271afa)[TestFrameworkConstants[_0x5d1066(0xb4)]]||{},_0x4b0ee7=_0x272610[_0x5d1066(0x177)](getMediaArtifactsLogs,_0x4b8b39,_0x34e7a9[_0x5d1066(0x137)]()[_0x5d1066(0x156)](_0x271afa)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x5c48c4=_0x34e7a9['getAllData']()['get'](_0x271afa),{[TestFrameworkConstants[_0x5d1066(0x18c)]]:_0x3a3940='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x4be832=''}=_0x5c48c4,_0x718390=(_0x2ae552||[])[_0x5d1066(0x112)](_0x49dd19||[])['concat'](_0x49971f||[])[_0x5d1066(0x112)](_0x421a48||[])[_0x5d1066(0x112)](_0x4b0ee7||[]),_0x392101=0x28,_0x4fe496=Math[_0x5d1066(0xa5)](_0x272610[_0x5d1066(0xcb)](_0x718390['length'],_0x392101));for(let _0xa678e8=0x0;_0x272610[_0x5d1066(0x16d)](_0xa678e8,_0x4fe496);_0xa678e8++){const _0x5d1a63=_0x272610[_0x5d1066(0x134)](_0xa678e8,_0x392101),_0x18af3c=_0x272610[_0x5d1066(0x186)](_0x5d1a63,_0x392101),_0x4988dc=_0x718390[_0x5d1066(0x12e)](_0x5d1a63,_0x18af3c),_0x5d61c2={'platformIndex':global?.['browserstackPlatformIndex']??0x0,'logs':_0x4988dc,'testFrameworkName':_0x3a3940,'testFrameworkVersion':_0x4be832,'testFrameworkState':_0x39ff6f[_0x5d1066(0x11d)]()[_0x5d1066(0xec)]('.')[0x1]};_0x272610[_0x5d1066(0xb3)](updatePayloadForTraceLogs,_0x5d61c2,_0x512f2c,_0x271afa,_0x34e7a9),logger[_0x5d1066(0x13b)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x271afa+_0x5d1066(0xf9)+_0x272610['iydjW'](_0xa678e8,0x1)+'/'+_0x4fe496+_0x5d1066(0x10c)+util[_0x5d1066(0xeb)](_0x5d61c2));const _0x3d08f3=await GrpcClient['getInstance']()[_0x5d1066(0x141)](_0x5d61c2);logger[_0x5d1066(0x13b)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x271afa+_0x5d1066(0xf9)+_0x272610[_0x5d1066(0x186)](_0xa678e8,0x1)+'/'+_0x4fe496+_0x5d1066(0x15b)+util['inspect'](_0x3d08f3));}}else{const {logs:_0x3a3858}=_0x272610[_0x5d1066(0xc0)](getStepsAndLogs,_0x512f2c[_0x5d1066(0xdb)]['steps'],_0xe425a4,_0x272610[_0x5d1066(0x194)]),_0x3685c6=_0x272610['TOiqr'](getTestRunIdentifier,_0x512f2c[_0x5d1066(0x1a4)],_0x512f2c[_0x5d1066(0x127)]['retry']);logger[_0x5d1066(0x13b)](_0x5d1066(0xd7)+_0x3685c6);const _0x1dc584=_0x34e7a9[_0x5d1066(0x137)]()[_0x5d1066(0x156)](_0x3685c6),{[TestFrameworkConstants[_0x5d1066(0x18c)]]:_0x328ee4='',[TestFrameworkConstants[_0x5d1066(0x119)]]:_0x4a18b4=''}=_0x1dc584,_0x500fa1={'platformIndex':'0','logs':_0x3a3858,'testFrameworkName':_0x328ee4,'testFrameworkVersion':_0x4a18b4,'testFrameworkState':_0x39ff6f[_0x5d1066(0x11d)]()[_0x5d1066(0xec)]('.')[0x1]};_0x272610[_0x5d1066(0xb3)](updatePayloadForTraceLogs,_0x500fa1,_0x512f2c,_0x3685c6,_0x34e7a9),logger[_0x5d1066(0x13b)](_0x5d1066(0xf3)+_0x3685c6+'\x20payload='+util[_0x5d1066(0xeb)](_0x500fa1));const _0x25bd4c=await GrpcClient['getInstance']()[_0x5d1066(0x141)](_0x500fa1);}}catch(_0x2de165){logger['error'](_0x5d1066(0xc4)+util[_0x5d1066(0xbe)](_0x2de165));}}[a96_0x503acb(0x103)](_0x2975ad){const _0x5d1d5a=a96_0x503acb,_0x1198e1={'qzewR':function(_0x277c40,_0x4caed5,_0x140aec){return _0x277c40(_0x4caed5,_0x140aec);},'cfZoq':function(_0x31469f,_0x22c704){return _0x31469f<_0x22c704;},'ygigB':_0x5d1d5a(0x17c)};try{const _0x29e0f3=_0x2975ad[_0x5d1d5a(0x1a4)]['id'],_0x8253a3=_0x1198e1[_0x5d1d5a(0xc2)](getTestRunIdentifier,_0x2975ad[_0x5d1d5a(0x1a4)],_0x2975ad['result'][_0x5d1d5a(0x1a3)]),_0x329cf1=_0x2975ad[_0x5d1d5a(0x12a)],_0x2cd520=_0x329cf1[_0x5d1d5a(0x143)](),_0x51253b=_0x329cf1[_0x5d1d5a(0x137)]()[_0x5d1d5a(0x156)](_0x8253a3);logger[_0x5d1d5a(0x13b)]('createTestFrameworkEventPayload\x20testId:\x20'+_0x29e0f3);const {[TestFrameworkConstants[_0x5d1d5a(0x18c)]]:_0x447de4='',[TestFrameworkConstants[_0x5d1d5a(0x119)]]:_0x85bedb='',[TestFrameworkConstants[_0x5d1d5a(0xe4)]]:_0x15624d='',[TestFrameworkConstants[_0x5d1d5a(0xee)]]:_0x37b9e4=''}=_0x51253b,_0x28016b=_0x329cf1[_0x5d1d5a(0x11a)]()['toString']()['split']('.')[0x1],_0x354292=_0x329cf1[_0x5d1d5a(0x17e)]()[_0x5d1d5a(0x11d)]()[_0x5d1d5a(0xec)]('.')[0x1],_0x4d8f7e=_0x1198e1[_0x5d1d5a(0xb7)](_0x2975ad?.['result']?.['parallelIndex']??0x0,0x0)?0x0:_0x2975ad?.[_0x5d1d5a(0x127)]?.[_0x5d1d5a(0xc8)]??0x0,_0x214a94=_0x329cf1[_0x5d1d5a(0x198)](),_0x42363f=Buffer[_0x5d1d5a(0x192)](JSON[_0x5d1d5a(0x12c)](_0x51253b))[_0x5d1d5a(0x11d)](_0x1198e1[_0x5d1d5a(0x128)]),_0x491c={'hash':_0x2cd520[_0x5d1d5a(0xd2)](),'threadId':_0x2cd520[_0x5d1d5a(0xa2)]()[_0x5d1d5a(0x11d)](),'processId':_0x2cd520[_0x5d1d5a(0xa6)]()[_0x5d1d5a(0x11d)]()},_0xd55976={};_0xd55976[_0x5d1d5a(0x19b)]=_0x4d8f7e,_0xd55976['testFrameworkName']=_0x447de4,_0xd55976[_0x5d1d5a(0xab)]=_0x85bedb,_0xd55976['testFrameworkState']=_0x28016b,_0xd55976[_0x5d1d5a(0x17d)]=_0x354292,_0xd55976[_0x5d1d5a(0x114)]=_0x15624d,_0xd55976[_0x5d1d5a(0xde)]=_0x37b9e4,_0xd55976[_0x5d1d5a(0x1a2)]=_0x214a94,_0xd55976[_0x5d1d5a(0xe5)]=_0x42363f,_0xd55976[_0x5d1d5a(0x10d)]=_0x491c;const _0x2a2d56=_0xd55976;return logger['debug'](_0x5d1d5a(0xe6)+_0x29e0f3+_0x5d1d5a(0x123)+_0x28016b+_0x5d1d5a(0xbc)+_0x354292),_0x2a2d56;}catch(_0x1275af){return logger['error']('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util[_0x5d1d5a(0xbe)](_0x1275af)),{};}}}module['exports']=PlaywrightTestFramework;
@@ -1 +1 @@
1
- function a96_0x1f0a(){const _0x1f4e92=['9gvcUOK','PRE','7670JdcuBv','323765zTSlcV','trackEvent','trackEvent:\x20automationFrameworkState=','12QscWBZ','44552AePETn','4714700LHjPQn','trackPuppeteerInstance:\x20instance\x20already\x20exists','CREATE','logger','637XxsbHG','QKaCl','../state/hookState.js','../cliUtils.js','exports','getTrackedInstance','PuppeteerAutomationFramework','\x20target=','debug','instance','1896WwMZNc','info','createContext',',\x20state=','runHooks','getCurrentInstanceName','20262XnXENM','trackPuppeteerInstance:\x20saved\x20instance\x20contextId=','10NKhBNX','getId','getAutomationFrameworkName','\x20hookState=','600736wMggAt','resolveInstance','Ynxth','trackPuppeteerInstance','mXkDT','trackPuppeteerInstance:\x20created\x20instance\x20for\x20target=','../state/automationFrameworkState.js','NONE','../../../helpers/classLogger.js','getAutomationFrameworkVersion','9574807RQJpYK','setTrackedInstance','LGhQR'];a96_0x1f0a=function(){return _0x1f4e92;};return a96_0x1f0a();}const a96_0x4cbc23=a96_0x405b;function a96_0x405b(_0x443bcc,_0x40ba35){const _0x1f0a3f=a96_0x1f0a();return a96_0x405b=function(_0x405b46,_0x47d89a){_0x405b46=_0x405b46-0x1cb;let _0x3bd4f5=_0x1f0a3f[_0x405b46];return _0x3bd4f5;},a96_0x405b(_0x443bcc,_0x40ba35);}(function(_0x22d28d,_0x300927){const _0x243f8d=a96_0x405b,_0x2f2cb5=_0x22d28d();while(!![]){try{const _0xc91757=-parseInt(_0x243f8d(0x1d1))/0x1+-parseInt(_0x243f8d(0x1ec))/0x2*(-parseInt(_0x243f8d(0x1ea))/0x3)+parseInt(_0x243f8d(0x1f0))/0x4+parseInt(_0x243f8d(0x1d0))/0x5*(-parseInt(_0x243f8d(0x1e4))/0x6)+-parseInt(_0x243f8d(0x1da))/0x7*(-parseInt(_0x243f8d(0x1d5))/0x8)+-parseInt(_0x243f8d(0x1ce))/0x9*(parseInt(_0x243f8d(0x1d6))/0xa)+parseInt(_0x243f8d(0x1cb))/0xb*(parseInt(_0x243f8d(0x1d4))/0xc);if(_0xc91757===_0x300927)break;else _0x2f2cb5['push'](_0x2f2cb5['shift']());}catch(_0x36b014){_0x2f2cb5['push'](_0x2f2cb5['shift']());}}}(a96_0x1f0a,0x44a67));const AutomationFramework=require('./automationFramework.js'),{createClassLogger}=require(a96_0x4cbc23(0x1f8)),AutomationFrameworkState=require(a96_0x4cbc23(0x1f6)),HookState=require(a96_0x4cbc23(0x1dc)),CLIUtils=require(a96_0x4cbc23(0x1dd)),TrackedInstance=require('../instances/trackedInstance.js'),AutomationFrameworkInstance=require('../instances/automationFrameworkInstance.js');class PuppeteerAutomationFramework extends AutomationFramework{[a96_0x4cbc23(0x1d9)]=createClassLogger(a96_0x4cbc23(0x1e0));constructor(_0x50526f,_0x3fc169){super(_0x50526f,_0x3fc169);}async[a96_0x4cbc23(0x1d2)](_0x495a5a,_0x4f457d,_0x1f7f44={}){const _0x4f4806=a96_0x4cbc23,_0x410acd={};_0x410acd['mXkDT']=function(_0xe48fbe,_0xb14817){return _0xe48fbe===_0xb14817;},_0x410acd[_0x4f4806(0x1db)]='trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking';const _0x107e20=_0x410acd;this[_0x4f4806(0x1d9)][_0x4f4806(0x1e2)](_0x4f4806(0x1d3)+_0x495a5a+_0x4f4806(0x1ef)+_0x4f457d),await super[_0x4f4806(0x1d2)](_0x495a5a,_0x4f457d,_0x1f7f44);const _0x5cd714=this['resolveInstance'](_0x495a5a,_0x4f457d,_0x1f7f44);if(_0x107e20[_0x4f4806(0x1f4)](_0x5cd714,null)){this['logger'][_0x4f4806(0x1e2)](_0x107e20[_0x4f4806(0x1db)]);return;}_0x1f7f44[_0x4f4806(0x1e3)]=_0x5cd714,await this[_0x4f4806(0x1e8)](_0x5cd714,_0x495a5a,_0x4f457d,_0x1f7f44);}[a96_0x4cbc23(0x1f1)](_0x4db610,_0x2e2aa9,_0x60cd73={}){const _0x2851f7=a96_0x4cbc23,_0x5f5430={};_0x5f5430[_0x2851f7(0x1cd)]=function(_0x5398b1,_0x38e692){return _0x5398b1===_0x38e692;};const _0xc0676c=_0x5f5430;let _0x598886=null;return(_0xc0676c['LGhQR'](_0x4db610,AutomationFrameworkState[_0x2851f7(0x1d8)])&&_0xc0676c['LGhQR'](_0x2e2aa9,HookState[_0x2851f7(0x1cf)])||_0xc0676c[_0x2851f7(0x1cd)](_0x4db610,AutomationFrameworkState[_0x2851f7(0x1f7)]))&&this[_0x2851f7(0x1f3)](_0x4db610,_0x60cd73),_0x598886=AutomationFramework['getTrackedInstance'](),_0x598886;}[a96_0x4cbc23(0x1f3)](_0x223fdb,_0x1f706b){const _0x19093b=a96_0x4cbc23,_0x592c52={};_0x592c52[_0x19093b(0x1f2)]=_0x19093b(0x1d7);const _0x16f199=_0x592c52;if(AutomationFramework[_0x19093b(0x1df)]()){this[_0x19093b(0x1d9)]['info'](_0x16f199[_0x19093b(0x1f2)]);return;}const _0x4cd567=CLIUtils[_0x19093b(0x1e9)](),_0x55276e=TrackedInstance[_0x19093b(0x1e6)](_0x4cd567);let _0xe8a8c1=null;this[_0x19093b(0x1d9)][_0x19093b(0x1e5)](_0x19093b(0x1f5)+_0x4cd567+_0x19093b(0x1e7)+_0x223fdb),_0xe8a8c1=new AutomationFrameworkInstance(_0x55276e,this[_0x19093b(0x1ee)](),this[_0x19093b(0x1f9)](),_0x223fdb),AutomationFramework[_0x19093b(0x1cc)](_0x55276e,_0xe8a8c1),this[_0x19093b(0x1d9)]['info'](_0x19093b(0x1eb)+_0x55276e[_0x19093b(0x1ed)]()+_0x19093b(0x1e1)+_0x4cd567);}}module[a96_0x4cbc23(0x1de)]=PuppeteerAutomationFramework;
1
+ function a97_0x5519(){const _0x1bfab6=['exports','417385MdFqqE','PRE','765033kFiXMH','trackPuppeteerInstance','setTrackedInstance','logger',',\x20state=','trackEvent','trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking','4462290jLsdVu','TtOpa','PuppeteerAutomationFramework','35mKzkSV','610582EEDyoJ','debug','34380EcRAoN','instance','getId','getCurrentInstanceName','getTrackedInstance','../instances/trackedInstance.js','trackPuppeteerInstance:\x20instance\x20already\x20exists','trackPuppeteerInstance:\x20saved\x20instance\x20contextId=','trackEvent:\x20automationFrameworkState=','2383068ZriXZX','resolveInstance','../state/automationFrameworkState.js','7PnQMKT','fbZje','IaVoM','../cliUtils.js','2847184AeeFuw','./automationFramework.js','Giirs','\x20target='];a97_0x5519=function(){return _0x1bfab6;};return a97_0x5519();}const a97_0x44d0bb=a97_0xaf56;(function(_0x10b2a3,_0x55bc9c){const _0x5beb51=a97_0xaf56,_0xf92488=_0x10b2a3();while(!![]){try{const _0x224729=-parseInt(_0x5beb51(0xa8))/0x1+-parseInt(_0x5beb51(0xb5))/0x2+-parseInt(_0x5beb51(0xaa))/0x3+-parseInt(_0x5beb51(0xb7))/0x4*(parseInt(_0x5beb51(0xb4))/0x5)+parseInt(_0x5beb51(0x9c))/0x6+-parseInt(_0x5beb51(0x9f))/0x7*(-parseInt(_0x5beb51(0xa3))/0x8)+parseInt(_0x5beb51(0xb1))/0x9;if(_0x224729===_0x55bc9c)break;else _0xf92488['push'](_0xf92488['shift']());}catch(_0x16d2df){_0xf92488['push'](_0xf92488['shift']());}}}(a97_0x5519,0x3385a));const AutomationFramework=require(a97_0x44d0bb(0xa4)),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFrameworkState=require(a97_0x44d0bb(0x9e)),HookState=require('../state/hookState.js'),CLIUtils=require(a97_0x44d0bb(0xa2)),TrackedInstance=require(a97_0x44d0bb(0x98)),AutomationFrameworkInstance=require('../instances/automationFrameworkInstance.js');class PuppeteerAutomationFramework extends AutomationFramework{[a97_0x44d0bb(0xad)]=createClassLogger(a97_0x44d0bb(0xb3));constructor(_0x5de080,_0x47163e){super(_0x5de080,_0x47163e);}async['trackEvent'](_0x4272db,_0x182f7b,_0x5daef5={}){const _0x44a229=a97_0x44d0bb,_0x42e17a={};_0x42e17a['IaVoM']=function(_0x33b793,_0x172ff6){return _0x33b793===_0x172ff6;},_0x42e17a[_0x44a229(0xa0)]=_0x44a229(0xb0);const _0x11aa02=_0x42e17a;this[_0x44a229(0xad)]['debug'](_0x44a229(0x9b)+_0x4272db+'\x20hookState='+_0x182f7b),await super[_0x44a229(0xaf)](_0x4272db,_0x182f7b,_0x5daef5);const _0xe2831f=this[_0x44a229(0x9d)](_0x4272db,_0x182f7b,_0x5daef5);if(_0x11aa02[_0x44a229(0xa1)](_0xe2831f,null)){this[_0x44a229(0xad)][_0x44a229(0xb6)](_0x11aa02[_0x44a229(0xa0)]);return;}_0x5daef5[_0x44a229(0x94)]=_0xe2831f,await this['runHooks'](_0xe2831f,_0x4272db,_0x182f7b,_0x5daef5);}['resolveInstance'](_0x1aed6a,_0x3548da,_0x557428={}){const _0xeffa3a=a97_0x44d0bb,_0xac66af={};_0xac66af['RGRGq']=function(_0x31263a,_0xe1320){return _0x31263a===_0xe1320;},_0xac66af[_0xeffa3a(0xb2)]=function(_0x2f2c2d,_0x5824c0){return _0x2f2c2d===_0x5824c0;};const _0x42c98b=_0xac66af;let _0x1f78ee=null;return(_0x42c98b['RGRGq'](_0x1aed6a,AutomationFrameworkState['CREATE'])&&_0x42c98b['TtOpa'](_0x3548da,HookState[_0xeffa3a(0xa9)])||_0x42c98b[_0xeffa3a(0xb2)](_0x1aed6a,AutomationFrameworkState['NONE']))&&this['trackPuppeteerInstance'](_0x1aed6a,_0x557428),_0x1f78ee=AutomationFramework[_0xeffa3a(0x97)](),_0x1f78ee;}[a97_0x44d0bb(0xab)](_0x42a512,_0x434e7f){const _0x5df5ce=a97_0x44d0bb,_0x55c1a5={};_0x55c1a5['Giirs']=_0x5df5ce(0x99);const _0x8fc044=_0x55c1a5;if(AutomationFramework[_0x5df5ce(0x97)]()){this[_0x5df5ce(0xad)]['info'](_0x8fc044[_0x5df5ce(0xa5)]);return;}const _0x8e2e0b=CLIUtils[_0x5df5ce(0x96)](),_0x514574=TrackedInstance['createContext'](_0x8e2e0b);let _0x3b7a83=null;this[_0x5df5ce(0xad)]['info']('trackPuppeteerInstance:\x20created\x20instance\x20for\x20target='+_0x8e2e0b+_0x5df5ce(0xae)+_0x42a512),_0x3b7a83=new AutomationFrameworkInstance(_0x514574,this['getAutomationFrameworkName'](),this['getAutomationFrameworkVersion'](),_0x42a512),AutomationFramework[_0x5df5ce(0xac)](_0x514574,_0x3b7a83),this['logger']['info'](_0x5df5ce(0x9a)+_0x514574[_0x5df5ce(0x95)]()+_0x5df5ce(0xa6)+_0x8e2e0b);}}function a97_0xaf56(_0x29afb5,_0xbc9d08){const _0x5519ff=a97_0x5519();return a97_0xaf56=function(_0xaf56a6,_0x246814){_0xaf56a6=_0xaf56a6-0x94;let _0x3065e5=_0x5519ff[_0xaf56a6];return _0x3065e5;},a97_0xaf56(_0x29afb5,_0xbc9d08);}module[a97_0x44d0bb(0xa7)]=PuppeteerAutomationFramework;
@@ -1 +1 @@
1
- const a97_0x2383ed=a97_0x4e99;function a97_0x4e99(_0x599143,_0x5eb01b){const _0x26cbf5=a97_0x26cb();return a97_0x4e99=function(_0x4e99e2,_0x217ba8){_0x4e99e2=_0x4e99e2-0xf6;let _0x305cd2=_0x26cbf5[_0x4e99e2];return _0x305cd2;},a97_0x4e99(_0x599143,_0x5eb01b);}(function(_0x368b23,_0x4c69e1){const _0x277dfb=a97_0x4e99,_0x1c491e=_0x368b23();while(!![]){try{const _0x191135=parseInt(_0x277dfb(0x118))/0x1+-parseInt(_0x277dfb(0xf8))/0x2*(parseInt(_0x277dfb(0x100))/0x3)+parseInt(_0x277dfb(0x101))/0x4*(-parseInt(_0x277dfb(0x102))/0x5)+parseInt(_0x277dfb(0x104))/0x6*(parseInt(_0x277dfb(0xfe))/0x7)+parseInt(_0x277dfb(0x11b))/0x8+parseInt(_0x277dfb(0x10c))/0x9+-parseInt(_0x277dfb(0x10f))/0xa*(-parseInt(_0x277dfb(0x111))/0xb);if(_0x191135===_0x4c69e1)break;else _0x1c491e['push'](_0x1c491e['shift']());}catch(_0x255e6c){_0x1c491e['push'](_0x1c491e['shift']());}}}(a97_0x26cb,0x7aa52));const CLIUtils=require(a97_0x2383ed(0xfc)),eventDispatcher=require('../eventDispatcher'),TestFrameworkInstance=require(a97_0x2383ed(0x10e)),TrackedContext=require(a97_0x2383ed(0x10b)),TestFrameworkState=require('../state/testFrameworkState'),HookState=require(a97_0x2383ed(0xfd)),{createClassLogger}=require('../../../helpers/classLogger'),TrackedInstance=require(a97_0x2383ed(0x11a)),logger=createClassLogger('TestFramework');!global[a97_0x2383ed(0x116)]&&(global[a97_0x2383ed(0x116)]=new Map());class TestFramework{static get[a97_0x2383ed(0xf9)](){const _0x7ea379=a97_0x2383ed;return global[_0x7ea379(0x116)];}[a97_0x2383ed(0xfb)]=[];['testFrameworkVersions']={};['binSessionId']=null;constructor(_0x40cfc1,_0x14bb90,_0x3fe39e){const _0x148ad4=a97_0x2383ed;this['testFrameworks']=_0x40cfc1,this['testFrameworkVersions']=_0x14bb90,this[_0x148ad4(0x109)]=_0x3fe39e;}[a97_0x2383ed(0x113)](){const _0x536f18=a97_0x2383ed;return TestFramework[_0x536f18(0xf9)];}['setInstance'](_0x5e82b7,_0x935e17){const _0x2be467=a97_0x2383ed;TestFramework[_0x2be467(0xf9)][_0x2be467(0xff)](_0x5e82b7['getId'],_0x935e17);}static[a97_0x2383ed(0x112)](){const _0x373361=a97_0x2383ed,_0x2a6509=TrackedInstance[_0x373361(0x117)](CLIUtils[_0x373361(0x106)]());return TestFramework[_0x373361(0xf9)]['get'](_0x2a6509[_0x373361(0xf6)]());}static[a97_0x2383ed(0x10a)](_0x4095a6,_0x4e4aa1){const _0x30face=a97_0x2383ed;TestFramework[_0x30face(0xf9)][_0x30face(0xff)](_0x4095a6[_0x30face(0xf6)](),_0x4e4aa1);}['getTestFrameworksVersions'](){return this['testFrameworkVersions'];}[a97_0x2383ed(0x108)](){const _0x2dc043=a97_0x2383ed;return this[_0x2dc043(0xfb)];}[a97_0x2383ed(0x107)](_0x18cf3e,_0x1079d8,_0x3d99a0={}){const _0x291920=a97_0x2383ed;logger['debug'](_0x291920(0xfa)+_0x18cf3e+_0x291920(0x115)+_0x1079d8);}async[a97_0x2383ed(0x103)](_0x5ce41a,_0x4932a9,_0x2fa572,_0x3b2806={}){const _0x152b30=CLIUtils['getHookRegistryKey'](_0x4932a9,_0x2fa572);_0x5ce41a['setCurrentTestState'](_0x4932a9),_0x5ce41a['setCurrentHookState'](_0x2fa572),await eventDispatcher['notifyObserver'](_0x152b30,_0x3b2806);}static['registerObserver'](_0x353451,_0x1e088c,_0x116eae){const _0x5bab47=a97_0x2383ed;eventDispatcher[_0x5bab47(0x10d)](CLIUtils['getHookRegistryKey'](_0x353451,_0x1e088c),_0x116eae);}static[a97_0x2383ed(0x119)](_0x4f352c,_0x162dbd){const _0x50e823=a97_0x2383ed;return _0x4f352c[_0x50e823(0x110)]()['get'](_0x162dbd);}static['setState'](_0x1c43b5,_0x1b444b,_0x72fc7e){const _0x21900e=a97_0x2383ed;_0x1c43b5[_0x21900e(0x110)]()[_0x21900e(0xff)](_0x1b444b,_0x72fc7e);}static[a97_0x2383ed(0xf7)](_0x11e151,_0x5da06e){const _0x117e55=a97_0x2383ed;return _0x11e151[_0x117e55(0x110)]()[_0x117e55(0x114)](_0x5da06e);}}module[a97_0x2383ed(0x105)]=TestFramework;function a97_0x26cb(){const _0x26a744=['testFrameworks','../cliUtils','../state/hookState','12929JhShfn','set','645tPcMvb','7988NdyMAF','2165AVieqg','runHooks','2202RruXRM','exports','getCurrentInstanceName','trackEvent','getTestFrameworks','binSessionId','setTrackedInstance','../instances/trackedContext','1684152YoINIh','registerObserver','../instances/testFrameworkInstance','182040xdqiem','getAllData','143YAfEID','getTrackedInstance','getInstances','has',';\x20hookState=','__bstack_test_framework_instances__','createContext','454704MTvVSe','getState','../instances/trackedInstance','5066496epKZNE','getId','hasState','7652gGLCyZ','instances','trackEvent:\x20testFrameworkState='];a97_0x26cb=function(){return _0x26a744;};return a97_0x26cb();}
1
+ const a98_0x77d007=a98_0x19d4;(function(_0x4d1c80,_0x5c1642){const _0x2789c5=a98_0x19d4,_0x17460c=_0x4d1c80();while(!![]){try{const _0x5acf35=-parseInt(_0x2789c5(0x7e))/0x1+parseInt(_0x2789c5(0x73))/0x2+parseInt(_0x2789c5(0x8e))/0x3*(-parseInt(_0x2789c5(0x97))/0x4)+-parseInt(_0x2789c5(0x7b))/0x5+-parseInt(_0x2789c5(0x7f))/0x6*(-parseInt(_0x2789c5(0x7d))/0x7)+parseInt(_0x2789c5(0x94))/0x8*(-parseInt(_0x2789c5(0x89))/0x9)+-parseInt(_0x2789c5(0x9b))/0xa*(-parseInt(_0x2789c5(0x9c))/0xb);if(_0x5acf35===_0x5c1642)break;else _0x17460c['push'](_0x17460c['shift']());}catch(_0x3b5342){_0x17460c['push'](_0x17460c['shift']());}}}(a98_0x1e03,0xe0257));const CLIUtils=require('../cliUtils'),eventDispatcher=require(a98_0x77d007(0x8d)),TestFrameworkInstance=require(a98_0x77d007(0x77)),TrackedContext=require(a98_0x77d007(0x76)),TestFrameworkState=require(a98_0x77d007(0x92)),HookState=require(a98_0x77d007(0x90)),{createClassLogger}=require(a98_0x77d007(0x95)),TrackedInstance=require('../instances/trackedInstance'),logger=createClassLogger('TestFramework');!global[a98_0x77d007(0x78)]&&(global['__bstack_test_framework_instances__']=new Map());class TestFramework{static get[a98_0x77d007(0x81)](){const _0xa31f76=a98_0x77d007;return global[_0xa31f76(0x78)];}[a98_0x77d007(0x74)]=[];[a98_0x77d007(0x8a)]={};['binSessionId']=null;constructor(_0x885ee6,_0x4c1c11,_0x31b6ff){const _0x35666f=a98_0x77d007;this[_0x35666f(0x74)]=_0x885ee6,this[_0x35666f(0x8a)]=_0x4c1c11,this['binSessionId']=_0x31b6ff;}[a98_0x77d007(0x9a)](){const _0x5389c1=a98_0x77d007;return TestFramework[_0x5389c1(0x81)];}[a98_0x77d007(0x99)](_0x19b629,_0xb43e7f){const _0xe90b28=a98_0x77d007;TestFramework[_0xe90b28(0x81)][_0xe90b28(0x91)](_0x19b629[_0xe90b28(0x72)],_0xb43e7f);}static[a98_0x77d007(0x84)](){const _0x3b3f3b=a98_0x77d007,_0x412a99=TrackedInstance[_0x3b3f3b(0x83)](CLIUtils[_0x3b3f3b(0x7c)]());return TestFramework[_0x3b3f3b(0x81)][_0x3b3f3b(0x80)](_0x412a99[_0x3b3f3b(0x72)]());}static[a98_0x77d007(0x8f)](_0x4b8bf7,_0x4f57a6){const _0x4ba730=a98_0x77d007;TestFramework['instances'][_0x4ba730(0x91)](_0x4b8bf7['getId'](),_0x4f57a6);}[a98_0x77d007(0x8b)](){const _0x39b9a3=a98_0x77d007;return this[_0x39b9a3(0x8a)];}['getTestFrameworks'](){const _0x1dc547=a98_0x77d007;return this[_0x1dc547(0x74)];}[a98_0x77d007(0x98)](_0x14dc57,_0x5213d1,_0x2a6250={}){const _0x3f6802=a98_0x77d007;logger[_0x3f6802(0x96)](_0x3f6802(0x87)+_0x14dc57+_0x3f6802(0x7a)+_0x5213d1);}async[a98_0x77d007(0x86)](_0x2f9032,_0x4fae25,_0x359976,_0x5ddf2e={}){const _0x4a5bc6=a98_0x77d007,_0x3d853=CLIUtils['getHookRegistryKey'](_0x4fae25,_0x359976);_0x2f9032['setCurrentTestState'](_0x4fae25),_0x2f9032[_0x4a5bc6(0x8c)](_0x359976),await eventDispatcher[_0x4a5bc6(0x88)](_0x3d853,_0x5ddf2e);}static[a98_0x77d007(0x93)](_0x1fe998,_0x2a9cd7,_0x2435bb){const _0x570a7b=a98_0x77d007;eventDispatcher[_0x570a7b(0x93)](CLIUtils['getHookRegistryKey'](_0x1fe998,_0x2a9cd7),_0x2435bb);}static['getState'](_0x1e329a,_0x3a19f0){const _0x36ff23=a98_0x77d007;return _0x1e329a[_0x36ff23(0x85)]()[_0x36ff23(0x80)](_0x3a19f0);}static[a98_0x77d007(0x82)](_0x58435d,_0x522271,_0x5c92ca){const _0x463eca=a98_0x77d007;_0x58435d[_0x463eca(0x85)]()['set'](_0x522271,_0x5c92ca);}static['hasState'](_0x2b8b36,_0x2596d3){const _0x563801=a98_0x77d007;return _0x2b8b36[_0x563801(0x85)]()[_0x563801(0x75)](_0x2596d3);}}function a98_0x1e03(){const _0x1582f7=['testFrameworkVersions','getTestFrameworksVersions','setCurrentHookState','../eventDispatcher','13683YvzxfO','setTrackedInstance','../state/hookState','set','../state/testFrameworkState','registerObserver','40otaiNR','../../../helpers/classLogger','debug','1588LrncSD','trackEvent','setInstance','getInstances','3289220KwhKNr','99buCohS','getId','2646118xfgoPV','testFrameworks','has','../instances/trackedContext','../instances/testFrameworkInstance','__bstack_test_framework_instances__','exports',';\x20hookState=','4899340BgRAoJ','getCurrentInstanceName','10166709czwoob','1347111ykBkBP','6XwvxrG','get','instances','setState','createContext','getTrackedInstance','getAllData','runHooks','trackEvent:\x20testFrameworkState=','notifyObserver','1223901WwfXLg'];a98_0x1e03=function(){return _0x1582f7;};return a98_0x1e03();}function a98_0x19d4(_0x170e36,_0x601fb){const _0x1e03d7=a98_0x1e03();return a98_0x19d4=function(_0x19d4a8,_0x4e77b7){_0x19d4a8=_0x19d4a8-0x72;let _0x57b724=_0x1e03d7[_0x19d4a8];return _0x57b724;},a98_0x19d4(_0x170e36,_0x601fb);}module[a98_0x77d007(0x79)]=TestFramework;
@@ -1 +1 @@
1
- 'use strict';const a98_0x2af170=a98_0x5938;function a98_0x5938(_0x52ca5c,_0x3f3609){const _0x2946bf=a98_0x2946();return a98_0x5938=function(_0x5938b3,_0x4a8682){_0x5938b3=_0x5938b3-0x96;let _0xb1acc9=_0x2946bf[_0x5938b3];return _0xb1acc9;},a98_0x5938(_0x52ca5c,_0x3f3609);}(function(_0x2a0dfc,_0xc74c0){const _0x234515=a98_0x5938,_0x5a914c=_0x2a0dfc();while(!![]){try{const _0x1c7e1d=parseInt(_0x234515(0xb2))/0x1+-parseInt(_0x234515(0x99))/0x2+-parseInt(_0x234515(0xb0))/0x3+parseInt(_0x234515(0xa3))/0x4+parseInt(_0x234515(0xbe))/0x5+-parseInt(_0x234515(0xa8))/0x6+parseInt(_0x234515(0xb4))/0x7;if(_0x1c7e1d===_0xc74c0)break;else _0x5a914c['push'](_0x5a914c['shift']());}catch(_0x412fc3){_0x5a914c['push'](_0x5a914c['shift']());}}}(a98_0x2946,0xa4a48));function a98_0x2946(){const _0x387e43=['get','3555354RUrfTE','dxVSE','347994vXqvoX','resolveInstance:\x20created\x20instance\x20for\x20userAgent=\x22','8488662igebLE','nllgI','yykNc','lastIndexOf','trackEvent:\x20no\x20instance\x20for\x20state=','slice','\x20→\x20','info','../state/automationFrameworkState.js','isInteger','5537285vdhPsi','getAutomationFrameworkVersion','removeInstance','set','trackEvent','../instances/automationFrameworkInstance.js','apBqS','iterAllInstances','parseInt','902772himJUZ','instance','string','../../../helpers/classLogger.js','instances','resolveInstance','tNHNl','delete','platformIndex','kzQlr','1760820PPFOmZ','../instances/trackedInstance.js','resolveInstance:\x20no\x20userAgent\x20in\x20args;\x20falling\x20back\x20to\x20default\x20tracked\x20instance','getAutomationFrameworkName','RrKso','4784652LdRpDk','testcafe:','zNmew','warn','userAgent','length','getInstanceByUserAgent'];a98_0x2946=function(){return _0x387e43;};return a98_0x2946();}const AutomationFramework=require('./automationFramework.js'),AutomationFrameworkInstance=require(a98_0x2af170(0xc3)),AutomationFrameworkState=require(a98_0x2af170(0xbc)),TrackedInstance=require(a98_0x2af170(0xa4)),{createClassLogger}=require(a98_0x2af170(0x9c)),logger=createClassLogger('TestCafeAutomationFramework');class TestCafeAutomationFramework extends AutomationFramework{constructor(_0x4475fd,_0x2f29b7){super(_0x4475fd,_0x2f29b7);}async[a98_0x2af170(0xc2)](_0x1d2f54,_0xc0f092,_0x4a01c3={}){const _0x3fbc33=a98_0x2af170;await super['trackEvent'](_0x1d2f54,_0xc0f092,_0x4a01c3);const _0x4ebd91=this[_0x3fbc33(0x9e)](_0x1d2f54,_0xc0f092,_0x4a01c3);if(!_0x4ebd91){logger['debug'](_0x3fbc33(0xb8)+_0x1d2f54+'\x20hookState='+_0xc0f092);return;}_0x4a01c3[_0x3fbc33(0x9a)]=_0x4ebd91,await this['runHooks'](_0x4ebd91,_0x1d2f54,_0xc0f092,_0x4a01c3);}[a98_0x2af170(0x9e)](_0x37fc8e,_0x130a97,_0x1bc816={}){const _0x27086a=a98_0x2af170,_0x5aa6e6={};_0x5aa6e6[_0x27086a(0xb6)]=_0x27086a(0xa5),_0x5aa6e6[_0x27086a(0x96)]=function(_0x1a04d9,_0x311a00){return _0x1a04d9===_0x311a00;},_0x5aa6e6['nllgI']=function(_0x55942a,_0x35c898){return _0x55942a===_0x35c898;},_0x5aa6e6[_0x27086a(0xa7)]=function(_0x1bbd22,_0x2a0a54){return _0x1bbd22||_0x2a0a54;};const _0x364b20=_0x5aa6e6,_0x52cbda=_0x1bc816['userAgent']||null;if(!_0x52cbda)return logger[_0x27086a(0xab)](_0x364b20[_0x27086a(0xb6)]),AutomationFramework['getTrackedInstance']();const _0x119f70=Number[_0x27086a(0xbd)](_0x1bc816[_0x27086a(0xa1)])?_0x1bc816[_0x27086a(0xa1)]:0x0,_0x4598d3=_0x27086a(0xa9)+_0x52cbda+'#'+_0x119f70;let _0x1d3126=AutomationFramework[_0x27086a(0x9d)][_0x27086a(0xaf)](_0x4598d3);if(!_0x1d3126&&(_0x364b20[_0x27086a(0x96)](_0x37fc8e,AutomationFrameworkState['CREATE'])||_0x364b20[_0x27086a(0xb5)](_0x37fc8e,AutomationFrameworkState['NONE']))){const _0x2a6d04=TrackedInstance['createContext'](_0x4598d3);_0x1d3126=new AutomationFrameworkInstance(_0x2a6d04,this[_0x27086a(0xa6)](),this[_0x27086a(0xbf)](),_0x37fc8e),AutomationFramework['instances'][_0x27086a(0xc1)](_0x4598d3,_0x1d3126),logger[_0x27086a(0xbb)](_0x27086a(0xb3)+_0x52cbda+'\x22\x20platformIndex='+_0x119f70+_0x27086a(0xba)+_0x4598d3);}return _0x364b20[_0x27086a(0xa7)](_0x1d3126,null);}static[a98_0x2af170(0xc0)](_0x524cc7,_0x2b918c=0x0){const _0x5ba752=a98_0x2af170,_0x21cb13=_0x5ba752(0xa9)+_0x524cc7+'#'+_0x2b918c;return AutomationFramework[_0x5ba752(0x9d)][_0x5ba752(0xa0)](_0x21cb13);}static[a98_0x2af170(0xae)](_0x134abc,_0x37dcab=0x0){const _0x534fe1=a98_0x2af170;return AutomationFramework[_0x534fe1(0x9d)]['get']('testcafe:'+_0x134abc+'#'+_0x37dcab)||null;}static*[a98_0x2af170(0x97)](){const _0x43a28d=a98_0x2af170,_0x47010d={};_0x47010d[_0x43a28d(0x9f)]=function(_0x22bb09,_0x3d2752){return _0x22bb09===_0x3d2752;},_0x47010d['zNmew']=_0x43a28d(0x9b),_0x47010d[_0x43a28d(0xa2)]=_0x43a28d(0xa9),_0x47010d[_0x43a28d(0xb1)]=function(_0x216d01,_0x4eceef){return _0x216d01+_0x4eceef;};const _0x5db789=_0x47010d;for(const [_0x38515d,_0x5647e4]of AutomationFramework['instances']['entries']()){if(_0x5db789[_0x43a28d(0x9f)](typeof _0x38515d,_0x5db789[_0x43a28d(0xaa)])&&_0x38515d['startsWith'](_0x5db789[_0x43a28d(0xa2)])){const _0x287625=_0x38515d[_0x43a28d(0xb9)](_0x5db789[_0x43a28d(0xa2)][_0x43a28d(0xad)]),_0x278469=_0x287625[_0x43a28d(0xb7)]('#');if(_0x5db789['tNHNl'](_0x278469,-0x1)){const _0x1e6ba6={};_0x1e6ba6[_0x43a28d(0xac)]=_0x287625,_0x1e6ba6[_0x43a28d(0xa1)]=0x0,_0x1e6ba6['instance']=_0x5647e4,yield _0x1e6ba6;}else{const _0x1fc0a9=_0x287625[_0x43a28d(0xb9)](0x0,_0x278469),_0x375c61=Number[_0x43a28d(0x98)](_0x287625['slice'](_0x5db789[_0x43a28d(0xb1)](_0x278469,0x1)),0xa)||0x0,_0x37bb47={};_0x37bb47[_0x43a28d(0xac)]=_0x1fc0a9,_0x37bb47['platformIndex']=_0x375c61,_0x37bb47[_0x43a28d(0x9a)]=_0x5647e4,yield _0x37bb47;}}}}}module['exports']=TestCafeAutomationFramework;
1
+ 'use strict';const a99_0xb23963=a99_0x155c;function a99_0x155c(_0x32b5b4,_0x4ff9f5){const _0xf44aef=a99_0xf44a();return a99_0x155c=function(_0x155c62,_0xd55cde){_0x155c62=_0x155c62-0x12d;let _0x1307e4=_0xf44aef[_0x155c62];return _0x1307e4;},a99_0x155c(_0x32b5b4,_0x4ff9f5);}(function(_0x50373a,_0x1d5504){const _0x4c54f6=a99_0x155c,_0x562dc4=_0x50373a();while(!![]){try{const _0x1d6bcf=-parseInt(_0x4c54f6(0x152))/0x1*(parseInt(_0x4c54f6(0x136))/0x2)+parseInt(_0x4c54f6(0x15e))/0x3*(-parseInt(_0x4c54f6(0x13e))/0x4)+parseInt(_0x4c54f6(0x151))/0x5*(-parseInt(_0x4c54f6(0x130))/0x6)+parseInt(_0x4c54f6(0x15f))/0x7*(-parseInt(_0x4c54f6(0x144))/0x8)+parseInt(_0x4c54f6(0x13a))/0x9*(-parseInt(_0x4c54f6(0x139))/0xa)+parseInt(_0x4c54f6(0x158))/0xb*(parseInt(_0x4c54f6(0x159))/0xc)+parseInt(_0x4c54f6(0x13f))/0xd*(parseInt(_0x4c54f6(0x14c))/0xe);if(_0x1d6bcf===_0x1d5504)break;else _0x562dc4['push'](_0x562dc4['shift']());}catch(_0x3f5368){_0x562dc4['push'](_0x562dc4['shift']());}}}(a99_0xf44a,0x2b80e));function a99_0xf44a(){const _0x114ff2=['162kcKzQc','\x20→\x20','\x20hookState=','getTrackedInstance','464JJXqqR','3016DNdkIc','instances','debug','CREATE','resolveInstance:\x20no\x20userAgent\x20in\x20args;\x20falling\x20back\x20to\x20default\x20tracked\x20instance','3104INrigl','resolveInstance:\x20created\x20instance\x20for\x20userAgent=\x22','../instances/trackedInstance.js','runHooks','get','\x22\x20platformIndex=','LzGBn','string','51842rUtIHm','userAgent','uAJjK','removeInstance','xGCvt','5BDKKsQ','1kErsHX','exports','instance','../state/automationFrameworkState.js','TestCafeAutomationFramework','./automationFramework.js','300861ByAeUo','108IIOdCd','slice','entries','length','testcafe:','2580AgfGZH','5621LjbJfr','../../../helpers/classLogger.js','pXzPK','ukjrk','529422mOFNCN','resolveInstance','lRVtM','FZric','trackEvent','getAutomationFrameworkName','200276xFjcLo','platformIndex','getAutomationFrameworkVersion','181870KYvQPE'];a99_0xf44a=function(){return _0x114ff2;};return a99_0xf44a();}const AutomationFramework=require(a99_0xb23963(0x157)),AutomationFrameworkInstance=require('../instances/automationFrameworkInstance.js'),AutomationFrameworkState=require(a99_0xb23963(0x155)),TrackedInstance=require(a99_0xb23963(0x146)),{createClassLogger}=require(a99_0xb23963(0x12d)),logger=createClassLogger(a99_0xb23963(0x156));class TestCafeAutomationFramework extends AutomationFramework{constructor(_0x3cec65,_0x43aa5d){super(_0x3cec65,_0x43aa5d);}async['trackEvent'](_0x3d70b7,_0x46c4a2,_0x217a3a={}){const _0x4007e3=a99_0xb23963;await super[_0x4007e3(0x134)](_0x3d70b7,_0x46c4a2,_0x217a3a);const _0x1e81b7=this[_0x4007e3(0x131)](_0x3d70b7,_0x46c4a2,_0x217a3a);if(!_0x1e81b7){logger[_0x4007e3(0x141)]('trackEvent:\x20no\x20instance\x20for\x20state='+_0x3d70b7+_0x4007e3(0x13c)+_0x46c4a2);return;}_0x217a3a[_0x4007e3(0x154)]=_0x1e81b7,await this[_0x4007e3(0x147)](_0x1e81b7,_0x3d70b7,_0x46c4a2,_0x217a3a);}[a99_0xb23963(0x131)](_0x32a892,_0x1ca0cf,_0x2e5a06={}){const _0x13fb92=a99_0xb23963,_0x3c2086={};_0x3c2086[_0x13fb92(0x133)]=_0x13fb92(0x143),_0x3c2086[_0x13fb92(0x12f)]=function(_0xa34a2,_0x403339){return _0xa34a2===_0x403339;},_0x3c2086[_0x13fb92(0x150)]=function(_0xa4c949,_0x33e7fc){return _0xa4c949||_0x33e7fc;};const _0x58b434=_0x3c2086,_0xb6d1f=_0x2e5a06[_0x13fb92(0x14d)]||null;if(!_0xb6d1f)return logger['warn'](_0x58b434[_0x13fb92(0x133)]),AutomationFramework[_0x13fb92(0x13d)]();const _0x4e7d1f=Number['isInteger'](_0x2e5a06[_0x13fb92(0x137)])?_0x2e5a06['platformIndex']:0x0,_0x55cdd3='testcafe:'+_0xb6d1f+'#'+_0x4e7d1f;let _0x45b970=AutomationFramework[_0x13fb92(0x140)]['get'](_0x55cdd3);if(!_0x45b970&&(_0x58b434[_0x13fb92(0x12f)](_0x32a892,AutomationFrameworkState[_0x13fb92(0x142)])||_0x58b434[_0x13fb92(0x12f)](_0x32a892,AutomationFrameworkState['NONE']))){const _0x5c0d52=TrackedInstance['createContext'](_0x55cdd3);_0x45b970=new AutomationFrameworkInstance(_0x5c0d52,this[_0x13fb92(0x135)](),this[_0x13fb92(0x138)](),_0x32a892),AutomationFramework[_0x13fb92(0x140)]['set'](_0x55cdd3,_0x45b970),logger['info'](_0x13fb92(0x145)+_0xb6d1f+_0x13fb92(0x149)+_0x4e7d1f+_0x13fb92(0x13b)+_0x55cdd3);}return _0x58b434[_0x13fb92(0x150)](_0x45b970,null);}static[a99_0xb23963(0x14f)](_0x3eec96,_0x2685b7=0x0){const _0x174687=a99_0xb23963,_0x3b0579=_0x174687(0x15d)+_0x3eec96+'#'+_0x2685b7;return AutomationFramework[_0x174687(0x140)]['delete'](_0x3b0579);}static['getInstanceByUserAgent'](_0x49c040,_0x39d106=0x0){const _0x5a0d67=a99_0xb23963;return AutomationFramework['instances'][_0x5a0d67(0x148)]('testcafe:'+_0x49c040+'#'+_0x39d106)||null;}static*['iterAllInstances'](){const _0x52f477=a99_0xb23963,_0x28fdd9={};_0x28fdd9[_0x52f477(0x14a)]=function(_0x39f199,_0x200a14){return _0x39f199===_0x200a14;},_0x28fdd9[_0x52f477(0x132)]=_0x52f477(0x14b),_0x28fdd9[_0x52f477(0x12e)]=_0x52f477(0x15d),_0x28fdd9[_0x52f477(0x14e)]=function(_0x273aef,_0x35a657){return _0x273aef+_0x35a657;};const _0x4d4210=_0x28fdd9;for(const [_0x22c92c,_0x197be0]of AutomationFramework[_0x52f477(0x140)][_0x52f477(0x15b)]()){if(_0x4d4210['LzGBn'](typeof _0x22c92c,_0x4d4210[_0x52f477(0x132)])&&_0x22c92c['startsWith'](_0x4d4210[_0x52f477(0x12e)])){const _0x914364=_0x22c92c[_0x52f477(0x15a)](_0x4d4210['pXzPK'][_0x52f477(0x15c)]),_0x550c50=_0x914364['lastIndexOf']('#');if(_0x4d4210[_0x52f477(0x14a)](_0x550c50,-0x1)){const _0x4c3025={};_0x4c3025[_0x52f477(0x14d)]=_0x914364,_0x4c3025[_0x52f477(0x137)]=0x0,_0x4c3025[_0x52f477(0x154)]=_0x197be0,yield _0x4c3025;}else{const _0x151145=_0x914364[_0x52f477(0x15a)](0x0,_0x550c50),_0x43f671=Number['parseInt'](_0x914364[_0x52f477(0x15a)](_0x4d4210[_0x52f477(0x14e)](_0x550c50,0x1)),0xa)||0x0,_0x9b358f={};_0x9b358f[_0x52f477(0x14d)]=_0x151145,_0x9b358f['platformIndex']=_0x43f671,_0x9b358f[_0x52f477(0x154)]=_0x197be0,yield _0x9b358f;}}}}}module[a99_0xb23963(0x153)]=TestCafeAutomationFramework;