browserstack-node-sdk 1.70.1 → 1.70.2

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 (223) 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/detox/a11ySetup.js +1 -1
  53. package/src/bin/detox/command.js +1 -1
  54. package/src/bin/detox/modifyDetoxConf.js +1 -1
  55. package/src/bin/detox/traEmitter.js +1 -1
  56. package/src/bin/integrations/command.js +1 -1
  57. package/src/bin/integrations/constants.js +1 -1
  58. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  59. package/src/bin/jasmine/command.js +1 -1
  60. package/src/bin/jasmine/test.setup.js +1 -1
  61. package/src/bin/jasmine/testRunMap.js +1 -1
  62. package/src/bin/jest/command.js +1 -1
  63. package/src/bin/jest/customImplements/customCircus.js +1 -1
  64. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  65. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  66. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  67. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  68. package/src/bin/jest/jest.setup.js +1 -1
  69. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  70. package/src/bin/jest/test-observability/helper.js +1 -1
  71. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  72. package/src/bin/jest/test-observability/test-details.js +1 -1
  73. package/src/bin/jest/test.setup.js +1 -1
  74. package/src/bin/jest/test_before.setup.js +1 -1
  75. package/src/bin/launcher/launcher.js +1 -1
  76. package/src/bin/load/index.js +1 -1
  77. package/src/bin/load/loadErrors.js +1 -1
  78. package/src/bin/load/loadUtils.js +1 -1
  79. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  80. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  81. package/src/bin/mocha/command.js +1 -1
  82. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  83. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  84. package/src/bin/mocha/test.setup.js +1 -1
  85. package/src/bin/newman/command.js +1 -1
  86. package/src/bin/newman/helper.js +1 -1
  87. package/src/bin/newman/reporter/index.js +1 -1
  88. package/src/bin/newman/scriptRunner.js +1 -1
  89. package/src/bin/nightwatch/command.js +1 -1
  90. package/src/bin/node-generic/client.js +1 -1
  91. package/src/bin/playwright/accessibility-helper.js +1 -1
  92. package/src/bin/playwright/command.js +1 -1
  93. package/src/bin/playwright/globalSetup.js +1 -1
  94. package/src/bin/playwright/mock-process.js +1 -1
  95. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  96. package/src/bin/playwright/patches.js +1 -1
  97. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  98. package/src/bin/playwright/reporter/reporter.js +1 -1
  99. package/src/bin/playwright/reporter/test-details.js +1 -1
  100. package/src/bin/playwright/reporterArgs.js +1 -1
  101. package/src/bin/playwright/sessionDetails.js +1 -1
  102. package/src/bin/puppeteer/patches.js +1 -1
  103. package/src/bin/puppeteer/sessionDetails.js +1 -1
  104. package/src/bin/puppeteer/test.setup.js +1 -1
  105. package/src/bin/runner.js +1 -1
  106. package/src/bin/setup.js +1 -1
  107. package/src/bin/test-runner/index.js +1 -1
  108. package/src/bin/test-runner/runTest.js +1 -1
  109. package/src/bin/test-runner/testWorker.js +1 -1
  110. package/src/bin/testcafe/a11y-runner.js +1 -1
  111. package/src/bin/testcafe/command.js +1 -1
  112. package/src/bin/testcafe/reporter/index.js +1 -1
  113. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  114. package/src/bin/testcafe/session-registry.js +1 -1
  115. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  116. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  117. package/src/bin/testcafe/w3c-driver.js +1 -1
  118. package/src/bin/utils/apiUtilityMethods.js +1 -1
  119. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  120. package/src/bin/utils/constants.js +1 -1
  121. package/src/bin/utils/log4jsAppender.js +1 -1
  122. package/src/bin/utils/logPatcher.js +1 -1
  123. package/src/bin/utils/logReportingAPI.js +1 -1
  124. package/src/bin/utils/playwright-patcher.js +1 -1
  125. package/src/bin/utils/puppeteer-patcher.js +1 -1
  126. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  127. package/src/bin/utils/sharedUtils.js +1 -1
  128. package/src/bin/v2/TestInfo.js +1 -1
  129. package/src/bin/v2/browserstackCLI.js +1 -1
  130. package/src/bin/v2/cliUtils.js +1 -1
  131. package/src/bin/v2/customTagManager.js +1 -1
  132. package/src/bin/v2/eventDispatcher.js +1 -1
  133. package/src/bin/v2/framework/automationFramework.js +1 -1
  134. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  135. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  136. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  137. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  138. package/src/bin/v2/framework/mochaTestFramework.js +1 -1
  139. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  140. package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
  141. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  142. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  143. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  144. package/src/bin/v2/framework/seleniumAutomationFramework.js +1 -1
  145. package/src/bin/v2/framework/testFramework.js +1 -1
  146. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  147. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  148. package/src/bin/v2/grpcClient.js +1 -1
  149. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  150. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  151. package/src/bin/v2/instances/trackedContext.js +1 -1
  152. package/src/bin/v2/instances/trackedInstance.js +1 -1
  153. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  154. package/src/bin/v2/modules/baseModule.js +1 -1
  155. package/src/bin/v2/modules/loadTestModule.js +1 -1
  156. package/src/bin/v2/modules/observabilityModule.js +1 -1
  157. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  158. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  159. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  160. package/src/bin/v2/modules/testhubModule.js +1 -1
  161. package/src/bin/v2/runStateStore.js +1 -1
  162. package/src/bin/v2/sdkErrorHandler.js +1 -1
  163. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  164. package/src/bin/v2/state/hookState.js +1 -1
  165. package/src/bin/v2/state/testFrameworkState.js +1 -1
  166. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  167. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  168. package/src/bin/v2/utils/jest-utils.js +1 -1
  169. package/src/bin/vanilla-js/command.js +1 -1
  170. package/src/browserStackSdk.js +1 -1
  171. package/src/helpers/BrowserStackSetup.js +1 -1
  172. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  173. package/src/helpers/accessibility-automation/constants.js +1 -1
  174. package/src/helpers/accessibility-automation/helper.js +1 -1
  175. package/src/helpers/accessibility-automation/scripts.js +1 -1
  176. package/src/helpers/ats/constants.js +1 -1
  177. package/src/helpers/ats/helper.js +1 -1
  178. package/src/helpers/caCertHelper.js +1 -1
  179. package/src/helpers/capsMapping.js +1 -1
  180. package/src/helpers/central-scanner/constants.js +1 -1
  181. package/src/helpers/central-scanner/helpers.js +1 -1
  182. package/src/helpers/classLogger.js +1 -1
  183. package/src/helpers/driverInitErrorReporter.js +1 -1
  184. package/src/helpers/globals.js +1 -1
  185. package/src/helpers/helper.js +1 -1
  186. package/src/helpers/logger.js +1 -1
  187. package/src/helpers/metadata.js +1 -1
  188. package/src/helpers/patchHelper.js +1 -1
  189. package/src/helpers/patchHelpers.js +1 -1
  190. package/src/helpers/percy/Percy.js +1 -1
  191. package/src/helpers/percy/PercyBinary.js +1 -1
  192. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  193. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  194. package/src/helpers/percy/PercySDK.js +1 -1
  195. package/src/helpers/percy/index.js +1 -1
  196. package/src/helpers/percy/utils.js +1 -1
  197. package/src/helpers/performance/constants.js +1 -1
  198. package/src/helpers/performance/performance-tester.js +1 -1
  199. package/src/helpers/playwright-helper.js +1 -1
  200. package/src/helpers/processHelper.js +1 -1
  201. package/src/helpers/puppeteer-helper.js +1 -1
  202. package/src/helpers/request-spy.js +1 -1
  203. package/src/helpers/setKeepAlive.js +1 -1
  204. package/src/helpers/stackFrameUtils.js +1 -1
  205. package/src/helpers/test-observability/constants.js +1 -1
  206. package/src/helpers/test-observability/error-handler.js +1 -1
  207. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  208. package/src/helpers/test-observability/sessionHandler.js +1 -1
  209. package/src/helpers/test-observability/utils.js +1 -1
  210. package/src/helpers/test-orchestration/constants.js +1 -1
  211. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  212. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  213. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  214. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  215. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  216. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  217. package/src/helpers/testhub/constants.js +1 -1
  218. package/src/helpers/testhub/testhubHandler.js +1 -1
  219. package/src/helpers/testhub/utils.js +1 -1
  220. package/src/helpers/utilities.js +1 -1
  221. package/src/helpers/w3cMapping.js +1 -1
  222. package/src/hubAllocationMethods.js +1 -1
  223. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a101_0x5bc0a2=a101_0x119f;(function(_0xc52a33,_0x5ed33d){const _0x370df2=a101_0x119f,_0x511b59=_0xc52a33();while(!![]){try{const _0x24ef5b=-parseInt(_0x370df2(0x143))/0x1+-parseInt(_0x370df2(0x1f9))/0x2+-parseInt(_0x370df2(0x1b8))/0x3*(-parseInt(_0x370df2(0x135))/0x4)+parseInt(_0x370df2(0x20c))/0x5*(-parseInt(_0x370df2(0x128))/0x6)+parseInt(_0x370df2(0x170))/0x7+parseInt(_0x370df2(0x1b2))/0x8*(parseInt(_0x370df2(0x174))/0x9)+-parseInt(_0x370df2(0x197))/0xa*(-parseInt(_0x370df2(0x18e))/0xb);if(_0x24ef5b===_0x5ed33d)break;else _0x511b59['push'](_0x511b59['shift']());}catch(_0x193bf8){_0x511b59['push'](_0x511b59['shift']());}}}(a101_0x236b,0xdaac6));const TestFramework=require(a101_0x5bc0a2(0x1bc)),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a101_0x5bc0a2(0x1c9)),{createClassLogger}=require(a101_0x5bc0a2(0x189)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a101_0x5bc0a2(0x132)),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),logger=createClassLogger(a101_0x5bc0a2(0x1dc)),{v4:uuidv4}=require(a101_0x5bc0a2(0x1a9)),util=require(a101_0x5bc0a2(0x136)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a101_0x5bc0a2(0x1d2)),TestInfo=require('../TestInfo.js'),GrpcClient=require(a101_0x5bc0a2(0x17f)),{removeAnsiColors,getFailureType,failureData}=require(a101_0x5bc0a2(0x227)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a101_0x5bc0a2(0x1dd)),{findNestedKey,sendTraceZip,validateFilePath}=require(a101_0x5bc0a2(0x1dd)),path=require(a101_0x5bc0a2(0x1c2)),fs=require('fs'),helper=require(a101_0x5bc0a2(0x15b)),{PLAYWRIGHT_TRACE_LOGS}=require(a101_0x5bc0a2(0x158)),PLAYWRIGHT_BUILTIN_ANNOTATIONS=new Set([a101_0x5bc0a2(0x21e),'fixme',a101_0x5bc0a2(0x1a1),a101_0x5bc0a2(0x1d1)]);class PlaywrightTestFramework extends TestFramework{constructor(_0x17b043,_0x32b0c1,_0x486b9b){super(_0x17b043,_0x32b0c1,_0x486b9b);}async[a101_0x5bc0a2(0x20b)](_0x5a0513,_0x3aa1e4,_0x1e76ee={}){const _0x1b049b=a101_0x5bc0a2,_0x3b62de={'JaBXx':function(_0x3b00ea,_0x139200){return _0x3b00ea===_0x139200;},'rXNAO':function(_0x5f46d5,_0x2257eb){return _0x5f46d5===_0x2257eb;},'prNdU':function(_0x3cad08,_0xd0c37b,_0x10ba21){return _0x3cad08(_0xd0c37b,_0x10ba21);},'ZtPel':function(_0x5c980b,_0xb353c1){return _0x5c980b===_0xb353c1;},'RIcWO':function(_0x531228,_0x5ef5fa){return _0x531228===_0x5ef5fa;},'FoQZe':function(_0x303198,_0x527233,_0xa6803f){return _0x303198(_0x527233,_0xa6803f);},'dqfGI':function(_0x43a685,_0x5120d6,_0x3ee39c,_0x43906f){return _0x43a685(_0x5120d6,_0x3ee39c,_0x43906f);},'DdBAK':_0x1b049b(0x1be),'yeHDr':_0x1b049b(0x1a2)};super['trackEvent'](_0x5a0513,_0x3aa1e4,_0x1e76ee);if(_0x3b62de[_0x1b049b(0x146)](_0x5a0513,TestFrameworkState['TEST_SCREENSHOT']))try{const _0x29da19=TestInfo[_0x1b049b(0x11e)](_0x1e76ee[_0x1b049b(0x1be)],_0x1e76ee[_0x1b049b(0x1be)][_0x1b049b(0x151)]);await TestInfo[_0x1b049b(0x1c6)](_0x29da19,_0x1e76ee[_0x1b049b(0x21f)],!![]);}catch(_0xa33ff3){logger['debug'](_0x1b049b(0x13d)+(_0xa33ff3&&_0xa33ff3[_0x1b049b(0x1c3)]));}if(_0x3b62de[_0x1b049b(0x1d7)](_0x5a0513,TestFrameworkState[_0x1b049b(0x1ea)])){this[_0x1b049b(0x11c)](_0x5a0513,_0x3aa1e4,_0x1e76ee);return;}const _0x65e8b2=this['resolveInstance'](_0x5a0513,_0x3aa1e4,_0x1e76ee);if(!_0x65e8b2)return;logger[_0x1b049b(0x14d)]('trackEvent:\x20found\x20instance,\x20testFrameworkState='+_0x5a0513+_0x1b049b(0x210)+_0x3aa1e4+_0x1b049b(0x17b)+_0x65e8b2[_0x1b049b(0x172)]());try{if(_0x3b62de[_0x1b049b(0x146)](_0x3aa1e4,HookState[_0x1b049b(0x16c)])&&_0x3b62de['rXNAO'](_0x5a0513,TestFrameworkState[_0x1b049b(0x1db)])){const _0x3647eb=_0x1e76ee[_0x1b049b(0x1be)];logger[_0x1b049b(0x14d)](_0x1b049b(0x155)+_0x3647eb['id']+'}');const _0x180077=TestInfo[_0x1b049b(0x200)](_0x3b62de[_0x1b049b(0x1b6)](getTestRunIdentifier,_0x3647eb,_0x1e76ee[_0x1b049b(0x21f)][_0x1b049b(0x151)]));_0x65e8b2[_0x1b049b(0x21b)](await this[_0x1b049b(0x1d8)](_0x180077,_0x3647eb,_0x1e76ee[_0x1b049b(0x21f)])),logger[_0x1b049b(0x14d)](_0x1b049b(0x1a7)+_0x3647eb['id']+',\x20testFrameworkState='+_0x5a0513+_0x1b049b(0x1bf)+_0x3aa1e4+_0x1b049b(0x16e)+_0x65e8b2[_0x1b049b(0x172)]());}if(_0x3b62de[_0x1b049b(0x12c)](_0x3aa1e4,HookState[_0x1b049b(0x11f)])&&_0x3b62de['RIcWO'](_0x5a0513,TestFrameworkState['TEST'])){const _0x5c6603=_0x1e76ee[_0x1b049b(0x1be)],_0x50af0b=_0x1e76ee[_0x1b049b(0x21f)];logger[_0x1b049b(0x14d)](_0x1b049b(0x1f3)+_0x5c6603['id']);const _0xf87b22=_0x3b62de['FoQZe'](getTestRunIdentifier,_0x5c6603,_0x50af0b['retry']),_0x2ce230=_0x65e8b2[_0x1b049b(0x140)]()[_0x1b049b(0x19b)](_0xf87b22)[TestFrameworkConstants['KEY_TEST_UUID']],{steps:_0x3dab0f,logs:_0x5e459a}=_0x3b62de[_0x1b049b(0x137)](getStepsAndLogs,_0x50af0b[_0x1b049b(0x125)],_0x2ce230,_0x3b62de[_0x1b049b(0x169)]);_0x65e8b2[_0x1b049b(0x21b)](await this[_0x1b049b(0x1f8)](_0x5c6603['id'],_0x50af0b,_0x5c6603,_0x3dab0f)),await this['sendLogCreatedEvent'](_0x65e8b2,_0x5a0513,_0x3aa1e4,_0x3b62de['DdBAK'],_0x1e76ee,_0x5e459a);}if(CLIUtils[_0x1b049b(0x160)](_0x5a0513['toString']()[_0x1b049b(0x13e)]('.')[0x1])){const _0x4bc77b=await this[_0x1b049b(0x219)](_0x65e8b2,_0x5a0513,_0x3aa1e4,_0x1e76ee);_0x65e8b2[_0x1b049b(0x21b)](_0x4bc77b);}}catch(_0x363df1){logger['error'](util['format'](_0x3b62de[_0x1b049b(0x1f4)],_0x5a0513,_0x3aa1e4,_0x1e76ee[_0x1b049b(0x1c1)],_0x363df1));}_0x1e76ee[_0x1b049b(0x173)]=_0x65e8b2,await this[_0x1b049b(0x1f6)](_0x65e8b2,_0x5a0513,_0x3aa1e4,_0x1e76ee);}[a101_0x5bc0a2(0x181)](_0x548e9a,_0x4b9d84,_0x3df947={}){const _0x1c0048=a101_0x5bc0a2,_0x2df69b={};_0x2df69b['OjCaC']=function(_0xf63e67,_0x417868){return _0xf63e67===_0x417868;},_0x2df69b[_0x1c0048(0x1ae)]=function(_0x2254f8,_0x4a2e81){return _0x2254f8===_0x4a2e81;};const _0x3c5930=_0x2df69b;let _0x808176=null;return(_0x3c5930[_0x1c0048(0x12f)](_0x548e9a,TestFrameworkState['INIT_TEST'])||_0x3c5930['TRvGg'](_0x548e9a,TestFrameworkState[_0x1c0048(0x15e)]))&&this[_0x1c0048(0x1ef)](_0x548e9a,_0x3df947),_0x808176=TestFramework[_0x1c0048(0x203)](),_0x808176;}['trackPlaywrightInstance'](_0x593c9e,_0x56358c){const _0x7a080=a101_0x5bc0a2,_0xe139e5=CLIUtils['getCurrentInstanceName'](),_0x1147aa=TrackedInstance[_0x7a080(0x1af)](_0xe139e5);let _0x4b18b5=null;logger[_0x7a080(0x1ee)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0xe139e5+',\x20state='+_0x593c9e),_0x4b18b5=new TestFrameworkInstance(_0x1147aa,this[_0x7a080(0x1f1)](),this['getTestFrameworksVersions'](),_0x593c9e,HookState[_0x7a080(0x15e)]),TestFramework[_0x7a080(0x152)](_0x1147aa,_0x4b18b5),logger['info'](_0x7a080(0x149)+_0x1147aa[_0x7a080(0x226)]()+_0x7a080(0x1f2)+_0xe139e5);}async['parsePlaywrightTest'](_0x51ce1a,_0x237cc4,_0x34e987){const _0x26558b=a101_0x5bc0a2,_0x1d7250={'SjKVq':function(_0x449ec7,_0x4da08e){return _0x449ec7(_0x4da08e);},'YJklf':function(_0x5ef39c,_0x279565){return _0x5ef39c(_0x279565);},'zvCQW':function(_0x23d5d4,_0x3b61e5){return _0x23d5d4(_0x3b61e5);},'Kxhwc':function(_0x5efcf0,_0x377078,_0x564455){return _0x5efcf0(_0x377078,_0x564455);}},_0xb4d5a=_0x1d7250['SjKVq'](getPlaywrightTestId,_0x237cc4),_0x402c14=_0x1d7250['SjKVq'](getPlaywrightTestTitle,_0x237cc4),_0x1cf298=_0x1d7250[_0x26558b(0x1fe)](getTestTags,_0x237cc4),_0x15edb9=_0x1d7250[_0x26558b(0x134)](getPlaywrightTestCode,_0x237cc4),_0x515fb3=_0x1d7250[_0x26558b(0x157)](getPlaywrightTestFilePath,_0x237cc4),_0x100ca8=_0x515fb3,_0x164f82=_0x1d7250[_0x26558b(0x157)](getPlaywrightTestScope,_0x237cc4),_0x7bb3b=_0x1d7250['YJklf'](getPlaywrightTestScopes,_0x237cc4),_0xcbcb96=_0x1d7250[_0x26558b(0x157)](getPlaywrightSessionName,_0x237cc4),_0xcf0611=this[_0x26558b(0x1f1)]()[0x0],_0x3d50ec=_0x1d7250['Kxhwc'](getTestRunIdentifier,_0x237cc4,_0x34e987[_0x26558b(0x151)]),_0x509c04={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0xcf0611,[TestFrameworkConstants[_0x26558b(0x20f)]]:this[_0x26558b(0x119)]()[_0xcf0611],[TestFrameworkConstants[_0x26558b(0x168)]]:[],[TestFrameworkConstants[_0x26558b(0x1d9)]]:{},[TestFrameworkConstants[_0x26558b(0x229)]]:{},[TestFrameworkConstants['KEY_TEST_UUID']]:_0x51ce1a,[TestFrameworkConstants[_0x26558b(0x1e8)]]:TestFrameworkConstants[_0x26558b(0x1e0)],[TestFrameworkConstants[_0x26558b(0x17d)]]:_0xcbcb96,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x515fb3,[TestFrameworkConstants[_0x26558b(0x1ad)]]:_0xb4d5a,[TestFrameworkConstants[_0x26558b(0x1b7)]]:_0x402c14,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x100ca8,[TestFrameworkConstants[_0x26558b(0x15c)]]:_0x15edb9,[TestFrameworkConstants[_0x26558b(0x1ed)]]:_0x1cf298,[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x237cc4['results'][0x0][_0x26558b(0x133)],[TestFrameworkConstants[_0x26558b(0x18c)]]:_0x164f82,[TestFrameworkConstants[_0x26558b(0x11a)]]:_0x7bb3b,[TestFrameworkConstants[_0x26558b(0x179)]]:_0x1d7250[_0x26558b(0x134)](getPlaywrightCustomRerunParam,_0x237cc4)};await TestInfo[_0x26558b(0x1c6)](_0x3d50ec,_0x509c04);const _0x5e1b96={};return _0x5e1b96[_0x3d50ec]=_0x509c04,_0x5e1b96;}async[a101_0x5bc0a2(0x1f8)](_0x334b3d,_0x4d4384,_0x51d1fb,_0x156cef){const _0x28a29d=a101_0x5bc0a2,_0x2b90e6={'yMIqq':function(_0x12dac7,_0x4e225c){return _0x12dac7(_0x4e225c);},'oVYqc':_0x28a29d(0x154),'AEcph':function(_0x23305b,_0x237d24){return _0x23305b===_0x237d24;},'IVyAU':function(_0x5b3136,_0x17aba7){return _0x5b3136===_0x17aba7;},'MVZqu':function(_0x22b77b,_0x1d44cd){return _0x22b77b===_0x1d44cd;},'YEyLn':function(_0x3a0c54,_0x5486e3){return _0x3a0c54(_0x5486e3);},'VpisJ':'No\x20reason\x20provided','aLpyq':function(_0x3c9cb4,_0x2cf612,_0x5bc2f8){return _0x3c9cb4(_0x2cf612,_0x5bc2f8);},'cubeI':function(_0x1c4608,_0x44b273){return _0x1c4608===_0x44b273;},'dRXzu':'skipped','sNRMA':'passed','ATJAY':function(_0x68ac81,_0x91ad38){return _0x68ac81===_0x91ad38;},'kpqgr':_0x28a29d(0x188),'jbLIz':'timedOut','tKkvI':function(_0x151154,_0xe50d72){return _0x151154===_0xe50d72;},'pjeiR':_0x28a29d(0x1fa),'kammu':function(_0x5ceccd,_0x336f74,_0x3dc459){return _0x5ceccd(_0x336f74,_0x3dc459);},'HhfAc':function(_0x35d90d,_0x1faaab){return _0x35d90d||_0x1faaab;},'SxyRz':function(_0x48ad64,_0x5464eb){return _0x48ad64(_0x5464eb);},'cLTzV':function(_0xa5e4f1,_0x14ce36){return _0xa5e4f1>_0x14ce36;},'AArVR':function(_0x365ef3,_0x124a78,_0x455aed){return _0x365ef3(_0x124a78,_0x455aed);},'bOdKY':function(_0x4e9ced,_0x3213d7){return _0x4e9ced-_0x3213d7;},'yHWYj':function(_0x496d58,_0x2a0668,_0x32c7af,_0x1123be){return _0x496d58(_0x2a0668,_0x32c7af,_0x1123be);},'FrnFE':_0x28a29d(0x1be),'SrKsj':function(_0x5b8f78,_0x2dbd7e){return _0x5b8f78===_0x2dbd7e;},'KsmLC':function(_0xd4a49f,_0x906825){return _0xd4a49f>=_0x906825;},'xZNkZ':function(_0x5e5921,_0x1516f6){return _0x5e5921+_0x1516f6;},'eFRoZ':function(_0xb1db73,_0x462168){return _0xb1db73>_0x462168;},'eBgQx':function(_0x4ec3a2,_0x49e1f1,_0x16af4d){return _0x4ec3a2(_0x49e1f1,_0x16af4d);},'nNqvn':_0x28a29d(0x1c2),'nCXZe':function(_0x5d5bff,_0xbae860){return _0x5d5bff(_0xbae860);},'TELIM':function(_0x6cc502,_0xbf7bfd,_0x29c635){return _0x6cc502(_0xbf7bfd,_0x29c635);},'VRFFA':function(_0x5db69d,_0x5d68a9){return _0x5db69d>_0x5d68a9;},'Dmpqb':_0x28a29d(0x141)};logger[_0x28a29d(0x14d)](_0x28a29d(0x1b9)+_0x334b3d);const _0x2181c3=_0x2b90e6[_0x28a29d(0x204)](getTestRunIdentifier,_0x51d1fb,_0x4d4384[_0x28a29d(0x151)]),_0x5c3a8e=new Date(),_0xdaaed0=_0x4d4384[_0x28a29d(0x14e)],_0x2a791c=await TestInfo['getCustomTagsAsync'](_0x2181c3);let _0x5309cd=_0xdaaed0;if(_0x2b90e6[_0x28a29d(0x17e)](_0x4d4384['status'],_0x51d1fb[_0x28a29d(0x1a0)]))_0x5309cd=_0x2b90e6[_0x28a29d(0x212)](_0x4d4384[_0x28a29d(0x14e)],_0x2b90e6[_0x28a29d(0x1f0)])?_0x2b90e6[_0x28a29d(0x1f0)]:_0x2b90e6['sNRMA'];else{(_0x2b90e6[_0x28a29d(0x17e)](_0x5309cd,_0x2b90e6['sNRMA'])||_0x2b90e6[_0x28a29d(0x1ba)](_0x5309cd,_0x2b90e6[_0x28a29d(0x122)])||_0x2b90e6[_0x28a29d(0x1a3)](_0x5309cd,_0x2b90e6[_0x28a29d(0x1eb)]))&&(_0x5309cd=_0x2b90e6[_0x28a29d(0x122)]);if(_0x2b90e6[_0x28a29d(0x1a5)](_0x4d4384[_0x28a29d(0x14e)],_0x2b90e6['sNRMA'])&&_0x2b90e6[_0x28a29d(0x15d)](_0x51d1fb[_0x28a29d(0x1a0)],_0x2b90e6[_0x28a29d(0x122)])){const _0x2f2f29={};_0x2f2f29[_0x28a29d(0x1c3)]=_0x2b90e6[_0x28a29d(0x148)],_0x2f2f29[_0x28a29d(0x215)]=_0x2b90e6['pjeiR'],_0x4d4384[_0x28a29d(0x11d)]=_0x2f2f29,_0x4d4384['errors']=[_0x4d4384[_0x28a29d(0x11d)]];}}const {failureData:_0x20d26e,logs:_0x276bfc}=_0x2b90e6[_0x28a29d(0x12e)](getFailureData,_0x4d4384?.[_0x28a29d(0x205)],{}),_0x115b45={[TestFrameworkConstants[_0x28a29d(0x183)]]:_0x2b90e6[_0x28a29d(0x14c)](_0x20d26e,null),[TestFrameworkConstants[_0x28a29d(0x167)]]:_0x4d4384?.[_0x28a29d(0x11d)]&&_0x2b90e6[_0x28a29d(0x1ca)](getFailureType,_0x4d4384[_0x28a29d(0x11d)][_0x28a29d(0x1c3)]),[TestFrameworkConstants[_0x28a29d(0x16d)]]:_0x4d4384?.[_0x28a29d(0x11d)]&&_0x2b90e6[_0x28a29d(0x15f)](removeAnsiColors,_0x4d4384[_0x28a29d(0x11d)][_0x28a29d(0x1c3)]),[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x28a29d(0x1e8)]]:_0x5309cd,[TestFrameworkConstants[_0x28a29d(0x218)]]:_0x5c3a8e[_0x28a29d(0x15a)](),[TestFrameworkConstants[_0x28a29d(0x225)]]:new Date()['toISOString'](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x2a791c};if(_0x4d4384&&_0x2b90e6[_0x28a29d(0x156)](_0x4d4384[_0x28a29d(0x151)],0x0)){const _0x2cb0e6=TestInfo[_0x28a29d(0x200)](_0x2b90e6[_0x28a29d(0x13c)](getTestRunIdentifier,_0x51d1fb,_0x2b90e6[_0x28a29d(0x1b3)](_0x4d4384[_0x28a29d(0x151)],0x1)));_0x115b45[TestFrameworkConstants[_0x28a29d(0x1bb)]]=_0x2cb0e6;}const _0x4f3c4d={};_0x4f3c4d[_0x28a29d(0x1be)]=_0x51d1fb;const _0x19db6e=this[_0x28a29d(0x181)](TestFrameworkState['TEST'],HookState[_0x28a29d(0x11f)],_0x4f3c4d),_0x51bbd1=_0x19db6e[_0x28a29d(0x140)]()[_0x28a29d(0x19b)](_0x2181c3)[TestFrameworkConstants['KEY_TEST_UUID']],_0x457947=_0x156cef||_0x2b90e6[_0x28a29d(0x127)](getStepsAndLogs,_0x4d4384[_0x28a29d(0x125)],_0x51bbd1,_0x2b90e6[_0x28a29d(0x1d5)])[_0x28a29d(0x125)],_0x15bd66=new Map(),_0x221e40=new Map();let _0x488190=0x0;const _0x5e59ee=[];for(const _0x5503e8 of _0x457947||[]){const _0x115145=_0x5503e8[_0x28a29d(0x150)]||null;let _0x413917;if(_0x2b90e6[_0x28a29d(0x21a)](_0x115145,null)){if(_0x2b90e6[_0x28a29d(0x221)](_0x488190,TestFrameworkConstants[_0x28a29d(0x1e9)]))continue;_0x413917=0x0,_0x488190++;}else{const _0x738b7=_0x15bd66[_0x28a29d(0x19b)](_0x115145);if(_0x2b90e6['IVyAU'](_0x738b7,undefined))continue;_0x413917=_0x2b90e6['xZNkZ'](_0x738b7,0x1);if(_0x2b90e6[_0x28a29d(0x164)](_0x413917,TestFrameworkConstants[_0x28a29d(0x1e4)]))continue;}_0x15bd66[_0x28a29d(0x1ec)](_0x5503e8['id'],_0x413917),_0x221e40[_0x28a29d(0x1ec)](_0x5503e8['id'],_0x5503e8[_0x28a29d(0x1ce)]),_0x5e59ee[_0x28a29d(0x1b4)]({'id':_0x5503e8['id'],'parent_id':_0x115145,'parent_text':_0x115145?_0x221e40[_0x28a29d(0x19b)](_0x115145)||'':'','text':_0x5503e8[_0x28a29d(0x1ce)],'keyword':_0x5503e8[_0x28a29d(0x1d0)]||null,'started_at':_0x5503e8['started_at'],'duration':_0x5503e8[_0x28a29d(0x1fd)]??null,'result':_0x5503e8[_0x28a29d(0x21f)],'failure':_0x5503e8[_0x28a29d(0x1a8)]||null,'failure_type':_0x5503e8['failure_type']||null});}const _0x1a8f1d={};_0x1a8f1d['steps']=_0x5e59ee,_0x115b45[TestFrameworkConstants[_0x28a29d(0x18b)]]=_0x1a8f1d,logger[_0x28a29d(0x14d)](_0x28a29d(0x176)+_0x5e59ee[_0x28a29d(0x1c1)]+_0x28a29d(0x220)+_0x334b3d);const _0x4bf72c=[],_0xd1319=_0x2b90e6[_0x28a29d(0x1b0)](findNestedKey,_0x4d4384,_0x2b90e6['nNqvn']);if(_0xd1319&&_0x2b90e6[_0x28a29d(0x14f)](validateFilePath,_0xd1319))try{_0x4bf72c['push']({'kind':_0x2b90e6[_0x28a29d(0x1e1)],'timestamp':new Date()[_0x28a29d(0x15a)](),'test_run_uuid':_0x51bbd1,'file_name':path[_0x28a29d(0x142)](_0xd1319),'file_size':fs[_0x28a29d(0x19a)](_0xd1319)[_0x28a29d(0x208)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x289df3){logger['error'](_0x28a29d(0x186)+_0xd1319+':\x20'+_0x289df3[_0x28a29d(0x1c3)]);}const _0x51e04d=await TestInfo[_0x28a29d(0x184)](_0x51bbd1);_0x51e04d[_0x28a29d(0x196)](_0x57281=>{const _0x388811=_0x28a29d;if(_0x57281[_0x388811(0x131)]&&_0x2b90e6[_0x388811(0x192)](validateFilePath,_0x57281[_0x388811(0x131)])&&!_0x4bf72c[_0x388811(0x159)](_0x34e937=>_0x34e937['file_name']===path[_0x388811(0x142)](_0x57281[_0x388811(0x131)])))try{_0x4bf72c['push']({'kind':_0x2b90e6['oVYqc'],'timestamp':new Date()[_0x388811(0x15a)](),'test_run_uuid':_0x51bbd1,'file_name':path['basename'](_0x57281[_0x388811(0x131)]),'file_size':fs[_0x388811(0x19a)](_0x57281[_0x388811(0x131)])['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x4e86d8){logger['error'](_0x388811(0x19d)+_0x57281[_0x388811(0x131)]+_0x388811(0x18a)+_0x4e86d8[_0x388811(0x1c3)]);}});if(_0x2b90e6['cLTzV'](_0x4bf72c[_0x28a29d(0x1c1)],0x0)){const _0x2664b1=_0x115b45[TestFrameworkConstants[_0x28a29d(0x1a6)]]||[];_0x115b45[TestFrameworkConstants['KEY_LOGS']]=[..._0x2664b1,..._0x4bf72c];}const _0x406fbf=(await TestInfo[_0x28a29d(0x198)](_0x2181c3))[TestFrameworkConstants[_0x28a29d(0x222)]]||{},_0x4ae2f9=_0x2b90e6['TELIM'](getManualUploadLogs,_0x406fbf,_0x19db6e[_0x28a29d(0x140)]()[_0x28a29d(0x19b)](_0x2181c3)[TestFrameworkConstants['KEY_TEST_UUID']]);if(_0x2b90e6['VRFFA'](_0x4ae2f9[_0x28a29d(0x1c1)],0x0)){const _0x1f088d=_0x115b45[TestFrameworkConstants['KEY_LOGS']]||[];_0x115b45[TestFrameworkConstants['KEY_LOGS']]=[..._0x1f088d,..._0x4ae2f9];}const _0x23ec2f=_0x51d1fb['annotations']||[],_0x3dd24e=_0x115b45[TestFrameworkConstants[_0x28a29d(0x19c)]]||{},_0x6c2dd6=_0x2b90e6['yMIqq'](require,_0x2b90e6[_0x28a29d(0x217)]);_0x23ec2f[_0x28a29d(0x196)](_0x4c2bdd=>{const _0x1aaee0=_0x28a29d,{type:_0x430079}=_0x4c2bdd;let _0x3cdb86=_0x4c2bdd[_0x1aaee0(0x1e6)];if(!_0x430079)return;if(PLAYWRIGHT_BUILTIN_ANNOTATIONS['has'](_0x430079))return;(_0x2b90e6[_0x1aaee0(0x1a3)](_0x3cdb86,undefined)||_0x2b90e6[_0x1aaee0(0x17e)](_0x3cdb86,null)||_0x2b90e6[_0x1aaee0(0x15d)](_0x2b90e6[_0x1aaee0(0x15f)](String,_0x3cdb86)[_0x1aaee0(0x16b)](),''))&&(_0x3cdb86=_0x2b90e6[_0x1aaee0(0x1c8)]);const _0x248c0c=helper[_0x1aaee0(0x161)](_0x2b90e6[_0x1aaee0(0x192)](String,_0x3cdb86));_0x6c2dd6[_0x1aaee0(0x193)](_0x3dd24e,_0x430079,_0x248c0c);}),_0x115b45[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x3dd24e,await TestInfo[_0x28a29d(0x1c6)](_0x2181c3,_0x115b45);const _0x5c453f={};return _0x5c453f[_0x2181c3]=_0x115b45,_0x5c453f;}[a101_0x5bc0a2(0x11c)](_0x595ef7,_0x408724,_0x223654){const _0xc1e7ee=a101_0x5bc0a2,_0x16e624={'abyFL':function(_0x2a57a1,_0x5bf6b1){return _0x2a57a1||_0x5bf6b1;},'jSDwA':function(_0x43581a,_0x229a39,_0x116992){return _0x43581a(_0x229a39,_0x116992);}};try{const {test:_0x51193b,result:_0x5dacb4,step:_0x4cf7ce}=_0x223654;if(_0x16e624[_0xc1e7ee(0x1df)](!_0x51193b,!_0x4cf7ce)||!_0x5dacb4)return;const _0x28d751=_0x16e624[_0xc1e7ee(0x187)](getTestRunIdentifier,_0x51193b,_0x5dacb4[_0xc1e7ee(0x151)]);logger[_0xc1e7ee(0x14d)](_0xc1e7ee(0x1c7)+_0x28d751+'\x20hookState='+_0x408724+'\x20step=\x22'+_0x4cf7ce[_0xc1e7ee(0x1e5)]+'\x22');}catch(_0x2daf39){logger['error'](_0xc1e7ee(0x22a)+util['format'](_0x2daf39));}}async[a101_0x5bc0a2(0x219)](_0xcd779b,_0x161c2d,_0x4b55e5,_0x3fcad9){const _0x384d96=a101_0x5bc0a2,_0x3e3f97={'AZGst':function(_0x4d263b,_0x2274e2,_0x48fdc2){return _0x4d263b(_0x2274e2,_0x48fdc2);},'toGVv':function(_0x24c084,_0x2dd3b4){return _0x24c084 in _0x2dd3b4;},'EzeaL':function(_0x4902f0,_0x5e2cca){return _0x4902f0(_0x5e2cca);},'JfVNx':function(_0x228ba3,_0x56111b){return _0x228ba3===_0x56111b;},'dHvGh':function(_0x41ef6a){return _0x41ef6a();},'PRSow':function(_0x1037ee,_0xb1a45d){return _0x1037ee===_0xb1a45d;},'MSYMd':function(_0x3822ed,_0x11dac7){return _0x3822ed>_0x11dac7;},'DkNVV':function(_0x5f238d,_0x2e4f1a,_0x3876e1){return _0x5f238d(_0x2e4f1a,_0x3876e1);},'aToqB':_0x384d96(0x18f),'TIcKc':function(_0x31435f,_0x2b32bd){return _0x31435f(_0x2b32bd);},'vDvBa':function(_0x3bc86d,_0x2162dd){return _0x3bc86d(_0x2162dd);},'apjin':_0x384d96(0x188),'nzEOx':_0x384d96(0x206),'CgtKa':function(_0x448e8d,_0x16063c){return _0x448e8d!==_0x16063c;},'nCnpv':function(_0x3c94b4,_0x11457f){return _0x3c94b4+_0x11457f;},'tuVlE':_0x384d96(0x21c)},_0x3921fe=_0x3fcad9[_0x384d96(0x1be)],_0x19bdca=_0x3fcad9[_0x384d96(0x1e2)],_0x724f0c=_0x3e3f97[_0x384d96(0x1a4)](getTestRunIdentifier,_0x3921fe,_0x3fcad9['result'][_0x384d96(0x151)]),_0x36a15e=_0x161c2d[_0x384d96(0x175)]()[_0x384d96(0x13e)]('.')[0x1];let _0x47fe86=_0xcd779b[_0x384d96(0x140)]()[_0x384d96(0x19b)](_0x724f0c)[TestFrameworkConstants[_0x384d96(0x229)]];!_0x47fe86&&(_0x47fe86={});!_0x3e3f97['toGVv'](_0x36a15e,_0x47fe86)&&(_0x47fe86[_0x36a15e]=[]);let _0xbe6f63=_0xcd779b[_0x384d96(0x140)]()[_0x384d96(0x19b)](_0x724f0c)[TestFrameworkConstants[_0x384d96(0x1d9)]];!_0xbe6f63&&(_0xbe6f63={});!_0x3e3f97[_0x384d96(0x201)](_0x36a15e,_0xbe6f63)&&(_0xbe6f63[_0x36a15e]=[]);const _0x4a6110={[TestFrameworkConstants[_0x384d96(0x229)]]:_0x47fe86,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0xbe6f63},_0x2fb001={};_0x2fb001[_0x724f0c]=_0x4a6110;const _0x2c7b05=_0x2fb001,_0x915cfc=_0x3e3f97[_0x384d96(0x1cb)](getPlaywrightTestFilePath,_0x3921fe),_0x17fb4b=_0x915cfc,_0x3d9b9e=await TestInfo[_0x384d96(0x153)](_0x724f0c);if(_0x3e3f97[_0x384d96(0x199)](_0x4b55e5,HookState['PRE'])){const _0x3cfd03={'key':_0x36a15e,[TestFrameworkConstants[_0x384d96(0x139)]]:_0x3e3f97[_0x384d96(0x12d)](uuidv4),[TestFrameworkConstants[_0x384d96(0x16f)]]:TestFrameworkConstants[_0x384d96(0x1f5)],[TestFrameworkConstants[_0x384d96(0x138)]]:_0x19bdca[_0x384d96(0x133)],[TestFrameworkConstants[_0x384d96(0x21d)]]:[],[TestFrameworkConstants[_0x384d96(0x14b)]]:_0x19bdca[_0x384d96(0x1e5)],[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x915cfc,[TestFrameworkConstants[_0x384d96(0x1ac)]]:_0x17fb4b,[TestFrameworkConstants[_0x384d96(0x19c)]]:_0x3d9b9e};_0x47fe86[_0x36a15e]['push'](_0x3cfd03),_0x2c7b05[_0x724f0c][TestFrameworkConstants[_0x384d96(0x12b)]]=_0x36a15e,logger[_0x384d96(0x14d)]('Hook\x20Started\x20in\x20PRE\x20key\x20=\x20'+_0x36a15e+'\x20&\x20hook\x20=\x20'+_0x3cfd03+_0x384d96(0x171)+_0x3fcad9);}else{if(_0x3e3f97[_0x384d96(0x223)](_0x4b55e5,HookState[_0x384d96(0x11f)])){const _0x5081fa=await _0x3fcad9['result'],_0x1b5a23=_0x47fe86[_0x36a15e]||[],_0xfc56a8=_0x3fcad9[_0x384d96(0x1e2)];logger[_0x384d96(0x14d)](_0x384d96(0x129)+_0x1b5a23+_0x384d96(0x1ab)+_0x3fcad9);if(_0x3e3f97[_0x384d96(0x18d)](_0x1b5a23[_0x384d96(0x1c1)],0x0)){const _0x33f988=_0x1b5a23[_0x384d96(0x202)]();if(_0xfc56a8[_0x384d96(0x11d)]){const _0x34c363=_0x3e3f97['DkNVV'](failureData,_0xfc56a8['error'],_0x3e3f97[_0x384d96(0x228)]);_0x33f988[TestFrameworkConstants[_0x384d96(0x1de)]]=_0x3e3f97[_0x384d96(0x20d)](getFailureType,_0xfc56a8?.[_0x384d96(0x11d)][_0x384d96(0x1c3)]),_0x33f988[TestFrameworkConstants[_0x384d96(0x1e3)]]=_0x3e3f97['vDvBa'](removeAnsiColors,_0xfc56a8?.[_0x384d96(0x11d)][_0x384d96(0x1c3)]),_0x33f988[TestFrameworkConstants[_0x384d96(0x16f)]]=_0x3e3f97[_0x384d96(0x124)],_0x33f988[TestFrameworkConstants['KEY_HOOK_FAILURE']]=_0x34c363;}else _0x33f988[TestFrameworkConstants[_0x384d96(0x16f)]]=_0x3e3f97[_0x384d96(0x19f)];_0x3e3f97[_0x384d96(0x207)](_0x5081fa,TestFrameworkConstants[_0x384d96(0x1f5)])&&(_0x33f988[TestFrameworkConstants['KEY_HOOK_RESULT']]=!_0xfc56a8[_0x384d96(0x11d)]?_0x3e3f97[_0x384d96(0x19f)]:_0x3e3f97[_0x384d96(0x124)]);const _0x123e6a=new Date(_0xfc56a8[_0x384d96(0x133)]),_0x35e767=new Date(_0x3e3f97[_0x384d96(0x1b5)](_0x123e6a[_0x384d96(0x1c4)](),_0xfc56a8[_0x384d96(0x1fd)]));_0x33f988[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x35e767[_0x384d96(0x15a)](),_0x33f988[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x3d9b9e;const _0x29b2c1=_0x33f988[TestFrameworkConstants[_0x384d96(0x139)]];await this[_0x384d96(0x194)](_0xcd779b,_0x161c2d,_0x29b2c1,_0x3e3f97['tuVlE'],_0x3fcad9),!_0xbe6f63[_0x36a15e]&&(_0xbe6f63[_0x36a15e]=[]),_0xbe6f63[_0x36a15e][_0x384d96(0x1b4)](_0x33f988),_0x2c7b05[_0x724f0c][TestFrameworkConstants[_0x384d96(0x144)]]=_0x36a15e;}}}return _0x2c7b05;}async[a101_0x5bc0a2(0x194)](_0x46afda,_0x41aba3,_0xb66e58,_0x5e3513,_0x22af68,_0xccdca9){const _0x2d5f8c=a101_0x5bc0a2,_0x333360={'RGySG':function(_0x4e6319,_0x18038c){return _0x4e6319===_0x18038c;},'cFHNA':_0x2d5f8c(0x1be),'Tcets':function(_0x12ea27,_0x428b3e,_0x441032){return _0x12ea27(_0x428b3e,_0x441032);},'YVVOy':function(_0x3f166f,_0x446f4c,_0x519686){return _0x3f166f(_0x446f4c,_0x519686);},'rlAbQ':_0x2d5f8c(0x1d3),'zMoQZ':function(_0x418ff8,_0xfb6306){return _0x418ff8>_0xfb6306;},'PIiOh':function(_0x5ac54e,_0x32a78c,_0x1b5500,_0x12c8a4){return _0x5ac54e(_0x32a78c,_0x1b5500,_0x12c8a4);},'zyELb':function(_0x4970e8,_0x3a26bb,_0x531a97){return _0x4970e8(_0x3a26bb,_0x531a97);},'xaThQ':function(_0x2e22c4,_0x175256,_0x2d5985){return _0x2e22c4(_0x175256,_0x2d5985);},'zLmTO':function(_0x112a68,_0x44a9d1){return _0x112a68/_0x44a9d1;},'pOtfq':function(_0x3ac4f9,_0x383d84){return _0x3ac4f9<_0x383d84;},'RVYTU':function(_0xa0eac5,_0x5dbc9f){return _0xa0eac5*_0x5dbc9f;},'MKtjY':function(_0x42ac80,_0x2d31be){return _0x42ac80+_0x2d31be;},'LBnln':function(_0x71bb55,_0x1b94d6,_0x1fa468,_0x43eaff,_0x53ab4a){return _0x71bb55(_0x1b94d6,_0x1fa468,_0x43eaff,_0x53ab4a);},'GZQRd':function(_0x387d06,_0x8259b3,_0x243724,_0x19baab){return _0x387d06(_0x8259b3,_0x243724,_0x19baab);},'GusAj':_0x2d5f8c(0x21c),'XXgig':function(_0x5a898a,_0x860319,_0x15f87e){return _0x5a898a(_0x860319,_0x15f87e);},'jtjMb':function(_0x203649,_0xdca71e,_0x409e19,_0xeff298,_0x29becc){return _0x203649(_0xdca71e,_0x409e19,_0xeff298,_0x29becc);}};try{if(_0x333360[_0x2d5f8c(0x182)](_0x5e3513,_0x333360[_0x2d5f8c(0x20e)])){const _0x550417=await _0x22af68[_0x2d5f8c(0x21f)],_0x4a95e9=_0x333360[_0x2d5f8c(0x1ff)](getTestRunIdentifier,_0x22af68[_0x2d5f8c(0x1be)],_0x22af68[_0x2d5f8c(0x21f)]['retry']),_0x426287=_0x22af68[_0x2d5f8c(0x1be)];logger['debug'](_0x2d5f8c(0x1fc)+_0x4a95e9+'\x20result='+util[_0x2d5f8c(0x13a)](_0x550417));const _0x6a1c2c=_0x46afda[_0x2d5f8c(0x140)]()[_0x2d5f8c(0x19b)](_0x4a95e9)[TestFrameworkConstants[_0x2d5f8c(0x211)]];await _0x333360[_0x2d5f8c(0x190)](sendTraceZip,_0x550417,_0x6a1c2c);const _0x407165=(await TestInfo['getTestDetailsAsync'](_0x4a95e9))[_0x333360[_0x2d5f8c(0x1c5)]],_0x143277={};if(_0x407165&&_0x333360['zMoQZ'](_0x407165['length'],0x0)){!_0x550417[_0x2d5f8c(0x1d3)]&&(_0x550417[_0x2d5f8c(0x1d3)]=[]);_0x143277[_0x2d5f8c(0x1d3)]=_0x550417[_0x2d5f8c(0x1d3)][_0x2d5f8c(0x1e7)](_0x407165||[]);const _0x47e426={};_0x47e426[_0x2d5f8c(0x1d3)]=[],await TestInfo[_0x2d5f8c(0x1c6)](_0x4a95e9,_0x47e426);}const _0x3cf247=_0xccdca9||_0x333360[_0x2d5f8c(0x213)](getStepsAndLogs,_0x550417[_0x2d5f8c(0x125)],_0x46afda['getAllData']()[_0x2d5f8c(0x19b)](_0x4a95e9)[TestFrameworkConstants[_0x2d5f8c(0x211)]],_0x333360[_0x2d5f8c(0x20e)])[_0x2d5f8c(0x16a)],_0x3bd82b=_0x333360['zyELb'](getScreenshots,_0x143277,_0x46afda[_0x2d5f8c(0x140)]()[_0x2d5f8c(0x19b)](_0x4a95e9)[TestFrameworkConstants[_0x2d5f8c(0x211)]]),_0x104fbb=_0x333360['xaThQ'](getVideos,_0x550417,_0x46afda[_0x2d5f8c(0x140)]()[_0x2d5f8c(0x19b)](_0x4a95e9)[TestFrameworkConstants[_0x2d5f8c(0x211)]]),{_:_0x1c17fa,logs:_0x273470}=_0x333360['YVVOy'](getFailureData,_0x550417['errors'],{'test_run_uuid':_0x46afda[_0x2d5f8c(0x140)]()['get'](_0x4a95e9)[TestFrameworkConstants['KEY_TEST_UUID']]}),_0x323934=(await TestInfo[_0x2d5f8c(0x198)](_0x4a95e9))[TestFrameworkConstants[_0x2d5f8c(0x222)]]||{},_0x26c381=_0x333360[_0x2d5f8c(0x195)](getMediaArtifactsLogs,_0x323934,_0x46afda['getAllData']()[_0x2d5f8c(0x19b)](_0x4a95e9)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x231bc8=_0x46afda[_0x2d5f8c(0x140)]()[_0x2d5f8c(0x19b)](_0x4a95e9),{[TestFrameworkConstants[_0x2d5f8c(0x123)]]:_0x5b8dcc='',[TestFrameworkConstants[_0x2d5f8c(0x20f)]]:_0x4c258a=''}=_0x231bc8,_0x479911=(_0x3cf247||[])[_0x2d5f8c(0x1e7)](_0x3bd82b||[])[_0x2d5f8c(0x1e7)](_0x273470||[])[_0x2d5f8c(0x1e7)](_0x104fbb||[])[_0x2d5f8c(0x1e7)](_0x26c381||[]),_0x49249e=0x28,_0x1093f6=Math[_0x2d5f8c(0x209)](_0x333360['zLmTO'](_0x479911[_0x2d5f8c(0x1c1)],_0x49249e));for(let _0x167805=0x0;_0x333360[_0x2d5f8c(0x216)](_0x167805,_0x1093f6);_0x167805++){const _0x3fb45c=_0x333360[_0x2d5f8c(0x1d4)](_0x167805,_0x49249e),_0x40f2a6=_0x333360[_0x2d5f8c(0x1da)](_0x3fb45c,_0x49249e),_0x50afef=_0x479911['slice'](_0x3fb45c,_0x40f2a6),_0x93c85e={'platformIndex':global?.[_0x2d5f8c(0x11b)]??0x0,'logs':_0x50afef,'testFrameworkName':_0x5b8dcc,'testFrameworkVersion':_0x4c258a,'testFrameworkState':_0x41aba3[_0x2d5f8c(0x175)]()[_0x2d5f8c(0x13e)]('.')[0x1]};_0x333360[_0x2d5f8c(0x162)](updatePayloadForTraceLogs,_0x93c85e,_0x22af68,_0x4a95e9,_0x46afda),logger[_0x2d5f8c(0x14d)](_0x2d5f8c(0x1cf)+_0x4a95e9+_0x2d5f8c(0x214)+_0x333360['MKtjY'](_0x167805,0x1)+'/'+_0x1093f6+_0x2d5f8c(0x13f)+util[_0x2d5f8c(0x13a)](_0x93c85e));const _0x4f9e5a=await GrpcClient[_0x2d5f8c(0x1cd)]()[_0x2d5f8c(0x224)](_0x93c85e);logger[_0x2d5f8c(0x14d)](_0x2d5f8c(0x1cf)+_0x4a95e9+_0x2d5f8c(0x214)+_0x333360[_0x2d5f8c(0x1da)](_0x167805,0x1)+'/'+_0x1093f6+_0x2d5f8c(0x1c0)+util['inspect'](_0x4f9e5a));}}else{const {logs:_0x113fe1}=_0x333360[_0x2d5f8c(0x121)](getStepsAndLogs,_0x22af68[_0x2d5f8c(0x1e2)][_0x2d5f8c(0x125)],_0xb66e58,_0x333360[_0x2d5f8c(0x1d6)]),_0x2dab1c=_0x333360[_0x2d5f8c(0x12a)](getTestRunIdentifier,_0x22af68[_0x2d5f8c(0x1be)],_0x22af68[_0x2d5f8c(0x21f)]['retry']);logger[_0x2d5f8c(0x14d)](_0x2d5f8c(0x1fc)+_0x2dab1c);const _0x420ec0=_0x46afda[_0x2d5f8c(0x140)]()[_0x2d5f8c(0x19b)](_0x2dab1c),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x51142e='',[TestFrameworkConstants[_0x2d5f8c(0x20f)]]:_0x44fb3c=''}=_0x420ec0,_0x565006={'platformIndex':'0','logs':_0x113fe1,'testFrameworkName':_0x51142e,'testFrameworkVersion':_0x44fb3c,'testFrameworkState':_0x41aba3[_0x2d5f8c(0x175)]()[_0x2d5f8c(0x13e)]('.')[0x1]};_0x333360[_0x2d5f8c(0x180)](updatePayloadForTraceLogs,_0x565006,_0x22af68,_0x2dab1c,_0x46afda),logger[_0x2d5f8c(0x14d)](_0x2d5f8c(0x1cf)+_0x2dab1c+_0x2d5f8c(0x13f)+util['inspect'](_0x565006));const _0x240263=await GrpcClient[_0x2d5f8c(0x1cd)]()[_0x2d5f8c(0x224)](_0x565006);}}catch(_0x5f25c1){logger['error'](_0x2d5f8c(0x20a)+util[_0x2d5f8c(0x120)](_0x5f25c1));}}[a101_0x5bc0a2(0x191)](_0x3dff85){const _0x3c79bb=a101_0x5bc0a2,_0x5f0b13={'zwbur':function(_0x2a93bf,_0x505116,_0x422a46){return _0x2a93bf(_0x505116,_0x422a46);},'tBrRr':function(_0x244b3f,_0x5b5bb9){return _0x244b3f<_0x5b5bb9;},'qfArO':_0x3c79bb(0x1cc)};try{const _0x497b89=_0x3dff85[_0x3c79bb(0x1be)]['id'],_0x114ef3=_0x5f0b13['zwbur'](getTestRunIdentifier,_0x3dff85[_0x3c79bb(0x1be)],_0x3dff85[_0x3c79bb(0x21f)]['retry']),_0x4447c3=_0x3dff85['instance'],_0x2a5056=_0x4447c3['getContext'](),_0x54d6ea=_0x4447c3[_0x3c79bb(0x140)]()[_0x3c79bb(0x19b)](_0x114ef3);logger[_0x3c79bb(0x14d)](_0x3c79bb(0x17c)+_0x497b89);const {[TestFrameworkConstants[_0x3c79bb(0x123)]]:_0x4b6ff2='',[TestFrameworkConstants[_0x3c79bb(0x20f)]]:_0x133305='',[TestFrameworkConstants[_0x3c79bb(0x19e)]]:_0x125997='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0xc8f09e=''}=_0x54d6ea,_0x2e18b5=_0x4447c3['getCurrentTestState']()[_0x3c79bb(0x175)]()['split']('.')[0x1],_0x38b314=_0x4447c3['getCurrentHookState']()[_0x3c79bb(0x175)]()[_0x3c79bb(0x13e)]('.')[0x1],_0x3672a8=_0x5f0b13[_0x3c79bb(0x1f7)](_0x3dff85?.[_0x3c79bb(0x21f)]?.['parallelIndex']??0x0,0x0)?0x0:_0x3dff85?.[_0x3c79bb(0x21f)]?.[_0x3c79bb(0x13b)]??0x0,_0x20868f=_0x4447c3[_0x3c79bb(0x172)](),_0x3a6921=Buffer[_0x3c79bb(0x14a)](JSON[_0x3c79bb(0x165)](_0x54d6ea))[_0x3c79bb(0x175)](_0x5f0b13[_0x3c79bb(0x130)]),_0x3e8e04={'hash':_0x2a5056[_0x3c79bb(0x226)](),'threadId':_0x2a5056[_0x3c79bb(0x1bd)]()[_0x3c79bb(0x175)](),'processId':_0x2a5056[_0x3c79bb(0x178)]()[_0x3c79bb(0x175)]()},_0x2c21bb={};_0x2c21bb[_0x3c79bb(0x185)]=_0x3672a8,_0x2c21bb[_0x3c79bb(0x1fb)]=_0x4b6ff2,_0x2c21bb[_0x3c79bb(0x1b1)]=_0x133305,_0x2c21bb[_0x3c79bb(0x177)]=_0x2e18b5,_0x2c21bb[_0x3c79bb(0x1aa)]=_0x38b314,_0x2c21bb[_0x3c79bb(0x166)]=_0x125997,_0x2c21bb[_0x3c79bb(0x126)]=_0xc8f09e,_0x2c21bb[_0x3c79bb(0x1a9)]=_0x20868f,_0x2c21bb['eventJson']=_0x3a6921,_0x2c21bb['executionContext']=_0x3e8e04;const _0x4f02ad=_0x2c21bb;return logger[_0x3c79bb(0x14d)](_0x3c79bb(0x145)+_0x497b89+'\x20testState:\x20'+_0x2e18b5+_0x3c79bb(0x147)+_0x38b314),_0x4f02ad;}catch(_0x4e8249){return logger[_0x3c79bb(0x11d)](_0x3c79bb(0x163)+util[_0x3c79bb(0x120)](_0x4e8249)),{};}}}module[a101_0x5bc0a2(0x17a)]=PlaywrightTestFramework;function a101_0x119f(_0x3c6403,_0x5380ec){const _0x236b0c=a101_0x236b();return a101_0x119f=function(_0x119f02,_0x38e1e0){_0x119f02=_0x119f02-0x119;let _0x5bd35b=_0x236b0c[_0x119f02];return _0x5bd35b;},a101_0x119f(_0x3c6403,_0x5380ec);}function a101_0x236b(){const _0x2ca57e=['skip','result','\x20steps\x20for\x20testId=','KsmLC','KEY_TEST_ATTACHMENTS','PRSow','logCreatedEvent','KEY_TEST_RESULT_AT','getId','../../../helpers/test-observability/utils','aToqB','KEY_HOOKS_STARTED','trackStepEvent:\x20exception=','getTestFrameworksVersions','KEY_TEST_SCOPES','browserstackPlatformIndex','trackStepEvent','error','getTestIdentifierFromTestInfo','POST','format','GZQRd','kpqgr','KEY_TEST_FRAMEWORK_NAME','apjin','steps','endedAt','yHWYj','1226424SCIuaZ','Hook\x20List\x20in\x20Post\x20','XXgig','KEY_HOOK_LAST_STARTED','ZtPel','dHvGh','kammu','OjCaC','qfArO','filePath','../instances/trackedInstance.js','startTime','zvCQW','124132WjPLJv','util','dqfGI','KEY_EVENT_STARTED_AT','KEY_HOOK_ID','inspect','parallelIndex','AArVR','trackEvent:\x20failed\x20to\x20persist\x20screenshot\x20details:\x20','split','\x20payload=','getAllData','../customTagManager','basename','961230dcCsUN','KEY_HOOK_LAST_FINISHED','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','JaBXx','\x20hookState:\x20','pjeiR','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','from','KEY_HOOK_NAME','HhfAc','debug','status','nCXZe','parent_id','retry','setTrackedInstance','getCustomTagsAsync','TEST_ATTACHMENT','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','cLTzV','SjKVq','../../utils/constants','some','toISOString','../../../../src/helpers/helper','KEY_TEST_CODE','MVZqu','NONE','YEyLn','matchHookRegex','parseCommaSeparatedValues','LBnln','Error\x20in\x20createTestFrameworkEventPayload:\x20','eFRoZ','stringify','startedAt','KEY_TEST_FAILURE_TYPE','KEY_TEST_LOGS','DdBAK','logs','trim','PRE','KEY_TEST_FAILURE_REASON','\x20instance=','KEY_HOOK_RESULT','9507043mTQXmG','\x20\x20and\x20args\x20=\x20','getRef','instance','9BFPJmo','toString','parsePlaywrightTestResult:\x20extracted\x20','testFrameworkState','getProcessId','KEY_TEST_RERUN_NAME','exports','\x20instanceId=','createTestFrameworkEventPayload\x20testId:\x20','KEY_AUTOMATE_SESSION_NAME','IVyAU','../grpcClient','jtjMb','resolveInstance','RGySG','KEY_TEST_FAILURE','getTraceFilePathsAsync','platformIndex','Error\x20processing\x20direct\x20trace\x20file\x20','jSDwA','failed','../../../helpers/classLogger.js','\x20from\x20TestDetails:\x20','KEY_TEST_META','KEY_TEST_SCOPE','MSYMd','788117DYfPcu','err','YVVOy','createTestFrameworkEventPayload','yMIqq','mergeIntoTags','sendLogCreatedEvent','zyELb','forEach','310dVFMLe','getTestDetailsAsync','JfVNx','statSync','get','KEY_CUSTOM_TAGS','Error\x20processing\x20trace\x20file\x20','KEY_TEST_STARTED_AT','nzEOx','expectedStatus','slow','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','AEcph','AZGst','tKkvI','KEY_LOGS','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','failure','uuid','hookState','\x20and\x20args\x20=\x20','KEY_TEST_LOCATION','KEY_TEST_ID','TRvGg','createContext','eBgQx','testFrameworkVersion','2141432bSDuTF','bOdKY','push','nCnpv','prNdU','KEY_TEST_NAME','51jDYDsf','parsePlaywrightTestResult:\x20testId=','ATJAY','KEY_TEST_RETRY_OF','./testFramework','getThreadId','test','\x20testHookState=','\x20response=','length','path','message','getTime','rlAbQ','setTestDetailsAsync','trackStepEvent:\x20testId=','VpisJ','../state/hookState.js','SxyRz','EzeaL','base64','getInstance','text','sendLogCreatedEvent\x20for\x20testId:\x20','keyword','fail','../../../helpers/helper.js','attachments','RVYTU','FrnFE','GusAj','rXNAO','parsePlaywrightTest','KEY_HOOKS_FINISHED','MKtjY','TEST','PlaywrightTestFramework','../../playwright/reporter/pwUtils','KEY_HOOK_FAILURE_TYPE','abyFL','DEFAULT_TEST_RESULT','oVYqc','step','KEY_HOOK_FAILURE_REASON','MAX_NESTED_STEP_DEPTH','title','description','concat','KEY_TEST_RESULT','MAX_TOP_LEVEL_STEPS','TEST_STEP','jbLIz','set','KEY_TEST_TAGS','info','trackPlaywrightInstance','dRXzu','getTestFrameworks','\x20target=','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','yeHDr','DEFAULT_HOOK_RESULT','runHooks','tBrRr','parsePlaywrightTestResult','2991020oudVfM','Expected\x20to\x20fail,\x20but\x20passed.','testFrameworkName','sendLogCreatedEvent:\x20testId=','duration','YJklf','Tcets','getTestUUID','toGVv','pop','getTrackedInstance','aLpyq','errors','passed','CgtKa','size','ceil','Error\x20in\x20sendLogCreatedEvent:\x20','trackEvent','25Uwjwpo','TIcKc','cFHNA','KEY_TEST_FRAMEWORK_VERSION','\x20hookState=','KEY_TEST_UUID','cubeI','PIiOh','\x20batch\x20','stack','pOtfq','Dmpqb','KEY_TEST_ENDED_AT','trackHookEvent','SrKsj','addMultipleEntries','hook','KEY_HOOK_LOGS'];a101_0x236b=function(){return _0x2ca57e;};return a101_0x236b();}
1
+ function a101_0x33a9(){const _0xffe3b6=['../../../helpers/classLogger.js','KEY_EVENT_ENDED_AT','KEY_TEST_FILE_PATH','\x20testState:\x20','IlknR','failure_type','NONE','vuKuK','\x20payload=','forEach','QvyzL','FoxTi','text','getTestFrameworksVersions','KcAgR','getTestFrameworks','Error\x20processing\x20trace\x20file\x20','nBtQr','KEY_TEST_ENDED_AT','\x20hookState=','WxBFK','608OqknjJ','396393cprouI','getAllData','attachments','KEY_LOGS','from','441pmfBzY','rzZPd','title','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','path','zUndo','testFrameworkState','nBJWG','getTestUUID','message','../instances/trackedInstance.js','HZIgB','matchHookRegex','Tmfmu','MAX_TOP_LEVEL_STEPS','createTestFrameworkEventPayload','getCustomTagsAsync','ceil','executionContext','getInstance','skipped','exports','sendLogCreatedEvent','steps','description','\x20step=\x22','KEY_TEST_SCOPES','17932013Mmyqam','KEY_TEST_RETRY_OF','POST','KEY_TEST_ID','mxLiw',',\x20state=','statSync','HzzRs','parsePlaywrightTestResult:\x20testId=','DWGJW','KEY_TEST_META','../../../../src/helpers/helper','trackStepEvent:\x20exception=','Error\x20in\x20createTestFrameworkEventPayload:\x20','rNKdX','keyword','inspect','HAJEy','../../playwright/reporter/pwUtils','parent_id','jwemX','XfYBx','xgSjx','\x20response=','\x20\x20and\x20args\x20=\x20','937710qHJCwz','KEY_AUTOMATE_SESSION_NAME','getTrackedInstance','getRef','puBIw','FTJif','sendLogCreatedEvent:\x20testId=','fixme','resolveInstance','setTestDetailsAsync','KEY_TEST_LOCATION','browserstackPlatformIndex','\x20batch\x20','KEY_HOOK_RESULT','PMBpH','217950EIjWYD','qxHZB','push','KEY_TEST_UUID','XIxae','TqAvR','Expected\x20to\x20fail,\x20but\x20passed.','uuid','pVJCQ','platformIndex','KEY_HOOK_FAILURE_REASON','CcNVz','../../utils/constants','format','Hook\x20List\x20in\x20Post\x20','bfTMR','info','duration','logs','KEY_CUSTOM_TAGS','hook','trackHookEvent','40138iYyhoo','KEY_TEST_LOGS','RFCCg','pop','trackEvent','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','trim','status','jmghT','Error\x20processing\x20direct\x20trace\x20file\x20','result','parallelIndex','ueUyC','size','KEY_HOOKS_STARTED','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','debug','GboHM','eihot','vetJX','../state/testFrameworkState.js','KEY_TEST_TAGS','Kdcvs','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','INIT_TEST','failure','hsZvx','setTrackedInstance','mIsnC','testFrameworkName','PlaywrightTestFramework','passed','VkBpO','KEY_TEST_SCOPE','frJSw','KEY_HOOKS_FINISHED','KEY_HOOK_LAST_STARTED','testFrameworkVersion','\x20target=','\x20hookState:\x20','DEFAULT_HOOK_RESULT','SeTZv','step','error','some','trackEvent:\x20found\x20instance,\x20testFrameworkState=','instance','8rbFikI','HUNnu','XIeIv','length','kzCaC','basename','parseCommaSeparatedValues','hVqlN','err','getThreadId','6udTTTK','WDPCQ','concat','stringify','uIjOU','KEY_TEST_RESULT_AT','getId','../grpcClient','failed','mergeIntoTags','KEY_TEST_ATTACHMENTS','KEY_TEST_RERUN_NAME','toISOString','dITam','\x20result=','qOMhs','addMultipleEntries','PRE','getTime','iJMbw','1257045zEOcPN','ahvYe','getCurrentTestState','jsXfw','split','thzNE','APJeO','startTime','blnwM','zXahm','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','errors','set','./constants/testFrameworkConstants.js','aFPcZ','vPrKV','createContext','trackPlaywrightInstance','./testFramework','TEST','WAjeC','endedAt','KEY_TEST_FRAMEWORK_NAME','get','gDqNz','getCurrentHookState','getCurrentInstanceName','rAGoz','trackStepEvent','\x20from\x20TestDetails:\x20','oziKK','filePath','KEY_TEST_NAME','aaANG','\x20testHookState=','MpOLA','timedOut','KEY_TEST_FRAMEWORK_VERSION','No\x20reason\x20provided','parsePlaywrightTest','\x20&\x20hook\x20=\x20','createTestFrameworkEventPayload\x20testId:\x20','KEY_HOOK_ID','toString','base64','parsePlaywrightTestResult','dKLOj','../customTagManager','1638568yUEVvt','oqayI','../TestInfo.js','KEY_HOOK_NAME','getTraceFilePathsAsync',',\x20testFrameworkState=','SgmHM','test','retry','logCreatedEvent','stack','getProcessId','sendLogCreatedEvent\x20for\x20testId:\x20','file_name','trackEvent:\x20failed\x20to\x20persist\x20screenshot\x20details:\x20','expectedStatus','KEY_TEST_STARTED_AT','startedAt','KEY_TEST_CODE','annotations','KEY_HOOK_FAILURE','TEST_SCREENSHOT','hookState','skip'];a101_0x33a9=function(){return _0xffe3b6;};return a101_0x33a9();}const a101_0x321d43=a101_0xdd8a;(function(_0x51718e,_0x31a3b7){const _0x1cb18a=a101_0xdd8a,_0x56556a=_0x51718e();while(!![]){try{const _0x171e74=parseInt(_0x1cb18a(0xe7))/0x1+-parseInt(_0x1cb18a(0x13b))/0x2*(parseInt(_0x1cb18a(0xae))/0x3)+-parseInt(_0x1cb18a(0x189))/0x4+-parseInt(_0x1cb18a(0x159))/0x5*(parseInt(_0x1cb18a(0x145))/0x6)+parseInt(_0x1cb18a(0x10c))/0x7*(parseInt(_0x1cb18a(0xad))/0x8)+parseInt(_0x1cb18a(0xb3))/0x9*(-parseInt(_0x1cb18a(0xf6))/0xa)+parseInt(_0x1cb18a(0xce))/0xb;if(_0x171e74===_0x31a3b7)break;else _0x56556a['push'](_0x56556a['shift']());}catch(_0xc8f0bd){_0x56556a['push'](_0x56556a['shift']());}}}(a101_0x33a9,0xb62a3));const TestFramework=require(a101_0x321d43(0x16b)),TestFrameworkState=require(a101_0x321d43(0x120)),HookState=require('../state/hookState.js'),{createClassLogger}=require(a101_0x321d43(0x1a1)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a101_0x321d43(0xbd)),TestFrameworkConstants=require(a101_0x321d43(0x166)),logger=createClassLogger(a101_0x321d43(0x12a)),{v4:uuidv4}=require(a101_0x321d43(0xfd)),util=require('util'),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require('../../../helpers/helper.js'),TestInfo=require(a101_0x321d43(0x18b)),GrpcClient=require(a101_0x321d43(0x14c)),{removeAnsiColors,getFailureType,failureData}=require('../../../helpers/test-observability/utils'),{getFailureData,getTestTags,getTestRunIdentifier}=require(a101_0x321d43(0xe0)),{findNestedKey,sendTraceZip,validateFilePath}=require(a101_0x321d43(0xe0)),path=require(a101_0x321d43(0xb7)),fs=require('fs'),helper=require(a101_0x321d43(0xd9)),{PLAYWRIGHT_TRACE_LOGS}=require(a101_0x321d43(0x102)),PLAYWRIGHT_BUILTIN_ANNOTATIONS=new Set([a101_0x321d43(0x1a0),a101_0x321d43(0xee),'slow','fail']);function a101_0xdd8a(_0x2aafaa,_0x2dd659){const _0x33a9e1=a101_0x33a9();return a101_0xdd8a=function(_0xdd8a5f,_0x46d988){_0xdd8a5f=_0xdd8a5f-0xa3;let _0x1aea92=_0x33a9e1[_0xdd8a5f];return _0x1aea92;},a101_0xdd8a(_0x2aafaa,_0x2dd659);}class PlaywrightTestFramework extends TestFramework{constructor(_0x2bc976,_0x1f147e,_0x5085fd){super(_0x2bc976,_0x1f147e,_0x5085fd);}async[a101_0x321d43(0x110)](_0x580c2c,_0x1e91fa,_0x12dc8c={}){const _0x40a517=a101_0x321d43,_0x355fbd={'oziKK':function(_0x17e3e2,_0x109d70){return _0x17e3e2===_0x109d70;},'xDcQo':function(_0x3d0ed8,_0x1b82b6){return _0x3d0ed8===_0x1b82b6;},'rzZPd':function(_0x5d660d,_0x4a177d){return _0x5d660d===_0x4a177d;},'frJSw':function(_0x230d3c,_0x421c12,_0x5686c7){return _0x230d3c(_0x421c12,_0x5686c7);},'PHNZg':function(_0x1d0b6b,_0x396dbb){return _0x1d0b6b===_0x396dbb;},'vPrKV':function(_0x56270f,_0x31ce84){return _0x56270f===_0x31ce84;},'dITam':function(_0x5bd22d,_0x2467fc,_0x218aaf,_0x1f5d08){return _0x5bd22d(_0x2467fc,_0x218aaf,_0x1f5d08);},'uIjOU':'test','XfYBx':'trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s'};super[_0x40a517(0x110)](_0x580c2c,_0x1e91fa,_0x12dc8c);if(_0x355fbd[_0x40a517(0x177)](_0x580c2c,TestFrameworkState[_0x40a517(0x19e)]))try{const _0x3af8bc=TestInfo['getTestIdentifierFromTestInfo'](_0x12dc8c['test'],_0x12dc8c[_0x40a517(0x190)][_0x40a517(0x191)]);await TestInfo['setTestDetailsAsync'](_0x3af8bc,_0x12dc8c[_0x40a517(0x116)],!![]);}catch(_0x2a112a){logger[_0x40a517(0x11c)](_0x40a517(0x197)+(_0x2a112a&&_0x2a112a[_0x40a517(0xbc)]));}if(_0x355fbd['xDcQo'](_0x580c2c,TestFrameworkState['TEST_STEP'])){this['trackStepEvent'](_0x580c2c,_0x1e91fa,_0x12dc8c);return;}const _0x4d5118=this[_0x40a517(0xef)](_0x580c2c,_0x1e91fa,_0x12dc8c);if(!_0x4d5118)return;logger[_0x40a517(0x11c)](_0x40a517(0x139)+_0x580c2c+_0x40a517(0xab)+_0x1e91fa+'\x20instanceId='+_0x4d5118[_0x40a517(0xea)]());try{if(_0x355fbd['oziKK'](_0x1e91fa,HookState['PRE'])&&_0x355fbd[_0x40a517(0xb4)](_0x580c2c,TestFrameworkState[_0x40a517(0x16c)])){const _0x3568e2=_0x12dc8c[_0x40a517(0x190)];logger[_0x40a517(0x11c)]('trackEvent\x20loading\x20testData\x20for\x20testId:\x20'+_0x3568e2['id']+'}');const _0x22125b=TestInfo['getTestUUID'](_0x355fbd[_0x40a517(0x12e)](getTestRunIdentifier,_0x3568e2,_0x12dc8c[_0x40a517(0x116)][_0x40a517(0x191)]));_0x4d5118[_0x40a517(0x155)](await this['parsePlaywrightTest'](_0x22125b,_0x3568e2,_0x12dc8c[_0x40a517(0x116)])),logger[_0x40a517(0x11c)](_0x40a517(0x123)+_0x3568e2['id']+_0x40a517(0x18e)+_0x580c2c+_0x40a517(0x17b)+_0x1e91fa+'\x20instance='+_0x4d5118[_0x40a517(0xea)]());}if(_0x355fbd['PHNZg'](_0x1e91fa,HookState[_0x40a517(0xd0)])&&_0x355fbd[_0x40a517(0x168)](_0x580c2c,TestFrameworkState['TEST'])){const _0x5b0441=_0x12dc8c[_0x40a517(0x190)],_0x402564=_0x12dc8c['result'];logger[_0x40a517(0x11c)]('trackEvent\x20loading\x20testResults\x20for\x20testId:\x20'+_0x5b0441['id']);const _0x4a1303=_0x355fbd[_0x40a517(0x12e)](getTestRunIdentifier,_0x5b0441,_0x402564[_0x40a517(0x191)]),_0x108148=_0x4d5118['getAllData']()['get'](_0x4a1303)[TestFrameworkConstants[_0x40a517(0xf9)]],{steps:_0x533a59,logs:_0x4e8664}=_0x355fbd[_0x40a517(0x152)](getStepsAndLogs,_0x402564[_0x40a517(0xca)],_0x108148,_0x355fbd[_0x40a517(0x149)]);_0x4d5118['addMultipleEntries'](await this[_0x40a517(0x186)](_0x5b0441['id'],_0x402564,_0x5b0441,_0x533a59)),await this[_0x40a517(0xc9)](_0x4d5118,_0x580c2c,_0x1e91fa,_0x355fbd['uIjOU'],_0x12dc8c,_0x4e8664);}if(CLIUtils[_0x40a517(0xbf)](_0x580c2c[_0x40a517(0x184)]()[_0x40a517(0x15d)]('.')[0x1])){const _0x411a75=await this[_0x40a517(0x10b)](_0x4d5118,_0x580c2c,_0x1e91fa,_0x12dc8c);_0x4d5118[_0x40a517(0x155)](_0x411a75);}}catch(_0x2483ad){logger[_0x40a517(0x137)](util[_0x40a517(0x103)](_0x355fbd[_0x40a517(0xe3)],_0x580c2c,_0x1e91fa,_0x12dc8c[_0x40a517(0x13e)],_0x2483ad));}_0x12dc8c[_0x40a517(0x13a)]=_0x4d5118,await this['runHooks'](_0x4d5118,_0x580c2c,_0x1e91fa,_0x12dc8c);}[a101_0x321d43(0xef)](_0x12b82e,_0x1c79c3,_0x2d445a={}){const _0x5b72b8=a101_0x321d43,_0x34dd1c={};_0x34dd1c[_0x5b72b8(0x13c)]=function(_0x209cdb,_0x1e827e){return _0x209cdb===_0x1e827e;};const _0x24b439=_0x34dd1c;let _0x2d7b1b=null;return(_0x24b439[_0x5b72b8(0x13c)](_0x12b82e,TestFrameworkState[_0x5b72b8(0x124)])||_0x24b439['HUNnu'](_0x12b82e,TestFrameworkState[_0x5b72b8(0x1a7)]))&&this[_0x5b72b8(0x16a)](_0x12b82e,_0x2d445a),_0x2d7b1b=TestFramework[_0x5b72b8(0xe9)](),_0x2d7b1b;}[a101_0x321d43(0x16a)](_0x5cbe7a,_0x56d09d){const _0x482dc9=a101_0x321d43,_0x5525f3=CLIUtils[_0x482dc9(0x173)](),_0x2cf4da=TrackedInstance[_0x482dc9(0x169)](_0x5525f3);let _0x21cd71=null;logger['info'](_0x482dc9(0x111)+_0x5525f3+_0x482dc9(0xd3)+_0x5cbe7a),_0x21cd71=new TestFrameworkInstance(_0x2cf4da,this[_0x482dc9(0xa7)](),this[_0x482dc9(0xa5)](),_0x5cbe7a,HookState[_0x482dc9(0x1a7)]),TestFramework[_0x482dc9(0x127)](_0x2cf4da,_0x21cd71),logger[_0x482dc9(0x106)](_0x482dc9(0xb6)+_0x2cf4da[_0x482dc9(0x14b)]()+_0x482dc9(0x132)+_0x5525f3);}async[a101_0x321d43(0x180)](_0x4067e5,_0x252ed0,_0x1b53ef){const _0x533ba8=a101_0x321d43,_0x477cb1={'KcAgR':function(_0x53b4e7,_0xc49978){return _0x53b4e7(_0xc49978);},'TqAvR':function(_0x9c90d0,_0x376d0e){return _0x9c90d0(_0x376d0e);},'gDqNz':function(_0x3ca963,_0x4479d4){return _0x3ca963(_0x4479d4);},'qOMhs':function(_0x4ed812,_0x227205){return _0x4ed812(_0x227205);},'IlknR':function(_0x156632,_0x562301,_0x3b0e7f){return _0x156632(_0x562301,_0x3b0e7f);}},_0x57fcc1=_0x477cb1[_0x533ba8(0xa6)](getPlaywrightTestId,_0x252ed0),_0x29e84a=_0x477cb1[_0x533ba8(0xa6)](getPlaywrightTestTitle,_0x252ed0),_0x3cb4aa=_0x477cb1[_0x533ba8(0xfb)](getTestTags,_0x252ed0),_0x3fb4ec=_0x477cb1['gDqNz'](getPlaywrightTestCode,_0x252ed0),_0x455788=_0x477cb1[_0x533ba8(0x171)](getPlaywrightTestFilePath,_0x252ed0),_0x5d7c76=_0x455788,_0x47e664=_0x477cb1[_0x533ba8(0x154)](getPlaywrightTestScope,_0x252ed0),_0x263f4a=_0x477cb1[_0x533ba8(0xa6)](getPlaywrightTestScopes,_0x252ed0),_0x2b9757=_0x477cb1[_0x533ba8(0x154)](getPlaywrightSessionName,_0x252ed0),_0x5e30c8=this[_0x533ba8(0xa7)]()[0x0],_0x4debf6=_0x477cb1[_0x533ba8(0x1a5)](getTestRunIdentifier,_0x252ed0,_0x1b53ef[_0x533ba8(0x191)]),_0x1cb498={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x5e30c8,[TestFrameworkConstants[_0x533ba8(0x17e)]]:this[_0x533ba8(0xa5)]()[_0x5e30c8],[TestFrameworkConstants[_0x533ba8(0x10d)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0x533ba8(0x11a)]]:{},[TestFrameworkConstants[_0x533ba8(0xf9)]]:_0x4067e5,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0x533ba8(0xe8)]]:_0x2b9757,[TestFrameworkConstants[_0x533ba8(0x1a3)]]:_0x455788,[TestFrameworkConstants[_0x533ba8(0xd1)]]:_0x57fcc1,[TestFrameworkConstants[_0x533ba8(0x179)]]:_0x29e84a,[TestFrameworkConstants[_0x533ba8(0xf1)]]:_0x5d7c76,[TestFrameworkConstants[_0x533ba8(0x19b)]]:_0x3fb4ec,[TestFrameworkConstants[_0x533ba8(0x121)]]:_0x3cb4aa,[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x252ed0['results'][0x0][_0x533ba8(0x160)],[TestFrameworkConstants[_0x533ba8(0x12d)]]:_0x47e664,[TestFrameworkConstants[_0x533ba8(0xcd)]]:_0x263f4a,[TestFrameworkConstants[_0x533ba8(0x150)]]:_0x477cb1[_0x533ba8(0xa6)](getPlaywrightCustomRerunParam,_0x252ed0)};await TestInfo['setTestDetailsAsync'](_0x4debf6,_0x1cb498);const _0x363795={};return _0x363795[_0x4debf6]=_0x1cb498,_0x363795;}async['parsePlaywrightTestResult'](_0x500a79,_0x4521eb,_0x2a10de,_0x102d21){const _0x2ac07d=a101_0x321d43,_0xfe2886={'WAjeC':function(_0x19080d,_0x4011e3){return _0x19080d(_0x4011e3);},'PMBpH':'TEST_ATTACHMENT','qxHZB':function(_0x2564be,_0x4e1cad){return _0x2564be===_0x4e1cad;},'rNKdX':function(_0xf9b1ac,_0x21e15a){return _0xf9b1ac===_0x21e15a;},'zUndo':function(_0x1c3af4,_0x1d7389){return _0x1c3af4(_0x1d7389);},'zXahm':_0x2ac07d(0x17f),'mxLiw':function(_0x1bb93d,_0xd537bf,_0x10420c){return _0x1bb93d(_0xd537bf,_0x10420c);},'HAJEy':function(_0x5bc24d,_0x5d1deb){return _0x5bc24d===_0x5d1deb;},'puBIw':_0x2ac07d(0xc7),'HZIgB':'passed','blnwM':function(_0x5ce191,_0xd39639){return _0x5ce191===_0xd39639;},'XLVVY':function(_0x21708d,_0x47abdb){return _0x21708d===_0x47abdb;},'MpOLA':_0x2ac07d(0x14d),'xSnqT':_0x2ac07d(0x17d),'HzzRs':_0x2ac07d(0xfc),'jsXfw':function(_0x20d9a2,_0x1dccc9,_0x4c26c9){return _0x20d9a2(_0x1dccc9,_0x4c26c9);},'WxBFK':function(_0x431276,_0x364de8){return _0x431276||_0x364de8;},'cMuwT':function(_0x446101,_0x5599ce){return _0x446101>_0x5599ce;},'sMLUq':function(_0x2603c0,_0x142954,_0x3778ff){return _0x2603c0(_0x142954,_0x3778ff);},'bfTMR':function(_0x2602ef,_0x3d88bd){return _0x2602ef-_0x3d88bd;},'iJMbw':function(_0x24f7e4,_0x5a1301,_0x2f5dd4,_0x246790){return _0x24f7e4(_0x5a1301,_0x2f5dd4,_0x246790);},'WDPCQ':_0x2ac07d(0x190),'jmghT':function(_0xf05dbd,_0x1ecd8d){return _0xf05dbd>=_0x1ecd8d;},'DcUWI':function(_0xd1a745,_0x44bda1){return _0xd1a745===_0x44bda1;},'ueUyC':function(_0x304c12,_0x5ac19e){return _0x304c12+_0x5ac19e;},'DWGJW':function(_0x4f0f6c,_0x3f2914,_0x5c8434){return _0x4f0f6c(_0x3f2914,_0x5c8434);},'vuKuK':_0x2ac07d(0xb7),'qYLyd':function(_0x3b3b3d,_0x32ee75){return _0x3b3b3d(_0x32ee75);},'VkBpO':function(_0x1c5875,_0x41f764){return _0x1c5875>_0x41f764;},'Kdcvs':function(_0x3bfe7e,_0x311cd9){return _0x3bfe7e(_0x311cd9);},'rgJKc':_0x2ac07d(0x188)};logger[_0x2ac07d(0x11c)](_0x2ac07d(0xd6)+_0x500a79);const _0x5ed430=_0xfe2886[_0x2ac07d(0xd2)](getTestRunIdentifier,_0x2a10de,_0x4521eb[_0x2ac07d(0x191)]),_0x12dd4c=new Date(),_0x520ef1=_0x4521eb[_0x2ac07d(0x113)],_0x7730a8=await TestInfo[_0x2ac07d(0xc3)](_0x5ed430);let _0x49a729=_0x520ef1;if(_0xfe2886[_0x2ac07d(0xf7)](_0x4521eb['status'],_0x2a10de['expectedStatus']))_0x49a729=_0xfe2886[_0x2ac07d(0xdf)](_0x4521eb[_0x2ac07d(0x113)],_0xfe2886[_0x2ac07d(0xeb)])?_0xfe2886[_0x2ac07d(0xeb)]:_0xfe2886[_0x2ac07d(0xbe)];else{(_0xfe2886[_0x2ac07d(0x161)](_0x49a729,_0xfe2886[_0x2ac07d(0xbe)])||_0xfe2886['XLVVY'](_0x49a729,_0xfe2886[_0x2ac07d(0x17c)])||_0xfe2886['blnwM'](_0x49a729,_0xfe2886['xSnqT']))&&(_0x49a729=_0xfe2886[_0x2ac07d(0x17c)]);if(_0xfe2886['HAJEy'](_0x4521eb['status'],_0xfe2886[_0x2ac07d(0xbe)])&&_0xfe2886[_0x2ac07d(0xdc)](_0x2a10de[_0x2ac07d(0x198)],_0xfe2886['MpOLA'])){const _0x2ca9c1={};_0x2ca9c1[_0x2ac07d(0xbc)]=_0xfe2886[_0x2ac07d(0xd5)],_0x2ca9c1[_0x2ac07d(0x193)]=_0xfe2886['HzzRs'],_0x4521eb[_0x2ac07d(0x137)]=_0x2ca9c1,_0x4521eb[_0x2ac07d(0x164)]=[_0x4521eb[_0x2ac07d(0x137)]];}}const {failureData:_0x3c786d,logs:_0x57a3f8}=_0xfe2886[_0x2ac07d(0x15c)](getFailureData,_0x4521eb?.['errors'],{}),_0x502c6d={[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0xfe2886[_0x2ac07d(0xac)](_0x3c786d,null),[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]:_0x4521eb?.[_0x2ac07d(0x137)]&&_0xfe2886[_0x2ac07d(0x16d)](getFailureType,_0x4521eb[_0x2ac07d(0x137)][_0x2ac07d(0xbc)]),[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]:_0x4521eb?.['error']&&_0xfe2886[_0x2ac07d(0x16d)](removeAnsiColors,_0x4521eb[_0x2ac07d(0x137)][_0x2ac07d(0xbc)]),[TestFrameworkConstants[_0x2ac07d(0xb1)]]:[],[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x49a729,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x12dd4c[_0x2ac07d(0x151)](),[TestFrameworkConstants[_0x2ac07d(0x14a)]]:new Date()[_0x2ac07d(0x151)](),[TestFrameworkConstants[_0x2ac07d(0x109)]]:_0x7730a8};if(_0x4521eb&&_0xfe2886['cMuwT'](_0x4521eb['retry'],0x0)){const _0x484f5c=TestInfo[_0x2ac07d(0xbb)](_0xfe2886['sMLUq'](getTestRunIdentifier,_0x2a10de,_0xfe2886[_0x2ac07d(0x105)](_0x4521eb[_0x2ac07d(0x191)],0x1)));_0x502c6d[TestFrameworkConstants[_0x2ac07d(0xcf)]]=_0x484f5c;}const _0x20fa83={};_0x20fa83[_0x2ac07d(0x190)]=_0x2a10de;const _0x4544b3=this[_0x2ac07d(0xef)](TestFrameworkState[_0x2ac07d(0x16c)],HookState[_0x2ac07d(0xd0)],_0x20fa83),_0xe2e1cc=_0x4544b3[_0x2ac07d(0xaf)]()[_0x2ac07d(0x170)](_0x5ed430)[TestFrameworkConstants['KEY_TEST_UUID']],_0x568eb1=_0x102d21||_0xfe2886[_0x2ac07d(0x158)](getStepsAndLogs,_0x4521eb[_0x2ac07d(0xca)],_0xe2e1cc,_0xfe2886[_0x2ac07d(0x146)])[_0x2ac07d(0xca)],_0x3a7ce8=new Map(),_0x5a43f1=new Map();let _0x31b9d5=0x0;const _0x114e20=[];for(const _0x21bc07 of _0x568eb1||[]){const _0x32f053=_0x21bc07[_0x2ac07d(0xe1)]||null;let _0x47ed09;if(_0xfe2886['qxHZB'](_0x32f053,null)){if(_0xfe2886[_0x2ac07d(0x114)](_0x31b9d5,TestFrameworkConstants[_0x2ac07d(0xc1)]))continue;_0x47ed09=0x0,_0x31b9d5++;}else{const _0xaa3b21=_0x3a7ce8[_0x2ac07d(0x170)](_0x32f053);if(_0xfe2886['DcUWI'](_0xaa3b21,undefined))continue;_0x47ed09=_0xfe2886[_0x2ac07d(0x118)](_0xaa3b21,0x1);if(_0xfe2886['cMuwT'](_0x47ed09,TestFrameworkConstants['MAX_NESTED_STEP_DEPTH']))continue;}_0x3a7ce8[_0x2ac07d(0x165)](_0x21bc07['id'],_0x47ed09),_0x5a43f1['set'](_0x21bc07['id'],_0x21bc07[_0x2ac07d(0xa4)]),_0x114e20[_0x2ac07d(0xf8)]({'id':_0x21bc07['id'],'parent_id':_0x32f053,'parent_text':_0x32f053?_0x5a43f1[_0x2ac07d(0x170)](_0x32f053)||'':'','text':_0x21bc07['text'],'keyword':_0x21bc07[_0x2ac07d(0xdd)]||null,'started_at':_0x21bc07['started_at'],'duration':_0x21bc07['duration']??null,'result':_0x21bc07[_0x2ac07d(0x116)],'failure':_0x21bc07[_0x2ac07d(0x125)]||null,'failure_type':_0x21bc07[_0x2ac07d(0x1a6)]||null});}const _0x2c8a14={};_0x2c8a14[_0x2ac07d(0xca)]=_0x114e20,_0x502c6d[TestFrameworkConstants[_0x2ac07d(0xd8)]]=_0x2c8a14,logger[_0x2ac07d(0x11c)]('parsePlaywrightTestResult:\x20extracted\x20'+_0x114e20[_0x2ac07d(0x13e)]+'\x20steps\x20for\x20testId='+_0x500a79);const _0x4356a5=[],_0xd02a1b=_0xfe2886['DWGJW'](findNestedKey,_0x4521eb,_0xfe2886[_0x2ac07d(0x1a8)]);if(_0xd02a1b&&_0xfe2886['qYLyd'](validateFilePath,_0xd02a1b))try{_0x4356a5[_0x2ac07d(0xf8)]({'kind':_0xfe2886[_0x2ac07d(0xf5)],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0xe2e1cc,'file_name':path[_0x2ac07d(0x140)](_0xd02a1b),'file_size':fs[_0x2ac07d(0xd4)](_0xd02a1b)[_0x2ac07d(0x119)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x5afd10){logger[_0x2ac07d(0x137)](_0x2ac07d(0x115)+_0xd02a1b+':\x20'+_0x5afd10[_0x2ac07d(0xbc)]);}const _0x4b9630=await TestInfo[_0x2ac07d(0x18d)](_0xe2e1cc);_0x4b9630['forEach'](_0x2d2e0e=>{const _0x2a11f2=_0x2ac07d;if(_0x2d2e0e['filePath']&&_0xfe2886[_0x2a11f2(0x16d)](validateFilePath,_0x2d2e0e[_0x2a11f2(0x178)])&&!_0x4356a5[_0x2a11f2(0x138)](_0x3a178b=>_0x3a178b[_0x2a11f2(0x196)]===path['basename'](_0x2d2e0e[_0x2a11f2(0x178)])))try{_0x4356a5[_0x2a11f2(0xf8)]({'kind':_0xfe2886[_0x2a11f2(0xf5)],'timestamp':new Date()[_0x2a11f2(0x151)](),'test_run_uuid':_0xe2e1cc,'file_name':path[_0x2a11f2(0x140)](_0x2d2e0e['filePath']),'file_size':fs['statSync'](_0x2d2e0e[_0x2a11f2(0x178)])[_0x2a11f2(0x119)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x4bab1d){logger[_0x2a11f2(0x137)](_0x2a11f2(0xa8)+_0x2d2e0e['filePath']+_0x2a11f2(0x176)+_0x4bab1d[_0x2a11f2(0xbc)]);}});if(_0xfe2886['VkBpO'](_0x4356a5[_0x2ac07d(0x13e)],0x0)){const _0x167fdc=_0x502c6d[TestFrameworkConstants['KEY_LOGS']]||[];_0x502c6d[TestFrameworkConstants[_0x2ac07d(0xb1)]]=[..._0x167fdc,..._0x4356a5];}const _0x25ace7=(await TestInfo['getTestDetailsAsync'](_0x5ed430))[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x15cfe9=_0xfe2886[_0x2ac07d(0xd7)](getManualUploadLogs,_0x25ace7,_0x4544b3[_0x2ac07d(0xaf)]()[_0x2ac07d(0x170)](_0x5ed430)[TestFrameworkConstants[_0x2ac07d(0xf9)]]);if(_0xfe2886[_0x2ac07d(0x12c)](_0x15cfe9[_0x2ac07d(0x13e)],0x0)){const _0x116ad3=_0x502c6d[TestFrameworkConstants['KEY_LOGS']]||[];_0x502c6d[TestFrameworkConstants['KEY_LOGS']]=[..._0x116ad3,..._0x15cfe9];}const _0x408810=_0x2a10de[_0x2ac07d(0x19c)]||[],_0x48ebf6=_0x502c6d[TestFrameworkConstants[_0x2ac07d(0x109)]]||{},_0x451abd=_0xfe2886[_0x2ac07d(0x122)](require,_0xfe2886['rgJKc']);_0x408810[_0x2ac07d(0x1aa)](_0x3131be=>{const _0x14500c=_0x2ac07d,{type:_0x55f6c5}=_0x3131be;let _0x36c5c2=_0x3131be[_0x14500c(0xcb)];if(!_0x55f6c5)return;if(PLAYWRIGHT_BUILTIN_ANNOTATIONS['has'](_0x55f6c5))return;(_0xfe2886[_0x14500c(0xf7)](_0x36c5c2,undefined)||_0xfe2886[_0x14500c(0xf7)](_0x36c5c2,null)||_0xfe2886[_0x14500c(0xdc)](_0xfe2886[_0x14500c(0xb8)](String,_0x36c5c2)[_0x14500c(0x112)](),''))&&(_0x36c5c2=_0xfe2886[_0x14500c(0x162)]);const _0x5c52db=helper[_0x14500c(0x141)](_0xfe2886['zUndo'](String,_0x36c5c2));_0x451abd[_0x14500c(0x14e)](_0x48ebf6,_0x55f6c5,_0x5c52db);}),_0x502c6d[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x48ebf6,await TestInfo[_0x2ac07d(0xf0)](_0x5ed430,_0x502c6d);const _0x3bd435={};return _0x3bd435[_0x5ed430]=_0x502c6d,_0x3bd435;}[a101_0x321d43(0x175)](_0x485ae4,_0x378f83,_0x3784fb){const _0x55c059=a101_0x321d43,_0x2cccdf={'oqayI':function(_0x41c06e,_0xaf577b){return _0x41c06e||_0xaf577b;},'LDKRd':function(_0x5551a7,_0x163973,_0x166102){return _0x5551a7(_0x163973,_0x166102);}};try{const {test:_0x16f9b1,result:_0x88e84a,step:_0x1a3f8b}=_0x3784fb;if(_0x2cccdf[_0x55c059(0x18a)](!_0x16f9b1,!_0x1a3f8b)||!_0x88e84a)return;const _0x27e310=_0x2cccdf['LDKRd'](getTestRunIdentifier,_0x16f9b1,_0x88e84a['retry']);logger[_0x55c059(0x11c)]('trackStepEvent:\x20testId='+_0x27e310+_0x55c059(0xab)+_0x378f83+_0x55c059(0xcc)+_0x1a3f8b[_0x55c059(0xb5)]+'\x22');}catch(_0x54e336){logger[_0x55c059(0x137)](_0x55c059(0xda)+util[_0x55c059(0x103)](_0x54e336));}}async[a101_0x321d43(0x10b)](_0x32c0d1,_0x29965a,_0x190038,_0xef69f4){const _0x42c9d6=a101_0x321d43,_0x55244a={'nBtQr':function(_0x536424,_0x18e394,_0x517727){return _0x536424(_0x18e394,_0x517727);},'kzCaC':function(_0x1a4301,_0x45a557){return _0x1a4301 in _0x45a557;},'QvyzL':function(_0x48f472,_0x2e3492){return _0x48f472(_0x2e3492);},'pVJCQ':function(_0x57f58d,_0xcc69d3){return _0x57f58d===_0xcc69d3;},'FZhzL':function(_0x3721cb){return _0x3721cb();},'thzNE':function(_0x594f08,_0x2cc4f9){return _0x594f08>_0x2cc4f9;},'mIsnC':function(_0x3485e2,_0x5b0fc0,_0x366549){return _0x3485e2(_0x5b0fc0,_0x366549);},'CcNVz':_0x42c9d6(0x143),'WHBGw':function(_0xc25311,_0x54925d){return _0xc25311(_0x54925d);},'cpIzV':function(_0x165797,_0x3d04f6){return _0x165797(_0x3d04f6);},'RFCCg':_0x42c9d6(0x14d),'aaANG':_0x42c9d6(0x12b),'nBJWG':function(_0x5369e5,_0x57ef68){return _0x5369e5!==_0x57ef68;},'dKLOj':function(_0x482505,_0x9e864f){return _0x482505+_0x9e864f;},'ZiWTV':'hook'},_0x3ee7f1=_0xef69f4['test'],_0x197fa7=_0xef69f4[_0x42c9d6(0x136)],_0x2fc819=_0x55244a[_0x42c9d6(0xa9)](getTestRunIdentifier,_0x3ee7f1,_0xef69f4['result'][_0x42c9d6(0x191)]),_0x40c97b=_0x29965a['toString']()['split']('.')[0x1];let _0x2fdf3d=_0x32c0d1[_0x42c9d6(0xaf)]()['get'](_0x2fc819)[TestFrameworkConstants[_0x42c9d6(0x11a)]];!_0x2fdf3d&&(_0x2fdf3d={});!_0x55244a[_0x42c9d6(0x13f)](_0x40c97b,_0x2fdf3d)&&(_0x2fdf3d[_0x40c97b]=[]);let _0x1cb55f=_0x32c0d1['getAllData']()['get'](_0x2fc819)[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x1cb55f&&(_0x1cb55f={});!_0x55244a[_0x42c9d6(0x13f)](_0x40c97b,_0x1cb55f)&&(_0x1cb55f[_0x40c97b]=[]);const _0x21698f={[TestFrameworkConstants[_0x42c9d6(0x11a)]]:_0x2fdf3d,[TestFrameworkConstants[_0x42c9d6(0x12f)]]:_0x1cb55f},_0x56f471={};_0x56f471[_0x2fc819]=_0x21698f;const _0x5e43de=_0x56f471,_0x26cf93=_0x55244a[_0x42c9d6(0x1ab)](getPlaywrightTestFilePath,_0x3ee7f1),_0x1333cc=_0x26cf93,_0x3aa336=await TestInfo[_0x42c9d6(0xc3)](_0x2fc819);if(_0x55244a[_0x42c9d6(0xfe)](_0x190038,HookState[_0x42c9d6(0x156)])){const _0x561c5b={'key':_0x40c97b,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x55244a['FZhzL'](uuidv4),[TestFrameworkConstants[_0x42c9d6(0xf4)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x197fa7['startTime'],[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x42c9d6(0x18c)]]:_0x197fa7[_0x42c9d6(0xb5)],[TestFrameworkConstants[_0x42c9d6(0x1a3)]]:_0x26cf93,[TestFrameworkConstants[_0x42c9d6(0xf1)]]:_0x1333cc,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x3aa336};_0x2fdf3d[_0x40c97b][_0x42c9d6(0xf8)](_0x561c5b),_0x5e43de[_0x2fc819][TestFrameworkConstants[_0x42c9d6(0x130)]]=_0x40c97b,logger[_0x42c9d6(0x11c)](_0x42c9d6(0x11b)+_0x40c97b+_0x42c9d6(0x181)+_0x561c5b+_0x42c9d6(0xe6)+_0xef69f4);}else{if(_0x55244a[_0x42c9d6(0xfe)](_0x190038,HookState[_0x42c9d6(0xd0)])){const _0x37fbc8=await _0xef69f4['result'],_0x31b8f3=_0x2fdf3d[_0x40c97b]||[],_0x532f39=_0xef69f4[_0x42c9d6(0x136)];logger[_0x42c9d6(0x11c)](_0x42c9d6(0x104)+_0x31b8f3+'\x20and\x20args\x20=\x20'+_0xef69f4);if(_0x55244a[_0x42c9d6(0x15e)](_0x31b8f3[_0x42c9d6(0x13e)],0x0)){const _0x43db7b=_0x31b8f3[_0x42c9d6(0x10f)]();if(_0x532f39[_0x42c9d6(0x137)]){const _0x41992c=_0x55244a[_0x42c9d6(0x128)](failureData,_0x532f39[_0x42c9d6(0x137)],_0x55244a[_0x42c9d6(0x101)]);_0x43db7b[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=_0x55244a['WHBGw'](getFailureType,_0x532f39?.[_0x42c9d6(0x137)][_0x42c9d6(0xbc)]),_0x43db7b[TestFrameworkConstants[_0x42c9d6(0x100)]]=_0x55244a['cpIzV'](removeAnsiColors,_0x532f39?.[_0x42c9d6(0x137)][_0x42c9d6(0xbc)]),_0x43db7b[TestFrameworkConstants[_0x42c9d6(0xf4)]]=_0x55244a[_0x42c9d6(0x10e)],_0x43db7b[TestFrameworkConstants[_0x42c9d6(0x19d)]]=_0x41992c;}else _0x43db7b[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x55244a[_0x42c9d6(0x17a)];_0x55244a[_0x42c9d6(0xba)](_0x37fbc8,TestFrameworkConstants[_0x42c9d6(0x134)])&&(_0x43db7b[TestFrameworkConstants[_0x42c9d6(0xf4)]]=!_0x532f39[_0x42c9d6(0x137)]?_0x55244a['aaANG']:_0x55244a[_0x42c9d6(0x10e)]);const _0x898a64=new Date(_0x532f39['startTime']),_0xdc72fc=new Date(_0x55244a[_0x42c9d6(0x187)](_0x898a64[_0x42c9d6(0x157)](),_0x532f39[_0x42c9d6(0x107)]));_0x43db7b[TestFrameworkConstants[_0x42c9d6(0x1a2)]]=_0xdc72fc['toISOString'](),_0x43db7b[TestFrameworkConstants[_0x42c9d6(0x109)]]=_0x3aa336;const _0x3c168f=_0x43db7b[TestFrameworkConstants[_0x42c9d6(0x183)]];await this[_0x42c9d6(0xc9)](_0x32c0d1,_0x29965a,_0x3c168f,_0x55244a['ZiWTV'],_0xef69f4),!_0x1cb55f[_0x40c97b]&&(_0x1cb55f[_0x40c97b]=[]),_0x1cb55f[_0x40c97b][_0x42c9d6(0xf8)](_0x43db7b),_0x5e43de[_0x2fc819][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x40c97b;}}}return _0x5e43de;}async[a101_0x321d43(0xc9)](_0x21ea51,_0x26e287,_0x5a6130,_0x51b3bd,_0x55a7f8,_0x42a334){const _0xb5a350=a101_0x321d43,_0x2be074={'jwemX':function(_0x181ab5,_0x364c44){return _0x181ab5===_0x364c44;},'hsZvx':_0xb5a350(0x190),'hVqlN':function(_0x3fffe8,_0x2cd95e,_0x256d34){return _0x3fffe8(_0x2cd95e,_0x256d34);},'SeTZv':function(_0x3f3fba,_0x21812e,_0xadeb24){return _0x3f3fba(_0x21812e,_0xadeb24);},'ahvYe':_0xb5a350(0xb0),'XIeIv':function(_0x5da078,_0x3fcf15){return _0x5da078>_0x3fcf15;},'Tmfmu':function(_0x1f25b1,_0x43fe0c,_0x2791b1,_0x1530a6){return _0x1f25b1(_0x43fe0c,_0x2791b1,_0x1530a6);},'rAGoz':function(_0xff46ce,_0x14fa9a,_0x22ed23){return _0xff46ce(_0x14fa9a,_0x22ed23);},'aFPcZ':function(_0x4115e7,_0x3bf7ed,_0x3e11b6){return _0x4115e7(_0x3bf7ed,_0x3e11b6);},'XIxae':function(_0x4d9341,_0x5a1e23){return _0x4d9341/_0x5a1e23;},'FoxTi':function(_0x31f47d,_0xbd7e9){return _0x31f47d<_0xbd7e9;},'zLlNS':function(_0x31bae1,_0x28d697){return _0x31bae1*_0x28d697;},'GboHM':function(_0x70cb3,_0x57ea3c){return _0x70cb3+_0x57ea3c;},'SgmHM':function(_0x27cc93,_0x4bdb6c,_0x4b38c9,_0x4a38c3,_0x4fe30a){return _0x27cc93(_0x4bdb6c,_0x4b38c9,_0x4a38c3,_0x4fe30a);},'APJeO':function(_0x16c6c8,_0x33e85d){return _0x16c6c8+_0x33e85d;},'eihot':function(_0x1def5d,_0x3b86fe,_0x2378eb,_0x1e7a09){return _0x1def5d(_0x3b86fe,_0x2378eb,_0x1e7a09);},'xgSjx':_0xb5a350(0x10a),'vetJX':function(_0x66aba7,_0x2710ca,_0x2d92e7,_0x1bc959,_0x1a440f){return _0x66aba7(_0x2710ca,_0x2d92e7,_0x1bc959,_0x1a440f);}};try{if(_0x2be074[_0xb5a350(0xe2)](_0x51b3bd,_0x2be074[_0xb5a350(0x126)])){const _0xa5927c=await _0x55a7f8[_0xb5a350(0x116)],_0x282bcf=_0x2be074[_0xb5a350(0x142)](getTestRunIdentifier,_0x55a7f8[_0xb5a350(0x190)],_0x55a7f8[_0xb5a350(0x116)][_0xb5a350(0x191)]),_0xc31b38=_0x55a7f8[_0xb5a350(0x190)];logger[_0xb5a350(0x11c)](_0xb5a350(0xed)+_0x282bcf+_0xb5a350(0x153)+util[_0xb5a350(0xde)](_0xa5927c));const _0x48f34d=_0x21ea51[_0xb5a350(0xaf)]()[_0xb5a350(0x170)](_0x282bcf)[TestFrameworkConstants[_0xb5a350(0xf9)]];await _0x2be074[_0xb5a350(0x135)](sendTraceZip,_0xa5927c,_0x48f34d);const _0x33470e=(await TestInfo['getTestDetailsAsync'](_0x282bcf))[_0x2be074[_0xb5a350(0x15a)]],_0x249250={};if(_0x33470e&&_0x2be074[_0xb5a350(0x13d)](_0x33470e['length'],0x0)){!_0xa5927c['attachments']&&(_0xa5927c[_0xb5a350(0xb0)]=[]);_0x249250[_0xb5a350(0xb0)]=_0xa5927c['attachments'][_0xb5a350(0x147)](_0x33470e||[]);const _0x446d00={};_0x446d00[_0xb5a350(0xb0)]=[],await TestInfo['setTestDetailsAsync'](_0x282bcf,_0x446d00);}const _0x597230=_0x42a334||_0x2be074[_0xb5a350(0xc0)](getStepsAndLogs,_0xa5927c['steps'],_0x21ea51[_0xb5a350(0xaf)]()['get'](_0x282bcf)[TestFrameworkConstants[_0xb5a350(0xf9)]],_0x2be074[_0xb5a350(0x126)])[_0xb5a350(0x108)],_0x16b140=_0x2be074[_0xb5a350(0x174)](getScreenshots,_0x249250,_0x21ea51[_0xb5a350(0xaf)]()[_0xb5a350(0x170)](_0x282bcf)[TestFrameworkConstants[_0xb5a350(0xf9)]]),_0x22fbab=_0x2be074['SeTZv'](getVideos,_0xa5927c,_0x21ea51[_0xb5a350(0xaf)]()[_0xb5a350(0x170)](_0x282bcf)[TestFrameworkConstants['KEY_TEST_UUID']]),{_:_0x32abc2,logs:_0x5598c4}=_0x2be074['SeTZv'](getFailureData,_0xa5927c[_0xb5a350(0x164)],{'test_run_uuid':_0x21ea51[_0xb5a350(0xaf)]()[_0xb5a350(0x170)](_0x282bcf)[TestFrameworkConstants[_0xb5a350(0xf9)]]}),_0x15441d=(await TestInfo['getTestDetailsAsync'](_0x282bcf))[TestFrameworkConstants[_0xb5a350(0x14f)]]||{},_0x352fb1=_0x2be074[_0xb5a350(0x167)](getMediaArtifactsLogs,_0x15441d,_0x21ea51[_0xb5a350(0xaf)]()[_0xb5a350(0x170)](_0x282bcf)[TestFrameworkConstants[_0xb5a350(0xf9)]]),_0x7bbcd9=_0x21ea51[_0xb5a350(0xaf)]()[_0xb5a350(0x170)](_0x282bcf),{[TestFrameworkConstants[_0xb5a350(0x16f)]]:_0x2658ab='',[TestFrameworkConstants[_0xb5a350(0x17e)]]:_0xed5ed3=''}=_0x7bbcd9,_0x2633ee=(_0x597230||[])[_0xb5a350(0x147)](_0x16b140||[])[_0xb5a350(0x147)](_0x5598c4||[])[_0xb5a350(0x147)](_0x22fbab||[])['concat'](_0x352fb1||[]),_0x263d00=0x28,_0x2b8ade=Math[_0xb5a350(0xc4)](_0x2be074[_0xb5a350(0xfa)](_0x2633ee['length'],_0x263d00));for(let _0xdbe982=0x0;_0x2be074[_0xb5a350(0xa3)](_0xdbe982,_0x2b8ade);_0xdbe982++){const _0x560a2e=_0x2be074['zLlNS'](_0xdbe982,_0x263d00),_0x5a17de=_0x2be074[_0xb5a350(0x11d)](_0x560a2e,_0x263d00),_0x26a2b9=_0x2633ee['slice'](_0x560a2e,_0x5a17de),_0x514d00={'platformIndex':global?.[_0xb5a350(0xf2)]??0x0,'logs':_0x26a2b9,'testFrameworkName':_0x2658ab,'testFrameworkVersion':_0xed5ed3,'testFrameworkState':_0x26e287['toString']()[_0xb5a350(0x15d)]('.')[0x1]};_0x2be074[_0xb5a350(0x18f)](updatePayloadForTraceLogs,_0x514d00,_0x55a7f8,_0x282bcf,_0x21ea51),logger[_0xb5a350(0x11c)](_0xb5a350(0x195)+_0x282bcf+'\x20batch\x20'+_0x2be074[_0xb5a350(0x15f)](_0xdbe982,0x1)+'/'+_0x2b8ade+_0xb5a350(0x1a9)+util[_0xb5a350(0xde)](_0x514d00));const _0x2ad7a6=await GrpcClient[_0xb5a350(0xc6)]()[_0xb5a350(0x192)](_0x514d00);logger[_0xb5a350(0x11c)](_0xb5a350(0x195)+_0x282bcf+_0xb5a350(0xf3)+_0x2be074['APJeO'](_0xdbe982,0x1)+'/'+_0x2b8ade+_0xb5a350(0xe5)+util['inspect'](_0x2ad7a6));}}else{const {logs:_0x5e43be}=_0x2be074[_0xb5a350(0x11e)](getStepsAndLogs,_0x55a7f8[_0xb5a350(0x136)][_0xb5a350(0xca)],_0x5a6130,_0x2be074[_0xb5a350(0xe4)]),_0x4b1c54=_0x2be074[_0xb5a350(0x167)](getTestRunIdentifier,_0x55a7f8[_0xb5a350(0x190)],_0x55a7f8[_0xb5a350(0x116)]['retry']);logger[_0xb5a350(0x11c)](_0xb5a350(0xed)+_0x4b1c54);const _0x40b0e5=_0x21ea51[_0xb5a350(0xaf)]()['get'](_0x4b1c54),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x140cee='',[TestFrameworkConstants[_0xb5a350(0x17e)]]:_0xf8580a=''}=_0x40b0e5,_0x1873bf={'platformIndex':'0','logs':_0x5e43be,'testFrameworkName':_0x140cee,'testFrameworkVersion':_0xf8580a,'testFrameworkState':_0x26e287['toString']()[_0xb5a350(0x15d)]('.')[0x1]};_0x2be074[_0xb5a350(0x11f)](updatePayloadForTraceLogs,_0x1873bf,_0x55a7f8,_0x4b1c54,_0x21ea51),logger['debug'](_0xb5a350(0x195)+_0x4b1c54+_0xb5a350(0x1a9)+util[_0xb5a350(0xde)](_0x1873bf));const _0x6baf4c=await GrpcClient[_0xb5a350(0xc6)]()[_0xb5a350(0x192)](_0x1873bf);}}catch(_0x39fd13){logger[_0xb5a350(0x137)]('Error\x20in\x20sendLogCreatedEvent:\x20'+util[_0xb5a350(0x103)](_0x39fd13));}}[a101_0x321d43(0xc2)](_0x3a9ab4){const _0x29331c=a101_0x321d43,_0x341fc8={'FTJif':function(_0x2514b9,_0x1f72d6,_0x37ae1b){return _0x2514b9(_0x1f72d6,_0x37ae1b);},'IKrMt':function(_0x349591,_0x29ede6){return _0x349591<_0x29ede6;},'ahqMK':_0x29331c(0x185)};try{const _0x2882bf=_0x3a9ab4[_0x29331c(0x190)]['id'],_0x399fed=_0x341fc8[_0x29331c(0xec)](getTestRunIdentifier,_0x3a9ab4[_0x29331c(0x190)],_0x3a9ab4[_0x29331c(0x116)]['retry']),_0x2f0441=_0x3a9ab4[_0x29331c(0x13a)],_0x35291f=_0x2f0441['getContext'](),_0x2e610f=_0x2f0441[_0x29331c(0xaf)]()[_0x29331c(0x170)](_0x399fed);logger['debug'](_0x29331c(0x182)+_0x2882bf);const {[TestFrameworkConstants[_0x29331c(0x16f)]]:_0x4be8c7='',[TestFrameworkConstants[_0x29331c(0x17e)]]:_0x1ae7f4='',[TestFrameworkConstants[_0x29331c(0x199)]]:_0x2f7c8a='',[TestFrameworkConstants[_0x29331c(0xaa)]]:_0x2de44b=''}=_0x2e610f,_0x15e3c2=_0x2f0441[_0x29331c(0x15b)]()['toString']()[_0x29331c(0x15d)]('.')[0x1],_0x6ba9e=_0x2f0441[_0x29331c(0x172)]()[_0x29331c(0x184)]()[_0x29331c(0x15d)]('.')[0x1],_0x4ce8a3=_0x341fc8['IKrMt'](_0x3a9ab4?.[_0x29331c(0x116)]?.[_0x29331c(0x117)]??0x0,0x0)?0x0:_0x3a9ab4?.['result']?.[_0x29331c(0x117)]??0x0,_0x2560f2=_0x2f0441[_0x29331c(0xea)](),_0x2ae977=Buffer[_0x29331c(0xb2)](JSON[_0x29331c(0x148)](_0x2e610f))['toString'](_0x341fc8['ahqMK']),_0x5ea1e0={'hash':_0x35291f[_0x29331c(0x14b)](),'threadId':_0x35291f[_0x29331c(0x144)]()[_0x29331c(0x184)](),'processId':_0x35291f[_0x29331c(0x194)]()[_0x29331c(0x184)]()},_0x195889={};_0x195889[_0x29331c(0xff)]=_0x4ce8a3,_0x195889[_0x29331c(0x129)]=_0x4be8c7,_0x195889[_0x29331c(0x131)]=_0x1ae7f4,_0x195889[_0x29331c(0xb9)]=_0x15e3c2,_0x195889[_0x29331c(0x19f)]=_0x6ba9e,_0x195889[_0x29331c(0x19a)]=_0x2f7c8a,_0x195889[_0x29331c(0x16e)]=_0x2de44b,_0x195889[_0x29331c(0xfd)]=_0x2560f2,_0x195889['eventJson']=_0x2ae977,_0x195889[_0x29331c(0xc5)]=_0x5ea1e0;const _0xdb4a04=_0x195889;return logger[_0x29331c(0x11c)](_0x29331c(0x163)+_0x2882bf+_0x29331c(0x1a4)+_0x15e3c2+_0x29331c(0x133)+_0x6ba9e),_0xdb4a04;}catch(_0x4893a2){return logger[_0x29331c(0x137)](_0x29331c(0xdb)+util['format'](_0x4893a2)),{};}}}module[a101_0x321d43(0xc8)]=PlaywrightTestFramework;
@@ -1 +1 @@
1
- const a102_0xbe8f76=a102_0x4cec;function a102_0x552a(){const _0x5b49ce=['pmNfC','Wwfku','getAutomationFrameworkVersion','2lMHkpl','trackPuppeteerInstance:\x20instance\x20already\x20exists','getCurrentInstanceName','../state/hookState.js','../state/automationFrameworkState.js','PRE','trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking','getId','CREATE','debug','runHooks','zqWHQ','12vXYXsh','mLQNJ','eSRQj','1504907fOYzzW','431118DblYNB','createContext','1328008HxPVkM','7444640MJLIJy','exports','5KgfZbz','trackPuppeteerInstance','setTrackedInstance','\x20hookState=','PuppeteerAutomationFramework','12063600LGYnhB','../../../helpers/classLogger.js',',\x20state=','2475246UarEnD','getAutomationFrameworkName','40969115uEifhi','info','resolveInstance','getTrackedInstance','\x20target=','trackPuppeteerInstance:\x20created\x20instance\x20for\x20target=','./automationFramework.js','trackEvent','../cliUtils.js','logger','63KnRcCx','trackEvent:\x20automationFrameworkState='];a102_0x552a=function(){return _0x5b49ce;};return a102_0x552a();}(function(_0x2cc813,_0x3c0bab){const _0x4ad826=a102_0x4cec,_0x2e3ab7=_0x2cc813();while(!![]){try{const _0x5a890f=-parseInt(_0x4ad826(0x196))/0x1*(parseInt(_0x4ad826(0x187))/0x2)+parseInt(_0x4ad826(0x169))/0x3*(parseInt(_0x4ad826(0x193))/0x4)+-parseInt(_0x4ad826(0x16e))/0x5*(parseInt(_0x4ad826(0x176))/0x6)+parseInt(_0x4ad826(0x16c))/0x7+parseInt(_0x4ad826(0x16b))/0x8*(-parseInt(_0x4ad826(0x182))/0x9)+-parseInt(_0x4ad826(0x173))/0xa+parseInt(_0x4ad826(0x178))/0xb;if(_0x5a890f===_0x3c0bab)break;else _0x2e3ab7['push'](_0x2e3ab7['shift']());}catch(_0x45b4d9){_0x2e3ab7['push'](_0x2e3ab7['shift']());}}}(a102_0x552a,0xe3da8));const AutomationFramework=require(a102_0xbe8f76(0x17e)),{createClassLogger}=require(a102_0xbe8f76(0x174)),AutomationFrameworkState=require(a102_0xbe8f76(0x18b)),HookState=require(a102_0xbe8f76(0x18a)),CLIUtils=require(a102_0xbe8f76(0x180)),TrackedInstance=require('../instances/trackedInstance.js'),AutomationFrameworkInstance=require('../instances/automationFrameworkInstance.js');function a102_0x4cec(_0x3823cb,_0x523e34){const _0x552a82=a102_0x552a();return a102_0x4cec=function(_0x4cec18,_0x408c32){_0x4cec18=_0x4cec18-0x169;let _0x5c9389=_0x552a82[_0x4cec18];return _0x5c9389;},a102_0x4cec(_0x3823cb,_0x523e34);}class PuppeteerAutomationFramework extends AutomationFramework{[a102_0xbe8f76(0x181)]=createClassLogger(a102_0xbe8f76(0x172));constructor(_0x97639c,_0x31cd0a){super(_0x97639c,_0x31cd0a);}async['trackEvent'](_0xe81a37,_0x30283a,_0x340f55={}){const _0x3b4e2a=a102_0xbe8f76,_0xb71a47={};_0xb71a47[_0x3b4e2a(0x184)]=function(_0x41f9f0,_0x53a765){return _0x41f9f0===_0x53a765;},_0xb71a47[_0x3b4e2a(0x185)]=_0x3b4e2a(0x18d);const _0x4f7746=_0xb71a47;this[_0x3b4e2a(0x181)]['debug'](_0x3b4e2a(0x183)+_0xe81a37+_0x3b4e2a(0x171)+_0x30283a),await super[_0x3b4e2a(0x17f)](_0xe81a37,_0x30283a,_0x340f55);const _0x18bb6e=this[_0x3b4e2a(0x17a)](_0xe81a37,_0x30283a,_0x340f55);if(_0x4f7746[_0x3b4e2a(0x184)](_0x18bb6e,null)){this['logger'][_0x3b4e2a(0x190)](_0x4f7746['Wwfku']);return;}_0x340f55['instance']=_0x18bb6e,await this[_0x3b4e2a(0x191)](_0x18bb6e,_0xe81a37,_0x30283a,_0x340f55);}[a102_0xbe8f76(0x17a)](_0x6f52b,_0x3732bc,_0x2940f1={}){const _0x7ce1fc=a102_0xbe8f76,_0x16ea24={};_0x16ea24[_0x7ce1fc(0x192)]=function(_0x140382,_0x42f1c8){return _0x140382===_0x42f1c8;},_0x16ea24['eSRQj']=function(_0x34cc1d,_0x5c85a8){return _0x34cc1d===_0x5c85a8;};const _0x435c11=_0x16ea24;let _0x350fda=null;return(_0x435c11[_0x7ce1fc(0x192)](_0x6f52b,AutomationFrameworkState[_0x7ce1fc(0x18f)])&&_0x435c11[_0x7ce1fc(0x195)](_0x3732bc,HookState[_0x7ce1fc(0x18c)])||_0x435c11['zqWHQ'](_0x6f52b,AutomationFrameworkState['NONE']))&&this[_0x7ce1fc(0x16f)](_0x6f52b,_0x2940f1),_0x350fda=AutomationFramework[_0x7ce1fc(0x17b)](),_0x350fda;}[a102_0xbe8f76(0x16f)](_0x2f6da1,_0x4ca888){const _0x23e9cd=a102_0xbe8f76,_0xd4c575={};_0xd4c575[_0x23e9cd(0x194)]=_0x23e9cd(0x188);const _0x43a624=_0xd4c575;if(AutomationFramework[_0x23e9cd(0x17b)]()){this['logger'][_0x23e9cd(0x179)](_0x43a624[_0x23e9cd(0x194)]);return;}const _0x155f61=CLIUtils[_0x23e9cd(0x189)](),_0x100d53=TrackedInstance[_0x23e9cd(0x16a)](_0x155f61);let _0x402c70=null;this[_0x23e9cd(0x181)][_0x23e9cd(0x179)](_0x23e9cd(0x17d)+_0x155f61+_0x23e9cd(0x175)+_0x2f6da1),_0x402c70=new AutomationFrameworkInstance(_0x100d53,this[_0x23e9cd(0x177)](),this[_0x23e9cd(0x186)](),_0x2f6da1),AutomationFramework[_0x23e9cd(0x170)](_0x100d53,_0x402c70),this[_0x23e9cd(0x181)][_0x23e9cd(0x179)]('trackPuppeteerInstance:\x20saved\x20instance\x20contextId='+_0x100d53[_0x23e9cd(0x18e)]()+_0x23e9cd(0x17c)+_0x155f61);}}module[a102_0xbe8f76(0x16d)]=PuppeteerAutomationFramework;
1
+ const a102_0x4fe551=a102_0x559e;(function(_0xa972f0,_0x3a58a7){const _0x307fc0=a102_0x559e,_0x507f61=_0xa972f0();while(!![]){try{const _0x1eb69d=-parseInt(_0x307fc0(0x1b4))/0x1+parseInt(_0x307fc0(0x1bb))/0x2+-parseInt(_0x307fc0(0x1c4))/0x3+parseInt(_0x307fc0(0x1d6))/0x4+parseInt(_0x307fc0(0x1c9))/0x5*(-parseInt(_0x307fc0(0x1c5))/0x6)+parseInt(_0x307fc0(0x1c8))/0x7*(parseInt(_0x307fc0(0x1b5))/0x8)+parseInt(_0x307fc0(0x1af))/0x9;if(_0x1eb69d===_0x3a58a7)break;else _0x507f61['push'](_0x507f61['shift']());}catch(_0x4cffda){_0x507f61['push'](_0x507f61['shift']());}}}(a102_0x4ec1,0x9b4bf));function a102_0x559e(_0x172301,_0x47d18c){const _0x4ec1d9=a102_0x4ec1();return a102_0x559e=function(_0x559ea5,_0x14a9f4){_0x559ea5=_0x559ea5-0x1af;let _0x48a82b=_0x4ec1d9[_0x559ea5];return _0x48a82b;},a102_0x559e(_0x172301,_0x47d18c);}function a102_0x4ec1(){const _0x2cfd48=['../state/hookState.js','\x20target=','PRE','NONE','MWGGk','trackPuppeteerInstance','getAutomationFrameworkName','Lnfug','BAQzb','runHooks','1082740WpTgFG','getId','9125379HJTqBQ','getCurrentInstanceName','resolveInstance','setTrackedInstance','logger','472295NTyuoj','8btOAtn','getTrackedInstance','./automationFramework.js','debug','trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking','info','1893610OyXewT','exports','createContext','../../../helpers/classLogger.js','trackPuppeteerInstance:\x20instance\x20already\x20exists','okRTp',',\x20state=','OvXzh','trackEvent','1780434wcNBZY','12XZpvsD','QuhDR','../instances/automationFrameworkInstance.js','1740907njZehw','1945635AuUjew','\x20hookState=','instance'];a102_0x4ec1=function(){return _0x2cfd48;};return a102_0x4ec1();}const AutomationFramework=require(a102_0x4fe551(0x1b7)),{createClassLogger}=require(a102_0x4fe551(0x1be)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),HookState=require(a102_0x4fe551(0x1cc)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require('../instances/trackedInstance.js'),AutomationFrameworkInstance=require(a102_0x4fe551(0x1c7));class PuppeteerAutomationFramework extends AutomationFramework{[a102_0x4fe551(0x1b3)]=createClassLogger('PuppeteerAutomationFramework');constructor(_0x14787,_0x4af0e0){super(_0x14787,_0x4af0e0);}async['trackEvent'](_0xbda1a6,_0x28a14b,_0x457573={}){const _0x4a0972=a102_0x4fe551,_0x4e0acd={};_0x4e0acd[_0x4a0972(0x1d4)]=function(_0x49c783,_0xe765e7){return _0x49c783===_0xe765e7;},_0x4e0acd['okRTp']=_0x4a0972(0x1b9);const _0x419656=_0x4e0acd;this[_0x4a0972(0x1b3)][_0x4a0972(0x1b8)]('trackEvent:\x20automationFrameworkState='+_0xbda1a6+_0x4a0972(0x1ca)+_0x28a14b),await super[_0x4a0972(0x1c3)](_0xbda1a6,_0x28a14b,_0x457573);const _0x4d2426=this[_0x4a0972(0x1b1)](_0xbda1a6,_0x28a14b,_0x457573);if(_0x419656[_0x4a0972(0x1d4)](_0x4d2426,null)){this[_0x4a0972(0x1b3)]['debug'](_0x419656[_0x4a0972(0x1c0)]);return;}_0x457573[_0x4a0972(0x1cb)]=_0x4d2426,await this[_0x4a0972(0x1d5)](_0x4d2426,_0xbda1a6,_0x28a14b,_0x457573);}['resolveInstance'](_0x283bde,_0x5e3f40,_0x2f0b28={}){const _0x46d691=a102_0x4fe551,_0x3fc93d={};_0x3fc93d['QuhDR']=function(_0x1a1cd2,_0x4f8417){return _0x1a1cd2===_0x4f8417;},_0x3fc93d[_0x46d691(0x1d3)]=function(_0xcac374,_0x2705b4){return _0xcac374===_0x2705b4;},_0x3fc93d[_0x46d691(0x1c2)]=function(_0x5dbb19,_0x503f02){return _0x5dbb19===_0x503f02;};const _0x271b13=_0x3fc93d;let _0x14ddbe=null;return(_0x271b13[_0x46d691(0x1c6)](_0x283bde,AutomationFrameworkState['CREATE'])&&_0x271b13[_0x46d691(0x1d3)](_0x5e3f40,HookState[_0x46d691(0x1ce)])||_0x271b13['OvXzh'](_0x283bde,AutomationFrameworkState[_0x46d691(0x1cf)]))&&this[_0x46d691(0x1d1)](_0x283bde,_0x2f0b28),_0x14ddbe=AutomationFramework[_0x46d691(0x1b6)](),_0x14ddbe;}[a102_0x4fe551(0x1d1)](_0x181a89,_0x49ec22){const _0x2b5f75=a102_0x4fe551,_0x3c4245={};_0x3c4245[_0x2b5f75(0x1d0)]=_0x2b5f75(0x1bf);const _0x3a949d=_0x3c4245;if(AutomationFramework[_0x2b5f75(0x1b6)]()){this['logger'][_0x2b5f75(0x1ba)](_0x3a949d['MWGGk']);return;}const _0x389560=CLIUtils[_0x2b5f75(0x1b0)](),_0x178d8f=TrackedInstance[_0x2b5f75(0x1bd)](_0x389560);let _0x4c3237=null;this[_0x2b5f75(0x1b3)][_0x2b5f75(0x1ba)]('trackPuppeteerInstance:\x20created\x20instance\x20for\x20target='+_0x389560+_0x2b5f75(0x1c1)+_0x181a89),_0x4c3237=new AutomationFrameworkInstance(_0x178d8f,this[_0x2b5f75(0x1d2)](),this['getAutomationFrameworkVersion'](),_0x181a89),AutomationFramework[_0x2b5f75(0x1b2)](_0x178d8f,_0x4c3237),this[_0x2b5f75(0x1b3)]['info']('trackPuppeteerInstance:\x20saved\x20instance\x20contextId='+_0x178d8f[_0x2b5f75(0x1d7)]()+_0x2b5f75(0x1cd)+_0x389560);}}module[a102_0x4fe551(0x1bc)]=PuppeteerAutomationFramework;
@@ -1 +1 @@
1
- const a103_0x14efb3=a103_0x2d56;(function(_0x64c489,_0x331246){const _0x4c5812=a103_0x2d56,_0xb41de9=_0x64c489();while(!![]){try{const _0x5153f6=-parseInt(_0x4c5812(0xd7))/0x1*(parseInt(_0x4c5812(0xee))/0x2)+-parseInt(_0x4c5812(0xde))/0x3+parseInt(_0x4c5812(0xe7))/0x4*(parseInt(_0x4c5812(0xea))/0x5)+parseInt(_0x4c5812(0xdc))/0x6+-parseInt(_0x4c5812(0xdb))/0x7*(parseInt(_0x4c5812(0xdd))/0x8)+parseInt(_0x4c5812(0xe9))/0x9*(parseInt(_0x4c5812(0xec))/0xa)+-parseInt(_0x4c5812(0xf0))/0xb;if(_0x5153f6===_0x331246)break;else _0xb41de9['push'](_0xb41de9['shift']());}catch(_0x51e649){_0xb41de9['push'](_0xb41de9['shift']());}}}(a103_0x10df,0x7d5d7));const AutomationFramework=require(a103_0x14efb3(0xd6)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),AutomationFrameworkInstance=require('../instances/automationFrameworkInstance.js'),TrackedInstance=require(a103_0x14efb3(0xe0)),CLIUtils=require('../cliUtils.js'),{createClassLogger}=require(a103_0x14efb3(0xed));function a103_0x2d56(_0x46eb9e,_0x5a777f){const _0x10dfa3=a103_0x10df();return a103_0x2d56=function(_0x2d56ae,_0xef1ee6){_0x2d56ae=_0x2d56ae-0xd4;let _0x2089e9=_0x10dfa3[_0x2d56ae];return _0x2089e9;},a103_0x2d56(_0x46eb9e,_0x5a777f);}function a103_0x10df(){const _0x2dcaab=['9JcZJMj','646735QftKKp','getAutomationFrameworkVersion','6988480ZDTmtY','../../../helpers/classLogger.js','4616AlhjtA','\x20contextId=','3804427Okowld','resolveInstance','trackEvent','exports','mmvdU','./automationFramework.js','415aRkExf','debug','qyzcl','createContext','234031gJYGra','5733696ATQopH','40vLoOew','1338627cPXKuS','getCurrentInstanceName','../instances/trackedInstance.js','trackEvent:\x20instance\x20could\x20not\x20be\x20resolved','\x20does\x20not\x20create\x20one','logger','SeleniumAutomationFramework','setTrackedInstance','getTrackedInstance','24xUptUM','trackEvent:\x20automationFrameworkState='];a103_0x10df=function(){return _0x2dcaab;};return a103_0x10df();}class SeleniumAutomationFramework extends AutomationFramework{[a103_0x14efb3(0xe3)]=createClassLogger(a103_0x14efb3(0xe4));constructor(_0x367a7f,_0x166b92){super(_0x367a7f,_0x166b92);}async[a103_0x14efb3(0xf2)](_0x30a45d,_0x1d796b,_0x3d28b9={}){const _0xe5539a=a103_0x14efb3,_0x17c01a={};_0x17c01a[_0xe5539a(0xd5)]=_0xe5539a(0xe1);const _0x26cc30=_0x17c01a;this['logger'][_0xe5539a(0xd8)](_0xe5539a(0xe8)+_0x30a45d+'\x20hookState='+_0x1d796b),await super['trackEvent'](_0x30a45d,_0x1d796b,_0x3d28b9);const _0x3310a0=this['resolveInstance'](_0x30a45d);if(!_0x3310a0){this[_0xe5539a(0xe3)][_0xe5539a(0xd8)](_0x26cc30['mmvdU']);return;}_0x3d28b9['instance']=_0x3310a0,await this['runHooks'](_0x3310a0,_0x30a45d,_0x1d796b,_0x3d28b9);}[a103_0x14efb3(0xf1)](_0x2f418b){const _0xa80db7=a103_0x14efb3,_0x2df419={};_0x2df419[_0xa80db7(0xd9)]=function(_0x30fbf2,_0x50d06a){return _0x30fbf2!==_0x50d06a;};const _0x536cd8=_0x2df419;let _0x358a26=AutomationFramework[_0xa80db7(0xe6)]();if(_0x358a26)return _0x358a26;if(_0x536cd8[_0xa80db7(0xd9)](_0x2f418b,AutomationFrameworkState['CREATE'])&&_0x536cd8[_0xa80db7(0xd9)](_0x2f418b,AutomationFrameworkState['NONE']))return this[_0xa80db7(0xe3)][_0xa80db7(0xd8)]('resolveInstance:\x20no\x20instance\x20yet\x20and\x20state='+_0x2f418b+_0xa80db7(0xe2)),null;const _0x3c1cc8=CLIUtils[_0xa80db7(0xdf)](),_0x94caf9=TrackedInstance[_0xa80db7(0xda)](_0x3c1cc8);return _0x358a26=new AutomationFrameworkInstance(_0x94caf9,this['getAutomationFrameworkName'](),this[_0xa80db7(0xeb)](),_0x2f418b),AutomationFramework[_0xa80db7(0xe5)](_0x94caf9,_0x358a26),this[_0xa80db7(0xe3)]['debug']('resolveInstance:\x20created\x20instance\x20target='+_0x3c1cc8+_0xa80db7(0xef)+_0x94caf9['getId']()),_0x358a26;}}module[a103_0x14efb3(0xd4)]=SeleniumAutomationFramework;
1
+ function a103_0x5be8(_0x386079,_0xb174f5){const _0xa8a503=a103_0xa8a5();return a103_0x5be8=function(_0x5be85d,_0x58ea23){_0x5be85d=_0x5be85d-0x1b2;let _0x52ad63=_0xa8a503[_0x5be85d];return _0x52ad63;},a103_0x5be8(_0x386079,_0xb174f5);}const a103_0x5cbb83=a103_0x5be8;(function(_0x91b46b,_0x4002b7){const _0x3a67b2=a103_0x5be8,_0x4e712b=_0x91b46b();while(!![]){try{const _0xc8685=parseInt(_0x3a67b2(0x1bd))/0x1+parseInt(_0x3a67b2(0x1d1))/0x2+-parseInt(_0x3a67b2(0x1cf))/0x3+-parseInt(_0x3a67b2(0x1b7))/0x4*(-parseInt(_0x3a67b2(0x1c4))/0x5)+-parseInt(_0x3a67b2(0x1c6))/0x6*(-parseInt(_0x3a67b2(0x1c5))/0x7)+-parseInt(_0x3a67b2(0x1c3))/0x8*(-parseInt(_0x3a67b2(0x1bf))/0x9)+-parseInt(_0x3a67b2(0x1b5))/0xa*(parseInt(_0x3a67b2(0x1ba))/0xb);if(_0xc8685===_0x4002b7)break;else _0x4e712b['push'](_0x4e712b['shift']());}catch(_0x558406){_0x4e712b['push'](_0x4e712b['shift']());}}}(a103_0xa8a5,0x30592));const AutomationFramework=require(a103_0x5cbb83(0x1b2)),AutomationFrameworkState=require(a103_0x5cbb83(0x1c1)),AutomationFrameworkInstance=require(a103_0x5cbb83(0x1cc)),TrackedInstance=require('../instances/trackedInstance.js'),CLIUtils=require(a103_0x5cbb83(0x1b4)),{createClassLogger}=require(a103_0x5cbb83(0x1b3));class SeleniumAutomationFramework extends AutomationFramework{[a103_0x5cbb83(0x1c7)]=createClassLogger(a103_0x5cbb83(0x1b6));constructor(_0x4d4a11,_0x22cc66){super(_0x4d4a11,_0x22cc66);}async[a103_0x5cbb83(0x1be)](_0x4038de,_0x7acd55,_0x3ce664={}){const _0x4067ae=a103_0x5cbb83,_0x3a7e88={};_0x3a7e88['pXeMB']='trackEvent:\x20instance\x20could\x20not\x20be\x20resolved';const _0x4553ac=_0x3a7e88;this['logger'][_0x4067ae(0x1b9)](_0x4067ae(0x1c9)+_0x4038de+'\x20hookState='+_0x7acd55),await super[_0x4067ae(0x1be)](_0x4038de,_0x7acd55,_0x3ce664);const _0x127e0b=this[_0x4067ae(0x1d2)](_0x4038de);if(!_0x127e0b){this['logger'][_0x4067ae(0x1b9)](_0x4553ac['pXeMB']);return;}_0x3ce664[_0x4067ae(0x1c8)]=_0x127e0b,await this[_0x4067ae(0x1c2)](_0x127e0b,_0x4038de,_0x7acd55,_0x3ce664);}[a103_0x5cbb83(0x1d2)](_0x526abc){const _0x84b5c6=a103_0x5cbb83,_0x337398={};_0x337398[_0x84b5c6(0x1cd)]=function(_0x400c1b,_0x27f953){return _0x400c1b!==_0x27f953;};const _0x4ead26=_0x337398;let _0xce51a5=AutomationFramework['getTrackedInstance']();if(_0xce51a5)return _0xce51a5;if(_0x4ead26['RJneM'](_0x526abc,AutomationFrameworkState['CREATE'])&&_0x4ead26[_0x84b5c6(0x1cd)](_0x526abc,AutomationFrameworkState[_0x84b5c6(0x1bc)]))return this['logger']['debug'](_0x84b5c6(0x1bb)+_0x526abc+_0x84b5c6(0x1cb)),null;const _0x4df8e9=CLIUtils[_0x84b5c6(0x1d0)](),_0x21df86=TrackedInstance['createContext'](_0x4df8e9);return _0xce51a5=new AutomationFrameworkInstance(_0x21df86,this[_0x84b5c6(0x1ca)](),this[_0x84b5c6(0x1b8)](),_0x526abc),AutomationFramework[_0x84b5c6(0x1c0)](_0x21df86,_0xce51a5),this[_0x84b5c6(0x1c7)][_0x84b5c6(0x1b9)]('resolveInstance:\x20created\x20instance\x20target='+_0x4df8e9+'\x20contextId='+_0x21df86[_0x84b5c6(0x1ce)]()),_0xce51a5;}}function a103_0xa8a5(){const _0x100811=['debug','6512253OArMhY','resolveInstance:\x20no\x20instance\x20yet\x20and\x20state=','NONE','72937bvyjhk','trackEvent','43839jiSvnd','setTrackedInstance','../state/automationFrameworkState.js','runHooks','328oWVkwJ','12565qSAHSt','4963ibrMCm','1230uYDEwz','logger','instance','trackEvent:\x20automationFrameworkState=','getAutomationFrameworkName','\x20does\x20not\x20create\x20one','../instances/automationFrameworkInstance.js','RJneM','getId','98148Puyxlw','getCurrentInstanceName','90842rXvAjY','resolveInstance','./automationFramework.js','../../../helpers/classLogger.js','../cliUtils.js','10OTOxme','SeleniumAutomationFramework','572jUogYi','getAutomationFrameworkVersion'];a103_0xa8a5=function(){return _0x100811;};return a103_0xa8a5();}module['exports']=SeleniumAutomationFramework;
@@ -1 +1 @@
1
- function a104_0x1877(){const _0x4ab6e2=['getHookRegistryKey','44kQztoh','231UPHlpU','../instances/trackedInstance','runHooks','trackEvent:\x20testFrameworkState=','getInstances','getAllData','getCurrentInstanceName','288781HGAfti','6LxZglp','hasState','TestFramework','getState','1232019YVFHCM','registerObserver','351140eciNJa','../cliUtils','setInstance','createContext','40660ZeeGFh','get','1882685AMJvRC','testFrameworkVersions','notifyObserver','testFrameworks','set','getTestFrameworks','trackEvent','setCurrentHookState','../state/hookState','getId','getTrackedInstance','6112DLKBMD','5418rlGTBI','instances','setState','has','../../../helpers/classLogger','__bstack_test_framework_instances__','../instances/trackedContext','getTestFrameworksVersions','setTrackedInstance','setCurrentTestState',';\x20hookState=','binSessionId','752310uyOCKi','../state/testFrameworkState'];a104_0x1877=function(){return _0x4ab6e2;};return a104_0x1877();}const a104_0x46ba00=a104_0x4bf6;(function(_0x52ff81,_0x282f33){const _0x26fad2=a104_0x4bf6,_0x41b191=_0x52ff81();while(!![]){try{const _0x40ef7a=parseInt(_0x26fad2(0x17b))/0x1+parseInt(_0x26fad2(0x170))/0x2+parseInt(_0x26fad2(0x180))/0x3+parseInt(_0x26fad2(0x173))/0x4*(parseInt(_0x26fad2(0x156))/0x5)+parseInt(_0x26fad2(0x17c))/0x6*(parseInt(_0x26fad2(0x158))/0x7)+-parseInt(_0x26fad2(0x163))/0x8*(parseInt(_0x26fad2(0x164))/0x9)+-parseInt(_0x26fad2(0x152))/0xa*(parseInt(_0x26fad2(0x174))/0xb);if(_0x40ef7a===_0x282f33)break;else _0x41b191['push'](_0x41b191['shift']());}catch(_0x12a072){_0x41b191['push'](_0x41b191['shift']());}}}(a104_0x1877,0x39c96));function a104_0x4bf6(_0x5f3640,_0x481baa){const _0x1877c7=a104_0x1877();return a104_0x4bf6=function(_0x4bf677,_0x1a4586){_0x4bf677=_0x4bf677-0x151;let _0x4a64cc=_0x1877c7[_0x4bf677];return _0x4a64cc;},a104_0x4bf6(_0x5f3640,_0x481baa);}const CLIUtils=require(a104_0x46ba00(0x153)),eventDispatcher=require('../eventDispatcher'),TestFrameworkInstance=require('../instances/testFrameworkInstance'),TrackedContext=require(a104_0x46ba00(0x16a)),TestFrameworkState=require(a104_0x46ba00(0x171)),HookState=require(a104_0x46ba00(0x160)),{createClassLogger}=require(a104_0x46ba00(0x168)),TrackedInstance=require(a104_0x46ba00(0x175)),logger=createClassLogger(a104_0x46ba00(0x17e));!global[a104_0x46ba00(0x169)]&&(global[a104_0x46ba00(0x169)]=new Map());class TestFramework{static get[a104_0x46ba00(0x165)](){return global['__bstack_test_framework_instances__'];}['testFrameworks']=[];[a104_0x46ba00(0x159)]={};[a104_0x46ba00(0x16f)]=null;constructor(_0x3feb6f,_0x2c5040,_0x56d63d){const _0x1b1082=a104_0x46ba00;this[_0x1b1082(0x15b)]=_0x3feb6f,this['testFrameworkVersions']=_0x2c5040,this[_0x1b1082(0x16f)]=_0x56d63d;}[a104_0x46ba00(0x178)](){const _0x5795a4=a104_0x46ba00;return TestFramework[_0x5795a4(0x165)];}[a104_0x46ba00(0x154)](_0x563f94,_0x5fc278){const _0x1c94aa=a104_0x46ba00;TestFramework[_0x1c94aa(0x165)]['set'](_0x563f94[_0x1c94aa(0x161)],_0x5fc278);}static[a104_0x46ba00(0x162)](){const _0x3f0008=a104_0x46ba00,_0x40f355=TrackedInstance[_0x3f0008(0x155)](CLIUtils[_0x3f0008(0x17a)]());return TestFramework['instances']['get'](_0x40f355['getId']());}static[a104_0x46ba00(0x16c)](_0x19e59a,_0x3ca960){const _0x47e58f=a104_0x46ba00;TestFramework[_0x47e58f(0x165)][_0x47e58f(0x15c)](_0x19e59a[_0x47e58f(0x161)](),_0x3ca960);}[a104_0x46ba00(0x16b)](){const _0x5424ee=a104_0x46ba00;return this[_0x5424ee(0x159)];}[a104_0x46ba00(0x15d)](){return this['testFrameworks'];}[a104_0x46ba00(0x15e)](_0x3d8ee8,_0x436618,_0x34e124={}){const _0x116d62=a104_0x46ba00;logger['debug'](_0x116d62(0x177)+_0x3d8ee8+_0x116d62(0x16e)+_0x436618);}async[a104_0x46ba00(0x176)](_0x5475fa,_0x25d7ed,_0x182c63,_0x717577={}){const _0x2bbabc=a104_0x46ba00,_0x1ad2f6=CLIUtils[_0x2bbabc(0x172)](_0x25d7ed,_0x182c63);_0x5475fa[_0x2bbabc(0x16d)](_0x25d7ed),_0x5475fa[_0x2bbabc(0x15f)](_0x182c63),await eventDispatcher[_0x2bbabc(0x15a)](_0x1ad2f6,_0x717577);}static[a104_0x46ba00(0x151)](_0x4ec6de,_0x5c49e8,_0x3867c3){const _0x171fc0=a104_0x46ba00;eventDispatcher['registerObserver'](CLIUtils[_0x171fc0(0x172)](_0x4ec6de,_0x5c49e8),_0x3867c3);}static[a104_0x46ba00(0x17f)](_0x574565,_0x1245c1){const _0x3f1239=a104_0x46ba00;return _0x574565[_0x3f1239(0x179)]()[_0x3f1239(0x157)](_0x1245c1);}static[a104_0x46ba00(0x166)](_0x7e5b8,_0x879040,_0x102757){const _0x5dad44=a104_0x46ba00;_0x7e5b8[_0x5dad44(0x179)]()[_0x5dad44(0x15c)](_0x879040,_0x102757);}static[a104_0x46ba00(0x17d)](_0x38c601,_0x293b6b){const _0x2aa5bf=a104_0x46ba00;return _0x38c601[_0x2aa5bf(0x179)]()[_0x2aa5bf(0x167)](_0x293b6b);}}module['exports']=TestFramework;
1
+ const a104_0x49eacd=a104_0x2449;(function(_0x4e417d,_0x3559f7){const _0x13aa36=a104_0x2449,_0x2cea88=_0x4e417d();while(!![]){try{const _0x4df5e5=-parseInt(_0x13aa36(0x11e))/0x1*(parseInt(_0x13aa36(0x106))/0x2)+parseInt(_0x13aa36(0x10b))/0x3+parseInt(_0x13aa36(0x109))/0x4+parseInt(_0x13aa36(0x11b))/0x5*(-parseInt(_0x13aa36(0x124))/0x6)+-parseInt(_0x13aa36(0x10e))/0x7+parseInt(_0x13aa36(0x12c))/0x8*(-parseInt(_0x13aa36(0x128))/0x9)+parseInt(_0x13aa36(0x12b))/0xa;if(_0x4df5e5===_0x3559f7)break;else _0x2cea88['push'](_0x2cea88['shift']());}catch(_0x37ab24){_0x2cea88['push'](_0x2cea88['shift']());}}}(a104_0x2721,0x97515));const CLIUtils=require(a104_0x49eacd(0x121)),eventDispatcher=require('../eventDispatcher'),TestFrameworkInstance=require('../instances/testFrameworkInstance'),TrackedContext=require(a104_0x49eacd(0x120)),TestFrameworkState=require(a104_0x49eacd(0x10f)),HookState=require(a104_0x49eacd(0x11a)),{createClassLogger}=require(a104_0x49eacd(0x10c)),TrackedInstance=require('../instances/trackedInstance'),logger=createClassLogger('TestFramework');function a104_0x2721(){const _0x530f62=['623399rilNbE','../state/testFrameworkState','getAllData','hasState','set','testFrameworkVersions','trackEvent:\x20testFrameworkState=','notifyObserver','getTestFrameworksVersions','testFrameworks','instances','debug','../state/hookState','25MUwrPu','get','has','50278eJkGCq','getTestFrameworks','../instances/trackedContext','../cliUtils','getTrackedInstance',';\x20hookState=','223848iWNGYk','registerObserver','runHooks','getId','99qQVjfF','setCurrentTestState','getHookRegistryKey','12917380wbHIMF','255480RSvQAb','binSessionId','26TLaVVk','__bstack_test_framework_instances__','createContext','319352VSixcm','getCurrentInstanceName','1586151KvRWeH','../../../helpers/classLogger','setInstance'];a104_0x2721=function(){return _0x530f62;};return a104_0x2721();}!global[a104_0x49eacd(0x107)]&&(global['__bstack_test_framework_instances__']=new Map());class TestFramework{static get[a104_0x49eacd(0x118)](){const _0x165bd7=a104_0x49eacd;return global[_0x165bd7(0x107)];}[a104_0x49eacd(0x117)]=[];[a104_0x49eacd(0x113)]={};[a104_0x49eacd(0x105)]=null;constructor(_0x46a444,_0x83e425,_0x154cc8){const _0x80f490=a104_0x49eacd;this[_0x80f490(0x117)]=_0x46a444,this[_0x80f490(0x113)]=_0x83e425,this['binSessionId']=_0x154cc8;}['getInstances'](){const _0x258e6d=a104_0x49eacd;return TestFramework[_0x258e6d(0x118)];}[a104_0x49eacd(0x10d)](_0x141e0e,_0x42deaa){const _0x36587d=a104_0x49eacd;TestFramework[_0x36587d(0x118)][_0x36587d(0x112)](_0x141e0e[_0x36587d(0x127)],_0x42deaa);}static[a104_0x49eacd(0x122)](){const _0x4bcedb=a104_0x49eacd,_0x28eab1=TrackedInstance[_0x4bcedb(0x108)](CLIUtils[_0x4bcedb(0x10a)]());return TestFramework['instances'][_0x4bcedb(0x11c)](_0x28eab1[_0x4bcedb(0x127)]());}static['setTrackedInstance'](_0x27b401,_0x322650){const _0x177fa=a104_0x49eacd;TestFramework[_0x177fa(0x118)][_0x177fa(0x112)](_0x27b401[_0x177fa(0x127)](),_0x322650);}[a104_0x49eacd(0x116)](){const _0x484ae6=a104_0x49eacd;return this[_0x484ae6(0x113)];}[a104_0x49eacd(0x11f)](){const _0x2c443c=a104_0x49eacd;return this[_0x2c443c(0x117)];}['trackEvent'](_0x18e3a1,_0x4ef641,_0x2f31a8={}){const _0x44077a=a104_0x49eacd;logger[_0x44077a(0x119)](_0x44077a(0x114)+_0x18e3a1+_0x44077a(0x123)+_0x4ef641);}async[a104_0x49eacd(0x126)](_0x47fdd7,_0x16f701,_0x58bcc8,_0x45f197={}){const _0x10a496=a104_0x49eacd,_0x407b38=CLIUtils[_0x10a496(0x12a)](_0x16f701,_0x58bcc8);_0x47fdd7[_0x10a496(0x129)](_0x16f701),_0x47fdd7['setCurrentHookState'](_0x58bcc8),await eventDispatcher[_0x10a496(0x115)](_0x407b38,_0x45f197);}static[a104_0x49eacd(0x125)](_0x28056c,_0xdce4c6,_0x39ec8d){const _0x147b55=a104_0x49eacd;eventDispatcher[_0x147b55(0x125)](CLIUtils['getHookRegistryKey'](_0x28056c,_0xdce4c6),_0x39ec8d);}static['getState'](_0x3f96d2,_0x2fdfca){const _0x3ca1a7=a104_0x49eacd;return _0x3f96d2[_0x3ca1a7(0x110)]()[_0x3ca1a7(0x11c)](_0x2fdfca);}static['setState'](_0x39aacb,_0x2aa7e4,_0x3ca192){_0x39aacb['getAllData']()['set'](_0x2aa7e4,_0x3ca192);}static[a104_0x49eacd(0x111)](_0x364c05,_0x57a582){const _0x50c828=a104_0x49eacd;return _0x364c05[_0x50c828(0x110)]()[_0x50c828(0x11d)](_0x57a582);}}function a104_0x2449(_0x2899bc,_0x2fc22a){const _0x27218a=a104_0x2721();return a104_0x2449=function(_0x244942,_0x4533fc){_0x244942=_0x244942-0x105;let _0xb04160=_0x27218a[_0x244942];return _0xb04160;},a104_0x2449(_0x2899bc,_0x2fc22a);}module['exports']=TestFramework;
@@ -1 +1 @@
1
- 'use strict';function a105_0x324e(_0x2dc01c,_0x47d7c3){const _0x2854b6=a105_0x2854();return a105_0x324e=function(_0x324efb,_0x4d2d82){_0x324efb=_0x324efb-0x1af;let _0x523ff4=_0x2854b6[_0x324efb];return _0x523ff4;},a105_0x324e(_0x2dc01c,_0x47d7c3);}const a105_0x5eb986=a105_0x324e;(function(_0x440b8a,_0x534da2){const _0x54dead=a105_0x324e,_0xf8622c=_0x440b8a();while(!![]){try{const _0x4313af=-parseInt(_0x54dead(0x1e7))/0x1+parseInt(_0x54dead(0x1d0))/0x2*(parseInt(_0x54dead(0x1bf))/0x3)+-parseInt(_0x54dead(0x1d6))/0x4*(-parseInt(_0x54dead(0x1d4))/0x5)+parseInt(_0x54dead(0x1dd))/0x6+-parseInt(_0x54dead(0x1d1))/0x7*(-parseInt(_0x54dead(0x1be))/0x8)+-parseInt(_0x54dead(0x1af))/0x9*(-parseInt(_0x54dead(0x1b1))/0xa)+-parseInt(_0x54dead(0x1e4))/0xb;if(_0x4313af===_0x534da2)break;else _0xf8622c['push'](_0xf8622c['shift']());}catch(_0x50dafa){_0xf8622c['push'](_0xf8622c['shift']());}}}(a105_0x2854,0x20d52));function a105_0x2854(){const _0xe21185=['CREATE','EgDgs','lSSOi','isInteger','length','776118zfUMCK','getInstanceByUserAgent','set','testcafe:','fKNul','getTrackedInstance','XRIBo','5452073sHBJwS','info','slice','79060SCPFbv','9KxnVeQ','\x20→\x20','1736710utnepa','getAutomationFrameworkName','lastIndexOf','ZPiLq','../instances/automationFrameworkInstance.js','getAutomationFrameworkVersion','resolveInstance:\x20no\x20userAgent\x20in\x20args;\x20falling\x20back\x20to\x20default\x20tracked\x20instance','instances','hisOr','get','../instances/trackedInstance.js','NONE','parseInt','1248yPwxWR','37311WyMdda','iterAllInstances','trackEvent','\x20hookState=','exports','trackEvent:\x20no\x20instance\x20for\x20state=','debug','userAgent','removeInstance','platformIndex','sibLe','resolveInstance','delete','TestCafeAutomationFramework','./automationFramework.js','\x22\x20platformIndex=','../state/automationFrameworkState.js','36IHySOh','2660KdgIXU','runHooks','createContext','695taVaJR','warn','3540zjBdXv','HZnhO'];a105_0x2854=function(){return _0xe21185;};return a105_0x2854();}const AutomationFramework=require(a105_0x5eb986(0x1cd)),AutomationFrameworkInstance=require(a105_0x5eb986(0x1b5)),AutomationFrameworkState=require(a105_0x5eb986(0x1cf)),TrackedInstance=require(a105_0x5eb986(0x1bb)),{createClassLogger}=require('../../../helpers/classLogger.js'),logger=createClassLogger(a105_0x5eb986(0x1cc));class TestCafeAutomationFramework extends AutomationFramework{constructor(_0x294b13,_0x2e9c84){super(_0x294b13,_0x2e9c84);}async['trackEvent'](_0x49ba28,_0x4aa938,_0xd8d478={}){const _0x55c70a=a105_0x5eb986;await super[_0x55c70a(0x1c1)](_0x49ba28,_0x4aa938,_0xd8d478);const _0x57fd70=this[_0x55c70a(0x1ca)](_0x49ba28,_0x4aa938,_0xd8d478);if(!_0x57fd70){logger[_0x55c70a(0x1c5)](_0x55c70a(0x1c4)+_0x49ba28+_0x55c70a(0x1c2)+_0x4aa938);return;}_0xd8d478['instance']=_0x57fd70,await this[_0x55c70a(0x1d2)](_0x57fd70,_0x49ba28,_0x4aa938,_0xd8d478);}['resolveInstance'](_0x6fd10f,_0x285a74,_0xa79335={}){const _0x328438=a105_0x5eb986,_0x2d1fd1={};_0x2d1fd1[_0x328438(0x1e1)]=_0x328438(0x1b7),_0x2d1fd1[_0x328438(0x1d9)]=function(_0x16fcca,_0x399390){return _0x16fcca===_0x399390;},_0x2d1fd1[_0x328438(0x1b4)]=function(_0x2f7306,_0x2bf509){return _0x2f7306||_0x2bf509;};const _0x43d382=_0x2d1fd1,_0x34eeb5=_0xa79335[_0x328438(0x1c6)]||null;if(!_0x34eeb5)return logger[_0x328438(0x1d5)](_0x43d382[_0x328438(0x1e1)]),AutomationFramework[_0x328438(0x1e2)]();const _0x27d3af=Number[_0x328438(0x1db)](_0xa79335[_0x328438(0x1c8)])?_0xa79335['platformIndex']:0x0,_0x3319b7=_0x328438(0x1e0)+_0x34eeb5+'#'+_0x27d3af;let _0x569287=AutomationFramework[_0x328438(0x1b8)][_0x328438(0x1ba)](_0x3319b7);if(!_0x569287&&(_0x43d382[_0x328438(0x1d9)](_0x6fd10f,AutomationFrameworkState[_0x328438(0x1d8)])||_0x43d382['EgDgs'](_0x6fd10f,AutomationFrameworkState[_0x328438(0x1bc)]))){const _0x5ce99a=TrackedInstance[_0x328438(0x1d3)](_0x3319b7);_0x569287=new AutomationFrameworkInstance(_0x5ce99a,this[_0x328438(0x1b2)](),this[_0x328438(0x1b6)](),_0x6fd10f),AutomationFramework[_0x328438(0x1b8)][_0x328438(0x1df)](_0x3319b7,_0x569287),logger[_0x328438(0x1e5)]('resolveInstance:\x20created\x20instance\x20for\x20userAgent=\x22'+_0x34eeb5+_0x328438(0x1ce)+_0x27d3af+_0x328438(0x1b0)+_0x3319b7);}return _0x43d382['ZPiLq'](_0x569287,null);}static[a105_0x5eb986(0x1c7)](_0x3c1f90,_0x5813e3=0x0){const _0x3335ae=a105_0x5eb986,_0x52f540=_0x3335ae(0x1e0)+_0x3c1f90+'#'+_0x5813e3;return AutomationFramework[_0x3335ae(0x1b8)][_0x3335ae(0x1cb)](_0x52f540);}static[a105_0x5eb986(0x1de)](_0x37bf7b,_0x2e5a17=0x0){const _0x4f9b8f=a105_0x5eb986;return AutomationFramework[_0x4f9b8f(0x1b8)][_0x4f9b8f(0x1ba)](_0x4f9b8f(0x1e0)+_0x37bf7b+'#'+_0x2e5a17)||null;}static*[a105_0x5eb986(0x1c0)](){const _0x3be921=a105_0x5eb986,_0xdb66fc={};_0xdb66fc[_0x3be921(0x1e3)]=function(_0x1228c7,_0x3b4f46){return _0x1228c7===_0x3b4f46;},_0xdb66fc[_0x3be921(0x1b9)]='string',_0xdb66fc[_0x3be921(0x1da)]=_0x3be921(0x1e0),_0xdb66fc[_0x3be921(0x1d7)]=function(_0x451782,_0xb5bee5){return _0x451782===_0xb5bee5;},_0xdb66fc[_0x3be921(0x1c9)]=function(_0x1fd925,_0x33cda0){return _0x1fd925+_0x33cda0;};const _0x1e797c=_0xdb66fc;for(const [_0x39847c,_0x14ed98]of AutomationFramework['instances']['entries']()){if(_0x1e797c[_0x3be921(0x1e3)](typeof _0x39847c,_0x1e797c[_0x3be921(0x1b9)])&&_0x39847c['startsWith'](_0x1e797c[_0x3be921(0x1da)])){const _0x225ae3=_0x39847c[_0x3be921(0x1e6)](_0x1e797c[_0x3be921(0x1da)][_0x3be921(0x1dc)]),_0xcfddbd=_0x225ae3[_0x3be921(0x1b3)]('#');if(_0x1e797c['HZnhO'](_0xcfddbd,-0x1)){const _0x45eb78={};_0x45eb78[_0x3be921(0x1c6)]=_0x225ae3,_0x45eb78[_0x3be921(0x1c8)]=0x0,_0x45eb78['instance']=_0x14ed98,yield _0x45eb78;}else{const _0x49d5ad=_0x225ae3[_0x3be921(0x1e6)](0x0,_0xcfddbd),_0x415c39=Number[_0x3be921(0x1bd)](_0x225ae3['slice'](_0x1e797c[_0x3be921(0x1c9)](_0xcfddbd,0x1)),0xa)||0x0,_0x205d9c={};_0x205d9c['userAgent']=_0x49d5ad,_0x205d9c['platformIndex']=_0x415c39,_0x205d9c['instance']=_0x14ed98,yield _0x205d9c;}}}}}module[a105_0x5eb986(0x1c3)]=TestCafeAutomationFramework;
1
+ 'use strict';const a105_0x274d06=a105_0x5925;function a105_0x1d16(){const _0x5307d6=['\x20hookState=','isInteger','dpuQL','parseInt','instance','set','2321Cyzlfs','instances','get','../instances/trackedInstance.js','../state/automationFrameworkState.js','getAutomationFrameworkVersion','nhgZX','runHooks','warn','entries','../../../helpers/classLogger.js','GfaUB','GPKLO','../instances/automationFrameworkInstance.js','1168368MrzFKw','mSoUs','trackEvent','./automationFramework.js','getInstanceByUserAgent','iterAllInstances','createContext','eiwSp','getTrackedInstance','1821LuunJv','slice','39190FtelsF','lastIndexOf','platformIndex','AtoFp','debug','startsWith','info','336866uglAKl','TestCafeAutomationFramework','iUJdb','18ZNfqYd','1207945ONAOom','delete','exports','49736OktBde','trackEvent:\x20no\x20instance\x20for\x20state=','removeInstance','1IEtTLM','resolveInstance','testcafe:','140bVebNO','userAgent','jHBTP','757204VvKfHz','getAutomationFrameworkName'];a105_0x1d16=function(){return _0x5307d6;};return a105_0x1d16();}(function(_0x1817ab,_0x39b427){const _0x2e5101=a105_0x5925,_0x989d3d=_0x1817ab();while(!![]){try{const _0x354c72=-parseInt(_0x2e5101(0x1dd))/0x1*(parseInt(_0x2e5101(0x1d3))/0x2)+parseInt(_0x2e5101(0x1ca))/0x3*(parseInt(_0x2e5101(0x1e0))/0x4)+-parseInt(_0x2e5101(0x1d7))/0x5+-parseInt(_0x2e5101(0x1c1))/0x6+-parseInt(_0x2e5101(0x1e3))/0x7+-parseInt(_0x2e5101(0x1da))/0x8*(-parseInt(_0x2e5101(0x1d6))/0x9)+parseInt(_0x2e5101(0x1cc))/0xa*(parseInt(_0x2e5101(0x1eb))/0xb);if(_0x354c72===_0x39b427)break;else _0x989d3d['push'](_0x989d3d['shift']());}catch(_0x53ef05){_0x989d3d['push'](_0x989d3d['shift']());}}}(a105_0x1d16,0x240d2));function a105_0x5925(_0x4f0778,_0x3e7b9c){const _0x1d168e=a105_0x1d16();return a105_0x5925=function(_0x5925a7,_0x582932){_0x5925a7=_0x5925a7-0x1b5;let _0x4ab060=_0x1d168e[_0x5925a7];return _0x4ab060;},a105_0x5925(_0x4f0778,_0x3e7b9c);}const AutomationFramework=require(a105_0x274d06(0x1c4)),AutomationFrameworkInstance=require(a105_0x274d06(0x1c0)),AutomationFrameworkState=require(a105_0x274d06(0x1b7)),TrackedInstance=require(a105_0x274d06(0x1b6)),{createClassLogger}=require(a105_0x274d06(0x1bd)),logger=createClassLogger(a105_0x274d06(0x1d4));class TestCafeAutomationFramework extends AutomationFramework{constructor(_0x20e783,_0x5b1ded){super(_0x20e783,_0x5b1ded);}async[a105_0x274d06(0x1c3)](_0x4bc4c8,_0x3186df,_0x17eb49={}){const _0x35c2bc=a105_0x274d06;await super[_0x35c2bc(0x1c3)](_0x4bc4c8,_0x3186df,_0x17eb49);const _0x3f0f64=this['resolveInstance'](_0x4bc4c8,_0x3186df,_0x17eb49);if(!_0x3f0f64){logger[_0x35c2bc(0x1d0)](_0x35c2bc(0x1db)+_0x4bc4c8+_0x35c2bc(0x1e5)+_0x3186df);return;}_0x17eb49['instance']=_0x3f0f64,await this[_0x35c2bc(0x1ba)](_0x3f0f64,_0x4bc4c8,_0x3186df,_0x17eb49);}[a105_0x274d06(0x1de)](_0x3f1bcd,_0x17c280,_0x14635a={}){const _0x5cb7d1=a105_0x274d06,_0x9f7a76={};_0x9f7a76[_0x5cb7d1(0x1e7)]='resolveInstance:\x20no\x20userAgent\x20in\x20args;\x20falling\x20back\x20to\x20default\x20tracked\x20instance',_0x9f7a76['GPKLO']=function(_0x5d589f,_0x441987){return _0x5d589f===_0x441987;},_0x9f7a76['mSoUs']=function(_0x4a4f77,_0x19d12c){return _0x4a4f77===_0x19d12c;},_0x9f7a76[_0x5cb7d1(0x1c8)]=function(_0x52bb36,_0x5aada8){return _0x52bb36||_0x5aada8;};const _0x1dbbc4=_0x9f7a76,_0x5272a8=_0x14635a[_0x5cb7d1(0x1e1)]||null;if(!_0x5272a8)return logger[_0x5cb7d1(0x1bb)](_0x1dbbc4[_0x5cb7d1(0x1e7)]),AutomationFramework[_0x5cb7d1(0x1c9)]();const _0x46caee=Number[_0x5cb7d1(0x1e6)](_0x14635a[_0x5cb7d1(0x1ce)])?_0x14635a['platformIndex']:0x0,_0x51d791='testcafe:'+_0x5272a8+'#'+_0x46caee;let _0x5f3f22=AutomationFramework[_0x5cb7d1(0x1ec)][_0x5cb7d1(0x1b5)](_0x51d791);if(!_0x5f3f22&&(_0x1dbbc4[_0x5cb7d1(0x1bf)](_0x3f1bcd,AutomationFrameworkState['CREATE'])||_0x1dbbc4[_0x5cb7d1(0x1c2)](_0x3f1bcd,AutomationFrameworkState['NONE']))){const _0x192183=TrackedInstance[_0x5cb7d1(0x1c7)](_0x51d791);_0x5f3f22=new AutomationFrameworkInstance(_0x192183,this[_0x5cb7d1(0x1e4)](),this[_0x5cb7d1(0x1b8)](),_0x3f1bcd),AutomationFramework[_0x5cb7d1(0x1ec)][_0x5cb7d1(0x1ea)](_0x51d791,_0x5f3f22),logger[_0x5cb7d1(0x1d2)]('resolveInstance:\x20created\x20instance\x20for\x20userAgent=\x22'+_0x5272a8+'\x22\x20platformIndex='+_0x46caee+'\x20→\x20'+_0x51d791);}return _0x1dbbc4[_0x5cb7d1(0x1c8)](_0x5f3f22,null);}static[a105_0x274d06(0x1dc)](_0x4eaf84,_0x5c8a29=0x0){const _0x584896=a105_0x274d06,_0xe2b929=_0x584896(0x1df)+_0x4eaf84+'#'+_0x5c8a29;return AutomationFramework['instances'][_0x584896(0x1d8)](_0xe2b929);}static[a105_0x274d06(0x1c5)](_0x12fb8,_0xe4ae6f=0x0){const _0x667556=a105_0x274d06;return AutomationFramework[_0x667556(0x1ec)][_0x667556(0x1b5)]('testcafe:'+_0x12fb8+'#'+_0xe4ae6f)||null;}static*[a105_0x274d06(0x1c6)](){const _0x2bbb05=a105_0x274d06,_0x35b281={};_0x35b281[_0x2bbb05(0x1e2)]=function(_0x4d6018,_0x3ae2ed){return _0x4d6018===_0x3ae2ed;},_0x35b281[_0x2bbb05(0x1cf)]='string',_0x35b281[_0x2bbb05(0x1d5)]=_0x2bbb05(0x1df),_0x35b281[_0x2bbb05(0x1b9)]=function(_0x37e776,_0xd717bf){return _0x37e776===_0xd717bf;},_0x35b281['GfaUB']=function(_0x4437f7,_0x10ecd3){return _0x4437f7+_0x10ecd3;};const _0x46114f=_0x35b281;for(const [_0x4e58e3,_0x5e0105]of AutomationFramework['instances'][_0x2bbb05(0x1bc)]()){if(_0x46114f[_0x2bbb05(0x1e2)](typeof _0x4e58e3,_0x46114f[_0x2bbb05(0x1cf)])&&_0x4e58e3[_0x2bbb05(0x1d1)](_0x46114f[_0x2bbb05(0x1d5)])){const _0x4f1f59=_0x4e58e3['slice'](_0x46114f[_0x2bbb05(0x1d5)]['length']),_0x28e5a9=_0x4f1f59[_0x2bbb05(0x1cd)]('#');if(_0x46114f[_0x2bbb05(0x1b9)](_0x28e5a9,-0x1)){const _0x27c210={};_0x27c210[_0x2bbb05(0x1e1)]=_0x4f1f59,_0x27c210[_0x2bbb05(0x1ce)]=0x0,_0x27c210[_0x2bbb05(0x1e9)]=_0x5e0105,yield _0x27c210;}else{const _0xe99d12=_0x4f1f59[_0x2bbb05(0x1cb)](0x0,_0x28e5a9),_0x30c695=Number[_0x2bbb05(0x1e8)](_0x4f1f59['slice'](_0x46114f[_0x2bbb05(0x1be)](_0x28e5a9,0x1)),0xa)||0x0,_0x5500cb={};_0x5500cb[_0x2bbb05(0x1e1)]=_0xe99d12,_0x5500cb[_0x2bbb05(0x1ce)]=_0x30c695,_0x5500cb[_0x2bbb05(0x1e9)]=_0x5e0105,yield _0x5500cb;}}}}}module[a105_0x274d06(0x1d9)]=TestCafeAutomationFramework;