browserstack-node-sdk 1.65.5 → 1.65.7

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_0x1b0677=a96_0x3bcb;(function(_0x55cade,_0x1ad983){const _0x3a8e38=a96_0x3bcb,_0x1f648e=_0x55cade();while(!![]){try{const _0x342e55=parseInt(_0x3a8e38(0x251))/0x1*(-parseInt(_0x3a8e38(0x19e))/0x2)+-parseInt(_0x3a8e38(0x1e4))/0x3*(-parseInt(_0x3a8e38(0x268))/0x4)+parseInt(_0x3a8e38(0x230))/0x5*(parseInt(_0x3a8e38(0x299))/0x6)+-parseInt(_0x3a8e38(0x1f6))/0x7+-parseInt(_0x3a8e38(0x1a1))/0x8*(-parseInt(_0x3a8e38(0x238))/0x9)+-parseInt(_0x3a8e38(0x275))/0xa+parseInt(_0x3a8e38(0x1e0))/0xb;if(_0x342e55===_0x1ad983)break;else _0x1f648e['push'](_0x1f648e['shift']());}catch(_0x2aabc3){_0x1f648e['push'](_0x1f648e['shift']());}}}(a96_0x475d,0xa43ea));const TestFramework=require(a96_0x1b0677(0x1a7)),TestFrameworkState=require(a96_0x1b0677(0x1a8)),HookState=require('../state/hookState.js'),{createClassLogger}=require(a96_0x1b0677(0x296)),TestFrameworkInstance=require(a96_0x1b0677(0x269)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a96_0x1b0677(0x240)),TestFrameworkConstants=require(a96_0x1b0677(0x21e)),logger=createClassLogger(a96_0x1b0677(0x26c)),{v4:uuidv4}=require(a96_0x1b0677(0x207)),util=require(a96_0x1b0677(0x243)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a96_0x1b0677(0x297)),TestInfo=require('../TestInfo.js'),GrpcClient=require(a96_0x1b0677(0x1da)),{removeAnsiColors,getFailureType,failureData}=require(a96_0x1b0677(0x1ff)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a96_0x1b0677(0x215)),{findNestedKey,sendTraceZip,validateFilePath}=require(a96_0x1b0677(0x215)),path=require(a96_0x1b0677(0x27c)),fs=require('fs'),helper=require(a96_0x1b0677(0x24a)),{PLAYWRIGHT_TRACE_LOGS}=require(a96_0x1b0677(0x1d4)),PLAYWRIGHT_BUILTIN_ANNOTATIONS=new Set([a96_0x1b0677(0x298),a96_0x1b0677(0x1f8),'slow','fail']);class PlaywrightTestFramework extends TestFramework{constructor(_0x1cf3c1,_0x57ab34,_0x5f0c72){super(_0x1cf3c1,_0x57ab34,_0x5f0c72);}async[a96_0x1b0677(0x1ad)](_0x176f22,_0x55e898,_0x1b8254={}){const _0x210743=a96_0x1b0677,_0x410e1c={'HCwtE':function(_0x4bc147,_0x1f2952){return _0x4bc147===_0x1f2952;},'DbuJV':function(_0x35b447,_0x151674){return _0x35b447===_0x151674;},'rYUoA':function(_0x176930,_0x170db2,_0x1bee7e){return _0x176930(_0x170db2,_0x1bee7e);},'sdMLy':function(_0x586dde,_0x5e1bfe){return _0x586dde===_0x5e1bfe;},'MYMGC':function(_0x46cd2b,_0x21edf9){return _0x46cd2b===_0x21edf9;},'duEpw':function(_0x2ef656,_0xe4496b,_0x5a344d){return _0x2ef656(_0xe4496b,_0x5a344d);},'FGiKm':function(_0x1229ff,_0x4affab,_0x116a4d,_0x3690e8){return _0x1229ff(_0x4affab,_0x116a4d,_0x3690e8);},'giIaP':_0x210743(0x1cd),'PBZfw':_0x210743(0x1d6)};super[_0x210743(0x1ad)](_0x176f22,_0x55e898,_0x1b8254);if(_0x410e1c[_0x210743(0x1f5)](_0x176f22,TestFrameworkState[_0x210743(0x1af)])){const _0x4881b5=TestInfo[_0x210743(0x1db)](_0x1b8254[_0x210743(0x1cd)],_0x1b8254[_0x210743(0x1cd)]['retry']);TestInfo[_0x210743(0x216)](_0x4881b5,_0x1b8254[_0x210743(0x226)],!![]);}if(_0x410e1c[_0x210743(0x1f5)](_0x176f22,TestFrameworkState[_0x210743(0x233)])){this[_0x210743(0x1f7)](_0x176f22,_0x55e898,_0x1b8254);return;}const _0xb28271=this[_0x210743(0x235)](_0x176f22,_0x55e898,_0x1b8254);if(!_0xb28271)return;logger['debug'](_0x210743(0x256)+_0x176f22+'\x20hookState='+_0x55e898+'\x20instanceId='+_0xb28271[_0x210743(0x2a0)]());try{if(_0x410e1c['DbuJV'](_0x55e898,HookState[_0x210743(0x232)])&&_0x410e1c['DbuJV'](_0x176f22,TestFrameworkState['TEST'])){const _0x1858f6=_0x1b8254['test'];logger['debug']('trackEvent\x20loading\x20testData\x20for\x20testId:\x20'+_0x1858f6['id']+'}');const _0x2cb6e0=TestInfo[_0x210743(0x1e9)](_0x410e1c['rYUoA'](getTestRunIdentifier,_0x1858f6,_0x1b8254[_0x210743(0x226)][_0x210743(0x1b0)]));_0xb28271[_0x210743(0x23e)](this[_0x210743(0x200)](_0x2cb6e0,_0x1858f6,_0x1b8254[_0x210743(0x226)])),logger[_0x210743(0x22f)](_0x210743(0x1c9)+_0x1858f6['id']+',\x20testFrameworkState='+_0x176f22+_0x210743(0x19c)+_0x55e898+_0x210743(0x196)+_0xb28271[_0x210743(0x2a0)]());}if(_0x410e1c['sdMLy'](_0x55e898,HookState['POST'])&&_0x410e1c[_0x210743(0x1a9)](_0x176f22,TestFrameworkState['TEST'])){const _0x5b9b66=_0x1b8254[_0x210743(0x1cd)],_0x2e7423=_0x1b8254[_0x210743(0x226)];logger[_0x210743(0x22f)](_0x210743(0x260)+_0x5b9b66['id']);const _0x42f957=_0x410e1c[_0x210743(0x1d1)](getTestRunIdentifier,_0x5b9b66,_0x2e7423[_0x210743(0x1b0)]),_0x1868be=_0xb28271[_0x210743(0x1df)]()['get'](_0x42f957)[TestFrameworkConstants[_0x210743(0x27b)]],{steps:_0x2316c8,logs:_0x15e45a}=_0x410e1c[_0x210743(0x198)](getStepsAndLogs,_0x2e7423[_0x210743(0x289)],_0x1868be,_0x410e1c[_0x210743(0x1c6)]);_0xb28271[_0x210743(0x23e)](this[_0x210743(0x25f)](_0x5b9b66['id'],_0x2e7423,_0x5b9b66,_0x2316c8)),await this['sendLogCreatedEvent'](_0xb28271,_0x176f22,_0x55e898,_0x410e1c['giIaP'],_0x1b8254,_0x15e45a);}if(CLIUtils[_0x210743(0x1b6)](_0x176f22[_0x210743(0x274)]()[_0x210743(0x1c7)]('.')[0x1])){const _0x5c7a35=await this['trackHookEvent'](_0xb28271,_0x176f22,_0x55e898,_0x1b8254);_0xb28271[_0x210743(0x23e)](_0x5c7a35);}}catch(_0xd47dcd){logger[_0x210743(0x1fb)](util[_0x210743(0x1cb)](_0x410e1c['PBZfw'],_0x176f22,_0x55e898,_0x1b8254[_0x210743(0x1b4)],_0xd47dcd));}_0x1b8254[_0x210743(0x210)]=_0xb28271,await this['runHooks'](_0xb28271,_0x176f22,_0x55e898,_0x1b8254);}[a96_0x1b0677(0x235)](_0x3eb616,_0x3b5710,_0x35f913={}){const _0x5d8e21=a96_0x1b0677,_0x501a59={};_0x501a59['rxUmm']=function(_0x2e7ade,_0x4ead6b){return _0x2e7ade===_0x4ead6b;},_0x501a59['WHMYL']=function(_0x2b36de,_0x5d0c86){return _0x2b36de===_0x5d0c86;};const _0x498bbd=_0x501a59;let _0x3cef56=null;return(_0x498bbd[_0x5d8e21(0x227)](_0x3eb616,TestFrameworkState[_0x5d8e21(0x23f)])||_0x498bbd[_0x5d8e21(0x1f2)](_0x3eb616,TestFrameworkState[_0x5d8e21(0x278)]))&&this[_0x5d8e21(0x1ea)](_0x3eb616,_0x35f913),_0x3cef56=TestFramework[_0x5d8e21(0x254)](),_0x3cef56;}[a96_0x1b0677(0x1ea)](_0x300aea,_0x8f9fac){const _0x3b0816=a96_0x1b0677,_0x456fc4=CLIUtils[_0x3b0816(0x203)](),_0x2836a7=TrackedInstance['createContext'](_0x456fc4);let _0x9a8b33=null;logger[_0x3b0816(0x218)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x456fc4+_0x3b0816(0x25e)+_0x300aea),_0x9a8b33=new TestFrameworkInstance(_0x2836a7,this[_0x3b0816(0x26e)](),this[_0x3b0816(0x26b)](),_0x300aea,HookState[_0x3b0816(0x278)]),TestFramework[_0x3b0816(0x265)](_0x2836a7,_0x9a8b33),logger['info']('trackPlaywrightInstance:\x20saved\x20instance\x20contextId='+_0x2836a7[_0x3b0816(0x19a)]()+_0x3b0816(0x220)+_0x456fc4);}['parsePlaywrightTest'](_0xee3a9,_0x5b5e3d,_0x55f8f4){const _0x4811b3=a96_0x1b0677,_0x3069e1={'qWBZI':function(_0x7d76c7,_0x2ef53e){return _0x7d76c7(_0x2ef53e);},'amHZi':function(_0x4a3902,_0x5eeb0d){return _0x4a3902(_0x5eeb0d);},'TvBOL':function(_0x56dfd7,_0x493efe){return _0x56dfd7(_0x493efe);},'OsSKQ':function(_0x412e32,_0x4f0700){return _0x412e32(_0x4f0700);},'gLRAB':function(_0x26d91a,_0xe082dc){return _0x26d91a(_0xe082dc);},'jLaUm':function(_0x3f9fb4,_0x1099b7,_0x39ed87){return _0x3f9fb4(_0x1099b7,_0x39ed87);}},_0x3b9ba7=_0x3069e1[_0x4811b3(0x241)](getPlaywrightTestId,_0x5b5e3d),_0x3579c8=_0x3069e1[_0x4811b3(0x241)](getPlaywrightTestTitle,_0x5b5e3d),_0x252be4=_0x3069e1['amHZi'](getTestTags,_0x5b5e3d),_0x29bbe9=_0x3069e1[_0x4811b3(0x23d)](getPlaywrightTestCode,_0x5b5e3d),_0x55c5cc=_0x3069e1[_0x4811b3(0x241)](getPlaywrightTestFilePath,_0x5b5e3d),_0x14f6d9=_0x55c5cc,_0x326832=_0x3069e1[_0x4811b3(0x290)](getPlaywrightTestScope,_0x5b5e3d),_0xef472=_0x3069e1[_0x4811b3(0x23d)](getPlaywrightTestScopes,_0x5b5e3d),_0x4a067a=_0x3069e1[_0x4811b3(0x252)](getPlaywrightSessionName,_0x5b5e3d),_0x4efb4c=this[_0x4811b3(0x26e)]()[0x0],_0x5db591=_0x3069e1['jLaUm'](getTestRunIdentifier,_0x5b5e3d,_0x55f8f4['retry']),_0x3f4ae9={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x4efb4c,[TestFrameworkConstants[_0x4811b3(0x258)]]:this['getTestFrameworksVersions']()[_0x4efb4c],[TestFrameworkConstants[_0x4811b3(0x292)]]:[],[TestFrameworkConstants[_0x4811b3(0x229)]]:{},[TestFrameworkConstants[_0x4811b3(0x1bc)]]:{},[TestFrameworkConstants['KEY_TEST_UUID']]:_0xee3a9,[TestFrameworkConstants[_0x4811b3(0x29a)]]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0x4811b3(0x261)]]:_0x4a067a,[TestFrameworkConstants[_0x4811b3(0x280)]]:_0x55c5cc,[TestFrameworkConstants[_0x4811b3(0x19d)]]:_0x3b9ba7,[TestFrameworkConstants[_0x4811b3(0x27e)]]:_0x3579c8,[TestFrameworkConstants[_0x4811b3(0x1d3)]]:_0x14f6d9,[TestFrameworkConstants['KEY_TEST_CODE']]:_0x29bbe9,[TestFrameworkConstants[_0x4811b3(0x267)]]:_0x252be4,[TestFrameworkConstants[_0x4811b3(0x21a)]]:_0x5b5e3d[_0x4811b3(0x242)][0x0][_0x4811b3(0x262)],[TestFrameworkConstants[_0x4811b3(0x1a2)]]:_0x326832,[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0xef472,[TestFrameworkConstants[_0x4811b3(0x1c8)]]:_0x3069e1[_0x4811b3(0x241)](getPlaywrightCustomRerunParam,_0x5b5e3d)};TestInfo['setTestDetails'](_0x5db591,_0x3f4ae9);const _0x57514e={};return _0x57514e[_0x5db591]=_0x3f4ae9,_0x57514e;}[a96_0x1b0677(0x25f)](_0x29f55f,_0x1ef496,_0xcf7d3f,_0x330c95){const _0x5227ef=a96_0x1b0677,_0xa90226={'aLqHB':function(_0x6a04d6,_0xc3042e){return _0x6a04d6(_0xc3042e);},'mXKyL':_0x5227ef(0x1c2),'YjMbt':function(_0x976eac,_0x4395f7){return _0x976eac===_0x4395f7;},'EOLYn':function(_0x1d2fe5,_0x5abe8f){return _0x1d2fe5(_0x5abe8f);},'lnIgN':'No\x20reason\x20provided','VCReO':function(_0x314dfa,_0x4f30bf,_0x4be58c){return _0x314dfa(_0x4f30bf,_0x4be58c);},'wqrCS':function(_0x582a6b,_0x492d41){return _0x582a6b===_0x492d41;},'IqZxO':_0x5227ef(0x1fe),'dZxfR':'passed','DplMt':function(_0x146764,_0x4df94b){return _0x146764===_0x4df94b;},'GZGpT':_0x5227ef(0x282),'BdpxQ':'timedOut','tHNSd':_0x5227ef(0x1a5),'mujTQ':function(_0x368e5a,_0x457bad,_0xe6b3ab){return _0x368e5a(_0x457bad,_0xe6b3ab);},'QsKVq':function(_0x22557e,_0x1d472e){return _0x22557e||_0x1d472e;},'VjFyL':function(_0x3ff364,_0x527178){return _0x3ff364(_0x527178);},'UqqJk':function(_0x113974,_0x1ad543){return _0x113974(_0x1ad543);},'Ramew':function(_0x30a610,_0x209f77){return _0x30a610>_0x209f77;},'jnMMH':function(_0x3b70aa,_0x7c963f,_0x2008e1){return _0x3b70aa(_0x7c963f,_0x2008e1);},'NdWBW':function(_0x597ae1,_0x37671e){return _0x597ae1-_0x37671e;},'JjChP':function(_0x54e29b,_0x3a588a,_0xd398ba,_0x412567){return _0x54e29b(_0x3a588a,_0xd398ba,_0x412567);},'WqUpr':'test','fVtqd':function(_0x384914,_0x44f206){return _0x384914===_0x44f206;},'PKYzt':function(_0x373ccb,_0x59a8e3){return _0x373ccb>=_0x59a8e3;},'TQHfz':function(_0x301664,_0x27915c){return _0x301664+_0x27915c;},'baMBS':function(_0x392f68,_0x508553,_0x73e672){return _0x392f68(_0x508553,_0x73e672);},'NWxJq':_0x5227ef(0x27c),'mZMAq':function(_0xfe12ce,_0x34f1b8){return _0xfe12ce(_0x34f1b8);},'KHSzj':function(_0x4b36a6,_0x1b45b3){return _0x4b36a6>_0x1b45b3;},'PoNTq':function(_0x19aeee,_0x5bb4d4,_0x150843){return _0x19aeee(_0x5bb4d4,_0x150843);},'HgCYA':function(_0x3e3a20,_0x49390d){return _0x3e3a20(_0x49390d);},'vUDBe':_0x5227ef(0x23b)};logger['debug'](_0x5227ef(0x287)+_0x29f55f);const _0x19a086=_0xa90226[_0x5227ef(0x1ca)](getTestRunIdentifier,_0xcf7d3f,_0x1ef496[_0x5227ef(0x1b0)]),_0x2cbca5=new Date(),_0x540741=_0x1ef496[_0x5227ef(0x199)],_0xb52f26=TestInfo['getTestDetails'](_0x19a086)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};let _0x13e110=_0x540741;if(_0xa90226[_0x5227ef(0x20b)](_0x1ef496[_0x5227ef(0x199)],_0xcf7d3f['expectedStatus']))_0x13e110=_0xa90226[_0x5227ef(0x223)](_0x1ef496[_0x5227ef(0x199)],_0xa90226[_0x5227ef(0x1e6)])?_0xa90226[_0x5227ef(0x1e6)]:_0xa90226[_0x5227ef(0x24c)];else{(_0xa90226[_0x5227ef(0x273)](_0x13e110,_0xa90226[_0x5227ef(0x24c)])||_0xa90226[_0x5227ef(0x223)](_0x13e110,_0xa90226['GZGpT'])||_0xa90226[_0x5227ef(0x223)](_0x13e110,_0xa90226[_0x5227ef(0x209)]))&&(_0x13e110=_0xa90226[_0x5227ef(0x281)]);if(_0xa90226[_0x5227ef(0x20b)](_0x1ef496['status'],_0xa90226[_0x5227ef(0x24c)])&&_0xa90226[_0x5227ef(0x20b)](_0xcf7d3f['expectedStatus'],_0xa90226['GZGpT'])){const _0x29fc01={};_0x29fc01[_0x5227ef(0x214)]=_0xa90226[_0x5227ef(0x29c)],_0x29fc01['stack']=_0xa90226[_0x5227ef(0x29c)],_0x1ef496['error']=_0x29fc01,_0x1ef496[_0x5227ef(0x236)]=[_0x1ef496[_0x5227ef(0x1fb)]];}}const {failureData:_0x4ed340,logs:_0x3cbc52}=_0xa90226['mujTQ'](getFailureData,_0x1ef496?.[_0x5227ef(0x236)],{}),_0x3600a3={[TestFrameworkConstants[_0x5227ef(0x208)]]:_0xa90226['QsKVq'](_0x4ed340,null),[TestFrameworkConstants[_0x5227ef(0x24f)]]:_0x1ef496?.['error']&&_0xa90226[_0x5227ef(0x291)](getFailureType,_0x1ef496[_0x5227ef(0x1fb)][_0x5227ef(0x214)]),[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]:_0x1ef496?.['error']&&_0xa90226[_0x5227ef(0x25d)](removeAnsiColors,_0x1ef496['error'][_0x5227ef(0x214)]),[TestFrameworkConstants[_0x5227ef(0x1d2)]]:[],[TestFrameworkConstants[_0x5227ef(0x29a)]]:_0x13e110,[TestFrameworkConstants[_0x5227ef(0x25b)]]:_0x2cbca5[_0x5227ef(0x237)](),[TestFrameworkConstants[_0x5227ef(0x219)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x5227ef(0x284)]]:_0xb52f26};if(_0x1ef496&&_0xa90226[_0x5227ef(0x1fc)](_0x1ef496[_0x5227ef(0x1b0)],0x0)){const _0x286553=TestInfo[_0x5227ef(0x1e9)](_0xa90226[_0x5227ef(0x1ed)](getTestRunIdentifier,_0xcf7d3f,_0xa90226['NdWBW'](_0x1ef496[_0x5227ef(0x1b0)],0x1)));_0x3600a3[TestFrameworkConstants[_0x5227ef(0x29e)]]=_0x286553;}const _0x5b7dcd={};_0x5b7dcd[_0x5227ef(0x1cd)]=_0xcf7d3f;const _0x5bb441=this[_0x5227ef(0x235)](TestFrameworkState[_0x5227ef(0x1ee)],HookState[_0x5227ef(0x1a4)],_0x5b7dcd),_0x23582c=_0x5bb441['getAllData']()['get'](_0x19a086)[TestFrameworkConstants[_0x5227ef(0x27b)]],_0x54b410=_0x330c95||_0xa90226[_0x5227ef(0x25c)](getStepsAndLogs,_0x1ef496[_0x5227ef(0x289)],_0x23582c,_0xa90226[_0x5227ef(0x20c)])['steps'],_0x177848=new Map(),_0x9ebd61=new Map();let _0x482f01=0x0;const _0x27b80b=[];for(const _0x5391b9 of _0x54b410||[]){const _0x1acd24=_0x5391b9[_0x5227ef(0x26d)]||null;let _0x2032c7;if(_0xa90226[_0x5227ef(0x20f)](_0x1acd24,null)){if(_0xa90226[_0x5227ef(0x221)](_0x482f01,TestFrameworkConstants[_0x5227ef(0x21b)]))continue;_0x2032c7=0x0,_0x482f01++;}else{const _0x31ecc3=_0x177848[_0x5227ef(0x1b5)](_0x1acd24);if(_0xa90226[_0x5227ef(0x20f)](_0x31ecc3,undefined))continue;_0x2032c7=_0xa90226[_0x5227ef(0x1a6)](_0x31ecc3,0x1);if(_0xa90226[_0x5227ef(0x1fc)](_0x2032c7,TestFrameworkConstants[_0x5227ef(0x1c4)]))continue;}_0x177848[_0x5227ef(0x1b9)](_0x5391b9['id'],_0x2032c7),_0x9ebd61[_0x5227ef(0x1b9)](_0x5391b9['id'],_0x5391b9[_0x5227ef(0x197)]),_0x27b80b[_0x5227ef(0x1a3)]({'id':_0x5391b9['id'],'parent_id':_0x1acd24,'parent_text':_0x1acd24?_0x9ebd61['get'](_0x1acd24)||'':'','text':_0x5391b9[_0x5227ef(0x197)],'keyword':_0x5391b9[_0x5227ef(0x1bb)]||null,'started_at':_0x5391b9['started_at'],'duration':_0x5391b9[_0x5227ef(0x1b8)]??null,'result':_0x5391b9[_0x5227ef(0x226)],'failure':_0x5391b9[_0x5227ef(0x22a)]||null,'failure_type':_0x5391b9[_0x5227ef(0x247)]||null});}const _0x250379={};_0x250379[_0x5227ef(0x289)]=_0x27b80b,_0x3600a3[TestFrameworkConstants[_0x5227ef(0x23a)]]=_0x250379,logger[_0x5227ef(0x22f)](_0x5227ef(0x1fd)+_0x27b80b[_0x5227ef(0x1b4)]+_0x5227ef(0x224)+_0x29f55f);const _0xe8c90d=[],_0x51020c=_0xa90226[_0x5227ef(0x20d)](findNestedKey,_0x1ef496,_0xa90226[_0x5227ef(0x1d7)]);if(_0x51020c&&_0xa90226[_0x5227ef(0x245)](validateFilePath,_0x51020c))try{_0xe8c90d[_0x5227ef(0x1a3)]({'kind':_0xa90226['mXKyL'],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0x23582c,'file_name':path[_0x5227ef(0x246)](_0x51020c),'file_size':fs[_0x5227ef(0x255)](_0x51020c)[_0x5227ef(0x1e2)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x1013b7){logger[_0x5227ef(0x1fb)]('Error\x20processing\x20direct\x20trace\x20file\x20'+_0x51020c+':\x20'+_0x1013b7[_0x5227ef(0x214)]);}const _0x4ad1ce=TestInfo[_0x5227ef(0x249)](),_0x3d2ceb=_0x4ad1ce[_0x5227ef(0x22b)](_0x4ba6f4=>_0x4ba6f4[_0x5227ef(0x1d9)]===_0x23582c);_0x3d2ceb[_0x5227ef(0x239)](_0x5a4def=>{const _0x2681a1=_0x5227ef;if(_0x5a4def[_0x2681a1(0x1c3)]&&_0xa90226[_0x2681a1(0x1e1)](validateFilePath,_0x5a4def['filePath'])&&!_0xe8c90d[_0x2681a1(0x253)](_0x7a367b=>_0x7a367b['file_name']===path[_0x2681a1(0x246)](_0x5a4def[_0x2681a1(0x1c3)])))try{_0xe8c90d[_0x2681a1(0x1a3)]({'kind':_0xa90226[_0x2681a1(0x28b)],'timestamp':new Date()[_0x2681a1(0x237)](),'test_run_uuid':_0x23582c,'file_name':path[_0x2681a1(0x246)](_0x5a4def['filePath']),'file_size':fs[_0x2681a1(0x255)](_0x5a4def[_0x2681a1(0x1c3)])[_0x2681a1(0x1e2)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x4f8400){logger[_0x2681a1(0x1fb)](_0x2681a1(0x1aa)+_0x5a4def['filePath']+_0x2681a1(0x286)+_0x4f8400[_0x2681a1(0x214)]);}});if(_0xa90226[_0x5227ef(0x28e)](_0xe8c90d[_0x5227ef(0x1b4)],0x0)){const _0x5520f8=_0x3600a3[TestFrameworkConstants[_0x5227ef(0x1d2)]]||[];_0x3600a3[TestFrameworkConstants[_0x5227ef(0x1d2)]]=[..._0x5520f8,..._0xe8c90d];}const _0x4cc5a1=TestInfo[_0x5227ef(0x26a)](_0x19a086)[TestFrameworkConstants[_0x5227ef(0x277)]]||{},_0x4a95d0=_0xa90226['PoNTq'](getManualUploadLogs,_0x4cc5a1,_0x5bb441['getAllData']()[_0x5227ef(0x1b5)](_0x19a086)[TestFrameworkConstants[_0x5227ef(0x27b)]]);if(_0xa90226[_0x5227ef(0x1fc)](_0x4a95d0[_0x5227ef(0x1b4)],0x0)){const _0x1c377a=_0x3600a3[TestFrameworkConstants[_0x5227ef(0x1d2)]]||[];_0x3600a3[TestFrameworkConstants[_0x5227ef(0x1d2)]]=[..._0x1c377a,..._0x4a95d0];}const _0x545fef=_0xcf7d3f[_0x5227ef(0x259)]||[],_0x4d3562=_0x3600a3[TestFrameworkConstants[_0x5227ef(0x284)]]||{},_0x1162d0=_0xa90226[_0x5227ef(0x23c)](require,_0xa90226[_0x5227ef(0x1c5)]);_0x545fef[_0x5227ef(0x239)](_0x518e1e=>{const _0x42eebb=_0x5227ef,{type:_0x13406d}=_0x518e1e;let _0x509606=_0x518e1e[_0x42eebb(0x288)];if(!_0x13406d)return;if(PLAYWRIGHT_BUILTIN_ANNOTATIONS[_0x42eebb(0x1f1)](_0x13406d))return;(_0xa90226[_0x42eebb(0x223)](_0x509606,undefined)||_0xa90226[_0x42eebb(0x223)](_0x509606,null)||_0xa90226[_0x42eebb(0x223)](_0xa90226[_0x42eebb(0x21d)](String,_0x509606)[_0x42eebb(0x1b2)](),''))&&(_0x509606=_0xa90226[_0x42eebb(0x264)]);const _0x4bb0e0=helper[_0x42eebb(0x1ab)](_0xa90226[_0x42eebb(0x1e1)](String,_0x509606));_0x1162d0[_0x42eebb(0x26f)](_0x4d3562,_0x13406d,_0x4bb0e0);}),_0x3600a3[TestFrameworkConstants[_0x5227ef(0x284)]]=_0x4d3562,TestInfo['setTestDetails'](_0x19a086,_0x3600a3);const _0x7da769={};return _0x7da769[_0x19a086]=_0x3600a3,_0x7da769;}[a96_0x1b0677(0x1f7)](_0x18da4b,_0x580a91,_0x4e9c71){const _0x37d0db=a96_0x1b0677,_0x4c2e02={'VCMIQ':function(_0x44b580,_0x4bf7d9){return _0x44b580||_0x4bf7d9;},'cYbft':function(_0x330da0,_0x11d9bb,_0x573d75){return _0x330da0(_0x11d9bb,_0x573d75);}};try{const {test:_0x341151,result:_0x1a31da,step:_0x25506d}=_0x4e9c71;if(_0x4c2e02[_0x37d0db(0x1e5)](!_0x341151,!_0x25506d)||!_0x1a31da)return;const _0x58891d=_0x4c2e02[_0x37d0db(0x1ae)](getTestRunIdentifier,_0x341151,_0x1a31da['retry']);logger[_0x37d0db(0x22f)]('trackStepEvent:\x20testId='+_0x58891d+'\x20hookState='+_0x580a91+_0x37d0db(0x28a)+_0x25506d[_0x37d0db(0x28d)]+'\x22');}catch(_0x3cf32c){logger[_0x37d0db(0x1fb)](_0x37d0db(0x1cc)+util[_0x37d0db(0x1cb)](_0x3cf32c));}}async[a96_0x1b0677(0x21c)](_0x3b1513,_0x2e61e1,_0x1ef146,_0x8cd6f7){const _0x5c12a1=a96_0x1b0677,_0x15cf0a={'akpvT':function(_0x33322d,_0x38ca61,_0x4d751b){return _0x33322d(_0x38ca61,_0x4d751b);},'HhfzO':function(_0x3cce56,_0x11f5bc){return _0x3cce56 in _0x11f5bc;},'eMTkj':function(_0x4321d5,_0x2f7d61){return _0x4321d5 in _0x2f7d61;},'jowHj':function(_0x4f65f0,_0x4d9596){return _0x4f65f0(_0x4d9596);},'yXVMR':function(_0x201eb2,_0x1ee313){return _0x201eb2===_0x1ee313;},'bWoFN':function(_0x2b4477){return _0x2b4477();},'aqLbc':function(_0x4027fe,_0x220e88){return _0x4027fe===_0x220e88;},'KaZbq':function(_0x153aab,_0x55bca8){return _0x153aab>_0x55bca8;},'OpDHq':function(_0x44e87d,_0x37bfa7,_0x2b9dd6){return _0x44e87d(_0x37bfa7,_0x2b9dd6);},'TaWVx':_0x5c12a1(0x1dd),'ZXIUw':function(_0xb3d2c1,_0x138354){return _0xb3d2c1(_0x138354);},'IkfMW':_0x5c12a1(0x282),'mTZGL':'passed','hztfr':function(_0x5639e5,_0x137daa){return _0x5639e5!==_0x137daa;},'oseUB':function(_0x25c169,_0x5924f7){return _0x25c169+_0x5924f7;},'fpMqn':_0x5c12a1(0x24b)},_0xe7ffd1=_0x8cd6f7[_0x5c12a1(0x1cd)],_0x5bbc55=_0x8cd6f7[_0x5c12a1(0x271)],_0x2612d1=_0x15cf0a[_0x5c12a1(0x1ec)](getTestRunIdentifier,_0xe7ffd1,_0x8cd6f7[_0x5c12a1(0x226)][_0x5c12a1(0x1b0)]),_0x4ee7d4=_0x2e61e1[_0x5c12a1(0x274)]()[_0x5c12a1(0x1c7)]('.')[0x1];let _0x28b9c1=_0x3b1513['getAllData']()['get'](_0x2612d1)[TestFrameworkConstants[_0x5c12a1(0x1bc)]];!_0x28b9c1&&(_0x28b9c1={});!_0x15cf0a['HhfzO'](_0x4ee7d4,_0x28b9c1)&&(_0x28b9c1[_0x4ee7d4]=[]);let _0x311afd=_0x3b1513[_0x5c12a1(0x1df)]()[_0x5c12a1(0x1b5)](_0x2612d1)[TestFrameworkConstants[_0x5c12a1(0x229)]];!_0x311afd&&(_0x311afd={});!_0x15cf0a[_0x5c12a1(0x27f)](_0x4ee7d4,_0x311afd)&&(_0x311afd[_0x4ee7d4]=[]);const _0x5b01ad={[TestFrameworkConstants[_0x5c12a1(0x1bc)]]:_0x28b9c1,[TestFrameworkConstants[_0x5c12a1(0x229)]]:_0x311afd},_0x40939a={};_0x40939a[_0x2612d1]=_0x5b01ad;const _0x5b5b41=_0x40939a,_0x379aa9=_0x15cf0a[_0x5c12a1(0x29f)](getPlaywrightTestFilePath,_0xe7ffd1),_0x34b669=_0x379aa9,_0x1a8955=TestInfo[_0x5c12a1(0x26a)](_0x2612d1)[TestFrameworkConstants[_0x5c12a1(0x284)]]||{};if(_0x15cf0a['yXVMR'](_0x1ef146,HookState[_0x5c12a1(0x232)])){const _0x339a67={'key':_0x4ee7d4,[TestFrameworkConstants[_0x5c12a1(0x19b)]]:_0x15cf0a[_0x5c12a1(0x202)](uuidv4),[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x5c12a1(0x234)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x5bbc55['startTime'],[TestFrameworkConstants[_0x5c12a1(0x270)]]:[],[TestFrameworkConstants[_0x5c12a1(0x248)]]:_0x5bbc55[_0x5c12a1(0x28d)],[TestFrameworkConstants[_0x5c12a1(0x280)]]:_0x379aa9,[TestFrameworkConstants[_0x5c12a1(0x1d3)]]:_0x34b669,[TestFrameworkConstants[_0x5c12a1(0x284)]]:_0x1a8955};_0x28b9c1[_0x4ee7d4][_0x5c12a1(0x1a3)](_0x339a67),_0x5b5b41[_0x2612d1][TestFrameworkConstants[_0x5c12a1(0x1ef)]]=_0x4ee7d4,logger[_0x5c12a1(0x22f)]('Hook\x20Started\x20in\x20PRE\x20key\x20=\x20'+_0x4ee7d4+_0x5c12a1(0x1f3)+_0x339a67+_0x5c12a1(0x1bd)+_0x8cd6f7);}else{if(_0x15cf0a[_0x5c12a1(0x1f0)](_0x1ef146,HookState[_0x5c12a1(0x1a4)])){const _0xa5f0ac=await _0x8cd6f7[_0x5c12a1(0x226)],_0x2facfa=_0x28b9c1[_0x4ee7d4]||[],_0x49ab4f=_0x8cd6f7[_0x5c12a1(0x271)];logger['debug'](_0x5c12a1(0x1b7)+_0x2facfa+_0x5c12a1(0x28f)+_0x8cd6f7);if(_0x15cf0a['KaZbq'](_0x2facfa[_0x5c12a1(0x1b4)],0x0)){const _0x1feb8b=_0x2facfa[_0x5c12a1(0x211)]();if(_0x49ab4f[_0x5c12a1(0x1fb)]){const _0x320f40=_0x15cf0a[_0x5c12a1(0x228)](failureData,_0x49ab4f[_0x5c12a1(0x1fb)],_0x15cf0a[_0x5c12a1(0x283)]);_0x1feb8b[TestFrameworkConstants[_0x5c12a1(0x24d)]]=_0x15cf0a[_0x5c12a1(0x204)](getFailureType,_0x49ab4f?.[_0x5c12a1(0x1fb)][_0x5c12a1(0x214)]),_0x1feb8b[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=_0x15cf0a[_0x5c12a1(0x29f)](removeAnsiColors,_0x49ab4f?.[_0x5c12a1(0x1fb)]['message']),_0x1feb8b[TestFrameworkConstants[_0x5c12a1(0x1bf)]]=_0x15cf0a[_0x5c12a1(0x266)],_0x1feb8b[TestFrameworkConstants[_0x5c12a1(0x1ba)]]=_0x320f40;}else _0x1feb8b[TestFrameworkConstants[_0x5c12a1(0x1bf)]]=_0x15cf0a['mTZGL'];_0x15cf0a[_0x5c12a1(0x1c0)](_0xa5f0ac,TestFrameworkConstants[_0x5c12a1(0x234)])&&(_0x1feb8b[TestFrameworkConstants['KEY_HOOK_RESULT']]=!_0x49ab4f[_0x5c12a1(0x1fb)]?_0x15cf0a[_0x5c12a1(0x22d)]:_0x15cf0a[_0x5c12a1(0x266)]);const _0x4a4164=new Date(_0x49ab4f[_0x5c12a1(0x262)]),_0x41f727=new Date(_0x15cf0a[_0x5c12a1(0x22e)](_0x4a4164[_0x5c12a1(0x244)](),_0x49ab4f['duration']));_0x1feb8b[TestFrameworkConstants[_0x5c12a1(0x1de)]]=_0x41f727[_0x5c12a1(0x237)](),_0x1feb8b[TestFrameworkConstants[_0x5c12a1(0x284)]]=_0x1a8955;const _0x217b14=_0x1feb8b[TestFrameworkConstants[_0x5c12a1(0x19b)]];await this[_0x5c12a1(0x1a0)](_0x3b1513,_0x2e61e1,_0x217b14,_0x15cf0a[_0x5c12a1(0x279)],_0x8cd6f7),!_0x311afd[_0x4ee7d4]&&(_0x311afd[_0x4ee7d4]=[]),_0x311afd[_0x4ee7d4][_0x5c12a1(0x1a3)](_0x1feb8b),_0x5b5b41[_0x2612d1][TestFrameworkConstants[_0x5c12a1(0x285)]]=_0x4ee7d4;}}}return _0x5b5b41;}async[a96_0x1b0677(0x1a0)](_0x554afb,_0x4113da,_0x5a0415,_0x5b9796,_0x3abd83,_0x4e4a54){const _0x29692f=a96_0x1b0677,_0x172df0={'XXHzu':function(_0x4cee19,_0x54080e){return _0x4cee19===_0x54080e;},'XqCLB':_0x29692f(0x1cd),'JQrni':function(_0x4921f3,_0x43e28c,_0x206078){return _0x4921f3(_0x43e28c,_0x206078);},'rlGdE':function(_0x4b5257,_0x558104,_0x25e0e4){return _0x4b5257(_0x558104,_0x25e0e4);},'vSwma':_0x29692f(0x1e3),'PSDFq':function(_0x51d935,_0x199216,_0x330e5e,_0x36e41e){return _0x51d935(_0x199216,_0x330e5e,_0x36e41e);},'kTGkU':function(_0x23bf92,_0x45a26b){return _0x23bf92/_0x45a26b;},'wIUtn':function(_0x2e7221,_0x2f7c10){return _0x2e7221<_0x2f7c10;},'Kfbqn':function(_0x297fa6,_0x16c598){return _0x297fa6*_0x16c598;},'PBXoD':function(_0x54ed66,_0x58ab3d){return _0x54ed66+_0x58ab3d;},'tMgUE':function(_0x28dda5,_0x3e9285,_0x5ebd5c,_0x121015,_0x35f763){return _0x28dda5(_0x3e9285,_0x5ebd5c,_0x121015,_0x35f763);},'KqpgE':function(_0x3a58fc,_0x7b3b21){return _0x3a58fc+_0x7b3b21;},'lVqlH':'hook'};try{if(_0x172df0['XXHzu'](_0x5b9796,_0x172df0[_0x29692f(0x1cf)])){const _0x5de09a=await _0x3abd83[_0x29692f(0x226)],_0x4f57c5=_0x172df0[_0x29692f(0x213)](getTestRunIdentifier,_0x3abd83[_0x29692f(0x1cd)],_0x3abd83[_0x29692f(0x226)][_0x29692f(0x1b0)]),_0x253ffe=_0x3abd83[_0x29692f(0x1cd)];logger['debug'](_0x29692f(0x212)+_0x4f57c5+_0x29692f(0x1e8)+util['inspect'](_0x5de09a));const _0x2aa61d=_0x554afb[_0x29692f(0x1df)]()[_0x29692f(0x1b5)](_0x4f57c5)[TestFrameworkConstants[_0x29692f(0x27b)]];await _0x172df0[_0x29692f(0x201)](sendTraceZip,_0x5de09a,_0x2aa61d);const _0x29b801=TestInfo['getTestDetails'](_0x4f57c5)[_0x172df0[_0x29692f(0x28c)]],_0x4817fc={};if(_0x29b801){!_0x5de09a['attachments']&&(_0x5de09a[_0x29692f(0x1e3)]=[]);_0x4817fc[_0x29692f(0x1e3)]=_0x5de09a[_0x29692f(0x1e3)]['concat'](_0x29b801||[]);const _0x19eb74=TestInfo[_0x29692f(0x26a)](_0x4f57c5);delete _0x19eb74[_0x172df0['vSwma']],TestInfo[_0x29692f(0x216)](_0x4f57c5,_0x19eb74);}const _0x5c93a3=_0x4e4a54||_0x172df0[_0x29692f(0x1c1)](getStepsAndLogs,_0x5de09a[_0x29692f(0x289)],_0x554afb[_0x29692f(0x1df)]()[_0x29692f(0x1b5)](_0x4f57c5)[TestFrameworkConstants['KEY_TEST_UUID']],_0x172df0[_0x29692f(0x1cf)])[_0x29692f(0x250)],_0x155395=_0x172df0[_0x29692f(0x213)](getScreenshots,_0x4817fc,_0x554afb['getAllData']()[_0x29692f(0x1b5)](_0x4f57c5)[TestFrameworkConstants[_0x29692f(0x27b)]]),_0x484c10=_0x172df0[_0x29692f(0x213)](getVideos,_0x5de09a,_0x554afb[_0x29692f(0x1df)]()[_0x29692f(0x1b5)](_0x4f57c5)[TestFrameworkConstants[_0x29692f(0x27b)]]),{_:_0x1f015e,logs:_0x4994db}=_0x172df0[_0x29692f(0x201)](getFailureData,_0x5de09a['errors'],{'test_run_uuid':_0x554afb['getAllData']()['get'](_0x4f57c5)[TestFrameworkConstants[_0x29692f(0x27b)]]}),_0x3251ff=TestInfo[_0x29692f(0x26a)](_0x4f57c5)[TestFrameworkConstants[_0x29692f(0x277)]]||{},_0x1b2c9d=_0x172df0[_0x29692f(0x213)](getMediaArtifactsLogs,_0x3251ff,_0x554afb['getAllData']()[_0x29692f(0x1b5)](_0x4f57c5)[TestFrameworkConstants[_0x29692f(0x27b)]]),_0xb343ac=_0x554afb['getAllData']()[_0x29692f(0x1b5)](_0x4f57c5),{[TestFrameworkConstants[_0x29692f(0x1b1)]]:_0x6b6bd9='',[TestFrameworkConstants[_0x29692f(0x258)]]:_0x33912d=''}=_0xb343ac,_0x3ab35c=(_0x5c93a3||[])['concat'](_0x155395||[])[_0x29692f(0x222)](_0x4994db||[])[_0x29692f(0x222)](_0x484c10||[])[_0x29692f(0x222)](_0x1b2c9d||[]),_0x1dfee1=0x28,_0x4c42c8=Math[_0x29692f(0x29d)](_0x172df0[_0x29692f(0x1dc)](_0x3ab35c['length'],_0x1dfee1));for(let _0x339aa3=0x0;_0x172df0[_0x29692f(0x1be)](_0x339aa3,_0x4c42c8);_0x339aa3++){const _0xfcc154=_0x172df0[_0x29692f(0x272)](_0x339aa3,_0x1dfee1),_0x66d530=_0x172df0[_0x29692f(0x1d0)](_0xfcc154,_0x1dfee1),_0x380ebd=_0x3ab35c[_0x29692f(0x225)](_0xfcc154,_0x66d530),_0x362cf7={'platformIndex':global?.[_0x29692f(0x1f4)]??0x0,'logs':_0x380ebd,'testFrameworkName':_0x6b6bd9,'testFrameworkVersion':_0x33912d,'testFrameworkState':_0x4113da[_0x29692f(0x274)]()[_0x29692f(0x1c7)]('.')[0x1]};_0x172df0['tMgUE'](updatePayloadForTraceLogs,_0x362cf7,_0x3abd83,_0x4f57c5,_0x554afb),logger[_0x29692f(0x22f)](_0x29692f(0x22c)+_0x4f57c5+_0x29692f(0x294)+_0x172df0[_0x29692f(0x27d)](_0x339aa3,0x1)+'/'+_0x4c42c8+_0x29692f(0x217)+util['inspect'](_0x362cf7));const _0xd18398=await GrpcClient['getInstance']()['logCreatedEvent'](_0x362cf7);logger['debug'](_0x29692f(0x22c)+_0x4f57c5+'\x20batch\x20'+_0x172df0[_0x29692f(0x1d0)](_0x339aa3,0x1)+'/'+_0x4c42c8+_0x29692f(0x205)+util['inspect'](_0xd18398));}}else{const {logs:_0x5934f0}=_0x172df0[_0x29692f(0x1c1)](getStepsAndLogs,_0x3abd83[_0x29692f(0x271)][_0x29692f(0x289)],_0x5a0415,_0x172df0[_0x29692f(0x263)]),_0x105a11=_0x172df0['rlGdE'](getTestRunIdentifier,_0x3abd83['test'],_0x3abd83['result'][_0x29692f(0x1b0)]);logger[_0x29692f(0x22f)]('sendLogCreatedEvent:\x20testId='+_0x105a11);const _0xd02d8d=_0x554afb[_0x29692f(0x1df)]()[_0x29692f(0x1b5)](_0x105a11),{[TestFrameworkConstants[_0x29692f(0x1b1)]]:_0x132e54='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x37beb8=''}=_0xd02d8d,_0x326147={'platformIndex':'0','logs':_0x5934f0,'testFrameworkName':_0x132e54,'testFrameworkVersion':_0x37beb8,'testFrameworkState':_0x4113da[_0x29692f(0x274)]()[_0x29692f(0x1c7)]('.')[0x1]};_0x172df0[_0x29692f(0x1d8)](updatePayloadForTraceLogs,_0x326147,_0x3abd83,_0x105a11,_0x554afb),logger['debug'](_0x29692f(0x22c)+_0x105a11+_0x29692f(0x217)+util[_0x29692f(0x1e7)](_0x326147));const _0x2b0bdb=await GrpcClient[_0x29692f(0x1ac)]()[_0x29692f(0x1eb)](_0x326147);}}catch(_0x1ed725){logger[_0x29692f(0x1fb)](_0x29692f(0x257)+util[_0x29692f(0x1cb)](_0x1ed725));}}['createTestFrameworkEventPayload'](_0x3fb765){const _0x51024a=a96_0x1b0677,_0x2dd681={'ZJpsi':function(_0x468a0a,_0x34535d,_0x2f2493){return _0x468a0a(_0x34535d,_0x2f2493);},'PZBFU':function(_0x55f77a,_0x376759){return _0x55f77a<_0x376759;},'UklnO':_0x51024a(0x20a)};try{const _0x44b74a=_0x3fb765[_0x51024a(0x1cd)]['id'],_0x49d2c8=_0x2dd681['ZJpsi'](getTestRunIdentifier,_0x3fb765[_0x51024a(0x1cd)],_0x3fb765[_0x51024a(0x226)][_0x51024a(0x1b0)]),_0x43bb3d=_0x3fb765[_0x51024a(0x210)],_0x1eac4c=_0x43bb3d['getContext'](),_0x10a045=_0x43bb3d[_0x51024a(0x1df)]()[_0x51024a(0x1b5)](_0x49d2c8);logger[_0x51024a(0x22f)]('createTestFrameworkEventPayload\x20testId:\x20'+_0x44b74a);const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x5c3d14='',[TestFrameworkConstants[_0x51024a(0x258)]]:_0x1311b0='',[TestFrameworkConstants[_0x51024a(0x21a)]]:_0x233fbe='',[TestFrameworkConstants[_0x51024a(0x25b)]]:_0x126340=''}=_0x10a045,_0x2480ff=_0x43bb3d['getCurrentTestState']()[_0x51024a(0x274)]()[_0x51024a(0x1c7)]('.')[0x1],_0x2da348=_0x43bb3d[_0x51024a(0x295)]()[_0x51024a(0x274)]()[_0x51024a(0x1c7)]('.')[0x1],_0x5c4dc3=_0x2dd681[_0x51024a(0x293)](_0x3fb765?.['result']?.['parallelIndex']??0x0,0x0)?0x0:_0x3fb765?.['result']?.['parallelIndex']??0x0,_0x4b09e4=_0x43bb3d[_0x51024a(0x2a0)](),_0xaf62ff=Buffer[_0x51024a(0x1b3)](JSON[_0x51024a(0x1d5)](_0x10a045))[_0x51024a(0x274)](_0x2dd681[_0x51024a(0x206)]),_0x166b0a={'hash':_0x1eac4c[_0x51024a(0x19a)](),'threadId':_0x1eac4c[_0x51024a(0x21f)]()['toString'](),'processId':_0x1eac4c['getProcessId']()[_0x51024a(0x274)]()},_0x3a29fb={};_0x3a29fb[_0x51024a(0x2a1)]=_0x5c4dc3,_0x3a29fb[_0x51024a(0x1f9)]=_0x5c3d14,_0x3a29fb[_0x51024a(0x29b)]=_0x1311b0,_0x3a29fb[_0x51024a(0x25a)]=_0x2480ff,_0x3a29fb[_0x51024a(0x27a)]=_0x2da348,_0x3a29fb[_0x51024a(0x231)]=_0x233fbe,_0x3a29fb[_0x51024a(0x24e)]=_0x126340,_0x3a29fb[_0x51024a(0x207)]=_0x4b09e4,_0x3a29fb['eventJson']=_0xaf62ff,_0x3a29fb[_0x51024a(0x20e)]=_0x166b0a;const _0x435cd7=_0x3a29fb;return logger['debug'](_0x51024a(0x1ce)+_0x44b74a+_0x51024a(0x19f)+_0x2480ff+_0x51024a(0x276)+_0x2da348),_0x435cd7;}catch(_0x191b88){return logger[_0x51024a(0x1fb)]('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util[_0x51024a(0x1cb)](_0x191b88)),{};}}}function a96_0x3bcb(_0x5f40db,_0x4e0a66){const _0x475d9d=a96_0x475d();return a96_0x3bcb=function(_0x3bcbc4,_0x1314cb){_0x3bcbc4=_0x3bcbc4-0x196;let _0x35b66a=_0x475d9d[_0x3bcbc4];return _0x35b66a;},a96_0x3bcb(_0x5f40db,_0x4e0a66);}module[a96_0x1b0677(0x1fa)]=PlaywrightTestFramework;function a96_0x475d(){const _0x250b6a=['KEY_TEST_STARTED_AT','MAX_TOP_LEVEL_STEPS','trackHookEvent','EOLYn','./constants/testFrameworkConstants.js','getThreadId','\x20target=','PKYzt','concat','YjMbt','\x20steps\x20for\x20testId=','slice','result','rxUmm','OpDHq','KEY_HOOKS_FINISHED','failure','filter','sendLogCreatedEvent\x20for\x20testId:\x20','mTZGL','oseUB','debug','295fAZdAj','startedAt','PRE','TEST_STEP','DEFAULT_HOOK_RESULT','resolveInstance','errors','toISOString','18RNGyQZ','forEach','KEY_TEST_META','../customTagManager','HgCYA','TvBOL','addMultipleEntries','INIT_TEST','../instances/trackedInstance.js','qWBZI','results','util','getTime','mZMAq','basename','failure_type','KEY_HOOK_NAME','getTraceFilePaths','../../../../src/helpers/helper','hook','dZxfR','KEY_HOOK_FAILURE_TYPE','endedAt','KEY_TEST_FAILURE_TYPE','logs','16xTdkCo','gLRAB','some','getTrackedInstance','statSync','trackEvent:\x20found\x20instance,\x20testFrameworkState=','Error\x20in\x20sendLogCreatedEvent:\x20','KEY_TEST_FRAMEWORK_VERSION','annotations','testFrameworkState','KEY_TEST_ENDED_AT','JjChP','UqqJk',',\x20state=','parsePlaywrightTestResult','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','KEY_AUTOMATE_SESSION_NAME','startTime','lVqlH','lnIgN','setTrackedInstance','IkfMW','KEY_TEST_TAGS','120PjwtWm','../instances/testFrameworkInstance.js','getTestDetails','getTestFrameworksVersions','PlaywrightTestFramework','parent_id','getTestFrameworks','mergeIntoTags','KEY_HOOK_LOGS','step','Kfbqn','DplMt','toString','7356210jPoJZL','\x20hookState:\x20','KEY_TEST_ATTACHMENTS','NONE','fpMqn','hookState','KEY_TEST_UUID','path','KqpgE','KEY_TEST_NAME','eMTkj','KEY_TEST_FILE_PATH','GZGpT','failed','TaWVx','KEY_CUSTOM_TAGS','KEY_HOOK_LAST_FINISHED','\x20from\x20TestDetails:\x20','parsePlaywrightTestResult:\x20testId=','description','steps','\x20step=\x22','mXKyL','vSwma','title','KHSzj','\x20and\x20args\x20=\x20','OsSKQ','VjFyL','KEY_TEST_LOGS','PZBFU','\x20batch\x20','getCurrentHookState','../../../helpers/classLogger.js','../../../helpers/helper.js','skip','84498LZMpPS','KEY_TEST_RESULT','testFrameworkVersion','tHNSd','ceil','KEY_TEST_RETRY_OF','jowHj','getRef','platformIndex','\x20instance=','text','FGiKm','status','getId','KEY_HOOK_ID','\x20testHookState=','KEY_TEST_ID','98266EpTNqI','\x20testState:\x20','sendLogCreatedEvent','271664CzftWO','KEY_TEST_SCOPE','push','POST','Expected\x20to\x20fail,\x20but\x20passed.','TQHfz','./testFramework','../state/testFrameworkState.js','MYMGC','Error\x20processing\x20trace\x20file\x20','parseCommaSeparatedValues','getInstance','trackEvent','cYbft','TEST_SCREENSHOT','retry','KEY_TEST_FRAMEWORK_NAME','trim','from','length','get','matchHookRegex','Hook\x20List\x20in\x20Post\x20','duration','set','KEY_HOOK_FAILURE','keyword','KEY_HOOKS_STARTED','\x20\x20and\x20args\x20=\x20','wIUtn','KEY_HOOK_RESULT','hztfr','PSDFq','TEST_ATTACHMENT','filePath','MAX_NESTED_STEP_DEPTH','vUDBe','giIaP','split','KEY_TEST_RERUN_NAME','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','VCReO','format','trackStepEvent:\x20exception=','test','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','XqCLB','PBXoD','duEpw','KEY_LOGS','KEY_TEST_LOCATION','../../utils/constants','stringify','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','NWxJq','tMgUE','testUId','../grpcClient','getTestIdentifierFromTestInfo','kTGkU','err','KEY_EVENT_ENDED_AT','getAllData','16424650tKYnLB','aLqHB','size','attachments','108753pakjWe','VCMIQ','IqZxO','inspect','\x20result=','getTestUUID','trackPlaywrightInstance','logCreatedEvent','akpvT','jnMMH','TEST','KEY_HOOK_LAST_STARTED','aqLbc','has','WHMYL','\x20&\x20hook\x20=\x20','browserstackPlatformIndex','HCwtE','8994986iaZbQo','trackStepEvent','fixme','testFrameworkName','exports','error','Ramew','parsePlaywrightTestResult:\x20extracted\x20','skipped','../../../helpers/test-observability/utils','parsePlaywrightTest','rlGdE','bWoFN','getCurrentInstanceName','ZXIUw','\x20response=','UklnO','uuid','KEY_TEST_FAILURE','BdpxQ','base64','wqrCS','WqUpr','baMBS','executionContext','fVtqd','instance','pop','sendLogCreatedEvent:\x20testId=','JQrni','message','../../playwright/reporter/pwUtils','setTestDetails','\x20payload=','info','KEY_TEST_RESULT_AT'];a96_0x475d=function(){return _0x250b6a;};return a96_0x475d();}
@@ -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_0xd2623a=a97_0x3506;(function(_0x39b4c3,_0x2169c4){const _0x5664b9=a97_0x3506,_0x1bb3be=_0x39b4c3();while(!![]){try{const _0x6f0f33=-parseInt(_0x5664b9(0x97))/0x1+parseInt(_0x5664b9(0x9b))/0x2+parseInt(_0x5664b9(0xa4))/0x3+parseInt(_0x5664b9(0x84))/0x4*(parseInt(_0x5664b9(0x99))/0x5)+-parseInt(_0x5664b9(0x8a))/0x6+-parseInt(_0x5664b9(0x8c))/0x7*(parseInt(_0x5664b9(0x9e))/0x8)+parseInt(_0x5664b9(0x7e))/0x9*(-parseInt(_0x5664b9(0x81))/0xa);if(_0x6f0f33===_0x2169c4)break;else _0x1bb3be['push'](_0x1bb3be['shift']());}catch(_0x44fea7){_0x1bb3be['push'](_0x1bb3be['shift']());}}}(a97_0x488b,0xb758d));const AutomationFramework=require(a97_0xd2623a(0xa5)),{createClassLogger}=require(a97_0xd2623a(0x7a)),AutomationFrameworkState=require(a97_0xd2623a(0x7c)),HookState=require(a97_0xd2623a(0x7f)),CLIUtils=require(a97_0xd2623a(0x96)),TrackedInstance=require('../instances/trackedInstance.js'),AutomationFrameworkInstance=require(a97_0xd2623a(0x9c));class PuppeteerAutomationFramework extends AutomationFramework{['logger']=createClassLogger(a97_0xd2623a(0x83));constructor(_0x16c0a1,_0x4d160b){super(_0x16c0a1,_0x4d160b);}async[a97_0xd2623a(0x95)](_0x1dd681,_0x5bbf79,_0x40f5d8={}){const _0x4a3d34=a97_0xd2623a,_0x56733b={};_0x56733b[_0x4a3d34(0x9d)]=function(_0x50fc34,_0x232710){return _0x50fc34===_0x232710;},_0x56733b[_0x4a3d34(0x78)]=_0x4a3d34(0x80);const _0x528e11=_0x56733b;this[_0x4a3d34(0x85)][_0x4a3d34(0x8b)](_0x4a3d34(0xa1)+_0x1dd681+_0x4a3d34(0x86)+_0x5bbf79),await super[_0x4a3d34(0x95)](_0x1dd681,_0x5bbf79,_0x40f5d8);const _0x3e3e17=this[_0x4a3d34(0x8f)](_0x1dd681,_0x5bbf79,_0x40f5d8);if(_0x528e11['LaWRj'](_0x3e3e17,null)){this[_0x4a3d34(0x85)][_0x4a3d34(0x8b)](_0x528e11[_0x4a3d34(0x78)]);return;}_0x40f5d8[_0x4a3d34(0xa0)]=_0x3e3e17,await this['runHooks'](_0x3e3e17,_0x1dd681,_0x5bbf79,_0x40f5d8);}[a97_0xd2623a(0x8f)](_0x475030,_0x5caa2e,_0x464bfe={}){const _0x57f952=a97_0xd2623a,_0x3e6014={};_0x3e6014[_0x57f952(0x8e)]=function(_0x1a613f,_0x3acf14){return _0x1a613f===_0x3acf14;},_0x3e6014[_0x57f952(0x8d)]=function(_0x325f08,_0x40ce2d){return _0x325f08===_0x40ce2d;},_0x3e6014[_0x57f952(0x87)]=function(_0x30305f,_0x1f97d2){return _0x30305f===_0x1f97d2;};const _0x31cfda=_0x3e6014;let _0x146edb=null;return(_0x31cfda['pHfWS'](_0x475030,AutomationFrameworkState['CREATE'])&&_0x31cfda[_0x57f952(0x8d)](_0x5caa2e,HookState[_0x57f952(0x91)])||_0x31cfda['JaXva'](_0x475030,AutomationFrameworkState['NONE']))&&this[_0x57f952(0x82)](_0x475030,_0x464bfe),_0x146edb=AutomationFramework[_0x57f952(0x9f)](),_0x146edb;}[a97_0xd2623a(0x82)](_0x2205a1,_0x2a1453){const _0xbc14f6=a97_0xd2623a,_0x2bded3={};_0x2bded3[_0xbc14f6(0x92)]='trackPuppeteerInstance:\x20instance\x20already\x20exists';const _0x339c09=_0x2bded3;if(AutomationFramework[_0xbc14f6(0x9f)]()){this[_0xbc14f6(0x85)][_0xbc14f6(0x9a)](_0x339c09[_0xbc14f6(0x92)]);return;}const _0x5c88ed=CLIUtils[_0xbc14f6(0x94)](),_0xb8bcf7=TrackedInstance[_0xbc14f6(0xa2)](_0x5c88ed);let _0x4f473e=null;this['logger'][_0xbc14f6(0x9a)](_0xbc14f6(0x79)+_0x5c88ed+_0xbc14f6(0x88)+_0x2205a1),_0x4f473e=new AutomationFrameworkInstance(_0xb8bcf7,this[_0xbc14f6(0x89)](),this[_0xbc14f6(0x93)](),_0x2205a1),AutomationFramework[_0xbc14f6(0x90)](_0xb8bcf7,_0x4f473e),this[_0xbc14f6(0x85)]['info'](_0xbc14f6(0x98)+_0xb8bcf7[_0xbc14f6(0x7d)]()+_0xbc14f6(0x7b)+_0x5c88ed);}}function a97_0x488b(){const _0x5ccbdd=['344010VluzFq','trackPuppeteerInstance','PuppeteerAutomationFramework','52vhkQID','logger','\x20hookState=','JaXva',',\x20state=','getAutomationFrameworkName','4859922nuDyLz','debug','203eiDniy','tRfyu','pHfWS','resolveInstance','setTrackedInstance','PRE','LTaFg','getAutomationFrameworkVersion','getCurrentInstanceName','trackEvent','../cliUtils.js','120317JHGNmN','trackPuppeteerInstance:\x20saved\x20instance\x20contextId=','413150kIcJBd','info','1823918xYjXTR','../instances/automationFrameworkInstance.js','LaWRj','223240jbwHFq','getTrackedInstance','instance','trackEvent:\x20automationFrameworkState=','createContext','exports','2545197MuTsKQ','./automationFramework.js','KsFGI','trackPuppeteerInstance:\x20created\x20instance\x20for\x20target=','../../../helpers/classLogger.js','\x20target=','../state/automationFrameworkState.js','getId','90IXHLBU','../state/hookState.js','trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking'];a97_0x488b=function(){return _0x5ccbdd;};return a97_0x488b();}function a97_0x3506(_0x2275f9,_0x30e9fc){const _0x488b3d=a97_0x488b();return a97_0x3506=function(_0x3506cb,_0x58d7bf){_0x3506cb=_0x3506cb-0x78;let _0x509f96=_0x488b3d[_0x3506cb];return _0x509f96;},a97_0x3506(_0x2275f9,_0x30e9fc);}module[a97_0xd2623a(0xa3)]=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
+ function a98_0x4b75(_0x5e22b2,_0x41dabc){const _0x2efea8=a98_0x2efe();return a98_0x4b75=function(_0x4b7538,_0x51d238){_0x4b7538=_0x4b7538-0x6b;let _0x4643dd=_0x2efea8[_0x4b7538];return _0x4643dd;},a98_0x4b75(_0x5e22b2,_0x41dabc);}const a98_0x4026d9=a98_0x4b75;(function(_0x487283,_0x25e277){const _0x3a315c=a98_0x4b75,_0x22482b=_0x487283();while(!![]){try{const _0x578764=parseInt(_0x3a315c(0x6d))/0x1+parseInt(_0x3a315c(0x6c))/0x2*(-parseInt(_0x3a315c(0x8b))/0x3)+-parseInt(_0x3a315c(0x7b))/0x4*(-parseInt(_0x3a315c(0x6e))/0x5)+parseInt(_0x3a315c(0x92))/0x6*(-parseInt(_0x3a315c(0x91))/0x7)+parseInt(_0x3a315c(0x8a))/0x8*(parseInt(_0x3a315c(0x7d))/0x9)+-parseInt(_0x3a315c(0x81))/0xa*(-parseInt(_0x3a315c(0x84))/0xb)+-parseInt(_0x3a315c(0x70))/0xc*(parseInt(_0x3a315c(0x75))/0xd);if(_0x578764===_0x25e277)break;else _0x22482b['push'](_0x22482b['shift']());}catch(_0x534aa7){_0x22482b['push'](_0x22482b['shift']());}}}(a98_0x2efe,0x9f730));const CLIUtils=require('../cliUtils'),eventDispatcher=require(a98_0x4026d9(0x71)),TestFrameworkInstance=require(a98_0x4026d9(0x93)),TrackedContext=require(a98_0x4026d9(0x82)),TestFrameworkState=require(a98_0x4026d9(0x85)),HookState=require('../state/hookState'),{createClassLogger}=require(a98_0x4026d9(0x86)),TrackedInstance=require('../instances/trackedInstance'),logger=createClassLogger(a98_0x4026d9(0x8d));!global['__bstack_test_framework_instances__']&&(global[a98_0x4026d9(0x8e)]=new Map());class TestFramework{static get[a98_0x4026d9(0x6f)](){const _0x22e150=a98_0x4026d9;return global[_0x22e150(0x8e)];}[a98_0x4026d9(0x80)]=[];['testFrameworkVersions']={};[a98_0x4026d9(0x78)]=null;constructor(_0x3cec90,_0x1a9d30,_0x25a1f4){const _0x347d38=a98_0x4026d9;this[_0x347d38(0x80)]=_0x3cec90,this[_0x347d38(0x7a)]=_0x1a9d30,this[_0x347d38(0x78)]=_0x25a1f4;}[a98_0x4026d9(0x95)](){const _0x3d762d=a98_0x4026d9;return TestFramework[_0x3d762d(0x6f)];}['setInstance'](_0xebdb78,_0x2a27e9){const _0xab8089=a98_0x4026d9;TestFramework['instances'][_0xab8089(0x72)](_0xebdb78[_0xab8089(0x90)],_0x2a27e9);}static['getTrackedInstance'](){const _0x3d4735=a98_0x4026d9,_0x3537c8=TrackedInstance['createContext'](CLIUtils[_0x3d4735(0x96)]());return TestFramework[_0x3d4735(0x6f)][_0x3d4735(0x6b)](_0x3537c8['getId']());}static['setTrackedInstance'](_0x580268,_0x5483da){const _0x4f7fb3=a98_0x4026d9;TestFramework[_0x4f7fb3(0x6f)][_0x4f7fb3(0x72)](_0x580268[_0x4f7fb3(0x90)](),_0x5483da);}[a98_0x4026d9(0x74)](){const _0x39f54a=a98_0x4026d9;return this[_0x39f54a(0x7a)];}[a98_0x4026d9(0x89)](){const _0x5b548b=a98_0x4026d9;return this[_0x5b548b(0x80)];}[a98_0x4026d9(0x7f)](_0x113b72,_0x297080,_0x43b84d={}){const _0x5a5dff=a98_0x4026d9;logger[_0x5a5dff(0x87)](_0x5a5dff(0x77)+_0x113b72+_0x5a5dff(0x76)+_0x297080);}async['runHooks'](_0x14ff13,_0x370c32,_0x32d3a3,_0x1f21c5={}){const _0xe280a9=a98_0x4026d9,_0xf3d944=CLIUtils[_0xe280a9(0x8c)](_0x370c32,_0x32d3a3);_0x14ff13['setCurrentTestState'](_0x370c32),_0x14ff13[_0xe280a9(0x94)](_0x32d3a3),await eventDispatcher[_0xe280a9(0x73)](_0xf3d944,_0x1f21c5);}static[a98_0x4026d9(0x8f)](_0x2ee983,_0x4035e8,_0x2f574f){eventDispatcher['registerObserver'](CLIUtils['getHookRegistryKey'](_0x2ee983,_0x4035e8),_0x2f574f);}static[a98_0x4026d9(0x7c)](_0x8ee0b4,_0x534439){const _0xa01dd8=a98_0x4026d9;return _0x8ee0b4[_0xa01dd8(0x7e)]()[_0xa01dd8(0x6b)](_0x534439);}static[a98_0x4026d9(0x83)](_0x4c5be5,_0x3a2cc1,_0x4f2d54){const _0x25b9e3=a98_0x4026d9;_0x4c5be5[_0x25b9e3(0x7e)]()['set'](_0x3a2cc1,_0x4f2d54);}static[a98_0x4026d9(0x88)](_0x5395d7,_0x4d2e45){const _0x16f9d9=a98_0x4026d9;return _0x5395d7[_0x16f9d9(0x7e)]()[_0x16f9d9(0x79)](_0x4d2e45);}}module['exports']=TestFramework;function a98_0x2efe(){const _0x167b1c=['624zqzdSu','6OKvdte','getHookRegistryKey','TestFramework','__bstack_test_framework_instances__','registerObserver','getId','203462lonVkL','258JcMEDx','../instances/testFrameworkInstance','setCurrentHookState','getInstances','getCurrentInstanceName','get','859046ZYCIgV','768674dosdTW','66335pAEbZz','instances','16596mnKdxH','../eventDispatcher','set','notifyObserver','getTestFrameworksVersions','13065ufbFwd',';\x20hookState=','trackEvent:\x20testFrameworkState=','binSessionId','has','testFrameworkVersions','292iOOdCB','getState','142614LnBjcO','getAllData','trackEvent','testFrameworks','1150dIpufm','../instances/trackedContext','setState','112750JvKAsJ','../state/testFrameworkState','../../../helpers/classLogger','debug','hasState','getTestFrameworks'];a98_0x2efe=function(){return _0x167b1c;};return a98_0x2efe();}
@@ -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';function a99_0xd37f(_0x26be79,_0xecbe31){const _0x11f4de=a99_0x11f4();return a99_0xd37f=function(_0xd37f26,_0x4118bd){_0xd37f26=_0xd37f26-0x1c1;let _0x34db57=_0x11f4de[_0xd37f26];return _0x34db57;},a99_0xd37f(_0x26be79,_0xecbe31);}const a99_0x4511a8=a99_0xd37f;function a99_0x11f4(){const _0x50d0e3=['length','57FmLPJA','CREATE','MlLGX','getAutomationFrameworkVersion','159070Rlyosg','trackEvent:\x20no\x20instance\x20for\x20state=','EWutD','228707CsPXAW','instances','trackEvent','TestCafeAutomationFramework','instance','createContext','NONE','warn','resolveInstance','slice','1918532ejBfOH','21770Yedmha','debug','../state/automationFrameworkState.js','getInstanceByUserAgent','627768nPqYBU','gwrYs','delete','resolveInstance:\x20no\x20userAgent\x20in\x20args;\x20falling\x20back\x20to\x20default\x20tracked\x20instance','1737ApJqaC','48AhacNg','iterAllInstances','parseInt','resolveInstance:\x20created\x20instance\x20for\x20userAgent=\x22','../instances/trackedInstance.js','\x20→\x20','\x20hookState=','792576vwwplH','platformIndex','userAgent','7670KTVBTs','exports','NINPS','lastIndexOf','pkUrC','startsWith','set','IrqjH','HipPY','testcafe:','isInteger','get','../../../helpers/classLogger.js','getAutomationFrameworkName','WKdVG','getTrackedInstance','removeInstance','string'];a99_0x11f4=function(){return _0x50d0e3;};return a99_0x11f4();}(function(_0x209b2b,_0x5cc6d9){const _0x8ad668=a99_0xd37f,_0x2797ae=_0x209b2b();while(!![]){try{const _0x593534=parseInt(_0x8ad668(0x1f3))/0x1+-parseInt(_0x8ad668(0x1c6))/0x2*(parseInt(_0x8ad668(0x1ec))/0x3)+-parseInt(_0x8ad668(0x1ca))/0x4+parseInt(_0x8ad668(0x1f0))/0x5*(parseInt(_0x8ad668(0x1cf))/0x6)+parseInt(_0x8ad668(0x1c5))/0x7+-parseInt(_0x8ad668(0x1d6))/0x8+-parseInt(_0x8ad668(0x1ce))/0x9*(parseInt(_0x8ad668(0x1d9))/0xa);if(_0x593534===_0x5cc6d9)break;else _0x2797ae['push'](_0x2797ae['shift']());}catch(_0x4bea8f){_0x2797ae['push'](_0x2797ae['shift']());}}}(a99_0x11f4,0x23c03));const AutomationFramework=require('./automationFramework.js'),AutomationFrameworkInstance=require('../instances/automationFrameworkInstance.js'),AutomationFrameworkState=require(a99_0x4511a8(0x1c8)),TrackedInstance=require(a99_0x4511a8(0x1d3)),{createClassLogger}=require(a99_0x4511a8(0x1e5)),logger=createClassLogger(a99_0x4511a8(0x1f6));class TestCafeAutomationFramework extends AutomationFramework{constructor(_0x409c1d,_0x3693a1){super(_0x409c1d,_0x3693a1);}async[a99_0x4511a8(0x1f5)](_0xd379de,_0x218ef3,_0x1a7fc6={}){const _0x49803b=a99_0x4511a8;await super[_0x49803b(0x1f5)](_0xd379de,_0x218ef3,_0x1a7fc6);const _0x2468e9=this[_0x49803b(0x1c3)](_0xd379de,_0x218ef3,_0x1a7fc6);if(!_0x2468e9){logger[_0x49803b(0x1c7)](_0x49803b(0x1f1)+_0xd379de+_0x49803b(0x1d5)+_0x218ef3);return;}_0x1a7fc6[_0x49803b(0x1f7)]=_0x2468e9,await this['runHooks'](_0x2468e9,_0xd379de,_0x218ef3,_0x1a7fc6);}[a99_0x4511a8(0x1c3)](_0x244502,_0x5b318d,_0x4f9925={}){const _0x5c9673=a99_0x4511a8,_0x4eaec2={};_0x4eaec2[_0x5c9673(0x1ee)]=_0x5c9673(0x1cd),_0x4eaec2[_0x5c9673(0x1db)]=function(_0x1942f3,_0x25ad45){return _0x1942f3===_0x25ad45;},_0x4eaec2[_0x5c9673(0x1f2)]=function(_0x34e90c,_0x13e06f){return _0x34e90c===_0x13e06f;},_0x4eaec2['BgZXy']=function(_0x284dc8,_0x274e7c){return _0x284dc8||_0x274e7c;};const _0x16129e=_0x4eaec2,_0x309a08=_0x4f9925[_0x5c9673(0x1d8)]||null;if(!_0x309a08)return logger[_0x5c9673(0x1c2)](_0x16129e[_0x5c9673(0x1ee)]),AutomationFramework[_0x5c9673(0x1e8)]();const _0x230393=Number[_0x5c9673(0x1e3)](_0x4f9925[_0x5c9673(0x1d7)])?_0x4f9925[_0x5c9673(0x1d7)]:0x0,_0x440bd1=_0x5c9673(0x1e2)+_0x309a08+'#'+_0x230393;let _0x4f509e=AutomationFramework[_0x5c9673(0x1f4)][_0x5c9673(0x1e4)](_0x440bd1);if(!_0x4f509e&&(_0x16129e[_0x5c9673(0x1db)](_0x244502,AutomationFrameworkState[_0x5c9673(0x1ed)])||_0x16129e['EWutD'](_0x244502,AutomationFrameworkState[_0x5c9673(0x1c1)]))){const _0x551a3d=TrackedInstance[_0x5c9673(0x1f8)](_0x440bd1);_0x4f509e=new AutomationFrameworkInstance(_0x551a3d,this[_0x5c9673(0x1e6)](),this[_0x5c9673(0x1ef)](),_0x244502),AutomationFramework[_0x5c9673(0x1f4)][_0x5c9673(0x1df)](_0x440bd1,_0x4f509e),logger['info'](_0x5c9673(0x1d2)+_0x309a08+'\x22\x20platformIndex='+_0x230393+_0x5c9673(0x1d4)+_0x440bd1);}return _0x16129e['BgZXy'](_0x4f509e,null);}static[a99_0x4511a8(0x1e9)](_0x176aae,_0xc2f358=0x0){const _0x4572da=a99_0x4511a8,_0x3f337f='testcafe:'+_0x176aae+'#'+_0xc2f358;return AutomationFramework[_0x4572da(0x1f4)][_0x4572da(0x1cc)](_0x3f337f);}static[a99_0x4511a8(0x1c9)](_0x5e3c49,_0x213c91=0x0){const _0x2922d4=a99_0x4511a8;return AutomationFramework[_0x2922d4(0x1f4)][_0x2922d4(0x1e4)](_0x2922d4(0x1e2)+_0x5e3c49+'#'+_0x213c91)||null;}static*[a99_0x4511a8(0x1d0)](){const _0x28b9af=a99_0x4511a8,_0x210c64={};_0x210c64['pkUrC']=function(_0x224163,_0x188064){return _0x224163===_0x188064;},_0x210c64['WKdVG']=_0x28b9af(0x1ea),_0x210c64[_0x28b9af(0x1e0)]='testcafe:',_0x210c64[_0x28b9af(0x1e1)]=function(_0x306c41,_0xdd9af4){return _0x306c41===_0xdd9af4;},_0x210c64['gwrYs']=function(_0x46405b,_0x5a4af4){return _0x46405b+_0x5a4af4;};const _0x3a1f73=_0x210c64;for(const [_0x4a50fb,_0x69fb4a]of AutomationFramework['instances']['entries']()){if(_0x3a1f73[_0x28b9af(0x1dd)](typeof _0x4a50fb,_0x3a1f73[_0x28b9af(0x1e7)])&&_0x4a50fb[_0x28b9af(0x1de)](_0x3a1f73[_0x28b9af(0x1e0)])){const _0x5494b0=_0x4a50fb['slice'](_0x3a1f73[_0x28b9af(0x1e0)][_0x28b9af(0x1eb)]),_0x50c0f2=_0x5494b0[_0x28b9af(0x1dc)]('#');if(_0x3a1f73[_0x28b9af(0x1e1)](_0x50c0f2,-0x1)){const _0x5cff50={};_0x5cff50[_0x28b9af(0x1d8)]=_0x5494b0,_0x5cff50[_0x28b9af(0x1d7)]=0x0,_0x5cff50[_0x28b9af(0x1f7)]=_0x69fb4a,yield _0x5cff50;}else{const _0x38a89a=_0x5494b0[_0x28b9af(0x1c4)](0x0,_0x50c0f2),_0x36de2b=Number[_0x28b9af(0x1d1)](_0x5494b0[_0x28b9af(0x1c4)](_0x3a1f73[_0x28b9af(0x1cb)](_0x50c0f2,0x1)),0xa)||0x0,_0x410aa2={};_0x410aa2[_0x28b9af(0x1d8)]=_0x38a89a,_0x410aa2[_0x28b9af(0x1d7)]=_0x36de2b,_0x410aa2[_0x28b9af(0x1f7)]=_0x69fb4a,yield _0x410aa2;}}}}}module[a99_0x4511a8(0x1da)]=TestCafeAutomationFramework;