browserstack-node-sdk 1.64.0 → 1.64.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (218) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  56. package/src/bin/jasmine/command.js +1 -1
  57. package/src/bin/jasmine/test.setup.js +1 -1
  58. package/src/bin/jasmine/testRunMap.js +1 -1
  59. package/src/bin/jest/command.js +1 -1
  60. package/src/bin/jest/customImplements/customCircus.js +1 -1
  61. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  62. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  63. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  64. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  65. package/src/bin/jest/jest.setup.js +1 -1
  66. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  67. package/src/bin/jest/test-observability/helper.js +1 -1
  68. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  69. package/src/bin/jest/test-observability/test-details.js +1 -1
  70. package/src/bin/jest/test.setup.js +1 -1
  71. package/src/bin/jest/test_before.setup.js +1 -1
  72. package/src/bin/launcher/launcher.js +1 -1
  73. package/src/bin/load/index.js +1 -1
  74. package/src/bin/load/loadErrors.js +1 -1
  75. package/src/bin/load/loadUtils.js +1 -1
  76. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  77. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  78. package/src/bin/mocha/command.js +1 -1
  79. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  80. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  81. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  82. package/src/bin/mocha/test.setup.js +1 -1
  83. package/src/bin/newman/command.js +1 -1
  84. package/src/bin/newman/helper.js +1 -1
  85. package/src/bin/newman/reporter/index.js +1 -1
  86. package/src/bin/newman/scriptRunner.js +1 -1
  87. package/src/bin/nightwatch/command.js +1 -1
  88. package/src/bin/playwright/accessibility-helper.js +1 -1
  89. package/src/bin/playwright/command.js +1 -1
  90. package/src/bin/playwright/globalSetup.js +1 -1
  91. package/src/bin/playwright/mock-process.js +1 -1
  92. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  93. package/src/bin/playwright/patches.js +1 -1
  94. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  95. package/src/bin/playwright/reporter/reporter.js +1 -1
  96. package/src/bin/playwright/reporter/test-details.js +1 -1
  97. package/src/bin/playwright/sessionDetails.js +1 -1
  98. package/src/bin/puppeteer/patches.js +1 -1
  99. package/src/bin/puppeteer/sessionDetails.js +1 -1
  100. package/src/bin/puppeteer/test.setup.js +1 -1
  101. package/src/bin/runner.js +1 -1
  102. package/src/bin/setup.js +1 -1
  103. package/src/bin/test-runner/index.js +1 -1
  104. package/src/bin/test-runner/runTest.js +1 -1
  105. package/src/bin/test-runner/testWorker.js +1 -1
  106. package/src/bin/testcafe/a11y-runner.js +1 -1
  107. package/src/bin/testcafe/command.js +1 -1
  108. package/src/bin/testcafe/reporter/index.js +1 -1
  109. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  110. package/src/bin/testcafe/session-registry.js +1 -1
  111. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  112. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  113. package/src/bin/testcafe/w3c-driver.js +1 -1
  114. package/src/bin/utils/apiUtilityMethods.js +1 -1
  115. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  116. package/src/bin/utils/constants.js +1 -1
  117. package/src/bin/utils/log4jsAppender.js +1 -1
  118. package/src/bin/utils/logPatcher.js +1 -1
  119. package/src/bin/utils/logReportingAPI.js +1 -1
  120. package/src/bin/utils/playwright-patcher.js +1 -1
  121. package/src/bin/utils/puppeteer-patcher.js +1 -1
  122. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  123. package/src/bin/utils/sharedUtils.js +1 -1
  124. package/src/bin/v2/TestInfo.js +1 -1
  125. package/src/bin/v2/browserstackCLI.js +1 -1
  126. package/src/bin/v2/cliUtils.js +1 -1
  127. package/src/bin/v2/customTagManager.js +1 -1
  128. package/src/bin/v2/eventDispatcher.js +1 -1
  129. package/src/bin/v2/framework/automationFramework.js +1 -1
  130. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  131. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  132. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  133. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  134. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  135. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  136. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  137. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  138. package/src/bin/v2/framework/testFramework.js +1 -1
  139. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  140. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  141. package/src/bin/v2/grpcClient.js +1 -1
  142. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  143. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  144. package/src/bin/v2/instances/trackedContext.js +1 -1
  145. package/src/bin/v2/instances/trackedInstance.js +1 -1
  146. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  147. package/src/bin/v2/modules/baseModule.js +1 -1
  148. package/src/bin/v2/modules/loadTestModule.js +1 -1
  149. package/src/bin/v2/modules/observabilityModule.js +1 -1
  150. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  151. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  152. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  153. package/src/bin/v2/modules/testhubModule.js +1 -1
  154. package/src/bin/v2/sdkErrorHandler.js +1 -1
  155. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  156. package/src/bin/v2/state/hookState.js +1 -1
  157. package/src/bin/v2/state/testFrameworkState.js +1 -1
  158. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  159. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  160. package/src/bin/v2/utils/jest-utils.js +1 -1
  161. package/src/bin/vanilla-js/command.js +1 -1
  162. package/src/browserStackSdk.js +1 -1
  163. package/src/helpers/BrowserStackSetup.js +1 -1
  164. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  165. package/src/helpers/accessibility-automation/constants.js +1 -1
  166. package/src/helpers/accessibility-automation/helper.js +1 -1
  167. package/src/helpers/accessibility-automation/scripts.js +1 -1
  168. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  169. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  170. package/src/helpers/ats/constants.js +1 -1
  171. package/src/helpers/ats/helper.js +1 -1
  172. package/src/helpers/caCertHelper.js +1 -1
  173. package/src/helpers/capsMapping.js +1 -1
  174. package/src/helpers/central-scanner/constants.js +1 -1
  175. package/src/helpers/central-scanner/helpers.js +1 -1
  176. package/src/helpers/classLogger.js +1 -1
  177. package/src/helpers/driverInitErrorReporter.js +1 -1
  178. package/src/helpers/globals.js +1 -1
  179. package/src/helpers/helper.js +1 -1
  180. package/src/helpers/logger.js +1 -1
  181. package/src/helpers/metadata.js +1 -1
  182. package/src/helpers/patchHelper.js +1 -1
  183. package/src/helpers/patchHelpers.js +1 -1
  184. package/src/helpers/percy/Percy.js +1 -1
  185. package/src/helpers/percy/PercyBinary.js +1 -1
  186. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  187. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  188. package/src/helpers/percy/PercySDK.js +1 -1
  189. package/src/helpers/percy/index.js +1 -1
  190. package/src/helpers/percy/utils.js +1 -1
  191. package/src/helpers/performance/constants.js +1 -1
  192. package/src/helpers/performance/performance-tester.js +1 -1
  193. package/src/helpers/playwright-helper.js +1 -1
  194. package/src/helpers/processHelper.js +1 -1
  195. package/src/helpers/puppeteer-helper.js +1 -1
  196. package/src/helpers/request-spy.js +1 -1
  197. package/src/helpers/setKeepAlive.js +1 -1
  198. package/src/helpers/stackFrameUtils.js +1 -1
  199. package/src/helpers/test-observability/constants.js +1 -1
  200. package/src/helpers/test-observability/error-handler.js +1 -1
  201. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  202. package/src/helpers/test-observability/sessionHandler.js +1 -1
  203. package/src/helpers/test-observability/utils.js +1 -1
  204. package/src/helpers/test-orchestration/constants.js +1 -1
  205. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  206. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  207. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  208. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  209. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  210. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  211. package/src/helpers/testhub/constants.js +1 -1
  212. package/src/helpers/testhub/testhubHandler.js +1 -1
  213. package/src/helpers/testhub/utils.js +1 -1
  214. package/src/helpers/timeoutPromise.js +1 -1
  215. package/src/helpers/utilities.js +1 -1
  216. package/src/helpers/w3cMapping.js +1 -1
  217. package/src/hubAllocationMethods.js +1 -1
  218. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a95_0x2aed(_0x27210f,_0x222c9f){const _0x515f34=a95_0x515f();return a95_0x2aed=function(_0x2aed26,_0x24dccf){_0x2aed26=_0x2aed26-0x9d;let _0x584e05=_0x515f34[_0x2aed26];return _0x584e05;},a95_0x2aed(_0x27210f,_0x222c9f);}const a95_0x2f7196=a95_0x2aed;function a95_0x515f(){const _0x1ffdb7=['path','getProcessId','NTODT','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','KEY_EVENT_STARTED_AT','pTIaG','passed','browserstackPlatformIndex','16188HeWFNV','KEY_TEST_UUID','getTrackedInstance','executionContext','lvUfW','OhnHQ','KEY_LOGS','gFEpY','fXfJa','KEY_TEST_TAGS','HQtgl','./constants/testFrameworkConstants.js','eSZRl','VOoNC','sendLogCreatedEvent\x20for\x20testId:\x20','../TestInfo.js','../customTagManager','zKvGS','../../utils/constants','FVGcZ','\x20response=','error','6AeHvZE','slJXt','xkjYt','DEFAULT_HOOK_RESULT','expectedStatus','RxlPx','slow','../../../helpers/classLogger.js','logs','parsePlaywrightTestResult:\x20extracted\x20','INIT_TEST','3JGXdUf','TKEKP','addMultipleEntries','nGBqy','\x20and\x20args\x20=\x20','OIIys','QbmKi','\x20payload=','length','KEY_TEST_FILE_PATH','createTestFrameworkEventPayload','util','setTrackedInstance','basename','KEY_TEST_FRAMEWORK_NAME','getTestUUID','getId','KEY_TEST_FAILURE_TYPE','instance','KEY_HOOK_NAME','PNqFg','getCurrentInstanceName','KEY_TEST_FRAMEWORK_VERSION','KEY_AUTOMATE_SESSION_NAME','description','KEY_CUSTOM_TAGS','failed','KEY_TEST_FAILURE_REASON','No\x20reason\x20provided','getCurrentHookState','pWyNE','YwQxy','dvSpk','duration','../../../helpers/test-observability/utils','TuLJX','KEY_HOOK_ID','KEY_TEST_RESULT','from','KEY_TEST_SCOPES','getRef','testUId','set','trackPlaywrightInstance','5311208xYLjkg','stack','jevFg','exports','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','getTestDetails','has','Error\x20in\x20createTestFrameworkEventPayload:\x20','TEST_SCREENSHOT','\x20step=\x22','hTpDU','KEY_HOOK_RESULT','CvZYO','31880YNeMup','filePath','KEY_HOOK_FAILURE','KEY_TEST_ENDED_AT','KEY_HOOKS_FINISHED','440721GLJlYZ','setTestDetails','unQrT','KEY_TEST_META','keyword','jPxAK','19945loslzA','CIkra','timedOut','UxuiG','vWfLE','TEST_STEP','getThreadId','KEY_TEST_STARTED_AT','pioeC','hook','matchHookRegex','KEY_TEST_ID','status','parallelIndex','KEY_TEST_NAME','base64','format','KEY_HOOK_FAILURE_TYPE','tWHjG','annotations','forEach','Error\x20in\x20sendLogCreatedEvent:\x20','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','KEY_TEST_ATTACHMENTS','HqgZL','\x20instance=','TEST','\x20steps\x20for\x20testId=','size','EeTtC','toString','JvHmH','XbbKr','FDQbH','hvoYD',',\x20state=','OyhEy','lTXiN','QwjIR','POST','lJjxN','message','../cliUtils.js','resolveInstance','trackStepEvent','../../../../src/helpers/helper','parsePlaywrightTest','Error\x20processing\x20trace\x20file\x20','ZcdqM','Expected\x20to\x20fail,\x20but\x20passed.','9rMdpkd','tPBEF','failure','\x20\x20and\x20args\x20=\x20','rwMpG','WcZcl','createContext','\x20batch\x20','slice','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','startTime','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','KEY_TEST_CODE','../../../helpers/helper.js','556ucbkEJ','MBbhK','EfMyM','KEY_TEST_LOGS','RBRzs','kkncs','\x20instanceId=','\x20&\x20hook\x20=\x20','STEai','skip','retry','../../playwright/reporter/pwUtils','aQVKb','3719471gzqtAR','getContext','step','NONE','parsePlaywrightTestResult','getAllData','split','err','started_at','logCreatedEvent','PRE','KEY_HOOKS_STARTED','trackStepEvent:\x20exception=','pCeMY','bBsVP','runHooks','JIaEU','title','getInstance','toISOString','sendLogCreatedEvent:\x20testId=','WLCzZ','attachments','getTime','mergeIntoTags','uuid','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','\x20hookState=','info','result','debug','KEY_HOOK_LAST_STARTED','zVZQB','push','LCTAw','startedAt','oUtDr','\x20target=','../state/hookState.js','Error\x20processing\x20direct\x20trace\x20file\x20','joBbS','Hook\x20List\x20in\x20Post\x20','KEY_TEST_LOCATION','trackHookEvent','statSync','steps','test','get','../grpcClient','\x20result=','zDIOI','getCurrentTestState','sendLogCreatedEvent','errors','stringify','ohZFx','BgyyC','concat','./testFramework','text','\x20from\x20TestDetails:\x20','../state/testFrameworkState.js','trackEvent','\x20hookState:\x20','1065622dQjwZO','cyMCR','qKOqm','MAX_NESTED_STEP_DEPTH','inspect','YsLsC','7403JsJLmI','fixme','parent_id','../instances/trackedInstance.js','pop','createTestFrameworkEventPayload\x20testId:\x20','testFrameworkName','\x20testHookState=','skipped','getTestFrameworks','uMRfQ','filter','trim','file_name','XhryI'];a95_0x515f=function(){return _0x1ffdb7;};return a95_0x515f();}(function(_0x57d30b,_0x52fa59){const _0x547c11=a95_0x2aed,_0x581935=_0x57d30b();while(!![]){try{const _0x54b5fa=-parseInt(_0x547c11(0x173))/0x1+parseInt(_0x547c11(0xf7))/0x2*(-parseInt(_0x547c11(0x135))/0x3)+parseInt(_0x547c11(0xaa))/0x4*(parseInt(_0x547c11(0x179))/0x5)+parseInt(_0x547c11(0x12a))/0x6*(parseInt(_0x547c11(0xb7))/0x7)+parseInt(_0x547c11(0x161))/0x8*(-parseInt(_0x547c11(0x1ab))/0x9)+parseInt(_0x547c11(0x16e))/0xa+-parseInt(_0x547c11(0xfd))/0xb*(-parseInt(_0x547c11(0x114))/0xc);if(_0x54b5fa===_0x52fa59)break;else _0x581935['push'](_0x581935['shift']());}catch(_0x3d7f4d){_0x581935['push'](_0x581935['shift']());}}}(a95_0x515f,0x57c20));const TestFramework=require(a95_0x2f7196(0xf1)),TestFrameworkState=require(a95_0x2f7196(0xf4)),HookState=require(a95_0x2f7196(0xdd)),{createClassLogger}=require(a95_0x2f7196(0x131)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a95_0x2f7196(0x1a3)),TrackedInstance=require(a95_0x2f7196(0x100)),TestFrameworkConstants=require(a95_0x2f7196(0x11f)),logger=createClassLogger('PlaywrightTestFramework'),{v4:uuidv4}=require(a95_0x2f7196(0xd0)),util=require(a95_0x2f7196(0x140)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a95_0x2f7196(0xa9)),TestInfo=require(a95_0x2f7196(0x123)),GrpcClient=require(a95_0x2f7196(0xe7)),{removeAnsiColors,getFailureType,failureData}=require(a95_0x2f7196(0x157)),{getFailureData,getTestTags,getTestRunIdentifier}=require('../../playwright/reporter/pwUtils'),{findNestedKey,sendTraceZip,validateFilePath}=require(a95_0x2f7196(0xb5)),path=require(a95_0x2f7196(0x10c)),fs=require('fs'),helper=require(a95_0x2f7196(0x1a6)),{PLAYWRIGHT_TRACE_LOGS}=require(a95_0x2f7196(0x126)),PLAYWRIGHT_BUILTIN_ANNOTATIONS=new Set([a95_0x2f7196(0xb3),a95_0x2f7196(0xfe),a95_0x2f7196(0x130),'fail']);class PlaywrightTestFramework extends TestFramework{constructor(_0x136daf,_0x510d0e,_0x47fab3){super(_0x136daf,_0x510d0e,_0x47fab3);}async[a95_0x2f7196(0xf5)](_0x4e924a,_0x5f5b74,_0x49cbc3={}){const _0x9bb904=a95_0x2f7196,_0x433b78={'HqgZL':function(_0x50d8bb,_0x2ad2d6){return _0x50d8bb===_0x2ad2d6;},'fXfJa':function(_0x1ccf72,_0x24c2a0){return _0x1ccf72===_0x24c2a0;},'CDLoG':function(_0x203bb8,_0x2c4000,_0xbe8a5c){return _0x203bb8(_0x2c4000,_0xbe8a5c);},'rwMpG':function(_0x1e778f,_0x56c0aa,_0x268378){return _0x1e778f(_0x56c0aa,_0x268378);},'tPBEF':function(_0xa458cc,_0x3e4781,_0x43a6f3,_0x41cccc){return _0xa458cc(_0x3e4781,_0x43a6f3,_0x41cccc);},'YwQxy':_0x9bb904(0xe5),'Grsls':'trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s'};super['trackEvent'](_0x4e924a,_0x5f5b74,_0x49cbc3);if(_0x433b78[_0x9bb904(0x191)](_0x4e924a,TestFrameworkState[_0x9bb904(0x169)])){const _0x17ed74=TestInfo['getTestIdentifierFromTestInfo'](_0x49cbc3[_0x9bb904(0xe5)],_0x49cbc3[_0x9bb904(0xe5)][_0x9bb904(0xb4)]);TestInfo[_0x9bb904(0x174)](_0x17ed74,_0x49cbc3['result'],!![]);}if(_0x433b78[_0x9bb904(0x11c)](_0x4e924a,TestFrameworkState[_0x9bb904(0x17e)])){this[_0x9bb904(0x1a5)](_0x4e924a,_0x5f5b74,_0x49cbc3);return;}const _0x5bba1b=this[_0x9bb904(0x1a4)](_0x4e924a,_0x5f5b74,_0x49cbc3);if(!_0x5bba1b)return;logger['debug']('trackEvent:\x20found\x20instance,\x20testFrameworkState='+_0x4e924a+'\x20hookState='+_0x5f5b74+_0x9bb904(0xb0)+_0x5bba1b[_0x9bb904(0x15d)]());try{if(_0x433b78['fXfJa'](_0x5f5b74,HookState[_0x9bb904(0xc1)])&&_0x433b78[_0x9bb904(0x191)](_0x4e924a,TestFrameworkState[_0x9bb904(0x193)])){const _0x166a15=_0x49cbc3[_0x9bb904(0xe5)];logger[_0x9bb904(0xd5)](_0x9bb904(0xa7)+_0x166a15['id']+'}');const _0x3b8986=TestInfo[_0x9bb904(0x144)](_0x433b78['CDLoG'](getTestRunIdentifier,_0x166a15,_0x49cbc3[_0x9bb904(0xd4)]['retry']));_0x5bba1b[_0x9bb904(0x137)](this[_0x9bb904(0x1a7)](_0x3b8986,_0x166a15,_0x49cbc3['result'])),logger[_0x9bb904(0xd5)](_0x9bb904(0x10f)+_0x166a15['id']+',\x20testFrameworkState='+_0x4e924a+_0x9bb904(0x104)+_0x5f5b74+_0x9bb904(0x192)+_0x5bba1b['getRef']());}if(_0x433b78[_0x9bb904(0x11c)](_0x5f5b74,HookState[_0x9bb904(0x1a0)])&&_0x433b78[_0x9bb904(0x191)](_0x4e924a,TestFrameworkState[_0x9bb904(0x193)])){const _0x45b236=_0x49cbc3[_0x9bb904(0xe5)],_0x2a9448=_0x49cbc3[_0x9bb904(0xd4)];logger[_0x9bb904(0xd5)](_0x9bb904(0xd1)+_0x45b236['id']);const _0x511288=_0x433b78[_0x9bb904(0xa0)](getTestRunIdentifier,_0x45b236,_0x2a9448[_0x9bb904(0xb4)]),_0x13ec8f=_0x5bba1b[_0x9bb904(0xbc)]()['get'](_0x511288)[TestFrameworkConstants['KEY_TEST_UUID']],{steps:_0x1d294c,logs:_0x5750e8}=_0x433b78[_0x9bb904(0x9d)](getStepsAndLogs,_0x2a9448[_0x9bb904(0xe4)],_0x13ec8f,_0x433b78[_0x9bb904(0x154)]);_0x5bba1b[_0x9bb904(0x137)](this['parsePlaywrightTestResult'](_0x45b236['id'],_0x2a9448,_0x45b236,_0x1d294c)),await this[_0x9bb904(0xeb)](_0x5bba1b,_0x4e924a,_0x5f5b74,_0x433b78[_0x9bb904(0x154)],_0x49cbc3,_0x5750e8);}if(CLIUtils[_0x9bb904(0x183)](_0x4e924a[_0x9bb904(0x197)]()[_0x9bb904(0xbd)]('.')[0x1])){const _0x3c14dc=await this['trackHookEvent'](_0x5bba1b,_0x4e924a,_0x5f5b74,_0x49cbc3);_0x5bba1b[_0x9bb904(0x137)](_0x3c14dc);}}catch(_0x3f21bf){logger[_0x9bb904(0x129)](util[_0x9bb904(0x189)](_0x433b78['Grsls'],_0x4e924a,_0x5f5b74,_0x49cbc3[_0x9bb904(0x13d)],_0x3f21bf));}_0x49cbc3[_0x9bb904(0x147)]=_0x5bba1b,await this[_0x9bb904(0xc6)](_0x5bba1b,_0x4e924a,_0x5f5b74,_0x49cbc3);}['resolveInstance'](_0x17f0ee,_0x36a835,_0x4eaaed={}){const _0x422720=a95_0x2f7196,_0x318dc1={};_0x318dc1[_0x422720(0xc4)]=function(_0x5ef18f,_0x1749f4){return _0x5ef18f===_0x1749f4;},_0x318dc1[_0x422720(0x18b)]=function(_0x337398,_0x3a0fde){return _0x337398===_0x3a0fde;};const _0x99615=_0x318dc1;let _0x3a5e2c=null;return(_0x99615[_0x422720(0xc4)](_0x17f0ee,TestFrameworkState[_0x422720(0x134)])||_0x99615[_0x422720(0x18b)](_0x17f0ee,TestFrameworkState[_0x422720(0xba)]))&&this[_0x422720(0x160)](_0x17f0ee,_0x4eaaed),_0x3a5e2c=TestFramework[_0x422720(0x116)](),_0x3a5e2c;}[a95_0x2f7196(0x160)](_0x13ab3f,_0x42645d){const _0x24576d=a95_0x2f7196,_0x4d8825=CLIUtils[_0x24576d(0x14a)](),_0x2ee6bb=TrackedInstance[_0x24576d(0xa2)](_0x4d8825);let _0x1ccf87=null;logger[_0x24576d(0xd3)](_0x24576d(0x165)+_0x4d8825+_0x24576d(0x19c)+_0x13ab3f),_0x1ccf87=new TestFrameworkInstance(_0x2ee6bb,this[_0x24576d(0x106)](),this['getTestFrameworksVersions'](),_0x13ab3f,HookState[_0x24576d(0xba)]),TestFramework[_0x24576d(0x141)](_0x2ee6bb,_0x1ccf87),logger['info'](_0x24576d(0xa5)+_0x2ee6bb[_0x24576d(0x145)]()+_0x24576d(0xdc)+_0x4d8825);}['parsePlaywrightTest'](_0x5b5f2a,_0x7e760b,_0x1e1fcb){const _0x4be1d9=a95_0x2f7196,_0x8663f2={'kkncs':function(_0x3cef12,_0x12ed0c){return _0x3cef12(_0x12ed0c);},'RxlPx':function(_0x40b0b1,_0x133214){return _0x40b0b1(_0x133214);},'XhryI':function(_0x56fc1a,_0xd403f7){return _0x56fc1a(_0xd403f7);},'BgyyC':function(_0x1f88e4,_0x580edc){return _0x1f88e4(_0x580edc);},'QwjIR':function(_0x36c213,_0xea7d87){return _0x36c213(_0xea7d87);},'NTODT':function(_0x1f6d38,_0x3b799f){return _0x1f6d38(_0x3b799f);},'pioeC':function(_0x183093,_0x46e050,_0x180c92){return _0x183093(_0x46e050,_0x180c92);},'ZFUxf':function(_0x307e88,_0x1d0627){return _0x307e88(_0x1d0627);}},_0x29bf27=_0x8663f2[_0x4be1d9(0xaf)](getPlaywrightTestId,_0x7e760b),_0x27f7c3=_0x8663f2[_0x4be1d9(0x12f)](getPlaywrightTestTitle,_0x7e760b),_0x2e5084=_0x8663f2[_0x4be1d9(0x10b)](getTestTags,_0x7e760b),_0x36d142=_0x8663f2[_0x4be1d9(0xef)](getPlaywrightTestCode,_0x7e760b),_0x1e3fbd=_0x8663f2[_0x4be1d9(0x19f)](getPlaywrightTestFilePath,_0x7e760b),_0x4c1ccf=_0x1e3fbd,_0x307e09=_0x8663f2[_0x4be1d9(0x10e)](getPlaywrightTestScope,_0x7e760b),_0x2a3c8b=_0x8663f2['RxlPx'](getPlaywrightTestScopes,_0x7e760b),_0x1a81f6=_0x8663f2['NTODT'](getPlaywrightSessionName,_0x7e760b),_0x26b053=this[_0x4be1d9(0x106)]()[0x0],_0x37a4f0=_0x8663f2[_0x4be1d9(0x181)](getTestRunIdentifier,_0x7e760b,_0x1e1fcb['retry']),_0x137d07={[TestFrameworkConstants[_0x4be1d9(0x143)]]:_0x26b053,[TestFrameworkConstants[_0x4be1d9(0x14b)]]:this['getTestFrameworksVersions']()[_0x26b053],[TestFrameworkConstants[_0x4be1d9(0xad)]]:[],[TestFrameworkConstants[_0x4be1d9(0x172)]]:{},[TestFrameworkConstants[_0x4be1d9(0xc2)]]:{},[TestFrameworkConstants[_0x4be1d9(0x115)]]:_0x5b5f2a,[TestFrameworkConstants[_0x4be1d9(0x15a)]]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0x4be1d9(0x14c)]]:_0x1a81f6,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x1e3fbd,[TestFrameworkConstants[_0x4be1d9(0x184)]]:_0x29bf27,[TestFrameworkConstants[_0x4be1d9(0x187)]]:_0x27f7c3,[TestFrameworkConstants[_0x4be1d9(0xe1)]]:_0x4c1ccf,[TestFrameworkConstants[_0x4be1d9(0xa8)]]:_0x36d142,[TestFrameworkConstants[_0x4be1d9(0x11d)]]:_0x2e5084,[TestFrameworkConstants[_0x4be1d9(0x180)]]:_0x7e760b['results'][0x0][_0x4be1d9(0xa6)],[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x307e09,[TestFrameworkConstants[_0x4be1d9(0x15c)]]:_0x2a3c8b,[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0x8663f2['ZFUxf'](getPlaywrightCustomRerunParam,_0x7e760b)};TestInfo[_0x4be1d9(0x174)](_0x37a4f0,_0x137d07);const _0x1ddbe9={};return _0x1ddbe9[_0x37a4f0]=_0x137d07,_0x1ddbe9;}[a95_0x2f7196(0xbb)](_0x36df5a,_0x5f7091,_0x8df164,_0x308c5e){const _0x52e459=a95_0x2f7196,_0x34312a={'MGMuz':function(_0x5e9bd6,_0x24f0f9){return _0x5e9bd6(_0x24f0f9);},'WcZcl':'TEST_ATTACHMENT','pWyNE':function(_0x534b43,_0x3e55a0){return _0x534b43===_0x3e55a0;},'UxuiG':function(_0x20da3c,_0xc045e2){return _0x20da3c===_0xc045e2;},'fRfHb':function(_0xd503f0,_0x5b8ece){return _0xd503f0(_0x5b8ece);},'eSZRl':_0x52e459(0x151),'RBRzs':function(_0x35d408,_0x11b410){return _0x35d408(_0x11b410);},'STEai':function(_0x39ba09,_0x59d929,_0x4e0982){return _0x39ba09(_0x59d929,_0x4e0982);},'XbbKr':_0x52e459(0x105),'LCTAw':_0x52e459(0x112),'JvHmH':function(_0x37f01b,_0x155f90){return _0x37f01b===_0x155f90;},'nGBqy':_0x52e459(0x14f),'hvoYD':_0x52e459(0x17b),'qKOqm':function(_0x45c7f6,_0x332023){return _0x45c7f6===_0x332023;},'oUtDr':_0x52e459(0x1aa),'joBbS':function(_0x426fbe,_0x5ae1ae,_0x12de48){return _0x426fbe(_0x5ae1ae,_0x12de48);},'OpdXR':function(_0x52c697,_0x218ddd){return _0x52c697||_0x218ddd;},'jPxAK':function(_0x442425,_0x3c10e4){return _0x442425(_0x3c10e4);},'lvUfW':function(_0x5ece68,_0x561223){return _0x5ece68(_0x561223);},'ZcdqM':function(_0x3165f5,_0x3c74b8){return _0x3165f5>_0x3c74b8;},'WLCzZ':function(_0x2d3a98,_0x3ab6fe,_0x4394a0){return _0x2d3a98(_0x3ab6fe,_0x4394a0);},'TKEKP':function(_0xfaa681,_0x22786e){return _0xfaa681-_0x22786e;},'PNqFg':function(_0x13282e,_0x3ccb71,_0x22a35e,_0x423987){return _0x13282e(_0x3ccb71,_0x22a35e,_0x423987);},'EfMyM':_0x52e459(0xe5),'unQrT':function(_0x695fe1,_0x486ddb){return _0x695fe1>=_0x486ddb;},'OyhEy':function(_0x10f29a,_0x364291){return _0x10f29a===_0x364291;},'FVGcZ':function(_0x3db051,_0x320e57){return _0x3db051+_0x320e57;},'slJXt':function(_0x5de74b,_0x4be31f){return _0x5de74b>_0x4be31f;},'vWfLE':function(_0x20ef44,_0x5bc372,_0x56cfbe){return _0x20ef44(_0x5bc372,_0x56cfbe);},'jevFg':_0x52e459(0x10c),'uMRfQ':function(_0xa8c18c,_0x595be9){return _0xa8c18c(_0x595be9);},'gFEpY':function(_0x167b2e,_0x28dba6,_0x3e2c8f){return _0x167b2e(_0x28dba6,_0x3e2c8f);},'oWpwf':function(_0x4f80ad,_0xf401f9){return _0x4f80ad>_0xf401f9;},'jBCML':function(_0x6beb7b,_0x5d2cbf){return _0x6beb7b(_0x5d2cbf);},'OIIys':_0x52e459(0x124)};logger[_0x52e459(0xd5)]('parsePlaywrightTestResult:\x20testId='+_0x36df5a);const _0x1387bd=_0x34312a[_0x52e459(0xb2)](getTestRunIdentifier,_0x8df164,_0x5f7091[_0x52e459(0xb4)]),_0x186c16=new Date(),_0x36de65=_0x5f7091['status'],_0x2899f6=TestInfo[_0x52e459(0x166)](_0x1387bd)[TestFrameworkConstants[_0x52e459(0x14e)]]||{};let _0x1ff8cf=_0x36de65;if(_0x34312a['UxuiG'](_0x5f7091[_0x52e459(0x185)],_0x8df164[_0x52e459(0x12e)]))_0x1ff8cf=_0x34312a[_0x52e459(0x17c)](_0x5f7091[_0x52e459(0x185)],_0x34312a[_0x52e459(0x199)])?_0x34312a['XbbKr']:_0x34312a['LCTAw'];else{(_0x34312a[_0x52e459(0x198)](_0x1ff8cf,_0x34312a[_0x52e459(0xd9)])||_0x34312a[_0x52e459(0x153)](_0x1ff8cf,_0x34312a[_0x52e459(0x138)])||_0x34312a[_0x52e459(0x153)](_0x1ff8cf,_0x34312a[_0x52e459(0x19b)]))&&(_0x1ff8cf=_0x34312a['nGBqy']);if(_0x34312a['UxuiG'](_0x5f7091[_0x52e459(0x185)],_0x34312a[_0x52e459(0xd9)])&&_0x34312a[_0x52e459(0xf9)](_0x8df164['expectedStatus'],_0x34312a[_0x52e459(0x138)])){const _0x18d8c2={};_0x18d8c2['message']=_0x34312a[_0x52e459(0xdb)],_0x18d8c2[_0x52e459(0x162)]=_0x34312a[_0x52e459(0xdb)],_0x5f7091[_0x52e459(0x129)]=_0x18d8c2,_0x5f7091['errors']=[_0x5f7091['error']];}}const {failureData:_0x3ce39a,logs:_0x2ac0c6}=_0x34312a[_0x52e459(0xdf)](getFailureData,_0x5f7091?.[_0x52e459(0xec)],{}),_0x596a8f={[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x34312a['OpdXR'](_0x3ce39a,null),[TestFrameworkConstants[_0x52e459(0x146)]]:_0x5f7091?.['error']&&_0x34312a[_0x52e459(0x178)](getFailureType,_0x5f7091[_0x52e459(0x129)]['message']),[TestFrameworkConstants[_0x52e459(0x150)]]:_0x5f7091?.[_0x52e459(0x129)]&&_0x34312a[_0x52e459(0x118)](removeAnsiColors,_0x5f7091[_0x52e459(0x129)][_0x52e459(0x1a2)]),[TestFrameworkConstants[_0x52e459(0x11a)]]:[],[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x1ff8cf,[TestFrameworkConstants[_0x52e459(0x171)]]:_0x186c16[_0x52e459(0xca)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0x52e459(0xca)](),[TestFrameworkConstants[_0x52e459(0x14e)]]:_0x2899f6};if(_0x5f7091&&_0x34312a[_0x52e459(0x1a9)](_0x5f7091[_0x52e459(0xb4)],0x0)){const _0x29be55=TestInfo[_0x52e459(0x144)](_0x34312a[_0x52e459(0xcc)](getTestRunIdentifier,_0x8df164,_0x34312a[_0x52e459(0x136)](_0x5f7091[_0x52e459(0xb4)],0x1)));_0x596a8f[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x29be55;}const _0x47d0ba={};_0x47d0ba['test']=_0x8df164;const _0x5d6483=this[_0x52e459(0x1a4)](TestFrameworkState[_0x52e459(0x193)],HookState[_0x52e459(0x1a0)],_0x47d0ba),_0x34502d=_0x5d6483[_0x52e459(0xbc)]()[_0x52e459(0xe6)](_0x1387bd)[TestFrameworkConstants['KEY_TEST_UUID']],_0x41f8df=_0x308c5e||_0x34312a[_0x52e459(0x149)](getStepsAndLogs,_0x5f7091['steps'],_0x34502d,_0x34312a[_0x52e459(0xac)])[_0x52e459(0xe4)],_0xe0559f=new Map(),_0x3c34da=new Map();let _0xc9bbf5=0x0;const _0x1f1301=[];for(const _0x94f762 of _0x41f8df||[]){const _0x51205c=_0x94f762[_0x52e459(0xff)]||null;let _0x29cfbf;if(_0x34312a[_0x52e459(0x198)](_0x51205c,null)){if(_0x34312a[_0x52e459(0x175)](_0xc9bbf5,TestFrameworkConstants['MAX_TOP_LEVEL_STEPS']))continue;_0x29cfbf=0x0,_0xc9bbf5++;}else{const _0xcfc9c1=_0xe0559f['get'](_0x51205c);if(_0x34312a[_0x52e459(0x19d)](_0xcfc9c1,undefined))continue;_0x29cfbf=_0x34312a[_0x52e459(0x127)](_0xcfc9c1,0x1);if(_0x34312a[_0x52e459(0x12b)](_0x29cfbf,TestFrameworkConstants[_0x52e459(0xfa)]))continue;}_0xe0559f[_0x52e459(0x15f)](_0x94f762['id'],_0x29cfbf),_0x3c34da[_0x52e459(0x15f)](_0x94f762['id'],_0x94f762[_0x52e459(0xf2)]),_0x1f1301['push']({'id':_0x94f762['id'],'parent_id':_0x51205c,'parent_text':_0x51205c?_0x3c34da['get'](_0x51205c)||'':'','text':_0x94f762[_0x52e459(0xf2)],'keyword':_0x94f762[_0x52e459(0x177)]||null,'started_at':_0x94f762[_0x52e459(0xbf)],'duration':_0x94f762[_0x52e459(0x156)]??null,'result':_0x94f762['result'],'failure':_0x94f762[_0x52e459(0x9e)]||null,'failure_type':_0x94f762['failure_type']||null});}const _0x93ba15={};_0x93ba15[_0x52e459(0xe4)]=_0x1f1301,_0x596a8f[TestFrameworkConstants[_0x52e459(0x176)]]=_0x93ba15,logger[_0x52e459(0xd5)](_0x52e459(0x133)+_0x1f1301[_0x52e459(0x13d)]+_0x52e459(0x194)+_0x36df5a);const _0x52fd32=[],_0x5502be=_0x34312a[_0x52e459(0x17d)](findNestedKey,_0x5f7091,_0x34312a[_0x52e459(0x163)]);if(_0x5502be&&_0x34312a[_0x52e459(0x107)](validateFilePath,_0x5502be))try{_0x52fd32['push']({'kind':_0x34312a[_0x52e459(0xa1)],'timestamp':new Date()[_0x52e459(0xca)](),'test_run_uuid':_0x34502d,'file_name':path[_0x52e459(0x142)](_0x5502be),'file_size':fs[_0x52e459(0xe3)](_0x5502be)[_0x52e459(0x195)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x2236b9){logger[_0x52e459(0x129)](_0x52e459(0xde)+_0x5502be+':\x20'+_0x2236b9[_0x52e459(0x1a2)]);}const _0xaf3801=TestInfo['getTraceFilePaths'](),_0x2113f0=_0xaf3801[_0x52e459(0x108)](_0x4b3db6=>_0x4b3db6[_0x52e459(0x15e)]===_0x34502d);_0x2113f0[_0x52e459(0x18d)](_0x1faf9d=>{const _0x21bf5b=_0x52e459;if(_0x1faf9d[_0x21bf5b(0x16f)]&&_0x34312a['MGMuz'](validateFilePath,_0x1faf9d['filePath'])&&!_0x52fd32['some'](_0x599ba2=>_0x599ba2[_0x21bf5b(0x10a)]===path[_0x21bf5b(0x142)](_0x1faf9d[_0x21bf5b(0x16f)])))try{_0x52fd32[_0x21bf5b(0xd8)]({'kind':_0x34312a[_0x21bf5b(0xa1)],'timestamp':new Date()[_0x21bf5b(0xca)](),'test_run_uuid':_0x34502d,'file_name':path['basename'](_0x1faf9d[_0x21bf5b(0x16f)]),'file_size':fs['statSync'](_0x1faf9d[_0x21bf5b(0x16f)])[_0x21bf5b(0x195)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x16c010){logger[_0x21bf5b(0x129)](_0x21bf5b(0x1a8)+_0x1faf9d['filePath']+_0x21bf5b(0xf3)+_0x16c010['message']);}});if(_0x34312a[_0x52e459(0x1a9)](_0x52fd32[_0x52e459(0x13d)],0x0)){const _0x5eb7ac=_0x596a8f[TestFrameworkConstants[_0x52e459(0x11a)]]||[];_0x596a8f[TestFrameworkConstants[_0x52e459(0x11a)]]=[..._0x5eb7ac,..._0x52fd32];}const _0x509bc5=TestInfo[_0x52e459(0x166)](_0x1387bd)[TestFrameworkConstants[_0x52e459(0x190)]]||{},_0x565cf6=_0x34312a[_0x52e459(0x11b)](getManualUploadLogs,_0x509bc5,_0x5d6483[_0x52e459(0xbc)]()[_0x52e459(0xe6)](_0x1387bd)[TestFrameworkConstants[_0x52e459(0x115)]]);if(_0x34312a['oWpwf'](_0x565cf6[_0x52e459(0x13d)],0x0)){const _0x4fbefc=_0x596a8f[TestFrameworkConstants[_0x52e459(0x11a)]]||[];_0x596a8f[TestFrameworkConstants['KEY_LOGS']]=[..._0x4fbefc,..._0x565cf6];}const _0x3dfe0e=_0x8df164[_0x52e459(0x18c)]||[],_0x5ed79c=_0x596a8f[TestFrameworkConstants[_0x52e459(0x14e)]]||{},_0x123dc4=_0x34312a['jBCML'](require,_0x34312a[_0x52e459(0x13a)]);_0x3dfe0e[_0x52e459(0x18d)](_0x14f97a=>{const _0x278758=_0x52e459,{type:_0x588a9d}=_0x14f97a;let _0x22c222=_0x14f97a[_0x278758(0x14d)];if(!_0x588a9d)return;if(PLAYWRIGHT_BUILTIN_ANNOTATIONS[_0x278758(0x167)](_0x588a9d))return;(_0x34312a[_0x278758(0x153)](_0x22c222,undefined)||_0x34312a['UxuiG'](_0x22c222,null)||_0x34312a[_0x278758(0x17c)](_0x34312a['fRfHb'](String,_0x22c222)[_0x278758(0x109)](),''))&&(_0x22c222=_0x34312a[_0x278758(0x120)]);const _0xc2af5=helper['parseCommaSeparatedValues'](_0x34312a[_0x278758(0xae)](String,_0x22c222));_0x123dc4[_0x278758(0xcf)](_0x5ed79c,_0x588a9d,_0xc2af5);}),_0x596a8f[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x5ed79c,TestInfo[_0x52e459(0x174)](_0x1387bd,_0x596a8f);const _0x5401c6={};return _0x5401c6[_0x1387bd]=_0x596a8f,_0x5401c6;}[a95_0x2f7196(0x1a5)](_0x19591e,_0x31563f,_0x25abb1){const _0x262876=a95_0x2f7196,_0x370fec={'lJjxN':function(_0x2a34d0,_0x54b44b){return _0x2a34d0||_0x54b44b;},'micQD':function(_0x20ec2e,_0x1e358b,_0x403534){return _0x20ec2e(_0x1e358b,_0x403534);}};try{const {test:_0x59f9c0,result:_0x462542,step:_0x2ac769}=_0x25abb1;if(_0x370fec[_0x262876(0x1a1)](!_0x59f9c0,!_0x2ac769)||!_0x462542)return;const _0x10d208=_0x370fec['micQD'](getTestRunIdentifier,_0x59f9c0,_0x462542[_0x262876(0xb4)]);logger['debug']('trackStepEvent:\x20testId='+_0x10d208+_0x262876(0xd2)+_0x31563f+_0x262876(0x16a)+_0x2ac769['title']+'\x22');}catch(_0x3c56b4){logger[_0x262876(0x129)](_0x262876(0xc3)+util[_0x262876(0x189)](_0x3c56b4));}}async[a95_0x2f7196(0xe2)](_0x12a34c,_0x118a0c,_0x1ad4d7,_0x4ac4e2){const _0x39d31a=a95_0x2f7196,_0x128acc={'HQtgl':function(_0x2b3573,_0x1d3df5,_0x5582c9){return _0x2b3573(_0x1d3df5,_0x5582c9);},'QTDYO':function(_0x40a5a4,_0x1d0c65){return _0x40a5a4 in _0x1d0c65;},'lTXiN':function(_0xca4710,_0x40a6a9){return _0xca4710 in _0x40a6a9;},'zVZQB':function(_0x483cc8,_0x43f481){return _0x483cc8(_0x43f481);},'dvSpk':function(_0x395a97,_0x4106fb){return _0x395a97===_0x4106fb;},'RFyOU':function(_0x4350e9){return _0x4350e9();},'aQVKb':function(_0x2cefd4,_0x25761a){return _0x2cefd4>_0x25761a;},'CvZYO':_0x39d31a(0xbe),'ohZFx':function(_0x44400f,_0x36e090){return _0x44400f(_0x36e090);},'FDQbH':'failed','EeTtC':_0x39d31a(0x112),'YRSoF':function(_0x2e3288,_0xbc31e4){return _0x2e3288!==_0xbc31e4;},'gIvTZ':function(_0x3b7c67,_0x1b0f34){return _0x3b7c67+_0x1b0f34;},'yaQms':_0x39d31a(0x182)},_0x4dc10d=_0x4ac4e2[_0x39d31a(0xe5)],_0x2437f5=_0x4ac4e2['step'],_0x4709ec=_0x128acc[_0x39d31a(0x11e)](getTestRunIdentifier,_0x4dc10d,_0x4ac4e2[_0x39d31a(0xd4)][_0x39d31a(0xb4)]),_0x1cfc36=_0x118a0c['toString']()['split']('.')[0x1];let _0x5e5272=_0x12a34c[_0x39d31a(0xbc)]()[_0x39d31a(0xe6)](_0x4709ec)[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x5e5272&&(_0x5e5272={});!_0x128acc['QTDYO'](_0x1cfc36,_0x5e5272)&&(_0x5e5272[_0x1cfc36]=[]);let _0x2653fa=_0x12a34c[_0x39d31a(0xbc)]()[_0x39d31a(0xe6)](_0x4709ec)[TestFrameworkConstants[_0x39d31a(0x172)]];!_0x2653fa&&(_0x2653fa={});!_0x128acc[_0x39d31a(0x19e)](_0x1cfc36,_0x2653fa)&&(_0x2653fa[_0x1cfc36]=[]);const _0x30e8b2={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x5e5272,[TestFrameworkConstants[_0x39d31a(0x172)]]:_0x2653fa},_0x30628d={};_0x30628d[_0x4709ec]=_0x30e8b2;const _0x3d2732=_0x30628d,_0x4382a1=_0x128acc[_0x39d31a(0xd7)](getPlaywrightTestFilePath,_0x4dc10d),_0x4f4559=_0x4382a1,_0x397ec2=TestInfo['getTestDetails'](_0x4709ec)[TestFrameworkConstants[_0x39d31a(0x14e)]]||{};if(_0x128acc[_0x39d31a(0x155)](_0x1ad4d7,HookState[_0x39d31a(0xc1)])){const _0x2dae7a={'key':_0x1cfc36,[TestFrameworkConstants[_0x39d31a(0x159)]]:_0x128acc['RFyOU'](uuidv4),[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x39d31a(0x12d)],[TestFrameworkConstants[_0x39d31a(0x110)]]:_0x2437f5['startTime'],[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x39d31a(0x148)]]:_0x2437f5[_0x39d31a(0xc8)],[TestFrameworkConstants[_0x39d31a(0x13e)]]:_0x4382a1,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x4f4559,[TestFrameworkConstants[_0x39d31a(0x14e)]]:_0x397ec2};_0x5e5272[_0x1cfc36]['push'](_0x2dae7a),_0x3d2732[_0x4709ec][TestFrameworkConstants[_0x39d31a(0xd6)]]=_0x1cfc36,logger[_0x39d31a(0xd5)](_0x39d31a(0x18f)+_0x1cfc36+_0x39d31a(0xb1)+_0x2dae7a+_0x39d31a(0x9f)+_0x4ac4e2);}else{if(_0x128acc[_0x39d31a(0x155)](_0x1ad4d7,HookState['POST'])){const _0x56e814=await _0x4ac4e2[_0x39d31a(0xd4)],_0x163b2b=_0x5e5272[_0x1cfc36]||[],_0x3c45d=_0x4ac4e2[_0x39d31a(0xb9)];logger[_0x39d31a(0xd5)](_0x39d31a(0xe0)+_0x163b2b+_0x39d31a(0x139)+_0x4ac4e2);if(_0x128acc[_0x39d31a(0xb6)](_0x163b2b['length'],0x0)){const _0x3b8e2f=_0x163b2b[_0x39d31a(0x101)]();if(_0x3c45d[_0x39d31a(0x129)]){const _0x4916fd=_0x128acc[_0x39d31a(0x11e)](failureData,_0x3c45d[_0x39d31a(0x129)],_0x128acc[_0x39d31a(0x16d)]);_0x3b8e2f[TestFrameworkConstants[_0x39d31a(0x18a)]]=_0x128acc[_0x39d31a(0xee)](getFailureType,_0x3c45d?.[_0x39d31a(0x129)][_0x39d31a(0x1a2)]),_0x3b8e2f[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=_0x128acc['zVZQB'](removeAnsiColors,_0x3c45d?.[_0x39d31a(0x129)][_0x39d31a(0x1a2)]),_0x3b8e2f[TestFrameworkConstants[_0x39d31a(0x16c)]]=_0x128acc['FDQbH'],_0x3b8e2f[TestFrameworkConstants[_0x39d31a(0x170)]]=_0x4916fd;}else _0x3b8e2f[TestFrameworkConstants[_0x39d31a(0x16c)]]=_0x128acc[_0x39d31a(0x196)];_0x128acc['YRSoF'](_0x56e814,TestFrameworkConstants[_0x39d31a(0x12d)])&&(_0x3b8e2f[TestFrameworkConstants[_0x39d31a(0x16c)]]=!_0x3c45d[_0x39d31a(0x129)]?_0x128acc['EeTtC']:_0x128acc[_0x39d31a(0x19a)]);const _0x579b42=new Date(_0x3c45d[_0x39d31a(0xa6)]),_0x4045f7=new Date(_0x128acc['gIvTZ'](_0x579b42[_0x39d31a(0xce)](),_0x3c45d[_0x39d31a(0x156)]));_0x3b8e2f[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x4045f7[_0x39d31a(0xca)](),_0x3b8e2f[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x397ec2;const _0x1cdb30=_0x3b8e2f[TestFrameworkConstants['KEY_HOOK_ID']];await this['sendLogCreatedEvent'](_0x12a34c,_0x118a0c,_0x1cdb30,_0x128acc['yaQms'],_0x4ac4e2),!_0x2653fa[_0x1cfc36]&&(_0x2653fa[_0x1cfc36]=[]),_0x2653fa[_0x1cfc36][_0x39d31a(0xd8)](_0x3b8e2f),_0x3d2732[_0x4709ec][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x1cfc36;}}}return _0x3d2732;}async[a95_0x2f7196(0xeb)](_0x53d207,_0x2cc1a6,_0x3f83ac,_0x573802,_0xda72d5,_0x420187){const _0x5ec02b=a95_0x2f7196,_0x119292={'OhnHQ':function(_0x1963e0,_0x2c76a8){return _0x1963e0===_0x2c76a8;},'pTIaG':_0x5ec02b(0xe5),'VOoNC':function(_0x2e840e,_0x9aa046,_0x345c24){return _0x2e840e(_0x9aa046,_0x345c24);},'zKvGS':_0x5ec02b(0xcd),'cyMCR':function(_0x306786,_0x42742e,_0x5d02c4,_0x37d858){return _0x306786(_0x42742e,_0x5d02c4,_0x37d858);},'TuLJX':function(_0x4d89e0,_0x3593e6,_0x5de4c0){return _0x4d89e0(_0x3593e6,_0x5de4c0);},'tVKPs':function(_0x8b5a59,_0x33cc05){return _0x8b5a59/_0x33cc05;},'hTpDU':function(_0x7726ae,_0x5a1f3b){return _0x7726ae<_0x5a1f3b;},'xkjYt':function(_0x562e7e,_0x37c38){return _0x562e7e*_0x37c38;},'JIaEU':function(_0xa9b2b1,_0x199ecb){return _0xa9b2b1+_0x199ecb;},'QbmKi':function(_0x2bdbc0,_0x46c47e,_0x1c979e,_0x5e63e1,_0x48f1b3){return _0x2bdbc0(_0x46c47e,_0x1c979e,_0x5e63e1,_0x48f1b3);},'YsLsC':function(_0x2274b7,_0x7fdffc){return _0x2274b7+_0x7fdffc;},'CIkra':function(_0xbce061,_0x410788,_0x554362,_0x486f1f){return _0xbce061(_0x410788,_0x554362,_0x486f1f);},'bBsVP':_0x5ec02b(0x182),'zDIOI':function(_0x4c6fc7,_0x1c6107,_0x216d32){return _0x4c6fc7(_0x1c6107,_0x216d32);},'LmKPM':function(_0x51bb9c,_0x53f587,_0x3f1f03,_0x58add8,_0x5ebcab){return _0x51bb9c(_0x53f587,_0x3f1f03,_0x58add8,_0x5ebcab);}};try{if(_0x119292[_0x5ec02b(0x119)](_0x573802,_0x119292[_0x5ec02b(0x111)])){const _0x4f67a2=await _0xda72d5[_0x5ec02b(0xd4)],_0xc9b8b9=_0x119292['VOoNC'](getTestRunIdentifier,_0xda72d5[_0x5ec02b(0xe5)],_0xda72d5[_0x5ec02b(0xd4)][_0x5ec02b(0xb4)]),_0x39960c=_0xda72d5[_0x5ec02b(0xe5)];logger['debug'](_0x5ec02b(0xcb)+_0xc9b8b9+_0x5ec02b(0xe8)+util[_0x5ec02b(0xfb)](_0x4f67a2));const _0x9b3a62=_0x53d207[_0x5ec02b(0xbc)]()[_0x5ec02b(0xe6)](_0xc9b8b9)[TestFrameworkConstants[_0x5ec02b(0x115)]];await _0x119292[_0x5ec02b(0x121)](sendTraceZip,_0x4f67a2,_0x9b3a62);const _0x434bd9=TestInfo[_0x5ec02b(0x166)](_0xc9b8b9)[_0x119292['zKvGS']],_0x59c613={};if(_0x434bd9){!_0x4f67a2[_0x5ec02b(0xcd)]&&(_0x4f67a2[_0x5ec02b(0xcd)]=[]);_0x59c613[_0x5ec02b(0xcd)]=_0x4f67a2[_0x5ec02b(0xcd)]['concat'](_0x434bd9||[]);const _0x596095=TestInfo[_0x5ec02b(0x166)](_0xc9b8b9);delete _0x596095[_0x119292[_0x5ec02b(0x125)]],TestInfo[_0x5ec02b(0x174)](_0xc9b8b9,_0x596095);}const _0xe9dd35=_0x420187||_0x119292[_0x5ec02b(0xf8)](getStepsAndLogs,_0x4f67a2[_0x5ec02b(0xe4)],_0x53d207[_0x5ec02b(0xbc)]()[_0x5ec02b(0xe6)](_0xc9b8b9)[TestFrameworkConstants[_0x5ec02b(0x115)]],_0x119292[_0x5ec02b(0x111)])[_0x5ec02b(0x132)],_0x172ab6=_0x119292[_0x5ec02b(0x158)](getScreenshots,_0x59c613,_0x53d207[_0x5ec02b(0xbc)]()['get'](_0xc9b8b9)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x26804d=_0x119292[_0x5ec02b(0x121)](getVideos,_0x4f67a2,_0x53d207[_0x5ec02b(0xbc)]()[_0x5ec02b(0xe6)](_0xc9b8b9)[TestFrameworkConstants[_0x5ec02b(0x115)]]),{_:_0x414db7,logs:_0x3ac0aa}=_0x119292['VOoNC'](getFailureData,_0x4f67a2[_0x5ec02b(0xec)],{'test_run_uuid':_0x53d207[_0x5ec02b(0xbc)]()[_0x5ec02b(0xe6)](_0xc9b8b9)[TestFrameworkConstants[_0x5ec02b(0x115)]]}),_0x37c370=TestInfo[_0x5ec02b(0x166)](_0xc9b8b9)[TestFrameworkConstants[_0x5ec02b(0x190)]]||{},_0x2baf4b=_0x119292[_0x5ec02b(0x121)](getMediaArtifactsLogs,_0x37c370,_0x53d207['getAllData']()[_0x5ec02b(0xe6)](_0xc9b8b9)[TestFrameworkConstants[_0x5ec02b(0x115)]]),_0x265199=_0x53d207[_0x5ec02b(0xbc)]()[_0x5ec02b(0xe6)](_0xc9b8b9),{[TestFrameworkConstants[_0x5ec02b(0x143)]]:_0x33e879='',[TestFrameworkConstants[_0x5ec02b(0x14b)]]:_0x516d09=''}=_0x265199,_0x3add48=(_0xe9dd35||[])[_0x5ec02b(0xf0)](_0x172ab6||[])['concat'](_0x3ac0aa||[])[_0x5ec02b(0xf0)](_0x26804d||[])[_0x5ec02b(0xf0)](_0x2baf4b||[]),_0x219ec1=0x28,_0x2c6485=Math['ceil'](_0x119292['tVKPs'](_0x3add48['length'],_0x219ec1));for(let _0x1206c3=0x0;_0x119292[_0x5ec02b(0x16b)](_0x1206c3,_0x2c6485);_0x1206c3++){const _0x2a9662=_0x119292[_0x5ec02b(0x12c)](_0x1206c3,_0x219ec1),_0x2cbee6=_0x119292[_0x5ec02b(0xc7)](_0x2a9662,_0x219ec1),_0x332c26=_0x3add48[_0x5ec02b(0xa4)](_0x2a9662,_0x2cbee6),_0x17f8c2={'platformIndex':global?.[_0x5ec02b(0x113)]??0x0,'logs':_0x332c26,'testFrameworkName':_0x33e879,'testFrameworkVersion':_0x516d09,'testFrameworkState':_0x2cc1a6[_0x5ec02b(0x197)]()['split']('.')[0x1]};_0x119292[_0x5ec02b(0x13b)](updatePayloadForTraceLogs,_0x17f8c2,_0xda72d5,_0xc9b8b9,_0x53d207),logger[_0x5ec02b(0xd5)](_0x5ec02b(0x122)+_0xc9b8b9+_0x5ec02b(0xa3)+_0x119292[_0x5ec02b(0xc7)](_0x1206c3,0x1)+'/'+_0x2c6485+_0x5ec02b(0x13c)+util['inspect'](_0x17f8c2));const _0xa1704c=await GrpcClient[_0x5ec02b(0xc9)]()[_0x5ec02b(0xc0)](_0x17f8c2);logger[_0x5ec02b(0xd5)](_0x5ec02b(0x122)+_0xc9b8b9+_0x5ec02b(0xa3)+_0x119292[_0x5ec02b(0xfc)](_0x1206c3,0x1)+'/'+_0x2c6485+_0x5ec02b(0x128)+util[_0x5ec02b(0xfb)](_0xa1704c));}}else{const {logs:_0x502bed}=_0x119292[_0x5ec02b(0x17a)](getStepsAndLogs,_0xda72d5[_0x5ec02b(0xb9)][_0x5ec02b(0xe4)],_0x3f83ac,_0x119292[_0x5ec02b(0xc5)]),_0x2e33f8=_0x119292[_0x5ec02b(0xe9)](getTestRunIdentifier,_0xda72d5[_0x5ec02b(0xe5)],_0xda72d5[_0x5ec02b(0xd4)][_0x5ec02b(0xb4)]);logger[_0x5ec02b(0xd5)]('sendLogCreatedEvent:\x20testId='+_0x2e33f8);const _0x563913=_0x53d207[_0x5ec02b(0xbc)]()[_0x5ec02b(0xe6)](_0x2e33f8),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x2f7714='',[TestFrameworkConstants[_0x5ec02b(0x14b)]]:_0x14b296=''}=_0x563913,_0x1fb57f={'platformIndex':'0','logs':_0x502bed,'testFrameworkName':_0x2f7714,'testFrameworkVersion':_0x14b296,'testFrameworkState':_0x2cc1a6[_0x5ec02b(0x197)]()[_0x5ec02b(0xbd)]('.')[0x1]};_0x119292['LmKPM'](updatePayloadForTraceLogs,_0x1fb57f,_0xda72d5,_0x2e33f8,_0x53d207),logger[_0x5ec02b(0xd5)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x2e33f8+'\x20payload='+util[_0x5ec02b(0xfb)](_0x1fb57f));const _0x5064d0=await GrpcClient[_0x5ec02b(0xc9)]()[_0x5ec02b(0xc0)](_0x1fb57f);}}catch(_0x336aed){logger['error'](_0x5ec02b(0x18e)+util[_0x5ec02b(0x189)](_0x336aed));}}[a95_0x2f7196(0x13f)](_0x319ba3){const _0xafb876=a95_0x2f7196,_0x398905={'tuoTE':function(_0x47ce0f,_0x30124d,_0xbc816e){return _0x47ce0f(_0x30124d,_0xbc816e);},'QNFGM':function(_0x32a299,_0x3205ce){return _0x32a299<_0x3205ce;},'MBbhK':_0xafb876(0x188)};try{const _0x4bbc6d=_0x319ba3['test']['id'],_0x50ee7e=_0x398905['tuoTE'](getTestRunIdentifier,_0x319ba3[_0xafb876(0xe5)],_0x319ba3[_0xafb876(0xd4)][_0xafb876(0xb4)]),_0x557a53=_0x319ba3[_0xafb876(0x147)],_0x3e2570=_0x557a53[_0xafb876(0xb8)](),_0x12e65e=_0x557a53[_0xafb876(0xbc)]()['get'](_0x50ee7e);logger[_0xafb876(0xd5)](_0xafb876(0x102)+_0x4bbc6d);const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x303538='',[TestFrameworkConstants[_0xafb876(0x14b)]]:_0x900410='',[TestFrameworkConstants[_0xafb876(0x180)]]:_0x561170='',[TestFrameworkConstants[_0xafb876(0x171)]]:_0x15dd27=''}=_0x12e65e,_0x25c3a6=_0x557a53[_0xafb876(0xea)]()[_0xafb876(0x197)]()[_0xafb876(0xbd)]('.')[0x1],_0x435be=_0x557a53[_0xafb876(0x152)]()[_0xafb876(0x197)]()[_0xafb876(0xbd)]('.')[0x1],_0x1fbd44=_0x398905['QNFGM'](_0x319ba3?.[_0xafb876(0xd4)]?.[_0xafb876(0x186)]??0x0,0x0)?0x0:_0x319ba3?.[_0xafb876(0xd4)]?.[_0xafb876(0x186)]??0x0,_0x2e15fd=_0x557a53[_0xafb876(0x15d)](),_0x51134d=Buffer[_0xafb876(0x15b)](JSON[_0xafb876(0xed)](_0x12e65e))[_0xafb876(0x197)](_0x398905[_0xafb876(0xab)]),_0x3d924e={'hash':_0x3e2570[_0xafb876(0x145)](),'threadId':_0x3e2570[_0xafb876(0x17f)]()[_0xafb876(0x197)](),'processId':_0x3e2570[_0xafb876(0x10d)]()[_0xafb876(0x197)]()},_0x2bb931={};_0x2bb931['platformIndex']=_0x1fbd44,_0x2bb931[_0xafb876(0x103)]=_0x303538,_0x2bb931['testFrameworkVersion']=_0x900410,_0x2bb931['testFrameworkState']=_0x25c3a6,_0x2bb931['hookState']=_0x435be,_0x2bb931[_0xafb876(0xda)]=_0x561170,_0x2bb931['endedAt']=_0x15dd27,_0x2bb931['uuid']=_0x2e15fd,_0x2bb931['eventJson']=_0x51134d,_0x2bb931[_0xafb876(0x117)]=_0x3d924e;const _0x5733ae=_0x2bb931;return logger[_0xafb876(0xd5)]('createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20'+_0x4bbc6d+'\x20testState:\x20'+_0x25c3a6+_0xafb876(0xf6)+_0x435be),_0x5733ae;}catch(_0x189114){return logger['error'](_0xafb876(0x168)+util[_0xafb876(0x189)](_0x189114)),{};}}}module[a95_0x2f7196(0x164)]=PlaywrightTestFramework;
1
+ function a95_0xbe5e(){const _0x5205c5=['tNdIk','KEY_TEST_SCOPE','../TestInfo.js','\x20batch\x20','startTime','Error\x20in\x20createTestFrameworkEventPayload:\x20','stack','getAllData','getTrackedInstance','debug','IUERy','trackStepEvent:\x20testId=','slow','KEY_TEST_FRAMEWORK_VERSION','file_name','skipped','getTestDetails','NONE','some','getTestUUID','instance','split','KEY_TEST_SCOPES','lFxPx','JVhfy','has','6133146ELNgBe','trackStepEvent:\x20exception=','KEY_LOGS','../cliUtils.js','wkiUe','getTraceFilePaths','trackEvent:\x20found\x20instance,\x20testFrameworkState=','QNaKz','toISOString','annotations','uzPyp','TEST_ATTACHMENT','KEY_HOOKS_FINISHED','\x20result=','jaNGs','SLwle','../../../helpers/helper.js','../instances/testFrameworkInstance.js','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','KEY_TEST_STARTED_AT','set','addMultipleEntries','./constants/testFrameworkConstants.js','\x20\x20and\x20args\x20=\x20','qNWgY','KEY_TEST_FRAMEWORK_NAME','failure_type','filePath','OVyiq','failed','title','error','AwrSN','\x20step=\x22','10YCeTtH','uNGRs','forEach','inspect','\x20hookState=','AWNtp','Hook\x20List\x20in\x20Post\x20','KEY_TEST_FILE_PATH','concat','56MzoBej','KEY_HOOK_LAST_STARTED','description','logs','KEY_TEST_ENDED_AT','oEAwO','TEST_STEP','filter','slice','qUEpj','ulwjf','skip','executionContext','\x20instanceId=','BBpiL','ursDP','KEY_TEST_TAGS','zFNuu','tOJxn','KEY_TEST_RESULT_AT','xKutZ','startedAt','step','status','parent_id','LGaDb','../state/hookState.js','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','KEY_HOOK_FAILURE_TYPE','KEY_HOOK_ID','13185194mttZfA','KEY_TEST_FAILURE_REASON','bxWIa','\x20from\x20TestDetails:\x20','trackPlaywrightInstance','steps','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','parseCommaSeparatedValues','KEY_TEST_CODE','text','getProcessId','KEY_TEST_LOGS','ceil','KEY_TEST_ID','../grpcClient','logCreatedEvent','\x20&\x20hook\x20=\x20','\x20payload=','VacMT','getContext','KEY_TEST_FAILURE','KEY_TEST_LOCATION','parsePlaywrightTestResult','trackStepEvent','duration','PRE','path','RlWrx','8095150YAJMUR','hookState','qclZH','toString','Error\x20processing\x20direct\x20trace\x20file\x20','../../../../src/helpers/helper','../state/testFrameworkState.js','112366gpwiTn','KEY_AUTOMATE_SESSION_NAME','errors','947079QegeAE','xUWmA','MAX_TOP_LEVEL_STEPS','fixme','KEY_EVENT_ENDED_AT','xSCIX','parsePlaywrightTestResult:\x20testId=','platformIndex','jKnzl','BCHqN','TEST','yOzAF','rvEXQ','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','jYEqV','exports','NjikR','KEY_TEST_META','VNhPC','pQteI','parsePlaywrightTestResult:\x20extracted\x20','XQnuO','Error\x20in\x20sendLogCreatedEvent:\x20','2vxIzBK','pkAZM','../../../helpers/classLogger.js','err','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','KEY_TEST_UUID','KEY_HOOK_FAILURE_REASON','getThreadId','KEY_TEST_NAME','ftgYu','POST','jJPjl','getTestFrameworksVersions','KEY_CUSTOM_TAGS','sendLogCreatedEvent','size','vhdHx',',\x20testFrameworkState=','GfZHR','PlaywrightTestFramework','retry','lfHqI','eSkyk','testFrameworkVersion','tHPal','BmrXv','hkVPY','keyword','createContext','uzDmn','passed','KEY_TEST_RERUN_NAME','getInstance','../../../helpers/test-observability/utils','trackEvent','./testFramework','eLhPr','DQyHz','getId','KEY_TEST_ATTACHMENTS','Aftpq','browserstackPlatformIndex','gqNre','824EYwjqF','yHSpL','uuid','DEFAULT_TEST_RESULT','KEY_HOOKS_STARTED','push','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','OOBoE','result','stringify','format','get','testFrameworkState','kVIsL','KEY_TEST_RETRY_OF','message','mergeIntoTags','setTestDetails','NyJpT','started_at','\x20response=','statSync','util','czkEM','timedOut','results','getRef','../../playwright/reporter/pwUtils','xRuzp','parallelIndex','KEY_TEST_RESULT','5zPirTn','qGuDo','DEFAULT_HOOK_RESULT','setTrackedInstance','XOjNR','59777040bBRzAf','ArwDg','failure','test','BHZvo','length','sAeCV','KEY_TEST_FAILURE_TYPE','resolveInstance','expectedStatus','iJYiX','\x20testHookState=','rwXrq','KEY_HOOK_NAME','attachments','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','Nqcfm','MAX_NESTED_STEP_DEPTH','\x20testState:\x20','runHooks','info','getTestFrameworks','eventJson','endedAt','Expected\x20to\x20fail,\x20but\x20passed.','900tIbPvu','basename','../customTagManager','UifFS','dcZeq','testFrameworkName','Error\x20processing\x20trace\x20file\x20','getCurrentTestState','KEY_HOOK_RESULT'];a95_0xbe5e=function(){return _0x5205c5;};return a95_0xbe5e();}const a95_0x26ce92=a95_0x3d49;(function(_0x4c6af5,_0x317432){const _0x59576b=a95_0x3d49,_0x4d936e=_0x4c6af5();while(!![]){try{const _0xbd363d=parseInt(_0x59576b(0x251))/0x1*(-parseInt(_0x59576b(0x26b))/0x2)+-parseInt(_0x59576b(0x1c2))/0x3*(parseInt(_0x59576b(0x185))/0x4)+-parseInt(_0x59576b(0x1a4))/0x5*(parseInt(_0x59576b(0x1e5))/0x6)+-parseInt(_0x59576b(0x24a))/0x7+parseInt(_0x59576b(0x210))/0x8*(-parseInt(_0x59576b(0x254))/0x9)+parseInt(_0x59576b(0x207))/0xa*(-parseInt(_0x59576b(0x22e))/0xb)+parseInt(_0x59576b(0x1a9))/0xc;if(_0xbd363d===_0x317432)break;else _0x4d936e['push'](_0x4d936e['shift']());}catch(_0x1c016d){_0x4d936e['push'](_0x4d936e['shift']());}}}(a95_0xbe5e,0xa945e));function a95_0x3d49(_0x18f697,_0x18743f){const _0xbe5eae=a95_0xbe5e();return a95_0x3d49=function(_0x3d4943,_0x17c21d){_0x3d4943=_0x3d4943-0x161;let _0x2f2178=_0xbe5eae[_0x3d4943];return _0x2f2178;},a95_0x3d49(_0x18f697,_0x18743f);}const TestFramework=require(a95_0x26ce92(0x17d)),TestFrameworkState=require(a95_0x26ce92(0x250)),HookState=require(a95_0x26ce92(0x22a)),{createClassLogger}=require(a95_0x26ce92(0x26d)),TestFrameworkInstance=require(a95_0x26ce92(0x1f6)),CLIUtils=require(a95_0x26ce92(0x1e8)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a95_0x26ce92(0x1fb)),logger=createClassLogger(a95_0x26ce92(0x16d)),{v4:uuidv4}=require(a95_0x26ce92(0x187)),util=require(a95_0x26ce92(0x19b)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a95_0x26ce92(0x1f5)),TestInfo=require(a95_0x26ce92(0x1cd)),GrpcClient=require(a95_0x26ce92(0x23c)),{removeAnsiColors,getFailureType,failureData}=require(a95_0x26ce92(0x17b)),{getFailureData,getTestTags,getTestRunIdentifier}=require('../../playwright/reporter/pwUtils'),{findNestedKey,sendTraceZip,validateFilePath}=require(a95_0x26ce92(0x1a0)),path=require('path'),fs=require('fs'),helper=require(a95_0x26ce92(0x24f)),{PLAYWRIGHT_TRACE_LOGS}=require('../../utils/constants'),PLAYWRIGHT_BUILTIN_ANNOTATIONS=new Set([a95_0x26ce92(0x21b),a95_0x26ce92(0x257),a95_0x26ce92(0x1d7),'fail']);class PlaywrightTestFramework extends TestFramework{constructor(_0x187cb7,_0x186669,_0x3fef10){super(_0x187cb7,_0x186669,_0x3fef10);}async['trackEvent'](_0x53132c,_0x5f515f,_0x338e3a={}){const _0x34f187=a95_0x26ce92,_0x1da1d6={'gqNre':function(_0x45cc49,_0x1b3128){return _0x45cc49===_0x1b3128;},'XOjNR':function(_0x5dc841,_0x12cf85){return _0x5dc841===_0x12cf85;},'qOLnE':function(_0x1269fb,_0xdd8fb9){return _0x1269fb===_0xdd8fb9;},'OVyiq':function(_0x35651e,_0x59d799,_0x20c49a){return _0x35651e(_0x59d799,_0x20c49a);},'NyJpT':function(_0x228394,_0x35b97f){return _0x228394===_0x35b97f;},'HOQqk':function(_0x3854ac,_0x2253e6,_0x3fbd6b,_0x5df267){return _0x3854ac(_0x2253e6,_0x3fbd6b,_0x5df267);},'qclZH':_0x34f187(0x1ac),'iJYiX':_0x34f187(0x234)};super[_0x34f187(0x17c)](_0x53132c,_0x5f515f,_0x338e3a);if(_0x1da1d6[_0x34f187(0x184)](_0x53132c,TestFrameworkState['TEST_SCREENSHOT'])){const _0x127deb=TestInfo['getTestIdentifierFromTestInfo'](_0x338e3a[_0x34f187(0x1ac)],_0x338e3a[_0x34f187(0x1ac)][_0x34f187(0x16e)]);TestInfo[_0x34f187(0x196)](_0x127deb,_0x338e3a[_0x34f187(0x18d)],!![]);}if(_0x1da1d6[_0x34f187(0x1a8)](_0x53132c,TestFrameworkState[_0x34f187(0x216)])){this[_0x34f187(0x245)](_0x53132c,_0x5f515f,_0x338e3a);return;}const _0x39ca97=this[_0x34f187(0x1b1)](_0x53132c,_0x5f515f,_0x338e3a);if(!_0x39ca97)return;logger[_0x34f187(0x1d4)](_0x34f187(0x1eb)+_0x53132c+_0x34f187(0x20b)+_0x5f515f+_0x34f187(0x21d)+_0x39ca97['getRef']());try{if(_0x1da1d6['qOLnE'](_0x5f515f,HookState[_0x34f187(0x247)])&&_0x1da1d6['qOLnE'](_0x53132c,TestFrameworkState[_0x34f187(0x25e)])){const _0x2faacf=_0x338e3a[_0x34f187(0x1ac)];logger['debug'](_0x34f187(0x22b)+_0x2faacf['id']+'}');const _0x112b63=TestInfo[_0x34f187(0x1de)](_0x1da1d6[_0x34f187(0x201)](getTestRunIdentifier,_0x2faacf,_0x338e3a[_0x34f187(0x18d)]['retry']));_0x39ca97[_0x34f187(0x1fa)](this['parsePlaywrightTest'](_0x112b63,_0x2faacf,_0x338e3a[_0x34f187(0x18d)])),logger['debug'](_0x34f187(0x26f)+_0x2faacf['id']+_0x34f187(0x16b)+_0x53132c+_0x34f187(0x1b4)+_0x5f515f+'\x20instance='+_0x39ca97[_0x34f187(0x19f)]());}if(_0x1da1d6[_0x34f187(0x1a8)](_0x5f515f,HookState[_0x34f187(0x164)])&&_0x1da1d6[_0x34f187(0x197)](_0x53132c,TestFrameworkState[_0x34f187(0x25e)])){const _0x2066a1=_0x338e3a[_0x34f187(0x1ac)],_0x2ab38f=_0x338e3a[_0x34f187(0x18d)];logger['debug'](_0x34f187(0x1b8)+_0x2066a1['id']);const _0x3a9f51=_0x1da1d6[_0x34f187(0x201)](getTestRunIdentifier,_0x2066a1,_0x2ab38f[_0x34f187(0x16e)]),_0x78e010=_0x39ca97[_0x34f187(0x1d2)]()['get'](_0x3a9f51)[TestFrameworkConstants[_0x34f187(0x270)]],{steps:_0x3f31e8,logs:_0x3de956}=_0x1da1d6['HOQqk'](getStepsAndLogs,_0x2ab38f[_0x34f187(0x233)],_0x78e010,_0x1da1d6['qclZH']);_0x39ca97[_0x34f187(0x1fa)](this[_0x34f187(0x244)](_0x2066a1['id'],_0x2ab38f,_0x2066a1,_0x3f31e8)),await this[_0x34f187(0x168)](_0x39ca97,_0x53132c,_0x5f515f,_0x1da1d6[_0x34f187(0x24c)],_0x338e3a,_0x3de956);}if(CLIUtils['matchHookRegex'](_0x53132c[_0x34f187(0x24d)]()[_0x34f187(0x1e0)]('.')[0x1])){const _0x314a2a=await this['trackHookEvent'](_0x39ca97,_0x53132c,_0x5f515f,_0x338e3a);_0x39ca97[_0x34f187(0x1fa)](_0x314a2a);}}catch(_0x529bd7){logger[_0x34f187(0x204)](util[_0x34f187(0x18f)](_0x1da1d6[_0x34f187(0x1b3)],_0x53132c,_0x5f515f,_0x338e3a['length'],_0x529bd7));}_0x338e3a[_0x34f187(0x1df)]=_0x39ca97,await this[_0x34f187(0x1bc)](_0x39ca97,_0x53132c,_0x5f515f,_0x338e3a);}[a95_0x26ce92(0x1b1)](_0x15b916,_0x37414f,_0x5b2721={}){const _0x3fad72=a95_0x26ce92,_0xcefdee={};_0xcefdee[_0x3fad72(0x221)]=function(_0x32267f,_0x4ad857){return _0x32267f===_0x4ad857;};const _0x14f815=_0xcefdee;let _0x3c3fad=null;return(_0x14f815[_0x3fad72(0x221)](_0x15b916,TestFrameworkState['INIT_TEST'])||_0x14f815[_0x3fad72(0x221)](_0x15b916,TestFrameworkState['NONE']))&&this[_0x3fad72(0x232)](_0x15b916,_0x5b2721),_0x3c3fad=TestFramework[_0x3fad72(0x1d3)](),_0x3c3fad;}[a95_0x26ce92(0x232)](_0x24962f,_0x417d9){const _0x38ff1b=a95_0x26ce92,_0x3aa301=CLIUtils['getCurrentInstanceName'](),_0x293802=TrackedInstance[_0x38ff1b(0x176)](_0x3aa301);let _0x4780f8=null;logger['info']('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x3aa301+',\x20state='+_0x24962f),_0x4780f8=new TestFrameworkInstance(_0x293802,this['getTestFrameworks'](),this['getTestFrameworksVersions'](),_0x24962f,HookState[_0x38ff1b(0x1dc)]),TestFramework[_0x38ff1b(0x1a7)](_0x293802,_0x4780f8),logger[_0x38ff1b(0x1bd)](_0x38ff1b(0x261)+_0x293802[_0x38ff1b(0x180)]()+'\x20target='+_0x3aa301);}['parsePlaywrightTest'](_0x518e81,_0x10c1fc,_0x3f8fec){const _0x2518d3=a95_0x26ce92,_0x14fd6f={'VacMT':function(_0x365c71,_0x4bbcde){return _0x365c71(_0x4bbcde);},'VNhPC':function(_0x43fe9f,_0x1fa2d2){return _0x43fe9f(_0x1fa2d2);},'pkAZM':function(_0x187873,_0x119115){return _0x187873(_0x119115);},'RlWrx':function(_0x2023ad,_0x2c8a31){return _0x2023ad(_0x2c8a31);},'kfglQ':function(_0x319ef4,_0x57e027){return _0x319ef4(_0x57e027);},'xKutZ':function(_0xa291af,_0x1e4f81,_0x38ca0d){return _0xa291af(_0x1e4f81,_0x38ca0d);},'BCHqN':function(_0x4fc96c,_0x2df279){return _0x4fc96c(_0x2df279);}},_0x36dbd4=_0x14fd6f[_0x2518d3(0x240)](getPlaywrightTestId,_0x10c1fc),_0x16b168=_0x14fd6f[_0x2518d3(0x240)](getPlaywrightTestTitle,_0x10c1fc),_0x57335a=_0x14fd6f['VNhPC'](getTestTags,_0x10c1fc),_0x78f2ab=_0x14fd6f[_0x2518d3(0x266)](getPlaywrightTestCode,_0x10c1fc),_0x25ef17=_0x14fd6f[_0x2518d3(0x26c)](getPlaywrightTestFilePath,_0x10c1fc),_0x1e1723=_0x25ef17,_0x11c013=_0x14fd6f[_0x2518d3(0x240)](getPlaywrightTestScope,_0x10c1fc),_0x1d0745=_0x14fd6f[_0x2518d3(0x249)](getPlaywrightTestScopes,_0x10c1fc),_0x27b4d0=_0x14fd6f['kfglQ'](getPlaywrightSessionName,_0x10c1fc),_0x12a5bf=this[_0x2518d3(0x1be)]()[0x0],_0xf0bc90=_0x14fd6f[_0x2518d3(0x224)](getTestRunIdentifier,_0x10c1fc,_0x3f8fec[_0x2518d3(0x16e)]),_0x30e624={[TestFrameworkConstants[_0x2518d3(0x1fe)]]:_0x12a5bf,[TestFrameworkConstants[_0x2518d3(0x1d8)]]:this[_0x2518d3(0x166)]()[_0x12a5bf],[TestFrameworkConstants[_0x2518d3(0x239)]]:[],[TestFrameworkConstants[_0x2518d3(0x1f1)]]:{},[TestFrameworkConstants[_0x2518d3(0x189)]]:{},[TestFrameworkConstants[_0x2518d3(0x270)]]:_0x518e81,[TestFrameworkConstants[_0x2518d3(0x1a3)]]:TestFrameworkConstants[_0x2518d3(0x188)],[TestFrameworkConstants[_0x2518d3(0x252)]]:_0x27b4d0,[TestFrameworkConstants[_0x2518d3(0x20e)]]:_0x25ef17,[TestFrameworkConstants[_0x2518d3(0x23b)]]:_0x36dbd4,[TestFrameworkConstants[_0x2518d3(0x162)]]:_0x16b168,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x1e1723,[TestFrameworkConstants[_0x2518d3(0x236)]]:_0x78f2ab,[TestFrameworkConstants[_0x2518d3(0x220)]]:_0x57335a,[TestFrameworkConstants[_0x2518d3(0x1f8)]]:_0x10c1fc[_0x2518d3(0x19e)][0x0][_0x2518d3(0x1cf)],[TestFrameworkConstants[_0x2518d3(0x1cc)]]:_0x11c013,[TestFrameworkConstants[_0x2518d3(0x1e1)]]:_0x1d0745,[TestFrameworkConstants[_0x2518d3(0x179)]]:_0x14fd6f[_0x2518d3(0x25d)](getPlaywrightCustomRerunParam,_0x10c1fc)};TestInfo['setTestDetails'](_0xf0bc90,_0x30e624);const _0x5c64c5={};return _0x5c64c5[_0xf0bc90]=_0x30e624,_0x5c64c5;}[a95_0x26ce92(0x244)](_0x5e1487,_0x1cade3,_0x30c134,_0x2aa7dc){const _0x165480=a95_0x26ce92,_0x5b7c84={'sgqPC':function(_0x5eb2cc,_0x32b9a3){return _0x5eb2cc(_0x32b9a3);},'QNaKz':_0x165480(0x1f0),'kVIsL':function(_0x26c881,_0x11f9bb){return _0x26c881===_0x11f9bb;},'JVhfy':function(_0x4415ea,_0x378829){return _0x4415ea===_0x378829;},'hkVPY':function(_0x515fdc,_0x933a05){return _0x515fdc(_0x933a05);},'yOzAF':'No\x20reason\x20provided','SLwle':function(_0x2c5dc5,_0x27996e,_0x56e8c1){return _0x2c5dc5(_0x27996e,_0x56e8c1);},'hDnJP':function(_0x42eac1,_0x2c2920){return _0x42eac1===_0x2c2920;},'czkEM':function(_0x45ad47,_0x678453){return _0x45ad47===_0x678453;},'jKnzl':_0x165480(0x1da),'eLhPr':_0x165480(0x178),'uNGRs':_0x165480(0x202),'WSDms':_0x165480(0x19d),'jaNGs':function(_0x5c2cec,_0x15080a){return _0x5c2cec===_0x15080a;},'pQteI':_0x165480(0x1c1),'tNdIk':function(_0x5da864,_0x3f1e17){return _0x5da864||_0x3f1e17;},'ftgYu':function(_0x302d63,_0x31caa9){return _0x302d63(_0x31caa9);},'jYEqV':function(_0x3d357a,_0x43c78f){return _0x3d357a>_0x43c78f;},'AwrSN':function(_0x2a3880,_0x90d140){return _0x2a3880-_0x90d140;},'LGaDb':function(_0x586043,_0x31436c,_0x4357b9,_0x385b05){return _0x586043(_0x31436c,_0x4357b9,_0x385b05);},'BBpiL':_0x165480(0x1ac),'BiYKy':function(_0x51f5da,_0x543b0d){return _0x51f5da===_0x543b0d;},'omvkQ':function(_0x582eec,_0x2dbc0b){return _0x582eec>=_0x2dbc0b;},'xRuzp':function(_0x501a73,_0x5a7e74){return _0x501a73===_0x5a7e74;},'uzDmn':function(_0x29dae6,_0x5771c7){return _0x29dae6+_0x5771c7;},'hJQvN':function(_0x2f2a61,_0x155dfb){return _0x2f2a61>_0x155dfb;},'qUEpj':_0x165480(0x248),'uzPyp':function(_0x5ce4d3,_0x183282){return _0x5ce4d3(_0x183282);},'ypyiU':function(_0x1d35a8,_0x90806){return _0x1d35a8>_0x90806;},'sAeCV':_0x165480(0x1c4)};logger['debug'](_0x165480(0x25a)+_0x5e1487);const _0x547050=_0x5b7c84[_0x165480(0x1f4)](getTestRunIdentifier,_0x30c134,_0x1cade3[_0x165480(0x16e)]),_0xd8bcf4=new Date(),_0x48f4aa=_0x1cade3[_0x165480(0x227)],_0x3972bb=TestInfo['getTestDetails'](_0x547050)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};let _0x51722d=_0x48f4aa;if(_0x5b7c84['hDnJP'](_0x1cade3[_0x165480(0x227)],_0x30c134[_0x165480(0x1b2)]))_0x51722d=_0x5b7c84[_0x165480(0x19c)](_0x1cade3['status'],_0x5b7c84[_0x165480(0x25c)])?_0x5b7c84[_0x165480(0x25c)]:_0x5b7c84['eLhPr'];else{(_0x5b7c84[_0x165480(0x19c)](_0x51722d,_0x5b7c84[_0x165480(0x17e)])||_0x5b7c84[_0x165480(0x192)](_0x51722d,_0x5b7c84[_0x165480(0x208)])||_0x5b7c84[_0x165480(0x192)](_0x51722d,_0x5b7c84['WSDms']))&&(_0x51722d=_0x5b7c84['uNGRs']);if(_0x5b7c84[_0x165480(0x1f3)](_0x1cade3[_0x165480(0x227)],_0x5b7c84[_0x165480(0x17e)])&&_0x5b7c84['JVhfy'](_0x30c134[_0x165480(0x1b2)],_0x5b7c84[_0x165480(0x208)])){const _0x53af1e={};_0x53af1e[_0x165480(0x194)]=_0x5b7c84[_0x165480(0x267)],_0x53af1e[_0x165480(0x1d1)]=_0x5b7c84[_0x165480(0x267)],_0x1cade3[_0x165480(0x204)]=_0x53af1e,_0x1cade3[_0x165480(0x253)]=[_0x1cade3[_0x165480(0x204)]];}}const {failureData:_0x41064e,logs:_0x2533a2}=_0x5b7c84[_0x165480(0x1f4)](getFailureData,_0x1cade3?.[_0x165480(0x253)],{}),_0x40413d={[TestFrameworkConstants[_0x165480(0x242)]]:_0x5b7c84[_0x165480(0x1cb)](_0x41064e,null),[TestFrameworkConstants[_0x165480(0x1b0)]]:_0x1cade3?.['error']&&_0x5b7c84[_0x165480(0x163)](getFailureType,_0x1cade3[_0x165480(0x204)][_0x165480(0x194)]),[TestFrameworkConstants[_0x165480(0x22f)]]:_0x1cade3?.['error']&&_0x5b7c84[_0x165480(0x163)](removeAnsiColors,_0x1cade3['error']['message']),[TestFrameworkConstants[_0x165480(0x1e7)]]:[],[TestFrameworkConstants[_0x165480(0x1a3)]]:_0x51722d,[TestFrameworkConstants[_0x165480(0x214)]]:_0xd8bcf4[_0x165480(0x1ed)](),[TestFrameworkConstants[_0x165480(0x223)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x165480(0x167)]]:_0x3972bb};if(_0x1cade3&&_0x5b7c84[_0x165480(0x262)](_0x1cade3[_0x165480(0x16e)],0x0)){const _0x56e999=TestInfo[_0x165480(0x1de)](_0x5b7c84['SLwle'](getTestRunIdentifier,_0x30c134,_0x5b7c84[_0x165480(0x205)](_0x1cade3[_0x165480(0x16e)],0x1)));_0x40413d[TestFrameworkConstants[_0x165480(0x193)]]=_0x56e999;}const _0x1adbfa={};_0x1adbfa[_0x165480(0x1ac)]=_0x30c134;const _0x408bdb=this[_0x165480(0x1b1)](TestFrameworkState[_0x165480(0x25e)],HookState[_0x165480(0x164)],_0x1adbfa),_0x59fe17=_0x408bdb[_0x165480(0x1d2)]()[_0x165480(0x190)](_0x547050)[TestFrameworkConstants['KEY_TEST_UUID']],_0x21bfa1=_0x2aa7dc||_0x5b7c84[_0x165480(0x229)](getStepsAndLogs,_0x1cade3[_0x165480(0x233)],_0x59fe17,_0x5b7c84[_0x165480(0x21e)])[_0x165480(0x233)],_0x95b51e=new Map(),_0xd79968=new Map();let _0x3aa516=0x0;const _0x3df8c8=[];for(const _0x25c70d of _0x21bfa1||[]){const _0x2f4a14=_0x25c70d[_0x165480(0x228)]||null;let _0xa883d4;if(_0x5b7c84['BiYKy'](_0x2f4a14,null)){if(_0x5b7c84['omvkQ'](_0x3aa516,TestFrameworkConstants[_0x165480(0x256)]))continue;_0xa883d4=0x0,_0x3aa516++;}else{const _0x4bbb1c=_0x95b51e['get'](_0x2f4a14);if(_0x5b7c84[_0x165480(0x1a1)](_0x4bbb1c,undefined))continue;_0xa883d4=_0x5b7c84[_0x165480(0x177)](_0x4bbb1c,0x1);if(_0x5b7c84['hJQvN'](_0xa883d4,TestFrameworkConstants[_0x165480(0x1ba)]))continue;}_0x95b51e[_0x165480(0x1f9)](_0x25c70d['id'],_0xa883d4),_0xd79968[_0x165480(0x1f9)](_0x25c70d['id'],_0x25c70d[_0x165480(0x237)]),_0x3df8c8[_0x165480(0x18a)]({'id':_0x25c70d['id'],'parent_id':_0x2f4a14,'parent_text':_0x2f4a14?_0xd79968[_0x165480(0x190)](_0x2f4a14)||'':'','text':_0x25c70d[_0x165480(0x237)],'keyword':_0x25c70d[_0x165480(0x175)]||null,'started_at':_0x25c70d[_0x165480(0x198)],'duration':_0x25c70d[_0x165480(0x246)]??null,'result':_0x25c70d[_0x165480(0x18d)],'failure':_0x25c70d[_0x165480(0x1ab)]||null,'failure_type':_0x25c70d[_0x165480(0x1ff)]||null});}const _0x2b65c4={};_0x2b65c4[_0x165480(0x233)]=_0x3df8c8,_0x40413d[TestFrameworkConstants[_0x165480(0x265)]]=_0x2b65c4,logger[_0x165480(0x1d4)](_0x165480(0x268)+_0x3df8c8['length']+'\x20steps\x20for\x20testId='+_0x5e1487);const _0x5cef47=[],_0x23381e=_0x5b7c84[_0x165480(0x1f4)](findNestedKey,_0x1cade3,_0x5b7c84[_0x165480(0x219)]);if(_0x23381e&&_0x5b7c84[_0x165480(0x1ef)](validateFilePath,_0x23381e))try{_0x5cef47[_0x165480(0x18a)]({'kind':_0x5b7c84['QNaKz'],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0x59fe17,'file_name':path[_0x165480(0x1c3)](_0x23381e),'file_size':fs['statSync'](_0x23381e)[_0x165480(0x169)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x89bd0b){logger[_0x165480(0x204)](_0x165480(0x24e)+_0x23381e+':\x20'+_0x89bd0b[_0x165480(0x194)]);}const _0x1d9593=TestInfo[_0x165480(0x1ea)](),_0x42bffa=_0x1d9593[_0x165480(0x217)](_0x13f5bb=>_0x13f5bb['testUId']===_0x59fe17);_0x42bffa[_0x165480(0x209)](_0x42bfe9=>{const _0xf49cc3=_0x165480;if(_0x42bfe9[_0xf49cc3(0x200)]&&_0x5b7c84['sgqPC'](validateFilePath,_0x42bfe9['filePath'])&&!_0x5cef47[_0xf49cc3(0x1dd)](_0x35d506=>_0x35d506[_0xf49cc3(0x1d9)]===path[_0xf49cc3(0x1c3)](_0x42bfe9[_0xf49cc3(0x200)])))try{_0x5cef47[_0xf49cc3(0x18a)]({'kind':_0x5b7c84[_0xf49cc3(0x1ec)],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0x59fe17,'file_name':path[_0xf49cc3(0x1c3)](_0x42bfe9[_0xf49cc3(0x200)]),'file_size':fs[_0xf49cc3(0x19a)](_0x42bfe9[_0xf49cc3(0x200)])[_0xf49cc3(0x169)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x223ce1){logger[_0xf49cc3(0x204)](_0xf49cc3(0x1c8)+_0x42bfe9[_0xf49cc3(0x200)]+_0xf49cc3(0x231)+_0x223ce1[_0xf49cc3(0x194)]);}});if(_0x5b7c84['ypyiU'](_0x5cef47[_0x165480(0x1ae)],0x0)){const _0x5e4ba6=_0x40413d[TestFrameworkConstants[_0x165480(0x1e7)]]||[];_0x40413d[TestFrameworkConstants[_0x165480(0x1e7)]]=[..._0x5e4ba6,..._0x5cef47];}const _0x30b40b=TestInfo['getTestDetails'](_0x547050)[TestFrameworkConstants[_0x165480(0x181)]]||{},_0xfb5afc=_0x5b7c84[_0x165480(0x1f4)](getManualUploadLogs,_0x30b40b,_0x408bdb[_0x165480(0x1d2)]()[_0x165480(0x190)](_0x547050)[TestFrameworkConstants[_0x165480(0x270)]]);if(_0x5b7c84['hJQvN'](_0xfb5afc[_0x165480(0x1ae)],0x0)){const _0x5b52c6=_0x40413d[TestFrameworkConstants[_0x165480(0x1e7)]]||[];_0x40413d[TestFrameworkConstants[_0x165480(0x1e7)]]=[..._0x5b52c6,..._0xfb5afc];}const _0x3cf9a6=_0x30c134[_0x165480(0x1ee)]||[],_0xa50cf1=_0x40413d[TestFrameworkConstants[_0x165480(0x167)]]||{},_0x193cf4=_0x5b7c84['sgqPC'](require,_0x5b7c84[_0x165480(0x1af)]);_0x3cf9a6[_0x165480(0x209)](_0x13f119=>{const _0x11b507=_0x165480,{type:_0x430469}=_0x13f119;let _0x22a9d3=_0x13f119[_0x11b507(0x212)];if(!_0x430469)return;if(PLAYWRIGHT_BUILTIN_ANNOTATIONS[_0x11b507(0x1e4)](_0x430469))return;(_0x5b7c84[_0x11b507(0x192)](_0x22a9d3,undefined)||_0x5b7c84[_0x11b507(0x1e3)](_0x22a9d3,null)||_0x5b7c84[_0x11b507(0x192)](_0x5b7c84[_0x11b507(0x174)](String,_0x22a9d3)['trim'](),''))&&(_0x22a9d3=_0x5b7c84[_0x11b507(0x25f)]);const _0x4e6977=helper[_0x11b507(0x235)](_0x5b7c84[_0x11b507(0x174)](String,_0x22a9d3));_0x193cf4[_0x11b507(0x195)](_0xa50cf1,_0x430469,_0x4e6977);}),_0x40413d[TestFrameworkConstants[_0x165480(0x167)]]=_0xa50cf1,TestInfo['setTestDetails'](_0x547050,_0x40413d);const _0x5a344d={};return _0x5a344d[_0x547050]=_0x40413d,_0x5a344d;}['trackStepEvent'](_0x267a17,_0x2c32ba,_0x2e2599){const _0x2aa755=a95_0x26ce92,_0x178b48={'xSCIX':function(_0x43fa9b,_0x117775){return _0x43fa9b||_0x117775;},'Aftpq':function(_0x52226a,_0x182080,_0x3b4e2d){return _0x52226a(_0x182080,_0x3b4e2d);}};try{const {test:_0x5e5f21,result:_0x49827b,step:_0x21a368}=_0x2e2599;if(_0x178b48[_0x2aa755(0x259)](!_0x5e5f21,!_0x21a368)||!_0x49827b)return;const _0x52df85=_0x178b48[_0x2aa755(0x182)](getTestRunIdentifier,_0x5e5f21,_0x49827b['retry']);logger[_0x2aa755(0x1d4)](_0x2aa755(0x1d6)+_0x52df85+'\x20hookState='+_0x2c32ba+_0x2aa755(0x206)+_0x21a368[_0x2aa755(0x203)]+'\x22');}catch(_0x36f659){logger['error'](_0x2aa755(0x1e6)+util[_0x2aa755(0x18f)](_0x36f659));}}async['trackHookEvent'](_0x4f03fc,_0x227cec,_0x44152b,_0x2e5a59){const _0x3d4282=a95_0x26ce92,_0x3cea97={'BmrXv':function(_0x5d57f2,_0x252eaa,_0x32839c){return _0x5d57f2(_0x252eaa,_0x32839c);},'bxWIa':function(_0xc94203,_0x3a3b69){return _0xc94203 in _0x3a3b69;},'OOBoE':function(_0x530375,_0x35b089){return _0x530375(_0x35b089);},'AWNtp':function(_0x12d3b1,_0x3a0415){return _0x12d3b1===_0x3a0415;},'XQnuO':function(_0x368a93){return _0x368a93();},'Nqcfm':function(_0x23450f,_0x58966f){return _0x23450f>_0x58966f;},'vhdHx':function(_0x4c36d3,_0x453056,_0x4faf06){return _0x4c36d3(_0x453056,_0x4faf06);},'rvEXQ':_0x3d4282(0x26e),'lfHqI':function(_0x2005a4,_0x5e9ae0){return _0x2005a4(_0x5e9ae0);},'dcZeq':_0x3d4282(0x202),'NjikR':'passed','yHSpL':function(_0x45a23b,_0x23277c){return _0x45a23b!==_0x23277c;},'GfZHR':function(_0xa27400,_0x391c9c){return _0xa27400+_0x391c9c;},'xUWmA':'hook'},_0x147d64=_0x2e5a59[_0x3d4282(0x1ac)],_0x223e0a=_0x2e5a59['step'],_0x11aa41=_0x3cea97[_0x3d4282(0x173)](getTestRunIdentifier,_0x147d64,_0x2e5a59[_0x3d4282(0x18d)][_0x3d4282(0x16e)]),_0x101f1f=_0x227cec[_0x3d4282(0x24d)]()['split']('.')[0x1];let _0x230426=_0x4f03fc[_0x3d4282(0x1d2)]()['get'](_0x11aa41)[TestFrameworkConstants[_0x3d4282(0x189)]];!_0x230426&&(_0x230426={});!_0x3cea97[_0x3d4282(0x230)](_0x101f1f,_0x230426)&&(_0x230426[_0x101f1f]=[]);let _0x183e0c=_0x4f03fc[_0x3d4282(0x1d2)]()[_0x3d4282(0x190)](_0x11aa41)[TestFrameworkConstants[_0x3d4282(0x1f1)]];!_0x183e0c&&(_0x183e0c={});!_0x3cea97[_0x3d4282(0x230)](_0x101f1f,_0x183e0c)&&(_0x183e0c[_0x101f1f]=[]);const _0x92cc0c={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x230426,[TestFrameworkConstants[_0x3d4282(0x1f1)]]:_0x183e0c},_0x18ecb4={};_0x18ecb4[_0x11aa41]=_0x92cc0c;const _0x5a4c5c=_0x18ecb4,_0x3caa47=_0x3cea97[_0x3d4282(0x18c)](getPlaywrightTestFilePath,_0x147d64),_0x2e198c=_0x3caa47,_0x1cb0c7=TestInfo[_0x3d4282(0x1db)](_0x11aa41)[TestFrameworkConstants[_0x3d4282(0x167)]]||{};if(_0x3cea97[_0x3d4282(0x20c)](_0x44152b,HookState['PRE'])){const _0x3860ba={'key':_0x101f1f,[TestFrameworkConstants[_0x3d4282(0x22d)]]:_0x3cea97[_0x3d4282(0x269)](uuidv4),[TestFrameworkConstants[_0x3d4282(0x1ca)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x223e0a[_0x3d4282(0x1cf)],[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x3d4282(0x1b6)]]:_0x223e0a['title'],[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x3caa47,[TestFrameworkConstants[_0x3d4282(0x243)]]:_0x2e198c,[TestFrameworkConstants[_0x3d4282(0x167)]]:_0x1cb0c7};_0x230426[_0x101f1f][_0x3d4282(0x18a)](_0x3860ba),_0x5a4c5c[_0x11aa41][TestFrameworkConstants[_0x3d4282(0x211)]]=_0x101f1f,logger['debug'](_0x3d4282(0x1f7)+_0x101f1f+_0x3d4282(0x23e)+_0x3860ba+_0x3d4282(0x1fc)+_0x2e5a59);}else{if(_0x3cea97[_0x3d4282(0x20c)](_0x44152b,HookState['POST'])){const _0x468429=await _0x2e5a59[_0x3d4282(0x18d)],_0x509090=_0x230426[_0x101f1f]||[],_0x24c16a=_0x2e5a59[_0x3d4282(0x226)];logger['debug'](_0x3d4282(0x20d)+_0x509090+'\x20and\x20args\x20=\x20'+_0x2e5a59);if(_0x3cea97[_0x3d4282(0x1b9)](_0x509090['length'],0x0)){const _0x7013bb=_0x509090['pop']();if(_0x24c16a[_0x3d4282(0x204)]){const _0x5d468f=_0x3cea97[_0x3d4282(0x16a)](failureData,_0x24c16a['error'],_0x3cea97[_0x3d4282(0x260)]);_0x7013bb[TestFrameworkConstants[_0x3d4282(0x22c)]]=_0x3cea97['lfHqI'](getFailureType,_0x24c16a?.['error']['message']),_0x7013bb[TestFrameworkConstants[_0x3d4282(0x271)]]=_0x3cea97[_0x3d4282(0x16f)](removeAnsiColors,_0x24c16a?.[_0x3d4282(0x204)]['message']),_0x7013bb[TestFrameworkConstants[_0x3d4282(0x1ca)]]=_0x3cea97[_0x3d4282(0x1c6)],_0x7013bb[TestFrameworkConstants['KEY_HOOK_FAILURE']]=_0x5d468f;}else _0x7013bb[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x3cea97['NjikR'];_0x3cea97[_0x3d4282(0x186)](_0x468429,TestFrameworkConstants[_0x3d4282(0x1a6)])&&(_0x7013bb[TestFrameworkConstants[_0x3d4282(0x1ca)]]=!_0x24c16a['error']?_0x3cea97[_0x3d4282(0x264)]:_0x3cea97[_0x3d4282(0x1c6)]);const _0x5965c4=new Date(_0x24c16a[_0x3d4282(0x1cf)]),_0x36bc57=new Date(_0x3cea97[_0x3d4282(0x16c)](_0x5965c4['getTime'](),_0x24c16a['duration']));_0x7013bb[TestFrameworkConstants[_0x3d4282(0x258)]]=_0x36bc57[_0x3d4282(0x1ed)](),_0x7013bb[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x1cb0c7;const _0x46f1d9=_0x7013bb[TestFrameworkConstants['KEY_HOOK_ID']];await this[_0x3d4282(0x168)](_0x4f03fc,_0x227cec,_0x46f1d9,_0x3cea97[_0x3d4282(0x255)],_0x2e5a59),!_0x183e0c[_0x101f1f]&&(_0x183e0c[_0x101f1f]=[]),_0x183e0c[_0x101f1f][_0x3d4282(0x18a)](_0x7013bb),_0x5a4c5c[_0x11aa41][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x101f1f;}}}return _0x5a4c5c;}async[a95_0x26ce92(0x168)](_0x4b9ae5,_0x4436e7,_0x33fb10,_0x40afe0,_0x2102ea,_0x250ee6){const _0x5ca3b7=a95_0x26ce92,_0x38b7ef={'jJPjl':function(_0x588bd3,_0x12d698){return _0x588bd3===_0x12d698;},'qGuDo':_0x5ca3b7(0x1ac),'ulwjf':function(_0x277388,_0x8008b1,_0x3bfdda){return _0x277388(_0x8008b1,_0x3bfdda);},'eSkyk':function(_0x5633b8,_0x37b830,_0x5d247c){return _0x5633b8(_0x37b830,_0x5d247c);},'wkiUe':_0x5ca3b7(0x1b7),'IUERy':function(_0x30cb1c,_0x37c77c,_0x26eae5,_0x5b2fa0){return _0x30cb1c(_0x37c77c,_0x26eae5,_0x5b2fa0);},'LPBwz':function(_0x451b6b,_0x45e12f,_0x29b3b6){return _0x451b6b(_0x45e12f,_0x29b3b6);},'UifFS':function(_0x32781b,_0xeb9eb8,_0x214af2){return _0x32781b(_0xeb9eb8,_0x214af2);},'tHPal':function(_0x6db49b,_0x5627d5,_0x45139c){return _0x6db49b(_0x5627d5,_0x45139c);},'Hvhre':function(_0x4b8761,_0x1e5617){return _0x4b8761/_0x1e5617;},'oEAwO':function(_0x4e28e1,_0x48bca0){return _0x4e28e1<_0x48bca0;},'rwXrq':function(_0x475b58,_0x2cc03a){return _0x475b58*_0x2cc03a;},'qNWgY':function(_0x2b1911,_0x4784da){return _0x2b1911+_0x4784da;},'DQyHz':function(_0x30728e,_0x1aa847,_0x2543c7,_0x5997e3,_0xe5dec9){return _0x30728e(_0x1aa847,_0x2543c7,_0x5997e3,_0xe5dec9);},'ArwDg':'hook','ursDP':function(_0x3e1971,_0x536ee2,_0x558ed2){return _0x3e1971(_0x536ee2,_0x558ed2);},'BHZvo':function(_0x44fe2e,_0x514e67,_0x11e98b,_0x5b6798,_0x344c4c){return _0x44fe2e(_0x514e67,_0x11e98b,_0x5b6798,_0x344c4c);}};try{if(_0x38b7ef[_0x5ca3b7(0x165)](_0x40afe0,_0x38b7ef[_0x5ca3b7(0x1a5)])){const _0x4117f1=await _0x2102ea[_0x5ca3b7(0x18d)],_0x192b5a=_0x38b7ef[_0x5ca3b7(0x21a)](getTestRunIdentifier,_0x2102ea['test'],_0x2102ea[_0x5ca3b7(0x18d)]['retry']),_0x64a28f=_0x2102ea['test'];logger[_0x5ca3b7(0x1d4)]('sendLogCreatedEvent:\x20testId='+_0x192b5a+_0x5ca3b7(0x1f2)+util[_0x5ca3b7(0x20a)](_0x4117f1));const _0x541035=_0x4b9ae5[_0x5ca3b7(0x1d2)]()[_0x5ca3b7(0x190)](_0x192b5a)[TestFrameworkConstants[_0x5ca3b7(0x270)]];await _0x38b7ef[_0x5ca3b7(0x170)](sendTraceZip,_0x4117f1,_0x541035);const _0x5762a9=TestInfo[_0x5ca3b7(0x1db)](_0x192b5a)[_0x38b7ef[_0x5ca3b7(0x1e9)]],_0x2699e4={};if(_0x5762a9){!_0x4117f1[_0x5ca3b7(0x1b7)]&&(_0x4117f1['attachments']=[]);_0x2699e4[_0x5ca3b7(0x1b7)]=_0x4117f1['attachments'][_0x5ca3b7(0x20f)](_0x5762a9||[]);const _0xfaf6a9=TestInfo[_0x5ca3b7(0x1db)](_0x192b5a);delete _0xfaf6a9[_0x38b7ef['wkiUe']],TestInfo['setTestDetails'](_0x192b5a,_0xfaf6a9);}const _0x32e4ac=_0x250ee6||_0x38b7ef['IUERy'](getStepsAndLogs,_0x4117f1[_0x5ca3b7(0x233)],_0x4b9ae5[_0x5ca3b7(0x1d2)]()['get'](_0x192b5a)[TestFrameworkConstants[_0x5ca3b7(0x270)]],_0x38b7ef[_0x5ca3b7(0x1a5)])[_0x5ca3b7(0x213)],_0x4b1848=_0x38b7ef['LPBwz'](getScreenshots,_0x2699e4,_0x4b9ae5['getAllData']()[_0x5ca3b7(0x190)](_0x192b5a)[TestFrameworkConstants[_0x5ca3b7(0x270)]]),_0x2e387f=_0x38b7ef[_0x5ca3b7(0x1c5)](getVideos,_0x4117f1,_0x4b9ae5[_0x5ca3b7(0x1d2)]()[_0x5ca3b7(0x190)](_0x192b5a)[TestFrameworkConstants['KEY_TEST_UUID']]),{_:_0x3bc257,logs:_0x477148}=_0x38b7ef[_0x5ca3b7(0x1c5)](getFailureData,_0x4117f1['errors'],{'test_run_uuid':_0x4b9ae5[_0x5ca3b7(0x1d2)]()[_0x5ca3b7(0x190)](_0x192b5a)[TestFrameworkConstants[_0x5ca3b7(0x270)]]}),_0x18d099=TestInfo[_0x5ca3b7(0x1db)](_0x192b5a)[TestFrameworkConstants[_0x5ca3b7(0x181)]]||{},_0x4c26a8=_0x38b7ef[_0x5ca3b7(0x172)](getMediaArtifactsLogs,_0x18d099,_0x4b9ae5[_0x5ca3b7(0x1d2)]()['get'](_0x192b5a)[TestFrameworkConstants[_0x5ca3b7(0x270)]]),_0x4d9543=_0x4b9ae5[_0x5ca3b7(0x1d2)]()[_0x5ca3b7(0x190)](_0x192b5a),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x2928fe='',[TestFrameworkConstants[_0x5ca3b7(0x1d8)]]:_0x182d76=''}=_0x4d9543,_0x9b3093=(_0x32e4ac||[])['concat'](_0x4b1848||[])[_0x5ca3b7(0x20f)](_0x477148||[])[_0x5ca3b7(0x20f)](_0x2e387f||[])[_0x5ca3b7(0x20f)](_0x4c26a8||[]),_0xa917a3=0x28,_0x5617a5=Math[_0x5ca3b7(0x23a)](_0x38b7ef['Hvhre'](_0x9b3093[_0x5ca3b7(0x1ae)],_0xa917a3));for(let _0x33e6bb=0x0;_0x38b7ef[_0x5ca3b7(0x215)](_0x33e6bb,_0x5617a5);_0x33e6bb++){const _0x503c58=_0x38b7ef[_0x5ca3b7(0x1b5)](_0x33e6bb,_0xa917a3),_0x3afd7a=_0x38b7ef[_0x5ca3b7(0x1fd)](_0x503c58,_0xa917a3),_0x39bbb3=_0x9b3093[_0x5ca3b7(0x218)](_0x503c58,_0x3afd7a),_0x800dbc={'platformIndex':global?.[_0x5ca3b7(0x183)]??0x0,'logs':_0x39bbb3,'testFrameworkName':_0x2928fe,'testFrameworkVersion':_0x182d76,'testFrameworkState':_0x4436e7[_0x5ca3b7(0x24d)]()[_0x5ca3b7(0x1e0)]('.')[0x1]};_0x38b7ef[_0x5ca3b7(0x17f)](updatePayloadForTraceLogs,_0x800dbc,_0x2102ea,_0x192b5a,_0x4b9ae5),logger[_0x5ca3b7(0x1d4)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x192b5a+_0x5ca3b7(0x1ce)+_0x38b7ef[_0x5ca3b7(0x1fd)](_0x33e6bb,0x1)+'/'+_0x5617a5+_0x5ca3b7(0x23f)+util['inspect'](_0x800dbc));const _0x452eb3=await GrpcClient[_0x5ca3b7(0x17a)]()[_0x5ca3b7(0x23d)](_0x800dbc);logger[_0x5ca3b7(0x1d4)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x192b5a+_0x5ca3b7(0x1ce)+_0x38b7ef[_0x5ca3b7(0x1fd)](_0x33e6bb,0x1)+'/'+_0x5617a5+_0x5ca3b7(0x199)+util[_0x5ca3b7(0x20a)](_0x452eb3));}}else{const {logs:_0x1ebb73}=_0x38b7ef[_0x5ca3b7(0x1d5)](getStepsAndLogs,_0x2102ea['step'][_0x5ca3b7(0x233)],_0x33fb10,_0x38b7ef[_0x5ca3b7(0x1aa)]),_0x510119=_0x38b7ef[_0x5ca3b7(0x21f)](getTestRunIdentifier,_0x2102ea['test'],_0x2102ea[_0x5ca3b7(0x18d)][_0x5ca3b7(0x16e)]);logger[_0x5ca3b7(0x1d4)]('sendLogCreatedEvent:\x20testId='+_0x510119);const _0x2f330d=_0x4b9ae5[_0x5ca3b7(0x1d2)]()[_0x5ca3b7(0x190)](_0x510119),{[TestFrameworkConstants[_0x5ca3b7(0x1fe)]]:_0x37f347='',[TestFrameworkConstants[_0x5ca3b7(0x1d8)]]:_0x5893a9=''}=_0x2f330d,_0x3e78e3={'platformIndex':'0','logs':_0x1ebb73,'testFrameworkName':_0x37f347,'testFrameworkVersion':_0x5893a9,'testFrameworkState':_0x4436e7['toString']()['split']('.')[0x1]};_0x38b7ef[_0x5ca3b7(0x1ad)](updatePayloadForTraceLogs,_0x3e78e3,_0x2102ea,_0x510119,_0x4b9ae5),logger[_0x5ca3b7(0x1d4)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x510119+_0x5ca3b7(0x23f)+util['inspect'](_0x3e78e3));const _0x388dcd=await GrpcClient[_0x5ca3b7(0x17a)]()['logCreatedEvent'](_0x3e78e3);}}catch(_0x49b444){logger[_0x5ca3b7(0x204)](_0x5ca3b7(0x26a)+util[_0x5ca3b7(0x18f)](_0x49b444));}}['createTestFrameworkEventPayload'](_0x455627){const _0x12ced3=a95_0x26ce92,_0x3e23b6={'rgkgN':function(_0x5c77b9,_0x549235,_0x525640){return _0x5c77b9(_0x549235,_0x525640);},'lFxPx':function(_0x3311ed,_0x37dd89){return _0x3311ed<_0x37dd89;},'tOJxn':'base64'};try{const _0x5ae16e=_0x455627['test']['id'],_0x45a804=_0x3e23b6['rgkgN'](getTestRunIdentifier,_0x455627[_0x12ced3(0x1ac)],_0x455627[_0x12ced3(0x18d)][_0x12ced3(0x16e)]),_0xda92b9=_0x455627[_0x12ced3(0x1df)],_0x1dd19e=_0xda92b9[_0x12ced3(0x241)](),_0x33627d=_0xda92b9['getAllData']()[_0x12ced3(0x190)](_0x45a804);logger['debug']('createTestFrameworkEventPayload\x20testId:\x20'+_0x5ae16e);const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0xbb5ae5='',[TestFrameworkConstants[_0x12ced3(0x1d8)]]:_0x18853a='',[TestFrameworkConstants[_0x12ced3(0x1f8)]]:_0x100ec0='',[TestFrameworkConstants[_0x12ced3(0x214)]]:_0xb557df=''}=_0x33627d,_0x88837b=_0xda92b9[_0x12ced3(0x1c9)]()['toString']()['split']('.')[0x1],_0x3f0ec0=_0xda92b9['getCurrentHookState']()['toString']()[_0x12ced3(0x1e0)]('.')[0x1],_0x3ce1a9=_0x3e23b6[_0x12ced3(0x1e2)](_0x455627?.[_0x12ced3(0x18d)]?.['parallelIndex']??0x0,0x0)?0x0:_0x455627?.[_0x12ced3(0x18d)]?.[_0x12ced3(0x1a2)]??0x0,_0x1dc330=_0xda92b9[_0x12ced3(0x19f)](),_0x4fcecf=Buffer['from'](JSON[_0x12ced3(0x18e)](_0x33627d))[_0x12ced3(0x24d)](_0x3e23b6[_0x12ced3(0x222)]),_0x5c25cb={'hash':_0x1dd19e[_0x12ced3(0x180)](),'threadId':_0x1dd19e[_0x12ced3(0x161)]()[_0x12ced3(0x24d)](),'processId':_0x1dd19e[_0x12ced3(0x238)]()[_0x12ced3(0x24d)]()},_0x4ad0f6={};_0x4ad0f6[_0x12ced3(0x25b)]=_0x3ce1a9,_0x4ad0f6[_0x12ced3(0x1c7)]=_0xbb5ae5,_0x4ad0f6[_0x12ced3(0x171)]=_0x18853a,_0x4ad0f6[_0x12ced3(0x191)]=_0x88837b,_0x4ad0f6[_0x12ced3(0x24b)]=_0x3f0ec0,_0x4ad0f6[_0x12ced3(0x225)]=_0x100ec0,_0x4ad0f6[_0x12ced3(0x1c0)]=_0xb557df,_0x4ad0f6[_0x12ced3(0x187)]=_0x1dc330,_0x4ad0f6[_0x12ced3(0x1bf)]=_0x4fcecf,_0x4ad0f6[_0x12ced3(0x21c)]=_0x5c25cb;const _0x4eb7b8=_0x4ad0f6;return logger[_0x12ced3(0x1d4)](_0x12ced3(0x18b)+_0x5ae16e+_0x12ced3(0x1bb)+_0x88837b+'\x20hookState:\x20'+_0x3f0ec0),_0x4eb7b8;}catch(_0x545953){return logger['error'](_0x12ced3(0x1d0)+util[_0x12ced3(0x18f)](_0x545953)),{};}}}module[a95_0x26ce92(0x263)]=PlaywrightTestFramework;
@@ -1 +1 @@
1
- const a96_0x1d3769=a96_0x49c6;(function(_0x1d019f,_0x177e81){const _0x3c1fb7=a96_0x49c6,_0x2bcdd4=_0x1d019f();while(!![]){try{const _0x2c5953=-parseInt(_0x3c1fb7(0xcb))/0x1+-parseInt(_0x3c1fb7(0xbf))/0x2+parseInt(_0x3c1fb7(0xc0))/0x3+-parseInt(_0x3c1fb7(0xc3))/0x4+parseInt(_0x3c1fb7(0xb7))/0x5+parseInt(_0x3c1fb7(0xca))/0x6+-parseInt(_0x3c1fb7(0xd4))/0x7*(-parseInt(_0x3c1fb7(0xd8))/0x8);if(_0x2c5953===_0x177e81)break;else _0x2bcdd4['push'](_0x2bcdd4['shift']());}catch(_0x4f6ed1){_0x2bcdd4['push'](_0x2bcdd4['shift']());}}}(a96_0x4f28,0x8419a));const AutomationFramework=require(a96_0x1d3769(0xd0)),{createClassLogger}=require(a96_0x1d3769(0xd3)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),HookState=require(a96_0x1d3769(0xcf)),CLIUtils=require(a96_0x1d3769(0xc9)),TrackedInstance=require(a96_0x1d3769(0xba)),AutomationFrameworkInstance=require('../instances/automationFrameworkInstance.js');class PuppeteerAutomationFramework extends AutomationFramework{[a96_0x1d3769(0xb3)]=createClassLogger(a96_0x1d3769(0xc1));constructor(_0xe2d7ec,_0x4fb89c){super(_0xe2d7ec,_0x4fb89c);}async[a96_0x1d3769(0xb8)](_0x2bdf76,_0x3366bd,_0x305e29={}){const _0x4062ba=a96_0x1d3769,_0x210390={};_0x210390[_0x4062ba(0xb6)]=function(_0x469126,_0x32b359){return _0x469126===_0x32b359;},_0x210390['LHAMV']=_0x4062ba(0xbb);const _0x3957c1=_0x210390;this[_0x4062ba(0xb3)][_0x4062ba(0xd6)](_0x4062ba(0xd5)+_0x2bdf76+_0x4062ba(0xcc)+_0x3366bd),await super['trackEvent'](_0x2bdf76,_0x3366bd,_0x305e29);const _0x233d0a=this[_0x4062ba(0xce)](_0x2bdf76,_0x3366bd,_0x305e29);if(_0x3957c1[_0x4062ba(0xb6)](_0x233d0a,null)){this['logger']['debug'](_0x3957c1[_0x4062ba(0xb9)]);return;}_0x305e29[_0x4062ba(0xc6)]=_0x233d0a,await this[_0x4062ba(0xaf)](_0x233d0a,_0x2bdf76,_0x3366bd,_0x305e29);}['resolveInstance'](_0x3e694e,_0x5ec946,_0x157644={}){const _0x21db3f=a96_0x1d3769,_0x2ee78a={};_0x2ee78a[_0x21db3f(0xd7)]=function(_0x38906d,_0x324763){return _0x38906d===_0x324763;},_0x2ee78a[_0x21db3f(0xb0)]=function(_0x113f66,_0x24c555){return _0x113f66===_0x24c555;};const _0x2d200c=_0x2ee78a;let _0x3df969=null;return(_0x2d200c['SqfiY'](_0x3e694e,AutomationFrameworkState[_0x21db3f(0xd2)])&&_0x2d200c['SqfiY'](_0x5ec946,HookState[_0x21db3f(0xbe)])||_0x2d200c[_0x21db3f(0xb0)](_0x3e694e,AutomationFrameworkState[_0x21db3f(0xb5)]))&&this[_0x21db3f(0xc2)](_0x3e694e,_0x157644),_0x3df969=AutomationFramework[_0x21db3f(0xc8)](),_0x3df969;}[a96_0x1d3769(0xc2)](_0x1ba6ed,_0x5aecf9){const _0x22f88d=a96_0x1d3769,_0x425834={};_0x425834['qjKoJ']=_0x22f88d(0xb2);const _0x5749fe=_0x425834;if(AutomationFramework['getTrackedInstance']()){this[_0x22f88d(0xb3)]['info'](_0x5749fe[_0x22f88d(0xc4)]);return;}const _0x59f748=CLIUtils[_0x22f88d(0xcd)](),_0xa5a24e=TrackedInstance['createContext'](_0x59f748);let _0x25677e=null;this[_0x22f88d(0xb3)][_0x22f88d(0xc7)](_0x22f88d(0xb4)+_0x59f748+',\x20state='+_0x1ba6ed),_0x25677e=new AutomationFrameworkInstance(_0xa5a24e,this[_0x22f88d(0xd1)](),this[_0x22f88d(0xbc)](),_0x1ba6ed),AutomationFramework[_0x22f88d(0xb1)](_0xa5a24e,_0x25677e),this[_0x22f88d(0xb3)]['info']('trackPuppeteerInstance:\x20saved\x20instance\x20contextId='+_0xa5a24e[_0x22f88d(0xc5)]()+_0x22f88d(0xd9)+_0x59f748);}}function a96_0x49c6(_0x2b2658,_0x5d108d){const _0x4f2861=a96_0x4f28();return a96_0x49c6=function(_0x49c67c,_0x3a8426){_0x49c67c=_0x49c67c-0xaf;let _0x4a92d3=_0x4f2861[_0x49c67c];return _0x4a92d3;},a96_0x49c6(_0x2b2658,_0x5d108d);}function a96_0x4f28(){const _0x4b832d=['958814zXYsyi','1713726SOPKRn','PuppeteerAutomationFramework','trackPuppeteerInstance','2501060gIswdX','qjKoJ','getId','instance','info','getTrackedInstance','../cliUtils.js','214608VlKVcT','177678TgYTVR','\x20hookState=','getCurrentInstanceName','resolveInstance','../state/hookState.js','./automationFramework.js','getAutomationFrameworkName','CREATE','../../../helpers/classLogger.js','856807wbLjBB','trackEvent:\x20automationFrameworkState=','debug','SqfiY','56dkqCDZ','\x20target=','runHooks','TTxOq','setTrackedInstance','trackPuppeteerInstance:\x20instance\x20already\x20exists','logger','trackPuppeteerInstance:\x20created\x20instance\x20for\x20target=','NONE','nCLQi','1798075jrgOLM','trackEvent','LHAMV','../instances/trackedInstance.js','trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking','getAutomationFrameworkVersion','exports','PRE'];a96_0x4f28=function(){return _0x4b832d;};return a96_0x4f28();}module[a96_0x1d3769(0xbd)]=PuppeteerAutomationFramework;
1
+ function a96_0x361a(){const _0x5cfc78=['logger','3051oMaITa','\x20hookState=','getTrackedInstance','trackPuppeteerInstance:\x20created\x20instance\x20for\x20target=','setTrackedInstance','224TlJGJD','../instances/trackedInstance.js','NONE','trackEvent','trackPuppeteerInstance:\x20saved\x20instance\x20contextId=','../cliUtils.js','935xSniAM','instance','25424BMQVix','68016FJfYlv','ebCcY','88VOeJss','2118108KwXZiX','PRE','JiHtH','\x20target=','PuppeteerAutomationFramework','./automationFramework.js','2GjgeAU','getAutomationFrameworkName','getAutomationFrameworkVersion','OcyPy','trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking','trackPuppeteerInstance:\x20instance\x20already\x20exists','../instances/automationFrameworkInstance.js','485508jQNiUa','trackPuppeteerInstance','info','3575384FsEcTF','6730MgQJqY','BRwxj','../state/automationFrameworkState.js','debug','198134QHOnga','createContext','exports','MoNMx'];a96_0x361a=function(){return _0x5cfc78;};return a96_0x361a();}const a96_0x57583b=a96_0x2000;(function(_0x488776,_0x508111){const _0x5ceee9=a96_0x2000,_0x3d31d4=_0x488776();while(!![]){try{const _0x1304fd=-parseInt(_0x5ceee9(0x172))/0x1+parseInt(_0x5ceee9(0x163))/0x2*(parseInt(_0x5ceee9(0x15d))/0x3)+parseInt(_0x5ceee9(0x159))/0x4*(-parseInt(_0x5ceee9(0x157))/0x5)+-parseInt(_0x5ceee9(0x15a))/0x6*(-parseInt(_0x5ceee9(0x151))/0x7)+parseInt(_0x5ceee9(0x16d))/0x8+-parseInt(_0x5ceee9(0x14c))/0x9*(-parseInt(_0x5ceee9(0x16e))/0xa)+parseInt(_0x5ceee9(0x15c))/0xb*(parseInt(_0x5ceee9(0x16a))/0xc);if(_0x1304fd===_0x508111)break;else _0x3d31d4['push'](_0x3d31d4['shift']());}catch(_0x854ac3){_0x3d31d4['push'](_0x3d31d4['shift']());}}}(a96_0x361a,0xa6378));const AutomationFramework=require(a96_0x57583b(0x162)),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFrameworkState=require(a96_0x57583b(0x170)),HookState=require('../state/hookState.js'),CLIUtils=require(a96_0x57583b(0x156)),TrackedInstance=require(a96_0x57583b(0x152)),AutomationFrameworkInstance=require(a96_0x57583b(0x169));function a96_0x2000(_0x1327d3,_0x12e4bd){const _0x361aa3=a96_0x361a();return a96_0x2000=function(_0x2000ac,_0x25fd66){_0x2000ac=_0x2000ac-0x149;let _0x3465d2=_0x361aa3[_0x2000ac];return _0x3465d2;},a96_0x2000(_0x1327d3,_0x12e4bd);}class PuppeteerAutomationFramework extends AutomationFramework{[a96_0x57583b(0x14b)]=createClassLogger(a96_0x57583b(0x161));constructor(_0x3915b9,_0x4f2b74){super(_0x3915b9,_0x4f2b74);}async[a96_0x57583b(0x154)](_0x28f953,_0x378a4b,_0x5290bf={}){const _0x25a0f7=a96_0x57583b,_0x240132={};_0x240132['ebCcY']=function(_0x4bb9f6,_0x3c7010){return _0x4bb9f6===_0x3c7010;},_0x240132[_0x25a0f7(0x14a)]=_0x25a0f7(0x167);const _0x325394=_0x240132;this['logger'][_0x25a0f7(0x171)]('trackEvent:\x20automationFrameworkState='+_0x28f953+_0x25a0f7(0x14d)+_0x378a4b),await super[_0x25a0f7(0x154)](_0x28f953,_0x378a4b,_0x5290bf);const _0x452e40=this['resolveInstance'](_0x28f953,_0x378a4b,_0x5290bf);if(_0x325394[_0x25a0f7(0x15b)](_0x452e40,null)){this[_0x25a0f7(0x14b)]['debug'](_0x325394[_0x25a0f7(0x14a)]);return;}_0x5290bf[_0x25a0f7(0x158)]=_0x452e40,await this['runHooks'](_0x452e40,_0x28f953,_0x378a4b,_0x5290bf);}['resolveInstance'](_0x2afa5e,_0x40fcd1,_0x363617={}){const _0x3c4ed3=a96_0x57583b,_0x2ae464={};_0x2ae464[_0x3c4ed3(0x15f)]=function(_0xf674db,_0x341f6c){return _0xf674db===_0x341f6c;},_0x2ae464[_0x3c4ed3(0x16f)]=function(_0x3937e7,_0x32efef){return _0x3937e7===_0x32efef;};const _0x2ee9e4=_0x2ae464;let _0x21c00f=null;return(_0x2ee9e4['JiHtH'](_0x2afa5e,AutomationFrameworkState['CREATE'])&&_0x2ee9e4[_0x3c4ed3(0x16f)](_0x40fcd1,HookState[_0x3c4ed3(0x15e)])||_0x2ee9e4[_0x3c4ed3(0x15f)](_0x2afa5e,AutomationFrameworkState[_0x3c4ed3(0x153)]))&&this[_0x3c4ed3(0x16b)](_0x2afa5e,_0x363617),_0x21c00f=AutomationFramework[_0x3c4ed3(0x14e)](),_0x21c00f;}[a96_0x57583b(0x16b)](_0x52deb8,_0xdb6c5d){const _0x5a19f4=a96_0x57583b,_0x419d29={};_0x419d29[_0x5a19f4(0x166)]=_0x5a19f4(0x168);const _0x283b82=_0x419d29;if(AutomationFramework[_0x5a19f4(0x14e)]()){this[_0x5a19f4(0x14b)][_0x5a19f4(0x16c)](_0x283b82[_0x5a19f4(0x166)]);return;}const _0xde3150=CLIUtils['getCurrentInstanceName'](),_0x355360=TrackedInstance[_0x5a19f4(0x173)](_0xde3150);let _0xc86842=null;this[_0x5a19f4(0x14b)][_0x5a19f4(0x16c)](_0x5a19f4(0x14f)+_0xde3150+',\x20state='+_0x52deb8),_0xc86842=new AutomationFrameworkInstance(_0x355360,this[_0x5a19f4(0x164)](),this[_0x5a19f4(0x165)](),_0x52deb8),AutomationFramework[_0x5a19f4(0x150)](_0x355360,_0xc86842),this[_0x5a19f4(0x14b)][_0x5a19f4(0x16c)](_0x5a19f4(0x155)+_0x355360['getId']()+_0x5a19f4(0x160)+_0xde3150);}}module[a96_0x57583b(0x149)]=PuppeteerAutomationFramework;
@@ -1 +1 @@
1
- function a97_0x1e99(_0x54ba73,_0xe7c2f6){const _0x229683=a97_0x2296();return a97_0x1e99=function(_0x1e99af,_0x2baaf0){_0x1e99af=_0x1e99af-0x91;let _0x1a0741=_0x229683[_0x1e99af];return _0x1a0741;},a97_0x1e99(_0x54ba73,_0xe7c2f6);}const a97_0x486418=a97_0x1e99;(function(_0x55f5f1,_0x26237d){const _0x5163ed=a97_0x1e99,_0x55bfcf=_0x55f5f1();while(!![]){try{const _0x44c2d8=-parseInt(_0x5163ed(0xa3))/0x1*(-parseInt(_0x5163ed(0x9b))/0x2)+-parseInt(_0x5163ed(0xa4))/0x3*(parseInt(_0x5163ed(0xad))/0x4)+-parseInt(_0x5163ed(0x9d))/0x5*(parseInt(_0x5163ed(0x95))/0x6)+parseInt(_0x5163ed(0xa2))/0x7*(parseInt(_0x5163ed(0xbb))/0x8)+parseInt(_0x5163ed(0xae))/0x9+parseInt(_0x5163ed(0xa0))/0xa+-parseInt(_0x5163ed(0xbd))/0xb*(parseInt(_0x5163ed(0x91))/0xc);if(_0x44c2d8===_0x26237d)break;else _0x55bfcf['push'](_0x55bfcf['shift']());}catch(_0x29edd4){_0x55bfcf['push'](_0x55bfcf['shift']());}}}(a97_0x2296,0x9e80b));function a97_0x2296(){const _0x240edb=['set','runHooks','hasState','trackEvent:\x20testFrameworkState=','getInstances','getState','getTrackedInstance','instances','../../../helpers/classLogger','getAllData','184iRgMdr','binSessionId','118129OgMzxo','exports','564DspGSH','has','registerObserver','__bstack_test_framework_instances__','24jICHLv','../instances/testFrameworkInstance','setTrackedInstance','getTestFrameworksVersions','get','getId','44ezcRNj','../instances/trackedContext','1067915HjljBf','testFrameworks','setState','8229810QPaURv','notifyObserver','379491orCtYj','8321PjEbgO','3fYzwbw','getTestFrameworks',';\x20hookState=','../instances/trackedInstance','testFrameworkVersions','debug','setCurrentTestState','TestFramework','../state/hookState','2112528ghgWTd','2551338jETOnJ','trackEvent','createContext'];a97_0x2296=function(){return _0x240edb;};return a97_0x2296();}const CLIUtils=require('../cliUtils'),eventDispatcher=require('../eventDispatcher'),TestFrameworkInstance=require(a97_0x486418(0x96)),TrackedContext=require(a97_0x486418(0x9c)),TestFrameworkState=require('../state/testFrameworkState'),HookState=require(a97_0x486418(0xac)),{createClassLogger}=require(a97_0x486418(0xb9)),TrackedInstance=require(a97_0x486418(0xa7)),logger=createClassLogger(a97_0x486418(0xab));!global['__bstack_test_framework_instances__']&&(global[a97_0x486418(0x94)]=new Map());class TestFramework{static get[a97_0x486418(0xb8)](){const _0x3cf7d0=a97_0x486418;return global[_0x3cf7d0(0x94)];}[a97_0x486418(0x9e)]=[];[a97_0x486418(0xa8)]={};[a97_0x486418(0xbc)]=null;constructor(_0xe96802,_0x4a26b8,_0x4721bd){const _0x23e408=a97_0x486418;this[_0x23e408(0x9e)]=_0xe96802,this[_0x23e408(0xa8)]=_0x4a26b8,this[_0x23e408(0xbc)]=_0x4721bd;}[a97_0x486418(0xb5)](){const _0x482671=a97_0x486418;return TestFramework[_0x482671(0xb8)];}['setInstance'](_0x4b05c1,_0x139752){const _0x4381aa=a97_0x486418;TestFramework[_0x4381aa(0xb8)][_0x4381aa(0xb1)](_0x4b05c1[_0x4381aa(0x9a)],_0x139752);}static[a97_0x486418(0xb7)](){const _0x4ed7bc=a97_0x486418,_0x1750e3=TrackedInstance[_0x4ed7bc(0xb0)](CLIUtils['getCurrentInstanceName']());return TestFramework['instances'][_0x4ed7bc(0x99)](_0x1750e3[_0x4ed7bc(0x9a)]());}static[a97_0x486418(0x97)](_0x2163c7,_0x372c29){const _0x5e607b=a97_0x486418;TestFramework['instances'][_0x5e607b(0xb1)](_0x2163c7[_0x5e607b(0x9a)](),_0x372c29);}[a97_0x486418(0x98)](){const _0x18a1c6=a97_0x486418;return this[_0x18a1c6(0xa8)];}[a97_0x486418(0xa5)](){return this['testFrameworks'];}[a97_0x486418(0xaf)](_0x5045a5,_0x5eeb00,_0x11d0ee={}){const _0x8577e9=a97_0x486418;logger[_0x8577e9(0xa9)](_0x8577e9(0xb4)+_0x5045a5+_0x8577e9(0xa6)+_0x5eeb00);}async[a97_0x486418(0xb2)](_0x40185,_0x28aee3,_0x4ab3c4,_0x41494c={}){const _0x58d869=a97_0x486418,_0x2a3381=CLIUtils['getHookRegistryKey'](_0x28aee3,_0x4ab3c4);_0x40185[_0x58d869(0xaa)](_0x28aee3),_0x40185['setCurrentHookState'](_0x4ab3c4),await eventDispatcher[_0x58d869(0xa1)](_0x2a3381,_0x41494c);}static['registerObserver'](_0xdff8cf,_0x5d1fb0,_0xa95221){const _0x5ab986=a97_0x486418;eventDispatcher[_0x5ab986(0x93)](CLIUtils['getHookRegistryKey'](_0xdff8cf,_0x5d1fb0),_0xa95221);}static[a97_0x486418(0xb6)](_0x5f59c9,_0x3c01f4){const _0x2d2fd1=a97_0x486418;return _0x5f59c9[_0x2d2fd1(0xba)]()['get'](_0x3c01f4);}static[a97_0x486418(0x9f)](_0x1181af,_0x2ed1f2,_0x4689d1){const _0x1aaf13=a97_0x486418;_0x1181af[_0x1aaf13(0xba)]()[_0x1aaf13(0xb1)](_0x2ed1f2,_0x4689d1);}static[a97_0x486418(0xb3)](_0x33f0cd,_0x8e2dc6){const _0x2a4681=a97_0x486418;return _0x33f0cd[_0x2a4681(0xba)]()[_0x2a4681(0x92)](_0x8e2dc6);}}module[a97_0x486418(0xbe)]=TestFramework;
1
+ const a97_0x1e2071=a97_0x2732;(function(_0x575e40,_0x3150cc){const _0x132daf=a97_0x2732,_0x15bcd0=_0x575e40();while(!![]){try{const _0x4f52c3=parseInt(_0x132daf(0xb5))/0x1+-parseInt(_0x132daf(0xca))/0x2*(parseInt(_0x132daf(0xc1))/0x3)+-parseInt(_0x132daf(0xa4))/0x4*(parseInt(_0x132daf(0xb4))/0x5)+-parseInt(_0x132daf(0xb1))/0x6*(parseInt(_0x132daf(0xb7))/0x7)+parseInt(_0x132daf(0xa8))/0x8+parseInt(_0x132daf(0x9e))/0x9*(-parseInt(_0x132daf(0xa7))/0xa)+parseInt(_0x132daf(0xb6))/0xb;if(_0x4f52c3===_0x3150cc)break;else _0x15bcd0['push'](_0x15bcd0['shift']());}catch(_0x575c7c){_0x15bcd0['push'](_0x15bcd0['shift']());}}}(a97_0x4bfa,0x5eff4));function a97_0x2732(_0x4c7f70,_0xf2c4b6){const _0x4bfaf3=a97_0x4bfa();return a97_0x2732=function(_0x2732d3,_0x4043ea){_0x2732d3=_0x2732d3-0x9c;let _0x1ccaae=_0x4bfaf3[_0x2732d3];return _0x1ccaae;},a97_0x2732(_0x4c7f70,_0xf2c4b6);}const CLIUtils=require(a97_0x1e2071(0xa9)),eventDispatcher=require(a97_0x1e2071(0x9f)),TestFrameworkInstance=require(a97_0x1e2071(0xa0)),TrackedContext=require(a97_0x1e2071(0xa6)),TestFrameworkState=require(a97_0x1e2071(0xaf)),HookState=require(a97_0x1e2071(0xbd)),{createClassLogger}=require(a97_0x1e2071(0xc6)),TrackedInstance=require('../instances/trackedInstance'),logger=createClassLogger(a97_0x1e2071(0xc8));!global[a97_0x1e2071(0xb8)]&&(global[a97_0x1e2071(0xb8)]=new Map());class TestFramework{static get[a97_0x1e2071(0xa5)](){return global['__bstack_test_framework_instances__'];}[a97_0x1e2071(0xad)]=[];[a97_0x1e2071(0xc3)]={};['binSessionId']=null;constructor(_0x1ab72c,_0x173001,_0x16d4b6){const _0xa5f6ec=a97_0x1e2071;this['testFrameworks']=_0x1ab72c,this[_0xa5f6ec(0xc3)]=_0x173001,this[_0xa5f6ec(0xbc)]=_0x16d4b6;}[a97_0x1e2071(0xc0)](){return TestFramework['instances'];}[a97_0x1e2071(0xc9)](_0x26c50e,_0x114c71){const _0x3959f9=a97_0x1e2071;TestFramework['instances'][_0x3959f9(0xb2)](_0x26c50e['getId'],_0x114c71);}static[a97_0x1e2071(0xc7)](){const _0x3145d9=a97_0x1e2071,_0x3e2f83=TrackedInstance[_0x3145d9(0xbf)](CLIUtils[_0x3145d9(0xc2)]());return TestFramework[_0x3145d9(0xa5)][_0x3145d9(0xa2)](_0x3e2f83[_0x3145d9(0xac)]());}static[a97_0x1e2071(0xa1)](_0x600898,_0x5c9822){const _0x51fe33=a97_0x1e2071;TestFramework[_0x51fe33(0xa5)][_0x51fe33(0xb2)](_0x600898[_0x51fe33(0xac)](),_0x5c9822);}[a97_0x1e2071(0xb9)](){const _0x44d9d4=a97_0x1e2071;return this[_0x44d9d4(0xc3)];}['getTestFrameworks'](){const _0x568d4d=a97_0x1e2071;return this[_0x568d4d(0xad)];}[a97_0x1e2071(0xc4)](_0x1a9257,_0x33e134,_0x1610a4={}){const _0x1774e7=a97_0x1e2071;logger[_0x1774e7(0xb0)](_0x1774e7(0xbe)+_0x1a9257+_0x1774e7(0xba)+_0x33e134);}async[a97_0x1e2071(0x9d)](_0x37f305,_0x3a7c16,_0x536f92,_0x57620c={}){const _0x10f73c=a97_0x1e2071,_0x3546a9=CLIUtils[_0x10f73c(0xbb)](_0x3a7c16,_0x536f92);_0x37f305[_0x10f73c(0xc5)](_0x3a7c16),_0x37f305[_0x10f73c(0xaa)](_0x536f92),await eventDispatcher[_0x10f73c(0xae)](_0x3546a9,_0x57620c);}static[a97_0x1e2071(0xcb)](_0x281075,_0x2c49d2,_0x3df8ea){const _0x4d90bb=a97_0x1e2071;eventDispatcher[_0x4d90bb(0xcb)](CLIUtils[_0x4d90bb(0xbb)](_0x281075,_0x2c49d2),_0x3df8ea);}static['getState'](_0x224fdc,_0x196512){const _0x412acc=a97_0x1e2071;return _0x224fdc['getAllData']()[_0x412acc(0xa2)](_0x196512);}static[a97_0x1e2071(0xab)](_0x2b7832,_0x192345,_0x22e566){const _0x42a30b=a97_0x1e2071;_0x2b7832[_0x42a30b(0x9c)]()[_0x42a30b(0xb2)](_0x192345,_0x22e566);}static[a97_0x1e2071(0xb3)](_0x564ceb,_0x103c71){const _0x1066e8=a97_0x1e2071;return _0x564ceb[_0x1066e8(0x9c)]()['has'](_0x103c71);}}module[a97_0x1e2071(0xa3)]=TestFramework;function a97_0x4bfa(){const _0x3d389c=['getHookRegistryKey','binSessionId','../state/hookState','trackEvent:\x20testFrameworkState=','createContext','getInstances','214239scgrSL','getCurrentInstanceName','testFrameworkVersions','trackEvent','setCurrentTestState','../../../helpers/classLogger','getTrackedInstance','TestFramework','setInstance','20OqbCwH','registerObserver','getAllData','runHooks','9rtQZWE','../eventDispatcher','../instances/testFrameworkInstance','setTrackedInstance','get','exports','4eENBQS','instances','../instances/trackedContext','6484490RTbHtw','3063752FVlJAJ','../cliUtils','setCurrentHookState','setState','getId','testFrameworks','notifyObserver','../state/testFrameworkState','debug','144834LvASUL','set','hasState','3857755GtdjPJ','629364jTUFtD','17416542kcrYTH','21xYBZmr','__bstack_test_framework_instances__','getTestFrameworksVersions',';\x20hookState='];a97_0x4bfa=function(){return _0x3d389c;};return a97_0x4bfa();}
@@ -1 +1 @@
1
- 'use strict';function a98_0x1146(){const _0x5258db=['parseInt','instances','exports','ilWGj','set','instance','isInteger','MsWzr','qwjnQ','info','866558dcltzM','../instances/trackedInstance.js','getAutomationFrameworkName','lastIndexOf','9162072sSzHPr','string','resolveInstance:\x20no\x20userAgent\x20in\x20args;\x20falling\x20back\x20to\x20default\x20tracked\x20instance','1428177QOUpQS','testcafe:','394218qFFVvP','platformIndex','length','DlEnR','CREATE','TestCafeAutomationFramework','1475970nkxpDq','\x22\x20platformIndex=','delete','2645909kAbNwN','KtnWo','userAgent','../state/automationFrameworkState.js','get','warn','\x20→\x20','trackEvent','./automationFramework.js','resolveInstance','createContext','startsWith','removeInstance','RBVPQ','resolveInstance:\x20created\x20instance\x20for\x20userAgent=\x22','entries','6pUWWaB','slice','getInstanceByUserAgent','../../../helpers/classLogger.js','getAutomationFrameworkVersion','1373264CApbQq','getTrackedInstance','cuohd','debug','NONE'];a98_0x1146=function(){return _0x5258db;};return a98_0x1146();}const a98_0x304aae=a98_0x2114;(function(_0x3049f6,_0x20d158){const _0x24a4a5=a98_0x2114,_0xa49a14=_0x3049f6();while(!![]){try{const _0x2af113=-parseInt(_0x24a4a5(0xf9))/0x1+parseInt(_0x24a4a5(0xf0))/0x2+-parseInt(_0x24a4a5(0xf7))/0x3+-parseInt(_0x24a4a5(0x117))/0x4+parseInt(_0x24a4a5(0xff))/0x5+-parseInt(_0x24a4a5(0x112))/0x6*(parseInt(_0x24a4a5(0x102))/0x7)+parseInt(_0x24a4a5(0xf4))/0x8;if(_0x2af113===_0x20d158)break;else _0xa49a14['push'](_0xa49a14['shift']());}catch(_0x5051ee){_0xa49a14['push'](_0xa49a14['shift']());}}}(a98_0x1146,0x44e28));const AutomationFramework=require(a98_0x304aae(0x10a)),AutomationFrameworkInstance=require('../instances/automationFrameworkInstance.js'),AutomationFrameworkState=require(a98_0x304aae(0x105)),TrackedInstance=require(a98_0x304aae(0xf1)),{createClassLogger}=require(a98_0x304aae(0x115)),logger=createClassLogger(a98_0x304aae(0xfe));class TestCafeAutomationFramework extends AutomationFramework{constructor(_0xf7bd9e,_0x3e1336){super(_0xf7bd9e,_0x3e1336);}async[a98_0x304aae(0x109)](_0x12dead,_0x42ca9f,_0x4a4ed9={}){const _0x146668=a98_0x304aae;await super[_0x146668(0x109)](_0x12dead,_0x42ca9f,_0x4a4ed9);const _0x4e586e=this['resolveInstance'](_0x12dead,_0x42ca9f,_0x4a4ed9);if(!_0x4e586e){logger[_0x146668(0x11a)]('trackEvent:\x20no\x20instance\x20for\x20state='+_0x12dead+'\x20hookState='+_0x42ca9f);return;}_0x4a4ed9[_0x146668(0xeb)]=_0x4e586e,await this['runHooks'](_0x4e586e,_0x12dead,_0x42ca9f,_0x4a4ed9);}[a98_0x304aae(0x10b)](_0x49d643,_0x400664,_0x1607ed={}){const _0x414346=a98_0x304aae,_0x5bc581={};_0x5bc581[_0x414346(0xfc)]=_0x414346(0xf6),_0x5bc581['KtnWo']=function(_0x837965,_0x52dc95){return _0x837965===_0x52dc95;},_0x5bc581[_0x414346(0xee)]=function(_0x507aac,_0x4a0aeb){return _0x507aac||_0x4a0aeb;};const _0x38063c=_0x5bc581,_0x5a1768=_0x1607ed[_0x414346(0x104)]||null;if(!_0x5a1768)return logger[_0x414346(0x107)](_0x38063c[_0x414346(0xfc)]),AutomationFramework[_0x414346(0x118)]();const _0x3e5897=Number[_0x414346(0xec)](_0x1607ed[_0x414346(0xfa)])?_0x1607ed[_0x414346(0xfa)]:0x0,_0x37d8d1='testcafe:'+_0x5a1768+'#'+_0x3e5897;let _0x20bea2=AutomationFramework[_0x414346(0xe7)][_0x414346(0x106)](_0x37d8d1);if(!_0x20bea2&&(_0x38063c['KtnWo'](_0x49d643,AutomationFrameworkState[_0x414346(0xfd)])||_0x38063c[_0x414346(0x103)](_0x49d643,AutomationFrameworkState[_0x414346(0x11b)]))){const _0x23f212=TrackedInstance[_0x414346(0x10c)](_0x37d8d1);_0x20bea2=new AutomationFrameworkInstance(_0x23f212,this[_0x414346(0xf2)](),this[_0x414346(0x116)](),_0x49d643),AutomationFramework[_0x414346(0xe7)][_0x414346(0xea)](_0x37d8d1,_0x20bea2),logger[_0x414346(0xef)](_0x414346(0x110)+_0x5a1768+_0x414346(0x100)+_0x3e5897+_0x414346(0x108)+_0x37d8d1);}return _0x38063c['qwjnQ'](_0x20bea2,null);}static[a98_0x304aae(0x10e)](_0x4d87b6,_0x45539c=0x0){const _0x3ae033=a98_0x304aae,_0x4f1683=_0x3ae033(0xf8)+_0x4d87b6+'#'+_0x45539c;return AutomationFramework['instances'][_0x3ae033(0x101)](_0x4f1683);}static[a98_0x304aae(0x114)](_0x20617a,_0x498b6d=0x0){const _0x82463d=a98_0x304aae;return AutomationFramework[_0x82463d(0xe7)][_0x82463d(0x106)](_0x82463d(0xf8)+_0x20617a+'#'+_0x498b6d)||null;}static*['iterAllInstances'](){const _0x56db6b=a98_0x304aae,_0x5f0e8b={};_0x5f0e8b['cuohd']=function(_0x5e8631,_0x2b8515){return _0x5e8631===_0x2b8515;},_0x5f0e8b[_0x56db6b(0xe9)]=_0x56db6b(0xf5),_0x5f0e8b['MsWzr']=_0x56db6b(0xf8),_0x5f0e8b[_0x56db6b(0x10f)]=function(_0xe8611f,_0x1ac13b){return _0xe8611f+_0x1ac13b;};const _0x1a3af1=_0x5f0e8b;for(const [_0x6257dd,_0x242a93]of AutomationFramework['instances'][_0x56db6b(0x111)]()){if(_0x1a3af1[_0x56db6b(0x119)](typeof _0x6257dd,_0x1a3af1[_0x56db6b(0xe9)])&&_0x6257dd[_0x56db6b(0x10d)](_0x1a3af1[_0x56db6b(0xed)])){const _0xe7a285=_0x6257dd['slice'](_0x1a3af1['MsWzr'][_0x56db6b(0xfb)]),_0x52e7eb=_0xe7a285[_0x56db6b(0xf3)]('#');if(_0x1a3af1[_0x56db6b(0x119)](_0x52e7eb,-0x1)){const _0x192f41={};_0x192f41['userAgent']=_0xe7a285,_0x192f41[_0x56db6b(0xfa)]=0x0,_0x192f41['instance']=_0x242a93,yield _0x192f41;}else{const _0x19f832=_0xe7a285[_0x56db6b(0x113)](0x0,_0x52e7eb),_0x564a8a=Number[_0x56db6b(0x11c)](_0xe7a285['slice'](_0x1a3af1[_0x56db6b(0x10f)](_0x52e7eb,0x1)),0xa)||0x0,_0x11d9a7={};_0x11d9a7[_0x56db6b(0x104)]=_0x19f832,_0x11d9a7[_0x56db6b(0xfa)]=_0x564a8a,_0x11d9a7[_0x56db6b(0xeb)]=_0x242a93,yield _0x11d9a7;}}}}}function a98_0x2114(_0x1b71ce,_0x518559){const _0x11462c=a98_0x1146();return a98_0x2114=function(_0x211460,_0x2fc4a7){_0x211460=_0x211460-0xe7;let _0x27ed5d=_0x11462c[_0x211460];return _0x27ed5d;},a98_0x2114(_0x1b71ce,_0x518559);}module[a98_0x304aae(0xe8)]=TestCafeAutomationFramework;
1
+ 'use strict';const a98_0x123208=a98_0x7292;(function(_0x1175b0,_0x525b69){const _0x4f2016=a98_0x7292,_0x4ebb12=_0x1175b0();while(!![]){try{const _0x2220a8=-parseInt(_0x4f2016(0x1da))/0x1+-parseInt(_0x4f2016(0x1ce))/0x2*(parseInt(_0x4f2016(0x1b9))/0x3)+-parseInt(_0x4f2016(0x1ac))/0x4+parseInt(_0x4f2016(0x1d7))/0x5+-parseInt(_0x4f2016(0x1d0))/0x6+-parseInt(_0x4f2016(0x1ca))/0x7*(-parseInt(_0x4f2016(0x1dc))/0x8)+parseInt(_0x4f2016(0x1dd))/0x9;if(_0x2220a8===_0x525b69)break;else _0x4ebb12['push'](_0x4ebb12['shift']());}catch(_0x3fd36f){_0x4ebb12['push'](_0x4ebb12['shift']());}}}(a98_0x490b,0x43f86));const AutomationFramework=require(a98_0x123208(0x1b3)),AutomationFrameworkInstance=require(a98_0x123208(0x1b4)),AutomationFrameworkState=require(a98_0x123208(0x1a9)),TrackedInstance=require(a98_0x123208(0x1b6)),{createClassLogger}=require(a98_0x123208(0x1aa)),logger=createClassLogger(a98_0x123208(0x1b1));class TestCafeAutomationFramework extends AutomationFramework{constructor(_0x22e0b5,_0x30508e){super(_0x22e0b5,_0x30508e);}async['trackEvent'](_0x1ec40c,_0x16668d,_0x39f314={}){const _0x1c089b=a98_0x123208;await super[_0x1c089b(0x1b7)](_0x1ec40c,_0x16668d,_0x39f314);const _0x763894=this[_0x1c089b(0x1c8)](_0x1ec40c,_0x16668d,_0x39f314);if(!_0x763894){logger[_0x1c089b(0x1bb)](_0x1c089b(0x1cc)+_0x1ec40c+_0x1c089b(0x1af)+_0x16668d);return;}_0x39f314[_0x1c089b(0x1c7)]=_0x763894,await this[_0x1c089b(0x1d2)](_0x763894,_0x1ec40c,_0x16668d,_0x39f314);}[a98_0x123208(0x1c8)](_0x57453a,_0xc42923,_0x291dea={}){const _0x46f199=a98_0x123208,_0x170f02={};_0x170f02[_0x46f199(0x1d5)]=_0x46f199(0x1c5),_0x170f02['OkTkp']=function(_0x1806b4,_0x22cf39){return _0x1806b4===_0x22cf39;},_0x170f02['sChpQ']=function(_0x522579,_0x2e3872){return _0x522579===_0x2e3872;},_0x170f02['OaXam']=function(_0x20604d,_0x1f7dcf){return _0x20604d||_0x1f7dcf;};const _0x26bcba=_0x170f02,_0x249221=_0x291dea[_0x46f199(0x1d9)]||null;if(!_0x249221)return logger[_0x46f199(0x1e1)](_0x26bcba['epqOj']),AutomationFramework[_0x46f199(0x1d1)]();const _0x35e569=Number['isInteger'](_0x291dea['platformIndex'])?_0x291dea['platformIndex']:0x0,_0x53e521=_0x46f199(0x1ae)+_0x249221+'#'+_0x35e569;let _0x2cbabd=AutomationFramework['instances']['get'](_0x53e521);if(!_0x2cbabd&&(_0x26bcba[_0x46f199(0x1c2)](_0x57453a,AutomationFrameworkState[_0x46f199(0x1c4)])||_0x26bcba[_0x46f199(0x1cb)](_0x57453a,AutomationFrameworkState['NONE']))){const _0xad3ed3=TrackedInstance[_0x46f199(0x1d6)](_0x53e521);_0x2cbabd=new AutomationFrameworkInstance(_0xad3ed3,this[_0x46f199(0x1cf)](),this[_0x46f199(0x1cd)](),_0x57453a),AutomationFramework['instances']['set'](_0x53e521,_0x2cbabd),logger[_0x46f199(0x1bc)](_0x46f199(0x1d8)+_0x249221+_0x46f199(0x1b0)+_0x35e569+_0x46f199(0x1bf)+_0x53e521);}return _0x26bcba[_0x46f199(0x1c6)](_0x2cbabd,null);}static[a98_0x123208(0x1ad)](_0x141890,_0x509108=0x0){const _0x256669=a98_0x123208,_0x126409=_0x256669(0x1ae)+_0x141890+'#'+_0x509108;return AutomationFramework[_0x256669(0x1d4)][_0x256669(0x1b8)](_0x126409);}static[a98_0x123208(0x1b5)](_0x32ec3d,_0x213ee2=0x0){const _0x4f4632=a98_0x123208;return AutomationFramework[_0x4f4632(0x1d4)][_0x4f4632(0x1b2)]('testcafe:'+_0x32ec3d+'#'+_0x213ee2)||null;}static*[a98_0x123208(0x1ba)](){const _0x3bfc8b=a98_0x123208,_0x501944={};_0x501944['zWdrh']=function(_0x1e280a,_0x4c4558){return _0x1e280a===_0x4c4558;},_0x501944['UqRoo']=_0x3bfc8b(0x1d3),_0x501944[_0x3bfc8b(0x1df)]=_0x3bfc8b(0x1ae),_0x501944['WXvgn']=function(_0x4e9de9,_0x4813bb){return _0x4e9de9===_0x4813bb;},_0x501944[_0x3bfc8b(0x1bd)]=function(_0x5dede9,_0x5e2b73){return _0x5dede9+_0x5e2b73;};const _0x43116d=_0x501944;for(const [_0x2c5499,_0x32c5af]of AutomationFramework[_0x3bfc8b(0x1d4)][_0x3bfc8b(0x1c1)]()){if(_0x43116d[_0x3bfc8b(0x1e0)](typeof _0x2c5499,_0x43116d[_0x3bfc8b(0x1de)])&&_0x2c5499[_0x3bfc8b(0x1c3)](_0x43116d[_0x3bfc8b(0x1df)])){const _0x335383=_0x2c5499[_0x3bfc8b(0x1c9)](_0x43116d[_0x3bfc8b(0x1df)][_0x3bfc8b(0x1c0)]),_0x43ace3=_0x335383[_0x3bfc8b(0x1db)]('#');if(_0x43116d[_0x3bfc8b(0x1be)](_0x43ace3,-0x1)){const _0x57b225={};_0x57b225[_0x3bfc8b(0x1d9)]=_0x335383,_0x57b225[_0x3bfc8b(0x1ab)]=0x0,_0x57b225['instance']=_0x32c5af,yield _0x57b225;}else{const _0x52de1e=_0x335383[_0x3bfc8b(0x1c9)](0x0,_0x43ace3),_0x4a9c11=Number['parseInt'](_0x335383[_0x3bfc8b(0x1c9)](_0x43116d['EzWHk'](_0x43ace3,0x1)),0xa)||0x0,_0x44d855={};_0x44d855[_0x3bfc8b(0x1d9)]=_0x52de1e,_0x44d855[_0x3bfc8b(0x1ab)]=_0x4a9c11,_0x44d855[_0x3bfc8b(0x1c7)]=_0x32c5af,yield _0x44d855;}}}}}function a98_0x7292(_0x728ca1,_0x501c7a){const _0x490b82=a98_0x490b();return a98_0x7292=function(_0x729252,_0x665cee){_0x729252=_0x729252-0x1a9;let _0x255b61=_0x490b82[_0x729252];return _0x255b61;},a98_0x7292(_0x728ca1,_0x501c7a);}function a98_0x490b(){const _0x31e12b=['112352dnhEwI','removeInstance','testcafe:','\x20hookState=','\x22\x20platformIndex=','TestCafeAutomationFramework','get','./automationFramework.js','../instances/automationFrameworkInstance.js','getInstanceByUserAgent','../instances/trackedInstance.js','trackEvent','delete','1299kbyHgR','iterAllInstances','debug','info','EzWHk','WXvgn','\x20→\x20','length','entries','OkTkp','startsWith','CREATE','resolveInstance:\x20no\x20userAgent\x20in\x20args;\x20falling\x20back\x20to\x20default\x20tracked\x20instance','OaXam','instance','resolveInstance','slice','28vodbEP','sChpQ','trackEvent:\x20no\x20instance\x20for\x20state=','getAutomationFrameworkVersion','1602mrVCzz','getAutomationFrameworkName','1353696fUFbog','getTrackedInstance','runHooks','string','instances','epqOj','createContext','2386430VPOuFv','resolveInstance:\x20created\x20instance\x20for\x20userAgent=\x22','userAgent','407756juqcZh','lastIndexOf','660640RYFIln','4311837ryZtqu','UqRoo','AwpxC','zWdrh','warn','../state/automationFrameworkState.js','../../../helpers/classLogger.js','platformIndex'];a98_0x490b=function(){return _0x31e12b;};return a98_0x490b();}module['exports']=TestCafeAutomationFramework;