browserstack-node-sdk 1.57.1 → 1.58.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (220) 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/generated/sdk-messages_pb.d.ts +376 -36
  41. package/generated/sdk-messages_pb.js +2955 -279
  42. package/generated/sdk_grpc_pb.d.ts +5 -0
  43. package/generated/sdk_grpc_pb.js +51 -0
  44. package/package.json +1 -1
  45. package/src/ai-sdk-node/bundle.js +1 -1
  46. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  47. package/src/bin/codeceptjs/command.js +1 -1
  48. package/src/bin/codeceptjs/helper.js +1 -1
  49. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  50. package/src/bin/cucumber-js/command.js +1 -1
  51. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  52. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  53. package/src/bin/cucumber-js/test-observability.js +1 -1
  54. package/src/bin/cucumber-js/test.setup.js +1 -1
  55. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  56. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  57. package/src/bin/integrations/command.js +1 -1
  58. package/src/bin/integrations/constants.js +1 -1
  59. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -0
  60. package/src/bin/jasmine/command.js +2 -0
  61. package/src/bin/jasmine/test.setup.js +1 -0
  62. package/src/bin/jasmine/testRunMap.js +1 -0
  63. package/src/bin/jest/command.js +1 -1
  64. package/src/bin/jest/customImplements/customCircus.js +1 -1
  65. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  66. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  67. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  68. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  69. package/src/bin/jest/jest.setup.js +1 -1
  70. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  71. package/src/bin/jest/test-observability/helper.js +1 -1
  72. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  73. package/src/bin/jest/test-observability/test-details.js +1 -1
  74. package/src/bin/jest/test.setup.js +1 -1
  75. package/src/bin/jest/test_before.setup.js +1 -1
  76. package/src/bin/launcher/launcher.js +1 -1
  77. package/src/bin/load/index.js +1 -1
  78. package/src/bin/load/loadUtils.js +1 -1
  79. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  80. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  81. package/src/bin/mocha/command.js +1 -1
  82. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  83. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  84. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  85. package/src/bin/mocha/test.setup.js +1 -1
  86. package/src/bin/newman/command.js +1 -1
  87. package/src/bin/newman/helper.js +1 -1
  88. package/src/bin/newman/reporter/index.js +1 -1
  89. package/src/bin/newman/scriptRunner.js +1 -1
  90. package/src/bin/nightwatch/command.js +1 -1
  91. package/src/bin/playwright/accessibility-helper.js +1 -1
  92. package/src/bin/playwright/command.js +1 -1
  93. package/src/bin/playwright/globalSetup.js +1 -1
  94. package/src/bin/playwright/mock-process.js +1 -1
  95. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  96. package/src/bin/playwright/patches.js +1 -1
  97. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  98. package/src/bin/playwright/reporter/reporter.js +1 -1
  99. package/src/bin/playwright/reporter/test-details.js +1 -1
  100. package/src/bin/playwright/sessionDetails.js +1 -1
  101. package/src/bin/puppeteer/patches.js +1 -1
  102. package/src/bin/puppeteer/sessionDetails.js +1 -1
  103. package/src/bin/puppeteer/test.setup.js +1 -1
  104. package/src/bin/runner.js +1 -1
  105. package/src/bin/setup.js +1 -1
  106. package/src/bin/test-runner/index.js +1 -1
  107. package/src/bin/test-runner/runTest.js +1 -1
  108. package/src/bin/test-runner/testWorker.js +1 -1
  109. package/src/bin/testcafe/a11y-runner.js +1 -0
  110. package/src/bin/testcafe/command.js +2 -0
  111. package/src/bin/testcafe/reporter/index.js +1 -0
  112. package/src/bin/testcafe/reporter/tcUtils.js +1 -0
  113. package/src/bin/testcafe/session-registry.js +1 -0
  114. package/src/bin/testcafe/stdout-interceptor.js +1 -0
  115. package/src/bin/testcafe/testcafe-action-patcher.js +1 -0
  116. package/src/bin/testcafe/w3c-driver.js +1 -0
  117. package/src/bin/utils/apiUtilityMethods.js +1 -1
  118. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  119. package/src/bin/utils/constants.js +1 -1
  120. package/src/bin/utils/log4jsAppender.js +1 -1
  121. package/src/bin/utils/logPatcher.js +1 -1
  122. package/src/bin/utils/logReportingAPI.js +1 -1
  123. package/src/bin/utils/playwright-patcher.js +1 -1
  124. package/src/bin/utils/puppeteer-patcher.js +1 -1
  125. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  126. package/src/bin/utils/sharedUtils.js +1 -1
  127. package/src/bin/v2/TestInfo.js +1 -1
  128. package/src/bin/v2/browserstackCLI.js +1 -1
  129. package/src/bin/v2/cliUtils.js +1 -1
  130. package/src/bin/v2/customTagManager.js +1 -1
  131. package/src/bin/v2/eventDispatcher.js +1 -1
  132. package/src/bin/v2/framework/automationFramework.js +1 -1
  133. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  134. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  135. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  136. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  137. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  138. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  139. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  140. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  141. package/src/bin/v2/framework/testFramework.js +1 -1
  142. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -0
  143. package/src/bin/v2/framework/testcafeTestFramework.js +1 -0
  144. package/src/bin/v2/grpcClient.js +1 -1
  145. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  146. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  147. package/src/bin/v2/instances/trackedContext.js +1 -1
  148. package/src/bin/v2/instances/trackedInstance.js +1 -1
  149. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  150. package/src/bin/v2/modules/baseModule.js +1 -1
  151. package/src/bin/v2/modules/loadTestModule.js +1 -1
  152. package/src/bin/v2/modules/observabilityModule.js +1 -1
  153. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  154. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  155. package/src/bin/v2/modules/testcafeDriverModule.js +1 -0
  156. package/src/bin/v2/modules/testhubModule.js +1 -1
  157. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  158. package/src/bin/v2/state/hookState.js +1 -1
  159. package/src/bin/v2/state/testFrameworkState.js +1 -1
  160. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  161. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  162. package/src/bin/v2/utils/jest-utils.js +1 -1
  163. package/src/bin/vanilla-js/command.js +1 -1
  164. package/src/browserStackSdk.js +1 -1
  165. package/src/helpers/BrowserStackSetup.js +1 -1
  166. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  167. package/src/helpers/accessibility-automation/constants.js +1 -1
  168. package/src/helpers/accessibility-automation/helper.js +1 -1
  169. package/src/helpers/accessibility-automation/scripts.js +1 -1
  170. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  171. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  172. package/src/helpers/ats/constants.js +1 -1
  173. package/src/helpers/ats/helper.js +1 -1
  174. package/src/helpers/caCertHelper.js +1 -1
  175. package/src/helpers/capsMapping.js +1 -1
  176. package/src/helpers/central-scanner/constants.js +1 -1
  177. package/src/helpers/central-scanner/helpers.js +1 -1
  178. package/src/helpers/classLogger.js +1 -1
  179. package/src/helpers/driverInitErrorReporter.js +1 -1
  180. package/src/helpers/globals.js +1 -1
  181. package/src/helpers/helper.js +1 -1
  182. package/src/helpers/logger.js +1 -1
  183. package/src/helpers/metadata.js +1 -1
  184. package/src/helpers/patchHelper.js +1 -1
  185. package/src/helpers/patchHelpers.js +1 -1
  186. package/src/helpers/percy/Percy.js +1 -1
  187. package/src/helpers/percy/PercyBinary.js +1 -1
  188. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  189. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  190. package/src/helpers/percy/PercySDK.js +1 -1
  191. package/src/helpers/percy/index.js +1 -1
  192. package/src/helpers/percy/utils.js +1 -1
  193. package/src/helpers/performance/constants.js +1 -1
  194. package/src/helpers/performance/performance-tester.js +1 -1
  195. package/src/helpers/playwright-helper.js +1 -1
  196. package/src/helpers/processHelper.js +1 -1
  197. package/src/helpers/puppeteer-helper.js +1 -1
  198. package/src/helpers/request-spy.js +1 -1
  199. package/src/helpers/setKeepAlive.js +1 -1
  200. package/src/helpers/stackFrameUtils.js +1 -1
  201. package/src/helpers/test-observability/constants.js +1 -1
  202. package/src/helpers/test-observability/error-handler.js +1 -1
  203. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  204. package/src/helpers/test-observability/sessionHandler.js +1 -1
  205. package/src/helpers/test-observability/utils.js +1 -1
  206. package/src/helpers/test-orchestration/constants.js +1 -1
  207. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  208. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  209. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  210. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  211. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  212. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  213. package/src/helpers/testhub/constants.js +1 -1
  214. package/src/helpers/testhub/testhubHandler.js +1 -1
  215. package/src/helpers/testhub/utils.js +1 -1
  216. package/src/helpers/timeoutPromise.js +1 -1
  217. package/src/helpers/utilities.js +1 -1
  218. package/src/helpers/w3cMapping.js +1 -1
  219. package/src/hubAllocationMethods.js +1 -1
  220. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a82_0x2d90df=a82_0x55cd;function a82_0x55cd(_0x2b0e5d,_0x158d56){const _0x39871d=a82_0x3987();return a82_0x55cd=function(_0x55cdb7,_0x53efda){_0x55cdb7=_0x55cdb7-0xa7;let _0x42f98a=_0x39871d[_0x55cdb7];return _0x42f98a;},a82_0x55cd(_0x2b0e5d,_0x158d56);}(function(_0x1b5d55,_0x55d142){const _0x55dab2=a82_0x55cd,_0x3e3b07=_0x1b5d55();while(!![]){try{const _0x1a7fea=parseInt(_0x55dab2(0x115))/0x1*(-parseInt(_0x55dab2(0x159))/0x2)+-parseInt(_0x55dab2(0x10a))/0x3+-parseInt(_0x55dab2(0x172))/0x4*(-parseInt(_0x55dab2(0x18e))/0x5)+-parseInt(_0x55dab2(0x132))/0x6+parseInt(_0x55dab2(0xbc))/0x7+-parseInt(_0x55dab2(0x192))/0x8*(-parseInt(_0x55dab2(0x1b1))/0x9)+parseInt(_0x55dab2(0x161))/0xa;if(_0x1a7fea===_0x55d142)break;else _0x3e3b07['push'](_0x3e3b07['shift']());}catch(_0x1ac8ad){_0x3e3b07['push'](_0x3e3b07['shift']());}}}(a82_0x3987,0xd92ab));const TestFramework=require(a82_0x2d90df(0xeb)),TestFrameworkState=require(a82_0x2d90df(0x144)),HookState=require(a82_0x2d90df(0x164)),{createClassLogger}=require(a82_0x2d90df(0xfc)),TestFrameworkInstance=require(a82_0x2d90df(0x14e)),CLIUtils=require(a82_0x2d90df(0x178)),TrackedInstance=require(a82_0x2d90df(0x16c)),TestFrameworkConstants=require(a82_0x2d90df(0xde)),logger=createClassLogger('PlaywrightTestFramework'),{v4:uuidv4}=require(a82_0x2d90df(0x1ad)),util=require('util'),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a82_0x2d90df(0xc2)),TestInfo=require(a82_0x2d90df(0xe7)),GrpcClient=require(a82_0x2d90df(0x195)),{removeAnsiColors,getFailureType,failureData}=require(a82_0x2d90df(0x17c)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a82_0x2d90df(0x113)),{findNestedKey,sendTraceZip,validateFilePath}=require(a82_0x2d90df(0x113)),path=require(a82_0x2d90df(0x1af)),fs=require('fs'),helper=require('../../../../src/helpers/helper'),{PLAYWRIGHT_TRACE_LOGS}=require(a82_0x2d90df(0x119)),PLAYWRIGHT_BUILTIN_ANNOTATIONS=new Set([a82_0x2d90df(0x180),a82_0x2d90df(0x134),a82_0x2d90df(0x174),a82_0x2d90df(0x16f)]);function a82_0x3987(){const _0x3981bb=['KEY_TEST_SCOPES','EvQIU','JznuT','\x20\x20and\x20args\x20=\x20','parsePlaywrightTestResult','getCurrentInstanceName','KEY_TEST_FAILURE_TYPE','DEFAULT_HOOK_RESULT','TEST_SCREENSHOT','Qbmjf','KEY_HOOK_NAME','KEY_TEST_RETRY_OF','getTraceFilePaths','./constants/testFrameworkConstants.js','file_name','hook','errors','getTestDetails','KEY_TEST_RESULT_AT','getTestIdentifierFromTestInfo','KEY_TEST_FILE_PATH','some','../TestInfo.js','JPmGT','\x20testState:\x20','parseCommaSeparatedValues','./testFramework','set','KEY_TEST_NAME','filePath','oWibN','platformIndex','\x20hookState=','KEY_HOOK_LAST_FINISHED','basename','tUExF','WWbKW','ZaizG','getId','trackEvent','\x20step=\x22','KEY_TEST_SCOPE','../customTagManager','../../../helpers/classLogger.js','AubjX','DEFAULT_TEST_RESULT','getCurrentTestState','Error\x20processing\x20trace\x20file\x20','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','tSlhW','trackEvent:\x20found\x20instance,\x20testFrameworkState=','started_at','TtiSE','status','KEY_HOOK_RESULT','koXDt','TEST_ATTACHMENT','2804484LBSwtV','push','parsePlaywrightTest','getContext','getTestUUID','POST','startedAt','trackPlaywrightInstance','runHooks','../../playwright/reporter/pwUtils','testUId','3XnsMdK','KEY_HOOKS_FINISHED','kHGZX','yjRXp','../../utils/constants','logs','getTime','expectedStatus','sendLogCreatedEvent','KEY_AUTOMATE_SESSION_NAME','base64','PVeQw','parallelIndex','startTime','ytpav','lVsyC','description','step','results','debug','KEY_HOOKS_STARTED','trackStepEvent','zxUoa','KEY_HOOK_FAILURE_TYPE','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','getCurrentHookState','KEY_TEST_FRAMEWORK_NAME','QRvRB',',\x20testFrameworkState=','5165988qbmxVZ','rTqeU','fixme','getInstance','test',',\x20state=','filter','eventJson','split','ECohM','get','diBnr','\x20hookState:\x20','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','tBcUI','purpH','retry','failed','../state/testFrameworkState.js','afqXi','matchHookRegex','ZsGXf','mlvAB','\x20batch\x20','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','KEY_LOGS','NONE','dEXng','../instances/testFrameworkInstance.js','KEY_TEST_ATTACHMENTS','UqmRL','toISOString','getProcessId','size','INIT_TEST','LagbW','inspect','puWDc','pnxBc','443492CpDned','KEY_TEST_UUID','XBWwJ','steps','hookState','SQQQe','trackStepEvent:\x20exception=','KEY_CUSTOM_TAGS','5746450jizLFU','err','Fhhda','../state/hookState.js','eVzcE','has','logCreatedEvent','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','Expected\x20to\x20fail,\x20but\x20passed.','pop','attachments','../instances/trackedInstance.js','MAX_NESTED_STEP_DEPTH','KEY_TEST_FRAMEWORK_VERSION','fail','trackHookEvent','CFwiT','4qEBivI','leMmp','slow','text','KEY_HOOK_LOGS','KEY_TEST_LOGS','../cliUtils.js','sendLogCreatedEvent:\x20testId=','VdzlY','Error\x20processing\x20direct\x20trace\x20file\x20','../../../helpers/test-observability/utils','QboWG','stringify','getTestFrameworks','skip','Ocjeu','\x20&\x20hook\x20=\x20','KEY_TEST_META','Error\x20in\x20sendLogCreatedEvent:\x20','from','result','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','No\x20reason\x20provided','slice','Error\x20in\x20createTestFrameworkEventPayload:\x20','gJHkc','KxCFm','GjRRh','2047375lDBAlL','KEY_TEST_LOCATION','error','fZtUz','21256acZhUF','pFvww','\x20and\x20args\x20=\x20','../grpcClient','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','addMultipleEntries','\x20payload=','TQyUv','getAllData','\x20response=','MAX_TOP_LEVEL_STEPS','toString','KEY_TEST_FAILURE_REASON','MpxiG','\x20result=','executionContext','testFrameworkVersion','instance','title','KEY_TEST_CODE','tgnoa','browserstackPlatformIndex','RcJhb','sendLogCreatedEvent\x20for\x20testId:\x20','getThreadId','\x20instance=','\x20testHookState=','uuid','KEY_TEST_RESULT','path','KEY_TEST_ID','3807qkSRjN','KEY_TEST_STARTED_AT','iYGCD','\x20target=','trim','resolveInstance','endedAt','ZhtKm','getRef','PRE','length','failure','eNEJe','duration','testFrameworkName','message','createTestFrameworkEventPayload\x20testId:\x20','\x20steps\x20for\x20testId=','KEY_HOOK_ID','\x20instanceId=','TEST','createTestFrameworkEventPayload','ceil','8697836UMAMiY','dkmah','createContext','fXneB','UlwWe','TEST_STEP','../../../helpers/helper.js','concat','EppTH','lLiAx','format','WDykF','passed','KEY_EVENT_STARTED_AT','YhFUw','trackStepEvent:\x20testId=','forEach','IdHdA','setTestDetails','getTestFrameworksVersions','statSync'];a82_0x3987=function(){return _0x3981bb;};return a82_0x3987();}class PlaywrightTestFramework extends TestFramework{constructor(_0x45b128,_0x4a3758,_0x3ef898){super(_0x45b128,_0x4a3758,_0x3ef898);}async[a82_0x2d90df(0xf8)](_0x29f599,_0x28287f,_0x3878bb={}){const _0x25ec08=a82_0x2d90df,_0x51458e={'UlwWe':function(_0x4ca007,_0xb16652){return _0x4ca007===_0xb16652;},'EvQIU':function(_0x4a7eed,_0x3b3e97,_0x4f3e5d){return _0x4a7eed(_0x3b3e97,_0x4f3e5d);},'afqXi':function(_0x1143b1,_0x4a3c83){return _0x1143b1===_0x4a3c83;},'ruFOe':function(_0x3b3730,_0x491e54,_0x148a17,_0x4e6d5a){return _0x3b3730(_0x491e54,_0x148a17,_0x4e6d5a);},'dEXng':_0x25ec08(0x136),'TQyUv':_0x25ec08(0x12d)};super[_0x25ec08(0xf8)](_0x29f599,_0x28287f,_0x3878bb);if(_0x51458e['UlwWe'](_0x29f599,TestFrameworkState[_0x25ec08(0xd9)])){const _0x52f6fd=TestInfo[_0x25ec08(0xe4)](_0x3878bb[_0x25ec08(0x136)],_0x3878bb['test'][_0x25ec08(0x142)]);TestInfo[_0x25ec08(0xce)](_0x52f6fd,_0x3878bb[_0x25ec08(0x186)],!![]);}if(_0x51458e[_0x25ec08(0xc0)](_0x29f599,TestFrameworkState[_0x25ec08(0xc1)])){this[_0x25ec08(0x12a)](_0x29f599,_0x28287f,_0x3878bb);return;}const _0x19e70c=this[_0x25ec08(0xaa)](_0x29f599,_0x28287f,_0x3878bb);if(!_0x19e70c)return;logger['debug'](_0x25ec08(0x103)+_0x29f599+_0x25ec08(0xf1)+_0x28287f+_0x25ec08(0xb8)+_0x19e70c[_0x25ec08(0xad)]());try{if(_0x51458e[_0x25ec08(0xc0)](_0x28287f,HookState['PRE'])&&_0x51458e[_0x25ec08(0xc0)](_0x29f599,TestFrameworkState[_0x25ec08(0xb9)])){const _0x23aa5a=_0x3878bb[_0x25ec08(0x136)];logger[_0x25ec08(0x128)](_0x25ec08(0x196)+_0x23aa5a['id']+'}');const _0xe86aa0=TestInfo['getTestUUID'](_0x51458e['EvQIU'](getTestRunIdentifier,_0x23aa5a,_0x3878bb[_0x25ec08(0x186)]['retry']));_0x19e70c[_0x25ec08(0x197)](this[_0x25ec08(0x10c)](_0xe86aa0,_0x23aa5a,_0x3878bb[_0x25ec08(0x186)])),logger[_0x25ec08(0x128)](_0x25ec08(0x187)+_0x23aa5a['id']+_0x25ec08(0x131)+_0x29f599+_0x25ec08(0x1ac)+_0x28287f+_0x25ec08(0x1ab)+_0x19e70c[_0x25ec08(0xad)]());}if(_0x51458e[_0x25ec08(0x145)](_0x28287f,HookState[_0x25ec08(0x10f)])&&_0x51458e[_0x25ec08(0xc0)](_0x29f599,TestFrameworkState[_0x25ec08(0xb9)])){const _0x53c086=_0x3878bb['test'],_0x4aad19=_0x3878bb['result'];logger['debug'](_0x25ec08(0x168)+_0x53c086['id']);const _0x2b4c8c=_0x51458e[_0x25ec08(0xd2)](getTestRunIdentifier,_0x53c086,_0x4aad19[_0x25ec08(0x142)]),_0x746ae1=_0x19e70c['getAllData']()['get'](_0x2b4c8c)[TestFrameworkConstants[_0x25ec08(0x15a)]],{steps:_0x3104eb,logs:_0x12d32b}=_0x51458e['ruFOe'](getStepsAndLogs,_0x4aad19[_0x25ec08(0x15c)],_0x746ae1,_0x51458e[_0x25ec08(0x14d)]);_0x19e70c[_0x25ec08(0x197)](this[_0x25ec08(0xd5)](_0x53c086['id'],_0x4aad19,_0x53c086,_0x3104eb)),await this[_0x25ec08(0x11d)](_0x19e70c,_0x29f599,_0x28287f,_0x51458e[_0x25ec08(0x14d)],_0x3878bb,_0x12d32b);}if(CLIUtils[_0x25ec08(0x146)](_0x29f599[_0x25ec08(0x19d)]()[_0x25ec08(0x13a)]('.')[0x1])){const _0x29b66a=await this['trackHookEvent'](_0x19e70c,_0x29f599,_0x28287f,_0x3878bb);_0x19e70c[_0x25ec08(0x197)](_0x29b66a);}}catch(_0x3168e6){logger[_0x25ec08(0x190)](util[_0x25ec08(0xc6)](_0x51458e[_0x25ec08(0x199)],_0x29f599,_0x28287f,_0x3878bb[_0x25ec08(0xaf)],_0x3168e6));}_0x3878bb[_0x25ec08(0x1a3)]=_0x19e70c,await this[_0x25ec08(0x112)](_0x19e70c,_0x29f599,_0x28287f,_0x3878bb);}[a82_0x2d90df(0xaa)](_0x2b4aa0,_0x5a4fc8,_0x89aae6={}){const _0x4e57c3=a82_0x2d90df,_0x22d4a5={};_0x22d4a5[_0x4e57c3(0xf4)]=function(_0x3a6f69,_0x5e26d4){return _0x3a6f69===_0x5e26d4;},_0x22d4a5['XStgV']=function(_0x3f1852,_0x1a649b){return _0x3f1852===_0x1a649b;};const _0x10a891=_0x22d4a5;let _0x282ad4=null;return(_0x10a891[_0x4e57c3(0xf4)](_0x2b4aa0,TestFrameworkState[_0x4e57c3(0x154)])||_0x10a891['XStgV'](_0x2b4aa0,TestFrameworkState[_0x4e57c3(0x14c)]))&&this[_0x4e57c3(0x111)](_0x2b4aa0,_0x89aae6),_0x282ad4=TestFramework['getTrackedInstance'](),_0x282ad4;}[a82_0x2d90df(0x111)](_0x4b8379,_0x108aa3){const _0x557ae9=a82_0x2d90df,_0x58e77c=CLIUtils[_0x557ae9(0xd6)](),_0x270a83=TrackedInstance[_0x557ae9(0xbe)](_0x58e77c);let _0x28dc47=null;logger['info']('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x58e77c+_0x557ae9(0x137)+_0x4b8379),_0x28dc47=new TestFrameworkInstance(_0x270a83,this[_0x557ae9(0x17f)](),this[_0x557ae9(0xcf)](),_0x4b8379,HookState[_0x557ae9(0x14c)]),TestFramework['setTrackedInstance'](_0x270a83,_0x28dc47),logger['info'](_0x557ae9(0x13f)+_0x270a83[_0x557ae9(0xf7)]()+_0x557ae9(0xa8)+_0x58e77c);}['parsePlaywrightTest'](_0x46feee,_0x176214,_0x1c1ada){const _0x5c5829=a82_0x2d90df,_0xd36591={'kHGZX':function(_0x5433ae,_0x211439){return _0x5433ae(_0x211439);},'purpH':function(_0xabd047,_0x3035da){return _0xabd047(_0x3035da);},'RWTts':function(_0x32d91e,_0x510aff){return _0x32d91e(_0x510aff);},'Fhhda':function(_0x230fbe,_0x16d2e1){return _0x230fbe(_0x16d2e1);},'koXDt':function(_0x5a944f,_0x52683e){return _0x5a944f(_0x52683e);},'gJHkc':function(_0xd55fde,_0x2c25c4,_0x457a9c){return _0xd55fde(_0x2c25c4,_0x457a9c);}},_0x12268b=_0xd36591[_0x5c5829(0x117)](getPlaywrightTestId,_0x176214),_0x4a87cb=_0xd36591[_0x5c5829(0x117)](getPlaywrightTestTitle,_0x176214),_0x4c847d=_0xd36591[_0x5c5829(0x117)](getTestTags,_0x176214),_0x13d95f=_0xd36591[_0x5c5829(0x141)](getPlaywrightTestCode,_0x176214),_0x1d6368=_0xd36591[_0x5c5829(0x141)](getPlaywrightTestFilePath,_0x176214),_0x4469e6=_0x1d6368,_0x3a3b4a=_0xd36591['RWTts'](getPlaywrightTestScope,_0x176214),_0x1be793=_0xd36591['Fhhda'](getPlaywrightTestScopes,_0x176214),_0x4cf3a4=_0xd36591[_0x5c5829(0x108)](getPlaywrightSessionName,_0x176214),_0x4e398d=this[_0x5c5829(0x17f)]()[0x0],_0x190d9e=_0xd36591[_0x5c5829(0x18b)](getTestRunIdentifier,_0x176214,_0x1c1ada[_0x5c5829(0x142)]),_0x579d79={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x4e398d,[TestFrameworkConstants[_0x5c5829(0x16e)]]:this[_0x5c5829(0xcf)]()[_0x4e398d],[TestFrameworkConstants[_0x5c5829(0x177)]]:[],[TestFrameworkConstants[_0x5c5829(0x116)]]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants[_0x5c5829(0x15a)]]:_0x46feee,[TestFrameworkConstants[_0x5c5829(0x1ae)]]:TestFrameworkConstants[_0x5c5829(0xfe)],[TestFrameworkConstants[_0x5c5829(0x11e)]]:_0x4cf3a4,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x1d6368,[TestFrameworkConstants[_0x5c5829(0x1b0)]]:_0x12268b,[TestFrameworkConstants[_0x5c5829(0xed)]]:_0x4a87cb,[TestFrameworkConstants[_0x5c5829(0x18f)]]:_0x4469e6,[TestFrameworkConstants[_0x5c5829(0x1a5)]]:_0x13d95f,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x4c847d,[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x176214[_0x5c5829(0x127)][0x0]['startTime'],[TestFrameworkConstants[_0x5c5829(0xfa)]]:_0x3a3b4a,[TestFrameworkConstants[_0x5c5829(0xd1)]]:_0x1be793,[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0xd36591[_0x5c5829(0x163)](getPlaywrightCustomRerunParam,_0x176214)};TestInfo['setTestDetails'](_0x190d9e,_0x579d79);const _0xf87c50={};return _0xf87c50[_0x190d9e]=_0x579d79,_0xf87c50;}['parsePlaywrightTestResult'](_0x2762b7,_0x27cdc8,_0x10fc5d,_0x4117f1){const _0x149720=a82_0x2d90df,_0x956b81={'vtrVi':function(_0x382fb6,_0x5a3fd1){return _0x382fb6(_0x5a3fd1);},'JznuT':_0x149720(0x109),'PVeQw':function(_0x46df83,_0x51cc32){return _0x46df83===_0x51cc32;},'AubjX':function(_0x5a9f22,_0x3933a4){return _0x5a9f22===_0x3933a4;},'lLiAx':function(_0x156db2,_0x375def){return _0x156db2(_0x375def);},'pNKEB':_0x149720(0x188),'mlvAB':function(_0x2b9916,_0x555864){return _0x2b9916(_0x555864);},'WWbKW':function(_0x3a10fc,_0x220795,_0x5e8829){return _0x3a10fc(_0x220795,_0x5e8829);},'SOfHM':function(_0x59f332,_0x52b4a2){return _0x59f332===_0x52b4a2;},'tSlhW':'skipped','pnxBc':_0x149720(0xc8),'RcJhb':'failed','ECohM':function(_0x3828a0,_0x42778e){return _0x3828a0===_0x42778e;},'QboWG':'timedOut','SQQQe':function(_0x38c07e,_0x1a816a){return _0x38c07e===_0x1a816a;},'GjRRh':_0x149720(0x169),'lVsyC':function(_0x1b7dfa,_0x4ab1d8,_0x1f793e){return _0x1b7dfa(_0x4ab1d8,_0x1f793e);},'sItkk':function(_0x4de7a0,_0x59ef04){return _0x4de7a0||_0x59ef04;},'iYGCD':function(_0x4a5785,_0x2d11f0){return _0x4a5785(_0x2d11f0);},'HHbHY':function(_0x353fa9,_0x2600aa){return _0x353fa9(_0x2600aa);},'yjRXp':function(_0x1e0305,_0x4f7485){return _0x1e0305>_0x4f7485;},'zxUoa':function(_0x50f2ec,_0x5dd86a){return _0x50f2ec-_0x5dd86a;},'puWDc':function(_0x40d5b9,_0x5962b0,_0x52647f,_0x234a5b){return _0x40d5b9(_0x5962b0,_0x52647f,_0x234a5b);},'eVzcE':_0x149720(0x136),'WDykF':function(_0x3813a7,_0x3740fd){return _0x3813a7>=_0x3740fd;},'MpxiG':function(_0x1dc3bb,_0x5f1c41){return _0x1dc3bb+_0x5f1c41;},'KxCFm':_0x149720(0x1af),'ZsGXf':function(_0x29902b,_0xc8ffa6){return _0x29902b(_0xc8ffa6);},'rTqeU':function(_0x169a05,_0x219902){return _0x169a05>_0x219902;},'JPmGT':function(_0x5bae33,_0x2c20dd){return _0x5bae33>_0x2c20dd;},'YJukJ':function(_0x5322b9,_0x43aa5e){return _0x5322b9(_0x43aa5e);},'jonov':_0x149720(0xfb)};logger[_0x149720(0x128)]('parsePlaywrightTestResult:\x20testId='+_0x2762b7);const _0x161bf8=_0x956b81[_0x149720(0xf5)](getTestRunIdentifier,_0x10fc5d,_0x27cdc8[_0x149720(0x142)]),_0x3255d3=new Date(),_0x3f3d60=_0x27cdc8['status'],_0x301c0f=TestInfo['getTestDetails'](_0x161bf8)[TestFrameworkConstants[_0x149720(0x160)]]||{};let _0x36a5f7=_0x3f3d60;if(_0x956b81[_0x149720(0x120)](_0x27cdc8[_0x149720(0x106)],_0x10fc5d[_0x149720(0x11c)]))_0x36a5f7=_0x956b81['SOfHM'](_0x27cdc8['status'],_0x956b81[_0x149720(0x102)])?_0x956b81['tSlhW']:_0x956b81[_0x149720(0x158)];else{(_0x956b81[_0x149720(0xfd)](_0x36a5f7,_0x956b81[_0x149720(0x158)])||_0x956b81['PVeQw'](_0x36a5f7,_0x956b81[_0x149720(0x1a8)])||_0x956b81[_0x149720(0x13b)](_0x36a5f7,_0x956b81[_0x149720(0x17d)]))&&(_0x36a5f7=_0x956b81[_0x149720(0x1a8)]);if(_0x956b81[_0x149720(0x120)](_0x27cdc8['status'],_0x956b81[_0x149720(0x158)])&&_0x956b81['SQQQe'](_0x10fc5d[_0x149720(0x11c)],_0x956b81[_0x149720(0x1a8)])){const _0x31e678={};_0x31e678[_0x149720(0xb4)]=_0x956b81[_0x149720(0x18d)],_0x31e678['stack']=_0x956b81[_0x149720(0x18d)],_0x27cdc8['error']=_0x31e678,_0x27cdc8[_0x149720(0xe1)]=[_0x27cdc8[_0x149720(0x190)]];}}const {failureData:_0x4502c6,logs:_0x14902b}=_0x956b81[_0x149720(0x124)](getFailureData,_0x27cdc8?.[_0x149720(0xe1)],{}),_0x32c15b={[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x956b81['sItkk'](_0x4502c6,null),[TestFrameworkConstants[_0x149720(0xd7)]]:_0x27cdc8?.[_0x149720(0x190)]&&_0x956b81[_0x149720(0xa7)](getFailureType,_0x27cdc8[_0x149720(0x190)][_0x149720(0xb4)]),[TestFrameworkConstants[_0x149720(0x19e)]]:_0x27cdc8?.[_0x149720(0x190)]&&_0x956b81['HHbHY'](removeAnsiColors,_0x27cdc8[_0x149720(0x190)]['message']),[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x149720(0x1ae)]]:_0x36a5f7,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x3255d3[_0x149720(0x151)](),[TestFrameworkConstants[_0x149720(0xe3)]]:new Date()[_0x149720(0x151)](),[TestFrameworkConstants[_0x149720(0x160)]]:_0x301c0f};if(_0x27cdc8&&_0x956b81['yjRXp'](_0x27cdc8[_0x149720(0x142)],0x0)){const _0x5306d9=TestInfo[_0x149720(0x10e)](_0x956b81[_0x149720(0xf5)](getTestRunIdentifier,_0x10fc5d,_0x956b81[_0x149720(0x12b)](_0x27cdc8['retry'],0x1)));_0x32c15b[TestFrameworkConstants[_0x149720(0xdc)]]=_0x5306d9;}const _0x2c0945={};_0x2c0945[_0x149720(0x136)]=_0x10fc5d;const _0x311eb8=this[_0x149720(0xaa)](TestFrameworkState[_0x149720(0xb9)],HookState[_0x149720(0x10f)],_0x2c0945),_0x252140=_0x311eb8[_0x149720(0x19a)]()[_0x149720(0x13c)](_0x161bf8)[TestFrameworkConstants[_0x149720(0x15a)]],_0x457a0a=_0x4117f1||_0x956b81[_0x149720(0x157)](getStepsAndLogs,_0x27cdc8[_0x149720(0x15c)],_0x252140,_0x956b81[_0x149720(0x165)])[_0x149720(0x15c)],_0x697147=new Map(),_0x3c3f62=new Map();let _0x919935=0x0;const _0x3913cc=[];for(const _0x4163fd of _0x457a0a||[]){const _0x1d46f6=_0x4163fd['parent_id']||null;let _0x14f9de;if(_0x956b81[_0x149720(0x15e)](_0x1d46f6,null)){if(_0x956b81[_0x149720(0xc7)](_0x919935,TestFrameworkConstants[_0x149720(0x19c)]))continue;_0x14f9de=0x0,_0x919935++;}else{const _0x121eec=_0x697147['get'](_0x1d46f6);if(_0x956b81[_0x149720(0xfd)](_0x121eec,undefined))continue;_0x14f9de=_0x956b81[_0x149720(0x19f)](_0x121eec,0x1);if(_0x956b81[_0x149720(0x118)](_0x14f9de,TestFrameworkConstants[_0x149720(0x16d)]))continue;}_0x697147[_0x149720(0xec)](_0x4163fd['id'],_0x14f9de),_0x3c3f62['set'](_0x4163fd['id'],_0x4163fd['text']),_0x3913cc['push']({'id':_0x4163fd['id'],'parent_id':_0x1d46f6,'parent_text':_0x1d46f6?_0x3c3f62[_0x149720(0x13c)](_0x1d46f6)||'':'','text':_0x4163fd[_0x149720(0x175)],'keyword':_0x4163fd['keyword']||null,'started_at':_0x4163fd[_0x149720(0x104)],'duration':_0x4163fd[_0x149720(0xb2)]??null,'result':_0x4163fd['result'],'failure':_0x4163fd[_0x149720(0xb0)]||null,'failure_type':_0x4163fd['failure_type']||null});}const _0x3ea63e={};_0x3ea63e['steps']=_0x3913cc,_0x32c15b[TestFrameworkConstants[_0x149720(0x183)]]=_0x3ea63e,logger['debug']('parsePlaywrightTestResult:\x20extracted\x20'+_0x3913cc[_0x149720(0xaf)]+_0x149720(0xb6)+_0x2762b7);const _0x5fd17f=[],_0x28d217=_0x956b81[_0x149720(0xf5)](findNestedKey,_0x27cdc8,_0x956b81[_0x149720(0x18c)]);if(_0x28d217&&_0x956b81[_0x149720(0x147)](validateFilePath,_0x28d217))try{_0x5fd17f[_0x149720(0x10b)]({'kind':_0x956b81[_0x149720(0xd3)],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0x252140,'file_name':path['basename'](_0x28d217),'file_size':fs[_0x149720(0xd0)](_0x28d217)['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x4e6327){logger['error'](_0x149720(0x17b)+_0x28d217+':\x20'+_0x4e6327[_0x149720(0xb4)]);}const _0x36b736=TestInfo[_0x149720(0xdd)](),_0x60f7fa=_0x36b736[_0x149720(0x138)](_0x57a5b1=>_0x57a5b1[_0x149720(0x114)]===_0x252140);_0x60f7fa[_0x149720(0xcc)](_0x3494a4=>{const _0x16390f=_0x149720;if(_0x3494a4[_0x16390f(0xee)]&&_0x956b81['vtrVi'](validateFilePath,_0x3494a4[_0x16390f(0xee)])&&!_0x5fd17f[_0x16390f(0xe6)](_0x5e54d0=>_0x5e54d0[_0x16390f(0xdf)]===path[_0x16390f(0xf3)](_0x3494a4[_0x16390f(0xee)])))try{_0x5fd17f[_0x16390f(0x10b)]({'kind':_0x956b81['JznuT'],'timestamp':new Date()[_0x16390f(0x151)](),'test_run_uuid':_0x252140,'file_name':path['basename'](_0x3494a4[_0x16390f(0xee)]),'file_size':fs[_0x16390f(0xd0)](_0x3494a4[_0x16390f(0xee)])[_0x16390f(0x153)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x337ecc){logger[_0x16390f(0x190)](_0x16390f(0x100)+_0x3494a4[_0x16390f(0xee)]+'\x20from\x20TestDetails:\x20'+_0x337ecc[_0x16390f(0xb4)]);}});if(_0x956b81[_0x149720(0x133)](_0x5fd17f[_0x149720(0xaf)],0x0)){const _0x5c8c85=_0x32c15b[TestFrameworkConstants[_0x149720(0x14b)]]||[];_0x32c15b[TestFrameworkConstants['KEY_LOGS']]=[..._0x5c8c85,..._0x5fd17f];}const _0x1febe2=TestInfo[_0x149720(0xe2)](_0x161bf8)[TestFrameworkConstants[_0x149720(0x14f)]]||{},_0x1a9356=_0x956b81[_0x149720(0xf5)](getManualUploadLogs,_0x1febe2,_0x311eb8[_0x149720(0x19a)]()[_0x149720(0x13c)](_0x161bf8)[TestFrameworkConstants[_0x149720(0x15a)]]);if(_0x956b81[_0x149720(0xe8)](_0x1a9356[_0x149720(0xaf)],0x0)){const _0x2b7d02=_0x32c15b[TestFrameworkConstants[_0x149720(0x14b)]]||[];_0x32c15b[TestFrameworkConstants[_0x149720(0x14b)]]=[..._0x2b7d02,..._0x1a9356];}const _0x28789c=_0x10fc5d['annotations']||[],_0x50c8a2=_0x32c15b[TestFrameworkConstants[_0x149720(0x160)]]||{},_0x377abb=_0x956b81['YJukJ'](require,_0x956b81['jonov']);_0x28789c[_0x149720(0xcc)](_0x3c376a=>{const _0x56bed6=_0x149720,{type:_0x54f203}=_0x3c376a;let _0x5a3276=_0x3c376a[_0x56bed6(0x125)];if(!_0x54f203)return;if(PLAYWRIGHT_BUILTIN_ANNOTATIONS[_0x56bed6(0x166)](_0x54f203))return;(_0x956b81[_0x56bed6(0x120)](_0x5a3276,undefined)||_0x956b81[_0x56bed6(0xfd)](_0x5a3276,null)||_0x956b81[_0x56bed6(0xfd)](_0x956b81[_0x56bed6(0xc5)](String,_0x5a3276)[_0x56bed6(0xa9)](),''))&&(_0x5a3276=_0x956b81['pNKEB']);const _0x3368a6=helper[_0x56bed6(0xea)](_0x956b81[_0x56bed6(0x148)](String,_0x5a3276));_0x377abb['mergeIntoTags'](_0x50c8a2,_0x54f203,_0x3368a6);}),_0x32c15b[TestFrameworkConstants[_0x149720(0x160)]]=_0x50c8a2,TestInfo[_0x149720(0xce)](_0x161bf8,_0x32c15b);const _0x45f045={};return _0x45f045[_0x161bf8]=_0x32c15b,_0x45f045;}[a82_0x2d90df(0x12a)](_0xa03bc1,_0x289d88,_0x315d9e){const _0x1c532f=a82_0x2d90df,_0x317362={'hLRhg':function(_0x132cd9,_0x11c115){return _0x132cd9||_0x11c115;},'ZaizG':function(_0x1b8a0a,_0x3d1f0c,_0x251300){return _0x1b8a0a(_0x3d1f0c,_0x251300);}};try{const {test:_0x381362,result:_0x906d62,step:_0x3e7821}=_0x315d9e;if(_0x317362['hLRhg'](!_0x381362,!_0x3e7821)||!_0x906d62)return;const _0x280b88=_0x317362[_0x1c532f(0xf6)](getTestRunIdentifier,_0x381362,_0x906d62['retry']);logger[_0x1c532f(0x128)](_0x1c532f(0xcb)+_0x280b88+_0x1c532f(0xf1)+_0x289d88+_0x1c532f(0xf9)+_0x3e7821[_0x1c532f(0x1a4)]+'\x22');}catch(_0x1ada7d){logger[_0x1c532f(0x190)](_0x1c532f(0x15f)+util['format'](_0x1ada7d));}}async[a82_0x2d90df(0x170)](_0x3b2cc8,_0x3bf42a,_0x11d3e7,_0x5a3c26){const _0x1b4f29=a82_0x2d90df,_0x5523a4={'fZtUz':function(_0x56fab1,_0x244e82,_0x50e5a8){return _0x56fab1(_0x244e82,_0x50e5a8);},'UqmRL':function(_0x22efab,_0x249113){return _0x22efab in _0x249113;},'oWibN':function(_0x4acf02,_0x7d4c2e){return _0x4acf02(_0x7d4c2e);},'QRvRB':function(_0x2709d9,_0x4a5d3f){return _0x2709d9===_0x4a5d3f;},'Nrqkq':function(_0x355ae2){return _0x355ae2();},'CFwiT':function(_0x387822,_0x5e5876){return _0x387822>_0x5e5876;},'OEpRq':function(_0x42d0f4,_0x49f21e,_0x2df090){return _0x42d0f4(_0x49f21e,_0x2df090);},'fXneB':_0x1b4f29(0x162),'eNEJe':_0x1b4f29(0x143),'tBcUI':'passed','CSYii':function(_0x2eb642,_0x3433ee){return _0x2eb642!==_0x3433ee;},'kMQAH':function(_0x35202a,_0x5ee706){return _0x35202a+_0x5ee706;},'dkmah':_0x1b4f29(0xe0)},_0x25f683=_0x5a3c26[_0x1b4f29(0x136)],_0x2cc911=_0x5a3c26[_0x1b4f29(0x126)],_0x55e295=_0x5523a4[_0x1b4f29(0x191)](getTestRunIdentifier,_0x25f683,_0x5a3c26['result']['retry']),_0x115d64=_0x3bf42a[_0x1b4f29(0x19d)]()[_0x1b4f29(0x13a)]('.')[0x1];let _0x7f937a=_0x3b2cc8[_0x1b4f29(0x19a)]()[_0x1b4f29(0x13c)](_0x55e295)[TestFrameworkConstants[_0x1b4f29(0x129)]];!_0x7f937a&&(_0x7f937a={});!_0x5523a4[_0x1b4f29(0x150)](_0x115d64,_0x7f937a)&&(_0x7f937a[_0x115d64]=[]);let _0x5b04e4=_0x3b2cc8['getAllData']()['get'](_0x55e295)[TestFrameworkConstants[_0x1b4f29(0x116)]];!_0x5b04e4&&(_0x5b04e4={});!_0x5523a4[_0x1b4f29(0x150)](_0x115d64,_0x5b04e4)&&(_0x5b04e4[_0x115d64]=[]);const _0x1f66f4={[TestFrameworkConstants[_0x1b4f29(0x129)]]:_0x7f937a,[TestFrameworkConstants[_0x1b4f29(0x116)]]:_0x5b04e4},_0x156d62={};_0x156d62[_0x55e295]=_0x1f66f4;const _0x231017=_0x156d62,_0x5ea91a=_0x5523a4[_0x1b4f29(0xef)](getPlaywrightTestFilePath,_0x25f683),_0x5cae4d=_0x5ea91a,_0x1993b9=TestInfo[_0x1b4f29(0xe2)](_0x55e295)[TestFrameworkConstants[_0x1b4f29(0x160)]]||{};if(_0x5523a4[_0x1b4f29(0x130)](_0x11d3e7,HookState[_0x1b4f29(0xae)])){const _0x346b6c={'key':_0x115d64,[TestFrameworkConstants[_0x1b4f29(0xb7)]]:_0x5523a4['Nrqkq'](uuidv4),[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x1b4f29(0xd8)],[TestFrameworkConstants[_0x1b4f29(0xc9)]]:_0x2cc911['startTime'],[TestFrameworkConstants[_0x1b4f29(0x176)]]:[],[TestFrameworkConstants[_0x1b4f29(0xdb)]]:_0x2cc911[_0x1b4f29(0x1a4)],[TestFrameworkConstants[_0x1b4f29(0xe5)]]:_0x5ea91a,[TestFrameworkConstants[_0x1b4f29(0x18f)]]:_0x5cae4d,[TestFrameworkConstants[_0x1b4f29(0x160)]]:_0x1993b9};_0x7f937a[_0x115d64][_0x1b4f29(0x10b)](_0x346b6c),_0x231017[_0x55e295][TestFrameworkConstants['KEY_HOOK_LAST_STARTED']]=_0x115d64,logger[_0x1b4f29(0x128)](_0x1b4f29(0x14a)+_0x115d64+_0x1b4f29(0x182)+_0x346b6c+_0x1b4f29(0xd4)+_0x5a3c26);}else{if(_0x5523a4[_0x1b4f29(0x130)](_0x11d3e7,HookState[_0x1b4f29(0x10f)])){const _0x1092e5=await _0x5a3c26['result'],_0x4f3226=_0x7f937a[_0x115d64]||[],_0x53ac4c=_0x5a3c26[_0x1b4f29(0x126)];logger['debug']('Hook\x20List\x20in\x20Post\x20'+_0x4f3226+_0x1b4f29(0x194)+_0x5a3c26);if(_0x5523a4[_0x1b4f29(0x171)](_0x4f3226['length'],0x0)){const _0x1c4053=_0x4f3226[_0x1b4f29(0x16a)]();if(_0x53ac4c[_0x1b4f29(0x190)]){const _0x10c05d=_0x5523a4['OEpRq'](failureData,_0x53ac4c[_0x1b4f29(0x190)],_0x5523a4[_0x1b4f29(0xbf)]);_0x1c4053[TestFrameworkConstants[_0x1b4f29(0x12c)]]=_0x5523a4[_0x1b4f29(0xef)](getFailureType,_0x53ac4c?.['error'][_0x1b4f29(0xb4)]),_0x1c4053[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=_0x5523a4[_0x1b4f29(0xef)](removeAnsiColors,_0x53ac4c?.[_0x1b4f29(0x190)]['message']),_0x1c4053[TestFrameworkConstants[_0x1b4f29(0x107)]]=_0x5523a4['eNEJe'],_0x1c4053[TestFrameworkConstants['KEY_HOOK_FAILURE']]=_0x10c05d;}else _0x1c4053[TestFrameworkConstants[_0x1b4f29(0x107)]]=_0x5523a4[_0x1b4f29(0x140)];_0x5523a4['CSYii'](_0x1092e5,TestFrameworkConstants[_0x1b4f29(0xd8)])&&(_0x1c4053[TestFrameworkConstants[_0x1b4f29(0x107)]]=!_0x53ac4c[_0x1b4f29(0x190)]?_0x5523a4[_0x1b4f29(0x140)]:_0x5523a4[_0x1b4f29(0xb1)]);const _0x3aa1b0=new Date(_0x53ac4c[_0x1b4f29(0x122)]),_0x498585=new Date(_0x5523a4['kMQAH'](_0x3aa1b0[_0x1b4f29(0x11b)](),_0x53ac4c['duration']));_0x1c4053[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x498585[_0x1b4f29(0x151)](),_0x1c4053[TestFrameworkConstants[_0x1b4f29(0x160)]]=_0x1993b9;const _0x18c31b=_0x1c4053[TestFrameworkConstants[_0x1b4f29(0xb7)]];await this[_0x1b4f29(0x11d)](_0x3b2cc8,_0x3bf42a,_0x18c31b,_0x5523a4[_0x1b4f29(0xbd)],_0x5a3c26),!_0x5b04e4[_0x115d64]&&(_0x5b04e4[_0x115d64]=[]),_0x5b04e4[_0x115d64][_0x1b4f29(0x10b)](_0x1c4053),_0x231017[_0x55e295][TestFrameworkConstants[_0x1b4f29(0xf2)]]=_0x115d64;}}}return _0x231017;}async[a82_0x2d90df(0x11d)](_0x2d351d,_0x56e3e4,_0x45ff5d,_0x2357d4,_0x2db1b6,_0x11344e){const _0x48e55f=a82_0x2d90df,_0x526dcd={'ZhtKm':function(_0xe5d8f4,_0x53059b){return _0xe5d8f4===_0x53059b;},'TtiSE':_0x48e55f(0x136),'pFvww':function(_0x6138b1,_0x421316,_0x178170){return _0x6138b1(_0x421316,_0x178170);},'VdzlY':function(_0x21e604,_0x2b43b9,_0x156982){return _0x21e604(_0x2b43b9,_0x156982);},'IdHdA':'attachments','diBnr':function(_0x25df2a,_0x2795c8,_0x2e74c7,_0x18abdb){return _0x25df2a(_0x2795c8,_0x2e74c7,_0x18abdb);},'LagbW':function(_0x470021,_0x4a60a5){return _0x470021/_0x4a60a5;},'bYPVu':function(_0x55e7d1,_0x25df35){return _0x55e7d1<_0x25df35;},'EppTH':function(_0x3fc0ff,_0x5a1bab){return _0x3fc0ff*_0x5a1bab;},'XBWwJ':function(_0xc2d6af,_0x41bcea){return _0xc2d6af+_0x41bcea;},'Ocjeu':function(_0x1f244d,_0x438286,_0x559ab4,_0xb9f521,_0x484c90){return _0x1f244d(_0x438286,_0x559ab4,_0xb9f521,_0x484c90);},'leMmp':function(_0x5a25c3,_0x452ba2,_0x47170d,_0x314391){return _0x5a25c3(_0x452ba2,_0x47170d,_0x314391);},'Qbmjf':_0x48e55f(0xe0)};try{if(_0x526dcd[_0x48e55f(0xac)](_0x2357d4,_0x526dcd[_0x48e55f(0x105)])){const _0x26d9bb=await _0x2db1b6['result'],_0x543d0c=_0x526dcd[_0x48e55f(0x193)](getTestRunIdentifier,_0x2db1b6['test'],_0x2db1b6[_0x48e55f(0x186)][_0x48e55f(0x142)]),_0xe0096e=_0x2db1b6['test'];logger[_0x48e55f(0x128)](_0x48e55f(0x179)+_0x543d0c+_0x48e55f(0x1a0)+util[_0x48e55f(0x156)](_0x26d9bb));const _0x25e006=_0x2d351d[_0x48e55f(0x19a)]()[_0x48e55f(0x13c)](_0x543d0c)[TestFrameworkConstants[_0x48e55f(0x15a)]];await _0x526dcd[_0x48e55f(0x17a)](sendTraceZip,_0x26d9bb,_0x25e006);const _0x685c26=TestInfo[_0x48e55f(0xe2)](_0x543d0c)[_0x526dcd[_0x48e55f(0xcd)]],_0x5bb198={};if(_0x685c26){!_0x26d9bb['attachments']&&(_0x26d9bb['attachments']=[]);_0x5bb198['attachments']=_0x26d9bb[_0x48e55f(0x16b)][_0x48e55f(0xc3)](_0x685c26||[]);const _0x322676=TestInfo[_0x48e55f(0xe2)](_0x543d0c);delete _0x322676[_0x526dcd['IdHdA']],TestInfo[_0x48e55f(0xce)](_0x543d0c,_0x322676);}const _0x3f76c5=_0x11344e||_0x526dcd[_0x48e55f(0x13d)](getStepsAndLogs,_0x26d9bb[_0x48e55f(0x15c)],_0x2d351d['getAllData']()[_0x48e55f(0x13c)](_0x543d0c)[TestFrameworkConstants[_0x48e55f(0x15a)]],_0x526dcd['TtiSE'])[_0x48e55f(0x11a)],_0x44d1fd=_0x526dcd[_0x48e55f(0x193)](getScreenshots,_0x5bb198,_0x2d351d[_0x48e55f(0x19a)]()['get'](_0x543d0c)[TestFrameworkConstants[_0x48e55f(0x15a)]]),_0x217a25=_0x526dcd[_0x48e55f(0x17a)](getVideos,_0x26d9bb,_0x2d351d['getAllData']()[_0x48e55f(0x13c)](_0x543d0c)[TestFrameworkConstants[_0x48e55f(0x15a)]]),{_:_0xc5c320,logs:_0x447994}=_0x526dcd['VdzlY'](getFailureData,_0x26d9bb['errors'],{'test_run_uuid':_0x2d351d[_0x48e55f(0x19a)]()[_0x48e55f(0x13c)](_0x543d0c)[TestFrameworkConstants['KEY_TEST_UUID']]}),_0x2a8a42=TestInfo['getTestDetails'](_0x543d0c)[TestFrameworkConstants[_0x48e55f(0x14f)]]||{},_0xeb2806=_0x526dcd[_0x48e55f(0x17a)](getMediaArtifactsLogs,_0x2a8a42,_0x2d351d[_0x48e55f(0x19a)]()[_0x48e55f(0x13c)](_0x543d0c)[TestFrameworkConstants[_0x48e55f(0x15a)]]),_0x5c64bc=_0x2d351d[_0x48e55f(0x19a)]()[_0x48e55f(0x13c)](_0x543d0c),{[TestFrameworkConstants[_0x48e55f(0x12f)]]:_0x357f5f='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x263448=''}=_0x5c64bc,_0x42dcc3=(_0x3f76c5||[])[_0x48e55f(0xc3)](_0x44d1fd||[])[_0x48e55f(0xc3)](_0x447994||[])[_0x48e55f(0xc3)](_0x217a25||[])[_0x48e55f(0xc3)](_0xeb2806||[]),_0x5fcc9b=0x28,_0x40139f=Math[_0x48e55f(0xbb)](_0x526dcd[_0x48e55f(0x155)](_0x42dcc3[_0x48e55f(0xaf)],_0x5fcc9b));for(let _0x2ca4d3=0x0;_0x526dcd['bYPVu'](_0x2ca4d3,_0x40139f);_0x2ca4d3++){const _0x5e858e=_0x526dcd[_0x48e55f(0xc4)](_0x2ca4d3,_0x5fcc9b),_0x3fe1ba=_0x526dcd['XBWwJ'](_0x5e858e,_0x5fcc9b),_0x3a370b=_0x42dcc3[_0x48e55f(0x189)](_0x5e858e,_0x3fe1ba),_0x10b65b={'platformIndex':global?.[_0x48e55f(0x1a7)]??0x0,'logs':_0x3a370b,'testFrameworkName':_0x357f5f,'testFrameworkVersion':_0x263448,'testFrameworkState':_0x56e3e4[_0x48e55f(0x19d)]()[_0x48e55f(0x13a)]('.')[0x1]};_0x526dcd[_0x48e55f(0x181)](updatePayloadForTraceLogs,_0x10b65b,_0x2db1b6,_0x543d0c,_0x2d351d),logger['debug'](_0x48e55f(0x1a9)+_0x543d0c+_0x48e55f(0x149)+_0x526dcd['XBWwJ'](_0x2ca4d3,0x1)+'/'+_0x40139f+_0x48e55f(0x198)+util['inspect'](_0x10b65b));const _0x19ac22=await GrpcClient[_0x48e55f(0x135)]()['logCreatedEvent'](_0x10b65b);logger[_0x48e55f(0x128)](_0x48e55f(0x1a9)+_0x543d0c+_0x48e55f(0x149)+_0x526dcd[_0x48e55f(0x15b)](_0x2ca4d3,0x1)+'/'+_0x40139f+_0x48e55f(0x19b)+util[_0x48e55f(0x156)](_0x19ac22));}}else{const {logs:_0x31af0f}=_0x526dcd[_0x48e55f(0x173)](getStepsAndLogs,_0x2db1b6[_0x48e55f(0x126)]['steps'],_0x45ff5d,_0x526dcd[_0x48e55f(0xda)]),_0x51593b=_0x526dcd[_0x48e55f(0x17a)](getTestRunIdentifier,_0x2db1b6['test'],_0x2db1b6[_0x48e55f(0x186)]['retry']);logger[_0x48e55f(0x128)](_0x48e55f(0x179)+_0x51593b);const _0x21f97e=_0x2d351d[_0x48e55f(0x19a)]()['get'](_0x51593b),{[TestFrameworkConstants[_0x48e55f(0x12f)]]:_0x58bd2c='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x4e2662=''}=_0x21f97e,_0x34db83={'platformIndex':'0','logs':_0x31af0f,'testFrameworkName':_0x58bd2c,'testFrameworkVersion':_0x4e2662,'testFrameworkState':_0x56e3e4['toString']()[_0x48e55f(0x13a)]('.')[0x1]};_0x526dcd['Ocjeu'](updatePayloadForTraceLogs,_0x34db83,_0x2db1b6,_0x51593b,_0x2d351d),logger['debug'](_0x48e55f(0x1a9)+_0x51593b+_0x48e55f(0x198)+util['inspect'](_0x34db83));const _0x48bc84=await GrpcClient[_0x48e55f(0x135)]()[_0x48e55f(0x167)](_0x34db83);}}catch(_0x265985){logger[_0x48e55f(0x190)](_0x48e55f(0x184)+util[_0x48e55f(0xc6)](_0x265985));}}[a82_0x2d90df(0xba)](_0x4e8420){const _0x51c32e=a82_0x2d90df,_0x5598bf={'tgnoa':function(_0x38705d,_0x461323,_0x1c4a66){return _0x38705d(_0x461323,_0x1c4a66);},'ytpav':function(_0x27078a,_0x207093){return _0x27078a<_0x207093;},'YhFUw':_0x51c32e(0x11f)};try{const _0x1c8462=_0x4e8420[_0x51c32e(0x136)]['id'],_0x4178f2=_0x5598bf[_0x51c32e(0x1a6)](getTestRunIdentifier,_0x4e8420[_0x51c32e(0x136)],_0x4e8420[_0x51c32e(0x186)]['retry']),_0x5dc49d=_0x4e8420[_0x51c32e(0x1a3)],_0x2ecacb=_0x5dc49d[_0x51c32e(0x10d)](),_0xf33587=_0x5dc49d[_0x51c32e(0x19a)]()[_0x51c32e(0x13c)](_0x4178f2);logger[_0x51c32e(0x128)](_0x51c32e(0xb5)+_0x1c8462);const {[TestFrameworkConstants[_0x51c32e(0x12f)]]:_0x32c8dc='',[TestFrameworkConstants[_0x51c32e(0x16e)]]:_0x4ccdfb='',[TestFrameworkConstants[_0x51c32e(0x1b2)]]:_0x2fca7e='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x1c51ef=''}=_0xf33587,_0x104b6f=_0x5dc49d[_0x51c32e(0xff)]()[_0x51c32e(0x19d)]()[_0x51c32e(0x13a)]('.')[0x1],_0x428be1=_0x5dc49d[_0x51c32e(0x12e)]()['toString']()[_0x51c32e(0x13a)]('.')[0x1],_0x41394f=_0x5598bf[_0x51c32e(0x123)](_0x4e8420?.[_0x51c32e(0x186)]?.[_0x51c32e(0x121)]??0x0,0x0)?0x0:_0x4e8420?.[_0x51c32e(0x186)]?.[_0x51c32e(0x121)]??0x0,_0x36eeab=_0x5dc49d[_0x51c32e(0xad)](),_0x3a9bbe=Buffer[_0x51c32e(0x185)](JSON[_0x51c32e(0x17e)](_0xf33587))[_0x51c32e(0x19d)](_0x5598bf[_0x51c32e(0xca)]),_0x3d0a49={'hash':_0x2ecacb[_0x51c32e(0xf7)](),'threadId':_0x2ecacb[_0x51c32e(0x1aa)]()[_0x51c32e(0x19d)](),'processId':_0x2ecacb[_0x51c32e(0x152)]()[_0x51c32e(0x19d)]()},_0x370563={};_0x370563[_0x51c32e(0xf0)]=_0x41394f,_0x370563[_0x51c32e(0xb3)]=_0x32c8dc,_0x370563[_0x51c32e(0x1a2)]=_0x4ccdfb,_0x370563['testFrameworkState']=_0x104b6f,_0x370563[_0x51c32e(0x15d)]=_0x428be1,_0x370563[_0x51c32e(0x110)]=_0x2fca7e,_0x370563[_0x51c32e(0xab)]=_0x1c51ef,_0x370563[_0x51c32e(0x1ad)]=_0x36eeab,_0x370563[_0x51c32e(0x139)]=_0x3a9bbe,_0x370563[_0x51c32e(0x1a1)]=_0x3d0a49;const _0x435d26=_0x370563;return logger['debug'](_0x51c32e(0x101)+_0x1c8462+_0x51c32e(0xe9)+_0x104b6f+_0x51c32e(0x13e)+_0x428be1),_0x435d26;}catch(_0x2c592c){return logger[_0x51c32e(0x190)](_0x51c32e(0x18a)+util[_0x51c32e(0xc6)](_0x2c592c)),{};}}}module['exports']=PlaywrightTestFramework;
1
+ const a94_0x132f99=a94_0x4756;(function(_0x1a72d1,_0x2dcb2f){const _0x52cfaf=a94_0x4756,_0x45b88e=_0x1a72d1();while(!![]){try{const _0x377d12=-parseInt(_0x52cfaf(0x202))/0x1*(parseInt(_0x52cfaf(0x239))/0x2)+-parseInt(_0x52cfaf(0x2b3))/0x3+parseInt(_0x52cfaf(0x2bb))/0x4*(-parseInt(_0x52cfaf(0x2c5))/0x5)+parseInt(_0x52cfaf(0x241))/0x6*(-parseInt(_0x52cfaf(0x2db))/0x7)+parseInt(_0x52cfaf(0x2f0))/0x8+parseInt(_0x52cfaf(0x2b6))/0x9*(-parseInt(_0x52cfaf(0x298))/0xa)+parseInt(_0x52cfaf(0x21c))/0xb;if(_0x377d12===_0x2dcb2f)break;else _0x45b88e['push'](_0x45b88e['shift']());}catch(_0xaf65b6){_0x45b88e['push'](_0x45b88e['shift']());}}}(a94_0x4e60,0xb1894));const TestFramework=require(a94_0x132f99(0x2d4)),TestFrameworkState=require(a94_0x132f99(0x25a)),HookState=require('../state/hookState.js'),{createClassLogger}=require(a94_0x132f99(0x260)),TestFrameworkInstance=require(a94_0x132f99(0x24d)),CLIUtils=require(a94_0x132f99(0x29f)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),logger=createClassLogger('PlaywrightTestFramework'),{v4:uuidv4}=require(a94_0x132f99(0x25b)),util=require(a94_0x132f99(0x23a)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require('../../../helpers/helper.js'),TestInfo=require(a94_0x132f99(0x280)),GrpcClient=require(a94_0x132f99(0x22d)),{removeAnsiColors,getFailureType,failureData}=require('../../../helpers/test-observability/utils'),{getFailureData,getTestTags,getTestRunIdentifier}=require(a94_0x132f99(0x278)),{findNestedKey,sendTraceZip,validateFilePath}=require(a94_0x132f99(0x278)),path=require(a94_0x132f99(0x282)),fs=require('fs'),helper=require(a94_0x132f99(0x204)),{PLAYWRIGHT_TRACE_LOGS}=require(a94_0x132f99(0x1f5)),PLAYWRIGHT_BUILTIN_ANNOTATIONS=new Set(['skip','fixme',a94_0x132f99(0x29b),a94_0x132f99(0x2ac)]);class PlaywrightTestFramework extends TestFramework{constructor(_0x56bec1,_0x2f35c0,_0x1957e6){super(_0x56bec1,_0x2f35c0,_0x1957e6);}async[a94_0x132f99(0x21e)](_0x32bbe3,_0x211204,_0x2f9116={}){const _0x5c255f=a94_0x132f99,_0x37e1f8={'sxjqq':function(_0x1678c0,_0x5ee8a6){return _0x1678c0===_0x5ee8a6;},'UzzYi':function(_0x410551,_0x585f6e){return _0x410551===_0x585f6e;},'TjIHt':function(_0x6bd688,_0xee0f7f){return _0x6bd688===_0xee0f7f;},'gPutC':function(_0x4abfd8,_0x35869b,_0x3c3c23){return _0x4abfd8(_0x35869b,_0x3c3c23);},'VhhPR':function(_0x13eed6,_0x304ee2){return _0x13eed6===_0x304ee2;},'zPfXh':function(_0x2f8f09,_0x47bd44){return _0x2f8f09===_0x47bd44;},'ELlUj':function(_0x359895,_0x7fb62,_0x52bed4){return _0x359895(_0x7fb62,_0x52bed4);},'iobQX':function(_0x5a6fd0,_0x3f4ca7,_0xbf72e7,_0x3dc924){return _0x5a6fd0(_0x3f4ca7,_0xbf72e7,_0x3dc924);},'JXggA':_0x5c255f(0x263),'PdYqN':_0x5c255f(0x288)};super[_0x5c255f(0x21e)](_0x32bbe3,_0x211204,_0x2f9116);if(_0x37e1f8[_0x5c255f(0x1f7)](_0x32bbe3,TestFrameworkState[_0x5c255f(0x2f4)])){const _0x5ec8a4=TestInfo[_0x5c255f(0x2ad)](_0x2f9116[_0x5c255f(0x263)],_0x2f9116[_0x5c255f(0x263)]['retry']);TestInfo[_0x5c255f(0x2d6)](_0x5ec8a4,_0x2f9116[_0x5c255f(0x217)],!![]);}if(_0x37e1f8[_0x5c255f(0x1f7)](_0x32bbe3,TestFrameworkState['TEST_STEP'])){this['trackStepEvent'](_0x32bbe3,_0x211204,_0x2f9116);return;}const _0xcaaabb=this[_0x5c255f(0x230)](_0x32bbe3,_0x211204,_0x2f9116);if(!_0xcaaabb)return;logger[_0x5c255f(0x283)](_0x5c255f(0x26f)+_0x32bbe3+'\x20hookState='+_0x211204+'\x20instanceId='+_0xcaaabb['getRef']());try{if(_0x37e1f8[_0x5c255f(0x2b2)](_0x211204,HookState[_0x5c255f(0x20b)])&&_0x37e1f8[_0x5c255f(0x272)](_0x32bbe3,TestFrameworkState[_0x5c255f(0x23d)])){const _0x5cf5ca=_0x2f9116[_0x5c255f(0x263)];logger[_0x5c255f(0x283)](_0x5c255f(0x253)+_0x5cf5ca['id']+'}');const _0x39d919=TestInfo[_0x5c255f(0x2fb)](_0x37e1f8[_0x5c255f(0x20a)](getTestRunIdentifier,_0x5cf5ca,_0x2f9116[_0x5c255f(0x217)][_0x5c255f(0x2d5)]));_0xcaaabb[_0x5c255f(0x29d)](this['parsePlaywrightTest'](_0x39d919,_0x5cf5ca,_0x2f9116[_0x5c255f(0x217)])),logger[_0x5c255f(0x283)](_0x5c255f(0x256)+_0x5cf5ca['id']+_0x5c255f(0x294)+_0x32bbe3+_0x5c255f(0x22b)+_0x211204+_0x5c255f(0x2a5)+_0xcaaabb[_0x5c255f(0x2aa)]());}if(_0x37e1f8[_0x5c255f(0x290)](_0x211204,HookState[_0x5c255f(0x2eb)])&&_0x37e1f8[_0x5c255f(0x213)](_0x32bbe3,TestFrameworkState[_0x5c255f(0x23d)])){const _0x5ae5e1=_0x2f9116[_0x5c255f(0x263)],_0x4f1d35=_0x2f9116['result'];logger['debug'](_0x5c255f(0x2c9)+_0x5ae5e1['id']);const _0x2ff037=_0x37e1f8[_0x5c255f(0x258)](getTestRunIdentifier,_0x5ae5e1,_0x4f1d35[_0x5c255f(0x2d5)]),_0x24eae1=_0xcaaabb[_0x5c255f(0x2e7)]()[_0x5c255f(0x28a)](_0x2ff037)[TestFrameworkConstants[_0x5c255f(0x2e0)]],{steps:_0x3309ed,logs:_0x2919b0}=_0x37e1f8['iobQX'](getStepsAndLogs,_0x4f1d35[_0x5c255f(0x261)],_0x24eae1,_0x37e1f8['JXggA']);_0xcaaabb[_0x5c255f(0x29d)](this[_0x5c255f(0x2d7)](_0x5ae5e1['id'],_0x4f1d35,_0x5ae5e1,_0x3309ed)),await this[_0x5c255f(0x297)](_0xcaaabb,_0x32bbe3,_0x211204,_0x37e1f8[_0x5c255f(0x248)],_0x2f9116,_0x2919b0);}if(CLIUtils[_0x5c255f(0x276)](_0x32bbe3[_0x5c255f(0x232)]()['split']('.')[0x1])){const _0x21c7be=await this[_0x5c255f(0x234)](_0xcaaabb,_0x32bbe3,_0x211204,_0x2f9116);_0xcaaabb['addMultipleEntries'](_0x21c7be);}}catch(_0x21b555){logger[_0x5c255f(0x2f2)](util[_0x5c255f(0x215)](_0x37e1f8['PdYqN'],_0x32bbe3,_0x211204,_0x2f9116[_0x5c255f(0x291)],_0x21b555));}_0x2f9116[_0x5c255f(0x275)]=_0xcaaabb,await this[_0x5c255f(0x240)](_0xcaaabb,_0x32bbe3,_0x211204,_0x2f9116);}[a94_0x132f99(0x230)](_0x5329dd,_0x24e51f,_0x19a4bb={}){const _0x4c37ca=a94_0x132f99,_0x59c79b={};_0x59c79b[_0x4c37ca(0x229)]=function(_0x59765d,_0xa4a9e){return _0x59765d===_0xa4a9e;};const _0x14aa26=_0x59c79b;let _0x3f172c=null;return(_0x14aa26[_0x4c37ca(0x229)](_0x5329dd,TestFrameworkState['INIT_TEST'])||_0x14aa26[_0x4c37ca(0x229)](_0x5329dd,TestFrameworkState[_0x4c37ca(0x2c8)]))&&this[_0x4c37ca(0x1f6)](_0x5329dd,_0x19a4bb),_0x3f172c=TestFramework['getTrackedInstance'](),_0x3f172c;}[a94_0x132f99(0x1f6)](_0x28cb00,_0x1fa664){const _0x5a6069=a94_0x132f99,_0x243967=CLIUtils[_0x5a6069(0x2f7)](),_0x2be755=TrackedInstance['createContext'](_0x243967);let _0x6bdf36=null;logger['info'](_0x5a6069(0x2fc)+_0x243967+',\x20state='+_0x28cb00),_0x6bdf36=new TestFrameworkInstance(_0x2be755,this[_0x5a6069(0x243)](),this['getTestFrameworksVersions'](),_0x28cb00,HookState[_0x5a6069(0x2c8)]),TestFramework[_0x5a6069(0x2ed)](_0x2be755,_0x6bdf36),logger[_0x5a6069(0x2bc)](_0x5a6069(0x286)+_0x2be755[_0x5a6069(0x2e5)]()+'\x20target='+_0x243967);}[a94_0x132f99(0x2be)](_0xbd42d0,_0x1b52ff,_0x16daf6){const _0x1e89e9=a94_0x132f99,_0x57c7fd={'bSWdu':function(_0x2bcd09,_0xd0e8e4){return _0x2bcd09(_0xd0e8e4);},'MrHnx':function(_0x24ce3a,_0x594521){return _0x24ce3a(_0x594521);},'DkNEw':function(_0x1532e9,_0x161fd2){return _0x1532e9(_0x161fd2);},'PudQL':function(_0x1bcd6e,_0x418692,_0x592ce7){return _0x1bcd6e(_0x418692,_0x592ce7);},'lsymg':function(_0x13ac53,_0x2c08e6){return _0x13ac53(_0x2c08e6);}},_0x509ad9=_0x57c7fd['bSWdu'](getPlaywrightTestId,_0x1b52ff),_0x147cd9=_0x57c7fd[_0x1e89e9(0x24f)](getPlaywrightTestTitle,_0x1b52ff),_0x5a77d1=_0x57c7fd['bSWdu'](getTestTags,_0x1b52ff),_0x145e7b=_0x57c7fd['bSWdu'](getPlaywrightTestCode,_0x1b52ff),_0x32f993=_0x57c7fd[_0x1e89e9(0x2a0)](getPlaywrightTestFilePath,_0x1b52ff),_0x2c8e9d=_0x32f993,_0x2f2055=_0x57c7fd[_0x1e89e9(0x24f)](getPlaywrightTestScope,_0x1b52ff),_0x287121=_0x57c7fd[_0x1e89e9(0x2a0)](getPlaywrightTestScopes,_0x1b52ff),_0x4a4351=_0x57c7fd[_0x1e89e9(0x24f)](getPlaywrightSessionName,_0x1b52ff),_0x127c60=this[_0x1e89e9(0x243)]()[0x0],_0x371c45=_0x57c7fd[_0x1e89e9(0x2e2)](getTestRunIdentifier,_0x1b52ff,_0x16daf6['retry']),_0x1012a3={[TestFrameworkConstants[_0x1e89e9(0x27d)]]:_0x127c60,[TestFrameworkConstants[_0x1e89e9(0x2ce)]]:this[_0x1e89e9(0x25c)]()[_0x127c60],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0x1e89e9(0x285)]]:{},[TestFrameworkConstants[_0x1e89e9(0x2fa)]]:{},[TestFrameworkConstants[_0x1e89e9(0x2e0)]]:_0xbd42d0,[TestFrameworkConstants[_0x1e89e9(0x205)]]:TestFrameworkConstants[_0x1e89e9(0x2c2)],[TestFrameworkConstants[_0x1e89e9(0x2b1)]]:_0x4a4351,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x32f993,[TestFrameworkConstants[_0x1e89e9(0x222)]]:_0x509ad9,[TestFrameworkConstants[_0x1e89e9(0x269)]]:_0x147cd9,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x2c8e9d,[TestFrameworkConstants['KEY_TEST_CODE']]:_0x145e7b,[TestFrameworkConstants[_0x1e89e9(0x2c4)]]:_0x5a77d1,[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x1b52ff[_0x1e89e9(0x2e6)][0x0]['startTime'],[TestFrameworkConstants[_0x1e89e9(0x231)]]:_0x2f2055,[TestFrameworkConstants[_0x1e89e9(0x225)]]:_0x287121,[TestFrameworkConstants[_0x1e89e9(0x284)]]:_0x57c7fd[_0x1e89e9(0x2a2)](getPlaywrightCustomRerunParam,_0x1b52ff)};TestInfo[_0x1e89e9(0x2d6)](_0x371c45,_0x1012a3);const _0x202b29={};return _0x202b29[_0x371c45]=_0x1012a3,_0x202b29;}[a94_0x132f99(0x2d7)](_0x43a17b,_0x437c34,_0x14e982,_0x4a6bbe){const _0x406e78=a94_0x132f99,_0x58ed1e={'Okkcg':function(_0x32cb75,_0xcd577d){return _0x32cb75(_0xcd577d);},'jdSiq':'TEST_ATTACHMENT','PfnQw':function(_0x26e53a,_0x4708ae){return _0x26e53a===_0x4708ae;},'pesHi':function(_0x1787d1,_0x2daa51){return _0x1787d1===_0x2daa51;},'aHLBu':function(_0xdfcb30,_0x4fe756){return _0xdfcb30===_0x4fe756;},'NcXTT':_0x406e78(0x23b),'cEPUw':function(_0x4bf29c,_0x18c150){return _0x4bf29c(_0x18c150);},'iXKdz':function(_0x4b56f1,_0x1d4fcd,_0xc9cb8f){return _0x4b56f1(_0x1d4fcd,_0xc9cb8f);},'pWcUZ':function(_0x13e6b9,_0x3b56bf){return _0x13e6b9===_0x3b56bf;},'ZiQXS':_0x406e78(0x266),'jpUfu':'passed','tFqzv':function(_0x4be431,_0x1be6e0){return _0x4be431===_0x1be6e0;},'TYXWb':_0x406e78(0x255),'MJJfw':_0x406e78(0x218),'PKzCK':_0x406e78(0x299),'lcGwd':function(_0x186481,_0x3b0cc0,_0x217d21){return _0x186481(_0x3b0cc0,_0x217d21);},'dgAqb':function(_0x33541d,_0x45f457){return _0x33541d||_0x45f457;},'OLnOD':function(_0x51abd6,_0x3675d9){return _0x51abd6(_0x3675d9);},'LivWH':function(_0x49c461,_0x269261){return _0x49c461(_0x269261);},'ykIuY':function(_0x5aaacc,_0x1b3a10){return _0x5aaacc>_0x1b3a10;},'McMBW':function(_0x2e4f59,_0x286ea7,_0x11eea6){return _0x2e4f59(_0x286ea7,_0x11eea6);},'pcRmr':function(_0x2ecc09,_0x1a75fb){return _0x2ecc09-_0x1a75fb;},'QAfCB':function(_0x42e95c,_0x50562f,_0x22bb8d,_0x580a7a){return _0x42e95c(_0x50562f,_0x22bb8d,_0x580a7a);},'yDdrJ':_0x406e78(0x263),'imTYC':function(_0x107f38,_0x39aa1b){return _0x107f38===_0x39aa1b;},'sxYoR':function(_0x276951,_0x1e30d9){return _0x276951>=_0x1e30d9;},'SEjlc':function(_0x348477,_0x4a9950){return _0x348477===_0x4a9950;},'KOmnk':function(_0x5863d3,_0x29d89b){return _0x5863d3+_0x29d89b;},'fehBZ':function(_0x3fb814,_0x1f6016){return _0x3fb814>_0x1f6016;},'qJErU':function(_0xfdc0ed,_0x1ab957,_0x2de98b){return _0xfdc0ed(_0x1ab957,_0x2de98b);},'NdRSJ':'path','EmCDX':function(_0x1379d1,_0xb7491b){return _0x1379d1(_0xb7491b);},'ZhRBS':_0x406e78(0x2cc)};logger[_0x406e78(0x283)](_0x406e78(0x24c)+_0x43a17b);const _0xf7e3b8=_0x58ed1e[_0x406e78(0x2d2)](getTestRunIdentifier,_0x14e982,_0x437c34['retry']),_0x527bea=new Date(),_0x4eddff=_0x437c34[_0x406e78(0x207)],_0x15e1f8=TestInfo[_0x406e78(0x259)](_0xf7e3b8)[TestFrameworkConstants[_0x406e78(0x270)]]||{};let _0x492895=_0x4eddff;if(_0x58ed1e[_0x406e78(0x2d8)](_0x437c34['status'],_0x14e982[_0x406e78(0x2e3)]))_0x492895=_0x58ed1e[_0x406e78(0x244)](_0x437c34[_0x406e78(0x207)],_0x58ed1e[_0x406e78(0x2e9)])?_0x58ed1e[_0x406e78(0x2e9)]:_0x58ed1e['jpUfu'];else{(_0x58ed1e[_0x406e78(0x244)](_0x492895,_0x58ed1e['jpUfu'])||_0x58ed1e[_0x406e78(0x2e8)](_0x492895,_0x58ed1e[_0x406e78(0x2c6)])||_0x58ed1e[_0x406e78(0x22c)](_0x492895,_0x58ed1e['MJJfw']))&&(_0x492895=_0x58ed1e[_0x406e78(0x2c6)]);if(_0x58ed1e[_0x406e78(0x28c)](_0x437c34['status'],_0x58ed1e['jpUfu'])&&_0x58ed1e['tFqzv'](_0x14e982[_0x406e78(0x2e3)],_0x58ed1e[_0x406e78(0x2c6)])){const _0x27782a={};_0x27782a[_0x406e78(0x28e)]=_0x58ed1e['PKzCK'],_0x27782a['stack']=_0x58ed1e[_0x406e78(0x2f9)],_0x437c34[_0x406e78(0x2f2)]=_0x27782a,_0x437c34[_0x406e78(0x2d3)]=[_0x437c34[_0x406e78(0x2f2)]];}}const {failureData:_0x137e8b,logs:_0x27dadc}=_0x58ed1e[_0x406e78(0x220)](getFailureData,_0x437c34?.[_0x406e78(0x2d3)],{}),_0x5be35a={[TestFrameworkConstants[_0x406e78(0x242)]]:_0x58ed1e[_0x406e78(0x245)](_0x137e8b,null),[TestFrameworkConstants[_0x406e78(0x254)]]:_0x437c34?.[_0x406e78(0x2f2)]&&_0x58ed1e[_0x406e78(0x238)](getFailureType,_0x437c34[_0x406e78(0x2f2)][_0x406e78(0x28e)]),[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]:_0x437c34?.[_0x406e78(0x2f2)]&&_0x58ed1e[_0x406e78(0x223)](removeAnsiColors,_0x437c34['error']['message']),[TestFrameworkConstants[_0x406e78(0x209)]]:[],[TestFrameworkConstants[_0x406e78(0x205)]]:_0x492895,[TestFrameworkConstants[_0x406e78(0x2da)]]:_0x527bea[_0x406e78(0x210)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0x406e78(0x210)](),[TestFrameworkConstants[_0x406e78(0x270)]]:_0x15e1f8};if(_0x437c34&&_0x58ed1e[_0x406e78(0x22a)](_0x437c34[_0x406e78(0x2d5)],0x0)){const _0x14fc9c=TestInfo[_0x406e78(0x2fb)](_0x58ed1e[_0x406e78(0x2b5)](getTestRunIdentifier,_0x14e982,_0x58ed1e[_0x406e78(0x271)](_0x437c34[_0x406e78(0x2d5)],0x1)));_0x5be35a[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x14fc9c;}const _0x2005e2={};_0x2005e2[_0x406e78(0x263)]=_0x14e982;const _0x195180=this[_0x406e78(0x230)](TestFrameworkState[_0x406e78(0x23d)],HookState[_0x406e78(0x2eb)],_0x2005e2),_0x15898b=_0x195180['getAllData']()[_0x406e78(0x28a)](_0xf7e3b8)[TestFrameworkConstants[_0x406e78(0x2e0)]],_0x840699=_0x4a6bbe||_0x58ed1e['QAfCB'](getStepsAndLogs,_0x437c34['steps'],_0x15898b,_0x58ed1e[_0x406e78(0x233)])[_0x406e78(0x261)],_0x2a368d=new Map(),_0x18afb4=new Map();let _0xa41453=0x0;const _0x4cede3=[];for(const _0x16ebfa of _0x840699||[]){const _0x509bae=_0x16ebfa['parent_id']||null;let _0x528797;if(_0x58ed1e[_0x406e78(0x21b)](_0x509bae,null)){if(_0x58ed1e[_0x406e78(0x25d)](_0xa41453,TestFrameworkConstants['MAX_TOP_LEVEL_STEPS']))continue;_0x528797=0x0,_0xa41453++;}else{const _0x11bcf2=_0x2a368d['get'](_0x509bae);if(_0x58ed1e[_0x406e78(0x227)](_0x11bcf2,undefined))continue;_0x528797=_0x58ed1e[_0x406e78(0x2ec)](_0x11bcf2,0x1);if(_0x58ed1e[_0x406e78(0x287)](_0x528797,TestFrameworkConstants[_0x406e78(0x1f9)]))continue;}_0x2a368d[_0x406e78(0x2ea)](_0x16ebfa['id'],_0x528797),_0x18afb4['set'](_0x16ebfa['id'],_0x16ebfa['text']),_0x4cede3[_0x406e78(0x2ae)]({'id':_0x16ebfa['id'],'parent_id':_0x509bae,'parent_text':_0x509bae?_0x18afb4[_0x406e78(0x28a)](_0x509bae)||'':'','text':_0x16ebfa[_0x406e78(0x249)],'keyword':_0x16ebfa[_0x406e78(0x2a4)]||null,'started_at':_0x16ebfa[_0x406e78(0x252)],'duration':_0x16ebfa[_0x406e78(0x1ff)]??null,'result':_0x16ebfa[_0x406e78(0x217)],'failure':_0x16ebfa[_0x406e78(0x21d)]||null,'failure_type':_0x16ebfa[_0x406e78(0x2c0)]||null});}const _0x19c2e7={};_0x19c2e7[_0x406e78(0x261)]=_0x4cede3,_0x5be35a[TestFrameworkConstants[_0x406e78(0x212)]]=_0x19c2e7,logger[_0x406e78(0x283)](_0x406e78(0x26c)+_0x4cede3[_0x406e78(0x291)]+_0x406e78(0x247)+_0x43a17b);const _0x495173=[],_0x46b6dd=_0x58ed1e['qJErU'](findNestedKey,_0x437c34,_0x58ed1e[_0x406e78(0x214)]);if(_0x46b6dd&&_0x58ed1e['cEPUw'](validateFilePath,_0x46b6dd))try{_0x495173[_0x406e78(0x2ae)]({'kind':_0x58ed1e[_0x406e78(0x28b)],'timestamp':new Date()[_0x406e78(0x210)](),'test_run_uuid':_0x15898b,'file_name':path[_0x406e78(0x2ba)](_0x46b6dd),'file_size':fs['statSync'](_0x46b6dd)[_0x406e78(0x27c)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x5f1b19){logger[_0x406e78(0x2f2)](_0x406e78(0x20e)+_0x46b6dd+':\x20'+_0x5f1b19[_0x406e78(0x28e)]);}const _0x1ad0e9=TestInfo[_0x406e78(0x24a)](),_0x3c680c=_0x1ad0e9[_0x406e78(0x2cf)](_0xeef036=>_0xeef036[_0x406e78(0x2dc)]===_0x15898b);_0x3c680c['forEach'](_0x21ba22=>{const _0x5dbee2=_0x406e78;if(_0x21ba22[_0x5dbee2(0x2b0)]&&_0x58ed1e[_0x5dbee2(0x2df)](validateFilePath,_0x21ba22[_0x5dbee2(0x2b0)])&&!_0x495173[_0x5dbee2(0x2f8)](_0xacc859=>_0xacc859[_0x5dbee2(0x23c)]===path[_0x5dbee2(0x2ba)](_0x21ba22[_0x5dbee2(0x2b0)])))try{_0x495173[_0x5dbee2(0x2ae)]({'kind':_0x58ed1e[_0x5dbee2(0x28b)],'timestamp':new Date()[_0x5dbee2(0x210)](),'test_run_uuid':_0x15898b,'file_name':path[_0x5dbee2(0x2ba)](_0x21ba22[_0x5dbee2(0x2b0)]),'file_size':fs[_0x5dbee2(0x251)](_0x21ba22[_0x5dbee2(0x2b0)])[_0x5dbee2(0x27c)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x356d7a){logger[_0x5dbee2(0x2f2)](_0x5dbee2(0x26e)+_0x21ba22['filePath']+_0x5dbee2(0x1fc)+_0x356d7a[_0x5dbee2(0x28e)]);}});if(_0x58ed1e[_0x406e78(0x287)](_0x495173['length'],0x0)){const _0x49ff01=_0x5be35a[TestFrameworkConstants['KEY_LOGS']]||[];_0x5be35a[TestFrameworkConstants[_0x406e78(0x209)]]=[..._0x49ff01,..._0x495173];}const _0x5a1fd0=TestInfo[_0x406e78(0x259)](_0xf7e3b8)[TestFrameworkConstants[_0x406e78(0x28f)]]||{},_0x25d12d=_0x58ed1e[_0x406e78(0x220)](getManualUploadLogs,_0x5a1fd0,_0x195180[_0x406e78(0x2e7)]()['get'](_0xf7e3b8)[TestFrameworkConstants[_0x406e78(0x2e0)]]);if(_0x58ed1e[_0x406e78(0x287)](_0x25d12d[_0x406e78(0x291)],0x0)){const _0xe50f26=_0x5be35a[TestFrameworkConstants[_0x406e78(0x209)]]||[];_0x5be35a[TestFrameworkConstants[_0x406e78(0x209)]]=[..._0xe50f26,..._0x25d12d];}const _0x83e708=_0x14e982[_0x406e78(0x2e1)]||[],_0xed9ed=_0x5be35a[TestFrameworkConstants[_0x406e78(0x270)]]||{},_0x930788=_0x58ed1e[_0x406e78(0x221)](require,_0x58ed1e[_0x406e78(0x296)]);_0x83e708[_0x406e78(0x2c7)](_0x44ea18=>{const _0x347b6e=_0x406e78,{type:_0x332f1c}=_0x44ea18;let _0x483159=_0x44ea18['description'];if(!_0x332f1c)return;if(PLAYWRIGHT_BUILTIN_ANNOTATIONS[_0x347b6e(0x206)](_0x332f1c))return;(_0x58ed1e[_0x347b6e(0x28c)](_0x483159,undefined)||_0x58ed1e['pesHi'](_0x483159,null)||_0x58ed1e['aHLBu'](_0x58ed1e[_0x347b6e(0x2df)](String,_0x483159)[_0x347b6e(0x2b7)](),''))&&(_0x483159=_0x58ed1e[_0x347b6e(0x2f5)]);const _0x63f76b=helper[_0x347b6e(0x2d0)](_0x58ed1e[_0x347b6e(0x21a)](String,_0x483159));_0x930788[_0x347b6e(0x201)](_0xed9ed,_0x332f1c,_0x63f76b);}),_0x5be35a[TestFrameworkConstants[_0x406e78(0x270)]]=_0xed9ed,TestInfo[_0x406e78(0x2d6)](_0xf7e3b8,_0x5be35a);const _0x7ce5cd={};return _0x7ce5cd[_0xf7e3b8]=_0x5be35a,_0x7ce5cd;}[a94_0x132f99(0x208)](_0x8c883f,_0x1ef358,_0x41cc8a){const _0x329d35=a94_0x132f99,_0x417c5f={'zavNG':function(_0x5e15b,_0x42438a){return _0x5e15b||_0x42438a;},'RvSqZ':function(_0x54664b,_0x273f10,_0x28c1d0){return _0x54664b(_0x273f10,_0x28c1d0);}};try{const {test:_0x13f225,result:_0x2ba75e,step:_0x4ce0b1}=_0x41cc8a;if(_0x417c5f[_0x329d35(0x25f)](!_0x13f225,!_0x4ce0b1)||!_0x2ba75e)return;const _0x2cb446=_0x417c5f[_0x329d35(0x27a)](getTestRunIdentifier,_0x13f225,_0x2ba75e[_0x329d35(0x2d5)]);logger[_0x329d35(0x283)](_0x329d35(0x20d)+_0x2cb446+'\x20hookState='+_0x1ef358+_0x329d35(0x27b)+_0x4ce0b1['title']+'\x22');}catch(_0x5efd12){logger['error']('trackStepEvent:\x20exception='+util[_0x329d35(0x215)](_0x5efd12));}}async['trackHookEvent'](_0x2ee568,_0x3eb1b9,_0x3ba141,_0x32f00d){const _0x405e09=a94_0x132f99,_0x87d2ee={'DvJIt':function(_0x2b3a01,_0x433960,_0x415360){return _0x2b3a01(_0x433960,_0x415360);},'mCneo':function(_0x473a6b,_0x89da9c){return _0x473a6b in _0x89da9c;},'lFbKr':function(_0x49ba13,_0x425598){return _0x49ba13(_0x425598);},'nfBYG':function(_0x17d21c,_0x100030){return _0x17d21c===_0x100030;},'KmorP':function(_0x66f083){return _0x66f083();},'VPogp':function(_0x4acf5e,_0x9adea3){return _0x4acf5e>_0x9adea3;},'QRKnf':function(_0x338fc4,_0x19ff0b,_0x44498b){return _0x338fc4(_0x19ff0b,_0x44498b);},'qehep':'err','fwYie':function(_0x4e3da0,_0x44a718){return _0x4e3da0(_0x44a718);},'AmZLC':'failed','yfeWx':'passed','EUDju':function(_0x28bdd8,_0x363fd2){return _0x28bdd8!==_0x363fd2;},'YiLzS':function(_0x9cb79f,_0x5dcef8){return _0x9cb79f+_0x5dcef8;},'bsVxZ':'hook'},_0x410f6b=_0x32f00d['test'],_0x4eb34f=_0x32f00d['step'],_0x9e6126=_0x87d2ee[_0x405e09(0x29a)](getTestRunIdentifier,_0x410f6b,_0x32f00d['result'][_0x405e09(0x2d5)]),_0x1180fd=_0x3eb1b9[_0x405e09(0x232)]()[_0x405e09(0x235)]('.')[0x1];let _0x1b33e5=_0x2ee568[_0x405e09(0x2e7)]()[_0x405e09(0x28a)](_0x9e6126)[TestFrameworkConstants[_0x405e09(0x2fa)]];!_0x1b33e5&&(_0x1b33e5={});!_0x87d2ee[_0x405e09(0x26b)](_0x1180fd,_0x1b33e5)&&(_0x1b33e5[_0x1180fd]=[]);let _0x1cac79=_0x2ee568[_0x405e09(0x2e7)]()[_0x405e09(0x28a)](_0x9e6126)[TestFrameworkConstants[_0x405e09(0x285)]];!_0x1cac79&&(_0x1cac79={});!_0x87d2ee[_0x405e09(0x26b)](_0x1180fd,_0x1cac79)&&(_0x1cac79[_0x1180fd]=[]);const _0x3cb1ae={[TestFrameworkConstants[_0x405e09(0x2fa)]]:_0x1b33e5,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x1cac79},_0x59c907={};_0x59c907[_0x9e6126]=_0x3cb1ae;const _0x56c80e=_0x59c907,_0x57568b=_0x87d2ee['lFbKr'](getPlaywrightTestFilePath,_0x410f6b),_0x187858=_0x57568b,_0x99bb25=TestInfo[_0x405e09(0x259)](_0x9e6126)[TestFrameworkConstants[_0x405e09(0x270)]]||{};if(_0x87d2ee['nfBYG'](_0x3ba141,HookState[_0x405e09(0x20b)])){const _0x150897={'key':_0x1180fd,[TestFrameworkConstants[_0x405e09(0x226)]]:_0x87d2ee['KmorP'](uuidv4),[TestFrameworkConstants[_0x405e09(0x250)]]:TestFrameworkConstants[_0x405e09(0x2ab)],[TestFrameworkConstants[_0x405e09(0x22f)]]:_0x4eb34f[_0x405e09(0x2d9)],[TestFrameworkConstants[_0x405e09(0x273)]]:[],[TestFrameworkConstants[_0x405e09(0x26d)]]:_0x4eb34f['title'],[TestFrameworkConstants[_0x405e09(0x2a7)]]:_0x57568b,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x187858,[TestFrameworkConstants[_0x405e09(0x270)]]:_0x99bb25};_0x1b33e5[_0x1180fd]['push'](_0x150897),_0x56c80e[_0x9e6126][TestFrameworkConstants[_0x405e09(0x28d)]]=_0x1180fd,logger['debug'](_0x405e09(0x2e4)+_0x1180fd+_0x405e09(0x2ef)+_0x150897+_0x405e09(0x281)+_0x32f00d);}else{if(_0x87d2ee['nfBYG'](_0x3ba141,HookState[_0x405e09(0x2eb)])){const _0x4e2d5c=await _0x32f00d[_0x405e09(0x217)],_0x3d1a00=_0x1b33e5[_0x1180fd]||[],_0x578759=_0x32f00d[_0x405e09(0x200)];logger[_0x405e09(0x283)](_0x405e09(0x20c)+_0x3d1a00+'\x20and\x20args\x20=\x20'+_0x32f00d);if(_0x87d2ee[_0x405e09(0x265)](_0x3d1a00[_0x405e09(0x291)],0x0)){const _0x277883=_0x3d1a00[_0x405e09(0x2a9)]();if(_0x578759['error']){const _0xc2164f=_0x87d2ee[_0x405e09(0x20f)](failureData,_0x578759[_0x405e09(0x2f2)],_0x87d2ee[_0x405e09(0x29e)]);_0x277883[TestFrameworkConstants[_0x405e09(0x27e)]]=_0x87d2ee[_0x405e09(0x2b4)](getFailureType,_0x578759?.[_0x405e09(0x2f2)][_0x405e09(0x28e)]),_0x277883[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=_0x87d2ee['lFbKr'](removeAnsiColors,_0x578759?.[_0x405e09(0x2f2)][_0x405e09(0x28e)]),_0x277883[TestFrameworkConstants[_0x405e09(0x250)]]=_0x87d2ee[_0x405e09(0x267)],_0x277883[TestFrameworkConstants[_0x405e09(0x293)]]=_0xc2164f;}else _0x277883[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x87d2ee[_0x405e09(0x24e)];_0x87d2ee[_0x405e09(0x2dd)](_0x4e2d5c,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0x277883[TestFrameworkConstants[_0x405e09(0x250)]]=!_0x578759[_0x405e09(0x2f2)]?_0x87d2ee[_0x405e09(0x24e)]:_0x87d2ee['AmZLC']);const _0xeda28a=new Date(_0x578759['startTime']),_0x2e6769=new Date(_0x87d2ee[_0x405e09(0x211)](_0xeda28a[_0x405e09(0x1f8)](),_0x578759[_0x405e09(0x1ff)]));_0x277883[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x2e6769[_0x405e09(0x210)](),_0x277883[TestFrameworkConstants[_0x405e09(0x270)]]=_0x99bb25;const _0x432797=_0x277883[TestFrameworkConstants[_0x405e09(0x226)]];await this['sendLogCreatedEvent'](_0x2ee568,_0x3eb1b9,_0x432797,_0x87d2ee[_0x405e09(0x219)],_0x32f00d),!_0x1cac79[_0x1180fd]&&(_0x1cac79[_0x1180fd]=[]),_0x1cac79[_0x1180fd][_0x405e09(0x2ae)](_0x277883),_0x56c80e[_0x9e6126][TestFrameworkConstants[_0x405e09(0x268)]]=_0x1180fd;}}}return _0x56c80e;}async[a94_0x132f99(0x297)](_0x36d754,_0x1954e5,_0x1d0c2c,_0x554f10,_0x3e3dd1,_0x1fe263){const _0x108089=a94_0x132f99,_0x2ddec7={'OYplB':function(_0xe69cd0,_0x11a028){return _0xe69cd0===_0x11a028;},'XIZNX':_0x108089(0x263),'VBRbb':function(_0x33efd2,_0x1d51ae,_0x24b8ec){return _0x33efd2(_0x1d51ae,_0x24b8ec);},'iKzHD':_0x108089(0x26a),'JtwXI':function(_0x46a57c,_0x1abd90,_0x919fc3,_0xf4e75b){return _0x46a57c(_0x1abd90,_0x919fc3,_0xf4e75b);},'senyR':function(_0x1a5789,_0x3d5d6c,_0x136c03){return _0x1a5789(_0x3d5d6c,_0x136c03);},'jNWAO':function(_0xe05e9,_0x196804,_0x157b62){return _0xe05e9(_0x196804,_0x157b62);},'uFbMM':function(_0x506ce7,_0x490b99,_0x2a4cfd){return _0x506ce7(_0x490b99,_0x2a4cfd);},'VNulq':function(_0x6f6a16,_0x58b8d3){return _0x6f6a16/_0x58b8d3;},'Zifls':function(_0x427466,_0x3c86ca){return _0x427466<_0x3c86ca;},'FisXn':function(_0x39c18b,_0x7e76cc){return _0x39c18b*_0x7e76cc;},'iEBDb':function(_0x468574,_0x34dbad){return _0x468574+_0x34dbad;},'MzPRR':function(_0x596c3c,_0x22df8f,_0x59d609,_0x264f9c,_0x4d7a2a){return _0x596c3c(_0x22df8f,_0x59d609,_0x264f9c,_0x4d7a2a);},'aHPhg':function(_0x284e09,_0x4f9500){return _0x284e09+_0x4f9500;},'YqRZz':'hook','cgszv':function(_0x1707c3,_0x4da675,_0x1f53b1,_0x3fb067,_0x5761c4){return _0x1707c3(_0x4da675,_0x1f53b1,_0x3fb067,_0x5761c4);}};try{if(_0x2ddec7[_0x108089(0x228)](_0x554f10,_0x2ddec7[_0x108089(0x2c3)])){const _0x3d7812=await _0x3e3dd1['result'],_0x357a87=_0x2ddec7['VBRbb'](getTestRunIdentifier,_0x3e3dd1[_0x108089(0x263)],_0x3e3dd1[_0x108089(0x217)][_0x108089(0x2d5)]),_0x2e9e78=_0x3e3dd1[_0x108089(0x263)];logger[_0x108089(0x283)](_0x108089(0x22e)+_0x357a87+'\x20result='+util[_0x108089(0x295)](_0x3d7812));const _0x38fe23=_0x36d754[_0x108089(0x2e7)]()[_0x108089(0x28a)](_0x357a87)[TestFrameworkConstants[_0x108089(0x2e0)]];await _0x2ddec7['VBRbb'](sendTraceZip,_0x3d7812,_0x38fe23);const _0x481450=TestInfo['getTestDetails'](_0x357a87)[_0x2ddec7[_0x108089(0x2de)]],_0x4538be={};if(_0x481450){!_0x3d7812['attachments']&&(_0x3d7812[_0x108089(0x26a)]=[]);_0x4538be['attachments']=_0x3d7812['attachments']['concat'](_0x481450||[]);const _0x824e6b=TestInfo[_0x108089(0x259)](_0x357a87);delete _0x824e6b[_0x2ddec7[_0x108089(0x2de)]],TestInfo['setTestDetails'](_0x357a87,_0x824e6b);}const _0x64d2d4=_0x1fe263||_0x2ddec7[_0x108089(0x2a6)](getStepsAndLogs,_0x3d7812[_0x108089(0x261)],_0x36d754[_0x108089(0x2e7)]()['get'](_0x357a87)[TestFrameworkConstants['KEY_TEST_UUID']],_0x2ddec7[_0x108089(0x2c3)])['logs'],_0x52c77b=_0x2ddec7[_0x108089(0x23f)](getScreenshots,_0x4538be,_0x36d754['getAllData']()[_0x108089(0x28a)](_0x357a87)[TestFrameworkConstants[_0x108089(0x2e0)]]),_0x424494=_0x2ddec7[_0x108089(0x1fa)](getVideos,_0x3d7812,_0x36d754['getAllData']()[_0x108089(0x28a)](_0x357a87)[TestFrameworkConstants[_0x108089(0x2e0)]]),{_:_0x1f905b,logs:_0x52cf00}=_0x2ddec7[_0x108089(0x2b9)](getFailureData,_0x3d7812[_0x108089(0x2d3)],{'test_run_uuid':_0x36d754['getAllData']()[_0x108089(0x28a)](_0x357a87)[TestFrameworkConstants[_0x108089(0x2e0)]]}),_0x1a0afb=TestInfo[_0x108089(0x259)](_0x357a87)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0xa5aa2a=_0x2ddec7['uFbMM'](getMediaArtifactsLogs,_0x1a0afb,_0x36d754[_0x108089(0x2e7)]()[_0x108089(0x28a)](_0x357a87)[TestFrameworkConstants[_0x108089(0x2e0)]]),_0x2212e7=_0x36d754[_0x108089(0x2e7)]()[_0x108089(0x28a)](_0x357a87),{[TestFrameworkConstants[_0x108089(0x27d)]]:_0x4642f0='',[TestFrameworkConstants[_0x108089(0x2ce)]]:_0x570f51=''}=_0x2212e7,_0x25ae20=(_0x64d2d4||[])[_0x108089(0x224)](_0x52c77b||[])[_0x108089(0x224)](_0x52cf00||[])[_0x108089(0x224)](_0x424494||[])[_0x108089(0x224)](_0xa5aa2a||[]),_0x42340c=0x28,_0x377e38=Math[_0x108089(0x236)](_0x2ddec7[_0x108089(0x2a3)](_0x25ae20['length'],_0x42340c));for(let _0x4704b6=0x0;_0x2ddec7[_0x108089(0x2a8)](_0x4704b6,_0x377e38);_0x4704b6++){const _0x47d4ed=_0x2ddec7[_0x108089(0x2af)](_0x4704b6,_0x42340c),_0x854e29=_0x2ddec7[_0x108089(0x21f)](_0x47d4ed,_0x42340c),_0x37f84f=_0x25ae20[_0x108089(0x262)](_0x47d4ed,_0x854e29),_0x3a5a7b={'platformIndex':global?.['browserstackPlatformIndex']??0x0,'logs':_0x37f84f,'testFrameworkName':_0x4642f0,'testFrameworkVersion':_0x570f51,'testFrameworkState':_0x1954e5[_0x108089(0x232)]()[_0x108089(0x235)]('.')[0x1]};_0x2ddec7['MzPRR'](updatePayloadForTraceLogs,_0x3a5a7b,_0x3e3dd1,_0x357a87,_0x36d754),logger[_0x108089(0x283)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x357a87+_0x108089(0x25e)+_0x2ddec7[_0x108089(0x246)](_0x4704b6,0x1)+'/'+_0x377e38+_0x108089(0x2ca)+util[_0x108089(0x295)](_0x3a5a7b));const _0x112882=await GrpcClient[_0x108089(0x1fb)]()[_0x108089(0x1fe)](_0x3a5a7b);logger[_0x108089(0x283)](_0x108089(0x2cb)+_0x357a87+_0x108089(0x25e)+_0x2ddec7[_0x108089(0x21f)](_0x4704b6,0x1)+'/'+_0x377e38+_0x108089(0x2b8)+util[_0x108089(0x295)](_0x112882));}}else{const {logs:_0x774161}=_0x2ddec7['JtwXI'](getStepsAndLogs,_0x3e3dd1[_0x108089(0x200)][_0x108089(0x261)],_0x1d0c2c,_0x2ddec7[_0x108089(0x2bf)]),_0x55d7ee=_0x2ddec7['VBRbb'](getTestRunIdentifier,_0x3e3dd1[_0x108089(0x263)],_0x3e3dd1[_0x108089(0x217)][_0x108089(0x2d5)]);logger[_0x108089(0x283)](_0x108089(0x22e)+_0x55d7ee);const _0x30b830=_0x36d754[_0x108089(0x2e7)]()[_0x108089(0x28a)](_0x55d7ee),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x2510ea='',[TestFrameworkConstants[_0x108089(0x2ce)]]:_0x23a60a=''}=_0x30b830,_0x4d91b3={'platformIndex':'0','logs':_0x774161,'testFrameworkName':_0x2510ea,'testFrameworkVersion':_0x23a60a,'testFrameworkState':_0x1954e5[_0x108089(0x232)]()[_0x108089(0x235)]('.')[0x1]};_0x2ddec7['cgszv'](updatePayloadForTraceLogs,_0x4d91b3,_0x3e3dd1,_0x55d7ee,_0x36d754),logger[_0x108089(0x283)](_0x108089(0x2cb)+_0x55d7ee+_0x108089(0x2ca)+util[_0x108089(0x295)](_0x4d91b3));const _0x275a71=await GrpcClient['getInstance']()[_0x108089(0x1fe)](_0x4d91b3);}}catch(_0x4b16fc){logger[_0x108089(0x2f2)]('Error\x20in\x20sendLogCreatedEvent:\x20'+util['format'](_0x4b16fc));}}[a94_0x132f99(0x1fd)](_0x35c982){const _0x23451e=a94_0x132f99,_0x425eae={'MfPqX':function(_0x3b1bc2,_0x25d2ce,_0x416298){return _0x3b1bc2(_0x25d2ce,_0x416298);},'avygn':function(_0x12e5bd,_0x4a6a2b){return _0x12e5bd<_0x4a6a2b;},'KYjNF':_0x23451e(0x277)};try{const _0x5cc40a=_0x35c982[_0x23451e(0x263)]['id'],_0x9f401c=_0x425eae['MfPqX'](getTestRunIdentifier,_0x35c982[_0x23451e(0x263)],_0x35c982[_0x23451e(0x217)][_0x23451e(0x2d5)]),_0x1e1ca4=_0x35c982[_0x23451e(0x275)],_0x55dc5f=_0x1e1ca4[_0x23451e(0x2d1)](),_0x3f2487=_0x1e1ca4['getAllData']()['get'](_0x9f401c);logger[_0x23451e(0x283)](_0x23451e(0x2bd)+_0x5cc40a);const {[TestFrameworkConstants[_0x23451e(0x27d)]]:_0xc33750='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x39a30e='',[TestFrameworkConstants[_0x23451e(0x279)]]:_0xd38cc0='',[TestFrameworkConstants[_0x23451e(0x2da)]]:_0x475ad8=''}=_0x3f2487,_0xf36e72=_0x1e1ca4[_0x23451e(0x1f4)]()[_0x23451e(0x232)]()[_0x23451e(0x235)]('.')[0x1],_0x5be3a8=_0x1e1ca4[_0x23451e(0x264)]()[_0x23451e(0x232)]()[_0x23451e(0x235)]('.')[0x1],_0x32658f=_0x425eae[_0x23451e(0x2a1)](_0x35c982?.[_0x23451e(0x217)]?.[_0x23451e(0x292)]??0x0,0x0)?0x0:_0x35c982?.[_0x23451e(0x217)]?.[_0x23451e(0x292)]??0x0,_0x1dcb5b=_0x1e1ca4[_0x23451e(0x2aa)](),_0x1a86c3=Buffer[_0x23451e(0x237)](JSON[_0x23451e(0x2cd)](_0x3f2487))[_0x23451e(0x232)](_0x425eae['KYjNF']),_0x199b26={'hash':_0x55dc5f['getId'](),'threadId':_0x55dc5f[_0x23451e(0x289)]()['toString'](),'processId':_0x55dc5f[_0x23451e(0x2c1)]()[_0x23451e(0x232)]()},_0xc6d9e={};_0xc6d9e[_0x23451e(0x203)]=_0x32658f,_0xc6d9e[_0x23451e(0x216)]=_0xc33750,_0xc6d9e[_0x23451e(0x27f)]=_0x39a30e,_0xc6d9e[_0x23451e(0x29c)]=_0xf36e72,_0xc6d9e[_0x23451e(0x23e)]=_0x5be3a8,_0xc6d9e[_0x23451e(0x274)]=_0xd38cc0,_0xc6d9e[_0x23451e(0x2f6)]=_0x475ad8,_0xc6d9e[_0x23451e(0x25b)]=_0x1dcb5b,_0xc6d9e['eventJson']=_0x1a86c3,_0xc6d9e[_0x23451e(0x2f3)]=_0x199b26;const _0x2bf77d=_0xc6d9e;return logger[_0x23451e(0x283)](_0x23451e(0x24b)+_0x5cc40a+_0x23451e(0x2f1)+_0xf36e72+_0x23451e(0x257)+_0x5be3a8),_0x2bf77d;}catch(_0x289900){return logger[_0x23451e(0x2f2)](_0x23451e(0x2ee)+util[_0x23451e(0x215)](_0x289900)),{};}}}function a94_0x4756(_0x23420e,_0x46f683){const _0x4e6091=a94_0x4e60();return a94_0x4756=function(_0x475613,_0x326821){_0x475613=_0x475613-0x1f4;let _0x477ce1=_0x4e6091[_0x475613];return _0x477ce1;},a94_0x4756(_0x23420e,_0x46f683);}function a94_0x4e60(){const _0xe6fe75=[',\x20testFrameworkState=','inspect','ZhRBS','sendLogCreatedEvent','4522010OwskOA','Expected\x20to\x20fail,\x20but\x20passed.','DvJIt','slow','testFrameworkState','addMultipleEntries','qehep','../cliUtils.js','DkNEw','avygn','lsymg','VNulq','keyword','\x20instance=','JtwXI','KEY_TEST_FILE_PATH','Zifls','pop','getRef','DEFAULT_HOOK_RESULT','fail','getTestIdentifierFromTestInfo','push','FisXn','filePath','KEY_AUTOMATE_SESSION_NAME','UzzYi','3120264itIIzZ','fwYie','McMBW','27mWZdwl','trim','\x20response=','jNWAO','basename','3748ZitBhU','info','createTestFrameworkEventPayload\x20testId:\x20','parsePlaywrightTest','YqRZz','failure_type','getProcessId','DEFAULT_TEST_RESULT','XIZNX','KEY_TEST_TAGS','4675dyOGli','TYXWb','forEach','NONE','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','\x20payload=','sendLogCreatedEvent\x20for\x20testId:\x20','../customTagManager','stringify','KEY_TEST_FRAMEWORK_VERSION','filter','parseCommaSeparatedValues','getContext','iXKdz','errors','./testFramework','retry','setTestDetails','parsePlaywrightTestResult','pWcUZ','startTime','KEY_TEST_ENDED_AT','9744987OnZGbs','testUId','EUDju','iKzHD','Okkcg','KEY_TEST_UUID','annotations','PudQL','expectedStatus','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','getId','results','getAllData','tFqzv','ZiQXS','set','POST','KOmnk','setTrackedInstance','Error\x20in\x20createTestFrameworkEventPayload:\x20','\x20&\x20hook\x20=\x20','9919192syaKFc','\x20testState:\x20','error','executionContext','TEST_SCREENSHOT','NcXTT','endedAt','getCurrentInstanceName','some','PKzCK','KEY_HOOKS_STARTED','getTestUUID','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','getCurrentTestState','../../utils/constants','trackPlaywrightInstance','sxjqq','getTime','MAX_NESTED_STEP_DEPTH','VBRbb','getInstance','\x20from\x20TestDetails:\x20','createTestFrameworkEventPayload','logCreatedEvent','duration','step','mergeIntoTags','307ZrplBL','platformIndex','../../../../src/helpers/helper','KEY_TEST_RESULT','has','status','trackStepEvent','KEY_LOGS','gPutC','PRE','Hook\x20List\x20in\x20Post\x20','trackStepEvent:\x20testId=','Error\x20processing\x20direct\x20trace\x20file\x20','QRKnf','toISOString','YiLzS','KEY_TEST_META','zPfXh','NdRSJ','format','testFrameworkName','result','timedOut','bsVxZ','cEPUw','imTYC','54950995WonTll','failure','trackEvent','iEBDb','lcGwd','EmCDX','KEY_TEST_ID','LivWH','concat','KEY_TEST_SCOPES','KEY_HOOK_ID','SEjlc','OYplB','zuhRj','ykIuY','\x20testHookState=','pesHi','../grpcClient','sendLogCreatedEvent:\x20testId=','KEY_EVENT_STARTED_AT','resolveInstance','KEY_TEST_SCOPE','toString','yDdrJ','trackHookEvent','split','ceil','from','OLnOD','5494eXbqoK','util','No\x20reason\x20provided','file_name','TEST','hookState','senyR','runHooks','6ztDasf','KEY_TEST_FAILURE','getTestFrameworks','aHLBu','dgAqb','aHPhg','\x20steps\x20for\x20testId=','JXggA','text','getTraceFilePaths','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','parsePlaywrightTestResult:\x20testId=','../instances/testFrameworkInstance.js','yfeWx','MrHnx','KEY_HOOK_RESULT','statSync','started_at','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','KEY_TEST_FAILURE_TYPE','failed','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','\x20hookState:\x20','ELlUj','getTestDetails','../state/testFrameworkState.js','uuid','getTestFrameworksVersions','sxYoR','\x20batch\x20','zavNG','../../../helpers/classLogger.js','steps','slice','test','getCurrentHookState','VPogp','skipped','AmZLC','KEY_HOOK_LAST_FINISHED','KEY_TEST_NAME','attachments','mCneo','parsePlaywrightTestResult:\x20extracted\x20','KEY_HOOK_NAME','Error\x20processing\x20trace\x20file\x20','trackEvent:\x20found\x20instance,\x20testFrameworkState=','KEY_CUSTOM_TAGS','pcRmr','TjIHt','KEY_HOOK_LOGS','startedAt','instance','matchHookRegex','base64','../../playwright/reporter/pwUtils','KEY_TEST_STARTED_AT','RvSqZ','\x20step=\x22','size','KEY_TEST_FRAMEWORK_NAME','KEY_HOOK_FAILURE_TYPE','testFrameworkVersion','../TestInfo.js','\x20\x20and\x20args\x20=\x20','path','debug','KEY_TEST_RERUN_NAME','KEY_HOOKS_FINISHED','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','fehBZ','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','getThreadId','get','jdSiq','PfnQw','KEY_HOOK_LAST_STARTED','message','KEY_TEST_ATTACHMENTS','VhhPR','length','parallelIndex','KEY_HOOK_FAILURE'];a94_0x4e60=function(){return _0xe6fe75;};return a94_0x4e60();}module['exports']=PlaywrightTestFramework;
@@ -1 +1 @@
1
- const a83_0x4bca1e=a83_0x4f36;(function(_0x3c20e3,_0x109df0){const _0x501aeb=a83_0x4f36,_0x2705ae=_0x3c20e3();while(!![]){try{const _0xd32da1=parseInt(_0x501aeb(0xbd))/0x1*(parseInt(_0x501aeb(0xc4))/0x2)+-parseInt(_0x501aeb(0xba))/0x3*(parseInt(_0x501aeb(0xb8))/0x4)+parseInt(_0x501aeb(0xcd))/0x5*(parseInt(_0x501aeb(0xbe))/0x6)+-parseInt(_0x501aeb(0xc1))/0x7*(-parseInt(_0x501aeb(0xc3))/0x8)+-parseInt(_0x501aeb(0xcf))/0x9+parseInt(_0x501aeb(0xb2))/0xa+-parseInt(_0x501aeb(0xc9))/0xb*(parseInt(_0x501aeb(0xb3))/0xc);if(_0xd32da1===_0x109df0)break;else _0x2705ae['push'](_0x2705ae['shift']());}catch(_0x2587b9){_0x2705ae['push'](_0x2705ae['shift']());}}}(a83_0x4b75,0x7aa61));const AutomationFramework=require(a83_0x4bca1e(0xa4)),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFrameworkState=require(a83_0x4bca1e(0xb9)),HookState=require(a83_0x4bca1e(0xaa)),CLIUtils=require(a83_0x4bca1e(0xc7)),TrackedInstance=require(a83_0x4bca1e(0xce)),AutomationFrameworkInstance=require('../instances/automationFrameworkInstance.js');class PuppeteerAutomationFramework extends AutomationFramework{['logger']=createClassLogger(a83_0x4bca1e(0xcb));constructor(_0x9228d4,_0x4768d1){super(_0x9228d4,_0x4768d1);}async['trackEvent'](_0x5e237b,_0x53ae86,_0x4d354b={}){const _0x13a133=a83_0x4bca1e,_0x238014={};_0x238014[_0x13a133(0xd0)]=function(_0x4d7449,_0x1169e9){return _0x4d7449===_0x1169e9;},_0x238014[_0x13a133(0xb4)]=_0x13a133(0xbc);const _0x5125d1=_0x238014;this[_0x13a133(0xcc)][_0x13a133(0xc2)](_0x13a133(0xa5)+_0x5e237b+'\x20hookState='+_0x53ae86),await super['trackEvent'](_0x5e237b,_0x53ae86,_0x4d354b);const _0x1326d8=this[_0x13a133(0xac)](_0x5e237b,_0x53ae86,_0x4d354b);if(_0x5125d1[_0x13a133(0xd0)](_0x1326d8,null)){this['logger']['debug'](_0x5125d1['EiLso']);return;}_0x4d354b[_0x13a133(0xbf)]=_0x1326d8,await this[_0x13a133(0xb1)](_0x1326d8,_0x5e237b,_0x53ae86,_0x4d354b);}[a83_0x4bca1e(0xac)](_0x46a59d,_0x2b6a57,_0x3e2663={}){const _0x5e057d=a83_0x4bca1e,_0x462708={};_0x462708[_0x5e057d(0xb0)]=function(_0x459231,_0x3cce96){return _0x459231===_0x3cce96;};const _0x75d3d7=_0x462708;let _0x14ccca=null;return(_0x75d3d7[_0x5e057d(0xb0)](_0x46a59d,AutomationFrameworkState[_0x5e057d(0xad)])&&_0x75d3d7[_0x5e057d(0xb0)](_0x2b6a57,HookState[_0x5e057d(0xa7)])||_0x75d3d7[_0x5e057d(0xb0)](_0x46a59d,AutomationFrameworkState[_0x5e057d(0xca)]))&&this[_0x5e057d(0xb7)](_0x46a59d,_0x3e2663),_0x14ccca=AutomationFramework['getTrackedInstance'](),_0x14ccca;}['trackPuppeteerInstance'](_0x2bfe0e,_0x50dd25){const _0x3c9a28=a83_0x4bca1e,_0x5a2b71={};_0x5a2b71[_0x3c9a28(0xc8)]=_0x3c9a28(0xc5);const _0x2eb539=_0x5a2b71;if(AutomationFramework[_0x3c9a28(0xc6)]()){this[_0x3c9a28(0xcc)]['info'](_0x2eb539[_0x3c9a28(0xc8)]);return;}const _0x4b2e8c=CLIUtils[_0x3c9a28(0xbb)](),_0x2b27d9=TrackedInstance[_0x3c9a28(0xa6)](_0x4b2e8c);let _0x2fefcf=null;this['logger'][_0x3c9a28(0xb6)](_0x3c9a28(0xaf)+_0x4b2e8c+_0x3c9a28(0xc0)+_0x2bfe0e),_0x2fefcf=new AutomationFrameworkInstance(_0x2b27d9,this[_0x3c9a28(0xab)](),this[_0x3c9a28(0xa8)](),_0x2bfe0e),AutomationFramework[_0x3c9a28(0xa9)](_0x2b27d9,_0x2fefcf),this[_0x3c9a28(0xcc)]['info']('trackPuppeteerInstance:\x20saved\x20instance\x20contextId='+_0x2b27d9['getId']()+_0x3c9a28(0xb5)+_0x4b2e8c);}}function a83_0x4f36(_0x410ca2,_0x452679){const _0x4b75a2=a83_0x4b75();return a83_0x4f36=function(_0x4f36fb,_0x1639d9){_0x4f36fb=_0x4f36fb-0xa4;let _0x3fc773=_0x4b75a2[_0x4f36fb];return _0x3fc773;},a83_0x4f36(_0x410ca2,_0x452679);}function a83_0x4b75(){const _0x56c566=['createContext','PRE','getAutomationFrameworkVersion','setTrackedInstance','../state/hookState.js','getAutomationFrameworkName','resolveInstance','CREATE','exports','trackPuppeteerInstance:\x20created\x20instance\x20for\x20target=','puXvJ','runHooks','3447940lRPeyd','11484852ETOopF','EiLso','\x20target=','info','trackPuppeteerInstance','52876SMhoKu','../state/automationFrameworkState.js','204JriSjv','getCurrentInstanceName','trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking','4kzHihI','366UmSOBG','instance',',\x20state=','14OpOHdU','debug','3633368tFwaAQ','460286lSvELm','trackPuppeteerInstance:\x20instance\x20already\x20exists','getTrackedInstance','../cliUtils.js','pihvQ','11NmrgxG','NONE','PuppeteerAutomationFramework','logger','26815OyYsib','../instances/trackedInstance.js','1282671ckdzJb','nfIyu','./automationFramework.js','trackEvent:\x20automationFrameworkState='];a83_0x4b75=function(){return _0x56c566;};return a83_0x4b75();}module[a83_0x4bca1e(0xae)]=PuppeteerAutomationFramework;
1
+ const a95_0xfbe8c1=a95_0x32c0;(function(_0x56de81,_0x54ca60){const _0x3af472=a95_0x32c0,_0x4cf026=_0x56de81();while(!![]){try{const _0x48c6fd=-parseInt(_0x3af472(0xd3))/0x1+-parseInt(_0x3af472(0xd5))/0x2*(-parseInt(_0x3af472(0xdf))/0x3)+parseInt(_0x3af472(0xf2))/0x4*(parseInt(_0x3af472(0xd7))/0x5)+-parseInt(_0x3af472(0xf1))/0x6+parseInt(_0x3af472(0xee))/0x7*(-parseInt(_0x3af472(0xd0))/0x8)+parseInt(_0x3af472(0xef))/0x9+parseInt(_0x3af472(0xf4))/0xa;if(_0x48c6fd===_0x54ca60)break;else _0x4cf026['push'](_0x4cf026['shift']());}catch(_0x7e5de1){_0x4cf026['push'](_0x4cf026['shift']());}}}(a95_0x7167,0xe9c3c));function a95_0x32c0(_0x26d923,_0x1184f3){const _0x71670c=a95_0x7167();return a95_0x32c0=function(_0x32c0d1,_0x18b5f8){_0x32c0d1=_0x32c0d1-0xcf;let _0x5d248d=_0x71670c[_0x32c0d1];return _0x5d248d;},a95_0x32c0(_0x26d923,_0x1184f3);}const AutomationFramework=require(a95_0xfbe8c1(0xda)),{createClassLogger}=require(a95_0xfbe8c1(0xe8)),AutomationFrameworkState=require(a95_0xfbe8c1(0xd2)),HookState=require(a95_0xfbe8c1(0xe2)),CLIUtils=require(a95_0xfbe8c1(0xd8)),TrackedInstance=require('../instances/trackedInstance.js'),AutomationFrameworkInstance=require(a95_0xfbe8c1(0xed));class PuppeteerAutomationFramework extends AutomationFramework{[a95_0xfbe8c1(0xe4)]=createClassLogger(a95_0xfbe8c1(0xea));constructor(_0x4a36f3,_0x5baa5f){super(_0x4a36f3,_0x5baa5f);}async[a95_0xfbe8c1(0xe0)](_0x3b13ca,_0x59c75a,_0x272926={}){const _0xf4de57=a95_0xfbe8c1,_0xd5bd31={};_0xd5bd31[_0xf4de57(0xe5)]=function(_0x1f0881,_0x5be67a){return _0x1f0881===_0x5be67a;},_0xd5bd31[_0xf4de57(0xe1)]=_0xf4de57(0xf7);const _0x1a3c8b=_0xd5bd31;this[_0xf4de57(0xe4)]['debug']('trackEvent:\x20automationFrameworkState='+_0x3b13ca+_0xf4de57(0xde)+_0x59c75a),await super[_0xf4de57(0xe0)](_0x3b13ca,_0x59c75a,_0x272926);const _0x1d49e6=this[_0xf4de57(0xec)](_0x3b13ca,_0x59c75a,_0x272926);if(_0x1a3c8b[_0xf4de57(0xe5)](_0x1d49e6,null)){this['logger']['debug'](_0x1a3c8b['ZgXgn']);return;}_0x272926['instance']=_0x1d49e6,await this[_0xf4de57(0xf5)](_0x1d49e6,_0x3b13ca,_0x59c75a,_0x272926);}['resolveInstance'](_0x13e764,_0x5093d9,_0x369d26={}){const _0x15efc3=a95_0xfbe8c1,_0x15ad93={};_0x15ad93['xjRAy']=function(_0x19ebc1,_0x7fcafe){return _0x19ebc1===_0x7fcafe;},_0x15ad93['TDycj']=function(_0x27bf48,_0x15cb7d){return _0x27bf48===_0x15cb7d;},_0x15ad93[_0x15efc3(0xdc)]=function(_0x5509a1,_0x25a77b){return _0x5509a1===_0x25a77b;};const _0x5bbbe2=_0x15ad93;let _0x364a5b=null;return(_0x5bbbe2['xjRAy'](_0x13e764,AutomationFrameworkState['CREATE'])&&_0x5bbbe2[_0x15efc3(0xd6)](_0x5093d9,HookState[_0x15efc3(0xcf)])||_0x5bbbe2['uanwm'](_0x13e764,AutomationFrameworkState[_0x15efc3(0xdd)]))&&this['trackPuppeteerInstance'](_0x13e764,_0x369d26),_0x364a5b=AutomationFramework[_0x15efc3(0xe9)](),_0x364a5b;}['trackPuppeteerInstance'](_0x46b1e4,_0x201760){const _0x442273=a95_0xfbe8c1,_0x1d1a00={};_0x1d1a00[_0x442273(0xe6)]=_0x442273(0xf0);const _0x8a701b=_0x1d1a00;if(AutomationFramework[_0x442273(0xe9)]()){this['logger'][_0x442273(0xdb)](_0x8a701b[_0x442273(0xe6)]);return;}const _0x30449a=CLIUtils[_0x442273(0xd1)](),_0xb00ae0=TrackedInstance['createContext'](_0x30449a);let _0x62b748=null;this['logger'][_0x442273(0xdb)](_0x442273(0xf3)+_0x30449a+',\x20state='+_0x46b1e4),_0x62b748=new AutomationFrameworkInstance(_0xb00ae0,this['getAutomationFrameworkName'](),this[_0x442273(0xe3)](),_0x46b1e4),AutomationFramework[_0x442273(0xe7)](_0xb00ae0,_0x62b748),this['logger'][_0x442273(0xdb)](_0x442273(0xeb)+_0xb00ae0[_0x442273(0xf6)]()+_0x442273(0xd4)+_0x30449a);}}module[a95_0xfbe8c1(0xd9)]=PuppeteerAutomationFramework;function a95_0x7167(){const _0x2edd7b=['ZgXgn','../state/hookState.js','getAutomationFrameworkVersion','logger','fDMhJ','bRcIS','setTrackedInstance','../../../helpers/classLogger.js','getTrackedInstance','PuppeteerAutomationFramework','trackPuppeteerInstance:\x20saved\x20instance\x20contextId=','resolveInstance','../instances/automationFrameworkInstance.js','255122pYDomm','7434324owNHVc','trackPuppeteerInstance:\x20instance\x20already\x20exists','9733860MdVjVP','16ttdEaw','trackPuppeteerInstance:\x20created\x20instance\x20for\x20target=','14377940wSysle','runHooks','getId','trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking','PRE','360kRznJn','getCurrentInstanceName','../state/automationFrameworkState.js','42393IceMIa','\x20target=','10JKtNzZ','TDycj','418985RcrScS','../cliUtils.js','exports','./automationFramework.js','info','uanwm','NONE','\x20hookState=','997953aRqYRW','trackEvent'];a95_0x7167=function(){return _0x2edd7b;};return a95_0x7167();}
@@ -1 +1 @@
1
- function a84_0x51c1(){const _0x3ba39e=['getId','../instances/trackedContext','getAllData','has','registerObserver','../instances/testFrameworkInstance','getTestFrameworks','../../../helpers/classLogger',';\x20hookState=','setCurrentHookState','exports','../instances/trackedInstance','../state/testFrameworkState','3622760vQYiuI','71031OlngsL','63TfAega','6ROswSk','instances','setInstance','193528WbyWHk','../eventDispatcher','setState','4SpwuEl','testFrameworkVersions','TestFramework','testFrameworks','399118usTfzt','18075820sgLAAt','get','../cliUtils','__bstack_test_framework_instances__','trackEvent','setTrackedInstance','7926867bnltup','binSessionId','debug','set','getInstances','createContext','getHookRegistryKey','setCurrentTestState','3785230yFKyUQ'];a84_0x51c1=function(){return _0x3ba39e;};return a84_0x51c1();}const a84_0x41d5c2=a84_0x3227;(function(_0x2aaa58,_0x43f110){const _0x595e20=a84_0x3227,_0x21e1aa=_0x2aaa58();while(!![]){try{const _0x52fbe6=parseInt(_0x595e20(0xa6))/0x1*(-parseInt(_0x595e20(0xa2))/0x2)+parseInt(_0x595e20(0x9a))/0x3+-parseInt(_0x595e20(0x99))/0x4+-parseInt(_0x595e20(0x8b))/0x5*(parseInt(_0x595e20(0x9c))/0x6)+-parseInt(_0x595e20(0x9b))/0x7*(-parseInt(_0x595e20(0x9f))/0x8)+parseInt(_0x595e20(0xad))/0x9+parseInt(_0x595e20(0xa7))/0xa;if(_0x52fbe6===_0x43f110)break;else _0x21e1aa['push'](_0x21e1aa['shift']());}catch(_0x324d48){_0x21e1aa['push'](_0x21e1aa['shift']());}}}(a84_0x51c1,0x72721));const CLIUtils=require(a84_0x41d5c2(0xa9)),eventDispatcher=require(a84_0x41d5c2(0xa0)),TestFrameworkInstance=require(a84_0x41d5c2(0x91)),TrackedContext=require(a84_0x41d5c2(0x8d)),TestFrameworkState=require(a84_0x41d5c2(0x98)),HookState=require('../state/hookState'),{createClassLogger}=require(a84_0x41d5c2(0x93)),TrackedInstance=require(a84_0x41d5c2(0x97)),logger=createClassLogger(a84_0x41d5c2(0xa4));function a84_0x3227(_0x2350f0,_0x231005){const _0x51c10e=a84_0x51c1();return a84_0x3227=function(_0x3227c1,_0x4acffc){_0x3227c1=_0x3227c1-0x8b;let _0x5e246b=_0x51c10e[_0x3227c1];return _0x5e246b;},a84_0x3227(_0x2350f0,_0x231005);}!global[a84_0x41d5c2(0xaa)]&&(global[a84_0x41d5c2(0xaa)]=new Map());class TestFramework{static get[a84_0x41d5c2(0x9d)](){const _0x26836f=a84_0x41d5c2;return global[_0x26836f(0xaa)];}[a84_0x41d5c2(0xa5)]=[];['testFrameworkVersions']={};[a84_0x41d5c2(0xae)]=null;constructor(_0x53a7e8,_0x1e308b,_0x56ad7c){const _0x64f181=a84_0x41d5c2;this[_0x64f181(0xa5)]=_0x53a7e8,this[_0x64f181(0xa3)]=_0x1e308b,this['binSessionId']=_0x56ad7c;}[a84_0x41d5c2(0xb1)](){return TestFramework['instances'];}[a84_0x41d5c2(0x9e)](_0x1f7fbc,_0x495d7b){const _0x4cec82=a84_0x41d5c2;TestFramework[_0x4cec82(0x9d)][_0x4cec82(0xb0)](_0x1f7fbc['getId'],_0x495d7b);}static['getTrackedInstance'](){const _0x4c3fa2=a84_0x41d5c2,_0x3a0e4e=TrackedInstance[_0x4c3fa2(0xb2)](CLIUtils['getCurrentInstanceName']());return TestFramework['instances'][_0x4c3fa2(0xa8)](_0x3a0e4e[_0x4c3fa2(0x8c)]());}static[a84_0x41d5c2(0xac)](_0x434d22,_0x3b829f){const _0xb7eaa4=a84_0x41d5c2;TestFramework['instances'][_0xb7eaa4(0xb0)](_0x434d22[_0xb7eaa4(0x8c)](),_0x3b829f);}['getTestFrameworksVersions'](){const _0x6717d1=a84_0x41d5c2;return this[_0x6717d1(0xa3)];}[a84_0x41d5c2(0x92)](){const _0x25cf1b=a84_0x41d5c2;return this[_0x25cf1b(0xa5)];}[a84_0x41d5c2(0xab)](_0x35c531,_0x3f8041,_0x4c4ae8={}){const _0x13cf69=a84_0x41d5c2;logger[_0x13cf69(0xaf)]('trackEvent:\x20testFrameworkState='+_0x35c531+_0x13cf69(0x94)+_0x3f8041);}async['runHooks'](_0x395f45,_0x2b0fc3,_0x8b592d,_0x16255d={}){const _0x34f278=a84_0x41d5c2,_0x1d2dae=CLIUtils['getHookRegistryKey'](_0x2b0fc3,_0x8b592d);_0x395f45[_0x34f278(0xb4)](_0x2b0fc3),_0x395f45[_0x34f278(0x95)](_0x8b592d),await eventDispatcher['notifyObserver'](_0x1d2dae,_0x16255d);}static[a84_0x41d5c2(0x90)](_0x599ddc,_0x5a0b46,_0x385468){const _0x3e7cbe=a84_0x41d5c2;eventDispatcher[_0x3e7cbe(0x90)](CLIUtils[_0x3e7cbe(0xb3)](_0x599ddc,_0x5a0b46),_0x385468);}static['getState'](_0x208174,_0x54aba0){const _0x4be3e6=a84_0x41d5c2;return _0x208174['getAllData']()[_0x4be3e6(0xa8)](_0x54aba0);}static[a84_0x41d5c2(0xa1)](_0xd4c707,_0x2932fb,_0x44dbb6){const _0x253f62=a84_0x41d5c2;_0xd4c707['getAllData']()[_0x253f62(0xb0)](_0x2932fb,_0x44dbb6);}static['hasState'](_0x3bcd46,_0x402c09){const _0x35c76b=a84_0x41d5c2;return _0x3bcd46[_0x35c76b(0x8e)]()[_0x35c76b(0x8f)](_0x402c09);}}module[a84_0x41d5c2(0x96)]=TestFramework;
1
+ function a96_0x50f8(_0x279d0c,_0x1fd337){const _0x239213=a96_0x2392();return a96_0x50f8=function(_0x50f851,_0x57c169){_0x50f851=_0x50f851-0x155;let _0x2d4815=_0x239213[_0x50f851];return _0x2d4815;},a96_0x50f8(_0x279d0c,_0x1fd337);}const a96_0x1e5e48=a96_0x50f8;(function(_0xf8aa29,_0x4356ad){const _0x2faf5f=a96_0x50f8,_0x43ccdf=_0xf8aa29();while(!![]){try{const _0x4623ab=parseInt(_0x2faf5f(0x17b))/0x1*(-parseInt(_0x2faf5f(0x177))/0x2)+parseInt(_0x2faf5f(0x16e))/0x3*(-parseInt(_0x2faf5f(0x173))/0x4)+-parseInt(_0x2faf5f(0x170))/0x5+parseInt(_0x2faf5f(0x162))/0x6+parseInt(_0x2faf5f(0x15f))/0x7+parseInt(_0x2faf5f(0x157))/0x8+-parseInt(_0x2faf5f(0x15b))/0x9*(-parseInt(_0x2faf5f(0x176))/0xa);if(_0x4623ab===_0x4356ad)break;else _0x43ccdf['push'](_0x43ccdf['shift']());}catch(_0x3d82c4){_0x43ccdf['push'](_0x43ccdf['shift']());}}}(a96_0x2392,0x593b1));function a96_0x2392(){const _0x1e7661=['exports','setState','3404418SkiBkX','../../../helpers/classLogger','setInstance','trackEvent','trackEvent:\x20testFrameworkState=','../instances/trackedInstance',';\x20hookState=','setCurrentHookState','getAllData','get','../state/hookState','../eventDispatcher','36258WqozqL','../instances/testFrameworkInstance','1473290bZTseY','set','getState','48YjNwXD','__bstack_test_framework_instances__','registerObserver','1472270nZwqWk','68024rcHKcz','getInstances','instances','has','19vfoIdY','../cliUtils','runHooks','testFrameworks','binSessionId','getCurrentInstanceName','getTestFrameworks','setCurrentTestState','1891568gzbgKl','TestFramework','hasState','getHookRegistryKey','9ESTcsT','notifyObserver','getId','getTrackedInstance','3502317QOwqgW'];a96_0x2392=function(){return _0x1e7661;};return a96_0x2392();}const CLIUtils=require(a96_0x1e5e48(0x17c)),eventDispatcher=require(a96_0x1e5e48(0x16d)),TestFrameworkInstance=require(a96_0x1e5e48(0x16f)),TrackedContext=require('../instances/trackedContext'),TestFrameworkState=require('../state/testFrameworkState'),HookState=require(a96_0x1e5e48(0x16c)),{createClassLogger}=require(a96_0x1e5e48(0x163)),TrackedInstance=require(a96_0x1e5e48(0x167)),logger=createClassLogger(a96_0x1e5e48(0x158));!global[a96_0x1e5e48(0x174)]&&(global[a96_0x1e5e48(0x174)]=new Map());class TestFramework{static get[a96_0x1e5e48(0x179)](){const _0xaa898d=a96_0x1e5e48;return global[_0xaa898d(0x174)];}['testFrameworks']=[];['testFrameworkVersions']={};[a96_0x1e5e48(0x17f)]=null;constructor(_0x502c4d,_0x35d983,_0x41f0b2){const _0x360cfa=a96_0x1e5e48;this[_0x360cfa(0x17e)]=_0x502c4d,this['testFrameworkVersions']=_0x35d983,this[_0x360cfa(0x17f)]=_0x41f0b2;}[a96_0x1e5e48(0x178)](){return TestFramework['instances'];}[a96_0x1e5e48(0x164)](_0x2cf3a0,_0x154255){const _0x471185=a96_0x1e5e48;TestFramework[_0x471185(0x179)][_0x471185(0x171)](_0x2cf3a0['getId'],_0x154255);}static[a96_0x1e5e48(0x15e)](){const _0x43b5e1=a96_0x1e5e48,_0x4a72e4=TrackedInstance['createContext'](CLIUtils[_0x43b5e1(0x180)]());return TestFramework[_0x43b5e1(0x179)][_0x43b5e1(0x16b)](_0x4a72e4[_0x43b5e1(0x15d)]());}static['setTrackedInstance'](_0x143e2f,_0x1f9411){const _0x3c9f5c=a96_0x1e5e48;TestFramework[_0x3c9f5c(0x179)][_0x3c9f5c(0x171)](_0x143e2f[_0x3c9f5c(0x15d)](),_0x1f9411);}['getTestFrameworksVersions'](){return this['testFrameworkVersions'];}[a96_0x1e5e48(0x155)](){const _0x1e49a9=a96_0x1e5e48;return this[_0x1e49a9(0x17e)];}[a96_0x1e5e48(0x165)](_0x2ec44a,_0xa349fc,_0x345106={}){const _0x5edc15=a96_0x1e5e48;logger['debug'](_0x5edc15(0x166)+_0x2ec44a+_0x5edc15(0x168)+_0xa349fc);}async[a96_0x1e5e48(0x17d)](_0x5157df,_0x1393e6,_0x3e2d95,_0x3a6e88={}){const _0x37322c=a96_0x1e5e48,_0x492501=CLIUtils[_0x37322c(0x15a)](_0x1393e6,_0x3e2d95);_0x5157df[_0x37322c(0x156)](_0x1393e6),_0x5157df[_0x37322c(0x169)](_0x3e2d95),await eventDispatcher[_0x37322c(0x15c)](_0x492501,_0x3a6e88);}static[a96_0x1e5e48(0x175)](_0x2b779e,_0x5e8d82,_0x3f1e32){eventDispatcher['registerObserver'](CLIUtils['getHookRegistryKey'](_0x2b779e,_0x5e8d82),_0x3f1e32);}static[a96_0x1e5e48(0x172)](_0x610ae8,_0x1b65ca){const _0x374a85=a96_0x1e5e48;return _0x610ae8[_0x374a85(0x16a)]()[_0x374a85(0x16b)](_0x1b65ca);}static[a96_0x1e5e48(0x161)](_0x2fe99a,_0xaf659f,_0x35b260){const _0x13f424=a96_0x1e5e48;_0x2fe99a[_0x13f424(0x16a)]()['set'](_0xaf659f,_0x35b260);}static[a96_0x1e5e48(0x159)](_0x20076a,_0x2438d6){const _0x3e4284=a96_0x1e5e48;return _0x20076a[_0x3e4284(0x16a)]()[_0x3e4284(0x17a)](_0x2438d6);}}module[a96_0x1e5e48(0x160)]=TestFramework;
@@ -0,0 +1 @@
1
+ 'use strict';function a97_0x4ea3(_0xa22dce,_0x5ea871){const _0x1e40db=a97_0x1e40();return a97_0x4ea3=function(_0x4ea326,_0x498d7a){_0x4ea326=_0x4ea326-0xd0;let _0x413dce=_0x1e40db[_0x4ea326];return _0x413dce;},a97_0x4ea3(_0xa22dce,_0x5ea871);}const a97_0x45587d=a97_0x4ea3;(function(_0x15cd27,_0x2c877a){const _0x48ecd6=a97_0x4ea3,_0x4d1241=_0x15cd27();while(!![]){try{const _0x1ec8e8=parseInt(_0x48ecd6(0xf2))/0x1+parseInt(_0x48ecd6(0xf5))/0x2*(-parseInt(_0x48ecd6(0xff))/0x3)+-parseInt(_0x48ecd6(0xe9))/0x4+parseInt(_0x48ecd6(0xf7))/0x5+parseInt(_0x48ecd6(0xe0))/0x6*(parseInt(_0x48ecd6(0xdf))/0x7)+-parseInt(_0x48ecd6(0xd3))/0x8*(parseInt(_0x48ecd6(0xda))/0x9)+-parseInt(_0x48ecd6(0xd1))/0xa*(-parseInt(_0x48ecd6(0x101))/0xb);if(_0x1ec8e8===_0x2c877a)break;else _0x4d1241['push'](_0x4d1241['shift']());}catch(_0x204078){_0x4d1241['push'](_0x4d1241['shift']());}}}(a97_0x1e40,0xd201e));const AutomationFramework=require('./automationFramework.js'),AutomationFrameworkInstance=require(a97_0x45587d(0x104)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),TrackedInstance=require(a97_0x45587d(0x100)),{createClassLogger}=require(a97_0x45587d(0xfb)),logger=createClassLogger(a97_0x45587d(0xf4));class TestCafeAutomationFramework extends AutomationFramework{constructor(_0x4c4530,_0x5cfa34){super(_0x4c4530,_0x5cfa34);}async['trackEvent'](_0x2f43f0,_0x565072,_0xbf5819={}){const _0x5d0071=a97_0x45587d;await super['trackEvent'](_0x2f43f0,_0x565072,_0xbf5819);const _0x4fe3ba=this[_0x5d0071(0xd5)](_0x2f43f0,_0x565072,_0xbf5819);if(!_0x4fe3ba){logger[_0x5d0071(0xfe)](_0x5d0071(0xed)+_0x2f43f0+_0x5d0071(0xdc)+_0x565072);return;}_0xbf5819['instance']=_0x4fe3ba,await this['runHooks'](_0x4fe3ba,_0x2f43f0,_0x565072,_0xbf5819);}[a97_0x45587d(0xd5)](_0xdf761b,_0x1a7b12,_0x10b815={}){const _0x86ba4=a97_0x45587d,_0x547020={};_0x547020['YCvrB']=_0x86ba4(0xf9),_0x547020['wWOLy']=function(_0x28d7fd,_0xb0acce){return _0x28d7fd===_0xb0acce;},_0x547020[_0x86ba4(0xee)]=function(_0x3c5568,_0x48ad9d){return _0x3c5568===_0x48ad9d;},_0x547020['sfJMk']=function(_0x40a2c5,_0x3a7737){return _0x40a2c5||_0x3a7737;};const _0x15048c=_0x547020,_0x4f5ff7=_0x10b815['userAgent']||null;if(!_0x4f5ff7)return logger[_0x86ba4(0xe5)](_0x15048c[_0x86ba4(0xf0)]),AutomationFramework[_0x86ba4(0xf1)]();const _0x21a748=Number[_0x86ba4(0xfc)](_0x10b815[_0x86ba4(0x102)])?_0x10b815[_0x86ba4(0x102)]:0x0,_0x11f5af='testcafe:'+_0x4f5ff7+'#'+_0x21a748;let _0xe7a452=AutomationFramework['instances'][_0x86ba4(0xd8)](_0x11f5af);if(!_0xe7a452&&(_0x15048c[_0x86ba4(0xfd)](_0xdf761b,AutomationFrameworkState[_0x86ba4(0xfa)])||_0x15048c['mdIiA'](_0xdf761b,AutomationFrameworkState[_0x86ba4(0xe4)]))){const _0x520417=TrackedInstance[_0x86ba4(0xf6)](_0x11f5af);_0xe7a452=new AutomationFrameworkInstance(_0x520417,this[_0x86ba4(0xea)](),this[_0x86ba4(0xd0)](),_0xdf761b),AutomationFramework[_0x86ba4(0x103)][_0x86ba4(0xf3)](_0x11f5af,_0xe7a452),logger[_0x86ba4(0xe3)]('resolveInstance:\x20created\x20instance\x20for\x20userAgent=\x22'+_0x4f5ff7+_0x86ba4(0xd6)+_0x21a748+_0x86ba4(0xe6)+_0x11f5af);}return _0x15048c[_0x86ba4(0xdd)](_0xe7a452,null);}static[a97_0x45587d(0xe2)](_0x5a3231,_0x40e0af=0x0){const _0x30c2c1=a97_0x45587d,_0x4bf332='testcafe:'+_0x5a3231+'#'+_0x40e0af;return AutomationFramework[_0x30c2c1(0x103)]['delete'](_0x4bf332);}static[a97_0x45587d(0xef)](_0x59f41e,_0x23211a=0x0){const _0x4bc7f9=a97_0x45587d;return AutomationFramework['instances'][_0x4bc7f9(0xd8)](_0x4bc7f9(0xeb)+_0x59f41e+'#'+_0x23211a)||null;}static*[a97_0x45587d(0xe8)](){const _0x3f704d=a97_0x45587d,_0x51da35={};_0x51da35[_0x3f704d(0xe1)]=function(_0x5a220d,_0x5a214a){return _0x5a220d===_0x5a214a;},_0x51da35[_0x3f704d(0xf8)]=_0x3f704d(0xd9),_0x51da35[_0x3f704d(0xd2)]=_0x3f704d(0xeb),_0x51da35[_0x3f704d(0xd4)]=function(_0x2b96ee,_0x2ed08c){return _0x2b96ee===_0x2ed08c;},_0x51da35[_0x3f704d(0xec)]=function(_0x26416a,_0x4bd7c4){return _0x26416a+_0x4bd7c4;};const _0x3025e5=_0x51da35;for(const [_0x8f5d36,_0x2c579c]of AutomationFramework[_0x3f704d(0x103)][_0x3f704d(0xdb)]()){if(_0x3025e5[_0x3f704d(0xe1)](typeof _0x8f5d36,_0x3025e5[_0x3f704d(0xf8)])&&_0x8f5d36['startsWith'](_0x3025e5[_0x3f704d(0xd2)])){const _0x13cca5=_0x8f5d36[_0x3f704d(0xd7)](_0x3025e5['FTDNC'][_0x3f704d(0x106)]),_0x13349d=_0x13cca5[_0x3f704d(0xe7)]('#');if(_0x3025e5['uGVqu'](_0x13349d,-0x1)){const _0x5e2346={};_0x5e2346['userAgent']=_0x13cca5,_0x5e2346[_0x3f704d(0x102)]=0x0,_0x5e2346[_0x3f704d(0x105)]=_0x2c579c,yield _0x5e2346;}else{const _0x3d5ab5=_0x13cca5[_0x3f704d(0xd7)](0x0,_0x13349d),_0x44c77e=Number['parseInt'](_0x13cca5[_0x3f704d(0xd7)](_0x3025e5['SfYtb'](_0x13349d,0x1)),0xa)||0x0,_0x223d3e={};_0x223d3e[_0x3f704d(0xde)]=_0x3d5ab5,_0x223d3e[_0x3f704d(0x102)]=_0x44c77e,_0x223d3e[_0x3f704d(0x105)]=_0x2c579c,yield _0x223d3e;}}}}}module['exports']=TestCafeAutomationFramework;function a97_0x1e40(){const _0x171510=['resolveInstance','\x22\x20platformIndex=','slice','get','string','18GUiPzd','entries','\x20hookState=','sfJMk','userAgent','7bOOSzS','3958602HNVygz','pnVJH','removeInstance','info','NONE','warn','\x20→\x20','lastIndexOf','iterAllInstances','6107544BNdWoW','getAutomationFrameworkName','testcafe:','SfYtb','trackEvent:\x20no\x20instance\x20for\x20state=','mdIiA','getInstanceByUserAgent','YCvrB','getTrackedInstance','1017146hXZhbK','set','TestCafeAutomationFramework','10NZrNiP','createContext','6787955nsXZAq','WSgIt','resolveInstance:\x20no\x20userAgent\x20in\x20args;\x20falling\x20back\x20to\x20default\x20tracked\x20instance','CREATE','../../../helpers/classLogger.js','isInteger','wWOLy','debug','395580IAFzpY','../instances/trackedInstance.js','11jNmNwN','platformIndex','instances','../instances/automationFrameworkInstance.js','instance','length','getAutomationFrameworkVersion','9219740OtqzaX','FTDNC','3640408NkwsKw','uGVqu'];a97_0x1e40=function(){return _0x171510;};return a97_0x1e40();}
@@ -0,0 +1 @@
1
+ 'use strict';function a98_0x141f(_0x575415,_0x66af8d){const _0x384458=a98_0x3844();return a98_0x141f=function(_0x141f70,_0x2a93f3){_0x141f70=_0x141f70-0x1da;let _0x8f5031=_0x384458[_0x141f70];return _0x8f5031;},a98_0x141f(_0x575415,_0x66af8d);}function a98_0x3844(){const _0x586149=['forEach','fixture','IXDpq','isArray','sendLogCreatedEvent','UdOAh','HnXFQ','string','KEY_HOOK_ID','\x20completed','skipped','hook_id','KEY_SESSION_ID','KWQTZ','resolveInstance','toISOString','_parseTestStart','rFZBq','event_ended_at','sPadx','getInstance','1240cGaqFt','pKwEu','testSessionEvent','FpsOw','HOOK_REGEX','base64','KEY_TEST_FAILURE_TYPE','fHyZm','wfQBK','cWfHI','RAaeb','BiQJg','wtaiR','chSqo','ImziL','addMultipleEntries','FNdFD','name','3372882sIMRzQ','KEY_HOOK_NAME','mipme','11GfCoXH','getTestFrameworks','TEST','./constants/testFrameworkConstants.js','UWKjv','passed','brsuT','__pendingPlatformUuids','wGSuo','after','EtDog','errs','tag','XPJNt','hJDpH','AFTER_EACH','AFTER_ALL','11006410oeRzts','PVFYy','startsWith','finalizeOrphans:\x20emitting\x20synthetic\x20TestRunFinished\x20for\x20','../state/testFrameworkState.js','DVroz','screenshots','__currentPlatformUuids','sendLogCreatedEvent:\x20no\x20testIdentifier,\x20skipping','dZPcT','\x20testUuid=','trackEvent\x20TEST\x20PRE:\x20fanning\x20out\x20for\x20','sendLogCreatedEvent:\x20nothing\x20to\x20send\x20for\x20testId=','Test\x20execution\x20started:\x20','okYZy','getCurrentHookState','\x20testName=','KEY_HOOK_LAST_STARTED','DnFWe','nSgmA','__fixture_','KEY_EVENT_STARTED_AT','\x20platform_index=','length','AFTER_','./testcafeAutomationFramework.js','temva','rFEIZ','hubUrl','updateData','KEY_EVENT_ENDED_AT','\x20target=','UDGTp','DGzvl','yLSuh','zUvIU','getTestFrameworksVersions','_getTestIdentifier','fBQZh','FVjrg','level','KEY_TEST_TAGS','getState','trackEvent\x20','yaxxO','unknown::','JygkD','846652HDnCox','trackEvent:\x20state=','getContext','qdjmg','keys','before_all','lFRkR','message','oWnJU','get','klxxs','createContext','failed','IAqYH','.__platformUuids','ITSLD','screenshotPath','KdQRV','getRef','_trackTestCafeInstance:\x20contextId=','\x20started','testFrameworkEvent','before','TestCafeError','ECpar','fixtureIdentifier','from','BEFORE_','getId','FPSRv','601yhIhEa','HYziO','vkTMS','DypzQ','type','dhguE','HZbBw','AXeIS','toString','288891YZNFIM','getData','wTaBH','testName','startTime','testcafe','UzBCy','endsWith','_sendLifecycleLogs\x20pi=','test_run_uuid','kCDfT','isInteger','PRE','_stripAnsi','CgYRd','PEkLq','_sendHookCbtEvents','zSXNU','KEY_HOOK_RESULT','stack','dGTqP','\x20ref=','getAllData','KEY_TEST_LOCATION','LxTps','before(fixture)','yIWhu','getConfig','DEFAULT_HOOK_RESULT','NONE','zFVTL','FwTvO','KEY_TEST_NAME',':\x20uuid=','Qryho','IMAGE','nNctO','sendLogCreatedEvent:\x20emitting\x20','object','delete','finalizeOrphans:\x20no\x20orphan\x20test_runs\x20to\x20finalize','Lhdpz','xScbs','match','event_started_at','BEFORE_EACH','lXhZf','hKaNd','eHEOf','_startedTestUuids','after(fixture)','zfjgx','GTFwn','./testFramework','../instances/testFrameworkInstance.js','eJpBH','__platformUuids','_sendLifecycleLogs\x20failed:\x20','\x20logs\x20for\x20testId=','jSJKE','Error','__pendingPlatformIdentifiers','getCurrentInstanceName','(orphan\x20test\x20','TestCafe','meta','\x20fan-out:\x20','BJfMY','getCurrentTestState','Test\x20execution\x20finished\x20—\x20result:\x20','LFVbQ','set','dmaiI','xjIck','toLowerCase','TgWez','finalizeOrphans:\x20synthetic\x20TestRunFinished\x20uuid=','filter','tags','UIPQs','testStartInfo','.__platformIdentifiers','trim','KIND_LOG','KEY_CAPABILITIES','platformIndex','debug','1176093bwMtiY','uuid','15jWXVUr','lKaEy','sendLogCreatedEvent\x20failed:\x20','../../../helpers/helper.js','instance','_trackTestCafeInstance','tnKzZ','::retry','testRunInfo\x20unavailable\x20—\x20TestCafe\x20runner\x20crash\x20or\x20unexpected\x20teardown','\x20pi=','2102422sJvkID','hRQGm','wOdiX','\x20platforms\x20(reusingFixtureUuids=','KEY_TEST_DURATION','rQoGr','push','entries','NHYUB','size','uCTaz','createTestFrameworkEventPayload:\x20','../../../helpers/classLogger.js','stringify','finalizeOrphans','KEY_TEST_FAILURE','\x20hookState=','IawqN','KEY_TEST_SCREENSHOTS','FFUUm','map','xBnfR','getTrackedInstance','tCbvx','WShDY','split','KEY_TEST_STARTED_AT','trackEvent','error','trackEvent:\x20exception\x20state=%s\x20hookState=%s\x20err=%s','8WjDTQM','_extractTestTags','HXyXQ','_sendLifecycleLogs','TestCafeOrphanTimeout','_parseTestEnd','KEY_HOOKS_STARTED','\x20state=','DhSgX','KEY_TEST_SCOPE','KEY_TEST_UUID','POST','testUuid','FkstC','unknown','hfjwN','LxcbH','nkIyh','../modules/testcafeDriverModule.js','Tlnmj','../browserstackCLI.js','_trackHookEvent','test','path','KEY_TEST_FRAMEWORK_VERSION','matchHookRegex','tqiDD','EkXDv','INIT_TEST','dxdVd','RowbC','KEY_TEST_ENDED_AT','createTestFrameworkEventPayload','durationMs','tPHoa','KEY_TEST_LOGS','XxSnV','testIdentifier','nUQsJ','./automationFramework.js','\x20sessionId=','SMXlI','__platformIdentifiers','getProcessId','replace','iterAllInstances','trackEvent:\x20runHooks\x20failed\x20—\x20','bLIzh','userAgents','_sendHookCbtEvents\x20failed:\x20','_lazyCreateInstance','Hook\x20','_deriveFailureType','testRunInfo','SGcGb','getThreadId','eGhmW','exports','rGVTv','SouzM','KEY_TEST_RESULT','afterEach(test)','KEY_TEST_FAILURE_REASON','kind','NbvEW','../cliUtils.js','KEY_HOOKS_FINISHED','info','_sendHookCbtEvents:\x20','KEY_TEST_FRAMEWORK_NAME','logCreatedEvent','warn','beforeEach(test)','format','EZKDd','TestCafe\x20reporter\x20did\x20not\x20fire\x20reportTestDone\x20for\x20this\x20test_run;\x20SDK\x20emitted\x20a\x20synthetic\x20TestRunFinished\x20on\x20teardown\x20to\x20avoid\x20an\x20indefinite\x20in_progress\x20state\x20on\x20the\x20o11y\x20dashboard.','IPMOc','\x20platform\x20identifiers,\x20uuids='];a98_0x3844=function(){return _0x586149;};return a98_0x3844();}const a98_0x6ecd1=a98_0x141f;(function(_0x361b88,_0x325380){const _0x5ca70a=a98_0x141f,_0x34ead0=_0x361b88();while(!![]){try{const _0x4128f2=-parseInt(_0x5ca70a(0x339))/0x1*(-parseInt(_0x5ca70a(0x2c6))/0x2)+parseInt(_0x5ca70a(0x239))/0x3+-parseInt(_0x5ca70a(0x31b))/0x4*(parseInt(_0x5ca70a(0x23b))/0x5)+-parseInt(_0x5ca70a(0x2d8))/0x6+-parseInt(_0x5ca70a(0x245))/0x7+parseInt(_0x5ca70a(0x263))/0x8*(-parseInt(_0x5ca70a(0x1e2))/0x9)+parseInt(_0x5ca70a(0x2ec))/0xa*(parseInt(_0x5ca70a(0x2db))/0xb);if(_0x4128f2===_0x325380)break;else _0x34ead0['push'](_0x34ead0['shift']());}catch(_0x3c6450){_0x34ead0['push'](_0x34ead0['shift']());}}}(a98_0x3844,0x51f5f));const TestFramework=require(a98_0x6ecd1(0x217)),TestFrameworkState=require(a98_0x6ecd1(0x2f0)),HookState=require('../state/hookState.js'),TestFrameworkInstance=require(a98_0x6ecd1(0x218)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a98_0x6ecd1(0x2de)),CLIUtils=require(a98_0x6ecd1(0x2a4)),TestInfo=require('../TestInfo.js'),GrpcClient=require('../grpcClient'),{getPlaywrightProvider,getProductForSession}=require(a98_0x6ecd1(0x23e)),{createClassLogger}=require(a98_0x6ecd1(0x251)),{v4:uuidv4}=require(a98_0x6ecd1(0x23a)),util=require('util'),logger=createClassLogger('TestCafeTestFramework');class TestCafeTestFramework extends TestFramework{constructor(_0xfb8d5d,_0x3d8291,_0x44775b){const _0x48c0a0=a98_0x6ecd1;super(_0xfb8d5d,_0x3d8291,_0x44775b),this[_0x48c0a0(0x213)]=new Map();}async[a98_0x6ecd1(0x260)](_0x1dd419,_0x1daa4d,_0x135a61={}){const _0x87bafa=a98_0x6ecd1,_0x5f5c2b={'Lhdpz':function(_0x5673b4,_0xe1c169){return _0x5673b4===_0xe1c169;},'dxdVd':function(_0x3f2160,_0x420d5a){return _0x3f2160>_0x420d5a;},'SouzM':_0x87bafa(0x2e2),'dhguE':_0x87bafa(0x21f),'UdOAh':function(_0x101004,_0x282585){return _0x101004<_0x282585;},'uCTaz':function(_0x4ec673){return _0x4ec673();},'rQLRX':function(_0xf0d569,_0x97dd23){return _0xf0d569&&_0x97dd23;},'FNdFD':_0x87bafa(0x2f3),'AXeIS':'__currentPlatformIdentifiers','rFZBq':function(_0x59f97a,_0x2b6cde){return _0x59f97a===_0x2b6cde;},'yLSuh':function(_0x508bb7,_0xf4b320){return _0x508bb7===_0xf4b320;},'nNctO':function(_0x1cdaf9,_0x4fb3d0){return _0x1cdaf9>_0x4fb3d0;},'nUQsJ':'test','rGVTv':_0x87bafa(0x336),'HQrmF':function(_0x44bb70,_0x249d12){return _0x44bb70===_0x249d12;},'tqiDD':function(_0x442d6a,_0x40d484){return _0x442d6a===_0x40d484;},'IawqN':function(_0x21728e,_0x56b5a8){return _0x21728e>_0x56b5a8;},'FPSRv':_0x87bafa(0x262),'UWKjv':function(_0x4f9598,_0x19a550){return _0x4f9598===_0x19a550;},'KWQTZ':function(_0x562f16,_0x4a620d){return _0x562f16===_0x4a620d;},'temva':function(_0x2ce81c,_0x2d4b49){return _0x2ce81c||_0x2d4b49;},'lFRkR':function(_0x151324,_0x4e6a8a){return _0x151324===_0x4e6a8a;},'RseJA':function(_0x483a18,_0x3d6fcc){return _0x483a18===_0x3d6fcc;}};super[_0x87bafa(0x260)](_0x1dd419,_0x1daa4d,_0x135a61);const _0x4c763a=this[_0x87bafa(0x2bf)](_0x1dd419,_0x1daa4d,_0x135a61);if(!_0x4c763a){logger['debug']('trackEvent:\x20no\x20instance\x20for\x20state='+_0x1dd419+'\x20hookState='+_0x1daa4d);return;}_0x4c763a['setCurrentTestState'](_0x1dd419),_0x4c763a['setCurrentHookState'](_0x1daa4d),_0x135a61[_0x87bafa(0x23f)]=_0x4c763a,logger[_0x87bafa(0x238)](_0x87bafa(0x31c)+_0x1dd419+_0x87bafa(0x255)+_0x1daa4d+_0x87bafa(0x1f7)+(_0x4c763a[_0x87bafa(0x32d)]&&_0x4c763a[_0x87bafa(0x32d)]()));try{if(_0x5f5c2b[_0x87bafa(0x20b)](_0x1dd419,TestFrameworkState['TEST'])&&_0x5f5c2b[_0x87bafa(0x20b)](_0x1daa4d,HookState[_0x87bafa(0x1ee)])){const _0x2e0fad=this[_0x87bafa(0x311)](_0x135a61['test'],0x0),_0x381121=Array[_0x87bafa(0x2b4)](_0x135a61['userAgents'])&&_0x5f5c2b['dxdVd'](_0x135a61['userAgents'][_0x87bafa(0x303)],0x0)?_0x135a61[_0x87bafa(0x293)]:[''],_0x49bc98=_0x4c763a['getData'](_0x5f5c2b['SouzM']),_0x4847f5=_0x4c763a[_0x87bafa(0x1e3)](_0x5f5c2b[_0x87bafa(0x1de)]),_0x305ee6=Array['isArray'](_0x49bc98)&&_0x5f5c2b[_0x87bafa(0x20b)](_0x49bc98[_0x87bafa(0x303)],_0x381121[_0x87bafa(0x303)]);logger['info'](_0x87bafa(0x2f7)+_0x381121[_0x87bafa(0x303)]+_0x87bafa(0x248)+_0x305ee6+')');const _0x199a60=[],_0x4665d1=[],_0x4b5cbb={};for(let _0x3f594f=0x0;_0x5f5c2b[_0x87bafa(0x2b6)](_0x3f594f,_0x381121['length']);_0x3f594f++){const _0x4cc66d=_0x305ee6?_0x49bc98[_0x3f594f]:_0x5f5c2b[_0x87bafa(0x24f)](uuidv4),_0xfe7894=_0x5f5c2b['rQLRX'](_0x305ee6,_0x4847f5)&&_0x4847f5[_0x3f594f]?_0x4847f5[_0x3f594f]:_0x2e0fad+'#'+_0x3f594f;_0x199a60['push'](_0x4cc66d),_0x4665d1['push'](_0xfe7894),_0x4b5cbb[_0xfe7894]=this[_0x87bafa(0x2c1)](_0x4cc66d,_0x135a61[_0x87bafa(0x279)],_0x135a61[_0x87bafa(0x232)]);}_0x4c763a[_0x87bafa(0x309)](_0x5f5c2b[_0x87bafa(0x29e)],null),_0x4c763a['updateData'](_0x5f5c2b[_0x87bafa(0x1de)],null),_0x4c763a[_0x87bafa(0x309)](_0x5f5c2b[_0x87bafa(0x2d6)],_0x199a60),_0x4c763a[_0x87bafa(0x309)](_0x5f5c2b[_0x87bafa(0x1e0)],_0x4665d1),_0x4b5cbb[_0x2e0fad]=_0x4b5cbb[_0x4665d1[0x0]],_0x4c763a[_0x87bafa(0x2d5)](_0x4b5cbb);const _0xc6db44={[_0x2e0fad+'.__platformUuids']:_0x199a60,[_0x2e0fad+'.__platformIdentifiers']:_0x4665d1};_0x4c763a['updateMultipleEntries'](_0xc6db44),_0x135a61[_0x87bafa(0x288)]=_0x2e0fad,_0x135a61[_0x87bafa(0x26f)]=_0x199a60[0x0],_0x135a61['platformIndex']=0x0,_0x135a61['__platformUuids']=_0x199a60,_0x135a61[_0x87bafa(0x28d)]=_0x4665d1;const _0x3ba3dd=_0x135a61[_0x87bafa(0x279)]&&_0x135a61[_0x87bafa(0x279)][_0x87bafa(0x2d7)]||'';for(let _0x58a02=0x0;_0x5f5c2b[_0x87bafa(0x2b6)](_0x58a02,_0x199a60[_0x87bafa(0x303)]);_0x58a02++){this[_0x87bafa(0x213)][_0x87bafa(0x229)](_0x199a60[_0x58a02],{'testName':_0x3ba3dd,'platformIndex':_0x58a02,'testIdentifier':_0x4665d1[_0x58a02],'sessionId':null});}}if(_0x5f5c2b[_0x87bafa(0x2c2)](_0x1dd419,TestFrameworkState[_0x87bafa(0x2dd)])&&_0x5f5c2b[_0x87bafa(0x30e)](_0x1daa4d,HookState[_0x87bafa(0x26e)])){const _0x3ee3ca=_0x135a61[_0x87bafa(0x279)],_0x2a9a06=_0x135a61[_0x87bafa(0x298)],_0x1d1567=this[_0x87bafa(0x311)](_0x3ee3ca,0x0),_0x230839=_0x4c763a['getAllData']()[_0x87bafa(0x324)](_0x1d1567+_0x87bafa(0x329))||[],_0xf8b77c=_0x4c763a['getAllData']()[_0x87bafa(0x324)](_0x1d1567+'.__platformIdentifiers')||[],_0x4a4539=this[_0x87bafa(0x268)](_0x3ee3ca,_0x2a9a06),_0x2ccaeb={};for(let _0x1e7364=0x0;_0x5f5c2b['UdOAh'](_0x1e7364,_0xf8b77c['length']);_0x1e7364++){const _0x11348a=_0xf8b77c[_0x1e7364],_0x5a62b4=_0x4c763a[_0x87bafa(0x1f8)]()['get'](_0x11348a)||{},_0x1e5cb3={..._0x5a62b4,..._0x4a4539};_0x2ccaeb[_0x11348a]=_0x1e5cb3;}_0x5f5c2b[_0x87bafa(0x206)](_0xf8b77c['length'],0x0)&&(_0x2ccaeb[_0x1d1567]=_0x2ccaeb[_0xf8b77c[0x0]]);_0x4c763a[_0x87bafa(0x2d5)](_0x2ccaeb),_0x135a61[_0x87bafa(0x288)]=_0x1d1567,_0x135a61[_0x87bafa(0x26f)]=_0x230839[0x0]||'',_0x135a61[_0x87bafa(0x237)]=0x0,_0x135a61[_0x87bafa(0x21a)]=_0x230839,_0x135a61['__platformIdentifiers']=_0xf8b77c,await this[_0x87bafa(0x2b5)](_0x4c763a,_0x1dd419,_0x1daa4d,_0x5f5c2b[_0x87bafa(0x289)],_0x135a61,0x0);for(let _0x4d29d1=0x0;_0x5f5c2b[_0x87bafa(0x2b6)](_0x4d29d1,_0x230839['length']);_0x4d29d1++){this[_0x87bafa(0x213)][_0x87bafa(0x209)](_0x230839[_0x4d29d1]);}}if(CLIUtils['matchHookRegex'](_0x1dd419[_0x87bafa(0x1e1)]()[_0x87bafa(0x25e)]('.')[0x1])){const _0xa377d7=await this[_0x87bafa(0x278)](_0x4c763a,_0x1dd419,_0x1daa4d,_0x135a61);Object['entries'](_0xa377d7)[_0x87bafa(0x2b1)](([_0x5a1ea3,_0x2da874])=>_0x4c763a[_0x87bafa(0x2d5)]({[_0x5a1ea3]:_0x2da874}));const _0x5a2ed2=_0x1dd419['toString']()[_0x87bafa(0x25e)]('.')[0x1];let _0x4335e2=_0x4c763a['getData'](_0x5f5c2b[_0x87bafa(0x2d6)]),_0x1e54f4=_0x4c763a[_0x87bafa(0x1e3)](_0x5f5c2b[_0x87bafa(0x1e0)]);const _0x2f25eb=Array[_0x87bafa(0x2b4)](_0x135a61['userAgents'])&&_0x5f5c2b['dxdVd'](_0x135a61[_0x87bafa(0x293)][_0x87bafa(0x303)],0x0)?_0x135a61[_0x87bafa(0x293)]:Array[_0x87bafa(0x2b4)](_0x4335e2)?_0x4335e2:[''];if(_0x5a2ed2[_0x87bafa(0x2ee)](_0x5f5c2b[_0x87bafa(0x29d)])&&_0x5f5c2b['HQrmF'](_0x1daa4d,HookState[_0x87bafa(0x1ee)])){const _0x39da25=Array[_0x87bafa(0x2b4)](_0x4c763a[_0x87bafa(0x1e3)](_0x5f5c2b[_0x87bafa(0x29e)]))&&_0x5f5c2b[_0x87bafa(0x27d)](_0x4c763a[_0x87bafa(0x1e3)](_0x5f5c2b[_0x87bafa(0x29e)])[_0x87bafa(0x303)],_0x2f25eb[_0x87bafa(0x303)]);if(!_0x39da25){const _0x408832=_0x2f25eb[_0x87bafa(0x259)](()=>uuidv4()),_0x14f27e=_0x2f25eb['map']((_0x19c82a,_0x4152ee)=>_0x87bafa(0x300)+(_0x135a61[_0x87bafa(0x334)]||_0x87bafa(0x271))+'#'+_0x4152ee);_0x4c763a['updateData'](_0x5f5c2b[_0x87bafa(0x29e)],_0x408832),_0x4c763a['updateData'](_0x5f5c2b[_0x87bafa(0x1de)],_0x14f27e),_0x4c763a['updateData'](_0x5f5c2b[_0x87bafa(0x2d6)],_0x408832),_0x4c763a['updateData'](_0x5f5c2b[_0x87bafa(0x1e0)],_0x14f27e),_0x4335e2=_0x408832,_0x1e54f4=_0x14f27e;}else _0x4335e2=_0x4c763a[_0x87bafa(0x1e3)](_0x5f5c2b['SouzM']),_0x1e54f4=_0x4c763a['getData'](_0x5f5c2b[_0x87bafa(0x1de)]);}Array[_0x87bafa(0x2b4)](_0x4335e2)&&_0x5f5c2b[_0x87bafa(0x256)](_0x4335e2[_0x87bafa(0x303)],0x0)&&(_0x135a61['testUuid']=_0x4335e2[0x0],_0x135a61[_0x87bafa(0x237)]=0x0,_0x135a61[_0x87bafa(0x21a)]=_0x4335e2,_0x135a61[_0x87bafa(0x28d)]=_0x1e54f4);}}catch(_0x37a8ee){logger[_0x87bafa(0x261)](util[_0x87bafa(0x2ac)](_0x5f5c2b[_0x87bafa(0x338)],_0x1dd419,_0x1daa4d,_0x37a8ee['stack']||_0x37a8ee));}try{await this['runHooks'](_0x4c763a,_0x1dd419,_0x1daa4d,_0x135a61);}catch(_0x5ca507){logger['error'](_0x87bafa(0x291)+(_0x5ca507[_0x87bafa(0x1f5)]||_0x5ca507));}const _0x1b1269=_0x1dd419[_0x87bafa(0x1e1)]()[_0x87bafa(0x25e)]('.')[0x1],_0x5e062=_0x5f5c2b[_0x87bafa(0x2df)](_0x1dd419,TestFrameworkState[_0x87bafa(0x2dd)])&&(_0x5f5c2b[_0x87bafa(0x27d)](_0x1daa4d,HookState[_0x87bafa(0x1ee)])||_0x5f5c2b[_0x87bafa(0x2df)](_0x1daa4d,HookState['POST'])),_0x53fc66=CLIUtils[_0x87bafa(0x27c)](_0x1b1269)&&(_0x5f5c2b[_0x87bafa(0x2df)](_0x1daa4d,HookState['PRE'])||_0x5f5c2b[_0x87bafa(0x2be)](_0x1daa4d,HookState[_0x87bafa(0x26e)]));if(_0x5f5c2b[_0x87bafa(0x306)](_0x5e062,_0x53fc66)){let _0x116bc7=[],_0x4259f9=[];if(_0x5e062){const _0x4c8159=this[_0x87bafa(0x311)](_0x135a61[_0x87bafa(0x279)],0x0);_0x116bc7=_0x4c763a[_0x87bafa(0x1f8)]()[_0x87bafa(0x324)](_0x4c8159+_0x87bafa(0x329))||[],_0x4259f9=_0x4c763a['getAllData']()[_0x87bafa(0x324)](_0x4c8159+_0x87bafa(0x233))||[];}else _0x116bc7=Array[_0x87bafa(0x2b4)](_0x4c763a[_0x87bafa(0x1e3)](_0x5f5c2b[_0x87bafa(0x2d6)]))?_0x4c763a['getData'](_0x5f5c2b['FNdFD']):[],_0x4259f9=Array['isArray'](_0x4c763a[_0x87bafa(0x1e3)](_0x5f5c2b['AXeIS']))?_0x4c763a['getData'](_0x5f5c2b[_0x87bafa(0x1e0)]):[];logger[_0x87bafa(0x2a6)](_0x87bafa(0x317)+_0x1b1269+'\x20'+_0x1daa4d[_0x87bafa(0x1e1)]()[_0x87bafa(0x25e)]('.')[0x1]+_0x87bafa(0x224)+_0x4259f9[_0x87bafa(0x303)]+_0x87bafa(0x2b0)+_0x116bc7['length']);for(let _0x530fb9=0x1;_0x5f5c2b[_0x87bafa(0x2b6)](_0x530fb9,_0x116bc7[_0x87bafa(0x303)]);_0x530fb9++){const _0x41f046={..._0x135a61};_0x41f046[_0x87bafa(0x288)]=_0x4259f9[_0x530fb9],_0x41f046['testUuid']=_0x116bc7[_0x530fb9],_0x41f046[_0x87bafa(0x237)]=_0x530fb9;const _0x44e682=_0x41f046;try{const _0x509819=this[_0x87bafa(0x283)](_0x44e682);_0x509819&&_0x5f5c2b[_0x87bafa(0x280)](Object[_0x87bafa(0x31f)](_0x509819)[_0x87bafa(0x303)],0x0)&&(logger[_0x87bafa(0x2a6)]('trackEvent\x20fan-out\x20'+_0x1b1269+_0x87bafa(0x244)+_0x530fb9+_0x87bafa(0x203)+_0x509819[_0x87bafa(0x23a)]+_0x87bafa(0x302)+_0x509819[_0x87bafa(0x237)]),await GrpcClient[_0x87bafa(0x2c5)]()['testFrameworkEvent'](_0x509819)),_0x5e062&&_0x5f5c2b[_0x87bafa(0x321)](_0x1daa4d,HookState[_0x87bafa(0x26e)])&&await this['sendLogCreatedEvent'](_0x4c763a,_0x1dd419,_0x1daa4d,_0x5f5c2b[_0x87bafa(0x289)],_0x44e682,_0x530fb9);}catch(_0x13c35d){logger['error']('trackEvent\x20fan-out\x20'+_0x1b1269+_0x87bafa(0x244)+_0x530fb9+'\x20failed:\x20'+(_0x13c35d[_0x87bafa(0x1f5)]||_0x13c35d));}}_0x53fc66&&(_0x5f5c2b['RseJA'](_0x1daa4d,HookState[_0x87bafa(0x1ee)])||_0x5f5c2b[_0x87bafa(0x27d)](_0x1daa4d,HookState[_0x87bafa(0x26e)]))&&await this[_0x87bafa(0x1f2)](_0x4c763a,_0x1b1269,_0x1daa4d,_0x116bc7),await this[_0x87bafa(0x266)](_0x4c763a,_0x1b1269,_0x1daa4d,_0x116bc7,_0x4259f9,_0x135a61);}}async[a98_0x6ecd1(0x266)](_0x267a43,_0x4394f9,_0x196248,_0x5a7c0c,_0x77e2b3,_0x1f1d87){const _0x21bf05=a98_0x6ecd1,_0x254ec9={'Fozwt':function(_0x121cd5,_0x513cbd){return _0x121cd5(_0x513cbd);},'dmaiI':'uuid','wOdiX':function(_0x533cc2,_0x8d9464){return _0x533cc2===_0x8d9464;},'tCbvx':_0x21bf05(0x2dd),'BJfMY':_0x21bf05(0x1ee),'zSXNU':function(_0xf3d69,_0xac85ab){return _0xf3d69===_0xac85ab;},'IAqYH':function(_0x4e4422,_0x2790f4){return _0x4e4422===_0x2790f4;},'rFEIZ':_0x21bf05(0x26e),'fHyZm':_0x21bf05(0x2bb),'LxTps':function(_0x1487e7,_0x1ca014){return _0x1487e7>_0x1ca014;},'kCDfT':_0x21bf05(0x327),'sPadx':'passed','UDGTp':'BEFORE_','IiHfd':'BEFORE_ALL','FkstC':_0x21bf05(0x1fb),'FFUUm':_0x21bf05(0x20f),'EZKDd':_0x21bf05(0x2ab),'RAaeb':function(_0x545392,_0x33e89e){return _0x545392===_0x33e89e;},'PVFYy':_0x21bf05(0x304),'NbvEW':function(_0x17debc,_0x3fd3e2){return _0x17debc===_0x3fd3e2;},'IPMOc':_0x21bf05(0x2eb),'tnKzZ':_0x21bf05(0x214),'TgWez':_0x21bf05(0x2ea),'EtDog':_0x21bf05(0x2a0),'rQoGr':function(_0x17e38b,_0x250efb){return _0x17e38b===_0x250efb;},'XhNRL':function(_0x1210be,_0x41ce6d){return _0x1210be===_0x41ce6d;},'NHYUB':function(_0x4ebf5c,_0x4ab17e){return _0x4ebf5c<_0x4ab17e;},'KdQRV':_0x21bf05(0x2a6)};try{const {v4:_0xec81f4}=_0x254ec9['Fozwt'](require,_0x254ec9[_0x21bf05(0x22a)]),_0x53e0bb=_0x196248[_0x21bf05(0x1e1)]()[_0x21bf05(0x25e)]('.')[0x1];let _0x7b78d='';if(_0x254ec9[_0x21bf05(0x247)](_0x4394f9,_0x254ec9[_0x21bf05(0x25c)])&&_0x254ec9['wOdiX'](_0x53e0bb,_0x254ec9[_0x21bf05(0x225)]))_0x7b78d=_0x21bf05(0x2f9)+(_0x1f1d87[_0x21bf05(0x279)]&&_0x1f1d87[_0x21bf05(0x279)]['testName']||'');else{if(_0x254ec9[_0x21bf05(0x1f3)](_0x4394f9,_0x254ec9[_0x21bf05(0x25c)])&&_0x254ec9[_0x21bf05(0x328)](_0x53e0bb,_0x254ec9[_0x21bf05(0x307)])){const _0x10ccf2=_0x1f1d87['testRunInfo']&&Array['isArray'](_0x1f1d87[_0x21bf05(0x298)]['errs'])?_0x1f1d87[_0x21bf05(0x298)]['errs']:[],_0x16cf70=_0x1f1d87[_0x21bf05(0x298)]&&_0x1f1d87['testRunInfo'][_0x21bf05(0x2bb)]?_0x254ec9[_0x21bf05(0x2cd)]:_0x254ec9[_0x21bf05(0x1fa)](_0x10ccf2['length'],0x0)?_0x254ec9[_0x21bf05(0x1ec)]:_0x254ec9[_0x21bf05(0x2c4)];_0x7b78d=_0x21bf05(0x227)+_0x16cf70;}else{if(_0x4394f9['startsWith'](_0x254ec9[_0x21bf05(0x30c)])&&_0x254ec9[_0x21bf05(0x328)](_0x53e0bb,_0x254ec9[_0x21bf05(0x225)])){const _0xe2e2e1=_0x254ec9['wOdiX'](_0x4394f9,_0x254ec9['IiHfd'])?_0x254ec9[_0x21bf05(0x270)]:_0x254ec9[_0x21bf05(0x1f3)](_0x4394f9,_0x254ec9[_0x21bf05(0x258)])?_0x254ec9['EZKDd']:_0x4394f9[_0x21bf05(0x22c)]();_0x7b78d='Hook\x20'+_0xe2e2e1+_0x21bf05(0x32f);}else{if(_0x4394f9[_0x21bf05(0x2ee)](_0x254ec9[_0x21bf05(0x30c)])&&_0x254ec9[_0x21bf05(0x1f3)](_0x53e0bb,_0x254ec9[_0x21bf05(0x307)])){const _0x5dd488=_0x254ec9[_0x21bf05(0x2d0)](_0x4394f9,_0x254ec9['IiHfd'])?_0x254ec9[_0x21bf05(0x270)]:_0x254ec9['zSXNU'](_0x4394f9,_0x254ec9['FFUUm'])?_0x254ec9[_0x21bf05(0x2ad)]:_0x4394f9[_0x21bf05(0x22c)]();_0x7b78d='Hook\x20'+_0x5dd488+_0x21bf05(0x2ba);}else{if(_0x4394f9[_0x21bf05(0x2ee)](_0x254ec9[_0x21bf05(0x2ed)])&&_0x254ec9['IAqYH'](_0x53e0bb,_0x254ec9[_0x21bf05(0x225)])){const _0x9070c9=_0x254ec9[_0x21bf05(0x2a3)](_0x4394f9,_0x254ec9[_0x21bf05(0x2af)])?_0x254ec9[_0x21bf05(0x241)]:_0x254ec9[_0x21bf05(0x328)](_0x4394f9,_0x254ec9[_0x21bf05(0x22d)])?_0x254ec9[_0x21bf05(0x2e5)]:_0x4394f9['toLowerCase']();_0x7b78d=_0x21bf05(0x296)+_0x9070c9+_0x21bf05(0x32f);}else{if(_0x4394f9[_0x21bf05(0x2ee)](_0x254ec9[_0x21bf05(0x2ed)])&&_0x254ec9[_0x21bf05(0x24a)](_0x53e0bb,_0x254ec9[_0x21bf05(0x307)])){const _0x42c31c=_0x254ec9[_0x21bf05(0x328)](_0x4394f9,_0x254ec9[_0x21bf05(0x2af)])?_0x254ec9['tnKzZ']:_0x254ec9['XhNRL'](_0x4394f9,_0x254ec9[_0x21bf05(0x22d)])?_0x254ec9['EtDog']:_0x4394f9[_0x21bf05(0x22c)]();_0x7b78d=_0x21bf05(0x296)+_0x42c31c+'\x20completed';}else return;}}}}}const _0xbf893a=new Date()[_0x21bf05(0x2c0)](),_0x4b52b2=_0x4394f9[_0x21bf05(0x2ee)](_0x254ec9[_0x21bf05(0x30c)])||_0x4394f9[_0x21bf05(0x2ee)](_0x254ec9[_0x21bf05(0x2ed)]);let _0x1edfc5='';if(_0x4b52b2){const _0x1ad13d=_0x267a43[_0x21bf05(0x1f8)]()[_0x21bf05(0x324)](TestFrameworkConstants[_0x21bf05(0x2fd)])||{};_0x1edfc5=_0x1ad13d[_0x4394f9]||'';}for(let _0x2ba9bc=0x0;_0x254ec9[_0x21bf05(0x24d)](_0x2ba9bc,_0x5a7c0c[_0x21bf05(0x303)]);_0x2ba9bc++){const _0x535892=_0x4b52b2?_0x1edfc5:_0x5a7c0c[_0x2ba9bc];if(!_0x535892)continue;const _0xd701e0={};_0xd701e0[_0x21bf05(0x23a)]=_0x535892,_0xd701e0[_0x21bf05(0x1eb)]=_0x5a7c0c[_0x2ba9bc],_0xd701e0['timestamp']=_0xbf893a,_0xd701e0[_0x21bf05(0x322)]=_0x7b78d,_0xd701e0[_0x21bf05(0x2a2)]=TestFrameworkConstants[_0x21bf05(0x235)],_0xd701e0[_0x21bf05(0x314)]=_0x254ec9[_0x21bf05(0x32c)];const _0x42d277=_0xd701e0,_0x10e00c={'platformIndex':_0x2ba9bc,'logs':[_0x42d277],'testFrameworkName':this[_0x21bf05(0x2dc)]()[0x0],'testFrameworkVersion':this[_0x21bf05(0x310)]()[this[_0x21bf05(0x2dc)]()[0x0]]||'','testFrameworkState':_0x4394f9};try{await GrpcClient['getInstance']()[_0x21bf05(0x2a9)](_0x10e00c);}catch(_0x3f5d01){logger[_0x21bf05(0x238)](_0x21bf05(0x1ea)+_0x2ba9bc+':\x20'+(_0x3f5d01[_0x21bf05(0x322)]||_0x3f5d01));}}}catch(_0x55ee99){logger[_0x21bf05(0x238)](_0x21bf05(0x21b)+(_0x55ee99[_0x21bf05(0x322)]||_0x55ee99));}}async['_sendHookCbtEvents'](_0x326d02,_0x196abf,_0x26a098,_0x4b9e3e){const _0x44a0b2=a98_0x6ecd1,_0xc02131={'PEkLq':function(_0x39b118,_0x58cc7a){return _0x39b118(_0x58cc7a);},'cWfHI':_0x44a0b2(0x277),'klxxs':function(_0x451022,_0x156b67){return _0x451022(_0x156b67);},'CmJNy':_0x44a0b2(0x305),'Qryho':_0x44a0b2(0x275),'tPHoa':function(_0x39b2e0,_0x2e24ea){return _0x39b2e0(_0x2e24ea);},'FVjrg':_0x44a0b2(0x28a),'hKaNd':function(_0x403033,_0x19e6d7){return _0x403033===_0x19e6d7;},'ITSLD':_0x44a0b2(0x208),'Tlnmj':function(_0x34f73f,_0x362b51){return _0x34f73f>_0x362b51;},'AREsw':_0x44a0b2(0x2cb),'jSJKE':_0x44a0b2(0x1e7),'XxSnV':function(_0x6b65ef,_0x16559a){return _0x6b65ef(_0x16559a);},'ChXPS':_0x44a0b2(0x222),'xjIck':function(_0x6b0a10){return _0x6b0a10();}};try{const _0x5c17df=_0xc02131[_0x44a0b2(0x1f1)](require,_0xc02131[_0x44a0b2(0x2cf)]),_0x469a48=_0xc02131[_0x44a0b2(0x325)](require,_0xc02131['CmJNy']),_0x50517c=_0x5c17df['getInstance'](),_0x4978ad=_0x50517c[_0x44a0b2(0x1fd)]()?.[_0x44a0b2(0x308)]||'',_0x2736b5=_0x326d02[_0x44a0b2(0x31d)](),_0x47c6cc={'hash':_0x2736b5['getId'](),'threadId':_0x2736b5[_0x44a0b2(0x29a)]()['toString'](),'processId':_0x2736b5[_0x44a0b2(0x28e)]()[_0x44a0b2(0x1e1)]()};for(const {platformIndex:_0x36a47f,instance:_0x274843}of _0x469a48[_0x44a0b2(0x290)]()){try{const _0x2de1e3=_0x4b9e3e[_0x36a47f]||_0x4b9e3e[0x0]||'';if(!_0x2de1e3)continue;const _0xdf5c54=_0xc02131[_0x44a0b2(0x1f1)](require,_0xc02131[_0x44a0b2(0x204)]),_0x1ea10c=_0xc02131[_0x44a0b2(0x285)](require,_0xc02131[_0x44a0b2(0x313)]),_0x4191c9=_0x1ea10c[_0x44a0b2(0x316)](_0x274843,_0xdf5c54[_0x44a0b2(0x2bd)],'')||'',_0x461b5e=_0x1ea10c[_0x44a0b2(0x316)](_0x274843,_0xdf5c54[_0x44a0b2(0x236)],{})||{},_0x13b9d9=_0x1ea10c[_0x44a0b2(0x316)](_0x274843,_0xdf5c54['KEY_HUB_URL'],'')||_0x4978ad,_0x3de54c=_0x461b5e&&_0xc02131[_0x44a0b2(0x211)](typeof _0x461b5e,_0xc02131[_0x44a0b2(0x32a)])?Object['keys'](_0x461b5e)[_0x44a0b2(0x303)]:0x0,_0x418129=Buffer[_0x44a0b2(0x335)](JSON[_0x44a0b2(0x252)](_0xc02131[_0x44a0b2(0x276)](_0x3de54c,0x0)?_0x461b5e:{}))[_0x44a0b2(0x1e1)](_0xc02131['AREsw']),_0x280a0c={'platformIndex':_0x36a47f,'testFrameworkName':this[_0x44a0b2(0x2dc)]()[0x0]||_0xc02131[_0x44a0b2(0x21d)],'testFrameworkVersion':this[_0x44a0b2(0x310)]()[this[_0x44a0b2(0x2dc)]()[0x0]]||'','testFrameworkState':_0x196abf,'testHookState':_0x26a098['toString']()['split']('.')[0x1],'testUuid':_0x2de1e3,'automationSession':{'provider':_0xc02131[_0x44a0b2(0x287)](getPlaywrightProvider,_0x13b9d9),'frameworkName':_0xc02131['ChXPS'],'frameworkVersion':'','frameworkSessionId':_0x4191c9,'ref':_0x274843['getRef'](),'hubUrl':_0x13b9d9,'product':_0xc02131[_0x44a0b2(0x22b)](getProductForSession)},'capabilities':_0x418129,'executionContext':_0x47c6cc};logger[_0x44a0b2(0x238)](_0x44a0b2(0x2a7)+_0x196abf+'\x20'+_0x26a098+_0x44a0b2(0x244)+_0x36a47f+_0x44a0b2(0x2f6)+_0x2de1e3+_0x44a0b2(0x28b)+_0x4191c9),await GrpcClient[_0x44a0b2(0x2c5)]()[_0x44a0b2(0x2c8)](_0x280a0c);}catch(_0x1e22dd){logger[_0x44a0b2(0x238)]('_sendHookCbtEvents\x20inner\x20failed:\x20'+(_0x1e22dd[_0x44a0b2(0x322)]||_0x1e22dd));}}}catch(_0x2ea03c){logger[_0x44a0b2(0x238)](_0x44a0b2(0x294)+(_0x2ea03c[_0x44a0b2(0x322)]||_0x2ea03c));}}async[a98_0x6ecd1(0x253)](){const _0x1faaf0=a98_0x6ecd1,_0x520805={'zfjgx':function(_0x13ac86,_0x3b6885){return _0x13ac86===_0x3b6885;},'qdjmg':_0x1faaf0(0x20a),'HnXFQ':_0x1faaf0(0x327),'IXDpq':_0x1faaf0(0x267),'DypzQ':_0x1faaf0(0x2ae),'SCAKk':_0x1faaf0(0x2cb),'VSqpH':function(_0x3d6851,_0x23f062){return _0x3d6851(_0x23f062);}};if(!this[_0x1faaf0(0x213)]||_0x520805[_0x1faaf0(0x215)](this[_0x1faaf0(0x213)][_0x1faaf0(0x24e)],0x0)){logger[_0x1faaf0(0x2a6)](_0x520805[_0x1faaf0(0x31e)]);return;}const _0xa24f88=Array['from'](this[_0x1faaf0(0x213)]['entries']());logger[_0x1faaf0(0x2aa)](_0x1faaf0(0x2ef)+_0xa24f88['length']+'\x20orphan\x20test_run(s)');const _0x17236e=TestFrameworkState[_0x1faaf0(0x2dd)]['toString']()[_0x1faaf0(0x25e)]('.')[0x1],_0x2db1d9=HookState[_0x1faaf0(0x26e)][_0x1faaf0(0x1e1)]()[_0x1faaf0(0x25e)]('.')[0x1],_0x37b12f=new Date()[_0x1faaf0(0x2c0)]();for(const [_0x2e239c,_0x732831]of _0xa24f88){const _0x1e686d={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0x1faaf0(0x2dc)]()[0x0],[TestFrameworkConstants[_0x1faaf0(0x27b)]]:this[_0x1faaf0(0x310)]()[this[_0x1faaf0(0x2dc)]()[0x0]]||'',[TestFrameworkConstants['KEY_TEST_UUID']]:_0x2e239c,[TestFrameworkConstants[_0x1faaf0(0x202)]]:_0x732831['testName']||_0x1faaf0(0x221)+_0x2e239c+')',[TestFrameworkConstants[_0x1faaf0(0x29f)]]:_0x520805[_0x1faaf0(0x2b7)],[TestFrameworkConstants[_0x1faaf0(0x254)]]:[{'type':_0x520805[_0x1faaf0(0x2b3)],'message':_0x520805[_0x1faaf0(0x1dc)],'stack':''}],[TestFrameworkConstants[_0x1faaf0(0x2cc)]]:_0x520805['IXDpq'],[TestFrameworkConstants[_0x1faaf0(0x25f)]]:_0x37b12f,[TestFrameworkConstants[_0x1faaf0(0x282)]]:_0x37b12f,[TestFrameworkConstants[_0x1faaf0(0x2a5)]]:{},[TestFrameworkConstants[_0x1faaf0(0x269)]]:{}},_0x27b109=Buffer[_0x1faaf0(0x335)](JSON[_0x1faaf0(0x252)](_0x1e686d))[_0x1faaf0(0x1e1)](_0x520805['SCAKk']),_0x553776={'platformIndex':_0x732831[_0x1faaf0(0x237)]||0x0,'testFrameworkName':this['getTestFrameworks']()[0x0],'testFrameworkVersion':this[_0x1faaf0(0x310)]()[this[_0x1faaf0(0x2dc)]()[0x0]]||'','testFrameworkState':_0x17236e,'hookState':_0x2db1d9,'startedAt':_0x37b12f,'endedAt':_0x37b12f,'uuid':_0x520805['VSqpH'](String,_0x2e239c),'eventJson':_0x27b109,'executionContext':{'hash':'','threadId':'0','processId':_0x520805['VSqpH'](String,process['pid'])},'test_identifier':_0x732831[_0x1faaf0(0x288)]||''};try{logger[_0x1faaf0(0x2a6)](_0x1faaf0(0x22e)+_0x2e239c+'\x20platformIndex='+_0x732831[_0x1faaf0(0x237)]+_0x1faaf0(0x2fc)+_0x732831[_0x1faaf0(0x1e5)]),await GrpcClient[_0x1faaf0(0x2c5)]()[_0x1faaf0(0x330)](_0x553776);}catch(_0x2924df){logger['warn']('finalizeOrphans:\x20failed\x20to\x20emit\x20synthetic\x20TestRunFinished\x20for\x20'+_0x2e239c+':\x20'+(_0x2924df[_0x1faaf0(0x322)]||_0x2924df));}}this[_0x1faaf0(0x213)]['clear']();}[a98_0x6ecd1(0x2bf)](_0x15965d,_0xb5a6f0,_0x4b9cec={}){const _0x3a07fb=a98_0x6ecd1,_0x1a6de0={};_0x1a6de0[_0x3a07fb(0x2d2)]=function(_0x262dae,_0x566ce0){return _0x262dae===_0x566ce0;},_0x1a6de0[_0x3a07fb(0x273)]=function(_0x59c839,_0x1978a7){return _0x59c839===_0x1978a7;};const _0x298249=_0x1a6de0;return(_0x298249[_0x3a07fb(0x2d2)](_0x15965d,TestFrameworkState[_0x3a07fb(0x27f)])||_0x298249[_0x3a07fb(0x273)](_0x15965d,TestFrameworkState[_0x3a07fb(0x1ff)]))&&this['_trackTestCafeInstance'](_0x15965d,_0x4b9cec),TestFramework[_0x3a07fb(0x25b)]()||this[_0x3a07fb(0x295)](_0x15965d);}['_trackTestCafeInstance'](_0x31d226,_0x178f79){const _0x58ccb4=a98_0x6ecd1,_0x3a03d6=CLIUtils[_0x58ccb4(0x220)](),_0x53971d=TrackedInstance[_0x58ccb4(0x326)](_0x3a03d6),_0x3ed47b=new TestFrameworkInstance(_0x53971d,this[_0x58ccb4(0x2dc)](),this[_0x58ccb4(0x310)](),_0x31d226,HookState[_0x58ccb4(0x1ff)]);TestFramework['setTrackedInstance'](_0x53971d,_0x3ed47b),logger[_0x58ccb4(0x2a6)](_0x58ccb4(0x32e)+_0x53971d[_0x58ccb4(0x337)]()+_0x58ccb4(0x30b)+_0x3a03d6+_0x58ccb4(0x26a)+_0x31d226);}[a98_0x6ecd1(0x295)](_0x123725){const _0x32d999=a98_0x6ecd1;return this[_0x32d999(0x240)](_0x123725,{}),TestFramework[_0x32d999(0x25b)]();}[a98_0x6ecd1(0x283)](_0x20b39f){const _0x2e43d5=a98_0x6ecd1,_0x1b1c21={'CgYRd':function(_0x1c158f,_0x490ea4){return _0x1c158f>_0x490ea4;},'okYZy':function(_0x29633d,_0x4bd05f){return _0x29633d-_0x4bd05f;},'wfQBK':function(_0x471c1c,_0x2a3bb2){return _0x471c1c>_0x2a3bb2;},'NcZcz':function(_0x228420,_0x3e0765){return _0x228420-_0x3e0765;},'DhSgX':function(_0x59be7e,_0xa3b092){return _0x59be7e===_0xa3b092;},'TxIXU':_0x2e43d5(0x208),'dZPcT':_0x2e43d5(0x329),'GTFwn':'.__platformIdentifiers','fBQZh':function(_0x509598,_0x3f8870){return _0x509598||_0x3f8870;},'xLgyu':function(_0x4566d1,_0x5ea45e){return _0x4566d1===_0x5ea45e;},'pkRAS':_0x2e43d5(0x26e),'xLmiK':_0x2e43d5(0x2e0),'chSqo':function(_0x26df4a,_0x382483){return _0x26df4a(_0x382483);},'xBnfR':function(_0x1a1146,_0x1be6f8){return _0x1a1146||_0x1be6f8;},'DGzvl':function(_0x4a3b3e,_0x3a013f){return _0x4a3b3e(_0x3a013f);},'ECpar':function(_0x5a0aac,_0x71d9f7){return _0x5a0aac||_0x71d9f7;},'UzBCy':_0x2e43d5(0x2cb),'yaxxO':function(_0x122c20,_0x40bb10){return _0x122c20(_0x40bb10);},'BiQJg':function(_0x760efc,_0x4275fa){return _0x760efc(_0x4275fa);},'HZbBw':function(_0x4400ab,_0x583bec){return _0x4400ab||_0x583bec;}};try{const _0x497c7e=_0x20b39f[_0x2e43d5(0x23f)];if(!_0x497c7e)return{};const _0x37a348=_0x497c7e[_0x2e43d5(0x31d)](),_0x1dce0e=_0x497c7e[_0x2e43d5(0x226)]()[_0x2e43d5(0x1e1)]()[_0x2e43d5(0x25e)]('.')[0x1],_0x35ceff=_0x497c7e[_0x2e43d5(0x2fb)]()[_0x2e43d5(0x1e1)]()[_0x2e43d5(0x25e)]('.')[0x1],_0x315e33=Number['isInteger'](_0x20b39f[_0x2e43d5(0x237)])?_0x20b39f[_0x2e43d5(0x237)]:0x0,_0x2241c0={'hash':_0x37a348[_0x2e43d5(0x337)](),'threadId':_0x37a348['getThreadId']()[_0x2e43d5(0x1e1)](),'processId':_0x37a348['getProcessId']()[_0x2e43d5(0x1e1)]()};if(TestFrameworkConstants[_0x2e43d5(0x2ca)]&&new RegExp(TestFrameworkConstants[_0x2e43d5(0x2ca)])[_0x2e43d5(0x279)](_0x1dce0e)){const _0x4ce7f6=_0x1dce0e,_0x16f1d0=_0x497c7e['getAllData'](),_0x18ecee=(_0x16f1d0[_0x2e43d5(0x324)](TestFrameworkConstants[_0x2e43d5(0x269)])||{})[_0x4ce7f6],_0x55d1e1=(_0x16f1d0[_0x2e43d5(0x324)](TestFrameworkConstants[_0x2e43d5(0x2a5)])||{})[_0x4ce7f6],_0x167074=Array['isArray'](_0x18ecee)&&_0x1b1c21[_0x2e43d5(0x1f0)](_0x18ecee[_0x2e43d5(0x303)],0x0)?_0x18ecee[_0x1b1c21[_0x2e43d5(0x2fa)](_0x18ecee[_0x2e43d5(0x303)],0x1)]:null,_0x3e4563=Array['isArray'](_0x55d1e1)&&_0x1b1c21[_0x2e43d5(0x2ce)](_0x55d1e1[_0x2e43d5(0x303)],0x0)?_0x55d1e1[_0x1b1c21['NcZcz'](_0x55d1e1[_0x2e43d5(0x303)],0x1)]:null,_0x27e705=_0x167074&&_0x167074[_0x2e43d5(0x20e)]||'',_0x2d9672=_0x3e4563&&_0x3e4563[_0x2e43d5(0x2c3)]||'',_0x5016ac=_0x167074&&_0x167074[_0x2e43d5(0x2bc)]||_0x3e4563&&_0x3e4563[_0x2e43d5(0x2bc)]||_0x4ce7f6+':'+_0x37a348[_0x2e43d5(0x337)](),_0x3b3cfc=_0x20b39f[_0x2e43d5(0x2b2)]||{},_0x11375b=_0x3b3cfc&&_0x3b3cfc[_0x2e43d5(0x27a)]||'',_0x564668=_0x3b3cfc&&_0x3b3cfc['name']||'';let _0x1966c8=null;for(const [_0x3737e5,_0x76827]of _0x16f1d0[_0x2e43d5(0x24c)]()){if(_0x76827&&_0x1b1c21[_0x2e43d5(0x26b)](typeof _0x76827,_0x1b1c21['TxIXU'])&&_0x76827[TestFrameworkConstants[_0x2e43d5(0x202)]]&&!_0x3737e5[_0x2e43d5(0x1e9)](_0x1b1c21[_0x2e43d5(0x2f5)])&&!_0x3737e5[_0x2e43d5(0x1e9)](_0x1b1c21[_0x2e43d5(0x216)])){_0x1966c8=_0x76827;break;}}const _0x41b1e6=_0x1966c8&&_0x1966c8[TestFrameworkConstants['KEY_TEST_NAME']]||_0x564668||_0x4ce7f6,_0x550835=_0x1966c8&&_0x1966c8[TestFrameworkConstants[_0x2e43d5(0x1f9)]]||_0x11375b||'',_0x34ec88={[TestFrameworkConstants[_0x2e43d5(0x26d)]]:_0x20b39f[_0x2e43d5(0x26f)]||'',[TestFrameworkConstants[_0x2e43d5(0x202)]]:_0x41b1e6,[TestFrameworkConstants[_0x2e43d5(0x1f9)]]:_0x550835,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x550835,[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x1b1c21[_0x2e43d5(0x312)](_0x564668,_0x41b1e6),[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x564668?[_0x564668]:[],[TestFrameworkConstants[_0x2e43d5(0x2d9)]]:_0x4ce7f6,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x5016ac,[TestFrameworkConstants[_0x2e43d5(0x1f4)]]:_0x1b1c21['xLgyu'](_0x35ceff,_0x1b1c21['pkRAS'])?_0x1b1c21['xLmiK']:TestFrameworkConstants[_0x2e43d5(0x1fe)],[TestFrameworkConstants[_0x2e43d5(0x301)]]:_0x27e705,[TestFrameworkConstants[_0x2e43d5(0x30a)]]:_0x2d9672,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0x2e43d5(0x2dc)]()[0x0],[TestFrameworkConstants[_0x2e43d5(0x27b)]]:this[_0x2e43d5(0x310)]()[this[_0x2e43d5(0x2dc)]()[0x0]]||'',[TestFrameworkConstants[_0x2e43d5(0x269)]]:_0x16f1d0[_0x2e43d5(0x324)](TestFrameworkConstants[_0x2e43d5(0x269)])||{},[TestFrameworkConstants[_0x2e43d5(0x2a5)]]:_0x16f1d0[_0x2e43d5(0x324)](TestFrameworkConstants[_0x2e43d5(0x2a5)])||{}};return{'platformIndex':_0x315e33,'testFrameworkName':this[_0x2e43d5(0x2dc)]()[0x0],'testFrameworkVersion':this[_0x2e43d5(0x310)]()[this[_0x2e43d5(0x2dc)]()[0x0]]||'','testFrameworkState':_0x1dce0e,'hookState':_0x35ceff,'startedAt':_0x1b1c21[_0x2e43d5(0x2d3)](String,_0x1b1c21[_0x2e43d5(0x25a)](_0x27e705,'')),'endedAt':_0x1b1c21[_0x2e43d5(0x30d)](String,_0x1b1c21[_0x2e43d5(0x333)](_0x2d9672,'')),'uuid':_0x1b1c21[_0x2e43d5(0x2d3)](String,_0x5016ac),'eventJson':Buffer[_0x2e43d5(0x335)](JSON[_0x2e43d5(0x252)](_0x34ec88))[_0x2e43d5(0x1e1)](_0x1b1c21[_0x2e43d5(0x1e8)]),'executionContext':_0x2241c0,'test_identifier':_0x34ec88[TestFrameworkConstants[_0x2e43d5(0x2b9)]]};}const _0x35649a=_0x20b39f['testIdentifier']||_0x20b39f[_0x2e43d5(0x279)]&&this['_getTestIdentifier'](_0x20b39f[_0x2e43d5(0x279)],0x0)||null,_0x47e15f=_0x35649a&&_0x497c7e['getAllData']()[_0x2e43d5(0x324)](_0x35649a)||{},_0x41c3c3=_0x497c7e[_0x2e43d5(0x1f8)](),_0x4ed134={..._0x47e15f,[TestFrameworkConstants[_0x2e43d5(0x269)]]:_0x41c3c3['get'](TestFrameworkConstants[_0x2e43d5(0x269)])||_0x47e15f[TestFrameworkConstants[_0x2e43d5(0x269)]]||{},[TestFrameworkConstants[_0x2e43d5(0x2a5)]]:_0x41c3c3[_0x2e43d5(0x324)](TestFrameworkConstants[_0x2e43d5(0x2a5)])||_0x47e15f[TestFrameworkConstants[_0x2e43d5(0x2a5)]]||{}},{[TestFrameworkConstants[_0x2e43d5(0x2a8)]]:_0x446615=this[_0x2e43d5(0x2dc)]()[0x0],[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x2c80bf='',[TestFrameworkConstants[_0x2e43d5(0x25f)]]:_0x367161='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x4cb385=''}=_0x4ed134,_0x21ebd5=_0x20b39f[_0x2e43d5(0x26f)]||_0x4ed134[TestFrameworkConstants[_0x2e43d5(0x26d)]]||_0x497c7e[_0x2e43d5(0x32d)](),_0x3d4164=Buffer[_0x2e43d5(0x335)](JSON[_0x2e43d5(0x252)](_0x4ed134))['toString'](_0x1b1c21[_0x2e43d5(0x1e8)]);return{'platformIndex':_0x315e33,'testFrameworkName':_0x446615,'testFrameworkVersion':_0x2c80bf,'testFrameworkState':_0x1dce0e,'hookState':_0x35ceff,'startedAt':_0x367161?_0x1b1c21[_0x2e43d5(0x318)](String,_0x367161):'','endedAt':_0x4cb385?_0x1b1c21[_0x2e43d5(0x2d1)](String,_0x4cb385):'','uuid':_0x1b1c21[_0x2e43d5(0x2d3)](String,_0x1b1c21[_0x2e43d5(0x1df)](_0x21ebd5,'')),'eventJson':_0x3d4164,'executionContext':_0x2241c0,'test_identifier':_0x35649a};}catch(_0x5c3f20){return logger[_0x2e43d5(0x261)](_0x2e43d5(0x250)+(_0x5c3f20[_0x2e43d5(0x1f5)]||_0x5c3f20)),{};}}async['sendLogCreatedEvent'](_0x10b233,_0xb52cde,_0x17fbcf,_0x5f228b,_0x5533e8,_0x1c5aa6){const _0x40108b=a98_0x6ecd1,_0x3b5e79={'kFDUX':function(_0x3f3d80){return _0x3f3d80();},'wGSuo':_0x40108b(0x205),'wTaBH':function(_0x1137ff){return _0x1137ff();},'DnFWe':'ERROR','hRQGm':_0x40108b(0x2f4),'FwTvO':function(_0x203062,_0x25eaa2){return _0x203062===_0x25eaa2;}};try{const _0x5d636d=_0x5533e8[_0x40108b(0x288)]||_0x5533e8[_0x40108b(0x279)]&&this[_0x40108b(0x311)](_0x5533e8[_0x40108b(0x279)],0x0);if(!_0x5d636d){logger[_0x40108b(0x238)](_0x3b5e79[_0x40108b(0x246)]);return;}const _0x44922e=_0x10b233[_0x40108b(0x1f8)]()[_0x40108b(0x324)](_0x5d636d)||{},_0x26d416=_0x44922e[TestFrameworkConstants['KEY_TEST_UUID']],_0x5d8672=_0x44922e[TestFrameworkConstants[_0x40108b(0x257)]]||[],_0x5f4c57=_0x44922e[TestFrameworkConstants[_0x40108b(0x254)]]||[],_0xf70a97=[];_0x5d8672[_0x40108b(0x2b1)](_0x4c783f=>{const _0x4ae80c=_0x40108b;_0xf70a97[_0x4ae80c(0x24b)]({'uuid':_0x3b5e79['kFDUX'](uuidv4),'test_run_uuid':_0x26d416,'timestamp':new Date()[_0x4ae80c(0x2c0)](),'message':'','attachment_url':_0x4c783f,'attachment_type':_0x3b5e79[_0x4ae80c(0x2e3)]});});Array[_0x40108b(0x2b4)](_0x5f4c57)&&_0x5f4c57[_0x40108b(0x2b1)](_0x264c2e=>{const _0x313923=_0x40108b;_0xf70a97[_0x313923(0x24b)]({'uuid':_0x3b5e79[_0x313923(0x1e4)](uuidv4),'test_run_uuid':_0x26d416,'timestamp':new Date()[_0x313923(0x2c0)](),'message':_0x264c2e[_0x313923(0x322)]||'','stack_trace':_0x264c2e['stack']||'','level':_0x3b5e79[_0x313923(0x2fe)]});});if(_0x3b5e79[_0x40108b(0x201)](_0xf70a97[_0x40108b(0x303)],0x0)){logger[_0x40108b(0x238)](_0x40108b(0x2f8)+_0x5d636d);return;}const _0xe34f07=_0x44922e[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]||this[_0x40108b(0x2dc)]()[0x0],_0x4057c8=_0x44922e[TestFrameworkConstants[_0x40108b(0x27b)]]||'',_0x1a434e={'platformIndex':Number[_0x40108b(0x1ed)](_0x1c5aa6)?_0x1c5aa6:Number[_0x40108b(0x1ed)](_0x5533e8[_0x40108b(0x237)])?_0x5533e8[_0x40108b(0x237)]:0x0,'logs':_0xf70a97,'testFrameworkName':_0xe34f07,'testFrameworkVersion':_0x4057c8,'testFrameworkState':_0xb52cde['toString']()[_0x40108b(0x25e)]('.')[0x1]};logger[_0x40108b(0x238)](_0x40108b(0x207)+_0xf70a97[_0x40108b(0x303)]+_0x40108b(0x21c)+_0x5d636d),await GrpcClient[_0x40108b(0x2c5)]()[_0x40108b(0x2a9)](_0x1a434e);}catch(_0x536118){logger[_0x40108b(0x261)](_0x40108b(0x23d)+(_0x536118[_0x40108b(0x1f5)]||_0x536118));}}[a98_0x6ecd1(0x311)](_0x5dd5c4,_0x20e51d){const _0x45ec53=a98_0x6ecd1,_0x277d27={'EkXDv':function(_0x2d5d46){return _0x2d5d46();},'XPJNt':_0x45ec53(0x271)};if(!_0x5dd5c4)return _0x45ec53(0x319)+_0x277d27[_0x45ec53(0x27e)](uuidv4);const _0x224591=_0x5dd5c4[_0x45ec53(0x2b2)]&&_0x5dd5c4[_0x45ec53(0x2b2)][_0x45ec53(0x27a)]||_0x277d27[_0x45ec53(0x2e8)],_0x3114c8=_0x5dd5c4[_0x45ec53(0x2b2)]&&_0x5dd5c4['fixture'][_0x45ec53(0x2d7)]||_0x277d27[_0x45ec53(0x2e8)],_0x212731=_0x5dd5c4[_0x45ec53(0x2d7)]||_0x277d27['XPJNt'],_0x184a64=_0x224591+'::'+_0x3114c8+'::'+_0x212731;return _0x20e51d?_0x184a64+_0x45ec53(0x242)+_0x20e51d:_0x184a64;}[a98_0x6ecd1(0x2c1)](_0x4c6117,_0x1a9330,_0xd6dc35){const _0x1e7f6b=a98_0x6ecd1,_0x42b752=_0x1a9330&&_0x1a9330[_0x1e7f6b(0x2b2)]&&_0x1a9330[_0x1e7f6b(0x2b2)]['path']||'',_0x5993f4=_0x1a9330&&_0x1a9330['fixture']&&_0x1a9330['fixture'][_0x1e7f6b(0x2d7)]||'',_0x2d3b27=_0x1a9330&&_0x1a9330[_0x1e7f6b(0x2d7)]||'',_0x4bc0e0=this[_0x1e7f6b(0x2dc)]()[0x0];return{[TestFrameworkConstants[_0x1e7f6b(0x2a8)]]:_0x4bc0e0,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x1e7f6b(0x310)]()[_0x4bc0e0],[TestFrameworkConstants[_0x1e7f6b(0x26d)]]:_0x4c6117,[TestFrameworkConstants[_0x1e7f6b(0x202)]]:_0x2d3b27,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x42b752,[TestFrameworkConstants[_0x1e7f6b(0x1f9)]]:_0x42b752,[TestFrameworkConstants[_0x1e7f6b(0x26c)]]:_0x5993f4,[TestFrameworkConstants['KEY_TEST_SCOPES']]:[_0x5993f4],[TestFrameworkConstants[_0x1e7f6b(0x315)]]:this[_0x1e7f6b(0x264)](_0x1a9330),[TestFrameworkConstants[_0x1e7f6b(0x29f)]]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0x1e7f6b(0x25f)]]:_0xd6dc35?_0xd6dc35[_0x1e7f6b(0x1e6)]:new Date()[_0x1e7f6b(0x2c0)](),[TestFrameworkConstants[_0x1e7f6b(0x286)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{}};}[a98_0x6ecd1(0x264)](_0x3ac890){const _0x7de193=a98_0x6ecd1,_0x1f4c2b={'vdFmX':function(_0x50221d,_0x25f241){return _0x50221d==_0x25f241;},'nSgmA':function(_0xb852a4,_0x4783c4){return _0xb852a4(_0x4783c4);},'SGcGb':function(_0x5f507f,_0x267249){return _0x5f507f>_0x267249;},'TqviR':function(_0x5b367e,_0x4f226b){return _0x5b367e===_0x4f226b;},'zFVTL':_0x7de193(0x208),'lKaEy':function(_0x179aea,_0x543cfa){return _0x179aea in _0x543cfa;},'mipme':_0x7de193(0x2e7),'SMXlI':function(_0x246f24,_0x15db2e){return _0x246f24 in _0x15db2e;},'pKwEu':_0x7de193(0x230),'xScbs':function(_0x119803,_0x4ad479){return _0x119803===_0x4ad479;},'bLIzh':function(_0x3da794,_0x26715c){return _0x3da794(_0x26715c);}},_0x136ec1=[],_0x24be0a=_0x2a8a65=>{const _0x5ab24b=_0x7de193;if(_0x1f4c2b['vdFmX'](_0x2a8a65,null))return;if(Array[_0x5ab24b(0x2b4)](_0x2a8a65)){_0x2a8a65[_0x5ab24b(0x2b1)](_0x24be0a);return;}const _0x1984c1=_0x1f4c2b[_0x5ab24b(0x2ff)](String,_0x2a8a65)[_0x5ab24b(0x234)]();_0x1f4c2b[_0x5ab24b(0x299)](_0x1984c1[_0x5ab24b(0x303)],0x0)&&_0x136ec1[_0x5ab24b(0x24b)](_0x1984c1);};try{const _0x57fd22=_0x3ac890&&_0x3ac890[_0x7de193(0x223)]||{};_0x57fd22&&_0x1f4c2b['TqviR'](typeof _0x57fd22,_0x1f4c2b[_0x7de193(0x200)])&&(_0x1f4c2b[_0x7de193(0x23c)](_0x1f4c2b[_0x7de193(0x2da)],_0x57fd22)&&_0x1f4c2b['nSgmA'](_0x24be0a,_0x57fd22[_0x7de193(0x2e7)]),_0x1f4c2b[_0x7de193(0x28c)](_0x1f4c2b[_0x7de193(0x2c7)],_0x57fd22)&&_0x1f4c2b[_0x7de193(0x2ff)](_0x24be0a,_0x57fd22[_0x7de193(0x230)]));const _0x256b21=_0x3ac890&&_0x3ac890[_0x7de193(0x2b2)]&&_0x3ac890[_0x7de193(0x2b2)][_0x7de193(0x223)]||{};_0x256b21&&_0x1f4c2b[_0x7de193(0x20c)](typeof _0x256b21,_0x1f4c2b[_0x7de193(0x200)])&&(_0x1f4c2b[_0x7de193(0x23c)](_0x1f4c2b['mipme'],_0x256b21)&&_0x1f4c2b[_0x7de193(0x292)](_0x24be0a,_0x256b21[_0x7de193(0x2e7)]),_0x1f4c2b[_0x7de193(0x23c)](_0x1f4c2b['pKwEu'],_0x256b21)&&_0x1f4c2b[_0x7de193(0x2ff)](_0x24be0a,_0x256b21[_0x7de193(0x230)]));}catch(_0x4371bb){}return Array['from'](new Set(_0x136ec1));}[a98_0x6ecd1(0x1ef)](_0xffdd10){const _0xcc76f3=a98_0x6ecd1,_0x5a5897={};_0x5a5897[_0xcc76f3(0x231)]=function(_0xcc964f,_0x1e968d){return _0xcc964f!==_0x1e968d;},_0x5a5897[_0xcc76f3(0x31a)]=_0xcc76f3(0x2b8);const _0x4eafea=_0x5a5897;if(_0x4eafea[_0xcc76f3(0x231)](typeof _0xffdd10,_0x4eafea[_0xcc76f3(0x31a)]))return _0xffdd10;return _0xffdd10[_0xcc76f3(0x28f)](/\x1b\[[0-9;]*[a-zA-Z]/g,'');}[a98_0x6ecd1(0x297)](_0x202726){const _0x5440c0=a98_0x6ecd1,_0x354143={};_0x354143[_0x5440c0(0x2f1)]=_0x5440c0(0x21e),_0x354143[_0x5440c0(0x228)]=function(_0x45a9fc,_0x1df110){return _0x45a9fc===_0x1df110;},_0x354143['nkIyh']=_0x5440c0(0x2b8),_0x354143['lXhZf']=function(_0x22b13f,_0x123ac9){return _0x22b13f!==_0x123ac9;},_0x354143[_0x5440c0(0x265)]=function(_0x17cc9f,_0x4a871e){return _0x17cc9f===_0x4a871e;},_0x354143[_0x5440c0(0x30f)]=function(_0x490335,_0x21d0b5){return _0x490335===_0x21d0b5;},_0x354143['HYziO']='TestCafeError';const _0x491d7b=_0x354143;if(!_0x202726)return _0x491d7b['DVroz'];if(_0x202726['name']&&_0x491d7b['LFVbQ'](typeof _0x202726[_0x5440c0(0x2d7)],_0x491d7b[_0x5440c0(0x274)])&&_0x491d7b[_0x5440c0(0x210)](_0x202726[_0x5440c0(0x2d7)],_0x491d7b[_0x5440c0(0x2f1)]))return _0x202726[_0x5440c0(0x2d7)];const _0x328aae=_0x491d7b[_0x5440c0(0x265)](typeof _0x202726[_0x5440c0(0x322)],_0x491d7b[_0x5440c0(0x274)])?_0x202726['message']:'',_0x3cc6ec=_0x328aae[_0x5440c0(0x20d)](/^([A-Z][A-Za-z0-9]*Error):/);if(_0x3cc6ec)return _0x3cc6ec[0x1];return _0x202726[_0x5440c0(0x1dd)]&&_0x491d7b[_0x5440c0(0x30f)](typeof _0x202726[_0x5440c0(0x1dd)],_0x491d7b[_0x5440c0(0x274)])?_0x202726[_0x5440c0(0x1dd)]:_0x491d7b[_0x5440c0(0x1da)];}[a98_0x6ecd1(0x268)](_0x5727d5,_0x1b3d87){const _0x397a08=a98_0x6ecd1,_0x1bc434={};_0x1bc434[_0x397a08(0x29b)]=_0x397a08(0x327),_0x1bc434[_0x397a08(0x2d4)]=_0x397a08(0x332),_0x1bc434[_0x397a08(0x281)]=_0x397a08(0x243),_0x1bc434[_0x397a08(0x272)]=_0x397a08(0x2e0),_0x1bc434[_0x397a08(0x1fc)]='skipped',_0x1bc434[_0x397a08(0x212)]=function(_0x28d208,_0x5a31df){return _0x28d208>_0x5a31df;};const _0x32791a=_0x1bc434;if(!_0x1b3d87)return{[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x32791a[_0x397a08(0x29b)],[TestFrameworkConstants['KEY_TEST_DURATION']]:0x0,[TestFrameworkConstants[_0x397a08(0x254)]]:[{'type':_0x32791a[_0x397a08(0x2d4)],'message':_0x32791a[_0x397a08(0x281)],'stack':''}],[TestFrameworkConstants[_0x397a08(0x2cc)]]:_0x32791a[_0x397a08(0x2d4)],[TestFrameworkConstants[_0x397a08(0x2a1)]]:_0x32791a[_0x397a08(0x281)],[TestFrameworkConstants[_0x397a08(0x282)]]:new Date()[_0x397a08(0x2c0)]()};let _0x5e2813=_0x32791a[_0x397a08(0x272)],_0x4a60fe=null,_0x1d11b0=null,_0x15eab1=null;if(_0x1b3d87[_0x397a08(0x2bb)])_0x5e2813=_0x32791a[_0x397a08(0x1fc)];else{if(Array[_0x397a08(0x2b4)](_0x1b3d87[_0x397a08(0x2e6)])&&_0x32791a[_0x397a08(0x212)](_0x1b3d87[_0x397a08(0x2e6)][_0x397a08(0x303)],0x0)){_0x5e2813=_0x32791a['eGhmW'],_0x4a60fe=_0x1b3d87['errs'][_0x397a08(0x259)](_0x1d7cc1=>({'type':this[_0x397a08(0x297)](_0x1d7cc1),'message':this[_0x397a08(0x1ef)](_0x1d7cc1&&_0x1d7cc1[_0x397a08(0x322)]?_0x1d7cc1[_0x397a08(0x322)]:String(_0x1d7cc1)),'stack':this[_0x397a08(0x1ef)](_0x1d7cc1&&_0x1d7cc1[_0x397a08(0x1f5)]?_0x1d7cc1[_0x397a08(0x1f5)]:'')}));const _0x22909b=_0x4a60fe[0x0];_0x1d11b0=_0x22909b['type'],_0x15eab1=_0x22909b[_0x397a08(0x322)];}}const _0x18673d=Array['isArray'](_0x1b3d87['screenshots'])?_0x1b3d87[_0x397a08(0x2f2)][_0x397a08(0x259)](_0x2be8d2=>_0x2be8d2&&_0x2be8d2[_0x397a08(0x32b)])[_0x397a08(0x22f)](Boolean):[];return{[TestFrameworkConstants[_0x397a08(0x29f)]]:_0x5e2813,[TestFrameworkConstants[_0x397a08(0x249)]]:_0x1b3d87[_0x397a08(0x284)]||0x0,[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x4a60fe,[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]:_0x1d11b0,[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]:_0x15eab1,[TestFrameworkConstants[_0x397a08(0x282)]]:new Date()[_0x397a08(0x2c0)](),[TestFrameworkConstants[_0x397a08(0x257)]]:_0x18673d};}async[a98_0x6ecd1(0x278)](_0x29e386,_0x3761a5,_0x4395f5,_0x1a65ed){const _0x299791=a98_0x6ecd1,_0x548372={'vkTMS':_0x299791(0x331),'FpsOw':_0x299791(0x320),'WShDY':_0x299791(0x2e4),'oWnJU':'after_all','brsuT':function(_0x1b81f3,_0x429c91){return _0x1b81f3===_0x429c91;},'dGTqP':function(_0xb108d4){return _0xb108d4();},'hJDpH':function(_0x5065f3,_0x41ce61){return _0x5065f3-_0x41ce61;},'eJpBH':'passed'},_0x5ef6f2=_0x3761a5[_0x299791(0x1e1)]()[_0x299791(0x25e)]('.')[0x1],_0x48d3cc=_0x5ef6f2[_0x299791(0x22c)](),_0x2a6549=_0x48d3cc['startsWith'](_0x548372[_0x299791(0x1db)])?_0x548372[_0x299791(0x2c9)]:_0x48d3cc[_0x299791(0x2ee)](_0x548372[_0x299791(0x25d)])?_0x548372[_0x299791(0x323)]:_0x48d3cc,_0x45beca={};if(_0x548372[_0x299791(0x2e1)](_0x4395f5,HookState[_0x299791(0x1ee)])){const _0x39bd1a=_0x29e386['getAllData']()[_0x299791(0x324)](TestFrameworkConstants[_0x299791(0x269)])||{},_0x503261=Array[_0x299791(0x2b4)](_0x39bd1a[_0x5ef6f2])?_0x39bd1a[_0x5ef6f2]:[],_0x5edc7e=_0x548372[_0x299791(0x1f6)](uuidv4);_0x503261[_0x299791(0x24b)]({'hook_id':_0x5edc7e,'hook_name':_0x5ef6f2,'key':_0x5ef6f2,'hook_type':_0x2a6549,'event_started_at':new Date()['toISOString']()}),_0x39bd1a[_0x5ef6f2]=_0x503261;const _0x541606=_0x29e386[_0x299791(0x1f8)]()['get'](TestFrameworkConstants[_0x299791(0x2fd)])||{};_0x541606[_0x5ef6f2]=_0x5edc7e,_0x45beca[TestFrameworkConstants[_0x299791(0x269)]]=_0x39bd1a,_0x45beca[TestFrameworkConstants[_0x299791(0x2fd)]]=_0x541606;}else{if(_0x548372[_0x299791(0x2e1)](_0x4395f5,HookState[_0x299791(0x26e)])){const _0x1f2a8d=_0x29e386['getAllData']()[_0x299791(0x324)](TestFrameworkConstants[_0x299791(0x2a5)])||{},_0x4e9e5a=Array['isArray'](_0x1f2a8d[_0x5ef6f2])?_0x1f2a8d[_0x5ef6f2]:[],_0x4862bb=_0x29e386[_0x299791(0x1f8)]()['get'](TestFrameworkConstants[_0x299791(0x2fd)])||{},_0x321f69=_0x29e386[_0x299791(0x1f8)]()[_0x299791(0x324)](TestFrameworkConstants['KEY_HOOKS_STARTED'])||{},_0x2e4116=Array[_0x299791(0x2b4)](_0x321f69[_0x5ef6f2])?_0x321f69[_0x5ef6f2][_0x548372[_0x299791(0x2e9)](_0x321f69[_0x5ef6f2][_0x299791(0x303)],0x1)]:null,_0x45f8cf=_0x4862bb&&_0x4862bb[_0x5ef6f2]||_0x2e4116&&_0x2e4116['hook_id']||_0x548372[_0x299791(0x1f6)](uuidv4);_0x4e9e5a[_0x299791(0x24b)]({'hook_id':_0x45f8cf,'hook_name':_0x5ef6f2,'key':_0x5ef6f2,'hook_type':_0x2a6549,'event_started_at':_0x2e4116?_0x2e4116['event_started_at']:new Date()[_0x299791(0x2c0)](),'event_ended_at':new Date()['toISOString'](),'hook_result':_0x548372[_0x299791(0x219)]}),_0x1f2a8d[_0x5ef6f2]=_0x4e9e5a,_0x45beca[TestFrameworkConstants[_0x299791(0x2a5)]]=_0x1f2a8d;}}return _0x45beca;}}module[a98_0x6ecd1(0x29c)]=TestCafeTestFramework;