browserstack-node-sdk 1.65.5 → 1.65.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (216) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  42. package/src/bin/codeceptjs/command.js +1 -1
  43. package/src/bin/codeceptjs/helper.js +1 -1
  44. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  45. package/src/bin/cucumber-js/command.js +1 -1
  46. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  48. package/src/bin/cucumber-js/test-observability.js +1 -1
  49. package/src/bin/cucumber-js/test.setup.js +1 -1
  50. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  51. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  52. package/src/bin/integrations/command.js +1 -1
  53. package/src/bin/integrations/constants.js +1 -1
  54. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  55. package/src/bin/jasmine/command.js +1 -1
  56. package/src/bin/jasmine/test.setup.js +1 -1
  57. package/src/bin/jasmine/testRunMap.js +1 -1
  58. package/src/bin/jest/command.js +1 -1
  59. package/src/bin/jest/customImplements/customCircus.js +1 -1
  60. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  61. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  62. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  63. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  64. package/src/bin/jest/jest.setup.js +1 -1
  65. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  66. package/src/bin/jest/test-observability/helper.js +1 -1
  67. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  68. package/src/bin/jest/test-observability/test-details.js +1 -1
  69. package/src/bin/jest/test.setup.js +1 -1
  70. package/src/bin/jest/test_before.setup.js +1 -1
  71. package/src/bin/launcher/launcher.js +1 -1
  72. package/src/bin/load/index.js +1 -1
  73. package/src/bin/load/loadErrors.js +1 -1
  74. package/src/bin/load/loadUtils.js +1 -1
  75. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  76. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  77. package/src/bin/mocha/command.js +1 -1
  78. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  79. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  80. package/src/bin/mocha/test.setup.js +1 -1
  81. package/src/bin/newman/command.js +1 -1
  82. package/src/bin/newman/helper.js +1 -1
  83. package/src/bin/newman/reporter/index.js +1 -1
  84. package/src/bin/newman/scriptRunner.js +1 -1
  85. package/src/bin/nightwatch/command.js +1 -1
  86. package/src/bin/node-generic/client.js +1 -1
  87. package/src/bin/playwright/accessibility-helper.js +1 -1
  88. package/src/bin/playwright/command.js +1 -1
  89. package/src/bin/playwright/globalSetup.js +1 -1
  90. package/src/bin/playwright/mock-process.js +1 -1
  91. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  92. package/src/bin/playwright/patches.js +1 -1
  93. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  94. package/src/bin/playwright/reporter/reporter.js +1 -1
  95. package/src/bin/playwright/reporter/test-details.js +1 -1
  96. package/src/bin/playwright/reporterArgs.js +1 -1
  97. package/src/bin/playwright/sessionDetails.js +1 -1
  98. package/src/bin/puppeteer/patches.js +1 -1
  99. package/src/bin/puppeteer/sessionDetails.js +1 -1
  100. package/src/bin/puppeteer/test.setup.js +1 -1
  101. package/src/bin/runner.js +1 -1
  102. package/src/bin/setup.js +1 -1
  103. package/src/bin/test-runner/index.js +1 -1
  104. package/src/bin/test-runner/runTest.js +1 -1
  105. package/src/bin/test-runner/testWorker.js +1 -1
  106. package/src/bin/testcafe/a11y-runner.js +1 -1
  107. package/src/bin/testcafe/command.js +1 -1
  108. package/src/bin/testcafe/reporter/index.js +1 -1
  109. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  110. package/src/bin/testcafe/session-registry.js +1 -1
  111. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  112. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  113. package/src/bin/testcafe/w3c-driver.js +1 -1
  114. package/src/bin/utils/apiUtilityMethods.js +1 -1
  115. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  116. package/src/bin/utils/constants.js +1 -1
  117. package/src/bin/utils/log4jsAppender.js +1 -1
  118. package/src/bin/utils/logPatcher.js +1 -1
  119. package/src/bin/utils/logReportingAPI.js +1 -1
  120. package/src/bin/utils/playwright-patcher.js +1 -1
  121. package/src/bin/utils/puppeteer-patcher.js +1 -1
  122. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  123. package/src/bin/utils/sharedUtils.js +1 -1
  124. package/src/bin/v2/TestInfo.js +1 -1
  125. package/src/bin/v2/browserstackCLI.js +1 -1
  126. package/src/bin/v2/cliUtils.js +1 -1
  127. package/src/bin/v2/customTagManager.js +1 -1
  128. package/src/bin/v2/eventDispatcher.js +1 -1
  129. package/src/bin/v2/framework/automationFramework.js +1 -1
  130. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  131. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  132. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  133. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  134. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  135. package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
  136. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  137. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  138. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  139. package/src/bin/v2/framework/testFramework.js +1 -1
  140. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  141. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  142. package/src/bin/v2/grpcClient.js +1 -1
  143. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  144. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  145. package/src/bin/v2/instances/trackedContext.js +1 -1
  146. package/src/bin/v2/instances/trackedInstance.js +1 -1
  147. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  148. package/src/bin/v2/modules/baseModule.js +1 -1
  149. package/src/bin/v2/modules/loadTestModule.js +1 -1
  150. package/src/bin/v2/modules/observabilityModule.js +1 -1
  151. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  152. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  153. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  154. package/src/bin/v2/modules/testhubModule.js +1 -1
  155. package/src/bin/v2/sdkErrorHandler.js +1 -1
  156. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  157. package/src/bin/v2/state/hookState.js +1 -1
  158. package/src/bin/v2/state/testFrameworkState.js +1 -1
  159. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  160. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  161. package/src/bin/v2/utils/jest-utils.js +1 -1
  162. package/src/bin/vanilla-js/command.js +1 -1
  163. package/src/browserStackSdk.js +1 -1
  164. package/src/helpers/BrowserStackSetup.js +1 -1
  165. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  166. package/src/helpers/accessibility-automation/constants.js +1 -1
  167. package/src/helpers/accessibility-automation/helper.js +1 -1
  168. package/src/helpers/accessibility-automation/scripts.js +1 -1
  169. package/src/helpers/ats/constants.js +1 -1
  170. package/src/helpers/ats/helper.js +1 -1
  171. package/src/helpers/caCertHelper.js +1 -1
  172. package/src/helpers/capsMapping.js +1 -1
  173. package/src/helpers/central-scanner/constants.js +1 -1
  174. package/src/helpers/central-scanner/helpers.js +1 -1
  175. package/src/helpers/classLogger.js +1 -1
  176. package/src/helpers/driverInitErrorReporter.js +1 -1
  177. package/src/helpers/globals.js +1 -1
  178. package/src/helpers/helper.js +1 -1
  179. package/src/helpers/logger.js +1 -1
  180. package/src/helpers/metadata.js +1 -1
  181. package/src/helpers/patchHelper.js +1 -1
  182. package/src/helpers/patchHelpers.js +1 -1
  183. package/src/helpers/percy/Percy.js +1 -1
  184. package/src/helpers/percy/PercyBinary.js +1 -1
  185. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  186. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  187. package/src/helpers/percy/PercySDK.js +1 -1
  188. package/src/helpers/percy/index.js +1 -1
  189. package/src/helpers/percy/utils.js +1 -1
  190. package/src/helpers/performance/constants.js +1 -1
  191. package/src/helpers/performance/performance-tester.js +1 -1
  192. package/src/helpers/playwright-helper.js +1 -1
  193. package/src/helpers/processHelper.js +1 -1
  194. package/src/helpers/puppeteer-helper.js +1 -1
  195. package/src/helpers/request-spy.js +1 -1
  196. package/src/helpers/setKeepAlive.js +1 -1
  197. package/src/helpers/stackFrameUtils.js +1 -1
  198. package/src/helpers/test-observability/constants.js +1 -1
  199. package/src/helpers/test-observability/error-handler.js +1 -1
  200. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  201. package/src/helpers/test-observability/sessionHandler.js +1 -1
  202. package/src/helpers/test-observability/utils.js +1 -1
  203. package/src/helpers/test-orchestration/constants.js +1 -1
  204. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  205. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  206. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  207. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  208. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  209. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  210. package/src/helpers/testhub/constants.js +1 -1
  211. package/src/helpers/testhub/testhubHandler.js +1 -1
  212. package/src/helpers/testhub/utils.js +1 -1
  213. package/src/helpers/utilities.js +1 -1
  214. package/src/helpers/w3cMapping.js +1 -1
  215. package/src/hubAllocationMethods.js +1 -1
  216. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a96_0x33a0cb=a96_0x2a91;(function(_0x5b6dce,_0xac6a40){const _0x5cd120=a96_0x2a91,_0x3318d0=_0x5b6dce();while(!![]){try{const _0x21af03=-parseInt(_0x5cd120(0x184))/0x1*(parseInt(_0x5cd120(0x121))/0x2)+parseInt(_0x5cd120(0xb5))/0x3*(-parseInt(_0x5cd120(0xab))/0x4)+parseInt(_0x5cd120(0x9c))/0x5+-parseInt(_0x5cd120(0xd7))/0x6*(parseInt(_0x5cd120(0xf9))/0x7)+parseInt(_0x5cd120(0x93))/0x8+parseInt(_0x5cd120(0xe1))/0x9+parseInt(_0x5cd120(0x124))/0xa;if(_0x21af03===_0xac6a40)break;else _0x3318d0['push'](_0x3318d0['shift']());}catch(_0xf33b22){_0x3318d0['push'](_0x3318d0['shift']());}}}(a96_0x217b,0x7d9c7));const TestFramework=require(a96_0x33a0cb(0x99)),TestFrameworkState=require(a96_0x33a0cb(0xf2)),HookState=require(a96_0x33a0cb(0x119)),{createClassLogger}=require(a96_0x33a0cb(0x173)),TestFrameworkInstance=require(a96_0x33a0cb(0xa0)),CLIUtils=require(a96_0x33a0cb(0xa5)),TrackedInstance=require(a96_0x33a0cb(0x14a)),TestFrameworkConstants=require(a96_0x33a0cb(0xee)),logger=createClassLogger('PlaywrightTestFramework'),{v4:uuidv4}=require('uuid'),util=require(a96_0x33a0cb(0xcd)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a96_0x33a0cb(0xbb)),TestInfo=require(a96_0x33a0cb(0xaa)),GrpcClient=require(a96_0x33a0cb(0x187)),{removeAnsiColors,getFailureType,failureData}=require(a96_0x33a0cb(0x122)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a96_0x33a0cb(0xdc)),{findNestedKey,sendTraceZip,validateFilePath}=require(a96_0x33a0cb(0xdc)),path=require(a96_0x33a0cb(0x116)),fs=require('fs'),helper=require(a96_0x33a0cb(0xf0)),{PLAYWRIGHT_TRACE_LOGS}=require(a96_0x33a0cb(0x16e)),PLAYWRIGHT_BUILTIN_ANNOTATIONS=new Set([a96_0x33a0cb(0xed),a96_0x33a0cb(0xfc),a96_0x33a0cb(0x139),a96_0x33a0cb(0x17a)]);function a96_0x2a91(_0x26906b,_0x53384e){const _0x217b13=a96_0x217b();return a96_0x2a91=function(_0x2a91ba,_0x5ec33b){_0x2a91ba=_0x2a91ba-0x8b;let _0xbc496c=_0x217b13[_0x2a91ba];return _0xbc496c;},a96_0x2a91(_0x26906b,_0x53384e);}class PlaywrightTestFramework extends TestFramework{constructor(_0x299b04,_0x108d6b,_0x23161e){super(_0x299b04,_0x108d6b,_0x23161e);}async[a96_0x33a0cb(0x15e)](_0x260688,_0x3e4506,_0x17c191={}){const _0x14d338=a96_0x33a0cb,_0x2d64de={'MIpds':function(_0x393569,_0x9e2f44){return _0x393569===_0x9e2f44;},'rFYaG':function(_0x27cb0d,_0x4d65a5){return _0x27cb0d===_0x4d65a5;},'fCgsj':function(_0x4bd445,_0x9c79f5){return _0x4bd445===_0x9c79f5;},'VfVCh':function(_0x15a7e9,_0x3b3b5e){return _0x15a7e9===_0x3b3b5e;},'ToKgn':function(_0x5bc184,_0x5c9e8d,_0x274877){return _0x5bc184(_0x5c9e8d,_0x274877);},'AVTXp':function(_0xa17c79,_0x537f93,_0x411db1,_0x37e405){return _0xa17c79(_0x537f93,_0x411db1,_0x37e405);},'eMbUY':_0x14d338(0x16b),'OqrEG':_0x14d338(0x13a)};super[_0x14d338(0x15e)](_0x260688,_0x3e4506,_0x17c191);if(_0x2d64de['MIpds'](_0x260688,TestFrameworkState[_0x14d338(0x156)])){const _0x2cd5f9=TestInfo[_0x14d338(0x117)](_0x17c191[_0x14d338(0x16b)],_0x17c191[_0x14d338(0x16b)][_0x14d338(0xeb)]);TestInfo[_0x14d338(0x11f)](_0x2cd5f9,_0x17c191[_0x14d338(0x174)],!![]);}if(_0x2d64de[_0x14d338(0x17e)](_0x260688,TestFrameworkState[_0x14d338(0x113)])){this['trackStepEvent'](_0x260688,_0x3e4506,_0x17c191);return;}const _0x3637fd=this['resolveInstance'](_0x260688,_0x3e4506,_0x17c191);if(!_0x3637fd)return;logger[_0x14d338(0x17f)](_0x14d338(0xf7)+_0x260688+'\x20hookState='+_0x3e4506+_0x14d338(0xd2)+_0x3637fd[_0x14d338(0x155)]());try{if(_0x2d64de[_0x14d338(0x18b)](_0x3e4506,HookState[_0x14d338(0x120)])&&_0x2d64de[_0x14d338(0xe6)](_0x260688,TestFrameworkState['TEST'])){const _0xa44189=_0x17c191[_0x14d338(0x16b)];logger['debug'](_0x14d338(0xdd)+_0xa44189['id']+'}');const _0x1dcc90=TestInfo[_0x14d338(0xb9)](_0x2d64de[_0x14d338(0x180)](getTestRunIdentifier,_0xa44189,_0x17c191[_0x14d338(0x174)][_0x14d338(0xeb)]));_0x3637fd[_0x14d338(0x190)](this[_0x14d338(0xe5)](_0x1dcc90,_0xa44189,_0x17c191[_0x14d338(0x174)])),logger[_0x14d338(0x17f)](_0x14d338(0xa7)+_0xa44189['id']+_0x14d338(0x150)+_0x260688+_0x14d338(0x177)+_0x3e4506+'\x20instance='+_0x3637fd[_0x14d338(0x155)]());}if(_0x2d64de[_0x14d338(0x12b)](_0x3e4506,HookState[_0x14d338(0xbd)])&&_0x2d64de[_0x14d338(0x12b)](_0x260688,TestFrameworkState['TEST'])){const _0x2c615a=_0x17c191[_0x14d338(0x16b)],_0x1e6f1b=_0x17c191[_0x14d338(0x174)];logger[_0x14d338(0x17f)](_0x14d338(0xbc)+_0x2c615a['id']);const _0x37b25c=_0x2d64de[_0x14d338(0x180)](getTestRunIdentifier,_0x2c615a,_0x1e6f1b[_0x14d338(0xeb)]),_0x5980a2=_0x3637fd['getAllData']()['get'](_0x37b25c)[TestFrameworkConstants['KEY_TEST_UUID']],{steps:_0x1e6412,logs:_0x53b1e9}=_0x2d64de['AVTXp'](getStepsAndLogs,_0x1e6f1b[_0x14d338(0x141)],_0x5980a2,_0x2d64de[_0x14d338(0x9b)]);_0x3637fd[_0x14d338(0x190)](this[_0x14d338(0x11c)](_0x2c615a['id'],_0x1e6f1b,_0x2c615a,_0x1e6412)),await this[_0x14d338(0xc9)](_0x3637fd,_0x260688,_0x3e4506,_0x2d64de[_0x14d338(0x9b)],_0x17c191,_0x53b1e9);}if(CLIUtils[_0x14d338(0xef)](_0x260688[_0x14d338(0xad)]()[_0x14d338(0xca)]('.')[0x1])){const _0x4184d2=await this['trackHookEvent'](_0x3637fd,_0x260688,_0x3e4506,_0x17c191);_0x3637fd['addMultipleEntries'](_0x4184d2);}}catch(_0x7279){logger[_0x14d338(0xea)](util[_0x14d338(0xe7)](_0x2d64de[_0x14d338(0x91)],_0x260688,_0x3e4506,_0x17c191[_0x14d338(0xd5)],_0x7279));}_0x17c191[_0x14d338(0xa6)]=_0x3637fd,await this[_0x14d338(0xfb)](_0x3637fd,_0x260688,_0x3e4506,_0x17c191);}[a96_0x33a0cb(0x103)](_0x1bdf64,_0xfaee81,_0x40b5e1={}){const _0x1cf151=a96_0x33a0cb,_0x5a0bc2={};_0x5a0bc2[_0x1cf151(0x135)]=function(_0xddfe95,_0xe6db19){return _0xddfe95===_0xe6db19;},_0x5a0bc2[_0x1cf151(0x10f)]=function(_0x155e92,_0x3c72b8){return _0x155e92===_0x3c72b8;};const _0x1aab27=_0x5a0bc2;let _0x694d9f=null;return(_0x1aab27[_0x1cf151(0x135)](_0x1bdf64,TestFrameworkState[_0x1cf151(0xe8)])||_0x1aab27[_0x1cf151(0x10f)](_0x1bdf64,TestFrameworkState[_0x1cf151(0x179)]))&&this[_0x1cf151(0xa9)](_0x1bdf64,_0x40b5e1),_0x694d9f=TestFramework['getTrackedInstance'](),_0x694d9f;}[a96_0x33a0cb(0xa9)](_0x3881e6,_0x23aa4b){const _0x2230d3=a96_0x33a0cb,_0x4d6812=CLIUtils[_0x2230d3(0xbe)](),_0x19be99=TrackedInstance['createContext'](_0x4d6812);let _0x59ac86=null;logger[_0x2230d3(0xb7)](_0x2230d3(0x151)+_0x4d6812+_0x2230d3(0xb6)+_0x3881e6),_0x59ac86=new TestFrameworkInstance(_0x19be99,this[_0x2230d3(0x101)](),this[_0x2230d3(0xfd)](),_0x3881e6,HookState[_0x2230d3(0x179)]),TestFramework[_0x2230d3(0xc2)](_0x19be99,_0x59ac86),logger[_0x2230d3(0xb7)]('trackPlaywrightInstance:\x20saved\x20instance\x20contextId='+_0x19be99['getId']()+_0x2230d3(0x118)+_0x4d6812);}[a96_0x33a0cb(0xe5)](_0xe1013d,_0x2fb237,_0x558b85){const _0x574fa6=a96_0x33a0cb,_0x2a641f={'IdxnG':function(_0x5615e2,_0x5d1009){return _0x5615e2(_0x5d1009);},'fUFDg':function(_0x2e0bdc,_0x3a1903){return _0x2e0bdc(_0x3a1903);},'XUNit':function(_0x2f2642,_0x45bdba){return _0x2f2642(_0x45bdba);},'kyXQT':function(_0x4d5212,_0x36c6a1){return _0x4d5212(_0x36c6a1);},'hQtug':function(_0x3863d1,_0x95dbdd,_0x23bc3a){return _0x3863d1(_0x95dbdd,_0x23bc3a);}},_0x3c48eb=_0x2a641f[_0x574fa6(0x140)](getPlaywrightTestId,_0x2fb237),_0x25b51a=_0x2a641f[_0x574fa6(0x140)](getPlaywrightTestTitle,_0x2fb237),_0x5e8355=_0x2a641f['IdxnG'](getTestTags,_0x2fb237),_0x38bb2e=_0x2a641f[_0x574fa6(0x140)](getPlaywrightTestCode,_0x2fb237),_0x571b14=_0x2a641f[_0x574fa6(0x13c)](getPlaywrightTestFilePath,_0x2fb237),_0x616458=_0x571b14,_0x1f2b16=_0x2a641f['fUFDg'](getPlaywrightTestScope,_0x2fb237),_0x52f921=_0x2a641f[_0x574fa6(0x16a)](getPlaywrightTestScopes,_0x2fb237),_0x42c495=_0x2a641f['kyXQT'](getPlaywrightSessionName,_0x2fb237),_0x7654ea=this[_0x574fa6(0x101)]()[0x0],_0x37dc9b=_0x2a641f[_0x574fa6(0x112)](getTestRunIdentifier,_0x2fb237,_0x558b85[_0x574fa6(0xeb)]),_0xca4812={[TestFrameworkConstants[_0x574fa6(0x163)]]:_0x7654ea,[TestFrameworkConstants[_0x574fa6(0x8d)]]:this['getTestFrameworksVersions']()[_0x7654ea],[TestFrameworkConstants[_0x574fa6(0xb0)]]:[],[TestFrameworkConstants[_0x574fa6(0xb4)]]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants[_0x574fa6(0xdb)]]:_0xe1013d,[TestFrameworkConstants[_0x574fa6(0xde)]]:TestFrameworkConstants[_0x574fa6(0x192)],[TestFrameworkConstants[_0x574fa6(0xc3)]]:_0x42c495,[TestFrameworkConstants[_0x574fa6(0x10c)]]:_0x571b14,[TestFrameworkConstants['KEY_TEST_ID']]:_0x3c48eb,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x25b51a,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x616458,[TestFrameworkConstants[_0x574fa6(0x106)]]:_0x38bb2e,[TestFrameworkConstants[_0x574fa6(0xba)]]:_0x5e8355,[TestFrameworkConstants[_0x574fa6(0x157)]]:_0x2fb237[_0x574fa6(0x10e)][0x0][_0x574fa6(0x9f)],[TestFrameworkConstants[_0x574fa6(0x10a)]]:_0x1f2b16,[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x52f921,[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0x2a641f[_0x574fa6(0x16a)](getPlaywrightCustomRerunParam,_0x2fb237)};TestInfo[_0x574fa6(0x11f)](_0x37dc9b,_0xca4812);const _0x5c947b={};return _0x5c947b[_0x37dc9b]=_0xca4812,_0x5c947b;}[a96_0x33a0cb(0x11c)](_0x5e27c1,_0x541f86,_0x13fbe0,_0x15f564){const _0xa44720=a96_0x33a0cb,_0x205403={'ckWJG':function(_0x588eef,_0xe21cca){return _0x588eef(_0xe21cca);},'XgALJ':_0xa44720(0xf5),'eXpQD':function(_0xcc5aa7,_0x1a5395){return _0xcc5aa7===_0x1a5395;},'MyayL':function(_0x564cf4,_0x29533){return _0x564cf4===_0x29533;},'zNcmX':function(_0x583afd,_0x379ee2){return _0x583afd(_0x379ee2);},'DNiWO':'No\x20reason\x20provided','NvvuK':function(_0x5bb362,_0x2986d1,_0x185fd7){return _0x5bb362(_0x2986d1,_0x185fd7);},'SmHpe':'skipped','rHOnH':'passed','cOJTh':function(_0x4a9f40,_0x5f4b73){return _0x4a9f40===_0x5f4b73;},'tIpwJ':'failed','mVMlG':_0xa44720(0x160),'Rpxxp':'Expected\x20to\x20fail,\x20but\x20passed.','qoIwn':function(_0x3c1893,_0x5adb0d,_0x35a59d){return _0x3c1893(_0x5adb0d,_0x35a59d);},'kbqYa':function(_0x394d82,_0x52a853){return _0x394d82||_0x52a853;},'cUJFS':function(_0x50a0a7,_0x3d4783){return _0x50a0a7(_0x3d4783);},'TlGnW':function(_0x5d5aaf,_0x84c3d2){return _0x5d5aaf>_0x84c3d2;},'Kbwin':function(_0x32456a,_0x1ca0fd){return _0x32456a-_0x1ca0fd;},'lnvSd':function(_0x4e411a,_0x425cea,_0x122334,_0x1e90aa){return _0x4e411a(_0x425cea,_0x122334,_0x1e90aa);},'uNseW':_0xa44720(0x16b),'agqLY':function(_0x3a107e,_0xe09bb9){return _0x3a107e===_0xe09bb9;},'FaQUL':function(_0x3eb8b4,_0x21db63){return _0x3eb8b4>=_0x21db63;},'BdQwH':function(_0xf72049,_0x255881){return _0xf72049===_0x255881;},'XyxpQ':function(_0x2c3a02,_0x56c5ee){return _0x2c3a02+_0x56c5ee;},'rRleF':function(_0x5f1223,_0x1253e2){return _0x5f1223>_0x1253e2;},'BXDsx':function(_0x4b3a52,_0x136272,_0xfd6f09){return _0x4b3a52(_0x136272,_0xfd6f09);},'ZCcuY':_0xa44720(0x116),'Njzbm':function(_0x4222c2,_0x559cf5,_0x3f725d){return _0x4222c2(_0x559cf5,_0x3f725d);},'MFpVl':function(_0x2d5de5,_0x3ab68d){return _0x2d5de5>_0x3ab68d;},'dNprq':function(_0x30c472,_0x52769b){return _0x30c472(_0x52769b);},'BpoFV':'../customTagManager'};logger[_0xa44720(0x17f)](_0xa44720(0x172)+_0x5e27c1);const _0x1f56e9=_0x205403['NvvuK'](getTestRunIdentifier,_0x13fbe0,_0x541f86[_0xa44720(0xeb)]),_0x28b80a=new Date(),_0x2d1f98=_0x541f86[_0xa44720(0x15d)],_0x156ee2=TestInfo[_0xa44720(0x97)](_0x1f56e9)[TestFrameworkConstants[_0xa44720(0x13b)]]||{};let _0x34b06c=_0x2d1f98;if(_0x205403[_0xa44720(0x8b)](_0x541f86[_0xa44720(0x15d)],_0x13fbe0['expectedStatus']))_0x34b06c=_0x205403['eXpQD'](_0x541f86['status'],_0x205403[_0xa44720(0x170)])?_0x205403['SmHpe']:_0x205403[_0xa44720(0xec)];else{(_0x205403[_0xa44720(0xc1)](_0x34b06c,_0x205403[_0xa44720(0xec)])||_0x205403[_0xa44720(0xc1)](_0x34b06c,_0x205403['tIpwJ'])||_0x205403[_0xa44720(0xc1)](_0x34b06c,_0x205403[_0xa44720(0x17c)]))&&(_0x34b06c=_0x205403[_0xa44720(0x13f)]);if(_0x205403[_0xa44720(0x8b)](_0x541f86[_0xa44720(0x15d)],_0x205403[_0xa44720(0xec)])&&_0x205403[_0xa44720(0x8b)](_0x13fbe0['expectedStatus'],_0x205403[_0xa44720(0x13f)])){const _0x30bdb5={};_0x30bdb5['message']=_0x205403[_0xa44720(0x11a)],_0x30bdb5[_0xa44720(0x159)]=_0x205403['Rpxxp'],_0x541f86[_0xa44720(0xea)]=_0x30bdb5,_0x541f86['errors']=[_0x541f86[_0xa44720(0xea)]];}}const {failureData:_0x3c17be,logs:_0x16b7ff}=_0x205403[_0xa44720(0x11e)](getFailureData,_0x541f86?.[_0xa44720(0x182)],{}),_0x482b85={[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x205403[_0xa44720(0x15f)](_0x3c17be,null),[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]:_0x541f86?.[_0xa44720(0xea)]&&_0x205403['cUJFS'](getFailureType,_0x541f86['error'][_0xa44720(0x18f)]),[TestFrameworkConstants[_0xa44720(0x12a)]]:_0x541f86?.[_0xa44720(0xea)]&&_0x205403[_0xa44720(0x12c)](removeAnsiColors,_0x541f86[_0xa44720(0xea)][_0xa44720(0x18f)]),[TestFrameworkConstants[_0xa44720(0xb2)]]:[],[TestFrameworkConstants[_0xa44720(0xde)]]:_0x34b06c,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x28b80a[_0xa44720(0x105)](),[TestFrameworkConstants[_0xa44720(0xaf)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0xa44720(0x13b)]]:_0x156ee2};if(_0x541f86&&_0x205403[_0xa44720(0x169)](_0x541f86[_0xa44720(0xeb)],0x0)){const _0x5420e4=TestInfo['getTestUUID'](_0x205403['NvvuK'](getTestRunIdentifier,_0x13fbe0,_0x205403[_0xa44720(0x114)](_0x541f86[_0xa44720(0xeb)],0x1)));_0x482b85[TestFrameworkConstants[_0xa44720(0x108)]]=_0x5420e4;}const _0x3e3c4d={};_0x3e3c4d[_0xa44720(0x16b)]=_0x13fbe0;const _0xc5b1f8=this[_0xa44720(0x103)](TestFrameworkState[_0xa44720(0x148)],HookState[_0xa44720(0xbd)],_0x3e3c4d),_0x53cd2f=_0xc5b1f8[_0xa44720(0x9e)]()[_0xa44720(0x92)](_0x1f56e9)[TestFrameworkConstants[_0xa44720(0xdb)]],_0x4afd18=_0x15f564||_0x205403[_0xa44720(0xd9)](getStepsAndLogs,_0x541f86[_0xa44720(0x141)],_0x53cd2f,_0x205403[_0xa44720(0xdf)])[_0xa44720(0x141)],_0x24f99d=new Map(),_0x2fb13d=new Map();let _0x40f06b=0x0;const _0x26cd27=[];for(const _0x123f09 of _0x4afd18||[]){const _0x5e0f09=_0x123f09[_0xa44720(0x107)]||null;let _0x44d3a3;if(_0x205403[_0xa44720(0x164)](_0x5e0f09,null)){if(_0x205403[_0xa44720(0x152)](_0x40f06b,TestFrameworkConstants['MAX_TOP_LEVEL_STEPS']))continue;_0x44d3a3=0x0,_0x40f06b++;}else{const _0x5e296c=_0x24f99d[_0xa44720(0x92)](_0x5e0f09);if(_0x205403[_0xa44720(0x138)](_0x5e296c,undefined))continue;_0x44d3a3=_0x205403[_0xa44720(0x128)](_0x5e296c,0x1);if(_0x205403['rRleF'](_0x44d3a3,TestFrameworkConstants['MAX_NESTED_STEP_DEPTH']))continue;}_0x24f99d[_0xa44720(0xb3)](_0x123f09['id'],_0x44d3a3),_0x2fb13d[_0xa44720(0xb3)](_0x123f09['id'],_0x123f09[_0xa44720(0x181)]),_0x26cd27[_0xa44720(0x161)]({'id':_0x123f09['id'],'parent_id':_0x5e0f09,'parent_text':_0x5e0f09?_0x2fb13d[_0xa44720(0x92)](_0x5e0f09)||'':'','text':_0x123f09[_0xa44720(0x181)],'keyword':_0x123f09['keyword']||null,'started_at':_0x123f09['started_at'],'duration':_0x123f09[_0xa44720(0x10d)]??null,'result':_0x123f09['result'],'failure':_0x123f09[_0xa44720(0x14c)]||null,'failure_type':_0x123f09[_0xa44720(0xcf)]||null});}const _0x2397e2={};_0x2397e2[_0xa44720(0x141)]=_0x26cd27,_0x482b85[TestFrameworkConstants[_0xa44720(0xcc)]]=_0x2397e2,logger['debug'](_0xa44720(0x15b)+_0x26cd27[_0xa44720(0xd5)]+_0xa44720(0x158)+_0x5e27c1);const _0x4409ac=[],_0x107a66=_0x205403['BXDsx'](findNestedKey,_0x541f86,_0x205403[_0xa44720(0xf1)]);if(_0x107a66&&_0x205403[_0xa44720(0x12c)](validateFilePath,_0x107a66))try{_0x4409ac[_0xa44720(0x161)]({'kind':_0x205403[_0xa44720(0xae)],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0x53cd2f,'file_name':path[_0xa44720(0x8c)](_0x107a66),'file_size':fs['statSync'](_0x107a66)[_0xa44720(0x191)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x6b9317){logger[_0xa44720(0xea)]('Error\x20processing\x20direct\x20trace\x20file\x20'+_0x107a66+':\x20'+_0x6b9317['message']);}const _0x676057=TestInfo['getTraceFilePaths'](),_0x2bb41e=_0x676057[_0xa44720(0x134)](_0x37c447=>_0x37c447[_0xa44720(0x16d)]===_0x53cd2f);_0x2bb41e[_0xa44720(0x104)](_0x266287=>{const _0x1e01cd=_0xa44720;if(_0x266287[_0x1e01cd(0x11b)]&&_0x205403[_0x1e01cd(0x194)](validateFilePath,_0x266287[_0x1e01cd(0x11b)])&&!_0x4409ac['some'](_0x1f0715=>_0x1f0715[_0x1e01cd(0x18d)]===path[_0x1e01cd(0x8c)](_0x266287[_0x1e01cd(0x11b)])))try{_0x4409ac[_0x1e01cd(0x161)]({'kind':_0x205403[_0x1e01cd(0xae)],'timestamp':new Date()[_0x1e01cd(0x105)](),'test_run_uuid':_0x53cd2f,'file_name':path[_0x1e01cd(0x8c)](_0x266287['filePath']),'file_size':fs[_0x1e01cd(0x189)](_0x266287['filePath'])['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x47e94b){logger[_0x1e01cd(0xea)]('Error\x20processing\x20trace\x20file\x20'+_0x266287['filePath']+_0x1e01cd(0x176)+_0x47e94b['message']);}});if(_0x205403['rRleF'](_0x4409ac[_0xa44720(0xd5)],0x0)){const _0xbd689b=_0x482b85[TestFrameworkConstants[_0xa44720(0xb2)]]||[];_0x482b85[TestFrameworkConstants[_0xa44720(0xb2)]]=[..._0xbd689b,..._0x4409ac];}const _0x989f7b=TestInfo['getTestDetails'](_0x1f56e9)[TestFrameworkConstants[_0xa44720(0x10b)]]||{},_0x229117=_0x205403[_0xa44720(0x14e)](getManualUploadLogs,_0x989f7b,_0xc5b1f8[_0xa44720(0x9e)]()['get'](_0x1f56e9)[TestFrameworkConstants[_0xa44720(0xdb)]]);if(_0x205403[_0xa44720(0xcb)](_0x229117[_0xa44720(0xd5)],0x0)){const _0x318bdd=_0x482b85[TestFrameworkConstants[_0xa44720(0xb2)]]||[];_0x482b85[TestFrameworkConstants[_0xa44720(0xb2)]]=[..._0x318bdd,..._0x229117];}const _0x1f8ee8=_0x13fbe0[_0xa44720(0xe2)]||[],_0x3ce859=_0x482b85[TestFrameworkConstants[_0xa44720(0x13b)]]||{},_0x1b5914=_0x205403[_0xa44720(0x14f)](require,_0x205403['BpoFV']);_0x1f8ee8[_0xa44720(0x104)](_0x15cae3=>{const _0x524999=_0xa44720,{type:_0xdfaa77}=_0x15cae3;let _0x2843be=_0x15cae3['description'];if(!_0xdfaa77)return;if(PLAYWRIGHT_BUILTIN_ANNOTATIONS[_0x524999(0x137)](_0xdfaa77))return;(_0x205403[_0x524999(0x9a)](_0x2843be,undefined)||_0x205403['eXpQD'](_0x2843be,null)||_0x205403['MyayL'](_0x205403[_0x524999(0xb8)](String,_0x2843be)[_0x524999(0xbf)](),''))&&(_0x2843be=_0x205403[_0x524999(0xa4)]);const _0x3da3fa=helper[_0x524999(0xfe)](_0x205403[_0x524999(0xb8)](String,_0x2843be));_0x1b5914[_0x524999(0x131)](_0x3ce859,_0xdfaa77,_0x3da3fa);}),_0x482b85[TestFrameworkConstants[_0xa44720(0x13b)]]=_0x3ce859,TestInfo[_0xa44720(0x11f)](_0x1f56e9,_0x482b85);const _0x3563cf={};return _0x3563cf[_0x1f56e9]=_0x482b85,_0x3563cf;}[a96_0x33a0cb(0x188)](_0x53e79f,_0x2d3d79,_0x227011){const _0x8dc410=a96_0x33a0cb,_0x819f98={'jwTeE':function(_0x2b32b7,_0x162d73){return _0x2b32b7||_0x162d73;},'xljDI':function(_0x4a9355,_0xfbe6e2,_0x2894cc){return _0x4a9355(_0xfbe6e2,_0x2894cc);}};try{const {test:_0x50d7bb,result:_0x332b33,step:_0x1284f1}=_0x227011;if(_0x819f98['jwTeE'](!_0x50d7bb,!_0x1284f1)||!_0x332b33)return;const _0x385bb0=_0x819f98['xljDI'](getTestRunIdentifier,_0x50d7bb,_0x332b33[_0x8dc410(0xeb)]);logger[_0x8dc410(0x17f)](_0x8dc410(0xd4)+_0x385bb0+_0x8dc410(0x146)+_0x2d3d79+_0x8dc410(0x127)+_0x1284f1[_0x8dc410(0x143)]+'\x22');}catch(_0x3711ad){logger[_0x8dc410(0xea)](_0x8dc410(0x18a)+util[_0x8dc410(0xe7)](_0x3711ad));}}async[a96_0x33a0cb(0xc5)](_0x1869cd,_0x3b99f7,_0x1a8f7c,_0x4619a6){const _0x58ea60=a96_0x33a0cb,_0x3f1f84={'OPyMa':function(_0x482074,_0x44a26a,_0x41f45a){return _0x482074(_0x44a26a,_0x41f45a);},'ZEhwe':function(_0x3a11bd,_0x4a931c){return _0x3a11bd in _0x4a931c;},'XWohN':function(_0x3035bb,_0x18291f){return _0x3035bb(_0x18291f);},'zpVmN':function(_0x530aa0,_0x182e21){return _0x530aa0===_0x182e21;},'xNxIU':function(_0x2e74a9){return _0x2e74a9();},'CJjhg':function(_0x5941d1,_0x527ee9){return _0x5941d1===_0x527ee9;},'KGIsT':function(_0x3d510d,_0x1918a0){return _0x3d510d>_0x1918a0;},'ihUic':function(_0x5db5d5,_0x984165,_0x516b9f){return _0x5db5d5(_0x984165,_0x516b9f);},'oDNKB':'err','njcCq':'failed','XojJy':_0x58ea60(0xff),'qoMdM':function(_0x32c63d,_0x564286){return _0x32c63d!==_0x564286;},'JVSxy':function(_0x5a6f42,_0x1bbcc3){return _0x5a6f42+_0x1bbcc3;},'aMUTT':_0x58ea60(0xf8)},_0x270cc5=_0x4619a6[_0x58ea60(0x16b)],_0x76aca4=_0x4619a6[_0x58ea60(0x8e)],_0x1232a2=_0x3f1f84[_0x58ea60(0x12f)](getTestRunIdentifier,_0x270cc5,_0x4619a6[_0x58ea60(0x174)][_0x58ea60(0xeb)]),_0x3b0532=_0x3b99f7['toString']()[_0x58ea60(0xca)]('.')[0x1];let _0x10bdd6=_0x1869cd[_0x58ea60(0x9e)]()[_0x58ea60(0x92)](_0x1232a2)[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x10bdd6&&(_0x10bdd6={});!_0x3f1f84['ZEhwe'](_0x3b0532,_0x10bdd6)&&(_0x10bdd6[_0x3b0532]=[]);let _0x22cc6c=_0x1869cd['getAllData']()[_0x58ea60(0x92)](_0x1232a2)[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x22cc6c&&(_0x22cc6c={});!_0x3f1f84[_0x58ea60(0x17b)](_0x3b0532,_0x22cc6c)&&(_0x22cc6c[_0x3b0532]=[]);const _0x4b0a5e={[TestFrameworkConstants[_0x58ea60(0x136)]]:_0x10bdd6,[TestFrameworkConstants[_0x58ea60(0xb4)]]:_0x22cc6c},_0x419c56={};_0x419c56[_0x1232a2]=_0x4b0a5e;const _0x49a162=_0x419c56,_0xd58532=_0x3f1f84[_0x58ea60(0x98)](getPlaywrightTestFilePath,_0x270cc5),_0x1f6e17=_0xd58532,_0x511ec6=TestInfo['getTestDetails'](_0x1232a2)[TestFrameworkConstants[_0x58ea60(0x13b)]]||{};if(_0x3f1f84['zpVmN'](_0x1a8f7c,HookState[_0x58ea60(0x120)])){const _0x49afa9={'key':_0x3b0532,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x3f1f84[_0x58ea60(0xe3)](uuidv4),[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x58ea60(0x14b)],[TestFrameworkConstants[_0x58ea60(0xe0)]]:_0x76aca4[_0x58ea60(0x9f)],[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x58ea60(0x144)]]:_0x76aca4['title'],[TestFrameworkConstants[_0x58ea60(0x10c)]]:_0xd58532,[TestFrameworkConstants[_0x58ea60(0x102)]]:_0x1f6e17,[TestFrameworkConstants[_0x58ea60(0x13b)]]:_0x511ec6};_0x10bdd6[_0x3b0532][_0x58ea60(0x161)](_0x49afa9),_0x49a162[_0x1232a2][TestFrameworkConstants[_0x58ea60(0xe9)]]=_0x3b0532,logger[_0x58ea60(0x17f)](_0x58ea60(0x165)+_0x3b0532+_0x58ea60(0x11d)+_0x49afa9+'\x20\x20and\x20args\x20=\x20'+_0x4619a6);}else{if(_0x3f1f84[_0x58ea60(0x166)](_0x1a8f7c,HookState[_0x58ea60(0xbd)])){const _0x357174=await _0x4619a6[_0x58ea60(0x174)],_0x2a77ca=_0x10bdd6[_0x3b0532]||[],_0x20f6c6=_0x4619a6[_0x58ea60(0x8e)];logger['debug']('Hook\x20List\x20in\x20Post\x20'+_0x2a77ca+_0x58ea60(0x115)+_0x4619a6);if(_0x3f1f84[_0x58ea60(0x133)](_0x2a77ca[_0x58ea60(0xd5)],0x0)){const _0x435190=_0x2a77ca[_0x58ea60(0x193)]();if(_0x20f6c6[_0x58ea60(0xea)]){const _0x52b071=_0x3f1f84[_0x58ea60(0x147)](failureData,_0x20f6c6[_0x58ea60(0xea)],_0x3f1f84[_0x58ea60(0xa2)]);_0x435190[TestFrameworkConstants[_0x58ea60(0xd6)]]=_0x3f1f84[_0x58ea60(0x98)](getFailureType,_0x20f6c6?.[_0x58ea60(0xea)]['message']),_0x435190[TestFrameworkConstants[_0x58ea60(0x129)]]=_0x3f1f84[_0x58ea60(0x98)](removeAnsiColors,_0x20f6c6?.[_0x58ea60(0xea)][_0x58ea60(0x18f)]),_0x435190[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x3f1f84['njcCq'],_0x435190[TestFrameworkConstants[_0x58ea60(0xc6)]]=_0x52b071;}else _0x435190[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x3f1f84[_0x58ea60(0x168)];_0x3f1f84[_0x58ea60(0xf6)](_0x357174,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0x435190[TestFrameworkConstants[_0x58ea60(0x18e)]]=!_0x20f6c6[_0x58ea60(0xea)]?_0x3f1f84[_0x58ea60(0x168)]:_0x3f1f84[_0x58ea60(0xd1)]);const _0x3ed677=new Date(_0x20f6c6[_0x58ea60(0x9f)]),_0x5ddbea=new Date(_0x3f1f84[_0x58ea60(0x130)](_0x3ed677[_0x58ea60(0xa1)](),_0x20f6c6['duration']));_0x435190[TestFrameworkConstants[_0x58ea60(0x171)]]=_0x5ddbea[_0x58ea60(0x105)](),_0x435190[TestFrameworkConstants[_0x58ea60(0x13b)]]=_0x511ec6;const _0x3b68f6=_0x435190[TestFrameworkConstants[_0x58ea60(0x145)]];await this[_0x58ea60(0xc9)](_0x1869cd,_0x3b99f7,_0x3b68f6,_0x3f1f84[_0x58ea60(0x183)],_0x4619a6),!_0x22cc6c[_0x3b0532]&&(_0x22cc6c[_0x3b0532]=[]),_0x22cc6c[_0x3b0532][_0x58ea60(0x161)](_0x435190),_0x49a162[_0x1232a2][TestFrameworkConstants[_0x58ea60(0x186)]]=_0x3b0532;}}}return _0x49a162;}async[a96_0x33a0cb(0xc9)](_0x49cc9d,_0x4aae4d,_0x36e49c,_0x228bbf,_0x512b8b,_0x1e2ef7){const _0x4d7129=a96_0x33a0cb,_0x2c5bf4={'QPbOx':function(_0x3b7d2d,_0x597d8d){return _0x3b7d2d===_0x597d8d;},'yLnny':_0x4d7129(0x16b),'LFaBV':function(_0x405a94,_0x3fff72,_0x5a52f0){return _0x405a94(_0x3fff72,_0x5a52f0);},'rTEsO':_0x4d7129(0x185),'REryf':function(_0x30888e,_0x40d5df,_0x4dac0a,_0x2799cd){return _0x30888e(_0x40d5df,_0x4dac0a,_0x2799cd);},'eIIAt':function(_0x1d128d,_0x5efe1f,_0x34921a){return _0x1d128d(_0x5efe1f,_0x34921a);},'gagVQ':function(_0x589597,_0x19a139,_0x366c63){return _0x589597(_0x19a139,_0x366c63);},'uEdAj':function(_0x4a18b3,_0x4cc5a3){return _0x4a18b3/_0x4cc5a3;},'EbRhf':function(_0x1f88ec,_0x429a0a){return _0x1f88ec<_0x429a0a;},'EAYWO':function(_0x2b66b0,_0x3dcf01){return _0x2b66b0*_0x3dcf01;},'xHQJC':function(_0x1a326a,_0x1a0a61){return _0x1a326a+_0x1a0a61;},'EJfTE':function(_0x469d32,_0x49b41a,_0x20c951,_0x48ba0c,_0x4f2acf){return _0x469d32(_0x49b41a,_0x20c951,_0x48ba0c,_0x4f2acf);},'gmZIQ':function(_0x20b0b2,_0x2e61b1){return _0x20b0b2+_0x2e61b1;},'VHcXe':_0x4d7129(0xf8),'StZLm':function(_0x3de0e8,_0x202c40,_0x2d615b){return _0x3de0e8(_0x202c40,_0x2d615b);}};try{if(_0x2c5bf4[_0x4d7129(0xd8)](_0x228bbf,_0x2c5bf4[_0x4d7129(0x125)])){const _0x1a9e5f=await _0x512b8b[_0x4d7129(0x174)],_0x1f6baf=_0x2c5bf4[_0x4d7129(0xc7)](getTestRunIdentifier,_0x512b8b[_0x4d7129(0x16b)],_0x512b8b[_0x4d7129(0x174)][_0x4d7129(0xeb)]),_0x5e4e31=_0x512b8b[_0x4d7129(0x16b)];logger[_0x4d7129(0x17f)](_0x4d7129(0xd0)+_0x1f6baf+_0x4d7129(0xda)+util[_0x4d7129(0x90)](_0x1a9e5f));const _0x469071=_0x49cc9d[_0x4d7129(0x9e)]()[_0x4d7129(0x92)](_0x1f6baf)[TestFrameworkConstants[_0x4d7129(0xdb)]];await _0x2c5bf4[_0x4d7129(0xc7)](sendTraceZip,_0x1a9e5f,_0x469071);const _0x517cf9=TestInfo['getTestDetails'](_0x1f6baf)[_0x2c5bf4[_0x4d7129(0x162)]],_0x1fd119={};if(_0x517cf9){!_0x1a9e5f[_0x4d7129(0x185)]&&(_0x1a9e5f[_0x4d7129(0x185)]=[]);_0x1fd119[_0x4d7129(0x185)]=_0x1a9e5f['attachments'][_0x4d7129(0x12d)](_0x517cf9||[]);const _0x20bb78=TestInfo['getTestDetails'](_0x1f6baf);delete _0x20bb78[_0x2c5bf4[_0x4d7129(0x162)]],TestInfo[_0x4d7129(0x11f)](_0x1f6baf,_0x20bb78);}const _0x4766ae=_0x1e2ef7||_0x2c5bf4[_0x4d7129(0x13e)](getStepsAndLogs,_0x1a9e5f[_0x4d7129(0x141)],_0x49cc9d['getAllData']()[_0x4d7129(0x92)](_0x1f6baf)[TestFrameworkConstants[_0x4d7129(0xdb)]],_0x2c5bf4[_0x4d7129(0x125)])[_0x4d7129(0x142)],_0x801ac0=_0x2c5bf4[_0x4d7129(0x178)](getScreenshots,_0x1fd119,_0x49cc9d['getAllData']()[_0x4d7129(0x92)](_0x1f6baf)[TestFrameworkConstants[_0x4d7129(0xdb)]]),_0x4c454b=_0x2c5bf4['gagVQ'](getVideos,_0x1a9e5f,_0x49cc9d[_0x4d7129(0x9e)]()['get'](_0x1f6baf)[TestFrameworkConstants['KEY_TEST_UUID']]),{_:_0x17daf2,logs:_0x325df6}=_0x2c5bf4[_0x4d7129(0x178)](getFailureData,_0x1a9e5f[_0x4d7129(0x182)],{'test_run_uuid':_0x49cc9d[_0x4d7129(0x9e)]()['get'](_0x1f6baf)[TestFrameworkConstants['KEY_TEST_UUID']]}),_0x2781ba=TestInfo[_0x4d7129(0x97)](_0x1f6baf)[TestFrameworkConstants[_0x4d7129(0x10b)]]||{},_0x4b70df=_0x2c5bf4['gagVQ'](getMediaArtifactsLogs,_0x2781ba,_0x49cc9d[_0x4d7129(0x9e)]()[_0x4d7129(0x92)](_0x1f6baf)[TestFrameworkConstants[_0x4d7129(0xdb)]]),_0x573c10=_0x49cc9d[_0x4d7129(0x9e)]()[_0x4d7129(0x92)](_0x1f6baf),{[TestFrameworkConstants[_0x4d7129(0x163)]]:_0x337f47='',[TestFrameworkConstants[_0x4d7129(0x8d)]]:_0x381e76=''}=_0x573c10,_0x3efc0d=(_0x4766ae||[])[_0x4d7129(0x12d)](_0x801ac0||[])['concat'](_0x325df6||[])['concat'](_0x4c454b||[])[_0x4d7129(0x12d)](_0x4b70df||[]),_0x5331fa=0x28,_0x16349d=Math[_0x4d7129(0xc4)](_0x2c5bf4[_0x4d7129(0xe4)](_0x3efc0d[_0x4d7129(0xd5)],_0x5331fa));for(let _0x325c93=0x0;_0x2c5bf4[_0x4d7129(0x12e)](_0x325c93,_0x16349d);_0x325c93++){const _0x54322f=_0x2c5bf4[_0x4d7129(0x126)](_0x325c93,_0x5331fa),_0x55a4e2=_0x2c5bf4[_0x4d7129(0x95)](_0x54322f,_0x5331fa),_0x4286a6=_0x3efc0d[_0x4d7129(0x149)](_0x54322f,_0x55a4e2),_0x52bf20={'platformIndex':global?.[_0x4d7129(0xa8)]??0x0,'logs':_0x4286a6,'testFrameworkName':_0x337f47,'testFrameworkVersion':_0x381e76,'testFrameworkState':_0x4aae4d[_0x4d7129(0xad)]()[_0x4d7129(0xca)]('.')[0x1]};_0x2c5bf4[_0x4d7129(0x9d)](updatePayloadForTraceLogs,_0x52bf20,_0x512b8b,_0x1f6baf,_0x49cc9d),logger['debug'](_0x4d7129(0xc0)+_0x1f6baf+_0x4d7129(0x132)+_0x2c5bf4[_0x4d7129(0x95)](_0x325c93,0x1)+'/'+_0x16349d+_0x4d7129(0x111)+util[_0x4d7129(0x90)](_0x52bf20));const _0x5533fc=await GrpcClient[_0x4d7129(0x153)]()[_0x4d7129(0x110)](_0x52bf20);logger[_0x4d7129(0x17f)](_0x4d7129(0xc0)+_0x1f6baf+_0x4d7129(0x132)+_0x2c5bf4[_0x4d7129(0x16f)](_0x325c93,0x1)+'/'+_0x16349d+_0x4d7129(0x17d)+util[_0x4d7129(0x90)](_0x5533fc));}}else{const {logs:_0x2f6fb0}=_0x2c5bf4[_0x4d7129(0x13e)](getStepsAndLogs,_0x512b8b['step'][_0x4d7129(0x141)],_0x36e49c,_0x2c5bf4[_0x4d7129(0x15c)]),_0x30c910=_0x2c5bf4[_0x4d7129(0x123)](getTestRunIdentifier,_0x512b8b[_0x4d7129(0x16b)],_0x512b8b[_0x4d7129(0x174)]['retry']);logger[_0x4d7129(0x17f)](_0x4d7129(0xd0)+_0x30c910);const _0x2ed19e=_0x49cc9d[_0x4d7129(0x9e)]()[_0x4d7129(0x92)](_0x30c910),{[TestFrameworkConstants[_0x4d7129(0x163)]]:_0x3ba23c='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x2748e5=''}=_0x2ed19e,_0x2ab98a={'platformIndex':'0','logs':_0x2f6fb0,'testFrameworkName':_0x3ba23c,'testFrameworkVersion':_0x2748e5,'testFrameworkState':_0x4aae4d[_0x4d7129(0xad)]()['split']('.')[0x1]};_0x2c5bf4['EJfTE'](updatePayloadForTraceLogs,_0x2ab98a,_0x512b8b,_0x30c910,_0x49cc9d),logger['debug'](_0x4d7129(0xc0)+_0x30c910+_0x4d7129(0x111)+util[_0x4d7129(0x90)](_0x2ab98a));const _0x21f0a3=await GrpcClient['getInstance']()['logCreatedEvent'](_0x2ab98a);}}catch(_0x28ee60){logger[_0x4d7129(0xea)](_0x4d7129(0xc8)+util[_0x4d7129(0xe7)](_0x28ee60));}}['createTestFrameworkEventPayload'](_0x5cb63d){const _0x533fe5=a96_0x33a0cb,_0x2c98ea={'opWCC':function(_0xc4ac67,_0x38e9dd,_0x13f1e9){return _0xc4ac67(_0x38e9dd,_0x13f1e9);},'kQTsk':function(_0x492a94,_0x1e2eaa){return _0x492a94<_0x1e2eaa;},'tjyGO':_0x533fe5(0xac)};try{const _0x411b38=_0x5cb63d[_0x533fe5(0x16b)]['id'],_0x543c49=_0x2c98ea[_0x533fe5(0xd3)](getTestRunIdentifier,_0x5cb63d[_0x533fe5(0x16b)],_0x5cb63d['result']['retry']),_0xb83f27=_0x5cb63d[_0x533fe5(0xa6)],_0x1705ed=_0xb83f27['getContext'](),_0x5a8c24=_0xb83f27[_0x533fe5(0x9e)]()[_0x533fe5(0x92)](_0x543c49);logger[_0x533fe5(0x17f)]('createTestFrameworkEventPayload\x20testId:\x20'+_0x411b38);const {[TestFrameworkConstants[_0x533fe5(0x163)]]:_0x3a8962='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x1146e8='',[TestFrameworkConstants[_0x533fe5(0x157)]]:_0x11288a='',[TestFrameworkConstants[_0x533fe5(0x13d)]]:_0x1ec719=''}=_0x5a8c24,_0xcd2966=_0xb83f27[_0x533fe5(0x100)]()[_0x533fe5(0xad)]()[_0x533fe5(0xca)]('.')[0x1],_0xd8aaa3=_0xb83f27[_0x533fe5(0x18c)]()[_0x533fe5(0xad)]()[_0x533fe5(0xca)]('.')[0x1],_0x4d5be8=_0x2c98ea[_0x533fe5(0x109)](_0x5cb63d?.[_0x533fe5(0x174)]?.[_0x533fe5(0x154)]??0x0,0x0)?0x0:_0x5cb63d?.[_0x533fe5(0x174)]?.['parallelIndex']??0x0,_0x42d550=_0xb83f27[_0x533fe5(0x155)](),_0x42f326=Buffer[_0x533fe5(0x167)](JSON[_0x533fe5(0x16c)](_0x5a8c24))['toString'](_0x2c98ea['tjyGO']),_0x12683f={'hash':_0x1705ed[_0x533fe5(0x15a)](),'threadId':_0x1705ed['getThreadId']()[_0x533fe5(0xad)](),'processId':_0x1705ed[_0x533fe5(0x94)]()[_0x533fe5(0xad)]()},_0x49a228={};_0x49a228[_0x533fe5(0xa3)]=_0x4d5be8,_0x49a228[_0x533fe5(0xb1)]=_0x3a8962,_0x49a228[_0x533fe5(0x175)]=_0x1146e8,_0x49a228[_0x533fe5(0xfa)]=_0xcd2966,_0x49a228['hookState']=_0xd8aaa3,_0x49a228[_0x533fe5(0x96)]=_0x11288a,_0x49a228[_0x533fe5(0xf4)]=_0x1ec719,_0x49a228[_0x533fe5(0xce)]=_0x42d550,_0x49a228[_0x533fe5(0xf3)]=_0x42f326,_0x49a228['executionContext']=_0x12683f;const _0x327ce9=_0x49a228;return logger[_0x533fe5(0x17f)]('createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20'+_0x411b38+'\x20testState:\x20'+_0xcd2966+'\x20hookState:\x20'+_0xd8aaa3),_0x327ce9;}catch(_0x59ae8f){return logger[_0x533fe5(0xea)](_0x533fe5(0x8f)+util[_0x533fe5(0xe7)](_0x59ae8f)),{};}}}module[a96_0x33a0cb(0x14d)]=PlaywrightTestFramework;function a96_0x217b(){const _0x62efa1=['push','rTEsO','KEY_TEST_FRAMEWORK_NAME','agqLY','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','CJjhg','from','XojJy','TlGnW','XUNit','test','stringify','testUId','../../utils/constants','gmZIQ','SmHpe','KEY_EVENT_ENDED_AT','parsePlaywrightTestResult:\x20testId=','../../../helpers/classLogger.js','result','testFrameworkVersion','\x20from\x20TestDetails:\x20','\x20testHookState=','eIIAt','NONE','fail','ZEhwe','mVMlG','\x20response=','rFYaG','debug','ToKgn','text','errors','aMUTT','485LuKjCe','attachments','KEY_HOOK_LAST_FINISHED','../grpcClient','trackStepEvent','statSync','trackStepEvent:\x20exception=','fCgsj','getCurrentHookState','file_name','KEY_HOOK_RESULT','message','addMultipleEntries','size','DEFAULT_TEST_RESULT','pop','ckWJG','MyayL','basename','KEY_TEST_FRAMEWORK_VERSION','step','Error\x20in\x20createTestFrameworkEventPayload:\x20','inspect','OqrEG','get','4180912vjSwSX','getProcessId','xHQJC','startedAt','getTestDetails','XWohN','./testFramework','eXpQD','eMbUY','1628070xzIjrH','EJfTE','getAllData','startTime','../instances/testFrameworkInstance.js','getTime','oDNKB','platformIndex','DNiWO','../cliUtils.js','instance','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','browserstackPlatformIndex','trackPlaywrightInstance','../TestInfo.js','971576FDLKHY','base64','toString','XgALJ','KEY_TEST_RESULT_AT','KEY_TEST_LOGS','testFrameworkName','KEY_LOGS','set','KEY_HOOKS_FINISHED','12WoETXU',',\x20state=','info','zNcmX','getTestUUID','KEY_TEST_TAGS','../../../helpers/helper.js','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','POST','getCurrentInstanceName','trim','sendLogCreatedEvent\x20for\x20testId:\x20','cOJTh','setTrackedInstance','KEY_AUTOMATE_SESSION_NAME','ceil','trackHookEvent','KEY_HOOK_FAILURE','LFaBV','Error\x20in\x20sendLogCreatedEvent:\x20','sendLogCreatedEvent','split','MFpVl','KEY_TEST_META','util','uuid','failure_type','sendLogCreatedEvent:\x20testId=','njcCq','\x20instanceId=','opWCC','trackStepEvent:\x20testId=','length','KEY_HOOK_FAILURE_TYPE','6JKJWRG','QPbOx','lnvSd','\x20result=','KEY_TEST_UUID','../../playwright/reporter/pwUtils','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','KEY_TEST_RESULT','uNseW','KEY_EVENT_STARTED_AT','4042971hjlJWA','annotations','xNxIU','uEdAj','parsePlaywrightTest','VfVCh','format','INIT_TEST','KEY_HOOK_LAST_STARTED','error','retry','rHOnH','skip','./constants/testFrameworkConstants.js','matchHookRegex','../../../../src/helpers/helper','ZCcuY','../state/testFrameworkState.js','eventJson','endedAt','TEST_ATTACHMENT','qoMdM','trackEvent:\x20found\x20instance,\x20testFrameworkState=','hook','4461023gAZErB','testFrameworkState','runHooks','fixme','getTestFrameworksVersions','parseCommaSeparatedValues','passed','getCurrentTestState','getTestFrameworks','KEY_TEST_LOCATION','resolveInstance','forEach','toISOString','KEY_TEST_CODE','parent_id','KEY_TEST_RETRY_OF','kQTsk','KEY_TEST_SCOPE','KEY_TEST_ATTACHMENTS','KEY_TEST_FILE_PATH','duration','results','aPIvh','logCreatedEvent','\x20payload=','hQtug','TEST_STEP','Kbwin','\x20and\x20args\x20=\x20','path','getTestIdentifierFromTestInfo','\x20target=','../state/hookState.js','Rpxxp','filePath','parsePlaywrightTestResult','\x20&\x20hook\x20=\x20','qoIwn','setTestDetails','PRE','292RbCJEi','../../../helpers/test-observability/utils','StZLm','8967310FaHCFT','yLnny','EAYWO','\x20step=\x22','XyxpQ','KEY_HOOK_FAILURE_REASON','KEY_TEST_FAILURE_REASON','MIpds','cUJFS','concat','EbRhf','OPyMa','JVSxy','mergeIntoTags','\x20batch\x20','KGIsT','filter','ZHKqL','KEY_HOOKS_STARTED','has','BdQwH','slow','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','KEY_CUSTOM_TAGS','fUFDg','KEY_TEST_ENDED_AT','REryf','tIpwJ','IdxnG','steps','logs','title','KEY_HOOK_NAME','KEY_HOOK_ID','\x20hookState=','ihUic','TEST','slice','../instances/trackedInstance.js','DEFAULT_HOOK_RESULT','failure','exports','Njzbm','dNprq',',\x20testFrameworkState=','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','FaQUL','getInstance','parallelIndex','getRef','TEST_SCREENSHOT','KEY_TEST_STARTED_AT','\x20steps\x20for\x20testId=','stack','getId','parsePlaywrightTestResult:\x20extracted\x20','VHcXe','status','trackEvent','kbqYa','timedOut'];a96_0x217b=function(){return _0x62efa1;};return a96_0x217b();}
1
+ const a96_0x5bb4bd=a96_0x43b1;function a96_0x1425(){const _0xd41bce=['KEY_TEST_NAME','\x20hookState:\x20','KEY_TEST_TAGS','KEY_TEST_ID','getTestFrameworksVersions','rzQxQ','trackPlaywrightInstance','qxhcU','ceil','trackStepEvent:\x20testId=','annotations','KEY_HOOKS_FINISHED','XrtJO','logCreatedEvent','HUAmw','runHooks','KEY_TEST_ENDED_AT','duration','testFrameworkState','result','message','kDwFs','dHzlv','FdAGH','pop','trackStepEvent:\x20exception=','../../utils/constants','tnxBH','failed','Error\x20processing\x20direct\x20trace\x20file\x20','getCurrentTestState','parseCommaSeparatedValues','KEY_HOOKS_STARTED','format','AAIBP','exports','getTraceFilePaths','retry','\x20steps\x20for\x20testId=','qvWVD','testFrameworkVersion','KEY_TEST_RESULT','KEY_HOOK_FAILURE_REASON','KEY_TEST_LOGS','trackStepEvent','skipped','KEY_TEST_RETRY_OF','AuHYV','fixme','FAkZg','createTestFrameworkEventPayload\x20testId:\x20','../../../../src/helpers/helper','resolveInstance','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','filter','wYtdu','getRef','KEY_HOOK_ID','purBh','nXLaO','YFSyd','concat','KEY_TEST_RERUN_NAME','10VZKkIo','step','XyKKS','matchHookRegex','startTime','VLNJr','pELqh','test','1776214iSUijd','util','browserstackPlatformIndex','set','uuid','NONE','mergeIntoTags','DEFAULT_HOOK_RESULT','\x20result=','some','trackHookEvent','from','parsePlaywrightTestResult','Zugip','mVEen','BuSvR','platformIndex','basename','2nykSUj','steps','getTime','../TestInfo.js','PQVKx','status','KEY_HOOK_FAILURE','XCUmw','POST','ZcbLs','attachments','tRGXJ','eventJson','logs','8226gnzmgp','filePath','KEY_TEST_FAILURE','err','debug','KEY_TEST_FAILURE_REASON','KEY_EVENT_STARTED_AT','YPNpZ','nkMQB','TWXTh','size','\x20payload=','lBSMy','push','statSync','eGhbS','EQvIM','sendLogCreatedEvent','zhfTl','../cliUtils.js','kiMNg','getProcessId',',\x20testFrameworkState=','KEY_TEST_ATTACHMENTS',',\x20state=','KEY_HOOK_LAST_STARTED','../instances/testFrameworkInstance.js','addMultipleEntries','mdaDr','parsePlaywrightTestResult:\x20extracted\x20','pArEZ','error','\x20&\x20hook\x20=\x20','KEY_CUSTOM_TAGS','HxuTZ','get','\x20testHookState=','KEY_TEST_LOCATION','KEY_HOOK_NAME','getId','\x20batch\x20','sjdtJ','getTrackedInstance','KEY_TEST_FILE_PATH','PlaywrightTestFramework','getInstance','KEY_TEST_SCOPE','DyBiU','PRE','../instances/trackedInstance.js','getCurrentInstanceName','createContext','kfQRl','failure','length','parsePlaywrightTest','TEST','description','2170756gomiKg','parallelIndex','inspect','Ijdal','../../../helpers/classLogger.js','FABfc','testFrameworkName','hook','mGIxY','toString','FDNlw','skip','LlFOg','MAX_NESTED_STEP_DEPTH','1864KTTNHF','slice','KEY_TEST_FRAMEWORK_VERSION','../state/hookState.js','KEY_TEST_META','czQKa','passed','KEY_LOGS','\x20from\x20TestDetails:\x20','fEFlI','toISOString','7857216fMYvKz','KEY_HOOK_FAILURE_TYPE','RPTdR','getAllData','KEY_TEST_UUID','PUBHA','split','testUId','started_at','KEY_TEST_STARTED_AT','failure_type','ASqQL','TEST_SCREENSHOT','getTestDetails','sCnpi','\x20instanceId=','errors','../../../helpers/helper.js','EFIaN','KEY_HOOK_LOGS','setTestDetails','info','stringify','6TWLiPH','SkKsF','ZYTAn','SqIlk','BRqYV','KEY_AUTOMATE_SESSION_NAME','ZjoCU','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','KEY_TEST_FAILURE_TYPE','XDKqR','instance','executionContext','VTunv','DEFAULT_TEST_RESULT','getThreadId','KEY_HOOK_RESULT','\x20testState:\x20','trim','getTestUUID','sendLogCreatedEvent:\x20testId=','getCurrentHookState','3tsIFQU','pTEuv','JqUGM','KEY_TEST_RESULT_AT','bryqP','BFDSu','endedAt','QwVfK','parent_id','jGgYP','2605595FEupdh','sendLogCreatedEvent\x20for\x20testId:\x20','KEY_TEST_SCOPES','forEach','setTrackedInstance','text','slow','1466836oBRACj','\x20response=','path','KEY_TEST_FRAMEWORK_NAME','title','No\x20reason\x20provided','expectedStatus','NbwLe','sBrQK','EzjcN','473901ThKaRB','\x20hookState=','swGtH','stack','Expected\x20to\x20fail,\x20but\x20passed.','trackEvent:\x20found\x20instance,\x20testFrameworkState=','Error\x20in\x20sendLogCreatedEvent:\x20'];a96_0x1425=function(){return _0xd41bce;};return a96_0x1425();}(function(_0x5250bc,_0x424a92){const _0x3ad483=a96_0x43b1,_0x5a0bd7=_0x5250bc();while(!![]){try{const _0x46a542=-parseInt(_0x3ad483(0x2a1))/0x1*(parseInt(_0x3ad483(0x1f9))/0x2)+parseInt(_0x3ad483(0x286))/0x3*(-parseInt(_0x3ad483(0x297))/0x4)+parseInt(_0x3ad483(0x290))/0x5*(parseInt(_0x3ad483(0x271))/0x6)+parseInt(_0x3ad483(0x241))/0x7+-parseInt(_0x3ad483(0x24f))/0x8*(parseInt(_0x3ad483(0x207))/0x9)+-parseInt(_0x3ad483(0x1df))/0xa*(-parseInt(_0x3ad483(0x1e7))/0xb)+parseInt(_0x3ad483(0x25a))/0xc;if(_0x46a542===_0x424a92)break;else _0x5a0bd7['push'](_0x5a0bd7['shift']());}catch(_0x56133e){_0x5a0bd7['push'](_0x5a0bd7['shift']());}}}(a96_0x1425,0x90fe9));function a96_0x43b1(_0x39aa7b,_0x3ec8f3){const _0x1425a6=a96_0x1425();return a96_0x43b1=function(_0x43b163,_0x14e60d){_0x43b163=_0x43b163-0x1b6;let _0x75d204=_0x1425a6[_0x43b163];return _0x75d204;},a96_0x43b1(_0x39aa7b,_0x3ec8f3);}const TestFramework=require('./testFramework'),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a96_0x5bb4bd(0x252)),{createClassLogger}=require(a96_0x5bb4bd(0x245)),TestFrameworkInstance=require(a96_0x5bb4bd(0x221)),CLIUtils=require(a96_0x5bb4bd(0x21a)),TrackedInstance=require(a96_0x5bb4bd(0x238)),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),logger=createClassLogger(a96_0x5bb4bd(0x233)),{v4:uuidv4}=require(a96_0x5bb4bd(0x1eb)),util=require(a96_0x5bb4bd(0x1e8)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a96_0x5bb4bd(0x26b)),TestInfo=require(a96_0x5bb4bd(0x1fc)),GrpcClient=require('../grpcClient'),{removeAnsiColors,getFailureType,failureData}=require('../../../helpers/test-observability/utils'),{getFailureData,getTestTags,getTestRunIdentifier}=require('../../playwright/reporter/pwUtils'),{findNestedKey,sendTraceZip,validateFilePath}=require('../../playwright/reporter/pwUtils'),path=require(a96_0x5bb4bd(0x299)),fs=require('fs'),helper=require(a96_0x5bb4bd(0x1d3)),{PLAYWRIGHT_TRACE_LOGS}=require(a96_0x5bb4bd(0x1ba)),PLAYWRIGHT_BUILTIN_ANNOTATIONS=new Set([a96_0x5bb4bd(0x24c),a96_0x5bb4bd(0x1d0),a96_0x5bb4bd(0x296),'fail']);class PlaywrightTestFramework extends TestFramework{constructor(_0x39cbe0,_0x8b9123,_0x190b5d){super(_0x39cbe0,_0x8b9123,_0x190b5d);}async['trackEvent'](_0x4a7fab,_0x48c4fa,_0x5c282c={}){const _0x1b529b=a96_0x5bb4bd,_0x25e101={'nkMQB':function(_0x53849b,_0x17310f){return _0x53849b===_0x17310f;},'AuHYV':function(_0x2547c2,_0x5b5ab8){return _0x2547c2===_0x5b5ab8;},'fEFlI':function(_0x2ef70f,_0x231320){return _0x2ef70f===_0x231320;},'zvmxJ':function(_0x526944,_0x49f0a3,_0x3ee2be){return _0x526944(_0x49f0a3,_0x3ee2be);},'LlFOg':function(_0x31f2ca,_0x443a46){return _0x31f2ca===_0x443a46;},'sjdtJ':function(_0x2ec3b0,_0x893bda,_0x27aaa0){return _0x2ec3b0(_0x893bda,_0x27aaa0);},'bFnWt':function(_0x673816,_0xe77c6d,_0x332743,_0x1a3414){return _0x673816(_0xe77c6d,_0x332743,_0x1a3414);},'mVEen':_0x1b529b(0x1e6),'FdAGH':_0x1b529b(0x1d5)};super['trackEvent'](_0x4a7fab,_0x48c4fa,_0x5c282c);if(_0x25e101[_0x1b529b(0x20f)](_0x4a7fab,TestFrameworkState[_0x1b529b(0x266)])){const _0x2bf2e3=TestInfo['getTestIdentifierFromTestInfo'](_0x5c282c['test'],_0x5c282c[_0x1b529b(0x1e6)][_0x1b529b(0x1c5)]);TestInfo[_0x1b529b(0x26e)](_0x2bf2e3,_0x5c282c[_0x1b529b(0x2bb)],!![]);}if(_0x25e101['nkMQB'](_0x4a7fab,TestFrameworkState['TEST_STEP'])){this[_0x1b529b(0x1cc)](_0x4a7fab,_0x48c4fa,_0x5c282c);return;}const _0xa736ad=this[_0x1b529b(0x1d4)](_0x4a7fab,_0x48c4fa,_0x5c282c);if(!_0xa736ad)return;logger[_0x1b529b(0x20b)](_0x1b529b(0x2a6)+_0x4a7fab+_0x1b529b(0x2a2)+_0x48c4fa+_0x1b529b(0x269)+_0xa736ad[_0x1b529b(0x1d8)]());try{if(_0x25e101[_0x1b529b(0x1cf)](_0x48c4fa,HookState['PRE'])&&_0x25e101[_0x1b529b(0x258)](_0x4a7fab,TestFrameworkState[_0x1b529b(0x23f)])){const _0x28d8c0=_0x5c282c[_0x1b529b(0x1e6)];logger[_0x1b529b(0x20b)](_0x1b529b(0x278)+_0x28d8c0['id']+'}');const _0x18e252=TestInfo[_0x1b529b(0x283)](_0x25e101['zvmxJ'](getTestRunIdentifier,_0x28d8c0,_0x5c282c[_0x1b529b(0x2bb)][_0x1b529b(0x1c5)]));_0xa736ad[_0x1b529b(0x222)](this[_0x1b529b(0x23e)](_0x18e252,_0x28d8c0,_0x5c282c['result'])),logger[_0x1b529b(0x20b)]('trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20'+_0x28d8c0['id']+_0x1b529b(0x21d)+_0x4a7fab+_0x1b529b(0x22b)+_0x48c4fa+'\x20instance='+_0xa736ad[_0x1b529b(0x1d8)]());}if(_0x25e101[_0x1b529b(0x258)](_0x48c4fa,HookState['POST'])&&_0x25e101[_0x1b529b(0x24d)](_0x4a7fab,TestFrameworkState['TEST'])){const _0x3bc522=_0x5c282c[_0x1b529b(0x1e6)],_0x2db26e=_0x5c282c[_0x1b529b(0x2bb)];logger[_0x1b529b(0x20b)]('trackEvent\x20loading\x20testResults\x20for\x20testId:\x20'+_0x3bc522['id']);const _0xe75b5=_0x25e101[_0x1b529b(0x230)](getTestRunIdentifier,_0x3bc522,_0x2db26e[_0x1b529b(0x1c5)]),_0x3f22ca=_0xa736ad['getAllData']()[_0x1b529b(0x22a)](_0xe75b5)[TestFrameworkConstants[_0x1b529b(0x25e)]],{steps:_0x185416,logs:_0x444e0d}=_0x25e101['bFnWt'](getStepsAndLogs,_0x2db26e[_0x1b529b(0x1fa)],_0x3f22ca,_0x25e101[_0x1b529b(0x1f5)]);_0xa736ad[_0x1b529b(0x222)](this['parsePlaywrightTestResult'](_0x3bc522['id'],_0x2db26e,_0x3bc522,_0x185416)),await this[_0x1b529b(0x218)](_0xa736ad,_0x4a7fab,_0x48c4fa,_0x25e101[_0x1b529b(0x1f5)],_0x5c282c,_0x444e0d);}if(CLIUtils[_0x1b529b(0x1e2)](_0x4a7fab[_0x1b529b(0x24a)]()[_0x1b529b(0x260)]('.')[0x1])){const _0x578cf5=await this[_0x1b529b(0x1f1)](_0xa736ad,_0x4a7fab,_0x48c4fa,_0x5c282c);_0xa736ad['addMultipleEntries'](_0x578cf5);}}catch(_0x59d061){logger['error'](util[_0x1b529b(0x1c1)](_0x25e101[_0x1b529b(0x1b7)],_0x4a7fab,_0x48c4fa,_0x5c282c[_0x1b529b(0x23d)],_0x59d061));}_0x5c282c[_0x1b529b(0x27b)]=_0xa736ad,await this[_0x1b529b(0x2b7)](_0xa736ad,_0x4a7fab,_0x48c4fa,_0x5c282c);}[a96_0x5bb4bd(0x1d4)](_0x42ae77,_0x2dd6b5,_0x39b784={}){const _0x4e8bdb=a96_0x5bb4bd,_0xd8e080={};_0xd8e080[_0x4e8bdb(0x213)]=function(_0x4c8537,_0x2993bf){return _0x4c8537===_0x2993bf;},_0xd8e080[_0x4e8bdb(0x2a0)]=function(_0x4c5f38,_0x3fc239){return _0x4c5f38===_0x3fc239;};const _0x566c0e=_0xd8e080;let _0x5bd234=null;return(_0x566c0e[_0x4e8bdb(0x213)](_0x42ae77,TestFrameworkState['INIT_TEST'])||_0x566c0e[_0x4e8bdb(0x2a0)](_0x42ae77,TestFrameworkState[_0x4e8bdb(0x1ec)]))&&this[_0x4e8bdb(0x2ae)](_0x42ae77,_0x39b784),_0x5bd234=TestFramework[_0x4e8bdb(0x231)](),_0x5bd234;}['trackPlaywrightInstance'](_0x2b1f84,_0x224c30){const _0xb25bbc=a96_0x5bb4bd,_0x1d1b7b=CLIUtils[_0xb25bbc(0x239)](),_0x1d6493=TrackedInstance[_0xb25bbc(0x23a)](_0x1d1b7b);let _0xe6047e=null;logger[_0xb25bbc(0x26f)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x1d1b7b+_0xb25bbc(0x21f)+_0x2b1f84),_0xe6047e=new TestFrameworkInstance(_0x1d6493,this['getTestFrameworks'](),this['getTestFrameworksVersions'](),_0x2b1f84,HookState[_0xb25bbc(0x1ec)]),TestFramework[_0xb25bbc(0x294)](_0x1d6493,_0xe6047e),logger['info']('trackPlaywrightInstance:\x20saved\x20instance\x20contextId='+_0x1d6493[_0xb25bbc(0x22e)]()+'\x20target='+_0x1d1b7b);}[a96_0x5bb4bd(0x23e)](_0x4a2fee,_0x3b24f3,_0x166a3a){const _0x1cb08c=a96_0x5bb4bd,_0x37f1b1={'nXLaO':function(_0x2eba0a,_0x235d1c){return _0x2eba0a(_0x235d1c);},'XDKqR':function(_0x3a076f,_0x4a0c27){return _0x3a076f(_0x4a0c27);},'DyBiU':function(_0xd39663,_0xc393be){return _0xd39663(_0xc393be);},'sBrQK':function(_0x243d32,_0x298b97,_0x4b9f89){return _0x243d32(_0x298b97,_0x4b9f89);}},_0x11ead5=_0x37f1b1[_0x1cb08c(0x1db)](getPlaywrightTestId,_0x3b24f3),_0x16f16f=_0x37f1b1[_0x1cb08c(0x27a)](getPlaywrightTestTitle,_0x3b24f3),_0x26b6a8=_0x37f1b1[_0x1cb08c(0x236)](getTestTags,_0x3b24f3),_0x4fe460=_0x37f1b1['DyBiU'](getPlaywrightTestCode,_0x3b24f3),_0x219c40=_0x37f1b1[_0x1cb08c(0x236)](getPlaywrightTestFilePath,_0x3b24f3),_0x4adfd9=_0x219c40,_0x853f50=_0x37f1b1['DyBiU'](getPlaywrightTestScope,_0x3b24f3),_0x1c3827=_0x37f1b1[_0x1cb08c(0x1db)](getPlaywrightTestScopes,_0x3b24f3),_0x25a4ee=_0x37f1b1['DyBiU'](getPlaywrightSessionName,_0x3b24f3),_0x2bc9bf=this['getTestFrameworks']()[0x0],_0x55274c=_0x37f1b1[_0x1cb08c(0x29f)](getTestRunIdentifier,_0x3b24f3,_0x166a3a['retry']),_0x593fff={[TestFrameworkConstants[_0x1cb08c(0x29a)]]:_0x2bc9bf,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x1cb08c(0x2ac)]()[_0x2bc9bf],[TestFrameworkConstants[_0x1cb08c(0x1cb)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants[_0x1cb08c(0x25e)]]:_0x4a2fee,[TestFrameworkConstants[_0x1cb08c(0x1c9)]]:TestFrameworkConstants[_0x1cb08c(0x27e)],[TestFrameworkConstants[_0x1cb08c(0x276)]]:_0x25a4ee,[TestFrameworkConstants[_0x1cb08c(0x232)]]:_0x219c40,[TestFrameworkConstants[_0x1cb08c(0x2ab)]]:_0x11ead5,[TestFrameworkConstants[_0x1cb08c(0x2a8)]]:_0x16f16f,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x4adfd9,[TestFrameworkConstants['KEY_TEST_CODE']]:_0x4fe460,[TestFrameworkConstants[_0x1cb08c(0x2aa)]]:_0x26b6a8,[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x3b24f3['results'][0x0][_0x1cb08c(0x1e3)],[TestFrameworkConstants[_0x1cb08c(0x235)]]:_0x853f50,[TestFrameworkConstants[_0x1cb08c(0x292)]]:_0x1c3827,[TestFrameworkConstants[_0x1cb08c(0x1de)]]:_0x37f1b1[_0x1cb08c(0x27a)](getPlaywrightCustomRerunParam,_0x3b24f3)};TestInfo[_0x1cb08c(0x26e)](_0x55274c,_0x593fff);const _0x36cece={};return _0x36cece[_0x55274c]=_0x593fff,_0x36cece;}[a96_0x5bb4bd(0x1f3)](_0x133612,_0xffcbe7,_0x5c170e,_0x50280a){const _0x5b26b1=a96_0x5bb4bd,_0x509db6={'tnxBH':function(_0x19a383,_0x2f9751){return _0x19a383(_0x2f9751);},'HUAmw':'TEST_ATTACHMENT','SkKsF':function(_0x9180b4,_0x34f487){return _0x9180b4===_0x34f487;},'NbwLe':function(_0x230c59,_0x26d4f3){return _0x230c59(_0x26d4f3);},'wYtdu':_0x5b26b1(0x29c),'Ijdal':function(_0x4c4961,_0x534dab){return _0x4c4961(_0x534dab);},'czQKa':function(_0x455704,_0x1da5a0,_0x13e7d6){return _0x455704(_0x1da5a0,_0x13e7d6);},'EGhhs':_0x5b26b1(0x1cd),'BuSvR':_0x5b26b1(0x255),'EQvIM':function(_0x253abc,_0x15653b){return _0x253abc===_0x15653b;},'kfQRl':_0x5b26b1(0x1bc),'UciyP':'timedOut','mdaDr':_0x5b26b1(0x2a5),'sCnpi':function(_0xa53427,_0x540a09){return _0xa53427||_0x540a09;},'jtGLC':function(_0xce86c0,_0x1eb6ad){return _0xce86c0(_0x1eb6ad);},'BRqYV':function(_0x11a4be,_0x5b11c6){return _0x11a4be>_0x5b11c6;},'YFSyd':function(_0x278383,_0x292589){return _0x278383-_0x292589;},'mGIxY':function(_0x222696,_0x11cccd,_0x155875,_0x525843){return _0x222696(_0x11cccd,_0x155875,_0x525843);},'EFIaN':_0x5b26b1(0x1e6),'rzdTo':function(_0x50d407,_0xe5d5ef){return _0x50d407===_0xe5d5ef;},'pArEZ':function(_0x2171e6,_0xe7c8a4){return _0x2171e6>=_0xe7c8a4;},'dHzlv':function(_0x4e39c0,_0x178b60){return _0x4e39c0===_0x178b60;},'ASqQL':function(_0xd827c9,_0x5b932a){return _0xd827c9+_0x5b932a;},'ZYTAn':function(_0xbc66be,_0x4c0d06){return _0xbc66be>_0x4c0d06;},'qxhcU':_0x5b26b1(0x299),'JqUGM':function(_0x272dc8,_0x4d6d5b){return _0x272dc8(_0x4d6d5b);},'zkoWb':function(_0x21cce6,_0x5ec8a3){return _0x21cce6>_0x5ec8a3;},'ymqRc':function(_0x2095a9,_0x2d9119){return _0x2095a9(_0x2d9119);},'VLNJr':'../customTagManager'};logger['debug']('parsePlaywrightTestResult:\x20testId='+_0x133612);const _0x257c14=_0x509db6[_0x5b26b1(0x254)](getTestRunIdentifier,_0x5c170e,_0xffcbe7[_0x5b26b1(0x1c5)]),_0x1b4733=new Date(),_0x21e20e=_0xffcbe7[_0x5b26b1(0x1fe)],_0xf07c9b=TestInfo[_0x5b26b1(0x267)](_0x257c14)[TestFrameworkConstants[_0x5b26b1(0x228)]]||{};let _0x18f434=_0x21e20e;if(_0x509db6[_0x5b26b1(0x272)](_0xffcbe7[_0x5b26b1(0x1fe)],_0x5c170e[_0x5b26b1(0x29d)]))_0x18f434=_0x509db6['SkKsF'](_0xffcbe7[_0x5b26b1(0x1fe)],_0x509db6['EGhhs'])?_0x509db6['EGhhs']:_0x509db6['BuSvR'];else{(_0x509db6[_0x5b26b1(0x272)](_0x18f434,_0x509db6[_0x5b26b1(0x1f6)])||_0x509db6[_0x5b26b1(0x217)](_0x18f434,_0x509db6['kfQRl'])||_0x509db6[_0x5b26b1(0x272)](_0x18f434,_0x509db6['UciyP']))&&(_0x18f434=_0x509db6[_0x5b26b1(0x23b)]);if(_0x509db6[_0x5b26b1(0x272)](_0xffcbe7[_0x5b26b1(0x1fe)],_0x509db6[_0x5b26b1(0x1f6)])&&_0x509db6[_0x5b26b1(0x272)](_0x5c170e[_0x5b26b1(0x29d)],_0x509db6[_0x5b26b1(0x23b)])){const _0x2b6cf7={};_0x2b6cf7[_0x5b26b1(0x2bc)]=_0x509db6['mdaDr'],_0x2b6cf7[_0x5b26b1(0x2a4)]=_0x509db6[_0x5b26b1(0x223)],_0xffcbe7['error']=_0x2b6cf7,_0xffcbe7[_0x5b26b1(0x26a)]=[_0xffcbe7[_0x5b26b1(0x226)]];}}const {failureData:_0x24c95e,logs:_0xe8bee1}=_0x509db6[_0x5b26b1(0x254)](getFailureData,_0xffcbe7?.[_0x5b26b1(0x26a)],{}),_0x529af2={[TestFrameworkConstants[_0x5b26b1(0x209)]]:_0x509db6[_0x5b26b1(0x268)](_0x24c95e,null),[TestFrameworkConstants[_0x5b26b1(0x279)]]:_0xffcbe7?.[_0x5b26b1(0x226)]&&_0x509db6[_0x5b26b1(0x29e)](getFailureType,_0xffcbe7[_0x5b26b1(0x226)][_0x5b26b1(0x2bc)]),[TestFrameworkConstants[_0x5b26b1(0x20c)]]:_0xffcbe7?.[_0x5b26b1(0x226)]&&_0x509db6['jtGLC'](removeAnsiColors,_0xffcbe7[_0x5b26b1(0x226)][_0x5b26b1(0x2bc)]),[TestFrameworkConstants[_0x5b26b1(0x256)]]:[],[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x18f434,[TestFrameworkConstants[_0x5b26b1(0x2b8)]]:_0x1b4733[_0x5b26b1(0x259)](),[TestFrameworkConstants[_0x5b26b1(0x289)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x5b26b1(0x228)]]:_0xf07c9b};if(_0xffcbe7&&_0x509db6[_0x5b26b1(0x275)](_0xffcbe7['retry'],0x0)){const _0x4e64eb=TestInfo[_0x5b26b1(0x283)](_0x509db6['czQKa'](getTestRunIdentifier,_0x5c170e,_0x509db6[_0x5b26b1(0x1dc)](_0xffcbe7[_0x5b26b1(0x1c5)],0x1)));_0x529af2[TestFrameworkConstants[_0x5b26b1(0x1ce)]]=_0x4e64eb;}const _0x6ad3b={};_0x6ad3b[_0x5b26b1(0x1e6)]=_0x5c170e;const _0x1c7197=this[_0x5b26b1(0x1d4)](TestFrameworkState[_0x5b26b1(0x23f)],HookState[_0x5b26b1(0x201)],_0x6ad3b),_0x370776=_0x1c7197[_0x5b26b1(0x25d)]()['get'](_0x257c14)[TestFrameworkConstants[_0x5b26b1(0x25e)]],_0x30a643=_0x50280a||_0x509db6[_0x5b26b1(0x249)](getStepsAndLogs,_0xffcbe7[_0x5b26b1(0x1fa)],_0x370776,_0x509db6[_0x5b26b1(0x26c)])[_0x5b26b1(0x1fa)],_0x545ab9=new Map(),_0x46bb71=new Map();let _0x469f9a=0x0;const _0x85a924=[];for(const _0x24166f of _0x30a643||[]){const _0xc76ac4=_0x24166f[_0x5b26b1(0x28e)]||null;let _0x31288c;if(_0x509db6['rzdTo'](_0xc76ac4,null)){if(_0x509db6[_0x5b26b1(0x225)](_0x469f9a,TestFrameworkConstants['MAX_TOP_LEVEL_STEPS']))continue;_0x31288c=0x0,_0x469f9a++;}else{const _0x3d327e=_0x545ab9[_0x5b26b1(0x22a)](_0xc76ac4);if(_0x509db6[_0x5b26b1(0x1b6)](_0x3d327e,undefined))continue;_0x31288c=_0x509db6[_0x5b26b1(0x265)](_0x3d327e,0x1);if(_0x509db6[_0x5b26b1(0x273)](_0x31288c,TestFrameworkConstants[_0x5b26b1(0x24e)]))continue;}_0x545ab9[_0x5b26b1(0x1ea)](_0x24166f['id'],_0x31288c),_0x46bb71[_0x5b26b1(0x1ea)](_0x24166f['id'],_0x24166f['text']),_0x85a924[_0x5b26b1(0x214)]({'id':_0x24166f['id'],'parent_id':_0xc76ac4,'parent_text':_0xc76ac4?_0x46bb71['get'](_0xc76ac4)||'':'','text':_0x24166f[_0x5b26b1(0x295)],'keyword':_0x24166f['keyword']||null,'started_at':_0x24166f[_0x5b26b1(0x262)],'duration':_0x24166f[_0x5b26b1(0x2b9)]??null,'result':_0x24166f['result'],'failure':_0x24166f[_0x5b26b1(0x23c)]||null,'failure_type':_0x24166f[_0x5b26b1(0x264)]||null});}const _0x29e482={};_0x29e482['steps']=_0x85a924,_0x529af2[TestFrameworkConstants[_0x5b26b1(0x253)]]=_0x29e482,logger[_0x5b26b1(0x20b)](_0x5b26b1(0x224)+_0x85a924['length']+_0x5b26b1(0x1c6)+_0x133612);const _0x333e73=[],_0xe79676=_0x509db6[_0x5b26b1(0x254)](findNestedKey,_0xffcbe7,_0x509db6[_0x5b26b1(0x2af)]);if(_0xe79676&&_0x509db6[_0x5b26b1(0x288)](validateFilePath,_0xe79676))try{_0x333e73[_0x5b26b1(0x214)]({'kind':_0x509db6[_0x5b26b1(0x2b6)],'timestamp':new Date()[_0x5b26b1(0x259)](),'test_run_uuid':_0x370776,'file_name':path[_0x5b26b1(0x1f8)](_0xe79676),'file_size':fs[_0x5b26b1(0x215)](_0xe79676)['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x48c8ac){logger['error'](_0x5b26b1(0x1bd)+_0xe79676+':\x20'+_0x48c8ac[_0x5b26b1(0x2bc)]);}const _0xf2e6a8=TestInfo[_0x5b26b1(0x1c4)](),_0x191c5a=_0xf2e6a8[_0x5b26b1(0x1d6)](_0x46ba7d=>_0x46ba7d[_0x5b26b1(0x261)]===_0x370776);_0x191c5a[_0x5b26b1(0x293)](_0x1b9617=>{const _0xc5ec3f=_0x5b26b1;if(_0x1b9617['filePath']&&_0x509db6[_0xc5ec3f(0x1bb)](validateFilePath,_0x1b9617['filePath'])&&!_0x333e73[_0xc5ec3f(0x1f0)](_0x3dfb76=>_0x3dfb76['file_name']===path[_0xc5ec3f(0x1f8)](_0x1b9617[_0xc5ec3f(0x208)])))try{_0x333e73[_0xc5ec3f(0x214)]({'kind':_0x509db6[_0xc5ec3f(0x2b6)],'timestamp':new Date()[_0xc5ec3f(0x259)](),'test_run_uuid':_0x370776,'file_name':path[_0xc5ec3f(0x1f8)](_0x1b9617[_0xc5ec3f(0x208)]),'file_size':fs['statSync'](_0x1b9617['filePath'])[_0xc5ec3f(0x211)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x5ea3e6){logger[_0xc5ec3f(0x226)]('Error\x20processing\x20trace\x20file\x20'+_0x1b9617['filePath']+_0xc5ec3f(0x257)+_0x5ea3e6[_0xc5ec3f(0x2bc)]);}});if(_0x509db6['zkoWb'](_0x333e73[_0x5b26b1(0x23d)],0x0)){const _0x561a75=_0x529af2[TestFrameworkConstants[_0x5b26b1(0x256)]]||[];_0x529af2[TestFrameworkConstants[_0x5b26b1(0x256)]]=[..._0x561a75,..._0x333e73];}const _0x40e83b=TestInfo[_0x5b26b1(0x267)](_0x257c14)[TestFrameworkConstants[_0x5b26b1(0x21e)]]||{},_0x59e6d0=_0x509db6[_0x5b26b1(0x254)](getManualUploadLogs,_0x40e83b,_0x1c7197['getAllData']()['get'](_0x257c14)[TestFrameworkConstants[_0x5b26b1(0x25e)]]);if(_0x509db6[_0x5b26b1(0x275)](_0x59e6d0[_0x5b26b1(0x23d)],0x0)){const _0x1c3af7=_0x529af2[TestFrameworkConstants[_0x5b26b1(0x256)]]||[];_0x529af2[TestFrameworkConstants[_0x5b26b1(0x256)]]=[..._0x1c3af7,..._0x59e6d0];}const _0x14ed82=_0x5c170e[_0x5b26b1(0x2b2)]||[],_0x58095d=_0x529af2[TestFrameworkConstants[_0x5b26b1(0x228)]]||{},_0x39e9d1=_0x509db6['ymqRc'](require,_0x509db6[_0x5b26b1(0x1e4)]);_0x14ed82[_0x5b26b1(0x293)](_0xac43da=>{const _0x38ddca=_0x5b26b1,{type:_0x935ea8}=_0xac43da;let _0x16d07f=_0xac43da[_0x38ddca(0x240)];if(!_0x935ea8)return;if(PLAYWRIGHT_BUILTIN_ANNOTATIONS['has'](_0x935ea8))return;(_0x509db6[_0x38ddca(0x272)](_0x16d07f,undefined)||_0x509db6[_0x38ddca(0x272)](_0x16d07f,null)||_0x509db6[_0x38ddca(0x272)](_0x509db6[_0x38ddca(0x29e)](String,_0x16d07f)[_0x38ddca(0x282)](),''))&&(_0x16d07f=_0x509db6[_0x38ddca(0x1d7)]);const _0x2316ea=helper[_0x38ddca(0x1bf)](_0x509db6[_0x38ddca(0x244)](String,_0x16d07f));_0x39e9d1[_0x38ddca(0x1ed)](_0x58095d,_0x935ea8,_0x2316ea);}),_0x529af2[TestFrameworkConstants[_0x5b26b1(0x228)]]=_0x58095d,TestInfo[_0x5b26b1(0x26e)](_0x257c14,_0x529af2);const _0x3476af={};return _0x3476af[_0x257c14]=_0x529af2,_0x3476af;}[a96_0x5bb4bd(0x1cc)](_0x575cce,_0x17ebf6,_0x1fc4b5){const _0x47ade1=a96_0x5bb4bd,_0x3683c6={'bryqP':function(_0x5c12e5,_0x21a729){return _0x5c12e5||_0x21a729;},'Zugip':function(_0x3be9a2,_0x437dc5,_0x5dd1f6){return _0x3be9a2(_0x437dc5,_0x5dd1f6);}};try{const {test:_0x2c4fc3,result:_0x253f5e,step:_0x30a412}=_0x1fc4b5;if(_0x3683c6[_0x47ade1(0x28a)](!_0x2c4fc3,!_0x30a412)||!_0x253f5e)return;const _0x8e7aa0=_0x3683c6[_0x47ade1(0x1f4)](getTestRunIdentifier,_0x2c4fc3,_0x253f5e[_0x47ade1(0x1c5)]);logger[_0x47ade1(0x20b)](_0x47ade1(0x2b1)+_0x8e7aa0+_0x47ade1(0x2a2)+_0x17ebf6+'\x20step=\x22'+_0x30a412['title']+'\x22');}catch(_0x5e5b43){logger[_0x47ade1(0x226)](_0x47ade1(0x1b9)+util[_0x47ade1(0x1c1)](_0x5e5b43));}}async[a96_0x5bb4bd(0x1f1)](_0xe8aa9d,_0x2f60a1,_0xed9419,_0x4bcd8d){const _0xc5d2f0=a96_0x5bb4bd,_0x3edf63={'kxgrZ':function(_0x18c0a5,_0x257908,_0x11f20d){return _0x18c0a5(_0x257908,_0x11f20d);},'HxuTZ':function(_0x5669a1,_0x20e65c){return _0x5669a1 in _0x20e65c;},'qvWVD':function(_0x53ac73,_0x372a11){return _0x53ac73 in _0x372a11;},'PQVKx':function(_0x17f817,_0x32033a){return _0x17f817(_0x32033a);},'eGhbS':function(_0x577c7c,_0x3cccca){return _0x577c7c===_0x3cccca;},'FABfc':function(_0x472570){return _0x472570();},'XrtJO':function(_0x118dc3,_0x429839){return _0x118dc3>_0x429839;},'RPTdR':function(_0x379f2e,_0x23ee48,_0x23ece1){return _0x379f2e(_0x23ee48,_0x23ece1);},'YPNpZ':_0xc5d2f0(0x20a),'fQaKw':function(_0x4da304,_0xdc31f2){return _0x4da304(_0xdc31f2);},'XyKKS':_0xc5d2f0(0x1bc),'BFDSu':_0xc5d2f0(0x255),'FAkZg':function(_0x3fedf0,_0x138494){return _0x3fedf0!==_0x138494;},'khzEI':function(_0x20d12e,_0x26f35e){return _0x20d12e+_0x26f35e;},'AAIBP':_0xc5d2f0(0x248)},_0x1e620f=_0x4bcd8d[_0xc5d2f0(0x1e6)],_0x1a9546=_0x4bcd8d[_0xc5d2f0(0x1e0)],_0x3fde4f=_0x3edf63['kxgrZ'](getTestRunIdentifier,_0x1e620f,_0x4bcd8d['result'][_0xc5d2f0(0x1c5)]),_0x55cc98=_0x2f60a1[_0xc5d2f0(0x24a)]()['split']('.')[0x1];let _0x28e811=_0xe8aa9d[_0xc5d2f0(0x25d)]()[_0xc5d2f0(0x22a)](_0x3fde4f)[TestFrameworkConstants[_0xc5d2f0(0x1c0)]];!_0x28e811&&(_0x28e811={});!_0x3edf63[_0xc5d2f0(0x229)](_0x55cc98,_0x28e811)&&(_0x28e811[_0x55cc98]=[]);let _0x3cd95c=_0xe8aa9d[_0xc5d2f0(0x25d)]()['get'](_0x3fde4f)[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x3cd95c&&(_0x3cd95c={});!_0x3edf63[_0xc5d2f0(0x1c7)](_0x55cc98,_0x3cd95c)&&(_0x3cd95c[_0x55cc98]=[]);const _0x4c82cd={[TestFrameworkConstants[_0xc5d2f0(0x1c0)]]:_0x28e811,[TestFrameworkConstants[_0xc5d2f0(0x2b3)]]:_0x3cd95c},_0x568090={};_0x568090[_0x3fde4f]=_0x4c82cd;const _0x33de44=_0x568090,_0x3df638=_0x3edf63[_0xc5d2f0(0x1fd)](getPlaywrightTestFilePath,_0x1e620f),_0x36c79d=_0x3df638,_0x39c1cc=TestInfo[_0xc5d2f0(0x267)](_0x3fde4f)[TestFrameworkConstants[_0xc5d2f0(0x228)]]||{};if(_0x3edf63[_0xc5d2f0(0x216)](_0xed9419,HookState[_0xc5d2f0(0x237)])){const _0x499198={'key':_0x55cc98,[TestFrameworkConstants[_0xc5d2f0(0x1d9)]]:_0x3edf63[_0xc5d2f0(0x246)](uuidv4),[TestFrameworkConstants[_0xc5d2f0(0x280)]]:TestFrameworkConstants[_0xc5d2f0(0x1ee)],[TestFrameworkConstants[_0xc5d2f0(0x20d)]]:_0x1a9546[_0xc5d2f0(0x1e3)],[TestFrameworkConstants[_0xc5d2f0(0x26d)]]:[],[TestFrameworkConstants[_0xc5d2f0(0x22d)]]:_0x1a9546[_0xc5d2f0(0x29b)],[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x3df638,[TestFrameworkConstants[_0xc5d2f0(0x22c)]]:_0x36c79d,[TestFrameworkConstants[_0xc5d2f0(0x228)]]:_0x39c1cc};_0x28e811[_0x55cc98]['push'](_0x499198),_0x33de44[_0x3fde4f][TestFrameworkConstants[_0xc5d2f0(0x220)]]=_0x55cc98,logger[_0xc5d2f0(0x20b)]('Hook\x20Started\x20in\x20PRE\x20key\x20=\x20'+_0x55cc98+_0xc5d2f0(0x227)+_0x499198+'\x20\x20and\x20args\x20=\x20'+_0x4bcd8d);}else{if(_0x3edf63[_0xc5d2f0(0x216)](_0xed9419,HookState[_0xc5d2f0(0x201)])){const _0x15e59e=await _0x4bcd8d[_0xc5d2f0(0x2bb)],_0x3860b1=_0x28e811[_0x55cc98]||[],_0x30f5fe=_0x4bcd8d[_0xc5d2f0(0x1e0)];logger[_0xc5d2f0(0x20b)]('Hook\x20List\x20in\x20Post\x20'+_0x3860b1+'\x20and\x20args\x20=\x20'+_0x4bcd8d);if(_0x3edf63[_0xc5d2f0(0x2b4)](_0x3860b1['length'],0x0)){const _0x4a6768=_0x3860b1[_0xc5d2f0(0x1b8)]();if(_0x30f5fe[_0xc5d2f0(0x226)]){const _0x551e46=_0x3edf63[_0xc5d2f0(0x25c)](failureData,_0x30f5fe['error'],_0x3edf63[_0xc5d2f0(0x20e)]);_0x4a6768[TestFrameworkConstants[_0xc5d2f0(0x25b)]]=_0x3edf63[_0xc5d2f0(0x1fd)](getFailureType,_0x30f5fe?.[_0xc5d2f0(0x226)][_0xc5d2f0(0x2bc)]),_0x4a6768[TestFrameworkConstants[_0xc5d2f0(0x1ca)]]=_0x3edf63['fQaKw'](removeAnsiColors,_0x30f5fe?.[_0xc5d2f0(0x226)]['message']),_0x4a6768[TestFrameworkConstants[_0xc5d2f0(0x280)]]=_0x3edf63['XyKKS'],_0x4a6768[TestFrameworkConstants[_0xc5d2f0(0x1ff)]]=_0x551e46;}else _0x4a6768[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x3edf63[_0xc5d2f0(0x28b)];_0x3edf63[_0xc5d2f0(0x1d1)](_0x15e59e,TestFrameworkConstants[_0xc5d2f0(0x1ee)])&&(_0x4a6768[TestFrameworkConstants[_0xc5d2f0(0x280)]]=!_0x30f5fe[_0xc5d2f0(0x226)]?_0x3edf63[_0xc5d2f0(0x28b)]:_0x3edf63[_0xc5d2f0(0x1e1)]);const _0x37534d=new Date(_0x30f5fe[_0xc5d2f0(0x1e3)]),_0x390f51=new Date(_0x3edf63['khzEI'](_0x37534d[_0xc5d2f0(0x1fb)](),_0x30f5fe['duration']));_0x4a6768[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x390f51[_0xc5d2f0(0x259)](),_0x4a6768[TestFrameworkConstants[_0xc5d2f0(0x228)]]=_0x39c1cc;const _0x31f80b=_0x4a6768[TestFrameworkConstants[_0xc5d2f0(0x1d9)]];await this[_0xc5d2f0(0x218)](_0xe8aa9d,_0x2f60a1,_0x31f80b,_0x3edf63[_0xc5d2f0(0x1c2)],_0x4bcd8d),!_0x3cd95c[_0x55cc98]&&(_0x3cd95c[_0x55cc98]=[]),_0x3cd95c[_0x55cc98][_0xc5d2f0(0x214)](_0x4a6768),_0x33de44[_0x3fde4f][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x55cc98;}}}return _0x33de44;}async['sendLogCreatedEvent'](_0x39fd16,_0x3a0d6d,_0xb8556c,_0x5d881e,_0x3ca6da,_0x1face9){const _0x53c636=a96_0x5bb4bd,_0xdbbd13={'EmgFv':function(_0x5b66b7,_0x4ddf3d){return _0x5b66b7===_0x4ddf3d;},'ZcbLs':_0x53c636(0x1e6),'ZjoCU':function(_0x56f2d3,_0x2cce7,_0x1140d6){return _0x56f2d3(_0x2cce7,_0x1140d6);},'purBh':function(_0x222259,_0x5ea820,_0x40d7dc){return _0x222259(_0x5ea820,_0x40d7dc);},'jGgYP':_0x53c636(0x203),'PUBHA':function(_0x24a8b7,_0x41f8c3,_0x49aa2d,_0x328dc4){return _0x24a8b7(_0x41f8c3,_0x49aa2d,_0x328dc4);},'pELqh':function(_0x37d9e7,_0x268314,_0x5b9d01){return _0x37d9e7(_0x268314,_0x5b9d01);},'zhfTl':function(_0x1463e1,_0x32a16a,_0x55aa31){return _0x1463e1(_0x32a16a,_0x55aa31);},'kDwFs':function(_0x53edcc,_0x4d854c){return _0x53edcc/_0x4d854c;},'kiMNg':function(_0x1a16cc,_0x5ed897){return _0x1a16cc<_0x5ed897;},'QwVfK':function(_0x48e489,_0x3b9554){return _0x48e489*_0x3b9554;},'rzQxQ':function(_0x57520e,_0x59ed24){return _0x57520e+_0x59ed24;},'tRGXJ':function(_0x47e987,_0x22952c,_0x5eb407,_0x24794c,_0x5bbfc7){return _0x47e987(_0x22952c,_0x5eb407,_0x24794c,_0x5bbfc7);},'swGtH':function(_0x462c12,_0xa2e4dc,_0x47173f,_0x3cb3a1){return _0x462c12(_0xa2e4dc,_0x47173f,_0x3cb3a1);},'SqIlk':_0x53c636(0x248),'XCUmw':function(_0x1acbbc,_0x59e0ba,_0x521a79){return _0x1acbbc(_0x59e0ba,_0x521a79);},'VTunv':function(_0x4d9c7b,_0x20e2bf,_0x28aeaa,_0x1ced30,_0x1b507b){return _0x4d9c7b(_0x20e2bf,_0x28aeaa,_0x1ced30,_0x1b507b);}};try{if(_0xdbbd13['EmgFv'](_0x5d881e,_0xdbbd13[_0x53c636(0x202)])){const _0x43aa31=await _0x3ca6da[_0x53c636(0x2bb)],_0x55e0e4=_0xdbbd13[_0x53c636(0x277)](getTestRunIdentifier,_0x3ca6da[_0x53c636(0x1e6)],_0x3ca6da[_0x53c636(0x2bb)][_0x53c636(0x1c5)]),_0x1afb72=_0x3ca6da[_0x53c636(0x1e6)];logger[_0x53c636(0x20b)](_0x53c636(0x284)+_0x55e0e4+_0x53c636(0x1ef)+util[_0x53c636(0x243)](_0x43aa31));const _0x454293=_0x39fd16[_0x53c636(0x25d)]()[_0x53c636(0x22a)](_0x55e0e4)[TestFrameworkConstants[_0x53c636(0x25e)]];await _0xdbbd13[_0x53c636(0x1da)](sendTraceZip,_0x43aa31,_0x454293);const _0x5b6dbc=TestInfo[_0x53c636(0x267)](_0x55e0e4)[_0xdbbd13[_0x53c636(0x28f)]],_0x53e681={};if(_0x5b6dbc){!_0x43aa31[_0x53c636(0x203)]&&(_0x43aa31['attachments']=[]);_0x53e681[_0x53c636(0x203)]=_0x43aa31[_0x53c636(0x203)][_0x53c636(0x1dd)](_0x5b6dbc||[]);const _0x46893e=TestInfo[_0x53c636(0x267)](_0x55e0e4);delete _0x46893e[_0xdbbd13[_0x53c636(0x28f)]],TestInfo[_0x53c636(0x26e)](_0x55e0e4,_0x46893e);}const _0x1b7658=_0x1face9||_0xdbbd13[_0x53c636(0x25f)](getStepsAndLogs,_0x43aa31[_0x53c636(0x1fa)],_0x39fd16[_0x53c636(0x25d)]()[_0x53c636(0x22a)](_0x55e0e4)[TestFrameworkConstants[_0x53c636(0x25e)]],_0xdbbd13[_0x53c636(0x202)])[_0x53c636(0x206)],_0x402151=_0xdbbd13[_0x53c636(0x1e5)](getScreenshots,_0x53e681,_0x39fd16[_0x53c636(0x25d)]()[_0x53c636(0x22a)](_0x55e0e4)[TestFrameworkConstants[_0x53c636(0x25e)]]),_0x2bf1f2=_0xdbbd13[_0x53c636(0x219)](getVideos,_0x43aa31,_0x39fd16['getAllData']()[_0x53c636(0x22a)](_0x55e0e4)[TestFrameworkConstants[_0x53c636(0x25e)]]),{_:_0x5824e8,logs:_0x23df96}=_0xdbbd13[_0x53c636(0x1da)](getFailureData,_0x43aa31['errors'],{'test_run_uuid':_0x39fd16['getAllData']()[_0x53c636(0x22a)](_0x55e0e4)[TestFrameworkConstants[_0x53c636(0x25e)]]}),_0x4df08c=TestInfo[_0x53c636(0x267)](_0x55e0e4)[TestFrameworkConstants[_0x53c636(0x21e)]]||{},_0x4e99a1=_0xdbbd13['ZjoCU'](getMediaArtifactsLogs,_0x4df08c,_0x39fd16[_0x53c636(0x25d)]()[_0x53c636(0x22a)](_0x55e0e4)[TestFrameworkConstants[_0x53c636(0x25e)]]),_0x381f01=_0x39fd16['getAllData']()[_0x53c636(0x22a)](_0x55e0e4),{[TestFrameworkConstants[_0x53c636(0x29a)]]:_0x1a4b98='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x116c18=''}=_0x381f01,_0x4aa198=(_0x1b7658||[])[_0x53c636(0x1dd)](_0x402151||[])[_0x53c636(0x1dd)](_0x23df96||[])[_0x53c636(0x1dd)](_0x2bf1f2||[])['concat'](_0x4e99a1||[]),_0x4acc5e=0x28,_0x293fdd=Math[_0x53c636(0x2b0)](_0xdbbd13[_0x53c636(0x2bd)](_0x4aa198[_0x53c636(0x23d)],_0x4acc5e));for(let _0x240663=0x0;_0xdbbd13[_0x53c636(0x21b)](_0x240663,_0x293fdd);_0x240663++){const _0x482da9=_0xdbbd13[_0x53c636(0x28d)](_0x240663,_0x4acc5e),_0xcc90de=_0xdbbd13['rzQxQ'](_0x482da9,_0x4acc5e),_0x4c4bf1=_0x4aa198[_0x53c636(0x250)](_0x482da9,_0xcc90de),_0x41fc7b={'platformIndex':global?.[_0x53c636(0x1e9)]??0x0,'logs':_0x4c4bf1,'testFrameworkName':_0x1a4b98,'testFrameworkVersion':_0x116c18,'testFrameworkState':_0x3a0d6d[_0x53c636(0x24a)]()[_0x53c636(0x260)]('.')[0x1]};_0xdbbd13[_0x53c636(0x204)](updatePayloadForTraceLogs,_0x41fc7b,_0x3ca6da,_0x55e0e4,_0x39fd16),logger['debug']('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x55e0e4+_0x53c636(0x22f)+_0xdbbd13[_0x53c636(0x2ad)](_0x240663,0x1)+'/'+_0x293fdd+_0x53c636(0x212)+util[_0x53c636(0x243)](_0x41fc7b));const _0x50aa8d=await GrpcClient[_0x53c636(0x234)]()[_0x53c636(0x2b5)](_0x41fc7b);logger[_0x53c636(0x20b)](_0x53c636(0x291)+_0x55e0e4+_0x53c636(0x22f)+_0xdbbd13[_0x53c636(0x2ad)](_0x240663,0x1)+'/'+_0x293fdd+_0x53c636(0x298)+util['inspect'](_0x50aa8d));}}else{const {logs:_0x2f15a4}=_0xdbbd13[_0x53c636(0x2a3)](getStepsAndLogs,_0x3ca6da['step'][_0x53c636(0x1fa)],_0xb8556c,_0xdbbd13[_0x53c636(0x274)]),_0x2e75c8=_0xdbbd13[_0x53c636(0x200)](getTestRunIdentifier,_0x3ca6da[_0x53c636(0x1e6)],_0x3ca6da[_0x53c636(0x2bb)][_0x53c636(0x1c5)]);logger[_0x53c636(0x20b)](_0x53c636(0x284)+_0x2e75c8);const _0x110e3c=_0x39fd16[_0x53c636(0x25d)]()[_0x53c636(0x22a)](_0x2e75c8),{[TestFrameworkConstants[_0x53c636(0x29a)]]:_0x27ac65='',[TestFrameworkConstants[_0x53c636(0x251)]]:_0x4c710b=''}=_0x110e3c,_0x220586={'platformIndex':'0','logs':_0x2f15a4,'testFrameworkName':_0x27ac65,'testFrameworkVersion':_0x4c710b,'testFrameworkState':_0x3a0d6d[_0x53c636(0x24a)]()[_0x53c636(0x260)]('.')[0x1]};_0xdbbd13[_0x53c636(0x27d)](updatePayloadForTraceLogs,_0x220586,_0x3ca6da,_0x2e75c8,_0x39fd16),logger[_0x53c636(0x20b)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x2e75c8+'\x20payload='+util['inspect'](_0x220586));const _0x6eb72c=await GrpcClient[_0x53c636(0x234)]()[_0x53c636(0x2b5)](_0x220586);}}catch(_0x10609a){logger[_0x53c636(0x226)](_0x53c636(0x2a7)+util[_0x53c636(0x1c1)](_0x10609a));}}['createTestFrameworkEventPayload'](_0x3a7119){const _0x4d9c5d=a96_0x5bb4bd,_0x536cd0={'TWXTh':function(_0xb2f96b,_0x39376c,_0x5d1bc7){return _0xb2f96b(_0x39376c,_0x5d1bc7);},'FDNlw':function(_0x4be71f,_0x27ffc1){return _0x4be71f<_0x27ffc1;},'pTEuv':'base64'};try{const _0x51ac87=_0x3a7119['test']['id'],_0x5daa15=_0x536cd0[_0x4d9c5d(0x210)](getTestRunIdentifier,_0x3a7119['test'],_0x3a7119[_0x4d9c5d(0x2bb)]['retry']),_0x1ab755=_0x3a7119[_0x4d9c5d(0x27b)],_0x3be219=_0x1ab755['getContext'](),_0x3921e4=_0x1ab755[_0x4d9c5d(0x25d)]()[_0x4d9c5d(0x22a)](_0x5daa15);logger[_0x4d9c5d(0x20b)](_0x4d9c5d(0x1d2)+_0x51ac87);const {[TestFrameworkConstants[_0x4d9c5d(0x29a)]]:_0x38a318='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x4c8aac='',[TestFrameworkConstants[_0x4d9c5d(0x263)]]:_0x3d2a1b='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x2ee33e=''}=_0x3921e4,_0x24c207=_0x1ab755[_0x4d9c5d(0x1be)]()[_0x4d9c5d(0x24a)]()['split']('.')[0x1],_0x35168a=_0x1ab755[_0x4d9c5d(0x285)]()['toString']()[_0x4d9c5d(0x260)]('.')[0x1],_0x32fd93=_0x536cd0[_0x4d9c5d(0x24b)](_0x3a7119?.[_0x4d9c5d(0x2bb)]?.['parallelIndex']??0x0,0x0)?0x0:_0x3a7119?.[_0x4d9c5d(0x2bb)]?.[_0x4d9c5d(0x242)]??0x0,_0x4f7683=_0x1ab755[_0x4d9c5d(0x1d8)](),_0x37d04d=Buffer[_0x4d9c5d(0x1f2)](JSON[_0x4d9c5d(0x270)](_0x3921e4))[_0x4d9c5d(0x24a)](_0x536cd0[_0x4d9c5d(0x287)]),_0x32826b={'hash':_0x3be219['getId'](),'threadId':_0x3be219[_0x4d9c5d(0x27f)]()[_0x4d9c5d(0x24a)](),'processId':_0x3be219[_0x4d9c5d(0x21c)]()[_0x4d9c5d(0x24a)]()},_0x22ffcc={};_0x22ffcc[_0x4d9c5d(0x1f7)]=_0x32fd93,_0x22ffcc[_0x4d9c5d(0x247)]=_0x38a318,_0x22ffcc[_0x4d9c5d(0x1c8)]=_0x4c8aac,_0x22ffcc[_0x4d9c5d(0x2ba)]=_0x24c207,_0x22ffcc['hookState']=_0x35168a,_0x22ffcc['startedAt']=_0x3d2a1b,_0x22ffcc[_0x4d9c5d(0x28c)]=_0x2ee33e,_0x22ffcc['uuid']=_0x4f7683,_0x22ffcc[_0x4d9c5d(0x205)]=_0x37d04d,_0x22ffcc[_0x4d9c5d(0x27c)]=_0x32826b;const _0x2389d2=_0x22ffcc;return logger[_0x4d9c5d(0x20b)]('createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20'+_0x51ac87+_0x4d9c5d(0x281)+_0x24c207+_0x4d9c5d(0x2a9)+_0x35168a),_0x2389d2;}catch(_0x54fe10){return logger[_0x4d9c5d(0x226)]('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util[_0x4d9c5d(0x1c1)](_0x54fe10)),{};}}}module[a96_0x5bb4bd(0x1c3)]=PlaywrightTestFramework;
@@ -1 +1 @@
1
- const a97_0x2d2fde=a97_0x35cd;function a97_0x35cd(_0x55107c,_0x113627){const _0x362a0d=a97_0x362a();return a97_0x35cd=function(_0x35cd7c,_0x42e57f){_0x35cd7c=_0x35cd7c-0x13c;let _0x1ece3b=_0x362a0d[_0x35cd7c];return _0x1ece3b;},a97_0x35cd(_0x55107c,_0x113627);}(function(_0x120be9,_0x4fad2b){const _0x4b999b=a97_0x35cd,_0x58bdbf=_0x120be9();while(!![]){try{const _0x5b3dc4=parseInt(_0x4b999b(0x13d))/0x1+-parseInt(_0x4b999b(0x156))/0x2+-parseInt(_0x4b999b(0x153))/0x3+-parseInt(_0x4b999b(0x150))/0x4+parseInt(_0x4b999b(0x161))/0x5*(parseInt(_0x4b999b(0x166))/0x6)+parseInt(_0x4b999b(0x159))/0x7*(-parseInt(_0x4b999b(0x14a))/0x8)+parseInt(_0x4b999b(0x165))/0x9*(parseInt(_0x4b999b(0x13e))/0xa);if(_0x5b3dc4===_0x4fad2b)break;else _0x58bdbf['push'](_0x58bdbf['shift']());}catch(_0x577574){_0x58bdbf['push'](_0x58bdbf['shift']());}}}(a97_0x362a,0x6008d));const AutomationFramework=require(a97_0x2d2fde(0x162)),{createClassLogger}=require(a97_0x2d2fde(0x15f)),AutomationFrameworkState=require(a97_0x2d2fde(0x149)),HookState=require(a97_0x2d2fde(0x157)),CLIUtils=require(a97_0x2d2fde(0x144)),TrackedInstance=require(a97_0x2d2fde(0x141)),AutomationFrameworkInstance=require(a97_0x2d2fde(0x13c));class PuppeteerAutomationFramework extends AutomationFramework{[a97_0x2d2fde(0x14d)]=createClassLogger(a97_0x2d2fde(0x14f));constructor(_0x5abb88,_0x2fff56){super(_0x5abb88,_0x2fff56);}async['trackEvent'](_0x4cc1f8,_0x5d1213,_0x4afbb9={}){const _0x4a2a5f=a97_0x2d2fde,_0x16b825={};_0x16b825['SWYqA']=function(_0x380cb7,_0x5be59f){return _0x380cb7===_0x5be59f;},_0x16b825[_0x4a2a5f(0x163)]=_0x4a2a5f(0x15e);const _0xb79165=_0x16b825;this[_0x4a2a5f(0x14d)][_0x4a2a5f(0x158)](_0x4a2a5f(0x160)+_0x4cc1f8+_0x4a2a5f(0x147)+_0x5d1213),await super[_0x4a2a5f(0x140)](_0x4cc1f8,_0x5d1213,_0x4afbb9);const _0x5d6bed=this['resolveInstance'](_0x4cc1f8,_0x5d1213,_0x4afbb9);if(_0xb79165[_0x4a2a5f(0x14e)](_0x5d6bed,null)){this[_0x4a2a5f(0x14d)]['debug'](_0xb79165[_0x4a2a5f(0x163)]);return;}_0x4afbb9[_0x4a2a5f(0x145)]=_0x5d6bed,await this[_0x4a2a5f(0x14b)](_0x5d6bed,_0x4cc1f8,_0x5d1213,_0x4afbb9);}[a97_0x2d2fde(0x13f)](_0x561e5a,_0x1eabfe,_0x3a1880={}){const _0x8e5dc3=a97_0x2d2fde,_0x4df6e6={};_0x4df6e6[_0x8e5dc3(0x155)]=function(_0x27fd78,_0x2849a0){return _0x27fd78===_0x2849a0;};const _0x2ed82f=_0x4df6e6;let _0x1f69c7=null;return(_0x2ed82f[_0x8e5dc3(0x155)](_0x561e5a,AutomationFrameworkState[_0x8e5dc3(0x152)])&&_0x2ed82f['VBDTX'](_0x1eabfe,HookState['PRE'])||_0x2ed82f[_0x8e5dc3(0x155)](_0x561e5a,AutomationFrameworkState[_0x8e5dc3(0x146)]))&&this[_0x8e5dc3(0x148)](_0x561e5a,_0x3a1880),_0x1f69c7=AutomationFramework[_0x8e5dc3(0x14c)](),_0x1f69c7;}[a97_0x2d2fde(0x148)](_0x35fe1b,_0x3ffa33){const _0x32c234=a97_0x2d2fde,_0x52e938={};_0x52e938[_0x32c234(0x167)]=_0x32c234(0x15b);const _0x39cac3=_0x52e938;if(AutomationFramework['getTrackedInstance']()){this[_0x32c234(0x14d)]['info'](_0x39cac3['ckRbJ']);return;}const _0x473e9e=CLIUtils[_0x32c234(0x143)](),_0x231192=TrackedInstance['createContext'](_0x473e9e);let _0x45b8fc=null;this[_0x32c234(0x14d)][_0x32c234(0x142)](_0x32c234(0x168)+_0x473e9e+_0x32c234(0x15d)+_0x35fe1b),_0x45b8fc=new AutomationFrameworkInstance(_0x231192,this[_0x32c234(0x15c)](),this[_0x32c234(0x164)](),_0x35fe1b),AutomationFramework[_0x32c234(0x151)](_0x231192,_0x45b8fc),this[_0x32c234(0x14d)][_0x32c234(0x142)](_0x32c234(0x154)+_0x231192['getId']()+_0x32c234(0x15a)+_0x473e9e);}}module[a97_0x2d2fde(0x169)]=PuppeteerAutomationFramework;function a97_0x362a(){const _0xacfc23=['../instances/automationFrameworkInstance.js','708406BMNSbH','926770HSfPCY','resolveInstance','trackEvent','../instances/trackedInstance.js','info','getCurrentInstanceName','../cliUtils.js','instance','NONE','\x20hookState=','trackPuppeteerInstance','../state/automationFrameworkState.js','208544KiVRtu','runHooks','getTrackedInstance','logger','SWYqA','PuppeteerAutomationFramework','1362124vmPkbU','setTrackedInstance','CREATE','647292VLuOLd','trackPuppeteerInstance:\x20saved\x20instance\x20contextId=','VBDTX','119634fvrdtE','../state/hookState.js','debug','189CrqZHn','\x20target=','trackPuppeteerInstance:\x20instance\x20already\x20exists','getAutomationFrameworkName',',\x20state=','trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking','../../../helpers/classLogger.js','trackEvent:\x20automationFrameworkState=','85oaoJjq','./automationFramework.js','ovvIO','getAutomationFrameworkVersion','72jMyKSo','92994hKhjQQ','ckRbJ','trackPuppeteerInstance:\x20created\x20instance\x20for\x20target=','exports'];a97_0x362a=function(){return _0xacfc23;};return a97_0x362a();}
1
+ const a97_0x1fb898=a97_0x2007;(function(_0x4416c9,_0x40b38f){const _0x44acec=a97_0x2007,_0x5a08e5=_0x4416c9();while(!![]){try{const _0x56cc0b=-parseInt(_0x44acec(0xfe))/0x1*(parseInt(_0x44acec(0x11a))/0x2)+-parseInt(_0x44acec(0x112))/0x3*(parseInt(_0x44acec(0x10d))/0x4)+parseInt(_0x44acec(0xfc))/0x5*(-parseInt(_0x44acec(0x125))/0x6)+parseInt(_0x44acec(0x10f))/0x7*(parseInt(_0x44acec(0x117))/0x8)+parseInt(_0x44acec(0x11e))/0x9+-parseInt(_0x44acec(0x114))/0xa*(parseInt(_0x44acec(0x100))/0xb)+parseInt(_0x44acec(0x101))/0xc*(parseInt(_0x44acec(0x106))/0xd);if(_0x56cc0b===_0x40b38f)break;else _0x5a08e5['push'](_0x5a08e5['shift']());}catch(_0x2e8e07){_0x5a08e5['push'](_0x5a08e5['shift']());}}}(a97_0x5eb0,0xedb79));const AutomationFramework=require(a97_0x1fb898(0x108)),{createClassLogger}=require(a97_0x1fb898(0x10b)),AutomationFrameworkState=require(a97_0x1fb898(0x10a)),HookState=require('../state/hookState.js'),CLIUtils=require('../cliUtils.js'),TrackedInstance=require('../instances/trackedInstance.js'),AutomationFrameworkInstance=require(a97_0x1fb898(0x109));function a97_0x2007(_0x15e447,_0x3cad7f){const _0x5eb0fa=a97_0x5eb0();return a97_0x2007=function(_0x20076f,_0xb81b41){_0x20076f=_0x20076f-0xfc;let _0x55b745=_0x5eb0fa[_0x20076f];return _0x55b745;},a97_0x2007(_0x15e447,_0x3cad7f);}function a97_0x5eb0(){const _0x435511=['534431pXerab','getTrackedInstance','11bVaRSa','579792FDtLqX','trackEvent:\x20automationFrameworkState=','\x20hookState=','PuppeteerAutomationFramework','dMpXn','624kJWxdg','JtuOQ','./automationFramework.js','../instances/automationFrameworkInstance.js','../state/automationFrameworkState.js','../../../helpers/classLogger.js','setTrackedInstance','24aQTcDC','getAutomationFrameworkName','3893785EladOR','Ossch','createContext','587529lecXyg','exports','8554130DgWPKR','logger','getCurrentInstanceName','24eSxYrd','\x20target=','CREATE','2jnrdHy','info','debug','runHooks','2309004YMYnrs','trackPuppeteerInstance:\x20saved\x20instance\x20contextId=','resolveInstance','trackPuppeteerInstance:\x20created\x20instance\x20for\x20target=','PRE','YkUur',',\x20state=','4235388voiicF','5PJZYKW','trackEvent'];a97_0x5eb0=function(){return _0x435511;};return a97_0x5eb0();}class PuppeteerAutomationFramework extends AutomationFramework{['logger']=createClassLogger(a97_0x1fb898(0x104));constructor(_0x85319d,_0x55a7eb){super(_0x85319d,_0x55a7eb);}async[a97_0x1fb898(0xfd)](_0x5bf006,_0x371993,_0x548e4f={}){const _0x59fe08=a97_0x1fb898,_0x5554aa={};_0x5554aa['QmSaU']=function(_0x5e5ddc,_0x5858d2){return _0x5e5ddc===_0x5858d2;},_0x5554aa['jTlAv']='trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking';const _0x243d83=_0x5554aa;this[_0x59fe08(0x115)][_0x59fe08(0x11c)](_0x59fe08(0x102)+_0x5bf006+_0x59fe08(0x103)+_0x371993),await super[_0x59fe08(0xfd)](_0x5bf006,_0x371993,_0x548e4f);const _0x2d63b9=this[_0x59fe08(0x120)](_0x5bf006,_0x371993,_0x548e4f);if(_0x243d83['QmSaU'](_0x2d63b9,null)){this[_0x59fe08(0x115)][_0x59fe08(0x11c)](_0x243d83['jTlAv']);return;}_0x548e4f['instance']=_0x2d63b9,await this[_0x59fe08(0x11d)](_0x2d63b9,_0x5bf006,_0x371993,_0x548e4f);}[a97_0x1fb898(0x120)](_0x12540e,_0x1b1d3c,_0x3d22a7={}){const _0x275245=a97_0x1fb898,_0x105dbf={};_0x105dbf['YkUur']=function(_0x57d9b1,_0x3b6cb6){return _0x57d9b1===_0x3b6cb6;},_0x105dbf[_0x275245(0x110)]=function(_0x374d99,_0x8843c9){return _0x374d99===_0x8843c9;},_0x105dbf[_0x275245(0x107)]=function(_0x584f59,_0x32936d){return _0x584f59===_0x32936d;};const _0x434885=_0x105dbf;let _0x34ae1e=null;return(_0x434885[_0x275245(0x123)](_0x12540e,AutomationFrameworkState[_0x275245(0x119)])&&_0x434885['Ossch'](_0x1b1d3c,HookState[_0x275245(0x122)])||_0x434885['JtuOQ'](_0x12540e,AutomationFrameworkState['NONE']))&&this['trackPuppeteerInstance'](_0x12540e,_0x3d22a7),_0x34ae1e=AutomationFramework[_0x275245(0xff)](),_0x34ae1e;}['trackPuppeteerInstance'](_0xe6d6d0,_0x284513){const _0x366821=a97_0x1fb898,_0x5b4235={};_0x5b4235['dMpXn']='trackPuppeteerInstance:\x20instance\x20already\x20exists';const _0x451146=_0x5b4235;if(AutomationFramework[_0x366821(0xff)]()){this[_0x366821(0x115)]['info'](_0x451146[_0x366821(0x105)]);return;}const _0x384a4a=CLIUtils[_0x366821(0x116)](),_0x4801ab=TrackedInstance[_0x366821(0x111)](_0x384a4a);let _0xf490f7=null;this[_0x366821(0x115)][_0x366821(0x11b)](_0x366821(0x121)+_0x384a4a+_0x366821(0x124)+_0xe6d6d0),_0xf490f7=new AutomationFrameworkInstance(_0x4801ab,this[_0x366821(0x10e)](),this['getAutomationFrameworkVersion'](),_0xe6d6d0),AutomationFramework[_0x366821(0x10c)](_0x4801ab,_0xf490f7),this[_0x366821(0x115)][_0x366821(0x11b)](_0x366821(0x11f)+_0x4801ab['getId']()+_0x366821(0x118)+_0x384a4a);}}module[a97_0x1fb898(0x113)]=PuppeteerAutomationFramework;
@@ -1 +1 @@
1
- function a98_0x22f0(){const _0x415c30=['4AdlJaO','TestFramework','9107420BidpvB','6jPmuSs','registerObserver','trackEvent:\x20testFrameworkState=','2342403EWYFYV','setCurrentHookState','9176360BaWvmA','671462sdwyuq','setInstance','has','5685335dELUSk','4586067DJHrwt','getId','../state/hookState','getInstances','../cliUtils','setState','248894hWIZnS','2NPGSgh','trackEvent','debug','binSessionId','getTestFrameworksVersions','exports','get','getAllData',';\x20hookState=','__bstack_test_framework_instances__','testFrameworks','instances','getCurrentInstanceName','../eventDispatcher','setTrackedInstance','660jFVMff','set','8GyuoeR','setCurrentTestState','getTestFrameworks','../instances/testFrameworkInstance','testFrameworkVersions','hasState'];a98_0x22f0=function(){return _0x415c30;};return a98_0x22f0();}const a98_0x224fae=a98_0x4568;(function(_0x41b2e8,_0x5784ae){const _0x52669c=a98_0x4568,_0x564dfd=_0x41b2e8();while(!![]){try{const _0x4c86a2=parseInt(_0x52669c(0xec))/0x1*(parseInt(_0x52669c(0xed))/0x2)+parseInt(_0x52669c(0x10a))/0x3*(-parseInt(_0x52669c(0x104))/0x4)+-parseInt(_0x52669c(0xe5))/0x5*(parseInt(_0x52669c(0x107))/0x6)+-parseInt(_0x52669c(0x106))/0x7+parseInt(_0x52669c(0xfe))/0x8*(-parseInt(_0x52669c(0xe6))/0x9)+parseInt(_0x52669c(0x10c))/0xa+parseInt(_0x52669c(0x10d))/0xb*(parseInt(_0x52669c(0xfc))/0xc);if(_0x4c86a2===_0x5784ae)break;else _0x564dfd['push'](_0x564dfd['shift']());}catch(_0x113dba){_0x564dfd['push'](_0x564dfd['shift']());}}}(a98_0x22f0,0xc22d5));function a98_0x4568(_0x2f819e,_0x53ef0a){const _0x22f0bb=a98_0x22f0();return a98_0x4568=function(_0x456828,_0x475eea){_0x456828=_0x456828-0xe3;let _0x367c09=_0x22f0bb[_0x456828];return _0x367c09;},a98_0x4568(_0x2f819e,_0x53ef0a);}const CLIUtils=require(a98_0x224fae(0xea)),eventDispatcher=require(a98_0x224fae(0xfa)),TestFrameworkInstance=require(a98_0x224fae(0x101)),TrackedContext=require('../instances/trackedContext'),TestFrameworkState=require('../state/testFrameworkState'),HookState=require(a98_0x224fae(0xe8)),{createClassLogger}=require('../../../helpers/classLogger'),TrackedInstance=require('../instances/trackedInstance'),logger=createClassLogger(a98_0x224fae(0x105));!global[a98_0x224fae(0xf6)]&&(global['__bstack_test_framework_instances__']=new Map());class TestFramework{static get[a98_0x224fae(0xf8)](){const _0xdb780b=a98_0x224fae;return global[_0xdb780b(0xf6)];}[a98_0x224fae(0xf7)]=[];[a98_0x224fae(0x102)]={};['binSessionId']=null;constructor(_0x41f82e,_0x1cd2bb,_0x168802){const _0x17c8ea=a98_0x224fae;this[_0x17c8ea(0xf7)]=_0x41f82e,this[_0x17c8ea(0x102)]=_0x1cd2bb,this[_0x17c8ea(0xf0)]=_0x168802;}[a98_0x224fae(0xe9)](){const _0x5cb4a0=a98_0x224fae;return TestFramework[_0x5cb4a0(0xf8)];}[a98_0x224fae(0xe3)](_0x2d3d46,_0x140ce9){const _0xfde77e=a98_0x224fae;TestFramework[_0xfde77e(0xf8)][_0xfde77e(0xfd)](_0x2d3d46[_0xfde77e(0xe7)],_0x140ce9);}static['getTrackedInstance'](){const _0x3f50ff=a98_0x224fae,_0x129590=TrackedInstance['createContext'](CLIUtils[_0x3f50ff(0xf9)]());return TestFramework[_0x3f50ff(0xf8)]['get'](_0x129590[_0x3f50ff(0xe7)]());}static[a98_0x224fae(0xfb)](_0x45275d,_0x21f834){const _0x2009e7=a98_0x224fae;TestFramework[_0x2009e7(0xf8)][_0x2009e7(0xfd)](_0x45275d[_0x2009e7(0xe7)](),_0x21f834);}[a98_0x224fae(0xf1)](){const _0x137526=a98_0x224fae;return this[_0x137526(0x102)];}[a98_0x224fae(0x100)](){const _0x2f3c3c=a98_0x224fae;return this[_0x2f3c3c(0xf7)];}[a98_0x224fae(0xee)](_0x5f20d6,_0x10002a,_0x4de536={}){const _0x81880e=a98_0x224fae;logger[_0x81880e(0xef)](_0x81880e(0x109)+_0x5f20d6+_0x81880e(0xf5)+_0x10002a);}async['runHooks'](_0x17a40f,_0x3c28ca,_0x4dd633,_0x367642={}){const _0x36c585=a98_0x224fae,_0x5241ee=CLIUtils['getHookRegistryKey'](_0x3c28ca,_0x4dd633);_0x17a40f[_0x36c585(0xff)](_0x3c28ca),_0x17a40f[_0x36c585(0x10b)](_0x4dd633),await eventDispatcher['notifyObserver'](_0x5241ee,_0x367642);}static[a98_0x224fae(0x108)](_0x2f7853,_0x42c9b1,_0x1f2b0e){eventDispatcher['registerObserver'](CLIUtils['getHookRegistryKey'](_0x2f7853,_0x42c9b1),_0x1f2b0e);}static['getState'](_0x1d92b2,_0x218057){const _0x345492=a98_0x224fae;return _0x1d92b2[_0x345492(0xf4)]()[_0x345492(0xf3)](_0x218057);}static[a98_0x224fae(0xeb)](_0x2a4417,_0x2e0764,_0x5766de){const _0x5ed627=a98_0x224fae;_0x2a4417['getAllData']()[_0x5ed627(0xfd)](_0x2e0764,_0x5766de);}static[a98_0x224fae(0x103)](_0x57736c,_0xe77ece){const _0x43c382=a98_0x224fae;return _0x57736c['getAllData']()[_0x43c382(0xe4)](_0xe77ece);}}module[a98_0x224fae(0xf2)]=TestFramework;
1
+ const a98_0x56b3b2=a98_0x4655;(function(_0x26521d,_0x384100){const _0x5bee61=a98_0x4655,_0x1686e2=_0x26521d();while(!![]){try{const _0x40da32=parseInt(_0x5bee61(0x136))/0x1+parseInt(_0x5bee61(0x123))/0x2*(-parseInt(_0x5bee61(0x13a))/0x3)+parseInt(_0x5bee61(0x122))/0x4+-parseInt(_0x5bee61(0x143))/0x5*(parseInt(_0x5bee61(0x124))/0x6)+parseInt(_0x5bee61(0x12c))/0x7*(parseInt(_0x5bee61(0x12d))/0x8)+parseInt(_0x5bee61(0x12f))/0x9+-parseInt(_0x5bee61(0x141))/0xa;if(_0x40da32===_0x384100)break;else _0x1686e2['push'](_0x1686e2['shift']());}catch(_0x3dcdb8){_0x1686e2['push'](_0x1686e2['shift']());}}}(a98_0x3325,0xc295f));function a98_0x3325(){const _0x5b0d4f=['hasState','TestFramework','testFrameworks','getId','3372800JuwdUM','../state/testFrameworkState','564420FyEhGB','setInstance','../state/hookState','setTrackedInstance','binSessionId','getState','runHooks','trackEvent','testFrameworkVersions','instances','getAllData','1922268yCRaTl','3514AAAwYb','78UhnXDC','getTestFrameworksVersions','exports','../eventDispatcher','get','getTrackedInstance','trackEvent:\x20testFrameworkState=','set','14xXhKci','3627704REXSfw','__bstack_test_framework_instances__','5538654SkgnRI','../../../helpers/classLogger',';\x20hookState=','setState','getCurrentInstanceName','../instances/trackedContext','has','1234930oojFHh','getHookRegistryKey','getInstances','registerObserver','1086BppcCi','../instances/trackedInstance','setCurrentTestState'];a98_0x3325=function(){return _0x5b0d4f;};return a98_0x3325();}function a98_0x4655(_0x4a7bf9,_0x54d8ac){const _0x332537=a98_0x3325();return a98_0x4655=function(_0x46552f,_0x238f36){_0x46552f=_0x46552f-0x119;let _0x1b21de=_0x332537[_0x46552f];return _0x1b21de;},a98_0x4655(_0x4a7bf9,_0x54d8ac);}const CLIUtils=require('../cliUtils'),eventDispatcher=require(a98_0x56b3b2(0x127)),TestFrameworkInstance=require('../instances/testFrameworkInstance'),TrackedContext=require(a98_0x56b3b2(0x134)),TestFrameworkState=require(a98_0x56b3b2(0x142)),HookState=require(a98_0x56b3b2(0x119)),{createClassLogger}=require(a98_0x56b3b2(0x130)),TrackedInstance=require(a98_0x56b3b2(0x13b)),logger=createClassLogger(a98_0x56b3b2(0x13e));!global['__bstack_test_framework_instances__']&&(global[a98_0x56b3b2(0x12e)]=new Map());class TestFramework{static get[a98_0x56b3b2(0x120)](){return global['__bstack_test_framework_instances__'];}['testFrameworks']=[];[a98_0x56b3b2(0x11f)]={};['binSessionId']=null;constructor(_0x4aef1f,_0x2da78c,_0x297333){const _0xe65544=a98_0x56b3b2;this[_0xe65544(0x13f)]=_0x4aef1f,this['testFrameworkVersions']=_0x2da78c,this[_0xe65544(0x11b)]=_0x297333;}[a98_0x56b3b2(0x138)](){const _0x5b5327=a98_0x56b3b2;return TestFramework[_0x5b5327(0x120)];}[a98_0x56b3b2(0x144)](_0x24064e,_0x554848){const _0x148569=a98_0x56b3b2;TestFramework[_0x148569(0x120)][_0x148569(0x12b)](_0x24064e[_0x148569(0x140)],_0x554848);}static[a98_0x56b3b2(0x129)](){const _0x4ce102=a98_0x56b3b2,_0x11ac68=TrackedInstance['createContext'](CLIUtils[_0x4ce102(0x133)]());return TestFramework[_0x4ce102(0x120)][_0x4ce102(0x128)](_0x11ac68[_0x4ce102(0x140)]());}static[a98_0x56b3b2(0x11a)](_0x3218ff,_0x18ce7e){const _0x55dbbf=a98_0x56b3b2;TestFramework[_0x55dbbf(0x120)][_0x55dbbf(0x12b)](_0x3218ff[_0x55dbbf(0x140)](),_0x18ce7e);}[a98_0x56b3b2(0x125)](){return this['testFrameworkVersions'];}['getTestFrameworks'](){const _0x119afc=a98_0x56b3b2;return this[_0x119afc(0x13f)];}[a98_0x56b3b2(0x11e)](_0x24524e,_0x36990b,_0x22953d={}){const _0x3750ee=a98_0x56b3b2;logger['debug'](_0x3750ee(0x12a)+_0x24524e+_0x3750ee(0x131)+_0x36990b);}async[a98_0x56b3b2(0x11d)](_0xdb305c,_0x4e2be6,_0x11f570,_0x22be88={}){const _0x4bfc80=a98_0x56b3b2,_0x3dac26=CLIUtils[_0x4bfc80(0x137)](_0x4e2be6,_0x11f570);_0xdb305c[_0x4bfc80(0x13c)](_0x4e2be6),_0xdb305c['setCurrentHookState'](_0x11f570),await eventDispatcher['notifyObserver'](_0x3dac26,_0x22be88);}static['registerObserver'](_0x4661f6,_0x3cf602,_0x2fb810){const _0x5e9b4a=a98_0x56b3b2;eventDispatcher[_0x5e9b4a(0x139)](CLIUtils['getHookRegistryKey'](_0x4661f6,_0x3cf602),_0x2fb810);}static[a98_0x56b3b2(0x11c)](_0x11ad31,_0x178129){const _0x42ca8a=a98_0x56b3b2;return _0x11ad31[_0x42ca8a(0x121)]()['get'](_0x178129);}static[a98_0x56b3b2(0x132)](_0x19733f,_0xfe00d7,_0x41687e){const _0x2ee0bd=a98_0x56b3b2;_0x19733f[_0x2ee0bd(0x121)]()['set'](_0xfe00d7,_0x41687e);}static[a98_0x56b3b2(0x13d)](_0xc1b832,_0xd0d794){const _0x14970b=a98_0x56b3b2;return _0xc1b832[_0x14970b(0x121)]()[_0x14970b(0x135)](_0xd0d794);}}module[a98_0x56b3b2(0x126)]=TestFramework;
@@ -1 +1 @@
1
- 'use strict';function a99_0x1fe4(){const _0x100843=['resolveInstance','debug','TestCafeAutomationFramework','getAutomationFrameworkName','trackEvent:\x20no\x20instance\x20for\x20state=','removeInstance','1658655xsDWno','info','qdVcW','lastIndexOf','40424GavoTS','trackEvent','nUbie','iterAllInstances','get','\x20→\x20','getTrackedInstance','NONE','instance','iKBZV','81028wQVcCd','leTgn','../state/automationFrameworkState.js','parseInt','821556CFemfh','3760190TMwTrt','2274970xYdllW','JcCin','\x22\x20platformIndex=','testcafe:','CREATE','hrtbo','18PkAoHw','instances','fHEQB','325eonRyl','qRuDh','delete','../../../helpers/classLogger.js','platformIndex','getAutomationFrameworkVersion','entries','slice','exports','11PCdRDk','set','3846640HlijIL','userAgent'];a99_0x1fe4=function(){return _0x100843;};return a99_0x1fe4();}const a99_0x18c0d0=a99_0x320b;(function(_0x93637,_0x39f90c){const _0x3cf549=a99_0x320b,_0x61f2b9=_0x93637();while(!![]){try{const _0x224567=parseInt(_0x3cf549(0xfc))/0x1*(-parseInt(_0x3cf549(0x114))/0x2)+parseInt(_0x3cf549(0x106))/0x3+-parseInt(_0x3cf549(0x10a))/0x4*(-parseInt(_0x3cf549(0xf3))/0x5)+parseInt(_0x3cf549(0xe8))/0x6+-parseInt(_0x3cf549(0xe9))/0x7+parseInt(_0x3cf549(0xfe))/0x8+parseInt(_0x3cf549(0xf0))/0x9*(-parseInt(_0x3cf549(0xea))/0xa);if(_0x224567===_0x39f90c)break;else _0x61f2b9['push'](_0x61f2b9['shift']());}catch(_0x4aab0b){_0x61f2b9['push'](_0x61f2b9['shift']());}}}(a99_0x1fe4,0x5f251));function a99_0x320b(_0x3efe4f,_0x463fa2){const _0x1fe460=a99_0x1fe4();return a99_0x320b=function(_0x320b4d,_0x5752f0){_0x320b4d=_0x320b4d-0xe7;let _0x3bbd18=_0x1fe460[_0x320b4d];return _0x3bbd18;},a99_0x320b(_0x3efe4f,_0x463fa2);}const AutomationFramework=require('./automationFramework.js'),AutomationFrameworkInstance=require('../instances/automationFrameworkInstance.js'),AutomationFrameworkState=require(a99_0x18c0d0(0x116)),TrackedInstance=require('../instances/trackedInstance.js'),{createClassLogger}=require(a99_0x18c0d0(0xf6)),logger=createClassLogger(a99_0x18c0d0(0x102));class TestCafeAutomationFramework extends AutomationFramework{constructor(_0x336077,_0x38a3d2){super(_0x336077,_0x38a3d2);}async[a99_0x18c0d0(0x10b)](_0x3b1611,_0x3ce087,_0x3681cb={}){const _0x23de9a=a99_0x18c0d0;await super[_0x23de9a(0x10b)](_0x3b1611,_0x3ce087,_0x3681cb);const _0x550f16=this['resolveInstance'](_0x3b1611,_0x3ce087,_0x3681cb);if(!_0x550f16){logger[_0x23de9a(0x101)](_0x23de9a(0x104)+_0x3b1611+'\x20hookState='+_0x3ce087);return;}_0x3681cb[_0x23de9a(0x112)]=_0x550f16,await this['runHooks'](_0x550f16,_0x3b1611,_0x3ce087,_0x3681cb);}[a99_0x18c0d0(0x100)](_0x2c7743,_0x5a7a81,_0xc2ba05={}){const _0x59b730=a99_0x18c0d0,_0x2ffeb3={};_0x2ffeb3[_0x59b730(0xeb)]='resolveInstance:\x20no\x20userAgent\x20in\x20args;\x20falling\x20back\x20to\x20default\x20tracked\x20instance',_0x2ffeb3[_0x59b730(0x115)]=function(_0x5ddedd,_0x146167){return _0x5ddedd===_0x146167;},_0x2ffeb3['hrtbo']=function(_0xeede01,_0x4d76f6){return _0xeede01||_0x4d76f6;};const _0x5b221b=_0x2ffeb3,_0x25c204=_0xc2ba05[_0x59b730(0xff)]||null;if(!_0x25c204)return logger['warn'](_0x5b221b[_0x59b730(0xeb)]),AutomationFramework[_0x59b730(0x110)]();const _0x22cbb6=Number['isInteger'](_0xc2ba05[_0x59b730(0xf7)])?_0xc2ba05[_0x59b730(0xf7)]:0x0,_0x133742=_0x59b730(0xed)+_0x25c204+'#'+_0x22cbb6;let _0x201c59=AutomationFramework['instances'][_0x59b730(0x10e)](_0x133742);if(!_0x201c59&&(_0x5b221b[_0x59b730(0x115)](_0x2c7743,AutomationFrameworkState[_0x59b730(0xee)])||_0x5b221b[_0x59b730(0x115)](_0x2c7743,AutomationFrameworkState[_0x59b730(0x111)]))){const _0x2b0268=TrackedInstance['createContext'](_0x133742);_0x201c59=new AutomationFrameworkInstance(_0x2b0268,this[_0x59b730(0x103)](),this[_0x59b730(0xf8)](),_0x2c7743),AutomationFramework[_0x59b730(0xf1)][_0x59b730(0xfd)](_0x133742,_0x201c59),logger[_0x59b730(0x107)]('resolveInstance:\x20created\x20instance\x20for\x20userAgent=\x22'+_0x25c204+_0x59b730(0xec)+_0x22cbb6+_0x59b730(0x10f)+_0x133742);}return _0x5b221b[_0x59b730(0xef)](_0x201c59,null);}static[a99_0x18c0d0(0x105)](_0xdb6df0,_0x52e355=0x0){const _0x22a5c3=a99_0x18c0d0,_0xd615b1=_0x22a5c3(0xed)+_0xdb6df0+'#'+_0x52e355;return AutomationFramework[_0x22a5c3(0xf1)][_0x22a5c3(0xf5)](_0xd615b1);}static['getInstanceByUserAgent'](_0x2fb895,_0x5bb562=0x0){const _0xf65d24=a99_0x18c0d0;return AutomationFramework[_0xf65d24(0xf1)][_0xf65d24(0x10e)](_0xf65d24(0xed)+_0x2fb895+'#'+_0x5bb562)||null;}static*[a99_0x18c0d0(0x10d)](){const _0x5ec39f=a99_0x18c0d0,_0x30c4f7={};_0x30c4f7[_0x5ec39f(0x108)]=function(_0xac9ac4,_0x4f7c2c){return _0xac9ac4===_0x4f7c2c;},_0x30c4f7[_0x5ec39f(0x10c)]='string',_0x30c4f7[_0x5ec39f(0xf2)]=_0x5ec39f(0xed),_0x30c4f7[_0x5ec39f(0x113)]=function(_0x5349f6,_0x442a98){return _0x5349f6===_0x442a98;},_0x30c4f7[_0x5ec39f(0xf4)]=function(_0x5481ac,_0x1c7171){return _0x5481ac+_0x1c7171;};const _0x30b4c9=_0x30c4f7;for(const [_0x3868c9,_0x242e67]of AutomationFramework[_0x5ec39f(0xf1)][_0x5ec39f(0xf9)]()){if(_0x30b4c9['qdVcW'](typeof _0x3868c9,_0x30b4c9[_0x5ec39f(0x10c)])&&_0x3868c9['startsWith'](_0x30b4c9[_0x5ec39f(0xf2)])){const _0x1ff3df=_0x3868c9[_0x5ec39f(0xfa)](_0x30b4c9['fHEQB']['length']),_0x2901cd=_0x1ff3df[_0x5ec39f(0x109)]('#');if(_0x30b4c9['iKBZV'](_0x2901cd,-0x1)){const _0x568168={};_0x568168['userAgent']=_0x1ff3df,_0x568168[_0x5ec39f(0xf7)]=0x0,_0x568168[_0x5ec39f(0x112)]=_0x242e67,yield _0x568168;}else{const _0x28b3e8=_0x1ff3df[_0x5ec39f(0xfa)](0x0,_0x2901cd),_0x165bb1=Number[_0x5ec39f(0xe7)](_0x1ff3df[_0x5ec39f(0xfa)](_0x30b4c9[_0x5ec39f(0xf4)](_0x2901cd,0x1)),0xa)||0x0,_0x155fdb={};_0x155fdb[_0x5ec39f(0xff)]=_0x28b3e8,_0x155fdb['platformIndex']=_0x165bb1,_0x155fdb['instance']=_0x242e67,yield _0x155fdb;}}}}}module[a99_0x18c0d0(0xfb)]=TestCafeAutomationFramework;
1
+ 'use strict';const a99_0x2b6778=a99_0x26b7;(function(_0x466744,_0x34e0f6){const _0x3f926d=a99_0x26b7,_0x3ba5f7=_0x466744();while(!![]){try{const _0x57a9f9=-parseInt(_0x3f926d(0x146))/0x1+-parseInt(_0x3f926d(0x147))/0x2*(parseInt(_0x3f926d(0x12c))/0x3)+-parseInt(_0x3f926d(0x129))/0x4+-parseInt(_0x3f926d(0x14c))/0x5*(parseInt(_0x3f926d(0x125))/0x6)+parseInt(_0x3f926d(0x136))/0x7+parseInt(_0x3f926d(0x130))/0x8+parseInt(_0x3f926d(0x13b))/0x9;if(_0x57a9f9===_0x34e0f6)break;else _0x3ba5f7['push'](_0x3ba5f7['shift']());}catch(_0xfe4968){_0x3ba5f7['push'](_0x3ba5f7['shift']());}}}(a99_0x4082,0x82b8b));const AutomationFramework=require('./automationFramework.js'),AutomationFrameworkInstance=require(a99_0x2b6778(0x12a)),AutomationFrameworkState=require(a99_0x2b6778(0x11f)),TrackedInstance=require(a99_0x2b6778(0x134)),{createClassLogger}=require(a99_0x2b6778(0x137)),logger=createClassLogger(a99_0x2b6778(0x14a));class TestCafeAutomationFramework extends AutomationFramework{constructor(_0x828ca9,_0x4a4821){super(_0x828ca9,_0x4a4821);}async[a99_0x2b6778(0x139)](_0x442527,_0x3c69c5,_0x46e14b={}){const _0x4e4656=a99_0x2b6778;await super[_0x4e4656(0x139)](_0x442527,_0x3c69c5,_0x46e14b);const _0x3ac99d=this[_0x4e4656(0x13e)](_0x442527,_0x3c69c5,_0x46e14b);if(!_0x3ac99d){logger[_0x4e4656(0x144)](_0x4e4656(0x11d)+_0x442527+_0x4e4656(0x13a)+_0x3c69c5);return;}_0x46e14b[_0x4e4656(0x12b)]=_0x3ac99d,await this['runHooks'](_0x3ac99d,_0x442527,_0x3c69c5,_0x46e14b);}[a99_0x2b6778(0x13e)](_0x1afe2e,_0x336a2c,_0x1aebf7={}){const _0x71bd6e=a99_0x2b6778,_0xa7bd92={};_0xa7bd92[_0x71bd6e(0x11b)]='resolveInstance:\x20no\x20userAgent\x20in\x20args;\x20falling\x20back\x20to\x20default\x20tracked\x20instance',_0xa7bd92['qvvQH']=function(_0x579d45,_0xe27e8e){return _0x579d45===_0xe27e8e;},_0xa7bd92[_0x71bd6e(0x127)]=function(_0x47807a,_0x2ed377){return _0x47807a||_0x2ed377;};const _0x555245=_0xa7bd92,_0x178aac=_0x1aebf7[_0x71bd6e(0x132)]||null;if(!_0x178aac)return logger['warn'](_0x555245[_0x71bd6e(0x11b)]),AutomationFramework[_0x71bd6e(0x122)]();const _0x5792b4=Number[_0x71bd6e(0x13f)](_0x1aebf7[_0x71bd6e(0x14b)])?_0x1aebf7[_0x71bd6e(0x14b)]:0x0,_0x496546=_0x71bd6e(0x143)+_0x178aac+'#'+_0x5792b4;let _0x34c2f9=AutomationFramework['instances'][_0x71bd6e(0x142)](_0x496546);if(!_0x34c2f9&&(_0x555245[_0x71bd6e(0x140)](_0x1afe2e,AutomationFrameworkState['CREATE'])||_0x555245[_0x71bd6e(0x140)](_0x1afe2e,AutomationFrameworkState[_0x71bd6e(0x11a)]))){const _0x57c022=TrackedInstance[_0x71bd6e(0x121)](_0x496546);_0x34c2f9=new AutomationFrameworkInstance(_0x57c022,this[_0x71bd6e(0x12d)](),this[_0x71bd6e(0x131)](),_0x1afe2e),AutomationFramework[_0x71bd6e(0x133)][_0x71bd6e(0x13d)](_0x496546,_0x34c2f9),logger[_0x71bd6e(0x145)]('resolveInstance:\x20created\x20instance\x20for\x20userAgent=\x22'+_0x178aac+_0x71bd6e(0x141)+_0x5792b4+_0x71bd6e(0x148)+_0x496546);}return _0x555245[_0x71bd6e(0x127)](_0x34c2f9,null);}static[a99_0x2b6778(0x126)](_0x40d237,_0x57b7fc=0x0){const _0x4feecf=a99_0x2b6778,_0x756052=_0x4feecf(0x143)+_0x40d237+'#'+_0x57b7fc;return AutomationFramework[_0x4feecf(0x133)][_0x4feecf(0x149)](_0x756052);}static[a99_0x2b6778(0x14d)](_0x14350c,_0xe5d3e=0x0){const _0x2fb6e6=a99_0x2b6778;return AutomationFramework[_0x2fb6e6(0x133)]['get'](_0x2fb6e6(0x143)+_0x14350c+'#'+_0xe5d3e)||null;}static*[a99_0x2b6778(0x135)](){const _0x846c7f=a99_0x2b6778,_0x5008a8={};_0x5008a8[_0x846c7f(0x12e)]=function(_0x2bef2f,_0x5340f9){return _0x2bef2f===_0x5340f9;},_0x5008a8[_0x846c7f(0x128)]=_0x846c7f(0x123),_0x5008a8[_0x846c7f(0x119)]=_0x846c7f(0x143),_0x5008a8[_0x846c7f(0x120)]=function(_0x2d4b32,_0x19b9ed){return _0x2d4b32+_0x19b9ed;};const _0x2dd0f0=_0x5008a8;for(const [_0x13b896,_0x32574b]of AutomationFramework[_0x846c7f(0x133)][_0x846c7f(0x12f)]()){if(_0x2dd0f0[_0x846c7f(0x12e)](typeof _0x13b896,_0x2dd0f0[_0x846c7f(0x128)])&&_0x13b896[_0x846c7f(0x11e)](_0x2dd0f0[_0x846c7f(0x119)])){const _0x42dfc3=_0x13b896['slice'](_0x2dd0f0[_0x846c7f(0x119)][_0x846c7f(0x11c)]),_0x198f52=_0x42dfc3[_0x846c7f(0x138)]('#');if(_0x2dd0f0['mdvye'](_0x198f52,-0x1)){const _0x4a0a33={};_0x4a0a33[_0x846c7f(0x132)]=_0x42dfc3,_0x4a0a33[_0x846c7f(0x14b)]=0x0,_0x4a0a33[_0x846c7f(0x12b)]=_0x32574b,yield _0x4a0a33;}else{const _0x5232a1=_0x42dfc3[_0x846c7f(0x124)](0x0,_0x198f52),_0x57b831=Number[_0x846c7f(0x13c)](_0x42dfc3[_0x846c7f(0x124)](_0x2dd0f0[_0x846c7f(0x120)](_0x198f52,0x1)),0xa)||0x0,_0x4a71be={};_0x4a71be[_0x846c7f(0x132)]=_0x5232a1,_0x4a71be[_0x846c7f(0x14b)]=_0x57b831,_0x4a71be['instance']=_0x32574b,yield _0x4a71be;}}}}}function a99_0x26b7(_0x1a17e0,_0x3d0067){const _0x408227=a99_0x4082();return a99_0x26b7=function(_0x26b704,_0x20b855){_0x26b704=_0x26b704-0x119;let _0x39f140=_0x408227[_0x26b704];return _0x39f140;},a99_0x26b7(_0x1a17e0,_0x3d0067);}module['exports']=TestCafeAutomationFramework;function a99_0x4082(){const _0x5eb256=['getAutomationFrameworkVersion','userAgent','instances','../instances/trackedInstance.js','iterAllInstances','6600671FpIFKr','../../../helpers/classLogger.js','lastIndexOf','trackEvent','\x20hookState=','9464427LAfBnV','parseInt','set','resolveInstance','isInteger','qvvQH','\x22\x20platformIndex=','get','testcafe:','debug','info','404970UqJJAE','2htxVCO','\x20→\x20','delete','TestCafeAutomationFramework','platformIndex','5exgzqs','getInstanceByUserAgent','ZbcXo','NONE','tVOyU','length','trackEvent:\x20no\x20instance\x20for\x20state=','startsWith','../state/automationFrameworkState.js','AbLkA','createContext','getTrackedInstance','string','slice','5438154rkOrCf','removeInstance','unwJN','GQBMp','4101200QRUEEB','../instances/automationFrameworkInstance.js','instance','138585LaPUbM','getAutomationFrameworkName','mdvye','entries','7389624ugeCGO'];a99_0x4082=function(){return _0x5eb256;};return a99_0x4082();}